From 1641986d9e44ed9659c9fc6f0ac40bb76a3df0a9 Mon Sep 17 00:00:00 2001 From: Phillip Stephens Date: Sat, 16 Apr 2022 00:50:32 -0700 Subject: [PATCH] Finish splitting text.s! Former-commit-id: 85c0f3722602b0c357ddfcb5051739f0f43c5bd9 --- asm/Collision/CCollidableSphere.s | 2 +- asm/Kyoto/Alloc/CCircularBuffer.s | 136 + asm/Kyoto/Alloc/CGameAllocator.s | 1532 + asm/Kyoto/Alloc/CMediumAllocPool.s | 685 + asm/Kyoto/Alloc/CMemory.s | 340 + asm/Kyoto/Alloc/CSmallAllocPool.s | 237 + asm/Kyoto/Alloc/IAllocator.s | 66 + asm/Kyoto/Animation/CAdditiveAnimPlayback.s | 296 + .../CAdvancementDeltas.s | 0 .../CAllFormatsAnimSource.s | 0 .../{AnimData => Animation}/CAnimMathUtils.s | 0 .../{AnimData => Animation}/CAnimPOIData.s | 0 .../{AnimData => Animation}/CAnimSource.s | 0 .../CAnimSourceReader.s | 0 .../CAnimSourceReaderBase.s | 0 .../CAnimTreeAnimReaderContainer.s | 0 .../{AnimData => Animation}/CAnimTreeBlend.s | 0 .../CAnimTreeContinuousPhaseBlend.s | 0 .../CAnimTreeDoubleChild.s | 0 .../{AnimData => Animation}/CAnimTreeNode.s | 0 .../CAnimTreeSingleChild.s | 0 .../CAnimTreeTimeScale.s | 0 .../CAnimTreeTransition.s | 0 .../CAnimTreeTweenBase.s | 0 .../{AnimData => Animation}/CBoolPOINode.s | 0 .../CCharAnimMemoryMetrics.s | 0 asm/Kyoto/Animation/CCharAnimTime.s | 855 + .../{AnimData => Animation}/CCharLayoutInfo.s | 0 .../CFBStreamedAnimReader.s | 0 .../CFBStreamedCompression.s | 0 asm/Kyoto/Animation/CHalfTransition.s | 34 + .../CHierarchyPoseBuilder.s | 0 .../{AnimData => Animation}/CInt32POINode.s | 0 asm/Kyoto/{AnimData => Animation}/CPOINode.s | 0 .../CParticlePOINode.s | 0 asm/Kyoto/Animation/CPoseAsTransforms.s | 284 + asm/Kyoto/Animation/CSegIdList.s | 22 + .../CSegStatementSet.s | 0 .../Animation/CSkinnedModelWithAvgNormals.s | 647 + .../CTimeScaleFunctions.s | 0 asm/Kyoto/Animation/CVertexMorphEffect.s | 337 + asm/Kyoto/Animation/DolphinCSkinRules.s | 1046 + asm/Kyoto/Animation/DolphinCSkinnedModel.s | 1345 + asm/Kyoto/Animation/DolphinCVirtualBone.s | 732 + .../{AnimData => Animation}/IAnimReader.s | 0 asm/Kyoto/Audio/CDSPStreamManager.s | 1875 + asm/Kyoto/Audio/CMidiManager.s | 671 + asm/Kyoto/{SfxManager => Audio}/CSfxHandle.s | 0 asm/Kyoto/{SfxManager => Audio}/CSfxManager.s | 0 asm/Kyoto/Audio/CStaticAudioPlayer.s | 1041 + asm/Kyoto/Audio/CStreamAudioManager.s | 1399 + asm/Kyoto/Audio/DolphinCAudioGroupSet.s | 543 + asm/Kyoto/Audio/DolphinCAudioSys.s | 3341 + asm/Kyoto/Audio/SDSPStream.s | 1218 + asm/Kyoto/Audio/g721.s | 698 + asm/Kyoto/CARAMManager.s | 738 + asm/Kyoto/CARAMToken.s | 620 + asm/Kyoto/CCrc32.s | 62 + asm/Kyoto/CDependencyGroup.s | 349 + asm/Kyoto/CFactoryMgr.s | 1098 + asm/Kyoto/CFactoryStore.s | 35 + asm/Kyoto/CFinalInput.s | 1130 + asm/Kyoto/CObjectReference.s | 378 + asm/Kyoto/CPakFile.s | 2076 + asm/Kyoto/CRandom16.s | 166 + asm/Kyoto/CResFactory.s | 1735 + asm/Kyoto/CResLoader.s | 1870 + asm/Kyoto/CSimplePool.s | 965 + asm/Kyoto/CTimeProvider.s | 67 + asm/Kyoto/CToken.s | 249 + asm/Kyoto/DolphinCDvdFile.s | 925 + asm/Kyoto/DolphinCMemoryCardSys.s | 2033 + asm/Kyoto/GameTweaks.s | 392 + asm/Kyoto/Graphics/CColor.s | 67 + asm/Kyoto/Graphics/CCubeMaterial.s | 3021 + asm/Kyoto/Graphics/CCubeModel.s | 1572 + asm/Kyoto/Graphics/CCubeMoviePlayer.s | 2647 + asm/Kyoto/Graphics/CCubeSurface.s | 44 + asm/Kyoto/Graphics/CGX.s | 1407 + asm/Kyoto/Graphics/CLight.s | 460 + asm/Kyoto/Graphics/CTevCombiners.s | 271 + asm/Kyoto/Graphics/DolphinCColor.s | 322 + asm/Kyoto/Graphics/DolphinCGraphics.s | 5300 + asm/Kyoto/Graphics/DolphinCModel.s | 1479 + asm/Kyoto/Graphics/DolphinCPalette.s | 193 + asm/Kyoto/Graphics/DolphinCTexture.s | 2142 + asm/Kyoto/IObj.s | 92 + asm/Kyoto/Input/CDolphinController.s | 630 + asm/Kyoto/Input/CRumbleGenerator.s | 364 + asm/Kyoto/Input/CRumbleVoice.s | 694 + asm/Kyoto/Input/DolphinIController.s | 57 + asm/Kyoto/Input/RumbleAdsr.s | 98 + asm/Kyoto/Math/CAABox.s | 1395 + asm/Kyoto/Math/CFrustumPlanes.s | 529 + asm/Kyoto/Math/CMatrix3f.s | 500 + asm/Kyoto/Math/CMatrix4f.s | 196 + asm/Kyoto/Math/CPlane.s | 107 + asm/Kyoto/Math/CQuaternion.s | 1890 + asm/Kyoto/Math/CSphere.s | 27 + asm/Kyoto/Math/CTransform4f.s | 1582 + asm/Kyoto/Math/CUnitVector3f.s | 47 + asm/Kyoto/Math/CVector2f.s | 311 + asm/Kyoto/Math/CVector2i.s | 89 + asm/Kyoto/Math/CVector3d.s | 186 + asm/Kyoto/Math/CVector3f.s | 479 + asm/Kyoto/Math/CloseEnough.s | 68 + asm/Kyoto/Math/RMathUtils.s | 679 + asm/Kyoto/PVS/CPVSVisOctree.s | 159 + asm/Kyoto/PVS/CPVSVisSet.s | 315 + asm/Kyoto/Particles/CColorElement.s | 1322 + asm/Kyoto/Particles/CEffectComponent.s | 68 + asm/Kyoto/Particles/CElectricDescription.s | 240 + asm/Kyoto/Particles/CElementGen.s | 21373 +++ asm/Kyoto/Particles/CEmitterElement.s | 702 + asm/Kyoto/Particles/CGenDescription.s | 288 + asm/Kyoto/Particles/CParticleData.s | 64 + asm/Kyoto/Particles/CParticleElectric.s | 5112 + .../Particles/CParticleElectricDataFactory.s | 725 + asm/Kyoto/Particles/CParticleGen.s | 52 + asm/Kyoto/Particles/CParticleGlobals.s | 91 + asm/Kyoto/Particles/CParticleSwoosh.s | 5651 + .../Particles/CParticleSwooshDataFactory.s | 603 + asm/Kyoto/Particles/CRealElement.s | 3755 + .../Particles/CSpawnSystemKeyframeData.s | 842 + asm/Kyoto/Particles/CSwooshDescription.s | 235 + asm/Kyoto/Particles/CUVElement.s | 641 + asm/Kyoto/Particles/CVectorElement.s | 2798 + asm/Kyoto/Particles/CWarp.s | 25 + asm/Kyoto/Streams/CInputStream.s | 423 + asm/Kyoto/Streams/CMemoryInStream.s | 47 + asm/Kyoto/Streams/CMemoryStreamOut.s | 107 + asm/Kyoto/Streams/COutputStream.s | 293 + asm/Kyoto/Streams/CZipInputStream.s | 161 + asm/Kyoto/Streams/CZipSupport.s | 33 + asm/Kyoto/Text/CFontImageDef.s | 215 + asm/Kyoto/Text/CImageInstruction.s | 274 + asm/Kyoto/Text/CStringTable.s | 300 + asm/Kyoto/Text/CTextRenderBuffer.s | 1878 + asm/Kyoto/rstl/RstlExtras.s | 598 + asm/Kyoto/rstl/rstl_map.s | 534 + asm/Kyoto/rstl/rstl_strings.s | 1716 + asm/Kyoto/zlib/adler32.s | 112 + asm/Kyoto/zlib/infblock.s | 1208 + asm/Kyoto/zlib/infcodes.s | 701 + asm/Kyoto/zlib/inffast.s | 394 + asm/Kyoto/zlib/inflate.s | 590 + asm/Kyoto/zlib/inftrees.s | 601 + asm/Kyoto/zlib/infutil.s | 141 + asm/MetaRender/CCubeRenderer.s | 2 +- asm/MetroidPrime/BodyState/CBodyController.s | 4 +- asm/MetroidPrime/CActorParticles.s | 2 +- asm/MetroidPrime/CBoneTracking.s | 4 +- asm/MetroidPrime/CGameCollision.s | 2 +- asm/MetroidPrime/CGameProjectile.s | 4 +- asm/MetroidPrime/CGroundMovement.s | 2 +- asm/MetroidPrime/Cameras/CBallCamera.s | 20 +- asm/MetroidPrime/Cameras/CFirstPersonCamera.s | 50 +- asm/MetroidPrime/Cameras/CGameCamera.s | 8 +- .../Cameras/CInterpolationCamera.s | 8 +- asm/MetroidPrime/Enemies/CBeetle.s | 4 +- asm/MetroidPrime/Enemies/CElitePirate.s | 2 +- asm/MetroidPrime/Enemies/CJellyZap.s | 2 +- asm/MetroidPrime/Enemies/CMetroid.s | 2 +- asm/MetroidPrime/Enemies/CMetroidBeta.s | 2 +- asm/MetroidPrime/Enemies/CMetroidPrimeExo.s | 2 +- asm/MetroidPrime/Enemies/CNewIntroBoss.s | 4 +- asm/MetroidPrime/Enemies/CParasite.s | 2 +- asm/MetroidPrime/Enemies/CPatterned.s | 2 +- asm/MetroidPrime/Enemies/CPuddleSpore.s | 2 +- asm/MetroidPrime/Enemies/CThardus.s | 4 +- asm/MetroidPrime/Enemies/CWallCrawlerSwarm.s | 4 +- asm/MetroidPrime/HUD/CSamusHud.s | 8 +- asm/MetroidPrime/Player/CMorphBall.s | 6 +- asm/MetroidPrime/Player/CPlayer.s | 6 +- asm/MetroidPrime/Player/CPlayerGun.s | 2 +- asm/MetroidPrime/Player/CPlayerOrbit.s | 8 +- .../Player/CSamusFaceReflection.s | 4 +- .../ScriptObjects/CScriptDistanceFog.s | 2 +- .../ScriptObjects/CScriptSpindleCamera.s | 4 +- asm/WorldFormat/CCollisionSurface.s | 2 +- asm/rodata.s | 4 +- asm/sbss.s | 4 +- asm/text.s | 118252 --------------- include/Kyoto/Math/CVector2f.hpp | 17 + include/Kyoto/Math/CVector3f.hpp | 18 + include/Kyoto/Math/CloseEnough.hpp | 10 + ldscript.lcf | 6 + obj_files.mk | 178 +- 188 files changed, 118893 insertions(+), 118378 deletions(-) create mode 100644 asm/Kyoto/Alloc/CCircularBuffer.s create mode 100644 asm/Kyoto/Alloc/CGameAllocator.s create mode 100644 asm/Kyoto/Alloc/CMediumAllocPool.s create mode 100644 asm/Kyoto/Alloc/CMemory.s create mode 100644 asm/Kyoto/Alloc/CSmallAllocPool.s create mode 100644 asm/Kyoto/Alloc/IAllocator.s create mode 100644 asm/Kyoto/Animation/CAdditiveAnimPlayback.s rename asm/Kyoto/{AnimData => Animation}/CAdvancementDeltas.s (100%) rename asm/Kyoto/{AnimData => Animation}/CAllFormatsAnimSource.s (100%) rename asm/Kyoto/{AnimData => Animation}/CAnimMathUtils.s (100%) rename asm/Kyoto/{AnimData => Animation}/CAnimPOIData.s (100%) rename asm/Kyoto/{AnimData => Animation}/CAnimSource.s (100%) rename asm/Kyoto/{AnimData => Animation}/CAnimSourceReader.s (100%) rename asm/Kyoto/{AnimData => Animation}/CAnimSourceReaderBase.s (100%) rename asm/Kyoto/{AnimData => Animation}/CAnimTreeAnimReaderContainer.s (100%) rename asm/Kyoto/{AnimData => Animation}/CAnimTreeBlend.s (100%) rename asm/Kyoto/{AnimData => Animation}/CAnimTreeContinuousPhaseBlend.s (100%) rename asm/Kyoto/{AnimData => Animation}/CAnimTreeDoubleChild.s (100%) rename asm/Kyoto/{AnimData => Animation}/CAnimTreeNode.s (100%) rename asm/Kyoto/{AnimData => Animation}/CAnimTreeSingleChild.s (100%) rename asm/Kyoto/{AnimData => Animation}/CAnimTreeTimeScale.s (100%) rename asm/Kyoto/{AnimData => Animation}/CAnimTreeTransition.s (100%) rename asm/Kyoto/{AnimData => Animation}/CAnimTreeTweenBase.s (100%) rename asm/Kyoto/{AnimData => Animation}/CBoolPOINode.s (100%) rename asm/Kyoto/{AnimData => Animation}/CCharAnimMemoryMetrics.s (100%) create mode 100644 asm/Kyoto/Animation/CCharAnimTime.s rename asm/Kyoto/{AnimData => Animation}/CCharLayoutInfo.s (100%) rename asm/Kyoto/{AnimData => Animation}/CFBStreamedAnimReader.s (100%) rename asm/Kyoto/{AnimData => Animation}/CFBStreamedCompression.s (100%) create mode 100644 asm/Kyoto/Animation/CHalfTransition.s rename asm/Kyoto/{AnimData => Animation}/CHierarchyPoseBuilder.s (100%) rename asm/Kyoto/{AnimData => Animation}/CInt32POINode.s (100%) rename asm/Kyoto/{AnimData => Animation}/CPOINode.s (100%) rename asm/Kyoto/{AnimData => Animation}/CParticlePOINode.s (100%) create mode 100644 asm/Kyoto/Animation/CPoseAsTransforms.s create mode 100644 asm/Kyoto/Animation/CSegIdList.s rename asm/Kyoto/{AnimData => Animation}/CSegStatementSet.s (100%) create mode 100644 asm/Kyoto/Animation/CSkinnedModelWithAvgNormals.s rename asm/Kyoto/{AnimData => Animation}/CTimeScaleFunctions.s (100%) create mode 100644 asm/Kyoto/Animation/CVertexMorphEffect.s create mode 100644 asm/Kyoto/Animation/DolphinCSkinRules.s create mode 100644 asm/Kyoto/Animation/DolphinCSkinnedModel.s create mode 100644 asm/Kyoto/Animation/DolphinCVirtualBone.s rename asm/Kyoto/{AnimData => Animation}/IAnimReader.s (100%) create mode 100644 asm/Kyoto/Audio/CDSPStreamManager.s create mode 100644 asm/Kyoto/Audio/CMidiManager.s rename asm/Kyoto/{SfxManager => Audio}/CSfxHandle.s (100%) rename asm/Kyoto/{SfxManager => Audio}/CSfxManager.s (100%) create mode 100644 asm/Kyoto/Audio/CStaticAudioPlayer.s create mode 100644 asm/Kyoto/Audio/CStreamAudioManager.s create mode 100644 asm/Kyoto/Audio/DolphinCAudioGroupSet.s create mode 100644 asm/Kyoto/Audio/DolphinCAudioSys.s create mode 100644 asm/Kyoto/Audio/SDSPStream.s create mode 100644 asm/Kyoto/Audio/g721.s create mode 100644 asm/Kyoto/CARAMManager.s create mode 100644 asm/Kyoto/CARAMToken.s create mode 100644 asm/Kyoto/CCrc32.s create mode 100644 asm/Kyoto/CDependencyGroup.s create mode 100644 asm/Kyoto/CFactoryMgr.s create mode 100644 asm/Kyoto/CFactoryStore.s create mode 100644 asm/Kyoto/CFinalInput.s create mode 100644 asm/Kyoto/CObjectReference.s create mode 100644 asm/Kyoto/CPakFile.s create mode 100644 asm/Kyoto/CRandom16.s create mode 100644 asm/Kyoto/CResFactory.s create mode 100644 asm/Kyoto/CResLoader.s create mode 100644 asm/Kyoto/CSimplePool.s create mode 100644 asm/Kyoto/CTimeProvider.s create mode 100644 asm/Kyoto/CToken.s create mode 100644 asm/Kyoto/DolphinCDvdFile.s create mode 100644 asm/Kyoto/DolphinCMemoryCardSys.s create mode 100644 asm/Kyoto/GameTweaks.s create mode 100644 asm/Kyoto/Graphics/CColor.s create mode 100644 asm/Kyoto/Graphics/CCubeMaterial.s create mode 100644 asm/Kyoto/Graphics/CCubeModel.s create mode 100644 asm/Kyoto/Graphics/CCubeMoviePlayer.s create mode 100644 asm/Kyoto/Graphics/CCubeSurface.s create mode 100644 asm/Kyoto/Graphics/CGX.s create mode 100644 asm/Kyoto/Graphics/CLight.s create mode 100644 asm/Kyoto/Graphics/CTevCombiners.s create mode 100644 asm/Kyoto/Graphics/DolphinCColor.s create mode 100644 asm/Kyoto/Graphics/DolphinCGraphics.s create mode 100644 asm/Kyoto/Graphics/DolphinCModel.s create mode 100644 asm/Kyoto/Graphics/DolphinCPalette.s create mode 100644 asm/Kyoto/Graphics/DolphinCTexture.s create mode 100644 asm/Kyoto/IObj.s create mode 100644 asm/Kyoto/Input/CDolphinController.s create mode 100644 asm/Kyoto/Input/CRumbleGenerator.s create mode 100644 asm/Kyoto/Input/CRumbleVoice.s create mode 100644 asm/Kyoto/Input/DolphinIController.s create mode 100644 asm/Kyoto/Input/RumbleAdsr.s create mode 100644 asm/Kyoto/Math/CAABox.s create mode 100644 asm/Kyoto/Math/CFrustumPlanes.s create mode 100644 asm/Kyoto/Math/CMatrix3f.s create mode 100644 asm/Kyoto/Math/CMatrix4f.s create mode 100644 asm/Kyoto/Math/CPlane.s create mode 100644 asm/Kyoto/Math/CQuaternion.s create mode 100644 asm/Kyoto/Math/CSphere.s create mode 100644 asm/Kyoto/Math/CTransform4f.s create mode 100644 asm/Kyoto/Math/CUnitVector3f.s create mode 100644 asm/Kyoto/Math/CVector2f.s create mode 100644 asm/Kyoto/Math/CVector2i.s create mode 100644 asm/Kyoto/Math/CVector3d.s create mode 100644 asm/Kyoto/Math/CVector3f.s create mode 100644 asm/Kyoto/Math/CloseEnough.s create mode 100644 asm/Kyoto/Math/RMathUtils.s create mode 100644 asm/Kyoto/PVS/CPVSVisOctree.s create mode 100644 asm/Kyoto/PVS/CPVSVisSet.s create mode 100644 asm/Kyoto/Particles/CColorElement.s create mode 100644 asm/Kyoto/Particles/CEffectComponent.s create mode 100644 asm/Kyoto/Particles/CElectricDescription.s create mode 100644 asm/Kyoto/Particles/CElementGen.s create mode 100644 asm/Kyoto/Particles/CEmitterElement.s create mode 100644 asm/Kyoto/Particles/CGenDescription.s create mode 100644 asm/Kyoto/Particles/CParticleData.s create mode 100644 asm/Kyoto/Particles/CParticleElectric.s create mode 100644 asm/Kyoto/Particles/CParticleElectricDataFactory.s create mode 100644 asm/Kyoto/Particles/CParticleGen.s create mode 100644 asm/Kyoto/Particles/CParticleGlobals.s create mode 100644 asm/Kyoto/Particles/CParticleSwoosh.s create mode 100644 asm/Kyoto/Particles/CParticleSwooshDataFactory.s create mode 100644 asm/Kyoto/Particles/CRealElement.s create mode 100644 asm/Kyoto/Particles/CSpawnSystemKeyframeData.s create mode 100644 asm/Kyoto/Particles/CSwooshDescription.s create mode 100644 asm/Kyoto/Particles/CUVElement.s create mode 100644 asm/Kyoto/Particles/CVectorElement.s create mode 100644 asm/Kyoto/Particles/CWarp.s create mode 100644 asm/Kyoto/Streams/CInputStream.s create mode 100644 asm/Kyoto/Streams/CMemoryInStream.s create mode 100644 asm/Kyoto/Streams/CMemoryStreamOut.s create mode 100644 asm/Kyoto/Streams/COutputStream.s create mode 100644 asm/Kyoto/Streams/CZipInputStream.s create mode 100644 asm/Kyoto/Streams/CZipSupport.s create mode 100644 asm/Kyoto/Text/CFontImageDef.s create mode 100644 asm/Kyoto/Text/CImageInstruction.s create mode 100644 asm/Kyoto/Text/CStringTable.s create mode 100644 asm/Kyoto/Text/CTextRenderBuffer.s create mode 100644 asm/Kyoto/rstl/RstlExtras.s create mode 100644 asm/Kyoto/rstl/rstl_map.s create mode 100644 asm/Kyoto/rstl/rstl_strings.s create mode 100644 asm/Kyoto/zlib/adler32.s create mode 100644 asm/Kyoto/zlib/infblock.s create mode 100644 asm/Kyoto/zlib/infcodes.s create mode 100644 asm/Kyoto/zlib/inffast.s create mode 100644 asm/Kyoto/zlib/inflate.s create mode 100644 asm/Kyoto/zlib/inftrees.s create mode 100644 asm/Kyoto/zlib/infutil.s delete mode 100644 asm/text.s create mode 100644 include/Kyoto/Math/CVector2f.hpp create mode 100644 include/Kyoto/Math/CVector3f.hpp create mode 100644 include/Kyoto/Math/CloseEnough.hpp diff --git a/asm/Collision/CCollidableSphere.s b/asm/Collision/CCollidableSphere.s index 49807ce9..ad43aa63 100644 --- a/asm/Collision/CCollidableSphere.s +++ b/asm/Collision/CCollidableSphere.s @@ -550,7 +550,7 @@ lbl_802D4668: /* 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 +/* 802D4688 002D15E8 48 03 F7 49 */ bl __ct__13CUnitVector3fFRC9CVector3f /* 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) diff --git a/asm/Kyoto/Alloc/CCircularBuffer.s b/asm/Kyoto/Alloc/CCircularBuffer.s new file mode 100644 index 00000000..e89c9f78 --- /dev/null +++ b/asm/Kyoto/Alloc/CCircularBuffer.s @@ -0,0 +1,136 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global GetAllocatedAmount__15CCircularBufferCFv +GetAllocatedAmount__15CCircularBufferCFv: +/* 80315660 003125C0 80 A3 00 14 */ lwz r5, 0x14(r3) +/* 80315664 003125C4 80 83 00 0C */ lwz r4, 0xc(r3) +/* 80315668 003125C8 80 03 00 10 */ lwz r0, 0x10(r3) +/* 8031566C 003125CC 2C 05 FF FF */ cmpwi r5, -1 +/* 80315670 003125D0 7C 84 00 50 */ subf r4, r4, r0 +/* 80315674 003125D4 41 82 00 10 */ beq lbl_80315684 +/* 80315678 003125D8 80 03 00 08 */ lwz r0, 8(r3) +/* 8031567C 003125DC 7C 05 00 50 */ subf r0, r5, r0 +/* 80315680 003125E0 7C 84 02 14 */ add r4, r4, r0 +lbl_80315684: +/* 80315684 003125E4 7C 83 23 78 */ mr r3, r4 +/* 80315688 003125E8 4E 80 00 20 */ blr + +.global Free__15CCircularBufferFPvi +Free__15CCircularBufferFPvi: +/* 8031568C 003125EC 80 C3 00 14 */ lwz r6, 0x14(r3) +/* 80315690 003125F0 2C 06 FF FF */ cmpwi r6, -1 +/* 80315694 003125F4 40 81 00 2C */ ble lbl_803156C0 +/* 80315698 003125F8 80 03 00 04 */ lwz r0, 4(r3) +/* 8031569C 003125FC 7C 04 00 40 */ cmplw r4, r0 +/* 803156A0 00312600 40 82 00 14 */ bne lbl_803156B4 +/* 803156A4 00312604 38 00 FF FF */ li r0, -1 +/* 803156A8 00312608 90 03 00 14 */ stw r0, 0x14(r3) +/* 803156AC 0031260C 90 A3 00 0C */ stw r5, 0xc(r3) +/* 803156B0 00312610 48 00 00 1C */ b lbl_803156CC +lbl_803156B4: +/* 803156B4 00312614 7C 06 2A 14 */ add r0, r6, r5 +/* 803156B8 00312618 90 03 00 14 */ stw r0, 0x14(r3) +/* 803156BC 0031261C 48 00 00 10 */ b lbl_803156CC +lbl_803156C0: +/* 803156C0 00312620 80 03 00 0C */ lwz r0, 0xc(r3) +/* 803156C4 00312624 7C 00 2A 14 */ add r0, r0, r5 +/* 803156C8 00312628 90 03 00 0C */ stw r0, 0xc(r3) +lbl_803156CC: +/* 803156CC 0031262C 80 03 00 14 */ lwz r0, 0x14(r3) +/* 803156D0 00312630 2C 00 FF FF */ cmpwi r0, -1 +/* 803156D4 00312634 4C 82 00 20 */ bnelr +/* 803156D8 00312638 80 83 00 0C */ lwz r4, 0xc(r3) +/* 803156DC 0031263C 80 03 00 10 */ lwz r0, 0x10(r3) +/* 803156E0 00312640 7C 04 00 00 */ cmpw r4, r0 +/* 803156E4 00312644 4C 82 00 20 */ bnelr +/* 803156E8 00312648 38 00 00 00 */ li r0, 0 +/* 803156EC 0031264C 90 03 00 10 */ stw r0, 0x10(r3) +/* 803156F0 00312650 90 03 00 0C */ stw r0, 0xc(r3) +/* 803156F4 00312654 4E 80 00 20 */ blr + +.global Alloc__15CCircularBufferFi +Alloc__15CCircularBufferFi: +/* 803156F8 00312658 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803156FC 0031265C 7C 08 02 A6 */ mflr r0 +/* 80315700 00312660 90 01 00 14 */ stw r0, 0x14(r1) +/* 80315704 00312664 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80315708 00312668 7C 9F 23 78 */ mr r31, r4 +/* 8031570C 0031266C 93 C1 00 08 */ stw r30, 8(r1) +/* 80315710 00312670 7C 7E 1B 78 */ mr r30, r3 +/* 80315714 00312674 80 83 00 10 */ lwz r4, 0x10(r3) +/* 80315718 00312678 80 03 00 08 */ lwz r0, 8(r3) +/* 8031571C 0031267C 7C 04 00 50 */ subf r0, r4, r0 +/* 80315720 00312680 7C 00 F8 00 */ cmpw r0, r31 +/* 80315724 00312684 41 80 00 2C */ blt lbl_80315750 +/* 80315728 00312688 7F E5 FB 78 */ mr r5, r31 +/* 8031572C 0031268C 48 00 00 81 */ bl IsWrappedMemory__15CCircularBufferFii +/* 80315730 00312690 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80315734 00312694 40 82 00 1C */ bne lbl_80315750 +/* 80315738 00312698 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 8031573C 0031269C 80 9E 00 04 */ lwz r4, 4(r30) +/* 80315740 003126A0 7C 03 FA 14 */ add r0, r3, r31 +/* 80315744 003126A4 90 1E 00 10 */ stw r0, 0x10(r30) +/* 80315748 003126A8 7C 64 1A 14 */ add r3, r4, r3 +/* 8031574C 003126AC 48 00 00 48 */ b lbl_80315794 +lbl_80315750: +/* 80315750 003126B0 80 1E 00 0C */ lwz r0, 0xc(r30) +/* 80315754 003126B4 7C 00 F8 00 */ cmpw r0, r31 +/* 80315758 003126B8 41 80 00 38 */ blt lbl_80315790 +/* 8031575C 003126BC 7F C3 F3 78 */ mr r3, r30 +/* 80315760 003126C0 7F E5 FB 78 */ mr r5, r31 +/* 80315764 003126C4 38 80 00 00 */ li r4, 0 +/* 80315768 003126C8 48 00 00 45 */ bl IsWrappedMemory__15CCircularBufferFii +/* 8031576C 003126CC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80315770 003126D0 40 82 00 20 */ bne lbl_80315790 +/* 80315774 003126D4 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80315778 003126D8 38 00 00 00 */ li r0, 0 +/* 8031577C 003126DC 90 1E 00 0C */ stw r0, 0xc(r30) +/* 80315780 003126E0 93 FE 00 10 */ stw r31, 0x10(r30) +/* 80315784 003126E4 90 7E 00 14 */ stw r3, 0x14(r30) +/* 80315788 003126E8 80 7E 00 04 */ lwz r3, 4(r30) +/* 8031578C 003126EC 48 00 00 08 */ b lbl_80315794 +lbl_80315790: +/* 80315790 003126F0 38 60 00 00 */ li r3, 0 +lbl_80315794: +/* 80315794 003126F4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80315798 003126F8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8031579C 003126FC 83 C1 00 08 */ lwz r30, 8(r1) +/* 803157A0 00312700 7C 08 03 A6 */ mtlr r0 +/* 803157A4 00312704 38 21 00 10 */ addi r1, r1, 0x10 +/* 803157A8 00312708 4E 80 00 20 */ blr + +.global IsWrappedMemory__15CCircularBufferFii +IsWrappedMemory__15CCircularBufferFii: +/* 803157AC 0031270C 80 63 00 14 */ lwz r3, 0x14(r3) +/* 803157B0 00312710 2C 03 FF FF */ cmpwi r3, -1 +/* 803157B4 00312714 40 81 00 20 */ ble lbl_803157D4 +/* 803157B8 00312718 7C 03 20 00 */ cmpw r3, r4 +/* 803157BC 0031271C 41 80 00 18 */ blt lbl_803157D4 +/* 803157C0 00312720 7C 04 2A 14 */ add r0, r4, r5 +/* 803157C4 00312724 7C 03 00 00 */ cmpw r3, r0 +/* 803157C8 00312728 40 80 00 0C */ bge lbl_803157D4 +/* 803157CC 0031272C 38 60 00 01 */ li r3, 1 +/* 803157D0 00312730 4E 80 00 20 */ blr +lbl_803157D4: +/* 803157D4 00312734 38 60 00 00 */ li r3, 0 +/* 803157D8 00312738 4E 80 00 20 */ blr + +.global __ct__15CCircularBufferFPviQ215CCircularBuffer10EOwnership +__ct__15CCircularBufferFPviQ215CCircularBuffer10EOwnership: +/* 803157DC 0031273C 7C 04 00 D0 */ neg r0, r4 +/* 803157E0 00312740 38 E0 00 00 */ li r7, 0 +/* 803157E4 00312744 7C 00 23 78 */ or r0, r0, r4 +/* 803157E8 00312748 2C 06 00 01 */ cmpwi r6, 1 +/* 803157EC 0031274C 54 00 0F FE */ srwi r0, r0, 0x1f +/* 803157F0 00312750 98 03 00 00 */ stb r0, 0(r3) +/* 803157F4 00312754 38 00 FF FF */ li r0, -1 +/* 803157F8 00312758 90 83 00 04 */ stw r4, 4(r3) +/* 803157FC 0031275C 90 A3 00 08 */ stw r5, 8(r3) +/* 80315800 00312760 90 E3 00 0C */ stw r7, 0xc(r3) +/* 80315804 00312764 90 E3 00 10 */ stw r7, 0x10(r3) +/* 80315808 00312768 90 03 00 14 */ stw r0, 0x14(r3) +/* 8031580C 0031276C 4C 82 00 20 */ bnelr +/* 80315810 00312770 98 E3 00 00 */ stb r7, 0(r3) +/* 80315814 00312774 4E 80 00 20 */ blr diff --git a/asm/Kyoto/Alloc/CGameAllocator.s b/asm/Kyoto/Alloc/CGameAllocator.s new file mode 100644 index 00000000..92b70053 --- /dev/null +++ b/asm/Kyoto/Alloc/CGameAllocator.s @@ -0,0 +1,1532 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global OffsetFakeStatics__14CGameAllocatorFi +OffsetFakeStatics__14CGameAllocatorFi: +/* 80351138 0034E098 80 03 00 B8 */ lwz r0, 0xb8(r3) +/* 8035113C 0034E09C 7C 00 22 14 */ add r0, r0, r4 +/* 80351140 0034E0A0 90 03 00 B8 */ stw r0, 0xb8(r3) +/* 80351144 0034E0A4 4E 80 00 20 */ blr + +.global GetLargestFreeChunk__14CGameAllocatorCFv +GetLargestFreeChunk__14CGameAllocatorCFv: +/* 80351148 0034E0A8 80 83 00 0C */ lwz r4, 0xc(r3) +/* 8035114C 0034E0AC 38 60 00 00 */ li r3, 0 +/* 80351150 0034E0B0 48 00 00 28 */ b lbl_80351178 +lbl_80351154: +/* 80351154 0034E0B4 80 04 00 10 */ lwz r0, 0x10(r4) +/* 80351158 0034E0B8 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 8035115C 0034E0BC 40 82 00 14 */ bne lbl_80351170 +/* 80351160 0034E0C0 80 04 00 04 */ lwz r0, 4(r4) +/* 80351164 0034E0C4 7C 00 18 40 */ cmplw r0, r3 +/* 80351168 0034E0C8 40 81 00 08 */ ble lbl_80351170 +/* 8035116C 0034E0CC 7C 03 03 78 */ mr r3, r0 +lbl_80351170: +/* 80351170 0034E0D0 80 04 00 18 */ lwz r0, 0x18(r4) +/* 80351174 0034E0D4 54 04 00 34 */ rlwinm r4, r0, 0, 0, 0x1a +lbl_80351178: +/* 80351178 0034E0D8 28 04 00 00 */ cmplwi r4, 0 +/* 8035117C 0034E0DC 40 82 FF D8 */ bne lbl_80351154 +/* 80351180 0034E0E0 4E 80 00 20 */ blr + +.global DumpAllocations__14CGameAllocatorCFv +DumpAllocations__14CGameAllocatorCFv: +/* 80351184 0034E0E4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80351188 0034E0E8 7C 08 02 A6 */ mflr r0 +/* 8035118C 0034E0EC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80351190 0034E0F0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80351194 0034E0F4 93 C1 00 08 */ stw r30, 8(r1) +/* 80351198 0034E0F8 7C 7E 1B 78 */ mr r30, r3 +/* 8035119C 0034E0FC 4B FF FF AD */ bl GetLargestFreeChunk__14CGameAllocatorCFv +/* 803511A0 0034E100 83 DE 00 0C */ lwz r30, 0xc(r30) +/* 803511A4 0034E104 3B E0 00 00 */ li r31, 0 +/* 803511A8 0034E108 48 00 00 30 */ b lbl_803511D8 +lbl_803511AC: +/* 803511AC 0034E10C 3B FF 00 01 */ addi r31, r31, 1 +/* 803511B0 0034E110 57 E0 F0 02 */ slwi r0, r31, 0x1e +/* 803511B4 0034E114 57 E3 0F FE */ srwi r3, r31, 0x1f +/* 803511B8 0034E118 7C 03 00 50 */ subf r0, r3, r0 +/* 803511BC 0034E11C 54 00 10 3E */ rotlwi r0, r0, 2 +/* 803511C0 0034E120 7C 00 1A 15 */ add. r0, r0, r3 +/* 803511C4 0034E124 40 82 00 0C */ bne lbl_803511D0 +/* 803511C8 0034E128 C0 22 CC 98 */ lfs f1, lbl_805AE9B8@sda21(r2) +/* 803511CC 0034E12C 4B F8 50 A1 */ bl Wait__10CStopwatchFf +lbl_803511D0: +/* 803511D0 0034E130 80 1E 00 14 */ lwz r0, 0x14(r30) +/* 803511D4 0034E134 54 1E 00 34 */ rlwinm r30, r0, 0, 0, 0x1a +lbl_803511D8: +/* 803511D8 0034E138 28 1E 00 00 */ cmplwi r30, 0 +/* 803511DC 0034E13C 40 82 FF D0 */ bne lbl_803511AC +/* 803511E0 0034E140 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803511E4 0034E144 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803511E8 0034E148 83 C1 00 08 */ lwz r30, 8(r1) +/* 803511EC 0034E14C 7C 08 03 A6 */ mtlr r0 +/* 803511F0 0034E150 38 21 00 10 */ addi r1, r1, 0x10 +/* 803511F4 0034E154 4E 80 00 20 */ blr + +.global RemoveFreeEntryFromFreeList__14CGameAllocatorFPQ214CGameAllocator12SGameMemInfo +RemoveFreeEntryFromFreeList__14CGameAllocatorFPQ214CGameAllocator12SGameMemInfo: +/* 803511F8 0034E158 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803511FC 0034E15C 7C 08 02 A6 */ mflr r0 +/* 80351200 0034E160 90 01 00 14 */ stw r0, 0x14(r1) +/* 80351204 0034E164 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80351208 0034E168 7C 9F 23 78 */ mr r31, r4 +/* 8035120C 0034E16C 93 C1 00 08 */ stw r30, 8(r1) +/* 80351210 0034E170 7C 7E 1B 78 */ mr r30, r3 +/* 80351214 0034E174 80 64 00 04 */ lwz r3, 4(r4) +/* 80351218 0034E178 48 00 00 E5 */ bl GetFreeBinEntryForSize__14CGameAllocatorFUi +/* 8035121C 0034E17C 54 60 10 3A */ slwi r0, r3, 2 +/* 80351220 0034E180 38 80 00 00 */ li r4, 0 +/* 80351224 0034E184 7C 7E 02 14 */ add r3, r30, r0 +/* 80351228 0034E188 80 A3 00 14 */ lwz r5, 0x14(r3) +/* 8035122C 0034E18C 48 00 00 50 */ b lbl_8035127C +lbl_80351230: +/* 80351230 0034E190 7C 05 F8 40 */ cmplw r5, r31 +/* 80351234 0034E194 40 82 00 3C */ bne lbl_80351270 +/* 80351238 0034E198 28 04 00 00 */ cmplwi r4, 0 +/* 8035123C 0034E19C 40 82 00 14 */ bne lbl_80351250 +/* 80351240 0034E1A0 80 05 00 18 */ lwz r0, 0x18(r5) +/* 80351244 0034E1A4 54 00 00 34 */ rlwinm r0, r0, 0, 0, 0x1a +/* 80351248 0034E1A8 90 03 00 14 */ stw r0, 0x14(r3) +/* 8035124C 0034E1AC 48 00 00 38 */ b lbl_80351284 +lbl_80351250: +/* 80351250 0034E1B0 80 05 00 18 */ lwz r0, 0x18(r5) +/* 80351254 0034E1B4 80 64 00 18 */ lwz r3, 0x18(r4) +/* 80351258 0034E1B8 54 00 00 34 */ rlwinm r0, r0, 0, 0, 0x1a +/* 8035125C 0034E1BC 90 04 00 18 */ stw r0, 0x18(r4) +/* 80351260 0034E1C0 80 04 00 18 */ lwz r0, 0x18(r4) +/* 80351264 0034E1C4 50 60 06 FE */ rlwimi r0, r3, 0, 0x1b, 0x1f +/* 80351268 0034E1C8 90 04 00 18 */ stw r0, 0x18(r4) +/* 8035126C 0034E1CC 48 00 00 18 */ b lbl_80351284 +lbl_80351270: +/* 80351270 0034E1D0 80 05 00 18 */ lwz r0, 0x18(r5) +/* 80351274 0034E1D4 7C A4 2B 78 */ mr r4, r5 +/* 80351278 0034E1D8 54 05 00 34 */ rlwinm r5, r0, 0, 0, 0x1a +lbl_8035127C: +/* 8035127C 0034E1DC 28 05 00 00 */ cmplwi r5, 0 +/* 80351280 0034E1E0 40 82 FF B0 */ bne lbl_80351230 +lbl_80351284: +/* 80351284 0034E1E4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80351288 0034E1E8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8035128C 0034E1EC 83 C1 00 08 */ lwz r30, 8(r1) +/* 80351290 0034E1F0 7C 08 03 A6 */ mtlr r0 +/* 80351294 0034E1F4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80351298 0034E1F8 4E 80 00 20 */ blr + +.global AddFreeEntryToFreeList__14CGameAllocatorFPQ214CGameAllocator12SGameMemInfo +AddFreeEntryToFreeList__14CGameAllocatorFPQ214CGameAllocator12SGameMemInfo: +/* 8035129C 0034E1FC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803512A0 0034E200 7C 08 02 A6 */ mflr r0 +/* 803512A4 0034E204 90 01 00 14 */ stw r0, 0x14(r1) +/* 803512A8 0034E208 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803512AC 0034E20C 7C 9F 23 78 */ mr r31, r4 +/* 803512B0 0034E210 93 C1 00 08 */ stw r30, 8(r1) +/* 803512B4 0034E214 7C 7E 1B 78 */ mr r30, r3 +/* 803512B8 0034E218 80 64 00 04 */ lwz r3, 4(r4) +/* 803512BC 0034E21C 48 00 00 41 */ bl GetFreeBinEntryForSize__14CGameAllocatorFUi +/* 803512C0 0034E220 54 60 10 3A */ slwi r0, r3, 2 +/* 803512C4 0034E224 80 7F 00 18 */ lwz r3, 0x18(r31) +/* 803512C8 0034E228 7C 9E 02 14 */ add r4, r30, r0 +/* 803512CC 0034E22C 80 04 00 14 */ lwz r0, 0x14(r4) +/* 803512D0 0034E230 90 1F 00 18 */ stw r0, 0x18(r31) +/* 803512D4 0034E234 80 1F 00 18 */ lwz r0, 0x18(r31) +/* 803512D8 0034E238 50 60 06 FE */ rlwimi r0, r3, 0, 0x1b, 0x1f +/* 803512DC 0034E23C 90 1F 00 18 */ stw r0, 0x18(r31) +/* 803512E0 0034E240 93 E4 00 14 */ stw r31, 0x14(r4) +/* 803512E4 0034E244 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803512E8 0034E248 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803512EC 0034E24C 83 C1 00 08 */ lwz r30, 8(r1) +/* 803512F0 0034E250 7C 08 03 A6 */ mtlr r0 +/* 803512F4 0034E254 38 21 00 10 */ addi r1, r1, 0x10 +/* 803512F8 0034E258 4E 80 00 20 */ blr + +.global GetFreeBinEntryForSize__14CGameAllocatorFUi +GetFreeBinEntryForSize__14CGameAllocatorFUi: +/* 803512FC 0034E25C 38 80 00 20 */ li r4, 0x20 +/* 80351300 0034E260 38 A0 00 00 */ li r5, 0 +/* 80351304 0034E264 3C 00 00 20 */ lis r0, 0x20 +/* 80351308 0034E268 48 00 00 1C */ b lbl_80351324 +lbl_8035130C: +/* 8035130C 0034E26C 7C 03 20 40 */ cmplw r3, r4 +/* 80351310 0034E270 40 80 00 0C */ bge lbl_8035131C +/* 80351314 0034E274 7C A3 2B 78 */ mr r3, r5 +/* 80351318 0034E278 4E 80 00 20 */ blr +lbl_8035131C: +/* 8035131C 0034E27C 54 84 08 3C */ slwi r4, r4, 1 +/* 80351320 0034E280 38 A5 00 01 */ addi r5, r5, 1 +lbl_80351324: +/* 80351324 0034E284 7C 04 00 40 */ cmplw r4, r0 +/* 80351328 0034E288 41 80 FF E4 */ blt lbl_8035130C +/* 8035132C 0034E28C 38 60 00 0F */ li r3, 0xf +/* 80351330 0034E290 4E 80 00 20 */ blr + +.global EnumAllocations__14CGameAllocatorCFPFRCQ210IAllocator10SAllocInfoPCv_CbPCvb +EnumAllocations__14CGameAllocatorCFPFRCQ210IAllocator10SAllocInfoPCv_CbPCvb: +/* 80351334 0034E294 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80351338 0034E298 7C 08 02 A6 */ mflr r0 +/* 8035133C 0034E29C 90 01 00 34 */ stw r0, 0x34(r1) +/* 80351340 0034E2A0 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80351344 0034E2A4 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80351348 0034E2A8 3B C0 00 00 */ li r30, 0 +/* 8035134C 0034E2AC 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80351350 0034E2B0 7C BD 2B 78 */ mr r29, r5 +/* 80351354 0034E2B4 93 81 00 20 */ stw r28, 0x20(r1) +/* 80351358 0034E2B8 7C 9C 23 78 */ mr r28, r4 +/* 8035135C 0034E2BC 81 43 00 0C */ lwz r10, 0xc(r3) +/* 80351360 0034E2C0 48 00 00 88 */ b lbl_803513E8 +lbl_80351364: +/* 80351364 0034E2C4 80 6A 00 1C */ lwz r3, 0x1c(r10) +/* 80351368 0034E2C8 3C 03 15 16 */ addis r0, r3, 0x1516 +/* 8035136C 0034E2CC 28 00 EA EA */ cmplwi r0, 0xeaea +/* 80351370 0034E2D0 41 82 00 0C */ beq lbl_8035137C +/* 80351374 0034E2D4 38 60 FF FF */ li r3, -1 +/* 80351378 0034E2D8 48 00 00 7C */ b lbl_803513F4 +lbl_8035137C: +/* 8035137C 0034E2DC 80 6A 00 00 */ lwz r3, 0(r10) +/* 80351380 0034E2E0 3C 03 10 11 */ addis r0, r3, 0x1011 +/* 80351384 0034E2E4 28 00 EF EF */ cmplwi r0, 0xefef +/* 80351388 0034E2E8 41 82 00 0C */ beq lbl_80351394 +/* 8035138C 0034E2EC 38 60 FF FF */ li r3, -1 +/* 80351390 0034E2F0 48 00 00 64 */ b lbl_803513F4 +lbl_80351394: +/* 80351394 0034E2F4 80 6A 00 10 */ lwz r3, 0x10(r10) +/* 80351398 0034E2F8 7F 8C E3 78 */ mr r12, r28 +/* 8035139C 0034E2FC 80 CA 00 14 */ lwz r6, 0x14(r10) +/* 803513A0 0034E300 38 00 00 00 */ li r0, 0 +/* 803513A4 0034E304 81 2A 00 0C */ lwz r9, 0xc(r10) +/* 803513A8 0034E308 54 65 07 FE */ clrlwi r5, r3, 0x1f +/* 803513AC 0034E30C 81 0A 00 08 */ lwz r8, 8(r10) +/* 803513B0 0034E310 7F A4 EB 78 */ mr r4, r29 +/* 803513B4 0034E314 80 EA 00 04 */ lwz r7, 4(r10) +/* 803513B8 0034E318 54 DF 00 34 */ rlwinm r31, r6, 0, 0, 0x1a +/* 803513BC 0034E31C 38 61 00 08 */ addi r3, r1, 8 +/* 803513C0 0034E320 91 41 00 08 */ stw r10, 8(r1) +/* 803513C4 0034E324 90 E1 00 0C */ stw r7, 0xc(r1) +/* 803513C8 0034E328 98 A1 00 10 */ stb r5, 0x10(r1) +/* 803513CC 0034E32C 98 01 00 11 */ stb r0, 0x11(r1) +/* 803513D0 0034E330 91 01 00 14 */ stw r8, 0x14(r1) +/* 803513D4 0034E334 91 21 00 18 */ stw r9, 0x18(r1) +/* 803513D8 0034E338 7D 89 03 A6 */ mtctr r12 +/* 803513DC 0034E33C 4E 80 04 21 */ bctrl +/* 803513E0 0034E340 7F EA FB 78 */ mr r10, r31 +/* 803513E4 0034E344 3B DE 00 01 */ addi r30, r30, 1 +lbl_803513E8: +/* 803513E8 0034E348 28 0A 00 00 */ cmplwi r10, 0 +/* 803513EC 0034E34C 40 82 FF 78 */ bne lbl_80351364 +/* 803513F0 0034E350 7F C3 F3 78 */ mr r3, r30 +lbl_803513F4: +/* 803513F4 0034E354 80 01 00 34 */ lwz r0, 0x34(r1) +/* 803513F8 0034E358 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 803513FC 0034E35C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80351400 0034E360 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80351404 0034E364 83 81 00 20 */ lwz r28, 0x20(r1) +/* 80351408 0034E368 7C 08 03 A6 */ mtlr r0 +/* 8035140C 0034E36C 38 21 00 30 */ addi r1, r1, 0x30 +/* 80351410 0034E370 4E 80 00 20 */ blr + +.global GetMetrics__14CGameAllocatorCFv +GetMetrics__14CGameAllocatorCFv: +/* 80351414 0034E374 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 80351418 0034E378 7C 08 02 A6 */ mflr r0 +/* 8035141C 0034E37C 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 80351420 0034E380 BF 41 00 A8 */ stmw r26, 0xa8(r1) +/* 80351424 0034E384 7C 7D 1B 78 */ mr r29, r3 +/* 80351428 0034E388 7C 9E 23 78 */ mr r30, r4 +/* 8035142C 0034E38C 80 64 00 74 */ lwz r3, 0x74(r4) +/* 80351430 0034E390 28 03 00 00 */ cmplwi r3, 0 +/* 80351434 0034E394 41 82 00 10 */ beq lbl_80351444 +/* 80351438 0034E398 4B FF F6 FD */ bl GetTotalEntries__16CMediumAllocPoolFv +/* 8035143C 0034E39C 54 7F 28 34 */ slwi r31, r3, 5 +/* 80351440 0034E3A0 48 00 00 08 */ b lbl_80351448 +lbl_80351444: +/* 80351444 0034E3A4 3B E0 00 00 */ li r31, 0 +lbl_80351448: +/* 80351448 0034E3A8 80 7E 00 74 */ lwz r3, 0x74(r30) +/* 8035144C 0034E3AC 28 03 00 00 */ cmplwi r3, 0 +/* 80351450 0034E3B0 41 82 00 10 */ beq lbl_80351460 +/* 80351454 0034E3B4 4B FF F6 B5 */ bl GetNumBlocksAvailable__16CMediumAllocPoolFv +/* 80351458 0034E3B8 7C 7B 1B 78 */ mr r27, r3 +/* 8035145C 0034E3BC 48 00 00 08 */ b lbl_80351464 +lbl_80351460: +/* 80351460 0034E3C0 3B 60 00 00 */ li r27, 0 +lbl_80351464: +/* 80351464 0034E3C4 83 5E 00 74 */ lwz r26, 0x74(r30) +/* 80351468 0034E3C8 28 1A 00 00 */ cmplwi r26, 0 +/* 8035146C 0034E3CC 41 82 00 20 */ beq lbl_8035148C +/* 80351470 0034E3D0 7F 43 D3 78 */ mr r3, r26 +/* 80351474 0034E3D4 4B FF F6 C1 */ bl GetTotalEntries__16CMediumAllocPoolFv +/* 80351478 0034E3D8 7C 7C 1B 78 */ mr r28, r3 +/* 8035147C 0034E3DC 7F 43 D3 78 */ mr r3, r26 +/* 80351480 0034E3E0 4B FF F6 89 */ bl GetNumBlocksAvailable__16CMediumAllocPoolFv +/* 80351484 0034E3E4 7F 83 E0 50 */ subf r28, r3, r28 +/* 80351488 0034E3E8 48 00 00 08 */ b lbl_80351490 +lbl_8035148C: +/* 8035148C 0034E3EC 3B 80 00 00 */ li r28, 0 +lbl_80351490: +/* 80351490 0034E3F0 80 7E 00 74 */ lwz r3, 0x74(r30) +/* 80351494 0034E3F4 28 03 00 00 */ cmplwi r3, 0 +/* 80351498 0034E3F8 41 82 00 10 */ beq lbl_803514A8 +/* 8035149C 0034E3FC 4B FF F6 C5 */ bl GetNumAllocs__16CMediumAllocPoolFv +/* 803514A0 0034E400 7C 64 1B 78 */ mr r4, r3 +/* 803514A4 0034E404 48 00 00 08 */ b lbl_803514AC +lbl_803514A8: +/* 803514A8 0034E408 38 80 00 00 */ li r4, 0 +lbl_803514AC: +/* 803514AC 0034E40C 80 BE 00 60 */ lwz r5, 0x60(r30) +/* 803514B0 0034E410 28 05 00 00 */ cmplwi r5, 0 +/* 803514B4 0034E414 41 82 00 0C */ beq lbl_803514C0 +/* 803514B8 0034E418 80 C5 00 18 */ lwz r6, 0x18(r5) +/* 803514BC 0034E41C 48 00 00 08 */ b lbl_803514C4 +lbl_803514C0: +/* 803514C0 0034E420 38 C0 00 00 */ li r6, 0 +lbl_803514C4: +/* 803514C4 0034E424 28 05 00 00 */ cmplwi r5, 0 +/* 803514C8 0034E428 41 82 00 14 */ beq lbl_803514DC +/* 803514CC 0034E42C 80 65 00 18 */ lwz r3, 0x18(r5) +/* 803514D0 0034E430 80 05 00 08 */ lwz r0, 8(r5) +/* 803514D4 0034E434 7C E3 00 50 */ subf r7, r3, r0 +/* 803514D8 0034E438 48 00 00 08 */ b lbl_803514E0 +lbl_803514DC: +/* 803514DC 0034E43C 38 E0 00 00 */ li r7, 0 +lbl_803514E0: +/* 803514E0 0034E440 28 05 00 00 */ cmplwi r5, 0 +/* 803514E4 0034E444 41 82 00 0C */ beq lbl_803514F0 +/* 803514E8 0034E448 81 05 00 1C */ lwz r8, 0x1c(r5) +/* 803514EC 0034E44C 48 00 00 08 */ b lbl_803514F4 +lbl_803514F0: +/* 803514F0 0034E450 39 00 00 00 */ li r8, 0 +lbl_803514F4: +/* 803514F4 0034E454 80 BE 00 80 */ lwz r5, 0x80(r30) +/* 803514F8 0034E458 38 61 00 48 */ addi r3, r1, 0x48 +/* 803514FC 0034E45C 80 1E 00 98 */ lwz r0, 0x98(r30) +/* 80351500 0034E460 90 01 00 08 */ stw r0, 8(r1) +/* 80351504 0034E464 80 1E 00 9C */ lwz r0, 0x9c(r30) +/* 80351508 0034E468 90 01 00 0C */ stw r0, 0xc(r1) +/* 8035150C 0034E46C 80 1E 00 A0 */ lwz r0, 0xa0(r30) +/* 80351510 0034E470 90 01 00 10 */ stw r0, 0x10(r1) +/* 80351514 0034E474 80 1E 00 A4 */ lwz r0, 0xa4(r30) +/* 80351518 0034E478 90 01 00 14 */ stw r0, 0x14(r1) +/* 8035151C 0034E47C 91 01 00 18 */ stw r8, 0x18(r1) +/* 80351520 0034E480 90 E1 00 1C */ stw r7, 0x1c(r1) +/* 80351524 0034E484 90 C1 00 20 */ stw r6, 0x20(r1) +/* 80351528 0034E488 90 81 00 24 */ stw r4, 0x24(r1) +/* 8035152C 0034E48C 93 81 00 28 */ stw r28, 0x28(r1) +/* 80351530 0034E490 93 61 00 2C */ stw r27, 0x2c(r1) +/* 80351534 0034E494 80 1E 00 B0 */ lwz r0, 0xb0(r30) +/* 80351538 0034E498 7C 00 28 50 */ subf r0, r0, r5 +/* 8035153C 0034E49C 90 01 00 30 */ stw r0, 0x30(r1) +/* 80351540 0034E4A0 80 1E 00 B4 */ lwz r0, 0xb4(r30) +/* 80351544 0034E4A4 90 01 00 34 */ stw r0, 0x34(r1) +/* 80351548 0034E4A8 80 1E 00 BC */ lwz r0, 0xbc(r30) +/* 8035154C 0034E4AC 90 01 00 38 */ stw r0, 0x38(r1) +/* 80351550 0034E4B0 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80351554 0034E4B4 80 1E 00 B8 */ lwz r0, 0xb8(r30) +/* 80351558 0034E4B8 90 01 00 40 */ stw r0, 0x40(r1) +/* 8035155C 0034E4BC 80 9E 00 08 */ lwz r4, 8(r30) +/* 80351560 0034E4C0 80 DE 00 84 */ lwz r6, 0x84(r30) +/* 80351564 0034E4C4 80 FE 00 88 */ lwz r7, 0x88(r30) +/* 80351568 0034E4C8 81 1E 00 8C */ lwz r8, 0x8c(r30) +/* 8035156C 0034E4CC 81 3E 00 90 */ lwz r9, 0x90(r30) +/* 80351570 0034E4D0 81 5E 00 94 */ lwz r10, 0x94(r30) +/* 80351574 0034E4D4 4B FC 47 6D */ bl __ct__Q210IAllocator8SMetricsFUiUiUiUiUiUiUiUiUiUiUiUiUiUiUiUiUiUiUiUiUiUi +/* 80351578 0034E4D8 80 1E 00 80 */ lwz r0, 0x80(r30) +/* 8035157C 0034E4DC 7F A3 EB 78 */ mr r3, r29 +/* 80351580 0034E4E0 38 81 00 48 */ addi r4, r1, 0x48 +/* 80351584 0034E4E4 90 1E 00 B0 */ stw r0, 0xb0(r30) +/* 80351588 0034E4E8 4B D7 20 C5 */ bl __ct__Q210IAllocator8SMetricsFRCQ210IAllocator8SMetrics +/* 8035158C 0034E4EC BB 41 00 A8 */ lmw r26, 0xa8(r1) +/* 80351590 0034E4F0 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 80351594 0034E4F4 7C 08 03 A6 */ mtlr r0 +/* 80351598 0034E4F8 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 8035159C 0034E4FC 4E 80 00 20 */ blr + +.global GetAllocInfo__14CGameAllocatorCFPCv +GetAllocInfo__14CGameAllocatorCFPCv: +/* 803515A0 0034E500 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803515A4 0034E504 7C 08 02 A6 */ mflr r0 +/* 803515A8 0034E508 90 01 00 14 */ stw r0, 0x14(r1) +/* 803515AC 0034E50C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803515B0 0034E510 7C 7F 1B 78 */ mr r31, r3 +/* 803515B4 0034E514 7C 83 23 78 */ mr r3, r4 +/* 803515B8 0034E518 7C A4 2B 78 */ mr r4, r5 +/* 803515BC 0034E51C 48 00 10 A5 */ bl GetMemInfoFromBlockPtr__14CGameAllocatorCFPCv +/* 803515C0 0034E520 80 83 00 10 */ lwz r4, 0x10(r3) +/* 803515C4 0034E524 38 00 00 00 */ li r0, 0 +/* 803515C8 0034E528 80 E3 00 0C */ lwz r7, 0xc(r3) +/* 803515CC 0034E52C 80 C3 00 08 */ lwz r6, 8(r3) +/* 803515D0 0034E530 54 84 07 FE */ clrlwi r4, r4, 0x1f +/* 803515D4 0034E534 80 A3 00 04 */ lwz r5, 4(r3) +/* 803515D8 0034E538 90 7F 00 00 */ stw r3, 0(r31) +/* 803515DC 0034E53C 90 BF 00 04 */ stw r5, 4(r31) +/* 803515E0 0034E540 98 9F 00 08 */ stb r4, 8(r31) +/* 803515E4 0034E544 98 1F 00 09 */ stb r0, 9(r31) +/* 803515E8 0034E548 90 DF 00 0C */ stw r6, 0xc(r31) +/* 803515EC 0034E54C 90 FF 00 10 */ stw r7, 0x10(r31) +/* 803515F0 0034E550 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803515F4 0034E554 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803515F8 0034E558 7C 08 03 A6 */ mtlr r0 +/* 803515FC 0034E55C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80351600 0034E560 4E 80 00 20 */ blr + +.global SetOutOfMemoryCallback__14CGameAllocatorFPFPCvUi_CbPCv +SetOutOfMemoryCallback__14CGameAllocatorFPFPCvUi_CbPCv: +/* 80351604 0034E564 90 83 00 58 */ stw r4, 0x58(r3) +/* 80351608 0034E568 90 A3 00 5C */ stw r5, 0x5c(r3) +/* 8035160C 0034E56C 4E 80 00 20 */ blr + +.global ReleaseAllSecondary__14CGameAllocatorFv +ReleaseAllSecondary__14CGameAllocatorFv: +/* 80351610 0034E570 4E 80 00 20 */ blr + +.global FreeSecondary__14CGameAllocatorFPCv +FreeSecondary__14CGameAllocatorFPCv: +/* 80351614 0034E574 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80351618 0034E578 7C 08 02 A6 */ mflr r0 +/* 8035161C 0034E57C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80351620 0034E580 81 83 00 00 */ lwz r12, 0(r3) +/* 80351624 0034E584 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 80351628 0034E588 7D 89 03 A6 */ mtctr r12 +/* 8035162C 0034E58C 4E 80 04 21 */ bctrl +/* 80351630 0034E590 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80351634 0034E594 7C 08 03 A6 */ mtlr r0 +/* 80351638 0034E598 38 21 00 10 */ addi r1, r1, 0x10 +/* 8035163C 0034E59C 4E 80 00 20 */ blr + +.global AllocSecondary__14CGameAllocatorFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +AllocSecondary__14CGameAllocatorFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack: +/* 80351640 0034E5A0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80351644 0034E5A4 7C 08 02 A6 */ mflr r0 +/* 80351648 0034E5A8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8035164C 0034E5AC 81 83 00 00 */ lwz r12, 0(r3) +/* 80351650 0034E5B0 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 80351654 0034E5B4 7D 89 03 A6 */ mtctr r12 +/* 80351658 0034E5B8 4E 80 04 21 */ bctrl +/* 8035165C 0034E5BC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80351660 0034E5C0 7C 08 03 A6 */ mtlr r0 +/* 80351664 0034E5C4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80351668 0034E5C8 4E 80 00 20 */ blr + +.global ReleaseAll__14CGameAllocatorFv +ReleaseAll__14CGameAllocatorFv: +/* 8035166C 0034E5CC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80351670 0034E5D0 7C 08 02 A6 */ mflr r0 +/* 80351674 0034E5D4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80351678 0034E5D8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8035167C 0034E5DC 93 C1 00 08 */ stw r30, 8(r1) +/* 80351680 0034E5E0 7C 7E 1B 78 */ mr r30, r3 +/* 80351684 0034E5E4 80 63 00 74 */ lwz r3, 0x74(r3) +/* 80351688 0034E5E8 28 03 00 00 */ cmplwi r3, 0 +/* 8035168C 0034E5EC 41 82 00 1C */ beq lbl_803516A8 +/* 80351690 0034E5F0 4B FF F6 61 */ bl ClearPuddles__16CMediumAllocPoolFv +/* 80351694 0034E5F4 80 9E 00 74 */ lwz r4, 0x74(r30) +/* 80351698 0034E5F8 7F C3 F3 78 */ mr r3, r30 +/* 8035169C 0034E5FC 48 00 00 65 */ bl FreeNormalAllocation__14CGameAllocatorFPCv +/* 803516A0 0034E600 38 00 00 00 */ li r0, 0 +/* 803516A4 0034E604 90 1E 00 74 */ stw r0, 0x74(r30) +lbl_803516A8: +/* 803516A8 0034E608 80 9E 00 0C */ lwz r4, 0xc(r30) +/* 803516AC 0034E60C 48 00 00 28 */ b lbl_803516D4 +lbl_803516B0: +/* 803516B0 0034E610 80 04 00 10 */ lwz r0, 0x10(r4) +/* 803516B4 0034E614 80 64 00 14 */ lwz r3, 0x14(r4) +/* 803516B8 0034E618 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 803516BC 0034E61C 54 7F 00 34 */ rlwinm r31, r3, 0, 0, 0x1a +/* 803516C0 0034E620 41 82 00 10 */ beq lbl_803516D0 +/* 803516C4 0034E624 7F C3 F3 78 */ mr r3, r30 +/* 803516C8 0034E628 38 84 00 20 */ addi r4, r4, 0x20 +/* 803516CC 0034E62C 48 00 00 35 */ bl FreeNormalAllocation__14CGameAllocatorFPCv +lbl_803516D0: +/* 803516D0 0034E630 7F E4 FB 78 */ mr r4, r31 +lbl_803516D4: +/* 803516D4 0034E634 28 04 00 00 */ cmplwi r4, 0 +/* 803516D8 0034E638 40 82 FF D8 */ bne lbl_803516B0 +/* 803516DC 0034E63C 38 00 00 00 */ li r0, 0 +/* 803516E0 0034E640 90 1E 00 0C */ stw r0, 0xc(r30) +/* 803516E4 0034E644 90 1E 00 10 */ stw r0, 0x10(r30) +/* 803516E8 0034E648 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803516EC 0034E64C 83 C1 00 08 */ lwz r30, 8(r1) +/* 803516F0 0034E650 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803516F4 0034E654 7C 08 03 A6 */ mtlr r0 +/* 803516F8 0034E658 38 21 00 10 */ addi r1, r1, 0x10 +/* 803516FC 0034E65C 4E 80 00 20 */ blr + +.global FreeNormalAllocation__14CGameAllocatorFPCv +FreeNormalAllocation__14CGameAllocatorFPCv: +/* 80351700 0034E660 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80351704 0034E664 7C 08 02 A6 */ mflr r0 +/* 80351708 0034E668 90 01 00 34 */ stw r0, 0x34(r1) +/* 8035170C 0034E66C BF 21 00 14 */ stmw r25, 0x14(r1) +/* 80351710 0034E670 7C 79 1B 78 */ mr r25, r3 +/* 80351714 0034E674 48 00 0F 4D */ bl GetMemInfoFromBlockPtr__14CGameAllocatorCFPCv +/* 80351718 0034E678 80 03 00 14 */ lwz r0, 0x14(r3) +/* 8035171C 0034E67C 3B 80 00 00 */ li r28, 0 +/* 80351720 0034E680 83 63 00 04 */ lwz r27, 4(r3) +/* 80351724 0034E684 7C 7D 1B 78 */ mr r29, r3 +/* 80351728 0034E688 54 00 00 35 */ rlwinm. r0, r0, 0, 0, 0x1a +/* 8035172C 0034E68C 3B 40 00 00 */ li r26, 0 +/* 80351730 0034E690 41 82 00 0C */ beq lbl_8035173C +/* 80351734 0034E694 7C 7D 00 50 */ subf r3, r29, r0 +/* 80351738 0034E698 3B 43 FF E0 */ addi r26, r3, -32 +lbl_8035173C: +/* 8035173C 0034E69C 93 5D 00 04 */ stw r26, 4(r29) +/* 80351740 0034E6A0 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 80351744 0034E6A4 80 1D 00 14 */ lwz r0, 0x14(r29) +/* 80351748 0034E6A8 54 7F 00 35 */ rlwinm. r31, r3, 0, 0, 0x1a +/* 8035174C 0034E6AC 54 1E 00 34 */ rlwinm r30, r0, 0, 0, 0x1a +/* 80351750 0034E6B0 41 82 00 68 */ beq lbl_803517B8 +/* 80351754 0034E6B4 80 1F 00 10 */ lwz r0, 0x10(r31) +/* 80351758 0034E6B8 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 8035175C 0034E6BC 40 82 00 5C */ bne lbl_803517B8 +/* 80351760 0034E6C0 7F 23 CB 78 */ mr r3, r25 +/* 80351764 0034E6C4 7F E4 FB 78 */ mr r4, r31 +/* 80351768 0034E6C8 4B FF FA 91 */ bl RemoveFreeEntryFromFreeList__14CGameAllocatorFPQ214CGameAllocator12SGameMemInfo +/* 8035176C 0034E6CC 80 7F 00 14 */ lwz r3, 0x14(r31) +/* 80351770 0034E6D0 28 1E 00 00 */ cmplwi r30, 0 +/* 80351774 0034E6D4 93 DF 00 14 */ stw r30, 0x14(r31) +/* 80351778 0034E6D8 80 1F 00 14 */ lwz r0, 0x14(r31) +/* 8035177C 0034E6DC 50 60 06 FE */ rlwimi r0, r3, 0, 0x1b, 0x1f +/* 80351780 0034E6E0 90 1F 00 14 */ stw r0, 0x14(r31) +/* 80351784 0034E6E4 41 82 00 18 */ beq lbl_8035179C +/* 80351788 0034E6E8 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 8035178C 0034E6EC 93 FE 00 10 */ stw r31, 0x10(r30) +/* 80351790 0034E6F0 80 1E 00 10 */ lwz r0, 0x10(r30) +/* 80351794 0034E6F4 50 60 06 FE */ rlwimi r0, r3, 0, 0x1b, 0x1f +/* 80351798 0034E6F8 90 1E 00 10 */ stw r0, 0x10(r30) +lbl_8035179C: +/* 8035179C 0034E6FC 80 1D 00 04 */ lwz r0, 4(r29) +/* 803517A0 0034E700 7F FD FB 78 */ mr r29, r31 +/* 803517A4 0034E704 80 7F 00 04 */ lwz r3, 4(r31) +/* 803517A8 0034E708 3B 80 00 20 */ li r28, 0x20 +/* 803517AC 0034E70C 7C 60 1A 14 */ add r3, r0, r3 +/* 803517B0 0034E710 38 03 00 20 */ addi r0, r3, 0x20 +/* 803517B4 0034E714 90 1F 00 04 */ stw r0, 4(r31) +lbl_803517B8: +/* 803517B8 0034E718 28 1E 00 00 */ cmplwi r30, 0 +/* 803517BC 0034E71C 41 82 00 8C */ beq lbl_80351848 +/* 803517C0 0034E720 80 1E 00 10 */ lwz r0, 0x10(r30) +/* 803517C4 0034E724 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 803517C8 0034E728 40 82 00 80 */ bne lbl_80351848 +/* 803517CC 0034E72C 80 1E 00 14 */ lwz r0, 0x14(r30) +/* 803517D0 0034E730 54 00 00 35 */ rlwinm. r0, r0, 0, 0, 0x1a +/* 803517D4 0034E734 41 82 00 74 */ beq lbl_80351848 +/* 803517D8 0034E738 7F 23 CB 78 */ mr r3, r25 +/* 803517DC 0034E73C 7F C4 F3 78 */ mr r4, r30 +/* 803517E0 0034E740 4B FF FA 19 */ bl RemoveFreeEntryFromFreeList__14CGameAllocatorFPQ214CGameAllocator12SGameMemInfo +/* 803517E4 0034E744 80 1E 00 14 */ lwz r0, 0x14(r30) +/* 803517E8 0034E748 80 7D 00 14 */ lwz r3, 0x14(r29) +/* 803517EC 0034E74C 54 00 00 34 */ rlwinm r0, r0, 0, 0, 0x1a +/* 803517F0 0034E750 90 1D 00 14 */ stw r0, 0x14(r29) +/* 803517F4 0034E754 80 1D 00 14 */ lwz r0, 0x14(r29) +/* 803517F8 0034E758 50 60 06 FE */ rlwimi r0, r3, 0, 0x1b, 0x1f +/* 803517FC 0034E75C 90 1D 00 14 */ stw r0, 0x14(r29) +/* 80351800 0034E760 80 1D 00 14 */ lwz r0, 0x14(r29) +/* 80351804 0034E764 54 04 00 35 */ rlwinm. r4, r0, 0, 0, 0x1a +/* 80351808 0034E768 41 82 00 18 */ beq lbl_80351820 +/* 8035180C 0034E76C 80 64 00 10 */ lwz r3, 0x10(r4) +/* 80351810 0034E770 93 A4 00 10 */ stw r29, 0x10(r4) +/* 80351814 0034E774 80 04 00 10 */ lwz r0, 0x10(r4) +/* 80351818 0034E778 50 60 06 FE */ rlwimi r0, r3, 0, 0x1b, 0x1f +/* 8035181C 0034E77C 90 04 00 10 */ stw r0, 0x10(r4) +lbl_80351820: +/* 80351820 0034E780 80 7D 00 04 */ lwz r3, 4(r29) +/* 80351824 0034E784 3B 9C 00 20 */ addi r28, r28, 0x20 +/* 80351828 0034E788 80 1E 00 04 */ lwz r0, 4(r30) +/* 8035182C 0034E78C 7C 60 1A 14 */ add r3, r0, r3 +/* 80351830 0034E790 38 03 00 20 */ addi r0, r3, 0x20 +/* 80351834 0034E794 90 1D 00 04 */ stw r0, 4(r29) +/* 80351838 0034E798 80 1D 00 10 */ lwz r0, 0x10(r29) +/* 8035183C 0034E79C 54 00 00 3C */ rlwinm r0, r0, 0, 0, 0x1e +/* 80351840 0034E7A0 90 1D 00 10 */ stw r0, 0x10(r29) +/* 80351844 0034E7A4 48 00 00 10 */ b lbl_80351854 +lbl_80351848: +/* 80351848 0034E7A8 80 1D 00 10 */ lwz r0, 0x10(r29) +/* 8035184C 0034E7AC 54 00 00 3C */ rlwinm r0, r0, 0, 0, 0x1e +/* 80351850 0034E7B0 90 1D 00 10 */ stw r0, 0x10(r29) +lbl_80351854: +/* 80351854 0034E7B4 7F 23 CB 78 */ mr r3, r25 +/* 80351858 0034E7B8 7F A4 EB 78 */ mr r4, r29 +/* 8035185C 0034E7BC 4B FF FA 41 */ bl AddFreeEntryToFreeList__14CGameAllocatorFPQ214CGameAllocator12SGameMemInfo +/* 80351860 0034E7C0 80 79 00 84 */ lwz r3, 0x84(r25) +/* 80351864 0034E7C4 7C 9A E2 14 */ add r4, r26, r28 +/* 80351868 0034E7C8 28 1B 00 38 */ cmplwi r27, 0x38 +/* 8035186C 0034E7CC 38 03 FF FF */ addi r0, r3, -1 +/* 80351870 0034E7D0 90 19 00 84 */ stw r0, 0x84(r25) +/* 80351874 0034E7D4 80 19 00 88 */ lwz r0, 0x88(r25) +/* 80351878 0034E7D8 7C 1B 00 50 */ subf r0, r27, r0 +/* 8035187C 0034E7DC 90 19 00 88 */ stw r0, 0x88(r25) +/* 80351880 0034E7E0 80 19 00 8C */ lwz r0, 0x8c(r25) +/* 80351884 0034E7E4 7C 04 00 50 */ subf r0, r4, r0 +/* 80351888 0034E7E8 90 19 00 8C */ stw r0, 0x8c(r25) +/* 8035188C 0034E7EC 80 19 00 90 */ lwz r0, 0x90(r25) +/* 80351890 0034E7F0 7C 00 22 14 */ add r0, r0, r4 +/* 80351894 0034E7F4 90 19 00 90 */ stw r0, 0x90(r25) +/* 80351898 0034E7F8 41 81 00 10 */ bgt lbl_803518A8 +/* 8035189C 0034E7FC 80 79 00 A8 */ lwz r3, 0xa8(r25) +/* 803518A0 0034E800 38 03 FF FF */ addi r0, r3, -1 +/* 803518A4 0034E804 90 19 00 A8 */ stw r0, 0xa8(r25) +lbl_803518A8: +/* 803518A8 0034E808 BB 21 00 14 */ lmw r25, 0x14(r1) +/* 803518AC 0034E80C 38 60 00 01 */ li r3, 1 +/* 803518B0 0034E810 80 01 00 34 */ lwz r0, 0x34(r1) +/* 803518B4 0034E814 7C 08 03 A6 */ mtlr r0 +/* 803518B8 0034E818 38 21 00 30 */ addi r1, r1, 0x30 +/* 803518BC 0034E81C 4E 80 00 20 */ blr + +.global Free__14CGameAllocatorFPCv +Free__14CGameAllocatorFPCv: +/* 803518C0 0034E820 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803518C4 0034E824 7C 08 02 A6 */ mflr r0 +/* 803518C8 0034E828 90 01 00 14 */ stw r0, 0x14(r1) +/* 803518CC 0034E82C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803518D0 0034E830 7C 9F 23 79 */ or. r31, r4, r4 +/* 803518D4 0034E834 93 C1 00 08 */ stw r30, 8(r1) +/* 803518D8 0034E838 7C 7E 1B 78 */ mr r30, r3 +/* 803518DC 0034E83C 40 82 00 0C */ bne lbl_803518E8 +/* 803518E0 0034E840 38 60 00 01 */ li r3, 1 +/* 803518E4 0034E844 48 00 00 6C */ b lbl_80351950 +lbl_803518E8: +/* 803518E8 0034E848 80 7E 00 60 */ lwz r3, 0x60(r30) +/* 803518EC 0034E84C 28 03 00 00 */ cmplwi r3, 0 +/* 803518F0 0034E850 41 82 00 28 */ beq lbl_80351918 +/* 803518F4 0034E854 80 A3 00 00 */ lwz r5, 0(r3) +/* 803518F8 0034E858 80 03 00 08 */ lwz r0, 8(r3) +/* 803518FC 0034E85C 7C A5 F8 50 */ subf r5, r5, r31 +/* 80351900 0034E860 7C A5 16 70 */ srawi r5, r5, 2 +/* 80351904 0034E864 7C A5 01 94 */ addze r5, r5 +/* 80351908 0034E868 7C 05 00 40 */ cmplw r5, r0 +/* 8035190C 0034E86C 40 80 00 0C */ bge lbl_80351918 +/* 80351910 0034E870 4B FF F5 15 */ bl Free__15CSmallAllocPoolFPCv +/* 80351914 0034E874 48 00 00 3C */ b lbl_80351950 +lbl_80351918: +/* 80351918 0034E878 80 7E 00 74 */ lwz r3, 0x74(r30) +/* 8035191C 0034E87C 28 03 00 00 */ cmplwi r3, 0 +/* 80351920 0034E880 41 82 00 24 */ beq lbl_80351944 +/* 80351924 0034E884 7F E4 FB 78 */ mr r4, r31 +/* 80351928 0034E888 4B FF F2 65 */ bl Free__16CMediumAllocPoolFPCv +/* 8035192C 0034E88C 2C 03 00 01 */ cmpwi r3, 1 +/* 80351930 0034E890 41 82 00 14 */ beq lbl_80351944 +/* 80351934 0034E894 7C 03 00 D0 */ neg r0, r3 +/* 80351938 0034E898 7C 00 18 78 */ andc r0, r0, r3 +/* 8035193C 0034E89C 54 03 0F FE */ srwi r3, r0, 0x1f +/* 80351940 0034E8A0 48 00 00 10 */ b lbl_80351950 +lbl_80351944: +/* 80351944 0034E8A4 7F C3 F3 78 */ mr r3, r30 +/* 80351948 0034E8A8 7F E4 FB 78 */ mr r4, r31 +/* 8035194C 0034E8AC 4B FF FD B5 */ bl FreeNormalAllocation__14CGameAllocatorFPCv +lbl_80351950: +/* 80351950 0034E8B0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80351954 0034E8B4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80351958 0034E8B8 83 C1 00 08 */ lwz r30, 8(r1) +/* 8035195C 0034E8BC 7C 08 03 A6 */ mtlr r0 +/* 80351960 0034E8C0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80351964 0034E8C4 4E 80 00 20 */ blr + +.global UpdateAllocDebugStats__14CGameAllocatorFUiUiUi +UpdateAllocDebugStats__14CGameAllocatorFUiUiUi: +/* 80351968 0034E8C8 80 E3 00 84 */ lwz r7, 0x84(r3) +/* 8035196C 0034E8CC 7C C5 32 14 */ add r6, r5, r6 +/* 80351970 0034E8D0 38 07 00 01 */ addi r0, r7, 1 +/* 80351974 0034E8D4 90 03 00 84 */ stw r0, 0x84(r3) +/* 80351978 0034E8D8 80 A3 00 80 */ lwz r5, 0x80(r3) +/* 8035197C 0034E8DC 38 05 00 01 */ addi r0, r5, 1 +/* 80351980 0034E8E0 90 03 00 80 */ stw r0, 0x80(r3) +/* 80351984 0034E8E4 80 03 00 88 */ lwz r0, 0x88(r3) +/* 80351988 0034E8E8 7C 00 22 14 */ add r0, r0, r4 +/* 8035198C 0034E8EC 90 03 00 88 */ stw r0, 0x88(r3) +/* 80351990 0034E8F0 80 03 00 8C */ lwz r0, 0x8c(r3) +/* 80351994 0034E8F4 7C 00 32 14 */ add r0, r0, r6 +/* 80351998 0034E8F8 90 03 00 8C */ stw r0, 0x8c(r3) +/* 8035199C 0034E8FC 80 03 00 90 */ lwz r0, 0x90(r3) +/* 803519A0 0034E900 7C 06 00 50 */ subf r0, r6, r0 +/* 803519A4 0034E904 90 03 00 90 */ stw r0, 0x90(r3) +/* 803519A8 0034E908 80 A3 00 84 */ lwz r5, 0x84(r3) +/* 803519AC 0034E90C 80 03 00 94 */ lwz r0, 0x94(r3) +/* 803519B0 0034E910 7C 05 00 40 */ cmplw r5, r0 +/* 803519B4 0034E914 40 81 00 08 */ ble lbl_803519BC +/* 803519B8 0034E918 90 A3 00 94 */ stw r5, 0x94(r3) +lbl_803519BC: +/* 803519BC 0034E91C 80 A3 00 8C */ lwz r5, 0x8c(r3) +/* 803519C0 0034E920 80 03 00 98 */ lwz r0, 0x98(r3) +/* 803519C4 0034E924 7C 05 00 40 */ cmplw r5, r0 +/* 803519C8 0034E928 40 81 00 08 */ ble lbl_803519D0 +/* 803519CC 0034E92C 90 A3 00 98 */ stw r5, 0x98(r3) +lbl_803519D0: +/* 803519D0 0034E930 80 03 00 9C */ lwz r0, 0x9c(r3) +/* 803519D4 0034E934 7C 04 00 40 */ cmplw r4, r0 +/* 803519D8 0034E938 40 80 00 08 */ bge lbl_803519E0 +/* 803519DC 0034E93C 90 83 00 9C */ stw r4, 0x9c(r3) +lbl_803519E0: +/* 803519E0 0034E940 80 03 00 A0 */ lwz r0, 0xa0(r3) +/* 803519E4 0034E944 7C 04 00 40 */ cmplw r4, r0 +/* 803519E8 0034E948 40 81 00 08 */ ble lbl_803519F0 +/* 803519EC 0034E94C 90 83 00 A0 */ stw r4, 0xa0(r3) +lbl_803519F0: +/* 803519F0 0034E950 80 C3 00 80 */ lwz r6, 0x80(r3) +/* 803519F4 0034E954 28 04 00 38 */ cmplwi r4, 0x38 +/* 803519F8 0034E958 80 A3 00 A4 */ lwz r5, 0xa4(r3) +/* 803519FC 0034E95C 38 06 FF FF */ addi r0, r6, -1 +/* 80351A00 0034E960 7C 05 01 D6 */ mullw r0, r5, r0 +/* 80351A04 0034E964 7C 04 02 14 */ add r0, r4, r0 +/* 80351A08 0034E968 7C 00 33 96 */ divwu r0, r0, r6 +/* 80351A0C 0034E96C 90 03 00 A4 */ stw r0, 0xa4(r3) +/* 80351A10 0034E970 4D 81 00 20 */ bgtlr +/* 80351A14 0034E974 80 83 00 A8 */ lwz r4, 0xa8(r3) +/* 80351A18 0034E978 38 04 00 01 */ addi r0, r4, 1 +/* 80351A1C 0034E97C 90 03 00 A8 */ stw r0, 0xa8(r3) +/* 80351A20 0034E980 4E 80 00 20 */ blr + +.global FixupAllocPtrs__14CGameAllocatorFPQ214CGameAllocator12SGameMemInfoUiUiQ210IAllocator5EHintRC10CCallStack +FixupAllocPtrs__14CGameAllocatorFPQ214CGameAllocator12SGameMemInfoUiUiQ210IAllocator5EHintRC10CCallStack: +/* 80351A24 0034E984 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 80351A28 0034E988 7C 08 02 A6 */ mflr r0 +/* 80351A2C 0034E98C 90 01 00 74 */ stw r0, 0x74(r1) +/* 80351A30 0034E990 38 06 00 20 */ addi r0, r6, 0x20 +/* 80351A34 0034E994 BF 01 00 50 */ stmw r24, 0x50(r1) +/* 80351A38 0034E998 7C 98 23 78 */ mr r24, r4 +/* 80351A3C 0034E99C 7C B9 2B 78 */ mr r25, r5 +/* 80351A40 0034E9A0 7D 1A 43 78 */ mr r26, r8 +/* 80351A44 0034E9A4 54 FF 07 FE */ clrlwi r31, r7, 0x1f +/* 80351A48 0034E9A8 3B A0 00 00 */ li r29, 0 +/* 80351A4C 0034E9AC 80 84 00 04 */ lwz r4, 4(r4) +/* 80351A50 0034E9B0 7C 04 00 40 */ cmplw r4, r0 +/* 80351A54 0034E9B4 40 82 00 0C */ bne lbl_80351A60 +/* 80351A58 0034E9B8 3B A0 00 20 */ li r29, 0x20 +/* 80351A5C 0034E9BC 38 C6 00 20 */ addi r6, r6, 0x20 +lbl_80351A60: +/* 80351A60 0034E9C0 7C 04 30 40 */ cmplw r4, r6 +/* 80351A64 0034E9C4 7F 1C C3 78 */ mr r28, r24 +/* 80351A68 0034E9C8 41 82 01 64 */ beq lbl_80351BCC +/* 80351A6C 0034E9CC 80 18 00 14 */ lwz r0, 0x14(r24) +/* 80351A70 0034E9D0 28 1F 00 00 */ cmplwi r31, 0 +/* 80351A74 0034E9D4 54 1E 00 34 */ rlwinm r30, r0, 0, 0, 0x1a +/* 80351A78 0034E9D8 41 82 00 8C */ beq lbl_80351B04 +/* 80351A7C 0034E9DC 3C 80 EF F0 */ lis r4, 0xEFEFEFEF@ha +/* 80351A80 0034E9E0 7C A6 F0 50 */ subf r5, r6, r30 +/* 80351A84 0034E9E4 39 44 EF EF */ addi r10, r4, 0xEFEFEFEF@l +/* 80351A88 0034E9E8 39 00 00 00 */ li r8, 0 +/* 80351A8C 0034E9EC 91 45 FF E0 */ stw r10, -0x20(r5) +/* 80351A90 0034E9F0 3C 80 80 3E */ lis r4, lbl_803D8248@ha +/* 80351A94 0034E9F4 38 84 82 48 */ addi r4, r4, lbl_803D8248@l +/* 80351A98 0034E9F8 3B 65 FF E0 */ addi r27, r5, -32 +/* 80351A9C 0034E9FC 93 25 FF E4 */ stw r25, -0x1c(r5) +/* 80351AA0 0034EA00 39 24 00 20 */ addi r9, r4, 0x20 +/* 80351AA4 0034EA04 3C 80 EA EB */ lis r4, 0xEAEAEAEA@ha +/* 80351AA8 0034EA08 38 A6 00 20 */ addi r5, r6, 0x20 +/* 80351AAC 0034EA0C 91 3B 00 08 */ stw r9, 8(r27) +/* 80351AB0 0034EA10 38 E4 EA EA */ addi r7, r4, 0xEAEAEAEA@l +/* 80351AB4 0034EA14 7F 04 C3 78 */ mr r4, r24 +/* 80351AB8 0034EA18 91 3B 00 0C */ stw r9, 0xc(r27) +/* 80351ABC 0034EA1C 93 1B 00 10 */ stw r24, 0x10(r27) +/* 80351AC0 0034EA20 93 DB 00 14 */ stw r30, 0x14(r27) +/* 80351AC4 0034EA24 91 1B 00 18 */ stw r8, 0x18(r27) +/* 80351AC8 0034EA28 90 FB 00 1C */ stw r7, 0x1c(r27) +/* 80351ACC 0034EA2C 80 18 00 04 */ lwz r0, 4(r24) +/* 80351AD0 0034EA30 91 41 00 28 */ stw r10, 0x28(r1) +/* 80351AD4 0034EA34 7C 05 00 50 */ subf r0, r5, r0 +/* 80351AD8 0034EA38 93 21 00 2C */ stw r25, 0x2c(r1) +/* 80351ADC 0034EA3C 91 21 00 30 */ stw r9, 0x30(r1) +/* 80351AE0 0034EA40 91 21 00 34 */ stw r9, 0x34(r1) +/* 80351AE4 0034EA44 93 01 00 38 */ stw r24, 0x38(r1) +/* 80351AE8 0034EA48 93 C1 00 3C */ stw r30, 0x3c(r1) +/* 80351AEC 0034EA4C 91 01 00 40 */ stw r8, 0x40(r1) +/* 80351AF0 0034EA50 90 E1 00 44 */ stw r7, 0x44(r1) +/* 80351AF4 0034EA54 90 18 00 04 */ stw r0, 4(r24) +/* 80351AF8 0034EA58 4B FF F7 A5 */ bl AddFreeEntryToFreeList__14CGameAllocatorFPQ214CGameAllocator12SGameMemInfo +/* 80351AFC 0034EA5C 7F 7C DB 78 */ mr r28, r27 +/* 80351B00 0034EA60 48 00 00 84 */ b lbl_80351B84 +lbl_80351B04: +/* 80351B04 0034EA64 3B 66 00 20 */ addi r27, r6, 0x20 +/* 80351B08 0034EA68 81 18 00 18 */ lwz r8, 0x18(r24) +/* 80351B0C 0034EA6C 3C A0 EF F0 */ lis r5, 0xEFEFEFEF@ha +/* 80351B10 0034EA70 80 18 00 04 */ lwz r0, 4(r24) +/* 80351B14 0034EA74 38 E5 EF EF */ addi r7, r5, 0xEFEFEFEF@l +/* 80351B18 0034EA78 7F 78 DA 14 */ add r27, r24, r27 +/* 80351B1C 0034EA7C 7C A6 00 50 */ subf r5, r6, r0 +/* 80351B20 0034EA80 3C 80 80 3E */ lis r4, lbl_803D8248@ha +/* 80351B24 0034EA84 38 C5 FF E0 */ addi r6, r5, -32 +/* 80351B28 0034EA88 90 FB 00 00 */ stw r7, 0(r27) +/* 80351B2C 0034EA8C 38 84 82 48 */ addi r4, r4, lbl_803D8248@l +/* 80351B30 0034EA90 55 08 00 34 */ rlwinm r8, r8, 0, 0, 0x1a +/* 80351B34 0034EA94 38 A4 00 20 */ addi r5, r4, 0x20 +/* 80351B38 0034EA98 90 DB 00 04 */ stw r6, 4(r27) +/* 80351B3C 0034EA9C 3C 80 EA EB */ lis r4, 0xEAEAEAEA@ha +/* 80351B40 0034EAA0 90 BB 00 08 */ stw r5, 8(r27) +/* 80351B44 0034EAA4 38 04 EA EA */ addi r0, r4, 0xEAEAEAEA@l +/* 80351B48 0034EAA8 7F 64 DB 78 */ mr r4, r27 +/* 80351B4C 0034EAAC 90 BB 00 0C */ stw r5, 0xc(r27) +/* 80351B50 0034EAB0 93 1B 00 10 */ stw r24, 0x10(r27) +/* 80351B54 0034EAB4 93 DB 00 14 */ stw r30, 0x14(r27) +/* 80351B58 0034EAB8 91 1B 00 18 */ stw r8, 0x18(r27) +/* 80351B5C 0034EABC 90 E1 00 08 */ stw r7, 8(r1) +/* 80351B60 0034EAC0 90 C1 00 0C */ stw r6, 0xc(r1) +/* 80351B64 0034EAC4 90 A1 00 10 */ stw r5, 0x10(r1) +/* 80351B68 0034EAC8 90 A1 00 14 */ stw r5, 0x14(r1) +/* 80351B6C 0034EACC 93 01 00 18 */ stw r24, 0x18(r1) +/* 80351B70 0034EAD0 93 C1 00 1C */ stw r30, 0x1c(r1) +/* 80351B74 0034EAD4 91 01 00 20 */ stw r8, 0x20(r1) +/* 80351B78 0034EAD8 90 01 00 24 */ stw r0, 0x24(r1) +/* 80351B7C 0034EADC 90 1B 00 1C */ stw r0, 0x1c(r27) +/* 80351B80 0034EAE0 4B FF F7 1D */ bl AddFreeEntryToFreeList__14CGameAllocatorFPQ214CGameAllocator12SGameMemInfo +lbl_80351B84: +/* 80351B84 0034EAE4 7F 43 D3 78 */ mr r3, r26 +/* 80351B88 0034EAE8 4B F8 48 45 */ bl GetFileAndLineText__10CCallStackCFv +/* 80351B8C 0034EAEC 90 7C 00 08 */ stw r3, 8(r28) +/* 80351B90 0034EAF0 7F 43 D3 78 */ mr r3, r26 +/* 80351B94 0034EAF4 4B F8 48 31 */ bl GetTypeText__10CCallStackCFv +/* 80351B98 0034EAF8 90 7C 00 0C */ stw r3, 0xc(r28) +/* 80351B9C 0034EAFC 3B A0 00 20 */ li r29, 0x20 +/* 80351BA0 0034EB00 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 80351BA4 0034EB04 93 7E 00 10 */ stw r27, 0x10(r30) +/* 80351BA8 0034EB08 80 1E 00 10 */ lwz r0, 0x10(r30) +/* 80351BAC 0034EB0C 50 60 06 FE */ rlwimi r0, r3, 0, 0x1b, 0x1f +/* 80351BB0 0034EB10 90 1E 00 10 */ stw r0, 0x10(r30) +/* 80351BB4 0034EB14 80 78 00 14 */ lwz r3, 0x14(r24) +/* 80351BB8 0034EB18 93 78 00 14 */ stw r27, 0x14(r24) +/* 80351BBC 0034EB1C 80 18 00 14 */ lwz r0, 0x14(r24) +/* 80351BC0 0034EB20 50 60 06 FE */ rlwimi r0, r3, 0, 0x1b, 0x1f +/* 80351BC4 0034EB24 90 18 00 14 */ stw r0, 0x14(r24) +/* 80351BC8 0034EB28 48 00 00 1C */ b lbl_80351BE4 +lbl_80351BCC: +/* 80351BCC 0034EB2C 7F 43 D3 78 */ mr r3, r26 +/* 80351BD0 0034EB30 4B F8 47 FD */ bl GetFileAndLineText__10CCallStackCFv +/* 80351BD4 0034EB34 90 78 00 08 */ stw r3, 8(r24) +/* 80351BD8 0034EB38 7F 43 D3 78 */ mr r3, r26 +/* 80351BDC 0034EB3C 4B F8 47 E9 */ bl GetTypeText__10CCallStackCFv +/* 80351BE0 0034EB40 90 78 00 0C */ stw r3, 0xc(r24) +lbl_80351BE4: +/* 80351BE4 0034EB44 80 7C 00 10 */ lwz r3, 0x10(r28) +/* 80351BE8 0034EB48 28 1F 00 00 */ cmplwi r31, 0 +/* 80351BEC 0034EB4C 38 80 00 00 */ li r4, 0 +/* 80351BF0 0034EB50 54 60 06 FE */ clrlwi r0, r3, 0x1b +/* 80351BF4 0034EB54 54 65 00 34 */ rlwinm r5, r3, 0, 0, 0x1a +/* 80351BF8 0034EB58 41 82 00 08 */ beq lbl_80351C00 +/* 80351BFC 0034EB5C 38 80 00 02 */ li r4, 2 +lbl_80351C00: +/* 80351C00 0034EB60 54 00 07 FA */ rlwinm r0, r0, 0, 0x1f, 0x1d +/* 80351C04 0034EB64 7F A3 EB 78 */ mr r3, r29 +/* 80351C08 0034EB68 7C 80 03 78 */ or r0, r4, r0 +/* 80351C0C 0034EB6C 7C A0 03 78 */ or r0, r5, r0 +/* 80351C10 0034EB70 90 1C 00 10 */ stw r0, 0x10(r28) +/* 80351C14 0034EB74 80 9C 00 10 */ lwz r4, 0x10(r28) +/* 80351C18 0034EB78 54 80 06 FC */ rlwinm r0, r4, 0, 0x1b, 0x1e +/* 80351C1C 0034EB7C 60 00 00 01 */ ori r0, r0, 1 +/* 80351C20 0034EB80 50 80 00 34 */ rlwimi r0, r4, 0, 0, 0x1a +/* 80351C24 0034EB84 90 1C 00 10 */ stw r0, 0x10(r28) +/* 80351C28 0034EB88 93 3C 00 04 */ stw r25, 4(r28) +/* 80351C2C 0034EB8C BB 01 00 50 */ lmw r24, 0x50(r1) +/* 80351C30 0034EB90 80 01 00 74 */ lwz r0, 0x74(r1) +/* 80351C34 0034EB94 7C 08 03 A6 */ mtlr r0 +/* 80351C38 0034EB98 38 21 00 70 */ addi r1, r1, 0x70 +/* 80351C3C 0034EB9C 4E 80 00 20 */ blr + +.global FindFreeBlockFromTopOfHeap__14CGameAllocatorFUi +FindFreeBlockFromTopOfHeap__14CGameAllocatorFUi: +/* 80351C40 0034EBA0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80351C44 0034EBA4 7C 08 02 A6 */ mflr r0 +/* 80351C48 0034EBA8 90 01 00 14 */ stw r0, 0x14(r1) +/* 80351C4C 0034EBAC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80351C50 0034EBB0 3B E0 00 00 */ li r31, 0 +/* 80351C54 0034EBB4 80 C3 00 10 */ lwz r6, 0x10(r3) +/* 80351C58 0034EBB8 48 00 00 28 */ b lbl_80351C80 +lbl_80351C5C: +/* 80351C5C 0034EBBC 80 A6 00 10 */ lwz r5, 0x10(r6) +/* 80351C60 0034EBC0 54 A0 07 FF */ clrlwi. r0, r5, 0x1f +/* 80351C64 0034EBC4 40 82 00 18 */ bne lbl_80351C7C +/* 80351C68 0034EBC8 80 06 00 04 */ lwz r0, 4(r6) +/* 80351C6C 0034EBCC 7C 00 20 40 */ cmplw r0, r4 +/* 80351C70 0034EBD0 41 80 00 0C */ blt lbl_80351C7C +/* 80351C74 0034EBD4 7C DF 33 78 */ mr r31, r6 +/* 80351C78 0034EBD8 48 00 00 10 */ b lbl_80351C88 +lbl_80351C7C: +/* 80351C7C 0034EBDC 54 A6 00 34 */ rlwinm r6, r5, 0, 0, 0x1a +lbl_80351C80: +/* 80351C80 0034EBE0 28 06 00 00 */ cmplwi r6, 0 +/* 80351C84 0034EBE4 40 82 FF D8 */ bne lbl_80351C5C +lbl_80351C88: +/* 80351C88 0034EBE8 7F E4 FB 78 */ mr r4, r31 +/* 80351C8C 0034EBEC 4B FF F5 6D */ bl RemoveFreeEntryFromFreeList__14CGameAllocatorFPQ214CGameAllocator12SGameMemInfo +/* 80351C90 0034EBF0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80351C94 0034EBF4 7F E3 FB 78 */ mr r3, r31 +/* 80351C98 0034EBF8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80351C9C 0034EBFC 7C 08 03 A6 */ mtlr r0 +/* 80351CA0 0034EC00 38 21 00 10 */ addi r1, r1, 0x10 +/* 80351CA4 0034EC04 4E 80 00 20 */ blr + +.global FindFreeBlock__14CGameAllocatorFUi +FindFreeBlock__14CGameAllocatorFUi: +/* 80351CA8 0034EC08 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80351CAC 0034EC0C 7C 08 02 A6 */ mflr r0 +/* 80351CB0 0034EC10 90 01 00 24 */ stw r0, 0x24(r1) +/* 80351CB4 0034EC14 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80351CB8 0034EC18 3B E0 00 00 */ li r31, 0 +/* 80351CBC 0034EC1C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80351CC0 0034EC20 7C 9E 23 78 */ mr r30, r4 +/* 80351CC4 0034EC24 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80351CC8 0034EC28 7C 7D 1B 78 */ mr r29, r3 +/* 80351CCC 0034EC2C 7F C3 F3 78 */ mr r3, r30 +/* 80351CD0 0034EC30 4B FF F6 2D */ bl GetFreeBinEntryForSize__14CGameAllocatorFUi +/* 80351CD4 0034EC34 54 60 10 3A */ slwi r0, r3, 2 +/* 80351CD8 0034EC38 38 C0 00 00 */ li r6, 0 +/* 80351CDC 0034EC3C 38 E0 00 00 */ li r7, 0 +/* 80351CE0 0034EC40 3D 00 10 00 */ lis r8, 0x1000 +/* 80351CE4 0034EC44 7C BD 02 14 */ add r5, r29, r0 +/* 80351CE8 0034EC48 48 00 00 74 */ b lbl_80351D5C +lbl_80351CEC: +/* 80351CEC 0034EC4C 81 25 00 14 */ lwz r9, 0x14(r5) +/* 80351CF0 0034EC50 39 40 00 00 */ li r10, 0 +/* 80351CF4 0034EC54 48 00 00 58 */ b lbl_80351D4C +lbl_80351CF8: +/* 80351CF8 0034EC58 80 09 00 10 */ lwz r0, 0x10(r9) +/* 80351CFC 0034EC5C 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 80351D00 0034EC60 40 82 00 40 */ bne lbl_80351D40 +/* 80351D04 0034EC64 80 09 00 04 */ lwz r0, 4(r9) +/* 80351D08 0034EC68 7C 00 F0 40 */ cmplw r0, r30 +/* 80351D0C 0034EC6C 41 80 00 34 */ blt lbl_80351D40 +/* 80351D10 0034EC70 7C 9E 00 50 */ subf r4, r30, r0 +/* 80351D14 0034EC74 7C 04 40 40 */ cmplw r4, r8 +/* 80351D18 0034EC78 40 80 00 28 */ bge lbl_80351D40 +/* 80351D1C 0034EC7C 80 09 00 14 */ lwz r0, 0x14(r9) +/* 80351D20 0034EC80 54 00 00 35 */ rlwinm. r0, r0, 0, 0, 0x1a +/* 80351D24 0034EC84 41 82 00 1C */ beq lbl_80351D40 +/* 80351D28 0034EC88 28 04 00 20 */ cmplwi r4, 0x20 +/* 80351D2C 0034EC8C 7D 3F 4B 78 */ mr r31, r9 +/* 80351D30 0034EC90 7D 47 53 78 */ mr r7, r10 +/* 80351D34 0034EC94 7C 88 23 78 */ mr r8, r4 +/* 80351D38 0034EC98 7C 66 1B 78 */ mr r6, r3 +/* 80351D3C 0034EC9C 41 80 00 18 */ blt lbl_80351D54 +lbl_80351D40: +/* 80351D40 0034ECA0 80 09 00 18 */ lwz r0, 0x18(r9) +/* 80351D44 0034ECA4 7D 2A 4B 78 */ mr r10, r9 +/* 80351D48 0034ECA8 54 09 00 34 */ rlwinm r9, r0, 0, 0, 0x1a +lbl_80351D4C: +/* 80351D4C 0034ECAC 28 09 00 00 */ cmplwi r9, 0 +/* 80351D50 0034ECB0 40 82 FF A8 */ bne lbl_80351CF8 +lbl_80351D54: +/* 80351D54 0034ECB4 38 A5 00 04 */ addi r5, r5, 4 +/* 80351D58 0034ECB8 38 63 00 01 */ addi r3, r3, 1 +lbl_80351D5C: +/* 80351D5C 0034ECBC 28 03 00 10 */ cmplwi r3, 0x10 +/* 80351D60 0034ECC0 40 80 00 0C */ bge lbl_80351D6C +/* 80351D64 0034ECC4 28 1F 00 00 */ cmplwi r31, 0 +/* 80351D68 0034ECC8 41 82 FF 84 */ beq lbl_80351CEC +lbl_80351D6C: +/* 80351D6C 0034ECCC 28 1F 00 00 */ cmplwi r31, 0 +/* 80351D70 0034ECD0 41 82 00 40 */ beq lbl_80351DB0 +/* 80351D74 0034ECD4 28 07 00 00 */ cmplwi r7, 0 +/* 80351D78 0034ECD8 40 82 00 1C */ bne lbl_80351D94 +/* 80351D7C 0034ECDC 80 9F 00 18 */ lwz r4, 0x18(r31) +/* 80351D80 0034ECE0 54 C0 10 3A */ slwi r0, r6, 2 +/* 80351D84 0034ECE4 7C 7D 02 14 */ add r3, r29, r0 +/* 80351D88 0034ECE8 54 80 00 34 */ rlwinm r0, r4, 0, 0, 0x1a +/* 80351D8C 0034ECEC 90 03 00 14 */ stw r0, 0x14(r3) +/* 80351D90 0034ECF0 48 00 00 20 */ b lbl_80351DB0 +lbl_80351D94: +/* 80351D94 0034ECF4 80 1F 00 18 */ lwz r0, 0x18(r31) +/* 80351D98 0034ECF8 80 67 00 18 */ lwz r3, 0x18(r7) +/* 80351D9C 0034ECFC 54 00 00 34 */ rlwinm r0, r0, 0, 0, 0x1a +/* 80351DA0 0034ED00 90 07 00 18 */ stw r0, 0x18(r7) +/* 80351DA4 0034ED04 80 07 00 18 */ lwz r0, 0x18(r7) +/* 80351DA8 0034ED08 50 60 06 FE */ rlwimi r0, r3, 0, 0x1b, 0x1f +/* 80351DAC 0034ED0C 90 07 00 18 */ stw r0, 0x18(r7) +lbl_80351DB0: +/* 80351DB0 0034ED10 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80351DB4 0034ED14 7F E3 FB 78 */ mr r3, r31 +/* 80351DB8 0034ED18 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80351DBC 0034ED1C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80351DC0 0034ED20 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80351DC4 0034ED24 7C 08 03 A6 */ mtlr r0 +/* 80351DC8 0034ED28 38 21 00 20 */ addi r1, r1, 0x20 +/* 80351DCC 0034ED2C 4E 80 00 20 */ blr + +.global Alloc__14CGameAllocatorFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +Alloc__14CGameAllocatorFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack: +/* 80351DD0 0034ED30 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80351DD4 0034ED34 7C 08 02 A6 */ mflr r0 +/* 80351DD8 0034ED38 90 01 00 44 */ stw r0, 0x44(r1) +/* 80351DDC 0034ED3C BE C1 00 18 */ stmw r22, 0x18(r1) +/* 80351DE0 0034ED40 7C 7F 1B 78 */ mr r31, r3 +/* 80351DE4 0034ED44 7C 9A 23 78 */ mr r26, r4 +/* 80351DE8 0034ED48 7C BB 2B 78 */ mr r27, r5 +/* 80351DEC 0034ED4C 7C DC 33 78 */ mr r28, r6 +/* 80351DF0 0034ED50 7C FD 3B 78 */ mr r29, r7 +/* 80351DF4 0034ED54 7D 1E 43 78 */ mr r30, r8 +/* 80351DF8 0034ED58 48 03 35 C9 */ bl OSGetTick +/* 80351DFC 0034ED5C 57 60 07 BD */ rlwinm. r0, r27, 0, 0x1e, 0x1e +/* 80351E00 0034ED60 7C 79 1B 78 */ mr r25, r3 +/* 80351E04 0034ED64 41 82 00 0C */ beq lbl_80351E10 +/* 80351E08 0034ED68 38 1A 00 1F */ addi r0, r26, 0x1f +/* 80351E0C 0034ED6C 54 1A 00 34 */ rlwinm r26, r0, 0, 0, 0x1a +lbl_80351E10: +/* 80351E10 0034ED70 28 1A 00 38 */ cmplwi r26, 0x38 +/* 80351E14 0034ED74 38 60 00 00 */ li r3, 0 +/* 80351E18 0034ED78 41 81 00 1C */ bgt lbl_80351E34 +/* 80351E1C 0034ED7C 57 60 07 BF */ clrlwi. r0, r27, 0x1e +/* 80351E20 0034ED80 40 82 00 14 */ bne lbl_80351E34 +/* 80351E24 0034ED84 80 1F 00 60 */ lwz r0, 0x60(r31) +/* 80351E28 0034ED88 28 00 00 00 */ cmplwi r0, 0 +/* 80351E2C 0034ED8C 41 82 00 08 */ beq lbl_80351E34 +/* 80351E30 0034ED90 38 60 00 01 */ li r3, 1 +lbl_80351E34: +/* 80351E34 0034ED94 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80351E38 0034ED98 7C 64 1B 78 */ mr r4, r3 +/* 80351E3C 0034ED9C 41 82 00 1C */ beq lbl_80351E58 +/* 80351E40 0034EDA0 80 7F 00 70 */ lwz r3, 0x70(r31) +/* 80351E44 0034EDA4 2C 03 00 00 */ cmpwi r3, 0 +/* 80351E48 0034EDA8 40 81 00 10 */ ble lbl_80351E58 +/* 80351E4C 0034EDAC 38 03 FF FF */ addi r0, r3, -1 +/* 80351E50 0034EDB0 38 80 00 00 */ li r4, 0 +/* 80351E54 0034EDB4 90 1F 00 70 */ stw r0, 0x70(r31) +lbl_80351E58: +/* 80351E58 0034EDB8 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 80351E5C 0034EDBC 41 82 00 98 */ beq lbl_80351EF4 +/* 80351E60 0034EDC0 80 7F 00 60 */ lwz r3, 0x60(r31) +/* 80351E64 0034EDC4 7F 44 D3 78 */ mr r4, r26 +/* 80351E68 0034EDC8 4B FF F0 51 */ bl Alloc__15CSmallAllocPoolFUi +/* 80351E6C 0034EDCC 80 BF 00 60 */ lwz r5, 0x60(r31) +/* 80351E70 0034EDD0 7C 78 1B 78 */ mr r24, r3 +/* 80351E74 0034EDD4 80 1F 00 AC */ lwz r0, 0xac(r31) +/* 80351E78 0034EDD8 80 85 00 18 */ lwz r4, 0x18(r5) +/* 80351E7C 0034EDDC 80 65 00 08 */ lwz r3, 8(r5) +/* 80351E80 0034EDE0 7C 84 18 50 */ subf r4, r4, r3 +/* 80351E84 0034EDE4 7C 00 20 40 */ cmplw r0, r4 +/* 80351E88 0034EDE8 40 80 00 38 */ bge lbl_80351EC0 +/* 80351E8C 0034EDEC 90 9F 00 AC */ stw r4, 0xac(r31) +/* 80351E90 0034EDF0 88 0D AA 28 */ lbz r0, lbl_805A95E8@sda21(r13) +/* 80351E94 0034EDF4 7C 00 07 75 */ extsb. r0, r0 +/* 80351E98 0034EDF8 40 82 00 14 */ bne lbl_80351EAC +/* 80351E9C 0034EDFC 38 60 00 00 */ li r3, 0 +/* 80351EA0 0034EE00 38 00 00 01 */ li r0, 1 +/* 80351EA4 0034EE04 90 6D AA 24 */ stw r3, lbl_805A95E4@sda21(r13) +/* 80351EA8 0034EE08 98 0D AA 28 */ stb r0, lbl_805A95E8@sda21(r13) +lbl_80351EAC: +/* 80351EAC 0034EE0C 80 6D AA 24 */ lwz r3, lbl_805A95E4@sda21(r13) +/* 80351EB0 0034EE10 38 03 00 80 */ addi r0, r3, 0x80 +/* 80351EB4 0034EE14 7C 00 20 40 */ cmplw r0, r4 +/* 80351EB8 0034EE18 40 80 00 08 */ bge lbl_80351EC0 +/* 80351EBC 0034EE1C 90 8D AA 24 */ stw r4, lbl_805A95E4@sda21(r13) +lbl_80351EC0: +/* 80351EC0 0034EE20 28 18 00 00 */ cmplwi r24, 0 +/* 80351EC4 0034EE24 41 82 00 20 */ beq lbl_80351EE4 +/* 80351EC8 0034EE28 48 03 34 F9 */ bl OSGetTick +/* 80351ECC 0034EE2C 80 0D AA 20 */ lwz r0, lbl_805A95E0@sda21(r13) +/* 80351ED0 0034EE30 7C 99 18 50 */ subf r4, r25, r3 +/* 80351ED4 0034EE34 7F 03 C3 78 */ mr r3, r24 +/* 80351ED8 0034EE38 7C 00 22 14 */ add r0, r0, r4 +/* 80351EDC 0034EE3C 90 0D AA 20 */ stw r0, lbl_805A95E0@sda21(r13) +/* 80351EE0 0034EE40 48 00 02 84 */ b lbl_80352164 +lbl_80351EE4: +/* 80351EE4 0034EE44 38 60 00 19 */ li r3, 0x19 +/* 80351EE8 0034EE48 38 00 00 01 */ li r0, 1 +/* 80351EEC 0034EE4C 90 7F 00 70 */ stw r3, 0x70(r31) +/* 80351EF0 0034EE50 98 1F 00 6C */ stb r0, 0x6c(r31) +lbl_80351EF4: +/* 80351EF4 0034EE54 80 7F 00 74 */ lwz r3, 0x74(r31) +/* 80351EF8 0034EE58 28 03 00 00 */ cmplwi r3, 0 +/* 80351EFC 0034EE5C 41 82 01 10 */ beq lbl_8035200C +/* 80351F00 0034EE60 28 1A 04 00 */ cmplwi r26, 0x400 +/* 80351F04 0034EE64 41 81 01 08 */ bgt lbl_8035200C +/* 80351F08 0034EE68 57 60 07 FF */ clrlwi. r0, r27, 0x1f +/* 80351F0C 0034EE6C 40 82 01 00 */ bne lbl_8035200C +/* 80351F10 0034EE70 4B FF ED CD */ bl sub_80350cdc +/* 80351F14 0034EE74 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80351F18 0034EE78 40 82 00 20 */ bne lbl_80351F38 +/* 80351F1C 0034EE7C 80 7F 00 74 */ lwz r3, 0x74(r31) +/* 80351F20 0034EE80 3A E0 00 00 */ li r23, 0 +/* 80351F24 0034EE84 80 BF 00 78 */ lwz r5, 0x78(r31) +/* 80351F28 0034EE88 38 80 10 00 */ li r4, 0x1000 +/* 80351F2C 0034EE8C 38 C0 00 00 */ li r6, 0 +/* 80351F30 0034EE90 4B FF EA 61 */ bl AddPuddle__16CMediumAllocPoolFUiPvPvi +/* 80351F34 0034EE94 92 FF 00 78 */ stw r23, 0x78(r31) +lbl_80351F38: +/* 80351F38 0034EE98 80 7F 00 74 */ lwz r3, 0x74(r31) +/* 80351F3C 0034EE9C 7F 44 D3 78 */ mr r4, r26 +/* 80351F40 0034EEA0 4B FF EC F9 */ bl Alloc__16CMediumAllocPoolFUi +/* 80351F44 0034EEA4 7C 77 1B 79 */ or. r23, r3, r3 +/* 80351F48 0034EEA8 40 82 00 74 */ bne lbl_80351FBC +/* 80351F4C 0034EEAC 3C 80 80 3E */ lis r4, lbl_803D8248@ha +/* 80351F50 0034EEB0 38 61 00 08 */ addi r3, r1, 8 +/* 80351F54 0034EEB4 38 C4 82 48 */ addi r6, r4, lbl_803D8248@l +/* 80351F58 0034EEB8 38 80 FF FF */ li r4, -1 +/* 80351F5C 0034EEBC 38 A6 00 21 */ addi r5, r6, 0x21 +/* 80351F60 0034EEC0 38 C6 00 38 */ addi r6, r6, 0x38 +/* 80351F64 0034EEC4 4B F8 44 71 */ bl __ct__10CCallStackFUiPCcPCc +/* 80351F68 0034EEC8 81 9F 00 00 */ lwz r12, 0(r31) +/* 80351F6C 0034EECC 3C 80 00 02 */ lis r4, 0x00021000@ha +/* 80351F70 0034EED0 7C 68 1B 78 */ mr r8, r3 +/* 80351F74 0034EED4 7F E3 FB 78 */ mr r3, r31 +/* 80351F78 0034EED8 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 80351F7C 0034EEDC 38 A0 00 00 */ li r5, 0 +/* 80351F80 0034EEE0 38 84 10 00 */ addi r4, r4, 0x00021000@l +/* 80351F84 0034EEE4 38 C0 00 01 */ li r6, 1 +/* 80351F88 0034EEE8 38 E0 00 00 */ li r7, 0 +/* 80351F8C 0034EEEC 7D 89 03 A6 */ mtctr r12 +/* 80351F90 0034EEF0 4E 80 04 21 */ bctrl +/* 80351F94 0034EEF4 7C 60 1B 78 */ mr r0, r3 +/* 80351F98 0034EEF8 80 7F 00 74 */ lwz r3, 0x74(r31) +/* 80351F9C 0034EEFC 7C 05 03 78 */ mr r5, r0 +/* 80351FA0 0034EF00 38 80 10 00 */ li r4, 0x1000 +/* 80351FA4 0034EF04 38 C0 00 01 */ li r6, 1 +/* 80351FA8 0034EF08 4B FF E9 E9 */ bl AddPuddle__16CMediumAllocPoolFUiPvPvi +/* 80351FAC 0034EF0C 80 7F 00 74 */ lwz r3, 0x74(r31) +/* 80351FB0 0034EF10 7F 44 D3 78 */ mr r4, r26 +/* 80351FB4 0034EF14 4B FF EC 85 */ bl Alloc__16CMediumAllocPoolFUi +/* 80351FB8 0034EF18 7C 77 1B 78 */ mr r23, r3 +lbl_80351FBC: +/* 80351FBC 0034EF1C 28 17 00 00 */ cmplwi r23, 0 +/* 80351FC0 0034EF20 41 82 00 20 */ beq lbl_80351FE0 +/* 80351FC4 0034EF24 48 03 33 FD */ bl OSGetTick +/* 80351FC8 0034EF28 80 0D AA 20 */ lwz r0, lbl_805A95E0@sda21(r13) +/* 80351FCC 0034EF2C 7C 99 18 50 */ subf r4, r25, r3 +/* 80351FD0 0034EF30 7E E3 BB 78 */ mr r3, r23 +/* 80351FD4 0034EF34 7C 00 22 14 */ add r0, r0, r4 +/* 80351FD8 0034EF38 90 0D AA 20 */ stw r0, lbl_805A95E0@sda21(r13) +/* 80351FDC 0034EF3C 48 00 01 88 */ b lbl_80352164 +lbl_80351FE0: +/* 80351FE0 0034EF40 88 1F 00 7C */ lbz r0, 0x7c(r31) +/* 80351FE4 0034EF44 28 00 00 00 */ cmplwi r0, 0 +/* 80351FE8 0034EF48 40 82 00 1C */ bne lbl_80352004 +/* 80351FEC 0034EF4C 80 7F 00 74 */ lwz r3, 0x74(r31) +/* 80351FF0 0034EF50 4B FF EB 45 */ bl GetTotalEntries__16CMediumAllocPoolFv +/* 80351FF4 0034EF54 80 7F 00 74 */ lwz r3, 0x74(r31) +/* 80351FF8 0034EF58 4B FF EB 69 */ bl GetNumAllocs__16CMediumAllocPoolFv +/* 80351FFC 0034EF5C 80 7F 00 74 */ lwz r3, 0x74(r31) +/* 80352000 0034EF60 4B FF EB 09 */ bl GetNumBlocksAvailable__16CMediumAllocPoolFv +lbl_80352004: +/* 80352004 0034EF64 38 00 00 01 */ li r0, 1 +/* 80352008 0034EF68 98 1F 00 7C */ stb r0, 0x7c(r31) +lbl_8035200C: +/* 8035200C 0034EF6C 57 77 07 FF */ clrlwi. r23, r27, 0x1f +/* 80352010 0034EF70 38 1A 00 1F */ addi r0, r26, 0x1f +/* 80352014 0034EF74 54 16 00 34 */ rlwinm r22, r0, 0, 0, 0x1a +/* 80352018 0034EF78 41 82 00 18 */ beq lbl_80352030 +/* 8035201C 0034EF7C 7F E3 FB 78 */ mr r3, r31 +/* 80352020 0034EF80 7E C4 B3 78 */ mr r4, r22 +/* 80352024 0034EF84 4B FF FC 1D */ bl FindFreeBlockFromTopOfHeap__14CGameAllocatorFUi +/* 80352028 0034EF88 7C 78 1B 78 */ mr r24, r3 +/* 8035202C 0034EF8C 48 00 00 14 */ b lbl_80352040 +lbl_80352030: +/* 80352030 0034EF90 7F E3 FB 78 */ mr r3, r31 +/* 80352034 0034EF94 7E C4 B3 78 */ mr r4, r22 +/* 80352038 0034EF98 4B FF FC 71 */ bl FindFreeBlock__14CGameAllocatorFUi +/* 8035203C 0034EF9C 7C 78 1B 78 */ mr r24, r3 +lbl_80352040: +/* 80352040 0034EFA0 28 18 00 00 */ cmplwi r24, 0 +/* 80352044 0034EFA4 40 82 00 BC */ bne lbl_80352100 +/* 80352048 0034EFA8 81 9F 00 58 */ lwz r12, 0x58(r31) +/* 8035204C 0034EFAC 38 60 00 00 */ li r3, 0 +/* 80352050 0034EFB0 28 0C 00 00 */ cmplwi r12, 0 +/* 80352054 0034EFB4 41 82 00 80 */ beq lbl_803520D4 +/* 80352058 0034EFB8 7F 44 D3 78 */ mr r4, r26 +/* 8035205C 0034EFBC 80 7F 00 5C */ lwz r3, 0x5c(r31) +/* 80352060 0034EFC0 7D 89 03 A6 */ mtctr r12 +/* 80352064 0034EFC4 4E 80 04 21 */ bctrl +/* 80352068 0034EFC8 88 0D AA 2A */ lbz r0, lbl_805A95EA@sda21(r13) +/* 8035206C 0034EFCC 7C 00 07 75 */ extsb. r0, r0 +/* 80352070 0034EFD0 40 82 00 14 */ bne lbl_80352084 +/* 80352074 0034EFD4 38 60 00 00 */ li r3, 0 +/* 80352078 0034EFD8 38 00 00 01 */ li r0, 1 +/* 8035207C 0034EFDC 98 6D AA 29 */ stb r3, lbl_805A95E9@sda21(r13) +/* 80352080 0034EFE0 98 0D AA 2A */ stb r0, lbl_805A95EA@sda21(r13) +lbl_80352084: +/* 80352084 0034EFE4 88 0D AA 29 */ lbz r0, lbl_805A95E9@sda21(r13) +/* 80352088 0034EFE8 28 00 00 00 */ cmplwi r0, 0 +/* 8035208C 0034EFEC 40 82 00 40 */ bne lbl_803520CC +/* 80352090 0034EFF0 38 00 00 01 */ li r0, 1 +/* 80352094 0034EFF4 7F E3 FB 78 */ mr r3, r31 +/* 80352098 0034EFF8 98 0D AA 29 */ stb r0, lbl_805A95E9@sda21(r13) +/* 8035209C 0034EFFC 7F 44 D3 78 */ mr r4, r26 +/* 803520A0 0034F000 7F 65 DB 78 */ mr r5, r27 +/* 803520A4 0034F004 7F 86 E3 78 */ mr r6, r28 +/* 803520A8 0034F008 81 9F 00 00 */ lwz r12, 0(r31) +/* 803520AC 0034F00C 7F A7 EB 78 */ mr r7, r29 +/* 803520B0 0034F010 7F C8 F3 78 */ mr r8, r30 +/* 803520B4 0034F014 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 803520B8 0034F018 7D 89 03 A6 */ mtctr r12 +/* 803520BC 0034F01C 4E 80 04 21 */ bctrl +/* 803520C0 0034F020 38 00 00 00 */ li r0, 0 +/* 803520C4 0034F024 98 0D AA 29 */ stb r0, lbl_805A95E9@sda21(r13) +/* 803520C8 0034F028 48 00 00 0C */ b lbl_803520D4 +lbl_803520CC: +/* 803520CC 0034F02C 38 60 00 00 */ li r3, 0 +/* 803520D0 0034F030 48 00 00 94 */ b lbl_80352164 +lbl_803520D4: +/* 803520D4 0034F034 28 03 00 00 */ cmplwi r3, 0 +/* 803520D8 0034F038 40 82 00 8C */ bne lbl_80352164 +/* 803520DC 0034F03C 7F C3 F3 78 */ mr r3, r30 +/* 803520E0 0034F040 4B F8 42 ED */ bl GetFileAndLineText__10CCallStackCFv +/* 803520E4 0034F044 7F C3 F3 78 */ mr r3, r30 +/* 803520E8 0034F048 4B F8 42 DD */ bl GetTypeText__10CCallStackCFv +/* 803520EC 0034F04C 7F E3 FB 78 */ mr r3, r31 +/* 803520F0 0034F050 4B FF F0 95 */ bl DumpAllocations__14CGameAllocatorCFv +/* 803520F4 0034F054 38 60 00 00 */ li r3, 0 +/* 803520F8 0034F058 48 00 00 6C */ b lbl_80352164 +/* 803520FC 0034F05C 48 00 00 68 */ b lbl_80352164 +lbl_80352100: +/* 80352100 0034F060 7F E3 FB 78 */ mr r3, r31 +/* 80352104 0034F064 7F 04 C3 78 */ mr r4, r24 +/* 80352108 0034F068 7F 45 D3 78 */ mr r5, r26 +/* 8035210C 0034F06C 7E C6 B3 78 */ mr r6, r22 +/* 80352110 0034F070 7F 67 DB 78 */ mr r7, r27 +/* 80352114 0034F074 7F C8 F3 78 */ mr r8, r30 +/* 80352118 0034F078 4B FF F9 0D */ bl FixupAllocPtrs__14CGameAllocatorFPQ214CGameAllocator12SGameMemInfoUiUiQ210IAllocator5EHintRC10CCallStack +/* 8035211C 0034F07C 28 17 00 00 */ cmplwi r23, 0 +/* 80352120 0034F080 7C 66 1B 78 */ mr r6, r3 +/* 80352124 0034F084 41 82 00 18 */ beq lbl_8035213C +/* 80352128 0034F088 80 18 00 10 */ lwz r0, 0x10(r24) +/* 8035212C 0034F08C 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 80352130 0034F090 40 82 00 0C */ bne lbl_8035213C +/* 80352134 0034F094 80 18 00 14 */ lwz r0, 0x14(r24) +/* 80352138 0034F098 54 18 00 34 */ rlwinm r24, r0, 0, 0, 0x1a +lbl_8035213C: +/* 8035213C 0034F09C 7F E3 FB 78 */ mr r3, r31 +/* 80352140 0034F0A0 7F 44 D3 78 */ mr r4, r26 +/* 80352144 0034F0A4 7E C5 B3 78 */ mr r5, r22 +/* 80352148 0034F0A8 4B FF F8 21 */ bl UpdateAllocDebugStats__14CGameAllocatorFUiUiUi +/* 8035214C 0034F0AC 48 03 32 75 */ bl OSGetTick +/* 80352150 0034F0B0 80 0D AA 20 */ lwz r0, lbl_805A95E0@sda21(r13) +/* 80352154 0034F0B4 7C 99 18 50 */ subf r4, r25, r3 +/* 80352158 0034F0B8 38 78 00 20 */ addi r3, r24, 0x20 +/* 8035215C 0034F0BC 7C 00 22 14 */ add r0, r0, r4 +/* 80352160 0034F0C0 90 0D AA 20 */ stw r0, lbl_805A95E0@sda21(r13) +lbl_80352164: +/* 80352164 0034F0C4 BA C1 00 18 */ lmw r22, 0x18(r1) +/* 80352168 0034F0C8 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8035216C 0034F0CC 7C 08 03 A6 */ mtlr r0 +/* 80352170 0034F0D0 38 21 00 40 */ addi r1, r1, 0x40 +/* 80352174 0034F0D4 4E 80 00 20 */ blr + +.global Shutdown__14CGameAllocatorFv +Shutdown__14CGameAllocatorFv: +/* 80352178 0034F0D8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8035217C 0034F0DC 7C 08 02 A6 */ mflr r0 +/* 80352180 0034F0E0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80352184 0034F0E4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80352188 0034F0E8 7C 7F 1B 78 */ mr r31, r3 +/* 8035218C 0034F0EC 81 83 00 00 */ lwz r12, 0(r3) +/* 80352190 0034F0F0 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 80352194 0034F0F4 7D 89 03 A6 */ mtctr r12 +/* 80352198 0034F0F8 4E 80 04 21 */ bctrl +/* 8035219C 0034F0FC 38 00 00 00 */ li r0, 0 +/* 803521A0 0034F100 98 1F 00 04 */ stb r0, 4(r31) +/* 803521A4 0034F104 90 1F 00 54 */ stw r0, 0x54(r31) +/* 803521A8 0034F108 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803521AC 0034F10C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803521B0 0034F110 7C 08 03 A6 */ mtlr r0 +/* 803521B4 0034F114 38 21 00 10 */ addi r1, r1, 0x10 +/* 803521B8 0034F118 4E 80 00 20 */ blr + +.global Initialize__14CGameAllocatorFR10COsContext +Initialize__14CGameAllocatorFR10COsContext: +/* 803521BC 0034F11C 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 803521C0 0034F120 7C 08 02 A6 */ mflr r0 +/* 803521C4 0034F124 90 01 00 84 */ stw r0, 0x84(r1) +/* 803521C8 0034F128 93 E1 00 7C */ stw r31, 0x7c(r1) +/* 803521CC 0034F12C 7C 7F 1B 78 */ mr r31, r3 +/* 803521D0 0034F130 93 C1 00 78 */ stw r30, 0x78(r1) +/* 803521D4 0034F134 80 A4 00 20 */ lwz r5, 0x20(r4) +/* 803521D8 0034F138 80 04 00 1C */ lwz r0, 0x1c(r4) +/* 803521DC 0034F13C 38 80 00 20 */ li r4, 0x20 +/* 803521E0 0034F140 38 65 00 1F */ addi r3, r5, 0x1f +/* 803521E4 0034F144 54 63 00 34 */ rlwinm r3, r3, 0, 0, 0x1a +/* 803521E8 0034F148 54 00 00 34 */ rlwinm r0, r0, 0, 0, 0x1a +/* 803521EC 0034F14C 7C 63 00 50 */ subf r3, r3, r0 +/* 803521F0 0034F150 38 03 FF C0 */ addi r0, r3, -64 +/* 803521F4 0034F154 90 1F 00 08 */ stw r0, 8(r31) +/* 803521F8 0034F158 80 7F 00 08 */ lwz r3, 8(r31) +/* 803521FC 0034F15C 48 02 C5 B5 */ bl OSAllocFromArenaLo +/* 80352200 0034F160 90 7F 00 0C */ stw r3, 0xc(r31) +/* 80352204 0034F164 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 80352208 0034F168 54 60 00 06 */ rlwinm r0, r3, 0, 0, 3 +/* 8035220C 0034F16C 7C 00 18 50 */ subf r0, r0, r3 +/* 80352210 0034F170 90 1F 00 B4 */ stw r0, 0xb4(r31) +/* 80352214 0034F174 48 02 C5 85 */ bl OSGetArenaLo +/* 80352218 0034F178 80 7F 00 08 */ lwz r3, 8(r31) +/* 8035221C 0034F17C 38 E0 00 00 */ li r7, 0 +/* 80352220 0034F180 80 BF 00 0C */ lwz r5, 0xc(r31) +/* 80352224 0034F184 3C 80 EF F0 */ lis r4, 0xEFEFEFEF@ha +/* 80352228 0034F188 38 03 FF E0 */ addi r0, r3, -32 +/* 8035222C 0034F18C 3C 60 80 3E */ lis r3, lbl_803D8248@ha +/* 80352230 0034F190 7C 05 02 14 */ add r0, r5, r0 +/* 80352234 0034F194 39 44 EF EF */ addi r10, r4, 0xEFEFEFEF@l +/* 80352238 0034F198 90 1F 00 10 */ stw r0, 0x10(r31) +/* 8035223C 0034F19C 38 83 82 48 */ addi r4, r3, lbl_803D8248@l +/* 80352240 0034F1A0 39 04 00 42 */ addi r8, r4, 0x42 +/* 80352244 0034F1A4 3C 60 EA EB */ lis r3, 0xEAEAEAEA@ha +/* 80352248 0034F1A8 81 9F 00 10 */ lwz r12, 0x10(r31) +/* 8035224C 0034F1AC 38 C3 EA EA */ addi r6, r3, 0xEAEAEAEA@l +/* 80352250 0034F1B0 81 3F 00 08 */ lwz r9, 8(r31) +/* 80352254 0034F1B4 38 A4 00 4A */ addi r5, r4, 0x4a +/* 80352258 0034F1B8 81 7F 00 0C */ lwz r11, 0xc(r31) +/* 8035225C 0034F1BC 7F E3 FB 78 */ mr r3, r31 +/* 80352260 0034F1C0 38 89 FF C0 */ addi r4, r9, -64 +/* 80352264 0034F1C4 91 41 00 50 */ stw r10, 0x50(r1) +/* 80352268 0034F1C8 91 4B 00 00 */ stw r10, 0(r11) +/* 8035226C 0034F1CC 90 8B 00 04 */ stw r4, 4(r11) +/* 80352270 0034F1D0 91 0B 00 08 */ stw r8, 8(r11) +/* 80352274 0034F1D4 91 0B 00 0C */ stw r8, 0xc(r11) +/* 80352278 0034F1D8 90 EB 00 10 */ stw r7, 0x10(r11) +/* 8035227C 0034F1DC 91 8B 00 14 */ stw r12, 0x14(r11) +/* 80352280 0034F1E0 91 8B 00 18 */ stw r12, 0x18(r11) +/* 80352284 0034F1E4 90 CB 00 1C */ stw r6, 0x1c(r11) +/* 80352288 0034F1E8 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 8035228C 0034F1EC 81 3F 00 10 */ lwz r9, 0x10(r31) +/* 80352290 0034F1F0 90 81 00 54 */ stw r4, 0x54(r1) +/* 80352294 0034F1F4 91 49 00 00 */ stw r10, 0(r9) +/* 80352298 0034F1F8 90 E9 00 04 */ stw r7, 4(r9) +/* 8035229C 0034F1FC 90 A9 00 08 */ stw r5, 8(r9) +/* 803522A0 0034F200 90 A9 00 0C */ stw r5, 0xc(r9) +/* 803522A4 0034F204 90 09 00 10 */ stw r0, 0x10(r9) +/* 803522A8 0034F208 90 E9 00 14 */ stw r7, 0x14(r9) +/* 803522AC 0034F20C 90 E9 00 18 */ stw r7, 0x18(r9) +/* 803522B0 0034F210 90 C9 00 1C */ stw r6, 0x1c(r9) +/* 803522B4 0034F214 90 FF 00 14 */ stw r7, 0x14(r31) +/* 803522B8 0034F218 90 FF 00 18 */ stw r7, 0x18(r31) +/* 803522BC 0034F21C 90 FF 00 1C */ stw r7, 0x1c(r31) +/* 803522C0 0034F220 90 FF 00 20 */ stw r7, 0x20(r31) +/* 803522C4 0034F224 90 FF 00 24 */ stw r7, 0x24(r31) +/* 803522C8 0034F228 90 FF 00 28 */ stw r7, 0x28(r31) +/* 803522CC 0034F22C 90 FF 00 2C */ stw r7, 0x2c(r31) +/* 803522D0 0034F230 90 FF 00 30 */ stw r7, 0x30(r31) +/* 803522D4 0034F234 90 FF 00 34 */ stw r7, 0x34(r31) +/* 803522D8 0034F238 90 FF 00 38 */ stw r7, 0x38(r31) +/* 803522DC 0034F23C 90 FF 00 3C */ stw r7, 0x3c(r31) +/* 803522E0 0034F240 90 FF 00 40 */ stw r7, 0x40(r31) +/* 803522E4 0034F244 90 FF 00 44 */ stw r7, 0x44(r31) +/* 803522E8 0034F248 90 FF 00 48 */ stw r7, 0x48(r31) +/* 803522EC 0034F24C 90 FF 00 4C */ stw r7, 0x4c(r31) +/* 803522F0 0034F250 90 FF 00 50 */ stw r7, 0x50(r31) +/* 803522F4 0034F254 91 01 00 58 */ stw r8, 0x58(r1) +/* 803522F8 0034F258 80 9F 00 0C */ lwz r4, 0xc(r31) +/* 803522FC 0034F25C 91 01 00 5C */ stw r8, 0x5c(r1) +/* 80352300 0034F260 90 E1 00 60 */ stw r7, 0x60(r1) +/* 80352304 0034F264 91 81 00 64 */ stw r12, 0x64(r1) +/* 80352308 0034F268 91 81 00 68 */ stw r12, 0x68(r1) +/* 8035230C 0034F26C 90 C1 00 6C */ stw r6, 0x6c(r1) +/* 80352310 0034F270 91 41 00 30 */ stw r10, 0x30(r1) +/* 80352314 0034F274 90 E1 00 34 */ stw r7, 0x34(r1) +/* 80352318 0034F278 90 A1 00 38 */ stw r5, 0x38(r1) +/* 8035231C 0034F27C 90 A1 00 3C */ stw r5, 0x3c(r1) +/* 80352320 0034F280 90 01 00 40 */ stw r0, 0x40(r1) +/* 80352324 0034F284 90 E1 00 44 */ stw r7, 0x44(r1) +/* 80352328 0034F288 90 E1 00 48 */ stw r7, 0x48(r1) +/* 8035232C 0034F28C 90 C1 00 4C */ stw r6, 0x4c(r1) +/* 80352330 0034F290 4B FF EF 6D */ bl AddFreeEntryToFreeList__14CGameAllocatorFPQ214CGameAllocator12SGameMemInfo +/* 80352334 0034F294 39 00 00 00 */ li r8, 0 +/* 80352338 0034F298 3C 60 80 3E */ lis r3, lbl_803D8248@ha +/* 8035233C 0034F29C 91 1F 00 80 */ stw r8, 0x80(r31) +/* 80352340 0034F2A0 38 83 82 48 */ addi r4, r3, lbl_803D8248@l +/* 80352344 0034F2A4 38 00 00 01 */ li r0, 1 +/* 80352348 0034F2A8 38 61 00 28 */ addi r3, r1, 0x28 +/* 8035234C 0034F2AC 91 1F 00 84 */ stw r8, 0x84(r31) +/* 80352350 0034F2B0 38 A4 00 52 */ addi r5, r4, 0x52 +/* 80352354 0034F2B4 38 C4 00 38 */ addi r6, r4, 0x38 +/* 80352358 0034F2B8 38 80 FF FF */ li r4, -1 +/* 8035235C 0034F2BC 91 1F 00 88 */ stw r8, 0x88(r31) +/* 80352360 0034F2C0 91 1F 00 8C */ stw r8, 0x8c(r31) +/* 80352364 0034F2C4 80 FF 00 08 */ lwz r7, 8(r31) +/* 80352368 0034F2C8 90 FF 00 90 */ stw r7, 0x90(r31) +/* 8035236C 0034F2CC 91 1F 00 94 */ stw r8, 0x94(r31) +/* 80352370 0034F2D0 91 1F 00 98 */ stw r8, 0x98(r31) +/* 80352374 0034F2D4 91 1F 00 9C */ stw r8, 0x9c(r31) +/* 80352378 0034F2D8 91 1F 00 A0 */ stw r8, 0xa0(r31) +/* 8035237C 0034F2DC 91 1F 00 A4 */ stw r8, 0xa4(r31) +/* 80352380 0034F2E0 91 1F 00 A8 */ stw r8, 0xa8(r31) +/* 80352384 0034F2E4 98 1F 00 04 */ stb r0, 4(r31) +/* 80352388 0034F2E8 4B F8 40 4D */ bl __ct__10CCallStackFUiPCcPCc +/* 8035238C 0034F2EC 81 9F 00 00 */ lwz r12, 0(r31) +/* 80352390 0034F2F0 7C 68 1B 78 */ mr r8, r3 +/* 80352394 0034F2F4 7F E3 FB 78 */ mr r3, r31 +/* 80352398 0034F2F8 3C 80 00 0B */ lis r4, 0xb +/* 8035239C 0034F2FC 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 803523A0 0034F300 38 A0 00 00 */ li r5, 0 +/* 803523A4 0034F304 38 C0 00 01 */ li r6, 1 +/* 803523A8 0034F308 38 E0 00 00 */ li r7, 0 +/* 803523AC 0034F30C 7D 89 03 A6 */ mtctr r12 +/* 803523B0 0034F310 4E 80 04 21 */ bctrl +/* 803523B4 0034F314 3C 80 80 3E */ lis r4, lbl_803D8248@ha +/* 803523B8 0034F318 90 7F 00 64 */ stw r3, 0x64(r31) +/* 803523BC 0034F31C 38 C4 82 48 */ addi r6, r4, lbl_803D8248@l +/* 803523C0 0034F320 38 61 00 20 */ addi r3, r1, 0x20 +/* 803523C4 0034F324 38 A6 00 68 */ addi r5, r6, 0x68 +/* 803523C8 0034F328 38 80 FF FF */ li r4, -1 +/* 803523CC 0034F32C 38 C6 00 38 */ addi r6, r6, 0x38 +/* 803523D0 0034F330 4B F8 40 05 */ bl __ct__10CCallStackFUiPCcPCc +/* 803523D4 0034F334 81 9F 00 00 */ lwz r12, 0(r31) +/* 803523D8 0034F338 3C 80 00 01 */ lis r4, 0x00016000@ha +/* 803523DC 0034F33C 7C 68 1B 78 */ mr r8, r3 +/* 803523E0 0034F340 7F E3 FB 78 */ mr r3, r31 +/* 803523E4 0034F344 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 803523E8 0034F348 38 A0 00 00 */ li r5, 0 +/* 803523EC 0034F34C 38 84 60 00 */ addi r4, r4, 0x00016000@l +/* 803523F0 0034F350 38 C0 00 01 */ li r6, 1 +/* 803523F4 0034F354 38 E0 00 00 */ li r7, 0 +/* 803523F8 0034F358 7D 89 03 A6 */ mtctr r12 +/* 803523FC 0034F35C 4E 80 04 21 */ bctrl +/* 80352400 0034F360 3C 80 80 3E */ lis r4, lbl_803D8248@ha +/* 80352404 0034F364 90 7F 00 68 */ stw r3, 0x68(r31) +/* 80352408 0034F368 38 C4 82 48 */ addi r6, r4, lbl_803D8248@l +/* 8035240C 0034F36C 38 61 00 18 */ addi r3, r1, 0x18 +/* 80352410 0034F370 38 A6 00 7E */ addi r5, r6, 0x7e +/* 80352414 0034F374 38 80 FF FF */ li r4, -1 +/* 80352418 0034F378 38 C6 00 38 */ addi r6, r6, 0x38 +/* 8035241C 0034F37C 4B F8 3F B9 */ bl __ct__10CCallStackFUiPCcPCc +/* 80352420 0034F380 81 9F 00 00 */ lwz r12, 0(r31) +/* 80352424 0034F384 7C 68 1B 78 */ mr r8, r3 +/* 80352428 0034F388 7F E3 FB 78 */ mr r3, r31 +/* 8035242C 0034F38C 38 80 00 20 */ li r4, 0x20 +/* 80352430 0034F390 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 80352434 0034F394 38 A0 00 00 */ li r5, 0 +/* 80352438 0034F398 38 C0 00 01 */ li r6, 1 +/* 8035243C 0034F39C 38 E0 00 00 */ li r7, 0 +/* 80352440 0034F3A0 7D 89 03 A6 */ mtctr r12 +/* 80352444 0034F3A4 4E 80 04 21 */ bctrl +/* 80352448 0034F3A8 7C 60 1B 79 */ or. r0, r3, r3 +/* 8035244C 0034F3AC 41 82 00 1C */ beq lbl_80352468 +/* 80352450 0034F3B0 3C 80 00 03 */ lis r4, 0x0002C000@ha +/* 80352454 0034F3B4 80 BF 00 64 */ lwz r5, 0x64(r31) +/* 80352458 0034F3B8 80 DF 00 68 */ lwz r6, 0x68(r31) +/* 8035245C 0034F3BC 38 84 C0 00 */ addi r4, r4, 0x0002C000@l +/* 80352460 0034F3C0 4B FF EC 71 */ bl __ct__15CSmallAllocPoolFUiPvPv +/* 80352464 0034F3C4 7C 60 1B 78 */ mr r0, r3 +lbl_80352468: +/* 80352468 0034F3C8 3C 60 80 3E */ lis r3, lbl_803D8248@ha +/* 8035246C 0034F3CC 90 1F 00 60 */ stw r0, 0x60(r31) +/* 80352470 0034F3D0 38 C3 82 48 */ addi r6, r3, lbl_803D8248@l +/* 80352474 0034F3D4 38 61 00 10 */ addi r3, r1, 0x10 +/* 80352478 0034F3D8 38 A6 00 94 */ addi r5, r6, 0x94 +/* 8035247C 0034F3DC 38 80 FF FF */ li r4, -1 +/* 80352480 0034F3E0 38 C6 00 38 */ addi r6, r6, 0x38 +/* 80352484 0034F3E4 4B F8 3F 51 */ bl __ct__10CCallStackFUiPCcPCc +/* 80352488 0034F3E8 81 9F 00 00 */ lwz r12, 0(r31) +/* 8035248C 0034F3EC 7C 68 1B 78 */ mr r8, r3 +/* 80352490 0034F3F0 7F E3 FB 78 */ mr r3, r31 +/* 80352494 0034F3F4 38 80 00 1C */ li r4, 0x1c +/* 80352498 0034F3F8 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 8035249C 0034F3FC 38 A0 00 00 */ li r5, 0 +/* 803524A0 0034F400 38 C0 00 01 */ li r6, 1 +/* 803524A4 0034F404 38 E0 00 00 */ li r7, 0 +/* 803524A8 0034F408 7D 89 03 A6 */ mtctr r12 +/* 803524AC 0034F40C 4E 80 04 21 */ bctrl +/* 803524B0 0034F410 7C 60 1B 79 */ or. r0, r3, r3 +/* 803524B4 0034F414 41 82 00 0C */ beq lbl_803524C0 +/* 803524B8 0034F418 4B FF E8 AD */ bl __ct__16CMediumAllocPoolFv +/* 803524BC 0034F41C 7C 60 1B 78 */ mr r0, r3 +lbl_803524C0: +/* 803524C0 0034F420 3C 60 80 3E */ lis r3, lbl_803D8248@ha +/* 803524C4 0034F424 90 1F 00 74 */ stw r0, 0x74(r31) +/* 803524C8 0034F428 38 83 82 48 */ addi r4, r3, lbl_803D8248@l +/* 803524CC 0034F42C 3F C0 00 02 */ lis r30, 2 +/* 803524D0 0034F430 38 61 00 08 */ addi r3, r1, 8 +/* 803524D4 0034F434 38 A4 00 21 */ addi r5, r4, 0x21 +/* 803524D8 0034F438 38 C4 00 38 */ addi r6, r4, 0x38 +/* 803524DC 0034F43C 38 80 FF FF */ li r4, -1 +/* 803524E0 0034F440 4B F8 3E F5 */ bl __ct__10CCallStackFUiPCcPCc +/* 803524E4 0034F444 81 9F 00 00 */ lwz r12, 0(r31) +/* 803524E8 0034F448 7C 68 1B 78 */ mr r8, r3 +/* 803524EC 0034F44C 7F E3 FB 78 */ mr r3, r31 +/* 803524F0 0034F450 38 9E 10 00 */ addi r4, r30, 0x1000 +/* 803524F4 0034F454 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 803524F8 0034F458 38 A0 00 00 */ li r5, 0 +/* 803524FC 0034F45C 38 C0 00 01 */ li r6, 1 +/* 80352500 0034F460 38 E0 00 00 */ li r7, 0 +/* 80352504 0034F464 7D 89 03 A6 */ mtctr r12 +/* 80352508 0034F468 4E 80 04 21 */ bctrl +/* 8035250C 0034F46C 90 7F 00 78 */ stw r3, 0x78(r31) +/* 80352510 0034F470 3C 60 00 0C */ lis r3, 0x000C6000@ha +/* 80352514 0034F474 38 03 60 00 */ addi r0, r3, 0x000C6000@l +/* 80352518 0034F478 38 60 00 01 */ li r3, 1 +/* 8035251C 0034F47C 80 9F 00 84 */ lwz r4, 0x84(r31) +/* 80352520 0034F480 38 84 FF FC */ addi r4, r4, -4 +/* 80352524 0034F484 90 9F 00 84 */ stw r4, 0x84(r31) +/* 80352528 0034F488 90 1F 00 BC */ stw r0, 0xbc(r31) +/* 8035252C 0034F48C 83 E1 00 7C */ lwz r31, 0x7c(r1) +/* 80352530 0034F490 83 C1 00 78 */ lwz r30, 0x78(r1) +/* 80352534 0034F494 80 01 00 84 */ lwz r0, 0x84(r1) +/* 80352538 0034F498 7C 08 03 A6 */ mtlr r0 +/* 8035253C 0034F49C 38 21 00 80 */ addi r1, r1, 0x80 +/* 80352540 0034F4A0 4E 80 00 20 */ blr + +.global __dt__14CGameAllocatorFv +__dt__14CGameAllocatorFv: +/* 80352544 0034F4A4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80352548 0034F4A8 7C 08 02 A6 */ mflr r0 +/* 8035254C 0034F4AC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80352550 0034F4B0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80352554 0034F4B4 7C 9F 23 78 */ mr r31, r4 +/* 80352558 0034F4B8 93 C1 00 08 */ stw r30, 8(r1) +/* 8035255C 0034F4BC 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80352560 0034F4C0 41 82 00 50 */ beq lbl_803525B0 +/* 80352564 0034F4C4 3C 60 80 3F */ lis r3, lbl_803EF6D8@ha +/* 80352568 0034F4C8 38 03 F6 D8 */ addi r0, r3, lbl_803EF6D8@l +/* 8035256C 0034F4CC 90 1E 00 00 */ stw r0, 0(r30) +/* 80352570 0034F4D0 80 7E 00 74 */ lwz r3, 0x74(r30) +/* 80352574 0034F4D4 28 03 00 00 */ cmplwi r3, 0 +/* 80352578 0034F4D8 41 82 00 1C */ beq lbl_80352594 +/* 8035257C 0034F4DC 4B FF E7 75 */ bl ClearPuddles__16CMediumAllocPoolFv +/* 80352580 0034F4E0 80 9E 00 74 */ lwz r4, 0x74(r30) +/* 80352584 0034F4E4 7F C3 F3 78 */ mr r3, r30 +/* 80352588 0034F4E8 4B FF F1 79 */ bl FreeNormalAllocation__14CGameAllocatorFPCv +/* 8035258C 0034F4EC 38 00 00 00 */ li r0, 0 +/* 80352590 0034F4F0 90 1E 00 74 */ stw r0, 0x74(r30) +lbl_80352594: +/* 80352594 0034F4F4 7F C3 F3 78 */ mr r3, r30 +/* 80352598 0034F4F8 38 80 00 00 */ li r4, 0 +/* 8035259C 0034F4FC 4B FC 36 FD */ bl __dt__10IAllocatorFv +/* 803525A0 0034F500 7F E0 07 35 */ extsh. r0, r31 +/* 803525A4 0034F504 40 81 00 0C */ ble lbl_803525B0 +/* 803525A8 0034F508 7F C3 F3 78 */ mr r3, r30 +/* 803525AC 0034F50C 4B FC 33 85 */ bl Free__7CMemoryFPCv +lbl_803525B0: +/* 803525B0 0034F510 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803525B4 0034F514 7F C3 F3 78 */ mr r3, r30 +/* 803525B8 0034F518 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803525BC 0034F51C 83 C1 00 08 */ lwz r30, 8(r1) +/* 803525C0 0034F520 7C 08 03 A6 */ mtlr r0 +/* 803525C4 0034F524 38 21 00 10 */ addi r1, r1, 0x10 +/* 803525C8 0034F528 4E 80 00 20 */ blr + +.global __ct__14CGameAllocatorFv +__ct__14CGameAllocatorFv: +/* 803525CC 0034F52C 3C A0 80 3F */ lis r5, lbl_803ED9C0@ha +/* 803525D0 0034F530 3C 80 80 3F */ lis r4, lbl_803EF6D8@ha +/* 803525D4 0034F534 38 A5 D9 C0 */ addi r5, r5, lbl_803ED9C0@l +/* 803525D8 0034F538 38 00 00 00 */ li r0, 0 +/* 803525DC 0034F53C 90 A3 00 00 */ stw r5, 0(r3) +/* 803525E0 0034F540 38 84 F6 D8 */ addi r4, r4, lbl_803EF6D8@l +/* 803525E4 0034F544 90 83 00 00 */ stw r4, 0(r3) +/* 803525E8 0034F548 98 03 00 04 */ stb r0, 4(r3) +/* 803525EC 0034F54C 90 03 00 08 */ stw r0, 8(r3) +/* 803525F0 0034F550 90 03 00 0C */ stw r0, 0xc(r3) +/* 803525F4 0034F554 90 03 00 10 */ stw r0, 0x10(r3) +/* 803525F8 0034F558 90 03 00 54 */ stw r0, 0x54(r3) +/* 803525FC 0034F55C 90 03 00 58 */ stw r0, 0x58(r3) +/* 80352600 0034F560 90 03 00 5C */ stw r0, 0x5c(r3) +/* 80352604 0034F564 90 03 00 60 */ stw r0, 0x60(r3) +/* 80352608 0034F568 90 03 00 64 */ stw r0, 0x64(r3) +/* 8035260C 0034F56C 90 03 00 68 */ stw r0, 0x68(r3) +/* 80352610 0034F570 98 03 00 6C */ stb r0, 0x6c(r3) +/* 80352614 0034F574 90 03 00 70 */ stw r0, 0x70(r3) +/* 80352618 0034F578 90 03 00 74 */ stw r0, 0x74(r3) +/* 8035261C 0034F57C 90 03 00 80 */ stw r0, 0x80(r3) +/* 80352620 0034F580 90 03 00 84 */ stw r0, 0x84(r3) +/* 80352624 0034F584 90 03 00 88 */ stw r0, 0x88(r3) +/* 80352628 0034F588 90 03 00 8C */ stw r0, 0x8c(r3) +/* 8035262C 0034F58C 90 03 00 90 */ stw r0, 0x90(r3) +/* 80352630 0034F590 90 03 00 94 */ stw r0, 0x94(r3) +/* 80352634 0034F594 90 03 00 98 */ stw r0, 0x98(r3) +/* 80352638 0034F598 90 03 00 9C */ stw r0, 0x9c(r3) +/* 8035263C 0034F59C 90 03 00 A0 */ stw r0, 0xa0(r3) +/* 80352640 0034F5A0 90 03 00 A4 */ stw r0, 0xa4(r3) +/* 80352644 0034F5A4 90 03 00 A8 */ stw r0, 0xa8(r3) +/* 80352648 0034F5A8 90 03 00 AC */ stw r0, 0xac(r3) +/* 8035264C 0034F5AC 90 03 00 B0 */ stw r0, 0xb0(r3) +/* 80352650 0034F5B0 90 03 00 B4 */ stw r0, 0xb4(r3) +/* 80352654 0034F5B4 90 03 00 B8 */ stw r0, 0xb8(r3) +/* 80352658 0034F5B8 90 03 00 BC */ stw r0, 0xbc(r3) +/* 8035265C 0034F5BC 4E 80 00 20 */ blr + +.global GetMemInfoFromBlockPtr__14CGameAllocatorCFPCv +GetMemInfoFromBlockPtr__14CGameAllocatorCFPCv: +/* 80352660 0034F5C0 38 64 FF E0 */ addi r3, r4, -32 +/* 80352664 0034F5C4 4E 80 00 20 */ blr diff --git a/asm/Kyoto/Alloc/CMediumAllocPool.s b/asm/Kyoto/Alloc/CMediumAllocPool.s new file mode 100644 index 00000000..f63d3931 --- /dev/null +++ b/asm/Kyoto/Alloc/CMediumAllocPool.s @@ -0,0 +1,685 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global sub_80350540 +sub_80350540: +/* 80350540 0034D4A0 54 85 04 3E */ clrlwi r5, r4, 0x10 +/* 80350544 0034D4A4 28 05 00 04 */ cmplwi r5, 4 +/* 80350548 0034D4A8 40 80 00 48 */ bge lbl_80350590 +/* 8035054C 0034D4AC 28 05 00 03 */ cmplwi r5, 3 +/* 80350550 0034D4B0 40 82 00 0C */ bne lbl_8035055C +/* 80350554 0034D4B4 38 A0 00 60 */ li r5, 0x60 +/* 80350558 0034D4B8 48 00 00 14 */ b lbl_8035056C +lbl_8035055C: +/* 8035055C 0034D4BC 28 05 00 02 */ cmplwi r5, 2 +/* 80350560 0034D4C0 38 A0 00 20 */ li r5, 0x20 +/* 80350564 0034D4C4 40 82 00 08 */ bne lbl_8035056C +/* 80350568 0034D4C8 38 A0 00 40 */ li r5, 0x40 +lbl_8035056C: +/* 8035056C 0034D4CC 54 80 04 3E */ clrlwi r0, r4, 0x10 +/* 80350570 0034D4D0 60 A4 00 80 */ ori r4, r5, 0x80 +/* 80350574 0034D4D4 28 00 00 01 */ cmplwi r0, 1 +/* 80350578 0034D4D8 98 83 00 00 */ stb r4, 0(r3) +/* 8035057C 0034D4DC 54 84 06 3E */ clrlwi r4, r4, 0x18 +/* 80350580 0034D4E0 4C 81 00 20 */ blelr +/* 80350584 0034D4E4 7C 63 02 14 */ add r3, r3, r0 +/* 80350588 0034D4E8 98 83 FF FF */ stb r4, -1(r3) +/* 8035058C 0034D4EC 4E 80 00 20 */ blr +lbl_80350590: +/* 80350590 0034D4F0 54 80 C6 3E */ rlwinm r0, r4, 0x18, 0x18, 0x1f +/* 80350594 0034D4F4 7C A3 2A 14 */ add r5, r3, r5 +/* 80350598 0034D4F8 60 00 00 80 */ ori r0, r0, 0x80 +/* 8035059C 0034D4FC 98 03 00 00 */ stb r0, 0(r3) +/* 803505A0 0034D500 98 83 00 01 */ stb r4, 1(r3) +/* 803505A4 0034D504 98 85 FF FE */ stb r4, -2(r5) +/* 803505A8 0034D508 98 05 FF FF */ stb r0, -1(r5) +/* 803505AC 0034D50C 4E 80 00 20 */ blr + +.global sub_803505b0 +sub_803505b0: +/* 803505B0 0034D510 7C 03 20 50 */ subf r0, r3, r4 +/* 803505B4 0034D514 2C 00 00 01 */ cmpwi r0, 1 +/* 803505B8 0034D518 40 81 00 0C */ ble lbl_803505C4 +/* 803505BC 0034D51C 88 83 00 01 */ lbz r4, 1(r3) +/* 803505C0 0034D520 48 00 00 08 */ b lbl_803505C8 +lbl_803505C4: +/* 803505C4 0034D524 38 80 00 00 */ li r4, 0 +lbl_803505C8: +/* 803505C8 0034D528 88 03 00 00 */ lbz r0, 0(r3) +/* 803505CC 0034D52C 54 83 06 3E */ clrlwi r3, r4, 0x18 +/* 803505D0 0034D530 54 00 44 6E */ rlwinm r0, r0, 8, 0x11, 0x17 +/* 803505D4 0034D534 7C 63 02 14 */ add r3, r3, r0 +/* 803505D8 0034D538 54 60 04 65 */ rlwinm. r0, r3, 0, 0x11, 0x12 +/* 803505DC 0034D53C 54 63 04 3E */ clrlwi r3, r3, 0x10 +/* 803505E0 0034D540 4D 82 00 20 */ beqlr +/* 803505E4 0034D544 28 00 60 00 */ cmplwi r0, 0x6000 +/* 803505E8 0034D548 40 82 00 0C */ bne lbl_803505F4 +/* 803505EC 0034D54C 38 00 00 03 */ li r0, 3 +/* 803505F0 0034D550 48 00 00 14 */ b lbl_80350604 +lbl_803505F4: +/* 803505F4 0034D554 20 00 40 00 */ subfic r0, r0, 0x4000 +/* 803505F8 0034D558 7C 00 00 34 */ cntlzw r0, r0 +/* 803505FC 0034D55C 54 03 D9 7E */ srwi r3, r0, 5 +/* 80350600 0034D560 38 03 00 01 */ addi r0, r3, 1 +lbl_80350604: +/* 80350604 0034D564 54 03 04 3E */ clrlwi r3, r0, 0x10 +/* 80350608 0034D568 4E 80 00 20 */ blr + +.global sub_8035060c +sub_8035060c: +/* 8035060C 0034D56C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80350610 0034D570 7C 08 02 A6 */ mflr r0 +/* 80350614 0034D574 90 01 00 24 */ stw r0, 0x24(r1) +/* 80350618 0034D578 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 8035061C 0034D57C 7C 7B 1B 78 */ mr r27, r3 +/* 80350620 0034D580 3B 80 00 00 */ li r28, 0 +/* 80350624 0034D584 80 03 00 04 */ lwz r0, 4(r3) +/* 80350628 0034D588 80 63 00 08 */ lwz r3, 8(r3) +/* 8035062C 0034D58C 7C 80 20 50 */ subf r4, r0, r4 +/* 80350630 0034D590 80 1B 00 14 */ lwz r0, 0x14(r27) +/* 80350634 0034D594 54 84 D9 7E */ srwi r4, r4, 5 +/* 80350638 0034D598 7C C3 20 AE */ lbzx r6, r3, r4 +/* 8035063C 0034D59C 7C 00 32 14 */ add r0, r0, r6 +/* 80350640 0034D5A0 7C DD 33 78 */ mr r29, r6 +/* 80350644 0034D5A4 90 1B 00 14 */ stw r0, 0x14(r27) +/* 80350648 0034D5A8 80 7B 00 18 */ lwz r3, 0x18(r27) +/* 8035064C 0034D5AC 38 03 FF FF */ addi r0, r3, -1 +/* 80350650 0034D5B0 90 1B 00 18 */ stw r0, 0x18(r27) +/* 80350654 0034D5B4 83 FB 00 08 */ lwz r31, 8(r27) +/* 80350658 0034D5B8 80 1B 00 0C */ lwz r0, 0xc(r27) +/* 8035065C 0034D5BC 7C FF 22 14 */ add r7, r31, r4 +/* 80350660 0034D5C0 80 7B 00 1C */ lwz r3, 0x1c(r27) +/* 80350664 0034D5C4 7C 00 38 40 */ cmplw r0, r7 +/* 80350668 0034D5C8 7C FE 3B 78 */ mr r30, r7 +/* 8035066C 0034D5CC 7C 9F 1A 14 */ add r4, r31, r3 +/* 80350670 0034D5D0 40 82 00 08 */ bne lbl_80350678 +/* 80350674 0034D5D4 3B 80 00 01 */ li r28, 1 +lbl_80350678: +/* 80350678 0034D5D8 7C 07 F8 40 */ cmplw r7, r31 +/* 8035067C 0034D5DC 40 81 00 60 */ ble lbl_803506DC +/* 80350680 0034D5E0 88 A7 FF FF */ lbz r5, -1(r7) +/* 80350684 0034D5E4 54 A0 06 31 */ rlwinm. r0, r5, 0, 0x18, 0x18 +/* 80350688 0034D5E8 41 82 00 54 */ beq lbl_803506DC +/* 8035068C 0034D5EC 54 A0 06 75 */ rlwinm. r0, r5, 0, 0x19, 0x1a +/* 80350690 0034D5F0 40 82 00 18 */ bne lbl_803506A8 +/* 80350694 0034D5F4 88 67 FF FE */ lbz r3, -2(r7) +/* 80350698 0034D5F8 54 A0 44 6E */ rlwinm r0, r5, 8, 0x11, 0x17 +/* 8035069C 0034D5FC 7C 03 02 14 */ add r0, r3, r0 +/* 803506A0 0034D600 54 00 04 3E */ clrlwi r0, r0, 0x10 +/* 803506A4 0034D604 48 00 00 28 */ b lbl_803506CC +lbl_803506A8: +/* 803506A8 0034D608 28 00 00 60 */ cmplwi r0, 0x60 +/* 803506AC 0034D60C 40 82 00 0C */ bne lbl_803506B8 +/* 803506B0 0034D610 38 00 00 03 */ li r0, 3 +/* 803506B4 0034D614 48 00 00 14 */ b lbl_803506C8 +lbl_803506B8: +/* 803506B8 0034D618 20 00 00 40 */ subfic r0, r0, 0x40 +/* 803506BC 0034D61C 7C 00 00 34 */ cntlzw r0, r0 +/* 803506C0 0034D620 54 03 D9 7E */ srwi r3, r0, 5 +/* 803506C4 0034D624 38 03 00 01 */ addi r0, r3, 1 +lbl_803506C8: +/* 803506C8 0034D628 54 00 04 3E */ clrlwi r0, r0, 0x10 +lbl_803506CC: +/* 803506CC 0034D62C 54 03 04 3E */ clrlwi r3, r0, 0x10 +/* 803506D0 0034D630 7C 1D 02 14 */ add r0, r29, r0 +/* 803506D4 0034D634 7F C3 F0 50 */ subf r30, r3, r30 +/* 803506D8 0034D638 54 1D 04 3E */ clrlwi r29, r0, 0x10 +lbl_803506DC: +/* 803506DC 0034D63C 7C 67 32 14 */ add r3, r7, r6 +/* 803506E0 0034D640 7C 03 20 40 */ cmplw r3, r4 +/* 803506E4 0034D644 40 80 00 1C */ bge lbl_80350700 +/* 803506E8 0034D648 88 03 00 00 */ lbz r0, 0(r3) +/* 803506EC 0034D64C 54 00 06 31 */ rlwinm. r0, r0, 0, 0x18, 0x18 +/* 803506F0 0034D650 40 81 00 10 */ ble lbl_80350700 +/* 803506F4 0034D654 4B FF FE BD */ bl sub_803505b0 +/* 803506F8 0034D658 7C 1D 1A 14 */ add r0, r29, r3 +/* 803506FC 0034D65C 54 1D 04 3E */ clrlwi r29, r0, 0x10 +lbl_80350700: +/* 80350700 0034D660 7F C3 F3 78 */ mr r3, r30 +/* 80350704 0034D664 57 A4 04 3E */ clrlwi r4, r29, 0x10 +/* 80350708 0034D668 4B FF FE 39 */ bl sub_80350540 +/* 8035070C 0034D66C 57 80 06 3F */ clrlwi. r0, r28, 0x18 +/* 80350710 0034D670 41 82 00 24 */ beq lbl_80350734 +/* 80350714 0034D674 7C 1E F8 40 */ cmplw r30, r31 +/* 80350718 0034D678 40 82 00 10 */ bne lbl_80350728 +/* 8035071C 0034D67C 38 00 00 00 */ li r0, 0 +/* 80350720 0034D680 90 1B 00 0C */ stw r0, 0xc(r27) +/* 80350724 0034D684 48 00 00 10 */ b lbl_80350734 +lbl_80350728: +/* 80350728 0034D688 88 1E FF FF */ lbz r0, -1(r30) +/* 8035072C 0034D68C 7C 00 F0 50 */ subf r0, r0, r30 +/* 80350730 0034D690 90 1B 00 0C */ stw r0, 0xc(r27) +lbl_80350734: +/* 80350734 0034D694 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 80350738 0034D698 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8035073C 0034D69C 7C 08 03 A6 */ mtlr r0 +/* 80350740 0034D6A0 38 21 00 20 */ addi r1, r1, 0x20 +/* 80350744 0034D6A4 4E 80 00 20 */ blr + +.global sub_80350748 +sub_80350748: +/* 80350748 0034D6A8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8035074C 0034D6AC 7C 08 02 A6 */ mflr r0 +/* 80350750 0034D6B0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80350754 0034D6B4 BF 41 00 08 */ stmw r26, 8(r1) +/* 80350758 0034D6B8 7C 9B 23 78 */ mr r27, r4 +/* 8035075C 0034D6BC 7C 7A 1B 78 */ mr r26, r3 +/* 80350760 0034D6C0 80 03 00 14 */ lwz r0, 0x14(r3) +/* 80350764 0034D6C4 7C 00 D8 40 */ cmplw r0, r27 +/* 80350768 0034D6C8 41 80 00 A8 */ blt lbl_80350810 +/* 8035076C 0034D6CC 83 FA 00 0C */ lwz r31, 0xc(r26) +/* 80350770 0034D6D0 83 DA 00 08 */ lwz r30, 8(r26) +/* 80350774 0034D6D4 28 1F 00 00 */ cmplwi r31, 0 +/* 80350778 0034D6D8 40 82 00 08 */ bne lbl_80350780 +/* 8035077C 0034D6DC 7F DF F3 78 */ mr r31, r30 +lbl_80350780: +/* 80350780 0034D6E0 80 1A 00 1C */ lwz r0, 0x1c(r26) +/* 80350784 0034D6E4 7F FC FB 78 */ mr r28, r31 +/* 80350788 0034D6E8 7F BE 02 14 */ add r29, r30, r0 +lbl_8035078C: +/* 8035078C 0034D6EC 88 7C 00 00 */ lbz r3, 0(r28) +/* 80350790 0034D6F0 54 60 06 31 */ rlwinm. r0, r3, 0, 0x18, 0x18 +/* 80350794 0034D6F4 41 82 00 0C */ beq lbl_803507A0 +/* 80350798 0034D6F8 7C 1C E8 40 */ cmplw r28, r29 +/* 8035079C 0034D6FC 40 82 00 1C */ bne lbl_803507B8 +lbl_803507A0: +/* 803507A0 0034D700 7C 1C E8 40 */ cmplw r28, r29 +/* 803507A4 0034D704 40 82 00 0C */ bne lbl_803507B0 +/* 803507A8 0034D708 7F DC F3 78 */ mr r28, r30 +/* 803507AC 0034D70C 48 00 00 5C */ b lbl_80350808 +lbl_803507B0: +/* 803507B0 0034D710 7F 9C 1A 14 */ add r28, r28, r3 +/* 803507B4 0034D714 48 00 00 54 */ b lbl_80350808 +lbl_803507B8: +/* 803507B8 0034D718 7F 83 E3 78 */ mr r3, r28 +/* 803507BC 0034D71C 7F A4 EB 78 */ mr r4, r29 +/* 803507C0 0034D720 4B FF FD F1 */ bl sub_803505b0 +/* 803507C4 0034D724 54 60 04 3E */ clrlwi r0, r3, 0x10 +/* 803507C8 0034D728 7C 00 D8 40 */ cmplw r0, r27 +/* 803507CC 0034D72C 41 80 00 24 */ blt lbl_803507F0 +/* 803507D0 0034D730 7C 1B 00 50 */ subf r0, r27, r0 +/* 803507D4 0034D734 54 04 04 3F */ clrlwi. r4, r0, 0x10 +/* 803507D8 0034D738 41 82 00 0C */ beq lbl_803507E4 +/* 803507DC 0034D73C 7C 7C DA 14 */ add r3, r28, r27 +/* 803507E0 0034D740 4B FF FD 61 */ bl sub_80350540 +lbl_803507E4: +/* 803507E4 0034D744 93 9A 00 0C */ stw r28, 0xc(r26) +/* 803507E8 0034D748 7F 83 E3 78 */ mr r3, r28 +/* 803507EC 0034D74C 48 00 00 28 */ b lbl_80350814 +lbl_803507F0: +/* 803507F0 0034D750 7F 9C 02 14 */ add r28, r28, r0 +/* 803507F4 0034D754 7C 1C F8 40 */ cmplw r28, r31 +/* 803507F8 0034D758 41 82 00 18 */ beq lbl_80350810 +/* 803507FC 0034D75C 7C 1C E8 40 */ cmplw r28, r29 +/* 80350800 0034D760 40 82 00 08 */ bne lbl_80350808 +/* 80350804 0034D764 7F DC F3 78 */ mr r28, r30 +lbl_80350808: +/* 80350808 0034D768 7C 1C F8 40 */ cmplw r28, r31 +/* 8035080C 0034D76C 40 82 FF 80 */ bne lbl_8035078C +lbl_80350810: +/* 80350810 0034D770 38 60 00 00 */ li r3, 0 +lbl_80350814: +/* 80350814 0034D774 BB 41 00 08 */ lmw r26, 8(r1) +/* 80350818 0034D778 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8035081C 0034D77C 7C 08 03 A6 */ mtlr r0 +/* 80350820 0034D780 38 21 00 20 */ addi r1, r1, 0x20 +/* 80350824 0034D784 4E 80 00 20 */ blr + +.global FindFree__16CMediumAllocPoolFi +FindFree__16CMediumAllocPoolFi: +/* 80350828 0034D788 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8035082C 0034D78C 7C 08 02 A6 */ mflr r0 +/* 80350830 0034D790 90 01 00 14 */ stw r0, 0x14(r1) +/* 80350834 0034D794 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80350838 0034D798 7C 9F 23 78 */ mr r31, r4 +/* 8035083C 0034D79C 93 C1 00 08 */ stw r30, 8(r1) +/* 80350840 0034D7A0 7C 7E 1B 78 */ mr r30, r3 +/* 80350844 0034D7A4 4B FF FF 05 */ bl sub_80350748 +/* 80350848 0034D7A8 28 03 00 00 */ cmplwi r3, 0 +/* 8035084C 0034D7AC 40 82 00 0C */ bne lbl_80350858 +/* 80350850 0034D7B0 38 60 00 00 */ li r3, 0 +/* 80350854 0034D7B4 48 00 00 3C */ b lbl_80350890 +lbl_80350858: +/* 80350858 0034D7B8 80 1E 00 08 */ lwz r0, 8(r30) +/* 8035085C 0034D7BC 7C 83 FA 14 */ add r4, r3, r31 +/* 80350860 0034D7C0 80 BE 00 04 */ lwz r5, 4(r30) +/* 80350864 0034D7C4 7C 00 18 50 */ subf r0, r0, r3 +/* 80350868 0034D7C8 9B E3 00 00 */ stb r31, 0(r3) +/* 8035086C 0034D7CC 54 00 28 34 */ slwi r0, r0, 5 +/* 80350870 0034D7D0 7C 65 02 14 */ add r3, r5, r0 +/* 80350874 0034D7D4 9B E4 FF FF */ stb r31, -1(r4) +/* 80350878 0034D7D8 80 1E 00 14 */ lwz r0, 0x14(r30) +/* 8035087C 0034D7DC 7C 1F 00 50 */ subf r0, r31, r0 +/* 80350880 0034D7E0 90 1E 00 14 */ stw r0, 0x14(r30) +/* 80350884 0034D7E4 80 9E 00 18 */ lwz r4, 0x18(r30) +/* 80350888 0034D7E8 38 04 00 01 */ addi r0, r4, 1 +/* 8035088C 0034D7EC 90 1E 00 18 */ stw r0, 0x18(r30) +lbl_80350890: +/* 80350890 0034D7F0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80350894 0034D7F4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80350898 0034D7F8 83 C1 00 08 */ lwz r30, 8(r1) +/* 8035089C 0034D7FC 7C 08 03 A6 */ mtlr r0 +/* 803508A0 0034D800 38 21 00 10 */ addi r1, r1, 0x10 +/* 803508A4 0034D804 4E 80 00 20 */ blr + +.global __dt__18SMediumAllocPuddleFv +__dt__18SMediumAllocPuddleFv: +/* 803508A8 0034D808 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803508AC 0034D80C 7C 08 02 A6 */ mflr r0 +/* 803508B0 0034D810 90 01 00 14 */ stw r0, 0x14(r1) +/* 803508B4 0034D814 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803508B8 0034D818 7C 9F 23 78 */ mr r31, r4 +/* 803508BC 0034D81C 93 C1 00 08 */ stw r30, 8(r1) +/* 803508C0 0034D820 7C 7E 1B 79 */ or. r30, r3, r3 +/* 803508C4 0034D824 41 82 00 2C */ beq lbl_803508F0 +/* 803508C8 0034D828 41 82 00 18 */ beq lbl_803508E0 +/* 803508CC 0034D82C 88 1E 00 00 */ lbz r0, 0(r30) +/* 803508D0 0034D830 28 00 00 00 */ cmplwi r0, 0 +/* 803508D4 0034D834 41 82 00 0C */ beq lbl_803508E0 +/* 803508D8 0034D838 80 7E 00 04 */ lwz r3, 4(r30) +/* 803508DC 0034D83C 4B FC 50 55 */ bl Free__7CMemoryFPCv +lbl_803508E0: +/* 803508E0 0034D840 7F E0 07 35 */ extsh. r0, r31 +/* 803508E4 0034D844 40 81 00 0C */ ble lbl_803508F0 +/* 803508E8 0034D848 7F C3 F3 78 */ mr r3, r30 +/* 803508EC 0034D84C 4B FC 50 45 */ bl Free__7CMemoryFPCv +lbl_803508F0: +/* 803508F0 0034D850 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803508F4 0034D854 7F C3 F3 78 */ mr r3, r30 +/* 803508F8 0034D858 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803508FC 0034D85C 83 C1 00 08 */ lwz r30, 8(r1) +/* 80350900 0034D860 7C 08 03 A6 */ mtlr r0 +/* 80350904 0034D864 38 21 00 10 */ addi r1, r1, 0x10 +/* 80350908 0034D868 4E 80 00 20 */ blr + +.global __ct__18SMediumAllocPuddleFUiPvPv +__ct__18SMediumAllocPuddleFUiPvPv: +/* 8035090C 0034D86C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80350910 0034D870 7C 08 02 A6 */ mflr r0 +/* 80350914 0034D874 38 E0 00 00 */ li r7, 0 +/* 80350918 0034D878 7C 89 23 78 */ mr r9, r4 +/* 8035091C 0034D87C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80350920 0034D880 7C 05 00 D0 */ neg r0, r5 +/* 80350924 0034D884 7C 00 2B 78 */ or r0, r0, r5 +/* 80350928 0034D888 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8035092C 0034D88C 7C 7F 1B 78 */ mr r31, r3 +/* 80350930 0034D890 54 03 0F FE */ srwi r3, r0, 0x1f +/* 80350934 0034D894 54 80 28 34 */ slwi r0, r4, 5 +/* 80350938 0034D898 98 7F 00 00 */ stb r3, 0(r31) +/* 8035093C 0034D89C 7D 05 02 14 */ add r8, r5, r0 +/* 80350940 0034D8A0 38 00 FF FF */ li r0, -1 +/* 80350944 0034D8A4 54 84 04 3E */ clrlwi r4, r4, 0x10 +/* 80350948 0034D8A8 90 BF 00 04 */ stw r5, 4(r31) +/* 8035094C 0034D8AC 91 1F 00 08 */ stw r8, 8(r31) +/* 80350950 0034D8B0 90 FF 00 0C */ stw r7, 0xc(r31) +/* 80350954 0034D8B4 90 1F 00 10 */ stw r0, 0x10(r31) +/* 80350958 0034D8B8 91 3F 00 14 */ stw r9, 0x14(r31) +/* 8035095C 0034D8BC 90 FF 00 18 */ stw r7, 0x18(r31) +/* 80350960 0034D8C0 91 3F 00 1C */ stw r9, 0x1c(r31) +/* 80350964 0034D8C4 88 1F 00 20 */ lbz r0, 0x20(r31) +/* 80350968 0034D8C8 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 +/* 8035096C 0034D8CC 98 1F 00 20 */ stb r0, 0x20(r31) +/* 80350970 0034D8D0 80 7F 00 08 */ lwz r3, 8(r31) +/* 80350974 0034D8D4 4B FF FB CD */ bl sub_80350540 +/* 80350978 0034D8D8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8035097C 0034D8DC 7F E3 FB 78 */ mr r3, r31 +/* 80350980 0034D8E0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80350984 0034D8E4 7C 08 03 A6 */ mtlr r0 +/* 80350988 0034D8E8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8035098C 0034D8EC 4E 80 00 20 */ blr + +.global AddPuddle__16CMediumAllocPoolFUiPvPvi +AddPuddle__16CMediumAllocPoolFUiPvPvi: +/* 80350990 0034D8F0 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80350994 0034D8F4 7C 08 02 A6 */ mflr r0 +/* 80350998 0034D8F8 90 01 00 44 */ stw r0, 0x44(r1) +/* 8035099C 0034D8FC 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 803509A0 0034D900 7C 7F 1B 78 */ mr r31, r3 +/* 803509A4 0034D904 38 61 00 08 */ addi r3, r1, 8 +/* 803509A8 0034D908 4B FF FF 65 */ bl __ct__18SMediumAllocPuddleFUiPvPv +/* 803509AC 0034D90C 7F E3 FB 78 */ mr r3, r31 +/* 803509B0 0034D910 38 81 00 08 */ addi r4, r1, 8 +/* 803509B4 0034D914 48 00 00 39 */ bl sub_803509ec +/* 803509B8 0034D918 38 61 00 08 */ addi r3, r1, 8 +/* 803509BC 0034D91C 38 80 FF FF */ li r4, -1 +/* 803509C0 0034D920 4B FF FE E9 */ bl __dt__18SMediumAllocPuddleFv +/* 803509C4 0034D924 80 1F 00 08 */ lwz r0, 8(r31) +/* 803509C8 0034D928 90 1F 00 18 */ stw r0, 0x18(r31) +/* 803509CC 0034D92C 80 7F 00 18 */ lwz r3, 0x18(r31) +/* 803509D0 0034D930 80 03 00 00 */ lwz r0, 0(r3) +/* 803509D4 0034D934 90 1F 00 18 */ stw r0, 0x18(r31) +/* 803509D8 0034D938 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 803509DC 0034D93C 80 01 00 44 */ lwz r0, 0x44(r1) +/* 803509E0 0034D940 7C 08 03 A6 */ mtlr r0 +/* 803509E4 0034D944 38 21 00 40 */ addi r1, r1, 0x40 +/* 803509E8 0034D948 4E 80 00 20 */ blr + +.global sub_803509ec +sub_803509ec: +/* 803509EC 0034D94C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803509F0 0034D950 7C 08 02 A6 */ mflr r0 +/* 803509F4 0034D954 7C 85 23 78 */ mr r5, r4 +/* 803509F8 0034D958 90 01 00 14 */ stw r0, 0x14(r1) +/* 803509FC 0034D95C 80 83 00 08 */ lwz r4, 8(r3) +/* 80350A00 0034D960 48 00 00 15 */ bl "do_insert_before__Q24rstl53list<18SMediumAllocPuddle,Q24rstl17rmemory_allocator>FPQ34rstl53list<18SMediumAllocPuddle,Q24rstl17rmemory_allocator>4nodeRC18SMediumAllocPuddle" +/* 80350A04 0034D964 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80350A08 0034D968 7C 08 03 A6 */ mtlr r0 +/* 80350A0C 0034D96C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80350A10 0034D970 4E 80 00 20 */ blr + +.global "do_insert_before__Q24rstl53list<18SMediumAllocPuddle,Q24rstl17rmemory_allocator>FPQ34rstl53list<18SMediumAllocPuddle,Q24rstl17rmemory_allocator>4nodeRC18SMediumAllocPuddle" +"do_insert_before__Q24rstl53list<18SMediumAllocPuddle,Q24rstl17rmemory_allocator>FPQ34rstl53list<18SMediumAllocPuddle,Q24rstl17rmemory_allocator>4nodeRC18SMediumAllocPuddle": +/* 80350A14 0034D974 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80350A18 0034D978 7C 08 02 A6 */ mflr r0 +/* 80350A1C 0034D97C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80350A20 0034D980 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80350A24 0034D984 7C 9F 23 78 */ mr r31, r4 +/* 80350A28 0034D988 3C 80 80 3E */ lis r4, lbl_803D8240@ha +/* 80350A2C 0034D98C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80350A30 0034D990 7C 7E 1B 78 */ mr r30, r3 +/* 80350A34 0034D994 38 84 82 40 */ addi r4, r4, lbl_803D8240@l +/* 80350A38 0034D998 38 60 00 2C */ li r3, 0x2c +/* 80350A3C 0034D99C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80350A40 0034D9A0 93 81 00 10 */ stw r28, 0x10(r1) +/* 80350A44 0034D9A4 7C BC 2B 78 */ mr r28, r5 +/* 80350A48 0034D9A8 38 A0 00 00 */ li r5, 0 +/* 80350A4C 0034D9AC 83 BF 00 00 */ lwz r29, 0(r31) +/* 80350A50 0034D9B0 4B FC 4D C9 */ bl __nwa__FUlPCcPCc +/* 80350A54 0034D9B4 28 03 00 00 */ cmplwi r3, 0 +/* 80350A58 0034D9B8 41 82 00 0C */ beq lbl_80350A64 +/* 80350A5C 0034D9BC 93 A3 00 00 */ stw r29, 0(r3) +/* 80350A60 0034D9C0 93 E3 00 04 */ stw r31, 4(r3) +lbl_80350A64: +/* 80350A64 0034D9C4 34 A3 00 08 */ addic. r5, r3, 8 +/* 80350A68 0034D9C8 41 82 00 54 */ beq lbl_80350ABC +/* 80350A6C 0034D9CC 88 9C 00 00 */ lbz r4, 0(r28) +/* 80350A70 0034D9D0 38 00 00 00 */ li r0, 0 +/* 80350A74 0034D9D4 98 85 00 00 */ stb r4, 0(r5) +/* 80350A78 0034D9D8 80 9C 00 04 */ lwz r4, 4(r28) +/* 80350A7C 0034D9DC 90 85 00 04 */ stw r4, 4(r5) +/* 80350A80 0034D9E0 98 1C 00 00 */ stb r0, 0(r28) +/* 80350A84 0034D9E4 80 1C 00 08 */ lwz r0, 8(r28) +/* 80350A88 0034D9E8 90 05 00 08 */ stw r0, 8(r5) +/* 80350A8C 0034D9EC 80 1C 00 0C */ lwz r0, 0xc(r28) +/* 80350A90 0034D9F0 90 05 00 0C */ stw r0, 0xc(r5) +/* 80350A94 0034D9F4 80 1C 00 10 */ lwz r0, 0x10(r28) +/* 80350A98 0034D9F8 90 05 00 10 */ stw r0, 0x10(r5) +/* 80350A9C 0034D9FC 80 1C 00 14 */ lwz r0, 0x14(r28) +/* 80350AA0 0034DA00 90 05 00 14 */ stw r0, 0x14(r5) +/* 80350AA4 0034DA04 80 1C 00 18 */ lwz r0, 0x18(r28) +/* 80350AA8 0034DA08 90 05 00 18 */ stw r0, 0x18(r5) +/* 80350AAC 0034DA0C 80 1C 00 1C */ lwz r0, 0x1c(r28) +/* 80350AB0 0034DA10 90 05 00 1C */ stw r0, 0x1c(r5) +/* 80350AB4 0034DA14 88 1C 00 20 */ lbz r0, 0x20(r28) +/* 80350AB8 0034DA18 98 05 00 20 */ stb r0, 0x20(r5) +lbl_80350ABC: +/* 80350ABC 0034DA1C 80 1E 00 04 */ lwz r0, 4(r30) +/* 80350AC0 0034DA20 7C 1F 00 40 */ cmplw r31, r0 +/* 80350AC4 0034DA24 40 82 00 08 */ bne lbl_80350ACC +/* 80350AC8 0034DA28 90 7E 00 04 */ stw r3, 4(r30) +lbl_80350ACC: +/* 80350ACC 0034DA2C 80 83 00 00 */ lwz r4, 0(r3) +/* 80350AD0 0034DA30 90 64 00 04 */ stw r3, 4(r4) +/* 80350AD4 0034DA34 80 83 00 04 */ lwz r4, 4(r3) +/* 80350AD8 0034DA38 90 64 00 00 */ stw r3, 0(r4) +/* 80350ADC 0034DA3C 80 9E 00 14 */ lwz r4, 0x14(r30) +/* 80350AE0 0034DA40 38 04 00 01 */ addi r0, r4, 1 +/* 80350AE4 0034DA44 90 1E 00 14 */ stw r0, 0x14(r30) +/* 80350AE8 0034DA48 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80350AEC 0034DA4C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80350AF0 0034DA50 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80350AF4 0034DA54 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80350AF8 0034DA58 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80350AFC 0034DA5C 7C 08 03 A6 */ mtlr r0 +/* 80350B00 0034DA60 38 21 00 20 */ addi r1, r1, 0x20 +/* 80350B04 0034DA64 4E 80 00 20 */ blr + +.global GetNumBlocksAvailable__16CMediumAllocPoolFv +GetNumBlocksAvailable__16CMediumAllocPoolFv: +/* 80350B08 0034DA68 80 83 00 04 */ lwz r4, 4(r3) +/* 80350B0C 0034DA6C 38 A0 00 00 */ li r5, 0 +/* 80350B10 0034DA70 80 63 00 08 */ lwz r3, 8(r3) +/* 80350B14 0034DA74 48 00 00 10 */ b lbl_80350B24 +lbl_80350B18: +/* 80350B18 0034DA78 80 04 00 1C */ lwz r0, 0x1c(r4) +/* 80350B1C 0034DA7C 80 84 00 04 */ lwz r4, 4(r4) +/* 80350B20 0034DA80 7C A5 02 14 */ add r5, r5, r0 +lbl_80350B24: +/* 80350B24 0034DA84 7C 04 18 40 */ cmplw r4, r3 +/* 80350B28 0034DA88 40 82 FF F0 */ bne lbl_80350B18 +/* 80350B2C 0034DA8C 7C A3 2B 78 */ mr r3, r5 +/* 80350B30 0034DA90 4E 80 00 20 */ blr + +.global GetTotalEntries__16CMediumAllocPoolFv +GetTotalEntries__16CMediumAllocPoolFv: +/* 80350B34 0034DA94 80 83 00 04 */ lwz r4, 4(r3) +/* 80350B38 0034DA98 38 A0 00 00 */ li r5, 0 +/* 80350B3C 0034DA9C 80 63 00 08 */ lwz r3, 8(r3) +/* 80350B40 0034DAA0 48 00 00 10 */ b lbl_80350B50 +lbl_80350B44: +/* 80350B44 0034DAA4 80 04 00 24 */ lwz r0, 0x24(r4) +/* 80350B48 0034DAA8 80 84 00 04 */ lwz r4, 4(r4) +/* 80350B4C 0034DAAC 7C A5 02 14 */ add r5, r5, r0 +lbl_80350B50: +/* 80350B50 0034DAB0 7C 04 18 40 */ cmplw r4, r3 +/* 80350B54 0034DAB4 40 82 FF F0 */ bne lbl_80350B44 +/* 80350B58 0034DAB8 7C A3 2B 78 */ mr r3, r5 +/* 80350B5C 0034DABC 4E 80 00 20 */ blr + +.global GetNumAllocs__16CMediumAllocPoolFv +GetNumAllocs__16CMediumAllocPoolFv: +/* 80350B60 0034DAC0 80 83 00 04 */ lwz r4, 4(r3) +/* 80350B64 0034DAC4 38 A0 00 00 */ li r5, 0 +/* 80350B68 0034DAC8 80 63 00 08 */ lwz r3, 8(r3) +/* 80350B6C 0034DACC 48 00 00 10 */ b lbl_80350B7C +lbl_80350B70: +/* 80350B70 0034DAD0 80 04 00 20 */ lwz r0, 0x20(r4) +/* 80350B74 0034DAD4 80 84 00 04 */ lwz r4, 4(r4) +/* 80350B78 0034DAD8 7C A5 02 14 */ add r5, r5, r0 +lbl_80350B7C: +/* 80350B7C 0034DADC 7C 04 18 40 */ cmplw r4, r3 +/* 80350B80 0034DAE0 40 82 FF F0 */ bne lbl_80350B70 +/* 80350B84 0034DAE4 7C A3 2B 78 */ mr r3, r5 +/* 80350B88 0034DAE8 4E 80 00 20 */ blr + +.global Free__16CMediumAllocPoolFPCv +Free__16CMediumAllocPoolFPCv: +/* 80350B8C 0034DAEC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80350B90 0034DAF0 7C 08 02 A6 */ mflr r0 +/* 80350B94 0034DAF4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80350B98 0034DAF8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80350B9C 0034DAFC 93 C1 00 08 */ stw r30, 8(r1) +/* 80350BA0 0034DB00 7C 7E 1B 78 */ mr r30, r3 +/* 80350BA4 0034DB04 83 E3 00 04 */ lwz r31, 4(r3) +/* 80350BA8 0034DB08 80 C3 00 08 */ lwz r6, 8(r3) +/* 80350BAC 0034DB0C 48 00 00 68 */ b lbl_80350C14 +lbl_80350BB0: +/* 80350BB0 0034DB10 38 7F 00 08 */ addi r3, r31, 8 +/* 80350BB4 0034DB14 80 BF 00 0C */ lwz r5, 0xc(r31) +/* 80350BB8 0034DB18 80 1F 00 24 */ lwz r0, 0x24(r31) +/* 80350BBC 0034DB1C 7C A5 20 50 */ subf r5, r5, r4 +/* 80350BC0 0034DB20 54 00 28 34 */ slwi r0, r0, 5 +/* 80350BC4 0034DB24 7C 05 00 40 */ cmplw r5, r0 +/* 80350BC8 0034DB28 40 80 00 48 */ bge lbl_80350C10 +/* 80350BCC 0034DB2C 4B FF FA 41 */ bl sub_8035060c +/* 80350BD0 0034DB30 80 1F 00 20 */ lwz r0, 0x20(r31) +/* 80350BD4 0034DB34 28 00 00 00 */ cmplwi r0, 0 +/* 80350BD8 0034DB38 40 82 00 30 */ bne lbl_80350C08 +/* 80350BDC 0034DB3C 88 1F 00 28 */ lbz r0, 0x28(r31) +/* 80350BE0 0034DB40 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80350BE4 0034DB44 41 82 00 24 */ beq lbl_80350C08 +/* 80350BE8 0034DB48 80 1E 00 18 */ lwz r0, 0x18(r30) +/* 80350BEC 0034DB4C 7C 00 F8 40 */ cmplw r0, r31 +/* 80350BF0 0034DB50 40 82 00 0C */ bne lbl_80350BFC +/* 80350BF4 0034DB54 80 1E 00 04 */ lwz r0, 4(r30) +/* 80350BF8 0034DB58 90 1E 00 18 */ stw r0, 0x18(r30) +lbl_80350BFC: +/* 80350BFC 0034DB5C 7F C3 F3 78 */ mr r3, r30 +/* 80350C00 0034DB60 7F E4 FB 78 */ mr r4, r31 +/* 80350C04 0034DB64 48 00 01 8D */ bl "erase__Q24rstl53list<18SMediumAllocPuddle,Q24rstl17rmemory_allocator>FRCQ34rstl53list<18SMediumAllocPuddle,Q24rstl17rmemory_allocator>8iteratorRCQ34rstl53list<18SMediumAllocPuddle,Q24rstl17rmemory_allocator>8iterator" +lbl_80350C08: +/* 80350C08 0034DB68 38 60 00 02 */ li r3, 2 +/* 80350C0C 0034DB6C 48 00 00 14 */ b lbl_80350C20 +lbl_80350C10: +/* 80350C10 0034DB70 83 FF 00 04 */ lwz r31, 4(r31) +lbl_80350C14: +/* 80350C14 0034DB74 7C 1F 30 40 */ cmplw r31, r6 +/* 80350C18 0034DB78 40 82 FF 98 */ bne lbl_80350BB0 +/* 80350C1C 0034DB7C 38 60 00 01 */ li r3, 1 +lbl_80350C20: +/* 80350C20 0034DB80 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80350C24 0034DB84 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80350C28 0034DB88 83 C1 00 08 */ lwz r30, 8(r1) +/* 80350C2C 0034DB8C 7C 08 03 A6 */ mtlr r0 +/* 80350C30 0034DB90 38 21 00 10 */ addi r1, r1, 0x10 +/* 80350C34 0034DB94 4E 80 00 20 */ blr + +.global Alloc__16CMediumAllocPoolFUi +Alloc__16CMediumAllocPoolFUi: +/* 80350C38 0034DB98 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80350C3C 0034DB9C 7C 08 02 A6 */ mflr r0 +/* 80350C40 0034DBA0 28 04 00 20 */ cmplwi r4, 0x20 +/* 80350C44 0034DBA4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80350C48 0034DBA8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80350C4C 0034DBAC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80350C50 0034DBB0 3B C0 00 01 */ li r30, 1 +/* 80350C54 0034DBB4 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80350C58 0034DBB8 7C 7D 1B 78 */ mr r29, r3 +/* 80350C5C 0034DBBC 80 63 00 18 */ lwz r3, 0x18(r3) +/* 80350C60 0034DBC0 38 63 00 08 */ addi r3, r3, 8 +/* 80350C64 0034DBC4 41 80 00 0C */ blt lbl_80350C70 +/* 80350C68 0034DBC8 38 04 00 1F */ addi r0, r4, 0x1f +/* 80350C6C 0034DBCC 54 1E D9 7E */ srwi r30, r0, 5 +lbl_80350C70: +/* 80350C70 0034DBD0 7F C4 F3 78 */ mr r4, r30 +/* 80350C74 0034DBD4 4B FF FB B5 */ bl FindFree__16CMediumAllocPoolFi +/* 80350C78 0034DBD8 28 03 00 00 */ cmplwi r3, 0 +/* 80350C7C 0034DBDC 40 82 00 44 */ bne lbl_80350CC0 +/* 80350C80 0034DBE0 83 FD 00 04 */ lwz r31, 4(r29) +/* 80350C84 0034DBE4 48 00 00 30 */ b lbl_80350CB4 +lbl_80350C88: +/* 80350C88 0034DBE8 80 1D 00 18 */ lwz r0, 0x18(r29) +/* 80350C8C 0034DBEC 7C 1F 00 40 */ cmplw r31, r0 +/* 80350C90 0034DBF0 41 82 00 20 */ beq lbl_80350CB0 +/* 80350C94 0034DBF4 7F C4 F3 78 */ mr r4, r30 +/* 80350C98 0034DBF8 38 7F 00 08 */ addi r3, r31, 8 +/* 80350C9C 0034DBFC 4B FF FB 8D */ bl FindFree__16CMediumAllocPoolFi +/* 80350CA0 0034DC00 28 03 00 00 */ cmplwi r3, 0 +/* 80350CA4 0034DC04 41 82 00 0C */ beq lbl_80350CB0 +/* 80350CA8 0034DC08 93 FD 00 18 */ stw r31, 0x18(r29) +/* 80350CAC 0034DC0C 48 00 00 14 */ b lbl_80350CC0 +lbl_80350CB0: +/* 80350CB0 0034DC10 83 FF 00 04 */ lwz r31, 4(r31) +lbl_80350CB4: +/* 80350CB4 0034DC14 80 1D 00 08 */ lwz r0, 8(r29) +/* 80350CB8 0034DC18 7C 1F 00 40 */ cmplw r31, r0 +/* 80350CBC 0034DC1C 40 82 FF CC */ bne lbl_80350C88 +lbl_80350CC0: +/* 80350CC0 0034DC20 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80350CC4 0034DC24 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80350CC8 0034DC28 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80350CCC 0034DC2C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80350CD0 0034DC30 7C 08 03 A6 */ mtlr r0 +/* 80350CD4 0034DC34 38 21 00 20 */ addi r1, r1, 0x20 +/* 80350CD8 0034DC38 4E 80 00 20 */ blr + +.global sub_80350cdc +sub_80350cdc: +/* 80350CDC 0034DC3C 80 63 00 14 */ lwz r3, 0x14(r3) +/* 80350CE0 0034DC40 7C 03 00 D0 */ neg r0, r3 +/* 80350CE4 0034DC44 7C 00 1B 78 */ or r0, r0, r3 +/* 80350CE8 0034DC48 54 03 0F FE */ srwi r3, r0, 0x1f +/* 80350CEC 0034DC4C 4E 80 00 20 */ blr + +.global ClearPuddles__16CMediumAllocPoolFv +ClearPuddles__16CMediumAllocPoolFv: +/* 80350CF0 0034DC50 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80350CF4 0034DC54 7C 08 02 A6 */ mflr r0 +/* 80350CF8 0034DC58 90 01 00 14 */ stw r0, 0x14(r1) +/* 80350CFC 0034DC5C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80350D00 0034DC60 93 C1 00 08 */ stw r30, 8(r1) +/* 80350D04 0034DC64 7C 7E 1B 78 */ mr r30, r3 +/* 80350D08 0034DC68 80 03 00 08 */ lwz r0, 8(r3) +/* 80350D0C 0034DC6C 90 03 00 18 */ stw r0, 0x18(r3) +/* 80350D10 0034DC70 80 83 00 04 */ lwz r4, 4(r3) +/* 80350D14 0034DC74 83 E3 00 08 */ lwz r31, 8(r3) +/* 80350D18 0034DC78 7C 83 23 78 */ mr r3, r4 +/* 80350D1C 0034DC7C 48 00 00 08 */ b lbl_80350D24 +lbl_80350D20: +/* 80350D20 0034DC80 80 63 00 04 */ lwz r3, 4(r3) +lbl_80350D24: +/* 80350D24 0034DC84 7C 03 F8 40 */ cmplw r3, r31 +/* 80350D28 0034DC88 40 82 FF F8 */ bne lbl_80350D20 +/* 80350D2C 0034DC8C 48 00 00 10 */ b lbl_80350D3C +lbl_80350D30: +/* 80350D30 0034DC90 7F C3 F3 78 */ mr r3, r30 +/* 80350D34 0034DC94 48 00 00 5D */ bl "erase__Q24rstl53list<18SMediumAllocPuddle,Q24rstl17rmemory_allocator>FRCQ34rstl53list<18SMediumAllocPuddle,Q24rstl17rmemory_allocator>8iteratorRCQ34rstl53list<18SMediumAllocPuddle,Q24rstl17rmemory_allocator>8iterator" +/* 80350D38 0034DC98 7C 64 1B 78 */ mr r4, r3 +lbl_80350D3C: +/* 80350D3C 0034DC9C 7C 04 F8 40 */ cmplw r4, r31 +/* 80350D40 0034DCA0 40 82 FF F0 */ bne lbl_80350D30 +/* 80350D44 0034DCA4 38 00 00 00 */ li r0, 0 +/* 80350D48 0034DCA8 90 0D AA 18 */ stw r0, lbl_805A95D8@sda21(r13) +/* 80350D4C 0034DCAC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80350D50 0034DCB0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80350D54 0034DCB4 83 C1 00 08 */ lwz r30, 8(r1) +/* 80350D58 0034DCB8 7C 08 03 A6 */ mtlr r0 +/* 80350D5C 0034DCBC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80350D60 0034DCC0 4E 80 00 20 */ blr + +.global __ct__16CMediumAllocPoolFv +__ct__16CMediumAllocPoolFv: +/* 80350D64 0034DCC4 38 83 00 0C */ addi r4, r3, 0xc +/* 80350D68 0034DCC8 38 00 00 00 */ li r0, 0 +/* 80350D6C 0034DCCC 90 83 00 04 */ stw r4, 4(r3) +/* 80350D70 0034DCD0 90 83 00 08 */ stw r4, 8(r3) +/* 80350D74 0034DCD4 90 83 00 0C */ stw r4, 0xc(r3) +/* 80350D78 0034DCD8 90 83 00 10 */ stw r4, 0x10(r3) +/* 80350D7C 0034DCDC 90 03 00 14 */ stw r0, 0x14(r3) +/* 80350D80 0034DCE0 80 03 00 04 */ lwz r0, 4(r3) +/* 80350D84 0034DCE4 90 03 00 18 */ stw r0, 0x18(r3) +/* 80350D88 0034DCE8 90 6D AA 18 */ stw r3, lbl_805A95D8@sda21(r13) +/* 80350D8C 0034DCEC 4E 80 00 20 */ blr + +.global "erase__Q24rstl53list<18SMediumAllocPuddle,Q24rstl17rmemory_allocator>FRCQ34rstl53list<18SMediumAllocPuddle,Q24rstl17rmemory_allocator>8iteratorRCQ34rstl53list<18SMediumAllocPuddle,Q24rstl17rmemory_allocator>8iterator" +"erase__Q24rstl53list<18SMediumAllocPuddle,Q24rstl17rmemory_allocator>FRCQ34rstl53list<18SMediumAllocPuddle,Q24rstl17rmemory_allocator>8iteratorRCQ34rstl53list<18SMediumAllocPuddle,Q24rstl17rmemory_allocator>8iterator": +/* 80350D90 0034DCF0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80350D94 0034DCF4 7C 08 02 A6 */ mflr r0 +/* 80350D98 0034DCF8 90 01 00 24 */ stw r0, 0x24(r1) +/* 80350D9C 0034DCFC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80350DA0 0034DD00 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80350DA4 0034DD04 7C 9E 23 78 */ mr r30, r4 +/* 80350DA8 0034DD08 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80350DAC 0034DD0C 7C 7D 1B 78 */ mr r29, r3 +/* 80350DB0 0034DD10 80 03 00 04 */ lwz r0, 4(r3) +/* 80350DB4 0034DD14 83 E4 00 04 */ lwz r31, 4(r4) +/* 80350DB8 0034DD18 7C 1E 00 40 */ cmplw r30, r0 +/* 80350DBC 0034DD1C 40 82 00 08 */ bne lbl_80350DC4 +/* 80350DC0 0034DD20 93 FD 00 04 */ stw r31, 4(r29) +lbl_80350DC4: +/* 80350DC4 0034DD24 80 1E 00 04 */ lwz r0, 4(r30) +/* 80350DC8 0034DD28 38 7E 00 08 */ addi r3, r30, 8 +/* 80350DCC 0034DD2C 80 BE 00 00 */ lwz r5, 0(r30) +/* 80350DD0 0034DD30 38 80 FF FF */ li r4, -1 +/* 80350DD4 0034DD34 90 05 00 04 */ stw r0, 4(r5) +/* 80350DD8 0034DD38 80 1E 00 00 */ lwz r0, 0(r30) +/* 80350DDC 0034DD3C 80 BE 00 04 */ lwz r5, 4(r30) +/* 80350DE0 0034DD40 90 05 00 00 */ stw r0, 0(r5) +/* 80350DE4 0034DD44 4B FF FA C5 */ bl __dt__18SMediumAllocPuddleFv +/* 80350DE8 0034DD48 28 1E 00 00 */ cmplwi r30, 0 +/* 80350DEC 0034DD4C 41 82 00 0C */ beq lbl_80350DF8 +/* 80350DF0 0034DD50 7F C3 F3 78 */ mr r3, r30 +/* 80350DF4 0034DD54 4B FC 4B 3D */ bl Free__7CMemoryFPCv +lbl_80350DF8: +/* 80350DF8 0034DD58 80 9D 00 14 */ lwz r4, 0x14(r29) +/* 80350DFC 0034DD5C 7F E3 FB 78 */ mr r3, r31 +/* 80350E00 0034DD60 38 04 FF FF */ addi r0, r4, -1 +/* 80350E04 0034DD64 90 1D 00 14 */ stw r0, 0x14(r29) +/* 80350E08 0034DD68 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80350E0C 0034DD6C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80350E10 0034DD70 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80350E14 0034DD74 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80350E18 0034DD78 7C 08 03 A6 */ mtlr r0 +/* 80350E1C 0034DD7C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80350E20 0034DD80 4E 80 00 20 */ blr diff --git a/asm/Kyoto/Alloc/CMemory.s b/asm/Kyoto/Alloc/CMemory.s new file mode 100644 index 00000000..6072ac63 --- /dev/null +++ b/asm/Kyoto/Alloc/CMemory.s @@ -0,0 +1,340 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __nwa__FUlPCcPCc +__nwa__FUlPCcPCc: +/* 80315818 00312778 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8031581C 0031277C 7C 08 02 A6 */ mflr r0 +/* 80315820 00312780 7C A6 2B 78 */ mr r6, r5 +/* 80315824 00312784 7C 85 23 78 */ mr r5, r4 +/* 80315828 00312788 90 01 00 24 */ stw r0, 0x24(r1) +/* 8031582C 0031278C 38 80 FF FF */ li r4, -1 +/* 80315830 00312790 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80315834 00312794 7C 7F 1B 78 */ mr r31, r3 +/* 80315838 00312798 38 61 00 08 */ addi r3, r1, 8 +/* 8031583C 0031279C 4B FC 0B 99 */ bl __ct__10CCallStackFUiPCcPCc +/* 80315840 003127A0 7C 67 1B 78 */ mr r7, r3 +/* 80315844 003127A4 7F E3 FB 78 */ mr r3, r31 +/* 80315848 003127A8 38 80 00 00 */ li r4, 0 +/* 8031584C 003127AC 38 A0 00 01 */ li r5, 1 +/* 80315850 003127B0 38 C0 00 01 */ li r6, 1 +/* 80315854 003127B4 48 00 01 41 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 80315858 003127B8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8031585C 003127BC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80315860 003127C0 7C 08 03 A6 */ mtlr r0 +/* 80315864 003127C4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80315868 003127C8 4E 80 00 20 */ blr + +.global __nw__FUlPCcPCc +__nw__FUlPCcPCc: +/* 8031586C 003127CC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80315870 003127D0 7C 08 02 A6 */ mflr r0 +/* 80315874 003127D4 7C A6 2B 78 */ mr r6, r5 +/* 80315878 003127D8 7C 85 23 78 */ mr r5, r4 +/* 8031587C 003127DC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80315880 003127E0 38 80 FF FF */ li r4, -1 +/* 80315884 003127E4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80315888 003127E8 7C 7F 1B 78 */ mr r31, r3 +/* 8031588C 003127EC 38 61 00 08 */ addi r3, r1, 8 +/* 80315890 003127F0 4B FC 0B 45 */ bl __ct__10CCallStackFUiPCcPCc +/* 80315894 003127F4 7C 67 1B 78 */ mr r7, r3 +/* 80315898 003127F8 7F E3 FB 78 */ mr r3, r31 +/* 8031589C 003127FC 38 80 00 00 */ li r4, 0 +/* 803158A0 00312800 38 A0 00 01 */ li r5, 1 +/* 803158A4 00312804 38 C0 00 00 */ li r6, 0 +/* 803158A8 00312808 48 00 00 ED */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 803158AC 0031280C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803158B0 00312810 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803158B4 00312814 7C 08 03 A6 */ mtlr r0 +/* 803158B8 00312818 38 21 00 20 */ addi r1, r1, 0x20 +/* 803158BC 0031281C 4E 80 00 20 */ blr + +.global OffsetFakeStatics__7CMemoryFi +OffsetFakeStatics__7CMemoryFi: +/* 803158C0 00312820 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803158C4 00312824 7C 08 02 A6 */ mflr r0 +/* 803158C8 00312828 7C 64 1B 78 */ mr r4, r3 +/* 803158CC 0031282C 90 01 00 14 */ stw r0, 0x14(r1) +/* 803158D0 00312830 80 6D 9C A8 */ lwz r3, lbl_805A8868@sda21(r13) +/* 803158D4 00312834 81 83 00 00 */ lwz r12, 0(r3) +/* 803158D8 00312838 81 8C 00 38 */ lwz r12, 0x38(r12) +/* 803158DC 0031283C 7D 89 03 A6 */ mtctr r12 +/* 803158E0 00312840 4E 80 04 21 */ bctrl +/* 803158E4 00312844 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803158E8 00312848 7C 08 03 A6 */ mtlr r0 +/* 803158EC 0031284C 38 21 00 10 */ addi r1, r1, 0x10 +/* 803158F0 00312850 4E 80 00 20 */ blr + +.global SetOutOfMemoryCallback__7CMemoryFPFPCvUi_CbPCv +SetOutOfMemoryCallback__7CMemoryFPFPCvUi_CbPCv: +/* 803158F4 00312854 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803158F8 00312858 7C 08 02 A6 */ mflr r0 +/* 803158FC 0031285C 7C 85 23 78 */ mr r5, r4 +/* 80315900 00312860 90 01 00 14 */ stw r0, 0x14(r1) +/* 80315904 00312864 7C 60 1B 78 */ mr r0, r3 +/* 80315908 00312868 7C 04 03 78 */ mr r4, r0 +/* 8031590C 0031286C 80 6D 9C A8 */ lwz r3, lbl_805A8868@sda21(r13) +/* 80315910 00312870 81 83 00 00 */ lwz r12, 0(r3) +/* 80315914 00312874 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 80315918 00312878 7D 89 03 A6 */ mtctr r12 +/* 8031591C 0031287C 4E 80 04 21 */ bctrl +/* 80315920 00312880 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80315924 00312884 7C 08 03 A6 */ mtlr r0 +/* 80315928 00312888 38 21 00 10 */ addi r1, r1, 0x10 +/* 8031592C 0031288C 4E 80 00 20 */ blr + +.global Free__7CMemoryFPCv +Free__7CMemoryFPCv: +/* 80315930 00312890 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80315934 00312894 7C 08 02 A6 */ mflr r0 +/* 80315938 00312898 90 01 00 24 */ stw r0, 0x24(r1) +/* 8031593C 0031289C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80315940 003128A0 7C 7F 1B 78 */ mr r31, r3 +/* 80315944 003128A4 48 06 BD 1D */ bl OSDisableInterrupts +/* 80315948 003128A8 7C 03 00 D0 */ neg r0, r3 +/* 8031594C 003128AC 28 1F 00 00 */ cmplwi r31, 0 +/* 80315950 003128B0 7C 00 1B 78 */ or r0, r0, r3 +/* 80315954 003128B4 54 00 0F FE */ srwi r0, r0, 0x1f +/* 80315958 003128B8 98 01 00 08 */ stb r0, 8(r1) +/* 8031595C 003128BC 41 82 00 1C */ beq lbl_80315978 +/* 80315960 003128C0 80 6D 9C A8 */ lwz r3, lbl_805A8868@sda21(r13) +/* 80315964 003128C4 7F E4 FB 78 */ mr r4, r31 +/* 80315968 003128C8 81 83 00 00 */ lwz r12, 0(r3) +/* 8031596C 003128CC 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 80315970 003128D0 7D 89 03 A6 */ mtctr r12 +/* 80315974 003128D4 4E 80 04 21 */ bctrl +lbl_80315978: +/* 80315978 003128D8 88 61 00 08 */ lbz r3, 8(r1) +/* 8031597C 003128DC 48 06 BD 0D */ bl OSRestoreInterrupts +/* 80315980 003128E0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80315984 003128E4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80315988 003128E8 7C 08 03 A6 */ mtlr r0 +/* 8031598C 003128EC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80315990 003128F0 4E 80 00 20 */ blr + +.global Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack: +/* 80315994 003128F4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80315998 003128F8 7C 08 02 A6 */ mflr r0 +/* 8031599C 003128FC 90 01 00 34 */ stw r0, 0x34(r1) +/* 803159A0 00312900 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 803159A4 00312904 7C 7B 1B 78 */ mr r27, r3 +/* 803159A8 00312908 7C 9C 23 78 */ mr r28, r4 +/* 803159AC 0031290C 7C BD 2B 78 */ mr r29, r5 +/* 803159B0 00312910 7C DE 33 78 */ mr r30, r6 +/* 803159B4 00312914 7C FF 3B 78 */ mr r31, r7 +/* 803159B8 00312918 48 06 BC A9 */ bl OSDisableInterrupts +/* 803159BC 0031291C 7C 03 00 D0 */ neg r0, r3 +/* 803159C0 00312920 7F 64 DB 78 */ mr r4, r27 +/* 803159C4 00312924 7C 00 1B 78 */ or r0, r0, r3 +/* 803159C8 00312928 80 6D 9C A8 */ lwz r3, lbl_805A8868@sda21(r13) +/* 803159CC 0031292C 54 00 0F FE */ srwi r0, r0, 0x1f +/* 803159D0 00312930 7F 85 E3 78 */ mr r5, r28 +/* 803159D4 00312934 81 83 00 00 */ lwz r12, 0(r3) +/* 803159D8 00312938 7F A6 EB 78 */ mr r6, r29 +/* 803159DC 0031293C 7F C7 F3 78 */ mr r7, r30 +/* 803159E0 00312940 7F E8 FB 78 */ mr r8, r31 +/* 803159E4 00312944 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 803159E8 00312948 98 01 00 08 */ stb r0, 8(r1) +/* 803159EC 0031294C 7D 89 03 A6 */ mtctr r12 +/* 803159F0 00312950 4E 80 04 21 */ bctrl +/* 803159F4 00312954 7C 7F 1B 79 */ or. r31, r3, r3 +/* 803159F8 00312958 40 82 00 18 */ bne lbl_80315A10 +/* 803159FC 0031295C 3C 60 80 3D */ lis r3, lbl_803D7808@ha +/* 80315A00 00312960 7F 64 DB 78 */ mr r4, r27 +/* 80315A04 00312964 38 63 78 08 */ addi r3, r3, lbl_803D7808@l +/* 80315A08 00312968 4C C6 31 82 */ crclr 6 +/* 80315A0C 0031296C 4B FC 0E 21 */ bl rs_debugger_printf__FPCce +lbl_80315A10: +/* 80315A10 00312970 88 61 00 08 */ lbz r3, 8(r1) +/* 80315A14 00312974 48 06 BC 75 */ bl OSRestoreInterrupts +/* 80315A18 00312978 7F E3 FB 78 */ mr r3, r31 +/* 80315A1C 0031297C BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 80315A20 00312980 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80315A24 00312984 7C 08 03 A6 */ mtlr r0 +/* 80315A28 00312988 38 21 00 30 */ addi r1, r1, 0x30 +/* 80315A2C 0031298C 4E 80 00 20 */ blr + +.global Shutdown__7CMemoryFv +Shutdown__7CMemoryFv: +/* 80315A30 00312990 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80315A34 00312994 7C 08 02 A6 */ mflr r0 +/* 80315A38 00312998 90 01 00 64 */ stw r0, 0x64(r1) +/* 80315A3C 0031299C 38 00 00 00 */ li r0, 0 +/* 80315A40 003129A0 38 61 00 08 */ addi r3, r1, 8 +/* 80315A44 003129A4 80 8D 9C A8 */ lwz r4, lbl_805A8868@sda21(r13) +/* 80315A48 003129A8 98 0D A8 A0 */ stb r0, lbl_805A9460@sda21(r13) +/* 80315A4C 003129AC 81 84 00 00 */ lwz r12, 0(r4) +/* 80315A50 003129B0 81 8C 00 3C */ lwz r12, 0x3c(r12) +/* 80315A54 003129B4 7D 89 03 A6 */ mtctr r12 +/* 80315A58 003129B8 4E 80 04 21 */ bctrl +/* 80315A5C 003129BC 80 01 00 10 */ lwz r0, 0x10(r1) +/* 80315A60 003129C0 28 00 00 00 */ cmplwi r0, 0 +/* 80315A64 003129C4 41 82 00 34 */ beq lbl_80315A98 +/* 80315A68 003129C8 38 00 00 00 */ li r0, 0 +/* 80315A6C 003129CC 3C 60 80 31 */ lis r3, cmemory_enum_alloc_cb__FRCQ210IAllocator10SAllocInfoPCv@ha +/* 80315A70 003129D0 38 83 5A BC */ addi r4, r3, cmemory_enum_alloc_cb__FRCQ210IAllocator10SAllocInfoPCv@l +/* 80315A74 003129D4 90 0D A8 A4 */ stw r0, lbl_805A9464@sda21(r13) +/* 80315A78 003129D8 80 6D 9C A8 */ lwz r3, lbl_805A8868@sda21(r13) +/* 80315A7C 003129DC 38 A0 00 00 */ li r5, 0 +/* 80315A80 003129E0 90 0D A8 A8 */ stw r0, lbl_805A9468@sda21(r13) +/* 80315A84 003129E4 38 C0 00 00 */ li r6, 0 +/* 80315A88 003129E8 81 83 00 00 */ lwz r12, 0(r3) +/* 80315A8C 003129EC 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 80315A90 003129F0 7D 89 03 A6 */ mtctr r12 +/* 80315A94 003129F4 4E 80 04 21 */ bctrl +lbl_80315A98: +/* 80315A98 003129F8 80 6D 9C A8 */ lwz r3, lbl_805A8868@sda21(r13) +/* 80315A9C 003129FC 81 83 00 00 */ lwz r12, 0(r3) +/* 80315AA0 00312A00 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 80315AA4 00312A04 7D 89 03 A6 */ mtctr r12 +/* 80315AA8 00312A08 4E 80 04 21 */ bctrl +/* 80315AAC 00312A0C 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80315AB0 00312A10 7C 08 03 A6 */ mtlr r0 +/* 80315AB4 00312A14 38 21 00 60 */ addi r1, r1, 0x60 +/* 80315AB8 00312A18 4E 80 00 20 */ blr + +.global cmemory_enum_alloc_cb__FRCQ210IAllocator10SAllocInfoPCv +cmemory_enum_alloc_cb__FRCQ210IAllocator10SAllocInfoPCv: +/* 80315ABC 00312A1C 88 03 00 08 */ lbz r0, 8(r3) +/* 80315AC0 00312A20 28 00 00 00 */ cmplwi r0, 0 +/* 80315AC4 00312A24 41 82 00 2C */ beq lbl_80315AF0 +/* 80315AC8 00312A28 88 03 00 09 */ lbz r0, 9(r3) +/* 80315ACC 00312A2C 28 00 00 00 */ cmplwi r0, 0 +/* 80315AD0 00312A30 40 82 00 20 */ bne lbl_80315AF0 +/* 80315AD4 00312A34 80 AD A8 A4 */ lwz r5, lbl_805A9464@sda21(r13) +/* 80315AD8 00312A38 80 8D A8 A8 */ lwz r4, lbl_805A9468@sda21(r13) +/* 80315ADC 00312A3C 80 03 00 04 */ lwz r0, 4(r3) +/* 80315AE0 00312A40 38 65 00 01 */ addi r3, r5, 1 +/* 80315AE4 00312A44 90 6D A8 A4 */ stw r3, lbl_805A9464@sda21(r13) +/* 80315AE8 00312A48 7C 04 02 14 */ add r0, r4, r0 +/* 80315AEC 00312A4C 90 0D A8 A8 */ stw r0, lbl_805A9468@sda21(r13) +lbl_80315AF0: +/* 80315AF0 00312A50 38 60 00 01 */ li r3, 1 +/* 80315AF4 00312A54 4E 80 00 20 */ blr + +.global SetAllocator__7CMemoryFR10COsContextR10IAllocator +SetAllocator__7CMemoryFR10COsContextR10IAllocator: +/* 80315AF8 00312A58 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80315AFC 00312A5C 7C 08 02 A6 */ mflr r0 +/* 80315B00 00312A60 90 01 00 14 */ stw r0, 0x14(r1) +/* 80315B04 00312A64 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80315B08 00312A68 7C 9F 23 78 */ mr r31, r4 +/* 80315B0C 00312A6C 93 C1 00 08 */ stw r30, 8(r1) +/* 80315B10 00312A70 7C 7E 1B 78 */ mr r30, r3 +/* 80315B14 00312A74 80 0D 9C A8 */ lwz r0, lbl_805A8868@sda21(r13) +/* 80315B18 00312A78 7C 00 F8 40 */ cmplw r0, r31 +/* 80315B1C 00312A7C 41 82 00 3C */ beq lbl_80315B58 +/* 80315B20 00312A80 28 00 00 00 */ cmplwi r0, 0 +/* 80315B24 00312A84 41 82 00 18 */ beq lbl_80315B3C +/* 80315B28 00312A88 7C 03 03 78 */ mr r3, r0 +/* 80315B2C 00312A8C 81 83 00 00 */ lwz r12, 0(r3) +/* 80315B30 00312A90 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 80315B34 00312A94 7D 89 03 A6 */ mtctr r12 +/* 80315B38 00312A98 4E 80 04 21 */ bctrl +lbl_80315B3C: +/* 80315B3C 00312A9C 93 ED 9C A8 */ stw r31, lbl_805A8868@sda21(r13) +/* 80315B40 00312AA0 7F E3 FB 78 */ mr r3, r31 +/* 80315B44 00312AA4 7F C4 F3 78 */ mr r4, r30 +/* 80315B48 00312AA8 81 9F 00 00 */ lwz r12, 0(r31) +/* 80315B4C 00312AAC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80315B50 00312AB0 7D 89 03 A6 */ mtctr r12 +/* 80315B54 00312AB4 4E 80 04 21 */ bctrl +lbl_80315B58: +/* 80315B58 00312AB8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80315B5C 00312ABC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80315B60 00312AC0 83 C1 00 08 */ lwz r30, 8(r1) +/* 80315B64 00312AC4 7C 08 03 A6 */ mtlr r0 +/* 80315B68 00312AC8 38 21 00 10 */ addi r1, r1, 0x10 +/* 80315B6C 00312ACC 4E 80 00 20 */ blr + +.global Startup__7CMemoryFR10COsContext +Startup__7CMemoryFR10COsContext: +/* 80315B70 00312AD0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80315B74 00312AD4 7C 08 02 A6 */ mflr r0 +/* 80315B78 00312AD8 7C 64 1B 78 */ mr r4, r3 +/* 80315B7C 00312ADC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80315B80 00312AE0 80 6D 9C A8 */ lwz r3, lbl_805A8868@sda21(r13) +/* 80315B84 00312AE4 81 83 00 00 */ lwz r12, 0(r3) +/* 80315B88 00312AE8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80315B8C 00312AEC 7D 89 03 A6 */ mtctr r12 +/* 80315B90 00312AF0 4E 80 04 21 */ bctrl +/* 80315B94 00312AF4 98 6D A8 A0 */ stb r3, lbl_805A9460@sda21(r13) +/* 80315B98 00312AF8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80315B9C 00312AFC 7C 08 03 A6 */ mtlr r0 +/* 80315BA0 00312B00 38 21 00 10 */ addi r1, r1, 0x10 +/* 80315BA4 00312B04 4E 80 00 20 */ blr + +.global GetGameAllocator__10CMemorySysFv +GetGameAllocator__10CMemorySysFv: +/* 80315BA8 00312B08 3C 60 80 4C */ lis r3, lbl_804BFD64@ha +/* 80315BAC 00312B0C 38 63 FD 64 */ addi r3, r3, lbl_804BFD64@l +/* 80315BB0 00312B10 4E 80 00 20 */ blr + +.global __dt__10CMemorySysFv +__dt__10CMemorySysFv: +/* 80315BB4 00312B14 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80315BB8 00312B18 7C 08 02 A6 */ mflr r0 +/* 80315BBC 00312B1C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80315BC0 00312B20 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80315BC4 00312B24 7C 9F 23 78 */ mr r31, r4 +/* 80315BC8 00312B28 93 C1 00 08 */ stw r30, 8(r1) +/* 80315BCC 00312B2C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80315BD0 00312B30 41 82 00 18 */ beq lbl_80315BE8 +/* 80315BD4 00312B34 4B FF FE 5D */ bl Shutdown__7CMemoryFv +/* 80315BD8 00312B38 7F E0 07 35 */ extsh. r0, r31 +/* 80315BDC 00312B3C 40 81 00 0C */ ble lbl_80315BE8 +/* 80315BE0 00312B40 7F C3 F3 78 */ mr r3, r30 +/* 80315BE4 00312B44 4B FF FD 4D */ bl Free__7CMemoryFPCv +lbl_80315BE8: +/* 80315BE8 00312B48 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80315BEC 00312B4C 7F C3 F3 78 */ mr r3, r30 +/* 80315BF0 00312B50 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80315BF4 00312B54 83 C1 00 08 */ lwz r30, 8(r1) +/* 80315BF8 00312B58 7C 08 03 A6 */ mtlr r0 +/* 80315BFC 00312B5C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80315C00 00312B60 4E 80 00 20 */ blr + +.global __ct__10CMemorySysFR10COsContextR10IAllocator +__ct__10CMemorySysFR10COsContextR10IAllocator: +/* 80315C04 00312B64 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80315C08 00312B68 7C 08 02 A6 */ mflr r0 +/* 80315C0C 00312B6C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80315C10 00312B70 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80315C14 00312B74 7C BF 2B 78 */ mr r31, r5 +/* 80315C18 00312B78 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80315C1C 00312B7C 7C 9E 23 78 */ mr r30, r4 +/* 80315C20 00312B80 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80315C24 00312B84 7C 7D 1B 78 */ mr r29, r3 +/* 80315C28 00312B88 7F C3 F3 78 */ mr r3, r30 +/* 80315C2C 00312B8C 4B FF FF 45 */ bl Startup__7CMemoryFR10COsContext +/* 80315C30 00312B90 7F C3 F3 78 */ mr r3, r30 +/* 80315C34 00312B94 7F E4 FB 78 */ mr r4, r31 +/* 80315C38 00312B98 4B FF FE C1 */ bl SetAllocator__7CMemoryFR10COsContextR10IAllocator +/* 80315C3C 00312B9C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80315C40 00312BA0 7F A3 EB 78 */ mr r3, r29 +/* 80315C44 00312BA4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80315C48 00312BA8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80315C4C 00312BAC 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80315C50 00312BB0 7C 08 03 A6 */ mtlr r0 +/* 80315C54 00312BB4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80315C58 00312BB8 4E 80 00 20 */ blr + +.global __sinit_CMemory_cpp +__sinit_CMemory_cpp: +/* 80315C5C 00312BBC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80315C60 00312BC0 7C 08 02 A6 */ mflr r0 +/* 80315C64 00312BC4 3C 60 80 4C */ lis r3, lbl_804BFD64@ha +/* 80315C68 00312BC8 90 01 00 14 */ stw r0, 0x14(r1) +/* 80315C6C 00312BCC 38 63 FD 64 */ addi r3, r3, lbl_804BFD64@l +/* 80315C70 00312BD0 48 03 C9 5D */ bl __ct__14CGameAllocatorFv +/* 80315C74 00312BD4 3C 80 80 35 */ lis r4, __dt__14CGameAllocatorFv@ha +/* 80315C78 00312BD8 3C A0 80 4C */ lis r5, lbl_804BFD58@ha +/* 80315C7C 00312BDC 38 84 25 44 */ addi r4, r4, __dt__14CGameAllocatorFv@l +/* 80315C80 00312BE0 38 A5 FD 58 */ addi r5, r5, lbl_804BFD58@l +/* 80315C84 00312BE4 48 07 3A 09 */ bl __register_global_object +/* 80315C88 00312BE8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80315C8C 00312BEC 7C 08 03 A6 */ mtlr r0 +/* 80315C90 00312BF0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80315C94 00312BF4 4E 80 00 20 */ blr diff --git a/asm/Kyoto/Alloc/CSmallAllocPool.s b/asm/Kyoto/Alloc/CSmallAllocPool.s new file mode 100644 index 00000000..4605cc8d --- /dev/null +++ b/asm/Kyoto/Alloc/CSmallAllocPool.s @@ -0,0 +1,237 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global Free__15CSmallAllocPoolFPCv +Free__15CSmallAllocPoolFPCv: +/* 80350E24 0034DD84 80 03 00 00 */ lwz r0, 0(r3) +/* 80350E28 0034DD88 38 C0 00 04 */ li r6, 4 +/* 80350E2C 0034DD8C 80 A3 00 04 */ lwz r5, 4(r3) +/* 80350E30 0034DD90 7C 80 20 50 */ subf r4, r0, r4 +/* 80350E34 0034DD94 80 03 00 18 */ lwz r0, 0x18(r3) +/* 80350E38 0034DD98 7C 84 16 70 */ srawi r4, r4, 2 +/* 80350E3C 0034DD9C 7D 04 01 94 */ addze r8, r4 +/* 80350E40 0034DDA0 55 04 07 FE */ clrlwi r4, r8, 0x1f +/* 80350E44 0034DDA4 55 09 F8 7E */ srwi r9, r8, 1 +/* 80350E48 0034DDA8 7C E4 00 D0 */ neg r7, r4 +/* 80350E4C 0034DDAC 7C 85 48 AE */ lbzx r4, r5, r9 +/* 80350E50 0034DDB0 7C C5 38 78 */ andc r5, r6, r7 +/* 80350E54 0034DDB4 7C 84 2E 30 */ sraw r4, r4, r5 +/* 80350E58 0034DDB8 54 84 07 3E */ clrlwi r4, r4, 0x1c +/* 80350E5C 0034DDBC 7C 00 22 14 */ add r0, r0, r4 +/* 80350E60 0034DDC0 90 03 00 18 */ stw r0, 0x18(r3) +/* 80350E64 0034DDC4 7C 85 23 78 */ mr r5, r4 +/* 80350E68 0034DDC8 80 83 00 1C */ lwz r4, 0x1c(r3) +/* 80350E6C 0034DDCC 38 04 FF FF */ addi r0, r4, -1 +/* 80350E70 0034DDD0 90 03 00 1C */ stw r0, 0x1c(r3) +/* 80350E74 0034DDD4 91 03 00 14 */ stw r8, 0x14(r3) +/* 80350E78 0034DDD8 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80350E7C 0034DDDC 7C 08 00 40 */ cmplw r8, r0 +/* 80350E80 0034DDE0 40 82 00 0C */ bne lbl_80350E8C +/* 80350E84 0034DDE4 38 00 FF FF */ li r0, -1 +/* 80350E88 0034DDE8 90 03 00 10 */ stw r0, 0x10(r3) +lbl_80350E8C: +/* 80350E8C 0034DDEC 80 63 00 04 */ lwz r3, 4(r3) +/* 80350E90 0034DDF0 38 00 00 00 */ li r0, 0 +/* 80350E94 0034DDF4 7C 63 4A 14 */ add r3, r3, r9 +/* 80350E98 0034DDF8 48 00 00 10 */ b lbl_80350EA8 +lbl_80350E9C: +/* 80350E9C 0034DDFC 98 03 00 00 */ stb r0, 0(r3) +/* 80350EA0 0034DE00 38 A5 FF FE */ addi r5, r5, -2 +/* 80350EA4 0034DE04 38 63 00 01 */ addi r3, r3, 1 +lbl_80350EA8: +/* 80350EA8 0034DE08 2C 05 00 00 */ cmpwi r5, 0 +/* 80350EAC 0034DE0C 40 82 FF F0 */ bne lbl_80350E9C +/* 80350EB0 0034DE10 38 60 00 01 */ li r3, 1 +/* 80350EB4 0034DE14 4E 80 00 20 */ blr + +.global Alloc__15CSmallAllocPoolFUi +Alloc__15CSmallAllocPoolFUi: +/* 80350EB8 0034DE18 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80350EBC 0034DE1C 7C 08 02 A6 */ mflr r0 +/* 80350EC0 0034DE20 28 04 00 04 */ cmplwi r4, 4 +/* 80350EC4 0034DE24 90 01 00 14 */ stw r0, 0x14(r1) +/* 80350EC8 0034DE28 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80350ECC 0034DE2C 7C 7F 1B 78 */ mr r31, r3 +/* 80350ED0 0034DE30 38 60 00 01 */ li r3, 1 +/* 80350ED4 0034DE34 93 C1 00 08 */ stw r30, 8(r1) +/* 80350ED8 0034DE38 41 80 00 0C */ blt lbl_80350EE4 +/* 80350EDC 0034DE3C 38 04 00 03 */ addi r0, r4, 3 +/* 80350EE0 0034DE40 54 03 F0 BE */ srwi r3, r0, 2 +lbl_80350EE4: +/* 80350EE4 0034DE44 54 60 07 FF */ clrlwi. r0, r3, 0x1f +/* 80350EE8 0034DE48 7C 7E 1B 78 */ mr r30, r3 +/* 80350EEC 0034DE4C 41 82 00 08 */ beq lbl_80350EF4 +/* 80350EF0 0034DE50 3B C3 00 01 */ addi r30, r3, 1 +lbl_80350EF4: +/* 80350EF4 0034DE54 7F E3 FB 78 */ mr r3, r31 +/* 80350EF8 0034DE58 7F C4 F3 78 */ mr r4, r30 +/* 80350EFC 0034DE5C 48 00 00 D5 */ bl FindFree__15CSmallAllocPoolFi +/* 80350F00 0034DE60 28 03 00 00 */ cmplwi r3, 0 +/* 80350F04 0034DE64 40 82 00 0C */ bne lbl_80350F10 +/* 80350F08 0034DE68 38 60 00 00 */ li r3, 0 +/* 80350F0C 0034DE6C 48 00 00 AC */ b lbl_80350FB8 +lbl_80350F10: +/* 80350F10 0034DE70 38 9E FF FE */ addi r4, r30, -2 +/* 80350F14 0034DE74 80 DF 00 04 */ lwz r6, 4(r31) +/* 80350F18 0034DE78 54 80 0F FE */ srwi r0, r4, 0x1f +/* 80350F1C 0034DE7C 57 C5 20 36 */ slwi r5, r30, 4 +/* 80350F20 0034DE80 7C 00 22 14 */ add r0, r0, r4 +/* 80350F24 0034DE84 7C 86 18 50 */ subf r4, r6, r3 +/* 80350F28 0034DE88 7C 07 0E 71 */ srawi. r7, r0, 1 +/* 80350F2C 0034DE8C 80 DF 00 00 */ lwz r6, 0(r31) +/* 80350F30 0034DE90 60 A0 00 0F */ ori r0, r5, 0xf +/* 80350F34 0034DE94 54 85 18 38 */ slwi r5, r4, 3 +/* 80350F38 0034DE98 98 03 00 00 */ stb r0, 0(r3) +/* 80350F3C 0034DE9C 7C A6 2A 14 */ add r5, r6, r5 +/* 80350F40 0034DEA0 38 C3 00 01 */ addi r6, r3, 1 +/* 80350F44 0034DEA4 7C E4 3B 78 */ mr r4, r7 +/* 80350F48 0034DEA8 38 60 00 FF */ li r3, 0xff +/* 80350F4C 0034DEAC 41 82 00 50 */ beq lbl_80350F9C +/* 80350F50 0034DEB0 54 E0 E8 FF */ rlwinm. r0, r7, 0x1d, 3, 0x1f +/* 80350F54 0034DEB4 7C 09 03 A6 */ mtctr r0 +/* 80350F58 0034DEB8 41 82 00 34 */ beq lbl_80350F8C +lbl_80350F5C: +/* 80350F5C 0034DEBC 98 66 00 00 */ stb r3, 0(r6) +/* 80350F60 0034DEC0 98 66 00 01 */ stb r3, 1(r6) +/* 80350F64 0034DEC4 98 66 00 02 */ stb r3, 2(r6) +/* 80350F68 0034DEC8 98 66 00 03 */ stb r3, 3(r6) +/* 80350F6C 0034DECC 98 66 00 04 */ stb r3, 4(r6) +/* 80350F70 0034DED0 98 66 00 05 */ stb r3, 5(r6) +/* 80350F74 0034DED4 98 66 00 06 */ stb r3, 6(r6) +/* 80350F78 0034DED8 98 66 00 07 */ stb r3, 7(r6) +/* 80350F7C 0034DEDC 38 C6 00 08 */ addi r6, r6, 8 +/* 80350F80 0034DEE0 42 00 FF DC */ bdnz lbl_80350F5C +/* 80350F84 0034DEE4 70 84 00 07 */ andi. r4, r4, 7 +/* 80350F88 0034DEE8 41 82 00 14 */ beq lbl_80350F9C +lbl_80350F8C: +/* 80350F8C 0034DEEC 7C 89 03 A6 */ mtctr r4 +lbl_80350F90: +/* 80350F90 0034DEF0 98 66 00 00 */ stb r3, 0(r6) +/* 80350F94 0034DEF4 38 C6 00 01 */ addi r6, r6, 1 +/* 80350F98 0034DEF8 42 00 FF F8 */ bdnz lbl_80350F90 +lbl_80350F9C: +/* 80350F9C 0034DEFC 80 1F 00 18 */ lwz r0, 0x18(r31) +/* 80350FA0 0034DF00 7C A3 2B 78 */ mr r3, r5 +/* 80350FA4 0034DF04 7C 1E 00 50 */ subf r0, r30, r0 +/* 80350FA8 0034DF08 90 1F 00 18 */ stw r0, 0x18(r31) +/* 80350FAC 0034DF0C 80 9F 00 1C */ lwz r4, 0x1c(r31) +/* 80350FB0 0034DF10 38 04 00 01 */ addi r0, r4, 1 +/* 80350FB4 0034DF14 90 1F 00 1C */ stw r0, 0x1c(r31) +lbl_80350FB8: +/* 80350FB8 0034DF18 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80350FBC 0034DF1C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80350FC0 0034DF20 83 C1 00 08 */ lwz r30, 8(r1) +/* 80350FC4 0034DF24 7C 08 03 A6 */ mtlr r0 +/* 80350FC8 0034DF28 38 21 00 10 */ addi r1, r1, 0x10 +/* 80350FCC 0034DF2C 4E 80 00 20 */ blr + +.global FindFree__15CSmallAllocPoolFi +FindFree__15CSmallAllocPoolFi: +/* 80350FD0 0034DF30 80 03 00 0C */ lwz r0, 0xc(r3) +/* 80350FD4 0034DF34 54 85 0F FE */ srwi r5, r4, 0x1f +/* 80350FD8 0034DF38 7C 85 22 14 */ add r4, r5, r4 +/* 80350FDC 0034DF3C 28 00 00 00 */ cmplwi r0, 0 +/* 80350FE0 0034DF40 7C 86 0E 70 */ srawi r6, r4, 1 +/* 80350FE4 0034DF44 40 82 00 0C */ bne lbl_80350FF0 +/* 80350FE8 0034DF48 80 03 00 04 */ lwz r0, 4(r3) +/* 80350FEC 0034DF4C 90 03 00 0C */ stw r0, 0xc(r3) +lbl_80350FF0: +/* 80350FF0 0034DF50 80 03 00 08 */ lwz r0, 8(r3) +/* 80350FF4 0034DF54 80 E3 00 0C */ lwz r7, 0xc(r3) +/* 80350FF8 0034DF58 80 A3 00 04 */ lwz r5, 4(r3) +/* 80350FFC 0034DF5C 54 00 F8 7E */ srwi r0, r0, 1 +/* 80351000 0034DF60 7C E9 3B 78 */ mr r9, r7 +/* 80351004 0034DF64 7D 05 02 14 */ add r8, r5, r0 +lbl_80351008: +/* 80351008 0034DF68 88 09 00 00 */ lbz r0, 0(r9) +/* 8035100C 0034DF6C 28 00 00 00 */ cmplwi r0, 0 +/* 80351010 0034DF70 40 82 00 0C */ bne lbl_8035101C +/* 80351014 0034DF74 7C 09 40 40 */ cmplw r9, r8 +/* 80351018 0034DF78 40 82 00 2C */ bne lbl_80351044 +lbl_8035101C: +/* 8035101C 0034DF7C 7C 09 40 40 */ cmplw r9, r8 +/* 80351020 0034DF80 40 82 00 0C */ bne lbl_8035102C +/* 80351024 0034DF84 7C A9 2B 78 */ mr r9, r5 +/* 80351028 0034DF88 48 00 00 98 */ b lbl_803510C0 +lbl_8035102C: +/* 8035102C 0034DF8C 7C 04 26 70 */ srawi r4, r0, 4 +/* 80351030 0034DF90 54 80 0F FE */ srwi r0, r4, 0x1f +/* 80351034 0034DF94 7C 00 22 14 */ add r0, r0, r4 +/* 80351038 0034DF98 7C 00 0E 70 */ srawi r0, r0, 1 +/* 8035103C 0034DF9C 7D 29 02 14 */ add r9, r9, r0 +/* 80351040 0034DFA0 48 00 00 80 */ b lbl_803510C0 +lbl_80351044: +/* 80351044 0034DFA4 7C 89 32 14 */ add r4, r9, r6 +/* 80351048 0034DFA8 39 49 00 01 */ addi r10, r9, 1 +/* 8035104C 0034DFAC 48 00 00 14 */ b lbl_80351060 +lbl_80351050: +/* 80351050 0034DFB0 88 0A 00 00 */ lbz r0, 0(r10) +/* 80351054 0034DFB4 28 00 00 00 */ cmplwi r0, 0 +/* 80351058 0034DFB8 40 82 00 20 */ bne lbl_80351078 +/* 8035105C 0034DFBC 39 4A 00 01 */ addi r10, r10, 1 +lbl_80351060: +/* 80351060 0034DFC0 7C 0A 38 40 */ cmplw r10, r7 +/* 80351064 0034DFC4 41 82 00 14 */ beq lbl_80351078 +/* 80351068 0034DFC8 7C 0A 40 40 */ cmplw r10, r8 +/* 8035106C 0034DFCC 41 82 00 0C */ beq lbl_80351078 +/* 80351070 0034DFD0 7C 0A 20 40 */ cmplw r10, r4 +/* 80351074 0034DFD4 40 82 FF DC */ bne lbl_80351050 +lbl_80351078: +/* 80351078 0034DFD8 7C 0A 20 40 */ cmplw r10, r4 +/* 8035107C 0034DFDC 40 82 00 20 */ bne lbl_8035109C +/* 80351080 0034DFE0 7C 0A 40 40 */ cmplw r10, r8 +/* 80351084 0034DFE4 40 82 00 0C */ bne lbl_80351090 +/* 80351088 0034DFE8 90 A3 00 0C */ stw r5, 0xc(r3) +/* 8035108C 0034DFEC 48 00 00 08 */ b lbl_80351094 +lbl_80351090: +/* 80351090 0034DFF0 91 23 00 0C */ stw r9, 0xc(r3) +lbl_80351094: +/* 80351094 0034DFF4 7D 23 4B 78 */ mr r3, r9 +/* 80351098 0034DFF8 4E 80 00 20 */ blr +lbl_8035109C: +/* 8035109C 0034DFFC 7C 0A 38 40 */ cmplw r10, r7 +/* 803510A0 0034E000 40 82 00 0C */ bne lbl_803510AC +/* 803510A4 0034E004 38 60 00 00 */ li r3, 0 +/* 803510A8 0034E008 4E 80 00 20 */ blr +lbl_803510AC: +/* 803510AC 0034E00C 7C 0A 40 40 */ cmplw r10, r8 +/* 803510B0 0034E010 40 82 00 0C */ bne lbl_803510BC +/* 803510B4 0034E014 7C A9 2B 78 */ mr r9, r5 +/* 803510B8 0034E018 48 00 00 08 */ b lbl_803510C0 +lbl_803510BC: +/* 803510BC 0034E01C 7D 49 53 78 */ mr r9, r10 +lbl_803510C0: +/* 803510C0 0034E020 7C 09 38 40 */ cmplw r9, r7 +/* 803510C4 0034E024 40 82 FF 44 */ bne lbl_80351008 +/* 803510C8 0034E028 38 60 00 00 */ li r3, 0 +/* 803510CC 0034E02C 4E 80 00 20 */ blr + +.global __ct__15CSmallAllocPoolFUiPvPv +__ct__15CSmallAllocPoolFUiPvPv: +/* 803510D0 0034E030 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803510D4 0034E034 7C 08 02 A6 */ mflr r0 +/* 803510D8 0034E038 7C 88 23 78 */ mr r8, r4 +/* 803510DC 0034E03C 38 E0 00 00 */ li r7, 0 +/* 803510E0 0034E040 90 01 00 14 */ stw r0, 0x14(r1) +/* 803510E4 0034E044 38 00 FF FF */ li r0, -1 +/* 803510E8 0034E048 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803510EC 0034E04C 7C 7F 1B 78 */ mr r31, r3 +/* 803510F0 0034E050 90 A3 00 00 */ stw r5, 0(r3) +/* 803510F4 0034E054 54 85 F8 7E */ srwi r5, r4, 1 +/* 803510F8 0034E058 38 80 00 00 */ li r4, 0 +/* 803510FC 0034E05C 90 C3 00 04 */ stw r6, 4(r3) +/* 80351100 0034E060 7C C3 33 78 */ mr r3, r6 +/* 80351104 0034E064 91 1F 00 08 */ stw r8, 8(r31) +/* 80351108 0034E068 90 FF 00 0C */ stw r7, 0xc(r31) +/* 8035110C 0034E06C 90 1F 00 10 */ stw r0, 0x10(r31) +/* 80351110 0034E070 90 1F 00 14 */ stw r0, 0x14(r31) +/* 80351114 0034E074 91 1F 00 18 */ stw r8, 0x18(r31) +/* 80351118 0034E078 90 FF 00 1C */ stw r7, 0x1c(r31) +/* 8035111C 0034E07C 4B CB 22 8D */ bl memset +/* 80351120 0034E080 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80351124 0034E084 7F E3 FB 78 */ mr r3, r31 +/* 80351128 0034E088 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8035112C 0034E08C 7C 08 03 A6 */ mtlr r0 +/* 80351130 0034E090 38 21 00 10 */ addi r1, r1, 0x10 +/* 80351134 0034E094 4E 80 00 20 */ blr diff --git a/asm/Kyoto/Alloc/IAllocator.s b/asm/Kyoto/Alloc/IAllocator.s new file mode 100644 index 00000000..218f957d --- /dev/null +++ b/asm/Kyoto/Alloc/IAllocator.s @@ -0,0 +1,66 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __dt__10IAllocatorFv +__dt__10IAllocatorFv: +/* 80315C98 00312BF8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80315C9C 00312BFC 7C 08 02 A6 */ mflr r0 +/* 80315CA0 00312C00 90 01 00 14 */ stw r0, 0x14(r1) +/* 80315CA4 00312C04 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80315CA8 00312C08 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80315CAC 00312C0C 41 82 00 1C */ beq lbl_80315CC8 +/* 80315CB0 00312C10 3C A0 80 3F */ lis r5, lbl_803ED9C0@ha +/* 80315CB4 00312C14 7C 80 07 35 */ extsh. r0, r4 +/* 80315CB8 00312C18 38 05 D9 C0 */ addi r0, r5, lbl_803ED9C0@l +/* 80315CBC 00312C1C 90 1F 00 00 */ stw r0, 0(r31) +/* 80315CC0 00312C20 40 81 00 08 */ ble lbl_80315CC8 +/* 80315CC4 00312C24 4B FF FC 6D */ bl Free__7CMemoryFPCv +lbl_80315CC8: +/* 80315CC8 00312C28 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80315CCC 00312C2C 7F E3 FB 78 */ mr r3, r31 +/* 80315CD0 00312C30 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80315CD4 00312C34 7C 08 03 A6 */ mtlr r0 +/* 80315CD8 00312C38 38 21 00 10 */ addi r1, r1, 0x10 +/* 80315CDC 00312C3C 4E 80 00 20 */ blr + +.global __ct__Q210IAllocator8SMetricsFUiUiUiUiUiUiUiUiUiUiUiUiUiUiUiUiUiUiUiUiUiUi +__ct__Q210IAllocator8SMetricsFUiUiUiUiUiUiUiUiUiUiUiUiUiUiUiUiUiUiUiUiUiUi: +/* 80315CE0 00312C40 90 83 00 00 */ stw r4, 0(r3) +/* 80315CE4 00312C44 80 01 00 08 */ lwz r0, 8(r1) +/* 80315CE8 00312C48 90 A3 00 04 */ stw r5, 4(r3) +/* 80315CEC 00312C4C 81 81 00 0C */ lwz r12, 0xc(r1) +/* 80315CF0 00312C50 90 C3 00 08 */ stw r6, 8(r3) +/* 80315CF4 00312C54 81 61 00 10 */ lwz r11, 0x10(r1) +/* 80315CF8 00312C58 90 E3 00 0C */ stw r7, 0xc(r3) +/* 80315CFC 00312C5C 80 E1 00 14 */ lwz r7, 0x14(r1) +/* 80315D00 00312C60 91 03 00 10 */ stw r8, 0x10(r3) +/* 80315D04 00312C64 80 C1 00 18 */ lwz r6, 0x18(r1) +/* 80315D08 00312C68 91 23 00 14 */ stw r9, 0x14(r3) +/* 80315D0C 00312C6C 80 A1 00 1C */ lwz r5, 0x1c(r1) +/* 80315D10 00312C70 91 43 00 18 */ stw r10, 0x18(r3) +/* 80315D14 00312C74 80 81 00 20 */ lwz r4, 0x20(r1) +/* 80315D18 00312C78 90 03 00 1C */ stw r0, 0x1c(r3) +/* 80315D1C 00312C7C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80315D20 00312C80 91 83 00 20 */ stw r12, 0x20(r3) +/* 80315D24 00312C84 81 21 00 28 */ lwz r9, 0x28(r1) +/* 80315D28 00312C88 91 63 00 24 */ stw r11, 0x24(r3) +/* 80315D2C 00312C8C 81 01 00 2C */ lwz r8, 0x2c(r1) +/* 80315D30 00312C90 90 E3 00 28 */ stw r7, 0x28(r3) +/* 80315D34 00312C94 80 E1 00 30 */ lwz r7, 0x30(r1) +/* 80315D38 00312C98 90 C3 00 2C */ stw r6, 0x2c(r3) +/* 80315D3C 00312C9C 80 C1 00 34 */ lwz r6, 0x34(r1) +/* 80315D40 00312CA0 90 A3 00 30 */ stw r5, 0x30(r3) +/* 80315D44 00312CA4 80 A1 00 38 */ lwz r5, 0x38(r1) +/* 80315D48 00312CA8 90 83 00 34 */ stw r4, 0x34(r3) +/* 80315D4C 00312CAC 80 81 00 3C */ lwz r4, 0x3c(r1) +/* 80315D50 00312CB0 90 03 00 38 */ stw r0, 0x38(r3) +/* 80315D54 00312CB4 80 01 00 40 */ lwz r0, 0x40(r1) +/* 80315D58 00312CB8 91 23 00 3C */ stw r9, 0x3c(r3) +/* 80315D5C 00312CBC 91 03 00 40 */ stw r8, 0x40(r3) +/* 80315D60 00312CC0 90 E3 00 44 */ stw r7, 0x44(r3) +/* 80315D64 00312CC4 90 C3 00 48 */ stw r6, 0x48(r3) +/* 80315D68 00312CC8 90 A3 00 4C */ stw r5, 0x4c(r3) +/* 80315D6C 00312CCC 90 83 00 50 */ stw r4, 0x50(r3) +/* 80315D70 00312CD0 90 03 00 54 */ stw r0, 0x54(r3) +/* 80315D74 00312CD4 4E 80 00 20 */ blr diff --git a/asm/Kyoto/Animation/CAdditiveAnimPlayback.s b/asm/Kyoto/Animation/CAdditiveAnimPlayback.s new file mode 100644 index 00000000..bbbc7dba --- /dev/null +++ b/asm/Kyoto/Animation/CAdditiveAnimPlayback.s @@ -0,0 +1,296 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global AddToSegStatementSet__21CAdditiveAnimPlaybackCFRC10CSegIdListRC15CCharLayoutInfoR16CSegStatementSet +AddToSegStatementSet__21CAdditiveAnimPlaybackCFRC10CSegIdListRC15CCharLayoutInfoR16CSegStatementSet: +/* 8035DB10 0035AA70 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8035DB14 0035AA74 7C 08 02 A6 */ mflr r0 +/* 8035DB18 0035AA78 90 01 00 44 */ stw r0, 0x44(r1) +/* 8035DB1C 0035AA7C BF 21 00 24 */ stmw r25, 0x24(r1) +/* 8035DB20 0035AA80 7C 79 1B 78 */ mr r25, r3 +/* 8035DB24 0035AA84 7C 9A 23 78 */ mr r26, r4 +/* 8035DB28 0035AA88 7C BB 2B 78 */ mr r27, r5 +/* 8035DB2C 0035AA8C 7C DC 33 78 */ mr r28, r6 +/* 8035DB30 0035AA90 38 61 00 0C */ addi r3, r1, 0xc +/* 8035DB34 0035AA94 4B F9 F8 39 */ bl __ct__21CStackSegStatementSetFv +/* 8035DB38 0035AA98 80 79 00 08 */ lwz r3, 8(r25) +/* 8035DB3C 0035AA9C 7F 44 D3 78 */ mr r4, r26 +/* 8035DB40 0035AAA0 38 A1 00 0C */ addi r5, r1, 0xc +/* 8035DB44 0035AAA4 80 63 00 00 */ lwz r3, 0(r3) +/* 8035DB48 0035AAA8 81 83 00 00 */ lwz r12, 0(r3) +/* 8035DB4C 0035AAAC 81 8C 00 44 */ lwz r12, 0x44(r12) +/* 8035DB50 0035AAB0 7D 89 03 A6 */ mtctr r12 +/* 8035DB54 0035AAB4 4E 80 04 21 */ bctrl +/* 8035DB58 0035AAB8 83 DA 00 04 */ lwz r30, 4(r26) +/* 8035DB5C 0035AABC 3B A0 00 00 */ li r29, 0 +/* 8035DB60 0035AAC0 3B E0 00 01 */ li r31, 1 +/* 8035DB64 0035AAC4 48 00 00 54 */ b lbl_8035DBB8 +lbl_8035DB68: +/* 8035DB68 0035AAC8 80 DA 00 0C */ lwz r6, 0xc(r26) +/* 8035DB6C 0035AACC 7F 64 DB 78 */ mr r4, r27 +/* 8035DB70 0035AAD0 38 61 00 14 */ addi r3, r1, 0x14 +/* 8035DB74 0035AAD4 38 A1 00 08 */ addi r5, r1, 8 +/* 8035DB78 0035AAD8 7C 06 E8 AE */ lbzx r0, r6, r29 +/* 8035DB7C 0035AADC 98 01 00 08 */ stb r0, 8(r1) +/* 8035DB80 0035AAE0 4B DC DE 21 */ bl GetFromParentUnrotated__15CCharLayoutInfoCFRC6CSegId +/* 8035DB84 0035AAE4 80 7A 00 0C */ lwz r3, 0xc(r26) +/* 8035DB88 0035AAE8 80 81 00 10 */ lwz r4, 0x10(r1) +/* 8035DB8C 0035AAEC 7C 03 E8 AE */ lbzx r0, r3, r29 +/* 8035DB90 0035AAF0 3B BD 00 01 */ addi r29, r29, 1 +/* 8035DB94 0035AAF4 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 8035DB98 0035AAF8 54 00 28 34 */ slwi r0, r0, 5 +/* 8035DB9C 0035AAFC 7C 64 02 14 */ add r3, r4, r0 +/* 8035DBA0 0035AB00 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 8035DBA4 0035AB04 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 8035DBA8 0035AB08 D0 03 00 14 */ stfs f0, 0x14(r3) +/* 8035DBAC 0035AB0C C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 8035DBB0 0035AB10 D0 03 00 18 */ stfs f0, 0x18(r3) +/* 8035DBB4 0035AB14 93 E3 00 1C */ stw r31, 0x1c(r3) +lbl_8035DBB8: +/* 8035DBB8 0035AB18 7C 1D F0 40 */ cmplw r29, r30 +/* 8035DBBC 0035AB1C 41 80 FF AC */ blt lbl_8035DB68 +/* 8035DBC0 0035AB20 C0 39 00 10 */ lfs f1, 0x10(r25) +/* 8035DBC4 0035AB24 7F 83 E3 78 */ mr r3, r28 +/* 8035DBC8 0035AB28 7F 44 D3 78 */ mr r4, r26 +/* 8035DBCC 0035AB2C 7F 65 DB 78 */ mr r5, r27 +/* 8035DBD0 0035AB30 38 C1 00 0C */ addi r6, r1, 0xc +/* 8035DBD4 0035AB34 4B F9 F8 65 */ bl Add__16CSegStatementSetFRC10CSegIdListRC15CCharLayoutInfoRC16CSegStatementSetf +/* 8035DBD8 0035AB38 38 61 00 0C */ addi r3, r1, 0xc +/* 8035DBDC 0035AB3C 38 80 FF FF */ li r4, -1 +/* 8035DBE0 0035AB40 4B F9 F6 CD */ bl __dt__21CStackSegStatementSetFv +/* 8035DBE4 0035AB44 BB 21 00 24 */ lmw r25, 0x24(r1) +/* 8035DBE8 0035AB48 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8035DBEC 0035AB4C 7C 08 03 A6 */ mtlr r0 +/* 8035DBF0 0035AB50 38 21 00 40 */ addi r1, r1, 0x40 +/* 8035DBF4 0035AB54 4E 80 00 20 */ blr + +.global Update__21CAdditiveAnimPlaybackFf +Update__21CAdditiveAnimPlaybackFf: +/* 8035DBF8 0035AB58 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8035DBFC 0035AB5C 80 03 00 1C */ lwz r0, 0x1c(r3) +/* 8035DC00 0035AB60 2C 00 00 01 */ cmpwi r0, 1 +/* 8035DC04 0035AB64 40 82 00 88 */ bne lbl_8035DC8C +/* 8035DC08 0035AB68 C0 43 00 00 */ lfs f2, 0(r3) +/* 8035DC0C 0035AB6C D0 41 00 10 */ stfs f2, 0x10(r1) +/* 8035DC10 0035AB70 C0 03 00 18 */ lfs f0, 0x18(r3) +/* 8035DC14 0035AB74 EC 00 08 2A */ fadds f0, f0, f1 +/* 8035DC18 0035AB78 FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 8035DC1C 0035AB7C D0 01 00 0C */ stfs f0, 0xc(r1) +/* 8035DC20 0035AB80 40 80 00 0C */ bge lbl_8035DC2C +/* 8035DC24 0035AB84 38 81 00 0C */ addi r4, r1, 0xc +/* 8035DC28 0035AB88 48 00 00 08 */ b lbl_8035DC30 +lbl_8035DC2C: +/* 8035DC2C 0035AB8C 38 81 00 10 */ addi r4, r1, 0x10 +lbl_8035DC30: +/* 8035DC30 0035AB90 C0 24 00 00 */ lfs f1, 0(r4) +/* 8035DC34 0035AB94 C0 02 CD 40 */ lfs f0, lbl_805AEA60@sda21(r2) +/* 8035DC38 0035AB98 D0 23 00 18 */ stfs f1, 0x18(r3) +/* 8035DC3C 0035AB9C C0 41 00 10 */ lfs f2, 0x10(r1) +/* 8035DC40 0035ABA0 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8035DC44 0035ABA4 40 81 00 18 */ ble lbl_8035DC5C +/* 8035DC48 0035ABA8 C0 03 00 18 */ lfs f0, 0x18(r3) +/* 8035DC4C 0035ABAC C0 23 00 0C */ lfs f1, 0xc(r3) +/* 8035DC50 0035ABB0 EC 00 10 24 */ fdivs f0, f0, f2 +/* 8035DC54 0035ABB4 EC 01 00 32 */ fmuls f0, f1, f0 +/* 8035DC58 0035ABB8 48 00 00 08 */ b lbl_8035DC60 +lbl_8035DC5C: +/* 8035DC5C 0035ABBC C0 03 00 0C */ lfs f0, 0xc(r3) +lbl_8035DC60: +/* 8035DC60 0035ABC0 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 8035DC64 0035ABC4 C0 02 CD 44 */ lfs f0, lbl_805AEA64@sda21(r2) +/* 8035DC68 0035ABC8 C0 43 00 10 */ lfs f2, 0x10(r3) +/* 8035DC6C 0035ABCC C0 23 00 0C */ lfs f1, 0xc(r3) +/* 8035DC70 0035ABD0 EC 22 08 28 */ fsubs f1, f2, f1 +/* 8035DC74 0035ABD4 FC 20 0A 10 */ fabs f1, f1 +/* 8035DC78 0035ABD8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8035DC7C 0035ABDC 40 80 00 8C */ bge lbl_8035DD08 +/* 8035DC80 0035ABE0 38 00 00 03 */ li r0, 3 +/* 8035DC84 0035ABE4 90 03 00 1C */ stw r0, 0x1c(r3) +/* 8035DC88 0035ABE8 48 00 00 80 */ b lbl_8035DD08 +lbl_8035DC8C: +/* 8035DC8C 0035ABEC 2C 00 00 02 */ cmpwi r0, 2 +/* 8035DC90 0035ABF0 40 82 00 78 */ bne lbl_8035DD08 +/* 8035DC94 0035ABF4 C0 43 00 18 */ lfs f2, 0x18(r3) +/* 8035DC98 0035ABF8 C0 0D 9E 48 */ lfs f0, lbl_805A8A08@sda21(r13) +/* 8035DC9C 0035ABFC EC 22 08 28 */ fsubs f1, f2, f1 +/* 8035DCA0 0035AC00 C0 43 00 04 */ lfs f2, 4(r3) +/* 8035DCA4 0035AC04 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 8035DCA8 0035AC08 D0 21 00 08 */ stfs f1, 8(r1) +/* 8035DCAC 0035AC0C 40 80 00 0C */ bge lbl_8035DCB8 +/* 8035DCB0 0035AC10 38 81 00 08 */ addi r4, r1, 8 +/* 8035DCB4 0035AC14 48 00 00 08 */ b lbl_8035DCBC +lbl_8035DCB8: +/* 8035DCB8 0035AC18 38 8D 9E 48 */ addi r4, r13, lbl_805A8A08@sda21 +lbl_8035DCBC: +/* 8035DCBC 0035AC1C C0 02 CD 40 */ lfs f0, lbl_805AEA60@sda21(r2) +/* 8035DCC0 0035AC20 C0 24 00 00 */ lfs f1, 0(r4) +/* 8035DCC4 0035AC24 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8035DCC8 0035AC28 D0 23 00 18 */ stfs f1, 0x18(r3) +/* 8035DCCC 0035AC2C 40 81 00 14 */ ble lbl_8035DCE0 +/* 8035DCD0 0035AC30 C0 03 00 18 */ lfs f0, 0x18(r3) +/* 8035DCD4 0035AC34 C0 23 00 0C */ lfs f1, 0xc(r3) +/* 8035DCD8 0035AC38 EC 00 10 24 */ fdivs f0, f0, f2 +/* 8035DCDC 0035AC3C EC 01 00 32 */ fmuls f0, f1, f0 +lbl_8035DCE0: +/* 8035DCE0 0035AC40 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 8035DCE4 0035AC44 C0 22 CD 40 */ lfs f1, lbl_805AEA60@sda21(r2) +/* 8035DCE8 0035AC48 C0 43 00 10 */ lfs f2, 0x10(r3) +/* 8035DCEC 0035AC4C C0 02 CD 44 */ lfs f0, lbl_805AEA64@sda21(r2) +/* 8035DCF0 0035AC50 EC 22 08 28 */ fsubs f1, f2, f1 +/* 8035DCF4 0035AC54 FC 20 0A 10 */ fabs f1, f1 +/* 8035DCF8 0035AC58 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8035DCFC 0035AC5C 40 80 00 0C */ bge lbl_8035DD08 +/* 8035DD00 0035AC60 38 00 00 04 */ li r0, 4 +/* 8035DD04 0035AC64 90 03 00 1C */ stw r0, 0x1c(r3) +lbl_8035DD08: +/* 8035DD08 0035AC68 38 21 00 20 */ addi r1, r1, 0x20 +/* 8035DD0C 0035AC6C 4E 80 00 20 */ blr + +.global FadeOut__21CAdditiveAnimPlaybackFv +FadeOut__21CAdditiveAnimPlaybackFv: +/* 8035DD10 0035AC70 80 03 00 1C */ lwz r0, 0x1c(r3) +/* 8035DD14 0035AC74 2C 00 00 04 */ cmpwi r0, 4 +/* 8035DD18 0035AC78 41 82 00 0C */ beq lbl_8035DD24 +/* 8035DD1C 0035AC7C 2C 00 00 03 */ cmpwi r0, 3 +/* 8035DD20 0035AC80 40 82 00 10 */ bne lbl_8035DD30 +lbl_8035DD24: +/* 8035DD24 0035AC84 C0 03 00 04 */ lfs f0, 4(r3) +/* 8035DD28 0035AC88 D0 03 00 18 */ stfs f0, 0x18(r3) +/* 8035DD2C 0035AC8C 48 00 00 24 */ b lbl_8035DD50 +lbl_8035DD30: +/* 8035DD30 0035AC90 2C 00 00 01 */ cmpwi r0, 1 +/* 8035DD34 0035AC94 40 82 00 1C */ bne lbl_8035DD50 +/* 8035DD38 0035AC98 C0 43 00 18 */ lfs f2, 0x18(r3) +/* 8035DD3C 0035AC9C C0 23 00 00 */ lfs f1, 0(r3) +/* 8035DD40 0035ACA0 C0 03 00 04 */ lfs f0, 4(r3) +/* 8035DD44 0035ACA4 EC 22 08 24 */ fdivs f1, f2, f1 +/* 8035DD48 0035ACA8 EC 01 00 32 */ fmuls f0, f1, f0 +/* 8035DD4C 0035ACAC D0 03 00 18 */ stfs f0, 0x18(r3) +lbl_8035DD50: +/* 8035DD50 0035ACB0 C0 23 00 04 */ lfs f1, 4(r3) +/* 8035DD54 0035ACB4 C0 02 CD 40 */ lfs f0, lbl_805AEA60@sda21(r2) +/* 8035DD58 0035ACB8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8035DD5C 0035ACBC 40 81 00 10 */ ble lbl_8035DD6C +/* 8035DD60 0035ACC0 38 00 00 02 */ li r0, 2 +/* 8035DD64 0035ACC4 90 03 00 1C */ stw r0, 0x1c(r3) +/* 8035DD68 0035ACC8 4E 80 00 20 */ blr +lbl_8035DD6C: +/* 8035DD6C 0035ACCC 38 00 00 04 */ li r0, 4 +/* 8035DD70 0035ACD0 90 03 00 1C */ stw r0, 0x1c(r3) +/* 8035DD74 0035ACD4 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 8035DD78 0035ACD8 4E 80 00 20 */ blr + +.global SetWeight__21CAdditiveAnimPlaybackFf +SetWeight__21CAdditiveAnimPlaybackFf: +/* 8035DD7C 0035ACDC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8035DD80 0035ACE0 FC 00 08 18 */ frsp f0, f1 +/* 8035DD84 0035ACE4 C0 4D 9E 40 */ lfs f2, lbl_805A8A00@sda21(r13) +/* 8035DD88 0035ACE8 D0 21 00 08 */ stfs f1, 8(r1) +/* 8035DD8C 0035ACEC FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8035DD90 0035ACF0 40 80 00 0C */ bge lbl_8035DD9C +/* 8035DD94 0035ACF4 38 8D 9E 40 */ addi r4, r13, lbl_805A8A00@sda21 +/* 8035DD98 0035ACF8 48 00 00 08 */ b lbl_8035DDA0 +lbl_8035DD9C: +/* 8035DD9C 0035ACFC 38 81 00 08 */ addi r4, r1, 8 +lbl_8035DDA0: +/* 8035DDA0 0035AD00 C0 2D 9E 44 */ lfs f1, lbl_805A8A04@sda21(r13) +/* 8035DDA4 0035AD04 C0 04 00 00 */ lfs f0, 0(r4) +/* 8035DDA8 0035AD08 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8035DDAC 0035AD0C 40 80 00 08 */ bge lbl_8035DDB4 +/* 8035DDB0 0035AD10 48 00 00 08 */ b lbl_8035DDB8 +lbl_8035DDB4: +/* 8035DDB4 0035AD14 38 8D 9E 44 */ addi r4, r13, lbl_805A8A04@sda21 +lbl_8035DDB8: +/* 8035DDB8 0035AD18 C0 04 00 00 */ lfs f0, 0(r4) +/* 8035DDBC 0035AD1C D0 03 00 0C */ stfs f0, 0xc(r3) +/* 8035DDC0 0035AD20 80 03 00 1C */ lwz r0, 0x1c(r3) +/* 8035DDC4 0035AD24 2C 00 00 01 */ cmpwi r0, 1 +/* 8035DDC8 0035AD28 40 82 00 34 */ bne lbl_8035DDFC +/* 8035DDCC 0035AD2C C0 43 00 00 */ lfs f2, 0(r3) +/* 8035DDD0 0035AD30 C0 02 CD 40 */ lfs f0, lbl_805AEA60@sda21(r2) +/* 8035DDD4 0035AD34 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8035DDD8 0035AD38 40 81 00 18 */ ble lbl_8035DDF0 +/* 8035DDDC 0035AD3C C0 03 00 18 */ lfs f0, 0x18(r3) +/* 8035DDE0 0035AD40 C0 23 00 0C */ lfs f1, 0xc(r3) +/* 8035DDE4 0035AD44 EC 00 10 24 */ fdivs f0, f0, f2 +/* 8035DDE8 0035AD48 EC 01 00 32 */ fmuls f0, f1, f0 +/* 8035DDEC 0035AD4C 48 00 00 08 */ b lbl_8035DDF4 +lbl_8035DDF0: +/* 8035DDF0 0035AD50 C0 03 00 0C */ lfs f0, 0xc(r3) +lbl_8035DDF4: +/* 8035DDF4 0035AD54 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 8035DDF8 0035AD58 48 00 00 44 */ b lbl_8035DE3C +lbl_8035DDFC: +/* 8035DDFC 0035AD5C 2C 00 00 02 */ cmpwi r0, 2 +/* 8035DE00 0035AD60 40 82 00 34 */ bne lbl_8035DE34 +/* 8035DE04 0035AD64 C0 43 00 04 */ lfs f2, 4(r3) +/* 8035DE08 0035AD68 C0 02 CD 40 */ lfs f0, lbl_805AEA60@sda21(r2) +/* 8035DE0C 0035AD6C FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8035DE10 0035AD70 40 81 00 18 */ ble lbl_8035DE28 +/* 8035DE14 0035AD74 C0 03 00 18 */ lfs f0, 0x18(r3) +/* 8035DE18 0035AD78 C0 23 00 0C */ lfs f1, 0xc(r3) +/* 8035DE1C 0035AD7C EC 00 10 24 */ fdivs f0, f0, f2 +/* 8035DE20 0035AD80 EC 01 00 32 */ fmuls f0, f1, f0 +/* 8035DE24 0035AD84 48 00 00 08 */ b lbl_8035DE2C +lbl_8035DE28: +/* 8035DE28 0035AD88 C0 03 00 0C */ lfs f0, 0xc(r3) +lbl_8035DE2C: +/* 8035DE2C 0035AD8C D0 03 00 10 */ stfs f0, 0x10(r3) +/* 8035DE30 0035AD90 48 00 00 0C */ b lbl_8035DE3C +lbl_8035DE34: +/* 8035DE34 0035AD94 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 8035DE38 0035AD98 D0 03 00 10 */ stfs f0, 0x10(r3) +lbl_8035DE3C: +/* 8035DE3C 0035AD9C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8035DE40 0035ADA0 4E 80 00 20 */ blr + +.global "__ct__21CAdditiveAnimPlaybackFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>fbRC22CAdditiveAnimationInfob" +"__ct__21CAdditiveAnimPlaybackFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>fbRC22CAdditiveAnimationInfob": +/* 8035DE44 0035ADA4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8035DE48 0035ADA8 D0 21 00 08 */ stfs f1, 8(r1) +/* 8035DE4C 0035ADAC C0 06 00 00 */ lfs f0, 0(r6) +/* 8035DE50 0035ADB0 D0 03 00 00 */ stfs f0, 0(r3) +/* 8035DE54 0035ADB4 C0 06 00 04 */ lfs f0, 4(r6) +/* 8035DE58 0035ADB8 D0 03 00 04 */ stfs f0, 4(r3) +/* 8035DE5C 0035ADBC 80 04 00 00 */ lwz r0, 0(r4) +/* 8035DE60 0035ADC0 90 03 00 08 */ stw r0, 8(r3) +/* 8035DE64 0035ADC4 80 C3 00 08 */ lwz r6, 8(r3) +/* 8035DE68 0035ADC8 80 86 00 04 */ lwz r4, 4(r6) +/* 8035DE6C 0035ADCC 38 04 00 01 */ addi r0, r4, 1 +/* 8035DE70 0035ADD0 90 06 00 04 */ stw r0, 4(r6) +/* 8035DE74 0035ADD4 C0 2D 9E 38 */ lfs f1, lbl_805A89F8@sda21(r13) +/* 8035DE78 0035ADD8 C0 01 00 08 */ lfs f0, 8(r1) +/* 8035DE7C 0035ADDC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8035DE80 0035ADE0 40 80 00 0C */ bge lbl_8035DE8C +/* 8035DE84 0035ADE4 38 8D 9E 38 */ addi r4, r13, lbl_805A89F8@sda21 +/* 8035DE88 0035ADE8 48 00 00 08 */ b lbl_8035DE90 +lbl_8035DE8C: +/* 8035DE8C 0035ADEC 38 81 00 08 */ addi r4, r1, 8 +lbl_8035DE90: +/* 8035DE90 0035ADF0 C0 2D 9E 3C */ lfs f1, lbl_805A89FC@sda21(r13) +/* 8035DE94 0035ADF4 C0 04 00 00 */ lfs f0, 0(r4) +/* 8035DE98 0035ADF8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8035DE9C 0035ADFC 40 80 00 08 */ bge lbl_8035DEA4 +/* 8035DEA0 0035AE00 48 00 00 08 */ b lbl_8035DEA8 +lbl_8035DEA4: +/* 8035DEA4 0035AE04 38 8D 9E 3C */ addi r4, r13, lbl_805A89FC@sda21 +lbl_8035DEA8: +/* 8035DEA8 0035AE08 C0 24 00 00 */ lfs f1, 0(r4) +/* 8035DEAC 0035AE0C 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 8035DEB0 0035AE10 C0 02 CD 40 */ lfs f0, lbl_805AEA60@sda21(r2) +/* 8035DEB4 0035AE14 38 C0 00 01 */ li r6, 1 +/* 8035DEB8 0035AE18 D0 23 00 0C */ stfs f1, 0xc(r3) +/* 8035DEBC 0035AE1C 38 80 00 00 */ li r4, 0 +/* 8035DEC0 0035AE20 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 8035DEC4 0035AE24 98 A3 00 14 */ stb r5, 0x14(r3) +/* 8035DEC8 0035AE28 D0 03 00 18 */ stfs f0, 0x18(r3) +/* 8035DECC 0035AE2C 90 C3 00 1C */ stw r6, 0x1c(r3) +/* 8035DED0 0035AE30 40 82 00 10 */ bne lbl_8035DEE0 +/* 8035DED4 0035AE34 54 E0 06 3F */ clrlwi. r0, r7, 0x18 +/* 8035DED8 0035AE38 41 82 00 08 */ beq lbl_8035DEE0 +/* 8035DEDC 0035AE3C 7C C4 33 78 */ mr r4, r6 +lbl_8035DEE0: +/* 8035DEE0 0035AE40 98 83 00 20 */ stb r4, 0x20(r3) +/* 8035DEE4 0035AE44 38 21 00 10 */ addi r1, r1, 0x10 +/* 8035DEE8 0035AE48 4E 80 00 20 */ blr diff --git a/asm/Kyoto/AnimData/CAdvancementDeltas.s b/asm/Kyoto/Animation/CAdvancementDeltas.s similarity index 100% rename from asm/Kyoto/AnimData/CAdvancementDeltas.s rename to asm/Kyoto/Animation/CAdvancementDeltas.s diff --git a/asm/Kyoto/AnimData/CAllFormatsAnimSource.s b/asm/Kyoto/Animation/CAllFormatsAnimSource.s similarity index 100% rename from asm/Kyoto/AnimData/CAllFormatsAnimSource.s rename to asm/Kyoto/Animation/CAllFormatsAnimSource.s diff --git a/asm/Kyoto/AnimData/CAnimMathUtils.s b/asm/Kyoto/Animation/CAnimMathUtils.s similarity index 100% rename from asm/Kyoto/AnimData/CAnimMathUtils.s rename to asm/Kyoto/Animation/CAnimMathUtils.s diff --git a/asm/Kyoto/AnimData/CAnimPOIData.s b/asm/Kyoto/Animation/CAnimPOIData.s similarity index 100% rename from asm/Kyoto/AnimData/CAnimPOIData.s rename to asm/Kyoto/Animation/CAnimPOIData.s diff --git a/asm/Kyoto/AnimData/CAnimSource.s b/asm/Kyoto/Animation/CAnimSource.s similarity index 100% rename from asm/Kyoto/AnimData/CAnimSource.s rename to asm/Kyoto/Animation/CAnimSource.s diff --git a/asm/Kyoto/AnimData/CAnimSourceReader.s b/asm/Kyoto/Animation/CAnimSourceReader.s similarity index 100% rename from asm/Kyoto/AnimData/CAnimSourceReader.s rename to asm/Kyoto/Animation/CAnimSourceReader.s diff --git a/asm/Kyoto/AnimData/CAnimSourceReaderBase.s b/asm/Kyoto/Animation/CAnimSourceReaderBase.s similarity index 100% rename from asm/Kyoto/AnimData/CAnimSourceReaderBase.s rename to asm/Kyoto/Animation/CAnimSourceReaderBase.s diff --git a/asm/Kyoto/AnimData/CAnimTreeAnimReaderContainer.s b/asm/Kyoto/Animation/CAnimTreeAnimReaderContainer.s similarity index 100% rename from asm/Kyoto/AnimData/CAnimTreeAnimReaderContainer.s rename to asm/Kyoto/Animation/CAnimTreeAnimReaderContainer.s diff --git a/asm/Kyoto/AnimData/CAnimTreeBlend.s b/asm/Kyoto/Animation/CAnimTreeBlend.s similarity index 100% rename from asm/Kyoto/AnimData/CAnimTreeBlend.s rename to asm/Kyoto/Animation/CAnimTreeBlend.s diff --git a/asm/Kyoto/AnimData/CAnimTreeContinuousPhaseBlend.s b/asm/Kyoto/Animation/CAnimTreeContinuousPhaseBlend.s similarity index 100% rename from asm/Kyoto/AnimData/CAnimTreeContinuousPhaseBlend.s rename to asm/Kyoto/Animation/CAnimTreeContinuousPhaseBlend.s diff --git a/asm/Kyoto/AnimData/CAnimTreeDoubleChild.s b/asm/Kyoto/Animation/CAnimTreeDoubleChild.s similarity index 100% rename from asm/Kyoto/AnimData/CAnimTreeDoubleChild.s rename to asm/Kyoto/Animation/CAnimTreeDoubleChild.s diff --git a/asm/Kyoto/AnimData/CAnimTreeNode.s b/asm/Kyoto/Animation/CAnimTreeNode.s similarity index 100% rename from asm/Kyoto/AnimData/CAnimTreeNode.s rename to asm/Kyoto/Animation/CAnimTreeNode.s diff --git a/asm/Kyoto/AnimData/CAnimTreeSingleChild.s b/asm/Kyoto/Animation/CAnimTreeSingleChild.s similarity index 100% rename from asm/Kyoto/AnimData/CAnimTreeSingleChild.s rename to asm/Kyoto/Animation/CAnimTreeSingleChild.s diff --git a/asm/Kyoto/AnimData/CAnimTreeTimeScale.s b/asm/Kyoto/Animation/CAnimTreeTimeScale.s similarity index 100% rename from asm/Kyoto/AnimData/CAnimTreeTimeScale.s rename to asm/Kyoto/Animation/CAnimTreeTimeScale.s diff --git a/asm/Kyoto/AnimData/CAnimTreeTransition.s b/asm/Kyoto/Animation/CAnimTreeTransition.s similarity index 100% rename from asm/Kyoto/AnimData/CAnimTreeTransition.s rename to asm/Kyoto/Animation/CAnimTreeTransition.s diff --git a/asm/Kyoto/AnimData/CAnimTreeTweenBase.s b/asm/Kyoto/Animation/CAnimTreeTweenBase.s similarity index 100% rename from asm/Kyoto/AnimData/CAnimTreeTweenBase.s rename to asm/Kyoto/Animation/CAnimTreeTweenBase.s diff --git a/asm/Kyoto/AnimData/CBoolPOINode.s b/asm/Kyoto/Animation/CBoolPOINode.s similarity index 100% rename from asm/Kyoto/AnimData/CBoolPOINode.s rename to asm/Kyoto/Animation/CBoolPOINode.s diff --git a/asm/Kyoto/AnimData/CCharAnimMemoryMetrics.s b/asm/Kyoto/Animation/CCharAnimMemoryMetrics.s similarity index 100% rename from asm/Kyoto/AnimData/CCharAnimMemoryMetrics.s rename to asm/Kyoto/Animation/CCharAnimMemoryMetrics.s diff --git a/asm/Kyoto/Animation/CCharAnimTime.s b/asm/Kyoto/Animation/CCharAnimTime.s new file mode 100644 index 00000000..c02b8f0f --- /dev/null +++ b/asm/Kyoto/Animation/CCharAnimTime.s @@ -0,0 +1,855 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global PutTo__13CCharAnimTimeCFR13COutputStream +PutTo__13CCharAnimTimeCFR13COutputStream: +/* 80348334 00345294 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80348338 00345298 7C 08 02 A6 */ mflr r0 +/* 8034833C 0034529C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80348340 003452A0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80348344 003452A4 7C 9F 23 78 */ mr r31, r4 +/* 80348348 003452A8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8034834C 003452AC 7C 7E 1B 78 */ mr r30, r3 +/* 80348350 003452B0 C0 03 00 00 */ lfs f0, 0(r3) +/* 80348354 003452B4 7F E3 FB 78 */ mr r3, r31 +/* 80348358 003452B8 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 8034835C 003452BC 80 01 00 10 */ lwz r0, 0x10(r1) +/* 80348360 003452C0 90 01 00 0C */ stw r0, 0xc(r1) +/* 80348364 003452C4 4B FF 71 55 */ bl FlushShiftRegister__13COutputStreamFv +/* 80348368 003452C8 7F E3 FB 78 */ mr r3, r31 +/* 8034836C 003452CC 38 81 00 0C */ addi r4, r1, 0xc +/* 80348370 003452D0 38 A0 00 04 */ li r5, 4 +/* 80348374 003452D4 4B FF 72 35 */ bl DoPut__13COutputStreamFPCvUl +/* 80348378 003452D8 80 1E 00 04 */ lwz r0, 4(r30) +/* 8034837C 003452DC 7F E3 FB 78 */ mr r3, r31 +/* 80348380 003452E0 90 01 00 08 */ stw r0, 8(r1) +/* 80348384 003452E4 4B FF 71 35 */ bl FlushShiftRegister__13COutputStreamFv +/* 80348388 003452E8 7F E3 FB 78 */ mr r3, r31 +/* 8034838C 003452EC 38 81 00 08 */ addi r4, r1, 8 +/* 80348390 003452F0 38 A0 00 04 */ li r5, 4 +/* 80348394 003452F4 4B FF 72 15 */ bl DoPut__13COutputStreamFPCvUl +/* 80348398 003452F8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8034839C 003452FC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803483A0 00345300 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 803483A4 00345304 7C 08 03 A6 */ mtlr r0 +/* 803483A8 00345308 38 21 00 20 */ addi r1, r1, 0x20 +/* 803483AC 0034530C 4E 80 00 20 */ blr + +.global EqualsZero__13CCharAnimTimeCFv +EqualsZero__13CCharAnimTimeCFv: +/* 803483B0 00345310 80 83 00 04 */ lwz r4, 4(r3) +/* 803483B4 00345314 38 00 00 00 */ li r0, 0 +/* 803483B8 00345318 2C 04 00 01 */ cmpwi r4, 1 +/* 803483BC 0034531C 41 82 00 24 */ beq lbl_803483E0 +/* 803483C0 00345320 2C 04 00 02 */ cmpwi r4, 2 +/* 803483C4 00345324 41 82 00 1C */ beq lbl_803483E0 +/* 803483C8 00345328 2C 04 00 03 */ cmpwi r4, 3 +/* 803483CC 0034532C 41 82 00 14 */ beq lbl_803483E0 +/* 803483D0 00345330 C0 22 CC 20 */ lfs f1, lbl_805AE940@sda21(r2) +/* 803483D4 00345334 C0 03 00 00 */ lfs f0, 0(r3) +/* 803483D8 00345338 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 803483DC 0034533C 40 82 00 08 */ bne lbl_803483E4 +lbl_803483E0: +/* 803483E0 00345340 38 00 00 01 */ li r0, 1 +lbl_803483E4: +/* 803483E4 00345344 7C 03 03 78 */ mr r3, r0 +/* 803483E8 00345348 4E 80 00 20 */ blr + +.global GreaterThanZero__13CCharAnimTimeCFv +GreaterThanZero__13CCharAnimTimeCFv: +/* 803483EC 0034534C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803483F0 00345350 7C 08 02 A6 */ mflr r0 +/* 803483F4 00345354 90 01 00 14 */ stw r0, 0x14(r1) +/* 803483F8 00345358 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803483FC 0034535C 7C 7F 1B 78 */ mr r31, r3 +/* 80348400 00345360 4B FF FF B1 */ bl EqualsZero__13CCharAnimTimeCFv +/* 80348404 00345364 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80348408 00345368 41 82 00 0C */ beq lbl_80348414 +/* 8034840C 0034536C 38 60 00 00 */ li r3, 0 +/* 80348410 00345370 48 00 00 18 */ b lbl_80348428 +lbl_80348414: +/* 80348414 00345374 C0 3F 00 00 */ lfs f1, 0(r31) +/* 80348418 00345378 C0 02 CC 20 */ lfs f0, lbl_805AE940@sda21(r2) +/* 8034841C 0034537C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80348420 00345380 7C 00 00 26 */ mfcr r0 +/* 80348424 00345384 54 03 17 FE */ rlwinm r3, r0, 2, 0x1f, 0x1f +lbl_80348428: +/* 80348428 00345388 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034842C 0034538C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80348430 00345390 7C 08 03 A6 */ mtlr r0 +/* 80348434 00345394 38 21 00 10 */ addi r1, r1, 0x10 +/* 80348438 00345398 4E 80 00 20 */ blr + +.global __ge__13CCharAnimTimeCFRC13CCharAnimTime +__ge__13CCharAnimTimeCFRC13CCharAnimTime: +/* 8034843C 0034539C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80348440 003453A0 7C 08 02 A6 */ mflr r0 +/* 80348444 003453A4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80348448 003453A8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8034844C 003453AC 3B E0 00 00 */ li r31, 0 +/* 80348450 003453B0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80348454 003453B4 7C 9E 23 78 */ mr r30, r4 +/* 80348458 003453B8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8034845C 003453BC 7C 7D 1B 78 */ mr r29, r3 +/* 80348460 003453C0 48 00 06 A1 */ bl __eq__13CCharAnimTimeCFRC13CCharAnimTime +/* 80348464 003453C4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80348468 003453C8 40 82 00 18 */ bne lbl_80348480 +/* 8034846C 003453CC 7F A3 EB 78 */ mr r3, r29 +/* 80348470 003453D0 7F C4 F3 78 */ mr r4, r30 +/* 80348474 003453D4 48 00 05 F9 */ bl __gt__13CCharAnimTimeCFRC13CCharAnimTime +/* 80348478 003453D8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8034847C 003453DC 41 82 00 08 */ beq lbl_80348484 +lbl_80348480: +/* 80348480 003453E0 3B E0 00 01 */ li r31, 1 +lbl_80348484: +/* 80348484 003453E4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80348488 003453E8 7F E3 FB 78 */ mr r3, r31 +/* 8034848C 003453EC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80348490 003453F0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80348494 003453F4 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80348498 003453F8 7C 08 03 A6 */ mtlr r0 +/* 8034849C 003453FC 38 21 00 20 */ addi r1, r1, 0x20 +/* 803484A0 00345400 4E 80 00 20 */ blr + +.global __le__13CCharAnimTimeCFRC13CCharAnimTime +__le__13CCharAnimTimeCFRC13CCharAnimTime: +/* 803484A4 00345404 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803484A8 00345408 7C 08 02 A6 */ mflr r0 +/* 803484AC 0034540C 90 01 00 24 */ stw r0, 0x24(r1) +/* 803484B0 00345410 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 803484B4 00345414 3B E0 00 00 */ li r31, 0 +/* 803484B8 00345418 93 C1 00 18 */ stw r30, 0x18(r1) +/* 803484BC 0034541C 7C 9E 23 78 */ mr r30, r4 +/* 803484C0 00345420 93 A1 00 14 */ stw r29, 0x14(r1) +/* 803484C4 00345424 7C 7D 1B 78 */ mr r29, r3 +/* 803484C8 00345428 48 00 06 39 */ bl __eq__13CCharAnimTimeCFRC13CCharAnimTime +/* 803484CC 0034542C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 803484D0 00345430 40 82 00 18 */ bne lbl_803484E8 +/* 803484D4 00345434 7F A3 EB 78 */ mr r3, r29 +/* 803484D8 00345438 7F C4 F3 78 */ mr r4, r30 +/* 803484DC 0034543C 48 00 07 61 */ bl __lt__13CCharAnimTimeCFRC13CCharAnimTime +/* 803484E0 00345440 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 803484E4 00345444 41 82 00 08 */ beq lbl_803484EC +lbl_803484E8: +/* 803484E8 00345448 3B E0 00 01 */ li r31, 1 +lbl_803484EC: +/* 803484EC 0034544C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803484F0 00345450 7F E3 FB 78 */ mr r3, r31 +/* 803484F4 00345454 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803484F8 00345458 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 803484FC 0034545C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80348500 00345460 7C 08 03 A6 */ mtlr r0 +/* 80348504 00345464 38 21 00 20 */ addi r1, r1, 0x20 +/* 80348508 00345468 4E 80 00 20 */ blr + +.global __ami__13CCharAnimTimeFRC13CCharAnimTime +__ami__13CCharAnimTimeFRC13CCharAnimTime: +/* 8034850C 0034546C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80348510 00345470 7C 08 02 A6 */ mflr r0 +/* 80348514 00345474 7C 85 23 78 */ mr r5, r4 +/* 80348518 00345478 90 01 00 24 */ stw r0, 0x24(r1) +/* 8034851C 0034547C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80348520 00345480 7C 7F 1B 78 */ mr r31, r3 +/* 80348524 00345484 7F E4 FB 78 */ mr r4, r31 +/* 80348528 00345488 38 61 00 08 */ addi r3, r1, 8 +/* 8034852C 0034548C 48 00 02 39 */ bl __mi__13CCharAnimTimeCFRC13CCharAnimTime +/* 80348530 00345490 C0 01 00 08 */ lfs f0, 8(r1) +/* 80348534 00345494 7F E3 FB 78 */ mr r3, r31 +/* 80348538 00345498 D0 1F 00 00 */ stfs f0, 0(r31) +/* 8034853C 0034549C 80 01 00 0C */ lwz r0, 0xc(r1) +/* 80348540 003454A0 90 1F 00 04 */ stw r0, 4(r31) +/* 80348544 003454A4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80348548 003454A8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8034854C 003454AC 7C 08 03 A6 */ mtlr r0 +/* 80348550 003454B0 38 21 00 20 */ addi r1, r1, 0x20 +/* 80348554 003454B4 4E 80 00 20 */ blr + +.global __apl__13CCharAnimTimeFRC13CCharAnimTime +__apl__13CCharAnimTimeFRC13CCharAnimTime: +/* 80348558 003454B8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8034855C 003454BC 7C 08 02 A6 */ mflr r0 +/* 80348560 003454C0 7C 85 23 78 */ mr r5, r4 +/* 80348564 003454C4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80348568 003454C8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8034856C 003454CC 7C 7F 1B 78 */ mr r31, r3 +/* 80348570 003454D0 7F E4 FB 78 */ mr r4, r31 +/* 80348574 003454D4 38 61 00 08 */ addi r3, r1, 8 +/* 80348578 003454D8 48 00 00 2D */ bl __pl__13CCharAnimTimeCFRC13CCharAnimTime +/* 8034857C 003454DC C0 01 00 08 */ lfs f0, 8(r1) +/* 80348580 003454E0 7F E3 FB 78 */ mr r3, r31 +/* 80348584 003454E4 D0 1F 00 00 */ stfs f0, 0(r31) +/* 80348588 003454E8 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8034858C 003454EC 90 1F 00 04 */ stw r0, 4(r31) +/* 80348590 003454F0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80348594 003454F4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80348598 003454F8 7C 08 03 A6 */ mtlr r0 +/* 8034859C 003454FC 38 21 00 20 */ addi r1, r1, 0x20 +/* 803485A0 00345500 4E 80 00 20 */ blr + +.global __pl__13CCharAnimTimeCFRC13CCharAnimTime +__pl__13CCharAnimTimeCFRC13CCharAnimTime: +/* 803485A4 00345504 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803485A8 00345508 7C 08 02 A6 */ mflr r0 +/* 803485AC 0034550C 90 01 00 24 */ stw r0, 0x24(r1) +/* 803485B0 00345510 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 803485B4 00345514 7C 7F 1B 78 */ mr r31, r3 +/* 803485B8 00345518 93 C1 00 18 */ stw r30, 0x18(r1) +/* 803485BC 0034551C 7C BE 2B 78 */ mr r30, r5 +/* 803485C0 00345520 93 A1 00 14 */ stw r29, 0x14(r1) +/* 803485C4 00345524 7C 9D 23 78 */ mr r29, r4 +/* 803485C8 00345528 80 64 00 04 */ lwz r3, 4(r4) +/* 803485CC 0034552C 2C 03 00 04 */ cmpwi r3, 4 +/* 803485D0 00345530 41 82 00 10 */ beq lbl_803485E0 +/* 803485D4 00345534 80 1E 00 04 */ lwz r0, 4(r30) +/* 803485D8 00345538 2C 00 00 04 */ cmpwi r0, 4 +/* 803485DC 0034553C 40 82 00 7C */ bne lbl_80348658 +lbl_803485E0: +/* 803485E0 00345540 2C 03 00 04 */ cmpwi r3, 4 +/* 803485E4 00345544 40 82 00 44 */ bne lbl_80348628 +/* 803485E8 00345548 80 1E 00 04 */ lwz r0, 4(r30) +/* 803485EC 0034554C 2C 00 00 04 */ cmpwi r0, 4 +/* 803485F0 00345550 40 82 00 38 */ bne lbl_80348628 +/* 803485F4 00345554 C0 1E 00 00 */ lfs f0, 0(r30) +/* 803485F8 00345558 C0 3D 00 00 */ lfs f1, 0(r29) +/* 803485FC 0034555C FC 00 08 00 */ fcmpu cr0, f0, f1 +/* 80348600 00345560 40 82 00 14 */ bne lbl_80348614 +/* 80348604 00345564 D0 3F 00 00 */ stfs f1, 0(r31) +/* 80348608 00345568 80 1D 00 04 */ lwz r0, 4(r29) +/* 8034860C 0034556C 90 1F 00 04 */ stw r0, 4(r31) +/* 80348610 00345570 48 00 01 38 */ b lbl_80348748 +lbl_80348614: +/* 80348614 00345574 C0 0D 9D 80 */ lfs f0, lbl_805A8940@sda21(r13) +/* 80348618 00345578 D0 1F 00 00 */ stfs f0, 0(r31) +/* 8034861C 0034557C 80 0D 9D 7C */ lwz r0, lbl_805A893C@sda21(r13) +/* 80348620 00345580 90 1F 00 04 */ stw r0, 4(r31) +/* 80348624 00345584 48 00 01 24 */ b lbl_80348748 +lbl_80348628: +/* 80348628 00345588 2C 03 00 04 */ cmpwi r3, 4 +/* 8034862C 0034558C 40 82 00 18 */ bne lbl_80348644 +/* 80348630 00345590 C0 1D 00 00 */ lfs f0, 0(r29) +/* 80348634 00345594 D0 1F 00 00 */ stfs f0, 0(r31) +/* 80348638 00345598 80 1D 00 04 */ lwz r0, 4(r29) +/* 8034863C 0034559C 90 1F 00 04 */ stw r0, 4(r31) +/* 80348640 003455A0 48 00 01 08 */ b lbl_80348748 +lbl_80348644: +/* 80348644 003455A4 C0 1E 00 00 */ lfs f0, 0(r30) +/* 80348648 003455A8 D0 1F 00 00 */ stfs f0, 0(r31) +/* 8034864C 003455AC 80 1E 00 04 */ lwz r0, 4(r30) +/* 80348650 003455B0 90 1F 00 04 */ stw r0, 4(r31) +/* 80348654 003455B4 48 00 00 F4 */ b lbl_80348748 +lbl_80348658: +/* 80348658 003455B8 7F A3 EB 78 */ mr r3, r29 +/* 8034865C 003455BC 4B FF FD 55 */ bl EqualsZero__13CCharAnimTimeCFv +/* 80348660 003455C0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80348664 003455C4 41 82 00 D0 */ beq lbl_80348734 +/* 80348668 003455C8 7F C3 F3 78 */ mr r3, r30 +/* 8034866C 003455CC 4B FF FD 45 */ bl EqualsZero__13CCharAnimTimeCFv +/* 80348670 003455D0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80348674 003455D4 41 82 00 C0 */ beq lbl_80348734 +/* 80348678 003455D8 80 1D 00 04 */ lwz r0, 4(r29) +/* 8034867C 003455DC 2C 00 00 03 */ cmpwi r0, 3 +/* 80348680 003455E0 40 82 00 0C */ bne lbl_8034868C +/* 80348684 003455E4 38 60 FF FF */ li r3, -1 +/* 80348688 003455E8 48 00 00 18 */ b lbl_803486A0 +lbl_8034868C: +/* 8034868C 003455EC 2C 00 00 02 */ cmpwi r0, 2 +/* 80348690 003455F0 40 82 00 0C */ bne lbl_8034869C +/* 80348694 003455F4 38 60 00 00 */ li r3, 0 +/* 80348698 003455F8 48 00 00 08 */ b lbl_803486A0 +lbl_8034869C: +/* 8034869C 003455FC 38 60 00 01 */ li r3, 1 +lbl_803486A0: +/* 803486A0 00345600 80 1E 00 04 */ lwz r0, 4(r30) +/* 803486A4 00345604 2C 00 00 03 */ cmpwi r0, 3 +/* 803486A8 00345608 40 82 00 0C */ bne lbl_803486B4 +/* 803486AC 0034560C 38 80 FF FF */ li r4, -1 +/* 803486B0 00345610 48 00 00 18 */ b lbl_803486C8 +lbl_803486B4: +/* 803486B4 00345614 2C 00 00 02 */ cmpwi r0, 2 +/* 803486B8 00345618 40 82 00 0C */ bne lbl_803486C4 +/* 803486BC 0034561C 38 80 00 00 */ li r4, 0 +/* 803486C0 00345620 48 00 00 08 */ b lbl_803486C8 +lbl_803486C4: +/* 803486C4 00345624 38 80 00 01 */ li r4, 1 +lbl_803486C8: +/* 803486C8 00345628 80 0D 9D 8C */ lwz r0, lbl_805A894C@sda21(r13) +/* 803486CC 0034562C 7C 63 22 14 */ add r3, r3, r4 +/* 803486D0 00345630 90 61 00 08 */ stw r3, 8(r1) +/* 803486D4 00345634 38 81 00 08 */ addi r4, r1, 8 +/* 803486D8 00345638 7C 00 18 00 */ cmpw r0, r3 +/* 803486DC 0034563C 40 80 00 08 */ bge lbl_803486E4 +/* 803486E0 00345640 38 8D 9D 8C */ addi r4, r13, lbl_805A894C@sda21 +lbl_803486E4: +/* 803486E4 00345644 80 6D 9D 90 */ lwz r3, lbl_805A8950@sda21(r13) +/* 803486E8 00345648 80 04 00 00 */ lwz r0, 0(r4) +/* 803486EC 0034564C 7C 03 00 00 */ cmpw r3, r0 +/* 803486F0 00345650 40 80 00 08 */ bge lbl_803486F8 +/* 803486F4 00345654 48 00 00 08 */ b lbl_803486FC +lbl_803486F8: +/* 803486F8 00345658 38 8D 9D 90 */ addi r4, r13, lbl_805A8950@sda21 +lbl_803486FC: +/* 803486FC 0034565C 80 04 00 00 */ lwz r0, 0(r4) +/* 80348700 00345660 2C 00 FF FF */ cmpwi r0, -1 +/* 80348704 00345664 40 82 00 0C */ bne lbl_80348710 +/* 80348708 00345668 38 00 00 03 */ li r0, 3 +/* 8034870C 0034566C 48 00 00 18 */ b lbl_80348724 +lbl_80348710: +/* 80348710 00345670 2C 00 00 00 */ cmpwi r0, 0 +/* 80348714 00345674 40 82 00 0C */ bne lbl_80348720 +/* 80348718 00345678 38 00 00 02 */ li r0, 2 +/* 8034871C 0034567C 48 00 00 08 */ b lbl_80348724 +lbl_80348720: +/* 80348720 00345680 38 00 00 01 */ li r0, 1 +lbl_80348724: +/* 80348724 00345684 C0 0D 9D 94 */ lfs f0, lbl_805A8954@sda21(r13) +/* 80348728 00345688 D0 1F 00 00 */ stfs f0, 0(r31) +/* 8034872C 0034568C 90 1F 00 04 */ stw r0, 4(r31) +/* 80348730 00345690 48 00 00 18 */ b lbl_80348748 +lbl_80348734: +/* 80348734 00345694 C0 3D 00 00 */ lfs f1, 0(r29) +/* 80348738 00345698 7F E3 FB 78 */ mr r3, r31 +/* 8034873C 0034569C C0 1E 00 00 */ lfs f0, 0(r30) +/* 80348740 003456A0 EC 21 00 2A */ fadds f1, f1, f0 +/* 80348744 003456A4 48 00 06 A9 */ bl __ct__13CCharAnimTimeFf +lbl_80348748: +/* 80348748 003456A8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8034874C 003456AC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80348750 003456B0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80348754 003456B4 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80348758 003456B8 7C 08 03 A6 */ mtlr r0 +/* 8034875C 003456BC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80348760 003456C0 4E 80 00 20 */ blr + +.global __mi__13CCharAnimTimeCFRC13CCharAnimTime +__mi__13CCharAnimTimeCFRC13CCharAnimTime: +/* 80348764 003456C4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80348768 003456C8 7C 08 02 A6 */ mflr r0 +/* 8034876C 003456CC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80348770 003456D0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80348774 003456D4 7C BF 2B 78 */ mr r31, r5 +/* 80348778 003456D8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8034877C 003456DC 7C 9E 23 78 */ mr r30, r4 +/* 80348780 003456E0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80348784 003456E4 7C 7D 1B 78 */ mr r29, r3 +/* 80348788 003456E8 80 64 00 04 */ lwz r3, 4(r4) +/* 8034878C 003456EC 2C 03 00 04 */ cmpwi r3, 4 +/* 80348790 003456F0 41 82 00 10 */ beq lbl_803487A0 +/* 80348794 003456F4 80 1F 00 04 */ lwz r0, 4(r31) +/* 80348798 003456F8 2C 00 00 04 */ cmpwi r0, 4 +/* 8034879C 003456FC 40 82 00 80 */ bne lbl_8034881C +lbl_803487A0: +/* 803487A0 00345700 2C 03 00 04 */ cmpwi r3, 4 +/* 803487A4 00345704 40 82 00 44 */ bne lbl_803487E8 +/* 803487A8 00345708 80 1F 00 04 */ lwz r0, 4(r31) +/* 803487AC 0034570C 2C 00 00 04 */ cmpwi r0, 4 +/* 803487B0 00345710 40 82 00 38 */ bne lbl_803487E8 +/* 803487B4 00345714 C0 1F 00 00 */ lfs f0, 0(r31) +/* 803487B8 00345718 C0 3E 00 00 */ lfs f1, 0(r30) +/* 803487BC 0034571C FC 00 08 00 */ fcmpu cr0, f0, f1 +/* 803487C0 00345720 40 82 00 18 */ bne lbl_803487D8 +/* 803487C4 00345724 C0 0D 9D 80 */ lfs f0, lbl_805A8940@sda21(r13) +/* 803487C8 00345728 D0 1D 00 00 */ stfs f0, 0(r29) +/* 803487CC 0034572C 80 0D 9D 7C */ lwz r0, lbl_805A893C@sda21(r13) +/* 803487D0 00345730 90 1D 00 04 */ stw r0, 4(r29) +/* 803487D4 00345734 48 00 01 04 */ b lbl_803488D8 +lbl_803487D8: +/* 803487D8 00345738 D0 3D 00 00 */ stfs f1, 0(r29) +/* 803487DC 0034573C 80 1E 00 04 */ lwz r0, 4(r30) +/* 803487E0 00345740 90 1D 00 04 */ stw r0, 4(r29) +/* 803487E4 00345744 48 00 00 F4 */ b lbl_803488D8 +lbl_803487E8: +/* 803487E8 00345748 2C 03 00 04 */ cmpwi r3, 4 +/* 803487EC 0034574C 40 82 00 18 */ bne lbl_80348804 +/* 803487F0 00345750 C0 1E 00 00 */ lfs f0, 0(r30) +/* 803487F4 00345754 D0 1D 00 00 */ stfs f0, 0(r29) +/* 803487F8 00345758 80 1E 00 04 */ lwz r0, 4(r30) +/* 803487FC 0034575C 90 1D 00 04 */ stw r0, 4(r29) +/* 80348800 00345760 48 00 00 D8 */ b lbl_803488D8 +lbl_80348804: +/* 80348804 00345764 C0 1F 00 00 */ lfs f0, 0(r31) +/* 80348808 00345768 FC 00 00 50 */ fneg f0, f0 +/* 8034880C 0034576C D0 1D 00 00 */ stfs f0, 0(r29) +/* 80348810 00345770 80 0D 9D 84 */ lwz r0, lbl_805A8944@sda21(r13) +/* 80348814 00345774 90 1D 00 04 */ stw r0, 4(r29) +/* 80348818 00345778 48 00 00 C0 */ b lbl_803488D8 +lbl_8034881C: +/* 8034881C 0034577C 7F C3 F3 78 */ mr r3, r30 +/* 80348820 00345780 4B FF FB 91 */ bl EqualsZero__13CCharAnimTimeCFv +/* 80348824 00345784 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80348828 00345788 41 82 00 9C */ beq lbl_803488C4 +/* 8034882C 0034578C 7F E3 FB 78 */ mr r3, r31 +/* 80348830 00345790 4B FF FB 81 */ bl EqualsZero__13CCharAnimTimeCFv +/* 80348834 00345794 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80348838 00345798 41 82 00 8C */ beq lbl_803488C4 +/* 8034883C 0034579C 80 1E 00 04 */ lwz r0, 4(r30) +/* 80348840 003457A0 2C 00 00 03 */ cmpwi r0, 3 +/* 80348844 003457A4 40 82 00 0C */ bne lbl_80348850 +/* 80348848 003457A8 38 00 FF FF */ li r0, -1 +/* 8034884C 003457AC 48 00 00 18 */ b lbl_80348864 +lbl_80348850: +/* 80348850 003457B0 2C 00 00 02 */ cmpwi r0, 2 +/* 80348854 003457B4 40 82 00 0C */ bne lbl_80348860 +/* 80348858 003457B8 38 00 00 00 */ li r0, 0 +/* 8034885C 003457BC 48 00 00 08 */ b lbl_80348864 +lbl_80348860: +/* 80348860 003457C0 38 00 00 01 */ li r0, 1 +lbl_80348864: +/* 80348864 003457C4 80 7F 00 04 */ lwz r3, 4(r31) +/* 80348868 003457C8 2C 03 00 03 */ cmpwi r3, 3 +/* 8034886C 003457CC 40 82 00 0C */ bne lbl_80348878 +/* 80348870 003457D0 38 60 FF FF */ li r3, -1 +/* 80348874 003457D4 48 00 00 18 */ b lbl_8034888C +lbl_80348878: +/* 80348878 003457D8 2C 03 00 02 */ cmpwi r3, 2 +/* 8034887C 003457DC 40 82 00 0C */ bne lbl_80348888 +/* 80348880 003457E0 38 60 00 00 */ li r3, 0 +/* 80348884 003457E4 48 00 00 08 */ b lbl_8034888C +lbl_80348888: +/* 80348888 003457E8 38 60 00 01 */ li r3, 1 +lbl_8034888C: +/* 8034888C 003457EC 7C 03 00 50 */ subf r0, r3, r0 +/* 80348890 003457F0 2C 00 FF FF */ cmpwi r0, -1 +/* 80348894 003457F4 40 82 00 0C */ bne lbl_803488A0 +/* 80348898 003457F8 38 00 00 03 */ li r0, 3 +/* 8034889C 003457FC 48 00 00 18 */ b lbl_803488B4 +lbl_803488A0: +/* 803488A0 00345800 2C 00 00 00 */ cmpwi r0, 0 +/* 803488A4 00345804 40 82 00 0C */ bne lbl_803488B0 +/* 803488A8 00345808 38 00 00 02 */ li r0, 2 +/* 803488AC 0034580C 48 00 00 08 */ b lbl_803488B4 +lbl_803488B0: +/* 803488B0 00345810 38 00 00 01 */ li r0, 1 +lbl_803488B4: +/* 803488B4 00345814 C0 0D 9D 88 */ lfs f0, lbl_805A8948@sda21(r13) +/* 803488B8 00345818 D0 1D 00 00 */ stfs f0, 0(r29) +/* 803488BC 0034581C 90 1D 00 04 */ stw r0, 4(r29) +/* 803488C0 00345820 48 00 00 18 */ b lbl_803488D8 +lbl_803488C4: +/* 803488C4 00345824 C0 3E 00 00 */ lfs f1, 0(r30) +/* 803488C8 00345828 7F A3 EB 78 */ mr r3, r29 +/* 803488CC 0034582C C0 1F 00 00 */ lfs f0, 0(r31) +/* 803488D0 00345830 EC 21 00 28 */ fsubs f1, f1, f0 +/* 803488D4 00345834 48 00 05 19 */ bl __ct__13CCharAnimTimeFf +lbl_803488D8: +/* 803488D8 00345838 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803488DC 0034583C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803488E0 00345840 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 803488E4 00345844 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 803488E8 00345848 7C 08 03 A6 */ mtlr r0 +/* 803488EC 0034584C 38 21 00 20 */ addi r1, r1, 0x20 +/* 803488F0 00345850 4E 80 00 20 */ blr + +.global __ml__13CCharAnimTimeCFRCf +__ml__13CCharAnimTimeCFRCf: +/* 803488F4 00345854 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803488F8 00345858 7C 08 02 A6 */ mflr r0 +/* 803488FC 0034585C C0 22 CC 20 */ lfs f1, lbl_805AE940@sda21(r2) +/* 80348900 00345860 90 01 00 24 */ stw r0, 0x24(r1) +/* 80348904 00345864 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80348908 00345868 7C BF 2B 78 */ mr r31, r5 +/* 8034890C 0034586C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80348910 00345870 7C 9E 23 78 */ mr r30, r4 +/* 80348914 00345874 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80348918 00345878 7C 7D 1B 78 */ mr r29, r3 +/* 8034891C 0034587C C0 05 00 00 */ lfs f0, 0(r5) +/* 80348920 00345880 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80348924 00345884 40 82 00 18 */ bne lbl_8034893C +/* 80348928 00345888 C0 0D 9D 80 */ lfs f0, lbl_805A8940@sda21(r13) +/* 8034892C 0034588C D0 1D 00 00 */ stfs f0, 0(r29) +/* 80348930 00345890 80 0D 9D 7C */ lwz r0, lbl_805A893C@sda21(r13) +/* 80348934 00345894 90 1D 00 04 */ stw r0, 4(r29) +/* 80348938 00345898 48 00 00 C4 */ b lbl_803489FC +lbl_8034893C: +/* 8034893C 0034589C 7F C3 F3 78 */ mr r3, r30 +/* 80348940 003458A0 4B FF FA 71 */ bl EqualsZero__13CCharAnimTimeCFv +/* 80348944 003458A4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80348948 003458A8 41 82 00 A0 */ beq lbl_803489E8 +/* 8034894C 003458AC C0 3F 00 00 */ lfs f1, 0(r31) +/* 80348950 003458B0 C0 02 CC 20 */ lfs f0, lbl_805AE940@sda21(r2) +/* 80348954 003458B4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80348958 003458B8 40 81 00 18 */ ble lbl_80348970 +/* 8034895C 003458BC C0 1E 00 00 */ lfs f0, 0(r30) +/* 80348960 003458C0 D0 1D 00 00 */ stfs f0, 0(r29) +/* 80348964 003458C4 80 1E 00 04 */ lwz r0, 4(r30) +/* 80348968 003458C8 90 1D 00 04 */ stw r0, 4(r29) +/* 8034896C 003458CC 48 00 00 90 */ b lbl_803489FC +lbl_80348970: +/* 80348970 003458D0 40 80 00 64 */ bge lbl_803489D4 +/* 80348974 003458D4 80 1E 00 04 */ lwz r0, 4(r30) +/* 80348978 003458D8 2C 00 00 03 */ cmpwi r0, 3 +/* 8034897C 003458DC 40 82 00 0C */ bne lbl_80348988 +/* 80348980 003458E0 38 00 FF FF */ li r0, -1 +/* 80348984 003458E4 48 00 00 18 */ b lbl_8034899C +lbl_80348988: +/* 80348988 003458E8 2C 00 00 02 */ cmpwi r0, 2 +/* 8034898C 003458EC 40 82 00 0C */ bne lbl_80348998 +/* 80348990 003458F0 38 00 00 00 */ li r0, 0 +/* 80348994 003458F4 48 00 00 08 */ b lbl_8034899C +lbl_80348998: +/* 80348998 003458F8 38 00 00 01 */ li r0, 1 +lbl_8034899C: +/* 8034899C 003458FC 7C 00 00 D0 */ neg r0, r0 +/* 803489A0 00345900 2C 00 FF FF */ cmpwi r0, -1 +/* 803489A4 00345904 40 82 00 0C */ bne lbl_803489B0 +/* 803489A8 00345908 38 00 00 03 */ li r0, 3 +/* 803489AC 0034590C 48 00 00 18 */ b lbl_803489C4 +lbl_803489B0: +/* 803489B0 00345910 2C 00 00 00 */ cmpwi r0, 0 +/* 803489B4 00345914 40 82 00 0C */ bne lbl_803489C0 +/* 803489B8 00345918 38 00 00 02 */ li r0, 2 +/* 803489BC 0034591C 48 00 00 08 */ b lbl_803489C4 +lbl_803489C0: +/* 803489C0 00345920 38 00 00 01 */ li r0, 1 +lbl_803489C4: +/* 803489C4 00345924 C0 0D 9D 78 */ lfs f0, lbl_805A8938@sda21(r13) +/* 803489C8 00345928 D0 1D 00 00 */ stfs f0, 0(r29) +/* 803489CC 0034592C 90 1D 00 04 */ stw r0, 4(r29) +/* 803489D0 00345930 48 00 00 2C */ b lbl_803489FC +lbl_803489D4: +/* 803489D4 00345934 C0 0D 9D 80 */ lfs f0, lbl_805A8940@sda21(r13) +/* 803489D8 00345938 D0 1D 00 00 */ stfs f0, 0(r29) +/* 803489DC 0034593C 80 0D 9D 7C */ lwz r0, lbl_805A893C@sda21(r13) +/* 803489E0 00345940 90 1D 00 04 */ stw r0, 4(r29) +/* 803489E4 00345944 48 00 00 18 */ b lbl_803489FC +lbl_803489E8: +/* 803489E8 00345948 C0 3E 00 00 */ lfs f1, 0(r30) +/* 803489EC 0034594C 7F A3 EB 78 */ mr r3, r29 +/* 803489F0 00345950 C0 1F 00 00 */ lfs f0, 0(r31) +/* 803489F4 00345954 EC 21 00 32 */ fmuls f1, f1, f0 +/* 803489F8 00345958 48 00 03 F5 */ bl __ct__13CCharAnimTimeFf +lbl_803489FC: +/* 803489FC 0034595C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80348A00 00345960 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80348A04 00345964 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80348A08 00345968 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80348A0C 0034596C 7C 08 03 A6 */ mtlr r0 +/* 80348A10 00345970 38 21 00 20 */ addi r1, r1, 0x20 +/* 80348A14 00345974 4E 80 00 20 */ blr + +.global __dv__13CCharAnimTimeCFRC13CCharAnimTime +__dv__13CCharAnimTimeCFRC13CCharAnimTime: +/* 80348A18 00345978 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80348A1C 0034597C 7C 08 02 A6 */ mflr r0 +/* 80348A20 00345980 90 01 00 14 */ stw r0, 0x14(r1) +/* 80348A24 00345984 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80348A28 00345988 7C 9F 23 78 */ mr r31, r4 +/* 80348A2C 0034598C 93 C1 00 08 */ stw r30, 8(r1) +/* 80348A30 00345990 7C 7E 1B 78 */ mr r30, r3 +/* 80348A34 00345994 4B FF F9 7D */ bl EqualsZero__13CCharAnimTimeCFv +/* 80348A38 00345998 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80348A3C 0034599C 41 82 00 0C */ beq lbl_80348A48 +/* 80348A40 003459A0 C0 22 CC 20 */ lfs f1, lbl_805AE940@sda21(r2) +/* 80348A44 003459A4 48 00 00 10 */ b lbl_80348A54 +lbl_80348A48: +/* 80348A48 003459A8 C0 3E 00 00 */ lfs f1, 0(r30) +/* 80348A4C 003459AC C0 1F 00 00 */ lfs f0, 0(r31) +/* 80348A50 003459B0 EC 21 00 24 */ fdivs f1, f1, f0 +lbl_80348A54: +/* 80348A54 003459B4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80348A58 003459B8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80348A5C 003459BC 83 C1 00 08 */ lwz r30, 8(r1) +/* 80348A60 003459C0 7C 08 03 A6 */ mtlr r0 +/* 80348A64 003459C4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80348A68 003459C8 4E 80 00 20 */ blr + +.global __gt__13CCharAnimTimeCFRC13CCharAnimTime +__gt__13CCharAnimTimeCFRC13CCharAnimTime: +/* 80348A6C 003459CC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80348A70 003459D0 7C 08 02 A6 */ mflr r0 +/* 80348A74 003459D4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80348A78 003459D8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80348A7C 003459DC 3B E0 00 00 */ li r31, 0 +/* 80348A80 003459E0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80348A84 003459E4 7C 9E 23 78 */ mr r30, r4 +/* 80348A88 003459E8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80348A8C 003459EC 7C 7D 1B 78 */ mr r29, r3 +/* 80348A90 003459F0 48 00 00 71 */ bl __eq__13CCharAnimTimeCFRC13CCharAnimTime +/* 80348A94 003459F4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80348A98 003459F8 40 82 00 1C */ bne lbl_80348AB4 +/* 80348A9C 003459FC 7F A3 EB 78 */ mr r3, r29 +/* 80348AA0 00345A00 7F C4 F3 78 */ mr r4, r30 +/* 80348AA4 00345A04 48 00 01 99 */ bl __lt__13CCharAnimTimeCFRC13CCharAnimTime +/* 80348AA8 00345A08 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80348AAC 00345A0C 40 82 00 08 */ bne lbl_80348AB4 +/* 80348AB0 00345A10 3B E0 00 01 */ li r31, 1 +lbl_80348AB4: +/* 80348AB4 00345A14 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80348AB8 00345A18 7F E3 FB 78 */ mr r3, r31 +/* 80348ABC 00345A1C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80348AC0 00345A20 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80348AC4 00345A24 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80348AC8 00345A28 7C 08 03 A6 */ mtlr r0 +/* 80348ACC 00345A2C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80348AD0 00345A30 4E 80 00 20 */ blr + +.global __ne__13CCharAnimTimeCFRC13CCharAnimTime +__ne__13CCharAnimTimeCFRC13CCharAnimTime: +/* 80348AD4 00345A34 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80348AD8 00345A38 7C 08 02 A6 */ mflr r0 +/* 80348ADC 00345A3C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80348AE0 00345A40 48 00 00 21 */ bl __eq__13CCharAnimTimeCFRC13CCharAnimTime +/* 80348AE4 00345A44 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 80348AE8 00345A48 7C 00 00 34 */ cntlzw r0, r0 +/* 80348AEC 00345A4C 54 03 D9 7E */ srwi r3, r0, 5 +/* 80348AF0 00345A50 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80348AF4 00345A54 7C 08 03 A6 */ mtlr r0 +/* 80348AF8 00345A58 38 21 00 10 */ addi r1, r1, 0x10 +/* 80348AFC 00345A5C 4E 80 00 20 */ blr + +.global __eq__13CCharAnimTimeCFRC13CCharAnimTime +__eq__13CCharAnimTimeCFRC13CCharAnimTime: +/* 80348B00 00345A60 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80348B04 00345A64 7C 08 02 A6 */ mflr r0 +/* 80348B08 00345A68 90 01 00 14 */ stw r0, 0x14(r1) +/* 80348B0C 00345A6C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80348B10 00345A70 7C 9F 23 78 */ mr r31, r4 +/* 80348B14 00345A74 93 C1 00 08 */ stw r30, 8(r1) +/* 80348B18 00345A78 7C 7E 1B 78 */ mr r30, r3 +/* 80348B1C 00345A7C 80 03 00 04 */ lwz r0, 4(r3) +/* 80348B20 00345A80 2C 00 00 00 */ cmpwi r0, 0 +/* 80348B24 00345A84 40 82 00 4C */ bne lbl_80348B70 +/* 80348B28 00345A88 80 1F 00 04 */ lwz r0, 4(r31) +/* 80348B2C 00345A8C 2C 00 00 00 */ cmpwi r0, 0 +/* 80348B30 00345A90 40 82 00 1C */ bne lbl_80348B4C +/* 80348B34 00345A94 C0 3E 00 00 */ lfs f1, 0(r30) +/* 80348B38 00345A98 C0 1F 00 00 */ lfs f0, 0(r31) +/* 80348B3C 00345A9C FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80348B40 00345AA0 7C 00 00 26 */ mfcr r0 +/* 80348B44 00345AA4 54 03 1F FE */ rlwinm r3, r0, 3, 0x1f, 0x1f +/* 80348B48 00345AA8 48 00 00 DC */ b lbl_80348C24 +lbl_80348B4C: +/* 80348B4C 00345AAC 7F E3 FB 78 */ mr r3, r31 +/* 80348B50 00345AB0 4B FF F8 61 */ bl EqualsZero__13CCharAnimTimeCFv +/* 80348B54 00345AB4 54 64 06 3E */ clrlwi r4, r3, 0x18 +/* 80348B58 00345AB8 38 00 00 00 */ li r0, 0 +/* 80348B5C 00345ABC 7C 64 00 D0 */ neg r3, r4 +/* 80348B60 00345AC0 7C 63 23 78 */ or r3, r3, r4 +/* 80348B64 00345AC4 7C 63 FE 70 */ srawi r3, r3, 0x1f +/* 80348B68 00345AC8 7C 03 18 78 */ andc r3, r0, r3 +/* 80348B6C 00345ACC 48 00 00 B8 */ b lbl_80348C24 +lbl_80348B70: +/* 80348B70 00345AD0 4B FF F8 41 */ bl EqualsZero__13CCharAnimTimeCFv +/* 80348B74 00345AD4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80348B78 00345AD8 41 82 00 7C */ beq lbl_80348BF4 +/* 80348B7C 00345ADC 7F E3 FB 78 */ mr r3, r31 +/* 80348B80 00345AE0 4B FF F8 31 */ bl EqualsZero__13CCharAnimTimeCFv +/* 80348B84 00345AE4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80348B88 00345AE8 41 82 00 64 */ beq lbl_80348BEC +/* 80348B8C 00345AEC 80 1E 00 04 */ lwz r0, 4(r30) +/* 80348B90 00345AF0 2C 00 00 03 */ cmpwi r0, 3 +/* 80348B94 00345AF4 40 82 00 0C */ bne lbl_80348BA0 +/* 80348B98 00345AF8 38 00 FF FF */ li r0, -1 +/* 80348B9C 00345AFC 48 00 00 18 */ b lbl_80348BB4 +lbl_80348BA0: +/* 80348BA0 00345B00 2C 00 00 02 */ cmpwi r0, 2 +/* 80348BA4 00345B04 40 82 00 0C */ bne lbl_80348BB0 +/* 80348BA8 00345B08 38 00 00 00 */ li r0, 0 +/* 80348BAC 00345B0C 48 00 00 08 */ b lbl_80348BB4 +lbl_80348BB0: +/* 80348BB0 00345B10 38 00 00 01 */ li r0, 1 +lbl_80348BB4: +/* 80348BB4 00345B14 80 7F 00 04 */ lwz r3, 4(r31) +/* 80348BB8 00345B18 2C 03 00 03 */ cmpwi r3, 3 +/* 80348BBC 00345B1C 40 82 00 0C */ bne lbl_80348BC8 +/* 80348BC0 00345B20 38 60 FF FF */ li r3, -1 +/* 80348BC4 00345B24 48 00 00 18 */ b lbl_80348BDC +lbl_80348BC8: +/* 80348BC8 00345B28 2C 03 00 02 */ cmpwi r3, 2 +/* 80348BCC 00345B2C 40 82 00 0C */ bne lbl_80348BD8 +/* 80348BD0 00345B30 38 60 00 00 */ li r3, 0 +/* 80348BD4 00345B34 48 00 00 08 */ b lbl_80348BDC +lbl_80348BD8: +/* 80348BD8 00345B38 38 60 00 01 */ li r3, 1 +lbl_80348BDC: +/* 80348BDC 00345B3C 7C 00 18 50 */ subf r0, r0, r3 +/* 80348BE0 00345B40 7C 00 00 34 */ cntlzw r0, r0 +/* 80348BE4 00345B44 54 03 D9 7E */ srwi r3, r0, 5 +/* 80348BE8 00345B48 48 00 00 3C */ b lbl_80348C24 +lbl_80348BEC: +/* 80348BEC 00345B4C 38 60 00 00 */ li r3, 0 +/* 80348BF0 00345B50 48 00 00 34 */ b lbl_80348C24 +lbl_80348BF4: +/* 80348BF4 00345B54 80 1F 00 04 */ lwz r0, 4(r31) +/* 80348BF8 00345B58 2C 00 00 04 */ cmpwi r0, 4 +/* 80348BFC 00345B5C 40 82 00 24 */ bne lbl_80348C20 +/* 80348C00 00345B60 C0 5E 00 00 */ lfs f2, 0(r30) +/* 80348C04 00345B64 C0 3F 00 00 */ lfs f1, 0(r31) +/* 80348C08 00345B68 C0 02 CC 20 */ lfs f0, lbl_805AE940@sda21(r2) +/* 80348C0C 00345B6C EC 22 00 72 */ fmuls f1, f2, f1 +/* 80348C10 00345B70 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80348C14 00345B74 7C 00 00 26 */ mfcr r0 +/* 80348C18 00345B78 54 03 17 FE */ rlwinm r3, r0, 2, 0x1f, 0x1f +/* 80348C1C 00345B7C 48 00 00 08 */ b lbl_80348C24 +lbl_80348C20: +/* 80348C20 00345B80 38 60 00 00 */ li r3, 0 +lbl_80348C24: +/* 80348C24 00345B84 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80348C28 00345B88 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80348C2C 00345B8C 83 C1 00 08 */ lwz r30, 8(r1) +/* 80348C30 00345B90 7C 08 03 A6 */ mtlr r0 +/* 80348C34 00345B94 38 21 00 10 */ addi r1, r1, 0x10 +/* 80348C38 00345B98 4E 80 00 20 */ blr + +.global __lt__13CCharAnimTimeCFRC13CCharAnimTime +__lt__13CCharAnimTimeCFRC13CCharAnimTime: +/* 80348C3C 00345B9C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80348C40 00345BA0 7C 08 02 A6 */ mflr r0 +/* 80348C44 00345BA4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80348C48 00345BA8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80348C4C 00345BAC 7C 9F 23 78 */ mr r31, r4 +/* 80348C50 00345BB0 93 C1 00 08 */ stw r30, 8(r1) +/* 80348C54 00345BB4 7C 7E 1B 78 */ mr r30, r3 +/* 80348C58 00345BB8 80 03 00 04 */ lwz r0, 4(r3) +/* 80348C5C 00345BBC 2C 00 00 00 */ cmpwi r0, 0 +/* 80348C60 00345BC0 40 82 00 68 */ bne lbl_80348CC8 +/* 80348C64 00345BC4 80 1F 00 04 */ lwz r0, 4(r31) +/* 80348C68 00345BC8 2C 00 00 00 */ cmpwi r0, 0 +/* 80348C6C 00345BCC 40 82 00 1C */ bne lbl_80348C88 +/* 80348C70 00345BD0 C0 3E 00 00 */ lfs f1, 0(r30) +/* 80348C74 00345BD4 C0 1F 00 00 */ lfs f0, 0(r31) +/* 80348C78 00345BD8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80348C7C 00345BDC 7C 00 00 26 */ mfcr r0 +/* 80348C80 00345BE0 54 03 0F FE */ srwi r3, r0, 0x1f +/* 80348C84 00345BE4 48 00 01 50 */ b lbl_80348DD4 +lbl_80348C88: +/* 80348C88 00345BE8 7F E3 FB 78 */ mr r3, r31 +/* 80348C8C 00345BEC 4B FF F7 25 */ bl EqualsZero__13CCharAnimTimeCFv +/* 80348C90 00345BF0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80348C94 00345BF4 41 82 00 1C */ beq lbl_80348CB0 +/* 80348C98 00345BF8 C0 3E 00 00 */ lfs f1, 0(r30) +/* 80348C9C 00345BFC C0 02 CC 20 */ lfs f0, lbl_805AE940@sda21(r2) +/* 80348CA0 00345C00 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80348CA4 00345C04 7C 00 00 26 */ mfcr r0 +/* 80348CA8 00345C08 54 03 0F FE */ srwi r3, r0, 0x1f +/* 80348CAC 00345C0C 48 00 01 28 */ b lbl_80348DD4 +lbl_80348CB0: +/* 80348CB0 00345C10 C0 3F 00 00 */ lfs f1, 0(r31) +/* 80348CB4 00345C14 C0 02 CC 20 */ lfs f0, lbl_805AE940@sda21(r2) +/* 80348CB8 00345C18 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80348CBC 00345C1C 7C 00 00 26 */ mfcr r0 +/* 80348CC0 00345C20 54 03 17 FE */ rlwinm r3, r0, 2, 0x1f, 0x1f +/* 80348CC4 00345C24 48 00 01 10 */ b lbl_80348DD4 +lbl_80348CC8: +/* 80348CC8 00345C28 4B FF F6 E9 */ bl EqualsZero__13CCharAnimTimeCFv +/* 80348CCC 00345C2C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80348CD0 00345C30 41 82 00 B8 */ beq lbl_80348D88 +/* 80348CD4 00345C34 7F E3 FB 78 */ mr r3, r31 +/* 80348CD8 00345C38 4B FF F6 D9 */ bl EqualsZero__13CCharAnimTimeCFv +/* 80348CDC 00345C3C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80348CE0 00345C40 41 82 00 6C */ beq lbl_80348D4C +/* 80348CE4 00345C44 80 1E 00 04 */ lwz r0, 4(r30) +/* 80348CE8 00345C48 2C 00 00 03 */ cmpwi r0, 3 +/* 80348CEC 00345C4C 40 82 00 0C */ bne lbl_80348CF8 +/* 80348CF0 00345C50 38 00 FF FF */ li r0, -1 +/* 80348CF4 00345C54 48 00 00 18 */ b lbl_80348D0C +lbl_80348CF8: +/* 80348CF8 00345C58 2C 00 00 02 */ cmpwi r0, 2 +/* 80348CFC 00345C5C 40 82 00 0C */ bne lbl_80348D08 +/* 80348D00 00345C60 38 00 00 00 */ li r0, 0 +/* 80348D04 00345C64 48 00 00 08 */ b lbl_80348D0C +lbl_80348D08: +/* 80348D08 00345C68 38 00 00 01 */ li r0, 1 +lbl_80348D0C: +/* 80348D0C 00345C6C 80 7F 00 04 */ lwz r3, 4(r31) +/* 80348D10 00345C70 2C 03 00 03 */ cmpwi r3, 3 +/* 80348D14 00345C74 40 82 00 0C */ bne lbl_80348D20 +/* 80348D18 00345C78 38 80 FF FF */ li r4, -1 +/* 80348D1C 00345C7C 48 00 00 18 */ b lbl_80348D34 +lbl_80348D20: +/* 80348D20 00345C80 2C 03 00 02 */ cmpwi r3, 2 +/* 80348D24 00345C84 40 82 00 0C */ bne lbl_80348D30 +/* 80348D28 00345C88 38 80 00 00 */ li r4, 0 +/* 80348D2C 00345C8C 48 00 00 08 */ b lbl_80348D34 +lbl_80348D30: +/* 80348D30 00345C90 38 80 00 01 */ li r4, 1 +lbl_80348D34: +/* 80348D34 00345C94 7C 80 02 78 */ xor r0, r4, r0 +/* 80348D38 00345C98 7C 03 0E 70 */ srawi r3, r0, 1 +/* 80348D3C 00345C9C 7C 00 20 38 */ and r0, r0, r4 +/* 80348D40 00345CA0 7C 00 18 50 */ subf r0, r0, r3 +/* 80348D44 00345CA4 54 03 0F FE */ srwi r3, r0, 0x1f +/* 80348D48 00345CA8 48 00 00 8C */ b lbl_80348DD4 +lbl_80348D4C: +/* 80348D4C 00345CAC 80 1F 00 04 */ lwz r0, 4(r31) +/* 80348D50 00345CB0 2C 00 00 00 */ cmpwi r0, 0 +/* 80348D54 00345CB4 40 82 00 1C */ bne lbl_80348D70 +/* 80348D58 00345CB8 C0 22 CC 20 */ lfs f1, lbl_805AE940@sda21(r2) +/* 80348D5C 00345CBC C0 1F 00 00 */ lfs f0, 0(r31) +/* 80348D60 00345CC0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80348D64 00345CC4 7C 00 00 26 */ mfcr r0 +/* 80348D68 00345CC8 54 03 0F FE */ srwi r3, r0, 0x1f +/* 80348D6C 00345CCC 48 00 00 68 */ b lbl_80348DD4 +lbl_80348D70: +/* 80348D70 00345CD0 C0 3F 00 00 */ lfs f1, 0(r31) +/* 80348D74 00345CD4 C0 02 CC 20 */ lfs f0, lbl_805AE940@sda21(r2) +/* 80348D78 00345CD8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80348D7C 00345CDC 7C 00 00 26 */ mfcr r0 +/* 80348D80 00345CE0 54 03 17 FE */ rlwinm r3, r0, 2, 0x1f, 0x1f +/* 80348D84 00345CE4 48 00 00 50 */ b lbl_80348DD4 +lbl_80348D88: +/* 80348D88 00345CE8 80 1F 00 04 */ lwz r0, 4(r31) +/* 80348D8C 00345CEC 2C 00 00 04 */ cmpwi r0, 4 +/* 80348D90 00345CF0 40 82 00 30 */ bne lbl_80348DC0 +/* 80348D94 00345CF4 C0 1E 00 00 */ lfs f0, 0(r30) +/* 80348D98 00345CF8 C0 22 CC 20 */ lfs f1, lbl_805AE940@sda21(r2) +/* 80348D9C 00345CFC FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80348DA0 00345D00 40 80 00 18 */ bge lbl_80348DB8 +/* 80348DA4 00345D04 C0 1F 00 00 */ lfs f0, 0(r31) +/* 80348DA8 00345D08 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80348DAC 00345D0C 40 81 00 0C */ ble lbl_80348DB8 +/* 80348DB0 00345D10 38 60 00 01 */ li r3, 1 +/* 80348DB4 00345D14 48 00 00 20 */ b lbl_80348DD4 +lbl_80348DB8: +/* 80348DB8 00345D18 38 60 00 00 */ li r3, 0 +/* 80348DBC 00345D1C 48 00 00 18 */ b lbl_80348DD4 +lbl_80348DC0: +/* 80348DC0 00345D20 C0 3E 00 00 */ lfs f1, 0(r30) +/* 80348DC4 00345D24 C0 02 CC 20 */ lfs f0, lbl_805AE940@sda21(r2) +/* 80348DC8 00345D28 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80348DCC 00345D2C 7C 00 00 26 */ mfcr r0 +/* 80348DD0 00345D30 54 03 0F FE */ srwi r3, r0, 0x1f +lbl_80348DD4: +/* 80348DD4 00345D34 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80348DD8 00345D38 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80348DDC 00345D3C 83 C1 00 08 */ lwz r30, 8(r1) +/* 80348DE0 00345D40 7C 08 03 A6 */ mtlr r0 +/* 80348DE4 00345D44 38 21 00 10 */ addi r1, r1, 0x10 +/* 80348DE8 00345D48 4E 80 00 20 */ blr + +.global __ct__13CCharAnimTimeFf +__ct__13CCharAnimTimeFf: +/* 80348DEC 00345D4C C0 02 CC 20 */ lfs f0, lbl_805AE940@sda21(r2) +/* 80348DF0 00345D50 D0 23 00 00 */ stfs f1, 0(r3) +/* 80348DF4 00345D54 FC 00 08 00 */ fcmpu cr0, f0, f1 +/* 80348DF8 00345D58 40 82 00 10 */ bne lbl_80348E08 +/* 80348DFC 00345D5C 38 00 00 02 */ li r0, 2 +/* 80348E00 00345D60 90 03 00 04 */ stw r0, 4(r3) +/* 80348E04 00345D64 4E 80 00 20 */ blr +lbl_80348E08: +/* 80348E08 00345D68 38 00 00 00 */ li r0, 0 +/* 80348E0C 00345D6C 90 03 00 04 */ stw r0, 4(r3) +/* 80348E10 00345D70 4E 80 00 20 */ blr + +.global __ct__13CCharAnimTimeFR12CInputStream +__ct__13CCharAnimTimeFR12CInputStream: +/* 80348E14 00345D74 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80348E18 00345D78 7C 08 02 A6 */ mflr r0 +/* 80348E1C 00345D7C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80348E20 00345D80 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80348E24 00345D84 7C 9F 23 78 */ mr r31, r4 +/* 80348E28 00345D88 93 C1 00 08 */ stw r30, 8(r1) +/* 80348E2C 00345D8C 7C 7E 1B 78 */ mr r30, r3 +/* 80348E30 00345D90 7F E3 FB 78 */ mr r3, r31 +/* 80348E34 00345D94 4B FF 5D F5 */ bl ReadFloat__12CInputStreamFv +/* 80348E38 00345D98 D0 3E 00 00 */ stfs f1, 0(r30) +/* 80348E3C 00345D9C 7F E3 FB 78 */ mr r3, r31 +/* 80348E40 00345DA0 4B FF 5E 45 */ bl ReadLong__12CInputStreamFv +/* 80348E44 00345DA4 90 7E 00 04 */ stw r3, 4(r30) +/* 80348E48 00345DA8 7F C3 F3 78 */ mr r3, r30 +/* 80348E4C 00345DAC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80348E50 00345DB0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80348E54 00345DB4 83 C1 00 08 */ lwz r30, 8(r1) +/* 80348E58 00345DB8 7C 08 03 A6 */ mtlr r0 +/* 80348E5C 00345DBC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80348E60 00345DC0 4E 80 00 20 */ blr diff --git a/asm/Kyoto/AnimData/CCharLayoutInfo.s b/asm/Kyoto/Animation/CCharLayoutInfo.s similarity index 100% rename from asm/Kyoto/AnimData/CCharLayoutInfo.s rename to asm/Kyoto/Animation/CCharLayoutInfo.s diff --git a/asm/Kyoto/AnimData/CFBStreamedAnimReader.s b/asm/Kyoto/Animation/CFBStreamedAnimReader.s similarity index 100% rename from asm/Kyoto/AnimData/CFBStreamedAnimReader.s rename to asm/Kyoto/Animation/CFBStreamedAnimReader.s diff --git a/asm/Kyoto/AnimData/CFBStreamedCompression.s b/asm/Kyoto/Animation/CFBStreamedCompression.s similarity index 100% rename from asm/Kyoto/AnimData/CFBStreamedCompression.s rename to asm/Kyoto/Animation/CFBStreamedCompression.s diff --git a/asm/Kyoto/Animation/CHalfTransition.s b/asm/Kyoto/Animation/CHalfTransition.s new file mode 100644 index 00000000..ed05f132 --- /dev/null +++ b/asm/Kyoto/Animation/CHalfTransition.s @@ -0,0 +1,34 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __ct__15CHalfTransitionFR12CInputStream +__ct__15CHalfTransitionFR12CInputStream: +/* 80366748 003636A8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8036674C 003636AC 7C 08 02 A6 */ mflr r0 +/* 80366750 003636B0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80366754 003636B4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80366758 003636B8 7C 9F 23 78 */ mr r31, r4 +/* 8036675C 003636BC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80366760 003636C0 7C 7E 1B 78 */ mr r30, r3 +/* 80366764 003636C4 7F E3 FB 78 */ mr r3, r31 +/* 80366768 003636C8 4B FD 85 1D */ bl ReadLong__12CInputStreamFv +/* 8036676C 003636CC 90 7E 00 00 */ stw r3, 0(r30) +/* 80366770 003636D0 7F E4 FB 78 */ mr r4, r31 +/* 80366774 003636D4 38 61 00 08 */ addi r3, r1, 8 +/* 80366778 003636D8 4B F7 B6 75 */ bl CreateMetaTrans__17CMetaTransFactoryFR12CInputStream +/* 8036677C 003636DC 80 01 00 08 */ lwz r0, 8(r1) +/* 80366780 003636E0 38 61 00 08 */ addi r3, r1, 8 +/* 80366784 003636E4 90 1E 00 04 */ stw r0, 4(r30) +/* 80366788 003636E8 80 BE 00 04 */ lwz r5, 4(r30) +/* 8036678C 003636EC 80 85 00 04 */ lwz r4, 4(r5) +/* 80366790 003636F0 38 04 00 01 */ addi r0, r4, 1 +/* 80366794 003636F4 90 05 00 04 */ stw r0, 4(r5) +/* 80366798 003636F8 4B CC DA FD */ bl __dt__17CMetaTransFactoryFv +/* 8036679C 003636FC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803667A0 00363700 7F C3 F3 78 */ mr r3, r30 +/* 803667A4 00363704 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803667A8 00363708 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 803667AC 0036370C 7C 08 03 A6 */ mtlr r0 +/* 803667B0 00363710 38 21 00 20 */ addi r1, r1, 0x20 +/* 803667B4 00363714 4E 80 00 20 */ blr diff --git a/asm/Kyoto/AnimData/CHierarchyPoseBuilder.s b/asm/Kyoto/Animation/CHierarchyPoseBuilder.s similarity index 100% rename from asm/Kyoto/AnimData/CHierarchyPoseBuilder.s rename to asm/Kyoto/Animation/CHierarchyPoseBuilder.s diff --git a/asm/Kyoto/AnimData/CInt32POINode.s b/asm/Kyoto/Animation/CInt32POINode.s similarity index 100% rename from asm/Kyoto/AnimData/CInt32POINode.s rename to asm/Kyoto/Animation/CInt32POINode.s diff --git a/asm/Kyoto/AnimData/CPOINode.s b/asm/Kyoto/Animation/CPOINode.s similarity index 100% rename from asm/Kyoto/AnimData/CPOINode.s rename to asm/Kyoto/Animation/CPOINode.s diff --git a/asm/Kyoto/AnimData/CParticlePOINode.s b/asm/Kyoto/Animation/CParticlePOINode.s similarity index 100% rename from asm/Kyoto/AnimData/CParticlePOINode.s rename to asm/Kyoto/Animation/CParticlePOINode.s diff --git a/asm/Kyoto/Animation/CPoseAsTransforms.s b/asm/Kyoto/Animation/CPoseAsTransforms.s new file mode 100644 index 00000000..06bd76eb --- /dev/null +++ b/asm/Kyoto/Animation/CPoseAsTransforms.s @@ -0,0 +1,284 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global Clear__17CPoseAsTransformsFv +Clear__17CPoseAsTransformsFv: +/* 80368EA4 00365E04 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80368EA8 00365E08 7C 08 02 A6 */ mflr r0 +/* 80368EAC 00365E0C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80368EB0 00365E10 48 00 03 5D */ bl "Clear__58TSegIdMapVariableSizeFv" +/* 80368EB4 00365E14 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80368EB8 00365E18 7C 08 03 A6 */ mtlr r0 +/* 80368EBC 00365E1C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80368EC0 00365E20 4E 80 00 20 */ blr + +.global ContainsDataFor__17CPoseAsTransformsCFRC6CSegId +ContainsDataFor__17CPoseAsTransformsCFRC6CSegId: +/* 80368EC4 00365E24 88 A4 00 00 */ lbz r5, 0(r4) +/* 80368EC8 00365E28 38 80 00 00 */ li r4, 0 +/* 80368ECC 00365E2C 88 0D 9E 9A */ lbz r0, lbl_805A8A5A@sda21(r13) +/* 80368ED0 00365E30 54 A5 08 3C */ slwi r5, r5, 1 +/* 80368ED4 00365E34 88 CD 9E 9B */ lbz r6, lbl_805A8A5B@sda21(r13) +/* 80368ED8 00365E38 7C A3 2A 14 */ add r5, r3, r5 +/* 80368EDC 00365E3C 7C 00 07 74 */ extsb r0, r0 +/* 80368EE0 00365E40 88 65 00 08 */ lbz r3, 8(r5) +/* 80368EE4 00365E44 7C C6 07 74 */ extsb r6, r6 +/* 80368EE8 00365E48 7C 63 07 74 */ extsb r3, r3 +/* 80368EEC 00365E4C 7C 03 00 00 */ cmpw r3, r0 +/* 80368EF0 00365E50 40 82 00 14 */ bne lbl_80368F04 +/* 80368EF4 00365E54 88 05 00 09 */ lbz r0, 9(r5) +/* 80368EF8 00365E58 7C 00 07 74 */ extsb r0, r0 +/* 80368EFC 00365E5C 7C 00 30 00 */ cmpw r0, r6 +/* 80368F00 00365E60 41 82 00 08 */ beq lbl_80368F08 +lbl_80368F04: +/* 80368F04 00365E64 38 80 00 01 */ li r4, 1 +lbl_80368F08: +/* 80368F08 00365E68 7C 83 23 78 */ mr r3, r4 +/* 80368F0C 00365E6C 4E 80 00 20 */ blr + +.global AccumulateScaledTransform__17CPoseAsTransformsCFRC6CSegIdR9CMatrix3ff +AccumulateScaledTransform__17CPoseAsTransformsCFRC6CSegIdR9CMatrix3ff: +/* 80368F10 00365E70 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80368F14 00365E74 7C 08 02 A6 */ mflr r0 +/* 80368F18 00365E78 90 01 00 24 */ stw r0, 0x24(r1) +/* 80368F1C 00365E7C DB E1 00 18 */ stfd f31, 0x18(r1) +/* 80368F20 00365E80 FF E0 08 90 */ fmr f31, f1 +/* 80368F24 00365E84 93 E1 00 14 */ stw r31, 0x14(r1) +/* 80368F28 00365E88 7C BF 2B 78 */ mr r31, r5 +/* 80368F2C 00365E8C 48 00 00 71 */ bl GetRotation__17CPoseAsTransformsCFRC6CSegId +/* 80368F30 00365E90 FC 20 F8 90 */ fmr f1, f31 +/* 80368F34 00365E94 7C 64 1B 78 */ mr r4, r3 +/* 80368F38 00365E98 7F E3 FB 78 */ mr r3, r31 +/* 80368F3C 00365E9C 4B FA 71 15 */ bl AddScaledMatrix__9CMatrix3fFRC9CMatrix3ff +/* 80368F40 00365EA0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80368F44 00365EA4 CB E1 00 18 */ lfd f31, 0x18(r1) +/* 80368F48 00365EA8 83 E1 00 14 */ lwz r31, 0x14(r1) +/* 80368F4C 00365EAC 7C 08 03 A6 */ mtlr r0 +/* 80368F50 00365EB0 38 21 00 20 */ addi r1, r1, 0x20 +/* 80368F54 00365EB4 4E 80 00 20 */ blr + +.global GetOffset__17CPoseAsTransformsCFRC6CSegId +GetOffset__17CPoseAsTransformsCFRC6CSegId: +/* 80368F58 00365EB8 88 04 00 00 */ lbz r0, 0(r4) +/* 80368F5C 00365EBC 80 83 00 D0 */ lwz r4, 0xd0(r3) +/* 80368F60 00365EC0 54 00 08 3C */ slwi r0, r0, 1 +/* 80368F64 00365EC4 7C 63 02 14 */ add r3, r3, r0 +/* 80368F68 00365EC8 88 03 00 09 */ lbz r0, 9(r3) +/* 80368F6C 00365ECC 1C 60 00 30 */ mulli r3, r0, 0x30 +/* 80368F70 00365ED0 38 63 00 24 */ addi r3, r3, 0x24 +/* 80368F74 00365ED4 7C 64 1A 14 */ add r3, r4, r3 +/* 80368F78 00365ED8 4E 80 00 20 */ blr + +.global GetTransformMinusOffset__17CPoseAsTransformsCFRC6CSegId +GetTransformMinusOffset__17CPoseAsTransformsCFRC6CSegId: +/* 80368F7C 00365EDC 88 04 00 00 */ lbz r0, 0(r4) +/* 80368F80 00365EE0 80 83 00 D0 */ lwz r4, 0xd0(r3) +/* 80368F84 00365EE4 54 00 08 3C */ slwi r0, r0, 1 +/* 80368F88 00365EE8 7C 63 02 14 */ add r3, r3, r0 +/* 80368F8C 00365EEC 88 03 00 09 */ lbz r0, 9(r3) +/* 80368F90 00365EF0 1C 00 00 30 */ mulli r0, r0, 0x30 +/* 80368F94 00365EF4 7C 64 02 14 */ add r3, r4, r0 +/* 80368F98 00365EF8 4E 80 00 20 */ blr + +.global GetRotation__17CPoseAsTransformsCFRC6CSegId +GetRotation__17CPoseAsTransformsCFRC6CSegId: +/* 80368F9C 00365EFC 88 04 00 00 */ lbz r0, 0(r4) +/* 80368FA0 00365F00 80 83 00 D0 */ lwz r4, 0xd0(r3) +/* 80368FA4 00365F04 54 00 08 3C */ slwi r0, r0, 1 +/* 80368FA8 00365F08 7C 63 02 14 */ add r3, r3, r0 +/* 80368FAC 00365F0C 88 03 00 09 */ lbz r0, 9(r3) +/* 80368FB0 00365F10 1C 00 00 30 */ mulli r0, r0, 0x30 +/* 80368FB4 00365F14 7C 64 02 14 */ add r3, r4, r0 +/* 80368FB8 00365F18 4E 80 00 20 */ blr + +.global Insert__17CPoseAsTransformsFRC6CSegIdRC9CMatrix3fRC9CVector3f +Insert__17CPoseAsTransformsFRC6CSegIdRC9CMatrix3fRC9CVector3f: +/* 80368FBC 00365F1C 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 80368FC0 00365F20 7C 08 02 A6 */ mflr r0 +/* 80368FC4 00365F24 90 01 00 54 */ stw r0, 0x54(r1) +/* 80368FC8 00365F28 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 80368FCC 00365F2C 7C DF 33 78 */ mr r31, r6 +/* 80368FD0 00365F30 93 C1 00 48 */ stw r30, 0x48(r1) +/* 80368FD4 00365F34 7C 9E 23 78 */ mr r30, r4 +/* 80368FD8 00365F38 7C A4 2B 78 */ mr r4, r5 +/* 80368FDC 00365F3C 93 A1 00 44 */ stw r29, 0x44(r1) +/* 80368FE0 00365F40 7C 7D 1B 78 */ mr r29, r3 +/* 80368FE4 00365F44 38 61 00 08 */ addi r3, r1, 8 +/* 80368FE8 00365F48 4B FA 70 3D */ bl __ct__9CMatrix3fFRC9CMatrix3f +/* 80368FEC 00365F4C C0 5F 00 00 */ lfs f2, 0(r31) +/* 80368FF0 00365F50 7F A3 EB 78 */ mr r3, r29 +/* 80368FF4 00365F54 C0 3F 00 04 */ lfs f1, 4(r31) +/* 80368FF8 00365F58 7F C4 F3 78 */ mr r4, r30 +/* 80368FFC 00365F5C C0 1F 00 08 */ lfs f0, 8(r31) +/* 80369000 00365F60 38 A1 00 08 */ addi r5, r1, 8 +/* 80369004 00365F64 D0 41 00 2C */ stfs f2, 0x2c(r1) +/* 80369008 00365F68 D0 21 00 30 */ stfs f1, 0x30(r1) +/* 8036900C 00365F6C D0 01 00 34 */ stfs f0, 0x34(r1) +/* 80369010 00365F70 48 00 01 51 */ bl "Insert__58TSegIdMapVariableSizeFRC6CSegIdRCQ217CPoseAsTransforms12CElementType" +/* 80369014 00365F74 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80369018 00365F78 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 8036901C 00365F7C 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 80369020 00365F80 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 80369024 00365F84 7C 08 03 A6 */ mtlr r0 +/* 80369028 00365F88 38 21 00 50 */ addi r1, r1, 0x50 +/* 8036902C 00365F8C 4E 80 00 20 */ blr + +.global __ct__17CPoseAsTransformsFUc +__ct__17CPoseAsTransformsFUc: +/* 80369030 00365F90 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80369034 00365F94 7C 08 02 A6 */ mflr r0 +/* 80369038 00365F98 38 E0 00 00 */ li r7, 0 +/* 8036903C 00365F9C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80369040 00365FA0 38 00 00 0A */ li r0, 0xa +/* 80369044 00365FA4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80369048 00365FA8 7C 7F 1B 78 */ mr r31, r3 +/* 8036904C 00365FAC 39 1F 00 08 */ addi r8, r31, 8 +/* 80369050 00365FB0 98 E3 00 00 */ stb r7, 0(r3) +/* 80369054 00365FB4 38 60 00 64 */ li r3, 0x64 +/* 80369058 00365FB8 98 9F 00 01 */ stb r4, 1(r31) +/* 8036905C 00365FBC 88 CD 9E 98 */ lbz r6, lbl_805A8A58@sda21(r13) +/* 80369060 00365FC0 88 AD 9E 99 */ lbz r5, lbl_805A8A59@sda21(r13) +/* 80369064 00365FC4 7C C6 07 74 */ extsb r6, r6 +/* 80369068 00365FC8 90 7F 00 04 */ stw r3, 4(r31) +/* 8036906C 00365FCC 7C A3 07 74 */ extsb r3, r5 +/* 80369070 00365FD0 7C 09 03 A6 */ mtctr r0 +lbl_80369074: +/* 80369074 00365FD4 28 08 00 00 */ cmplwi r8, 0 +/* 80369078 00365FD8 41 82 00 0C */ beq lbl_80369084 +/* 8036907C 00365FDC 98 C8 00 00 */ stb r6, 0(r8) +/* 80369080 00365FE0 98 68 00 01 */ stb r3, 1(r8) +lbl_80369084: +/* 80369084 00365FE4 35 08 00 02 */ addic. r8, r8, 2 +/* 80369088 00365FE8 41 82 00 0C */ beq lbl_80369094 +/* 8036908C 00365FEC 98 C8 00 00 */ stb r6, 0(r8) +/* 80369090 00365FF0 98 68 00 01 */ stb r3, 1(r8) +lbl_80369094: +/* 80369094 00365FF4 35 08 00 02 */ addic. r8, r8, 2 +/* 80369098 00365FF8 41 82 00 0C */ beq lbl_803690A4 +/* 8036909C 00365FFC 98 C8 00 00 */ stb r6, 0(r8) +/* 803690A0 00366000 98 68 00 01 */ stb r3, 1(r8) +lbl_803690A4: +/* 803690A4 00366004 35 08 00 02 */ addic. r8, r8, 2 +/* 803690A8 00366008 41 82 00 0C */ beq lbl_803690B4 +/* 803690AC 0036600C 98 C8 00 00 */ stb r6, 0(r8) +/* 803690B0 00366010 98 68 00 01 */ stb r3, 1(r8) +lbl_803690B4: +/* 803690B4 00366014 35 08 00 02 */ addic. r8, r8, 2 +/* 803690B8 00366018 41 82 00 0C */ beq lbl_803690C4 +/* 803690BC 0036601C 98 C8 00 00 */ stb r6, 0(r8) +/* 803690C0 00366020 98 68 00 01 */ stb r3, 1(r8) +lbl_803690C4: +/* 803690C4 00366024 35 08 00 02 */ addic. r8, r8, 2 +/* 803690C8 00366028 41 82 00 0C */ beq lbl_803690D4 +/* 803690CC 0036602C 98 C8 00 00 */ stb r6, 0(r8) +/* 803690D0 00366030 98 68 00 01 */ stb r3, 1(r8) +lbl_803690D4: +/* 803690D4 00366034 35 08 00 02 */ addic. r8, r8, 2 +/* 803690D8 00366038 41 82 00 0C */ beq lbl_803690E4 +/* 803690DC 0036603C 98 C8 00 00 */ stb r6, 0(r8) +/* 803690E0 00366040 98 68 00 01 */ stb r3, 1(r8) +lbl_803690E4: +/* 803690E4 00366044 35 08 00 02 */ addic. r8, r8, 2 +/* 803690E8 00366048 41 82 00 0C */ beq lbl_803690F4 +/* 803690EC 0036604C 98 C8 00 00 */ stb r6, 0(r8) +/* 803690F0 00366050 98 68 00 01 */ stb r3, 1(r8) +lbl_803690F4: +/* 803690F4 00366054 35 08 00 02 */ addic. r8, r8, 2 +/* 803690F8 00366058 41 82 00 0C */ beq lbl_80369104 +/* 803690FC 0036605C 98 C8 00 00 */ stb r6, 0(r8) +/* 80369100 00366060 98 68 00 01 */ stb r3, 1(r8) +lbl_80369104: +/* 80369104 00366064 35 08 00 02 */ addic. r8, r8, 2 +/* 80369108 00366068 41 82 00 0C */ beq lbl_80369114 +/* 8036910C 0036606C 98 C8 00 00 */ stb r6, 0(r8) +/* 80369110 00366070 98 68 00 01 */ stb r3, 1(r8) +lbl_80369114: +/* 80369114 00366074 38 E7 00 09 */ addi r7, r7, 9 +/* 80369118 00366078 39 08 00 02 */ addi r8, r8, 2 +/* 8036911C 0036607C 42 00 FF 58 */ bdnz lbl_80369074 +/* 80369120 00366080 38 C0 00 00 */ li r6, 0 +/* 80369124 00366084 54 80 06 3E */ clrlwi r0, r4, 0x18 +/* 80369128 00366088 90 DF 00 D0 */ stw r6, 0xd0(r31) +/* 8036912C 0036608C 3C 80 80 3E */ lis r4, lbl_803D8538@ha +/* 80369130 00366090 1C 60 00 30 */ mulli r3, r0, 0x30 +/* 80369134 00366094 38 A0 00 00 */ li r5, 0 +/* 80369138 00366098 98 DF 00 D4 */ stb r6, 0xd4(r31) +/* 8036913C 0036609C 38 84 85 38 */ addi r4, r4, lbl_803D8538@l +/* 80369140 003660A0 4B FA C6 D9 */ bl __nwa__FUlPCcPCc +/* 80369144 003660A4 90 7F 00 D0 */ stw r3, 0xd0(r31) +/* 80369148 003660A8 7F E3 FB 78 */ mr r3, r31 +/* 8036914C 003660AC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80369150 003660B0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80369154 003660B4 7C 08 03 A6 */ mtlr r0 +/* 80369158 003660B8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8036915C 003660BC 4E 80 00 20 */ blr + +.global "Insert__58TSegIdMapVariableSizeFRC6CSegIdRCQ217CPoseAsTransforms12CElementType" +"Insert__58TSegIdMapVariableSizeFRC6CSegIdRCQ217CPoseAsTransforms12CElementType": +/* 80369160 003660C0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80369164 003660C4 7C 08 02 A6 */ mflr r0 +/* 80369168 003660C8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8036916C 003660CC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80369170 003660D0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80369174 003660D4 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80369178 003660D8 7C BD 2B 78 */ mr r29, r5 +/* 8036917C 003660DC 93 81 00 10 */ stw r28, 0x10(r1) +/* 80369180 003660E0 7C 7C 1B 78 */ mr r28, r3 +/* 80369184 003660E4 88 03 00 00 */ lbz r0, 0(r3) +/* 80369188 003660E8 80 63 00 D0 */ lwz r3, 0xd0(r3) +/* 8036918C 003660EC 7C 00 07 74 */ extsb r0, r0 +/* 80369190 003660F0 8B E4 00 00 */ lbz r31, 0(r4) +/* 80369194 003660F4 1C 00 00 30 */ mulli r0, r0, 0x30 +/* 80369198 003660F8 7F C3 02 15 */ add. r30, r3, r0 +/* 8036919C 003660FC 41 82 00 28 */ beq lbl_803691C4 +/* 803691A0 00366100 7F C3 F3 78 */ mr r3, r30 +/* 803691A4 00366104 7F A4 EB 78 */ mr r4, r29 +/* 803691A8 00366108 4B FA 6E 7D */ bl __ct__9CMatrix3fFRC9CMatrix3f +/* 803691AC 0036610C C0 1D 00 24 */ lfs f0, 0x24(r29) +/* 803691B0 00366110 D0 1E 00 24 */ stfs f0, 0x24(r30) +/* 803691B4 00366114 C0 1D 00 28 */ lfs f0, 0x28(r29) +/* 803691B8 00366118 D0 1E 00 28 */ stfs f0, 0x28(r30) +/* 803691BC 0036611C C0 1D 00 2C */ lfs f0, 0x2c(r29) +/* 803691C0 00366120 D0 1E 00 2C */ stfs f0, 0x2c(r30) +lbl_803691C4: +/* 803691C4 00366124 57 E3 0D FC */ rlwinm r3, r31, 1, 0x17, 0x1e +/* 803691C8 00366128 88 9C 00 00 */ lbz r4, 0(r28) +/* 803691CC 0036612C 88 1C 00 D4 */ lbz r0, 0xd4(r28) +/* 803691D0 00366130 7C 7C 1A 14 */ add r3, r28, r3 +/* 803691D4 00366134 98 03 00 08 */ stb r0, 8(r3) +/* 803691D8 00366138 98 83 00 09 */ stb r4, 9(r3) +/* 803691DC 0036613C 9B FC 00 D4 */ stb r31, 0xd4(r28) +/* 803691E0 00366140 88 7C 00 00 */ lbz r3, 0(r28) +/* 803691E4 00366144 38 03 00 01 */ addi r0, r3, 1 +/* 803691E8 00366148 98 1C 00 00 */ stb r0, 0(r28) +/* 803691EC 0036614C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803691F0 00366150 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803691F4 00366154 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 803691F8 00366158 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 803691FC 0036615C 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80369200 00366160 7C 08 03 A6 */ mtlr r0 +/* 80369204 00366164 38 21 00 20 */ addi r1, r1, 0x20 +/* 80369208 00366168 4E 80 00 20 */ blr + +.global "Clear__58TSegIdMapVariableSizeFv" +"Clear__58TSegIdMapVariableSizeFv": +/* 8036920C 0036616C 88 A3 00 D4 */ lbz r5, 0xd4(r3) +/* 80369210 00366170 38 C3 00 08 */ addi r6, r3, 8 +/* 80369214 00366174 48 00 00 24 */ b lbl_80369238 +lbl_80369218: +/* 80369218 00366178 54 A4 0D FC */ rlwinm r4, r5, 1, 0x17, 0x1e +/* 8036921C 0036617C 7C 80 23 78 */ mr r0, r4 +/* 80369220 00366180 7C A6 20 AE */ lbzx r5, r6, r4 +/* 80369224 00366184 7C E6 02 14 */ add r7, r6, r0 +/* 80369228 00366188 88 8D 9E 9D */ lbz r4, lbl_805A8A5D@sda21(r13) +/* 8036922C 0036618C 88 0D 9E 9C */ lbz r0, lbl_805A8A5C@sda21(r13) +/* 80369230 00366190 98 07 00 00 */ stb r0, 0(r7) +/* 80369234 00366194 98 87 00 01 */ stb r4, 1(r7) +lbl_80369238: +/* 80369238 00366198 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 8036923C 0036619C 40 82 FF DC */ bne lbl_80369218 +/* 80369240 003661A0 38 00 00 00 */ li r0, 0 +/* 80369244 003661A4 98 03 00 D4 */ stb r0, 0xd4(r3) +/* 80369248 003661A8 98 03 00 00 */ stb r0, 0(r3) +/* 8036924C 003661AC 4E 80 00 20 */ blr diff --git a/asm/Kyoto/Animation/CSegIdList.s b/asm/Kyoto/Animation/CSegIdList.s new file mode 100644 index 00000000..ed1e8e68 --- /dev/null +++ b/asm/Kyoto/Animation/CSegIdList.s @@ -0,0 +1,22 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __ct__10CSegIdListFR12CInputStream +__ct__10CSegIdListFR12CInputStream: +/* 80348E64 00345DC4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80348E68 00345DC8 7C 08 02 A6 */ mflr r0 +/* 80348E6C 00345DCC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80348E70 00345DD0 38 A1 00 08 */ addi r5, r1, 8 +/* 80348E74 00345DD4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80348E78 00345DD8 7C 7F 1B 78 */ mr r31, r3 +/* 80348E7C 00345DDC 4B FA F2 51 */ bl "__ct__Q24rstl42vector<6CSegId,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 80348E80 00345DE0 80 7F 00 08 */ lwz r3, 8(r31) +/* 80348E84 00345DE4 38 80 00 02 */ li r4, 2 +/* 80348E88 00345DE8 4B FA ED 31 */ bl AddToTotalSize__22CCharAnimMemoryMetricsFUiQ222CCharAnimMemoryMetrics14EAnimSubSystem +/* 80348E8C 00345DEC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80348E90 00345DF0 7F E3 FB 78 */ mr r3, r31 +/* 80348E94 00345DF4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80348E98 00345DF8 7C 08 03 A6 */ mtlr r0 +/* 80348E9C 00345DFC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80348EA0 00345E00 4E 80 00 20 */ blr diff --git a/asm/Kyoto/AnimData/CSegStatementSet.s b/asm/Kyoto/Animation/CSegStatementSet.s similarity index 100% rename from asm/Kyoto/AnimData/CSegStatementSet.s rename to asm/Kyoto/Animation/CSegStatementSet.s diff --git a/asm/Kyoto/Animation/CSkinnedModelWithAvgNormals.s b/asm/Kyoto/Animation/CSkinnedModelWithAvgNormals.s new file mode 100644 index 00000000..8af4d304 --- /dev/null +++ b/asm/Kyoto/Animation/CSkinnedModelWithAvgNormals.s @@ -0,0 +1,647 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __ct__27CSkinnedModelWithAvgNormalsFRC13CSkinnedModel +__ct__27CSkinnedModelWithAvgNormalsFRC13CSkinnedModel: +/* 803579A4 00354904 94 21 FF 30 */ stwu r1, -0xd0(r1) +/* 803579A8 00354908 7C 08 02 A6 */ mflr r0 +/* 803579AC 0035490C 90 01 00 D4 */ stw r0, 0xd4(r1) +/* 803579B0 00354910 DB E1 00 C0 */ stfd f31, 0xc0(r1) +/* 803579B4 00354914 F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 +/* 803579B8 00354918 BE 61 00 8C */ stmw r19, 0x8c(r1) +/* 803579BC 0035491C 7C 7F 1B 78 */ mr r31, r3 +/* 803579C0 00354920 7C 96 23 78 */ mr r22, r4 +/* 803579C4 00354924 4B FF B9 A1 */ bl __ct__13CSkinnedModelFRC13CSkinnedModel +/* 803579C8 00354928 80 D6 00 18 */ lwz r6, 0x18(r22) +/* 803579CC 0035492C 3C 60 80 3E */ lis r3, lbl_803D8330@ha +/* 803579D0 00354930 38 83 83 30 */ addi r4, r3, lbl_803D8330@l +/* 803579D4 00354934 38 A0 00 00 */ li r5, 0 +/* 803579D8 00354938 80 06 00 10 */ lwz r0, 0x10(r6) +/* 803579DC 0035493C 1C 00 00 0C */ mulli r0, r0, 0xc +/* 803579E0 00354940 54 03 10 3A */ slwi r3, r0, 2 +/* 803579E4 00354944 4B FB DE 35 */ bl __nwa__FUlPCcPCc +/* 803579E8 00354948 7C 03 00 D0 */ neg r0, r3 +/* 803579EC 0035494C 7C 00 1B 78 */ or r0, r0, r3 +/* 803579F0 00354950 54 00 0F FE */ srwi r0, r0, 0x1f +/* 803579F4 00354954 98 1F 00 3C */ stb r0, 0x3c(r31) +/* 803579F8 00354958 90 7F 00 40 */ stw r3, 0x40(r31) +/* 803579FC 0035495C 80 96 00 18 */ lwz r4, 0x18(r22) +/* 80357A00 00354960 80 76 00 0C */ lwz r3, 0xc(r22) +/* 80357A04 00354964 83 44 00 10 */ lwz r26, 0x10(r4) +/* 80357A08 00354968 4B FF DC C9 */ bl GetPositions__6CModelCFv +/* 80357A0C 0035496C 38 00 00 00 */ li r0, 0 +/* 80357A10 00354970 7C 79 1B 78 */ mr r25, r3 +/* 80357A14 00354974 90 01 00 34 */ stw r0, 0x34(r1) +/* 80357A18 00354978 7F 44 D3 78 */ mr r4, r26 +/* 80357A1C 0035497C 38 61 00 30 */ addi r3, r1, 0x30 +/* 80357A20 00354980 90 01 00 38 */ stw r0, 0x38(r1) +/* 80357A24 00354984 90 01 00 3C */ stw r0, 0x3c(r1) +/* 80357A28 00354988 48 00 06 ED */ bl "reserve__Q24rstl105vector>,Q24rstl17rmemory_allocator>Fi" +/* 80357A2C 0035498C 7F 3D CB 78 */ mr r29, r25 +/* 80357A30 00354990 3B 81 00 4C */ addi r28, r1, 0x4c +/* 80357A34 00354994 3B 61 00 64 */ addi r27, r1, 0x64 +/* 80357A38 00354998 3B 00 00 00 */ li r24, 0 +/* 80357A3C 0035499C 3A A0 00 00 */ li r21, 0 +/* 80357A40 003549A0 48 00 01 6C */ b lbl_80357BAC +lbl_80357A44: +/* 80357A44 003549A4 82 81 00 34 */ lwz r20, 0x34(r1) +/* 80357A48 003549A8 3A 60 00 00 */ li r19, 0 +/* 80357A4C 003549AC 3B C0 00 00 */ li r30, 0 +/* 80357A50 003549B0 3A E0 00 00 */ li r23, 0 +/* 80357A54 003549B4 48 00 00 30 */ b lbl_80357A84 +lbl_80357A58: +/* 80357A58 003549B8 80 01 00 3C */ lwz r0, 0x3c(r1) +/* 80357A5C 003549BC 7F A4 EB 78 */ mr r4, r29 +/* 80357A60 003549C0 C0 22 CC D8 */ lfs f1, lbl_805AE9F8@sda21(r2) +/* 80357A64 003549C4 7C 60 BA 14 */ add r3, r0, r23 +/* 80357A68 003549C8 4B FB CB 49 */ bl IsEqu__9CVector3fCFRC9CVector3ff +/* 80357A6C 003549CC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80357A70 003549D0 41 82 00 0C */ beq lbl_80357A7C +/* 80357A74 003549D4 3A 60 00 01 */ li r19, 1 +/* 80357A78 003549D8 48 00 00 14 */ b lbl_80357A8C +lbl_80357A7C: +/* 80357A7C 003549DC 3B DE 00 01 */ addi r30, r30, 1 +/* 80357A80 003549E0 3A F7 00 24 */ addi r23, r23, 0x24 +lbl_80357A84: +/* 80357A84 003549E4 7C 1E A0 40 */ cmplw r30, r20 +/* 80357A88 003549E8 41 80 FF D0 */ blt lbl_80357A58 +lbl_80357A8C: +/* 80357A8C 003549EC 56 60 06 3F */ clrlwi. r0, r19, 0x18 +/* 80357A90 003549F0 40 82 01 10 */ bne lbl_80357BA0 +/* 80357A94 003549F4 38 00 00 00 */ li r0, 0 +/* 80357A98 003549F8 93 81 00 44 */ stw r28, 0x44(r1) +/* 80357A9C 003549FC 7F 17 C3 78 */ mr r23, r24 +/* 80357AA0 00354A00 7F D9 AA 14 */ add r30, r25, r21 +/* 80357AA4 00354A04 93 81 00 48 */ stw r28, 0x48(r1) +/* 80357AA8 00354A08 93 81 00 4C */ stw r28, 0x4c(r1) +/* 80357AAC 00354A0C 93 81 00 50 */ stw r28, 0x50(r1) +/* 80357AB0 00354A10 90 01 00 54 */ stw r0, 0x54(r1) +/* 80357AB4 00354A14 48 00 00 B0 */ b lbl_80357B64 +lbl_80357AB8: +/* 80357AB8 00354A18 C0 3E 00 00 */ lfs f1, 0(r30) +/* 80357ABC 00354A1C 38 00 00 00 */ li r0, 0 +/* 80357AC0 00354A20 C0 1D 00 00 */ lfs f0, 0(r29) +/* 80357AC4 00354A24 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80357AC8 00354A28 40 82 00 28 */ bne lbl_80357AF0 +/* 80357ACC 00354A2C C0 3E 00 04 */ lfs f1, 4(r30) +/* 80357AD0 00354A30 C0 1D 00 04 */ lfs f0, 4(r29) +/* 80357AD4 00354A34 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80357AD8 00354A38 40 82 00 18 */ bne lbl_80357AF0 +/* 80357ADC 00354A3C C0 3E 00 08 */ lfs f1, 8(r30) +/* 80357AE0 00354A40 C0 1D 00 08 */ lfs f0, 8(r29) +/* 80357AE4 00354A44 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80357AE8 00354A48 40 82 00 08 */ bne lbl_80357AF0 +/* 80357AEC 00354A4C 38 00 00 01 */ li r0, 1 +lbl_80357AF0: +/* 80357AF0 00354A50 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 80357AF4 00354A54 41 82 00 68 */ beq lbl_80357B5C +/* 80357AF8 00354A58 82 81 00 48 */ lwz r20, 0x48(r1) +/* 80357AFC 00354A5C 3C 60 80 3E */ lis r3, lbl_803D8330@ha +/* 80357B00 00354A60 38 83 83 30 */ addi r4, r3, lbl_803D8330@l +/* 80357B04 00354A64 38 A0 00 00 */ li r5, 0 +/* 80357B08 00354A68 82 74 00 00 */ lwz r19, 0(r20) +/* 80357B0C 00354A6C 38 60 00 0C */ li r3, 0xc +/* 80357B10 00354A70 4B FB DD 09 */ bl __nwa__FUlPCcPCc +/* 80357B14 00354A74 28 03 00 00 */ cmplwi r3, 0 +/* 80357B18 00354A78 41 82 00 0C */ beq lbl_80357B24 +/* 80357B1C 00354A7C 92 63 00 00 */ stw r19, 0(r3) +/* 80357B20 00354A80 92 83 00 04 */ stw r20, 4(r3) +lbl_80357B24: +/* 80357B24 00354A84 34 83 00 08 */ addic. r4, r3, 8 +/* 80357B28 00354A88 41 82 00 08 */ beq lbl_80357B30 +/* 80357B2C 00354A8C 92 E4 00 00 */ stw r23, 0(r4) +lbl_80357B30: +/* 80357B30 00354A90 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80357B34 00354A94 7C 14 00 40 */ cmplw r20, r0 +/* 80357B38 00354A98 40 82 00 08 */ bne lbl_80357B40 +/* 80357B3C 00354A9C 90 61 00 44 */ stw r3, 0x44(r1) +lbl_80357B40: +/* 80357B40 00354AA0 80 83 00 00 */ lwz r4, 0(r3) +/* 80357B44 00354AA4 90 64 00 04 */ stw r3, 4(r4) +/* 80357B48 00354AA8 80 83 00 04 */ lwz r4, 4(r3) +/* 80357B4C 00354AAC 90 64 00 00 */ stw r3, 0(r4) +/* 80357B50 00354AB0 80 61 00 54 */ lwz r3, 0x54(r1) +/* 80357B54 00354AB4 38 03 00 01 */ addi r0, r3, 1 +/* 80357B58 00354AB8 90 01 00 54 */ stw r0, 0x54(r1) +lbl_80357B5C: +/* 80357B5C 00354ABC 3B DE 00 0C */ addi r30, r30, 0xc +/* 80357B60 00354AC0 3A F7 00 01 */ addi r23, r23, 1 +lbl_80357B64: +/* 80357B64 00354AC4 7C 17 D0 40 */ cmplw r23, r26 +/* 80357B68 00354AC8 41 80 FF 50 */ blt lbl_80357AB8 +/* 80357B6C 00354ACC 7F A4 EB 78 */ mr r4, r29 +/* 80357B70 00354AD0 38 61 00 58 */ addi r3, r1, 0x58 +/* 80357B74 00354AD4 38 A1 00 40 */ addi r5, r1, 0x40 +/* 80357B78 00354AD8 48 00 04 59 */ bl sub_80357fd0 +/* 80357B7C 00354ADC 38 61 00 30 */ addi r3, r1, 0x30 +/* 80357B80 00354AE0 38 81 00 58 */ addi r4, r1, 0x58 +/* 80357B84 00354AE4 48 00 01 7D */ bl sub_80357d00 +/* 80357B88 00354AE8 7F 63 DB 78 */ mr r3, r27 +/* 80357B8C 00354AEC 38 80 FF FF */ li r4, -1 +/* 80357B90 00354AF0 48 00 05 0D */ bl sub_8035809c +/* 80357B94 00354AF4 38 61 00 40 */ addi r3, r1, 0x40 +/* 80357B98 00354AF8 38 80 FF FF */ li r4, -1 +/* 80357B9C 00354AFC 48 00 05 01 */ bl sub_8035809c +lbl_80357BA0: +/* 80357BA0 00354B00 3B BD 00 0C */ addi r29, r29, 0xc +/* 80357BA4 00354B04 3B 18 00 01 */ addi r24, r24, 1 +/* 80357BA8 00354B08 3A B5 00 0C */ addi r21, r21, 0xc +lbl_80357BAC: +/* 80357BAC 00354B0C 7C 18 D0 40 */ cmplw r24, r26 +/* 80357BB0 00354B10 41 80 FE 94 */ blt lbl_80357A44 +/* 80357BB4 00354B14 80 76 00 0C */ lwz r3, 0xc(r22) +/* 80357BB8 00354B18 4B FF DB 0D */ bl GetNormals__6CModelCFv +/* 80357BBC 00354B1C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80357BC0 00354B20 7C 75 1B 78 */ mr r21, r3 +/* 80357BC4 00354B24 82 C1 00 3C */ lwz r22, 0x3c(r1) +/* 80357BC8 00354B28 1C 00 00 24 */ mulli r0, r0, 0x24 +/* 80357BCC 00354B2C 83 1F 00 40 */ lwz r24, 0x40(r31) +/* 80357BD0 00354B30 C3 E2 CC DC */ lfs f31, lbl_805AE9FC@sda21(r2) +/* 80357BD4 00354B34 7E 76 02 14 */ add r19, r22, r0 +/* 80357BD8 00354B38 48 00 00 AC */ b lbl_80357C84 +lbl_80357BDC: +/* 80357BDC 00354B3C D3 E1 00 24 */ stfs f31, 0x24(r1) +/* 80357BE0 00354B40 D3 E1 00 28 */ stfs f31, 0x28(r1) +/* 80357BE4 00354B44 D3 E1 00 2C */ stfs f31, 0x2c(r1) +/* 80357BE8 00354B48 80 96 00 10 */ lwz r4, 0x10(r22) +/* 80357BEC 00354B4C 82 96 00 14 */ lwz r20, 0x14(r22) +/* 80357BF0 00354B50 48 00 00 44 */ b lbl_80357C34 +lbl_80357BF4: +/* 80357BF4 00354B54 80 04 00 08 */ lwz r0, 8(r4) +/* 80357BF8 00354B58 C0 61 00 24 */ lfs f3, 0x24(r1) +/* 80357BFC 00354B5C 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80357C00 00354B60 C0 41 00 28 */ lfs f2, 0x28(r1) +/* 80357C04 00354B64 C0 21 00 2C */ lfs f1, 0x2c(r1) +/* 80357C08 00354B68 7C 75 02 14 */ add r3, r21, r0 +/* 80357C0C 00354B6C C0 03 00 00 */ lfs f0, 0(r3) +/* 80357C10 00354B70 EC 03 00 2A */ fadds f0, f3, f0 +/* 80357C14 00354B74 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 80357C18 00354B78 C0 03 00 04 */ lfs f0, 4(r3) +/* 80357C1C 00354B7C EC 02 00 2A */ fadds f0, f2, f0 +/* 80357C20 00354B80 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 80357C24 00354B84 C0 03 00 08 */ lfs f0, 8(r3) +/* 80357C28 00354B88 EC 01 00 2A */ fadds f0, f1, f0 +/* 80357C2C 00354B8C D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 80357C30 00354B90 80 84 00 04 */ lwz r4, 4(r4) +lbl_80357C34: +/* 80357C34 00354B94 7C 04 A0 40 */ cmplw r4, r20 +/* 80357C38 00354B98 40 82 FF BC */ bne lbl_80357BF4 +/* 80357C3C 00354B9C 82 F6 00 10 */ lwz r23, 0x10(r22) +/* 80357C40 00354BA0 38 61 00 18 */ addi r3, r1, 0x18 +/* 80357C44 00354BA4 38 81 00 24 */ addi r4, r1, 0x24 +/* 80357C48 00354BA8 4B FB CC 09 */ bl AsNormalized__9CVector3fCFv +/* 80357C4C 00354BAC C0 01 00 18 */ lfs f0, 0x18(r1) +/* 80357C50 00354BB0 C0 21 00 1C */ lfs f1, 0x1c(r1) +/* 80357C54 00354BB4 C0 41 00 20 */ lfs f2, 0x20(r1) +/* 80357C58 00354BB8 48 00 00 20 */ b lbl_80357C78 +lbl_80357C5C: +/* 80357C5C 00354BBC 80 17 00 08 */ lwz r0, 8(r23) +/* 80357C60 00354BC0 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80357C64 00354BC4 7C 78 02 14 */ add r3, r24, r0 +/* 80357C68 00354BC8 D0 03 00 00 */ stfs f0, 0(r3) +/* 80357C6C 00354BCC D0 23 00 04 */ stfs f1, 4(r3) +/* 80357C70 00354BD0 D0 43 00 08 */ stfs f2, 8(r3) +/* 80357C74 00354BD4 82 F7 00 04 */ lwz r23, 4(r23) +lbl_80357C78: +/* 80357C78 00354BD8 7C 17 A0 40 */ cmplw r23, r20 +/* 80357C7C 00354BDC 40 82 FF E0 */ bne lbl_80357C5C +/* 80357C80 00354BE0 3A D6 00 24 */ addi r22, r22, 0x24 +lbl_80357C84: +/* 80357C84 00354BE4 7C 16 98 40 */ cmplw r22, r19 +/* 80357C88 00354BE8 40 82 FF 54 */ bne lbl_80357BDC +/* 80357C8C 00354BEC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80357C90 00354BF0 82 61 00 3C */ lwz r19, 0x3c(r1) +/* 80357C94 00354BF4 1C 00 00 24 */ mulli r0, r0, 0x24 +/* 80357C98 00354BF8 92 61 00 0C */ stw r19, 0xc(r1) +/* 80357C9C 00354BFC 7E B3 02 14 */ add r21, r19, r0 +/* 80357CA0 00354C00 92 61 00 08 */ stw r19, 8(r1) +/* 80357CA4 00354C04 92 A1 00 14 */ stw r21, 0x14(r1) +/* 80357CA8 00354C08 92 A1 00 10 */ stw r21, 0x10(r1) +/* 80357CAC 00354C0C 48 00 00 1C */ b lbl_80357CC8 +lbl_80357CB0: +/* 80357CB0 00354C10 28 13 00 00 */ cmplwi r19, 0 +/* 80357CB4 00354C14 41 82 00 10 */ beq lbl_80357CC4 +/* 80357CB8 00354C18 38 73 00 0C */ addi r3, r19, 0xc +/* 80357CBC 00354C1C 38 80 FF FF */ li r4, -1 +/* 80357CC0 00354C20 48 00 03 DD */ bl sub_8035809c +lbl_80357CC4: +/* 80357CC4 00354C24 3A 73 00 24 */ addi r19, r19, 0x24 +lbl_80357CC8: +/* 80357CC8 00354C28 7C 13 A8 40 */ cmplw r19, r21 +/* 80357CCC 00354C2C 40 82 FF E4 */ bne lbl_80357CB0 +/* 80357CD0 00354C30 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 80357CD4 00354C34 28 03 00 00 */ cmplwi r3, 0 +/* 80357CD8 00354C38 41 82 00 08 */ beq lbl_80357CE0 +/* 80357CDC 00354C3C 4B FB DC 55 */ bl Free__7CMemoryFPCv +lbl_80357CE0: +/* 80357CE0 00354C40 7F E3 FB 78 */ mr r3, r31 +/* 80357CE4 00354C44 E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 +/* 80357CE8 00354C48 CB E1 00 C0 */ lfd f31, 0xc0(r1) +/* 80357CEC 00354C4C BA 61 00 8C */ lmw r19, 0x8c(r1) +/* 80357CF0 00354C50 80 01 00 D4 */ lwz r0, 0xd4(r1) +/* 80357CF4 00354C54 7C 08 03 A6 */ mtlr r0 +/* 80357CF8 00354C58 38 21 00 D0 */ addi r1, r1, 0xd0 +/* 80357CFC 00354C5C 4E 80 00 20 */ blr + +.global sub_80357d00 +sub_80357d00: +/* 80357D00 00354C60 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80357D04 00354C64 7C 08 02 A6 */ mflr r0 +/* 80357D08 00354C68 90 01 00 14 */ stw r0, 0x14(r1) +/* 80357D0C 00354C6C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80357D10 00354C70 7C 9F 23 78 */ mr r31, r4 +/* 80357D14 00354C74 93 C1 00 08 */ stw r30, 8(r1) +/* 80357D18 00354C78 7C 7E 1B 78 */ mr r30, r3 +/* 80357D1C 00354C7C 80 03 00 04 */ lwz r0, 4(r3) +/* 80357D20 00354C80 80 A3 00 08 */ lwz r5, 8(r3) +/* 80357D24 00354C84 7C 00 28 00 */ cmpw r0, r5 +/* 80357D28 00354C88 41 80 00 18 */ blt lbl_80357D40 +/* 80357D2C 00354C8C 2C 05 00 00 */ cmpwi r5, 0 +/* 80357D30 00354C90 38 80 00 04 */ li r4, 4 +/* 80357D34 00354C94 41 82 00 08 */ beq lbl_80357D3C +/* 80357D38 00354C98 54 A4 08 3C */ slwi r4, r5, 1 +lbl_80357D3C: +/* 80357D3C 00354C9C 48 00 03 D9 */ bl "reserve__Q24rstl105vector>,Q24rstl17rmemory_allocator>Fi" +lbl_80357D40: +/* 80357D40 00354CA0 80 1E 00 04 */ lwz r0, 4(r30) +/* 80357D44 00354CA4 7F E4 FB 78 */ mr r4, r31 +/* 80357D48 00354CA8 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80357D4C 00354CAC 1C 00 00 24 */ mulli r0, r0, 0x24 +/* 80357D50 00354CB0 7C 63 02 14 */ add r3, r3, r0 +/* 80357D54 00354CB4 48 00 00 29 */ bl sub_80357d7c +/* 80357D58 00354CB8 80 7E 00 04 */ lwz r3, 4(r30) +/* 80357D5C 00354CBC 38 03 00 01 */ addi r0, r3, 1 +/* 80357D60 00354CC0 90 1E 00 04 */ stw r0, 4(r30) +/* 80357D64 00354CC4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80357D68 00354CC8 83 C1 00 08 */ lwz r30, 8(r1) +/* 80357D6C 00354CCC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80357D70 00354CD0 7C 08 03 A6 */ mtlr r0 +/* 80357D74 00354CD4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80357D78 00354CD8 4E 80 00 20 */ blr + +.global sub_80357d7c +sub_80357d7c: +/* 80357D7C 00354CDC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80357D80 00354CE0 7C 08 02 A6 */ mflr r0 +/* 80357D84 00354CE4 28 03 00 00 */ cmplwi r3, 0 +/* 80357D88 00354CE8 90 01 00 14 */ stw r0, 0x14(r1) +/* 80357D8C 00354CEC 41 82 00 08 */ beq lbl_80357D94 +/* 80357D90 00354CF0 48 00 00 15 */ bl sub_80357da4 +lbl_80357D94: +/* 80357D94 00354CF4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80357D98 00354CF8 7C 08 03 A6 */ mtlr r0 +/* 80357D9C 00354CFC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80357DA0 00354D00 4E 80 00 20 */ blr + +.global sub_80357da4 +sub_80357da4: +/* 80357DA4 00354D04 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80357DA8 00354D08 7C 08 02 A6 */ mflr r0 +/* 80357DAC 00354D0C 7C 85 23 78 */ mr r5, r4 +/* 80357DB0 00354D10 90 01 00 14 */ stw r0, 0x14(r1) +/* 80357DB4 00354D14 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80357DB8 00354D18 7C 7F 1B 78 */ mr r31, r3 +/* 80357DBC 00354D1C 38 7F 00 0C */ addi r3, r31, 0xc +/* 80357DC0 00354D20 C0 04 00 00 */ lfs f0, 0(r4) +/* 80357DC4 00354D24 38 85 00 0C */ addi r4, r5, 0xc +/* 80357DC8 00354D28 D0 1F 00 00 */ stfs f0, 0(r31) +/* 80357DCC 00354D2C C0 05 00 04 */ lfs f0, 4(r5) +/* 80357DD0 00354D30 D0 1F 00 04 */ stfs f0, 4(r31) +/* 80357DD4 00354D34 C0 05 00 08 */ lfs f0, 8(r5) +/* 80357DD8 00354D38 D0 1F 00 08 */ stfs f0, 8(r31) +/* 80357DDC 00354D3C 48 00 00 1D */ bl sub_80357df8 +/* 80357DE0 00354D40 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80357DE4 00354D44 7F E3 FB 78 */ mr r3, r31 +/* 80357DE8 00354D48 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80357DEC 00354D4C 7C 08 03 A6 */ mtlr r0 +/* 80357DF0 00354D50 38 21 00 10 */ addi r1, r1, 0x10 +/* 80357DF4 00354D54 4E 80 00 20 */ blr + +.global sub_80357df8 +sub_80357df8: +/* 80357DF8 00354D58 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80357DFC 00354D5C 7C 08 02 A6 */ mflr r0 +/* 80357E00 00354D60 38 E0 00 00 */ li r7, 0 +/* 80357E04 00354D64 90 01 00 34 */ stw r0, 0x34(r1) +/* 80357E08 00354D68 38 00 00 01 */ li r0, 1 +/* 80357E0C 00354D6C 38 A1 00 14 */ addi r5, r1, 0x14 +/* 80357E10 00354D70 38 C1 00 0C */ addi r6, r1, 0xc +/* 80357E14 00354D74 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80357E18 00354D78 7C 7F 1B 78 */ mr r31, r3 +/* 80357E1C 00354D7C 39 1F 00 0C */ addi r8, r31, 0xc +/* 80357E20 00354D80 91 03 00 04 */ stw r8, 4(r3) +/* 80357E24 00354D84 91 03 00 08 */ stw r8, 8(r3) +/* 80357E28 00354D88 91 03 00 0C */ stw r8, 0xc(r3) +/* 80357E2C 00354D8C 91 03 00 10 */ stw r8, 0x10(r3) +/* 80357E30 00354D90 90 E3 00 14 */ stw r7, 0x14(r3) +/* 80357E34 00354D94 81 04 00 08 */ lwz r8, 8(r4) +/* 80357E38 00354D98 80 E4 00 04 */ lwz r7, 4(r4) +/* 80357E3C 00354D9C 38 81 00 18 */ addi r4, r1, 0x18 +/* 80357E40 00354DA0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80357E44 00354DA4 98 01 00 20 */ stb r0, 0x20(r1) +/* 80357E48 00354DA8 91 01 00 0C */ stw r8, 0xc(r1) +/* 80357E4C 00354DAC 90 E1 00 14 */ stw r7, 0x14(r1) +/* 80357E50 00354DB0 80 03 00 08 */ lwz r0, 8(r3) +/* 80357E54 00354DB4 91 01 00 08 */ stw r8, 8(r1) +/* 80357E58 00354DB8 90 E1 00 10 */ stw r7, 0x10(r1) +/* 80357E5C 00354DBC 90 01 00 18 */ stw r0, 0x18(r1) +/* 80357E60 00354DC0 48 00 00 31 */ bl sub_80357e90 +/* 80357E64 00354DC4 38 00 00 00 */ li r0, 0 +/* 80357E68 00354DC8 38 61 00 1C */ addi r3, r1, 0x1c +/* 80357E6C 00354DCC 98 01 00 20 */ stb r0, 0x20(r1) +/* 80357E70 00354DD0 38 80 FF FF */ li r4, -1 +/* 80357E74 00354DD4 48 00 00 D1 */ bl sub_80357f44 +/* 80357E78 00354DD8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80357E7C 00354DDC 7F E3 FB 78 */ mr r3, r31 +/* 80357E80 00354DE0 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80357E84 00354DE4 7C 08 03 A6 */ mtlr r0 +/* 80357E88 00354DE8 38 21 00 30 */ addi r1, r1, 0x30 +/* 80357E8C 00354DEC 4E 80 00 20 */ blr + +.global sub_80357e90 +sub_80357e90: +/* 80357E90 00354DF0 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80357E94 00354DF4 7C 08 02 A6 */ mflr r0 +/* 80357E98 00354DF8 3C E0 80 3E */ lis r7, lbl_803D8330@ha +/* 80357E9C 00354DFC 90 01 00 34 */ stw r0, 0x34(r1) +/* 80357EA0 00354E00 BF 21 00 14 */ stmw r25, 0x14(r1) +/* 80357EA4 00354E04 7C 79 1B 78 */ mr r25, r3 +/* 80357EA8 00354E08 7C 9A 23 78 */ mr r26, r4 +/* 80357EAC 00354E0C 7C DB 33 78 */ mr r27, r6 +/* 80357EB0 00354E10 3B E7 83 30 */ addi r31, r7, lbl_803D8330@l +/* 80357EB4 00354E14 83 85 00 00 */ lwz r28, 0(r5) +/* 80357EB8 00354E18 48 00 00 6C */ b lbl_80357F24 +lbl_80357EBC: +/* 80357EBC 00354E1C 83 DA 00 00 */ lwz r30, 0(r26) +/* 80357EC0 00354E20 7F E4 FB 78 */ mr r4, r31 +/* 80357EC4 00354E24 38 60 00 0C */ li r3, 0xc +/* 80357EC8 00354E28 38 A0 00 00 */ li r5, 0 +/* 80357ECC 00354E2C 83 BE 00 00 */ lwz r29, 0(r30) +/* 80357ED0 00354E30 4B FB D9 49 */ bl __nwa__FUlPCcPCc +/* 80357ED4 00354E34 28 03 00 00 */ cmplwi r3, 0 +/* 80357ED8 00354E38 41 82 00 0C */ beq lbl_80357EE4 +/* 80357EDC 00354E3C 93 A3 00 00 */ stw r29, 0(r3) +/* 80357EE0 00354E40 93 C3 00 04 */ stw r30, 4(r3) +lbl_80357EE4: +/* 80357EE4 00354E44 34 83 00 08 */ addic. r4, r3, 8 +/* 80357EE8 00354E48 41 82 00 0C */ beq lbl_80357EF4 +/* 80357EEC 00354E4C 80 1C 00 08 */ lwz r0, 8(r28) +/* 80357EF0 00354E50 90 04 00 00 */ stw r0, 0(r4) +lbl_80357EF4: +/* 80357EF4 00354E54 80 19 00 04 */ lwz r0, 4(r25) +/* 80357EF8 00354E58 7C 1E 00 40 */ cmplw r30, r0 +/* 80357EFC 00354E5C 40 82 00 08 */ bne lbl_80357F04 +/* 80357F00 00354E60 90 79 00 04 */ stw r3, 4(r25) +lbl_80357F04: +/* 80357F04 00354E64 80 83 00 00 */ lwz r4, 0(r3) +/* 80357F08 00354E68 90 64 00 04 */ stw r3, 4(r4) +/* 80357F0C 00354E6C 80 83 00 04 */ lwz r4, 4(r3) +/* 80357F10 00354E70 90 64 00 00 */ stw r3, 0(r4) +/* 80357F14 00354E74 80 79 00 14 */ lwz r3, 0x14(r25) +/* 80357F18 00354E78 38 03 00 01 */ addi r0, r3, 1 +/* 80357F1C 00354E7C 90 19 00 14 */ stw r0, 0x14(r25) +/* 80357F20 00354E80 83 9C 00 04 */ lwz r28, 4(r28) +lbl_80357F24: +/* 80357F24 00354E84 80 1B 00 00 */ lwz r0, 0(r27) +/* 80357F28 00354E88 7C 1C 00 40 */ cmplw r28, r0 +/* 80357F2C 00354E8C 40 82 FF 90 */ bne lbl_80357EBC +/* 80357F30 00354E90 BB 21 00 14 */ lmw r25, 0x14(r1) +/* 80357F34 00354E94 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80357F38 00354E98 7C 08 03 A6 */ mtlr r0 +/* 80357F3C 00354E9C 38 21 00 30 */ addi r1, r1, 0x30 +/* 80357F40 00354EA0 4E 80 00 20 */ blr + +.global sub_80357f44 +sub_80357f44: +/* 80357F44 00354EA4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80357F48 00354EA8 7C 08 02 A6 */ mflr r0 +/* 80357F4C 00354EAC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80357F50 00354EB0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80357F54 00354EB4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80357F58 00354EB8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80357F5C 00354EBC 7C 9D 23 78 */ mr r29, r4 +/* 80357F60 00354EC0 93 81 00 10 */ stw r28, 0x10(r1) +/* 80357F64 00354EC4 7C 7C 1B 79 */ or. r28, r3, r3 +/* 80357F68 00354EC8 41 82 00 44 */ beq lbl_80357FAC +/* 80357F6C 00354ECC 88 1C 00 04 */ lbz r0, 4(r28) +/* 80357F70 00354ED0 28 00 00 00 */ cmplwi r0, 0 +/* 80357F74 00354ED4 41 82 00 28 */ beq lbl_80357F9C +/* 80357F78 00354ED8 83 FC 00 00 */ lwz r31, 0(r28) +/* 80357F7C 00354EDC 83 DF 00 08 */ lwz r30, 8(r31) +/* 80357F80 00354EE0 80 9F 00 04 */ lwz r4, 4(r31) +/* 80357F84 00354EE4 48 00 00 10 */ b lbl_80357F94 +lbl_80357F88: +/* 80357F88 00354EE8 7F E3 FB 78 */ mr r3, r31 +/* 80357F8C 00354EEC 48 00 00 95 */ bl sub_80358020 +/* 80357F90 00354EF0 7C 64 1B 78 */ mr r4, r3 +lbl_80357F94: +/* 80357F94 00354EF4 7C 04 F0 40 */ cmplw r4, r30 +/* 80357F98 00354EF8 40 82 FF F0 */ bne lbl_80357F88 +lbl_80357F9C: +/* 80357F9C 00354EFC 7F A0 07 35 */ extsh. r0, r29 +/* 80357FA0 00354F00 40 81 00 0C */ ble lbl_80357FAC +/* 80357FA4 00354F04 7F 83 E3 78 */ mr r3, r28 +/* 80357FA8 00354F08 4B FB D9 89 */ bl Free__7CMemoryFPCv +lbl_80357FAC: +/* 80357FAC 00354F0C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80357FB0 00354F10 7F 83 E3 78 */ mr r3, r28 +/* 80357FB4 00354F14 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80357FB8 00354F18 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80357FBC 00354F1C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80357FC0 00354F20 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80357FC4 00354F24 7C 08 03 A6 */ mtlr r0 +/* 80357FC8 00354F28 38 21 00 20 */ addi r1, r1, 0x20 +/* 80357FCC 00354F2C 4E 80 00 20 */ blr + +.global sub_80357fd0 +sub_80357fd0: +/* 80357FD0 00354F30 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80357FD4 00354F34 7C 08 02 A6 */ mflr r0 +/* 80357FD8 00354F38 90 01 00 14 */ stw r0, 0x14(r1) +/* 80357FDC 00354F3C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80357FE0 00354F40 7C 7F 1B 78 */ mr r31, r3 +/* 80357FE4 00354F44 C0 04 00 00 */ lfs f0, 0(r4) +/* 80357FE8 00354F48 D0 03 00 00 */ stfs f0, 0(r3) +/* 80357FEC 00354F4C 38 7F 00 0C */ addi r3, r31, 0xc +/* 80357FF0 00354F50 C0 04 00 04 */ lfs f0, 4(r4) +/* 80357FF4 00354F54 D0 1F 00 04 */ stfs f0, 4(r31) +/* 80357FF8 00354F58 C0 04 00 08 */ lfs f0, 8(r4) +/* 80357FFC 00354F5C 7C A4 2B 78 */ mr r4, r5 +/* 80358000 00354F60 D0 1F 00 08 */ stfs f0, 8(r31) +/* 80358004 00354F64 4B FF FD F5 */ bl sub_80357df8 +/* 80358008 00354F68 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8035800C 00354F6C 7F E3 FB 78 */ mr r3, r31 +/* 80358010 00354F70 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80358014 00354F74 7C 08 03 A6 */ mtlr r0 +/* 80358018 00354F78 38 21 00 10 */ addi r1, r1, 0x10 +/* 8035801C 00354F7C 4E 80 00 20 */ blr + +.global sub_80358020 +sub_80358020: +/* 80358020 00354F80 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80358024 00354F84 7C 08 02 A6 */ mflr r0 +/* 80358028 00354F88 90 01 00 14 */ stw r0, 0x14(r1) +/* 8035802C 00354F8C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80358030 00354F90 93 C1 00 08 */ stw r30, 8(r1) +/* 80358034 00354F94 7C 7E 1B 78 */ mr r30, r3 +/* 80358038 00354F98 80 03 00 04 */ lwz r0, 4(r3) +/* 8035803C 00354F9C 83 E4 00 04 */ lwz r31, 4(r4) +/* 80358040 00354FA0 7C 04 00 40 */ cmplw r4, r0 +/* 80358044 00354FA4 40 82 00 08 */ bne lbl_8035804C +/* 80358048 00354FA8 93 FE 00 04 */ stw r31, 4(r30) +lbl_8035804C: +/* 8035804C 00354FAC 80 04 00 04 */ lwz r0, 4(r4) +/* 80358050 00354FB0 28 04 00 00 */ cmplwi r4, 0 +/* 80358054 00354FB4 80 64 00 00 */ lwz r3, 0(r4) +/* 80358058 00354FB8 90 03 00 04 */ stw r0, 4(r3) +/* 8035805C 00354FBC 80 04 00 00 */ lwz r0, 0(r4) +/* 80358060 00354FC0 80 64 00 04 */ lwz r3, 4(r4) +/* 80358064 00354FC4 90 03 00 00 */ stw r0, 0(r3) +/* 80358068 00354FC8 41 82 00 0C */ beq lbl_80358074 +/* 8035806C 00354FCC 7C 83 23 78 */ mr r3, r4 +/* 80358070 00354FD0 4B FB D8 C1 */ bl Free__7CMemoryFPCv +lbl_80358074: +/* 80358074 00354FD4 80 9E 00 14 */ lwz r4, 0x14(r30) +/* 80358078 00354FD8 7F E3 FB 78 */ mr r3, r31 +/* 8035807C 00354FDC 38 04 FF FF */ addi r0, r4, -1 +/* 80358080 00354FE0 90 1E 00 14 */ stw r0, 0x14(r30) +/* 80358084 00354FE4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80358088 00354FE8 83 C1 00 08 */ lwz r30, 8(r1) +/* 8035808C 00354FEC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80358090 00354FF0 7C 08 03 A6 */ mtlr r0 +/* 80358094 00354FF4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80358098 00354FF8 4E 80 00 20 */ blr + +.global sub_8035809c +sub_8035809c: +/* 8035809C 00354FFC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803580A0 00355000 7C 08 02 A6 */ mflr r0 +/* 803580A4 00355004 90 01 00 24 */ stw r0, 0x24(r1) +/* 803580A8 00355008 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 803580AC 0035500C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 803580B0 00355010 7C 9E 23 78 */ mr r30, r4 +/* 803580B4 00355014 93 A1 00 14 */ stw r29, 0x14(r1) +/* 803580B8 00355018 7C 7D 1B 79 */ or. r29, r3, r3 +/* 803580BC 0035501C 41 82 00 38 */ beq lbl_803580F4 +/* 803580C0 00355020 83 FD 00 04 */ lwz r31, 4(r29) +/* 803580C4 00355024 48 00 00 14 */ b lbl_803580D8 +lbl_803580C8: +/* 803580C8 00355028 7F E3 FB 79 */ or. r3, r31, r31 +/* 803580CC 0035502C 83 FF 00 04 */ lwz r31, 4(r31) +/* 803580D0 00355030 41 82 00 08 */ beq lbl_803580D8 +/* 803580D4 00355034 4B FB D8 5D */ bl Free__7CMemoryFPCv +lbl_803580D8: +/* 803580D8 00355038 80 1D 00 08 */ lwz r0, 8(r29) +/* 803580DC 0035503C 7C 1F 00 40 */ cmplw r31, r0 +/* 803580E0 00355040 40 82 FF E8 */ bne lbl_803580C8 +/* 803580E4 00355044 7F C0 07 35 */ extsh. r0, r30 +/* 803580E8 00355048 40 81 00 0C */ ble lbl_803580F4 +/* 803580EC 0035504C 7F A3 EB 78 */ mr r3, r29 +/* 803580F0 00355050 4B FB D8 41 */ bl Free__7CMemoryFPCv +lbl_803580F4: +/* 803580F4 00355054 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803580F8 00355058 7F A3 EB 78 */ mr r3, r29 +/* 803580FC 0035505C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80358100 00355060 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80358104 00355064 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80358108 00355068 7C 08 03 A6 */ mtlr r0 +/* 8035810C 0035506C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80358110 00355070 4E 80 00 20 */ blr + +.global "reserve__Q24rstl105vector>,Q24rstl17rmemory_allocator>Fi" +"reserve__Q24rstl105vector>,Q24rstl17rmemory_allocator>Fi": +/* 80358114 00355074 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80358118 00355078 7C 08 02 A6 */ mflr r0 +/* 8035811C 0035507C 90 01 00 34 */ stw r0, 0x34(r1) +/* 80358120 00355080 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 80358124 00355084 7C 9F 23 78 */ mr r31, r4 +/* 80358128 00355088 7C 7E 1B 78 */ mr r30, r3 +/* 8035812C 0035508C 80 03 00 08 */ lwz r0, 8(r3) +/* 80358130 00355090 7C 1F 00 00 */ cmpw r31, r0 +/* 80358134 00355094 40 81 00 AC */ ble lbl_803581E0 +/* 80358138 00355098 1C 7F 00 24 */ mulli r3, r31, 0x24 +/* 8035813C 0035509C 2C 03 00 00 */ cmpwi r3, 0 +/* 80358140 003550A0 40 82 00 0C */ bne lbl_8035814C +/* 80358144 003550A4 3B A0 00 00 */ li r29, 0 +/* 80358148 003550A8 48 00 00 18 */ b lbl_80358160 +lbl_8035814C: +/* 8035814C 003550AC 3C 80 80 3E */ lis r4, lbl_803D8330@ha +/* 80358150 003550B0 38 A0 00 00 */ li r5, 0 +/* 80358154 003550B4 38 84 83 30 */ addi r4, r4, lbl_803D8330@l +/* 80358158 003550B8 4B FB D6 C1 */ bl __nwa__FUlPCcPCc +/* 8035815C 003550BC 7C 7D 1B 78 */ mr r29, r3 +lbl_80358160: +/* 80358160 003550C0 80 1E 00 04 */ lwz r0, 4(r30) +/* 80358164 003550C4 7F A5 EB 78 */ mr r5, r29 +/* 80358168 003550C8 80 DE 00 0C */ lwz r6, 0xc(r30) +/* 8035816C 003550CC 38 61 00 14 */ addi r3, r1, 0x14 +/* 80358170 003550D0 1C 00 00 24 */ mulli r0, r0, 0x24 +/* 80358174 003550D4 38 81 00 0C */ addi r4, r1, 0xc +/* 80358178 003550D8 7C C6 02 14 */ add r6, r6, r0 +/* 8035817C 003550DC 90 C1 00 0C */ stw r6, 0xc(r1) +/* 80358180 003550E0 80 1E 00 0C */ lwz r0, 0xc(r30) +/* 80358184 003550E4 90 C1 00 08 */ stw r6, 8(r1) +/* 80358188 003550E8 90 01 00 10 */ stw r0, 0x10(r1) +/* 8035818C 003550EC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80358190 003550F0 48 00 00 65 */ bl sub_803581f4 +/* 80358194 003550F4 80 1E 00 04 */ lwz r0, 4(r30) +/* 80358198 003550F8 83 7E 00 0C */ lwz r27, 0xc(r30) +/* 8035819C 003550FC 1C 00 00 24 */ mulli r0, r0, 0x24 +/* 803581A0 00355100 7F 9B 02 14 */ add r28, r27, r0 +/* 803581A4 00355104 48 00 00 1C */ b lbl_803581C0 +lbl_803581A8: +/* 803581A8 00355108 28 1B 00 00 */ cmplwi r27, 0 +/* 803581AC 0035510C 41 82 00 10 */ beq lbl_803581BC +/* 803581B0 00355110 38 7B 00 0C */ addi r3, r27, 0xc +/* 803581B4 00355114 38 80 FF FF */ li r4, -1 +/* 803581B8 00355118 4B FF FE E5 */ bl sub_8035809c +lbl_803581BC: +/* 803581BC 0035511C 3B 7B 00 24 */ addi r27, r27, 0x24 +lbl_803581C0: +/* 803581C0 00355120 7C 1B E0 40 */ cmplw r27, r28 +/* 803581C4 00355124 40 82 FF E4 */ bne lbl_803581A8 +/* 803581C8 00355128 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 803581CC 0035512C 28 03 00 00 */ cmplwi r3, 0 +/* 803581D0 00355130 41 82 00 08 */ beq lbl_803581D8 +/* 803581D4 00355134 4B FB D7 5D */ bl Free__7CMemoryFPCv +lbl_803581D8: +/* 803581D8 00355138 93 BE 00 0C */ stw r29, 0xc(r30) +/* 803581DC 0035513C 93 FE 00 08 */ stw r31, 8(r30) +lbl_803581E0: +/* 803581E0 00355140 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 803581E4 00355144 80 01 00 34 */ lwz r0, 0x34(r1) +/* 803581E8 00355148 7C 08 03 A6 */ mtlr r0 +/* 803581EC 0035514C 38 21 00 30 */ addi r1, r1, 0x30 +/* 803581F0 00355150 4E 80 00 20 */ blr + +.global sub_803581f4 +sub_803581f4: +/* 803581F4 00355154 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803581F8 00355158 7C 08 02 A6 */ mflr r0 +/* 803581FC 0035515C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80358200 00355160 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80358204 00355164 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80358208 00355168 7C BE 2B 78 */ mr r30, r5 +/* 8035820C 0035516C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80358210 00355170 7C 9D 23 78 */ mr r29, r4 +/* 80358214 00355174 83 E3 00 00 */ lwz r31, 0(r3) +/* 80358218 00355178 48 00 00 18 */ b lbl_80358230 +lbl_8035821C: +/* 8035821C 0035517C 7F C3 F3 78 */ mr r3, r30 +/* 80358220 00355180 7F E4 FB 78 */ mr r4, r31 +/* 80358224 00355184 4B FF FB 59 */ bl sub_80357d7c +/* 80358228 00355188 3B DE 00 24 */ addi r30, r30, 0x24 +/* 8035822C 0035518C 3B FF 00 24 */ addi r31, r31, 0x24 +lbl_80358230: +/* 80358230 00355190 80 1D 00 00 */ lwz r0, 0(r29) +/* 80358234 00355194 7C 1F 00 40 */ cmplw r31, r0 +/* 80358238 00355198 40 82 FF E4 */ bne lbl_8035821C +/* 8035823C 0035519C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80358240 003551A0 7F C3 F3 78 */ mr r3, r30 +/* 80358244 003551A4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80358248 003551A8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8035824C 003551AC 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80358250 003551B0 7C 08 03 A6 */ mtlr r0 +/* 80358254 003551B4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80358258 003551B8 4E 80 00 20 */ blr diff --git a/asm/Kyoto/AnimData/CTimeScaleFunctions.s b/asm/Kyoto/Animation/CTimeScaleFunctions.s similarity index 100% rename from asm/Kyoto/AnimData/CTimeScaleFunctions.s rename to asm/Kyoto/Animation/CTimeScaleFunctions.s diff --git a/asm/Kyoto/Animation/CVertexMorphEffect.s b/asm/Kyoto/Animation/CVertexMorphEffect.s new file mode 100644 index 00000000..37f29c68 --- /dev/null +++ b/asm/Kyoto/Animation/CVertexMorphEffect.s @@ -0,0 +1,337 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global Reset__18CVertexMorphEffectFRC13CUnitVector3fRC9CVector3ff +Reset__18CVertexMorphEffectFRC13CUnitVector3fRC9CVector3ff: +/* 803574E0 00354440 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 803574E4 00354444 C0 02 CC C0 */ lfs f0, lbl_805AE9E0@sda21(r2) +/* 803574E8 00354448 C0 44 00 00 */ lfs f2, 0(r4) +/* 803574EC 0035444C D0 43 00 00 */ stfs f2, 0(r3) +/* 803574F0 00354450 C0 44 00 04 */ lfs f2, 4(r4) +/* 803574F4 00354454 D0 43 00 04 */ stfs f2, 4(r3) +/* 803574F8 00354458 C0 44 00 08 */ lfs f2, 8(r4) +/* 803574FC 0035445C D0 43 00 08 */ stfs f2, 8(r3) +/* 80357500 00354460 C0 45 00 00 */ lfs f2, 0(r5) +/* 80357504 00354464 D0 43 00 0C */ stfs f2, 0xc(r3) +/* 80357508 00354468 C0 45 00 04 */ lfs f2, 4(r5) +/* 8035750C 0035446C D0 43 00 10 */ stfs f2, 0x10(r3) +/* 80357510 00354470 C0 45 00 08 */ lfs f2, 8(r5) +/* 80357514 00354474 D0 43 00 14 */ stfs f2, 0x14(r3) +/* 80357518 00354478 D0 23 00 18 */ stfs f1, 0x18(r3) +/* 8035751C 0035447C D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 80357520 00354480 80 03 00 2C */ lwz r0, 0x2c(r3) +/* 80357524 00354484 80 83 00 34 */ lwz r4, 0x34(r3) +/* 80357528 00354488 54 00 10 3A */ slwi r0, r0, 2 +/* 8035752C 0035448C 7C 04 02 14 */ add r0, r4, r0 +/* 80357530 00354490 90 81 00 1C */ stw r4, 0x1c(r1) +/* 80357534 00354494 90 01 00 24 */ stw r0, 0x24(r1) +/* 80357538 00354498 90 01 00 20 */ stw r0, 0x20(r1) +/* 8035753C 0035449C 90 81 00 18 */ stw r4, 0x18(r1) +/* 80357540 003544A0 48 00 00 08 */ b lbl_80357548 +lbl_80357544: +/* 80357544 003544A4 38 84 00 04 */ addi r4, r4, 4 +lbl_80357548: +/* 80357548 003544A8 7C 04 00 40 */ cmplw r4, r0 +/* 8035754C 003544AC 40 82 FF F8 */ bne lbl_80357544 +/* 80357550 003544B0 38 00 00 00 */ li r0, 0 +/* 80357554 003544B4 90 03 00 2C */ stw r0, 0x2c(r3) +/* 80357558 003544B8 80 03 00 3C */ lwz r0, 0x3c(r3) +/* 8035755C 003544BC 80 83 00 44 */ lwz r4, 0x44(r3) +/* 80357560 003544C0 54 00 10 3A */ slwi r0, r0, 2 +/* 80357564 003544C4 7C 04 02 14 */ add r0, r4, r0 +/* 80357568 003544C8 90 81 00 0C */ stw r4, 0xc(r1) +/* 8035756C 003544CC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80357570 003544D0 90 01 00 10 */ stw r0, 0x10(r1) +/* 80357574 003544D4 90 81 00 08 */ stw r4, 8(r1) +/* 80357578 003544D8 48 00 00 08 */ b lbl_80357580 +lbl_8035757C: +/* 8035757C 003544DC 38 84 00 04 */ addi r4, r4, 4 +lbl_80357580: +/* 80357580 003544E0 7C 04 00 40 */ cmplw r4, r0 +/* 80357584 003544E4 40 82 FF F8 */ bne lbl_8035757C +/* 80357588 003544E8 38 00 00 00 */ li r0, 0 +/* 8035758C 003544EC 90 03 00 3C */ stw r0, 0x3c(r3) +/* 80357590 003544F0 38 21 00 30 */ addi r1, r1, 0x30 +/* 80357594 003544F4 4E 80 00 20 */ blr + +.global "MorphVertices__18CVertexMorphEffectCFP9CVector3fPC9CVector3fRC26TLockedToken<10CSkinRules>RC17CPoseAsTransformsUi" +"MorphVertices__18CVertexMorphEffectCFP9CVector3fPC9CVector3fRC26TLockedToken<10CSkinRules>RC17CPoseAsTransformsUi": +/* 80357598 003544F8 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 8035759C 003544FC 7C 08 02 A6 */ mflr r0 +/* 803575A0 00354500 90 01 00 64 */ stw r0, 0x64(r1) +/* 803575A4 00354504 DB E1 00 50 */ stfd f31, 0x50(r1) +/* 803575A8 00354508 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 +/* 803575AC 0035450C DB C1 00 40 */ stfd f30, 0x40(r1) +/* 803575B0 00354510 F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 +/* 803575B4 00354514 BE E1 00 1C */ stmw r23, 0x1c(r1) +/* 803575B8 00354518 7C 77 1B 78 */ mr r23, r3 +/* 803575BC 0035451C 7C 98 23 78 */ mr r24, r4 +/* 803575C0 00354520 80 03 00 2C */ lwz r0, 0x2c(r3) +/* 803575C4 00354524 7C BB 2B 78 */ mr r27, r5 +/* 803575C8 00354528 7C DA 33 78 */ mr r26, r6 +/* 803575CC 0035452C 7D 19 43 78 */ mr r25, r8 +/* 803575D0 00354530 2C 00 00 00 */ cmpwi r0, 0 +/* 803575D4 00354534 40 82 01 C0 */ bne lbl_80357794 +/* 803575D8 00354538 3C 60 80 3E */ lis r3, lbl_803D8328@ha +/* 803575DC 0035453C 38 A0 00 00 */ li r5, 0 +/* 803575E0 00354540 38 83 83 28 */ addi r4, r3, lbl_803D8328@l +/* 803575E4 00354544 1C 79 00 0C */ mulli r3, r25, 0xc +/* 803575E8 00354548 4B FB E2 31 */ bl __nwa__FUlPCcPCc +/* 803575EC 0035454C 7C 60 1B 78 */ mr r0, r3 +/* 803575F0 00354550 80 7A 00 08 */ lwz r3, 8(r26) +/* 803575F4 00354554 7C 1D 03 78 */ mr r29, r0 +/* 803575F8 00354558 7F 64 DB 78 */ mr r4, r27 +/* 803575FC 0035455C 7F A5 EB 78 */ mr r5, r29 +/* 80357600 00354560 4B FF C8 9D */ bl BuildNormalsFrom__10CSkinRulesCFPC9CVector3fP9CVector3f +/* 80357604 00354564 3C 00 43 30 */ lis r0, 0x4330 +/* 80357608 00354568 93 21 00 0C */ stw r25, 0xc(r1) +/* 8035760C 0035456C C8 22 CC C8 */ lfd f1, lbl_805AE9E8@sda21(r2) +/* 80357610 00354570 3B 97 00 28 */ addi r28, r23, 0x28 +/* 80357614 00354574 90 01 00 08 */ stw r0, 8(r1) +/* 80357618 00354578 C0 42 CC C4 */ lfs f2, lbl_805AE9E4@sda21(r2) +/* 8035761C 0035457C C8 01 00 08 */ lfd f0, 8(r1) +/* 80357620 00354580 EC 00 08 28 */ fsubs f0, f0, f1 +/* 80357624 00354584 EC 22 00 32 */ fmuls f1, f2, f0 +/* 80357628 00354588 48 03 23 2D */ bl __cvt_fp2unsigned +/* 8035762C 0035458C 7C 7A 1B 78 */ mr r26, r3 +/* 80357630 00354590 7F 83 E3 78 */ mr r3, r28 +/* 80357634 00354594 7F 44 D3 78 */ mr r4, r26 +/* 80357638 00354598 4B D0 C4 ED */ bl "reserve__Q24rstl37vectorFi" +/* 8035763C 0035459C 3B 77 00 38 */ addi r27, r23, 0x38 +/* 80357640 003545A0 7F 44 D3 78 */ mr r4, r26 +/* 80357644 003545A4 7F 63 DB 78 */ mr r3, r27 +/* 80357648 003545A8 4B D0 67 B1 */ bl "reserve__Q24rstl36vectorFi" +/* 8035764C 003545AC C3 E2 CC C4 */ lfs f31, lbl_805AE9E4@sda21(r2) +/* 80357650 003545B0 7F BF EB 78 */ mr r31, r29 +/* 80357654 003545B4 7F 1E C3 78 */ mr r30, r24 +/* 80357658 003545B8 3B 40 00 00 */ li r26, 0 +/* 8035765C 003545BC 48 00 01 20 */ b lbl_8035777C +lbl_80357660: +/* 80357660 003545C0 C0 3F 00 04 */ lfs f1, 4(r31) +/* 80357664 003545C4 C0 17 00 04 */ lfs f0, 4(r23) +/* 80357668 003545C8 C0 5F 00 00 */ lfs f2, 0(r31) +/* 8035766C 003545CC EC 01 00 32 */ fmuls f0, f1, f0 +/* 80357670 003545D0 C0 37 00 00 */ lfs f1, 0(r23) +/* 80357674 003545D4 C0 9F 00 08 */ lfs f4, 8(r31) +/* 80357678 003545D8 C0 77 00 08 */ lfs f3, 8(r23) +/* 8035767C 003545DC EC 02 00 7A */ fmadds f0, f2, f1, f0 +/* 80357680 003545E0 EF C4 00 FA */ fmadds f30, f4, f3, f0 +/* 80357684 003545E4 FC 1E F8 40 */ fcmpo cr0, f30, f31 +/* 80357688 003545E8 40 81 00 E8 */ ble lbl_80357770 +/* 8035768C 003545EC 80 1C 00 04 */ lwz r0, 4(r28) +/* 80357690 003545F0 80 BC 00 08 */ lwz r5, 8(r28) +/* 80357694 003545F4 7C 00 28 00 */ cmpw r0, r5 +/* 80357698 003545F8 41 80 00 1C */ blt lbl_803576B4 +/* 8035769C 003545FC 2C 05 00 00 */ cmpwi r5, 0 +/* 803576A0 00354600 7F 83 E3 78 */ mr r3, r28 +/* 803576A4 00354604 38 80 00 04 */ li r4, 4 +/* 803576A8 00354608 41 82 00 08 */ beq lbl_803576B0 +/* 803576AC 0035460C 54 A4 08 3C */ slwi r4, r5, 1 +lbl_803576B0: +/* 803576B0 00354610 4B D0 C4 75 */ bl "reserve__Q24rstl37vectorFi" +lbl_803576B4: +/* 803576B4 00354614 80 1C 00 04 */ lwz r0, 4(r28) +/* 803576B8 00354618 80 7C 00 0C */ lwz r3, 0xc(r28) +/* 803576BC 0035461C 54 00 10 3A */ slwi r0, r0, 2 +/* 803576C0 00354620 7C 63 02 15 */ add. r3, r3, r0 +/* 803576C4 00354624 41 82 00 08 */ beq lbl_803576CC +/* 803576C8 00354628 93 43 00 00 */ stw r26, 0(r3) +lbl_803576CC: +/* 803576CC 0035462C 80 7C 00 04 */ lwz r3, 4(r28) +/* 803576D0 00354630 3C 00 43 30 */ lis r0, 0x4330 +/* 803576D4 00354634 C0 02 CC C4 */ lfs f0, lbl_805AE9E4@sda21(r2) +/* 803576D8 00354638 38 63 00 01 */ addi r3, r3, 1 +/* 803576DC 0035463C 90 01 00 10 */ stw r0, 0x10(r1) +/* 803576E0 00354640 C8 42 CC D0 */ lfd f2, lbl_805AE9F0@sda21(r2) +/* 803576E4 00354644 EC 1E 00 28 */ fsubs f0, f30, f0 +/* 803576E8 00354648 90 7C 00 04 */ stw r3, 4(r28) +/* 803576EC 0035464C C0 7E 00 00 */ lfs f3, 0(r30) +/* 803576F0 00354650 C0 3E 00 04 */ lfs f1, 4(r30) +/* 803576F4 00354654 C0 9E 00 08 */ lfs f4, 8(r30) +/* 803576F8 00354658 EC 23 08 2A */ fadds f1, f3, f1 +/* 803576FC 0035465C 80 1B 00 04 */ lwz r0, 4(r27) +/* 80357700 00354660 80 BB 00 08 */ lwz r5, 8(r27) +/* 80357704 00354664 EC 64 08 2A */ fadds f3, f4, f1 +/* 80357708 00354668 7C 00 28 00 */ cmpw r0, r5 +/* 8035770C 0035466C FC 20 18 1E */ fctiwz f1, f3 +/* 80357710 00354670 D8 21 00 08 */ stfd f1, 8(r1) +/* 80357714 00354674 80 01 00 0C */ lwz r0, 0xc(r1) +/* 80357718 00354678 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8035771C 0035467C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80357720 00354680 C8 21 00 10 */ lfd f1, 0x10(r1) +/* 80357724 00354684 EC 21 10 28 */ fsubs f1, f1, f2 +/* 80357728 00354688 EC 23 08 28 */ fsubs f1, f3, f1 +/* 8035772C 0035468C EF C1 00 32 */ fmuls f30, f1, f0 +/* 80357730 00354690 41 80 00 1C */ blt lbl_8035774C +/* 80357734 00354694 2C 05 00 00 */ cmpwi r5, 0 +/* 80357738 00354698 7F 63 DB 78 */ mr r3, r27 +/* 8035773C 0035469C 38 80 00 04 */ li r4, 4 +/* 80357740 003546A0 41 82 00 08 */ beq lbl_80357748 +/* 80357744 003546A4 54 A4 08 3C */ slwi r4, r5, 1 +lbl_80357748: +/* 80357748 003546A8 4B D0 66 B1 */ bl "reserve__Q24rstl36vectorFi" +lbl_8035774C: +/* 8035774C 003546AC 80 1B 00 04 */ lwz r0, 4(r27) +/* 80357750 003546B0 80 7B 00 0C */ lwz r3, 0xc(r27) +/* 80357754 003546B4 54 00 10 3A */ slwi r0, r0, 2 +/* 80357758 003546B8 7C 63 02 15 */ add. r3, r3, r0 +/* 8035775C 003546BC 41 82 00 08 */ beq lbl_80357764 +/* 80357760 003546C0 D3 C3 00 00 */ stfs f30, 0(r3) +lbl_80357764: +/* 80357764 003546C4 80 7B 00 04 */ lwz r3, 4(r27) +/* 80357768 003546C8 38 03 00 01 */ addi r0, r3, 1 +/* 8035776C 003546CC 90 1B 00 04 */ stw r0, 4(r27) +lbl_80357770: +/* 80357770 003546D0 3B FF 00 0C */ addi r31, r31, 0xc +/* 80357774 003546D4 3B DE 00 0C */ addi r30, r30, 0xc +/* 80357778 003546D8 3B 5A 00 01 */ addi r26, r26, 1 +lbl_8035777C: +/* 8035777C 003546DC 7C 1A C8 40 */ cmplw r26, r25 +/* 80357780 003546E0 41 80 FE E0 */ blt lbl_80357660 +/* 80357784 003546E4 28 1D 00 00 */ cmplwi r29, 0 +/* 80357788 003546E8 41 82 00 0C */ beq lbl_80357794 +/* 8035778C 003546EC 7F A3 EB 78 */ mr r3, r29 +/* 80357790 003546F0 4B FB E1 A1 */ bl Free__7CMemoryFPCv +lbl_80357794: +/* 80357794 003546F4 80 17 00 2C */ lwz r0, 0x2c(r23) +/* 80357798 003546F8 38 80 00 00 */ li r4, 0 +/* 8035779C 003546FC 28 00 00 00 */ cmplwi r0, 0 +/* 803577A0 00354700 7C 03 03 78 */ mr r3, r0 +/* 803577A4 00354704 40 81 01 A4 */ ble lbl_80357948 +/* 803577A8 00354708 54 00 F8 7F */ rlwinm. r0, r0, 0x1f, 1, 0x1f +/* 803577AC 0035470C 7C 09 03 A6 */ mtctr r0 +/* 803577B0 00354710 41 82 01 10 */ beq lbl_803578C0 +lbl_803577B4: +/* 803577B4 00354714 C0 37 00 1C */ lfs f1, 0x1c(r23) +/* 803577B8 00354718 C0 17 00 18 */ lfs f0, 0x18(r23) +/* 803577BC 0035471C 80 D7 00 44 */ lwz r6, 0x44(r23) +/* 803577C0 00354720 EC 81 00 24 */ fdivs f4, f1, f0 +/* 803577C4 00354724 80 B7 00 34 */ lwz r5, 0x34(r23) +/* 803577C8 00354728 7C C6 24 2E */ lfsx f6, r6, r4 +/* 803577CC 0035472C 7C 05 20 2E */ lwzx r0, r5, r4 +/* 803577D0 00354730 38 84 00 04 */ addi r4, r4, 4 +/* 803577D4 00354734 C0 17 00 00 */ lfs f0, 0(r23) +/* 803577D8 00354738 1C 00 00 0C */ mulli r0, r0, 0xc +/* 803577DC 0035473C C0 37 00 04 */ lfs f1, 4(r23) +/* 803577E0 00354740 EC 06 00 32 */ fmuls f0, f6, f0 +/* 803577E4 00354744 C0 B7 00 20 */ lfs f5, 0x20(r23) +/* 803577E8 00354748 EC 66 00 72 */ fmuls f3, f6, f1 +/* 803577EC 0035474C C0 57 00 08 */ lfs f2, 8(r23) +/* 803577F0 00354750 EC 05 00 32 */ fmuls f0, f5, f0 +/* 803577F4 00354754 7C B8 02 14 */ add r5, r24, r0 +/* 803577F8 00354758 EC 65 00 F2 */ fmuls f3, f5, f3 +/* 803577FC 0035475C C0 25 00 00 */ lfs f1, 0(r5) +/* 80357800 00354760 EC 46 00 B2 */ fmuls f2, f6, f2 +/* 80357804 00354764 EC 04 00 32 */ fmuls f0, f4, f0 +/* 80357808 00354768 EC 64 00 F2 */ fmuls f3, f4, f3 +/* 8035780C 0035476C EC 45 00 B2 */ fmuls f2, f5, f2 +/* 80357810 00354770 EC 01 00 2A */ fadds f0, f1, f0 +/* 80357814 00354774 EC 44 00 B2 */ fmuls f2, f4, f2 +/* 80357818 00354778 D0 05 00 00 */ stfs f0, 0(r5) +/* 8035781C 0035477C C0 05 00 04 */ lfs f0, 4(r5) +/* 80357820 00354780 EC 00 18 2A */ fadds f0, f0, f3 +/* 80357824 00354784 D0 05 00 04 */ stfs f0, 4(r5) +/* 80357828 00354788 C0 05 00 08 */ lfs f0, 8(r5) +/* 8035782C 0035478C EC 00 10 2A */ fadds f0, f0, f2 +/* 80357830 00354790 D0 05 00 08 */ stfs f0, 8(r5) +/* 80357834 00354794 80 D7 00 44 */ lwz r6, 0x44(r23) +/* 80357838 00354798 C0 37 00 1C */ lfs f1, 0x1c(r23) +/* 8035783C 0035479C C0 17 00 18 */ lfs f0, 0x18(r23) +/* 80357840 003547A0 80 B7 00 34 */ lwz r5, 0x34(r23) +/* 80357844 003547A4 EC 81 00 24 */ fdivs f4, f1, f0 +/* 80357848 003547A8 7C C6 24 2E */ lfsx f6, r6, r4 +/* 8035784C 003547AC 7C 05 20 2E */ lwzx r0, r5, r4 +/* 80357850 003547B0 38 84 00 04 */ addi r4, r4, 4 +/* 80357854 003547B4 C0 17 00 00 */ lfs f0, 0(r23) +/* 80357858 003547B8 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8035785C 003547BC C0 37 00 04 */ lfs f1, 4(r23) +/* 80357860 003547C0 7C B8 02 14 */ add r5, r24, r0 +/* 80357864 003547C4 C0 57 00 08 */ lfs f2, 8(r23) +/* 80357868 003547C8 EC 06 00 32 */ fmuls f0, f6, f0 +/* 8035786C 003547CC C0 B7 00 20 */ lfs f5, 0x20(r23) +/* 80357870 003547D0 EC 66 00 72 */ fmuls f3, f6, f1 +/* 80357874 003547D4 EC 46 00 B2 */ fmuls f2, f6, f2 +/* 80357878 003547D8 C0 25 00 00 */ lfs f1, 0(r5) +/* 8035787C 003547DC EC 05 00 32 */ fmuls f0, f5, f0 +/* 80357880 003547E0 EC 65 00 F2 */ fmuls f3, f5, f3 +/* 80357884 003547E4 EC 45 00 B2 */ fmuls f2, f5, f2 +/* 80357888 003547E8 EC 04 00 32 */ fmuls f0, f4, f0 +/* 8035788C 003547EC EC 64 00 F2 */ fmuls f3, f4, f3 +/* 80357890 003547F0 EC 44 00 B2 */ fmuls f2, f4, f2 +/* 80357894 003547F4 EC 01 00 2A */ fadds f0, f1, f0 +/* 80357898 003547F8 D0 05 00 00 */ stfs f0, 0(r5) +/* 8035789C 003547FC C0 05 00 04 */ lfs f0, 4(r5) +/* 803578A0 00354800 EC 00 18 2A */ fadds f0, f0, f3 +/* 803578A4 00354804 D0 05 00 04 */ stfs f0, 4(r5) +/* 803578A8 00354808 C0 05 00 08 */ lfs f0, 8(r5) +/* 803578AC 0035480C EC 00 10 2A */ fadds f0, f0, f2 +/* 803578B0 00354810 D0 05 00 08 */ stfs f0, 8(r5) +/* 803578B4 00354814 42 00 FF 00 */ bdnz lbl_803577B4 +/* 803578B8 00354818 70 63 00 01 */ andi. r3, r3, 1 +/* 803578BC 0035481C 41 82 00 8C */ beq lbl_80357948 +lbl_803578C0: +/* 803578C0 00354820 7C 69 03 A6 */ mtctr r3 +lbl_803578C4: +/* 803578C4 00354824 C0 37 00 1C */ lfs f1, 0x1c(r23) +/* 803578C8 00354828 C0 17 00 18 */ lfs f0, 0x18(r23) +/* 803578CC 0035482C 80 D7 00 44 */ lwz r6, 0x44(r23) +/* 803578D0 00354830 EC 81 00 24 */ fdivs f4, f1, f0 +/* 803578D4 00354834 80 B7 00 34 */ lwz r5, 0x34(r23) +/* 803578D8 00354838 7C C6 24 2E */ lfsx f6, r6, r4 +/* 803578DC 0035483C 7C 05 20 2E */ lwzx r0, r5, r4 +/* 803578E0 00354840 38 84 00 04 */ addi r4, r4, 4 +/* 803578E4 00354844 C0 17 00 00 */ lfs f0, 0(r23) +/* 803578E8 00354848 1C 00 00 0C */ mulli r0, r0, 0xc +/* 803578EC 0035484C C0 37 00 04 */ lfs f1, 4(r23) +/* 803578F0 00354850 EC 06 00 32 */ fmuls f0, f6, f0 +/* 803578F4 00354854 C0 B7 00 20 */ lfs f5, 0x20(r23) +/* 803578F8 00354858 EC 66 00 72 */ fmuls f3, f6, f1 +/* 803578FC 0035485C C0 57 00 08 */ lfs f2, 8(r23) +/* 80357900 00354860 EC 05 00 32 */ fmuls f0, f5, f0 +/* 80357904 00354864 7C B8 02 14 */ add r5, r24, r0 +/* 80357908 00354868 EC 65 00 F2 */ fmuls f3, f5, f3 +/* 8035790C 0035486C C0 25 00 00 */ lfs f1, 0(r5) +/* 80357910 00354870 EC 46 00 B2 */ fmuls f2, f6, f2 +/* 80357914 00354874 EC 04 00 32 */ fmuls f0, f4, f0 +/* 80357918 00354878 EC 64 00 F2 */ fmuls f3, f4, f3 +/* 8035791C 0035487C EC 45 00 B2 */ fmuls f2, f5, f2 +/* 80357920 00354880 EC 01 00 2A */ fadds f0, f1, f0 +/* 80357924 00354884 EC 44 00 B2 */ fmuls f2, f4, f2 +/* 80357928 00354888 D0 05 00 00 */ stfs f0, 0(r5) +/* 8035792C 0035488C C0 05 00 04 */ lfs f0, 4(r5) +/* 80357930 00354890 EC 00 18 2A */ fadds f0, f0, f3 +/* 80357934 00354894 D0 05 00 04 */ stfs f0, 4(r5) +/* 80357938 00354898 C0 05 00 08 */ lfs f0, 8(r5) +/* 8035793C 0035489C EC 00 10 2A */ fadds f0, f0, f2 +/* 80357940 003548A0 D0 05 00 08 */ stfs f0, 8(r5) +/* 80357944 003548A4 42 00 FF 80 */ bdnz lbl_803578C4 +lbl_80357948: +/* 80357948 003548A8 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 +/* 8035794C 003548AC CB E1 00 50 */ lfd f31, 0x50(r1) +/* 80357950 003548B0 E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 +/* 80357954 003548B4 CB C1 00 40 */ lfd f30, 0x40(r1) +/* 80357958 003548B8 BA E1 00 1C */ lmw r23, 0x1c(r1) +/* 8035795C 003548BC 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80357960 003548C0 7C 08 03 A6 */ mtlr r0 +/* 80357964 003548C4 38 21 00 60 */ addi r1, r1, 0x60 +/* 80357968 003548C8 4E 80 00 20 */ blr + +.global Update__18CVertexMorphEffectFf +Update__18CVertexMorphEffectFf: +/* 8035796C 003548CC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80357970 003548D0 C0 03 00 1C */ lfs f0, 0x1c(r3) +/* 80357974 003548D4 EC 20 08 2A */ fadds f1, f0, f1 +/* 80357978 003548D8 D0 21 00 08 */ stfs f1, 8(r1) +/* 8035797C 003548DC C0 03 00 18 */ lfs f0, 0x18(r3) +/* 80357980 003548E0 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80357984 003548E4 40 80 00 0C */ bge lbl_80357990 +/* 80357988 003548E8 38 83 00 18 */ addi r4, r3, 0x18 +/* 8035798C 003548EC 48 00 00 08 */ b lbl_80357994 +lbl_80357990: +/* 80357990 003548F0 38 81 00 08 */ addi r4, r1, 8 +lbl_80357994: +/* 80357994 003548F4 C0 04 00 00 */ lfs f0, 0(r4) +/* 80357998 003548F8 D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 8035799C 003548FC 38 21 00 10 */ addi r1, r1, 0x10 +/* 803579A0 00354900 4E 80 00 20 */ blr diff --git a/asm/Kyoto/Animation/DolphinCSkinRules.s b/asm/Kyoto/Animation/DolphinCSkinRules.s new file mode 100644 index 00000000..2dc643ea --- /dev/null +++ b/asm/Kyoto/Animation/DolphinCSkinRules.s @@ -0,0 +1,1046 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global ProcessingNormals__10CSkinRulesFiPPUs +ProcessingNormals__10CSkinRulesFiPPUs: +/* 803538F4 00350854 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803538F8 00350858 7C 08 02 A6 */ mflr r0 +/* 803538FC 0035085C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80353900 00350860 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80353904 00350864 7C 9F 23 78 */ mr r31, r4 +/* 80353908 00350868 80 AD AA 68 */ lwz r5, lbl_805A9628@sda21(r13) +/* 8035390C 0035086C 80 8D AA 60 */ lwz r4, lbl_805A9620@sda21(r13) +/* 80353910 00350870 7C 05 1A 14 */ add r0, r5, r3 +/* 80353914 00350874 90 61 00 08 */ stw r3, 8(r1) +/* 80353918 00350878 7C 00 20 00 */ cmpw r0, r4 +/* 8035391C 0035087C 40 81 00 98 */ ble lbl_803539B4 +/* 80353920 00350880 7C 05 20 00 */ cmpw r5, r4 +/* 80353924 00350884 40 82 00 40 */ bne lbl_80353964 +/* 80353928 00350888 48 00 01 C5 */ bl WaitForQueue__Fv +/* 8035392C 0035088C 88 0D 9E 04 */ lbz r0, lbl_805A89C4@sda21(r13) +/* 80353930 00350890 3C 60 E0 00 */ lis r3, 0xe000 +/* 80353934 00350894 80 8D AA 60 */ lwz r4, lbl_805A9620@sda21(r13) +/* 80353938 00350898 28 00 00 00 */ cmplwi r0, 0 +/* 8035393C 0035089C 90 6D AA 6C */ stw r3, lbl_805A962C@sda21(r13) +/* 80353940 003508A0 90 8D AA 70 */ stw r4, lbl_805A9630@sda21(r13) +/* 80353944 003508A4 41 82 00 0C */ beq lbl_80353950 +/* 80353948 003508A8 38 03 10 00 */ addi r0, r3, 0x1000 +/* 8035394C 003508AC 90 0D AA 6C */ stw r0, lbl_805A962C@sda21(r13) +lbl_80353950: +/* 80353950 003508B0 80 6D AA 60 */ lwz r3, lbl_805A9620@sda21(r13) +/* 80353954 003508B4 80 0D AA 58 */ lwz r0, lbl_805A9618@sda21(r13) +/* 80353958 003508B8 7C 03 02 14 */ add r0, r3, r0 +/* 8035395C 003508BC 90 0D AA 60 */ stw r0, lbl_805A9620@sda21(r13) +/* 80353960 003508C0 48 00 01 BD */ bl StartNextTransaction__10CSkinRulesFv +lbl_80353964: +/* 80353964 003508C4 80 AD AA 68 */ lwz r5, lbl_805A9628@sda21(r13) +/* 80353968 003508C8 38 61 00 0C */ addi r3, r1, 0xc +/* 8035396C 003508CC 80 8D AA 60 */ lwz r4, lbl_805A9620@sda21(r13) +/* 80353970 003508D0 80 01 00 08 */ lwz r0, 8(r1) +/* 80353974 003508D4 7C 85 20 50 */ subf r4, r5, r4 +/* 80353978 003508D8 7C 00 20 00 */ cmpw r0, r4 +/* 8035397C 003508DC 90 81 00 0C */ stw r4, 0xc(r1) +/* 80353980 003508E0 40 80 00 08 */ bge lbl_80353988 +/* 80353984 003508E4 38 61 00 08 */ addi r3, r1, 8 +lbl_80353988: +/* 80353988 003508E8 80 0D AA 70 */ lwz r0, lbl_805A9630@sda21(r13) +/* 8035398C 003508EC 80 8D AA 6C */ lwz r4, lbl_805A962C@sda21(r13) +/* 80353990 003508F0 7C 00 28 50 */ subf r0, r0, r5 +/* 80353994 003508F4 80 63 00 00 */ lwz r3, 0(r3) +/* 80353998 003508F8 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8035399C 003508FC 7C 04 02 14 */ add r0, r4, r0 +/* 803539A0 00350900 90 1F 00 00 */ stw r0, 0(r31) +/* 803539A4 00350904 80 0D AA 68 */ lwz r0, lbl_805A9628@sda21(r13) +/* 803539A8 00350908 7C 00 1A 14 */ add r0, r0, r3 +/* 803539AC 0035090C 90 0D AA 68 */ stw r0, lbl_805A9628@sda21(r13) +/* 803539B0 00350910 48 00 00 2C */ b lbl_803539DC +lbl_803539B4: +/* 803539B4 00350914 80 0D AA 70 */ lwz r0, lbl_805A9630@sda21(r13) +/* 803539B8 00350918 80 6D AA 6C */ lwz r3, lbl_805A962C@sda21(r13) +/* 803539BC 0035091C 7C 00 28 50 */ subf r0, r0, r5 +/* 803539C0 00350920 1C 00 00 0C */ mulli r0, r0, 0xc +/* 803539C4 00350924 7C 03 02 14 */ add r0, r3, r0 +/* 803539C8 00350928 90 1F 00 00 */ stw r0, 0(r31) +/* 803539CC 0035092C 80 61 00 08 */ lwz r3, 8(r1) +/* 803539D0 00350930 80 0D AA 68 */ lwz r0, lbl_805A9628@sda21(r13) +/* 803539D4 00350934 7C 00 1A 14 */ add r0, r0, r3 +/* 803539D8 00350938 90 0D AA 68 */ stw r0, lbl_805A9628@sda21(r13) +lbl_803539DC: +/* 803539DC 0035093C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803539E0 00350940 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803539E4 00350944 7C 08 03 A6 */ mtlr r0 +/* 803539E8 00350948 38 21 00 20 */ addi r1, r1, 0x20 +/* 803539EC 0035094C 4E 80 00 20 */ blr + +.global ProcessingPoints__10CSkinRulesFiPPUs +ProcessingPoints__10CSkinRulesFiPPUs: +/* 803539F0 00350950 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803539F4 00350954 7C 08 02 A6 */ mflr r0 +/* 803539F8 00350958 90 01 00 24 */ stw r0, 0x24(r1) +/* 803539FC 0035095C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80353A00 00350960 7C 9F 23 78 */ mr r31, r4 +/* 80353A04 00350964 80 AD AA 64 */ lwz r5, lbl_805A9624@sda21(r13) +/* 80353A08 00350968 80 8D AA 5C */ lwz r4, lbl_805A961C@sda21(r13) +/* 80353A0C 0035096C 7C 05 1A 14 */ add r0, r5, r3 +/* 80353A10 00350970 90 61 00 08 */ stw r3, 8(r1) +/* 80353A14 00350974 7C 00 20 00 */ cmpw r0, r4 +/* 80353A18 00350978 40 81 00 98 */ ble lbl_80353AB0 +/* 80353A1C 0035097C 7C 05 20 00 */ cmpw r5, r4 +/* 80353A20 00350980 40 82 00 40 */ bne lbl_80353A60 +/* 80353A24 00350984 48 00 00 C9 */ bl WaitForQueue__Fv +/* 80353A28 00350988 88 0D 9E 04 */ lbz r0, lbl_805A89C4@sda21(r13) +/* 80353A2C 0035098C 3C 60 E0 00 */ lis r3, 0xe000 +/* 80353A30 00350990 80 8D AA 5C */ lwz r4, lbl_805A961C@sda21(r13) +/* 80353A34 00350994 28 00 00 00 */ cmplwi r0, 0 +/* 80353A38 00350998 90 6D AA 6C */ stw r3, lbl_805A962C@sda21(r13) +/* 80353A3C 0035099C 90 8D AA 70 */ stw r4, lbl_805A9630@sda21(r13) +/* 80353A40 003509A0 41 82 00 0C */ beq lbl_80353A4C +/* 80353A44 003509A4 38 03 10 00 */ addi r0, r3, 0x1000 +/* 80353A48 003509A8 90 0D AA 6C */ stw r0, lbl_805A962C@sda21(r13) +lbl_80353A4C: +/* 80353A4C 003509AC 80 6D AA 5C */ lwz r3, lbl_805A961C@sda21(r13) +/* 80353A50 003509B0 80 0D AA 58 */ lwz r0, lbl_805A9618@sda21(r13) +/* 80353A54 003509B4 7C 03 02 14 */ add r0, r3, r0 +/* 80353A58 003509B8 90 0D AA 5C */ stw r0, lbl_805A961C@sda21(r13) +/* 80353A5C 003509BC 48 00 00 C1 */ bl StartNextTransaction__10CSkinRulesFv +lbl_80353A60: +/* 80353A60 003509C0 80 AD AA 64 */ lwz r5, lbl_805A9624@sda21(r13) +/* 80353A64 003509C4 38 61 00 0C */ addi r3, r1, 0xc +/* 80353A68 003509C8 80 8D AA 5C */ lwz r4, lbl_805A961C@sda21(r13) +/* 80353A6C 003509CC 80 01 00 08 */ lwz r0, 8(r1) +/* 80353A70 003509D0 7C 85 20 50 */ subf r4, r5, r4 +/* 80353A74 003509D4 7C 00 20 00 */ cmpw r0, r4 +/* 80353A78 003509D8 90 81 00 0C */ stw r4, 0xc(r1) +/* 80353A7C 003509DC 40 80 00 08 */ bge lbl_80353A84 +/* 80353A80 003509E0 38 61 00 08 */ addi r3, r1, 8 +lbl_80353A84: +/* 80353A84 003509E4 80 0D AA 70 */ lwz r0, lbl_805A9630@sda21(r13) +/* 80353A88 003509E8 80 8D AA 6C */ lwz r4, lbl_805A962C@sda21(r13) +/* 80353A8C 003509EC 7C 00 28 50 */ subf r0, r0, r5 +/* 80353A90 003509F0 80 63 00 00 */ lwz r3, 0(r3) +/* 80353A94 003509F4 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80353A98 003509F8 7C 04 02 14 */ add r0, r4, r0 +/* 80353A9C 003509FC 90 1F 00 00 */ stw r0, 0(r31) +/* 80353AA0 00350A00 80 0D AA 64 */ lwz r0, lbl_805A9624@sda21(r13) +/* 80353AA4 00350A04 7C 00 1A 14 */ add r0, r0, r3 +/* 80353AA8 00350A08 90 0D AA 64 */ stw r0, lbl_805A9624@sda21(r13) +/* 80353AAC 00350A0C 48 00 00 2C */ b lbl_80353AD8 +lbl_80353AB0: +/* 80353AB0 00350A10 80 0D AA 70 */ lwz r0, lbl_805A9630@sda21(r13) +/* 80353AB4 00350A14 80 6D AA 6C */ lwz r3, lbl_805A962C@sda21(r13) +/* 80353AB8 00350A18 7C 00 28 50 */ subf r0, r0, r5 +/* 80353ABC 00350A1C 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80353AC0 00350A20 7C 03 02 14 */ add r0, r3, r0 +/* 80353AC4 00350A24 90 1F 00 00 */ stw r0, 0(r31) +/* 80353AC8 00350A28 80 61 00 08 */ lwz r3, 8(r1) +/* 80353ACC 00350A2C 80 0D AA 64 */ lwz r0, lbl_805A9624@sda21(r13) +/* 80353AD0 00350A30 7C 00 1A 14 */ add r0, r0, r3 +/* 80353AD4 00350A34 90 0D AA 64 */ stw r0, lbl_805A9624@sda21(r13) +lbl_80353AD8: +/* 80353AD8 00350A38 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80353ADC 00350A3C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80353AE0 00350A40 7C 08 03 A6 */ mtlr r0 +/* 80353AE4 00350A44 38 21 00 20 */ addi r1, r1, 0x20 +/* 80353AE8 00350A48 4E 80 00 20 */ blr + +.global WaitForQueue__Fv +WaitForQueue__Fv: +/* 80353AEC 00350A4C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80353AF0 00350A50 7C 08 02 A6 */ mflr r0 +/* 80353AF4 00350A54 90 01 00 14 */ stw r0, 0x14(r1) +/* 80353AF8 00350A58 48 02 B3 C1 */ bl LCQueueLength +/* 80353AFC 00350A5C 28 03 00 00 */ cmplwi r3, 0 +/* 80353B00 00350A60 41 82 00 0C */ beq lbl_80353B0C +/* 80353B04 00350A64 38 60 00 00 */ li r3, 0 +/* 80353B08 00350A68 48 02 B3 BD */ bl LCQueueWait +lbl_80353B0C: +/* 80353B0C 00350A6C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80353B10 00350A70 7C 08 03 A6 */ mtlr r0 +/* 80353B14 00350A74 38 21 00 10 */ addi r1, r1, 0x10 +/* 80353B18 00350A78 4E 80 00 20 */ blr + +.global StartNextTransaction__10CSkinRulesFv +StartNextTransaction__10CSkinRulesFv: +/* 80353B1C 00350A7C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80353B20 00350A80 7C 08 02 A6 */ mflr r0 +/* 80353B24 00350A84 3C 60 E0 00 */ lis r3, 0xe000 +/* 80353B28 00350A88 90 01 00 24 */ stw r0, 0x24(r1) +/* 80353B2C 00350A8C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80353B30 00350A90 88 0D 9E 04 */ lbz r0, lbl_805A89C4@sda21(r13) +/* 80353B34 00350A94 28 00 00 00 */ cmplwi r0, 0 +/* 80353B38 00350A98 40 82 00 08 */ bne lbl_80353B40 +/* 80353B3C 00350A9C 38 63 10 00 */ addi r3, r3, 0x1000 +lbl_80353B40: +/* 80353B40 00350AA0 80 AD AA 50 */ lwz r5, lbl_805A9610@sda21(r13) +/* 80353B44 00350AA4 80 CD AA 5C */ lwz r6, lbl_805A961C@sda21(r13) +/* 80353B48 00350AA8 80 85 00 10 */ lwz r4, 0x10(r5) +/* 80353B4C 00350AAC 7C 06 20 00 */ cmpw r6, r4 +/* 80353B50 00350AB0 41 82 00 3C */ beq lbl_80353B8C +/* 80353B54 00350AB4 80 0D 9E 08 */ lwz r0, lbl_805A89C8@sda21(r13) +/* 80353B58 00350AB8 7C 86 20 50 */ subf r4, r6, r4 +/* 80353B5C 00350ABC 90 81 00 0C */ stw r4, 0xc(r1) +/* 80353B60 00350AC0 38 AD 9E 08 */ addi r5, r13, lbl_805A89C8@sda21 +/* 80353B64 00350AC4 7C 04 00 00 */ cmpw r4, r0 +/* 80353B68 00350AC8 40 80 00 08 */ bge lbl_80353B70 +/* 80353B6C 00350ACC 38 A1 00 0C */ addi r5, r1, 0xc +lbl_80353B70: +/* 80353B70 00350AD0 80 8D AA 54 */ lwz r4, lbl_805A9614@sda21(r13) +/* 80353B74 00350AD4 1C 06 00 0C */ mulli r0, r6, 0xc +/* 80353B78 00350AD8 83 E5 00 00 */ lwz r31, 0(r5) +/* 80353B7C 00350ADC 80 84 00 28 */ lwz r4, 0x28(r4) +/* 80353B80 00350AE0 80 84 00 08 */ lwz r4, 8(r4) +/* 80353B84 00350AE4 7C 84 02 14 */ add r4, r4, r0 +/* 80353B88 00350AE8 48 00 00 48 */ b lbl_80353BD0 +lbl_80353B8C: +/* 80353B8C 00350AEC 80 85 00 14 */ lwz r4, 0x14(r5) +/* 80353B90 00350AF0 80 CD AA 60 */ lwz r6, lbl_805A9620@sda21(r13) +/* 80353B94 00350AF4 7C 04 30 00 */ cmpw r4, r6 +/* 80353B98 00350AF8 41 82 00 68 */ beq lbl_80353C00 +/* 80353B9C 00350AFC 80 0D 9E 0C */ lwz r0, lbl_805A89CC@sda21(r13) +/* 80353BA0 00350B00 7C 86 20 50 */ subf r4, r6, r4 +/* 80353BA4 00350B04 90 81 00 08 */ stw r4, 8(r1) +/* 80353BA8 00350B08 38 AD 9E 0C */ addi r5, r13, lbl_805A89CC@sda21 +/* 80353BAC 00350B0C 7C 04 00 00 */ cmpw r4, r0 +/* 80353BB0 00350B10 40 80 00 08 */ bge lbl_80353BB8 +/* 80353BB4 00350B14 38 A1 00 08 */ addi r5, r1, 8 +lbl_80353BB8: +/* 80353BB8 00350B18 80 8D AA 54 */ lwz r4, lbl_805A9614@sda21(r13) +/* 80353BBC 00350B1C 1C 06 00 0C */ mulli r0, r6, 0xc +/* 80353BC0 00350B20 83 E5 00 00 */ lwz r31, 0(r5) +/* 80353BC4 00350B24 80 84 00 28 */ lwz r4, 0x28(r4) +/* 80353BC8 00350B28 80 84 00 0C */ lwz r4, 0xc(r4) +/* 80353BCC 00350B2C 7C 84 02 14 */ add r4, r4, r0 +lbl_80353BD0: +/* 80353BD0 00350B30 1C BF 00 0C */ mulli r5, r31, 0xc +/* 80353BD4 00350B34 38 05 00 1F */ addi r0, r5, 0x1f +/* 80353BD8 00350B38 54 05 00 34 */ rlwinm r5, r0, 0, 0, 0x1a +/* 80353BDC 00350B3C 48 02 B1 85 */ bl sub_8037ed60 +/* 80353BE0 00350B40 88 0D 9E 04 */ lbz r0, lbl_805A89C4@sda21(r13) +/* 80353BE4 00350B44 80 6D AA 74 */ lwz r3, lbl_805A9634@sda21(r13) +/* 80353BE8 00350B48 7C 00 00 34 */ cntlzw r0, r0 +/* 80353BEC 00350B4C 93 ED AA 58 */ stw r31, lbl_805A9618@sda21(r13) +/* 80353BF0 00350B50 38 63 00 01 */ addi r3, r3, 1 +/* 80353BF4 00350B54 54 00 D9 7E */ srwi r0, r0, 5 +/* 80353BF8 00350B58 90 6D AA 74 */ stw r3, lbl_805A9634@sda21(r13) +/* 80353BFC 00350B5C 98 0D 9E 04 */ stb r0, lbl_805A89C4@sda21(r13) +lbl_80353C00: +/* 80353C00 00350B60 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80353C04 00350B64 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80353C08 00350B68 7C 08 03 A6 */ mtlr r0 +/* 80353C0C 00350B6C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80353C10 00350B70 4E 80 00 20 */ blr + +.global InitLockedCacheState__10CSkinRulesFRC10CSkinRules +InitLockedCacheState__10CSkinRulesFRC10CSkinRules: +/* 80353C14 00350B74 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80353C18 00350B78 7C 08 02 A6 */ mflr r0 +/* 80353C1C 00350B7C 38 A0 00 01 */ li r5, 1 +/* 80353C20 00350B80 90 01 00 14 */ stw r0, 0x14(r1) +/* 80353C24 00350B84 38 00 00 00 */ li r0, 0 +/* 80353C28 00350B88 90 6D AA 50 */ stw r3, lbl_805A9610@sda21(r13) +/* 80353C2C 00350B8C 90 8D AA 54 */ stw r4, lbl_805A9614@sda21(r13) +/* 80353C30 00350B90 98 AD 9E 04 */ stb r5, lbl_805A89C4@sda21(r13) +/* 80353C34 00350B94 90 0D AA 5C */ stw r0, lbl_805A961C@sda21(r13) +/* 80353C38 00350B98 90 0D AA 60 */ stw r0, lbl_805A9620@sda21(r13) +/* 80353C3C 00350B9C 90 0D AA 64 */ stw r0, lbl_805A9624@sda21(r13) +/* 80353C40 00350BA0 90 0D AA 68 */ stw r0, lbl_805A9628@sda21(r13) +/* 80353C44 00350BA4 90 0D AA 6C */ stw r0, lbl_805A962C@sda21(r13) +/* 80353C48 00350BA8 90 0D AA 70 */ stw r0, lbl_805A9630@sda21(r13) +/* 80353C4C 00350BAC 90 0D AA 74 */ stw r0, lbl_805A9634@sda21(r13) +/* 80353C50 00350BB0 4B FF FE CD */ bl StartNextTransaction__10CSkinRulesFv +/* 80353C54 00350BB4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80353C58 00350BB8 7C 08 03 A6 */ mtlr r0 +/* 80353C5C 00350BBC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80353C60 00350BC0 4E 80 00 20 */ blr + +.global FSkinRulesFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer +FSkinRulesFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer: +/* 80353C64 00350BC4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80353C68 00350BC8 7C 08 02 A6 */ mflr r0 +/* 80353C6C 00350BCC 3C 80 80 3E */ lis r4, lbl_803D8300@ha +/* 80353C70 00350BD0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80353C74 00350BD4 38 84 83 00 */ addi r4, r4, lbl_803D8300@l +/* 80353C78 00350BD8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80353C7C 00350BDC 7C BF 2B 78 */ mr r31, r5 +/* 80353C80 00350BE0 38 A0 00 00 */ li r5, 0 +/* 80353C84 00350BE4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80353C88 00350BE8 7C 7E 1B 78 */ mr r30, r3 +/* 80353C8C 00350BEC 38 60 00 18 */ li r3, 0x18 +/* 80353C90 00350BF0 4B FC 1B DD */ bl __nw__FUlPCcPCc +/* 80353C94 00350BF4 7C 64 1B 79 */ or. r4, r3, r3 +/* 80353C98 00350BF8 41 82 00 10 */ beq lbl_80353CA8 +/* 80353C9C 00350BFC 7F E4 FB 78 */ mr r4, r31 +/* 80353CA0 00350C00 48 00 06 31 */ bl __ct__10CSkinRulesFR12CInputStream +/* 80353CA4 00350C04 7C 64 1B 78 */ mr r4, r3 +lbl_80353CA8: +/* 80353CA8 00350C08 7C 04 00 D0 */ neg r0, r4 +/* 80353CAC 00350C0C 90 81 00 0C */ stw r4, 0xc(r1) +/* 80353CB0 00350C10 7C 00 23 78 */ or r0, r0, r4 +/* 80353CB4 00350C14 38 61 00 10 */ addi r3, r1, 0x10 +/* 80353CB8 00350C18 54 00 0F FE */ srwi r0, r0, 0x1f +/* 80353CBC 00350C1C 38 81 00 08 */ addi r4, r1, 8 +/* 80353CC0 00350C20 98 01 00 08 */ stb r0, 8(r1) +/* 80353CC4 00350C24 48 00 01 11 */ bl "GetIObjObjectFor__20TToken<10CSkinRules>FRCQ24rstl22auto_ptr<10CSkinRules>" +/* 80353CC8 00350C28 80 61 00 14 */ lwz r3, 0x14(r1) +/* 80353CCC 00350C2C 38 00 00 00 */ li r0, 0 +/* 80353CD0 00350C30 98 01 00 10 */ stb r0, 0x10(r1) +/* 80353CD4 00350C34 7C 03 00 D0 */ neg r0, r3 +/* 80353CD8 00350C38 7C 00 1B 78 */ or r0, r0, r3 +/* 80353CDC 00350C3C 54 00 0F FE */ srwi r0, r0, 0x1f +/* 80353CE0 00350C40 98 1E 00 00 */ stb r0, 0(r30) +/* 80353CE4 00350C44 90 7E 00 04 */ stw r3, 4(r30) +/* 80353CE8 00350C48 88 01 00 10 */ lbz r0, 0x10(r1) +/* 80353CEC 00350C4C 28 00 00 00 */ cmplwi r0, 0 +/* 80353CF0 00350C50 41 82 00 24 */ beq lbl_80353D14 +/* 80353CF4 00350C54 80 61 00 14 */ lwz r3, 0x14(r1) +/* 80353CF8 00350C58 28 03 00 00 */ cmplwi r3, 0 +/* 80353CFC 00350C5C 41 82 00 18 */ beq lbl_80353D14 +/* 80353D00 00350C60 81 83 00 00 */ lwz r12, 0(r3) +/* 80353D04 00350C64 38 80 00 01 */ li r4, 1 +/* 80353D08 00350C68 81 8C 00 08 */ lwz r12, 8(r12) +/* 80353D0C 00350C6C 7D 89 03 A6 */ mtctr r12 +/* 80353D10 00350C70 4E 80 04 21 */ bctrl +lbl_80353D14: +/* 80353D14 00350C74 88 01 00 08 */ lbz r0, 8(r1) +/* 80353D18 00350C78 28 00 00 00 */ cmplwi r0, 0 +/* 80353D1C 00350C7C 41 82 00 10 */ beq lbl_80353D2C +/* 80353D20 00350C80 80 61 00 0C */ lwz r3, 0xc(r1) +/* 80353D24 00350C84 38 80 00 01 */ li r4, 1 +/* 80353D28 00350C88 48 00 04 4D */ bl __dt__10CSkinRulesFv +lbl_80353D2C: +/* 80353D2C 00350C8C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80353D30 00350C90 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80353D34 00350C94 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80353D38 00350C98 7C 08 03 A6 */ mtlr r0 +/* 80353D3C 00350C9C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80353D40 00350CA0 4E 80 00 20 */ blr + +.global "__dt__20TToken<10CSkinRules>Fv" +"__dt__20TToken<10CSkinRules>Fv": +/* 80353D44 00350CA4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80353D48 00350CA8 7C 08 02 A6 */ mflr r0 +/* 80353D4C 00350CAC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80353D50 00350CB0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80353D54 00350CB4 7C 9F 23 78 */ mr r31, r4 +/* 80353D58 00350CB8 93 C1 00 08 */ stw r30, 8(r1) +/* 80353D5C 00350CBC 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80353D60 00350CC0 41 82 00 58 */ beq lbl_80353DB8 +/* 80353D64 00350CC4 3C 60 80 3F */ lis r3, lbl_803EF728@ha +/* 80353D68 00350CC8 38 03 F7 28 */ addi r0, r3, lbl_803EF728@l +/* 80353D6C 00350CCC 90 1E 00 00 */ stw r0, 0(r30) +/* 80353D70 00350CD0 80 7E 00 04 */ lwz r3, 4(r30) +/* 80353D74 00350CD4 28 03 00 00 */ cmplwi r3, 0 +/* 80353D78 00350CD8 41 82 00 0C */ beq lbl_80353D84 +/* 80353D7C 00350CDC 38 80 00 01 */ li r4, 1 +/* 80353D80 00350CE0 48 00 03 F5 */ bl __dt__10CSkinRulesFv +lbl_80353D84: +/* 80353D84 00350CE4 28 1E 00 00 */ cmplwi r30, 0 +/* 80353D88 00350CE8 41 82 00 20 */ beq lbl_80353DA8 +/* 80353D8C 00350CEC 3C 60 80 3E */ lis r3, lbl_803D8D78@ha +/* 80353D90 00350CF0 38 03 8D 78 */ addi r0, r3, lbl_803D8D78@l +/* 80353D94 00350CF4 90 1E 00 00 */ stw r0, 0(r30) +/* 80353D98 00350CF8 41 82 00 10 */ beq lbl_80353DA8 +/* 80353D9C 00350CFC 3C 60 80 3E */ lis r3, lbl_803D8D6C@ha +/* 80353DA0 00350D00 38 03 8D 6C */ addi r0, r3, lbl_803D8D6C@l +/* 80353DA4 00350D04 90 1E 00 00 */ stw r0, 0(r30) +lbl_80353DA8: +/* 80353DA8 00350D08 7F E0 07 35 */ extsh. r0, r31 +/* 80353DAC 00350D0C 40 81 00 0C */ ble lbl_80353DB8 +/* 80353DB0 00350D10 7F C3 F3 78 */ mr r3, r30 +/* 80353DB4 00350D14 4B FC 1B 7D */ bl Free__7CMemoryFPCv +lbl_80353DB8: +/* 80353DB8 00350D18 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80353DBC 00350D1C 7F C3 F3 78 */ mr r3, r30 +/* 80353DC0 00350D20 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80353DC4 00350D24 83 C1 00 08 */ lwz r30, 8(r1) +/* 80353DC8 00350D28 7C 08 03 A6 */ mtlr r0 +/* 80353DCC 00350D2C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80353DD0 00350D30 4E 80 00 20 */ blr + +.global "GetIObjObjectFor__20TToken<10CSkinRules>FRCQ24rstl22auto_ptr<10CSkinRules>" +"GetIObjObjectFor__20TToken<10CSkinRules>FRCQ24rstl22auto_ptr<10CSkinRules>": +/* 80353DD4 00350D34 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80353DD8 00350D38 7C 08 02 A6 */ mflr r0 +/* 80353DDC 00350D3C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80353DE0 00350D40 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80353DE4 00350D44 7C 7F 1B 78 */ mr r31, r3 +/* 80353DE8 00350D48 48 00 00 19 */ bl "GetNewDerivedObject__38TObjOwnerDerivedFromIObj<10CSkinRules>FRCQ24rstl22auto_ptr<10CSkinRules>" +/* 80353DEC 00350D4C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80353DF0 00350D50 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80353DF4 00350D54 7C 08 03 A6 */ mtlr r0 +/* 80353DF8 00350D58 38 21 00 10 */ addi r1, r1, 0x10 +/* 80353DFC 00350D5C 4E 80 00 20 */ blr + +.global "GetNewDerivedObject__38TObjOwnerDerivedFromIObj<10CSkinRules>FRCQ24rstl22auto_ptr<10CSkinRules>" +"GetNewDerivedObject__38TObjOwnerDerivedFromIObj<10CSkinRules>FRCQ24rstl22auto_ptr<10CSkinRules>": +/* 80353E00 00350D60 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80353E04 00350D64 7C 08 02 A6 */ mflr r0 +/* 80353E08 00350D68 3C A0 80 3E */ lis r5, lbl_803D8300@ha +/* 80353E0C 00350D6C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80353E10 00350D70 38 05 83 00 */ addi r0, r5, lbl_803D8300@l +/* 80353E14 00350D74 38 A0 00 00 */ li r5, 0 +/* 80353E18 00350D78 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80353E1C 00350D7C 7C 9F 23 78 */ mr r31, r4 +/* 80353E20 00350D80 7C 04 03 78 */ mr r4, r0 +/* 80353E24 00350D84 93 C1 00 08 */ stw r30, 8(r1) +/* 80353E28 00350D88 7C 7E 1B 78 */ mr r30, r3 +/* 80353E2C 00350D8C 38 60 00 08 */ li r3, 8 +/* 80353E30 00350D90 4B FC 1A 3D */ bl __nw__FUlPCcPCc +/* 80353E34 00350D94 28 03 00 00 */ cmplwi r3, 0 +/* 80353E38 00350D98 41 82 00 38 */ beq lbl_80353E70 +/* 80353E3C 00350D9C 3C 80 80 3E */ lis r4, lbl_803D8D6C@ha +/* 80353E40 00350DA0 3C A0 80 3E */ lis r5, lbl_803D8D78@ha +/* 80353E44 00350DA4 38 04 8D 6C */ addi r0, r4, lbl_803D8D6C@l +/* 80353E48 00350DA8 3C 80 80 3F */ lis r4, lbl_803EF728@ha +/* 80353E4C 00350DAC 90 03 00 00 */ stw r0, 0(r3) +/* 80353E50 00350DB0 38 C5 8D 78 */ addi r6, r5, lbl_803D8D78@l +/* 80353E54 00350DB4 38 A0 00 00 */ li r5, 0 +/* 80353E58 00350DB8 38 04 F7 28 */ addi r0, r4, lbl_803EF728@l +/* 80353E5C 00350DBC 90 C3 00 00 */ stw r6, 0(r3) +/* 80353E60 00350DC0 98 BF 00 00 */ stb r5, 0(r31) +/* 80353E64 00350DC4 80 9F 00 04 */ lwz r4, 4(r31) +/* 80353E68 00350DC8 90 83 00 04 */ stw r4, 4(r3) +/* 80353E6C 00350DCC 90 03 00 00 */ stw r0, 0(r3) +lbl_80353E70: +/* 80353E70 00350DD0 7C 03 00 D0 */ neg r0, r3 +/* 80353E74 00350DD4 7C 00 1B 78 */ or r0, r0, r3 +/* 80353E78 00350DD8 54 00 0F FE */ srwi r0, r0, 0x1f +/* 80353E7C 00350DDC 98 1E 00 00 */ stb r0, 0(r30) +/* 80353E80 00350DE0 90 7E 00 04 */ stw r3, 4(r30) +/* 80353E84 00350DE4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80353E88 00350DE8 83 C1 00 08 */ lwz r30, 8(r1) +/* 80353E8C 00350DEC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80353E90 00350DF0 7C 08 03 A6 */ mtlr r0 +/* 80353E94 00350DF4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80353E98 00350DF8 4E 80 00 20 */ blr + +.global BuildNormalsFrom__10CSkinRulesCFPC9CVector3fP9CVector3f +BuildNormalsFrom__10CSkinRulesCFPC9CVector3fP9CVector3f: +/* 80353E9C 00350DFC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80353EA0 00350E00 7C 08 02 A6 */ mflr r0 +/* 80353EA4 00350E04 90 01 00 34 */ stw r0, 0x34(r1) +/* 80353EA8 00350E08 BF 21 00 14 */ stmw r25, 0x14(r1) +/* 80353EAC 00350E0C 7C 79 1B 78 */ mr r25, r3 +/* 80353EB0 00350E10 7C 9A 23 78 */ mr r26, r4 +/* 80353EB4 00350E14 7C BB 2B 78 */ mr r27, r5 +/* 80353EB8 00350E18 3B A0 00 00 */ li r29, 0 +/* 80353EBC 00350E1C 3B 80 00 00 */ li r28, 0 +/* 80353EC0 00350E20 3B C0 00 00 */ li r30, 0 +/* 80353EC4 00350E24 48 00 00 30 */ b lbl_80353EF4 +lbl_80353EC8: +/* 80353EC8 00350E28 80 19 00 0C */ lwz r0, 0xc(r25) +/* 80353ECC 00350E2C 1C BD 00 0C */ mulli r5, r29, 0xc +/* 80353ED0 00350E30 7C 60 F2 14 */ add r3, r0, r30 +/* 80353ED4 00350E34 83 E3 00 1C */ lwz r31, 0x1c(r3) +/* 80353ED8 00350E38 7C 9A 2A 14 */ add r4, r26, r5 +/* 80353EDC 00350E3C 7C BB 2A 14 */ add r5, r27, r5 +/* 80353EE0 00350E40 7F E6 FB 78 */ mr r6, r31 +/* 80353EE4 00350E44 48 00 0A 0D */ bl sub_803548f0 +/* 80353EE8 00350E48 7F BD FA 14 */ add r29, r29, r31 +/* 80353EEC 00350E4C 3B DE 00 74 */ addi r30, r30, 0x74 +/* 80353EF0 00350E50 3B 9C 00 01 */ addi r28, r28, 1 +lbl_80353EF4: +/* 80353EF4 00350E54 80 19 00 04 */ lwz r0, 4(r25) +/* 80353EF8 00350E58 7C 1C 00 00 */ cmpw r28, r0 +/* 80353EFC 00350E5C 41 80 FF CC */ blt lbl_80353EC8 +/* 80353F00 00350E60 BB 21 00 14 */ lmw r25, 0x14(r1) +/* 80353F04 00350E64 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80353F08 00350E68 7C 08 03 A6 */ mtlr r0 +/* 80353F0C 00350E6C 38 21 00 30 */ addi r1, r1, 0x30 +/* 80353F10 00350E70 4E 80 00 20 */ blr + +.global BuildNormals__10CSkinRulesCFPVv +BuildNormals__10CSkinRulesCFPVv: +/* 80353F14 00350E74 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80353F18 00350E78 7C 08 02 A6 */ mflr r0 +/* 80353F1C 00350E7C 90 01 00 34 */ stw r0, 0x34(r1) +/* 80353F20 00350E80 BF 21 00 14 */ stmw r25, 0x14(r1) +/* 80353F24 00350E84 7C 79 1B 78 */ mr r25, r3 +/* 80353F28 00350E88 7C 9A 23 78 */ mr r26, r4 +/* 80353F2C 00350E8C 3B A0 00 00 */ li r29, 0 +/* 80353F30 00350E90 3B C0 00 00 */ li r30, 0 +/* 80353F34 00350E94 48 00 00 5C */ b lbl_80353F90 +lbl_80353F38: +/* 80353F38 00350E98 80 99 00 0C */ lwz r4, 0xc(r25) +/* 80353F3C 00350E9C 38 7E 00 1C */ addi r3, r30, 0x1c +/* 80353F40 00350EA0 38 00 00 00 */ li r0, 0 +/* 80353F44 00350EA4 3B 80 00 00 */ li r28, 0 +/* 80353F48 00350EA8 7F E4 18 2E */ lwzx r31, r4, r3 +/* 80353F4C 00350EAC 90 01 00 08 */ stw r0, 8(r1) +/* 80353F50 00350EB0 48 00 00 30 */ b lbl_80353F80 +lbl_80353F54: +/* 80353F54 00350EB4 7C 7C F8 50 */ subf r3, r28, r31 +/* 80353F58 00350EB8 38 81 00 08 */ addi r4, r1, 8 +/* 80353F5C 00350EBC 4B FF F9 99 */ bl ProcessingNormals__10CSkinRulesFiPPUs +/* 80353F60 00350EC0 80 19 00 0C */ lwz r0, 0xc(r25) +/* 80353F64 00350EC4 7C 7B 1B 78 */ mr r27, r3 +/* 80353F68 00350EC8 80 81 00 08 */ lwz r4, 8(r1) +/* 80353F6C 00350ECC 7F 45 D3 78 */ mr r5, r26 +/* 80353F70 00350ED0 7C 60 F2 14 */ add r3, r0, r30 +/* 80353F74 00350ED4 7F 66 DB 78 */ mr r6, r27 +/* 80353F78 00350ED8 48 00 09 F1 */ bl BuildNormals__12CVirtualBoneCFPCUsPVvi +/* 80353F7C 00350EDC 7F 9C DA 14 */ add r28, r28, r27 +lbl_80353F80: +/* 80353F80 00350EE0 7C 1C F8 00 */ cmpw r28, r31 +/* 80353F84 00350EE4 41 80 FF D0 */ blt lbl_80353F54 +/* 80353F88 00350EE8 3B DE 00 74 */ addi r30, r30, 0x74 +/* 80353F8C 00350EEC 3B BD 00 01 */ addi r29, r29, 1 +lbl_80353F90: +/* 80353F90 00350EF0 80 19 00 04 */ lwz r0, 4(r25) +/* 80353F94 00350EF4 7C 1D 00 00 */ cmpw r29, r0 +/* 80353F98 00350EF8 41 80 FF A0 */ blt lbl_80353F38 +/* 80353F9C 00350EFC BB 21 00 14 */ lmw r25, 0x14(r1) +/* 80353FA0 00350F00 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80353FA4 00350F04 7C 08 03 A6 */ mtlr r0 +/* 80353FA8 00350F08 38 21 00 30 */ addi r1, r1, 0x30 +/* 80353FAC 00350F0C 4E 80 00 20 */ blr + +.global BuildPoints__10CSkinRulesCFPVv +BuildPoints__10CSkinRulesCFPVv: +/* 80353FB0 00350F10 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80353FB4 00350F14 7C 08 02 A6 */ mflr r0 +/* 80353FB8 00350F18 90 01 00 34 */ stw r0, 0x34(r1) +/* 80353FBC 00350F1C BF 21 00 14 */ stmw r25, 0x14(r1) +/* 80353FC0 00350F20 7C 79 1B 78 */ mr r25, r3 +/* 80353FC4 00350F24 7C 9A 23 78 */ mr r26, r4 +/* 80353FC8 00350F28 3B A0 00 00 */ li r29, 0 +/* 80353FCC 00350F2C 3B C0 00 00 */ li r30, 0 +/* 80353FD0 00350F30 48 00 00 5C */ b lbl_8035402C +lbl_80353FD4: +/* 80353FD4 00350F34 80 99 00 0C */ lwz r4, 0xc(r25) +/* 80353FD8 00350F38 38 7E 00 1C */ addi r3, r30, 0x1c +/* 80353FDC 00350F3C 38 00 00 00 */ li r0, 0 +/* 80353FE0 00350F40 3B 80 00 00 */ li r28, 0 +/* 80353FE4 00350F44 7F E4 18 2E */ lwzx r31, r4, r3 +/* 80353FE8 00350F48 90 01 00 08 */ stw r0, 8(r1) +/* 80353FEC 00350F4C 48 00 00 30 */ b lbl_8035401C +lbl_80353FF0: +/* 80353FF0 00350F50 7C 7C F8 50 */ subf r3, r28, r31 +/* 80353FF4 00350F54 38 81 00 08 */ addi r4, r1, 8 +/* 80353FF8 00350F58 4B FF F9 F9 */ bl ProcessingPoints__10CSkinRulesFiPPUs +/* 80353FFC 00350F5C 80 19 00 0C */ lwz r0, 0xc(r25) +/* 80354000 00350F60 7C 7B 1B 78 */ mr r27, r3 +/* 80354004 00350F64 80 81 00 08 */ lwz r4, 8(r1) +/* 80354008 00350F68 7F 45 D3 78 */ mr r5, r26 +/* 8035400C 00350F6C 7C 60 F2 14 */ add r3, r0, r30 +/* 80354010 00350F70 7F 66 DB 78 */ mr r6, r27 +/* 80354014 00350F74 48 00 0A 1D */ bl BuildPoints__12CVirtualBoneCFPCUsPVvi +/* 80354018 00350F78 7F 9C DA 14 */ add r28, r28, r27 +lbl_8035401C: +/* 8035401C 00350F7C 7C 1C F8 00 */ cmpw r28, r31 +/* 80354020 00350F80 41 80 FF D0 */ blt lbl_80353FF0 +/* 80354024 00350F84 3B DE 00 74 */ addi r30, r30, 0x74 +/* 80354028 00350F88 3B BD 00 01 */ addi r29, r29, 1 +lbl_8035402C: +/* 8035402C 00350F8C 80 19 00 04 */ lwz r0, 4(r25) +/* 80354030 00350F90 7C 1D 00 00 */ cmpw r29, r0 +/* 80354034 00350F94 41 80 FF A0 */ blt lbl_80353FD4 +/* 80354038 00350F98 BB 21 00 14 */ lmw r25, 0x14(r1) +/* 8035403C 00350F9C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80354040 00350FA0 7C 08 03 A6 */ mtlr r0 +/* 80354044 00350FA4 38 21 00 30 */ addi r1, r1, 0x30 +/* 80354048 00350FA8 4E 80 00 20 */ blr + +.global BuildAccumulatedTransforms__10CSkinRulesCFRC17CPoseAsTransformsRC15CCharLayoutInfo +BuildAccumulatedTransforms__10CSkinRulesCFRC17CPoseAsTransformsRC15CCharLayoutInfo: +/* 8035404C 00350FAC 94 21 FB 20 */ stwu r1, -0x4e0(r1) +/* 80354050 00350FB0 7C 08 02 A6 */ mflr r0 +/* 80354054 00350FB4 90 01 04 E4 */ stw r0, 0x4e4(r1) +/* 80354058 00350FB8 BF 41 04 C8 */ stmw r26, 0x4c8(r1) +/* 8035405C 00350FBC 7C 9C 23 78 */ mr r28, r4 +/* 80354060 00350FC0 7C 7B 1B 78 */ mr r27, r3 +/* 80354064 00350FC4 7C BD 2B 78 */ mr r29, r5 +/* 80354068 00350FC8 3B C1 00 18 */ addi r30, r1, 0x18 +/* 8035406C 00350FCC 3B FC 00 08 */ addi r31, r28, 8 +/* 80354070 00350FD0 88 04 00 D4 */ lbz r0, 0xd4(r4) +/* 80354074 00350FD4 98 01 00 08 */ stb r0, 8(r1) +/* 80354078 00350FD8 48 00 00 A8 */ b lbl_80354120 +lbl_8035407C: +/* 8035407C 00350FDC 28 00 00 03 */ cmplwi r0, 3 +/* 80354080 00350FE0 41 82 00 28 */ beq lbl_803540A8 +/* 80354084 00350FE4 80 9D 00 00 */ lwz r4, 0(r29) +/* 80354088 00350FE8 54 00 0D FC */ rlwinm r0, r0, 1, 0x17, 0x1e +/* 8035408C 00350FEC 7C 64 02 14 */ add r3, r4, r0 +/* 80354090 00350FF0 80 84 00 D0 */ lwz r4, 0xd0(r4) +/* 80354094 00350FF4 88 03 00 09 */ lbz r0, 9(r3) +/* 80354098 00350FF8 54 03 2C F4 */ rlwinm r3, r0, 5, 0x13, 0x1a +/* 8035409C 00350FFC 3B 43 00 04 */ addi r26, r3, 4 +/* 803540A0 00351000 7F 44 D2 14 */ add r26, r4, r26 +/* 803540A4 00351004 48 00 00 0C */ b lbl_803540B0 +lbl_803540A8: +/* 803540A8 00351008 3C 60 80 5A */ lis r3, skZero3f@ha +/* 803540AC 0035100C 3B 43 66 A0 */ addi r26, r3, skZero3f@l +lbl_803540B0: +/* 803540B0 00351010 7F 83 E3 78 */ mr r3, r28 +/* 803540B4 00351014 38 81 00 08 */ addi r4, r1, 8 +/* 803540B8 00351018 48 01 4E C5 */ bl GetTransformMinusOffset__17CPoseAsTransformsCFRC6CSegId +/* 803540BC 0035101C 7C 64 1B 78 */ mr r4, r3 +/* 803540C0 00351020 7F 45 D3 78 */ mr r5, r26 +/* 803540C4 00351024 38 61 00 0C */ addi r3, r1, 0xc +/* 803540C8 00351028 4B FB C1 CD */ bl __ml__9CMatrix3fCFRC9CVector3f +/* 803540CC 0035102C 7F 83 E3 78 */ mr r3, r28 +/* 803540D0 00351030 38 81 00 08 */ addi r4, r1, 8 +/* 803540D4 00351034 48 01 4E 85 */ bl GetOffset__17CPoseAsTransformsCFRC6CSegId +/* 803540D8 00351038 88 01 00 08 */ lbz r0, 8(r1) +/* 803540DC 0035103C C0 23 00 00 */ lfs f1, 0(r3) +/* 803540E0 00351040 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 803540E4 00351044 1C 80 00 0C */ mulli r4, r0, 0xc +/* 803540E8 00351048 C0 83 00 04 */ lfs f4, 4(r3) +/* 803540EC 0035104C 54 00 08 3C */ slwi r0, r0, 1 +/* 803540F0 00351050 C0 61 00 10 */ lfs f3, 0x10(r1) +/* 803540F4 00351054 EC 01 00 28 */ fsubs f0, f1, f0 +/* 803540F8 00351058 C0 43 00 08 */ lfs f2, 8(r3) +/* 803540FC 0035105C 7C 7E 22 14 */ add r3, r30, r4 +/* 80354100 00351060 C0 21 00 14 */ lfs f1, 0x14(r1) +/* 80354104 00351064 EC 64 18 28 */ fsubs f3, f4, f3 +/* 80354108 00351068 D0 03 00 00 */ stfs f0, 0(r3) +/* 8035410C 0035106C 7C 1F 00 AE */ lbzx r0, r31, r0 +/* 80354110 00351070 EC 02 08 28 */ fsubs f0, f2, f1 +/* 80354114 00351074 D0 63 00 04 */ stfs f3, 4(r3) +/* 80354118 00351078 D0 03 00 08 */ stfs f0, 8(r3) +/* 8035411C 0035107C 98 01 00 08 */ stb r0, 8(r1) +lbl_80354120: +/* 80354120 00351080 88 01 00 08 */ lbz r0, 8(r1) +/* 80354124 00351084 28 00 00 00 */ cmplwi r0, 0 +/* 80354128 00351088 40 82 FF 54 */ bne lbl_8035407C +/* 8035412C 0035108C 3B A0 00 00 */ li r29, 0 +/* 80354130 00351090 3B 40 00 00 */ li r26, 0 +/* 80354134 00351094 48 00 00 20 */ b lbl_80354154 +lbl_80354138: +/* 80354138 00351098 80 1B 00 0C */ lwz r0, 0xc(r27) +/* 8035413C 0035109C 7F 84 E3 78 */ mr r4, r28 +/* 80354140 003510A0 7F C5 F3 78 */ mr r5, r30 +/* 80354144 003510A4 7C 60 D2 14 */ add r3, r0, r26 +/* 80354148 003510A8 48 00 09 91 */ bl sub_80354ad8 +/* 8035414C 003510AC 3B 5A 00 74 */ addi r26, r26, 0x74 +/* 80354150 003510B0 3B BD 00 01 */ addi r29, r29, 1 +lbl_80354154: +/* 80354154 003510B4 80 1B 00 04 */ lwz r0, 4(r27) +/* 80354158 003510B8 7C 1D 00 00 */ cmpw r29, r0 +/* 8035415C 003510BC 41 80 FF DC */ blt lbl_80354138 +/* 80354160 003510C0 BB 41 04 C8 */ lmw r26, 0x4c8(r1) +/* 80354164 003510C4 80 01 04 E4 */ lwz r0, 0x4e4(r1) +/* 80354168 003510C8 7C 08 03 A6 */ mtlr r0 +/* 8035416C 003510CC 38 21 04 E0 */ addi r1, r1, 0x4e0 +/* 80354170 003510D0 4E 80 00 20 */ blr + +.global __dt__10CSkinRulesFv +__dt__10CSkinRulesFv: +/* 80354174 003510D4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80354178 003510D8 7C 08 02 A6 */ mflr r0 +/* 8035417C 003510DC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80354180 003510E0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80354184 003510E4 7C 9F 23 78 */ mr r31, r4 +/* 80354188 003510E8 93 C1 00 08 */ stw r30, 8(r1) +/* 8035418C 003510EC 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80354190 003510F0 41 82 00 34 */ beq lbl_803541C4 +/* 80354194 003510F4 80 BE 00 04 */ lwz r5, 4(r30) +/* 80354198 003510F8 38 80 FF FF */ li r4, -1 +/* 8035419C 003510FC 80 0D AA 78 */ lwz r0, lbl_805A9638@sda21(r13) +/* 803541A0 00351100 1C A5 00 74 */ mulli r5, r5, 0x74 +/* 803541A4 00351104 38 A5 00 18 */ addi r5, r5, 0x18 +/* 803541A8 00351108 7C 05 00 50 */ subf r0, r5, r0 +/* 803541AC 0035110C 90 0D AA 78 */ stw r0, lbl_805A9638@sda21(r13) +/* 803541B0 00351110 48 00 00 31 */ bl sub_803541e0 +/* 803541B4 00351114 7F E0 07 35 */ extsh. r0, r31 +/* 803541B8 00351118 40 81 00 0C */ ble lbl_803541C4 +/* 803541BC 0035111C 7F C3 F3 78 */ mr r3, r30 +/* 803541C0 00351120 4B FC 17 71 */ bl Free__7CMemoryFPCv +lbl_803541C4: +/* 803541C4 00351124 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803541C8 00351128 7F C3 F3 78 */ mr r3, r30 +/* 803541CC 0035112C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803541D0 00351130 83 C1 00 08 */ lwz r30, 8(r1) +/* 803541D4 00351134 7C 08 03 A6 */ mtlr r0 +/* 803541D8 00351138 38 21 00 10 */ addi r1, r1, 0x10 +/* 803541DC 0035113C 4E 80 00 20 */ blr + +.global sub_803541e0 +sub_803541e0: +/* 803541E0 00351140 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803541E4 00351144 7C 08 02 A6 */ mflr r0 +/* 803541E8 00351148 90 01 00 24 */ stw r0, 0x24(r1) +/* 803541EC 0035114C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 803541F0 00351150 7C 9F 23 78 */ mr r31, r4 +/* 803541F4 00351154 93 C1 00 18 */ stw r30, 0x18(r1) +/* 803541F8 00351158 7C 7E 1B 79 */ or. r30, r3, r3 +/* 803541FC 0035115C 41 82 00 B8 */ beq lbl_803542B4 +/* 80354200 00351160 80 1E 00 04 */ lwz r0, 4(r30) +/* 80354204 00351164 80 DE 00 0C */ lwz r6, 0xc(r30) +/* 80354208 00351168 1C 00 00 74 */ mulli r0, r0, 0x74 +/* 8035420C 0035116C 90 C1 00 10 */ stw r6, 0x10(r1) +/* 80354210 00351170 7C 66 02 14 */ add r3, r6, r0 +/* 80354214 00351174 90 C1 00 14 */ stw r6, 0x14(r1) +/* 80354218 00351178 90 61 00 08 */ stw r3, 8(r1) +/* 8035421C 0035117C 90 61 00 0C */ stw r3, 0xc(r1) +/* 80354220 00351180 48 00 00 6C */ b lbl_8035428C +lbl_80354224: +/* 80354224 00351184 28 06 00 00 */ cmplwi r6, 0 +/* 80354228 00351188 41 82 00 60 */ beq lbl_80354288 +/* 8035422C 0035118C 41 82 00 5C */ beq lbl_80354288 +/* 80354230 00351190 80 E6 00 00 */ lwz r7, 0(r6) +/* 80354234 00351194 38 80 00 00 */ li r4, 0 +/* 80354238 00351198 2C 07 00 00 */ cmpwi r7, 0 +/* 8035423C 0035119C 40 81 00 44 */ ble lbl_80354280 +/* 80354240 003511A0 2C 07 00 08 */ cmpwi r7, 8 +/* 80354244 003511A4 38 A7 FF F8 */ addi r5, r7, -8 +/* 80354248 003511A8 40 81 00 20 */ ble lbl_80354268 +/* 8035424C 003511AC 38 05 00 07 */ addi r0, r5, 7 +/* 80354250 003511B0 54 00 E8 FE */ srwi r0, r0, 3 +/* 80354254 003511B4 7C 09 03 A6 */ mtctr r0 +/* 80354258 003511B8 2C 05 00 00 */ cmpwi r5, 0 +/* 8035425C 003511BC 40 81 00 0C */ ble lbl_80354268 +lbl_80354260: +/* 80354260 003511C0 38 84 00 08 */ addi r4, r4, 8 +/* 80354264 003511C4 42 00 FF FC */ bdnz lbl_80354260 +lbl_80354268: +/* 80354268 003511C8 7C 04 38 50 */ subf r0, r4, r7 +/* 8035426C 003511CC 7C 09 03 A6 */ mtctr r0 +/* 80354270 003511D0 7C 04 38 00 */ cmpw r4, r7 +/* 80354274 003511D4 40 80 00 0C */ bge lbl_80354280 +lbl_80354278: +/* 80354278 003511D8 38 84 00 01 */ addi r4, r4, 1 +/* 8035427C 003511DC 42 00 FF FC */ bdnz lbl_80354278 +lbl_80354280: +/* 80354280 003511E0 38 00 00 00 */ li r0, 0 +/* 80354284 003511E4 90 06 00 00 */ stw r0, 0(r6) +lbl_80354288: +/* 80354288 003511E8 38 C6 00 74 */ addi r6, r6, 0x74 +lbl_8035428C: +/* 8035428C 003511EC 7C 06 18 40 */ cmplw r6, r3 +/* 80354290 003511F0 40 82 FF 94 */ bne lbl_80354224 +/* 80354294 003511F4 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80354298 003511F8 28 03 00 00 */ cmplwi r3, 0 +/* 8035429C 003511FC 41 82 00 08 */ beq lbl_803542A4 +/* 803542A0 00351200 4B FC 16 91 */ bl Free__7CMemoryFPCv +lbl_803542A4: +/* 803542A4 00351204 7F E0 07 35 */ extsh. r0, r31 +/* 803542A8 00351208 40 81 00 0C */ ble lbl_803542B4 +/* 803542AC 0035120C 7F C3 F3 78 */ mr r3, r30 +/* 803542B0 00351210 4B FC 16 81 */ bl Free__7CMemoryFPCv +lbl_803542B4: +/* 803542B4 00351214 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803542B8 00351218 7F C3 F3 78 */ mr r3, r30 +/* 803542BC 0035121C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803542C0 00351220 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 803542C4 00351224 7C 08 03 A6 */ mtlr r0 +/* 803542C8 00351228 38 21 00 20 */ addi r1, r1, 0x20 +/* 803542CC 0035122C 4E 80 00 20 */ blr + +.global __ct__10CSkinRulesFR12CInputStream +__ct__10CSkinRulesFR12CInputStream: +/* 803542D0 00351230 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803542D4 00351234 7C 08 02 A6 */ mflr r0 +/* 803542D8 00351238 90 01 00 24 */ stw r0, 0x24(r1) +/* 803542DC 0035123C 38 A1 00 08 */ addi r5, r1, 8 +/* 803542E0 00351240 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 803542E4 00351244 7C 9F 23 78 */ mr r31, r4 +/* 803542E8 00351248 93 C1 00 18 */ stw r30, 0x18(r1) +/* 803542EC 0035124C 7C 7E 1B 78 */ mr r30, r3 +/* 803542F0 00351250 48 00 00 51 */ bl "__ct__Q24rstl49vector<12CVirtualBone,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 803542F4 00351254 7F E3 FB 78 */ mr r3, r31 +/* 803542F8 00351258 48 00 02 45 */ bl sub_8035453c +/* 803542FC 0035125C 90 7E 00 10 */ stw r3, 0x10(r30) +/* 80354300 00351260 7F E3 FB 78 */ mr r3, r31 +/* 80354304 00351264 48 00 02 39 */ bl sub_8035453c +/* 80354308 00351268 90 7E 00 14 */ stw r3, 0x14(r30) +/* 8035430C 0035126C 7F C3 F3 78 */ mr r3, r30 +/* 80354310 00351270 80 1E 00 04 */ lwz r0, 4(r30) +/* 80354314 00351274 80 8D AA 78 */ lwz r4, lbl_805A9638@sda21(r13) +/* 80354318 00351278 1C 00 00 74 */ mulli r0, r0, 0x74 +/* 8035431C 0035127C 7C 80 22 14 */ add r4, r0, r4 +/* 80354320 00351280 38 04 00 18 */ addi r0, r4, 0x18 +/* 80354324 00351284 90 0D AA 78 */ stw r0, lbl_805A9638@sda21(r13) +/* 80354328 00351288 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8035432C 0035128C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80354330 00351290 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80354334 00351294 7C 08 03 A6 */ mtlr r0 +/* 80354338 00351298 38 21 00 20 */ addi r1, r1, 0x20 +/* 8035433C 0035129C 4E 80 00 20 */ blr + +.global "__ct__Q24rstl49vector<12CVirtualBone,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +"__ct__Q24rstl49vector<12CVirtualBone,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator": +/* 80354340 003512A0 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 80354344 003512A4 7C 08 02 A6 */ mflr r0 +/* 80354348 003512A8 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 8035434C 003512AC 38 00 00 00 */ li r0, 0 +/* 80354350 003512B0 BE E1 00 8C */ stmw r23, 0x8c(r1) +/* 80354354 003512B4 7C 78 1B 78 */ mr r24, r3 +/* 80354358 003512B8 7C 99 23 78 */ mr r25, r4 +/* 8035435C 003512BC 90 03 00 04 */ stw r0, 4(r3) +/* 80354360 003512C0 7F 23 CB 78 */ mr r3, r25 +/* 80354364 003512C4 90 18 00 08 */ stw r0, 8(r24) +/* 80354368 003512C8 90 18 00 0C */ stw r0, 0xc(r24) +/* 8035436C 003512CC 4B FE A9 19 */ bl ReadLong__12CInputStreamFv +/* 80354370 003512D0 7C 7E 1B 78 */ mr r30, r3 +/* 80354374 003512D4 7F 03 C3 78 */ mr r3, r24 +/* 80354378 003512D8 7F C4 F3 78 */ mr r4, r30 +/* 8035437C 003512DC 48 00 02 51 */ bl sub_803545cc +/* 80354380 003512E0 3B A1 00 10 */ addi r29, r1, 0x10 +/* 80354384 003512E4 3B 81 00 2C */ addi r28, r1, 0x2c +/* 80354388 003512E8 3B 61 00 5C */ addi r27, r1, 0x5c +/* 8035438C 003512EC 3B E1 00 08 */ addi r31, r1, 8 +/* 80354390 003512F0 3B 40 00 00 */ li r26, 0 +/* 80354394 003512F4 48 00 01 28 */ b lbl_803544BC +lbl_80354398: +/* 80354398 003512F8 88 0D AA 48 */ lbz r0, lbl_805A9608@sda21(r13) +/* 8035439C 003512FC 7F 24 CB 78 */ mr r4, r25 +/* 803543A0 00351300 7F E5 FB 78 */ mr r5, r31 +/* 803543A4 00351304 38 61 00 0C */ addi r3, r1, 0xc +/* 803543A8 00351308 98 01 00 08 */ stb r0, 8(r1) +/* 803543AC 0035130C 48 00 01 31 */ bl "Get<12CVirtualBone>__12CInputStreamFRC21TType<12CVirtualBone>" +/* 803543B0 00351310 80 18 00 04 */ lwz r0, 4(r24) +/* 803543B4 00351314 80 B8 00 08 */ lwz r5, 8(r24) +/* 803543B8 00351318 7C 00 28 00 */ cmpw r0, r5 +/* 803543BC 0035131C 41 80 00 1C */ blt lbl_803543D8 +/* 803543C0 00351320 2C 05 00 00 */ cmpwi r5, 0 +/* 803543C4 00351324 7F 03 C3 78 */ mr r3, r24 +/* 803543C8 00351328 38 80 00 04 */ li r4, 4 +/* 803543CC 0035132C 41 82 00 08 */ beq lbl_803543D4 +/* 803543D0 00351330 54 A4 08 3C */ slwi r4, r5, 1 +lbl_803543D4: +/* 803543D4 00351334 48 00 01 F9 */ bl sub_803545cc +lbl_803543D8: +/* 803543D8 00351338 80 18 00 04 */ lwz r0, 4(r24) +/* 803543DC 0035133C 80 78 00 0C */ lwz r3, 0xc(r24) +/* 803543E0 00351340 1C 00 00 74 */ mulli r0, r0, 0x74 +/* 803543E4 00351344 7C 63 02 15 */ add. r3, r3, r0 +/* 803543E8 00351348 41 82 00 6C */ beq lbl_80354454 +/* 803543EC 0035134C 80 01 00 0C */ lwz r0, 0xc(r1) +/* 803543F0 00351350 38 A3 00 04 */ addi r5, r3, 4 +/* 803543F4 00351354 7C 77 1B 78 */ mr r23, r3 +/* 803543F8 00351358 7F A4 EB 78 */ mr r4, r29 +/* 803543FC 0035135C 90 03 00 00 */ stw r0, 0(r3) +/* 80354400 00351360 80 03 00 00 */ lwz r0, 0(r3) +/* 80354404 00351364 7C 09 03 A6 */ mtctr r0 +/* 80354408 00351368 2C 00 00 00 */ cmpwi r0, 0 +/* 8035440C 0035136C 40 81 00 28 */ ble lbl_80354434 +lbl_80354410: +/* 80354410 00351370 28 05 00 00 */ cmplwi r5, 0 +/* 80354414 00351374 41 82 00 14 */ beq lbl_80354428 +/* 80354418 00351378 88 04 00 00 */ lbz r0, 0(r4) +/* 8035441C 0035137C 98 05 00 00 */ stb r0, 0(r5) +/* 80354420 00351380 C0 04 00 04 */ lfs f0, 4(r4) +/* 80354424 00351384 D0 05 00 04 */ stfs f0, 4(r5) +lbl_80354428: +/* 80354428 00351388 38 A5 00 08 */ addi r5, r5, 8 +/* 8035442C 0035138C 38 84 00 08 */ addi r4, r4, 8 +/* 80354430 00351390 42 00 FF E0 */ bdnz lbl_80354410 +lbl_80354434: +/* 80354434 00351394 80 01 00 28 */ lwz r0, 0x28(r1) +/* 80354438 00351398 7F 84 E3 78 */ mr r4, r28 +/* 8035443C 0035139C 38 77 00 20 */ addi r3, r23, 0x20 +/* 80354440 003513A0 90 17 00 1C */ stw r0, 0x1c(r23) +/* 80354444 003513A4 4B FB E7 31 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80354448 003513A8 7F 64 DB 78 */ mr r4, r27 +/* 8035444C 003513AC 38 77 00 50 */ addi r3, r23, 0x50 +/* 80354450 003513B0 4B FB BB D5 */ bl __ct__9CMatrix3fFRC9CMatrix3f +lbl_80354454: +/* 80354454 003513B4 80 78 00 04 */ lwz r3, 4(r24) +/* 80354458 003513B8 38 80 00 00 */ li r4, 0 +/* 8035445C 003513BC 38 03 00 01 */ addi r0, r3, 1 +/* 80354460 003513C0 90 18 00 04 */ stw r0, 4(r24) +/* 80354464 003513C4 80 A1 00 0C */ lwz r5, 0xc(r1) +/* 80354468 003513C8 2C 05 00 00 */ cmpwi r5, 0 +/* 8035446C 003513CC 40 81 00 44 */ ble lbl_803544B0 +/* 80354470 003513D0 2C 05 00 08 */ cmpwi r5, 8 +/* 80354474 003513D4 38 65 FF F8 */ addi r3, r5, -8 +/* 80354478 003513D8 40 81 00 20 */ ble lbl_80354498 +/* 8035447C 003513DC 38 03 00 07 */ addi r0, r3, 7 +/* 80354480 003513E0 54 00 E8 FE */ srwi r0, r0, 3 +/* 80354484 003513E4 7C 09 03 A6 */ mtctr r0 +/* 80354488 003513E8 2C 03 00 00 */ cmpwi r3, 0 +/* 8035448C 003513EC 40 81 00 0C */ ble lbl_80354498 +lbl_80354490: +/* 80354490 003513F0 38 84 00 08 */ addi r4, r4, 8 +/* 80354494 003513F4 42 00 FF FC */ bdnz lbl_80354490 +lbl_80354498: +/* 80354498 003513F8 7C 04 28 50 */ subf r0, r4, r5 +/* 8035449C 003513FC 7C 09 03 A6 */ mtctr r0 +/* 803544A0 00351400 7C 04 28 00 */ cmpw r4, r5 +/* 803544A4 00351404 40 80 00 0C */ bge lbl_803544B0 +lbl_803544A8: +/* 803544A8 00351408 38 84 00 01 */ addi r4, r4, 1 +/* 803544AC 0035140C 42 00 FF FC */ bdnz lbl_803544A8 +lbl_803544B0: +/* 803544B0 00351410 38 00 00 00 */ li r0, 0 +/* 803544B4 00351414 3B 5A 00 01 */ addi r26, r26, 1 +/* 803544B8 00351418 90 01 00 0C */ stw r0, 0xc(r1) +lbl_803544BC: +/* 803544BC 0035141C 7C 1A F0 00 */ cmpw r26, r30 +/* 803544C0 00351420 41 80 FE D8 */ blt lbl_80354398 +/* 803544C4 00351424 7F 03 C3 78 */ mr r3, r24 +/* 803544C8 00351428 BA E1 00 8C */ lmw r23, 0x8c(r1) +/* 803544CC 0035142C 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 803544D0 00351430 7C 08 03 A6 */ mtlr r0 +/* 803544D4 00351434 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 803544D8 00351438 4E 80 00 20 */ blr + +.global "Get<12CVirtualBone>__12CInputStreamFRC21TType<12CVirtualBone>" +"Get<12CVirtualBone>__12CInputStreamFRC21TType<12CVirtualBone>": +/* 803544DC 0035143C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803544E0 00351440 7C 08 02 A6 */ mflr r0 +/* 803544E4 00351444 7C 85 23 78 */ mr r5, r4 +/* 803544E8 00351448 90 01 00 24 */ stw r0, 0x24(r1) +/* 803544EC 0035144C 38 81 00 08 */ addi r4, r1, 8 +/* 803544F0 00351450 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 803544F4 00351454 7C 7F 1B 78 */ mr r31, r3 +/* 803544F8 00351458 88 0D AA 4C */ lbz r0, lbl_805A960C@sda21(r13) +/* 803544FC 0035145C 98 01 00 08 */ stb r0, 8(r1) +/* 80354500 00351460 48 00 00 19 */ bl "cinput_stream_helper<12CVirtualBone>__FRC21TType<12CVirtualBone>R12CInputStream" +/* 80354504 00351464 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80354508 00351468 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8035450C 0035146C 7C 08 03 A6 */ mtlr r0 +/* 80354510 00351470 38 21 00 20 */ addi r1, r1, 0x20 +/* 80354514 00351474 4E 80 00 20 */ blr + +.global "cinput_stream_helper<12CVirtualBone>__FRC21TType<12CVirtualBone>R12CInputStream" +"cinput_stream_helper<12CVirtualBone>__FRC21TType<12CVirtualBone>R12CInputStream": +/* 80354518 00351478 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8035451C 0035147C 7C 08 02 A6 */ mflr r0 +/* 80354520 00351480 7C A4 2B 78 */ mr r4, r5 +/* 80354524 00351484 90 01 00 14 */ stw r0, 0x14(r1) +/* 80354528 00351488 48 00 09 51 */ bl __ct__12CVirtualBoneFR12CInputStream +/* 8035452C 0035148C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80354530 00351490 7C 08 03 A6 */ mtlr r0 +/* 80354534 00351494 38 21 00 10 */ addi r1, r1, 0x10 +/* 80354538 00351498 4E 80 00 20 */ blr + +.global sub_8035453c +sub_8035453c: +/* 8035453C 0035149C 94 21 FC D0 */ stwu r1, -0x330(r1) +/* 80354540 003514A0 7C 08 02 A6 */ mflr r0 +/* 80354544 003514A4 90 01 03 34 */ stw r0, 0x334(r1) +/* 80354548 003514A8 BF 61 03 1C */ stmw r27, 0x31c(r1) +/* 8035454C 003514AC 7C 7B 1B 78 */ mr r27, r3 +/* 80354550 003514B0 4B FE A7 35 */ bl ReadLong__12CInputStreamFv +/* 80354554 003514B4 7C 7F 1B 78 */ mr r31, r3 +/* 80354558 003514B8 2C 1F FF FF */ cmpwi r31, -1 +/* 8035455C 003514BC 40 82 00 10 */ bne lbl_8035456C +/* 80354560 003514C0 7F 63 DB 78 */ mr r3, r27 +/* 80354564 003514C4 4B FE A7 21 */ bl ReadLong__12CInputStreamFv +/* 80354568 003514C8 48 00 00 50 */ b lbl_803545B8 +lbl_8035456C: +/* 8035456C 003514CC 1F DF 00 03 */ mulli r30, r31, 3 +/* 80354570 003514D0 3B A0 00 00 */ li r29, 0 +/* 80354574 003514D4 48 00 00 38 */ b lbl_803545AC +lbl_80354578: +/* 80354578 003514D8 80 0D 9E 00 */ lwz r0, lbl_805A89C0@sda21(r13) +/* 8035457C 003514DC 7C 9D F0 50 */ subf r4, r29, r30 +/* 80354580 003514E0 90 81 00 08 */ stw r4, 8(r1) +/* 80354584 003514E4 38 61 00 08 */ addi r3, r1, 8 +/* 80354588 003514E8 7C 00 20 00 */ cmpw r0, r4 +/* 8035458C 003514EC 40 80 00 08 */ bge lbl_80354594 +/* 80354590 003514F0 38 6D 9E 00 */ addi r3, r13, lbl_805A89C0@sda21 +lbl_80354594: +/* 80354594 003514F4 83 83 00 00 */ lwz r28, 0(r3) +/* 80354598 003514F8 7F 63 DB 78 */ mr r3, r27 +/* 8035459C 003514FC 38 81 00 0C */ addi r4, r1, 0xc +/* 803545A0 00351500 57 85 10 3A */ slwi r5, r28, 2 +/* 803545A4 00351504 4B FE A9 B1 */ bl Get__12CInputStreamFPvUl +/* 803545A8 00351508 7F BD E2 14 */ add r29, r29, r28 +lbl_803545AC: +/* 803545AC 0035150C 7C 1D F0 00 */ cmpw r29, r30 +/* 803545B0 00351510 41 80 FF C8 */ blt lbl_80354578 +/* 803545B4 00351514 7F E3 FB 78 */ mr r3, r31 +lbl_803545B8: +/* 803545B8 00351518 BB 61 03 1C */ lmw r27, 0x31c(r1) +/* 803545BC 0035151C 80 01 03 34 */ lwz r0, 0x334(r1) +/* 803545C0 00351520 7C 08 03 A6 */ mtlr r0 +/* 803545C4 00351524 38 21 03 30 */ addi r1, r1, 0x330 +/* 803545C8 00351528 4E 80 00 20 */ blr + +.global sub_803545cc +sub_803545cc: +/* 803545CC 0035152C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 803545D0 00351530 7C 08 02 A6 */ mflr r0 +/* 803545D4 00351534 90 01 00 34 */ stw r0, 0x34(r1) +/* 803545D8 00351538 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 803545DC 0035153C 7C 9F 23 78 */ mr r31, r4 +/* 803545E0 00351540 93 C1 00 28 */ stw r30, 0x28(r1) +/* 803545E4 00351544 7C 7E 1B 78 */ mr r30, r3 +/* 803545E8 00351548 93 A1 00 24 */ stw r29, 0x24(r1) +/* 803545EC 0035154C 80 03 00 08 */ lwz r0, 8(r3) +/* 803545F0 00351550 7C 1F 00 00 */ cmpw r31, r0 +/* 803545F4 00351554 40 81 00 FC */ ble lbl_803546F0 +/* 803545F8 00351558 1C 7F 00 74 */ mulli r3, r31, 0x74 +/* 803545FC 0035155C 2C 03 00 00 */ cmpwi r3, 0 +/* 80354600 00351560 40 82 00 0C */ bne lbl_8035460C +/* 80354604 00351564 3B A0 00 00 */ li r29, 0 +/* 80354608 00351568 48 00 00 18 */ b lbl_80354620 +lbl_8035460C: +/* 8035460C 0035156C 3C 80 80 3E */ lis r4, lbl_803D8300@ha +/* 80354610 00351570 38 A0 00 00 */ li r5, 0 +/* 80354614 00351574 38 84 83 00 */ addi r4, r4, lbl_803D8300@l +/* 80354618 00351578 4B FC 12 01 */ bl __nwa__FUlPCcPCc +/* 8035461C 0035157C 7C 7D 1B 78 */ mr r29, r3 +lbl_80354620: +/* 80354620 00351580 80 1E 00 04 */ lwz r0, 4(r30) +/* 80354624 00351584 7F A5 EB 78 */ mr r5, r29 +/* 80354628 00351588 80 DE 00 0C */ lwz r6, 0xc(r30) +/* 8035462C 0035158C 38 61 00 14 */ addi r3, r1, 0x14 +/* 80354630 00351590 1C 00 00 74 */ mulli r0, r0, 0x74 +/* 80354634 00351594 38 81 00 0C */ addi r4, r1, 0xc +/* 80354638 00351598 7C C6 02 14 */ add r6, r6, r0 +/* 8035463C 0035159C 90 C1 00 0C */ stw r6, 0xc(r1) +/* 80354640 003515A0 80 1E 00 0C */ lwz r0, 0xc(r30) +/* 80354644 003515A4 90 C1 00 08 */ stw r6, 8(r1) +/* 80354648 003515A8 90 01 00 10 */ stw r0, 0x10(r1) +/* 8035464C 003515AC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80354650 003515B0 48 00 00 BD */ bl sub_8035470c +/* 80354654 003515B4 80 1E 00 04 */ lwz r0, 4(r30) +/* 80354658 003515B8 80 DE 00 0C */ lwz r6, 0xc(r30) +/* 8035465C 003515BC 1C 00 00 74 */ mulli r0, r0, 0x74 +/* 80354660 003515C0 7C 66 02 14 */ add r3, r6, r0 +/* 80354664 003515C4 48 00 00 6C */ b lbl_803546D0 +lbl_80354668: +/* 80354668 003515C8 28 06 00 00 */ cmplwi r6, 0 +/* 8035466C 003515CC 41 82 00 60 */ beq lbl_803546CC +/* 80354670 003515D0 41 82 00 5C */ beq lbl_803546CC +/* 80354674 003515D4 80 E6 00 00 */ lwz r7, 0(r6) +/* 80354678 003515D8 38 80 00 00 */ li r4, 0 +/* 8035467C 003515DC 2C 07 00 00 */ cmpwi r7, 0 +/* 80354680 003515E0 40 81 00 44 */ ble lbl_803546C4 +/* 80354684 003515E4 2C 07 00 08 */ cmpwi r7, 8 +/* 80354688 003515E8 38 A7 FF F8 */ addi r5, r7, -8 +/* 8035468C 003515EC 40 81 00 20 */ ble lbl_803546AC +/* 80354690 003515F0 38 05 00 07 */ addi r0, r5, 7 +/* 80354694 003515F4 54 00 E8 FE */ srwi r0, r0, 3 +/* 80354698 003515F8 7C 09 03 A6 */ mtctr r0 +/* 8035469C 003515FC 2C 05 00 00 */ cmpwi r5, 0 +/* 803546A0 00351600 40 81 00 0C */ ble lbl_803546AC +lbl_803546A4: +/* 803546A4 00351604 38 84 00 08 */ addi r4, r4, 8 +/* 803546A8 00351608 42 00 FF FC */ bdnz lbl_803546A4 +lbl_803546AC: +/* 803546AC 0035160C 7C 04 38 50 */ subf r0, r4, r7 +/* 803546B0 00351610 7C 09 03 A6 */ mtctr r0 +/* 803546B4 00351614 7C 04 38 00 */ cmpw r4, r7 +/* 803546B8 00351618 40 80 00 0C */ bge lbl_803546C4 +lbl_803546BC: +/* 803546BC 0035161C 38 84 00 01 */ addi r4, r4, 1 +/* 803546C0 00351620 42 00 FF FC */ bdnz lbl_803546BC +lbl_803546C4: +/* 803546C4 00351624 38 00 00 00 */ li r0, 0 +/* 803546C8 00351628 90 06 00 00 */ stw r0, 0(r6) +lbl_803546CC: +/* 803546CC 0035162C 38 C6 00 74 */ addi r6, r6, 0x74 +lbl_803546D0: +/* 803546D0 00351630 7C 06 18 40 */ cmplw r6, r3 +/* 803546D4 00351634 40 82 FF 94 */ bne lbl_80354668 +/* 803546D8 00351638 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 803546DC 0035163C 28 03 00 00 */ cmplwi r3, 0 +/* 803546E0 00351640 41 82 00 08 */ beq lbl_803546E8 +/* 803546E4 00351644 4B FC 12 4D */ bl Free__7CMemoryFPCv +lbl_803546E8: +/* 803546E8 00351648 93 BE 00 0C */ stw r29, 0xc(r30) +/* 803546EC 0035164C 93 FE 00 08 */ stw r31, 8(r30) +lbl_803546F0: +/* 803546F0 00351650 80 01 00 34 */ lwz r0, 0x34(r1) +/* 803546F4 00351654 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 803546F8 00351658 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 803546FC 0035165C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80354700 00351660 7C 08 03 A6 */ mtlr r0 +/* 80354704 00351664 38 21 00 30 */ addi r1, r1, 0x30 +/* 80354708 00351668 4E 80 00 20 */ blr diff --git a/asm/Kyoto/Animation/DolphinCSkinnedModel.s b/asm/Kyoto/Animation/DolphinCSkinnedModel.s new file mode 100644 index 00000000..642fb579 --- /dev/null +++ b/asm/Kyoto/Animation/DolphinCSkinnedModel.s @@ -0,0 +1,1345 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global sub_80352668 +sub_80352668: +/* 80352668 0034F5C8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8035266C 0034F5CC 7C 08 02 A6 */ mflr r0 +/* 80352670 0034F5D0 3C A0 80 3E */ lis r5, lbl_803D82F8@ha +/* 80352674 0034F5D4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80352678 0034F5D8 38 A5 82 F8 */ addi r5, r5, lbl_803D82F8@l +/* 8035267C 0034F5DC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80352680 0034F5E0 7C 9F 23 78 */ mr r31, r4 +/* 80352684 0034F5E4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80352688 0034F5E8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8035268C 0034F5EC 80 E3 00 18 */ lwz r7, 0x18(r3) +/* 80352690 0034F5F0 3C 60 80 3D */ lis r3, lbl_803D6AA8@ha +/* 80352694 0034F5F4 38 C3 6A A8 */ addi r6, r3, lbl_803D6AA8@l +/* 80352698 0034F5F8 80 07 00 14 */ lwz r0, 0x14(r7) +/* 8035269C 0034F5FC 38 61 00 08 */ addi r3, r1, 8 +/* 803526A0 0034F600 83 C7 00 10 */ lwz r30, 0x10(r7) +/* 803526A4 0034F604 1C 80 00 0C */ mulli r4, r0, 0xc +/* 803526A8 0034F608 38 04 00 1F */ addi r0, r4, 0x1f +/* 803526AC 0034F60C 38 80 FF FF */ li r4, -1 +/* 803526B0 0034F610 54 1D 00 34 */ rlwinm r29, r0, 0, 0, 0x1a +/* 803526B4 0034F614 4B F8 3D 21 */ bl __ct__10CCallStackFUiPCcPCc +/* 803526B8 0034F618 1C BE 00 0C */ mulli r5, r30, 0xc +/* 803526BC 0034F61C 38 80 00 02 */ li r4, 2 +/* 803526C0 0034F620 7C 67 1B 78 */ mr r7, r3 +/* 803526C4 0034F624 38 C0 00 00 */ li r6, 0 +/* 803526C8 0034F628 38 05 00 1F */ addi r0, r5, 0x1f +/* 803526CC 0034F62C 54 00 00 34 */ rlwinm r0, r0, 0, 0, 0x1a +/* 803526D0 0034F630 38 A0 00 01 */ li r5, 1 +/* 803526D4 0034F634 7C 60 EA 14 */ add r3, r0, r29 +/* 803526D8 0034F638 4B FC 32 BD */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 803526DC 0034F63C 28 1F 00 00 */ cmplwi r31, 0 +/* 803526E0 0034F640 41 82 00 0C */ beq lbl_803526EC +/* 803526E4 0034F644 7C 03 EA 14 */ add r0, r3, r29 +/* 803526E8 0034F648 90 1F 00 00 */ stw r0, 0(r31) +lbl_803526EC: +/* 803526EC 0034F64C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803526F0 0034F650 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803526F4 0034F654 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 803526F8 0034F658 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 803526FC 0034F65C 7C 08 03 A6 */ mtlr r0 +/* 80352700 0034F660 38 21 00 20 */ addi r1, r1, 0x20 +/* 80352704 0034F664 4E 80 00 20 */ blr + +.global ClearPointGeneratorFunc__13CSkinnedModelFv +ClearPointGeneratorFunc__13CSkinnedModelFv: +/* 80352708 0034F668 38 00 00 00 */ li r0, 0 +/* 8035270C 0034F66C 90 0D AA 30 */ stw r0, lbl_805A95F0@sda21(r13) +/* 80352710 0034F670 4E 80 00 20 */ blr + +.global SetPointGeneratorFunc__13CSkinnedModelFUiPFUiPC9CVector3fPC9CVector3fi_v +SetPointGeneratorFunc__13CSkinnedModelFUiPFUiPC9CVector3fPC9CVector3fi_v: +/* 80352714 0034F674 90 8D AA 30 */ stw r4, lbl_805A95F0@sda21(r13) +/* 80352718 0034F678 90 6D AA 34 */ stw r3, lbl_805A95F4@sda21(r13) +/* 8035271C 0034F67C 4E 80 00 20 */ blr + +.global sub_80352720 +sub_80352720: +/* 80352720 0034F680 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80352724 0034F684 7C 08 02 A6 */ mflr r0 +/* 80352728 0034F688 90 01 00 14 */ stw r0, 0x14(r1) +/* 8035272C 0034F68C 48 00 0D E1 */ bl sub_8035350c +/* 80352730 0034F690 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80352734 0034F694 7C 08 03 A6 */ mtlr r0 +/* 80352738 0034F698 38 21 00 10 */ addi r1, r1, 0x10 +/* 8035273C 0034F69C 4E 80 00 20 */ blr + +.global sub_80352740 +sub_80352740: +/* 80352740 0034F6A0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80352744 0034F6A4 7C 08 02 A6 */ mflr r0 +/* 80352748 0034F6A8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8035274C 0034F6AC 48 00 0E 61 */ bl sub_803535ac +/* 80352750 0034F6B0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80352754 0034F6B4 7C 08 03 A6 */ mtlr r0 +/* 80352758 0034F6B8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8035275C 0034F6BC 4E 80 00 20 */ blr + +.global sub_80352760 +sub_80352760: +/* 80352760 0034F6C0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80352764 0034F6C4 7C 08 02 A6 */ mflr r0 +/* 80352768 0034F6C8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8035276C 0034F6CC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80352770 0034F6D0 7C 7F 1B 78 */ mr r31, r3 +/* 80352774 0034F6D4 88 03 00 38 */ lbz r0, 0x38(r3) +/* 80352778 0034F6D8 28 00 00 00 */ cmplwi r0, 0 +/* 8035277C 0034F6DC 41 82 00 DC */ beq lbl_80352858 +/* 80352780 0034F6E0 80 1F 00 2C */ lwz r0, 0x2c(r31) +/* 80352784 0034F6E4 28 00 00 00 */ cmplwi r0, 0 +/* 80352788 0034F6E8 41 82 00 D0 */ beq lbl_80352858 +/* 8035278C 0034F6EC 38 61 00 10 */ addi r3, r1, 0x10 +/* 80352790 0034F6F0 38 1F 00 28 */ addi r0, r31, 0x28 +/* 80352794 0034F6F4 38 80 00 00 */ li r4, 0 +/* 80352798 0034F6F8 7C 03 00 40 */ cmplw r3, r0 +/* 8035279C 0034F6FC 98 81 00 10 */ stb r4, 0x10(r1) +/* 803527A0 0034F700 90 81 00 14 */ stw r4, 0x14(r1) +/* 803527A4 0034F704 41 82 00 30 */ beq lbl_803527D4 +/* 803527A8 0034F708 88 1F 00 28 */ lbz r0, 0x28(r31) +/* 803527AC 0034F70C 28 00 00 00 */ cmplwi r0, 0 +/* 803527B0 0034F710 41 82 00 0C */ beq lbl_803527BC +/* 803527B4 0034F714 80 7F 00 2C */ lwz r3, 0x2c(r31) +/* 803527B8 0034F718 4B FC 31 79 */ bl Free__7CMemoryFPCv +lbl_803527BC: +/* 803527BC 0034F71C 88 81 00 10 */ lbz r4, 0x10(r1) +/* 803527C0 0034F720 38 00 00 00 */ li r0, 0 +/* 803527C4 0034F724 80 61 00 14 */ lwz r3, 0x14(r1) +/* 803527C8 0034F728 98 9F 00 28 */ stb r4, 0x28(r31) +/* 803527CC 0034F72C 90 7F 00 2C */ stw r3, 0x2c(r31) +/* 803527D0 0034F730 98 01 00 10 */ stb r0, 0x10(r1) +lbl_803527D4: +/* 803527D4 0034F734 88 01 00 10 */ lbz r0, 0x10(r1) +/* 803527D8 0034F738 28 00 00 00 */ cmplwi r0, 0 +/* 803527DC 0034F73C 41 82 00 0C */ beq lbl_803527E8 +/* 803527E0 0034F740 80 61 00 14 */ lwz r3, 0x14(r1) +/* 803527E4 0034F744 4B FC 31 4D */ bl Free__7CMemoryFPCv +lbl_803527E8: +/* 803527E8 0034F748 38 61 00 08 */ addi r3, r1, 8 +/* 803527EC 0034F74C 38 1F 00 30 */ addi r0, r31, 0x30 +/* 803527F0 0034F750 38 80 00 00 */ li r4, 0 +/* 803527F4 0034F754 7C 03 00 40 */ cmplw r3, r0 +/* 803527F8 0034F758 98 81 00 08 */ stb r4, 8(r1) +/* 803527FC 0034F75C 90 81 00 0C */ stw r4, 0xc(r1) +/* 80352800 0034F760 41 82 00 30 */ beq lbl_80352830 +/* 80352804 0034F764 88 1F 00 30 */ lbz r0, 0x30(r31) +/* 80352808 0034F768 28 00 00 00 */ cmplwi r0, 0 +/* 8035280C 0034F76C 41 82 00 0C */ beq lbl_80352818 +/* 80352810 0034F770 80 7F 00 34 */ lwz r3, 0x34(r31) +/* 80352814 0034F774 4B FC 31 1D */ bl Free__7CMemoryFPCv +lbl_80352818: +/* 80352818 0034F778 88 81 00 08 */ lbz r4, 8(r1) +/* 8035281C 0034F77C 38 00 00 00 */ li r0, 0 +/* 80352820 0034F780 80 61 00 0C */ lwz r3, 0xc(r1) +/* 80352824 0034F784 98 9F 00 30 */ stb r4, 0x30(r31) +/* 80352828 0034F788 90 7F 00 34 */ stw r3, 0x34(r31) +/* 8035282C 0034F78C 98 01 00 08 */ stb r0, 8(r1) +lbl_80352830: +/* 80352830 0034F790 88 01 00 08 */ lbz r0, 8(r1) +/* 80352834 0034F794 28 00 00 00 */ cmplwi r0, 0 +/* 80352838 0034F798 41 82 00 0C */ beq lbl_80352844 +/* 8035283C 0034F79C 80 61 00 0C */ lwz r3, 0xc(r1) +/* 80352840 0034F7A0 4B FC 30 F1 */ bl Free__7CMemoryFPCv +lbl_80352844: +/* 80352844 0034F7A4 A0 6D AA 38 */ lhz r3, lbl_805A95F8@sda21(r13) +/* 80352848 0034F7A8 48 02 5B D9 */ bl GXSetDrawSync +/* 8035284C 0034F7AC A0 6D AA 38 */ lhz r3, lbl_805A95F8@sda21(r13) +/* 80352850 0034F7B0 38 03 00 01 */ addi r0, r3, 1 +/* 80352854 0034F7B4 B0 0D AA 38 */ sth r0, lbl_805A95F8@sda21(r13) +lbl_80352858: +/* 80352858 0034F7B8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8035285C 0034F7BC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80352860 0034F7C0 7C 08 03 A6 */ mtlr r0 +/* 80352864 0034F7C4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80352868 0034F7C8 4E 80 00 20 */ blr + +.global AllocateStorage__13CSkinnedModelFv +AllocateStorage__13CSkinnedModelFv: +/* 8035286C 0034F7CC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80352870 0034F7D0 7C 08 02 A6 */ mflr r0 +/* 80352874 0034F7D4 90 01 00 34 */ stw r0, 0x34(r1) +/* 80352878 0034F7D8 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8035287C 0034F7DC 7C 7F 1B 78 */ mr r31, r3 +/* 80352880 0034F7E0 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80352884 0034F7E4 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80352888 0034F7E8 88 03 00 38 */ lbz r0, 0x38(r3) +/* 8035288C 0034F7EC 28 00 00 00 */ cmplwi r0, 0 +/* 80352890 0034F7F0 41 82 01 40 */ beq lbl_803529D0 +/* 80352894 0034F7F4 80 1F 00 2C */ lwz r0, 0x2c(r31) +/* 80352898 0034F7F8 28 00 00 00 */ cmplwi r0, 0 +/* 8035289C 0034F7FC 41 82 00 10 */ beq lbl_803528AC +/* 803528A0 0034F800 80 1F 00 34 */ lwz r0, 0x34(r31) +/* 803528A4 0034F804 28 00 00 00 */ cmplwi r0, 0 +/* 803528A8 0034F808 40 82 01 28 */ bne lbl_803529D0 +lbl_803528AC: +/* 803528AC 0034F80C 80 7F 00 18 */ lwz r3, 0x18(r31) +/* 803528B0 0034F810 83 C3 00 10 */ lwz r30, 0x10(r3) +/* 803528B4 0034F814 83 A3 00 14 */ lwz r29, 0x14(r3) +/* 803528B8 0034F818 48 00 02 B9 */ bl TickAllocations__13CSkinnedModelFv +/* 803528BC 0034F81C 1C 7D 00 0C */ mulli r3, r29, 0xc +/* 803528C0 0034F820 1C 9E 00 0C */ mulli r4, r30, 0xc +/* 803528C4 0034F824 38 03 00 1F */ addi r0, r3, 0x1f +/* 803528C8 0034F828 38 84 00 1F */ addi r4, r4, 0x1f +/* 803528CC 0034F82C 54 03 00 34 */ rlwinm r3, r0, 0, 0, 0x1a +/* 803528D0 0034F830 54 9D 00 34 */ rlwinm r29, r4, 0, 0, 0x1a +/* 803528D4 0034F834 38 63 00 20 */ addi r3, r3, 0x20 +/* 803528D8 0034F838 7C 7D 1A 14 */ add r3, r29, r3 +/* 803528DC 0034F83C 48 00 01 11 */ bl EnsureAllocation__13CSkinnedModelFi +/* 803528E0 0034F840 3C 80 80 4C */ lis r4, lbl_804BFFC0@ha +/* 803528E4 0034F844 7C 7E 1B 78 */ mr r30, r3 +/* 803528E8 0034F848 38 04 FF C0 */ addi r0, r4, lbl_804BFFC0@l +/* 803528EC 0034F84C 7C 1E 00 40 */ cmplw r30, r0 +/* 803528F0 0034F850 40 82 00 08 */ bne lbl_803528F8 +/* 803528F4 0034F854 48 02 56 91 */ bl GXInvalidateVtxCache +lbl_803528F8: +/* 803528F8 0034F858 7C 1E 00 D0 */ neg r0, r30 +/* 803528FC 0034F85C 38 61 00 10 */ addi r3, r1, 0x10 +/* 80352900 0034F860 7C 04 F3 78 */ or r4, r0, r30 +/* 80352904 0034F864 38 1F 00 28 */ addi r0, r31, 0x28 +/* 80352908 0034F868 54 84 0F FE */ srwi r4, r4, 0x1f +/* 8035290C 0034F86C 93 C1 00 14 */ stw r30, 0x14(r1) +/* 80352910 0034F870 7C 03 00 40 */ cmplw r3, r0 +/* 80352914 0034F874 98 81 00 10 */ stb r4, 0x10(r1) +/* 80352918 0034F878 41 82 00 30 */ beq lbl_80352948 +/* 8035291C 0034F87C 88 1F 00 28 */ lbz r0, 0x28(r31) +/* 80352920 0034F880 28 00 00 00 */ cmplwi r0, 0 +/* 80352924 0034F884 41 82 00 0C */ beq lbl_80352930 +/* 80352928 0034F888 80 7F 00 2C */ lwz r3, 0x2c(r31) +/* 8035292C 0034F88C 4B FC 30 05 */ bl Free__7CMemoryFPCv +lbl_80352930: +/* 80352930 0034F890 88 61 00 10 */ lbz r3, 0x10(r1) +/* 80352934 0034F894 38 00 00 00 */ li r0, 0 +/* 80352938 0034F898 98 7F 00 28 */ stb r3, 0x28(r31) +/* 8035293C 0034F89C 80 61 00 14 */ lwz r3, 0x14(r1) +/* 80352940 0034F8A0 90 7F 00 2C */ stw r3, 0x2c(r31) +/* 80352944 0034F8A4 98 01 00 10 */ stb r0, 0x10(r1) +lbl_80352948: +/* 80352948 0034F8A8 88 01 00 10 */ lbz r0, 0x10(r1) +/* 8035294C 0034F8AC 28 00 00 00 */ cmplwi r0, 0 +/* 80352950 0034F8B0 41 82 00 0C */ beq lbl_8035295C +/* 80352954 0034F8B4 80 61 00 14 */ lwz r3, 0x14(r1) +/* 80352958 0034F8B8 4B FC 2F D9 */ bl Free__7CMemoryFPCv +lbl_8035295C: +/* 8035295C 0034F8BC 7C BE EA 14 */ add r5, r30, r29 +/* 80352960 0034F8C0 38 61 00 08 */ addi r3, r1, 8 +/* 80352964 0034F8C4 7C 85 00 D0 */ neg r4, r5 +/* 80352968 0034F8C8 38 1F 00 30 */ addi r0, r31, 0x30 +/* 8035296C 0034F8CC 7C 84 2B 78 */ or r4, r4, r5 +/* 80352970 0034F8D0 90 A1 00 0C */ stw r5, 0xc(r1) +/* 80352974 0034F8D4 54 84 0F FE */ srwi r4, r4, 0x1f +/* 80352978 0034F8D8 7C 03 00 40 */ cmplw r3, r0 +/* 8035297C 0034F8DC 98 81 00 08 */ stb r4, 8(r1) +/* 80352980 0034F8E0 41 82 00 30 */ beq lbl_803529B0 +/* 80352984 0034F8E4 88 1F 00 30 */ lbz r0, 0x30(r31) +/* 80352988 0034F8E8 28 00 00 00 */ cmplwi r0, 0 +/* 8035298C 0034F8EC 41 82 00 0C */ beq lbl_80352998 +/* 80352990 0034F8F0 80 7F 00 34 */ lwz r3, 0x34(r31) +/* 80352994 0034F8F4 4B FC 2F 9D */ bl Free__7CMemoryFPCv +lbl_80352998: +/* 80352998 0034F8F8 88 61 00 08 */ lbz r3, 8(r1) +/* 8035299C 0034F8FC 38 00 00 00 */ li r0, 0 +/* 803529A0 0034F900 98 7F 00 30 */ stb r3, 0x30(r31) +/* 803529A4 0034F904 80 61 00 0C */ lwz r3, 0xc(r1) +/* 803529A8 0034F908 90 7F 00 34 */ stw r3, 0x34(r31) +/* 803529AC 0034F90C 98 01 00 08 */ stb r0, 8(r1) +lbl_803529B0: +/* 803529B0 0034F910 88 01 00 08 */ lbz r0, 8(r1) +/* 803529B4 0034F914 28 00 00 00 */ cmplwi r0, 0 +/* 803529B8 0034F918 41 82 00 0C */ beq lbl_803529C4 +/* 803529BC 0034F91C 80 61 00 0C */ lwz r3, 0xc(r1) +/* 803529C0 0034F920 4B FC 2F 71 */ bl Free__7CMemoryFPCv +lbl_803529C4: +/* 803529C4 0034F924 38 00 00 00 */ li r0, 0 +/* 803529C8 0034F928 98 1F 00 28 */ stb r0, 0x28(r31) +/* 803529CC 0034F92C 98 1F 00 30 */ stb r0, 0x30(r31) +lbl_803529D0: +/* 803529D0 0034F930 80 01 00 34 */ lwz r0, 0x34(r1) +/* 803529D4 0034F934 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 803529D8 0034F938 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 803529DC 0034F93C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 803529E0 0034F940 7C 08 03 A6 */ mtlr r0 +/* 803529E4 0034F944 38 21 00 30 */ addi r1, r1, 0x30 +/* 803529E8 0034F948 4E 80 00 20 */ blr + +.global EnsureAllocation__13CSkinnedModelFi +EnsureAllocation__13CSkinnedModelFi: +/* 803529EC 0034F94C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803529F0 0034F950 7C 08 02 A6 */ mflr r0 +/* 803529F4 0034F954 90 01 00 24 */ stw r0, 0x24(r1) +/* 803529F8 0034F958 38 03 00 1F */ addi r0, r3, 0x1f +/* 803529FC 0034F95C 3C 60 80 54 */ lis r3, lbl_8053FFCC@ha +/* 80352A00 0034F960 BF 41 00 08 */ stmw r26, 8(r1) +/* 80352A04 0034F964 54 1C 00 34 */ rlwinm r28, r0, 0, 0, 0x1a +/* 80352A08 0034F968 38 63 FF CC */ addi r3, r3, lbl_8053FFCC@l +/* 80352A0C 0034F96C 7F 84 E3 78 */ mr r4, r28 +/* 80352A10 0034F970 4B FC 2C E9 */ bl Alloc__15CCircularBufferFi +/* 80352A14 0034F974 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80352A18 0034F978 40 82 00 24 */ bne lbl_80352A3C +/* 80352A1C 0034F97C 88 0D AA 41 */ lbz r0, lbl_805A9601@sda21(r13) +/* 80352A20 0034F980 28 00 00 00 */ cmplwi r0, 0 +/* 80352A24 0034F984 40 82 00 18 */ bne lbl_80352A3C +/* 80352A28 0034F988 3C 60 80 54 */ lis r3, lbl_8053FFCC@ha +/* 80352A2C 0034F98C 38 63 FF CC */ addi r3, r3, lbl_8053FFCC@l +/* 80352A30 0034F990 4B FC 2C 31 */ bl GetAllocatedAmount__15CCircularBufferCFv +/* 80352A34 0034F994 38 00 00 01 */ li r0, 1 +/* 80352A38 0034F998 98 0D AA 41 */ stb r0, lbl_805A9601@sda21(r13) +lbl_80352A3C: +/* 80352A3C 0034F99C 48 03 29 85 */ bl OSGetTick +/* 80352A40 0034F9A0 3C A0 80 54 */ lis r5, lbl_8053FFF4@ha +/* 80352A44 0034F9A4 3C 80 80 54 */ lis r4, lbl_8053FFCC@ha +/* 80352A48 0034F9A8 7C 7D 1B 78 */ mr r29, r3 +/* 80352A4C 0034F9AC 3B E5 FF F4 */ addi r31, r5, lbl_8053FFF4@l +/* 80352A50 0034F9B0 3B 64 FF CC */ addi r27, r4, lbl_8053FFCC@l +/* 80352A54 0034F9B4 48 00 00 84 */ b lbl_80352AD8 +lbl_80352A58: +/* 80352A58 0034F9B8 48 00 01 19 */ bl TickAllocations__13CSkinnedModelFv +/* 80352A5C 0034F9BC 7F 63 DB 78 */ mr r3, r27 +/* 80352A60 0034F9C0 7F 84 E3 78 */ mr r4, r28 +/* 80352A64 0034F9C4 4B FC 2C 95 */ bl Alloc__15CCircularBufferFi +/* 80352A68 0034F9C8 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80352A6C 0034F9CC 40 82 00 6C */ bne lbl_80352AD8 +/* 80352A70 0034F9D0 48 03 29 51 */ bl OSGetTick +/* 80352A74 0034F9D4 3C A0 80 00 */ lis r5, 0x800000F8@ha +/* 80352A78 0034F9D8 3C 80 10 62 */ lis r4, 0x10624DD3@ha +/* 80352A7C 0034F9DC 80 05 00 F8 */ lwz r0, 0x800000F8@l(r5) +/* 80352A80 0034F9E0 7C 7A 1B 78 */ mr r26, r3 +/* 80352A84 0034F9E4 38 64 4D D3 */ addi r3, r4, 0x10624DD3@l +/* 80352A88 0034F9E8 54 00 F0 BE */ srwi r0, r0, 2 +/* 80352A8C 0034F9EC 7C 03 00 16 */ mulhwu r0, r3, r0 +/* 80352A90 0034F9F0 7C 7D D0 50 */ subf r3, r29, r26 +/* 80352A94 0034F9F4 54 00 D1 BE */ srwi r0, r0, 6 +/* 80352A98 0034F9F8 7C 03 03 96 */ divwu r0, r3, r0 +/* 80352A9C 0034F9FC 28 00 00 3C */ cmplwi r0, 0x3c +/* 80352AA0 0034FA00 40 81 00 38 */ ble lbl_80352AD8 +/* 80352AA4 0034FA04 48 02 5A 35 */ bl GXReadDrawSync +/* 80352AA8 0034FA08 80 7F 00 04 */ lwz r3, 4(r31) +/* 80352AAC 0034FA0C 80 1F 00 08 */ lwz r0, 8(r31) +/* 80352AB0 0034FA10 48 00 00 08 */ b lbl_80352AB8 +lbl_80352AB4: +/* 80352AB4 0034FA14 80 63 00 04 */ lwz r3, 4(r3) +lbl_80352AB8: +/* 80352AB8 0034FA18 7C 03 00 40 */ cmplw r3, r0 +/* 80352ABC 0034FA1C 40 82 FF F8 */ bne lbl_80352AB4 +/* 80352AC0 0034FA20 A0 6D AA 38 */ lhz r3, lbl_805A95F8@sda21(r13) +/* 80352AC4 0034FA24 7F 5D D3 78 */ mr r29, r26 +/* 80352AC8 0034FA28 48 02 59 59 */ bl GXSetDrawSync +/* 80352ACC 0034FA2C A0 6D AA 38 */ lhz r3, lbl_805A95F8@sda21(r13) +/* 80352AD0 0034FA30 38 03 00 01 */ addi r0, r3, 1 +/* 80352AD4 0034FA34 B0 0D AA 38 */ sth r0, lbl_805A95F8@sda21(r13) +lbl_80352AD8: +/* 80352AD8 0034FA38 28 1E 00 00 */ cmplwi r30, 0 +/* 80352ADC 0034FA3C 41 82 FF 7C */ beq lbl_80352A58 +/* 80352AE0 0034FA40 83 BF 00 08 */ lwz r29, 8(r31) +/* 80352AE4 0034FA44 3C 60 80 3E */ lis r3, lbl_803D82F8@ha +/* 80352AE8 0034FA48 38 83 82 F8 */ addi r4, r3, lbl_803D82F8@l +/* 80352AEC 0034FA4C A3 6D AA 38 */ lhz r27, lbl_805A95F8@sda21(r13) +/* 80352AF0 0034FA50 83 5D 00 00 */ lwz r26, 0(r29) +/* 80352AF4 0034FA54 38 60 00 14 */ li r3, 0x14 +/* 80352AF8 0034FA58 38 A0 00 00 */ li r5, 0 +/* 80352AFC 0034FA5C 4B FC 2D 1D */ bl __nwa__FUlPCcPCc +/* 80352B00 0034FA60 28 03 00 00 */ cmplwi r3, 0 +/* 80352B04 0034FA64 41 82 00 0C */ beq lbl_80352B10 +/* 80352B08 0034FA68 93 43 00 00 */ stw r26, 0(r3) +/* 80352B0C 0034FA6C 93 A3 00 04 */ stw r29, 4(r3) +lbl_80352B10: +/* 80352B10 0034FA70 34 83 00 08 */ addic. r4, r3, 8 +/* 80352B14 0034FA74 41 82 00 10 */ beq lbl_80352B24 +/* 80352B18 0034FA78 93 C4 00 00 */ stw r30, 0(r4) +/* 80352B1C 0034FA7C 93 84 00 04 */ stw r28, 4(r4) +/* 80352B20 0034FA80 B3 64 00 08 */ sth r27, 8(r4) +lbl_80352B24: +/* 80352B24 0034FA84 80 1F 00 04 */ lwz r0, 4(r31) +/* 80352B28 0034FA88 7C 1D 00 40 */ cmplw r29, r0 +/* 80352B2C 0034FA8C 40 82 00 08 */ bne lbl_80352B34 +/* 80352B30 0034FA90 90 7F 00 04 */ stw r3, 4(r31) +lbl_80352B34: +/* 80352B34 0034FA94 80 C3 00 00 */ lwz r6, 0(r3) +/* 80352B38 0034FA98 3C 80 80 54 */ lis r4, lbl_8053FFF4@ha +/* 80352B3C 0034FA9C 38 A4 FF F4 */ addi r5, r4, lbl_8053FFF4@l +/* 80352B40 0034FAA0 90 66 00 04 */ stw r3, 4(r6) +/* 80352B44 0034FAA4 80 83 00 04 */ lwz r4, 4(r3) +/* 80352B48 0034FAA8 90 64 00 00 */ stw r3, 0(r4) +/* 80352B4C 0034FAAC 7F C3 F3 78 */ mr r3, r30 +/* 80352B50 0034FAB0 80 85 00 14 */ lwz r4, 0x14(r5) +/* 80352B54 0034FAB4 38 04 00 01 */ addi r0, r4, 1 +/* 80352B58 0034FAB8 90 05 00 14 */ stw r0, 0x14(r5) +/* 80352B5C 0034FABC BB 41 00 08 */ lmw r26, 8(r1) +/* 80352B60 0034FAC0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80352B64 0034FAC4 7C 08 03 A6 */ mtlr r0 +/* 80352B68 0034FAC8 38 21 00 20 */ addi r1, r1, 0x20 +/* 80352B6C 0034FACC 4E 80 00 20 */ blr + +.global TickAllocations__13CSkinnedModelFv +TickAllocations__13CSkinnedModelFv: +/* 80352B70 0034FAD0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80352B74 0034FAD4 7C 08 02 A6 */ mflr r0 +/* 80352B78 0034FAD8 90 01 00 24 */ stw r0, 0x24(r1) +/* 80352B7C 0034FADC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80352B80 0034FAE0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80352B84 0034FAE4 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80352B88 0034FAE8 48 02 59 51 */ bl GXReadDrawSync +/* 80352B8C 0034FAEC A0 0D AA 38 */ lhz r0, lbl_805A95F8@sda21(r13) +/* 80352B90 0034FAF0 54 7D 04 3E */ clrlwi r29, r3, 0x10 +/* 80352B94 0034FAF4 7C 1D 00 00 */ cmpw r29, r0 +/* 80352B98 0034FAF8 40 81 00 08 */ ble lbl_80352BA0 +/* 80352B9C 0034FAFC 3F BD FF FF */ addis r29, r29, 0xffff +lbl_80352BA0: +/* 80352BA0 0034FB00 3C 80 80 54 */ lis r4, lbl_8053FFF4@ha +/* 80352BA4 0034FB04 3C 60 80 54 */ lis r3, lbl_8053FFCC@ha +/* 80352BA8 0034FB08 3B C4 FF F4 */ addi r30, r4, lbl_8053FFF4@l +/* 80352BAC 0034FB0C 3B E3 FF CC */ addi r31, r3, lbl_8053FFCC@l +/* 80352BB0 0034FB10 48 00 00 40 */ b lbl_80352BF0 +lbl_80352BB4: +/* 80352BB4 0034FB14 80 BE 00 04 */ lwz r5, 4(r30) +/* 80352BB8 0034FB18 A0 0D AA 38 */ lhz r0, lbl_805A95F8@sda21(r13) +/* 80352BBC 0034FB1C A0 65 00 10 */ lhz r3, 0x10(r5) +/* 80352BC0 0034FB20 7C 03 00 00 */ cmpw r3, r0 +/* 80352BC4 0034FB24 40 81 00 08 */ ble lbl_80352BCC +/* 80352BC8 0034FB28 3C 63 FF FF */ addis r3, r3, 0xffff +lbl_80352BCC: +/* 80352BCC 0034FB2C 7C 1D 18 00 */ cmpw r29, r3 +/* 80352BD0 0034FB30 41 80 00 2C */ blt lbl_80352BFC +/* 80352BD4 0034FB34 80 85 00 08 */ lwz r4, 8(r5) +/* 80352BD8 0034FB38 7F E3 FB 78 */ mr r3, r31 +/* 80352BDC 0034FB3C 80 A5 00 0C */ lwz r5, 0xc(r5) +/* 80352BE0 0034FB40 4B FC 2A AD */ bl Free__15CCircularBufferFPvi +/* 80352BE4 0034FB44 80 9E 00 04 */ lwz r4, 4(r30) +/* 80352BE8 0034FB48 7F C3 F3 78 */ mr r3, r30 +/* 80352BEC 0034FB4C 48 00 0B 15 */ bl sub_80353700 +lbl_80352BF0: +/* 80352BF0 0034FB50 80 1E 00 14 */ lwz r0, 0x14(r30) +/* 80352BF4 0034FB54 2C 00 00 00 */ cmpwi r0, 0 +/* 80352BF8 0034FB58 40 82 FF BC */ bne lbl_80352BB4 +lbl_80352BFC: +/* 80352BFC 0034FB5C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80352C00 0034FB60 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80352C04 0034FB64 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80352C08 0034FB68 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80352C0C 0034FB6C 7C 08 03 A6 */ mtlr r0 +/* 80352C10 0034FB70 38 21 00 20 */ addi r1, r1, 0x20 +/* 80352C14 0034FB74 4E 80 00 20 */ blr + +.global CalculateDefault__13CSkinnedModelFv +CalculateDefault__13CSkinnedModelFv: +/* 80352C18 0034FB78 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80352C1C 0034FB7C 7C 08 02 A6 */ mflr r0 +/* 80352C20 0034FB80 38 80 00 00 */ li r4, 0 +/* 80352C24 0034FB84 90 01 00 24 */ stw r0, 0x24(r1) +/* 80352C28 0034FB88 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80352C2C 0034FB8C 7C 7F 1B 78 */ mr r31, r3 +/* 80352C30 0034FB90 38 61 00 10 */ addi r3, r1, 0x10 +/* 80352C34 0034FB94 38 1F 00 28 */ addi r0, r31, 0x28 +/* 80352C38 0034FB98 98 81 00 10 */ stb r4, 0x10(r1) +/* 80352C3C 0034FB9C 7C 03 00 40 */ cmplw r3, r0 +/* 80352C40 0034FBA0 90 81 00 14 */ stw r4, 0x14(r1) +/* 80352C44 0034FBA4 41 82 00 30 */ beq lbl_80352C74 +/* 80352C48 0034FBA8 88 1F 00 28 */ lbz r0, 0x28(r31) +/* 80352C4C 0034FBAC 28 00 00 00 */ cmplwi r0, 0 +/* 80352C50 0034FBB0 41 82 00 0C */ beq lbl_80352C5C +/* 80352C54 0034FBB4 80 7F 00 2C */ lwz r3, 0x2c(r31) +/* 80352C58 0034FBB8 4B FC 2C D9 */ bl Free__7CMemoryFPCv +lbl_80352C5C: +/* 80352C5C 0034FBBC 88 61 00 10 */ lbz r3, 0x10(r1) +/* 80352C60 0034FBC0 38 00 00 00 */ li r0, 0 +/* 80352C64 0034FBC4 98 7F 00 28 */ stb r3, 0x28(r31) +/* 80352C68 0034FBC8 80 61 00 14 */ lwz r3, 0x14(r1) +/* 80352C6C 0034FBCC 90 7F 00 2C */ stw r3, 0x2c(r31) +/* 80352C70 0034FBD0 98 01 00 10 */ stb r0, 0x10(r1) +lbl_80352C74: +/* 80352C74 0034FBD4 88 01 00 10 */ lbz r0, 0x10(r1) +/* 80352C78 0034FBD8 28 00 00 00 */ cmplwi r0, 0 +/* 80352C7C 0034FBDC 41 82 00 0C */ beq lbl_80352C88 +/* 80352C80 0034FBE0 80 61 00 14 */ lwz r3, 0x14(r1) +/* 80352C84 0034FBE4 4B FC 2C AD */ bl Free__7CMemoryFPCv +lbl_80352C88: +/* 80352C88 0034FBE8 38 61 00 08 */ addi r3, r1, 8 +/* 80352C8C 0034FBEC 38 1F 00 30 */ addi r0, r31, 0x30 +/* 80352C90 0034FBF0 38 80 00 00 */ li r4, 0 +/* 80352C94 0034FBF4 7C 03 00 40 */ cmplw r3, r0 +/* 80352C98 0034FBF8 98 81 00 08 */ stb r4, 8(r1) +/* 80352C9C 0034FBFC 90 81 00 0C */ stw r4, 0xc(r1) +/* 80352CA0 0034FC00 41 82 00 30 */ beq lbl_80352CD0 +/* 80352CA4 0034FC04 88 1F 00 30 */ lbz r0, 0x30(r31) +/* 80352CA8 0034FC08 28 00 00 00 */ cmplwi r0, 0 +/* 80352CAC 0034FC0C 41 82 00 0C */ beq lbl_80352CB8 +/* 80352CB0 0034FC10 80 7F 00 34 */ lwz r3, 0x34(r31) +/* 80352CB4 0034FC14 4B FC 2C 7D */ bl Free__7CMemoryFPCv +lbl_80352CB8: +/* 80352CB8 0034FC18 88 61 00 08 */ lbz r3, 8(r1) +/* 80352CBC 0034FC1C 38 00 00 00 */ li r0, 0 +/* 80352CC0 0034FC20 98 7F 00 30 */ stb r3, 0x30(r31) +/* 80352CC4 0034FC24 80 61 00 0C */ lwz r3, 0xc(r1) +/* 80352CC8 0034FC28 90 7F 00 34 */ stw r3, 0x34(r31) +/* 80352CCC 0034FC2C 98 01 00 08 */ stb r0, 8(r1) +lbl_80352CD0: +/* 80352CD0 0034FC30 88 01 00 08 */ lbz r0, 8(r1) +/* 80352CD4 0034FC34 28 00 00 00 */ cmplwi r0, 0 +/* 80352CD8 0034FC38 41 82 00 0C */ beq lbl_80352CE4 +/* 80352CDC 0034FC3C 80 61 00 0C */ lwz r3, 0xc(r1) +/* 80352CE0 0034FC40 4B FC 2C 51 */ bl Free__7CMemoryFPCv +lbl_80352CE4: +/* 80352CE4 0034FC44 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80352CE8 0034FC48 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80352CEC 0034FC4C 7C 08 03 A6 */ mtlr r0 +/* 80352CF0 0034FC50 38 21 00 20 */ addi r1, r1, 0x20 +/* 80352CF4 0034FC54 4E 80 00 20 */ blr + +.global "Calculate__13CSkinnedModelFRC17CPoseAsTransformsRCQ24rstl37optional_object<18CVertexMorphEffect>PCfPf" +"Calculate__13CSkinnedModelFRC17CPoseAsTransformsRCQ24rstl37optional_object<18CVertexMorphEffect>PCfPf": +/* 80352CF8 0034FC58 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80352CFC 0034FC5C 7C 08 02 A6 */ mflr r0 +/* 80352D00 0034FC60 28 07 00 00 */ cmplwi r7, 0 +/* 80352D04 0034FC64 90 01 00 34 */ stw r0, 0x34(r1) +/* 80352D08 0034FC68 BE E1 00 0C */ stmw r23, 0xc(r1) +/* 80352D0C 0034FC6C 7C BB 2B 78 */ mr r27, r5 +/* 80352D10 0034FC70 7C 79 1B 78 */ mr r25, r3 +/* 80352D14 0034FC74 7C 9A 23 78 */ mr r26, r4 +/* 80352D18 0034FC78 7C DC 33 78 */ mr r28, r6 +/* 80352D1C 0034FC7C 81 03 00 18 */ lwz r8, 0x18(r3) +/* 80352D20 0034FC80 80 A8 00 10 */ lwz r5, 0x10(r8) +/* 80352D24 0034FC84 80 08 00 14 */ lwz r0, 0x14(r8) +/* 80352D28 0034FC88 1F C5 00 0C */ mulli r30, r5, 0xc +/* 80352D2C 0034FC8C 1F E0 00 0C */ mulli r31, r0, 0xc +/* 80352D30 0034FC90 41 82 00 0C */ beq lbl_80352D3C +/* 80352D34 0034FC94 7C FD 3B 78 */ mr r29, r7 +/* 80352D38 0034FC98 48 00 00 28 */ b lbl_80352D60 +lbl_80352D3C: +/* 80352D3C 0034FC9C 88 19 00 39 */ lbz r0, 0x39(r25) +/* 80352D40 0034FCA0 28 00 00 00 */ cmplwi r0, 0 +/* 80352D44 0034FCA4 41 82 00 14 */ beq lbl_80352D58 +/* 80352D48 0034FCA8 80 B9 00 24 */ lwz r5, 0x24(r25) +/* 80352D4C 0034FCAC 7D 03 43 78 */ mr r3, r8 +/* 80352D50 0034FCB0 48 00 12 FD */ bl BuildAccumulatedTransforms__10CSkinRulesCFRC17CPoseAsTransformsRC15CCharLayoutInfo +/* 80352D54 0034FCB4 48 00 01 80 */ b lbl_80352ED4 +lbl_80352D58: +/* 80352D58 0034FCB8 4B FF FB 15 */ bl AllocateStorage__13CSkinnedModelFv +/* 80352D5C 0034FCBC 83 B9 00 2C */ lwz r29, 0x2c(r25) +lbl_80352D60: +/* 80352D60 0034FCC0 38 7E 00 1F */ addi r3, r30, 0x1f +/* 80352D64 0034FCC4 38 1F 00 1F */ addi r0, r31, 0x1f +/* 80352D68 0034FCC8 54 7F 00 34 */ rlwinm r31, r3, 0, 0, 0x1a +/* 80352D6C 0034FCCC 7F A3 EB 78 */ mr r3, r29 +/* 80352D70 0034FCD0 54 00 00 34 */ rlwinm r0, r0, 0, 0, 0x1a +/* 80352D74 0034FCD4 7F DF 02 14 */ add r30, r31, r0 +/* 80352D78 0034FCD8 7F C4 F3 78 */ mr r4, r30 +/* 80352D7C 0034FCDC 48 02 BD 35 */ bl DCFlushRange +/* 80352D80 0034FCE0 48 02 E8 E1 */ bl OSDisableInterrupts +/* 80352D84 0034FCE4 7C 60 1B 78 */ mr r0, r3 +/* 80352D88 0034FCE8 7F A3 EB 78 */ mr r3, r29 +/* 80352D8C 0034FCEC 7C 18 03 78 */ mr r24, r0 +/* 80352D90 0034FCF0 48 02 3D A5 */ bl GXRedirectWriteGatherPipe +/* 80352D94 0034FCF4 7C 60 1B 78 */ mr r0, r3 +/* 80352D98 0034FCF8 80 79 00 18 */ lwz r3, 0x18(r25) +/* 80352D9C 0034FCFC 80 99 00 0C */ lwz r4, 0xc(r25) +/* 80352DA0 0034FD00 7C 17 03 78 */ mr r23, r0 +/* 80352DA4 0034FD04 48 00 0E 71 */ bl InitLockedCacheState__10CSkinRulesFRC10CSkinRules +/* 80352DA8 0034FD08 80 79 00 18 */ lwz r3, 0x18(r25) +/* 80352DAC 0034FD0C 7F 44 D3 78 */ mr r4, r26 +/* 80352DB0 0034FD10 80 B9 00 24 */ lwz r5, 0x24(r25) +/* 80352DB4 0034FD14 48 00 12 99 */ bl BuildAccumulatedTransforms__10CSkinRulesCFRC17CPoseAsTransformsRC15CCharLayoutInfo +/* 80352DB8 0034FD18 80 79 00 18 */ lwz r3, 0x18(r25) +/* 80352DBC 0034FD1C 7E E4 BB 78 */ mr r4, r23 +/* 80352DC0 0034FD20 48 00 11 F1 */ bl BuildPoints__10CSkinRulesCFPVv +/* 80352DC4 0034FD24 80 79 00 18 */ lwz r3, 0x18(r25) +/* 80352DC8 0034FD28 38 C0 00 00 */ li r6, 0 +/* 80352DCC 0034FD2C 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80352DD0 0034FD30 1C 60 00 03 */ mulli r3, r0, 3 +/* 80352DD4 0034FD34 38 03 00 07 */ addi r0, r3, 7 +/* 80352DD8 0034FD38 54 00 00 38 */ rlwinm r0, r0, 0, 0, 0x1c +/* 80352DDC 0034FD3C 7C A3 00 51 */ subf. r5, r3, r0 +/* 80352DE0 0034FD40 40 81 00 6C */ ble lbl_80352E4C +/* 80352DE4 0034FD44 2C 05 00 08 */ cmpwi r5, 8 +/* 80352DE8 0034FD48 38 85 FF F8 */ addi r4, r5, -8 +/* 80352DEC 0034FD4C 40 81 00 44 */ ble lbl_80352E30 +/* 80352DF0 0034FD50 38 04 00 07 */ addi r0, r4, 7 +/* 80352DF4 0034FD54 38 60 00 00 */ li r3, 0 +/* 80352DF8 0034FD58 54 00 E8 FE */ srwi r0, r0, 3 +/* 80352DFC 0034FD5C 7C 09 03 A6 */ mtctr r0 +/* 80352E00 0034FD60 2C 04 00 00 */ cmpwi r4, 0 +/* 80352E04 0034FD64 40 81 00 2C */ ble lbl_80352E30 +lbl_80352E08: +/* 80352E08 0034FD68 90 77 00 00 */ stw r3, 0(r23) +/* 80352E0C 0034FD6C 38 C6 00 08 */ addi r6, r6, 8 +/* 80352E10 0034FD70 90 77 00 00 */ stw r3, 0(r23) +/* 80352E14 0034FD74 90 77 00 00 */ stw r3, 0(r23) +/* 80352E18 0034FD78 90 77 00 00 */ stw r3, 0(r23) +/* 80352E1C 0034FD7C 90 77 00 00 */ stw r3, 0(r23) +/* 80352E20 0034FD80 90 77 00 00 */ stw r3, 0(r23) +/* 80352E24 0034FD84 90 77 00 00 */ stw r3, 0(r23) +/* 80352E28 0034FD88 90 77 00 00 */ stw r3, 0(r23) +/* 80352E2C 0034FD8C 42 00 FF DC */ bdnz lbl_80352E08 +lbl_80352E30: +/* 80352E30 0034FD90 7C 06 28 50 */ subf r0, r6, r5 +/* 80352E34 0034FD94 38 60 00 00 */ li r3, 0 +/* 80352E38 0034FD98 7C 09 03 A6 */ mtctr r0 +/* 80352E3C 0034FD9C 7C 06 28 00 */ cmpw r6, r5 +/* 80352E40 0034FDA0 40 80 00 0C */ bge lbl_80352E4C +lbl_80352E44: +/* 80352E44 0034FDA4 90 77 00 00 */ stw r3, 0(r23) +/* 80352E48 0034FDA8 42 00 FF FC */ bdnz lbl_80352E44 +lbl_80352E4C: +/* 80352E4C 0034FDAC 80 79 00 18 */ lwz r3, 0x18(r25) +/* 80352E50 0034FDB0 7E E4 BB 78 */ mr r4, r23 +/* 80352E54 0034FDB4 48 00 10 C1 */ bl BuildNormals__10CSkinRulesCFPVv +/* 80352E58 0034FDB8 48 02 3D D1 */ bl GXRestoreWriteGatherPipe +/* 80352E5C 0034FDBC 7F 03 C3 78 */ mr r3, r24 +/* 80352E60 0034FDC0 48 02 E8 29 */ bl OSRestoreInterrupts +/* 80352E64 0034FDC4 88 1B 00 48 */ lbz r0, 0x48(r27) +/* 80352E68 0034FDC8 28 00 00 00 */ cmplwi r0, 0 +/* 80352E6C 0034FDCC 41 82 00 30 */ beq lbl_80352E9C +/* 80352E70 0034FDD0 80 D9 00 18 */ lwz r6, 0x18(r25) +/* 80352E74 0034FDD4 7F 63 DB 78 */ mr r3, r27 +/* 80352E78 0034FDD8 7F A4 EB 78 */ mr r4, r29 +/* 80352E7C 0034FDDC 7F 85 E3 78 */ mr r5, r28 +/* 80352E80 0034FDE0 81 06 00 10 */ lwz r8, 0x10(r6) +/* 80352E84 0034FDE4 7F 47 D3 78 */ mr r7, r26 +/* 80352E88 0034FDE8 38 D9 00 10 */ addi r6, r25, 0x10 +/* 80352E8C 0034FDEC 48 00 47 0D */ bl "MorphVertices__18CVertexMorphEffectCFP9CVector3fPC9CVector3fRC26TLockedToken<10CSkinRules>RC17CPoseAsTransformsUi" +/* 80352E90 0034FDF0 7F A3 EB 78 */ mr r3, r29 +/* 80352E94 0034FDF4 7F E4 FB 78 */ mr r4, r31 +/* 80352E98 0034FDF8 48 02 BC 19 */ bl DCFlushRange +lbl_80352E9C: +/* 80352E9C 0034FDFC 81 8D AA 30 */ lwz r12, lbl_805A95F0@sda21(r13) +/* 80352EA0 0034FE00 28 0C 00 00 */ cmplwi r12, 0 +/* 80352EA4 0034FE04 41 82 00 30 */ beq lbl_80352ED4 +/* 80352EA8 0034FE08 80 B9 00 18 */ lwz r5, 0x18(r25) +/* 80352EAC 0034FE0C 7F A4 EB 78 */ mr r4, r29 +/* 80352EB0 0034FE10 80 6D AA 34 */ lwz r3, lbl_805A95F4@sda21(r13) +/* 80352EB4 0034FE14 80 C5 00 10 */ lwz r6, 0x10(r5) +/* 80352EB8 0034FE18 1C 06 00 0C */ mulli r0, r6, 0xc +/* 80352EBC 0034FE1C 7C BD 02 14 */ add r5, r29, r0 +/* 80352EC0 0034FE20 7D 89 03 A6 */ mtctr r12 +/* 80352EC4 0034FE24 4E 80 04 21 */ bctrl +/* 80352EC8 0034FE28 7F A3 EB 78 */ mr r3, r29 +/* 80352ECC 0034FE2C 7F C4 F3 78 */ mr r4, r30 +/* 80352ED0 0034FE30 48 02 BB B5 */ bl DCInvalidateRange +lbl_80352ED4: +/* 80352ED4 0034FE34 BA E1 00 0C */ lmw r23, 0xc(r1) +/* 80352ED8 0034FE38 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80352EDC 0034FE3C 7C 08 03 A6 */ mtlr r0 +/* 80352EE0 0034FE40 38 21 00 30 */ addi r1, r1, 0x30 +/* 80352EE4 0034FE44 4E 80 00 20 */ blr + +.global sub_80352ee8 +sub_80352ee8: +/* 80352EE8 0034FE48 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80352EEC 0034FE4C 7C 08 02 A6 */ mflr r0 +/* 80352EF0 0034FE50 90 01 00 14 */ stw r0, 0x14(r1) +/* 80352EF4 0034FE54 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80352EF8 0034FE58 7C 7F 1B 78 */ mr r31, r3 +/* 80352EFC 0034FE5C 80 63 00 0C */ lwz r3, 0xc(r3) +/* 80352F00 0034FE60 48 00 2B 49 */ bl Draw__6CModelCFPCfPCfRC11CModelFlags +/* 80352F04 0034FE64 7F E3 FB 78 */ mr r3, r31 +/* 80352F08 0034FE68 4B FF F8 59 */ bl sub_80352760 +/* 80352F0C 0034FE6C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80352F10 0034FE70 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80352F14 0034FE74 7C 08 03 A6 */ mtlr r0 +/* 80352F18 0034FE78 38 21 00 10 */ addi r1, r1, 0x10 +/* 80352F1C 0034FE7C 4E 80 00 20 */ blr + +.global DoDrawCallback__13CSkinnedModelF14FCustomDrawCPv +DoDrawCallback__13CSkinnedModelF14FCustomDrawCPv: +/* 80352F20 0034FE80 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 80352F24 0034FE84 7C 08 02 A6 */ mflr r0 +/* 80352F28 0034FE88 90 01 00 84 */ stw r0, 0x84(r1) +/* 80352F2C 0034FE8C 93 E1 00 7C */ stw r31, 0x7c(r1) +/* 80352F30 0034FE90 7C 7F 1B 78 */ mr r31, r3 +/* 80352F34 0034FE94 93 C1 00 78 */ stw r30, 0x78(r1) +/* 80352F38 0034FE98 93 A1 00 74 */ stw r29, 0x74(r1) +/* 80352F3C 0034FE9C 7C BD 2B 78 */ mr r29, r5 +/* 80352F40 0034FEA0 93 81 00 70 */ stw r28, 0x70(r1) +/* 80352F44 0034FEA4 7C 9C 23 78 */ mr r28, r4 +/* 80352F48 0034FEA8 88 03 00 39 */ lbz r0, 0x39(r3) +/* 80352F4C 0034FEAC 28 00 00 00 */ cmplwi r0, 0 +/* 80352F50 0034FEB0 41 82 00 68 */ beq lbl_80352FB8 +/* 80352F54 0034FEB4 3C 80 80 5A */ lis r4, lbl_805A6204@ha +/* 80352F58 0034FEB8 38 61 00 38 */ addi r3, r1, 0x38 +/* 80352F5C 0034FEBC 38 84 62 04 */ addi r4, r4, lbl_805A6204@l +/* 80352F60 0034FEC0 4B FB FC 15 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80352F64 0034FEC4 80 BF 00 18 */ lwz r5, 0x18(r31) +/* 80352F68 0034FEC8 38 61 00 08 */ addi r3, r1, 8 +/* 80352F6C 0034FECC 38 81 00 38 */ addi r4, r1, 0x38 +/* 80352F70 0034FED0 80 A5 00 0C */ lwz r5, 0xc(r5) +/* 80352F74 0034FED4 38 A5 00 20 */ addi r5, r5, 0x20 +/* 80352F78 0034FED8 4B FB F9 D9 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80352F7C 0034FEDC 38 61 00 08 */ addi r3, r1, 8 +/* 80352F80 0034FEE0 4B FB 96 61 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 80352F84 0034FEE4 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 80352F88 0034FEE8 48 00 27 3D */ bl GetNormals__6CModelCFv +/* 80352F8C 0034FEEC 7C 7E 1B 78 */ mr r30, r3 +/* 80352F90 0034FEF0 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 80352F94 0034FEF4 48 00 27 3D */ bl GetPositions__6CModelCFv +/* 80352F98 0034FEF8 7F 8C E3 78 */ mr r12, r28 +/* 80352F9C 0034FEFC 7F C4 F3 78 */ mr r4, r30 +/* 80352FA0 0034FF00 7F A5 EB 78 */ mr r5, r29 +/* 80352FA4 0034FF04 7D 89 03 A6 */ mtctr r12 +/* 80352FA8 0034FF08 4E 80 04 21 */ bctrl +/* 80352FAC 0034FF0C 38 61 00 38 */ addi r3, r1, 0x38 +/* 80352FB0 0034FF10 4B FB 96 31 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 80352FB4 0034FF14 48 00 00 90 */ b lbl_80353044 +lbl_80352FB8: +/* 80352FB8 0034FF18 80 7F 00 2C */ lwz r3, 0x2c(r31) +/* 80352FBC 0034FF1C 28 03 00 00 */ cmplwi r3, 0 +/* 80352FC0 0034FF20 40 82 00 30 */ bne lbl_80352FF0 +/* 80352FC4 0034FF24 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 80352FC8 0034FF28 48 00 26 FD */ bl GetNormals__6CModelCFv +/* 80352FCC 0034FF2C 7C 7E 1B 78 */ mr r30, r3 +/* 80352FD0 0034FF30 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 80352FD4 0034FF34 48 00 26 FD */ bl GetPositions__6CModelCFv +/* 80352FD8 0034FF38 7F 8C E3 78 */ mr r12, r28 +/* 80352FDC 0034FF3C 7F C4 F3 78 */ mr r4, r30 +/* 80352FE0 0034FF40 7F A5 EB 78 */ mr r5, r29 +/* 80352FE4 0034FF44 7D 89 03 A6 */ mtctr r12 +/* 80352FE8 0034FF48 4E 80 04 21 */ bctrl +/* 80352FEC 0034FF4C 48 00 00 58 */ b lbl_80353044 +lbl_80352FF0: +/* 80352FF0 0034FF50 7F 8C E3 78 */ mr r12, r28 +/* 80352FF4 0034FF54 80 9F 00 34 */ lwz r4, 0x34(r31) +/* 80352FF8 0034FF58 7D 89 03 A6 */ mtctr r12 +/* 80352FFC 0034FF5C 4E 80 04 21 */ bctrl +/* 80353000 0034FF60 80 9F 00 18 */ lwz r4, 0x18(r31) +/* 80353004 0034FF64 80 7F 00 2C */ lwz r3, 0x2c(r31) +/* 80353008 0034FF68 80 04 00 10 */ lwz r0, 0x10(r4) +/* 8035300C 0034FF6C 1C 80 00 0C */ mulli r4, r0, 0xc +/* 80353010 0034FF70 38 04 00 1F */ addi r0, r4, 0x1f +/* 80353014 0034FF74 54 04 00 34 */ rlwinm r4, r0, 0, 0, 0x1a +/* 80353018 0034FF78 48 02 BA F9 */ bl DCFlushRangeNoSync +/* 8035301C 0034FF7C 80 9F 00 18 */ lwz r4, 0x18(r31) +/* 80353020 0034FF80 80 7F 00 34 */ lwz r3, 0x34(r31) +/* 80353024 0034FF84 80 04 00 14 */ lwz r0, 0x14(r4) +/* 80353028 0034FF88 1C 80 00 0C */ mulli r4, r0, 0xc +/* 8035302C 0034FF8C 38 04 00 1F */ addi r0, r4, 0x1f +/* 80353030 0034FF90 54 04 00 34 */ rlwinm r4, r0, 0, 0, 0x1a +/* 80353034 0034FF94 48 02 BA DD */ bl DCFlushRangeNoSync +/* 80353038 0034FF98 48 01 C7 D5 */ bl PPCSync +/* 8035303C 0034FF9C 7F E3 FB 78 */ mr r3, r31 +/* 80353040 0034FFA0 4B FF F7 21 */ bl sub_80352760 +lbl_80353044: +/* 80353044 0034FFA4 80 01 00 84 */ lwz r0, 0x84(r1) +/* 80353048 0034FFA8 83 E1 00 7C */ lwz r31, 0x7c(r1) +/* 8035304C 0034FFAC 83 C1 00 78 */ lwz r30, 0x78(r1) +/* 80353050 0034FFB0 83 A1 00 74 */ lwz r29, 0x74(r1) +/* 80353054 0034FFB4 83 81 00 70 */ lwz r28, 0x70(r1) +/* 80353058 0034FFB8 7C 08 03 A6 */ mtlr r0 +/* 8035305C 0034FFBC 38 21 00 80 */ addi r1, r1, 0x80 +/* 80353060 0034FFC0 4E 80 00 20 */ blr + +.global sub_80353064 +sub_80353064: +/* 80353064 0034FFC4 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 80353068 0034FFC8 7C 08 02 A6 */ mflr r0 +/* 8035306C 0034FFCC 90 01 00 74 */ stw r0, 0x74(r1) +/* 80353070 0034FFD0 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 80353074 0034FFD4 7C 9F 23 78 */ mr r31, r4 +/* 80353078 0034FFD8 93 C1 00 68 */ stw r30, 0x68(r1) +/* 8035307C 0034FFDC 7C 7E 1B 78 */ mr r30, r3 +/* 80353080 0034FFE0 88 03 00 39 */ lbz r0, 0x39(r3) +/* 80353084 0034FFE4 28 00 00 00 */ cmplwi r0, 0 +/* 80353088 0034FFE8 41 82 00 4C */ beq lbl_803530D4 +/* 8035308C 0034FFEC 3C 80 80 5A */ lis r4, lbl_805A6204@ha +/* 80353090 0034FFF0 38 61 00 38 */ addi r3, r1, 0x38 +/* 80353094 0034FFF4 38 84 62 04 */ addi r4, r4, lbl_805A6204@l +/* 80353098 0034FFF8 4B FB FA DD */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8035309C 0034FFFC 80 BE 00 18 */ lwz r5, 0x18(r30) +/* 803530A0 00350000 38 61 00 08 */ addi r3, r1, 8 +/* 803530A4 00350004 38 81 00 38 */ addi r4, r1, 0x38 +/* 803530A8 00350008 80 A5 00 0C */ lwz r5, 0xc(r5) +/* 803530AC 0035000C 38 A5 00 20 */ addi r5, r5, 0x20 +/* 803530B0 00350010 4B FB F8 A1 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 803530B4 00350014 38 61 00 08 */ addi r3, r1, 8 +/* 803530B8 00350018 4B FB 95 29 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 803530BC 0035001C 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 803530C0 00350020 7F E4 FB 78 */ mr r4, r31 +/* 803530C4 00350024 48 00 2B 11 */ bl Draw__6CModelCFRC11CModelFlags +/* 803530C8 00350028 38 61 00 38 */ addi r3, r1, 0x38 +/* 803530CC 0035002C 4B FB 95 15 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 803530D0 00350030 48 00 00 38 */ b lbl_80353108 +lbl_803530D4: +/* 803530D4 00350034 80 1E 00 2C */ lwz r0, 0x2c(r30) +/* 803530D8 00350038 28 00 00 00 */ cmplwi r0, 0 +/* 803530DC 0035003C 40 82 00 10 */ bne lbl_803530EC +/* 803530E0 00350040 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 803530E4 00350044 48 00 2A F1 */ bl Draw__6CModelCFRC11CModelFlags +/* 803530E8 00350048 48 00 00 20 */ b lbl_80353108 +lbl_803530EC: +/* 803530EC 0035004C 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 803530F0 00350050 7C 04 03 78 */ mr r4, r0 +/* 803530F4 00350054 80 BE 00 34 */ lwz r5, 0x34(r30) +/* 803530F8 00350058 7F E6 FB 78 */ mr r6, r31 +/* 803530FC 0035005C 48 00 29 4D */ bl Draw__6CModelCFPCfPCfRC11CModelFlags +/* 80353100 00350060 7F C3 F3 78 */ mr r3, r30 +/* 80353104 00350064 4B FF F6 5D */ bl sub_80352760 +lbl_80353108: +/* 80353108 00350068 80 01 00 74 */ lwz r0, 0x74(r1) +/* 8035310C 0035006C 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 80353110 00350070 83 C1 00 68 */ lwz r30, 0x68(r1) +/* 80353114 00350074 7C 08 03 A6 */ mtlr r0 +/* 80353118 00350078 38 21 00 70 */ addi r1, r1, 0x70 +/* 8035311C 0035007C 4E 80 00 20 */ blr + +.global sub_80353120 +sub_80353120: +/* 80353120 00350080 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80353124 00350084 7C 08 02 A6 */ mflr r0 +/* 80353128 00350088 90 01 00 24 */ stw r0, 0x24(r1) +/* 8035312C 0035008C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80353130 00350090 7C 7F 1B 78 */ mr r31, r3 +/* 80353134 00350094 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80353138 00350098 48 00 04 75 */ bl sub_803535ac +/* 8035313C 0035009C 88 1F 00 38 */ lbz r0, 0x38(r31) +/* 80353140 003500A0 28 00 00 00 */ cmplwi r0, 0 +/* 80353144 003500A4 40 82 01 08 */ bne lbl_8035324C +/* 80353148 003500A8 80 DF 00 18 */ lwz r6, 0x18(r31) +/* 8035314C 003500AC 3C 60 80 3E */ lis r3, lbl_803D82F8@ha +/* 80353150 003500B0 38 83 82 F8 */ addi r4, r3, lbl_803D82F8@l +/* 80353154 003500B4 38 A0 00 00 */ li r5, 0 +/* 80353158 003500B8 80 06 00 10 */ lwz r0, 0x10(r6) +/* 8035315C 003500BC 83 C6 00 14 */ lwz r30, 0x14(r6) +/* 80353160 003500C0 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80353164 003500C4 54 03 10 3A */ slwi r3, r0, 2 +/* 80353168 003500C8 4B FC 26 B1 */ bl __nwa__FUlPCcPCc +/* 8035316C 003500CC 7C 03 00 D0 */ neg r0, r3 +/* 80353170 003500D0 38 81 00 10 */ addi r4, r1, 0x10 +/* 80353174 003500D4 7C 05 1B 78 */ or r5, r0, r3 +/* 80353178 003500D8 38 1F 00 28 */ addi r0, r31, 0x28 +/* 8035317C 003500DC 54 A5 0F FE */ srwi r5, r5, 0x1f +/* 80353180 003500E0 90 61 00 14 */ stw r3, 0x14(r1) +/* 80353184 003500E4 7C 04 00 40 */ cmplw r4, r0 +/* 80353188 003500E8 98 A1 00 10 */ stb r5, 0x10(r1) +/* 8035318C 003500EC 41 82 00 30 */ beq lbl_803531BC +/* 80353190 003500F0 88 1F 00 28 */ lbz r0, 0x28(r31) +/* 80353194 003500F4 28 00 00 00 */ cmplwi r0, 0 +/* 80353198 003500F8 41 82 00 0C */ beq lbl_803531A4 +/* 8035319C 003500FC 80 7F 00 2C */ lwz r3, 0x2c(r31) +/* 803531A0 00350100 4B FC 27 91 */ bl Free__7CMemoryFPCv +lbl_803531A4: +/* 803531A4 00350104 88 61 00 10 */ lbz r3, 0x10(r1) +/* 803531A8 00350108 38 00 00 00 */ li r0, 0 +/* 803531AC 0035010C 98 7F 00 28 */ stb r3, 0x28(r31) +/* 803531B0 00350110 80 61 00 14 */ lwz r3, 0x14(r1) +/* 803531B4 00350114 90 7F 00 2C */ stw r3, 0x2c(r31) +/* 803531B8 00350118 98 01 00 10 */ stb r0, 0x10(r1) +lbl_803531BC: +/* 803531BC 0035011C 88 01 00 10 */ lbz r0, 0x10(r1) +/* 803531C0 00350120 28 00 00 00 */ cmplwi r0, 0 +/* 803531C4 00350124 41 82 00 0C */ beq lbl_803531D0 +/* 803531C8 00350128 80 61 00 14 */ lwz r3, 0x14(r1) +/* 803531CC 0035012C 4B FC 27 65 */ bl Free__7CMemoryFPCv +lbl_803531D0: +/* 803531D0 00350130 1C 1E 00 0C */ mulli r0, r30, 0xc +/* 803531D4 00350134 3C 60 80 3E */ lis r3, lbl_803D82F8@ha +/* 803531D8 00350138 38 A0 00 00 */ li r5, 0 +/* 803531DC 0035013C 38 83 82 F8 */ addi r4, r3, lbl_803D82F8@l +/* 803531E0 00350140 54 03 10 3A */ slwi r3, r0, 2 +/* 803531E4 00350144 4B FC 26 35 */ bl __nwa__FUlPCcPCc +/* 803531E8 00350148 7C 03 00 D0 */ neg r0, r3 +/* 803531EC 0035014C 38 81 00 08 */ addi r4, r1, 8 +/* 803531F0 00350150 7C 05 1B 78 */ or r5, r0, r3 +/* 803531F4 00350154 38 1F 00 30 */ addi r0, r31, 0x30 +/* 803531F8 00350158 54 A5 0F FE */ srwi r5, r5, 0x1f +/* 803531FC 0035015C 90 61 00 0C */ stw r3, 0xc(r1) +/* 80353200 00350160 7C 04 00 40 */ cmplw r4, r0 +/* 80353204 00350164 98 A1 00 08 */ stb r5, 8(r1) +/* 80353208 00350168 41 82 00 30 */ beq lbl_80353238 +/* 8035320C 0035016C 88 1F 00 30 */ lbz r0, 0x30(r31) +/* 80353210 00350170 28 00 00 00 */ cmplwi r0, 0 +/* 80353214 00350174 41 82 00 0C */ beq lbl_80353220 +/* 80353218 00350178 80 7F 00 34 */ lwz r3, 0x34(r31) +/* 8035321C 0035017C 4B FC 27 15 */ bl Free__7CMemoryFPCv +lbl_80353220: +/* 80353220 00350180 88 61 00 08 */ lbz r3, 8(r1) +/* 80353224 00350184 38 00 00 00 */ li r0, 0 +/* 80353228 00350188 98 7F 00 30 */ stb r3, 0x30(r31) +/* 8035322C 0035018C 80 61 00 0C */ lwz r3, 0xc(r1) +/* 80353230 00350190 90 7F 00 34 */ stw r3, 0x34(r31) +/* 80353234 00350194 98 01 00 08 */ stb r0, 8(r1) +lbl_80353238: +/* 80353238 00350198 88 01 00 08 */ lbz r0, 8(r1) +/* 8035323C 0035019C 28 00 00 00 */ cmplwi r0, 0 +/* 80353240 003501A0 41 82 00 0C */ beq lbl_8035324C +/* 80353244 003501A4 80 61 00 0C */ lwz r3, 0xc(r1) +/* 80353248 003501A8 4B FC 26 E9 */ bl Free__7CMemoryFPCv +lbl_8035324C: +/* 8035324C 003501AC 80 7F 00 18 */ lwz r3, 0x18(r31) +/* 80353250 003501B0 80 03 00 04 */ lwz r0, 4(r3) +/* 80353254 003501B4 2C 00 00 01 */ cmpwi r0, 1 +/* 80353258 003501B8 40 82 00 0C */ bne lbl_80353264 +/* 8035325C 003501BC 38 00 00 01 */ li r0, 1 +/* 80353260 003501C0 98 1F 00 39 */ stb r0, 0x39(r31) +lbl_80353264: +/* 80353264 003501C4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80353268 003501C8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8035326C 003501CC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80353270 003501D0 7C 08 03 A6 */ mtlr r0 +/* 80353274 003501D4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80353278 003501D8 4E 80 00 20 */ blr + +.global __dt__13CSkinnedModelFv +__dt__13CSkinnedModelFv: +/* 8035327C 003501DC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80353280 003501E0 7C 08 02 A6 */ mflr r0 +/* 80353284 003501E4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80353288 003501E8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8035328C 003501EC 7C 9F 23 78 */ mr r31, r4 +/* 80353290 003501F0 93 C1 00 08 */ stw r30, 8(r1) +/* 80353294 003501F4 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80353298 003501F8 41 82 00 B0 */ beq lbl_80353348 +/* 8035329C 003501FC 3C 60 80 3F */ lis r3, lbl_803EF718@ha +/* 803532A0 00350200 38 03 F7 18 */ addi r0, r3, lbl_803EF718@l +/* 803532A4 00350204 90 1E 00 00 */ stw r0, 0(r30) +/* 803532A8 00350208 48 00 02 65 */ bl sub_8035350c +/* 803532AC 0035020C 34 1E 00 30 */ addic. r0, r30, 0x30 +/* 803532B0 00350210 41 82 00 18 */ beq lbl_803532C8 +/* 803532B4 00350214 88 1E 00 30 */ lbz r0, 0x30(r30) +/* 803532B8 00350218 28 00 00 00 */ cmplwi r0, 0 +/* 803532BC 0035021C 41 82 00 0C */ beq lbl_803532C8 +/* 803532C0 00350220 80 7E 00 34 */ lwz r3, 0x34(r30) +/* 803532C4 00350224 4B FC 26 6D */ bl Free__7CMemoryFPCv +lbl_803532C8: +/* 803532C8 00350228 34 1E 00 28 */ addic. r0, r30, 0x28 +/* 803532CC 0035022C 41 82 00 18 */ beq lbl_803532E4 +/* 803532D0 00350230 88 1E 00 28 */ lbz r0, 0x28(r30) +/* 803532D4 00350234 28 00 00 00 */ cmplwi r0, 0 +/* 803532D8 00350238 41 82 00 0C */ beq lbl_803532E4 +/* 803532DC 0035023C 80 7E 00 2C */ lwz r3, 0x2c(r30) +/* 803532E0 00350240 4B FC 26 51 */ bl Free__7CMemoryFPCv +lbl_803532E4: +/* 803532E4 00350244 34 1E 00 1C */ addic. r0, r30, 0x1c +/* 803532E8 00350248 41 82 00 18 */ beq lbl_80353300 +/* 803532EC 0035024C 34 1E 00 1C */ addic. r0, r30, 0x1c +/* 803532F0 00350250 41 82 00 10 */ beq lbl_80353300 +/* 803532F4 00350254 38 7E 00 1C */ addi r3, r30, 0x1c +/* 803532F8 00350258 38 80 00 00 */ li r4, 0 +/* 803532FC 0035025C 4B FE DB 45 */ bl __dt__6CTokenFv +lbl_80353300: +/* 80353300 00350260 34 1E 00 10 */ addic. r0, r30, 0x10 +/* 80353304 00350264 41 82 00 18 */ beq lbl_8035331C +/* 80353308 00350268 34 1E 00 10 */ addic. r0, r30, 0x10 +/* 8035330C 0035026C 41 82 00 10 */ beq lbl_8035331C +/* 80353310 00350270 38 7E 00 10 */ addi r3, r30, 0x10 +/* 80353314 00350274 38 80 00 00 */ li r4, 0 +/* 80353318 00350278 4B FE DB 29 */ bl __dt__6CTokenFv +lbl_8035331C: +/* 8035331C 0035027C 34 1E 00 04 */ addic. r0, r30, 4 +/* 80353320 00350280 41 82 00 18 */ beq lbl_80353338 +/* 80353324 00350284 34 1E 00 04 */ addic. r0, r30, 4 +/* 80353328 00350288 41 82 00 10 */ beq lbl_80353338 +/* 8035332C 0035028C 38 7E 00 04 */ addi r3, r30, 4 +/* 80353330 00350290 38 80 00 00 */ li r4, 0 +/* 80353334 00350294 4B FE DB 0D */ bl __dt__6CTokenFv +lbl_80353338: +/* 80353338 00350298 7F E0 07 35 */ extsh. r0, r31 +/* 8035333C 0035029C 40 81 00 0C */ ble lbl_80353348 +/* 80353340 003502A0 7F C3 F3 78 */ mr r3, r30 +/* 80353344 003502A4 4B FC 25 ED */ bl Free__7CMemoryFPCv +lbl_80353348: +/* 80353348 003502A8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8035334C 003502AC 7F C3 F3 78 */ mr r3, r30 +/* 80353350 003502B0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80353354 003502B4 83 C1 00 08 */ lwz r30, 8(r1) +/* 80353358 003502B8 7C 08 03 A6 */ mtlr r0 +/* 8035335C 003502BC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80353360 003502C0 4E 80 00 20 */ blr + +.global __ct__13CSkinnedModelFRC13CSkinnedModel +__ct__13CSkinnedModelFRC13CSkinnedModel: +/* 80353364 003502C4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80353368 003502C8 7C 08 02 A6 */ mflr r0 +/* 8035336C 003502CC 3C A0 80 3F */ lis r5, lbl_803EF718@ha +/* 80353370 003502D0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80353374 003502D4 38 05 F7 18 */ addi r0, r5, lbl_803EF718@l +/* 80353378 003502D8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8035337C 003502DC 7C 9F 23 78 */ mr r31, r4 +/* 80353380 003502E0 38 9F 00 04 */ addi r4, r31, 4 +/* 80353384 003502E4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80353388 003502E8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8035338C 003502EC 7C 7D 1B 78 */ mr r29, r3 +/* 80353390 003502F0 3B DD 00 04 */ addi r30, r29, 4 +/* 80353394 003502F4 90 03 00 00 */ stw r0, 0(r3) +/* 80353398 003502F8 7F C3 F3 78 */ mr r3, r30 +/* 8035339C 003502FC 4B FE DB 0D */ bl __ct__6CTokenFRC6CToken +/* 803533A0 00350300 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 803533A4 00350304 7F C3 F3 78 */ mr r3, r30 +/* 803533A8 00350308 90 1E 00 08 */ stw r0, 8(r30) +/* 803533AC 0035030C 4B FE D9 D9 */ bl Lock__6CTokenFv +/* 803533B0 00350310 3B DD 00 10 */ addi r30, r29, 0x10 +/* 803533B4 00350314 38 9F 00 10 */ addi r4, r31, 0x10 +/* 803533B8 00350318 7F C3 F3 78 */ mr r3, r30 +/* 803533BC 0035031C 4B FE DA ED */ bl __ct__6CTokenFRC6CToken +/* 803533C0 00350320 80 1F 00 18 */ lwz r0, 0x18(r31) +/* 803533C4 00350324 7F C3 F3 78 */ mr r3, r30 +/* 803533C8 00350328 90 1E 00 08 */ stw r0, 8(r30) +/* 803533CC 0035032C 4B FE D9 B9 */ bl Lock__6CTokenFv +/* 803533D0 00350330 3B DD 00 1C */ addi r30, r29, 0x1c +/* 803533D4 00350334 38 9F 00 1C */ addi r4, r31, 0x1c +/* 803533D8 00350338 7F C3 F3 78 */ mr r3, r30 +/* 803533DC 0035033C 4B FE DA CD */ bl __ct__6CTokenFRC6CToken +/* 803533E0 00350340 80 1F 00 24 */ lwz r0, 0x24(r31) +/* 803533E4 00350344 7F C3 F3 78 */ mr r3, r30 +/* 803533E8 00350348 90 1E 00 08 */ stw r0, 8(r30) +/* 803533EC 0035034C 4B FE D9 99 */ bl Lock__6CTokenFv +/* 803533F0 00350350 38 80 00 00 */ li r4, 0 +/* 803533F4 00350354 7F A3 EB 78 */ mr r3, r29 +/* 803533F8 00350358 98 9D 00 28 */ stb r4, 0x28(r29) +/* 803533FC 0035035C 90 9D 00 2C */ stw r4, 0x2c(r29) +/* 80353400 00350360 98 9D 00 30 */ stb r4, 0x30(r29) +/* 80353404 00350364 90 9D 00 34 */ stw r4, 0x34(r29) +/* 80353408 00350368 88 1F 00 38 */ lbz r0, 0x38(r31) +/* 8035340C 0035036C 98 1D 00 38 */ stb r0, 0x38(r29) +/* 80353410 00350370 98 9D 00 39 */ stb r4, 0x39(r29) +/* 80353414 00350374 4B FF FD 0D */ bl sub_80353120 +/* 80353418 00350378 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8035341C 0035037C 7F A3 EB 78 */ mr r3, r29 +/* 80353420 00350380 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80353424 00350384 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80353428 00350388 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8035342C 0035038C 7C 08 03 A6 */ mtlr r0 +/* 80353430 00350390 38 21 00 20 */ addi r1, r1, 0x20 +/* 80353434 00350394 4E 80 00 20 */ blr + +.global "__ct__13CSkinnedModelFRC21TLockedToken<6CModel>RC26TLockedToken<10CSkinRules>RC31TLockedToken<15CCharLayoutInfo>Q213CSkinnedModel14EDataOwnership" +"__ct__13CSkinnedModelFRC21TLockedToken<6CModel>RC26TLockedToken<10CSkinRules>RC31TLockedToken<15CCharLayoutInfo>Q213CSkinnedModel14EDataOwnership": +/* 80353438 00350398 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8035343C 0035039C 7C 08 02 A6 */ mflr r0 +/* 80353440 003503A0 3D 00 80 3F */ lis r8, lbl_803EF718@ha +/* 80353444 003503A4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80353448 003503A8 38 08 F7 18 */ addi r0, r8, lbl_803EF718@l +/* 8035344C 003503AC BF 41 00 08 */ stmw r26, 8(r1) +/* 80353450 003503B0 7C 7A 1B 78 */ mr r26, r3 +/* 80353454 003503B4 3B 7A 00 04 */ addi r27, r26, 4 +/* 80353458 003503B8 7C 9C 23 78 */ mr r28, r4 +/* 8035345C 003503BC 7C BD 2B 78 */ mr r29, r5 +/* 80353460 003503C0 7C DE 33 78 */ mr r30, r6 +/* 80353464 003503C4 7C FF 3B 78 */ mr r31, r7 +/* 80353468 003503C8 90 03 00 00 */ stw r0, 0(r3) +/* 8035346C 003503CC 7F 63 DB 78 */ mr r3, r27 +/* 80353470 003503D0 4B FE DA 39 */ bl __ct__6CTokenFRC6CToken +/* 80353474 003503D4 80 1C 00 08 */ lwz r0, 8(r28) +/* 80353478 003503D8 7F 63 DB 78 */ mr r3, r27 +/* 8035347C 003503DC 90 1B 00 08 */ stw r0, 8(r27) +/* 80353480 003503E0 4B FE D9 05 */ bl Lock__6CTokenFv +/* 80353484 003503E4 3B 7A 00 10 */ addi r27, r26, 0x10 +/* 80353488 003503E8 7F A4 EB 78 */ mr r4, r29 +/* 8035348C 003503EC 7F 63 DB 78 */ mr r3, r27 +/* 80353490 003503F0 4B FE DA 19 */ bl __ct__6CTokenFRC6CToken +/* 80353494 003503F4 80 1D 00 08 */ lwz r0, 8(r29) +/* 80353498 003503F8 7F 63 DB 78 */ mr r3, r27 +/* 8035349C 003503FC 90 1B 00 08 */ stw r0, 8(r27) +/* 803534A0 00350400 4B FE D8 E5 */ bl Lock__6CTokenFv +/* 803534A4 00350404 3B 7A 00 1C */ addi r27, r26, 0x1c +/* 803534A8 00350408 7F C4 F3 78 */ mr r4, r30 +/* 803534AC 0035040C 7F 63 DB 78 */ mr r3, r27 +/* 803534B0 00350410 4B FE D9 F9 */ bl __ct__6CTokenFRC6CToken +/* 803534B4 00350414 80 1E 00 08 */ lwz r0, 8(r30) +/* 803534B8 00350418 7F 63 DB 78 */ mr r3, r27 +/* 803534BC 0035041C 90 1B 00 08 */ stw r0, 8(r27) +/* 803534C0 00350420 4B FE D8 C5 */ bl Lock__6CTokenFv +/* 803534C4 00350424 38 80 00 00 */ li r4, 0 +/* 803534C8 00350428 20 1F 00 01 */ subfic r0, r31, 1 +/* 803534CC 0035042C 98 9A 00 28 */ stb r4, 0x28(r26) +/* 803534D0 00350430 7C 00 00 34 */ cntlzw r0, r0 +/* 803534D4 00350434 54 00 D9 7E */ srwi r0, r0, 5 +/* 803534D8 00350438 7F 43 D3 78 */ mr r3, r26 +/* 803534DC 0035043C 90 9A 00 2C */ stw r4, 0x2c(r26) +/* 803534E0 00350440 98 9A 00 30 */ stb r4, 0x30(r26) +/* 803534E4 00350444 90 9A 00 34 */ stw r4, 0x34(r26) +/* 803534E8 00350448 98 1A 00 38 */ stb r0, 0x38(r26) +/* 803534EC 0035044C 98 9A 00 39 */ stb r4, 0x39(r26) +/* 803534F0 00350450 4B FF FC 31 */ bl sub_80353120 +/* 803534F4 00350454 7F 43 D3 78 */ mr r3, r26 +/* 803534F8 00350458 BB 41 00 08 */ lmw r26, 8(r1) +/* 803534FC 0035045C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80353500 00350460 7C 08 03 A6 */ mtlr r0 +/* 80353504 00350464 38 21 00 20 */ addi r1, r1, 0x20 +/* 80353508 00350468 4E 80 00 20 */ blr + +.global sub_8035350c +sub_8035350c: +/* 8035350C 0035046C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80353510 00350470 7C 08 02 A6 */ mflr r0 +/* 80353514 00350474 90 01 00 14 */ stw r0, 0x14(r1) +/* 80353518 00350478 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8035351C 0035047C 93 C1 00 08 */ stw r30, 8(r1) +/* 80353520 00350480 80 6D AA 3C */ lwz r3, lbl_805A95FC@sda21(r13) +/* 80353524 00350484 34 03 FF FF */ addic. r0, r3, -1 +/* 80353528 00350488 90 0D AA 3C */ stw r0, lbl_805A95FC@sda21(r13) +/* 8035352C 0035048C 40 82 00 68 */ bne lbl_80353594 +/* 80353530 00350490 3C 60 80 54 */ lis r3, lbl_8053FFCC@ha +/* 80353534 00350494 3B C3 FF CC */ addi r30, r3, lbl_8053FFCC@l +/* 80353538 00350498 88 1E 00 18 */ lbz r0, 0x18(r30) +/* 8035353C 0035049C 28 00 00 00 */ cmplwi r0, 0 +/* 80353540 003504A0 41 82 00 24 */ beq lbl_80353564 +/* 80353544 003504A4 28 1E 00 00 */ cmplwi r30, 0 +/* 80353548 003504A8 41 82 00 1C */ beq lbl_80353564 +/* 8035354C 003504AC 41 82 00 18 */ beq lbl_80353564 +/* 80353550 003504B0 88 1E 00 00 */ lbz r0, 0(r30) +/* 80353554 003504B4 28 00 00 00 */ cmplwi r0, 0 +/* 80353558 003504B8 41 82 00 0C */ beq lbl_80353564 +/* 8035355C 003504BC 80 7E 00 04 */ lwz r3, 4(r30) +/* 80353560 003504C0 4B FC 23 D1 */ bl Free__7CMemoryFPCv +lbl_80353564: +/* 80353564 003504C4 3C 60 80 54 */ lis r3, lbl_8053FFF4@ha +/* 80353568 003504C8 38 00 00 00 */ li r0, 0 +/* 8035356C 003504CC 3B E3 FF F4 */ addi r31, r3, lbl_8053FFF4@l +/* 80353570 003504D0 98 1E 00 18 */ stb r0, 0x18(r30) +/* 80353574 003504D4 83 DF 00 08 */ lwz r30, 8(r31) +/* 80353578 003504D8 80 9F 00 04 */ lwz r4, 4(r31) +/* 8035357C 003504DC 48 00 00 10 */ b lbl_8035358C +lbl_80353580: +/* 80353580 003504E0 7F E3 FB 78 */ mr r3, r31 +/* 80353584 003504E4 48 00 01 7D */ bl sub_80353700 +/* 80353588 003504E8 7C 64 1B 78 */ mr r4, r3 +lbl_8035358C: +/* 8035358C 003504EC 7C 04 F0 40 */ cmplw r4, r30 +/* 80353590 003504F0 40 82 FF F0 */ bne lbl_80353580 +lbl_80353594: +/* 80353594 003504F4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80353598 003504F8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8035359C 003504FC 83 C1 00 08 */ lwz r30, 8(r1) +/* 803535A0 00350500 7C 08 03 A6 */ mtlr r0 +/* 803535A4 00350504 38 21 00 10 */ addi r1, r1, 0x10 +/* 803535A8 00350508 4E 80 00 20 */ blr + +.global sub_803535ac +sub_803535ac: +/* 803535AC 0035050C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 803535B0 00350510 7C 08 02 A6 */ mflr r0 +/* 803535B4 00350514 90 01 00 34 */ stw r0, 0x34(r1) +/* 803535B8 00350518 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 803535BC 0035051C 88 0D AA 40 */ lbz r0, lbl_805A9600@sda21(r13) +/* 803535C0 00350520 28 00 00 00 */ cmplwi r0, 0 +/* 803535C4 00350524 40 82 00 2C */ bne lbl_803535F0 +/* 803535C8 00350528 3C 60 00 01 */ lis r3, 0x0000FFFF@ha +/* 803535CC 0035052C 38 63 FF FF */ addi r3, r3, 0x0000FFFF@l +/* 803535D0 00350530 48 02 4E 51 */ bl GXSetDrawSync +lbl_803535D4: +/* 803535D4 00350534 48 02 4F 05 */ bl GXReadDrawSync +/* 803535D8 00350538 54 60 04 3E */ clrlwi r0, r3, 0x10 +/* 803535DC 0035053C 28 00 FF FF */ cmplwi r0, 0xffff +/* 803535E0 00350540 40 82 FF F4 */ bne lbl_803535D4 +/* 803535E4 00350544 38 00 00 01 */ li r0, 1 +/* 803535E8 00350548 B0 0D AA 38 */ sth r0, lbl_805A95F8@sda21(r13) +/* 803535EC 0035054C 98 0D AA 40 */ stb r0, lbl_805A9600@sda21(r13) +lbl_803535F0: +/* 803535F0 00350550 80 0D AA 3C */ lwz r0, lbl_805A95FC@sda21(r13) +/* 803535F4 00350554 2C 00 00 00 */ cmpwi r0, 0 +/* 803535F8 00350558 40 82 00 E8 */ bne lbl_803536E0 +/* 803535FC 0035055C 3C 80 80 4C */ lis r4, lbl_804BFFC0@ha +/* 80353600 00350560 38 61 00 08 */ addi r3, r1, 8 +/* 80353604 00350564 38 84 FF C0 */ addi r4, r4, lbl_804BFFC0@l +/* 80353608 00350568 3C A0 00 08 */ lis r5, 8 +/* 8035360C 0035056C 38 C0 00 01 */ li r6, 1 +/* 80353610 00350570 4B FC 21 CD */ bl __ct__15CCircularBufferFPviQ215CCircularBuffer10EOwnership +/* 80353614 00350574 3C 60 80 54 */ lis r3, lbl_8053FFCC@ha +/* 80353618 00350578 3B E3 FF CC */ addi r31, r3, lbl_8053FFCC@l +/* 8035361C 0035057C 88 1F 00 18 */ lbz r0, 0x18(r31) +/* 80353620 00350580 28 00 00 00 */ cmplwi r0, 0 +/* 80353624 00350584 40 82 00 50 */ bne lbl_80353674 +/* 80353628 00350588 28 1F 00 00 */ cmplwi r31, 0 +/* 8035362C 0035058C 41 82 00 3C */ beq lbl_80353668 +/* 80353630 00350590 89 01 00 08 */ lbz r8, 8(r1) +/* 80353634 00350594 38 C0 00 00 */ li r6, 0 +/* 80353638 00350598 80 E1 00 0C */ lwz r7, 0xc(r1) +/* 8035363C 0035059C 80 A1 00 10 */ lwz r5, 0x10(r1) +/* 80353640 003505A0 80 81 00 14 */ lwz r4, 0x14(r1) +/* 80353644 003505A4 80 61 00 18 */ lwz r3, 0x18(r1) +/* 80353648 003505A8 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 8035364C 003505AC 99 1F 00 00 */ stb r8, 0(r31) +/* 80353650 003505B0 90 FF 00 04 */ stw r7, 4(r31) +/* 80353654 003505B4 98 C1 00 08 */ stb r6, 8(r1) +/* 80353658 003505B8 90 BF 00 08 */ stw r5, 8(r31) +/* 8035365C 003505BC 90 9F 00 0C */ stw r4, 0xc(r31) +/* 80353660 003505C0 90 7F 00 10 */ stw r3, 0x10(r31) +/* 80353664 003505C4 90 1F 00 14 */ stw r0, 0x14(r31) +lbl_80353668: +/* 80353668 003505C8 38 00 00 01 */ li r0, 1 +/* 8035366C 003505CC 98 1F 00 18 */ stb r0, 0x18(r31) +/* 80353670 003505D0 48 00 00 5C */ b lbl_803536CC +lbl_80353674: +/* 80353674 003505D4 38 01 00 08 */ addi r0, r1, 8 +/* 80353678 003505D8 7C 00 F8 40 */ cmplw r0, r31 +/* 8035367C 003505DC 41 82 00 30 */ beq lbl_803536AC +/* 80353680 003505E0 88 1F 00 00 */ lbz r0, 0(r31) +/* 80353684 003505E4 28 00 00 00 */ cmplwi r0, 0 +/* 80353688 003505E8 41 82 00 0C */ beq lbl_80353694 +/* 8035368C 003505EC 80 7F 00 04 */ lwz r3, 4(r31) +/* 80353690 003505F0 4B FC 22 A1 */ bl Free__7CMemoryFPCv +lbl_80353694: +/* 80353694 003505F4 88 81 00 08 */ lbz r4, 8(r1) +/* 80353698 003505F8 38 00 00 00 */ li r0, 0 +/* 8035369C 003505FC 80 61 00 0C */ lwz r3, 0xc(r1) +/* 803536A0 00350600 98 9F 00 00 */ stb r4, 0(r31) +/* 803536A4 00350604 90 7F 00 04 */ stw r3, 4(r31) +/* 803536A8 00350608 98 01 00 08 */ stb r0, 8(r1) +lbl_803536AC: +/* 803536AC 0035060C 80 A1 00 10 */ lwz r5, 0x10(r1) +/* 803536B0 00350610 80 81 00 14 */ lwz r4, 0x14(r1) +/* 803536B4 00350614 80 61 00 18 */ lwz r3, 0x18(r1) +/* 803536B8 00350618 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 803536BC 0035061C 90 BF 00 08 */ stw r5, 8(r31) +/* 803536C0 00350620 90 9F 00 0C */ stw r4, 0xc(r31) +/* 803536C4 00350624 90 7F 00 10 */ stw r3, 0x10(r31) +/* 803536C8 00350628 90 1F 00 14 */ stw r0, 0x14(r31) +lbl_803536CC: +/* 803536CC 0035062C 88 01 00 08 */ lbz r0, 8(r1) +/* 803536D0 00350630 28 00 00 00 */ cmplwi r0, 0 +/* 803536D4 00350634 41 82 00 0C */ beq lbl_803536E0 +/* 803536D8 00350638 80 61 00 0C */ lwz r3, 0xc(r1) +/* 803536DC 0035063C 4B FC 22 55 */ bl Free__7CMemoryFPCv +lbl_803536E0: +/* 803536E0 00350640 80 6D AA 3C */ lwz r3, lbl_805A95FC@sda21(r13) +/* 803536E4 00350644 38 03 00 01 */ addi r0, r3, 1 +/* 803536E8 00350648 90 0D AA 3C */ stw r0, lbl_805A95FC@sda21(r13) +/* 803536EC 0035064C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 803536F0 00350650 80 01 00 34 */ lwz r0, 0x34(r1) +/* 803536F4 00350654 7C 08 03 A6 */ mtlr r0 +/* 803536F8 00350658 38 21 00 30 */ addi r1, r1, 0x30 +/* 803536FC 0035065C 4E 80 00 20 */ blr + +.global sub_80353700 +sub_80353700: +/* 80353700 00350660 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80353704 00350664 7C 08 02 A6 */ mflr r0 +/* 80353708 00350668 90 01 00 14 */ stw r0, 0x14(r1) +/* 8035370C 0035066C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80353710 00350670 93 C1 00 08 */ stw r30, 8(r1) +/* 80353714 00350674 7C 7E 1B 78 */ mr r30, r3 +/* 80353718 00350678 80 03 00 04 */ lwz r0, 4(r3) +/* 8035371C 0035067C 83 E4 00 04 */ lwz r31, 4(r4) +/* 80353720 00350680 7C 04 00 40 */ cmplw r4, r0 +/* 80353724 00350684 40 82 00 08 */ bne lbl_8035372C +/* 80353728 00350688 93 FE 00 04 */ stw r31, 4(r30) +lbl_8035372C: +/* 8035372C 0035068C 80 04 00 04 */ lwz r0, 4(r4) +/* 80353730 00350690 28 04 00 00 */ cmplwi r4, 0 +/* 80353734 00350694 80 64 00 00 */ lwz r3, 0(r4) +/* 80353738 00350698 90 03 00 04 */ stw r0, 4(r3) +/* 8035373C 0035069C 80 04 00 00 */ lwz r0, 0(r4) +/* 80353740 003506A0 80 64 00 04 */ lwz r3, 4(r4) +/* 80353744 003506A4 90 03 00 00 */ stw r0, 0(r3) +/* 80353748 003506A8 41 82 00 0C */ beq lbl_80353754 +/* 8035374C 003506AC 7C 83 23 78 */ mr r3, r4 +/* 80353750 003506B0 4B FC 21 E1 */ bl Free__7CMemoryFPCv +lbl_80353754: +/* 80353754 003506B4 80 9E 00 14 */ lwz r4, 0x14(r30) +/* 80353758 003506B8 7F E3 FB 78 */ mr r3, r31 +/* 8035375C 003506BC 38 04 FF FF */ addi r0, r4, -1 +/* 80353760 003506C0 90 1E 00 14 */ stw r0, 0x14(r30) +/* 80353764 003506C4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80353768 003506C8 83 C1 00 08 */ lwz r30, 8(r1) +/* 8035376C 003506CC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80353770 003506D0 7C 08 03 A6 */ mtlr r0 +/* 80353774 003506D4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80353778 003506D8 4E 80 00 20 */ blr + +.global __sinit_DolphinCSkinnedModel_cpp +__sinit_DolphinCSkinnedModel_cpp: +/* 8035377C 003506DC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80353780 003506E0 7C 08 02 A6 */ mflr r0 +/* 80353784 003506E4 3C 80 80 4C */ lis r4, lbl_804BFFC0@ha +/* 80353788 003506E8 3C 60 80 35 */ lis r3, "__dt__Q24rstl34optional_object<15CCircularBuffer>Fv"@ha +/* 8035378C 003506EC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80353790 003506F0 38 84 FF C0 */ addi r4, r4, lbl_804BFFC0@l +/* 80353794 003506F4 38 00 00 00 */ li r0, 0 +/* 80353798 003506F8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8035379C 003506FC 3F E4 00 08 */ addis r31, r4, 8 +/* 803537A0 00350700 38 83 38 74 */ addi r4, r3, "__dt__Q24rstl34optional_object<15CCircularBuffer>Fv"@l +/* 803537A4 00350704 38 7F 00 0C */ addi r3, r31, 0xc +/* 803537A8 00350708 38 BF 00 00 */ addi r5, r31, 0 +/* 803537AC 0035070C 98 03 00 18 */ stb r0, 0x18(r3) +/* 803537B0 00350710 48 03 5E DD */ bl __register_global_object +/* 803537B4 00350714 38 DF 00 34 */ addi r6, r31, 0x34 +/* 803537B8 00350718 3C 80 80 35 */ lis r4, "__dt__Q24rstl53list<18SSkinnedAllocation,Q24rstl17rmemory_allocator>Fv"@ha +/* 803537BC 0035071C 7C C3 33 78 */ mr r3, r6 +/* 803537C0 00350720 38 00 00 00 */ li r0, 0 +/* 803537C4 00350724 38 C6 00 0C */ addi r6, r6, 0xc +/* 803537C8 00350728 90 03 00 14 */ stw r0, 0x14(r3) +/* 803537CC 0035072C 38 84 37 FC */ addi r4, r4, "__dt__Q24rstl53list<18SSkinnedAllocation,Q24rstl17rmemory_allocator>Fv"@l +/* 803537D0 00350730 38 BF 00 28 */ addi r5, r31, 0x28 +/* 803537D4 00350734 90 C3 00 04 */ stw r6, 4(r3) +/* 803537D8 00350738 90 C3 00 08 */ stw r6, 8(r3) +/* 803537DC 0035073C 90 C6 00 00 */ stw r6, 0(r6) +/* 803537E0 00350740 90 C3 00 10 */ stw r6, 0x10(r3) +/* 803537E4 00350744 48 03 5E A9 */ bl __register_global_object +/* 803537E8 00350748 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803537EC 0035074C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803537F0 00350750 7C 08 03 A6 */ mtlr r0 +/* 803537F4 00350754 38 21 00 10 */ addi r1, r1, 0x10 +/* 803537F8 00350758 4E 80 00 20 */ blr + +.global "__dt__Q24rstl53list<18SSkinnedAllocation,Q24rstl17rmemory_allocator>Fv" +"__dt__Q24rstl53list<18SSkinnedAllocation,Q24rstl17rmemory_allocator>Fv": +/* 803537FC 0035075C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80353800 00350760 7C 08 02 A6 */ mflr r0 +/* 80353804 00350764 90 01 00 24 */ stw r0, 0x24(r1) +/* 80353808 00350768 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8035380C 0035076C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80353810 00350770 7C 9E 23 78 */ mr r30, r4 +/* 80353814 00350774 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80353818 00350778 7C 7D 1B 79 */ or. r29, r3, r3 +/* 8035381C 0035077C 41 82 00 38 */ beq lbl_80353854 +/* 80353820 00350780 83 FD 00 04 */ lwz r31, 4(r29) +/* 80353824 00350784 48 00 00 14 */ b lbl_80353838 +lbl_80353828: +/* 80353828 00350788 7F E3 FB 79 */ or. r3, r31, r31 +/* 8035382C 0035078C 83 FF 00 04 */ lwz r31, 4(r31) +/* 80353830 00350790 41 82 00 08 */ beq lbl_80353838 +/* 80353834 00350794 4B FC 20 FD */ bl Free__7CMemoryFPCv +lbl_80353838: +/* 80353838 00350798 80 1D 00 08 */ lwz r0, 8(r29) +/* 8035383C 0035079C 7C 1F 00 40 */ cmplw r31, r0 +/* 80353840 003507A0 40 82 FF E8 */ bne lbl_80353828 +/* 80353844 003507A4 7F C0 07 35 */ extsh. r0, r30 +/* 80353848 003507A8 40 81 00 0C */ ble lbl_80353854 +/* 8035384C 003507AC 7F A3 EB 78 */ mr r3, r29 +/* 80353850 003507B0 4B FC 20 E1 */ bl Free__7CMemoryFPCv +lbl_80353854: +/* 80353854 003507B4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80353858 003507B8 7F A3 EB 78 */ mr r3, r29 +/* 8035385C 003507BC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80353860 003507C0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80353864 003507C4 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80353868 003507C8 7C 08 03 A6 */ mtlr r0 +/* 8035386C 003507CC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80353870 003507D0 4E 80 00 20 */ blr + +.global "__dt__Q24rstl34optional_object<15CCircularBuffer>Fv" +"__dt__Q24rstl34optional_object<15CCircularBuffer>Fv": +/* 80353874 003507D4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80353878 003507D8 7C 08 02 A6 */ mflr r0 +/* 8035387C 003507DC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80353880 003507E0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80353884 003507E4 7C 9F 23 78 */ mr r31, r4 +/* 80353888 003507E8 93 C1 00 08 */ stw r30, 8(r1) +/* 8035388C 003507EC 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80353890 003507F0 41 82 00 48 */ beq lbl_803538D8 +/* 80353894 003507F4 88 1E 00 18 */ lbz r0, 0x18(r30) +/* 80353898 003507F8 28 00 00 00 */ cmplwi r0, 0 +/* 8035389C 003507FC 41 82 00 24 */ beq lbl_803538C0 +/* 803538A0 00350800 28 1E 00 00 */ cmplwi r30, 0 +/* 803538A4 00350804 41 82 00 1C */ beq lbl_803538C0 +/* 803538A8 00350808 41 82 00 18 */ beq lbl_803538C0 +/* 803538AC 0035080C 88 1E 00 00 */ lbz r0, 0(r30) +/* 803538B0 00350810 28 00 00 00 */ cmplwi r0, 0 +/* 803538B4 00350814 41 82 00 0C */ beq lbl_803538C0 +/* 803538B8 00350818 80 7E 00 04 */ lwz r3, 4(r30) +/* 803538BC 0035081C 4B FC 20 75 */ bl Free__7CMemoryFPCv +lbl_803538C0: +/* 803538C0 00350820 38 60 00 00 */ li r3, 0 +/* 803538C4 00350824 7F E0 07 35 */ extsh. r0, r31 +/* 803538C8 00350828 98 7E 00 18 */ stb r3, 0x18(r30) +/* 803538CC 0035082C 40 81 00 0C */ ble lbl_803538D8 +/* 803538D0 00350830 7F C3 F3 78 */ mr r3, r30 +/* 803538D4 00350834 4B FC 20 5D */ bl Free__7CMemoryFPCv +lbl_803538D8: +/* 803538D8 00350838 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803538DC 0035083C 7F C3 F3 78 */ mr r3, r30 +/* 803538E0 00350840 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803538E4 00350844 83 C1 00 08 */ lwz r30, 8(r1) +/* 803538E8 00350848 7C 08 03 A6 */ mtlr r0 +/* 803538EC 0035084C 38 21 00 10 */ addi r1, r1, 0x10 +/* 803538F0 00350850 4E 80 00 20 */ blr diff --git a/asm/Kyoto/Animation/DolphinCVirtualBone.s b/asm/Kyoto/Animation/DolphinCVirtualBone.s new file mode 100644 index 00000000..8745c912 --- /dev/null +++ b/asm/Kyoto/Animation/DolphinCVirtualBone.s @@ -0,0 +1,732 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + + +.global sub_8035470c +sub_8035470c: +/* 8035470C 0035166C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80354710 00351670 7C 08 02 A6 */ mflr r0 +/* 80354714 00351674 90 01 00 24 */ stw r0, 0x24(r1) +/* 80354718 00351678 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8035471C 0035167C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80354720 00351680 7C BE 2B 78 */ mr r30, r5 +/* 80354724 00351684 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80354728 00351688 7C 9D 23 78 */ mr r29, r4 +/* 8035472C 0035168C 83 E3 00 00 */ lwz r31, 0(r3) +/* 80354730 00351690 48 00 00 78 */ b lbl_803547A8 +lbl_80354734: +/* 80354734 00351694 28 1E 00 00 */ cmplwi r30, 0 +/* 80354738 00351698 41 82 00 68 */ beq lbl_803547A0 +/* 8035473C 0035169C 80 1F 00 00 */ lwz r0, 0(r31) +/* 80354740 003516A0 38 9E 00 04 */ addi r4, r30, 4 +/* 80354744 003516A4 38 7F 00 04 */ addi r3, r31, 4 +/* 80354748 003516A8 90 1E 00 00 */ stw r0, 0(r30) +/* 8035474C 003516AC 80 1E 00 00 */ lwz r0, 0(r30) +/* 80354750 003516B0 7C 09 03 A6 */ mtctr r0 +/* 80354754 003516B4 2C 00 00 00 */ cmpwi r0, 0 +/* 80354758 003516B8 40 81 00 28 */ ble lbl_80354780 +lbl_8035475C: +/* 8035475C 003516BC 28 04 00 00 */ cmplwi r4, 0 +/* 80354760 003516C0 41 82 00 14 */ beq lbl_80354774 +/* 80354764 003516C4 88 03 00 00 */ lbz r0, 0(r3) +/* 80354768 003516C8 98 04 00 00 */ stb r0, 0(r4) +/* 8035476C 003516CC C0 03 00 04 */ lfs f0, 4(r3) +/* 80354770 003516D0 D0 04 00 04 */ stfs f0, 4(r4) +lbl_80354774: +/* 80354774 003516D4 38 84 00 08 */ addi r4, r4, 8 +/* 80354778 003516D8 38 63 00 08 */ addi r3, r3, 8 +/* 8035477C 003516DC 42 00 FF E0 */ bdnz lbl_8035475C +lbl_80354780: +/* 80354780 003516E0 80 1F 00 1C */ lwz r0, 0x1c(r31) +/* 80354784 003516E4 38 7E 00 20 */ addi r3, r30, 0x20 +/* 80354788 003516E8 38 9F 00 20 */ addi r4, r31, 0x20 +/* 8035478C 003516EC 90 1E 00 1C */ stw r0, 0x1c(r30) +/* 80354790 003516F0 4B FB E3 E5 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80354794 003516F4 38 7E 00 50 */ addi r3, r30, 0x50 +/* 80354798 003516F8 38 9F 00 50 */ addi r4, r31, 0x50 +/* 8035479C 003516FC 4B FB B8 89 */ bl __ct__9CMatrix3fFRC9CMatrix3f +lbl_803547A0: +/* 803547A0 00351700 3B DE 00 74 */ addi r30, r30, 0x74 +/* 803547A4 00351704 3B FF 00 74 */ addi r31, r31, 0x74 +lbl_803547A8: +/* 803547A8 00351708 80 1D 00 00 */ lwz r0, 0(r29) +/* 803547AC 0035170C 7C 1F 00 40 */ cmplw r31, r0 +/* 803547B0 00351710 40 82 FF 84 */ bne lbl_80354734 +/* 803547B4 00351714 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803547B8 00351718 7F C3 F3 78 */ mr r3, r30 +/* 803547BC 0035171C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803547C0 00351720 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 803547C4 00351724 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 803547C8 00351728 7C 08 03 A6 */ mtlr r0 +/* 803547CC 0035172C 38 21 00 20 */ addi r1, r1, 0x20 +/* 803547D0 00351730 4E 80 00 20 */ blr + +.global PSMTXROMultVecArrayGathered +PSMTXROMultVecArrayGathered: +/* 803547D4 00351734 7D 6B 5A 78 */ xor r11, r11, r11 +/* 803547D8 00351738 39 6B 00 60 */ addi r11, r11, 0x60 +/* 803547DC 0035173C 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 803547E0 00351740 D9 C1 00 08 */ stfd f14, 8(r1) +/* 803547E4 00351744 38 E6 FF FF */ addi r7, r6, -1 +/* 803547E8 00351748 D9 E1 00 10 */ stfd f15, 0x10(r1) +/* 803547EC 0035174C 54 E7 F8 7E */ srwi r7, r7, 1 +/* 803547F0 00351750 DA 01 00 18 */ stfd f16, 0x18(r1) +/* 803547F4 00351754 DA 21 00 20 */ stfd f17, 0x20(r1) +/* 803547F8 00351758 DA 41 00 28 */ stfd f18, 0x28(r1) +/* 803547FC 0035175C 7C E9 03 A6 */ mtctr r7 +/* 80354800 00351760 E0 03 00 00 */ psq_l f0, 0(r3), 0, qr0 +/* 80354804 00351764 38 84 FF F8 */ addi r4, r4, -8 +/* 80354808 00351768 E0 23 80 08 */ psq_l f1, 8(r3), 1, qr0 +/* 8035480C 0035176C E0 C3 00 24 */ psq_l f6, 36(r3), 0, qr0 +/* 80354810 00351770 E5 04 00 08 */ psq_lu f8, 8(r4), 0, qr0 +/* 80354814 00351774 E0 E3 80 2C */ psq_l f7, 44(r3), 1, qr0 +/* 80354818 00351778 E5 24 00 08 */ psq_lu f9, 8(r4), 0, qr0 +/* 8035481C 0035177C 11 60 32 1C */ ps_madds0 f11, f0, f8, f6 +/* 80354820 00351780 E0 43 00 0C */ psq_l f2, 12(r3), 0, qr0 +/* 80354824 00351784 11 81 3A 1C */ ps_madds0 f12, f1, f8, f7 +/* 80354828 00351788 E0 63 80 14 */ psq_l f3, 20(r3), 1, qr0 +/* 8035482C 0035178C 11 A0 32 5E */ ps_madds1 f13, f0, f9, f6 +/* 80354830 00351790 E5 44 00 08 */ psq_lu f10, 8(r4), 0, qr0 +/* 80354834 00351794 11 C1 3A 5E */ ps_madds1 f14, f1, f9, f7 +/* 80354838 00351798 E0 A3 80 20 */ psq_l f5, 32(r3), 1, qr0 +/* 8035483C 0035179C 11 62 5A 1E */ ps_madds1 f11, f2, f8, f11 +/* 80354840 003517A0 11 83 62 1E */ ps_madds1 f12, f3, f8, f12 +/* 80354844 003517A4 E0 83 00 18 */ psq_l f4, 24(r3), 0, qr0 +/* 80354848 003517A8 11 A2 6A 9C */ ps_madds0 f13, f2, f10, f13 +/* 8035484C 003517AC E5 04 00 08 */ psq_lu f8, 8(r4), 0, qr0 +/* 80354850 003517B0 11 C3 72 9C */ ps_madds0 f14, f3, f10, f14 +/* 80354854 003517B4 11 E4 5A 5C */ ps_madds0 f15, f4, f9, f11 +/* 80354858 003517B8 12 05 62 5C */ ps_madds0 f16, f5, f9, f12 +/* 8035485C 003517BC E5 24 00 08 */ psq_lu f9, 8(r4), 0, qr0 +/* 80354860 003517C0 12 24 6A 9E */ ps_madds1 f17, f4, f10, f13 +/* 80354864 003517C4 12 45 72 9E */ ps_madds1 f18, f5, f10, f14 +/* 80354868 003517C8 E5 44 00 08 */ psq_lu f10, 8(r4), 0, qr0 +lbl_8035486C: +/* 8035486C 003517CC 11 60 32 1C */ ps_madds0 f11, f0, f8, f6 +/* 80354870 003517D0 F1 E5 00 00 */ psq_st f15, 0(r5), 0, qr0 +/* 80354874 003517D4 11 81 3A 1C */ ps_madds0 f12, f1, f8, f7 +/* 80354878 003517D8 F2 05 80 00 */ psq_st f16, 0(r5), 1, qr0 +/* 8035487C 003517DC 11 A0 32 5E */ ps_madds1 f13, f0, f9, f6 +/* 80354880 003517E0 F2 25 00 00 */ psq_st f17, 0(r5), 0, qr0 +/* 80354884 003517E4 11 C1 3A 5E */ ps_madds1 f14, f1, f9, f7 +/* 80354888 003517E8 F2 45 80 00 */ psq_st f18, 0(r5), 1, qr0 +/* 8035488C 003517EC 11 62 5A 1E */ ps_madds1 f11, f2, f8, f11 +/* 80354890 003517F0 11 83 62 1E */ ps_madds1 f12, f3, f8, f12 +/* 80354894 003517F4 E5 04 00 08 */ psq_lu f8, 8(r4), 0, qr0 +/* 80354898 003517F8 11 A2 6A 9C */ ps_madds0 f13, f2, f10, f13 +/* 8035489C 003517FC 11 C3 72 9C */ ps_madds0 f14, f3, f10, f14 +/* 803548A0 00351800 11 E4 5A 5C */ ps_madds0 f15, f4, f9, f11 +/* 803548A4 00351804 12 05 62 5C */ ps_madds0 f16, f5, f9, f12 +/* 803548A8 00351808 E5 24 00 08 */ psq_lu f9, 8(r4), 0, qr0 +/* 803548AC 0035180C 12 24 6A 9E */ ps_madds1 f17, f4, f10, f13 +/* 803548B0 00351810 12 45 72 9E */ ps_madds1 f18, f5, f10, f14 +/* 803548B4 00351814 E5 44 00 08 */ psq_lu f10, 8(r4), 0, qr0 +/* 803548B8 00351818 42 00 FF B4 */ bdnz lbl_8035486C +/* 803548BC 0035181C F1 E5 00 00 */ psq_st f15, 0(r5), 0, qr0 +/* 803548C0 00351820 54 C7 07 FF */ clrlwi. r7, r6, 0x1f +/* 803548C4 00351824 F2 05 80 00 */ psq_st f16, 0(r5), 1, qr0 +/* 803548C8 00351828 40 82 00 0C */ bne lbl_803548D4 +/* 803548CC 0035182C F2 25 00 00 */ psq_st f17, 0(r5), 0, qr0 +/* 803548D0 00351830 F2 45 80 00 */ psq_st f18, 0(r5), 1, qr0 +lbl_803548D4: +/* 803548D4 00351834 C9 C1 00 08 */ lfd f14, 8(r1) +/* 803548D8 00351838 C9 E1 00 10 */ lfd f15, 0x10(r1) +/* 803548DC 0035183C CA 01 00 18 */ lfd f16, 0x18(r1) +/* 803548E0 00351840 CA 21 00 20 */ lfd f17, 0x20(r1) +/* 803548E4 00351844 CA 41 00 28 */ lfd f18, 0x28(r1) +/* 803548E8 00351848 38 21 00 40 */ addi r1, r1, 0x40 +/* 803548EC 0035184C 4E 80 00 20 */ blr + +.global sub_803548f0 +sub_803548f0: +/* 803548F0 00351850 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 803548F4 00351854 7C 08 02 A6 */ mflr r0 +/* 803548F8 00351858 90 01 00 34 */ stw r0, 0x34(r1) +/* 803548FC 0035185C BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 80354900 00351860 7C 7B 1B 78 */ mr r27, r3 +/* 80354904 00351864 7C DC 33 78 */ mr r28, r6 +/* 80354908 00351868 7C 9F 23 78 */ mr r31, r4 +/* 8035490C 0035186C 7C BE 2B 78 */ mr r30, r5 +/* 80354910 00351870 3B A0 00 00 */ li r29, 0 +/* 80354914 00351874 48 00 00 38 */ b lbl_8035494C +lbl_80354918: +/* 80354918 00351878 7F E5 FB 78 */ mr r5, r31 +/* 8035491C 0035187C 38 61 00 08 */ addi r3, r1, 8 +/* 80354920 00351880 38 9B 00 50 */ addi r4, r27, 0x50 +/* 80354924 00351884 4B FB B9 71 */ bl __ml__9CMatrix3fCFRC9CVector3f +/* 80354928 00351888 C0 01 00 08 */ lfs f0, 8(r1) +/* 8035492C 0035188C 3B FF 00 0C */ addi r31, r31, 0xc +/* 80354930 00351890 3B BD 00 01 */ addi r29, r29, 1 +/* 80354934 00351894 D0 1E 00 00 */ stfs f0, 0(r30) +/* 80354938 00351898 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 8035493C 0035189C D0 1E 00 04 */ stfs f0, 4(r30) +/* 80354940 003518A0 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 80354944 003518A4 D0 1E 00 08 */ stfs f0, 8(r30) +/* 80354948 003518A8 3B DE 00 0C */ addi r30, r30, 0xc +lbl_8035494C: +/* 8035494C 003518AC 7C 1D E0 00 */ cmpw r29, r28 +/* 80354950 003518B0 41 80 FF C8 */ blt lbl_80354918 +/* 80354954 003518B4 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 80354958 003518B8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8035495C 003518BC 7C 08 03 A6 */ mtlr r0 +/* 80354960 003518C0 38 21 00 30 */ addi r1, r1, 0x30 +/* 80354964 003518C4 4E 80 00 20 */ blr + +.global BuildNormals__12CVirtualBoneCFPCUsPVvi +BuildNormals__12CVirtualBoneCFPCUsPVvi: +/* 80354968 003518C8 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 8035496C 003518CC 7C 08 02 A6 */ mflr r0 +/* 80354970 003518D0 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 80354974 003518D4 BF 61 00 8C */ stmw r27, 0x8c(r1) +/* 80354978 003518D8 7C DD 33 78 */ mr r29, r6 +/* 8035497C 003518DC 2C 1D 00 03 */ cmpwi r29, 3 +/* 80354980 003518E0 7C 7B 1B 78 */ mr r27, r3 +/* 80354984 003518E4 7C 9E 23 78 */ mr r30, r4 +/* 80354988 003518E8 7C BC 2B 78 */ mr r28, r5 +/* 8035498C 003518EC 40 80 00 4C */ bge lbl_803549D8 +/* 80354990 003518F0 7F DF F3 78 */ mr r31, r30 +/* 80354994 003518F4 3B C0 00 00 */ li r30, 0 +/* 80354998 003518F8 48 00 00 34 */ b lbl_803549CC +lbl_8035499C: +/* 8035499C 003518FC 7F E5 FB 78 */ mr r5, r31 +/* 803549A0 00351900 38 61 00 14 */ addi r3, r1, 0x14 +/* 803549A4 00351904 38 9B 00 50 */ addi r4, r27, 0x50 +/* 803549A8 00351908 4B FB B8 ED */ bl __ml__9CMatrix3fCFRC9CVector3f +/* 803549AC 0035190C C0 21 00 18 */ lfs f1, 0x18(r1) +/* 803549B0 00351910 3B FF 00 0C */ addi r31, r31, 0xc +/* 803549B4 00351914 C0 41 00 1C */ lfs f2, 0x1c(r1) +/* 803549B8 00351918 3B DE 00 01 */ addi r30, r30, 1 +/* 803549BC 0035191C C0 01 00 14 */ lfs f0, 0x14(r1) +/* 803549C0 00351920 D0 1C 00 00 */ stfs f0, 0(r28) +/* 803549C4 00351924 D0 3C 00 00 */ stfs f1, 0(r28) +/* 803549C8 00351928 D0 5C 00 00 */ stfs f2, 0(r28) +lbl_803549CC: +/* 803549CC 0035192C 7C 1E E8 00 */ cmpw r30, r29 +/* 803549D0 00351930 41 80 FF CC */ blt lbl_8035499C +/* 803549D4 00351934 48 00 00 48 */ b lbl_80354A1C +lbl_803549D8: +/* 803549D8 00351938 C0 02 CC A0 */ lfs f0, lbl_805AE9C0@sda21(r2) +/* 803549DC 0035193C 38 61 00 50 */ addi r3, r1, 0x50 +/* 803549E0 00351940 38 9B 00 50 */ addi r4, r27, 0x50 +/* 803549E4 00351944 38 A1 00 08 */ addi r5, r1, 8 +/* 803549E8 00351948 D0 01 00 08 */ stfs f0, 8(r1) +/* 803549EC 0035194C D0 01 00 0C */ stfs f0, 0xc(r1) +/* 803549F0 00351950 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 803549F4 00351954 4B FB E8 85 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f +/* 803549F8 00351958 38 61 00 50 */ addi r3, r1, 0x50 +/* 803549FC 0035195C 48 00 04 79 */ bl nullsub_22 +/* 80354A00 00351960 38 81 00 20 */ addi r4, r1, 0x20 +/* 80354A04 00351964 48 02 8C CD */ bl PSMTXReorder +/* 80354A08 00351968 7F C4 F3 78 */ mr r4, r30 +/* 80354A0C 0035196C 7F 85 E3 78 */ mr r5, r28 +/* 80354A10 00351970 7F A6 EB 78 */ mr r6, r29 +/* 80354A14 00351974 38 61 00 20 */ addi r3, r1, 0x20 +/* 80354A18 00351978 4B FF FD BD */ bl PSMTXROMultVecArrayGathered +lbl_80354A1C: +/* 80354A1C 0035197C BB 61 00 8C */ lmw r27, 0x8c(r1) +/* 80354A20 00351980 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 80354A24 00351984 7C 08 03 A6 */ mtlr r0 +/* 80354A28 00351988 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 80354A2C 0035198C 4E 80 00 20 */ blr + +.global BuildPoints__12CVirtualBoneCFPCUsPVvi +BuildPoints__12CVirtualBoneCFPCUsPVvi: +/* 80354A30 00351990 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80354A34 00351994 7C 08 02 A6 */ mflr r0 +/* 80354A38 00351998 90 01 00 64 */ stw r0, 0x64(r1) +/* 80354A3C 0035199C BF 61 00 4C */ stmw r27, 0x4c(r1) +/* 80354A40 003519A0 7C DD 33 78 */ mr r29, r6 +/* 80354A44 003519A4 2C 1D 00 03 */ cmpwi r29, 3 +/* 80354A48 003519A8 7C 7B 1B 78 */ mr r27, r3 +/* 80354A4C 003519AC 7C 9E 23 78 */ mr r30, r4 +/* 80354A50 003519B0 7C BC 2B 78 */ mr r28, r5 +/* 80354A54 003519B4 40 80 00 4C */ bge lbl_80354AA0 +/* 80354A58 003519B8 7F DF F3 78 */ mr r31, r30 +/* 80354A5C 003519BC 3B C0 00 00 */ li r30, 0 +/* 80354A60 003519C0 48 00 00 34 */ b lbl_80354A94 +lbl_80354A64: +/* 80354A64 003519C4 7F E5 FB 78 */ mr r5, r31 +/* 80354A68 003519C8 38 61 00 08 */ addi r3, r1, 8 +/* 80354A6C 003519CC 38 9B 00 20 */ addi r4, r27, 0x20 +/* 80354A70 003519D0 4B FB E0 79 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 80354A74 003519D4 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 80354A78 003519D8 3B FF 00 0C */ addi r31, r31, 0xc +/* 80354A7C 003519DC C0 41 00 10 */ lfs f2, 0x10(r1) +/* 80354A80 003519E0 3B DE 00 01 */ addi r30, r30, 1 +/* 80354A84 003519E4 C0 01 00 08 */ lfs f0, 8(r1) +/* 80354A88 003519E8 D0 1C 00 00 */ stfs f0, 0(r28) +/* 80354A8C 003519EC D0 3C 00 00 */ stfs f1, 0(r28) +/* 80354A90 003519F0 D0 5C 00 00 */ stfs f2, 0(r28) +lbl_80354A94: +/* 80354A94 003519F4 7C 1E E8 00 */ cmpw r30, r29 +/* 80354A98 003519F8 41 80 FF CC */ blt lbl_80354A64 +/* 80354A9C 003519FC 48 00 00 28 */ b lbl_80354AC4 +lbl_80354AA0: +/* 80354AA0 00351A00 38 7B 00 20 */ addi r3, r27, 0x20 +/* 80354AA4 00351A04 48 00 03 D1 */ bl nullsub_22 +/* 80354AA8 00351A08 38 81 00 14 */ addi r4, r1, 0x14 +/* 80354AAC 00351A0C 48 02 8C 25 */ bl PSMTXReorder +/* 80354AB0 00351A10 7F C4 F3 78 */ mr r4, r30 +/* 80354AB4 00351A14 7F 85 E3 78 */ mr r5, r28 +/* 80354AB8 00351A18 7F A6 EB 78 */ mr r6, r29 +/* 80354ABC 00351A1C 38 61 00 14 */ addi r3, r1, 0x14 +/* 80354AC0 00351A20 4B FF FD 15 */ bl PSMTXROMultVecArrayGathered +lbl_80354AC4: +/* 80354AC4 00351A24 BB 61 00 4C */ lmw r27, 0x4c(r1) +/* 80354AC8 00351A28 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80354ACC 00351A2C 7C 08 03 A6 */ mtlr r0 +/* 80354AD0 00351A30 38 21 00 60 */ addi r1, r1, 0x60 +/* 80354AD4 00351A34 4E 80 00 20 */ blr + +.global sub_80354ad8 +sub_80354ad8: +/* 80354AD8 00351A38 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80354ADC 00351A3C 7C 08 02 A6 */ mflr r0 +/* 80354AE0 00351A40 90 01 00 14 */ stw r0, 0x14(r1) +/* 80354AE4 00351A44 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80354AE8 00351A48 7C 9F 23 78 */ mr r31, r4 +/* 80354AEC 00351A4C 93 C1 00 08 */ stw r30, 8(r1) +/* 80354AF0 00351A50 7C 7E 1B 78 */ mr r30, r3 +/* 80354AF4 00351A54 48 00 00 35 */ bl sub_80354b28 +/* 80354AF8 00351A58 7F E3 FB 78 */ mr r3, r31 +/* 80354AFC 00351A5C 38 9E 00 04 */ addi r4, r30, 4 +/* 80354B00 00351A60 48 01 44 9D */ bl GetRotation__17CPoseAsTransformsCFRC6CSegId +/* 80354B04 00351A64 7C 64 1B 78 */ mr r4, r3 +/* 80354B08 00351A68 38 7E 00 50 */ addi r3, r30, 0x50 +/* 80354B0C 00351A6C 4B FB B4 ED */ bl __as__9CMatrix3fFRC9CMatrix3f +/* 80354B10 00351A70 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80354B14 00351A74 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80354B18 00351A78 83 C1 00 08 */ lwz r30, 8(r1) +/* 80354B1C 00351A7C 7C 08 03 A6 */ mtlr r0 +/* 80354B20 00351A80 38 21 00 10 */ addi r1, r1, 0x10 +/* 80354B24 00351A84 4E 80 00 20 */ blr + +.global sub_80354b28 +sub_80354b28: +/* 80354B28 00351A88 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 80354B2C 00351A8C 7C 08 02 A6 */ mflr r0 +/* 80354B30 00351A90 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 80354B34 00351A94 DB E1 00 B0 */ stfd f31, 0xb0(r1) +/* 80354B38 00351A98 F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0 +/* 80354B3C 00351A9C DB C1 00 A0 */ stfd f30, 0xa0(r1) +/* 80354B40 00351AA0 F3 C1 00 A8 */ psq_st f30, 168(r1), 0, qr0 +/* 80354B44 00351AA4 DB A1 00 90 */ stfd f29, 0x90(r1) +/* 80354B48 00351AA8 F3 A1 00 98 */ psq_st f29, 152(r1), 0, qr0 +/* 80354B4C 00351AAC BF 21 00 74 */ stmw r25, 0x74(r1) +/* 80354B50 00351AB0 7C 7D 1B 78 */ mr r29, r3 +/* 80354B54 00351AB4 7C 9E 23 78 */ mr r30, r4 +/* 80354B58 00351AB8 80 03 00 00 */ lwz r0, 0(r3) +/* 80354B5C 00351ABC 7C BF 2B 78 */ mr r31, r5 +/* 80354B60 00351AC0 2C 00 00 02 */ cmpwi r0, 2 +/* 80354B64 00351AC4 41 82 00 50 */ beq lbl_80354BB4 +/* 80354B68 00351AC8 40 80 00 10 */ bge lbl_80354B78 +/* 80354B6C 00351ACC 2C 00 00 01 */ cmpwi r0, 1 +/* 80354B70 00351AD0 40 80 00 14 */ bge lbl_80354B84 +/* 80354B74 00351AD4 48 00 01 D0 */ b lbl_80354D44 +lbl_80354B78: +/* 80354B78 00351AD8 2C 00 00 04 */ cmpwi r0, 4 +/* 80354B7C 00351ADC 40 80 01 C8 */ bge lbl_80354D44 +/* 80354B80 00351AE0 48 00 00 98 */ b lbl_80354C18 +lbl_80354B84: +/* 80354B84 00351AE4 88 1D 00 04 */ lbz r0, 4(r29) +/* 80354B88 00351AE8 7F C3 F3 78 */ mr r3, r30 +/* 80354B8C 00351AEC 38 81 00 08 */ addi r4, r1, 8 +/* 80354B90 00351AF0 98 01 00 08 */ stb r0, 8(r1) +/* 80354B94 00351AF4 48 01 43 E9 */ bl GetTransformMinusOffset__17CPoseAsTransformsCFRC6CSegId +/* 80354B98 00351AF8 88 01 00 08 */ lbz r0, 8(r1) +/* 80354B9C 00351AFC 7C 64 1B 78 */ mr r4, r3 +/* 80354BA0 00351B00 38 7D 00 20 */ addi r3, r29, 0x20 +/* 80354BA4 00351B04 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80354BA8 00351B08 7C BF 02 14 */ add r5, r31, r0 +/* 80354BAC 00351B0C 48 00 02 81 */ bl TransformFromMatrixData +/* 80354BB0 00351B10 48 00 01 A4 */ b lbl_80354D54 +lbl_80354BB4: +/* 80354BB4 00351B14 3B 9D 00 04 */ addi r28, r29, 4 +/* 80354BB8 00351B18 C3 FD 00 08 */ lfs f31, 8(r29) +/* 80354BBC 00351B1C C3 DD 00 10 */ lfs f30, 0x10(r29) +/* 80354BC0 00351B20 3B 7D 00 0C */ addi r27, r29, 0xc +/* 80354BC4 00351B24 7F C3 F3 78 */ mr r3, r30 +/* 80354BC8 00351B28 7F 84 E3 78 */ mr r4, r28 +/* 80354BCC 00351B2C 48 01 43 B1 */ bl GetTransformMinusOffset__17CPoseAsTransformsCFRC6CSegId +/* 80354BD0 00351B30 7C 60 1B 78 */ mr r0, r3 +/* 80354BD4 00351B34 7F C3 F3 78 */ mr r3, r30 +/* 80354BD8 00351B38 7C 1A 03 78 */ mr r26, r0 +/* 80354BDC 00351B3C 7F 64 DB 78 */ mr r4, r27 +/* 80354BE0 00351B40 48 01 43 9D */ bl GetTransformMinusOffset__17CPoseAsTransformsCFRC6CSegId +/* 80354BE4 00351B44 88 9C 00 00 */ lbz r4, 0(r28) +/* 80354BE8 00351B48 7C 66 1B 78 */ mr r6, r3 +/* 80354BEC 00351B4C 88 1B 00 00 */ lbz r0, 0(r27) +/* 80354BF0 00351B50 FC 20 F8 90 */ fmr f1, f31 +/* 80354BF4 00351B54 1C A4 00 0C */ mulli r5, r4, 0xc +/* 80354BF8 00351B58 FC 40 F0 90 */ fmr f2, f30 +/* 80354BFC 00351B5C 7F 44 D3 78 */ mr r4, r26 +/* 80354C00 00351B60 38 7D 00 20 */ addi r3, r29, 0x20 +/* 80354C04 00351B64 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80354C08 00351B68 7C BF 2A 14 */ add r5, r31, r5 +/* 80354C0C 00351B6C 7C FF 02 14 */ add r7, r31, r0 +/* 80354C10 00351B70 48 00 01 71 */ bl Transform2FromMatrixData +/* 80354C14 00351B74 48 00 01 40 */ b lbl_80354D54 +lbl_80354C18: +/* 80354C18 00351B78 3B 9D 00 04 */ addi r28, r29, 4 +/* 80354C1C 00351B7C C3 DD 00 08 */ lfs f30, 8(r29) +/* 80354C20 00351B80 C3 BD 00 10 */ lfs f29, 0x10(r29) +/* 80354C24 00351B84 3B 7D 00 0C */ addi r27, r29, 0xc +/* 80354C28 00351B88 C3 FD 00 18 */ lfs f31, 0x18(r29) +/* 80354C2C 00351B8C 3B 5D 00 14 */ addi r26, r29, 0x14 +/* 80354C30 00351B90 7F C3 F3 78 */ mr r3, r30 +/* 80354C34 00351B94 7F 84 E3 78 */ mr r4, r28 +/* 80354C38 00351B98 48 01 43 45 */ bl GetTransformMinusOffset__17CPoseAsTransformsCFRC6CSegId +/* 80354C3C 00351B9C 7C 60 1B 78 */ mr r0, r3 +/* 80354C40 00351BA0 7F C3 F3 78 */ mr r3, r30 +/* 80354C44 00351BA4 7C 19 03 78 */ mr r25, r0 +/* 80354C48 00351BA8 7F 64 DB 78 */ mr r4, r27 +/* 80354C4C 00351BAC 48 01 43 31 */ bl GetTransformMinusOffset__17CPoseAsTransformsCFRC6CSegId +/* 80354C50 00351BB0 FC 20 F0 90 */ fmr f1, f30 +/* 80354C54 00351BB4 7C 65 1B 78 */ mr r5, r3 +/* 80354C58 00351BB8 FC 40 E8 90 */ fmr f2, f29 +/* 80354C5C 00351BBC 7F 24 CB 78 */ mr r4, r25 +/* 80354C60 00351BC0 38 61 00 48 */ addi r3, r1, 0x48 +/* 80354C64 00351BC4 4B FB B9 61 */ bl __ct__9CMatrix3fFRC9CMatrix3ffRC9CMatrix3ff +/* 80354C68 00351BC8 88 9B 00 00 */ lbz r4, 0(r27) +/* 80354C6C 00351BCC FC 20 F8 90 */ fmr f1, f31 +/* 80354C70 00351BD0 88 1C 00 00 */ lbz r0, 0(r28) +/* 80354C74 00351BD4 7F C3 F3 78 */ mr r3, r30 +/* 80354C78 00351BD8 1C C4 00 0C */ mulli r6, r4, 0xc +/* 80354C7C 00351BDC 7F 44 D3 78 */ mr r4, r26 +/* 80354C80 00351BE0 38 A1 00 48 */ addi r5, r1, 0x48 +/* 80354C84 00351BE4 7C DF 32 14 */ add r6, r31, r6 +/* 80354C88 00351BE8 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80354C8C 00351BEC C0 66 00 04 */ lfs f3, 4(r6) +/* 80354C90 00351BF0 C0 46 00 08 */ lfs f2, 8(r6) +/* 80354C94 00351BF4 C0 06 00 00 */ lfs f0, 0(r6) +/* 80354C98 00351BF8 EC BD 00 F2 */ fmuls f5, f29, f3 +/* 80354C9C 00351BFC 7C DF 02 14 */ add r6, r31, r0 +/* 80354CA0 00351C00 C0 C6 00 04 */ lfs f6, 4(r6) +/* 80354CA4 00351C04 EC 7D 00 B2 */ fmuls f3, f29, f2 +/* 80354CA8 00351C08 C0 86 00 08 */ lfs f4, 8(r6) +/* 80354CAC 00351C0C EC 1D 00 32 */ fmuls f0, f29, f0 +/* 80354CB0 00351C10 C0 46 00 00 */ lfs f2, 0(r6) +/* 80354CB4 00351C14 EC DE 01 B2 */ fmuls f6, f30, f6 +/* 80354CB8 00351C18 EC 9E 01 32 */ fmuls f4, f30, f4 +/* 80354CBC 00351C1C EC 5E 00 B2 */ fmuls f2, f30, f2 +/* 80354CC0 00351C20 EC A6 28 2A */ fadds f5, f6, f5 +/* 80354CC4 00351C24 EC 64 18 2A */ fadds f3, f4, f3 +/* 80354CC8 00351C28 EC 02 00 2A */ fadds f0, f2, f0 +/* 80354CCC 00351C2C D0 A1 00 10 */ stfs f5, 0x10(r1) +/* 80354CD0 00351C30 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 80354CD4 00351C34 D0 61 00 14 */ stfs f3, 0x14(r1) +/* 80354CD8 00351C38 48 01 42 39 */ bl AccumulateScaledTransform__17CPoseAsTransformsCFRC6CSegIdR9CMatrix3ff +/* 80354CDC 00351C3C 88 1A 00 00 */ lbz r0, 0(r26) +/* 80354CE0 00351C40 38 61 00 18 */ addi r3, r1, 0x18 +/* 80354CE4 00351C44 C0 61 00 0C */ lfs f3, 0xc(r1) +/* 80354CE8 00351C48 38 81 00 48 */ addi r4, r1, 0x48 +/* 80354CEC 00351C4C 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80354CF0 00351C50 C0 21 00 10 */ lfs f1, 0x10(r1) +/* 80354CF4 00351C54 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 80354CF8 00351C58 38 A1 00 0C */ addi r5, r1, 0xc +/* 80354CFC 00351C5C 7C DF 02 14 */ add r6, r31, r0 +/* 80354D00 00351C60 C0 A6 00 04 */ lfs f5, 4(r6) +/* 80354D04 00351C64 C0 86 00 08 */ lfs f4, 8(r6) +/* 80354D08 00351C68 C0 46 00 00 */ lfs f2, 0(r6) +/* 80354D0C 00351C6C EC BF 01 72 */ fmuls f5, f31, f5 +/* 80354D10 00351C70 EC 9F 01 32 */ fmuls f4, f31, f4 +/* 80354D14 00351C74 EC 5F 00 B2 */ fmuls f2, f31, f2 +/* 80354D18 00351C78 EC 21 28 2A */ fadds f1, f1, f5 +/* 80354D1C 00351C7C EC 00 20 2A */ fadds f0, f0, f4 +/* 80354D20 00351C80 EC 43 10 2A */ fadds f2, f3, f2 +/* 80354D24 00351C84 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 80354D28 00351C88 D0 41 00 0C */ stfs f2, 0xc(r1) +/* 80354D2C 00351C8C D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80354D30 00351C90 4B FB E5 49 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f +/* 80354D34 00351C94 7C 64 1B 78 */ mr r4, r3 +/* 80354D38 00351C98 38 7D 00 20 */ addi r3, r29, 0x20 +/* 80354D3C 00351C9C 4B FB DE 05 */ bl __as__12CTransform4fFRC12CTransform4f +/* 80354D40 00351CA0 48 00 00 14 */ b lbl_80354D54 +lbl_80354D44: +/* 80354D44 00351CA4 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 80354D48 00351CA8 38 7D 00 20 */ addi r3, r29, 0x20 +/* 80354D4C 00351CAC 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 80354D50 00351CB0 4B FB DD F1 */ bl __as__12CTransform4fFRC12CTransform4f +lbl_80354D54: +/* 80354D54 00351CB4 E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0 +/* 80354D58 00351CB8 CB E1 00 B0 */ lfd f31, 0xb0(r1) +/* 80354D5C 00351CBC E3 C1 00 A8 */ psq_l f30, 168(r1), 0, qr0 +/* 80354D60 00351CC0 CB C1 00 A0 */ lfd f30, 0xa0(r1) +/* 80354D64 00351CC4 E3 A1 00 98 */ psq_l f29, 152(r1), 0, qr0 +/* 80354D68 00351CC8 CB A1 00 90 */ lfd f29, 0x90(r1) +/* 80354D6C 00351CCC BB 21 00 74 */ lmw r25, 0x74(r1) +/* 80354D70 00351CD0 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 80354D74 00351CD4 7C 08 03 A6 */ mtlr r0 +/* 80354D78 00351CD8 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 80354D7C 00351CDC 4E 80 00 20 */ blr + +.global Transform2FromMatrixData +Transform2FromMatrixData: +/* 80354D80 00351CE0 FC 80 08 90 */ fmr f4, f1 +/* 80354D84 00351CE4 E0 04 00 00 */ psq_l f0, 0(r4), 0, qr0 +/* 80354D88 00351CE8 E0 A5 00 00 */ psq_l f5, 0(r5), 0, qr0 +/* 80354D8C 00351CEC E0 24 80 08 */ psq_l f1, 8(r4), 1, qr0 +/* 80354D90 00351CF0 10 E4 14 20 */ ps_merge00 f7, f4, f2 +/* 80354D94 00351CF4 E0 64 80 14 */ psq_l f3, 20(r4), 1, qr0 +/* 80354D98 00351CF8 10 21 2C 20 */ ps_merge00 f1, f1, f5 +/* 80354D9C 00351CFC E0 44 00 0C */ psq_l f2, 12(r4), 0, qr0 +/* 80354DA0 00351D00 10 63 2C 60 */ ps_merge01 f3, f3, f5 +/* 80354DA4 00351D04 E0 84 00 18 */ psq_l f4, 24(r4), 0, qr0 +/* 80354DA8 00351D08 10 00 01 D8 */ ps_muls0 f0, f0, f7 +/* 80354DAC 00351D0C E0 C6 00 00 */ psq_l f6, 0(r6), 0, qr0 +/* 80354DB0 00351D10 E1 07 00 00 */ psq_l f8, 0(r7), 0, qr0 +/* 80354DB4 00351D14 10 21 01 D8 */ ps_muls0 f1, f1, f7 +/* 80354DB8 00351D18 E1 26 80 08 */ psq_l f9, 8(r6), 1, qr0 +/* 80354DBC 00351D1C 10 42 01 D8 */ ps_muls0 f2, f2, f7 +/* 80354DC0 00351D20 10 06 01 DE */ ps_madds1 f0, f6, f7, f0 +/* 80354DC4 00351D24 E1 66 80 14 */ psq_l f11, 20(r6), 1, qr0 +/* 80354DC8 00351D28 11 29 44 20 */ ps_merge00 f9, f9, f8 +/* 80354DCC 00351D2C E1 46 00 0C */ psq_l f10, 12(r6), 0, qr0 +/* 80354DD0 00351D30 E0 C5 80 08 */ psq_l f6, 8(r5), 1, qr0 +/* 80354DD4 00351D34 11 6B 44 60 */ ps_merge01 f11, f11, f8 +/* 80354DD8 00351D38 E0 A4 80 20 */ psq_l f5, 32(r4), 1, qr0 +/* 80354DDC 00351D3C 10 63 01 D8 */ ps_muls0 f3, f3, f7 +/* 80354DE0 00351D40 10 29 09 DE */ ps_madds1 f1, f9, f7, f1 +/* 80354DE4 00351D44 F0 03 00 00 */ psq_st f0, 0(r3), 0, qr0 +/* 80354DE8 00351D48 10 A5 34 20 */ ps_merge00 f5, f5, f6 +/* 80354DEC 00351D4C 10 4A 11 DE */ ps_madds1 f2, f10, f7, f2 +/* 80354DF0 00351D50 E0 C6 00 18 */ psq_l f6, 24(r6), 0, qr0 +/* 80354DF4 00351D54 10 84 01 D8 */ ps_muls0 f4, f4, f7 +/* 80354DF8 00351D58 E1 26 80 20 */ psq_l f9, 32(r6), 1, qr0 +/* 80354DFC 00351D5C 10 6B 19 DE */ ps_madds1 f3, f11, f7, f3 +/* 80354E00 00351D60 E0 07 80 08 */ psq_l f0, 8(r7), 1, qr0 +/* 80354E04 00351D64 10 A5 01 D8 */ ps_muls0 f5, f5, f7 +/* 80354E08 00351D68 F0 23 00 08 */ psq_st f1, 8(r3), 0, qr0 +/* 80354E0C 00351D6C 11 29 04 20 */ ps_merge00 f9, f9, f0 +/* 80354E10 00351D70 10 86 21 DE */ ps_madds1 f4, f6, f7, f4 +/* 80354E14 00351D74 F0 43 00 10 */ psq_st f2, 16(r3), 0, qr0 +/* 80354E18 00351D78 10 A9 29 DE */ ps_madds1 f5, f9, f7, f5 +/* 80354E1C 00351D7C F0 63 00 18 */ psq_st f3, 24(r3), 0, qr0 +/* 80354E20 00351D80 F0 83 00 20 */ psq_st f4, 32(r3), 0, qr0 +/* 80354E24 00351D84 F0 A3 00 28 */ psq_st f5, 40(r3), 0, qr0 +/* 80354E28 00351D88 4E 80 00 20 */ blr + +.global TransformFromMatrixData +TransformFromMatrixData: +/* 80354E2C 00351D8C E0 05 00 00 */ psq_l f0, 0(r5), 0, qr0 +/* 80354E30 00351D90 E0 24 80 08 */ psq_l f1, 8(r4), 1, qr0 +/* 80354E34 00351D94 E0 64 80 14 */ psq_l f3, 20(r4), 1, qr0 +/* 80354E38 00351D98 E0 85 80 08 */ psq_l f4, 8(r5), 1, qr0 +/* 80354E3C 00351D9C 10 21 04 20 */ ps_merge00 f1, f1, f0 +/* 80354E40 00351DA0 E0 A4 80 20 */ psq_l f5, 32(r4), 1, qr0 +/* 80354E44 00351DA4 10 63 04 60 */ ps_merge01 f3, f3, f0 +/* 80354E48 00351DA8 E0 04 00 00 */ psq_l f0, 0(r4), 0, qr0 +/* 80354E4C 00351DAC E0 44 00 0C */ psq_l f2, 12(r4), 0, qr0 +/* 80354E50 00351DB0 10 A5 24 20 */ ps_merge00 f5, f5, f4 +/* 80354E54 00351DB4 E0 84 00 18 */ psq_l f4, 24(r4), 0, qr0 +/* 80354E58 00351DB8 F0 03 00 00 */ psq_st f0, 0(r3), 0, qr0 +/* 80354E5C 00351DBC F0 23 00 08 */ psq_st f1, 8(r3), 0, qr0 +/* 80354E60 00351DC0 F0 43 00 10 */ psq_st f2, 16(r3), 0, qr0 +/* 80354E64 00351DC4 F0 63 00 18 */ psq_st f3, 24(r3), 0, qr0 +/* 80354E68 00351DC8 F0 83 00 20 */ psq_st f4, 32(r3), 0, qr0 +/* 80354E6C 00351DCC F0 A3 00 28 */ psq_st f5, 40(r3), 0, qr0 +/* 80354E70 00351DD0 4E 80 00 20 */ blr + +.global nullsub_22 +nullsub_22: +/* 80354E74 00351DD4 4E 80 00 20 */ blr + +.global __ct__12CVirtualBoneFR12CInputStream +__ct__12CVirtualBoneFR12CInputStream: +/* 80354E78 00351DD8 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80354E7C 00351DDC 7C 08 02 A6 */ mflr r0 +/* 80354E80 00351DE0 90 01 00 34 */ stw r0, 0x34(r1) +/* 80354E84 00351DE4 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80354E88 00351DE8 7C 7F 1B 78 */ mr r31, r3 +/* 80354E8C 00351DEC 38 61 00 08 */ addi r3, r1, 8 +/* 80354E90 00351DF0 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80354E94 00351DF4 7C 9E 23 78 */ mr r30, r4 +/* 80354E98 00351DF8 48 00 00 E5 */ bl StreamInSkinWeighting__FR12CInputStream +/* 80354E9C 00351DFC 80 01 00 08 */ lwz r0, 8(r1) +/* 80354EA0 00351E00 38 9F 00 04 */ addi r4, r31, 4 +/* 80354EA4 00351E04 38 61 00 0C */ addi r3, r1, 0xc +/* 80354EA8 00351E08 90 1F 00 00 */ stw r0, 0(r31) +/* 80354EAC 00351E0C 80 1F 00 00 */ lwz r0, 0(r31) +/* 80354EB0 00351E10 7C 09 03 A6 */ mtctr r0 +/* 80354EB4 00351E14 2C 00 00 00 */ cmpwi r0, 0 +/* 80354EB8 00351E18 40 81 00 28 */ ble lbl_80354EE0 +lbl_80354EBC: +/* 80354EBC 00351E1C 28 04 00 00 */ cmplwi r4, 0 +/* 80354EC0 00351E20 41 82 00 14 */ beq lbl_80354ED4 +/* 80354EC4 00351E24 88 03 00 00 */ lbz r0, 0(r3) +/* 80354EC8 00351E28 98 04 00 00 */ stb r0, 0(r4) +/* 80354ECC 00351E2C C0 03 00 04 */ lfs f0, 4(r3) +/* 80354ED0 00351E30 D0 04 00 04 */ stfs f0, 4(r4) +lbl_80354ED4: +/* 80354ED4 00351E34 38 84 00 08 */ addi r4, r4, 8 +/* 80354ED8 00351E38 38 63 00 08 */ addi r3, r3, 8 +/* 80354EDC 00351E3C 42 00 FF E0 */ bdnz lbl_80354EBC +lbl_80354EE0: +/* 80354EE0 00351E40 80 A1 00 08 */ lwz r5, 8(r1) +/* 80354EE4 00351E44 38 60 00 00 */ li r3, 0 +/* 80354EE8 00351E48 2C 05 00 00 */ cmpwi r5, 0 +/* 80354EEC 00351E4C 40 81 00 40 */ ble lbl_80354F2C +/* 80354EF0 00351E50 2C 05 00 08 */ cmpwi r5, 8 +/* 80354EF4 00351E54 38 85 FF F8 */ addi r4, r5, -8 +/* 80354EF8 00351E58 40 81 00 20 */ ble lbl_80354F18 +/* 80354EFC 00351E5C 38 04 00 07 */ addi r0, r4, 7 +/* 80354F00 00351E60 54 00 E8 FE */ srwi r0, r0, 3 +/* 80354F04 00351E64 7C 09 03 A6 */ mtctr r0 +/* 80354F08 00351E68 2C 04 00 00 */ cmpwi r4, 0 +/* 80354F0C 00351E6C 40 81 00 0C */ ble lbl_80354F18 +lbl_80354F10: +/* 80354F10 00351E70 38 63 00 08 */ addi r3, r3, 8 +/* 80354F14 00351E74 42 00 FF FC */ bdnz lbl_80354F10 +lbl_80354F18: +/* 80354F18 00351E78 7C 03 28 50 */ subf r0, r3, r5 +/* 80354F1C 00351E7C 7C 09 03 A6 */ mtctr r0 +/* 80354F20 00351E80 7C 03 28 00 */ cmpw r3, r5 +/* 80354F24 00351E84 40 80 00 08 */ bge lbl_80354F2C +lbl_80354F28: +/* 80354F28 00351E88 42 00 00 00 */ bdnz lbl_80354F28 +lbl_80354F2C: +/* 80354F2C 00351E8C 38 00 00 00 */ li r0, 0 +/* 80354F30 00351E90 7F C3 F3 78 */ mr r3, r30 +/* 80354F34 00351E94 90 01 00 08 */ stw r0, 8(r1) +/* 80354F38 00351E98 4B FE 9D 4D */ bl ReadLong__12CInputStreamFv +/* 80354F3C 00351E9C 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 80354F40 00351EA0 90 7F 00 1C */ stw r3, 0x1c(r31) +/* 80354F44 00351EA4 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 80354F48 00351EA8 38 7F 00 20 */ addi r3, r31, 0x20 +/* 80354F4C 00351EAC 4B FB DC 29 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80354F50 00351EB0 3C 80 80 5A */ lis r4, lbl_805A65FC@ha +/* 80354F54 00351EB4 38 7F 00 50 */ addi r3, r31, 0x50 +/* 80354F58 00351EB8 38 84 65 FC */ addi r4, r4, lbl_805A65FC@l +/* 80354F5C 00351EBC 4B FB B0 C9 */ bl __ct__9CMatrix3fFRC9CMatrix3f +/* 80354F60 00351EC0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80354F64 00351EC4 7F E3 FB 78 */ mr r3, r31 +/* 80354F68 00351EC8 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80354F6C 00351ECC 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80354F70 00351ED0 7C 08 03 A6 */ mtlr r0 +/* 80354F74 00351ED4 38 21 00 30 */ addi r1, r1, 0x30 +/* 80354F78 00351ED8 4E 80 00 20 */ blr + +.global StreamInSkinWeighting__FR12CInputStream +StreamInSkinWeighting__FR12CInputStream: +/* 80354F7C 00351EDC 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80354F80 00351EE0 7C 08 02 A6 */ mflr r0 +/* 80354F84 00351EE4 90 01 00 44 */ stw r0, 0x44(r1) +/* 80354F88 00351EE8 38 00 00 00 */ li r0, 0 +/* 80354F8C 00351EEC BF 41 00 28 */ stmw r26, 0x28(r1) +/* 80354F90 00351EF0 7C 9F 23 78 */ mr r31, r4 +/* 80354F94 00351EF4 7C 7E 1B 78 */ mr r30, r3 +/* 80354F98 00351EF8 90 01 00 08 */ stw r0, 8(r1) +/* 80354F9C 00351EFC 7F E3 FB 78 */ mr r3, r31 +/* 80354FA0 00351F00 4B FE 9C E5 */ bl ReadLong__12CInputStreamFv +/* 80354FA4 00351F04 7C 7C 1B 78 */ mr r28, r3 +/* 80354FA8 00351F08 2C 1C 00 03 */ cmpwi r28, 3 +/* 80354FAC 00351F0C 40 81 00 78 */ ble lbl_80355024 +/* 80354FB0 00351F10 3B 40 00 00 */ li r26, 0 +/* 80354FB4 00351F14 3B 61 00 0C */ addi r27, r1, 0xc +lbl_80354FB8: +/* 80354FB8 00351F18 7F E3 FB 78 */ mr r3, r31 +/* 80354FBC 00351F1C 4B FE 9C C9 */ bl ReadLong__12CInputStreamFv +/* 80354FC0 00351F20 54 7D 06 3E */ clrlwi r29, r3, 0x18 +/* 80354FC4 00351F24 7F E3 FB 78 */ mr r3, r31 +/* 80354FC8 00351F28 4B FE 9C 61 */ bl ReadFloat__12CInputStreamFv +/* 80354FCC 00351F2C 80 01 00 08 */ lwz r0, 8(r1) +/* 80354FD0 00351F30 54 00 18 38 */ slwi r0, r0, 3 +/* 80354FD4 00351F34 7C 7B 02 15 */ add. r3, r27, r0 +/* 80354FD8 00351F38 41 82 00 0C */ beq lbl_80354FE4 +/* 80354FDC 00351F3C 9B A3 00 00 */ stb r29, 0(r3) +/* 80354FE0 00351F40 D0 23 00 04 */ stfs f1, 4(r3) +lbl_80354FE4: +/* 80354FE4 00351F44 80 61 00 08 */ lwz r3, 8(r1) +/* 80354FE8 00351F48 3B 5A 00 01 */ addi r26, r26, 1 +/* 80354FEC 00351F4C 2C 1A 00 03 */ cmpwi r26, 3 +/* 80354FF0 00351F50 38 03 00 01 */ addi r0, r3, 1 +/* 80354FF4 00351F54 90 01 00 08 */ stw r0, 8(r1) +/* 80354FF8 00351F58 41 80 FF C0 */ blt lbl_80354FB8 +/* 80354FFC 00351F5C 3B 40 00 03 */ li r26, 3 +/* 80355000 00351F60 48 00 00 18 */ b lbl_80355018 +lbl_80355004: +/* 80355004 00351F64 7F E3 FB 78 */ mr r3, r31 +/* 80355008 00351F68 4B FE 9C 7D */ bl ReadLong__12CInputStreamFv +/* 8035500C 00351F6C 7F E3 FB 78 */ mr r3, r31 +/* 80355010 00351F70 4B FE 9C 19 */ bl ReadFloat__12CInputStreamFv +/* 80355014 00351F74 3B 5A 00 01 */ addi r26, r26, 1 +lbl_80355018: +/* 80355018 00351F78 7C 1A E0 00 */ cmpw r26, r28 +/* 8035501C 00351F7C 41 80 FF E8 */ blt lbl_80355004 +/* 80355020 00351F80 48 00 00 54 */ b lbl_80355074 +lbl_80355024: +/* 80355024 00351F84 3B 61 00 0C */ addi r27, r1, 0xc +/* 80355028 00351F88 3B 40 00 00 */ li r26, 0 +/* 8035502C 00351F8C 48 00 00 40 */ b lbl_8035506C +lbl_80355030: +/* 80355030 00351F90 7F E3 FB 78 */ mr r3, r31 +/* 80355034 00351F94 4B FE 9C 51 */ bl ReadLong__12CInputStreamFv +/* 80355038 00351F98 54 7D 06 3E */ clrlwi r29, r3, 0x18 +/* 8035503C 00351F9C 7F E3 FB 78 */ mr r3, r31 +/* 80355040 00351FA0 4B FE 9B E9 */ bl ReadFloat__12CInputStreamFv +/* 80355044 00351FA4 80 01 00 08 */ lwz r0, 8(r1) +/* 80355048 00351FA8 54 00 18 38 */ slwi r0, r0, 3 +/* 8035504C 00351FAC 7C 7B 02 15 */ add. r3, r27, r0 +/* 80355050 00351FB0 41 82 00 0C */ beq lbl_8035505C +/* 80355054 00351FB4 9B A3 00 00 */ stb r29, 0(r3) +/* 80355058 00351FB8 D0 23 00 04 */ stfs f1, 4(r3) +lbl_8035505C: +/* 8035505C 00351FBC 80 61 00 08 */ lwz r3, 8(r1) +/* 80355060 00351FC0 3B 5A 00 01 */ addi r26, r26, 1 +/* 80355064 00351FC4 38 03 00 01 */ addi r0, r3, 1 +/* 80355068 00351FC8 90 01 00 08 */ stw r0, 8(r1) +lbl_8035506C: +/* 8035506C 00351FCC 7C 1A E0 00 */ cmpw r26, r28 +/* 80355070 00351FD0 41 80 FF C0 */ blt lbl_80355030 +lbl_80355074: +/* 80355074 00351FD4 80 01 00 08 */ lwz r0, 8(r1) +/* 80355078 00351FD8 38 81 00 0C */ addi r4, r1, 0xc +/* 8035507C 00351FDC 38 7E 00 04 */ addi r3, r30, 4 +/* 80355080 00351FE0 90 1E 00 00 */ stw r0, 0(r30) +/* 80355084 00351FE4 80 1E 00 00 */ lwz r0, 0(r30) +/* 80355088 00351FE8 7C 09 03 A6 */ mtctr r0 +/* 8035508C 00351FEC 2C 00 00 00 */ cmpwi r0, 0 +/* 80355090 00351FF0 40 81 00 28 */ ble lbl_803550B8 +lbl_80355094: +/* 80355094 00351FF4 28 03 00 00 */ cmplwi r3, 0 +/* 80355098 00351FF8 41 82 00 14 */ beq lbl_803550AC +/* 8035509C 00351FFC 88 04 00 00 */ lbz r0, 0(r4) +/* 803550A0 00352000 C0 04 00 04 */ lfs f0, 4(r4) +/* 803550A4 00352004 98 03 00 00 */ stb r0, 0(r3) +/* 803550A8 00352008 D0 03 00 04 */ stfs f0, 4(r3) +lbl_803550AC: +/* 803550AC 0035200C 38 63 00 08 */ addi r3, r3, 8 +/* 803550B0 00352010 38 84 00 08 */ addi r4, r4, 8 +/* 803550B4 00352014 42 00 FF E0 */ bdnz lbl_80355094 +lbl_803550B8: +/* 803550B8 00352018 80 A1 00 08 */ lwz r5, 8(r1) +/* 803550BC 0035201C 38 60 00 00 */ li r3, 0 +/* 803550C0 00352020 2C 05 00 00 */ cmpwi r5, 0 +/* 803550C4 00352024 40 81 00 40 */ ble lbl_80355104 +/* 803550C8 00352028 2C 05 00 08 */ cmpwi r5, 8 +/* 803550CC 0035202C 38 85 FF F8 */ addi r4, r5, -8 +/* 803550D0 00352030 40 81 00 20 */ ble lbl_803550F0 +/* 803550D4 00352034 38 04 00 07 */ addi r0, r4, 7 +/* 803550D8 00352038 54 00 E8 FE */ srwi r0, r0, 3 +/* 803550DC 0035203C 7C 09 03 A6 */ mtctr r0 +/* 803550E0 00352040 2C 04 00 00 */ cmpwi r4, 0 +/* 803550E4 00352044 40 81 00 0C */ ble lbl_803550F0 +lbl_803550E8: +/* 803550E8 00352048 38 63 00 08 */ addi r3, r3, 8 +/* 803550EC 0035204C 42 00 FF FC */ bdnz lbl_803550E8 +lbl_803550F0: +/* 803550F0 00352050 7C 03 28 50 */ subf r0, r3, r5 +/* 803550F4 00352054 7C 09 03 A6 */ mtctr r0 +/* 803550F8 00352058 7C 03 28 00 */ cmpw r3, r5 +/* 803550FC 0035205C 40 80 00 08 */ bge lbl_80355104 +lbl_80355100: +/* 80355100 00352060 42 00 00 00 */ bdnz lbl_80355100 +lbl_80355104: +/* 80355104 00352064 BB 41 00 28 */ lmw r26, 0x28(r1) +/* 80355108 00352068 38 00 00 00 */ li r0, 0 +/* 8035510C 0035206C 90 01 00 08 */ stw r0, 8(r1) +/* 80355110 00352070 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80355114 00352074 7C 08 03 A6 */ mtlr r0 +/* 80355118 00352078 38 21 00 40 */ addi r1, r1, 0x40 +/* 8035511C 0035207C 4E 80 00 20 */ blr diff --git a/asm/Kyoto/AnimData/IAnimReader.s b/asm/Kyoto/Animation/IAnimReader.s similarity index 100% rename from asm/Kyoto/AnimData/IAnimReader.s rename to asm/Kyoto/Animation/IAnimReader.s diff --git a/asm/Kyoto/Audio/CDSPStreamManager.s b/asm/Kyoto/Audio/CDSPStreamManager.s new file mode 100644 index 00000000..3bd9ef74 --- /dev/null +++ b/asm/Kyoto/Audio/CDSPStreamManager.s @@ -0,0 +1,1875 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global AllocateStream__17CDSPStreamManagerFv +AllocateStream__17CDSPStreamManagerFv: +/* 803634E0 00360440 54 2B 06 FE */ clrlwi r11, r1, 0x1b +/* 803634E4 00360444 7C 2C 0B 78 */ mr r12, r1 +/* 803634E8 00360448 21 6B FC 80 */ subfic r11, r11, -896 +/* 803634EC 0036044C 7C 21 59 6E */ stwux r1, r1, r11 +/* 803634F0 00360450 7C 08 02 A6 */ mflr r0 +/* 803634F4 00360454 1C A3 00 C0 */ mulli r5, r3, 0xc0 +/* 803634F8 00360458 3C 80 80 5A */ lis r4, lbl_805A6860@ha +/* 803634FC 0036045C 90 0C 00 04 */ stw r0, 4(r12) +/* 80363500 00360460 38 61 00 5C */ addi r3, r1, 0x5c +/* 80363504 00360464 38 04 68 60 */ addi r0, r4, lbl_805A6860@l +/* 80363508 00360468 BF 4C FF E8 */ stmw r26, -0x18(r12) +/* 8036350C 0036046C 7F E0 2A 14 */ add r31, r0, r5 +/* 80363510 00360470 7F E4 FB 78 */ mr r4, r31 +/* 80363514 00360474 48 00 07 59 */ bl __ct__14SDSPStreamInfoFRC17CDSPStreamManager +/* 80363518 00360478 88 1F 00 71 */ lbz r0, 0x71(r31) +/* 8036351C 0036047C 83 C1 00 5C */ lwz r30, 0x5c(r1) +/* 80363520 00360480 7C 00 07 74 */ extsb r0, r0 +/* 80363524 00360484 83 A1 00 60 */ lwz r29, 0x60(r1) +/* 80363528 00360488 83 81 00 64 */ lwz r28, 0x64(r1) +/* 8036352C 0036048C 2C 00 FF FF */ cmpwi r0, -1 +/* 80363530 00360490 83 61 00 68 */ lwz r27, 0x68(r1) +/* 80363534 00360494 83 41 00 6C */ lwz r26, 0x6c(r1) +/* 80363538 00360498 81 81 00 70 */ lwz r12, 0x70(r1) +/* 8036353C 0036049C 81 61 00 74 */ lwz r11, 0x74(r1) +/* 80363540 003604A0 81 41 00 78 */ lwz r10, 0x78(r1) +/* 80363544 003604A4 81 21 00 7C */ lwz r9, 0x7c(r1) +/* 80363548 003604A8 81 01 00 80 */ lwz r8, 0x80(r1) +/* 8036354C 003604AC 80 E1 00 84 */ lwz r7, 0x84(r1) +/* 80363550 003604B0 80 C1 00 88 */ lwz r6, 0x88(r1) +/* 80363554 003604B4 80 A1 00 8C */ lwz r5, 0x8c(r1) +/* 80363558 003604B8 80 81 00 90 */ lwz r4, 0x90(r1) +/* 8036355C 003604BC 80 61 00 94 */ lwz r3, 0x94(r1) +/* 80363560 003604C0 93 C1 00 D4 */ stw r30, 0xd4(r1) +/* 80363564 003604C4 93 A1 00 D8 */ stw r29, 0xd8(r1) +/* 80363568 003604C8 93 81 00 DC */ stw r28, 0xdc(r1) +/* 8036356C 003604CC 93 61 00 E0 */ stw r27, 0xe0(r1) +/* 80363570 003604D0 93 41 00 E4 */ stw r26, 0xe4(r1) +/* 80363574 003604D4 91 81 00 E8 */ stw r12, 0xe8(r1) +/* 80363578 003604D8 91 61 00 EC */ stw r11, 0xec(r1) +/* 8036357C 003604DC 91 41 00 F0 */ stw r10, 0xf0(r1) +/* 80363580 003604E0 91 21 00 F4 */ stw r9, 0xf4(r1) +/* 80363584 003604E4 91 01 00 F8 */ stw r8, 0xf8(r1) +/* 80363588 003604E8 90 E1 00 FC */ stw r7, 0xfc(r1) +/* 8036358C 003604EC 90 C1 01 00 */ stw r6, 0x100(r1) +/* 80363590 003604F0 90 A1 01 04 */ stw r5, 0x104(r1) +/* 80363594 003604F4 90 81 01 08 */ stw r4, 0x108(r1) +/* 80363598 003604F8 90 61 01 0C */ stw r3, 0x10c(r1) +/* 8036359C 003604FC 40 82 00 64 */ bne lbl_80363600 +/* 803635A0 00360500 88 1F 00 70 */ lbz r0, 0x70(r31) +/* 803635A4 00360504 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 803635A8 00360508 40 82 00 20 */ bne lbl_803635C8 +/* 803635AC 0036050C 88 DF 00 74 */ lbz r6, 0x74(r31) +/* 803635B0 00360510 38 61 00 D4 */ addi r3, r1, 0xd4 +/* 803635B4 00360514 88 9F 00 73 */ lbz r4, 0x73(r31) +/* 803635B8 00360518 38 A0 00 40 */ li r5, 0x40 +/* 803635BC 0036051C 7C C6 07 74 */ extsb r6, r6 +/* 803635C0 00360520 48 00 76 ED */ bl AllocateMono__10SDSPStreamFRC11SStreamInfocci +/* 803635C4 00360524 90 7F 00 7C */ stw r3, 0x7c(r31) +lbl_803635C8: +/* 803635C8 00360528 80 7F 00 7C */ lwz r3, 0x7c(r31) +/* 803635CC 0036052C 3C 03 00 01 */ addis r0, r3, 1 +/* 803635D0 00360530 28 00 FF FF */ cmplwi r0, 0xffff +/* 803635D4 00360534 40 82 01 40 */ bne lbl_80363714 +/* 803635D8 00360538 38 61 02 A0 */ addi r3, r1, 0x2a0 +/* 803635DC 0036053C 38 80 00 00 */ li r4, 0 +/* 803635E0 00360540 48 00 13 6D */ bl __ct__17CDSPStreamManagerFv +/* 803635E4 00360544 7F E3 FB 78 */ mr r3, r31 +/* 803635E8 00360548 38 81 02 A0 */ addi r4, r1, 0x2a0 +/* 803635EC 0036054C 48 00 10 F9 */ bl __as__17CDSPStreamManagerFRC17CDSPStreamManager +/* 803635F0 00360550 34 61 03 00 */ addic. r3, r1, 0x300 +/* 803635F4 00360554 41 82 01 20 */ beq lbl_80363714 +/* 803635F8 00360558 4B FD A4 E9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 803635FC 0036055C 48 00 01 18 */ b lbl_80363714 +lbl_80363600: +/* 80363600 00360560 1C A0 00 C0 */ mulli r5, r0, 0xc0 +/* 80363604 00360564 3C 80 80 5A */ lis r4, lbl_805A6860@ha +/* 80363608 00360568 38 61 00 20 */ addi r3, r1, 0x20 +/* 8036360C 0036056C 38 04 68 60 */ addi r0, r4, lbl_805A6860@l +/* 80363610 00360570 7F C0 2A 14 */ add r30, r0, r5 +/* 80363614 00360574 7F C4 F3 78 */ mr r4, r30 +/* 80363618 00360578 48 00 06 55 */ bl __ct__14SDSPStreamInfoFRC17CDSPStreamManager +/* 8036361C 0036057C 88 1F 00 70 */ lbz r0, 0x70(r31) +/* 80363620 00360580 83 41 00 20 */ lwz r26, 0x20(r1) +/* 80363624 00360584 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80363628 00360588 83 61 00 24 */ lwz r27, 0x24(r1) +/* 8036362C 0036058C 83 81 00 28 */ lwz r28, 0x28(r1) +/* 80363630 00360590 83 A1 00 2C */ lwz r29, 0x2c(r1) +/* 80363634 00360594 81 81 00 30 */ lwz r12, 0x30(r1) +/* 80363638 00360598 81 61 00 34 */ lwz r11, 0x34(r1) +/* 8036363C 0036059C 81 41 00 38 */ lwz r10, 0x38(r1) +/* 80363640 003605A0 81 21 00 3C */ lwz r9, 0x3c(r1) +/* 80363644 003605A4 81 01 00 40 */ lwz r8, 0x40(r1) +/* 80363648 003605A8 80 E1 00 44 */ lwz r7, 0x44(r1) +/* 8036364C 003605AC 80 C1 00 48 */ lwz r6, 0x48(r1) +/* 80363650 003605B0 80 A1 00 4C */ lwz r5, 0x4c(r1) +/* 80363654 003605B4 80 81 00 50 */ lwz r4, 0x50(r1) +/* 80363658 003605B8 80 61 00 54 */ lwz r3, 0x54(r1) +/* 8036365C 003605BC 80 01 00 58 */ lwz r0, 0x58(r1) +/* 80363660 003605C0 93 41 00 98 */ stw r26, 0x98(r1) +/* 80363664 003605C4 93 61 00 9C */ stw r27, 0x9c(r1) +/* 80363668 003605C8 93 81 00 A0 */ stw r28, 0xa0(r1) +/* 8036366C 003605CC 93 A1 00 A4 */ stw r29, 0xa4(r1) +/* 80363670 003605D0 91 81 00 A8 */ stw r12, 0xa8(r1) +/* 80363674 003605D4 91 61 00 AC */ stw r11, 0xac(r1) +/* 80363678 003605D8 91 41 00 B0 */ stw r10, 0xb0(r1) +/* 8036367C 003605DC 91 21 00 B4 */ stw r9, 0xb4(r1) +/* 80363680 003605E0 91 01 00 B8 */ stw r8, 0xb8(r1) +/* 80363684 003605E4 90 E1 00 BC */ stw r7, 0xbc(r1) +/* 80363688 003605E8 90 C1 00 C0 */ stw r6, 0xc0(r1) +/* 8036368C 003605EC 90 A1 00 C4 */ stw r5, 0xc4(r1) +/* 80363690 003605F0 90 81 00 C8 */ stw r4, 0xc8(r1) +/* 80363694 003605F4 90 61 00 CC */ stw r3, 0xcc(r1) +/* 80363698 003605F8 90 01 00 D0 */ stw r0, 0xd0(r1) +/* 8036369C 003605FC 40 82 00 20 */ bne lbl_803636BC +/* 803636A0 00360600 88 DF 00 74 */ lbz r6, 0x74(r31) +/* 803636A4 00360604 38 61 00 D4 */ addi r3, r1, 0xd4 +/* 803636A8 00360608 88 BF 00 73 */ lbz r5, 0x73(r31) +/* 803636AC 0036060C 38 81 00 98 */ addi r4, r1, 0x98 +/* 803636B0 00360610 7C C6 07 74 */ extsb r6, r6 +/* 803636B4 00360614 48 00 74 19 */ bl AllocateStereo__10SDSPStreamFRC11SStreamInfoRC11SStreamInfoci +/* 803636B8 00360618 90 7F 00 7C */ stw r3, 0x7c(r31) +lbl_803636BC: +/* 803636BC 0036061C 80 7F 00 7C */ lwz r3, 0x7c(r31) +/* 803636C0 00360620 3C 03 00 01 */ addis r0, r3, 1 +/* 803636C4 00360624 28 00 FF FF */ cmplwi r0, 0xffff +/* 803636C8 00360628 40 82 00 4C */ bne lbl_80363714 +/* 803636CC 0036062C 38 61 01 E0 */ addi r3, r1, 0x1e0 +/* 803636D0 00360630 38 80 00 00 */ li r4, 0 +/* 803636D4 00360634 48 00 12 79 */ bl __ct__17CDSPStreamManagerFv +/* 803636D8 00360638 7F E3 FB 78 */ mr r3, r31 +/* 803636DC 0036063C 38 81 01 E0 */ addi r4, r1, 0x1e0 +/* 803636E0 00360640 48 00 10 05 */ bl __as__17CDSPStreamManagerFRC17CDSPStreamManager +/* 803636E4 00360644 34 61 02 40 */ addic. r3, r1, 0x240 +/* 803636E8 00360648 41 82 00 08 */ beq lbl_803636F0 +/* 803636EC 0036064C 4B FD A3 F5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_803636F0: +/* 803636F0 00360650 38 61 01 20 */ addi r3, r1, 0x120 +/* 803636F4 00360654 38 80 00 00 */ li r4, 0 +/* 803636F8 00360658 48 00 12 55 */ bl __ct__17CDSPStreamManagerFv +/* 803636FC 0036065C 7F C3 F3 78 */ mr r3, r30 +/* 80363700 00360660 38 81 01 20 */ addi r4, r1, 0x120 +/* 80363704 00360664 48 00 0F E1 */ bl __as__17CDSPStreamManagerFRC17CDSPStreamManager +/* 80363708 00360668 34 61 01 80 */ addic. r3, r1, 0x180 +/* 8036370C 0036066C 41 82 00 08 */ beq lbl_80363714 +/* 80363710 00360670 4B FD A3 D1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80363714: +/* 80363714 00360674 81 41 00 00 */ lwz r10, 0(r1) +/* 80363718 00360678 BB 4A FF E8 */ lmw r26, -0x18(r10) +/* 8036371C 0036067C 80 0A 00 04 */ lwz r0, 4(r10) +/* 80363720 00360680 7C 08 03 A6 */ mtlr r0 +/* 80363724 00360684 7D 41 53 78 */ mr r1, r10 +/* 80363728 00360688 4E 80 00 20 */ blr + +.global sub_8036372c +sub_8036372c: +/* 8036372C 0036068C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80363730 00360690 7C 08 02 A6 */ mflr r0 +/* 80363734 00360694 90 01 00 14 */ stw r0, 0x14(r1) +/* 80363738 00360698 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8036373C 0036069C 7C 9F 23 78 */ mr r31, r4 +/* 80363740 003606A0 93 C1 00 08 */ stw r30, 8(r1) +/* 80363744 003606A4 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80363748 003606A8 41 82 00 24 */ beq lbl_8036376C +/* 8036374C 003606AC 34 1E 00 60 */ addic. r0, r30, 0x60 +/* 80363750 003606B0 41 82 00 0C */ beq lbl_8036375C +/* 80363754 003606B4 38 7E 00 60 */ addi r3, r30, 0x60 +/* 80363758 003606B8 4B FD A3 89 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8036375C: +/* 8036375C 003606BC 7F E0 07 35 */ extsh. r0, r31 +/* 80363760 003606C0 40 81 00 0C */ ble lbl_8036376C +/* 80363764 003606C4 7F C3 F3 78 */ mr r3, r30 +/* 80363768 003606C8 4B FB 21 C9 */ bl Free__7CMemoryFPCv +lbl_8036376C: +/* 8036376C 003606CC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80363770 003606D0 7F C3 F3 78 */ mr r3, r30 +/* 80363774 003606D4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80363778 003606D8 83 C1 00 08 */ lwz r30, 8(r1) +/* 8036377C 003606DC 7C 08 03 A6 */ mtlr r0 +/* 80363780 003606E0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80363784 003606E4 4E 80 00 20 */ blr + +.global HeaderReadComplete__17CDSPStreamManagerFiP11DVDFileInfo +HeaderReadComplete__17CDSPStreamManagerFiP11DVDFileInfo: +/* 80363788 003606E8 54 2B 06 FE */ clrlwi r11, r1, 0x1b +/* 8036378C 003606EC 7C 2C 0B 78 */ mr r12, r1 +/* 80363790 003606F0 21 6B FE 20 */ subfic r11, r11, -480 +/* 80363794 003606F4 7C 21 59 6E */ stwux r1, r1, r11 +/* 80363798 003606F8 7C 08 02 A6 */ mflr r0 +/* 8036379C 003606FC 90 0C 00 04 */ stw r0, 4(r12) +/* 803637A0 00360700 93 EC FF FC */ stw r31, -4(r12) +/* 803637A4 00360704 93 CC FF F8 */ stw r30, -8(r12) +/* 803637A8 00360708 93 AC FF F4 */ stw r29, -0xc(r12) +/* 803637AC 0036070C 7C 9D 23 78 */ mr r29, r4 +/* 803637B0 00360710 93 8C FF F0 */ stw r28, -0x10(r12) +/* 803637B4 00360714 7C 7C 1B 78 */ mr r28, r3 +/* 803637B8 00360718 7F A3 EB 78 */ mr r3, r29 +/* 803637BC 0036071C 48 00 DF 91 */ bl DVDClose +/* 803637C0 00360720 3C 60 80 5A */ lis r3, lbl_805A6860@ha +/* 803637C4 00360724 38 00 00 04 */ li r0, 4 +/* 803637C8 00360728 3B E3 68 60 */ addi r31, r3, lbl_805A6860@l +/* 803637CC 0036072C 3B C0 00 00 */ li r30, 0 +/* 803637D0 00360730 7C 09 03 A6 */ mtctr r0 +lbl_803637D4: +/* 803637D4 00360734 38 1F 00 80 */ addi r0, r31, 0x80 +/* 803637D8 00360738 7C 00 E8 40 */ cmplw r0, r29 +/* 803637DC 0036073C 40 82 01 70 */ bne lbl_8036394C +/* 803637E0 00360740 88 1F 00 70 */ lbz r0, 0x70(r31) +/* 803637E4 00360744 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 803637E8 00360748 40 82 01 64 */ bne lbl_8036394C +/* 803637EC 0036074C 48 01 DE 75 */ bl OSDisableInterrupts +/* 803637F0 00360750 7C 03 00 D0 */ neg r0, r3 +/* 803637F4 00360754 2C 1C 00 00 */ cmpwi r28, 0 +/* 803637F8 00360758 7C 00 1B 78 */ or r0, r0, r3 +/* 803637FC 0036075C 54 00 0F FE */ srwi r0, r0, 0x1f +/* 80363800 00360760 98 01 00 20 */ stb r0, 0x20(r1) +/* 80363804 00360764 40 81 00 14 */ ble lbl_80363818 +/* 80363808 00360768 7F E3 FB 78 */ mr r3, r31 +/* 8036380C 0036076C 48 00 10 65 */ bl sub_80364870 +/* 80363810 00360770 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80363814 00360774 40 82 00 34 */ bne lbl_80363848 +lbl_80363818: +/* 80363818 00360778 38 61 01 00 */ addi r3, r1, 0x100 +/* 8036381C 0036077C 38 80 00 00 */ li r4, 0 +/* 80363820 00360780 48 00 11 2D */ bl __ct__17CDSPStreamManagerFv +/* 80363824 00360784 7F E3 FB 78 */ mr r3, r31 +/* 80363828 00360788 38 81 01 00 */ addi r4, r1, 0x100 +/* 8036382C 0036078C 48 00 0E B9 */ bl __as__17CDSPStreamManagerFRC17CDSPStreamManager +/* 80363830 00360790 34 61 01 60 */ addic. r3, r1, 0x160 +/* 80363834 00360794 41 82 00 08 */ beq lbl_8036383C +/* 80363838 00360798 4B FD A2 A9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8036383C: +/* 8036383C 0036079C 88 61 00 20 */ lbz r3, 0x20(r1) +/* 80363840 003607A0 48 01 DE 49 */ bl OSRestoreInterrupts +/* 80363844 003607A4 48 00 01 14 */ b lbl_80363958 +lbl_80363848: +/* 80363848 003607A8 88 1F 00 70 */ lbz r0, 0x70(r31) +/* 8036384C 003607AC 38 60 00 02 */ li r3, 2 +/* 80363850 003607B0 50 60 26 B6 */ rlwimi r0, r3, 4, 0x1a, 0x1b +/* 80363854 003607B4 38 60 FF FF */ li r3, -1 +/* 80363858 003607B8 98 1F 00 70 */ stb r0, 0x70(r31) +/* 8036385C 003607BC 88 1F 00 72 */ lbz r0, 0x72(r31) +/* 80363860 003607C0 7C 00 07 74 */ extsb r0, r0 +/* 80363864 003607C4 2C 00 FF FF */ cmpwi r0, -1 +/* 80363868 003607C8 41 82 00 0C */ beq lbl_80363874 +/* 8036386C 003607CC 7C 03 03 78 */ mr r3, r0 +/* 80363870 003607D0 48 00 00 18 */ b lbl_80363888 +lbl_80363874: +/* 80363874 003607D4 88 1F 00 71 */ lbz r0, 0x71(r31) +/* 80363878 003607D8 7C 00 07 74 */ extsb r0, r0 +/* 8036387C 003607DC 2C 00 FF FF */ cmpwi r0, -1 +/* 80363880 003607E0 41 82 00 08 */ beq lbl_80363888 +/* 80363884 003607E4 7C 03 03 78 */ mr r3, r0 +lbl_80363888: +/* 80363888 003607E8 2C 03 FF FF */ cmpwi r3, -1 +/* 8036388C 003607EC 41 82 00 AC */ beq lbl_80363938 +/* 80363890 003607F0 1C A3 00 C0 */ mulli r5, r3, 0xc0 +/* 80363894 003607F4 3C 80 80 5A */ lis r4, lbl_805A6860@ha +/* 80363898 003607F8 38 04 68 60 */ addi r0, r4, lbl_805A6860@l +/* 8036389C 003607FC 7C A0 2A 14 */ add r5, r0, r5 +/* 803638A0 00360800 88 85 00 70 */ lbz r4, 0x70(r5) +/* 803638A4 00360804 54 80 CF FF */ rlwinm. r0, r4, 0x19, 0x1f, 0x1f +/* 803638A8 00360808 54 86 E7 BE */ rlwinm r6, r4, 0x1c, 0x1e, 0x1f +/* 803638AC 0036080C 40 82 00 2C */ bne lbl_803638D8 +/* 803638B0 00360810 2C 06 00 00 */ cmpwi r6, 0 +/* 803638B4 00360814 41 82 00 24 */ beq lbl_803638D8 +/* 803638B8 00360818 88 85 00 71 */ lbz r4, 0x71(r5) +/* 803638BC 0036081C 7C 80 07 74 */ extsb r0, r4 +/* 803638C0 00360820 7C 1E 00 00 */ cmpw r30, r0 +/* 803638C4 00360824 41 82 00 44 */ beq lbl_80363908 +/* 803638C8 00360828 88 05 00 72 */ lbz r0, 0x72(r5) +/* 803638CC 0036082C 7C 00 07 74 */ extsb r0, r0 +/* 803638D0 00360830 7C 1E 00 00 */ cmpw r30, r0 +/* 803638D4 00360834 41 82 00 34 */ beq lbl_80363908 +lbl_803638D8: +/* 803638D8 00360838 38 61 00 40 */ addi r3, r1, 0x40 +/* 803638DC 0036083C 38 80 00 00 */ li r4, 0 +/* 803638E0 00360840 48 00 10 6D */ bl __ct__17CDSPStreamManagerFv +/* 803638E4 00360844 7F E3 FB 78 */ mr r3, r31 +/* 803638E8 00360848 38 81 00 40 */ addi r4, r1, 0x40 +/* 803638EC 0036084C 48 00 0D F9 */ bl __as__17CDSPStreamManagerFRC17CDSPStreamManager +/* 803638F0 00360850 34 61 00 A0 */ addic. r3, r1, 0xa0 +/* 803638F4 00360854 41 82 00 08 */ beq lbl_803638FC +/* 803638F8 00360858 4B FD A1 E9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_803638FC: +/* 803638FC 0036085C 88 61 00 20 */ lbz r3, 0x20(r1) +/* 80363900 00360860 48 01 DD 89 */ bl OSRestoreInterrupts +/* 80363904 00360864 48 00 00 54 */ b lbl_80363958 +lbl_80363908: +/* 80363908 00360868 2C 06 00 01 */ cmpwi r6, 1 +/* 8036390C 0036086C 40 82 00 10 */ bne lbl_8036391C +/* 80363910 00360870 88 61 00 20 */ lbz r3, 0x20(r1) +/* 80363914 00360874 48 01 DD 75 */ bl OSRestoreInterrupts +/* 80363918 00360878 48 00 00 40 */ b lbl_80363958 +lbl_8036391C: +/* 8036391C 0036087C 7C 80 07 74 */ extsb r0, r4 +/* 80363920 00360880 2C 00 FF FF */ cmpwi r0, -1 +/* 80363924 00360884 41 82 00 14 */ beq lbl_80363938 +/* 80363928 00360888 4B FF FB B9 */ bl AllocateStream__17CDSPStreamManagerFv +/* 8036392C 0036088C 88 61 00 20 */ lbz r3, 0x20(r1) +/* 80363930 00360890 48 01 DD 59 */ bl OSRestoreInterrupts +/* 80363934 00360894 48 00 00 24 */ b lbl_80363958 +lbl_80363938: +/* 80363938 00360898 7F C3 F3 78 */ mr r3, r30 +/* 8036393C 0036089C 4B FF FB A5 */ bl AllocateStream__17CDSPStreamManagerFv +/* 80363940 003608A0 88 61 00 20 */ lbz r3, 0x20(r1) +/* 80363944 003608A4 48 01 DD 45 */ bl OSRestoreInterrupts +/* 80363948 003608A8 48 00 00 10 */ b lbl_80363958 +lbl_8036394C: +/* 8036394C 003608AC 3B FF 00 C0 */ addi r31, r31, 0xc0 +/* 80363950 003608B0 3B DE 00 01 */ addi r30, r30, 1 +/* 80363954 003608B4 42 00 FE 80 */ bdnz lbl_803637D4 +lbl_80363958: +/* 80363958 003608B8 81 41 00 00 */ lwz r10, 0(r1) +/* 8036395C 003608BC 80 0A 00 04 */ lwz r0, 4(r10) +/* 80363960 003608C0 83 EA FF FC */ lwz r31, -4(r10) +/* 80363964 003608C4 83 CA FF F8 */ lwz r30, -8(r10) +/* 80363968 003608C8 83 AA FF F4 */ lwz r29, -0xc(r10) +/* 8036396C 003608CC 83 8A FF F0 */ lwz r28, -0x10(r10) +/* 80363970 003608D0 7C 08 03 A6 */ mtlr r0 +/* 80363974 003608D4 7D 41 53 78 */ mr r1, r10 +/* 80363978 003608D8 4E 80 00 20 */ blr + +.global GetStreamState__17CDSPStreamManagerFi +GetStreamState__17CDSPStreamManagerFi: +/* 8036397C 003608DC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80363980 003608E0 7C 08 02 A6 */ mflr r0 +/* 80363984 003608E4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80363988 003608E8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8036398C 003608EC 7C 7F 1B 78 */ mr r31, r3 +/* 80363990 003608F0 48 01 DC D1 */ bl OSDisableInterrupts +/* 80363994 003608F4 7C 03 00 D0 */ neg r0, r3 +/* 80363998 003608F8 7C 00 1B 78 */ or r0, r0, r3 +/* 8036399C 003608FC 7F E3 FB 78 */ mr r3, r31 +/* 803639A0 00360900 54 00 0F FE */ srwi r0, r0, 0x1f +/* 803639A4 00360904 98 01 00 08 */ stb r0, 8(r1) +/* 803639A8 00360908 48 00 05 21 */ bl FindClaimedStreamIdx__17CDSPStreamManagerFi +/* 803639AC 0036090C 2C 03 FF FF */ cmpwi r3, -1 +/* 803639B0 00360910 40 82 00 14 */ bne lbl_803639C4 +/* 803639B4 00360914 88 61 00 08 */ lbz r3, 8(r1) +/* 803639B8 00360918 48 01 DC D1 */ bl OSRestoreInterrupts +/* 803639BC 0036091C 38 60 00 01 */ li r3, 1 +/* 803639C0 00360920 48 00 00 78 */ b lbl_80363A38 +lbl_803639C4: +/* 803639C4 00360924 1C 83 00 C0 */ mulli r4, r3, 0xc0 +/* 803639C8 00360928 3C 60 80 5A */ lis r3, lbl_805A6860@ha +/* 803639CC 0036092C 38 03 68 60 */ addi r0, r3, lbl_805A6860@l +/* 803639D0 00360930 7C 60 22 14 */ add r3, r0, r4 +/* 803639D4 00360934 88 03 00 70 */ lbz r0, 0x70(r3) +/* 803639D8 00360938 54 00 E7 BE */ rlwinm r0, r0, 0x1c, 0x1e, 0x1f +/* 803639DC 0036093C 2C 00 00 01 */ cmpwi r0, 1 +/* 803639E0 00360940 41 82 00 4C */ beq lbl_80363A2C +/* 803639E4 00360944 40 80 00 10 */ bge lbl_803639F4 +/* 803639E8 00360948 2C 00 00 00 */ cmpwi r0, 0 +/* 803639EC 0036094C 40 80 00 14 */ bge lbl_80363A00 +/* 803639F0 00360950 48 00 00 3C */ b lbl_80363A2C +lbl_803639F4: +/* 803639F4 00360954 2C 00 00 03 */ cmpwi r0, 3 +/* 803639F8 00360958 40 80 00 34 */ bge lbl_80363A2C +/* 803639FC 0036095C 48 00 00 14 */ b lbl_80363A10 +lbl_80363A00: +/* 80363A00 00360960 88 61 00 08 */ lbz r3, 8(r1) +/* 80363A04 00360964 48 01 DC 85 */ bl OSRestoreInterrupts +/* 80363A08 00360968 38 60 00 01 */ li r3, 1 +/* 80363A0C 0036096C 48 00 00 2C */ b lbl_80363A38 +lbl_80363A10: +/* 80363A10 00360970 A0 03 00 0C */ lhz r0, 0xc(r3) +/* 80363A14 00360974 88 61 00 08 */ lbz r3, 8(r1) +/* 80363A18 00360978 7C 00 00 34 */ cntlzw r0, r0 +/* 80363A1C 0036097C 54 1F D9 7E */ srwi r31, r0, 5 +/* 80363A20 00360980 48 01 DC 69 */ bl OSRestoreInterrupts +/* 80363A24 00360984 7F E3 FB 78 */ mr r3, r31 +/* 80363A28 00360988 48 00 00 10 */ b lbl_80363A38 +lbl_80363A2C: +/* 80363A2C 0036098C 88 61 00 08 */ lbz r3, 8(r1) +/* 80363A30 00360990 48 01 DC 59 */ bl OSRestoreInterrupts +/* 80363A34 00360994 38 60 00 02 */ li r3, 2 +lbl_80363A38: +/* 80363A38 00360998 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80363A3C 0036099C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80363A40 003609A0 7C 08 03 A6 */ mtlr r0 +/* 80363A44 003609A4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80363A48 003609A8 4E 80 00 20 */ blr + +.global CanStop__17CDSPStreamManagerFi +CanStop__17CDSPStreamManagerFi: +/* 80363A4C 003609AC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80363A50 003609B0 7C 08 02 A6 */ mflr r0 +/* 80363A54 003609B4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80363A58 003609B8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80363A5C 003609BC 7C 7F 1B 78 */ mr r31, r3 +/* 80363A60 003609C0 48 01 DC 01 */ bl OSDisableInterrupts +/* 80363A64 003609C4 7C 03 00 D0 */ neg r0, r3 +/* 80363A68 003609C8 7C 00 1B 78 */ or r0, r0, r3 +/* 80363A6C 003609CC 7F E3 FB 78 */ mr r3, r31 +/* 80363A70 003609D0 54 00 0F FE */ srwi r0, r0, 0x1f +/* 80363A74 003609D4 98 01 00 08 */ stb r0, 8(r1) +/* 80363A78 003609D8 48 00 04 51 */ bl FindClaimedStreamIdx__17CDSPStreamManagerFi +/* 80363A7C 003609DC 2C 03 FF FF */ cmpwi r3, -1 +/* 80363A80 003609E0 40 82 00 14 */ bne lbl_80363A94 +/* 80363A84 003609E4 88 61 00 08 */ lbz r3, 8(r1) +/* 80363A88 003609E8 48 01 DC 01 */ bl OSRestoreInterrupts +/* 80363A8C 003609EC 38 60 00 01 */ li r3, 1 +/* 80363A90 003609F0 48 00 00 70 */ b lbl_80363B00 +lbl_80363A94: +/* 80363A94 003609F4 1C 83 00 C0 */ mulli r4, r3, 0xc0 +/* 80363A98 003609F8 3C 60 80 5A */ lis r3, lbl_805A6860@ha +/* 80363A9C 003609FC 38 03 68 60 */ addi r0, r3, lbl_805A6860@l +/* 80363AA0 00360A00 7C 60 22 14 */ add r3, r0, r4 +/* 80363AA4 00360A04 88 03 00 70 */ lbz r0, 0x70(r3) +/* 80363AA8 00360A08 54 00 E7 BE */ rlwinm r0, r0, 0x1c, 0x1e, 0x1f +/* 80363AAC 00360A0C 2C 00 00 01 */ cmpwi r0, 1 +/* 80363AB0 00360A10 40 82 00 14 */ bne lbl_80363AC4 +/* 80363AB4 00360A14 88 61 00 08 */ lbz r3, 8(r1) +/* 80363AB8 00360A18 48 01 DB D1 */ bl OSRestoreInterrupts +/* 80363ABC 00360A1C 38 60 00 00 */ li r3, 0 +/* 80363AC0 00360A20 48 00 00 40 */ b lbl_80363B00 +lbl_80363AC4: +/* 80363AC4 00360A24 80 63 00 7C */ lwz r3, 0x7c(r3) +/* 80363AC8 00360A28 3C 03 00 01 */ addis r0, r3, 1 +/* 80363ACC 00360A2C 28 00 FF FF */ cmplwi r0, 0xffff +/* 80363AD0 00360A30 40 82 00 14 */ bne lbl_80363AE4 +/* 80363AD4 00360A34 88 61 00 08 */ lbz r3, 8(r1) +/* 80363AD8 00360A38 48 01 DB B1 */ bl OSRestoreInterrupts +/* 80363ADC 00360A3C 38 60 00 01 */ li r3, 1 +/* 80363AE0 00360A40 48 00 00 20 */ b lbl_80363B00 +lbl_80363AE4: +/* 80363AE4 00360A44 48 00 6D 65 */ bl IsStreamActive__10SDSPStreamFi +/* 80363AE8 00360A48 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 80363AEC 00360A4C 88 61 00 08 */ lbz r3, 8(r1) +/* 80363AF0 00360A50 7C 00 00 34 */ cntlzw r0, r0 +/* 80363AF4 00360A54 54 1F D9 7E */ srwi r31, r0, 5 +/* 80363AF8 00360A58 48 01 DB 91 */ bl OSRestoreInterrupts +/* 80363AFC 00360A5C 7F E3 FB 78 */ mr r3, r31 +lbl_80363B00: +/* 80363B00 00360A60 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80363B04 00360A64 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80363B08 00360A68 7C 08 03 A6 */ mtlr r0 +/* 80363B0C 00360A6C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80363B10 00360A70 4E 80 00 20 */ blr + +.global IsStreamAvailable__17CDSPStreamManagerFi +IsStreamAvailable__17CDSPStreamManagerFi: +/* 80363B14 00360A74 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80363B18 00360A78 7C 08 02 A6 */ mflr r0 +/* 80363B1C 00360A7C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80363B20 00360A80 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80363B24 00360A84 7C 7F 1B 78 */ mr r31, r3 +/* 80363B28 00360A88 48 01 DB 39 */ bl OSDisableInterrupts +/* 80363B2C 00360A8C 7C 03 00 D0 */ neg r0, r3 +/* 80363B30 00360A90 7C 00 1B 78 */ or r0, r0, r3 +/* 80363B34 00360A94 7F E3 FB 78 */ mr r3, r31 +/* 80363B38 00360A98 54 00 0F FE */ srwi r0, r0, 0x1f +/* 80363B3C 00360A9C 98 01 00 08 */ stb r0, 8(r1) +/* 80363B40 00360AA0 48 00 03 89 */ bl FindClaimedStreamIdx__17CDSPStreamManagerFi +/* 80363B44 00360AA4 2C 03 FF FF */ cmpwi r3, -1 +/* 80363B48 00360AA8 40 82 00 14 */ bne lbl_80363B5C +/* 80363B4C 00360AAC 88 61 00 08 */ lbz r3, 8(r1) +/* 80363B50 00360AB0 48 01 DB 39 */ bl OSRestoreInterrupts +/* 80363B54 00360AB4 38 60 00 00 */ li r3, 0 +/* 80363B58 00360AB8 48 00 00 68 */ b lbl_80363BC0 +lbl_80363B5C: +/* 80363B5C 00360ABC 1C 83 00 C0 */ mulli r4, r3, 0xc0 +/* 80363B60 00360AC0 3C 60 80 5A */ lis r3, lbl_805A6860@ha +/* 80363B64 00360AC4 38 03 68 60 */ addi r0, r3, lbl_805A6860@l +/* 80363B68 00360AC8 7C 60 22 14 */ add r3, r0, r4 +/* 80363B6C 00360ACC 88 03 00 70 */ lbz r0, 0x70(r3) +/* 80363B70 00360AD0 54 00 E7 BE */ rlwinm r0, r0, 0x1c, 0x1e, 0x1f +/* 80363B74 00360AD4 2C 00 00 01 */ cmpwi r0, 1 +/* 80363B78 00360AD8 40 82 00 14 */ bne lbl_80363B8C +/* 80363B7C 00360ADC 88 61 00 08 */ lbz r3, 8(r1) +/* 80363B80 00360AE0 48 01 DB 09 */ bl OSRestoreInterrupts +/* 80363B84 00360AE4 38 60 00 00 */ li r3, 0 +/* 80363B88 00360AE8 48 00 00 38 */ b lbl_80363BC0 +lbl_80363B8C: +/* 80363B8C 00360AEC 80 63 00 7C */ lwz r3, 0x7c(r3) +/* 80363B90 00360AF0 3C 03 00 01 */ addis r0, r3, 1 +/* 80363B94 00360AF4 28 00 FF FF */ cmplwi r0, 0xffff +/* 80363B98 00360AF8 40 82 00 14 */ bne lbl_80363BAC +/* 80363B9C 00360AFC 88 61 00 08 */ lbz r3, 8(r1) +/* 80363BA0 00360B00 48 01 DA E9 */ bl OSRestoreInterrupts +/* 80363BA4 00360B04 38 60 00 00 */ li r3, 0 +/* 80363BA8 00360B08 48 00 00 18 */ b lbl_80363BC0 +lbl_80363BAC: +/* 80363BAC 00360B0C 48 00 6C 21 */ bl IsStreamAvailable__10SDSPStreamFi +/* 80363BB0 00360B10 7C 7F 1B 78 */ mr r31, r3 +/* 80363BB4 00360B14 88 61 00 08 */ lbz r3, 8(r1) +/* 80363BB8 00360B18 48 01 DA D1 */ bl OSRestoreInterrupts +/* 80363BBC 00360B1C 7F E3 FB 78 */ mr r3, r31 +lbl_80363BC0: +/* 80363BC0 00360B20 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80363BC4 00360B24 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80363BC8 00360B28 7C 08 03 A6 */ mtlr r0 +/* 80363BCC 00360B2C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80363BD0 00360B30 4E 80 00 20 */ blr + +.global UpdateVolume__17CDSPStreamManagerFic +UpdateVolume__17CDSPStreamManagerFic: +/* 80363BD4 00360B34 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80363BD8 00360B38 7C 08 02 A6 */ mflr r0 +/* 80363BDC 00360B3C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80363BE0 00360B40 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80363BE4 00360B44 7C 9F 23 78 */ mr r31, r4 +/* 80363BE8 00360B48 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80363BEC 00360B4C 7C 7E 1B 78 */ mr r30, r3 +/* 80363BF0 00360B50 48 01 DA 71 */ bl OSDisableInterrupts +/* 80363BF4 00360B54 7C 03 00 D0 */ neg r0, r3 +/* 80363BF8 00360B58 7C 00 1B 78 */ or r0, r0, r3 +/* 80363BFC 00360B5C 7F C3 F3 78 */ mr r3, r30 +/* 80363C00 00360B60 54 00 0F FE */ srwi r0, r0, 0x1f +/* 80363C04 00360B64 98 01 00 08 */ stb r0, 8(r1) +/* 80363C08 00360B68 48 00 02 C1 */ bl FindClaimedStreamIdx__17CDSPStreamManagerFi +/* 80363C0C 00360B6C 2C 03 FF FF */ cmpwi r3, -1 +/* 80363C10 00360B70 40 82 00 10 */ bne lbl_80363C20 +/* 80363C14 00360B74 88 61 00 08 */ lbz r3, 8(r1) +/* 80363C18 00360B78 48 01 DA 71 */ bl OSRestoreInterrupts +/* 80363C1C 00360B7C 48 00 00 38 */ b lbl_80363C54 +lbl_80363C20: +/* 80363C20 00360B80 1C 83 00 C0 */ mulli r4, r3, 0xc0 +/* 80363C24 00360B84 3C 60 80 5A */ lis r3, lbl_805A6860@ha +/* 80363C28 00360B88 38 03 68 60 */ addi r0, r3, lbl_805A6860@l +/* 80363C2C 00360B8C 7C 60 22 14 */ add r3, r0, r4 +/* 80363C30 00360B90 9B E3 00 73 */ stb r31, 0x73(r3) +/* 80363C34 00360B94 80 63 00 7C */ lwz r3, 0x7c(r3) +/* 80363C38 00360B98 3C 03 00 01 */ addis r0, r3, 1 +/* 80363C3C 00360B9C 28 00 FF FF */ cmplwi r0, 0xffff +/* 80363C40 00360BA0 41 82 00 0C */ beq lbl_80363C4C +/* 80363C44 00360BA4 7F E4 FB 78 */ mr r4, r31 +/* 80363C48 00360BA8 48 00 6C 7D */ bl UpdateVolume__10SDSPStreamFi +lbl_80363C4C: +/* 80363C4C 00360BAC 88 61 00 08 */ lbz r3, 8(r1) +/* 80363C50 00360BB0 48 01 DA 39 */ bl OSRestoreInterrupts +lbl_80363C54: +/* 80363C54 00360BB4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80363C58 00360BB8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80363C5C 00360BBC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80363C60 00360BC0 7C 08 03 A6 */ mtlr r0 +/* 80363C64 00360BC4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80363C68 00360BC8 4E 80 00 20 */ blr + +.global __ct__14SDSPStreamInfoFRC17CDSPStreamManager +__ct__14SDSPStreamInfoFRC17CDSPStreamManager: +/* 80363C6C 00360BCC 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 80363C70 00360BD0 7C 08 02 A6 */ mflr r0 +/* 80363C74 00360BD4 38 A0 00 60 */ li r5, 0x60 +/* 80363C78 00360BD8 90 01 00 54 */ stw r0, 0x54(r1) +/* 80363C7C 00360BDC 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 80363C80 00360BE0 7C 7F 1B 78 */ mr r31, r3 +/* 80363C84 00360BE4 80 C4 00 04 */ lwz r6, 4(r4) +/* 80363C88 00360BE8 A0 04 00 0C */ lhz r0, 0xc(r4) +/* 80363C8C 00360BEC 80 64 00 08 */ lwz r3, 8(r4) +/* 80363C90 00360BF0 54 C6 F8 74 */ rlwinm r6, r6, 0x1f, 1, 0x1a +/* 80363C94 00360BF4 80 E4 00 60 */ lwz r7, 0x60(r4) +/* 80363C98 00360BF8 28 00 00 00 */ cmplwi r0, 0 +/* 80363C9C 00360BFC B0 61 00 0C */ sth r3, 0xc(r1) +/* 80363CA0 00360C00 90 E1 00 08 */ stw r7, 8(r1) +/* 80363CA4 00360C04 90 C1 00 14 */ stw r6, 0x14(r1) +/* 80363CA8 00360C08 90 A1 00 10 */ stw r5, 0x10(r1) +/* 80363CAC 00360C0C 41 82 00 38 */ beq lbl_80363CE4 +/* 80363CB0 00360C10 80 04 00 14 */ lwz r0, 0x14(r4) +/* 80363CB4 00360C14 38 A0 00 01 */ li r5, 1 +/* 80363CB8 00360C18 80 64 00 10 */ lwz r3, 0x10(r4) +/* 80363CBC 00360C1C 54 07 F8 74 */ rlwinm r7, r0, 0x1f, 1, 0x1a +/* 80363CC0 00360C20 98 A1 00 18 */ stb r5, 0x18(r1) +/* 80363CC4 00360C24 54 60 F8 74 */ rlwinm r0, r3, 0x1f, 1, 0x1a +/* 80363CC8 00360C28 7C 07 30 40 */ cmplw r7, r6 +/* 80363CCC 00360C2C 90 01 00 1C */ stw r0, 0x1c(r1) +/* 80363CD0 00360C30 40 81 00 0C */ ble lbl_80363CDC +/* 80363CD4 00360C34 90 C1 00 20 */ stw r6, 0x20(r1) +/* 80363CD8 00360C38 48 00 00 1C */ b lbl_80363CF4 +lbl_80363CDC: +/* 80363CDC 00360C3C 90 E1 00 20 */ stw r7, 0x20(r1) +/* 80363CE0 00360C40 48 00 00 14 */ b lbl_80363CF4 +lbl_80363CE4: +/* 80363CE4 00360C44 38 00 00 00 */ li r0, 0 +/* 80363CE8 00360C48 98 01 00 18 */ stb r0, 0x18(r1) +/* 80363CEC 00360C4C 90 01 00 1C */ stw r0, 0x1c(r1) +/* 80363CF0 00360C50 90 01 00 20 */ stw r0, 0x20(r1) +lbl_80363CF4: +/* 80363CF4 00360C54 38 61 00 24 */ addi r3, r1, 0x24 +/* 80363CF8 00360C58 38 84 00 1C */ addi r4, r4, 0x1c +/* 80363CFC 00360C5C 38 A0 00 20 */ li r5, 0x20 +/* 80363D00 00360C60 4B C9 F7 91 */ bl memcpy +/* 80363D04 00360C64 80 61 00 08 */ lwz r3, 8(r1) +/* 80363D08 00360C68 80 01 00 0C */ lwz r0, 0xc(r1) +/* 80363D0C 00360C6C 90 7F 00 00 */ stw r3, 0(r31) +/* 80363D10 00360C70 90 1F 00 04 */ stw r0, 4(r31) +/* 80363D14 00360C74 80 61 00 10 */ lwz r3, 0x10(r1) +/* 80363D18 00360C78 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80363D1C 00360C7C 90 7F 00 08 */ stw r3, 8(r31) +/* 80363D20 00360C80 90 1F 00 0C */ stw r0, 0xc(r31) +/* 80363D24 00360C84 80 61 00 18 */ lwz r3, 0x18(r1) +/* 80363D28 00360C88 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 80363D2C 00360C8C 90 7F 00 10 */ stw r3, 0x10(r31) +/* 80363D30 00360C90 90 1F 00 14 */ stw r0, 0x14(r31) +/* 80363D34 00360C94 80 61 00 20 */ lwz r3, 0x20(r1) +/* 80363D38 00360C98 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80363D3C 00360C9C 90 7F 00 18 */ stw r3, 0x18(r31) +/* 80363D40 00360CA0 90 1F 00 1C */ stw r0, 0x1c(r31) +/* 80363D44 00360CA4 80 61 00 28 */ lwz r3, 0x28(r1) +/* 80363D48 00360CA8 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 80363D4C 00360CAC 90 7F 00 20 */ stw r3, 0x20(r31) +/* 80363D50 00360CB0 90 1F 00 24 */ stw r0, 0x24(r31) +/* 80363D54 00360CB4 80 61 00 30 */ lwz r3, 0x30(r1) +/* 80363D58 00360CB8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80363D5C 00360CBC 90 7F 00 28 */ stw r3, 0x28(r31) +/* 80363D60 00360CC0 90 1F 00 2C */ stw r0, 0x2c(r31) +/* 80363D64 00360CC4 80 61 00 38 */ lwz r3, 0x38(r1) +/* 80363D68 00360CC8 80 01 00 3C */ lwz r0, 0x3c(r1) +/* 80363D6C 00360CCC 90 7F 00 30 */ stw r3, 0x30(r31) +/* 80363D70 00360CD0 90 1F 00 34 */ stw r0, 0x34(r31) +/* 80363D74 00360CD4 80 01 00 40 */ lwz r0, 0x40(r1) +/* 80363D78 00360CD8 90 1F 00 38 */ stw r0, 0x38(r31) +/* 80363D7C 00360CDC 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 80363D80 00360CE0 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80363D84 00360CE4 7C 08 03 A6 */ mtlr r0 +/* 80363D88 00360CE8 38 21 00 50 */ addi r1, r1, 0x50 +/* 80363D8C 00360CEC 4E 80 00 20 */ blr + +.global StopStreaming__17CDSPStreamManagerFi +StopStreaming__17CDSPStreamManagerFi: +/* 80363D90 00360CF0 54 2B 06 FE */ clrlwi r11, r1, 0x1b +/* 80363D94 00360CF4 7C 2C 0B 78 */ mr r12, r1 +/* 80363D98 00360CF8 21 6B FE 20 */ subfic r11, r11, -480 +/* 80363D9C 00360CFC 7C 21 59 6E */ stwux r1, r1, r11 +/* 80363DA0 00360D00 7C 08 02 A6 */ mflr r0 +/* 80363DA4 00360D04 90 0C 00 04 */ stw r0, 4(r12) +/* 80363DA8 00360D08 93 EC FF FC */ stw r31, -4(r12) +/* 80363DAC 00360D0C 93 CC FF F8 */ stw r30, -8(r12) +/* 80363DB0 00360D10 7C 7E 1B 78 */ mr r30, r3 +/* 80363DB4 00360D14 48 01 D8 AD */ bl OSDisableInterrupts +/* 80363DB8 00360D18 7C 03 00 D0 */ neg r0, r3 +/* 80363DBC 00360D1C 7C 00 1B 78 */ or r0, r0, r3 +/* 80363DC0 00360D20 7F C3 F3 78 */ mr r3, r30 +/* 80363DC4 00360D24 54 00 0F FE */ srwi r0, r0, 0x1f +/* 80363DC8 00360D28 98 01 00 20 */ stb r0, 0x20(r1) +/* 80363DCC 00360D2C 48 00 00 FD */ bl FindClaimedStreamIdx__17CDSPStreamManagerFi +/* 80363DD0 00360D30 2C 03 FF FF */ cmpwi r3, -1 +/* 80363DD4 00360D34 40 82 00 10 */ bne lbl_80363DE4 +/* 80363DD8 00360D38 88 61 00 20 */ lbz r3, 0x20(r1) +/* 80363DDC 00360D3C 48 01 D8 AD */ bl OSRestoreInterrupts +/* 80363DE0 00360D40 48 00 00 CC */ b lbl_80363EAC +lbl_80363DE4: +/* 80363DE4 00360D44 1C 83 00 C0 */ mulli r4, r3, 0xc0 +/* 80363DE8 00360D48 3C 60 80 5A */ lis r3, lbl_805A6860@ha +/* 80363DEC 00360D4C 38 03 68 60 */ addi r0, r3, lbl_805A6860@l +/* 80363DF0 00360D50 7F C0 22 14 */ add r30, r0, r4 +/* 80363DF4 00360D54 88 7E 00 70 */ lbz r3, 0x70(r30) +/* 80363DF8 00360D58 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f +/* 80363DFC 00360D5C 41 82 00 10 */ beq lbl_80363E0C +/* 80363E00 00360D60 88 61 00 20 */ lbz r3, 0x20(r1) +/* 80363E04 00360D64 48 01 D8 85 */ bl OSRestoreInterrupts +/* 80363E08 00360D68 48 00 00 A4 */ b lbl_80363EAC +lbl_80363E0C: +/* 80363E0C 00360D6C 54 60 E7 BE */ rlwinm r0, r3, 0x1c, 0x1e, 0x1f +/* 80363E10 00360D70 2C 00 00 01 */ cmpwi r0, 1 +/* 80363E14 00360D74 40 82 00 20 */ bne lbl_80363E34 +/* 80363E18 00360D78 88 1E 00 70 */ lbz r0, 0x70(r30) +/* 80363E1C 00360D7C 38 60 00 01 */ li r3, 1 +/* 80363E20 00360D80 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 80363E24 00360D84 88 61 00 20 */ lbz r3, 0x20(r1) +/* 80363E28 00360D88 98 1E 00 70 */ stb r0, 0x70(r30) +/* 80363E2C 00360D8C 48 01 D8 5D */ bl OSRestoreInterrupts +/* 80363E30 00360D90 48 00 00 7C */ b lbl_80363EAC +lbl_80363E34: +/* 80363E34 00360D94 8B FE 00 71 */ lbz r31, 0x71(r30) +/* 80363E38 00360D98 7F E0 07 74 */ extsb r0, r31 +/* 80363E3C 00360D9C 2C 00 FF FF */ cmpwi r0, -1 +/* 80363E40 00360DA0 41 82 00 38 */ beq lbl_80363E78 +/* 80363E44 00360DA4 38 61 01 00 */ addi r3, r1, 0x100 +/* 80363E48 00360DA8 38 80 00 00 */ li r4, 0 +/* 80363E4C 00360DAC 48 00 0B 01 */ bl __ct__17CDSPStreamManagerFv +/* 80363E50 00360DB0 7F E0 07 74 */ extsb r0, r31 +/* 80363E54 00360DB4 3C 60 80 5A */ lis r3, lbl_805A6860@ha +/* 80363E58 00360DB8 1C A0 00 C0 */ mulli r5, r0, 0xc0 +/* 80363E5C 00360DBC 38 81 01 00 */ addi r4, r1, 0x100 +/* 80363E60 00360DC0 38 03 68 60 */ addi r0, r3, lbl_805A6860@l +/* 80363E64 00360DC4 7C 60 2A 14 */ add r3, r0, r5 +/* 80363E68 00360DC8 48 00 08 7D */ bl __as__17CDSPStreamManagerFRC17CDSPStreamManager +/* 80363E6C 00360DCC 34 61 01 60 */ addic. r3, r1, 0x160 +/* 80363E70 00360DD0 41 82 00 08 */ beq lbl_80363E78 +/* 80363E74 00360DD4 4B FD 9C 6D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80363E78: +/* 80363E78 00360DD8 80 7E 00 7C */ lwz r3, 0x7c(r30) +/* 80363E7C 00360DDC 48 00 6B 49 */ bl Silence__10SDSPStreamFv +/* 80363E80 00360DE0 38 61 00 40 */ addi r3, r1, 0x40 +/* 80363E84 00360DE4 38 80 00 00 */ li r4, 0 +/* 80363E88 00360DE8 48 00 0A C5 */ bl __ct__17CDSPStreamManagerFv +/* 80363E8C 00360DEC 7F C3 F3 78 */ mr r3, r30 +/* 80363E90 00360DF0 38 81 00 40 */ addi r4, r1, 0x40 +/* 80363E94 00360DF4 48 00 08 51 */ bl __as__17CDSPStreamManagerFRC17CDSPStreamManager +/* 80363E98 00360DF8 34 61 00 A0 */ addic. r3, r1, 0xa0 +/* 80363E9C 00360DFC 41 82 00 08 */ beq lbl_80363EA4 +/* 80363EA0 00360E00 4B FD 9C 41 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80363EA4: +/* 80363EA4 00360E04 88 61 00 20 */ lbz r3, 0x20(r1) +/* 80363EA8 00360E08 48 01 D7 E1 */ bl OSRestoreInterrupts +lbl_80363EAC: +/* 80363EAC 00360E0C 81 41 00 00 */ lwz r10, 0(r1) +/* 80363EB0 00360E10 80 0A 00 04 */ lwz r0, 4(r10) +/* 80363EB4 00360E14 83 EA FF FC */ lwz r31, -4(r10) +/* 80363EB8 00360E18 83 CA FF F8 */ lwz r30, -8(r10) +/* 80363EBC 00360E1C 7C 08 03 A6 */ mtlr r0 +/* 80363EC0 00360E20 7D 41 53 78 */ mr r1, r10 +/* 80363EC4 00360E24 4E 80 00 20 */ blr + +.global FindClaimedStreamIdx__17CDSPStreamManagerFi +FindClaimedStreamIdx__17CDSPStreamManagerFi: +/* 80363EC8 00360E28 3C 80 80 5A */ lis r4, lbl_805A6860@ha +/* 80363ECC 00360E2C 38 84 68 60 */ addi r4, r4, lbl_805A6860@l +/* 80363ED0 00360E30 88 04 00 70 */ lbz r0, 0x70(r4) +/* 80363ED4 00360E34 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80363ED8 00360E38 40 82 00 18 */ bne lbl_80363EF0 +/* 80363EDC 00360E3C 80 04 00 78 */ lwz r0, 0x78(r4) +/* 80363EE0 00360E40 7C 03 00 00 */ cmpw r3, r0 +/* 80363EE4 00360E44 40 82 00 0C */ bne lbl_80363EF0 +/* 80363EE8 00360E48 38 60 00 00 */ li r3, 0 +/* 80363EEC 00360E4C 4E 80 00 20 */ blr +lbl_80363EF0: +/* 80363EF0 00360E50 38 84 00 C0 */ addi r4, r4, 0xc0 +/* 80363EF4 00360E54 88 04 00 70 */ lbz r0, 0x70(r4) +/* 80363EF8 00360E58 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80363EFC 00360E5C 40 82 00 18 */ bne lbl_80363F14 +/* 80363F00 00360E60 80 04 00 78 */ lwz r0, 0x78(r4) +/* 80363F04 00360E64 7C 03 00 00 */ cmpw r3, r0 +/* 80363F08 00360E68 40 82 00 0C */ bne lbl_80363F14 +/* 80363F0C 00360E6C 38 60 00 01 */ li r3, 1 +/* 80363F10 00360E70 4E 80 00 20 */ blr +lbl_80363F14: +/* 80363F14 00360E74 88 04 01 30 */ lbz r0, 0x130(r4) +/* 80363F18 00360E78 38 84 00 C0 */ addi r4, r4, 0xc0 +/* 80363F1C 00360E7C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80363F20 00360E80 40 82 00 18 */ bne lbl_80363F38 +/* 80363F24 00360E84 80 04 00 78 */ lwz r0, 0x78(r4) +/* 80363F28 00360E88 7C 03 00 00 */ cmpw r3, r0 +/* 80363F2C 00360E8C 40 82 00 0C */ bne lbl_80363F38 +/* 80363F30 00360E90 38 60 00 02 */ li r3, 2 +/* 80363F34 00360E94 4E 80 00 20 */ blr +lbl_80363F38: +/* 80363F38 00360E98 88 04 01 30 */ lbz r0, 0x130(r4) +/* 80363F3C 00360E9C 38 84 00 C0 */ addi r4, r4, 0xc0 +/* 80363F40 00360EA0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80363F44 00360EA4 40 82 00 18 */ bne lbl_80363F5C +/* 80363F48 00360EA8 80 04 00 78 */ lwz r0, 0x78(r4) +/* 80363F4C 00360EAC 7C 03 00 00 */ cmpw r3, r0 +/* 80363F50 00360EB0 40 82 00 0C */ bne lbl_80363F5C +/* 80363F54 00360EB4 38 60 00 03 */ li r3, 3 +/* 80363F58 00360EB8 4E 80 00 20 */ blr +lbl_80363F5C: +/* 80363F5C 00360EBC 38 60 FF FF */ li r3, -1 +/* 80363F60 00360EC0 4E 80 00 20 */ blr + +.global GetFreeHandleId__17CDSPStreamManagerFv +GetFreeHandleId__17CDSPStreamManagerFv: +/* 80363F64 00360EC4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80363F68 00360EC8 7C 08 02 A6 */ mflr r0 +/* 80363F6C 00360ECC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80363F70 00360ED0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80363F74 00360ED4 48 01 D6 ED */ bl OSDisableInterrupts +/* 80363F78 00360ED8 7C 03 00 D0 */ neg r0, r3 +/* 80363F7C 00360EDC 7C 00 1B 78 */ or r0, r0, r3 +/* 80363F80 00360EE0 54 00 0F FE */ srwi r0, r0, 0x1f +/* 80363F84 00360EE4 98 01 00 08 */ stb r0, 8(r1) +lbl_80363F88: +/* 80363F88 00360EE8 80 6D AA B8 */ lwz r3, lbl_805A9678@sda21(r13) +/* 80363F8C 00360EEC 38 80 00 01 */ li r4, 1 +/* 80363F90 00360EF0 3B E3 00 01 */ addi r31, r3, 1 +/* 80363F94 00360EF4 2C 1F FF FF */ cmpwi r31, -1 +/* 80363F98 00360EF8 93 ED AA B8 */ stw r31, lbl_805A9678@sda21(r13) +/* 80363F9C 00360EFC 40 82 00 0C */ bne lbl_80363FA8 +/* 80363FA0 00360F00 38 80 00 00 */ li r4, 0 +/* 80363FA4 00360F04 48 00 00 94 */ b lbl_80364038 +lbl_80363FA8: +/* 80363FA8 00360F08 3C 60 80 5A */ lis r3, lbl_805A6860@ha +/* 80363FAC 00360F0C 38 63 68 60 */ addi r3, r3, lbl_805A6860@l +/* 80363FB0 00360F10 88 03 00 70 */ lbz r0, 0x70(r3) +/* 80363FB4 00360F14 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80363FB8 00360F18 40 82 00 18 */ bne lbl_80363FD0 +/* 80363FBC 00360F1C 80 03 00 78 */ lwz r0, 0x78(r3) +/* 80363FC0 00360F20 7C 1F 00 00 */ cmpw r31, r0 +/* 80363FC4 00360F24 40 82 00 0C */ bne lbl_80363FD0 +/* 80363FC8 00360F28 38 80 00 00 */ li r4, 0 +/* 80363FCC 00360F2C 48 00 00 6C */ b lbl_80364038 +lbl_80363FD0: +/* 80363FD0 00360F30 38 63 00 C0 */ addi r3, r3, 0xc0 +/* 80363FD4 00360F34 88 03 00 70 */ lbz r0, 0x70(r3) +/* 80363FD8 00360F38 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80363FDC 00360F3C 40 82 00 18 */ bne lbl_80363FF4 +/* 80363FE0 00360F40 80 03 00 78 */ lwz r0, 0x78(r3) +/* 80363FE4 00360F44 7C 1F 00 00 */ cmpw r31, r0 +/* 80363FE8 00360F48 40 82 00 0C */ bne lbl_80363FF4 +/* 80363FEC 00360F4C 38 80 00 00 */ li r4, 0 +/* 80363FF0 00360F50 48 00 00 48 */ b lbl_80364038 +lbl_80363FF4: +/* 80363FF4 00360F54 88 03 01 30 */ lbz r0, 0x130(r3) +/* 80363FF8 00360F58 38 63 00 C0 */ addi r3, r3, 0xc0 +/* 80363FFC 00360F5C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80364000 00360F60 40 82 00 18 */ bne lbl_80364018 +/* 80364004 00360F64 80 03 00 78 */ lwz r0, 0x78(r3) +/* 80364008 00360F68 7C 1F 00 00 */ cmpw r31, r0 +/* 8036400C 00360F6C 40 82 00 0C */ bne lbl_80364018 +/* 80364010 00360F70 38 80 00 00 */ li r4, 0 +/* 80364014 00360F74 48 00 00 24 */ b lbl_80364038 +lbl_80364018: +/* 80364018 00360F78 88 03 01 30 */ lbz r0, 0x130(r3) +/* 8036401C 00360F7C 38 63 00 C0 */ addi r3, r3, 0xc0 +/* 80364020 00360F80 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80364024 00360F84 40 82 00 14 */ bne lbl_80364038 +/* 80364028 00360F88 80 03 00 78 */ lwz r0, 0x78(r3) +/* 8036402C 00360F8C 7C 1F 00 00 */ cmpw r31, r0 +/* 80364030 00360F90 40 82 00 08 */ bne lbl_80364038 +/* 80364034 00360F94 38 80 00 00 */ li r4, 0 +lbl_80364038: +/* 80364038 00360F98 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 8036403C 00360F9C 41 82 FF 4C */ beq lbl_80363F88 +/* 80364040 00360FA0 88 61 00 08 */ lbz r3, 8(r1) +/* 80364044 00360FA4 48 01 D6 45 */ bl OSRestoreInterrupts +/* 80364048 00360FA8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8036404C 00360FAC 7F E3 FB 78 */ mr r3, r31 +/* 80364050 00360FB0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80364054 00360FB4 7C 08 03 A6 */ mtlr r0 +/* 80364058 00360FB8 38 21 00 20 */ addi r1, r1, 0x20 +/* 8036405C 00360FBC 4E 80 00 20 */ blr + +.global FindUnclaimedStereoPair__17CDSPStreamManagerFRiRi +FindUnclaimedStereoPair__17CDSPStreamManagerFRiRi: +/* 80364060 00360FC0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80364064 00360FC4 7C 08 02 A6 */ mflr r0 +/* 80364068 00360FC8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8036406C 00360FCC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80364070 00360FD0 7C 9F 23 78 */ mr r31, r4 +/* 80364074 00360FD4 93 C1 00 08 */ stw r30, 8(r1) +/* 80364078 00360FD8 7C 7E 1B 78 */ mr r30, r3 +/* 8036407C 00360FDC 48 00 00 D1 */ bl FindUnclaimedStreamIdx__17CDSPStreamManagerFv +/* 80364080 00360FE0 3C 80 80 5A */ lis r4, lbl_805A6860@ha +/* 80364084 00360FE4 38 A0 00 00 */ li r5, 0 +/* 80364088 00360FE8 38 84 68 60 */ addi r4, r4, lbl_805A6860@l +/* 8036408C 00360FEC 88 04 00 70 */ lbz r0, 0x70(r4) +/* 80364090 00360FF0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80364094 00360FF4 41 82 00 1C */ beq lbl_803640B0 +/* 80364098 00360FF8 7C 03 28 00 */ cmpw r3, r5 +/* 8036409C 00360FFC 41 82 00 14 */ beq lbl_803640B0 +/* 803640A0 00361000 90 7E 00 00 */ stw r3, 0(r30) +/* 803640A4 00361004 38 60 00 01 */ li r3, 1 +/* 803640A8 00361008 90 BF 00 00 */ stw r5, 0(r31) +/* 803640AC 0036100C 48 00 00 88 */ b lbl_80364134 +lbl_803640B0: +/* 803640B0 00361010 38 84 00 C0 */ addi r4, r4, 0xc0 +/* 803640B4 00361014 38 A0 00 01 */ li r5, 1 +/* 803640B8 00361018 88 04 00 70 */ lbz r0, 0x70(r4) +/* 803640BC 0036101C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 803640C0 00361020 41 82 00 1C */ beq lbl_803640DC +/* 803640C4 00361024 7C 03 28 00 */ cmpw r3, r5 +/* 803640C8 00361028 41 82 00 14 */ beq lbl_803640DC +/* 803640CC 0036102C 90 7E 00 00 */ stw r3, 0(r30) +/* 803640D0 00361030 38 60 00 01 */ li r3, 1 +/* 803640D4 00361034 90 BF 00 00 */ stw r5, 0(r31) +/* 803640D8 00361038 48 00 00 5C */ b lbl_80364134 +lbl_803640DC: +/* 803640DC 0036103C 88 04 01 30 */ lbz r0, 0x130(r4) +/* 803640E0 00361040 38 A0 00 02 */ li r5, 2 +/* 803640E4 00361044 38 84 00 C0 */ addi r4, r4, 0xc0 +/* 803640E8 00361048 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 803640EC 0036104C 41 82 00 1C */ beq lbl_80364108 +/* 803640F0 00361050 7C 03 28 00 */ cmpw r3, r5 +/* 803640F4 00361054 41 82 00 14 */ beq lbl_80364108 +/* 803640F8 00361058 90 7E 00 00 */ stw r3, 0(r30) +/* 803640FC 0036105C 38 60 00 01 */ li r3, 1 +/* 80364100 00361060 90 BF 00 00 */ stw r5, 0(r31) +/* 80364104 00361064 48 00 00 30 */ b lbl_80364134 +lbl_80364108: +/* 80364108 00361068 88 04 01 30 */ lbz r0, 0x130(r4) +/* 8036410C 0036106C 38 A0 00 03 */ li r5, 3 +/* 80364110 00361070 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80364114 00361074 41 82 00 1C */ beq lbl_80364130 +/* 80364118 00361078 7C 03 28 00 */ cmpw r3, r5 +/* 8036411C 0036107C 41 82 00 14 */ beq lbl_80364130 +/* 80364120 00361080 90 7E 00 00 */ stw r3, 0(r30) +/* 80364124 00361084 38 60 00 01 */ li r3, 1 +/* 80364128 00361088 90 BF 00 00 */ stw r5, 0(r31) +/* 8036412C 0036108C 48 00 00 08 */ b lbl_80364134 +lbl_80364130: +/* 80364130 00361090 38 60 00 00 */ li r3, 0 +lbl_80364134: +/* 80364134 00361094 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80364138 00361098 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8036413C 0036109C 83 C1 00 08 */ lwz r30, 8(r1) +/* 80364140 003610A0 7C 08 03 A6 */ mtlr r0 +/* 80364144 003610A4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80364148 003610A8 4E 80 00 20 */ blr + +.global FindUnclaimedStreamIdx__17CDSPStreamManagerFv +FindUnclaimedStreamIdx__17CDSPStreamManagerFv: +/* 8036414C 003610AC 3C 60 80 5A */ lis r3, lbl_805A6860@ha +/* 80364150 003610B0 38 63 68 60 */ addi r3, r3, lbl_805A6860@l +/* 80364154 003610B4 88 03 00 70 */ lbz r0, 0x70(r3) +/* 80364158 003610B8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8036415C 003610BC 41 82 00 0C */ beq lbl_80364168 +/* 80364160 003610C0 38 60 00 00 */ li r3, 0 +/* 80364164 003610C4 4E 80 00 20 */ blr +lbl_80364168: +/* 80364168 003610C8 38 63 00 C0 */ addi r3, r3, 0xc0 +/* 8036416C 003610CC 88 03 00 70 */ lbz r0, 0x70(r3) +/* 80364170 003610D0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80364174 003610D4 41 82 00 0C */ beq lbl_80364180 +/* 80364178 003610D8 38 60 00 01 */ li r3, 1 +/* 8036417C 003610DC 4E 80 00 20 */ blr +lbl_80364180: +/* 80364180 003610E0 88 03 01 30 */ lbz r0, 0x130(r3) +/* 80364184 003610E4 38 63 00 C0 */ addi r3, r3, 0xc0 +/* 80364188 003610E8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8036418C 003610EC 41 82 00 0C */ beq lbl_80364198 +/* 80364190 003610F0 38 60 00 02 */ li r3, 2 +/* 80364194 003610F4 4E 80 00 20 */ blr +lbl_80364198: +/* 80364198 003610F8 88 03 01 30 */ lbz r0, 0x130(r3) +/* 8036419C 003610FC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 803641A0 00361100 41 82 00 0C */ beq lbl_803641AC +/* 803641A4 00361104 38 60 00 03 */ li r3, 3 +/* 803641A8 00361108 4E 80 00 20 */ blr +lbl_803641AC: +/* 803641AC 0036110C 38 60 FF FF */ li r3, -1 +/* 803641B0 00361110 4E 80 00 20 */ blr + +.global StartStreaming__17CDSPStreamManagerFRCQ24rstl6stringcb +StartStreaming__17CDSPStreamManagerFRCQ24rstl6stringcb: +/* 803641B4 00361114 54 2B 06 FE */ clrlwi r11, r1, 0x1b +/* 803641B8 00361118 7C 2C 0B 78 */ mr r12, r1 +/* 803641BC 0036111C 21 6B FB 00 */ subfic r11, r11, -1280 +/* 803641C0 00361120 7C 21 59 6E */ stwux r1, r1, r11 +/* 803641C4 00361124 7C 08 02 A6 */ mflr r0 +/* 803641C8 00361128 90 0C 00 04 */ stw r0, 4(r12) +/* 803641CC 0036112C 93 EC FF FC */ stw r31, -4(r12) +/* 803641D0 00361130 93 CC FF F8 */ stw r30, -8(r12) +/* 803641D4 00361134 7C BE 2B 78 */ mr r30, r5 +/* 803641D8 00361138 93 AC FF F4 */ stw r29, -0xc(r12) +/* 803641DC 0036113C 7C 9D 23 78 */ mr r29, r4 +/* 803641E0 00361140 93 8C FF F0 */ stw r28, -0x10(r12) +/* 803641E4 00361144 7C 7C 1B 78 */ mr r28, r3 +/* 803641E8 00361148 48 01 D4 79 */ bl OSDisableInterrupts +/* 803641EC 0036114C 7C 83 00 D0 */ neg r4, r3 +/* 803641F0 00361150 7C 1E 00 D0 */ neg r0, r30 +/* 803641F4 00361154 7C 84 1B 78 */ or r4, r4, r3 +/* 803641F8 00361158 7F 83 E3 78 */ mr r3, r28 +/* 803641FC 0036115C 54 84 0F FE */ srwi r4, r4, 0x1f +/* 80364200 00361160 7C 00 F3 78 */ or r0, r0, r30 +/* 80364204 00361164 98 81 00 28 */ stb r4, 0x28(r1) +/* 80364208 00361168 54 1E 0F FE */ srwi r30, r0, 0x1f +/* 8036420C 0036116C 38 80 00 7C */ li r4, 0x7c +/* 80364210 00361170 38 A0 00 00 */ li r5, 0 +/* 80364214 00361174 4B EA 7F 41 */ bl sub_8020c154 +/* 80364218 00361178 7C 7F 1B 78 */ mr r31, r3 +/* 8036421C 0036117C 2C 1F FF FF */ cmpwi r31, -1 +/* 80364220 00361180 40 82 00 FC */ bne lbl_8036431C +/* 80364224 00361184 4B FF FF 29 */ bl FindUnclaimedStreamIdx__17CDSPStreamManagerFv +/* 80364228 00361188 7C 7F 1B 78 */ mr r31, r3 +/* 8036422C 0036118C 2C 1F FF FF */ cmpwi r31, -1 +/* 80364230 00361190 40 82 00 14 */ bne lbl_80364244 +/* 80364234 00361194 88 61 00 28 */ lbz r3, 0x28(r1) +/* 80364238 00361198 48 01 D4 51 */ bl OSRestoreInterrupts +/* 8036423C 0036119C 38 60 FF FF */ li r3, -1 +/* 80364240 003611A0 48 00 03 60 */ b lbl_803645A0 +lbl_80364244: +/* 80364244 003611A4 4B FF FD 21 */ bl GetFreeHandleId__17CDSPStreamManagerFv +/* 80364248 003611A8 7C 65 1B 78 */ mr r5, r3 +/* 8036424C 003611AC 7F 84 E3 78 */ mr r4, r28 +/* 80364250 003611B0 7F A6 EB 78 */ mr r6, r29 +/* 80364254 003611B4 7F C7 F3 78 */ mr r7, r30 +/* 80364258 003611B8 38 61 04 20 */ addi r3, r1, 0x420 +/* 8036425C 003611BC 48 00 07 85 */ bl __ct__17CDSPStreamManagerFRCQ24rstl6stringicc +/* 80364260 003611C0 88 01 04 90 */ lbz r0, 0x490(r1) +/* 80364264 003611C4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80364268 003611C8 40 82 00 98 */ bne lbl_80364300 +/* 8036426C 003611CC 1C BF 00 C0 */ mulli r5, r31, 0xc0 +/* 80364270 003611D0 3C 60 80 5A */ lis r3, lbl_805A6860@ha +/* 80364274 003611D4 38 81 04 20 */ addi r4, r1, 0x420 +/* 80364278 003611D8 38 03 68 60 */ addi r0, r3, lbl_805A6860@l +/* 8036427C 003611DC 7F C0 2A 14 */ add r30, r0, r5 +/* 80364280 003611E0 7F C3 F3 78 */ mr r3, r30 +/* 80364284 003611E4 48 00 04 61 */ bl __as__17CDSPStreamManagerFRC17CDSPStreamManager +/* 80364288 003611E8 3C 80 80 36 */ lis r4, HeaderReadComplete__17CDSPStreamManagerFiP11DVDFileInfo@ha +/* 8036428C 003611EC 7F C3 F3 78 */ mr r3, r30 +/* 80364290 003611F0 38 84 37 88 */ addi r4, r4, HeaderReadComplete__17CDSPStreamManagerFiP11DVDFileInfo@l +/* 80364294 003611F4 48 00 05 F1 */ bl StartHeaderRead__17CDSPStreamManagerF11DVDCallback +/* 80364298 003611F8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8036429C 003611FC 40 82 00 44 */ bne lbl_803642E0 +/* 803642A0 00361200 38 61 01 E0 */ addi r3, r1, 0x1e0 +/* 803642A4 00361204 38 80 00 00 */ li r4, 0 +/* 803642A8 00361208 48 00 06 A5 */ bl __ct__17CDSPStreamManagerFv +/* 803642AC 0036120C 7F C3 F3 78 */ mr r3, r30 +/* 803642B0 00361210 38 81 01 E0 */ addi r4, r1, 0x1e0 +/* 803642B4 00361214 48 00 04 31 */ bl __as__17CDSPStreamManagerFRC17CDSPStreamManager +/* 803642B8 00361218 34 61 02 40 */ addic. r3, r1, 0x240 +/* 803642BC 0036121C 41 82 00 08 */ beq lbl_803642C4 +/* 803642C0 00361220 4B FD 98 21 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_803642C4: +/* 803642C4 00361224 34 61 04 80 */ addic. r3, r1, 0x480 +/* 803642C8 00361228 41 82 00 08 */ beq lbl_803642D0 +/* 803642CC 0036122C 4B FD 98 15 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_803642D0: +/* 803642D0 00361230 88 61 00 28 */ lbz r3, 0x28(r1) +/* 803642D4 00361234 48 01 D3 B5 */ bl OSRestoreInterrupts +/* 803642D8 00361238 38 60 FF FF */ li r3, -1 +/* 803642DC 0036123C 48 00 02 C4 */ b lbl_803645A0 +lbl_803642E0: +/* 803642E0 00361240 34 61 04 80 */ addic. r3, r1, 0x480 +/* 803642E4 00361244 83 C1 04 98 */ lwz r30, 0x498(r1) +/* 803642E8 00361248 41 82 00 08 */ beq lbl_803642F0 +/* 803642EC 0036124C 4B FD 97 F5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_803642F0: +/* 803642F0 00361250 88 61 00 28 */ lbz r3, 0x28(r1) +/* 803642F4 00361254 48 01 D3 95 */ bl OSRestoreInterrupts +/* 803642F8 00361258 7F C3 F3 78 */ mr r3, r30 +/* 803642FC 0036125C 48 00 02 A4 */ b lbl_803645A0 +lbl_80364300: +/* 80364300 00361260 34 61 04 80 */ addic. r3, r1, 0x480 +/* 80364304 00361264 41 82 00 08 */ beq lbl_8036430C +/* 80364308 00361268 4B FD 97 D9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8036430C: +/* 8036430C 0036126C 88 61 00 28 */ lbz r3, 0x28(r1) +/* 80364310 00361270 48 01 D3 79 */ bl OSRestoreInterrupts +/* 80364314 00361274 38 60 FF FF */ li r3, -1 +/* 80364318 00361278 48 00 02 88 */ b lbl_803645A0 +lbl_8036431C: +/* 8036431C 0036127C 38 00 00 00 */ li r0, 0 +/* 80364320 00361280 38 61 00 30 */ addi r3, r1, 0x30 +/* 80364324 00361284 90 01 00 30 */ stw r0, 0x30(r1) +/* 80364328 00361288 38 81 00 2C */ addi r4, r1, 0x2c +/* 8036432C 0036128C 90 01 00 2C */ stw r0, 0x2c(r1) +/* 80364330 00361290 4B FF FD 31 */ bl FindUnclaimedStereoPair__17CDSPStreamManagerFRiRi +/* 80364334 00361294 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80364338 00361298 40 82 00 14 */ bne lbl_8036434C +/* 8036433C 0036129C 88 61 00 28 */ lbz r3, 0x28(r1) +/* 80364340 003612A0 48 01 D3 49 */ bl OSRestoreInterrupts +/* 80364344 003612A4 38 60 FF FF */ li r3, -1 +/* 80364348 003612A8 48 00 02 58 */ b lbl_803645A0 +lbl_8036434C: +/* 8036434C 003612AC 80 9C 00 00 */ lwz r4, 0(r28) +/* 80364350 003612B0 7F E5 FB 78 */ mr r5, r31 +/* 80364354 003612B4 38 61 00 44 */ addi r3, r1, 0x44 +/* 80364358 003612B8 38 C1 00 24 */ addi r6, r1, 0x24 +/* 8036435C 003612BC 4B FD 9E 39 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" +/* 80364360 003612C0 80 1C 00 00 */ lwz r0, 0(r28) +/* 80364364 003612C4 38 9F 00 01 */ addi r4, r31, 1 +/* 80364368 003612C8 38 61 00 34 */ addi r3, r1, 0x34 +/* 8036436C 003612CC 38 C1 00 20 */ addi r6, r1, 0x20 +/* 80364370 003612D0 7C 80 22 14 */ add r4, r0, r4 +/* 80364374 003612D4 38 A0 FF FF */ li r5, -1 +/* 80364378 003612D8 4B FD 9E 1D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" +/* 8036437C 003612DC 4B FF FB E9 */ bl GetFreeHandleId__17CDSPStreamManagerFv +/* 80364380 003612E0 7C 65 1B 78 */ mr r5, r3 +/* 80364384 003612E4 7F A6 EB 78 */ mr r6, r29 +/* 80364388 003612E8 7F C7 F3 78 */ mr r7, r30 +/* 8036438C 003612EC 38 61 03 60 */ addi r3, r1, 0x360 +/* 80364390 003612F0 38 81 00 44 */ addi r4, r1, 0x44 +/* 80364394 003612F4 48 00 06 4D */ bl __ct__17CDSPStreamManagerFRCQ24rstl6stringicc +/* 80364398 003612F8 4B FF FB CD */ bl GetFreeHandleId__17CDSPStreamManagerFv +/* 8036439C 003612FC 7C 65 1B 78 */ mr r5, r3 +/* 803643A0 00361300 7F A6 EB 78 */ mr r6, r29 +/* 803643A4 00361304 7F C7 F3 78 */ mr r7, r30 +/* 803643A8 00361308 38 61 02 A0 */ addi r3, r1, 0x2a0 +/* 803643AC 0036130C 38 81 00 34 */ addi r4, r1, 0x34 +/* 803643B0 00361310 48 00 06 31 */ bl __ct__17CDSPStreamManagerFRCQ24rstl6stringicc +/* 803643B4 00361314 88 01 03 D0 */ lbz r0, 0x3d0(r1) +/* 803643B8 00361318 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 803643BC 0036131C 40 82 00 10 */ bne lbl_803643CC +/* 803643C0 00361320 88 01 03 10 */ lbz r0, 0x310(r1) +/* 803643C4 00361324 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 803643C8 00361328 41 82 00 3C */ beq lbl_80364404 +lbl_803643CC: +/* 803643CC 0036132C 34 61 03 00 */ addic. r3, r1, 0x300 +/* 803643D0 00361330 41 82 00 08 */ beq lbl_803643D8 +/* 803643D4 00361334 4B FD 97 0D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_803643D8: +/* 803643D8 00361338 34 61 03 C0 */ addic. r3, r1, 0x3c0 +/* 803643DC 0036133C 41 82 00 08 */ beq lbl_803643E4 +/* 803643E0 00361340 4B FD 97 01 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_803643E4: +/* 803643E4 00361344 38 61 00 34 */ addi r3, r1, 0x34 +/* 803643E8 00361348 4B FD 96 F9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 803643EC 0036134C 38 61 00 44 */ addi r3, r1, 0x44 +/* 803643F0 00361350 4B FD 96 F1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 803643F4 00361354 88 61 00 28 */ lbz r3, 0x28(r1) +/* 803643F8 00361358 48 01 D2 91 */ bl OSRestoreInterrupts +/* 803643FC 0036135C 38 60 FF FF */ li r3, -1 +/* 80364400 00361360 48 00 01 A0 */ b lbl_803645A0 +lbl_80364404: +/* 80364404 00361364 80 A1 00 30 */ lwz r5, 0x30(r1) +/* 80364408 00361368 3C 60 80 5A */ lis r3, lbl_805A6860@ha +/* 8036440C 0036136C 80 81 00 2C */ lwz r4, 0x2c(r1) +/* 80364410 00361370 38 03 68 60 */ addi r0, r3, lbl_805A6860@l +/* 80364414 00361374 1C 65 00 C0 */ mulli r3, r5, 0xc0 +/* 80364418 00361378 98 A1 03 12 */ stb r5, 0x312(r1) +/* 8036441C 0036137C 98 81 03 D1 */ stb r4, 0x3d1(r1) +/* 80364420 00361380 38 81 03 60 */ addi r4, r1, 0x360 +/* 80364424 00361384 7C 60 1A 14 */ add r3, r0, r3 +/* 80364428 00361388 48 00 02 BD */ bl __as__17CDSPStreamManagerFRC17CDSPStreamManager +/* 8036442C 0036138C 80 A1 00 2C */ lwz r5, 0x2c(r1) +/* 80364430 00361390 3C 60 80 5A */ lis r3, lbl_805A6860@ha +/* 80364434 00361394 38 03 68 60 */ addi r0, r3, lbl_805A6860@l +/* 80364438 00361398 38 81 02 A0 */ addi r4, r1, 0x2a0 +/* 8036443C 0036139C 1C 65 00 C0 */ mulli r3, r5, 0xc0 +/* 80364440 003613A0 7C 60 1A 14 */ add r3, r0, r3 +/* 80364444 003613A4 48 00 02 A1 */ bl __as__17CDSPStreamManagerFRC17CDSPStreamManager +/* 80364448 003613A8 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 8036444C 003613AC 3C 80 80 5A */ lis r4, lbl_805A6860@ha +/* 80364450 003613B0 3C 60 80 36 */ lis r3, HeaderReadComplete__17CDSPStreamManagerFiP11DVDFileInfo@ha +/* 80364454 003613B4 1C A0 00 C0 */ mulli r5, r0, 0xc0 +/* 80364458 003613B8 38 04 68 60 */ addi r0, r4, lbl_805A6860@l +/* 8036445C 003613BC 38 83 37 88 */ addi r4, r3, HeaderReadComplete__17CDSPStreamManagerFiP11DVDFileInfo@l +/* 80364460 003613C0 7C 60 2A 14 */ add r3, r0, r5 +/* 80364464 003613C4 48 00 04 21 */ bl StartHeaderRead__17CDSPStreamManagerF11DVDCallback +/* 80364468 003613C8 80 01 00 30 */ lwz r0, 0x30(r1) +/* 8036446C 003613CC 7C 7F 1B 78 */ mr r31, r3 +/* 80364470 003613D0 3C 80 80 36 */ lis r4, HeaderReadComplete__17CDSPStreamManagerFiP11DVDFileInfo@ha +/* 80364474 003613D4 3C A0 80 5A */ lis r5, lbl_805A6860@ha +/* 80364478 003613D8 1C 60 00 C0 */ mulli r3, r0, 0xc0 +/* 8036447C 003613DC 38 05 68 60 */ addi r0, r5, lbl_805A6860@l +/* 80364480 003613E0 38 84 37 88 */ addi r4, r4, HeaderReadComplete__17CDSPStreamManagerFiP11DVDFileInfo@l +/* 80364484 003613E4 7C 60 1A 14 */ add r3, r0, r3 +/* 80364488 003613E8 48 00 03 FD */ bl StartHeaderRead__17CDSPStreamManagerF11DVDCallback +/* 8036448C 003613EC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80364490 003613F0 41 82 00 0C */ beq lbl_8036449C +/* 80364494 003613F4 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 80364498 003613F8 40 82 00 D0 */ bne lbl_80364568 +lbl_8036449C: +/* 8036449C 003613FC 80 81 00 30 */ lwz r4, 0x30(r1) +/* 803644A0 00361400 3C 60 80 5A */ lis r3, lbl_805A6860@ha +/* 803644A4 00361404 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 803644A8 00361408 38 C3 68 60 */ addi r6, r3, lbl_805A6860@l +/* 803644AC 0036140C 1C 64 00 C0 */ mulli r3, r4, 0xc0 +/* 803644B0 00361410 38 80 00 01 */ li r4, 1 +/* 803644B4 00361414 7F C6 1A 14 */ add r30, r6, r3 +/* 803644B8 00361418 1C A0 00 C0 */ mulli r5, r0, 0xc0 +/* 803644BC 0036141C 88 1E 00 70 */ lbz r0, 0x70(r30) +/* 803644C0 00361420 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 803644C4 00361424 98 1E 00 70 */ stb r0, 0x70(r30) +/* 803644C8 00361428 7F C3 F3 78 */ mr r3, r30 +/* 803644CC 0036142C 7F E6 2A 14 */ add r31, r6, r5 +/* 803644D0 00361430 88 1F 00 70 */ lbz r0, 0x70(r31) +/* 803644D4 00361434 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 803644D8 00361438 98 1F 00 70 */ stb r0, 0x70(r31) +/* 803644DC 0036143C 48 00 03 3D */ bl WaitForReadCompletion__17CDSPStreamManagerFv +/* 803644E0 00361440 7F E3 FB 78 */ mr r3, r31 +/* 803644E4 00361444 48 00 03 35 */ bl WaitForReadCompletion__17CDSPStreamManagerFv +/* 803644E8 00361448 38 61 01 20 */ addi r3, r1, 0x120 +/* 803644EC 0036144C 38 80 00 00 */ li r4, 0 +/* 803644F0 00361450 48 00 04 5D */ bl __ct__17CDSPStreamManagerFv +/* 803644F4 00361454 7F C3 F3 78 */ mr r3, r30 +/* 803644F8 00361458 38 81 01 20 */ addi r4, r1, 0x120 +/* 803644FC 0036145C 48 00 01 E9 */ bl __as__17CDSPStreamManagerFRC17CDSPStreamManager +/* 80364500 00361460 34 61 01 80 */ addic. r3, r1, 0x180 +/* 80364504 00361464 41 82 00 08 */ beq lbl_8036450C +/* 80364508 00361468 4B FD 95 D9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8036450C: +/* 8036450C 0036146C 38 61 00 60 */ addi r3, r1, 0x60 +/* 80364510 00361470 38 80 00 00 */ li r4, 0 +/* 80364514 00361474 48 00 04 39 */ bl __ct__17CDSPStreamManagerFv +/* 80364518 00361478 7F E3 FB 78 */ mr r3, r31 +/* 8036451C 0036147C 38 81 00 60 */ addi r4, r1, 0x60 +/* 80364520 00361480 48 00 01 C5 */ bl __as__17CDSPStreamManagerFRC17CDSPStreamManager +/* 80364524 00361484 34 61 00 C0 */ addic. r3, r1, 0xc0 +/* 80364528 00361488 41 82 00 08 */ beq lbl_80364530 +/* 8036452C 0036148C 4B FD 95 B5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80364530: +/* 80364530 00361490 34 61 03 00 */ addic. r3, r1, 0x300 +/* 80364534 00361494 41 82 00 08 */ beq lbl_8036453C +/* 80364538 00361498 4B FD 95 A9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8036453C: +/* 8036453C 0036149C 34 61 03 C0 */ addic. r3, r1, 0x3c0 +/* 80364540 003614A0 41 82 00 08 */ beq lbl_80364548 +/* 80364544 003614A4 4B FD 95 9D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80364548: +/* 80364548 003614A8 38 61 00 34 */ addi r3, r1, 0x34 +/* 8036454C 003614AC 4B FD 95 95 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80364550 003614B0 38 61 00 44 */ addi r3, r1, 0x44 +/* 80364554 003614B4 4B FD 95 8D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80364558 003614B8 88 61 00 28 */ lbz r3, 0x28(r1) +/* 8036455C 003614BC 48 01 D1 2D */ bl OSRestoreInterrupts +/* 80364560 003614C0 38 60 FF FF */ li r3, -1 +/* 80364564 003614C4 48 00 00 3C */ b lbl_803645A0 +lbl_80364568: +/* 80364568 003614C8 34 61 03 00 */ addic. r3, r1, 0x300 +/* 8036456C 003614CC 83 C1 03 D8 */ lwz r30, 0x3d8(r1) +/* 80364570 003614D0 41 82 00 08 */ beq lbl_80364578 +/* 80364574 003614D4 4B FD 95 6D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80364578: +/* 80364578 003614D8 34 61 03 C0 */ addic. r3, r1, 0x3c0 +/* 8036457C 003614DC 41 82 00 08 */ beq lbl_80364584 +/* 80364580 003614E0 4B FD 95 61 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80364584: +/* 80364584 003614E4 38 61 00 34 */ addi r3, r1, 0x34 +/* 80364588 003614E8 4B FD 95 59 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8036458C 003614EC 38 61 00 44 */ addi r3, r1, 0x44 +/* 80364590 003614F0 4B FD 95 51 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80364594 003614F4 88 61 00 28 */ lbz r3, 0x28(r1) +/* 80364598 003614F8 48 01 D0 F1 */ bl OSRestoreInterrupts +/* 8036459C 003614FC 7F C3 F3 78 */ mr r3, r30 +lbl_803645A0: +/* 803645A0 00361500 81 41 00 00 */ lwz r10, 0(r1) +/* 803645A4 00361504 80 0A 00 04 */ lwz r0, 4(r10) +/* 803645A8 00361508 83 EA FF FC */ lwz r31, -4(r10) +/* 803645AC 0036150C 83 CA FF F8 */ lwz r30, -8(r10) +/* 803645B0 00361510 83 AA FF F4 */ lwz r29, -0xc(r10) +/* 803645B4 00361514 83 8A FF F0 */ lwz r28, -0x10(r10) +/* 803645B8 00361518 7C 08 03 A6 */ mtlr r0 +/* 803645BC 0036151C 7D 41 53 78 */ mr r1, r10 +/* 803645C0 00361520 4E 80 00 20 */ blr + +.global Shutdown__17CDSPStreamManagerFv +Shutdown__17CDSPStreamManagerFv: +/* 803645C4 00361524 54 2B 06 FE */ clrlwi r11, r1, 0x1b +/* 803645C8 00361528 7C 2C 0B 78 */ mr r12, r1 +/* 803645CC 0036152C 21 6B FF 00 */ subfic r11, r11, -256 +/* 803645D0 00361530 7C 21 59 6E */ stwux r1, r1, r11 +/* 803645D4 00361534 7C 08 02 A6 */ mflr r0 +/* 803645D8 00361538 90 0C 00 04 */ stw r0, 4(r12) +/* 803645DC 0036153C 93 EC FF FC */ stw r31, -4(r12) +/* 803645E0 00361540 93 CC FF F8 */ stw r30, -8(r12) +/* 803645E4 00361544 93 AC FF F4 */ stw r29, -0xc(r12) +/* 803645E8 00361548 48 00 68 E9 */ bl FreeAllStreams__10SDSPStreamFi +/* 803645EC 0036154C 3C 60 80 5A */ lis r3, lbl_805A6860@ha +/* 803645F0 00361550 3B C1 00 80 */ addi r30, r1, 0x80 +/* 803645F4 00361554 3B E3 68 60 */ addi r31, r3, lbl_805A6860@l +/* 803645F8 00361558 3B A0 00 00 */ li r29, 0 +lbl_803645FC: +/* 803645FC 0036155C 38 61 00 20 */ addi r3, r1, 0x20 +/* 80364600 00361560 38 80 00 00 */ li r4, 0 +/* 80364604 00361564 48 00 03 49 */ bl __ct__17CDSPStreamManagerFv +/* 80364608 00361568 7F E3 FB 78 */ mr r3, r31 +/* 8036460C 0036156C 38 81 00 20 */ addi r4, r1, 0x20 +/* 80364610 00361570 48 00 00 D5 */ bl __as__17CDSPStreamManagerFRC17CDSPStreamManager +/* 80364614 00361574 28 1E 00 00 */ cmplwi r30, 0 +/* 80364618 00361578 41 82 00 0C */ beq lbl_80364624 +/* 8036461C 0036157C 7F C3 F3 78 */ mr r3, r30 +/* 80364620 00361580 4B FD 94 C1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80364624: +/* 80364624 00361584 3B BD 00 01 */ addi r29, r29, 1 +/* 80364628 00361588 3B FF 00 C0 */ addi r31, r31, 0xc0 +/* 8036462C 0036158C 2C 1D 00 04 */ cmpwi r29, 4 +/* 80364630 00361590 41 80 FF CC */ blt lbl_803645FC +/* 80364634 00361594 81 41 00 00 */ lwz r10, 0(r1) +/* 80364638 00361598 80 0A 00 04 */ lwz r0, 4(r10) +/* 8036463C 0036159C 83 EA FF FC */ lwz r31, -4(r10) +/* 80364640 003615A0 83 CA FF F8 */ lwz r30, -8(r10) +/* 80364644 003615A4 83 AA FF F4 */ lwz r29, -0xc(r10) +/* 80364648 003615A8 7C 08 03 A6 */ mtlr r0 +/* 8036464C 003615AC 7D 41 53 78 */ mr r1, r10 +/* 80364650 003615B0 4E 80 00 20 */ blr + +.global Initialize__17CDSPStreamManagerFv +Initialize__17CDSPStreamManagerFv: +/* 80364654 003615B4 54 2B 06 FE */ clrlwi r11, r1, 0x1b +/* 80364658 003615B8 7C 2C 0B 78 */ mr r12, r1 +/* 8036465C 003615BC 21 6B FF 00 */ subfic r11, r11, -256 +/* 80364660 003615C0 7C 21 59 6E */ stwux r1, r1, r11 +/* 80364664 003615C4 7C 08 02 A6 */ mflr r0 +/* 80364668 003615C8 90 0C 00 04 */ stw r0, 4(r12) +/* 8036466C 003615CC 93 EC FF FC */ stw r31, -4(r12) +/* 80364670 003615D0 93 CC FF F8 */ stw r30, -8(r12) +/* 80364674 003615D4 93 AC FF F4 */ stw r29, -0xc(r12) +/* 80364678 003615D8 48 00 68 B1 */ bl Initialize__10SDSPStreamFv +/* 8036467C 003615DC 3C 60 80 5A */ lis r3, lbl_805A6860@ha +/* 80364680 003615E0 3B C1 00 80 */ addi r30, r1, 0x80 +/* 80364684 003615E4 3B E3 68 60 */ addi r31, r3, lbl_805A6860@l +/* 80364688 003615E8 3B A0 00 00 */ li r29, 0 +lbl_8036468C: +/* 8036468C 003615EC 38 61 00 20 */ addi r3, r1, 0x20 +/* 80364690 003615F0 38 80 00 00 */ li r4, 0 +/* 80364694 003615F4 48 00 02 B9 */ bl __ct__17CDSPStreamManagerFv +/* 80364698 003615F8 7F E3 FB 78 */ mr r3, r31 +/* 8036469C 003615FC 38 81 00 20 */ addi r4, r1, 0x20 +/* 803646A0 00361600 48 00 00 45 */ bl __as__17CDSPStreamManagerFRC17CDSPStreamManager +/* 803646A4 00361604 28 1E 00 00 */ cmplwi r30, 0 +/* 803646A8 00361608 41 82 00 0C */ beq lbl_803646B4 +/* 803646AC 0036160C 7F C3 F3 78 */ mr r3, r30 +/* 803646B0 00361610 4B FD 94 31 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_803646B4: +/* 803646B4 00361614 3B BD 00 01 */ addi r29, r29, 1 +/* 803646B8 00361618 3B FF 00 C0 */ addi r31, r31, 0xc0 +/* 803646BC 0036161C 2C 1D 00 04 */ cmpwi r29, 4 +/* 803646C0 00361620 41 80 FF CC */ blt lbl_8036468C +/* 803646C4 00361624 81 41 00 00 */ lwz r10, 0(r1) +/* 803646C8 00361628 80 0A 00 04 */ lwz r0, 4(r10) +/* 803646CC 0036162C 83 EA FF FC */ lwz r31, -4(r10) +/* 803646D0 00361630 83 CA FF F8 */ lwz r30, -8(r10) +/* 803646D4 00361634 83 AA FF F4 */ lwz r29, -0xc(r10) +/* 803646D8 00361638 7C 08 03 A6 */ mtlr r0 +/* 803646DC 0036163C 7D 41 53 78 */ mr r1, r10 +/* 803646E0 00361640 4E 80 00 20 */ blr + +.global __as__17CDSPStreamManagerFRC17CDSPStreamManager +__as__17CDSPStreamManagerFRC17CDSPStreamManager: +/* 803646E4 00361644 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803646E8 00361648 7C 08 02 A6 */ mflr r0 +/* 803646EC 0036164C 90 01 00 14 */ stw r0, 0x14(r1) +/* 803646F0 00361650 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803646F4 00361654 7C 9F 23 78 */ mr r31, r4 +/* 803646F8 00361658 93 C1 00 08 */ stw r30, 8(r1) +/* 803646FC 0036165C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80364700 00361660 41 82 00 14 */ beq lbl_80364714 +/* 80364704 00361664 34 1E 00 60 */ addic. r0, r30, 0x60 +/* 80364708 00361668 41 82 00 0C */ beq lbl_80364714 +/* 8036470C 0036166C 38 7E 00 60 */ addi r3, r30, 0x60 +/* 80364710 00361670 4B FD 93 D1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80364714: +/* 80364714 00361674 28 1E 00 00 */ cmplwi r30, 0 +/* 80364718 00361678 41 82 00 E4 */ beq lbl_803647FC +/* 8036471C 0036167C 38 00 00 0C */ li r0, 0xc +/* 80364720 00361680 38 BE FF FC */ addi r5, r30, -4 +/* 80364724 00361684 38 9F FF FC */ addi r4, r31, -4 +/* 80364728 00361688 7C 09 03 A6 */ mtctr r0 +lbl_8036472C: +/* 8036472C 0036168C 80 64 00 04 */ lwz r3, 4(r4) +/* 80364730 00361690 84 04 00 08 */ lwzu r0, 8(r4) +/* 80364734 00361694 90 65 00 04 */ stw r3, 4(r5) +/* 80364738 00361698 94 05 00 08 */ stwu r0, 8(r5) +/* 8036473C 0036169C 42 00 FF F0 */ bdnz lbl_8036472C +/* 80364740 003616A0 38 7E 00 60 */ addi r3, r30, 0x60 +/* 80364744 003616A4 38 9F 00 60 */ addi r4, r31, 0x60 +/* 80364748 003616A8 4B FD 9A 19 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8036474C 003616AC 88 1F 00 70 */ lbz r0, 0x70(r31) +/* 80364750 003616B0 98 1E 00 70 */ stb r0, 0x70(r30) +/* 80364754 003616B4 88 1F 00 71 */ lbz r0, 0x71(r31) +/* 80364758 003616B8 98 1E 00 71 */ stb r0, 0x71(r30) +/* 8036475C 003616BC 88 1F 00 72 */ lbz r0, 0x72(r31) +/* 80364760 003616C0 98 1E 00 72 */ stb r0, 0x72(r30) +/* 80364764 003616C4 88 1F 00 73 */ lbz r0, 0x73(r31) +/* 80364768 003616C8 98 1E 00 73 */ stb r0, 0x73(r30) +/* 8036476C 003616CC 88 1F 00 74 */ lbz r0, 0x74(r31) +/* 80364770 003616D0 98 1E 00 74 */ stb r0, 0x74(r30) +/* 80364774 003616D4 80 1F 00 78 */ lwz r0, 0x78(r31) +/* 80364778 003616D8 90 1E 00 78 */ stw r0, 0x78(r30) +/* 8036477C 003616DC 80 1F 00 7C */ lwz r0, 0x7c(r31) +/* 80364780 003616E0 90 1E 00 7C */ stw r0, 0x7c(r30) +/* 80364784 003616E4 80 7F 00 80 */ lwz r3, 0x80(r31) +/* 80364788 003616E8 80 1F 00 84 */ lwz r0, 0x84(r31) +/* 8036478C 003616EC 90 7E 00 80 */ stw r3, 0x80(r30) +/* 80364790 003616F0 90 1E 00 84 */ stw r0, 0x84(r30) +/* 80364794 003616F4 80 7F 00 88 */ lwz r3, 0x88(r31) +/* 80364798 003616F8 80 1F 00 8C */ lwz r0, 0x8c(r31) +/* 8036479C 003616FC 90 7E 00 88 */ stw r3, 0x88(r30) +/* 803647A0 00361700 90 1E 00 8C */ stw r0, 0x8c(r30) +/* 803647A4 00361704 80 7F 00 90 */ lwz r3, 0x90(r31) +/* 803647A8 00361708 80 1F 00 94 */ lwz r0, 0x94(r31) +/* 803647AC 0036170C 90 7E 00 90 */ stw r3, 0x90(r30) +/* 803647B0 00361710 90 1E 00 94 */ stw r0, 0x94(r30) +/* 803647B4 00361714 80 7F 00 98 */ lwz r3, 0x98(r31) +/* 803647B8 00361718 80 1F 00 9C */ lwz r0, 0x9c(r31) +/* 803647BC 0036171C 90 7E 00 98 */ stw r3, 0x98(r30) +/* 803647C0 00361720 90 1E 00 9C */ stw r0, 0x9c(r30) +/* 803647C4 00361724 80 7F 00 A0 */ lwz r3, 0xa0(r31) +/* 803647C8 00361728 80 1F 00 A4 */ lwz r0, 0xa4(r31) +/* 803647CC 0036172C 90 7E 00 A0 */ stw r3, 0xa0(r30) +/* 803647D0 00361730 90 1E 00 A4 */ stw r0, 0xa4(r30) +/* 803647D4 00361734 80 7F 00 A8 */ lwz r3, 0xa8(r31) +/* 803647D8 00361738 80 1F 00 AC */ lwz r0, 0xac(r31) +/* 803647DC 0036173C 90 7E 00 A8 */ stw r3, 0xa8(r30) +/* 803647E0 00361740 90 1E 00 AC */ stw r0, 0xac(r30) +/* 803647E4 00361744 80 7F 00 B0 */ lwz r3, 0xb0(r31) +/* 803647E8 00361748 80 1F 00 B4 */ lwz r0, 0xb4(r31) +/* 803647EC 0036174C 90 7E 00 B0 */ stw r3, 0xb0(r30) +/* 803647F0 00361750 90 1E 00 B4 */ stw r0, 0xb4(r30) +/* 803647F4 00361754 80 1F 00 B8 */ lwz r0, 0xb8(r31) +/* 803647F8 00361758 90 1E 00 B8 */ stw r0, 0xb8(r30) +lbl_803647FC: +/* 803647FC 0036175C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80364800 00361760 7F C3 F3 78 */ mr r3, r30 +/* 80364804 00361764 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80364808 00361768 83 C1 00 08 */ lwz r30, 8(r1) +/* 8036480C 0036176C 7C 08 03 A6 */ mtlr r0 +/* 80364810 00361770 38 21 00 10 */ addi r1, r1, 0x10 +/* 80364814 00361774 4E 80 00 20 */ blr + +.global WaitForReadCompletion__17CDSPStreamManagerFv +WaitForReadCompletion__17CDSPStreamManagerFv: +/* 80364818 00361778 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8036481C 0036177C 7C 08 02 A6 */ mflr r0 +/* 80364820 00361780 90 01 00 14 */ stw r0, 0x14(r1) +/* 80364824 00361784 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80364828 00361788 93 C1 00 08 */ stw r30, 8(r1) +/* 8036482C 0036178C 7C 7E 1B 78 */ mr r30, r3 +/* 80364830 00361790 48 01 CE 45 */ bl OSEnableInterrupts +/* 80364834 00361794 7C 7F 1B 78 */ mr r31, r3 +/* 80364838 00361798 48 00 00 08 */ b lbl_80364840 +lbl_8036483C: +/* 8036483C 0036179C 48 02 02 E1 */ bl OSYieldThread +lbl_80364840: +/* 80364840 003617A0 88 1E 00 70 */ lbz r0, 0x70(r30) +/* 80364844 003617A4 54 00 E7 BE */ rlwinm r0, r0, 0x1c, 0x1e, 0x1f +/* 80364848 003617A8 28 00 00 01 */ cmplwi r0, 1 +/* 8036484C 003617AC 41 82 FF F0 */ beq lbl_8036483C +/* 80364850 003617B0 7F E3 FB 78 */ mr r3, r31 +/* 80364854 003617B4 48 01 CE 35 */ bl OSRestoreInterrupts +/* 80364858 003617B8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8036485C 003617BC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80364860 003617C0 83 C1 00 08 */ lwz r30, 8(r1) +/* 80364864 003617C4 7C 08 03 A6 */ mtlr r0 +/* 80364868 003617C8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8036486C 003617CC 4E 80 00 20 */ blr + +.global sub_80364870 +sub_80364870: +/* 80364870 003617D0 80 03 00 08 */ lwz r0, 8(r3) +/* 80364874 003617D4 20 00 7D 00 */ subfic r0, r0, 0x7d00 +/* 80364878 003617D8 7C 00 00 34 */ cntlzw r0, r0 +/* 8036487C 003617DC 54 03 D9 7E */ srwi r3, r0, 5 +/* 80364880 003617E0 4E 80 00 20 */ blr + +.global StartHeaderRead__17CDSPStreamManagerF11DVDCallback +StartHeaderRead__17CDSPStreamManagerF11DVDCallback: +/* 80364884 003617E4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80364888 003617E8 7C 08 02 A6 */ mflr r0 +/* 8036488C 003617EC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80364890 003617F0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80364894 003617F4 7C 9F 23 78 */ mr r31, r4 +/* 80364898 003617F8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8036489C 003617FC 7C 7E 1B 78 */ mr r30, r3 +/* 803648A0 00361800 48 01 CD C1 */ bl OSDisableInterrupts +/* 803648A4 00361804 7C 03 00 D0 */ neg r0, r3 +/* 803648A8 00361808 88 9E 00 70 */ lbz r4, 0x70(r30) +/* 803648AC 0036180C 7C 03 1B 78 */ or r3, r0, r3 +/* 803648B0 00361810 54 63 0F FE */ srwi r3, r3, 0x1f +/* 803648B4 00361814 54 80 E7 BF */ rlwinm. r0, r4, 0x1c, 0x1e, 0x1f +/* 803648B8 00361818 98 61 00 08 */ stb r3, 8(r1) +/* 803648BC 0036181C 40 82 00 0C */ bne lbl_803648C8 +/* 803648C0 00361820 54 80 CF FF */ rlwinm. r0, r4, 0x19, 0x1f, 0x1f +/* 803648C4 00361824 41 82 00 14 */ beq lbl_803648D8 +lbl_803648C8: +/* 803648C8 00361828 88 61 00 08 */ lbz r3, 8(r1) +/* 803648CC 0036182C 48 01 CD BD */ bl OSRestoreInterrupts +/* 803648D0 00361830 38 60 00 00 */ li r3, 0 +/* 803648D4 00361834 48 00 00 60 */ b lbl_80364934 +lbl_803648D8: +/* 803648D8 00361838 80 7E 00 60 */ lwz r3, 0x60(r30) +/* 803648DC 0036183C 38 9E 00 80 */ addi r4, r30, 0x80 +/* 803648E0 00361840 48 00 CD A5 */ bl DVDOpen +/* 803648E4 00361844 2C 03 00 00 */ cmpwi r3, 0 +/* 803648E8 00361848 40 82 00 14 */ bne lbl_803648FC +/* 803648EC 0036184C 88 61 00 08 */ lbz r3, 8(r1) +/* 803648F0 00361850 48 01 CD 99 */ bl OSRestoreInterrupts +/* 803648F4 00361854 38 60 00 00 */ li r3, 0 +/* 803648F8 00361858 48 00 00 3C */ b lbl_80364934 +lbl_803648FC: +/* 803648FC 0036185C 7F C4 F3 78 */ mr r4, r30 +/* 80364900 00361860 7F E7 FB 78 */ mr r7, r31 +/* 80364904 00361864 38 7E 00 80 */ addi r3, r30, 0x80 +/* 80364908 00361868 38 A0 00 60 */ li r5, 0x60 +/* 8036490C 0036186C 38 C0 00 00 */ li r6, 0 +/* 80364910 00361870 39 00 00 01 */ li r8, 1 +/* 80364914 00361874 48 00 D0 81 */ bl DVDReadAsyncPrio +/* 80364918 00361878 88 1E 00 70 */ lbz r0, 0x70(r30) +/* 8036491C 0036187C 38 60 00 01 */ li r3, 1 +/* 80364920 00361880 50 60 26 B6 */ rlwimi r0, r3, 4, 0x1a, 0x1b +/* 80364924 00361884 88 61 00 08 */ lbz r3, 8(r1) +/* 80364928 00361888 98 1E 00 70 */ stb r0, 0x70(r30) +/* 8036492C 0036188C 48 01 CD 5D */ bl OSRestoreInterrupts +/* 80364930 00361890 38 60 00 01 */ li r3, 1 +lbl_80364934: +/* 80364934 00361894 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80364938 00361898 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8036493C 0036189C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80364940 003618A0 7C 08 03 A6 */ mtlr r0 +/* 80364944 003618A4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80364948 003618A8 4E 80 00 20 */ blr + +.global __ct__17CDSPStreamManagerFv +__ct__17CDSPStreamManagerFv: +/* 8036494C 003618AC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80364950 003618B0 7C 08 02 A6 */ mflr r0 +/* 80364954 003618B4 3C 80 80 3E */ lis r4, lbl_803D8400@ha +/* 80364958 003618B8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8036495C 003618BC 38 84 84 00 */ addi r4, r4, lbl_803D8400@l +/* 80364960 003618C0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80364964 003618C4 7C 7F 1B 78 */ mr r31, r3 +/* 80364968 003618C8 38 61 00 08 */ addi r3, r1, 8 +/* 8036496C 003618CC 4B CA 03 4D */ bl string_l__4rstlFPCc +/* 80364970 003618D0 38 7F 00 60 */ addi r3, r31, 0x60 +/* 80364974 003618D4 38 81 00 08 */ addi r4, r1, 8 +/* 80364978 003618D8 4B FD 97 E9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8036497C 003618DC 38 61 00 08 */ addi r3, r1, 8 +/* 80364980 003618E0 4B FD 91 61 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80364984 003618E4 88 1F 00 70 */ lbz r0, 0x70(r31) +/* 80364988 003618E8 38 60 00 01 */ li r3, 1 +/* 8036498C 003618EC 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80364990 003618F0 38 A0 00 00 */ li r5, 0 +/* 80364994 003618F4 98 1F 00 70 */ stb r0, 0x70(r31) +/* 80364998 003618F8 38 00 FF FF */ li r0, -1 +/* 8036499C 003618FC 7F E3 FB 78 */ mr r3, r31 +/* 803649A0 00361900 88 9F 00 70 */ lbz r4, 0x70(r31) +/* 803649A4 00361904 50 A4 36 72 */ rlwimi r4, r5, 6, 0x19, 0x19 +/* 803649A8 00361908 98 9F 00 70 */ stb r4, 0x70(r31) +/* 803649AC 0036190C 88 9F 00 70 */ lbz r4, 0x70(r31) +/* 803649B0 00361910 50 A4 26 B6 */ rlwimi r4, r5, 4, 0x1a, 0x1b +/* 803649B4 00361914 98 9F 00 70 */ stb r4, 0x70(r31) +/* 803649B8 00361918 98 1F 00 71 */ stb r0, 0x71(r31) +/* 803649BC 0036191C 98 1F 00 72 */ stb r0, 0x72(r31) +/* 803649C0 00361920 98 BF 00 73 */ stb r5, 0x73(r31) +/* 803649C4 00361924 90 1F 00 78 */ stw r0, 0x78(r31) +/* 803649C8 00361928 90 1F 00 7C */ stw r0, 0x7c(r31) +/* 803649CC 0036192C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803649D0 00361930 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803649D4 00361934 7C 08 03 A6 */ mtlr r0 +/* 803649D8 00361938 38 21 00 20 */ addi r1, r1, 0x20 +/* 803649DC 0036193C 4E 80 00 20 */ blr + +.global __ct__17CDSPStreamManagerFRCQ24rstl6stringicc +__ct__17CDSPStreamManagerFRCQ24rstl6stringicc: +/* 803649E0 00361940 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803649E4 00361944 7C 08 02 A6 */ mflr r0 +/* 803649E8 00361948 90 01 00 24 */ stw r0, 0x24(r1) +/* 803649EC 0036194C BF 61 00 0C */ stmw r27, 0xc(r1) +/* 803649F0 00361950 7C 7B 1B 78 */ mr r27, r3 +/* 803649F4 00361954 7C 9C 23 78 */ mr r28, r4 +/* 803649F8 00361958 7C BD 2B 78 */ mr r29, r5 +/* 803649FC 0036195C 7C DE 33 78 */ mr r30, r6 +/* 80364A00 00361960 7C FF 3B 78 */ mr r31, r7 +/* 80364A04 00361964 38 7B 00 60 */ addi r3, r27, 0x60 +/* 80364A08 00361968 4B FD 97 59 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80364A0C 0036196C 88 7B 00 70 */ lbz r3, 0x70(r27) +/* 80364A10 00361970 38 80 00 00 */ li r4, 0 +/* 80364A14 00361974 50 83 3E 30 */ rlwimi r3, r4, 7, 0x18, 0x18 +/* 80364A18 00361978 38 00 FF FF */ li r0, -1 +/* 80364A1C 0036197C 98 7B 00 70 */ stb r3, 0x70(r27) +/* 80364A20 00361980 88 7B 00 70 */ lbz r3, 0x70(r27) +/* 80364A24 00361984 50 83 36 72 */ rlwimi r3, r4, 6, 0x19, 0x19 +/* 80364A28 00361988 98 7B 00 70 */ stb r3, 0x70(r27) +/* 80364A2C 0036198C 88 7B 00 70 */ lbz r3, 0x70(r27) +/* 80364A30 00361990 50 83 26 B6 */ rlwimi r3, r4, 4, 0x1a, 0x1b +/* 80364A34 00361994 98 7B 00 70 */ stb r3, 0x70(r27) +/* 80364A38 00361998 98 1B 00 71 */ stb r0, 0x71(r27) +/* 80364A3C 0036199C 98 1B 00 72 */ stb r0, 0x72(r27) +/* 80364A40 003619A0 9B DB 00 73 */ stb r30, 0x73(r27) +/* 80364A44 003619A4 9B FB 00 74 */ stb r31, 0x74(r27) +/* 80364A48 003619A8 93 BB 00 78 */ stw r29, 0x78(r27) +/* 80364A4C 003619AC 90 1B 00 7C */ stw r0, 0x7c(r27) +/* 80364A50 003619B0 80 7C 00 00 */ lwz r3, 0(r28) +/* 80364A54 003619B4 4B FE AE F9 */ bl FileExists__8CDvdFileFPCc +/* 80364A58 003619B8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80364A5C 003619BC 40 82 00 1C */ bne lbl_80364A78 +/* 80364A60 003619C0 88 1B 00 70 */ lbz r0, 0x70(r27) +/* 80364A64 003619C4 38 60 00 01 */ li r3, 1 +/* 80364A68 003619C8 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80364A6C 003619CC 7F 63 DB 78 */ mr r3, r27 +/* 80364A70 003619D0 98 1B 00 70 */ stb r0, 0x70(r27) +/* 80364A74 003619D4 48 00 00 08 */ b lbl_80364A7C +lbl_80364A78: +/* 80364A78 003619D8 7F 63 DB 78 */ mr r3, r27 +lbl_80364A7C: +/* 80364A7C 003619DC BB 61 00 0C */ lmw r27, 0xc(r1) +/* 80364A80 003619E0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80364A84 003619E4 7C 08 03 A6 */ mtlr r0 +/* 80364A88 003619E8 38 21 00 20 */ addi r1, r1, 0x20 +/* 80364A8C 003619EC 4E 80 00 20 */ blr + +.global __sinit_CDSPStreamManager_cpp +__sinit_CDSPStreamManager_cpp: +/* 80364A90 003619F0 54 2B 06 FE */ clrlwi r11, r1, 0x1b +/* 80364A94 003619F4 7C 2C 0B 78 */ mr r12, r1 +/* 80364A98 003619F8 21 6B FC 80 */ subfic r11, r11, -896 +/* 80364A9C 003619FC 7C 21 59 6E */ stwux r1, r1, r11 +/* 80364AA0 00361A00 7C 08 02 A6 */ mflr r0 +/* 80364AA4 00361A04 3C 80 80 54 */ lis r4, lbl_80540520@ha +/* 80364AA8 00361A08 90 0C 00 04 */ stw r0, 4(r12) +/* 80364AAC 00361A0C 38 61 02 60 */ addi r3, r1, 0x260 +/* 80364AB0 00361A10 BD EC FF BC */ stmw r15, -0x44(r12) +/* 80364AB4 00361A14 3B E4 05 20 */ addi r31, r4, lbl_80540520@l +/* 80364AB8 00361A18 38 80 00 00 */ li r4, 0 +/* 80364ABC 00361A1C 4B FF FE 91 */ bl __ct__17CDSPStreamManagerFv +/* 80364AC0 00361A20 3C 60 80 5A */ lis r3, lbl_805A6860@ha +/* 80364AC4 00361A24 38 00 00 0C */ li r0, 0xc +/* 80364AC8 00361A28 38 63 68 60 */ addi r3, r3, lbl_805A6860@l +/* 80364ACC 00361A2C 38 81 02 5C */ addi r4, r1, 0x25c +/* 80364AD0 00361A30 38 A3 FF FC */ addi r5, r3, -4 +/* 80364AD4 00361A34 7C 09 03 A6 */ mtctr r0 +lbl_80364AD8: +/* 80364AD8 00361A38 80 64 00 04 */ lwz r3, 4(r4) +/* 80364ADC 00361A3C 84 04 00 08 */ lwzu r0, 8(r4) +/* 80364AE0 00361A40 90 65 00 04 */ stw r3, 4(r5) +/* 80364AE4 00361A44 94 05 00 08 */ stwu r0, 8(r5) +/* 80364AE8 00361A48 42 00 FF F0 */ bdnz lbl_80364AD8 +/* 80364AEC 00361A4C 3C 60 80 5A */ lis r3, lbl_805A6860@ha +/* 80364AF0 00361A50 3B C1 02 C0 */ addi r30, r1, 0x2c0 +/* 80364AF4 00361A54 38 63 68 60 */ addi r3, r3, lbl_805A6860@l +/* 80364AF8 00361A58 7F C4 F3 78 */ mr r4, r30 +/* 80364AFC 00361A5C 38 63 00 60 */ addi r3, r3, 0x60 +/* 80364B00 00361A60 4B FD 96 61 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80364B04 00361A64 3C 60 80 5A */ lis r3, lbl_805A6860@ha +/* 80364B08 00361A68 89 41 02 D0 */ lbz r10, 0x2d0(r1) +/* 80364B0C 00361A6C 38 63 68 60 */ addi r3, r3, lbl_805A6860@l +/* 80364B10 00361A70 89 21 02 D1 */ lbz r9, 0x2d1(r1) +/* 80364B14 00361A74 89 01 02 D2 */ lbz r8, 0x2d2(r1) +/* 80364B18 00361A78 3C 80 80 36 */ lis r4, sub_8036372c@ha +/* 80364B1C 00361A7C 88 E1 02 D3 */ lbz r7, 0x2d3(r1) +/* 80364B20 00361A80 38 84 37 2C */ addi r4, r4, sub_8036372c@l +/* 80364B24 00361A84 88 C1 02 D4 */ lbz r6, 0x2d4(r1) +/* 80364B28 00361A88 38 BF 00 00 */ addi r5, r31, 0 +/* 80364B2C 00361A8C 80 01 02 D8 */ lwz r0, 0x2d8(r1) +/* 80364B30 00361A90 83 81 02 DC */ lwz r28, 0x2dc(r1) +/* 80364B34 00361A94 83 61 02 E0 */ lwz r27, 0x2e0(r1) +/* 80364B38 00361A98 83 41 02 E4 */ lwz r26, 0x2e4(r1) +/* 80364B3C 00361A9C 83 21 02 E8 */ lwz r25, 0x2e8(r1) +/* 80364B40 00361AA0 83 01 02 EC */ lwz r24, 0x2ec(r1) +/* 80364B44 00361AA4 82 E1 02 F0 */ lwz r23, 0x2f0(r1) +/* 80364B48 00361AA8 82 C1 02 F4 */ lwz r22, 0x2f4(r1) +/* 80364B4C 00361AAC 82 A1 02 F8 */ lwz r21, 0x2f8(r1) +/* 80364B50 00361AB0 82 81 02 FC */ lwz r20, 0x2fc(r1) +/* 80364B54 00361AB4 82 61 03 00 */ lwz r19, 0x300(r1) +/* 80364B58 00361AB8 82 41 03 04 */ lwz r18, 0x304(r1) +/* 80364B5C 00361ABC 82 21 03 08 */ lwz r17, 0x308(r1) +/* 80364B60 00361AC0 82 01 03 0C */ lwz r16, 0x30c(r1) +/* 80364B64 00361AC4 81 E1 03 10 */ lwz r15, 0x310(r1) +/* 80364B68 00361AC8 81 81 03 14 */ lwz r12, 0x314(r1) +/* 80364B6C 00361ACC 81 61 03 18 */ lwz r11, 0x318(r1) +/* 80364B70 00361AD0 99 43 00 70 */ stb r10, 0x70(r3) +/* 80364B74 00361AD4 99 23 00 71 */ stb r9, 0x71(r3) +/* 80364B78 00361AD8 99 03 00 72 */ stb r8, 0x72(r3) +/* 80364B7C 00361ADC 98 E3 00 73 */ stb r7, 0x73(r3) +/* 80364B80 00361AE0 98 C3 00 74 */ stb r6, 0x74(r3) +/* 80364B84 00361AE4 90 03 00 78 */ stw r0, 0x78(r3) +/* 80364B88 00361AE8 93 83 00 7C */ stw r28, 0x7c(r3) +/* 80364B8C 00361AEC 93 63 00 80 */ stw r27, 0x80(r3) +/* 80364B90 00361AF0 93 43 00 84 */ stw r26, 0x84(r3) +/* 80364B94 00361AF4 93 23 00 88 */ stw r25, 0x88(r3) +/* 80364B98 00361AF8 93 03 00 8C */ stw r24, 0x8c(r3) +/* 80364B9C 00361AFC 92 E3 00 90 */ stw r23, 0x90(r3) +/* 80364BA0 00361B00 92 C3 00 94 */ stw r22, 0x94(r3) +/* 80364BA4 00361B04 92 A3 00 98 */ stw r21, 0x98(r3) +/* 80364BA8 00361B08 92 83 00 9C */ stw r20, 0x9c(r3) +/* 80364BAC 00361B0C 92 63 00 A0 */ stw r19, 0xa0(r3) +/* 80364BB0 00361B10 92 43 00 A4 */ stw r18, 0xa4(r3) +/* 80364BB4 00361B14 92 23 00 A8 */ stw r17, 0xa8(r3) +/* 80364BB8 00361B18 92 03 00 AC */ stw r16, 0xac(r3) +/* 80364BBC 00361B1C 91 E3 00 B0 */ stw r15, 0xb0(r3) +/* 80364BC0 00361B20 91 83 00 B4 */ stw r12, 0xb4(r3) +/* 80364BC4 00361B24 91 63 00 B8 */ stw r11, 0xb8(r3) +/* 80364BC8 00361B28 48 02 4A C5 */ bl __register_global_object +/* 80364BCC 00361B2C 28 1E 00 00 */ cmplwi r30, 0 +/* 80364BD0 00361B30 41 82 00 0C */ beq lbl_80364BDC +/* 80364BD4 00361B34 7F C3 F3 78 */ mr r3, r30 +/* 80364BD8 00361B38 4B FD 8F 09 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80364BDC: +/* 80364BDC 00361B3C 38 61 01 A0 */ addi r3, r1, 0x1a0 +/* 80364BE0 00361B40 38 80 00 00 */ li r4, 0 +/* 80364BE4 00361B44 4B FF FD 69 */ bl __ct__17CDSPStreamManagerFv +/* 80364BE8 00361B48 3C 60 80 5A */ lis r3, lbl_805A6860@ha +/* 80364BEC 00361B4C 38 00 00 0C */ li r0, 0xc +/* 80364BF0 00361B50 38 63 68 60 */ addi r3, r3, lbl_805A6860@l +/* 80364BF4 00361B54 38 81 01 9C */ addi r4, r1, 0x19c +/* 80364BF8 00361B58 3B A3 00 C0 */ addi r29, r3, 0xc0 +/* 80364BFC 00361B5C 38 BD FF FC */ addi r5, r29, -4 +/* 80364C00 00361B60 7C 09 03 A6 */ mtctr r0 +lbl_80364C04: +/* 80364C04 00361B64 80 64 00 04 */ lwz r3, 4(r4) +/* 80364C08 00361B68 84 04 00 08 */ lwzu r0, 8(r4) +/* 80364C0C 00361B6C 90 65 00 04 */ stw r3, 4(r5) +/* 80364C10 00361B70 94 05 00 08 */ stwu r0, 8(r5) +/* 80364C14 00361B74 42 00 FF F0 */ bdnz lbl_80364C04 +/* 80364C18 00361B78 3B C1 02 00 */ addi r30, r1, 0x200 +/* 80364C1C 00361B7C 38 7D 00 60 */ addi r3, r29, 0x60 +/* 80364C20 00361B80 7F C4 F3 78 */ mr r4, r30 +/* 80364C24 00361B84 4B FD 95 3D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80364C28 00361B88 89 01 02 10 */ lbz r8, 0x210(r1) +/* 80364C2C 00361B8C 3C 60 80 36 */ lis r3, sub_8036372c@ha +/* 80364C30 00361B90 88 E1 02 11 */ lbz r7, 0x211(r1) +/* 80364C34 00361B94 38 83 37 2C */ addi r4, r3, sub_8036372c@l +/* 80364C38 00361B98 88 C1 02 12 */ lbz r6, 0x212(r1) +/* 80364C3C 00361B9C 7F A3 EB 78 */ mr r3, r29 +/* 80364C40 00361BA0 88 01 02 13 */ lbz r0, 0x213(r1) +/* 80364C44 00361BA4 38 BF 00 0C */ addi r5, r31, 0xc +/* 80364C48 00361BA8 8B 81 02 14 */ lbz r28, 0x214(r1) +/* 80364C4C 00361BAC 83 61 02 18 */ lwz r27, 0x218(r1) +/* 80364C50 00361BB0 83 41 02 1C */ lwz r26, 0x21c(r1) +/* 80364C54 00361BB4 83 21 02 20 */ lwz r25, 0x220(r1) +/* 80364C58 00361BB8 83 01 02 24 */ lwz r24, 0x224(r1) +/* 80364C5C 00361BBC 82 E1 02 28 */ lwz r23, 0x228(r1) +/* 80364C60 00361BC0 82 C1 02 2C */ lwz r22, 0x22c(r1) +/* 80364C64 00361BC4 82 A1 02 30 */ lwz r21, 0x230(r1) +/* 80364C68 00361BC8 82 81 02 34 */ lwz r20, 0x234(r1) +/* 80364C6C 00361BCC 82 61 02 38 */ lwz r19, 0x238(r1) +/* 80364C70 00361BD0 82 41 02 3C */ lwz r18, 0x23c(r1) +/* 80364C74 00361BD4 82 21 02 40 */ lwz r17, 0x240(r1) +/* 80364C78 00361BD8 82 01 02 44 */ lwz r16, 0x244(r1) +/* 80364C7C 00361BDC 81 E1 02 48 */ lwz r15, 0x248(r1) +/* 80364C80 00361BE0 81 81 02 4C */ lwz r12, 0x24c(r1) +/* 80364C84 00361BE4 81 61 02 50 */ lwz r11, 0x250(r1) +/* 80364C88 00361BE8 81 41 02 54 */ lwz r10, 0x254(r1) +/* 80364C8C 00361BEC 81 21 02 58 */ lwz r9, 0x258(r1) +/* 80364C90 00361BF0 99 1D 00 70 */ stb r8, 0x70(r29) +/* 80364C94 00361BF4 98 FD 00 71 */ stb r7, 0x71(r29) +/* 80364C98 00361BF8 98 DD 00 72 */ stb r6, 0x72(r29) +/* 80364C9C 00361BFC 98 1D 00 73 */ stb r0, 0x73(r29) +/* 80364CA0 00361C00 9B 9D 00 74 */ stb r28, 0x74(r29) +/* 80364CA4 00361C04 93 7D 00 78 */ stw r27, 0x78(r29) +/* 80364CA8 00361C08 93 5D 00 7C */ stw r26, 0x7c(r29) +/* 80364CAC 00361C0C 93 3D 00 80 */ stw r25, 0x80(r29) +/* 80364CB0 00361C10 93 1D 00 84 */ stw r24, 0x84(r29) +/* 80364CB4 00361C14 92 FD 00 88 */ stw r23, 0x88(r29) +/* 80364CB8 00361C18 92 DD 00 8C */ stw r22, 0x8c(r29) +/* 80364CBC 00361C1C 92 BD 00 90 */ stw r21, 0x90(r29) +/* 80364CC0 00361C20 92 9D 00 94 */ stw r20, 0x94(r29) +/* 80364CC4 00361C24 92 7D 00 98 */ stw r19, 0x98(r29) +/* 80364CC8 00361C28 92 5D 00 9C */ stw r18, 0x9c(r29) +/* 80364CCC 00361C2C 92 3D 00 A0 */ stw r17, 0xa0(r29) +/* 80364CD0 00361C30 92 1D 00 A4 */ stw r16, 0xa4(r29) +/* 80364CD4 00361C34 91 FD 00 A8 */ stw r15, 0xa8(r29) +/* 80364CD8 00361C38 91 9D 00 AC */ stw r12, 0xac(r29) +/* 80364CDC 00361C3C 91 7D 00 B0 */ stw r11, 0xb0(r29) +/* 80364CE0 00361C40 91 5D 00 B4 */ stw r10, 0xb4(r29) +/* 80364CE4 00361C44 91 3D 00 B8 */ stw r9, 0xb8(r29) +/* 80364CE8 00361C48 48 02 49 A5 */ bl __register_global_object +/* 80364CEC 00361C4C 28 1E 00 00 */ cmplwi r30, 0 +/* 80364CF0 00361C50 41 82 00 0C */ beq lbl_80364CFC +/* 80364CF4 00361C54 7F C3 F3 78 */ mr r3, r30 +/* 80364CF8 00361C58 4B FD 8D E9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80364CFC: +/* 80364CFC 00361C5C 38 61 00 E0 */ addi r3, r1, 0xe0 +/* 80364D00 00361C60 38 80 00 00 */ li r4, 0 +/* 80364D04 00361C64 4B FF FC 49 */ bl __ct__17CDSPStreamManagerFv +/* 80364D08 00361C68 3C 60 80 5A */ lis r3, lbl_805A6860@ha +/* 80364D0C 00361C6C 38 00 00 0C */ li r0, 0xc +/* 80364D10 00361C70 38 63 68 60 */ addi r3, r3, lbl_805A6860@l +/* 80364D14 00361C74 38 81 00 DC */ addi r4, r1, 0xdc +/* 80364D18 00361C78 3B A3 01 80 */ addi r29, r3, 0x180 +/* 80364D1C 00361C7C 38 BD FF FC */ addi r5, r29, -4 +/* 80364D20 00361C80 7C 09 03 A6 */ mtctr r0 +lbl_80364D24: +/* 80364D24 00361C84 80 64 00 04 */ lwz r3, 4(r4) +/* 80364D28 00361C88 84 04 00 08 */ lwzu r0, 8(r4) +/* 80364D2C 00361C8C 90 65 00 04 */ stw r3, 4(r5) +/* 80364D30 00361C90 94 05 00 08 */ stwu r0, 8(r5) +/* 80364D34 00361C94 42 00 FF F0 */ bdnz lbl_80364D24 +/* 80364D38 00361C98 3B C1 01 40 */ addi r30, r1, 0x140 +/* 80364D3C 00361C9C 38 7D 00 60 */ addi r3, r29, 0x60 +/* 80364D40 00361CA0 7F C4 F3 78 */ mr r4, r30 +/* 80364D44 00361CA4 4B FD 94 1D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80364D48 00361CA8 89 01 01 50 */ lbz r8, 0x150(r1) +/* 80364D4C 00361CAC 3C 60 80 36 */ lis r3, sub_8036372c@ha +/* 80364D50 00361CB0 88 E1 01 51 */ lbz r7, 0x151(r1) +/* 80364D54 00361CB4 38 83 37 2C */ addi r4, r3, sub_8036372c@l +/* 80364D58 00361CB8 88 C1 01 52 */ lbz r6, 0x152(r1) +/* 80364D5C 00361CBC 7F A3 EB 78 */ mr r3, r29 +/* 80364D60 00361CC0 88 01 01 53 */ lbz r0, 0x153(r1) +/* 80364D64 00361CC4 38 BF 00 18 */ addi r5, r31, 0x18 +/* 80364D68 00361CC8 89 E1 01 54 */ lbz r15, 0x154(r1) +/* 80364D6C 00361CCC 83 81 01 58 */ lwz r28, 0x158(r1) +/* 80364D70 00361CD0 83 61 01 5C */ lwz r27, 0x15c(r1) +/* 80364D74 00361CD4 83 41 01 60 */ lwz r26, 0x160(r1) +/* 80364D78 00361CD8 83 21 01 64 */ lwz r25, 0x164(r1) +/* 80364D7C 00361CDC 83 01 01 68 */ lwz r24, 0x168(r1) +/* 80364D80 00361CE0 82 E1 01 6C */ lwz r23, 0x16c(r1) +/* 80364D84 00361CE4 82 C1 01 70 */ lwz r22, 0x170(r1) +/* 80364D88 00361CE8 82 A1 01 74 */ lwz r21, 0x174(r1) +/* 80364D8C 00361CEC 82 81 01 78 */ lwz r20, 0x178(r1) +/* 80364D90 00361CF0 82 61 01 7C */ lwz r19, 0x17c(r1) +/* 80364D94 00361CF4 82 41 01 80 */ lwz r18, 0x180(r1) +/* 80364D98 00361CF8 82 21 01 84 */ lwz r17, 0x184(r1) +/* 80364D9C 00361CFC 82 01 01 88 */ lwz r16, 0x188(r1) +/* 80364DA0 00361D00 81 81 01 8C */ lwz r12, 0x18c(r1) +/* 80364DA4 00361D04 81 61 01 90 */ lwz r11, 0x190(r1) +/* 80364DA8 00361D08 81 41 01 94 */ lwz r10, 0x194(r1) +/* 80364DAC 00361D0C 81 21 01 98 */ lwz r9, 0x198(r1) +/* 80364DB0 00361D10 99 1D 00 70 */ stb r8, 0x70(r29) +/* 80364DB4 00361D14 98 FD 00 71 */ stb r7, 0x71(r29) +/* 80364DB8 00361D18 98 DD 00 72 */ stb r6, 0x72(r29) +/* 80364DBC 00361D1C 98 1D 00 73 */ stb r0, 0x73(r29) +/* 80364DC0 00361D20 99 FD 00 74 */ stb r15, 0x74(r29) +/* 80364DC4 00361D24 93 9D 00 78 */ stw r28, 0x78(r29) +/* 80364DC8 00361D28 93 7D 00 7C */ stw r27, 0x7c(r29) +/* 80364DCC 00361D2C 93 5D 00 80 */ stw r26, 0x80(r29) +/* 80364DD0 00361D30 93 3D 00 84 */ stw r25, 0x84(r29) +/* 80364DD4 00361D34 93 1D 00 88 */ stw r24, 0x88(r29) +/* 80364DD8 00361D38 92 FD 00 8C */ stw r23, 0x8c(r29) +/* 80364DDC 00361D3C 92 DD 00 90 */ stw r22, 0x90(r29) +/* 80364DE0 00361D40 92 BD 00 94 */ stw r21, 0x94(r29) +/* 80364DE4 00361D44 92 9D 00 98 */ stw r20, 0x98(r29) +/* 80364DE8 00361D48 92 7D 00 9C */ stw r19, 0x9c(r29) +/* 80364DEC 00361D4C 92 5D 00 A0 */ stw r18, 0xa0(r29) +/* 80364DF0 00361D50 92 3D 00 A4 */ stw r17, 0xa4(r29) +/* 80364DF4 00361D54 92 1D 00 A8 */ stw r16, 0xa8(r29) +/* 80364DF8 00361D58 91 9D 00 AC */ stw r12, 0xac(r29) +/* 80364DFC 00361D5C 91 7D 00 B0 */ stw r11, 0xb0(r29) +/* 80364E00 00361D60 91 5D 00 B4 */ stw r10, 0xb4(r29) +/* 80364E04 00361D64 91 3D 00 B8 */ stw r9, 0xb8(r29) +/* 80364E08 00361D68 48 02 48 85 */ bl __register_global_object +/* 80364E0C 00361D6C 28 1E 00 00 */ cmplwi r30, 0 +/* 80364E10 00361D70 41 82 00 0C */ beq lbl_80364E1C +/* 80364E14 00361D74 7F C3 F3 78 */ mr r3, r30 +/* 80364E18 00361D78 4B FD 8C C9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80364E1C: +/* 80364E1C 00361D7C 38 61 00 20 */ addi r3, r1, 0x20 +/* 80364E20 00361D80 38 80 00 00 */ li r4, 0 +/* 80364E24 00361D84 4B FF FB 29 */ bl __ct__17CDSPStreamManagerFv +/* 80364E28 00361D88 3C 60 80 5A */ lis r3, lbl_805A6860@ha +/* 80364E2C 00361D8C 38 00 00 0C */ li r0, 0xc +/* 80364E30 00361D90 38 63 68 60 */ addi r3, r3, lbl_805A6860@l +/* 80364E34 00361D94 38 81 00 1C */ addi r4, r1, 0x1c +/* 80364E38 00361D98 3B A3 02 40 */ addi r29, r3, 0x240 +/* 80364E3C 00361D9C 38 BD FF FC */ addi r5, r29, -4 +/* 80364E40 00361DA0 7C 09 03 A6 */ mtctr r0 +lbl_80364E44: +/* 80364E44 00361DA4 80 64 00 04 */ lwz r3, 4(r4) +/* 80364E48 00361DA8 84 04 00 08 */ lwzu r0, 8(r4) +/* 80364E4C 00361DAC 90 65 00 04 */ stw r3, 4(r5) +/* 80364E50 00361DB0 94 05 00 08 */ stwu r0, 8(r5) +/* 80364E54 00361DB4 42 00 FF F0 */ bdnz lbl_80364E44 +/* 80364E58 00361DB8 3B C1 00 80 */ addi r30, r1, 0x80 +/* 80364E5C 00361DBC 38 7D 00 60 */ addi r3, r29, 0x60 +/* 80364E60 00361DC0 7F C4 F3 78 */ mr r4, r30 +/* 80364E64 00361DC4 4B FD 92 FD */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80364E68 00361DC8 89 01 00 90 */ lbz r8, 0x90(r1) +/* 80364E6C 00361DCC 38 BF 00 24 */ addi r5, r31, 0x24 +/* 80364E70 00361DD0 88 E1 00 91 */ lbz r7, 0x91(r1) +/* 80364E74 00361DD4 3C 60 80 36 */ lis r3, sub_8036372c@ha +/* 80364E78 00361DD8 88 C1 00 92 */ lbz r6, 0x92(r1) +/* 80364E7C 00361DDC 38 83 37 2C */ addi r4, r3, sub_8036372c@l +/* 80364E80 00361DE0 88 01 00 93 */ lbz r0, 0x93(r1) +/* 80364E84 00361DE4 7F A3 EB 78 */ mr r3, r29 +/* 80364E88 00361DE8 8A 01 00 94 */ lbz r16, 0x94(r1) +/* 80364E8C 00361DEC 82 21 00 98 */ lwz r17, 0x98(r1) +/* 80364E90 00361DF0 82 41 00 9C */ lwz r18, 0x9c(r1) +/* 80364E94 00361DF4 82 61 00 A0 */ lwz r19, 0xa0(r1) +/* 80364E98 00361DF8 82 81 00 A4 */ lwz r20, 0xa4(r1) +/* 80364E9C 00361DFC 82 A1 00 A8 */ lwz r21, 0xa8(r1) +/* 80364EA0 00361E00 82 C1 00 AC */ lwz r22, 0xac(r1) +/* 80364EA4 00361E04 82 E1 00 B0 */ lwz r23, 0xb0(r1) +/* 80364EA8 00361E08 83 01 00 B4 */ lwz r24, 0xb4(r1) +/* 80364EAC 00361E0C 83 21 00 B8 */ lwz r25, 0xb8(r1) +/* 80364EB0 00361E10 83 41 00 BC */ lwz r26, 0xbc(r1) +/* 80364EB4 00361E14 83 61 00 C0 */ lwz r27, 0xc0(r1) +/* 80364EB8 00361E18 83 81 00 C4 */ lwz r28, 0xc4(r1) +/* 80364EBC 00361E1C 83 E1 00 C8 */ lwz r31, 0xc8(r1) +/* 80364EC0 00361E20 81 81 00 CC */ lwz r12, 0xcc(r1) +/* 80364EC4 00361E24 81 61 00 D0 */ lwz r11, 0xd0(r1) +/* 80364EC8 00361E28 81 41 00 D4 */ lwz r10, 0xd4(r1) +/* 80364ECC 00361E2C 81 21 00 D8 */ lwz r9, 0xd8(r1) +/* 80364ED0 00361E30 99 1D 00 70 */ stb r8, 0x70(r29) +/* 80364ED4 00361E34 98 FD 00 71 */ stb r7, 0x71(r29) +/* 80364ED8 00361E38 98 DD 00 72 */ stb r6, 0x72(r29) +/* 80364EDC 00361E3C 98 1D 00 73 */ stb r0, 0x73(r29) +/* 80364EE0 00361E40 9A 1D 00 74 */ stb r16, 0x74(r29) +/* 80364EE4 00361E44 92 3D 00 78 */ stw r17, 0x78(r29) +/* 80364EE8 00361E48 92 5D 00 7C */ stw r18, 0x7c(r29) +/* 80364EEC 00361E4C 92 7D 00 80 */ stw r19, 0x80(r29) +/* 80364EF0 00361E50 92 9D 00 84 */ stw r20, 0x84(r29) +/* 80364EF4 00361E54 92 BD 00 88 */ stw r21, 0x88(r29) +/* 80364EF8 00361E58 92 DD 00 8C */ stw r22, 0x8c(r29) +/* 80364EFC 00361E5C 92 FD 00 90 */ stw r23, 0x90(r29) +/* 80364F00 00361E60 93 1D 00 94 */ stw r24, 0x94(r29) +/* 80364F04 00361E64 93 3D 00 98 */ stw r25, 0x98(r29) +/* 80364F08 00361E68 93 5D 00 9C */ stw r26, 0x9c(r29) +/* 80364F0C 00361E6C 93 7D 00 A0 */ stw r27, 0xa0(r29) +/* 80364F10 00361E70 93 9D 00 A4 */ stw r28, 0xa4(r29) +/* 80364F14 00361E74 93 FD 00 A8 */ stw r31, 0xa8(r29) +/* 80364F18 00361E78 91 9D 00 AC */ stw r12, 0xac(r29) +/* 80364F1C 00361E7C 91 7D 00 B0 */ stw r11, 0xb0(r29) +/* 80364F20 00361E80 91 5D 00 B4 */ stw r10, 0xb4(r29) +/* 80364F24 00361E84 91 3D 00 B8 */ stw r9, 0xb8(r29) +/* 80364F28 00361E88 48 02 47 65 */ bl __register_global_object +/* 80364F2C 00361E8C 28 1E 00 00 */ cmplwi r30, 0 +/* 80364F30 00361E90 41 82 00 0C */ beq lbl_80364F3C +/* 80364F34 00361E94 7F C3 F3 78 */ mr r3, r30 +/* 80364F38 00361E98 4B FD 8B A9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80364F3C: +/* 80364F3C 00361E9C 81 41 00 00 */ lwz r10, 0(r1) +/* 80364F40 00361EA0 B9 EA FF BC */ lmw r15, -0x44(r10) +/* 80364F44 00361EA4 80 0A 00 04 */ lwz r0, 4(r10) +/* 80364F48 00361EA8 7C 08 03 A6 */ mtlr r0 +/* 80364F4C 00361EAC 7D 41 53 78 */ mr r1, r10 +/* 80364F50 00361EB0 4E 80 00 20 */ blr diff --git a/asm/Kyoto/Audio/CMidiManager.s b/asm/Kyoto/Audio/CMidiManager.s new file mode 100644 index 00000000..f8492a04 --- /dev/null +++ b/asm/Kyoto/Audio/CMidiManager.s @@ -0,0 +1,671 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global FMidiDataFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer +FMidiDataFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer: +/* 80358B64 00355AC4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80358B68 00355AC8 7C 08 02 A6 */ mflr r0 +/* 80358B6C 00355ACC 3C 80 80 3E */ lis r4, lbl_803D8340@ha +/* 80358B70 00355AD0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80358B74 00355AD4 38 84 83 40 */ addi r4, r4, lbl_803D8340@l +/* 80358B78 00355AD8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80358B7C 00355ADC 7C BF 2B 78 */ mr r31, r5 +/* 80358B80 00355AE0 38 A0 00 00 */ li r5, 0 +/* 80358B84 00355AE4 93 C1 00 08 */ stw r30, 8(r1) +/* 80358B88 00355AE8 7C 7E 1B 78 */ mr r30, r3 +/* 80358B8C 00355AEC 38 60 00 10 */ li r3, 0x10 +/* 80358B90 00355AF0 4B FB CC DD */ bl __nw__FUlPCcPCc +/* 80358B94 00355AF4 7C 64 1B 79 */ or. r4, r3, r3 +/* 80358B98 00355AF8 41 82 00 10 */ beq lbl_80358BA8 +/* 80358B9C 00355AFC 7F E4 FB 78 */ mr r4, r31 +/* 80358BA0 00355B00 48 00 02 85 */ bl __ct__Q212CMidiManager9CMidiDataFR12CInputStream +/* 80358BA4 00355B04 7C 64 1B 78 */ mr r4, r3 +lbl_80358BA8: +/* 80358BA8 00355B08 7F C3 F3 78 */ mr r3, r30 +/* 80358BAC 00355B0C 48 00 00 1D */ bl "__ct__16CFactoryFnReturnFPQ212CMidiManager9CMidiData" +/* 80358BB0 00355B10 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80358BB4 00355B14 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80358BB8 00355B18 83 C1 00 08 */ lwz r30, 8(r1) +/* 80358BBC 00355B1C 7C 08 03 A6 */ mtlr r0 +/* 80358BC0 00355B20 38 21 00 10 */ addi r1, r1, 0x10 +/* 80358BC4 00355B24 4E 80 00 20 */ blr + +.global "__ct__16CFactoryFnReturnFPQ212CMidiManager9CMidiData" +"__ct__16CFactoryFnReturnFPQ212CMidiManager9CMidiData": +/* 80358BC8 00355B28 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80358BCC 00355B2C 7C 08 02 A6 */ mflr r0 +/* 80358BD0 00355B30 90 01 00 24 */ stw r0, 0x24(r1) +/* 80358BD4 00355B34 7C 04 00 D0 */ neg r0, r4 +/* 80358BD8 00355B38 7C 00 23 78 */ or r0, r0, r4 +/* 80358BDC 00355B3C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80358BE0 00355B40 54 00 0F FE */ srwi r0, r0, 0x1f +/* 80358BE4 00355B44 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80358BE8 00355B48 7C 7E 1B 78 */ mr r30, r3 +/* 80358BEC 00355B4C 38 61 00 08 */ addi r3, r1, 8 +/* 80358BF0 00355B50 90 81 00 14 */ stw r4, 0x14(r1) +/* 80358BF4 00355B54 38 81 00 10 */ addi r4, r1, 0x10 +/* 80358BF8 00355B58 98 01 00 10 */ stb r0, 0x10(r1) +/* 80358BFC 00355B5C 48 00 01 61 */ bl "GetIObjObjectFor__34TTokenFRCQ24rstl36auto_ptr" +/* 80358C00 00355B60 80 61 00 0C */ lwz r3, 0xc(r1) +/* 80358C04 00355B64 38 00 00 00 */ li r0, 0 +/* 80358C08 00355B68 98 01 00 08 */ stb r0, 8(r1) +/* 80358C0C 00355B6C 7C 03 00 D0 */ neg r0, r3 +/* 80358C10 00355B70 7C 00 1B 78 */ or r0, r0, r3 +/* 80358C14 00355B74 54 00 0F FE */ srwi r0, r0, 0x1f +/* 80358C18 00355B78 98 1E 00 00 */ stb r0, 0(r30) +/* 80358C1C 00355B7C 90 7E 00 04 */ stw r3, 4(r30) +/* 80358C20 00355B80 88 01 00 08 */ lbz r0, 8(r1) +/* 80358C24 00355B84 28 00 00 00 */ cmplwi r0, 0 +/* 80358C28 00355B88 41 82 00 24 */ beq lbl_80358C4C +/* 80358C2C 00355B8C 80 61 00 0C */ lwz r3, 0xc(r1) +/* 80358C30 00355B90 28 03 00 00 */ cmplwi r3, 0 +/* 80358C34 00355B94 41 82 00 18 */ beq lbl_80358C4C +/* 80358C38 00355B98 81 83 00 00 */ lwz r12, 0(r3) +/* 80358C3C 00355B9C 38 80 00 01 */ li r4, 1 +/* 80358C40 00355BA0 81 8C 00 08 */ lwz r12, 8(r12) +/* 80358C44 00355BA4 7D 89 03 A6 */ mtctr r12 +/* 80358C48 00355BA8 4E 80 04 21 */ bctrl +lbl_80358C4C: +/* 80358C4C 00355BAC 88 01 00 10 */ lbz r0, 0x10(r1) +/* 80358C50 00355BB0 28 00 00 00 */ cmplwi r0, 0 +/* 80358C54 00355BB4 41 82 00 34 */ beq lbl_80358C88 +/* 80358C58 00355BB8 83 E1 00 14 */ lwz r31, 0x14(r1) +/* 80358C5C 00355BBC 28 1F 00 00 */ cmplwi r31, 0 +/* 80358C60 00355BC0 41 82 00 28 */ beq lbl_80358C88 +/* 80358C64 00355BC4 34 1F 00 08 */ addic. r0, r31, 8 +/* 80358C68 00355BC8 41 82 00 18 */ beq lbl_80358C80 +/* 80358C6C 00355BCC 88 1F 00 08 */ lbz r0, 8(r31) +/* 80358C70 00355BD0 28 00 00 00 */ cmplwi r0, 0 +/* 80358C74 00355BD4 41 82 00 0C */ beq lbl_80358C80 +/* 80358C78 00355BD8 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 80358C7C 00355BDC 4B FB CC B5 */ bl Free__7CMemoryFPCv +lbl_80358C80: +/* 80358C80 00355BE0 7F E3 FB 78 */ mr r3, r31 +/* 80358C84 00355BE4 4B FB CC AD */ bl Free__7CMemoryFPCv +lbl_80358C88: +/* 80358C88 00355BE8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80358C8C 00355BEC 7F C3 F3 78 */ mr r3, r30 +/* 80358C90 00355BF0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80358C94 00355BF4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80358C98 00355BF8 7C 08 03 A6 */ mtlr r0 +/* 80358C9C 00355BFC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80358CA0 00355C00 4E 80 00 20 */ blr + +.global sub_80358ca4 +sub_80358ca4: +/* 80358CA4 00355C04 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80358CA8 00355C08 7C 08 02 A6 */ mflr r0 +/* 80358CAC 00355C0C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80358CB0 00355C10 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80358CB4 00355C14 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80358CB8 00355C18 7C 9E 23 78 */ mr r30, r4 +/* 80358CBC 00355C1C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80358CC0 00355C20 7C 7D 1B 79 */ or. r29, r3, r3 +/* 80358CC4 00355C24 41 82 00 78 */ beq lbl_80358D3C +/* 80358CC8 00355C28 3C 60 80 3F */ lis r3, lbl_803EF788@ha +/* 80358CCC 00355C2C 38 03 F7 88 */ addi r0, r3, lbl_803EF788@l +/* 80358CD0 00355C30 90 1D 00 00 */ stw r0, 0(r29) +/* 80358CD4 00355C34 83 FD 00 04 */ lwz r31, 4(r29) +/* 80358CD8 00355C38 28 1F 00 00 */ cmplwi r31, 0 +/* 80358CDC 00355C3C 41 82 00 2C */ beq lbl_80358D08 +/* 80358CE0 00355C40 41 82 00 28 */ beq lbl_80358D08 +/* 80358CE4 00355C44 34 1F 00 08 */ addic. r0, r31, 8 +/* 80358CE8 00355C48 41 82 00 18 */ beq lbl_80358D00 +/* 80358CEC 00355C4C 88 1F 00 08 */ lbz r0, 8(r31) +/* 80358CF0 00355C50 28 00 00 00 */ cmplwi r0, 0 +/* 80358CF4 00355C54 41 82 00 0C */ beq lbl_80358D00 +/* 80358CF8 00355C58 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 80358CFC 00355C5C 4B FB CC 35 */ bl Free__7CMemoryFPCv +lbl_80358D00: +/* 80358D00 00355C60 7F E3 FB 78 */ mr r3, r31 +/* 80358D04 00355C64 4B FB CC 2D */ bl Free__7CMemoryFPCv +lbl_80358D08: +/* 80358D08 00355C68 28 1D 00 00 */ cmplwi r29, 0 +/* 80358D0C 00355C6C 41 82 00 20 */ beq lbl_80358D2C +/* 80358D10 00355C70 3C 60 80 3E */ lis r3, lbl_803D8D78@ha +/* 80358D14 00355C74 38 03 8D 78 */ addi r0, r3, lbl_803D8D78@l +/* 80358D18 00355C78 90 1D 00 00 */ stw r0, 0(r29) +/* 80358D1C 00355C7C 41 82 00 10 */ beq lbl_80358D2C +/* 80358D20 00355C80 3C 60 80 3E */ lis r3, lbl_803D8D6C@ha +/* 80358D24 00355C84 38 03 8D 6C */ addi r0, r3, lbl_803D8D6C@l +/* 80358D28 00355C88 90 1D 00 00 */ stw r0, 0(r29) +lbl_80358D2C: +/* 80358D2C 00355C8C 7F C0 07 35 */ extsh. r0, r30 +/* 80358D30 00355C90 40 81 00 0C */ ble lbl_80358D3C +/* 80358D34 00355C94 7F A3 EB 78 */ mr r3, r29 +/* 80358D38 00355C98 4B FB CB F9 */ bl Free__7CMemoryFPCv +lbl_80358D3C: +/* 80358D3C 00355C9C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80358D40 00355CA0 7F A3 EB 78 */ mr r3, r29 +/* 80358D44 00355CA4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80358D48 00355CA8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80358D4C 00355CAC 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80358D50 00355CB0 7C 08 03 A6 */ mtlr r0 +/* 80358D54 00355CB4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80358D58 00355CB8 4E 80 00 20 */ blr + +.global "GetIObjObjectFor__34TTokenFRCQ24rstl36auto_ptr" +"GetIObjObjectFor__34TTokenFRCQ24rstl36auto_ptr": +/* 80358D5C 00355CBC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80358D60 00355CC0 7C 08 02 A6 */ mflr r0 +/* 80358D64 00355CC4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80358D68 00355CC8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80358D6C 00355CCC 7C 7F 1B 78 */ mr r31, r3 +/* 80358D70 00355CD0 48 00 00 19 */ bl "GetNewDerivedObject__52TObjOwnerDerivedFromIObjFRCQ24rstl36auto_ptr" +/* 80358D74 00355CD4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80358D78 00355CD8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80358D7C 00355CDC 7C 08 03 A6 */ mtlr r0 +/* 80358D80 00355CE0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80358D84 00355CE4 4E 80 00 20 */ blr + +.global "GetNewDerivedObject__52TObjOwnerDerivedFromIObjFRCQ24rstl36auto_ptr" +"GetNewDerivedObject__52TObjOwnerDerivedFromIObjFRCQ24rstl36auto_ptr": +/* 80358D88 00355CE8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80358D8C 00355CEC 7C 08 02 A6 */ mflr r0 +/* 80358D90 00355CF0 3C A0 80 3E */ lis r5, lbl_803D8340@ha +/* 80358D94 00355CF4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80358D98 00355CF8 38 05 83 40 */ addi r0, r5, lbl_803D8340@l +/* 80358D9C 00355CFC 38 A0 00 00 */ li r5, 0 +/* 80358DA0 00355D00 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80358DA4 00355D04 7C 9F 23 78 */ mr r31, r4 +/* 80358DA8 00355D08 7C 04 03 78 */ mr r4, r0 +/* 80358DAC 00355D0C 93 C1 00 08 */ stw r30, 8(r1) +/* 80358DB0 00355D10 7C 7E 1B 78 */ mr r30, r3 +/* 80358DB4 00355D14 38 60 00 08 */ li r3, 8 +/* 80358DB8 00355D18 4B FB CA B5 */ bl __nw__FUlPCcPCc +/* 80358DBC 00355D1C 28 03 00 00 */ cmplwi r3, 0 +/* 80358DC0 00355D20 41 82 00 38 */ beq lbl_80358DF8 +/* 80358DC4 00355D24 3C 80 80 3E */ lis r4, lbl_803D8D6C@ha +/* 80358DC8 00355D28 3C A0 80 3E */ lis r5, lbl_803D8D78@ha +/* 80358DCC 00355D2C 38 04 8D 6C */ addi r0, r4, lbl_803D8D6C@l +/* 80358DD0 00355D30 3C 80 80 3F */ lis r4, lbl_803EF788@ha +/* 80358DD4 00355D34 90 03 00 00 */ stw r0, 0(r3) +/* 80358DD8 00355D38 38 C5 8D 78 */ addi r6, r5, lbl_803D8D78@l +/* 80358DDC 00355D3C 38 A0 00 00 */ li r5, 0 +/* 80358DE0 00355D40 38 04 F7 88 */ addi r0, r4, lbl_803EF788@l +/* 80358DE4 00355D44 90 C3 00 00 */ stw r6, 0(r3) +/* 80358DE8 00355D48 98 BF 00 00 */ stb r5, 0(r31) +/* 80358DEC 00355D4C 80 9F 00 04 */ lwz r4, 4(r31) +/* 80358DF0 00355D50 90 83 00 04 */ stw r4, 4(r3) +/* 80358DF4 00355D54 90 03 00 00 */ stw r0, 0(r3) +lbl_80358DF8: +/* 80358DF8 00355D58 7C 03 00 D0 */ neg r0, r3 +/* 80358DFC 00355D5C 7C 00 1B 78 */ or r0, r0, r3 +/* 80358E00 00355D60 54 00 0F FE */ srwi r0, r0, 0x1f +/* 80358E04 00355D64 98 1E 00 00 */ stb r0, 0(r30) +/* 80358E08 00355D68 90 7E 00 04 */ stw r3, 4(r30) +/* 80358E0C 00355D6C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80358E10 00355D70 83 C1 00 08 */ lwz r30, 8(r1) +/* 80358E14 00355D74 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80358E18 00355D78 7C 08 03 A6 */ mtlr r0 +/* 80358E1C 00355D7C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80358E20 00355D80 4E 80 00 20 */ blr + +.global __ct__Q212CMidiManager9CMidiDataFR12CInputStream +__ct__Q212CMidiManager9CMidiDataFR12CInputStream: +/* 80358E24 00355D84 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80358E28 00355D88 7C 08 02 A6 */ mflr r0 +/* 80358E2C 00355D8C 38 A0 FF FF */ li r5, -1 +/* 80358E30 00355D90 90 01 00 24 */ stw r0, 0x24(r1) +/* 80358E34 00355D94 38 00 00 00 */ li r0, 0 +/* 80358E38 00355D98 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80358E3C 00355D9C 7C 9F 23 78 */ mr r31, r4 +/* 80358E40 00355DA0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80358E44 00355DA4 7C 7E 1B 78 */ mr r30, r3 +/* 80358E48 00355DA8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80358E4C 00355DAC B0 A3 00 00 */ sth r5, 0(r3) +/* 80358E50 00355DB0 B0 A3 00 02 */ sth r5, 2(r3) +/* 80358E54 00355DB4 7F E3 FB 78 */ mr r3, r31 +/* 80358E58 00355DB8 90 BE 00 04 */ stw r5, 4(r30) +/* 80358E5C 00355DBC 98 1E 00 08 */ stb r0, 8(r30) +/* 80358E60 00355DC0 90 1E 00 0C */ stw r0, 0xc(r30) +/* 80358E64 00355DC4 4B FE 5E 21 */ bl ReadLong__12CInputStreamFv +/* 80358E68 00355DC8 7F E3 FB 78 */ mr r3, r31 +/* 80358E6C 00355DCC 4B FE 5E 19 */ bl ReadLong__12CInputStreamFv +/* 80358E70 00355DD0 B0 7E 00 00 */ sth r3, 0(r30) +/* 80358E74 00355DD4 7F E3 FB 78 */ mr r3, r31 +/* 80358E78 00355DD8 4B FE 5E 0D */ bl ReadLong__12CInputStreamFv +/* 80358E7C 00355DDC B0 7E 00 02 */ sth r3, 2(r30) +/* 80358E80 00355DE0 7F E3 FB 78 */ mr r3, r31 +/* 80358E84 00355DE4 4B FE 5E 01 */ bl ReadLong__12CInputStreamFv +/* 80358E88 00355DE8 90 7E 00 04 */ stw r3, 4(r30) +/* 80358E8C 00355DEC 7F E3 FB 78 */ mr r3, r31 +/* 80358E90 00355DF0 4B FE 5D F5 */ bl ReadLong__12CInputStreamFv +/* 80358E94 00355DF4 3C 80 80 3E */ lis r4, lbl_803D8340@ha +/* 80358E98 00355DF8 7C 7D 1B 78 */ mr r29, r3 +/* 80358E9C 00355DFC 38 A0 00 00 */ li r5, 0 +/* 80358EA0 00355E00 38 84 83 40 */ addi r4, r4, lbl_803D8340@l +/* 80358EA4 00355E04 4B FB C9 75 */ bl __nwa__FUlPCcPCc +/* 80358EA8 00355E08 7C 83 00 D0 */ neg r4, r3 +/* 80358EAC 00355E0C 38 01 00 08 */ addi r0, r1, 8 +/* 80358EB0 00355E10 7C 84 1B 78 */ or r4, r4, r3 +/* 80358EB4 00355E14 38 BE 00 08 */ addi r5, r30, 8 +/* 80358EB8 00355E18 54 84 0F FE */ srwi r4, r4, 0x1f +/* 80358EBC 00355E1C 90 61 00 0C */ stw r3, 0xc(r1) +/* 80358EC0 00355E20 7C 00 28 40 */ cmplw r0, r5 +/* 80358EC4 00355E24 98 81 00 08 */ stb r4, 8(r1) +/* 80358EC8 00355E28 41 82 00 30 */ beq lbl_80358EF8 +/* 80358ECC 00355E2C 88 05 00 00 */ lbz r0, 0(r5) +/* 80358ED0 00355E30 28 00 00 00 */ cmplwi r0, 0 +/* 80358ED4 00355E34 41 82 00 0C */ beq lbl_80358EE0 +/* 80358ED8 00355E38 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80358EDC 00355E3C 4B FB CA 55 */ bl Free__7CMemoryFPCv +lbl_80358EE0: +/* 80358EE0 00355E40 88 61 00 08 */ lbz r3, 8(r1) +/* 80358EE4 00355E44 38 00 00 00 */ li r0, 0 +/* 80358EE8 00355E48 98 7E 00 08 */ stb r3, 8(r30) +/* 80358EEC 00355E4C 80 61 00 0C */ lwz r3, 0xc(r1) +/* 80358EF0 00355E50 90 7E 00 0C */ stw r3, 0xc(r30) +/* 80358EF4 00355E54 98 01 00 08 */ stb r0, 8(r1) +lbl_80358EF8: +/* 80358EF8 00355E58 88 01 00 08 */ lbz r0, 8(r1) +/* 80358EFC 00355E5C 28 00 00 00 */ cmplwi r0, 0 +/* 80358F00 00355E60 41 82 00 0C */ beq lbl_80358F0C +/* 80358F04 00355E64 80 61 00 0C */ lwz r3, 0xc(r1) +/* 80358F08 00355E68 4B FB CA 29 */ bl Free__7CMemoryFPCv +lbl_80358F0C: +/* 80358F0C 00355E6C 80 9E 00 0C */ lwz r4, 0xc(r30) +/* 80358F10 00355E70 7F E3 FB 78 */ mr r3, r31 +/* 80358F14 00355E74 7F A5 EB 78 */ mr r5, r29 +/* 80358F18 00355E78 4B FE 60 3D */ bl Get__12CInputStreamFPvUl +/* 80358F1C 00355E7C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80358F20 00355E80 7F C3 F3 78 */ mr r3, r30 +/* 80358F24 00355E84 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80358F28 00355E88 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80358F2C 00355E8C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80358F30 00355E90 7C 08 03 A6 */ mtlr r0 +/* 80358F34 00355E94 38 21 00 20 */ addi r1, r1, 0x20 +/* 80358F38 00355E98 4E 80 00 20 */ blr + +.global LocateHandle__12CMidiManagerFv +LocateHandle__12CMidiManagerFv: +/* 80358F3C 00355E9C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80358F40 00355EA0 7C 08 02 A6 */ mflr r0 +/* 80358F44 00355EA4 3C 80 80 5A */ lis r4, lbl_805A6828@ha +/* 80358F48 00355EA8 90 01 00 34 */ stw r0, 0x34(r1) +/* 80358F4C 00355EAC BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 80358F50 00355EB0 3B C4 68 28 */ addi r30, r4, lbl_805A6828@l +/* 80358F54 00355EB4 3B 9E 00 04 */ addi r28, r30, 4 +/* 80358F58 00355EB8 7C 7F 1B 78 */ mr r31, r3 +/* 80358F5C 00355EBC 3B 60 00 00 */ li r27, 0 +/* 80358F60 00355EC0 7F 9D E3 78 */ mr r29, r28 +/* 80358F64 00355EC4 48 00 00 2C */ b lbl_80358F90 +lbl_80358F68: +/* 80358F68 00355EC8 7F A3 EB 78 */ mr r3, r29 +/* 80358F6C 00355ECC 48 00 03 D1 */ bl IsAvailable__Q212CMidiManager12CMidiWrapperCFv +/* 80358F70 00355ED0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80358F74 00355ED4 41 82 00 14 */ beq lbl_80358F88 +/* 80358F78 00355ED8 7F E3 FB 78 */ mr r3, r31 +/* 80358F7C 00355EDC 7F 64 DB 78 */ mr r4, r27 +/* 80358F80 00355EE0 4B F8 E8 ED */ bl __ct__10CSfxHandleFUi +/* 80358F84 00355EE4 48 00 00 88 */ b lbl_8035900C +lbl_80358F88: +/* 80358F88 00355EE8 3B BD 00 0C */ addi r29, r29, 0xc +/* 80358F8C 00355EEC 3B 7B 00 01 */ addi r27, r27, 1 +lbl_80358F90: +/* 80358F90 00355EF0 80 1E 00 00 */ lwz r0, 0(r30) +/* 80358F94 00355EF4 7C 1B 00 00 */ cmpw r27, r0 +/* 80358F98 00355EF8 41 80 FF D0 */ blt lbl_80358F68 +/* 80358F9C 00355EFC 2C 00 00 03 */ cmpwi r0, 3 +/* 80358FA0 00355F00 40 82 00 10 */ bne lbl_80358FB0 +/* 80358FA4 00355F04 38 00 00 00 */ li r0, 0 +/* 80358FA8 00355F08 90 1F 00 00 */ stw r0, 0(r31) +/* 80358FAC 00355F0C 48 00 00 60 */ b lbl_8035900C +lbl_80358FB0: +/* 80358FB0 00355F10 38 61 00 08 */ addi r3, r1, 8 +/* 80358FB4 00355F14 48 00 03 A1 */ bl __ct__Q212CMidiManager12CMidiWrapperFv +/* 80358FB8 00355F18 3C 60 80 5A */ lis r3, lbl_805A6828@ha +/* 80358FBC 00355F1C 80 03 68 28 */ lwz r0, lbl_805A6828@l(r3) +/* 80358FC0 00355F20 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80358FC4 00355F24 7C 9C 02 15 */ add. r4, r28, r0 +/* 80358FC8 00355F28 41 82 00 24 */ beq lbl_80358FEC +/* 80358FCC 00355F2C 80 61 00 08 */ lwz r3, 8(r1) +/* 80358FD0 00355F30 80 01 00 0C */ lwz r0, 0xc(r1) +/* 80358FD4 00355F34 90 64 00 00 */ stw r3, 0(r4) +/* 80358FD8 00355F38 A8 61 00 10 */ lha r3, 0x10(r1) +/* 80358FDC 00355F3C 90 04 00 04 */ stw r0, 4(r4) +/* 80358FE0 00355F40 88 01 00 12 */ lbz r0, 0x12(r1) +/* 80358FE4 00355F44 B0 64 00 08 */ sth r3, 8(r4) +/* 80358FE8 00355F48 98 04 00 0A */ stb r0, 0xa(r4) +lbl_80358FEC: +/* 80358FEC 00355F4C 3C 80 80 5A */ lis r4, lbl_805A6828@ha +/* 80358FF0 00355F50 7F E3 FB 78 */ mr r3, r31 +/* 80358FF4 00355F54 38 A4 68 28 */ addi r5, r4, lbl_805A6828@l +/* 80358FF8 00355F58 80 85 00 00 */ lwz r4, 0(r5) +/* 80358FFC 00355F5C 38 84 00 01 */ addi r4, r4, 1 +/* 80359000 00355F60 90 85 00 00 */ stw r4, 0(r5) +/* 80359004 00355F64 38 84 FF FF */ addi r4, r4, -1 +/* 80359008 00355F68 4B F8 E8 65 */ bl __ct__10CSfxHandleFUi +lbl_8035900C: +/* 8035900C 00355F6C BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 80359010 00355F70 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80359014 00355F74 7C 08 03 A6 */ mtlr r0 +/* 80359018 00355F78 38 21 00 30 */ addi r1, r1, 0x30 +/* 8035901C 00355F7C 4E 80 00 20 */ blr + +.global StopAll__12CMidiManagerFv +StopAll__12CMidiManagerFv: +/* 80359020 00355F80 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80359024 00355F84 7C 08 02 A6 */ mflr r0 +/* 80359028 00355F88 3C 60 80 5A */ lis r3, lbl_805A6828@ha +/* 8035902C 00355F8C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80359030 00355F90 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80359034 00355F94 3B E3 68 28 */ addi r31, r3, lbl_805A6828@l +/* 80359038 00355F98 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8035903C 00355F9C 3B DF 00 04 */ addi r30, r31, 4 +/* 80359040 00355FA0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80359044 00355FA4 3B A0 00 00 */ li r29, 0 +/* 80359048 00355FA8 48 00 00 2C */ b lbl_80359074 +lbl_8035904C: +/* 8035904C 00355FAC 7F C3 F3 78 */ mr r3, r30 +/* 80359050 00355FB0 48 00 02 ED */ bl IsAvailable__Q212CMidiManager12CMidiWrapperCFv +/* 80359054 00355FB4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80359058 00355FB8 40 82 00 14 */ bne lbl_8035906C +/* 8035905C 00355FBC 7F C3 F3 78 */ mr r3, r30 +/* 80359060 00355FC0 48 00 02 ED */ bl GetManagerHandle__Q212CMidiManager12CMidiWrapperCFv +/* 80359064 00355FC4 38 80 00 00 */ li r4, 0 +/* 80359068 00355FC8 48 00 00 35 */ bl Stop__12CMidiManagerFRC10CSfxHandleUs +lbl_8035906C: +/* 8035906C 00355FCC 3B DE 00 0C */ addi r30, r30, 0xc +/* 80359070 00355FD0 3B BD 00 01 */ addi r29, r29, 1 +lbl_80359074: +/* 80359074 00355FD4 80 1F 00 00 */ lwz r0, 0(r31) +/* 80359078 00355FD8 7C 1D 00 00 */ cmpw r29, r0 +/* 8035907C 00355FDC 41 80 FF D0 */ blt lbl_8035904C +/* 80359080 00355FE0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80359084 00355FE4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80359088 00355FE8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8035908C 00355FEC 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80359090 00355FF0 7C 08 03 A6 */ mtlr r0 +/* 80359094 00355FF4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80359098 00355FF8 4E 80 00 20 */ blr + +.global Stop__12CMidiManagerFRC10CSfxHandleUs +Stop__12CMidiManagerFRC10CSfxHandleUs: +/* 8035909C 00355FFC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803590A0 00356000 7C 08 02 A6 */ mflr r0 +/* 803590A4 00356004 90 01 00 24 */ stw r0, 0x24(r1) +/* 803590A8 00356008 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 803590AC 0035600C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 803590B0 00356010 7C 9E 23 78 */ mr r30, r4 +/* 803590B4 00356014 93 A1 00 14 */ stw r29, 0x14(r1) +/* 803590B8 00356018 7C 7D 1B 78 */ mr r29, r3 +/* 803590BC 0035601C 80 03 00 00 */ lwz r0, 0(r3) +/* 803590C0 00356020 28 00 00 00 */ cmplwi r0, 0 +/* 803590C4 00356024 41 82 00 7C */ beq lbl_80359140 +/* 803590C8 00356028 54 00 05 3E */ clrlwi r0, r0, 0x14 +/* 803590CC 0035602C 3C 60 80 5A */ lis r3, lbl_805A6828@ha +/* 803590D0 00356030 1C 00 00 0C */ mulli r0, r0, 0xc +/* 803590D4 00356034 38 63 68 28 */ addi r3, r3, lbl_805A6828@l +/* 803590D8 00356038 3B E3 00 04 */ addi r31, r3, 4 +/* 803590DC 0035603C 7C 7F 02 14 */ add r3, r31, r0 +/* 803590E0 00356040 48 00 02 6D */ bl GetManagerHandle__Q212CMidiManager12CMidiWrapperCFv +/* 803590E4 00356044 80 9D 00 00 */ lwz r4, 0(r29) +/* 803590E8 00356048 80 03 00 00 */ lwz r0, 0(r3) +/* 803590EC 0035604C 7C 04 00 40 */ cmplw r4, r0 +/* 803590F0 00356050 40 82 00 50 */ bne lbl_80359140 +/* 803590F4 00356054 54 80 05 3E */ clrlwi r0, r4, 0x14 +/* 803590F8 00356058 1C 00 00 0C */ mulli r0, r0, 0xc +/* 803590FC 0035605C 7C 7F 02 14 */ add r3, r31, r0 +/* 80359100 00356060 48 00 02 45 */ bl GetAudioSysHandle__Q212CMidiManager12CMidiWrapperCFv +/* 80359104 00356064 57 C0 04 3F */ clrlwi. r0, r30, 0x10 +/* 80359108 00356068 7C 65 1B 78 */ mr r5, r3 +/* 8035910C 0035606C 40 82 00 0C */ bne lbl_80359118 +/* 80359110 00356070 4B FF 17 F9 */ bl SeqStop__9CAudioSysFUl +/* 80359114 00356074 48 00 00 14 */ b lbl_80359128 +lbl_80359118: +/* 80359118 00356078 7F C4 F3 78 */ mr r4, r30 +/* 8035911C 0035607C 38 60 00 00 */ li r3, 0 +/* 80359120 00356080 38 C0 00 01 */ li r6, 1 +/* 80359124 00356084 4B FF 17 B9 */ bl SeqVolume__9CAudioSysFUcUsUlUc +lbl_80359128: +/* 80359128 00356088 80 1D 00 00 */ lwz r0, 0(r29) +/* 8035912C 0035608C 38 80 00 01 */ li r4, 1 +/* 80359130 00356090 54 00 05 3E */ clrlwi r0, r0, 0x14 +/* 80359134 00356094 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80359138 00356098 7C 7F 02 14 */ add r3, r31, r0 +/* 8035913C 0035609C 48 00 01 F1 */ bl SetAvailable__Q212CMidiManager12CMidiWrapperFb +lbl_80359140: +/* 80359140 003560A0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80359144 003560A4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80359148 003560A8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8035914C 003560AC 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80359150 003560B0 7C 08 03 A6 */ mtlr r0 +/* 80359154 003560B4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80359158 003560B8 4E 80 00 20 */ blr + +.global Play__12CMidiManagerFRCQ212CMidiManager9CMidiDataUsbs +Play__12CMidiManagerFRCQ212CMidiManager9CMidiDataUsbs: +/* 8035915C 003560BC 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80359160 003560C0 7C 08 02 A6 */ mflr r0 +/* 80359164 003560C4 90 01 00 44 */ stw r0, 0x44(r1) +/* 80359168 003560C8 BE A1 00 14 */ stmw r21, 0x14(r1) +/* 8035916C 003560CC 7C 79 1B 78 */ mr r25, r3 +/* 80359170 003560D0 7C 9A 23 78 */ mr r26, r4 +/* 80359174 003560D4 7C BB 2B 78 */ mr r27, r5 +/* 80359178 003560D8 7C D5 33 78 */ mr r21, r6 +/* 8035917C 003560DC 7C FC 3B 78 */ mr r28, r7 +/* 80359180 003560E0 38 61 00 08 */ addi r3, r1, 8 +/* 80359184 003560E4 3B C0 00 00 */ li r30, 0 +/* 80359188 003560E8 3B A0 00 00 */ li r29, 0 +/* 8035918C 003560EC 4B FF FD B1 */ bl LocateHandle__12CMidiManagerFv +/* 80359190 003560F0 80 01 00 08 */ lwz r0, 8(r1) +/* 80359194 003560F4 28 00 00 00 */ cmplwi r0, 0 +/* 80359198 003560F8 90 01 00 0C */ stw r0, 0xc(r1) +/* 8035919C 003560FC 40 82 00 10 */ bne lbl_803591AC +/* 803591A0 00356100 38 00 00 00 */ li r0, 0 +/* 803591A4 00356104 90 19 00 00 */ stw r0, 0(r25) +/* 803591A8 00356108 48 00 01 54 */ b lbl_803592FC +lbl_803591AC: +/* 803591AC 0035610C 54 00 05 3E */ clrlwi r0, r0, 0x14 +/* 803591B0 00356110 3C 60 80 5A */ lis r3, lbl_805A6828@ha +/* 803591B4 00356114 1C 00 00 0C */ mulli r0, r0, 0xc +/* 803591B8 00356118 38 80 00 00 */ li r4, 0 +/* 803591BC 0035611C 38 63 68 28 */ addi r3, r3, lbl_805A6828@l +/* 803591C0 00356120 3A C3 00 04 */ addi r22, r3, 4 +/* 803591C4 00356124 7F F6 02 14 */ add r31, r22, r0 +/* 803591C8 00356128 7F E3 FB 78 */ mr r3, r31 +/* 803591CC 0035612C 48 00 01 61 */ bl SetAvailable__Q212CMidiManager12CMidiWrapperFb +/* 803591D0 00356130 7F E3 FB 78 */ mr r3, r31 +/* 803591D4 00356134 38 81 00 0C */ addi r4, r1, 0xc +/* 803591D8 00356138 48 00 01 41 */ bl SetMidiHandle__Q212CMidiManager12CMidiWrapperFRC10CSfxHandle +/* 803591DC 0035613C 56 A0 06 3F */ clrlwi. r0, r21, 0x18 +/* 803591E0 00356140 41 82 00 84 */ beq lbl_80359264 +/* 803591E4 00356144 3C 60 80 5A */ lis r3, lbl_805A6828@ha +/* 803591E8 00356148 3A A0 00 00 */ li r21, 0 +/* 803591EC 0035614C 3B 03 68 28 */ addi r24, r3, lbl_805A6828@l +/* 803591F0 00356150 48 00 00 68 */ b lbl_80359258 +lbl_803591F4: +/* 803591F4 00356154 7E C3 B3 78 */ mr r3, r22 +/* 803591F8 00356158 48 00 01 45 */ bl IsAvailable__Q212CMidiManager12CMidiWrapperCFv +/* 803591FC 0035615C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80359200 00356160 40 82 00 50 */ bne lbl_80359250 +/* 80359204 00356164 AA FA 00 00 */ lha r23, 0(r26) +/* 80359208 00356168 7E C3 B3 78 */ mr r3, r22 +/* 8035920C 0035616C 48 00 01 29 */ bl GetSongId__Q212CMidiManager12CMidiWrapperCFv +/* 80359210 00356170 7C 60 07 34 */ extsh r0, r3 +/* 80359214 00356174 7C 17 00 00 */ cmpw r23, r0 +/* 80359218 00356178 40 82 00 28 */ bne lbl_80359240 +/* 8035921C 0035617C 7E C3 B3 78 */ mr r3, r22 +/* 80359220 00356180 3B C0 00 01 */ li r30, 1 +/* 80359224 00356184 48 00 01 21 */ bl GetAudioSysHandle__Q212CMidiManager12CMidiWrapperCFv +/* 80359228 00356188 7C 60 1B 78 */ mr r0, r3 +/* 8035922C 0035618C 7E C3 B3 78 */ mr r3, r22 +/* 80359230 00356190 7C 1D 03 78 */ mr r29, r0 +/* 80359234 00356194 38 80 00 01 */ li r4, 1 +/* 80359238 00356198 48 00 00 F5 */ bl SetAvailable__Q212CMidiManager12CMidiWrapperFb +/* 8035923C 0035619C 48 00 00 14 */ b lbl_80359250 +lbl_80359240: +/* 80359240 003561A0 7E C3 B3 78 */ mr r3, r22 +/* 80359244 003561A4 48 00 01 09 */ bl GetManagerHandle__Q212CMidiManager12CMidiWrapperCFv +/* 80359248 003561A8 7F 64 DB 78 */ mr r4, r27 +/* 8035924C 003561AC 4B FF FE 51 */ bl Stop__12CMidiManagerFRC10CSfxHandleUs +lbl_80359250: +/* 80359250 003561B0 3A D6 00 0C */ addi r22, r22, 0xc +/* 80359254 003561B4 3A B5 00 01 */ addi r21, r21, 1 +lbl_80359258: +/* 80359258 003561B8 80 18 00 00 */ lwz r0, 0(r24) +/* 8035925C 003561BC 7C 15 00 00 */ cmpw r21, r0 +/* 80359260 003561C0 41 80 FF 94 */ blt lbl_803591F4 +lbl_80359264: +/* 80359264 003561C4 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 80359268 003561C8 41 82 00 20 */ beq lbl_80359288 +/* 8035926C 003561CC 7F E3 FB 78 */ mr r3, r31 +/* 80359270 003561D0 7F A4 EB 78 */ mr r4, r29 +/* 80359274 003561D4 48 00 00 B1 */ bl SetAudioSysHandle__Q212CMidiManager12CMidiWrapperFUl +/* 80359278 003561D8 A8 9A 00 00 */ lha r4, 0(r26) +/* 8035927C 003561DC 7F E3 FB 78 */ mr r3, r31 +/* 80359280 003561E0 48 00 00 91 */ bl SetSongId__Q212CMidiManager12CMidiWrapperFs +/* 80359284 003561E4 48 00 00 70 */ b lbl_803592F4 +lbl_80359288: +/* 80359288 003561E8 A8 7A 00 02 */ lha r3, 2(r26) +/* 8035928C 003561EC 38 C0 00 00 */ li r6, 0 +/* 80359290 003561F0 A8 1A 00 00 */ lha r0, 0(r26) +/* 80359294 003561F4 38 E0 00 00 */ li r7, 0 +/* 80359298 003561F8 80 BA 00 0C */ lwz r5, 0xc(r26) +/* 8035929C 003561FC 54 63 04 3E */ clrlwi r3, r3, 0x10 +/* 803592A0 00356200 54 04 04 3E */ clrlwi r4, r0, 0x10 +/* 803592A4 00356204 4B FF 16 85 */ bl SeqPlayEx__9CAudioSysFUsUsPvP12SND_PLAYPARAUc +/* 803592A8 00356208 57 60 04 3F */ clrlwi. r0, r27, 0x10 +/* 803592AC 0035620C 7C 75 1B 78 */ mr r21, r3 +/* 803592B0 00356210 41 82 00 18 */ beq lbl_803592C8 +/* 803592B4 00356214 7E A5 AB 78 */ mr r5, r21 +/* 803592B8 00356218 38 60 00 00 */ li r3, 0 +/* 803592BC 0035621C 38 80 00 00 */ li r4, 0 +/* 803592C0 00356220 38 C0 00 00 */ li r6, 0 +/* 803592C4 00356224 4B FF 16 19 */ bl SeqVolume__9CAudioSysFUcUsUlUc +lbl_803592C8: +/* 803592C8 00356228 7F 64 DB 78 */ mr r4, r27 +/* 803592CC 0035622C 7E A5 AB 78 */ mr r5, r21 +/* 803592D0 00356230 57 83 06 3E */ clrlwi r3, r28, 0x18 +/* 803592D4 00356234 38 C0 00 00 */ li r6, 0 +/* 803592D8 00356238 4B FF 16 05 */ bl SeqVolume__9CAudioSysFUcUsUlUc +/* 803592DC 0035623C 7F E3 FB 78 */ mr r3, r31 +/* 803592E0 00356240 7E A4 AB 78 */ mr r4, r21 +/* 803592E4 00356244 48 00 00 41 */ bl SetAudioSysHandle__Q212CMidiManager12CMidiWrapperFUl +/* 803592E8 00356248 A8 9A 00 00 */ lha r4, 0(r26) +/* 803592EC 0035624C 7F E3 FB 78 */ mr r3, r31 +/* 803592F0 00356250 48 00 00 21 */ bl SetSongId__Q212CMidiManager12CMidiWrapperFs +lbl_803592F4: +/* 803592F4 00356254 80 01 00 0C */ lwz r0, 0xc(r1) +/* 803592F8 00356258 90 19 00 00 */ stw r0, 0(r25) +lbl_803592FC: +/* 803592FC 0035625C BA A1 00 14 */ lmw r21, 0x14(r1) +/* 80359300 00356260 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80359304 00356264 7C 08 03 A6 */ mtlr r0 +/* 80359308 00356268 38 21 00 40 */ addi r1, r1, 0x40 +/* 8035930C 0035626C 4E 80 00 20 */ blr + +.global SetSongId__Q212CMidiManager12CMidiWrapperFs +SetSongId__Q212CMidiManager12CMidiWrapperFs: +/* 80359310 00356270 B0 83 00 08 */ sth r4, 8(r3) +/* 80359314 00356274 4E 80 00 20 */ blr + +.global SetMidiHandle__Q212CMidiManager12CMidiWrapperFRC10CSfxHandle +SetMidiHandle__Q212CMidiManager12CMidiWrapperFRC10CSfxHandle: +/* 80359318 00356278 80 04 00 00 */ lwz r0, 0(r4) +/* 8035931C 0035627C 90 03 00 04 */ stw r0, 4(r3) +/* 80359320 00356280 4E 80 00 20 */ blr + +.global SetAudioSysHandle__Q212CMidiManager12CMidiWrapperFUl +SetAudioSysHandle__Q212CMidiManager12CMidiWrapperFUl: +/* 80359324 00356284 90 83 00 00 */ stw r4, 0(r3) +/* 80359328 00356288 4E 80 00 20 */ blr + +.global SetAvailable__Q212CMidiManager12CMidiWrapperFb +SetAvailable__Q212CMidiManager12CMidiWrapperFb: +/* 8035932C 0035628C 98 83 00 0A */ stb r4, 0xa(r3) +/* 80359330 00356290 4E 80 00 20 */ blr + +.global GetSongId__Q212CMidiManager12CMidiWrapperCFv +GetSongId__Q212CMidiManager12CMidiWrapperCFv: +/* 80359334 00356294 A8 63 00 08 */ lha r3, 8(r3) +/* 80359338 00356298 4E 80 00 20 */ blr + +.global IsAvailable__Q212CMidiManager12CMidiWrapperCFv +IsAvailable__Q212CMidiManager12CMidiWrapperCFv: +/* 8035933C 0035629C 88 63 00 0A */ lbz r3, 0xa(r3) +/* 80359340 003562A0 4E 80 00 20 */ blr + +.global GetAudioSysHandle__Q212CMidiManager12CMidiWrapperCFv +GetAudioSysHandle__Q212CMidiManager12CMidiWrapperCFv: +/* 80359344 003562A4 80 63 00 00 */ lwz r3, 0(r3) +/* 80359348 003562A8 4E 80 00 20 */ blr + +.global GetManagerHandle__Q212CMidiManager12CMidiWrapperCFv +GetManagerHandle__Q212CMidiManager12CMidiWrapperCFv: +/* 8035934C 003562AC 38 63 00 04 */ addi r3, r3, 4 +/* 80359350 003562B0 4E 80 00 20 */ blr + +.global __ct__Q212CMidiManager12CMidiWrapperFv +__ct__Q212CMidiManager12CMidiWrapperFv: +/* 80359354 003562B4 38 80 00 00 */ li r4, 0 +/* 80359358 003562B8 38 00 00 01 */ li r0, 1 +/* 8035935C 003562BC 90 83 00 00 */ stw r4, 0(r3) +/* 80359360 003562C0 90 83 00 04 */ stw r4, 4(r3) +/* 80359364 003562C4 98 03 00 0A */ stb r0, 0xa(r3) +/* 80359368 003562C8 4E 80 00 20 */ blr + +.global __sinit_CMidiManager_cpp +__sinit_CMidiManager_cpp: +/* 8035936C 003562CC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80359370 003562D0 7C 08 02 A6 */ mflr r0 +/* 80359374 003562D4 3C 80 80 36 */ lis r4, "__dt__Q24rstl49reserved_vectorFv"@ha +/* 80359378 003562D8 3C A0 80 54 */ lis r5, lbl_80540010@ha +/* 8035937C 003562DC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80359380 003562E0 38 00 00 00 */ li r0, 0 +/* 80359384 003562E4 3C 60 80 5A */ lis r3, lbl_805A6828@ha +/* 80359388 003562E8 38 84 93 A8 */ addi r4, r4, "__dt__Q24rstl49reserved_vectorFv"@l +/* 8035938C 003562EC 94 03 68 28 */ stwu r0, lbl_805A6828@l(r3) +/* 80359390 003562F0 38 A5 00 10 */ addi r5, r5, lbl_80540010@l +/* 80359394 003562F4 48 03 02 F9 */ bl __register_global_object +/* 80359398 003562F8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8035939C 003562FC 7C 08 03 A6 */ mtlr r0 +/* 803593A0 00356300 38 21 00 10 */ addi r1, r1, 0x10 +/* 803593A4 00356304 4E 80 00 20 */ blr + +.global "__dt__Q24rstl49reserved_vectorFv" +"__dt__Q24rstl49reserved_vectorFv": +/* 803593A8 00356308 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803593AC 0035630C 7C 08 02 A6 */ mflr r0 +/* 803593B0 00356310 90 01 00 14 */ stw r0, 0x14(r1) +/* 803593B4 00356314 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803593B8 00356318 7C 7F 1B 79 */ or. r31, r3, r3 +/* 803593BC 0035631C 41 82 00 68 */ beq lbl_80359424 +/* 803593C0 00356320 80 DF 00 00 */ lwz r6, 0(r31) +/* 803593C4 00356324 38 60 00 00 */ li r3, 0 +/* 803593C8 00356328 2C 06 00 00 */ cmpwi r6, 0 +/* 803593CC 0035632C 40 81 00 40 */ ble lbl_8035940C +/* 803593D0 00356330 2C 06 00 08 */ cmpwi r6, 8 +/* 803593D4 00356334 38 A6 FF F8 */ addi r5, r6, -8 +/* 803593D8 00356338 40 81 00 20 */ ble lbl_803593F8 +/* 803593DC 0035633C 38 05 00 07 */ addi r0, r5, 7 +/* 803593E0 00356340 54 00 E8 FE */ srwi r0, r0, 3 +/* 803593E4 00356344 7C 09 03 A6 */ mtctr r0 +/* 803593E8 00356348 2C 05 00 00 */ cmpwi r5, 0 +/* 803593EC 0035634C 40 81 00 0C */ ble lbl_803593F8 +lbl_803593F0: +/* 803593F0 00356350 38 63 00 08 */ addi r3, r3, 8 +/* 803593F4 00356354 42 00 FF FC */ bdnz lbl_803593F0 +lbl_803593F8: +/* 803593F8 00356358 7C 03 30 50 */ subf r0, r3, r6 +/* 803593FC 0035635C 7C 09 03 A6 */ mtctr r0 +/* 80359400 00356360 7C 03 30 00 */ cmpw r3, r6 +/* 80359404 00356364 40 80 00 08 */ bge lbl_8035940C +lbl_80359408: +/* 80359408 00356368 42 00 00 00 */ bdnz lbl_80359408 +lbl_8035940C: +/* 8035940C 0035636C 38 60 00 00 */ li r3, 0 +/* 80359410 00356370 7C 80 07 35 */ extsh. r0, r4 +/* 80359414 00356374 90 7F 00 00 */ stw r3, 0(r31) +/* 80359418 00356378 40 81 00 0C */ ble lbl_80359424 +/* 8035941C 0035637C 7F E3 FB 78 */ mr r3, r31 +/* 80359420 00356380 4B FB C5 11 */ bl Free__7CMemoryFPCv +lbl_80359424: +/* 80359424 00356384 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80359428 00356388 7F E3 FB 78 */ mr r3, r31 +/* 8035942C 0035638C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80359430 00356390 7C 08 03 A6 */ mtlr r0 +/* 80359434 00356394 38 21 00 10 */ addi r1, r1, 0x10 +/* 80359438 00356398 4E 80 00 20 */ blr diff --git a/asm/Kyoto/SfxManager/CSfxHandle.s b/asm/Kyoto/Audio/CSfxHandle.s similarity index 100% rename from asm/Kyoto/SfxManager/CSfxHandle.s rename to asm/Kyoto/Audio/CSfxHandle.s diff --git a/asm/Kyoto/SfxManager/CSfxManager.s b/asm/Kyoto/Audio/CSfxManager.s similarity index 100% rename from asm/Kyoto/SfxManager/CSfxManager.s rename to asm/Kyoto/Audio/CSfxManager.s diff --git a/asm/Kyoto/Audio/CStaticAudioPlayer.s b/asm/Kyoto/Audio/CStaticAudioPlayer.s new file mode 100644 index 00000000..1609a06b --- /dev/null +++ b/asm/Kyoto/Audio/CStaticAudioPlayer.s @@ -0,0 +1,1041 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global SetVolume__18CStaticAudioPlayerFc +SetVolume__18CStaticAudioPlayerFc: +/* 8036BC34 00368B94 54 80 06 3E */ clrlwi r0, r4, 0x18 +/* 8036BC38 00368B98 28 00 00 7F */ cmplwi r0, 0x7f +/* 8036BC3C 00368B9C 40 81 00 08 */ ble lbl_8036BC44 +/* 8036BC40 00368BA0 38 80 00 7F */ li r4, 0x7f +lbl_8036BC44: +/* 8036BC44 00368BA4 3C A0 80 3E */ lis r5, lbl_803D8110@ha +/* 8036BC48 00368BA8 54 80 0D FC */ rlwinm r0, r4, 1, 0x17, 0x1e +/* 8036BC4C 00368BAC 38 85 81 10 */ addi r4, r5, lbl_803D8110@l +/* 8036BC50 00368BB0 7C 04 02 2E */ lhzx r0, r4, r0 +/* 8036BC54 00368BB4 B0 03 00 C0 */ sth r0, 0xc0(r3) +/* 8036BC58 00368BB8 4E 80 00 20 */ blr + +.global DecodeMonoAndMix__18CStaticAudioPlayerCFv +DecodeMonoAndMix__18CStaticAudioPlayerCFv: +/* 8036BC5C 00368BBC 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 8036BC60 00368BC0 7C 08 02 A6 */ mflr r0 +/* 8036BC64 00368BC4 90 01 00 54 */ stw r0, 0x54(r1) +/* 8036BC68 00368BC8 54 C0 0F FE */ srwi r0, r6, 0x1f +/* 8036BC6C 00368BCC 7C 00 32 14 */ add r0, r0, r6 +/* 8036BC70 00368BD0 BE 81 00 20 */ stmw r20, 0x20(r1) +/* 8036BC74 00368BD4 7C 75 1B 78 */ mr r21, r3 +/* 8036BC78 00368BD8 83 01 00 58 */ lwz r24, 0x58(r1) +/* 8036BC7C 00368BDC 7D 16 43 78 */ mr r22, r8 +/* 8036BC80 00368BE0 7D 57 53 78 */ mr r23, r10 +/* 8036BC84 00368BE4 7C FD 3B 78 */ mr r29, r7 +/* 8036BC88 00368BE8 7C BC 2B 78 */ mr r28, r5 +/* 8036BC8C 00368BEC 7C 9B 23 78 */ mr r27, r4 +/* 8036BC90 00368BF0 7D 3F 4B 78 */ mr r31, r9 +/* 8036BC94 00368BF4 7C 1E 0E 70 */ srawi r30, r0, 1 +/* 8036BC98 00368BF8 48 00 01 3C */ b lbl_8036BDD4 +lbl_8036BC9C: +/* 8036BC9C 00368BFC 7F A0 8E 70 */ srawi r0, r29, 0x11 +/* 8036BCA0 00368C00 93 C1 00 10 */ stw r30, 0x10(r1) +/* 8036BCA4 00368C04 7C A0 01 94 */ addze r5, r0 +/* 8036BCA8 00368C08 38 61 00 10 */ addi r3, r1, 0x10 +/* 8036BCAC 00368C0C 38 05 00 01 */ addi r0, r5, 1 +/* 8036BCB0 00368C10 54 00 88 1C */ slwi r0, r0, 0x11 +/* 8036BCB4 00368C14 7C 1D 00 50 */ subf r0, r29, r0 +/* 8036BCB8 00368C18 7C 00 F0 00 */ cmpw r0, r30 +/* 8036BCBC 00368C1C 90 01 00 0C */ stw r0, 0xc(r1) +/* 8036BCC0 00368C20 40 80 00 08 */ bge lbl_8036BCC8 +/* 8036BCC4 00368C24 38 61 00 0C */ addi r3, r1, 0xc +lbl_8036BCC8: +/* 8036BCC8 00368C28 80 83 00 00 */ lwz r4, 0(r3) +/* 8036BCCC 00368C2C 7C 1D B0 50 */ subf r0, r29, r22 +/* 8036BCD0 00368C30 38 61 00 10 */ addi r3, r1, 0x10 +/* 8036BCD4 00368C34 7C 00 20 00 */ cmpw r0, r4 +/* 8036BCD8 00368C38 90 81 00 10 */ stw r4, 0x10(r1) +/* 8036BCDC 00368C3C 90 01 00 08 */ stw r0, 8(r1) +/* 8036BCE0 00368C40 40 80 00 08 */ bge lbl_8036BCE8 +/* 8036BCE4 00368C44 38 61 00 08 */ addi r3, r1, 8 +lbl_8036BCE8: +/* 8036BCE8 00368C48 80 83 00 00 */ lwz r4, 0(r3) +/* 8036BCEC 00368C4C 54 A3 18 38 */ slwi r3, r5, 3 +/* 8036BCF0 00368C50 54 A0 88 1C */ slwi r0, r5, 0x11 +/* 8036BCF4 00368C54 3B 20 00 00 */ li r25, 0 +/* 8036BCF8 00368C58 90 81 00 10 */ stw r4, 0x10(r1) +/* 8036BCFC 00368C5C 38 63 00 04 */ addi r3, r3, 4 +/* 8036BD00 00368C60 7C 00 E8 50 */ subf r0, r0, r29 +/* 8036BD04 00368C64 80 95 00 54 */ lwz r4, 0x54(r21) +/* 8036BD08 00368C68 7C 64 18 2E */ lwzx r3, r4, r3 +/* 8036BD0C 00368C6C 7F 43 02 14 */ add r26, r3, r0 +/* 8036BD10 00368C70 48 00 00 A4 */ b lbl_8036BDB4 +lbl_8036BD14: +/* 8036BD14 00368C74 88 1A 00 00 */ lbz r0, 0(r26) +/* 8036BD18 00368C78 7F 04 C3 78 */ mr r4, r24 +/* 8036BD1C 00368C7C 54 03 07 3E */ clrlwi r3, r0, 0x1c +/* 8036BD20 00368C80 4B FF F5 99 */ bl g721_decoder__FiP10g72x_state +/* 8036BD24 00368C84 7C B7 19 D6 */ mullw r5, r23, r3 +/* 8036BD28 00368C88 A8 7C 00 00 */ lha r3, 0(r28) +/* 8036BD2C 00368C8C 88 1A 00 00 */ lbz r0, 0(r26) +/* 8036BD30 00368C90 7F 04 C3 78 */ mr r4, r24 +/* 8036BD34 00368C94 7C A5 7E 70 */ srawi r5, r5, 0xf +/* 8036BD38 00368C98 7E 83 2A 14 */ add r20, r3, r5 +/* 8036BD3C 00368C9C 7C 03 26 70 */ srawi r3, r0, 4 +/* 8036BD40 00368CA0 4B FF F5 79 */ bl g721_decoder__FiP10g72x_state +/* 8036BD44 00368CA4 7C 77 19 D6 */ mullw r3, r23, r3 +/* 8036BD48 00368CA8 2C 14 80 00 */ cmpwi r20, -32768 +/* 8036BD4C 00368CAC A8 1C 00 04 */ lha r0, 4(r28) +/* 8036BD50 00368CB0 7C 63 7E 70 */ srawi r3, r3, 0xf +/* 8036BD54 00368CB4 7C 60 1A 14 */ add r3, r0, r3 +/* 8036BD58 00368CB8 40 80 00 0C */ bge lbl_8036BD64 +/* 8036BD5C 00368CBC 38 00 80 00 */ li r0, -32768 +/* 8036BD60 00368CC0 48 00 00 18 */ b lbl_8036BD78 +lbl_8036BD64: +/* 8036BD64 00368CC4 2C 14 7F FF */ cmpwi r20, 0x7fff +/* 8036BD68 00368CC8 40 81 00 0C */ ble lbl_8036BD74 +/* 8036BD6C 00368CCC 38 00 7F FF */ li r0, 0x7fff +/* 8036BD70 00368CD0 48 00 00 08 */ b lbl_8036BD78 +lbl_8036BD74: +/* 8036BD74 00368CD4 7E 80 07 34 */ extsh r0, r20 +lbl_8036BD78: +/* 8036BD78 00368CD8 2C 03 80 00 */ cmpwi r3, -32768 +/* 8036BD7C 00368CDC B0 1B 00 00 */ sth r0, 0(r27) +/* 8036BD80 00368CE0 40 80 00 0C */ bge lbl_8036BD8C +/* 8036BD84 00368CE4 38 00 80 00 */ li r0, -32768 +/* 8036BD88 00368CE8 48 00 00 18 */ b lbl_8036BDA0 +lbl_8036BD8C: +/* 8036BD8C 00368CEC 2C 03 7F FF */ cmpwi r3, 0x7fff +/* 8036BD90 00368CF0 40 81 00 0C */ ble lbl_8036BD9C +/* 8036BD94 00368CF4 38 00 7F FF */ li r0, 0x7fff +/* 8036BD98 00368CF8 48 00 00 08 */ b lbl_8036BDA0 +lbl_8036BD9C: +/* 8036BD9C 00368CFC 7C 60 07 34 */ extsh r0, r3 +lbl_8036BDA0: +/* 8036BDA0 00368D00 B0 1B 00 04 */ sth r0, 4(r27) +/* 8036BDA4 00368D04 3B 7B 00 08 */ addi r27, r27, 8 +/* 8036BDA8 00368D08 3B 5A 00 01 */ addi r26, r26, 1 +/* 8036BDAC 00368D0C 3B 9C 00 08 */ addi r28, r28, 8 +/* 8036BDB0 00368D10 3B 39 00 01 */ addi r25, r25, 1 +lbl_8036BDB4: +/* 8036BDB4 00368D14 80 01 00 10 */ lwz r0, 0x10(r1) +/* 8036BDB8 00368D18 7C 19 00 00 */ cmpw r25, r0 +/* 8036BDBC 00368D1C 41 80 FF 58 */ blt lbl_8036BD14 +/* 8036BDC0 00368D20 7F BD 02 14 */ add r29, r29, r0 +/* 8036BDC4 00368D24 7F C0 F0 50 */ subf r30, r0, r30 +/* 8036BDC8 00368D28 7C 1D B0 00 */ cmpw r29, r22 +/* 8036BDCC 00368D2C 40 82 00 08 */ bne lbl_8036BDD4 +/* 8036BDD0 00368D30 7F FD FB 78 */ mr r29, r31 +lbl_8036BDD4: +/* 8036BDD4 00368D34 2C 1E 00 00 */ cmpwi r30, 0 +/* 8036BDD8 00368D38 40 82 FE C4 */ bne lbl_8036BC9C +/* 8036BDDC 00368D3C BA 81 00 20 */ lmw r20, 0x20(r1) +/* 8036BDE0 00368D40 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8036BDE4 00368D44 7C 08 03 A6 */ mtlr r0 +/* 8036BDE8 00368D48 38 21 00 50 */ addi r1, r1, 0x50 +/* 8036BDEC 00368D4C 4E 80 00 20 */ blr + +.global Decode__18CStaticAudioPlayerFv +Decode__18CStaticAudioPlayerFv: +/* 8036BDF0 00368D50 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8036BDF4 00368D54 7C 08 02 A6 */ mflr r0 +/* 8036BDF8 00368D58 90 01 00 44 */ stw r0, 0x44(r1) +/* 8036BDFC 00368D5C BF 21 00 24 */ stmw r25, 0x24(r1) +/* 8036BE00 00368D60 7C 7D 1B 78 */ mr r29, r3 +/* 8036BE04 00368D64 38 1D 00 58 */ addi r0, r29, 0x58 +/* 8036BE08 00368D68 7C DF 33 78 */ mr r31, r6 +/* 8036BE0C 00368D6C 7C 9E 23 78 */ mr r30, r4 +/* 8036BE10 00368D70 7C B9 2B 78 */ mr r25, r5 +/* 8036BE14 00368D74 81 43 00 18 */ lwz r10, 0x18(r3) +/* 8036BE18 00368D78 81 23 00 20 */ lwz r9, 0x20(r3) +/* 8036BE1C 00368D7C 80 E3 00 1C */ lwz r7, 0x1c(r3) +/* 8036BE20 00368D80 55 48 0F FE */ srwi r8, r10, 0x1f +/* 8036BE24 00368D84 7D 48 52 14 */ add r10, r8, r10 +/* 8036BE28 00368D88 55 28 0F FE */ srwi r8, r9, 0x1f +/* 8036BE2C 00368D8C 90 01 00 08 */ stw r0, 8(r1) +/* 8036BE30 00368D90 7D 5C 0E 70 */ srawi r28, r10, 1 +/* 8036BE34 00368D94 54 E0 0F FE */ srwi r0, r7, 0x1f +/* 8036BE38 00368D98 7D 08 4A 14 */ add r8, r8, r9 +/* 8036BE3C 00368D9C A1 43 00 C0 */ lhz r10, 0xc0(r3) +/* 8036BE40 00368DA0 7D 1B 0E 70 */ srawi r27, r8, 1 +/* 8036BE44 00368DA4 7C 00 3A 14 */ add r0, r0, r7 +/* 8036BE48 00368DA8 7C 1A 0E 70 */ srawi r26, r0, 1 +/* 8036BE4C 00368DAC 7F 87 E3 78 */ mr r7, r28 +/* 8036BE50 00368DB0 7F 68 DB 78 */ mr r8, r27 +/* 8036BE54 00368DB4 7F 49 D3 78 */ mr r9, r26 +/* 8036BE58 00368DB8 4B FF FE 05 */ bl DecodeMonoAndMix__18CStaticAudioPlayerCFv +/* 8036BE5C 00368DBC 80 9D 00 14 */ lwz r4, 0x14(r29) +/* 8036BE60 00368DC0 38 1D 00 8C */ addi r0, r29, 0x8c +/* 8036BE64 00368DC4 7F A3 EB 78 */ mr r3, r29 +/* 8036BE68 00368DC8 7F E6 FB 78 */ mr r6, r31 +/* 8036BE6C 00368DCC 90 01 00 08 */ stw r0, 8(r1) +/* 8036BE70 00368DD0 54 80 0F FE */ srwi r0, r4, 0x1f +/* 8036BE74 00368DD4 7C 00 22 14 */ add r0, r0, r4 +/* 8036BE78 00368DD8 38 9E 00 02 */ addi r4, r30, 2 +/* 8036BE7C 00368DDC 7C 00 0E 70 */ srawi r0, r0, 1 +/* 8036BE80 00368DE0 A1 5D 00 C0 */ lhz r10, 0xc0(r29) +/* 8036BE84 00368DE4 38 B9 00 02 */ addi r5, r25, 2 +/* 8036BE88 00368DE8 7C FC 02 14 */ add r7, r28, r0 +/* 8036BE8C 00368DEC 7D 1B 02 14 */ add r8, r27, r0 +/* 8036BE90 00368DF0 7D 3A 02 14 */ add r9, r26, r0 +/* 8036BE94 00368DF4 4B FF FD C9 */ bl DecodeMonoAndMix__18CStaticAudioPlayerCFv +/* 8036BE98 00368DF8 7F E5 FB 78 */ mr r5, r31 +/* 8036BE9C 00368DFC 48 00 00 5C */ b lbl_8036BEF8 +lbl_8036BEA0: +/* 8036BEA0 00368E00 90 A1 00 14 */ stw r5, 0x14(r1) +/* 8036BEA4 00368E04 38 61 00 14 */ addi r3, r1, 0x14 +/* 8036BEA8 00368E08 80 9D 00 18 */ lwz r4, 0x18(r29) +/* 8036BEAC 00368E0C 80 1D 00 20 */ lwz r0, 0x20(r29) +/* 8036BEB0 00368E10 7C 04 00 50 */ subf r0, r4, r0 +/* 8036BEB4 00368E14 7C 00 28 00 */ cmpw r0, r5 +/* 8036BEB8 00368E18 90 01 00 10 */ stw r0, 0x10(r1) +/* 8036BEBC 00368E1C 40 80 00 08 */ bge lbl_8036BEC4 +/* 8036BEC0 00368E20 38 61 00 10 */ addi r3, r1, 0x10 +lbl_8036BEC4: +/* 8036BEC4 00368E24 80 63 00 00 */ lwz r3, 0(r3) +/* 8036BEC8 00368E28 90 61 00 14 */ stw r3, 0x14(r1) +/* 8036BECC 00368E2C 80 1D 00 18 */ lwz r0, 0x18(r29) +/* 8036BED0 00368E30 7C 00 1A 14 */ add r0, r0, r3 +/* 8036BED4 00368E34 90 1D 00 18 */ stw r0, 0x18(r29) +/* 8036BED8 00368E38 80 7D 00 18 */ lwz r3, 0x18(r29) +/* 8036BEDC 00368E3C 80 1D 00 20 */ lwz r0, 0x20(r29) +/* 8036BEE0 00368E40 80 81 00 14 */ lwz r4, 0x14(r1) +/* 8036BEE4 00368E44 7C 03 00 00 */ cmpw r3, r0 +/* 8036BEE8 00368E48 7C A4 28 50 */ subf r5, r4, r5 +/* 8036BEEC 00368E4C 40 82 00 0C */ bne lbl_8036BEF8 +/* 8036BEF0 00368E50 80 1D 00 1C */ lwz r0, 0x1c(r29) +/* 8036BEF4 00368E54 90 1D 00 18 */ stw r0, 0x18(r29) +lbl_8036BEF8: +/* 8036BEF8 00368E58 2C 05 00 00 */ cmpwi r5, 0 +/* 8036BEFC 00368E5C 40 82 FF A4 */ bne lbl_8036BEA0 +/* 8036BF00 00368E60 BB 21 00 24 */ lmw r25, 0x24(r1) +/* 8036BF04 00368E64 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8036BF08 00368E68 7C 08 03 A6 */ mtlr r0 +/* 8036BF0C 00368E6C 38 21 00 40 */ addi r1, r1, 0x40 +/* 8036BF10 00368E70 4E 80 00 20 */ blr + +.global DoMix__18CStaticAudioPlayer +DoMix__18CStaticAudioPlayer: +/* 8036BF14 00368E74 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8036BF18 00368E78 7C 08 02 A6 */ mflr r0 +/* 8036BF1C 00368E7C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8036BF20 00368E80 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8036BF24 00368E84 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8036BF28 00368E88 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8036BF2C 00368E8C 93 81 00 10 */ stw r28, 0x10(r1) +/* 8036BF30 00368E90 7C 7C 1B 78 */ mr r28, r3 +/* 8036BF34 00368E94 48 00 11 05 */ bl AIGetDMAStartAddr +/* 8036BF38 00368E98 80 1C 00 24 */ lwz r0, 0x24(r28) +/* 8036BF3C 00368E9C 3F E3 80 00 */ addis r31, r3, 0x8000 +/* 8036BF40 00368EA0 68 00 00 01 */ xori r0, r0, 1 +/* 8036BF44 00368EA4 90 1C 00 24 */ stw r0, 0x24(r28) +/* 8036BF48 00368EA8 80 1C 00 24 */ lwz r0, 0x24(r28) +/* 8036BF4C 00368EAC 2C 00 00 00 */ cmpwi r0, 0 +/* 8036BF50 00368EB0 41 82 00 0C */ beq lbl_8036BF5C +/* 8036BF54 00368EB4 83 DC 00 34 */ lwz r30, 0x34(r28) +/* 8036BF58 00368EB8 48 00 00 08 */ b lbl_8036BF60 +lbl_8036BF5C: +/* 8036BF5C 00368EBC 83 DC 00 2C */ lwz r30, 0x2c(r28) +lbl_8036BF60: +/* 8036BF60 00368EC0 7F C3 F3 78 */ mr r3, r30 +/* 8036BF64 00368EC4 38 80 02 80 */ li r4, 0x280 +/* 8036BF68 00368EC8 48 00 10 19 */ bl AIInitDMA +/* 8036BF6C 00368ECC 48 01 57 09 */ bl OSEnableInterrupts +/* 8036BF70 00368ED0 28 1F 00 00 */ cmplwi r31, 0 +/* 8036BF74 00368ED4 7C 7D 1B 78 */ mr r29, r3 +/* 8036BF78 00368ED8 41 82 00 10 */ beq lbl_8036BF88 +/* 8036BF7C 00368EDC 7F E3 FB 78 */ mr r3, r31 +/* 8036BF80 00368EE0 38 80 02 80 */ li r4, 0x280 +/* 8036BF84 00368EE4 48 01 2B 01 */ bl DCInvalidateRange +lbl_8036BF88: +/* 8036BF88 00368EE8 7F 83 E3 78 */ mr r3, r28 +/* 8036BF8C 00368EEC 7F C4 F3 78 */ mr r4, r30 +/* 8036BF90 00368EF0 7F E5 FB 78 */ mr r5, r31 +/* 8036BF94 00368EF4 38 C0 00 A0 */ li r6, 0xa0 +/* 8036BF98 00368EF8 4B FF FE 59 */ bl Decode__18CStaticAudioPlayerFv +/* 8036BF9C 00368EFC 7F C3 F3 78 */ mr r3, r30 +/* 8036BFA0 00368F00 38 80 02 80 */ li r4, 0x280 +/* 8036BFA4 00368F04 48 01 2B 0D */ bl DCFlushRange +/* 8036BFA8 00368F08 7F A3 EB 78 */ mr r3, r29 +/* 8036BFAC 00368F0C 48 01 56 DD */ bl OSRestoreInterrupts +/* 8036BFB0 00368F10 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8036BFB4 00368F14 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8036BFB8 00368F18 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8036BFBC 00368F1C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8036BFC0 00368F20 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8036BFC4 00368F24 7C 08 03 A6 */ mtlr r0 +/* 8036BFC8 00368F28 38 21 00 20 */ addi r1, r1, 0x20 +/* 8036BFCC 00368F2C 4E 80 00 20 */ blr + +.global MixCallback__18CStaticAudioPlayerFv +MixCallback__18CStaticAudioPlayerFv: +/* 8036BFD0 00368F30 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8036BFD4 00368F34 7C 08 02 A6 */ mflr r0 +/* 8036BFD8 00368F38 90 01 00 14 */ stw r0, 0x14(r1) +/* 8036BFDC 00368F3C 80 6D AA E0 */ lwz r3, lbl_805A96A0@sda21(r13) +/* 8036BFE0 00368F40 4B FF FF 35 */ bl DoMix__18CStaticAudioPlayer +/* 8036BFE4 00368F44 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8036BFE8 00368F48 7C 08 03 A6 */ mtlr r0 +/* 8036BFEC 00368F4C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8036BFF0 00368F50 4E 80 00 20 */ blr + +.global StopMixOut__18CStaticAudioPlayerFv +StopMixOut__18CStaticAudioPlayerFv: +/* 8036BFF4 00368F54 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8036BFF8 00368F58 7C 08 02 A6 */ mflr r0 +/* 8036BFFC 00368F5C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8036C000 00368F60 80 0D AA E0 */ lwz r0, lbl_805A96A0@sda21(r13) +/* 8036C004 00368F64 7C 00 18 40 */ cmplw r0, r3 +/* 8036C008 00368F68 40 82 00 18 */ bne lbl_8036C020 +/* 8036C00C 00368F6C 3C 60 80 37 */ lis r3, MixCallback__18CStaticAudioPlayerFv@ha +/* 8036C010 00368F70 38 63 BF D0 */ addi r3, r3, MixCallback__18CStaticAudioPlayerFv@l +/* 8036C014 00368F74 48 00 06 F1 */ bl sub_8036c704 +/* 8036C018 00368F78 38 00 00 00 */ li r0, 0 +/* 8036C01C 00368F7C 90 0D AA E0 */ stw r0, lbl_805A96A0@sda21(r13) +lbl_8036C020: +/* 8036C020 00368F80 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8036C024 00368F84 7C 08 03 A6 */ mtlr r0 +/* 8036C028 00368F88 38 21 00 10 */ addi r1, r1, 0x10 +/* 8036C02C 00368F8C 4E 80 00 20 */ blr + +.global StartMixOut__18CStaticAudioPlayerFv +StartMixOut__18CStaticAudioPlayerFv: +/* 8036C030 00368F90 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8036C034 00368F94 7C 08 02 A6 */ mflr r0 +/* 8036C038 00368F98 90 01 00 34 */ stw r0, 0x34(r1) +/* 8036C03C 00368F9C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8036C040 00368FA0 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8036C044 00368FA4 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8036C048 00368FA8 7C 7D 1B 78 */ mr r29, r3 +/* 8036C04C 00368FAC 80 0D AA E0 */ lwz r0, lbl_805A96A0@sda21(r13) +/* 8036C050 00368FB0 7C 00 E8 40 */ cmplw r0, r29 +/* 8036C054 00368FB4 41 82 00 94 */ beq lbl_8036C0E8 +/* 8036C058 00368FB8 80 1D 00 3C */ lwz r0, 0x3c(r29) +/* 8036C05C 00368FBC 83 DD 00 44 */ lwz r30, 0x44(r29) +/* 8036C060 00368FC0 54 00 18 38 */ slwi r0, r0, 3 +/* 8036C064 00368FC4 7F FE 02 14 */ add r31, r30, r0 +/* 8036C068 00368FC8 93 C1 00 0C */ stw r30, 0xc(r1) +/* 8036C06C 00368FCC 93 E1 00 14 */ stw r31, 0x14(r1) +/* 8036C070 00368FD0 93 E1 00 10 */ stw r31, 0x10(r1) +/* 8036C074 00368FD4 93 C1 00 08 */ stw r30, 8(r1) +/* 8036C078 00368FD8 48 00 00 3C */ b lbl_8036C0B4 +lbl_8036C07C: +/* 8036C07C 00368FDC 28 1E 00 00 */ cmplwi r30, 0 +/* 8036C080 00368FE0 41 82 00 30 */ beq lbl_8036C0B0 +/* 8036C084 00368FE4 88 1E 00 00 */ lbz r0, 0(r30) +/* 8036C088 00368FE8 28 00 00 00 */ cmplwi r0, 0 +/* 8036C08C 00368FEC 41 82 00 24 */ beq lbl_8036C0B0 +/* 8036C090 00368FF0 80 7E 00 04 */ lwz r3, 4(r30) +/* 8036C094 00368FF4 28 03 00 00 */ cmplwi r3, 0 +/* 8036C098 00368FF8 41 82 00 18 */ beq lbl_8036C0B0 +/* 8036C09C 00368FFC 81 83 00 00 */ lwz r12, 0(r3) +/* 8036C0A0 00369000 38 80 00 01 */ li r4, 1 +/* 8036C0A4 00369004 81 8C 00 08 */ lwz r12, 8(r12) +/* 8036C0A8 00369008 7D 89 03 A6 */ mtctr r12 +/* 8036C0AC 0036900C 4E 80 04 21 */ bctrl +lbl_8036C0B0: +/* 8036C0B0 00369010 3B DE 00 08 */ addi r30, r30, 8 +lbl_8036C0B4: +/* 8036C0B4 00369014 7C 1E F8 40 */ cmplw r30, r31 +/* 8036C0B8 00369018 40 82 FF C4 */ bne lbl_8036C07C +/* 8036C0BC 0036901C 38 00 00 00 */ li r0, 0 +/* 8036C0C0 00369020 38 7D 00 58 */ addi r3, r29, 0x58 +/* 8036C0C4 00369024 90 1D 00 3C */ stw r0, 0x3c(r29) +/* 8036C0C8 00369028 90 1D 00 18 */ stw r0, 0x18(r29) +/* 8036C0CC 0036902C 4B FF F9 E1 */ bl g72x_init_state__FP10g72x_state +/* 8036C0D0 00369030 38 7D 00 8C */ addi r3, r29, 0x8c +/* 8036C0D4 00369034 4B FF F9 D9 */ bl g72x_init_state__FP10g72x_state +/* 8036C0D8 00369038 3C 60 80 37 */ lis r3, MixCallback__18CStaticAudioPlayerFv@ha +/* 8036C0DC 0036903C 93 AD AA E0 */ stw r29, lbl_805A96A0@sda21(r13) +/* 8036C0E0 00369040 38 63 BF D0 */ addi r3, r3, MixCallback__18CStaticAudioPlayerFv@l +/* 8036C0E4 00369044 48 00 06 F9 */ bl RunDMACallback__18CStaticAudioPlayerFv +lbl_8036C0E8: +/* 8036C0E8 00369048 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8036C0EC 0036904C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8036C0F0 00369050 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8036C0F4 00369054 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8036C0F8 00369058 7C 08 03 A6 */ mtlr r0 +/* 8036C0FC 0036905C 38 21 00 30 */ addi r1, r1, 0x30 +/* 8036C100 00369060 4E 80 00 20 */ blr + +.global IsReady__18CStaticAudioPlayer +IsReady__18CStaticAudioPlayer: +/* 8036C104 00369064 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8036C108 00369068 7C 08 02 A6 */ mflr r0 +/* 8036C10C 0036906C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8036C110 00369070 80 83 00 3C */ lwz r4, 0x3c(r3) +/* 8036C114 00369074 2C 04 00 00 */ cmpwi r4, 0 +/* 8036C118 00369078 41 82 00 2C */ beq lbl_8036C144 +/* 8036C11C 0036907C 38 04 FF FF */ addi r0, r4, -1 +/* 8036C120 00369080 80 83 00 44 */ lwz r4, 0x44(r3) +/* 8036C124 00369084 54 03 18 38 */ slwi r3, r0, 3 +/* 8036C128 00369088 38 03 00 04 */ addi r0, r3, 4 +/* 8036C12C 0036908C 7C 64 00 2E */ lwzx r3, r4, r0 +/* 8036C130 00369090 81 83 00 00 */ lwz r12, 0(r3) +/* 8036C134 00369094 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 8036C138 00369098 7D 89 03 A6 */ mtctr r12 +/* 8036C13C 0036909C 4E 80 04 21 */ bctrl +/* 8036C140 003690A0 48 00 00 08 */ b lbl_8036C148 +lbl_8036C144: +/* 8036C144 003690A4 38 60 00 01 */ li r3, 1 +lbl_8036C148: +/* 8036C148 003690A8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8036C14C 003690AC 7C 08 03 A6 */ mtlr r0 +/* 8036C150 003690B0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8036C154 003690B4 4E 80 00 20 */ blr + +.global __dt__18CStaticAudioPlayer +__dt__18CStaticAudioPlayer: +/* 8036C158 003690B8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8036C15C 003690BC 7C 08 02 A6 */ mflr r0 +/* 8036C160 003690C0 90 01 00 14 */ stw r0, 0x14(r1) +/* 8036C164 003690C4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8036C168 003690C8 7C 9F 23 78 */ mr r31, r4 +/* 8036C16C 003690CC 93 C1 00 08 */ stw r30, 8(r1) +/* 8036C170 003690D0 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8036C174 003690D4 41 82 00 78 */ beq lbl_8036C1EC +/* 8036C178 003690D8 4B FF FE 7D */ bl StopMixOut__18CStaticAudioPlayerFv +/* 8036C17C 003690DC 38 7E 00 48 */ addi r3, r30, 0x48 +/* 8036C180 003690E0 38 80 FF FF */ li r4, -1 +/* 8036C184 003690E4 4B FF 08 45 */ bl "__dt__Q24rstl56vector,Q24rstl17rmemory_allocator>Fv" +/* 8036C188 003690E8 38 7E 00 38 */ addi r3, r30, 0x38 +/* 8036C18C 003690EC 38 80 FF FF */ li r4, -1 +/* 8036C190 003690F0 48 00 00 79 */ bl sub_8036c208 +/* 8036C194 003690F4 34 1E 00 30 */ addic. r0, r30, 0x30 +/* 8036C198 003690F8 41 82 00 18 */ beq lbl_8036C1B0 +/* 8036C19C 003690FC 88 1E 00 30 */ lbz r0, 0x30(r30) +/* 8036C1A0 00369100 28 00 00 00 */ cmplwi r0, 0 +/* 8036C1A4 00369104 41 82 00 0C */ beq lbl_8036C1B0 +/* 8036C1A8 00369108 80 7E 00 34 */ lwz r3, 0x34(r30) +/* 8036C1AC 0036910C 4B FA 97 85 */ bl Free__7CMemoryFPCv +lbl_8036C1B0: +/* 8036C1B0 00369110 34 1E 00 28 */ addic. r0, r30, 0x28 +/* 8036C1B4 00369114 41 82 00 18 */ beq lbl_8036C1CC +/* 8036C1B8 00369118 88 1E 00 28 */ lbz r0, 0x28(r30) +/* 8036C1BC 0036911C 28 00 00 00 */ cmplwi r0, 0 +/* 8036C1C0 00369120 41 82 00 0C */ beq lbl_8036C1CC +/* 8036C1C4 00369124 80 7E 00 2C */ lwz r3, 0x2c(r30) +/* 8036C1C8 00369128 4B FA 97 69 */ bl Free__7CMemoryFPCv +lbl_8036C1CC: +/* 8036C1CC 0036912C 28 1E 00 00 */ cmplwi r30, 0 +/* 8036C1D0 00369130 41 82 00 0C */ beq lbl_8036C1DC +/* 8036C1D4 00369134 7F C3 F3 78 */ mr r3, r30 +/* 8036C1D8 00369138 4B FD 19 09 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8036C1DC: +/* 8036C1DC 0036913C 7F E0 07 35 */ extsh. r0, r31 +/* 8036C1E0 00369140 40 81 00 0C */ ble lbl_8036C1EC +/* 8036C1E4 00369144 7F C3 F3 78 */ mr r3, r30 +/* 8036C1E8 00369148 4B FA 97 49 */ bl Free__7CMemoryFPCv +lbl_8036C1EC: +/* 8036C1EC 0036914C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8036C1F0 00369150 7F C3 F3 78 */ mr r3, r30 +/* 8036C1F4 00369154 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8036C1F8 00369158 83 C1 00 08 */ lwz r30, 8(r1) +/* 8036C1FC 0036915C 7C 08 03 A6 */ mtlr r0 +/* 8036C200 00369160 38 21 00 10 */ addi r1, r1, 0x10 +/* 8036C204 00369164 4E 80 00 20 */ blr + +.global sub_8036c208 +sub_8036c208: +/* 8036C208 00369168 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8036C20C 0036916C 7C 08 02 A6 */ mflr r0 +/* 8036C210 00369170 90 01 00 34 */ stw r0, 0x34(r1) +/* 8036C214 00369174 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8036C218 00369178 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8036C21C 0036917C 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8036C220 00369180 7C 9D 23 78 */ mr r29, r4 +/* 8036C224 00369184 93 81 00 20 */ stw r28, 0x20(r1) +/* 8036C228 00369188 7C 7C 1B 79 */ or. r28, r3, r3 +/* 8036C22C 0036918C 41 82 00 88 */ beq lbl_8036C2B4 +/* 8036C230 00369190 80 1C 00 04 */ lwz r0, 4(r28) +/* 8036C234 00369194 83 DC 00 0C */ lwz r30, 0xc(r28) +/* 8036C238 00369198 54 00 18 38 */ slwi r0, r0, 3 +/* 8036C23C 0036919C 7F FE 02 14 */ add r31, r30, r0 +/* 8036C240 003691A0 93 C1 00 10 */ stw r30, 0x10(r1) +/* 8036C244 003691A4 93 E1 00 08 */ stw r31, 8(r1) +/* 8036C248 003691A8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8036C24C 003691AC 93 C1 00 14 */ stw r30, 0x14(r1) +/* 8036C250 003691B0 48 00 00 3C */ b lbl_8036C28C +lbl_8036C254: +/* 8036C254 003691B4 28 1E 00 00 */ cmplwi r30, 0 +/* 8036C258 003691B8 41 82 00 30 */ beq lbl_8036C288 +/* 8036C25C 003691BC 88 1E 00 00 */ lbz r0, 0(r30) +/* 8036C260 003691C0 28 00 00 00 */ cmplwi r0, 0 +/* 8036C264 003691C4 41 82 00 24 */ beq lbl_8036C288 +/* 8036C268 003691C8 80 7E 00 04 */ lwz r3, 4(r30) +/* 8036C26C 003691CC 28 03 00 00 */ cmplwi r3, 0 +/* 8036C270 003691D0 41 82 00 18 */ beq lbl_8036C288 +/* 8036C274 003691D4 81 83 00 00 */ lwz r12, 0(r3) +/* 8036C278 003691D8 38 80 00 01 */ li r4, 1 +/* 8036C27C 003691DC 81 8C 00 08 */ lwz r12, 8(r12) +/* 8036C280 003691E0 7D 89 03 A6 */ mtctr r12 +/* 8036C284 003691E4 4E 80 04 21 */ bctrl +lbl_8036C288: +/* 8036C288 003691E8 3B DE 00 08 */ addi r30, r30, 8 +lbl_8036C28C: +/* 8036C28C 003691EC 7C 1E F8 40 */ cmplw r30, r31 +/* 8036C290 003691F0 40 82 FF C4 */ bne lbl_8036C254 +/* 8036C294 003691F4 80 7C 00 0C */ lwz r3, 0xc(r28) +/* 8036C298 003691F8 28 03 00 00 */ cmplwi r3, 0 +/* 8036C29C 003691FC 41 82 00 08 */ beq lbl_8036C2A4 +/* 8036C2A0 00369200 4B FA 96 91 */ bl Free__7CMemoryFPCv +lbl_8036C2A4: +/* 8036C2A4 00369204 7F A0 07 35 */ extsh. r0, r29 +/* 8036C2A8 00369208 40 81 00 0C */ ble lbl_8036C2B4 +/* 8036C2AC 0036920C 7F 83 E3 78 */ mr r3, r28 +/* 8036C2B0 00369210 4B FA 96 81 */ bl Free__7CMemoryFPCv +lbl_8036C2B4: +/* 8036C2B4 00369214 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8036C2B8 00369218 7F 83 E3 78 */ mr r3, r28 +/* 8036C2BC 0036921C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8036C2C0 00369220 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8036C2C4 00369224 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8036C2C8 00369228 83 81 00 20 */ lwz r28, 0x20(r1) +/* 8036C2CC 0036922C 7C 08 03 A6 */ mtlr r0 +/* 8036C2D0 00369230 38 21 00 30 */ addi r1, r1, 0x30 +/* 8036C2D4 00369234 4E 80 00 20 */ blr + +.global __ct__18CStaticAudioPlayerFRCQ24rstl12basic_stringii +__ct__18CStaticAudioPlayerFRCQ24rstl12basic_stringii: +/* 8036C2D8 00369238 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 8036C2DC 0036923C 7C 08 02 A6 */ mflr r0 +/* 8036C2E0 00369240 90 01 00 74 */ stw r0, 0x74(r1) +/* 8036C2E4 00369244 BF 41 00 58 */ stmw r26, 0x58(r1) +/* 8036C2E8 00369248 7C 7A 1B 78 */ mr r26, r3 +/* 8036C2EC 0036924C 7C 9B 23 78 */ mr r27, r4 +/* 8036C2F0 00369250 7C BD 2B 78 */ mr r29, r5 +/* 8036C2F4 00369254 7C DC 33 78 */ mr r28, r6 +/* 8036C2F8 00369258 4B FD 1E 69 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8036C2FC 0036925C 38 00 FF FF */ li r0, -1 +/* 8036C300 00369260 3C 80 80 3E */ lis r4, lbl_803D8560@ha +/* 8036C304 00369264 90 1A 00 10 */ stw r0, 0x10(r26) +/* 8036C308 00369268 38 E0 00 00 */ li r7, 0 +/* 8036C30C 0036926C 38 A4 85 60 */ addi r5, r4, lbl_803D8560@l +/* 8036C310 00369270 3C 60 80 3D */ lis r3, lbl_803D6AA8@ha +/* 8036C314 00369274 90 FA 00 18 */ stw r7, 0x18(r26) +/* 8036C318 00369278 57 A4 00 3C */ rlwinm r4, r29, 0, 0, 0x1e +/* 8036C31C 0036927C 38 C3 6A A8 */ addi r6, r3, lbl_803D6AA8@l +/* 8036C320 00369280 57 80 00 3C */ rlwinm r0, r28, 0, 0, 0x1e +/* 8036C324 00369284 90 9A 00 1C */ stw r4, 0x1c(r26) +/* 8036C328 00369288 38 61 00 20 */ addi r3, r1, 0x20 +/* 8036C32C 0036928C 38 80 FF FF */ li r4, -1 +/* 8036C330 00369290 90 1A 00 20 */ stw r0, 0x20(r26) +/* 8036C334 00369294 90 FA 00 24 */ stw r7, 0x24(r26) +/* 8036C338 00369298 4B F6 A0 9D */ bl __ct__10CCallStackFUiPCcPCc +/* 8036C33C 0036929C 7C 67 1B 78 */ mr r7, r3 +/* 8036C340 003692A0 38 60 02 80 */ li r3, 0x280 +/* 8036C344 003692A4 38 80 00 02 */ li r4, 2 +/* 8036C348 003692A8 38 A0 00 01 */ li r5, 1 +/* 8036C34C 003692AC 38 C0 00 00 */ li r6, 0 +/* 8036C350 003692B0 4B FA 96 45 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 8036C354 003692B4 7C 03 00 D0 */ neg r0, r3 +/* 8036C358 003692B8 3C A0 80 3E */ lis r5, lbl_803D8560@ha +/* 8036C35C 003692BC 7C 00 1B 78 */ or r0, r0, r3 +/* 8036C360 003692C0 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha +/* 8036C364 003692C4 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8036C368 003692C8 38 A5 85 60 */ addi r5, r5, lbl_803D8560@l +/* 8036C36C 003692CC 98 1A 00 28 */ stb r0, 0x28(r26) +/* 8036C370 003692D0 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l +/* 8036C374 003692D4 38 80 FF FF */ li r4, -1 +/* 8036C378 003692D8 90 7A 00 2C */ stw r3, 0x2c(r26) +/* 8036C37C 003692DC 38 61 00 18 */ addi r3, r1, 0x18 +/* 8036C380 003692E0 4B F6 A0 55 */ bl __ct__10CCallStackFUiPCcPCc +/* 8036C384 003692E4 7C 67 1B 78 */ mr r7, r3 +/* 8036C388 003692E8 38 60 02 80 */ li r3, 0x280 +/* 8036C38C 003692EC 38 80 00 02 */ li r4, 2 +/* 8036C390 003692F0 38 A0 00 01 */ li r5, 1 +/* 8036C394 003692F4 38 C0 00 00 */ li r6, 0 +/* 8036C398 003692F8 4B FA 95 FD */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 8036C39C 003692FC 7C 03 00 D0 */ neg r0, r3 +/* 8036C3A0 00369300 3C 80 00 01 */ lis r4, 0x00008000@ha +/* 8036C3A4 00369304 7C 00 1B 78 */ or r0, r0, r3 +/* 8036C3A8 00369308 38 A0 00 00 */ li r5, 0 +/* 8036C3AC 0036930C 54 06 0F FE */ srwi r6, r0, 0x1f +/* 8036C3B0 00369310 38 04 80 00 */ addi r0, r4, 0x00008000@l +/* 8036C3B4 00369314 98 DA 00 30 */ stb r6, 0x30(r26) +/* 8036C3B8 00369318 90 7A 00 34 */ stw r3, 0x34(r26) +/* 8036C3BC 0036931C 38 61 00 30 */ addi r3, r1, 0x30 +/* 8036C3C0 00369320 90 BA 00 3C */ stw r5, 0x3c(r26) +/* 8036C3C4 00369324 90 BA 00 40 */ stw r5, 0x40(r26) +/* 8036C3C8 00369328 90 BA 00 44 */ stw r5, 0x44(r26) +/* 8036C3CC 0036932C 90 BA 00 4C */ stw r5, 0x4c(r26) +/* 8036C3D0 00369330 90 BA 00 50 */ stw r5, 0x50(r26) +/* 8036C3D4 00369334 90 BA 00 54 */ stw r5, 0x54(r26) +/* 8036C3D8 00369338 B0 1A 00 C0 */ sth r0, 0xc0(r26) +/* 8036C3DC 0036933C 80 9B 00 00 */ lwz r4, 0(r27) +/* 8036C3E0 00369340 4B FE 38 F1 */ bl __ct__8CDvdFileFPCc +/* 8036C3E4 00369344 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8036C3E8 00369348 38 7A 00 48 */ addi r3, r26, 0x48 +/* 8036C3EC 0036934C 90 1A 00 10 */ stw r0, 0x10(r26) +/* 8036C3F0 00369350 80 1A 00 10 */ lwz r0, 0x10(r26) +/* 8036C3F4 00369354 90 1A 00 14 */ stw r0, 0x14(r26) +/* 8036C3F8 00369358 80 9A 00 10 */ lwz r4, 0x10(r26) +/* 8036C3FC 0036935C 3C 84 00 02 */ addis r4, r4, 2 +/* 8036C400 00369360 38 04 FF FF */ addi r0, r4, -1 +/* 8036C404 00369364 7C 00 8E 70 */ srawi r0, r0, 0x11 +/* 8036C408 00369368 7F 60 01 94 */ addze r27, r0 +/* 8036C40C 0036936C 7F 64 DB 78 */ mr r4, r27 +/* 8036C410 00369370 4B FF 15 F9 */ bl "reserve__Q24rstl56vector,Q24rstl17rmemory_allocator>Fi" +/* 8036C414 00369374 7F 64 DB 78 */ mr r4, r27 +/* 8036C418 00369378 38 7A 00 38 */ addi r3, r26, 0x38 +/* 8036C41C 0036937C 48 00 01 C9 */ bl sub_8036c5e4 +/* 8036C420 00369380 3C 80 80 3E */ lis r4, lbl_803D8560@ha +/* 8036C424 00369384 3C 60 80 3D */ lis r3, lbl_803D6AA8@ha +/* 8036C428 00369388 83 9A 00 10 */ lwz r28, 0x10(r26) +/* 8036C42C 0036938C 3B C4 85 60 */ addi r30, r4, lbl_803D8560@l +/* 8036C430 00369390 3B E3 6A A8 */ addi r31, r3, lbl_803D6AA8@l +/* 8036C434 00369394 3F A0 00 02 */ lis r29, 2 +/* 8036C438 00369398 48 00 01 80 */ b lbl_8036C5B8 +lbl_8036C43C: +/* 8036C43C 0036939C 7C 1C E8 00 */ cmpw r28, r29 +/* 8036C440 003693A0 3F 60 00 02 */ lis r27, 2 +/* 8036C444 003693A4 41 81 00 0C */ bgt lbl_8036C450 +/* 8036C448 003693A8 38 1C 00 1F */ addi r0, r28, 0x1f +/* 8036C44C 003693AC 54 1B 00 34 */ rlwinm r27, r0, 0, 0, 0x1a +lbl_8036C450: +/* 8036C450 003693B0 7F C5 F3 78 */ mr r5, r30 +/* 8036C454 003693B4 7F E6 FB 78 */ mr r6, r31 +/* 8036C458 003693B8 38 61 00 10 */ addi r3, r1, 0x10 +/* 8036C45C 003693BC 38 80 FF FF */ li r4, -1 +/* 8036C460 003693C0 4B F6 9F 75 */ bl __ct__10CCallStackFUiPCcPCc +/* 8036C464 003693C4 7C 67 1B 78 */ mr r7, r3 +/* 8036C468 003693C8 7F 63 DB 78 */ mr r3, r27 +/* 8036C46C 003693CC 38 80 00 02 */ li r4, 2 +/* 8036C470 003693D0 38 A0 00 01 */ li r5, 1 +/* 8036C474 003693D4 38 C0 00 00 */ li r6, 0 +/* 8036C478 003693D8 4B FA 95 1D */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 8036C47C 003693DC 7C 83 00 D0 */ neg r4, r3 +/* 8036C480 003693E0 80 1A 00 4C */ lwz r0, 0x4c(r26) +/* 8036C484 003693E4 80 BA 00 50 */ lwz r5, 0x50(r26) +/* 8036C488 003693E8 7C 84 1B 78 */ or r4, r4, r3 +/* 8036C48C 003693EC 54 84 0F FE */ srwi r4, r4, 0x1f +/* 8036C490 003693F0 90 61 00 2C */ stw r3, 0x2c(r1) +/* 8036C494 003693F4 7C 00 28 00 */ cmpw r0, r5 +/* 8036C498 003693F8 98 81 00 28 */ stb r4, 0x28(r1) +/* 8036C49C 003693FC 41 80 00 1C */ blt lbl_8036C4B8 +/* 8036C4A0 00369400 2C 05 00 00 */ cmpwi r5, 0 +/* 8036C4A4 00369404 38 7A 00 48 */ addi r3, r26, 0x48 +/* 8036C4A8 00369408 38 80 00 04 */ li r4, 4 +/* 8036C4AC 0036940C 41 82 00 08 */ beq lbl_8036C4B4 +/* 8036C4B0 00369410 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8036C4B4: +/* 8036C4B4 00369414 4B FF 15 55 */ bl "reserve__Q24rstl56vector,Q24rstl17rmemory_allocator>Fi" +lbl_8036C4B8: +/* 8036C4B8 00369418 80 1A 00 4C */ lwz r0, 0x4c(r26) +/* 8036C4BC 0036941C 80 7A 00 54 */ lwz r3, 0x54(r26) +/* 8036C4C0 00369420 54 00 18 38 */ slwi r0, r0, 3 +/* 8036C4C4 00369424 7C A3 02 15 */ add. r5, r3, r0 +/* 8036C4C8 00369428 41 82 00 1C */ beq lbl_8036C4E4 +/* 8036C4CC 0036942C 88 81 00 28 */ lbz r4, 0x28(r1) +/* 8036C4D0 00369430 38 00 00 00 */ li r0, 0 +/* 8036C4D4 00369434 80 61 00 2C */ lwz r3, 0x2c(r1) +/* 8036C4D8 00369438 98 85 00 00 */ stb r4, 0(r5) +/* 8036C4DC 0036943C 90 65 00 04 */ stw r3, 4(r5) +/* 8036C4E0 00369440 98 01 00 28 */ stb r0, 0x28(r1) +lbl_8036C4E4: +/* 8036C4E4 00369444 80 DA 00 4C */ lwz r6, 0x4c(r26) +/* 8036C4E8 00369448 7F 65 DB 78 */ mr r5, r27 +/* 8036C4EC 0036944C 80 81 00 2C */ lwz r4, 0x2c(r1) +/* 8036C4F0 00369450 38 61 00 30 */ addi r3, r1, 0x30 +/* 8036C4F4 00369454 38 06 00 01 */ addi r0, r6, 1 +/* 8036C4F8 00369458 90 1A 00 4C */ stw r0, 0x4c(r26) +/* 8036C4FC 0036945C 4B FE 36 ED */ bl SyncRead__8CDvdFileFPvUi +/* 8036C500 00369460 7C 83 00 D0 */ neg r4, r3 +/* 8036C504 00369464 80 1A 00 3C */ lwz r0, 0x3c(r26) +/* 8036C508 00369468 80 BA 00 40 */ lwz r5, 0x40(r26) +/* 8036C50C 0036946C 7C 84 1B 78 */ or r4, r4, r3 +/* 8036C510 00369470 54 84 0F FE */ srwi r4, r4, 0x1f +/* 8036C514 00369474 90 61 00 0C */ stw r3, 0xc(r1) +/* 8036C518 00369478 7C 00 28 00 */ cmpw r0, r5 +/* 8036C51C 0036947C 98 81 00 08 */ stb r4, 8(r1) +/* 8036C520 00369480 41 80 00 1C */ blt lbl_8036C53C +/* 8036C524 00369484 2C 05 00 00 */ cmpwi r5, 0 +/* 8036C528 00369488 38 7A 00 38 */ addi r3, r26, 0x38 +/* 8036C52C 0036948C 38 80 00 04 */ li r4, 4 +/* 8036C530 00369490 41 82 00 08 */ beq lbl_8036C538 +/* 8036C534 00369494 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8036C538: +/* 8036C538 00369498 48 00 00 AD */ bl sub_8036c5e4 +lbl_8036C53C: +/* 8036C53C 0036949C 80 1A 00 3C */ lwz r0, 0x3c(r26) +/* 8036C540 003694A0 80 7A 00 44 */ lwz r3, 0x44(r26) +/* 8036C544 003694A4 54 00 18 38 */ slwi r0, r0, 3 +/* 8036C548 003694A8 7C A3 02 15 */ add. r5, r3, r0 +/* 8036C54C 003694AC 41 82 00 1C */ beq lbl_8036C568 +/* 8036C550 003694B0 88 81 00 08 */ lbz r4, 8(r1) +/* 8036C554 003694B4 38 00 00 00 */ li r0, 0 +/* 8036C558 003694B8 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8036C55C 003694BC 98 85 00 00 */ stb r4, 0(r5) +/* 8036C560 003694C0 90 65 00 04 */ stw r3, 4(r5) +/* 8036C564 003694C4 98 01 00 08 */ stb r0, 8(r1) +lbl_8036C568: +/* 8036C568 003694C8 80 7A 00 3C */ lwz r3, 0x3c(r26) +/* 8036C56C 003694CC 88 01 00 08 */ lbz r0, 8(r1) +/* 8036C570 003694D0 38 63 00 01 */ addi r3, r3, 1 +/* 8036C574 003694D4 28 00 00 00 */ cmplwi r0, 0 +/* 8036C578 003694D8 90 7A 00 3C */ stw r3, 0x3c(r26) +/* 8036C57C 003694DC 41 82 00 24 */ beq lbl_8036C5A0 +/* 8036C580 003694E0 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8036C584 003694E4 28 03 00 00 */ cmplwi r3, 0 +/* 8036C588 003694E8 41 82 00 18 */ beq lbl_8036C5A0 +/* 8036C58C 003694EC 81 83 00 00 */ lwz r12, 0(r3) +/* 8036C590 003694F0 38 80 00 01 */ li r4, 1 +/* 8036C594 003694F4 81 8C 00 08 */ lwz r12, 8(r12) +/* 8036C598 003694F8 7D 89 03 A6 */ mtctr r12 +/* 8036C59C 003694FC 4E 80 04 21 */ bctrl +lbl_8036C5A0: +/* 8036C5A0 00369500 88 01 00 28 */ lbz r0, 0x28(r1) +/* 8036C5A4 00369504 28 00 00 00 */ cmplwi r0, 0 +/* 8036C5A8 00369508 41 82 00 0C */ beq lbl_8036C5B4 +/* 8036C5AC 0036950C 80 61 00 2C */ lwz r3, 0x2c(r1) +/* 8036C5B0 00369510 4B FA 93 81 */ bl Free__7CMemoryFPCv +lbl_8036C5B4: +/* 8036C5B4 00369514 3F 9C FF FE */ addis r28, r28, 0xfffe +lbl_8036C5B8: +/* 8036C5B8 00369518 2C 1C 00 00 */ cmpwi r28, 0 +/* 8036C5BC 0036951C 41 81 FE 80 */ bgt lbl_8036C43C +/* 8036C5C0 00369520 38 61 00 30 */ addi r3, r1, 0x30 +/* 8036C5C4 00369524 38 80 FF FF */ li r4, -1 +/* 8036C5C8 00369528 4B FE 36 49 */ bl __dt__8CDvdFileFv +/* 8036C5CC 0036952C 7F 43 D3 78 */ mr r3, r26 +/* 8036C5D0 00369530 BB 41 00 58 */ lmw r26, 0x58(r1) +/* 8036C5D4 00369534 80 01 00 74 */ lwz r0, 0x74(r1) +/* 8036C5D8 00369538 7C 08 03 A6 */ mtlr r0 +/* 8036C5DC 0036953C 38 21 00 70 */ addi r1, r1, 0x70 +/* 8036C5E0 00369540 4E 80 00 20 */ blr + +.global sub_8036c5e4 +sub_8036c5e4: +/* 8036C5E4 00369544 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8036C5E8 00369548 7C 08 02 A6 */ mflr r0 +/* 8036C5EC 0036954C 90 01 00 34 */ stw r0, 0x34(r1) +/* 8036C5F0 00369550 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 8036C5F4 00369554 7C 9F 23 78 */ mr r31, r4 +/* 8036C5F8 00369558 7C 7E 1B 78 */ mr r30, r3 +/* 8036C5FC 0036955C 80 03 00 08 */ lwz r0, 8(r3) +/* 8036C600 00369560 7C 1F 00 00 */ cmpw r31, r0 +/* 8036C604 00369564 40 81 00 EC */ ble lbl_8036C6F0 +/* 8036C608 00369568 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c +/* 8036C60C 0036956C 40 82 00 0C */ bne lbl_8036C618 +/* 8036C610 00369570 3B A0 00 00 */ li r29, 0 +/* 8036C614 00369574 48 00 00 18 */ b lbl_8036C62C +lbl_8036C618: +/* 8036C618 00369578 3C 80 80 3E */ lis r4, lbl_803D8560@ha +/* 8036C61C 0036957C 38 A0 00 00 */ li r5, 0 +/* 8036C620 00369580 38 84 85 60 */ addi r4, r4, lbl_803D8560@l +/* 8036C624 00369584 4B FA 91 F5 */ bl __nwa__FUlPCcPCc +/* 8036C628 00369588 7C 7D 1B 78 */ mr r29, r3 +lbl_8036C62C: +/* 8036C62C 0036958C 80 7E 00 04 */ lwz r3, 4(r30) +/* 8036C630 00369590 7F A5 EB 78 */ mr r5, r29 +/* 8036C634 00369594 80 DE 00 0C */ lwz r6, 0xc(r30) +/* 8036C638 00369598 38 00 00 00 */ li r0, 0 +/* 8036C63C 0036959C 54 63 18 38 */ slwi r3, r3, 3 +/* 8036C640 003695A0 7C 86 1A 14 */ add r4, r6, r3 +/* 8036C644 003695A4 90 C1 00 10 */ stw r6, 0x10(r1) +/* 8036C648 003695A8 90 81 00 08 */ stw r4, 8(r1) +/* 8036C64C 003695AC 90 81 00 0C */ stw r4, 0xc(r1) +/* 8036C650 003695B0 90 C1 00 14 */ stw r6, 0x14(r1) +/* 8036C654 003695B4 48 00 00 28 */ b lbl_8036C67C +lbl_8036C658: +/* 8036C658 003695B8 28 05 00 00 */ cmplwi r5, 0 +/* 8036C65C 003695BC 41 82 00 18 */ beq lbl_8036C674 +/* 8036C660 003695C0 88 66 00 00 */ lbz r3, 0(r6) +/* 8036C664 003695C4 98 65 00 00 */ stb r3, 0(r5) +/* 8036C668 003695C8 80 66 00 04 */ lwz r3, 4(r6) +/* 8036C66C 003695CC 90 65 00 04 */ stw r3, 4(r5) +/* 8036C670 003695D0 98 06 00 00 */ stb r0, 0(r6) +lbl_8036C674: +/* 8036C674 003695D4 38 A5 00 08 */ addi r5, r5, 8 +/* 8036C678 003695D8 38 C6 00 08 */ addi r6, r6, 8 +lbl_8036C67C: +/* 8036C67C 003695DC 7C 06 20 40 */ cmplw r6, r4 +/* 8036C680 003695E0 40 82 FF D8 */ bne lbl_8036C658 +/* 8036C684 003695E4 80 1E 00 04 */ lwz r0, 4(r30) +/* 8036C688 003695E8 83 7E 00 0C */ lwz r27, 0xc(r30) +/* 8036C68C 003695EC 54 00 18 38 */ slwi r0, r0, 3 +/* 8036C690 003695F0 7F 9B 02 14 */ add r28, r27, r0 +/* 8036C694 003695F4 48 00 00 3C */ b lbl_8036C6D0 +lbl_8036C698: +/* 8036C698 003695F8 28 1B 00 00 */ cmplwi r27, 0 +/* 8036C69C 003695FC 41 82 00 30 */ beq lbl_8036C6CC +/* 8036C6A0 00369600 88 1B 00 00 */ lbz r0, 0(r27) +/* 8036C6A4 00369604 28 00 00 00 */ cmplwi r0, 0 +/* 8036C6A8 00369608 41 82 00 24 */ beq lbl_8036C6CC +/* 8036C6AC 0036960C 80 7B 00 04 */ lwz r3, 4(r27) +/* 8036C6B0 00369610 28 03 00 00 */ cmplwi r3, 0 +/* 8036C6B4 00369614 41 82 00 18 */ beq lbl_8036C6CC +/* 8036C6B8 00369618 81 83 00 00 */ lwz r12, 0(r3) +/* 8036C6BC 0036961C 38 80 00 01 */ li r4, 1 +/* 8036C6C0 00369620 81 8C 00 08 */ lwz r12, 8(r12) +/* 8036C6C4 00369624 7D 89 03 A6 */ mtctr r12 +/* 8036C6C8 00369628 4E 80 04 21 */ bctrl +lbl_8036C6CC: +/* 8036C6CC 0036962C 3B 7B 00 08 */ addi r27, r27, 8 +lbl_8036C6D0: +/* 8036C6D0 00369630 7C 1B E0 40 */ cmplw r27, r28 +/* 8036C6D4 00369634 40 82 FF C4 */ bne lbl_8036C698 +/* 8036C6D8 00369638 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8036C6DC 0036963C 28 03 00 00 */ cmplwi r3, 0 +/* 8036C6E0 00369640 41 82 00 08 */ beq lbl_8036C6E8 +/* 8036C6E4 00369644 4B FA 92 4D */ bl Free__7CMemoryFPCv +lbl_8036C6E8: +/* 8036C6E8 00369648 93 BE 00 0C */ stw r29, 0xc(r30) +/* 8036C6EC 0036964C 93 FE 00 08 */ stw r31, 8(r30) +lbl_8036C6F0: +/* 8036C6F0 00369650 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 8036C6F4 00369654 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8036C6F8 00369658 7C 08 03 A6 */ mtlr r0 +/* 8036C6FC 0036965C 38 21 00 30 */ addi r1, r1, 0x30 +/* 8036C700 00369660 4E 80 00 20 */ blr + +.global sub_8036c704 +sub_8036c704: +/* 8036C704 00369664 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8036C708 00369668 7C 08 02 A6 */ mflr r0 +/* 8036C70C 0036966C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8036C710 00369670 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8036C714 00369674 7C 7F 1B 78 */ mr r31, r3 +/* 8036C718 00369678 48 01 4F 49 */ bl OSDisableInterrupts +/* 8036C71C 0036967C 7C 03 00 D0 */ neg r0, r3 +/* 8036C720 00369680 3C 80 80 54 */ lis r4, lbl_80540004@ha +/* 8036C724 00369684 7C 03 1B 78 */ or r3, r0, r3 +/* 8036C728 00369688 84 04 0A 2C */ lwzu r0, 0xa2c(r4) +/* 8036C72C 0036968C 54 63 0F FE */ srwi r3, r3, 0x1f +/* 8036C730 00369690 38 C4 00 04 */ addi r6, r4, lbl_80540004@l +/* 8036C734 00369694 54 00 10 3A */ slwi r0, r0, 2 +/* 8036C738 00369698 98 61 00 08 */ stb r3, 8(r1) +/* 8036C73C 0036969C 7C C5 33 78 */ mr r5, r6 +/* 8036C740 003696A0 7C 66 02 14 */ add r3, r6, r0 +/* 8036C744 003696A4 48 00 00 08 */ b lbl_8036C74C +lbl_8036C748: +/* 8036C748 003696A8 38 A5 00 04 */ addi r5, r5, 4 +lbl_8036C74C: +/* 8036C74C 003696AC 7C 05 18 40 */ cmplw r5, r3 +/* 8036C750 003696B0 41 82 00 10 */ beq lbl_8036C760 +/* 8036C754 003696B4 80 05 00 00 */ lwz r0, 0(r5) +/* 8036C758 003696B8 7C 00 F8 40 */ cmplw r0, r31 +/* 8036C75C 003696BC 40 82 FF EC */ bne lbl_8036C748 +lbl_8036C760: +/* 8036C760 003696C0 7C 05 18 40 */ cmplw r5, r3 +/* 8036C764 003696C4 41 82 00 58 */ beq lbl_8036C7BC +/* 8036C768 003696C8 7C 05 30 40 */ cmplw r5, r6 +/* 8036C76C 003696CC 41 80 00 50 */ blt lbl_8036C7BC +/* 8036C770 003696D0 7C 05 18 40 */ cmplw r5, r3 +/* 8036C774 003696D4 40 80 00 48 */ bge lbl_8036C7BC +/* 8036C778 003696D8 3C 60 80 54 */ lis r3, lbl_80540A2C@ha +/* 8036C77C 003696DC 38 83 0A 2C */ addi r4, r3, lbl_80540A2C@l +/* 8036C780 003696E0 48 00 00 10 */ b lbl_8036C790 +lbl_8036C784: +/* 8036C784 003696E4 80 05 00 04 */ lwz r0, 4(r5) +/* 8036C788 003696E8 90 05 00 00 */ stw r0, 0(r5) +/* 8036C78C 003696EC 38 A5 00 04 */ addi r5, r5, 4 +lbl_8036C790: +/* 8036C790 003696F0 80 04 00 00 */ lwz r0, 0(r4) +/* 8036C794 003696F4 54 03 10 3A */ slwi r3, r0, 2 +/* 8036C798 003696F8 38 03 FF FC */ addi r0, r3, -4 +/* 8036C79C 003696FC 7C 06 02 14 */ add r0, r6, r0 +/* 8036C7A0 00369700 7C 05 00 40 */ cmplw r5, r0 +/* 8036C7A4 00369704 41 80 FF E0 */ blt lbl_8036C784 +/* 8036C7A8 00369708 3C 60 80 54 */ lis r3, lbl_80540A2C@ha +/* 8036C7AC 0036970C 38 83 0A 2C */ addi r4, r3, lbl_80540A2C@l +/* 8036C7B0 00369710 80 64 00 00 */ lwz r3, 0(r4) +/* 8036C7B4 00369714 38 03 FF FF */ addi r0, r3, -1 +/* 8036C7B8 00369718 90 04 00 00 */ stw r0, 0(r4) +lbl_8036C7BC: +/* 8036C7BC 0036971C 48 00 01 35 */ bl sub_8036c8f0 +/* 8036C7C0 00369720 88 61 00 08 */ lbz r3, 8(r1) +/* 8036C7C4 00369724 48 01 4E C5 */ bl OSRestoreInterrupts +/* 8036C7C8 00369728 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8036C7CC 0036972C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8036C7D0 00369730 7C 08 03 A6 */ mtlr r0 +/* 8036C7D4 00369734 38 21 00 20 */ addi r1, r1, 0x20 +/* 8036C7D8 00369738 4E 80 00 20 */ blr + +.global RunDMACallback__18CStaticAudioPlayerFv +RunDMACallback__18CStaticAudioPlayerFv: +/* 8036C7DC 0036973C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8036C7E0 00369740 7C 08 02 A6 */ mflr r0 +/* 8036C7E4 00369744 90 01 00 24 */ stw r0, 0x24(r1) +/* 8036C7E8 00369748 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8036C7EC 0036974C 7C 7F 1B 78 */ mr r31, r3 +/* 8036C7F0 00369750 48 01 4E 71 */ bl OSDisableInterrupts +/* 8036C7F4 00369754 7C 03 00 D0 */ neg r0, r3 +/* 8036C7F8 00369758 3C 80 80 54 */ lis r4, lbl_80540004@ha +/* 8036C7FC 0036975C 7C 03 1B 78 */ or r3, r0, r3 +/* 8036C800 00369760 84 04 0A 2C */ lwzu r0, 0xa2c(r4) +/* 8036C804 00369764 54 63 0F FE */ srwi r3, r3, 0x1f +/* 8036C808 00369768 38 84 00 04 */ addi r4, r4, lbl_80540004@l +/* 8036C80C 0036976C 54 00 10 3A */ slwi r0, r0, 2 +/* 8036C810 00369770 98 61 00 08 */ stb r3, 8(r1) +/* 8036C814 00369774 7C 64 02 14 */ add r3, r4, r0 +/* 8036C818 00369778 48 00 00 08 */ b lbl_8036C820 +lbl_8036C81C: +/* 8036C81C 0036977C 38 84 00 04 */ addi r4, r4, 4 +lbl_8036C820: +/* 8036C820 00369780 7C 04 18 40 */ cmplw r4, r3 +/* 8036C824 00369784 41 82 00 10 */ beq lbl_8036C834 +/* 8036C828 00369788 80 04 00 00 */ lwz r0, 0(r4) +/* 8036C82C 0036978C 7C 00 F8 40 */ cmplw r0, r31 +/* 8036C830 00369790 40 82 FF EC */ bne lbl_8036C81C +lbl_8036C834: +/* 8036C834 00369794 7C 04 18 40 */ cmplw r4, r3 +/* 8036C838 00369798 40 82 00 24 */ bne lbl_8036C85C +/* 8036C83C 0036979C 28 03 00 00 */ cmplwi r3, 0 +/* 8036C840 003697A0 41 82 00 08 */ beq lbl_8036C848 +/* 8036C844 003697A4 93 E3 00 00 */ stw r31, 0(r3) +lbl_8036C848: +/* 8036C848 003697A8 3C 60 80 54 */ lis r3, lbl_80540A2C@ha +/* 8036C84C 003697AC 38 83 0A 2C */ addi r4, r3, lbl_80540A2C@l +/* 8036C850 003697B0 80 64 00 00 */ lwz r3, 0(r4) +/* 8036C854 003697B4 38 03 00 01 */ addi r0, r3, 1 +/* 8036C858 003697B8 90 04 00 00 */ stw r0, 0(r4) +lbl_8036C85C: +/* 8036C85C 003697BC 48 00 00 95 */ bl sub_8036c8f0 +/* 8036C860 003697C0 88 61 00 08 */ lbz r3, 8(r1) +/* 8036C864 003697C4 48 01 4E 25 */ bl OSRestoreInterrupts +/* 8036C868 003697C8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8036C86C 003697CC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8036C870 003697D0 7C 08 03 A6 */ mtlr r0 +/* 8036C874 003697D4 38 21 00 20 */ addi r1, r1, 0x20 +/* 8036C878 003697D8 4E 80 00 20 */ blr + +.global sub_8036c87c +sub_8036c87c: +/* 8036C87C 003697DC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8036C880 003697E0 7C 08 02 A6 */ mflr r0 +/* 8036C884 003697E4 90 01 00 24 */ stw r0, 0x24(r1) +/* 8036C888 003697E8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8036C88C 003697EC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8036C890 003697F0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8036C894 003697F4 81 8D AA EC */ lwz r12, lbl_805A96AC@sda21(r13) +/* 8036C898 003697F8 7D 89 03 A6 */ mtctr r12 +/* 8036C89C 003697FC 4E 80 04 21 */ bctrl +/* 8036C8A0 00369800 3C 60 80 54 */ lis r3, lbl_80540A2C@ha +/* 8036C8A4 00369804 3B A0 00 00 */ li r29, 0 +/* 8036C8A8 00369808 3B E3 0A 2C */ addi r31, r3, lbl_80540A2C@l +/* 8036C8AC 0036980C 3B DF 00 04 */ addi r30, r31, 4 +/* 8036C8B0 00369810 48 00 00 18 */ b lbl_8036C8C8 +lbl_8036C8B4: +/* 8036C8B4 00369814 81 9E 00 00 */ lwz r12, 0(r30) +/* 8036C8B8 00369818 7D 89 03 A6 */ mtctr r12 +/* 8036C8BC 0036981C 4E 80 04 21 */ bctrl +/* 8036C8C0 00369820 3B DE 00 04 */ addi r30, r30, 4 +/* 8036C8C4 00369824 3B BD 00 01 */ addi r29, r29, 1 +lbl_8036C8C8: +/* 8036C8C8 00369828 80 1F 00 00 */ lwz r0, 0(r31) +/* 8036C8CC 0036982C 7C 1D 00 00 */ cmpw r29, r0 +/* 8036C8D0 00369830 41 80 FF E4 */ blt lbl_8036C8B4 +/* 8036C8D4 00369834 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8036C8D8 00369838 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8036C8DC 0036983C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8036C8E0 00369840 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8036C8E4 00369844 7C 08 03 A6 */ mtlr r0 +/* 8036C8E8 00369848 38 21 00 20 */ addi r1, r1, 0x20 +/* 8036C8EC 0036984C 4E 80 00 20 */ blr + +.global sub_8036c8f0 +sub_8036c8f0: +/* 8036C8F0 00369850 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8036C8F4 00369854 7C 08 02 A6 */ mflr r0 +/* 8036C8F8 00369858 90 01 00 14 */ stw r0, 0x14(r1) +/* 8036C8FC 0036985C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8036C900 00369860 4B FD DE A5 */ bl sub_8034a7a4 +/* 8036C904 00369864 7C 60 1B 78 */ mr r0, r3 +/* 8036C908 00369868 38 60 00 01 */ li r3, 1 +/* 8036C90C 0036986C 7C 1F 03 78 */ mr r31, r0 +/* 8036C910 00369870 4B FD DE 9D */ bl sub_8034a7ac +/* 8036C914 00369874 88 8D AA E8 */ lbz r4, lbl_805A96A8@sda21(r13) +/* 8036C918 00369878 28 04 00 00 */ cmplwi r4, 0 +/* 8036C91C 0036987C 40 82 00 30 */ bne lbl_8036C94C +/* 8036C920 00369880 3C 60 80 54 */ lis r3, lbl_80540A2C@ha +/* 8036C924 00369884 80 03 0A 2C */ lwz r0, lbl_80540A2C@l(r3) +/* 8036C928 00369888 2C 00 00 00 */ cmpwi r0, 0 +/* 8036C92C 0036988C 41 82 00 20 */ beq lbl_8036C94C +/* 8036C930 00369890 3C 60 80 37 */ lis r3, sub_8036c87c@ha +/* 8036C934 00369894 38 63 C8 7C */ addi r3, r3, sub_8036c87c@l +/* 8036C938 00369898 48 00 06 05 */ bl AIRegisterDMACallback +/* 8036C93C 0036989C 38 00 00 01 */ li r0, 1 +/* 8036C940 003698A0 90 6D AA EC */ stw r3, lbl_805A96AC@sda21(r13) +/* 8036C944 003698A4 98 0D AA E8 */ stb r0, lbl_805A96A8@sda21(r13) +/* 8036C948 003698A8 48 00 00 30 */ b lbl_8036C978 +lbl_8036C94C: +/* 8036C94C 003698AC 28 04 00 00 */ cmplwi r4, 0 +/* 8036C950 003698B0 41 82 00 28 */ beq lbl_8036C978 +/* 8036C954 003698B4 3C 60 80 54 */ lis r3, lbl_80540A2C@ha +/* 8036C958 003698B8 80 03 0A 2C */ lwz r0, lbl_80540A2C@l(r3) +/* 8036C95C 003698BC 2C 00 00 00 */ cmpwi r0, 0 +/* 8036C960 003698C0 40 82 00 18 */ bne lbl_8036C978 +/* 8036C964 003698C4 80 6D AA EC */ lwz r3, lbl_805A96AC@sda21(r13) +/* 8036C968 003698C8 48 00 05 D5 */ bl AIRegisterDMACallback +/* 8036C96C 003698CC 38 00 00 00 */ li r0, 0 +/* 8036C970 003698D0 90 0D AA EC */ stw r0, lbl_805A96AC@sda21(r13) +/* 8036C974 003698D4 98 0D AA E8 */ stb r0, lbl_805A96A8@sda21(r13) +lbl_8036C978: +/* 8036C978 003698D8 7F E3 FB 78 */ mr r3, r31 +/* 8036C97C 003698DC 4B FD DE 31 */ bl sub_8034a7ac +/* 8036C980 003698E0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8036C984 003698E4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8036C988 003698E8 7C 08 03 A6 */ mtlr r0 +/* 8036C98C 003698EC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8036C990 003698F0 4E 80 00 20 */ blr + +.global __sinit_CStaticAudioPlayer_cpp +__sinit_CStaticAudioPlayer_cpp: +/* 8036C994 003698F4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8036C998 003698F8 7C 08 02 A6 */ mflr r0 +/* 8036C99C 003698FC 3C 80 80 37 */ lis r4, sub_8036c9d0@ha +/* 8036C9A0 00369900 3C A0 80 54 */ lis r5, lbl_80540A20@ha +/* 8036C9A4 00369904 90 01 00 14 */ stw r0, 0x14(r1) +/* 8036C9A8 00369908 38 00 00 00 */ li r0, 0 +/* 8036C9AC 0036990C 3C 60 80 54 */ lis r3, lbl_80540A2C@ha +/* 8036C9B0 00369910 38 84 C9 D0 */ addi r4, r4, sub_8036c9d0@l +/* 8036C9B4 00369914 94 03 0A 2C */ stwu r0, lbl_80540A2C@l(r3) +/* 8036C9B8 00369918 38 A5 0A 20 */ addi r5, r5, lbl_80540A20@l +/* 8036C9BC 0036991C 48 01 CC D1 */ bl __register_global_object +/* 8036C9C0 00369920 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8036C9C4 00369924 7C 08 03 A6 */ mtlr r0 +/* 8036C9C8 00369928 38 21 00 10 */ addi r1, r1, 0x10 +/* 8036C9CC 0036992C 4E 80 00 20 */ blr + +.global sub_8036c9d0 +sub_8036c9d0: +/* 8036C9D0 00369930 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8036C9D4 00369934 7C 08 02 A6 */ mflr r0 +/* 8036C9D8 00369938 90 01 00 14 */ stw r0, 0x14(r1) +/* 8036C9DC 0036993C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8036C9E0 00369940 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8036C9E4 00369944 41 82 00 68 */ beq lbl_8036CA4C +/* 8036C9E8 00369948 80 DF 00 00 */ lwz r6, 0(r31) +/* 8036C9EC 0036994C 38 60 00 00 */ li r3, 0 +/* 8036C9F0 00369950 2C 06 00 00 */ cmpwi r6, 0 +/* 8036C9F4 00369954 40 81 00 40 */ ble lbl_8036CA34 +/* 8036C9F8 00369958 2C 06 00 08 */ cmpwi r6, 8 +/* 8036C9FC 0036995C 38 A6 FF F8 */ addi r5, r6, -8 +/* 8036CA00 00369960 40 81 00 20 */ ble lbl_8036CA20 +/* 8036CA04 00369964 38 05 00 07 */ addi r0, r5, 7 +/* 8036CA08 00369968 54 00 E8 FE */ srwi r0, r0, 3 +/* 8036CA0C 0036996C 7C 09 03 A6 */ mtctr r0 +/* 8036CA10 00369970 2C 05 00 00 */ cmpwi r5, 0 +/* 8036CA14 00369974 40 81 00 0C */ ble lbl_8036CA20 +lbl_8036CA18: +/* 8036CA18 00369978 38 63 00 08 */ addi r3, r3, 8 +/* 8036CA1C 0036997C 42 00 FF FC */ bdnz lbl_8036CA18 +lbl_8036CA20: +/* 8036CA20 00369980 7C 03 30 50 */ subf r0, r3, r6 +/* 8036CA24 00369984 7C 09 03 A6 */ mtctr r0 +/* 8036CA28 00369988 7C 03 30 00 */ cmpw r3, r6 +/* 8036CA2C 0036998C 40 80 00 08 */ bge lbl_8036CA34 +lbl_8036CA30: +/* 8036CA30 00369990 42 00 00 00 */ bdnz lbl_8036CA30 +lbl_8036CA34: +/* 8036CA34 00369994 38 60 00 00 */ li r3, 0 +/* 8036CA38 00369998 7C 80 07 35 */ extsh. r0, r4 +/* 8036CA3C 0036999C 90 7F 00 00 */ stw r3, 0(r31) +/* 8036CA40 003699A0 40 81 00 0C */ ble lbl_8036CA4C +/* 8036CA44 003699A4 7F E3 FB 78 */ mr r3, r31 +/* 8036CA48 003699A8 4B FA 8E E9 */ bl Free__7CMemoryFPCv +lbl_8036CA4C: +/* 8036CA4C 003699AC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8036CA50 003699B0 7F E3 FB 78 */ mr r3, r31 +/* 8036CA54 003699B4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8036CA58 003699B8 7C 08 03 A6 */ mtlr r0 +/* 8036CA5C 003699BC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8036CA60 003699C0 4E 80 00 20 */ blr diff --git a/asm/Kyoto/Audio/CStreamAudioManager.s b/asm/Kyoto/Audio/CStreamAudioManager.s new file mode 100644 index 00000000..6f849b1b --- /dev/null +++ b/asm/Kyoto/Audio/CStreamAudioManager.s @@ -0,0 +1,1399 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global sub_803653f8 +sub_803653f8: +/* 803653F8 00362358 C0 02 CD B0 */ lfs f0, lbl_805AEAD0@sda21(r2) +/* 803653FC 0036235C FC 00 08 00 */ fcmpu cr0, f0, f1 +/* 80365400 00362360 40 82 00 0C */ bne lbl_8036540C +/* 80365404 00362364 C0 0D 9E 74 */ lfs f0, lbl_805A8A34@sda21(r13) +/* 80365408 00362368 48 00 00 0C */ b lbl_80365414 +lbl_8036540C: +/* 8036540C 0036236C C0 0D 9E 74 */ lfs f0, lbl_805A8A34@sda21(r13) +/* 80365410 00362370 EC 00 08 24 */ fdivs f0, f0, f1 +lbl_80365414: +/* 80365414 00362374 38 00 00 04 */ li r0, 4 +/* 80365418 00362378 D0 0D AA C4 */ stfs f0, lbl_805A9684@sda21(r13) +/* 8036541C 0036237C 90 0D 9E 70 */ stw r0, lbl_805A8A30@sda21(r13) +/* 80365420 00362380 4E 80 00 20 */ blr + +.global sub_80365424 +sub_80365424: +/* 80365424 00362384 C0 02 CD B0 */ lfs f0, lbl_805AEAD0@sda21(r2) +/* 80365428 00362388 C0 4D AA C0 */ lfs f2, lbl_805A9680@sda21(r13) +/* 8036542C 0036238C FC 00 08 00 */ fcmpu cr0, f0, f1 +/* 80365430 00362390 D0 4D 9E 74 */ stfs f2, lbl_805A8A34@sda21(r13) +/* 80365434 00362394 40 82 00 08 */ bne lbl_8036543C +/* 80365438 00362398 48 00 00 08 */ b lbl_80365440 +lbl_8036543C: +/* 8036543C 0036239C EC 42 08 24 */ fdivs f2, f2, f1 +lbl_80365440: +/* 80365440 003623A0 38 00 00 06 */ li r0, 6 +/* 80365444 003623A4 D0 4D AA C8 */ stfs f2, lbl_805A9688@sda21(r13) +/* 80365448 003623A8 90 0D 9E 70 */ stw r0, lbl_805A8A30@sda21(r13) +/* 8036544C 003623AC 4E 80 00 20 */ blr + +.global sub_80365450 +sub_80365450: +/* 80365450 003623B0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80365454 003623B4 7C 08 02 A6 */ mflr r0 +/* 80365458 003623B8 3C 80 80 5A */ lis r4, lbl_805A6B90@ha +/* 8036545C 003623BC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80365460 003623C0 38 84 6B 90 */ addi r4, r4, lbl_805A6B90@l +/* 80365464 003623C4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80365468 003623C8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8036546C 003623CC 7C 7E 1B 78 */ mr r30, r3 +/* 80365470 003623D0 80 0D 9E 70 */ lwz r0, lbl_805A8A30@sda21(r13) +/* 80365474 003623D4 20 00 00 01 */ subfic r0, r0, 1 +/* 80365478 003623D8 7C 00 00 34 */ cntlzw r0, r0 +/* 8036547C 003623DC 54 1F D9 7E */ srwi r31, r0, 5 +/* 80365480 003623E0 48 00 00 A5 */ bl sub_80365524 +/* 80365484 003623E4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80365488 003623E8 41 82 00 18 */ beq lbl_803654A0 +/* 8036548C 003623EC 3C 60 80 5A */ lis r3, lbl_805A6B90@ha +/* 80365490 003623F0 7F C4 F3 78 */ mr r4, r30 +/* 80365494 003623F4 38 63 6B 90 */ addi r3, r3, lbl_805A6B90@l +/* 80365498 003623F8 4B FD 88 C5 */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8036549C 003623FC 3B E0 00 01 */ li r31, 1 +lbl_803654A0: +/* 803654A0 00362400 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 803654A4 00362404 41 82 00 68 */ beq lbl_8036550C +/* 803654A8 00362408 88 0D 9E 80 */ lbz r0, lbl_805A8A40@sda21(r13) +/* 803654AC 0036240C 28 00 00 00 */ cmplwi r0, 0 +/* 803654B0 00362410 41 82 00 5C */ beq lbl_8036550C +/* 803654B4 00362414 3C 80 80 3E */ lis r4, lbl_803D8410@ha +/* 803654B8 00362418 38 61 00 08 */ addi r3, r1, 8 +/* 803654BC 0036241C 38 84 84 10 */ addi r4, r4, lbl_803D8410@l +/* 803654C0 00362420 4B C9 F7 F9 */ bl string_l__4rstlFPCc +/* 803654C4 00362424 7F C3 F3 78 */ mr r3, r30 +/* 803654C8 00362428 38 81 00 08 */ addi r4, r1, 8 +/* 803654CC 0036242C 48 00 00 59 */ bl sub_80365524 +/* 803654D0 00362430 7C 7F 1B 78 */ mr r31, r3 +/* 803654D4 00362434 38 61 00 08 */ addi r3, r1, 8 +/* 803654D8 00362438 4B FD 86 09 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 803654DC 0036243C 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 803654E0 00362440 41 82 00 2C */ beq lbl_8036550C +/* 803654E4 00362444 4B FE 5E 19 */ bl TrkFlushTracks__9CAudioSysFv +/* 803654E8 00362448 7F C3 F3 78 */ mr r3, r30 +/* 803654EC 0036244C 38 80 00 00 */ li r4, 0 +/* 803654F0 00362450 38 A0 00 00 */ li r5, 0 +/* 803654F4 00362454 4B FE 5E 71 */ bl "TrkQueueTrack__9CAudioSysFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>PFUl_vUi" +/* 803654F8 00362458 4B FE 5D 3D */ bl TrkNextTrack__9CAudioSysFv +/* 803654FC 0036245C 38 60 00 02 */ li r3, 2 +/* 80365500 00362460 4B FE 5D BD */ bl TrkSetRepeatMode__9CAudioSysF14ETRKRepeatMode +/* 80365504 00362464 38 60 00 01 */ li r3, 1 +/* 80365508 00362468 4B FE 5D 95 */ bl TrkSetState__9CAudioSysF13ETRKPlayState +lbl_8036550C: +/* 8036550C 0036246C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80365510 00362470 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80365514 00362474 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80365518 00362478 7C 08 03 A6 */ mtlr r0 +/* 8036551C 0036247C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80365520 00362480 4E 80 00 20 */ blr + +.global sub_80365524 +sub_80365524: +/* 80365524 00362484 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80365528 00362488 7C 08 02 A6 */ mflr r0 +/* 8036552C 0036248C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80365530 00362490 4B CC 52 45 */ bl sub_8002a774 +/* 80365534 00362494 7C 03 00 D0 */ neg r0, r3 +/* 80365538 00362498 7C 00 1B 78 */ or r0, r0, r3 +/* 8036553C 0036249C 54 03 0F FE */ srwi r3, r0, 0x1f +/* 80365540 003624A0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80365544 003624A4 7C 08 03 A6 */ mtlr r0 +/* 80365548 003624A8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8036554C 003624AC 4E 80 00 20 */ blr + +.global InternalSetVolume__19CStreamAudioManagerFf +InternalSetVolume__19CStreamAudioManagerFf: +/* 80365550 003624B0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80365554 003624B4 7C 08 02 A6 */ mflr r0 +/* 80365558 003624B8 C0 02 CD BC */ lfs f0, lbl_805AEADC@sda21(r2) +/* 8036555C 003624BC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80365560 003624C0 3C 00 43 30 */ lis r0, 0x4330 +/* 80365564 003624C4 FC 00 08 00 */ fcmpu cr0, f0, f1 +/* 80365568 003624C8 C8 62 CD C0 */ lfd f3, lbl_805AEAE0@sda21(r2) +/* 8036556C 003624CC 80 6D 9E 78 */ lwz r3, lbl_805A8A38@sda21(r13) +/* 80365570 003624D0 90 01 00 08 */ stw r0, 8(r1) +/* 80365574 003624D4 6C 63 80 00 */ xoris r3, r3, 0x8000 +/* 80365578 003624D8 C0 82 CD B4 */ lfs f4, lbl_805AEAD4@sda21(r2) +/* 8036557C 003624DC 90 61 00 0C */ stw r3, 0xc(r1) +/* 80365580 003624E0 C0 02 CD B8 */ lfs f0, lbl_805AEAD8@sda21(r2) +/* 80365584 003624E4 C8 41 00 08 */ lfd f2, 8(r1) +/* 80365588 003624E8 EC 42 18 28 */ fsubs f2, f2, f3 +/* 8036558C 003624EC EC 21 00 B2 */ fmuls f1, f1, f2 +/* 80365590 003624F0 EC 24 00 72 */ fmuls f1, f4, f1 +/* 80365594 003624F4 EC 01 00 24 */ fdivs f0, f1, f0 +/* 80365598 003624F8 FC 00 00 1E */ fctiwz f0, f0 +/* 8036559C 003624FC D8 01 00 10 */ stfd f0, 0x10(r1) +/* 803655A0 00362500 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803655A4 00362504 41 82 00 10 */ beq lbl_803655B4 +/* 803655A8 00362508 54 03 06 3E */ clrlwi r3, r0, 0x18 +/* 803655AC 0036250C 7C 64 1B 78 */ mr r4, r3 +/* 803655B0 00362510 4B FE 5C A5 */ bl TrkSetVolume__9CAudioSysFUcUc +lbl_803655B4: +/* 803655B4 00362514 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803655B8 00362518 7C 08 03 A6 */ mtlr r0 +/* 803655BC 0036251C 38 21 00 20 */ addi r1, r1, 0x20 +/* 803655C0 00362520 4E 80 00 20 */ blr + +.global HandleMusicUnmute__19CStreamAudioManagerFv +HandleMusicUnmute__19CStreamAudioManagerFv: +/* 803655C4 00362524 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803655C8 00362528 7C 08 02 A6 */ mflr r0 +/* 803655CC 0036252C 3C 60 80 5A */ lis r3, lbl_805A6B90@ha +/* 803655D0 00362530 90 01 00 14 */ stw r0, 0x14(r1) +/* 803655D4 00362534 38 63 6B 90 */ addi r3, r3, lbl_805A6B90@l +/* 803655D8 00362538 4B FF FE 79 */ bl sub_80365450 +/* 803655DC 0036253C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803655E0 00362540 7C 08 03 A6 */ mtlr r0 +/* 803655E4 00362544 38 21 00 10 */ addi r1, r1, 0x10 +/* 803655E8 00362548 4E 80 00 20 */ blr + +.global StopAllStreams__19CStreamAudioManagerFv +StopAllStreams__19CStreamAudioManagerFv: +/* 803655EC 0036254C 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 803655F0 00362550 7C 08 02 A6 */ mflr r0 +/* 803655F4 00362554 3C 80 80 54 */ lis r4, lbl_80540580@ha +/* 803655F8 00362558 3C 60 80 54 */ lis r3, lbl_805405E4@ha +/* 803655FC 0036255C 90 01 00 74 */ stw r0, 0x74(r1) +/* 80365600 00362560 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 80365604 00362564 3B E4 05 80 */ addi r31, r4, lbl_80540580@l +/* 80365608 00362568 93 C1 00 68 */ stw r30, 0x68(r1) +/* 8036560C 0036256C 3B C3 05 E4 */ addi r30, r3, lbl_805405E4@l +/* 80365610 00362570 93 A1 00 64 */ stw r29, 0x64(r1) +/* 80365614 00362574 3B A0 00 00 */ li r29, 0 +lbl_80365618: +/* 80365618 00362578 7F A3 EB 78 */ mr r3, r29 +/* 8036561C 0036257C 48 00 0B 79 */ bl StopStreaming__19CStreamAudioManagerFi +/* 80365620 00362580 38 61 00 34 */ addi r3, r1, 0x34 +/* 80365624 00362584 48 00 0F 2D */ bl __ct__20SDSPStreamCacheEntryFv +/* 80365628 00362588 7F E3 FB 78 */ mr r3, r31 +/* 8036562C 0036258C 38 81 00 34 */ addi r4, r1, 0x34 +/* 80365630 00362590 4B FD 87 2D */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80365634 00362594 80 81 00 44 */ lwz r4, 0x44(r1) +/* 80365638 00362598 38 61 00 34 */ addi r3, r1, 0x34 +/* 8036563C 0036259C 80 01 00 48 */ lwz r0, 0x48(r1) +/* 80365640 003625A0 90 9F 00 10 */ stw r4, 0x10(r31) +/* 80365644 003625A4 C0 21 00 4C */ lfs f1, 0x4c(r1) +/* 80365648 003625A8 90 1F 00 14 */ stw r0, 0x14(r31) +/* 8036564C 003625AC C0 01 00 50 */ lfs f0, 0x50(r1) +/* 80365650 003625B0 D0 3F 00 18 */ stfs f1, 0x18(r31) +/* 80365654 003625B4 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80365658 003625B8 D0 1F 00 1C */ stfs f0, 0x1c(r31) +/* 8036565C 003625BC C0 01 00 58 */ lfs f0, 0x58(r1) +/* 80365660 003625C0 90 1F 00 20 */ stw r0, 0x20(r31) +/* 80365664 003625C4 88 01 00 5C */ lbz r0, 0x5c(r1) +/* 80365668 003625C8 D0 1F 00 24 */ stfs f0, 0x24(r31) +/* 8036566C 003625CC 98 1F 00 28 */ stb r0, 0x28(r31) +/* 80365670 003625D0 4B FD 84 71 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80365674 003625D4 38 61 00 08 */ addi r3, r1, 8 +/* 80365678 003625D8 48 00 0E D9 */ bl __ct__20SDSPStreamCacheEntryFv +/* 8036567C 003625DC 7F C3 F3 78 */ mr r3, r30 +/* 80365680 003625E0 38 81 00 08 */ addi r4, r1, 8 +/* 80365684 003625E4 4B FD 86 D9 */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80365688 003625E8 80 81 00 18 */ lwz r4, 0x18(r1) +/* 8036568C 003625EC 38 61 00 08 */ addi r3, r1, 8 +/* 80365690 003625F0 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 80365694 003625F4 90 9E 00 10 */ stw r4, 0x10(r30) +/* 80365698 003625F8 C0 21 00 20 */ lfs f1, 0x20(r1) +/* 8036569C 003625FC 90 1E 00 14 */ stw r0, 0x14(r30) +/* 803656A0 00362600 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 803656A4 00362604 D0 3E 00 18 */ stfs f1, 0x18(r30) +/* 803656A8 00362608 80 01 00 28 */ lwz r0, 0x28(r1) +/* 803656AC 0036260C D0 1E 00 1C */ stfs f0, 0x1c(r30) +/* 803656B0 00362610 C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 803656B4 00362614 90 1E 00 20 */ stw r0, 0x20(r30) +/* 803656B8 00362618 88 01 00 30 */ lbz r0, 0x30(r1) +/* 803656BC 0036261C D0 1E 00 24 */ stfs f0, 0x24(r30) +/* 803656C0 00362620 98 1E 00 28 */ stb r0, 0x28(r30) +/* 803656C4 00362624 4B FD 84 1D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 803656C8 00362628 3B BD 00 01 */ addi r29, r29, 1 +/* 803656CC 0036262C 3B DE 00 2C */ addi r30, r30, 0x2c +/* 803656D0 00362630 2C 1D 00 02 */ cmpwi r29, 2 +/* 803656D4 00362634 3B FF 00 2C */ addi r31, r31, 0x2c +/* 803656D8 00362638 41 80 FF 40 */ blt lbl_80365618 +/* 803656DC 0036263C 80 01 00 74 */ lwz r0, 0x74(r1) +/* 803656E0 00362640 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 803656E4 00362644 83 C1 00 68 */ lwz r30, 0x68(r1) +/* 803656E8 00362648 83 A1 00 64 */ lwz r29, 0x64(r1) +/* 803656EC 0036264C 7C 08 03 A6 */ mtlr r0 +/* 803656F0 00362650 38 21 00 70 */ addi r1, r1, 0x70 +/* 803656F4 00362654 4E 80 00 20 */ blr + +.global sub_803656f8 +sub_803656f8: +/* 803656F8 00362658 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803656FC 0036265C 7C 08 02 A6 */ mflr r0 +/* 80365700 00362660 90 01 00 14 */ stw r0, 0x14(r1) +/* 80365704 00362664 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80365708 00362668 7C 9F 23 78 */ mr r31, r4 +/* 8036570C 0036266C 93 C1 00 08 */ stw r30, 8(r1) +/* 80365710 00362670 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80365714 00362674 41 82 00 1C */ beq lbl_80365730 +/* 80365718 00362678 41 82 00 08 */ beq lbl_80365720 +/* 8036571C 0036267C 4B FD 83 C5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80365720: +/* 80365720 00362680 7F E0 07 35 */ extsh. r0, r31 +/* 80365724 00362684 40 81 00 0C */ ble lbl_80365730 +/* 80365728 00362688 7F C3 F3 78 */ mr r3, r30 +/* 8036572C 0036268C 4B FB 02 05 */ bl Free__7CMemoryFPCv +lbl_80365730: +/* 80365730 00362690 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80365734 00362694 7F C3 F3 78 */ mr r3, r30 +/* 80365738 00362698 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8036573C 0036269C 83 C1 00 08 */ lwz r30, 8(r1) +/* 80365740 003626A0 7C 08 03 A6 */ mtlr r0 +/* 80365744 003626A4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80365748 003626A8 4E 80 00 20 */ blr + +.global HandleMusicMute__19CStreamAudioManagerFv +HandleMusicMute__19CStreamAudioManagerFv: +/* 8036574C 003626AC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80365750 003626B0 7C 08 02 A6 */ mflr r0 +/* 80365754 003626B4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80365758 003626B8 4B FE 5B A5 */ bl TrkFlushTracks__9CAudioSysFv +/* 8036575C 003626BC 38 60 00 00 */ li r3, 0 +/* 80365760 003626C0 4B FE 5B 3D */ bl TrkSetState__9CAudioSysF13ETRKPlayState +/* 80365764 003626C4 3C 80 80 3E */ lis r4, lbl_803D8410@ha +/* 80365768 003626C8 38 61 00 08 */ addi r3, r1, 8 +/* 8036576C 003626CC 38 84 84 10 */ addi r4, r4, lbl_803D8410@l +/* 80365770 003626D0 4B C9 F5 49 */ bl string_l__4rstlFPCc +/* 80365774 003626D4 3C 60 80 5A */ lis r3, lbl_805A6B90@ha +/* 80365778 003626D8 38 81 00 08 */ addi r4, r1, 8 +/* 8036577C 003626DC 38 63 6B 90 */ addi r3, r3, lbl_805A6B90@l +/* 80365780 003626E0 4B FD 85 DD */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80365784 003626E4 38 61 00 08 */ addi r3, r1, 8 +/* 80365788 003626E8 4B FD 83 59 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8036578C 003626EC C0 02 CD BC */ lfs f0, lbl_805AEADC@sda21(r2) +/* 80365790 003626F0 38 00 00 01 */ li r0, 1 +/* 80365794 003626F4 C0 2D 9E 74 */ lfs f1, lbl_805A8A34@sda21(r13) +/* 80365798 003626F8 90 0D 9E 70 */ stw r0, lbl_805A8A30@sda21(r13) +/* 8036579C 003626FC FC 00 08 00 */ fcmpu cr0, f0, f1 +/* 803657A0 00362700 41 82 00 08 */ beq lbl_803657A8 +/* 803657A4 00362704 4B FF FD AD */ bl InternalSetVolume__19CStreamAudioManagerFf +lbl_803657A8: +/* 803657A8 00362708 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803657AC 0036270C 7C 08 03 A6 */ mtlr r0 +/* 803657B0 00362710 38 21 00 20 */ addi r1, r1, 0x20 +/* 803657B4 00362714 4E 80 00 20 */ blr + +.global StopOneShot__19CStreamAudioManagerFv +StopOneShot__19CStreamAudioManagerFv: +/* 803657B8 00362718 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 803657BC 0036271C 7C 08 02 A6 */ mflr r0 +/* 803657C0 00362720 38 60 00 01 */ li r3, 1 +/* 803657C4 00362724 90 01 00 64 */ stw r0, 0x64(r1) +/* 803657C8 00362728 48 00 09 CD */ bl StopStreaming__19CStreamAudioManagerFi +/* 803657CC 0036272C 38 61 00 34 */ addi r3, r1, 0x34 +/* 803657D0 00362730 48 00 0D 81 */ bl __ct__20SDSPStreamCacheEntryFv +/* 803657D4 00362734 3C 60 80 54 */ lis r3, lbl_80540580@ha +/* 803657D8 00362738 38 81 00 34 */ addi r4, r1, 0x34 +/* 803657DC 0036273C 38 63 05 80 */ addi r3, r3, lbl_80540580@l +/* 803657E0 00362740 38 63 00 2C */ addi r3, r3, 0x2c +/* 803657E4 00362744 4B FD 85 79 */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 803657E8 00362748 3C 60 80 54 */ lis r3, lbl_80540580@ha +/* 803657EC 0036274C 80 E1 00 44 */ lwz r7, 0x44(r1) +/* 803657F0 00362750 38 C3 05 80 */ addi r6, r3, lbl_80540580@l +/* 803657F4 00362754 80 A1 00 48 */ lwz r5, 0x48(r1) +/* 803657F8 00362758 C0 41 00 4C */ lfs f2, 0x4c(r1) +/* 803657FC 0036275C 38 61 00 34 */ addi r3, r1, 0x34 +/* 80365800 00362760 C0 21 00 50 */ lfs f1, 0x50(r1) +/* 80365804 00362764 80 81 00 54 */ lwz r4, 0x54(r1) +/* 80365808 00362768 C0 01 00 58 */ lfs f0, 0x58(r1) +/* 8036580C 0036276C 88 01 00 5C */ lbz r0, 0x5c(r1) +/* 80365810 00362770 90 E6 00 3C */ stw r7, 0x3c(r6) +/* 80365814 00362774 90 A6 00 40 */ stw r5, 0x40(r6) +/* 80365818 00362778 D0 46 00 44 */ stfs f2, 0x44(r6) +/* 8036581C 0036277C D0 26 00 48 */ stfs f1, 0x48(r6) +/* 80365820 00362780 90 86 00 4C */ stw r4, 0x4c(r6) +/* 80365824 00362784 D0 06 00 50 */ stfs f0, 0x50(r6) +/* 80365828 00362788 98 06 00 54 */ stb r0, 0x54(r6) +/* 8036582C 0036278C 4B FD 82 B5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80365830 00362790 38 61 00 08 */ addi r3, r1, 8 +/* 80365834 00362794 48 00 0D 1D */ bl __ct__20SDSPStreamCacheEntryFv +/* 80365838 00362798 3C 60 80 54 */ lis r3, lbl_805405E4@ha +/* 8036583C 0036279C 38 81 00 08 */ addi r4, r1, 8 +/* 80365840 003627A0 38 63 05 E4 */ addi r3, r3, lbl_805405E4@l +/* 80365844 003627A4 38 63 00 2C */ addi r3, r3, 0x2c +/* 80365848 003627A8 4B FD 85 15 */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8036584C 003627AC 3C 60 80 54 */ lis r3, lbl_805405E4@ha +/* 80365850 003627B0 80 E1 00 18 */ lwz r7, 0x18(r1) +/* 80365854 003627B4 38 C3 05 E4 */ addi r6, r3, lbl_805405E4@l +/* 80365858 003627B8 80 A1 00 1C */ lwz r5, 0x1c(r1) +/* 8036585C 003627BC C0 41 00 20 */ lfs f2, 0x20(r1) +/* 80365860 003627C0 38 61 00 08 */ addi r3, r1, 8 +/* 80365864 003627C4 C0 21 00 24 */ lfs f1, 0x24(r1) +/* 80365868 003627C8 80 81 00 28 */ lwz r4, 0x28(r1) +/* 8036586C 003627CC C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 80365870 003627D0 88 01 00 30 */ lbz r0, 0x30(r1) +/* 80365874 003627D4 90 E6 00 3C */ stw r7, 0x3c(r6) +/* 80365878 003627D8 90 A6 00 40 */ stw r5, 0x40(r6) +/* 8036587C 003627DC D0 46 00 44 */ stfs f2, 0x44(r6) +/* 80365880 003627E0 D0 26 00 48 */ stfs f1, 0x48(r6) +/* 80365884 003627E4 90 86 00 4C */ stw r4, 0x4c(r6) +/* 80365888 003627E8 D0 06 00 50 */ stfs f0, 0x50(r6) +/* 8036588C 003627EC 98 06 00 54 */ stb r0, 0x54(r6) +/* 80365890 003627F0 4B FD 82 51 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80365894 003627F4 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80365898 003627F8 7C 08 03 A6 */ mtlr r0 +/* 8036589C 003627FC 38 21 00 60 */ addi r1, r1, 0x60 +/* 803658A0 00362800 4E 80 00 20 */ blr + +.global StopAll__19CStreamAudioManagerFv +StopAll__19CStreamAudioManagerFv: +/* 803658A4 00362804 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803658A8 00362808 7C 08 02 A6 */ mflr r0 +/* 803658AC 0036280C 90 01 00 14 */ stw r0, 0x14(r1) +/* 803658B0 00362810 4B FF FE 9D */ bl HandleMusicMute__19CStreamAudioManagerFv +/* 803658B4 00362814 4B FF FD 39 */ bl StopAllStreams__19CStreamAudioManagerFv +/* 803658B8 00362818 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803658BC 0036281C 7C 08 03 A6 */ mtlr r0 +/* 803658C0 00362820 38 21 00 10 */ addi r1, r1, 0x10 +/* 803658C4 00362824 4E 80 00 20 */ blr + +.global SetMusicUnmute__19CStreamAudioManagerFb +SetMusicUnmute__19CStreamAudioManagerFb: +/* 803658C8 00362828 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803658CC 0036282C 7C 08 02 A6 */ mflr r0 +/* 803658D0 00362830 54 64 06 3E */ clrlwi r4, r3, 0x18 +/* 803658D4 00362834 90 01 00 14 */ stw r0, 0x14(r1) +/* 803658D8 00362838 88 0D 9E 80 */ lbz r0, lbl_805A8A40@sda21(r13) +/* 803658DC 0036283C 7C 04 00 40 */ cmplw r4, r0 +/* 803658E0 00362840 41 82 00 1C */ beq lbl_803658FC +/* 803658E4 00362844 28 04 00 00 */ cmplwi r4, 0 +/* 803658E8 00362848 98 6D 9E 80 */ stb r3, lbl_805A8A40@sda21(r13) +/* 803658EC 0036284C 41 82 00 0C */ beq lbl_803658F8 +/* 803658F0 00362850 4B FF FC D5 */ bl HandleMusicUnmute__19CStreamAudioManagerFv +/* 803658F4 00362854 48 00 00 08 */ b lbl_803658FC +lbl_803658F8: +/* 803658F8 00362858 4B FF FE 55 */ bl HandleMusicMute__19CStreamAudioManagerFv +lbl_803658FC: +/* 803658FC 0036285C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80365900 00362860 7C 08 03 A6 */ mtlr r0 +/* 80365904 00362864 38 21 00 10 */ addi r1, r1, 0x10 +/* 80365908 00362868 4E 80 00 20 */ blr + +.global sub_8036590c +sub_8036590c: +/* 8036590C 0036286C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80365910 00362870 7C 08 02 A6 */ mflr r0 +/* 80365914 00362874 C0 02 CD B0 */ lfs f0, lbl_805AEAD0@sda21(r2) +/* 80365918 00362878 90 01 00 24 */ stw r0, 0x24(r1) +/* 8036591C 0036287C FC 00 08 00 */ fcmpu cr0, f0, f1 +/* 80365920 00362880 40 82 00 18 */ bne lbl_80365938 +/* 80365924 00362884 C0 2D AA C0 */ lfs f1, lbl_805A9680@sda21(r13) +/* 80365928 00362888 C0 0D 9E 74 */ lfs f0, lbl_805A8A34@sda21(r13) +/* 8036592C 0036288C D0 2D AA C8 */ stfs f1, lbl_805A9688@sda21(r13) +/* 80365930 00362890 D0 0D AA C4 */ stfs f0, lbl_805A9684@sda21(r13) +/* 80365934 00362894 48 00 00 1C */ b lbl_80365950 +lbl_80365938: +/* 80365938 00362898 C0 4D AA C0 */ lfs f2, lbl_805A9680@sda21(r13) +/* 8036593C 0036289C C0 0D 9E 74 */ lfs f0, lbl_805A8A34@sda21(r13) +/* 80365940 003628A0 EC 42 08 24 */ fdivs f2, f2, f1 +/* 80365944 003628A4 EC 00 08 24 */ fdivs f0, f0, f1 +/* 80365948 003628A8 D0 4D AA C8 */ stfs f2, lbl_805A9688@sda21(r13) +/* 8036594C 003628AC D0 0D AA C4 */ stfs f0, lbl_805A9684@sda21(r13) +lbl_80365950: +/* 80365950 003628B0 3C 60 80 5A */ lis r3, lbl_805A6BA0@ha +/* 80365954 003628B4 3C 80 80 5A */ lis r4, lbl_805A6B60@ha +/* 80365958 003628B8 38 63 6B A0 */ addi r3, r3, lbl_805A6BA0@l +/* 8036595C 003628BC 38 84 6B 60 */ addi r4, r4, lbl_805A6B60@l +/* 80365960 003628C0 4B FD 83 FD */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80365964 003628C4 3C 60 80 5A */ lis r3, lbl_805A6B60@ha +/* 80365968 003628C8 3C 80 80 3E */ lis r4, lbl_803D8410@ha +/* 8036596C 003628CC 38 63 6B 60 */ addi r3, r3, lbl_805A6B60@l +/* 80365970 003628D0 38 84 84 10 */ addi r4, r4, lbl_803D8410@l +/* 80365974 003628D4 48 00 00 79 */ bl AreStringsNotEqual__21CStreamedAudioManagerFPCcPCc +/* 80365978 003628D8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8036597C 003628DC 41 82 00 2C */ beq lbl_803659A8 +/* 80365980 003628E0 3C 60 80 5A */ lis r3, lbl_805A6B90@ha +/* 80365984 003628E4 3C 80 80 5A */ lis r4, lbl_805A6B60@ha +/* 80365988 003628E8 38 63 6B 90 */ addi r3, r3, lbl_805A6B90@l +/* 8036598C 003628EC 38 84 6B 60 */ addi r4, r4, lbl_805A6B60@l +/* 80365990 003628F0 4B FF FB 95 */ bl sub_80365524 +/* 80365994 003628F4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80365998 003628F8 41 82 00 10 */ beq lbl_803659A8 +/* 8036599C 003628FC 38 00 00 02 */ li r0, 2 +/* 803659A0 00362900 90 0D 9E 70 */ stw r0, lbl_805A8A30@sda21(r13) +/* 803659A4 00362904 48 00 00 38 */ b lbl_803659DC +lbl_803659A8: +/* 803659A8 00362908 38 00 00 00 */ li r0, 0 +/* 803659AC 0036290C 38 8D A9 18 */ addi r4, r13, "_EmptyString__Q24rstl66basic_string,Q24rstl17rmemory_allocator>"@sda21 +/* 803659B0 00362910 3C 60 80 5A */ lis r3, lbl_805A6B60@ha +/* 803659B4 00362914 90 81 00 08 */ stw r4, 8(r1) +/* 803659B8 00362918 38 63 6B 60 */ addi r3, r3, lbl_805A6B60@l +/* 803659BC 0036291C 38 81 00 08 */ addi r4, r1, 8 +/* 803659C0 00362920 90 01 00 0C */ stw r0, 0xc(r1) +/* 803659C4 00362924 90 01 00 10 */ stw r0, 0x10(r1) +/* 803659C8 00362928 4B FD 83 95 */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 803659CC 0036292C 38 61 00 08 */ addi r3, r1, 8 +/* 803659D0 00362930 4B FD 81 11 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 803659D4 00362934 38 00 00 05 */ li r0, 5 +/* 803659D8 00362938 90 0D 9E 70 */ stw r0, lbl_805A8A30@sda21(r13) +lbl_803659DC: +/* 803659DC 0036293C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803659E0 00362940 7C 08 03 A6 */ mtlr r0 +/* 803659E4 00362944 38 21 00 20 */ addi r1, r1, 0x20 +/* 803659E8 00362948 4E 80 00 20 */ blr + +.global AreStringsNotEqual__21CStreamedAudioManagerFPCcPCc +AreStringsNotEqual__21CStreamedAudioManagerFPCcPCc: +/* 803659EC 0036294C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803659F0 00362950 7C 08 02 A6 */ mflr r0 +/* 803659F4 00362954 38 A0 FF FF */ li r5, -1 +/* 803659F8 00362958 90 01 00 14 */ stw r0, 0x14(r1) +/* 803659FC 0036295C 4B D1 4A 91 */ bl CompareStateString__10CPatternedFPCcPCci +/* 80365A00 00362960 7C 03 00 D0 */ neg r0, r3 +/* 80365A04 00362964 7C 00 1B 78 */ or r0, r0, r3 +/* 80365A08 00362968 54 03 0F FE */ srwi r3, r0, 0x1f +/* 80365A0C 0036296C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80365A10 00362970 7C 08 03 A6 */ mtlr r0 +/* 80365A14 00362974 38 21 00 10 */ addi r1, r1, 0x10 +/* 80365A18 00362978 4E 80 00 20 */ blr + +.global SetSfxVolume__21CStreamedAudioManagerFUc +SetSfxVolume__21CStreamedAudioManagerFUc: +/* 80365A1C 0036297C 2C 03 00 7F */ cmpwi r3, 0x7f +/* 80365A20 00362980 90 6D 9E 7C */ stw r3, lbl_805A8A3C@sda21(r13) +/* 80365A24 00362984 4C 81 00 20 */ blelr +/* 80365A28 00362988 38 00 00 7F */ li r0, 0x7f +/* 80365A2C 0036298C 90 0D 9E 7C */ stw r0, lbl_805A8A3C@sda21(r13) +/* 80365A30 00362990 4E 80 00 20 */ blr + +.global SetMusicVolume__19CStreamAudioManagerFi +SetMusicVolume__19CStreamAudioManagerFi: +/* 80365A34 00362994 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80365A38 00362998 7C 08 02 A6 */ mflr r0 +/* 80365A3C 0036299C 2C 03 00 7F */ cmpwi r3, 0x7f +/* 80365A40 003629A0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80365A44 003629A4 90 6D 9E 78 */ stw r3, lbl_805A8A38@sda21(r13) +/* 80365A48 003629A8 40 81 00 0C */ ble lbl_80365A54 +/* 80365A4C 003629AC 38 00 00 7F */ li r0, 0x7f +/* 80365A50 003629B0 90 0D 9E 78 */ stw r0, lbl_805A8A38@sda21(r13) +lbl_80365A54: +/* 80365A54 003629B4 C0 2D AA C0 */ lfs f1, lbl_805A9680@sda21(r13) +/* 80365A58 003629B8 4B FF FA F9 */ bl InternalSetVolume__19CStreamAudioManagerFf +/* 80365A5C 003629BC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80365A60 003629C0 7C 08 03 A6 */ mtlr r0 +/* 80365A64 003629C4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80365A68 003629C8 4E 80 00 20 */ blr + +.global "SetCurrentAudio__19CStreamAudioManagerFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>fUc" +"SetCurrentAudio__19CStreamAudioManagerFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>fUc": +/* 80365A6C 003629CC 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80365A70 003629D0 7C 08 02 A6 */ mflr r0 +/* 80365A74 003629D4 90 01 00 44 */ stw r0, 0x44(r1) +/* 80365A78 003629D8 DB E1 00 30 */ stfd f31, 0x30(r1) +/* 80365A7C 003629DC F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 80365A80 003629E0 DB C1 00 20 */ stfd f30, 0x20(r1) +/* 80365A84 003629E4 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 +/* 80365A88 003629E8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80365A8C 003629EC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80365A90 003629F0 3C 00 43 30 */ lis r0, 0x4330 +/* 80365A94 003629F4 54 85 06 3E */ clrlwi r5, r4, 0x18 +/* 80365A98 003629F8 90 A1 00 0C */ stw r5, 0xc(r1) +/* 80365A9C 003629FC 7C 9F 23 78 */ mr r31, r4 +/* 80365AA0 00362A00 3C 80 80 5A */ lis r4, lbl_805A6B90@ha +/* 80365AA4 00362A04 C8 62 CD C8 */ lfd f3, lbl_805AEAE8@sda21(r2) +/* 80365AA8 00362A08 90 01 00 08 */ stw r0, 8(r1) +/* 80365AAC 00362A0C FF C0 08 90 */ fmr f30, f1 +/* 80365AB0 00362A10 FF E0 10 90 */ fmr f31, f2 +/* 80365AB4 00362A14 38 84 6B 90 */ addi r4, r4, lbl_805A6B90@l +/* 80365AB8 00362A18 C8 01 00 08 */ lfd f0, 8(r1) +/* 80365ABC 00362A1C 7C 7E 1B 78 */ mr r30, r3 +/* 80365AC0 00362A20 EC 00 18 28 */ fsubs f0, f0, f3 +/* 80365AC4 00362A24 D0 0D 9E 74 */ stfs f0, lbl_805A8A34@sda21(r13) +/* 80365AC8 00362A28 4B CE CB 19 */ 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" +/* 80365ACC 00362A2C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80365AD0 00362A30 41 82 00 3C */ beq lbl_80365B0C +/* 80365AD4 00362A34 57 E3 06 3E */ clrlwi r3, r31, 0x18 +/* 80365AD8 00362A38 3C 00 43 30 */ lis r0, 0x4330 +/* 80365ADC 00362A3C 90 61 00 0C */ stw r3, 0xc(r1) +/* 80365AE0 00362A40 C8 42 CD C8 */ lfd f2, lbl_805AEAE8@sda21(r2) +/* 80365AE4 00362A44 90 01 00 08 */ stw r0, 8(r1) +/* 80365AE8 00362A48 C8 01 00 08 */ lfd f0, 8(r1) +/* 80365AEC 00362A4C 90 61 00 14 */ stw r3, 0x14(r1) +/* 80365AF0 00362A50 EC 20 10 28 */ fsubs f1, f0, f2 +/* 80365AF4 00362A54 90 01 00 10 */ stw r0, 0x10(r1) +/* 80365AF8 00362A58 C8 01 00 10 */ lfd f0, 0x10(r1) +/* 80365AFC 00362A5C D0 2D AA C0 */ stfs f1, lbl_805A9680@sda21(r13) +/* 80365B00 00362A60 EC 20 10 28 */ fsubs f1, f0, f2 +/* 80365B04 00362A64 4B FF FA 4D */ bl InternalSetVolume__19CStreamAudioManagerFf +/* 80365B08 00362A68 48 00 00 88 */ b lbl_80365B90 +lbl_80365B0C: +/* 80365B0C 00362A6C C0 02 CD B0 */ lfs f0, lbl_805AEAD0@sda21(r2) +/* 80365B10 00362A70 FC 00 F0 00 */ fcmpu cr0, f0, f30 +/* 80365B14 00362A74 40 82 00 0C */ bne lbl_80365B20 +/* 80365B18 00362A78 C0 2D AA C0 */ lfs f1, lbl_805A9680@sda21(r13) +/* 80365B1C 00362A7C 48 00 00 0C */ b lbl_80365B28 +lbl_80365B20: +/* 80365B20 00362A80 C0 0D AA C0 */ lfs f0, lbl_805A9680@sda21(r13) +/* 80365B24 00362A84 EC 20 F0 24 */ fdivs f1, f0, f30 +lbl_80365B28: +/* 80365B28 00362A88 C0 02 CD B0 */ lfs f0, lbl_805AEAD0@sda21(r2) +/* 80365B2C 00362A8C D0 2D AA C8 */ stfs f1, lbl_805A9688@sda21(r13) +/* 80365B30 00362A90 FC 00 F8 00 */ fcmpu cr0, f0, f31 +/* 80365B34 00362A94 40 82 00 0C */ bne lbl_80365B40 +/* 80365B38 00362A98 C0 0D 9E 74 */ lfs f0, lbl_805A8A34@sda21(r13) +/* 80365B3C 00362A9C 48 00 00 0C */ b lbl_80365B48 +lbl_80365B40: +/* 80365B40 00362AA0 C0 0D 9E 74 */ lfs f0, lbl_805A8A34@sda21(r13) +/* 80365B44 00362AA4 EC 00 F8 24 */ fdivs f0, f0, f31 +lbl_80365B48: +/* 80365B48 00362AA8 80 0D 9E 70 */ lwz r0, lbl_805A8A30@sda21(r13) +/* 80365B4C 00362AAC D0 0D AA C4 */ stfs f0, lbl_805A9684@sda21(r13) +/* 80365B50 00362AB0 2C 00 00 01 */ cmpwi r0, 1 +/* 80365B54 00362AB4 40 82 00 24 */ bne lbl_80365B78 +/* 80365B58 00362AB8 C0 22 CD B0 */ lfs f1, lbl_805AEAD0@sda21(r2) +/* 80365B5C 00362ABC D0 2D AA C0 */ stfs f1, lbl_805A9680@sda21(r13) +/* 80365B60 00362AC0 4B FF F9 F1 */ bl InternalSetVolume__19CStreamAudioManagerFf +/* 80365B64 00362AC4 7F C3 F3 78 */ mr r3, r30 +/* 80365B68 00362AC8 4B FF F8 E9 */ bl sub_80365450 +/* 80365B6C 00362ACC 38 00 00 04 */ li r0, 4 +/* 80365B70 00362AD0 90 0D 9E 70 */ stw r0, lbl_805A8A30@sda21(r13) +/* 80365B74 00362AD4 48 00 00 1C */ b lbl_80365B90 +lbl_80365B78: +/* 80365B78 00362AD8 38 00 00 02 */ li r0, 2 +/* 80365B7C 00362ADC 3C 60 80 5A */ lis r3, lbl_805A6BA0@ha +/* 80365B80 00362AE0 90 0D 9E 70 */ stw r0, lbl_805A8A30@sda21(r13) +/* 80365B84 00362AE4 38 63 6B A0 */ addi r3, r3, lbl_805A6BA0@l +/* 80365B88 00362AE8 7F C4 F3 78 */ mr r4, r30 +/* 80365B8C 00362AEC 4B FD 81 D1 */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +lbl_80365B90: +/* 80365B90 00362AF0 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 80365B94 00362AF4 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 80365B98 00362AF8 E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 +/* 80365B9C 00362AFC CB C1 00 20 */ lfd f30, 0x20(r1) +/* 80365BA0 00362B00 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80365BA4 00362B04 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80365BA8 00362B08 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80365BAC 00362B0C 7C 08 03 A6 */ mtlr r0 +/* 80365BB0 00362B10 38 21 00 40 */ addi r1, r1, 0x40 +/* 80365BB4 00362B14 4E 80 00 20 */ blr + +.global "SetDefaultAudio__19CStreamAudioManagerFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>fUc" +"SetDefaultAudio__19CStreamAudioManagerFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>fUc": +/* 80365BB8 00362B18 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80365BBC 00362B1C 7C 08 02 A6 */ mflr r0 +/* 80365BC0 00362B20 3C A0 80 5A */ lis r5, lbl_805A6B60@ha +/* 80365BC4 00362B24 90 01 00 24 */ stw r0, 0x24(r1) +/* 80365BC8 00362B28 DB E1 00 18 */ stfd f31, 0x18(r1) +/* 80365BCC 00362B2C FF E0 10 90 */ fmr f31, f2 +/* 80365BD0 00362B30 DB C1 00 10 */ stfd f30, 0x10(r1) +/* 80365BD4 00362B34 FF C0 08 90 */ fmr f30, f1 +/* 80365BD8 00362B38 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80365BDC 00362B3C 7C 9F 23 78 */ mr r31, r4 +/* 80365BE0 00362B40 93 C1 00 08 */ stw r30, 8(r1) +/* 80365BE4 00362B44 7C 7E 1B 78 */ mr r30, r3 +/* 80365BE8 00362B48 38 65 6B 60 */ addi r3, r5, lbl_805A6B60@l +/* 80365BEC 00362B4C 7F C4 F3 78 */ mr r4, r30 +/* 80365BF0 00362B50 4B FD 81 6D */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80365BF4 00362B54 FC 20 F0 90 */ fmr f1, f30 +/* 80365BF8 00362B58 7F C3 F3 78 */ mr r3, r30 +/* 80365BFC 00362B5C FC 40 F8 90 */ fmr f2, f31 +/* 80365C00 00362B60 7F E4 FB 78 */ mr r4, r31 +/* 80365C04 00362B64 4B FF FE 69 */ bl "SetCurrentAudio__19CStreamAudioManagerFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>fUc" +/* 80365C08 00362B68 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80365C0C 00362B6C CB E1 00 18 */ lfd f31, 0x18(r1) +/* 80365C10 00362B70 CB C1 00 10 */ lfd f30, 0x10(r1) +/* 80365C14 00362B74 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80365C18 00362B78 83 C1 00 08 */ lwz r30, 8(r1) +/* 80365C1C 00362B7C 7C 08 03 A6 */ mtlr r0 +/* 80365C20 00362B80 38 21 00 20 */ addi r1, r1, 0x20 +/* 80365C24 00362B84 4E 80 00 20 */ blr + +.global Update__19CStreamAudioManagerFf +Update__19CStreamAudioManagerFf: +/* 80365C28 00362B88 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80365C2C 00362B8C 7C 08 02 A6 */ mflr r0 +/* 80365C30 00362B90 90 01 00 24 */ stw r0, 0x24(r1) +/* 80365C34 00362B94 DB E1 00 10 */ stfd f31, 0x10(r1) +/* 80365C38 00362B98 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 +/* 80365C3C 00362B9C 80 0D 9E 70 */ lwz r0, lbl_805A8A30@sda21(r13) +/* 80365C40 00362BA0 FF E0 08 90 */ fmr f31, f1 +/* 80365C44 00362BA4 2C 00 00 05 */ cmpwi r0, 5 +/* 80365C48 00362BA8 41 82 00 68 */ beq lbl_80365CB0 +/* 80365C4C 00362BAC 40 80 00 14 */ bge lbl_80365C60 +/* 80365C50 00362BB0 2C 00 00 02 */ cmpwi r0, 2 +/* 80365C54 00362BB4 41 82 00 18 */ beq lbl_80365C6C +/* 80365C58 00362BB8 40 80 00 D4 */ bge lbl_80365D2C +/* 80365C5C 00362BBC 48 00 01 04 */ b lbl_80365D60 +lbl_80365C60: +/* 80365C60 00362BC0 2C 00 00 07 */ cmpwi r0, 7 +/* 80365C64 00362BC4 40 80 00 FC */ bge lbl_80365D60 +/* 80365C68 00362BC8 48 00 00 8C */ b lbl_80365CF4 +lbl_80365C6C: +/* 80365C6C 00362BCC C0 4D AA C8 */ lfs f2, lbl_805A9688@sda21(r13) +/* 80365C70 00362BD0 C0 2D AA C0 */ lfs f1, lbl_805A9680@sda21(r13) +/* 80365C74 00362BD4 C0 02 CD B0 */ lfs f0, lbl_805AEAD0@sda21(r2) +/* 80365C78 00362BD8 EC 22 0F FC */ fnmsubs f1, f2, f31, f1 +/* 80365C7C 00362BDC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80365C80 00362BE0 D0 2D AA C0 */ stfs f1, lbl_805A9680@sda21(r13) +/* 80365C84 00362BE4 4C 40 13 82 */ cror 2, 0, 2 +/* 80365C88 00362BE8 40 82 00 1C */ bne lbl_80365CA4 +/* 80365C8C 00362BEC 3C 60 80 5A */ lis r3, lbl_805A6BA0@ha +/* 80365C90 00362BF0 D0 0D AA C0 */ stfs f0, lbl_805A9680@sda21(r13) +/* 80365C94 00362BF4 38 63 6B A0 */ addi r3, r3, lbl_805A6BA0@l +/* 80365C98 00362BF8 4B FF F7 B9 */ bl sub_80365450 +/* 80365C9C 00362BFC 38 00 00 03 */ li r0, 3 +/* 80365CA0 00362C00 90 0D 9E 70 */ stw r0, lbl_805A8A30@sda21(r13) +lbl_80365CA4: +/* 80365CA4 00362C04 C0 2D AA C0 */ lfs f1, lbl_805A9680@sda21(r13) +/* 80365CA8 00362C08 4B FF F8 A9 */ bl InternalSetVolume__19CStreamAudioManagerFf +/* 80365CAC 00362C0C 48 00 00 B4 */ b lbl_80365D60 +lbl_80365CB0: +/* 80365CB0 00362C10 C0 4D AA C8 */ lfs f2, lbl_805A9688@sda21(r13) +/* 80365CB4 00362C14 C0 2D AA C0 */ lfs f1, lbl_805A9680@sda21(r13) +/* 80365CB8 00362C18 C0 02 CD B0 */ lfs f0, lbl_805AEAD0@sda21(r2) +/* 80365CBC 00362C1C EC 22 0F FC */ fnmsubs f1, f2, f31, f1 +/* 80365CC0 00362C20 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80365CC4 00362C24 D0 2D AA C0 */ stfs f1, lbl_805A9680@sda21(r13) +/* 80365CC8 00362C28 4C 40 13 82 */ cror 2, 0, 2 +/* 80365CCC 00362C2C 40 82 00 20 */ bne lbl_80365CEC +/* 80365CD0 00362C30 38 00 00 01 */ li r0, 1 +/* 80365CD4 00362C34 D0 0D AA C0 */ stfs f0, lbl_805A9680@sda21(r13) +/* 80365CD8 00362C38 90 0D 9E 70 */ stw r0, lbl_805A8A30@sda21(r13) +/* 80365CDC 00362C3C 4B FF FA 71 */ bl HandleMusicMute__19CStreamAudioManagerFv +/* 80365CE0 00362C40 C0 2D 9E 74 */ lfs f1, lbl_805A8A34@sda21(r13) +/* 80365CE4 00362C44 4B FF F8 6D */ bl InternalSetVolume__19CStreamAudioManagerFf +/* 80365CE8 00362C48 48 00 00 78 */ b lbl_80365D60 +lbl_80365CEC: +/* 80365CEC 00362C4C 4B FF F8 65 */ bl InternalSetVolume__19CStreamAudioManagerFf +/* 80365CF0 00362C50 48 00 00 70 */ b lbl_80365D60 +lbl_80365CF4: +/* 80365CF4 00362C54 C0 4D AA C8 */ lfs f2, lbl_805A9688@sda21(r13) +/* 80365CF8 00362C58 C0 0D AA C0 */ lfs f0, lbl_805A9680@sda21(r13) +/* 80365CFC 00362C5C C0 22 CD B0 */ lfs f1, lbl_805AEAD0@sda21(r2) +/* 80365D00 00362C60 EC 02 07 FC */ fnmsubs f0, f2, f31, f0 +/* 80365D04 00362C64 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80365D08 00362C68 D0 0D AA C0 */ stfs f0, lbl_805A9680@sda21(r13) +/* 80365D0C 00362C6C 4C 40 13 82 */ cror 2, 0, 2 +/* 80365D10 00362C70 40 82 00 10 */ bne lbl_80365D20 +/* 80365D14 00362C74 D0 2D AA C0 */ stfs f1, lbl_805A9680@sda21(r13) +/* 80365D18 00362C78 4B FF F8 39 */ bl InternalSetVolume__19CStreamAudioManagerFf +/* 80365D1C 00362C7C 48 00 00 44 */ b lbl_80365D60 +lbl_80365D20: +/* 80365D20 00362C80 FC 20 00 90 */ fmr f1, f0 +/* 80365D24 00362C84 4B FF F8 2D */ bl InternalSetVolume__19CStreamAudioManagerFf +/* 80365D28 00362C88 48 00 00 38 */ b lbl_80365D60 +lbl_80365D2C: +/* 80365D2C 00362C8C C0 2D AA C4 */ lfs f1, lbl_805A9684@sda21(r13) +/* 80365D30 00362C90 C0 0D AA C0 */ lfs f0, lbl_805A9680@sda21(r13) +/* 80365D34 00362C94 C0 4D 9E 74 */ lfs f2, lbl_805A8A34@sda21(r13) +/* 80365D38 00362C98 EC 01 07 FA */ fmadds f0, f1, f31, f0 +/* 80365D3C 00362C9C FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 80365D40 00362CA0 D0 0D AA C0 */ stfs f0, lbl_805A9680@sda21(r13) +/* 80365D44 00362CA4 4C 41 13 82 */ cror 2, 1, 2 +/* 80365D48 00362CA8 40 82 00 10 */ bne lbl_80365D58 +/* 80365D4C 00362CAC 38 00 00 00 */ li r0, 0 +/* 80365D50 00362CB0 D0 4D AA C0 */ stfs f2, lbl_805A9680@sda21(r13) +/* 80365D54 00362CB4 90 0D 9E 70 */ stw r0, lbl_805A8A30@sda21(r13) +lbl_80365D58: +/* 80365D58 00362CB8 C0 2D AA C0 */ lfs f1, lbl_805A9680@sda21(r13) +/* 80365D5C 00362CBC 4B FF F7 F5 */ bl InternalSetVolume__19CStreamAudioManagerFf +lbl_80365D60: +/* 80365D60 00362CC0 FC 20 F8 90 */ fmr f1, f31 +/* 80365D64 00362CC4 48 00 03 F5 */ bl UpdateDSPStreamers__19CStreamAudioManagerFf +/* 80365D68 00362CC8 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 +/* 80365D6C 00362CCC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80365D70 00362CD0 CB E1 00 10 */ lfd f31, 0x10(r1) +/* 80365D74 00362CD4 7C 08 03 A6 */ mtlr r0 +/* 80365D78 00362CD8 38 21 00 20 */ addi r1, r1, 0x20 +/* 80365D7C 00362CDC 4E 80 00 20 */ blr + +.global Start__19CStreamAudioManagerFiRCQ24rstl6stringib +Start__19CStreamAudioManagerFiRCQ24rstl6stringib: +/* 80365D80 00362CE0 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 80365D84 00362CE4 7C 08 02 A6 */ mflr r0 +/* 80365D88 00362CE8 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 80365D8C 00362CEC DB E1 00 90 */ stfd f31, 0x90(r1) +/* 80365D90 00362CF0 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 +/* 80365D94 00362CF4 DB C1 00 80 */ stfd f30, 0x80(r1) +/* 80365D98 00362CF8 F3 C1 00 88 */ psq_st f30, 136(r1), 0, qr0 +/* 80365D9C 00362CFC BF 41 00 68 */ stmw r26, 0x68(r1) +/* 80365DA0 00362D00 7C 7B 1B 78 */ mr r27, r3 +/* 80365DA4 00362D04 3C E0 80 54 */ lis r7, lbl_80540580@ha +/* 80365DA8 00362D08 1D 1B 00 2C */ mulli r8, r27, 0x2c +/* 80365DAC 00362D0C 3C 60 80 54 */ lis r3, lbl_805405E4@ha +/* 80365DB0 00362D10 38 E7 05 80 */ addi r7, r7, lbl_80540580@l +/* 80365DB4 00362D14 FF C0 08 90 */ fmr f30, f1 +/* 80365DB8 00362D18 FF E0 10 90 */ fmr f31, f2 +/* 80365DBC 00362D1C 38 03 05 E4 */ addi r0, r3, lbl_805405E4@l +/* 80365DC0 00362D20 7F E7 42 14 */ add r31, r7, r8 +/* 80365DC4 00362D24 7C 9C 23 78 */ mr r28, r4 +/* 80365DC8 00362D28 7C BD 2B 78 */ mr r29, r5 +/* 80365DCC 00362D2C 7C DE 33 78 */ mr r30, r6 +/* 80365DD0 00362D30 7F E3 FB 78 */ mr r3, r31 +/* 80365DD4 00362D34 7F 40 42 14 */ add r26, r0, r8 +/* 80365DD8 00362D38 4B FD 8C 15 */ bl "CompareCaseInsensitive__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80365DDC 00362D3C 80 9F 00 10 */ lwz r4, 0x10(r31) +/* 80365DE0 00362D40 7C 60 00 34 */ cntlzw r0, r3 +/* 80365DE4 00362D44 54 03 D9 7E */ srwi r3, r0, 5 +/* 80365DE8 00362D48 7C 04 00 D0 */ neg r0, r4 +/* 80365DEC 00362D4C 7C 00 23 78 */ or r0, r0, r4 +/* 80365DF0 00362D50 54 04 0F FF */ rlwinm. r4, r0, 1, 0x1f, 0x1f +/* 80365DF4 00362D54 41 82 00 8C */ beq lbl_80365E80 +/* 80365DF8 00362D58 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80365DFC 00362D5C 40 82 00 84 */ bne lbl_80365E80 +/* 80365E00 00362D60 FC 20 F0 90 */ fmr f1, f30 +/* 80365E04 00362D64 7F 85 E3 78 */ mr r5, r28 +/* 80365E08 00362D68 FC 40 F8 90 */ fmr f2, f31 +/* 80365E0C 00362D6C 7F C8 F3 78 */ mr r8, r30 +/* 80365E10 00362D70 38 61 00 34 */ addi r3, r1, 0x34 +/* 80365E14 00362D74 57 A6 06 3E */ clrlwi r6, r29, 0x18 +/* 80365E18 00362D78 38 80 00 01 */ li r4, 1 +/* 80365E1C 00362D7C 38 E0 FF FF */ li r7, -1 +/* 80365E20 00362D80 48 00 06 A5 */ bl __ct__20SDSPStreamCacheEntryFiRCQ24rstl6stringiffib +/* 80365E24 00362D84 7F 43 D3 78 */ mr r3, r26 +/* 80365E28 00362D88 38 81 00 34 */ addi r4, r1, 0x34 +/* 80365E2C 00362D8C 4B FD 7F 31 */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80365E30 00362D90 80 81 00 44 */ lwz r4, 0x44(r1) +/* 80365E34 00362D94 38 61 00 34 */ addi r3, r1, 0x34 +/* 80365E38 00362D98 80 01 00 48 */ lwz r0, 0x48(r1) +/* 80365E3C 00362D9C 90 9A 00 10 */ stw r4, 0x10(r26) +/* 80365E40 00362DA0 C0 21 00 4C */ lfs f1, 0x4c(r1) +/* 80365E44 00362DA4 90 1A 00 14 */ stw r0, 0x14(r26) +/* 80365E48 00362DA8 C0 01 00 50 */ lfs f0, 0x50(r1) +/* 80365E4C 00362DAC D0 3A 00 18 */ stfs f1, 0x18(r26) +/* 80365E50 00362DB0 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80365E54 00362DB4 D0 1A 00 1C */ stfs f0, 0x1c(r26) +/* 80365E58 00362DB8 C0 01 00 58 */ lfs f0, 0x58(r1) +/* 80365E5C 00362DBC 90 1A 00 20 */ stw r0, 0x20(r26) +/* 80365E60 00362DC0 88 01 00 5C */ lbz r0, 0x5c(r1) +/* 80365E64 00362DC4 D0 1A 00 24 */ stfs f0, 0x24(r26) +/* 80365E68 00362DC8 98 1A 00 28 */ stb r0, 0x28(r26) +/* 80365E6C 00362DCC 4B FD 7C 75 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80365E70 00362DD0 7F 63 DB 78 */ mr r3, r27 +/* 80365E74 00362DD4 7F E4 FB 78 */ mr r4, r31 +/* 80365E78 00362DD8 48 00 01 4D */ bl Stop__19CStreamAudioManagerFiRCQ24rstl6string +/* 80365E7C 00362DDC 48 00 01 24 */ b lbl_80365FA0 +lbl_80365E80: +/* 80365E80 00362DE0 28 04 00 00 */ cmplwi r4, 0 +/* 80365E84 00362DE4 41 82 00 60 */ beq lbl_80365EE4 +/* 80365E88 00362DE8 D3 DF 00 18 */ stfs f30, 0x18(r31) +/* 80365E8C 00362DEC 57 A0 06 3E */ clrlwi r0, r29, 0x18 +/* 80365E90 00362DF0 C0 02 CD D0 */ lfs f0, lbl_805AEAF0@sda21(r2) +/* 80365E94 00362DF4 D3 FF 00 1C */ stfs f31, 0x1c(r31) +/* 80365E98 00362DF8 90 1F 00 14 */ stw r0, 0x14(r31) +/* 80365E9C 00362DFC C0 3F 00 18 */ lfs f1, 0x18(r31) +/* 80365EA0 00362E00 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80365EA4 00362E04 4C 40 13 82 */ cror 2, 0, 2 +/* 80365EA8 00362E08 40 82 00 30 */ bne lbl_80365ED8 +/* 80365EAC 00362E0C 80 7F 00 14 */ lwz r3, 0x14(r31) +/* 80365EB0 00362E10 88 9F 00 28 */ lbz r4, 0x28(r31) +/* 80365EB4 00362E14 48 00 05 91 */ bl GetTargetDSPVolume__19CStreamAudioManagerFcb +/* 80365EB8 00362E18 7C 64 1B 78 */ mr r4, r3 +/* 80365EBC 00362E1C 80 7F 00 20 */ lwz r3, 0x20(r31) +/* 80365EC0 00362E20 4B FF DD 15 */ bl UpdateVolume__17CDSPStreamManagerFic +/* 80365EC4 00362E24 C0 02 CD D4 */ lfs f0, lbl_805AEAF4@sda21(r2) +/* 80365EC8 00362E28 38 00 00 02 */ li r0, 2 +/* 80365ECC 00362E2C D0 1F 00 24 */ stfs f0, 0x24(r31) +/* 80365ED0 00362E30 90 1F 00 10 */ stw r0, 0x10(r31) +/* 80365ED4 00362E34 48 00 00 CC */ b lbl_80365FA0 +lbl_80365ED8: +/* 80365ED8 00362E38 38 00 00 01 */ li r0, 1 +/* 80365EDC 00362E3C 90 1F 00 10 */ stw r0, 0x10(r31) +/* 80365EE0 00362E40 48 00 00 C0 */ b lbl_80365FA0 +lbl_80365EE4: +/* 80365EE4 00362E44 C0 02 CD B0 */ lfs f0, lbl_805AEAD0@sda21(r2) +/* 80365EE8 00362E48 FC 1E 00 40 */ fcmpo cr0, f30, f0 +/* 80365EEC 00362E4C 40 81 00 10 */ ble lbl_80365EFC +/* 80365EF0 00362E50 38 60 00 00 */ li r3, 0 +/* 80365EF4 00362E54 3B 40 00 01 */ li r26, 1 +/* 80365EF8 00362E58 48 00 00 0C */ b lbl_80365F04 +lbl_80365EFC: +/* 80365EFC 00362E5C 57 A3 06 3E */ clrlwi r3, r29, 0x18 +/* 80365F00 00362E60 3B 40 00 02 */ li r26, 2 +lbl_80365F04: +/* 80365F04 00362E64 7C 1B 00 D0 */ neg r0, r27 +/* 80365F08 00362E68 7F C4 F3 78 */ mr r4, r30 +/* 80365F0C 00362E6C 7C 00 DB 78 */ or r0, r0, r27 +/* 80365F10 00362E70 54 1B 0F FE */ srwi r27, r0, 0x1f +/* 80365F14 00362E74 48 00 05 31 */ bl GetTargetDSPVolume__19CStreamAudioManagerFcb +/* 80365F18 00362E78 7C 64 1B 78 */ mr r4, r3 +/* 80365F1C 00362E7C 7F 83 E3 78 */ mr r3, r28 +/* 80365F20 00362E80 7F 65 DB 78 */ mr r5, r27 +/* 80365F24 00362E84 4B FF E2 91 */ bl StartStreaming__17CDSPStreamManagerFRCQ24rstl6stringcb +/* 80365F28 00362E88 2C 03 FF FF */ cmpwi r3, -1 +/* 80365F2C 00362E8C 41 82 00 74 */ beq lbl_80365FA0 +/* 80365F30 00362E90 FC 20 F0 90 */ fmr f1, f30 +/* 80365F34 00362E94 7F 44 D3 78 */ mr r4, r26 +/* 80365F38 00362E98 FC 40 F8 90 */ fmr f2, f31 +/* 80365F3C 00362E9C 7F 85 E3 78 */ mr r5, r28 +/* 80365F40 00362EA0 7C 67 1B 78 */ mr r7, r3 +/* 80365F44 00362EA4 7F C8 F3 78 */ mr r8, r30 +/* 80365F48 00362EA8 38 61 00 08 */ addi r3, r1, 8 +/* 80365F4C 00362EAC 57 A6 06 3E */ clrlwi r6, r29, 0x18 +/* 80365F50 00362EB0 48 00 05 75 */ bl __ct__20SDSPStreamCacheEntryFiRCQ24rstl6stringiffib +/* 80365F54 00362EB4 7F E3 FB 78 */ mr r3, r31 +/* 80365F58 00362EB8 38 81 00 08 */ addi r4, r1, 8 +/* 80365F5C 00362EBC 4B FD 7E 01 */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80365F60 00362EC0 80 81 00 18 */ lwz r4, 0x18(r1) +/* 80365F64 00362EC4 38 61 00 08 */ addi r3, r1, 8 +/* 80365F68 00362EC8 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 80365F6C 00362ECC 90 9F 00 10 */ stw r4, 0x10(r31) +/* 80365F70 00362ED0 C0 21 00 20 */ lfs f1, 0x20(r1) +/* 80365F74 00362ED4 90 1F 00 14 */ stw r0, 0x14(r31) +/* 80365F78 00362ED8 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 80365F7C 00362EDC D0 3F 00 18 */ stfs f1, 0x18(r31) +/* 80365F80 00362EE0 80 01 00 28 */ lwz r0, 0x28(r1) +/* 80365F84 00362EE4 D0 1F 00 1C */ stfs f0, 0x1c(r31) +/* 80365F88 00362EE8 C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 80365F8C 00362EEC 90 1F 00 20 */ stw r0, 0x20(r31) +/* 80365F90 00362EF0 88 01 00 30 */ lbz r0, 0x30(r1) +/* 80365F94 00362EF4 D0 1F 00 24 */ stfs f0, 0x24(r31) +/* 80365F98 00362EF8 98 1F 00 28 */ stb r0, 0x28(r31) +/* 80365F9C 00362EFC 4B FD 7B 45 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80365FA0: +/* 80365FA0 00362F00 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 +/* 80365FA4 00362F04 CB E1 00 90 */ lfd f31, 0x90(r1) +/* 80365FA8 00362F08 E3 C1 00 88 */ psq_l f30, 136(r1), 0, qr0 +/* 80365FAC 00362F0C CB C1 00 80 */ lfd f30, 0x80(r1) +/* 80365FB0 00362F10 BB 41 00 68 */ lmw r26, 0x68(r1) +/* 80365FB4 00362F14 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 80365FB8 00362F18 7C 08 03 A6 */ mtlr r0 +/* 80365FBC 00362F1C 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 80365FC0 00362F20 4E 80 00 20 */ blr + +.global Stop__19CStreamAudioManagerFiRCQ24rstl6string +Stop__19CStreamAudioManagerFiRCQ24rstl6string: +/* 80365FC4 00362F24 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 80365FC8 00362F28 7C 08 02 A6 */ mflr r0 +/* 80365FCC 00362F2C 3C A0 80 54 */ lis r5, lbl_80540580@ha +/* 80365FD0 00362F30 90 01 00 54 */ stw r0, 0x54(r1) +/* 80365FD4 00362F34 38 A5 05 80 */ addi r5, r5, lbl_80540580@l +/* 80365FD8 00362F38 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 80365FDC 00362F3C 93 C1 00 48 */ stw r30, 0x48(r1) +/* 80365FE0 00362F40 93 A1 00 44 */ stw r29, 0x44(r1) +/* 80365FE4 00362F44 7C 9D 23 78 */ mr r29, r4 +/* 80365FE8 00362F48 93 81 00 40 */ stw r28, 0x40(r1) +/* 80365FEC 00362F4C 7C 7C 1B 78 */ mr r28, r3 +/* 80365FF0 00362F50 1C DC 00 2C */ mulli r6, r28, 0x2c +/* 80365FF4 00362F54 3C 60 80 54 */ lis r3, lbl_805405E4@ha +/* 80365FF8 00362F58 38 03 05 E4 */ addi r0, r3, lbl_805405E4@l +/* 80365FFC 00362F5C 7F C0 32 14 */ add r30, r0, r6 +/* 80366000 00362F60 7F C3 F3 78 */ mr r3, r30 +/* 80366004 00362F64 7F E5 32 14 */ add r31, r5, r6 +/* 80366008 00362F68 4B FD 89 E5 */ bl "CompareCaseInsensitive__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8036600C 00362F6C 2C 03 00 00 */ cmpwi r3, 0 +/* 80366010 00362F70 40 82 00 5C */ bne lbl_8036606C +/* 80366014 00362F74 38 61 00 08 */ addi r3, r1, 8 +/* 80366018 00362F78 48 00 05 39 */ bl __ct__20SDSPStreamCacheEntryFv +/* 8036601C 00362F7C 7F C3 F3 78 */ mr r3, r30 +/* 80366020 00362F80 38 81 00 08 */ addi r4, r1, 8 +/* 80366024 00362F84 4B FD 7D 39 */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80366028 00362F88 80 81 00 18 */ lwz r4, 0x18(r1) +/* 8036602C 00362F8C 38 61 00 08 */ addi r3, r1, 8 +/* 80366030 00362F90 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 80366034 00362F94 90 9E 00 10 */ stw r4, 0x10(r30) +/* 80366038 00362F98 C0 21 00 20 */ lfs f1, 0x20(r1) +/* 8036603C 00362F9C 90 1E 00 14 */ stw r0, 0x14(r30) +/* 80366040 00362FA0 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 80366044 00362FA4 D0 3E 00 18 */ stfs f1, 0x18(r30) +/* 80366048 00362FA8 80 01 00 28 */ lwz r0, 0x28(r1) +/* 8036604C 00362FAC D0 1E 00 1C */ stfs f0, 0x1c(r30) +/* 80366050 00362FB0 C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 80366054 00362FB4 90 1E 00 20 */ stw r0, 0x20(r30) +/* 80366058 00362FB8 88 01 00 30 */ lbz r0, 0x30(r1) +/* 8036605C 00362FBC D0 1E 00 24 */ stfs f0, 0x24(r30) +/* 80366060 00362FC0 98 1E 00 28 */ stb r0, 0x28(r30) +/* 80366064 00362FC4 4B FD 7A 7D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80366068 00362FC8 48 00 00 64 */ b lbl_803660CC +lbl_8036606C: +/* 8036606C 00362FCC 7F E3 FB 78 */ mr r3, r31 +/* 80366070 00362FD0 7F A4 EB 78 */ mr r4, r29 +/* 80366074 00362FD4 4B FD 89 79 */ bl "CompareCaseInsensitive__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80366078 00362FD8 2C 03 00 00 */ cmpwi r3, 0 +/* 8036607C 00362FDC 40 82 00 50 */ bne lbl_803660CC +/* 80366080 00362FE0 80 1F 00 20 */ lwz r0, 0x20(r31) +/* 80366084 00362FE4 2C 00 FF FF */ cmpwi r0, -1 +/* 80366088 00362FE8 41 82 00 44 */ beq lbl_803660CC +/* 8036608C 00362FEC 80 1F 00 10 */ lwz r0, 0x10(r31) +/* 80366090 00362FF0 2C 00 00 00 */ cmpwi r0, 0 +/* 80366094 00362FF4 40 82 00 08 */ bne lbl_8036609C +/* 80366098 00362FF8 48 00 00 34 */ b lbl_803660CC +lbl_8036609C: +/* 8036609C 00362FFC C0 3F 00 1C */ lfs f1, 0x1c(r31) +/* 803660A0 00363000 C0 02 CD D0 */ lfs f0, lbl_805AEAF0@sda21(r2) +/* 803660A4 00363004 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 803660A8 00363008 4C 40 13 82 */ cror 2, 0, 2 +/* 803660AC 0036300C 40 82 00 10 */ bne lbl_803660BC +/* 803660B0 00363010 7F 83 E3 78 */ mr r3, r28 +/* 803660B4 00363014 48 00 00 E1 */ bl StopStreaming__19CStreamAudioManagerFi +/* 803660B8 00363018 48 00 00 14 */ b lbl_803660CC +lbl_803660BC: +/* 803660BC 0036301C 2C 00 00 03 */ cmpwi r0, 3 +/* 803660C0 00363020 41 82 00 0C */ beq lbl_803660CC +/* 803660C4 00363024 38 00 00 03 */ li r0, 3 +/* 803660C8 00363028 90 1F 00 10 */ stw r0, 0x10(r31) +lbl_803660CC: +/* 803660CC 0036302C 80 01 00 54 */ lwz r0, 0x54(r1) +/* 803660D0 00363030 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 803660D4 00363034 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 803660D8 00363038 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 803660DC 0036303C 83 81 00 40 */ lwz r28, 0x40(r1) +/* 803660E0 00363040 7C 08 03 A6 */ mtlr r0 +/* 803660E4 00363044 38 21 00 50 */ addi r1, r1, 0x50 +/* 803660E8 00363048 4E 80 00 20 */ blr + +.global FadeBackIn__19CStreamAudioManagerFif +FadeBackIn__19CStreamAudioManagerFif: +/* 803660EC 0036304C 1C 83 00 2C */ mulli r4, r3, 0x2c +/* 803660F0 00363050 3C 60 80 54 */ lis r3, lbl_80540580@ha +/* 803660F4 00363054 38 03 05 80 */ addi r0, r3, lbl_80540580@l +/* 803660F8 00363058 7C 60 22 14 */ add r3, r0, r4 +/* 803660FC 0036305C 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80366100 00363060 2C 00 00 02 */ cmpwi r0, 2 +/* 80366104 00363064 4D 82 00 20 */ beqlr +/* 80366108 00363068 2C 00 00 00 */ cmpwi r0, 0 +/* 8036610C 0036306C 4D 82 00 20 */ beqlr +/* 80366110 00363070 D0 23 00 18 */ stfs f1, 0x18(r3) +/* 80366114 00363074 38 00 00 01 */ li r0, 1 +/* 80366118 00363078 90 03 00 10 */ stw r0, 0x10(r3) +/* 8036611C 0036307C 4E 80 00 20 */ blr + +.global TemporaryFadeOut__19CStreamAudioManagerFif +TemporaryFadeOut__19CStreamAudioManagerFif: +/* 80366120 00363080 1C 83 00 2C */ mulli r4, r3, 0x2c +/* 80366124 00363084 3C 60 80 54 */ lis r3, lbl_80540580@ha +/* 80366128 00363088 38 03 05 80 */ addi r0, r3, lbl_80540580@l +/* 8036612C 0036308C 7C 60 22 14 */ add r3, r0, r4 +/* 80366130 00363090 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80366134 00363094 2C 00 00 03 */ cmpwi r0, 3 +/* 80366138 00363098 4D 82 00 20 */ beqlr +/* 8036613C 0036309C 2C 00 00 00 */ cmpwi r0, 0 +/* 80366140 003630A0 40 82 00 08 */ bne lbl_80366148 + +.global sub_80366144 +sub_80366144: +/* 80366144 003630A4 4E 80 00 20 */ blr +lbl_80366148: +/* 80366148 003630A8 D0 23 00 1C */ stfs f1, 0x1c(r3) +/* 8036614C 003630AC 38 00 00 04 */ li r0, 4 +/* 80366150 003630B0 90 03 00 10 */ stw r0, 0x10(r3) +/* 80366154 003630B4 4E 80 00 20 */ blr + +.global UpdateDSPStreamers__19CStreamAudioManagerFf +UpdateDSPStreamers__19CStreamAudioManagerFf: +/* 80366158 003630B8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8036615C 003630BC 7C 08 02 A6 */ mflr r0 +/* 80366160 003630C0 38 60 00 00 */ li r3, 0 +/* 80366164 003630C4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80366168 003630C8 DB E1 00 08 */ stfd f31, 8(r1) +/* 8036616C 003630CC FF E0 08 90 */ fmr f31, f1 +/* 80366170 003630D0 48 00 00 79 */ bl UpdateDSP__19CStreamAudioManagerFif +/* 80366174 003630D4 FC 20 F8 90 */ fmr f1, f31 +/* 80366178 003630D8 38 60 00 01 */ li r3, 1 +/* 8036617C 003630DC 48 00 00 6D */ bl UpdateDSP__19CStreamAudioManagerFif +/* 80366180 003630E0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80366184 003630E4 CB E1 00 08 */ lfd f31, 8(r1) +/* 80366188 003630E8 7C 08 03 A6 */ mtlr r0 +/* 8036618C 003630EC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80366190 003630F0 4E 80 00 20 */ blr + +.global StopStreaming__19CStreamAudioManagerFi +StopStreaming__19CStreamAudioManagerFi: +/* 80366194 003630F4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80366198 003630F8 7C 08 02 A6 */ mflr r0 +/* 8036619C 003630FC 1C 83 00 2C */ mulli r4, r3, 0x2c +/* 803661A0 00363100 3C 60 80 54 */ lis r3, lbl_80540580@ha +/* 803661A4 00363104 90 01 00 14 */ stw r0, 0x14(r1) +/* 803661A8 00363108 38 00 00 00 */ li r0, 0 +/* 803661AC 0036310C 38 63 05 80 */ addi r3, r3, lbl_80540580@l +/* 803661B0 00363110 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803661B4 00363114 7F E3 22 14 */ add r31, r3, r4 +/* 803661B8 00363118 90 1F 00 10 */ stw r0, 0x10(r31) +/* 803661BC 0036311C 80 7F 00 20 */ lwz r3, 0x20(r31) +/* 803661C0 00363120 4B FF DB D1 */ bl StopStreaming__17CDSPStreamManagerFi +/* 803661C4 00363124 C0 02 CD B0 */ lfs f0, lbl_805AEAD0@sda21(r2) +/* 803661C8 00363128 38 00 FF FF */ li r0, -1 +/* 803661CC 0036312C D0 1F 00 24 */ stfs f0, 0x24(r31) +/* 803661D0 00363130 90 1F 00 20 */ stw r0, 0x20(r31) +/* 803661D4 00363134 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803661D8 00363138 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803661DC 0036313C 7C 08 03 A6 */ mtlr r0 +/* 803661E0 00363140 38 21 00 10 */ addi r1, r1, 0x10 +/* 803661E4 00363144 4E 80 00 20 */ blr + +.global UpdateDSP__19CStreamAudioManagerFif +UpdateDSP__19CStreamAudioManagerFif: +/* 803661E8 00363148 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 803661EC 0036314C 7C 08 02 A6 */ mflr r0 +/* 803661F0 00363150 90 01 00 74 */ stw r0, 0x74(r1) +/* 803661F4 00363154 DB E1 00 60 */ stfd f31, 0x60(r1) +/* 803661F8 00363158 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 +/* 803661FC 0036315C DB C1 00 50 */ stfd f30, 0x50(r1) +/* 80366200 00363160 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 +/* 80366204 00363164 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 80366208 00363168 93 C1 00 48 */ stw r30, 0x48(r1) +/* 8036620C 0036316C 7C 7E 1B 78 */ mr r30, r3 +/* 80366210 00363170 3C 80 80 54 */ lis r4, lbl_80540580@ha +/* 80366214 00363174 1C BE 00 2C */ mulli r5, r30, 0x2c +/* 80366218 00363178 FF C0 08 90 */ fmr f30, f1 +/* 8036621C 0036317C 38 04 05 80 */ addi r0, r4, lbl_80540580@l +/* 80366220 00363180 7F E0 2A 14 */ add r31, r0, r5 +/* 80366224 00363184 80 1F 00 10 */ lwz r0, 0x10(r31) +/* 80366228 00363188 2C 00 00 00 */ cmpwi r0, 0 +/* 8036622C 0036318C 40 82 00 90 */ bne lbl_803662BC +/* 80366230 00363190 3C 80 80 54 */ lis r4, lbl_805405E4@ha +/* 80366234 00363194 38 04 05 E4 */ addi r0, r4, lbl_805405E4@l +/* 80366238 00363198 7F E0 2A 14 */ add r31, r0, r5 +/* 8036623C 0036319C 80 1F 00 10 */ lwz r0, 0x10(r31) +/* 80366240 003631A0 2C 00 00 00 */ cmpwi r0, 0 +/* 80366244 003631A4 41 82 01 D8 */ beq lbl_8036641C +/* 80366248 003631A8 80 1F 00 14 */ lwz r0, 0x14(r31) +/* 8036624C 003631AC 7F E4 FB 78 */ mr r4, r31 +/* 80366250 003631B0 C0 3F 00 18 */ lfs f1, 0x18(r31) +/* 80366254 003631B4 C0 5F 00 1C */ lfs f2, 0x1c(r31) +/* 80366258 003631B8 54 05 06 3E */ clrlwi r5, r0, 0x18 +/* 8036625C 003631BC 88 DF 00 28 */ lbz r6, 0x28(r31) +/* 80366260 003631C0 4B FF FB 21 */ bl Start__19CStreamAudioManagerFiRCQ24rstl6stringib +/* 80366264 003631C4 38 61 00 0C */ addi r3, r1, 0xc +/* 80366268 003631C8 48 00 02 E9 */ bl __ct__20SDSPStreamCacheEntryFv +/* 8036626C 003631CC 7F E3 FB 78 */ mr r3, r31 +/* 80366270 003631D0 38 81 00 0C */ addi r4, r1, 0xc +/* 80366274 003631D4 4B FD 7A E9 */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80366278 003631D8 80 81 00 1C */ lwz r4, 0x1c(r1) +/* 8036627C 003631DC 38 61 00 0C */ addi r3, r1, 0xc +/* 80366280 003631E0 80 01 00 20 */ lwz r0, 0x20(r1) +/* 80366284 003631E4 90 9F 00 10 */ stw r4, 0x10(r31) +/* 80366288 003631E8 C0 21 00 24 */ lfs f1, 0x24(r1) +/* 8036628C 003631EC 90 1F 00 14 */ stw r0, 0x14(r31) +/* 80366290 003631F0 C0 01 00 28 */ lfs f0, 0x28(r1) +/* 80366294 003631F4 D0 3F 00 18 */ stfs f1, 0x18(r31) +/* 80366298 003631F8 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 8036629C 003631FC D0 1F 00 1C */ stfs f0, 0x1c(r31) +/* 803662A0 00363200 C0 01 00 30 */ lfs f0, 0x30(r1) +/* 803662A4 00363204 90 1F 00 20 */ stw r0, 0x20(r31) +/* 803662A8 00363208 88 01 00 34 */ lbz r0, 0x34(r1) +/* 803662AC 0036320C D0 1F 00 24 */ stfs f0, 0x24(r31) +/* 803662B0 00363210 98 1F 00 28 */ stb r0, 0x28(r31) +/* 803662B4 00363214 4B FD 78 2D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 803662B8 00363218 48 00 01 64 */ b lbl_8036641C +lbl_803662BC: +/* 803662BC 0036321C 41 82 00 30 */ beq lbl_803662EC +/* 803662C0 00363220 80 7F 00 20 */ lwz r3, 0x20(r31) +/* 803662C4 00363224 4B FF D6 B9 */ bl GetStreamState__17CDSPStreamManagerFi +/* 803662C8 00363228 2C 03 00 01 */ cmpwi r3, 1 +/* 803662CC 0036322C 40 82 00 20 */ bne lbl_803662EC +/* 803662D0 00363230 80 7F 00 20 */ lwz r3, 0x20(r31) +/* 803662D4 00363234 4B FF D7 79 */ bl CanStop__17CDSPStreamManagerFi +/* 803662D8 00363238 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 803662DC 0036323C 41 82 00 10 */ beq lbl_803662EC +/* 803662E0 00363240 7F C3 F3 78 */ mr r3, r30 +/* 803662E4 00363244 4B FF FE B1 */ bl StopStreaming__19CStreamAudioManagerFi +/* 803662E8 00363248 48 00 01 34 */ b lbl_8036641C +lbl_803662EC: +/* 803662EC 0036324C 80 1F 00 10 */ lwz r0, 0x10(r31) +/* 803662F0 00363250 2C 00 00 01 */ cmpwi r0, 1 +/* 803662F4 00363254 41 82 00 14 */ beq lbl_80366308 +/* 803662F8 00363258 2C 00 00 03 */ cmpwi r0, 3 +/* 803662FC 0036325C 41 82 00 0C */ beq lbl_80366308 +/* 80366300 00363260 2C 00 00 04 */ cmpwi r0, 4 +/* 80366304 00363264 40 82 00 14 */ bne lbl_80366318 +lbl_80366308: +/* 80366308 00363268 80 7F 00 20 */ lwz r3, 0x20(r31) +/* 8036630C 0036326C 4B FF D8 09 */ bl IsStreamAvailable__17CDSPStreamManagerFi +/* 80366310 00363270 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80366314 00363274 40 82 00 2C */ bne lbl_80366340 +lbl_80366318: +/* 80366318 00363278 80 1F 00 10 */ lwz r0, 0x10(r31) +/* 8036631C 0036327C 2C 00 00 02 */ cmpwi r0, 2 +/* 80366320 00363280 40 82 00 FC */ bne lbl_8036641C +/* 80366324 00363284 80 7F 00 14 */ lwz r3, 0x14(r31) +/* 80366328 00363288 88 9F 00 28 */ lbz r4, 0x28(r31) +/* 8036632C 0036328C 48 00 01 19 */ bl GetTargetDSPVolume__19CStreamAudioManagerFcb +/* 80366330 00363290 7C 64 1B 78 */ mr r4, r3 +/* 80366334 00363294 80 7F 00 20 */ lwz r3, 0x20(r31) +/* 80366338 00363298 4B FF D8 9D */ bl UpdateVolume__17CDSPStreamManagerFic +/* 8036633C 0036329C 48 00 00 E0 */ b lbl_8036641C +lbl_80366340: +/* 80366340 003632A0 80 1F 00 10 */ lwz r0, 0x10(r31) +/* 80366344 003632A4 2C 00 00 01 */ cmpwi r0, 1 +/* 80366348 003632A8 40 82 00 3C */ bne lbl_80366384 +/* 8036634C 003632AC C0 1F 00 18 */ lfs f0, 0x18(r31) +/* 80366350 003632B0 C0 5F 00 24 */ lfs f2, 0x24(r31) +/* 80366354 003632B4 EC 3E 00 24 */ fdivs f1, f30, f0 +/* 80366358 003632B8 C0 02 CD D4 */ lfs f0, lbl_805AEAF4@sda21(r2) +/* 8036635C 003632BC EC 22 08 2A */ fadds f1, f2, f1 +/* 80366360 003632C0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80366364 003632C4 4C 41 13 82 */ cror 2, 1, 2 +/* 80366368 003632C8 40 82 00 14 */ bne lbl_8036637C +/* 8036636C 003632CC D0 1F 00 24 */ stfs f0, 0x24(r31) +/* 80366370 003632D0 38 00 00 02 */ li r0, 2 +/* 80366374 003632D4 90 1F 00 10 */ stw r0, 0x10(r31) +/* 80366378 003632D8 48 00 00 5C */ b lbl_803663D4 +lbl_8036637C: +/* 8036637C 003632DC D0 3F 00 24 */ stfs f1, 0x24(r31) +/* 80366380 003632E0 48 00 00 54 */ b lbl_803663D4 +lbl_80366384: +/* 80366384 003632E4 2C 00 00 03 */ cmpwi r0, 3 +/* 80366388 003632E8 41 82 00 0C */ beq lbl_80366394 +/* 8036638C 003632EC 2C 00 00 04 */ cmpwi r0, 4 +/* 80366390 003632F0 40 82 00 44 */ bne lbl_803663D4 +lbl_80366394: +/* 80366394 003632F4 C0 1F 00 1C */ lfs f0, 0x1c(r31) +/* 80366398 003632F8 C0 5F 00 24 */ lfs f2, 0x24(r31) +/* 8036639C 003632FC EC 3E 00 24 */ fdivs f1, f30, f0 +/* 803663A0 00363300 C0 02 CD B0 */ lfs f0, lbl_805AEAD0@sda21(r2) +/* 803663A4 00363304 EC 22 08 28 */ fsubs f1, f2, f1 +/* 803663A8 00363308 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 803663AC 0036330C 4C 40 13 82 */ cror 2, 0, 2 +/* 803663B0 00363310 40 82 00 20 */ bne lbl_803663D0 +/* 803663B4 00363314 2C 00 00 04 */ cmpwi r0, 4 +/* 803663B8 00363318 40 82 00 0C */ bne lbl_803663C4 +/* 803663BC 0036331C D0 1F 00 24 */ stfs f0, 0x24(r31) +/* 803663C0 00363320 48 00 00 14 */ b lbl_803663D4 +lbl_803663C4: +/* 803663C4 00363324 7F C3 F3 78 */ mr r3, r30 +/* 803663C8 00363328 4B FF FD CD */ bl StopStreaming__19CStreamAudioManagerFi +/* 803663CC 0036332C 48 00 00 50 */ b lbl_8036641C +lbl_803663D0: +/* 803663D0 00363330 D0 3F 00 24 */ stfs f1, 0x24(r31) +lbl_803663D4: +/* 803663D4 00363334 80 7F 00 14 */ lwz r3, 0x14(r31) +/* 803663D8 00363338 3C 00 43 30 */ lis r0, 0x4330 +/* 803663DC 0036333C 90 01 00 38 */ stw r0, 0x38(r1) +/* 803663E0 00363340 6C 60 80 00 */ xoris r0, r3, 0x8000 +/* 803663E4 00363344 C8 42 CD C0 */ lfd f2, lbl_805AEAE0@sda21(r2) +/* 803663E8 00363348 90 01 00 3C */ stw r0, 0x3c(r1) +/* 803663EC 0036334C C0 1F 00 24 */ lfs f0, 0x24(r31) +/* 803663F0 00363350 C8 21 00 38 */ lfd f1, 0x38(r1) +/* 803663F4 00363354 EC 21 10 28 */ fsubs f1, f1, f2 +/* 803663F8 00363358 EF E1 00 32 */ fmuls f31, f1, f0 +/* 803663FC 0036335C F3 E1 C0 08 */ psq_st f31, 8(r1), 1, qr4 +/* 80366400 00363360 88 9F 00 28 */ lbz r4, 0x28(r31) +/* 80366404 00363364 88 61 00 08 */ lbz r3, 8(r1) +/* 80366408 00363368 7C 63 07 74 */ extsb r3, r3 +/* 8036640C 0036336C 48 00 00 39 */ bl GetTargetDSPVolume__19CStreamAudioManagerFcb +/* 80366410 00363370 7C 64 1B 78 */ mr r4, r3 +/* 80366414 00363374 80 7F 00 20 */ lwz r3, 0x20(r31) +/* 80366418 00363378 4B FF D7 BD */ bl UpdateVolume__17CDSPStreamManagerFic +lbl_8036641C: +/* 8036641C 0036337C E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 +/* 80366420 00363380 CB E1 00 60 */ lfd f31, 0x60(r1) +/* 80366424 00363384 E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 +/* 80366428 00363388 CB C1 00 50 */ lfd f30, 0x50(r1) +/* 8036642C 0036338C 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 80366430 00363390 80 01 00 74 */ lwz r0, 0x74(r1) +/* 80366434 00363394 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 80366438 00363398 7C 08 03 A6 */ mtlr r0 +/* 8036643C 0036339C 38 21 00 70 */ addi r1, r1, 0x70 +/* 80366440 003633A0 4E 80 00 20 */ blr + +.global GetTargetDSPVolume__19CStreamAudioManagerFcb +GetTargetDSPVolume__19CStreamAudioManagerFcb: +/* 80366444 003633A4 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 80366448 003633A8 41 82 00 40 */ beq lbl_80366488 +/* 8036644C 003633AC 88 0D 9E 80 */ lbz r0, lbl_805A8A40@sda21(r13) +/* 80366450 003633B0 28 00 00 00 */ cmplwi r0, 0 +/* 80366454 003633B4 41 82 00 2C */ beq lbl_80366480 +/* 80366458 003633B8 80 0D 9E 78 */ lwz r0, lbl_805A8A38@sda21(r13) +/* 8036645C 003633BC 3C 80 81 02 */ lis r4, 0x81020409@ha +/* 80366460 003633C0 38 84 04 09 */ addi r4, r4, 0x81020409@l +/* 80366464 003633C4 7C 03 01 D6 */ mullw r0, r3, r0 +/* 80366468 003633C8 7C 64 00 96 */ mulhw r3, r4, r0 +/* 8036646C 003633CC 7C 03 02 14 */ add r0, r3, r0 +/* 80366470 003633D0 7C 00 36 70 */ srawi r0, r0, 6 +/* 80366474 003633D4 54 03 0F FE */ srwi r3, r0, 0x1f +/* 80366478 003633D8 7C 60 1A 14 */ add r3, r0, r3 +/* 8036647C 003633DC 4E 80 00 20 */ blr +lbl_80366480: +/* 80366480 003633E0 38 60 00 00 */ li r3, 0 +/* 80366484 003633E4 4E 80 00 20 */ blr +lbl_80366488: +/* 80366488 003633E8 88 0D 9E 81 */ lbz r0, lbl_805A8A41@sda21(r13) +/* 8036648C 003633EC 28 00 00 00 */ cmplwi r0, 0 +/* 80366490 003633F0 41 82 00 2C */ beq lbl_803664BC +/* 80366494 003633F4 80 0D 9E 7C */ lwz r0, lbl_805A8A3C@sda21(r13) +/* 80366498 003633F8 3C 80 81 02 */ lis r4, 0x81020409@ha +/* 8036649C 003633FC 38 84 04 09 */ addi r4, r4, 0x81020409@l +/* 803664A0 00363400 7C 03 01 D6 */ mullw r0, r3, r0 +/* 803664A4 00363404 7C 64 00 96 */ mulhw r3, r4, r0 +/* 803664A8 00363408 7C 03 02 14 */ add r0, r3, r0 +/* 803664AC 0036340C 7C 00 36 70 */ srawi r0, r0, 6 +/* 803664B0 00363410 54 03 0F FE */ srwi r3, r0, 0x1f +/* 803664B4 00363414 7C 60 1A 14 */ add r3, r0, r3 +/* 803664B8 00363418 4E 80 00 20 */ blr +lbl_803664BC: +/* 803664BC 0036341C 38 60 00 00 */ li r3, 0 +/* 803664C0 00363420 4E 80 00 20 */ blr + +.global __ct__20SDSPStreamCacheEntryFiRCQ24rstl6stringiffib +__ct__20SDSPStreamCacheEntryFiRCQ24rstl6stringiffib: +/* 803664C4 00363424 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 803664C8 00363428 7C 08 02 A6 */ mflr r0 +/* 803664CC 0036342C 90 01 00 44 */ stw r0, 0x44(r1) +/* 803664D0 00363430 DB E1 00 30 */ stfd f31, 0x30(r1) +/* 803664D4 00363434 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 803664D8 00363438 DB C1 00 20 */ stfd f30, 0x20(r1) +/* 803664DC 0036343C F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 +/* 803664E0 00363440 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 803664E4 00363444 FF C0 08 90 */ fmr f30, f1 +/* 803664E8 00363448 7C 9C 23 78 */ mr r28, r4 +/* 803664EC 0036344C FF E0 10 90 */ fmr f31, f2 +/* 803664F0 00363450 7C 7B 1B 78 */ mr r27, r3 +/* 803664F4 00363454 7C DD 33 78 */ mr r29, r6 +/* 803664F8 00363458 7C FE 3B 78 */ mr r30, r7 +/* 803664FC 0036345C 7D 1F 43 78 */ mr r31, r8 +/* 80366500 00363460 7C A4 2B 78 */ mr r4, r5 +/* 80366504 00363464 4B FD 7C 5D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80366508 00363468 93 9B 00 10 */ stw r28, 0x10(r27) +/* 8036650C 0036346C 7F 63 DB 78 */ mr r3, r27 +/* 80366510 00363470 C0 02 CD B0 */ lfs f0, lbl_805AEAD0@sda21(r2) +/* 80366514 00363474 93 BB 00 14 */ stw r29, 0x14(r27) +/* 80366518 00363478 D3 DB 00 18 */ stfs f30, 0x18(r27) +/* 8036651C 0036347C D3 FB 00 1C */ stfs f31, 0x1c(r27) +/* 80366520 00363480 93 DB 00 20 */ stw r30, 0x20(r27) +/* 80366524 00363484 D0 1B 00 24 */ stfs f0, 0x24(r27) +/* 80366528 00363488 9B FB 00 28 */ stb r31, 0x28(r27) +/* 8036652C 0036348C E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 80366530 00363490 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 80366534 00363494 E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 +/* 80366538 00363498 CB C1 00 20 */ lfd f30, 0x20(r1) +/* 8036653C 0036349C BB 61 00 0C */ lmw r27, 0xc(r1) +/* 80366540 003634A0 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80366544 003634A4 7C 08 03 A6 */ mtlr r0 +/* 80366548 003634A8 38 21 00 40 */ addi r1, r1, 0x40 +/* 8036654C 003634AC 4E 80 00 20 */ blr + +.global __ct__20SDSPStreamCacheEntryFv +__ct__20SDSPStreamCacheEntryFv: +/* 80366550 003634B0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80366554 003634B4 7C 08 02 A6 */ mflr r0 +/* 80366558 003634B8 3C 80 80 3E */ lis r4, lbl_803D8410@ha +/* 8036655C 003634BC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80366560 003634C0 38 84 84 10 */ addi r4, r4, lbl_803D8410@l +/* 80366564 003634C4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80366568 003634C8 7C 7F 1B 78 */ mr r31, r3 +/* 8036656C 003634CC 38 61 00 08 */ addi r3, r1, 8 +/* 80366570 003634D0 4B C9 E7 49 */ bl string_l__4rstlFPCc +/* 80366574 003634D4 7F E3 FB 78 */ mr r3, r31 +/* 80366578 003634D8 38 81 00 08 */ addi r4, r1, 8 +/* 8036657C 003634DC 4B FD 7B E5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80366580 003634E0 38 61 00 08 */ addi r3, r1, 8 +/* 80366584 003634E4 4B FD 75 5D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80366588 003634E8 38 A0 00 00 */ li r5, 0 +/* 8036658C 003634EC C0 02 CD B0 */ lfs f0, lbl_805AEAD0@sda21(r2) +/* 80366590 003634F0 90 BF 00 10 */ stw r5, 0x10(r31) +/* 80366594 003634F4 38 80 FF FF */ li r4, -1 +/* 80366598 003634F8 38 00 00 01 */ li r0, 1 +/* 8036659C 003634FC 7F E3 FB 78 */ mr r3, r31 +/* 803665A0 00363500 90 BF 00 14 */ stw r5, 0x14(r31) +/* 803665A4 00363504 D0 1F 00 18 */ stfs f0, 0x18(r31) +/* 803665A8 00363508 D0 1F 00 1C */ stfs f0, 0x1c(r31) +/* 803665AC 0036350C 90 9F 00 20 */ stw r4, 0x20(r31) +/* 803665B0 00363510 D0 1F 00 24 */ stfs f0, 0x24(r31) +/* 803665B4 00363514 98 1F 00 28 */ stb r0, 0x28(r31) +/* 803665B8 00363518 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803665BC 0036351C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803665C0 00363520 7C 08 03 A6 */ mtlr r0 +/* 803665C4 00363524 38 21 00 20 */ addi r1, r1, 0x20 +/* 803665C8 00363528 4E 80 00 20 */ blr + +.global __sinit_CStreamAudioManager_cpp +__sinit_CStreamAudioManager_cpp: +/* 803665CC 0036352C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803665D0 00363530 7C 08 02 A6 */ mflr r0 +/* 803665D4 00363534 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 803665D8 00363538 38 AD A9 18 */ addi r5, r13, "_EmptyString__Q24rstl66basic_string,Q24rstl17rmemory_allocator>"@sda21 +/* 803665DC 0036353C 90 01 00 14 */ stw r0, 0x14(r1) +/* 803665E0 00363540 3C 60 80 5A */ lis r3, lbl_805A6B60@ha +/* 803665E4 00363544 3C C0 80 54 */ lis r6, lbl_80540550@ha +/* 803665E8 00363548 38 00 00 00 */ li r0, 0 +/* 803665EC 0036354C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803665F0 00363550 3B E6 05 50 */ addi r31, r6, lbl_80540550@l +/* 803665F4 00363554 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 803665F8 00363558 94 A3 6B 60 */ stwu r5, lbl_805A6B60@l(r3) +/* 803665FC 0036355C 38 BF 00 00 */ addi r5, r31, 0 +/* 80366600 00363560 90 03 00 04 */ stw r0, 4(r3) +/* 80366604 00363564 90 03 00 08 */ stw r0, 8(r3) +/* 80366608 00363568 48 02 30 85 */ bl __register_global_object +/* 8036660C 0036356C 38 AD A9 18 */ addi r5, r13, "_EmptyString__Q24rstl66basic_string,Q24rstl17rmemory_allocator>"@sda21 +/* 80366610 00363570 3C 60 80 5A */ lis r3, lbl_805A6B90@ha +/* 80366614 00363574 94 A3 6B 90 */ stwu r5, lbl_805A6B90@l(r3) +/* 80366618 00363578 38 00 00 00 */ li r0, 0 +/* 8036661C 0036357C 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 80366620 00363580 38 BF 00 0C */ addi r5, r31, 0xc +/* 80366624 00363584 90 03 00 04 */ stw r0, 4(r3) +/* 80366628 00363588 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8036662C 0036358C 90 03 00 08 */ stw r0, 8(r3) +/* 80366630 00363590 48 02 30 5D */ bl __register_global_object +/* 80366634 00363594 38 AD A9 18 */ addi r5, r13, "_EmptyString__Q24rstl66basic_string,Q24rstl17rmemory_allocator>"@sda21 +/* 80366638 00363598 3C 60 80 5A */ lis r3, lbl_805A6BA0@ha +/* 8036663C 0036359C 94 A3 6B A0 */ stwu r5, lbl_805A6BA0@l(r3) +/* 80366640 003635A0 38 00 00 00 */ li r0, 0 +/* 80366644 003635A4 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 80366648 003635A8 38 BF 00 18 */ addi r5, r31, 0x18 +/* 8036664C 003635AC 90 03 00 04 */ stw r0, 4(r3) +/* 80366650 003635B0 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 80366654 003635B4 90 03 00 08 */ stw r0, 8(r3) +/* 80366658 003635B8 48 02 30 35 */ bl __register_global_object +/* 8036665C 003635BC 3C 60 80 36 */ lis r3, __ct__20SDSPStreamCacheEntryFv@ha +/* 80366660 003635C0 3C A0 80 36 */ lis r5, sub_803656f8@ha +/* 80366664 003635C4 38 83 65 50 */ addi r4, r3, __ct__20SDSPStreamCacheEntryFv@l +/* 80366668 003635C8 38 C0 00 2C */ li r6, 0x2c +/* 8036666C 003635CC 38 7F 00 30 */ addi r3, r31, 0x30 +/* 80366670 003635D0 38 A5 56 F8 */ addi r5, r5, sub_803656f8@l +/* 80366674 003635D4 38 E0 00 02 */ li r7, 2 +/* 80366678 003635D8 48 02 30 D5 */ bl __construct_array +/* 8036667C 003635DC 3C 60 80 36 */ lis r3, sub_80366710@ha +/* 80366680 003635E0 38 BF 00 24 */ addi r5, r31, 0x24 +/* 80366684 003635E4 38 83 67 10 */ addi r4, r3, sub_80366710@l +/* 80366688 003635E8 38 60 00 00 */ li r3, 0 +/* 8036668C 003635EC 48 02 30 01 */ bl __register_global_object +/* 80366690 003635F0 3C 60 80 36 */ lis r3, __ct__20SDSPStreamCacheEntryFv@ha +/* 80366694 003635F4 3C A0 80 36 */ lis r5, sub_803656f8@ha +/* 80366698 003635F8 38 83 65 50 */ addi r4, r3, __ct__20SDSPStreamCacheEntryFv@l +/* 8036669C 003635FC 38 C0 00 2C */ li r6, 0x2c +/* 803666A0 00363600 38 7F 00 94 */ addi r3, r31, 0x94 +/* 803666A4 00363604 38 A5 56 F8 */ addi r5, r5, sub_803656f8@l +/* 803666A8 00363608 38 E0 00 02 */ li r7, 2 +/* 803666AC 0036360C 48 02 30 A1 */ bl __construct_array +/* 803666B0 00363610 3C 60 80 36 */ lis r3, sub_803666d8@ha +/* 803666B4 00363614 38 BF 00 88 */ addi r5, r31, 0x88 +/* 803666B8 00363618 38 83 66 D8 */ addi r4, r3, sub_803666d8@l +/* 803666BC 0036361C 38 60 00 00 */ li r3, 0 +/* 803666C0 00363620 48 02 2F CD */ bl __register_global_object +/* 803666C4 00363624 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803666C8 00363628 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803666CC 0036362C 7C 08 03 A6 */ mtlr r0 +/* 803666D0 00363630 38 21 00 10 */ addi r1, r1, 0x10 +/* 803666D4 00363634 4E 80 00 20 */ blr + +.global sub_803666d8 +sub_803666d8: +/* 803666D8 00363638 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803666DC 0036363C 7C 08 02 A6 */ mflr r0 +/* 803666E0 00363640 3C 60 80 54 */ lis r3, lbl_805405E4@ha +/* 803666E4 00363644 3C 80 80 36 */ lis r4, sub_803656f8@ha +/* 803666E8 00363648 90 01 00 14 */ stw r0, 0x14(r1) +/* 803666EC 0036364C 38 63 05 E4 */ addi r3, r3, lbl_805405E4@l +/* 803666F0 00363650 38 A0 00 2C */ li r5, 0x2c +/* 803666F4 00363654 38 84 56 F8 */ addi r4, r4, sub_803656f8@l +/* 803666F8 00363658 38 C0 00 02 */ li r6, 2 +/* 803666FC 0036365C 48 02 2F D9 */ bl __destroy_arr +/* 80366700 00363660 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80366704 00363664 7C 08 03 A6 */ mtlr r0 +/* 80366708 00363668 38 21 00 10 */ addi r1, r1, 0x10 +/* 8036670C 0036366C 4E 80 00 20 */ blr + +.global sub_80366710 +sub_80366710: +/* 80366710 00363670 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80366714 00363674 7C 08 02 A6 */ mflr r0 +/* 80366718 00363678 3C 60 80 54 */ lis r3, lbl_80540580@ha +/* 8036671C 0036367C 3C 80 80 36 */ lis r4, sub_803656f8@ha +/* 80366720 00363680 90 01 00 14 */ stw r0, 0x14(r1) +/* 80366724 00363684 38 63 05 80 */ addi r3, r3, lbl_80540580@l +/* 80366728 00363688 38 A0 00 2C */ li r5, 0x2c +/* 8036672C 0036368C 38 84 56 F8 */ addi r4, r4, sub_803656f8@l +/* 80366730 00363690 38 C0 00 02 */ li r6, 2 +/* 80366734 00363694 48 02 2F A1 */ bl __destroy_arr +/* 80366738 00363698 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8036673C 0036369C 7C 08 03 A6 */ mtlr r0 +/* 80366740 003636A0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80366744 003636A4 4E 80 00 20 */ blr diff --git a/asm/Kyoto/Audio/DolphinCAudioGroupSet.s b/asm/Kyoto/Audio/DolphinCAudioGroupSet.s new file mode 100644 index 00000000..51799b61 --- /dev/null +++ b/asm/Kyoto/Audio/DolphinCAudioGroupSet.s @@ -0,0 +1,543 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global FAudioGroupSetLocDataFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer +FAudioGroupSetLocDataFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer: +/* 8034A024 00346F84 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8034A028 00346F88 7C 08 02 A6 */ mflr r0 +/* 8034A02C 00346F8C 3C 80 80 3E */ lis r4, lbl_803D8108@ha +/* 8034A030 00346F90 90 01 00 24 */ stw r0, 0x24(r1) +/* 8034A034 00346F94 38 84 81 08 */ addi r4, r4, lbl_803D8108@l +/* 8034A038 00346F98 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8034A03C 00346F9C 7C DF 33 78 */ mr r31, r6 +/* 8034A040 00346FA0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8034A044 00346FA4 7C BE 2B 78 */ mr r30, r5 +/* 8034A048 00346FA8 38 A0 00 00 */ li r5, 0 +/* 8034A04C 00346FAC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8034A050 00346FB0 7C 7D 1B 78 */ mr r29, r3 +/* 8034A054 00346FB4 38 60 00 44 */ li r3, 0x44 +/* 8034A058 00346FB8 4B FC B8 15 */ bl __nw__FUlPCcPCc +/* 8034A05C 00346FBC 7C 64 1B 79 */ or. r4, r3, r3 +/* 8034A060 00346FC0 41 82 00 14 */ beq lbl_8034A074 +/* 8034A064 00346FC4 7F C4 F3 78 */ mr r4, r30 +/* 8034A068 00346FC8 7F E5 FB 78 */ mr r5, r31 +/* 8034A06C 00346FCC 48 00 03 89 */ bl __ct__15CAudioGrpSetLocFR12CInputStream +/* 8034A070 00346FD0 7C 64 1B 78 */ mr r4, r3 +lbl_8034A074: +/* 8034A074 00346FD4 7F A3 EB 78 */ mr r3, r29 +/* 8034A078 00346FD8 48 00 00 21 */ bl sub_8034a098 +/* 8034A07C 00346FDC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8034A080 00346FE0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8034A084 00346FE4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8034A088 00346FE8 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8034A08C 00346FEC 7C 08 03 A6 */ mtlr r0 +/* 8034A090 00346FF0 38 21 00 20 */ addi r1, r1, 0x20 +/* 8034A094 00346FF4 4E 80 00 20 */ blr + +.global sub_8034a098 +sub_8034a098: +/* 8034A098 00346FF8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8034A09C 00346FFC 7C 08 02 A6 */ mflr r0 +/* 8034A0A0 00347000 90 01 00 24 */ stw r0, 0x24(r1) +/* 8034A0A4 00347004 7C 04 00 D0 */ neg r0, r4 +/* 8034A0A8 00347008 7C 00 23 78 */ or r0, r0, r4 +/* 8034A0AC 0034700C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8034A0B0 00347010 7C 7F 1B 78 */ mr r31, r3 +/* 8034A0B4 00347014 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8034A0B8 00347018 38 61 00 08 */ addi r3, r1, 8 +/* 8034A0BC 0034701C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8034A0C0 00347020 90 81 00 14 */ stw r4, 0x14(r1) +/* 8034A0C4 00347024 38 81 00 10 */ addi r4, r1, 0x10 +/* 8034A0C8 00347028 98 01 00 10 */ stb r0, 0x10(r1) +/* 8034A0CC 0034702C 48 00 01 D9 */ bl sub_8034a2a4 +/* 8034A0D0 00347030 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8034A0D4 00347034 38 00 00 00 */ li r0, 0 +/* 8034A0D8 00347038 98 01 00 08 */ stb r0, 8(r1) +/* 8034A0DC 0034703C 7C 03 00 D0 */ neg r0, r3 +/* 8034A0E0 00347040 7C 00 1B 78 */ or r0, r0, r3 +/* 8034A0E4 00347044 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8034A0E8 00347048 98 1F 00 00 */ stb r0, 0(r31) +/* 8034A0EC 0034704C 90 7F 00 04 */ stw r3, 4(r31) +/* 8034A0F0 00347050 88 01 00 08 */ lbz r0, 8(r1) +/* 8034A0F4 00347054 28 00 00 00 */ cmplwi r0, 0 +/* 8034A0F8 00347058 41 82 00 24 */ beq lbl_8034A11C +/* 8034A0FC 0034705C 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8034A100 00347060 28 03 00 00 */ cmplwi r3, 0 +/* 8034A104 00347064 41 82 00 18 */ beq lbl_8034A11C +/* 8034A108 00347068 81 83 00 00 */ lwz r12, 0(r3) +/* 8034A10C 0034706C 38 80 00 01 */ li r4, 1 +/* 8034A110 00347070 81 8C 00 08 */ lwz r12, 8(r12) +/* 8034A114 00347074 7D 89 03 A6 */ mtctr r12 +/* 8034A118 00347078 4E 80 04 21 */ bctrl +lbl_8034A11C: +/* 8034A11C 0034707C 88 01 00 10 */ lbz r0, 0x10(r1) +/* 8034A120 00347080 28 00 00 00 */ cmplwi r0, 0 +/* 8034A124 00347084 41 82 00 70 */ beq lbl_8034A194 +/* 8034A128 00347088 83 C1 00 14 */ lwz r30, 0x14(r1) +/* 8034A12C 0034708C 28 1E 00 00 */ cmplwi r30, 0 +/* 8034A130 00347090 41 82 00 64 */ beq lbl_8034A194 +/* 8034A134 00347094 34 1E 00 20 */ addic. r0, r30, 0x20 +/* 8034A138 00347098 41 82 00 0C */ beq lbl_8034A144 +/* 8034A13C 0034709C 38 7E 00 20 */ addi r3, r30, 0x20 +/* 8034A140 003470A0 4B FF 39 A1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8034A144: +/* 8034A144 003470A4 34 1E 00 10 */ addic. r0, r30, 0x10 +/* 8034A148 003470A8 41 82 00 0C */ beq lbl_8034A154 +/* 8034A14C 003470AC 38 7E 00 10 */ addi r3, r30, 0x10 +/* 8034A150 003470B0 4B FF 39 91 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8034A154: +/* 8034A154 003470B4 34 1E 00 08 */ addic. r0, r30, 8 +/* 8034A158 003470B8 41 82 00 18 */ beq lbl_8034A170 +/* 8034A15C 003470BC 88 1E 00 08 */ lbz r0, 8(r30) +/* 8034A160 003470C0 28 00 00 00 */ cmplwi r0, 0 +/* 8034A164 003470C4 41 82 00 0C */ beq lbl_8034A170 +/* 8034A168 003470C8 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8034A16C 003470CC 4B FC B7 C5 */ bl Free__7CMemoryFPCv +lbl_8034A170: +/* 8034A170 003470D0 28 1E 00 00 */ cmplwi r30, 0 +/* 8034A174 003470D4 41 82 00 18 */ beq lbl_8034A18C +/* 8034A178 003470D8 88 1E 00 00 */ lbz r0, 0(r30) +/* 8034A17C 003470DC 28 00 00 00 */ cmplwi r0, 0 +/* 8034A180 003470E0 41 82 00 0C */ beq lbl_8034A18C +/* 8034A184 003470E4 80 7E 00 04 */ lwz r3, 4(r30) +/* 8034A188 003470E8 4B FC B7 A9 */ bl Free__7CMemoryFPCv +lbl_8034A18C: +/* 8034A18C 003470EC 7F C3 F3 78 */ mr r3, r30 +/* 8034A190 003470F0 4B FC B7 A1 */ bl Free__7CMemoryFPCv +lbl_8034A194: +/* 8034A194 003470F4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8034A198 003470F8 7F E3 FB 78 */ mr r3, r31 +/* 8034A19C 003470FC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8034A1A0 00347100 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8034A1A4 00347104 7C 08 03 A6 */ mtlr r0 +/* 8034A1A8 00347108 38 21 00 20 */ addi r1, r1, 0x20 +/* 8034A1AC 0034710C 4E 80 00 20 */ blr + +.global sub_8034a1b0 +sub_8034a1b0: +/* 8034A1B0 00347110 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8034A1B4 00347114 7C 08 02 A6 */ mflr r0 +/* 8034A1B8 00347118 90 01 00 24 */ stw r0, 0x24(r1) +/* 8034A1BC 0034711C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8034A1C0 00347120 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8034A1C4 00347124 7C 9E 23 78 */ mr r30, r4 +/* 8034A1C8 00347128 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8034A1CC 0034712C 7C 7D 1B 79 */ or. r29, r3, r3 +/* 8034A1D0 00347130 41 82 00 B4 */ beq lbl_8034A284 +/* 8034A1D4 00347134 3C 60 80 3F */ lis r3, lbl_803EF670@ha +/* 8034A1D8 00347138 38 03 F6 70 */ addi r0, r3, lbl_803EF670@l +/* 8034A1DC 0034713C 90 1D 00 00 */ stw r0, 0(r29) +/* 8034A1E0 00347140 83 FD 00 04 */ lwz r31, 4(r29) +/* 8034A1E4 00347144 28 1F 00 00 */ cmplwi r31, 0 +/* 8034A1E8 00347148 41 82 00 68 */ beq lbl_8034A250 +/* 8034A1EC 0034714C 41 82 00 64 */ beq lbl_8034A250 +/* 8034A1F0 00347150 34 1F 00 20 */ addic. r0, r31, 0x20 +/* 8034A1F4 00347154 41 82 00 0C */ beq lbl_8034A200 +/* 8034A1F8 00347158 38 7F 00 20 */ addi r3, r31, 0x20 +/* 8034A1FC 0034715C 4B FF 38 E5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8034A200: +/* 8034A200 00347160 34 1F 00 10 */ addic. r0, r31, 0x10 +/* 8034A204 00347164 41 82 00 0C */ beq lbl_8034A210 +/* 8034A208 00347168 38 7F 00 10 */ addi r3, r31, 0x10 +/* 8034A20C 0034716C 4B FF 38 D5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8034A210: +/* 8034A210 00347170 34 1F 00 08 */ addic. r0, r31, 8 +/* 8034A214 00347174 41 82 00 18 */ beq lbl_8034A22C +/* 8034A218 00347178 88 1F 00 08 */ lbz r0, 8(r31) +/* 8034A21C 0034717C 28 00 00 00 */ cmplwi r0, 0 +/* 8034A220 00347180 41 82 00 0C */ beq lbl_8034A22C +/* 8034A224 00347184 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 8034A228 00347188 4B FC B7 09 */ bl Free__7CMemoryFPCv +lbl_8034A22C: +/* 8034A22C 0034718C 28 1F 00 00 */ cmplwi r31, 0 +/* 8034A230 00347190 41 82 00 18 */ beq lbl_8034A248 +/* 8034A234 00347194 88 1F 00 00 */ lbz r0, 0(r31) +/* 8034A238 00347198 28 00 00 00 */ cmplwi r0, 0 +/* 8034A23C 0034719C 41 82 00 0C */ beq lbl_8034A248 +/* 8034A240 003471A0 80 7F 00 04 */ lwz r3, 4(r31) +/* 8034A244 003471A4 4B FC B6 ED */ bl Free__7CMemoryFPCv +lbl_8034A248: +/* 8034A248 003471A8 7F E3 FB 78 */ mr r3, r31 +/* 8034A24C 003471AC 4B FC B6 E5 */ bl Free__7CMemoryFPCv +lbl_8034A250: +/* 8034A250 003471B0 28 1D 00 00 */ cmplwi r29, 0 +/* 8034A254 003471B4 41 82 00 20 */ beq lbl_8034A274 +/* 8034A258 003471B8 3C 60 80 3E */ lis r3, lbl_803D8D78@ha +/* 8034A25C 003471BC 38 03 8D 78 */ addi r0, r3, lbl_803D8D78@l +/* 8034A260 003471C0 90 1D 00 00 */ stw r0, 0(r29) +/* 8034A264 003471C4 41 82 00 10 */ beq lbl_8034A274 +/* 8034A268 003471C8 3C 60 80 3E */ lis r3, lbl_803D8D6C@ha +/* 8034A26C 003471CC 38 03 8D 6C */ addi r0, r3, lbl_803D8D6C@l +/* 8034A270 003471D0 90 1D 00 00 */ stw r0, 0(r29) +lbl_8034A274: +/* 8034A274 003471D4 7F C0 07 35 */ extsh. r0, r30 +/* 8034A278 003471D8 40 81 00 0C */ ble lbl_8034A284 +/* 8034A27C 003471DC 7F A3 EB 78 */ mr r3, r29 +/* 8034A280 003471E0 4B FC B6 B1 */ bl Free__7CMemoryFPCv +lbl_8034A284: +/* 8034A284 003471E4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8034A288 003471E8 7F A3 EB 78 */ mr r3, r29 +/* 8034A28C 003471EC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8034A290 003471F0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8034A294 003471F4 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8034A298 003471F8 7C 08 03 A6 */ mtlr r0 +/* 8034A29C 003471FC 38 21 00 20 */ addi r1, r1, 0x20 +/* 8034A2A0 00347200 4E 80 00 20 */ blr + +.global sub_8034a2a4 +sub_8034a2a4: +/* 8034A2A4 00347204 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034A2A8 00347208 7C 08 02 A6 */ mflr r0 +/* 8034A2AC 0034720C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034A2B0 00347210 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034A2B4 00347214 7C 7F 1B 78 */ mr r31, r3 +/* 8034A2B8 00347218 48 00 00 19 */ bl sub_8034a2d0 +/* 8034A2BC 0034721C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034A2C0 00347220 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034A2C4 00347224 7C 08 03 A6 */ mtlr r0 +/* 8034A2C8 00347228 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034A2CC 0034722C 4E 80 00 20 */ blr + +.global sub_8034a2d0 +sub_8034a2d0: +/* 8034A2D0 00347230 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034A2D4 00347234 7C 08 02 A6 */ mflr r0 +/* 8034A2D8 00347238 3C A0 80 3E */ lis r5, lbl_803D8108@ha +/* 8034A2DC 0034723C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034A2E0 00347240 38 05 81 08 */ addi r0, r5, lbl_803D8108@l +/* 8034A2E4 00347244 38 A0 00 00 */ li r5, 0 +/* 8034A2E8 00347248 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034A2EC 0034724C 7C 9F 23 78 */ mr r31, r4 +/* 8034A2F0 00347250 7C 04 03 78 */ mr r4, r0 +/* 8034A2F4 00347254 93 C1 00 08 */ stw r30, 8(r1) +/* 8034A2F8 00347258 7C 7E 1B 78 */ mr r30, r3 +/* 8034A2FC 0034725C 38 60 00 08 */ li r3, 8 +/* 8034A300 00347260 4B FC B5 6D */ bl __nw__FUlPCcPCc +/* 8034A304 00347264 28 03 00 00 */ cmplwi r3, 0 +/* 8034A308 00347268 41 82 00 38 */ beq lbl_8034A340 +/* 8034A30C 0034726C 3C 80 80 3E */ lis r4, lbl_803D8D6C@ha +/* 8034A310 00347270 3C A0 80 3E */ lis r5, lbl_803D8D78@ha +/* 8034A314 00347274 38 04 8D 6C */ addi r0, r4, lbl_803D8D6C@l +/* 8034A318 00347278 3C 80 80 3F */ lis r4, lbl_803EF670@ha +/* 8034A31C 0034727C 90 03 00 00 */ stw r0, 0(r3) +/* 8034A320 00347280 38 C5 8D 78 */ addi r6, r5, lbl_803D8D78@l +/* 8034A324 00347284 38 A0 00 00 */ li r5, 0 +/* 8034A328 00347288 38 04 F6 70 */ addi r0, r4, lbl_803EF670@l +/* 8034A32C 0034728C 90 C3 00 00 */ stw r6, 0(r3) +/* 8034A330 00347290 98 BF 00 00 */ stb r5, 0(r31) +/* 8034A334 00347294 80 9F 00 04 */ lwz r4, 4(r31) +/* 8034A338 00347298 90 83 00 04 */ stw r4, 4(r3) +/* 8034A33C 0034729C 90 03 00 00 */ stw r0, 0(r3) +lbl_8034A340: +/* 8034A340 003472A0 7C 03 00 D0 */ neg r0, r3 +/* 8034A344 003472A4 7C 00 1B 78 */ or r0, r0, r3 +/* 8034A348 003472A8 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8034A34C 003472AC 98 1E 00 00 */ stb r0, 0(r30) +/* 8034A350 003472B0 90 7E 00 04 */ stw r3, 4(r30) +/* 8034A354 003472B4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034A358 003472B8 83 C1 00 08 */ lwz r30, 8(r1) +/* 8034A35C 003472BC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034A360 003472C0 7C 08 03 A6 */ mtlr r0 +/* 8034A364 003472C4 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034A368 003472C8 4E 80 00 20 */ blr + +.global sub_8034a36c +sub_8034a36c: +/* 8034A36C 003472CC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8034A370 003472D0 7C 08 02 A6 */ mflr r0 +/* 8034A374 003472D4 90 01 00 24 */ stw r0, 0x24(r1) +/* 8034A378 003472D8 38 01 00 08 */ addi r0, r1, 8 +/* 8034A37C 003472DC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8034A380 003472E0 7C 7F 1B 78 */ mr r31, r3 +/* 8034A384 003472E4 38 60 00 00 */ li r3, 0 +/* 8034A388 003472E8 7C 00 F8 40 */ cmplw r0, r31 +/* 8034A38C 003472EC 98 61 00 08 */ stb r3, 8(r1) +/* 8034A390 003472F0 90 61 00 0C */ stw r3, 0xc(r1) +/* 8034A394 003472F4 41 82 00 30 */ beq lbl_8034A3C4 +/* 8034A398 003472F8 88 1F 00 00 */ lbz r0, 0(r31) +/* 8034A39C 003472FC 28 00 00 00 */ cmplwi r0, 0 +/* 8034A3A0 00347300 41 82 00 0C */ beq lbl_8034A3AC +/* 8034A3A4 00347304 80 7F 00 04 */ lwz r3, 4(r31) +/* 8034A3A8 00347308 4B FC B5 89 */ bl Free__7CMemoryFPCv +lbl_8034A3AC: +/* 8034A3AC 0034730C 88 81 00 08 */ lbz r4, 8(r1) +/* 8034A3B0 00347310 38 00 00 00 */ li r0, 0 +/* 8034A3B4 00347314 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8034A3B8 00347318 98 9F 00 00 */ stb r4, 0(r31) +/* 8034A3BC 0034731C 90 7F 00 04 */ stw r3, 4(r31) +/* 8034A3C0 00347320 98 01 00 08 */ stb r0, 8(r1) +lbl_8034A3C4: +/* 8034A3C4 00347324 88 01 00 08 */ lbz r0, 8(r1) +/* 8034A3C8 00347328 28 00 00 00 */ cmplwi r0, 0 +/* 8034A3CC 0034732C 41 82 00 0C */ beq lbl_8034A3D8 +/* 8034A3D0 00347330 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8034A3D4 00347334 4B FC B5 5D */ bl Free__7CMemoryFPCv +lbl_8034A3D8: +/* 8034A3D8 00347338 38 00 00 00 */ li r0, 0 +/* 8034A3DC 0034733C 90 1F 00 40 */ stw r0, 0x40(r31) +/* 8034A3E0 00347340 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8034A3E4 00347344 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8034A3E8 00347348 7C 08 03 A6 */ mtlr r0 +/* 8034A3EC 0034734C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8034A3F0 00347350 4E 80 00 20 */ blr + +.global __ct__15CAudioGrpSetLocFR12CInputStream +__ct__15CAudioGrpSetLocFR12CInputStream: +/* 8034A3F4 00347354 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 8034A3F8 00347358 7C 08 02 A6 */ mflr r0 +/* 8034A3FC 0034735C 38 C0 00 00 */ li r6, 0 +/* 8034A400 00347360 90 01 00 94 */ stw r0, 0x94(r1) +/* 8034A404 00347364 38 0D A9 18 */ addi r0, r13, "_EmptyString__Q24rstl66basic_string,Q24rstl17rmemory_allocator>"@sda21 +/* 8034A408 00347368 BE E1 00 6C */ stmw r23, 0x6c(r1) +/* 8034A40C 0034736C 7C 78 1B 78 */ mr r24, r3 +/* 8034A410 00347370 7C 9A 23 78 */ mr r26, r4 +/* 8034A414 00347374 38 61 00 40 */ addi r3, r1, 0x40 +/* 8034A418 00347378 98 C4 00 00 */ stb r6, 0(r4) +/* 8034A41C 0034737C 80 E4 00 04 */ lwz r7, 4(r4) +/* 8034A420 00347380 7C 87 00 D0 */ neg r4, r7 +/* 8034A424 00347384 7C 84 3B 78 */ or r4, r4, r7 +/* 8034A428 00347388 54 84 0F FE */ srwi r4, r4, 0x1f +/* 8034A42C 0034738C 98 98 00 00 */ stb r4, 0(r24) +/* 8034A430 00347390 90 F8 00 04 */ stw r7, 4(r24) +/* 8034A434 00347394 98 D8 00 08 */ stb r6, 8(r24) +/* 8034A438 00347398 90 D8 00 0C */ stw r6, 0xc(r24) +/* 8034A43C 0034739C 90 18 00 10 */ stw r0, 0x10(r24) +/* 8034A440 003473A0 90 D8 00 14 */ stw r6, 0x14(r24) +/* 8034A444 003473A4 90 D8 00 18 */ stw r6, 0x18(r24) +/* 8034A448 003473A8 90 18 00 20 */ stw r0, 0x20(r24) +/* 8034A44C 003473AC 90 D8 00 24 */ stw r6, 0x24(r24) +/* 8034A450 003473B0 90 D8 00 28 */ stw r6, 0x28(r24) +/* 8034A454 003473B4 90 D8 00 30 */ stw r6, 0x30(r24) +/* 8034A458 003473B8 90 D8 00 34 */ stw r6, 0x34(r24) +/* 8034A45C 003473BC 90 D8 00 38 */ stw r6, 0x38(r24) +/* 8034A460 003473C0 90 D8 00 3C */ stw r6, 0x3c(r24) +/* 8034A464 003473C4 90 D8 00 40 */ stw r6, 0x40(r24) +/* 8034A468 003473C8 80 9A 00 04 */ lwz r4, 4(r26) +/* 8034A46C 003473CC 4B FF 4D 61 */ bl __ct__15CMemoryInStreamFPCvUl +/* 8034A470 003473D0 38 61 00 30 */ addi r3, r1, 0x30 +/* 8034A474 003473D4 38 81 00 40 */ addi r4, r1, 0x40 +/* 8034A478 003473D8 38 A1 00 0C */ addi r5, r1, 0xc +/* 8034A47C 003473DC 4B FF 3E 7D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 8034A480 003473E0 38 78 00 10 */ addi r3, r24, 0x10 +/* 8034A484 003473E4 38 81 00 30 */ addi r4, r1, 0x30 +/* 8034A488 003473E8 4B FF 38 D5 */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8034A48C 003473EC 38 61 00 30 */ addi r3, r1, 0x30 +/* 8034A490 003473F0 4B FF 36 51 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8034A494 003473F4 38 61 00 20 */ addi r3, r1, 0x20 +/* 8034A498 003473F8 38 81 00 40 */ addi r4, r1, 0x40 +/* 8034A49C 003473FC 38 A1 00 08 */ addi r5, r1, 8 +/* 8034A4A0 00347400 4B FF 3E 59 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 8034A4A4 00347404 38 78 00 20 */ addi r3, r24, 0x20 +/* 8034A4A8 00347408 38 81 00 20 */ addi r4, r1, 0x20 +/* 8034A4AC 0034740C 4B FF 38 B1 */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8034A4B0 00347410 38 61 00 20 */ addi r3, r1, 0x20 +/* 8034A4B4 00347414 4B FF 36 2D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8034A4B8 00347418 38 61 00 40 */ addi r3, r1, 0x40 +/* 8034A4BC 0034741C 4B FF 47 C9 */ bl ReadLong__12CInputStreamFv +/* 8034A4C0 00347420 3C 80 80 3F */ lis r4, __vt__15CMemoryInStream@ha +/* 8034A4C4 00347424 7C 7F 1B 78 */ mr r31, r3 +/* 8034A4C8 00347428 38 04 E3 98 */ addi r0, r4, __vt__15CMemoryInStream@l +/* 8034A4CC 0034742C 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 8034A4D0 00347430 90 01 00 40 */ stw r0, 0x40(r1) +/* 8034A4D4 00347434 38 61 00 40 */ addi r3, r1, 0x40 +/* 8034A4D8 00347438 38 80 00 00 */ li r4, 0 +/* 8034A4DC 0034743C 4B FF 4B D1 */ bl __dt__12CInputStreamFv +/* 8034A4E0 00347440 48 00 03 35 */ bl sub_8034a814 +/* 8034A4E4 00347444 80 7A 00 04 */ lwz r3, 4(r26) +/* 8034A4E8 00347448 7F 9E FA 14 */ add r28, r30, r31 +/* 8034A4EC 0034744C 7F A3 E0 2E */ lwzx r29, r3, r28 +/* 8034A4F0 00347450 48 00 03 25 */ bl sub_8034a814 +/* 8034A4F4 00347454 7F 7C EA 14 */ add r27, r28, r29 +/* 8034A4F8 00347458 80 7A 00 04 */ lwz r3, 4(r26) +/* 8034A4FC 0034745C 3B 7B 00 04 */ addi r27, r27, 4 +/* 8034A500 00347460 7E E3 D8 2E */ lwzx r23, r3, r27 +/* 8034A504 00347464 48 00 03 11 */ bl sub_8034a814 +/* 8034A508 00347468 92 F8 00 30 */ stw r23, 0x30(r24) +/* 8034A50C 0034746C 7F 3B BA 14 */ add r25, r27, r23 +/* 8034A510 00347470 3B 39 00 04 */ addi r25, r25, 4 +/* 8034A514 00347474 80 7A 00 04 */ lwz r3, 4(r26) +/* 8034A518 00347478 7F 43 C8 2E */ lwzx r26, r3, r25 +/* 8034A51C 0034747C 48 00 02 F9 */ bl sub_8034a814 +/* 8034A520 00347480 3C 60 80 3E */ lis r3, lbl_803D8108@ha +/* 8034A524 00347484 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha +/* 8034A528 00347488 38 A3 81 08 */ addi r5, r3, lbl_803D8108@l +/* 8034A52C 0034748C 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l +/* 8034A530 00347490 38 61 00 18 */ addi r3, r1, 0x18 +/* 8034A534 00347494 38 80 FF FF */ li r4, -1 +/* 8034A538 00347498 4B F8 BE 9D */ bl __ct__10CCallStackFUiPCcPCc +/* 8034A53C 0034749C 7C 9D D2 14 */ add r4, r29, r26 +/* 8034A540 003474A0 7C 67 1B 78 */ mr r7, r3 +/* 8034A544 003474A4 38 64 00 08 */ addi r3, r4, 8 +/* 8034A548 003474A8 38 A0 00 01 */ li r5, 1 +/* 8034A54C 003474AC 38 80 00 02 */ li r4, 2 +/* 8034A550 003474B0 38 C0 00 00 */ li r6, 0 +/* 8034A554 003474B4 7C 7F 1A 14 */ add r3, r31, r3 +/* 8034A558 003474B8 4B FC B4 3D */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 8034A55C 003474BC 7C 83 00 D0 */ neg r4, r3 +/* 8034A560 003474C0 38 01 00 10 */ addi r0, r1, 0x10 +/* 8034A564 003474C4 7C 84 1B 78 */ or r4, r4, r3 +/* 8034A568 003474C8 38 B8 00 08 */ addi r5, r24, 8 +/* 8034A56C 003474CC 54 84 0F FE */ srwi r4, r4, 0x1f +/* 8034A570 003474D0 90 61 00 14 */ stw r3, 0x14(r1) +/* 8034A574 003474D4 7C 00 28 40 */ cmplw r0, r5 +/* 8034A578 003474D8 98 81 00 10 */ stb r4, 0x10(r1) +/* 8034A57C 003474DC 41 82 00 30 */ beq lbl_8034A5AC +/* 8034A580 003474E0 88 05 00 00 */ lbz r0, 0(r5) +/* 8034A584 003474E4 28 00 00 00 */ cmplwi r0, 0 +/* 8034A588 003474E8 41 82 00 0C */ beq lbl_8034A594 +/* 8034A58C 003474EC 80 78 00 0C */ lwz r3, 0xc(r24) +/* 8034A590 003474F0 4B FC B3 A1 */ bl Free__7CMemoryFPCv +lbl_8034A594: +/* 8034A594 003474F4 88 61 00 10 */ lbz r3, 0x10(r1) +/* 8034A598 003474F8 38 00 00 00 */ li r0, 0 +/* 8034A59C 003474FC 98 78 00 08 */ stb r3, 8(r24) +/* 8034A5A0 00347500 80 61 00 14 */ lwz r3, 0x14(r1) +/* 8034A5A4 00347504 90 78 00 0C */ stw r3, 0xc(r24) +/* 8034A5A8 00347508 98 01 00 10 */ stb r0, 0x10(r1) +lbl_8034A5AC: +/* 8034A5AC 0034750C 88 01 00 10 */ lbz r0, 0x10(r1) +/* 8034A5B0 00347510 28 00 00 00 */ cmplwi r0, 0 +/* 8034A5B4 00347514 41 82 00 0C */ beq lbl_8034A5C0 +/* 8034A5B8 00347518 80 61 00 14 */ lwz r3, 0x14(r1) +/* 8034A5BC 0034751C 4B FC B3 75 */ bl Free__7CMemoryFPCv +lbl_8034A5C0: +/* 8034A5C0 00347520 82 F8 00 04 */ lwz r23, 4(r24) +/* 8034A5C4 00347524 7F E5 FB 78 */ mr r5, r31 +/* 8034A5C8 00347528 80 18 00 0C */ lwz r0, 0xc(r24) +/* 8034A5CC 0034752C 7C 97 F2 14 */ add r4, r23, r30 +/* 8034A5D0 00347530 90 18 00 34 */ stw r0, 0x34(r24) +/* 8034A5D4 00347534 80 78 00 34 */ lwz r3, 0x34(r24) +/* 8034A5D8 00347538 4B CB 8E B9 */ bl memcpy +/* 8034A5DC 0034753C 38 7F 00 03 */ addi r3, r31, 3 +/* 8034A5E0 00347540 80 18 00 0C */ lwz r0, 0xc(r24) +/* 8034A5E4 00347544 54 7E 00 3A */ rlwinm r30, r3, 0, 0, 0x1d +/* 8034A5E8 00347548 7C 9C BA 14 */ add r4, r28, r23 +/* 8034A5EC 0034754C 7C 00 F2 14 */ add r0, r0, r30 +/* 8034A5F0 00347550 7F A5 EB 78 */ mr r5, r29 +/* 8034A5F4 00347554 90 18 00 38 */ stw r0, 0x38(r24) +/* 8034A5F8 00347558 38 84 00 04 */ addi r4, r4, 4 +/* 8034A5FC 0034755C 80 78 00 38 */ lwz r3, 0x38(r24) +/* 8034A600 00347560 4B CB 8E 91 */ bl memcpy +/* 8034A604 00347564 38 1D 00 03 */ addi r0, r29, 3 +/* 8034A608 00347568 7C 99 BA 14 */ add r4, r25, r23 +/* 8034A60C 0034756C 54 03 00 3A */ rlwinm r3, r0, 0, 0, 0x1d +/* 8034A610 00347570 80 18 00 0C */ lwz r0, 0xc(r24) +/* 8034A614 00347574 7C 7E 1A 14 */ add r3, r30, r3 +/* 8034A618 00347578 7F 45 D3 78 */ mr r5, r26 +/* 8034A61C 0034757C 7C 00 1A 14 */ add r0, r0, r3 +/* 8034A620 00347580 38 84 00 04 */ addi r4, r4, 4 +/* 8034A624 00347584 90 18 00 3C */ stw r0, 0x3c(r24) +/* 8034A628 00347588 80 78 00 3C */ lwz r3, 0x3c(r24) +/* 8034A62C 0034758C 4B CB 8E 65 */ bl memcpy +/* 8034A630 00347590 7C 9B BA 14 */ add r4, r27, r23 +/* 8034A634 00347594 7F 03 C3 78 */ mr r3, r24 +/* 8034A638 00347598 38 04 00 04 */ addi r0, r4, 4 +/* 8034A63C 0034759C 90 18 00 40 */ stw r0, 0x40(r24) +/* 8034A640 003475A0 BA E1 00 6C */ lmw r23, 0x6c(r1) +/* 8034A644 003475A4 80 01 00 94 */ lwz r0, 0x94(r1) +/* 8034A648 003475A8 7C 08 03 A6 */ mtlr r0 +/* 8034A64C 003475AC 38 21 00 90 */ addi r1, r1, 0x90 +/* 8034A650 003475B0 4E 80 00 20 */ blr + +.global FreeSampleBuffer__14CAudioGroupSetFv +FreeSampleBuffer__14CAudioGroupSetFv: +/* 8034A654 003475B4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034A658 003475B8 7C 08 02 A6 */ mflr r0 +/* 8034A65C 003475BC 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034A660 003475C0 80 63 00 28 */ lwz r3, 0x28(r3) +/* 8034A664 003475C4 4B FF FD 09 */ bl sub_8034a36c +/* 8034A668 003475C8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034A66C 003475CC 7C 08 03 A6 */ mtlr r0 +/* 8034A670 003475D0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034A674 003475D4 4E 80 00 20 */ blr + +.global Reload__14CAudioGroupSetFv +Reload__14CAudioGroupSetFv: +/* 8034A678 003475D8 4E 80 00 20 */ blr + +.global __dt__14CAudioGroupSetFv +__dt__14CAudioGroupSetFv: +/* 8034A67C 003475DC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034A680 003475E0 7C 08 02 A6 */ mflr r0 +/* 8034A684 003475E4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034A688 003475E8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034A68C 003475EC 7C 9F 23 78 */ mr r31, r4 +/* 8034A690 003475F0 93 C1 00 08 */ stw r30, 8(r1) +/* 8034A694 003475F4 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8034A698 003475F8 41 82 00 68 */ beq lbl_8034A700 +/* 8034A69C 003475FC 34 1E 00 20 */ addic. r0, r30, 0x20 +/* 8034A6A0 00347600 41 82 00 30 */ beq lbl_8034A6D0 +/* 8034A6A4 00347604 88 1E 00 2C */ lbz r0, 0x2c(r30) +/* 8034A6A8 00347608 28 00 00 00 */ cmplwi r0, 0 +/* 8034A6AC 0034760C 41 82 00 1C */ beq lbl_8034A6C8 +/* 8034A6B0 00347610 34 7E 00 20 */ addic. r3, r30, 0x20 +/* 8034A6B4 00347614 41 82 00 14 */ beq lbl_8034A6C8 +/* 8034A6B8 00347618 28 03 00 00 */ cmplwi r3, 0 +/* 8034A6BC 0034761C 41 82 00 0C */ beq lbl_8034A6C8 +/* 8034A6C0 00347620 38 80 00 00 */ li r4, 0 +/* 8034A6C4 00347624 4B FF 67 7D */ bl __dt__6CTokenFv +lbl_8034A6C8: +/* 8034A6C8 00347628 38 00 00 00 */ li r0, 0 +/* 8034A6CC 0034762C 98 1E 00 2C */ stb r0, 0x2c(r30) +lbl_8034A6D0: +/* 8034A6D0 00347630 34 1E 00 10 */ addic. r0, r30, 0x10 +/* 8034A6D4 00347634 41 82 00 0C */ beq lbl_8034A6E0 +/* 8034A6D8 00347638 38 7E 00 10 */ addi r3, r30, 0x10 +/* 8034A6DC 0034763C 4B FF 34 05 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8034A6E0: +/* 8034A6E0 00347640 28 1E 00 00 */ cmplwi r30, 0 +/* 8034A6E4 00347644 41 82 00 0C */ beq lbl_8034A6F0 +/* 8034A6E8 00347648 7F C3 F3 78 */ mr r3, r30 +/* 8034A6EC 0034764C 4B FF 33 F5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8034A6F0: +/* 8034A6F0 00347650 7F E0 07 35 */ extsh. r0, r31 +/* 8034A6F4 00347654 40 81 00 0C */ ble lbl_8034A700 +/* 8034A6F8 00347658 7F C3 F3 78 */ mr r3, r30 +/* 8034A6FC 0034765C 4B FC B2 35 */ bl Free__7CMemoryFPCv +lbl_8034A700: +/* 8034A700 00347660 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034A704 00347664 7F C3 F3 78 */ mr r3, r30 +/* 8034A708 00347668 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034A70C 0034766C 83 C1 00 08 */ lwz r30, 8(r1) +/* 8034A710 00347670 7C 08 03 A6 */ mtlr r0 +/* 8034A714 00347674 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034A718 00347678 4E 80 00 20 */ blr + +.global "__ct__14CAudioGroupSetFRC31TLockedToken<15CAudioGrpSetLoc>" +"__ct__14CAudioGroupSetFRC31TLockedToken<15CAudioGrpSetLoc>": +/* 8034A71C 0034767C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8034A720 00347680 7C 08 02 A6 */ mflr r0 +/* 8034A724 00347684 90 01 00 24 */ stw r0, 0x24(r1) +/* 8034A728 00347688 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8034A72C 0034768C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8034A730 00347690 7C 9E 23 78 */ mr r30, r4 +/* 8034A734 00347694 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8034A738 00347698 7C 7D 1B 78 */ mr r29, r3 +/* 8034A73C 0034769C 80 84 00 08 */ lwz r4, 8(r4) +/* 8034A740 003476A0 38 84 00 10 */ addi r4, r4, 0x10 +/* 8034A744 003476A4 4B FF 3A 1D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8034A748 003476A8 80 9E 00 08 */ lwz r4, 8(r30) +/* 8034A74C 003476AC 38 7D 00 10 */ addi r3, r29, 0x10 +/* 8034A750 003476B0 38 84 00 20 */ addi r4, r4, 0x20 +/* 8034A754 003476B4 4B FF 3A 0D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8034A758 003476B8 38 00 00 01 */ li r0, 1 +/* 8034A75C 003476BC 37 FD 00 20 */ addic. r31, r29, 0x20 +/* 8034A760 003476C0 98 1D 00 2C */ stb r0, 0x2c(r29) +/* 8034A764 003476C4 41 82 00 20 */ beq lbl_8034A784 +/* 8034A768 003476C8 7F E3 FB 78 */ mr r3, r31 +/* 8034A76C 003476CC 7F C4 F3 78 */ mr r4, r30 +/* 8034A770 003476D0 4B FF 67 39 */ bl __ct__6CTokenFRC6CToken +/* 8034A774 003476D4 80 1E 00 08 */ lwz r0, 8(r30) +/* 8034A778 003476D8 7F E3 FB 78 */ mr r3, r31 +/* 8034A77C 003476DC 90 1F 00 08 */ stw r0, 8(r31) +/* 8034A780 003476E0 4B FF 66 05 */ bl Lock__6CTokenFv +lbl_8034A784: +/* 8034A784 003476E4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8034A788 003476E8 7F A3 EB 78 */ mr r3, r29 +/* 8034A78C 003476EC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8034A790 003476F0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8034A794 003476F4 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8034A798 003476F8 7C 08 03 A6 */ mtlr r0 +/* 8034A79C 003476FC 38 21 00 20 */ addi r1, r1, 0x20 +/* 8034A7A0 00347700 4E 80 00 20 */ blr diff --git a/asm/Kyoto/Audio/DolphinCAudioSys.s b/asm/Kyoto/Audio/DolphinCAudioSys.s new file mode 100644 index 00000000..db9bbacf --- /dev/null +++ b/asm/Kyoto/Audio/DolphinCAudioSys.s @@ -0,0 +1,3341 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global sub_8034a7a4 +sub_8034a7a4: +/* 8034A7A4 00347704 88 6D 9D DE */ lbz r3, lbl_805A899E@sda21(r13) +/* 8034A7A8 00347708 4E 80 00 20 */ blr + +.global sub_8034a7ac +sub_8034a7ac: +/* 8034A7AC 0034770C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034A7B0 00347710 7C 08 02 A6 */ mflr r0 +/* 8034A7B4 00347714 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034A7B8 00347718 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 8034A7BC 0034771C 88 8D 9D DE */ lbz r4, lbl_805A899E@sda21(r13) +/* 8034A7C0 00347720 7C 04 00 40 */ cmplw r4, r0 +/* 8034A7C4 00347724 41 82 00 28 */ beq lbl_8034A7EC +/* 8034A7C8 00347728 28 00 00 00 */ cmplwi r0, 0 +/* 8034A7CC 0034772C 98 6D 9D DE */ stb r3, lbl_805A899E@sda21(r13) +/* 8034A7D0 00347730 41 82 00 10 */ beq lbl_8034A7E0 +/* 8034A7D4 00347734 80 6D A9 F8 */ lwz r3, lbl_805A95B8@sda21(r13) +/* 8034A7D8 00347738 48 02 27 65 */ bl AIRegisterDMACallback +/* 8034A7DC 0034773C 48 00 00 10 */ b lbl_8034A7EC +lbl_8034A7E0: +/* 8034A7E0 00347740 38 60 00 00 */ li r3, 0 +/* 8034A7E4 00347744 48 02 27 59 */ bl AIRegisterDMACallback +/* 8034A7E8 00347748 90 6D A9 F8 */ stw r3, lbl_805A95B8@sda21(r13) +lbl_8034A7EC: +/* 8034A7EC 0034774C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034A7F0 00347750 7C 08 03 A6 */ mtlr r0 +/* 8034A7F4 00347754 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034A7F8 00347758 4E 80 00 20 */ blr + +.global GetDefaultVolumeScale__9CAudioSysFv +GetDefaultVolumeScale__9CAudioSysFv: +/* 8034A7FC 0034775C A8 6D 9D DC */ lha r3, lbl_805A899C@sda21(r13) +/* 8034A800 00347760 4E 80 00 20 */ blr + +.global SetDefaultVolumeScale__9CAudioSysFs +SetDefaultVolumeScale__9CAudioSysFs: +/* 8034A804 00347764 B0 6D 9D DC */ sth r3, lbl_805A899C@sda21(r13) +/* 8034A808 00347768 4E 80 00 20 */ blr + +.global SetVolumeScale__9CAudioSysFs +SetVolumeScale__9CAudioSysFs: +/* 8034A80C 0034776C B0 6D 9D DA */ sth r3, lbl_805A899A@sda21(r13) +/* 8034A810 00347770 4E 80 00 20 */ blr + +.global sub_8034a814 +sub_8034a814: +/* 8034A814 00347774 88 6D A9 D2 */ lbz r3, lbl_805A9592@sda21(r13) +/* 8034A818 00347778 4E 80 00 20 */ blr + +.global SetSurroundMode__9CAudioSysFQ29CAudioSys14ESurroundModes +SetSurroundMode__9CAudioSysFQ29CAudioSys14ESurroundModes: +/* 8034A81C 0034777C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034A820 00347780 7C 08 02 A6 */ mflr r0 +/* 8034A824 00347784 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034A828 00347788 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034A82C 0034778C 7C 7F 1B 78 */ mr r31, r3 +/* 8034A830 00347790 2C 1F 00 01 */ cmpwi r31, 1 +/* 8034A834 00347794 41 82 00 2C */ beq lbl_8034A860 +/* 8034A838 00347798 40 80 00 10 */ bge lbl_8034A848 +/* 8034A83C 0034779C 2C 1F 00 00 */ cmpwi r31, 0 +/* 8034A840 003477A0 40 80 00 14 */ bge lbl_8034A854 +/* 8034A844 003477A4 48 00 00 38 */ b lbl_8034A87C +lbl_8034A848: +/* 8034A848 003477A8 2C 1F 00 03 */ cmpwi r31, 3 +/* 8034A84C 003477AC 40 80 00 30 */ bge lbl_8034A87C +/* 8034A850 003477B0 48 00 00 1C */ b lbl_8034A86C +lbl_8034A854: +/* 8034A854 003477B4 38 60 00 00 */ li r3, 0 +/* 8034A858 003477B8 48 00 00 3D */ bl SetStereoMode__9CAudioSysFb +/* 8034A85C 003477BC 48 00 00 20 */ b lbl_8034A87C +lbl_8034A860: +/* 8034A860 003477C0 38 60 00 01 */ li r3, 1 +/* 8034A864 003477C4 48 00 00 31 */ bl SetStereoMode__9CAudioSysFb +/* 8034A868 003477C8 48 00 00 14 */ b lbl_8034A87C +lbl_8034A86C: +/* 8034A86C 003477CC 38 60 00 01 */ li r3, 1 +/* 8034A870 003477D0 48 00 00 25 */ bl SetStereoMode__9CAudioSysFb +/* 8034A874 003477D4 38 60 00 02 */ li r3, 2 +/* 8034A878 003477D8 48 05 1B D1 */ bl sndOutputMode +lbl_8034A87C: +/* 8034A87C 003477DC 93 ED A9 EC */ stw r31, lbl_805A95AC@sda21(r13) +/* 8034A880 003477E0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034A884 003477E4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034A888 003477E8 7C 08 03 A6 */ mtlr r0 +/* 8034A88C 003477EC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034A890 003477F0 4E 80 00 20 */ blr + +.global SetStereoMode__9CAudioSysFb +SetStereoMode__9CAudioSysFb: +/* 8034A894 003477F4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034A898 003477F8 7C 08 02 A6 */ mflr r0 +/* 8034A89C 003477FC 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034A8A0 00347800 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8034A8A4 00347804 41 82 00 18 */ beq lbl_8034A8BC +/* 8034A8A8 00347808 38 60 00 01 */ li r3, 1 +/* 8034A8AC 0034780C 48 05 1B 9D */ bl sndOutputMode +/* 8034A8B0 00347810 38 60 00 01 */ li r3, 1 +/* 8034A8B4 00347814 48 03 97 DD */ bl OSSetSoundMode +/* 8034A8B8 00347818 48 00 00 14 */ b lbl_8034A8CC +lbl_8034A8BC: +/* 8034A8BC 0034781C 38 60 00 00 */ li r3, 0 +/* 8034A8C0 00347820 48 05 1B 89 */ bl sndOutputMode +/* 8034A8C4 00347824 38 60 00 00 */ li r3, 0 +/* 8034A8C8 00347828 48 03 97 C9 */ bl OSSetSoundMode +lbl_8034A8CC: +/* 8034A8CC 0034782C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034A8D0 00347830 7C 08 03 A6 */ mtlr r0 +/* 8034A8D4 00347834 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034A8D8 00347838 4E 80 00 20 */ blr + +.global SeqVolume__9CAudioSysFUcUsUlUc +SeqVolume__9CAudioSysFUcUsUlUc: +/* 8034A8DC 0034783C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034A8E0 00347840 7C 08 02 A6 */ mflr r0 +/* 8034A8E4 00347844 54 63 06 3E */ clrlwi r3, r3, 0x18 +/* 8034A8E8 00347848 54 84 04 3E */ clrlwi r4, r4, 0x10 +/* 8034A8EC 0034784C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034A8F0 00347850 54 C6 06 3E */ clrlwi r6, r6, 0x18 +/* 8034A8F4 00347854 48 05 18 19 */ bl sndSeqVolume +/* 8034A8F8 00347858 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034A8FC 0034785C 7C 08 03 A6 */ mtlr r0 +/* 8034A900 00347860 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034A904 00347864 4E 80 00 20 */ blr + +.global SeqStop__9CAudioSysFUl +SeqStop__9CAudioSysFUl: +/* 8034A908 00347868 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034A90C 0034786C 7C 08 02 A6 */ mflr r0 +/* 8034A910 00347870 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034A914 00347874 48 05 16 E9 */ bl sndSeqStop +/* 8034A918 00347878 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034A91C 0034787C 7C 08 03 A6 */ mtlr r0 +/* 8034A920 00347880 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034A924 00347884 4E 80 00 20 */ blr + +.global SeqPlayEx__9CAudioSysFUsUsPvP12SND_PLAYPARAUc +SeqPlayEx__9CAudioSysFUsUsPvP12SND_PLAYPARAUc: +/* 8034A928 00347888 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034A92C 0034788C 7C 08 02 A6 */ mflr r0 +/* 8034A930 00347890 54 63 04 3E */ clrlwi r3, r3, 0x10 +/* 8034A934 00347894 54 84 04 3E */ clrlwi r4, r4, 0x10 +/* 8034A938 00347898 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034A93C 0034789C 54 E7 06 3E */ clrlwi r7, r7, 0x18 +/* 8034A940 003478A0 48 06 02 A1 */ bl sndSeqPlayEx +/* 8034A944 003478A4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034A948 003478A8 7C 08 03 A6 */ mtlr r0 +/* 8034A94C 003478AC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034A950 003478B0 4E 80 00 20 */ blr + +.global S3dFindLowerPriorityHandle__9CAudioSysFUi +S3dFindLowerPriorityHandle__9CAudioSysFUi: +/* 8034A954 003478B4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034A958 003478B8 7C 08 02 A6 */ mflr r0 +/* 8034A95C 003478BC 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034A960 003478C0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034A964 003478C4 93 C1 00 08 */ stw r30, 8(r1) +/* 8034A968 003478C8 3B C0 00 00 */ li r30, 0 +/* 8034A96C 003478CC 80 8D A9 E0 */ lwz r4, lbl_805A95A0@sda21(r13) +/* 8034A970 003478D0 8B ED A9 D3 */ lbz r31, lbl_805A9593@sda21(r13) +/* 8034A974 003478D4 80 84 00 0C */ lwz r4, 0xc(r4) +lbl_8034A978: +/* 8034A978 003478D8 88 04 00 50 */ lbz r0, 0x50(r4) +/* 8034A97C 003478DC 28 00 00 00 */ cmplwi r0, 0 +/* 8034A980 003478E0 41 82 00 38 */ beq lbl_8034A9B8 +/* 8034A984 003478E4 88 04 00 52 */ lbz r0, 0x52(r4) +/* 8034A988 003478E8 7C 00 18 40 */ cmplw r0, r3 +/* 8034A98C 003478EC 41 81 00 1C */ bgt lbl_8034A9A8 +/* 8034A990 003478F0 88 04 00 51 */ lbz r0, 0x51(r4) +/* 8034A994 003478F4 28 00 00 00 */ cmplwi r0, 0 +/* 8034A998 003478F8 40 82 00 10 */ bne lbl_8034A9A8 +/* 8034A99C 003478FC 7F C3 F3 78 */ mr r3, r30 +/* 8034A9A0 00347900 48 00 02 39 */ bl S3dRemoveEmitter__9CAudioSysFUi +/* 8034A9A4 00347904 48 00 00 14 */ b lbl_8034A9B8 +lbl_8034A9A8: +/* 8034A9A8 00347908 3B DE 00 01 */ addi r30, r30, 1 +/* 8034A9AC 0034790C 38 84 00 54 */ addi r4, r4, 0x54 +/* 8034A9B0 00347910 7C 1E F8 00 */ cmpw r30, r31 +/* 8034A9B4 00347914 41 80 FF C4 */ blt lbl_8034A978 +lbl_8034A9B8: +/* 8034A9B8 00347918 7C 1E F8 00 */ cmpw r30, r31 +/* 8034A9BC 0034791C 38 60 FF FF */ li r3, -1 +/* 8034A9C0 00347920 40 80 00 08 */ bge lbl_8034A9C8 +/* 8034A9C4 00347924 7F C3 F3 78 */ mr r3, r30 +lbl_8034A9C8: +/* 8034A9C8 00347928 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034A9CC 0034792C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034A9D0 00347930 83 C1 00 08 */ lwz r30, 8(r1) +/* 8034A9D4 00347934 7C 08 03 A6 */ mtlr r0 +/* 8034A9D8 00347938 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034A9DC 0034793C 4E 80 00 20 */ blr + +.global S3dFindUnusedHandle__9CAudioSysFv +S3dFindUnusedHandle__9CAudioSysFv: +/* 8034A9E0 00347940 80 8D A9 E0 */ lwz r4, lbl_805A95A0@sda21(r13) +/* 8034A9E4 00347944 38 60 00 00 */ li r3, 0 +/* 8034A9E8 00347948 88 AD A9 D3 */ lbz r5, lbl_805A9593@sda21(r13) +/* 8034A9EC 0034794C 80 84 00 0C */ lwz r4, 0xc(r4) +lbl_8034A9F0: +/* 8034A9F0 00347950 88 04 00 50 */ lbz r0, 0x50(r4) +/* 8034A9F4 00347954 28 00 00 00 */ cmplwi r0, 0 +/* 8034A9F8 00347958 41 82 00 14 */ beq lbl_8034AA0C +/* 8034A9FC 0034795C 38 63 00 01 */ addi r3, r3, 1 +/* 8034AA00 00347960 38 84 00 54 */ addi r4, r4, 0x54 +/* 8034AA04 00347964 7C 03 28 00 */ cmpw r3, r5 +/* 8034AA08 00347968 41 80 FF E8 */ blt lbl_8034A9F0 +lbl_8034AA0C: +/* 8034AA0C 0034796C 7C 03 28 00 */ cmpw r3, r5 +/* 8034AA10 00347970 4D 80 00 20 */ bltlr +/* 8034AA14 00347974 38 60 FF FF */ li r3, -1 +/* 8034AA18 00347978 4E 80 00 20 */ blr + +.global S3dEmitterVoiceID__9CAudioSysFUi +S3dEmitterVoiceID__9CAudioSysFUi: +/* 8034AA1C 0034797C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034AA20 00347980 7C 08 02 A6 */ mflr r0 +/* 8034AA24 00347984 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034AA28 00347988 3C 03 00 01 */ addis r0, r3, 1 +/* 8034AA2C 0034798C 28 00 FF FF */ cmplwi r0, 0xffff +/* 8034AA30 00347990 40 82 00 0C */ bne lbl_8034AA3C +/* 8034AA34 00347994 38 60 00 00 */ li r3, 0 +/* 8034AA38 00347998 48 00 00 2C */ b lbl_8034AA64 +lbl_8034AA3C: +/* 8034AA3C 0034799C 80 8D A9 E0 */ lwz r4, lbl_805A95A0@sda21(r13) +/* 8034AA40 003479A0 1C 03 00 54 */ mulli r0, r3, 0x54 +/* 8034AA44 003479A4 80 64 00 0C */ lwz r3, 0xc(r4) +/* 8034AA48 003479A8 7C 63 02 14 */ add r3, r3, r0 +/* 8034AA4C 003479AC 88 03 00 50 */ lbz r0, 0x50(r3) +/* 8034AA50 003479B0 28 00 00 00 */ cmplwi r0, 0 +/* 8034AA54 003479B4 41 82 00 0C */ beq lbl_8034AA60 +/* 8034AA58 003479B8 48 06 4D B9 */ bl sndEmitterVoiceID +/* 8034AA5C 003479BC 48 00 00 08 */ b lbl_8034AA64 +lbl_8034AA60: +/* 8034AA60 003479C0 38 60 FF FF */ li r3, -1 +lbl_8034AA64: +/* 8034AA64 003479C4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034AA68 003479C8 7C 08 03 A6 */ mtlr r0 +/* 8034AA6C 003479CC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034AA70 003479D0 4E 80 00 20 */ blr + +.global S3dCheckEmitter__9CAudioSysFUi +S3dCheckEmitter__9CAudioSysFUi: +/* 8034AA74 003479D4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034AA78 003479D8 7C 08 02 A6 */ mflr r0 +/* 8034AA7C 003479DC 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034AA80 003479E0 3C 03 00 01 */ addis r0, r3, 1 +/* 8034AA84 003479E4 28 00 FF FF */ cmplwi r0, 0xffff +/* 8034AA88 003479E8 40 82 00 0C */ bne lbl_8034AA94 +/* 8034AA8C 003479EC 38 60 00 00 */ li r3, 0 +/* 8034AA90 003479F0 48 00 00 2C */ b lbl_8034AABC +lbl_8034AA94: +/* 8034AA94 003479F4 80 8D A9 E0 */ lwz r4, lbl_805A95A0@sda21(r13) +/* 8034AA98 003479F8 1C 03 00 54 */ mulli r0, r3, 0x54 +/* 8034AA9C 003479FC 80 64 00 0C */ lwz r3, 0xc(r4) +/* 8034AAA0 00347A00 7C 63 02 14 */ add r3, r3, r0 +/* 8034AAA4 00347A04 88 03 00 50 */ lbz r0, 0x50(r3) +/* 8034AAA8 00347A08 28 00 00 00 */ cmplwi r0, 0 +/* 8034AAAC 00347A0C 41 82 00 0C */ beq lbl_8034AAB8 +/* 8034AAB0 00347A10 48 06 48 51 */ bl sndCheckEmitter +/* 8034AAB4 00347A14 48 00 00 08 */ b lbl_8034AABC +lbl_8034AAB8: +/* 8034AAB8 00347A18 38 60 00 00 */ li r3, 0 +lbl_8034AABC: +/* 8034AABC 00347A1C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034AAC0 00347A20 7C 08 03 A6 */ mtlr r0 +/* 8034AAC4 00347A24 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034AAC8 00347A28 4E 80 00 20 */ blr + +.global S3dFlushUnusedEmitters__9CAudioSysFv +S3dFlushUnusedEmitters__9CAudioSysFv: +/* 8034AACC 00347A2C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034AAD0 00347A30 7C 08 02 A6 */ mflr r0 +/* 8034AAD4 00347A34 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034AAD8 00347A38 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034AADC 00347A3C 3B E0 00 00 */ li r31, 0 +/* 8034AAE0 00347A40 93 C1 00 08 */ stw r30, 8(r1) +/* 8034AAE4 00347A44 80 6D A9 E0 */ lwz r3, lbl_805A95A0@sda21(r13) +/* 8034AAE8 00347A48 83 C3 00 0C */ lwz r30, 0xc(r3) +/* 8034AAEC 00347A4C 48 00 00 3C */ b lbl_8034AB28 +lbl_8034AAF0: +/* 8034AAF0 00347A50 88 1E 00 50 */ lbz r0, 0x50(r30) +/* 8034AAF4 00347A54 28 00 00 00 */ cmplwi r0, 0 +/* 8034AAF8 00347A58 41 82 00 2C */ beq lbl_8034AB24 +/* 8034AAFC 00347A5C 7F C3 F3 78 */ mr r3, r30 +/* 8034AB00 00347A60 48 06 48 01 */ bl sndCheckEmitter +/* 8034AB04 00347A64 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8034AB08 00347A68 40 82 00 1C */ bne lbl_8034AB24 +/* 8034AB0C 00347A6C 88 1E 00 51 */ lbz r0, 0x51(r30) +/* 8034AB10 00347A70 28 00 00 00 */ cmplwi r0, 0 +/* 8034AB14 00347A74 40 82 00 10 */ bne lbl_8034AB24 +/* 8034AB18 00347A78 9B FE 00 50 */ stb r31, 0x50(r30) +/* 8034AB1C 00347A7C 7F C3 F3 78 */ mr r3, r30 +/* 8034AB20 00347A80 48 06 4C 49 */ bl sndRemoveEmitter +lbl_8034AB24: +/* 8034AB24 00347A84 3B DE 00 54 */ addi r30, r30, 0x54 +lbl_8034AB28: +/* 8034AB28 00347A88 80 6D A9 E0 */ lwz r3, lbl_805A95A0@sda21(r13) +/* 8034AB2C 00347A8C 80 03 00 04 */ lwz r0, 4(r3) +/* 8034AB30 00347A90 80 63 00 0C */ lwz r3, 0xc(r3) +/* 8034AB34 00347A94 1C 00 00 54 */ mulli r0, r0, 0x54 +/* 8034AB38 00347A98 7C 03 02 14 */ add r0, r3, r0 +/* 8034AB3C 00347A9C 7C 1E 00 40 */ cmplw r30, r0 +/* 8034AB40 00347AA0 40 82 FF B0 */ bne lbl_8034AAF0 +/* 8034AB44 00347AA4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034AB48 00347AA8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034AB4C 00347AAC 83 C1 00 08 */ lwz r30, 8(r1) +/* 8034AB50 00347AB0 7C 08 03 A6 */ mtlr r0 +/* 8034AB54 00347AB4 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034AB58 00347AB8 4E 80 00 20 */ blr + +.global S3dFlushAllEmitters__9CAudioSysFv +S3dFlushAllEmitters__9CAudioSysFv: +/* 8034AB5C 00347ABC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034AB60 00347AC0 7C 08 02 A6 */ mflr r0 +/* 8034AB64 00347AC4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034AB68 00347AC8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034AB6C 00347ACC 3B E0 00 00 */ li r31, 0 +/* 8034AB70 00347AD0 93 C1 00 08 */ stw r30, 8(r1) +/* 8034AB74 00347AD4 80 6D A9 E0 */ lwz r3, lbl_805A95A0@sda21(r13) +/* 8034AB78 00347AD8 83 C3 00 0C */ lwz r30, 0xc(r3) +/* 8034AB7C 00347ADC 48 00 00 20 */ b lbl_8034AB9C +lbl_8034AB80: +/* 8034AB80 00347AE0 88 1E 00 50 */ lbz r0, 0x50(r30) +/* 8034AB84 00347AE4 28 00 00 00 */ cmplwi r0, 0 +/* 8034AB88 00347AE8 41 82 00 10 */ beq lbl_8034AB98 +/* 8034AB8C 00347AEC 9B FE 00 50 */ stb r31, 0x50(r30) +/* 8034AB90 00347AF0 7F C3 F3 78 */ mr r3, r30 +/* 8034AB94 00347AF4 48 06 4B D5 */ bl sndRemoveEmitter +lbl_8034AB98: +/* 8034AB98 00347AF8 3B DE 00 54 */ addi r30, r30, 0x54 +lbl_8034AB9C: +/* 8034AB9C 00347AFC 80 6D A9 E0 */ lwz r3, lbl_805A95A0@sda21(r13) +/* 8034ABA0 00347B00 80 03 00 04 */ lwz r0, 4(r3) +/* 8034ABA4 00347B04 80 63 00 0C */ lwz r3, 0xc(r3) +/* 8034ABA8 00347B08 1C 00 00 54 */ mulli r0, r0, 0x54 +/* 8034ABAC 00347B0C 7C 03 02 14 */ add r0, r3, r0 +/* 8034ABB0 00347B10 7C 1E 00 40 */ cmplw r30, r0 +/* 8034ABB4 00347B14 40 82 FF CC */ bne lbl_8034AB80 +/* 8034ABB8 00347B18 38 00 00 00 */ li r0, 0 +/* 8034ABBC 00347B1C 90 0D A9 E8 */ stw r0, lbl_805A95A8@sda21(r13) +/* 8034ABC0 00347B20 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034ABC4 00347B24 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034ABC8 00347B28 83 C1 00 08 */ lwz r30, 8(r1) +/* 8034ABCC 00347B2C 7C 08 03 A6 */ mtlr r0 +/* 8034ABD0 00347B30 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034ABD4 00347B34 4E 80 00 20 */ blr + +.global S3dRemoveEmitter__9CAudioSysFUi +S3dRemoveEmitter__9CAudioSysFUi: +/* 8034ABD8 00347B38 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034ABDC 00347B3C 7C 08 02 A6 */ mflr r0 +/* 8034ABE0 00347B40 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034ABE4 00347B44 3C 03 00 01 */ addis r0, r3, 1 +/* 8034ABE8 00347B48 28 00 FF FF */ cmplwi r0, 0xffff +/* 8034ABEC 00347B4C 40 82 00 0C */ bne lbl_8034ABF8 +/* 8034ABF0 00347B50 38 60 00 00 */ li r3, 0 +/* 8034ABF4 00347B54 48 00 00 3C */ b lbl_8034AC30 +lbl_8034ABF8: +/* 8034ABF8 00347B58 80 8D A9 E0 */ lwz r4, lbl_805A95A0@sda21(r13) +/* 8034ABFC 00347B5C 1C 03 00 54 */ mulli r0, r3, 0x54 +/* 8034AC00 00347B60 80 84 00 0C */ lwz r4, 0xc(r4) +/* 8034AC04 00347B64 7C 84 02 14 */ add r4, r4, r0 +/* 8034AC08 00347B68 88 04 00 50 */ lbz r0, 0x50(r4) +/* 8034AC0C 00347B6C 28 00 00 00 */ cmplwi r0, 0 +/* 8034AC10 00347B70 41 82 00 1C */ beq lbl_8034AC2C +/* 8034AC14 00347B74 38 00 00 00 */ li r0, 0 +/* 8034AC18 00347B78 98 04 00 50 */ stb r0, 0x50(r4) +/* 8034AC1C 00347B7C 90 6D A9 E8 */ stw r3, lbl_805A95A8@sda21(r13) +/* 8034AC20 00347B80 7C 83 23 78 */ mr r3, r4 +/* 8034AC24 00347B84 48 06 4B 45 */ bl sndRemoveEmitter +/* 8034AC28 00347B88 48 00 00 08 */ b lbl_8034AC30 +lbl_8034AC2C: +/* 8034AC2C 00347B8C 38 60 00 01 */ li r3, 1 +lbl_8034AC30: +/* 8034AC30 00347B90 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034AC34 00347B94 7C 08 03 A6 */ mtlr r0 +/* 8034AC38 00347B98 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034AC3C 00347B9C 4E 80 00 20 */ blr + +.global S3dUpdateEmitter__9CAudioSysFUiRC9CVector3fRC9CVector3fUc +S3dUpdateEmitter__9CAudioSysFUiRC9CVector3fRC9CVector3fUc: +/* 8034AC40 00347BA0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8034AC44 00347BA4 7C 08 02 A6 */ mflr r0 +/* 8034AC48 00347BA8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8034AC4C 00347BAC 3C 03 00 01 */ addis r0, r3, 1 +/* 8034AC50 00347BB0 28 00 FF FF */ cmplwi r0, 0xffff +/* 8034AC54 00347BB4 40 82 00 0C */ bne lbl_8034AC60 +/* 8034AC58 00347BB8 38 60 00 00 */ li r3, 0 +/* 8034AC5C 00347BBC 48 00 00 58 */ b lbl_8034ACB4 +lbl_8034AC60: +/* 8034AC60 00347BC0 80 ED A9 E0 */ lwz r7, lbl_805A95A0@sda21(r13) +/* 8034AC64 00347BC4 1C 03 00 54 */ mulli r0, r3, 0x54 +/* 8034AC68 00347BC8 C0 A4 00 00 */ lfs f5, 0(r4) +/* 8034AC6C 00347BCC 54 C6 06 3E */ clrlwi r6, r6, 0x18 +/* 8034AC70 00347BD0 80 67 00 0C */ lwz r3, 0xc(r7) +/* 8034AC74 00347BD4 38 E0 00 00 */ li r7, 0 +/* 8034AC78 00347BD8 C0 84 00 04 */ lfs f4, 4(r4) +/* 8034AC7C 00347BDC C0 64 00 08 */ lfs f3, 8(r4) +/* 8034AC80 00347BE0 7C 63 02 14 */ add r3, r3, r0 +/* 8034AC84 00347BE4 C0 45 00 00 */ lfs f2, 0(r5) +/* 8034AC88 00347BE8 38 81 00 14 */ addi r4, r1, 0x14 +/* 8034AC8C 00347BEC C0 25 00 04 */ lfs f1, 4(r5) +/* 8034AC90 00347BF0 C0 05 00 08 */ lfs f0, 8(r5) +/* 8034AC94 00347BF4 38 A1 00 08 */ addi r5, r1, 8 +/* 8034AC98 00347BF8 D0 A1 00 14 */ stfs f5, 0x14(r1) +/* 8034AC9C 00347BFC D0 81 00 18 */ stfs f4, 0x18(r1) +/* 8034ACA0 00347C00 D0 61 00 1C */ stfs f3, 0x1c(r1) +/* 8034ACA4 00347C04 D0 41 00 08 */ stfs f2, 8(r1) +/* 8034ACA8 00347C08 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 8034ACAC 00347C0C D0 01 00 10 */ stfs f0, 0x10(r1) +/* 8034ACB0 00347C10 48 06 45 21 */ bl sndUpdateEmitter +lbl_8034ACB4: +/* 8034ACB4 00347C14 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8034ACB8 00347C18 7C 08 03 A6 */ mtlr r0 +/* 8034ACBC 00347C1C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8034ACC0 00347C20 4E 80 00 20 */ blr + +.global S3dAddEmitterParaEx__9CAudioSysFRCQ29CAudioSys18C3DEmitterParmDataUsP18SND_PARAMETER_INFO +S3dAddEmitterParaEx__9CAudioSysFRCQ29CAudioSys18C3DEmitterParmDataUsP18SND_PARAMETER_INFO: +/* 8034ACC4 00347C24 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8034ACC8 00347C28 7C 08 02 A6 */ mflr r0 +/* 8034ACCC 00347C2C 90 01 00 44 */ stw r0, 0x44(r1) +/* 8034ACD0 00347C30 BF 61 00 2C */ stmw r27, 0x2c(r1) +/* 8034ACD4 00347C34 7C 7B 1B 78 */ mr r27, r3 +/* 8034ACD8 00347C38 7C 9C 23 78 */ mr r28, r4 +/* 8034ACDC 00347C3C 7C BD 2B 78 */ mr r29, r5 +/* 8034ACE0 00347C40 80 CD A9 E8 */ lwz r6, lbl_805A95A8@sda21(r13) +/* 8034ACE4 00347C44 3C 06 00 01 */ addis r0, r6, 1 +/* 8034ACE8 00347C48 7C DE 33 78 */ mr r30, r6 +/* 8034ACEC 00347C4C 28 00 FF FF */ cmplwi r0, 0xffff +/* 8034ACF0 00347C50 40 82 00 24 */ bne lbl_8034AD14 +/* 8034ACF4 00347C54 88 7B 00 29 */ lbz r3, 0x29(r27) +/* 8034ACF8 00347C58 4B FF FC 5D */ bl S3dFindLowerPriorityHandle__9CAudioSysFUi +/* 8034ACFC 00347C5C 3C 03 00 01 */ addis r0, r3, 1 +/* 8034AD00 00347C60 28 00 FF FF */ cmplwi r0, 0xffff +/* 8034AD04 00347C64 40 82 00 0C */ bne lbl_8034AD10 +/* 8034AD08 00347C68 38 60 FF FF */ li r3, -1 +/* 8034AD0C 00347C6C 48 00 01 18 */ b lbl_8034AE24 +lbl_8034AD10: +/* 8034AD10 00347C70 7C 7E 1B 78 */ mr r30, r3 +lbl_8034AD14: +/* 8034AD14 00347C74 80 8D A9 E0 */ lwz r4, lbl_805A95A0@sda21(r13) +/* 8034AD18 00347C78 1C 7E 00 54 */ mulli r3, r30, 0x54 +/* 8034AD1C 00347C7C 88 BB 00 26 */ lbz r5, 0x26(r27) +/* 8034AD20 00347C80 38 00 00 7F */ li r0, 0x7f +/* 8034AD24 00347C84 80 84 00 0C */ lwz r4, 0xc(r4) +/* 8034AD28 00347C88 C0 BB 00 00 */ lfs f5, 0(r27) +/* 8034AD2C 00347C8C 28 05 00 7F */ cmplwi r5, 0x7f +/* 8034AD30 00347C90 C0 9B 00 04 */ lfs f4, 4(r27) +/* 8034AD34 00347C94 7F E4 1A 14 */ add r31, r4, r3 +/* 8034AD38 00347C98 C0 7B 00 08 */ lfs f3, 8(r27) +/* 8034AD3C 00347C9C C0 5B 00 0C */ lfs f2, 0xc(r27) +/* 8034AD40 00347CA0 C0 3B 00 10 */ lfs f1, 0x10(r27) +/* 8034AD44 00347CA4 C0 1B 00 14 */ lfs f0, 0x14(r27) +/* 8034AD48 00347CA8 D0 A1 00 1C */ stfs f5, 0x1c(r1) +/* 8034AD4C 00347CAC D0 81 00 20 */ stfs f4, 0x20(r1) +/* 8034AD50 00347CB0 D0 61 00 24 */ stfs f3, 0x24(r1) +/* 8034AD54 00347CB4 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 8034AD58 00347CB8 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 8034AD5C 00347CBC D0 01 00 18 */ stfs f0, 0x18(r1) +/* 8034AD60 00347CC0 41 81 00 08 */ bgt lbl_8034AD68 +/* 8034AD64 00347CC4 7C A0 2B 78 */ mr r0, r5 +lbl_8034AD68: +/* 8034AD68 00347CC8 A8 CD 9D DA */ lha r6, lbl_805A899A@sda21(r13) +/* 8034AD6C 00347CCC 3C 60 81 02 */ lis r3, 0x81020409@ha +/* 8034AD70 00347CD0 38 83 04 09 */ addi r4, r3, 0x81020409@l +/* 8034AD74 00347CD4 88 BB 00 27 */ lbz r5, 0x27(r27) +/* 8034AD78 00347CD8 7C 66 01 D6 */ mullw r3, r6, r0 +/* 8034AD7C 00347CDC 38 00 00 7F */ li r0, 0x7f +/* 8034AD80 00347CE0 28 05 00 7F */ cmplwi r5, 0x7f +/* 8034AD84 00347CE4 7C 84 18 96 */ mulhw r4, r4, r3 +/* 8034AD88 00347CE8 7C 64 1A 14 */ add r3, r4, r3 +/* 8034AD8C 00347CEC 7C 63 36 70 */ srawi r3, r3, 6 +/* 8034AD90 00347CF0 54 64 0F FE */ srwi r4, r3, 0x1f +/* 8034AD94 00347CF4 7C 63 22 14 */ add r3, r3, r4 +/* 8034AD98 00347CF8 54 63 06 3E */ clrlwi r3, r3, 0x18 +/* 8034AD9C 00347CFC 7C 69 07 74 */ extsb r9, r3 +/* 8034ADA0 00347D00 41 81 00 08 */ bgt lbl_8034ADA8 +/* 8034ADA4 00347D04 7C A0 2B 78 */ mr r0, r5 +lbl_8034ADA8: +/* 8034ADA8 00347D08 7C 06 01 D6 */ mullw r0, r6, r0 +/* 8034ADAC 00347D0C 3C 60 81 02 */ lis r3, 0x81020409@ha +/* 8034ADB0 00347D10 38 A0 00 00 */ li r5, 0 +/* 8034ADB4 00347D14 38 83 04 09 */ addi r4, r3, 0x81020409@l +/* 8034ADB8 00347D18 90 A1 00 08 */ stw r5, 8(r1) +/* 8034ADBC 00347D1C 7F E3 FB 78 */ mr r3, r31 +/* 8034ADC0 00347D20 7C A4 00 96 */ mulhw r5, r4, r0 +/* 8034ADC4 00347D24 93 A1 00 0C */ stw r29, 0xc(r1) +/* 8034ADC8 00347D28 7F 88 E3 78 */ mr r8, r28 +/* 8034ADCC 00347D2C A0 FB 00 24 */ lhz r7, 0x24(r27) +/* 8034ADD0 00347D30 38 81 00 1C */ addi r4, r1, 0x1c +/* 8034ADD4 00347D34 C0 3B 00 18 */ lfs f1, 0x18(r27) +/* 8034ADD8 00347D38 7C 05 02 14 */ add r0, r5, r0 +/* 8034ADDC 00347D3C C0 5B 00 1C */ lfs f2, 0x1c(r27) +/* 8034ADE0 00347D40 7C 00 36 70 */ srawi r0, r0, 6 +/* 8034ADE4 00347D44 80 DB 00 20 */ lwz r6, 0x20(r27) +/* 8034ADE8 00347D48 54 05 0F FE */ srwi r5, r0, 0x1f +/* 8034ADEC 00347D4C 55 29 06 3E */ clrlwi r9, r9, 0x18 +/* 8034ADF0 00347D50 7C 00 2A 14 */ add r0, r0, r5 +/* 8034ADF4 00347D54 38 A1 00 10 */ addi r5, r1, 0x10 +/* 8034ADF8 00347D58 54 0A 06 3E */ clrlwi r10, r0, 0x18 +/* 8034ADFC 00347D5C 48 06 49 1D */ bl sndAddEmitterParaEx +/* 8034AE00 00347D60 38 00 00 01 */ li r0, 1 +/* 8034AE04 00347D64 98 1F 00 50 */ stb r0, 0x50(r31) +/* 8034AE08 00347D68 88 1B 00 28 */ lbz r0, 0x28(r27) +/* 8034AE0C 00347D6C 98 1F 00 51 */ stb r0, 0x51(r31) +/* 8034AE10 00347D70 88 1B 00 29 */ lbz r0, 0x29(r27) +/* 8034AE14 00347D74 98 1F 00 52 */ stb r0, 0x52(r31) +/* 8034AE18 00347D78 4B FF FB C9 */ bl S3dFindUnusedHandle__9CAudioSysFv +/* 8034AE1C 00347D7C 90 6D A9 E8 */ stw r3, lbl_805A95A8@sda21(r13) +/* 8034AE20 00347D80 7F C3 F3 78 */ mr r3, r30 +lbl_8034AE24: +/* 8034AE24 00347D84 BB 61 00 2C */ lmw r27, 0x2c(r1) +/* 8034AE28 00347D88 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8034AE2C 00347D8C 7C 08 03 A6 */ mtlr r0 +/* 8034AE30 00347D90 38 21 00 40 */ addi r1, r1, 0x40 +/* 8034AE34 00347D94 4E 80 00 20 */ blr + +.global S3dRemoveListener__9CAudioSysFv +S3dRemoveListener__9CAudioSysFv: +/* 8034AE38 00347D98 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034AE3C 00347D9C 7C 08 02 A6 */ mflr r0 +/* 8034AE40 00347DA0 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034AE44 00347DA4 88 0D A9 D1 */ lbz r0, lbl_805A9591@sda21(r13) +/* 8034AE48 00347DA8 28 00 00 00 */ cmplwi r0, 0 +/* 8034AE4C 00347DAC 41 82 00 18 */ beq lbl_8034AE64 +/* 8034AE50 00347DB0 38 00 00 00 */ li r0, 0 +/* 8034AE54 00347DB4 80 6D A9 E4 */ lwz r3, lbl_805A95A4@sda21(r13) +/* 8034AE58 00347DB8 98 0D A9 D1 */ stb r0, lbl_805A9591@sda21(r13) +/* 8034AE5C 00347DBC 48 06 4F 31 */ bl sndRemoveListener +/* 8034AE60 00347DC0 48 00 00 08 */ b lbl_8034AE68 +lbl_8034AE64: +/* 8034AE64 00347DC4 38 60 00 00 */ li r3, 0 +lbl_8034AE68: +/* 8034AE68 00347DC8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034AE6C 00347DCC 7C 08 03 A6 */ mtlr r0 +/* 8034AE70 00347DD0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034AE74 00347DD4 4E 80 00 20 */ blr + +.global S3dUpdateListener__9CAudioSysFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3fUc +S3dUpdateListener__9CAudioSysFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3fUc: +/* 8034AE78 00347DD8 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8034AE7C 00347DDC 7C 08 02 A6 */ mflr r0 +/* 8034AE80 00347DE0 7C E8 3B 78 */ mr r8, r7 +/* 8034AE84 00347DE4 90 01 00 44 */ stw r0, 0x44(r1) +/* 8034AE88 00347DE8 88 0D A9 D1 */ lbz r0, lbl_805A9591@sda21(r13) +/* 8034AE8C 00347DEC 28 00 00 00 */ cmplwi r0, 0 +/* 8034AE90 00347DF0 41 82 00 88 */ beq lbl_8034AF18 +/* 8034AE94 00347DF4 C1 63 00 00 */ lfs f11, 0(r3) +/* 8034AE98 00347DF8 38 E1 00 08 */ addi r7, r1, 8 +/* 8034AE9C 00347DFC C1 43 00 04 */ lfs f10, 4(r3) +/* 8034AEA0 00347E00 55 08 06 3E */ clrlwi r8, r8, 0x18 +/* 8034AEA4 00347E04 C1 23 00 08 */ lfs f9, 8(r3) +/* 8034AEA8 00347E08 39 20 00 00 */ li r9, 0 +/* 8034AEAC 00347E0C C1 04 00 00 */ lfs f8, 0(r4) +/* 8034AEB0 00347E10 C0 E4 00 04 */ lfs f7, 4(r4) +/* 8034AEB4 00347E14 C0 C4 00 08 */ lfs f6, 8(r4) +/* 8034AEB8 00347E18 38 81 00 2C */ addi r4, r1, 0x2c +/* 8034AEBC 00347E1C C0 A5 00 00 */ lfs f5, 0(r5) +/* 8034AEC0 00347E20 C0 85 00 04 */ lfs f4, 4(r5) +/* 8034AEC4 00347E24 C0 65 00 08 */ lfs f3, 8(r5) +/* 8034AEC8 00347E28 38 A1 00 20 */ addi r5, r1, 0x20 +/* 8034AECC 00347E2C C0 46 00 00 */ lfs f2, 0(r6) +/* 8034AED0 00347E30 C0 26 00 04 */ lfs f1, 4(r6) +/* 8034AED4 00347E34 C0 06 00 08 */ lfs f0, 8(r6) +/* 8034AED8 00347E38 38 C1 00 14 */ addi r6, r1, 0x14 +/* 8034AEDC 00347E3C D1 61 00 2C */ stfs f11, 0x2c(r1) +/* 8034AEE0 00347E40 80 6D A9 E4 */ lwz r3, lbl_805A95A4@sda21(r13) +/* 8034AEE4 00347E44 D1 41 00 30 */ stfs f10, 0x30(r1) +/* 8034AEE8 00347E48 D1 21 00 34 */ stfs f9, 0x34(r1) +/* 8034AEEC 00347E4C D1 01 00 20 */ stfs f8, 0x20(r1) +/* 8034AEF0 00347E50 D0 E1 00 24 */ stfs f7, 0x24(r1) +/* 8034AEF4 00347E54 D0 C1 00 28 */ stfs f6, 0x28(r1) +/* 8034AEF8 00347E58 D0 A1 00 14 */ stfs f5, 0x14(r1) +/* 8034AEFC 00347E5C D0 81 00 18 */ stfs f4, 0x18(r1) +/* 8034AF00 00347E60 D0 61 00 1C */ stfs f3, 0x1c(r1) +/* 8034AF04 00347E64 D0 41 00 08 */ stfs f2, 8(r1) +/* 8034AF08 00347E68 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 8034AF0C 00347E6C D0 01 00 10 */ stfs f0, 0x10(r1) +/* 8034AF10 00347E70 48 06 4A 59 */ bl sndUpdateListener +/* 8034AF14 00347E74 48 00 00 08 */ b lbl_8034AF1C +lbl_8034AF18: +/* 8034AF18 00347E78 38 60 00 00 */ li r3, 0 +lbl_8034AF1C: +/* 8034AF1C 00347E7C 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8034AF20 00347E80 7C 08 03 A6 */ mtlr r0 +/* 8034AF24 00347E84 38 21 00 40 */ addi r1, r1, 0x40 +/* 8034AF28 00347E88 4E 80 00 20 */ blr + +.global S3dAddListener__9CAudioSysFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ffffUiUc +S3dAddListener__9CAudioSysFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ffffUiUc: +/* 8034AF2C 00347E8C 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 8034AF30 00347E90 7C 08 02 A6 */ mflr r0 +/* 8034AF34 00347E94 90 01 00 94 */ stw r0, 0x94(r1) +/* 8034AF38 00347E98 DB E1 00 80 */ stfd f31, 0x80(r1) +/* 8034AF3C 00347E9C F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 +/* 8034AF40 00347EA0 DB C1 00 70 */ stfd f30, 0x70(r1) +/* 8034AF44 00347EA4 F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 +/* 8034AF48 00347EA8 DB A1 00 60 */ stfd f29, 0x60(r1) +/* 8034AF4C 00347EAC F3 A1 00 68 */ psq_st f29, 104(r1), 0, qr0 +/* 8034AF50 00347EB0 DB 81 00 50 */ stfd f28, 0x50(r1) +/* 8034AF54 00347EB4 F3 81 00 58 */ psq_st f28, 88(r1), 0, qr0 +/* 8034AF58 00347EB8 BF 41 00 38 */ stmw r26, 0x38(r1) +/* 8034AF5C 00347EBC 88 0D A9 D1 */ lbz r0, lbl_805A9591@sda21(r13) +/* 8034AF60 00347EC0 FF 80 08 90 */ fmr f28, f1 +/* 8034AF64 00347EC4 FF A0 10 90 */ fmr f29, f2 +/* 8034AF68 00347EC8 7C 7A 1B 78 */ mr r26, r3 +/* 8034AF6C 00347ECC FF C0 18 90 */ fmr f30, f3 +/* 8034AF70 00347ED0 28 00 00 00 */ cmplwi r0, 0 +/* 8034AF74 00347ED4 7C 9B 23 78 */ mr r27, r4 +/* 8034AF78 00347ED8 7C BC 2B 78 */ mr r28, r5 +/* 8034AF7C 00347EDC 7C DD 33 78 */ mr r29, r6 +/* 8034AF80 00347EE0 7C FE 3B 78 */ mr r30, r7 +/* 8034AF84 00347EE4 7D 1F 43 78 */ mr r31, r8 +/* 8034AF88 00347EE8 41 82 00 08 */ beq lbl_8034AF90 +/* 8034AF8C 00347EEC 4B FF FE AD */ bl S3dRemoveListener__9CAudioSysFv +lbl_8034AF90: +/* 8034AF90 00347EF0 C3 FA 00 00 */ lfs f31, 0(r26) +/* 8034AF94 00347EF4 38 00 00 01 */ li r0, 1 +/* 8034AF98 00347EF8 C1 BA 00 04 */ lfs f13, 4(r26) +/* 8034AF9C 00347EFC FC 20 E0 90 */ fmr f1, f28 +/* 8034AFA0 00347F00 C1 9A 00 08 */ lfs f12, 8(r26) +/* 8034AFA4 00347F04 FC 40 E8 90 */ fmr f2, f29 +/* 8034AFA8 00347F08 C1 7B 00 00 */ lfs f11, 0(r27) +/* 8034AFAC 00347F0C FC 60 F0 90 */ fmr f3, f30 +/* 8034AFB0 00347F10 C1 5B 00 04 */ lfs f10, 4(r27) +/* 8034AFB4 00347F14 C1 3B 00 08 */ lfs f9, 8(r27) +/* 8034AFB8 00347F18 7F C8 F3 78 */ mr r8, r30 +/* 8034AFBC 00347F1C C1 1C 00 00 */ lfs f8, 0(r28) +/* 8034AFC0 00347F20 38 81 00 2C */ addi r4, r1, 0x2c +/* 8034AFC4 00347F24 C0 FC 00 04 */ lfs f7, 4(r28) +/* 8034AFC8 00347F28 38 A1 00 20 */ addi r5, r1, 0x20 +/* 8034AFCC 00347F2C C0 DC 00 08 */ lfs f6, 8(r28) +/* 8034AFD0 00347F30 38 C1 00 14 */ addi r6, r1, 0x14 +/* 8034AFD4 00347F34 C0 BD 00 00 */ lfs f5, 0(r29) +/* 8034AFD8 00347F38 38 E1 00 08 */ addi r7, r1, 8 +/* 8034AFDC 00347F3C C0 9D 00 04 */ lfs f4, 4(r29) +/* 8034AFE0 00347F40 57 E9 06 3E */ clrlwi r9, r31, 0x18 +/* 8034AFE4 00347F44 C0 1D 00 08 */ lfs f0, 8(r29) +/* 8034AFE8 00347F48 39 40 00 00 */ li r10, 0 +/* 8034AFEC 00347F4C D3 E1 00 2C */ stfs f31, 0x2c(r1) +/* 8034AFF0 00347F50 80 6D A9 E4 */ lwz r3, lbl_805A95A4@sda21(r13) +/* 8034AFF4 00347F54 D1 A1 00 30 */ stfs f13, 0x30(r1) +/* 8034AFF8 00347F58 D1 81 00 34 */ stfs f12, 0x34(r1) +/* 8034AFFC 00347F5C D1 61 00 20 */ stfs f11, 0x20(r1) +/* 8034B000 00347F60 D1 41 00 24 */ stfs f10, 0x24(r1) +/* 8034B004 00347F64 D1 21 00 28 */ stfs f9, 0x28(r1) +/* 8034B008 00347F68 D1 01 00 14 */ stfs f8, 0x14(r1) +/* 8034B00C 00347F6C D0 E1 00 18 */ stfs f7, 0x18(r1) +/* 8034B010 00347F70 D0 C1 00 1C */ stfs f6, 0x1c(r1) +/* 8034B014 00347F74 D0 A1 00 08 */ stfs f5, 8(r1) +/* 8034B018 00347F78 D0 81 00 0C */ stfs f4, 0xc(r1) +/* 8034B01C 00347F7C D0 01 00 10 */ stfs f0, 0x10(r1) +/* 8034B020 00347F80 98 0D A9 D1 */ stb r0, lbl_805A9591@sda21(r13) +/* 8034B024 00347F84 48 06 4B 49 */ bl sndAddListener +/* 8034B028 00347F88 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 +/* 8034B02C 00347F8C CB E1 00 80 */ lfd f31, 0x80(r1) +/* 8034B030 00347F90 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 +/* 8034B034 00347F94 CB C1 00 70 */ lfd f30, 0x70(r1) +/* 8034B038 00347F98 E3 A1 00 68 */ psq_l f29, 104(r1), 0, qr0 +/* 8034B03C 00347F9C CB A1 00 60 */ lfd f29, 0x60(r1) +/* 8034B040 00347FA0 E3 81 00 58 */ psq_l f28, 88(r1), 0, qr0 +/* 8034B044 00347FA4 CB 81 00 50 */ lfd f28, 0x50(r1) +/* 8034B048 00347FA8 BB 41 00 38 */ lmw r26, 0x38(r1) +/* 8034B04C 00347FAC 80 01 00 94 */ lwz r0, 0x94(r1) +/* 8034B050 00347FB0 7C 08 03 A6 */ mtlr r0 +/* 8034B054 00347FB4 38 21 00 90 */ addi r1, r1, 0x90 +/* 8034B058 00347FB8 4E 80 00 20 */ blr + +.global "FindTrack__9CAudioSysFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +"FindTrack__9CAudioSysFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": +/* 8034B05C 00347FBC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8034B060 00347FC0 7C 08 02 A6 */ mflr r0 +/* 8034B064 00347FC4 7C 85 23 78 */ mr r5, r4 +/* 8034B068 00347FC8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8034B06C 00347FCC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8034B070 00347FD0 7C 7F 1B 78 */ mr r31, r3 +/* 8034B074 00347FD4 80 CD A9 DC */ lwz r6, lbl_805A959C@sda21(r13) +/* 8034B078 00347FD8 80 06 00 04 */ lwz r0, 4(r6) +/* 8034B07C 00347FDC 2C 00 00 00 */ cmpwi r0, 0 +/* 8034B080 00347FE0 41 81 00 20 */ bgt lbl_8034B0A0 +/* 8034B084 00347FE4 38 0D A9 28 */ addi r0, r13, lbl_805A94E8@sda21 +/* 8034B088 00347FE8 90 1F 00 00 */ stw r0, 0(r31) +/* 8034B08C 00347FEC 80 9F 00 00 */ lwz r4, 0(r31) +/* 8034B090 00347FF0 80 64 00 04 */ lwz r3, 4(r4) +/* 8034B094 00347FF4 38 03 00 01 */ addi r0, r3, 1 +/* 8034B098 00347FF8 90 04 00 04 */ stw r0, 4(r4) +/* 8034B09C 00347FFC 48 00 00 7C */ b lbl_8034B118 +lbl_8034B0A0: +/* 8034B0A0 00348000 7C C4 33 78 */ mr r4, r6 +/* 8034B0A4 00348004 38 61 00 10 */ addi r3, r1, 0x10 +/* 8034B0A8 00348008 48 00 00 85 */ bl sub_8034b12c +/* 8034B0AC 0034800C 80 6D A9 DC */ lwz r3, lbl_805A959C@sda21(r13) +/* 8034B0B0 00348010 38 80 00 00 */ li r4, 0 +/* 8034B0B4 00348014 80 A1 00 10 */ lwz r5, 0x10(r1) +/* 8034B0B8 00348018 38 03 00 08 */ addi r0, r3, 8 +/* 8034B0BC 0034801C 90 81 00 08 */ stw r4, 8(r1) +/* 8034B0C0 00348020 7C 05 20 40 */ cmplw r5, r4 +/* 8034B0C4 00348024 80 61 00 14 */ lwz r3, 0x14(r1) +/* 8034B0C8 00348028 90 01 00 0C */ stw r0, 0xc(r1) +/* 8034B0CC 0034802C 40 82 00 0C */ bne lbl_8034B0D8 +/* 8034B0D0 00348030 7C 03 00 40 */ cmplw r3, r0 +/* 8034B0D4 00348034 41 82 00 08 */ beq lbl_8034B0DC +lbl_8034B0D8: +/* 8034B0D8 00348038 38 80 00 01 */ li r4, 1 +lbl_8034B0DC: +/* 8034B0DC 0034803C 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 8034B0E0 00348040 41 82 00 20 */ beq lbl_8034B100 +/* 8034B0E4 00348044 80 05 00 20 */ lwz r0, 0x20(r5) +/* 8034B0E8 00348048 90 1F 00 00 */ stw r0, 0(r31) +/* 8034B0EC 0034804C 80 9F 00 00 */ lwz r4, 0(r31) +/* 8034B0F0 00348050 80 64 00 04 */ lwz r3, 4(r4) +/* 8034B0F4 00348054 38 03 00 01 */ addi r0, r3, 1 +/* 8034B0F8 00348058 90 04 00 04 */ stw r0, 4(r4) +/* 8034B0FC 0034805C 48 00 00 1C */ b lbl_8034B118 +lbl_8034B100: +/* 8034B100 00348060 38 0D A9 28 */ addi r0, r13, lbl_805A94E8@sda21 +/* 8034B104 00348064 90 1F 00 00 */ stw r0, 0(r31) +/* 8034B108 00348068 80 9F 00 00 */ lwz r4, 0(r31) +/* 8034B10C 0034806C 80 64 00 04 */ lwz r3, 4(r4) +/* 8034B110 00348070 38 03 00 01 */ addi r0, r3, 1 +/* 8034B114 00348074 90 04 00 04 */ stw r0, 4(r4) +lbl_8034B118: +/* 8034B118 00348078 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8034B11C 0034807C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8034B120 00348080 7C 08 03 A6 */ mtlr r0 +/* 8034B124 00348084 38 21 00 20 */ addi r1, r1, 0x20 +/* 8034B128 00348088 4E 80 00 20 */ blr + +.global sub_8034b12c +sub_8034b12c: +/* 8034B12C 0034808C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034B130 00348090 7C 08 02 A6 */ mflr r0 +/* 8034B134 00348094 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034B138 00348098 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034B13C 0034809C 7C 9F 23 78 */ mr r31, r4 +/* 8034B140 003480A0 7C A4 2B 78 */ mr r4, r5 +/* 8034B144 003480A4 93 C1 00 08 */ stw r30, 8(r1) +/* 8034B148 003480A8 7C 7E 1B 78 */ mr r30, r3 +/* 8034B14C 003480AC 7F E3 FB 78 */ mr r3, r31 +/* 8034B150 003480B0 48 00 00 29 */ bl sub_8034b178 +/* 8034B154 003480B4 90 7E 00 00 */ stw r3, 0(r30) +/* 8034B158 003480B8 38 1F 00 08 */ addi r0, r31, 8 +/* 8034B15C 003480BC 90 1E 00 04 */ stw r0, 4(r30) +/* 8034B160 003480C0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034B164 003480C4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034B168 003480C8 83 C1 00 08 */ lwz r30, 8(r1) +/* 8034B16C 003480CC 7C 08 03 A6 */ mtlr r0 +/* 8034B170 003480D0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034B174 003480D4 4E 80 00 20 */ blr + +.global sub_8034b178 +sub_8034b178: +/* 8034B178 003480D8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8034B17C 003480DC 7C 08 02 A6 */ mflr r0 +/* 8034B180 003480E0 90 01 00 24 */ stw r0, 0x24(r1) +/* 8034B184 003480E4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8034B188 003480E8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8034B18C 003480EC 3B C0 00 00 */ li r30, 0 +/* 8034B190 003480F0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8034B194 003480F4 7C 9D 23 78 */ mr r29, r4 +/* 8034B198 003480F8 93 81 00 10 */ stw r28, 0x10(r1) +/* 8034B19C 003480FC 7C 7C 1B 78 */ mr r28, r3 +/* 8034B1A0 00348100 83 E3 00 10 */ lwz r31, 0x10(r3) +/* 8034B1A4 00348104 48 00 00 2C */ b lbl_8034B1D0 +lbl_8034B1A8: +/* 8034B1A8 00348108 7F A5 EB 78 */ mr r5, r29 +/* 8034B1AC 0034810C 38 7C 00 01 */ addi r3, r28, 1 +/* 8034B1B0 00348110 38 9F 00 10 */ addi r4, r31, 0x10 +/* 8034B1B4 00348114 4B CD F5 75 */ bl "__cl__Q24rstl140select1st,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>>CFRCQ24rstl119pair,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>" +/* 8034B1B8 00348118 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8034B1BC 0034811C 40 82 00 10 */ bne lbl_8034B1CC +/* 8034B1C0 00348120 7F FE FB 78 */ mr r30, r31 +/* 8034B1C4 00348124 83 FF 00 00 */ lwz r31, 0(r31) +/* 8034B1C8 00348128 48 00 00 08 */ b lbl_8034B1D0 +lbl_8034B1CC: +/* 8034B1CC 0034812C 83 FF 00 04 */ lwz r31, 4(r31) +lbl_8034B1D0: +/* 8034B1D0 00348130 28 1F 00 00 */ cmplwi r31, 0 +/* 8034B1D4 00348134 40 82 FF D4 */ bne lbl_8034B1A8 +/* 8034B1D8 00348138 28 1E 00 00 */ cmplwi r30, 0 +/* 8034B1DC 0034813C 3B E0 00 00 */ li r31, 0 +/* 8034B1E0 00348140 41 82 00 1C */ beq lbl_8034B1FC +/* 8034B1E4 00348144 7F A4 EB 78 */ mr r4, r29 +/* 8034B1E8 00348148 38 7C 00 01 */ addi r3, r28, 1 +/* 8034B1EC 0034814C 38 BE 00 10 */ addi r5, r30, 0x10 +/* 8034B1F0 00348150 4B CD F5 39 */ bl "__cl__Q24rstl140select1st,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>>CFRCQ24rstl119pair,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>" +/* 8034B1F4 00348154 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8034B1F8 00348158 41 82 00 08 */ beq lbl_8034B200 +lbl_8034B1FC: +/* 8034B1FC 0034815C 3B E0 00 01 */ li r31, 1 +lbl_8034B200: +/* 8034B200 00348160 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 8034B204 00348164 41 82 00 0C */ beq lbl_8034B210 +/* 8034B208 00348168 38 60 00 00 */ li r3, 0 +/* 8034B20C 0034816C 48 00 00 08 */ b lbl_8034B214 +lbl_8034B210: +/* 8034B210 00348170 7F C3 F3 78 */ mr r3, r30 +lbl_8034B214: +/* 8034B214 00348174 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8034B218 00348178 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8034B21C 0034817C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8034B220 00348180 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8034B224 00348184 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8034B228 00348188 7C 08 03 A6 */ mtlr r0 +/* 8034B22C 0034818C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8034B230 00348190 4E 80 00 20 */ blr + +.global TrkNextTrack__9CAudioSysFv +TrkNextTrack__9CAudioSysFv: +/* 8034B234 00348194 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034B238 00348198 7C 08 02 A6 */ mflr r0 +/* 8034B23C 0034819C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034B240 003481A0 48 06 CB 41 */ bl DTKNextTrack +/* 8034B244 003481A4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034B248 003481A8 7C 08 03 A6 */ mtlr r0 +/* 8034B24C 003481AC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034B250 003481B0 4E 80 00 20 */ blr + +.global TrkSetVolume__9CAudioSysFUcUc +TrkSetVolume__9CAudioSysFUcUc: +/* 8034B254 003481B4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034B258 003481B8 7C 08 02 A6 */ mflr r0 +/* 8034B25C 003481BC 54 63 06 3E */ clrlwi r3, r3, 0x18 +/* 8034B260 003481C0 54 84 06 3E */ clrlwi r4, r4, 0x18 +/* 8034B264 003481C4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034B268 003481C8 48 06 CB C5 */ bl DTKSetVolume +/* 8034B26C 003481CC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034B270 003481D0 7C 08 03 A6 */ mtlr r0 +/* 8034B274 003481D4 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034B278 003481D8 4E 80 00 20 */ blr + +.global TrkGetState__9CAudioSysFv +TrkGetState__9CAudioSysFv: +/* 8034B27C 003481DC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034B280 003481E0 7C 08 02 A6 */ mflr r0 +/* 8034B284 003481E4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034B288 003481E8 48 06 CB 9D */ bl DTKGetState +/* 8034B28C 003481EC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034B290 003481F0 7C 08 03 A6 */ mtlr r0 +/* 8034B294 003481F4 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034B298 003481F8 4E 80 00 20 */ blr + +.global TrkSetState__9CAudioSysF13ETRKPlayState +TrkSetState__9CAudioSysF13ETRKPlayState: +/* 8034B29C 003481FC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034B2A0 00348200 7C 08 02 A6 */ mflr r0 +/* 8034B2A4 00348204 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034B2A8 00348208 48 06 C8 F9 */ bl DTKSetState +/* 8034B2AC 0034820C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034B2B0 00348210 7C 08 03 A6 */ mtlr r0 +/* 8034B2B4 00348214 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034B2B8 00348218 4E 80 00 20 */ blr + +.global TrkSetRepeatMode__9CAudioSysF14ETRKRepeatMode +TrkSetRepeatMode__9CAudioSysF14ETRKRepeatMode: +/* 8034B2BC 0034821C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034B2C0 00348220 7C 08 02 A6 */ mflr r0 +/* 8034B2C4 00348224 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034B2C8 00348228 48 06 C8 D1 */ bl DTKSetRepeatMode +/* 8034B2CC 0034822C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034B2D0 00348230 7C 08 03 A6 */ mtlr r0 +/* 8034B2D4 00348234 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034B2D8 00348238 4E 80 00 20 */ blr + +.global TrkSetSampleRate__9CAudioSysF14ETRKSampleRate +TrkSetSampleRate__9CAudioSysF14ETRKSampleRate: +/* 8034B2DC 0034823C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034B2E0 00348240 7C 08 02 A6 */ mflr r0 +/* 8034B2E4 00348244 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034B2E8 00348248 48 06 C8 AD */ bl DTKSetSampleRate +/* 8034B2EC 0034824C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034B2F0 00348250 7C 08 03 A6 */ mtlr r0 +/* 8034B2F4 00348254 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034B2F8 00348258 4E 80 00 20 */ blr + +.global TrkFlushTracks__9CAudioSysFv +TrkFlushTracks__9CAudioSysFv: +/* 8034B2FC 0034825C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034B300 00348260 7C 08 02 A6 */ mflr r0 +/* 8034B304 00348264 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034B308 00348268 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034B30C 0034826C 80 6D A9 DC */ lwz r3, lbl_805A959C@sda21(r13) +/* 8034B310 00348270 80 03 00 04 */ lwz r0, 4(r3) +/* 8034B314 00348274 2C 00 00 00 */ cmpwi r0, 0 +/* 8034B318 00348278 40 81 00 38 */ ble lbl_8034B350 +/* 8034B31C 0034827C 38 60 00 00 */ li r3, 0 +/* 8034B320 00348280 48 06 C8 11 */ bl DTKFlushTracks +/* 8034B324 00348284 83 ED A9 DC */ lwz r31, lbl_805A959C@sda21(r13) +/* 8034B328 00348288 80 9F 00 10 */ lwz r4, 0x10(r31) +/* 8034B32C 0034828C 28 04 00 00 */ cmplwi r4, 0 +/* 8034B330 00348290 41 82 00 0C */ beq lbl_8034B33C +/* 8034B334 00348294 7F E3 FB 78 */ mr r3, r31 +/* 8034B338 00348298 48 00 16 FD */ bl sub_8034ca34 +lbl_8034B33C: +/* 8034B33C 0034829C 38 00 00 00 */ li r0, 0 +/* 8034B340 003482A0 90 1F 00 10 */ stw r0, 0x10(r31) +/* 8034B344 003482A4 90 1F 00 08 */ stw r0, 8(r31) +/* 8034B348 003482A8 90 1F 00 0C */ stw r0, 0xc(r31) +/* 8034B34C 003482AC 90 1F 00 04 */ stw r0, 4(r31) +lbl_8034B350: +/* 8034B350 003482B0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034B354 003482B4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034B358 003482B8 7C 08 03 A6 */ mtlr r0 +/* 8034B35C 003482BC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034B360 003482C0 4E 80 00 20 */ blr + +.global "TrkQueueTrack__9CAudioSysFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>PFUl_vUi" +"TrkQueueTrack__9CAudioSysFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>PFUl_vUi": +/* 8034B364 003482C4 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 8034B368 003482C8 7C 08 02 A6 */ mflr r0 +/* 8034B36C 003482CC 90 01 00 54 */ stw r0, 0x54(r1) +/* 8034B370 003482D0 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 8034B374 003482D4 7C BF 2B 78 */ mr r31, r5 +/* 8034B378 003482D8 93 C1 00 48 */ stw r30, 0x48(r1) +/* 8034B37C 003482DC 7C 9E 23 78 */ mr r30, r4 +/* 8034B380 003482E0 93 A1 00 44 */ stw r29, 0x44(r1) +/* 8034B384 003482E4 93 81 00 40 */ stw r28, 0x40(r1) +/* 8034B388 003482E8 7C 7C 1B 78 */ mr r28, r3 +lbl_8034B38C: +/* 8034B38C 003482EC 4B FF FE F1 */ bl TrkGetState__9CAudioSysFv +/* 8034B390 003482F0 2C 03 00 03 */ cmpwi r3, 3 +/* 8034B394 003482F4 41 82 FF F8 */ beq lbl_8034B38C +/* 8034B398 003482F8 7F 84 E3 78 */ mr r4, r28 +/* 8034B39C 003482FC 38 61 00 08 */ addi r3, r1, 8 +/* 8034B3A0 00348300 4B FF FC BD */ bl "FindTrack__9CAudioSysFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8034B3A4 00348304 80 A1 00 08 */ lwz r5, 8(r1) +/* 8034B3A8 00348308 38 61 00 08 */ addi r3, r1, 8 +/* 8034B3AC 0034830C 90 A1 00 10 */ stw r5, 0x10(r1) +/* 8034B3B0 00348310 80 85 00 04 */ lwz r4, 4(r5) +/* 8034B3B4 00348314 38 04 00 01 */ addi r0, r4, 1 +/* 8034B3B8 00348318 90 05 00 04 */ stw r0, 4(r5) +/* 8034B3BC 0034831C 48 00 20 49 */ bl sub_8034d404 +/* 8034B3C0 00348320 80 61 00 10 */ lwz r3, 0x10(r1) +/* 8034B3C4 00348324 80 63 00 00 */ lwz r3, 0(r3) +/* 8034B3C8 00348328 28 03 00 00 */ cmplwi r3, 0 +/* 8034B3CC 0034832C 40 82 00 E8 */ bne lbl_8034B4B4 +/* 8034B3D0 00348330 3C 80 80 3E */ lis r4, lbl_803D8210@ha +/* 8034B3D4 00348334 38 60 00 64 */ li r3, 0x64 +/* 8034B3D8 00348338 38 84 82 10 */ addi r4, r4, lbl_803D8210@l +/* 8034B3DC 0034833C 38 A0 00 00 */ li r5, 0 +/* 8034B3E0 00348340 4B FC A4 8D */ bl __nw__FUlPCcPCc +/* 8034B3E4 00348344 7C 7D 1B 79 */ or. r29, r3, r3 +/* 8034B3E8 00348348 41 82 00 18 */ beq lbl_8034B400 +/* 8034B3EC 0034834C 38 00 00 01 */ li r0, 1 +/* 8034B3F0 00348350 7F 84 E3 78 */ mr r4, r28 +/* 8034B3F4 00348354 98 1D 00 50 */ stb r0, 0x50(r29) +/* 8034B3F8 00348358 38 7D 00 54 */ addi r3, r29, 0x54 +/* 8034B3FC 0034835C 4B FF 2D 65 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +lbl_8034B400: +/* 8034B400 00348360 3C 80 80 3E */ lis r4, lbl_803D8210@ha +/* 8034B404 00348364 38 60 00 08 */ li r3, 8 +/* 8034B408 00348368 38 84 82 10 */ addi r4, r4, lbl_803D8210@l +/* 8034B40C 0034836C 38 A0 00 00 */ li r5, 0 +/* 8034B410 00348370 4B FC A4 5D */ bl __nw__FUlPCcPCc +/* 8034B414 00348374 28 03 00 00 */ cmplwi r3, 0 +/* 8034B418 00348378 41 82 00 10 */ beq lbl_8034B428 +/* 8034B41C 0034837C 93 A3 00 00 */ stw r29, 0(r3) +/* 8034B420 00348380 38 00 00 01 */ li r0, 1 +/* 8034B424 00348384 90 03 00 04 */ stw r0, 4(r3) +lbl_8034B428: +/* 8034B428 00348388 90 61 00 0C */ stw r3, 0xc(r1) +/* 8034B42C 0034838C 7F 84 E3 78 */ mr r4, r28 +/* 8034B430 00348390 38 61 00 20 */ addi r3, r1, 0x20 +/* 8034B434 00348394 4B FF 2D 2D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8034B438 00348398 80 A1 00 0C */ lwz r5, 0xc(r1) +/* 8034B43C 0034839C 3B A1 00 30 */ addi r29, r1, 0x30 +/* 8034B440 003483A0 38 61 00 14 */ addi r3, r1, 0x14 +/* 8034B444 003483A4 38 C1 00 20 */ addi r6, r1, 0x20 +/* 8034B448 003483A8 90 A1 00 30 */ stw r5, 0x30(r1) +/* 8034B44C 003483AC 80 85 00 04 */ lwz r4, 4(r5) +/* 8034B450 003483B0 38 04 00 01 */ addi r0, r4, 1 +/* 8034B454 003483B4 90 05 00 04 */ stw r0, 4(r5) +/* 8034B458 003483B8 80 8D A9 DC */ lwz r4, lbl_805A959C@sda21(r13) +/* 8034B45C 003483BC 80 A4 00 10 */ lwz r5, 0x10(r4) +/* 8034B460 003483C0 48 00 1D 25 */ bl sub_8034d184 +/* 8034B464 003483C4 28 1D 00 00 */ cmplwi r29, 0 +/* 8034B468 003483C8 41 82 00 10 */ beq lbl_8034B478 +/* 8034B46C 003483CC 41 82 00 0C */ beq lbl_8034B478 +/* 8034B470 003483D0 7F A3 EB 78 */ mr r3, r29 +/* 8034B474 003483D4 48 00 1F 91 */ bl sub_8034d404 +lbl_8034B478: +/* 8034B478 003483D8 38 61 00 20 */ addi r3, r1, 0x20 +/* 8034B47C 003483DC 4B FF 26 65 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8034B480 003483E0 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8034B484 003483E4 7F E5 FB 78 */ mr r5, r31 +/* 8034B488 003483E8 7F C6 F3 78 */ mr r6, r30 +/* 8034B48C 003483EC 80 83 00 00 */ lwz r4, 0(r3) +/* 8034B490 003483F0 80 64 00 54 */ lwz r3, 0x54(r4) +/* 8034B494 003483F4 48 06 C5 81 */ bl sub_803b7a14 +/* 8034B498 003483F8 7C 7D 1B 78 */ mr r29, r3 +/* 8034B49C 003483FC 38 61 00 0C */ addi r3, r1, 0xc +/* 8034B4A0 00348400 48 00 1F 65 */ bl sub_8034d404 +/* 8034B4A4 00348404 38 61 00 10 */ addi r3, r1, 0x10 +/* 8034B4A8 00348408 48 00 1F 5D */ bl sub_8034d404 +/* 8034B4AC 0034840C 7F A3 EB 78 */ mr r3, r29 +/* 8034B4B0 00348410 48 00 00 50 */ b lbl_8034B500 +lbl_8034B4B4: +/* 8034B4B4 00348414 88 03 00 50 */ lbz r0, 0x50(r3) +/* 8034B4B8 00348418 28 00 00 00 */ cmplwi r0, 0 +/* 8034B4BC 0034841C 40 82 00 38 */ bne lbl_8034B4F4 +/* 8034B4C0 00348420 38 00 00 01 */ li r0, 1 +/* 8034B4C4 00348424 7F E5 FB 78 */ mr r5, r31 +/* 8034B4C8 00348428 98 03 00 50 */ stb r0, 0x50(r3) +/* 8034B4CC 0034842C 7F C6 F3 78 */ mr r6, r30 +/* 8034B4D0 00348430 80 61 00 10 */ lwz r3, 0x10(r1) +/* 8034B4D4 00348434 80 83 00 00 */ lwz r4, 0(r3) +/* 8034B4D8 00348438 80 64 00 54 */ lwz r3, 0x54(r4) +/* 8034B4DC 0034843C 48 06 C5 39 */ bl sub_803b7a14 +/* 8034B4E0 00348440 7C 7D 1B 78 */ mr r29, r3 +/* 8034B4E4 00348444 38 61 00 10 */ addi r3, r1, 0x10 +/* 8034B4E8 00348448 48 00 1F 1D */ bl sub_8034d404 +/* 8034B4EC 0034844C 7F A3 EB 78 */ mr r3, r29 +/* 8034B4F0 00348450 48 00 00 10 */ b lbl_8034B500 +lbl_8034B4F4: +/* 8034B4F4 00348454 38 61 00 10 */ addi r3, r1, 0x10 +/* 8034B4F8 00348458 48 00 1F 0D */ bl sub_8034d404 +/* 8034B4FC 0034845C 38 60 13 88 */ li r3, 0x1388 +lbl_8034B500: +/* 8034B500 00348460 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8034B504 00348464 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 8034B508 00348468 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 8034B50C 0034846C 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 8034B510 00348470 83 81 00 40 */ lwz r28, 0x40(r1) +/* 8034B514 00348474 7C 08 03 A6 */ mtlr r0 +/* 8034B518 00348478 38 21 00 50 */ addi r1, r1, 0x50 +/* 8034B51C 0034847C 4E 80 00 20 */ blr + +.global SfxCtrl__9CAudioSysFUlUcUc +SfxCtrl__9CAudioSysFUlUcUc: +/* 8034B520 00348480 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034B524 00348484 7C 08 02 A6 */ mflr r0 +/* 8034B528 00348488 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034B52C 0034848C 48 05 0C 65 */ bl sndFXCtrl +/* 8034B530 00348490 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034B534 00348494 7C 08 03 A6 */ mtlr r0 +/* 8034B538 00348498 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034B53C 0034849C 4E 80 00 20 */ blr + +.global SfxPitchBend__9CAudioSysFUlUs +SfxPitchBend__9CAudioSysFUlUs: +/* 8034B540 003484A0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034B544 003484A4 7C 08 02 A6 */ mflr r0 +/* 8034B548 003484A8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034B54C 003484AC 7C 80 23 78 */ mr r0, r4 +/* 8034B550 003484B0 38 80 00 80 */ li r4, 0x80 +/* 8034B554 003484B4 54 05 04 3E */ clrlwi r5, r0, 0x10 +/* 8034B558 003484B8 48 05 0C 99 */ bl sndFXCtrl14 +/* 8034B55C 003484BC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034B560 003484C0 7C 08 03 A6 */ mtlr r0 +/* 8034B564 003484C4 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034B568 003484C8 4E 80 00 20 */ blr + +.global SfxVolume__9CAudioSysFUlUc +SfxVolume__9CAudioSysFUlUc: +/* 8034B56C 003484CC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034B570 003484D0 7C 08 02 A6 */ mflr r0 +/* 8034B574 003484D4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034B578 003484D8 7C 80 23 78 */ mr r0, r4 +/* 8034B57C 003484DC 38 80 00 07 */ li r4, 7 +/* 8034B580 003484E0 54 05 06 3E */ clrlwi r5, r0, 0x18 +/* 8034B584 003484E4 48 05 0C 0D */ bl sndFXCtrl +/* 8034B588 003484E8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034B58C 003484EC 7C 08 03 A6 */ mtlr r0 +/* 8034B590 003484F0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034B594 003484F4 4E 80 00 20 */ blr + +.global SfxSpan__9CAudioSysFUlUc +SfxSpan__9CAudioSysFUlUc: +/* 8034B598 003484F8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034B59C 003484FC 7C 08 02 A6 */ mflr r0 +/* 8034B5A0 00348500 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034B5A4 00348504 7C 80 23 78 */ mr r0, r4 +/* 8034B5A8 00348508 38 80 00 83 */ li r4, 0x83 +/* 8034B5AC 0034850C 54 05 06 3E */ clrlwi r5, r0, 0x18 +/* 8034B5B0 00348510 48 05 0B E1 */ bl sndFXCtrl +/* 8034B5B4 00348514 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034B5B8 00348518 7C 08 03 A6 */ mtlr r0 +/* 8034B5BC 0034851C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034B5C0 00348520 4E 80 00 20 */ blr + +.global SfxCheck__9CAudioSysFUl +SfxCheck__9CAudioSysFUl: +/* 8034B5C4 00348524 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034B5C8 00348528 7C 08 02 A6 */ mflr r0 +/* 8034B5CC 0034852C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034B5D0 00348530 48 05 0D 45 */ bl sndFXCheck +/* 8034B5D4 00348534 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034B5D8 00348538 7C 08 03 A6 */ mtlr r0 +/* 8034B5DC 0034853C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034B5E0 00348540 4E 80 00 20 */ blr + +.global SfxStop__9CAudioSysFUl +SfxStop__9CAudioSysFUl: +/* 8034B5E4 00348544 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034B5E8 00348548 7C 08 02 A6 */ mflr r0 +/* 8034B5EC 0034854C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034B5F0 00348550 48 05 0C 61 */ bl sndFXKeyOff +/* 8034B5F4 00348554 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034B5F8 00348558 7C 08 03 A6 */ mtlr r0 +/* 8034B5FC 0034855C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034B600 00348560 4E 80 00 20 */ blr + +.global SfxStart__9CAudioSysFUsUcUcUc +SfxStart__9CAudioSysFUsUcUcUc: +/* 8034B604 00348564 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034B608 00348568 7C 08 02 A6 */ mflr r0 +/* 8034B60C 0034856C 54 63 04 3E */ clrlwi r3, r3, 0x10 +/* 8034B610 00348570 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034B614 00348574 54 80 06 3E */ clrlwi r0, r4, 0x18 +/* 8034B618 00348578 28 00 00 7F */ cmplwi r0, 0x7f +/* 8034B61C 0034857C 38 80 00 7F */ li r4, 0x7f +/* 8034B620 00348580 A8 ED 9D DA */ lha r7, lbl_805A899A@sda21(r13) +/* 8034B624 00348584 41 81 00 08 */ bgt lbl_8034B62C +/* 8034B628 00348588 7C 04 03 78 */ mr r4, r0 +lbl_8034B62C: +/* 8034B62C 0034858C 7C 07 21 D6 */ mullw r0, r7, r4 +/* 8034B630 00348590 3C 80 81 02 */ lis r4, 0x81020409@ha +/* 8034B634 00348594 54 A5 06 3E */ clrlwi r5, r5, 0x18 +/* 8034B638 00348598 38 84 04 09 */ addi r4, r4, 0x81020409@l +/* 8034B63C 0034859C 54 C6 06 3E */ clrlwi r6, r6, 0x18 +/* 8034B640 003485A0 7C 84 00 96 */ mulhw r4, r4, r0 +/* 8034B644 003485A4 7C 04 02 14 */ add r0, r4, r0 +/* 8034B648 003485A8 7C 00 36 70 */ srawi r0, r0, 6 +/* 8034B64C 003485AC 54 04 0F FE */ srwi r4, r0, 0x1f +/* 8034B650 003485B0 7C 00 22 14 */ add r0, r0, r4 +/* 8034B654 003485B4 54 04 06 3E */ clrlwi r4, r0, 0x18 +/* 8034B658 003485B8 48 05 0C 39 */ bl sndFXStartEx +/* 8034B65C 003485BC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034B660 003485C0 7C 08 03 A6 */ mtlr r0 +/* 8034B664 003485C4 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034B668 003485C8 4E 80 00 20 */ blr + +.global "FindGroupSet__9CAudioSysFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +"FindGroupSet__9CAudioSysFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": +/* 8034B66C 003485CC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8034B670 003485D0 7C 08 02 A6 */ mflr r0 +/* 8034B674 003485D4 7C 85 23 78 */ mr r5, r4 +/* 8034B678 003485D8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8034B67C 003485DC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8034B680 003485E0 7C 7F 1B 78 */ mr r31, r3 +/* 8034B684 003485E4 80 CD A9 D4 */ lwz r6, lbl_805A9594@sda21(r13) +/* 8034B688 003485E8 80 06 00 04 */ lwz r0, 4(r6) +/* 8034B68C 003485EC 2C 00 00 00 */ cmpwi r0, 0 +/* 8034B690 003485F0 41 81 00 20 */ bgt lbl_8034B6B0 +/* 8034B694 003485F4 38 0D A9 28 */ addi r0, r13, lbl_805A94E8@sda21 +/* 8034B698 003485F8 90 1F 00 00 */ stw r0, 0(r31) +/* 8034B69C 003485FC 80 9F 00 00 */ lwz r4, 0(r31) +/* 8034B6A0 00348600 80 64 00 04 */ lwz r3, 4(r4) +/* 8034B6A4 00348604 38 03 00 01 */ addi r0, r3, 1 +/* 8034B6A8 00348608 90 04 00 04 */ stw r0, 4(r4) +/* 8034B6AC 0034860C 48 00 00 7C */ b lbl_8034B728 +lbl_8034B6B0: +/* 8034B6B0 00348610 7C C4 33 78 */ mr r4, r6 +/* 8034B6B4 00348614 38 61 00 10 */ addi r3, r1, 0x10 +/* 8034B6B8 00348618 48 00 00 85 */ bl sub_8034b73c +/* 8034B6BC 0034861C 80 6D A9 D4 */ lwz r3, lbl_805A9594@sda21(r13) +/* 8034B6C0 00348620 38 80 00 00 */ li r4, 0 +/* 8034B6C4 00348624 80 A1 00 10 */ lwz r5, 0x10(r1) +/* 8034B6C8 00348628 38 03 00 08 */ addi r0, r3, 8 +/* 8034B6CC 0034862C 90 81 00 08 */ stw r4, 8(r1) +/* 8034B6D0 00348630 7C 05 20 40 */ cmplw r5, r4 +/* 8034B6D4 00348634 80 61 00 14 */ lwz r3, 0x14(r1) +/* 8034B6D8 00348638 90 01 00 0C */ stw r0, 0xc(r1) +/* 8034B6DC 0034863C 40 82 00 0C */ bne lbl_8034B6E8 +/* 8034B6E0 00348640 7C 03 00 40 */ cmplw r3, r0 +/* 8034B6E4 00348644 41 82 00 08 */ beq lbl_8034B6EC +lbl_8034B6E8: +/* 8034B6E8 00348648 38 80 00 01 */ li r4, 1 +lbl_8034B6EC: +/* 8034B6EC 0034864C 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 8034B6F0 00348650 41 82 00 20 */ beq lbl_8034B710 +/* 8034B6F4 00348654 80 05 00 20 */ lwz r0, 0x20(r5) +/* 8034B6F8 00348658 90 1F 00 00 */ stw r0, 0(r31) +/* 8034B6FC 0034865C 80 9F 00 00 */ lwz r4, 0(r31) +/* 8034B700 00348660 80 64 00 04 */ lwz r3, 4(r4) +/* 8034B704 00348664 38 03 00 01 */ addi r0, r3, 1 +/* 8034B708 00348668 90 04 00 04 */ stw r0, 4(r4) +/* 8034B70C 0034866C 48 00 00 1C */ b lbl_8034B728 +lbl_8034B710: +/* 8034B710 00348670 38 0D A9 28 */ addi r0, r13, lbl_805A94E8@sda21 +/* 8034B714 00348674 90 1F 00 00 */ stw r0, 0(r31) +/* 8034B718 00348678 80 9F 00 00 */ lwz r4, 0(r31) +/* 8034B71C 0034867C 80 64 00 04 */ lwz r3, 4(r4) +/* 8034B720 00348680 38 03 00 01 */ addi r0, r3, 1 +/* 8034B724 00348684 90 04 00 04 */ stw r0, 4(r4) +lbl_8034B728: +/* 8034B728 00348688 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8034B72C 0034868C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8034B730 00348690 7C 08 03 A6 */ mtlr r0 +/* 8034B734 00348694 38 21 00 20 */ addi r1, r1, 0x20 +/* 8034B738 00348698 4E 80 00 20 */ blr + +.global sub_8034b73c +sub_8034b73c: +/* 8034B73C 0034869C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034B740 003486A0 7C 08 02 A6 */ mflr r0 +/* 8034B744 003486A4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034B748 003486A8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034B74C 003486AC 7C 9F 23 78 */ mr r31, r4 +/* 8034B750 003486B0 7C A4 2B 78 */ mr r4, r5 +/* 8034B754 003486B4 93 C1 00 08 */ stw r30, 8(r1) +/* 8034B758 003486B8 7C 7E 1B 78 */ mr r30, r3 +/* 8034B75C 003486BC 7F E3 FB 78 */ mr r3, r31 +/* 8034B760 003486C0 48 00 00 29 */ bl sub_8034b788 +/* 8034B764 003486C4 90 7E 00 00 */ stw r3, 0(r30) +/* 8034B768 003486C8 38 1F 00 08 */ addi r0, r31, 8 +/* 8034B76C 003486CC 90 1E 00 04 */ stw r0, 4(r30) +/* 8034B770 003486D0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034B774 003486D4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034B778 003486D8 83 C1 00 08 */ lwz r30, 8(r1) +/* 8034B77C 003486DC 7C 08 03 A6 */ mtlr r0 +/* 8034B780 003486E0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034B784 003486E4 4E 80 00 20 */ blr + +.global sub_8034b788 +sub_8034b788: +/* 8034B788 003486E8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8034B78C 003486EC 7C 08 02 A6 */ mflr r0 +/* 8034B790 003486F0 90 01 00 24 */ stw r0, 0x24(r1) +/* 8034B794 003486F4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8034B798 003486F8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8034B79C 003486FC 3B C0 00 00 */ li r30, 0 +/* 8034B7A0 00348700 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8034B7A4 00348704 7C 9D 23 78 */ mr r29, r4 +/* 8034B7A8 00348708 93 81 00 10 */ stw r28, 0x10(r1) +/* 8034B7AC 0034870C 7C 7C 1B 78 */ mr r28, r3 +/* 8034B7B0 00348710 83 E3 00 10 */ lwz r31, 0x10(r3) +/* 8034B7B4 00348714 48 00 00 2C */ b lbl_8034B7E0 +lbl_8034B7B8: +/* 8034B7B8 00348718 7F A5 EB 78 */ mr r5, r29 +/* 8034B7BC 0034871C 38 7C 00 01 */ addi r3, r28, 1 +/* 8034B7C0 00348720 38 9F 00 10 */ addi r4, r31, 0x10 +/* 8034B7C4 00348724 4B CD EF 65 */ bl "__cl__Q24rstl140select1st,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>>CFRCQ24rstl119pair,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>" +/* 8034B7C8 00348728 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8034B7CC 0034872C 40 82 00 10 */ bne lbl_8034B7DC +/* 8034B7D0 00348730 7F FE FB 78 */ mr r30, r31 +/* 8034B7D4 00348734 83 FF 00 00 */ lwz r31, 0(r31) +/* 8034B7D8 00348738 48 00 00 08 */ b lbl_8034B7E0 +lbl_8034B7DC: +/* 8034B7DC 0034873C 83 FF 00 04 */ lwz r31, 4(r31) +lbl_8034B7E0: +/* 8034B7E0 00348740 28 1F 00 00 */ cmplwi r31, 0 +/* 8034B7E4 00348744 40 82 FF D4 */ bne lbl_8034B7B8 +/* 8034B7E8 00348748 28 1E 00 00 */ cmplwi r30, 0 +/* 8034B7EC 0034874C 3B E0 00 00 */ li r31, 0 +/* 8034B7F0 00348750 41 82 00 1C */ beq lbl_8034B80C +/* 8034B7F4 00348754 7F A4 EB 78 */ mr r4, r29 +/* 8034B7F8 00348758 38 7C 00 01 */ addi r3, r28, 1 +/* 8034B7FC 0034875C 38 BE 00 10 */ addi r5, r30, 0x10 +/* 8034B800 00348760 4B CD EF 29 */ bl "__cl__Q24rstl140select1st,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>>CFRCQ24rstl119pair,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>" +/* 8034B804 00348764 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8034B808 00348768 41 82 00 08 */ beq lbl_8034B810 +lbl_8034B80C: +/* 8034B80C 0034876C 3B E0 00 01 */ li r31, 1 +lbl_8034B810: +/* 8034B810 00348770 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 8034B814 00348774 41 82 00 0C */ beq lbl_8034B820 +/* 8034B818 00348778 38 60 00 00 */ li r3, 0 +/* 8034B81C 0034877C 48 00 00 08 */ b lbl_8034B824 +lbl_8034B820: +/* 8034B820 00348780 7F C3 F3 78 */ mr r3, r30 +lbl_8034B824: +/* 8034B824 00348784 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8034B828 00348788 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8034B82C 0034878C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8034B830 00348790 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8034B834 00348794 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8034B838 00348798 7C 08 03 A6 */ mtlr r0 +/* 8034B83C 0034879C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8034B840 003487A0 4E 80 00 20 */ blr + +.global SysGetGroupSetName__9CAudioSysFUi +SysGetGroupSetName__9CAudioSysFUi: +/* 8034B844 003487A4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8034B848 003487A8 38 A0 00 00 */ li r5, 0 +/* 8034B84C 003487AC 80 CD A9 D8 */ lwz r6, lbl_805A9598@sda21(r13) +/* 8034B850 003487B0 80 86 00 10 */ lwz r4, 0x10(r6) +/* 8034B854 003487B4 48 00 00 20 */ b lbl_8034B874 +lbl_8034B858: +/* 8034B858 003487B8 80 04 00 10 */ lwz r0, 0x10(r4) +/* 8034B85C 003487BC 7C 00 18 40 */ cmplw r0, r3 +/* 8034B860 003487C0 41 80 00 10 */ blt lbl_8034B870 +/* 8034B864 003487C4 7C 85 23 78 */ mr r5, r4 +/* 8034B868 003487C8 80 84 00 00 */ lwz r4, 0(r4) +/* 8034B86C 003487CC 48 00 00 08 */ b lbl_8034B874 +lbl_8034B870: +/* 8034B870 003487D0 80 84 00 04 */ lwz r4, 4(r4) +lbl_8034B874: +/* 8034B874 003487D4 28 04 00 00 */ cmplwi r4, 0 +/* 8034B878 003487D8 40 82 FF E0 */ bne lbl_8034B858 +/* 8034B87C 003487DC 28 05 00 00 */ cmplwi r5, 0 +/* 8034B880 003487E0 38 80 00 00 */ li r4, 0 +/* 8034B884 003487E4 41 82 00 10 */ beq lbl_8034B894 +/* 8034B888 003487E8 80 05 00 10 */ lwz r0, 0x10(r5) +/* 8034B88C 003487EC 7C 03 00 40 */ cmplw r3, r0 +/* 8034B890 003487F0 40 80 00 08 */ bge lbl_8034B898 +lbl_8034B894: +/* 8034B894 003487F4 38 80 00 01 */ li r4, 1 +lbl_8034B898: +/* 8034B898 003487F8 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 8034B89C 003487FC 41 82 00 08 */ beq lbl_8034B8A4 +/* 8034B8A0 00348800 38 A0 00 00 */ li r5, 0 +lbl_8034B8A4: +/* 8034B8A4 00348804 38 00 00 00 */ li r0, 0 +/* 8034B8A8 00348808 38 66 00 08 */ addi r3, r6, 8 +/* 8034B8AC 0034880C 7C 05 00 40 */ cmplw r5, r0 +/* 8034B8B0 00348810 90 A1 00 10 */ stw r5, 0x10(r1) +/* 8034B8B4 00348814 90 61 00 14 */ stw r3, 0x14(r1) +/* 8034B8B8 00348818 90 01 00 08 */ stw r0, 8(r1) +/* 8034B8BC 0034881C 90 61 00 0C */ stw r3, 0xc(r1) +/* 8034B8C0 00348820 40 82 00 0C */ bne lbl_8034B8CC +/* 8034B8C4 00348824 7C 03 18 40 */ cmplw r3, r3 +/* 8034B8C8 00348828 41 82 00 08 */ beq lbl_8034B8D0 +lbl_8034B8CC: +/* 8034B8CC 0034882C 38 00 00 01 */ li r0, 1 +lbl_8034B8D0: +/* 8034B8D0 00348830 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 8034B8D4 00348834 41 82 00 0C */ beq lbl_8034B8E0 +/* 8034B8D8 00348838 38 65 00 14 */ addi r3, r5, 0x14 +/* 8034B8DC 0034883C 48 00 00 0C */ b lbl_8034B8E8 +lbl_8034B8E0: +/* 8034B8E0 00348840 3C 60 80 5A */ lis r3, lbl_805A67CC@ha +/* 8034B8E4 00348844 38 63 67 CC */ addi r3, r3, lbl_805A67CC@l +lbl_8034B8E8: +/* 8034B8E8 00348848 38 21 00 20 */ addi r1, r1, 0x20 +/* 8034B8EC 0034884C 4E 80 00 20 */ blr + +.global SysPopGroupFromARAM__9CAudioSysFv +SysPopGroupFromARAM__9CAudioSysFv: +/* 8034B8F0 00348850 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034B8F4 00348854 7C 08 02 A6 */ mflr r0 +/* 8034B8F8 00348858 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034B8FC 0034885C 48 05 EE 5D */ bl sndPopGroup +/* 8034B900 00348860 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034B904 00348864 7C 08 03 A6 */ mtlr r0 +/* 8034B908 00348868 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034B90C 0034886C 4E 80 00 20 */ blr + +.global "SysPushGroupIntoARAM__9CAudioSysFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Uc" +"SysPushGroupIntoARAM__9CAudioSysFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Uc": +/* 8034B910 00348870 94 21 EF B0 */ stwu r1, -0x1050(r1) +/* 8034B914 00348874 7C 08 02 A6 */ mflr r0 +/* 8034B918 00348878 90 01 10 54 */ stw r0, 0x1054(r1) +/* 8034B91C 0034887C BF 61 10 3C */ stmw r27, 0x103c(r1) +/* 8034B920 00348880 7C 9B 23 78 */ mr r27, r4 +/* 8034B924 00348884 7C 64 1B 78 */ mr r4, r3 +/* 8034B928 00348888 38 61 00 08 */ addi r3, r1, 8 +/* 8034B92C 0034888C 4B FF FD 41 */ bl "FindGroupSet__9CAudioSysFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8034B930 00348890 80 A1 00 08 */ lwz r5, 8(r1) +/* 8034B934 00348894 38 61 00 08 */ addi r3, r1, 8 +/* 8034B938 00348898 90 A1 00 0C */ stw r5, 0xc(r1) +/* 8034B93C 0034889C 80 85 00 04 */ lwz r4, 4(r5) +/* 8034B940 003488A0 38 04 00 01 */ addi r0, r4, 1 +/* 8034B944 003488A4 90 05 00 04 */ stw r0, 4(r5) +/* 8034B948 003488A8 48 00 10 91 */ bl sub_8034c9d8 +/* 8034B94C 003488AC 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8034B950 003488B0 80 63 00 00 */ lwz r3, 0(r3) +/* 8034B954 003488B4 28 03 00 00 */ cmplwi r3, 0 +/* 8034B958 003488B8 41 82 00 70 */ beq lbl_8034B9C8 +/* 8034B95C 003488BC 80 A3 00 28 */ lwz r5, 0x28(r3) +/* 8034B960 003488C0 38 01 00 2F */ addi r0, r1, 0x2f +/* 8034B964 003488C4 3C 60 80 35 */ lis r3, sub_8034b9e8@ha +/* 8034B968 003488C8 38 80 10 00 */ li r4, 0x1000 +/* 8034B96C 003488CC 83 E5 00 38 */ lwz r31, 0x38(r5) +/* 8034B970 003488D0 54 00 00 34 */ rlwinm r0, r0, 0, 0, 0x1a +/* 8034B974 003488D4 83 C5 00 40 */ lwz r30, 0x40(r5) +/* 8034B978 003488D8 38 63 B9 E8 */ addi r3, r3, sub_8034b9e8@l +/* 8034B97C 003488DC 83 A5 00 3C */ lwz r29, 0x3c(r5) +/* 8034B980 003488E0 83 85 00 34 */ lwz r28, 0x34(r5) +/* 8034B984 003488E4 90 0D A9 FC */ stw r0, lbl_805A95BC@sda21(r13) +/* 8034B988 003488E8 48 05 EA 85 */ bl sndSetSampleDataUploadCallback +/* 8034B98C 003488EC 7F E3 FB 78 */ mr r3, r31 +/* 8034B990 003488F0 7F C5 F3 78 */ mr r5, r30 +/* 8034B994 003488F4 7F A6 EB 78 */ mr r6, r29 +/* 8034B998 003488F8 7F 87 E3 78 */ mr r7, r28 +/* 8034B99C 003488FC 57 64 06 3E */ clrlwi r4, r27, 0x18 +/* 8034B9A0 00348900 48 05 EA 8D */ bl sndPushGroup +/* 8034B9A4 00348904 7C 7F 1B 78 */ mr r31, r3 +/* 8034B9A8 00348908 38 60 00 00 */ li r3, 0 +/* 8034B9AC 0034890C 38 80 00 00 */ li r4, 0 +/* 8034B9B0 00348910 48 05 EA 5D */ bl sndSetSampleDataUploadCallback +/* 8034B9B4 00348914 57 FF 06 3E */ clrlwi r31, r31, 0x18 +/* 8034B9B8 00348918 38 61 00 0C */ addi r3, r1, 0xc +/* 8034B9BC 0034891C 48 00 10 1D */ bl sub_8034c9d8 +/* 8034B9C0 00348920 7F E3 FB 78 */ mr r3, r31 +/* 8034B9C4 00348924 48 00 00 10 */ b lbl_8034B9D4 +lbl_8034B9C8: +/* 8034B9C8 00348928 38 61 00 0C */ addi r3, r1, 0xc +/* 8034B9CC 0034892C 48 00 10 0D */ bl sub_8034c9d8 +/* 8034B9D0 00348930 38 60 00 00 */ li r3, 0 +lbl_8034B9D4: +/* 8034B9D4 00348934 BB 61 10 3C */ lmw r27, 0x103c(r1) +/* 8034B9D8 00348938 80 01 10 54 */ lwz r0, 0x1054(r1) +/* 8034B9DC 0034893C 7C 08 03 A6 */ mtlr r0 +/* 8034B9E0 00348940 38 21 10 50 */ addi r1, r1, 0x1050 +/* 8034B9E4 00348944 4E 80 00 20 */ blr + +.global sub_8034b9e8 +sub_8034b9e8: +/* 8034B9E8 00348948 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8034B9EC 0034894C 7C 08 02 A6 */ mflr r0 +/* 8034B9F0 00348950 90 01 00 24 */ stw r0, 0x24(r1) +/* 8034B9F4 00348954 38 00 00 01 */ li r0, 1 +/* 8034B9F8 00348958 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8034B9FC 0034895C 7C 9F 23 78 */ mr r31, r4 +/* 8034BA00 00348960 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8034BA04 00348964 7C 7E 1B 78 */ mr r30, r3 +/* 8034BA08 00348968 98 01 00 08 */ stb r0, 8(r1) +/* 8034BA0C 0034896C 48 00 00 18 */ b lbl_8034BA24 +lbl_8034BA10: +/* 8034BA10 00348970 48 02 1E D9 */ bl ARGetDMAStatus +/* 8034BA14 00348974 7C 03 00 D0 */ neg r0, r3 +/* 8034BA18 00348978 7C 00 1B 78 */ or r0, r0, r3 +/* 8034BA1C 0034897C 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8034BA20 00348980 98 01 00 08 */ stb r0, 8(r1) +lbl_8034BA24: +/* 8034BA24 00348984 88 01 00 08 */ lbz r0, 8(r1) +/* 8034BA28 00348988 28 00 00 00 */ cmplwi r0, 0 +/* 8034BA2C 0034898C 40 82 FF E4 */ bne lbl_8034BA10 +/* 8034BA30 00348990 80 6D A9 FC */ lwz r3, lbl_805A95BC@sda21(r13) +/* 8034BA34 00348994 7F C4 F3 78 */ mr r4, r30 +/* 8034BA38 00348998 7F E5 FB 78 */ mr r5, r31 +/* 8034BA3C 0034899C 4B CB 7A 55 */ bl memcpy +/* 8034BA40 003489A0 80 6D A9 FC */ lwz r3, lbl_805A95BC@sda21(r13) +/* 8034BA44 003489A4 7F E4 FB 78 */ mr r4, r31 +/* 8034BA48 003489A8 48 03 30 69 */ bl DCFlushRange +/* 8034BA4C 003489AC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8034BA50 003489B0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8034BA54 003489B4 80 6D A9 FC */ lwz r3, lbl_805A95BC@sda21(r13) +/* 8034BA58 003489B8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8034BA5C 003489BC 7C 08 03 A6 */ mtlr r0 +/* 8034BA60 003489C0 38 21 00 20 */ addi r1, r1, 0x20 +/* 8034BA64 003489C4 4E 80 00 20 */ blr + +.global "SysUnloadGroupSet__9CAudioSysFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +"SysUnloadGroupSet__9CAudioSysFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": +/* 8034BA68 003489C8 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8034BA6C 003489CC 7C 08 02 A6 */ mflr r0 +/* 8034BA70 003489D0 90 01 00 44 */ stw r0, 0x44(r1) +/* 8034BA74 003489D4 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 8034BA78 003489D8 7C 7F 1B 78 */ mr r31, r3 +/* 8034BA7C 003489DC 38 61 00 08 */ addi r3, r1, 8 +/* 8034BA80 003489E0 93 C1 00 38 */ stw r30, 0x38(r1) +/* 8034BA84 003489E4 7F E4 FB 78 */ mr r4, r31 +/* 8034BA88 003489E8 93 A1 00 34 */ stw r29, 0x34(r1) +/* 8034BA8C 003489EC 4B FF FB E1 */ bl "FindGroupSet__9CAudioSysFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8034BA90 003489F0 80 A1 00 08 */ lwz r5, 8(r1) +/* 8034BA94 003489F4 38 61 00 08 */ addi r3, r1, 8 +/* 8034BA98 003489F8 90 A1 00 0C */ stw r5, 0xc(r1) +/* 8034BA9C 003489FC 80 85 00 04 */ lwz r4, 4(r5) +/* 8034BAA0 00348A00 38 04 00 01 */ addi r0, r4, 1 +/* 8034BAA4 00348A04 90 05 00 04 */ stw r0, 4(r5) +/* 8034BAA8 00348A08 48 00 0F 31 */ bl sub_8034c9d8 +/* 8034BAAC 00348A0C 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8034BAB0 00348A10 80 03 00 00 */ lwz r0, 0(r3) +/* 8034BAB4 00348A14 28 00 00 00 */ cmplwi r0, 0 +/* 8034BAB8 00348A18 41 82 01 24 */ beq lbl_8034BBDC +/* 8034BABC 00348A1C 80 6D A9 D8 */ lwz r3, lbl_805A9598@sda21(r13) +/* 8034BAC0 00348A20 84 03 00 08 */ lwzu r0, 8(r3) +/* 8034BAC4 00348A24 90 61 00 24 */ stw r3, 0x24(r1) +/* 8034BAC8 00348A28 90 01 00 20 */ stw r0, 0x20(r1) +/* 8034BACC 00348A2C 48 00 00 A0 */ b lbl_8034BB6C +lbl_8034BAD0: +/* 8034BAD0 00348A30 7F E4 FB 78 */ mr r4, r31 +/* 8034BAD4 00348A34 38 65 00 14 */ addi r3, r5, 0x14 +/* 8034BAD8 00348A38 4B D0 6B 09 */ 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" +/* 8034BADC 00348A3C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8034BAE0 00348A40 41 82 00 7C */ beq lbl_8034BB5C +/* 8034BAE4 00348A44 83 A1 00 20 */ lwz r29, 0x20(r1) +/* 8034BAE8 00348A48 80 61 00 24 */ lwz r3, 0x24(r1) +/* 8034BAEC 00348A4C 93 A1 00 18 */ stw r29, 0x18(r1) +/* 8034BAF0 00348A50 7F A4 EB 78 */ mr r4, r29 +/* 8034BAF4 00348A54 83 CD A9 D8 */ lwz r30, lbl_805A9598@sda21(r13) +/* 8034BAF8 00348A58 90 61 00 1C */ stw r3, 0x1c(r1) +/* 8034BAFC 00348A5C 4B FF 0A E5 */ bl rbtree_traverse_forward__4rstlFPCvPv +/* 8034BB00 00348A60 90 61 00 18 */ stw r3, 0x18(r1) +/* 8034BB04 00348A64 7F A4 EB 78 */ mr r4, r29 +/* 8034BB08 00348A68 38 7E 00 08 */ addi r3, r30, 8 +/* 8034BB0C 00348A6C 4B FF 0B 71 */ bl rbtree_rebalance_for_erase__4rstlFPvPv +/* 8034BB10 00348A70 7C 7D 1B 79 */ or. r29, r3, r3 +/* 8034BB14 00348A74 41 82 00 18 */ beq lbl_8034BB2C +/* 8034BB18 00348A78 34 1D 00 10 */ addic. r0, r29, 0x10 +/* 8034BB1C 00348A7C 41 82 00 10 */ beq lbl_8034BB2C +/* 8034BB20 00348A80 34 7D 00 14 */ addic. r3, r29, 0x14 +/* 8034BB24 00348A84 41 82 00 08 */ beq lbl_8034BB2C +/* 8034BB28 00348A88 4B FF 1F B9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8034BB2C: +/* 8034BB2C 00348A8C 28 1D 00 00 */ cmplwi r29, 0 +/* 8034BB30 00348A90 41 82 00 0C */ beq lbl_8034BB3C +/* 8034BB34 00348A94 7F A3 EB 78 */ mr r3, r29 +/* 8034BB38 00348A98 4B FC 9D F9 */ bl Free__7CMemoryFPCv +lbl_8034BB3C: +/* 8034BB3C 00348A9C 80 9E 00 04 */ lwz r4, 4(r30) +/* 8034BB40 00348AA0 80 61 00 18 */ lwz r3, 0x18(r1) +/* 8034BB44 00348AA4 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 8034BB48 00348AA8 38 84 FF FF */ addi r4, r4, -1 +/* 8034BB4C 00348AAC 90 9E 00 04 */ stw r4, 4(r30) +/* 8034BB50 00348AB0 90 61 00 20 */ stw r3, 0x20(r1) +/* 8034BB54 00348AB4 90 01 00 24 */ stw r0, 0x24(r1) +/* 8034BB58 00348AB8 48 00 00 14 */ b lbl_8034BB6C +lbl_8034BB5C: +/* 8034BB5C 00348ABC 80 61 00 24 */ lwz r3, 0x24(r1) +/* 8034BB60 00348AC0 80 81 00 20 */ lwz r4, 0x20(r1) +/* 8034BB64 00348AC4 4B FF 0A 7D */ bl rbtree_traverse_forward__4rstlFPCvPv +/* 8034BB68 00348AC8 90 61 00 20 */ stw r3, 0x20(r1) +lbl_8034BB6C: +/* 8034BB6C 00348ACC 80 6D A9 D8 */ lwz r3, lbl_805A9598@sda21(r13) +/* 8034BB70 00348AD0 38 80 00 00 */ li r4, 0 +/* 8034BB74 00348AD4 80 A1 00 20 */ lwz r5, 0x20(r1) +/* 8034BB78 00348AD8 38 63 00 08 */ addi r3, r3, 8 +/* 8034BB7C 00348ADC 90 81 00 10 */ stw r4, 0x10(r1) +/* 8034BB80 00348AE0 7C 05 20 40 */ cmplw r5, r4 +/* 8034BB84 00348AE4 90 61 00 14 */ stw r3, 0x14(r1) +/* 8034BB88 00348AE8 40 82 00 10 */ bne lbl_8034BB98 +/* 8034BB8C 00348AEC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8034BB90 00348AF0 7C 00 18 40 */ cmplw r0, r3 +/* 8034BB94 00348AF4 41 82 00 08 */ beq lbl_8034BB9C +lbl_8034BB98: +/* 8034BB98 00348AF8 38 80 00 01 */ li r4, 1 +lbl_8034BB9C: +/* 8034BB9C 00348AFC 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 8034BBA0 00348B00 40 82 FF 30 */ bne lbl_8034BAD0 +/* 8034BBA4 00348B04 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8034BBA8 00348B08 7F E4 FB 78 */ mr r4, r31 +/* 8034BBAC 00348B0C 80 0D A9 F4 */ lwz r0, lbl_805A95B4@sda21(r13) +/* 8034BBB0 00348B10 80 A3 00 00 */ lwz r5, 0(r3) +/* 8034BBB4 00348B14 80 6D A9 D4 */ lwz r3, lbl_805A9594@sda21(r13) +/* 8034BBB8 00348B18 80 A5 00 28 */ lwz r5, 0x28(r5) +/* 8034BBBC 00348B1C 80 A5 00 30 */ lwz r5, 0x30(r5) +/* 8034BBC0 00348B20 7C 05 00 50 */ subf r0, r5, r0 +/* 8034BBC4 00348B24 90 0D A9 F4 */ stw r0, lbl_805A95B4@sda21(r13) +/* 8034BBC8 00348B28 48 00 00 3D */ bl sub_8034bc04 +/* 8034BBCC 00348B2C 38 61 00 0C */ addi r3, r1, 0xc +/* 8034BBD0 00348B30 48 00 0E 09 */ bl sub_8034c9d8 +/* 8034BBD4 00348B34 38 60 00 01 */ li r3, 1 +/* 8034BBD8 00348B38 48 00 00 10 */ b lbl_8034BBE8 +lbl_8034BBDC: +/* 8034BBDC 00348B3C 38 61 00 0C */ addi r3, r1, 0xc +/* 8034BBE0 00348B40 48 00 0D F9 */ bl sub_8034c9d8 +/* 8034BBE4 00348B44 38 60 00 00 */ li r3, 0 +lbl_8034BBE8: +/* 8034BBE8 00348B48 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8034BBEC 00348B4C 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 8034BBF0 00348B50 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 8034BBF4 00348B54 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 8034BBF8 00348B58 7C 08 03 A6 */ mtlr r0 +/* 8034BBFC 00348B5C 38 21 00 40 */ addi r1, r1, 0x40 +/* 8034BC00 00348B60 4E 80 00 20 */ blr + +.global sub_8034bc04 +sub_8034bc04: +/* 8034BC04 00348B64 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 8034BC08 00348B68 7C 08 02 A6 */ mflr r0 +/* 8034BC0C 00348B6C 7C 85 23 78 */ mr r5, r4 +/* 8034BC10 00348B70 90 01 00 84 */ stw r0, 0x84(r1) +/* 8034BC14 00348B74 BF 61 00 6C */ stmw r27, 0x6c(r1) +/* 8034BC18 00348B78 7C 7F 1B 78 */ mr r31, r3 +/* 8034BC1C 00348B7C 7F E4 FB 78 */ mr r4, r31 +/* 8034BC20 00348B80 38 61 00 40 */ addi r3, r1, 0x40 +/* 8034BC24 00348B84 48 00 01 A9 */ bl sub_8034bdcc +/* 8034BC28 00348B88 80 E1 00 40 */ lwz r7, 0x40(r1) +/* 8034BC2C 00348B8C 38 61 00 30 */ addi r3, r1, 0x30 +/* 8034BC30 00348B90 80 C1 00 44 */ lwz r6, 0x44(r1) +/* 8034BC34 00348B94 38 81 00 28 */ addi r4, r1, 0x28 +/* 8034BC38 00348B98 80 A1 00 48 */ lwz r5, 0x48(r1) +/* 8034BC3C 00348B9C 80 01 00 4C */ lwz r0, 0x4c(r1) +/* 8034BC40 00348BA0 90 E1 00 50 */ stw r7, 0x50(r1) +/* 8034BC44 00348BA4 90 C1 00 54 */ stw r6, 0x54(r1) +/* 8034BC48 00348BA8 90 A1 00 58 */ stw r5, 0x58(r1) +/* 8034BC4C 00348BAC 90 01 00 5C */ stw r0, 0x5c(r1) +/* 8034BC50 00348BB0 90 A1 00 28 */ stw r5, 0x28(r1) +/* 8034BC54 00348BB4 90 01 00 2C */ stw r0, 0x2c(r1) +/* 8034BC58 00348BB8 90 E1 00 30 */ stw r7, 0x30(r1) +/* 8034BC5C 00348BBC 90 C1 00 34 */ stw r6, 0x34(r1) +/* 8034BC60 00348BC0 48 00 0F 91 */ bl sub_8034cbf0 +/* 8034BC64 00348BC4 83 C1 00 54 */ lwz r30, 0x54(r1) +/* 8034BC68 00348BC8 7C 7B 1B 78 */ mr r27, r3 +/* 8034BC6C 00348BCC 80 01 00 50 */ lwz r0, 0x50(r1) +/* 8034BC70 00348BD0 93 C1 00 3C */ stw r30, 0x3c(r1) +/* 8034BC74 00348BD4 83 A1 00 58 */ lwz r29, 0x58(r1) +/* 8034BC78 00348BD8 90 01 00 38 */ stw r0, 0x38(r1) +/* 8034BC7C 00348BDC 83 81 00 5C */ lwz r28, 0x5c(r1) +/* 8034BC80 00348BE0 48 00 00 44 */ b lbl_8034BCC4 +lbl_8034BC84: +/* 8034BC84 00348BE4 90 81 00 08 */ stw r4, 8(r1) +/* 8034BC88 00348BE8 7F C3 F3 78 */ mr r3, r30 +/* 8034BC8C 00348BEC 80 81 00 38 */ lwz r4, 0x38(r1) +/* 8034BC90 00348BF0 93 C1 00 0C */ stw r30, 0xc(r1) +/* 8034BC94 00348BF4 4B FF 09 4D */ bl rbtree_traverse_forward__4rstlFPCvPv +/* 8034BC98 00348BF8 80 C1 00 08 */ lwz r6, 8(r1) +/* 8034BC9C 00348BFC 7F C0 F3 78 */ mr r0, r30 +/* 8034BCA0 00348C00 90 61 00 38 */ stw r3, 0x38(r1) +/* 8034BCA4 00348C04 7F E4 FB 78 */ mr r4, r31 +/* 8034BCA8 00348C08 38 A1 00 18 */ addi r5, r1, 0x18 +/* 8034BCAC 00348C0C 38 61 00 20 */ addi r3, r1, 0x20 +/* 8034BCB0 00348C10 90 C1 00 10 */ stw r6, 0x10(r1) +/* 8034BCB4 00348C14 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034BCB8 00348C18 90 C1 00 18 */ stw r6, 0x18(r1) +/* 8034BCBC 00348C1C 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8034BCC0 00348C20 48 00 00 45 */ bl sub_8034bd04 +lbl_8034BCC4: +/* 8034BCC4 00348C24 80 81 00 38 */ lwz r4, 0x38(r1) +/* 8034BCC8 00348C28 38 60 00 00 */ li r3, 0 +/* 8034BCCC 00348C2C 7C 04 E8 40 */ cmplw r4, r29 +/* 8034BCD0 00348C30 40 82 00 10 */ bne lbl_8034BCE0 +/* 8034BCD4 00348C34 80 01 00 3C */ lwz r0, 0x3c(r1) +/* 8034BCD8 00348C38 7C 00 E0 40 */ cmplw r0, r28 +/* 8034BCDC 00348C3C 41 82 00 08 */ beq lbl_8034BCE4 +lbl_8034BCE0: +/* 8034BCE0 00348C40 38 60 00 01 */ li r3, 1 +lbl_8034BCE4: +/* 8034BCE4 00348C44 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8034BCE8 00348C48 40 82 FF 9C */ bne lbl_8034BC84 +/* 8034BCEC 00348C4C 7F 63 DB 78 */ mr r3, r27 +/* 8034BCF0 00348C50 BB 61 00 6C */ lmw r27, 0x6c(r1) +/* 8034BCF4 00348C54 80 01 00 84 */ lwz r0, 0x84(r1) +/* 8034BCF8 00348C58 7C 08 03 A6 */ mtlr r0 +/* 8034BCFC 00348C5C 38 21 00 80 */ addi r1, r1, 0x80 +/* 8034BD00 00348C60 4E 80 00 20 */ blr + +.global sub_8034bd04 +sub_8034bd04: +/* 8034BD04 00348C64 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8034BD08 00348C68 7C 08 02 A6 */ mflr r0 +/* 8034BD0C 00348C6C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8034BD10 00348C70 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8034BD14 00348C74 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8034BD18 00348C78 7C BE 2B 78 */ mr r30, r5 +/* 8034BD1C 00348C7C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8034BD20 00348C80 7C 9D 23 78 */ mr r29, r4 +/* 8034BD24 00348C84 93 81 00 10 */ stw r28, 0x10(r1) +/* 8034BD28 00348C88 7C 7C 1B 78 */ mr r28, r3 +/* 8034BD2C 00348C8C 83 E5 00 00 */ lwz r31, 0(r5) +/* 8034BD30 00348C90 80 65 00 04 */ lwz r3, 4(r5) +/* 8034BD34 00348C94 7F E4 FB 78 */ mr r4, r31 +/* 8034BD38 00348C98 4B FF 08 A9 */ bl rbtree_traverse_forward__4rstlFPCvPv +/* 8034BD3C 00348C9C 90 7E 00 00 */ stw r3, 0(r30) +/* 8034BD40 00348CA0 7F E4 FB 78 */ mr r4, r31 +/* 8034BD44 00348CA4 38 7D 00 08 */ addi r3, r29, 8 +/* 8034BD48 00348CA8 4B FF 09 35 */ bl rbtree_rebalance_for_erase__4rstlFPvPv +/* 8034BD4C 00348CAC 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8034BD50 00348CB0 41 82 00 30 */ beq lbl_8034BD80 +/* 8034BD54 00348CB4 34 1F 00 10 */ addic. r0, r31, 0x10 +/* 8034BD58 00348CB8 41 82 00 28 */ beq lbl_8034BD80 +/* 8034BD5C 00348CBC 34 7F 00 20 */ addic. r3, r31, 0x20 +/* 8034BD60 00348CC0 41 82 00 10 */ beq lbl_8034BD70 +/* 8034BD64 00348CC4 28 03 00 00 */ cmplwi r3, 0 +/* 8034BD68 00348CC8 41 82 00 08 */ beq lbl_8034BD70 +/* 8034BD6C 00348CCC 48 00 0C 6D */ bl sub_8034c9d8 +lbl_8034BD70: +/* 8034BD70 00348CD0 34 1F 00 10 */ addic. r0, r31, 0x10 +/* 8034BD74 00348CD4 41 82 00 0C */ beq lbl_8034BD80 +/* 8034BD78 00348CD8 38 7F 00 10 */ addi r3, r31, 0x10 +/* 8034BD7C 00348CDC 4B FF 1D 65 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8034BD80: +/* 8034BD80 00348CE0 28 1F 00 00 */ cmplwi r31, 0 +/* 8034BD84 00348CE4 41 82 00 0C */ beq lbl_8034BD90 +/* 8034BD88 00348CE8 7F E3 FB 78 */ mr r3, r31 +/* 8034BD8C 00348CEC 4B FC 9B A5 */ bl Free__7CMemoryFPCv +lbl_8034BD90: +/* 8034BD90 00348CF0 80 7D 00 04 */ lwz r3, 4(r29) +/* 8034BD94 00348CF4 38 03 FF FF */ addi r0, r3, -1 +/* 8034BD98 00348CF8 90 1D 00 04 */ stw r0, 4(r29) +/* 8034BD9C 00348CFC 80 1E 00 00 */ lwz r0, 0(r30) +/* 8034BDA0 00348D00 90 1C 00 00 */ stw r0, 0(r28) +/* 8034BDA4 00348D04 80 1E 00 04 */ lwz r0, 4(r30) +/* 8034BDA8 00348D08 90 1C 00 04 */ stw r0, 4(r28) +/* 8034BDAC 00348D0C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8034BDB0 00348D10 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8034BDB4 00348D14 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8034BDB8 00348D18 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8034BDBC 00348D1C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8034BDC0 00348D20 7C 08 03 A6 */ mtlr r0 +/* 8034BDC4 00348D24 38 21 00 20 */ addi r1, r1, 0x20 +/* 8034BDC8 00348D28 4E 80 00 20 */ blr + +.global sub_8034bdcc +sub_8034bdcc: +/* 8034BDCC 00348D2C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8034BDD0 00348D30 7C 08 02 A6 */ mflr r0 +/* 8034BDD4 00348D34 90 01 00 34 */ stw r0, 0x34(r1) +/* 8034BDD8 00348D38 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8034BDDC 00348D3C 7C BF 2B 78 */ mr r31, r5 +/* 8034BDE0 00348D40 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8034BDE4 00348D44 7C 9E 23 78 */ mr r30, r4 +/* 8034BDE8 00348D48 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8034BDEC 00348D4C 7C 7D 1B 78 */ mr r29, r3 +/* 8034BDF0 00348D50 38 61 00 08 */ addi r3, r1, 8 +/* 8034BDF4 00348D54 48 00 01 21 */ bl sub_8034bf14 +/* 8034BDF8 00348D58 7F C4 F3 78 */ mr r4, r30 +/* 8034BDFC 00348D5C 7F E5 FB 78 */ mr r5, r31 +/* 8034BE00 00348D60 38 61 00 10 */ addi r3, r1, 0x10 +/* 8034BE04 00348D64 48 00 00 41 */ bl sub_8034be44 +/* 8034BE08 00348D68 80 01 00 10 */ lwz r0, 0x10(r1) +/* 8034BE0C 00348D6C 90 1D 00 00 */ stw r0, 0(r29) +/* 8034BE10 00348D70 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034BE14 00348D74 90 1D 00 04 */ stw r0, 4(r29) +/* 8034BE18 00348D78 80 01 00 08 */ lwz r0, 8(r1) +/* 8034BE1C 00348D7C 90 1D 00 08 */ stw r0, 8(r29) +/* 8034BE20 00348D80 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8034BE24 00348D84 90 1D 00 0C */ stw r0, 0xc(r29) +/* 8034BE28 00348D88 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8034BE2C 00348D8C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8034BE30 00348D90 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8034BE34 00348D94 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8034BE38 00348D98 7C 08 03 A6 */ mtlr r0 +/* 8034BE3C 00348D9C 38 21 00 30 */ addi r1, r1, 0x30 +/* 8034BE40 00348DA0 4E 80 00 20 */ blr + +.global sub_8034be44 +sub_8034be44: +/* 8034BE44 00348DA4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034BE48 00348DA8 7C 08 02 A6 */ mflr r0 +/* 8034BE4C 00348DAC 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034BE50 00348DB0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034BE54 00348DB4 7C 9F 23 78 */ mr r31, r4 +/* 8034BE58 00348DB8 7C A4 2B 78 */ mr r4, r5 +/* 8034BE5C 00348DBC 93 C1 00 08 */ stw r30, 8(r1) +/* 8034BE60 00348DC0 7C 7E 1B 78 */ mr r30, r3 +/* 8034BE64 00348DC4 7F E3 FB 78 */ mr r3, r31 +/* 8034BE68 00348DC8 48 00 00 29 */ bl sub_8034be90 +/* 8034BE6C 00348DCC 90 7E 00 00 */ stw r3, 0(r30) +/* 8034BE70 00348DD0 38 1F 00 08 */ addi r0, r31, 8 +/* 8034BE74 00348DD4 90 1E 00 04 */ stw r0, 4(r30) +/* 8034BE78 00348DD8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034BE7C 00348DDC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034BE80 00348DE0 83 C1 00 08 */ lwz r30, 8(r1) +/* 8034BE84 00348DE4 7C 08 03 A6 */ mtlr r0 +/* 8034BE88 00348DE8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034BE8C 00348DEC 4E 80 00 20 */ blr + +.global sub_8034be90 +sub_8034be90: +/* 8034BE90 00348DF0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8034BE94 00348DF4 7C 08 02 A6 */ mflr r0 +/* 8034BE98 00348DF8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8034BE9C 00348DFC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8034BEA0 00348E00 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8034BEA4 00348E04 3B C0 00 00 */ li r30, 0 +/* 8034BEA8 00348E08 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8034BEAC 00348E0C 7C 9D 23 78 */ mr r29, r4 +/* 8034BEB0 00348E10 93 81 00 10 */ stw r28, 0x10(r1) +/* 8034BEB4 00348E14 7C 7C 1B 78 */ mr r28, r3 +/* 8034BEB8 00348E18 83 E3 00 10 */ lwz r31, 0x10(r3) +/* 8034BEBC 00348E1C 48 00 00 2C */ b lbl_8034BEE8 +lbl_8034BEC0: +/* 8034BEC0 00348E20 7F A5 EB 78 */ mr r5, r29 +/* 8034BEC4 00348E24 38 7C 00 01 */ addi r3, r28, 1 +/* 8034BEC8 00348E28 38 9F 00 10 */ addi r4, r31, 0x10 +/* 8034BECC 00348E2C 4B CD E8 5D */ bl "__cl__Q24rstl140select1st,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>>CFRCQ24rstl119pair,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>" +/* 8034BED0 00348E30 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8034BED4 00348E34 40 82 00 10 */ bne lbl_8034BEE4 +/* 8034BED8 00348E38 7F FE FB 78 */ mr r30, r31 +/* 8034BEDC 00348E3C 83 FF 00 00 */ lwz r31, 0(r31) +/* 8034BEE0 00348E40 48 00 00 08 */ b lbl_8034BEE8 +lbl_8034BEE4: +/* 8034BEE4 00348E44 83 FF 00 04 */ lwz r31, 4(r31) +lbl_8034BEE8: +/* 8034BEE8 00348E48 28 1F 00 00 */ cmplwi r31, 0 +/* 8034BEEC 00348E4C 40 82 FF D4 */ bne lbl_8034BEC0 +/* 8034BEF0 00348E50 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8034BEF4 00348E54 7F C3 F3 78 */ mr r3, r30 +/* 8034BEF8 00348E58 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8034BEFC 00348E5C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8034BF00 00348E60 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8034BF04 00348E64 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8034BF08 00348E68 7C 08 03 A6 */ mtlr r0 +/* 8034BF0C 00348E6C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8034BF10 00348E70 4E 80 00 20 */ blr + +.global sub_8034bf14 +sub_8034bf14: +/* 8034BF14 00348E74 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034BF18 00348E78 7C 08 02 A6 */ mflr r0 +/* 8034BF1C 00348E7C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034BF20 00348E80 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034BF24 00348E84 7C 9F 23 78 */ mr r31, r4 +/* 8034BF28 00348E88 7C A4 2B 78 */ mr r4, r5 +/* 8034BF2C 00348E8C 93 C1 00 08 */ stw r30, 8(r1) +/* 8034BF30 00348E90 7C 7E 1B 78 */ mr r30, r3 +/* 8034BF34 00348E94 7F E3 FB 78 */ mr r3, r31 +/* 8034BF38 00348E98 48 00 00 29 */ bl sub_8034bf60 +/* 8034BF3C 00348E9C 90 7E 00 00 */ stw r3, 0(r30) +/* 8034BF40 00348EA0 38 1F 00 08 */ addi r0, r31, 8 +/* 8034BF44 00348EA4 90 1E 00 04 */ stw r0, 4(r30) +/* 8034BF48 00348EA8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034BF4C 00348EAC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034BF50 00348EB0 83 C1 00 08 */ lwz r30, 8(r1) +/* 8034BF54 00348EB4 7C 08 03 A6 */ mtlr r0 +/* 8034BF58 00348EB8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034BF5C 00348EBC 4E 80 00 20 */ blr + +.global sub_8034bf60 +sub_8034bf60: +/* 8034BF60 00348EC0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8034BF64 00348EC4 7C 08 02 A6 */ mflr r0 +/* 8034BF68 00348EC8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8034BF6C 00348ECC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8034BF70 00348ED0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8034BF74 00348ED4 3B C0 00 00 */ li r30, 0 +/* 8034BF78 00348ED8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8034BF7C 00348EDC 7C 9D 23 78 */ mr r29, r4 +/* 8034BF80 00348EE0 93 81 00 10 */ stw r28, 0x10(r1) +/* 8034BF84 00348EE4 7C 7C 1B 78 */ mr r28, r3 +/* 8034BF88 00348EE8 83 E3 00 10 */ lwz r31, 0x10(r3) +/* 8034BF8C 00348EEC 48 00 00 2C */ b lbl_8034BFB8 +lbl_8034BF90: +/* 8034BF90 00348EF0 7F A4 EB 78 */ mr r4, r29 +/* 8034BF94 00348EF4 38 7C 00 01 */ addi r3, r28, 1 +/* 8034BF98 00348EF8 38 BF 00 10 */ addi r5, r31, 0x10 +/* 8034BF9C 00348EFC 4B CD E7 8D */ bl "__cl__Q24rstl140select1st,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>>CFRCQ24rstl119pair,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>" +/* 8034BFA0 00348F00 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8034BFA4 00348F04 41 82 00 10 */ beq lbl_8034BFB4 +/* 8034BFA8 00348F08 7F FE FB 78 */ mr r30, r31 +/* 8034BFAC 00348F0C 83 FF 00 00 */ lwz r31, 0(r31) +/* 8034BFB0 00348F10 48 00 00 08 */ b lbl_8034BFB8 +lbl_8034BFB4: +/* 8034BFB4 00348F14 83 FF 00 04 */ lwz r31, 4(r31) +lbl_8034BFB8: +/* 8034BFB8 00348F18 28 1F 00 00 */ cmplwi r31, 0 +/* 8034BFBC 00348F1C 40 82 FF D4 */ bne lbl_8034BF90 +/* 8034BFC0 00348F20 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8034BFC4 00348F24 7F C3 F3 78 */ mr r3, r30 +/* 8034BFC8 00348F28 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8034BFCC 00348F2C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8034BFD0 00348F30 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8034BFD4 00348F34 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8034BFD8 00348F38 7C 08 03 A6 */ mtlr r0 +/* 8034BFDC 00348F3C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8034BFE0 00348F40 4E 80 00 20 */ blr + +.global "SysUnloadSampleData__9CAudioSysFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +"SysUnloadSampleData__9CAudioSysFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": +/* 8034BFE4 00348F44 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034BFE8 00348F48 7C 08 02 A6 */ mflr r0 +/* 8034BFEC 00348F4C 7C 64 1B 78 */ mr r4, r3 +/* 8034BFF0 00348F50 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034BFF4 00348F54 38 61 00 08 */ addi r3, r1, 8 +/* 8034BFF8 00348F58 4B FF F6 75 */ bl "FindGroupSet__9CAudioSysFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8034BFFC 00348F5C 80 A1 00 08 */ lwz r5, 8(r1) +/* 8034C000 00348F60 38 61 00 08 */ addi r3, r1, 8 +/* 8034C004 00348F64 90 A1 00 0C */ stw r5, 0xc(r1) +/* 8034C008 00348F68 80 85 00 04 */ lwz r4, 4(r5) +/* 8034C00C 00348F6C 38 04 00 01 */ addi r0, r4, 1 +/* 8034C010 00348F70 90 05 00 04 */ stw r0, 4(r5) +/* 8034C014 00348F74 48 00 09 C5 */ bl sub_8034c9d8 +/* 8034C018 00348F78 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8034C01C 00348F7C 80 63 00 00 */ lwz r3, 0(r3) +/* 8034C020 00348F80 28 03 00 00 */ cmplwi r3, 0 +/* 8034C024 00348F84 41 82 00 18 */ beq lbl_8034C03C +/* 8034C028 00348F88 4B FF E6 2D */ bl FreeSampleBuffer__14CAudioGroupSetFv +/* 8034C02C 00348F8C 38 61 00 0C */ addi r3, r1, 0xc +/* 8034C030 00348F90 48 00 09 A9 */ bl sub_8034c9d8 +/* 8034C034 00348F94 38 60 00 01 */ li r3, 1 +/* 8034C038 00348F98 48 00 00 10 */ b lbl_8034C048 +lbl_8034C03C: +/* 8034C03C 00348F9C 38 61 00 0C */ addi r3, r1, 0xc +/* 8034C040 00348FA0 48 00 09 99 */ bl sub_8034c9d8 +/* 8034C044 00348FA4 38 60 00 00 */ li r3, 0 +lbl_8034C048: +/* 8034C048 00348FA8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034C04C 00348FAC 7C 08 03 A6 */ mtlr r0 +/* 8034C050 00348FB0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034C054 00348FB4 4E 80 00 20 */ blr + +.global "SysIsGroupSetLoaded__9CAudioSysFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +"SysIsGroupSetLoaded__9CAudioSysFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": +/* 8034C058 00348FB8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8034C05C 00348FBC 7C 08 02 A6 */ mflr r0 +/* 8034C060 00348FC0 7C 64 1B 78 */ mr r4, r3 +/* 8034C064 00348FC4 90 01 00 24 */ stw r0, 0x24(r1) +/* 8034C068 00348FC8 38 61 00 08 */ addi r3, r1, 8 +/* 8034C06C 00348FCC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8034C070 00348FD0 4B FF F5 FD */ bl "FindGroupSet__9CAudioSysFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8034C074 00348FD4 80 81 00 08 */ lwz r4, 8(r1) +/* 8034C078 00348FD8 38 61 00 08 */ addi r3, r1, 8 +/* 8034C07C 00348FDC 80 84 00 00 */ lwz r4, 0(r4) +/* 8034C080 00348FE0 7C 04 00 D0 */ neg r0, r4 +/* 8034C084 00348FE4 7C 00 23 78 */ or r0, r0, r4 +/* 8034C088 00348FE8 54 1F 0F FE */ srwi r31, r0, 0x1f +/* 8034C08C 00348FEC 48 00 09 4D */ bl sub_8034c9d8 +/* 8034C090 00348FF0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8034C094 00348FF4 7F E3 FB 78 */ mr r3, r31 +/* 8034C098 00348FF8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8034C09C 00348FFC 7C 08 03 A6 */ mtlr r0 +/* 8034C0A0 00349000 38 21 00 20 */ addi r1, r1, 0x20 +/* 8034C0A4 00349004 4E 80 00 20 */ blr + +.global "SysLoadGroupSet__9CAudioSysF30TLockedToken<14CAudioGroupSet>Q24rstl6stringUi" +"SysLoadGroupSet__9CAudioSysF30TLockedToken<14CAudioGroupSet>Q24rstl6stringUi": +/* 8034C0A8 00349008 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 8034C0AC 0034900C 7C 08 02 A6 */ mflr r0 +/* 8034C0B0 00349010 90 01 00 74 */ stw r0, 0x74(r1) +/* 8034C0B4 00349014 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 8034C0B8 00349018 7C BF 2B 78 */ mr r31, r5 +/* 8034C0BC 0034901C 93 C1 00 68 */ stw r30, 0x68(r1) +/* 8034C0C0 00349020 93 A1 00 64 */ stw r29, 0x64(r1) +/* 8034C0C4 00349024 7C 7D 1B 78 */ mr r29, r3 +/* 8034C0C8 00349028 38 61 00 08 */ addi r3, r1, 8 +/* 8034C0CC 0034902C 93 81 00 60 */ stw r28, 0x60(r1) +/* 8034C0D0 00349030 4B FF F5 9D */ bl "FindGroupSet__9CAudioSysFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8034C0D4 00349034 80 A1 00 08 */ lwz r5, 8(r1) +/* 8034C0D8 00349038 38 61 00 08 */ addi r3, r1, 8 +/* 8034C0DC 0034903C 90 A1 00 10 */ stw r5, 0x10(r1) +/* 8034C0E0 00349040 80 85 00 04 */ lwz r4, 4(r5) +/* 8034C0E4 00349044 38 04 00 01 */ addi r0, r4, 1 +/* 8034C0E8 00349048 90 05 00 04 */ stw r0, 4(r5) +/* 8034C0EC 0034904C 48 00 08 ED */ bl sub_8034c9d8 +/* 8034C0F0 00349050 80 61 00 10 */ lwz r3, 0x10(r1) +/* 8034C0F4 00349054 80 63 00 00 */ lwz r3, 0(r3) +/* 8034C0F8 00349058 28 03 00 00 */ cmplwi r3, 0 +/* 8034C0FC 0034905C 40 82 01 84 */ bne lbl_8034C280 +/* 8034C100 00349060 3C 60 80 3E */ lis r3, lbl_803D8210@ha +/* 8034C104 00349064 3B 80 00 00 */ li r28, 0 +/* 8034C108 00349068 38 83 82 10 */ addi r4, r3, lbl_803D8210@l +/* 8034C10C 0034906C 38 A0 00 00 */ li r5, 0 +/* 8034C110 00349070 38 60 00 30 */ li r3, 0x30 +/* 8034C114 00349074 4B FC 97 59 */ bl __nw__FUlPCcPCc +/* 8034C118 00349078 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8034C11C 0034907C 41 82 00 38 */ beq lbl_8034C154 +/* 8034C120 00349080 3B 81 00 2C */ addi r28, r1, 0x2c +/* 8034C124 00349084 7F A4 EB 78 */ mr r4, r29 +/* 8034C128 00349088 7F 83 E3 78 */ mr r3, r28 +/* 8034C12C 0034908C 4B FF 4D 7D */ bl __ct__6CTokenFRC6CToken +/* 8034C130 00349090 7F 83 E3 78 */ mr r3, r28 +/* 8034C134 00349094 4B FF 4C D9 */ bl GetObj__6CTokenFv +/* 8034C138 00349098 80 03 00 04 */ lwz r0, 4(r3) +/* 8034C13C 0034909C 7F 84 E3 78 */ mr r4, r28 +/* 8034C140 003490A0 7F C3 F3 78 */ mr r3, r30 +/* 8034C144 003490A4 3B 80 00 01 */ li r28, 1 +/* 8034C148 003490A8 90 01 00 34 */ stw r0, 0x34(r1) +/* 8034C14C 003490AC 4B FF E5 D1 */ bl "__ct__14CAudioGroupSetFRC31TLockedToken<15CAudioGrpSetLoc>" +/* 8034C150 003490B0 7C 7E 1B 78 */ mr r30, r3 +lbl_8034C154: +/* 8034C154 003490B4 3C 80 80 3E */ lis r4, lbl_803D8210@ha +/* 8034C158 003490B8 38 60 00 08 */ li r3, 8 +/* 8034C15C 003490BC 38 84 82 10 */ addi r4, r4, lbl_803D8210@l +/* 8034C160 003490C0 38 A0 00 00 */ li r5, 0 +/* 8034C164 003490C4 4B FC 97 09 */ bl __nw__FUlPCcPCc +/* 8034C168 003490C8 28 03 00 00 */ cmplwi r3, 0 +/* 8034C16C 003490CC 41 82 00 10 */ beq lbl_8034C17C +/* 8034C170 003490D0 93 C3 00 00 */ stw r30, 0(r3) +/* 8034C174 003490D4 38 00 00 01 */ li r0, 1 +/* 8034C178 003490D8 90 03 00 04 */ stw r0, 4(r3) +lbl_8034C17C: +/* 8034C17C 003490DC 7F 80 07 75 */ extsb. r0, r28 +/* 8034C180 003490E0 90 61 00 0C */ stw r3, 0xc(r1) +/* 8034C184 003490E4 41 82 00 10 */ beq lbl_8034C194 +/* 8034C188 003490E8 38 61 00 2C */ addi r3, r1, 0x2c +/* 8034C18C 003490EC 38 80 00 00 */ li r4, 0 +/* 8034C190 003490F0 4B FF 4C B1 */ bl __dt__6CTokenFv +lbl_8034C194: +/* 8034C194 003490F4 80 A1 00 0C */ lwz r5, 0xc(r1) +/* 8034C198 003490F8 80 8D A9 F4 */ lwz r4, lbl_805A95B4@sda21(r13) +/* 8034C19C 003490FC 80 65 00 00 */ lwz r3, 0(r5) +/* 8034C1A0 00349100 80 0D A9 F0 */ lwz r0, lbl_805A95B0@sda21(r13) +/* 8034C1A4 00349104 80 63 00 28 */ lwz r3, 0x28(r3) +/* 8034C1A8 00349108 80 63 00 30 */ lwz r3, 0x30(r3) +/* 8034C1AC 0034910C 7C 64 1A 14 */ add r3, r4, r3 +/* 8034C1B0 00349110 7C 03 00 00 */ cmpw r3, r0 +/* 8034C1B4 00349114 40 81 00 1C */ ble lbl_8034C1D0 +/* 8034C1B8 00349118 38 61 00 0C */ addi r3, r1, 0xc +/* 8034C1BC 0034911C 48 00 08 1D */ bl sub_8034c9d8 +/* 8034C1C0 00349120 38 61 00 10 */ addi r3, r1, 0x10 +/* 8034C1C4 00349124 48 00 08 15 */ bl sub_8034c9d8 +/* 8034C1C8 00349128 38 60 00 01 */ li r3, 1 +/* 8034C1CC 0034912C 48 00 00 C4 */ b lbl_8034C290 +lbl_8034C1D0: +/* 8034C1D0 00349130 90 6D A9 F4 */ stw r3, lbl_805A95B4@sda21(r13) +/* 8034C1D4 00349134 38 61 00 4C */ addi r3, r1, 0x4c +/* 8034C1D8 00349138 80 85 00 00 */ lwz r4, 0(r5) +/* 8034C1DC 0034913C 3B C4 00 10 */ addi r30, r4, 0x10 +/* 8034C1E0 00349140 7F C4 F3 78 */ mr r4, r30 +/* 8034C1E4 00349144 4B FF 1F 7D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8034C1E8 00349148 80 A1 00 0C */ lwz r5, 0xc(r1) +/* 8034C1EC 0034914C 3B A1 00 5C */ addi r29, r1, 0x5c +/* 8034C1F0 00349150 38 61 00 20 */ addi r3, r1, 0x20 +/* 8034C1F4 00349154 38 C1 00 4C */ addi r6, r1, 0x4c +/* 8034C1F8 00349158 90 A1 00 5C */ stw r5, 0x5c(r1) +/* 8034C1FC 0034915C 80 85 00 04 */ lwz r4, 4(r5) +/* 8034C200 00349160 38 04 00 01 */ addi r0, r4, 1 +/* 8034C204 00349164 90 05 00 04 */ stw r0, 4(r5) +/* 8034C208 00349168 80 8D A9 D4 */ lwz r4, lbl_805A9594@sda21(r13) +/* 8034C20C 0034916C 80 A4 00 10 */ lwz r5, 0x10(r4) +/* 8034C210 00349170 48 00 0A BD */ bl "insert_into__Q24rstl488red_black_tree,Q24rstl17rmemory_allocator>,Q24rstl117pair,Q24rstl17rmemory_allocator>,Q24rstl26ncrc_ptr<14CAudioGroupSet>>,0,Q24rstl138select1st,Q24rstl17rmemory_allocator>,Q24rstl26ncrc_ptr<14CAudioGroupSet>>>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator" +/* 8034C214 00349174 28 1D 00 00 */ cmplwi r29, 0 +/* 8034C218 00349178 41 82 00 10 */ beq lbl_8034C228 +/* 8034C21C 0034917C 41 82 00 0C */ beq lbl_8034C228 +/* 8034C220 00349180 7F A3 EB 78 */ mr r3, r29 +/* 8034C224 00349184 48 00 07 B5 */ bl sub_8034c9d8 +lbl_8034C228: +/* 8034C228 00349188 38 61 00 4C */ addi r3, r1, 0x4c +/* 8034C22C 0034918C 4B FF 18 B5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8034C230 00349190 3B A1 00 3C */ addi r29, r1, 0x3c +/* 8034C234 00349194 93 E1 00 38 */ stw r31, 0x38(r1) +/* 8034C238 00349198 7F A3 EB 78 */ mr r3, r29 +/* 8034C23C 0034919C 7F C4 F3 78 */ mr r4, r30 +/* 8034C240 003491A0 4B FF 1F 21 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8034C244 003491A4 80 8D A9 D8 */ lwz r4, lbl_805A9598@sda21(r13) +/* 8034C248 003491A8 38 61 00 14 */ addi r3, r1, 0x14 +/* 8034C24C 003491AC 38 C1 00 38 */ addi r6, r1, 0x38 +/* 8034C250 003491B0 80 A4 00 10 */ lwz r5, 0x10(r4) +/* 8034C254 003491B4 48 00 0C F9 */ bl "insert_into__Q24rstl273red_black_tree,Q24rstl17rmemory_allocator>>,0,Q24rstl104select1st,Q24rstl17rmemory_allocator>>>,Q24rstl8less,Q24rstl17rmemory_allocator>FPQ34rstl273red_black_tree,Q24rstl17rmemory_allocator>>,0,Q24rstl104select1st,Q24" +/* 8034C258 003491B8 28 1D 00 00 */ cmplwi r29, 0 +/* 8034C25C 003491BC 41 82 00 0C */ beq lbl_8034C268 +/* 8034C260 003491C0 7F A3 EB 78 */ mr r3, r29 +/* 8034C264 003491C4 4B FF 18 7D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8034C268: +/* 8034C268 003491C8 38 61 00 0C */ addi r3, r1, 0xc +/* 8034C26C 003491CC 48 00 07 6D */ bl sub_8034c9d8 +/* 8034C270 003491D0 38 61 00 10 */ addi r3, r1, 0x10 +/* 8034C274 003491D4 48 00 07 65 */ bl sub_8034c9d8 +/* 8034C278 003491D8 38 60 00 00 */ li r3, 0 +/* 8034C27C 003491DC 48 00 00 14 */ b lbl_8034C290 +lbl_8034C280: +/* 8034C280 003491E0 4B FF E3 F9 */ bl Reload__14CAudioGroupSetFv +/* 8034C284 003491E4 38 61 00 10 */ addi r3, r1, 0x10 +/* 8034C288 003491E8 48 00 07 51 */ bl sub_8034c9d8 +/* 8034C28C 003491EC 38 60 00 01 */ li r3, 1 +lbl_8034C290: +/* 8034C290 003491F0 80 01 00 74 */ lwz r0, 0x74(r1) +/* 8034C294 003491F4 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 8034C298 003491F8 83 C1 00 68 */ lwz r30, 0x68(r1) +/* 8034C29C 003491FC 83 A1 00 64 */ lwz r29, 0x64(r1) +/* 8034C2A0 00349200 83 81 00 60 */ lwz r28, 0x60(r1) +/* 8034C2A4 00349204 7C 08 03 A6 */ mtlr r0 +/* 8034C2A8 00349208 38 21 00 70 */ addi r1, r1, 0x70 +/* 8034C2AC 0034920C 4E 80 00 20 */ blr + +.global SysLoadGroupSet__9CAudioSysFP11CSimplePoolUi +SysLoadGroupSet__9CAudioSysFP11CSimplePoolUi: +/* 8034C2B0 00349210 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 8034C2B4 00349214 7C 08 02 A6 */ mflr r0 +/* 8034C2B8 00349218 90 01 00 84 */ stw r0, 0x84(r1) +/* 8034C2BC 0034921C 93 E1 00 7C */ stw r31, 0x7c(r1) +/* 8034C2C0 00349220 7C 9F 23 78 */ mr r31, r4 +/* 8034C2C4 00349224 93 C1 00 78 */ stw r30, 0x78(r1) +/* 8034C2C8 00349228 93 A1 00 74 */ stw r29, 0x74(r1) +/* 8034C2CC 0034922C 7C 7D 1B 78 */ mr r29, r3 +/* 8034C2D0 00349230 7F E3 FB 78 */ mr r3, r31 +/* 8034C2D4 00349234 4B FF F5 71 */ bl SysGetGroupSetName__9CAudioSysFUi +/* 8034C2D8 00349238 7C 60 1B 78 */ mr r0, r3 +/* 8034C2DC 0034923C 38 61 00 08 */ addi r3, r1, 8 +/* 8034C2E0 00349240 7C 04 03 78 */ mr r4, r0 +/* 8034C2E4 00349244 4B FF F3 89 */ bl "FindGroupSet__9CAudioSysFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8034C2E8 00349248 80 A1 00 08 */ lwz r5, 8(r1) +/* 8034C2EC 0034924C 38 61 00 08 */ addi r3, r1, 8 +/* 8034C2F0 00349250 90 A1 00 10 */ stw r5, 0x10(r1) +/* 8034C2F4 00349254 80 85 00 04 */ lwz r4, 4(r5) +/* 8034C2F8 00349258 38 04 00 01 */ addi r0, r4, 1 +/* 8034C2FC 0034925C 90 05 00 04 */ stw r0, 4(r5) +/* 8034C300 00349260 48 00 06 D9 */ bl sub_8034c9d8 +/* 8034C304 00349264 80 61 00 10 */ lwz r3, 0x10(r1) +/* 8034C308 00349268 80 63 00 00 */ lwz r3, 0(r3) +/* 8034C30C 0034926C 28 03 00 00 */ cmplwi r3, 0 +/* 8034C310 00349270 40 82 01 B0 */ bne lbl_8034C4C0 +/* 8034C314 00349274 3C 60 41 47 */ lis r3, 0x41475343@ha +/* 8034C318 00349278 93 E1 00 20 */ stw r31, 0x20(r1) +/* 8034C31C 0034927C 38 03 53 43 */ addi r0, r3, 0x41475343@l +/* 8034C320 00349280 7F A4 EB 78 */ mr r4, r29 +/* 8034C324 00349284 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8034C328 00349288 38 61 00 14 */ addi r3, r1, 0x14 +/* 8034C32C 0034928C 38 A1 00 1C */ addi r5, r1, 0x1c +/* 8034C330 00349290 81 9D 00 00 */ lwz r12, 0(r29) +/* 8034C334 00349294 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8034C338 00349298 7D 89 03 A6 */ mtctr r12 +/* 8034C33C 0034929C 4E 80 04 21 */ bctrl +/* 8034C340 003492A0 3B A1 00 3C */ addi r29, r1, 0x3c +/* 8034C344 003492A4 38 81 00 14 */ addi r4, r1, 0x14 +/* 8034C348 003492A8 7F A3 EB 78 */ mr r3, r29 +/* 8034C34C 003492AC 4B FF 4B 5D */ bl __ct__6CTokenFRC6CToken +/* 8034C350 003492B0 7F A3 EB 78 */ mr r3, r29 +/* 8034C354 003492B4 4B FF 4A B9 */ bl GetObj__6CTokenFv +/* 8034C358 003492B8 80 03 00 04 */ lwz r0, 4(r3) +/* 8034C35C 003492BC 38 61 00 14 */ addi r3, r1, 0x14 +/* 8034C360 003492C0 38 80 FF FF */ li r4, -1 +/* 8034C364 003492C4 90 01 00 44 */ stw r0, 0x44(r1) +/* 8034C368 003492C8 4B FF 4A D9 */ bl __dt__6CTokenFv +/* 8034C36C 003492CC 3C 80 80 3E */ lis r4, lbl_803D8210@ha +/* 8034C370 003492D0 38 60 00 30 */ li r3, 0x30 +/* 8034C374 003492D4 38 84 82 10 */ addi r4, r4, lbl_803D8210@l +/* 8034C378 003492D8 38 A0 00 00 */ li r5, 0 +/* 8034C37C 003492DC 4B FC 94 F1 */ bl __nw__FUlPCcPCc +/* 8034C380 003492E0 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8034C384 003492E4 41 82 00 10 */ beq lbl_8034C394 +/* 8034C388 003492E8 7F A4 EB 78 */ mr r4, r29 +/* 8034C38C 003492EC 4B FF E3 91 */ bl "__ct__14CAudioGroupSetFRC31TLockedToken<15CAudioGrpSetLoc>" +/* 8034C390 003492F0 7C 7E 1B 78 */ mr r30, r3 +lbl_8034C394: +/* 8034C394 003492F4 3C 80 80 3E */ lis r4, lbl_803D8210@ha +/* 8034C398 003492F8 38 60 00 08 */ li r3, 8 +/* 8034C39C 003492FC 38 84 82 10 */ addi r4, r4, lbl_803D8210@l +/* 8034C3A0 00349300 38 A0 00 00 */ li r5, 0 +/* 8034C3A4 00349304 4B FC 94 C9 */ bl __nw__FUlPCcPCc +/* 8034C3A8 00349308 28 03 00 00 */ cmplwi r3, 0 +/* 8034C3AC 0034930C 41 82 00 10 */ beq lbl_8034C3BC +/* 8034C3B0 00349310 93 C3 00 00 */ stw r30, 0(r3) +/* 8034C3B4 00349314 38 00 00 01 */ li r0, 1 +/* 8034C3B8 00349318 90 03 00 04 */ stw r0, 4(r3) +lbl_8034C3BC: +/* 8034C3BC 0034931C 90 61 00 0C */ stw r3, 0xc(r1) +/* 8034C3C0 00349320 80 AD A9 F4 */ lwz r5, lbl_805A95B4@sda21(r13) +/* 8034C3C4 00349324 80 83 00 00 */ lwz r4, 0(r3) +/* 8034C3C8 00349328 80 0D A9 F0 */ lwz r0, lbl_805A95B0@sda21(r13) +/* 8034C3CC 0034932C 80 84 00 28 */ lwz r4, 0x28(r4) +/* 8034C3D0 00349330 80 84 00 30 */ lwz r4, 0x30(r4) +/* 8034C3D4 00349334 7C 85 22 14 */ add r4, r5, r4 +/* 8034C3D8 00349338 7C 04 00 00 */ cmpw r4, r0 +/* 8034C3DC 0034933C 40 81 00 28 */ ble lbl_8034C404 +/* 8034C3E0 00349340 38 61 00 0C */ addi r3, r1, 0xc +/* 8034C3E4 00349344 48 00 05 F5 */ bl sub_8034c9d8 +/* 8034C3E8 00349348 38 61 00 3C */ addi r3, r1, 0x3c +/* 8034C3EC 0034934C 38 80 00 00 */ li r4, 0 +/* 8034C3F0 00349350 4B FF 4A 51 */ bl __dt__6CTokenFv +/* 8034C3F4 00349354 38 61 00 10 */ addi r3, r1, 0x10 +/* 8034C3F8 00349358 48 00 05 E1 */ bl sub_8034c9d8 +/* 8034C3FC 0034935C 38 60 00 01 */ li r3, 1 +/* 8034C400 00349360 48 00 00 D0 */ b lbl_8034C4D0 +lbl_8034C404: +/* 8034C404 00349364 90 8D A9 F4 */ stw r4, lbl_805A95B4@sda21(r13) +/* 8034C408 00349368 80 83 00 00 */ lwz r4, 0(r3) +/* 8034C40C 0034936C 38 61 00 5C */ addi r3, r1, 0x5c +/* 8034C410 00349370 3B C4 00 10 */ addi r30, r4, 0x10 +/* 8034C414 00349374 7F C4 F3 78 */ mr r4, r30 +/* 8034C418 00349378 4B FF 1D 49 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8034C41C 0034937C 80 A1 00 0C */ lwz r5, 0xc(r1) +/* 8034C420 00349380 3B A1 00 6C */ addi r29, r1, 0x6c +/* 8034C424 00349384 38 61 00 30 */ addi r3, r1, 0x30 +/* 8034C428 00349388 38 C1 00 5C */ addi r6, r1, 0x5c +/* 8034C42C 0034938C 90 A1 00 6C */ stw r5, 0x6c(r1) +/* 8034C430 00349390 80 85 00 04 */ lwz r4, 4(r5) +/* 8034C434 00349394 38 04 00 01 */ addi r0, r4, 1 +/* 8034C438 00349398 90 05 00 04 */ stw r0, 4(r5) +/* 8034C43C 0034939C 80 8D A9 D4 */ lwz r4, lbl_805A9594@sda21(r13) +/* 8034C440 003493A0 80 A4 00 10 */ lwz r5, 0x10(r4) +/* 8034C444 003493A4 48 00 08 89 */ bl "insert_into__Q24rstl488red_black_tree,Q24rstl17rmemory_allocator>,Q24rstl117pair,Q24rstl17rmemory_allocator>,Q24rstl26ncrc_ptr<14CAudioGroupSet>>,0,Q24rstl138select1st,Q24rstl17rmemory_allocator>,Q24rstl26ncrc_ptr<14CAudioGroupSet>>>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator" +/* 8034C448 003493A8 28 1D 00 00 */ cmplwi r29, 0 +/* 8034C44C 003493AC 41 82 00 10 */ beq lbl_8034C45C +/* 8034C450 003493B0 41 82 00 0C */ beq lbl_8034C45C +/* 8034C454 003493B4 7F A3 EB 78 */ mr r3, r29 +/* 8034C458 003493B8 48 00 05 81 */ bl sub_8034c9d8 +lbl_8034C45C: +/* 8034C45C 003493BC 38 61 00 5C */ addi r3, r1, 0x5c +/* 8034C460 003493C0 4B FF 16 81 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8034C464 003493C4 3B A1 00 4C */ addi r29, r1, 0x4c +/* 8034C468 003493C8 93 E1 00 48 */ stw r31, 0x48(r1) +/* 8034C46C 003493CC 7F A3 EB 78 */ mr r3, r29 +/* 8034C470 003493D0 7F C4 F3 78 */ mr r4, r30 +/* 8034C474 003493D4 4B FF 1C ED */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8034C478 003493D8 80 8D A9 D8 */ lwz r4, lbl_805A9598@sda21(r13) +/* 8034C47C 003493DC 38 61 00 24 */ addi r3, r1, 0x24 +/* 8034C480 003493E0 38 C1 00 48 */ addi r6, r1, 0x48 +/* 8034C484 003493E4 80 A4 00 10 */ lwz r5, 0x10(r4) +/* 8034C488 003493E8 48 00 0A C5 */ bl "insert_into__Q24rstl273red_black_tree,Q24rstl17rmemory_allocator>>,0,Q24rstl104select1st,Q24rstl17rmemory_allocator>>>,Q24rstl8less,Q24rstl17rmemory_allocator>FPQ34rstl273red_black_tree,Q24rstl17rmemory_allocator>>,0,Q24rstl104select1st,Q24" +/* 8034C48C 003493EC 28 1D 00 00 */ cmplwi r29, 0 +/* 8034C490 003493F0 41 82 00 0C */ beq lbl_8034C49C +/* 8034C494 003493F4 7F A3 EB 78 */ mr r3, r29 +/* 8034C498 003493F8 4B FF 16 49 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8034C49C: +/* 8034C49C 003493FC 38 61 00 0C */ addi r3, r1, 0xc +/* 8034C4A0 00349400 48 00 05 39 */ bl sub_8034c9d8 +/* 8034C4A4 00349404 38 61 00 3C */ addi r3, r1, 0x3c +/* 8034C4A8 00349408 38 80 00 00 */ li r4, 0 +/* 8034C4AC 0034940C 4B FF 49 95 */ bl __dt__6CTokenFv +/* 8034C4B0 00349410 38 61 00 10 */ addi r3, r1, 0x10 +/* 8034C4B4 00349414 48 00 05 25 */ bl sub_8034c9d8 +/* 8034C4B8 00349418 38 60 00 00 */ li r3, 0 +/* 8034C4BC 0034941C 48 00 00 14 */ b lbl_8034C4D0 +lbl_8034C4C0: +/* 8034C4C0 00349420 4B FF E1 B9 */ bl Reload__14CAudioGroupSetFv +/* 8034C4C4 00349424 38 61 00 10 */ addi r3, r1, 0x10 +/* 8034C4C8 00349428 48 00 05 11 */ bl sub_8034c9d8 +/* 8034C4CC 0034942C 38 60 00 01 */ li r3, 1 +lbl_8034C4D0: +/* 8034C4D0 00349430 80 01 00 84 */ lwz r0, 0x84(r1) +/* 8034C4D4 00349434 83 E1 00 7C */ lwz r31, 0x7c(r1) +/* 8034C4D8 00349438 83 C1 00 78 */ lwz r30, 0x78(r1) +/* 8034C4DC 0034943C 83 A1 00 74 */ lwz r29, 0x74(r1) +/* 8034C4E0 00349440 7C 08 03 A6 */ mtlr r0 +/* 8034C4E4 00349444 38 21 00 80 */ addi r1, r1, 0x80 +/* 8034C4E8 00349448 4E 80 00 20 */ blr + +.global SysSetSfxVolume__9CAudioSysFUcUsUcUc +SysSetSfxVolume__9CAudioSysFUcUsUcUc: +/* 8034C4EC 0034944C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034C4F0 00349450 7C 08 02 A6 */ mflr r0 +/* 8034C4F4 00349454 54 63 06 3E */ clrlwi r3, r3, 0x18 +/* 8034C4F8 00349458 54 84 04 3E */ clrlwi r4, r4, 0x10 +/* 8034C4FC 0034945C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034C500 00349460 54 A5 06 3E */ clrlwi r5, r5, 0x18 +/* 8034C504 00349464 54 C6 06 3E */ clrlwi r6, r6, 0x18 +/* 8034C508 00349468 48 04 FE AD */ bl sndMasterVolume +/* 8034C50C 0034946C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034C510 00349470 7C 08 03 A6 */ mtlr r0 +/* 8034C514 00349474 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034C518 00349478 4E 80 00 20 */ blr + +.global SysSetVolume__9CAudioSysFUcUsUc +SysSetVolume__9CAudioSysFUcUsUc: +/* 8034C51C 0034947C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034C520 00349480 7C 08 02 A6 */ mflr r0 +/* 8034C524 00349484 54 63 06 3E */ clrlwi r3, r3, 0x18 +/* 8034C528 00349488 54 84 04 3E */ clrlwi r4, r4, 0x10 +/* 8034C52C 0034948C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034C530 00349490 54 A5 06 3E */ clrlwi r5, r5, 0x18 +/* 8034C534 00349494 48 04 FE 21 */ bl sndVolume +/* 8034C538 00349498 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034C53C 0034949C 7C 08 03 A6 */ mtlr r0 +/* 8034C540 003494A0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034C544 003494A4 4E 80 00 20 */ blr + +.global __dt__9CAudioSysFv +__dt__9CAudioSysFv: +/* 8034C548 003494A8 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8034C54C 003494AC 7C 08 02 A6 */ mflr r0 +/* 8034C550 003494B0 90 01 00 34 */ stw r0, 0x34(r1) +/* 8034C554 003494B4 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8034C558 003494B8 7C 9F 23 78 */ mr r31, r4 +/* 8034C55C 003494BC 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8034C560 003494C0 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8034C564 003494C4 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8034C568 003494C8 41 82 01 68 */ beq lbl_8034C6D0 +/* 8034C56C 003494CC 4B FF E5 F1 */ bl S3dFlushAllEmitters__9CAudioSysFv +/* 8034C570 003494D0 4B FF E8 C9 */ bl S3dRemoveListener__9CAudioSysFv +/* 8034C574 003494D4 48 06 47 65 */ bl sndQuit +/* 8034C578 003494D8 83 AD A9 D4 */ lwz r29, lbl_805A9594@sda21(r13) +/* 8034C57C 003494DC 28 1D 00 00 */ cmplwi r29, 0 +/* 8034C580 003494E0 41 82 00 38 */ beq lbl_8034C5B8 +/* 8034C584 003494E4 41 82 00 2C */ beq lbl_8034C5B0 +/* 8034C588 003494E8 80 9D 00 10 */ lwz r4, 0x10(r29) +/* 8034C58C 003494EC 28 04 00 00 */ cmplwi r4, 0 +/* 8034C590 003494F0 41 82 00 0C */ beq lbl_8034C59C +/* 8034C594 003494F4 7F A3 EB 78 */ mr r3, r29 +/* 8034C598 003494F8 48 00 05 BD */ bl sub_8034cb54 +lbl_8034C59C: +/* 8034C59C 003494FC 38 00 00 00 */ li r0, 0 +/* 8034C5A0 00349500 90 1D 00 10 */ stw r0, 0x10(r29) +/* 8034C5A4 00349504 90 1D 00 08 */ stw r0, 8(r29) +/* 8034C5A8 00349508 90 1D 00 0C */ stw r0, 0xc(r29) +/* 8034C5AC 0034950C 90 1D 00 04 */ stw r0, 4(r29) +lbl_8034C5B0: +/* 8034C5B0 00349510 7F A3 EB 78 */ mr r3, r29 +/* 8034C5B4 00349514 4B FC 93 7D */ bl Free__7CMemoryFPCv +lbl_8034C5B8: +/* 8034C5B8 00349518 83 AD A9 D8 */ lwz r29, lbl_805A9598@sda21(r13) +/* 8034C5BC 0034951C 38 00 00 00 */ li r0, 0 +/* 8034C5C0 00349520 90 0D A9 D4 */ stw r0, lbl_805A9594@sda21(r13) +/* 8034C5C4 00349524 28 1D 00 00 */ cmplwi r29, 0 +/* 8034C5C8 00349528 41 82 00 38 */ beq lbl_8034C600 +/* 8034C5CC 0034952C 41 82 00 2C */ beq lbl_8034C5F8 +/* 8034C5D0 00349530 80 9D 00 10 */ lwz r4, 0x10(r29) +/* 8034C5D4 00349534 28 04 00 00 */ cmplwi r4, 0 +/* 8034C5D8 00349538 41 82 00 0C */ beq lbl_8034C5E4 +/* 8034C5DC 0034953C 7F A3 EB 78 */ mr r3, r29 +/* 8034C5E0 00349540 48 00 04 F1 */ bl sub_8034cad0 +lbl_8034C5E4: +/* 8034C5E4 00349544 38 00 00 00 */ li r0, 0 +/* 8034C5E8 00349548 90 1D 00 10 */ stw r0, 0x10(r29) +/* 8034C5EC 0034954C 90 1D 00 08 */ stw r0, 8(r29) +/* 8034C5F0 00349550 90 1D 00 0C */ stw r0, 0xc(r29) +/* 8034C5F4 00349554 90 1D 00 04 */ stw r0, 4(r29) +lbl_8034C5F8: +/* 8034C5F8 00349558 7F A3 EB 78 */ mr r3, r29 +/* 8034C5FC 0034955C 4B FC 93 35 */ bl Free__7CMemoryFPCv +lbl_8034C600: +/* 8034C600 00349560 83 AD A9 DC */ lwz r29, lbl_805A959C@sda21(r13) +/* 8034C604 00349564 38 00 00 00 */ li r0, 0 +/* 8034C608 00349568 90 0D A9 D8 */ stw r0, lbl_805A9598@sda21(r13) +/* 8034C60C 0034956C 28 1D 00 00 */ cmplwi r29, 0 +/* 8034C610 00349570 41 82 00 38 */ beq lbl_8034C648 +/* 8034C614 00349574 41 82 00 2C */ beq lbl_8034C640 +/* 8034C618 00349578 80 9D 00 10 */ lwz r4, 0x10(r29) +/* 8034C61C 0034957C 28 04 00 00 */ cmplwi r4, 0 +/* 8034C620 00349580 41 82 00 0C */ beq lbl_8034C62C +/* 8034C624 00349584 7F A3 EB 78 */ mr r3, r29 +/* 8034C628 00349588 48 00 04 0D */ bl sub_8034ca34 +lbl_8034C62C: +/* 8034C62C 0034958C 38 00 00 00 */ li r0, 0 +/* 8034C630 00349590 90 1D 00 10 */ stw r0, 0x10(r29) +/* 8034C634 00349594 90 1D 00 08 */ stw r0, 8(r29) +/* 8034C638 00349598 90 1D 00 0C */ stw r0, 0xc(r29) +/* 8034C63C 0034959C 90 1D 00 04 */ stw r0, 4(r29) +lbl_8034C640: +/* 8034C640 003495A0 7F A3 EB 78 */ mr r3, r29 +/* 8034C644 003495A4 4B FC 92 ED */ bl Free__7CMemoryFPCv +lbl_8034C648: +/* 8034C648 003495A8 83 AD A9 E0 */ lwz r29, lbl_805A95A0@sda21(r13) +/* 8034C64C 003495AC 38 00 00 00 */ li r0, 0 +/* 8034C650 003495B0 90 0D A9 DC */ stw r0, lbl_805A959C@sda21(r13) +/* 8034C654 003495B4 28 1D 00 00 */ cmplwi r29, 0 +/* 8034C658 003495B8 41 82 00 4C */ beq lbl_8034C6A4 +/* 8034C65C 003495BC 80 1D 00 04 */ lwz r0, 4(r29) +/* 8034C660 003495C0 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 8034C664 003495C4 1C 00 00 54 */ mulli r0, r0, 0x54 +/* 8034C668 003495C8 90 61 00 0C */ stw r3, 0xc(r1) +/* 8034C66C 003495CC 7C 64 1B 78 */ mr r4, r3 +/* 8034C670 003495D0 7C 03 02 14 */ add r0, r3, r0 +/* 8034C674 003495D4 90 61 00 08 */ stw r3, 8(r1) +/* 8034C678 003495D8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034C67C 003495DC 90 01 00 10 */ stw r0, 0x10(r1) +/* 8034C680 003495E0 48 00 00 08 */ b lbl_8034C688 +lbl_8034C684: +/* 8034C684 003495E4 38 84 00 54 */ addi r4, r4, 0x54 +lbl_8034C688: +/* 8034C688 003495E8 7C 04 00 40 */ cmplw r4, r0 +/* 8034C68C 003495EC 40 82 FF F8 */ bne lbl_8034C684 +/* 8034C690 003495F0 28 03 00 00 */ cmplwi r3, 0 +/* 8034C694 003495F4 41 82 00 08 */ beq lbl_8034C69C +/* 8034C698 003495F8 4B FC 92 99 */ bl Free__7CMemoryFPCv +lbl_8034C69C: +/* 8034C69C 003495FC 7F A3 EB 78 */ mr r3, r29 +/* 8034C6A0 00349600 4B FC 92 91 */ bl Free__7CMemoryFPCv +lbl_8034C6A4: +/* 8034C6A4 00349604 38 00 00 00 */ li r0, 0 +/* 8034C6A8 00349608 80 6D A9 E4 */ lwz r3, lbl_805A95A4@sda21(r13) +/* 8034C6AC 0034960C 90 0D A9 E0 */ stw r0, lbl_805A95A0@sda21(r13) +/* 8034C6B0 00349610 4B FC 92 81 */ bl Free__7CMemoryFPCv +/* 8034C6B4 00349614 38 60 00 00 */ li r3, 0 +/* 8034C6B8 00349618 7F E0 07 35 */ extsh. r0, r31 +/* 8034C6BC 0034961C 90 6D A9 E4 */ stw r3, lbl_805A95A4@sda21(r13) +/* 8034C6C0 00349620 98 6D A9 D0 */ stb r3, lbl_805A9590@sda21(r13) +/* 8034C6C4 00349624 40 81 00 0C */ ble lbl_8034C6D0 +/* 8034C6C8 00349628 7F C3 F3 78 */ mr r3, r30 +/* 8034C6CC 0034962C 4B FC 92 65 */ bl Free__7CMemoryFPCv +lbl_8034C6D0: +/* 8034C6D0 00349630 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8034C6D4 00349634 7F C3 F3 78 */ mr r3, r30 +/* 8034C6D8 00349638 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8034C6DC 0034963C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8034C6E0 00349640 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8034C6E4 00349644 7C 08 03 A6 */ mtlr r0 +/* 8034C6E8 00349648 38 21 00 30 */ addi r1, r1, 0x30 +/* 8034C6EC 0034964C 4E 80 00 20 */ blr + +.global __ct__9CAudioSysFUcUcUcUcUi +__ct__9CAudioSysFUcUcUcUcUi: +/* 8034C6F0 00349650 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 8034C6F4 00349654 7C 08 02 A6 */ mflr r0 +/* 8034C6F8 00349658 39 40 00 01 */ li r10, 1 +/* 8034C6FC 0034965C 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 8034C700 00349660 BF 41 00 88 */ stmw r26, 0x88(r1) +/* 8034C704 00349664 7C 7A 1B 78 */ mr r26, r3 +/* 8034C708 00349668 7C 9F 23 78 */ mr r31, r4 +/* 8034C70C 0034966C 7C BE 2B 78 */ mr r30, r5 +/* 8034C710 00349670 7C DD 33 78 */ mr r29, r6 +/* 8034C714 00349674 7C FB 3B 78 */ mr r27, r7 +/* 8034C718 00349678 7D 1C 43 78 */ mr r28, r8 +/* 8034C71C 0034967C 38 60 00 00 */ li r3, 0 +/* 8034C720 00349680 81 22 CC 44 */ lwz r9, lbl_805AE964@sda21(r2) +/* 8034C724 00349684 80 02 CC 48 */ lwz r0, lbl_805AE968@sda21(r2) +/* 8034C728 00349688 99 4D A9 D0 */ stb r10, lbl_805A9590@sda21(r13) +/* 8034C72C 0034968C 91 21 00 20 */ stw r9, 0x20(r1) +/* 8034C730 00349690 90 01 00 24 */ stw r0, 0x24(r1) +/* 8034C734 00349694 48 02 0C A1 */ bl AIInit +/* 8034C738 00349698 38 61 00 20 */ addi r3, r1, 0x20 +/* 8034C73C 0034969C 48 06 77 CD */ bl sndSetHooks +/* 8034C740 003496A0 88 0D 9D D8 */ lbz r0, lbl_805A8998@sda21(r13) +/* 8034C744 003496A4 28 00 00 00 */ cmplwi r0, 0 +/* 8034C748 003496A8 41 82 00 24 */ beq lbl_8034C76C +/* 8034C74C 003496AC 7F 88 E3 78 */ mr r8, r28 +/* 8034C750 003496B0 57 E3 06 3E */ clrlwi r3, r31, 0x18 +/* 8034C754 003496B4 57 C4 06 3E */ clrlwi r4, r30, 0x18 +/* 8034C758 003496B8 57 A5 06 3E */ clrlwi r5, r29, 0x18 +/* 8034C75C 003496BC 38 C0 00 01 */ li r6, 1 +/* 8034C760 003496C0 38 E0 00 01 */ li r7, 1 +/* 8034C764 003496C4 48 06 44 5D */ bl sndInit +/* 8034C768 003496C8 48 00 00 20 */ b lbl_8034C788 +lbl_8034C76C: +/* 8034C76C 003496CC 7F 88 E3 78 */ mr r8, r28 +/* 8034C770 003496D0 57 E3 06 3E */ clrlwi r3, r31, 0x18 +/* 8034C774 003496D4 57 C4 06 3E */ clrlwi r4, r30, 0x18 +/* 8034C778 003496D8 57 A5 06 3E */ clrlwi r5, r29, 0x18 +/* 8034C77C 003496DC 38 C0 00 01 */ li r6, 1 +/* 8034C780 003496E0 38 E0 00 00 */ li r7, 0 +/* 8034C784 003496E4 48 06 44 3D */ bl sndInit +lbl_8034C788: +/* 8034C788 003496E8 48 06 B2 15 */ bl DTKInit +/* 8034C78C 003496EC 3C 80 80 3E */ lis r4, lbl_803D8210@ha +/* 8034C790 003496F0 38 60 00 14 */ li r3, 0x14 +/* 8034C794 003496F4 38 84 82 10 */ addi r4, r4, lbl_803D8210@l +/* 8034C798 003496F8 38 A0 00 00 */ li r5, 0 +/* 8034C79C 003496FC 4B FC 90 D1 */ bl __nw__FUlPCcPCc +/* 8034C7A0 00349700 28 03 00 00 */ cmplwi r3, 0 +/* 8034C7A4 00349704 41 82 00 28 */ beq lbl_8034C7CC +/* 8034C7A8 00349708 88 A1 00 10 */ lbz r5, 0x10(r1) +/* 8034C7AC 0034970C 38 00 00 00 */ li r0, 0 +/* 8034C7B0 00349710 88 81 00 1C */ lbz r4, 0x1c(r1) +/* 8034C7B4 00349714 98 A3 00 00 */ stb r5, 0(r3) +/* 8034C7B8 00349718 98 83 00 01 */ stb r4, 1(r3) +/* 8034C7BC 0034971C 90 03 00 04 */ stw r0, 4(r3) +/* 8034C7C0 00349720 90 03 00 08 */ stw r0, 8(r3) +/* 8034C7C4 00349724 90 03 00 0C */ stw r0, 0xc(r3) +/* 8034C7C8 00349728 90 03 00 10 */ stw r0, 0x10(r3) +lbl_8034C7CC: +/* 8034C7CC 0034972C 3C 80 80 3E */ lis r4, lbl_803D8210@ha +/* 8034C7D0 00349730 90 6D A9 D4 */ stw r3, lbl_805A9594@sda21(r13) +/* 8034C7D4 00349734 38 84 82 10 */ addi r4, r4, lbl_803D8210@l +/* 8034C7D8 00349738 38 60 00 14 */ li r3, 0x14 +/* 8034C7DC 0034973C 38 A0 00 00 */ li r5, 0 +/* 8034C7E0 00349740 4B FC 90 8D */ bl __nw__FUlPCcPCc +/* 8034C7E4 00349744 28 03 00 00 */ cmplwi r3, 0 +/* 8034C7E8 00349748 41 82 00 28 */ beq lbl_8034C810 +/* 8034C7EC 0034974C 88 A1 00 0C */ lbz r5, 0xc(r1) +/* 8034C7F0 00349750 38 00 00 00 */ li r0, 0 +/* 8034C7F4 00349754 88 81 00 18 */ lbz r4, 0x18(r1) +/* 8034C7F8 00349758 98 A3 00 00 */ stb r5, 0(r3) +/* 8034C7FC 0034975C 98 83 00 01 */ stb r4, 1(r3) +/* 8034C800 00349760 90 03 00 04 */ stw r0, 4(r3) +/* 8034C804 00349764 90 03 00 08 */ stw r0, 8(r3) +/* 8034C808 00349768 90 03 00 0C */ stw r0, 0xc(r3) +/* 8034C80C 0034976C 90 03 00 10 */ stw r0, 0x10(r3) +lbl_8034C810: +/* 8034C810 00349770 3C 80 80 3E */ lis r4, lbl_803D8210@ha +/* 8034C814 00349774 90 6D A9 D8 */ stw r3, lbl_805A9598@sda21(r13) +/* 8034C818 00349778 38 84 82 10 */ addi r4, r4, lbl_803D8210@l +/* 8034C81C 0034977C 38 60 00 14 */ li r3, 0x14 +/* 8034C820 00349780 38 A0 00 00 */ li r5, 0 +/* 8034C824 00349784 4B FC 90 49 */ bl __nw__FUlPCcPCc +/* 8034C828 00349788 28 03 00 00 */ cmplwi r3, 0 +/* 8034C82C 0034978C 41 82 00 28 */ beq lbl_8034C854 +/* 8034C830 00349790 88 A1 00 08 */ lbz r5, 8(r1) +/* 8034C834 00349794 38 00 00 00 */ li r0, 0 +/* 8034C838 00349798 88 81 00 14 */ lbz r4, 0x14(r1) +/* 8034C83C 0034979C 98 A3 00 00 */ stb r5, 0(r3) +/* 8034C840 003497A0 98 83 00 01 */ stb r4, 1(r3) +/* 8034C844 003497A4 90 03 00 04 */ stw r0, 4(r3) +/* 8034C848 003497A8 90 03 00 08 */ stw r0, 8(r3) +/* 8034C84C 003497AC 90 03 00 0C */ stw r0, 0xc(r3) +/* 8034C850 003497B0 90 03 00 10 */ stw r0, 0x10(r3) +lbl_8034C854: +/* 8034C854 003497B4 3C 80 80 3E */ lis r4, lbl_803D8210@ha +/* 8034C858 003497B8 90 6D A9 DC */ stw r3, lbl_805A959C@sda21(r13) +/* 8034C85C 003497BC 38 84 82 10 */ addi r4, r4, lbl_803D8210@l +/* 8034C860 003497C0 38 60 00 10 */ li r3, 0x10 +/* 8034C864 003497C4 38 A0 00 00 */ li r5, 0 +/* 8034C868 003497C8 4B FC 90 05 */ bl __nw__FUlPCcPCc +/* 8034C86C 003497CC 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8034C870 003497D0 41 82 00 A0 */ beq lbl_8034C910 +/* 8034C874 003497D4 57 7D 06 3E */ clrlwi r29, r27, 0x18 +/* 8034C878 003497D8 8B E2 CC 41 */ lbz r31, lbl_805AE961@sda21(r2) +/* 8034C87C 003497DC 93 BE 00 04 */ stw r29, 4(r30) +/* 8034C880 003497E0 93 BE 00 08 */ stw r29, 8(r30) +/* 8034C884 003497E4 80 1E 00 04 */ lwz r0, 4(r30) +/* 8034C888 003497E8 1C 60 00 54 */ mulli r3, r0, 0x54 +/* 8034C88C 003497EC 2C 03 00 00 */ cmpwi r3, 0 +/* 8034C890 003497F0 40 82 00 10 */ bne lbl_8034C8A0 +/* 8034C894 003497F4 38 00 00 00 */ li r0, 0 +/* 8034C898 003497F8 90 1E 00 0C */ stw r0, 0xc(r30) +/* 8034C89C 003497FC 48 00 00 18 */ b lbl_8034C8B4 +lbl_8034C8A0: +/* 8034C8A0 00349800 3C 80 80 3E */ lis r4, lbl_803D8210@ha +/* 8034C8A4 00349804 38 A0 00 00 */ li r5, 0 +/* 8034C8A8 00349808 38 84 82 10 */ addi r4, r4, lbl_803D8210@l +/* 8034C8AC 0034980C 4B FC 8F 6D */ bl __nwa__FUlPCcPCc +/* 8034C8B0 00349810 90 7E 00 0C */ stw r3, 0xc(r30) +lbl_8034C8B4: +/* 8034C8B4 00349814 39 20 00 00 */ li r9, 0 +/* 8034C8B8 00349818 81 5E 00 0C */ lwz r10, 0xc(r30) +/* 8034C8BC 0034981C 7D 23 4B 78 */ mr r3, r9 +/* 8034C8C0 00349820 38 C0 00 0A */ li r6, 0xa +/* 8034C8C4 00349824 7D 20 4B 78 */ mr r0, r9 +/* 8034C8C8 00349828 48 00 00 40 */ b lbl_8034C908 +lbl_8034C8CC: +/* 8034C8CC 0034982C 28 0A 00 00 */ cmplwi r10, 0 +/* 8034C8D0 00349830 41 82 00 30 */ beq lbl_8034C900 +/* 8034C8D4 00349834 39 0A FF FC */ addi r8, r10, -4 +/* 8034C8D8 00349838 38 E1 00 24 */ addi r7, r1, 0x24 +/* 8034C8DC 0034983C 7C C9 03 A6 */ mtctr r6 +lbl_8034C8E0: +/* 8034C8E0 00349840 80 A7 00 04 */ lwz r5, 4(r7) +/* 8034C8E4 00349844 84 87 00 08 */ lwzu r4, 8(r7) +/* 8034C8E8 00349848 90 A8 00 04 */ stw r5, 4(r8) +/* 8034C8EC 0034984C 94 88 00 08 */ stwu r4, 8(r8) +/* 8034C8F0 00349850 42 00 FF F0 */ bdnz lbl_8034C8E0 +/* 8034C8F4 00349854 98 6A 00 50 */ stb r3, 0x50(r10) +/* 8034C8F8 00349858 98 0A 00 51 */ stb r0, 0x51(r10) +/* 8034C8FC 0034985C 9B EA 00 52 */ stb r31, 0x52(r10) +lbl_8034C900: +/* 8034C900 00349860 39 29 00 01 */ addi r9, r9, 1 +/* 8034C904 00349864 39 4A 00 54 */ addi r10, r10, 0x54 +lbl_8034C908: +/* 8034C908 00349868 7C 09 E8 00 */ cmpw r9, r29 +/* 8034C90C 0034986C 41 80 FF C0 */ blt lbl_8034C8CC +lbl_8034C910: +/* 8034C910 00349870 3C 60 80 3E */ lis r3, lbl_803D8210@ha +/* 8034C914 00349874 93 CD A9 E0 */ stw r30, lbl_805A95A0@sda21(r13) +/* 8034C918 00349878 38 83 82 10 */ addi r4, r3, lbl_803D8210@l +/* 8034C91C 0034987C 38 A0 00 00 */ li r5, 0 +/* 8034C920 00349880 38 60 00 90 */ li r3, 0x90 +/* 8034C924 00349884 4B FC 8F 49 */ bl __nw__FUlPCcPCc +/* 8034C928 00349888 38 00 00 00 */ li r0, 0 +/* 8034C92C 0034988C 90 6D A9 E4 */ stw r3, lbl_805A95A4@sda21(r13) +/* 8034C930 00349890 98 0D A9 D1 */ stb r0, lbl_805A9591@sda21(r13) +/* 8034C934 00349894 9B 6D A9 D3 */ stb r27, lbl_805A9593@sda21(r13) +/* 8034C938 00349898 48 03 76 D9 */ bl OSGetSoundMode +/* 8034C93C 0034989C 28 03 00 00 */ cmplwi r3, 0 +/* 8034C940 003498A0 40 82 00 18 */ bne lbl_8034C958 +/* 8034C944 003498A4 38 60 00 00 */ li r3, 0 +/* 8034C948 003498A8 48 04 FB 01 */ bl sndOutputMode +/* 8034C94C 003498AC 38 00 00 00 */ li r0, 0 +/* 8034C950 003498B0 90 0D A9 EC */ stw r0, lbl_805A95AC@sda21(r13) +/* 8034C954 003498B4 48 00 00 14 */ b lbl_8034C968 +lbl_8034C958: +/* 8034C958 003498B8 38 60 00 02 */ li r3, 2 +/* 8034C95C 003498BC 48 04 FA ED */ bl sndOutputMode +/* 8034C960 003498C0 38 00 00 02 */ li r0, 2 +/* 8034C964 003498C4 90 0D A9 EC */ stw r0, lbl_805A95AC@sda21(r13) +lbl_8034C968: +/* 8034C968 003498C8 93 8D A9 F0 */ stw r28, lbl_805A95B0@sda21(r13) +/* 8034C96C 003498CC 7F 43 D3 78 */ mr r3, r26 +/* 8034C970 003498D0 BB 41 00 88 */ lmw r26, 0x88(r1) +/* 8034C974 003498D4 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 8034C978 003498D8 7C 08 03 A6 */ mtlr r0 +/* 8034C97C 003498DC 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 8034C980 003498E0 4E 80 00 20 */ blr + +.global DoFree__FPv +DoFree__FPv: +/* 8034C984 003498E4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034C988 003498E8 7C 08 02 A6 */ mflr r0 +/* 8034C98C 003498EC 28 03 00 00 */ cmplwi r3, 0 +/* 8034C990 003498F0 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034C994 003498F4 41 82 00 08 */ beq lbl_8034C99C +/* 8034C998 003498F8 4B FC 8F 99 */ bl Free__7CMemoryFPCv +lbl_8034C99C: +/* 8034C99C 003498FC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034C9A0 00349900 7C 08 03 A6 */ mtlr r0 +/* 8034C9A4 00349904 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034C9A8 00349908 4E 80 00 20 */ blr + +.global DoMalloc__FUl +DoMalloc__FUl: +/* 8034C9AC 0034990C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034C9B0 00349910 7C 08 02 A6 */ mflr r0 +/* 8034C9B4 00349914 3C 80 80 3E */ lis r4, lbl_803D8210@ha +/* 8034C9B8 00349918 38 A0 00 00 */ li r5, 0 +/* 8034C9BC 0034991C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034C9C0 00349920 38 84 82 10 */ addi r4, r4, lbl_803D8210@l +/* 8034C9C4 00349924 4B FC 8E 55 */ bl __nwa__FUlPCcPCc +/* 8034C9C8 00349928 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034C9CC 0034992C 7C 08 03 A6 */ mtlr r0 +/* 8034C9D0 00349930 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034C9D4 00349934 4E 80 00 20 */ blr + +.global sub_8034c9d8 +sub_8034c9d8: +/* 8034C9D8 00349938 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034C9DC 0034993C 7C 08 02 A6 */ mflr r0 +/* 8034C9E0 00349940 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034C9E4 00349944 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034C9E8 00349948 7C 7F 1B 78 */ mr r31, r3 +/* 8034C9EC 0034994C 80 83 00 00 */ lwz r4, 0(r3) +/* 8034C9F0 00349950 80 64 00 04 */ lwz r3, 4(r4) +/* 8034C9F4 00349954 34 03 FF FF */ addic. r0, r3, -1 +/* 8034C9F8 00349958 90 04 00 04 */ stw r0, 4(r4) +/* 8034C9FC 0034995C 41 81 00 24 */ bgt lbl_8034CA20 +/* 8034CA00 00349960 80 7F 00 00 */ lwz r3, 0(r31) +/* 8034CA04 00349964 38 80 00 01 */ li r4, 1 +/* 8034CA08 00349968 80 63 00 00 */ lwz r3, 0(r3) +/* 8034CA0C 0034996C 4B FF DC 71 */ bl __dt__14CAudioGroupSetFv +/* 8034CA10 00349970 80 7F 00 00 */ lwz r3, 0(r31) +/* 8034CA14 00349974 28 03 00 00 */ cmplwi r3, 0 +/* 8034CA18 00349978 41 82 00 08 */ beq lbl_8034CA20 +/* 8034CA1C 0034997C 4B FC 8F 15 */ bl Free__7CMemoryFPCv +lbl_8034CA20: +/* 8034CA20 00349980 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034CA24 00349984 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034CA28 00349988 7C 08 03 A6 */ mtlr r0 +/* 8034CA2C 0034998C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034CA30 00349990 4E 80 00 20 */ blr + +.global sub_8034ca34 +sub_8034ca34: +/* 8034CA34 00349994 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034CA38 00349998 7C 08 02 A6 */ mflr r0 +/* 8034CA3C 0034999C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034CA40 003499A0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034CA44 003499A4 7C 9F 23 78 */ mr r31, r4 +/* 8034CA48 003499A8 93 C1 00 08 */ stw r30, 8(r1) +/* 8034CA4C 003499AC 7C 7E 1B 78 */ mr r30, r3 +/* 8034CA50 003499B0 80 84 00 00 */ lwz r4, 0(r4) +/* 8034CA54 003499B4 28 04 00 00 */ cmplwi r4, 0 +/* 8034CA58 003499B8 41 82 00 08 */ beq lbl_8034CA60 +/* 8034CA5C 003499BC 4B FF FF D9 */ bl sub_8034ca34 +lbl_8034CA60: +/* 8034CA60 003499C0 80 9F 00 04 */ lwz r4, 4(r31) +/* 8034CA64 003499C4 28 04 00 00 */ cmplwi r4, 0 +/* 8034CA68 003499C8 41 82 00 0C */ beq lbl_8034CA74 +/* 8034CA6C 003499CC 7F C3 F3 78 */ mr r3, r30 +/* 8034CA70 003499D0 4B FF FF C5 */ bl sub_8034ca34 +lbl_8034CA74: +/* 8034CA74 003499D4 28 1F 00 00 */ cmplwi r31, 0 +/* 8034CA78 003499D8 41 82 00 30 */ beq lbl_8034CAA8 +/* 8034CA7C 003499DC 34 1F 00 10 */ addic. r0, r31, 0x10 +/* 8034CA80 003499E0 41 82 00 28 */ beq lbl_8034CAA8 +/* 8034CA84 003499E4 34 7F 00 20 */ addic. r3, r31, 0x20 +/* 8034CA88 003499E8 41 82 00 10 */ beq lbl_8034CA98 +/* 8034CA8C 003499EC 28 03 00 00 */ cmplwi r3, 0 +/* 8034CA90 003499F0 41 82 00 08 */ beq lbl_8034CA98 +/* 8034CA94 003499F4 48 00 09 71 */ bl sub_8034d404 +lbl_8034CA98: +/* 8034CA98 003499F8 34 1F 00 10 */ addic. r0, r31, 0x10 +/* 8034CA9C 003499FC 41 82 00 0C */ beq lbl_8034CAA8 +/* 8034CAA0 00349A00 38 7F 00 10 */ addi r3, r31, 0x10 +/* 8034CAA4 00349A04 4B FF 10 3D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8034CAA8: +/* 8034CAA8 00349A08 28 1F 00 00 */ cmplwi r31, 0 +/* 8034CAAC 00349A0C 41 82 00 0C */ beq lbl_8034CAB8 +/* 8034CAB0 00349A10 7F E3 FB 78 */ mr r3, r31 +/* 8034CAB4 00349A14 4B FC 8E 7D */ bl Free__7CMemoryFPCv +lbl_8034CAB8: +/* 8034CAB8 00349A18 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034CABC 00349A1C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034CAC0 00349A20 83 C1 00 08 */ lwz r30, 8(r1) +/* 8034CAC4 00349A24 7C 08 03 A6 */ mtlr r0 +/* 8034CAC8 00349A28 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034CACC 00349A2C 4E 80 00 20 */ blr + +.global sub_8034cad0 +sub_8034cad0: +/* 8034CAD0 00349A30 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034CAD4 00349A34 7C 08 02 A6 */ mflr r0 +/* 8034CAD8 00349A38 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034CADC 00349A3C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034CAE0 00349A40 7C 9F 23 78 */ mr r31, r4 +/* 8034CAE4 00349A44 93 C1 00 08 */ stw r30, 8(r1) +/* 8034CAE8 00349A48 7C 7E 1B 78 */ mr r30, r3 +/* 8034CAEC 00349A4C 80 84 00 00 */ lwz r4, 0(r4) +/* 8034CAF0 00349A50 28 04 00 00 */ cmplwi r4, 0 +/* 8034CAF4 00349A54 41 82 00 08 */ beq lbl_8034CAFC +/* 8034CAF8 00349A58 4B FF FF D9 */ bl sub_8034cad0 +lbl_8034CAFC: +/* 8034CAFC 00349A5C 80 9F 00 04 */ lwz r4, 4(r31) +/* 8034CB00 00349A60 28 04 00 00 */ cmplwi r4, 0 +/* 8034CB04 00349A64 41 82 00 0C */ beq lbl_8034CB10 +/* 8034CB08 00349A68 7F C3 F3 78 */ mr r3, r30 +/* 8034CB0C 00349A6C 4B FF FF C5 */ bl sub_8034cad0 +lbl_8034CB10: +/* 8034CB10 00349A70 28 1F 00 00 */ cmplwi r31, 0 +/* 8034CB14 00349A74 41 82 00 18 */ beq lbl_8034CB2C +/* 8034CB18 00349A78 34 1F 00 10 */ addic. r0, r31, 0x10 +/* 8034CB1C 00349A7C 41 82 00 10 */ beq lbl_8034CB2C +/* 8034CB20 00349A80 34 7F 00 14 */ addic. r3, r31, 0x14 +/* 8034CB24 00349A84 41 82 00 08 */ beq lbl_8034CB2C +/* 8034CB28 00349A88 4B FF 0F B9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8034CB2C: +/* 8034CB2C 00349A8C 28 1F 00 00 */ cmplwi r31, 0 +/* 8034CB30 00349A90 41 82 00 0C */ beq lbl_8034CB3C +/* 8034CB34 00349A94 7F E3 FB 78 */ mr r3, r31 +/* 8034CB38 00349A98 4B FC 8D F9 */ bl Free__7CMemoryFPCv +lbl_8034CB3C: +/* 8034CB3C 00349A9C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034CB40 00349AA0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034CB44 00349AA4 83 C1 00 08 */ lwz r30, 8(r1) +/* 8034CB48 00349AA8 7C 08 03 A6 */ mtlr r0 +/* 8034CB4C 00349AAC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034CB50 00349AB0 4E 80 00 20 */ blr + +.global sub_8034cb54 +sub_8034cb54: +/* 8034CB54 00349AB4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034CB58 00349AB8 7C 08 02 A6 */ mflr r0 +/* 8034CB5C 00349ABC 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034CB60 00349AC0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034CB64 00349AC4 7C 9F 23 78 */ mr r31, r4 +/* 8034CB68 00349AC8 93 C1 00 08 */ stw r30, 8(r1) +/* 8034CB6C 00349ACC 7C 7E 1B 78 */ mr r30, r3 +/* 8034CB70 00349AD0 80 84 00 00 */ lwz r4, 0(r4) +/* 8034CB74 00349AD4 28 04 00 00 */ cmplwi r4, 0 +/* 8034CB78 00349AD8 41 82 00 08 */ beq lbl_8034CB80 +/* 8034CB7C 00349ADC 4B FF FF D9 */ bl sub_8034cb54 +lbl_8034CB80: +/* 8034CB80 00349AE0 80 9F 00 04 */ lwz r4, 4(r31) +/* 8034CB84 00349AE4 28 04 00 00 */ cmplwi r4, 0 +/* 8034CB88 00349AE8 41 82 00 0C */ beq lbl_8034CB94 +/* 8034CB8C 00349AEC 7F C3 F3 78 */ mr r3, r30 +/* 8034CB90 00349AF0 4B FF FF C5 */ bl sub_8034cb54 +lbl_8034CB94: +/* 8034CB94 00349AF4 28 1F 00 00 */ cmplwi r31, 0 +/* 8034CB98 00349AF8 41 82 00 30 */ beq lbl_8034CBC8 +/* 8034CB9C 00349AFC 34 1F 00 10 */ addic. r0, r31, 0x10 +/* 8034CBA0 00349B00 41 82 00 28 */ beq lbl_8034CBC8 +/* 8034CBA4 00349B04 34 7F 00 20 */ addic. r3, r31, 0x20 +/* 8034CBA8 00349B08 41 82 00 10 */ beq lbl_8034CBB8 +/* 8034CBAC 00349B0C 28 03 00 00 */ cmplwi r3, 0 +/* 8034CBB0 00349B10 41 82 00 08 */ beq lbl_8034CBB8 +/* 8034CBB4 00349B14 4B FF FE 25 */ bl sub_8034c9d8 +lbl_8034CBB8: +/* 8034CBB8 00349B18 34 1F 00 10 */ addic. r0, r31, 0x10 +/* 8034CBBC 00349B1C 41 82 00 0C */ beq lbl_8034CBC8 +/* 8034CBC0 00349B20 38 7F 00 10 */ addi r3, r31, 0x10 +/* 8034CBC4 00349B24 4B FF 0F 1D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8034CBC8: +/* 8034CBC8 00349B28 28 1F 00 00 */ cmplwi r31, 0 +/* 8034CBCC 00349B2C 41 82 00 0C */ beq lbl_8034CBD8 +/* 8034CBD0 00349B30 7F E3 FB 78 */ mr r3, r31 +/* 8034CBD4 00349B34 4B FC 8D 5D */ bl Free__7CMemoryFPCv +lbl_8034CBD8: +/* 8034CBD8 00349B38 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034CBDC 00349B3C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034CBE0 00349B40 83 C1 00 08 */ lwz r30, 8(r1) +/* 8034CBE4 00349B44 7C 08 03 A6 */ mtlr r0 +/* 8034CBE8 00349B48 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034CBEC 00349B4C 4E 80 00 20 */ blr + +.global sub_8034cbf0 +sub_8034cbf0: +/* 8034CBF0 00349B50 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8034CBF4 00349B54 7C 08 02 A6 */ mflr r0 +/* 8034CBF8 00349B58 90 01 00 24 */ stw r0, 0x24(r1) +/* 8034CBFC 00349B5C 38 A1 00 0C */ addi r5, r1, 0xc +/* 8034CC00 00349B60 89 21 00 08 */ lbz r9, 8(r1) +/* 8034CC04 00349B64 81 04 00 00 */ lwz r8, 0(r4) +/* 8034CC08 00349B68 80 E4 00 04 */ lwz r7, 4(r4) +/* 8034CC0C 00349B6C 38 81 00 10 */ addi r4, r1, 0x10 +/* 8034CC10 00349B70 80 C3 00 00 */ lwz r6, 0(r3) +/* 8034CC14 00349B74 80 03 00 04 */ lwz r0, 4(r3) +/* 8034CC18 00349B78 38 61 00 18 */ addi r3, r1, 0x18 +/* 8034CC1C 00349B7C 99 21 00 0C */ stb r9, 0xc(r1) +/* 8034CC20 00349B80 91 01 00 10 */ stw r8, 0x10(r1) +/* 8034CC24 00349B84 90 E1 00 14 */ stw r7, 0x14(r1) +/* 8034CC28 00349B88 90 C1 00 18 */ stw r6, 0x18(r1) +/* 8034CC2C 00349B8C 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8034CC30 00349B90 48 00 00 15 */ bl sub_8034cc44 +/* 8034CC34 00349B94 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8034CC38 00349B98 7C 08 03 A6 */ mtlr r0 +/* 8034CC3C 00349B9C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8034CC40 00349BA0 4E 80 00 20 */ blr + +.global sub_8034cc44 +sub_8034cc44: +/* 8034CC44 00349BA4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8034CC48 00349BA8 7C 08 02 A6 */ mflr r0 +/* 8034CC4C 00349BAC 90 01 00 24 */ stw r0, 0x24(r1) +/* 8034CC50 00349BB0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8034CC54 00349BB4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8034CC58 00349BB8 3B C0 00 00 */ li r30, 0 +/* 8034CC5C 00349BBC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8034CC60 00349BC0 7C 9D 23 78 */ mr r29, r4 +/* 8034CC64 00349BC4 80 A3 00 00 */ lwz r5, 0(r3) +/* 8034CC68 00349BC8 83 E3 00 04 */ lwz r31, 4(r3) +/* 8034CC6C 00349BCC 48 00 00 18 */ b lbl_8034CC84 +lbl_8034CC70: +/* 8034CC70 00349BD0 7F E3 FB 78 */ mr r3, r31 +/* 8034CC74 00349BD4 7C A4 2B 78 */ mr r4, r5 +/* 8034CC78 00349BD8 3B DE 00 01 */ addi r30, r30, 1 +/* 8034CC7C 00349BDC 4B FE F9 65 */ bl rbtree_traverse_forward__4rstlFPCvPv +/* 8034CC80 00349BE0 7C 65 1B 78 */ mr r5, r3 +lbl_8034CC84: +/* 8034CC84 00349BE4 80 1D 00 00 */ lwz r0, 0(r29) +/* 8034CC88 00349BE8 38 60 00 00 */ li r3, 0 +/* 8034CC8C 00349BEC 7C 05 00 40 */ cmplw r5, r0 +/* 8034CC90 00349BF0 40 82 00 10 */ bne lbl_8034CCA0 +/* 8034CC94 00349BF4 80 1D 00 04 */ lwz r0, 4(r29) +/* 8034CC98 00349BF8 7C 1F 00 40 */ cmplw r31, r0 +/* 8034CC9C 00349BFC 41 82 00 08 */ beq lbl_8034CCA4 +lbl_8034CCA0: +/* 8034CCA0 00349C00 38 60 00 01 */ li r3, 1 +lbl_8034CCA4: +/* 8034CCA4 00349C04 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8034CCA8 00349C08 40 82 FF C8 */ bne lbl_8034CC70 +/* 8034CCAC 00349C0C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8034CCB0 00349C10 7F C3 F3 78 */ mr r3, r30 +/* 8034CCB4 00349C14 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8034CCB8 00349C18 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8034CCBC 00349C1C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8034CCC0 00349C20 7C 08 03 A6 */ mtlr r0 +/* 8034CCC4 00349C24 38 21 00 20 */ addi r1, r1, 0x20 +/* 8034CCC8 00349C28 4E 80 00 20 */ blr + +.global "insert_into__Q24rstl488red_black_tree,Q24rstl17rmemory_allocator>,Q24rstl117pair,Q24rstl17rmemory_allocator>,Q24rstl26ncrc_ptr<14CAudioGroupSet>>,0,Q24rstl138select1st,Q24rstl17rmemory_allocator>,Q24rstl26ncrc_ptr<14CAudioGroupSet>>>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator" +"insert_into__Q24rstl488red_black_tree,Q24rstl17rmemory_allocator>,Q24rstl117pair,Q24rstl17rmemory_allocator>,Q24rstl26ncrc_ptr<14CAudioGroupSet>>,0,Q24rstl138select1st,Q24rstl17rmemory_allocator>,Q24rstl26ncrc_ptr<14CAudioGroupSet>>>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator": +/* 8034CCCC 00349C2C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8034CCD0 00349C30 7C 08 02 A6 */ mflr r0 +/* 8034CCD4 00349C34 28 05 00 00 */ cmplwi r5, 0 +/* 8034CCD8 00349C38 90 01 00 24 */ stw r0, 0x24(r1) +/* 8034CCDC 00349C3C BF 41 00 08 */ stmw r26, 8(r1) +/* 8034CCE0 00349C40 7C 7C 1B 78 */ mr r28, r3 +/* 8034CCE4 00349C44 7C 9D 23 78 */ mr r29, r4 +/* 8034CCE8 00349C48 7C DE 33 78 */ mr r30, r6 +/* 8034CCEC 00349C4C 40 82 00 9C */ bne lbl_8034CD88 +/* 8034CCF0 00349C50 3C 80 80 3E */ lis r4, lbl_803D8210@ha +/* 8034CCF4 00349C54 38 60 00 24 */ li r3, 0x24 +/* 8034CCF8 00349C58 38 84 82 10 */ addi r4, r4, lbl_803D8210@l +/* 8034CCFC 00349C5C 38 A0 00 00 */ li r5, 0 +/* 8034CD00 00349C60 4B FC 8B 19 */ bl __nwa__FUlPCcPCc +/* 8034CD04 00349C64 7C 7B 1B 79 */ or. r27, r3, r3 +/* 8034CD08 00349C68 41 82 00 44 */ beq lbl_8034CD4C +/* 8034CD0C 00349C6C 38 00 00 00 */ li r0, 0 +/* 8034CD10 00349C70 37 FB 00 10 */ addic. r31, r27, 0x10 +/* 8034CD14 00349C74 90 1B 00 00 */ stw r0, 0(r27) +/* 8034CD18 00349C78 90 1B 00 04 */ stw r0, 4(r27) +/* 8034CD1C 00349C7C 90 1B 00 08 */ stw r0, 8(r27) +/* 8034CD20 00349C80 90 1B 00 0C */ stw r0, 0xc(r27) +/* 8034CD24 00349C84 41 82 00 28 */ beq lbl_8034CD4C +/* 8034CD28 00349C88 7F E3 FB 78 */ mr r3, r31 +/* 8034CD2C 00349C8C 7F C4 F3 78 */ mr r4, r30 +/* 8034CD30 00349C90 4B FF 14 31 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8034CD34 00349C94 80 1E 00 10 */ lwz r0, 0x10(r30) +/* 8034CD38 00349C98 90 1F 00 10 */ stw r0, 0x10(r31) +/* 8034CD3C 00349C9C 80 9F 00 10 */ lwz r4, 0x10(r31) +/* 8034CD40 00349CA0 80 64 00 04 */ lwz r3, 4(r4) +/* 8034CD44 00349CA4 38 03 00 01 */ addi r0, r3, 1 +/* 8034CD48 00349CA8 90 04 00 04 */ stw r0, 4(r4) +lbl_8034CD4C: +/* 8034CD4C 00349CAC 93 7D 00 10 */ stw r27, 0x10(r29) +/* 8034CD50 00349CB0 38 1D 00 08 */ addi r0, r29, 8 +/* 8034CD54 00349CB4 80 7D 00 04 */ lwz r3, 4(r29) +/* 8034CD58 00349CB8 38 63 00 01 */ addi r3, r3, 1 +/* 8034CD5C 00349CBC 90 7D 00 04 */ stw r3, 4(r29) +/* 8034CD60 00349CC0 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 8034CD64 00349CC4 90 7D 00 08 */ stw r3, 8(r29) +/* 8034CD68 00349CC8 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 8034CD6C 00349CCC 90 7D 00 0C */ stw r3, 0xc(r29) +/* 8034CD70 00349CD0 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 8034CD74 00349CD4 90 7C 00 00 */ stw r3, 0(r28) +/* 8034CD78 00349CD8 90 1C 00 04 */ stw r0, 4(r28) +/* 8034CD7C 00349CDC 88 0D 9D E5 */ lbz r0, lbl_805A89A5@sda21(r13) +/* 8034CD80 00349CE0 98 1C 00 08 */ stb r0, 8(r28) +/* 8034CD84 00349CE4 48 00 01 B4 */ b lbl_8034CF38 +lbl_8034CD88: +/* 8034CD88 00349CE8 7C BF 2B 78 */ mr r31, r5 +/* 8034CD8C 00349CEC 3B 40 00 00 */ li r26, 0 +/* 8034CD90 00349CF0 48 00 01 74 */ b lbl_8034CF04 +lbl_8034CD94: +/* 8034CD94 00349CF4 7F C4 F3 78 */ mr r4, r30 +/* 8034CD98 00349CF8 38 7D 00 01 */ addi r3, r29, 1 +/* 8034CD9C 00349CFC 38 BF 00 10 */ addi r5, r31, 0x10 +/* 8034CDA0 00349D00 4B CD D9 89 */ bl "__cl__Q24rstl140select1st,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>>CFRCQ24rstl119pair,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>" +/* 8034CDA4 00349D04 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8034CDA8 00349D08 7C 7B 1B 78 */ mr r27, r3 +/* 8034CDAC 00349D0C 40 82 00 34 */ bne lbl_8034CDE0 +/* 8034CDB0 00349D10 7F C5 F3 78 */ mr r5, r30 +/* 8034CDB4 00349D14 38 7D 00 01 */ addi r3, r29, 1 +/* 8034CDB8 00349D18 38 9F 00 10 */ addi r4, r31, 0x10 +/* 8034CDBC 00349D1C 4B CD D9 6D */ bl "__cl__Q24rstl140select1st,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>>CFRCQ24rstl119pair,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>" +/* 8034CDC0 00349D20 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8034CDC4 00349D24 40 82 00 1C */ bne lbl_8034CDE0 +/* 8034CDC8 00349D28 93 FC 00 00 */ stw r31, 0(r28) +/* 8034CDCC 00349D2C 38 1D 00 08 */ addi r0, r29, 8 +/* 8034CDD0 00349D30 90 1C 00 04 */ stw r0, 4(r28) +/* 8034CDD4 00349D34 88 0D 9D E6 */ lbz r0, lbl_805A89A6@sda21(r13) +/* 8034CDD8 00349D38 98 1C 00 08 */ stb r0, 8(r28) +/* 8034CDDC 00349D3C 48 00 01 5C */ b lbl_8034CF38 +lbl_8034CDE0: +/* 8034CDE0 00349D40 57 60 06 3F */ clrlwi. r0, r27, 0x18 +/* 8034CDE4 00349D44 41 82 00 94 */ beq lbl_8034CE78 +/* 8034CDE8 00349D48 80 1F 00 00 */ lwz r0, 0(r31) +/* 8034CDEC 00349D4C 28 00 00 00 */ cmplwi r0, 0 +/* 8034CDF0 00349D50 40 82 00 80 */ bne lbl_8034CE70 +/* 8034CDF4 00349D54 3C 80 80 3E */ lis r4, lbl_803D8210@ha +/* 8034CDF8 00349D58 38 60 00 24 */ li r3, 0x24 +/* 8034CDFC 00349D5C 38 84 82 10 */ addi r4, r4, lbl_803D8210@l +/* 8034CE00 00349D60 38 A0 00 00 */ li r5, 0 +/* 8034CE04 00349D64 4B FC 8A 15 */ bl __nwa__FUlPCcPCc +/* 8034CE08 00349D68 7C 7B 1B 79 */ or. r27, r3, r3 +/* 8034CE0C 00349D6C 41 82 00 48 */ beq lbl_8034CE54 +/* 8034CE10 00349D70 38 60 00 00 */ li r3, 0 +/* 8034CE14 00349D74 37 5B 00 10 */ addic. r26, r27, 0x10 +/* 8034CE18 00349D78 90 7B 00 00 */ stw r3, 0(r27) +/* 8034CE1C 00349D7C 38 00 00 01 */ li r0, 1 +/* 8034CE20 00349D80 90 7B 00 04 */ stw r3, 4(r27) +/* 8034CE24 00349D84 93 FB 00 08 */ stw r31, 8(r27) +/* 8034CE28 00349D88 90 1B 00 0C */ stw r0, 0xc(r27) +/* 8034CE2C 00349D8C 41 82 00 28 */ beq lbl_8034CE54 +/* 8034CE30 00349D90 7F 43 D3 78 */ mr r3, r26 +/* 8034CE34 00349D94 7F C4 F3 78 */ mr r4, r30 +/* 8034CE38 00349D98 4B FF 13 29 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8034CE3C 00349D9C 80 1E 00 10 */ lwz r0, 0x10(r30) +/* 8034CE40 00349DA0 90 1A 00 10 */ stw r0, 0x10(r26) +/* 8034CE44 00349DA4 80 9A 00 10 */ lwz r4, 0x10(r26) +/* 8034CE48 00349DA8 80 64 00 04 */ lwz r3, 4(r4) +/* 8034CE4C 00349DAC 38 03 00 01 */ addi r0, r3, 1 +/* 8034CE50 00349DB0 90 04 00 04 */ stw r0, 4(r4) +lbl_8034CE54: +/* 8034CE54 00349DB4 93 7F 00 00 */ stw r27, 0(r31) +/* 8034CE58 00349DB8 7F 7A DB 78 */ mr r26, r27 +/* 8034CE5C 00349DBC 80 1D 00 08 */ lwz r0, 8(r29) +/* 8034CE60 00349DC0 7C 1F 00 40 */ cmplw r31, r0 +/* 8034CE64 00349DC4 40 82 00 A0 */ bne lbl_8034CF04 +/* 8034CE68 00349DC8 93 7D 00 08 */ stw r27, 8(r29) +/* 8034CE6C 00349DCC 48 00 00 98 */ b lbl_8034CF04 +lbl_8034CE70: +/* 8034CE70 00349DD0 7C 1F 03 78 */ mr r31, r0 +/* 8034CE74 00349DD4 48 00 00 90 */ b lbl_8034CF04 +lbl_8034CE78: +/* 8034CE78 00349DD8 80 1F 00 04 */ lwz r0, 4(r31) +/* 8034CE7C 00349DDC 28 00 00 00 */ cmplwi r0, 0 +/* 8034CE80 00349DE0 40 82 00 80 */ bne lbl_8034CF00 +/* 8034CE84 00349DE4 3C 80 80 3E */ lis r4, lbl_803D8210@ha +/* 8034CE88 00349DE8 38 60 00 24 */ li r3, 0x24 +/* 8034CE8C 00349DEC 38 84 82 10 */ addi r4, r4, lbl_803D8210@l +/* 8034CE90 00349DF0 38 A0 00 00 */ li r5, 0 +/* 8034CE94 00349DF4 4B FC 89 85 */ bl __nwa__FUlPCcPCc +/* 8034CE98 00349DF8 7C 7B 1B 79 */ or. r27, r3, r3 +/* 8034CE9C 00349DFC 41 82 00 48 */ beq lbl_8034CEE4 +/* 8034CEA0 00349E00 38 60 00 00 */ li r3, 0 +/* 8034CEA4 00349E04 37 5B 00 10 */ addic. r26, r27, 0x10 +/* 8034CEA8 00349E08 90 7B 00 00 */ stw r3, 0(r27) +/* 8034CEAC 00349E0C 38 00 00 01 */ li r0, 1 +/* 8034CEB0 00349E10 90 7B 00 04 */ stw r3, 4(r27) +/* 8034CEB4 00349E14 93 FB 00 08 */ stw r31, 8(r27) +/* 8034CEB8 00349E18 90 1B 00 0C */ stw r0, 0xc(r27) +/* 8034CEBC 00349E1C 41 82 00 28 */ beq lbl_8034CEE4 +/* 8034CEC0 00349E20 7F 43 D3 78 */ mr r3, r26 +/* 8034CEC4 00349E24 7F C4 F3 78 */ mr r4, r30 +/* 8034CEC8 00349E28 4B FF 12 99 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8034CECC 00349E2C 80 1E 00 10 */ lwz r0, 0x10(r30) +/* 8034CED0 00349E30 90 1A 00 10 */ stw r0, 0x10(r26) +/* 8034CED4 00349E34 80 9A 00 10 */ lwz r4, 0x10(r26) +/* 8034CED8 00349E38 80 64 00 04 */ lwz r3, 4(r4) +/* 8034CEDC 00349E3C 38 03 00 01 */ addi r0, r3, 1 +/* 8034CEE0 00349E40 90 04 00 04 */ stw r0, 4(r4) +lbl_8034CEE4: +/* 8034CEE4 00349E44 93 7F 00 04 */ stw r27, 4(r31) +/* 8034CEE8 00349E48 7F 7A DB 78 */ mr r26, r27 +/* 8034CEEC 00349E4C 80 1D 00 0C */ lwz r0, 0xc(r29) +/* 8034CEF0 00349E50 7C 1F 00 40 */ cmplw r31, r0 +/* 8034CEF4 00349E54 40 82 00 10 */ bne lbl_8034CF04 +/* 8034CEF8 00349E58 93 7D 00 0C */ stw r27, 0xc(r29) +/* 8034CEFC 00349E5C 48 00 00 08 */ b lbl_8034CF04 +lbl_8034CF00: +/* 8034CF00 00349E60 7C 1F 03 78 */ mr r31, r0 +lbl_8034CF04: +/* 8034CF04 00349E64 28 1A 00 00 */ cmplwi r26, 0 +/* 8034CF08 00349E68 41 82 FE 8C */ beq lbl_8034CD94 +/* 8034CF0C 00349E6C 80 BD 00 04 */ lwz r5, 4(r29) +/* 8034CF10 00349E70 7F 44 D3 78 */ mr r4, r26 +/* 8034CF14 00349E74 38 7D 00 08 */ addi r3, r29, 8 +/* 8034CF18 00349E78 38 05 00 01 */ addi r0, r5, 1 +/* 8034CF1C 00349E7C 90 1D 00 04 */ stw r0, 4(r29) +/* 8034CF20 00349E80 4B FE FB 79 */ bl rbtree_rebalance__4rstlFPvPv +/* 8034CF24 00349E84 93 5C 00 00 */ stw r26, 0(r28) +/* 8034CF28 00349E88 38 1D 00 08 */ addi r0, r29, 8 +/* 8034CF2C 00349E8C 90 1C 00 04 */ stw r0, 4(r28) +/* 8034CF30 00349E90 88 0D 9D E7 */ lbz r0, lbl_805A89A7@sda21(r13) +/* 8034CF34 00349E94 98 1C 00 08 */ stb r0, 8(r28) +lbl_8034CF38: +/* 8034CF38 00349E98 BB 41 00 08 */ lmw r26, 8(r1) +/* 8034CF3C 00349E9C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8034CF40 00349EA0 7C 08 03 A6 */ mtlr r0 +/* 8034CF44 00349EA4 38 21 00 20 */ addi r1, r1, 0x20 +/* 8034CF48 00349EA8 4E 80 00 20 */ blr + +.global "insert_into__Q24rstl273red_black_tree,Q24rstl17rmemory_allocator>>,0,Q24rstl104select1st,Q24rstl17rmemory_allocator>>>,Q24rstl8less,Q24rstl17rmemory_allocator>FPQ34rstl273red_black_tree,Q24rstl17rmemory_allocator>>,0,Q24rstl104select1st,Q24" +"insert_into__Q24rstl273red_black_tree,Q24rstl17rmemory_allocator>>,0,Q24rstl104select1st,Q24rstl17rmemory_allocator>>>,Q24rstl8less,Q24rstl17rmemory_allocator>FPQ34rstl273red_black_tree,Q24rstl17rmemory_allocator>>,0,Q24rstl104select1st,Q24": +/* 8034CF4C 00349EAC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8034CF50 00349EB0 7C 08 02 A6 */ mflr r0 +/* 8034CF54 00349EB4 28 05 00 00 */ cmplwi r5, 0 +/* 8034CF58 00349EB8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8034CF5C 00349EBC BF 61 00 0C */ stmw r27, 0xc(r1) +/* 8034CF60 00349EC0 7C 7C 1B 78 */ mr r28, r3 +/* 8034CF64 00349EC4 7C 9D 23 78 */ mr r29, r4 +/* 8034CF68 00349EC8 7C DE 33 78 */ mr r30, r6 +/* 8034CF6C 00349ECC 40 82 00 8C */ bne lbl_8034CFF8 +/* 8034CF70 00349ED0 3C 80 80 3E */ lis r4, lbl_803D8210@ha +/* 8034CF74 00349ED4 38 60 00 24 */ li r3, 0x24 +/* 8034CF78 00349ED8 38 84 82 10 */ addi r4, r4, lbl_803D8210@l +/* 8034CF7C 00349EDC 38 A0 00 00 */ li r5, 0 +/* 8034CF80 00349EE0 4B FC 88 99 */ bl __nwa__FUlPCcPCc +/* 8034CF84 00349EE4 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8034CF88 00349EE8 41 82 00 34 */ beq lbl_8034CFBC +/* 8034CF8C 00349EEC 38 00 00 00 */ li r0, 0 +/* 8034CF90 00349EF0 34 BF 00 10 */ addic. r5, r31, 0x10 +/* 8034CF94 00349EF4 90 1F 00 00 */ stw r0, 0(r31) +/* 8034CF98 00349EF8 90 1F 00 04 */ stw r0, 4(r31) +/* 8034CF9C 00349EFC 90 1F 00 08 */ stw r0, 8(r31) +/* 8034CFA0 00349F00 90 1F 00 0C */ stw r0, 0xc(r31) +/* 8034CFA4 00349F04 41 82 00 18 */ beq lbl_8034CFBC +/* 8034CFA8 00349F08 80 1E 00 00 */ lwz r0, 0(r30) +/* 8034CFAC 00349F0C 38 65 00 04 */ addi r3, r5, 4 +/* 8034CFB0 00349F10 38 9E 00 04 */ addi r4, r30, 4 +/* 8034CFB4 00349F14 90 05 00 00 */ stw r0, 0(r5) +/* 8034CFB8 00349F18 4B FF 11 A9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +lbl_8034CFBC: +/* 8034CFBC 00349F1C 93 FD 00 10 */ stw r31, 0x10(r29) +/* 8034CFC0 00349F20 38 1D 00 08 */ addi r0, r29, 8 +/* 8034CFC4 00349F24 80 7D 00 04 */ lwz r3, 4(r29) +/* 8034CFC8 00349F28 38 63 00 01 */ addi r3, r3, 1 +/* 8034CFCC 00349F2C 90 7D 00 04 */ stw r3, 4(r29) +/* 8034CFD0 00349F30 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 8034CFD4 00349F34 90 7D 00 08 */ stw r3, 8(r29) +/* 8034CFD8 00349F38 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 8034CFDC 00349F3C 90 7D 00 0C */ stw r3, 0xc(r29) +/* 8034CFE0 00349F40 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 8034CFE4 00349F44 90 7C 00 00 */ stw r3, 0(r28) +/* 8034CFE8 00349F48 90 1C 00 04 */ stw r0, 4(r28) +/* 8034CFEC 00349F4C 88 0D 9D E2 */ lbz r0, lbl_805A89A2@sda21(r13) +/* 8034CFF0 00349F50 98 1C 00 08 */ stb r0, 8(r28) +/* 8034CFF4 00349F54 48 00 01 7C */ b lbl_8034D170 +lbl_8034CFF8: +/* 8034CFF8 00349F58 7C BF 2B 78 */ mr r31, r5 +/* 8034CFFC 00349F5C 3B 60 00 00 */ li r27, 0 +/* 8034D000 00349F60 48 00 01 3C */ b lbl_8034D13C +lbl_8034D004: +/* 8034D004 00349F64 80 7E 00 00 */ lwz r3, 0(r30) +/* 8034D008 00349F68 80 9F 00 10 */ lwz r4, 0x10(r31) +/* 8034D00C 00349F6C 7C 80 1A 78 */ xor r0, r4, r3 +/* 8034D010 00349F70 7C 00 00 34 */ cntlzw r0, r0 +/* 8034D014 00349F74 7C 80 00 30 */ slw r0, r4, r0 +/* 8034D018 00349F78 54 00 0F FF */ rlwinm. r0, r0, 1, 0x1f, 0x1f +/* 8034D01C 00349F7C 40 82 00 24 */ bne lbl_8034D040 +/* 8034D020 00349F80 7C 04 18 40 */ cmplw r4, r3 +/* 8034D024 00349F84 41 80 00 1C */ blt lbl_8034D040 +/* 8034D028 00349F88 93 FC 00 00 */ stw r31, 0(r28) +/* 8034D02C 00349F8C 38 1D 00 08 */ addi r0, r29, 8 +/* 8034D030 00349F90 90 1C 00 04 */ stw r0, 4(r28) +/* 8034D034 00349F94 88 0D 9D E3 */ lbz r0, lbl_805A89A3@sda21(r13) +/* 8034D038 00349F98 98 1C 00 08 */ stb r0, 8(r28) +/* 8034D03C 00349F9C 48 00 01 34 */ b lbl_8034D170 +lbl_8034D040: +/* 8034D040 00349FA0 28 00 00 00 */ cmplwi r0, 0 +/* 8034D044 00349FA4 41 82 00 80 */ beq lbl_8034D0C4 +/* 8034D048 00349FA8 80 1F 00 00 */ lwz r0, 0(r31) +/* 8034D04C 00349FAC 28 00 00 00 */ cmplwi r0, 0 +/* 8034D050 00349FB0 40 82 00 6C */ bne lbl_8034D0BC +/* 8034D054 00349FB4 3C 80 80 3E */ lis r4, lbl_803D8210@ha +/* 8034D058 00349FB8 38 60 00 24 */ li r3, 0x24 +/* 8034D05C 00349FBC 38 84 82 10 */ addi r4, r4, lbl_803D8210@l +/* 8034D060 00349FC0 38 A0 00 00 */ li r5, 0 +/* 8034D064 00349FC4 4B FC 87 B5 */ bl __nwa__FUlPCcPCc +/* 8034D068 00349FC8 7C 7B 1B 79 */ or. r27, r3, r3 +/* 8034D06C 00349FCC 41 82 00 38 */ beq lbl_8034D0A4 +/* 8034D070 00349FD0 38 60 00 00 */ li r3, 0 +/* 8034D074 00349FD4 34 BB 00 10 */ addic. r5, r27, 0x10 +/* 8034D078 00349FD8 90 7B 00 00 */ stw r3, 0(r27) +/* 8034D07C 00349FDC 38 00 00 01 */ li r0, 1 +/* 8034D080 00349FE0 90 7B 00 04 */ stw r3, 4(r27) +/* 8034D084 00349FE4 93 FB 00 08 */ stw r31, 8(r27) +/* 8034D088 00349FE8 90 1B 00 0C */ stw r0, 0xc(r27) +/* 8034D08C 00349FEC 41 82 00 18 */ beq lbl_8034D0A4 +/* 8034D090 00349FF0 80 1E 00 00 */ lwz r0, 0(r30) +/* 8034D094 00349FF4 38 65 00 04 */ addi r3, r5, 4 +/* 8034D098 00349FF8 38 9E 00 04 */ addi r4, r30, 4 +/* 8034D09C 00349FFC 90 05 00 00 */ stw r0, 0(r5) +/* 8034D0A0 0034A000 4B FF 10 C1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +lbl_8034D0A4: +/* 8034D0A4 0034A004 93 7F 00 00 */ stw r27, 0(r31) +/* 8034D0A8 0034A008 80 1D 00 08 */ lwz r0, 8(r29) +/* 8034D0AC 0034A00C 7C 1F 00 40 */ cmplw r31, r0 +/* 8034D0B0 0034A010 40 82 00 8C */ bne lbl_8034D13C +/* 8034D0B4 0034A014 93 7D 00 08 */ stw r27, 8(r29) +/* 8034D0B8 0034A018 48 00 00 84 */ b lbl_8034D13C +lbl_8034D0BC: +/* 8034D0BC 0034A01C 7C 1F 03 78 */ mr r31, r0 +/* 8034D0C0 0034A020 48 00 00 7C */ b lbl_8034D13C +lbl_8034D0C4: +/* 8034D0C4 0034A024 80 1F 00 04 */ lwz r0, 4(r31) +/* 8034D0C8 0034A028 28 00 00 00 */ cmplwi r0, 0 +/* 8034D0CC 0034A02C 40 82 00 6C */ bne lbl_8034D138 +/* 8034D0D0 0034A030 3C 80 80 3E */ lis r4, lbl_803D8210@ha +/* 8034D0D4 0034A034 38 60 00 24 */ li r3, 0x24 +/* 8034D0D8 0034A038 38 84 82 10 */ addi r4, r4, lbl_803D8210@l +/* 8034D0DC 0034A03C 38 A0 00 00 */ li r5, 0 +/* 8034D0E0 0034A040 4B FC 87 39 */ bl __nwa__FUlPCcPCc +/* 8034D0E4 0034A044 7C 7B 1B 79 */ or. r27, r3, r3 +/* 8034D0E8 0034A048 41 82 00 38 */ beq lbl_8034D120 +/* 8034D0EC 0034A04C 38 60 00 00 */ li r3, 0 +/* 8034D0F0 0034A050 34 BB 00 10 */ addic. r5, r27, 0x10 +/* 8034D0F4 0034A054 90 7B 00 00 */ stw r3, 0(r27) +/* 8034D0F8 0034A058 38 00 00 01 */ li r0, 1 +/* 8034D0FC 0034A05C 90 7B 00 04 */ stw r3, 4(r27) +/* 8034D100 0034A060 93 FB 00 08 */ stw r31, 8(r27) +/* 8034D104 0034A064 90 1B 00 0C */ stw r0, 0xc(r27) +/* 8034D108 0034A068 41 82 00 18 */ beq lbl_8034D120 +/* 8034D10C 0034A06C 80 1E 00 00 */ lwz r0, 0(r30) +/* 8034D110 0034A070 38 65 00 04 */ addi r3, r5, 4 +/* 8034D114 0034A074 38 9E 00 04 */ addi r4, r30, 4 +/* 8034D118 0034A078 90 05 00 00 */ stw r0, 0(r5) +/* 8034D11C 0034A07C 4B FF 10 45 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +lbl_8034D120: +/* 8034D120 0034A080 93 7F 00 04 */ stw r27, 4(r31) +/* 8034D124 0034A084 80 1D 00 0C */ lwz r0, 0xc(r29) +/* 8034D128 0034A088 7C 1F 00 40 */ cmplw r31, r0 +/* 8034D12C 0034A08C 40 82 00 10 */ bne lbl_8034D13C +/* 8034D130 0034A090 93 7D 00 0C */ stw r27, 0xc(r29) +/* 8034D134 0034A094 48 00 00 08 */ b lbl_8034D13C +lbl_8034D138: +/* 8034D138 0034A098 7C 1F 03 78 */ mr r31, r0 +lbl_8034D13C: +/* 8034D13C 0034A09C 28 1B 00 00 */ cmplwi r27, 0 +/* 8034D140 0034A0A0 41 82 FE C4 */ beq lbl_8034D004 +/* 8034D144 0034A0A4 80 BD 00 04 */ lwz r5, 4(r29) +/* 8034D148 0034A0A8 7F 64 DB 78 */ mr r4, r27 +/* 8034D14C 0034A0AC 38 7D 00 08 */ addi r3, r29, 8 +/* 8034D150 0034A0B0 38 05 00 01 */ addi r0, r5, 1 +/* 8034D154 0034A0B4 90 1D 00 04 */ stw r0, 4(r29) +/* 8034D158 0034A0B8 4B FE F9 41 */ bl rbtree_rebalance__4rstlFPvPv +/* 8034D15C 0034A0BC 93 7C 00 00 */ stw r27, 0(r28) +/* 8034D160 0034A0C0 38 1D 00 08 */ addi r0, r29, 8 +/* 8034D164 0034A0C4 90 1C 00 04 */ stw r0, 4(r28) +/* 8034D168 0034A0C8 88 0D 9D E4 */ lbz r0, lbl_805A89A4@sda21(r13) +/* 8034D16C 0034A0CC 98 1C 00 08 */ stb r0, 8(r28) +lbl_8034D170: +/* 8034D170 0034A0D0 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 8034D174 0034A0D4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8034D178 0034A0D8 7C 08 03 A6 */ mtlr r0 +/* 8034D17C 0034A0DC 38 21 00 20 */ addi r1, r1, 0x20 +/* 8034D180 0034A0E0 4E 80 00 20 */ blr + +.global sub_8034d184 +sub_8034d184: +/* 8034D184 0034A0E4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8034D188 0034A0E8 7C 08 02 A6 */ mflr r0 +/* 8034D18C 0034A0EC 28 05 00 00 */ cmplwi r5, 0 +/* 8034D190 0034A0F0 90 01 00 24 */ stw r0, 0x24(r1) +/* 8034D194 0034A0F4 BF 41 00 08 */ stmw r26, 8(r1) +/* 8034D198 0034A0F8 7C 7C 1B 78 */ mr r28, r3 +/* 8034D19C 0034A0FC 7C 9D 23 78 */ mr r29, r4 +/* 8034D1A0 0034A100 7C DE 33 78 */ mr r30, r6 +/* 8034D1A4 0034A104 40 82 00 9C */ bne lbl_8034D240 +/* 8034D1A8 0034A108 3C 80 80 3E */ lis r4, lbl_803D8210@ha +/* 8034D1AC 0034A10C 38 60 00 24 */ li r3, 0x24 +/* 8034D1B0 0034A110 38 84 82 10 */ addi r4, r4, lbl_803D8210@l +/* 8034D1B4 0034A114 38 A0 00 00 */ li r5, 0 +/* 8034D1B8 0034A118 4B FC 86 61 */ bl __nwa__FUlPCcPCc +/* 8034D1BC 0034A11C 7C 7B 1B 79 */ or. r27, r3, r3 +/* 8034D1C0 0034A120 41 82 00 44 */ beq lbl_8034D204 +/* 8034D1C4 0034A124 38 00 00 00 */ li r0, 0 +/* 8034D1C8 0034A128 37 FB 00 10 */ addic. r31, r27, 0x10 +/* 8034D1CC 0034A12C 90 1B 00 00 */ stw r0, 0(r27) +/* 8034D1D0 0034A130 90 1B 00 04 */ stw r0, 4(r27) +/* 8034D1D4 0034A134 90 1B 00 08 */ stw r0, 8(r27) +/* 8034D1D8 0034A138 90 1B 00 0C */ stw r0, 0xc(r27) +/* 8034D1DC 0034A13C 41 82 00 28 */ beq lbl_8034D204 +/* 8034D1E0 0034A140 7F E3 FB 78 */ mr r3, r31 +/* 8034D1E4 0034A144 7F C4 F3 78 */ mr r4, r30 +/* 8034D1E8 0034A148 4B FF 0F 79 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8034D1EC 0034A14C 80 1E 00 10 */ lwz r0, 0x10(r30) +/* 8034D1F0 0034A150 90 1F 00 10 */ stw r0, 0x10(r31) +/* 8034D1F4 0034A154 80 9F 00 10 */ lwz r4, 0x10(r31) +/* 8034D1F8 0034A158 80 64 00 04 */ lwz r3, 4(r4) +/* 8034D1FC 0034A15C 38 03 00 01 */ addi r0, r3, 1 +/* 8034D200 0034A160 90 04 00 04 */ stw r0, 4(r4) +lbl_8034D204: +/* 8034D204 0034A164 93 7D 00 10 */ stw r27, 0x10(r29) +/* 8034D208 0034A168 38 1D 00 08 */ addi r0, r29, 8 +/* 8034D20C 0034A16C 80 7D 00 04 */ lwz r3, 4(r29) +/* 8034D210 0034A170 38 63 00 01 */ addi r3, r3, 1 +/* 8034D214 0034A174 90 7D 00 04 */ stw r3, 4(r29) +/* 8034D218 0034A178 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 8034D21C 0034A17C 90 7D 00 08 */ stw r3, 8(r29) +/* 8034D220 0034A180 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 8034D224 0034A184 90 7D 00 0C */ stw r3, 0xc(r29) +/* 8034D228 0034A188 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 8034D22C 0034A18C 90 7C 00 00 */ stw r3, 0(r28) +/* 8034D230 0034A190 90 1C 00 04 */ stw r0, 4(r28) +/* 8034D234 0034A194 88 0D 9D DF */ lbz r0, lbl_805A899F@sda21(r13) +/* 8034D238 0034A198 98 1C 00 08 */ stb r0, 8(r28) +/* 8034D23C 0034A19C 48 00 01 B4 */ b lbl_8034D3F0 +lbl_8034D240: +/* 8034D240 0034A1A0 7C BF 2B 78 */ mr r31, r5 +/* 8034D244 0034A1A4 3B 40 00 00 */ li r26, 0 +/* 8034D248 0034A1A8 48 00 01 74 */ b lbl_8034D3BC +lbl_8034D24C: +/* 8034D24C 0034A1AC 7F C4 F3 78 */ mr r4, r30 +/* 8034D250 0034A1B0 38 7D 00 01 */ addi r3, r29, 1 +/* 8034D254 0034A1B4 38 BF 00 10 */ addi r5, r31, 0x10 +/* 8034D258 0034A1B8 4B CD D4 D1 */ bl "__cl__Q24rstl140select1st,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>>CFRCQ24rstl119pair,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>" +/* 8034D25C 0034A1BC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8034D260 0034A1C0 7C 7B 1B 78 */ mr r27, r3 +/* 8034D264 0034A1C4 40 82 00 34 */ bne lbl_8034D298 +/* 8034D268 0034A1C8 7F C5 F3 78 */ mr r5, r30 +/* 8034D26C 0034A1CC 38 7D 00 01 */ addi r3, r29, 1 +/* 8034D270 0034A1D0 38 9F 00 10 */ addi r4, r31, 0x10 +/* 8034D274 0034A1D4 4B CD D4 B5 */ bl "__cl__Q24rstl140select1st,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>>CFRCQ24rstl119pair,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>" +/* 8034D278 0034A1D8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8034D27C 0034A1DC 40 82 00 1C */ bne lbl_8034D298 +/* 8034D280 0034A1E0 93 FC 00 00 */ stw r31, 0(r28) +/* 8034D284 0034A1E4 38 1D 00 08 */ addi r0, r29, 8 +/* 8034D288 0034A1E8 90 1C 00 04 */ stw r0, 4(r28) +/* 8034D28C 0034A1EC 88 0D 9D E0 */ lbz r0, lbl_805A89A0@sda21(r13) +/* 8034D290 0034A1F0 98 1C 00 08 */ stb r0, 8(r28) +/* 8034D294 0034A1F4 48 00 01 5C */ b lbl_8034D3F0 +lbl_8034D298: +/* 8034D298 0034A1F8 57 60 06 3F */ clrlwi. r0, r27, 0x18 +/* 8034D29C 0034A1FC 41 82 00 94 */ beq lbl_8034D330 +/* 8034D2A0 0034A200 80 1F 00 00 */ lwz r0, 0(r31) +/* 8034D2A4 0034A204 28 00 00 00 */ cmplwi r0, 0 +/* 8034D2A8 0034A208 40 82 00 80 */ bne lbl_8034D328 +/* 8034D2AC 0034A20C 3C 80 80 3E */ lis r4, lbl_803D8210@ha +/* 8034D2B0 0034A210 38 60 00 24 */ li r3, 0x24 +/* 8034D2B4 0034A214 38 84 82 10 */ addi r4, r4, lbl_803D8210@l +/* 8034D2B8 0034A218 38 A0 00 00 */ li r5, 0 +/* 8034D2BC 0034A21C 4B FC 85 5D */ bl __nwa__FUlPCcPCc +/* 8034D2C0 0034A220 7C 7B 1B 79 */ or. r27, r3, r3 +/* 8034D2C4 0034A224 41 82 00 48 */ beq lbl_8034D30C +/* 8034D2C8 0034A228 38 60 00 00 */ li r3, 0 +/* 8034D2CC 0034A22C 37 5B 00 10 */ addic. r26, r27, 0x10 +/* 8034D2D0 0034A230 90 7B 00 00 */ stw r3, 0(r27) +/* 8034D2D4 0034A234 38 00 00 01 */ li r0, 1 +/* 8034D2D8 0034A238 90 7B 00 04 */ stw r3, 4(r27) +/* 8034D2DC 0034A23C 93 FB 00 08 */ stw r31, 8(r27) +/* 8034D2E0 0034A240 90 1B 00 0C */ stw r0, 0xc(r27) +/* 8034D2E4 0034A244 41 82 00 28 */ beq lbl_8034D30C +/* 8034D2E8 0034A248 7F 43 D3 78 */ mr r3, r26 +/* 8034D2EC 0034A24C 7F C4 F3 78 */ mr r4, r30 +/* 8034D2F0 0034A250 4B FF 0E 71 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8034D2F4 0034A254 80 1E 00 10 */ lwz r0, 0x10(r30) +/* 8034D2F8 0034A258 90 1A 00 10 */ stw r0, 0x10(r26) +/* 8034D2FC 0034A25C 80 9A 00 10 */ lwz r4, 0x10(r26) +/* 8034D300 0034A260 80 64 00 04 */ lwz r3, 4(r4) +/* 8034D304 0034A264 38 03 00 01 */ addi r0, r3, 1 +/* 8034D308 0034A268 90 04 00 04 */ stw r0, 4(r4) +lbl_8034D30C: +/* 8034D30C 0034A26C 93 7F 00 00 */ stw r27, 0(r31) +/* 8034D310 0034A270 7F 7A DB 78 */ mr r26, r27 +/* 8034D314 0034A274 80 1D 00 08 */ lwz r0, 8(r29) +/* 8034D318 0034A278 7C 1F 00 40 */ cmplw r31, r0 +/* 8034D31C 0034A27C 40 82 00 A0 */ bne lbl_8034D3BC +/* 8034D320 0034A280 93 7D 00 08 */ stw r27, 8(r29) +/* 8034D324 0034A284 48 00 00 98 */ b lbl_8034D3BC +lbl_8034D328: +/* 8034D328 0034A288 7C 1F 03 78 */ mr r31, r0 +/* 8034D32C 0034A28C 48 00 00 90 */ b lbl_8034D3BC +lbl_8034D330: +/* 8034D330 0034A290 80 1F 00 04 */ lwz r0, 4(r31) +/* 8034D334 0034A294 28 00 00 00 */ cmplwi r0, 0 +/* 8034D338 0034A298 40 82 00 80 */ bne lbl_8034D3B8 +/* 8034D33C 0034A29C 3C 80 80 3E */ lis r4, lbl_803D8210@ha +/* 8034D340 0034A2A0 38 60 00 24 */ li r3, 0x24 +/* 8034D344 0034A2A4 38 84 82 10 */ addi r4, r4, lbl_803D8210@l +/* 8034D348 0034A2A8 38 A0 00 00 */ li r5, 0 +/* 8034D34C 0034A2AC 4B FC 84 CD */ bl __nwa__FUlPCcPCc +/* 8034D350 0034A2B0 7C 7B 1B 79 */ or. r27, r3, r3 +/* 8034D354 0034A2B4 41 82 00 48 */ beq lbl_8034D39C +/* 8034D358 0034A2B8 38 60 00 00 */ li r3, 0 +/* 8034D35C 0034A2BC 37 5B 00 10 */ addic. r26, r27, 0x10 +/* 8034D360 0034A2C0 90 7B 00 00 */ stw r3, 0(r27) +/* 8034D364 0034A2C4 38 00 00 01 */ li r0, 1 +/* 8034D368 0034A2C8 90 7B 00 04 */ stw r3, 4(r27) +/* 8034D36C 0034A2CC 93 FB 00 08 */ stw r31, 8(r27) +/* 8034D370 0034A2D0 90 1B 00 0C */ stw r0, 0xc(r27) +/* 8034D374 0034A2D4 41 82 00 28 */ beq lbl_8034D39C +/* 8034D378 0034A2D8 7F 43 D3 78 */ mr r3, r26 +/* 8034D37C 0034A2DC 7F C4 F3 78 */ mr r4, r30 +/* 8034D380 0034A2E0 4B FF 0D E1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8034D384 0034A2E4 80 1E 00 10 */ lwz r0, 0x10(r30) +/* 8034D388 0034A2E8 90 1A 00 10 */ stw r0, 0x10(r26) +/* 8034D38C 0034A2EC 80 9A 00 10 */ lwz r4, 0x10(r26) +/* 8034D390 0034A2F0 80 64 00 04 */ lwz r3, 4(r4) +/* 8034D394 0034A2F4 38 03 00 01 */ addi r0, r3, 1 +/* 8034D398 0034A2F8 90 04 00 04 */ stw r0, 4(r4) +lbl_8034D39C: +/* 8034D39C 0034A2FC 93 7F 00 04 */ stw r27, 4(r31) +/* 8034D3A0 0034A300 7F 7A DB 78 */ mr r26, r27 +/* 8034D3A4 0034A304 80 1D 00 0C */ lwz r0, 0xc(r29) +/* 8034D3A8 0034A308 7C 1F 00 40 */ cmplw r31, r0 +/* 8034D3AC 0034A30C 40 82 00 10 */ bne lbl_8034D3BC +/* 8034D3B0 0034A310 93 7D 00 0C */ stw r27, 0xc(r29) +/* 8034D3B4 0034A314 48 00 00 08 */ b lbl_8034D3BC +lbl_8034D3B8: +/* 8034D3B8 0034A318 7C 1F 03 78 */ mr r31, r0 +lbl_8034D3BC: +/* 8034D3BC 0034A31C 28 1A 00 00 */ cmplwi r26, 0 +/* 8034D3C0 0034A320 41 82 FE 8C */ beq lbl_8034D24C +/* 8034D3C4 0034A324 80 BD 00 04 */ lwz r5, 4(r29) +/* 8034D3C8 0034A328 7F 44 D3 78 */ mr r4, r26 +/* 8034D3CC 0034A32C 38 7D 00 08 */ addi r3, r29, 8 +/* 8034D3D0 0034A330 38 05 00 01 */ addi r0, r5, 1 +/* 8034D3D4 0034A334 90 1D 00 04 */ stw r0, 4(r29) +/* 8034D3D8 0034A338 4B FE F6 C1 */ bl rbtree_rebalance__4rstlFPvPv +/* 8034D3DC 0034A33C 93 5C 00 00 */ stw r26, 0(r28) +/* 8034D3E0 0034A340 38 1D 00 08 */ addi r0, r29, 8 +/* 8034D3E4 0034A344 90 1C 00 04 */ stw r0, 4(r28) +/* 8034D3E8 0034A348 88 0D 9D E1 */ lbz r0, lbl_805A89A1@sda21(r13) +/* 8034D3EC 0034A34C 98 1C 00 08 */ stb r0, 8(r28) +lbl_8034D3F0: +/* 8034D3F0 0034A350 BB 41 00 08 */ lmw r26, 8(r1) +/* 8034D3F4 0034A354 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8034D3F8 0034A358 7C 08 03 A6 */ mtlr r0 +/* 8034D3FC 0034A35C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8034D400 0034A360 4E 80 00 20 */ blr + +.global sub_8034d404 +sub_8034d404: +/* 8034D404 0034A364 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034D408 0034A368 7C 08 02 A6 */ mflr r0 +/* 8034D40C 0034A36C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034D410 0034A370 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034D414 0034A374 93 C1 00 08 */ stw r30, 8(r1) +/* 8034D418 0034A378 7C 7E 1B 78 */ mr r30, r3 +/* 8034D41C 0034A37C 80 83 00 00 */ lwz r4, 0(r3) +/* 8034D420 0034A380 80 64 00 04 */ lwz r3, 4(r4) +/* 8034D424 0034A384 34 03 FF FF */ addic. r0, r3, -1 +/* 8034D428 0034A388 90 04 00 04 */ stw r0, 4(r4) +/* 8034D42C 0034A38C 41 81 00 3C */ bgt lbl_8034D468 +/* 8034D430 0034A390 80 7E 00 00 */ lwz r3, 0(r30) +/* 8034D434 0034A394 83 E3 00 00 */ lwz r31, 0(r3) +/* 8034D438 0034A398 28 1F 00 00 */ cmplwi r31, 0 +/* 8034D43C 0034A39C 41 82 00 1C */ beq lbl_8034D458 +/* 8034D440 0034A3A0 34 1F 00 54 */ addic. r0, r31, 0x54 +/* 8034D444 0034A3A4 41 82 00 0C */ beq lbl_8034D450 +/* 8034D448 0034A3A8 38 7F 00 54 */ addi r3, r31, 0x54 +/* 8034D44C 0034A3AC 4B FF 06 95 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8034D450: +/* 8034D450 0034A3B0 7F E3 FB 78 */ mr r3, r31 +/* 8034D454 0034A3B4 4B FC 84 DD */ bl Free__7CMemoryFPCv +lbl_8034D458: +/* 8034D458 0034A3B8 80 7E 00 00 */ lwz r3, 0(r30) +/* 8034D45C 0034A3BC 28 03 00 00 */ cmplwi r3, 0 +/* 8034D460 0034A3C0 41 82 00 08 */ beq lbl_8034D468 +/* 8034D464 0034A3C4 4B FC 84 CD */ bl Free__7CMemoryFPCv +lbl_8034D468: +/* 8034D468 0034A3C8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034D46C 0034A3CC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034D470 0034A3D0 83 C1 00 08 */ lwz r30, 8(r1) +/* 8034D474 0034A3D4 7C 08 03 A6 */ mtlr r0 +/* 8034D478 0034A3D8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034D47C 0034A3DC 4E 80 00 20 */ blr + +.global __sinit_DolphinCAudioSys_cpp +__sinit_DolphinCAudioSys_cpp: +/* 8034D480 0034A3E0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8034D484 0034A3E4 7C 08 02 A6 */ mflr r0 +/* 8034D488 0034A3E8 3C 80 80 3E */ lis r4, lbl_803D8210@ha +/* 8034D48C 0034A3EC 38 84 82 10 */ addi r4, r4, lbl_803D8210@l +/* 8034D490 0034A3F0 90 01 00 24 */ stw r0, 0x24(r1) +/* 8034D494 0034A3F4 38 61 00 08 */ addi r3, r1, 8 +/* 8034D498 0034A3F8 38 84 00 07 */ addi r4, r4, 7 +/* 8034D49C 0034A3FC 4B CB 78 1D */ bl string_l__4rstlFPCc +/* 8034D4A0 0034A400 3C 60 80 5A */ lis r3, lbl_805A67CC@ha +/* 8034D4A4 0034A404 38 81 00 08 */ addi r4, r1, 8 +/* 8034D4A8 0034A408 38 63 67 CC */ addi r3, r3, lbl_805A67CC@l +/* 8034D4AC 0034A40C 4B FF 0C B5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8034D4B0 0034A410 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8034D4B4 0034A414 3C A0 80 4C */ lis r5, lbl_804BFF90@ha +/* 8034D4B8 0034A418 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8034D4BC 0034A41C 38 A5 FF 90 */ addi r5, r5, lbl_804BFF90@l +/* 8034D4C0 0034A420 48 03 C1 CD */ bl __register_global_object +/* 8034D4C4 0034A424 38 61 00 08 */ addi r3, r1, 8 +/* 8034D4C8 0034A428 4B FF 06 19 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8034D4CC 0034A42C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8034D4D0 0034A430 7C 08 03 A6 */ mtlr r0 +/* 8034D4D4 0034A434 38 21 00 20 */ addi r1, r1, 0x20 +/* 8034D4D8 0034A438 4E 80 00 20 */ blr diff --git a/asm/Kyoto/Audio/SDSPStream.s b/asm/Kyoto/Audio/SDSPStream.s new file mode 100644 index 00000000..7625cd26 --- /dev/null +++ b/asm/Kyoto/Audio/SDSPStream.s @@ -0,0 +1,1218 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global ReadCompleted__10SDSPStreamFiP11DVDFileInfo +ReadCompleted__10SDSPStreamFiP11DVDFileInfo: +/* 8036A1F4 00367154 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8036A1F8 00367158 7C 08 02 A6 */ mflr r0 +/* 8036A1FC 0036715C 3C 60 80 54 */ lis r3, lbl_80540640@ha +/* 8036A200 00367160 38 A0 00 00 */ li r5, 0 +/* 8036A204 00367164 90 01 00 14 */ stw r0, 0x14(r1) +/* 8036A208 00367168 38 63 06 40 */ addi r3, r3, lbl_80540640@l +/* 8036A20C 0036716C 38 03 00 50 */ addi r0, r3, 0x50 +/* 8036A210 00367170 7C 00 20 40 */ cmplw r0, r4 +/* 8036A214 00367174 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8036A218 00367178 41 82 00 74 */ beq lbl_8036A28C +/* 8036A21C 0036717C 38 03 00 8C */ addi r0, r3, 0x8c +/* 8036A220 00367180 7C 00 20 40 */ cmplw r0, r4 +/* 8036A224 00367184 41 82 00 68 */ beq lbl_8036A28C +/* 8036A228 00367188 38 63 00 F4 */ addi r3, r3, 0xf4 +/* 8036A22C 0036718C 38 A0 00 01 */ li r5, 1 +/* 8036A230 00367190 38 03 00 50 */ addi r0, r3, 0x50 +/* 8036A234 00367194 7C 00 20 40 */ cmplw r0, r4 +/* 8036A238 00367198 41 82 00 54 */ beq lbl_8036A28C +/* 8036A23C 0036719C 38 03 00 8C */ addi r0, r3, 0x8c +/* 8036A240 003671A0 7C 00 20 40 */ cmplw r0, r4 +/* 8036A244 003671A4 41 82 00 48 */ beq lbl_8036A28C +/* 8036A248 003671A8 38 03 01 44 */ addi r0, r3, 0x144 +/* 8036A24C 003671AC 38 A0 00 02 */ li r5, 2 +/* 8036A250 003671B0 7C 00 20 40 */ cmplw r0, r4 +/* 8036A254 003671B4 38 63 00 F4 */ addi r3, r3, 0xf4 +/* 8036A258 003671B8 41 82 00 34 */ beq lbl_8036A28C +/* 8036A25C 003671BC 38 03 00 8C */ addi r0, r3, 0x8c +/* 8036A260 003671C0 7C 00 20 40 */ cmplw r0, r4 +/* 8036A264 003671C4 41 82 00 28 */ beq lbl_8036A28C +/* 8036A268 003671C8 38 03 01 44 */ addi r0, r3, 0x144 +/* 8036A26C 003671CC 38 A0 00 03 */ li r5, 3 +/* 8036A270 003671D0 7C 00 20 40 */ cmplw r0, r4 +/* 8036A274 003671D4 38 63 00 F4 */ addi r3, r3, 0xf4 +/* 8036A278 003671D8 41 82 00 14 */ beq lbl_8036A28C +/* 8036A27C 003671DC 38 03 00 8C */ addi r0, r3, 0x8c +/* 8036A280 003671E0 7C 00 20 40 */ cmplw r0, r4 +/* 8036A284 003671E4 41 82 00 08 */ beq lbl_8036A28C +/* 8036A288 003671E8 38 A0 00 04 */ li r5, 4 +lbl_8036A28C: +/* 8036A28C 003671EC 1C A5 00 F4 */ mulli r5, r5, 0xf4 +/* 8036A290 003671F0 3C 60 80 54 */ lis r3, lbl_80540640@ha +/* 8036A294 003671F4 38 03 06 40 */ addi r0, r3, lbl_80540640@l +/* 8036A298 003671F8 7F E0 2A 14 */ add r31, r0, r5 +/* 8036A29C 003671FC 88 7F 00 EC */ lbz r3, 0xec(r31) +/* 8036A2A0 00367200 38 03 FF FF */ addi r0, r3, -1 +/* 8036A2A4 00367204 98 1F 00 EC */ stb r0, 0xec(r31) +/* 8036A2A8 00367208 88 1F 00 EC */ lbz r0, 0xec(r31) +/* 8036A2AC 0036720C 28 00 00 00 */ cmplwi r0, 0 +/* 8036A2B0 00367210 40 82 01 94 */ bne lbl_8036A444 +/* 8036A2B4 00367214 80 1F 00 F0 */ lwz r0, 0xf0(r31) +/* 8036A2B8 00367218 2C 00 00 00 */ cmpwi r0, 0 +/* 8036A2BC 0036721C 41 82 00 20 */ beq lbl_8036A2DC +/* 8036A2C0 00367220 38 00 00 00 */ li r0, 0 +/* 8036A2C4 00367224 7F E3 FB 78 */ mr r3, r31 +/* 8036A2C8 00367228 90 1F 00 F0 */ stw r0, 0xf0(r31) +/* 8036A2CC 0036722C 48 00 0F 6D */ bl CloseFiles__10SDSPStreamFv +/* 8036A2D0 00367230 7F E3 FB 78 */ mr r3, r31 +/* 8036A2D4 00367234 48 00 09 39 */ bl DeallocateStream__10SDSPStreamFv +/* 8036A2D8 00367238 48 00 01 6C */ b lbl_8036A444 +lbl_8036A2DC: +/* 8036A2DC 0036723C 7C 83 23 78 */ mr r3, r4 +/* 8036A2E0 00367240 48 00 9E 25 */ bl DVDGetCommandBlockStatus +/* 8036A2E4 00367244 2C 03 00 00 */ cmpwi r3, 0 +/* 8036A2E8 00367248 40 82 01 10 */ bne lbl_8036A3F8 +/* 8036A2EC 0036724C 88 1F 00 00 */ lbz r0, 0(r31) +/* 8036A2F0 00367250 2C 00 00 03 */ cmpwi r0, 3 +/* 8036A2F4 00367254 41 82 01 50 */ beq lbl_8036A444 +/* 8036A2F8 00367258 40 80 00 10 */ bge lbl_8036A308 +/* 8036A2FC 0036725C 2C 00 00 02 */ cmpwi r0, 2 +/* 8036A300 00367260 40 80 00 14 */ bge lbl_8036A314 +/* 8036A304 00367264 48 00 01 40 */ b lbl_8036A444 +lbl_8036A308: +/* 8036A308 00367268 2C 00 00 05 */ cmpwi r0, 5 +/* 8036A30C 0036726C 40 80 01 38 */ bge lbl_8036A444 +/* 8036A310 00367270 48 00 00 B0 */ b lbl_8036A3C0 +lbl_8036A314: +/* 8036A314 00367274 80 7F 00 08 */ lwz r3, 8(r31) +/* 8036A318 00367278 28 03 00 00 */ cmplwi r3, 0 +/* 8036A31C 0036727C 41 82 00 30 */ beq lbl_8036A34C +/* 8036A320 00367280 88 03 00 00 */ lbz r0, 0(r3) +/* 8036A324 00367284 28 00 00 03 */ cmplwi r0, 3 +/* 8036A328 00367288 41 82 00 10 */ beq lbl_8036A338 +/* 8036A32C 0036728C 38 00 00 03 */ li r0, 3 +/* 8036A330 00367290 98 1F 00 00 */ stb r0, 0(r31) +/* 8036A334 00367294 48 00 01 10 */ b lbl_8036A444 +lbl_8036A338: +/* 8036A338 00367298 48 00 01 21 */ bl InitializeStream__10SDSPStreamFv +/* 8036A33C 0036729C 2C 03 00 00 */ cmpwi r3, 0 +/* 8036A340 003672A0 40 82 00 0C */ bne lbl_8036A34C +/* 8036A344 003672A4 38 00 00 00 */ li r0, 0 +/* 8036A348 003672A8 90 1F 00 08 */ stw r0, 8(r31) +lbl_8036A34C: +/* 8036A34C 003672AC 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 8036A350 003672B0 28 03 00 00 */ cmplwi r3, 0 +/* 8036A354 003672B4 41 82 00 30 */ beq lbl_8036A384 +/* 8036A358 003672B8 88 03 00 00 */ lbz r0, 0(r3) +/* 8036A35C 003672BC 28 00 00 03 */ cmplwi r0, 3 +/* 8036A360 003672C0 41 82 00 10 */ beq lbl_8036A370 +/* 8036A364 003672C4 38 00 00 03 */ li r0, 3 +/* 8036A368 003672C8 98 1F 00 00 */ stb r0, 0(r31) +/* 8036A36C 003672CC 48 00 00 D8 */ b lbl_8036A444 +lbl_8036A370: +/* 8036A370 003672D0 48 00 00 E9 */ bl InitializeStream__10SDSPStreamFv +/* 8036A374 003672D4 2C 03 00 00 */ cmpwi r3, 0 +/* 8036A378 003672D8 40 82 00 0C */ bne lbl_8036A384 +/* 8036A37C 003672DC 38 00 00 00 */ li r0, 0 +/* 8036A380 003672E0 90 1F 00 0C */ stw r0, 0xc(r31) +lbl_8036A384: +/* 8036A384 003672E4 7F E3 FB 78 */ mr r3, r31 +/* 8036A388 003672E8 48 00 00 D1 */ bl InitializeStream__10SDSPStreamFv +/* 8036A38C 003672EC 2C 03 00 00 */ cmpwi r3, 0 +/* 8036A390 003672F0 40 82 00 B4 */ bne lbl_8036A444 +/* 8036A394 003672F4 80 7F 00 08 */ lwz r3, 8(r31) +/* 8036A398 003672F8 28 03 00 00 */ cmplwi r3, 0 +/* 8036A39C 003672FC 41 82 00 0C */ beq lbl_8036A3A8 +/* 8036A3A0 00367300 38 00 00 00 */ li r0, 0 +/* 8036A3A4 00367304 90 03 00 0C */ stw r0, 0xc(r3) +lbl_8036A3A8: +/* 8036A3A8 00367308 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 8036A3AC 0036730C 28 03 00 00 */ cmplwi r3, 0 +/* 8036A3B0 00367310 41 82 00 94 */ beq lbl_8036A444 +/* 8036A3B4 00367314 38 00 00 00 */ li r0, 0 +/* 8036A3B8 00367318 90 03 00 08 */ stw r0, 8(r3) +/* 8036A3BC 0036731C 48 00 00 88 */ b lbl_8036A444 +lbl_8036A3C0: +/* 8036A3C0 00367320 88 1F 00 E0 */ lbz r0, 0xe0(r31) +/* 8036A3C4 00367324 80 7F 00 C8 */ lwz r3, 0xc8(r31) +/* 8036A3C8 00367328 28 00 00 00 */ cmplwi r0, 0 +/* 8036A3CC 0036732C 41 82 00 0C */ beq lbl_8036A3D8 +/* 8036A3D0 00367330 38 80 00 00 */ li r4, 0 +/* 8036A3D4 00367334 48 00 00 0C */ b lbl_8036A3E0 +lbl_8036A3D8: +/* 8036A3D8 00367338 80 1F 00 DC */ lwz r0, 0xdc(r31) +/* 8036A3DC 0036733C 54 04 F8 7E */ srwi r4, r0, 1 +lbl_8036A3E0: +/* 8036A3E0 00367340 80 1F 00 DC */ lwz r0, 0xdc(r31) +/* 8036A3E4 00367344 38 C0 00 00 */ li r6, 0 +/* 8036A3E8 00367348 38 E0 00 00 */ li r7, 0 +/* 8036A3EC 0036734C 54 05 F8 7E */ srwi r5, r0, 1 +/* 8036A3F0 00367350 48 03 30 51 */ bl sndStreamARAMUpdate +/* 8036A3F4 00367354 48 00 00 50 */ b lbl_8036A444 +lbl_8036A3F8: +/* 8036A3F8 00367358 88 1F 00 00 */ lbz r0, 0(r31) +/* 8036A3FC 0036735C 28 00 00 04 */ cmplwi r0, 4 +/* 8036A400 00367360 40 82 00 0C */ bne lbl_8036A40C +/* 8036A404 00367364 80 7F 00 C8 */ lwz r3, 0xc8(r31) +/* 8036A408 00367368 48 03 61 19 */ bl sndStreamDeactivate +lbl_8036A40C: +/* 8036A40C 0036736C 7F E3 FB 78 */ mr r3, r31 +/* 8036A410 00367370 48 00 0E 29 */ bl CloseFiles__10SDSPStreamFv +/* 8036A414 00367374 7F E3 FB 78 */ mr r3, r31 +/* 8036A418 00367378 48 00 07 F5 */ bl DeallocateStream__10SDSPStreamFv +/* 8036A41C 0036737C 80 7F 00 08 */ lwz r3, 8(r31) +/* 8036A420 00367380 28 03 00 00 */ cmplwi r3, 0 +/* 8036A424 00367384 41 82 00 0C */ beq lbl_8036A430 +/* 8036A428 00367388 38 00 00 00 */ li r0, 0 +/* 8036A42C 0036738C 90 03 00 0C */ stw r0, 0xc(r3) +lbl_8036A430: +/* 8036A430 00367390 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 8036A434 00367394 28 03 00 00 */ cmplwi r3, 0 +/* 8036A438 00367398 41 82 00 0C */ beq lbl_8036A444 +/* 8036A43C 0036739C 38 00 00 00 */ li r0, 0 +/* 8036A440 003673A0 90 03 00 08 */ stw r0, 8(r3) +lbl_8036A444: +/* 8036A444 003673A4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8036A448 003673A8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8036A44C 003673AC 7C 08 03 A6 */ mtlr r0 +/* 8036A450 003673B0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8036A454 003673B4 4E 80 00 20 */ blr + +.global InitializeStream__10SDSPStreamFv +InitializeStream__10SDSPStreamFv: +/* 8036A458 003673B8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8036A45C 003673BC 7C 08 02 A6 */ mflr r0 +/* 8036A460 003673C0 90 01 00 14 */ stw r0, 0x14(r1) +/* 8036A464 003673C4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8036A468 003673C8 7C 7F 1B 78 */ mr r31, r3 +/* 8036A46C 003673CC 88 03 00 00 */ lbz r0, 0(r3) +/* 8036A470 003673D0 28 00 00 00 */ cmplwi r0, 0 +/* 8036A474 003673D4 40 82 00 0C */ bne lbl_8036A480 +/* 8036A478 003673D8 38 60 00 00 */ li r3, 0 +/* 8036A47C 003673DC 48 00 00 90 */ b lbl_8036A50C +lbl_8036A480: +/* 8036A480 003673E0 80 7F 00 C8 */ lwz r3, 0xc8(r31) +/* 8036A484 003673E4 38 C0 00 00 */ li r6, 0 +/* 8036A488 003673E8 88 9F 00 4C */ lbz r4, 0x4c(r31) +/* 8036A48C 003673EC 38 E0 00 00 */ li r7, 0 +/* 8036A490 003673F0 88 BF 00 4D */ lbz r5, 0x4d(r31) +/* 8036A494 003673F4 39 00 00 00 */ li r8, 0 +/* 8036A498 003673F8 48 03 47 99 */ bl sndStreamMixParameterEx +/* 8036A49C 003673FC 80 7F 00 C8 */ lwz r3, 0xc8(r31) +/* 8036A4A0 00367400 A0 9F 00 14 */ lhz r4, 0x14(r31) +/* 8036A4A4 00367404 48 03 4C E9 */ bl sndStreamFrq +/* 8036A4A8 00367408 80 7F 00 C8 */ lwz r3, 0xc8(r31) +/* 8036A4AC 0036740C 38 9F 00 2C */ addi r4, r31, 0x2c +/* 8036A4B0 00367410 48 03 3B 79 */ bl sndStreamADPCMParameter +/* 8036A4B4 00367414 80 1F 00 DC */ lwz r0, 0xdc(r31) +/* 8036A4B8 00367418 38 80 00 00 */ li r4, 0 +/* 8036A4BC 0036741C 80 7F 00 C8 */ lwz r3, 0xc8(r31) +/* 8036A4C0 00367420 38 C0 00 00 */ li r6, 0 +/* 8036A4C4 00367424 54 05 F8 7E */ srwi r5, r0, 1 +/* 8036A4C8 00367428 38 E0 00 00 */ li r7, 0 +/* 8036A4CC 0036742C 48 03 2F 75 */ bl sndStreamARAMUpdate +/* 8036A4D0 00367430 80 7F 00 C8 */ lwz r3, 0xc8(r31) +/* 8036A4D4 00367434 48 03 59 F5 */ bl sndStreamActivate +/* 8036A4D8 00367438 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8036A4DC 0036743C 41 82 00 1C */ beq lbl_8036A4F8 +/* 8036A4E0 00367440 38 00 00 04 */ li r0, 4 +/* 8036A4E4 00367444 7F E3 FB 78 */ mr r3, r31 +/* 8036A4E8 00367448 98 1F 00 00 */ stb r0, 0(r31) +/* 8036A4EC 0036744C 48 00 00 B9 */ bl BufferStream__10SDSPStreamFv +/* 8036A4F0 00367450 38 60 00 01 */ li r3, 1 +/* 8036A4F4 00367454 48 00 00 18 */ b lbl_8036A50C +lbl_8036A4F8: +/* 8036A4F8 00367458 7F E3 FB 78 */ mr r3, r31 +/* 8036A4FC 0036745C 48 00 07 11 */ bl DeallocateStream__10SDSPStreamFv +/* 8036A500 00367460 7F E3 FB 78 */ mr r3, r31 +/* 8036A504 00367464 48 00 0D 35 */ bl CloseFiles__10SDSPStreamFv +/* 8036A508 00367468 38 60 00 00 */ li r3, 0 +lbl_8036A50C: +/* 8036A50C 0036746C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8036A510 00367470 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8036A514 00367474 7C 08 03 A6 */ mtlr r0 +/* 8036A518 00367478 38 21 00 10 */ addi r1, r1, 0x10 +/* 8036A51C 0036747C 4E 80 00 20 */ blr + +.global UpdateStream__10SDSPStreamFPviPvii +UpdateStream__10SDSPStreamFPviPvii: +/* 8036A520 00367480 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8036A524 00367484 7C 08 02 A6 */ mflr r0 +/* 8036A528 00367488 90 01 00 14 */ stw r0, 0x14(r1) +/* 8036A52C 0036748C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8036A530 00367490 7C FF 3B 78 */ mr r31, r7 +/* 8036A534 00367494 80 07 00 E8 */ lwz r0, 0xe8(r7) +/* 8036A538 00367498 2C 00 00 00 */ cmpwi r0, 0 +/* 8036A53C 0036749C 41 82 00 14 */ beq lbl_8036A550 +/* 8036A540 003674A0 7F E3 FB 78 */ mr r3, r31 +/* 8036A544 003674A4 48 00 02 3D */ bl StopStream__10SDSPStreamFv +/* 8036A548 003674A8 38 60 00 00 */ li r3, 0 +/* 8036A54C 003674AC 48 00 00 44 */ b lbl_8036A590 +lbl_8036A550: +/* 8036A550 003674B0 80 1F 00 DC */ lwz r0, 0xdc(r31) +/* 8036A554 003674B4 7C 64 32 14 */ add r3, r4, r6 +/* 8036A558 003674B8 54 00 F8 7E */ srwi r0, r0, 1 +/* 8036A55C 003674BC 7C 03 00 40 */ cmplw r3, r0 +/* 8036A560 003674C0 40 80 00 0C */ bge lbl_8036A56C +/* 8036A564 003674C4 38 60 00 00 */ li r3, 0 +/* 8036A568 003674C8 48 00 00 28 */ b lbl_8036A590 +lbl_8036A56C: +/* 8036A56C 003674CC 88 1F 00 EC */ lbz r0, 0xec(r31) +/* 8036A570 003674D0 28 00 00 00 */ cmplwi r0, 0 +/* 8036A574 003674D4 40 82 00 18 */ bne lbl_8036A58C +/* 8036A578 003674D8 7F E3 FB 78 */ mr r3, r31 +/* 8036A57C 003674DC 48 00 00 29 */ bl BufferStream__10SDSPStreamFv +/* 8036A580 003674E0 80 1F 00 DC */ lwz r0, 0xdc(r31) +/* 8036A584 003674E4 54 03 F8 7E */ srwi r3, r0, 1 +/* 8036A588 003674E8 48 00 00 08 */ b lbl_8036A590 +lbl_8036A58C: +/* 8036A58C 003674EC 38 60 00 00 */ li r3, 0 +lbl_8036A590: +/* 8036A590 003674F0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8036A594 003674F4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8036A598 003674F8 7C 08 03 A6 */ mtlr r0 +/* 8036A59C 003674FC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8036A5A0 00367500 4E 80 00 20 */ blr + +.global BufferStream__10SDSPStreamFv +BufferStream__10SDSPStreamFv: +/* 8036A5A4 00367504 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8036A5A8 00367508 7C 08 02 A6 */ mflr r0 +/* 8036A5AC 0036750C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8036A5B0 00367510 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 8036A5B4 00367514 7C 7B 1B 78 */ mr r27, r3 +/* 8036A5B8 00367518 3B A0 00 00 */ li r29, 0 +/* 8036A5BC 0036751C 88 03 00 E0 */ lbz r0, 0xe0(r3) +/* 8036A5C0 00367520 80 63 00 D8 */ lwz r3, 0xd8(r3) +/* 8036A5C4 00367524 28 00 00 00 */ cmplwi r0, 0 +/* 8036A5C8 00367528 54 65 F8 7E */ srwi r5, r3, 1 +/* 8036A5CC 0036752C 7C BE 2B 78 */ mr r30, r5 +/* 8036A5D0 00367530 41 82 00 10 */ beq lbl_8036A5E0 +/* 8036A5D4 00367534 80 1B 00 D4 */ lwz r0, 0xd4(r27) +/* 8036A5D8 00367538 7F E0 2A 14 */ add r31, r0, r5 +/* 8036A5DC 0036753C 48 00 00 08 */ b lbl_8036A5E4 +lbl_8036A5E0: +/* 8036A5E0 00367540 83 FB 00 D4 */ lwz r31, 0xd4(r27) +lbl_8036A5E4: +/* 8036A5E4 00367544 88 9B 00 20 */ lbz r4, 0x20(r27) +/* 8036A5E8 00367548 28 04 00 00 */ cmplwi r4, 0 +/* 8036A5EC 0036754C 41 82 00 0C */ beq lbl_8036A5F8 +/* 8036A5F0 00367550 80 DB 00 28 */ lwz r6, 0x28(r27) +/* 8036A5F4 00367554 48 00 00 08 */ b lbl_8036A5FC +lbl_8036A5F8: +/* 8036A5F8 00367558 80 DB 00 D0 */ lwz r6, 0xd0(r27) +lbl_8036A5FC: +/* 8036A5FC 0036755C 80 7B 00 CC */ lwz r3, 0xcc(r27) +/* 8036A600 00367560 7C 03 F2 14 */ add r0, r3, r30 +/* 8036A604 00367564 7C 00 30 40 */ cmplw r0, r6 +/* 8036A608 00367568 40 81 00 8C */ ble lbl_8036A694 +/* 8036A60C 0036756C 7C 06 18 40 */ cmplw r6, r3 +/* 8036A610 00367570 40 81 00 2C */ ble lbl_8036A63C +/* 8036A614 00367574 28 04 00 00 */ cmplwi r4, 0 +/* 8036A618 00367578 7F C3 30 50 */ subf r30, r3, r6 +/* 8036A61C 0036757C 41 82 00 0C */ beq lbl_8036A628 +/* 8036A620 00367580 7F BE 28 50 */ subf r29, r30, r5 +/* 8036A624 00367584 48 00 00 70 */ b lbl_8036A694 +lbl_8036A628: +/* 8036A628 00367588 7C 7F F2 14 */ add r3, r31, r30 +/* 8036A62C 0036758C 7C BE 28 50 */ subf r5, r30, r5 +/* 8036A630 00367590 38 80 00 00 */ li r4, 0 +/* 8036A634 00367594 4B C9 8D 75 */ bl memset +/* 8036A638 00367598 48 00 00 5C */ b lbl_8036A694 +lbl_8036A63C: +/* 8036A63C 0036759C 28 04 00 00 */ cmplwi r4, 0 +/* 8036A640 003675A0 41 82 00 10 */ beq lbl_8036A650 +/* 8036A644 003675A4 80 1B 00 24 */ lwz r0, 0x24(r27) +/* 8036A648 003675A8 90 1B 00 CC */ stw r0, 0xcc(r27) +/* 8036A64C 003675AC 48 00 00 48 */ b lbl_8036A694 +lbl_8036A650: +/* 8036A650 003675B0 7F E3 FB 78 */ mr r3, r31 +/* 8036A654 003675B4 38 80 00 00 */ li r4, 0 +/* 8036A658 003675B8 4B C9 8D 51 */ bl memset +/* 8036A65C 003675BC 88 1B 00 E0 */ lbz r0, 0xe0(r27) +/* 8036A660 003675C0 80 7B 00 C8 */ lwz r3, 0xc8(r27) +/* 8036A664 003675C4 28 00 00 00 */ cmplwi r0, 0 +/* 8036A668 003675C8 41 82 00 10 */ beq lbl_8036A678 +/* 8036A66C 003675CC 80 1B 00 DC */ lwz r0, 0xdc(r27) +/* 8036A670 003675D0 54 04 F8 7E */ srwi r4, r0, 1 +/* 8036A674 003675D4 48 00 00 08 */ b lbl_8036A67C +lbl_8036A678: +/* 8036A678 003675D8 38 80 00 00 */ li r4, 0 +lbl_8036A67C: +/* 8036A67C 003675DC 80 1B 00 DC */ lwz r0, 0xdc(r27) +/* 8036A680 003675E0 38 C0 00 00 */ li r6, 0 +/* 8036A684 003675E4 38 E0 00 00 */ li r7, 0 +/* 8036A688 003675E8 54 05 F8 7E */ srwi r5, r0, 1 +/* 8036A68C 003675EC 48 03 2D B5 */ bl sndStreamARAMUpdate +/* 8036A690 003675F0 3B C0 00 00 */ li r30, 0 +lbl_8036A694: +/* 8036A694 003675F4 48 01 6F CD */ bl OSDisableInterrupts +/* 8036A698 003675F8 28 1E 00 00 */ cmplwi r30, 0 +/* 8036A69C 003675FC 7C 7C 1B 78 */ mr r28, r3 +/* 8036A6A0 00367600 41 82 00 98 */ beq lbl_8036A738 +/* 8036A6A4 00367604 88 1B 00 EC */ lbz r0, 0xec(r27) +/* 8036A6A8 00367608 28 00 00 00 */ cmplwi r0, 0 +/* 8036A6AC 0036760C 40 82 00 AC */ bne lbl_8036A758 +/* 8036A6B0 00367610 80 DB 00 18 */ lwz r6, 0x18(r27) +/* 8036A6B4 00367614 3C 60 80 37 */ lis r3, ReadCompleted__10SDSPStreamFiP11DVDFileInfo@ha +/* 8036A6B8 00367618 80 1B 00 CC */ lwz r0, 0xcc(r27) +/* 8036A6BC 0036761C 38 E3 A1 F4 */ addi r7, r3, ReadCompleted__10SDSPStreamFiP11DVDFileInfo@l +/* 8036A6C0 00367620 7F E4 FB 78 */ mr r4, r31 +/* 8036A6C4 00367624 7F C5 F3 78 */ mr r5, r30 +/* 8036A6C8 00367628 38 7B 00 50 */ addi r3, r27, 0x50 +/* 8036A6CC 0036762C 7C C6 02 14 */ add r6, r6, r0 +/* 8036A6D0 00367630 39 00 00 01 */ li r8, 1 +/* 8036A6D4 00367634 48 00 72 C1 */ bl DVDReadAsyncPrio +/* 8036A6D8 00367638 28 1D 00 00 */ cmplwi r29, 0 +/* 8036A6DC 0036763C 41 82 00 44 */ beq lbl_8036A720 +/* 8036A6E0 00367640 80 DB 00 18 */ lwz r6, 0x18(r27) +/* 8036A6E4 00367644 3C 60 80 37 */ lis r3, ReadCompleted__10SDSPStreamFiP11DVDFileInfo@ha +/* 8036A6E8 00367648 80 1B 00 24 */ lwz r0, 0x24(r27) +/* 8036A6EC 0036764C 38 E3 A1 F4 */ addi r7, r3, ReadCompleted__10SDSPStreamFiP11DVDFileInfo@l +/* 8036A6F0 00367650 7F A5 EB 78 */ mr r5, r29 +/* 8036A6F4 00367654 38 7B 00 8C */ addi r3, r27, 0x8c +/* 8036A6F8 00367658 7C 9F F2 14 */ add r4, r31, r30 +/* 8036A6FC 0036765C 7C C6 02 14 */ add r6, r6, r0 +/* 8036A700 00367660 39 00 00 01 */ li r8, 1 +/* 8036A704 00367664 48 00 72 91 */ bl DVDReadAsyncPrio +/* 8036A708 00367668 38 00 00 02 */ li r0, 2 +/* 8036A70C 0036766C 98 1B 00 EC */ stb r0, 0xec(r27) +/* 8036A710 00367670 80 1B 00 24 */ lwz r0, 0x24(r27) +/* 8036A714 00367674 7C 1D 02 14 */ add r0, r29, r0 +/* 8036A718 00367678 90 1B 00 CC */ stw r0, 0xcc(r27) +/* 8036A71C 0036767C 48 00 00 3C */ b lbl_8036A758 +lbl_8036A720: +/* 8036A720 00367680 38 00 00 01 */ li r0, 1 +/* 8036A724 00367684 98 1B 00 EC */ stb r0, 0xec(r27) +/* 8036A728 00367688 80 1B 00 CC */ lwz r0, 0xcc(r27) +/* 8036A72C 0036768C 7C 00 F2 14 */ add r0, r0, r30 +/* 8036A730 00367690 90 1B 00 CC */ stw r0, 0xcc(r27) +/* 8036A734 00367694 48 00 00 24 */ b lbl_8036A758 +lbl_8036A738: +/* 8036A738 00367698 80 1B 00 E4 */ lwz r0, 0xe4(r27) +/* 8036A73C 0036769C 2C 00 00 00 */ cmpwi r0, 0 +/* 8036A740 003676A0 41 82 00 10 */ beq lbl_8036A750 +/* 8036A744 003676A4 38 00 00 00 */ li r0, 0 +/* 8036A748 003676A8 90 1B 00 E4 */ stw r0, 0xe4(r27) +/* 8036A74C 003676AC 48 00 00 0C */ b lbl_8036A758 +lbl_8036A750: +/* 8036A750 003676B0 7F 63 DB 78 */ mr r3, r27 +/* 8036A754 003676B4 48 00 00 2D */ bl StopStream__10SDSPStreamFv +lbl_8036A758: +/* 8036A758 003676B8 88 1B 00 E0 */ lbz r0, 0xe0(r27) +/* 8036A75C 003676BC 7F 83 E3 78 */ mr r3, r28 +/* 8036A760 003676C0 68 00 00 01 */ xori r0, r0, 1 +/* 8036A764 003676C4 98 1B 00 E0 */ stb r0, 0xe0(r27) +/* 8036A768 003676C8 48 01 6F 21 */ bl OSRestoreInterrupts +/* 8036A76C 003676CC BB 61 00 0C */ lmw r27, 0xc(r1) +/* 8036A770 003676D0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8036A774 003676D4 7C 08 03 A6 */ mtlr r0 +/* 8036A778 003676D8 38 21 00 20 */ addi r1, r1, 0x20 +/* 8036A77C 003676DC 4E 80 00 20 */ blr + +.global StopStream__10SDSPStreamFv +StopStream__10SDSPStreamFv: +/* 8036A780 003676E0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8036A784 003676E4 7C 08 02 A6 */ mflr r0 +/* 8036A788 003676E8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8036A78C 003676EC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8036A790 003676F0 7C 7F 1B 78 */ mr r31, r3 +/* 8036A794 003676F4 88 03 00 EC */ lbz r0, 0xec(r3) +/* 8036A798 003676F8 28 00 00 00 */ cmplwi r0, 0 +/* 8036A79C 003676FC 40 82 00 14 */ bne lbl_8036A7B0 +/* 8036A7A0 00367700 48 00 0A 99 */ bl CloseFiles__10SDSPStreamFv +/* 8036A7A4 00367704 7F E3 FB 78 */ mr r3, r31 +/* 8036A7A8 00367708 48 00 04 65 */ bl DeallocateStream__10SDSPStreamFv +/* 8036A7AC 0036770C 48 00 00 0C */ b lbl_8036A7B8 +lbl_8036A7B0: +/* 8036A7B0 00367710 38 00 00 01 */ li r0, 1 +/* 8036A7B4 00367714 90 1F 00 F0 */ stw r0, 0xf0(r31) +lbl_8036A7B8: +/* 8036A7B8 00367718 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8036A7BC 0036771C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8036A7C0 00367720 7C 08 03 A6 */ mtlr r0 +/* 8036A7C4 00367724 38 21 00 10 */ addi r1, r1, 0x10 +/* 8036A7C8 00367728 4E 80 00 20 */ blr + +.global IsStreamAvailable__10SDSPStreamFi +IsStreamAvailable__10SDSPStreamFi: +/* 8036A7CC 0036772C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8036A7D0 00367730 7C 08 02 A6 */ mflr r0 +/* 8036A7D4 00367734 90 01 00 14 */ stw r0, 0x14(r1) +/* 8036A7D8 00367738 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8036A7DC 0036773C 3B E0 00 00 */ li r31, 0 +/* 8036A7E0 00367740 93 C1 00 08 */ stw r30, 8(r1) +/* 8036A7E4 00367744 7C 7E 1B 78 */ mr r30, r3 +/* 8036A7E8 00367748 48 01 6E 79 */ bl OSDisableInterrupts +/* 8036A7EC 0036774C 7C 60 1B 78 */ mr r0, r3 +/* 8036A7F0 00367750 7F C3 F3 78 */ mr r3, r30 +/* 8036A7F4 00367754 7C 1E 03 78 */ mr r30, r0 +/* 8036A7F8 00367758 48 00 08 89 */ bl FindStreamIdx__10SDSPStreamFi +/* 8036A7FC 0036775C 3C 03 00 01 */ addis r0, r3, 1 +/* 8036A800 00367760 28 00 FF FF */ cmplwi r0, 0xffff +/* 8036A804 00367764 41 82 00 20 */ beq lbl_8036A824 +/* 8036A808 00367768 1C 03 00 F4 */ mulli r0, r3, 0xf4 +/* 8036A80C 0036776C 3C 60 80 54 */ lis r3, lbl_80540640@ha +/* 8036A810 00367770 38 63 06 40 */ addi r3, r3, lbl_80540640@l +/* 8036A814 00367774 7C 03 00 AE */ lbzx r0, r3, r0 +/* 8036A818 00367778 20 00 00 04 */ subfic r0, r0, 4 +/* 8036A81C 0036777C 7C 00 00 34 */ cntlzw r0, r0 +/* 8036A820 00367780 54 1F D9 7E */ srwi r31, r0, 5 +lbl_8036A824: +/* 8036A824 00367784 7F C3 F3 78 */ mr r3, r30 +/* 8036A828 00367788 48 01 6E 61 */ bl OSRestoreInterrupts +/* 8036A82C 0036778C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8036A830 00367790 7F E3 FB 78 */ mr r3, r31 +/* 8036A834 00367794 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8036A838 00367798 83 C1 00 08 */ lwz r30, 8(r1) +/* 8036A83C 0036779C 7C 08 03 A6 */ mtlr r0 +/* 8036A840 003677A0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8036A844 003677A4 4E 80 00 20 */ blr + +.global IsStreamActive__10SDSPStreamFi +IsStreamActive__10SDSPStreamFi: +/* 8036A848 003677A8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8036A84C 003677AC 7C 08 02 A6 */ mflr r0 +/* 8036A850 003677B0 90 01 00 14 */ stw r0, 0x14(r1) +/* 8036A854 003677B4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8036A858 003677B8 3B E0 00 00 */ li r31, 0 +/* 8036A85C 003677BC 93 C1 00 08 */ stw r30, 8(r1) +/* 8036A860 003677C0 7C 7E 1B 78 */ mr r30, r3 +/* 8036A864 003677C4 48 01 6D FD */ bl OSDisableInterrupts +/* 8036A868 003677C8 7C 60 1B 78 */ mr r0, r3 +/* 8036A86C 003677CC 7F C3 F3 78 */ mr r3, r30 +/* 8036A870 003677D0 7C 1E 03 78 */ mr r30, r0 +/* 8036A874 003677D4 48 00 08 0D */ bl FindStreamIdx__10SDSPStreamFi +/* 8036A878 003677D8 3C 03 00 01 */ addis r0, r3, 1 +/* 8036A87C 003677DC 28 00 FF FF */ cmplwi r0, 0xffff +/* 8036A880 003677E0 41 82 00 20 */ beq lbl_8036A8A0 +/* 8036A884 003677E4 1C 03 00 F4 */ mulli r0, r3, 0xf4 +/* 8036A888 003677E8 3C 60 80 54 */ lis r3, lbl_80540640@ha +/* 8036A88C 003677EC 38 63 06 40 */ addi r3, r3, lbl_80540640@l +/* 8036A890 003677F0 7C 63 00 AE */ lbzx r3, r3, r0 +/* 8036A894 003677F4 7C 03 00 D0 */ neg r0, r3 +/* 8036A898 003677F8 7C 00 1B 78 */ or r0, r0, r3 +/* 8036A89C 003677FC 54 1F 0F FE */ srwi r31, r0, 0x1f +lbl_8036A8A0: +/* 8036A8A0 00367800 7F C3 F3 78 */ mr r3, r30 +/* 8036A8A4 00367804 48 01 6D E5 */ bl OSRestoreInterrupts +/* 8036A8A8 00367808 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8036A8AC 0036780C 7F E3 FB 78 */ mr r3, r31 +/* 8036A8B0 00367810 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8036A8B4 00367814 83 C1 00 08 */ lwz r30, 8(r1) +/* 8036A8B8 00367818 7C 08 03 A6 */ mtlr r0 +/* 8036A8BC 0036781C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8036A8C0 00367820 4E 80 00 20 */ blr + +.global UpdateVolume__10SDSPStreamFi +UpdateVolume__10SDSPStreamFi: +/* 8036A8C4 00367824 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8036A8C8 00367828 7C 08 02 A6 */ mflr r0 +/* 8036A8CC 0036782C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8036A8D0 00367830 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8036A8D4 00367834 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8036A8D8 00367838 7C 7E 1B 78 */ mr r30, r3 +/* 8036A8DC 0036783C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8036A8E0 00367840 7C 9D 23 78 */ mr r29, r4 +/* 8036A8E4 00367844 48 01 6D 7D */ bl OSDisableInterrupts +/* 8036A8E8 00367848 7C 60 1B 78 */ mr r0, r3 +/* 8036A8EC 0036784C 7F C3 F3 78 */ mr r3, r30 +/* 8036A8F0 00367850 7C 1F 03 78 */ mr r31, r0 +/* 8036A8F4 00367854 48 00 07 8D */ bl FindStreamIdx__10SDSPStreamFi +/* 8036A8F8 00367858 3C 03 00 01 */ addis r0, r3, 1 +/* 8036A8FC 0036785C 28 00 FF FF */ cmplwi r0, 0xffff +/* 8036A900 00367860 41 82 00 48 */ beq lbl_8036A948 +/* 8036A904 00367864 1C A3 00 F4 */ mulli r5, r3, 0xf4 +/* 8036A908 00367868 3C 60 80 54 */ lis r3, lbl_80540640@ha +/* 8036A90C 0036786C 7F A4 EB 78 */ mr r4, r29 +/* 8036A910 00367870 38 03 06 40 */ addi r0, r3, lbl_80540640@l +/* 8036A914 00367874 7F C0 2A 14 */ add r30, r0, r5 +/* 8036A918 00367878 7F C3 F3 78 */ mr r3, r30 +/* 8036A91C 0036787C 48 00 00 51 */ bl UpdateStreamVolume__10SDSPStreamFi +/* 8036A920 00367880 80 7E 00 08 */ lwz r3, 8(r30) +/* 8036A924 00367884 28 03 00 00 */ cmplwi r3, 0 +/* 8036A928 00367888 41 82 00 0C */ beq lbl_8036A934 +/* 8036A92C 0036788C 7F A4 EB 78 */ mr r4, r29 +/* 8036A930 00367890 48 00 00 3D */ bl UpdateStreamVolume__10SDSPStreamFi +lbl_8036A934: +/* 8036A934 00367894 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8036A938 00367898 28 03 00 00 */ cmplwi r3, 0 +/* 8036A93C 0036789C 41 82 00 0C */ beq lbl_8036A948 +/* 8036A940 003678A0 7F A4 EB 78 */ mr r4, r29 +/* 8036A944 003678A4 48 00 00 29 */ bl UpdateStreamVolume__10SDSPStreamFi +lbl_8036A948: +/* 8036A948 003678A8 7F E3 FB 78 */ mr r3, r31 +/* 8036A94C 003678AC 48 01 6D 3D */ bl OSRestoreInterrupts +/* 8036A950 003678B0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8036A954 003678B4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8036A958 003678B8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8036A95C 003678BC 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8036A960 003678C0 7C 08 03 A6 */ mtlr r0 +/* 8036A964 003678C4 38 21 00 20 */ addi r1, r1, 0x20 +/* 8036A968 003678C8 4E 80 00 20 */ blr + +.global UpdateStreamVolume__10SDSPStreamFi +UpdateStreamVolume__10SDSPStreamFi: +/* 8036A96C 003678CC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8036A970 003678D0 7C 08 02 A6 */ mflr r0 +/* 8036A974 003678D4 7C 65 1B 78 */ mr r5, r3 +/* 8036A978 003678D8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8036A97C 003678DC 98 83 00 4C */ stb r4, 0x4c(r3) +/* 8036A980 003678E0 88 03 00 00 */ lbz r0, 0(r3) +/* 8036A984 003678E4 28 00 00 00 */ cmplwi r0, 0 +/* 8036A988 003678E8 41 82 00 2C */ beq lbl_8036A9B4 +/* 8036A98C 003678EC 80 05 00 E8 */ lwz r0, 0xe8(r5) +/* 8036A990 003678F0 2C 00 00 00 */ cmpwi r0, 0 +/* 8036A994 003678F4 40 82 00 20 */ bne lbl_8036A9B4 +/* 8036A998 003678F8 80 65 00 C8 */ lwz r3, 0xc8(r5) +/* 8036A99C 003678FC 38 C0 00 00 */ li r6, 0 +/* 8036A9A0 00367900 88 85 00 4C */ lbz r4, 0x4c(r5) +/* 8036A9A4 00367904 38 E0 00 00 */ li r7, 0 +/* 8036A9A8 00367908 88 A5 00 4D */ lbz r5, 0x4d(r5) +/* 8036A9AC 0036790C 39 00 00 00 */ li r8, 0 +/* 8036A9B0 00367910 48 03 42 81 */ bl sndStreamMixParameterEx +lbl_8036A9B4: +/* 8036A9B4 00367914 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8036A9B8 00367918 7C 08 03 A6 */ mtlr r0 +/* 8036A9BC 0036791C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8036A9C0 00367920 4E 80 00 20 */ blr + +.global Silence__10SDSPStreamFv +Silence__10SDSPStreamFv: +/* 8036A9C4 00367924 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8036A9C8 00367928 7C 08 02 A6 */ mflr r0 +/* 8036A9CC 0036792C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8036A9D0 00367930 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8036A9D4 00367934 93 C1 00 08 */ stw r30, 8(r1) +/* 8036A9D8 00367938 7C 7E 1B 78 */ mr r30, r3 +/* 8036A9DC 0036793C 48 01 6C 85 */ bl OSDisableInterrupts +/* 8036A9E0 00367940 7C 60 1B 78 */ mr r0, r3 +/* 8036A9E4 00367944 7F C3 F3 78 */ mr r3, r30 +/* 8036A9E8 00367948 7C 1E 03 78 */ mr r30, r0 +/* 8036A9EC 0036794C 48 00 06 95 */ bl FindStreamIdx__10SDSPStreamFi +/* 8036A9F0 00367950 3C 03 00 01 */ addis r0, r3, 1 +/* 8036A9F4 00367954 28 00 FF FF */ cmplwi r0, 0xffff +/* 8036A9F8 00367958 41 82 00 50 */ beq lbl_8036AA48 +/* 8036A9FC 0036795C 1F E3 00 F4 */ mulli r31, r3, 0xf4 +/* 8036AA00 00367960 3C 60 80 54 */ lis r3, lbl_80540640@ha +/* 8036AA04 00367964 38 03 06 40 */ addi r0, r3, lbl_80540640@l +/* 8036AA08 00367968 7C 60 FA 14 */ add r3, r0, r31 +/* 8036AA0C 0036796C 48 00 00 5D */ bl SilenceStream__10SDSPStreamFv +/* 8036AA10 00367970 3C 60 80 54 */ lis r3, lbl_80540640@ha +/* 8036AA14 00367974 38 03 06 40 */ addi r0, r3, lbl_80540640@l +/* 8036AA18 00367978 7C 60 FA 14 */ add r3, r0, r31 +/* 8036AA1C 0036797C 80 63 00 08 */ lwz r3, 8(r3) +/* 8036AA20 00367980 28 03 00 00 */ cmplwi r3, 0 +/* 8036AA24 00367984 41 82 00 08 */ beq lbl_8036AA2C +/* 8036AA28 00367988 48 00 00 41 */ bl SilenceStream__10SDSPStreamFv +lbl_8036AA2C: +/* 8036AA2C 0036798C 3C 60 80 54 */ lis r3, lbl_80540640@ha +/* 8036AA30 00367990 38 03 06 40 */ addi r0, r3, lbl_80540640@l +/* 8036AA34 00367994 7C 60 FA 14 */ add r3, r0, r31 +/* 8036AA38 00367998 80 63 00 0C */ lwz r3, 0xc(r3) +/* 8036AA3C 0036799C 28 03 00 00 */ cmplwi r3, 0 +/* 8036AA40 003679A0 41 82 00 08 */ beq lbl_8036AA48 +/* 8036AA44 003679A4 48 00 00 25 */ bl SilenceStream__10SDSPStreamFv +lbl_8036AA48: +/* 8036AA48 003679A8 7F C3 F3 78 */ mr r3, r30 +/* 8036AA4C 003679AC 48 01 6C 3D */ bl OSRestoreInterrupts +/* 8036AA50 003679B0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8036AA54 003679B4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8036AA58 003679B8 83 C1 00 08 */ lwz r30, 8(r1) +/* 8036AA5C 003679BC 7C 08 03 A6 */ mtlr r0 +/* 8036AA60 003679C0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8036AA64 003679C4 4E 80 00 20 */ blr + +.global SilenceStream__10SDSPStreamFv +SilenceStream__10SDSPStreamFv: +/* 8036AA68 003679C8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8036AA6C 003679CC 7C 08 02 A6 */ mflr r0 +/* 8036AA70 003679D0 90 01 00 14 */ stw r0, 0x14(r1) +/* 8036AA74 003679D4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8036AA78 003679D8 7C 7F 1B 78 */ mr r31, r3 +/* 8036AA7C 003679DC 88 03 00 00 */ lbz r0, 0(r3) +/* 8036AA80 003679E0 28 00 00 00 */ cmplwi r0, 0 +/* 8036AA84 003679E4 41 82 00 34 */ beq lbl_8036AAB8 +/* 8036AA88 003679E8 80 1F 00 E8 */ lwz r0, 0xe8(r31) +/* 8036AA8C 003679EC 2C 00 00 00 */ cmpwi r0, 0 +/* 8036AA90 003679F0 40 82 00 28 */ bne lbl_8036AAB8 +/* 8036AA94 003679F4 80 7F 00 C8 */ lwz r3, 0xc8(r31) +/* 8036AA98 003679F8 38 80 00 00 */ li r4, 0 +/* 8036AA9C 003679FC 88 BF 00 4D */ lbz r5, 0x4d(r31) +/* 8036AAA0 00367A00 38 C0 00 00 */ li r6, 0 +/* 8036AAA4 00367A04 38 E0 00 00 */ li r7, 0 +/* 8036AAA8 00367A08 39 00 00 00 */ li r8, 0 +/* 8036AAAC 00367A0C 48 03 41 85 */ bl sndStreamMixParameterEx +/* 8036AAB0 00367A10 38 00 00 01 */ li r0, 1 +/* 8036AAB4 00367A14 90 1F 00 E8 */ stw r0, 0xe8(r31) +lbl_8036AAB8: +/* 8036AAB8 00367A18 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8036AABC 00367A1C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8036AAC0 00367A20 7C 08 03 A6 */ mtlr r0 +/* 8036AAC4 00367A24 38 21 00 10 */ addi r1, r1, 0x10 +/* 8036AAC8 00367A28 4E 80 00 20 */ blr + +.global AllocateStereo__10SDSPStreamFRC11SStreamInfoRC11SStreamInfoci +AllocateStereo__10SDSPStreamFRC11SStreamInfoRC11SStreamInfoci: +/* 8036AACC 00367A2C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8036AAD0 00367A30 7C 08 02 A6 */ mflr r0 +/* 8036AAD4 00367A34 90 01 00 34 */ stw r0, 0x34(r1) +/* 8036AAD8 00367A38 BF 41 00 18 */ stmw r26, 0x18(r1) +/* 8036AADC 00367A3C 7C 7E 1B 78 */ mr r30, r3 +/* 8036AAE0 00367A40 7C 9A 23 78 */ mr r26, r4 +/* 8036AAE4 00367A44 7C BB 2B 78 */ mr r27, r5 +/* 8036AAE8 00367A48 7C DD 33 78 */ mr r29, r6 +/* 8036AAEC 00367A4C 48 01 6B 75 */ bl OSDisableInterrupts +/* 8036AAF0 00367A50 7C 7C 1B 78 */ mr r28, r3 +/* 8036AAF4 00367A54 7F A4 EB 78 */ mr r4, r29 +/* 8036AAF8 00367A58 38 61 00 08 */ addi r3, r1, 8 +/* 8036AAFC 00367A5C 48 00 06 11 */ bl PickFreeStream__10SDSPStreamFi +/* 8036AB00 00367A60 7C 7F 1B 78 */ mr r31, r3 +/* 8036AB04 00367A64 3C 1F 00 01 */ addis r0, r31, 1 +/* 8036AB08 00367A68 28 00 FF FF */ cmplwi r0, 0xffff +/* 8036AB0C 00367A6C 41 82 00 E0 */ beq lbl_8036ABEC +/* 8036AB10 00367A70 38 61 00 0C */ addi r3, r1, 0xc +/* 8036AB14 00367A74 7F A4 EB 78 */ mr r4, r29 +/* 8036AB18 00367A78 48 00 05 F5 */ bl PickFreeStream__10SDSPStreamFi +/* 8036AB1C 00367A7C 3C 03 00 01 */ addis r0, r3, 1 +/* 8036AB20 00367A80 28 00 FF FF */ cmplwi r0, 0xffff +/* 8036AB24 00367A84 41 82 00 BC */ beq lbl_8036ABE0 +/* 8036AB28 00367A88 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8036AB2C 00367A8C 7F C4 F3 78 */ mr r4, r30 +/* 8036AB30 00367A90 80 61 00 08 */ lwz r3, 8(r1) +/* 8036AB34 00367A94 7F 65 DB 78 */ mr r5, r27 +/* 8036AB38 00367A98 38 C0 00 00 */ li r6, 0 +/* 8036AB3C 00367A9C 90 03 00 08 */ stw r0, 8(r3) +/* 8036AB40 00367AA0 80 01 00 08 */ lwz r0, 8(r1) +/* 8036AB44 00367AA4 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8036AB48 00367AA8 90 03 00 0C */ stw r0, 0xc(r3) +/* 8036AB4C 00367AAC 80 61 00 08 */ lwz r3, 8(r1) +/* 8036AB50 00367AB0 48 00 02 1D */ bl AllocateStream__10SDSPStreamFi +/* 8036AB54 00367AB4 7C 7E 1B 78 */ mr r30, r3 +/* 8036AB58 00367AB8 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8036AB5C 00367ABC 7F 44 D3 78 */ mr r4, r26 +/* 8036AB60 00367AC0 7F 65 DB 78 */ mr r5, r27 +/* 8036AB64 00367AC4 38 C0 00 7F */ li r6, 0x7f +/* 8036AB68 00367AC8 48 00 02 05 */ bl AllocateStream__10SDSPStreamFi +/* 8036AB6C 00367ACC 7C 7D 1B 78 */ mr r29, r3 +/* 8036AB70 00367AD0 7F 83 E3 78 */ mr r3, r28 +/* 8036AB74 00367AD4 48 01 6B 15 */ bl OSRestoreInterrupts +/* 8036AB78 00367AD8 80 81 00 08 */ lwz r4, 8(r1) +/* 8036AB7C 00367ADC 80 64 00 10 */ lwz r3, 0x10(r4) +/* 8036AB80 00367AE0 48 00 06 F1 */ bl OpenFiles__10SDSPStreamFPCc +/* 8036AB84 00367AE4 80 81 00 0C */ lwz r4, 0xc(r1) +/* 8036AB88 00367AE8 80 64 00 10 */ lwz r3, 0x10(r4) +/* 8036AB8C 00367AEC 48 00 06 E5 */ bl OpenFiles__10SDSPStreamFPCc +/* 8036AB90 00367AF0 81 01 00 08 */ lwz r8, 8(r1) +/* 8036AB94 00367AF4 3C 60 80 37 */ lis r3, ReadCompleted__10SDSPStreamFiP11DVDFileInfo@ha +/* 8036AB98 00367AF8 38 E3 A1 F4 */ addi r7, r3, ReadCompleted__10SDSPStreamFiP11DVDFileInfo@l +/* 8036AB9C 00367AFC 7F C5 F3 78 */ mr r5, r30 +/* 8036ABA0 00367B00 80 88 00 D4 */ lwz r4, 0xd4(r8) +/* 8036ABA4 00367B04 38 68 00 50 */ addi r3, r8, 0x50 +/* 8036ABA8 00367B08 80 C8 00 18 */ lwz r6, 0x18(r8) +/* 8036ABAC 00367B0C 39 00 00 01 */ li r8, 1 +/* 8036ABB0 00367B10 48 00 6D E5 */ bl DVDReadAsyncPrio +/* 8036ABB4 00367B14 81 01 00 0C */ lwz r8, 0xc(r1) +/* 8036ABB8 00367B18 3C 60 80 37 */ lis r3, ReadCompleted__10SDSPStreamFiP11DVDFileInfo@ha +/* 8036ABBC 00367B1C 38 E3 A1 F4 */ addi r7, r3, ReadCompleted__10SDSPStreamFiP11DVDFileInfo@l +/* 8036ABC0 00367B20 7F A5 EB 78 */ mr r5, r29 +/* 8036ABC4 00367B24 80 88 00 D4 */ lwz r4, 0xd4(r8) +/* 8036ABC8 00367B28 38 68 00 50 */ addi r3, r8, 0x50 +/* 8036ABCC 00367B2C 80 C8 00 18 */ lwz r6, 0x18(r8) +/* 8036ABD0 00367B30 39 00 00 01 */ li r8, 1 +/* 8036ABD4 00367B34 48 00 6D C1 */ bl DVDReadAsyncPrio +/* 8036ABD8 00367B38 7F E3 FB 78 */ mr r3, r31 +/* 8036ABDC 00367B3C 48 00 00 1C */ b lbl_8036ABF8 +lbl_8036ABE0: +/* 8036ABE0 00367B40 80 61 00 08 */ lwz r3, 8(r1) +/* 8036ABE4 00367B44 48 00 00 29 */ bl DeallocateStream__10SDSPStreamFv +/* 8036ABE8 00367B48 3B E0 FF FF */ li r31, -1 +lbl_8036ABEC: +/* 8036ABEC 00367B4C 7F 83 E3 78 */ mr r3, r28 +/* 8036ABF0 00367B50 48 01 6A 99 */ bl OSRestoreInterrupts +/* 8036ABF4 00367B54 7F E3 FB 78 */ mr r3, r31 +lbl_8036ABF8: +/* 8036ABF8 00367B58 BB 41 00 18 */ lmw r26, 0x18(r1) +/* 8036ABFC 00367B5C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8036AC00 00367B60 7C 08 03 A6 */ mtlr r0 +/* 8036AC04 00367B64 38 21 00 30 */ addi r1, r1, 0x30 +/* 8036AC08 00367B68 4E 80 00 20 */ blr + +.global DeallocateStream__10SDSPStreamFv +DeallocateStream__10SDSPStreamFv: +/* 8036AC0C 00367B6C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8036AC10 00367B70 7C 08 02 A6 */ mflr r0 +/* 8036AC14 00367B74 90 01 00 14 */ stw r0, 0x14(r1) +/* 8036AC18 00367B78 38 00 00 00 */ li r0, 0 +/* 8036AC1C 00367B7C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8036AC20 00367B80 7C 7F 1B 78 */ mr r31, r3 +/* 8036AC24 00367B84 98 03 00 00 */ stb r0, 0(r3) +/* 8036AC28 00367B88 88 03 00 01 */ lbz r0, 1(r3) +/* 8036AC2C 00367B8C 2C 00 00 01 */ cmpwi r0, 1 +/* 8036AC30 00367B90 41 82 00 2C */ beq lbl_8036AC5C +/* 8036AC34 00367B94 40 80 00 64 */ bge lbl_8036AC98 +/* 8036AC38 00367B98 2C 00 00 00 */ cmpwi r0, 0 +/* 8036AC3C 00367B9C 40 80 00 08 */ bge lbl_8036AC44 +/* 8036AC40 00367BA0 48 00 00 58 */ b lbl_8036AC98 +lbl_8036AC44: +/* 8036AC44 00367BA4 80 7F 00 C8 */ lwz r3, 0xc8(r31) +/* 8036AC48 00367BA8 3C 03 00 01 */ addis r0, r3, 1 +/* 8036AC4C 00367BAC 28 00 FF FF */ cmplwi r0, 0xffff +/* 8036AC50 00367BB0 41 82 00 48 */ beq lbl_8036AC98 +/* 8036AC54 00367BB4 48 03 58 CD */ bl sndStreamDeactivate +/* 8036AC58 00367BB8 48 00 00 40 */ b lbl_8036AC98 +lbl_8036AC5C: +/* 8036AC5C 00367BBC 80 7F 00 D4 */ lwz r3, 0xd4(r31) +/* 8036AC60 00367BC0 28 03 00 00 */ cmplwi r3, 0 +/* 8036AC64 00367BC4 41 82 00 34 */ beq lbl_8036AC98 +/* 8036AC68 00367BC8 4B FA AC C9 */ bl Free__7CMemoryFPCv +/* 8036AC6C 00367BCC 38 00 00 00 */ li r0, 0 +/* 8036AC70 00367BD0 90 1F 00 D4 */ stw r0, 0xd4(r31) +/* 8036AC74 00367BD4 80 7F 00 C8 */ lwz r3, 0xc8(r31) +/* 8036AC78 00367BD8 3C 03 00 01 */ addis r0, r3, 1 +/* 8036AC7C 00367BDC 28 00 FF FF */ cmplwi r0, 0xffff +/* 8036AC80 00367BE0 41 82 00 18 */ beq lbl_8036AC98 +/* 8036AC84 00367BE4 48 03 58 9D */ bl sndStreamDeactivate +/* 8036AC88 00367BE8 80 7F 00 C8 */ lwz r3, 0xc8(r31) +/* 8036AC8C 00367BEC 48 03 4B 69 */ bl sndStreamFree +/* 8036AC90 00367BF0 38 00 FF FF */ li r0, -1 +/* 8036AC94 00367BF4 90 1F 00 C8 */ stw r0, 0xc8(r31) +lbl_8036AC98: +/* 8036AC98 00367BF8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8036AC9C 00367BFC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8036ACA0 00367C00 7C 08 03 A6 */ mtlr r0 +/* 8036ACA4 00367C04 38 21 00 10 */ addi r1, r1, 0x10 +/* 8036ACA8 00367C08 4E 80 00 20 */ blr + +.global AllocateMono__10SDSPStreamFRC11SStreamInfocci +AllocateMono__10SDSPStreamFRC11SStreamInfocci: +/* 8036ACAC 00367C0C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8036ACB0 00367C10 7C 08 02 A6 */ mflr r0 +/* 8036ACB4 00367C14 90 01 00 34 */ stw r0, 0x34(r1) +/* 8036ACB8 00367C18 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 8036ACBC 00367C1C 7C 7B 1B 78 */ mr r27, r3 +/* 8036ACC0 00367C20 7C 9C 23 78 */ mr r28, r4 +/* 8036ACC4 00367C24 7C BD 2B 78 */ mr r29, r5 +/* 8036ACC8 00367C28 7C DE 33 78 */ mr r30, r6 +/* 8036ACCC 00367C2C 48 01 69 95 */ bl OSDisableInterrupts +/* 8036ACD0 00367C30 7F C4 F3 78 */ mr r4, r30 +/* 8036ACD4 00367C34 7C 7E 1B 78 */ mr r30, r3 +/* 8036ACD8 00367C38 38 61 00 08 */ addi r3, r1, 8 +/* 8036ACDC 00367C3C 48 00 04 31 */ bl PickFreeStream__10SDSPStreamFi +/* 8036ACE0 00367C40 7C 7F 1B 78 */ mr r31, r3 +/* 8036ACE4 00367C44 3C 1F 00 01 */ addis r0, r31, 1 +/* 8036ACE8 00367C48 28 00 FF FF */ cmplwi r0, 0xffff +/* 8036ACEC 00367C4C 41 82 00 60 */ beq lbl_8036AD4C +/* 8036ACF0 00367C50 80 61 00 08 */ lwz r3, 8(r1) +/* 8036ACF4 00367C54 7F 64 DB 78 */ mr r4, r27 +/* 8036ACF8 00367C58 7F 85 E3 78 */ mr r5, r28 +/* 8036ACFC 00367C5C 7F A6 EB 78 */ mr r6, r29 +/* 8036AD00 00367C60 48 00 00 6D */ bl AllocateStream__10SDSPStreamFi +/* 8036AD04 00367C64 7C 60 1B 78 */ mr r0, r3 +/* 8036AD08 00367C68 7F C3 F3 78 */ mr r3, r30 +/* 8036AD0C 00367C6C 7C 1E 03 78 */ mr r30, r0 +/* 8036AD10 00367C70 48 01 69 79 */ bl OSRestoreInterrupts +/* 8036AD14 00367C74 80 81 00 08 */ lwz r4, 8(r1) +/* 8036AD18 00367C78 80 64 00 10 */ lwz r3, 0x10(r4) +/* 8036AD1C 00367C7C 48 00 05 55 */ bl OpenFiles__10SDSPStreamFPCc +/* 8036AD20 00367C80 81 01 00 08 */ lwz r8, 8(r1) +/* 8036AD24 00367C84 3C 60 80 37 */ lis r3, ReadCompleted__10SDSPStreamFiP11DVDFileInfo@ha +/* 8036AD28 00367C88 38 E3 A1 F4 */ addi r7, r3, ReadCompleted__10SDSPStreamFiP11DVDFileInfo@l +/* 8036AD2C 00367C8C 7F C5 F3 78 */ mr r5, r30 +/* 8036AD30 00367C90 80 88 00 D4 */ lwz r4, 0xd4(r8) +/* 8036AD34 00367C94 38 68 00 50 */ addi r3, r8, 0x50 +/* 8036AD38 00367C98 80 C8 00 18 */ lwz r6, 0x18(r8) +/* 8036AD3C 00367C9C 39 00 00 01 */ li r8, 1 +/* 8036AD40 00367CA0 48 00 6C 55 */ bl DVDReadAsyncPrio +/* 8036AD44 00367CA4 7F E3 FB 78 */ mr r3, r31 +/* 8036AD48 00367CA8 48 00 00 10 */ b lbl_8036AD58 +lbl_8036AD4C: +/* 8036AD4C 00367CAC 7F C3 F3 78 */ mr r3, r30 +/* 8036AD50 00367CB0 48 01 69 39 */ bl OSRestoreInterrupts +/* 8036AD54 00367CB4 7F E3 FB 78 */ mr r3, r31 +lbl_8036AD58: +/* 8036AD58 00367CB8 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 8036AD5C 00367CBC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8036AD60 00367CC0 7C 08 03 A6 */ mtlr r0 +/* 8036AD64 00367CC4 38 21 00 30 */ addi r1, r1, 0x30 +/* 8036AD68 00367CC8 4E 80 00 20 */ blr + +.global AllocateStream__10SDSPStreamFi +AllocateStream__10SDSPStreamFi: +/* 8036AD6C 00367CCC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8036AD70 00367CD0 7C 08 02 A6 */ mflr r0 +/* 8036AD74 00367CD4 90 01 00 24 */ stw r0, 0x24(r1) +/* 8036AD78 00367CD8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8036AD7C 00367CDC 7C DF 33 78 */ mr r31, r6 +/* 8036AD80 00367CE0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8036AD84 00367CE4 7C BE 2B 78 */ mr r30, r5 +/* 8036AD88 00367CE8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8036AD8C 00367CEC 7C 7D 1B 78 */ mr r29, r3 +/* 8036AD90 00367CF0 80 04 00 00 */ lwz r0, 0(r4) +/* 8036AD94 00367CF4 90 03 00 10 */ stw r0, 0x10(r3) +/* 8036AD98 00367CF8 A0 04 00 04 */ lhz r0, 4(r4) +/* 8036AD9C 00367CFC B0 03 00 14 */ sth r0, 0x14(r3) +/* 8036ADA0 00367D00 80 04 00 08 */ lwz r0, 8(r4) +/* 8036ADA4 00367D04 90 03 00 18 */ stw r0, 0x18(r3) +/* 8036ADA8 00367D08 80 04 00 0C */ lwz r0, 0xc(r4) +/* 8036ADAC 00367D0C 90 03 00 1C */ stw r0, 0x1c(r3) +/* 8036ADB0 00367D10 88 04 00 10 */ lbz r0, 0x10(r4) +/* 8036ADB4 00367D14 98 03 00 20 */ stb r0, 0x20(r3) +/* 8036ADB8 00367D18 80 04 00 14 */ lwz r0, 0x14(r4) +/* 8036ADBC 00367D1C 90 03 00 24 */ stw r0, 0x24(r3) +/* 8036ADC0 00367D20 80 04 00 18 */ lwz r0, 0x18(r4) +/* 8036ADC4 00367D24 90 03 00 28 */ stw r0, 0x28(r3) +/* 8036ADC8 00367D28 80 A4 00 1C */ lwz r5, 0x1c(r4) +/* 8036ADCC 00367D2C 80 04 00 20 */ lwz r0, 0x20(r4) +/* 8036ADD0 00367D30 90 A3 00 2C */ stw r5, 0x2c(r3) +/* 8036ADD4 00367D34 90 03 00 30 */ stw r0, 0x30(r3) +/* 8036ADD8 00367D38 80 A4 00 24 */ lwz r5, 0x24(r4) +/* 8036ADDC 00367D3C 80 04 00 28 */ lwz r0, 0x28(r4) +/* 8036ADE0 00367D40 90 A3 00 34 */ stw r5, 0x34(r3) +/* 8036ADE4 00367D44 90 03 00 38 */ stw r0, 0x38(r3) +/* 8036ADE8 00367D48 80 A4 00 2C */ lwz r5, 0x2c(r4) +/* 8036ADEC 00367D4C 80 04 00 30 */ lwz r0, 0x30(r4) +/* 8036ADF0 00367D50 90 A3 00 3C */ stw r5, 0x3c(r3) +/* 8036ADF4 00367D54 90 03 00 40 */ stw r0, 0x40(r3) +/* 8036ADF8 00367D58 80 A4 00 34 */ lwz r5, 0x34(r4) +/* 8036ADFC 00367D5C 80 04 00 38 */ lwz r0, 0x38(r4) +/* 8036AE00 00367D60 90 A3 00 44 */ stw r5, 0x44(r3) +/* 8036AE04 00367D64 90 03 00 48 */ stw r0, 0x48(r3) +/* 8036AE08 00367D68 80 03 00 D4 */ lwz r0, 0xd4(r3) +/* 8036AE0C 00367D6C 28 00 00 00 */ cmplwi r0, 0 +/* 8036AE10 00367D70 40 82 00 08 */ bne lbl_8036AE18 +/* 8036AE14 00367D74 48 00 01 B5 */ bl DoAllocateStream__10SDSPStreamFi +lbl_8036AE18: +/* 8036AE18 00367D78 9B DD 00 4C */ stb r30, 0x4c(r29) +/* 8036AE1C 00367D7C 3C 60 00 01 */ lis r3, 0x00011DC0@ha +/* 8036AE20 00367D80 38 80 00 01 */ li r4, 1 +/* 8036AE24 00367D84 38 00 00 00 */ li r0, 0 +/* 8036AE28 00367D88 9B FD 00 4D */ stb r31, 0x4d(r29) +/* 8036AE2C 00367D8C 38 63 1D C0 */ addi r3, r3, 0x00011DC0@l +/* 8036AE30 00367D90 90 9D 00 E4 */ stw r4, 0xe4(r29) +/* 8036AE34 00367D94 90 1D 00 E8 */ stw r0, 0xe8(r29) +/* 8036AE38 00367D98 90 1D 00 F0 */ stw r0, 0xf0(r29) +/* 8036AE3C 00367D9C 98 9D 00 EC */ stb r4, 0xec(r29) +/* 8036AE40 00367DA0 98 9D 00 E0 */ stb r4, 0xe0(r29) +/* 8036AE44 00367DA4 90 7D 00 D8 */ stw r3, 0xd8(r29) +/* 8036AE48 00367DA8 80 1D 00 D8 */ lwz r0, 0xd8(r29) +/* 8036AE4C 00367DAC 54 00 E8 FE */ srwi r0, r0, 3 +/* 8036AE50 00367DB0 1C 00 00 0E */ mulli r0, r0, 0xe +/* 8036AE54 00367DB4 90 1D 00 DC */ stw r0, 0xdc(r29) +/* 8036AE58 00367DB8 80 1D 00 D8 */ lwz r0, 0xd8(r29) +/* 8036AE5C 00367DBC 7C 00 18 40 */ cmplw r0, r3 +/* 8036AE60 00367DC0 40 81 00 08 */ ble lbl_8036AE68 +/* 8036AE64 00367DC4 90 7D 00 D8 */ stw r3, 0xd8(r29) +lbl_8036AE68: +/* 8036AE68 00367DC8 80 1D 00 D8 */ lwz r0, 0xd8(r29) +/* 8036AE6C 00367DCC 54 04 F8 7E */ srwi r4, r0, 1 +/* 8036AE70 00367DD0 90 9D 00 CC */ stw r4, 0xcc(r29) +/* 8036AE74 00367DD4 80 1D 00 1C */ lwz r0, 0x1c(r29) +/* 8036AE78 00367DD8 90 1D 00 D0 */ stw r0, 0xd0(r29) +/* 8036AE7C 00367DDC 80 7D 00 D0 */ lwz r3, 0xd0(r29) +/* 8036AE80 00367DE0 7C 03 20 40 */ cmplw r3, r4 +/* 8036AE84 00367DE4 40 80 00 20 */ bge lbl_8036AEA4 +/* 8036AE88 00367DE8 80 1D 00 D4 */ lwz r0, 0xd4(r29) +/* 8036AE8C 00367DEC 7C 7E 1B 78 */ mr r30, r3 +/* 8036AE90 00367DF0 7C A3 20 50 */ subf r5, r3, r4 +/* 8036AE94 00367DF4 38 80 00 00 */ li r4, 0 +/* 8036AE98 00367DF8 7C 60 1A 14 */ add r3, r0, r3 +/* 8036AE9C 00367DFC 4B C9 85 0D */ bl memset +/* 8036AEA0 00367E00 48 00 00 08 */ b lbl_8036AEA8 +lbl_8036AEA4: +/* 8036AEA4 00367E04 7C 9E 23 78 */ mr r30, r4 +lbl_8036AEA8: +/* 8036AEA8 00367E08 38 00 00 02 */ li r0, 2 +/* 8036AEAC 00367E0C 7F C3 F3 78 */ mr r3, r30 +/* 8036AEB0 00367E10 98 1D 00 00 */ stb r0, 0(r29) +/* 8036AEB4 00367E14 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8036AEB8 00367E18 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8036AEBC 00367E1C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8036AEC0 00367E20 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8036AEC4 00367E24 7C 08 03 A6 */ mtlr r0 +/* 8036AEC8 00367E28 38 21 00 20 */ addi r1, r1, 0x20 +/* 8036AECC 00367E2C 4E 80 00 20 */ blr + +.global FreeAllStreams__10SDSPStreamFi +FreeAllStreams__10SDSPStreamFi: +/* 8036AED0 00367E30 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8036AED4 00367E34 7C 08 02 A6 */ mflr r0 +/* 8036AED8 00367E38 3C 60 80 54 */ lis r3, lbl_80540640@ha +/* 8036AEDC 00367E3C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8036AEE0 00367E40 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8036AEE4 00367E44 3B E3 06 40 */ addi r31, r3, lbl_80540640@l +/* 8036AEE8 00367E48 93 C1 00 08 */ stw r30, 8(r1) +/* 8036AEEC 00367E4C 3B C0 00 00 */ li r30, 0 +lbl_8036AEF0: +/* 8036AEF0 00367E50 80 7F 00 C8 */ lwz r3, 0xc8(r31) +/* 8036AEF4 00367E54 48 03 49 01 */ bl sndStreamFree +/* 8036AEF8 00367E58 80 7F 00 D4 */ lwz r3, 0xd4(r31) +/* 8036AEFC 00367E5C 4B FA AA 35 */ bl Free__7CMemoryFPCv +/* 8036AF00 00367E60 3B DE 00 01 */ addi r30, r30, 1 +/* 8036AF04 00367E64 3B FF 00 F4 */ addi r31, r31, 0xf4 +/* 8036AF08 00367E68 28 1E 00 04 */ cmplwi r30, 4 +/* 8036AF0C 00367E6C 41 80 FF E4 */ blt lbl_8036AEF0 +/* 8036AF10 00367E70 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8036AF14 00367E74 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8036AF18 00367E78 83 C1 00 08 */ lwz r30, 8(r1) +/* 8036AF1C 00367E7C 7C 08 03 A6 */ mtlr r0 +/* 8036AF20 00367E80 38 21 00 10 */ addi r1, r1, 0x10 +/* 8036AF24 00367E84 4E 80 00 20 */ blr + +.global Initialize__10SDSPStreamFv +Initialize__10SDSPStreamFv: +/* 8036AF28 00367E88 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8036AF2C 00367E8C 7C 08 02 A6 */ mflr r0 +/* 8036AF30 00367E90 3C 60 80 54 */ lis r3, lbl_80540640@ha +/* 8036AF34 00367E94 3C 80 00 01 */ lis r4, 0x00011DC0@ha +/* 8036AF38 00367E98 90 01 00 34 */ stw r0, 0x34(r1) +/* 8036AF3C 00367E9C BF 21 00 14 */ stmw r25, 0x14(r1) +/* 8036AF40 00367EA0 3B 43 06 40 */ addi r26, r3, lbl_80540640@l +/* 8036AF44 00367EA4 3C 60 00 02 */ lis r3, 0x0001F410@ha +/* 8036AF48 00367EA8 3B 84 1D C0 */ addi r28, r4, 0x00011DC0@l +/* 8036AF4C 00367EAC 3B A3 F4 10 */ addi r29, r3, 0x0001F410@l +/* 8036AF50 00367EB0 3B 20 00 00 */ li r25, 0 +/* 8036AF54 00367EB4 3B 60 00 00 */ li r27, 0 +/* 8036AF58 00367EB8 3B C0 FF FF */ li r30, -1 +/* 8036AF5C 00367EBC 3B E0 00 01 */ li r31, 1 +lbl_8036AF60: +/* 8036AF60 00367EC0 9B 7A 00 00 */ stb r27, 0(r26) +/* 8036AF64 00367EC4 28 19 00 02 */ cmplwi r25, 2 +/* 8036AF68 00367EC8 93 7A 00 D4 */ stw r27, 0xd4(r26) +/* 8036AF6C 00367ECC 93 9A 00 D8 */ stw r28, 0xd8(r26) +/* 8036AF70 00367ED0 93 BA 00 DC */ stw r29, 0xdc(r26) +/* 8036AF74 00367ED4 93 DA 00 C8 */ stw r30, 0xc8(r26) +/* 8036AF78 00367ED8 40 80 00 14 */ bge lbl_8036AF8C +/* 8036AF7C 00367EDC 9B 7A 00 01 */ stb r27, 1(r26) +/* 8036AF80 00367EE0 7F 43 D3 78 */ mr r3, r26 +/* 8036AF84 00367EE4 48 00 00 45 */ bl DoAllocateStream__10SDSPStreamFi +/* 8036AF88 00367EE8 48 00 00 08 */ b lbl_8036AF90 +lbl_8036AF8C: +/* 8036AF8C 00367EEC 9B FA 00 01 */ stb r31, 1(r26) +lbl_8036AF90: +/* 8036AF90 00367EF0 3B 39 00 01 */ addi r25, r25, 1 +/* 8036AF94 00367EF4 3B 5A 00 F4 */ addi r26, r26, 0xf4 +/* 8036AF98 00367EF8 28 19 00 04 */ cmplwi r25, 4 +/* 8036AF9C 00367EFC 41 80 FF C4 */ blt lbl_8036AF60 +/* 8036AFA0 00367F00 3C 60 80 54 */ lis r3, lbl_80540640@ha +/* 8036AFA4 00367F04 38 00 00 00 */ li r0, 0 +/* 8036AFA8 00367F08 38 63 06 40 */ addi r3, r3, lbl_80540640@l +/* 8036AFAC 00367F0C 90 03 03 D0 */ stw r0, 0x3d0(r3) +/* 8036AFB0 00367F10 90 03 03 D8 */ stw r0, 0x3d8(r3) +/* 8036AFB4 00367F14 BB 21 00 14 */ lmw r25, 0x14(r1) +/* 8036AFB8 00367F18 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8036AFBC 00367F1C 7C 08 03 A6 */ mtlr r0 +/* 8036AFC0 00367F20 38 21 00 30 */ addi r1, r1, 0x30 +/* 8036AFC4 00367F24 4E 80 00 20 */ blr + +.global DoAllocateStream__10SDSPStreamFi +DoAllocateStream__10SDSPStreamFi: +/* 8036AFC8 00367F28 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8036AFCC 00367F2C 7C 08 02 A6 */ mflr r0 +/* 8036AFD0 00367F30 3C A0 80 3E */ lis r5, lbl_803D8558@ha +/* 8036AFD4 00367F34 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha +/* 8036AFD8 00367F38 90 01 00 34 */ stw r0, 0x34(r1) +/* 8036AFDC 00367F3C 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l +/* 8036AFE0 00367F40 38 A5 85 58 */ addi r5, r5, lbl_803D8558@l +/* 8036AFE4 00367F44 38 80 FF FF */ li r4, -1 +/* 8036AFE8 00367F48 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8036AFEC 00367F4C 7C 7F 1B 78 */ mr r31, r3 +/* 8036AFF0 00367F50 38 61 00 20 */ addi r3, r1, 0x20 +/* 8036AFF4 00367F54 4B F6 B3 E1 */ bl __ct__10CCallStackFUiPCcPCc +/* 8036AFF8 00367F58 3C A0 00 01 */ lis r5, 0x00011DC0@ha +/* 8036AFFC 00367F5C 7C 67 1B 78 */ mr r7, r3 +/* 8036B000 00367F60 38 65 1D C0 */ addi r3, r5, 0x00011DC0@l +/* 8036B004 00367F64 38 80 00 02 */ li r4, 2 +/* 8036B008 00367F68 38 A0 00 01 */ li r5, 1 +/* 8036B00C 00367F6C 38 C0 00 00 */ li r6, 0 +/* 8036B010 00367F70 4B FA A9 85 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 8036B014 00367F74 90 7F 00 D4 */ stw r3, 0xd4(r31) +/* 8036B018 00367F78 38 A0 00 00 */ li r5, 0 +/* 8036B01C 00367F7C 3C 80 00 03 */ lis r4, 0x00030001@ha +/* 8036B020 00367F80 3C 60 80 37 */ lis r3, UpdateStream__10SDSPStreamFPviPvii@ha +/* 8036B024 00367F84 90 A1 00 08 */ stw r5, 8(r1) +/* 8036B028 00367F88 38 84 00 01 */ addi r4, r4, 0x00030001@l +/* 8036B02C 00367F8C 38 03 A5 20 */ addi r0, r3, UpdateStream__10SDSPStreamFPviPvii@l +/* 8036B030 00367F90 38 60 00 FF */ li r3, 0xff +/* 8036B034 00367F94 90 A1 00 0C */ stw r5, 0xc(r1) +/* 8036B038 00367F98 38 C0 7D 00 */ li r6, 0x7d00 +/* 8036B03C 00367F9C 38 E0 00 00 */ li r7, 0 +/* 8036B040 00367FA0 39 00 00 40 */ li r8, 0x40 +/* 8036B044 00367FA4 90 81 00 10 */ stw r4, 0x10(r1) +/* 8036B048 00367FA8 39 20 00 00 */ li r9, 0 +/* 8036B04C 00367FAC 39 40 00 00 */ li r10, 0 +/* 8036B050 00367FB0 90 01 00 14 */ stw r0, 0x14(r1) +/* 8036B054 00367FB4 93 E1 00 18 */ stw r31, 0x18(r1) +/* 8036B058 00367FB8 90 A1 00 1C */ stw r5, 0x1c(r1) +/* 8036B05C 00367FBC 80 9F 00 D4 */ lwz r4, 0xd4(r31) +/* 8036B060 00367FC0 80 BF 00 DC */ lwz r5, 0xdc(r31) +/* 8036B064 00367FC4 48 03 28 69 */ bl sndStreamAllocEx +/* 8036B068 00367FC8 90 7F 00 C8 */ stw r3, 0xc8(r31) +/* 8036B06C 00367FCC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8036B070 00367FD0 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8036B074 00367FD4 7C 08 03 A6 */ mtlr r0 +/* 8036B078 00367FD8 38 21 00 30 */ addi r1, r1, 0x30 +/* 8036B07C 00367FDC 4E 80 00 20 */ blr + +.global FindStreamIdx__10SDSPStreamFi +FindStreamIdx__10SDSPStreamFi: +/* 8036B080 00367FE0 3C 80 80 54 */ lis r4, lbl_80540640@ha +/* 8036B084 00367FE4 8C 04 06 40 */ lbzu r0, lbl_80540640@l(r4) +/* 8036B088 00367FE8 28 00 00 00 */ cmplwi r0, 0 +/* 8036B08C 00367FEC 41 82 00 18 */ beq lbl_8036B0A4 +/* 8036B090 00367FF0 80 04 00 04 */ lwz r0, 4(r4) +/* 8036B094 00367FF4 7C 03 00 40 */ cmplw r3, r0 +/* 8036B098 00367FF8 40 82 00 0C */ bne lbl_8036B0A4 +/* 8036B09C 00367FFC 38 60 00 00 */ li r3, 0 +/* 8036B0A0 00368000 4E 80 00 20 */ blr +lbl_8036B0A4: +/* 8036B0A4 00368004 8C 04 00 F4 */ lbzu r0, 0xf4(r4) +/* 8036B0A8 00368008 28 00 00 00 */ cmplwi r0, 0 +/* 8036B0AC 0036800C 41 82 00 18 */ beq lbl_8036B0C4 +/* 8036B0B0 00368010 80 04 00 04 */ lwz r0, 4(r4) +/* 8036B0B4 00368014 7C 03 00 40 */ cmplw r3, r0 +/* 8036B0B8 00368018 40 82 00 0C */ bne lbl_8036B0C4 +/* 8036B0BC 0036801C 38 60 00 01 */ li r3, 1 +/* 8036B0C0 00368020 4E 80 00 20 */ blr +lbl_8036B0C4: +/* 8036B0C4 00368024 8C 04 00 F4 */ lbzu r0, 0xf4(r4) +/* 8036B0C8 00368028 28 00 00 00 */ cmplwi r0, 0 +/* 8036B0CC 0036802C 41 82 00 18 */ beq lbl_8036B0E4 +/* 8036B0D0 00368030 80 04 00 04 */ lwz r0, 4(r4) +/* 8036B0D4 00368034 7C 03 00 40 */ cmplw r3, r0 +/* 8036B0D8 00368038 40 82 00 0C */ bne lbl_8036B0E4 +/* 8036B0DC 0036803C 38 60 00 02 */ li r3, 2 +/* 8036B0E0 00368040 4E 80 00 20 */ blr +lbl_8036B0E4: +/* 8036B0E4 00368044 8C 04 00 F4 */ lbzu r0, 0xf4(r4) +/* 8036B0E8 00368048 28 00 00 00 */ cmplwi r0, 0 +/* 8036B0EC 0036804C 41 82 00 18 */ beq lbl_8036B104 +/* 8036B0F0 00368050 80 04 00 04 */ lwz r0, 4(r4) +/* 8036B0F4 00368054 7C 03 00 40 */ cmplw r3, r0 +/* 8036B0F8 00368058 40 82 00 0C */ bne lbl_8036B104 +/* 8036B0FC 0036805C 38 60 00 03 */ li r3, 3 +/* 8036B100 00368060 4E 80 00 20 */ blr +lbl_8036B104: +/* 8036B104 00368064 38 60 FF FF */ li r3, -1 +/* 8036B108 00368068 4E 80 00 20 */ blr + +.global PickFreeStream__10SDSPStreamFi +PickFreeStream__10SDSPStreamFi: +/* 8036B10C 0036806C 3C A0 80 54 */ lis r5, lbl_80540640@ha +/* 8036B110 00368070 38 00 00 04 */ li r0, 4 +/* 8036B114 00368074 38 E5 06 40 */ addi r7, r5, lbl_80540640@l +/* 8036B118 00368078 39 00 00 00 */ li r8, 0 +/* 8036B11C 0036807C 7C E5 3B 78 */ mr r5, r7 +/* 8036B120 00368080 7C 09 03 A6 */ mtctr r0 +lbl_8036B124: +/* 8036B124 00368084 88 05 00 00 */ lbz r0, 0(r5) +/* 8036B128 00368088 28 00 00 00 */ cmplwi r0, 0 +/* 8036B12C 0036808C 40 82 00 F8 */ bne lbl_8036B224 +/* 8036B130 00368090 88 05 00 01 */ lbz r0, 1(r5) +/* 8036B134 00368094 7C 04 00 00 */ cmpw r4, r0 +/* 8036B138 00368098 40 82 00 EC */ bne lbl_8036B224 +/* 8036B13C 0036809C 3C 80 80 54 */ lis r4, lbl_80540640@ha +/* 8036B140 003680A0 38 C4 06 40 */ addi r6, r4, lbl_80540640@l +lbl_8036B144: +/* 8036B144 003680A4 80 A6 03 D0 */ lwz r5, 0x3d0(r6) +/* 8036B148 003680A8 3C 05 00 01 */ addis r0, r5, 1 +/* 8036B14C 003680AC 38 85 00 01 */ addi r4, r5, 1 +/* 8036B150 003680B0 28 00 FF FF */ cmplwi r0, 0xffff +/* 8036B154 003680B4 90 86 03 D0 */ stw r4, 0x3d0(r6) +/* 8036B158 003680B8 7C A9 2B 78 */ mr r9, r5 +/* 8036B15C 003680BC 40 82 00 10 */ bne lbl_8036B16C +/* 8036B160 003680C0 38 04 00 01 */ addi r0, r4, 1 +/* 8036B164 003680C4 7C 89 23 78 */ mr r9, r4 +/* 8036B168 003680C8 90 06 03 D0 */ stw r0, 0x3d0(r6) +lbl_8036B16C: +/* 8036B16C 003680CC 88 07 00 00 */ lbz r0, 0(r7) +/* 8036B170 003680D0 38 A0 00 00 */ li r5, 0 +/* 8036B174 003680D4 28 00 00 00 */ cmplwi r0, 0 +/* 8036B178 003680D8 41 82 00 10 */ beq lbl_8036B188 +/* 8036B17C 003680DC 80 07 00 04 */ lwz r0, 4(r7) +/* 8036B180 003680E0 7C 09 00 40 */ cmplw r9, r0 +/* 8036B184 003680E4 41 82 00 64 */ beq lbl_8036B1E8 +lbl_8036B188: +/* 8036B188 003680E8 38 87 00 F4 */ addi r4, r7, 0xf4 +/* 8036B18C 003680EC 38 A0 00 01 */ li r5, 1 +/* 8036B190 003680F0 88 07 00 F4 */ lbz r0, 0xf4(r7) +/* 8036B194 003680F4 28 00 00 00 */ cmplwi r0, 0 +/* 8036B198 003680F8 41 82 00 10 */ beq lbl_8036B1A8 +/* 8036B19C 003680FC 80 04 00 04 */ lwz r0, 4(r4) +/* 8036B1A0 00368100 7C 09 00 40 */ cmplw r9, r0 +/* 8036B1A4 00368104 41 82 00 44 */ beq lbl_8036B1E8 +lbl_8036B1A8: +/* 8036B1A8 00368108 8C 04 00 F4 */ lbzu r0, 0xf4(r4) +/* 8036B1AC 0036810C 38 A0 00 02 */ li r5, 2 +/* 8036B1B0 00368110 28 00 00 00 */ cmplwi r0, 0 +/* 8036B1B4 00368114 41 82 00 10 */ beq lbl_8036B1C4 +/* 8036B1B8 00368118 80 04 00 04 */ lwz r0, 4(r4) +/* 8036B1BC 0036811C 7C 09 00 40 */ cmplw r9, r0 +/* 8036B1C0 00368120 41 82 00 28 */ beq lbl_8036B1E8 +lbl_8036B1C4: +/* 8036B1C4 00368124 88 04 00 F4 */ lbz r0, 0xf4(r4) +/* 8036B1C8 00368128 38 A0 00 03 */ li r5, 3 +/* 8036B1CC 0036812C 38 84 00 F4 */ addi r4, r4, 0xf4 +/* 8036B1D0 00368130 28 00 00 00 */ cmplwi r0, 0 +/* 8036B1D4 00368134 41 82 00 10 */ beq lbl_8036B1E4 +/* 8036B1D8 00368138 80 04 00 04 */ lwz r0, 4(r4) +/* 8036B1DC 0036813C 7C 09 00 40 */ cmplw r9, r0 +/* 8036B1E0 00368140 41 82 00 08 */ beq lbl_8036B1E8 +lbl_8036B1E4: +/* 8036B1E4 00368144 38 A0 00 04 */ li r5, 4 +lbl_8036B1E8: +/* 8036B1E8 00368148 28 05 00 04 */ cmplwi r5, 4 +/* 8036B1EC 0036814C 40 82 FF 58 */ bne lbl_8036B144 +/* 8036B1F0 00368150 1C C8 00 F4 */ mulli r6, r8, 0xf4 +/* 8036B1F4 00368154 3C 80 80 54 */ lis r4, lbl_80540640@ha +/* 8036B1F8 00368158 38 A0 00 01 */ li r5, 1 +/* 8036B1FC 0036815C 38 04 06 40 */ addi r0, r4, lbl_80540640@l +/* 8036B200 00368160 7C 80 32 14 */ add r4, r0, r6 +/* 8036B204 00368164 38 00 00 00 */ li r0, 0 +/* 8036B208 00368168 98 A4 00 00 */ stb r5, 0(r4) +/* 8036B20C 0036816C 91 24 00 04 */ stw r9, 4(r4) +/* 8036B210 00368170 90 04 00 08 */ stw r0, 8(r4) +/* 8036B214 00368174 90 04 00 0C */ stw r0, 0xc(r4) +/* 8036B218 00368178 90 83 00 00 */ stw r4, 0(r3) +/* 8036B21C 0036817C 7D 23 4B 78 */ mr r3, r9 +/* 8036B220 00368180 4E 80 00 20 */ blr +lbl_8036B224: +/* 8036B224 00368184 38 A5 00 F4 */ addi r5, r5, 0xf4 +/* 8036B228 00368188 39 08 00 01 */ addi r8, r8, 1 +/* 8036B22C 0036818C 42 00 FE F8 */ bdnz lbl_8036B124 +/* 8036B230 00368190 38 60 FF FF */ li r3, -1 +/* 8036B234 00368194 4E 80 00 20 */ blr + +.global CloseFiles__10SDSPStreamFv +CloseFiles__10SDSPStreamFv: +/* 8036B238 00368198 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8036B23C 0036819C 7C 08 02 A6 */ mflr r0 +/* 8036B240 003681A0 90 01 00 14 */ stw r0, 0x14(r1) +/* 8036B244 003681A4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8036B248 003681A8 7C 7F 1B 78 */ mr r31, r3 +/* 8036B24C 003681AC 38 7F 00 50 */ addi r3, r31, 0x50 +/* 8036B250 003681B0 48 00 64 FD */ bl DVDClose +/* 8036B254 003681B4 38 7F 00 8C */ addi r3, r31, 0x8c +/* 8036B258 003681B8 48 00 64 F5 */ bl DVDClose +/* 8036B25C 003681BC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8036B260 003681C0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8036B264 003681C4 7C 08 03 A6 */ mtlr r0 +/* 8036B268 003681C8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8036B26C 003681CC 4E 80 00 20 */ blr + +.global OpenFiles__10SDSPStreamFPCc +OpenFiles__10SDSPStreamFPCc: +/* 8036B270 003681D0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8036B274 003681D4 7C 08 02 A6 */ mflr r0 +/* 8036B278 003681D8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8036B27C 003681DC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8036B280 003681E0 7C 9F 23 78 */ mr r31, r4 +/* 8036B284 003681E4 38 9F 00 50 */ addi r4, r31, 0x50 +/* 8036B288 003681E8 93 C1 00 08 */ stw r30, 8(r1) +/* 8036B28C 003681EC 7C 7E 1B 78 */ mr r30, r3 +/* 8036B290 003681F0 48 00 63 F5 */ bl DVDOpen +/* 8036B294 003681F4 7F C3 F3 78 */ mr r3, r30 +/* 8036B298 003681F8 38 9F 00 8C */ addi r4, r31, 0x8c +/* 8036B29C 003681FC 48 00 63 E9 */ bl DVDOpen +/* 8036B2A0 00368200 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8036B2A4 00368204 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8036B2A8 00368208 83 C1 00 08 */ lwz r30, 8(r1) +/* 8036B2AC 0036820C 7C 08 03 A6 */ mtlr r0 +/* 8036B2B0 00368210 38 21 00 10 */ addi r1, r1, 0x10 +/* 8036B2B4 00368214 4E 80 00 20 */ blr diff --git a/asm/Kyoto/Audio/g721.s b/asm/Kyoto/Audio/g721.s new file mode 100644 index 00000000..1fadedee --- /dev/null +++ b/asm/Kyoto/Audio/g721.s @@ -0,0 +1,698 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global g721_decoder__FiP10g72x_state +g721_decoder__FiP10g72x_state: +/* 8036B2B8 00368218 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8036B2BC 0036821C 7C 08 02 A6 */ mflr r0 +/* 8036B2C0 00368220 3C A0 80 3F */ lis r5, lbl_803EF840@ha +/* 8036B2C4 00368224 90 01 00 34 */ stw r0, 0x34(r1) +/* 8036B2C8 00368228 BF 21 00 14 */ stmw r25, 0x14(r1) +/* 8036B2CC 0036822C 7C 9F 23 78 */ mr r31, r4 +/* 8036B2D0 00368230 7C 7E 1B 78 */ mr r30, r3 +/* 8036B2D4 00368234 3B A5 F8 40 */ addi r29, r5, lbl_803EF840@l +/* 8036B2D8 00368238 7F E3 FB 78 */ mr r3, r31 +/* 8036B2DC 0036823C 48 00 07 55 */ bl predictor_zero__FP10g72x_state +/* 8036B2E0 00368240 7C 7B 07 34 */ extsh r27, r3 +/* 8036B2E4 00368244 7F E3 FB 78 */ mr r3, r31 +/* 8036B2E8 00368248 7F 60 0E 70 */ srawi r0, r27, 1 +/* 8036B2EC 0036824C 7C 1A 07 34 */ extsh r26, r0 +/* 8036B2F0 00368250 48 00 06 E9 */ bl predictor_pole__FP10g72x_state +/* 8036B2F4 00368254 7C 1B 1A 14 */ add r0, r27, r3 +/* 8036B2F8 00368258 7F E3 FB 78 */ mr r3, r31 +/* 8036B2FC 0036825C 7C 00 07 34 */ extsh r0, r0 +/* 8036B300 00368260 7C 00 0E 70 */ srawi r0, r0, 1 +/* 8036B304 00368264 7C 19 07 34 */ extsh r25, r0 +/* 8036B308 00368268 48 00 06 7D */ bl step_size__FP10g72x_state +/* 8036B30C 0036826C 57 DC 0E FC */ rlwinm r28, r30, 1, 0x1b, 0x1e +/* 8036B310 00368270 38 9D 00 20 */ addi r4, r29, 0x20 +/* 8036B314 00368274 7C 65 07 34 */ extsh r5, r3 +/* 8036B318 00368278 7C 84 E2 AE */ lhax r4, r4, r28 +/* 8036B31C 0036827C 7C BB 2B 78 */ mr r27, r5 +/* 8036B320 00368280 57 C3 07 38 */ rlwinm r3, r30, 0, 0x1c, 0x1c +/* 8036B324 00368284 48 00 06 05 */ bl reconstruct__Fiii +/* 8036B328 00368288 7C 67 07 35 */ extsh. r7, r3 +/* 8036B32C 0036828C 7C 19 3A 14 */ add r0, r25, r7 +/* 8036B330 00368290 40 80 00 0C */ bge lbl_8036B33C +/* 8036B334 00368294 54 E0 04 BE */ clrlwi r0, r7, 0x12 +/* 8036B338 00368298 7C 00 C8 50 */ subf r0, r0, r25 +lbl_8036B33C: +/* 8036B33C 0036829C 7C 1E 07 34 */ extsh r30, r0 +/* 8036B340 003682A0 38 9D 00 40 */ addi r4, r29, 0x40 +/* 8036B344 003682A4 7C A4 E2 AE */ lhax r5, r4, r28 +/* 8036B348 003682A8 7C 19 F0 50 */ subf r0, r25, r30 +/* 8036B34C 003682AC 38 7D 00 60 */ addi r3, r29, 0x60 +/* 8036B350 003682B0 7F 64 DB 78 */ mr r4, r27 +/* 8036B354 003682B4 7C 1A 02 14 */ add r0, r26, r0 +/* 8036B358 003682B8 7C C3 E2 AE */ lhax r6, r3, r28 +/* 8036B35C 003682BC 7C 09 07 34 */ extsh r9, r0 +/* 8036B360 003682C0 7F C8 F3 78 */ mr r8, r30 +/* 8036B364 003682C4 7F EA FB 78 */ mr r10, r31 +/* 8036B368 003682C8 54 A5 28 34 */ slwi r5, r5, 5 +/* 8036B36C 003682CC 38 60 00 04 */ li r3, 4 +/* 8036B370 003682D0 48 00 00 1D */ bl update__FiiiiiiiP10g72x_state +/* 8036B374 003682D4 57 C3 10 3A */ slwi r3, r30, 2 +/* 8036B378 003682D8 BB 21 00 14 */ lmw r25, 0x14(r1) +/* 8036B37C 003682DC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8036B380 003682E0 7C 08 03 A6 */ mtlr r0 +/* 8036B384 003682E4 38 21 00 30 */ addi r1, r1, 0x30 +/* 8036B388 003682E8 4E 80 00 20 */ blr + +.global update__FiiiiiiiP10g72x_state +update__FiiiiiiiP10g72x_state: +/* 8036B38C 003682EC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8036B390 003682F0 7C 08 02 A6 */ mflr r0 +/* 8036B394 003682F4 90 01 00 34 */ stw r0, 0x34(r1) +/* 8036B398 003682F8 BE E1 00 0C */ stmw r23, 0xc(r1) +/* 8036B39C 003682FC 7C FA 3B 78 */ mr r26, r7 +/* 8036B3A0 00368300 55 27 0F FE */ srwi r7, r9, 0x1f +/* 8036B3A4 00368304 7C 98 23 78 */ mr r24, r4 +/* 8036B3A8 00368308 7C D9 33 78 */ mr r25, r6 +/* 8036B3AC 0036830C 7D 5C 53 78 */ mr r28, r10 +/* 8036B3B0 00368310 7D 1B 43 78 */ mr r27, r8 +/* 8036B3B4 00368314 7C FD 07 34 */ extsh r29, r7 +/* 8036B3B8 00368318 80 0A 00 00 */ lwz r0, 0(r10) +/* 8036B3BC 0036831C 7C 04 7E 70 */ srawi r4, r0, 0xf +/* 8036B3C0 00368320 54 00 B6 FE */ rlwinm r0, r0, 0x16, 0x1b, 0x1f +/* 8036B3C4 00368324 7C 86 07 34 */ extsh r6, r4 +/* 8036B3C8 00368328 7C 04 07 34 */ extsh r4, r0 +/* 8036B3CC 0036832C 38 04 00 20 */ addi r0, r4, 0x20 +/* 8036B3D0 00368330 2C 06 00 09 */ cmpwi r6, 9 +/* 8036B3D4 00368334 7C 04 30 30 */ slw r4, r0, r6 +/* 8036B3D8 00368338 7C 86 07 34 */ extsh r6, r4 +/* 8036B3DC 0036833C 57 40 04 7E */ clrlwi r0, r26, 0x11 +/* 8036B3E0 00368340 38 80 7C 00 */ li r4, 0x7c00 +/* 8036B3E4 00368344 41 81 00 08 */ bgt lbl_8036B3EC +/* 8036B3E8 00368348 7C C4 33 78 */ mr r4, r6 +lbl_8036B3EC: +/* 8036B3EC 0036834C 7C 87 07 34 */ extsh r7, r4 +/* 8036B3F0 00368350 88 9C 00 30 */ lbz r4, 0x30(r28) +/* 8036B3F4 00368354 7C E6 0E 70 */ srawi r6, r7, 1 +/* 8036B3F8 00368358 7C C7 32 14 */ add r6, r7, r6 +/* 8036B3FC 0036835C 7C 84 07 75 */ extsb. r4, r4 +/* 8036B400 00368360 7C C4 0E 70 */ srawi r4, r6, 1 +/* 8036B404 00368364 7C 86 07 34 */ extsh r6, r4 +/* 8036B408 00368368 40 82 00 0C */ bne lbl_8036B414 +/* 8036B40C 0036836C 3B C0 00 00 */ li r30, 0 +/* 8036B410 00368370 48 00 00 1C */ b lbl_8036B42C +lbl_8036B414: +/* 8036B414 00368374 7C 04 07 34 */ extsh r4, r0 +/* 8036B418 00368378 7C 04 30 00 */ cmpw r4, r6 +/* 8036B41C 0036837C 41 81 00 0C */ bgt lbl_8036B428 +/* 8036B420 00368380 3B C0 00 00 */ li r30, 0 +/* 8036B424 00368384 48 00 00 08 */ b lbl_8036B42C +lbl_8036B428: +/* 8036B428 00368388 3B C0 00 01 */ li r30, 1 +lbl_8036B42C: +/* 8036B42C 0036838C 7C 98 28 50 */ subf r4, r24, r5 +/* 8036B430 00368390 7C 84 2E 70 */ srawi r4, r4, 5 +/* 8036B434 00368394 7C 98 22 14 */ add r4, r24, r4 +/* 8036B438 00368398 B0 9C 00 04 */ sth r4, 4(r28) +/* 8036B43C 0036839C A8 9C 00 04 */ lha r4, 4(r28) +/* 8036B440 003683A0 2C 04 02 20 */ cmpwi r4, 0x220 +/* 8036B444 003683A4 40 80 00 10 */ bge lbl_8036B454 +/* 8036B448 003683A8 38 80 02 20 */ li r4, 0x220 +/* 8036B44C 003683AC B0 9C 00 04 */ sth r4, 4(r28) +/* 8036B450 003683B0 48 00 00 14 */ b lbl_8036B464 +lbl_8036B454: +/* 8036B454 003683B4 2C 04 14 00 */ cmpwi r4, 0x1400 +/* 8036B458 003683B8 40 81 00 0C */ ble lbl_8036B464 +/* 8036B45C 003683BC 38 80 14 00 */ li r4, 0x1400 +/* 8036B460 003683C0 B0 9C 00 04 */ sth r4, 4(r28) +lbl_8036B464: +/* 8036B464 003683C4 80 DC 00 00 */ lwz r6, 0(r28) +/* 8036B468 003683C8 7F C4 07 74 */ extsb r4, r30 +/* 8036B46C 003683CC A8 BC 00 04 */ lha r5, 4(r28) +/* 8036B470 003683D0 2C 04 00 01 */ cmpwi r4, 1 +/* 8036B474 003683D4 7C 86 00 D0 */ neg r4, r6 +/* 8036B478 003683D8 7C 84 36 70 */ srawi r4, r4, 6 +/* 8036B47C 003683DC 7C 84 32 14 */ add r4, r4, r6 +/* 8036B480 003683E0 7C 85 22 14 */ add r4, r5, r4 +/* 8036B484 003683E4 90 9C 00 00 */ stw r4, 0(r28) +/* 8036B488 003683E8 40 82 00 2C */ bne lbl_8036B4B4 +/* 8036B48C 003683EC 38 60 00 00 */ li r3, 0 +/* 8036B490 003683F0 B0 7C 00 0C */ sth r3, 0xc(r28) +/* 8036B494 003683F4 B0 7C 00 0E */ sth r3, 0xe(r28) +/* 8036B498 003683F8 B0 7C 00 10 */ sth r3, 0x10(r28) +/* 8036B49C 003683FC B0 7C 00 12 */ sth r3, 0x12(r28) +/* 8036B4A0 00368400 B0 7C 00 14 */ sth r3, 0x14(r28) +/* 8036B4A4 00368404 B0 7C 00 16 */ sth r3, 0x16(r28) +/* 8036B4A8 00368408 B0 7C 00 18 */ sth r3, 0x18(r28) +/* 8036B4AC 0036840C B0 7C 00 1A */ sth r3, 0x1a(r28) +/* 8036B4B0 00368410 48 00 02 10 */ b lbl_8036B6C0 +lbl_8036B4B4: +/* 8036B4B4 00368414 A8 DC 00 0E */ lha r6, 0xe(r28) +/* 8036B4B8 00368418 2C 09 00 00 */ cmpwi r9, 0 +/* 8036B4BC 0036841C A8 BC 00 1C */ lha r5, 0x1c(r28) +/* 8036B4C0 00368420 7C C4 3E 70 */ srawi r4, r6, 7 +/* 8036B4C4 00368424 7F A5 2A 78 */ xor r5, r29, r5 +/* 8036B4C8 00368428 7C 84 30 50 */ subf r4, r4, r6 +/* 8036B4CC 0036842C 7C A6 07 34 */ extsh r6, r5 +/* 8036B4D0 00368430 7C 9F 07 34 */ extsh r31, r4 +/* 8036B4D4 00368434 41 82 00 AC */ beq lbl_8036B580 +/* 8036B4D8 00368438 7C C4 07 35 */ extsh. r4, r6 +/* 8036B4DC 0036843C 41 82 00 0C */ beq lbl_8036B4E8 +/* 8036B4E0 00368440 A8 9C 00 0C */ lha r4, 0xc(r28) +/* 8036B4E4 00368444 48 00 00 0C */ b lbl_8036B4F0 +lbl_8036B4E8: +/* 8036B4E8 00368448 A8 9C 00 0C */ lha r4, 0xc(r28) +/* 8036B4EC 0036844C 7C 84 00 D0 */ neg r4, r4 +lbl_8036B4F0: +/* 8036B4F0 00368450 7C 84 07 34 */ extsh r4, r4 +/* 8036B4F4 00368454 2C 04 E0 01 */ cmpwi r4, -8191 +/* 8036B4F8 00368458 40 80 00 0C */ bge lbl_8036B504 +/* 8036B4FC 0036845C 3B FF FF 00 */ addi r31, r31, -256 +/* 8036B500 00368460 48 00 00 20 */ b lbl_8036B520 +lbl_8036B504: +/* 8036B504 00368464 2C 04 1F FF */ cmpwi r4, 0x1fff +/* 8036B508 00368468 40 81 00 0C */ ble lbl_8036B514 +/* 8036B50C 0036846C 3B FF 00 FF */ addi r31, r31, 0xff +/* 8036B510 00368470 48 00 00 10 */ b lbl_8036B520 +lbl_8036B514: +/* 8036B514 00368474 7C 84 2E 70 */ srawi r4, r4, 5 +/* 8036B518 00368478 7C 9F 22 14 */ add r4, r31, r4 +/* 8036B51C 0036847C 7C 9F 07 34 */ extsh r31, r4 +lbl_8036B520: +/* 8036B520 00368480 A8 9C 00 1E */ lha r4, 0x1e(r28) +/* 8036B524 00368484 7F A4 22 79 */ xor. r4, r29, r4 +/* 8036B528 00368488 41 82 00 30 */ beq lbl_8036B558 +/* 8036B52C 0036848C 7F E4 07 34 */ extsh r4, r31 +/* 8036B530 00368490 2C 04 D0 80 */ cmpwi r4, -12160 +/* 8036B534 00368494 41 81 00 0C */ bgt lbl_8036B540 +/* 8036B538 00368498 3B E0 D0 00 */ li r31, -12288 +/* 8036B53C 0036849C 48 00 00 44 */ b lbl_8036B580 +lbl_8036B540: +/* 8036B540 003684A0 2C 04 30 80 */ cmpwi r4, 0x3080 +/* 8036B544 003684A4 41 80 00 0C */ blt lbl_8036B550 +/* 8036B548 003684A8 3B E0 30 00 */ li r31, 0x3000 +/* 8036B54C 003684AC 48 00 00 34 */ b lbl_8036B580 +lbl_8036B550: +/* 8036B550 003684B0 3B FF FF 80 */ addi r31, r31, -128 +/* 8036B554 003684B4 48 00 00 2C */ b lbl_8036B580 +lbl_8036B558: +/* 8036B558 003684B8 7F E4 07 34 */ extsh r4, r31 +/* 8036B55C 003684BC 2C 04 CF 80 */ cmpwi r4, -12416 +/* 8036B560 003684C0 41 81 00 0C */ bgt lbl_8036B56C +/* 8036B564 003684C4 3B E0 D0 00 */ li r31, -12288 +/* 8036B568 003684C8 48 00 00 18 */ b lbl_8036B580 +lbl_8036B56C: +/* 8036B56C 003684CC 2C 04 2F 80 */ cmpwi r4, 0x2f80 +/* 8036B570 003684D0 41 80 00 0C */ blt lbl_8036B57C +/* 8036B574 003684D4 3B E0 30 00 */ li r31, 0x3000 +/* 8036B578 003684D8 48 00 00 08 */ b lbl_8036B580 +lbl_8036B57C: +/* 8036B57C 003684DC 3B FF 00 80 */ addi r31, r31, 0x80 +lbl_8036B580: +/* 8036B580 003684E0 B3 FC 00 0E */ sth r31, 0xe(r28) +/* 8036B584 003684E4 2C 09 00 00 */ cmpwi r9, 0 +/* 8036B588 003684E8 A8 BC 00 0C */ lha r5, 0xc(r28) +/* 8036B58C 003684EC 7C A4 46 70 */ srawi r4, r5, 8 +/* 8036B590 003684F0 7C 84 28 50 */ subf r4, r4, r5 +/* 8036B594 003684F4 B0 9C 00 0C */ sth r4, 0xc(r28) +/* 8036B598 003684F8 41 82 00 28 */ beq lbl_8036B5C0 +/* 8036B59C 003684FC 7C C4 07 35 */ extsh. r4, r6 +/* 8036B5A0 00368500 40 82 00 14 */ bne lbl_8036B5B4 +/* 8036B5A4 00368504 A8 9C 00 0C */ lha r4, 0xc(r28) +/* 8036B5A8 00368508 38 84 00 C0 */ addi r4, r4, 0xc0 +/* 8036B5AC 0036850C B0 9C 00 0C */ sth r4, 0xc(r28) +/* 8036B5B0 00368510 48 00 00 10 */ b lbl_8036B5C0 +lbl_8036B5B4: +/* 8036B5B4 00368514 A8 9C 00 0C */ lha r4, 0xc(r28) +/* 8036B5B8 00368518 38 84 FF 40 */ addi r4, r4, -192 +/* 8036B5BC 0036851C B0 9C 00 0C */ sth r4, 0xc(r28) +lbl_8036B5C0: +/* 8036B5C0 00368520 20 9F 3C 00 */ subfic r4, r31, 0x3c00 +/* 8036B5C4 00368524 A8 BC 00 0C */ lha r5, 0xc(r28) +/* 8036B5C8 00368528 7C 86 07 34 */ extsh r6, r4 +/* 8036B5CC 0036852C 7C 86 00 D0 */ neg r4, r6 +/* 8036B5D0 00368530 7C 05 20 00 */ cmpw r5, r4 +/* 8036B5D4 00368534 40 80 00 0C */ bge lbl_8036B5E0 +/* 8036B5D8 00368538 B0 9C 00 0C */ sth r4, 0xc(r28) +/* 8036B5DC 0036853C 48 00 00 10 */ b lbl_8036B5EC +lbl_8036B5E0: +/* 8036B5E0 00368540 7C 05 30 00 */ cmpw r5, r6 +/* 8036B5E4 00368544 40 81 00 08 */ ble lbl_8036B5EC +/* 8036B5E8 00368548 B0 DC 00 0C */ sth r6, 0xc(r28) +lbl_8036B5EC: +/* 8036B5EC 0036854C 38 80 00 03 */ li r4, 3 +/* 8036B5F0 00368550 7F 86 E3 78 */ mr r6, r28 +/* 8036B5F4 00368554 38 E0 00 00 */ li r7, 0 +/* 8036B5F8 00368558 7C 89 03 A6 */ mtctr r4 +lbl_8036B5FC: +/* 8036B5FC 0036855C 2C 03 00 05 */ cmpwi r3, 5 +/* 8036B600 00368560 40 82 00 18 */ bne lbl_8036B618 +/* 8036B604 00368564 A8 A6 00 10 */ lha r5, 0x10(r6) +/* 8036B608 00368568 7C A4 4E 70 */ srawi r4, r5, 9 +/* 8036B60C 0036856C 7C 84 28 50 */ subf r4, r4, r5 +/* 8036B610 00368570 B0 86 00 10 */ sth r4, 0x10(r6) +/* 8036B614 00368574 48 00 00 14 */ b lbl_8036B628 +lbl_8036B618: +/* 8036B618 00368578 A8 A6 00 10 */ lha r5, 0x10(r6) +/* 8036B61C 0036857C 7C A4 46 70 */ srawi r4, r5, 8 +/* 8036B620 00368580 7C 84 28 50 */ subf r4, r4, r5 +/* 8036B624 00368584 B0 86 00 10 */ sth r4, 0x10(r6) +lbl_8036B628: +/* 8036B628 00368588 2C 00 00 00 */ cmpwi r0, 0 +/* 8036B62C 0036858C 41 82 00 2C */ beq lbl_8036B658 +/* 8036B630 00368590 A8 86 00 20 */ lha r4, 0x20(r6) +/* 8036B634 00368594 7F 44 22 79 */ xor. r4, r26, r4 +/* 8036B638 00368598 41 80 00 14 */ blt lbl_8036B64C +/* 8036B63C 0036859C A8 86 00 10 */ lha r4, 0x10(r6) +/* 8036B640 003685A0 38 84 00 80 */ addi r4, r4, 0x80 +/* 8036B644 003685A4 B0 86 00 10 */ sth r4, 0x10(r6) +/* 8036B648 003685A8 48 00 00 10 */ b lbl_8036B658 +lbl_8036B64C: +/* 8036B64C 003685AC A8 86 00 10 */ lha r4, 0x10(r6) +/* 8036B650 003685B0 38 84 FF 80 */ addi r4, r4, -128 +/* 8036B654 003685B4 B0 86 00 10 */ sth r4, 0x10(r6) +lbl_8036B658: +/* 8036B658 003685B8 2C 03 00 05 */ cmpwi r3, 5 +/* 8036B65C 003685BC 40 82 00 18 */ bne lbl_8036B674 +/* 8036B660 003685C0 A8 A6 00 12 */ lha r5, 0x12(r6) +/* 8036B664 003685C4 7C A4 4E 70 */ srawi r4, r5, 9 +/* 8036B668 003685C8 7C 84 28 50 */ subf r4, r4, r5 +/* 8036B66C 003685CC B0 86 00 12 */ sth r4, 0x12(r6) +/* 8036B670 003685D0 48 00 00 14 */ b lbl_8036B684 +lbl_8036B674: +/* 8036B674 003685D4 A8 A6 00 12 */ lha r5, 0x12(r6) +/* 8036B678 003685D8 7C A4 46 70 */ srawi r4, r5, 8 +/* 8036B67C 003685DC 7C 84 28 50 */ subf r4, r4, r5 +/* 8036B680 003685E0 B0 86 00 12 */ sth r4, 0x12(r6) +lbl_8036B684: +/* 8036B684 003685E4 2C 00 00 00 */ cmpwi r0, 0 +/* 8036B688 003685E8 41 82 00 2C */ beq lbl_8036B6B4 +/* 8036B68C 003685EC A8 86 00 22 */ lha r4, 0x22(r6) +/* 8036B690 003685F0 7F 44 22 79 */ xor. r4, r26, r4 +/* 8036B694 003685F4 41 80 00 14 */ blt lbl_8036B6A8 +/* 8036B698 003685F8 A8 86 00 12 */ lha r4, 0x12(r6) +/* 8036B69C 003685FC 38 84 00 80 */ addi r4, r4, 0x80 +/* 8036B6A0 00368600 B0 86 00 12 */ sth r4, 0x12(r6) +/* 8036B6A4 00368604 48 00 00 10 */ b lbl_8036B6B4 +lbl_8036B6A8: +/* 8036B6A8 00368608 A8 86 00 12 */ lha r4, 0x12(r6) +/* 8036B6AC 0036860C 38 84 FF 80 */ addi r4, r4, -128 +/* 8036B6B0 00368610 B0 86 00 12 */ sth r4, 0x12(r6) +lbl_8036B6B4: +/* 8036B6B4 00368614 38 C6 00 04 */ addi r6, r6, 4 +/* 8036B6B8 00368618 38 E7 00 01 */ addi r7, r7, 1 +/* 8036B6BC 0036861C 42 00 FF 40 */ bdnz lbl_8036B5FC +lbl_8036B6C0: +/* 8036B6C0 00368620 A8 9C 00 28 */ lha r4, 0x28(r28) +/* 8036B6C4 00368624 7C 03 07 35 */ extsh. r3, r0 +/* 8036B6C8 00368628 B0 9C 00 2A */ sth r4, 0x2a(r28) +/* 8036B6CC 0036862C A8 9C 00 26 */ lha r4, 0x26(r28) +/* 8036B6D0 00368630 B0 9C 00 28 */ sth r4, 0x28(r28) +/* 8036B6D4 00368634 A8 9C 00 24 */ lha r4, 0x24(r28) +/* 8036B6D8 00368638 B0 9C 00 26 */ sth r4, 0x26(r28) +/* 8036B6DC 0036863C A8 9C 00 22 */ lha r4, 0x22(r28) +/* 8036B6E0 00368640 B0 9C 00 24 */ sth r4, 0x24(r28) +/* 8036B6E4 00368644 A8 9C 00 20 */ lha r4, 0x20(r28) +/* 8036B6E8 00368648 B0 9C 00 22 */ sth r4, 0x22(r28) +/* 8036B6EC 0036864C 40 82 00 20 */ bne lbl_8036B70C +/* 8036B6F0 00368650 2C 1A 00 00 */ cmpwi r26, 0 +/* 8036B6F4 00368654 3C 60 00 01 */ lis r3, 0x0000FC20@ha +/* 8036B6F8 00368658 38 03 FC 20 */ addi r0, r3, 0x0000FC20@l +/* 8036B6FC 0036865C 41 80 00 08 */ blt lbl_8036B704 +/* 8036B700 00368660 38 00 00 20 */ li r0, 0x20 +lbl_8036B704: +/* 8036B704 00368664 B0 1C 00 20 */ sth r0, 0x20(r28) +/* 8036B708 00368668 48 00 00 54 */ b lbl_8036B75C +lbl_8036B70C: +/* 8036B70C 0036866C 3C 60 80 3F */ lis r3, lbl_803EF840@ha +/* 8036B710 00368670 7C 17 07 34 */ extsh r23, r0 +/* 8036B714 00368674 38 83 F8 40 */ addi r4, r3, lbl_803EF840@l +/* 8036B718 00368678 38 A0 00 0F */ li r5, 0xf +/* 8036B71C 0036867C 7E E3 BB 78 */ mr r3, r23 +/* 8036B720 00368680 48 00 04 E5 */ bl quan__FiPsi +/* 8036B724 00368684 2C 1A 00 00 */ cmpwi r26, 0 +/* 8036B728 00368688 7C 65 07 34 */ extsh r5, r3 +/* 8036B72C 0036868C 41 80 00 18 */ blt lbl_8036B744 +/* 8036B730 00368690 56 E0 30 32 */ slwi r0, r23, 6 +/* 8036B734 00368694 54 A3 30 32 */ slwi r3, r5, 6 +/* 8036B738 00368698 7C 00 2E 30 */ sraw r0, r0, r5 +/* 8036B73C 0036869C 7C 03 02 14 */ add r0, r3, r0 +/* 8036B740 003686A0 48 00 00 18 */ b lbl_8036B758 +lbl_8036B744: +/* 8036B744 003686A4 56 E0 30 32 */ slwi r0, r23, 6 +/* 8036B748 003686A8 54 A4 30 32 */ slwi r4, r5, 6 +/* 8036B74C 003686AC 7C 03 2E 30 */ sraw r3, r0, r5 +/* 8036B750 003686B0 38 03 FC 00 */ addi r0, r3, -1024 +/* 8036B754 003686B4 7C 04 02 14 */ add r0, r4, r0 +lbl_8036B758: +/* 8036B758 003686B8 B0 1C 00 20 */ sth r0, 0x20(r28) +lbl_8036B75C: +/* 8036B75C 003686BC A8 1C 00 2C */ lha r0, 0x2c(r28) +/* 8036B760 003686C0 2C 1B 00 00 */ cmpwi r27, 0 +/* 8036B764 003686C4 B0 1C 00 2E */ sth r0, 0x2e(r28) +/* 8036B768 003686C8 40 82 00 10 */ bne lbl_8036B778 +/* 8036B76C 003686CC 38 00 00 20 */ li r0, 0x20 +/* 8036B770 003686D0 B0 1C 00 2C */ sth r0, 0x2c(r28) +/* 8036B774 003686D4 48 00 00 84 */ b lbl_8036B7F8 +lbl_8036B778: +/* 8036B778 003686D8 40 81 00 34 */ ble lbl_8036B7AC +/* 8036B77C 003686DC 3C 80 80 3F */ lis r4, lbl_803EF840@ha +/* 8036B780 003686E0 7F 63 DB 78 */ mr r3, r27 +/* 8036B784 003686E4 38 84 F8 40 */ addi r4, r4, lbl_803EF840@l +/* 8036B788 003686E8 38 A0 00 0F */ li r5, 0xf +/* 8036B78C 003686EC 48 00 04 79 */ bl quan__FiPsi +/* 8036B790 003686F0 7C 64 07 34 */ extsh r4, r3 +/* 8036B794 003686F4 57 60 30 32 */ slwi r0, r27, 6 +/* 8036B798 003686F8 54 83 30 32 */ slwi r3, r4, 6 +/* 8036B79C 003686FC 7C 00 26 30 */ sraw r0, r0, r4 +/* 8036B7A0 00368700 7C 03 02 14 */ add r0, r3, r0 +/* 8036B7A4 00368704 B0 1C 00 2C */ sth r0, 0x2c(r28) +/* 8036B7A8 00368708 48 00 00 50 */ b lbl_8036B7F8 +lbl_8036B7AC: +/* 8036B7AC 0036870C 2C 1B 80 00 */ cmpwi r27, -32768 +/* 8036B7B0 00368710 40 81 00 40 */ ble lbl_8036B7F0 +/* 8036B7B4 00368714 7C 1B 00 D0 */ neg r0, r27 +/* 8036B7B8 00368718 3C 60 80 3F */ lis r3, lbl_803EF840@ha +/* 8036B7BC 0036871C 7C 1A 07 34 */ extsh r26, r0 +/* 8036B7C0 00368720 38 A0 00 0F */ li r5, 0xf +/* 8036B7C4 00368724 38 83 F8 40 */ addi r4, r3, lbl_803EF840@l +/* 8036B7C8 00368728 7F 43 D3 78 */ mr r3, r26 +/* 8036B7CC 0036872C 48 00 04 39 */ bl quan__FiPsi +/* 8036B7D0 00368730 7C 64 07 34 */ extsh r4, r3 +/* 8036B7D4 00368734 57 40 30 32 */ slwi r0, r26, 6 +/* 8036B7D8 00368738 7C 03 26 30 */ sraw r3, r0, r4 +/* 8036B7DC 0036873C 54 84 30 32 */ slwi r4, r4, 6 +/* 8036B7E0 00368740 38 03 FC 00 */ addi r0, r3, -1024 +/* 8036B7E4 00368744 7C 04 02 14 */ add r0, r4, r0 +/* 8036B7E8 00368748 B0 1C 00 2C */ sth r0, 0x2c(r28) +/* 8036B7EC 0036874C 48 00 00 0C */ b lbl_8036B7F8 +lbl_8036B7F0: +/* 8036B7F0 00368750 38 00 FC 20 */ li r0, -992 +/* 8036B7F4 00368754 B0 1C 00 2C */ sth r0, 0x2c(r28) +lbl_8036B7F8: +/* 8036B7F8 00368758 A8 7C 00 1C */ lha r3, 0x1c(r28) +/* 8036B7FC 0036875C 7F C0 07 74 */ extsb r0, r30 +/* 8036B800 00368760 2C 00 00 01 */ cmpwi r0, 1 +/* 8036B804 00368764 B0 7C 00 1E */ sth r3, 0x1e(r28) +/* 8036B808 00368768 B3 BC 00 1C */ sth r29, 0x1c(r28) +/* 8036B80C 0036876C 40 82 00 10 */ bne lbl_8036B81C +/* 8036B810 00368770 38 00 00 00 */ li r0, 0 +/* 8036B814 00368774 98 1C 00 30 */ stb r0, 0x30(r28) +/* 8036B818 00368778 48 00 00 24 */ b lbl_8036B83C +lbl_8036B81C: +/* 8036B81C 0036877C 7F E0 07 34 */ extsh r0, r31 +/* 8036B820 00368780 2C 00 D2 00 */ cmpwi r0, -11776 +/* 8036B824 00368784 40 80 00 10 */ bge lbl_8036B834 +/* 8036B828 00368788 38 00 00 01 */ li r0, 1 +/* 8036B82C 0036878C 98 1C 00 30 */ stb r0, 0x30(r28) +/* 8036B830 00368790 48 00 00 0C */ b lbl_8036B83C +lbl_8036B834: +/* 8036B834 00368794 38 00 00 00 */ li r0, 0 +/* 8036B838 00368798 98 1C 00 30 */ stb r0, 0x30(r28) +lbl_8036B83C: +/* 8036B83C 0036879C A8 BC 00 06 */ lha r5, 6(r28) +/* 8036B840 003687A0 7F C0 07 74 */ extsb r0, r30 +/* 8036B844 003687A4 2C 00 00 01 */ cmpwi r0, 1 +/* 8036B848 003687A8 57 23 10 3A */ slwi r3, r25, 2 +/* 8036B84C 003687AC 7C 85 C8 50 */ subf r4, r5, r25 +/* 8036B850 003687B0 7C 80 2E 70 */ srawi r0, r4, 5 +/* 8036B854 003687B4 7C 05 02 14 */ add r0, r5, r0 +/* 8036B858 003687B8 B0 1C 00 06 */ sth r0, 6(r28) +/* 8036B85C 003687BC A8 9C 00 08 */ lha r4, 8(r28) +/* 8036B860 003687C0 7C 04 18 50 */ subf r0, r4, r3 +/* 8036B864 003687C4 7C 00 3E 70 */ srawi r0, r0, 7 +/* 8036B868 003687C8 7C 04 02 14 */ add r0, r4, r0 +/* 8036B86C 003687CC B0 1C 00 08 */ sth r0, 8(r28) +/* 8036B870 003687D0 40 82 00 10 */ bne lbl_8036B880 +/* 8036B874 003687D4 38 00 01 00 */ li r0, 0x100 +/* 8036B878 003687D8 B0 1C 00 0A */ sth r0, 0xa(r28) +/* 8036B87C 003687DC 48 00 00 98 */ b lbl_8036B914 +lbl_8036B880: +/* 8036B880 003687E0 2C 18 06 00 */ cmpwi r24, 0x600 +/* 8036B884 003687E4 40 80 00 1C */ bge lbl_8036B8A0 +/* 8036B888 003687E8 A8 7C 00 0A */ lha r3, 0xa(r28) +/* 8036B88C 003687EC 20 03 02 00 */ subfic r0, r3, 0x200 +/* 8036B890 003687F0 7C 00 26 70 */ srawi r0, r0, 4 +/* 8036B894 003687F4 7C 03 02 14 */ add r0, r3, r0 +/* 8036B898 003687F8 B0 1C 00 0A */ sth r0, 0xa(r28) +/* 8036B89C 003687FC 48 00 00 78 */ b lbl_8036B914 +lbl_8036B8A0: +/* 8036B8A0 00368800 88 1C 00 30 */ lbz r0, 0x30(r28) +/* 8036B8A4 00368804 2C 00 00 01 */ cmpwi r0, 1 +/* 8036B8A8 00368808 40 82 00 1C */ bne lbl_8036B8C4 +/* 8036B8AC 0036880C A8 7C 00 0A */ lha r3, 0xa(r28) +/* 8036B8B0 00368810 20 03 02 00 */ subfic r0, r3, 0x200 +/* 8036B8B4 00368814 7C 00 26 70 */ srawi r0, r0, 4 +/* 8036B8B8 00368818 7C 03 02 14 */ add r0, r3, r0 +/* 8036B8BC 0036881C B0 1C 00 0A */ sth r0, 0xa(r28) +/* 8036B8C0 00368820 48 00 00 54 */ b lbl_8036B914 +lbl_8036B8C4: +/* 8036B8C4 00368824 A8 1C 00 06 */ lha r0, 6(r28) +/* 8036B8C8 00368828 A8 7C 00 08 */ lha r3, 8(r28) +/* 8036B8CC 0036882C 54 00 10 3A */ slwi r0, r0, 2 +/* 8036B8D0 00368830 7C 63 00 50 */ subf r3, r3, r0 +/* 8036B8D4 00368834 48 02 15 49 */ bl abs +/* 8036B8D8 00368838 A8 1C 00 08 */ lha r0, 8(r28) +/* 8036B8DC 0036883C 7C 00 1E 70 */ srawi r0, r0, 3 +/* 8036B8E0 00368840 7C 03 00 00 */ cmpw r3, r0 +/* 8036B8E4 00368844 41 80 00 1C */ blt lbl_8036B900 +/* 8036B8E8 00368848 A8 7C 00 0A */ lha r3, 0xa(r28) +/* 8036B8EC 0036884C 20 03 02 00 */ subfic r0, r3, 0x200 +/* 8036B8F0 00368850 7C 00 26 70 */ srawi r0, r0, 4 +/* 8036B8F4 00368854 7C 03 02 14 */ add r0, r3, r0 +/* 8036B8F8 00368858 B0 1C 00 0A */ sth r0, 0xa(r28) +/* 8036B8FC 0036885C 48 00 00 18 */ b lbl_8036B914 +lbl_8036B900: +/* 8036B900 00368860 A8 7C 00 0A */ lha r3, 0xa(r28) +/* 8036B904 00368864 7C 03 00 D0 */ neg r0, r3 +/* 8036B908 00368868 7C 00 26 70 */ srawi r0, r0, 4 +/* 8036B90C 0036886C 7C 03 02 14 */ add r0, r3, r0 +/* 8036B910 00368870 B0 1C 00 0A */ sth r0, 0xa(r28) +lbl_8036B914: +/* 8036B914 00368874 BA E1 00 0C */ lmw r23, 0xc(r1) +/* 8036B918 00368878 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8036B91C 0036887C 7C 08 03 A6 */ mtlr r0 +/* 8036B920 00368880 38 21 00 30 */ addi r1, r1, 0x30 +/* 8036B924 00368884 4E 80 00 20 */ blr + +.global reconstruct__Fiii +reconstruct__Fiii: +/* 8036B928 00368888 7C A0 16 70 */ srawi r0, r5, 2 +/* 8036B92C 0036888C 7C 04 02 14 */ add r0, r4, r0 +/* 8036B930 00368890 7C 00 07 35 */ extsh. r0, r0 +/* 8036B934 00368894 40 80 00 1C */ bge lbl_8036B950 +/* 8036B938 00368898 7C 83 00 D0 */ neg r4, r3 +/* 8036B93C 0036889C 38 00 80 00 */ li r0, -32768 +/* 8036B940 003688A0 7C 83 1B 78 */ or r3, r4, r3 +/* 8036B944 003688A4 7C 63 FE 70 */ srawi r3, r3, 0x1f +/* 8036B948 003688A8 7C 03 18 38 */ and r3, r0, r3 +/* 8036B94C 003688AC 4E 80 00 20 */ blr +lbl_8036B950: +/* 8036B950 003688B0 54 04 06 7E */ clrlwi r4, r0, 0x19 +/* 8036B954 003688B4 54 00 CF 3E */ rlwinm r0, r0, 0x19, 0x1c, 0x1f +/* 8036B958 003688B8 38 84 00 80 */ addi r4, r4, 0x80 +/* 8036B95C 003688BC 2C 03 00 00 */ cmpwi r3, 0 +/* 8036B960 003688C0 7C 83 07 34 */ extsh r3, r4 +/* 8036B964 003688C4 7C 00 07 34 */ extsh r0, r0 +/* 8036B968 003688C8 54 63 38 30 */ slwi r3, r3, 7 +/* 8036B96C 003688CC 20 00 00 0E */ subfic r0, r0, 0xe +/* 8036B970 003688D0 7C 60 06 30 */ sraw r0, r3, r0 +/* 8036B974 003688D4 7C 03 07 34 */ extsh r3, r0 +/* 8036B978 003688D8 4D 82 00 20 */ beqlr +/* 8036B97C 003688DC 38 63 80 00 */ addi r3, r3, -32768 +/* 8036B980 003688E0 4E 80 00 20 */ blr + +.global step_size__FP10g72x_state +step_size__FP10g72x_state: +/* 8036B984 003688E4 A8 A3 00 0A */ lha r5, 0xa(r3) +/* 8036B988 003688E8 2C 05 01 00 */ cmpwi r5, 0x100 +/* 8036B98C 003688EC 41 80 00 0C */ blt lbl_8036B998 +/* 8036B990 003688F0 A8 63 00 04 */ lha r3, 4(r3) +/* 8036B994 003688F4 4E 80 00 20 */ blr +lbl_8036B998: +/* 8036B998 003688F8 80 83 00 00 */ lwz r4, 0(r3) +/* 8036B99C 003688FC A8 03 00 04 */ lha r0, 4(r3) +/* 8036B9A0 00368900 7C 83 36 70 */ srawi r3, r4, 6 +/* 8036B9A4 00368904 7C 03 00 51 */ subf. r0, r3, r0 +/* 8036B9A8 00368908 7C A4 16 70 */ srawi r4, r5, 2 +/* 8036B9AC 0036890C 40 81 00 14 */ ble lbl_8036B9C0 +/* 8036B9B0 00368910 7C 00 21 D6 */ mullw r0, r0, r4 +/* 8036B9B4 00368914 7C 00 36 70 */ srawi r0, r0, 6 +/* 8036B9B8 00368918 7C 63 02 14 */ add r3, r3, r0 +/* 8036B9BC 0036891C 4E 80 00 20 */ blr +lbl_8036B9C0: +/* 8036B9C0 00368920 4C 80 00 20 */ bgelr +/* 8036B9C4 00368924 7C 80 21 D6 */ mullw r4, r0, r4 +/* 8036B9C8 00368928 38 04 00 3F */ addi r0, r4, 0x3f +/* 8036B9CC 0036892C 7C 00 36 70 */ srawi r0, r0, 6 +/* 8036B9D0 00368930 7C 63 02 14 */ add r3, r3, r0 +/* 8036B9D4 00368934 4E 80 00 20 */ blr + +.global predictor_pole__FP10g72x_state +predictor_pole__FP10g72x_state: +/* 8036B9D8 00368938 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8036B9DC 0036893C 7C 08 02 A6 */ mflr r0 +/* 8036B9E0 00368940 90 01 00 14 */ stw r0, 0x14(r1) +/* 8036B9E4 00368944 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8036B9E8 00368948 93 C1 00 08 */ stw r30, 8(r1) +/* 8036B9EC 0036894C 7C 7E 1B 78 */ mr r30, r3 +/* 8036B9F0 00368950 A8 03 00 0C */ lha r0, 0xc(r3) +/* 8036B9F4 00368954 A8 83 00 2C */ lha r4, 0x2c(r3) +/* 8036B9F8 00368958 7C 03 16 70 */ srawi r3, r0, 2 +/* 8036B9FC 0036895C 48 00 01 29 */ bl fmult__Fii +/* 8036BA00 00368960 A8 1E 00 0E */ lha r0, 0xe(r30) +/* 8036BA04 00368964 7C 7F 1B 78 */ mr r31, r3 +/* 8036BA08 00368968 A8 9E 00 2E */ lha r4, 0x2e(r30) +/* 8036BA0C 0036896C 7C 03 16 70 */ srawi r3, r0, 2 +/* 8036BA10 00368970 48 00 01 15 */ bl fmult__Fii +/* 8036BA14 00368974 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8036BA18 00368978 7C 63 FA 14 */ add r3, r3, r31 +/* 8036BA1C 0036897C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8036BA20 00368980 83 C1 00 08 */ lwz r30, 8(r1) +/* 8036BA24 00368984 7C 08 03 A6 */ mtlr r0 +/* 8036BA28 00368988 38 21 00 10 */ addi r1, r1, 0x10 +/* 8036BA2C 0036898C 4E 80 00 20 */ blr + +.global predictor_zero__FP10g72x_state +predictor_zero__FP10g72x_state: +/* 8036BA30 00368990 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8036BA34 00368994 7C 08 02 A6 */ mflr r0 +/* 8036BA38 00368998 90 01 00 24 */ stw r0, 0x24(r1) +/* 8036BA3C 0036899C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8036BA40 003689A0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8036BA44 003689A4 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8036BA48 003689A8 7C 7D 1B 78 */ mr r29, r3 +/* 8036BA4C 003689AC A8 03 00 10 */ lha r0, 0x10(r3) +/* 8036BA50 003689B0 A8 83 00 20 */ lha r4, 0x20(r3) +/* 8036BA54 003689B4 7C 03 16 70 */ srawi r3, r0, 2 +/* 8036BA58 003689B8 48 00 00 CD */ bl fmult__Fii +/* 8036BA5C 003689BC 3B FD 00 02 */ addi r31, r29, 2 +/* 8036BA60 003689C0 7C 7D 1B 78 */ mr r29, r3 +/* 8036BA64 003689C4 3B C0 00 01 */ li r30, 1 +lbl_8036BA68: +/* 8036BA68 003689C8 A8 1F 00 10 */ lha r0, 0x10(r31) +/* 8036BA6C 003689CC A8 9F 00 20 */ lha r4, 0x20(r31) +/* 8036BA70 003689D0 7C 03 16 70 */ srawi r3, r0, 2 +/* 8036BA74 003689D4 48 00 00 B1 */ bl fmult__Fii +/* 8036BA78 003689D8 3B DE 00 01 */ addi r30, r30, 1 +/* 8036BA7C 003689DC 7F BD 1A 14 */ add r29, r29, r3 +/* 8036BA80 003689E0 2C 1E 00 06 */ cmpwi r30, 6 +/* 8036BA84 003689E4 3B FF 00 02 */ addi r31, r31, 2 +/* 8036BA88 003689E8 41 80 FF E0 */ blt lbl_8036BA68 +/* 8036BA8C 003689EC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8036BA90 003689F0 7F A3 EB 78 */ mr r3, r29 +/* 8036BA94 003689F4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8036BA98 003689F8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8036BA9C 003689FC 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8036BAA0 00368A00 7C 08 03 A6 */ mtlr r0 +/* 8036BAA4 00368A04 38 21 00 20 */ addi r1, r1, 0x20 +/* 8036BAA8 00368A08 4E 80 00 20 */ blr + +.global g72x_init_state__FP10g72x_state +g72x_init_state__FP10g72x_state: +/* 8036BAAC 00368A0C 3C 80 00 01 */ lis r4, 0x00008800@ha +/* 8036BAB0 00368A10 38 A0 02 20 */ li r5, 0x220 +/* 8036BAB4 00368A14 38 04 88 00 */ addi r0, r4, 0x00008800@l +/* 8036BAB8 00368A18 38 80 00 00 */ li r4, 0 +/* 8036BABC 00368A1C 90 03 00 00 */ stw r0, 0(r3) +/* 8036BAC0 00368A20 38 00 00 20 */ li r0, 0x20 +/* 8036BAC4 00368A24 B0 A3 00 04 */ sth r5, 4(r3) +/* 8036BAC8 00368A28 B0 83 00 06 */ sth r4, 6(r3) +/* 8036BACC 00368A2C B0 83 00 08 */ sth r4, 8(r3) +/* 8036BAD0 00368A30 B0 83 00 0A */ sth r4, 0xa(r3) +/* 8036BAD4 00368A34 B0 83 00 0C */ sth r4, 0xc(r3) +/* 8036BAD8 00368A38 B0 83 00 1C */ sth r4, 0x1c(r3) +/* 8036BADC 00368A3C B0 03 00 2C */ sth r0, 0x2c(r3) +/* 8036BAE0 00368A40 B0 83 00 0E */ sth r4, 0xe(r3) +/* 8036BAE4 00368A44 B0 83 00 1E */ sth r4, 0x1e(r3) +/* 8036BAE8 00368A48 B0 03 00 2E */ sth r0, 0x2e(r3) +/* 8036BAEC 00368A4C B0 83 00 10 */ sth r4, 0x10(r3) +/* 8036BAF0 00368A50 B0 03 00 20 */ sth r0, 0x20(r3) +/* 8036BAF4 00368A54 B0 83 00 12 */ sth r4, 0x12(r3) +/* 8036BAF8 00368A58 B0 03 00 22 */ sth r0, 0x22(r3) +/* 8036BAFC 00368A5C B0 83 00 14 */ sth r4, 0x14(r3) +/* 8036BB00 00368A60 B0 03 00 24 */ sth r0, 0x24(r3) +/* 8036BB04 00368A64 B0 83 00 16 */ sth r4, 0x16(r3) +/* 8036BB08 00368A68 B0 03 00 26 */ sth r0, 0x26(r3) +/* 8036BB0C 00368A6C B0 83 00 18 */ sth r4, 0x18(r3) +/* 8036BB10 00368A70 B0 03 00 28 */ sth r0, 0x28(r3) +/* 8036BB14 00368A74 B0 83 00 1A */ sth r4, 0x1a(r3) +/* 8036BB18 00368A78 B0 03 00 2A */ sth r0, 0x2a(r3) +/* 8036BB1C 00368A7C 98 83 00 30 */ stb r4, 0x30(r3) +/* 8036BB20 00368A80 4E 80 00 20 */ blr + +.global fmult__Fii +fmult__Fii: +/* 8036BB24 00368A84 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8036BB28 00368A88 7C 08 02 A6 */ mflr r0 +/* 8036BB2C 00368A8C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8036BB30 00368A90 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8036BB34 00368A94 7C 9F 23 78 */ mr r31, r4 +/* 8036BB38 00368A98 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8036BB3C 00368A9C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8036BB40 00368AA0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8036BB44 00368AA4 7C 1E 00 D0 */ neg r0, r30 +/* 8036BB48 00368AA8 54 00 04 FE */ clrlwi r0, r0, 0x13 +/* 8036BB4C 00368AAC 40 81 00 08 */ ble lbl_8036BB54 +/* 8036BB50 00368AB0 7F C0 F3 78 */ mr r0, r30 +lbl_8036BB54: +/* 8036BB54 00368AB4 3C 60 80 3F */ lis r3, lbl_803EF840@ha +/* 8036BB58 00368AB8 7C 1D 07 34 */ extsh r29, r0 +/* 8036BB5C 00368ABC 38 83 F8 40 */ addi r4, r3, lbl_803EF840@l +/* 8036BB60 00368AC0 38 A0 00 0F */ li r5, 0xf +/* 8036BB64 00368AC4 7F A3 EB 78 */ mr r3, r29 +/* 8036BB68 00368AC8 48 00 00 9D */ bl quan__FiPsi +/* 8036BB6C 00368ACC 7F A0 07 35 */ extsh. r0, r29 +/* 8036BB70 00368AD0 38 03 FF FA */ addi r0, r3, -6 +/* 8036BB74 00368AD4 7C 05 07 34 */ extsh r5, r0 +/* 8036BB78 00368AD8 40 82 00 0C */ bne lbl_8036BB84 +/* 8036BB7C 00368ADC 38 00 00 20 */ li r0, 0x20 +/* 8036BB80 00368AE0 48 00 00 18 */ b lbl_8036BB98 +lbl_8036BB84: +/* 8036BB84 00368AE4 7C A0 07 35 */ extsh. r0, r5 +/* 8036BB88 00368AE8 7C 05 00 D0 */ neg r0, r5 +/* 8036BB8C 00368AEC 7F A0 00 30 */ slw r0, r29, r0 +/* 8036BB90 00368AF0 41 80 00 08 */ blt lbl_8036BB98 +/* 8036BB94 00368AF4 7F A0 2E 30 */ sraw r0, r29, r5 +lbl_8036BB98: +/* 8036BB98 00368AF8 7C 03 07 34 */ extsh r3, r0 +/* 8036BB9C 00368AFC 57 E0 06 BE */ clrlwi r0, r31, 0x1a +/* 8036BBA0 00368B00 7C 60 19 D6 */ mullw r3, r0, r3 +/* 8036BBA4 00368B04 57 E4 D7 3E */ rlwinm r4, r31, 0x1a, 0x1c, 0x1f +/* 8036BBA8 00368B08 38 04 FF F3 */ addi r0, r4, -13 +/* 8036BBAC 00368B0C 7C 05 02 14 */ add r0, r5, r0 +/* 8036BBB0 00368B10 7C 04 07 35 */ extsh. r4, r0 +/* 8036BBB4 00368B14 38 03 00 30 */ addi r0, r3, 0x30 +/* 8036BBB8 00368B18 7C 00 26 70 */ srawi r0, r0, 4 +/* 8036BBBC 00368B1C 7C 05 07 34 */ extsh r5, r0 +/* 8036BBC0 00368B20 7C 04 00 D0 */ neg r0, r4 +/* 8036BBC4 00368B24 7C A3 06 30 */ sraw r3, r5, r0 +/* 8036BBC8 00368B28 41 80 00 0C */ blt lbl_8036BBD4 +/* 8036BBCC 00368B2C 7C A0 20 30 */ slw r0, r5, r4 +/* 8036BBD0 00368B30 54 03 04 7E */ clrlwi r3, r0, 0x11 +lbl_8036BBD4: +/* 8036BBD4 00368B34 7F C0 FA 79 */ xor. r0, r30, r31 +/* 8036BBD8 00368B38 7C 60 07 34 */ extsh r0, r3 +/* 8036BBDC 00368B3C 7C 03 03 78 */ mr r3, r0 +/* 8036BBE0 00368B40 40 80 00 08 */ bge lbl_8036BBE8 +/* 8036BBE4 00368B44 7C 60 00 D0 */ neg r3, r0 +lbl_8036BBE8: +/* 8036BBE8 00368B48 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8036BBEC 00368B4C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8036BBF0 00368B50 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8036BBF4 00368B54 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8036BBF8 00368B58 7C 08 03 A6 */ mtlr r0 +/* 8036BBFC 00368B5C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8036BC00 00368B60 4E 80 00 20 */ blr + +.global quan__FiPsi +quan__FiPsi: +/* 8036BC04 00368B64 38 C0 00 00 */ li r6, 0 +/* 8036BC08 00368B68 7C A9 03 A6 */ mtctr r5 +/* 8036BC0C 00368B6C 2C 05 00 00 */ cmpwi r5, 0 +/* 8036BC10 00368B70 40 81 00 1C */ ble lbl_8036BC2C +lbl_8036BC14: +/* 8036BC14 00368B74 A8 04 00 00 */ lha r0, 0(r4) +/* 8036BC18 00368B78 38 84 00 02 */ addi r4, r4, 2 +/* 8036BC1C 00368B7C 7C 03 00 00 */ cmpw r3, r0 +/* 8036BC20 00368B80 41 80 00 0C */ blt lbl_8036BC2C +/* 8036BC24 00368B84 38 C6 00 01 */ addi r6, r6, 1 +/* 8036BC28 00368B88 42 00 FF EC */ bdnz lbl_8036BC14 +lbl_8036BC2C: +/* 8036BC2C 00368B8C 7C C3 33 78 */ mr r3, r6 +/* 8036BC30 00368B90 4E 80 00 20 */ blr diff --git a/asm/Kyoto/CARAMManager.s b/asm/Kyoto/CARAMManager.s new file mode 100644 index 00000000..cb32bb7f --- /dev/null +++ b/asm/Kyoto/CARAMManager.s @@ -0,0 +1,738 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global CollectGarbage__12CARAMManagerFv +CollectGarbage__12CARAMManagerFv: +/* 803445E8 00341548 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803445EC 0034154C 7C 08 02 A6 */ mflr r0 +/* 803445F0 00341550 90 01 00 14 */ stw r0, 0x14(r1) +/* 803445F4 00341554 48 00 00 15 */ bl RefreshActiveDMAList__12CARAMManagerFv +/* 803445F8 00341558 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803445FC 0034155C 7C 08 03 A6 */ mtlr r0 +/* 80344600 00341560 38 21 00 10 */ addi r1, r1, 0x10 +/* 80344604 00341564 4E 80 00 20 */ blr + +.global RefreshActiveDMAList__12CARAMManagerFv +RefreshActiveDMAList__12CARAMManagerFv: +/* 80344608 00341568 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034460C 0034156C 7C 08 02 A6 */ mflr r0 +/* 80344610 00341570 3C 60 80 5A */ lis r3, lbl_805A679C@ha +/* 80344614 00341574 90 01 00 14 */ stw r0, 0x14(r1) +/* 80344618 00341578 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034461C 0034157C 3B E3 67 9C */ addi r31, r3, lbl_805A679C@l +/* 80344620 00341580 93 C1 00 08 */ stw r30, 8(r1) +/* 80344624 00341584 83 DF 00 04 */ lwz r30, 4(r31) +/* 80344628 00341588 48 00 00 30 */ b lbl_80344658 +lbl_8034462C: +/* 8034462C 0034158C 80 7E 00 08 */ lwz r3, 8(r30) +/* 80344630 00341590 88 03 00 24 */ lbz r0, 0x24(r3) +/* 80344634 00341594 28 00 00 00 */ cmplwi r0, 0 +/* 80344638 00341598 41 82 00 1C */ beq lbl_80344654 +/* 8034463C 0034159C 4B FD 12 F5 */ bl Free__7CMemoryFPCv +/* 80344640 003415A0 7F E3 FB 78 */ mr r3, r31 +/* 80344644 003415A4 7F C4 F3 78 */ mr r4, r30 +/* 80344648 003415A8 48 00 08 3D */ bl sub_80344e84 +/* 8034464C 003415AC 7C 7E 1B 78 */ mr r30, r3 +/* 80344650 003415B0 48 00 00 08 */ b lbl_80344658 +lbl_80344654: +/* 80344654 003415B4 83 DE 00 04 */ lwz r30, 4(r30) +lbl_80344658: +/* 80344658 003415B8 80 1F 00 08 */ lwz r0, 8(r31) +/* 8034465C 003415BC 7C 1E 00 40 */ cmplw r30, r0 +/* 80344660 003415C0 40 82 FF CC */ bne lbl_8034462C +/* 80344664 003415C4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80344668 003415C8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034466C 003415CC 83 C1 00 08 */ lwz r30, 8(r1) +/* 80344670 003415D0 7C 08 03 A6 */ mtlr r0 +/* 80344674 003415D4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80344678 003415D8 4E 80 00 20 */ blr + +.global AramManagerDMACallback__12CARAMManagerFUl +AramManagerDMACallback__12CARAMManagerFUl: +/* 8034467C 003415DC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80344680 003415E0 7C 08 02 A6 */ mflr r0 +/* 80344684 003415E4 7C 64 1B 78 */ mr r4, r3 +/* 80344688 003415E8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034468C 003415EC 38 00 00 01 */ li r0, 1 +/* 80344690 003415F0 98 03 00 24 */ stb r0, 0x24(r3) +/* 80344694 003415F4 80 03 00 08 */ lwz r0, 8(r3) +/* 80344698 003415F8 28 00 00 01 */ cmplwi r0, 1 +/* 8034469C 003415FC 40 82 00 10 */ bne lbl_803446AC +/* 803446A0 00341600 80 64 00 14 */ lwz r3, 0x14(r4) +/* 803446A4 00341604 80 84 00 18 */ lwz r4, 0x18(r4) +/* 803446A8 00341608 48 03 A3 DD */ bl DCInvalidateRange +lbl_803446AC: +/* 803446AC 0034160C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803446B0 00341610 7C 08 03 A6 */ mtlr r0 +/* 803446B4 00341614 38 21 00 10 */ addi r1, r1, 0x10 +/* 803446B8 00341618 4E 80 00 20 */ blr + +.global CancelDMA__12CARAMManagerFUi +CancelDMA__12CARAMManagerFUi: +/* 803446BC 0034161C 3C 80 80 5A */ lis r4, lbl_805A679C@ha +/* 803446C0 00341620 38 84 67 9C */ addi r4, r4, lbl_805A679C@l +/* 803446C4 00341624 80 A4 00 04 */ lwz r5, 4(r4) +/* 803446C8 00341628 80 84 00 08 */ lwz r4, 8(r4) +/* 803446CC 0034162C 48 00 00 2C */ b lbl_803446F8 +lbl_803446D0: +/* 803446D0 00341630 80 C5 00 08 */ lwz r6, 8(r5) +/* 803446D4 00341634 80 06 00 20 */ lwz r0, 0x20(r6) +/* 803446D8 00341638 7C 00 18 40 */ cmplw r0, r3 +/* 803446DC 0034163C 40 82 00 18 */ bne lbl_803446F4 +/* 803446E0 00341640 88 66 00 24 */ lbz r3, 0x24(r6) +/* 803446E4 00341644 7C 03 00 D0 */ neg r0, r3 +/* 803446E8 00341648 7C 00 1B 78 */ or r0, r0, r3 +/* 803446EC 0034164C 54 03 0F FE */ srwi r3, r0, 0x1f +/* 803446F0 00341650 4E 80 00 20 */ blr +lbl_803446F4: +/* 803446F4 00341654 80 A5 00 04 */ lwz r5, 4(r5) +lbl_803446F8: +/* 803446F8 00341658 7C 05 20 40 */ cmplw r5, r4 +/* 803446FC 0034165C 40 82 FF D4 */ bne lbl_803446D0 +/* 80344700 00341660 38 60 00 01 */ li r3, 1 +/* 80344704 00341664 4E 80 00 20 */ blr + +.global WaitForAllDMAsToComplete__12CARAMManagerFv +WaitForAllDMAsToComplete__12CARAMManagerFv: +/* 80344708 00341668 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034470C 0034166C 7C 08 02 A6 */ mflr r0 +/* 80344710 00341670 3C 60 80 5A */ lis r3, lbl_805A679C@ha +/* 80344714 00341674 90 01 00 14 */ stw r0, 0x14(r1) +/* 80344718 00341678 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034471C 0034167C 3B E3 67 9C */ addi r31, r3, lbl_805A679C@l +/* 80344720 00341680 48 00 00 08 */ b lbl_80344728 +lbl_80344724: +/* 80344724 00341684 4B FF FE E5 */ bl RefreshActiveDMAList__12CARAMManagerFv +lbl_80344728: +/* 80344728 00341688 80 1F 00 14 */ lwz r0, 0x14(r31) +/* 8034472C 0034168C 2C 00 00 00 */ cmpwi r0, 0 +/* 80344730 00341690 41 81 FF F4 */ bgt lbl_80344724 +/* 80344734 00341694 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80344738 00341698 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034473C 0034169C 7C 08 03 A6 */ mtlr r0 +/* 80344740 003416A0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80344744 003416A4 4E 80 00 20 */ blr + +.global WaitForDMACompletion__12CARAMManagerFUi +WaitForDMACompletion__12CARAMManagerFUi: +/* 80344748 003416A8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034474C 003416AC 7C 08 02 A6 */ mflr r0 +/* 80344750 003416B0 3C 80 80 5A */ lis r4, lbl_805A679C@ha +/* 80344754 003416B4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80344758 003416B8 38 84 67 9C */ addi r4, r4, lbl_805A679C@l +/* 8034475C 003416BC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80344760 003416C0 83 E4 00 04 */ lwz r31, 4(r4) +/* 80344764 003416C4 80 84 00 08 */ lwz r4, 8(r4) +/* 80344768 003416C8 48 00 00 40 */ b lbl_803447A8 +lbl_8034476C: +/* 8034476C 003416CC 80 BF 00 08 */ lwz r5, 8(r31) +/* 80344770 003416D0 80 05 00 20 */ lwz r0, 0x20(r5) +/* 80344774 003416D4 7C 00 18 40 */ cmplw r0, r3 +/* 80344778 003416D8 40 82 00 2C */ bne lbl_803447A4 +lbl_8034477C: +/* 8034477C 003416DC 88 05 00 24 */ lbz r0, 0x24(r5) +/* 80344780 003416E0 28 00 00 00 */ cmplwi r0, 0 +/* 80344784 003416E4 41 82 FF F8 */ beq lbl_8034477C +/* 80344788 003416E8 7C A3 2B 78 */ mr r3, r5 +/* 8034478C 003416EC 4B FD 11 A5 */ bl Free__7CMemoryFPCv +/* 80344790 003416F0 3C 60 80 5A */ lis r3, lbl_805A679C@ha +/* 80344794 003416F4 7F E4 FB 78 */ mr r4, r31 +/* 80344798 003416F8 38 63 67 9C */ addi r3, r3, lbl_805A679C@l +/* 8034479C 003416FC 48 00 06 E9 */ bl sub_80344e84 +/* 803447A0 00341700 48 00 00 10 */ b lbl_803447B0 +lbl_803447A4: +/* 803447A4 00341704 83 FF 00 04 */ lwz r31, 4(r31) +lbl_803447A8: +/* 803447A8 00341708 7C 1F 20 40 */ cmplw r31, r4 +/* 803447AC 0034170C 40 82 FF C0 */ bne lbl_8034476C +lbl_803447B0: +/* 803447B0 00341710 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803447B4 00341714 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803447B8 00341718 7C 08 03 A6 */ mtlr r0 +/* 803447BC 0034171C 38 21 00 10 */ addi r1, r1, 0x10 +/* 803447C0 00341720 4E 80 00 20 */ blr + +.global IsDMACompleted__12CARAMManagerFUi +IsDMACompleted__12CARAMManagerFUi: +/* 803447C4 00341724 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803447C8 00341728 7C 08 02 A6 */ mflr r0 +/* 803447CC 0034172C 3C 80 80 5A */ lis r4, lbl_805A679C@ha +/* 803447D0 00341730 90 01 00 14 */ stw r0, 0x14(r1) +/* 803447D4 00341734 38 84 67 9C */ addi r4, r4, lbl_805A679C@l +/* 803447D8 00341738 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803447DC 0034173C 83 E4 00 04 */ lwz r31, 4(r4) +/* 803447E0 00341740 80 84 00 08 */ lwz r4, 8(r4) +/* 803447E4 00341744 48 00 00 4C */ b lbl_80344830 +lbl_803447E8: +/* 803447E8 00341748 80 BF 00 08 */ lwz r5, 8(r31) +/* 803447EC 0034174C 80 05 00 20 */ lwz r0, 0x20(r5) +/* 803447F0 00341750 7C 00 18 40 */ cmplw r0, r3 +/* 803447F4 00341754 40 82 00 38 */ bne lbl_8034482C +/* 803447F8 00341758 88 05 00 24 */ lbz r0, 0x24(r5) +/* 803447FC 0034175C 28 00 00 00 */ cmplwi r0, 0 +/* 80344800 00341760 41 82 00 24 */ beq lbl_80344824 +/* 80344804 00341764 7C A3 2B 78 */ mr r3, r5 +/* 80344808 00341768 4B FD 11 29 */ bl Free__7CMemoryFPCv +/* 8034480C 0034176C 3C 60 80 5A */ lis r3, lbl_805A679C@ha +/* 80344810 00341770 7F E4 FB 78 */ mr r4, r31 +/* 80344814 00341774 38 63 67 9C */ addi r3, r3, lbl_805A679C@l +/* 80344818 00341778 48 00 06 6D */ bl sub_80344e84 +/* 8034481C 0034177C 38 60 00 01 */ li r3, 1 +/* 80344820 00341780 48 00 00 1C */ b lbl_8034483C +lbl_80344824: +/* 80344824 00341784 38 60 00 00 */ li r3, 0 +/* 80344828 00341788 48 00 00 14 */ b lbl_8034483C +lbl_8034482C: +/* 8034482C 0034178C 83 FF 00 04 */ lwz r31, 4(r31) +lbl_80344830: +/* 80344830 00341790 7C 1F 20 40 */ cmplw r31, r4 +/* 80344834 00341794 40 82 FF B4 */ bne lbl_803447E8 +/* 80344838 00341798 38 60 00 01 */ li r3, 1 +lbl_8034483C: +/* 8034483C 0034179C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80344840 003417A0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80344844 003417A4 7C 08 03 A6 */ mtlr r0 +/* 80344848 003417A8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034484C 003417AC 4E 80 00 20 */ blr + +.global DMAToMRAM__12CARAMManagerFPvPvUiQ212CARAMManager12EDMAPriority +DMAToMRAM__12CARAMManagerFPvPvUiQ212CARAMManager12EDMAPriority: +/* 80344850 003417B0 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80344854 003417B4 7C 08 02 A6 */ mflr r0 +/* 80344858 003417B8 90 01 00 34 */ stw r0, 0x34(r1) +/* 8034485C 003417BC BF 21 00 14 */ stmw r25, 0x14(r1) +/* 80344860 003417C0 7C 9C 23 78 */ mr r28, r4 +/* 80344864 003417C4 7C BF 2B 78 */ mr r31, r5 +/* 80344868 003417C8 7C 7B 1B 78 */ mr r27, r3 +/* 8034486C 003417CC 7C DD 33 78 */ mr r29, r6 +/* 80344870 003417D0 7F 83 E3 78 */ mr r3, r28 +/* 80344874 003417D4 7F E4 FB 78 */ mr r4, r31 +/* 80344878 003417D8 48 03 A2 0D */ bl DCInvalidateRange +/* 8034487C 003417DC 3C 80 80 3D */ lis r4, lbl_803D7F50@ha +/* 80344880 003417E0 38 60 00 28 */ li r3, 0x28 +/* 80344884 003417E4 38 84 7F 50 */ addi r4, r4, lbl_803D7F50@l +/* 80344888 003417E8 38 A0 00 00 */ li r5, 0 +/* 8034488C 003417EC 4B FD 0F E1 */ bl __nw__FUlPCcPCc +/* 80344890 003417F0 38 00 00 00 */ li r0, 0 +/* 80344894 003417F4 3C A0 80 5A */ lis r5, lbl_805A679C@ha +/* 80344898 003417F8 98 03 00 24 */ stb r0, 0x24(r3) +/* 8034489C 003417FC 7C 7E 1B 78 */ mr r30, r3 +/* 803448A0 00341800 38 C5 67 9C */ addi r6, r5, lbl_805A679C@l +/* 803448A4 00341804 3C 60 80 3D */ lis r3, lbl_803D7F50@ha +/* 803448A8 00341808 80 0D A9 74 */ lwz r0, lbl_805A9534@sda21(r13) +/* 803448AC 0034180C 38 83 7F 50 */ addi r4, r3, lbl_803D7F50@l +/* 803448B0 00341810 38 60 00 0C */ li r3, 0xc +/* 803448B4 00341814 38 A0 00 00 */ li r5, 0 +/* 803448B8 00341818 90 1E 00 20 */ stw r0, 0x20(r30) +/* 803448BC 0034181C 83 46 00 08 */ lwz r26, 8(r6) +/* 803448C0 00341820 83 3A 00 00 */ lwz r25, 0(r26) +/* 803448C4 00341824 4B FD 0F 55 */ bl __nwa__FUlPCcPCc +/* 803448C8 00341828 28 03 00 00 */ cmplwi r3, 0 +/* 803448CC 0034182C 41 82 00 0C */ beq lbl_803448D8 +/* 803448D0 00341830 93 23 00 00 */ stw r25, 0(r3) +/* 803448D4 00341834 93 43 00 04 */ stw r26, 4(r3) +lbl_803448D8: +/* 803448D8 00341838 34 83 00 08 */ addic. r4, r3, 8 +/* 803448DC 0034183C 41 82 00 08 */ beq lbl_803448E4 +/* 803448E0 00341840 93 C4 00 00 */ stw r30, 0(r4) +lbl_803448E4: +/* 803448E4 00341844 3C 80 80 5A */ lis r4, lbl_805A679C@ha +/* 803448E8 00341848 38 84 67 9C */ addi r4, r4, lbl_805A679C@l +/* 803448EC 0034184C 80 04 00 04 */ lwz r0, 4(r4) +/* 803448F0 00341850 7C 1A 00 40 */ cmplw r26, r0 +/* 803448F4 00341854 40 82 00 08 */ bne lbl_803448FC +/* 803448F8 00341858 90 64 00 04 */ stw r3, 4(r4) +lbl_803448FC: +/* 803448FC 0034185C 80 C3 00 00 */ lwz r6, 0(r3) +/* 80344900 00341860 3C 80 80 34 */ lis r4, AramManagerDMACallback__12CARAMManagerFUl@ha +/* 80344904 00341864 3C A0 80 5A */ lis r5, lbl_805A679C@ha +/* 80344908 00341868 20 1D 00 01 */ subfic r0, r29, 1 +/* 8034490C 0034186C 90 66 00 04 */ stw r3, 4(r6) +/* 80344910 00341870 39 44 46 7C */ addi r10, r4, AramManagerDMACallback__12CARAMManagerFUl@l +/* 80344914 00341874 39 65 67 9C */ addi r11, r5, lbl_805A679C@l +/* 80344918 00341878 7C 00 00 34 */ cntlzw r0, r0 +/* 8034491C 0034187C 80 83 00 04 */ lwz r4, 4(r3) +/* 80344920 00341880 54 06 D9 7E */ srwi r6, r0, 5 +/* 80344924 00341884 7F 67 DB 78 */ mr r7, r27 +/* 80344928 00341888 7F 88 E3 78 */ mr r8, r28 +/* 8034492C 0034188C 90 64 00 00 */ stw r3, 0(r4) +/* 80344930 00341890 7F E9 FB 78 */ mr r9, r31 +/* 80344934 00341894 7F C3 F3 78 */ mr r3, r30 +/* 80344938 00341898 38 A0 00 01 */ li r5, 1 +/* 8034493C 0034189C 80 8B 00 14 */ lwz r4, 0x14(r11) +/* 80344940 003418A0 38 04 00 01 */ addi r0, r4, 1 +/* 80344944 003418A4 90 0B 00 14 */ stw r0, 0x14(r11) +/* 80344948 003418A8 80 9E 00 20 */ lwz r4, 0x20(r30) +/* 8034494C 003418AC 48 02 AD 25 */ bl ARQPostRequest +/* 80344950 003418B0 80 6D A9 74 */ lwz r3, lbl_805A9534@sda21(r13) +/* 80344954 003418B4 80 02 CB AC */ lwz r0, lbl_805AE8CC@sda21(r2) +/* 80344958 003418B8 38 63 00 01 */ addi r3, r3, 1 +/* 8034495C 003418BC 7C 03 00 40 */ cmplw r3, r0 +/* 80344960 003418C0 90 6D A9 74 */ stw r3, lbl_805A9534@sda21(r13) +/* 80344964 003418C4 40 82 00 0C */ bne lbl_80344970 +/* 80344968 003418C8 38 03 00 01 */ addi r0, r3, 1 +/* 8034496C 003418CC 90 0D A9 74 */ stw r0, lbl_805A9534@sda21(r13) +lbl_80344970: +/* 80344970 003418D0 80 7E 00 20 */ lwz r3, 0x20(r30) +/* 80344974 003418D4 BB 21 00 14 */ lmw r25, 0x14(r1) +/* 80344978 003418D8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8034497C 003418DC 7C 08 03 A6 */ mtlr r0 +/* 80344980 003418E0 38 21 00 30 */ addi r1, r1, 0x30 +/* 80344984 003418E4 4E 80 00 20 */ blr + +.global DMAToARAM__12CARAMManagerFPvPvUiQ212CARAMManager12EDMAPriority +DMAToARAM__12CARAMManagerFPvPvUiQ212CARAMManager12EDMAPriority: +/* 80344988 003418E8 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8034498C 003418EC 7C 08 02 A6 */ mflr r0 +/* 80344990 003418F0 90 01 00 34 */ stw r0, 0x34(r1) +/* 80344994 003418F4 BF 21 00 14 */ stmw r25, 0x14(r1) +/* 80344998 003418F8 7C BF 2B 78 */ mr r31, r5 +/* 8034499C 003418FC 7C 9C 23 78 */ mr r28, r4 +/* 803449A0 00341900 7C 7B 1B 78 */ mr r27, r3 +/* 803449A4 00341904 7C DD 33 78 */ mr r29, r6 +/* 803449A8 00341908 7F E4 FB 78 */ mr r4, r31 +/* 803449AC 0034190C 48 03 A1 35 */ bl DCStoreRange +/* 803449B0 00341910 3C 80 80 3D */ lis r4, lbl_803D7F50@ha +/* 803449B4 00341914 38 60 00 28 */ li r3, 0x28 +/* 803449B8 00341918 38 84 7F 50 */ addi r4, r4, lbl_803D7F50@l +/* 803449BC 0034191C 38 A0 00 00 */ li r5, 0 +/* 803449C0 00341920 4B FD 0E AD */ bl __nw__FUlPCcPCc +/* 803449C4 00341924 38 00 00 00 */ li r0, 0 +/* 803449C8 00341928 3C A0 80 5A */ lis r5, lbl_805A679C@ha +/* 803449CC 0034192C 98 03 00 24 */ stb r0, 0x24(r3) +/* 803449D0 00341930 7C 7E 1B 78 */ mr r30, r3 +/* 803449D4 00341934 38 C5 67 9C */ addi r6, r5, lbl_805A679C@l +/* 803449D8 00341938 3C 60 80 3D */ lis r3, lbl_803D7F50@ha +/* 803449DC 0034193C 80 0D A9 74 */ lwz r0, lbl_805A9534@sda21(r13) +/* 803449E0 00341940 38 83 7F 50 */ addi r4, r3, lbl_803D7F50@l +/* 803449E4 00341944 38 60 00 0C */ li r3, 0xc +/* 803449E8 00341948 38 A0 00 00 */ li r5, 0 +/* 803449EC 0034194C 90 1E 00 20 */ stw r0, 0x20(r30) +/* 803449F0 00341950 83 46 00 08 */ lwz r26, 8(r6) +/* 803449F4 00341954 83 3A 00 00 */ lwz r25, 0(r26) +/* 803449F8 00341958 4B FD 0E 21 */ bl __nwa__FUlPCcPCc +/* 803449FC 0034195C 28 03 00 00 */ cmplwi r3, 0 +/* 80344A00 00341960 41 82 00 0C */ beq lbl_80344A0C +/* 80344A04 00341964 93 23 00 00 */ stw r25, 0(r3) +/* 80344A08 00341968 93 43 00 04 */ stw r26, 4(r3) +lbl_80344A0C: +/* 80344A0C 0034196C 34 83 00 08 */ addic. r4, r3, 8 +/* 80344A10 00341970 41 82 00 08 */ beq lbl_80344A18 +/* 80344A14 00341974 93 C4 00 00 */ stw r30, 0(r4) +lbl_80344A18: +/* 80344A18 00341978 3C 80 80 5A */ lis r4, lbl_805A679C@ha +/* 80344A1C 0034197C 38 84 67 9C */ addi r4, r4, lbl_805A679C@l +/* 80344A20 00341980 80 04 00 04 */ lwz r0, 4(r4) +/* 80344A24 00341984 7C 1A 00 40 */ cmplw r26, r0 +/* 80344A28 00341988 40 82 00 08 */ bne lbl_80344A30 +/* 80344A2C 0034198C 90 64 00 04 */ stw r3, 4(r4) +lbl_80344A30: +/* 80344A30 00341990 80 C3 00 00 */ lwz r6, 0(r3) +/* 80344A34 00341994 3C 80 80 34 */ lis r4, AramManagerDMACallback__12CARAMManagerFUl@ha +/* 80344A38 00341998 3C A0 80 5A */ lis r5, lbl_805A679C@ha +/* 80344A3C 0034199C 20 1D 00 01 */ subfic r0, r29, 1 +/* 80344A40 003419A0 90 66 00 04 */ stw r3, 4(r6) +/* 80344A44 003419A4 39 44 46 7C */ addi r10, r4, AramManagerDMACallback__12CARAMManagerFUl@l +/* 80344A48 003419A8 39 65 67 9C */ addi r11, r5, lbl_805A679C@l +/* 80344A4C 003419AC 7C 00 00 34 */ cntlzw r0, r0 +/* 80344A50 003419B0 80 83 00 04 */ lwz r4, 4(r3) +/* 80344A54 003419B4 54 06 D9 7E */ srwi r6, r0, 5 +/* 80344A58 003419B8 7F 67 DB 78 */ mr r7, r27 +/* 80344A5C 003419BC 7F 88 E3 78 */ mr r8, r28 +/* 80344A60 003419C0 90 64 00 00 */ stw r3, 0(r4) +/* 80344A64 003419C4 7F E9 FB 78 */ mr r9, r31 +/* 80344A68 003419C8 7F C3 F3 78 */ mr r3, r30 +/* 80344A6C 003419CC 38 A0 00 00 */ li r5, 0 +/* 80344A70 003419D0 80 8B 00 14 */ lwz r4, 0x14(r11) +/* 80344A74 003419D4 38 04 00 01 */ addi r0, r4, 1 +/* 80344A78 003419D8 90 0B 00 14 */ stw r0, 0x14(r11) +/* 80344A7C 003419DC 80 9E 00 20 */ lwz r4, 0x20(r30) +/* 80344A80 003419E0 48 02 AB F1 */ bl ARQPostRequest +/* 80344A84 003419E4 80 6D A9 74 */ lwz r3, lbl_805A9534@sda21(r13) +/* 80344A88 003419E8 80 02 CB AC */ lwz r0, lbl_805AE8CC@sda21(r2) +/* 80344A8C 003419EC 38 63 00 01 */ addi r3, r3, 1 +/* 80344A90 003419F0 7C 03 00 40 */ cmplw r3, r0 +/* 80344A94 003419F4 90 6D A9 74 */ stw r3, lbl_805A9534@sda21(r13) +/* 80344A98 003419F8 40 82 00 0C */ bne lbl_80344AA4 +/* 80344A9C 003419FC 38 03 00 01 */ addi r0, r3, 1 +/* 80344AA0 00341A00 90 0D A9 74 */ stw r0, lbl_805A9534@sda21(r13) +lbl_80344AA4: +/* 80344AA4 00341A04 80 7E 00 20 */ lwz r3, 0x20(r30) +/* 80344AA8 00341A08 BB 21 00 14 */ lmw r25, 0x14(r1) +/* 80344AAC 00341A0C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80344AB0 00341A10 7C 08 03 A6 */ mtlr r0 +/* 80344AB4 00341A14 38 21 00 30 */ addi r1, r1, 0x30 +/* 80344AB8 00341A18 4E 80 00 20 */ blr + +.global Free__12CARAMManagerFPCv +Free__12CARAMManagerFPCv: +/* 80344ABC 00341A1C 80 02 CB A8 */ lwz r0, lbl_805AE8C8@sda21(r2) +/* 80344AC0 00341A20 7C 00 18 40 */ cmplw r0, r3 +/* 80344AC4 00341A24 40 82 00 0C */ bne lbl_80344AD0 +/* 80344AC8 00341A28 38 60 00 00 */ li r3, 0 +/* 80344ACC 00341A2C 4E 80 00 20 */ blr +lbl_80344AD0: +/* 80344AD0 00341A30 80 8D A9 64 */ lwz r4, lbl_805A9524@sda21(r13) +/* 80344AD4 00341A34 38 A0 00 00 */ li r5, 0 +/* 80344AD8 00341A38 80 0D A9 68 */ lwz r0, lbl_805A9528@sda21(r13) +/* 80344ADC 00341A3C 7C 84 18 50 */ subf r4, r4, r3 +/* 80344AE0 00341A40 80 6D A9 70 */ lwz r3, lbl_805A9530@sda21(r13) +/* 80344AE4 00341A44 7C 84 03 96 */ divwu r4, r4, r0 +/* 80344AE8 00341A48 80 0D A9 78 */ lwz r0, lbl_805A9538@sda21(r13) +/* 80344AEC 00341A4C 54 86 10 3A */ slwi r6, r4, 2 +/* 80344AF0 00341A50 7C 63 30 2E */ lwzx r3, r3, r6 +/* 80344AF4 00341A54 7C 03 00 50 */ subf r0, r3, r0 +/* 80344AF8 00341A58 28 03 00 00 */ cmplwi r3, 0 +/* 80344AFC 00341A5C 90 0D A9 78 */ stw r0, lbl_805A9538@sda21(r13) +/* 80344B00 00341A60 41 82 00 90 */ beq lbl_80344B90 +/* 80344B04 00341A64 54 60 E8 FF */ rlwinm. r0, r3, 0x1d, 3, 0x1f +/* 80344B08 00341A68 7C 09 03 A6 */ mtctr r0 +/* 80344B0C 00341A6C 41 82 00 70 */ beq lbl_80344B7C +lbl_80344B10: +/* 80344B10 00341A70 80 8D A9 70 */ lwz r4, lbl_805A9530@sda21(r13) +/* 80344B14 00341A74 7C A4 31 2E */ stwx r5, r4, r6 +/* 80344B18 00341A78 38 C6 00 04 */ addi r6, r6, 4 +/* 80344B1C 00341A7C 80 8D A9 70 */ lwz r4, lbl_805A9530@sda21(r13) +/* 80344B20 00341A80 7C A4 31 2E */ stwx r5, r4, r6 +/* 80344B24 00341A84 38 C6 00 04 */ addi r6, r6, 4 +/* 80344B28 00341A88 80 8D A9 70 */ lwz r4, lbl_805A9530@sda21(r13) +/* 80344B2C 00341A8C 7C A4 31 2E */ stwx r5, r4, r6 +/* 80344B30 00341A90 38 C6 00 04 */ addi r6, r6, 4 +/* 80344B34 00341A94 80 8D A9 70 */ lwz r4, lbl_805A9530@sda21(r13) +/* 80344B38 00341A98 7C A4 31 2E */ stwx r5, r4, r6 +/* 80344B3C 00341A9C 38 C6 00 04 */ addi r6, r6, 4 +/* 80344B40 00341AA0 80 8D A9 70 */ lwz r4, lbl_805A9530@sda21(r13) +/* 80344B44 00341AA4 7C A4 31 2E */ stwx r5, r4, r6 +/* 80344B48 00341AA8 38 C6 00 04 */ addi r6, r6, 4 +/* 80344B4C 00341AAC 80 8D A9 70 */ lwz r4, lbl_805A9530@sda21(r13) +/* 80344B50 00341AB0 7C A4 31 2E */ stwx r5, r4, r6 +/* 80344B54 00341AB4 38 C6 00 04 */ addi r6, r6, 4 +/* 80344B58 00341AB8 80 8D A9 70 */ lwz r4, lbl_805A9530@sda21(r13) +/* 80344B5C 00341ABC 7C A4 31 2E */ stwx r5, r4, r6 +/* 80344B60 00341AC0 38 C6 00 04 */ addi r6, r6, 4 +/* 80344B64 00341AC4 80 8D A9 70 */ lwz r4, lbl_805A9530@sda21(r13) +/* 80344B68 00341AC8 7C A4 31 2E */ stwx r5, r4, r6 +/* 80344B6C 00341ACC 38 C6 00 04 */ addi r6, r6, 4 +/* 80344B70 00341AD0 42 00 FF A0 */ bdnz lbl_80344B10 +/* 80344B74 00341AD4 70 63 00 07 */ andi. r3, r3, 7 +/* 80344B78 00341AD8 41 82 00 18 */ beq lbl_80344B90 +lbl_80344B7C: +/* 80344B7C 00341ADC 7C 69 03 A6 */ mtctr r3 +lbl_80344B80: +/* 80344B80 00341AE0 80 8D A9 70 */ lwz r4, lbl_805A9530@sda21(r13) +/* 80344B84 00341AE4 7C A4 31 2E */ stwx r5, r4, r6 +/* 80344B88 00341AE8 38 C6 00 04 */ addi r6, r6, 4 +/* 80344B8C 00341AEC 42 00 FF F4 */ bdnz lbl_80344B80 +lbl_80344B90: +/* 80344B90 00341AF0 38 60 00 01 */ li r3, 1 +/* 80344B94 00341AF4 4E 80 00 20 */ blr + +.global FindFreeBlocks__12CARAMManagerFUiUiUi +FindFreeBlocks__12CARAMManagerFUiUiUi: +/* 80344B98 00341AF8 80 ED A9 70 */ lwz r7, lbl_805A9530@sda21(r13) +/* 80344B9C 00341AFC 48 00 00 7C */ b lbl_80344C18 +lbl_80344BA0: +/* 80344BA0 00341B00 54 60 10 3A */ slwi r0, r3, 2 +/* 80344BA4 00341B04 7C 07 00 2E */ lwzx r0, r7, r0 +/* 80344BA8 00341B08 28 00 00 00 */ cmplwi r0, 0 +/* 80344BAC 00341B0C 40 82 00 68 */ bne lbl_80344C14 +/* 80344BB0 00341B10 28 05 00 01 */ cmplwi r5, 1 +/* 80344BB4 00341B14 4D 82 00 20 */ beqlr +/* 80344BB8 00341B18 38 63 00 01 */ addi r3, r3, 1 +/* 80344BBC 00341B1C 39 00 00 01 */ li r8, 1 +/* 80344BC0 00341B20 54 66 10 3A */ slwi r6, r3, 2 +/* 80344BC4 00341B24 7C 03 20 50 */ subf r0, r3, r4 +/* 80344BC8 00341B28 7C C7 32 14 */ add r6, r7, r6 +/* 80344BCC 00341B2C 7C 09 03 A6 */ mtctr r0 +/* 80344BD0 00341B30 7C 03 20 40 */ cmplw r3, r4 +/* 80344BD4 00341B34 40 80 00 44 */ bge lbl_80344C18 +lbl_80344BD8: +/* 80344BD8 00341B38 80 06 00 00 */ lwz r0, 0(r6) +/* 80344BDC 00341B3C 28 00 00 00 */ cmplwi r0, 0 +/* 80344BE0 00341B40 41 82 00 0C */ beq lbl_80344BEC +/* 80344BE4 00341B44 7C 63 02 14 */ add r3, r3, r0 +/* 80344BE8 00341B48 48 00 00 30 */ b lbl_80344C18 +lbl_80344BEC: +/* 80344BEC 00341B4C 39 08 00 01 */ addi r8, r8, 1 +/* 80344BF0 00341B50 7C 08 28 40 */ cmplw r8, r5 +/* 80344BF4 00341B54 40 82 00 10 */ bne lbl_80344C04 +/* 80344BF8 00341B58 38 05 FF FF */ addi r0, r5, -1 +/* 80344BFC 00341B5C 7C 60 18 50 */ subf r3, r0, r3 +/* 80344C00 00341B60 4E 80 00 20 */ blr +lbl_80344C04: +/* 80344C04 00341B64 38 C6 00 04 */ addi r6, r6, 4 +/* 80344C08 00341B68 38 63 00 01 */ addi r3, r3, 1 +/* 80344C0C 00341B6C 42 00 FF CC */ bdnz lbl_80344BD8 +/* 80344C10 00341B70 48 00 00 08 */ b lbl_80344C18 +lbl_80344C14: +/* 80344C14 00341B74 7C 63 02 14 */ add r3, r3, r0 +lbl_80344C18: +/* 80344C18 00341B78 7C 03 20 40 */ cmplw r3, r4 +/* 80344C1C 00341B7C 41 80 FF 84 */ blt lbl_80344BA0 +/* 80344C20 00341B80 38 60 FF FF */ li r3, -1 +/* 80344C24 00341B84 4E 80 00 20 */ blr + +.global Alloc__12CARAMManagerFUi +Alloc__12CARAMManagerFUi: +/* 80344C28 00341B88 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80344C2C 00341B8C 7C 08 02 A6 */ mflr r0 +/* 80344C30 00341B90 90 01 00 14 */ stw r0, 0x14(r1) +/* 80344C34 00341B94 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80344C38 00341B98 80 CD A9 68 */ lwz r6, lbl_805A9528@sda21(r13) +/* 80344C3C 00341B9C 80 8D A9 6C */ lwz r4, lbl_805A952C@sda21(r13) +/* 80344C40 00341BA0 7C A6 1A 14 */ add r5, r6, r3 +/* 80344C44 00341BA4 38 60 00 00 */ li r3, 0 +/* 80344C48 00341BA8 38 05 FF FF */ addi r0, r5, -1 +/* 80344C4C 00341BAC 7F E0 33 96 */ divwu r31, r0, r6 +/* 80344C50 00341BB0 7F E5 FB 78 */ mr r5, r31 +/* 80344C54 00341BB4 4B FF FF 45 */ bl FindFreeBlocks__12CARAMManagerFUiUiUi +/* 80344C58 00341BB8 3C 03 00 01 */ addis r0, r3, 1 +/* 80344C5C 00341BBC 28 00 FF FF */ cmplwi r0, 0xffff +/* 80344C60 00341BC0 40 82 00 0C */ bne lbl_80344C6C +/* 80344C64 00341BC4 38 60 FF FF */ li r3, -1 +/* 80344C68 00341BC8 48 00 00 48 */ b lbl_80344CB0 +lbl_80344C6C: +/* 80344C6C 00341BCC 80 0D A9 68 */ lwz r0, lbl_805A9528@sda21(r13) +/* 80344C70 00341BD0 54 67 10 3A */ slwi r7, r3, 2 +/* 80344C74 00341BD4 80 CD A9 78 */ lwz r6, lbl_805A9538@sda21(r13) +/* 80344C78 00341BD8 7C 83 01 D6 */ mullw r4, r3, r0 +/* 80344C7C 00341BDC 80 AD A9 64 */ lwz r5, lbl_805A9524@sda21(r13) +/* 80344C80 00341BE0 7C 06 FA 14 */ add r0, r6, r31 +/* 80344C84 00341BE4 80 6D A9 70 */ lwz r3, lbl_805A9530@sda21(r13) +/* 80344C88 00341BE8 90 0D A9 78 */ stw r0, lbl_805A9538@sda21(r13) +/* 80344C8C 00341BEC 38 00 FF FF */ li r0, -1 +/* 80344C90 00341BF0 7F E3 39 2E */ stwx r31, r3, r7 +/* 80344C94 00341BF4 7C 65 22 14 */ add r3, r5, r4 +/* 80344C98 00341BF8 48 00 00 10 */ b lbl_80344CA8 +lbl_80344C9C: +/* 80344C9C 00341BFC 80 8D A9 70 */ lwz r4, lbl_805A9530@sda21(r13) +/* 80344CA0 00341C00 38 E7 00 04 */ addi r7, r7, 4 +/* 80344CA4 00341C04 7C 04 39 2E */ stwx r0, r4, r7 +lbl_80344CA8: +/* 80344CA8 00341C08 37 FF FF FF */ addic. r31, r31, -1 +/* 80344CAC 00341C0C 40 82 FF F0 */ bne lbl_80344C9C +lbl_80344CB0: +/* 80344CB0 00341C10 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80344CB4 00341C14 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80344CB8 00341C18 7C 08 03 A6 */ mtlr r0 +/* 80344CBC 00341C1C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80344CC0 00341C20 4E 80 00 20 */ blr + +.global Shutdown__12CARAMManagerFv +Shutdown__12CARAMManagerFv: +/* 80344CC4 00341C24 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80344CC8 00341C28 7C 08 02 A6 */ mflr r0 +/* 80344CCC 00341C2C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80344CD0 00341C30 4B FF FA 39 */ bl WaitForAllDMAsToComplete__12CARAMManagerFv +/* 80344CD4 00341C34 80 6D A9 70 */ lwz r3, lbl_805A9530@sda21(r13) +/* 80344CD8 00341C38 4B FD 0C 59 */ bl Free__7CMemoryFPCv +/* 80344CDC 00341C3C 80 0D A9 6C */ lwz r0, lbl_805A952C@sda21(r13) +/* 80344CE0 00341C40 38 60 00 00 */ li r3, 0 +/* 80344CE4 00341C44 90 61 00 08 */ stw r3, 8(r1) +/* 80344CE8 00341C48 7C 00 00 D0 */ neg r0, r0 +/* 80344CEC 00341C4C 54 03 10 3A */ slwi r3, r0, 2 +/* 80344CF0 00341C50 4B FD 0B D1 */ bl OffsetFakeStatics__7CMemoryFi +/* 80344CF4 00341C54 38 61 00 08 */ addi r3, r1, 8 +/* 80344CF8 00341C58 48 02 8D 85 */ bl ARFree +/* 80344CFC 00341C5C 38 00 00 00 */ li r0, 0 +/* 80344D00 00341C60 98 0D A9 60 */ stb r0, lbl_805A9520@sda21(r13) +/* 80344D04 00341C64 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80344D08 00341C68 7C 08 03 A6 */ mtlr r0 +/* 80344D0C 00341C6C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80344D10 00341C70 4E 80 00 20 */ blr + +.global Initialize__12CARAMManagerFUi +Initialize__12CARAMManagerFUi: +/* 80344D14 00341C74 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80344D18 00341C78 7C 08 02 A6 */ mflr r0 +/* 80344D1C 00341C7C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80344D20 00341C80 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80344D24 00341C84 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80344D28 00341C88 7C 7E 1B 78 */ mr r30, r3 +/* 80344D2C 00341C8C 48 02 8E 91 */ bl ARGetSize +/* 80344D30 00341C90 80 0D 9D 60 */ lwz r0, lbl_805A8920@sda21(r13) +/* 80344D34 00341C94 93 CD A9 68 */ stw r30, lbl_805A9528@sda21(r13) +/* 80344D38 00341C98 7C 00 18 50 */ subf r0, r0, r3 +/* 80344D3C 00341C9C 7F E0 F3 96 */ divwu r31, r0, r30 +/* 80344D40 00341CA0 7C 7E F9 D6 */ mullw r3, r30, r31 +/* 80344D44 00341CA4 93 ED A9 6C */ stw r31, lbl_805A952C@sda21(r13) +/* 80344D48 00341CA8 48 02 8C CD */ bl ARAlloc +/* 80344D4C 00341CAC 3C A0 80 3D */ lis r5, lbl_803D7F50@ha +/* 80344D50 00341CB0 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha +/* 80344D54 00341CB4 90 6D A9 64 */ stw r3, lbl_805A9524@sda21(r13) +/* 80344D58 00341CB8 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l +/* 80344D5C 00341CBC 38 A5 7F 50 */ addi r5, r5, lbl_803D7F50@l +/* 80344D60 00341CC0 38 61 00 08 */ addi r3, r1, 8 +/* 80344D64 00341CC4 38 80 FF FF */ li r4, -1 +/* 80344D68 00341CC8 4B F9 16 6D */ bl __ct__10CCallStackFUiPCcPCc +/* 80344D6C 00341CCC 7C 67 1B 78 */ mr r7, r3 +/* 80344D70 00341CD0 57 E3 10 3A */ slwi r3, r31, 2 +/* 80344D74 00341CD4 38 80 00 00 */ li r4, 0 +/* 80344D78 00341CD8 38 A0 00 01 */ li r5, 1 +/* 80344D7C 00341CDC 38 C0 00 00 */ li r6, 0 +/* 80344D80 00341CE0 4B FD 0C 15 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 80344D84 00341CE4 80 0D A9 6C */ lwz r0, lbl_805A952C@sda21(r13) +/* 80344D88 00341CE8 90 6D A9 70 */ stw r3, lbl_805A9530@sda21(r13) +/* 80344D8C 00341CEC 54 03 10 3A */ slwi r3, r0, 2 +/* 80344D90 00341CF0 4B FD 0B 31 */ bl OffsetFakeStatics__7CMemoryFi +/* 80344D94 00341CF4 28 1F 00 00 */ cmplwi r31, 0 +/* 80344D98 00341CF8 39 80 00 00 */ li r12, 0 +/* 80344D9C 00341CFC 40 81 00 BC */ ble lbl_80344E58 +/* 80344DA0 00341D00 28 1F 00 08 */ cmplwi r31, 8 +/* 80344DA4 00341D04 38 7F FF F8 */ addi r3, r31, -8 +/* 80344DA8 00341D08 40 81 00 88 */ ble lbl_80344E30 +/* 80344DAC 00341D0C 38 03 00 07 */ addi r0, r3, 7 +/* 80344DB0 00341D10 39 60 00 00 */ li r11, 0 +/* 80344DB4 00341D14 54 00 E8 FE */ srwi r0, r0, 3 +/* 80344DB8 00341D18 7C 09 03 A6 */ mtctr r0 +/* 80344DBC 00341D1C 28 03 00 00 */ cmplwi r3, 0 +/* 80344DC0 00341D20 40 81 00 70 */ ble lbl_80344E30 +lbl_80344DC4: +/* 80344DC4 00341D24 80 6D A9 70 */ lwz r3, lbl_805A9530@sda21(r13) +/* 80344DC8 00341D28 39 40 00 00 */ li r10, 0 +/* 80344DCC 00341D2C 39 0B 00 04 */ addi r8, r11, 4 +/* 80344DD0 00341D30 38 EB 00 08 */ addi r7, r11, 8 +/* 80344DD4 00341D34 7D 43 59 2E */ stwx r10, r3, r11 +/* 80344DD8 00341D38 38 CB 00 0C */ addi r6, r11, 0xc +/* 80344DDC 00341D3C 38 AB 00 10 */ addi r5, r11, 0x10 +/* 80344DE0 00341D40 38 8B 00 14 */ addi r4, r11, 0x14 +/* 80344DE4 00341D44 81 2D A9 70 */ lwz r9, lbl_805A9530@sda21(r13) +/* 80344DE8 00341D48 38 6B 00 18 */ addi r3, r11, 0x18 +/* 80344DEC 00341D4C 38 0B 00 1C */ addi r0, r11, 0x1c +/* 80344DF0 00341D50 39 6B 00 20 */ addi r11, r11, 0x20 +/* 80344DF4 00341D54 7D 49 41 2E */ stwx r10, r9, r8 +/* 80344DF8 00341D58 39 8C 00 08 */ addi r12, r12, 8 +/* 80344DFC 00341D5C 81 0D A9 70 */ lwz r8, lbl_805A9530@sda21(r13) +/* 80344E00 00341D60 7D 48 39 2E */ stwx r10, r8, r7 +/* 80344E04 00341D64 80 ED A9 70 */ lwz r7, lbl_805A9530@sda21(r13) +/* 80344E08 00341D68 7D 47 31 2E */ stwx r10, r7, r6 +/* 80344E0C 00341D6C 80 CD A9 70 */ lwz r6, lbl_805A9530@sda21(r13) +/* 80344E10 00341D70 7D 46 29 2E */ stwx r10, r6, r5 +/* 80344E14 00341D74 80 AD A9 70 */ lwz r5, lbl_805A9530@sda21(r13) +/* 80344E18 00341D78 7D 45 21 2E */ stwx r10, r5, r4 +/* 80344E1C 00341D7C 80 8D A9 70 */ lwz r4, lbl_805A9530@sda21(r13) +/* 80344E20 00341D80 7D 44 19 2E */ stwx r10, r4, r3 +/* 80344E24 00341D84 80 6D A9 70 */ lwz r3, lbl_805A9530@sda21(r13) +/* 80344E28 00341D88 7D 43 01 2E */ stwx r10, r3, r0 +/* 80344E2C 00341D8C 42 00 FF 98 */ bdnz lbl_80344DC4 +lbl_80344E30: +/* 80344E30 00341D90 7C 0C F8 50 */ subf r0, r12, r31 +/* 80344E34 00341D94 55 85 10 3A */ slwi r5, r12, 2 +/* 80344E38 00341D98 38 80 00 00 */ li r4, 0 +/* 80344E3C 00341D9C 7C 09 03 A6 */ mtctr r0 +/* 80344E40 00341DA0 7C 0C F8 40 */ cmplw r12, r31 +/* 80344E44 00341DA4 40 80 00 14 */ bge lbl_80344E58 +lbl_80344E48: +/* 80344E48 00341DA8 80 6D A9 70 */ lwz r3, lbl_805A9530@sda21(r13) +/* 80344E4C 00341DAC 7C 83 29 2E */ stwx r4, r3, r5 +/* 80344E50 00341DB0 38 A5 00 04 */ addi r5, r5, 4 +/* 80344E54 00341DB4 42 00 FF F4 */ bdnz lbl_80344E48 +lbl_80344E58: +/* 80344E58 00341DB8 38 60 00 00 */ li r3, 0 +/* 80344E5C 00341DBC 38 00 00 01 */ li r0, 1 +/* 80344E60 00341DC0 90 6D A9 74 */ stw r3, lbl_805A9534@sda21(r13) +/* 80344E64 00341DC4 38 60 00 01 */ li r3, 1 +/* 80344E68 00341DC8 98 0D A9 60 */ stb r0, lbl_805A9520@sda21(r13) +/* 80344E6C 00341DCC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80344E70 00341DD0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80344E74 00341DD4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80344E78 00341DD8 7C 08 03 A6 */ mtlr r0 +/* 80344E7C 00341DDC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80344E80 00341DE0 4E 80 00 20 */ blr + +.global sub_80344e84 +sub_80344e84: +/* 80344E84 00341DE4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80344E88 00341DE8 7C 08 02 A6 */ mflr r0 +/* 80344E8C 00341DEC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80344E90 00341DF0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80344E94 00341DF4 93 C1 00 08 */ stw r30, 8(r1) +/* 80344E98 00341DF8 7C 7E 1B 78 */ mr r30, r3 +/* 80344E9C 00341DFC 80 03 00 04 */ lwz r0, 4(r3) +/* 80344EA0 00341E00 83 E4 00 04 */ lwz r31, 4(r4) +/* 80344EA4 00341E04 7C 04 00 40 */ cmplw r4, r0 +/* 80344EA8 00341E08 40 82 00 08 */ bne lbl_80344EB0 +/* 80344EAC 00341E0C 93 FE 00 04 */ stw r31, 4(r30) +lbl_80344EB0: +/* 80344EB0 00341E10 80 04 00 04 */ lwz r0, 4(r4) +/* 80344EB4 00341E14 28 04 00 00 */ cmplwi r4, 0 +/* 80344EB8 00341E18 80 64 00 00 */ lwz r3, 0(r4) +/* 80344EBC 00341E1C 90 03 00 04 */ stw r0, 4(r3) +/* 80344EC0 00341E20 80 04 00 00 */ lwz r0, 0(r4) +/* 80344EC4 00341E24 80 64 00 04 */ lwz r3, 4(r4) +/* 80344EC8 00341E28 90 03 00 00 */ stw r0, 0(r3) +/* 80344ECC 00341E2C 41 82 00 0C */ beq lbl_80344ED8 +/* 80344ED0 00341E30 7C 83 23 78 */ mr r3, r4 +/* 80344ED4 00341E34 4B FD 0A 5D */ bl Free__7CMemoryFPCv +lbl_80344ED8: +/* 80344ED8 00341E38 80 9E 00 14 */ lwz r4, 0x14(r30) +/* 80344EDC 00341E3C 7F E3 FB 78 */ mr r3, r31 +/* 80344EE0 00341E40 38 04 FF FF */ addi r0, r4, -1 +/* 80344EE4 00341E44 90 1E 00 14 */ stw r0, 0x14(r30) +/* 80344EE8 00341E48 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80344EEC 00341E4C 83 C1 00 08 */ lwz r30, 8(r1) +/* 80344EF0 00341E50 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80344EF4 00341E54 7C 08 03 A6 */ mtlr r0 +/* 80344EF8 00341E58 38 21 00 10 */ addi r1, r1, 0x10 +/* 80344EFC 00341E5C 4E 80 00 20 */ blr + +.global __sinit_CARAMManager_cpp +__sinit_CARAMManager_cpp: +/* 80344F00 00341E60 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80344F04 00341E64 7C 08 02 A6 */ mflr r0 +/* 80344F08 00341E68 3C 60 80 5A */ lis r3, lbl_805A679C@ha +/* 80344F0C 00341E6C 3C 80 80 34 */ lis r4, "__dt__Q24rstl67listFv"@ha +/* 80344F10 00341E70 90 01 00 14 */ stw r0, 0x14(r1) +/* 80344F14 00341E74 38 63 67 9C */ addi r3, r3, lbl_805A679C@l +/* 80344F18 00341E78 38 C3 00 0C */ addi r6, r3, 0xc +/* 80344F1C 00341E7C 38 00 00 00 */ li r0, 0 +/* 80344F20 00341E80 3C A0 80 4C */ lis r5, lbl_804BFF40@ha +/* 80344F24 00341E84 90 C3 00 04 */ stw r6, 4(r3) +/* 80344F28 00341E88 38 84 4F 54 */ addi r4, r4, "__dt__Q24rstl67listFv"@l +/* 80344F2C 00341E8C 90 C3 00 08 */ stw r6, 8(r3) +/* 80344F30 00341E90 38 A5 FF 40 */ addi r5, r5, lbl_804BFF40@l +/* 80344F34 00341E94 90 C6 00 00 */ stw r6, 0(r6) +/* 80344F38 00341E98 90 C3 00 10 */ stw r6, 0x10(r3) +/* 80344F3C 00341E9C 90 03 00 14 */ stw r0, 0x14(r3) +/* 80344F40 00341EA0 48 04 47 4D */ bl __register_global_object +/* 80344F44 00341EA4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80344F48 00341EA8 7C 08 03 A6 */ mtlr r0 +/* 80344F4C 00341EAC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80344F50 00341EB0 4E 80 00 20 */ blr + +.global "__dt__Q24rstl67listFv" +"__dt__Q24rstl67listFv": +/* 80344F54 00341EB4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80344F58 00341EB8 7C 08 02 A6 */ mflr r0 +/* 80344F5C 00341EBC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80344F60 00341EC0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80344F64 00341EC4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80344F68 00341EC8 7C 9E 23 78 */ mr r30, r4 +/* 80344F6C 00341ECC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80344F70 00341ED0 7C 7D 1B 79 */ or. r29, r3, r3 +/* 80344F74 00341ED4 41 82 00 38 */ beq lbl_80344FAC +/* 80344F78 00341ED8 83 FD 00 04 */ lwz r31, 4(r29) +/* 80344F7C 00341EDC 48 00 00 14 */ b lbl_80344F90 +lbl_80344F80: +/* 80344F80 00341EE0 7F E3 FB 79 */ or. r3, r31, r31 +/* 80344F84 00341EE4 83 FF 00 04 */ lwz r31, 4(r31) +/* 80344F88 00341EE8 41 82 00 08 */ beq lbl_80344F90 +/* 80344F8C 00341EEC 4B FD 09 A5 */ bl Free__7CMemoryFPCv +lbl_80344F90: +/* 80344F90 00341EF0 80 1D 00 08 */ lwz r0, 8(r29) +/* 80344F94 00341EF4 7C 1F 00 40 */ cmplw r31, r0 +/* 80344F98 00341EF8 40 82 FF E8 */ bne lbl_80344F80 +/* 80344F9C 00341EFC 7F C0 07 35 */ extsh. r0, r30 +/* 80344FA0 00341F00 40 81 00 0C */ ble lbl_80344FAC +/* 80344FA4 00341F04 7F A3 EB 78 */ mr r3, r29 +/* 80344FA8 00341F08 4B FD 09 89 */ bl Free__7CMemoryFPCv +lbl_80344FAC: +/* 80344FAC 00341F0C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80344FB0 00341F10 7F A3 EB 78 */ mr r3, r29 +/* 80344FB4 00341F14 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80344FB8 00341F18 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80344FBC 00341F1C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80344FC0 00341F20 7C 08 03 A6 */ mtlr r0 +/* 80344FC4 00341F24 38 21 00 20 */ addi r1, r1, 0x20 +/* 80344FC8 00341F28 4E 80 00 20 */ blr diff --git a/asm/Kyoto/CARAMToken.s b/asm/Kyoto/CARAMToken.s new file mode 100644 index 00000000..2f89dd64 --- /dev/null +++ b/asm/Kyoto/CARAMToken.s @@ -0,0 +1,620 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global GetMRAMSafe__10CARAMTokenFv +GetMRAMSafe__10CARAMTokenFv: +/* 80358334 00355294 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80358338 00355298 7C 08 02 A6 */ mflr r0 +/* 8035833C 0035529C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80358340 003552A0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80358344 003552A4 7C 7F 1B 78 */ mr r31, r3 +/* 80358348 003552A8 80 03 00 00 */ lwz r0, 0(r3) +/* 8035834C 003552AC 2C 00 00 01 */ cmpwi r0, 1 +/* 80358350 003552B0 40 82 00 0C */ bne lbl_8035835C +/* 80358354 003552B4 80 7F 00 04 */ lwz r3, 4(r31) +/* 80358358 003552B8 48 00 00 1C */ b lbl_80358374 +lbl_8035835C: +/* 8035835C 003552BC 48 00 04 11 */ bl LoadToMRAM__10CARAMTokenFv +lbl_80358360: +/* 80358360 003552C0 7F E3 FB 78 */ mr r3, r31 +/* 80358364 003552C4 48 00 02 45 */ bl RefreshStatus__10CARAMTokenFv +/* 80358368 003552C8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8035836C 003552CC 41 82 FF F4 */ beq lbl_80358360 +/* 80358370 003552D0 80 7F 00 04 */ lwz r3, 4(r31) +lbl_80358374: +/* 80358374 003552D4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80358378 003552D8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8035837C 003552DC 7C 08 03 A6 */ mtlr r0 +/* 80358380 003552E0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80358384 003552E4 4E 80 00 20 */ blr + +.global sub_80358388 +sub_80358388: +/* 80358388 003552E8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8035838C 003552EC 7C 08 02 A6 */ mflr r0 +/* 80358390 003552F0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80358394 003552F4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80358398 003552F8 7C 7F 1B 78 */ mr r31, r3 +/* 8035839C 003552FC 80 03 00 00 */ lwz r0, 0(r3) +/* 803583A0 00355300 2C 00 00 02 */ cmpwi r0, 2 +/* 803583A4 00355304 41 80 00 1C */ blt lbl_803583C0 +/* 803583A8 00355308 2C 00 00 05 */ cmpwi r0, 5 +/* 803583AC 0035530C 41 81 00 14 */ bgt lbl_803583C0 +/* 803583B0 00355310 80 7F 00 10 */ lwz r3, 0x10(r31) +/* 803583B4 00355314 4B FE C3 95 */ bl WaitForDMACompletion__12CARAMManagerFUi +/* 803583B8 00355318 7F E3 FB 78 */ mr r3, r31 +/* 803583BC 0035531C 48 00 01 ED */ bl RefreshStatus__10CARAMTokenFv +lbl_803583C0: +/* 803583C0 00355320 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803583C4 00355324 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803583C8 00355328 7C 08 03 A6 */ mtlr r0 +/* 803583CC 0035532C 38 21 00 10 */ addi r1, r1, 0x10 +/* 803583D0 00355330 4E 80 00 20 */ blr + +.global sub_803583d4 +sub_803583d4: +/* 803583D4 00355334 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803583D8 00355338 7C 08 02 A6 */ mflr r0 +/* 803583DC 0035533C 90 01 00 14 */ stw r0, 0x14(r1) +/* 803583E0 00355340 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803583E4 00355344 7C 7F 1B 78 */ mr r31, r3 +/* 803583E8 00355348 4B FF FF 4D */ bl GetMRAMSafe__10CARAMTokenFv +/* 803583EC 0035534C 7C 60 1B 78 */ mr r0, r3 +/* 803583F0 00355350 7F E3 FB 78 */ mr r3, r31 +/* 803583F4 00355354 7C 1F 03 78 */ mr r31, r0 +/* 803583F8 00355358 48 00 00 1D */ bl MakeInvalid__10CARAMTokenFv +/* 803583FC 0035535C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80358400 00355360 7F E3 FB 78 */ mr r3, r31 +/* 80358404 00355364 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80358408 00355368 7C 08 03 A6 */ mtlr r0 +/* 8035840C 0035536C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80358410 00355370 4E 80 00 20 */ blr + +.global MakeInvalid__10CARAMTokenFv +MakeInvalid__10CARAMTokenFv: +/* 80358414 00355374 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80358418 00355378 7C 08 02 A6 */ mflr r0 +/* 8035841C 0035537C 38 80 00 06 */ li r4, 6 +/* 80358420 00355380 90 01 00 14 */ stw r0, 0x14(r1) +/* 80358424 00355384 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80358428 00355388 7C 7F 1B 78 */ mr r31, r3 +/* 8035842C 0035538C 48 00 00 7D */ bl MoveToList__10CARAMTokenFQ210CARAMToken7EStatus +/* 80358430 00355390 38 80 00 00 */ li r4, 0 +/* 80358434 00355394 80 62 CB A8 */ lwz r3, lbl_805AE8C8@sda21(r2) +/* 80358438 00355398 90 9F 00 04 */ stw r4, 4(r31) +/* 8035843C 0035539C 80 02 CB AC */ lwz r0, lbl_805AE8CC@sda21(r2) +/* 80358440 003553A0 90 7F 00 08 */ stw r3, 8(r31) +/* 80358444 003553A4 90 9F 00 0C */ stw r4, 0xc(r31) +/* 80358448 003553A8 90 1F 00 10 */ stw r0, 0x10(r31) +/* 8035844C 003553AC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80358450 003553B0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80358454 003553B4 7C 08 03 A6 */ mtlr r0 +/* 80358458 003553B8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8035845C 003553BC 4E 80 00 20 */ blr + +.global RemoveFromList__10CARAMTokenFv +RemoveFromList__10CARAMTokenFv: +/* 80358460 003553C0 80 83 00 14 */ lwz r4, 0x14(r3) +/* 80358464 003553C4 28 04 00 00 */ cmplwi r4, 0 +/* 80358468 003553C8 40 82 00 20 */ bne lbl_80358488 +/* 8035846C 003553CC 80 03 00 00 */ lwz r0, 0(r3) +/* 80358470 003553D0 3C 80 80 5A */ lis r4, lbl_805A680C@ha +/* 80358474 003553D4 80 A3 00 18 */ lwz r5, 0x18(r3) +/* 80358478 003553D8 38 84 68 0C */ addi r4, r4, lbl_805A680C@l +/* 8035847C 003553DC 54 00 10 3A */ slwi r0, r0, 2 +/* 80358480 003553E0 7C A4 01 2E */ stwx r5, r4, r0 +/* 80358484 003553E4 48 00 00 0C */ b lbl_80358490 +lbl_80358488: +/* 80358488 003553E8 80 03 00 18 */ lwz r0, 0x18(r3) +/* 8035848C 003553EC 90 04 00 18 */ stw r0, 0x18(r4) +lbl_80358490: +/* 80358490 003553F0 80 83 00 18 */ lwz r4, 0x18(r3) +/* 80358494 003553F4 28 04 00 00 */ cmplwi r4, 0 +/* 80358498 003553F8 4D 82 00 20 */ beqlr +/* 8035849C 003553FC 80 03 00 14 */ lwz r0, 0x14(r3) +/* 803584A0 00355400 90 04 00 14 */ stw r0, 0x14(r4) +/* 803584A4 00355404 4E 80 00 20 */ blr + +.global MoveToList__10CARAMTokenFQ210CARAMToken7EStatus +MoveToList__10CARAMTokenFQ210CARAMToken7EStatus: +/* 803584A8 00355408 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803584AC 0035540C 7C 08 02 A6 */ mflr r0 +/* 803584B0 00355410 90 01 00 14 */ stw r0, 0x14(r1) +/* 803584B4 00355414 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803584B8 00355418 7C 9F 23 78 */ mr r31, r4 +/* 803584BC 0035541C 93 C1 00 08 */ stw r30, 8(r1) +/* 803584C0 00355420 7C 7E 1B 78 */ mr r30, r3 +/* 803584C4 00355424 80 03 00 00 */ lwz r0, 0(r3) +/* 803584C8 00355428 7C 00 F8 00 */ cmpw r0, r31 +/* 803584CC 0035542C 41 82 00 14 */ beq lbl_803584E0 +/* 803584D0 00355430 4B FF FF 91 */ bl RemoveFromList__10CARAMTokenFv +/* 803584D4 00355434 93 FE 00 00 */ stw r31, 0(r30) +/* 803584D8 00355438 7F C3 F3 78 */ mr r3, r30 +/* 803584DC 0035543C 48 00 00 1D */ bl InitiallyMoveToList__10CARAMTokenFv +lbl_803584E0: +/* 803584E0 00355440 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803584E4 00355444 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803584E8 00355448 83 C1 00 08 */ lwz r30, 8(r1) +/* 803584EC 0035544C 7C 08 03 A6 */ mtlr r0 +/* 803584F0 00355450 38 21 00 10 */ addi r1, r1, 0x10 +/* 803584F4 00355454 4E 80 00 20 */ blr + +.global InitiallyMoveToList__10CARAMTokenFv +InitiallyMoveToList__10CARAMTokenFv: +/* 803584F8 00355458 38 00 00 00 */ li r0, 0 +/* 803584FC 0035545C 3C 80 80 5A */ lis r4, lbl_805A680C@ha +/* 80358500 00355460 90 03 00 14 */ stw r0, 0x14(r3) +/* 80358504 00355464 38 84 68 0C */ addi r4, r4, lbl_805A680C@l +/* 80358508 00355468 80 03 00 00 */ lwz r0, 0(r3) +/* 8035850C 0035546C 54 00 10 3A */ slwi r0, r0, 2 +/* 80358510 00355470 7C 04 00 2E */ lwzx r0, r4, r0 +/* 80358514 00355474 90 03 00 18 */ stw r0, 0x18(r3) +/* 80358518 00355478 80 03 00 00 */ lwz r0, 0(r3) +/* 8035851C 0035547C 54 00 10 3A */ slwi r0, r0, 2 +/* 80358520 00355480 7C 64 01 2E */ stwx r3, r4, r0 +/* 80358524 00355484 80 83 00 18 */ lwz r4, 0x18(r3) +/* 80358528 00355488 28 04 00 00 */ cmplwi r4, 0 +/* 8035852C 0035548C 4D 82 00 20 */ beqlr +/* 80358530 00355490 90 64 00 14 */ stw r3, 0x14(r4) +/* 80358534 00355494 4E 80 00 20 */ blr + +.global UpdateAllDMAs__10CARAMTokenFv +UpdateAllDMAs__10CARAMTokenFv: +/* 80358538 00355498 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8035853C 0035549C 7C 08 02 A6 */ mflr r0 +/* 80358540 003554A0 3C 60 80 5A */ lis r3, lbl_805A680C@ha +/* 80358544 003554A4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80358548 003554A8 38 63 68 0C */ addi r3, r3, lbl_805A680C@l +/* 8035854C 003554AC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80358550 003554B0 3B E3 00 08 */ addi r31, r3, 8 +/* 80358554 003554B4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80358558 003554B8 3B C0 00 02 */ li r30, 2 +/* 8035855C 003554BC 93 A1 00 14 */ stw r29, 0x14(r1) +lbl_80358560: +/* 80358560 003554C0 80 7F 00 00 */ lwz r3, 0(r31) +/* 80358564 003554C4 48 00 00 10 */ b lbl_80358574 +lbl_80358568: +/* 80358568 003554C8 83 A3 00 18 */ lwz r29, 0x18(r3) +/* 8035856C 003554CC 48 00 00 3D */ bl RefreshStatus__10CARAMTokenFv +/* 80358570 003554D0 7F A3 EB 78 */ mr r3, r29 +lbl_80358574: +/* 80358574 003554D4 28 03 00 00 */ cmplwi r3, 0 +/* 80358578 003554D8 40 82 FF F0 */ bne lbl_80358568 +/* 8035857C 003554DC 3B DE 00 01 */ addi r30, r30, 1 +/* 80358580 003554E0 3B FF 00 04 */ addi r31, r31, 4 +/* 80358584 003554E4 2C 1E 00 05 */ cmpwi r30, 5 +/* 80358588 003554E8 40 81 FF D8 */ ble lbl_80358560 +/* 8035858C 003554EC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80358590 003554F0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80358594 003554F4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80358598 003554F8 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8035859C 003554FC 7C 08 03 A6 */ mtlr r0 +/* 803585A0 00355500 38 21 00 20 */ addi r1, r1, 0x20 +/* 803585A4 00355504 4E 80 00 20 */ blr + +.global RefreshStatus__10CARAMTokenFv +RefreshStatus__10CARAMTokenFv: +/* 803585A8 00355508 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803585AC 0035550C 7C 08 02 A6 */ mflr r0 +/* 803585B0 00355510 90 01 00 14 */ stw r0, 0x14(r1) +/* 803585B4 00355514 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803585B8 00355518 7C 7F 1B 78 */ mr r31, r3 +/* 803585BC 0035551C 80 03 00 00 */ lwz r0, 0(r3) +/* 803585C0 00355520 2C 00 00 01 */ cmpwi r0, 1 +/* 803585C4 00355524 41 82 00 0C */ beq lbl_803585D0 +/* 803585C8 00355528 2C 00 00 00 */ cmpwi r0, 0 +/* 803585CC 0035552C 40 82 00 0C */ bne lbl_803585D8 +lbl_803585D0: +/* 803585D0 00355530 38 60 00 01 */ li r3, 1 +/* 803585D4 00355534 48 00 00 90 */ b lbl_80358664 +lbl_803585D8: +/* 803585D8 00355538 80 7F 00 10 */ lwz r3, 0x10(r31) +/* 803585DC 0035553C 4B FE C1 E9 */ bl IsDMACompleted__12CARAMManagerFUi +/* 803585E0 00355540 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 803585E4 00355544 40 82 00 0C */ bne lbl_803585F0 +/* 803585E8 00355548 38 60 00 00 */ li r3, 0 +/* 803585EC 0035554C 48 00 00 78 */ b lbl_80358664 +lbl_803585F0: +/* 803585F0 00355550 80 02 CB AC */ lwz r0, lbl_805AE8CC@sda21(r2) +/* 803585F4 00355554 90 1F 00 10 */ stw r0, 0x10(r31) +/* 803585F8 00355558 80 1F 00 00 */ lwz r0, 0(r31) +/* 803585FC 0035555C 2C 00 00 05 */ cmpwi r0, 5 +/* 80358600 00355560 41 82 00 44 */ beq lbl_80358644 +/* 80358604 00355564 40 80 00 5C */ bge lbl_80358660 +/* 80358608 00355568 2C 00 00 02 */ cmpwi r0, 2 +/* 8035860C 0035556C 41 82 00 38 */ beq lbl_80358644 +/* 80358610 00355570 40 80 00 08 */ bge lbl_80358618 +/* 80358614 00355574 48 00 00 4C */ b lbl_80358660 +lbl_80358618: +/* 80358618 00355578 88 1F 00 1C */ lbz r0, 0x1c(r31) +/* 8035861C 0035557C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80358620 00355580 40 82 00 14 */ bne lbl_80358634 +/* 80358624 00355584 80 7F 00 08 */ lwz r3, 8(r31) +/* 80358628 00355588 4B FE C4 95 */ bl Free__12CARAMManagerFPCv +/* 8035862C 0035558C 80 02 CB A8 */ lwz r0, lbl_805AE8C8@sda21(r2) +/* 80358630 00355590 90 1F 00 08 */ stw r0, 8(r31) +lbl_80358634: +/* 80358634 00355594 7F E3 FB 78 */ mr r3, r31 +/* 80358638 00355598 38 80 00 01 */ li r4, 1 +/* 8035863C 0035559C 4B FF FE 6D */ bl MoveToList__10CARAMTokenFQ210CARAMToken7EStatus +/* 80358640 003555A0 48 00 00 20 */ b lbl_80358660 +lbl_80358644: +/* 80358644 003555A4 80 7F 00 04 */ lwz r3, 4(r31) +/* 80358648 003555A8 4B FB D2 E9 */ bl Free__7CMemoryFPCv +/* 8035864C 003555AC 38 00 00 00 */ li r0, 0 +/* 80358650 003555B0 7F E3 FB 78 */ mr r3, r31 +/* 80358654 003555B4 90 1F 00 04 */ stw r0, 4(r31) +/* 80358658 003555B8 38 80 00 00 */ li r4, 0 +/* 8035865C 003555BC 4B FF FE 4D */ bl MoveToList__10CARAMTokenFQ210CARAMToken7EStatus +lbl_80358660: +/* 80358660 003555C0 38 60 00 01 */ li r3, 1 +lbl_80358664: +/* 80358664 003555C4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80358668 003555C8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8035866C 003555CC 7C 08 03 A6 */ mtlr r0 +/* 80358670 003555D0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80358674 003555D4 4E 80 00 20 */ blr + +.global LoadToARAM__10CARAMTokenFv +LoadToARAM__10CARAMTokenFv: +/* 80358678 003555D8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8035867C 003555DC 7C 08 02 A6 */ mflr r0 +/* 80358680 003555E0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80358684 003555E4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80358688 003555E8 7C 7F 1B 78 */ mr r31, r3 +/* 8035868C 003555EC 80 03 00 00 */ lwz r0, 0(r3) +/* 80358690 003555F0 2C 00 00 03 */ cmpwi r0, 3 +/* 80358694 003555F4 41 82 00 38 */ beq lbl_803586CC +/* 80358698 003555F8 40 80 00 1C */ bge lbl_803586B4 +/* 8035869C 003555FC 2C 00 00 01 */ cmpwi r0, 1 +/* 803586A0 00355600 41 82 00 60 */ beq lbl_80358700 +/* 803586A4 00355604 40 80 00 AC */ bge lbl_80358750 +/* 803586A8 00355608 2C 00 00 00 */ cmpwi r0, 0 +/* 803586AC 0035560C 40 80 00 18 */ bge lbl_803586C4 +/* 803586B0 00355610 48 00 00 A0 */ b lbl_80358750 +lbl_803586B4: +/* 803586B4 00355614 2C 00 00 05 */ cmpwi r0, 5 +/* 803586B8 00355618 41 82 00 0C */ beq lbl_803586C4 +/* 803586BC 0035561C 40 80 00 94 */ bge lbl_80358750 +/* 803586C0 00355620 48 00 00 34 */ b lbl_803586F4 +lbl_803586C4: +/* 803586C4 00355624 38 60 00 01 */ li r3, 1 +/* 803586C8 00355628 48 00 00 90 */ b lbl_80358758 +lbl_803586CC: +/* 803586CC 0035562C 38 80 00 05 */ li r4, 5 +/* 803586D0 00355630 4B FF FD D9 */ bl MoveToList__10CARAMTokenFQ210CARAMToken7EStatus +/* 803586D4 00355634 80 7F 00 10 */ lwz r3, 0x10(r31) +/* 803586D8 00355638 4B FE BF E5 */ bl CancelDMA__12CARAMManagerFUi +/* 803586DC 0035563C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 803586E0 00355640 41 82 00 0C */ beq lbl_803586EC +/* 803586E4 00355644 7F E3 FB 78 */ mr r3, r31 +/* 803586E8 00355648 4B FF FE C1 */ bl RefreshStatus__10CARAMTokenFv +lbl_803586EC: +/* 803586EC 0035564C 38 60 00 01 */ li r3, 1 +/* 803586F0 00355650 48 00 00 68 */ b lbl_80358758 +lbl_803586F4: +/* 803586F4 00355654 38 80 00 02 */ li r4, 2 +/* 803586F8 00355658 4B FF FD B1 */ bl MoveToList__10CARAMTokenFQ210CARAMToken7EStatus +/* 803586FC 0035565C 48 00 00 54 */ b lbl_80358750 +lbl_80358700: +/* 80358700 00355660 88 1F 00 1C */ lbz r0, 0x1c(r31) +/* 80358704 00355664 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80358708 00355668 40 82 00 3C */ bne lbl_80358744 +/* 8035870C 0035566C 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 80358710 00355670 4B FE C5 19 */ bl Alloc__12CARAMManagerFUi +/* 80358714 00355674 90 7F 00 08 */ stw r3, 8(r31) +/* 80358718 00355678 80 02 CB A8 */ lwz r0, lbl_805AE8C8@sda21(r2) +/* 8035871C 0035567C 80 9F 00 08 */ lwz r4, 8(r31) +/* 80358720 00355680 7C 00 20 40 */ cmplw r0, r4 +/* 80358724 00355684 40 82 00 0C */ bne lbl_80358730 +/* 80358728 00355688 38 60 00 00 */ li r3, 0 +/* 8035872C 0035568C 48 00 00 2C */ b lbl_80358758 +lbl_80358730: +/* 80358730 00355690 80 7F 00 04 */ lwz r3, 4(r31) +/* 80358734 00355694 38 C0 00 01 */ li r6, 1 +/* 80358738 00355698 80 BF 00 0C */ lwz r5, 0xc(r31) +/* 8035873C 0035569C 4B FE C2 4D */ bl DMAToARAM__12CARAMManagerFPvPvUiQ212CARAMManager12EDMAPriority +/* 80358740 003556A0 90 7F 00 10 */ stw r3, 0x10(r31) +lbl_80358744: +/* 80358744 003556A4 7F E3 FB 78 */ mr r3, r31 +/* 80358748 003556A8 38 80 00 02 */ li r4, 2 +/* 8035874C 003556AC 4B FF FD 5D */ bl MoveToList__10CARAMTokenFQ210CARAMToken7EStatus +lbl_80358750: +/* 80358750 003556B0 7F E3 FB 78 */ mr r3, r31 +/* 80358754 003556B4 4B FF FE 55 */ bl RefreshStatus__10CARAMTokenFv +lbl_80358758: +/* 80358758 003556B8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8035875C 003556BC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80358760 003556C0 7C 08 03 A6 */ mtlr r0 +/* 80358764 003556C4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80358768 003556C8 4E 80 00 20 */ blr + +.global LoadToMRAM__10CARAMTokenFv +LoadToMRAM__10CARAMTokenFv: +/* 8035876C 003556CC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80358770 003556D0 7C 08 02 A6 */ mflr r0 +/* 80358774 003556D4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80358778 003556D8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8035877C 003556DC 7C 7F 1B 78 */ mr r31, r3 +/* 80358780 003556E0 80 03 00 00 */ lwz r0, 0(r3) +/* 80358784 003556E4 2C 00 00 03 */ cmpwi r0, 3 +/* 80358788 003556E8 41 82 00 D0 */ beq lbl_80358858 +/* 8035878C 003556EC 40 80 00 1C */ bge lbl_803587A8 +/* 80358790 003556F0 2C 00 00 01 */ cmpwi r0, 1 +/* 80358794 003556F4 41 82 00 20 */ beq lbl_803587B4 +/* 80358798 003556F8 40 80 00 24 */ bge lbl_803587BC +/* 8035879C 003556FC 2C 00 00 00 */ cmpwi r0, 0 +/* 803587A0 00355700 40 80 00 50 */ bge lbl_803587F0 +/* 803587A4 00355704 48 00 00 B4 */ b lbl_80358858 +lbl_803587A8: +/* 803587A8 00355708 2C 00 00 05 */ cmpwi r0, 5 +/* 803587AC 0035570C 41 82 00 38 */ beq lbl_803587E4 +/* 803587B0 00355710 40 80 00 A8 */ bge lbl_80358858 +lbl_803587B4: +/* 803587B4 00355714 38 60 00 01 */ li r3, 1 +/* 803587B8 00355718 48 00 00 A8 */ b lbl_80358860 +lbl_803587BC: +/* 803587BC 0035571C 38 80 00 04 */ li r4, 4 +/* 803587C0 00355720 4B FF FC E9 */ bl MoveToList__10CARAMTokenFQ210CARAMToken7EStatus +/* 803587C4 00355724 80 7F 00 10 */ lwz r3, 0x10(r31) +/* 803587C8 00355728 4B FE BE F5 */ bl CancelDMA__12CARAMManagerFUi +/* 803587CC 0035572C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 803587D0 00355730 41 82 00 0C */ beq lbl_803587DC +/* 803587D4 00355734 7F E3 FB 78 */ mr r3, r31 +/* 803587D8 00355738 4B FF FD D1 */ bl RefreshStatus__10CARAMTokenFv +lbl_803587DC: +/* 803587DC 0035573C 38 60 00 01 */ li r3, 1 +/* 803587E0 00355740 48 00 00 80 */ b lbl_80358860 +lbl_803587E4: +/* 803587E4 00355744 38 80 00 03 */ li r4, 3 +/* 803587E8 00355748 4B FF FC C1 */ bl MoveToList__10CARAMTokenFQ210CARAMToken7EStatus +/* 803587EC 0035574C 48 00 00 6C */ b lbl_80358858 +lbl_803587F0: +/* 803587F0 00355750 3C 60 80 3E */ lis r3, lbl_803D8338@ha +/* 803587F4 00355754 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha +/* 803587F8 00355758 38 A3 83 38 */ addi r5, r3, lbl_803D8338@l +/* 803587FC 0035575C 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l +/* 80358800 00355760 38 61 00 08 */ addi r3, r1, 8 +/* 80358804 00355764 38 80 FF FF */ li r4, -1 +/* 80358808 00355768 4B F7 DB CD */ bl __ct__10CCallStackFUiPCcPCc +/* 8035880C 0035576C 7C 67 1B 78 */ mr r7, r3 +/* 80358810 00355770 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 80358814 00355774 38 80 00 02 */ li r4, 2 +/* 80358818 00355778 38 A0 00 01 */ li r5, 1 +/* 8035881C 0035577C 38 C0 00 00 */ li r6, 0 +/* 80358820 00355780 4B FB D1 75 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 80358824 00355784 90 7F 00 04 */ stw r3, 4(r31) +/* 80358828 00355788 80 7F 00 04 */ lwz r3, 4(r31) +/* 8035882C 0035578C 80 9F 00 0C */ lwz r4, 0xc(r31) +/* 80358830 00355790 48 02 62 55 */ bl DCInvalidateRange +/* 80358834 00355794 80 7F 00 08 */ lwz r3, 8(r31) +/* 80358838 00355798 38 C0 00 01 */ li r6, 1 +/* 8035883C 0035579C 80 9F 00 04 */ lwz r4, 4(r31) +/* 80358840 003557A0 80 BF 00 0C */ lwz r5, 0xc(r31) +/* 80358844 003557A4 4B FE C0 0D */ bl DMAToMRAM__12CARAMManagerFPvPvUiQ212CARAMManager12EDMAPriority +/* 80358848 003557A8 90 7F 00 10 */ stw r3, 0x10(r31) +/* 8035884C 003557AC 7F E3 FB 78 */ mr r3, r31 +/* 80358850 003557B0 38 80 00 03 */ li r4, 3 +/* 80358854 003557B4 4B FF FC 55 */ bl MoveToList__10CARAMTokenFQ210CARAMToken7EStatus +lbl_80358858: +/* 80358858 003557B8 7F E3 FB 78 */ mr r3, r31 +/* 8035885C 003557BC 4B FF FD 4D */ bl RefreshStatus__10CARAMTokenFv +lbl_80358860: +/* 80358860 003557C0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80358864 003557C4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80358868 003557C8 7C 08 03 A6 */ mtlr r0 +/* 8035886C 003557CC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80358870 003557D0 4E 80 00 20 */ blr + +.global __as__10CARAMTokenFRC10CARAMToken +__as__10CARAMTokenFRC10CARAMToken: +/* 80358874 003557D4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80358878 003557D8 7C 08 02 A6 */ mflr r0 +/* 8035887C 003557DC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80358880 003557E0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80358884 003557E4 7C 9F 23 78 */ mr r31, r4 +/* 80358888 003557E8 93 C1 00 08 */ stw r30, 8(r1) +/* 8035888C 003557EC 7C 7E 1B 78 */ mr r30, r3 +/* 80358890 003557F0 7C 1F F0 40 */ cmplw r31, r30 +/* 80358894 003557F4 40 82 00 08 */ bne lbl_8035889C +/* 80358898 003557F8 48 00 00 24 */ b lbl_803588BC +lbl_8035889C: +/* 8035889C 003557FC 38 80 FF FF */ li r4, -1 +/* 803588A0 00355800 48 00 00 A5 */ bl __dt__10CARAMTokenFv +/* 803588A4 00355804 28 1E 00 00 */ cmplwi r30, 0 +/* 803588A8 00355808 41 82 00 10 */ beq lbl_803588B8 +/* 803588AC 0035580C 7F C3 F3 78 */ mr r3, r30 +/* 803588B0 00355810 7F E4 FB 78 */ mr r4, r31 +/* 803588B4 00355814 48 00 01 19 */ bl __ct__10CARAMTokenFRC10CARAMToken +lbl_803588B8: +/* 803588B8 00355818 7F C3 F3 78 */ mr r3, r30 +lbl_803588BC: +/* 803588BC 0035581C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803588C0 00355820 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803588C4 00355824 83 C1 00 08 */ lwz r30, 8(r1) +/* 803588C8 00355828 7C 08 03 A6 */ mtlr r0 +/* 803588CC 0035582C 38 21 00 10 */ addi r1, r1, 0x10 +/* 803588D0 00355830 4E 80 00 20 */ blr + +.global PostConstruct__10CARAMTokenFPvUi +PostConstruct__10CARAMTokenFPvUi: +/* 803588D4 00355834 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803588D8 00355838 7C 08 02 A6 */ mflr r0 +/* 803588DC 0035583C 90 01 00 24 */ stw r0, 0x24(r1) +/* 803588E0 00355840 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 803588E4 00355844 7C DF 33 78 */ mr r31, r6 +/* 803588E8 00355848 93 C1 00 18 */ stw r30, 0x18(r1) +/* 803588EC 0035584C 7C BE 2B 78 */ mr r30, r5 +/* 803588F0 00355850 93 A1 00 14 */ stw r29, 0x14(r1) +/* 803588F4 00355854 7C 9D 23 78 */ mr r29, r4 +/* 803588F8 00355858 38 80 00 01 */ li r4, 1 +/* 803588FC 0035585C 93 81 00 10 */ stw r28, 0x10(r1) +/* 80358900 00355860 7C 7C 1B 78 */ mr r28, r3 +/* 80358904 00355864 4B FF FB A5 */ bl MoveToList__10CARAMTokenFQ210CARAMToken7EStatus +/* 80358908 00355868 93 BC 00 04 */ stw r29, 4(r28) +/* 8035890C 0035586C 7F E0 00 34 */ cntlzw r0, r31 +/* 80358910 00355870 54 03 D9 7E */ srwi r3, r0, 5 +/* 80358914 00355874 93 DC 00 0C */ stw r30, 0xc(r28) +/* 80358918 00355878 88 1C 00 1C */ lbz r0, 0x1c(r28) +/* 8035891C 0035587C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80358920 00355880 98 1C 00 1C */ stb r0, 0x1c(r28) +/* 80358924 00355884 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80358928 00355888 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8035892C 0035588C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80358930 00355890 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80358934 00355894 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80358938 00355898 7C 08 03 A6 */ mtlr r0 +/* 8035893C 0035589C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80358940 003558A0 4E 80 00 20 */ blr + +.global __dt__10CARAMTokenFv +__dt__10CARAMTokenFv: +/* 80358944 003558A4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80358948 003558A8 7C 08 02 A6 */ mflr r0 +/* 8035894C 003558AC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80358950 003558B0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80358954 003558B4 7C 9F 23 78 */ mr r31, r4 +/* 80358958 003558B8 93 C1 00 08 */ stw r30, 8(r1) +/* 8035895C 003558BC 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80358960 003558C0 41 82 00 50 */ beq lbl_803589B0 +/* 80358964 003558C4 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 80358968 003558C8 80 02 CB AC */ lwz r0, lbl_805AE8CC@sda21(r2) +/* 8035896C 003558CC 7C 03 00 40 */ cmplw r3, r0 +/* 80358970 003558D0 41 82 00 18 */ beq lbl_80358988 +/* 80358974 003558D4 4B FE BD 49 */ bl CancelDMA__12CARAMManagerFUi +/* 80358978 003558D8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8035897C 003558DC 40 82 00 0C */ bne lbl_80358988 +/* 80358980 003558E0 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 80358984 003558E4 4B FE BD C5 */ bl WaitForDMACompletion__12CARAMManagerFUi +lbl_80358988: +/* 80358988 003558E8 7F C3 F3 78 */ mr r3, r30 +/* 8035898C 003558EC 4B FF FA D5 */ bl RemoveFromList__10CARAMTokenFv +/* 80358990 003558F0 80 7E 00 04 */ lwz r3, 4(r30) +/* 80358994 003558F4 4B FB CF 9D */ bl Free__7CMemoryFPCv +/* 80358998 003558F8 80 7E 00 08 */ lwz r3, 8(r30) +/* 8035899C 003558FC 4B FE C1 21 */ bl Free__12CARAMManagerFPCv +/* 803589A0 00355900 7F E0 07 35 */ extsh. r0, r31 +/* 803589A4 00355904 40 81 00 0C */ ble lbl_803589B0 +/* 803589A8 00355908 7F C3 F3 78 */ mr r3, r30 +/* 803589AC 0035590C 4B FB CF 85 */ bl Free__7CMemoryFPCv +lbl_803589B0: +/* 803589B0 00355910 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803589B4 00355914 7F C3 F3 78 */ mr r3, r30 +/* 803589B8 00355918 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803589BC 0035591C 83 C1 00 08 */ lwz r30, 8(r1) +/* 803589C0 00355920 7C 08 03 A6 */ mtlr r0 +/* 803589C4 00355924 38 21 00 10 */ addi r1, r1, 0x10 +/* 803589C8 00355928 4E 80 00 20 */ blr + +.global __ct__10CARAMTokenFRC10CARAMToken +__ct__10CARAMTokenFRC10CARAMToken: +/* 803589CC 0035592C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803589D0 00355930 7C 08 02 A6 */ mflr r0 +/* 803589D4 00355934 90 01 00 14 */ stw r0, 0x14(r1) +/* 803589D8 00355938 38 00 00 00 */ li r0, 0 +/* 803589DC 0035593C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803589E0 00355940 7C 7F 1B 78 */ mr r31, r3 +/* 803589E4 00355944 7C 83 23 78 */ mr r3, r4 +/* 803589E8 00355948 80 A4 00 00 */ lwz r5, 0(r4) +/* 803589EC 0035594C 90 BF 00 00 */ stw r5, 0(r31) +/* 803589F0 00355950 80 A4 00 04 */ lwz r5, 4(r4) +/* 803589F4 00355954 90 BF 00 04 */ stw r5, 4(r31) +/* 803589F8 00355958 80 A4 00 08 */ lwz r5, 8(r4) +/* 803589FC 0035595C 90 BF 00 08 */ stw r5, 8(r31) +/* 80358A00 00355960 80 A4 00 0C */ lwz r5, 0xc(r4) +/* 80358A04 00355964 90 BF 00 0C */ stw r5, 0xc(r31) +/* 80358A08 00355968 80 A4 00 10 */ lwz r5, 0x10(r4) +/* 80358A0C 0035596C 90 BF 00 10 */ stw r5, 0x10(r31) +/* 80358A10 00355970 90 1F 00 14 */ stw r0, 0x14(r31) +/* 80358A14 00355974 90 1F 00 18 */ stw r0, 0x18(r31) +/* 80358A18 00355978 88 84 00 1C */ lbz r4, 0x1c(r4) +/* 80358A1C 0035597C 88 1F 00 1C */ lbz r0, 0x1c(r31) +/* 80358A20 00355980 50 80 06 30 */ rlwimi r0, r4, 0, 0x18, 0x18 +/* 80358A24 00355984 98 1F 00 1C */ stb r0, 0x1c(r31) +/* 80358A28 00355988 4B FF F9 ED */ bl MakeInvalid__10CARAMTokenFv +/* 80358A2C 0035598C 7F E3 FB 78 */ mr r3, r31 +/* 80358A30 00355990 4B FF FA C9 */ bl InitiallyMoveToList__10CARAMTokenFv +/* 80358A34 00355994 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80358A38 00355998 7F E3 FB 78 */ mr r3, r31 +/* 80358A3C 0035599C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80358A40 003559A0 7C 08 03 A6 */ mtlr r0 +/* 80358A44 003559A4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80358A48 003559A8 4E 80 00 20 */ blr + +.global __ct__10CARAMTokenFPvUi +__ct__10CARAMTokenFPvUi: +/* 80358A4C 003559AC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80358A50 003559B0 7C 08 02 A6 */ mflr r0 +/* 80358A54 003559B4 80 E2 CB A8 */ lwz r7, lbl_805AE8C8@sda21(r2) +/* 80358A58 003559B8 90 01 00 14 */ stw r0, 0x14(r1) +/* 80358A5C 003559BC 38 00 00 01 */ li r0, 1 +/* 80358A60 003559C0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80358A64 003559C4 7C 7F 1B 78 */ mr r31, r3 +/* 80358A68 003559C8 90 03 00 00 */ stw r0, 0(r3) +/* 80358A6C 003559CC 7C C0 00 34 */ cntlzw r0, r6 +/* 80358A70 003559D0 38 C0 00 00 */ li r6, 0 +/* 80358A74 003559D4 90 83 00 04 */ stw r4, 4(r3) +/* 80358A78 003559D8 54 04 D9 7E */ srwi r4, r0, 5 +/* 80358A7C 003559DC 80 02 CB AC */ lwz r0, lbl_805AE8CC@sda21(r2) +/* 80358A80 003559E0 90 E3 00 08 */ stw r7, 8(r3) +/* 80358A84 003559E4 90 A3 00 0C */ stw r5, 0xc(r3) +/* 80358A88 003559E8 90 03 00 10 */ stw r0, 0x10(r3) +/* 80358A8C 003559EC 90 C3 00 14 */ stw r6, 0x14(r3) +/* 80358A90 003559F0 90 C3 00 18 */ stw r6, 0x18(r3) +/* 80358A94 003559F4 88 03 00 1C */ lbz r0, 0x1c(r3) +/* 80358A98 003559F8 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 80358A9C 003559FC 98 03 00 1C */ stb r0, 0x1c(r3) +/* 80358AA0 00355A00 4B FF FA 59 */ bl InitiallyMoveToList__10CARAMTokenFv +/* 80358AA4 00355A04 88 1F 00 1C */ lbz r0, 0x1c(r31) +/* 80358AA8 00355A08 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80358AAC 00355A0C 41 82 00 38 */ beq lbl_80358AE4 +/* 80358AB0 00355A10 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 80358AB4 00355A14 4B FE C1 75 */ bl Alloc__12CARAMManagerFUi +/* 80358AB8 00355A18 90 7F 00 08 */ stw r3, 8(r31) +/* 80358ABC 00355A1C 38 C0 00 01 */ li r6, 1 +/* 80358AC0 00355A20 80 7F 00 04 */ lwz r3, 4(r31) +/* 80358AC4 00355A24 80 9F 00 08 */ lwz r4, 8(r31) +/* 80358AC8 00355A28 80 BF 00 0C */ lwz r5, 0xc(r31) +/* 80358ACC 00355A2C 4B FE BE BD */ bl DMAToARAM__12CARAMManagerFPvPvUiQ212CARAMManager12EDMAPriority +/* 80358AD0 00355A30 90 7F 00 10 */ stw r3, 0x10(r31) +/* 80358AD4 00355A34 80 7F 00 10 */ lwz r3, 0x10(r31) +/* 80358AD8 00355A38 4B FE BC 71 */ bl WaitForDMACompletion__12CARAMManagerFUi +/* 80358ADC 00355A3C 80 02 CB AC */ lwz r0, lbl_805AE8CC@sda21(r2) +/* 80358AE0 00355A40 90 1F 00 10 */ stw r0, 0x10(r31) +lbl_80358AE4: +/* 80358AE4 00355A44 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80358AE8 00355A48 7F E3 FB 78 */ mr r3, r31 +/* 80358AEC 00355A4C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80358AF0 00355A50 7C 08 03 A6 */ mtlr r0 +/* 80358AF4 00355A54 38 21 00 10 */ addi r1, r1, 0x10 +/* 80358AF8 00355A58 4E 80 00 20 */ blr + +.global __ct__10CARAMTokenFv +__ct__10CARAMTokenFv: +/* 80358AFC 00355A5C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80358B00 00355A60 7C 08 02 A6 */ mflr r0 +/* 80358B04 00355A64 38 A0 00 00 */ li r5, 0 +/* 80358B08 00355A68 80 82 CB A8 */ lwz r4, lbl_805AE8C8@sda21(r2) +/* 80358B0C 00355A6C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80358B10 00355A70 38 00 00 06 */ li r0, 6 +/* 80358B14 00355A74 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80358B18 00355A78 7C 7F 1B 78 */ mr r31, r3 +/* 80358B1C 00355A7C 90 03 00 00 */ stw r0, 0(r3) +/* 80358B20 00355A80 80 02 CB AC */ lwz r0, lbl_805AE8CC@sda21(r2) +/* 80358B24 00355A84 90 A3 00 04 */ stw r5, 4(r3) +/* 80358B28 00355A88 90 83 00 08 */ stw r4, 8(r3) +/* 80358B2C 00355A8C 90 A3 00 0C */ stw r5, 0xc(r3) +/* 80358B30 00355A90 90 03 00 10 */ stw r0, 0x10(r3) +/* 80358B34 00355A94 90 A3 00 14 */ stw r5, 0x14(r3) +/* 80358B38 00355A98 90 A3 00 18 */ stw r5, 0x18(r3) +/* 80358B3C 00355A9C 88 03 00 1C */ lbz r0, 0x1c(r3) +/* 80358B40 00355AA0 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 80358B44 00355AA4 98 03 00 1C */ stb r0, 0x1c(r3) +/* 80358B48 00355AA8 4B FF F9 B1 */ bl InitiallyMoveToList__10CARAMTokenFv +/* 80358B4C 00355AAC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80358B50 00355AB0 7F E3 FB 78 */ mr r3, r31 +/* 80358B54 00355AB4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80358B58 00355AB8 7C 08 03 A6 */ mtlr r0 +/* 80358B5C 00355ABC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80358B60 00355AC0 4E 80 00 20 */ blr diff --git a/asm/Kyoto/CCrc32.s b/asm/Kyoto/CCrc32.s new file mode 100644 index 00000000..d3fbbaaa --- /dev/null +++ b/asm/Kyoto/CCrc32.s @@ -0,0 +1,62 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global Calculate__6CCRC32FPCvUi +Calculate__6CCRC32FPCvUi: +/* 80315590 003124F0 28 04 00 00 */ cmplwi r4, 0 +/* 80315594 003124F4 3C A0 80 3D */ lis r5, gkCRC32Table@ha +/* 80315598 003124F8 38 A5 74 08 */ addi r5, r5, gkCRC32Table@l +/* 8031559C 003124FC 39 20 FF FF */ li r9, -1 +/* 803155A0 00312500 41 82 00 B8 */ beq lbl_80315658 +/* 803155A4 00312504 54 80 F0 BF */ rlwinm. r0, r4, 0x1e, 2, 0x1f +/* 803155A8 00312508 7C 09 03 A6 */ mtctr r0 +/* 803155AC 0031250C 41 82 00 84 */ beq lbl_80315630 +lbl_803155B0: +/* 803155B0 00312510 88 E3 00 00 */ lbz r7, 0(r3) +/* 803155B4 00312514 55 28 C2 3E */ srwi r8, r9, 8 +/* 803155B8 00312518 7C E6 07 74 */ extsb r6, r7 +/* 803155BC 0031251C 88 E3 00 01 */ lbz r7, 1(r3) +/* 803155C0 00312520 7D 20 32 78 */ xor r0, r9, r6 +/* 803155C4 00312524 54 00 15 BA */ rlwinm r0, r0, 2, 0x16, 0x1d +/* 803155C8 00312528 7C E6 07 74 */ extsb r6, r7 +/* 803155CC 0031252C 7C 05 00 2E */ lwzx r0, r5, r0 +/* 803155D0 00312530 88 E3 00 02 */ lbz r7, 2(r3) +/* 803155D4 00312534 7D 09 02 78 */ xor r9, r8, r0 +/* 803155D8 00312538 7D 20 32 78 */ xor r0, r9, r6 +/* 803155DC 0031253C 7C E6 07 74 */ extsb r6, r7 +/* 803155E0 00312540 54 00 15 BA */ rlwinm r0, r0, 2, 0x16, 0x1d +/* 803155E4 00312544 88 E3 00 03 */ lbz r7, 3(r3) +/* 803155E8 00312548 7C 05 00 2E */ lwzx r0, r5, r0 +/* 803155EC 0031254C 55 28 C2 3E */ srwi r8, r9, 8 +/* 803155F0 00312550 38 63 00 04 */ addi r3, r3, 4 +/* 803155F4 00312554 7D 09 02 78 */ xor r9, r8, r0 +/* 803155F8 00312558 7D 20 32 78 */ xor r0, r9, r6 +/* 803155FC 0031255C 7C E6 07 74 */ extsb r6, r7 +/* 80315600 00312560 54 00 15 BA */ rlwinm r0, r0, 2, 0x16, 0x1d +/* 80315604 00312564 55 28 C2 3E */ srwi r8, r9, 8 +/* 80315608 00312568 7C 05 00 2E */ lwzx r0, r5, r0 +/* 8031560C 0031256C 7D 09 02 78 */ xor r9, r8, r0 +/* 80315610 00312570 7D 20 32 78 */ xor r0, r9, r6 +/* 80315614 00312574 54 00 15 BA */ rlwinm r0, r0, 2, 0x16, 0x1d +/* 80315618 00312578 55 28 C2 3E */ srwi r8, r9, 8 +/* 8031561C 0031257C 7C 05 00 2E */ lwzx r0, r5, r0 +/* 80315620 00312580 7D 09 02 78 */ xor r9, r8, r0 +/* 80315624 00312584 42 00 FF 8C */ bdnz lbl_803155B0 +/* 80315628 00312588 70 84 00 03 */ andi. r4, r4, 3 +/* 8031562C 0031258C 41 82 00 2C */ beq lbl_80315658 +lbl_80315630: +/* 80315630 00312590 7C 89 03 A6 */ mtctr r4 +lbl_80315634: +/* 80315634 00312594 88 E3 00 00 */ lbz r7, 0(r3) +/* 80315638 00312598 55 28 C2 3E */ srwi r8, r9, 8 +/* 8031563C 0031259C 38 63 00 01 */ addi r3, r3, 1 +/* 80315640 003125A0 7C E6 07 74 */ extsb r6, r7 +/* 80315644 003125A4 7D 20 32 78 */ xor r0, r9, r6 +/* 80315648 003125A8 54 00 15 BA */ rlwinm r0, r0, 2, 0x16, 0x1d +/* 8031564C 003125AC 7C 05 00 2E */ lwzx r0, r5, r0 +/* 80315650 003125B0 7D 09 02 78 */ xor r9, r8, r0 +/* 80315654 003125B4 42 00 FF E0 */ bdnz lbl_80315634 +lbl_80315658: +/* 80315658 003125B8 7D 23 4B 78 */ mr r3, r9 +/* 8031565C 003125BC 4E 80 00 20 */ blr diff --git a/asm/Kyoto/CDependencyGroup.s b/asm/Kyoto/CDependencyGroup.s new file mode 100644 index 00000000..7435256d --- /dev/null +++ b/asm/Kyoto/CDependencyGroup.s @@ -0,0 +1,349 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global FDependencyGroupFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer +FDependencyGroupFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer: +/* 80364F54 00361EB4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80364F58 00361EB8 7C 08 02 A6 */ mflr r0 +/* 80364F5C 00361EBC 3C 80 80 3E */ lis r4, lbl_803D8408@ha +/* 80364F60 00361EC0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80364F64 00361EC4 38 84 84 08 */ addi r4, r4, lbl_803D8408@l +/* 80364F68 00361EC8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80364F6C 00361ECC 7C BF 2B 78 */ mr r31, r5 +/* 80364F70 00361ED0 38 A0 00 00 */ li r5, 0 +/* 80364F74 00361ED4 93 C1 00 08 */ stw r30, 8(r1) +/* 80364F78 00361ED8 7C 7E 1B 78 */ mr r30, r3 +/* 80364F7C 00361EDC 38 60 00 10 */ li r3, 0x10 +/* 80364F80 00361EE0 4B FB 08 ED */ bl __nw__FUlPCcPCc +/* 80364F84 00361EE4 7C 64 1B 79 */ or. r4, r3, r3 +/* 80364F88 00361EE8 41 82 00 10 */ beq lbl_80364F98 +/* 80364F8C 00361EEC 7F E4 FB 78 */ mr r4, r31 +/* 80364F90 00361EF0 48 00 04 29 */ bl __ct__16CDependencyGroupFR12CInputStream +/* 80364F94 00361EF4 7C 64 1B 78 */ mr r4, r3 +lbl_80364F98: +/* 80364F98 00361EF8 7F C3 F3 78 */ mr r3, r30 +/* 80364F9C 00361EFC 48 00 00 1D */ bl sub_80364fb8 +/* 80364FA0 00361F00 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80364FA4 00361F04 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80364FA8 00361F08 83 C1 00 08 */ lwz r30, 8(r1) +/* 80364FAC 00361F0C 7C 08 03 A6 */ mtlr r0 +/* 80364FB0 00361F10 38 21 00 10 */ addi r1, r1, 0x10 +/* 80364FB4 00361F14 4E 80 00 20 */ blr + +.global sub_80364fb8 +sub_80364fb8: +/* 80364FB8 00361F18 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80364FBC 00361F1C 7C 08 02 A6 */ mflr r0 +/* 80364FC0 00361F20 90 01 00 24 */ stw r0, 0x24(r1) +/* 80364FC4 00361F24 7C 04 00 D0 */ neg r0, r4 +/* 80364FC8 00361F28 7C 00 23 78 */ or r0, r0, r4 +/* 80364FCC 00361F2C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80364FD0 00361F30 54 00 0F FE */ srwi r0, r0, 0x1f +/* 80364FD4 00361F34 7C 7F 1B 78 */ mr r31, r3 +/* 80364FD8 00361F38 38 61 00 08 */ addi r3, r1, 8 +/* 80364FDC 00361F3C 90 81 00 14 */ stw r4, 0x14(r1) +/* 80364FE0 00361F40 38 81 00 10 */ addi r4, r1, 0x10 +/* 80364FE4 00361F44 98 01 00 10 */ stb r0, 0x10(r1) +/* 80364FE8 00361F48 48 00 01 55 */ bl sub_8036513c +/* 80364FEC 00361F4C 80 61 00 0C */ lwz r3, 0xc(r1) +/* 80364FF0 00361F50 38 00 00 00 */ li r0, 0 +/* 80364FF4 00361F54 98 01 00 08 */ stb r0, 8(r1) +/* 80364FF8 00361F58 7C 03 00 D0 */ neg r0, r3 +/* 80364FFC 00361F5C 7C 00 1B 78 */ or r0, r0, r3 +/* 80365000 00361F60 54 00 0F FE */ srwi r0, r0, 0x1f +/* 80365004 00361F64 98 1F 00 00 */ stb r0, 0(r31) +/* 80365008 00361F68 90 7F 00 04 */ stw r3, 4(r31) +/* 8036500C 00361F6C 88 01 00 08 */ lbz r0, 8(r1) +/* 80365010 00361F70 28 00 00 00 */ cmplwi r0, 0 +/* 80365014 00361F74 41 82 00 24 */ beq lbl_80365038 +/* 80365018 00361F78 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8036501C 00361F7C 28 03 00 00 */ cmplwi r3, 0 +/* 80365020 00361F80 41 82 00 18 */ beq lbl_80365038 +/* 80365024 00361F84 81 83 00 00 */ lwz r12, 0(r3) +/* 80365028 00361F88 38 80 00 01 */ li r4, 1 +/* 8036502C 00361F8C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80365030 00361F90 7D 89 03 A6 */ mtctr r12 +/* 80365034 00361F94 4E 80 04 21 */ bctrl +lbl_80365038: +/* 80365038 00361F98 38 61 00 10 */ addi r3, r1, 0x10 +/* 8036503C 00361F9C 38 80 FF FF */ li r4, -1 +/* 80365040 00361FA0 48 00 01 C5 */ bl sub_80365204 +/* 80365044 00361FA4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80365048 00361FA8 7F E3 FB 78 */ mr r3, r31 +/* 8036504C 00361FAC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80365050 00361FB0 7C 08 03 A6 */ mtlr r0 +/* 80365054 00361FB4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80365058 00361FB8 4E 80 00 20 */ blr + +.global sub_8036505c +sub_8036505c: +/* 8036505C 00361FBC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80365060 00361FC0 7C 08 02 A6 */ mflr r0 +/* 80365064 00361FC4 90 01 00 34 */ stw r0, 0x34(r1) +/* 80365068 00361FC8 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8036506C 00361FCC 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80365070 00361FD0 7C 9E 23 78 */ mr r30, r4 +/* 80365074 00361FD4 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80365078 00361FD8 7C 7D 1B 79 */ or. r29, r3, r3 +/* 8036507C 00361FDC 41 82 00 A0 */ beq lbl_8036511C +/* 80365080 00361FE0 3C 60 80 3F */ lis r3, lbl_803EF830@ha +/* 80365084 00361FE4 38 03 F8 30 */ addi r0, r3, lbl_803EF830@l +/* 80365088 00361FE8 90 1D 00 00 */ stw r0, 0(r29) +/* 8036508C 00361FEC 83 FD 00 04 */ lwz r31, 4(r29) +/* 80365090 00361FF0 28 1F 00 00 */ cmplwi r31, 0 +/* 80365094 00361FF4 41 82 00 54 */ beq lbl_803650E8 +/* 80365098 00361FF8 41 82 00 50 */ beq lbl_803650E8 +/* 8036509C 00361FFC 41 82 00 44 */ beq lbl_803650E0 +/* 803650A0 00362000 80 1F 00 04 */ lwz r0, 4(r31) +/* 803650A4 00362004 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 803650A8 00362008 54 00 18 38 */ slwi r0, r0, 3 +/* 803650AC 0036200C 7C 03 02 14 */ add r0, r3, r0 +/* 803650B0 00362010 90 61 00 0C */ stw r3, 0xc(r1) +/* 803650B4 00362014 7C 64 1B 78 */ mr r4, r3 +/* 803650B8 00362018 90 01 00 14 */ stw r0, 0x14(r1) +/* 803650BC 0036201C 90 01 00 10 */ stw r0, 0x10(r1) +/* 803650C0 00362020 90 61 00 08 */ stw r3, 8(r1) +/* 803650C4 00362024 48 00 00 08 */ b lbl_803650CC +lbl_803650C8: +/* 803650C8 00362028 38 84 00 08 */ addi r4, r4, 8 +lbl_803650CC: +/* 803650CC 0036202C 7C 04 00 40 */ cmplw r4, r0 +/* 803650D0 00362030 40 82 FF F8 */ bne lbl_803650C8 +/* 803650D4 00362034 28 03 00 00 */ cmplwi r3, 0 +/* 803650D8 00362038 41 82 00 08 */ beq lbl_803650E0 +/* 803650DC 0036203C 4B FB 08 55 */ bl Free__7CMemoryFPCv +lbl_803650E0: +/* 803650E0 00362040 7F E3 FB 78 */ mr r3, r31 +/* 803650E4 00362044 4B FB 08 4D */ bl Free__7CMemoryFPCv +lbl_803650E8: +/* 803650E8 00362048 28 1D 00 00 */ cmplwi r29, 0 +/* 803650EC 0036204C 41 82 00 20 */ beq lbl_8036510C +/* 803650F0 00362050 3C 60 80 3E */ lis r3, lbl_803D8D78@ha +/* 803650F4 00362054 38 03 8D 78 */ addi r0, r3, lbl_803D8D78@l +/* 803650F8 00362058 90 1D 00 00 */ stw r0, 0(r29) +/* 803650FC 0036205C 41 82 00 10 */ beq lbl_8036510C +/* 80365100 00362060 3C 60 80 3E */ lis r3, lbl_803D8D6C@ha +/* 80365104 00362064 38 03 8D 6C */ addi r0, r3, lbl_803D8D6C@l +/* 80365108 00362068 90 1D 00 00 */ stw r0, 0(r29) +lbl_8036510C: +/* 8036510C 0036206C 7F C0 07 35 */ extsh. r0, r30 +/* 80365110 00362070 40 81 00 0C */ ble lbl_8036511C +/* 80365114 00362074 7F A3 EB 78 */ mr r3, r29 +/* 80365118 00362078 4B FB 08 19 */ bl Free__7CMemoryFPCv +lbl_8036511C: +/* 8036511C 0036207C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80365120 00362080 7F A3 EB 78 */ mr r3, r29 +/* 80365124 00362084 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80365128 00362088 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8036512C 0036208C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80365130 00362090 7C 08 03 A6 */ mtlr r0 +/* 80365134 00362094 38 21 00 30 */ addi r1, r1, 0x30 +/* 80365138 00362098 4E 80 00 20 */ blr + +.global sub_8036513c +sub_8036513c: +/* 8036513C 0036209C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80365140 003620A0 7C 08 02 A6 */ mflr r0 +/* 80365144 003620A4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80365148 003620A8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8036514C 003620AC 7C 7F 1B 78 */ mr r31, r3 +/* 80365150 003620B0 48 00 00 19 */ bl sub_80365168 +/* 80365154 003620B4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80365158 003620B8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8036515C 003620BC 7C 08 03 A6 */ mtlr r0 +/* 80365160 003620C0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80365164 003620C4 4E 80 00 20 */ blr + +.global sub_80365168 +sub_80365168: +/* 80365168 003620C8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8036516C 003620CC 7C 08 02 A6 */ mflr r0 +/* 80365170 003620D0 3C A0 80 3E */ lis r5, lbl_803D8408@ha +/* 80365174 003620D4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80365178 003620D8 38 05 84 08 */ addi r0, r5, lbl_803D8408@l +/* 8036517C 003620DC 38 A0 00 00 */ li r5, 0 +/* 80365180 003620E0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80365184 003620E4 7C 9F 23 78 */ mr r31, r4 +/* 80365188 003620E8 7C 04 03 78 */ mr r4, r0 +/* 8036518C 003620EC 93 C1 00 08 */ stw r30, 8(r1) +/* 80365190 003620F0 7C 7E 1B 78 */ mr r30, r3 +/* 80365194 003620F4 38 60 00 08 */ li r3, 8 +/* 80365198 003620F8 4B FB 06 D5 */ bl __nw__FUlPCcPCc +/* 8036519C 003620FC 28 03 00 00 */ cmplwi r3, 0 +/* 803651A0 00362100 41 82 00 38 */ beq lbl_803651D8 +/* 803651A4 00362104 3C 80 80 3E */ lis r4, lbl_803D8D6C@ha +/* 803651A8 00362108 3C A0 80 3E */ lis r5, lbl_803D8D78@ha +/* 803651AC 0036210C 38 04 8D 6C */ addi r0, r4, lbl_803D8D6C@l +/* 803651B0 00362110 3C 80 80 3F */ lis r4, lbl_803EF830@ha +/* 803651B4 00362114 90 03 00 00 */ stw r0, 0(r3) +/* 803651B8 00362118 38 C5 8D 78 */ addi r6, r5, lbl_803D8D78@l +/* 803651BC 0036211C 38 A0 00 00 */ li r5, 0 +/* 803651C0 00362120 38 04 F8 30 */ addi r0, r4, lbl_803EF830@l +/* 803651C4 00362124 90 C3 00 00 */ stw r6, 0(r3) +/* 803651C8 00362128 98 BF 00 00 */ stb r5, 0(r31) +/* 803651CC 0036212C 80 9F 00 04 */ lwz r4, 4(r31) +/* 803651D0 00362130 90 83 00 04 */ stw r4, 4(r3) +/* 803651D4 00362134 90 03 00 00 */ stw r0, 0(r3) +lbl_803651D8: +/* 803651D8 00362138 7C 03 00 D0 */ neg r0, r3 +/* 803651DC 0036213C 7C 00 1B 78 */ or r0, r0, r3 +/* 803651E0 00362140 54 00 0F FE */ srwi r0, r0, 0x1f +/* 803651E4 00362144 98 1E 00 00 */ stb r0, 0(r30) +/* 803651E8 00362148 90 7E 00 04 */ stw r3, 4(r30) +/* 803651EC 0036214C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803651F0 00362150 83 C1 00 08 */ lwz r30, 8(r1) +/* 803651F4 00362154 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803651F8 00362158 7C 08 03 A6 */ mtlr r0 +/* 803651FC 0036215C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80365200 00362160 4E 80 00 20 */ blr + +.global sub_80365204 +sub_80365204: +/* 80365204 00362164 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80365208 00362168 7C 08 02 A6 */ mflr r0 +/* 8036520C 0036216C 90 01 00 34 */ stw r0, 0x34(r1) +/* 80365210 00362170 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80365214 00362174 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80365218 00362178 7C 9E 23 78 */ mr r30, r4 +/* 8036521C 0036217C 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80365220 00362180 7C 7D 1B 79 */ or. r29, r3, r3 +/* 80365224 00362184 41 82 00 78 */ beq lbl_8036529C +/* 80365228 00362188 88 1D 00 00 */ lbz r0, 0(r29) +/* 8036522C 0036218C 28 00 00 00 */ cmplwi r0, 0 +/* 80365230 00362190 41 82 00 5C */ beq lbl_8036528C +/* 80365234 00362194 83 FD 00 04 */ lwz r31, 4(r29) +/* 80365238 00362198 28 1F 00 00 */ cmplwi r31, 0 +/* 8036523C 0036219C 41 82 00 50 */ beq lbl_8036528C +/* 80365240 003621A0 41 82 00 44 */ beq lbl_80365284 +/* 80365244 003621A4 80 1F 00 04 */ lwz r0, 4(r31) +/* 80365248 003621A8 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 8036524C 003621AC 54 00 18 38 */ slwi r0, r0, 3 +/* 80365250 003621B0 7C 03 02 14 */ add r0, r3, r0 +/* 80365254 003621B4 90 61 00 0C */ stw r3, 0xc(r1) +/* 80365258 003621B8 7C 64 1B 78 */ mr r4, r3 +/* 8036525C 003621BC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80365260 003621C0 90 01 00 10 */ stw r0, 0x10(r1) +/* 80365264 003621C4 90 61 00 08 */ stw r3, 8(r1) +/* 80365268 003621C8 48 00 00 08 */ b lbl_80365270 +lbl_8036526C: +/* 8036526C 003621CC 38 84 00 08 */ addi r4, r4, 8 +lbl_80365270: +/* 80365270 003621D0 7C 04 00 40 */ cmplw r4, r0 +/* 80365274 003621D4 40 82 FF F8 */ bne lbl_8036526C +/* 80365278 003621D8 28 03 00 00 */ cmplwi r3, 0 +/* 8036527C 003621DC 41 82 00 08 */ beq lbl_80365284 +/* 80365280 003621E0 4B FB 06 B1 */ bl Free__7CMemoryFPCv +lbl_80365284: +/* 80365284 003621E4 7F E3 FB 78 */ mr r3, r31 +/* 80365288 003621E8 4B FB 06 A9 */ bl Free__7CMemoryFPCv +lbl_8036528C: +/* 8036528C 003621EC 7F C0 07 35 */ extsh. r0, r30 +/* 80365290 003621F0 40 81 00 0C */ ble lbl_8036529C +/* 80365294 003621F4 7F A3 EB 78 */ mr r3, r29 +/* 80365298 003621F8 4B FB 06 99 */ bl Free__7CMemoryFPCv +lbl_8036529C: +/* 8036529C 003621FC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 803652A0 00362200 7F A3 EB 78 */ mr r3, r29 +/* 803652A4 00362204 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 803652A8 00362208 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 803652AC 0036220C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 803652B0 00362210 7C 08 03 A6 */ mtlr r0 +/* 803652B4 00362214 38 21 00 30 */ addi r1, r1, 0x30 +/* 803652B8 00362218 4E 80 00 20 */ blr + +.global sub_803652bc +sub_803652bc: +/* 803652BC 0036221C 80 03 00 04 */ lwz r0, 4(r3) +/* 803652C0 00362220 38 C0 00 00 */ li r6, 0 +/* 803652C4 00362224 80 A3 00 0C */ lwz r5, 0xc(r3) +/* 803652C8 00362228 54 00 18 38 */ slwi r0, r0, 3 +/* 803652CC 0036222C 7C 65 02 14 */ add r3, r5, r0 +/* 803652D0 00362230 48 00 00 18 */ b lbl_803652E8 +lbl_803652D4: +/* 803652D4 00362234 80 05 00 00 */ lwz r0, 0(r5) +/* 803652D8 00362238 7C 04 00 40 */ cmplw r4, r0 +/* 803652DC 0036223C 40 82 00 08 */ bne lbl_803652E4 +/* 803652E0 00362240 38 C6 00 01 */ addi r6, r6, 1 +lbl_803652E4: +/* 803652E4 00362244 38 A5 00 08 */ addi r5, r5, 8 +lbl_803652E8: +/* 803652E8 00362248 7C 05 18 40 */ cmplw r5, r3 +/* 803652EC 0036224C 40 82 FF E8 */ bne lbl_803652D4 +/* 803652F0 00362250 7C C3 33 78 */ mr r3, r6 +/* 803652F4 00362254 4E 80 00 20 */ blr + +.global ReadFromStream__16CDependencyGroupFR12CInputStream +ReadFromStream__16CDependencyGroupFR12CInputStream: +/* 803652F8 00362258 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803652FC 0036225C 7C 08 02 A6 */ mflr r0 +/* 80365300 00362260 90 01 00 24 */ stw r0, 0x24(r1) +/* 80365304 00362264 BF 41 00 08 */ stmw r26, 8(r1) +/* 80365308 00362268 7C 9B 23 78 */ mr r27, r4 +/* 8036530C 0036226C 7C 7A 1B 78 */ mr r26, r3 +/* 80365310 00362270 7F 63 DB 78 */ mr r3, r27 +/* 80365314 00362274 4B FD 99 71 */ bl ReadLong__12CInputStreamFv +/* 80365318 00362278 7C 7D 1B 78 */ mr r29, r3 +/* 8036531C 0036227C 7F 43 D3 78 */ mr r3, r26 +/* 80365320 00362280 7F A4 EB 78 */ mr r4, r29 +/* 80365324 00362284 4B FD B6 61 */ bl "reserve__Q24rstl47vector<10SObjectTag,Q24rstl17rmemory_allocator>Fi" +/* 80365328 00362288 3B 80 00 00 */ li r28, 0 +/* 8036532C 0036228C 48 00 00 70 */ b lbl_8036539C +lbl_80365330: +/* 80365330 00362290 7F 63 DB 78 */ mr r3, r27 +/* 80365334 00362294 4B FD 99 51 */ bl ReadLong__12CInputStreamFv +/* 80365338 00362298 7C 7E 1B 78 */ mr r30, r3 +/* 8036533C 0036229C 7F 63 DB 78 */ mr r3, r27 +/* 80365340 003622A0 4B FD 99 45 */ bl ReadLong__12CInputStreamFv +/* 80365344 003622A4 80 1A 00 04 */ lwz r0, 4(r26) +/* 80365348 003622A8 7C 7F 1B 78 */ mr r31, r3 +/* 8036534C 003622AC 80 BA 00 08 */ lwz r5, 8(r26) +/* 80365350 003622B0 7C 00 28 00 */ cmpw r0, r5 +/* 80365354 003622B4 41 80 00 1C */ blt lbl_80365370 +/* 80365358 003622B8 2C 05 00 00 */ cmpwi r5, 0 +/* 8036535C 003622BC 7F 43 D3 78 */ mr r3, r26 +/* 80365360 003622C0 38 80 00 04 */ li r4, 4 +/* 80365364 003622C4 41 82 00 08 */ beq lbl_8036536C +/* 80365368 003622C8 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8036536C: +/* 8036536C 003622CC 4B FD B6 19 */ bl "reserve__Q24rstl47vector<10SObjectTag,Q24rstl17rmemory_allocator>Fi" +lbl_80365370: +/* 80365370 003622D0 80 1A 00 04 */ lwz r0, 4(r26) +/* 80365374 003622D4 80 7A 00 0C */ lwz r3, 0xc(r26) +/* 80365378 003622D8 54 00 18 38 */ slwi r0, r0, 3 +/* 8036537C 003622DC 7C 63 02 15 */ add. r3, r3, r0 +/* 80365380 003622E0 41 82 00 0C */ beq lbl_8036538C +/* 80365384 003622E4 93 C3 00 00 */ stw r30, 0(r3) +/* 80365388 003622E8 93 E3 00 04 */ stw r31, 4(r3) +lbl_8036538C: +/* 8036538C 003622EC 80 7A 00 04 */ lwz r3, 4(r26) +/* 80365390 003622F0 3B 9C 00 01 */ addi r28, r28, 1 +/* 80365394 003622F4 38 03 00 01 */ addi r0, r3, 1 +/* 80365398 003622F8 90 1A 00 04 */ stw r0, 4(r26) +lbl_8036539C: +/* 8036539C 003622FC 7C 1C E8 00 */ cmpw r28, r29 +/* 803653A0 00362300 41 80 FF 90 */ blt lbl_80365330 +/* 803653A4 00362304 BB 41 00 08 */ lmw r26, 8(r1) +/* 803653A8 00362308 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803653AC 0036230C 7C 08 03 A6 */ mtlr r0 +/* 803653B0 00362310 38 21 00 20 */ addi r1, r1, 0x20 +/* 803653B4 00362314 4E 80 00 20 */ blr + +.global __ct__16CDependencyGroupFR12CInputStream +__ct__16CDependencyGroupFR12CInputStream: +/* 803653B8 00362318 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803653BC 0036231C 7C 08 02 A6 */ mflr r0 +/* 803653C0 00362320 90 01 00 14 */ stw r0, 0x14(r1) +/* 803653C4 00362324 38 00 00 00 */ li r0, 0 +/* 803653C8 00362328 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803653CC 0036232C 7C 7F 1B 78 */ mr r31, r3 +/* 803653D0 00362330 90 03 00 04 */ stw r0, 4(r3) +/* 803653D4 00362334 90 03 00 08 */ stw r0, 8(r3) +/* 803653D8 00362338 90 03 00 0C */ stw r0, 0xc(r3) +/* 803653DC 0036233C 4B FF FF 1D */ bl ReadFromStream__16CDependencyGroupFR12CInputStream +/* 803653E0 00362340 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803653E4 00362344 7F E3 FB 78 */ mr r3, r31 +/* 803653E8 00362348 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803653EC 0036234C 7C 08 03 A6 */ mtlr r0 +/* 803653F0 00362350 38 21 00 10 */ addi r1, r1, 0x10 +/* 803653F4 00362354 4E 80 00 20 */ blr diff --git a/asm/Kyoto/CFactoryMgr.s b/asm/Kyoto/CFactoryMgr.s new file mode 100644 index 00000000..78a70a3c --- /dev/null +++ b/asm/Kyoto/CFactoryMgr.s @@ -0,0 +1,1098 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global FourCCToTypeIdx__11CFactoryMgrFUi +FourCCToTypeIdx__11CFactoryMgrFUi: +/* 803385CC 0033552C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803385D0 00335530 90 61 00 08 */ stw r3, 8(r1) +/* 803385D4 00335534 88 01 00 08 */ lbz r0, 8(r1) +/* 803385D8 00335538 7C 00 07 74 */ extsb r0, r0 +/* 803385DC 0033553C 2C 00 FF FF */ cmpwi r0, -1 +/* 803385E0 00335540 40 82 00 0C */ bne lbl_803385EC +/* 803385E4 00335544 38 00 FF FF */ li r0, -1 +/* 803385E8 00335548 48 00 00 14 */ b lbl_803385FC +lbl_803385EC: +/* 803385EC 0033554C 3C 60 80 3F */ lis r3, lbl_803F2C20@ha +/* 803385F0 00335550 54 00 06 3E */ clrlwi r0, r0, 0x18 +/* 803385F4 00335554 38 63 2C 20 */ addi r3, r3, lbl_803F2C20@l +/* 803385F8 00335558 7C 03 00 AE */ lbzx r0, r3, r0 +lbl_803385FC: +/* 803385FC 0033555C 88 81 00 09 */ lbz r4, 9(r1) +/* 80338600 00335560 98 01 00 08 */ stb r0, 8(r1) +/* 80338604 00335564 7C 84 07 74 */ extsb r4, r4 +/* 80338608 00335568 2C 04 FF FF */ cmpwi r4, -1 +/* 8033860C 0033556C 40 82 00 0C */ bne lbl_80338618 +/* 80338610 00335570 38 00 FF FF */ li r0, -1 +/* 80338614 00335574 48 00 00 14 */ b lbl_80338628 +lbl_80338618: +/* 80338618 00335578 3C 60 80 3F */ lis r3, lbl_803F2C20@ha +/* 8033861C 0033557C 54 80 06 3E */ clrlwi r0, r4, 0x18 +/* 80338620 00335580 38 63 2C 20 */ addi r3, r3, lbl_803F2C20@l +/* 80338624 00335584 7C 03 00 AE */ lbzx r0, r3, r0 +lbl_80338628: +/* 80338628 00335588 88 81 00 0A */ lbz r4, 0xa(r1) +/* 8033862C 0033558C 98 01 00 09 */ stb r0, 9(r1) +/* 80338630 00335590 7C 84 07 74 */ extsb r4, r4 +/* 80338634 00335594 2C 04 FF FF */ cmpwi r4, -1 +/* 80338638 00335598 40 82 00 0C */ bne lbl_80338644 +/* 8033863C 0033559C 38 00 FF FF */ li r0, -1 +/* 80338640 003355A0 48 00 00 14 */ b lbl_80338654 +lbl_80338644: +/* 80338644 003355A4 3C 60 80 3F */ lis r3, lbl_803F2C20@ha +/* 80338648 003355A8 54 80 06 3E */ clrlwi r0, r4, 0x18 +/* 8033864C 003355AC 38 63 2C 20 */ addi r3, r3, lbl_803F2C20@l +/* 80338650 003355B0 7C 03 00 AE */ lbzx r0, r3, r0 +lbl_80338654: +/* 80338654 003355B4 88 81 00 0B */ lbz r4, 0xb(r1) +/* 80338658 003355B8 98 01 00 0A */ stb r0, 0xa(r1) +/* 8033865C 003355BC 7C 84 07 74 */ extsb r4, r4 +/* 80338660 003355C0 2C 04 FF FF */ cmpwi r4, -1 +/* 80338664 003355C4 40 82 00 0C */ bne lbl_80338670 +/* 80338668 003355C8 38 00 FF FF */ li r0, -1 +/* 8033866C 003355CC 48 00 00 14 */ b lbl_80338680 +lbl_80338670: +/* 80338670 003355D0 3C 60 80 3F */ lis r3, lbl_803F2C20@ha +/* 80338674 003355D4 54 80 06 3E */ clrlwi r0, r4, 0x18 +/* 80338678 003355D8 38 63 2C 20 */ addi r3, r3, lbl_803F2C20@l +/* 8033867C 003355DC 7C 03 00 AE */ lbzx r0, r3, r0 +lbl_80338680: +/* 80338680 003355E0 98 01 00 0B */ stb r0, 0xb(r1) +/* 80338684 003355E4 3C 60 80 3D */ lis r3, lbl_803D7988@ha +/* 80338688 003355E8 38 00 00 13 */ li r0, 0x13 +/* 8033868C 003355EC 38 83 79 88 */ addi r4, r3, lbl_803D7988@l +/* 80338690 003355F0 80 A1 00 08 */ lwz r5, 8(r1) +/* 80338694 003355F4 38 60 00 00 */ li r3, 0 +/* 80338698 003355F8 7C 09 03 A6 */ mtctr r0 +lbl_8033869C: +/* 8033869C 003355FC 80 04 00 00 */ lwz r0, 0(r4) +/* 803386A0 00335600 7C 05 00 40 */ cmplw r5, r0 +/* 803386A4 00335604 40 82 00 08 */ bne lbl_803386AC +/* 803386A8 00335608 48 00 00 28 */ b lbl_803386D0 +lbl_803386AC: +/* 803386AC 0033560C 84 04 00 04 */ lwzu r0, 4(r4) +/* 803386B0 00335610 38 63 00 01 */ addi r3, r3, 1 +/* 803386B4 00335614 7C 05 00 40 */ cmplw r5, r0 +/* 803386B8 00335618 40 82 00 08 */ bne lbl_803386C0 +/* 803386BC 0033561C 48 00 00 14 */ b lbl_803386D0 +lbl_803386C0: +/* 803386C0 00335620 38 84 00 04 */ addi r4, r4, 4 +/* 803386C4 00335624 38 63 00 01 */ addi r3, r3, 1 +/* 803386C8 00335628 42 00 FF D4 */ bdnz lbl_8033869C +/* 803386CC 0033562C 38 60 FF FF */ li r3, -1 +lbl_803386D0: +/* 803386D0 00335630 38 21 00 10 */ addi r1, r1, 0x10 +/* 803386D4 00335634 4E 80 00 20 */ blr + +.global TypeIdxToFourCC__11CFactoryMgrFUi +TypeIdxToFourCC__11CFactoryMgrFUi: +/* 803386D8 00335638 3C 80 80 3D */ lis r4, lbl_803D7988@ha +/* 803386DC 0033563C 54 60 10 3A */ slwi r0, r3, 2 +/* 803386E0 00335640 38 64 79 88 */ addi r3, r4, lbl_803D7988@l +/* 803386E4 00335644 7C 63 00 2E */ lwzx r3, r3, r0 +/* 803386E8 00335648 4E 80 00 20 */ blr + +.global MakeObjectFromMemory__11CFactoryMgrFRC10SObjectTagPvibRC15CVParamTransfer +MakeObjectFromMemory__11CFactoryMgrFRC10SObjectTagPvibRC15CVParamTransfer: +/* 803386EC 0033564C 94 21 FE F0 */ stwu r1, -0x110(r1) +/* 803386F0 00335650 7C 08 02 A6 */ mflr r0 +/* 803386F4 00335654 90 01 01 14 */ stw r0, 0x114(r1) +/* 803386F8 00335658 BF 21 00 F4 */ stmw r25, 0xf4(r1) +/* 803386FC 0033565C 7C BE 2B 78 */ mr r30, r5 +/* 80338700 00335660 7C DA 33 78 */ mr r26, r6 +/* 80338704 00335664 7C 7D 1B 78 */ mr r29, r3 +/* 80338708 00335668 7C FB 3B 78 */ mr r27, r7 +/* 8033870C 0033566C 7D 3F 4B 78 */ mr r31, r9 +/* 80338710 00335670 38 C0 00 00 */ li r6, 0 +/* 80338714 00335674 81 44 00 24 */ lwz r10, 0x24(r4) +/* 80338718 00335678 80 A5 00 00 */ lwz r5, 0(r5) +/* 8033871C 0033567C 48 00 00 20 */ b lbl_8033873C +lbl_80338720: +/* 80338720 00335680 80 0A 00 10 */ lwz r0, 0x10(r10) +/* 80338724 00335684 7C 00 28 00 */ cmpw r0, r5 +/* 80338728 00335688 41 80 00 10 */ blt lbl_80338738 +/* 8033872C 0033568C 7D 46 53 78 */ mr r6, r10 +/* 80338730 00335690 81 4A 00 00 */ lwz r10, 0(r10) +/* 80338734 00335694 48 00 00 08 */ b lbl_8033873C +lbl_80338738: +/* 80338738 00335698 81 4A 00 04 */ lwz r10, 4(r10) +lbl_8033873C: +/* 8033873C 0033569C 28 0A 00 00 */ cmplwi r10, 0 +/* 80338740 003356A0 40 82 FF E0 */ bne lbl_80338720 +/* 80338744 003356A4 28 06 00 00 */ cmplwi r6, 0 +/* 80338748 003356A8 38 60 00 00 */ li r3, 0 +/* 8033874C 003356AC 41 82 00 10 */ beq lbl_8033875C +/* 80338750 003356B0 80 06 00 10 */ lwz r0, 0x10(r6) +/* 80338754 003356B4 7C 05 00 00 */ cmpw r5, r0 +/* 80338758 003356B8 40 80 00 08 */ bge lbl_80338760 +lbl_8033875C: +/* 8033875C 003356BC 38 60 00 01 */ li r3, 1 +lbl_80338760: +/* 80338760 003356C0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80338764 003356C4 41 82 00 08 */ beq lbl_8033876C +/* 80338768 003356C8 38 C0 00 00 */ li r6, 0 +lbl_8033876C: +/* 8033876C 003356CC 38 00 00 00 */ li r0, 0 +/* 80338770 003356D0 38 64 00 1C */ addi r3, r4, 0x1c +/* 80338774 003356D4 7C 06 00 40 */ cmplw r6, r0 +/* 80338778 003356D8 90 C1 00 40 */ stw r6, 0x40(r1) +/* 8033877C 003356DC 90 61 00 44 */ stw r3, 0x44(r1) +/* 80338780 003356E0 90 01 00 38 */ stw r0, 0x38(r1) +/* 80338784 003356E4 90 61 00 3C */ stw r3, 0x3c(r1) +/* 80338788 003356E8 40 82 00 0C */ bne lbl_80338794 +/* 8033878C 003356EC 7C 03 18 40 */ cmplw r3, r3 +/* 80338790 003356F0 41 82 00 08 */ beq lbl_80338798 +lbl_80338794: +/* 80338794 003356F4 38 00 00 01 */ li r0, 1 +lbl_80338798: +/* 80338798 003356F8 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 8033879C 003356FC 41 82 02 08 */ beq lbl_803389A4 +/* 803387A0 00335700 55 00 06 3F */ clrlwi. r0, r8, 0x18 +/* 803387A4 00335704 83 86 00 14 */ lwz r28, 0x14(r6) +/* 803387A8 00335708 41 82 01 7C */ beq lbl_80338924 +/* 803387AC 0033570C 3C 80 80 3D */ lis r4, lbl_803D7A20@ha +/* 803387B0 00335710 38 60 00 24 */ li r3, 0x24 +/* 803387B4 00335714 38 84 7A 20 */ addi r4, r4, lbl_803D7A20@l +/* 803387B8 00335718 38 A0 00 00 */ li r5, 0 +/* 803387BC 0033571C 4B FD D0 B1 */ bl __nw__FUlPCcPCc +/* 803387C0 00335720 7C 64 1B 79 */ or. r4, r3, r3 +/* 803387C4 00335724 41 82 00 18 */ beq lbl_803387DC +/* 803387C8 00335728 7F 44 D3 78 */ mr r4, r26 +/* 803387CC 0033572C 7F 65 DB 78 */ mr r5, r27 +/* 803387D0 00335730 38 C0 00 00 */ li r6, 0 +/* 803387D4 00335734 48 00 6A 39 */ bl __ct__15CMemoryInStreamFPvUlQ215CMemoryInStream10EOwnerShip +/* 803387D8 00335738 7C 64 1B 78 */ mr r4, r3 +lbl_803387DC: +/* 803387DC 0033573C 7C 04 00 D0 */ neg r0, r4 +/* 803387E0 00335740 90 81 00 5C */ stw r4, 0x5c(r1) +/* 803387E4 00335744 7C 00 23 78 */ or r0, r0, r4 +/* 803387E8 00335748 7C 83 23 78 */ mr r3, r4 +/* 803387EC 0033574C 54 00 0F FE */ srwi r0, r0, 0x1f +/* 803387F0 00335750 98 01 00 58 */ stb r0, 0x58(r1) +/* 803387F4 00335754 48 00 64 91 */ bl ReadLong__12CInputStreamFv +/* 803387F8 00335758 3C 80 80 3D */ lis r4, lbl_803D7A20@ha +/* 803387FC 0033575C 7C 7A 1B 78 */ mr r26, r3 +/* 80338800 00335760 38 A0 00 00 */ li r5, 0 +/* 80338804 00335764 38 84 7A 20 */ addi r4, r4, lbl_803D7A20@l +/* 80338808 00335768 4B FD D0 11 */ bl __nwa__FUlPCcPCc +/* 8033880C 0033576C 7C 03 00 D0 */ neg r0, r3 +/* 80338810 00335770 88 C1 00 58 */ lbz r6, 0x58(r1) +/* 80338814 00335774 7C 00 1B 78 */ or r0, r0, r3 +/* 80338818 00335778 80 A1 00 5C */ lwz r5, 0x5c(r1) +/* 8033881C 0033577C 54 07 0F FE */ srwi r7, r0, 0x1f +/* 80338820 00335780 38 00 00 00 */ li r0, 0 +/* 80338824 00335784 90 61 00 54 */ stw r3, 0x54(r1) +/* 80338828 00335788 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 8033882C 0033578C 38 81 00 30 */ addi r4, r1, 0x30 +/* 80338830 00335790 98 E1 00 50 */ stb r7, 0x50(r1) +/* 80338834 00335794 98 C1 00 30 */ stb r6, 0x30(r1) +/* 80338838 00335798 90 A1 00 34 */ stw r5, 0x34(r1) +/* 8033883C 0033579C 98 01 00 58 */ stb r0, 0x58(r1) +/* 80338840 003357A0 48 00 70 C1 */ bl "__ct__15CZipInputStreamFQ24rstl24auto_ptr<12CInputStream>" +/* 80338844 003357A4 88 01 00 30 */ lbz r0, 0x30(r1) +/* 80338848 003357A8 28 00 00 00 */ cmplwi r0, 0 +/* 8033884C 003357AC 41 82 00 24 */ beq lbl_80338870 +/* 80338850 003357B0 80 61 00 34 */ lwz r3, 0x34(r1) +/* 80338854 003357B4 28 03 00 00 */ cmplwi r3, 0 +/* 80338858 003357B8 41 82 00 18 */ beq lbl_80338870 +/* 8033885C 003357BC 81 83 00 00 */ lwz r12, 0(r3) +/* 80338860 003357C0 38 80 00 01 */ li r4, 1 +/* 80338864 003357C4 81 8C 00 08 */ lwz r12, 8(r12) +/* 80338868 003357C8 7D 89 03 A6 */ mtctr r12 +/* 8033886C 003357CC 4E 80 04 21 */ bctrl +lbl_80338870: +/* 80338870 003357D0 80 81 00 54 */ lwz r4, 0x54(r1) +/* 80338874 003357D4 7F 45 D3 78 */ mr r5, r26 +/* 80338878 003357D8 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 8033887C 003357DC 48 00 66 D9 */ bl Get__12CInputStreamFPvUl +/* 80338880 003357E0 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 80338884 003357E4 38 80 FF FF */ li r4, -1 +/* 80338888 003357E8 48 00 6F B9 */ bl __dt__15CZipInputStreamFv +/* 8033888C 003357EC 7F 8C E3 78 */ mr r12, r28 +/* 80338890 003357F0 7F C4 F3 78 */ mr r4, r30 +/* 80338894 003357F4 7F 46 D3 78 */ mr r6, r26 +/* 80338898 003357F8 7F E7 FB 78 */ mr r7, r31 +/* 8033889C 003357FC 38 61 00 28 */ addi r3, r1, 0x28 +/* 803388A0 00335800 38 A1 00 50 */ addi r5, r1, 0x50 +/* 803388A4 00335804 7D 89 03 A6 */ mtctr r12 +/* 803388A8 00335808 4E 80 04 21 */ bctrl +/* 803388AC 0033580C 88 61 00 28 */ lbz r3, 0x28(r1) +/* 803388B0 00335810 38 00 00 00 */ li r0, 0 +/* 803388B4 00335814 98 7D 00 00 */ stb r3, 0(r29) +/* 803388B8 00335818 80 61 00 2C */ lwz r3, 0x2c(r1) +/* 803388BC 0033581C 90 7D 00 04 */ stw r3, 4(r29) +/* 803388C0 00335820 98 01 00 28 */ stb r0, 0x28(r1) +/* 803388C4 00335824 48 00 00 1C */ b lbl_803388E0 +/* 803388C8 00335828 41 82 00 18 */ beq lbl_803388E0 +/* 803388CC 0033582C 81 83 00 00 */ lwz r12, 0(r3) +/* 803388D0 00335830 38 80 00 01 */ li r4, 1 +/* 803388D4 00335834 81 8C 00 08 */ lwz r12, 8(r12) +/* 803388D8 00335838 7D 89 03 A6 */ mtctr r12 +/* 803388DC 0033583C 4E 80 04 21 */ bctrl +lbl_803388E0: +/* 803388E0 00335840 88 01 00 50 */ lbz r0, 0x50(r1) +/* 803388E4 00335844 28 00 00 00 */ cmplwi r0, 0 +/* 803388E8 00335848 41 82 00 0C */ beq lbl_803388F4 +/* 803388EC 0033584C 80 61 00 54 */ lwz r3, 0x54(r1) +/* 803388F0 00335850 4B FD D0 41 */ bl Free__7CMemoryFPCv +lbl_803388F4: +/* 803388F4 00335854 88 01 00 58 */ lbz r0, 0x58(r1) +/* 803388F8 00335858 28 00 00 00 */ cmplwi r0, 0 +/* 803388FC 0033585C 41 82 02 70 */ beq lbl_80338B6C +/* 80338900 00335860 80 61 00 5C */ lwz r3, 0x5c(r1) +/* 80338904 00335864 28 03 00 00 */ cmplwi r3, 0 +/* 80338908 00335868 41 82 02 64 */ beq lbl_80338B6C +/* 8033890C 0033586C 81 83 00 00 */ lwz r12, 0(r3) +/* 80338910 00335870 38 80 00 01 */ li r4, 1 +/* 80338914 00335874 81 8C 00 08 */ lwz r12, 8(r12) +/* 80338918 00335878 7D 89 03 A6 */ mtctr r12 +/* 8033891C 0033587C 4E 80 04 21 */ bctrl +/* 80338920 00335880 48 00 02 4C */ b lbl_80338B6C +lbl_80338924: +/* 80338924 00335884 7C 1A 00 D0 */ neg r0, r26 +/* 80338928 00335888 7F 8C E3 78 */ mr r12, r28 +/* 8033892C 0033588C 7C 00 D3 78 */ or r0, r0, r26 +/* 80338930 00335890 7F C4 F3 78 */ mr r4, r30 +/* 80338934 00335894 54 00 0F FE */ srwi r0, r0, 0x1f +/* 80338938 00335898 7F 66 DB 78 */ mr r6, r27 +/* 8033893C 0033589C 7F E7 FB 78 */ mr r7, r31 +/* 80338940 003358A0 98 01 00 48 */ stb r0, 0x48(r1) +/* 80338944 003358A4 38 61 00 20 */ addi r3, r1, 0x20 +/* 80338948 003358A8 38 A1 00 48 */ addi r5, r1, 0x48 +/* 8033894C 003358AC 93 41 00 4C */ stw r26, 0x4c(r1) +/* 80338950 003358B0 7D 89 03 A6 */ mtctr r12 +/* 80338954 003358B4 4E 80 04 21 */ bctrl +/* 80338958 003358B8 88 61 00 20 */ lbz r3, 0x20(r1) +/* 8033895C 003358BC 38 00 00 00 */ li r0, 0 +/* 80338960 003358C0 98 7D 00 00 */ stb r3, 0(r29) +/* 80338964 003358C4 80 61 00 24 */ lwz r3, 0x24(r1) +/* 80338968 003358C8 90 7D 00 04 */ stw r3, 4(r29) +/* 8033896C 003358CC 98 01 00 20 */ stb r0, 0x20(r1) +/* 80338970 003358D0 48 00 00 1C */ b lbl_8033898C +/* 80338974 003358D4 41 82 00 18 */ beq lbl_8033898C +/* 80338978 003358D8 81 83 00 00 */ lwz r12, 0(r3) +/* 8033897C 003358DC 38 80 00 01 */ li r4, 1 +/* 80338980 003358E0 81 8C 00 08 */ lwz r12, 8(r12) +/* 80338984 003358E4 7D 89 03 A6 */ mtctr r12 +/* 80338988 003358E8 4E 80 04 21 */ bctrl +lbl_8033898C: +/* 8033898C 003358EC 88 01 00 48 */ lbz r0, 0x48(r1) +/* 80338990 003358F0 28 00 00 00 */ cmplwi r0, 0 +/* 80338994 003358F4 41 82 01 D8 */ beq lbl_80338B6C +/* 80338998 003358F8 80 61 00 4C */ lwz r3, 0x4c(r1) +/* 8033899C 003358FC 4B FD CF 95 */ bl Free__7CMemoryFPCv +/* 803389A0 00335900 48 00 01 CC */ b lbl_80338B6C +lbl_803389A4: +/* 803389A4 00335904 80 BE 00 00 */ lwz r5, 0(r30) +/* 803389A8 00335908 38 C0 00 00 */ li r6, 0 +/* 803389AC 0033590C 80 64 00 10 */ lwz r3, 0x10(r4) +/* 803389B0 00335910 48 00 00 20 */ b lbl_803389D0 +lbl_803389B4: +/* 803389B4 00335914 80 03 00 10 */ lwz r0, 0x10(r3) +/* 803389B8 00335918 7C 00 28 00 */ cmpw r0, r5 +/* 803389BC 0033591C 41 80 00 10 */ blt lbl_803389CC +/* 803389C0 00335920 7C 66 1B 78 */ mr r6, r3 +/* 803389C4 00335924 80 63 00 00 */ lwz r3, 0(r3) +/* 803389C8 00335928 48 00 00 08 */ b lbl_803389D0 +lbl_803389CC: +/* 803389CC 0033592C 80 63 00 04 */ lwz r3, 4(r3) +lbl_803389D0: +/* 803389D0 00335930 28 03 00 00 */ cmplwi r3, 0 +/* 803389D4 00335934 40 82 FF E0 */ bne lbl_803389B4 +/* 803389D8 00335938 28 06 00 00 */ cmplwi r6, 0 +/* 803389DC 0033593C 38 60 00 00 */ li r3, 0 +/* 803389E0 00335940 41 82 00 10 */ beq lbl_803389F0 +/* 803389E4 00335944 80 06 00 10 */ lwz r0, 0x10(r6) +/* 803389E8 00335948 7C 05 00 00 */ cmpw r5, r0 +/* 803389EC 0033594C 40 80 00 08 */ bge lbl_803389F4 +lbl_803389F0: +/* 803389F0 00335950 38 60 00 01 */ li r3, 1 +lbl_803389F4: +/* 803389F4 00335954 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 803389F8 00335958 41 82 00 08 */ beq lbl_80338A00 +/* 803389FC 0033595C 38 C0 00 00 */ li r6, 0 +lbl_80338A00: +/* 80338A00 00335960 55 00 06 3F */ clrlwi. r0, r8, 0x18 +/* 80338A04 00335964 83 26 00 14 */ lwz r25, 0x14(r6) +/* 80338A08 00335968 41 82 00 E8 */ beq lbl_80338AF0 +/* 80338A0C 0033596C 3C 80 80 3D */ lis r4, lbl_803D7A20@ha +/* 80338A10 00335970 38 60 00 24 */ li r3, 0x24 +/* 80338A14 00335974 38 84 7A 20 */ addi r4, r4, lbl_803D7A20@l +/* 80338A18 00335978 38 A0 00 00 */ li r5, 0 +/* 80338A1C 0033597C 4B FD CE 51 */ bl __nw__FUlPCcPCc +/* 80338A20 00335980 7C 7C 1B 79 */ or. r28, r3, r3 +/* 80338A24 00335984 41 82 00 18 */ beq lbl_80338A3C +/* 80338A28 00335988 7F 44 D3 78 */ mr r4, r26 +/* 80338A2C 0033598C 7F 65 DB 78 */ mr r5, r27 +/* 80338A30 00335990 38 C0 00 00 */ li r6, 0 +/* 80338A34 00335994 48 00 67 D9 */ bl __ct__15CMemoryInStreamFPvUlQ215CMemoryInStream10EOwnerShip +/* 80338A38 00335998 7C 7C 1B 78 */ mr r28, r3 +lbl_80338A3C: +/* 80338A3C 0033599C 7F 83 E3 78 */ mr r3, r28 +/* 80338A40 003359A0 48 00 62 45 */ bl ReadLong__12CInputStreamFv +/* 80338A44 003359A4 7C 1C 00 D0 */ neg r0, r28 +/* 80338A48 003359A8 93 81 00 1C */ stw r28, 0x1c(r1) +/* 80338A4C 003359AC 7C 00 E3 78 */ or r0, r0, r28 +/* 80338A50 003359B0 38 61 00 84 */ addi r3, r1, 0x84 +/* 80338A54 003359B4 54 00 0F FE */ srwi r0, r0, 0x1f +/* 80338A58 003359B8 38 81 00 18 */ addi r4, r1, 0x18 +/* 80338A5C 003359BC 98 01 00 18 */ stb r0, 0x18(r1) +/* 80338A60 003359C0 48 00 6E A1 */ bl "__ct__15CZipInputStreamFQ24rstl24auto_ptr<12CInputStream>" +/* 80338A64 003359C4 88 01 00 18 */ lbz r0, 0x18(r1) +/* 80338A68 003359C8 28 00 00 00 */ cmplwi r0, 0 +/* 80338A6C 003359CC 41 82 00 24 */ beq lbl_80338A90 +/* 80338A70 003359D0 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 80338A74 003359D4 28 03 00 00 */ cmplwi r3, 0 +/* 80338A78 003359D8 41 82 00 18 */ beq lbl_80338A90 +/* 80338A7C 003359DC 81 83 00 00 */ lwz r12, 0(r3) +/* 80338A80 003359E0 38 80 00 01 */ li r4, 1 +/* 80338A84 003359E4 81 8C 00 08 */ lwz r12, 8(r12) +/* 80338A88 003359E8 7D 89 03 A6 */ mtctr r12 +/* 80338A8C 003359EC 4E 80 04 21 */ bctrl +lbl_80338A90: +/* 80338A90 003359F0 7F 2C CB 78 */ mr r12, r25 +/* 80338A94 003359F4 7F C4 F3 78 */ mr r4, r30 +/* 80338A98 003359F8 7F E6 FB 78 */ mr r6, r31 +/* 80338A9C 003359FC 38 61 00 10 */ addi r3, r1, 0x10 +/* 80338AA0 00335A00 38 A1 00 84 */ addi r5, r1, 0x84 +/* 80338AA4 00335A04 7D 89 03 A6 */ mtctr r12 +/* 80338AA8 00335A08 4E 80 04 21 */ bctrl +/* 80338AAC 00335A0C 88 61 00 10 */ lbz r3, 0x10(r1) +/* 80338AB0 00335A10 38 00 00 00 */ li r0, 0 +/* 80338AB4 00335A14 98 7D 00 00 */ stb r3, 0(r29) +/* 80338AB8 00335A18 80 61 00 14 */ lwz r3, 0x14(r1) +/* 80338ABC 00335A1C 90 7D 00 04 */ stw r3, 4(r29) +/* 80338AC0 00335A20 98 01 00 10 */ stb r0, 0x10(r1) +/* 80338AC4 00335A24 48 00 00 1C */ b lbl_80338AE0 +/* 80338AC8 00335A28 41 82 00 18 */ beq lbl_80338AE0 +/* 80338ACC 00335A2C 81 83 00 00 */ lwz r12, 0(r3) +/* 80338AD0 00335A30 38 80 00 01 */ li r4, 1 +/* 80338AD4 00335A34 81 8C 00 08 */ lwz r12, 8(r12) +/* 80338AD8 00335A38 7D 89 03 A6 */ mtctr r12 +/* 80338ADC 00335A3C 4E 80 04 21 */ bctrl +lbl_80338AE0: +/* 80338AE0 00335A40 38 61 00 84 */ addi r3, r1, 0x84 +/* 80338AE4 00335A44 38 80 FF FF */ li r4, -1 +/* 80338AE8 00335A48 48 00 6D 59 */ bl __dt__15CZipInputStreamFv +/* 80338AEC 00335A4C 48 00 00 80 */ b lbl_80338B6C +lbl_80338AF0: +/* 80338AF0 00335A50 7F 44 D3 78 */ mr r4, r26 +/* 80338AF4 00335A54 7F 65 DB 78 */ mr r5, r27 +/* 80338AF8 00335A58 38 61 00 60 */ addi r3, r1, 0x60 +/* 80338AFC 00335A5C 38 C0 00 00 */ li r6, 0 +/* 80338B00 00335A60 48 00 67 0D */ bl __ct__15CMemoryInStreamFPvUlQ215CMemoryInStream10EOwnerShip +/* 80338B04 00335A64 7F 2C CB 78 */ mr r12, r25 +/* 80338B08 00335A68 7F C4 F3 78 */ mr r4, r30 +/* 80338B0C 00335A6C 7F E6 FB 78 */ mr r6, r31 +/* 80338B10 00335A70 38 61 00 08 */ addi r3, r1, 8 +/* 80338B14 00335A74 38 A1 00 60 */ addi r5, r1, 0x60 +/* 80338B18 00335A78 7D 89 03 A6 */ mtctr r12 +/* 80338B1C 00335A7C 4E 80 04 21 */ bctrl +/* 80338B20 00335A80 88 61 00 08 */ lbz r3, 8(r1) +/* 80338B24 00335A84 38 00 00 00 */ li r0, 0 +/* 80338B28 00335A88 98 7D 00 00 */ stb r3, 0(r29) +/* 80338B2C 00335A8C 80 61 00 0C */ lwz r3, 0xc(r1) +/* 80338B30 00335A90 90 7D 00 04 */ stw r3, 4(r29) +/* 80338B34 00335A94 98 01 00 08 */ stb r0, 8(r1) +/* 80338B38 00335A98 48 00 00 1C */ b lbl_80338B54 +/* 80338B3C 00335A9C 41 82 00 18 */ beq lbl_80338B54 +/* 80338B40 00335AA0 81 83 00 00 */ lwz r12, 0(r3) +/* 80338B44 00335AA4 38 80 00 01 */ li r4, 1 +/* 80338B48 00335AA8 81 8C 00 08 */ lwz r12, 8(r12) +/* 80338B4C 00335AAC 7D 89 03 A6 */ mtctr r12 +/* 80338B50 00335AB0 4E 80 04 21 */ bctrl +lbl_80338B54: +/* 80338B54 00335AB4 3C 80 80 3F */ lis r4, __vt__15CMemoryInStream@ha +/* 80338B58 00335AB8 38 61 00 60 */ addi r3, r1, 0x60 +/* 80338B5C 00335ABC 38 04 E3 98 */ addi r0, r4, __vt__15CMemoryInStream@l +/* 80338B60 00335AC0 38 80 00 00 */ li r4, 0 +/* 80338B64 00335AC4 90 01 00 60 */ stw r0, 0x60(r1) +/* 80338B68 00335AC8 48 00 65 45 */ bl __dt__12CInputStreamFv +lbl_80338B6C: +/* 80338B6C 00335ACC BB 21 00 F4 */ lmw r25, 0xf4(r1) +/* 80338B70 00335AD0 80 01 01 14 */ lwz r0, 0x114(r1) +/* 80338B74 00335AD4 7C 08 03 A6 */ mtlr r0 +/* 80338B78 00335AD8 38 21 01 10 */ addi r1, r1, 0x110 +/* 80338B7C 00335ADC 4E 80 00 20 */ blr + +.global MakeObject__11CFactoryMgrFRC10SObjectTagR12CInputStreamRC15CVParamTransfer +MakeObject__11CFactoryMgrFRC10SObjectTagR12CInputStreamRC15CVParamTransfer: +/* 80338B80 00335AE0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80338B84 00335AE4 7C 08 02 A6 */ mflr r0 +/* 80338B88 00335AE8 39 20 00 00 */ li r9, 0 +/* 80338B8C 00335AEC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80338B90 00335AF0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80338B94 00335AF4 7C 7F 1B 78 */ mr r31, r3 +/* 80338B98 00335AF8 80 84 00 10 */ lwz r4, 0x10(r4) +/* 80338B9C 00335AFC 81 05 00 00 */ lwz r8, 0(r5) +/* 80338BA0 00335B00 48 00 00 20 */ b lbl_80338BC0 +lbl_80338BA4: +/* 80338BA4 00335B04 80 04 00 10 */ lwz r0, 0x10(r4) +/* 80338BA8 00335B08 7C 00 40 00 */ cmpw r0, r8 +/* 80338BAC 00335B0C 41 80 00 10 */ blt lbl_80338BBC +/* 80338BB0 00335B10 7C 89 23 78 */ mr r9, r4 +/* 80338BB4 00335B14 80 84 00 00 */ lwz r4, 0(r4) +/* 80338BB8 00335B18 48 00 00 08 */ b lbl_80338BC0 +lbl_80338BBC: +/* 80338BBC 00335B1C 80 84 00 04 */ lwz r4, 4(r4) +lbl_80338BC0: +/* 80338BC0 00335B20 28 04 00 00 */ cmplwi r4, 0 +/* 80338BC4 00335B24 40 82 FF E0 */ bne lbl_80338BA4 +/* 80338BC8 00335B28 28 09 00 00 */ cmplwi r9, 0 +/* 80338BCC 00335B2C 7C A4 2B 78 */ mr r4, r5 +/* 80338BD0 00335B30 7C C5 33 78 */ mr r5, r6 +/* 80338BD4 00335B34 7C E6 3B 78 */ mr r6, r7 +/* 80338BD8 00335B38 38 61 00 08 */ addi r3, r1, 8 +/* 80338BDC 00335B3C 38 E0 00 00 */ li r7, 0 +/* 80338BE0 00335B40 41 82 00 10 */ beq lbl_80338BF0 +/* 80338BE4 00335B44 80 09 00 10 */ lwz r0, 0x10(r9) +/* 80338BE8 00335B48 7C 08 00 00 */ cmpw r8, r0 +/* 80338BEC 00335B4C 40 80 00 08 */ bge lbl_80338BF4 +lbl_80338BF0: +/* 80338BF0 00335B50 38 E0 00 01 */ li r7, 1 +lbl_80338BF4: +/* 80338BF4 00335B54 54 E0 06 3F */ clrlwi. r0, r7, 0x18 +/* 80338BF8 00335B58 41 82 00 08 */ beq lbl_80338C00 +/* 80338BFC 00335B5C 39 20 00 00 */ li r9, 0 +lbl_80338C00: +/* 80338C00 00335B60 81 89 00 14 */ lwz r12, 0x14(r9) +/* 80338C04 00335B64 7D 89 03 A6 */ mtctr r12 +/* 80338C08 00335B68 4E 80 04 21 */ bctrl +/* 80338C0C 00335B6C 88 61 00 08 */ lbz r3, 8(r1) +/* 80338C10 00335B70 38 00 00 00 */ li r0, 0 +/* 80338C14 00335B74 98 7F 00 00 */ stb r3, 0(r31) +/* 80338C18 00335B78 80 61 00 0C */ lwz r3, 0xc(r1) +/* 80338C1C 00335B7C 90 7F 00 04 */ stw r3, 4(r31) +/* 80338C20 00335B80 98 01 00 08 */ stb r0, 8(r1) +/* 80338C24 00335B84 48 00 00 1C */ b lbl_80338C40 +/* 80338C28 00335B88 41 82 00 18 */ beq lbl_80338C40 +/* 80338C2C 00335B8C 81 83 00 00 */ lwz r12, 0(r3) +/* 80338C30 00335B90 38 80 00 01 */ li r4, 1 +/* 80338C34 00335B94 81 8C 00 08 */ lwz r12, 8(r12) +/* 80338C38 00335B98 7D 89 03 A6 */ mtctr r12 +/* 80338C3C 00335B9C 4E 80 04 21 */ bctrl +lbl_80338C40: +/* 80338C40 00335BA0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80338C44 00335BA4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80338C48 00335BA8 7C 08 03 A6 */ mtlr r0 +/* 80338C4C 00335BAC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80338C50 00335BB0 4E 80 00 20 */ blr + +.global CanMakeMemory__11CFactoryMgrFRC10SObjectTag +CanMakeMemory__11CFactoryMgrFRC10SObjectTag: +/* 80338C54 00335BB4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80338C58 00335BB8 38 C3 00 1C */ addi r6, r3, 0x1c +/* 80338C5C 00335BBC 38 A0 00 00 */ li r5, 0 +/* 80338C60 00335BC0 80 84 00 00 */ lwz r4, 0(r4) +/* 80338C64 00335BC4 80 63 00 24 */ lwz r3, 0x24(r3) +/* 80338C68 00335BC8 48 00 00 20 */ b lbl_80338C88 +lbl_80338C6C: +/* 80338C6C 00335BCC 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80338C70 00335BD0 7C 00 20 00 */ cmpw r0, r4 +/* 80338C74 00335BD4 41 80 00 10 */ blt lbl_80338C84 +/* 80338C78 00335BD8 7C 65 1B 78 */ mr r5, r3 +/* 80338C7C 00335BDC 80 63 00 00 */ lwz r3, 0(r3) +/* 80338C80 00335BE0 48 00 00 08 */ b lbl_80338C88 +lbl_80338C84: +/* 80338C84 00335BE4 80 63 00 04 */ lwz r3, 4(r3) +lbl_80338C88: +/* 80338C88 00335BE8 28 03 00 00 */ cmplwi r3, 0 +/* 80338C8C 00335BEC 40 82 FF E0 */ bne lbl_80338C6C +/* 80338C90 00335BF0 28 05 00 00 */ cmplwi r5, 0 +/* 80338C94 00335BF4 38 60 00 00 */ li r3, 0 +/* 80338C98 00335BF8 41 82 00 10 */ beq lbl_80338CA8 +/* 80338C9C 00335BFC 80 05 00 10 */ lwz r0, 0x10(r5) +/* 80338CA0 00335C00 7C 04 00 00 */ cmpw r4, r0 +/* 80338CA4 00335C04 40 80 00 08 */ bge lbl_80338CAC +lbl_80338CA8: +/* 80338CA8 00335C08 38 60 00 01 */ li r3, 1 +lbl_80338CAC: +/* 80338CAC 00335C0C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80338CB0 00335C10 41 82 00 08 */ beq lbl_80338CB8 +/* 80338CB4 00335C14 38 A0 00 00 */ li r5, 0 +lbl_80338CB8: +/* 80338CB8 00335C18 28 05 00 00 */ cmplwi r5, 0 +/* 80338CBC 00335C1C 90 A1 00 08 */ stw r5, 8(r1) +/* 80338CC0 00335C20 38 60 00 00 */ li r3, 0 +/* 80338CC4 00335C24 90 C1 00 0C */ stw r6, 0xc(r1) +/* 80338CC8 00335C28 40 82 00 0C */ bne lbl_80338CD4 +/* 80338CCC 00335C2C 7C 06 30 40 */ cmplw r6, r6 +/* 80338CD0 00335C30 41 82 00 08 */ beq lbl_80338CD8 +lbl_80338CD4: +/* 80338CD4 00335C34 38 60 00 01 */ li r3, 1 +lbl_80338CD8: +/* 80338CD8 00335C38 38 21 00 10 */ addi r1, r1, 0x10 +/* 80338CDC 00335C3C 4E 80 00 20 */ blr + +.global "AddFactory__11CFactoryMgrFUiPFRC10SObjectTagRCQ24rstl12auto_ptriRC15CVParamTransfer_C16CFactoryFnReturn" +"AddFactory__11CFactoryMgrFUiPFRC10SObjectTagRCQ24rstl12auto_ptriRC15CVParamTransfer_C16CFactoryFnReturn": +/* 80338CE0 00335C40 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80338CE4 00335C44 7C 08 02 A6 */ mflr r0 +/* 80338CE8 00335C48 7C 67 1B 78 */ mr r7, r3 +/* 80338CEC 00335C4C 38 C0 00 00 */ li r6, 0 +/* 80338CF0 00335C50 90 01 00 34 */ stw r0, 0x34(r1) +/* 80338CF4 00335C54 80 63 00 24 */ lwz r3, 0x24(r3) +/* 80338CF8 00335C58 48 00 00 20 */ b lbl_80338D18 +lbl_80338CFC: +/* 80338CFC 00335C5C 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80338D00 00335C60 7C 00 20 00 */ cmpw r0, r4 +/* 80338D04 00335C64 41 80 00 10 */ blt lbl_80338D14 +/* 80338D08 00335C68 7C 66 1B 78 */ mr r6, r3 +/* 80338D0C 00335C6C 80 63 00 00 */ lwz r3, 0(r3) +/* 80338D10 00335C70 48 00 00 08 */ b lbl_80338D18 +lbl_80338D14: +/* 80338D14 00335C74 80 63 00 04 */ lwz r3, 4(r3) +lbl_80338D18: +/* 80338D18 00335C78 28 03 00 00 */ cmplwi r3, 0 +/* 80338D1C 00335C7C 40 82 FF E0 */ bne lbl_80338CFC +/* 80338D20 00335C80 28 06 00 00 */ cmplwi r6, 0 +/* 80338D24 00335C84 38 60 00 00 */ li r3, 0 +/* 80338D28 00335C88 41 82 00 10 */ beq lbl_80338D38 +/* 80338D2C 00335C8C 80 06 00 10 */ lwz r0, 0x10(r6) +/* 80338D30 00335C90 7C 04 00 00 */ cmpw r4, r0 +/* 80338D34 00335C94 40 80 00 08 */ bge lbl_80338D3C +lbl_80338D38: +/* 80338D38 00335C98 38 60 00 01 */ li r3, 1 +lbl_80338D3C: +/* 80338D3C 00335C9C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80338D40 00335CA0 41 82 00 08 */ beq lbl_80338D48 +/* 80338D44 00335CA4 38 C0 00 00 */ li r6, 0 +lbl_80338D48: +/* 80338D48 00335CA8 38 00 00 00 */ li r0, 0 +/* 80338D4C 00335CAC 38 67 00 1C */ addi r3, r7, 0x1c +/* 80338D50 00335CB0 7C 06 00 40 */ cmplw r6, r0 +/* 80338D54 00335CB4 90 01 00 10 */ stw r0, 0x10(r1) +/* 80338D58 00335CB8 90 61 00 14 */ stw r3, 0x14(r1) +/* 80338D5C 00335CBC 40 82 00 0C */ bne lbl_80338D68 +/* 80338D60 00335CC0 7C 03 18 40 */ cmplw r3, r3 +/* 80338D64 00335CC4 41 82 00 08 */ beq lbl_80338D6C +lbl_80338D68: +/* 80338D68 00335CC8 38 00 00 01 */ li r0, 1 +lbl_80338D6C: +/* 80338D6C 00335CCC 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 80338D70 00335CD0 40 82 00 20 */ bne lbl_80338D90 +/* 80338D74 00335CD4 90 81 00 08 */ stw r4, 8(r1) +/* 80338D78 00335CD8 38 61 00 18 */ addi r3, r1, 0x18 +/* 80338D7C 00335CDC 38 87 00 14 */ addi r4, r7, 0x14 +/* 80338D80 00335CE0 38 C1 00 08 */ addi r6, r1, 8 +/* 80338D84 00335CE4 90 A1 00 0C */ stw r5, 0xc(r1) +/* 80338D88 00335CE8 80 A7 00 24 */ lwz r5, 0x24(r7) +/* 80338D8C 00335CEC 48 00 04 E5 */ bl sub_80339270 +lbl_80338D90: +/* 80338D90 00335CF0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80338D94 00335CF4 7C 08 03 A6 */ mtlr r0 +/* 80338D98 00335CF8 38 21 00 30 */ addi r1, r1, 0x30 +/* 80338D9C 00335CFC 4E 80 00 20 */ blr + +.global AddFactory__11CFactoryMgrFUiPFRC10SObjectTagR12CInputStreamRC15CVParamTransfer_C16CFactoryFnReturn +AddFactory__11CFactoryMgrFUiPFRC10SObjectTagR12CInputStreamRC15CVParamTransfer_C16CFactoryFnReturn: +/* 80338DA0 00335D00 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80338DA4 00335D04 7C 08 02 A6 */ mflr r0 +/* 80338DA8 00335D08 7C 67 1B 78 */ mr r7, r3 +/* 80338DAC 00335D0C 38 C0 00 00 */ li r6, 0 +/* 80338DB0 00335D10 90 01 00 34 */ stw r0, 0x34(r1) +/* 80338DB4 00335D14 80 63 00 10 */ lwz r3, 0x10(r3) +/* 80338DB8 00335D18 48 00 00 20 */ b lbl_80338DD8 +lbl_80338DBC: +/* 80338DBC 00335D1C 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80338DC0 00335D20 7C 00 20 00 */ cmpw r0, r4 +/* 80338DC4 00335D24 41 80 00 10 */ blt lbl_80338DD4 +/* 80338DC8 00335D28 7C 66 1B 78 */ mr r6, r3 +/* 80338DCC 00335D2C 80 63 00 00 */ lwz r3, 0(r3) +/* 80338DD0 00335D30 48 00 00 08 */ b lbl_80338DD8 +lbl_80338DD4: +/* 80338DD4 00335D34 80 63 00 04 */ lwz r3, 4(r3) +lbl_80338DD8: +/* 80338DD8 00335D38 28 03 00 00 */ cmplwi r3, 0 +/* 80338DDC 00335D3C 40 82 FF E0 */ bne lbl_80338DBC +/* 80338DE0 00335D40 28 06 00 00 */ cmplwi r6, 0 +/* 80338DE4 00335D44 38 60 00 00 */ li r3, 0 +/* 80338DE8 00335D48 41 82 00 10 */ beq lbl_80338DF8 +/* 80338DEC 00335D4C 80 06 00 10 */ lwz r0, 0x10(r6) +/* 80338DF0 00335D50 7C 04 00 00 */ cmpw r4, r0 +/* 80338DF4 00335D54 40 80 00 08 */ bge lbl_80338DFC +lbl_80338DF8: +/* 80338DF8 00335D58 38 60 00 01 */ li r3, 1 +lbl_80338DFC: +/* 80338DFC 00335D5C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80338E00 00335D60 41 82 00 08 */ beq lbl_80338E08 +/* 80338E04 00335D64 38 C0 00 00 */ li r6, 0 +lbl_80338E08: +/* 80338E08 00335D68 38 00 00 00 */ li r0, 0 +/* 80338E0C 00335D6C 38 67 00 08 */ addi r3, r7, 8 +/* 80338E10 00335D70 7C 06 00 40 */ cmplw r6, r0 +/* 80338E14 00335D74 90 01 00 10 */ stw r0, 0x10(r1) +/* 80338E18 00335D78 90 61 00 14 */ stw r3, 0x14(r1) +/* 80338E1C 00335D7C 40 82 00 0C */ bne lbl_80338E28 +/* 80338E20 00335D80 7C 03 18 40 */ cmplw r3, r3 +/* 80338E24 00335D84 41 82 00 08 */ beq lbl_80338E2C +lbl_80338E28: +/* 80338E28 00335D88 38 00 00 01 */ li r0, 1 +lbl_80338E2C: +/* 80338E2C 00335D8C 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 80338E30 00335D90 40 82 00 20 */ bne lbl_80338E50 +/* 80338E34 00335D94 90 81 00 08 */ stw r4, 8(r1) +/* 80338E38 00335D98 7C E4 3B 78 */ mr r4, r7 +/* 80338E3C 00335D9C 38 61 00 18 */ addi r3, r1, 0x18 +/* 80338E40 00335DA0 38 C1 00 08 */ addi r6, r1, 8 +/* 80338E44 00335DA4 90 A1 00 0C */ stw r5, 0xc(r1) +/* 80338E48 00335DA8 80 A7 00 10 */ lwz r5, 0x10(r7) +/* 80338E4C 00335DAC 48 00 01 85 */ bl sub_80338fd0 +lbl_80338E50: +/* 80338E50 00335DB0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80338E54 00335DB4 7C 08 03 A6 */ mtlr r0 +/* 80338E58 00335DB8 38 21 00 30 */ addi r1, r1, 0x30 +/* 80338E5C 00335DBC 4E 80 00 20 */ blr + +.global sub_80338e60 +sub_80338e60: +/* 80338E60 00335DC0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80338E64 00335DC4 7C 08 02 A6 */ mflr r0 +/* 80338E68 00335DC8 90 01 00 14 */ stw r0, 0x14(r1) +/* 80338E6C 00335DCC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80338E70 00335DD0 7C 9F 23 78 */ mr r31, r4 +/* 80338E74 00335DD4 93 C1 00 08 */ stw r30, 8(r1) +/* 80338E78 00335DD8 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80338E7C 00335DDC 41 82 00 80 */ beq lbl_80338EFC +/* 80338E80 00335DE0 34 1E 00 14 */ addic. r0, r30, 0x14 +/* 80338E84 00335DE4 41 82 00 34 */ beq lbl_80338EB8 +/* 80338E88 00335DE8 34 1E 00 14 */ addic. r0, r30, 0x14 +/* 80338E8C 00335DEC 41 82 00 2C */ beq lbl_80338EB8 +/* 80338E90 00335DF0 80 9E 00 24 */ lwz r4, 0x24(r30) +/* 80338E94 00335DF4 28 04 00 00 */ cmplwi r4, 0 +/* 80338E98 00335DF8 41 82 00 0C */ beq lbl_80338EA4 +/* 80338E9C 00335DFC 38 7E 00 14 */ addi r3, r30, 0x14 +/* 80338EA0 00335E00 48 00 03 69 */ bl sub_80339208 +lbl_80338EA4: +/* 80338EA4 00335E04 38 00 00 00 */ li r0, 0 +/* 80338EA8 00335E08 90 1E 00 24 */ stw r0, 0x24(r30) +/* 80338EAC 00335E0C 90 1E 00 1C */ stw r0, 0x1c(r30) +/* 80338EB0 00335E10 90 1E 00 20 */ stw r0, 0x20(r30) +/* 80338EB4 00335E14 90 1E 00 18 */ stw r0, 0x18(r30) +lbl_80338EB8: +/* 80338EB8 00335E18 28 1E 00 00 */ cmplwi r30, 0 +/* 80338EBC 00335E1C 41 82 00 30 */ beq lbl_80338EEC +/* 80338EC0 00335E20 41 82 00 2C */ beq lbl_80338EEC +/* 80338EC4 00335E24 80 9E 00 10 */ lwz r4, 0x10(r30) +/* 80338EC8 00335E28 28 04 00 00 */ cmplwi r4, 0 +/* 80338ECC 00335E2C 41 82 00 0C */ beq lbl_80338ED8 +/* 80338ED0 00335E30 7F C3 F3 78 */ mr r3, r30 +/* 80338ED4 00335E34 48 00 00 95 */ bl sub_80338f68 +lbl_80338ED8: +/* 80338ED8 00335E38 38 00 00 00 */ li r0, 0 +/* 80338EDC 00335E3C 90 1E 00 10 */ stw r0, 0x10(r30) +/* 80338EE0 00335E40 90 1E 00 08 */ stw r0, 8(r30) +/* 80338EE4 00335E44 90 1E 00 0C */ stw r0, 0xc(r30) +/* 80338EE8 00335E48 90 1E 00 04 */ stw r0, 4(r30) +lbl_80338EEC: +/* 80338EEC 00335E4C 7F E0 07 35 */ extsh. r0, r31 +/* 80338EF0 00335E50 40 81 00 0C */ ble lbl_80338EFC +/* 80338EF4 00335E54 7F C3 F3 78 */ mr r3, r30 +/* 80338EF8 00335E58 4B FD CA 39 */ bl Free__7CMemoryFPCv +lbl_80338EFC: +/* 80338EFC 00335E5C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80338F00 00335E60 7F C3 F3 78 */ mr r3, r30 +/* 80338F04 00335E64 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80338F08 00335E68 83 C1 00 08 */ lwz r30, 8(r1) +/* 80338F0C 00335E6C 7C 08 03 A6 */ mtlr r0 +/* 80338F10 00335E70 38 21 00 10 */ addi r1, r1, 0x10 +/* 80338F14 00335E74 4E 80 00 20 */ blr + +.global __ct__11CFactoryMgrFv +__ct__11CFactoryMgrFv: +/* 80338F18 00335E78 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80338F1C 00335E7C 38 A0 00 00 */ li r5, 0 +/* 80338F20 00335E80 88 81 00 0C */ lbz r4, 0xc(r1) +/* 80338F24 00335E84 88 01 00 14 */ lbz r0, 0x14(r1) +/* 80338F28 00335E88 98 83 00 00 */ stb r4, 0(r3) +/* 80338F2C 00335E8C 88 81 00 08 */ lbz r4, 8(r1) +/* 80338F30 00335E90 98 03 00 01 */ stb r0, 1(r3) +/* 80338F34 00335E94 88 01 00 10 */ lbz r0, 0x10(r1) +/* 80338F38 00335E98 90 A3 00 04 */ stw r5, 4(r3) +/* 80338F3C 00335E9C 90 A3 00 08 */ stw r5, 8(r3) +/* 80338F40 00335EA0 90 A3 00 0C */ stw r5, 0xc(r3) +/* 80338F44 00335EA4 90 A3 00 10 */ stw r5, 0x10(r3) +/* 80338F48 00335EA8 98 83 00 14 */ stb r4, 0x14(r3) +/* 80338F4C 00335EAC 98 03 00 15 */ stb r0, 0x15(r3) +/* 80338F50 00335EB0 90 A3 00 18 */ stw r5, 0x18(r3) +/* 80338F54 00335EB4 90 A3 00 1C */ stw r5, 0x1c(r3) +/* 80338F58 00335EB8 90 A3 00 20 */ stw r5, 0x20(r3) +/* 80338F5C 00335EBC 90 A3 00 24 */ stw r5, 0x24(r3) +/* 80338F60 00335EC0 38 21 00 20 */ addi r1, r1, 0x20 +/* 80338F64 00335EC4 4E 80 00 20 */ blr + +.global sub_80338f68 +sub_80338f68: +/* 80338F68 00335EC8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80338F6C 00335ECC 7C 08 02 A6 */ mflr r0 +/* 80338F70 00335ED0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80338F74 00335ED4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80338F78 00335ED8 7C 9F 23 78 */ mr r31, r4 +/* 80338F7C 00335EDC 93 C1 00 08 */ stw r30, 8(r1) +/* 80338F80 00335EE0 7C 7E 1B 78 */ mr r30, r3 +/* 80338F84 00335EE4 80 84 00 00 */ lwz r4, 0(r4) +/* 80338F88 00335EE8 28 04 00 00 */ cmplwi r4, 0 +/* 80338F8C 00335EEC 41 82 00 08 */ beq lbl_80338F94 +/* 80338F90 00335EF0 4B FF FF D9 */ bl sub_80338f68 +lbl_80338F94: +/* 80338F94 00335EF4 80 9F 00 04 */ lwz r4, 4(r31) +/* 80338F98 00335EF8 28 04 00 00 */ cmplwi r4, 0 +/* 80338F9C 00335EFC 41 82 00 0C */ beq lbl_80338FA8 +/* 80338FA0 00335F00 7F C3 F3 78 */ mr r3, r30 +/* 80338FA4 00335F04 4B FF FF C5 */ bl sub_80338f68 +lbl_80338FA8: +/* 80338FA8 00335F08 28 1F 00 00 */ cmplwi r31, 0 +/* 80338FAC 00335F0C 41 82 00 0C */ beq lbl_80338FB8 +/* 80338FB0 00335F10 7F E3 FB 78 */ mr r3, r31 +/* 80338FB4 00335F14 4B FD C9 7D */ bl Free__7CMemoryFPCv +lbl_80338FB8: +/* 80338FB8 00335F18 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80338FBC 00335F1C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80338FC0 00335F20 83 C1 00 08 */ lwz r30, 8(r1) +/* 80338FC4 00335F24 7C 08 03 A6 */ mtlr r0 +/* 80338FC8 00335F28 38 21 00 10 */ addi r1, r1, 0x10 +/* 80338FCC 00335F2C 4E 80 00 20 */ blr + +.global sub_80338fd0 +sub_80338fd0: +/* 80338FD0 00335F30 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80338FD4 00335F34 7C 08 02 A6 */ mflr r0 +/* 80338FD8 00335F38 28 05 00 00 */ cmplwi r5, 0 +/* 80338FDC 00335F3C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80338FE0 00335F40 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 80338FE4 00335F44 7C 7C 1B 78 */ mr r28, r3 +/* 80338FE8 00335F48 7C 9D 23 78 */ mr r29, r4 +/* 80338FEC 00335F4C 7C DE 33 78 */ mr r30, r6 +/* 80338FF0 00335F50 40 82 00 88 */ bne lbl_80339078 +/* 80338FF4 00335F54 3C 80 80 3D */ lis r4, lbl_803D7A20@ha +/* 80338FF8 00335F58 38 60 00 18 */ li r3, 0x18 +/* 80338FFC 00335F5C 38 84 7A 20 */ addi r4, r4, lbl_803D7A20@l +/* 80339000 00335F60 38 A0 00 00 */ li r5, 0 +/* 80339004 00335F64 4B FD C8 15 */ bl __nwa__FUlPCcPCc +/* 80339008 00335F68 28 03 00 00 */ cmplwi r3, 0 +/* 8033900C 00335F6C 41 82 00 30 */ beq lbl_8033903C +/* 80339010 00335F70 38 00 00 00 */ li r0, 0 +/* 80339014 00335F74 34 83 00 10 */ addic. r4, r3, 0x10 +/* 80339018 00335F78 90 03 00 00 */ stw r0, 0(r3) +/* 8033901C 00335F7C 90 03 00 04 */ stw r0, 4(r3) +/* 80339020 00335F80 90 03 00 08 */ stw r0, 8(r3) +/* 80339024 00335F84 90 03 00 0C */ stw r0, 0xc(r3) +/* 80339028 00335F88 41 82 00 14 */ beq lbl_8033903C +/* 8033902C 00335F8C 80 1E 00 00 */ lwz r0, 0(r30) +/* 80339030 00335F90 90 04 00 00 */ stw r0, 0(r4) +/* 80339034 00335F94 80 1E 00 04 */ lwz r0, 4(r30) +/* 80339038 00335F98 90 04 00 04 */ stw r0, 4(r4) +lbl_8033903C: +/* 8033903C 00335F9C 90 7D 00 10 */ stw r3, 0x10(r29) +/* 80339040 00335FA0 38 1D 00 08 */ addi r0, r29, 8 +/* 80339044 00335FA4 80 7D 00 04 */ lwz r3, 4(r29) +/* 80339048 00335FA8 38 63 00 01 */ addi r3, r3, 1 +/* 8033904C 00335FAC 90 7D 00 04 */ stw r3, 4(r29) +/* 80339050 00335FB0 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 80339054 00335FB4 90 7D 00 08 */ stw r3, 8(r29) +/* 80339058 00335FB8 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 8033905C 00335FBC 90 7D 00 0C */ stw r3, 0xc(r29) +/* 80339060 00335FC0 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 80339064 00335FC4 90 7C 00 00 */ stw r3, 0(r28) +/* 80339068 00335FC8 90 1C 00 04 */ stw r0, 4(r28) +/* 8033906C 00335FCC 88 0D 9D 43 */ lbz r0, lbl_805A8903@sda21(r13) +/* 80339070 00335FD0 98 1C 00 08 */ stb r0, 8(r28) +/* 80339074 00335FD4 48 00 01 80 */ b lbl_803391F4 +lbl_80339078: +/* 80339078 00335FD8 7C BF 2B 78 */ mr r31, r5 +/* 8033907C 00335FDC 3B 60 00 00 */ li r27, 0 +/* 80339080 00335FE0 48 00 01 40 */ b lbl_803391C0 +lbl_80339084: +/* 80339084 00335FE4 80 9E 00 00 */ lwz r4, 0(r30) +/* 80339088 00335FE8 80 BF 00 10 */ lwz r5, 0x10(r31) +/* 8033908C 00335FEC 7C A0 22 78 */ xor r0, r5, r4 +/* 80339090 00335FF0 7C 03 0E 70 */ srawi r3, r0, 1 +/* 80339094 00335FF4 7C 00 28 38 */ and r0, r0, r5 +/* 80339098 00335FF8 7C 00 18 50 */ subf r0, r0, r3 +/* 8033909C 00335FFC 54 00 0F FF */ rlwinm. r0, r0, 1, 0x1f, 0x1f +/* 803390A0 00336000 40 82 00 24 */ bne lbl_803390C4 +/* 803390A4 00336004 7C 05 20 00 */ cmpw r5, r4 +/* 803390A8 00336008 41 80 00 1C */ blt lbl_803390C4 +/* 803390AC 0033600C 93 FC 00 00 */ stw r31, 0(r28) +/* 803390B0 00336010 38 1D 00 08 */ addi r0, r29, 8 +/* 803390B4 00336014 90 1C 00 04 */ stw r0, 4(r28) +/* 803390B8 00336018 88 0D 9D 44 */ lbz r0, lbl_805A8904@sda21(r13) +/* 803390BC 0033601C 98 1C 00 08 */ stb r0, 8(r28) +/* 803390C0 00336020 48 00 01 34 */ b lbl_803391F4 +lbl_803390C4: +/* 803390C4 00336024 28 00 00 00 */ cmplwi r0, 0 +/* 803390C8 00336028 41 82 00 80 */ beq lbl_80339148 +/* 803390CC 0033602C 80 1F 00 00 */ lwz r0, 0(r31) +/* 803390D0 00336030 28 00 00 00 */ cmplwi r0, 0 +/* 803390D4 00336034 40 82 00 6C */ bne lbl_80339140 +/* 803390D8 00336038 3C 80 80 3D */ lis r4, lbl_803D7A20@ha +/* 803390DC 0033603C 38 60 00 18 */ li r3, 0x18 +/* 803390E0 00336040 38 84 7A 20 */ addi r4, r4, lbl_803D7A20@l +/* 803390E4 00336044 38 A0 00 00 */ li r5, 0 +/* 803390E8 00336048 4B FD C7 31 */ bl __nwa__FUlPCcPCc +/* 803390EC 0033604C 28 03 00 00 */ cmplwi r3, 0 +/* 803390F0 00336050 41 82 00 34 */ beq lbl_80339124 +/* 803390F4 00336054 38 80 00 00 */ li r4, 0 +/* 803390F8 00336058 34 A3 00 10 */ addic. r5, r3, 0x10 +/* 803390FC 0033605C 90 83 00 00 */ stw r4, 0(r3) +/* 80339100 00336060 38 00 00 01 */ li r0, 1 +/* 80339104 00336064 90 83 00 04 */ stw r4, 4(r3) +/* 80339108 00336068 93 E3 00 08 */ stw r31, 8(r3) +/* 8033910C 0033606C 90 03 00 0C */ stw r0, 0xc(r3) +/* 80339110 00336070 41 82 00 14 */ beq lbl_80339124 +/* 80339114 00336074 80 1E 00 00 */ lwz r0, 0(r30) +/* 80339118 00336078 90 05 00 00 */ stw r0, 0(r5) +/* 8033911C 0033607C 80 1E 00 04 */ lwz r0, 4(r30) +/* 80339120 00336080 90 05 00 04 */ stw r0, 4(r5) +lbl_80339124: +/* 80339124 00336084 90 7F 00 00 */ stw r3, 0(r31) +/* 80339128 00336088 7C 7B 1B 78 */ mr r27, r3 +/* 8033912C 0033608C 80 1D 00 08 */ lwz r0, 8(r29) +/* 80339130 00336090 7C 1F 00 40 */ cmplw r31, r0 +/* 80339134 00336094 40 82 00 8C */ bne lbl_803391C0 +/* 80339138 00336098 90 7D 00 08 */ stw r3, 8(r29) +/* 8033913C 0033609C 48 00 00 84 */ b lbl_803391C0 +lbl_80339140: +/* 80339140 003360A0 7C 1F 03 78 */ mr r31, r0 +/* 80339144 003360A4 48 00 00 7C */ b lbl_803391C0 +lbl_80339148: +/* 80339148 003360A8 80 1F 00 04 */ lwz r0, 4(r31) +/* 8033914C 003360AC 28 00 00 00 */ cmplwi r0, 0 +/* 80339150 003360B0 40 82 00 6C */ bne lbl_803391BC +/* 80339154 003360B4 3C 80 80 3D */ lis r4, lbl_803D7A20@ha +/* 80339158 003360B8 38 60 00 18 */ li r3, 0x18 +/* 8033915C 003360BC 38 84 7A 20 */ addi r4, r4, lbl_803D7A20@l +/* 80339160 003360C0 38 A0 00 00 */ li r5, 0 +/* 80339164 003360C4 4B FD C6 B5 */ bl __nwa__FUlPCcPCc +/* 80339168 003360C8 28 03 00 00 */ cmplwi r3, 0 +/* 8033916C 003360CC 41 82 00 34 */ beq lbl_803391A0 +/* 80339170 003360D0 38 80 00 00 */ li r4, 0 +/* 80339174 003360D4 34 A3 00 10 */ addic. r5, r3, 0x10 +/* 80339178 003360D8 90 83 00 00 */ stw r4, 0(r3) +/* 8033917C 003360DC 38 00 00 01 */ li r0, 1 +/* 80339180 003360E0 90 83 00 04 */ stw r4, 4(r3) +/* 80339184 003360E4 93 E3 00 08 */ stw r31, 8(r3) +/* 80339188 003360E8 90 03 00 0C */ stw r0, 0xc(r3) +/* 8033918C 003360EC 41 82 00 14 */ beq lbl_803391A0 +/* 80339190 003360F0 80 1E 00 00 */ lwz r0, 0(r30) +/* 80339194 003360F4 90 05 00 00 */ stw r0, 0(r5) +/* 80339198 003360F8 80 1E 00 04 */ lwz r0, 4(r30) +/* 8033919C 003360FC 90 05 00 04 */ stw r0, 4(r5) +lbl_803391A0: +/* 803391A0 00336100 90 7F 00 04 */ stw r3, 4(r31) +/* 803391A4 00336104 7C 7B 1B 78 */ mr r27, r3 +/* 803391A8 00336108 80 1D 00 0C */ lwz r0, 0xc(r29) +/* 803391AC 0033610C 7C 1F 00 40 */ cmplw r31, r0 +/* 803391B0 00336110 40 82 00 10 */ bne lbl_803391C0 +/* 803391B4 00336114 90 7D 00 0C */ stw r3, 0xc(r29) +/* 803391B8 00336118 48 00 00 08 */ b lbl_803391C0 +lbl_803391BC: +/* 803391BC 0033611C 7C 1F 03 78 */ mr r31, r0 +lbl_803391C0: +/* 803391C0 00336120 28 1B 00 00 */ cmplwi r27, 0 +/* 803391C4 00336124 41 82 FE C0 */ beq lbl_80339084 +/* 803391C8 00336128 80 BD 00 04 */ lwz r5, 4(r29) +/* 803391CC 0033612C 7F 64 DB 78 */ mr r4, r27 +/* 803391D0 00336130 38 7D 00 08 */ addi r3, r29, 8 +/* 803391D4 00336134 38 05 00 01 */ addi r0, r5, 1 +/* 803391D8 00336138 90 1D 00 04 */ stw r0, 4(r29) +/* 803391DC 0033613C 48 00 38 BD */ bl rbtree_rebalance__4rstlFPvPv +/* 803391E0 00336140 93 7C 00 00 */ stw r27, 0(r28) +/* 803391E4 00336144 38 1D 00 08 */ addi r0, r29, 8 +/* 803391E8 00336148 90 1C 00 04 */ stw r0, 4(r28) +/* 803391EC 0033614C 88 0D 9D 45 */ lbz r0, lbl_805A8905@sda21(r13) +/* 803391F0 00336150 98 1C 00 08 */ stb r0, 8(r28) +lbl_803391F4: +/* 803391F4 00336154 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 803391F8 00336158 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803391FC 0033615C 7C 08 03 A6 */ mtlr r0 +/* 80339200 00336160 38 21 00 20 */ addi r1, r1, 0x20 +/* 80339204 00336164 4E 80 00 20 */ blr + +.global sub_80339208 +sub_80339208: +/* 80339208 00336168 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033920C 0033616C 7C 08 02 A6 */ mflr r0 +/* 80339210 00336170 90 01 00 14 */ stw r0, 0x14(r1) +/* 80339214 00336174 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80339218 00336178 7C 9F 23 78 */ mr r31, r4 +/* 8033921C 0033617C 93 C1 00 08 */ stw r30, 8(r1) +/* 80339220 00336180 7C 7E 1B 78 */ mr r30, r3 +/* 80339224 00336184 80 84 00 00 */ lwz r4, 0(r4) +/* 80339228 00336188 28 04 00 00 */ cmplwi r4, 0 +/* 8033922C 0033618C 41 82 00 08 */ beq lbl_80339234 +/* 80339230 00336190 4B FF FF D9 */ bl sub_80339208 +lbl_80339234: +/* 80339234 00336194 80 9F 00 04 */ lwz r4, 4(r31) +/* 80339238 00336198 28 04 00 00 */ cmplwi r4, 0 +/* 8033923C 0033619C 41 82 00 0C */ beq lbl_80339248 +/* 80339240 003361A0 7F C3 F3 78 */ mr r3, r30 +/* 80339244 003361A4 4B FF FF C5 */ bl sub_80339208 +lbl_80339248: +/* 80339248 003361A8 28 1F 00 00 */ cmplwi r31, 0 +/* 8033924C 003361AC 41 82 00 0C */ beq lbl_80339258 +/* 80339250 003361B0 7F E3 FB 78 */ mr r3, r31 +/* 80339254 003361B4 4B FD C6 DD */ bl Free__7CMemoryFPCv +lbl_80339258: +/* 80339258 003361B8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033925C 003361BC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80339260 003361C0 83 C1 00 08 */ lwz r30, 8(r1) +/* 80339264 003361C4 7C 08 03 A6 */ mtlr r0 +/* 80339268 003361C8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033926C 003361CC 4E 80 00 20 */ blr + +.global sub_80339270 +sub_80339270: +/* 80339270 003361D0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80339274 003361D4 7C 08 02 A6 */ mflr r0 +/* 80339278 003361D8 28 05 00 00 */ cmplwi r5, 0 +/* 8033927C 003361DC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80339280 003361E0 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 80339284 003361E4 7C 7C 1B 78 */ mr r28, r3 +/* 80339288 003361E8 7C 9D 23 78 */ mr r29, r4 +/* 8033928C 003361EC 7C DE 33 78 */ mr r30, r6 +/* 80339290 003361F0 40 82 00 88 */ bne lbl_80339318 +/* 80339294 003361F4 3C 80 80 3D */ lis r4, lbl_803D7A20@ha +/* 80339298 003361F8 38 60 00 18 */ li r3, 0x18 +/* 8033929C 003361FC 38 84 7A 20 */ addi r4, r4, lbl_803D7A20@l +/* 803392A0 00336200 38 A0 00 00 */ li r5, 0 +/* 803392A4 00336204 4B FD C5 75 */ bl __nwa__FUlPCcPCc +/* 803392A8 00336208 28 03 00 00 */ cmplwi r3, 0 +/* 803392AC 0033620C 41 82 00 30 */ beq lbl_803392DC +/* 803392B0 00336210 38 00 00 00 */ li r0, 0 +/* 803392B4 00336214 34 83 00 10 */ addic. r4, r3, 0x10 +/* 803392B8 00336218 90 03 00 00 */ stw r0, 0(r3) +/* 803392BC 0033621C 90 03 00 04 */ stw r0, 4(r3) +/* 803392C0 00336220 90 03 00 08 */ stw r0, 8(r3) +/* 803392C4 00336224 90 03 00 0C */ stw r0, 0xc(r3) +/* 803392C8 00336228 41 82 00 14 */ beq lbl_803392DC +/* 803392CC 0033622C 80 1E 00 00 */ lwz r0, 0(r30) +/* 803392D0 00336230 90 04 00 00 */ stw r0, 0(r4) +/* 803392D4 00336234 80 1E 00 04 */ lwz r0, 4(r30) +/* 803392D8 00336238 90 04 00 04 */ stw r0, 4(r4) +lbl_803392DC: +/* 803392DC 0033623C 90 7D 00 10 */ stw r3, 0x10(r29) +/* 803392E0 00336240 38 1D 00 08 */ addi r0, r29, 8 +/* 803392E4 00336244 80 7D 00 04 */ lwz r3, 4(r29) +/* 803392E8 00336248 38 63 00 01 */ addi r3, r3, 1 +/* 803392EC 0033624C 90 7D 00 04 */ stw r3, 4(r29) +/* 803392F0 00336250 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 803392F4 00336254 90 7D 00 08 */ stw r3, 8(r29) +/* 803392F8 00336258 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 803392FC 0033625C 90 7D 00 0C */ stw r3, 0xc(r29) +/* 80339300 00336260 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 80339304 00336264 90 7C 00 00 */ stw r3, 0(r28) +/* 80339308 00336268 90 1C 00 04 */ stw r0, 4(r28) +/* 8033930C 0033626C 88 0D 9D 40 */ lbz r0, lbl_805A8900@sda21(r13) +/* 80339310 00336270 98 1C 00 08 */ stb r0, 8(r28) +/* 80339314 00336274 48 00 01 80 */ b lbl_80339494 +lbl_80339318: +/* 80339318 00336278 7C BF 2B 78 */ mr r31, r5 +/* 8033931C 0033627C 3B 60 00 00 */ li r27, 0 +/* 80339320 00336280 48 00 01 40 */ b lbl_80339460 +lbl_80339324: +/* 80339324 00336284 80 9E 00 00 */ lwz r4, 0(r30) +/* 80339328 00336288 80 BF 00 10 */ lwz r5, 0x10(r31) +/* 8033932C 0033628C 7C A0 22 78 */ xor r0, r5, r4 +/* 80339330 00336290 7C 03 0E 70 */ srawi r3, r0, 1 +/* 80339334 00336294 7C 00 28 38 */ and r0, r0, r5 +/* 80339338 00336298 7C 00 18 50 */ subf r0, r0, r3 +/* 8033933C 0033629C 54 00 0F FF */ rlwinm. r0, r0, 1, 0x1f, 0x1f +/* 80339340 003362A0 40 82 00 24 */ bne lbl_80339364 +/* 80339344 003362A4 7C 05 20 00 */ cmpw r5, r4 +/* 80339348 003362A8 41 80 00 1C */ blt lbl_80339364 +/* 8033934C 003362AC 93 FC 00 00 */ stw r31, 0(r28) +/* 80339350 003362B0 38 1D 00 08 */ addi r0, r29, 8 +/* 80339354 003362B4 90 1C 00 04 */ stw r0, 4(r28) +/* 80339358 003362B8 88 0D 9D 41 */ lbz r0, lbl_805A8901@sda21(r13) +/* 8033935C 003362BC 98 1C 00 08 */ stb r0, 8(r28) +/* 80339360 003362C0 48 00 01 34 */ b lbl_80339494 +lbl_80339364: +/* 80339364 003362C4 28 00 00 00 */ cmplwi r0, 0 +/* 80339368 003362C8 41 82 00 80 */ beq lbl_803393E8 +/* 8033936C 003362CC 80 1F 00 00 */ lwz r0, 0(r31) +/* 80339370 003362D0 28 00 00 00 */ cmplwi r0, 0 +/* 80339374 003362D4 40 82 00 6C */ bne lbl_803393E0 +/* 80339378 003362D8 3C 80 80 3D */ lis r4, lbl_803D7A20@ha +/* 8033937C 003362DC 38 60 00 18 */ li r3, 0x18 +/* 80339380 003362E0 38 84 7A 20 */ addi r4, r4, lbl_803D7A20@l +/* 80339384 003362E4 38 A0 00 00 */ li r5, 0 +/* 80339388 003362E8 4B FD C4 91 */ bl __nwa__FUlPCcPCc +/* 8033938C 003362EC 28 03 00 00 */ cmplwi r3, 0 +/* 80339390 003362F0 41 82 00 34 */ beq lbl_803393C4 +/* 80339394 003362F4 38 80 00 00 */ li r4, 0 +/* 80339398 003362F8 34 A3 00 10 */ addic. r5, r3, 0x10 +/* 8033939C 003362FC 90 83 00 00 */ stw r4, 0(r3) +/* 803393A0 00336300 38 00 00 01 */ li r0, 1 +/* 803393A4 00336304 90 83 00 04 */ stw r4, 4(r3) +/* 803393A8 00336308 93 E3 00 08 */ stw r31, 8(r3) +/* 803393AC 0033630C 90 03 00 0C */ stw r0, 0xc(r3) +/* 803393B0 00336310 41 82 00 14 */ beq lbl_803393C4 +/* 803393B4 00336314 80 1E 00 00 */ lwz r0, 0(r30) +/* 803393B8 00336318 90 05 00 00 */ stw r0, 0(r5) +/* 803393BC 0033631C 80 1E 00 04 */ lwz r0, 4(r30) +/* 803393C0 00336320 90 05 00 04 */ stw r0, 4(r5) +lbl_803393C4: +/* 803393C4 00336324 90 7F 00 00 */ stw r3, 0(r31) +/* 803393C8 00336328 7C 7B 1B 78 */ mr r27, r3 +/* 803393CC 0033632C 80 1D 00 08 */ lwz r0, 8(r29) +/* 803393D0 00336330 7C 1F 00 40 */ cmplw r31, r0 +/* 803393D4 00336334 40 82 00 8C */ bne lbl_80339460 +/* 803393D8 00336338 90 7D 00 08 */ stw r3, 8(r29) +/* 803393DC 0033633C 48 00 00 84 */ b lbl_80339460 +lbl_803393E0: +/* 803393E0 00336340 7C 1F 03 78 */ mr r31, r0 +/* 803393E4 00336344 48 00 00 7C */ b lbl_80339460 +lbl_803393E8: +/* 803393E8 00336348 80 1F 00 04 */ lwz r0, 4(r31) +/* 803393EC 0033634C 28 00 00 00 */ cmplwi r0, 0 +/* 803393F0 00336350 40 82 00 6C */ bne lbl_8033945C +/* 803393F4 00336354 3C 80 80 3D */ lis r4, lbl_803D7A20@ha +/* 803393F8 00336358 38 60 00 18 */ li r3, 0x18 +/* 803393FC 0033635C 38 84 7A 20 */ addi r4, r4, lbl_803D7A20@l +/* 80339400 00336360 38 A0 00 00 */ li r5, 0 +/* 80339404 00336364 4B FD C4 15 */ bl __nwa__FUlPCcPCc +/* 80339408 00336368 28 03 00 00 */ cmplwi r3, 0 +/* 8033940C 0033636C 41 82 00 34 */ beq lbl_80339440 +/* 80339410 00336370 38 80 00 00 */ li r4, 0 +/* 80339414 00336374 34 A3 00 10 */ addic. r5, r3, 0x10 +/* 80339418 00336378 90 83 00 00 */ stw r4, 0(r3) +/* 8033941C 0033637C 38 00 00 01 */ li r0, 1 +/* 80339420 00336380 90 83 00 04 */ stw r4, 4(r3) +/* 80339424 00336384 93 E3 00 08 */ stw r31, 8(r3) +/* 80339428 00336388 90 03 00 0C */ stw r0, 0xc(r3) +/* 8033942C 0033638C 41 82 00 14 */ beq lbl_80339440 +/* 80339430 00336390 80 1E 00 00 */ lwz r0, 0(r30) +/* 80339434 00336394 90 05 00 00 */ stw r0, 0(r5) +/* 80339438 00336398 80 1E 00 04 */ lwz r0, 4(r30) +/* 8033943C 0033639C 90 05 00 04 */ stw r0, 4(r5) +lbl_80339440: +/* 80339440 003363A0 90 7F 00 04 */ stw r3, 4(r31) +/* 80339444 003363A4 7C 7B 1B 78 */ mr r27, r3 +/* 80339448 003363A8 80 1D 00 0C */ lwz r0, 0xc(r29) +/* 8033944C 003363AC 7C 1F 00 40 */ cmplw r31, r0 +/* 80339450 003363B0 40 82 00 10 */ bne lbl_80339460 +/* 80339454 003363B4 90 7D 00 0C */ stw r3, 0xc(r29) +/* 80339458 003363B8 48 00 00 08 */ b lbl_80339460 +lbl_8033945C: +/* 8033945C 003363BC 7C 1F 03 78 */ mr r31, r0 +lbl_80339460: +/* 80339460 003363C0 28 1B 00 00 */ cmplwi r27, 0 +/* 80339464 003363C4 41 82 FE C0 */ beq lbl_80339324 +/* 80339468 003363C8 80 BD 00 04 */ lwz r5, 4(r29) +/* 8033946C 003363CC 7F 64 DB 78 */ mr r4, r27 +/* 80339470 003363D0 38 7D 00 08 */ addi r3, r29, 8 +/* 80339474 003363D4 38 05 00 01 */ addi r0, r5, 1 +/* 80339478 003363D8 90 1D 00 04 */ stw r0, 4(r29) +/* 8033947C 003363DC 48 00 36 1D */ bl rbtree_rebalance__4rstlFPvPv +/* 80339480 003363E0 93 7C 00 00 */ stw r27, 0(r28) +/* 80339484 003363E4 38 1D 00 08 */ addi r0, r29, 8 +/* 80339488 003363E8 90 1C 00 04 */ stw r0, 4(r28) +/* 8033948C 003363EC 88 0D 9D 42 */ lbz r0, lbl_805A8902@sda21(r13) +/* 80339490 003363F0 98 1C 00 08 */ stb r0, 8(r28) +lbl_80339494: +/* 80339494 003363F4 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 80339498 003363F8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8033949C 003363FC 7C 08 03 A6 */ mtlr r0 +/* 803394A0 00336400 38 21 00 20 */ addi r1, r1, 0x20 +/* 803394A4 00336404 4E 80 00 20 */ blr diff --git a/asm/Kyoto/CFactoryStore.s b/asm/Kyoto/CFactoryStore.s new file mode 100644 index 00000000..b106c34b --- /dev/null +++ b/asm/Kyoto/CFactoryStore.s @@ -0,0 +1,35 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global "__dt__31TObjOwnerParamFv" +"__dt__31TObjOwnerParamFv": +/* 8033FA48 0033C9A8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033FA4C 0033C9AC 7C 08 02 A6 */ mflr r0 +/* 8033FA50 0033C9B0 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033FA54 0033C9B4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033FA58 0033C9B8 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8033FA5C 0033C9BC 41 82 00 40 */ beq lbl_8033FA9C +/* 8033FA60 0033C9C0 3C 60 80 3F */ lis r3, lbl_803EE3D8@ha +/* 8033FA64 0033C9C4 38 03 E3 D8 */ addi r0, r3, lbl_803EE3D8@l +/* 8033FA68 0033C9C8 90 1F 00 00 */ stw r0, 0(r31) +/* 8033FA6C 0033C9CC 41 82 00 20 */ beq lbl_8033FA8C +/* 8033FA70 0033C9D0 3C 60 80 3E */ lis r3, lbl_803D9C44@ha +/* 8033FA74 0033C9D4 38 03 9C 44 */ addi r0, r3, lbl_803D9C44@l +/* 8033FA78 0033C9D8 90 1F 00 00 */ stw r0, 0(r31) +/* 8033FA7C 0033C9DC 41 82 00 10 */ beq lbl_8033FA8C +/* 8033FA80 0033C9E0 3C 60 80 3E */ lis r3, lbl_803D8D6C@ha +/* 8033FA84 0033C9E4 38 03 8D 6C */ addi r0, r3, lbl_803D8D6C@l +/* 8033FA88 0033C9E8 90 1F 00 00 */ stw r0, 0(r31) +lbl_8033FA8C: +/* 8033FA8C 0033C9EC 7C 80 07 35 */ extsh. r0, r4 +/* 8033FA90 0033C9F0 40 81 00 0C */ ble lbl_8033FA9C +/* 8033FA94 0033C9F4 7F E3 FB 78 */ mr r3, r31 +/* 8033FA98 0033C9F8 4B FD 5E 99 */ bl Free__7CMemoryFPCv +lbl_8033FA9C: +/* 8033FA9C 0033C9FC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033FAA0 0033CA00 7F E3 FB 78 */ mr r3, r31 +/* 8033FAA4 0033CA04 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033FAA8 0033CA08 7C 08 03 A6 */ mtlr r0 +/* 8033FAAC 0033CA0C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033FAB0 0033CA10 4E 80 00 20 */ blr diff --git a/asm/Kyoto/CFinalInput.s b/asm/Kyoto/CFinalInput.s new file mode 100644 index 00000000..e6f3388c --- /dev/null +++ b/asm/Kyoto/CFinalInput.s @@ -0,0 +1,1130 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global ScaleAnalogueSticks__11CFinalInputCFff +ScaleAnalogueSticks__11CFinalInputCFff: +/* 80348EA4 00345E04 94 21 FF 30 */ stwu r1, -0xd0(r1) +/* 80348EA8 00345E08 7C 08 02 A6 */ mflr r0 +/* 80348EAC 00345E0C 90 01 00 D4 */ stw r0, 0xd4(r1) +/* 80348EB0 00345E10 DB E1 00 C0 */ stfd f31, 0xc0(r1) +/* 80348EB4 00345E14 F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 +/* 80348EB8 00345E18 DB C1 00 B0 */ stfd f30, 0xb0(r1) +/* 80348EBC 00345E1C F3 C1 00 B8 */ psq_st f30, 184(r1), 0, qr0 +/* 80348EC0 00345E20 DB A1 00 A0 */ stfd f29, 0xa0(r1) +/* 80348EC4 00345E24 F3 A1 00 A8 */ psq_st f29, 168(r1), 0, qr0 +/* 80348EC8 00345E28 DB 81 00 90 */ stfd f28, 0x90(r1) +/* 80348ECC 00345E2C F3 81 00 98 */ psq_st f28, 152(r1), 0, qr0 +/* 80348ED0 00345E30 DB 61 00 80 */ stfd f27, 0x80(r1) +/* 80348ED4 00345E34 F3 61 00 88 */ psq_st f27, 136(r1), 0, qr0 +/* 80348ED8 00345E38 DB 41 00 70 */ stfd f26, 0x70(r1) +/* 80348EDC 00345E3C F3 41 00 78 */ psq_st f26, 120(r1), 0, qr0 +/* 80348EE0 00345E40 DB 21 00 60 */ stfd f25, 0x60(r1) +/* 80348EE4 00345E44 F3 21 00 68 */ psq_st f25, 104(r1), 0, qr0 +/* 80348EE8 00345E48 DB 01 00 50 */ stfd f24, 0x50(r1) +/* 80348EEC 00345E4C F3 01 00 58 */ psq_st f24, 88(r1), 0, qr0 +/* 80348EF0 00345E50 DA E1 00 40 */ stfd f23, 0x40(r1) +/* 80348EF4 00345E54 F2 E1 00 48 */ psq_st f23, 72(r1), 0, qr0 +/* 80348EF8 00345E58 BE C1 00 18 */ stmw r22, 0x18(r1) +/* 80348EFC 00345E5C 7C 97 23 78 */ mr r23, r4 +/* 80348F00 00345E60 FF 80 08 90 */ fmr f28, f1 +/* 80348F04 00345E64 C0 04 00 08 */ lfs f0, 8(r4) +/* 80348F08 00345E68 7C 76 1B 78 */ mr r22, r3 +/* 80348F0C 00345E6C FE E0 10 90 */ fmr f23, f2 +/* 80348F10 00345E70 C3 E4 00 00 */ lfs f31, 0(r4) +/* 80348F14 00345E74 EC 00 E0 24 */ fdivs f0, f0, f28 +/* 80348F18 00345E78 83 E4 00 04 */ lwz r31, 4(r4) +/* 80348F1C 00345E7C 38 81 00 14 */ addi r4, r1, 0x14 +/* 80348F20 00345E80 C3 77 00 18 */ lfs f27, 0x18(r23) +/* 80348F24 00345E84 C3 57 00 1C */ lfs f26, 0x1c(r23) +/* 80348F28 00345E88 38 6D 9D B8 */ addi r3, r13, lbl_805A8978@sda21 +/* 80348F2C 00345E8C D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80348F30 00345E90 38 AD 9D BC */ addi r5, r13, lbl_805A897C@sda21 +/* 80348F34 00345E94 8B D7 00 20 */ lbz r30, 0x20(r23) +/* 80348F38 00345E98 8B B7 00 21 */ lbz r29, 0x21(r23) +/* 80348F3C 00345E9C 8B 97 00 22 */ lbz r28, 0x22(r23) +/* 80348F40 00345EA0 8B 77 00 23 */ lbz r27, 0x23(r23) +/* 80348F44 00345EA4 C3 37 00 24 */ lfs f25, 0x24(r23) +/* 80348F48 00345EA8 C3 17 00 28 */ lfs f24, 0x28(r23) +/* 80348F4C 00345EAC 8B 57 00 2C */ lbz r26, 0x2c(r23) +/* 80348F50 00345EB0 8B 37 00 2D */ lbz r25, 0x2d(r23) +/* 80348F54 00345EB4 8B 17 00 2E */ lbz r24, 0x2e(r23) +/* 80348F58 00345EB8 4B CC 33 5D */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80348F5C 00345EBC C0 17 00 0C */ lfs f0, 0xc(r23) +/* 80348F60 00345EC0 38 81 00 10 */ addi r4, r1, 0x10 +/* 80348F64 00345EC4 C3 C3 00 00 */ lfs f30, 0(r3) +/* 80348F68 00345EC8 38 6D 9D C0 */ addi r3, r13, lbl_805A8980@sda21 +/* 80348F6C 00345ECC EC 00 E0 24 */ fdivs f0, f0, f28 +/* 80348F70 00345ED0 38 AD 9D C4 */ addi r5, r13, lbl_805A8984@sda21 +/* 80348F74 00345ED4 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 80348F78 00345ED8 4B CC 33 3D */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80348F7C 00345EDC C0 17 00 10 */ lfs f0, 0x10(r23) +/* 80348F80 00345EE0 38 81 00 0C */ addi r4, r1, 0xc +/* 80348F84 00345EE4 C3 A3 00 00 */ lfs f29, 0(r3) +/* 80348F88 00345EE8 38 6D 9D C8 */ addi r3, r13, lbl_805A8988@sda21 +/* 80348F8C 00345EEC EC 00 B8 24 */ fdivs f0, f0, f23 +/* 80348F90 00345EF0 38 AD 9D CC */ addi r5, r13, lbl_805A898C@sda21 +/* 80348F94 00345EF4 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 80348F98 00345EF8 4B CC 33 1D */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80348F9C 00345EFC C0 17 00 14 */ lfs f0, 0x14(r23) +/* 80348FA0 00345F00 38 81 00 08 */ addi r4, r1, 8 +/* 80348FA4 00345F04 C3 83 00 00 */ lfs f28, 0(r3) +/* 80348FA8 00345F08 38 6D 9D D0 */ addi r3, r13, lbl_805A8990@sda21 +/* 80348FAC 00345F0C EC 00 B8 24 */ fdivs f0, f0, f23 +/* 80348FB0 00345F10 38 AD 9D D4 */ addi r5, r13, lbl_805A8994@sda21 +/* 80348FB4 00345F14 D0 01 00 08 */ stfs f0, 8(r1) +/* 80348FB8 00345F18 4B CC 32 FD */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80348FBC 00345F1C C0 03 00 00 */ lfs f0, 0(r3) +/* 80348FC0 00345F20 D3 F6 00 00 */ stfs f31, 0(r22) +/* 80348FC4 00345F24 93 F6 00 04 */ stw r31, 4(r22) +/* 80348FC8 00345F28 D3 D6 00 08 */ stfs f30, 8(r22) +/* 80348FCC 00345F2C D3 B6 00 0C */ stfs f29, 0xc(r22) +/* 80348FD0 00345F30 D3 96 00 10 */ stfs f28, 0x10(r22) +/* 80348FD4 00345F34 D0 16 00 14 */ stfs f0, 0x14(r22) +/* 80348FD8 00345F38 D3 76 00 18 */ stfs f27, 0x18(r22) +/* 80348FDC 00345F3C D3 56 00 1C */ stfs f26, 0x1c(r22) +/* 80348FE0 00345F40 9B D6 00 20 */ stb r30, 0x20(r22) +/* 80348FE4 00345F44 9B B6 00 21 */ stb r29, 0x21(r22) +/* 80348FE8 00345F48 9B 96 00 22 */ stb r28, 0x22(r22) +/* 80348FEC 00345F4C 9B 76 00 23 */ stb r27, 0x23(r22) +/* 80348FF0 00345F50 D3 36 00 24 */ stfs f25, 0x24(r22) +/* 80348FF4 00345F54 D3 16 00 28 */ stfs f24, 0x28(r22) +/* 80348FF8 00345F58 9B 56 00 2C */ stb r26, 0x2c(r22) +/* 80348FFC 00345F5C 9B 36 00 2D */ stb r25, 0x2d(r22) +/* 80349000 00345F60 9B 16 00 2E */ stb r24, 0x2e(r22) +/* 80349004 00345F64 E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 +/* 80349008 00345F68 CB E1 00 C0 */ lfd f31, 0xc0(r1) +/* 8034900C 00345F6C E3 C1 00 B8 */ psq_l f30, 184(r1), 0, qr0 +/* 80349010 00345F70 CB C1 00 B0 */ lfd f30, 0xb0(r1) +/* 80349014 00345F74 E3 A1 00 A8 */ psq_l f29, 168(r1), 0, qr0 +/* 80349018 00345F78 CB A1 00 A0 */ lfd f29, 0xa0(r1) +/* 8034901C 00345F7C E3 81 00 98 */ psq_l f28, 152(r1), 0, qr0 +/* 80349020 00345F80 CB 81 00 90 */ lfd f28, 0x90(r1) +/* 80349024 00345F84 E3 61 00 88 */ psq_l f27, 136(r1), 0, qr0 +/* 80349028 00345F88 CB 61 00 80 */ lfd f27, 0x80(r1) +/* 8034902C 00345F8C E3 41 00 78 */ psq_l f26, 120(r1), 0, qr0 +/* 80349030 00345F90 CB 41 00 70 */ lfd f26, 0x70(r1) +/* 80349034 00345F94 E3 21 00 68 */ psq_l f25, 104(r1), 0, qr0 +/* 80349038 00345F98 CB 21 00 60 */ lfd f25, 0x60(r1) +/* 8034903C 00345F9C E3 01 00 58 */ psq_l f24, 88(r1), 0, qr0 +/* 80349040 00345FA0 CB 01 00 50 */ lfd f24, 0x50(r1) +/* 80349044 00345FA4 E2 E1 00 48 */ psq_l f23, 72(r1), 0, qr0 +/* 80349048 00345FA8 CA E1 00 40 */ lfd f23, 0x40(r1) +/* 8034904C 00345FAC BA C1 00 18 */ lmw r22, 0x18(r1) +/* 80349050 00345FB0 80 01 00 D4 */ lwz r0, 0xd4(r1) +/* 80349054 00345FB4 7C 08 03 A6 */ mtlr r0 +/* 80349058 00345FB8 38 21 00 D0 */ addi r1, r1, 0xd0 +/* 8034905C 00345FBC 4E 80 00 20 */ blr + +.global __ct__11CFinalInputFifRC10COsContext +__ct__11CFinalInputFifRC10COsContext: +/* 80349060 00345FC0 94 21 FF 30 */ stwu r1, -0xd0(r1) +/* 80349064 00345FC4 7C 08 02 A6 */ mflr r0 +/* 80349068 00345FC8 C0 02 CC 30 */ lfs f0, lbl_805AE950@sda21(r2) +/* 8034906C 00345FCC 90 01 00 D4 */ stw r0, 0xd4(r1) +/* 80349070 00345FD0 38 00 00 00 */ li r0, 0 +/* 80349074 00345FD4 93 E1 00 CC */ stw r31, 0xcc(r1) +/* 80349078 00345FD8 7C BF 2B 78 */ mr r31, r5 +/* 8034907C 00345FDC 38 A0 00 6D */ li r5, 0x6d +/* 80349080 00345FE0 93 C1 00 C8 */ stw r30, 0xc8(r1) +/* 80349084 00345FE4 7C 7E 1B 78 */ mr r30, r3 +/* 80349088 00345FE8 D0 23 00 00 */ stfs f1, 0(r3) +/* 8034908C 00345FEC 38 61 00 C0 */ addi r3, r1, 0xc0 +/* 80349090 00345FF0 90 9E 00 04 */ stw r4, 4(r30) +/* 80349094 00345FF4 7F E4 FB 78 */ mr r4, r31 +/* 80349098 00345FF8 D0 1E 00 08 */ stfs f0, 8(r30) +/* 8034909C 00345FFC D0 1E 00 0C */ stfs f0, 0xc(r30) +/* 803490A0 00346000 D0 1E 00 10 */ stfs f0, 0x10(r30) +/* 803490A4 00346004 D0 1E 00 14 */ stfs f0, 0x14(r30) +/* 803490A8 00346008 D0 1E 00 18 */ stfs f0, 0x18(r30) +/* 803490AC 0034600C D0 1E 00 1C */ stfs f0, 0x1c(r30) +/* 803490B0 00346010 98 1E 00 22 */ stb r0, 0x22(r30) +/* 803490B4 00346014 98 1E 00 23 */ stb r0, 0x23(r30) +/* 803490B8 00346018 D0 1E 00 24 */ stfs f0, 0x24(r30) +/* 803490BC 0034601C D0 1E 00 28 */ stfs f0, 0x28(r30) +/* 803490C0 00346020 4B F8 D5 41 */ bl GetOsKeyState__10COsContextCFi +/* 803490C4 00346024 88 A1 00 C4 */ lbz r5, 0xc4(r1) +/* 803490C8 00346028 7F E4 FB 78 */ mr r4, r31 +/* 803490CC 0034602C 88 1E 00 2C */ lbz r0, 0x2c(r30) +/* 803490D0 00346030 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 803490D4 00346034 54 A6 C0 02 */ rlwinm r6, r5, 0x18, 0, 1 +/* 803490D8 00346038 38 A0 00 6E */ li r5, 0x6e +/* 803490DC 0034603C 7C C6 FE 70 */ srawi r6, r6, 0x1f +/* 803490E0 00346040 7C C7 07 74 */ extsb r7, r6 +/* 803490E4 00346044 7C C7 00 D0 */ neg r6, r7 +/* 803490E8 00346048 7C C6 3B 78 */ or r6, r6, r7 +/* 803490EC 0034604C 50 C0 46 30 */ rlwimi r0, r6, 8, 0x18, 0x18 +/* 803490F0 00346050 98 1E 00 2C */ stb r0, 0x2c(r30) +/* 803490F4 00346054 4B F8 D5 0D */ bl GetOsKeyState__10COsContextCFi +/* 803490F8 00346058 88 A1 00 BC */ lbz r5, 0xbc(r1) +/* 803490FC 0034605C 7F E4 FB 78 */ mr r4, r31 +/* 80349100 00346060 88 1E 00 2C */ lbz r0, 0x2c(r30) +/* 80349104 00346064 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 80349108 00346068 54 A6 C0 02 */ rlwinm r6, r5, 0x18, 0, 1 +/* 8034910C 0034606C 38 A0 00 84 */ li r5, 0x84 +/* 80349110 00346070 7C C6 FE 70 */ srawi r6, r6, 0x1f +/* 80349114 00346074 7C C7 07 74 */ extsb r7, r6 +/* 80349118 00346078 7C C7 00 D0 */ neg r6, r7 +/* 8034911C 0034607C 7C C6 3B 78 */ or r6, r6, r7 +/* 80349120 00346080 50 C0 3E 72 */ rlwimi r0, r6, 7, 0x19, 0x19 +/* 80349124 00346084 98 1E 00 2C */ stb r0, 0x2c(r30) +/* 80349128 00346088 4B F8 D4 D9 */ bl GetOsKeyState__10COsContextCFi +/* 8034912C 0034608C 88 A1 00 B4 */ lbz r5, 0xb4(r1) +/* 80349130 00346090 7F E4 FB 78 */ mr r4, r31 +/* 80349134 00346094 88 1E 00 2C */ lbz r0, 0x2c(r30) +/* 80349138 00346098 38 61 00 A8 */ addi r3, r1, 0xa8 +/* 8034913C 0034609C 54 A6 C0 02 */ rlwinm r6, r5, 0x18, 0, 1 +/* 80349140 003460A0 38 A0 00 85 */ li r5, 0x85 +/* 80349144 003460A4 7C C6 FE 70 */ srawi r6, r6, 0x1f +/* 80349148 003460A8 7C C7 07 74 */ extsb r7, r6 +/* 8034914C 003460AC 7C C7 00 D0 */ neg r6, r7 +/* 80349150 003460B0 7C C6 3B 78 */ or r6, r6, r7 +/* 80349154 003460B4 50 C0 36 B4 */ rlwimi r0, r6, 6, 0x1a, 0x1a +/* 80349158 003460B8 98 1E 00 2C */ stb r0, 0x2c(r30) +/* 8034915C 003460BC 4B F8 D4 A5 */ bl GetOsKeyState__10COsContextCFi +/* 80349160 003460C0 88 A1 00 AC */ lbz r5, 0xac(r1) +/* 80349164 003460C4 7F E4 FB 78 */ mr r4, r31 +/* 80349168 003460C8 88 1E 00 2C */ lbz r0, 0x2c(r30) +/* 8034916C 003460CC 38 61 00 A0 */ addi r3, r1, 0xa0 +/* 80349170 003460D0 54 A6 C0 02 */ rlwinm r6, r5, 0x18, 0, 1 +/* 80349174 003460D4 38 A0 00 16 */ li r5, 0x16 +/* 80349178 003460D8 7C C6 FE 70 */ srawi r6, r6, 0x1f +/* 8034917C 003460DC 7C C7 07 74 */ extsb r7, r6 +/* 80349180 003460E0 7C C7 00 D0 */ neg r6, r7 +/* 80349184 003460E4 7C C6 3B 78 */ or r6, r6, r7 +/* 80349188 003460E8 50 C0 2E F6 */ rlwimi r0, r6, 5, 0x1b, 0x1b +/* 8034918C 003460EC 98 1E 00 2C */ stb r0, 0x2c(r30) +/* 80349190 003460F0 4B F8 D4 71 */ bl GetOsKeyState__10COsContextCFi +/* 80349194 003460F4 88 A1 00 A4 */ lbz r5, 0xa4(r1) +/* 80349198 003460F8 7F E4 FB 78 */ mr r4, r31 +/* 8034919C 003460FC 88 1E 00 2C */ lbz r0, 0x2c(r30) +/* 803491A0 00346100 38 61 00 98 */ addi r3, r1, 0x98 +/* 803491A4 00346104 54 A6 C0 02 */ rlwinm r6, r5, 0x18, 0, 1 +/* 803491A8 00346108 38 A0 00 78 */ li r5, 0x78 +/* 803491AC 0034610C 7C C6 FE 70 */ srawi r6, r6, 0x1f +/* 803491B0 00346110 7C C7 07 74 */ extsb r7, r6 +/* 803491B4 00346114 7C C7 00 D0 */ neg r6, r7 +/* 803491B8 00346118 7C C6 3B 78 */ or r6, r6, r7 +/* 803491BC 0034611C 50 C0 27 38 */ rlwimi r0, r6, 4, 0x1c, 0x1c +/* 803491C0 00346120 98 1E 00 2C */ stb r0, 0x2c(r30) +/* 803491C4 00346124 4B F8 D4 3D */ bl GetOsKeyState__10COsContextCFi +/* 803491C8 00346128 88 A1 00 9C */ lbz r5, 0x9c(r1) +/* 803491CC 0034612C 7F E4 FB 78 */ mr r4, r31 +/* 803491D0 00346130 88 1E 00 2C */ lbz r0, 0x2c(r30) +/* 803491D4 00346134 38 61 00 90 */ addi r3, r1, 0x90 +/* 803491D8 00346138 54 A6 C0 02 */ rlwinm r6, r5, 0x18, 0, 1 +/* 803491DC 0034613C 38 A0 00 7E */ li r5, 0x7e +/* 803491E0 00346140 7C C6 FE 70 */ srawi r6, r6, 0x1f +/* 803491E4 00346144 7C C7 07 74 */ extsb r7, r6 +/* 803491E8 00346148 7C C7 00 D0 */ neg r6, r7 +/* 803491EC 0034614C 7C C6 3B 78 */ or r6, r6, r7 +/* 803491F0 00346150 50 C0 1F 7A */ rlwimi r0, r6, 3, 0x1d, 0x1d +/* 803491F4 00346154 98 1E 00 2C */ stb r0, 0x2c(r30) +/* 803491F8 00346158 4B F8 D4 09 */ bl GetOsKeyState__10COsContextCFi +/* 803491FC 0034615C 88 A1 00 94 */ lbz r5, 0x94(r1) +/* 80349200 00346160 7F E4 FB 78 */ mr r4, r31 +/* 80349204 00346164 88 1E 00 2C */ lbz r0, 0x2c(r30) +/* 80349208 00346168 38 61 00 88 */ addi r3, r1, 0x88 +/* 8034920C 0034616C 54 A6 C0 02 */ rlwinm r6, r5, 0x18, 0, 1 +/* 80349210 00346170 38 A0 00 1C */ li r5, 0x1c +/* 80349214 00346174 7C C6 FE 70 */ srawi r6, r6, 0x1f +/* 80349218 00346178 7C C7 07 74 */ extsb r7, r6 +/* 8034921C 0034617C 7C C7 00 D0 */ neg r6, r7 +/* 80349220 00346180 7C C6 3B 78 */ or r6, r6, r7 +/* 80349224 00346184 50 C0 17 BC */ rlwimi r0, r6, 2, 0x1e, 0x1e +/* 80349228 00346188 98 1E 00 2C */ stb r0, 0x2c(r30) +/* 8034922C 0034618C 4B F8 D3 D5 */ bl GetOsKeyState__10COsContextCFi +/* 80349230 00346190 88 A1 00 8C */ lbz r5, 0x8c(r1) +/* 80349234 00346194 7F E4 FB 78 */ mr r4, r31 +/* 80349238 00346198 88 1E 00 2C */ lbz r0, 0x2c(r30) +/* 8034923C 0034619C 38 61 00 80 */ addi r3, r1, 0x80 +/* 80349240 003461A0 54 A6 C0 02 */ rlwinm r6, r5, 0x18, 0, 1 +/* 80349244 003461A4 38 A0 00 1D */ li r5, 0x1d +/* 80349248 003461A8 7C C6 FE 70 */ srawi r6, r6, 0x1f +/* 8034924C 003461AC 7C C7 07 74 */ extsb r7, r6 +/* 80349250 003461B0 7C C7 00 D0 */ neg r6, r7 +/* 80349254 003461B4 7C C6 3B 78 */ or r6, r6, r7 +/* 80349258 003461B8 50 C0 0F FE */ rlwimi r0, r6, 1, 0x1f, 0x1f +/* 8034925C 003461BC 98 1E 00 2C */ stb r0, 0x2c(r30) +/* 80349260 003461C0 4B F8 D3 A1 */ bl GetOsKeyState__10COsContextCFi +/* 80349264 003461C4 88 A1 00 84 */ lbz r5, 0x84(r1) +/* 80349268 003461C8 7F E4 FB 78 */ mr r4, r31 +/* 8034926C 003461CC 88 1E 00 2D */ lbz r0, 0x2d(r30) +/* 80349270 003461D0 38 61 00 78 */ addi r3, r1, 0x78 +/* 80349274 003461D4 54 A6 C0 02 */ rlwinm r6, r5, 0x18, 0, 1 +/* 80349278 003461D8 38 A0 00 1E */ li r5, 0x1e +/* 8034927C 003461DC 7C C6 FE 70 */ srawi r6, r6, 0x1f +/* 80349280 003461E0 7C C7 07 74 */ extsb r7, r6 +/* 80349284 003461E4 7C C7 00 D0 */ neg r6, r7 +/* 80349288 003461E8 7C C6 3B 78 */ or r6, r6, r7 +/* 8034928C 003461EC 50 C0 46 30 */ rlwimi r0, r6, 8, 0x18, 0x18 +/* 80349290 003461F0 98 1E 00 2D */ stb r0, 0x2d(r30) +/* 80349294 003461F4 4B F8 D3 6D */ bl GetOsKeyState__10COsContextCFi +/* 80349298 003461F8 88 A1 00 7C */ lbz r5, 0x7c(r1) +/* 8034929C 003461FC 7F E4 FB 78 */ mr r4, r31 +/* 803492A0 00346200 88 1E 00 2D */ lbz r0, 0x2d(r30) +/* 803492A4 00346204 38 61 00 70 */ addi r3, r1, 0x70 +/* 803492A8 00346208 54 A6 C0 02 */ rlwinm r6, r5, 0x18, 0, 1 +/* 803492AC 0034620C 38 A0 00 1B */ li r5, 0x1b +/* 803492B0 00346210 7C C6 FE 70 */ srawi r6, r6, 0x1f +/* 803492B4 00346214 7C C7 07 74 */ extsb r7, r6 +/* 803492B8 00346218 7C C7 00 D0 */ neg r6, r7 +/* 803492BC 0034621C 7C C6 3B 78 */ or r6, r6, r7 +/* 803492C0 00346220 50 C0 3E 72 */ rlwimi r0, r6, 7, 0x19, 0x19 +/* 803492C4 00346224 98 1E 00 2D */ stb r0, 0x2d(r30) +/* 803492C8 00346228 4B F8 D3 39 */ bl GetOsKeyState__10COsContextCFi +/* 803492CC 0034622C 88 A1 00 74 */ lbz r5, 0x74(r1) +/* 803492D0 00346230 7F E4 FB 78 */ mr r4, r31 +/* 803492D4 00346234 88 1E 00 2D */ lbz r0, 0x2d(r30) +/* 803492D8 00346238 38 61 00 68 */ addi r3, r1, 0x68 +/* 803492DC 0034623C 54 A6 C0 02 */ rlwinm r6, r5, 0x18, 0, 1 +/* 803492E0 00346240 38 A0 00 05 */ li r5, 5 +/* 803492E4 00346244 7C C6 FE 70 */ srawi r6, r6, 0x1f +/* 803492E8 00346248 7C C7 07 74 */ extsb r7, r6 +/* 803492EC 0034624C 7C C7 00 D0 */ neg r6, r7 +/* 803492F0 00346250 7C C6 3B 78 */ or r6, r6, r7 +/* 803492F4 00346254 50 C0 36 B4 */ rlwimi r0, r6, 6, 0x1a, 0x1a +/* 803492F8 00346258 98 1E 00 2D */ stb r0, 0x2d(r30) +/* 803492FC 0034625C 4B F8 D3 05 */ bl GetOsKeyState__10COsContextCFi +/* 80349300 00346260 88 A1 00 6C */ lbz r5, 0x6c(r1) +/* 80349304 00346264 7F E4 FB 78 */ mr r4, r31 +/* 80349308 00346268 88 1E 00 2D */ lbz r0, 0x2d(r30) +/* 8034930C 0034626C 38 61 00 60 */ addi r3, r1, 0x60 +/* 80349310 00346270 54 A6 C0 02 */ rlwinm r6, r5, 0x18, 0, 1 +/* 80349314 00346274 38 A0 00 6D */ li r5, 0x6d +/* 80349318 00346278 7C C6 FE 70 */ srawi r6, r6, 0x1f +/* 8034931C 0034627C 7C C7 07 74 */ extsb r7, r6 +/* 80349320 00346280 7C C7 00 D0 */ neg r6, r7 +/* 80349324 00346284 7C C6 3B 78 */ or r6, r6, r7 +/* 80349328 00346288 50 C0 2E F6 */ rlwimi r0, r6, 5, 0x1b, 0x1b +/* 8034932C 0034628C 98 1E 00 2D */ stb r0, 0x2d(r30) +/* 80349330 00346290 4B F8 D2 D1 */ bl GetOsKeyState__10COsContextCFi +/* 80349334 00346294 88 61 00 64 */ lbz r3, 0x64(r1) +/* 80349338 00346298 38 80 00 00 */ li r4, 0 +/* 8034933C 0034629C 54 60 D8 02 */ rlwinm r0, r3, 0x1b, 0, 1 +/* 80349340 003462A0 7C 00 FE 70 */ srawi r0, r0, 0x1f +/* 80349344 003462A4 7C 00 07 75 */ extsb. r0, r0 +/* 80349348 003462A8 41 82 00 18 */ beq lbl_80349360 +/* 8034934C 003462AC 54 60 C0 02 */ rlwinm r0, r3, 0x18, 0, 1 +/* 80349350 003462B0 7C 00 FE 70 */ srawi r0, r0, 0x1f +/* 80349354 003462B4 7C 00 07 75 */ extsb. r0, r0 +/* 80349358 003462B8 41 82 00 08 */ beq lbl_80349360 +/* 8034935C 003462BC 38 80 00 01 */ li r4, 1 +lbl_80349360: +/* 80349360 003462C0 88 1E 00 2D */ lbz r0, 0x2d(r30) +/* 80349364 003462C4 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c +/* 80349368 003462C8 7F E4 FB 78 */ mr r4, r31 +/* 8034936C 003462CC 38 61 00 58 */ addi r3, r1, 0x58 +/* 80349370 003462D0 98 1E 00 2D */ stb r0, 0x2d(r30) +/* 80349374 003462D4 38 A0 00 6E */ li r5, 0x6e +/* 80349378 003462D8 4B F8 D2 89 */ bl GetOsKeyState__10COsContextCFi +/* 8034937C 003462DC 88 61 00 5C */ lbz r3, 0x5c(r1) +/* 80349380 003462E0 38 80 00 00 */ li r4, 0 +/* 80349384 003462E4 54 60 D8 02 */ rlwinm r0, r3, 0x1b, 0, 1 +/* 80349388 003462E8 7C 00 FE 70 */ srawi r0, r0, 0x1f +/* 8034938C 003462EC 7C 00 07 75 */ extsb. r0, r0 +/* 80349390 003462F0 41 82 00 18 */ beq lbl_803493A8 +/* 80349394 003462F4 54 60 C0 02 */ rlwinm r0, r3, 0x18, 0, 1 +/* 80349398 003462F8 7C 00 FE 70 */ srawi r0, r0, 0x1f +/* 8034939C 003462FC 7C 00 07 75 */ extsb. r0, r0 +/* 803493A0 00346300 41 82 00 08 */ beq lbl_803493A8 +/* 803493A4 00346304 38 80 00 01 */ li r4, 1 +lbl_803493A8: +/* 803493A8 00346308 88 1E 00 2D */ lbz r0, 0x2d(r30) +/* 803493AC 0034630C 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d +/* 803493B0 00346310 7F E4 FB 78 */ mr r4, r31 +/* 803493B4 00346314 38 61 00 50 */ addi r3, r1, 0x50 +/* 803493B8 00346318 98 1E 00 2D */ stb r0, 0x2d(r30) +/* 803493BC 0034631C 38 A0 00 84 */ li r5, 0x84 +/* 803493C0 00346320 4B F8 D2 41 */ bl GetOsKeyState__10COsContextCFi +/* 803493C4 00346324 88 61 00 54 */ lbz r3, 0x54(r1) +/* 803493C8 00346328 38 80 00 00 */ li r4, 0 +/* 803493CC 0034632C 54 60 D8 02 */ rlwinm r0, r3, 0x1b, 0, 1 +/* 803493D0 00346330 7C 00 FE 70 */ srawi r0, r0, 0x1f +/* 803493D4 00346334 7C 00 07 75 */ extsb. r0, r0 +/* 803493D8 00346338 41 82 00 18 */ beq lbl_803493F0 +/* 803493DC 0034633C 54 60 C0 02 */ rlwinm r0, r3, 0x18, 0, 1 +/* 803493E0 00346340 7C 00 FE 70 */ srawi r0, r0, 0x1f +/* 803493E4 00346344 7C 00 07 75 */ extsb. r0, r0 +/* 803493E8 00346348 41 82 00 08 */ beq lbl_803493F0 +/* 803493EC 0034634C 38 80 00 01 */ li r4, 1 +lbl_803493F0: +/* 803493F0 00346350 88 1E 00 2D */ lbz r0, 0x2d(r30) +/* 803493F4 00346354 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e +/* 803493F8 00346358 7F E4 FB 78 */ mr r4, r31 +/* 803493FC 0034635C 38 61 00 48 */ addi r3, r1, 0x48 +/* 80349400 00346360 98 1E 00 2D */ stb r0, 0x2d(r30) +/* 80349404 00346364 38 A0 00 85 */ li r5, 0x85 +/* 80349408 00346368 4B F8 D1 F9 */ bl GetOsKeyState__10COsContextCFi +/* 8034940C 0034636C 88 61 00 4C */ lbz r3, 0x4c(r1) +/* 80349410 00346370 38 80 00 00 */ li r4, 0 +/* 80349414 00346374 54 60 D8 02 */ rlwinm r0, r3, 0x1b, 0, 1 +/* 80349418 00346378 7C 00 FE 70 */ srawi r0, r0, 0x1f +/* 8034941C 0034637C 7C 00 07 75 */ extsb. r0, r0 +/* 80349420 00346380 41 82 00 18 */ beq lbl_80349438 +/* 80349424 00346384 54 60 C0 02 */ rlwinm r0, r3, 0x18, 0, 1 +/* 80349428 00346388 7C 00 FE 70 */ srawi r0, r0, 0x1f +/* 8034942C 0034638C 7C 00 07 75 */ extsb. r0, r0 +/* 80349430 00346390 41 82 00 08 */ beq lbl_80349438 +/* 80349434 00346394 38 80 00 01 */ li r4, 1 +lbl_80349438: +/* 80349438 00346398 88 1E 00 2D */ lbz r0, 0x2d(r30) +/* 8034943C 0034639C 50 80 07 FE */ rlwimi r0, r4, 0, 0x1f, 0x1f +/* 80349440 003463A0 7F E4 FB 78 */ mr r4, r31 +/* 80349444 003463A4 38 61 00 40 */ addi r3, r1, 0x40 +/* 80349448 003463A8 98 1E 00 2D */ stb r0, 0x2d(r30) +/* 8034944C 003463AC 38 A0 00 16 */ li r5, 0x16 +/* 80349450 003463B0 4B F8 D1 B1 */ bl GetOsKeyState__10COsContextCFi +/* 80349454 003463B4 88 61 00 44 */ lbz r3, 0x44(r1) +/* 80349458 003463B8 38 80 00 00 */ li r4, 0 +/* 8034945C 003463BC 54 60 D8 02 */ rlwinm r0, r3, 0x1b, 0, 1 +/* 80349460 003463C0 7C 00 FE 70 */ srawi r0, r0, 0x1f +/* 80349464 003463C4 7C 00 07 75 */ extsb. r0, r0 +/* 80349468 003463C8 41 82 00 18 */ beq lbl_80349480 +/* 8034946C 003463CC 54 60 C0 02 */ rlwinm r0, r3, 0x18, 0, 1 +/* 80349470 003463D0 7C 00 FE 70 */ srawi r0, r0, 0x1f +/* 80349474 003463D4 7C 00 07 75 */ extsb. r0, r0 +/* 80349478 003463D8 41 82 00 08 */ beq lbl_80349480 +/* 8034947C 003463DC 38 80 00 01 */ li r4, 1 +lbl_80349480: +/* 80349480 003463E0 88 1E 00 2E */ lbz r0, 0x2e(r30) +/* 80349484 003463E4 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 80349488 003463E8 7F E4 FB 78 */ mr r4, r31 +/* 8034948C 003463EC 38 61 00 38 */ addi r3, r1, 0x38 +/* 80349490 003463F0 98 1E 00 2E */ stb r0, 0x2e(r30) +/* 80349494 003463F4 38 A0 00 78 */ li r5, 0x78 +/* 80349498 003463F8 4B F8 D1 69 */ bl GetOsKeyState__10COsContextCFi +/* 8034949C 003463FC 88 61 00 3C */ lbz r3, 0x3c(r1) +/* 803494A0 00346400 38 80 00 00 */ li r4, 0 +/* 803494A4 00346404 54 60 D8 02 */ rlwinm r0, r3, 0x1b, 0, 1 +/* 803494A8 00346408 7C 00 FE 70 */ srawi r0, r0, 0x1f +/* 803494AC 0034640C 7C 00 07 75 */ extsb. r0, r0 +/* 803494B0 00346410 41 82 00 18 */ beq lbl_803494C8 +/* 803494B4 00346414 54 60 C0 02 */ rlwinm r0, r3, 0x18, 0, 1 +/* 803494B8 00346418 7C 00 FE 70 */ srawi r0, r0, 0x1f +/* 803494BC 0034641C 7C 00 07 75 */ extsb. r0, r0 +/* 803494C0 00346420 41 82 00 08 */ beq lbl_803494C8 +/* 803494C4 00346424 38 80 00 01 */ li r4, 1 +lbl_803494C8: +/* 803494C8 00346428 88 1E 00 2E */ lbz r0, 0x2e(r30) +/* 803494CC 0034642C 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 803494D0 00346430 7F E4 FB 78 */ mr r4, r31 +/* 803494D4 00346434 38 61 00 30 */ addi r3, r1, 0x30 +/* 803494D8 00346438 98 1E 00 2E */ stb r0, 0x2e(r30) +/* 803494DC 0034643C 38 A0 00 7E */ li r5, 0x7e +/* 803494E0 00346440 4B F8 D1 21 */ bl GetOsKeyState__10COsContextCFi +/* 803494E4 00346444 88 61 00 34 */ lbz r3, 0x34(r1) +/* 803494E8 00346448 38 80 00 00 */ li r4, 0 +/* 803494EC 0034644C 54 60 D8 02 */ rlwinm r0, r3, 0x1b, 0, 1 +/* 803494F0 00346450 7C 00 FE 70 */ srawi r0, r0, 0x1f +/* 803494F4 00346454 7C 00 07 75 */ extsb. r0, r0 +/* 803494F8 00346458 41 82 00 18 */ beq lbl_80349510 +/* 803494FC 0034645C 54 60 C0 02 */ rlwinm r0, r3, 0x18, 0, 1 +/* 80349500 00346460 7C 00 FE 70 */ srawi r0, r0, 0x1f +/* 80349504 00346464 7C 00 07 75 */ extsb. r0, r0 +/* 80349508 00346468 41 82 00 08 */ beq lbl_80349510 +/* 8034950C 0034646C 38 80 00 01 */ li r4, 1 +lbl_80349510: +/* 80349510 00346470 88 1E 00 2E */ lbz r0, 0x2e(r30) +/* 80349514 00346474 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a +/* 80349518 00346478 7F E4 FB 78 */ mr r4, r31 +/* 8034951C 0034647C 38 61 00 28 */ addi r3, r1, 0x28 +/* 80349520 00346480 98 1E 00 2E */ stb r0, 0x2e(r30) +/* 80349524 00346484 38 A0 00 1C */ li r5, 0x1c +/* 80349528 00346488 4B F8 D0 D9 */ bl GetOsKeyState__10COsContextCFi +/* 8034952C 0034648C 88 61 00 2C */ lbz r3, 0x2c(r1) +/* 80349530 00346490 38 80 00 00 */ li r4, 0 +/* 80349534 00346494 54 60 D8 02 */ rlwinm r0, r3, 0x1b, 0, 1 +/* 80349538 00346498 7C 00 FE 70 */ srawi r0, r0, 0x1f +/* 8034953C 0034649C 7C 00 07 75 */ extsb. r0, r0 +/* 80349540 003464A0 41 82 00 18 */ beq lbl_80349558 +/* 80349544 003464A4 54 60 C0 02 */ rlwinm r0, r3, 0x18, 0, 1 +/* 80349548 003464A8 7C 00 FE 70 */ srawi r0, r0, 0x1f +/* 8034954C 003464AC 7C 00 07 75 */ extsb. r0, r0 +/* 80349550 003464B0 41 82 00 08 */ beq lbl_80349558 +/* 80349554 003464B4 38 80 00 01 */ li r4, 1 +lbl_80349558: +/* 80349558 003464B8 88 1E 00 2E */ lbz r0, 0x2e(r30) +/* 8034955C 003464BC 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b +/* 80349560 003464C0 7F E4 FB 78 */ mr r4, r31 +/* 80349564 003464C4 38 61 00 20 */ addi r3, r1, 0x20 +/* 80349568 003464C8 98 1E 00 2E */ stb r0, 0x2e(r30) +/* 8034956C 003464CC 38 A0 00 1D */ li r5, 0x1d +/* 80349570 003464D0 4B F8 D0 91 */ bl GetOsKeyState__10COsContextCFi +/* 80349574 003464D4 88 61 00 24 */ lbz r3, 0x24(r1) +/* 80349578 003464D8 38 80 00 00 */ li r4, 0 +/* 8034957C 003464DC 54 60 D8 02 */ rlwinm r0, r3, 0x1b, 0, 1 +/* 80349580 003464E0 7C 00 FE 70 */ srawi r0, r0, 0x1f +/* 80349584 003464E4 7C 00 07 75 */ extsb. r0, r0 +/* 80349588 003464E8 41 82 00 18 */ beq lbl_803495A0 +/* 8034958C 003464EC 54 60 C0 02 */ rlwinm r0, r3, 0x18, 0, 1 +/* 80349590 003464F0 7C 00 FE 70 */ srawi r0, r0, 0x1f +/* 80349594 003464F4 7C 00 07 75 */ extsb. r0, r0 +/* 80349598 003464F8 41 82 00 08 */ beq lbl_803495A0 +/* 8034959C 003464FC 38 80 00 01 */ li r4, 1 +lbl_803495A0: +/* 803495A0 00346500 88 1E 00 2E */ lbz r0, 0x2e(r30) +/* 803495A4 00346504 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c +/* 803495A8 00346508 7F E4 FB 78 */ mr r4, r31 +/* 803495AC 0034650C 38 61 00 18 */ addi r3, r1, 0x18 +/* 803495B0 00346510 98 1E 00 2E */ stb r0, 0x2e(r30) +/* 803495B4 00346514 38 A0 00 1E */ li r5, 0x1e +/* 803495B8 00346518 4B F8 D0 49 */ bl GetOsKeyState__10COsContextCFi +/* 803495BC 0034651C 88 61 00 1C */ lbz r3, 0x1c(r1) +/* 803495C0 00346520 38 80 00 00 */ li r4, 0 +/* 803495C4 00346524 54 60 D8 02 */ rlwinm r0, r3, 0x1b, 0, 1 +/* 803495C8 00346528 7C 00 FE 70 */ srawi r0, r0, 0x1f +/* 803495CC 0034652C 7C 00 07 75 */ extsb. r0, r0 +/* 803495D0 00346530 41 82 00 18 */ beq lbl_803495E8 +/* 803495D4 00346534 54 60 C0 02 */ rlwinm r0, r3, 0x18, 0, 1 +/* 803495D8 00346538 7C 00 FE 70 */ srawi r0, r0, 0x1f +/* 803495DC 0034653C 7C 00 07 75 */ extsb. r0, r0 +/* 803495E0 00346540 41 82 00 08 */ beq lbl_803495E8 +/* 803495E4 00346544 38 80 00 01 */ li r4, 1 +lbl_803495E8: +/* 803495E8 00346548 88 1E 00 2E */ lbz r0, 0x2e(r30) +/* 803495EC 0034654C 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d +/* 803495F0 00346550 7F E4 FB 78 */ mr r4, r31 +/* 803495F4 00346554 38 61 00 10 */ addi r3, r1, 0x10 +/* 803495F8 00346558 98 1E 00 2E */ stb r0, 0x2e(r30) +/* 803495FC 0034655C 38 A0 00 1B */ li r5, 0x1b +/* 80349600 00346560 4B F8 D0 01 */ bl GetOsKeyState__10COsContextCFi +/* 80349604 00346564 88 61 00 14 */ lbz r3, 0x14(r1) +/* 80349608 00346568 38 80 00 00 */ li r4, 0 +/* 8034960C 0034656C 54 60 D8 02 */ rlwinm r0, r3, 0x1b, 0, 1 +/* 80349610 00346570 7C 00 FE 70 */ srawi r0, r0, 0x1f +/* 80349614 00346574 7C 00 07 75 */ extsb. r0, r0 +/* 80349618 00346578 41 82 00 18 */ beq lbl_80349630 +/* 8034961C 0034657C 54 60 C0 02 */ rlwinm r0, r3, 0x18, 0, 1 +/* 80349620 00346580 7C 00 FE 70 */ srawi r0, r0, 0x1f +/* 80349624 00346584 7C 00 07 75 */ extsb. r0, r0 +/* 80349628 00346588 41 82 00 08 */ beq lbl_80349630 +/* 8034962C 0034658C 38 80 00 01 */ li r4, 1 +lbl_80349630: +/* 80349630 00346590 88 1E 00 2E */ lbz r0, 0x2e(r30) +/* 80349634 00346594 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e +/* 80349638 00346598 7F E4 FB 78 */ mr r4, r31 +/* 8034963C 0034659C 38 61 00 08 */ addi r3, r1, 8 +/* 80349640 003465A0 98 1E 00 2E */ stb r0, 0x2e(r30) +/* 80349644 003465A4 38 A0 00 05 */ li r5, 5 +/* 80349648 003465A8 4B F8 CF B9 */ bl GetOsKeyState__10COsContextCFi +/* 8034964C 003465AC 88 61 00 0C */ lbz r3, 0xc(r1) +/* 80349650 003465B0 38 80 00 00 */ li r4, 0 +/* 80349654 003465B4 54 60 D8 02 */ rlwinm r0, r3, 0x1b, 0, 1 +/* 80349658 003465B8 7C 00 FE 70 */ srawi r0, r0, 0x1f +/* 8034965C 003465BC 7C 00 07 75 */ extsb. r0, r0 +/* 80349660 003465C0 41 82 00 18 */ beq lbl_80349678 +/* 80349664 003465C4 54 60 C0 02 */ rlwinm r0, r3, 0x18, 0, 1 +/* 80349668 003465C8 7C 00 FE 70 */ srawi r0, r0, 0x1f +/* 8034966C 003465CC 7C 00 07 75 */ extsb. r0, r0 +/* 80349670 003465D0 41 82 00 08 */ beq lbl_80349678 +/* 80349674 003465D4 38 80 00 01 */ li r4, 1 +lbl_80349678: +/* 80349678 003465D8 88 1E 00 2E */ lbz r0, 0x2e(r30) +/* 8034967C 003465DC 50 80 07 FE */ rlwimi r0, r4, 0, 0x1f, 0x1f +/* 80349680 003465E0 7F C3 F3 78 */ mr r3, r30 +/* 80349684 003465E4 98 1E 00 2E */ stb r0, 0x2e(r30) +/* 80349688 003465E8 80 01 00 D4 */ lwz r0, 0xd4(r1) +/* 8034968C 003465EC 83 E1 00 CC */ lwz r31, 0xcc(r1) +/* 80349690 003465F0 83 C1 00 C8 */ lwz r30, 0xc8(r1) +/* 80349694 003465F4 7C 08 03 A6 */ mtlr r0 +/* 80349698 003465F8 38 21 00 D0 */ addi r1, r1, 0xd0 +/* 8034969C 003465FC 4E 80 00 20 */ blr + +.global InitializeAnalog__11CFinalInputFff +InitializeAnalog__11CFinalInputFff: +/* 803496A0 00346600 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 803496A4 00346604 7C 08 02 A6 */ mflr r0 +/* 803496A8 00346608 90 01 00 44 */ stw r0, 0x44(r1) +/* 803496AC 0034660C DB E1 00 30 */ stfd f31, 0x30(r1) +/* 803496B0 00346610 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 803496B4 00346614 DB C1 00 20 */ stfd f30, 0x20(r1) +/* 803496B8 00346618 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 +/* 803496BC 0034661C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 803496C0 00346620 7C 7F 1B 78 */ mr r31, r3 +/* 803496C4 00346624 FF C0 08 90 */ fmr f30, f1 +/* 803496C8 00346628 C0 03 00 08 */ lfs f0, 8(r3) +/* 803496CC 0034662C FF E0 10 90 */ fmr f31, f2 +/* 803496D0 00346630 38 81 00 14 */ addi r4, r1, 0x14 +/* 803496D4 00346634 38 6D 9D 98 */ addi r3, r13, lbl_805A8958@sda21 +/* 803496D8 00346638 EC 00 F0 24 */ fdivs f0, f0, f30 +/* 803496DC 0034663C 38 AD 9D 9C */ addi r5, r13, lbl_805A895C@sda21 +/* 803496E0 00346640 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 803496E4 00346644 4B CC 2B D1 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 803496E8 00346648 C0 03 00 00 */ lfs f0, 0(r3) +/* 803496EC 0034664C 38 81 00 10 */ addi r4, r1, 0x10 +/* 803496F0 00346650 38 6D 9D A0 */ addi r3, r13, lbl_805A8960@sda21 +/* 803496F4 00346654 38 AD 9D A4 */ addi r5, r13, lbl_805A8964@sda21 +/* 803496F8 00346658 D0 1F 00 08 */ stfs f0, 8(r31) +/* 803496FC 0034665C C0 1F 00 0C */ lfs f0, 0xc(r31) +/* 80349700 00346660 EC 00 F0 24 */ fdivs f0, f0, f30 +/* 80349704 00346664 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 80349708 00346668 4B CC 2B AD */ bl "Clamp__5CMathFRCfRCfRCf" +/* 8034970C 0034666C C0 03 00 00 */ lfs f0, 0(r3) +/* 80349710 00346670 38 81 00 0C */ addi r4, r1, 0xc +/* 80349714 00346674 38 6D 9D A8 */ addi r3, r13, lbl_805A8968@sda21 +/* 80349718 00346678 38 AD 9D AC */ addi r5, r13, lbl_805A896C@sda21 +/* 8034971C 0034667C D0 1F 00 0C */ stfs f0, 0xc(r31) +/* 80349720 00346680 C0 1F 00 10 */ lfs f0, 0x10(r31) +/* 80349724 00346684 EC 00 F8 24 */ fdivs f0, f0, f31 +/* 80349728 00346688 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 8034972C 0034668C 4B CC 2B 89 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80349730 00346690 C0 03 00 00 */ lfs f0, 0(r3) +/* 80349734 00346694 38 81 00 08 */ addi r4, r1, 8 +/* 80349738 00346698 38 6D 9D B0 */ addi r3, r13, lbl_805A8970@sda21 +/* 8034973C 0034669C 38 AD 9D B4 */ addi r5, r13, lbl_805A8974@sda21 +/* 80349740 003466A0 D0 1F 00 10 */ stfs f0, 0x10(r31) +/* 80349744 003466A4 C0 1F 00 14 */ lfs f0, 0x14(r31) +/* 80349748 003466A8 EC 00 F8 24 */ fdivs f0, f0, f31 +/* 8034974C 003466AC D0 01 00 08 */ stfs f0, 8(r1) +/* 80349750 003466B0 4B CC 2B 65 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80349754 003466B4 C0 23 00 00 */ lfs f1, 0(r3) +/* 80349758 003466B8 C0 02 CC 34 */ lfs f0, lbl_805AE954@sda21(r2) +/* 8034975C 003466BC D0 3F 00 14 */ stfs f1, 0x14(r31) +/* 80349760 003466C0 C0 3F 00 0C */ lfs f1, 0xc(r31) +/* 80349764 003466C4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80349768 003466C8 40 81 00 30 */ ble lbl_80349798 +/* 8034976C 003466CC 80 1F 00 04 */ lwz r0, 4(r31) +/* 80349770 003466D0 3C 60 80 3F */ lis r3, lbl_803EF660@ha +/* 80349774 003466D4 38 63 F6 60 */ addi r3, r3, lbl_803EF660@l +/* 80349778 003466D8 54 04 10 3A */ slwi r4, r0, 2 +/* 8034977C 003466DC 7C 03 20 AE */ lbzx r0, r3, r4 +/* 80349780 003466E0 28 00 00 00 */ cmplwi r0, 0 +/* 80349784 003466E4 40 82 00 14 */ bne lbl_80349798 +/* 80349788 003466E8 38 00 00 01 */ li r0, 1 +/* 8034978C 003466EC 7C 03 21 AE */ stbx r0, r3, r4 +/* 80349790 003466F0 98 1F 00 21 */ stb r0, 0x21(r31) +/* 80349794 003466F4 48 00 00 DC */ b lbl_80349870 +lbl_80349798: +/* 80349798 003466F8 C0 02 CC 34 */ lfs f0, lbl_805AE954@sda21(r2) +/* 8034979C 003466FC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 803497A0 00346700 40 81 00 2C */ ble lbl_803497CC +/* 803497A4 00346704 80 1F 00 04 */ lwz r0, 4(r31) +/* 803497A8 00346708 3C 60 80 3F */ lis r3, lbl_803EF660@ha +/* 803497AC 0034670C 38 63 F6 60 */ addi r3, r3, lbl_803EF660@l +/* 803497B0 00346710 54 00 10 3A */ slwi r0, r0, 2 +/* 803497B4 00346714 7C 03 00 AE */ lbzx r0, r3, r0 +/* 803497B8 00346718 28 00 00 00 */ cmplwi r0, 0 +/* 803497BC 0034671C 41 82 00 10 */ beq lbl_803497CC +/* 803497C0 00346720 38 00 00 00 */ li r0, 0 +/* 803497C4 00346724 98 1F 00 21 */ stb r0, 0x21(r31) +/* 803497C8 00346728 48 00 00 A8 */ b lbl_80349870 +lbl_803497CC: +/* 803497CC 0034672C C0 02 CC 38 */ lfs f0, lbl_805AE958@sda21(r2) +/* 803497D0 00346730 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 803497D4 00346734 40 80 00 38 */ bge lbl_8034980C +/* 803497D8 00346738 80 1F 00 04 */ lwz r0, 4(r31) +/* 803497DC 0034673C 3C 60 80 3F */ lis r3, lbl_803EF660@ha +/* 803497E0 00346740 38 83 F6 60 */ addi r4, r3, lbl_803EF660@l +/* 803497E4 00346744 54 00 10 3A */ slwi r0, r0, 2 +/* 803497E8 00346748 7C 04 00 AE */ lbzx r0, r4, r0 +/* 803497EC 0034674C 28 00 00 00 */ cmplwi r0, 0 +/* 803497F0 00346750 40 82 00 1C */ bne lbl_8034980C +/* 803497F4 00346754 38 60 00 01 */ li r3, 1 +/* 803497F8 00346758 98 7F 00 21 */ stb r3, 0x21(r31) +/* 803497FC 0034675C 80 1F 00 04 */ lwz r0, 4(r31) +/* 80349800 00346760 54 00 10 3A */ slwi r0, r0, 2 +/* 80349804 00346764 7C 64 01 AE */ stbx r3, r4, r0 +/* 80349808 00346768 48 00 00 68 */ b lbl_80349870 +lbl_8034980C: +/* 8034980C 0034676C C0 02 CC 38 */ lfs f0, lbl_805AE958@sda21(r2) +/* 80349810 00346770 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80349814 00346774 40 80 00 2C */ bge lbl_80349840 +/* 80349818 00346778 80 1F 00 04 */ lwz r0, 4(r31) +/* 8034981C 0034677C 3C 60 80 3F */ lis r3, lbl_803EF660@ha +/* 80349820 00346780 38 63 F6 60 */ addi r3, r3, lbl_803EF660@l +/* 80349824 00346784 54 00 10 3A */ slwi r0, r0, 2 +/* 80349828 00346788 7C 03 00 AE */ lbzx r0, r3, r0 +/* 8034982C 0034678C 28 00 00 00 */ cmplwi r0, 0 +/* 80349830 00346790 41 82 00 10 */ beq lbl_80349840 +/* 80349834 00346794 38 00 00 00 */ li r0, 0 +/* 80349838 00346798 98 1F 00 21 */ stb r0, 0x21(r31) +/* 8034983C 0034679C 48 00 00 34 */ b lbl_80349870 +lbl_80349840: +/* 80349840 003467A0 FC 20 0A 10 */ fabs f1, f1 +/* 80349844 003467A4 C0 02 CC 34 */ lfs f0, lbl_805AE954@sda21(r2) +/* 80349848 003467A8 FC 20 08 18 */ frsp f1, f1 +/* 8034984C 003467AC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80349850 003467B0 40 80 00 20 */ bge lbl_80349870 +/* 80349854 003467B4 38 80 00 00 */ li r4, 0 +/* 80349858 003467B8 3C 60 80 3F */ lis r3, lbl_803EF660@ha +/* 8034985C 003467BC 98 9F 00 21 */ stb r4, 0x21(r31) +/* 80349860 003467C0 38 63 F6 60 */ addi r3, r3, lbl_803EF660@l +/* 80349864 003467C4 80 1F 00 04 */ lwz r0, 4(r31) +/* 80349868 003467C8 54 00 10 3A */ slwi r0, r0, 2 +/* 8034986C 003467CC 7C 83 01 AE */ stbx r4, r3, r0 +lbl_80349870: +/* 80349870 003467D0 C0 3F 00 08 */ lfs f1, 8(r31) +/* 80349874 003467D4 C0 02 CC 34 */ lfs f0, lbl_805AE954@sda21(r2) +/* 80349878 003467D8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8034987C 003467DC 40 81 00 3C */ ble lbl_803498B8 +/* 80349880 003467E0 80 1F 00 04 */ lwz r0, 4(r31) +/* 80349884 003467E4 3C 60 80 3F */ lis r3, lbl_803EF660@ha +/* 80349888 003467E8 38 63 F6 60 */ addi r3, r3, lbl_803EF660@l +/* 8034988C 003467EC 38 83 00 01 */ addi r4, r3, 1 +/* 80349890 003467F0 54 00 10 3A */ slwi r0, r0, 2 +/* 80349894 003467F4 7C 04 00 AE */ lbzx r0, r4, r0 +/* 80349898 003467F8 28 00 00 00 */ cmplwi r0, 0 +/* 8034989C 003467FC 40 82 00 1C */ bne lbl_803498B8 +/* 803498A0 00346800 38 60 00 01 */ li r3, 1 +/* 803498A4 00346804 98 7F 00 20 */ stb r3, 0x20(r31) +/* 803498A8 00346808 80 1F 00 04 */ lwz r0, 4(r31) +/* 803498AC 0034680C 54 00 10 3A */ slwi r0, r0, 2 +/* 803498B0 00346810 7C 64 01 AE */ stbx r3, r4, r0 +/* 803498B4 00346814 48 00 00 E4 */ b lbl_80349998 +lbl_803498B8: +/* 803498B8 00346818 C0 02 CC 34 */ lfs f0, lbl_805AE954@sda21(r2) +/* 803498BC 0034681C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 803498C0 00346820 40 81 00 30 */ ble lbl_803498F0 +/* 803498C4 00346824 80 1F 00 04 */ lwz r0, 4(r31) +/* 803498C8 00346828 3C 60 80 3F */ lis r3, lbl_803EF660@ha +/* 803498CC 0034682C 38 63 F6 60 */ addi r3, r3, lbl_803EF660@l +/* 803498D0 00346830 54 00 10 3A */ slwi r0, r0, 2 +/* 803498D4 00346834 7C 63 02 14 */ add r3, r3, r0 +/* 803498D8 00346838 88 03 00 01 */ lbz r0, 1(r3) +/* 803498DC 0034683C 28 00 00 00 */ cmplwi r0, 0 +/* 803498E0 00346840 41 82 00 10 */ beq lbl_803498F0 +/* 803498E4 00346844 38 00 00 00 */ li r0, 0 +/* 803498E8 00346848 98 1F 00 20 */ stb r0, 0x20(r31) +/* 803498EC 0034684C 48 00 00 AC */ b lbl_80349998 +lbl_803498F0: +/* 803498F0 00346850 C0 02 CC 38 */ lfs f0, lbl_805AE958@sda21(r2) +/* 803498F4 00346854 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 803498F8 00346858 40 80 00 34 */ bge lbl_8034992C +/* 803498FC 0034685C 80 1F 00 04 */ lwz r0, 4(r31) +/* 80349900 00346860 3C 60 80 3F */ lis r3, lbl_803EF660@ha +/* 80349904 00346864 38 63 F6 60 */ addi r3, r3, lbl_803EF660@l +/* 80349908 00346868 54 00 10 3A */ slwi r0, r0, 2 +/* 8034990C 0034686C 7C 63 02 14 */ add r3, r3, r0 +/* 80349910 00346870 8C 03 00 01 */ lbzu r0, 1(r3) +/* 80349914 00346874 28 00 00 00 */ cmplwi r0, 0 +/* 80349918 00346878 40 82 00 14 */ bne lbl_8034992C +/* 8034991C 0034687C 38 00 00 01 */ li r0, 1 +/* 80349920 00346880 98 03 00 00 */ stb r0, 0(r3) +/* 80349924 00346884 98 1F 00 20 */ stb r0, 0x20(r31) +/* 80349928 00346888 48 00 00 70 */ b lbl_80349998 +lbl_8034992C: +/* 8034992C 0034688C C0 02 CC 38 */ lfs f0, lbl_805AE958@sda21(r2) +/* 80349930 00346890 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80349934 00346894 40 80 00 30 */ bge lbl_80349964 +/* 80349938 00346898 80 1F 00 04 */ lwz r0, 4(r31) +/* 8034993C 0034689C 3C 60 80 3F */ lis r3, lbl_803EF660@ha +/* 80349940 003468A0 38 63 F6 60 */ addi r3, r3, lbl_803EF660@l +/* 80349944 003468A4 54 00 10 3A */ slwi r0, r0, 2 +/* 80349948 003468A8 7C 63 02 14 */ add r3, r3, r0 +/* 8034994C 003468AC 88 03 00 01 */ lbz r0, 1(r3) +/* 80349950 003468B0 28 00 00 00 */ cmplwi r0, 0 +/* 80349954 003468B4 41 82 00 10 */ beq lbl_80349964 +/* 80349958 003468B8 38 00 00 00 */ li r0, 0 +/* 8034995C 003468BC 98 1F 00 20 */ stb r0, 0x20(r31) +/* 80349960 003468C0 48 00 00 38 */ b lbl_80349998 +lbl_80349964: +/* 80349964 003468C4 FC 20 0A 10 */ fabs f1, f1 +/* 80349968 003468C8 C0 02 CC 34 */ lfs f0, lbl_805AE954@sda21(r2) +/* 8034996C 003468CC FC 20 08 18 */ frsp f1, f1 +/* 80349970 003468D0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80349974 003468D4 40 80 00 24 */ bge lbl_80349998 +/* 80349978 003468D8 38 80 00 00 */ li r4, 0 +/* 8034997C 003468DC 3C 60 80 3F */ lis r3, lbl_803EF660@ha +/* 80349980 003468E0 98 9F 00 20 */ stb r4, 0x20(r31) +/* 80349984 003468E4 38 63 F6 60 */ addi r3, r3, lbl_803EF660@l +/* 80349988 003468E8 80 1F 00 04 */ lwz r0, 4(r31) +/* 8034998C 003468EC 54 00 10 3A */ slwi r0, r0, 2 +/* 80349990 003468F0 7C 63 02 14 */ add r3, r3, r0 +/* 80349994 003468F4 98 83 00 01 */ stb r4, 1(r3) +lbl_80349998: +/* 80349998 003468F8 C0 3F 00 14 */ lfs f1, 0x14(r31) +/* 8034999C 003468FC C0 02 CC 34 */ lfs f0, lbl_805AE954@sda21(r2) +/* 803499A0 00346900 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 803499A4 00346904 40 81 00 34 */ ble lbl_803499D8 +/* 803499A8 00346908 80 1F 00 04 */ lwz r0, 4(r31) +/* 803499AC 0034690C 3C 60 80 3F */ lis r3, lbl_803EF660@ha +/* 803499B0 00346910 38 63 F6 60 */ addi r3, r3, lbl_803EF660@l +/* 803499B4 00346914 54 00 10 3A */ slwi r0, r0, 2 +/* 803499B8 00346918 7C 63 02 14 */ add r3, r3, r0 +/* 803499BC 0034691C 8C 03 00 02 */ lbzu r0, 2(r3) +/* 803499C0 00346920 28 00 00 00 */ cmplwi r0, 0 +/* 803499C4 00346924 40 82 00 14 */ bne lbl_803499D8 +/* 803499C8 00346928 38 00 00 01 */ li r0, 1 +/* 803499CC 0034692C 98 03 00 00 */ stb r0, 0(r3) +/* 803499D0 00346930 98 1F 00 23 */ stb r0, 0x23(r31) +/* 803499D4 00346934 48 00 00 EC */ b lbl_80349AC0 +lbl_803499D8: +/* 803499D8 00346938 C0 02 CC 34 */ lfs f0, lbl_805AE954@sda21(r2) +/* 803499DC 0034693C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 803499E0 00346940 40 81 00 30 */ ble lbl_80349A10 +/* 803499E4 00346944 80 1F 00 04 */ lwz r0, 4(r31) +/* 803499E8 00346948 3C 60 80 3F */ lis r3, lbl_803EF660@ha +/* 803499EC 0034694C 38 63 F6 60 */ addi r3, r3, lbl_803EF660@l +/* 803499F0 00346950 54 00 10 3A */ slwi r0, r0, 2 +/* 803499F4 00346954 7C 63 02 14 */ add r3, r3, r0 +/* 803499F8 00346958 88 03 00 02 */ lbz r0, 2(r3) +/* 803499FC 0034695C 28 00 00 00 */ cmplwi r0, 0 +/* 80349A00 00346960 41 82 00 10 */ beq lbl_80349A10 +/* 80349A04 00346964 38 00 00 00 */ li r0, 0 +/* 80349A08 00346968 98 1F 00 23 */ stb r0, 0x23(r31) +/* 80349A0C 0034696C 48 00 00 B4 */ b lbl_80349AC0 +lbl_80349A10: +/* 80349A10 00346970 C0 02 CC 38 */ lfs f0, lbl_805AE958@sda21(r2) +/* 80349A14 00346974 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80349A18 00346978 40 80 00 3C */ bge lbl_80349A54 +/* 80349A1C 0034697C 80 1F 00 04 */ lwz r0, 4(r31) +/* 80349A20 00346980 3C 60 80 3F */ lis r3, lbl_803EF660@ha +/* 80349A24 00346984 38 63 F6 60 */ addi r3, r3, lbl_803EF660@l +/* 80349A28 00346988 38 83 00 02 */ addi r4, r3, 2 +/* 80349A2C 0034698C 54 00 10 3A */ slwi r0, r0, 2 +/* 80349A30 00346990 7C 04 00 AE */ lbzx r0, r4, r0 +/* 80349A34 00346994 28 00 00 00 */ cmplwi r0, 0 +/* 80349A38 00346998 40 82 00 1C */ bne lbl_80349A54 +/* 80349A3C 0034699C 38 60 00 01 */ li r3, 1 +/* 80349A40 003469A0 98 7F 00 23 */ stb r3, 0x23(r31) +/* 80349A44 003469A4 80 1F 00 04 */ lwz r0, 4(r31) +/* 80349A48 003469A8 54 00 10 3A */ slwi r0, r0, 2 +/* 80349A4C 003469AC 7C 64 01 AE */ stbx r3, r4, r0 +/* 80349A50 003469B0 48 00 00 70 */ b lbl_80349AC0 +lbl_80349A54: +/* 80349A54 003469B4 C0 02 CC 38 */ lfs f0, lbl_805AE958@sda21(r2) +/* 80349A58 003469B8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80349A5C 003469BC 40 80 00 30 */ bge lbl_80349A8C +/* 80349A60 003469C0 80 1F 00 04 */ lwz r0, 4(r31) +/* 80349A64 003469C4 3C 60 80 3F */ lis r3, lbl_803EF660@ha +/* 80349A68 003469C8 38 63 F6 60 */ addi r3, r3, lbl_803EF660@l +/* 80349A6C 003469CC 54 00 10 3A */ slwi r0, r0, 2 +/* 80349A70 003469D0 7C 63 02 14 */ add r3, r3, r0 +/* 80349A74 003469D4 88 03 00 02 */ lbz r0, 2(r3) +/* 80349A78 003469D8 28 00 00 00 */ cmplwi r0, 0 +/* 80349A7C 003469DC 41 82 00 10 */ beq lbl_80349A8C +/* 80349A80 003469E0 38 00 00 00 */ li r0, 0 +/* 80349A84 003469E4 98 1F 00 23 */ stb r0, 0x23(r31) +/* 80349A88 003469E8 48 00 00 38 */ b lbl_80349AC0 +lbl_80349A8C: +/* 80349A8C 003469EC FC 20 0A 10 */ fabs f1, f1 +/* 80349A90 003469F0 C0 02 CC 34 */ lfs f0, lbl_805AE954@sda21(r2) +/* 80349A94 003469F4 FC 20 08 18 */ frsp f1, f1 +/* 80349A98 003469F8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80349A9C 003469FC 40 80 00 24 */ bge lbl_80349AC0 +/* 80349AA0 00346A00 38 80 00 00 */ li r4, 0 +/* 80349AA4 00346A04 3C 60 80 3F */ lis r3, lbl_803EF660@ha +/* 80349AA8 00346A08 98 9F 00 23 */ stb r4, 0x23(r31) +/* 80349AAC 00346A0C 38 63 F6 60 */ addi r3, r3, lbl_803EF660@l +/* 80349AB0 00346A10 80 1F 00 04 */ lwz r0, 4(r31) +/* 80349AB4 00346A14 54 00 10 3A */ slwi r0, r0, 2 +/* 80349AB8 00346A18 7C 63 02 14 */ add r3, r3, r0 +/* 80349ABC 00346A1C 98 83 00 02 */ stb r4, 2(r3) +lbl_80349AC0: +/* 80349AC0 00346A20 C0 3F 00 10 */ lfs f1, 0x10(r31) +/* 80349AC4 00346A24 C0 02 CC 34 */ lfs f0, lbl_805AE954@sda21(r2) +/* 80349AC8 00346A28 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80349ACC 00346A2C 40 81 00 3C */ ble lbl_80349B08 +/* 80349AD0 00346A30 80 1F 00 04 */ lwz r0, 4(r31) +/* 80349AD4 00346A34 3C 60 80 3F */ lis r3, lbl_803EF660@ha +/* 80349AD8 00346A38 38 63 F6 60 */ addi r3, r3, lbl_803EF660@l +/* 80349ADC 00346A3C 38 83 00 03 */ addi r4, r3, 3 +/* 80349AE0 00346A40 54 00 10 3A */ slwi r0, r0, 2 +/* 80349AE4 00346A44 7C 04 00 AE */ lbzx r0, r4, r0 +/* 80349AE8 00346A48 28 00 00 00 */ cmplwi r0, 0 +/* 80349AEC 00346A4C 40 82 00 1C */ bne lbl_80349B08 +/* 80349AF0 00346A50 38 60 00 01 */ li r3, 1 +/* 80349AF4 00346A54 98 7F 00 22 */ stb r3, 0x22(r31) +/* 80349AF8 00346A58 80 1F 00 04 */ lwz r0, 4(r31) +/* 80349AFC 00346A5C 54 00 10 3A */ slwi r0, r0, 2 +/* 80349B00 00346A60 7C 64 01 AE */ stbx r3, r4, r0 +/* 80349B04 00346A64 48 00 00 E4 */ b lbl_80349BE8 +lbl_80349B08: +/* 80349B08 00346A68 C0 02 CC 34 */ lfs f0, lbl_805AE954@sda21(r2) +/* 80349B0C 00346A6C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80349B10 00346A70 40 81 00 30 */ ble lbl_80349B40 +/* 80349B14 00346A74 80 1F 00 04 */ lwz r0, 4(r31) +/* 80349B18 00346A78 3C 60 80 3F */ lis r3, lbl_803EF660@ha +/* 80349B1C 00346A7C 38 63 F6 60 */ addi r3, r3, lbl_803EF660@l +/* 80349B20 00346A80 54 00 10 3A */ slwi r0, r0, 2 +/* 80349B24 00346A84 7C 63 02 14 */ add r3, r3, r0 +/* 80349B28 00346A88 88 03 00 03 */ lbz r0, 3(r3) +/* 80349B2C 00346A8C 28 00 00 00 */ cmplwi r0, 0 +/* 80349B30 00346A90 41 82 00 10 */ beq lbl_80349B40 +/* 80349B34 00346A94 38 00 00 00 */ li r0, 0 +/* 80349B38 00346A98 98 1F 00 22 */ stb r0, 0x22(r31) +/* 80349B3C 00346A9C 48 00 00 AC */ b lbl_80349BE8 +lbl_80349B40: +/* 80349B40 00346AA0 C0 02 CC 38 */ lfs f0, lbl_805AE958@sda21(r2) +/* 80349B44 00346AA4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80349B48 00346AA8 40 80 00 34 */ bge lbl_80349B7C +/* 80349B4C 00346AAC 80 1F 00 04 */ lwz r0, 4(r31) +/* 80349B50 00346AB0 3C 60 80 3F */ lis r3, lbl_803EF660@ha +/* 80349B54 00346AB4 38 63 F6 60 */ addi r3, r3, lbl_803EF660@l +/* 80349B58 00346AB8 54 00 10 3A */ slwi r0, r0, 2 +/* 80349B5C 00346ABC 7C 63 02 14 */ add r3, r3, r0 +/* 80349B60 00346AC0 8C 03 00 03 */ lbzu r0, 3(r3) +/* 80349B64 00346AC4 28 00 00 00 */ cmplwi r0, 0 +/* 80349B68 00346AC8 40 82 00 14 */ bne lbl_80349B7C +/* 80349B6C 00346ACC 38 00 00 01 */ li r0, 1 +/* 80349B70 00346AD0 98 03 00 00 */ stb r0, 0(r3) +/* 80349B74 00346AD4 98 1F 00 22 */ stb r0, 0x22(r31) +/* 80349B78 00346AD8 48 00 00 70 */ b lbl_80349BE8 +lbl_80349B7C: +/* 80349B7C 00346ADC C0 02 CC 38 */ lfs f0, lbl_805AE958@sda21(r2) +/* 80349B80 00346AE0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80349B84 00346AE4 40 80 00 30 */ bge lbl_80349BB4 +/* 80349B88 00346AE8 80 1F 00 04 */ lwz r0, 4(r31) +/* 80349B8C 00346AEC 3C 60 80 3F */ lis r3, lbl_803EF660@ha +/* 80349B90 00346AF0 38 63 F6 60 */ addi r3, r3, lbl_803EF660@l +/* 80349B94 00346AF4 54 00 10 3A */ slwi r0, r0, 2 +/* 80349B98 00346AF8 7C 63 02 14 */ add r3, r3, r0 +/* 80349B9C 00346AFC 88 03 00 03 */ lbz r0, 3(r3) +/* 80349BA0 00346B00 28 00 00 00 */ cmplwi r0, 0 +/* 80349BA4 00346B04 41 82 00 10 */ beq lbl_80349BB4 +/* 80349BA8 00346B08 38 00 00 00 */ li r0, 0 +/* 80349BAC 00346B0C 98 1F 00 22 */ stb r0, 0x22(r31) +/* 80349BB0 00346B10 48 00 00 38 */ b lbl_80349BE8 +lbl_80349BB4: +/* 80349BB4 00346B14 FC 20 0A 10 */ fabs f1, f1 +/* 80349BB8 00346B18 C0 02 CC 34 */ lfs f0, lbl_805AE954@sda21(r2) +/* 80349BBC 00346B1C FC 20 08 18 */ frsp f1, f1 +/* 80349BC0 00346B20 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80349BC4 00346B24 40 80 00 24 */ bge lbl_80349BE8 +/* 80349BC8 00346B28 38 80 00 00 */ li r4, 0 +/* 80349BCC 00346B2C 3C 60 80 3F */ lis r3, lbl_803EF660@ha +/* 80349BD0 00346B30 98 9F 00 22 */ stb r4, 0x22(r31) +/* 80349BD4 00346B34 38 63 F6 60 */ addi r3, r3, lbl_803EF660@l +/* 80349BD8 00346B38 80 1F 00 04 */ lwz r0, 4(r31) +/* 80349BDC 00346B3C 54 00 10 3A */ slwi r0, r0, 2 +/* 80349BE0 00346B40 7C 63 02 14 */ add r3, r3, r0 +/* 80349BE4 00346B44 98 83 00 03 */ stb r4, 3(r3) +lbl_80349BE8: +/* 80349BE8 00346B48 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 80349BEC 00346B4C CB E1 00 30 */ lfd f31, 0x30(r1) +/* 80349BF0 00346B50 E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 +/* 80349BF4 00346B54 CB C1 00 20 */ lfd f30, 0x20(r1) +/* 80349BF8 00346B58 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80349BFC 00346B5C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80349C00 00346B60 7C 08 03 A6 */ mtlr r0 +/* 80349C04 00346B64 38 21 00 40 */ addi r1, r1, 0x40 +/* 80349C08 00346B68 4E 80 00 20 */ blr + +.global __ct__11CFinalInputFifRC22CControllerGamepadDataff +__ct__11CFinalInputFifRC22CControllerGamepadDataff: +/* 80349C0C 00346B6C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80349C10 00346B70 7C 08 02 A6 */ mflr r0 +/* 80349C14 00346B74 90 01 00 14 */ stw r0, 0x14(r1) +/* 80349C18 00346B78 38 00 00 00 */ li r0, 0 +/* 80349C1C 00346B7C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80349C20 00346B80 7C 7F 1B 78 */ mr r31, r3 +/* 80349C24 00346B84 D0 23 00 00 */ stfs f1, 0(r3) +/* 80349C28 00346B88 90 83 00 04 */ stw r4, 4(r3) +/* 80349C2C 00346B8C C0 05 00 08 */ lfs f0, 8(r5) +/* 80349C30 00346B90 D0 03 00 08 */ stfs f0, 8(r3) +/* 80349C34 00346B94 C0 05 00 10 */ lfs f0, 0x10(r5) +/* 80349C38 00346B98 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 80349C3C 00346B9C C0 05 00 18 */ lfs f0, 0x18(r5) +/* 80349C40 00346BA0 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 80349C44 00346BA4 C0 05 00 20 */ lfs f0, 0x20(r5) +/* 80349C48 00346BA8 D0 03 00 14 */ stfs f0, 0x14(r3) +/* 80349C4C 00346BAC C0 05 00 28 */ lfs f0, 0x28(r5) +/* 80349C50 00346BB0 D0 03 00 18 */ stfs f0, 0x18(r3) +/* 80349C54 00346BB4 C0 05 00 30 */ lfs f0, 0x30(r5) +/* 80349C58 00346BB8 D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 80349C5C 00346BBC 98 03 00 20 */ stb r0, 0x20(r3) +/* 80349C60 00346BC0 98 03 00 21 */ stb r0, 0x21(r3) +/* 80349C64 00346BC4 98 03 00 22 */ stb r0, 0x22(r3) +/* 80349C68 00346BC8 98 03 00 23 */ stb r0, 0x23(r3) +/* 80349C6C 00346BCC C0 05 00 24 */ lfs f0, 0x24(r5) +/* 80349C70 00346BD0 D0 03 00 24 */ stfs f0, 0x24(r3) +/* 80349C74 00346BD4 C0 05 00 2C */ lfs f0, 0x2c(r5) +/* 80349C78 00346BD8 D0 03 00 28 */ stfs f0, 0x28(r3) +/* 80349C7C 00346BDC 88 85 00 34 */ lbz r4, 0x34(r5) +/* 80349C80 00346BE0 88 03 00 2C */ lbz r0, 0x2c(r3) +/* 80349C84 00346BE4 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 80349C88 00346BE8 98 03 00 2C */ stb r0, 0x2c(r3) +/* 80349C8C 00346BEC 88 85 00 37 */ lbz r4, 0x37(r5) +/* 80349C90 00346BF0 88 03 00 2C */ lbz r0, 0x2c(r3) +/* 80349C94 00346BF4 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 80349C98 00346BF8 98 03 00 2C */ stb r0, 0x2c(r3) +/* 80349C9C 00346BFC 88 85 00 3A */ lbz r4, 0x3a(r5) +/* 80349CA0 00346C00 88 03 00 2C */ lbz r0, 0x2c(r3) +/* 80349CA4 00346C04 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a +/* 80349CA8 00346C08 98 03 00 2C */ stb r0, 0x2c(r3) +/* 80349CAC 00346C0C 88 85 00 3D */ lbz r4, 0x3d(r5) +/* 80349CB0 00346C10 88 03 00 2C */ lbz r0, 0x2c(r3) +/* 80349CB4 00346C14 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b +/* 80349CB8 00346C18 98 03 00 2C */ stb r0, 0x2c(r3) +/* 80349CBC 00346C1C 88 85 00 43 */ lbz r4, 0x43(r5) +/* 80349CC0 00346C20 88 03 00 2C */ lbz r0, 0x2c(r3) +/* 80349CC4 00346C24 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c +/* 80349CC8 00346C28 98 03 00 2C */ stb r0, 0x2c(r3) +/* 80349CCC 00346C2C 88 85 00 52 */ lbz r4, 0x52(r5) +/* 80349CD0 00346C30 88 03 00 2C */ lbz r0, 0x2c(r3) +/* 80349CD4 00346C34 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d +/* 80349CD8 00346C38 98 03 00 2C */ stb r0, 0x2c(r3) +/* 80349CDC 00346C3C 88 85 00 55 */ lbz r4, 0x55(r5) +/* 80349CE0 00346C40 88 03 00 2C */ lbz r0, 0x2c(r3) +/* 80349CE4 00346C44 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e +/* 80349CE8 00346C48 98 03 00 2C */ stb r0, 0x2c(r3) +/* 80349CEC 00346C4C 88 85 00 46 */ lbz r4, 0x46(r5) +/* 80349CF0 00346C50 88 03 00 2C */ lbz r0, 0x2c(r3) +/* 80349CF4 00346C54 50 80 07 FE */ rlwimi r0, r4, 0, 0x1f, 0x1f +/* 80349CF8 00346C58 98 03 00 2C */ stb r0, 0x2c(r3) +/* 80349CFC 00346C5C 88 85 00 49 */ lbz r4, 0x49(r5) +/* 80349D00 00346C60 88 03 00 2D */ lbz r0, 0x2d(r3) +/* 80349D04 00346C64 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 80349D08 00346C68 98 03 00 2D */ stb r0, 0x2d(r3) +/* 80349D0C 00346C6C 88 85 00 4C */ lbz r4, 0x4c(r5) +/* 80349D10 00346C70 88 03 00 2D */ lbz r0, 0x2d(r3) +/* 80349D14 00346C74 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 80349D18 00346C78 98 03 00 2D */ stb r0, 0x2d(r3) +/* 80349D1C 00346C7C 88 85 00 4F */ lbz r4, 0x4f(r5) +/* 80349D20 00346C80 88 03 00 2D */ lbz r0, 0x2d(r3) +/* 80349D24 00346C84 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a +/* 80349D28 00346C88 98 03 00 2D */ stb r0, 0x2d(r3) +/* 80349D2C 00346C8C 88 85 00 40 */ lbz r4, 0x40(r5) +/* 80349D30 00346C90 FC 20 10 90 */ fmr f1, f2 +/* 80349D34 00346C94 88 1F 00 2D */ lbz r0, 0x2d(r31) +/* 80349D38 00346C98 FC 40 18 90 */ fmr f2, f3 +/* 80349D3C 00346C9C 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b +/* 80349D40 00346CA0 98 1F 00 2D */ stb r0, 0x2d(r31) +/* 80349D44 00346CA4 88 85 00 35 */ lbz r4, 0x35(r5) +/* 80349D48 00346CA8 88 1F 00 2D */ lbz r0, 0x2d(r31) +/* 80349D4C 00346CAC 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c +/* 80349D50 00346CB0 98 1F 00 2D */ stb r0, 0x2d(r31) +/* 80349D54 00346CB4 88 85 00 38 */ lbz r4, 0x38(r5) +/* 80349D58 00346CB8 88 1F 00 2D */ lbz r0, 0x2d(r31) +/* 80349D5C 00346CBC 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d +/* 80349D60 00346CC0 98 1F 00 2D */ stb r0, 0x2d(r31) +/* 80349D64 00346CC4 88 85 00 3B */ lbz r4, 0x3b(r5) +/* 80349D68 00346CC8 88 1F 00 2D */ lbz r0, 0x2d(r31) +/* 80349D6C 00346CCC 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e +/* 80349D70 00346CD0 98 1F 00 2D */ stb r0, 0x2d(r31) +/* 80349D74 00346CD4 88 85 00 3E */ lbz r4, 0x3e(r5) +/* 80349D78 00346CD8 88 1F 00 2D */ lbz r0, 0x2d(r31) +/* 80349D7C 00346CDC 50 80 07 FE */ rlwimi r0, r4, 0, 0x1f, 0x1f +/* 80349D80 00346CE0 98 1F 00 2D */ stb r0, 0x2d(r31) +/* 80349D84 00346CE4 88 85 00 44 */ lbz r4, 0x44(r5) +/* 80349D88 00346CE8 88 1F 00 2E */ lbz r0, 0x2e(r31) +/* 80349D8C 00346CEC 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 80349D90 00346CF0 98 1F 00 2E */ stb r0, 0x2e(r31) +/* 80349D94 00346CF4 88 85 00 53 */ lbz r4, 0x53(r5) +/* 80349D98 00346CF8 88 1F 00 2E */ lbz r0, 0x2e(r31) +/* 80349D9C 00346CFC 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 80349DA0 00346D00 98 1F 00 2E */ stb r0, 0x2e(r31) +/* 80349DA4 00346D04 88 85 00 56 */ lbz r4, 0x56(r5) +/* 80349DA8 00346D08 88 1F 00 2E */ lbz r0, 0x2e(r31) +/* 80349DAC 00346D0C 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a +/* 80349DB0 00346D10 98 1F 00 2E */ stb r0, 0x2e(r31) +/* 80349DB4 00346D14 88 85 00 47 */ lbz r4, 0x47(r5) +/* 80349DB8 00346D18 88 1F 00 2E */ lbz r0, 0x2e(r31) +/* 80349DBC 00346D1C 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b +/* 80349DC0 00346D20 98 1F 00 2E */ stb r0, 0x2e(r31) +/* 80349DC4 00346D24 88 85 00 4A */ lbz r4, 0x4a(r5) +/* 80349DC8 00346D28 88 1F 00 2E */ lbz r0, 0x2e(r31) +/* 80349DCC 00346D2C 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c +/* 80349DD0 00346D30 98 1F 00 2E */ stb r0, 0x2e(r31) +/* 80349DD4 00346D34 88 85 00 4D */ lbz r4, 0x4d(r5) +/* 80349DD8 00346D38 88 1F 00 2E */ lbz r0, 0x2e(r31) +/* 80349DDC 00346D3C 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d +/* 80349DE0 00346D40 98 1F 00 2E */ stb r0, 0x2e(r31) +/* 80349DE4 00346D44 88 85 00 50 */ lbz r4, 0x50(r5) +/* 80349DE8 00346D48 88 1F 00 2E */ lbz r0, 0x2e(r31) +/* 80349DEC 00346D4C 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e +/* 80349DF0 00346D50 98 1F 00 2E */ stb r0, 0x2e(r31) +/* 80349DF4 00346D54 88 85 00 41 */ lbz r4, 0x41(r5) +/* 80349DF8 00346D58 88 1F 00 2E */ lbz r0, 0x2e(r31) +/* 80349DFC 00346D5C 50 80 07 FE */ rlwimi r0, r4, 0, 0x1f, 0x1f +/* 80349E00 00346D60 98 1F 00 2E */ stb r0, 0x2e(r31) +/* 80349E04 00346D64 4B FF F8 9D */ bl InitializeAnalog__11CFinalInputFff +/* 80349E08 00346D68 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80349E0C 00346D6C 7F E3 FB 78 */ mr r3, r31 +/* 80349E10 00346D70 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80349E14 00346D74 7C 08 03 A6 */ mtlr r0 +/* 80349E18 00346D78 38 21 00 10 */ addi r1, r1, 0x10 +/* 80349E1C 00346D7C 4E 80 00 20 */ blr + +.global __ct__11CFinalInputFv +__ct__11CFinalInputFv: +/* 80349E20 00346D80 C0 02 CC 30 */ lfs f0, lbl_805AE950@sda21(r2) +/* 80349E24 00346D84 38 80 00 00 */ li r4, 0 +/* 80349E28 00346D88 D0 03 00 00 */ stfs f0, 0(r3) +/* 80349E2C 00346D8C 90 83 00 04 */ stw r4, 4(r3) +/* 80349E30 00346D90 D0 03 00 08 */ stfs f0, 8(r3) +/* 80349E34 00346D94 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 80349E38 00346D98 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 80349E3C 00346D9C D0 03 00 14 */ stfs f0, 0x14(r3) +/* 80349E40 00346DA0 D0 03 00 18 */ stfs f0, 0x18(r3) +/* 80349E44 00346DA4 D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 80349E48 00346DA8 98 83 00 20 */ stb r4, 0x20(r3) +/* 80349E4C 00346DAC 98 83 00 21 */ stb r4, 0x21(r3) +/* 80349E50 00346DB0 98 83 00 22 */ stb r4, 0x22(r3) +/* 80349E54 00346DB4 98 83 00 23 */ stb r4, 0x23(r3) +/* 80349E58 00346DB8 D0 03 00 24 */ stfs f0, 0x24(r3) +/* 80349E5C 00346DBC D0 03 00 28 */ stfs f0, 0x28(r3) +/* 80349E60 00346DC0 88 03 00 2C */ lbz r0, 0x2c(r3) +/* 80349E64 00346DC4 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 80349E68 00346DC8 98 03 00 2C */ stb r0, 0x2c(r3) +/* 80349E6C 00346DCC 88 03 00 2C */ lbz r0, 0x2c(r3) +/* 80349E70 00346DD0 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 80349E74 00346DD4 98 03 00 2C */ stb r0, 0x2c(r3) +/* 80349E78 00346DD8 88 03 00 2C */ lbz r0, 0x2c(r3) +/* 80349E7C 00346DDC 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a +/* 80349E80 00346DE0 98 03 00 2C */ stb r0, 0x2c(r3) +/* 80349E84 00346DE4 88 03 00 2C */ lbz r0, 0x2c(r3) +/* 80349E88 00346DE8 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b +/* 80349E8C 00346DEC 98 03 00 2C */ stb r0, 0x2c(r3) +/* 80349E90 00346DF0 88 03 00 2C */ lbz r0, 0x2c(r3) +/* 80349E94 00346DF4 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c +/* 80349E98 00346DF8 98 03 00 2C */ stb r0, 0x2c(r3) +/* 80349E9C 00346DFC 88 03 00 2C */ lbz r0, 0x2c(r3) +/* 80349EA0 00346E00 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d +/* 80349EA4 00346E04 98 03 00 2C */ stb r0, 0x2c(r3) +/* 80349EA8 00346E08 88 03 00 2C */ lbz r0, 0x2c(r3) +/* 80349EAC 00346E0C 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e +/* 80349EB0 00346E10 98 03 00 2C */ stb r0, 0x2c(r3) +/* 80349EB4 00346E14 88 03 00 2C */ lbz r0, 0x2c(r3) +/* 80349EB8 00346E18 50 80 07 FE */ rlwimi r0, r4, 0, 0x1f, 0x1f +/* 80349EBC 00346E1C 98 03 00 2C */ stb r0, 0x2c(r3) +/* 80349EC0 00346E20 88 03 00 2D */ lbz r0, 0x2d(r3) +/* 80349EC4 00346E24 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 80349EC8 00346E28 98 03 00 2D */ stb r0, 0x2d(r3) +/* 80349ECC 00346E2C 88 03 00 2D */ lbz r0, 0x2d(r3) +/* 80349ED0 00346E30 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 80349ED4 00346E34 98 03 00 2D */ stb r0, 0x2d(r3) +/* 80349ED8 00346E38 88 03 00 2D */ lbz r0, 0x2d(r3) +/* 80349EDC 00346E3C 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a +/* 80349EE0 00346E40 98 03 00 2D */ stb r0, 0x2d(r3) +/* 80349EE4 00346E44 88 03 00 2D */ lbz r0, 0x2d(r3) +/* 80349EE8 00346E48 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b +/* 80349EEC 00346E4C 98 03 00 2D */ stb r0, 0x2d(r3) +/* 80349EF0 00346E50 88 03 00 2D */ lbz r0, 0x2d(r3) +/* 80349EF4 00346E54 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c +/* 80349EF8 00346E58 98 03 00 2D */ stb r0, 0x2d(r3) +/* 80349EFC 00346E5C 88 03 00 2D */ lbz r0, 0x2d(r3) +/* 80349F00 00346E60 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d +/* 80349F04 00346E64 98 03 00 2D */ stb r0, 0x2d(r3) +/* 80349F08 00346E68 88 03 00 2D */ lbz r0, 0x2d(r3) +/* 80349F0C 00346E6C 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e +/* 80349F10 00346E70 98 03 00 2D */ stb r0, 0x2d(r3) +/* 80349F14 00346E74 88 03 00 2D */ lbz r0, 0x2d(r3) +/* 80349F18 00346E78 50 80 07 FE */ rlwimi r0, r4, 0, 0x1f, 0x1f +/* 80349F1C 00346E7C 98 03 00 2D */ stb r0, 0x2d(r3) +/* 80349F20 00346E80 88 03 00 2E */ lbz r0, 0x2e(r3) +/* 80349F24 00346E84 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 80349F28 00346E88 98 03 00 2E */ stb r0, 0x2e(r3) +/* 80349F2C 00346E8C 88 03 00 2E */ lbz r0, 0x2e(r3) +/* 80349F30 00346E90 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 80349F34 00346E94 98 03 00 2E */ stb r0, 0x2e(r3) +/* 80349F38 00346E98 88 03 00 2E */ lbz r0, 0x2e(r3) +/* 80349F3C 00346E9C 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a +/* 80349F40 00346EA0 98 03 00 2E */ stb r0, 0x2e(r3) +/* 80349F44 00346EA4 88 03 00 2E */ lbz r0, 0x2e(r3) +/* 80349F48 00346EA8 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b +/* 80349F4C 00346EAC 98 03 00 2E */ stb r0, 0x2e(r3) +/* 80349F50 00346EB0 88 03 00 2E */ lbz r0, 0x2e(r3) +/* 80349F54 00346EB4 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c +/* 80349F58 00346EB8 98 03 00 2E */ stb r0, 0x2e(r3) +/* 80349F5C 00346EBC 88 03 00 2E */ lbz r0, 0x2e(r3) +/* 80349F60 00346EC0 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d +/* 80349F64 00346EC4 98 03 00 2E */ stb r0, 0x2e(r3) +/* 80349F68 00346EC8 88 03 00 2E */ lbz r0, 0x2e(r3) +/* 80349F6C 00346ECC 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e +/* 80349F70 00346ED0 98 03 00 2E */ stb r0, 0x2e(r3) +/* 80349F74 00346ED4 88 03 00 2E */ lbz r0, 0x2e(r3) +/* 80349F78 00346ED8 50 80 07 FE */ rlwimi r0, r4, 0, 0x1f, 0x1f +/* 80349F7C 00346EDC 98 03 00 2E */ stb r0, 0x2e(r3) +/* 80349F80 00346EE0 4E 80 00 20 */ blr diff --git a/asm/Kyoto/CObjectReference.s b/asm/Kyoto/CObjectReference.s new file mode 100644 index 00000000..15a1c564 --- /dev/null +++ b/asm/Kyoto/CObjectReference.s @@ -0,0 +1,378 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global IsLoading__16CObjectReferenceCFv +IsLoading__16CObjectReferenceCFv: +/* 8033FAB4 0033CA14 88 03 00 03 */ lbz r0, 3(r3) +/* 8033FAB8 0033CA18 38 80 00 00 */ li r4, 0 +/* 8033FABC 0033CA1C 54 00 F8 02 */ rlwinm r0, r0, 0x1f, 0, 1 +/* 8033FAC0 0033CA20 7C 00 FE 70 */ srawi r0, r0, 0x1f +/* 8033FAC4 0033CA24 7C 00 07 75 */ extsb. r0, r0 +/* 8033FAC8 0033CA28 41 82 00 14 */ beq lbl_8033FADC +/* 8033FACC 0033CA2C 80 03 00 10 */ lwz r0, 0x10(r3) +/* 8033FAD0 0033CA30 28 00 00 00 */ cmplwi r0, 0 +/* 8033FAD4 0033CA34 40 82 00 08 */ bne lbl_8033FADC +/* 8033FAD8 0033CA38 38 80 00 01 */ li r4, 1 +lbl_8033FADC: +/* 8033FADC 0033CA3C 7C 83 23 78 */ mr r3, r4 +/* 8033FAE0 0033CA40 4E 80 00 20 */ blr + +.global Unlock__16CObjectReferenceFv +Unlock__16CObjectReferenceFv: +/* 8033FAE4 0033CA44 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033FAE8 0033CA48 7C 08 02 A6 */ mflr r0 +/* 8033FAEC 0033CA4C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033FAF0 0033CA50 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033FAF4 0033CA54 7C 7F 1B 78 */ mr r31, r3 +/* 8033FAF8 0033CA58 A8 A3 00 02 */ lha r5, 2(r3) +/* 8033FAFC 0033CA5C 54 A0 80 1E */ slwi r0, r5, 0x10 +/* 8033FB00 0033CA60 7C 04 8E 70 */ srawi r4, r0, 0x11 +/* 8033FB04 0033CA64 38 04 FF FF */ addi r0, r4, -1 +/* 8033FB08 0033CA68 50 05 0C 3C */ rlwimi r5, r0, 1, 0x10, 0x1e +/* 8033FB0C 0033CA6C B0 A3 00 02 */ sth r5, 2(r3) +/* 8033FB10 0033CA70 A8 03 00 02 */ lha r0, 2(r3) +/* 8033FB14 0033CA74 54 00 80 1E */ slwi r0, r0, 0x10 +/* 8033FB18 0033CA78 7C 00 8E 70 */ srawi r0, r0, 0x11 +/* 8033FB1C 0033CA7C 7C 00 07 35 */ extsh. r0, r0 +/* 8033FB20 0033CA80 40 82 00 3C */ bne lbl_8033FB5C +/* 8033FB24 0033CA84 80 1F 00 10 */ lwz r0, 0x10(r31) +/* 8033FB28 0033CA88 28 00 00 00 */ cmplwi r0, 0 +/* 8033FB2C 0033CA8C 41 82 00 18 */ beq lbl_8033FB44 +/* 8033FB30 0033CA90 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 8033FB34 0033CA94 28 00 00 00 */ cmplwi r0, 0 +/* 8033FB38 0033CA98 41 82 00 0C */ beq lbl_8033FB44 +/* 8033FB3C 0033CA9C 48 00 01 39 */ bl Unload__16CObjectReferenceFv +/* 8033FB40 0033CAA0 48 00 00 1C */ b lbl_8033FB5C +lbl_8033FB44: +/* 8033FB44 0033CAA4 7F E3 FB 78 */ mr r3, r31 +/* 8033FB48 0033CAA8 4B FF FF 6D */ bl IsLoading__16CObjectReferenceCFv +/* 8033FB4C 0033CAAC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8033FB50 0033CAB0 41 82 00 0C */ beq lbl_8033FB5C +/* 8033FB54 0033CAB4 7F E3 FB 78 */ mr r3, r31 +/* 8033FB58 0033CAB8 48 00 00 A5 */ bl CancelLoad__16CObjectReferenceFv +lbl_8033FB5C: +/* 8033FB5C 0033CABC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033FB60 0033CAC0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033FB64 0033CAC4 7C 08 03 A6 */ mtlr r0 +/* 8033FB68 0033CAC8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033FB6C 0033CACC 4E 80 00 20 */ blr + +.global RemoveReference__16CObjectReferenceFv +RemoveReference__16CObjectReferenceFv: +/* 8033FB70 0033CAD0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033FB74 0033CAD4 7C 08 02 A6 */ mflr r0 +/* 8033FB78 0033CAD8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033FB7C 0033CADC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033FB80 0033CAE0 7C 7F 1B 78 */ mr r31, r3 +/* 8033FB84 0033CAE4 A8 83 00 00 */ lha r4, 0(r3) +/* 8033FB88 0033CAE8 38 04 FF FF */ addi r0, r4, -1 +/* 8033FB8C 0033CAEC B0 03 00 00 */ sth r0, 0(r3) +/* 8033FB90 0033CAF0 A8 03 00 00 */ lha r0, 0(r3) +/* 8033FB94 0033CAF4 2C 00 00 00 */ cmpwi r0, 0 +/* 8033FB98 0033CAF8 40 82 00 4C */ bne lbl_8033FBE4 +/* 8033FB9C 0033CAFC 80 1F 00 10 */ lwz r0, 0x10(r31) +/* 8033FBA0 0033CB00 28 00 00 00 */ cmplwi r0, 0 +/* 8033FBA4 0033CB04 41 82 00 0C */ beq lbl_8033FBB0 +/* 8033FBA8 0033CB08 48 00 00 CD */ bl Unload__16CObjectReferenceFv +/* 8033FBAC 0033CB0C 48 00 00 18 */ b lbl_8033FBC4 +lbl_8033FBB0: +/* 8033FBB0 0033CB10 4B FF FF 05 */ bl IsLoading__16CObjectReferenceCFv +/* 8033FBB4 0033CB14 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8033FBB8 0033CB18 41 82 00 0C */ beq lbl_8033FBC4 +/* 8033FBBC 0033CB1C 7F E3 FB 78 */ mr r3, r31 +/* 8033FBC0 0033CB20 48 00 00 3D */ bl CancelLoad__16CObjectReferenceFv +lbl_8033FBC4: +/* 8033FBC4 0033CB24 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 8033FBC8 0033CB28 28 03 00 00 */ cmplwi r3, 0 +/* 8033FBCC 0033CB2C 41 82 00 18 */ beq lbl_8033FBE4 +/* 8033FBD0 0033CB30 81 83 00 00 */ lwz r12, 0(r3) +/* 8033FBD4 0033CB34 38 9F 00 04 */ addi r4, r31, 4 +/* 8033FBD8 0033CB38 81 8C 00 28 */ lwz r12, 0x28(r12) +/* 8033FBDC 0033CB3C 7D 89 03 A6 */ mtctr r12 +/* 8033FBE0 0033CB40 4E 80 04 21 */ bctrl +lbl_8033FBE4: +/* 8033FBE4 0033CB44 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033FBE8 0033CB48 A8 7F 00 00 */ lha r3, 0(r31) +/* 8033FBEC 0033CB4C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033FBF0 0033CB50 7C 08 03 A6 */ mtlr r0 +/* 8033FBF4 0033CB54 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033FBF8 0033CB58 4E 80 00 20 */ blr + +.global CancelLoad__16CObjectReferenceFv +CancelLoad__16CObjectReferenceFv: +/* 8033FBFC 0033CB5C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033FC00 0033CB60 7C 08 02 A6 */ mflr r0 +/* 8033FC04 0033CB64 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033FC08 0033CB68 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033FC0C 0033CB6C 7C 7F 1B 78 */ mr r31, r3 +/* 8033FC10 0033CB70 80 03 00 0C */ lwz r0, 0xc(r3) +/* 8033FC14 0033CB74 28 00 00 00 */ cmplwi r0, 0 +/* 8033FC18 0033CB78 41 82 00 48 */ beq lbl_8033FC60 +/* 8033FC1C 0033CB7C 4B FF FE 99 */ bl IsLoading__16CObjectReferenceCFv +/* 8033FC20 0033CB80 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8033FC24 0033CB84 41 82 00 3C */ beq lbl_8033FC60 +/* 8033FC28 0033CB88 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 8033FC2C 0033CB8C 81 83 00 00 */ lwz r12, 0(r3) +/* 8033FC30 0033CB90 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 8033FC34 0033CB94 7D 89 03 A6 */ mtctr r12 +/* 8033FC38 0033CB98 4E 80 04 21 */ bctrl +/* 8033FC3C 0033CB9C 81 83 00 00 */ lwz r12, 0(r3) +/* 8033FC40 0033CBA0 38 9F 00 04 */ addi r4, r31, 4 +/* 8033FC44 0033CBA4 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 8033FC48 0033CBA8 7D 89 03 A6 */ mtctr r12 +/* 8033FC4C 0033CBAC 4E 80 04 21 */ bctrl +/* 8033FC50 0033CBB0 88 1F 00 03 */ lbz r0, 3(r31) +/* 8033FC54 0033CBB4 38 60 00 00 */ li r3, 0 +/* 8033FC58 0033CBB8 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f +/* 8033FC5C 0033CBBC 98 1F 00 03 */ stb r0, 3(r31) +lbl_8033FC60: +/* 8033FC60 0033CBC0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033FC64 0033CBC4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033FC68 0033CBC8 7C 08 03 A6 */ mtlr r0 +/* 8033FC6C 0033CBCC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033FC70 0033CBD0 4E 80 00 20 */ blr + +.global Unload__16CObjectReferenceFv +Unload__16CObjectReferenceFv: +/* 8033FC74 0033CBD4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033FC78 0033CBD8 7C 08 02 A6 */ mflr r0 +/* 8033FC7C 0033CBDC 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033FC80 0033CBE0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033FC84 0033CBE4 7C 7F 1B 78 */ mr r31, r3 +/* 8033FC88 0033CBE8 80 63 00 10 */ lwz r3, 0x10(r3) +/* 8033FC8C 0033CBEC 28 03 00 00 */ cmplwi r3, 0 +/* 8033FC90 0033CBF0 41 82 00 18 */ beq lbl_8033FCA8 +/* 8033FC94 0033CBF4 81 83 00 00 */ lwz r12, 0(r3) +/* 8033FC98 0033CBF8 38 80 00 01 */ li r4, 1 +/* 8033FC9C 0033CBFC 81 8C 00 08 */ lwz r12, 8(r12) +/* 8033FCA0 0033CC00 7D 89 03 A6 */ mtctr r12 +/* 8033FCA4 0033CC04 4E 80 04 21 */ bctrl +lbl_8033FCA8: +/* 8033FCA8 0033CC08 38 60 00 00 */ li r3, 0 +/* 8033FCAC 0033CC0C 90 7F 00 10 */ stw r3, 0x10(r31) +/* 8033FCB0 0033CC10 88 1F 00 03 */ lbz r0, 3(r31) +/* 8033FCB4 0033CC14 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f +/* 8033FCB8 0033CC18 98 1F 00 03 */ stb r0, 3(r31) +/* 8033FCBC 0033CC1C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033FCC0 0033CC20 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033FCC4 0033CC24 7C 08 03 A6 */ mtlr r0 +/* 8033FCC8 0033CC28 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033FCCC 0033CC2C 4E 80 00 20 */ blr + +.global GetObject__16CObjectReferenceFv +GetObject__16CObjectReferenceFv: +/* 8033FCD0 0033CC30 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033FCD4 0033CC34 7C 08 02 A6 */ mflr r0 +/* 8033FCD8 0033CC38 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033FCDC 0033CC3C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8033FCE0 0033CC40 7C 7F 1B 78 */ mr r31, r3 +/* 8033FCE4 0033CC44 80 03 00 10 */ lwz r0, 0x10(r3) +/* 8033FCE8 0033CC48 28 00 00 00 */ cmplwi r0, 0 +/* 8033FCEC 0033CC4C 40 82 00 74 */ bne lbl_8033FD60 +/* 8033FCF0 0033CC50 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 8033FCF4 0033CC54 81 83 00 00 */ lwz r12, 0(r3) +/* 8033FCF8 0033CC58 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 8033FCFC 0033CC5C 7D 89 03 A6 */ mtctr r12 +/* 8033FD00 0033CC60 4E 80 04 21 */ bctrl +/* 8033FD04 0033CC64 7C 64 1B 78 */ mr r4, r3 +/* 8033FD08 0033CC68 38 61 00 08 */ addi r3, r1, 8 +/* 8033FD0C 0033CC6C 81 84 00 00 */ lwz r12, 0(r4) +/* 8033FD10 0033CC70 38 BF 00 04 */ addi r5, r31, 4 +/* 8033FD14 0033CC74 38 DF 00 14 */ addi r6, r31, 0x14 +/* 8033FD18 0033CC78 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8033FD1C 0033CC7C 7D 89 03 A6 */ mtctr r12 +/* 8033FD20 0033CC80 4E 80 04 21 */ bctrl +/* 8033FD24 0033CC84 38 00 00 00 */ li r0, 0 +/* 8033FD28 0033CC88 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8033FD2C 0033CC8C 98 01 00 08 */ stb r0, 8(r1) +/* 8033FD30 0033CC90 90 7F 00 10 */ stw r3, 0x10(r31) +/* 8033FD34 0033CC94 88 01 00 08 */ lbz r0, 8(r1) +/* 8033FD38 0033CC98 28 00 00 00 */ cmplwi r0, 0 +/* 8033FD3C 0033CC9C 41 82 00 24 */ beq lbl_8033FD60 +/* 8033FD40 0033CCA0 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8033FD44 0033CCA4 28 03 00 00 */ cmplwi r3, 0 +/* 8033FD48 0033CCA8 41 82 00 18 */ beq lbl_8033FD60 +/* 8033FD4C 0033CCAC 81 83 00 00 */ lwz r12, 0(r3) +/* 8033FD50 0033CCB0 38 80 00 01 */ li r4, 1 +/* 8033FD54 0033CCB4 81 8C 00 08 */ lwz r12, 8(r12) +/* 8033FD58 0033CCB8 7D 89 03 A6 */ mtctr r12 +/* 8033FD5C 0033CCBC 4E 80 04 21 */ bctrl +lbl_8033FD60: +/* 8033FD60 0033CCC0 88 1F 00 03 */ lbz r0, 3(r31) +/* 8033FD64 0033CCC4 38 60 00 00 */ li r3, 0 +/* 8033FD68 0033CCC8 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f +/* 8033FD6C 0033CCCC 98 1F 00 03 */ stb r0, 3(r31) +/* 8033FD70 0033CCD0 80 7F 00 10 */ lwz r3, 0x10(r31) +/* 8033FD74 0033CCD4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8033FD78 0033CCD8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8033FD7C 0033CCDC 7C 08 03 A6 */ mtlr r0 +/* 8033FD80 0033CCE0 38 21 00 20 */ addi r1, r1, 0x20 +/* 8033FD84 0033CCE4 4E 80 00 20 */ blr + +.global Lock__16CObjectReferenceFv +Lock__16CObjectReferenceFv: +/* 8033FD88 0033CCE8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033FD8C 0033CCEC 7C 08 02 A6 */ mflr r0 +/* 8033FD90 0033CCF0 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033FD94 0033CCF4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033FD98 0033CCF8 7C 7F 1B 78 */ mr r31, r3 +/* 8033FD9C 0033CCFC A8 83 00 02 */ lha r4, 2(r3) +/* 8033FDA0 0033CD00 54 80 80 1E */ slwi r0, r4, 0x10 +/* 8033FDA4 0033CD04 7C 03 8E 70 */ srawi r3, r0, 0x11 +/* 8033FDA8 0033CD08 38 03 00 01 */ addi r0, r3, 1 +/* 8033FDAC 0033CD0C 50 04 0C 3C */ rlwimi r4, r0, 1, 0x10, 0x1e +/* 8033FDB0 0033CD10 B0 9F 00 02 */ sth r4, 2(r31) +/* 8033FDB4 0033CD14 80 1F 00 10 */ lwz r0, 0x10(r31) +/* 8033FDB8 0033CD18 28 00 00 00 */ cmplwi r0, 0 +/* 8033FDBC 0033CD1C 40 82 00 58 */ bne lbl_8033FE14 +/* 8033FDC0 0033CD20 88 1F 00 03 */ lbz r0, 3(r31) +/* 8033FDC4 0033CD24 54 00 F8 02 */ rlwinm r0, r0, 0x1f, 0, 1 +/* 8033FDC8 0033CD28 7C 00 FE 70 */ srawi r0, r0, 0x1f +/* 8033FDCC 0033CD2C 7C 00 07 75 */ extsb. r0, r0 +/* 8033FDD0 0033CD30 40 82 00 44 */ bne lbl_8033FE14 +/* 8033FDD4 0033CD34 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 8033FDD8 0033CD38 81 83 00 00 */ lwz r12, 0(r3) +/* 8033FDDC 0033CD3C 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 8033FDE0 0033CD40 7D 89 03 A6 */ mtctr r12 +/* 8033FDE4 0033CD44 4E 80 04 21 */ bctrl +/* 8033FDE8 0033CD48 81 83 00 00 */ lwz r12, 0(r3) +/* 8033FDEC 0033CD4C 38 9F 00 04 */ addi r4, r31, 4 +/* 8033FDF0 0033CD50 38 BF 00 14 */ addi r5, r31, 0x14 +/* 8033FDF4 0033CD54 38 DF 00 10 */ addi r6, r31, 0x10 +/* 8033FDF8 0033CD58 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 8033FDFC 0033CD5C 7D 89 03 A6 */ mtctr r12 +/* 8033FE00 0033CD60 4E 80 04 21 */ bctrl +/* 8033FE04 0033CD64 88 1F 00 03 */ lbz r0, 3(r31) +/* 8033FE08 0033CD68 38 60 00 01 */ li r3, 1 +/* 8033FE0C 0033CD6C 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f +/* 8033FE10 0033CD70 98 1F 00 03 */ stb r0, 3(r31) +lbl_8033FE14: +/* 8033FE14 0033CD74 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033FE18 0033CD78 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033FE1C 0033CD7C 7C 08 03 A6 */ mtlr r0 +/* 8033FE20 0033CD80 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033FE24 0033CD84 4E 80 00 20 */ blr + +.global __dt__16CObjectReferenceFv +__dt__16CObjectReferenceFv: +/* 8033FE28 0033CD88 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033FE2C 0033CD8C 7C 08 02 A6 */ mflr r0 +/* 8033FE30 0033CD90 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033FE34 0033CD94 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033FE38 0033CD98 7C 9F 23 78 */ mr r31, r4 +/* 8033FE3C 0033CD9C 93 C1 00 08 */ stw r30, 8(r1) +/* 8033FE40 0033CDA0 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8033FE44 0033CDA4 41 82 00 90 */ beq lbl_8033FED4 +/* 8033FE48 0033CDA8 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 8033FE4C 0033CDAC 28 03 00 00 */ cmplwi r3, 0 +/* 8033FE50 0033CDB0 41 82 00 20 */ beq lbl_8033FE70 +/* 8033FE54 0033CDB4 41 82 00 58 */ beq lbl_8033FEAC +/* 8033FE58 0033CDB8 81 83 00 00 */ lwz r12, 0(r3) +/* 8033FE5C 0033CDBC 38 80 00 01 */ li r4, 1 +/* 8033FE60 0033CDC0 81 8C 00 08 */ lwz r12, 8(r12) +/* 8033FE64 0033CDC4 7D 89 03 A6 */ mtctr r12 +/* 8033FE68 0033CDC8 4E 80 04 21 */ bctrl +/* 8033FE6C 0033CDCC 48 00 00 40 */ b lbl_8033FEAC +lbl_8033FE70: +/* 8033FE70 0033CDD0 88 1E 00 03 */ lbz r0, 3(r30) +/* 8033FE74 0033CDD4 54 00 F8 02 */ rlwinm r0, r0, 0x1f, 0, 1 +/* 8033FE78 0033CDD8 7C 00 FE 70 */ srawi r0, r0, 0x1f +/* 8033FE7C 0033CDDC 7C 00 07 75 */ extsb. r0, r0 +/* 8033FE80 0033CDE0 41 82 00 2C */ beq lbl_8033FEAC +/* 8033FE84 0033CDE4 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8033FE88 0033CDE8 81 83 00 00 */ lwz r12, 0(r3) +/* 8033FE8C 0033CDEC 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 8033FE90 0033CDF0 7D 89 03 A6 */ mtctr r12 +/* 8033FE94 0033CDF4 4E 80 04 21 */ bctrl +/* 8033FE98 0033CDF8 81 83 00 00 */ lwz r12, 0(r3) +/* 8033FE9C 0033CDFC 38 9E 00 04 */ addi r4, r30, 4 +/* 8033FEA0 0033CE00 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 8033FEA4 0033CE04 7D 89 03 A6 */ mtctr r12 +/* 8033FEA8 0033CE08 4E 80 04 21 */ bctrl +lbl_8033FEAC: +/* 8033FEAC 0033CE0C 34 1E 00 14 */ addic. r0, r30, 0x14 +/* 8033FEB0 0033CE10 41 82 00 14 */ beq lbl_8033FEC4 +/* 8033FEB4 0033CE14 34 1E 00 14 */ addic. r0, r30, 0x14 +/* 8033FEB8 0033CE18 41 82 00 0C */ beq lbl_8033FEC4 +/* 8033FEBC 0033CE1C 38 7E 00 14 */ addi r3, r30, 0x14 +/* 8033FEC0 0033CE20 4B CF 44 45 */ bl sub_80034304 +lbl_8033FEC4: +/* 8033FEC4 0033CE24 7F E0 07 35 */ extsh. r0, r31 +/* 8033FEC8 0033CE28 40 81 00 0C */ ble lbl_8033FED4 +/* 8033FECC 0033CE2C 7F C3 F3 78 */ mr r3, r30 +/* 8033FED0 0033CE30 4B FD 5A 61 */ bl Free__7CMemoryFPCv +lbl_8033FED4: +/* 8033FED4 0033CE34 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033FED8 0033CE38 7F C3 F3 78 */ mr r3, r30 +/* 8033FEDC 0033CE3C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033FEE0 0033CE40 83 C1 00 08 */ lwz r30, 8(r1) +/* 8033FEE4 0033CE44 7C 08 03 A6 */ mtlr r0 +/* 8033FEE8 0033CE48 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033FEEC 0033CE4C 4E 80 00 20 */ blr + +.global "__ct__16CObjectReferenceFRCQ24rstl15auto_ptr<4IObj>" +"__ct__16CObjectReferenceFRCQ24rstl15auto_ptr<4IObj>": +/* 8033FEF0 0033CE50 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033FEF4 0033CE54 7C 08 02 A6 */ mflr r0 +/* 8033FEF8 0033CE58 38 A0 00 00 */ li r5, 0 +/* 8033FEFC 0033CE5C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033FF00 0033CE60 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8033FF04 0033CE64 7C 7F 1B 78 */ mr r31, r3 +/* 8033FF08 0033CE68 A8 03 00 00 */ lha r0, 0(r3) +/* 8033FF0C 0033CE6C 50 A0 04 3E */ rlwimi r0, r5, 0, 0x10, 0x1f +/* 8033FF10 0033CE70 38 61 00 08 */ addi r3, r1, 8 +/* 8033FF14 0033CE74 B0 1F 00 00 */ sth r0, 0(r31) +/* 8033FF18 0033CE78 A8 1F 00 02 */ lha r0, 2(r31) +/* 8033FF1C 0033CE7C 50 A0 0C 3C */ rlwimi r0, r5, 1, 0x10, 0x1e +/* 8033FF20 0033CE80 B0 1F 00 02 */ sth r0, 2(r31) +/* 8033FF24 0033CE84 A8 1F 00 02 */ lha r0, 2(r31) +/* 8033FF28 0033CE88 50 A0 07 FE */ rlwimi r0, r5, 0, 0x1f, 0x1f +/* 8033FF2C 0033CE8C B0 1F 00 02 */ sth r0, 2(r31) +/* 8033FF30 0033CE90 90 BF 00 0C */ stw r5, 0xc(r31) +/* 8033FF34 0033CE94 98 A4 00 00 */ stb r5, 0(r4) +/* 8033FF38 0033CE98 80 04 00 04 */ lwz r0, 4(r4) +/* 8033FF3C 0033CE9C 90 1F 00 10 */ stw r0, 0x10(r31) +/* 8033FF40 0033CEA0 4B CF 4A 15 */ bl Null__15CVParamTransferFv +/* 8033FF44 0033CEA4 80 01 00 08 */ lwz r0, 8(r1) +/* 8033FF48 0033CEA8 38 61 00 08 */ addi r3, r1, 8 +/* 8033FF4C 0033CEAC 90 1F 00 14 */ stw r0, 0x14(r31) +/* 8033FF50 0033CEB0 80 BF 00 14 */ lwz r5, 0x14(r31) +/* 8033FF54 0033CEB4 80 85 00 04 */ lwz r4, 4(r5) +/* 8033FF58 0033CEB8 38 04 00 01 */ addi r0, r4, 1 +/* 8033FF5C 0033CEBC 90 05 00 04 */ stw r0, 4(r5) +/* 8033FF60 0033CEC0 4B CF 43 A5 */ bl sub_80034304 +/* 8033FF64 0033CEC4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8033FF68 0033CEC8 7F E3 FB 78 */ mr r3, r31 +/* 8033FF6C 0033CECC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8033FF70 0033CED0 7C 08 03 A6 */ mtlr r0 +/* 8033FF74 0033CED4 38 21 00 20 */ addi r1, r1, 0x20 +/* 8033FF78 0033CED8 4E 80 00 20 */ blr + +.global "__ct__16CObjectReferenceFR12IObjectStoreRCQ24rstl15auto_ptr<4IObj>RC10SObjectTag15CVParamTransfer" +"__ct__16CObjectReferenceFR12IObjectStoreRCQ24rstl15auto_ptr<4IObj>RC10SObjectTag15CVParamTransfer": +/* 8033FF7C 0033CEDC 39 00 00 00 */ li r8, 0 +/* 8033FF80 0033CEE0 A8 03 00 00 */ lha r0, 0(r3) +/* 8033FF84 0033CEE4 51 00 04 3E */ rlwimi r0, r8, 0, 0x10, 0x1f +/* 8033FF88 0033CEE8 B0 03 00 00 */ sth r0, 0(r3) +/* 8033FF8C 0033CEEC A8 03 00 02 */ lha r0, 2(r3) +/* 8033FF90 0033CEF0 51 00 0C 3C */ rlwimi r0, r8, 1, 0x10, 0x1e +/* 8033FF94 0033CEF4 B0 03 00 02 */ sth r0, 2(r3) +/* 8033FF98 0033CEF8 A8 03 00 02 */ lha r0, 2(r3) +/* 8033FF9C 0033CEFC 51 00 07 FE */ rlwimi r0, r8, 0, 0x1f, 0x1f +/* 8033FFA0 0033CF00 B0 03 00 02 */ sth r0, 2(r3) +/* 8033FFA4 0033CF04 80 06 00 00 */ lwz r0, 0(r6) +/* 8033FFA8 0033CF08 90 03 00 04 */ stw r0, 4(r3) +/* 8033FFAC 0033CF0C 80 06 00 04 */ lwz r0, 4(r6) +/* 8033FFB0 0033CF10 90 03 00 08 */ stw r0, 8(r3) +/* 8033FFB4 0033CF14 90 83 00 0C */ stw r4, 0xc(r3) +/* 8033FFB8 0033CF18 99 05 00 00 */ stb r8, 0(r5) +/* 8033FFBC 0033CF1C 80 05 00 04 */ lwz r0, 4(r5) +/* 8033FFC0 0033CF20 90 03 00 10 */ stw r0, 0x10(r3) +/* 8033FFC4 0033CF24 80 07 00 00 */ lwz r0, 0(r7) +/* 8033FFC8 0033CF28 90 03 00 14 */ stw r0, 0x14(r3) +/* 8033FFCC 0033CF2C 80 A3 00 14 */ lwz r5, 0x14(r3) +/* 8033FFD0 0033CF30 80 85 00 04 */ lwz r4, 4(r5) +/* 8033FFD4 0033CF34 38 04 00 01 */ addi r0, r4, 1 +/* 8033FFD8 0033CF38 90 05 00 04 */ stw r0, 4(r5) +/* 8033FFDC 0033CF3C 4E 80 00 20 */ blr diff --git a/asm/Kyoto/CPakFile.s b/asm/Kyoto/CPakFile.s new file mode 100644 index 00000000..c776de6a --- /dev/null +++ b/asm/Kyoto/CPakFile.s @@ -0,0 +1,2076 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global EnsureWorldPakReady__8CPakFileFv +EnsureWorldPakReady__8CPakFileFv: +/* 8036723C 0036419C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80367240 003641A0 7C 08 02 A6 */ mflr r0 +/* 80367244 003641A4 90 01 00 34 */ stw r0, 0x34(r1) +/* 80367248 003641A8 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8036724C 003641AC 7C 7F 1B 78 */ mr r31, r3 +/* 80367250 003641B0 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80367254 003641B4 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80367258 003641B8 93 81 00 20 */ stw r28, 0x20(r1) +/* 8036725C 003641BC 88 63 00 28 */ lbz r3, 0x28(r3) +/* 80367260 003641C0 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f +/* 80367264 003641C4 41 82 01 A8 */ beq lbl_8036740C +/* 80367268 003641C8 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f +/* 8036726C 003641CC 41 82 01 A0 */ beq lbl_8036740C +/* 80367270 003641D0 80 7F 00 4C */ lwz r3, 0x4c(r31) +/* 80367274 003641D4 38 81 00 08 */ addi r4, r1, 8 +/* 80367278 003641D8 80 0D 9E 94 */ lwz r0, lbl_805A8A54@sda21(r13) +/* 8036727C 003641DC 1C 63 00 0A */ mulli r3, r3, 0xa +/* 80367280 003641E0 38 63 00 1F */ addi r3, r3, 0x1f +/* 80367284 003641E4 54 63 00 34 */ rlwinm r3, r3, 0, 0, 0x1a +/* 80367288 003641E8 38 63 00 09 */ addi r3, r3, 9 +/* 8036728C 003641EC 7C 03 00 00 */ cmpw r3, r0 +/* 80367290 003641F0 90 61 00 08 */ stw r3, 8(r1) +/* 80367294 003641F4 40 80 00 08 */ bge lbl_8036729C +/* 80367298 003641F8 38 8D 9E 94 */ addi r4, r13, lbl_805A8A54@sda21 +lbl_8036729C: +/* 8036729C 003641FC 3C 60 CC CD */ lis r3, 0xCCCCCCCD@ha +/* 803672A0 00364200 80 04 00 00 */ lwz r0, 0(r4) +/* 803672A4 00364204 38 83 CC CD */ addi r4, r3, 0xCCCCCCCD@l +/* 803672A8 00364208 38 7F 00 74 */ addi r3, r31, 0x74 +/* 803672AC 0036420C 7C 04 00 16 */ mulhwu r0, r4, r0 +/* 803672B0 00364210 54 04 E8 FE */ srwi r4, r0, 3 +/* 803672B4 00364214 48 00 18 45 */ bl sub_80368af8 +/* 803672B8 00364218 3B A0 00 00 */ li r29, 0 +/* 803672BC 0036421C 3F C0 54 58 */ lis r30, 0x5458 +/* 803672C0 00364220 48 00 00 84 */ b lbl_80367344 +lbl_803672C4: +/* 803672C4 00364224 7F A4 EB 78 */ mr r4, r29 +/* 803672C8 00364228 38 61 00 0C */ addi r3, r1, 0xc +/* 803672CC 0036422C 38 BE 54 52 */ addi r5, r30, 0x5452 +/* 803672D0 00364230 38 C0 00 00 */ li r6, 0 +/* 803672D4 00364234 38 E0 00 00 */ li r7, 0 +/* 803672D8 00364238 39 00 00 00 */ li r8, 0 +/* 803672DC 0036423C 48 00 14 09 */ bl __ct__Q28CPakFile8SResInfoFUiUiUiUi +/* 803672E0 00364240 80 1F 00 78 */ lwz r0, 0x78(r31) +/* 803672E4 00364244 80 BF 00 7C */ lwz r5, 0x7c(r31) +/* 803672E8 00364248 7C 00 28 00 */ cmpw r0, r5 +/* 803672EC 0036424C 41 80 00 1C */ blt lbl_80367308 +/* 803672F0 00364250 2C 05 00 00 */ cmpwi r5, 0 +/* 803672F4 00364254 38 7F 00 74 */ addi r3, r31, 0x74 +/* 803672F8 00364258 38 80 00 04 */ li r4, 4 +/* 803672FC 0036425C 41 82 00 08 */ beq lbl_80367304 +/* 80367300 00364260 54 A4 08 3C */ slwi r4, r5, 1 +lbl_80367304: +/* 80367304 00364264 48 00 17 F5 */ bl sub_80368af8 +lbl_80367308: +/* 80367308 00364268 80 1F 00 78 */ lwz r0, 0x78(r31) +/* 8036730C 0036426C 80 7F 00 80 */ lwz r3, 0x80(r31) +/* 80367310 00364270 1C 00 00 0A */ mulli r0, r0, 0xa +/* 80367314 00364274 7C 63 02 15 */ add. r3, r3, r0 +/* 80367318 00364278 41 82 00 1C */ beq lbl_80367334 +/* 8036731C 0036427C 80 01 00 0C */ lwz r0, 0xc(r1) +/* 80367320 00364280 90 03 00 00 */ stw r0, 0(r3) +/* 80367324 00364284 80 01 00 10 */ lwz r0, 0x10(r1) +/* 80367328 00364288 90 03 00 04 */ stw r0, 4(r3) +/* 8036732C 0036428C A0 01 00 14 */ lhz r0, 0x14(r1) +/* 80367330 00364290 B0 03 00 08 */ sth r0, 8(r3) +lbl_80367334: +/* 80367334 00364294 80 7F 00 78 */ lwz r3, 0x78(r31) +/* 80367338 00364298 3B BD 00 01 */ addi r29, r29, 1 +/* 8036733C 0036429C 38 03 00 01 */ addi r0, r3, 1 +/* 80367340 003642A0 90 1F 00 78 */ stw r0, 0x78(r31) +lbl_80367344: +/* 80367344 003642A4 80 1F 00 4C */ lwz r0, 0x4c(r31) +/* 80367348 003642A8 7C 1D 00 00 */ cmpw r29, r0 +/* 8036734C 003642AC 41 80 FF 78 */ blt lbl_803672C4 +/* 80367350 003642B0 1C A0 00 0A */ mulli r5, r0, 0xa +/* 80367354 003642B4 80 7F 00 50 */ lwz r3, 0x50(r31) +/* 80367358 003642B8 80 9F 00 80 */ lwz r4, 0x80(r31) +/* 8036735C 003642BC 38 C0 00 01 */ li r6, 1 +/* 80367360 003642C0 38 05 00 1F */ addi r0, r5, 0x1f +/* 80367364 003642C4 54 05 00 34 */ rlwinm r5, r0, 0, 0, 0x1a +/* 80367368 003642C8 4B FD D4 E9 */ bl DMAToMRAM__12CARAMManagerFPvPvUiQ212CARAMManager12EDMAPriority +/* 8036736C 003642CC 4B FD D3 DD */ bl WaitForDMACompletion__12CARAMManagerFUi +/* 80367370 003642D0 88 1F 00 28 */ lbz r0, 0x28(r31) +/* 80367374 003642D4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80367378 003642D8 41 82 00 84 */ beq lbl_803673FC +/* 8036737C 003642DC 80 9F 00 4C */ lwz r4, 0x4c(r31) +/* 80367380 003642E0 38 7F 00 64 */ addi r3, r31, 0x64 +/* 80367384 003642E4 4B CF C7 A1 */ bl "reserve__Q24rstl37vectorFi" +/* 80367388 003642E8 3B 80 00 00 */ li r28, 0 +/* 8036738C 003642EC 3B A0 00 00 */ li r29, 0 +/* 80367390 003642F0 48 00 00 60 */ b lbl_803673F0 +lbl_80367394: +/* 80367394 003642F4 80 1F 00 68 */ lwz r0, 0x68(r31) +/* 80367398 003642F8 80 BF 00 6C */ lwz r5, 0x6c(r31) +/* 8036739C 003642FC 80 7F 00 80 */ lwz r3, 0x80(r31) +/* 803673A0 00364300 7C 00 28 00 */ cmpw r0, r5 +/* 803673A4 00364304 7F C3 E8 2E */ lwzx r30, r3, r29 +/* 803673A8 00364308 41 80 00 1C */ blt lbl_803673C4 +/* 803673AC 0036430C 2C 05 00 00 */ cmpwi r5, 0 +/* 803673B0 00364310 38 7F 00 64 */ addi r3, r31, 0x64 +/* 803673B4 00364314 38 80 00 04 */ li r4, 4 +/* 803673B8 00364318 41 82 00 08 */ beq lbl_803673C0 +/* 803673BC 0036431C 54 A4 08 3C */ slwi r4, r5, 1 +lbl_803673C0: +/* 803673C0 00364320 4B CF C7 65 */ bl "reserve__Q24rstl37vectorFi" +lbl_803673C4: +/* 803673C4 00364324 80 1F 00 68 */ lwz r0, 0x68(r31) +/* 803673C8 00364328 80 7F 00 70 */ lwz r3, 0x70(r31) +/* 803673CC 0036432C 54 00 10 3A */ slwi r0, r0, 2 +/* 803673D0 00364330 7C 63 02 15 */ add. r3, r3, r0 +/* 803673D4 00364334 41 82 00 08 */ beq lbl_803673DC +/* 803673D8 00364338 93 C3 00 00 */ stw r30, 0(r3) +lbl_803673DC: +/* 803673DC 0036433C 80 7F 00 68 */ lwz r3, 0x68(r31) +/* 803673E0 00364340 3B BD 00 0A */ addi r29, r29, 0xa +/* 803673E4 00364344 3B 9C 00 01 */ addi r28, r28, 1 +/* 803673E8 00364348 38 03 00 01 */ addi r0, r3, 1 +/* 803673EC 0036434C 90 1F 00 68 */ stw r0, 0x68(r31) +lbl_803673F0: +/* 803673F0 00364350 80 1F 00 4C */ lwz r0, 0x4c(r31) +/* 803673F4 00364354 7C 1C 00 00 */ cmpw r28, r0 +/* 803673F8 00364358 41 80 FF 9C */ blt lbl_80367394 +lbl_803673FC: +/* 803673FC 0036435C 88 1F 00 28 */ lbz r0, 0x28(r31) +/* 80367400 00364360 38 60 00 00 */ li r3, 0 +/* 80367404 00364364 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 80367408 00364368 98 1F 00 28 */ stb r0, 0x28(r31) +lbl_8036740C: +/* 8036740C 0036436C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80367410 00364370 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80367414 00364374 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80367418 00364378 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8036741C 0036437C 83 81 00 20 */ lwz r28, 0x20(r1) +/* 80367420 00364380 7C 08 03 A6 */ mtlr r0 +/* 80367424 00364384 38 21 00 30 */ addi r1, r1, 0x30 +/* 80367428 00364388 4E 80 00 20 */ blr + +.global sub_8036742c +sub_8036742c: +/* 8036742C 0036438C 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 80367430 00364390 7C 08 02 A6 */ mflr r0 +/* 80367434 00364394 90 01 00 54 */ stw r0, 0x54(r1) +/* 80367438 00364398 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 8036743C 0036439C 7C 7F 1B 78 */ mr r31, r3 +/* 80367440 003643A0 88 63 00 28 */ lbz r3, 0x28(r3) +/* 80367444 003643A4 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f +/* 80367448 003643A8 41 82 00 C8 */ beq lbl_80367510 +/* 8036744C 003643AC 38 00 00 01 */ li r0, 1 +/* 80367450 003643B0 38 81 00 38 */ addi r4, r1, 0x38 +/* 80367454 003643B4 50 03 26 F6 */ rlwimi r3, r0, 4, 0x1b, 0x1b +/* 80367458 003643B8 98 7F 00 28 */ stb r3, 0x28(r31) +/* 8036745C 003643BC 38 00 00 00 */ li r0, 0 +/* 80367460 003643C0 38 7F 00 64 */ addi r3, r31, 0x64 +/* 80367464 003643C4 90 01 00 3C */ stw r0, 0x3c(r1) +/* 80367468 003643C8 90 01 00 40 */ stw r0, 0x40(r1) +/* 8036746C 003643CC 90 01 00 44 */ stw r0, 0x44(r1) +/* 80367470 003643D0 4B CF C2 8D */ bl "clear__Q24rstl37vectorFv" +/* 80367474 003643D4 80 01 00 3C */ lwz r0, 0x3c(r1) +/* 80367478 003643D8 80 61 00 44 */ lwz r3, 0x44(r1) +/* 8036747C 003643DC 54 00 10 3A */ slwi r0, r0, 2 +/* 80367480 003643E0 7C 03 02 14 */ add r0, r3, r0 +/* 80367484 003643E4 90 61 00 1C */ stw r3, 0x1c(r1) +/* 80367488 003643E8 7C 64 1B 78 */ mr r4, r3 +/* 8036748C 003643EC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80367490 003643F0 90 01 00 20 */ stw r0, 0x20(r1) +/* 80367494 003643F4 90 61 00 18 */ stw r3, 0x18(r1) +/* 80367498 003643F8 48 00 00 08 */ b lbl_803674A0 +lbl_8036749C: +/* 8036749C 003643FC 38 84 00 04 */ addi r4, r4, 4 +lbl_803674A0: +/* 803674A0 00364400 7C 04 00 40 */ cmplw r4, r0 +/* 803674A4 00364404 40 82 FF F8 */ bne lbl_8036749C +/* 803674A8 00364408 28 03 00 00 */ cmplwi r3, 0 +/* 803674AC 0036440C 41 82 00 08 */ beq lbl_803674B4 +/* 803674B0 00364410 4B FA E4 81 */ bl Free__7CMemoryFPCv +lbl_803674B4: +/* 803674B4 00364414 38 00 00 00 */ li r0, 0 +/* 803674B8 00364418 38 7F 00 74 */ addi r3, r31, 0x74 +/* 803674BC 0036441C 90 01 00 2C */ stw r0, 0x2c(r1) +/* 803674C0 00364420 38 81 00 28 */ addi r4, r1, 0x28 +/* 803674C4 00364424 90 01 00 30 */ stw r0, 0x30(r1) +/* 803674C8 00364428 90 01 00 34 */ stw r0, 0x34(r1) +/* 803674CC 0036442C 48 00 00 59 */ bl sub_80367524 +/* 803674D0 00364430 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 803674D4 00364434 80 61 00 34 */ lwz r3, 0x34(r1) +/* 803674D8 00364438 1C 00 00 0A */ mulli r0, r0, 0xa +/* 803674DC 0036443C 90 61 00 0C */ stw r3, 0xc(r1) +/* 803674E0 00364440 7C 64 1B 78 */ mr r4, r3 +/* 803674E4 00364444 7C 03 02 14 */ add r0, r3, r0 +/* 803674E8 00364448 90 61 00 08 */ stw r3, 8(r1) +/* 803674EC 0036444C 90 01 00 14 */ stw r0, 0x14(r1) +/* 803674F0 00364450 90 01 00 10 */ stw r0, 0x10(r1) +/* 803674F4 00364454 48 00 00 08 */ b lbl_803674FC +lbl_803674F8: +/* 803674F8 00364458 38 84 00 0A */ addi r4, r4, 0xa +lbl_803674FC: +/* 803674FC 0036445C 7C 04 00 40 */ cmplw r4, r0 +/* 80367500 00364460 40 82 FF F8 */ bne lbl_803674F8 +/* 80367504 00364464 28 03 00 00 */ cmplwi r3, 0 +/* 80367508 00364468 41 82 00 08 */ beq lbl_80367510 +/* 8036750C 0036446C 4B FA E4 25 */ bl Free__7CMemoryFPCv +lbl_80367510: +/* 80367510 00364470 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80367514 00364474 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 80367518 00364478 7C 08 03 A6 */ mtlr r0 +/* 8036751C 0036447C 38 21 00 50 */ addi r1, r1, 0x50 +/* 80367520 00364480 4E 80 00 20 */ blr + +.global sub_80367524 +sub_80367524: +/* 80367524 00364484 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80367528 00364488 7C 08 02 A6 */ mflr r0 +/* 8036752C 0036448C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80367530 00364490 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80367534 00364494 7C 9F 23 78 */ mr r31, r4 +/* 80367538 00364498 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8036753C 0036449C 7C 7E 1B 78 */ mr r30, r3 +/* 80367540 003644A0 7C 1E F8 40 */ cmplw r30, r31 +/* 80367544 003644A4 40 82 00 08 */ bne lbl_8036754C +/* 80367548 003644A8 48 00 00 C8 */ b lbl_80367610 +lbl_8036754C: +/* 8036754C 003644AC 80 1E 00 04 */ lwz r0, 4(r30) +/* 80367550 003644B0 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80367554 003644B4 1C 00 00 0A */ mulli r0, r0, 0xa +/* 80367558 003644B8 90 61 00 0C */ stw r3, 0xc(r1) +/* 8036755C 003644BC 7C 03 02 14 */ add r0, r3, r0 +/* 80367560 003644C0 90 61 00 08 */ stw r3, 8(r1) +/* 80367564 003644C4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80367568 003644C8 90 01 00 10 */ stw r0, 0x10(r1) +/* 8036756C 003644CC 48 00 00 08 */ b lbl_80367574 +lbl_80367570: +/* 80367570 003644D0 38 63 00 0A */ addi r3, r3, 0xa +lbl_80367574: +/* 80367574 003644D4 7C 03 00 40 */ cmplw r3, r0 +/* 80367578 003644D8 40 82 FF F8 */ bne lbl_80367570 +/* 8036757C 003644DC 38 00 00 00 */ li r0, 0 +/* 80367580 003644E0 90 1E 00 04 */ stw r0, 4(r30) +/* 80367584 003644E4 80 9F 00 04 */ lwz r4, 4(r31) +/* 80367588 003644E8 2C 04 00 00 */ cmpwi r4, 0 +/* 8036758C 003644EC 40 82 00 28 */ bne lbl_803675B4 +/* 80367590 003644F0 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80367594 003644F4 28 03 00 00 */ cmplwi r3, 0 +/* 80367598 003644F8 41 82 00 08 */ beq lbl_803675A0 +/* 8036759C 003644FC 4B FA E3 95 */ bl Free__7CMemoryFPCv +lbl_803675A0: +/* 803675A0 00364500 38 00 00 00 */ li r0, 0 +/* 803675A4 00364504 90 1E 00 04 */ stw r0, 4(r30) +/* 803675A8 00364508 90 1E 00 08 */ stw r0, 8(r30) +/* 803675AC 0036450C 90 1E 00 0C */ stw r0, 0xc(r30) +/* 803675B0 00364510 48 00 00 5C */ b lbl_8036760C +lbl_803675B4: +/* 803675B4 00364514 7F C3 F3 78 */ mr r3, r30 +/* 803675B8 00364518 48 00 15 41 */ bl sub_80368af8 +/* 803675BC 0036451C 80 1F 00 04 */ lwz r0, 4(r31) +/* 803675C0 00364520 80 BF 00 0C */ lwz r5, 0xc(r31) +/* 803675C4 00364524 1C 00 00 0A */ mulli r0, r0, 0xa +/* 803675C8 00364528 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 803675CC 0036452C 7C 85 02 14 */ add r4, r5, r0 +/* 803675D0 00364530 48 00 00 2C */ b lbl_803675FC +lbl_803675D4: +/* 803675D4 00364534 28 03 00 00 */ cmplwi r3, 0 +/* 803675D8 00364538 41 82 00 1C */ beq lbl_803675F4 +/* 803675DC 0036453C 80 05 00 00 */ lwz r0, 0(r5) +/* 803675E0 00364540 90 03 00 00 */ stw r0, 0(r3) +/* 803675E4 00364544 80 05 00 04 */ lwz r0, 4(r5) +/* 803675E8 00364548 90 03 00 04 */ stw r0, 4(r3) +/* 803675EC 0036454C A0 05 00 08 */ lhz r0, 8(r5) +/* 803675F0 00364550 B0 03 00 08 */ sth r0, 8(r3) +lbl_803675F4: +/* 803675F4 00364554 38 63 00 0A */ addi r3, r3, 0xa +/* 803675F8 00364558 38 A5 00 0A */ addi r5, r5, 0xa +lbl_803675FC: +/* 803675FC 0036455C 7C 05 20 40 */ cmplw r5, r4 +/* 80367600 00364560 40 82 FF D4 */ bne lbl_803675D4 +/* 80367604 00364564 80 1F 00 04 */ lwz r0, 4(r31) +/* 80367608 00364568 90 1E 00 04 */ stw r0, 4(r30) +lbl_8036760C: +/* 8036760C 0036456C 7F C3 F3 78 */ mr r3, r30 +lbl_80367610: +/* 80367610 00364570 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80367614 00364574 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80367618 00364578 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8036761C 0036457C 7C 08 03 A6 */ mtlr r0 +/* 80367620 00364580 38 21 00 20 */ addi r1, r1, 0x20 +/* 80367624 00364584 4E 80 00 20 */ blr + +.global GetDepList__8CPakFileCFv +GetDepList__8CPakFileCFv: +/* 80367628 00364588 80 03 00 68 */ lwz r0, 0x68(r3) +/* 8036762C 0036458C 2C 00 00 00 */ cmpwi r0, 0 +/* 80367630 00364590 41 82 00 0C */ beq lbl_8036763C +/* 80367634 00364594 38 63 00 64 */ addi r3, r3, 0x64 +/* 80367638 00364598 4E 80 00 20 */ blr +lbl_8036763C: +/* 8036763C 0036459C 38 60 00 00 */ li r3, 0 +/* 80367640 003645A0 4E 80 00 20 */ blr + +.global GetResIdByName__8CPakFileCFPCc +GetResIdByName__8CPakFileCFPCc: +/* 80367644 003645A4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80367648 003645A8 7C 08 02 A6 */ mflr r0 +/* 8036764C 003645AC 90 01 00 34 */ stw r0, 0x34(r1) +/* 80367650 003645B0 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80367654 003645B4 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80367658 003645B8 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8036765C 003645BC 7C 9D 23 78 */ mr r29, r4 +/* 80367660 003645C0 93 81 00 20 */ stw r28, 0x20(r1) +/* 80367664 003645C4 7C 7C 1B 78 */ mr r28, r3 +/* 80367668 003645C8 88 03 00 28 */ lbz r0, 0x28(r3) +/* 8036766C 003645CC 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 80367670 003645D0 40 82 00 5C */ bne lbl_803676CC +/* 80367674 003645D4 83 DC 00 60 */ lwz r30, 0x60(r28) +/* 80367678 003645D8 48 00 00 3C */ b lbl_803676B4 +lbl_8036767C: +/* 8036767C 003645DC 7F A4 EB 78 */ mr r4, r29 +/* 80367680 003645E0 38 61 00 08 */ addi r3, r1, 8 +/* 80367684 003645E4 4B C9 D6 35 */ bl string_l__4rstlFPCc +/* 80367688 003645E8 7F C3 F3 78 */ mr r3, r30 +/* 8036768C 003645EC 38 81 00 08 */ addi r4, r1, 8 +/* 80367690 003645F0 4B FD 73 5D */ bl "CompareCaseInsensitive__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80367694 003645F4 7C 7F 1B 78 */ mr r31, r3 +/* 80367698 003645F8 38 61 00 08 */ addi r3, r1, 8 +/* 8036769C 003645FC 4B FD 64 45 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 803676A0 00364600 2C 1F 00 00 */ cmpwi r31, 0 +/* 803676A4 00364604 40 82 00 0C */ bne lbl_803676B0 +/* 803676A8 00364608 38 7E 00 10 */ addi r3, r30, 0x10 +/* 803676AC 0036460C 48 00 00 24 */ b lbl_803676D0 +lbl_803676B0: +/* 803676B0 00364610 3B DE 00 18 */ addi r30, r30, 0x18 +lbl_803676B4: +/* 803676B4 00364614 80 1C 00 58 */ lwz r0, 0x58(r28) +/* 803676B8 00364618 80 7C 00 60 */ lwz r3, 0x60(r28) +/* 803676BC 0036461C 1C 00 00 18 */ mulli r0, r0, 0x18 +/* 803676C0 00364620 7C 03 02 14 */ add r0, r3, r0 +/* 803676C4 00364624 7C 1E 00 40 */ cmplw r30, r0 +/* 803676C8 00364628 40 82 FF B4 */ bne lbl_8036767C +lbl_803676CC: +/* 803676CC 0036462C 38 60 00 00 */ li r3, 0 +lbl_803676D0: +/* 803676D0 00364630 80 01 00 34 */ lwz r0, 0x34(r1) +/* 803676D4 00364634 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 803676D8 00364638 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 803676DC 0036463C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 803676E0 00364640 83 81 00 20 */ lwz r28, 0x20(r1) +/* 803676E4 00364644 7C 08 03 A6 */ mtlr r0 +/* 803676E8 00364648 38 21 00 30 */ addi r1, r1, 0x30 +/* 803676EC 0036464C 4E 80 00 20 */ blr + +.global GetResInfoForLoadPreferForward__8CPakFileCFUi +GetResInfoForLoadPreferForward__8CPakFileCFUi: +/* 803676F0 00364650 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 803676F4 00364654 7C 08 02 A6 */ mflr r0 +/* 803676F8 00364658 90 01 00 54 */ stw r0, 0x54(r1) +/* 803676FC 0036465C BF 61 00 3C */ stmw r27, 0x3c(r1) +/* 80367700 00364660 7C 7E 1B 78 */ mr r30, r3 +/* 80367704 00364664 7C 9F 23 78 */ mr r31, r4 +/* 80367708 00364668 88 03 00 28 */ lbz r0, 0x28(r3) +/* 8036770C 0036466C 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 80367710 00364670 41 82 00 0C */ beq lbl_8036771C +/* 80367714 00364674 38 60 00 00 */ li r3, 0 +/* 80367718 00364678 48 00 01 40 */ b lbl_80367858 +lbl_8036771C: +/* 8036771C 0036467C 3C A0 54 58 */ lis r5, 0x54585452@ha +/* 80367720 00364680 38 61 00 20 */ addi r3, r1, 0x20 +/* 80367724 00364684 38 A5 54 52 */ addi r5, r5, 0x54585452@l +/* 80367728 00364688 38 C0 00 00 */ li r6, 0 +/* 8036772C 0036468C 38 E0 00 00 */ li r7, 0 +/* 80367730 00364690 39 00 00 00 */ li r8, 0 +/* 80367734 00364694 48 00 0F B1 */ bl __ct__Q28CPakFile8SResInfoFUiUiUiUi +/* 80367738 00364698 88 0D AA DC */ lbz r0, lbl_805A969C@sda21(r13) +/* 8036773C 0036469C 38 61 00 1C */ addi r3, r1, 0x1c +/* 80367740 003646A0 38 81 00 18 */ addi r4, r1, 0x18 +/* 80367744 003646A4 38 A1 00 10 */ addi r5, r1, 0x10 +/* 80367748 003646A8 98 01 00 08 */ stb r0, 8(r1) +/* 8036774C 003646AC 38 C1 00 20 */ addi r6, r1, 0x20 +/* 80367750 003646B0 38 E1 00 08 */ addi r7, r1, 8 +/* 80367754 003646B4 80 1E 00 78 */ lwz r0, 0x78(r30) +/* 80367758 003646B8 81 1E 00 80 */ lwz r8, 0x80(r30) +/* 8036775C 003646BC 1C 00 00 0A */ mulli r0, r0, 0xa +/* 80367760 003646C0 7D 08 02 14 */ add r8, r8, r0 +/* 80367764 003646C4 91 01 00 10 */ stw r8, 0x10(r1) +/* 80367768 003646C8 80 1E 00 80 */ lwz r0, 0x80(r30) +/* 8036776C 003646CC 91 01 00 0C */ stw r8, 0xc(r1) +/* 80367770 003646D0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80367774 003646D4 90 01 00 18 */ stw r0, 0x18(r1) +/* 80367778 003646D8 48 00 12 C1 */ bl sub_80368a38 +/* 8036777C 003646DC 80 1E 00 78 */ lwz r0, 0x78(r30) +/* 80367780 003646E0 80 7E 00 80 */ lwz r3, 0x80(r30) +/* 80367784 003646E4 1C 00 00 0A */ mulli r0, r0, 0xa +/* 80367788 003646E8 83 A1 00 1C */ lwz r29, 0x1c(r1) +/* 8036778C 003646EC 7C 03 02 14 */ add r0, r3, r0 +/* 80367790 003646F0 7C 1D 00 40 */ cmplw r29, r0 +/* 80367794 003646F4 41 82 00 10 */ beq lbl_803677A4 +/* 80367798 003646F8 80 1D 00 00 */ lwz r0, 0(r29) +/* 8036779C 003646FC 7C 1F 00 40 */ cmplw r31, r0 +/* 803677A0 00364700 41 82 00 0C */ beq lbl_803677AC +lbl_803677A4: +/* 803677A4 00364704 38 60 00 00 */ li r3, 0 +/* 803677A8 00364708 48 00 00 B0 */ b lbl_80367858 +lbl_803677AC: +/* 803677AC 0036470C 7F BC EB 78 */ mr r28, r29 +/* 803677B0 00364710 7F A3 EB 78 */ mr r3, r29 +/* 803677B4 00364714 48 00 0E ED */ bl GetOffset__Q28CPakFile8SResInfoCFv +/* 803677B8 00364718 80 1E 00 84 */ lwz r0, 0x84(r30) +/* 803677BC 0036471C 3B BD 00 0A */ addi r29, r29, 0xa +/* 803677C0 00364720 7F 63 00 50 */ subf r27, r3, r0 +/* 803677C4 00364724 48 00 00 5C */ b lbl_80367820 +lbl_803677C8: +/* 803677C8 00364728 80 1D 00 00 */ lwz r0, 0(r29) +/* 803677CC 0036472C 7C 1F 00 40 */ cmplw r31, r0 +/* 803677D0 00364730 40 82 00 68 */ bne lbl_80367838 +/* 803677D4 00364734 7F A3 EB 78 */ mr r3, r29 +/* 803677D8 00364738 48 00 0E C9 */ bl GetOffset__Q28CPakFile8SResInfoCFv +/* 803677DC 0036473C 80 1E 00 84 */ lwz r0, 0x84(r30) +/* 803677E0 00364740 2C 1B 00 00 */ cmpwi r27, 0 +/* 803677E4 00364744 7C 03 00 50 */ subf r0, r3, r0 +/* 803677E8 00364748 40 80 00 14 */ bge lbl_803677FC +/* 803677EC 0036474C 2C 00 00 00 */ cmpwi r0, 0 +/* 803677F0 00364750 41 81 00 24 */ bgt lbl_80367814 +/* 803677F4 00364754 7C 00 D8 00 */ cmpw r0, r27 +/* 803677F8 00364758 41 81 00 1C */ bgt lbl_80367814 +lbl_803677FC: +/* 803677FC 0036475C 2C 1B 00 00 */ cmpwi r27, 0 +/* 80367800 00364760 41 80 00 1C */ blt lbl_8036781C +/* 80367804 00364764 2C 00 00 00 */ cmpwi r0, 0 +/* 80367808 00364768 40 81 00 14 */ ble lbl_8036781C +/* 8036780C 0036476C 7C 00 D8 00 */ cmpw r0, r27 +/* 80367810 00364770 40 80 00 0C */ bge lbl_8036781C +lbl_80367814: +/* 80367814 00364774 7F BC EB 78 */ mr r28, r29 +/* 80367818 00364778 7C 1B 03 78 */ mr r27, r0 +lbl_8036781C: +/* 8036781C 0036477C 3B BD 00 0A */ addi r29, r29, 0xa +lbl_80367820: +/* 80367820 00364780 80 1E 00 78 */ lwz r0, 0x78(r30) +/* 80367824 00364784 80 7E 00 80 */ lwz r3, 0x80(r30) +/* 80367828 00364788 1C 00 00 0A */ mulli r0, r0, 0xa +/* 8036782C 0036478C 7C 03 02 14 */ add r0, r3, r0 +/* 80367830 00364790 7C 1D 00 40 */ cmplw r29, r0 +/* 80367834 00364794 40 82 FF 94 */ bne lbl_803677C8 +lbl_80367838: +/* 80367838 00364798 7F 83 E3 78 */ mr r3, r28 +/* 8036783C 0036479C 48 00 0E 45 */ bl GetSize__Q28CPakFile8SResInfoCFv +/* 80367840 003647A0 7C 7F 1B 78 */ mr r31, r3 +/* 80367844 003647A4 7F 83 E3 78 */ mr r3, r28 +/* 80367848 003647A8 48 00 0E 59 */ bl GetOffset__Q28CPakFile8SResInfoCFv +/* 8036784C 003647AC 7C 03 FA 14 */ add r0, r3, r31 +/* 80367850 003647B0 7F 83 E3 78 */ mr r3, r28 +/* 80367854 003647B4 90 1E 00 84 */ stw r0, 0x84(r30) +lbl_80367858: +/* 80367858 003647B8 BB 61 00 3C */ lmw r27, 0x3c(r1) +/* 8036785C 003647BC 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80367860 003647C0 7C 08 03 A6 */ mtlr r0 +/* 80367864 003647C4 38 21 00 50 */ addi r1, r1, 0x50 +/* 80367868 003647C8 4E 80 00 20 */ blr + +.global GetResInfoForLoadDirectionless__8CPakFileCFUi +GetResInfoForLoadDirectionless__8CPakFileCFUi: +/* 8036786C 003647CC 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 80367870 003647D0 7C 08 02 A6 */ mflr r0 +/* 80367874 003647D4 90 01 00 54 */ stw r0, 0x54(r1) +/* 80367878 003647D8 BF 61 00 3C */ stmw r27, 0x3c(r1) +/* 8036787C 003647DC 7C 7C 1B 78 */ mr r28, r3 +/* 80367880 003647E0 7C 9D 23 78 */ mr r29, r4 +/* 80367884 003647E4 88 03 00 28 */ lbz r0, 0x28(r3) +/* 80367888 003647E8 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 8036788C 003647EC 41 82 00 0C */ beq lbl_80367898 +/* 80367890 003647F0 38 60 00 00 */ li r3, 0 +/* 80367894 003647F4 48 00 01 24 */ b lbl_803679B8 +lbl_80367898: +/* 80367898 003647F8 3C A0 54 58 */ lis r5, 0x54585452@ha +/* 8036789C 003647FC 38 61 00 20 */ addi r3, r1, 0x20 +/* 803678A0 00364800 38 A5 54 52 */ addi r5, r5, 0x54585452@l +/* 803678A4 00364804 38 C0 00 00 */ li r6, 0 +/* 803678A8 00364808 38 E0 00 00 */ li r7, 0 +/* 803678AC 0036480C 39 00 00 00 */ li r8, 0 +/* 803678B0 00364810 48 00 0E 35 */ bl __ct__Q28CPakFile8SResInfoFUiUiUiUi +/* 803678B4 00364814 88 0D AA D8 */ lbz r0, lbl_805A9698@sda21(r13) +/* 803678B8 00364818 38 61 00 1C */ addi r3, r1, 0x1c +/* 803678BC 0036481C 38 81 00 18 */ addi r4, r1, 0x18 +/* 803678C0 00364820 38 A1 00 10 */ addi r5, r1, 0x10 +/* 803678C4 00364824 98 01 00 08 */ stb r0, 8(r1) +/* 803678C8 00364828 38 C1 00 20 */ addi r6, r1, 0x20 +/* 803678CC 0036482C 38 E1 00 08 */ addi r7, r1, 8 +/* 803678D0 00364830 80 1C 00 78 */ lwz r0, 0x78(r28) +/* 803678D4 00364834 81 1C 00 80 */ lwz r8, 0x80(r28) +/* 803678D8 00364838 1C 00 00 0A */ mulli r0, r0, 0xa +/* 803678DC 0036483C 7D 08 02 14 */ add r8, r8, r0 +/* 803678E0 00364840 91 01 00 10 */ stw r8, 0x10(r1) +/* 803678E4 00364844 80 1C 00 80 */ lwz r0, 0x80(r28) +/* 803678E8 00364848 91 01 00 0C */ stw r8, 0xc(r1) +/* 803678EC 0036484C 90 01 00 14 */ stw r0, 0x14(r1) +/* 803678F0 00364850 90 01 00 18 */ stw r0, 0x18(r1) +/* 803678F4 00364854 48 00 11 45 */ bl sub_80368a38 +/* 803678F8 00364858 80 1C 00 78 */ lwz r0, 0x78(r28) +/* 803678FC 0036485C 80 7C 00 80 */ lwz r3, 0x80(r28) +/* 80367900 00364860 1C 00 00 0A */ mulli r0, r0, 0xa +/* 80367904 00364864 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80367908 00364868 7C 03 02 14 */ add r0, r3, r0 +/* 8036790C 0036486C 7C 1F 00 40 */ cmplw r31, r0 +/* 80367910 00364870 41 82 00 10 */ beq lbl_80367920 +/* 80367914 00364874 80 1F 00 00 */ lwz r0, 0(r31) +/* 80367918 00364878 7C 1D 00 40 */ cmplw r29, r0 +/* 8036791C 0036487C 41 82 00 0C */ beq lbl_80367928 +lbl_80367920: +/* 80367920 00364880 38 60 00 00 */ li r3, 0 +/* 80367924 00364884 48 00 00 94 */ b lbl_803679B8 +lbl_80367928: +/* 80367928 00364888 7F FE FB 78 */ mr r30, r31 +/* 8036792C 0036488C 7F E3 FB 78 */ mr r3, r31 +/* 80367930 00364890 48 00 0D 71 */ bl GetOffset__Q28CPakFile8SResInfoCFv +/* 80367934 00364894 80 1C 00 84 */ lwz r0, 0x84(r28) +/* 80367938 00364898 7C 60 18 50 */ subf r3, r0, r3 +/* 8036793C 0036489C 48 02 54 E1 */ bl abs +/* 80367940 003648A0 7C 7B 1B 78 */ mr r27, r3 +/* 80367944 003648A4 3B FF 00 0A */ addi r31, r31, 0xa +/* 80367948 003648A8 48 00 00 38 */ b lbl_80367980 +lbl_8036794C: +/* 8036794C 003648AC 80 1F 00 00 */ lwz r0, 0(r31) +/* 80367950 003648B0 7C 1D 00 40 */ cmplw r29, r0 +/* 80367954 003648B4 40 82 00 44 */ bne lbl_80367998 +/* 80367958 003648B8 7F E3 FB 78 */ mr r3, r31 +/* 8036795C 003648BC 48 00 0D 45 */ bl GetOffset__Q28CPakFile8SResInfoCFv +/* 80367960 003648C0 80 1C 00 84 */ lwz r0, 0x84(r28) +/* 80367964 003648C4 7C 60 18 50 */ subf r3, r0, r3 +/* 80367968 003648C8 48 02 54 B5 */ bl abs +/* 8036796C 003648CC 7C 03 D8 00 */ cmpw r3, r27 +/* 80367970 003648D0 40 80 00 0C */ bge lbl_8036797C +/* 80367974 003648D4 7F FE FB 78 */ mr r30, r31 +/* 80367978 003648D8 7C 7B 1B 78 */ mr r27, r3 +lbl_8036797C: +/* 8036797C 003648DC 3B FF 00 0A */ addi r31, r31, 0xa +lbl_80367980: +/* 80367980 003648E0 80 1C 00 78 */ lwz r0, 0x78(r28) +/* 80367984 003648E4 80 7C 00 80 */ lwz r3, 0x80(r28) +/* 80367988 003648E8 1C 00 00 0A */ mulli r0, r0, 0xa +/* 8036798C 003648EC 7C 03 02 14 */ add r0, r3, r0 +/* 80367990 003648F0 7C 1F 00 40 */ cmplw r31, r0 +/* 80367994 003648F4 40 82 FF B8 */ bne lbl_8036794C +lbl_80367998: +/* 80367998 003648F8 7F C3 F3 78 */ mr r3, r30 +/* 8036799C 003648FC 48 00 0C E5 */ bl GetSize__Q28CPakFile8SResInfoCFv +/* 803679A0 00364900 7C 7D 1B 78 */ mr r29, r3 +/* 803679A4 00364904 7F C3 F3 78 */ mr r3, r30 +/* 803679A8 00364908 48 00 0C F9 */ bl GetOffset__Q28CPakFile8SResInfoCFv +/* 803679AC 0036490C 7C 03 EA 14 */ add r0, r3, r29 +/* 803679B0 00364910 7F C3 F3 78 */ mr r3, r30 +/* 803679B4 00364914 90 1C 00 84 */ stw r0, 0x84(r28) +lbl_803679B8: +/* 803679B8 00364918 BB 61 00 3C */ lmw r27, 0x3c(r1) +/* 803679BC 0036491C 80 01 00 54 */ lwz r0, 0x54(r1) +/* 803679C0 00364920 7C 08 03 A6 */ mtlr r0 +/* 803679C4 00364924 38 21 00 50 */ addi r1, r1, 0x50 +/* 803679C8 00364928 4E 80 00 20 */ blr + +.global GetResInfo__8CPakFileCFUi +GetResInfo__8CPakFileCFUi: +/* 803679CC 0036492C 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 803679D0 00364930 7C 08 02 A6 */ mflr r0 +/* 803679D4 00364934 90 01 00 44 */ stw r0, 0x44(r1) +/* 803679D8 00364938 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 803679DC 0036493C 7C 9F 23 78 */ mr r31, r4 +/* 803679E0 00364940 93 C1 00 38 */ stw r30, 0x38(r1) +/* 803679E4 00364944 7C 7E 1B 78 */ mr r30, r3 +/* 803679E8 00364948 80 03 00 2C */ lwz r0, 0x2c(r3) +/* 803679EC 0036494C 2C 00 00 03 */ cmpwi r0, 3 +/* 803679F0 00364950 41 82 00 0C */ beq lbl_803679FC +/* 803679F4 00364954 38 60 00 00 */ li r3, 0 +/* 803679F8 00364958 48 00 00 A0 */ b lbl_80367A98 +lbl_803679FC: +/* 803679FC 0036495C 88 1E 00 28 */ lbz r0, 0x28(r30) +/* 80367A00 00364960 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 80367A04 00364964 41 82 00 0C */ beq lbl_80367A10 +/* 80367A08 00364968 38 60 00 00 */ li r3, 0 +/* 80367A0C 0036496C 48 00 00 8C */ b lbl_80367A98 +lbl_80367A10: +/* 80367A10 00364970 3C A0 54 58 */ lis r5, 0x54585452@ha +/* 80367A14 00364974 38 61 00 20 */ addi r3, r1, 0x20 +/* 80367A18 00364978 38 A5 54 52 */ addi r5, r5, 0x54585452@l +/* 80367A1C 0036497C 38 C0 00 00 */ li r6, 0 +/* 80367A20 00364980 38 E0 00 00 */ li r7, 0 +/* 80367A24 00364984 39 00 00 00 */ li r8, 0 +/* 80367A28 00364988 48 00 0C BD */ bl __ct__Q28CPakFile8SResInfoFUiUiUiUi +/* 80367A2C 0036498C 80 1E 00 78 */ lwz r0, 0x78(r30) +/* 80367A30 00364990 38 61 00 1C */ addi r3, r1, 0x1c +/* 80367A34 00364994 81 1E 00 80 */ lwz r8, 0x80(r30) +/* 80367A38 00364998 38 81 00 18 */ addi r4, r1, 0x18 +/* 80367A3C 0036499C 1C 00 00 0A */ mulli r0, r0, 0xa +/* 80367A40 003649A0 88 ED AA D4 */ lbz r7, lbl_805A9694@sda21(r13) +/* 80367A44 003649A4 91 01 00 14 */ stw r8, 0x14(r1) +/* 80367A48 003649A8 38 A1 00 10 */ addi r5, r1, 0x10 +/* 80367A4C 003649AC 38 C1 00 20 */ addi r6, r1, 0x20 +/* 80367A50 003649B0 7C 08 02 14 */ add r0, r8, r0 +/* 80367A54 003649B4 98 E1 00 08 */ stb r7, 8(r1) +/* 80367A58 003649B8 38 E1 00 08 */ addi r7, r1, 8 +/* 80367A5C 003649BC 90 01 00 0C */ stw r0, 0xc(r1) +/* 80367A60 003649C0 90 01 00 10 */ stw r0, 0x10(r1) +/* 80367A64 003649C4 91 01 00 18 */ stw r8, 0x18(r1) +/* 80367A68 003649C8 48 00 0F 11 */ bl sub_80368978 +/* 80367A6C 003649CC 80 1E 00 78 */ lwz r0, 0x78(r30) +/* 80367A70 003649D0 80 9E 00 80 */ lwz r4, 0x80(r30) +/* 80367A74 003649D4 1C 00 00 0A */ mulli r0, r0, 0xa +/* 80367A78 003649D8 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 80367A7C 003649DC 7C 04 02 14 */ add r0, r4, r0 +/* 80367A80 003649E0 7C 03 00 40 */ cmplw r3, r0 +/* 80367A84 003649E4 41 82 00 10 */ beq lbl_80367A94 +/* 80367A88 003649E8 80 03 00 00 */ lwz r0, 0(r3) +/* 80367A8C 003649EC 7C 1F 00 40 */ cmplw r31, r0 +/* 80367A90 003649F0 41 82 00 08 */ beq lbl_80367A98 +lbl_80367A94: +/* 80367A94 003649F4 38 60 00 00 */ li r3, 0 +lbl_80367A98: +/* 80367A98 003649F8 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80367A9C 003649FC 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80367AA0 00364A00 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 80367AA4 00364A04 7C 08 03 A6 */ mtlr r0 +/* 80367AA8 00364A08 38 21 00 40 */ addi r1, r1, 0x40 +/* 80367AAC 00364A0C 4E 80 00 20 */ blr + +.global GetFakeStaticSize__8CPakFileCFv +GetFakeStaticSize__8CPakFileCFv: +/* 80367AB0 00364A10 80 03 00 78 */ lwz r0, 0x78(r3) +/* 80367AB4 00364A14 80 63 00 68 */ lwz r3, 0x68(r3) +/* 80367AB8 00364A18 1C 00 00 0A */ mulli r0, r0, 0xa +/* 80367ABC 00364A1C 54 63 10 3A */ slwi r3, r3, 2 +/* 80367AC0 00364A20 7C 63 02 14 */ add r3, r3, r0 +/* 80367AC4 00364A24 4E 80 00 20 */ blr + +.global LoadResourceTable__8CPakFileFR15CMemoryInStream +LoadResourceTable__8CPakFileFR15CMemoryInStream: +/* 80367AC8 00364A28 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 80367ACC 00364A2C 7C 08 02 A6 */ mflr r0 +/* 80367AD0 00364A30 90 01 00 54 */ stw r0, 0x54(r1) +/* 80367AD4 00364A34 BF 21 00 34 */ stmw r25, 0x34(r1) +/* 80367AD8 00364A38 7C 7C 1B 78 */ mr r28, r3 +/* 80367ADC 00364A3C 7C 9D 23 78 */ mr r29, r4 +/* 80367AE0 00364A40 38 81 00 1C */ addi r4, r1, 0x1c +/* 80367AE4 00364A44 80 63 00 4C */ lwz r3, 0x4c(r3) +/* 80367AE8 00364A48 80 0D 9E 90 */ lwz r0, lbl_805A8A50@sda21(r13) +/* 80367AEC 00364A4C 1C 63 00 0A */ mulli r3, r3, 0xa +/* 80367AF0 00364A50 38 63 00 1F */ addi r3, r3, 0x1f +/* 80367AF4 00364A54 54 63 00 34 */ rlwinm r3, r3, 0, 0, 0x1a +/* 80367AF8 00364A58 38 63 00 09 */ addi r3, r3, 9 +/* 80367AFC 00364A5C 7C 03 00 00 */ cmpw r3, r0 +/* 80367B00 00364A60 90 61 00 1C */ stw r3, 0x1c(r1) +/* 80367B04 00364A64 40 80 00 08 */ bge lbl_80367B0C +/* 80367B08 00364A68 38 8D 9E 90 */ addi r4, r13, lbl_805A8A50@sda21 +lbl_80367B0C: +/* 80367B0C 00364A6C 3C 60 CC CD */ lis r3, 0xCCCCCCCD@ha +/* 80367B10 00364A70 80 04 00 00 */ lwz r0, 0(r4) +/* 80367B14 00364A74 38 83 CC CD */ addi r4, r3, 0xCCCCCCCD@l +/* 80367B18 00364A78 38 7C 00 74 */ addi r3, r28, 0x74 +/* 80367B1C 00364A7C 7C 04 00 16 */ mulhwu r0, r4, r0 +/* 80367B20 00364A80 54 04 E8 FE */ srwi r4, r0, 3 +/* 80367B24 00364A84 48 00 0F D5 */ bl sub_80368af8 +/* 80367B28 00364A88 88 1C 00 28 */ lbz r0, 0x28(r28) +/* 80367B2C 00364A8C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80367B30 00364A90 41 82 00 10 */ beq lbl_80367B40 +/* 80367B34 00364A94 80 9C 00 4C */ lwz r4, 0x4c(r28) +/* 80367B38 00364A98 38 7C 00 64 */ addi r3, r28, 0x64 +/* 80367B3C 00364A9C 4B CF BF E9 */ bl "reserve__Q24rstl37vectorFi" +lbl_80367B40: +/* 80367B40 00364AA0 3B C0 00 00 */ li r30, 0 +/* 80367B44 00364AA4 48 00 01 14 */ b lbl_80367C58 +lbl_80367B48: +/* 80367B48 00364AA8 7F A3 EB 78 */ mr r3, r29 +/* 80367B4C 00364AAC 4B FD 71 39 */ bl ReadLong__12CInputStreamFv +/* 80367B50 00364AB0 7C 7B 1B 78 */ mr r27, r3 +/* 80367B54 00364AB4 7F A3 EB 78 */ mr r3, r29 +/* 80367B58 00364AB8 4B FD 71 2D */ bl ReadLong__12CInputStreamFv +/* 80367B5C 00364ABC 7C 7A 1B 78 */ mr r26, r3 +/* 80367B60 00364AC0 7F A3 EB 78 */ mr r3, r29 +/* 80367B64 00364AC4 4B FD 71 21 */ bl ReadLong__12CInputStreamFv +/* 80367B68 00364AC8 7C 7F 1B 78 */ mr r31, r3 +/* 80367B6C 00364ACC 7F A3 EB 78 */ mr r3, r29 +/* 80367B70 00364AD0 4B FD 71 15 */ bl ReadLong__12CInputStreamFv +/* 80367B74 00364AD4 7C 79 1B 78 */ mr r25, r3 +/* 80367B78 00364AD8 7F A3 EB 78 */ mr r3, r29 +/* 80367B7C 00364ADC 4B FD 71 09 */ bl ReadLong__12CInputStreamFv +/* 80367B80 00364AE0 7C 66 1B 78 */ mr r6, r3 +/* 80367B84 00364AE4 7F E4 FB 78 */ mr r4, r31 +/* 80367B88 00364AE8 7F 45 D3 78 */ mr r5, r26 +/* 80367B8C 00364AEC 7F 27 CB 78 */ mr r7, r25 +/* 80367B90 00364AF0 7F 68 DB 78 */ mr r8, r27 +/* 80367B94 00364AF4 38 61 00 20 */ addi r3, r1, 0x20 +/* 80367B98 00364AF8 48 00 0B 4D */ bl __ct__Q28CPakFile8SResInfoFUiUiUiUi +/* 80367B9C 00364AFC 80 1C 00 78 */ lwz r0, 0x78(r28) +/* 80367BA0 00364B00 80 BC 00 7C */ lwz r5, 0x7c(r28) +/* 80367BA4 00364B04 7C 00 28 00 */ cmpw r0, r5 +/* 80367BA8 00364B08 41 80 00 1C */ blt lbl_80367BC4 +/* 80367BAC 00364B0C 2C 05 00 00 */ cmpwi r5, 0 +/* 80367BB0 00364B10 38 7C 00 74 */ addi r3, r28, 0x74 +/* 80367BB4 00364B14 38 80 00 04 */ li r4, 4 +/* 80367BB8 00364B18 41 82 00 08 */ beq lbl_80367BC0 +/* 80367BBC 00364B1C 54 A4 08 3C */ slwi r4, r5, 1 +lbl_80367BC0: +/* 80367BC0 00364B20 48 00 0F 39 */ bl sub_80368af8 +lbl_80367BC4: +/* 80367BC4 00364B24 80 1C 00 78 */ lwz r0, 0x78(r28) +/* 80367BC8 00364B28 80 7C 00 80 */ lwz r3, 0x80(r28) +/* 80367BCC 00364B2C 1C 00 00 0A */ mulli r0, r0, 0xa +/* 80367BD0 00364B30 7C 63 02 15 */ add. r3, r3, r0 +/* 80367BD4 00364B34 41 82 00 1C */ beq lbl_80367BF0 +/* 80367BD8 00364B38 80 01 00 20 */ lwz r0, 0x20(r1) +/* 80367BDC 00364B3C 90 03 00 00 */ stw r0, 0(r3) +/* 80367BE0 00364B40 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80367BE4 00364B44 90 03 00 04 */ stw r0, 4(r3) +/* 80367BE8 00364B48 A0 01 00 28 */ lhz r0, 0x28(r1) +/* 80367BEC 00364B4C B0 03 00 08 */ sth r0, 8(r3) +lbl_80367BF0: +/* 80367BF0 00364B50 80 7C 00 78 */ lwz r3, 0x78(r28) +/* 80367BF4 00364B54 38 03 00 01 */ addi r0, r3, 1 +/* 80367BF8 00364B58 90 1C 00 78 */ stw r0, 0x78(r28) +/* 80367BFC 00364B5C 88 1C 00 28 */ lbz r0, 0x28(r28) +/* 80367C00 00364B60 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80367C04 00364B64 41 82 00 50 */ beq lbl_80367C54 +/* 80367C08 00364B68 80 1C 00 68 */ lwz r0, 0x68(r28) +/* 80367C0C 00364B6C 80 BC 00 6C */ lwz r5, 0x6c(r28) +/* 80367C10 00364B70 7C 00 28 00 */ cmpw r0, r5 +/* 80367C14 00364B74 41 80 00 1C */ blt lbl_80367C30 +/* 80367C18 00364B78 2C 05 00 00 */ cmpwi r5, 0 +/* 80367C1C 00364B7C 38 7C 00 64 */ addi r3, r28, 0x64 +/* 80367C20 00364B80 38 80 00 04 */ li r4, 4 +/* 80367C24 00364B84 41 82 00 08 */ beq lbl_80367C2C +/* 80367C28 00364B88 54 A4 08 3C */ slwi r4, r5, 1 +lbl_80367C2C: +/* 80367C2C 00364B8C 4B CF BE F9 */ bl "reserve__Q24rstl37vectorFi" +lbl_80367C30: +/* 80367C30 00364B90 80 1C 00 68 */ lwz r0, 0x68(r28) +/* 80367C34 00364B94 80 7C 00 70 */ lwz r3, 0x70(r28) +/* 80367C38 00364B98 54 00 10 3A */ slwi r0, r0, 2 +/* 80367C3C 00364B9C 7C 63 02 15 */ add. r3, r3, r0 +/* 80367C40 00364BA0 41 82 00 08 */ beq lbl_80367C48 +/* 80367C44 00364BA4 93 E3 00 00 */ stw r31, 0(r3) +lbl_80367C48: +/* 80367C48 00364BA8 80 7C 00 68 */ lwz r3, 0x68(r28) +/* 80367C4C 00364BAC 38 03 00 01 */ addi r0, r3, 1 +/* 80367C50 00364BB0 90 1C 00 68 */ stw r0, 0x68(r28) +lbl_80367C54: +/* 80367C54 00364BB4 3B DE 00 01 */ addi r30, r30, 1 +lbl_80367C58: +/* 80367C58 00364BB8 80 1C 00 4C */ lwz r0, 0x4c(r28) +/* 80367C5C 00364BBC 7C 1E 00 00 */ cmpw r30, r0 +/* 80367C60 00364BC0 41 80 FE E8 */ blt lbl_80367B48 +/* 80367C64 00364BC4 88 0D AA D0 */ lbz r0, lbl_805A9690@sda21(r13) +/* 80367C68 00364BC8 38 61 00 18 */ addi r3, r1, 0x18 +/* 80367C6C 00364BCC 38 81 00 10 */ addi r4, r1, 0x10 +/* 80367C70 00364BD0 38 A1 00 08 */ addi r5, r1, 8 +/* 80367C74 00364BD4 98 01 00 08 */ stb r0, 8(r1) +/* 80367C78 00364BD8 80 1C 00 78 */ lwz r0, 0x78(r28) +/* 80367C7C 00364BDC 80 DC 00 80 */ lwz r6, 0x80(r28) +/* 80367C80 00364BE0 1C 00 00 0A */ mulli r0, r0, 0xa +/* 80367C84 00364BE4 7C C6 02 14 */ add r6, r6, r0 +/* 80367C88 00364BE8 90 C1 00 10 */ stw r6, 0x10(r1) +/* 80367C8C 00364BEC 80 1C 00 80 */ lwz r0, 0x80(r28) +/* 80367C90 00364BF0 90 C1 00 0C */ stw r6, 0xc(r1) +/* 80367C94 00364BF4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80367C98 00364BF8 90 01 00 18 */ stw r0, 0x18(r1) +/* 80367C9C 00364BFC 48 00 0A F1 */ bl sub_8036878c +/* 80367CA0 00364C00 BB 21 00 34 */ lmw r25, 0x34(r1) +/* 80367CA4 00364C04 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80367CA8 00364C08 7C 08 03 A6 */ mtlr r0 +/* 80367CAC 00364C0C 38 21 00 50 */ addi r1, r1, 0x50 +/* 80367CB0 00364C10 4E 80 00 20 */ blr + +.global DataLoad__8CPakFileFv +DataLoad__8CPakFileFv: +/* 80367CB4 00364C14 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80367CB8 00364C18 7C 08 02 A6 */ mflr r0 +/* 80367CBC 00364C1C 38 80 00 00 */ li r4, 0 +/* 80367CC0 00364C20 90 01 00 64 */ stw r0, 0x64(r1) +/* 80367CC4 00364C24 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 80367CC8 00364C28 7C 7F 1B 78 */ mr r31, r3 +/* 80367CCC 00364C2C 38 61 00 18 */ addi r3, r1, 0x18 +/* 80367CD0 00364C30 93 C1 00 58 */ stw r30, 0x58(r1) +/* 80367CD4 00364C34 38 1F 00 30 */ addi r0, r31, 0x30 +/* 80367CD8 00364C38 7C 03 00 40 */ cmplw r3, r0 +/* 80367CDC 00364C3C 98 81 00 18 */ stb r4, 0x18(r1) +/* 80367CE0 00364C40 90 81 00 1C */ stw r4, 0x1c(r1) +/* 80367CE4 00364C44 41 82 00 48 */ beq lbl_80367D2C +/* 80367CE8 00364C48 88 1F 00 30 */ lbz r0, 0x30(r31) +/* 80367CEC 00364C4C 28 00 00 00 */ cmplwi r0, 0 +/* 80367CF0 00364C50 41 82 00 24 */ beq lbl_80367D14 +/* 80367CF4 00364C54 80 7F 00 34 */ lwz r3, 0x34(r31) +/* 80367CF8 00364C58 28 03 00 00 */ cmplwi r3, 0 +/* 80367CFC 00364C5C 41 82 00 18 */ beq lbl_80367D14 +/* 80367D00 00364C60 81 83 00 00 */ lwz r12, 0(r3) +/* 80367D04 00364C64 38 80 00 01 */ li r4, 1 +/* 80367D08 00364C68 81 8C 00 08 */ lwz r12, 8(r12) +/* 80367D0C 00364C6C 7D 89 03 A6 */ mtctr r12 +/* 80367D10 00364C70 4E 80 04 21 */ bctrl +lbl_80367D14: +/* 80367D14 00364C74 88 61 00 18 */ lbz r3, 0x18(r1) +/* 80367D18 00364C78 38 00 00 00 */ li r0, 0 +/* 80367D1C 00364C7C 98 7F 00 30 */ stb r3, 0x30(r31) +/* 80367D20 00364C80 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 80367D24 00364C84 90 7F 00 34 */ stw r3, 0x34(r31) +/* 80367D28 00364C88 98 01 00 18 */ stb r0, 0x18(r1) +lbl_80367D2C: +/* 80367D2C 00364C8C 88 01 00 18 */ lbz r0, 0x18(r1) +/* 80367D30 00364C90 28 00 00 00 */ cmplwi r0, 0 +/* 80367D34 00364C94 41 82 00 24 */ beq lbl_80367D58 +/* 80367D38 00364C98 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 80367D3C 00364C9C 28 03 00 00 */ cmplwi r3, 0 +/* 80367D40 00364CA0 41 82 00 18 */ beq lbl_80367D58 +/* 80367D44 00364CA4 81 83 00 00 */ lwz r12, 0(r3) +/* 80367D48 00364CA8 38 80 00 01 */ li r4, 1 +/* 80367D4C 00364CAC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80367D50 00364CB0 7D 89 03 A6 */ mtctr r12 +/* 80367D54 00364CB4 4E 80 04 21 */ bctrl +lbl_80367D58: +/* 80367D58 00364CB8 80 9F 00 44 */ lwz r4, 0x44(r31) +/* 80367D5C 00364CBC 38 61 00 30 */ addi r3, r1, 0x30 +/* 80367D60 00364CC0 80 BF 00 48 */ lwz r5, 0x48(r31) +/* 80367D64 00364CC4 80 1F 00 3C */ lwz r0, 0x3c(r31) +/* 80367D68 00364CC8 7C 84 2A 14 */ add r4, r4, r5 +/* 80367D6C 00364CCC 7C A5 00 50 */ subf r5, r5, r0 +/* 80367D70 00364CD0 4B FD 74 5D */ bl __ct__15CMemoryInStreamFPCvUl +/* 80367D74 00364CD4 7F E3 FB 78 */ mr r3, r31 +/* 80367D78 00364CD8 38 81 00 30 */ addi r4, r1, 0x30 +/* 80367D7C 00364CDC 4B FF FD 4D */ bl LoadResourceTable__8CPakFileFR15CMemoryInStream +/* 80367D80 00364CE0 38 00 00 03 */ li r0, 3 +/* 80367D84 00364CE4 90 1F 00 2C */ stw r0, 0x2c(r31) +/* 80367D88 00364CE8 88 1F 00 28 */ lbz r0, 0x28(r31) +/* 80367D8C 00364CEC 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80367D90 00364CF0 41 82 00 38 */ beq lbl_80367DC8 +/* 80367D94 00364CF4 80 1F 00 4C */ lwz r0, 0x4c(r31) +/* 80367D98 00364CF8 1C 60 00 0A */ mulli r3, r0, 0xa +/* 80367D9C 00364CFC 38 03 00 1F */ addi r0, r3, 0x1f +/* 80367DA0 00364D00 54 1E 00 34 */ rlwinm r30, r0, 0, 0, 0x1a +/* 80367DA4 00364D04 7F C3 F3 78 */ mr r3, r30 +/* 80367DA8 00364D08 4B FD CE 81 */ bl Alloc__12CARAMManagerFUi +/* 80367DAC 00364D0C 90 7F 00 50 */ stw r3, 0x50(r31) +/* 80367DB0 00364D10 7F C5 F3 78 */ mr r5, r30 +/* 80367DB4 00364D14 38 C0 00 01 */ li r6, 1 +/* 80367DB8 00364D18 80 7F 00 80 */ lwz r3, 0x80(r31) +/* 80367DBC 00364D1C 80 9F 00 50 */ lwz r4, 0x50(r31) +/* 80367DC0 00364D20 4B FD CB C9 */ bl DMAToARAM__12CARAMManagerFPvPvUiQ212CARAMManager12EDMAPriority +/* 80367DC4 00364D24 4B FD C9 85 */ bl WaitForDMACompletion__12CARAMManagerFUi +lbl_80367DC8: +/* 80367DC8 00364D28 38 00 00 00 */ li r0, 0 +/* 80367DCC 00364D2C 38 7F 00 38 */ addi r3, r31, 0x38 +/* 80367DD0 00364D30 90 01 00 24 */ stw r0, 0x24(r1) +/* 80367DD4 00364D34 38 81 00 20 */ addi r4, r1, 0x20 +/* 80367DD8 00364D38 90 01 00 28 */ stw r0, 0x28(r1) +/* 80367DDC 00364D3C 90 01 00 2C */ stw r0, 0x2c(r1) +/* 80367DE0 00364D40 4B FE 5F 75 */ bl sub_8034dd54 +/* 80367DE4 00364D44 80 61 00 2C */ lwz r3, 0x2c(r1) +/* 80367DE8 00364D48 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80367DEC 00364D4C 90 61 00 0C */ stw r3, 0xc(r1) +/* 80367DF0 00364D50 7C 83 02 14 */ add r4, r3, r0 +/* 80367DF4 00364D54 7C 03 20 50 */ subf r0, r3, r4 +/* 80367DF8 00364D58 90 81 00 14 */ stw r4, 0x14(r1) +/* 80367DFC 00364D5C 90 81 00 10 */ stw r4, 0x10(r1) +/* 80367E00 00364D60 90 61 00 08 */ stw r3, 8(r1) +/* 80367E04 00364D64 7C 09 03 A6 */ mtctr r0 +/* 80367E08 00364D68 7C 03 20 40 */ cmplw r3, r4 +/* 80367E0C 00364D6C 41 82 00 08 */ beq lbl_80367E14 +lbl_80367E10: +/* 80367E10 00364D70 42 00 00 00 */ bdnz lbl_80367E10 +lbl_80367E14: +/* 80367E14 00364D74 4B FA DB 1D */ bl Free__7CMemoryFPCv +/* 80367E18 00364D78 7F E3 FB 78 */ mr r3, r31 +/* 80367E1C 00364D7C 4B FF FC 95 */ bl GetFakeStaticSize__8CPakFileCFv +/* 80367E20 00364D80 4B FA DA A1 */ bl OffsetFakeStatics__7CMemoryFi +/* 80367E24 00364D84 3C 80 80 3F */ lis r4, __vt__15CMemoryInStream@ha +/* 80367E28 00364D88 38 61 00 30 */ addi r3, r1, 0x30 +/* 80367E2C 00364D8C 38 04 E3 98 */ addi r0, r4, __vt__15CMemoryInStream@l +/* 80367E30 00364D90 38 80 00 00 */ li r4, 0 +/* 80367E34 00364D94 90 01 00 30 */ stw r0, 0x30(r1) +/* 80367E38 00364D98 4B FD 72 75 */ bl __dt__12CInputStreamFv +/* 80367E3C 00364D9C 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80367E40 00364DA0 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 80367E44 00364DA4 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 80367E48 00364DA8 7C 08 03 A6 */ mtlr r0 +/* 80367E4C 00364DAC 38 21 00 60 */ addi r1, r1, 0x60 +/* 80367E50 00364DB0 4E 80 00 20 */ blr + +.global InitialHeaderLoad__8CPakFileFv +InitialHeaderLoad__8CPakFileFv: +/* 80367E54 00364DB4 94 21 FE 70 */ stwu r1, -0x190(r1) +/* 80367E58 00364DB8 7C 08 02 A6 */ mflr r0 +/* 80367E5C 00364DBC 90 01 01 94 */ stw r0, 0x194(r1) +/* 80367E60 00364DC0 BF 61 01 7C */ stmw r27, 0x17c(r1) +/* 80367E64 00364DC4 7C 7F 1B 78 */ mr r31, r3 +/* 80367E68 00364DC8 38 61 00 50 */ addi r3, r1, 0x50 +/* 80367E6C 00364DCC 80 9F 00 44 */ lwz r4, 0x44(r31) +/* 80367E70 00364DD0 80 BF 00 3C */ lwz r5, 0x3c(r31) +/* 80367E74 00364DD4 4B FD 73 59 */ bl __ct__15CMemoryInStreamFPCvUl +/* 80367E78 00364DD8 38 61 00 10 */ addi r3, r1, 0x10 +/* 80367E7C 00364DDC 38 1F 00 30 */ addi r0, r31, 0x30 +/* 80367E80 00364DE0 38 80 00 00 */ li r4, 0 +/* 80367E84 00364DE4 7C 03 00 40 */ cmplw r3, r0 +/* 80367E88 00364DE8 98 81 00 10 */ stb r4, 0x10(r1) +/* 80367E8C 00364DEC 90 81 00 14 */ stw r4, 0x14(r1) +/* 80367E90 00364DF0 41 82 00 48 */ beq lbl_80367ED8 +/* 80367E94 00364DF4 88 1F 00 30 */ lbz r0, 0x30(r31) +/* 80367E98 00364DF8 28 00 00 00 */ cmplwi r0, 0 +/* 80367E9C 00364DFC 41 82 00 24 */ beq lbl_80367EC0 +/* 80367EA0 00364E00 80 7F 00 34 */ lwz r3, 0x34(r31) +/* 80367EA4 00364E04 28 03 00 00 */ cmplwi r3, 0 +/* 80367EA8 00364E08 41 82 00 18 */ beq lbl_80367EC0 +/* 80367EAC 00364E0C 81 83 00 00 */ lwz r12, 0(r3) +/* 80367EB0 00364E10 38 80 00 01 */ li r4, 1 +/* 80367EB4 00364E14 81 8C 00 08 */ lwz r12, 8(r12) +/* 80367EB8 00364E18 7D 89 03 A6 */ mtctr r12 +/* 80367EBC 00364E1C 4E 80 04 21 */ bctrl +lbl_80367EC0: +/* 80367EC0 00364E20 88 61 00 10 */ lbz r3, 0x10(r1) +/* 80367EC4 00364E24 38 00 00 00 */ li r0, 0 +/* 80367EC8 00364E28 98 7F 00 30 */ stb r3, 0x30(r31) +/* 80367ECC 00364E2C 80 61 00 14 */ lwz r3, 0x14(r1) +/* 80367ED0 00364E30 90 7F 00 34 */ stw r3, 0x34(r31) +/* 80367ED4 00364E34 98 01 00 10 */ stb r0, 0x10(r1) +lbl_80367ED8: +/* 80367ED8 00364E38 88 01 00 10 */ lbz r0, 0x10(r1) +/* 80367EDC 00364E3C 28 00 00 00 */ cmplwi r0, 0 +/* 80367EE0 00364E40 41 82 00 24 */ beq lbl_80367F04 +/* 80367EE4 00364E44 80 61 00 14 */ lwz r3, 0x14(r1) +/* 80367EE8 00364E48 28 03 00 00 */ cmplwi r3, 0 +/* 80367EEC 00364E4C 41 82 00 18 */ beq lbl_80367F04 +/* 80367EF0 00364E50 81 83 00 00 */ lwz r12, 0(r3) +/* 80367EF4 00364E54 38 80 00 01 */ li r4, 1 +/* 80367EF8 00364E58 81 8C 00 08 */ lwz r12, 8(r12) +/* 80367EFC 00364E5C 7D 89 03 A6 */ mtctr r12 +/* 80367F00 00364E60 4E 80 04 21 */ bctrl +lbl_80367F04: +/* 80367F04 00364E64 38 61 00 50 */ addi r3, r1, 0x50 +/* 80367F08 00364E68 4B FD 6D 7D */ bl ReadLong__12CInputStreamFv +/* 80367F0C 00364E6C 3C 03 FF FD */ addis r0, r3, 0xfffd +/* 80367F10 00364E70 28 00 00 05 */ cmplwi r0, 5 +/* 80367F14 00364E74 41 82 00 44 */ beq lbl_80367F58 +/* 80367F18 00364E78 3C 80 80 3E */ lis r4, lbl_803D84E0@ha +/* 80367F1C 00364E7C 3C C0 00 03 */ lis r6, 0x00030005@ha +/* 80367F20 00364E80 7C 67 1B 78 */ mr r7, r3 +/* 80367F24 00364E84 80 BF 00 18 */ lwz r5, 0x18(r31) +/* 80367F28 00364E88 38 84 84 E0 */ addi r4, r4, lbl_803D84E0@l +/* 80367F2C 00364E8C 38 61 00 74 */ addi r3, r1, 0x74 +/* 80367F30 00364E90 38 C6 00 05 */ addi r6, r6, 0x00030005@l +/* 80367F34 00364E94 4C C6 31 82 */ crclr 6 +/* 80367F38 00364E98 48 02 5D A5 */ bl sprintf +/* 80367F3C 00364E9C 3C 80 80 3F */ lis r4, __vt__15CMemoryInStream@ha +/* 80367F40 00364EA0 38 61 00 50 */ addi r3, r1, 0x50 +/* 80367F44 00364EA4 38 04 E3 98 */ addi r0, r4, __vt__15CMemoryInStream@l +/* 80367F48 00364EA8 38 80 00 00 */ li r4, 0 +/* 80367F4C 00364EAC 90 01 00 50 */ stw r0, 0x50(r1) +/* 80367F50 00364EB0 4B FD 71 5D */ bl __dt__12CInputStreamFv +/* 80367F54 00364EB4 48 00 02 1C */ b lbl_80368170 +lbl_80367F58: +/* 80367F58 00364EB8 38 61 00 50 */ addi r3, r1, 0x50 +/* 80367F5C 00364EBC 4B FD 6D 29 */ bl ReadLong__12CInputStreamFv +/* 80367F60 00364EC0 38 61 00 50 */ addi r3, r1, 0x50 +/* 80367F64 00364EC4 4B FD 6D 21 */ bl ReadLong__12CInputStreamFv +/* 80367F68 00364EC8 7C 7C 1B 78 */ mr r28, r3 +/* 80367F6C 00364ECC 38 7F 00 54 */ addi r3, r31, 0x54 +/* 80367F70 00364ED0 7F 84 E3 78 */ mr r4, r28 +/* 80367F74 00364ED4 4B EB 52 51 */ bl "reserve__Q24rstl138vector,Q24rstl17rmemory_allocator>,10SObjectTag>,Q24rstl17rmemory_allocator>Fi" +/* 80367F78 00364ED8 3B 60 00 00 */ li r27, 0 +/* 80367F7C 00364EDC 48 00 00 C8 */ b lbl_80368044 +lbl_80367F80: +/* 80367F80 00364EE0 38 61 00 50 */ addi r3, r1, 0x50 +/* 80367F84 00364EE4 4B FD 6D 01 */ bl ReadLong__12CInputStreamFv +/* 80367F88 00364EE8 7C 7D 1B 78 */ mr r29, r3 +/* 80367F8C 00364EEC 38 61 00 50 */ addi r3, r1, 0x50 +/* 80367F90 00364EF0 4B FD 6C F5 */ bl ReadLong__12CInputStreamFv +/* 80367F94 00364EF4 7C 7E 1B 78 */ mr r30, r3 +/* 80367F98 00364EF8 38 61 00 18 */ addi r3, r1, 0x18 +/* 80367F9C 00364EFC 38 81 00 50 */ addi r4, r1, 0x50 +/* 80367FA0 00364F00 4B FD 66 B9 */ bl ReadString__13CStringExtrasFR12CInputStream +/* 80367FA4 00364F04 38 61 00 28 */ addi r3, r1, 0x28 +/* 80367FA8 00364F08 38 81 00 18 */ addi r4, r1, 0x18 +/* 80367FAC 00364F0C 4B FD 61 B5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80367FB0 00364F10 38 61 00 18 */ addi r3, r1, 0x18 +/* 80367FB4 00364F14 4B FD 5B 2D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80367FB8 00364F18 38 61 00 38 */ addi r3, r1, 0x38 +/* 80367FBC 00364F1C 38 81 00 28 */ addi r4, r1, 0x28 +/* 80367FC0 00364F20 4B FD 61 A1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80367FC4 00364F24 93 A1 00 48 */ stw r29, 0x48(r1) +/* 80367FC8 00364F28 93 C1 00 4C */ stw r30, 0x4c(r1) +/* 80367FCC 00364F2C 80 1F 00 58 */ lwz r0, 0x58(r31) +/* 80367FD0 00364F30 80 BF 00 5C */ lwz r5, 0x5c(r31) +/* 80367FD4 00364F34 7C 00 28 00 */ cmpw r0, r5 +/* 80367FD8 00364F38 41 80 00 1C */ blt lbl_80367FF4 +/* 80367FDC 00364F3C 2C 05 00 00 */ cmpwi r5, 0 +/* 80367FE0 00364F40 38 7F 00 54 */ addi r3, r31, 0x54 +/* 80367FE4 00364F44 38 80 00 04 */ li r4, 4 +/* 80367FE8 00364F48 41 82 00 08 */ beq lbl_80367FF0 +/* 80367FEC 00364F4C 54 A4 08 3C */ slwi r4, r5, 1 +lbl_80367FF0: +/* 80367FF0 00364F50 4B EB 51 D5 */ bl "reserve__Q24rstl138vector,Q24rstl17rmemory_allocator>,10SObjectTag>,Q24rstl17rmemory_allocator>Fi" +lbl_80367FF4: +/* 80367FF4 00364F54 80 1F 00 58 */ lwz r0, 0x58(r31) +/* 80367FF8 00364F58 80 7F 00 60 */ lwz r3, 0x60(r31) +/* 80367FFC 00364F5C 1C 00 00 18 */ mulli r0, r0, 0x18 +/* 80368000 00364F60 7F A3 02 15 */ add. r29, r3, r0 +/* 80368004 00364F64 41 82 00 20 */ beq lbl_80368024 +/* 80368008 00364F68 7F A3 EB 78 */ mr r3, r29 +/* 8036800C 00364F6C 38 81 00 38 */ addi r4, r1, 0x38 +/* 80368010 00364F70 4B FD 61 51 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80368014 00364F74 80 01 00 48 */ lwz r0, 0x48(r1) +/* 80368018 00364F78 90 1D 00 10 */ stw r0, 0x10(r29) +/* 8036801C 00364F7C 80 01 00 4C */ lwz r0, 0x4c(r1) +/* 80368020 00364F80 90 1D 00 14 */ stw r0, 0x14(r29) +lbl_80368024: +/* 80368024 00364F84 80 9F 00 58 */ lwz r4, 0x58(r31) +/* 80368028 00364F88 38 61 00 38 */ addi r3, r1, 0x38 +/* 8036802C 00364F8C 38 04 00 01 */ addi r0, r4, 1 +/* 80368030 00364F90 90 1F 00 58 */ stw r0, 0x58(r31) +/* 80368034 00364F94 4B FD 5A AD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80368038 00364F98 38 61 00 28 */ addi r3, r1, 0x28 +/* 8036803C 00364F9C 4B FD 5A A5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80368040 00364FA0 3B 7B 00 01 */ addi r27, r27, 1 +lbl_80368044: +/* 80368044 00364FA4 7C 1B E0 00 */ cmpw r27, r28 +/* 80368048 00364FA8 41 80 FF 38 */ blt lbl_80367F80 +/* 8036804C 00364FAC 38 61 00 50 */ addi r3, r1, 0x50 +/* 80368050 00364FB0 4B FD 6C 35 */ bl ReadLong__12CInputStreamFv +/* 80368054 00364FB4 90 7F 00 4C */ stw r3, 0x4c(r31) +/* 80368058 00364FB8 38 00 00 02 */ li r0, 2 +/* 8036805C 00364FBC 80 61 00 68 */ lwz r3, 0x68(r1) +/* 80368060 00364FC0 90 7F 00 48 */ stw r3, 0x48(r31) +/* 80368064 00364FC4 90 1F 00 2C */ stw r0, 0x2c(r31) +/* 80368068 00364FC8 80 1F 00 4C */ lwz r0, 0x4c(r31) +/* 8036806C 00364FCC 80 7F 00 48 */ lwz r3, 0x48(r31) +/* 80368070 00364FD0 1C 80 00 14 */ mulli r4, r0, 0x14 +/* 80368074 00364FD4 83 9F 00 3C */ lwz r28, 0x3c(r31) +/* 80368078 00364FD8 38 03 00 1F */ addi r0, r3, 0x1f +/* 8036807C 00364FDC 7C 04 02 14 */ add r0, r4, r0 +/* 80368080 00364FE0 54 04 00 34 */ rlwinm r4, r0, 0, 0, 0x1a +/* 80368084 00364FE4 7C 04 E0 00 */ cmpw r4, r28 +/* 80368088 00364FE8 40 81 00 C8 */ ble lbl_80368150 +/* 8036808C 00364FEC 38 7F 00 38 */ addi r3, r31, 0x38 +/* 80368090 00364FF0 38 AD 9E 8D */ addi r5, r13, lbl_805A8A4D@sda21 +/* 80368094 00364FF4 48 00 00 F1 */ bl sub_80368184 +/* 80368098 00364FF8 80 9F 00 44 */ lwz r4, 0x44(r31) +/* 8036809C 00364FFC 7F E3 FB 78 */ mr r3, r31 +/* 803680A0 00365000 80 1F 00 3C */ lwz r0, 0x3c(r31) +/* 803680A4 00365004 7F 87 E3 78 */ mr r7, r28 +/* 803680A8 00365008 7C 84 E2 14 */ add r4, r4, r28 +/* 803680AC 0036500C 38 C0 00 00 */ li r6, 0 +/* 803680B0 00365010 7C BC 00 50 */ subf r5, r28, r0 +/* 803680B4 00365014 4B FE 79 0D */ bl AsyncSeekRead__8CDvdFileFPvUi11ESeekOrigini +/* 803680B8 00365018 7C 03 00 D0 */ neg r0, r3 +/* 803680BC 0036501C 38 81 00 08 */ addi r4, r1, 8 +/* 803680C0 00365020 7C 05 1B 78 */ or r5, r0, r3 +/* 803680C4 00365024 38 1F 00 30 */ addi r0, r31, 0x30 +/* 803680C8 00365028 54 A5 0F FE */ srwi r5, r5, 0x1f +/* 803680CC 0036502C 90 61 00 0C */ stw r3, 0xc(r1) +/* 803680D0 00365030 7C 04 00 40 */ cmplw r4, r0 +/* 803680D4 00365034 98 A1 00 08 */ stb r5, 8(r1) +/* 803680D8 00365038 41 82 00 48 */ beq lbl_80368120 +/* 803680DC 0036503C 88 1F 00 30 */ lbz r0, 0x30(r31) +/* 803680E0 00365040 28 00 00 00 */ cmplwi r0, 0 +/* 803680E4 00365044 41 82 00 24 */ beq lbl_80368108 +/* 803680E8 00365048 80 7F 00 34 */ lwz r3, 0x34(r31) +/* 803680EC 0036504C 28 03 00 00 */ cmplwi r3, 0 +/* 803680F0 00365050 41 82 00 18 */ beq lbl_80368108 +/* 803680F4 00365054 81 83 00 00 */ lwz r12, 0(r3) +/* 803680F8 00365058 38 80 00 01 */ li r4, 1 +/* 803680FC 0036505C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80368100 00365060 7D 89 03 A6 */ mtctr r12 +/* 80368104 00365064 4E 80 04 21 */ bctrl +lbl_80368108: +/* 80368108 00365068 88 61 00 08 */ lbz r3, 8(r1) +/* 8036810C 0036506C 38 00 00 00 */ li r0, 0 +/* 80368110 00365070 98 7F 00 30 */ stb r3, 0x30(r31) +/* 80368114 00365074 80 61 00 0C */ lwz r3, 0xc(r1) +/* 80368118 00365078 90 7F 00 34 */ stw r3, 0x34(r31) +/* 8036811C 0036507C 98 01 00 08 */ stb r0, 8(r1) +lbl_80368120: +/* 80368120 00365080 88 01 00 08 */ lbz r0, 8(r1) +/* 80368124 00365084 28 00 00 00 */ cmplwi r0, 0 +/* 80368128 00365088 41 82 00 30 */ beq lbl_80368158 +/* 8036812C 0036508C 80 61 00 0C */ lwz r3, 0xc(r1) +/* 80368130 00365090 28 03 00 00 */ cmplwi r3, 0 +/* 80368134 00365094 41 82 00 24 */ beq lbl_80368158 +/* 80368138 00365098 81 83 00 00 */ lwz r12, 0(r3) +/* 8036813C 0036509C 38 80 00 01 */ li r4, 1 +/* 80368140 003650A0 81 8C 00 08 */ lwz r12, 8(r12) +/* 80368144 003650A4 7D 89 03 A6 */ mtctr r12 +/* 80368148 003650A8 4E 80 04 21 */ bctrl +/* 8036814C 003650AC 48 00 00 0C */ b lbl_80368158 +lbl_80368150: +/* 80368150 003650B0 7F E3 FB 78 */ mr r3, r31 +/* 80368154 003650B4 4B FF FB 61 */ bl DataLoad__8CPakFileFv +lbl_80368158: +/* 80368158 003650B8 3C 80 80 3F */ lis r4, __vt__15CMemoryInStream@ha +/* 8036815C 003650BC 38 61 00 50 */ addi r3, r1, 0x50 +/* 80368160 003650C0 38 04 E3 98 */ addi r0, r4, __vt__15CMemoryInStream@l +/* 80368164 003650C4 38 80 00 00 */ li r4, 0 +/* 80368168 003650C8 90 01 00 50 */ stw r0, 0x50(r1) +/* 8036816C 003650CC 4B FD 6F 41 */ bl __dt__12CInputStreamFv +lbl_80368170: +/* 80368170 003650D0 BB 61 01 7C */ lmw r27, 0x17c(r1) +/* 80368174 003650D4 80 01 01 94 */ lwz r0, 0x194(r1) +/* 80368178 003650D8 7C 08 03 A6 */ mtlr r0 +/* 8036817C 003650DC 38 21 01 90 */ addi r1, r1, 0x190 +/* 80368180 003650E0 4E 80 00 20 */ blr + +.global sub_80368184 +sub_80368184: +/* 80368184 003650E4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80368188 003650E8 7C 08 02 A6 */ mflr r0 +/* 8036818C 003650EC 90 01 00 34 */ stw r0, 0x34(r1) +/* 80368190 003650F0 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80368194 003650F4 7C BF 2B 78 */ mr r31, r5 +/* 80368198 003650F8 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8036819C 003650FC 7C 9E 23 78 */ mr r30, r4 +/* 803681A0 00365100 93 A1 00 24 */ stw r29, 0x24(r1) +/* 803681A4 00365104 7C 7D 1B 78 */ mr r29, r3 +/* 803681A8 00365108 80 03 00 04 */ lwz r0, 4(r3) +/* 803681AC 0036510C 7C 00 F0 00 */ cmpw r0, r30 +/* 803681B0 00365110 41 82 00 78 */ beq lbl_80368228 +/* 803681B4 00365114 7C 1E 00 00 */ cmpw r30, r0 +/* 803681B8 00365118 40 81 00 3C */ ble lbl_803681F4 +/* 803681BC 0036511C 4B FE 6B 75 */ bl sub_8034ed30 +/* 803681C0 00365120 80 7D 00 04 */ lwz r3, 4(r29) +/* 803681C4 00365124 80 1D 00 0C */ lwz r0, 0xc(r29) +/* 803681C8 00365128 7C 83 F0 51 */ subf. r4, r3, r30 +/* 803681CC 0036512C 7C 60 1A 14 */ add r3, r0, r3 +/* 803681D0 00365130 7C 89 03 A6 */ mtctr r4 +/* 803681D4 00365134 40 81 00 50 */ ble lbl_80368224 +lbl_803681D8: +/* 803681D8 00365138 28 03 00 00 */ cmplwi r3, 0 +/* 803681DC 0036513C 41 82 00 0C */ beq lbl_803681E8 +/* 803681E0 00365140 88 1F 00 00 */ lbz r0, 0(r31) +/* 803681E4 00365144 98 03 00 00 */ stb r0, 0(r3) +lbl_803681E8: +/* 803681E8 00365148 38 63 00 01 */ addi r3, r3, 1 +/* 803681EC 0036514C 42 00 FF EC */ bdnz lbl_803681D8 +/* 803681F0 00365150 48 00 00 34 */ b lbl_80368224 +lbl_803681F4: +/* 803681F4 00365154 80 9D 00 0C */ lwz r4, 0xc(r29) +/* 803681F8 00365158 7C 64 02 14 */ add r3, r4, r0 +/* 803681FC 0036515C 7C 84 F2 14 */ add r4, r4, r30 +/* 80368200 00365160 7C 04 18 50 */ subf r0, r4, r3 +/* 80368204 00365164 90 61 00 08 */ stw r3, 8(r1) +/* 80368208 00365168 90 61 00 0C */ stw r3, 0xc(r1) +/* 8036820C 0036516C 90 81 00 10 */ stw r4, 0x10(r1) +/* 80368210 00365170 90 81 00 14 */ stw r4, 0x14(r1) +/* 80368214 00365174 7C 09 03 A6 */ mtctr r0 +/* 80368218 00365178 7C 04 18 40 */ cmplw r4, r3 +/* 8036821C 0036517C 41 82 00 08 */ beq lbl_80368224 +lbl_80368220: +/* 80368220 00365180 42 00 00 00 */ bdnz lbl_80368220 +lbl_80368224: +/* 80368224 00365184 93 DD 00 04 */ stw r30, 4(r29) +lbl_80368228: +/* 80368228 00365188 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8036822C 0036518C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80368230 00365190 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80368234 00365194 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80368238 00365198 7C 08 03 A6 */ mtlr r0 +/* 8036823C 0036519C 38 21 00 30 */ addi r1, r1, 0x30 +/* 80368240 003651A0 4E 80 00 20 */ blr + +.global Warmup__8CPakFileFv +Warmup__8CPakFileFv: +/* 80368244 003651A4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80368248 003651A8 7C 08 02 A6 */ mflr r0 +/* 8036824C 003651AC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80368250 003651B0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80368254 003651B4 7C 7F 1B 78 */ mr r31, r3 +/* 80368258 003651B8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8036825C 003651BC 80 83 00 14 */ lwz r4, 0x14(r3) +/* 80368260 003651C0 38 61 00 08 */ addi r3, r1, 8 +/* 80368264 003651C4 80 0D 9E 88 */ lwz r0, lbl_805A8A48@sda21(r13) +/* 80368268 003651C8 90 81 00 08 */ stw r4, 8(r1) +/* 8036826C 003651CC 7C 00 20 00 */ cmpw r0, r4 +/* 80368270 003651D0 40 80 00 08 */ bge lbl_80368278 +/* 80368274 003651D4 38 6D 9E 88 */ addi r3, r13, lbl_805A8A48@sda21 +lbl_80368278: +/* 80368278 003651D8 83 C3 00 00 */ lwz r30, 0(r3) +/* 8036827C 003651DC 38 7F 00 38 */ addi r3, r31, 0x38 +/* 80368280 003651E0 38 AD 9E 8C */ addi r5, r13, lbl_805A8A4C@sda21 +/* 80368284 003651E4 7F C4 F3 78 */ mr r4, r30 +/* 80368288 003651E8 4B FF FE FD */ bl sub_80368184 +/* 8036828C 003651EC 80 9F 00 44 */ lwz r4, 0x44(r31) +/* 80368290 003651F0 7F E3 FB 78 */ mr r3, r31 +/* 80368294 003651F4 7F C5 F3 78 */ mr r5, r30 +/* 80368298 003651F8 4B FE 79 51 */ bl SyncRead__8CDvdFileFPvUi +/* 8036829C 003651FC 7C 03 00 D0 */ neg r0, r3 +/* 803682A0 00365200 38 81 00 0C */ addi r4, r1, 0xc +/* 803682A4 00365204 7C 05 1B 78 */ or r5, r0, r3 +/* 803682A8 00365208 38 1F 00 30 */ addi r0, r31, 0x30 +/* 803682AC 0036520C 54 A5 0F FE */ srwi r5, r5, 0x1f +/* 803682B0 00365210 90 61 00 10 */ stw r3, 0x10(r1) +/* 803682B4 00365214 7C 04 00 40 */ cmplw r4, r0 +/* 803682B8 00365218 98 A1 00 0C */ stb r5, 0xc(r1) +/* 803682BC 0036521C 41 82 00 48 */ beq lbl_80368304 +/* 803682C0 00365220 88 1F 00 30 */ lbz r0, 0x30(r31) +/* 803682C4 00365224 28 00 00 00 */ cmplwi r0, 0 +/* 803682C8 00365228 41 82 00 24 */ beq lbl_803682EC +/* 803682CC 0036522C 80 7F 00 34 */ lwz r3, 0x34(r31) +/* 803682D0 00365230 28 03 00 00 */ cmplwi r3, 0 +/* 803682D4 00365234 41 82 00 18 */ beq lbl_803682EC +/* 803682D8 00365238 81 83 00 00 */ lwz r12, 0(r3) +/* 803682DC 0036523C 38 80 00 01 */ li r4, 1 +/* 803682E0 00365240 81 8C 00 08 */ lwz r12, 8(r12) +/* 803682E4 00365244 7D 89 03 A6 */ mtctr r12 +/* 803682E8 00365248 4E 80 04 21 */ bctrl +lbl_803682EC: +/* 803682EC 0036524C 88 61 00 0C */ lbz r3, 0xc(r1) +/* 803682F0 00365250 38 00 00 00 */ li r0, 0 +/* 803682F4 00365254 98 7F 00 30 */ stb r3, 0x30(r31) +/* 803682F8 00365258 80 61 00 10 */ lwz r3, 0x10(r1) +/* 803682FC 0036525C 90 7F 00 34 */ stw r3, 0x34(r31) +/* 80368300 00365260 98 01 00 0C */ stb r0, 0xc(r1) +lbl_80368304: +/* 80368304 00365264 88 01 00 0C */ lbz r0, 0xc(r1) +/* 80368308 00365268 28 00 00 00 */ cmplwi r0, 0 +/* 8036830C 0036526C 41 82 00 24 */ beq lbl_80368330 +/* 80368310 00365270 80 61 00 10 */ lwz r3, 0x10(r1) +/* 80368314 00365274 28 03 00 00 */ cmplwi r3, 0 +/* 80368318 00365278 41 82 00 18 */ beq lbl_80368330 +/* 8036831C 0036527C 81 83 00 00 */ lwz r12, 0(r3) +/* 80368320 00365280 38 80 00 01 */ li r4, 1 +/* 80368324 00365284 81 8C 00 08 */ lwz r12, 8(r12) +/* 80368328 00365288 7D 89 03 A6 */ mtctr r12 +/* 8036832C 0036528C 4E 80 04 21 */ bctrl +lbl_80368330: +/* 80368330 00365290 38 00 00 01 */ li r0, 1 +/* 80368334 00365294 90 1F 00 2C */ stw r0, 0x2c(r31) +/* 80368338 00365298 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8036833C 0036529C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80368340 003652A0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80368344 003652A4 7C 08 03 A6 */ mtlr r0 +/* 80368348 003652A8 38 21 00 20 */ addi r1, r1, 0x20 +/* 8036834C 003652AC 4E 80 00 20 */ blr + +.global AsyncIdle__8CPakFileFv +AsyncIdle__8CPakFileFv: +/* 80368350 003652B0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80368354 003652B4 7C 08 02 A6 */ mflr r0 +/* 80368358 003652B8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8036835C 003652BC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80368360 003652C0 7C 7F 1B 78 */ mr r31, r3 +/* 80368364 003652C4 80 03 00 2C */ lwz r0, 0x2c(r3) +/* 80368368 003652C8 2C 00 00 03 */ cmpwi r0, 3 +/* 8036836C 003652CC 41 82 00 7C */ beq lbl_803683E8 +/* 80368370 003652D0 4B FE 7C 0D */ bl sub_8034ff7c +/* 80368374 003652D4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80368378 003652D8 41 82 00 70 */ beq lbl_803683E8 +/* 8036837C 003652DC 80 7F 00 34 */ lwz r3, 0x34(r31) +/* 80368380 003652E0 28 03 00 00 */ cmplwi r3, 0 +/* 80368384 003652E4 41 82 00 1C */ beq lbl_803683A0 +/* 80368388 003652E8 81 83 00 00 */ lwz r12, 0(r3) +/* 8036838C 003652EC 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 80368390 003652F0 7D 89 03 A6 */ mtctr r12 +/* 80368394 003652F4 4E 80 04 21 */ bctrl +/* 80368398 003652F8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8036839C 003652FC 41 82 00 4C */ beq lbl_803683E8 +lbl_803683A0: +/* 803683A0 00365300 80 1F 00 2C */ lwz r0, 0x2c(r31) +/* 803683A4 00365304 2C 00 00 01 */ cmpwi r0, 1 +/* 803683A8 00365308 41 82 00 2C */ beq lbl_803683D4 +/* 803683AC 0036530C 40 80 00 10 */ bge lbl_803683BC +/* 803683B0 00365310 2C 00 00 00 */ cmpwi r0, 0 +/* 803683B4 00365314 40 80 00 14 */ bge lbl_803683C8 +/* 803683B8 00365318 48 00 00 30 */ b lbl_803683E8 +lbl_803683BC: +/* 803683BC 0036531C 2C 00 00 03 */ cmpwi r0, 3 +/* 803683C0 00365320 40 80 00 28 */ bge lbl_803683E8 +/* 803683C4 00365324 48 00 00 1C */ b lbl_803683E0 +lbl_803683C8: +/* 803683C8 00365328 7F E3 FB 78 */ mr r3, r31 +/* 803683CC 0036532C 4B FF FE 79 */ bl Warmup__8CPakFileFv +/* 803683D0 00365330 48 00 00 18 */ b lbl_803683E8 +lbl_803683D4: +/* 803683D4 00365334 7F E3 FB 78 */ mr r3, r31 +/* 803683D8 00365338 4B FF FA 7D */ bl InitialHeaderLoad__8CPakFileFv +/* 803683DC 0036533C 48 00 00 0C */ b lbl_803683E8 +lbl_803683E0: +/* 803683E0 00365340 7F E3 FB 78 */ mr r3, r31 +/* 803683E4 00365344 4B FF F8 D1 */ bl DataLoad__8CPakFileFv +lbl_803683E8: +/* 803683E8 00365348 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803683EC 0036534C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803683F0 00365350 7C 08 03 A6 */ mtlr r0 +/* 803683F4 00365354 38 21 00 10 */ addi r1, r1, 0x10 +/* 803683F8 00365358 4E 80 00 20 */ blr + +.global __dt__8CPakFileFv +__dt__8CPakFileFv: +/* 803683FC 0036535C 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80368400 00365360 7C 08 02 A6 */ mflr r0 +/* 80368404 00365364 90 01 00 44 */ stw r0, 0x44(r1) +/* 80368408 00365368 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 8036840C 0036536C 7C 9F 23 78 */ mr r31, r4 +/* 80368410 00365370 93 C1 00 38 */ stw r30, 0x38(r1) +/* 80368414 00365374 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80368418 00365378 41 82 01 5C */ beq lbl_80368574 +/* 8036841C 0036537C 48 00 00 0C */ b lbl_80368428 +lbl_80368420: +/* 80368420 00365380 7F C3 F3 78 */ mr r3, r30 +/* 80368424 00365384 4B FF FF 2D */ bl AsyncIdle__8CPakFileFv +lbl_80368428: +/* 80368428 00365388 80 1E 00 2C */ lwz r0, 0x2c(r30) +/* 8036842C 0036538C 2C 00 00 03 */ cmpwi r0, 3 +/* 80368430 00365390 40 82 FF F0 */ bne lbl_80368420 +/* 80368434 00365394 7F C3 F3 78 */ mr r3, r30 +/* 80368438 00365398 4B FF F6 79 */ bl GetFakeStaticSize__8CPakFileCFv +/* 8036843C 0036539C 7C 63 00 D0 */ neg r3, r3 +/* 80368440 003653A0 4B FA D4 81 */ bl OffsetFakeStatics__7CMemoryFi +/* 80368444 003653A4 80 7E 00 50 */ lwz r3, 0x50(r30) +/* 80368448 003653A8 4B FD C6 75 */ bl Free__12CARAMManagerFPCv +/* 8036844C 003653AC 34 1E 00 74 */ addic. r0, r30, 0x74 +/* 80368450 003653B0 41 82 00 44 */ beq lbl_80368494 +/* 80368454 003653B4 80 1E 00 78 */ lwz r0, 0x78(r30) +/* 80368458 003653B8 80 7E 00 80 */ lwz r3, 0x80(r30) +/* 8036845C 003653BC 1C 00 00 0A */ mulli r0, r0, 0xa +/* 80368460 003653C0 90 61 00 2C */ stw r3, 0x2c(r1) +/* 80368464 003653C4 7C 64 1B 78 */ mr r4, r3 +/* 80368468 003653C8 7C 03 02 14 */ add r0, r3, r0 +/* 8036846C 003653CC 90 61 00 28 */ stw r3, 0x28(r1) +/* 80368470 003653D0 90 01 00 34 */ stw r0, 0x34(r1) +/* 80368474 003653D4 90 01 00 30 */ stw r0, 0x30(r1) +/* 80368478 003653D8 48 00 00 08 */ b lbl_80368480 +lbl_8036847C: +/* 8036847C 003653DC 38 84 00 0A */ addi r4, r4, 0xa +lbl_80368480: +/* 80368480 003653E0 7C 04 00 40 */ cmplw r4, r0 +/* 80368484 003653E4 40 82 FF F8 */ bne lbl_8036847C +/* 80368488 003653E8 28 03 00 00 */ cmplwi r3, 0 +/* 8036848C 003653EC 41 82 00 08 */ beq lbl_80368494 +/* 80368490 003653F0 4B FA D4 A1 */ bl Free__7CMemoryFPCv +lbl_80368494: +/* 80368494 003653F4 34 1E 00 64 */ addic. r0, r30, 0x64 +/* 80368498 003653F8 41 82 00 44 */ beq lbl_803684DC +/* 8036849C 003653FC 80 1E 00 68 */ lwz r0, 0x68(r30) +/* 803684A0 00365400 80 7E 00 70 */ lwz r3, 0x70(r30) +/* 803684A4 00365404 54 00 10 3A */ slwi r0, r0, 2 +/* 803684A8 00365408 7C 03 02 14 */ add r0, r3, r0 +/* 803684AC 0036540C 90 61 00 1C */ stw r3, 0x1c(r1) +/* 803684B0 00365410 7C 64 1B 78 */ mr r4, r3 +/* 803684B4 00365414 90 01 00 24 */ stw r0, 0x24(r1) +/* 803684B8 00365418 90 01 00 20 */ stw r0, 0x20(r1) +/* 803684BC 0036541C 90 61 00 18 */ stw r3, 0x18(r1) +/* 803684C0 00365420 48 00 00 08 */ b lbl_803684C8 +lbl_803684C4: +/* 803684C4 00365424 38 84 00 04 */ addi r4, r4, 4 +lbl_803684C8: +/* 803684C8 00365428 7C 04 00 40 */ cmplw r4, r0 +/* 803684CC 0036542C 40 82 FF F8 */ bne lbl_803684C4 +/* 803684D0 00365430 28 03 00 00 */ cmplwi r3, 0 +/* 803684D4 00365434 41 82 00 08 */ beq lbl_803684DC +/* 803684D8 00365438 4B FA D4 59 */ bl Free__7CMemoryFPCv +lbl_803684DC: +/* 803684DC 0036543C 38 7E 00 54 */ addi r3, r30, 0x54 +/* 803684E0 00365440 38 80 FF FF */ li r4, -1 +/* 803684E4 00365444 4B C9 C5 09 */ bl sub_800049ec +/* 803684E8 00365448 34 1E 00 38 */ addic. r0, r30, 0x38 +/* 803684EC 0036544C 41 82 00 38 */ beq lbl_80368524 +/* 803684F0 00365450 80 7E 00 44 */ lwz r3, 0x44(r30) +/* 803684F4 00365454 80 1E 00 3C */ lwz r0, 0x3c(r30) +/* 803684F8 00365458 90 61 00 0C */ stw r3, 0xc(r1) +/* 803684FC 0036545C 7C 83 02 14 */ add r4, r3, r0 +/* 80368500 00365460 7C 03 20 50 */ subf r0, r3, r4 +/* 80368504 00365464 90 81 00 14 */ stw r4, 0x14(r1) +/* 80368508 00365468 90 81 00 10 */ stw r4, 0x10(r1) +/* 8036850C 0036546C 90 61 00 08 */ stw r3, 8(r1) +/* 80368510 00365470 7C 09 03 A6 */ mtctr r0 +/* 80368514 00365474 7C 03 20 40 */ cmplw r3, r4 +/* 80368518 00365478 41 82 00 08 */ beq lbl_80368520 +lbl_8036851C: +/* 8036851C 0036547C 42 00 00 00 */ bdnz lbl_8036851C +lbl_80368520: +/* 80368520 00365480 4B FA D4 11 */ bl Free__7CMemoryFPCv +lbl_80368524: +/* 80368524 00365484 34 1E 00 30 */ addic. r0, r30, 0x30 +/* 80368528 00365488 41 82 00 30 */ beq lbl_80368558 +/* 8036852C 0036548C 88 1E 00 30 */ lbz r0, 0x30(r30) +/* 80368530 00365490 28 00 00 00 */ cmplwi r0, 0 +/* 80368534 00365494 41 82 00 24 */ beq lbl_80368558 +/* 80368538 00365498 80 7E 00 34 */ lwz r3, 0x34(r30) +/* 8036853C 0036549C 28 03 00 00 */ cmplwi r3, 0 +/* 80368540 003654A0 41 82 00 18 */ beq lbl_80368558 +/* 80368544 003654A4 81 83 00 00 */ lwz r12, 0(r3) +/* 80368548 003654A8 38 80 00 01 */ li r4, 1 +/* 8036854C 003654AC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80368550 003654B0 7D 89 03 A6 */ mtctr r12 +/* 80368554 003654B4 4E 80 04 21 */ bctrl +lbl_80368558: +/* 80368558 003654B8 7F C3 F3 78 */ mr r3, r30 +/* 8036855C 003654BC 38 80 FF FF */ li r4, -1 +/* 80368560 003654C0 4B FE 76 B1 */ bl __dt__8CDvdFileFv +/* 80368564 003654C4 7F E0 07 35 */ extsh. r0, r31 +/* 80368568 003654C8 40 81 00 0C */ ble lbl_80368574 +/* 8036856C 003654CC 7F C3 F3 78 */ mr r3, r30 +/* 80368570 003654D0 4B FA D3 C1 */ bl Free__7CMemoryFPCv +lbl_80368574: +/* 80368574 003654D4 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80368578 003654D8 7F C3 F3 78 */ mr r3, r30 +/* 8036857C 003654DC 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80368580 003654E0 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 80368584 003654E4 7C 08 03 A6 */ mtlr r0 +/* 80368588 003654E8 38 21 00 40 */ addi r1, r1, 0x40 +/* 8036858C 003654EC 4E 80 00 20 */ blr + +.global "__ct__8CPakFileFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>b" +"__ct__8CPakFileFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>b": +/* 80368590 003654F0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80368594 003654F4 7C 08 02 A6 */ mflr r0 +/* 80368598 003654F8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8036859C 003654FC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 803685A0 00365500 7C DF 33 78 */ mr r31, r6 +/* 803685A4 00365504 93 C1 00 18 */ stw r30, 0x18(r1) +/* 803685A8 00365508 7C BE 2B 78 */ mr r30, r5 +/* 803685AC 0036550C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 803685B0 00365510 7C 7D 1B 78 */ mr r29, r3 +/* 803685B4 00365514 80 84 00 00 */ lwz r4, 0(r4) +/* 803685B8 00365518 4B FE 77 19 */ bl __ct__8CDvdFileFPCc +/* 803685BC 0036551C 88 1D 00 28 */ lbz r0, 0x28(r29) +/* 803685C0 00365520 53 C0 3E 30 */ rlwimi r0, r30, 7, 0x18, 0x18 +/* 803685C4 00365524 38 C0 00 00 */ li r6, 0 +/* 803685C8 00365528 80 82 CB A8 */ lwz r4, lbl_805AE8C8@sda21(r2) +/* 803685CC 0036552C 98 1D 00 28 */ stb r0, 0x28(r29) +/* 803685D0 00365530 38 00 FF FF */ li r0, -1 +/* 803685D4 00365534 7F A3 EB 78 */ mr r3, r29 +/* 803685D8 00365538 88 FD 00 08 */ lbz r7, 8(r29) +/* 803685DC 0036553C 88 BD 00 28 */ lbz r5, 0x28(r29) +/* 803685E0 00365540 50 E5 36 72 */ rlwimi r5, r7, 6, 0x19, 0x19 +/* 803685E4 00365544 98 BD 00 28 */ stb r5, 0x28(r29) +/* 803685E8 00365548 88 BD 00 28 */ lbz r5, 0x28(r29) +/* 803685EC 0036554C 53 E5 2E B4 */ rlwimi r5, r31, 5, 0x1a, 0x1a +/* 803685F0 00365550 98 BD 00 28 */ stb r5, 0x28(r29) +/* 803685F4 00365554 88 BD 00 28 */ lbz r5, 0x28(r29) +/* 803685F8 00365558 50 C5 26 F6 */ rlwimi r5, r6, 4, 0x1b, 0x1b +/* 803685FC 0036555C 98 BD 00 28 */ stb r5, 0x28(r29) +/* 80368600 00365560 90 DD 00 2C */ stw r6, 0x2c(r29) +/* 80368604 00365564 98 DD 00 30 */ stb r6, 0x30(r29) +/* 80368608 00365568 90 DD 00 34 */ stw r6, 0x34(r29) +/* 8036860C 0036556C 90 DD 00 3C */ stw r6, 0x3c(r29) +/* 80368610 00365570 90 DD 00 40 */ stw r6, 0x40(r29) +/* 80368614 00365574 90 DD 00 44 */ stw r6, 0x44(r29) +/* 80368618 00365578 90 DD 00 48 */ stw r6, 0x48(r29) +/* 8036861C 0036557C 90 DD 00 4C */ stw r6, 0x4c(r29) +/* 80368620 00365580 90 9D 00 50 */ stw r4, 0x50(r29) +/* 80368624 00365584 90 DD 00 58 */ stw r6, 0x58(r29) +/* 80368628 00365588 90 DD 00 5C */ stw r6, 0x5c(r29) +/* 8036862C 0036558C 90 DD 00 60 */ stw r6, 0x60(r29) +/* 80368630 00365590 90 DD 00 68 */ stw r6, 0x68(r29) +/* 80368634 00365594 90 DD 00 6C */ stw r6, 0x6c(r29) +/* 80368638 00365598 90 DD 00 70 */ stw r6, 0x70(r29) +/* 8036863C 0036559C 90 DD 00 78 */ stw r6, 0x78(r29) +/* 80368640 003655A0 90 DD 00 7C */ stw r6, 0x7c(r29) +/* 80368644 003655A4 90 DD 00 80 */ stw r6, 0x80(r29) +/* 80368648 003655A8 90 1D 00 84 */ stw r0, 0x84(r29) +/* 8036864C 003655AC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80368650 003655B0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80368654 003655B4 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80368658 003655B8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8036865C 003655BC 7C 08 03 A6 */ mtlr r0 +/* 80368660 003655C0 38 21 00 20 */ addi r1, r1, 0x20 +/* 80368664 003655C4 4E 80 00 20 */ blr + +.global IsCompressed__Q28CPakFile8SResInfoCFv +IsCompressed__Q28CPakFile8SResInfoCFv: +/* 80368668 003655C8 88 03 00 04 */ lbz r0, 4(r3) +/* 8036866C 003655CC 54 03 00 30 */ rlwinm r3, r0, 0, 0, 0x18 +/* 80368670 003655D0 7C 03 00 D0 */ neg r0, r3 +/* 80368674 003655D4 7C 00 1B 78 */ or r0, r0, r3 +/* 80368678 003655D8 54 03 0F FE */ srwi r3, r0, 0x1f +/* 8036867C 003655DC 4E 80 00 20 */ blr + +.global GetSize__Q28CPakFile8SResInfoCFv +GetSize__Q28CPakFile8SResInfoCFv: +/* 80368680 003655E0 88 83 00 07 */ lbz r4, 7(r3) +/* 80368684 003655E4 88 03 00 08 */ lbz r0, 8(r3) +/* 80368688 003655E8 7C 84 3E 70 */ srawi r4, r4, 7 +/* 8036868C 003655EC 88 63 00 09 */ lbz r3, 9(r3) +/* 80368690 003655F0 50 04 0D FC */ rlwimi r4, r0, 1, 0x17, 0x1e +/* 80368694 003655F4 50 64 4B EC */ rlwimi r4, r3, 9, 0xf, 0x16 +/* 80368698 003655F8 54 83 28 34 */ slwi r3, r4, 5 +/* 8036869C 003655FC 4E 80 00 20 */ blr + +.global GetOffset__Q28CPakFile8SResInfoCFv +GetOffset__Q28CPakFile8SResInfoCFv: +/* 803686A0 00365600 88 83 00 05 */ lbz r4, 5(r3) +/* 803686A4 00365604 88 03 00 06 */ lbz r0, 6(r3) +/* 803686A8 00365608 88 63 00 07 */ lbz r3, 7(r3) +/* 803686AC 0036560C 50 04 44 2E */ rlwimi r4, r0, 8, 0x10, 0x17 +/* 803686B0 00365610 50 64 82 1E */ rlwimi r4, r3, 0x10, 8, 0xf +/* 803686B4 00365614 54 83 29 34 */ rlwinm r3, r4, 5, 4, 0x1a +/* 803686B8 00365618 4E 80 00 20 */ blr + +.global GetType__Q28CPakFile8SResInfoCFv +GetType__Q28CPakFile8SResInfoCFv: +/* 803686BC 0036561C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803686C0 00365620 7C 08 02 A6 */ mflr r0 +/* 803686C4 00365624 90 01 00 14 */ stw r0, 0x14(r1) +/* 803686C8 00365628 88 03 00 04 */ lbz r0, 4(r3) +/* 803686CC 0036562C 54 03 06 7E */ clrlwi r3, r0, 0x19 +/* 803686D0 00365630 4B FD 00 09 */ bl TypeIdxToFourCC__11CFactoryMgrFUi +/* 803686D4 00365634 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803686D8 00365638 7C 08 03 A6 */ mtlr r0 +/* 803686DC 0036563C 38 21 00 10 */ addi r1, r1, 0x10 +/* 803686E0 00365640 4E 80 00 20 */ blr + +.global __ct__Q28CPakFile8SResInfoFUiUiUiUi +__ct__Q28CPakFile8SResInfoFUiUiUiUi: +/* 803686E4 00365644 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803686E8 00365648 7C 08 02 A6 */ mflr r0 +/* 803686EC 0036564C 90 01 00 24 */ stw r0, 0x24(r1) +/* 803686F0 00365650 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 803686F4 00365654 7D 1F 43 78 */ mr r31, r8 +/* 803686F8 00365658 93 C1 00 18 */ stw r30, 0x18(r1) +/* 803686FC 0036565C 7C FE 3B 78 */ mr r30, r7 +/* 80368700 00365660 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80368704 00365664 7C DD 33 78 */ mr r29, r6 +/* 80368708 00365668 93 81 00 10 */ stw r28, 0x10(r1) +/* 8036870C 0036566C 7C 7C 1B 78 */ mr r28, r3 +/* 80368710 00365670 90 83 00 00 */ stw r4, 0(r3) +/* 80368714 00365674 7C A3 2B 78 */ mr r3, r5 +/* 80368718 00365678 4B FC FE B5 */ bl FourCCToTypeIdx__11CFactoryMgrFUi +/* 8036871C 0036567C 7C 9F 00 D0 */ neg r4, r31 +/* 80368720 00365680 38 00 00 80 */ li r0, 0x80 +/* 80368724 00365684 7C 84 FB 78 */ or r4, r4, r31 +/* 80368728 00365688 57 A7 DE 3E */ rlwinm r7, r29, 0x1b, 0x18, 0x1f +/* 8036872C 0036568C 7C 84 FE 70 */ srawi r4, r4, 0x1f +/* 80368730 00365690 57 A6 9E 3E */ rlwinm r6, r29, 0x13, 0x18, 0x1f +/* 80368734 00365694 7C 00 20 38 */ and r0, r0, r4 +/* 80368738 00365698 7C 63 03 78 */ or r3, r3, r0 +/* 8036873C 0036569C 57 A4 5D 7E */ srwi r4, r29, 0x15 +/* 80368740 003656A0 98 7C 00 04 */ stb r3, 4(r28) +/* 80368744 003656A4 57 C0 16 30 */ rlwinm r0, r30, 2, 0x18, 0x18 +/* 80368748 003656A8 7C 85 03 78 */ or r5, r4, r0 +/* 8036874C 003656AC 57 C4 D6 3E */ rlwinm r4, r30, 0x1a, 0x18, 0x1f +/* 80368750 003656B0 98 FC 00 05 */ stb r7, 5(r28) +/* 80368754 003656B4 57 C0 96 3E */ rlwinm r0, r30, 0x12, 0x18, 0x1f +/* 80368758 003656B8 7F 83 E3 78 */ mr r3, r28 +/* 8036875C 003656BC 98 DC 00 06 */ stb r6, 6(r28) +/* 80368760 003656C0 98 BC 00 07 */ stb r5, 7(r28) +/* 80368764 003656C4 98 9C 00 08 */ stb r4, 8(r28) +/* 80368768 003656C8 98 1C 00 09 */ stb r0, 9(r28) +/* 8036876C 003656CC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80368770 003656D0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80368774 003656D4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80368778 003656D8 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8036877C 003656DC 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80368780 003656E0 7C 08 03 A6 */ mtlr r0 +/* 80368784 003656E4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80368788 003656E8 4E 80 00 20 */ blr + +.global sub_8036878c +sub_8036878c: +/* 8036878C 003656EC 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80368790 003656F0 7C 08 02 A6 */ mflr r0 +/* 80368794 003656F4 90 01 00 64 */ stw r0, 0x64(r1) +/* 80368798 003656F8 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 8036879C 003656FC 7C BF 2B 78 */ mr r31, r5 +/* 803687A0 00365700 93 C1 00 58 */ stw r30, 0x58(r1) +/* 803687A4 00365704 7C 9E 23 78 */ mr r30, r4 +/* 803687A8 00365708 3C 80 66 66 */ lis r4, 0x66666667@ha +/* 803687AC 0036570C 93 A1 00 54 */ stw r29, 0x54(r1) +/* 803687B0 00365710 7C 7D 1B 78 */ mr r29, r3 +/* 803687B4 00365714 38 84 66 67 */ addi r4, r4, 0x66666667@l +/* 803687B8 00365718 93 81 00 50 */ stw r28, 0x50(r1) +/* 803687BC 0036571C 80 63 00 00 */ lwz r3, 0(r3) +/* 803687C0 00365720 80 DE 00 00 */ lwz r6, 0(r30) +/* 803687C4 00365724 7C 03 30 50 */ subf r0, r3, r6 +/* 803687C8 00365728 7C 04 00 96 */ mulhw r0, r4, r0 +/* 803687CC 0036572C 7C 00 16 70 */ srawi r0, r0, 2 +/* 803687D0 00365730 54 04 0F FE */ srwi r4, r0, 0x1f +/* 803687D4 00365734 7C 80 22 14 */ add r4, r0, r4 +/* 803687D8 00365738 2C 04 00 01 */ cmpwi r4, 1 +/* 803687DC 0036573C 40 81 01 7C */ ble lbl_80368958 +/* 803687E0 00365740 2C 04 00 14 */ cmpwi r4, 0x14 +/* 803687E4 00365744 41 81 00 30 */ bgt lbl_80368814 +/* 803687E8 00365748 88 FF 00 00 */ lbz r7, 0(r31) +/* 803687EC 0036574C 38 61 00 34 */ addi r3, r1, 0x34 +/* 803687F0 00365750 80 DE 00 00 */ lwz r6, 0(r30) +/* 803687F4 00365754 38 81 00 30 */ addi r4, r1, 0x30 +/* 803687F8 00365758 80 1D 00 00 */ lwz r0, 0(r29) +/* 803687FC 0036575C 38 A1 00 14 */ addi r5, r1, 0x14 +/* 80368800 00365760 98 E1 00 14 */ stb r7, 0x14(r1) +/* 80368804 00365764 90 C1 00 30 */ stw r6, 0x30(r1) +/* 80368808 00365768 90 01 00 34 */ stw r0, 0x34(r1) +/* 8036880C 0036576C 48 00 06 05 */ bl sub_80368e10 +/* 80368810 00365770 48 00 01 48 */ b lbl_80368958 +lbl_80368814: +/* 80368814 00365774 54 80 0F FE */ srwi r0, r4, 0x1f +/* 80368818 00365778 38 A6 FF F6 */ addi r5, r6, -10 +/* 8036881C 0036577C 7C 80 22 14 */ add r4, r0, r4 +/* 80368820 00365780 88 1F 00 00 */ lbz r0, 0(r31) +/* 80368824 00365784 7C 84 0E 70 */ srawi r4, r4, 1 +/* 80368828 00365788 90 A1 00 3C */ stw r5, 0x3c(r1) +/* 8036882C 0036578C 1C 84 00 0A */ mulli r4, r4, 0xa +/* 80368830 00365790 38 C1 00 10 */ addi r6, r1, 0x10 +/* 80368834 00365794 98 01 00 10 */ stb r0, 0x10(r1) +/* 80368838 00365798 7F 83 22 14 */ add r28, r3, r4 +/* 8036883C 0036579C 7F 84 E3 78 */ mr r4, r28 +/* 80368840 003657A0 48 00 05 15 */ bl sub_80368d54 +/* 80368844 003657A4 80 9D 00 00 */ lwz r4, 0(r29) +/* 80368848 003657A8 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 8036884C 003657AC 38 84 00 0A */ addi r4, r4, 0xa +/* 80368850 003657B0 81 3C 00 00 */ lwz r9, 0(r28) +/* 80368854 003657B4 38 03 FF F6 */ addi r0, r3, -10 +/* 80368858 003657B8 90 81 00 38 */ stw r4, 0x38(r1) +/* 8036885C 003657BC 90 01 00 3C */ stw r0, 0x3c(r1) +/* 80368860 003657C0 48 00 00 10 */ b lbl_80368870 +lbl_80368864: +/* 80368864 003657C4 80 61 00 38 */ lwz r3, 0x38(r1) +/* 80368868 003657C8 38 03 00 0A */ addi r0, r3, 0xa +/* 8036886C 003657CC 90 01 00 38 */ stw r0, 0x38(r1) +lbl_80368870: +/* 80368870 003657D0 80 61 00 38 */ lwz r3, 0x38(r1) +/* 80368874 003657D4 80 03 00 00 */ lwz r0, 0(r3) +/* 80368878 003657D8 7C 00 48 40 */ cmplw r0, r9 +/* 8036887C 003657DC 41 80 FF E8 */ blt lbl_80368864 +/* 80368880 003657E0 48 00 00 10 */ b lbl_80368890 +lbl_80368884: +/* 80368884 003657E4 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 80368888 003657E8 38 03 FF F6 */ addi r0, r3, -10 +/* 8036888C 003657EC 90 01 00 3C */ stw r0, 0x3c(r1) +lbl_80368890: +/* 80368890 003657F0 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 80368894 003657F4 80 03 00 00 */ lwz r0, 0(r3) +/* 80368898 003657F8 7C 09 00 40 */ cmplw r9, r0 +/* 8036889C 003657FC 41 80 FF E8 */ blt lbl_80368884 +/* 803688A0 00365800 80 01 00 38 */ lwz r0, 0x38(r1) +/* 803688A4 00365804 7C 00 18 40 */ cmplw r0, r3 +/* 803688A8 00365808 40 80 00 60 */ bge lbl_80368908 +/* 803688AC 0036580C 80 E1 00 38 */ lwz r7, 0x38(r1) +/* 803688B0 00365810 81 01 00 3C */ lwz r8, 0x3c(r1) +/* 803688B4 00365814 80 C7 00 04 */ lwz r6, 4(r7) +/* 803688B8 00365818 38 67 00 0A */ addi r3, r7, 0xa +/* 803688BC 0036581C A0 A7 00 08 */ lhz r5, 8(r7) +/* 803688C0 00365820 38 08 FF F6 */ addi r0, r8, -10 +/* 803688C4 00365824 81 47 00 00 */ lwz r10, 0(r7) +/* 803688C8 00365828 80 88 00 00 */ lwz r4, 0(r8) +/* 803688CC 0036582C 91 01 00 28 */ stw r8, 0x28(r1) +/* 803688D0 00365830 90 87 00 00 */ stw r4, 0(r7) +/* 803688D4 00365834 80 88 00 04 */ lwz r4, 4(r8) +/* 803688D8 00365838 90 E1 00 2C */ stw r7, 0x2c(r1) +/* 803688DC 0036583C 90 87 00 04 */ stw r4, 4(r7) +/* 803688E0 00365840 A0 88 00 08 */ lhz r4, 8(r8) +/* 803688E4 00365844 90 C1 00 44 */ stw r6, 0x44(r1) +/* 803688E8 00365848 B0 87 00 08 */ sth r4, 8(r7) +/* 803688EC 0036584C 91 48 00 00 */ stw r10, 0(r8) +/* 803688F0 00365850 90 C8 00 04 */ stw r6, 4(r8) +/* 803688F4 00365854 B0 A1 00 48 */ sth r5, 0x48(r1) +/* 803688F8 00365858 B0 A8 00 08 */ sth r5, 8(r8) +/* 803688FC 0036585C 90 61 00 38 */ stw r3, 0x38(r1) +/* 80368900 00365860 90 01 00 3C */ stw r0, 0x3c(r1) +/* 80368904 00365864 4B FF FF 6C */ b lbl_80368870 +lbl_80368908: +/* 80368908 00365868 88 FF 00 00 */ lbz r7, 0(r31) +/* 8036890C 0036586C 38 61 00 24 */ addi r3, r1, 0x24 +/* 80368910 00365870 80 C1 00 38 */ lwz r6, 0x38(r1) +/* 80368914 00365874 38 81 00 20 */ addi r4, r1, 0x20 +/* 80368918 00365878 80 1D 00 00 */ lwz r0, 0(r29) +/* 8036891C 0036587C 38 A1 00 0C */ addi r5, r1, 0xc +/* 80368920 00365880 98 E1 00 0C */ stb r7, 0xc(r1) +/* 80368924 00365884 90 C1 00 20 */ stw r6, 0x20(r1) +/* 80368928 00365888 90 01 00 24 */ stw r0, 0x24(r1) +/* 8036892C 0036588C 4B FF FE 61 */ bl sub_8036878c +/* 80368930 00365890 88 FF 00 00 */ lbz r7, 0(r31) +/* 80368934 00365894 38 61 00 1C */ addi r3, r1, 0x1c +/* 80368938 00365898 80 DE 00 00 */ lwz r6, 0(r30) +/* 8036893C 0036589C 38 81 00 18 */ addi r4, r1, 0x18 +/* 80368940 003658A0 80 01 00 38 */ lwz r0, 0x38(r1) +/* 80368944 003658A4 38 A1 00 08 */ addi r5, r1, 8 +/* 80368948 003658A8 98 E1 00 08 */ stb r7, 8(r1) +/* 8036894C 003658AC 90 C1 00 18 */ stw r6, 0x18(r1) +/* 80368950 003658B0 90 01 00 1C */ stw r0, 0x1c(r1) +/* 80368954 003658B4 4B FF FE 39 */ bl sub_8036878c +lbl_80368958: +/* 80368958 003658B8 80 01 00 64 */ lwz r0, 0x64(r1) +/* 8036895C 003658BC 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 80368960 003658C0 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 80368964 003658C4 83 A1 00 54 */ lwz r29, 0x54(r1) +/* 80368968 003658C8 83 81 00 50 */ lwz r28, 0x50(r1) +/* 8036896C 003658CC 7C 08 03 A6 */ mtlr r0 +/* 80368970 003658D0 38 21 00 60 */ addi r1, r1, 0x60 +/* 80368974 003658D4 4E 80 00 20 */ blr + +.global sub_80368978 +sub_80368978: +/* 80368978 003658D8 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8036897C 003658DC 7C 08 02 A6 */ mflr r0 +/* 80368980 003658E0 90 01 00 34 */ stw r0, 0x34(r1) +/* 80368984 003658E4 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 80368988 003658E8 7C 9F 23 78 */ mr r31, r4 +/* 8036898C 003658EC 7C 7E 1B 78 */ mr r30, r3 +/* 80368990 003658F0 7C DB 33 78 */ mr r27, r6 +/* 80368994 003658F4 38 61 00 0C */ addi r3, r1, 0xc +/* 80368998 003658F8 80 85 00 00 */ lwz r4, 0(r5) +/* 8036899C 003658FC 80 1F 00 00 */ lwz r0, 0(r31) +/* 803689A0 00365900 90 81 00 08 */ stw r4, 8(r1) +/* 803689A4 00365904 38 81 00 08 */ addi r4, r1, 8 +/* 803689A8 00365908 90 01 00 0C */ stw r0, 0xc(r1) +/* 803689AC 0036590C 48 00 02 D1 */ bl sub_80368c7c +/* 803689B0 00365910 80 1F 00 00 */ lwz r0, 0(r31) +/* 803689B4 00365914 7C 7D 1B 78 */ mr r29, r3 +/* 803689B8 00365918 90 01 00 10 */ stw r0, 0x10(r1) +/* 803689BC 0036591C 48 00 00 58 */ b lbl_80368A14 +lbl_803689C0: +/* 803689C0 00365920 57 A3 0F FE */ srwi r3, r29, 0x1f +/* 803689C4 00365924 80 1F 00 00 */ lwz r0, 0(r31) +/* 803689C8 00365928 7C 83 EA 14 */ add r4, r3, r29 +/* 803689CC 0036592C 38 61 00 10 */ addi r3, r1, 0x10 +/* 803689D0 00365930 7C 9C 0E 70 */ srawi r28, r4, 1 +/* 803689D4 00365934 90 01 00 10 */ stw r0, 0x10(r1) +/* 803689D8 00365938 7F 84 E3 78 */ mr r4, r28 +/* 803689DC 0036593C 48 00 02 21 */ bl sub_80368bfc +/* 803689E0 00365940 80 81 00 10 */ lwz r4, 0x10(r1) +/* 803689E4 00365944 80 1B 00 00 */ lwz r0, 0(r27) +/* 803689E8 00365948 80 64 00 00 */ lwz r3, 0(r4) +/* 803689EC 0036594C 7C 03 00 40 */ cmplw r3, r0 +/* 803689F0 00365950 40 80 00 20 */ bge lbl_80368A10 +/* 803689F4 00365954 90 9F 00 00 */ stw r4, 0(r31) +/* 803689F8 00365958 7C 7C E8 50 */ subf r3, r28, r29 +/* 803689FC 0036595C 3B A3 FF FF */ addi r29, r3, -1 +/* 80368A00 00365960 80 7F 00 00 */ lwz r3, 0(r31) +/* 80368A04 00365964 38 03 00 0A */ addi r0, r3, 0xa +/* 80368A08 00365968 90 1F 00 00 */ stw r0, 0(r31) +/* 80368A0C 0036596C 48 00 00 08 */ b lbl_80368A14 +lbl_80368A10: +/* 80368A10 00365970 7F 9D E3 78 */ mr r29, r28 +lbl_80368A14: +/* 80368A14 00365974 2C 1D 00 00 */ cmpwi r29, 0 +/* 80368A18 00365978 41 81 FF A8 */ bgt lbl_803689C0 +/* 80368A1C 0036597C 80 1F 00 00 */ lwz r0, 0(r31) +/* 80368A20 00365980 90 1E 00 00 */ stw r0, 0(r30) +/* 80368A24 00365984 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 80368A28 00365988 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80368A2C 0036598C 7C 08 03 A6 */ mtlr r0 +/* 80368A30 00365990 38 21 00 30 */ addi r1, r1, 0x30 +/* 80368A34 00365994 4E 80 00 20 */ blr + +.global sub_80368a38 +sub_80368a38: +/* 80368A38 00365998 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80368A3C 0036599C 7C 08 02 A6 */ mflr r0 +/* 80368A40 003659A0 90 01 00 34 */ stw r0, 0x34(r1) +/* 80368A44 003659A4 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 80368A48 003659A8 7C 9F 23 78 */ mr r31, r4 +/* 80368A4C 003659AC 7C 7E 1B 78 */ mr r30, r3 +/* 80368A50 003659B0 7C DB 33 78 */ mr r27, r6 +/* 80368A54 003659B4 38 61 00 0C */ addi r3, r1, 0xc +/* 80368A58 003659B8 80 85 00 00 */ lwz r4, 0(r5) +/* 80368A5C 003659BC 80 1F 00 00 */ lwz r0, 0(r31) +/* 80368A60 003659C0 90 81 00 08 */ stw r4, 8(r1) +/* 80368A64 003659C4 38 81 00 08 */ addi r4, r1, 8 +/* 80368A68 003659C8 90 01 00 0C */ stw r0, 0xc(r1) +/* 80368A6C 003659CC 48 00 02 55 */ bl sub_80368cc0 +/* 80368A70 003659D0 80 1F 00 00 */ lwz r0, 0(r31) +/* 80368A74 003659D4 7C 7D 1B 78 */ mr r29, r3 +/* 80368A78 003659D8 90 01 00 10 */ stw r0, 0x10(r1) +/* 80368A7C 003659DC 48 00 00 58 */ b lbl_80368AD4 +lbl_80368A80: +/* 80368A80 003659E0 57 A3 0F FE */ srwi r3, r29, 0x1f +/* 80368A84 003659E4 80 1F 00 00 */ lwz r0, 0(r31) +/* 80368A88 003659E8 7C 83 EA 14 */ add r4, r3, r29 +/* 80368A8C 003659EC 38 61 00 10 */ addi r3, r1, 0x10 +/* 80368A90 003659F0 7C 9C 0E 70 */ srawi r28, r4, 1 +/* 80368A94 003659F4 90 01 00 10 */ stw r0, 0x10(r1) +/* 80368A98 003659F8 7F 84 E3 78 */ mr r4, r28 +/* 80368A9C 003659FC 48 00 01 8D */ bl sub_80368c28 +/* 80368AA0 00365A00 80 81 00 10 */ lwz r4, 0x10(r1) +/* 80368AA4 00365A04 80 1B 00 00 */ lwz r0, 0(r27) +/* 80368AA8 00365A08 80 64 00 00 */ lwz r3, 0(r4) +/* 80368AAC 00365A0C 7C 03 00 40 */ cmplw r3, r0 +/* 80368AB0 00365A10 40 80 00 20 */ bge lbl_80368AD0 +/* 80368AB4 00365A14 90 9F 00 00 */ stw r4, 0(r31) +/* 80368AB8 00365A18 7C 7C E8 50 */ subf r3, r28, r29 +/* 80368ABC 00365A1C 3B A3 FF FF */ addi r29, r3, -1 +/* 80368AC0 00365A20 80 7F 00 00 */ lwz r3, 0(r31) +/* 80368AC4 00365A24 38 03 00 0A */ addi r0, r3, 0xa +/* 80368AC8 00365A28 90 1F 00 00 */ stw r0, 0(r31) +/* 80368ACC 00365A2C 48 00 00 08 */ b lbl_80368AD4 +lbl_80368AD0: +/* 80368AD0 00365A30 7F 9D E3 78 */ mr r29, r28 +lbl_80368AD4: +/* 80368AD4 00365A34 2C 1D 00 00 */ cmpwi r29, 0 +/* 80368AD8 00365A38 41 81 FF A8 */ bgt lbl_80368A80 +/* 80368ADC 00365A3C 80 1F 00 00 */ lwz r0, 0(r31) +/* 80368AE0 00365A40 90 1E 00 00 */ stw r0, 0(r30) +/* 80368AE4 00365A44 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 80368AE8 00365A48 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80368AEC 00365A4C 7C 08 03 A6 */ mtlr r0 +/* 80368AF0 00365A50 38 21 00 30 */ addi r1, r1, 0x30 +/* 80368AF4 00365A54 4E 80 00 20 */ blr + +.global sub_80368af8 +sub_80368af8: +/* 80368AF8 00365A58 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80368AFC 00365A5C 7C 08 02 A6 */ mflr r0 +/* 80368B00 00365A60 90 01 00 34 */ stw r0, 0x34(r1) +/* 80368B04 00365A64 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80368B08 00365A68 7C 9F 23 78 */ mr r31, r4 +/* 80368B0C 00365A6C 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80368B10 00365A70 7C 7E 1B 78 */ mr r30, r3 +/* 80368B14 00365A74 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80368B18 00365A78 80 03 00 08 */ lwz r0, 8(r3) +/* 80368B1C 00365A7C 7C 1F 00 00 */ cmpw r31, r0 +/* 80368B20 00365A80 40 81 00 C0 */ ble lbl_80368BE0 +/* 80368B24 00365A84 1C 7F 00 0A */ mulli r3, r31, 0xa +/* 80368B28 00365A88 2C 03 00 00 */ cmpwi r3, 0 +/* 80368B2C 00365A8C 40 82 00 0C */ bne lbl_80368B38 +/* 80368B30 00365A90 3B A0 00 00 */ li r29, 0 +/* 80368B34 00365A94 48 00 00 1C */ b lbl_80368B50 +lbl_80368B38: +/* 80368B38 00365A98 3C 80 80 3E */ lis r4, lbl_803D84E0@ha +/* 80368B3C 00365A9C 38 A0 00 00 */ li r5, 0 +/* 80368B40 00365AA0 38 84 84 E0 */ addi r4, r4, lbl_803D84E0@l +/* 80368B44 00365AA4 38 84 00 4C */ addi r4, r4, 0x4c +/* 80368B48 00365AA8 4B FA CC D1 */ bl __nwa__FUlPCcPCc +/* 80368B4C 00365AAC 7C 7D 1B 78 */ mr r29, r3 +lbl_80368B50: +/* 80368B50 00365AB0 80 1E 00 04 */ lwz r0, 4(r30) +/* 80368B54 00365AB4 7F A4 EB 78 */ mr r4, r29 +/* 80368B58 00365AB8 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 80368B5C 00365ABC 1C 00 00 0A */ mulli r0, r0, 0xa +/* 80368B60 00365AC0 90 A1 00 10 */ stw r5, 0x10(r1) +/* 80368B64 00365AC4 7C 65 02 14 */ add r3, r5, r0 +/* 80368B68 00365AC8 90 A1 00 14 */ stw r5, 0x14(r1) +/* 80368B6C 00365ACC 90 61 00 08 */ stw r3, 8(r1) +/* 80368B70 00365AD0 90 61 00 0C */ stw r3, 0xc(r1) +/* 80368B74 00365AD4 48 00 00 2C */ b lbl_80368BA0 +lbl_80368B78: +/* 80368B78 00365AD8 28 04 00 00 */ cmplwi r4, 0 +/* 80368B7C 00365ADC 41 82 00 1C */ beq lbl_80368B98 +/* 80368B80 00365AE0 80 05 00 00 */ lwz r0, 0(r5) +/* 80368B84 00365AE4 90 04 00 00 */ stw r0, 0(r4) +/* 80368B88 00365AE8 80 05 00 04 */ lwz r0, 4(r5) +/* 80368B8C 00365AEC 90 04 00 04 */ stw r0, 4(r4) +/* 80368B90 00365AF0 A0 05 00 08 */ lhz r0, 8(r5) +/* 80368B94 00365AF4 B0 04 00 08 */ sth r0, 8(r4) +lbl_80368B98: +/* 80368B98 00365AF8 38 84 00 0A */ addi r4, r4, 0xa +/* 80368B9C 00365AFC 38 A5 00 0A */ addi r5, r5, 0xa +lbl_80368BA0: +/* 80368BA0 00365B00 7C 05 18 40 */ cmplw r5, r3 +/* 80368BA4 00365B04 40 82 FF D4 */ bne lbl_80368B78 +/* 80368BA8 00365B08 80 1E 00 04 */ lwz r0, 4(r30) +/* 80368BAC 00365B0C 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80368BB0 00365B10 1C 00 00 0A */ mulli r0, r0, 0xa +/* 80368BB4 00365B14 7C 64 1B 78 */ mr r4, r3 +/* 80368BB8 00365B18 7C 03 02 14 */ add r0, r3, r0 +/* 80368BBC 00365B1C 48 00 00 08 */ b lbl_80368BC4 +lbl_80368BC0: +/* 80368BC0 00365B20 38 84 00 0A */ addi r4, r4, 0xa +lbl_80368BC4: +/* 80368BC4 00365B24 7C 04 00 40 */ cmplw r4, r0 +/* 80368BC8 00365B28 40 82 FF F8 */ bne lbl_80368BC0 +/* 80368BCC 00365B2C 28 03 00 00 */ cmplwi r3, 0 +/* 80368BD0 00365B30 41 82 00 08 */ beq lbl_80368BD8 +/* 80368BD4 00365B34 4B FA CD 5D */ bl Free__7CMemoryFPCv +lbl_80368BD8: +/* 80368BD8 00365B38 93 BE 00 0C */ stw r29, 0xc(r30) +/* 80368BDC 00365B3C 93 FE 00 08 */ stw r31, 8(r30) +lbl_80368BE0: +/* 80368BE0 00365B40 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80368BE4 00365B44 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80368BE8 00365B48 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80368BEC 00365B4C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80368BF0 00365B50 7C 08 03 A6 */ mtlr r0 +/* 80368BF4 00365B54 38 21 00 30 */ addi r1, r1, 0x30 +/* 80368BF8 00365B58 4E 80 00 20 */ blr + +.global sub_80368bfc +sub_80368bfc: +/* 80368BFC 00365B5C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80368C00 00365B60 7C 08 02 A6 */ mflr r0 +/* 80368C04 00365B64 90 01 00 14 */ stw r0, 0x14(r1) +/* 80368C08 00365B68 38 A1 00 0C */ addi r5, r1, 0xc +/* 80368C0C 00365B6C 88 01 00 08 */ lbz r0, 8(r1) +/* 80368C10 00365B70 98 01 00 0C */ stb r0, 0xc(r1) +/* 80368C14 00365B74 48 00 00 55 */ bl sub_80368c68 +/* 80368C18 00365B78 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80368C1C 00365B7C 7C 08 03 A6 */ mtlr r0 +/* 80368C20 00365B80 38 21 00 10 */ addi r1, r1, 0x10 +/* 80368C24 00365B84 4E 80 00 20 */ blr + +.global sub_80368c28 +sub_80368c28: +/* 80368C28 00365B88 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80368C2C 00365B8C 7C 08 02 A6 */ mflr r0 +/* 80368C30 00365B90 90 01 00 14 */ stw r0, 0x14(r1) +/* 80368C34 00365B94 38 A1 00 0C */ addi r5, r1, 0xc +/* 80368C38 00365B98 88 01 00 08 */ lbz r0, 8(r1) +/* 80368C3C 00365B9C 98 01 00 0C */ stb r0, 0xc(r1) +/* 80368C40 00365BA0 48 00 00 15 */ bl sub_80368c54 +/* 80368C44 00365BA4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80368C48 00365BA8 7C 08 03 A6 */ mtlr r0 +/* 80368C4C 00365BAC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80368C50 00365BB0 4E 80 00 20 */ blr + +.global sub_80368c54 +sub_80368c54: +/* 80368C54 00365BB4 1C 04 00 0A */ mulli r0, r4, 0xa +/* 80368C58 00365BB8 80 83 00 00 */ lwz r4, 0(r3) +/* 80368C5C 00365BBC 7C 04 02 14 */ add r0, r4, r0 +/* 80368C60 00365BC0 90 03 00 00 */ stw r0, 0(r3) +/* 80368C64 00365BC4 4E 80 00 20 */ blr + +.global sub_80368c68 +sub_80368c68: +/* 80368C68 00365BC8 1C 04 00 0A */ mulli r0, r4, 0xa +/* 80368C6C 00365BCC 80 83 00 00 */ lwz r4, 0(r3) +/* 80368C70 00365BD0 7C 04 02 14 */ add r0, r4, r0 +/* 80368C74 00365BD4 90 03 00 00 */ stw r0, 0(r3) +/* 80368C78 00365BD8 4E 80 00 20 */ blr + +.global sub_80368c7c +sub_80368c7c: +/* 80368C7C 00365BDC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80368C80 00365BE0 7C 08 02 A6 */ mflr r0 +/* 80368C84 00365BE4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80368C88 00365BE8 38 A1 00 0C */ addi r5, r1, 0xc +/* 80368C8C 00365BEC 88 E1 00 08 */ lbz r7, 8(r1) +/* 80368C90 00365BF0 80 C4 00 00 */ lwz r6, 0(r4) +/* 80368C94 00365BF4 38 81 00 10 */ addi r4, r1, 0x10 +/* 80368C98 00365BF8 80 03 00 00 */ lwz r0, 0(r3) +/* 80368C9C 00365BFC 38 61 00 14 */ addi r3, r1, 0x14 +/* 80368CA0 00365C00 90 C1 00 10 */ stw r6, 0x10(r1) +/* 80368CA4 00365C04 98 E1 00 0C */ stb r7, 0xc(r1) +/* 80368CA8 00365C08 90 01 00 14 */ stw r0, 0x14(r1) +/* 80368CAC 00365C0C 48 00 00 81 */ bl sub_80368d2c +/* 80368CB0 00365C10 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80368CB4 00365C14 7C 08 03 A6 */ mtlr r0 +/* 80368CB8 00365C18 38 21 00 20 */ addi r1, r1, 0x20 +/* 80368CBC 00365C1C 4E 80 00 20 */ blr + +.global sub_80368cc0 +sub_80368cc0: +/* 80368CC0 00365C20 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80368CC4 00365C24 7C 08 02 A6 */ mflr r0 +/* 80368CC8 00365C28 90 01 00 24 */ stw r0, 0x24(r1) +/* 80368CCC 00365C2C 38 A1 00 0C */ addi r5, r1, 0xc +/* 80368CD0 00365C30 88 E1 00 08 */ lbz r7, 8(r1) +/* 80368CD4 00365C34 80 C4 00 00 */ lwz r6, 0(r4) +/* 80368CD8 00365C38 38 81 00 10 */ addi r4, r1, 0x10 +/* 80368CDC 00365C3C 80 03 00 00 */ lwz r0, 0(r3) +/* 80368CE0 00365C40 38 61 00 14 */ addi r3, r1, 0x14 +/* 80368CE4 00365C44 90 C1 00 10 */ stw r6, 0x10(r1) +/* 80368CE8 00365C48 98 E1 00 0C */ stb r7, 0xc(r1) +/* 80368CEC 00365C4C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80368CF0 00365C50 48 00 00 15 */ bl sub_80368d04 +/* 80368CF4 00365C54 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80368CF8 00365C58 7C 08 03 A6 */ mtlr r0 +/* 80368CFC 00365C5C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80368D00 00365C60 4E 80 00 20 */ blr + +.global sub_80368d04 +sub_80368d04: +/* 80368D04 00365C64 80 A3 00 00 */ lwz r5, 0(r3) +/* 80368D08 00365C68 3C 60 66 66 */ lis r3, 0x66666667@ha +/* 80368D0C 00365C6C 80 04 00 00 */ lwz r0, 0(r4) +/* 80368D10 00365C70 38 63 66 67 */ addi r3, r3, 0x66666667@l +/* 80368D14 00365C74 7C 05 00 50 */ subf r0, r5, r0 +/* 80368D18 00365C78 7C 03 00 96 */ mulhw r0, r3, r0 +/* 80368D1C 00365C7C 7C 00 16 70 */ srawi r0, r0, 2 +/* 80368D20 00365C80 54 03 0F FE */ srwi r3, r0, 0x1f +/* 80368D24 00365C84 7C 60 1A 14 */ add r3, r0, r3 +/* 80368D28 00365C88 4E 80 00 20 */ blr + +.global sub_80368d2c +sub_80368d2c: +/* 80368D2C 00365C8C 80 A3 00 00 */ lwz r5, 0(r3) +/* 80368D30 00365C90 3C 60 66 66 */ lis r3, 0x66666667@ha +/* 80368D34 00365C94 80 04 00 00 */ lwz r0, 0(r4) +/* 80368D38 00365C98 38 63 66 67 */ addi r3, r3, 0x66666667@l +/* 80368D3C 00365C9C 7C 05 00 50 */ subf r0, r5, r0 +/* 80368D40 00365CA0 7C 03 00 96 */ mulhw r0, r3, r0 +/* 80368D44 00365CA4 7C 00 16 70 */ srawi r0, r0, 2 +/* 80368D48 00365CA8 54 03 0F FE */ srwi r3, r0, 0x1f +/* 80368D4C 00365CAC 7C 60 1A 14 */ add r3, r0, r3 +/* 80368D50 00365CB0 4E 80 00 20 */ blr + +.global sub_80368d54 +sub_80368d54: +/* 80368D54 00365CB4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80368D58 00365CB8 80 04 00 00 */ lwz r0, 0(r4) +/* 80368D5C 00365CBC 81 03 00 00 */ lwz r8, 0(r3) +/* 80368D60 00365CC0 7C 00 40 40 */ cmplw r0, r8 +/* 80368D64 00365CC4 40 80 00 34 */ bge lbl_80368D98 +/* 80368D68 00365CC8 80 E3 00 04 */ lwz r7, 4(r3) +/* 80368D6C 00365CCC A0 C3 00 08 */ lhz r6, 8(r3) +/* 80368D70 00365CD0 90 E1 00 0C */ stw r7, 0xc(r1) +/* 80368D74 00365CD4 90 03 00 00 */ stw r0, 0(r3) +/* 80368D78 00365CD8 80 04 00 04 */ lwz r0, 4(r4) +/* 80368D7C 00365CDC B0 C1 00 10 */ sth r6, 0x10(r1) +/* 80368D80 00365CE0 90 03 00 04 */ stw r0, 4(r3) +/* 80368D84 00365CE4 A0 04 00 08 */ lhz r0, 8(r4) +/* 80368D88 00365CE8 B0 03 00 08 */ sth r0, 8(r3) +/* 80368D8C 00365CEC 91 04 00 00 */ stw r8, 0(r4) +/* 80368D90 00365CF0 90 E4 00 04 */ stw r7, 4(r4) +/* 80368D94 00365CF4 B0 C4 00 08 */ sth r6, 8(r4) +lbl_80368D98: +/* 80368D98 00365CF8 81 05 00 00 */ lwz r8, 0(r5) +/* 80368D9C 00365CFC 80 04 00 00 */ lwz r0, 0(r4) +/* 80368DA0 00365D00 7C 08 00 40 */ cmplw r8, r0 +/* 80368DA4 00365D04 40 80 00 64 */ bge lbl_80368E08 +/* 80368DA8 00365D08 80 E5 00 04 */ lwz r7, 4(r5) +/* 80368DAC 00365D0C A0 C5 00 08 */ lhz r6, 8(r5) +/* 80368DB0 00365D10 90 E1 00 18 */ stw r7, 0x18(r1) +/* 80368DB4 00365D14 90 05 00 00 */ stw r0, 0(r5) +/* 80368DB8 00365D18 80 04 00 04 */ lwz r0, 4(r4) +/* 80368DBC 00365D1C B0 C1 00 1C */ sth r6, 0x1c(r1) +/* 80368DC0 00365D20 90 05 00 04 */ stw r0, 4(r5) +/* 80368DC4 00365D24 A0 04 00 08 */ lhz r0, 8(r4) +/* 80368DC8 00365D28 B0 05 00 08 */ sth r0, 8(r5) +/* 80368DCC 00365D2C 80 03 00 00 */ lwz r0, 0(r3) +/* 80368DD0 00365D30 7C 08 00 40 */ cmplw r8, r0 +/* 80368DD4 00365D34 40 80 00 28 */ bge lbl_80368DFC +/* 80368DD8 00365D38 90 04 00 00 */ stw r0, 0(r4) +/* 80368DDC 00365D3C 80 03 00 04 */ lwz r0, 4(r3) +/* 80368DE0 00365D40 90 04 00 04 */ stw r0, 4(r4) +/* 80368DE4 00365D44 A0 03 00 08 */ lhz r0, 8(r3) +/* 80368DE8 00365D48 B0 04 00 08 */ sth r0, 8(r4) +/* 80368DEC 00365D4C 91 03 00 00 */ stw r8, 0(r3) +/* 80368DF0 00365D50 90 E3 00 04 */ stw r7, 4(r3) +/* 80368DF4 00365D54 B0 C3 00 08 */ sth r6, 8(r3) +/* 80368DF8 00365D58 48 00 00 10 */ b lbl_80368E08 +lbl_80368DFC: +/* 80368DFC 00365D5C 91 04 00 00 */ stw r8, 0(r4) +/* 80368E00 00365D60 90 E4 00 04 */ stw r7, 4(r4) +/* 80368E04 00365D64 B0 C4 00 08 */ sth r6, 8(r4) +lbl_80368E08: +/* 80368E08 00365D68 38 21 00 20 */ addi r1, r1, 0x20 +/* 80368E0C 00365D6C 4E 80 00 20 */ blr + +.global sub_80368e10 +sub_80368e10: +/* 80368E10 00365D70 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80368E14 00365D74 80 C3 00 00 */ lwz r6, 0(r3) +/* 80368E18 00365D78 38 C6 00 0A */ addi r6, r6, 0xa +/* 80368E1C 00365D7C 48 00 00 74 */ b lbl_80368E90 +lbl_80368E20: +/* 80368E20 00365D80 80 A6 00 04 */ lwz r5, 4(r6) +/* 80368E24 00365D84 7C C8 33 78 */ mr r8, r6 +/* 80368E28 00365D88 A0 06 00 08 */ lhz r0, 8(r6) +/* 80368E2C 00365D8C 38 E6 FF F6 */ addi r7, r6, -10 +/* 80368E30 00365D90 90 A1 00 0C */ stw r5, 0xc(r1) +/* 80368E34 00365D94 80 A6 00 00 */ lwz r5, 0(r6) +/* 80368E38 00365D98 B0 01 00 10 */ sth r0, 0x10(r1) +/* 80368E3C 00365D9C 48 00 00 24 */ b lbl_80368E60 +lbl_80368E40: +/* 80368E40 00365DA0 80 07 00 00 */ lwz r0, 0(r7) +/* 80368E44 00365DA4 90 08 00 00 */ stw r0, 0(r8) +/* 80368E48 00365DA8 80 07 00 04 */ lwz r0, 4(r7) +/* 80368E4C 00365DAC 90 08 00 04 */ stw r0, 4(r8) +/* 80368E50 00365DB0 A0 07 00 08 */ lhz r0, 8(r7) +/* 80368E54 00365DB4 38 E7 FF F6 */ addi r7, r7, -10 +/* 80368E58 00365DB8 B0 08 00 08 */ sth r0, 8(r8) +/* 80368E5C 00365DBC 39 08 FF F6 */ addi r8, r8, -10 +lbl_80368E60: +/* 80368E60 00365DC0 80 03 00 00 */ lwz r0, 0(r3) +/* 80368E64 00365DC4 7C 00 40 40 */ cmplw r0, r8 +/* 80368E68 00365DC8 40 80 00 10 */ bge lbl_80368E78 +/* 80368E6C 00365DCC 80 07 00 00 */ lwz r0, 0(r7) +/* 80368E70 00365DD0 7C 05 00 40 */ cmplw r5, r0 +/* 80368E74 00365DD4 41 80 FF CC */ blt lbl_80368E40 +lbl_80368E78: +/* 80368E78 00365DD8 90 A8 00 00 */ stw r5, 0(r8) +/* 80368E7C 00365DDC 38 C6 00 0A */ addi r6, r6, 0xa +/* 80368E80 00365DE0 80 A1 00 0C */ lwz r5, 0xc(r1) +/* 80368E84 00365DE4 A0 01 00 10 */ lhz r0, 0x10(r1) +/* 80368E88 00365DE8 90 A8 00 04 */ stw r5, 4(r8) +/* 80368E8C 00365DEC B0 08 00 08 */ sth r0, 8(r8) +lbl_80368E90: +/* 80368E90 00365DF0 80 04 00 00 */ lwz r0, 0(r4) +/* 80368E94 00365DF4 7C 06 00 40 */ cmplw r6, r0 +/* 80368E98 00365DF8 41 80 FF 88 */ blt lbl_80368E20 +/* 80368E9C 00365DFC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80368EA0 00365E00 4E 80 00 20 */ blr diff --git a/asm/Kyoto/CRandom16.s b/asm/Kyoto/CRandom16.s new file mode 100644 index 00000000..4b004a01 --- /dev/null +++ b/asm/Kyoto/CRandom16.s @@ -0,0 +1,166 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global Float__9CRandom16Fv +Float__9CRandom16Fv: +/* 803124DC 0030F43C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803124E0 0030F440 7C 08 02 A6 */ mflr r0 +/* 803124E4 0030F444 90 01 00 14 */ stw r0, 0x14(r1) +/* 803124E8 0030F448 48 00 00 39 */ bl Next__9CRandom16Fv +/* 803124EC 0030F44C 6C 63 80 00 */ xoris r3, r3, 0x8000 +/* 803124F0 0030F450 3C 00 43 30 */ lis r0, 0x4330 +/* 803124F4 0030F454 90 61 00 0C */ stw r3, 0xc(r1) +/* 803124F8 0030F458 C8 22 C8 C8 */ lfd f1, lbl_805AE5E8@sda21(r2) +/* 803124FC 0030F45C 90 01 00 08 */ stw r0, 8(r1) +/* 80312500 0030F460 C0 42 C8 C0 */ lfs f2, lbl_805AE5E0@sda21(r2) +/* 80312504 0030F464 C8 01 00 08 */ lfd f0, 8(r1) +/* 80312508 0030F468 EC 00 08 28 */ fsubs f0, f0, f1 +/* 8031250C 0030F46C EC 22 00 32 */ fmuls f1, f2, f0 +/* 80312510 0030F470 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80312514 0030F474 7C 08 03 A6 */ mtlr r0 +/* 80312518 0030F478 38 21 00 10 */ addi r1, r1, 0x10 +/* 8031251C 0030F47C 4E 80 00 20 */ blr + +.global Next__9CRandom16Fv +Next__9CRandom16Fv: +/* 80312520 0030F480 3C 80 41 C6 */ lis r4, 0x41C64E6D@ha +/* 80312524 0030F484 80 A3 00 00 */ lwz r5, 0(r3) +/* 80312528 0030F488 38 04 4E 6D */ addi r0, r4, 0x41C64E6D@l +/* 8031252C 0030F48C 7C 85 01 D6 */ mullw r4, r5, r0 +/* 80312530 0030F490 38 04 30 39 */ addi r0, r4, 0x3039 +/* 80312534 0030F494 90 03 00 00 */ stw r0, 0(r3) +/* 80312538 0030F498 80 03 00 00 */ lwz r0, 0(r3) +/* 8031253C 0030F49C 54 03 84 3E */ srwi r3, r0, 0x10 +/* 80312540 0030F4A0 4E 80 00 20 */ blr + +.global Range__9CRandom16Fff +Range__9CRandom16Fff: +/* 80312544 0030F4A4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80312548 0030F4A8 7C 08 02 A6 */ mflr r0 +/* 8031254C 0030F4AC 90 01 00 34 */ stw r0, 0x34(r1) +/* 80312550 0030F4B0 DB E1 00 20 */ stfd f31, 0x20(r1) +/* 80312554 0030F4B4 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 80312558 0030F4B8 DB C1 00 10 */ stfd f30, 0x10(r1) +/* 8031255C 0030F4BC F3 C1 00 18 */ psq_st f30, 24(r1), 0, qr0 +/* 80312560 0030F4C0 FF C0 08 90 */ fmr f30, f1 +/* 80312564 0030F4C4 FF E0 10 90 */ fmr f31, f2 +/* 80312568 0030F4C8 4B FF FF 75 */ bl Float__9CRandom16Fv +/* 8031256C 0030F4CC EC 1F F0 28 */ fsubs f0, f31, f30 +/* 80312570 0030F4D0 EC 20 F0 7A */ fmadds f1, f0, f1, f30 +/* 80312574 0030F4D4 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 80312578 0030F4D8 CB E1 00 20 */ lfd f31, 0x20(r1) +/* 8031257C 0030F4DC E3 C1 00 18 */ psq_l f30, 24(r1), 0, qr0 +/* 80312580 0030F4E0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80312584 0030F4E4 CB C1 00 10 */ lfd f30, 0x10(r1) +/* 80312588 0030F4E8 7C 08 03 A6 */ mtlr r0 +/* 8031258C 0030F4EC 38 21 00 30 */ addi r1, r1, 0x30 +/* 80312590 0030F4F0 4E 80 00 20 */ blr + +.global Range__9CRandom16Fii +Range__9CRandom16Fii: +/* 80312594 0030F4F4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80312598 0030F4F8 7C 08 02 A6 */ mflr r0 +/* 8031259C 0030F4FC 90 01 00 14 */ stw r0, 0x14(r1) +/* 803125A0 0030F500 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803125A4 0030F504 7C BF 2B 78 */ mr r31, r5 +/* 803125A8 0030F508 93 C1 00 08 */ stw r30, 8(r1) +/* 803125AC 0030F50C 7C 9E 23 78 */ mr r30, r4 +/* 803125B0 0030F510 4B FF FF 71 */ bl Next__9CRandom16Fv +/* 803125B4 0030F514 7C 9E F8 50 */ subf r4, r30, r31 +/* 803125B8 0030F518 38 84 00 01 */ addi r4, r4, 1 +/* 803125BC 0030F51C 7C 03 23 D6 */ divw r0, r3, r4 +/* 803125C0 0030F520 7C 00 21 D6 */ mullw r0, r0, r4 +/* 803125C4 0030F524 7C 00 18 50 */ subf r0, r0, r3 +/* 803125C8 0030F528 7C 7E 02 14 */ add r3, r30, r0 +/* 803125CC 0030F52C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803125D0 0030F530 83 C1 00 08 */ lwz r30, 8(r1) +/* 803125D4 0030F534 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803125D8 0030F538 7C 08 03 A6 */ mtlr r0 +/* 803125DC 0030F53C 38 21 00 10 */ addi r1, r1, 0x10 +/* 803125E0 0030F540 4E 80 00 20 */ blr + +.global SetSeed__9CRandom16FUi +SetSeed__9CRandom16FUi: +/* 803125E4 0030F544 90 83 00 00 */ stw r4, 0(r3) +/* 803125E8 0030F548 4E 80 00 20 */ blr + +.global __ct__9CRandom16FUi +__ct__9CRandom16FUi: +/* 803125EC 0030F54C 90 83 00 00 */ stw r4, 0(r3) +/* 803125F0 0030F550 4E 80 00 20 */ blr + +.global _SetRandomNumber__9CRandom16FP9CRandom16 +_SetRandomNumber__9CRandom16FP9CRandom16: +/* 803125F4 0030F554 90 6D A8 90 */ stw r3, lbl_805A9450@sda21(r13) +/* 803125F8 0030F558 4E 80 00 20 */ blr + +.global GetRandomNumber__9CRandom16Fv +GetRandomNumber__9CRandom16Fv: +/* 803125FC 0030F55C 80 6D A8 90 */ lwz r3, lbl_805A9450@sda21(r13) +/* 80312600 0030F560 4E 80 00 20 */ blr + +.global __dt__13CGlobalRandomFv +__dt__13CGlobalRandomFv: +/* 80312604 0030F564 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80312608 0030F568 7C 08 02 A6 */ mflr r0 +/* 8031260C 0030F56C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80312610 0030F570 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80312614 0030F574 7C 9F 23 78 */ mr r31, r4 +/* 80312618 0030F578 93 C1 00 08 */ stw r30, 8(r1) +/* 8031261C 0030F57C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80312620 0030F580 41 82 00 44 */ beq lbl_80312664 +/* 80312624 0030F584 80 7E 00 08 */ lwz r3, 8(r30) +/* 80312628 0030F588 28 03 00 00 */ cmplwi r3, 0 +/* 8031262C 0030F58C 90 6D A8 94 */ stw r3, lbl_805A9454@sda21(r13) +/* 80312630 0030F590 41 82 00 1C */ beq lbl_8031264C +/* 80312634 0030F594 38 00 00 01 */ li r0, 1 +/* 80312638 0030F598 98 03 00 04 */ stb r0, 4(r3) +/* 8031263C 0030F59C 80 6D A8 94 */ lwz r3, lbl_805A9454@sda21(r13) +/* 80312640 0030F5A0 80 63 00 00 */ lwz r3, 0(r3) +/* 80312644 0030F5A4 4B FF FF B1 */ bl _SetRandomNumber__9CRandom16FP9CRandom16 +/* 80312648 0030F5A8 48 00 00 0C */ b lbl_80312654 +lbl_8031264C: +/* 8031264C 0030F5AC 38 60 00 00 */ li r3, 0 +/* 80312650 0030F5B0 4B FF FF A5 */ bl _SetRandomNumber__9CRandom16FP9CRandom16 +lbl_80312654: +/* 80312654 0030F5B4 7F E0 07 35 */ extsh. r0, r31 +/* 80312658 0030F5B8 40 81 00 0C */ ble lbl_80312664 +/* 8031265C 0030F5BC 7F C3 F3 78 */ mr r3, r30 +/* 80312660 0030F5C0 48 00 32 D1 */ bl Free__7CMemoryFPCv +lbl_80312664: +/* 80312664 0030F5C4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80312668 0030F5C8 7F C3 F3 78 */ mr r3, r30 +/* 8031266C 0030F5CC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80312670 0030F5D0 83 C1 00 08 */ lwz r30, 8(r1) +/* 80312674 0030F5D4 7C 08 03 A6 */ mtlr r0 +/* 80312678 0030F5D8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8031267C 0030F5DC 4E 80 00 20 */ blr + +.global __ct__13CGlobalRandomFR9CRandom16 +__ct__13CGlobalRandomFR9CRandom16: +/* 80312680 0030F5E0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80312684 0030F5E4 7C 08 02 A6 */ mflr r0 +/* 80312688 0030F5E8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8031268C 0030F5EC 38 00 00 01 */ li r0, 1 +/* 80312690 0030F5F0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80312694 0030F5F4 7C 7F 1B 78 */ mr r31, r3 +/* 80312698 0030F5F8 90 83 00 00 */ stw r4, 0(r3) +/* 8031269C 0030F5FC 98 03 00 04 */ stb r0, 4(r3) +/* 803126A0 0030F600 80 0D A8 94 */ lwz r0, lbl_805A9454@sda21(r13) +/* 803126A4 0030F604 90 03 00 08 */ stw r0, 8(r3) +/* 803126A8 0030F608 80 63 00 08 */ lwz r3, 8(r3) +/* 803126AC 0030F60C 28 03 00 00 */ cmplwi r3, 0 +/* 803126B0 0030F610 41 82 00 0C */ beq lbl_803126BC +/* 803126B4 0030F614 38 00 00 00 */ li r0, 0 +/* 803126B8 0030F618 98 03 00 04 */ stb r0, 4(r3) +lbl_803126BC: +/* 803126BC 0030F61C 93 ED A8 94 */ stw r31, lbl_805A9454@sda21(r13) +/* 803126C0 0030F620 80 7F 00 00 */ lwz r3, 0(r31) +/* 803126C4 0030F624 4B FF FF 31 */ bl _SetRandomNumber__9CRandom16FP9CRandom16 +/* 803126C8 0030F628 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803126CC 0030F62C 7F E3 FB 78 */ mr r3, r31 +/* 803126D0 0030F630 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803126D4 0030F634 7C 08 03 A6 */ mtlr r0 +/* 803126D8 0030F638 38 21 00 10 */ addi r1, r1, 0x10 +/* 803126DC 0030F63C 4E 80 00 20 */ blr diff --git a/asm/Kyoto/CResFactory.s b/asm/Kyoto/CResFactory.s new file mode 100644 index 00000000..a910ac5b --- /dev/null +++ b/asm/Kyoto/CResFactory.s @@ -0,0 +1,1735 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global sub_803394a8 +sub_803394a8: +/* 803394A8 00336408 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 803394AC 0033640C 7C 08 02 A6 */ mflr r0 +/* 803394B0 00336410 90 01 00 74 */ stw r0, 0x74(r1) +/* 803394B4 00336414 BE C1 00 48 */ stmw r22, 0x48(r1) +/* 803394B8 00336418 7C 7E 1B 78 */ mr r30, r3 +/* 803394BC 0033641C 7C 9F 23 78 */ mr r31, r4 +/* 803394C0 00336420 48 04 BE E9 */ bl OSGetTime +/* 803394C4 00336424 82 FE 00 28 */ lwz r23, 0x28(r30) +/* 803394C8 00336428 7C 9B 23 78 */ mr r27, r4 +/* 803394CC 0033642C 83 1E 00 18 */ lwz r24, 0x18(r30) +/* 803394D0 00336430 7C 7C 1B 78 */ mr r28, r3 +/* 803394D4 00336434 28 17 00 00 */ cmplwi r23, 0 +/* 803394D8 00336438 83 58 00 00 */ lwz r26, 0(r24) +/* 803394DC 0033643C 40 82 01 68 */ bne lbl_80339644 +/* 803394E0 00336440 3C 80 80 3D */ lis r4, lbl_803D7A28@ha +/* 803394E4 00336444 38 60 00 38 */ li r3, 0x38 +/* 803394E8 00336448 38 84 7A 28 */ addi r4, r4, lbl_803D7A28@l +/* 803394EC 0033644C 38 A0 00 00 */ li r5, 0 +/* 803394F0 00336450 4B FD C3 7D */ bl __nw__FUlPCcPCc +/* 803394F4 00336454 3C 80 80 34 */ lis r4, Alloc__11CZipSupportFPvUiUi@ha +/* 803394F8 00336458 3C A0 80 34 */ lis r5, Free__11CZipSupportFPvPv@ha +/* 803394FC 0033645C 38 04 FA 18 */ addi r0, r4, Alloc__11CZipSupportFPvUiUi@l +/* 80339500 00336460 7C 77 1B 78 */ mr r23, r3 +/* 80339504 00336464 90 03 00 20 */ stw r0, 0x20(r3) +/* 80339508 00336468 38 A5 F9 EC */ addi r5, r5, Free__11CZipSupportFPvPv@l +/* 8033950C 0033646C 3C 80 80 3D */ lis r4, lbl_803D7A28@ha +/* 80339510 00336470 38 00 00 00 */ li r0, 0 +/* 80339514 00336474 90 A3 00 24 */ stw r5, 0x24(r3) +/* 80339518 00336478 38 84 7A 28 */ addi r4, r4, lbl_803D7A28@l +/* 8033951C 0033647C 38 84 00 07 */ addi r4, r4, 7 +/* 80339520 00336480 38 A0 00 38 */ li r5, 0x38 +/* 80339524 00336484 90 03 00 28 */ stw r0, 0x28(r3) +/* 80339528 00336488 48 00 A4 39 */ bl inflateInit2_ +/* 8033952C 0033648C 38 A0 00 00 */ li r5, 0 +/* 80339530 00336490 7C 17 00 D0 */ neg r0, r23 +/* 80339534 00336494 90 B7 00 08 */ stw r5, 8(r23) +/* 80339538 00336498 7C 04 BB 78 */ or r4, r0, r23 +/* 8033953C 0033649C 38 61 00 34 */ addi r3, r1, 0x34 +/* 80339540 003364A0 38 1E 00 24 */ addi r0, r30, 0x24 +/* 80339544 003364A4 90 B7 00 14 */ stw r5, 0x14(r23) +/* 80339548 003364A8 7C 03 00 40 */ cmplw r3, r0 +/* 8033954C 003364AC 54 80 0F FE */ srwi r0, r4, 0x1f +/* 80339550 003364B0 90 B7 00 04 */ stw r5, 4(r23) +/* 80339554 003364B4 90 B7 00 10 */ stw r5, 0x10(r23) +/* 80339558 003364B8 90 B7 00 00 */ stw r5, 0(r23) +/* 8033955C 003364BC 90 B7 00 0C */ stw r5, 0xc(r23) +/* 80339560 003364C0 98 01 00 34 */ stb r0, 0x34(r1) +/* 80339564 003364C4 92 E1 00 38 */ stw r23, 0x38(r1) +/* 80339568 003364C8 41 82 00 30 */ beq lbl_80339598 +/* 8033956C 003364CC 88 1E 00 24 */ lbz r0, 0x24(r30) +/* 80339570 003364D0 28 00 00 00 */ cmplwi r0, 0 +/* 80339574 003364D4 41 82 00 0C */ beq lbl_80339580 +/* 80339578 003364D8 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 8033957C 003364DC 4B FD C3 B5 */ bl Free__7CMemoryFPCv +lbl_80339580: +/* 80339580 003364E0 88 61 00 34 */ lbz r3, 0x34(r1) +/* 80339584 003364E4 38 00 00 00 */ li r0, 0 +/* 80339588 003364E8 98 7E 00 24 */ stb r3, 0x24(r30) +/* 8033958C 003364EC 80 61 00 38 */ lwz r3, 0x38(r1) +/* 80339590 003364F0 90 7E 00 28 */ stw r3, 0x28(r30) +/* 80339594 003364F4 98 01 00 34 */ stb r0, 0x34(r1) +lbl_80339598: +/* 80339598 003364F8 88 01 00 34 */ lbz r0, 0x34(r1) +/* 8033959C 003364FC 28 00 00 00 */ cmplwi r0, 0 +/* 803395A0 00336500 41 82 00 0C */ beq lbl_803395AC +/* 803395A4 00336504 80 61 00 38 */ lwz r3, 0x38(r1) +/* 803395A8 00336508 4B FD C3 89 */ bl Free__7CMemoryFPCv +lbl_803395AC: +/* 803395AC 0033650C 3C 60 80 3D */ lis r3, lbl_803D7A28@ha +/* 803395B0 00336510 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha +/* 803395B4 00336514 38 A3 7A 28 */ addi r5, r3, lbl_803D7A28@l +/* 803395B8 00336518 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l +/* 803395BC 0033651C 38 61 00 2C */ addi r3, r1, 0x2c +/* 803395C0 00336520 38 80 FF FF */ li r4, -1 +/* 803395C4 00336524 4B F9 CE 11 */ bl __ct__10CCallStackFUiPCcPCc +/* 803395C8 00336528 7C 67 1B 78 */ mr r7, r3 +/* 803395CC 0033652C 7F 43 D3 78 */ mr r3, r26 +/* 803395D0 00336530 38 80 00 02 */ li r4, 2 +/* 803395D4 00336534 38 A0 00 01 */ li r5, 1 +/* 803395D8 00336538 38 C0 00 00 */ li r6, 0 +/* 803395DC 0033653C 4B FD C3 B9 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 803395E0 00336540 7C 03 00 D0 */ neg r0, r3 +/* 803395E4 00336544 38 81 00 24 */ addi r4, r1, 0x24 +/* 803395E8 00336548 7C 05 1B 78 */ or r5, r0, r3 +/* 803395EC 0033654C 38 1E 00 1C */ addi r0, r30, 0x1c +/* 803395F0 00336550 54 A5 0F FE */ srwi r5, r5, 0x1f +/* 803395F4 00336554 90 61 00 28 */ stw r3, 0x28(r1) +/* 803395F8 00336558 7C 04 00 40 */ cmplw r4, r0 +/* 803395FC 0033655C 98 A1 00 24 */ stb r5, 0x24(r1) +/* 80339600 00336560 41 82 00 30 */ beq lbl_80339630 +/* 80339604 00336564 88 1E 00 1C */ lbz r0, 0x1c(r30) +/* 80339608 00336568 28 00 00 00 */ cmplwi r0, 0 +/* 8033960C 0033656C 41 82 00 0C */ beq lbl_80339618 +/* 80339610 00336570 80 7E 00 20 */ lwz r3, 0x20(r30) +/* 80339614 00336574 4B FD C3 1D */ bl Free__7CMemoryFPCv +lbl_80339618: +/* 80339618 00336578 88 61 00 24 */ lbz r3, 0x24(r1) +/* 8033961C 0033657C 38 00 00 00 */ li r0, 0 +/* 80339620 00336580 98 7E 00 1C */ stb r3, 0x1c(r30) +/* 80339624 00336584 80 61 00 28 */ lwz r3, 0x28(r1) +/* 80339628 00336588 90 7E 00 20 */ stw r3, 0x20(r30) +/* 8033962C 0033658C 98 01 00 24 */ stb r0, 0x24(r1) +lbl_80339630: +/* 80339630 00336590 88 01 00 24 */ lbz r0, 0x24(r1) +/* 80339634 00336594 28 00 00 00 */ cmplwi r0, 0 +/* 80339638 00336598 41 82 00 0C */ beq lbl_80339644 +/* 8033963C 0033659C 80 61 00 28 */ lwz r3, 0x28(r1) +/* 80339640 003365A0 4B FD C2 F1 */ bl Free__7CMemoryFPCv +lbl_80339644: +/* 80339644 003365A4 80 9E 00 2C */ lwz r4, 0x2c(r30) +/* 80339648 003365A8 3C 60 80 5A */ lis r3, mData__10CStopwatch@ha +/* 8033964C 003365AC 3A D8 00 04 */ addi r22, r24, 4 +/* 80339650 003365B0 3B 00 00 00 */ li r24, 0 +/* 80339654 003365B4 3B 24 FF FC */ addi r25, r4, -4 +/* 80339658 003365B8 3B A3 FD 30 */ addi r29, r3, mData__10CStopwatch@l +/* 8033965C 003365BC 48 00 00 74 */ b lbl_803396D0 +lbl_80339660: +/* 80339660 003365C0 80 17 00 04 */ lwz r0, 4(r23) +/* 80339664 003365C4 28 00 00 00 */ cmplwi r0, 0 +/* 80339668 003365C8 40 82 00 5C */ bne lbl_803396C4 +/* 8033966C 003365CC 80 97 00 08 */ lwz r4, 8(r23) +/* 80339670 003365D0 38 62 CB A0 */ addi r3, r2, lbl_805AE8C0@sda21 +/* 80339674 003365D4 80 02 CB A0 */ lwz r0, lbl_805AE8C0@sda21(r2) +/* 80339678 003365D8 7C 84 C8 50 */ subf r4, r4, r25 +/* 8033967C 003365DC 7C 04 00 00 */ cmpw r4, r0 +/* 80339680 003365E0 90 81 00 08 */ stw r4, 8(r1) +/* 80339684 003365E4 40 80 00 08 */ bge lbl_8033968C +/* 80339688 003365E8 38 61 00 08 */ addi r3, r1, 8 +lbl_8033968C: +/* 8033968C 003365EC 80 63 00 00 */ lwz r3, 0(r3) +/* 80339690 003365F0 2C 03 00 00 */ cmpwi r3, 0 +/* 80339694 003365F4 41 82 00 84 */ beq lbl_80339718 +/* 80339698 003365F8 80 17 00 08 */ lwz r0, 8(r23) +/* 8033969C 003365FC 7C 16 02 14 */ add r0, r22, r0 +/* 803396A0 00336600 90 17 00 00 */ stw r0, 0(r23) +/* 803396A4 00336604 90 77 00 04 */ stw r3, 4(r23) +/* 803396A8 00336608 80 7E 00 20 */ lwz r3, 0x20(r30) +/* 803396AC 0033660C 80 17 00 14 */ lwz r0, 0x14(r23) +/* 803396B0 00336610 7C 03 02 14 */ add r0, r3, r0 +/* 803396B4 00336614 90 17 00 0C */ stw r0, 0xc(r23) +/* 803396B8 00336618 80 17 00 14 */ lwz r0, 0x14(r23) +/* 803396BC 0033661C 7C 00 D0 50 */ subf r0, r0, r26 +/* 803396C0 00336620 90 17 00 10 */ stw r0, 0x10(r23) +lbl_803396C4: +/* 803396C4 00336624 7E E3 BB 78 */ mr r3, r23 +/* 803396C8 00336628 38 80 00 00 */ li r4, 0 +/* 803396CC 0033662C 48 00 9C 91 */ bl inflate +lbl_803396D0: +/* 803396D0 00336630 28 1F 00 00 */ cmplwi r31, 0 +/* 803396D4 00336634 41 82 00 38 */ beq lbl_8033970C +/* 803396D8 00336638 48 04 BC D1 */ bl OSGetTime +/* 803396DC 0033663C 7C 9B 20 10 */ subfc r4, r27, r4 +/* 803396E0 00336640 80 BD 00 08 */ lwz r5, 8(r29) +/* 803396E4 00336644 80 DD 00 0C */ lwz r6, 0xc(r29) +/* 803396E8 00336648 7C 7C 19 10 */ subfe r3, r28, r3 +/* 803396EC 0033664C 48 05 04 E1 */ bl __div2i +/* 803396F0 00336650 6C 65 80 00 */ xoris r5, r3, 0x8000 +/* 803396F4 00336654 6F 03 80 00 */ xoris r3, r24, 0x8000 +/* 803396F8 00336658 7C 1F 20 10 */ subfc r0, r31, r4 +/* 803396FC 0033665C 7C 63 29 10 */ subfe r3, r3, r5 +/* 80339700 00336660 7C 65 29 10 */ subfe r3, r5, r5 +/* 80339704 00336664 7C 63 00 D1 */ neg. r3, r3 +/* 80339708 00336668 41 82 00 10 */ beq lbl_80339718 +lbl_8033970C: +/* 8033970C 0033666C 80 17 00 14 */ lwz r0, 0x14(r23) +/* 80339710 00336670 7C 1A 00 40 */ cmplw r26, r0 +/* 80339714 00336674 40 82 FF 4C */ bne lbl_80339660 +lbl_80339718: +/* 80339718 00336678 80 17 00 14 */ lwz r0, 0x14(r23) +/* 8033971C 0033667C 7C 1A 00 40 */ cmplw r26, r0 +/* 80339720 00336680 40 82 01 48 */ bne lbl_80339868 +/* 80339724 00336684 7E E3 BB 78 */ mr r3, r23 +/* 80339728 00336688 48 00 A4 19 */ bl inflateEnd +/* 8033972C 0033668C 38 61 00 1C */ addi r3, r1, 0x1c +/* 80339730 00336690 38 1E 00 24 */ addi r0, r30, 0x24 +/* 80339734 00336694 38 80 00 00 */ li r4, 0 +/* 80339738 00336698 7C 03 00 40 */ cmplw r3, r0 +/* 8033973C 0033669C 98 81 00 1C */ stb r4, 0x1c(r1) +/* 80339740 003366A0 90 81 00 20 */ stw r4, 0x20(r1) +/* 80339744 003366A4 41 82 00 30 */ beq lbl_80339774 +/* 80339748 003366A8 88 1E 00 24 */ lbz r0, 0x24(r30) +/* 8033974C 003366AC 28 00 00 00 */ cmplwi r0, 0 +/* 80339750 003366B0 41 82 00 0C */ beq lbl_8033975C +/* 80339754 003366B4 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 80339758 003366B8 4B FD C1 D9 */ bl Free__7CMemoryFPCv +lbl_8033975C: +/* 8033975C 003366BC 88 61 00 1C */ lbz r3, 0x1c(r1) +/* 80339760 003366C0 38 00 00 00 */ li r0, 0 +/* 80339764 003366C4 98 7E 00 24 */ stb r3, 0x24(r30) +/* 80339768 003366C8 80 61 00 20 */ lwz r3, 0x20(r1) +/* 8033976C 003366CC 90 7E 00 28 */ stw r3, 0x28(r30) +/* 80339770 003366D0 98 01 00 1C */ stb r0, 0x1c(r1) +lbl_80339774: +/* 80339774 003366D4 88 01 00 1C */ lbz r0, 0x1c(r1) +/* 80339778 003366D8 28 00 00 00 */ cmplwi r0, 0 +/* 8033977C 003366DC 41 82 00 0C */ beq lbl_80339788 +/* 80339780 003366E0 80 61 00 20 */ lwz r3, 0x20(r1) +/* 80339784 003366E4 4B FD C1 AD */ bl Free__7CMemoryFPCv +lbl_80339788: +/* 80339788 003366E8 38 00 00 00 */ li r0, 0 +/* 8033978C 003366EC 38 61 00 14 */ addi r3, r1, 0x14 +/* 80339790 003366F0 98 1E 00 1C */ stb r0, 0x1c(r30) +/* 80339794 003366F4 38 1E 00 14 */ addi r0, r30, 0x14 +/* 80339798 003366F8 7C 03 00 40 */ cmplw r3, r0 +/* 8033979C 003366FC 80 7E 00 20 */ lwz r3, 0x20(r30) +/* 803397A0 00336700 7C 03 00 D0 */ neg r0, r3 +/* 803397A4 00336704 90 61 00 18 */ stw r3, 0x18(r1) +/* 803397A8 00336708 7C 00 1B 78 */ or r0, r0, r3 +/* 803397AC 0033670C 54 00 0F FE */ srwi r0, r0, 0x1f +/* 803397B0 00336710 98 01 00 14 */ stb r0, 0x14(r1) +/* 803397B4 00336714 41 82 00 30 */ beq lbl_803397E4 +/* 803397B8 00336718 88 1E 00 14 */ lbz r0, 0x14(r30) +/* 803397BC 0033671C 28 00 00 00 */ cmplwi r0, 0 +/* 803397C0 00336720 41 82 00 0C */ beq lbl_803397CC +/* 803397C4 00336724 80 7E 00 18 */ lwz r3, 0x18(r30) +/* 803397C8 00336728 4B FD C1 69 */ bl Free__7CMemoryFPCv +lbl_803397CC: +/* 803397CC 0033672C 88 61 00 14 */ lbz r3, 0x14(r1) +/* 803397D0 00336730 38 00 00 00 */ li r0, 0 +/* 803397D4 00336734 98 7E 00 14 */ stb r3, 0x14(r30) +/* 803397D8 00336738 80 61 00 18 */ lwz r3, 0x18(r1) +/* 803397DC 0033673C 90 7E 00 18 */ stw r3, 0x18(r30) +/* 803397E0 00336740 98 01 00 14 */ stb r0, 0x14(r1) +lbl_803397E4: +/* 803397E4 00336744 88 01 00 14 */ lbz r0, 0x14(r1) +/* 803397E8 00336748 28 00 00 00 */ cmplwi r0, 0 +/* 803397EC 0033674C 41 82 00 0C */ beq lbl_803397F8 +/* 803397F0 00336750 80 61 00 18 */ lwz r3, 0x18(r1) +/* 803397F4 00336754 4B FD C1 3D */ bl Free__7CMemoryFPCv +lbl_803397F8: +/* 803397F8 00336758 38 61 00 0C */ addi r3, r1, 0xc +/* 803397FC 0033675C 38 1E 00 1C */ addi r0, r30, 0x1c +/* 80339800 00336760 38 80 00 00 */ li r4, 0 +/* 80339804 00336764 7C 03 00 40 */ cmplw r3, r0 +/* 80339808 00336768 98 81 00 0C */ stb r4, 0xc(r1) +/* 8033980C 0033676C 90 81 00 10 */ stw r4, 0x10(r1) +/* 80339810 00336770 41 82 00 30 */ beq lbl_80339840 +/* 80339814 00336774 88 1E 00 1C */ lbz r0, 0x1c(r30) +/* 80339818 00336778 28 00 00 00 */ cmplwi r0, 0 +/* 8033981C 0033677C 41 82 00 0C */ beq lbl_80339828 +/* 80339820 00336780 80 7E 00 20 */ lwz r3, 0x20(r30) +/* 80339824 00336784 4B FD C1 0D */ bl Free__7CMemoryFPCv +lbl_80339828: +/* 80339828 00336788 88 61 00 0C */ lbz r3, 0xc(r1) +/* 8033982C 0033678C 38 00 00 00 */ li r0, 0 +/* 80339830 00336790 98 7E 00 1C */ stb r3, 0x1c(r30) +/* 80339834 00336794 80 61 00 10 */ lwz r3, 0x10(r1) +/* 80339838 00336798 90 7E 00 20 */ stw r3, 0x20(r30) +/* 8033983C 0033679C 98 01 00 0C */ stb r0, 0xc(r1) +lbl_80339840: +/* 80339840 003367A0 88 01 00 0C */ lbz r0, 0xc(r1) +/* 80339844 003367A4 28 00 00 00 */ cmplwi r0, 0 +/* 80339848 003367A8 41 82 00 0C */ beq lbl_80339854 +/* 8033984C 003367AC 80 61 00 10 */ lwz r3, 0x10(r1) +/* 80339850 003367B0 4B FD C0 E1 */ bl Free__7CMemoryFPCv +lbl_80339854: +/* 80339854 003367B4 38 00 00 00 */ li r0, 0 +/* 80339858 003367B8 38 60 00 01 */ li r3, 1 +/* 8033985C 003367BC 90 1E 00 30 */ stw r0, 0x30(r30) +/* 80339860 003367C0 93 5E 00 2C */ stw r26, 0x2c(r30) +/* 80339864 003367C4 48 00 00 08 */ b lbl_8033986C +lbl_80339868: +/* 80339868 003367C8 38 60 00 00 */ li r3, 0 +lbl_8033986C: +/* 8033986C 003367CC BA C1 00 48 */ lmw r22, 0x48(r1) +/* 80339870 003367D0 80 01 00 74 */ lwz r0, 0x74(r1) +/* 80339874 003367D4 7C 08 03 A6 */ mtlr r0 +/* 80339878 003367D8 38 21 00 70 */ addi r1, r1, 0x70 +/* 8033987C 003367DC 4E 80 00 20 */ blr + +.global sub_80339880 +sub_80339880: +/* 80339880 003367E0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80339884 003367E4 7C 08 02 A6 */ mflr r0 +/* 80339888 003367E8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033988C 003367EC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80339890 003367F0 7C 9F 23 78 */ mr r31, r4 +/* 80339894 003367F4 93 C1 00 08 */ stw r30, 8(r1) +/* 80339898 003367F8 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8033989C 003367FC 41 82 00 C8 */ beq lbl_80339964 +/* 803398A0 00336800 88 1E 00 24 */ lbz r0, 0x24(r30) +/* 803398A4 00336804 28 00 00 00 */ cmplwi r0, 0 +/* 803398A8 00336808 41 82 00 0C */ beq lbl_803398B4 +/* 803398AC 0033680C 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 803398B0 00336810 48 00 A2 91 */ bl inflateEnd +lbl_803398B4: +/* 803398B4 00336814 34 1E 00 34 */ addic. r0, r30, 0x34 +/* 803398B8 00336818 41 82 00 14 */ beq lbl_803398CC +/* 803398BC 0033681C 34 1E 00 34 */ addic. r0, r30, 0x34 +/* 803398C0 00336820 41 82 00 0C */ beq lbl_803398CC +/* 803398C4 00336824 38 7E 00 34 */ addi r3, r30, 0x34 +/* 803398C8 00336828 4B CF AA 3D */ bl sub_80034304 +lbl_803398CC: +/* 803398CC 0033682C 34 1E 00 24 */ addic. r0, r30, 0x24 +/* 803398D0 00336830 41 82 00 18 */ beq lbl_803398E8 +/* 803398D4 00336834 88 1E 00 24 */ lbz r0, 0x24(r30) +/* 803398D8 00336838 28 00 00 00 */ cmplwi r0, 0 +/* 803398DC 0033683C 41 82 00 0C */ beq lbl_803398E8 +/* 803398E0 00336840 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 803398E4 00336844 4B FD C0 4D */ bl Free__7CMemoryFPCv +lbl_803398E8: +/* 803398E8 00336848 34 1E 00 1C */ addic. r0, r30, 0x1c +/* 803398EC 0033684C 41 82 00 18 */ beq lbl_80339904 +/* 803398F0 00336850 88 1E 00 1C */ lbz r0, 0x1c(r30) +/* 803398F4 00336854 28 00 00 00 */ cmplwi r0, 0 +/* 803398F8 00336858 41 82 00 0C */ beq lbl_80339904 +/* 803398FC 0033685C 80 7E 00 20 */ lwz r3, 0x20(r30) +/* 80339900 00336860 4B FD C0 31 */ bl Free__7CMemoryFPCv +lbl_80339904: +/* 80339904 00336864 34 1E 00 14 */ addic. r0, r30, 0x14 +/* 80339908 00336868 41 82 00 18 */ beq lbl_80339920 +/* 8033990C 0033686C 88 1E 00 14 */ lbz r0, 0x14(r30) +/* 80339910 00336870 28 00 00 00 */ cmplwi r0, 0 +/* 80339914 00336874 41 82 00 0C */ beq lbl_80339920 +/* 80339918 00336878 80 7E 00 18 */ lwz r3, 0x18(r30) +/* 8033991C 0033687C 4B FD C0 15 */ bl Free__7CMemoryFPCv +lbl_80339920: +/* 80339920 00336880 34 1E 00 08 */ addic. r0, r30, 8 +/* 80339924 00336884 41 82 00 30 */ beq lbl_80339954 +/* 80339928 00336888 88 1E 00 08 */ lbz r0, 8(r30) +/* 8033992C 0033688C 28 00 00 00 */ cmplwi r0, 0 +/* 80339930 00336890 41 82 00 24 */ beq lbl_80339954 +/* 80339934 00336894 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80339938 00336898 28 03 00 00 */ cmplwi r3, 0 +/* 8033993C 0033689C 41 82 00 18 */ beq lbl_80339954 +/* 80339940 003368A0 81 83 00 00 */ lwz r12, 0(r3) +/* 80339944 003368A4 38 80 00 01 */ li r4, 1 +/* 80339948 003368A8 81 8C 00 08 */ lwz r12, 8(r12) +/* 8033994C 003368AC 7D 89 03 A6 */ mtctr r12 +/* 80339950 003368B0 4E 80 04 21 */ bctrl +lbl_80339954: +/* 80339954 003368B4 7F E0 07 35 */ extsh. r0, r31 +/* 80339958 003368B8 40 81 00 0C */ ble lbl_80339964 +/* 8033995C 003368BC 7F C3 F3 78 */ mr r3, r30 +/* 80339960 003368C0 4B FD BF D1 */ bl Free__7CMemoryFPCv +lbl_80339964: +/* 80339964 003368C4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80339968 003368C8 7F C3 F3 78 */ mr r3, r30 +/* 8033996C 003368CC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80339970 003368D0 83 C1 00 08 */ lwz r30, 8(r1) +/* 80339974 003368D4 7C 08 03 A6 */ mtlr r0 +/* 80339978 003368D8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033997C 003368DC 4E 80 00 20 */ blr + +.global sub_80339980 +sub_80339980: +/* 80339980 003368E0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80339984 003368E4 7D 65 00 D0 */ neg r11, r5 +/* 80339988 003368E8 7C 07 00 D0 */ neg r0, r7 +/* 8033998C 003368EC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80339990 003368F0 81 84 00 00 */ lwz r12, 0(r4) +/* 80339994 003368F4 91 83 00 00 */ stw r12, 0(r3) +/* 80339998 003368F8 7D 6C 2B 78 */ or r12, r11, r5 +/* 8033999C 003368FC 7C 0B 3B 78 */ or r11, r0, r7 +/* 803399A0 00336900 38 00 00 00 */ li r0, 0 +/* 803399A4 00336904 83 E4 00 04 */ lwz r31, 4(r4) +/* 803399A8 00336908 55 8C 0F FE */ srwi r12, r12, 0x1f +/* 803399AC 0033690C 55 64 0F FE */ srwi r4, r11, 0x1f +/* 803399B0 00336910 93 E3 00 04 */ stw r31, 4(r3) +/* 803399B4 00336914 99 83 00 08 */ stb r12, 8(r3) +/* 803399B8 00336918 90 A3 00 0C */ stw r5, 0xc(r3) +/* 803399BC 0033691C 90 C3 00 10 */ stw r6, 0x10(r3) +/* 803399C0 00336920 98 83 00 14 */ stb r4, 0x14(r3) +/* 803399C4 00336924 90 E3 00 18 */ stw r7, 0x18(r3) +/* 803399C8 00336928 98 03 00 1C */ stb r0, 0x1c(r3) +/* 803399CC 0033692C 90 03 00 20 */ stw r0, 0x20(r3) +/* 803399D0 00336930 98 03 00 24 */ stb r0, 0x24(r3) +/* 803399D4 00336934 90 03 00 28 */ stw r0, 0x28(r3) +/* 803399D8 00336938 91 03 00 2C */ stw r8, 0x2c(r3) +/* 803399DC 0033693C 91 23 00 30 */ stw r9, 0x30(r3) +/* 803399E0 00336940 80 0A 00 00 */ lwz r0, 0(r10) +/* 803399E4 00336944 90 03 00 34 */ stw r0, 0x34(r3) +/* 803399E8 00336948 80 A3 00 34 */ lwz r5, 0x34(r3) +/* 803399EC 0033694C 80 85 00 04 */ lwz r4, 4(r5) +/* 803399F0 00336950 38 04 00 01 */ addi r0, r4, 1 +/* 803399F4 00336954 90 05 00 04 */ stw r0, 4(r5) +/* 803399F8 00336958 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803399FC 0033695C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80339A00 00336960 4E 80 00 20 */ blr + +.global PumpResource__11CResFactoryFR12SLoadingData +PumpResource__11CResFactoryFR12SLoadingData: +/* 80339A04 00336964 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80339A08 00336968 7C 08 02 A6 */ mflr r0 +/* 80339A0C 0033696C 90 01 00 64 */ stw r0, 0x64(r1) +/* 80339A10 00336970 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 80339A14 00336974 7C BF 2B 78 */ mr r31, r5 +/* 80339A18 00336978 93 C1 00 58 */ stw r30, 0x58(r1) +/* 80339A1C 0033697C 7C 9E 23 78 */ mr r30, r4 +/* 80339A20 00336980 93 A1 00 54 */ stw r29, 0x54(r1) +/* 80339A24 00336984 7C 7D 1B 78 */ mr r29, r3 +/* 80339A28 00336988 80 64 00 00 */ lwz r3, 0(r4) +/* 80339A2C 0033698C 80 63 00 14 */ lwz r3, 0x14(r3) +/* 80339A30 00336990 81 83 00 00 */ lwz r12, 0(r3) +/* 80339A34 00336994 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 80339A38 00336998 7D 89 03 A6 */ mtctr r12 +/* 80339A3C 0033699C 4E 80 04 21 */ bctrl +/* 80339A40 003369A0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80339A44 003369A4 41 82 00 D4 */ beq lbl_80339B18 +/* 80339A48 003369A8 80 7E 00 00 */ lwz r3, 0(r30) +/* 80339A4C 003369AC 38 63 00 08 */ addi r3, r3, 8 +/* 80339A50 003369B0 80 03 00 30 */ lwz r0, 0x30(r3) +/* 80339A54 003369B4 2C 00 00 01 */ cmpwi r0, 1 +/* 80339A58 003369B8 40 82 00 1C */ bne lbl_80339A74 +/* 80339A5C 003369BC 7F E4 FB 78 */ mr r4, r31 +/* 80339A60 003369C0 4B FF FA 49 */ bl sub_803394a8 +/* 80339A64 003369C4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80339A68 003369C8 40 82 00 0C */ bne lbl_80339A74 +/* 80339A6C 003369CC 38 60 00 00 */ li r3, 0 +/* 80339A70 003369D0 48 00 00 AC */ b lbl_80339B1C +lbl_80339A74: +/* 80339A74 003369D4 80 9E 00 00 */ lwz r4, 0(r30) +/* 80339A78 003369D8 38 61 00 10 */ addi r3, r1, 0x10 +/* 80339A7C 003369DC 38 84 00 08 */ addi r4, r4, 8 +/* 80339A80 003369E0 48 00 00 B9 */ bl sub_80339b38 +/* 80339A84 003369E4 7F A3 EB 78 */ mr r3, r29 +/* 80339A88 003369E8 7F C4 F3 78 */ mr r4, r30 +/* 80339A8C 003369EC 48 00 08 15 */ bl sub_8033a2a0 +/* 80339A90 003369F0 80 81 00 40 */ lwz r4, 0x40(r1) +/* 80339A94 003369F4 38 00 00 00 */ li r0, 0 +/* 80339A98 003369F8 98 01 00 24 */ stb r0, 0x24(r1) +/* 80339A9C 003369FC 38 61 00 08 */ addi r3, r1, 8 +/* 80339AA0 00336A00 7C 04 00 D0 */ neg r0, r4 +/* 80339AA4 00336A04 80 C1 00 28 */ lwz r6, 0x28(r1) +/* 80339AA8 00336A08 7C 00 23 78 */ or r0, r0, r4 +/* 80339AAC 00336A0C 80 E1 00 3C */ lwz r7, 0x3c(r1) +/* 80339AB0 00336A10 38 9D 00 5C */ addi r4, r29, 0x5c +/* 80339AB4 00336A14 38 A1 00 10 */ addi r5, r1, 0x10 +/* 80339AB8 00336A18 54 08 0F FE */ srwi r8, r0, 0x1f +/* 80339ABC 00336A1C 39 21 00 44 */ addi r9, r1, 0x44 +/* 80339AC0 00336A20 4B FF EC 2D */ bl MakeObjectFromMemory__11CFactoryMgrFRC10SObjectTagPvibRC15CVParamTransfer +/* 80339AC4 00336A24 38 00 00 00 */ li r0, 0 +/* 80339AC8 00336A28 80 81 00 0C */ lwz r4, 0xc(r1) +/* 80339ACC 00336A2C 98 01 00 08 */ stb r0, 8(r1) +/* 80339AD0 00336A30 80 61 00 20 */ lwz r3, 0x20(r1) +/* 80339AD4 00336A34 90 83 00 00 */ stw r4, 0(r3) +/* 80339AD8 00336A38 88 01 00 08 */ lbz r0, 8(r1) +/* 80339ADC 00336A3C 28 00 00 00 */ cmplwi r0, 0 +/* 80339AE0 00336A40 41 82 00 24 */ beq lbl_80339B04 +/* 80339AE4 00336A44 80 61 00 0C */ lwz r3, 0xc(r1) +/* 80339AE8 00336A48 28 03 00 00 */ cmplwi r3, 0 +/* 80339AEC 00336A4C 41 82 00 18 */ beq lbl_80339B04 +/* 80339AF0 00336A50 81 83 00 00 */ lwz r12, 0(r3) +/* 80339AF4 00336A54 38 80 00 01 */ li r4, 1 +/* 80339AF8 00336A58 81 8C 00 08 */ lwz r12, 8(r12) +/* 80339AFC 00336A5C 7D 89 03 A6 */ mtctr r12 +/* 80339B00 00336A60 4E 80 04 21 */ bctrl +lbl_80339B04: +/* 80339B04 00336A64 38 61 00 10 */ addi r3, r1, 0x10 +/* 80339B08 00336A68 38 80 FF FF */ li r4, -1 +/* 80339B0C 00336A6C 4B FF FD 75 */ bl sub_80339880 +/* 80339B10 00336A70 38 60 00 01 */ li r3, 1 +/* 80339B14 00336A74 48 00 00 08 */ b lbl_80339B1C +lbl_80339B18: +/* 80339B18 00336A78 38 60 00 00 */ li r3, 0 +lbl_80339B1C: +/* 80339B1C 00336A7C 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80339B20 00336A80 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 80339B24 00336A84 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 80339B28 00336A88 83 A1 00 54 */ lwz r29, 0x54(r1) +/* 80339B2C 00336A8C 7C 08 03 A6 */ mtlr r0 +/* 80339B30 00336A90 38 21 00 60 */ addi r1, r1, 0x60 +/* 80339B34 00336A94 4E 80 00 20 */ blr + +.global sub_80339b38 +sub_80339b38: +/* 80339B38 00336A98 80 04 00 00 */ lwz r0, 0(r4) +/* 80339B3C 00336A9C 38 A0 00 00 */ li r5, 0 +/* 80339B40 00336AA0 90 03 00 00 */ stw r0, 0(r3) +/* 80339B44 00336AA4 80 04 00 04 */ lwz r0, 4(r4) +/* 80339B48 00336AA8 90 03 00 04 */ stw r0, 4(r3) +/* 80339B4C 00336AAC 88 04 00 08 */ lbz r0, 8(r4) +/* 80339B50 00336AB0 98 03 00 08 */ stb r0, 8(r3) +/* 80339B54 00336AB4 80 04 00 0C */ lwz r0, 0xc(r4) +/* 80339B58 00336AB8 90 03 00 0C */ stw r0, 0xc(r3) +/* 80339B5C 00336ABC 98 A4 00 08 */ stb r5, 8(r4) +/* 80339B60 00336AC0 80 04 00 10 */ lwz r0, 0x10(r4) +/* 80339B64 00336AC4 90 03 00 10 */ stw r0, 0x10(r3) +/* 80339B68 00336AC8 88 04 00 14 */ lbz r0, 0x14(r4) +/* 80339B6C 00336ACC 98 03 00 14 */ stb r0, 0x14(r3) +/* 80339B70 00336AD0 80 04 00 18 */ lwz r0, 0x18(r4) +/* 80339B74 00336AD4 90 03 00 18 */ stw r0, 0x18(r3) +/* 80339B78 00336AD8 98 A4 00 14 */ stb r5, 0x14(r4) +/* 80339B7C 00336ADC 88 04 00 1C */ lbz r0, 0x1c(r4) +/* 80339B80 00336AE0 98 03 00 1C */ stb r0, 0x1c(r3) +/* 80339B84 00336AE4 80 04 00 20 */ lwz r0, 0x20(r4) +/* 80339B88 00336AE8 90 03 00 20 */ stw r0, 0x20(r3) +/* 80339B8C 00336AEC 98 A4 00 1C */ stb r5, 0x1c(r4) +/* 80339B90 00336AF0 88 04 00 24 */ lbz r0, 0x24(r4) +/* 80339B94 00336AF4 98 03 00 24 */ stb r0, 0x24(r3) +/* 80339B98 00336AF8 80 04 00 28 */ lwz r0, 0x28(r4) +/* 80339B9C 00336AFC 90 03 00 28 */ stw r0, 0x28(r3) +/* 80339BA0 00336B00 98 A4 00 24 */ stb r5, 0x24(r4) +/* 80339BA4 00336B04 80 04 00 2C */ lwz r0, 0x2c(r4) +/* 80339BA8 00336B08 90 03 00 2C */ stw r0, 0x2c(r3) +/* 80339BAC 00336B0C 80 04 00 30 */ lwz r0, 0x30(r4) +/* 80339BB0 00336B10 90 03 00 30 */ stw r0, 0x30(r3) +/* 80339BB4 00336B14 80 04 00 34 */ lwz r0, 0x34(r4) +/* 80339BB8 00336B18 90 03 00 34 */ stw r0, 0x34(r3) +/* 80339BBC 00336B1C 80 A3 00 34 */ lwz r5, 0x34(r3) +/* 80339BC0 00336B20 80 85 00 04 */ lwz r4, 4(r5) +/* 80339BC4 00336B24 38 04 00 01 */ addi r0, r4, 1 +/* 80339BC8 00336B28 90 05 00 04 */ stw r0, 4(r5) +/* 80339BCC 00336B2C 4E 80 00 20 */ blr + +.global AsyncIdle__11CResFactoryFUl +AsyncIdle__11CResFactoryFUl: +/* 80339BD0 00336B30 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80339BD4 00336B34 7C 08 02 A6 */ mflr r0 +/* 80339BD8 00336B38 90 01 00 34 */ stw r0, 0x34(r1) +/* 80339BDC 00336B3C BF 21 00 14 */ stmw r25, 0x14(r1) +/* 80339BE0 00336B40 7C 7A 1B 78 */ mr r26, r3 +/* 80339BE4 00336B44 7C 9B 23 78 */ mr r27, r4 +/* 80339BE8 00336B48 3B 80 00 01 */ li r28, 1 +/* 80339BEC 00336B4C 48 04 B7 BD */ bl OSGetTime +/* 80339BF0 00336B50 83 FA 00 B4 */ lwz r31, 0xb4(r26) +/* 80339BF4 00336B54 7C 9D 23 78 */ mr r29, r4 +/* 80339BF8 00336B58 7C 7E 1B 78 */ mr r30, r3 +/* 80339BFC 00336B5C 48 00 00 34 */ b lbl_80339C30 +lbl_80339C00: +/* 80339C00 00336B60 7F F9 FB 78 */ mr r25, r31 +/* 80339C04 00336B64 83 FF 00 04 */ lwz r31, 4(r31) +/* 80339C08 00336B68 80 79 00 14 */ lwz r3, 0x14(r25) +/* 80339C0C 00336B6C 81 83 00 00 */ lwz r12, 0(r3) +/* 80339C10 00336B70 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 80339C14 00336B74 7D 89 03 A6 */ mtctr r12 +/* 80339C18 00336B78 4E 80 04 21 */ bctrl +/* 80339C1C 00336B7C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80339C20 00336B80 41 82 00 10 */ beq lbl_80339C30 +/* 80339C24 00336B84 7F 24 CB 78 */ mr r4, r25 +/* 80339C28 00336B88 38 7A 00 B0 */ addi r3, r26, 0xb0 +/* 80339C2C 00336B8C 48 00 0C B1 */ bl sub_8033a8dc +lbl_80339C30: +/* 80339C30 00336B90 80 1A 00 B8 */ lwz r0, 0xb8(r26) +/* 80339C34 00336B94 7C 1F 00 40 */ cmplw r31, r0 +/* 80339C38 00336B98 40 82 FF C8 */ bne lbl_80339C00 +/* 80339C3C 00336B9C 3C 60 80 5A */ lis r3, mData__10CStopwatch@ha +/* 80339C40 00336BA0 3B E3 FD 30 */ addi r31, r3, mData__10CStopwatch@l +/* 80339C44 00336BA4 48 00 00 90 */ b lbl_80339CD4 +lbl_80339C48: +/* 80339C48 00336BA8 3B 80 00 00 */ li r28, 0 +/* 80339C4C 00336BAC 48 04 B7 5D */ bl OSGetTime +/* 80339C50 00336BB0 7C 9D 20 10 */ subfc r4, r29, r4 +/* 80339C54 00336BB4 80 BF 00 08 */ lwz r5, 8(r31) +/* 80339C58 00336BB8 80 DF 00 0C */ lwz r6, 0xc(r31) +/* 80339C5C 00336BBC 7C 7E 19 10 */ subfe r3, r30, r3 +/* 80339C60 00336BC0 48 04 FF 6D */ bl __div2i +/* 80339C64 00336BC4 80 1A 00 88 */ lwz r0, 0x88(r26) +/* 80339C68 00336BC8 7C 85 23 78 */ mr r5, r4 +/* 80339C6C 00336BCC 90 01 00 08 */ stw r0, 8(r1) +/* 80339C70 00336BD0 48 00 00 4C */ b lbl_80339CBC +lbl_80339C74: +/* 80339C74 00336BD4 7F 43 D3 78 */ mr r3, r26 +/* 80339C78 00336BD8 38 81 00 08 */ addi r4, r1, 8 +/* 80339C7C 00336BDC 7C A5 D8 50 */ subf r5, r5, r27 +/* 80339C80 00336BE0 4B FF FD 85 */ bl PumpResource__11CResFactoryFR12SLoadingData +/* 80339C84 00336BE4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80339C88 00336BE8 41 82 00 0C */ beq lbl_80339C94 +/* 80339C8C 00336BEC 3B 80 00 01 */ li r28, 1 +/* 80339C90 00336BF0 48 00 00 44 */ b lbl_80339CD4 +lbl_80339C94: +/* 80339C94 00336BF4 80 61 00 08 */ lwz r3, 8(r1) +/* 80339C98 00336BF8 80 03 00 04 */ lwz r0, 4(r3) +/* 80339C9C 00336BFC 90 01 00 08 */ stw r0, 8(r1) +/* 80339CA0 00336C00 48 04 B7 09 */ bl OSGetTime +/* 80339CA4 00336C04 7C 9D 20 10 */ subfc r4, r29, r4 +/* 80339CA8 00336C08 80 BF 00 08 */ lwz r5, 8(r31) +/* 80339CAC 00336C0C 80 DF 00 0C */ lwz r6, 0xc(r31) +/* 80339CB0 00336C10 7C 7E 19 10 */ subfe r3, r30, r3 +/* 80339CB4 00336C14 48 04 FF 19 */ bl __div2i +/* 80339CB8 00336C18 7C 85 23 78 */ mr r5, r4 +lbl_80339CBC: +/* 80339CBC 00336C1C 80 61 00 08 */ lwz r3, 8(r1) +/* 80339CC0 00336C20 80 1A 00 8C */ lwz r0, 0x8c(r26) +/* 80339CC4 00336C24 7C 03 00 40 */ cmplw r3, r0 +/* 80339CC8 00336C28 41 82 00 0C */ beq lbl_80339CD4 +/* 80339CCC 00336C2C 7C 05 D8 40 */ cmplw r5, r27 +/* 80339CD0 00336C30 41 80 FF A4 */ blt lbl_80339C74 +lbl_80339CD4: +/* 80339CD4 00336C34 57 80 06 3F */ clrlwi. r0, r28, 0x18 +/* 80339CD8 00336C38 40 82 FF 70 */ bne lbl_80339C48 +/* 80339CDC 00336C3C BB 21 00 14 */ lmw r25, 0x14(r1) +/* 80339CE0 00336C40 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80339CE4 00336C44 7C 08 03 A6 */ mtlr r0 +/* 80339CE8 00336C48 38 21 00 30 */ addi r1, r1, 0x30 +/* 80339CEC 00336C4C 4E 80 00 20 */ blr + +.global CancelBuild__11CResFactoryFRC10SObjectTag +CancelBuild__11CResFactoryFRC10SObjectTag: +/* 80339CF0 00336C50 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80339CF4 00336C54 7C 08 02 A6 */ mflr r0 +/* 80339CF8 00336C58 7C 85 23 78 */ mr r5, r4 +/* 80339CFC 00336C5C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80339D00 00336C60 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80339D04 00336C64 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80339D08 00336C68 7C 7E 1B 78 */ mr r30, r3 +/* 80339D0C 00336C6C 7F C4 F3 78 */ mr r4, r30 +/* 80339D10 00336C70 38 61 00 08 */ addi r3, r1, 8 +/* 80339D14 00336C74 48 00 04 79 */ bl sub_8033a18c +/* 80339D18 00336C78 80 61 00 08 */ lwz r3, 8(r1) +/* 80339D1C 00336C7C 90 61 00 0C */ stw r3, 0xc(r1) +/* 80339D20 00336C80 80 1E 00 8C */ lwz r0, 0x8c(r30) +/* 80339D24 00336C84 7C 03 00 40 */ cmplw r3, r0 +/* 80339D28 00336C88 41 82 00 34 */ beq lbl_80339D5C +/* 80339D2C 00336C8C 3B E3 00 08 */ addi r31, r3, 8 +/* 80339D30 00336C90 80 63 00 14 */ lwz r3, 0x14(r3) +/* 80339D34 00336C94 81 83 00 00 */ lwz r12, 0(r3) +/* 80339D38 00336C98 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 80339D3C 00336C9C 7D 89 03 A6 */ mtctr r12 +/* 80339D40 00336CA0 4E 80 04 21 */ bctrl +/* 80339D44 00336CA4 7F E4 FB 78 */ mr r4, r31 +/* 80339D48 00336CA8 38 7E 00 B0 */ addi r3, r30, 0xb0 +/* 80339D4C 00336CAC 48 00 00 29 */ bl sub_80339d74 +/* 80339D50 00336CB0 7F C3 F3 78 */ mr r3, r30 +/* 80339D54 00336CB4 38 81 00 0C */ addi r4, r1, 0xc +/* 80339D58 00336CB8 48 00 05 49 */ bl sub_8033a2a0 +lbl_80339D5C: +/* 80339D5C 00336CBC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80339D60 00336CC0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80339D64 00336CC4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80339D68 00336CC8 7C 08 03 A6 */ mtlr r0 +/* 80339D6C 00336CCC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80339D70 00336CD0 4E 80 00 20 */ blr + +.global sub_80339d74 +sub_80339d74: +/* 80339D74 00336CD4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80339D78 00336CD8 7C 08 02 A6 */ mflr r0 +/* 80339D7C 00336CDC 7C 85 23 78 */ mr r5, r4 +/* 80339D80 00336CE0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80339D84 00336CE4 80 83 00 08 */ lwz r4, 8(r3) +/* 80339D88 00336CE8 48 00 00 15 */ bl sub_80339d9c +/* 80339D8C 00336CEC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80339D90 00336CF0 7C 08 03 A6 */ mtlr r0 +/* 80339D94 00336CF4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80339D98 00336CF8 4E 80 00 20 */ blr + +.global sub_80339d9c +sub_80339d9c: +/* 80339D9C 00336CFC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80339DA0 00336D00 7C 08 02 A6 */ mflr r0 +/* 80339DA4 00336D04 7C A6 2B 78 */ mr r6, r5 +/* 80339DA8 00336D08 90 01 00 14 */ stw r0, 0x14(r1) +/* 80339DAC 00336D0C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80339DB0 00336D10 7C 9F 23 78 */ mr r31, r4 +/* 80339DB4 00336D14 7F E5 FB 78 */ mr r5, r31 +/* 80339DB8 00336D18 93 C1 00 08 */ stw r30, 8(r1) +/* 80339DBC 00336D1C 7C 7E 1B 78 */ mr r30, r3 +/* 80339DC0 00336D20 80 84 00 00 */ lwz r4, 0(r4) +/* 80339DC4 00336D24 48 00 00 49 */ bl sub_80339e0c +/* 80339DC8 00336D28 80 1E 00 04 */ lwz r0, 4(r30) +/* 80339DCC 00336D2C 7C 1F 00 40 */ cmplw r31, r0 +/* 80339DD0 00336D30 40 82 00 08 */ bne lbl_80339DD8 +/* 80339DD4 00336D34 90 7E 00 04 */ stw r3, 4(r30) +lbl_80339DD8: +/* 80339DD8 00336D38 80 83 00 00 */ lwz r4, 0(r3) +/* 80339DDC 00336D3C 90 64 00 04 */ stw r3, 4(r4) +/* 80339DE0 00336D40 80 83 00 04 */ lwz r4, 4(r3) +/* 80339DE4 00336D44 90 64 00 00 */ stw r3, 0(r4) +/* 80339DE8 00336D48 80 9E 00 14 */ lwz r4, 0x14(r30) +/* 80339DEC 00336D4C 38 04 00 01 */ addi r0, r4, 1 +/* 80339DF0 00336D50 90 1E 00 14 */ stw r0, 0x14(r30) +/* 80339DF4 00336D54 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80339DF8 00336D58 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80339DFC 00336D5C 83 C1 00 08 */ lwz r30, 8(r1) +/* 80339E00 00336D60 7C 08 03 A6 */ mtlr r0 +/* 80339E04 00336D64 38 21 00 10 */ addi r1, r1, 0x10 +/* 80339E08 00336D68 4E 80 00 20 */ blr + +.global sub_80339e0c +sub_80339e0c: +/* 80339E0C 00336D6C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80339E10 00336D70 7C 08 02 A6 */ mflr r0 +/* 80339E14 00336D74 3C 60 80 3D */ lis r3, lbl_803D7A28@ha +/* 80339E18 00336D78 90 01 00 24 */ stw r0, 0x24(r1) +/* 80339E1C 00336D7C 38 03 7A 28 */ addi r0, r3, lbl_803D7A28@l +/* 80339E20 00336D80 38 60 00 40 */ li r3, 0x40 +/* 80339E24 00336D84 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80339E28 00336D88 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80339E2C 00336D8C 7C DE 33 78 */ mr r30, r6 +/* 80339E30 00336D90 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80339E34 00336D94 7C BD 2B 78 */ mr r29, r5 +/* 80339E38 00336D98 38 A0 00 00 */ li r5, 0 +/* 80339E3C 00336D9C 93 81 00 10 */ stw r28, 0x10(r1) +/* 80339E40 00336DA0 7C 9C 23 78 */ mr r28, r4 +/* 80339E44 00336DA4 7C 04 03 78 */ mr r4, r0 +/* 80339E48 00336DA8 4B FD B9 D1 */ bl __nwa__FUlPCcPCc +/* 80339E4C 00336DAC 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80339E50 00336DB0 41 82 00 0C */ beq lbl_80339E5C +/* 80339E54 00336DB4 93 9F 00 00 */ stw r28, 0(r31) +/* 80339E58 00336DB8 93 BF 00 04 */ stw r29, 4(r31) +lbl_80339E5C: +/* 80339E5C 00336DBC 34 7F 00 08 */ addic. r3, r31, 8 +/* 80339E60 00336DC0 41 82 00 0C */ beq lbl_80339E6C +/* 80339E64 00336DC4 7F C4 F3 78 */ mr r4, r30 +/* 80339E68 00336DC8 4B FF FC D1 */ bl sub_80339b38 +lbl_80339E6C: +/* 80339E6C 00336DCC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80339E70 00336DD0 7F E3 FB 78 */ mr r3, r31 +/* 80339E74 00336DD4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80339E78 00336DD8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80339E7C 00336DDC 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80339E80 00336DE0 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80339E84 00336DE4 7C 08 03 A6 */ mtlr r0 +/* 80339E88 00336DE8 38 21 00 20 */ addi r1, r1, 0x20 +/* 80339E8C 00336DEC 4E 80 00 20 */ blr + +.global BuildAsync__11CResFactoryFRC10SObjectTagRC15CVParamTransferPP4IObj +BuildAsync__11CResFactoryFRC10SObjectTagRC15CVParamTransferPP4IObj: +/* 80339E90 00336DF0 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 80339E94 00336DF4 7C 08 02 A6 */ mflr r0 +/* 80339E98 00336DF8 90 01 00 74 */ stw r0, 0x74(r1) +/* 80339E9C 00336DFC 38 00 00 00 */ li r0, 0 +/* 80339EA0 00336E00 BF 21 00 54 */ stmw r25, 0x54(r1) +/* 80339EA4 00336E04 7C 79 1B 78 */ mr r25, r3 +/* 80339EA8 00336E08 7C DC 33 78 */ mr r28, r6 +/* 80339EAC 00336E0C 7C 9A 23 78 */ mr r26, r4 +/* 80339EB0 00336E10 7C BB 2B 78 */ mr r27, r5 +/* 80339EB4 00336E14 38 79 00 04 */ addi r3, r25, 4 +/* 80339EB8 00336E18 90 06 00 00 */ stw r0, 0(r6) +/* 80339EBC 00336E1C 48 00 1D 95 */ bl ResourceSize__10CResLoaderCFRC10SObjectTag +/* 80339EC0 00336E20 3C A0 80 3D */ lis r5, lbl_803D7A28@ha +/* 80339EC4 00336E24 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha +/* 80339EC8 00336E28 7C 7F 1B 78 */ mr r31, r3 +/* 80339ECC 00336E2C 38 61 00 08 */ addi r3, r1, 8 +/* 80339ED0 00336E30 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l +/* 80339ED4 00336E34 38 A5 7A 28 */ addi r5, r5, lbl_803D7A28@l +/* 80339ED8 00336E38 38 80 FF FF */ li r4, -1 +/* 80339EDC 00336E3C 4B F9 C4 F9 */ bl __ct__10CCallStackFUiPCcPCc +/* 80339EE0 00336E40 7C 67 1B 78 */ mr r7, r3 +/* 80339EE4 00336E44 7F E3 FB 78 */ mr r3, r31 +/* 80339EE8 00336E48 38 80 00 02 */ li r4, 2 +/* 80339EEC 00336E4C 38 A0 00 01 */ li r5, 1 +/* 80339EF0 00336E50 38 C0 00 00 */ li r6, 0 +/* 80339EF4 00336E54 4B FD BA A1 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 80339EF8 00336E58 7C 7D 1B 78 */ mr r29, r3 +/* 80339EFC 00336E5C 7F 44 D3 78 */ mr r4, r26 +/* 80339F00 00336E60 38 79 00 04 */ addi r3, r25, 4 +/* 80339F04 00336E64 7F A5 EB 78 */ mr r5, r29 +/* 80339F08 00336E68 48 00 1C 71 */ bl LoadResourceAsync__10CResLoaderFRC10SObjectTagPc +/* 80339F0C 00336E6C 7C 7E 1B 78 */ mr r30, r3 +/* 80339F10 00336E70 7F 44 D3 78 */ mr r4, r26 +/* 80339F14 00336E74 38 79 00 04 */ addi r3, r25, 4 +/* 80339F18 00336E78 48 00 1C E1 */ bl GetResourceCompression__10CResLoaderCFRC10SObjectTag +/* 80339F1C 00336E7C 7C 69 1B 78 */ mr r9, r3 +/* 80339F20 00336E80 7F 44 D3 78 */ mr r4, r26 +/* 80339F24 00336E84 7F C5 F3 78 */ mr r5, r30 +/* 80339F28 00336E88 7F 86 E3 78 */ mr r6, r28 +/* 80339F2C 00336E8C 7F A7 EB 78 */ mr r7, r29 +/* 80339F30 00336E90 7F E8 FB 78 */ mr r8, r31 +/* 80339F34 00336E94 7F 6A DB 78 */ mr r10, r27 +/* 80339F38 00336E98 38 61 00 10 */ addi r3, r1, 0x10 +/* 80339F3C 00336E9C 4B FF FA 45 */ bl sub_80339980 +/* 80339F40 00336EA0 7F 23 CB 78 */ mr r3, r25 +/* 80339F44 00336EA4 38 81 00 10 */ addi r4, r1, 0x10 +/* 80339F48 00336EA8 48 00 05 B9 */ bl sub_8033a500 +/* 80339F4C 00336EAC 38 61 00 10 */ addi r3, r1, 0x10 +/* 80339F50 00336EB0 38 80 FF FF */ li r4, -1 +/* 80339F54 00336EB4 4B FF F9 2D */ bl sub_80339880 +/* 80339F58 00336EB8 BB 21 00 54 */ lmw r25, 0x54(r1) +/* 80339F5C 00336EBC 80 01 00 74 */ lwz r0, 0x74(r1) +/* 80339F60 00336EC0 7C 08 03 A6 */ mtlr r0 +/* 80339F64 00336EC4 38 21 00 70 */ addi r1, r1, 0x70 +/* 80339F68 00336EC8 4E 80 00 20 */ blr + +.global BuildSync__11CResFactoryFRC10SObjectTagRC15CVParamTransfer +BuildSync__11CResFactoryFRC10SObjectTagRC15CVParamTransfer: +/* 80339F6C 00336ECC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80339F70 00336ED0 7C 08 02 A6 */ mflr r0 +/* 80339F74 00336ED4 90 01 00 34 */ stw r0, 0x34(r1) +/* 80339F78 00336ED8 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80339F7C 00336EDC 7C BF 2B 78 */ mr r31, r5 +/* 80339F80 00336EE0 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80339F84 00336EE4 7C DE 33 78 */ mr r30, r6 +/* 80339F88 00336EE8 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80339F8C 00336EEC 7C 9D 23 78 */ mr r29, r4 +/* 80339F90 00336EF0 7F E4 FB 78 */ mr r4, r31 +/* 80339F94 00336EF4 93 81 00 20 */ stw r28, 0x20(r1) +/* 80339F98 00336EF8 7C 7C 1B 78 */ mr r28, r3 +/* 80339F9C 00336EFC 38 7D 00 5C */ addi r3, r29, 0x5c +/* 80339FA0 00336F00 4B FF EC B5 */ bl CanMakeMemory__11CFactoryMgrFRC10SObjectTag +/* 80339FA4 00336F04 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80339FA8 00336F08 41 82 00 50 */ beq lbl_80339FF8 +/* 80339FAC 00336F0C 7F E4 FB 78 */ mr r4, r31 +/* 80339FB0 00336F10 38 7D 00 04 */ addi r3, r29, 4 +/* 80339FB4 00336F14 38 A1 00 0C */ addi r5, r1, 0xc +/* 80339FB8 00336F18 38 C1 00 08 */ addi r6, r1, 8 +/* 80339FBC 00336F1C 48 00 17 DD */ bl LoadMemResourceSync__10CResLoaderFRC10SObjectTagPPcPi +/* 80339FC0 00336F20 7F E4 FB 78 */ mr r4, r31 +/* 80339FC4 00336F24 38 7D 00 04 */ addi r3, r29, 4 +/* 80339FC8 00336F28 48 00 1C 31 */ bl GetResourceCompression__10CResLoaderCFRC10SObjectTag +/* 80339FCC 00336F2C 7C 03 00 D0 */ neg r0, r3 +/* 80339FD0 00336F30 80 C1 00 0C */ lwz r6, 0xc(r1) +/* 80339FD4 00336F34 7C 00 1B 78 */ or r0, r0, r3 +/* 80339FD8 00336F38 80 E1 00 08 */ lwz r7, 8(r1) +/* 80339FDC 00336F3C 54 08 0F FE */ srwi r8, r0, 0x1f +/* 80339FE0 00336F40 7F 83 E3 78 */ mr r3, r28 +/* 80339FE4 00336F44 7F E5 FB 78 */ mr r5, r31 +/* 80339FE8 00336F48 7F C9 F3 78 */ mr r9, r30 +/* 80339FEC 00336F4C 38 9D 00 5C */ addi r4, r29, 0x5c +/* 80339FF0 00336F50 4B FF E6 FD */ bl MakeObjectFromMemory__11CFactoryMgrFRC10SObjectTagPvibRC15CVParamTransfer +/* 80339FF4 00336F54 48 00 00 B8 */ b lbl_8033A0AC +lbl_80339FF8: +/* 80339FF8 00336F58 7F E4 FB 78 */ mr r4, r31 +/* 80339FFC 00336F5C 38 7D 00 04 */ addi r3, r29, 4 +/* 8033A000 00336F60 38 A0 00 00 */ li r5, 0 +/* 8033A004 00336F64 48 00 19 65 */ bl LoadNewResourceSync__10CResLoaderFRC10SObjectTagPc +/* 8033A008 00336F68 7F E5 FB 78 */ mr r5, r31 +/* 8033A00C 00336F6C 7C 7F 1B 78 */ mr r31, r3 +/* 8033A010 00336F70 7F C7 F3 78 */ mr r7, r30 +/* 8033A014 00336F74 38 61 00 10 */ addi r3, r1, 0x10 +/* 8033A018 00336F78 7F E6 FB 78 */ mr r6, r31 +/* 8033A01C 00336F7C 38 9D 00 5C */ addi r4, r29, 0x5c +/* 8033A020 00336F80 4B FF EB 61 */ bl MakeObject__11CFactoryMgrFRC10SObjectTagR12CInputStreamRC15CVParamTransfer +/* 8033A024 00336F84 88 81 00 10 */ lbz r4, 0x10(r1) +/* 8033A028 00336F88 38 00 00 00 */ li r0, 0 +/* 8033A02C 00336F8C 80 61 00 14 */ lwz r3, 0x14(r1) +/* 8033A030 00336F90 98 81 00 18 */ stb r4, 0x18(r1) +/* 8033A034 00336F94 90 61 00 1C */ stw r3, 0x1c(r1) +/* 8033A038 00336F98 98 01 00 10 */ stb r0, 0x10(r1) +/* 8033A03C 00336F9C 48 00 00 1C */ b lbl_8033A058 +/* 8033A040 00336FA0 41 82 00 18 */ beq lbl_8033A058 +/* 8033A044 00336FA4 81 83 00 00 */ lwz r12, 0(r3) +/* 8033A048 00336FA8 38 80 00 01 */ li r4, 1 +/* 8033A04C 00336FAC 81 8C 00 08 */ lwz r12, 8(r12) +/* 8033A050 00336FB0 7D 89 03 A6 */ mtctr r12 +/* 8033A054 00336FB4 4E 80 04 21 */ bctrl +lbl_8033A058: +/* 8033A058 00336FB8 28 1F 00 00 */ cmplwi r31, 0 +/* 8033A05C 00336FBC 41 82 00 1C */ beq lbl_8033A078 +/* 8033A060 00336FC0 7F E3 FB 78 */ mr r3, r31 +/* 8033A064 00336FC4 38 80 00 01 */ li r4, 1 +/* 8033A068 00336FC8 81 9F 00 00 */ lwz r12, 0(r31) +/* 8033A06C 00336FCC 81 8C 00 08 */ lwz r12, 8(r12) +/* 8033A070 00336FD0 7D 89 03 A6 */ mtctr r12 +/* 8033A074 00336FD4 4E 80 04 21 */ bctrl +lbl_8033A078: +/* 8033A078 00336FD8 88 81 00 18 */ lbz r4, 0x18(r1) +/* 8033A07C 00336FDC 38 00 00 00 */ li r0, 0 +/* 8033A080 00336FE0 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 8033A084 00336FE4 98 9C 00 00 */ stb r4, 0(r28) +/* 8033A088 00336FE8 90 7C 00 04 */ stw r3, 4(r28) +/* 8033A08C 00336FEC 98 01 00 18 */ stb r0, 0x18(r1) +/* 8033A090 00336FF0 48 00 00 1C */ b lbl_8033A0AC +/* 8033A094 00336FF4 41 82 00 18 */ beq lbl_8033A0AC +/* 8033A098 00336FF8 81 83 00 00 */ lwz r12, 0(r3) +/* 8033A09C 00336FFC 38 80 00 01 */ li r4, 1 +/* 8033A0A0 00337000 81 8C 00 08 */ lwz r12, 8(r12) +/* 8033A0A4 00337004 7D 89 03 A6 */ mtctr r12 +/* 8033A0A8 00337008 4E 80 04 21 */ bctrl +lbl_8033A0AC: +/* 8033A0AC 0033700C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8033A0B0 00337010 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8033A0B4 00337014 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8033A0B8 00337018 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8033A0BC 0033701C 83 81 00 20 */ lwz r28, 0x20(r1) +/* 8033A0C0 00337020 7C 08 03 A6 */ mtlr r0 +/* 8033A0C4 00337024 38 21 00 30 */ addi r1, r1, 0x30 +/* 8033A0C8 00337028 4E 80 00 20 */ blr + +.global Build__11CResFactoryFRC10SObjectTagRC15CVParamTransfer +Build__11CResFactoryFRC10SObjectTagRC15CVParamTransfer: +/* 8033A0CC 0033702C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033A0D0 00337030 7C 08 02 A6 */ mflr r0 +/* 8033A0D4 00337034 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033A0D8 00337038 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8033A0DC 0033703C 7C DF 33 78 */ mr r31, r6 +/* 8033A0E0 00337040 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8033A0E4 00337044 7C BE 2B 78 */ mr r30, r5 +/* 8033A0E8 00337048 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8033A0EC 0033704C 7C 9D 23 78 */ mr r29, r4 +/* 8033A0F0 00337050 93 81 00 10 */ stw r28, 0x10(r1) +/* 8033A0F4 00337054 7C 7C 1B 78 */ mr r28, r3 +/* 8033A0F8 00337058 38 61 00 08 */ addi r3, r1, 8 +/* 8033A0FC 0033705C 48 00 00 91 */ bl sub_8033a18c +/* 8033A100 00337060 80 61 00 08 */ lwz r3, 8(r1) +/* 8033A104 00337064 90 61 00 0C */ stw r3, 0xc(r1) +/* 8033A108 00337068 80 1D 00 8C */ lwz r0, 0x8c(r29) +/* 8033A10C 0033706C 7C 03 00 40 */ cmplw r3, r0 +/* 8033A110 00337070 41 82 00 48 */ beq lbl_8033A158 +/* 8033A114 00337074 83 E3 00 18 */ lwz r31, 0x18(r3) +/* 8033A118 00337078 48 00 00 1C */ b lbl_8033A134 +lbl_8033A11C: +/* 8033A11C 0033707C 7F A3 EB 78 */ mr r3, r29 +/* 8033A120 00337080 38 81 00 0C */ addi r4, r1, 0xc +/* 8033A124 00337084 38 A0 00 00 */ li r5, 0 +/* 8033A128 00337088 4B FF F8 DD */ bl PumpResource__11CResFactoryFR12SLoadingData +/* 8033A12C 0033708C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8033A130 00337090 41 82 FF EC */ beq lbl_8033A11C +lbl_8033A134: +/* 8033A134 00337094 80 7F 00 00 */ lwz r3, 0(r31) +/* 8033A138 00337098 28 03 00 00 */ cmplwi r3, 0 +/* 8033A13C 0033709C 41 82 FF E0 */ beq lbl_8033A11C +/* 8033A140 003370A0 7C 03 00 D0 */ neg r0, r3 +/* 8033A144 003370A4 7C 00 1B 78 */ or r0, r0, r3 +/* 8033A148 003370A8 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8033A14C 003370AC 98 1C 00 00 */ stb r0, 0(r28) +/* 8033A150 003370B0 90 7C 00 04 */ stw r3, 4(r28) +/* 8033A154 003370B4 48 00 00 18 */ b lbl_8033A16C +lbl_8033A158: +/* 8033A158 003370B8 7F 83 E3 78 */ mr r3, r28 +/* 8033A15C 003370BC 7F A4 EB 78 */ mr r4, r29 +/* 8033A160 003370C0 7F C5 F3 78 */ mr r5, r30 +/* 8033A164 003370C4 7F E6 FB 78 */ mr r6, r31 +/* 8033A168 003370C8 4B FF FE 05 */ bl BuildSync__11CResFactoryFRC10SObjectTagRC15CVParamTransfer +lbl_8033A16C: +/* 8033A16C 003370CC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8033A170 003370D0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8033A174 003370D4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8033A178 003370D8 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8033A17C 003370DC 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8033A180 003370E0 7C 08 03 A6 */ mtlr r0 +/* 8033A184 003370E4 38 21 00 20 */ addi r1, r1, 0x20 +/* 8033A188 003370E8 4E 80 00 20 */ blr + +.global sub_8033a18c +sub_8033a18c: +/* 8033A18C 003370EC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033A190 003370F0 38 C0 00 00 */ li r6, 0 +/* 8033A194 003370F4 81 04 00 AC */ lwz r8, 0xac(r4) +/* 8033A198 003370F8 48 00 00 58 */ b lbl_8033A1F0 +lbl_8033A19C: +/* 8033A19C 003370FC 80 08 00 10 */ lwz r0, 0x10(r8) +/* 8033A1A0 00337100 80 E5 00 00 */ lwz r7, 0(r5) +/* 8033A1A4 00337104 7C 00 38 40 */ cmplw r0, r7 +/* 8033A1A8 00337108 40 82 00 20 */ bne lbl_8033A1C8 +/* 8033A1AC 0033710C 80 08 00 14 */ lwz r0, 0x14(r8) +/* 8033A1B0 00337110 80 E5 00 04 */ lwz r7, 4(r5) +/* 8033A1B4 00337114 7C E0 02 78 */ xor r0, r7, r0 +/* 8033A1B8 00337118 7C 00 00 34 */ cntlzw r0, r0 +/* 8033A1BC 0033711C 7C E0 00 30 */ slw r0, r7, r0 +/* 8033A1C0 00337120 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8033A1C4 00337124 48 00 00 14 */ b lbl_8033A1D8 +lbl_8033A1C8: +/* 8033A1C8 00337128 7C E0 02 78 */ xor r0, r7, r0 +/* 8033A1CC 0033712C 7C 00 00 34 */ cntlzw r0, r0 +/* 8033A1D0 00337130 7C E0 00 30 */ slw r0, r7, r0 +/* 8033A1D4 00337134 54 00 0F FE */ srwi r0, r0, 0x1f +lbl_8033A1D8: +/* 8033A1D8 00337138 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 8033A1DC 0033713C 40 82 00 10 */ bne lbl_8033A1EC +/* 8033A1E0 00337140 7D 06 43 78 */ mr r6, r8 +/* 8033A1E4 00337144 81 08 00 00 */ lwz r8, 0(r8) +/* 8033A1E8 00337148 48 00 00 08 */ b lbl_8033A1F0 +lbl_8033A1EC: +/* 8033A1EC 0033714C 81 08 00 04 */ lwz r8, 4(r8) +lbl_8033A1F0: +/* 8033A1F0 00337150 28 08 00 00 */ cmplwi r8, 0 +/* 8033A1F4 00337154 40 82 FF A8 */ bne lbl_8033A19C +/* 8033A1F8 00337158 7C C7 00 34 */ cntlzw r7, r6 +/* 8033A1FC 0033715C 54 E0 DE 3F */ rlwinm. r0, r7, 0x1b, 0x18, 0x1f +/* 8033A200 00337160 54 E0 D9 7E */ srwi r0, r7, 5 +/* 8033A204 00337164 40 82 00 40 */ bne lbl_8033A244 +/* 8033A208 00337168 80 05 00 00 */ lwz r0, 0(r5) +/* 8033A20C 0033716C 80 E6 00 10 */ lwz r7, 0x10(r6) +/* 8033A210 00337170 7C 00 38 40 */ cmplw r0, r7 +/* 8033A214 00337174 40 82 00 20 */ bne lbl_8033A234 +/* 8033A218 00337178 80 05 00 04 */ lwz r0, 4(r5) +/* 8033A21C 0033717C 80 A6 00 14 */ lwz r5, 0x14(r6) +/* 8033A220 00337180 7C A0 02 78 */ xor r0, r5, r0 +/* 8033A224 00337184 7C 00 00 34 */ cntlzw r0, r0 +/* 8033A228 00337188 7C A0 00 30 */ slw r0, r5, r0 +/* 8033A22C 0033718C 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8033A230 00337190 48 00 00 14 */ b lbl_8033A244 +lbl_8033A234: +/* 8033A234 00337194 7C E0 02 78 */ xor r0, r7, r0 +/* 8033A238 00337198 7C 00 00 34 */ cntlzw r0, r0 +/* 8033A23C 0033719C 7C E0 00 30 */ slw r0, r7, r0 +/* 8033A240 003371A0 54 00 0F FE */ srwi r0, r0, 0x1f +lbl_8033A244: +/* 8033A244 003371A4 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 8033A248 003371A8 41 82 00 08 */ beq lbl_8033A250 +/* 8033A24C 003371AC 38 C0 00 00 */ li r6, 0 +lbl_8033A250: +/* 8033A250 003371B0 38 00 00 00 */ li r0, 0 +/* 8033A254 003371B4 38 A4 00 A4 */ addi r5, r4, 0xa4 +/* 8033A258 003371B8 7C 06 00 40 */ cmplw r6, r0 +/* 8033A25C 003371BC 90 C1 00 10 */ stw r6, 0x10(r1) +/* 8033A260 003371C0 90 A1 00 14 */ stw r5, 0x14(r1) +/* 8033A264 003371C4 90 01 00 08 */ stw r0, 8(r1) +/* 8033A268 003371C8 90 A1 00 0C */ stw r5, 0xc(r1) +/* 8033A26C 003371CC 40 82 00 10 */ bne lbl_8033A27C +/* 8033A270 003371D0 7C 05 28 40 */ cmplw r5, r5 +/* 8033A274 003371D4 40 82 00 08 */ bne lbl_8033A27C +/* 8033A278 003371D8 38 00 00 01 */ li r0, 1 +lbl_8033A27C: +/* 8033A27C 003371DC 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 8033A280 003371E0 41 82 00 10 */ beq lbl_8033A290 +/* 8033A284 003371E4 80 04 00 8C */ lwz r0, 0x8c(r4) +/* 8033A288 003371E8 90 03 00 00 */ stw r0, 0(r3) +/* 8033A28C 003371EC 48 00 00 0C */ b lbl_8033A298 +lbl_8033A290: +/* 8033A290 003371F0 80 06 00 18 */ lwz r0, 0x18(r6) +/* 8033A294 003371F4 90 03 00 00 */ stw r0, 0(r3) +lbl_8033A298: +/* 8033A298 003371F8 38 21 00 20 */ addi r1, r1, 0x20 +/* 8033A29C 003371FC 4E 80 00 20 */ blr + +.global sub_8033a2a0 +sub_8033a2a0: +/* 8033A2A0 00337200 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033A2A4 00337204 7C 08 02 A6 */ mflr r0 +/* 8033A2A8 00337208 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033A2AC 0033720C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033A2B0 00337210 7C 9F 23 78 */ mr r31, r4 +/* 8033A2B4 00337214 93 C1 00 08 */ stw r30, 8(r1) +/* 8033A2B8 00337218 7C 7E 1B 78 */ mr r30, r3 +/* 8033A2BC 0033721C 38 7E 00 9C */ addi r3, r30, 0x9c +/* 8033A2C0 00337220 80 84 00 00 */ lwz r4, 0(r4) +/* 8033A2C4 00337224 38 84 00 08 */ addi r4, r4, 8 +/* 8033A2C8 00337228 48 00 00 29 */ bl sub_8033a2f0 +/* 8033A2CC 0033722C 80 9F 00 00 */ lwz r4, 0(r31) +/* 8033A2D0 00337230 38 7E 00 84 */ addi r3, r30, 0x84 +/* 8033A2D4 00337234 48 00 06 09 */ bl sub_8033a8dc +/* 8033A2D8 00337238 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033A2DC 0033723C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033A2E0 00337240 83 C1 00 08 */ lwz r30, 8(r1) +/* 8033A2E4 00337244 7C 08 03 A6 */ mtlr r0 +/* 8033A2E8 00337248 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033A2EC 0033724C 4E 80 00 20 */ blr + +.global sub_8033a2f0 +sub_8033a2f0: +/* 8033A2F0 00337250 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 8033A2F4 00337254 7C 08 02 A6 */ mflr r0 +/* 8033A2F8 00337258 7C 85 23 78 */ mr r5, r4 +/* 8033A2FC 0033725C 90 01 00 74 */ stw r0, 0x74(r1) +/* 8033A300 00337260 BF 41 00 58 */ stmw r26, 0x58(r1) +/* 8033A304 00337264 7C 7F 1B 78 */ mr r31, r3 +/* 8033A308 00337268 7F E4 FB 78 */ mr r4, r31 +/* 8033A30C 0033726C 38 61 00 38 */ addi r3, r1, 0x38 +/* 8033A310 00337270 48 00 01 05 */ bl sub_8033a414 +/* 8033A314 00337274 80 E1 00 38 */ lwz r7, 0x38(r1) +/* 8033A318 00337278 38 61 00 28 */ addi r3, r1, 0x28 +/* 8033A31C 0033727C 80 C1 00 3C */ lwz r6, 0x3c(r1) +/* 8033A320 00337280 38 81 00 20 */ addi r4, r1, 0x20 +/* 8033A324 00337284 80 A1 00 40 */ lwz r5, 0x40(r1) +/* 8033A328 00337288 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8033A32C 0033728C 90 E1 00 48 */ stw r7, 0x48(r1) +/* 8033A330 00337290 90 C1 00 4C */ stw r6, 0x4c(r1) +/* 8033A334 00337294 90 A1 00 50 */ stw r5, 0x50(r1) +/* 8033A338 00337298 90 01 00 54 */ stw r0, 0x54(r1) +/* 8033A33C 0033729C 90 A1 00 20 */ stw r5, 0x20(r1) +/* 8033A340 003372A0 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033A344 003372A4 90 E1 00 28 */ stw r7, 0x28(r1) +/* 8033A348 003372A8 90 C1 00 2C */ stw r6, 0x2c(r1) +/* 8033A34C 003372AC 48 00 04 B5 */ bl sub_8033a800 +/* 8033A350 003372B0 83 C1 00 4C */ lwz r30, 0x4c(r1) +/* 8033A354 003372B4 7C 7A 1B 78 */ mr r26, r3 +/* 8033A358 003372B8 80 01 00 48 */ lwz r0, 0x48(r1) +/* 8033A35C 003372BC 93 C1 00 34 */ stw r30, 0x34(r1) +/* 8033A360 003372C0 83 81 00 50 */ lwz r28, 0x50(r1) +/* 8033A364 003372C4 90 01 00 30 */ stw r0, 0x30(r1) +/* 8033A368 003372C8 83 61 00 54 */ lwz r27, 0x54(r1) +/* 8033A36C 003372CC 48 00 00 68 */ b lbl_8033A3D4 +lbl_8033A370: +/* 8033A370 003372D0 90 81 00 08 */ stw r4, 8(r1) +/* 8033A374 003372D4 7F C3 F3 78 */ mr r3, r30 +/* 8033A378 003372D8 80 81 00 30 */ lwz r4, 0x30(r1) +/* 8033A37C 003372DC 93 C1 00 0C */ stw r30, 0xc(r1) +/* 8033A380 003372E0 48 00 22 61 */ bl rbtree_traverse_forward__4rstlFPCvPv +/* 8033A384 003372E4 83 A1 00 08 */ lwz r29, 8(r1) +/* 8033A388 003372E8 7F C0 F3 78 */ mr r0, r30 +/* 8033A38C 003372EC 90 61 00 30 */ stw r3, 0x30(r1) +/* 8033A390 003372F0 7C 03 03 78 */ mr r3, r0 +/* 8033A394 003372F4 7F A4 EB 78 */ mr r4, r29 +/* 8033A398 003372F8 93 A1 00 10 */ stw r29, 0x10(r1) +/* 8033A39C 003372FC 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033A3A0 00337300 93 A1 00 18 */ stw r29, 0x18(r1) +/* 8033A3A4 00337304 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8033A3A8 00337308 48 00 22 39 */ bl rbtree_traverse_forward__4rstlFPCvPv +/* 8033A3AC 0033730C 90 61 00 18 */ stw r3, 0x18(r1) +/* 8033A3B0 00337310 7F A4 EB 78 */ mr r4, r29 +/* 8033A3B4 00337314 38 7F 00 08 */ addi r3, r31, 8 +/* 8033A3B8 00337318 48 00 22 C5 */ bl rbtree_rebalance_for_erase__4rstlFPvPv +/* 8033A3BC 0033731C 28 03 00 00 */ cmplwi r3, 0 +/* 8033A3C0 00337320 41 82 00 08 */ beq lbl_8033A3C8 +/* 8033A3C4 00337324 4B FD B5 6D */ bl Free__7CMemoryFPCv +lbl_8033A3C8: +/* 8033A3C8 00337328 80 7F 00 04 */ lwz r3, 4(r31) +/* 8033A3CC 0033732C 38 03 FF FF */ addi r0, r3, -1 +/* 8033A3D0 00337330 90 1F 00 04 */ stw r0, 4(r31) +lbl_8033A3D4: +/* 8033A3D4 00337334 80 81 00 30 */ lwz r4, 0x30(r1) +/* 8033A3D8 00337338 38 60 00 00 */ li r3, 0 +/* 8033A3DC 0033733C 7C 04 E0 40 */ cmplw r4, r28 +/* 8033A3E0 00337340 40 82 00 10 */ bne lbl_8033A3F0 +/* 8033A3E4 00337344 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8033A3E8 00337348 7C 00 D8 40 */ cmplw r0, r27 +/* 8033A3EC 0033734C 41 82 00 08 */ beq lbl_8033A3F4 +lbl_8033A3F0: +/* 8033A3F0 00337350 38 60 00 01 */ li r3, 1 +lbl_8033A3F4: +/* 8033A3F4 00337354 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8033A3F8 00337358 40 82 FF 78 */ bne lbl_8033A370 +/* 8033A3FC 0033735C 7F 43 D3 78 */ mr r3, r26 +/* 8033A400 00337360 BB 41 00 58 */ lmw r26, 0x58(r1) +/* 8033A404 00337364 80 01 00 74 */ lwz r0, 0x74(r1) +/* 8033A408 00337368 7C 08 03 A6 */ mtlr r0 +/* 8033A40C 0033736C 38 21 00 70 */ addi r1, r1, 0x70 +/* 8033A410 00337370 4E 80 00 20 */ blr + +.global sub_8033a414 +sub_8033a414: +/* 8033A414 00337374 80 C4 00 10 */ lwz r6, 0x10(r4) +/* 8033A418 00337378 39 00 00 00 */ li r8, 0 +/* 8033A41C 0033737C 7C C9 33 78 */ mr r9, r6 +/* 8033A420 00337380 48 00 00 58 */ b lbl_8033A478 +lbl_8033A424: +/* 8033A424 00337384 80 05 00 00 */ lwz r0, 0(r5) +/* 8033A428 00337388 80 E9 00 10 */ lwz r7, 0x10(r9) +/* 8033A42C 0033738C 7C 00 38 40 */ cmplw r0, r7 +/* 8033A430 00337390 40 82 00 20 */ bne lbl_8033A450 +/* 8033A434 00337394 80 05 00 04 */ lwz r0, 4(r5) +/* 8033A438 00337398 80 E9 00 14 */ lwz r7, 0x14(r9) +/* 8033A43C 0033739C 7C E0 02 78 */ xor r0, r7, r0 +/* 8033A440 003373A0 7C 00 00 34 */ cntlzw r0, r0 +/* 8033A444 003373A4 7C E0 00 30 */ slw r0, r7, r0 +/* 8033A448 003373A8 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8033A44C 003373AC 48 00 00 14 */ b lbl_8033A460 +lbl_8033A450: +/* 8033A450 003373B0 7C E0 02 78 */ xor r0, r7, r0 +/* 8033A454 003373B4 7C 00 00 34 */ cntlzw r0, r0 +/* 8033A458 003373B8 7C E0 00 30 */ slw r0, r7, r0 +/* 8033A45C 003373BC 54 00 0F FE */ srwi r0, r0, 0x1f +lbl_8033A460: +/* 8033A460 003373C0 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 8033A464 003373C4 41 82 00 10 */ beq lbl_8033A474 +/* 8033A468 003373C8 7D 28 4B 78 */ mr r8, r9 +/* 8033A46C 003373CC 81 29 00 00 */ lwz r9, 0(r9) +/* 8033A470 003373D0 48 00 00 08 */ b lbl_8033A478 +lbl_8033A474: +/* 8033A474 003373D4 81 29 00 04 */ lwz r9, 4(r9) +lbl_8033A478: +/* 8033A478 003373D8 28 09 00 00 */ cmplwi r9, 0 +/* 8033A47C 003373DC 40 82 FF A8 */ bne lbl_8033A424 +/* 8033A480 003373E0 39 44 00 08 */ addi r10, r4, 8 +/* 8033A484 003373E4 39 20 00 00 */ li r9, 0 +/* 8033A488 003373E8 48 00 00 58 */ b lbl_8033A4E0 +lbl_8033A48C: +/* 8033A48C 003373EC 80 06 00 10 */ lwz r0, 0x10(r6) +/* 8033A490 003373F0 80 E5 00 00 */ lwz r7, 0(r5) +/* 8033A494 003373F4 7C 00 38 40 */ cmplw r0, r7 +/* 8033A498 003373F8 40 82 00 20 */ bne lbl_8033A4B8 +/* 8033A49C 003373FC 80 06 00 14 */ lwz r0, 0x14(r6) +/* 8033A4A0 00337400 80 E5 00 04 */ lwz r7, 4(r5) +/* 8033A4A4 00337404 7C E0 02 78 */ xor r0, r7, r0 +/* 8033A4A8 00337408 7C 00 00 34 */ cntlzw r0, r0 +/* 8033A4AC 0033740C 7C E0 00 30 */ slw r0, r7, r0 +/* 8033A4B0 00337410 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8033A4B4 00337414 48 00 00 14 */ b lbl_8033A4C8 +lbl_8033A4B8: +/* 8033A4B8 00337418 7C E0 02 78 */ xor r0, r7, r0 +/* 8033A4BC 0033741C 7C 00 00 34 */ cntlzw r0, r0 +/* 8033A4C0 00337420 7C E0 00 30 */ slw r0, r7, r0 +/* 8033A4C4 00337424 54 00 0F FE */ srwi r0, r0, 0x1f +lbl_8033A4C8: +/* 8033A4C8 00337428 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 8033A4CC 0033742C 40 82 00 10 */ bne lbl_8033A4DC +/* 8033A4D0 00337430 7C C9 33 78 */ mr r9, r6 +/* 8033A4D4 00337434 80 C6 00 00 */ lwz r6, 0(r6) +/* 8033A4D8 00337438 48 00 00 08 */ b lbl_8033A4E0 +lbl_8033A4DC: +/* 8033A4DC 0033743C 80 C6 00 04 */ lwz r6, 4(r6) +lbl_8033A4E0: +/* 8033A4E0 00337440 28 06 00 00 */ cmplwi r6, 0 +/* 8033A4E4 00337444 40 82 FF A8 */ bne lbl_8033A48C +/* 8033A4E8 00337448 91 23 00 00 */ stw r9, 0(r3) +/* 8033A4EC 0033744C 38 04 00 08 */ addi r0, r4, 8 +/* 8033A4F0 00337450 90 03 00 04 */ stw r0, 4(r3) +/* 8033A4F4 00337454 91 03 00 08 */ stw r8, 8(r3) +/* 8033A4F8 00337458 91 43 00 0C */ stw r10, 0xc(r3) +/* 8033A4FC 0033745C 4E 80 00 20 */ blr + +.global sub_8033a500 +sub_8033a500: +/* 8033A500 00337460 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8033A504 00337464 7C 08 02 A6 */ mflr r0 +/* 8033A508 00337468 90 01 00 34 */ stw r0, 0x34(r1) +/* 8033A50C 0033746C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8033A510 00337470 7C 9F 23 78 */ mr r31, r4 +/* 8033A514 00337474 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8033A518 00337478 7C 7E 1B 78 */ mr r30, r3 +/* 8033A51C 0033747C 80 03 00 8C */ lwz r0, 0x8c(r3) +/* 8033A520 00337480 80 64 00 0C */ lwz r3, 0xc(r4) +/* 8033A524 00337484 90 01 00 0C */ stw r0, 0xc(r1) +/* 8033A528 00337488 81 83 00 00 */ lwz r12, 0(r3) +/* 8033A52C 0033748C 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 8033A530 00337490 7D 89 03 A6 */ mtctr r12 +/* 8033A534 00337494 4E 80 04 21 */ bctrl +/* 8033A538 00337498 2C 03 00 00 */ cmpwi r3, 0 +/* 8033A53C 0033749C 40 82 00 48 */ bne lbl_8033A584 +/* 8033A540 003374A0 80 1E 00 88 */ lwz r0, 0x88(r30) +/* 8033A544 003374A4 90 01 00 0C */ stw r0, 0xc(r1) +/* 8033A548 003374A8 48 00 00 2C */ b lbl_8033A574 +lbl_8033A54C: +/* 8033A54C 003374AC 80 63 00 14 */ lwz r3, 0x14(r3) +/* 8033A550 003374B0 81 83 00 00 */ lwz r12, 0(r3) +/* 8033A554 003374B4 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 8033A558 003374B8 7D 89 03 A6 */ mtctr r12 +/* 8033A55C 003374BC 4E 80 04 21 */ bctrl +/* 8033A560 003374C0 2C 03 00 01 */ cmpwi r3, 1 +/* 8033A564 003374C4 41 82 00 20 */ beq lbl_8033A584 +/* 8033A568 003374C8 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8033A56C 003374CC 80 03 00 04 */ lwz r0, 4(r3) +/* 8033A570 003374D0 90 01 00 0C */ stw r0, 0xc(r1) +lbl_8033A574: +/* 8033A574 003374D4 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8033A578 003374D8 80 1E 00 8C */ lwz r0, 0x8c(r30) +/* 8033A57C 003374DC 7C 03 00 40 */ cmplw r3, r0 +/* 8033A580 003374E0 40 82 FF CC */ bne lbl_8033A54C +lbl_8033A584: +/* 8033A584 003374E4 7F E6 FB 78 */ mr r6, r31 +/* 8033A588 003374E8 38 61 00 08 */ addi r3, r1, 8 +/* 8033A58C 003374EC 38 9E 00 84 */ addi r4, r30, 0x84 +/* 8033A590 003374F0 38 A1 00 0C */ addi r5, r1, 0xc +/* 8033A594 003374F4 48 00 00 49 */ bl sub_8033a5dc +/* 8033A598 003374F8 80 FF 00 00 */ lwz r7, 0(r31) +/* 8033A59C 003374FC 38 61 00 1C */ addi r3, r1, 0x1c +/* 8033A5A0 00337500 80 BF 00 04 */ lwz r5, 4(r31) +/* 8033A5A4 00337504 38 9E 00 9C */ addi r4, r30, 0x9c +/* 8033A5A8 00337508 80 01 00 08 */ lwz r0, 8(r1) +/* 8033A5AC 0033750C 38 C1 00 10 */ addi r6, r1, 0x10 +/* 8033A5B0 00337510 90 E1 00 10 */ stw r7, 0x10(r1) +/* 8033A5B4 00337514 90 A1 00 14 */ stw r5, 0x14(r1) +/* 8033A5B8 00337518 90 01 00 18 */ stw r0, 0x18(r1) +/* 8033A5BC 0033751C 80 BE 00 AC */ lwz r5, 0xac(r30) +/* 8033A5C0 00337520 48 00 04 45 */ bl sub_8033aa04 +/* 8033A5C4 00337524 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8033A5C8 00337528 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8033A5CC 0033752C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8033A5D0 00337530 7C 08 03 A6 */ mtlr r0 +/* 8033A5D4 00337534 38 21 00 30 */ addi r1, r1, 0x30 +/* 8033A5D8 00337538 4E 80 00 20 */ blr + +.global sub_8033a5dc +sub_8033a5dc: +/* 8033A5DC 0033753C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033A5E0 00337540 7C 08 02 A6 */ mflr r0 +/* 8033A5E4 00337544 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033A5E8 00337548 7C 80 23 78 */ mr r0, r4 +/* 8033A5EC 0033754C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033A5F0 00337550 7C 7F 1B 78 */ mr r31, r3 +/* 8033A5F4 00337554 7C 03 03 78 */ mr r3, r0 +/* 8033A5F8 00337558 80 85 00 00 */ lwz r4, 0(r5) +/* 8033A5FC 0033755C 7C C5 33 78 */ mr r5, r6 +/* 8033A600 00337560 4B FF F7 9D */ bl sub_80339d9c +/* 8033A604 00337564 90 7F 00 00 */ stw r3, 0(r31) +/* 8033A608 00337568 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033A60C 0033756C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033A610 00337570 7C 08 03 A6 */ mtlr r0 +/* 8033A614 00337574 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033A618 00337578 4E 80 00 20 */ blr + +.global __dt__11CResFactoryFv +__dt__11CResFactoryFv: +/* 8033A61C 0033757C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033A620 00337580 7C 08 02 A6 */ mflr r0 +/* 8033A624 00337584 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033A628 00337588 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033A62C 0033758C 7C 9F 23 78 */ mr r31, r4 +/* 8033A630 00337590 93 C1 00 08 */ stw r30, 8(r1) +/* 8033A634 00337594 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8033A638 00337598 41 82 00 9C */ beq lbl_8033A6D4 +/* 8033A63C 0033759C 3C 80 80 3F */ lis r4, lbl_803EE368@ha +/* 8033A640 003375A0 38 7E 00 B0 */ addi r3, r30, 0xb0 +/* 8033A644 003375A4 38 04 E3 68 */ addi r0, r4, lbl_803EE368@l +/* 8033A648 003375A8 38 80 FF FF */ li r4, -1 +/* 8033A64C 003375AC 90 1E 00 00 */ stw r0, 0(r30) +/* 8033A650 003375B0 48 00 03 21 */ bl sub_8033a970 +/* 8033A654 003375B4 34 1E 00 9C */ addic. r0, r30, 0x9c +/* 8033A658 003375B8 41 82 00 34 */ beq lbl_8033A68C +/* 8033A65C 003375BC 34 1E 00 9C */ addic. r0, r30, 0x9c +/* 8033A660 003375C0 41 82 00 2C */ beq lbl_8033A68C +/* 8033A664 003375C4 80 9E 00 AC */ lwz r4, 0xac(r30) +/* 8033A668 003375C8 28 04 00 00 */ cmplwi r4, 0 +/* 8033A66C 003375CC 41 82 00 0C */ beq lbl_8033A678 +/* 8033A670 003375D0 38 7E 00 9C */ addi r3, r30, 0x9c +/* 8033A674 003375D4 48 00 01 25 */ bl sub_8033a798 +lbl_8033A678: +/* 8033A678 003375D8 38 00 00 00 */ li r0, 0 +/* 8033A67C 003375DC 90 1E 00 AC */ stw r0, 0xac(r30) +/* 8033A680 003375E0 90 1E 00 A4 */ stw r0, 0xa4(r30) +/* 8033A684 003375E4 90 1E 00 A8 */ stw r0, 0xa8(r30) +/* 8033A688 003375E8 90 1E 00 A0 */ stw r0, 0xa0(r30) +lbl_8033A68C: +/* 8033A68C 003375EC 38 7E 00 84 */ addi r3, r30, 0x84 +/* 8033A690 003375F0 38 80 FF FF */ li r4, -1 +/* 8033A694 003375F4 48 00 02 DD */ bl sub_8033a970 +/* 8033A698 003375F8 38 7E 00 5C */ addi r3, r30, 0x5c +/* 8033A69C 003375FC 38 80 FF FF */ li r4, -1 +/* 8033A6A0 00337600 4B FF E7 C1 */ bl sub_80338e60 +/* 8033A6A4 00337604 38 7E 00 04 */ addi r3, r30, 4 +/* 8033A6A8 00337608 38 80 FF FF */ li r4, -1 +/* 8033A6AC 0033760C 48 00 1C 5D */ bl __dt__10CResLoaderFv +/* 8033A6B0 00337610 28 1E 00 00 */ cmplwi r30, 0 +/* 8033A6B4 00337614 41 82 00 10 */ beq lbl_8033A6C4 +/* 8033A6B8 00337618 3C 60 80 3E */ lis r3, lbl_803D9C50@ha +/* 8033A6BC 0033761C 38 03 9C 50 */ addi r0, r3, lbl_803D9C50@l +/* 8033A6C0 00337620 90 1E 00 00 */ stw r0, 0(r30) +lbl_8033A6C4: +/* 8033A6C4 00337624 7F E0 07 35 */ extsh. r0, r31 +/* 8033A6C8 00337628 40 81 00 0C */ ble lbl_8033A6D4 +/* 8033A6CC 0033762C 7F C3 F3 78 */ mr r3, r30 +/* 8033A6D0 00337630 4B FD B2 61 */ bl Free__7CMemoryFPCv +lbl_8033A6D4: +/* 8033A6D4 00337634 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033A6D8 00337638 7F C3 F3 78 */ mr r3, r30 +/* 8033A6DC 0033763C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033A6E0 00337640 83 C1 00 08 */ lwz r30, 8(r1) +/* 8033A6E4 00337644 7C 08 03 A6 */ mtlr r0 +/* 8033A6E8 00337648 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033A6EC 0033764C 4E 80 00 20 */ blr + +.global __ct__11CResFactoryFv +__ct__11CResFactoryFv: +/* 8033A6F0 00337650 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033A6F4 00337654 7C 08 02 A6 */ mflr r0 +/* 8033A6F8 00337658 3C 80 80 3E */ lis r4, lbl_803D9C50@ha +/* 8033A6FC 0033765C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033A700 00337660 38 04 9C 50 */ addi r0, r4, lbl_803D9C50@l +/* 8033A704 00337664 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8033A708 00337668 7C 7F 1B 78 */ mr r31, r3 +/* 8033A70C 0033766C 3C 60 80 3F */ lis r3, lbl_803EE368@ha +/* 8033A710 00337670 90 1F 00 00 */ stw r0, 0(r31) +/* 8033A714 00337674 38 03 E3 68 */ addi r0, r3, lbl_803EE368@l +/* 8033A718 00337678 38 7F 00 04 */ addi r3, r31, 4 +/* 8033A71C 0033767C 90 1F 00 00 */ stw r0, 0(r31) +/* 8033A720 00337680 48 00 1C 9D */ bl __ct__10CResLoaderFv +/* 8033A724 00337684 38 7F 00 5C */ addi r3, r31, 0x5c +/* 8033A728 00337688 4B FF E7 F1 */ bl __ct__11CFactoryMgrFv +/* 8033A72C 0033768C 38 FF 00 90 */ addi r7, r31, 0x90 +/* 8033A730 00337690 38 C0 00 00 */ li r6, 0 +/* 8033A734 00337694 90 FF 00 88 */ stw r7, 0x88(r31) +/* 8033A738 00337698 38 1F 00 BC */ addi r0, r31, 0xbc +/* 8033A73C 0033769C 88 A1 00 08 */ lbz r5, 8(r1) +/* 8033A740 003376A0 7F E3 FB 78 */ mr r3, r31 +/* 8033A744 003376A4 90 FF 00 8C */ stw r7, 0x8c(r31) +/* 8033A748 003376A8 88 81 00 0C */ lbz r4, 0xc(r1) +/* 8033A74C 003376AC 90 FF 00 90 */ stw r7, 0x90(r31) +/* 8033A750 003376B0 90 FF 00 94 */ stw r7, 0x94(r31) +/* 8033A754 003376B4 90 DF 00 98 */ stw r6, 0x98(r31) +/* 8033A758 003376B8 98 BF 00 9C */ stb r5, 0x9c(r31) +/* 8033A75C 003376BC 98 9F 00 9D */ stb r4, 0x9d(r31) +/* 8033A760 003376C0 90 DF 00 A0 */ stw r6, 0xa0(r31) +/* 8033A764 003376C4 90 DF 00 A4 */ stw r6, 0xa4(r31) +/* 8033A768 003376C8 90 DF 00 A8 */ stw r6, 0xa8(r31) +/* 8033A76C 003376CC 90 DF 00 AC */ stw r6, 0xac(r31) +/* 8033A770 003376D0 90 1F 00 B4 */ stw r0, 0xb4(r31) +/* 8033A774 003376D4 90 1F 00 B8 */ stw r0, 0xb8(r31) +/* 8033A778 003376D8 90 1F 00 BC */ stw r0, 0xbc(r31) +/* 8033A77C 003376DC 90 1F 00 C0 */ stw r0, 0xc0(r31) +/* 8033A780 003376E0 90 DF 00 C4 */ stw r6, 0xc4(r31) +/* 8033A784 003376E4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8033A788 003376E8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8033A78C 003376EC 7C 08 03 A6 */ mtlr r0 +/* 8033A790 003376F0 38 21 00 20 */ addi r1, r1, 0x20 +/* 8033A794 003376F4 4E 80 00 20 */ blr + +.global sub_8033a798 +sub_8033a798: +/* 8033A798 003376F8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033A79C 003376FC 7C 08 02 A6 */ mflr r0 +/* 8033A7A0 00337700 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033A7A4 00337704 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033A7A8 00337708 7C 9F 23 78 */ mr r31, r4 +/* 8033A7AC 0033770C 93 C1 00 08 */ stw r30, 8(r1) +/* 8033A7B0 00337710 7C 7E 1B 78 */ mr r30, r3 +/* 8033A7B4 00337714 80 84 00 00 */ lwz r4, 0(r4) +/* 8033A7B8 00337718 28 04 00 00 */ cmplwi r4, 0 +/* 8033A7BC 0033771C 41 82 00 08 */ beq lbl_8033A7C4 +/* 8033A7C0 00337720 4B FF FF D9 */ bl sub_8033a798 +lbl_8033A7C4: +/* 8033A7C4 00337724 80 9F 00 04 */ lwz r4, 4(r31) +/* 8033A7C8 00337728 28 04 00 00 */ cmplwi r4, 0 +/* 8033A7CC 0033772C 41 82 00 0C */ beq lbl_8033A7D8 +/* 8033A7D0 00337730 7F C3 F3 78 */ mr r3, r30 +/* 8033A7D4 00337734 4B FF FF C5 */ bl sub_8033a798 +lbl_8033A7D8: +/* 8033A7D8 00337738 28 1F 00 00 */ cmplwi r31, 0 +/* 8033A7DC 0033773C 41 82 00 0C */ beq lbl_8033A7E8 +/* 8033A7E0 00337740 7F E3 FB 78 */ mr r3, r31 +/* 8033A7E4 00337744 4B FD B1 4D */ bl Free__7CMemoryFPCv +lbl_8033A7E8: +/* 8033A7E8 00337748 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033A7EC 0033774C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033A7F0 00337750 83 C1 00 08 */ lwz r30, 8(r1) +/* 8033A7F4 00337754 7C 08 03 A6 */ mtlr r0 +/* 8033A7F8 00337758 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033A7FC 0033775C 4E 80 00 20 */ blr + +.global sub_8033a800 +sub_8033a800: +/* 8033A800 00337760 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033A804 00337764 7C 08 02 A6 */ mflr r0 +/* 8033A808 00337768 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033A80C 0033776C 38 A1 00 0C */ addi r5, r1, 0xc +/* 8033A810 00337770 89 21 00 08 */ lbz r9, 8(r1) +/* 8033A814 00337774 81 04 00 00 */ lwz r8, 0(r4) +/* 8033A818 00337778 80 E4 00 04 */ lwz r7, 4(r4) +/* 8033A81C 0033777C 38 81 00 10 */ addi r4, r1, 0x10 +/* 8033A820 00337780 80 C3 00 00 */ lwz r6, 0(r3) +/* 8033A824 00337784 80 03 00 04 */ lwz r0, 4(r3) +/* 8033A828 00337788 38 61 00 18 */ addi r3, r1, 0x18 +/* 8033A82C 0033778C 99 21 00 0C */ stb r9, 0xc(r1) +/* 8033A830 00337790 91 01 00 10 */ stw r8, 0x10(r1) +/* 8033A834 00337794 90 E1 00 14 */ stw r7, 0x14(r1) +/* 8033A838 00337798 90 C1 00 18 */ stw r6, 0x18(r1) +/* 8033A83C 0033779C 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8033A840 003377A0 48 00 00 15 */ bl sub_8033a854 +/* 8033A844 003377A4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8033A848 003377A8 7C 08 03 A6 */ mtlr r0 +/* 8033A84C 003377AC 38 21 00 20 */ addi r1, r1, 0x20 +/* 8033A850 003377B0 4E 80 00 20 */ blr + +.global sub_8033a854 +sub_8033a854: +/* 8033A854 003377B4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033A858 003377B8 7C 08 02 A6 */ mflr r0 +/* 8033A85C 003377BC 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033A860 003377C0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8033A864 003377C4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8033A868 003377C8 3B C0 00 00 */ li r30, 0 +/* 8033A86C 003377CC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8033A870 003377D0 7C 9D 23 78 */ mr r29, r4 +/* 8033A874 003377D4 80 A3 00 00 */ lwz r5, 0(r3) +/* 8033A878 003377D8 83 E3 00 04 */ lwz r31, 4(r3) +/* 8033A87C 003377DC 48 00 00 18 */ b lbl_8033A894 +lbl_8033A880: +/* 8033A880 003377E0 7F E3 FB 78 */ mr r3, r31 +/* 8033A884 003377E4 7C A4 2B 78 */ mr r4, r5 +/* 8033A888 003377E8 3B DE 00 01 */ addi r30, r30, 1 +/* 8033A88C 003377EC 48 00 1D 55 */ bl rbtree_traverse_forward__4rstlFPCvPv +/* 8033A890 003377F0 7C 65 1B 78 */ mr r5, r3 +lbl_8033A894: +/* 8033A894 003377F4 80 1D 00 00 */ lwz r0, 0(r29) +/* 8033A898 003377F8 38 60 00 00 */ li r3, 0 +/* 8033A89C 003377FC 7C 05 00 40 */ cmplw r5, r0 +/* 8033A8A0 00337800 40 82 00 10 */ bne lbl_8033A8B0 +/* 8033A8A4 00337804 80 1D 00 04 */ lwz r0, 4(r29) +/* 8033A8A8 00337808 7C 1F 00 40 */ cmplw r31, r0 +/* 8033A8AC 0033780C 41 82 00 08 */ beq lbl_8033A8B4 +lbl_8033A8B0: +/* 8033A8B0 00337810 38 60 00 01 */ li r3, 1 +lbl_8033A8B4: +/* 8033A8B4 00337814 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8033A8B8 00337818 40 82 FF C8 */ bne lbl_8033A880 +/* 8033A8BC 0033781C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8033A8C0 00337820 7F C3 F3 78 */ mr r3, r30 +/* 8033A8C4 00337824 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8033A8C8 00337828 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8033A8CC 0033782C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8033A8D0 00337830 7C 08 03 A6 */ mtlr r0 +/* 8033A8D4 00337834 38 21 00 20 */ addi r1, r1, 0x20 +/* 8033A8D8 00337838 4E 80 00 20 */ blr + +.global sub_8033a8dc +sub_8033a8dc: +/* 8033A8DC 0033783C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033A8E0 00337840 7C 08 02 A6 */ mflr r0 +/* 8033A8E4 00337844 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033A8E8 00337848 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8033A8EC 0033784C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8033A8F0 00337850 7C 9E 23 78 */ mr r30, r4 +/* 8033A8F4 00337854 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8033A8F8 00337858 7C 7D 1B 78 */ mr r29, r3 +/* 8033A8FC 0033785C 80 03 00 04 */ lwz r0, 4(r3) +/* 8033A900 00337860 83 E4 00 04 */ lwz r31, 4(r4) +/* 8033A904 00337864 7C 1E 00 40 */ cmplw r30, r0 +/* 8033A908 00337868 40 82 00 08 */ bne lbl_8033A910 +/* 8033A90C 0033786C 93 FD 00 04 */ stw r31, 4(r29) +lbl_8033A910: +/* 8033A910 00337870 80 1E 00 04 */ lwz r0, 4(r30) +/* 8033A914 00337874 38 7E 00 08 */ addi r3, r30, 8 +/* 8033A918 00337878 80 BE 00 00 */ lwz r5, 0(r30) +/* 8033A91C 0033787C 38 80 FF FF */ li r4, -1 +/* 8033A920 00337880 90 05 00 04 */ stw r0, 4(r5) +/* 8033A924 00337884 80 1E 00 00 */ lwz r0, 0(r30) +/* 8033A928 00337888 80 BE 00 04 */ lwz r5, 4(r30) +/* 8033A92C 0033788C 90 05 00 00 */ stw r0, 0(r5) +/* 8033A930 00337890 4B FF EF 51 */ bl sub_80339880 +/* 8033A934 00337894 28 1E 00 00 */ cmplwi r30, 0 +/* 8033A938 00337898 41 82 00 0C */ beq lbl_8033A944 +/* 8033A93C 0033789C 7F C3 F3 78 */ mr r3, r30 +/* 8033A940 003378A0 4B FD AF F1 */ bl Free__7CMemoryFPCv +lbl_8033A944: +/* 8033A944 003378A4 80 9D 00 14 */ lwz r4, 0x14(r29) +/* 8033A948 003378A8 7F E3 FB 78 */ mr r3, r31 +/* 8033A94C 003378AC 38 04 FF FF */ addi r0, r4, -1 +/* 8033A950 003378B0 90 1D 00 14 */ stw r0, 0x14(r29) +/* 8033A954 003378B4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8033A958 003378B8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8033A95C 003378BC 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8033A960 003378C0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8033A964 003378C4 7C 08 03 A6 */ mtlr r0 +/* 8033A968 003378C8 38 21 00 20 */ addi r1, r1, 0x20 +/* 8033A96C 003378CC 4E 80 00 20 */ blr + +.global sub_8033a970 +sub_8033a970: +/* 8033A970 003378D0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033A974 003378D4 7C 08 02 A6 */ mflr r0 +/* 8033A978 003378D8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033A97C 003378DC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8033A980 003378E0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8033A984 003378E4 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8033A988 003378E8 7C 9D 23 78 */ mr r29, r4 +/* 8033A98C 003378EC 93 81 00 10 */ stw r28, 0x10(r1) +/* 8033A990 003378F0 7C 7C 1B 79 */ or. r28, r3, r3 +/* 8033A994 003378F4 41 82 00 4C */ beq lbl_8033A9E0 +/* 8033A998 003378F8 83 FC 00 04 */ lwz r31, 4(r28) +/* 8033A99C 003378FC 48 00 00 28 */ b lbl_8033A9C4 +lbl_8033A9A0: +/* 8033A9A0 00337900 7F FE FB 78 */ mr r30, r31 +/* 8033A9A4 00337904 83 FF 00 04 */ lwz r31, 4(r31) +/* 8033A9A8 00337908 38 7E 00 08 */ addi r3, r30, 8 +/* 8033A9AC 0033790C 38 80 FF FF */ li r4, -1 +/* 8033A9B0 00337910 4B FF EE D1 */ bl sub_80339880 +/* 8033A9B4 00337914 28 1E 00 00 */ cmplwi r30, 0 +/* 8033A9B8 00337918 41 82 00 0C */ beq lbl_8033A9C4 +/* 8033A9BC 0033791C 7F C3 F3 78 */ mr r3, r30 +/* 8033A9C0 00337920 4B FD AF 71 */ bl Free__7CMemoryFPCv +lbl_8033A9C4: +/* 8033A9C4 00337924 80 1C 00 08 */ lwz r0, 8(r28) +/* 8033A9C8 00337928 7C 1F 00 40 */ cmplw r31, r0 +/* 8033A9CC 0033792C 40 82 FF D4 */ bne lbl_8033A9A0 +/* 8033A9D0 00337930 7F A0 07 35 */ extsh. r0, r29 +/* 8033A9D4 00337934 40 81 00 0C */ ble lbl_8033A9E0 +/* 8033A9D8 00337938 7F 83 E3 78 */ mr r3, r28 +/* 8033A9DC 0033793C 4B FD AF 55 */ bl Free__7CMemoryFPCv +lbl_8033A9E0: +/* 8033A9E0 00337940 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8033A9E4 00337944 7F 83 E3 78 */ mr r3, r28 +/* 8033A9E8 00337948 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8033A9EC 0033794C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8033A9F0 00337950 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8033A9F4 00337954 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8033A9F8 00337958 7C 08 03 A6 */ mtlr r0 +/* 8033A9FC 0033795C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8033AA00 00337960 4E 80 00 20 */ blr + +.global sub_8033aa04 +sub_8033aa04: +/* 8033AA04 00337964 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033AA08 00337968 7C 08 02 A6 */ mflr r0 +/* 8033AA0C 0033796C 28 05 00 00 */ cmplwi r5, 0 +/* 8033AA10 00337970 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033AA14 00337974 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 8033AA18 00337978 7C 7B 1B 78 */ mr r27, r3 +/* 8033AA1C 0033797C 7C 9C 23 78 */ mr r28, r4 +/* 8033AA20 00337980 7C DD 33 78 */ mr r29, r6 +/* 8033AA24 00337984 40 82 00 90 */ bne lbl_8033AAB4 +/* 8033AA28 00337988 3C 80 80 3D */ lis r4, lbl_803D7A28@ha +/* 8033AA2C 0033798C 38 60 00 1C */ li r3, 0x1c +/* 8033AA30 00337990 38 84 7A 28 */ addi r4, r4, lbl_803D7A28@l +/* 8033AA34 00337994 38 A0 00 00 */ li r5, 0 +/* 8033AA38 00337998 4B FD AD E1 */ bl __nwa__FUlPCcPCc +/* 8033AA3C 0033799C 28 03 00 00 */ cmplwi r3, 0 +/* 8033AA40 003379A0 41 82 00 38 */ beq lbl_8033AA78 +/* 8033AA44 003379A4 38 00 00 00 */ li r0, 0 +/* 8033AA48 003379A8 34 83 00 10 */ addic. r4, r3, 0x10 +/* 8033AA4C 003379AC 90 03 00 00 */ stw r0, 0(r3) +/* 8033AA50 003379B0 90 03 00 04 */ stw r0, 4(r3) +/* 8033AA54 003379B4 90 03 00 08 */ stw r0, 8(r3) +/* 8033AA58 003379B8 90 03 00 0C */ stw r0, 0xc(r3) +/* 8033AA5C 003379BC 41 82 00 1C */ beq lbl_8033AA78 +/* 8033AA60 003379C0 80 1D 00 00 */ lwz r0, 0(r29) +/* 8033AA64 003379C4 90 04 00 00 */ stw r0, 0(r4) +/* 8033AA68 003379C8 80 1D 00 04 */ lwz r0, 4(r29) +/* 8033AA6C 003379CC 90 04 00 04 */ stw r0, 4(r4) +/* 8033AA70 003379D0 80 1D 00 08 */ lwz r0, 8(r29) +/* 8033AA74 003379D4 90 04 00 08 */ stw r0, 8(r4) +lbl_8033AA78: +/* 8033AA78 003379D8 90 7C 00 10 */ stw r3, 0x10(r28) +/* 8033AA7C 003379DC 38 1C 00 08 */ addi r0, r28, 8 +/* 8033AA80 003379E0 80 7C 00 04 */ lwz r3, 4(r28) +/* 8033AA84 003379E4 38 63 00 01 */ addi r3, r3, 1 +/* 8033AA88 003379E8 90 7C 00 04 */ stw r3, 4(r28) +/* 8033AA8C 003379EC 80 7C 00 10 */ lwz r3, 0x10(r28) +/* 8033AA90 003379F0 90 7C 00 08 */ stw r3, 8(r28) +/* 8033AA94 003379F4 80 7C 00 10 */ lwz r3, 0x10(r28) +/* 8033AA98 003379F8 90 7C 00 0C */ stw r3, 0xc(r28) +/* 8033AA9C 003379FC 80 7C 00 10 */ lwz r3, 0x10(r28) +/* 8033AAA0 00337A00 90 7B 00 00 */ stw r3, 0(r27) +/* 8033AAA4 00337A04 90 1B 00 04 */ stw r0, 4(r27) +/* 8033AAA8 00337A08 88 0D 9D 4C */ lbz r0, lbl_805A890C@sda21(r13) +/* 8033AAAC 00337A0C 98 1B 00 08 */ stb r0, 8(r27) +/* 8033AAB0 00337A10 48 00 01 EC */ b lbl_8033AC9C +lbl_8033AAB4: +/* 8033AAB4 00337A14 7C BF 2B 78 */ mr r31, r5 +/* 8033AAB8 00337A18 3B C0 00 00 */ li r30, 0 +/* 8033AABC 00337A1C 48 00 01 AC */ b lbl_8033AC68 +lbl_8033AAC0: +/* 8033AAC0 00337A20 80 BD 00 00 */ lwz r5, 0(r29) +/* 8033AAC4 00337A24 80 7F 00 10 */ lwz r3, 0x10(r31) +/* 8033AAC8 00337A28 7C 05 18 40 */ cmplw r5, r3 +/* 8033AACC 00337A2C 40 82 00 20 */ bne lbl_8033AAEC +/* 8033AAD0 00337A30 80 1D 00 04 */ lwz r0, 4(r29) +/* 8033AAD4 00337A34 80 7F 00 14 */ lwz r3, 0x14(r31) +/* 8033AAD8 00337A38 7C 60 02 78 */ xor r0, r3, r0 +/* 8033AADC 00337A3C 7C 00 00 34 */ cntlzw r0, r0 +/* 8033AAE0 00337A40 7C 60 00 30 */ slw r0, r3, r0 +/* 8033AAE4 00337A44 54 04 0F FE */ srwi r4, r0, 0x1f +/* 8033AAE8 00337A48 48 00 00 14 */ b lbl_8033AAFC +lbl_8033AAEC: +/* 8033AAEC 00337A4C 7C 60 2A 78 */ xor r0, r3, r5 +/* 8033AAF0 00337A50 7C 00 00 34 */ cntlzw r0, r0 +/* 8033AAF4 00337A54 7C 60 00 30 */ slw r0, r3, r0 +/* 8033AAF8 00337A58 54 04 0F FE */ srwi r4, r0, 0x1f +lbl_8033AAFC: +/* 8033AAFC 00337A5C 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 8033AB00 00337A60 40 82 00 5C */ bne lbl_8033AB5C +/* 8033AB04 00337A64 80 1F 00 10 */ lwz r0, 0x10(r31) +/* 8033AB08 00337A68 7C 00 28 40 */ cmplw r0, r5 +/* 8033AB0C 00337A6C 40 82 00 20 */ bne lbl_8033AB2C +/* 8033AB10 00337A70 80 1F 00 14 */ lwz r0, 0x14(r31) +/* 8033AB14 00337A74 80 7D 00 04 */ lwz r3, 4(r29) +/* 8033AB18 00337A78 7C 60 02 78 */ xor r0, r3, r0 +/* 8033AB1C 00337A7C 7C 00 00 34 */ cntlzw r0, r0 +/* 8033AB20 00337A80 7C 60 00 30 */ slw r0, r3, r0 +/* 8033AB24 00337A84 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8033AB28 00337A88 48 00 00 14 */ b lbl_8033AB3C +lbl_8033AB2C: +/* 8033AB2C 00337A8C 7C A0 02 78 */ xor r0, r5, r0 +/* 8033AB30 00337A90 7C 00 00 34 */ cntlzw r0, r0 +/* 8033AB34 00337A94 7C A0 00 30 */ slw r0, r5, r0 +/* 8033AB38 00337A98 54 00 0F FE */ srwi r0, r0, 0x1f +lbl_8033AB3C: +/* 8033AB3C 00337A9C 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 8033AB40 00337AA0 40 82 00 1C */ bne lbl_8033AB5C +/* 8033AB44 00337AA4 93 FB 00 00 */ stw r31, 0(r27) +/* 8033AB48 00337AA8 38 1C 00 08 */ addi r0, r28, 8 +/* 8033AB4C 00337AAC 90 1B 00 04 */ stw r0, 4(r27) +/* 8033AB50 00337AB0 88 0D 9D 4D */ lbz r0, lbl_805A890D@sda21(r13) +/* 8033AB54 00337AB4 98 1B 00 08 */ stb r0, 8(r27) +/* 8033AB58 00337AB8 48 00 01 44 */ b lbl_8033AC9C +lbl_8033AB5C: +/* 8033AB5C 00337ABC 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 8033AB60 00337AC0 41 82 00 88 */ beq lbl_8033ABE8 +/* 8033AB64 00337AC4 80 1F 00 00 */ lwz r0, 0(r31) +/* 8033AB68 00337AC8 28 00 00 00 */ cmplwi r0, 0 +/* 8033AB6C 00337ACC 40 82 00 74 */ bne lbl_8033ABE0 +/* 8033AB70 00337AD0 3C 80 80 3D */ lis r4, lbl_803D7A28@ha +/* 8033AB74 00337AD4 38 60 00 1C */ li r3, 0x1c +/* 8033AB78 00337AD8 38 84 7A 28 */ addi r4, r4, lbl_803D7A28@l +/* 8033AB7C 00337ADC 38 A0 00 00 */ li r5, 0 +/* 8033AB80 00337AE0 4B FD AC 99 */ bl __nwa__FUlPCcPCc +/* 8033AB84 00337AE4 28 03 00 00 */ cmplwi r3, 0 +/* 8033AB88 00337AE8 41 82 00 3C */ beq lbl_8033ABC4 +/* 8033AB8C 00337AEC 38 80 00 00 */ li r4, 0 +/* 8033AB90 00337AF0 34 A3 00 10 */ addic. r5, r3, 0x10 +/* 8033AB94 00337AF4 90 83 00 00 */ stw r4, 0(r3) +/* 8033AB98 00337AF8 38 00 00 01 */ li r0, 1 +/* 8033AB9C 00337AFC 90 83 00 04 */ stw r4, 4(r3) +/* 8033ABA0 00337B00 93 E3 00 08 */ stw r31, 8(r3) +/* 8033ABA4 00337B04 90 03 00 0C */ stw r0, 0xc(r3) +/* 8033ABA8 00337B08 41 82 00 1C */ beq lbl_8033ABC4 +/* 8033ABAC 00337B0C 80 1D 00 00 */ lwz r0, 0(r29) +/* 8033ABB0 00337B10 90 05 00 00 */ stw r0, 0(r5) +/* 8033ABB4 00337B14 80 1D 00 04 */ lwz r0, 4(r29) +/* 8033ABB8 00337B18 90 05 00 04 */ stw r0, 4(r5) +/* 8033ABBC 00337B1C 80 1D 00 08 */ lwz r0, 8(r29) +/* 8033ABC0 00337B20 90 05 00 08 */ stw r0, 8(r5) +lbl_8033ABC4: +/* 8033ABC4 00337B24 90 7F 00 00 */ stw r3, 0(r31) +/* 8033ABC8 00337B28 7C 7E 1B 78 */ mr r30, r3 +/* 8033ABCC 00337B2C 80 1C 00 08 */ lwz r0, 8(r28) +/* 8033ABD0 00337B30 7C 1F 00 40 */ cmplw r31, r0 +/* 8033ABD4 00337B34 40 82 00 94 */ bne lbl_8033AC68 +/* 8033ABD8 00337B38 90 7C 00 08 */ stw r3, 8(r28) +/* 8033ABDC 00337B3C 48 00 00 8C */ b lbl_8033AC68 +lbl_8033ABE0: +/* 8033ABE0 00337B40 7C 1F 03 78 */ mr r31, r0 +/* 8033ABE4 00337B44 48 00 00 84 */ b lbl_8033AC68 +lbl_8033ABE8: +/* 8033ABE8 00337B48 80 1F 00 04 */ lwz r0, 4(r31) +/* 8033ABEC 00337B4C 28 00 00 00 */ cmplwi r0, 0 +/* 8033ABF0 00337B50 40 82 00 74 */ bne lbl_8033AC64 +/* 8033ABF4 00337B54 3C 80 80 3D */ lis r4, lbl_803D7A28@ha +/* 8033ABF8 00337B58 38 60 00 1C */ li r3, 0x1c +/* 8033ABFC 00337B5C 38 84 7A 28 */ addi r4, r4, lbl_803D7A28@l +/* 8033AC00 00337B60 38 A0 00 00 */ li r5, 0 +/* 8033AC04 00337B64 4B FD AC 15 */ bl __nwa__FUlPCcPCc +/* 8033AC08 00337B68 28 03 00 00 */ cmplwi r3, 0 +/* 8033AC0C 00337B6C 41 82 00 3C */ beq lbl_8033AC48 +/* 8033AC10 00337B70 38 80 00 00 */ li r4, 0 +/* 8033AC14 00337B74 34 A3 00 10 */ addic. r5, r3, 0x10 +/* 8033AC18 00337B78 90 83 00 00 */ stw r4, 0(r3) +/* 8033AC1C 00337B7C 38 00 00 01 */ li r0, 1 +/* 8033AC20 00337B80 90 83 00 04 */ stw r4, 4(r3) +/* 8033AC24 00337B84 93 E3 00 08 */ stw r31, 8(r3) +/* 8033AC28 00337B88 90 03 00 0C */ stw r0, 0xc(r3) +/* 8033AC2C 00337B8C 41 82 00 1C */ beq lbl_8033AC48 +/* 8033AC30 00337B90 80 1D 00 00 */ lwz r0, 0(r29) +/* 8033AC34 00337B94 90 05 00 00 */ stw r0, 0(r5) +/* 8033AC38 00337B98 80 1D 00 04 */ lwz r0, 4(r29) +/* 8033AC3C 00337B9C 90 05 00 04 */ stw r0, 4(r5) +/* 8033AC40 00337BA0 80 1D 00 08 */ lwz r0, 8(r29) +/* 8033AC44 00337BA4 90 05 00 08 */ stw r0, 8(r5) +lbl_8033AC48: +/* 8033AC48 00337BA8 90 7F 00 04 */ stw r3, 4(r31) +/* 8033AC4C 00337BAC 7C 7E 1B 78 */ mr r30, r3 +/* 8033AC50 00337BB0 80 1C 00 0C */ lwz r0, 0xc(r28) +/* 8033AC54 00337BB4 7C 1F 00 40 */ cmplw r31, r0 +/* 8033AC58 00337BB8 40 82 00 10 */ bne lbl_8033AC68 +/* 8033AC5C 00337BBC 90 7C 00 0C */ stw r3, 0xc(r28) +/* 8033AC60 00337BC0 48 00 00 08 */ b lbl_8033AC68 +lbl_8033AC64: +/* 8033AC64 00337BC4 7C 1F 03 78 */ mr r31, r0 +lbl_8033AC68: +/* 8033AC68 00337BC8 28 1E 00 00 */ cmplwi r30, 0 +/* 8033AC6C 00337BCC 41 82 FE 54 */ beq lbl_8033AAC0 +/* 8033AC70 00337BD0 80 BC 00 04 */ lwz r5, 4(r28) +/* 8033AC74 00337BD4 7F C4 F3 78 */ mr r4, r30 +/* 8033AC78 00337BD8 38 7C 00 08 */ addi r3, r28, 8 +/* 8033AC7C 00337BDC 38 05 00 01 */ addi r0, r5, 1 +/* 8033AC80 00337BE0 90 1C 00 04 */ stw r0, 4(r28) +/* 8033AC84 00337BE4 48 00 1E 15 */ bl rbtree_rebalance__4rstlFPvPv +/* 8033AC88 00337BE8 93 DB 00 00 */ stw r30, 0(r27) +/* 8033AC8C 00337BEC 38 1C 00 08 */ addi r0, r28, 8 +/* 8033AC90 00337BF0 90 1B 00 04 */ stw r0, 4(r27) +/* 8033AC94 00337BF4 88 0D 9D 4E */ lbz r0, lbl_805A890E@sda21(r13) +/* 8033AC98 00337BF8 98 1B 00 08 */ stb r0, 8(r27) +lbl_8033AC9C: +/* 8033AC9C 00337BFC BB 61 00 0C */ lmw r27, 0xc(r1) +/* 8033ACA0 00337C00 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8033ACA4 00337C04 7C 08 03 A6 */ mtlr r0 +/* 8033ACA8 00337C08 38 21 00 20 */ addi r1, r1, 0x20 +/* 8033ACAC 00337C0C 4E 80 00 20 */ blr diff --git a/asm/Kyoto/CResLoader.s b/asm/Kyoto/CResLoader.s new file mode 100644 index 00000000..78cbbd9c --- /dev/null +++ b/asm/Kyoto/CResLoader.s @@ -0,0 +1,1870 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global GetPakFile__10CResLoaderCFi +GetPakFile__10CResLoaderCFi: +/* 8033ACB0 00337C10 80 03 00 14 */ lwz r0, 0x14(r3) +/* 8033ACB4 00337C14 7C 04 00 00 */ cmpw r4, r0 +/* 8033ACB8 00337C18 40 80 00 7C */ bge lbl_8033AD34 +/* 8033ACBC 00337C1C 2C 04 00 00 */ cmpwi r4, 0 +/* 8033ACC0 00337C20 80 A3 00 04 */ lwz r5, 4(r3) +/* 8033ACC4 00337C24 38 C0 00 00 */ li r6, 0 +/* 8033ACC8 00337C28 40 81 00 64 */ ble lbl_8033AD2C +/* 8033ACCC 00337C2C 2C 04 00 08 */ cmpwi r4, 8 +/* 8033ACD0 00337C30 38 64 FF F8 */ addi r3, r4, -8 +/* 8033ACD4 00337C34 40 81 00 40 */ ble lbl_8033AD14 +/* 8033ACD8 00337C38 38 03 00 07 */ addi r0, r3, 7 +/* 8033ACDC 00337C3C 54 00 E8 FE */ srwi r0, r0, 3 +/* 8033ACE0 00337C40 7C 09 03 A6 */ mtctr r0 +/* 8033ACE4 00337C44 2C 03 00 00 */ cmpwi r3, 0 +/* 8033ACE8 00337C48 40 81 00 2C */ ble lbl_8033AD14 +lbl_8033ACEC: +/* 8033ACEC 00337C4C 80 65 00 04 */ lwz r3, 4(r5) +/* 8033ACF0 00337C50 38 C6 00 08 */ addi r6, r6, 8 +/* 8033ACF4 00337C54 80 63 00 04 */ lwz r3, 4(r3) +/* 8033ACF8 00337C58 80 63 00 04 */ lwz r3, 4(r3) +/* 8033ACFC 00337C5C 80 63 00 04 */ lwz r3, 4(r3) +/* 8033AD00 00337C60 80 63 00 04 */ lwz r3, 4(r3) +/* 8033AD04 00337C64 80 63 00 04 */ lwz r3, 4(r3) +/* 8033AD08 00337C68 80 63 00 04 */ lwz r3, 4(r3) +/* 8033AD0C 00337C6C 80 A3 00 04 */ lwz r5, 4(r3) +/* 8033AD10 00337C70 42 00 FF DC */ bdnz lbl_8033ACEC +lbl_8033AD14: +/* 8033AD14 00337C74 7C 06 20 50 */ subf r0, r6, r4 +/* 8033AD18 00337C78 7C 09 03 A6 */ mtctr r0 +/* 8033AD1C 00337C7C 7C 06 20 00 */ cmpw r6, r4 +/* 8033AD20 00337C80 40 80 00 0C */ bge lbl_8033AD2C +lbl_8033AD24: +/* 8033AD24 00337C84 80 A5 00 04 */ lwz r5, 4(r5) +/* 8033AD28 00337C88 42 00 FF FC */ bdnz lbl_8033AD24 +lbl_8033AD2C: +/* 8033AD2C 00337C8C 80 65 00 0C */ lwz r3, 0xc(r5) +/* 8033AD30 00337C90 4E 80 00 20 */ blr +lbl_8033AD34: +/* 8033AD34 00337C94 7C 80 20 51 */ subf. r4, r0, r4 +/* 8033AD38 00337C98 80 A3 00 1C */ lwz r5, 0x1c(r3) +/* 8033AD3C 00337C9C 38 C0 00 00 */ li r6, 0 +/* 8033AD40 00337CA0 40 81 00 64 */ ble lbl_8033ADA4 +/* 8033AD44 00337CA4 2C 04 00 08 */ cmpwi r4, 8 +/* 8033AD48 00337CA8 38 64 FF F8 */ addi r3, r4, -8 +/* 8033AD4C 00337CAC 40 81 00 40 */ ble lbl_8033AD8C +/* 8033AD50 00337CB0 38 03 00 07 */ addi r0, r3, 7 +/* 8033AD54 00337CB4 54 00 E8 FE */ srwi r0, r0, 3 +/* 8033AD58 00337CB8 7C 09 03 A6 */ mtctr r0 +/* 8033AD5C 00337CBC 2C 03 00 00 */ cmpwi r3, 0 +/* 8033AD60 00337CC0 40 81 00 2C */ ble lbl_8033AD8C +lbl_8033AD64: +/* 8033AD64 00337CC4 80 65 00 04 */ lwz r3, 4(r5) +/* 8033AD68 00337CC8 38 C6 00 08 */ addi r6, r6, 8 +/* 8033AD6C 00337CCC 80 63 00 04 */ lwz r3, 4(r3) +/* 8033AD70 00337CD0 80 63 00 04 */ lwz r3, 4(r3) +/* 8033AD74 00337CD4 80 63 00 04 */ lwz r3, 4(r3) +/* 8033AD78 00337CD8 80 63 00 04 */ lwz r3, 4(r3) +/* 8033AD7C 00337CDC 80 63 00 04 */ lwz r3, 4(r3) +/* 8033AD80 00337CE0 80 63 00 04 */ lwz r3, 4(r3) +/* 8033AD84 00337CE4 80 A3 00 04 */ lwz r5, 4(r3) +/* 8033AD88 00337CE8 42 00 FF DC */ bdnz lbl_8033AD64 +lbl_8033AD8C: +/* 8033AD8C 00337CEC 7C 06 20 50 */ subf r0, r6, r4 +/* 8033AD90 00337CF0 7C 09 03 A6 */ mtctr r0 +/* 8033AD94 00337CF4 7C 06 20 00 */ cmpw r6, r4 +/* 8033AD98 00337CF8 40 80 00 0C */ bge lbl_8033ADA4 +lbl_8033AD9C: +/* 8033AD9C 00337CFC 80 A5 00 04 */ lwz r5, 4(r5) +/* 8033ADA0 00337D00 42 00 FF FC */ bdnz lbl_8033AD9C +lbl_8033ADA4: +/* 8033ADA4 00337D04 80 65 00 0C */ lwz r3, 0xc(r5) +/* 8033ADA8 00337D08 4E 80 00 20 */ blr + +.global GetPakCount__10CResLoaderCFv +GetPakCount__10CResLoaderCFv: +/* 8033ADAC 00337D0C 80 83 00 14 */ lwz r4, 0x14(r3) +/* 8033ADB0 00337D10 80 03 00 2C */ lwz r0, 0x2c(r3) +/* 8033ADB4 00337D14 7C 64 02 14 */ add r3, r4, r0 +/* 8033ADB8 00337D18 4E 80 00 20 */ blr + +.global sub_8033adbc +sub_8033adbc: +/* 8033ADBC 00337D1C 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 8033ADC0 00337D20 7C 08 02 A6 */ mflr r0 +/* 8033ADC4 00337D24 38 E0 00 00 */ li r7, 0 +/* 8033ADC8 00337D28 90 01 00 54 */ stw r0, 0x54(r1) +/* 8033ADCC 00337D2C 38 04 00 18 */ addi r0, r4, 0x18 +/* 8033ADD0 00337D30 BF 61 00 3C */ stmw r27, 0x3c(r1) +/* 8033ADD4 00337D34 7C 7B 1B 78 */ mr r27, r3 +/* 8033ADD8 00337D38 3B C1 00 20 */ addi r30, r1, 0x20 +/* 8033ADDC 00337D3C 80 C2 D7 A0 */ lwz r6, lbl_805AF4C0@sda21(r2) +/* 8033ADE0 00337D40 80 A2 D7 A4 */ lwz r5, lbl_805AF4C4@sda21(r2) +/* 8033ADE4 00337D44 90 C1 00 20 */ stw r6, 0x20(r1) +/* 8033ADE8 00337D48 80 C4 00 04 */ lwz r6, 4(r4) +/* 8033ADEC 00337D4C 90 A1 00 24 */ stw r5, 0x24(r1) +/* 8033ADF0 00337D50 80 A4 00 08 */ lwz r5, 8(r4) +/* 8033ADF4 00337D54 90 81 00 20 */ stw r4, 0x20(r1) +/* 8033ADF8 00337D58 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033ADFC 00337D5C 48 00 00 20 */ b lbl_8033AE1C +lbl_8033AE00: +/* 8033AE00 00337D60 80 66 00 0C */ lwz r3, 0xc(r6) +/* 8033AE04 00337D64 88 03 00 28 */ lbz r0, 0x28(r3) +/* 8033AE08 00337D68 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 8033AE0C 00337D6C 40 82 00 0C */ bne lbl_8033AE18 +/* 8033AE10 00337D70 80 03 00 58 */ lwz r0, 0x58(r3) +/* 8033AE14 00337D74 7C E7 02 14 */ add r7, r7, r0 +lbl_8033AE18: +/* 8033AE18 00337D78 80 C6 00 04 */ lwz r6, 4(r6) +lbl_8033AE1C: +/* 8033AE1C 00337D7C 7C 06 28 40 */ cmplw r6, r5 +/* 8033AE20 00337D80 40 82 FF E0 */ bne lbl_8033AE00 +/* 8033AE24 00337D84 80 61 00 24 */ lwz r3, 0x24(r1) +/* 8033AE28 00337D88 80 C3 00 04 */ lwz r6, 4(r3) +/* 8033AE2C 00337D8C 80 A3 00 08 */ lwz r5, 8(r3) +/* 8033AE30 00337D90 48 00 00 20 */ b lbl_8033AE50 +lbl_8033AE34: +/* 8033AE34 00337D94 80 66 00 0C */ lwz r3, 0xc(r6) +/* 8033AE38 00337D98 88 03 00 28 */ lbz r0, 0x28(r3) +/* 8033AE3C 00337D9C 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 8033AE40 00337DA0 40 82 00 0C */ bne lbl_8033AE4C +/* 8033AE44 00337DA4 80 03 00 58 */ lwz r0, 0x58(r3) +/* 8033AE48 00337DA8 7C E7 02 14 */ add r7, r7, r0 +lbl_8033AE4C: +/* 8033AE4C 00337DAC 80 C6 00 04 */ lwz r6, 4(r6) +lbl_8033AE50: +/* 8033AE50 00337DB0 7C 06 28 40 */ cmplw r6, r5 +/* 8033AE54 00337DB4 40 82 FF E0 */ bne lbl_8033AE34 +/* 8033AE58 00337DB8 38 00 00 00 */ li r0, 0 +/* 8033AE5C 00337DBC 7C E4 3B 78 */ mr r4, r7 +/* 8033AE60 00337DC0 90 01 00 2C */ stw r0, 0x2c(r1) +/* 8033AE64 00337DC4 38 61 00 28 */ addi r3, r1, 0x28 +/* 8033AE68 00337DC8 90 01 00 30 */ stw r0, 0x30(r1) +/* 8033AE6C 00337DCC 90 01 00 34 */ stw r0, 0x34(r1) +/* 8033AE70 00337DD0 4B EE 23 55 */ bl "reserve__Q24rstl138vector,Q24rstl17rmemory_allocator>,10SObjectTag>,Q24rstl17rmemory_allocator>Fi" +/* 8033AE74 00337DD4 3B A0 00 00 */ li r29, 0 +lbl_8033AE78: +/* 8033AE78 00337DD8 83 9E 00 00 */ lwz r28, 0(r30) +/* 8033AE7C 00337DDC 83 FC 00 04 */ lwz r31, 4(r28) +/* 8033AE80 00337DE0 48 00 00 68 */ b lbl_8033AEE8 +lbl_8033AE84: +/* 8033AE84 00337DE4 81 5F 00 0C */ lwz r10, 0xc(r31) +/* 8033AE88 00337DE8 88 0A 00 28 */ lbz r0, 0x28(r10) +/* 8033AE8C 00337DEC 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 8033AE90 00337DF0 40 82 00 54 */ bne lbl_8033AEE4 +/* 8033AE94 00337DF4 80 AA 00 58 */ lwz r5, 0x58(r10) +/* 8033AE98 00337DF8 38 61 00 28 */ addi r3, r1, 0x28 +/* 8033AE9C 00337DFC 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 8033AEA0 00337E00 38 81 00 1C */ addi r4, r1, 0x1c +/* 8033AEA4 00337E04 1D 05 00 18 */ mulli r8, r5, 0x18 +/* 8033AEA8 00337E08 81 2A 00 60 */ lwz r9, 0x60(r10) +/* 8033AEAC 00337E0C 80 E1 00 34 */ lwz r7, 0x34(r1) +/* 8033AEB0 00337E10 38 A1 00 14 */ addi r5, r1, 0x14 +/* 8033AEB4 00337E14 38 C1 00 0C */ addi r6, r1, 0xc +/* 8033AEB8 00337E18 7D 29 42 14 */ add r9, r9, r8 +/* 8033AEBC 00337E1C 91 21 00 0C */ stw r9, 0xc(r1) +/* 8033AEC0 00337E20 1C 00 00 18 */ mulli r0, r0, 0x18 +/* 8033AEC4 00337E24 81 0A 00 60 */ lwz r8, 0x60(r10) +/* 8033AEC8 00337E28 7C 07 02 14 */ add r0, r7, r0 +/* 8033AECC 00337E2C 91 21 00 08 */ stw r9, 8(r1) +/* 8033AED0 00337E30 91 01 00 10 */ stw r8, 0x10(r1) +/* 8033AED4 00337E34 91 01 00 14 */ stw r8, 0x14(r1) +/* 8033AED8 00337E38 90 01 00 18 */ stw r0, 0x18(r1) +/* 8033AEDC 00337E3C 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8033AEE0 00337E40 48 00 00 F5 */ bl sub_8033afd4 +lbl_8033AEE4: +/* 8033AEE4 00337E44 83 FF 00 04 */ lwz r31, 4(r31) +lbl_8033AEE8: +/* 8033AEE8 00337E48 80 1C 00 08 */ lwz r0, 8(r28) +/* 8033AEEC 00337E4C 7C 1F 00 40 */ cmplw r31, r0 +/* 8033AEF0 00337E50 40 82 FF 94 */ bne lbl_8033AE84 +/* 8033AEF4 00337E54 3B BD 00 01 */ addi r29, r29, 1 +/* 8033AEF8 00337E58 3B DE 00 04 */ addi r30, r30, 4 +/* 8033AEFC 00337E5C 2C 1D 00 02 */ cmpwi r29, 2 +/* 8033AF00 00337E60 41 80 FF 78 */ blt lbl_8033AE78 +/* 8033AF04 00337E64 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 8033AF08 00337E68 90 1B 00 04 */ stw r0, 4(r27) +/* 8033AF0C 00337E6C 80 01 00 30 */ lwz r0, 0x30(r1) +/* 8033AF10 00337E70 90 1B 00 08 */ stw r0, 8(r27) +/* 8033AF14 00337E74 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 8033AF18 00337E78 2C 00 00 00 */ cmpwi r0, 0 +/* 8033AF1C 00337E7C 40 82 00 1C */ bne lbl_8033AF38 +/* 8033AF20 00337E80 80 01 00 30 */ lwz r0, 0x30(r1) +/* 8033AF24 00337E84 2C 00 00 00 */ cmpwi r0, 0 +/* 8033AF28 00337E88 40 82 00 10 */ bne lbl_8033AF38 +/* 8033AF2C 00337E8C 38 00 00 00 */ li r0, 0 +/* 8033AF30 00337E90 90 1B 00 0C */ stw r0, 0xc(r27) +/* 8033AF34 00337E94 48 00 00 80 */ b lbl_8033AFB4 +lbl_8033AF38: +/* 8033AF38 00337E98 80 1B 00 08 */ lwz r0, 8(r27) +/* 8033AF3C 00337E9C 1C 60 00 18 */ mulli r3, r0, 0x18 +/* 8033AF40 00337EA0 2C 03 00 00 */ cmpwi r3, 0 +/* 8033AF44 00337EA4 40 82 00 10 */ bne lbl_8033AF54 +/* 8033AF48 00337EA8 38 00 00 00 */ li r0, 0 +/* 8033AF4C 00337EAC 90 1B 00 0C */ stw r0, 0xc(r27) +/* 8033AF50 00337EB0 48 00 00 18 */ b lbl_8033AF68 +lbl_8033AF54: +/* 8033AF54 00337EB4 3C 80 80 3D */ lis r4, lbl_803D7A38@ha +/* 8033AF58 00337EB8 38 A0 00 00 */ li r5, 0 +/* 8033AF5C 00337EBC 38 84 7A 38 */ addi r4, r4, lbl_803D7A38@l +/* 8033AF60 00337EC0 4B FD A8 B9 */ bl __nwa__FUlPCcPCc +/* 8033AF64 00337EC4 90 7B 00 0C */ stw r3, 0xc(r27) +lbl_8033AF68: +/* 8033AF68 00337EC8 83 DB 00 04 */ lwz r30, 4(r27) +/* 8033AF6C 00337ECC 3B 80 00 00 */ li r28, 0 +/* 8033AF70 00337ED0 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 8033AF74 00337ED4 83 7B 00 0C */ lwz r27, 0xc(r27) +/* 8033AF78 00337ED8 48 00 00 34 */ b lbl_8033AFAC +lbl_8033AF7C: +/* 8033AF7C 00337EDC 28 1B 00 00 */ cmplwi r27, 0 +/* 8033AF80 00337EE0 41 82 00 20 */ beq lbl_8033AFA0 +/* 8033AF84 00337EE4 7F 63 DB 78 */ mr r3, r27 +/* 8033AF88 00337EE8 7F A4 EB 78 */ mr r4, r29 +/* 8033AF8C 00337EEC 48 00 31 D5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8033AF90 00337EF0 80 1D 00 10 */ lwz r0, 0x10(r29) +/* 8033AF94 00337EF4 90 1B 00 10 */ stw r0, 0x10(r27) +/* 8033AF98 00337EF8 80 1D 00 14 */ lwz r0, 0x14(r29) +/* 8033AF9C 00337EFC 90 1B 00 14 */ stw r0, 0x14(r27) +lbl_8033AFA0: +/* 8033AFA0 00337F00 3B 7B 00 18 */ addi r27, r27, 0x18 +/* 8033AFA4 00337F04 3B 9C 00 01 */ addi r28, r28, 1 +/* 8033AFA8 00337F08 3B BD 00 18 */ addi r29, r29, 0x18 +lbl_8033AFAC: +/* 8033AFAC 00337F0C 7C 1C F0 00 */ cmpw r28, r30 +/* 8033AFB0 00337F10 41 80 FF CC */ blt lbl_8033AF7C +lbl_8033AFB4: +/* 8033AFB4 00337F14 38 61 00 28 */ addi r3, r1, 0x28 +/* 8033AFB8 00337F18 38 80 FF FF */ li r4, -1 +/* 8033AFBC 00337F1C 4B CC 9A 31 */ bl sub_800049ec +/* 8033AFC0 00337F20 BB 61 00 3C */ lmw r27, 0x3c(r1) +/* 8033AFC4 00337F24 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8033AFC8 00337F28 7C 08 03 A6 */ mtlr r0 +/* 8033AFCC 00337F2C 38 21 00 50 */ addi r1, r1, 0x50 +/* 8033AFD0 00337F30 4E 80 00 20 */ blr + +.global sub_8033afd4 +sub_8033afd4: +/* 8033AFD4 00337F34 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033AFD8 00337F38 7C 08 02 A6 */ mflr r0 +/* 8033AFDC 00337F3C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033AFE0 00337F40 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8033AFE4 00337F44 7C 7F 1B 78 */ mr r31, r3 +/* 8033AFE8 00337F48 38 61 00 10 */ addi r3, r1, 0x10 +/* 8033AFEC 00337F4C 80 E5 00 00 */ lwz r7, 0(r5) +/* 8033AFF0 00337F50 80 04 00 00 */ lwz r0, 0(r4) +/* 8033AFF4 00337F54 38 81 00 0C */ addi r4, r1, 0xc +/* 8033AFF8 00337F58 80 A6 00 00 */ lwz r5, 0(r6) +/* 8033AFFC 00337F5C 90 E1 00 08 */ stw r7, 8(r1) +/* 8033B000 00337F60 90 A1 00 0C */ stw r5, 0xc(r1) +/* 8033B004 00337F64 90 E1 00 10 */ stw r7, 0x10(r1) +/* 8033B008 00337F68 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033B00C 00337F6C 48 00 14 19 */ bl "distance,Q24rstl17rmemory_allocator>,10SObjectTag>,Q24rstl138vector,Q24rstl17rmemory_allocator>,10SObjectTag>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl303const_pointer_iterator,Q24rstl17rmemory_allocator>,10SObjectTag>,Q24rstl138vector,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8033B0E0 00338040 80 19 00 10 */ lwz r0, 0x10(r25) +/* 8033B0E4 00338044 90 15 00 10 */ stw r0, 0x10(r21) +/* 8033B0E8 00338048 80 19 00 14 */ lwz r0, 0x14(r25) +/* 8033B0EC 0033804C 90 15 00 14 */ stw r0, 0x14(r21) +lbl_8033B0F0: +/* 8033B0F0 00338050 28 1A 00 00 */ cmplwi r26, 0 +/* 8033B0F4 00338054 41 82 00 10 */ beq lbl_8033B104 +/* 8033B0F8 00338058 41 82 00 0C */ beq lbl_8033B104 +/* 8033B0FC 0033805C 7F 43 D3 78 */ mr r3, r26 +/* 8033B100 00338060 48 00 29 E1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8033B104: +/* 8033B104 00338064 3A B5 FF E8 */ addi r21, r21, -24 +/* 8033B108 00338068 3B 5A FF E8 */ addi r26, r26, -24 +/* 8033B10C 0033806C 3B 7B FF FF */ addi r27, r27, -1 +lbl_8033B110: +/* 8033B110 00338070 2C 1B 00 00 */ cmpwi r27, 0 +/* 8033B114 00338074 40 80 FF A8 */ bge lbl_8033B0BC +/* 8033B118 00338078 3A A0 00 00 */ li r21, 0 +/* 8033B11C 0033807C 48 00 00 34 */ b lbl_8033B150 +lbl_8033B120: +/* 8033B120 00338080 28 14 00 00 */ cmplwi r20, 0 +/* 8033B124 00338084 41 82 00 20 */ beq lbl_8033B144 +/* 8033B128 00338088 7E 83 A3 78 */ mr r3, r20 +/* 8033B12C 0033808C 7F C4 F3 78 */ mr r4, r30 +/* 8033B130 00338090 48 00 30 31 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8033B134 00338094 80 1E 00 10 */ lwz r0, 0x10(r30) +/* 8033B138 00338098 90 14 00 10 */ stw r0, 0x10(r20) +/* 8033B13C 0033809C 80 1E 00 14 */ lwz r0, 0x14(r30) +/* 8033B140 003380A0 90 14 00 14 */ stw r0, 0x14(r20) +lbl_8033B144: +/* 8033B144 003380A4 3B DE 00 18 */ addi r30, r30, 0x18 +/* 8033B148 003380A8 3A 94 00 18 */ addi r20, r20, 0x18 +/* 8033B14C 003380AC 3A B5 00 01 */ addi r21, r21, 1 +lbl_8033B150: +/* 8033B150 003380B0 7C 15 C0 00 */ cmpw r21, r24 +/* 8033B154 003380B4 41 80 FF CC */ blt lbl_8033B120 +/* 8033B158 003380B8 80 17 00 04 */ lwz r0, 4(r23) +/* 8033B15C 003380BC 7C 00 C2 14 */ add r0, r0, r24 +/* 8033B160 003380C0 90 17 00 04 */ stw r0, 4(r23) +/* 8033B164 003380C4 48 00 01 C4 */ b lbl_8033B328 +lbl_8033B168: +/* 8033B168 003380C8 2C 03 00 00 */ cmpwi r3, 0 +/* 8033B16C 003380CC 38 00 00 04 */ li r0, 4 +/* 8033B170 003380D0 41 82 00 08 */ beq lbl_8033B178 +/* 8033B174 003380D4 54 60 08 3C */ slwi r0, r3, 1 +lbl_8033B178: +/* 8033B178 003380D8 7C 1B 03 78 */ mr r27, r0 +/* 8033B17C 003380DC 48 00 00 08 */ b lbl_8033B184 +lbl_8033B180: +/* 8033B180 003380E0 57 7B 08 3C */ slwi r27, r27, 1 +lbl_8033B184: +/* 8033B184 003380E4 7C 1B 38 00 */ cmpw r27, r7 +/* 8033B188 003380E8 41 80 FF F8 */ blt lbl_8033B180 +/* 8033B18C 003380EC 1C 7B 00 18 */ mulli r3, r27, 0x18 +/* 8033B190 003380F0 2C 03 00 00 */ cmpwi r3, 0 +/* 8033B194 003380F4 40 82 00 0C */ bne lbl_8033B1A0 +/* 8033B198 003380F8 3B E0 00 00 */ li r31, 0 +/* 8033B19C 003380FC 48 00 00 18 */ b lbl_8033B1B4 +lbl_8033B1A0: +/* 8033B1A0 00338100 3C 80 80 3D */ lis r4, lbl_803D7A38@ha +/* 8033B1A4 00338104 38 A0 00 00 */ li r5, 0 +/* 8033B1A8 00338108 38 84 7A 38 */ addi r4, r4, lbl_803D7A38@l +/* 8033B1AC 0033810C 4B FD A6 6D */ bl __nwa__FUlPCcPCc +/* 8033B1B0 00338110 7C 7F 1B 78 */ mr r31, r3 +lbl_8033B1B4: +/* 8033B1B4 00338114 80 97 00 0C */ lwz r4, 0xc(r23) +/* 8033B1B8 00338118 3C 60 2A AB */ lis r3, 0x2AAAAAAB@ha +/* 8033B1BC 0033811C 80 14 00 00 */ lwz r0, 0(r20) +/* 8033B1C0 00338120 38 63 AA AB */ addi r3, r3, 0x2AAAAAAB@l +/* 8033B1C4 00338124 7F FD FB 78 */ mr r29, r31 +/* 8033B1C8 00338128 3B 40 00 00 */ li r26, 0 +/* 8033B1CC 0033812C 7C 04 00 50 */ subf r0, r4, r0 +/* 8033B1D0 00338130 3B 20 00 00 */ li r25, 0 +/* 8033B1D4 00338134 7C 03 00 96 */ mulhw r0, r3, r0 +/* 8033B1D8 00338138 3A 80 00 00 */ li r20, 0 +/* 8033B1DC 0033813C 7C 00 16 70 */ srawi r0, r0, 2 +/* 8033B1E0 00338140 54 03 0F FE */ srwi r3, r0, 0x1f +/* 8033B1E4 00338144 7E A0 1A 14 */ add r21, r0, r3 +/* 8033B1E8 00338148 48 00 00 40 */ b lbl_8033B228 +lbl_8033B1EC: +/* 8033B1EC 0033814C 80 17 00 0C */ lwz r0, 0xc(r23) +/* 8033B1F0 00338150 28 1D 00 00 */ cmplwi r29, 0 +/* 8033B1F4 00338154 7E C0 A2 14 */ add r22, r0, r20 +/* 8033B1F8 00338158 41 82 00 20 */ beq lbl_8033B218 +/* 8033B1FC 0033815C 7F A3 EB 78 */ mr r3, r29 +/* 8033B200 00338160 7E C4 B3 78 */ mr r4, r22 +/* 8033B204 00338164 48 00 2F 5D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8033B208 00338168 80 16 00 10 */ lwz r0, 0x10(r22) +/* 8033B20C 0033816C 90 1D 00 10 */ stw r0, 0x10(r29) +/* 8033B210 00338170 80 16 00 14 */ lwz r0, 0x14(r22) +/* 8033B214 00338174 90 1D 00 14 */ stw r0, 0x14(r29) +lbl_8033B218: +/* 8033B218 00338178 3B BD 00 18 */ addi r29, r29, 0x18 +/* 8033B21C 0033817C 3B 5A 00 01 */ addi r26, r26, 1 +/* 8033B220 00338180 3A 94 00 18 */ addi r20, r20, 0x18 +/* 8033B224 00338184 3B 39 00 01 */ addi r25, r25, 1 +lbl_8033B228: +/* 8033B228 00338188 7C 19 A8 00 */ cmpw r25, r21 +/* 8033B22C 0033818C 41 80 FF C0 */ blt lbl_8033B1EC +/* 8033B230 00338190 1C 1A 00 18 */ mulli r0, r26, 0x18 +/* 8033B234 00338194 3A C0 00 00 */ li r22, 0 +/* 8033B238 00338198 7E 9F 02 14 */ add r20, r31, r0 +/* 8033B23C 0033819C 48 00 00 38 */ b lbl_8033B274 +lbl_8033B240: +/* 8033B240 003381A0 28 14 00 00 */ cmplwi r20, 0 +/* 8033B244 003381A4 41 82 00 20 */ beq lbl_8033B264 +/* 8033B248 003381A8 7E 83 A3 78 */ mr r3, r20 +/* 8033B24C 003381AC 7F C4 F3 78 */ mr r4, r30 +/* 8033B250 003381B0 48 00 2F 11 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8033B254 003381B4 80 1E 00 10 */ lwz r0, 0x10(r30) +/* 8033B258 003381B8 90 14 00 10 */ stw r0, 0x10(r20) +/* 8033B25C 003381BC 80 1E 00 14 */ lwz r0, 0x14(r30) +/* 8033B260 003381C0 90 14 00 14 */ stw r0, 0x14(r20) +lbl_8033B264: +/* 8033B264 003381C4 3B DE 00 18 */ addi r30, r30, 0x18 +/* 8033B268 003381C8 3A 94 00 18 */ addi r20, r20, 0x18 +/* 8033B26C 003381CC 3B 5A 00 01 */ addi r26, r26, 1 +/* 8033B270 003381D0 3A D6 00 01 */ addi r22, r22, 1 +lbl_8033B274: +/* 8033B274 003381D4 7C 16 C0 00 */ cmpw r22, r24 +/* 8033B278 003381D8 41 80 FF C8 */ blt lbl_8033B240 +/* 8033B27C 003381DC 1C 1A 00 18 */ mulli r0, r26, 0x18 +/* 8033B280 003381E0 7E B9 AB 78 */ mr r25, r21 +/* 8033B284 003381E4 1E 95 00 18 */ mulli r20, r21, 0x18 +/* 8033B288 003381E8 7E BF 02 14 */ add r21, r31, r0 +/* 8033B28C 003381EC 48 00 00 3C */ b lbl_8033B2C8 +lbl_8033B290: +/* 8033B290 003381F0 80 17 00 0C */ lwz r0, 0xc(r23) +/* 8033B294 003381F4 28 15 00 00 */ cmplwi r21, 0 +/* 8033B298 003381F8 7E C0 A2 14 */ add r22, r0, r20 +/* 8033B29C 003381FC 41 82 00 20 */ beq lbl_8033B2BC +/* 8033B2A0 00338200 7E A3 AB 78 */ mr r3, r21 +/* 8033B2A4 00338204 7E C4 B3 78 */ mr r4, r22 +/* 8033B2A8 00338208 48 00 2E B9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8033B2AC 0033820C 80 16 00 10 */ lwz r0, 0x10(r22) +/* 8033B2B0 00338210 90 15 00 10 */ stw r0, 0x10(r21) +/* 8033B2B4 00338214 80 16 00 14 */ lwz r0, 0x14(r22) +/* 8033B2B8 00338218 90 15 00 14 */ stw r0, 0x14(r21) +lbl_8033B2BC: +/* 8033B2BC 0033821C 3A B5 00 18 */ addi r21, r21, 0x18 +/* 8033B2C0 00338220 3A 94 00 18 */ addi r20, r20, 0x18 +/* 8033B2C4 00338224 3B 39 00 01 */ addi r25, r25, 1 +lbl_8033B2C8: +/* 8033B2C8 00338228 80 17 00 04 */ lwz r0, 4(r23) +/* 8033B2CC 0033822C 7C 19 00 00 */ cmpw r25, r0 +/* 8033B2D0 00338230 41 80 FF C0 */ blt lbl_8033B290 +/* 8033B2D4 00338234 1C 00 00 18 */ mulli r0, r0, 0x18 +/* 8033B2D8 00338238 7F 96 E3 78 */ mr r22, r28 +/* 8033B2DC 0033823C 7F 3C 02 14 */ add r25, r28, r0 +/* 8033B2E0 00338240 48 00 00 1C */ b lbl_8033B2FC +lbl_8033B2E4: +/* 8033B2E4 00338244 28 16 00 00 */ cmplwi r22, 0 +/* 8033B2E8 00338248 41 82 00 10 */ beq lbl_8033B2F8 +/* 8033B2EC 0033824C 41 82 00 0C */ beq lbl_8033B2F8 +/* 8033B2F0 00338250 7E C3 B3 78 */ mr r3, r22 +/* 8033B2F4 00338254 48 00 27 ED */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8033B2F8: +/* 8033B2F8 00338258 3A D6 00 18 */ addi r22, r22, 0x18 +lbl_8033B2FC: +/* 8033B2FC 0033825C 7C 16 C8 40 */ cmplw r22, r25 +/* 8033B300 00338260 40 82 FF E4 */ bne lbl_8033B2E4 +/* 8033B304 00338264 80 77 00 0C */ lwz r3, 0xc(r23) +/* 8033B308 00338268 28 03 00 00 */ cmplwi r3, 0 +/* 8033B30C 0033826C 41 82 00 08 */ beq lbl_8033B314 +/* 8033B310 00338270 4B FD A6 21 */ bl Free__7CMemoryFPCv +lbl_8033B314: +/* 8033B314 00338274 93 F7 00 0C */ stw r31, 0xc(r23) +/* 8033B318 00338278 93 77 00 08 */ stw r27, 8(r23) +/* 8033B31C 0033827C 80 17 00 04 */ lwz r0, 4(r23) +/* 8033B320 00338280 7C 00 C2 14 */ add r0, r0, r24 +/* 8033B324 00338284 90 17 00 04 */ stw r0, 4(r23) +lbl_8033B328: +/* 8033B328 00338288 BA 81 00 10 */ lmw r20, 0x10(r1) +/* 8033B32C 0033828C 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8033B330 00338290 7C 08 03 A6 */ mtlr r0 +/* 8033B334 00338294 38 21 00 40 */ addi r1, r1, 0x40 +/* 8033B338 00338298 4E 80 00 20 */ blr + +.global "GetTagListForFile__10CResLoaderCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +"GetTagListForFile__10CResLoaderCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": +/* 8033B33C 0033829C 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 8033B340 003382A0 7C 08 02 A6 */ mflr r0 +/* 8033B344 003382A4 3C A0 80 3D */ lis r5, lbl_803D7A38@ha +/* 8033B348 003382A8 90 01 00 54 */ stw r0, 0x54(r1) +/* 8033B34C 003382AC 38 A5 7A 38 */ addi r5, r5, lbl_803D7A38@l +/* 8033B350 003382B0 38 A5 00 07 */ addi r5, r5, 7 +/* 8033B354 003382B4 BF 61 00 3C */ stmw r27, 0x3c(r1) +/* 8033B358 003382B8 7C 7B 1B 78 */ mr r27, r3 +/* 8033B35C 003382BC 38 61 00 10 */ addi r3, r1, 0x10 +/* 8033B360 003382C0 4B ED 0D 95 */ bl "__pl__4rstlFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>PCc" +/* 8033B364 003382C4 38 61 00 20 */ addi r3, r1, 0x20 +/* 8033B368 003382C8 38 81 00 10 */ addi r4, r1, 0x10 +/* 8033B36C 003382CC 48 00 2D F5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8033B370 003382D0 38 61 00 10 */ addi r3, r1, 0x10 +/* 8033B374 003382D4 48 00 27 6D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8033B378 003382D8 80 82 D7 98 */ lwz r4, lbl_805AF4B8@sda21(r2) +/* 8033B37C 003382DC 38 1B 00 18 */ addi r0, r27, 0x18 +/* 8033B380 003382E0 80 62 D7 9C */ lwz r3, lbl_805AF4BC@sda21(r2) +/* 8033B384 003382E4 3B A1 00 08 */ addi r29, r1, 8 +/* 8033B388 003382E8 90 81 00 08 */ stw r4, 8(r1) +/* 8033B38C 003382EC 3B 80 00 00 */ li r28, 0 +/* 8033B390 003382F0 90 61 00 0C */ stw r3, 0xc(r1) +/* 8033B394 003382F4 93 61 00 08 */ stw r27, 8(r1) +/* 8033B398 003382F8 90 01 00 0C */ stw r0, 0xc(r1) +lbl_8033B39C: +/* 8033B39C 003382FC 83 7D 00 00 */ lwz r27, 0(r29) +/* 8033B3A0 00338300 83 DB 00 04 */ lwz r30, 4(r27) +/* 8033B3A4 00338304 48 00 00 3C */ b lbl_8033B3E0 +lbl_8033B3A8: +/* 8033B3A8 00338308 83 FE 00 0C */ lwz r31, 0xc(r30) +/* 8033B3AC 0033830C 38 81 00 20 */ addi r4, r1, 0x20 +/* 8033B3B0 00338310 38 7F 00 18 */ addi r3, r31, 0x18 +/* 8033B3B4 00338314 48 00 36 39 */ bl "CompareCaseInsensitive__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8033B3B8 00338318 2C 03 00 00 */ cmpwi r3, 0 +/* 8033B3BC 0033831C 40 82 00 20 */ bne lbl_8033B3DC +/* 8033B3C0 00338320 7F E3 FB 78 */ mr r3, r31 +/* 8033B3C4 00338324 48 02 C2 65 */ bl GetDepList__8CPakFileCFv +/* 8033B3C8 00338328 7C 7F 1B 78 */ mr r31, r3 +/* 8033B3CC 0033832C 38 61 00 20 */ addi r3, r1, 0x20 +/* 8033B3D0 00338330 48 00 27 11 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8033B3D4 00338334 7F E3 FB 78 */ mr r3, r31 +/* 8033B3D8 00338338 48 00 00 30 */ b lbl_8033B408 +lbl_8033B3DC: +/* 8033B3DC 0033833C 83 DE 00 04 */ lwz r30, 4(r30) +lbl_8033B3E0: +/* 8033B3E0 00338340 80 1B 00 08 */ lwz r0, 8(r27) +/* 8033B3E4 00338344 7C 1E 00 40 */ cmplw r30, r0 +/* 8033B3E8 00338348 40 82 FF C0 */ bne lbl_8033B3A8 +/* 8033B3EC 0033834C 3B 9C 00 01 */ addi r28, r28, 1 +/* 8033B3F0 00338350 3B BD 00 04 */ addi r29, r29, 4 +/* 8033B3F4 00338354 2C 1C 00 02 */ cmpwi r28, 2 +/* 8033B3F8 00338358 41 80 FF A4 */ blt lbl_8033B39C +/* 8033B3FC 0033835C 38 61 00 20 */ addi r3, r1, 0x20 +/* 8033B400 00338360 48 00 26 E1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8033B404 00338364 38 60 00 00 */ li r3, 0 +lbl_8033B408: +/* 8033B408 00338368 BB 61 00 3C */ lmw r27, 0x3c(r1) +/* 8033B40C 0033836C 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8033B410 00338370 7C 08 03 A6 */ mtlr r0 +/* 8033B414 00338374 38 21 00 50 */ addi r1, r1, 0x50 +/* 8033B418 00338378 4E 80 00 20 */ blr + +.global sub_8033b41c +sub_8033b41c: +/* 8033B41C 0033837C 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 8033B420 00338380 7C 08 02 A6 */ mflr r0 +/* 8033B424 00338384 3C A0 80 3D */ lis r5, lbl_803D7A38@ha +/* 8033B428 00338388 90 01 00 54 */ stw r0, 0x54(r1) +/* 8033B42C 0033838C 38 A5 7A 38 */ addi r5, r5, lbl_803D7A38@l +/* 8033B430 00338390 38 A5 00 07 */ addi r5, r5, 7 +/* 8033B434 00338394 BF 61 00 3C */ stmw r27, 0x3c(r1) +/* 8033B438 00338398 7C 7B 1B 78 */ mr r27, r3 +/* 8033B43C 0033839C 38 61 00 10 */ addi r3, r1, 0x10 +/* 8033B440 003383A0 4B ED 0C B5 */ bl "__pl__4rstlFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>PCc" +/* 8033B444 003383A4 38 61 00 20 */ addi r3, r1, 0x20 +/* 8033B448 003383A8 38 81 00 10 */ addi r4, r1, 0x10 +/* 8033B44C 003383AC 48 00 2D 15 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8033B450 003383B0 38 61 00 10 */ addi r3, r1, 0x10 +/* 8033B454 003383B4 48 00 26 8D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8033B458 003383B8 7F 63 DB 78 */ mr r3, r27 +/* 8033B45C 003383BC 48 00 0A 01 */ bl sub_8033be5c +/* 8033B460 003383C0 80 82 D7 90 */ lwz r4, lbl_805AF4B0@sda21(r2) +/* 8033B464 003383C4 38 1B 00 18 */ addi r0, r27, 0x18 +/* 8033B468 003383C8 80 62 D7 94 */ lwz r3, lbl_805AF4B4@sda21(r2) +/* 8033B46C 003383CC 3B C1 00 08 */ addi r30, r1, 8 +/* 8033B470 003383D0 90 81 00 08 */ stw r4, 8(r1) +/* 8033B474 003383D4 3B A0 00 00 */ li r29, 0 +/* 8033B478 003383D8 90 61 00 0C */ stw r3, 0xc(r1) +/* 8033B47C 003383DC 93 61 00 08 */ stw r27, 8(r1) +/* 8033B480 003383E0 90 01 00 0C */ stw r0, 0xc(r1) +lbl_8033B484: +/* 8033B484 003383E4 83 9E 00 00 */ lwz r28, 0(r30) +/* 8033B488 003383E8 83 FC 00 04 */ lwz r31, 4(r28) +/* 8033B48C 003383EC 48 00 00 38 */ b lbl_8033B4C4 +lbl_8033B490: +/* 8033B490 003383F0 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 8033B494 003383F4 38 81 00 20 */ addi r4, r1, 0x20 +/* 8033B498 003383F8 38 63 00 18 */ addi r3, r3, 0x18 +/* 8033B49C 003383FC 48 00 35 51 */ bl "CompareCaseInsensitive__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8033B4A0 00338400 2C 03 00 00 */ cmpwi r3, 0 +/* 8033B4A4 00338404 40 82 00 1C */ bne lbl_8033B4C0 +/* 8033B4A8 00338408 7F 83 E3 78 */ mr r3, r28 +/* 8033B4AC 0033840C 7F E4 FB 78 */ mr r4, r31 +/* 8033B4B0 00338410 48 00 0F E1 */ bl sub_8033c490 +/* 8033B4B4 00338414 38 61 00 20 */ addi r3, r1, 0x20 +/* 8033B4B8 00338418 48 00 26 29 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8033B4BC 0033841C 48 00 00 8C */ b lbl_8033B548 +lbl_8033B4C0: +/* 8033B4C0 00338420 83 FF 00 04 */ lwz r31, 4(r31) +lbl_8033B4C4: +/* 8033B4C4 00338424 80 1C 00 08 */ lwz r0, 8(r28) +/* 8033B4C8 00338428 7C 1F 00 40 */ cmplw r31, r0 +/* 8033B4CC 0033842C 40 82 FF C4 */ bne lbl_8033B490 +/* 8033B4D0 00338430 3B BD 00 01 */ addi r29, r29, 1 +/* 8033B4D4 00338434 3B DE 00 04 */ addi r30, r30, 4 +/* 8033B4D8 00338438 2C 1D 00 02 */ cmpwi r29, 2 +/* 8033B4DC 0033843C 41 80 FF A8 */ blt lbl_8033B484 +/* 8033B4E0 00338440 83 DB 00 34 */ lwz r30, 0x34(r27) +/* 8033B4E4 00338444 48 00 00 50 */ b lbl_8033B534 +lbl_8033B4E8: +/* 8033B4E8 00338448 83 FE 00 0C */ lwz r31, 0xc(r30) +/* 8033B4EC 0033844C 38 81 00 20 */ addi r4, r1, 0x20 +/* 8033B4F0 00338450 38 7F 00 18 */ addi r3, r31, 0x18 +/* 8033B4F4 00338454 48 00 34 F9 */ bl "CompareCaseInsensitive__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8033B4F8 00338458 2C 03 00 00 */ cmpwi r3, 0 +/* 8033B4FC 0033845C 40 82 00 34 */ bne lbl_8033B530 +/* 8033B500 00338460 48 00 00 0C */ b lbl_8033B50C +lbl_8033B504: +/* 8033B504 00338464 7F 63 DB 78 */ mr r3, r27 +/* 8033B508 00338468 48 00 08 B9 */ bl AsyncIdlePakLoading__10CResLoaderFv +lbl_8033B50C: +/* 8033B50C 0033846C 80 1F 00 2C */ lwz r0, 0x2c(r31) +/* 8033B510 00338470 2C 00 00 03 */ cmpwi r0, 3 +/* 8033B514 00338474 40 82 FF F0 */ bne lbl_8033B504 +/* 8033B518 00338478 7F C4 F3 78 */ mr r4, r30 +/* 8033B51C 0033847C 38 7B 00 30 */ addi r3, r27, 0x30 +/* 8033B520 00338480 48 00 0F 71 */ bl sub_8033c490 +/* 8033B524 00338484 38 61 00 20 */ addi r3, r1, 0x20 +/* 8033B528 00338488 48 00 25 B9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8033B52C 0033848C 48 00 00 1C */ b lbl_8033B548 +lbl_8033B530: +/* 8033B530 00338490 83 DE 00 04 */ lwz r30, 4(r30) +lbl_8033B534: +/* 8033B534 00338494 80 1B 00 38 */ lwz r0, 0x38(r27) +/* 8033B538 00338498 7C 1E 00 40 */ cmplw r30, r0 +/* 8033B53C 0033849C 40 82 FF AC */ bne lbl_8033B4E8 +/* 8033B540 003384A0 38 61 00 20 */ addi r3, r1, 0x20 +/* 8033B544 003384A4 48 00 25 9D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8033B548: +/* 8033B548 003384A8 BB 61 00 3C */ lmw r27, 0x3c(r1) +/* 8033B54C 003384AC 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8033B550 003384B0 7C 08 03 A6 */ mtlr r0 +/* 8033B554 003384B4 38 21 00 50 */ addi r1, r1, 0x50 +/* 8033B558 003384B8 4E 80 00 20 */ blr + +.global "AddPakFileAsync__10CResLoaderFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>b" +"AddPakFileAsync__10CResLoaderFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>b": +/* 8033B55C 003384BC 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8033B560 003384C0 7C 08 02 A6 */ mflr r0 +/* 8033B564 003384C4 3C E0 80 3D */ lis r7, lbl_803D7A38@ha +/* 8033B568 003384C8 90 01 00 44 */ stw r0, 0x44(r1) +/* 8033B56C 003384CC 38 E7 7A 38 */ addi r7, r7, lbl_803D7A38@l +/* 8033B570 003384D0 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 8033B574 003384D4 7C 7F 1B 78 */ mr r31, r3 +/* 8033B578 003384D8 38 61 00 10 */ addi r3, r1, 0x10 +/* 8033B57C 003384DC 93 C1 00 38 */ stw r30, 0x38(r1) +/* 8033B580 003384E0 7C BE 2B 78 */ mr r30, r5 +/* 8033B584 003384E4 38 A7 00 07 */ addi r5, r7, 7 +/* 8033B588 003384E8 93 A1 00 34 */ stw r29, 0x34(r1) +/* 8033B58C 003384EC 7C DD 33 78 */ mr r29, r6 +/* 8033B590 003384F0 4B ED 0B 65 */ bl "__pl__4rstlFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>PCc" +/* 8033B594 003384F4 38 61 00 20 */ addi r3, r1, 0x20 +/* 8033B598 003384F8 38 81 00 10 */ addi r4, r1, 0x10 +/* 8033B59C 003384FC 48 00 2B C5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8033B5A0 00338500 38 61 00 10 */ addi r3, r1, 0x10 +/* 8033B5A4 00338504 48 00 25 3D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8033B5A8 00338508 80 61 00 20 */ lwz r3, 0x20(r1) +/* 8033B5AC 0033850C 48 01 43 A1 */ bl FileExists__8CDvdFileFPCc +/* 8033B5B0 00338510 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8033B5B4 00338514 41 82 00 D8 */ beq lbl_8033B68C +/* 8033B5B8 00338518 3C 80 80 3D */ lis r4, lbl_803D7A38@ha +/* 8033B5BC 0033851C 38 60 00 88 */ li r3, 0x88 +/* 8033B5C0 00338520 38 84 7A 38 */ addi r4, r4, lbl_803D7A38@l +/* 8033B5C4 00338524 38 A0 00 00 */ li r5, 0 +/* 8033B5C8 00338528 4B FD A2 A5 */ bl __nw__FUlPCcPCc +/* 8033B5CC 0033852C 7C 64 1B 79 */ or. r4, r3, r3 +/* 8033B5D0 00338530 41 82 00 18 */ beq lbl_8033B5E8 +/* 8033B5D4 00338534 7F C5 F3 78 */ mr r5, r30 +/* 8033B5D8 00338538 7F A6 EB 78 */ mr r6, r29 +/* 8033B5DC 0033853C 38 81 00 20 */ addi r4, r1, 0x20 +/* 8033B5E0 00338540 48 02 CF B1 */ bl "__ct__8CPakFileFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>b" +/* 8033B5E4 00338544 7C 64 1B 78 */ mr r4, r3 +lbl_8033B5E8: +/* 8033B5E8 00338548 7C 04 00 D0 */ neg r0, r4 +/* 8033B5EC 0033854C 83 DF 00 38 */ lwz r30, 0x38(r31) +/* 8033B5F0 00338550 7C 00 23 78 */ or r0, r0, r4 +/* 8033B5F4 00338554 3C 60 80 3D */ lis r3, lbl_803D7A38@ha +/* 8033B5F8 00338558 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8033B5FC 0033855C 90 81 00 0C */ stw r4, 0xc(r1) +/* 8033B600 00338560 83 BE 00 00 */ lwz r29, 0(r30) +/* 8033B604 00338564 38 83 7A 38 */ addi r4, r3, lbl_803D7A38@l +/* 8033B608 00338568 98 01 00 08 */ stb r0, 8(r1) +/* 8033B60C 0033856C 38 60 00 10 */ li r3, 0x10 +/* 8033B610 00338570 38 A0 00 00 */ li r5, 0 +/* 8033B614 00338574 4B FD A2 05 */ bl __nwa__FUlPCcPCc +/* 8033B618 00338578 28 03 00 00 */ cmplwi r3, 0 +/* 8033B61C 0033857C 41 82 00 0C */ beq lbl_8033B628 +/* 8033B620 00338580 93 A3 00 00 */ stw r29, 0(r3) +/* 8033B624 00338584 93 C3 00 04 */ stw r30, 4(r3) +lbl_8033B628: +/* 8033B628 00338588 34 C3 00 08 */ addic. r6, r3, 8 +/* 8033B62C 0033858C 41 82 00 1C */ beq lbl_8033B648 +/* 8033B630 00338590 88 A1 00 08 */ lbz r5, 8(r1) +/* 8033B634 00338594 38 00 00 00 */ li r0, 0 +/* 8033B638 00338598 80 81 00 0C */ lwz r4, 0xc(r1) +/* 8033B63C 0033859C 98 A6 00 00 */ stb r5, 0(r6) +/* 8033B640 003385A0 90 86 00 04 */ stw r4, 4(r6) +/* 8033B644 003385A4 98 01 00 08 */ stb r0, 8(r1) +lbl_8033B648: +/* 8033B648 003385A8 80 1F 00 34 */ lwz r0, 0x34(r31) +/* 8033B64C 003385AC 7C 1E 00 40 */ cmplw r30, r0 +/* 8033B650 003385B0 40 82 00 08 */ bne lbl_8033B658 +/* 8033B654 003385B4 90 7F 00 34 */ stw r3, 0x34(r31) +lbl_8033B658: +/* 8033B658 003385B8 80 83 00 00 */ lwz r4, 0(r3) +/* 8033B65C 003385BC 88 01 00 08 */ lbz r0, 8(r1) +/* 8033B660 003385C0 90 64 00 04 */ stw r3, 4(r4) +/* 8033B664 003385C4 28 00 00 00 */ cmplwi r0, 0 +/* 8033B668 003385C8 80 83 00 04 */ lwz r4, 4(r3) +/* 8033B66C 003385CC 90 64 00 00 */ stw r3, 0(r4) +/* 8033B670 003385D0 80 7F 00 44 */ lwz r3, 0x44(r31) +/* 8033B674 003385D4 38 03 00 01 */ addi r0, r3, 1 +/* 8033B678 003385D8 90 1F 00 44 */ stw r0, 0x44(r31) +/* 8033B67C 003385DC 41 82 00 10 */ beq lbl_8033B68C +/* 8033B680 003385E0 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8033B684 003385E4 38 80 00 01 */ li r4, 1 +/* 8033B688 003385E8 48 02 CD 75 */ bl __dt__8CPakFileFv +lbl_8033B68C: +/* 8033B68C 003385EC 38 61 00 20 */ addi r3, r1, 0x20 +/* 8033B690 003385F0 48 00 24 51 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8033B694 003385F4 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8033B698 003385F8 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 8033B69C 003385FC 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 8033B6A0 00338600 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 8033B6A4 00338604 7C 08 03 A6 */ mtlr r0 +/* 8033B6A8 00338608 38 21 00 40 */ addi r1, r1, 0x40 +/* 8033B6AC 0033860C 4E 80 00 20 */ blr + +.global LoadNewResourcePartSync__10CResLoaderFRC10SObjectTagiiPc +LoadNewResourcePartSync__10CResLoaderFRC10SObjectTagiiPc: +/* 8033B6B0 00338610 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8033B6B4 00338614 7C 08 02 A6 */ mflr r0 +/* 8033B6B8 00338618 90 01 00 34 */ stw r0, 0x34(r1) +/* 8033B6BC 0033861C BF 41 00 18 */ stmw r26, 0x18(r1) +/* 8033B6C0 00338620 7C 7B 1B 78 */ mr r27, r3 +/* 8033B6C4 00338624 7C BA 2B 78 */ mr r26, r5 +/* 8033B6C8 00338628 7C DE 33 78 */ mr r30, r6 +/* 8033B6CC 0033862C 7C FF 3B 78 */ mr r31, r7 +/* 8033B6D0 00338630 48 00 09 E9 */ bl FindResourceForLoad__10CResLoaderFRC10SObjectTag +/* 8033B6D4 00338634 28 1F 00 00 */ cmplwi r31, 0 +/* 8033B6D8 00338638 83 7B 00 50 */ lwz r27, 0x50(r27) +/* 8033B6DC 0033863C 7C 7C 1B 78 */ mr r28, r3 +/* 8033B6E0 00338640 41 82 00 0C */ beq lbl_8033B6EC +/* 8033B6E4 00338644 7F FD FB 78 */ mr r29, r31 +/* 8033B6E8 00338648 48 00 00 3C */ b lbl_8033B724 +lbl_8033B6EC: +/* 8033B6EC 0033864C 3C 60 80 3D */ lis r3, lbl_803D7A38@ha +/* 8033B6F0 00338650 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha +/* 8033B6F4 00338654 38 A3 7A 38 */ addi r5, r3, lbl_803D7A38@l +/* 8033B6F8 00338658 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l +/* 8033B6FC 0033865C 38 61 00 08 */ addi r3, r1, 8 +/* 8033B700 00338660 38 80 FF FF */ li r4, -1 +/* 8033B704 00338664 4B F9 AC D1 */ bl __ct__10CCallStackFUiPCcPCc +/* 8033B708 00338668 7C 67 1B 78 */ mr r7, r3 +/* 8033B70C 0033866C 7F C3 F3 78 */ mr r3, r30 +/* 8033B710 00338670 38 80 00 02 */ li r4, 2 +/* 8033B714 00338674 38 A0 00 01 */ li r5, 1 +/* 8033B718 00338678 38 C0 00 00 */ li r6, 0 +/* 8033B71C 0033867C 4B FD A2 79 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 8033B720 00338680 7C 7D 1B 78 */ mr r29, r3 +lbl_8033B724: +/* 8033B724 00338684 7F 63 DB 78 */ mr r3, r27 +/* 8033B728 00338688 48 02 CF 79 */ bl GetOffset__Q28CPakFile8SResInfoCFv +/* 8033B72C 0033868C 7C 60 1B 78 */ mr r0, r3 +/* 8033B730 00338690 7F 83 E3 78 */ mr r3, r28 +/* 8033B734 00338694 7F A4 EB 78 */ mr r4, r29 +/* 8033B738 00338698 7F C5 F3 78 */ mr r5, r30 +/* 8033B73C 0033869C 7C FA 02 14 */ add r7, r26, r0 +/* 8033B740 003386A0 38 C0 00 00 */ li r6, 0 +/* 8033B744 003386A4 48 01 43 C1 */ bl SyncSeekRead__8CDvdFileFPvUi11ESeekOrigini +/* 8033B748 003386A8 3C 80 80 3D */ lis r4, lbl_803D7A38@ha +/* 8033B74C 003386AC 38 60 00 24 */ li r3, 0x24 +/* 8033B750 003386B0 38 84 7A 38 */ addi r4, r4, lbl_803D7A38@l +/* 8033B754 003386B4 38 A0 00 00 */ li r5, 0 +/* 8033B758 003386B8 4B FD A1 15 */ bl __nw__FUlPCcPCc +/* 8033B75C 003386BC 7C 60 1B 79 */ or. r0, r3, r3 +/* 8033B760 003386C0 41 82 00 20 */ beq lbl_8033B780 +/* 8033B764 003386C4 7C 1F 00 D0 */ neg r0, r31 +/* 8033B768 003386C8 7F A4 EB 78 */ mr r4, r29 +/* 8033B76C 003386CC 7C 00 FB 78 */ or r0, r0, r31 +/* 8033B770 003386D0 7F C5 F3 78 */ mr r5, r30 +/* 8033B774 003386D4 54 06 0F FE */ srwi r6, r0, 0x1f +/* 8033B778 003386D8 48 00 3A 95 */ bl __ct__15CMemoryInStreamFPvUlQ215CMemoryInStream10EOwnerShip +/* 8033B77C 003386DC 7C 60 1B 78 */ mr r0, r3 +lbl_8033B780: +/* 8033B780 003386E0 BB 41 00 18 */ lmw r26, 0x18(r1) +/* 8033B784 003386E4 7C 03 03 78 */ mr r3, r0 +/* 8033B788 003386E8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8033B78C 003386EC 7C 08 03 A6 */ mtlr r0 +/* 8033B790 003386F0 38 21 00 30 */ addi r1, r1, 0x30 +/* 8033B794 003386F4 4E 80 00 20 */ blr + +.global LoadMemResourceSync__10CResLoaderFRC10SObjectTagPPcPi +LoadMemResourceSync__10CResLoaderFRC10SObjectTagPPcPi: +/* 8033B798 003386F8 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8033B79C 003386FC 7C 08 02 A6 */ mflr r0 +/* 8033B7A0 00338700 90 01 00 34 */ stw r0, 0x34(r1) +/* 8033B7A4 00338704 BF 41 00 18 */ stmw r26, 0x18(r1) +/* 8033B7A8 00338708 7C 7C 1B 78 */ mr r28, r3 +/* 8033B7AC 0033870C 7C BA 2B 78 */ mr r26, r5 +/* 8033B7B0 00338710 7C DB 33 78 */ mr r27, r6 +/* 8033B7B4 00338714 48 00 09 05 */ bl FindResourceForLoad__10CResLoaderFRC10SObjectTag +/* 8033B7B8 00338718 83 DC 00 50 */ lwz r30, 0x50(r28) +/* 8033B7BC 0033871C 7C 7F 1B 78 */ mr r31, r3 +/* 8033B7C0 00338720 7F C3 F3 78 */ mr r3, r30 +/* 8033B7C4 00338724 48 02 CE BD */ bl GetSize__Q28CPakFile8SResInfoCFv +/* 8033B7C8 00338728 38 03 00 1F */ addi r0, r3, 0x1f +/* 8033B7CC 0033872C 3C A0 80 3D */ lis r5, lbl_803D7A38@ha +/* 8033B7D0 00338730 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha +/* 8033B7D4 00338734 38 61 00 08 */ addi r3, r1, 8 +/* 8033B7D8 00338738 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l +/* 8033B7DC 0033873C 38 A5 7A 38 */ addi r5, r5, lbl_803D7A38@l +/* 8033B7E0 00338740 54 1D 00 34 */ rlwinm r29, r0, 0, 0, 0x1a +/* 8033B7E4 00338744 38 80 FF FF */ li r4, -1 +/* 8033B7E8 00338748 4B F9 AB ED */ bl __ct__10CCallStackFUiPCcPCc +/* 8033B7EC 0033874C 7C 67 1B 78 */ mr r7, r3 +/* 8033B7F0 00338750 7F A3 EB 78 */ mr r3, r29 +/* 8033B7F4 00338754 38 80 00 02 */ li r4, 2 +/* 8033B7F8 00338758 38 A0 00 01 */ li r5, 1 +/* 8033B7FC 0033875C 38 C0 00 00 */ li r6, 0 +/* 8033B800 00338760 4B FD A1 95 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 8033B804 00338764 7C 60 1B 78 */ mr r0, r3 +/* 8033B808 00338768 7F C3 F3 78 */ mr r3, r30 +/* 8033B80C 0033876C 7C 1C 03 78 */ mr r28, r0 +/* 8033B810 00338770 48 02 CE 91 */ bl GetOffset__Q28CPakFile8SResInfoCFv +/* 8033B814 00338774 7C 67 1B 78 */ mr r7, r3 +/* 8033B818 00338778 7F E3 FB 78 */ mr r3, r31 +/* 8033B81C 0033877C 7F 84 E3 78 */ mr r4, r28 +/* 8033B820 00338780 7F A5 EB 78 */ mr r5, r29 +/* 8033B824 00338784 38 C0 00 00 */ li r6, 0 +/* 8033B828 00338788 48 01 42 DD */ bl SyncSeekRead__8CDvdFileFPvUi11ESeekOrigini +/* 8033B82C 0033878C 93 9A 00 00 */ stw r28, 0(r26) +/* 8033B830 00338790 7F C3 F3 78 */ mr r3, r30 +/* 8033B834 00338794 48 02 CE 4D */ bl GetSize__Q28CPakFile8SResInfoCFv +/* 8033B838 00338798 90 7B 00 00 */ stw r3, 0(r27) +/* 8033B83C 0033879C BB 41 00 18 */ lmw r26, 0x18(r1) +/* 8033B840 003387A0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8033B844 003387A4 7C 08 03 A6 */ mtlr r0 +/* 8033B848 003387A8 38 21 00 30 */ addi r1, r1, 0x30 +/* 8033B84C 003387AC 4E 80 00 20 */ blr + +.global LoadResourceFromMemorySync__10CResLoaderFRC10SObjectTagPCv +LoadResourceFromMemorySync__10CResLoaderFRC10SObjectTagPCv: +/* 8033B850 003387B0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033B854 003387B4 7C 08 02 A6 */ mflr r0 +/* 8033B858 003387B8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033B85C 003387BC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8033B860 003387C0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8033B864 003387C4 7C 7E 1B 78 */ mr r30, r3 +/* 8033B868 003387C8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8033B86C 003387CC 7C BD 2B 78 */ mr r29, r5 +/* 8033B870 003387D0 48 00 08 49 */ bl FindResourceForLoad__10CResLoaderFRC10SObjectTag +/* 8033B874 003387D4 3C 60 80 3D */ lis r3, lbl_803D7A38@ha +/* 8033B878 003387D8 83 DE 00 50 */ lwz r30, 0x50(r30) +/* 8033B87C 003387DC 38 83 7A 38 */ addi r4, r3, lbl_803D7A38@l +/* 8033B880 003387E0 38 A0 00 00 */ li r5, 0 +/* 8033B884 003387E4 38 60 00 24 */ li r3, 0x24 +/* 8033B888 003387E8 4B FD 9F E5 */ bl __nw__FUlPCcPCc +/* 8033B88C 003387EC 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8033B890 003387F0 41 82 00 20 */ beq lbl_8033B8B0 +/* 8033B894 003387F4 7F C3 F3 78 */ mr r3, r30 +/* 8033B898 003387F8 48 02 CD E9 */ bl GetSize__Q28CPakFile8SResInfoCFv +/* 8033B89C 003387FC 7C 65 1B 78 */ mr r5, r3 +/* 8033B8A0 00338800 7F E3 FB 78 */ mr r3, r31 +/* 8033B8A4 00338804 7F A4 EB 78 */ mr r4, r29 +/* 8033B8A8 00338808 48 00 39 25 */ bl __ct__15CMemoryInStreamFPCvUl +/* 8033B8AC 0033880C 7C 7F 1B 78 */ mr r31, r3 +lbl_8033B8B0: +/* 8033B8B0 00338810 7F C3 F3 78 */ mr r3, r30 +/* 8033B8B4 00338814 48 02 CD B5 */ bl IsCompressed__Q28CPakFile8SResInfoCFv +/* 8033B8B8 00338818 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8033B8BC 0033881C 41 82 00 8C */ beq lbl_8033B948 +/* 8033B8C0 00338820 7F E3 FB 78 */ mr r3, r31 +/* 8033B8C4 00338824 48 00 33 C1 */ bl ReadLong__12CInputStreamFv +/* 8033B8C8 00338828 3C 60 80 3D */ lis r3, lbl_803D7A38@ha +/* 8033B8CC 0033882C 3B A0 00 00 */ li r29, 0 +/* 8033B8D0 00338830 38 83 7A 38 */ addi r4, r3, lbl_803D7A38@l +/* 8033B8D4 00338834 38 A0 00 00 */ li r5, 0 +/* 8033B8D8 00338838 38 60 00 34 */ li r3, 0x34 +/* 8033B8DC 0033883C 4B FD 9F 91 */ bl __nw__FUlPCcPCc +/* 8033B8E0 00338840 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8033B8E4 00338844 41 82 00 28 */ beq lbl_8033B90C +/* 8033B8E8 00338848 7C 1F 00 D0 */ neg r0, r31 +/* 8033B8EC 0033884C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033B8F0 00338850 7C 00 FB 78 */ or r0, r0, r31 +/* 8033B8F4 00338854 38 81 00 08 */ addi r4, r1, 8 +/* 8033B8F8 00338858 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8033B8FC 0033885C 3B A0 00 01 */ li r29, 1 +/* 8033B900 00338860 98 01 00 08 */ stb r0, 8(r1) +/* 8033B904 00338864 48 00 3F FD */ bl "__ct__15CZipInputStreamFQ24rstl24auto_ptr<12CInputStream>" +/* 8033B908 00338868 7C 7E 1B 78 */ mr r30, r3 +lbl_8033B90C: +/* 8033B90C 0033886C 7F A0 07 75 */ extsb. r0, r29 +/* 8033B910 00338870 41 82 00 30 */ beq lbl_8033B940 +/* 8033B914 00338874 88 01 00 08 */ lbz r0, 8(r1) +/* 8033B918 00338878 28 00 00 00 */ cmplwi r0, 0 +/* 8033B91C 0033887C 41 82 00 24 */ beq lbl_8033B940 +/* 8033B920 00338880 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8033B924 00338884 28 03 00 00 */ cmplwi r3, 0 +/* 8033B928 00338888 41 82 00 18 */ beq lbl_8033B940 +/* 8033B92C 0033888C 81 83 00 00 */ lwz r12, 0(r3) +/* 8033B930 00338890 38 80 00 01 */ li r4, 1 +/* 8033B934 00338894 81 8C 00 08 */ lwz r12, 8(r12) +/* 8033B938 00338898 7D 89 03 A6 */ mtctr r12 +/* 8033B93C 0033889C 4E 80 04 21 */ bctrl +lbl_8033B940: +/* 8033B940 003388A0 7F C3 F3 78 */ mr r3, r30 +/* 8033B944 003388A4 48 00 00 08 */ b lbl_8033B94C +lbl_8033B948: +/* 8033B948 003388A8 7F E3 FB 78 */ mr r3, r31 +lbl_8033B94C: +/* 8033B94C 003388AC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8033B950 003388B0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8033B954 003388B4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8033B958 003388B8 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8033B95C 003388BC 7C 08 03 A6 */ mtlr r0 +/* 8033B960 003388C0 38 21 00 20 */ addi r1, r1, 0x20 +/* 8033B964 003388C4 4E 80 00 20 */ blr + +.global LoadNewResourceSync__10CResLoaderFRC10SObjectTagPc +LoadNewResourceSync__10CResLoaderFRC10SObjectTagPc: +/* 8033B968 003388C8 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8033B96C 003388CC 7C 08 02 A6 */ mflr r0 +/* 8033B970 003388D0 90 01 00 34 */ stw r0, 0x34(r1) +/* 8033B974 003388D4 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 8033B978 003388D8 7C 7B 1B 78 */ mr r27, r3 +/* 8033B97C 003388DC 7C BE 2B 78 */ mr r30, r5 +/* 8033B980 003388E0 48 00 07 39 */ bl FindResourceForLoad__10CResLoaderFRC10SObjectTag +/* 8033B984 003388E4 83 FB 00 50 */ lwz r31, 0x50(r27) +/* 8033B988 003388E8 7C 7C 1B 78 */ mr r28, r3 +/* 8033B98C 003388EC 7F E3 FB 78 */ mr r3, r31 +/* 8033B990 003388F0 48 02 CC F1 */ bl GetSize__Q28CPakFile8SResInfoCFv +/* 8033B994 003388F4 28 1E 00 00 */ cmplwi r30, 0 +/* 8033B998 003388F8 38 03 00 1F */ addi r0, r3, 0x1f +/* 8033B99C 003388FC 54 1B 00 34 */ rlwinm r27, r0, 0, 0, 0x1a +/* 8033B9A0 00338900 41 82 00 0C */ beq lbl_8033B9AC +/* 8033B9A4 00338904 7F DD F3 78 */ mr r29, r30 +/* 8033B9A8 00338908 48 00 00 3C */ b lbl_8033B9E4 +lbl_8033B9AC: +/* 8033B9AC 0033890C 3C 60 80 3D */ lis r3, lbl_803D7A38@ha +/* 8033B9B0 00338910 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha +/* 8033B9B4 00338914 38 A3 7A 38 */ addi r5, r3, lbl_803D7A38@l +/* 8033B9B8 00338918 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l +/* 8033B9BC 0033891C 38 61 00 10 */ addi r3, r1, 0x10 +/* 8033B9C0 00338920 38 80 FF FF */ li r4, -1 +/* 8033B9C4 00338924 4B F9 AA 11 */ bl __ct__10CCallStackFUiPCcPCc +/* 8033B9C8 00338928 7C 67 1B 78 */ mr r7, r3 +/* 8033B9CC 0033892C 7F 63 DB 78 */ mr r3, r27 +/* 8033B9D0 00338930 38 80 00 02 */ li r4, 2 +/* 8033B9D4 00338934 38 A0 00 01 */ li r5, 1 +/* 8033B9D8 00338938 38 C0 00 00 */ li r6, 0 +/* 8033B9DC 0033893C 4B FD 9F B9 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 8033B9E0 00338940 7C 7D 1B 78 */ mr r29, r3 +lbl_8033B9E4: +/* 8033B9E4 00338944 7F E3 FB 78 */ mr r3, r31 +/* 8033B9E8 00338948 48 02 CC B9 */ bl GetOffset__Q28CPakFile8SResInfoCFv +/* 8033B9EC 0033894C 7C 67 1B 78 */ mr r7, r3 +/* 8033B9F0 00338950 7F 83 E3 78 */ mr r3, r28 +/* 8033B9F4 00338954 7F A4 EB 78 */ mr r4, r29 +/* 8033B9F8 00338958 7F 65 DB 78 */ mr r5, r27 +/* 8033B9FC 0033895C 38 C0 00 00 */ li r6, 0 +/* 8033BA00 00338960 48 01 41 05 */ bl SyncSeekRead__8CDvdFileFPvUi11ESeekOrigini +/* 8033BA04 00338964 3C 80 80 3D */ lis r4, lbl_803D7A38@ha +/* 8033BA08 00338968 38 60 00 24 */ li r3, 0x24 +/* 8033BA0C 0033896C 38 84 7A 38 */ addi r4, r4, lbl_803D7A38@l +/* 8033BA10 00338970 38 A0 00 00 */ li r5, 0 +/* 8033BA14 00338974 4B FD 9E 59 */ bl __nw__FUlPCcPCc +/* 8033BA18 00338978 7C 7C 1B 79 */ or. r28, r3, r3 +/* 8033BA1C 0033897C 41 82 00 30 */ beq lbl_8033BA4C +/* 8033BA20 00338980 7C 1E 00 D0 */ neg r0, r30 +/* 8033BA24 00338984 7F E3 FB 78 */ mr r3, r31 +/* 8033BA28 00338988 7C 00 F3 78 */ or r0, r0, r30 +/* 8033BA2C 0033898C 54 1E 0F FE */ srwi r30, r0, 0x1f +/* 8033BA30 00338990 48 02 CC 51 */ bl GetSize__Q28CPakFile8SResInfoCFv +/* 8033BA34 00338994 7C 65 1B 78 */ mr r5, r3 +/* 8033BA38 00338998 7F 83 E3 78 */ mr r3, r28 +/* 8033BA3C 0033899C 7F A4 EB 78 */ mr r4, r29 +/* 8033BA40 003389A0 7F C6 F3 78 */ mr r6, r30 +/* 8033BA44 003389A4 48 00 37 C9 */ bl __ct__15CMemoryInStreamFPvUlQ215CMemoryInStream10EOwnerShip +/* 8033BA48 003389A8 7C 7C 1B 78 */ mr r28, r3 +lbl_8033BA4C: +/* 8033BA4C 003389AC 7F E3 FB 78 */ mr r3, r31 +/* 8033BA50 003389B0 48 02 CC 19 */ bl IsCompressed__Q28CPakFile8SResInfoCFv +/* 8033BA54 003389B4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8033BA58 003389B8 41 82 00 8C */ beq lbl_8033BAE4 +/* 8033BA5C 003389BC 7F 83 E3 78 */ mr r3, r28 +/* 8033BA60 003389C0 48 00 32 25 */ bl ReadLong__12CInputStreamFv +/* 8033BA64 003389C4 3C 60 80 3D */ lis r3, lbl_803D7A38@ha +/* 8033BA68 003389C8 3B 60 00 00 */ li r27, 0 +/* 8033BA6C 003389CC 38 83 7A 38 */ addi r4, r3, lbl_803D7A38@l +/* 8033BA70 003389D0 38 A0 00 00 */ li r5, 0 +/* 8033BA74 003389D4 38 60 00 34 */ li r3, 0x34 +/* 8033BA78 003389D8 4B FD 9D F5 */ bl __nw__FUlPCcPCc +/* 8033BA7C 003389DC 7C 7D 1B 79 */ or. r29, r3, r3 +/* 8033BA80 003389E0 41 82 00 28 */ beq lbl_8033BAA8 +/* 8033BA84 003389E4 7C 1C 00 D0 */ neg r0, r28 +/* 8033BA88 003389E8 93 81 00 0C */ stw r28, 0xc(r1) +/* 8033BA8C 003389EC 7C 00 E3 78 */ or r0, r0, r28 +/* 8033BA90 003389F0 38 81 00 08 */ addi r4, r1, 8 +/* 8033BA94 003389F4 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8033BA98 003389F8 3B 60 00 01 */ li r27, 1 +/* 8033BA9C 003389FC 98 01 00 08 */ stb r0, 8(r1) +/* 8033BAA0 00338A00 48 00 3E 61 */ bl "__ct__15CZipInputStreamFQ24rstl24auto_ptr<12CInputStream>" +/* 8033BAA4 00338A04 7C 7D 1B 78 */ mr r29, r3 +lbl_8033BAA8: +/* 8033BAA8 00338A08 7F 60 07 75 */ extsb. r0, r27 +/* 8033BAAC 00338A0C 41 82 00 30 */ beq lbl_8033BADC +/* 8033BAB0 00338A10 88 01 00 08 */ lbz r0, 8(r1) +/* 8033BAB4 00338A14 28 00 00 00 */ cmplwi r0, 0 +/* 8033BAB8 00338A18 41 82 00 24 */ beq lbl_8033BADC +/* 8033BABC 00338A1C 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8033BAC0 00338A20 28 03 00 00 */ cmplwi r3, 0 +/* 8033BAC4 00338A24 41 82 00 18 */ beq lbl_8033BADC +/* 8033BAC8 00338A28 81 83 00 00 */ lwz r12, 0(r3) +/* 8033BACC 00338A2C 38 80 00 01 */ li r4, 1 +/* 8033BAD0 00338A30 81 8C 00 08 */ lwz r12, 8(r12) +/* 8033BAD4 00338A34 7D 89 03 A6 */ mtctr r12 +/* 8033BAD8 00338A38 4E 80 04 21 */ bctrl +lbl_8033BADC: +/* 8033BADC 00338A3C 7F A3 EB 78 */ mr r3, r29 +/* 8033BAE0 00338A40 48 00 00 08 */ b lbl_8033BAE8 +lbl_8033BAE4: +/* 8033BAE4 00338A44 7F 83 E3 78 */ mr r3, r28 +lbl_8033BAE8: +/* 8033BAE8 00338A48 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 8033BAEC 00338A4C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8033BAF0 00338A50 7C 08 03 A6 */ mtlr r0 +/* 8033BAF4 00338A54 38 21 00 30 */ addi r1, r1, 0x30 +/* 8033BAF8 00338A58 4E 80 00 20 */ blr + +.global LoadResourcePartAsync__10CResLoaderFRC10SObjectTagiiPc +LoadResourcePartAsync__10CResLoaderFRC10SObjectTagiiPc: +/* 8033BAFC 00338A5C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033BB00 00338A60 7C 08 02 A6 */ mflr r0 +/* 8033BB04 00338A64 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033BB08 00338A68 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8033BB0C 00338A6C 7C 7F 1B 78 */ mr r31, r3 +/* 8033BB10 00338A70 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8033BB14 00338A74 7C FE 3B 78 */ mr r30, r7 +/* 8033BB18 00338A78 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8033BB1C 00338A7C 7C DD 33 78 */ mr r29, r6 +/* 8033BB20 00338A80 93 81 00 10 */ stw r28, 0x10(r1) +/* 8033BB24 00338A84 7C BC 2B 78 */ mr r28, r5 +/* 8033BB28 00338A88 48 00 05 91 */ bl FindResourceForLoad__10CResLoaderFRC10SObjectTag +/* 8033BB2C 00338A8C 7C 60 1B 78 */ mr r0, r3 +/* 8033BB30 00338A90 80 7F 00 50 */ lwz r3, 0x50(r31) +/* 8033BB34 00338A94 7C 1F 03 78 */ mr r31, r0 +/* 8033BB38 00338A98 48 02 CB 69 */ bl GetOffset__Q28CPakFile8SResInfoCFv +/* 8033BB3C 00338A9C 7C 60 1B 78 */ mr r0, r3 +/* 8033BB40 00338AA0 7F E3 FB 78 */ mr r3, r31 +/* 8033BB44 00338AA4 7F C4 F3 78 */ mr r4, r30 +/* 8033BB48 00338AA8 7F A5 EB 78 */ mr r5, r29 +/* 8033BB4C 00338AAC 7C FC 02 14 */ add r7, r28, r0 +/* 8033BB50 00338AB0 38 C0 00 00 */ li r6, 0 +/* 8033BB54 00338AB4 48 01 3E 6D */ bl AsyncSeekRead__8CDvdFileFPvUi11ESeekOrigini +/* 8033BB58 00338AB8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8033BB5C 00338ABC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8033BB60 00338AC0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8033BB64 00338AC4 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8033BB68 00338AC8 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8033BB6C 00338ACC 7C 08 03 A6 */ mtlr r0 +/* 8033BB70 00338AD0 38 21 00 20 */ addi r1, r1, 0x20 +/* 8033BB74 00338AD4 4E 80 00 20 */ blr + +.global LoadResourceAsync__10CResLoaderFRC10SObjectTagPc +LoadResourceAsync__10CResLoaderFRC10SObjectTagPc: +/* 8033BB78 00338AD8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033BB7C 00338ADC 7C 08 02 A6 */ mflr r0 +/* 8033BB80 00338AE0 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033BB84 00338AE4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8033BB88 00338AE8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8033BB8C 00338AEC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8033BB90 00338AF0 7C 7D 1B 78 */ mr r29, r3 +/* 8033BB94 00338AF4 93 81 00 10 */ stw r28, 0x10(r1) +/* 8033BB98 00338AF8 7C BC 2B 78 */ mr r28, r5 +/* 8033BB9C 00338AFC 48 00 05 1D */ bl FindResourceForLoad__10CResLoaderFRC10SObjectTag +/* 8033BBA0 00338B00 83 BD 00 50 */ lwz r29, 0x50(r29) +/* 8033BBA4 00338B04 7C 7E 1B 78 */ mr r30, r3 +/* 8033BBA8 00338B08 7F A3 EB 78 */ mr r3, r29 +/* 8033BBAC 00338B0C 48 02 CA D5 */ bl GetSize__Q28CPakFile8SResInfoCFv +/* 8033BBB0 00338B10 7C 7F 1B 78 */ mr r31, r3 +/* 8033BBB4 00338B14 7F A3 EB 78 */ mr r3, r29 +/* 8033BBB8 00338B18 48 02 CA E9 */ bl GetOffset__Q28CPakFile8SResInfoCFv +/* 8033BBBC 00338B1C 38 1F 00 1F */ addi r0, r31, 0x1f +/* 8033BBC0 00338B20 7C 67 1B 78 */ mr r7, r3 +/* 8033BBC4 00338B24 7F C3 F3 78 */ mr r3, r30 +/* 8033BBC8 00338B28 7F 84 E3 78 */ mr r4, r28 +/* 8033BBCC 00338B2C 54 05 00 34 */ rlwinm r5, r0, 0, 0, 0x1a +/* 8033BBD0 00338B30 38 C0 00 00 */ li r6, 0 +/* 8033BBD4 00338B34 48 01 3D ED */ bl AsyncSeekRead__8CDvdFileFPvUi11ESeekOrigini +/* 8033BBD8 00338B38 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8033BBDC 00338B3C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8033BBE0 00338B40 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8033BBE4 00338B44 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8033BBE8 00338B48 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8033BBEC 00338B4C 7C 08 03 A6 */ mtlr r0 +/* 8033BBF0 00338B50 38 21 00 20 */ addi r1, r1, 0x20 +/* 8033BBF4 00338B54 4E 80 00 20 */ blr + +.global GetResourceCompression__10CResLoaderCFRC10SObjectTag +GetResourceCompression__10CResLoaderCFRC10SObjectTag: +/* 8033BBF8 00338B58 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033BBFC 00338B5C 7C 08 02 A6 */ mflr r0 +/* 8033BC00 00338B60 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033BC04 00338B64 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033BC08 00338B68 7C 7F 1B 78 */ mr r31, r3 +/* 8033BC0C 00338B6C 80 84 00 04 */ lwz r4, 4(r4) +/* 8033BC10 00338B70 48 00 02 69 */ bl FindResource__10CResLoaderCFUi +/* 8033BC14 00338B74 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8033BC18 00338B78 41 82 00 20 */ beq lbl_8033BC38 +/* 8033BC1C 00338B7C 80 7F 00 50 */ lwz r3, 0x50(r31) +/* 8033BC20 00338B80 48 02 CA 49 */ bl IsCompressed__Q28CPakFile8SResInfoCFv +/* 8033BC24 00338B84 54 63 06 3E */ clrlwi r3, r3, 0x18 +/* 8033BC28 00338B88 7C 03 00 D0 */ neg r0, r3 +/* 8033BC2C 00338B8C 7C 00 1B 78 */ or r0, r0, r3 +/* 8033BC30 00338B90 54 03 0F FE */ srwi r3, r0, 0x1f +/* 8033BC34 00338B94 48 00 00 08 */ b lbl_8033BC3C +lbl_8033BC38: +/* 8033BC38 00338B98 38 60 00 00 */ li r3, 0 +lbl_8033BC3C: +/* 8033BC3C 00338B9C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033BC40 00338BA0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033BC44 00338BA4 7C 08 03 A6 */ mtlr r0 +/* 8033BC48 00338BA8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033BC4C 00338BAC 4E 80 00 20 */ blr + +.global ResourceSize__10CResLoaderCFRC10SObjectTag +ResourceSize__10CResLoaderCFRC10SObjectTag: +/* 8033BC50 00338BB0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033BC54 00338BB4 7C 08 02 A6 */ mflr r0 +/* 8033BC58 00338BB8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033BC5C 00338BBC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033BC60 00338BC0 7C 7F 1B 78 */ mr r31, r3 +/* 8033BC64 00338BC4 80 84 00 04 */ lwz r4, 4(r4) +/* 8033BC68 00338BC8 48 00 02 11 */ bl FindResource__10CResLoaderCFUi +/* 8033BC6C 00338BCC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8033BC70 00338BD0 41 82 00 10 */ beq lbl_8033BC80 +/* 8033BC74 00338BD4 80 7F 00 50 */ lwz r3, 0x50(r31) +/* 8033BC78 00338BD8 48 02 CA 09 */ bl GetSize__Q28CPakFile8SResInfoCFv +/* 8033BC7C 00338BDC 48 00 00 08 */ b lbl_8033BC84 +lbl_8033BC80: +/* 8033BC80 00338BE0 38 60 00 00 */ li r3, 0 +lbl_8033BC84: +/* 8033BC84 00338BE4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033BC88 00338BE8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033BC8C 00338BEC 7C 08 03 A6 */ mtlr r0 +/* 8033BC90 00338BF0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033BC94 00338BF4 4E 80 00 20 */ blr + +.global ResourceExists__10CResLoaderCFRC10SObjectTag +ResourceExists__10CResLoaderCFRC10SObjectTag: +/* 8033BC98 00338BF8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033BC9C 00338BFC 7C 08 02 A6 */ mflr r0 +/* 8033BCA0 00338C00 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033BCA4 00338C04 80 84 00 04 */ lwz r4, 4(r4) +/* 8033BCA8 00338C08 48 00 01 D1 */ bl FindResource__10CResLoaderCFUi +/* 8033BCAC 00338C0C 54 63 06 3E */ clrlwi r3, r3, 0x18 +/* 8033BCB0 00338C10 7C 03 00 D0 */ neg r0, r3 +/* 8033BCB4 00338C14 7C 00 1B 78 */ or r0, r0, r3 +/* 8033BCB8 00338C18 54 03 0F FE */ srwi r3, r0, 0x1f +/* 8033BCBC 00338C1C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033BCC0 00338C20 7C 08 03 A6 */ mtlr r0 +/* 8033BCC4 00338C24 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033BCC8 00338C28 4E 80 00 20 */ blr + +.global GetResourceTypeById__10CResLoaderCFUi +GetResourceTypeById__10CResLoaderCFUi: +/* 8033BCCC 00338C2C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033BCD0 00338C30 7C 08 02 A6 */ mflr r0 +/* 8033BCD4 00338C34 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033BCD8 00338C38 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033BCDC 00338C3C 7C 7F 1B 78 */ mr r31, r3 +/* 8033BCE0 00338C40 48 00 01 99 */ bl FindResource__10CResLoaderCFUi +/* 8033BCE4 00338C44 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8033BCE8 00338C48 41 82 00 10 */ beq lbl_8033BCF8 +/* 8033BCEC 00338C4C 80 7F 00 50 */ lwz r3, 0x50(r31) +/* 8033BCF0 00338C50 48 02 C9 CD */ bl GetType__Q28CPakFile8SResInfoCFv +/* 8033BCF4 00338C54 48 00 00 08 */ b lbl_8033BCFC +lbl_8033BCF8: +/* 8033BCF8 00338C58 38 60 00 00 */ li r3, 0 +lbl_8033BCFC: +/* 8033BCFC 00338C5C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033BD00 00338C60 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033BD04 00338C64 7C 08 03 A6 */ mtlr r0 +/* 8033BD08 00338C68 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033BD0C 00338C6C 4E 80 00 20 */ blr + +.global GetResourceIdByName__10CResLoaderCFPCc +GetResourceIdByName__10CResLoaderCFPCc: +/* 8033BD10 00338C70 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033BD14 00338C74 7C 08 02 A6 */ mflr r0 +/* 8033BD18 00338C78 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033BD1C 00338C7C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8033BD20 00338C80 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8033BD24 00338C84 7C 9E 23 78 */ mr r30, r4 +/* 8033BD28 00338C88 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8033BD2C 00338C8C 7C 7D 1B 78 */ mr r29, r3 +/* 8033BD30 00338C90 83 E3 00 04 */ lwz r31, 4(r3) +/* 8033BD34 00338C94 48 00 00 20 */ b lbl_8033BD54 +lbl_8033BD38: +/* 8033BD38 00338C98 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 8033BD3C 00338C9C 7F C4 F3 78 */ mr r4, r30 +/* 8033BD40 00338CA0 48 02 B9 05 */ bl GetResIdByName__8CPakFileCFPCc +/* 8033BD44 00338CA4 28 03 00 00 */ cmplwi r3, 0 +/* 8033BD48 00338CA8 41 82 00 08 */ beq lbl_8033BD50 +/* 8033BD4C 00338CAC 48 00 00 48 */ b lbl_8033BD94 +lbl_8033BD50: +/* 8033BD50 00338CB0 83 FF 00 04 */ lwz r31, 4(r31) +lbl_8033BD54: +/* 8033BD54 00338CB4 80 1D 00 08 */ lwz r0, 8(r29) +/* 8033BD58 00338CB8 7C 1F 00 40 */ cmplw r31, r0 +/* 8033BD5C 00338CBC 40 82 FF DC */ bne lbl_8033BD38 +/* 8033BD60 00338CC0 83 FD 00 1C */ lwz r31, 0x1c(r29) +/* 8033BD64 00338CC4 48 00 00 20 */ b lbl_8033BD84 +lbl_8033BD68: +/* 8033BD68 00338CC8 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 8033BD6C 00338CCC 7F C4 F3 78 */ mr r4, r30 +/* 8033BD70 00338CD0 48 02 B8 D5 */ bl GetResIdByName__8CPakFileCFPCc +/* 8033BD74 00338CD4 28 03 00 00 */ cmplwi r3, 0 +/* 8033BD78 00338CD8 41 82 00 08 */ beq lbl_8033BD80 +/* 8033BD7C 00338CDC 48 00 00 18 */ b lbl_8033BD94 +lbl_8033BD80: +/* 8033BD80 00338CE0 83 FF 00 04 */ lwz r31, 4(r31) +lbl_8033BD84: +/* 8033BD84 00338CE4 80 1D 00 20 */ lwz r0, 0x20(r29) +/* 8033BD88 00338CE8 7C 1F 00 40 */ cmplw r31, r0 +/* 8033BD8C 00338CEC 40 82 FF DC */ bne lbl_8033BD68 +/* 8033BD90 00338CF0 38 60 00 00 */ li r3, 0 +lbl_8033BD94: +/* 8033BD94 00338CF4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8033BD98 00338CF8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8033BD9C 00338CFC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8033BDA0 00338D00 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8033BDA4 00338D04 7C 08 03 A6 */ mtlr r0 +/* 8033BDA8 00338D08 38 21 00 20 */ addi r1, r1, 0x20 +/* 8033BDAC 00338D0C 4E 80 00 20 */ blr + +.global AreAllPaksLoaded__10CResLoaderCFv +AreAllPaksLoaded__10CResLoaderCFv: +/* 8033BDB0 00338D10 80 03 00 44 */ lwz r0, 0x44(r3) +/* 8033BDB4 00338D14 7C 00 00 34 */ cntlzw r0, r0 +/* 8033BDB8 00338D18 54 03 D9 7E */ srwi r3, r0, 5 +/* 8033BDBC 00338D1C 4E 80 00 20 */ blr + +.global AsyncIdlePakLoading__10CResLoaderFv +AsyncIdlePakLoading__10CResLoaderFv: +/* 8033BDC0 00338D20 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033BDC4 00338D24 7C 08 02 A6 */ mflr r0 +/* 8033BDC8 00338D28 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033BDCC 00338D2C BF 61 00 0C */ stmw r27, 0xc(r1) +/* 8033BDD0 00338D30 7C 7B 1B 78 */ mr r27, r3 +/* 8033BDD4 00338D34 3B 80 00 00 */ li r28, 0 +/* 8033BDD8 00338D38 83 A3 00 34 */ lwz r29, 0x34(r3) +/* 8033BDDC 00338D3C 48 00 00 60 */ b lbl_8033BE3C +lbl_8033BDE0: +/* 8033BDE0 00338D40 83 DD 00 0C */ lwz r30, 0xc(r29) +/* 8033BDE4 00338D44 88 1E 00 28 */ lbz r0, 0x28(r30) +/* 8033BDE8 00338D48 54 1F D7 FF */ rlwinm. r31, r0, 0x1a, 0x1f, 0x1f +/* 8033BDEC 00338D4C 40 82 00 0C */ bne lbl_8033BDF8 +/* 8033BDF0 00338D50 57 80 06 3F */ clrlwi. r0, r28, 0x18 +/* 8033BDF4 00338D54 40 82 00 0C */ bne lbl_8033BE00 +lbl_8033BDF8: +/* 8033BDF8 00338D58 7F C3 F3 78 */ mr r3, r30 +/* 8033BDFC 00338D5C 48 02 C5 55 */ bl AsyncIdle__8CPakFileFv +lbl_8033BE00: +/* 8033BE00 00338D60 80 1E 00 2C */ lwz r0, 0x2c(r30) +/* 8033BE04 00338D64 2C 00 00 03 */ cmpwi r0, 3 +/* 8033BE08 00338D68 40 82 00 24 */ bne lbl_8033BE2C +/* 8033BE0C 00338D6C 7F 63 DB 78 */ mr r3, r27 +/* 8033BE10 00338D70 38 9D 00 08 */ addi r4, r29, 8 +/* 8033BE14 00338D74 48 00 03 AD */ bl "MoveToCorrectLoadedList__10CResLoaderFRCQ24rstl19auto_ptr<8CPakFile>" +/* 8033BE18 00338D78 7F A4 EB 78 */ mr r4, r29 +/* 8033BE1C 00338D7C 38 7B 00 30 */ addi r3, r27, 0x30 +/* 8033BE20 00338D80 48 00 06 71 */ bl sub_8033c490 +/* 8033BE24 00338D84 7C 7D 1B 78 */ mr r29, r3 +/* 8033BE28 00338D88 48 00 00 14 */ b lbl_8033BE3C +lbl_8033BE2C: +/* 8033BE2C 00338D8C 28 1F 00 00 */ cmplwi r31, 0 +/* 8033BE30 00338D90 40 82 00 08 */ bne lbl_8033BE38 +/* 8033BE34 00338D94 3B 80 00 01 */ li r28, 1 +lbl_8033BE38: +/* 8033BE38 00338D98 83 BD 00 04 */ lwz r29, 4(r29) +lbl_8033BE3C: +/* 8033BE3C 00338D9C 80 1B 00 38 */ lwz r0, 0x38(r27) +/* 8033BE40 00338DA0 7C 1D 00 40 */ cmplw r29, r0 +/* 8033BE44 00338DA4 40 82 FF 9C */ bne lbl_8033BDE0 +/* 8033BE48 00338DA8 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 8033BE4C 00338DAC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8033BE50 00338DB0 7C 08 03 A6 */ mtlr r0 +/* 8033BE54 00338DB4 38 21 00 20 */ addi r1, r1, 0x20 +/* 8033BE58 00338DB8 4E 80 00 20 */ blr + +.global sub_8033be5c +sub_8033be5c: +/* 8033BE5C 00338DBC 80 A3 00 20 */ lwz r5, 0x20(r3) +/* 8033BE60 00338DC0 38 80 FF FF */ li r4, -1 +/* 8033BE64 00338DC4 38 00 00 00 */ li r0, 0 +/* 8033BE68 00338DC8 90 A3 00 48 */ stw r5, 0x48(r3) +/* 8033BE6C 00338DCC 90 83 00 4C */ stw r4, 0x4c(r3) +/* 8033BE70 00338DD0 90 03 00 50 */ stw r0, 0x50(r3) +/* 8033BE74 00338DD4 4E 80 00 20 */ blr + +.global FindResource__10CResLoaderCFUi +FindResource__10CResLoaderCFUi: +/* 8033BE78 00338DD8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033BE7C 00338DDC 7C 08 02 A6 */ mflr r0 +/* 8033BE80 00338DE0 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033BE84 00338DE4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8033BE88 00338DE8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8033BE8C 00338DEC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8033BE90 00338DF0 7C 7D 1B 78 */ mr r29, r3 +/* 8033BE94 00338DF4 80 03 00 4C */ lwz r0, 0x4c(r3) +/* 8033BE98 00338DF8 7C 00 20 40 */ cmplw r0, r4 +/* 8033BE9C 00338DFC 40 82 00 0C */ bne lbl_8033BEA8 +/* 8033BEA0 00338E00 38 60 00 01 */ li r3, 1 +/* 8033BEA4 00338E04 48 00 00 B8 */ b lbl_8033BF5C +lbl_8033BEA8: +/* 8033BEA8 00338E08 83 FD 00 04 */ lwz r31, 4(r29) +/* 8033BEAC 00338E0C 7C 9E 23 78 */ mr r30, r4 +/* 8033BEB0 00338E10 48 00 00 28 */ b lbl_8033BED8 +lbl_8033BEB4: +/* 8033BEB4 00338E14 80 9F 00 0C */ lwz r4, 0xc(r31) +/* 8033BEB8 00338E18 7F A3 EB 78 */ mr r3, r29 +/* 8033BEBC 00338E1C 7F C5 F3 78 */ mr r5, r30 +/* 8033BEC0 00338E20 48 00 02 A5 */ bl CacheFromPak__10CResLoaderCFRC8CPakFileUi +/* 8033BEC4 00338E24 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8033BEC8 00338E28 41 82 00 0C */ beq lbl_8033BED4 +/* 8033BECC 00338E2C 38 60 00 01 */ li r3, 1 +/* 8033BED0 00338E30 48 00 00 8C */ b lbl_8033BF5C +lbl_8033BED4: +/* 8033BED4 00338E34 83 FF 00 04 */ lwz r31, 4(r31) +lbl_8033BED8: +/* 8033BED8 00338E38 80 1D 00 08 */ lwz r0, 8(r29) +/* 8033BEDC 00338E3C 7C 1F 00 40 */ cmplw r31, r0 +/* 8033BEE0 00338E40 40 82 FF D4 */ bne lbl_8033BEB4 +/* 8033BEE4 00338E44 80 7D 00 48 */ lwz r3, 0x48(r29) +/* 8033BEE8 00338E48 80 1D 00 20 */ lwz r0, 0x20(r29) +/* 8033BEEC 00338E4C 7C 03 00 40 */ cmplw r3, r0 +/* 8033BEF0 00338E50 41 82 00 24 */ beq lbl_8033BF14 +/* 8033BEF4 00338E54 80 83 00 0C */ lwz r4, 0xc(r3) +/* 8033BEF8 00338E58 7F A3 EB 78 */ mr r3, r29 +/* 8033BEFC 00338E5C 7F C5 F3 78 */ mr r5, r30 +/* 8033BF00 00338E60 48 00 02 65 */ bl CacheFromPak__10CResLoaderCFRC8CPakFileUi +/* 8033BF04 00338E64 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8033BF08 00338E68 41 82 00 0C */ beq lbl_8033BF14 +/* 8033BF0C 00338E6C 38 60 00 01 */ li r3, 1 +/* 8033BF10 00338E70 48 00 00 4C */ b lbl_8033BF5C +lbl_8033BF14: +/* 8033BF14 00338E74 83 FD 00 1C */ lwz r31, 0x1c(r29) +/* 8033BF18 00338E78 48 00 00 34 */ b lbl_8033BF4C +lbl_8033BF1C: +/* 8033BF1C 00338E7C 80 1D 00 48 */ lwz r0, 0x48(r29) +/* 8033BF20 00338E80 7C 00 F8 40 */ cmplw r0, r31 +/* 8033BF24 00338E84 41 82 00 24 */ beq lbl_8033BF48 +/* 8033BF28 00338E88 80 9F 00 0C */ lwz r4, 0xc(r31) +/* 8033BF2C 00338E8C 7F A3 EB 78 */ mr r3, r29 +/* 8033BF30 00338E90 7F C5 F3 78 */ mr r5, r30 +/* 8033BF34 00338E94 48 00 02 31 */ bl CacheFromPak__10CResLoaderCFRC8CPakFileUi +/* 8033BF38 00338E98 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8033BF3C 00338E9C 41 82 00 0C */ beq lbl_8033BF48 +/* 8033BF40 00338EA0 38 60 00 01 */ li r3, 1 +/* 8033BF44 00338EA4 48 00 00 18 */ b lbl_8033BF5C +lbl_8033BF48: +/* 8033BF48 00338EA8 83 FF 00 04 */ lwz r31, 4(r31) +lbl_8033BF4C: +/* 8033BF4C 00338EAC 80 1D 00 20 */ lwz r0, 0x20(r29) +/* 8033BF50 00338EB0 7C 1F 00 40 */ cmplw r31, r0 +/* 8033BF54 00338EB4 40 82 FF C8 */ bne lbl_8033BF1C +/* 8033BF58 00338EB8 38 60 00 00 */ li r3, 0 +lbl_8033BF5C: +/* 8033BF5C 00338EBC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8033BF60 00338EC0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8033BF64 00338EC4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8033BF68 00338EC8 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8033BF6C 00338ECC 7C 08 03 A6 */ mtlr r0 +/* 8033BF70 00338ED0 38 21 00 20 */ addi r1, r1, 0x20 +/* 8033BF74 00338ED4 4E 80 00 20 */ blr + +.global FindResource__10CResLoaderCFRC10SObjectTag +FindResource__10CResLoaderCFRC10SObjectTag: +/* 8033BF78 00338ED8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033BF7C 00338EDC 7C 08 02 A6 */ mflr r0 +/* 8033BF80 00338EE0 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033BF84 00338EE4 38 00 00 00 */ li r0, 0 +/* 8033BF88 00338EE8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033BF8C 00338EEC 7C 7F 1B 78 */ mr r31, r3 +/* 8033BF90 00338EF0 98 03 00 54 */ stb r0, 0x54(r3) +/* 8033BF94 00338EF4 48 00 01 25 */ bl FindResourceForLoad__10CResLoaderFRC10SObjectTag +/* 8033BF98 00338EF8 38 00 00 01 */ li r0, 1 +/* 8033BF9C 00338EFC 98 1F 00 54 */ stb r0, 0x54(r31) +/* 8033BFA0 00338F00 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033BFA4 00338F04 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033BFA8 00338F08 7C 08 03 A6 */ mtlr r0 +/* 8033BFAC 00338F0C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033BFB0 00338F10 4E 80 00 20 */ blr + +.global FindResourceForLoad__10CResLoaderFUi +FindResourceForLoad__10CResLoaderFUi: +/* 8033BFB4 00338F14 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033BFB8 00338F18 7C 08 02 A6 */ mflr r0 +/* 8033BFBC 00338F1C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033BFC0 00338F20 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8033BFC4 00338F24 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8033BFC8 00338F28 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8033BFCC 00338F2C 7C 9D 23 78 */ mr r29, r4 +/* 8033BFD0 00338F30 93 81 00 10 */ stw r28, 0x10(r1) +/* 8033BFD4 00338F34 7C 7C 1B 78 */ mr r28, r3 +/* 8033BFD8 00338F38 83 C3 00 04 */ lwz r30, 4(r3) +/* 8033BFDC 00338F3C 48 00 00 2C */ b lbl_8033C008 +lbl_8033BFE0: +/* 8033BFE0 00338F40 83 FE 00 0C */ lwz r31, 0xc(r30) +/* 8033BFE4 00338F44 7F 83 E3 78 */ mr r3, r28 +/* 8033BFE8 00338F48 7F A5 EB 78 */ mr r5, r29 +/* 8033BFEC 00338F4C 7F E4 FB 78 */ mr r4, r31 +/* 8033BFF0 00338F50 48 00 01 75 */ bl CacheFromPak__10CResLoaderCFRC8CPakFileUi +/* 8033BFF4 00338F54 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8033BFF8 00338F58 41 82 00 0C */ beq lbl_8033C004 +/* 8033BFFC 00338F5C 7F E3 FB 78 */ mr r3, r31 +/* 8033C000 00338F60 48 00 00 98 */ b lbl_8033C098 +lbl_8033C004: +/* 8033C004 00338F64 83 DE 00 04 */ lwz r30, 4(r30) +lbl_8033C008: +/* 8033C008 00338F68 80 1C 00 08 */ lwz r0, 8(r28) +/* 8033C00C 00338F6C 7C 1E 00 40 */ cmplw r30, r0 +/* 8033C010 00338F70 40 82 FF D0 */ bne lbl_8033BFE0 +/* 8033C014 00338F74 80 7C 00 48 */ lwz r3, 0x48(r28) +/* 8033C018 00338F78 80 1C 00 20 */ lwz r0, 0x20(r28) +/* 8033C01C 00338F7C 7C 03 00 40 */ cmplw r3, r0 +/* 8033C020 00338F80 41 82 00 28 */ beq lbl_8033C048 +/* 8033C024 00338F84 83 E3 00 0C */ lwz r31, 0xc(r3) +/* 8033C028 00338F88 7F 83 E3 78 */ mr r3, r28 +/* 8033C02C 00338F8C 7F A5 EB 78 */ mr r5, r29 +/* 8033C030 00338F90 7F E4 FB 78 */ mr r4, r31 +/* 8033C034 00338F94 48 00 00 A9 */ bl CacheFromPakForLoad__10CResLoaderFR8CPakFileUi +/* 8033C038 00338F98 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8033C03C 00338F9C 41 82 00 0C */ beq lbl_8033C048 +/* 8033C040 00338FA0 7F E3 FB 78 */ mr r3, r31 +/* 8033C044 00338FA4 48 00 00 54 */ b lbl_8033C098 +lbl_8033C048: +/* 8033C048 00338FA8 83 DC 00 1C */ lwz r30, 0x1c(r28) +/* 8033C04C 00338FAC 48 00 00 3C */ b lbl_8033C088 +lbl_8033C050: +/* 8033C050 00338FB0 80 1C 00 48 */ lwz r0, 0x48(r28) +/* 8033C054 00338FB4 83 FE 00 0C */ lwz r31, 0xc(r30) +/* 8033C058 00338FB8 7C 00 F0 40 */ cmplw r0, r30 +/* 8033C05C 00338FBC 41 82 00 28 */ beq lbl_8033C084 +/* 8033C060 00338FC0 7F 83 E3 78 */ mr r3, r28 +/* 8033C064 00338FC4 7F E4 FB 78 */ mr r4, r31 +/* 8033C068 00338FC8 7F A5 EB 78 */ mr r5, r29 +/* 8033C06C 00338FCC 48 00 00 71 */ bl CacheFromPakForLoad__10CResLoaderFR8CPakFileUi +/* 8033C070 00338FD0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8033C074 00338FD4 41 82 00 10 */ beq lbl_8033C084 +/* 8033C078 00338FD8 93 DC 00 48 */ stw r30, 0x48(r28) +/* 8033C07C 00338FDC 7F E3 FB 78 */ mr r3, r31 +/* 8033C080 00338FE0 48 00 00 18 */ b lbl_8033C098 +lbl_8033C084: +/* 8033C084 00338FE4 83 DE 00 04 */ lwz r30, 4(r30) +lbl_8033C088: +/* 8033C088 00338FE8 80 1C 00 20 */ lwz r0, 0x20(r28) +/* 8033C08C 00338FEC 7C 1E 00 40 */ cmplw r30, r0 +/* 8033C090 00338FF0 40 82 FF C0 */ bne lbl_8033C050 +/* 8033C094 00338FF4 38 60 00 00 */ li r3, 0 +lbl_8033C098: +/* 8033C098 00338FF8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8033C09C 00338FFC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8033C0A0 00339000 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8033C0A4 00339004 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8033C0A8 00339008 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8033C0AC 0033900C 7C 08 03 A6 */ mtlr r0 +/* 8033C0B0 00339010 38 21 00 20 */ addi r1, r1, 0x20 +/* 8033C0B4 00339014 4E 80 00 20 */ blr + +.global FindResourceForLoad__10CResLoaderFRC10SObjectTag +FindResourceForLoad__10CResLoaderFRC10SObjectTag: +/* 8033C0B8 00339018 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033C0BC 0033901C 7C 08 02 A6 */ mflr r0 +/* 8033C0C0 00339020 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033C0C4 00339024 80 84 00 04 */ lwz r4, 4(r4) +/* 8033C0C8 00339028 4B FF FE ED */ bl FindResourceForLoad__10CResLoaderFUi +/* 8033C0CC 0033902C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033C0D0 00339030 7C 08 03 A6 */ mtlr r0 +/* 8033C0D4 00339034 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033C0D8 00339038 4E 80 00 20 */ blr + +.global CacheFromPakForLoad__10CResLoaderFR8CPakFileUi +CacheFromPakForLoad__10CResLoaderFR8CPakFileUi: +/* 8033C0DC 0033903C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033C0E0 00339040 7C 08 02 A6 */ mflr r0 +/* 8033C0E4 00339044 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033C0E8 00339048 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033C0EC 0033904C 7C BF 2B 78 */ mr r31, r5 +/* 8033C0F0 00339050 93 C1 00 08 */ stw r30, 8(r1) +/* 8033C0F4 00339054 7C 7E 1B 78 */ mr r30, r3 +/* 8033C0F8 00339058 88 03 00 54 */ lbz r0, 0x54(r3) +/* 8033C0FC 0033905C 28 00 00 00 */ cmplwi r0, 0 +/* 8033C100 00339060 41 82 00 20 */ beq lbl_8033C120 +/* 8033C104 00339064 7C 83 23 78 */ mr r3, r4 +/* 8033C108 00339068 7F E4 FB 78 */ mr r4, r31 +/* 8033C10C 0033906C 48 02 B5 E5 */ bl GetResInfoForLoadPreferForward__8CPakFileCFUi +/* 8033C110 00339070 38 00 00 00 */ li r0, 0 +/* 8033C114 00339074 98 1E 00 54 */ stb r0, 0x54(r30) +/* 8033C118 00339078 7C 60 1B 78 */ mr r0, r3 +/* 8033C11C 0033907C 48 00 00 14 */ b lbl_8033C130 +lbl_8033C120: +/* 8033C120 00339080 7C 83 23 78 */ mr r3, r4 +/* 8033C124 00339084 7F E4 FB 78 */ mr r4, r31 +/* 8033C128 00339088 48 02 B7 45 */ bl GetResInfoForLoadDirectionless__8CPakFileCFUi +/* 8033C12C 0033908C 7C 60 1B 78 */ mr r0, r3 +lbl_8033C130: +/* 8033C130 00339090 28 00 00 00 */ cmplwi r0, 0 +/* 8033C134 00339094 40 82 00 0C */ bne lbl_8033C140 +/* 8033C138 00339098 38 60 00 00 */ li r3, 0 +/* 8033C13C 0033909C 48 00 00 10 */ b lbl_8033C14C +lbl_8033C140: +/* 8033C140 003390A0 93 FE 00 4C */ stw r31, 0x4c(r30) +/* 8033C144 003390A4 38 60 00 01 */ li r3, 1 +/* 8033C148 003390A8 90 1E 00 50 */ stw r0, 0x50(r30) +lbl_8033C14C: +/* 8033C14C 003390AC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033C150 003390B0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033C154 003390B4 83 C1 00 08 */ lwz r30, 8(r1) +/* 8033C158 003390B8 7C 08 03 A6 */ mtlr r0 +/* 8033C15C 003390BC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033C160 003390C0 4E 80 00 20 */ blr + +.global CacheFromPak__10CResLoaderCFRC8CPakFileUi +CacheFromPak__10CResLoaderCFRC8CPakFileUi: +/* 8033C164 003390C4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033C168 003390C8 7C 08 02 A6 */ mflr r0 +/* 8033C16C 003390CC 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033C170 003390D0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033C174 003390D4 7C BF 2B 78 */ mr r31, r5 +/* 8033C178 003390D8 93 C1 00 08 */ stw r30, 8(r1) +/* 8033C17C 003390DC 7C 7E 1B 78 */ mr r30, r3 +/* 8033C180 003390E0 7C 83 23 78 */ mr r3, r4 +/* 8033C184 003390E4 7F E4 FB 78 */ mr r4, r31 +/* 8033C188 003390E8 48 02 B8 45 */ bl GetResInfo__8CPakFileCFUi +/* 8033C18C 003390EC 28 03 00 00 */ cmplwi r3, 0 +/* 8033C190 003390F0 40 82 00 0C */ bne lbl_8033C19C +/* 8033C194 003390F4 38 60 00 00 */ li r3, 0 +/* 8033C198 003390F8 48 00 00 10 */ b lbl_8033C1A8 +lbl_8033C19C: +/* 8033C19C 003390FC 93 FE 00 4C */ stw r31, 0x4c(r30) +/* 8033C1A0 00339100 90 7E 00 50 */ stw r3, 0x50(r30) +/* 8033C1A4 00339104 38 60 00 01 */ li r3, 1 +lbl_8033C1A8: +/* 8033C1A8 00339108 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033C1AC 0033910C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033C1B0 00339110 83 C1 00 08 */ lwz r30, 8(r1) +/* 8033C1B4 00339114 7C 08 03 A6 */ mtlr r0 +/* 8033C1B8 00339118 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033C1BC 0033911C 4E 80 00 20 */ blr + +.global "MoveToCorrectLoadedList__10CResLoaderFRCQ24rstl19auto_ptr<8CPakFile>" +"MoveToCorrectLoadedList__10CResLoaderFRCQ24rstl19auto_ptr<8CPakFile>": +/* 8033C1C0 00339120 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033C1C4 00339124 7C 08 02 A6 */ mflr r0 +/* 8033C1C8 00339128 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033C1CC 0033912C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8033C1D0 00339130 7C 9F 23 78 */ mr r31, r4 +/* 8033C1D4 00339134 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8033C1D8 00339138 7C 7E 1B 78 */ mr r30, r3 +/* 8033C1DC 0033913C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8033C1E0 00339140 93 81 00 10 */ stw r28, 0x10(r1) +/* 8033C1E4 00339144 80 64 00 04 */ lwz r3, 4(r4) +/* 8033C1E8 00339148 88 03 00 28 */ lbz r0, 0x28(r3) +/* 8033C1EC 0033914C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8033C1F0 00339150 41 82 00 80 */ beq lbl_8033C270 +/* 8033C1F4 00339154 83 BE 00 08 */ lwz r29, 8(r30) +/* 8033C1F8 00339158 3C 60 80 3D */ lis r3, lbl_803D7A38@ha +/* 8033C1FC 0033915C 38 83 7A 38 */ addi r4, r3, lbl_803D7A38@l +/* 8033C200 00339160 38 A0 00 00 */ li r5, 0 +/* 8033C204 00339164 83 9D 00 00 */ lwz r28, 0(r29) +/* 8033C208 00339168 38 60 00 10 */ li r3, 0x10 +/* 8033C20C 0033916C 4B FD 96 0D */ bl __nwa__FUlPCcPCc +/* 8033C210 00339170 28 03 00 00 */ cmplwi r3, 0 +/* 8033C214 00339174 41 82 00 0C */ beq lbl_8033C220 +/* 8033C218 00339178 93 83 00 00 */ stw r28, 0(r3) +/* 8033C21C 0033917C 93 A3 00 04 */ stw r29, 4(r3) +lbl_8033C220: +/* 8033C220 00339180 34 A3 00 08 */ addic. r5, r3, 8 +/* 8033C224 00339184 41 82 00 1C */ beq lbl_8033C240 +/* 8033C228 00339188 88 9F 00 00 */ lbz r4, 0(r31) +/* 8033C22C 0033918C 38 00 00 00 */ li r0, 0 +/* 8033C230 00339190 98 85 00 00 */ stb r4, 0(r5) +/* 8033C234 00339194 80 9F 00 04 */ lwz r4, 4(r31) +/* 8033C238 00339198 90 85 00 04 */ stw r4, 4(r5) +/* 8033C23C 0033919C 98 1F 00 00 */ stb r0, 0(r31) +lbl_8033C240: +/* 8033C240 003391A0 80 1E 00 04 */ lwz r0, 4(r30) +/* 8033C244 003391A4 7C 1D 00 40 */ cmplw r29, r0 +/* 8033C248 003391A8 40 82 00 08 */ bne lbl_8033C250 +/* 8033C24C 003391AC 90 7E 00 04 */ stw r3, 4(r30) +lbl_8033C250: +/* 8033C250 003391B0 80 83 00 00 */ lwz r4, 0(r3) +/* 8033C254 003391B4 90 64 00 04 */ stw r3, 4(r4) +/* 8033C258 003391B8 80 83 00 04 */ lwz r4, 4(r3) +/* 8033C25C 003391BC 90 64 00 00 */ stw r3, 0(r4) +/* 8033C260 003391C0 80 7E 00 14 */ lwz r3, 0x14(r30) +/* 8033C264 003391C4 38 03 00 01 */ addi r0, r3, 1 +/* 8033C268 003391C8 90 1E 00 14 */ stw r0, 0x14(r30) +/* 8033C26C 003391CC 48 00 00 7C */ b lbl_8033C2E8 +lbl_8033C270: +/* 8033C270 003391D0 83 BE 00 20 */ lwz r29, 0x20(r30) +/* 8033C274 003391D4 3C 60 80 3D */ lis r3, lbl_803D7A38@ha +/* 8033C278 003391D8 38 83 7A 38 */ addi r4, r3, lbl_803D7A38@l +/* 8033C27C 003391DC 38 A0 00 00 */ li r5, 0 +/* 8033C280 003391E0 83 9D 00 00 */ lwz r28, 0(r29) +/* 8033C284 003391E4 38 60 00 10 */ li r3, 0x10 +/* 8033C288 003391E8 4B FD 95 91 */ bl __nwa__FUlPCcPCc +/* 8033C28C 003391EC 28 03 00 00 */ cmplwi r3, 0 +/* 8033C290 003391F0 41 82 00 0C */ beq lbl_8033C29C +/* 8033C294 003391F4 93 83 00 00 */ stw r28, 0(r3) +/* 8033C298 003391F8 93 A3 00 04 */ stw r29, 4(r3) +lbl_8033C29C: +/* 8033C29C 003391FC 34 A3 00 08 */ addic. r5, r3, 8 +/* 8033C2A0 00339200 41 82 00 1C */ beq lbl_8033C2BC +/* 8033C2A4 00339204 88 9F 00 00 */ lbz r4, 0(r31) +/* 8033C2A8 00339208 38 00 00 00 */ li r0, 0 +/* 8033C2AC 0033920C 98 85 00 00 */ stb r4, 0(r5) +/* 8033C2B0 00339210 80 9F 00 04 */ lwz r4, 4(r31) +/* 8033C2B4 00339214 90 85 00 04 */ stw r4, 4(r5) +/* 8033C2B8 00339218 98 1F 00 00 */ stb r0, 0(r31) +lbl_8033C2BC: +/* 8033C2BC 0033921C 80 1E 00 1C */ lwz r0, 0x1c(r30) +/* 8033C2C0 00339220 7C 1D 00 40 */ cmplw r29, r0 +/* 8033C2C4 00339224 40 82 00 08 */ bne lbl_8033C2CC +/* 8033C2C8 00339228 90 7E 00 1C */ stw r3, 0x1c(r30) +lbl_8033C2CC: +/* 8033C2CC 0033922C 80 83 00 00 */ lwz r4, 0(r3) +/* 8033C2D0 00339230 90 64 00 04 */ stw r3, 4(r4) +/* 8033C2D4 00339234 80 83 00 04 */ lwz r4, 4(r3) +/* 8033C2D8 00339238 90 64 00 00 */ stw r3, 0(r4) +/* 8033C2DC 0033923C 80 7E 00 2C */ lwz r3, 0x2c(r30) +/* 8033C2E0 00339240 38 03 00 01 */ addi r0, r3, 1 +/* 8033C2E4 00339244 90 1E 00 2C */ stw r0, 0x2c(r30) +lbl_8033C2E8: +/* 8033C2E8 00339248 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8033C2EC 0033924C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8033C2F0 00339250 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8033C2F4 00339254 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8033C2F8 00339258 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8033C2FC 0033925C 7C 08 03 A6 */ mtlr r0 +/* 8033C300 00339260 38 21 00 20 */ addi r1, r1, 0x20 +/* 8033C304 00339264 4E 80 00 20 */ blr + +.global __dt__10CResLoaderFv +__dt__10CResLoaderFv: +/* 8033C308 00339268 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033C30C 0033926C 7C 08 02 A6 */ mflr r0 +/* 8033C310 00339270 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033C314 00339274 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8033C318 00339278 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8033C31C 0033927C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8033C320 00339280 7C 9D 23 78 */ mr r29, r4 +/* 8033C324 00339284 93 81 00 10 */ stw r28, 0x10(r1) +/* 8033C328 00339288 7C 7C 1B 79 */ or. r28, r3, r3 +/* 8033C32C 0033928C 41 82 00 6C */ beq lbl_8033C398 +/* 8033C330 00339290 83 DC 00 34 */ lwz r30, 0x34(r28) +/* 8033C334 00339294 48 00 00 24 */ b lbl_8033C358 +lbl_8033C338: +/* 8033C338 00339298 83 FE 00 0C */ lwz r31, 0xc(r30) +/* 8033C33C 0033929C 48 00 00 0C */ b lbl_8033C348 +lbl_8033C340: +/* 8033C340 003392A0 7F E3 FB 78 */ mr r3, r31 +/* 8033C344 003392A4 48 02 C0 0D */ bl AsyncIdle__8CPakFileFv +lbl_8033C348: +/* 8033C348 003392A8 80 1F 00 2C */ lwz r0, 0x2c(r31) +/* 8033C34C 003392AC 2C 00 00 03 */ cmpwi r0, 3 +/* 8033C350 003392B0 40 82 FF F0 */ bne lbl_8033C340 +/* 8033C354 003392B4 83 DE 00 04 */ lwz r30, 4(r30) +lbl_8033C358: +/* 8033C358 003392B8 80 1C 00 38 */ lwz r0, 0x38(r28) +/* 8033C35C 003392BC 7C 1E 00 40 */ cmplw r30, r0 +/* 8033C360 003392C0 40 82 FF D8 */ bne lbl_8033C338 +/* 8033C364 003392C4 38 7C 00 30 */ addi r3, r28, 0x30 +/* 8033C368 003392C8 38 80 FF FF */ li r4, -1 +/* 8033C36C 003392CC 48 00 01 CD */ bl sub_8033c538 +/* 8033C370 003392D0 38 7C 00 18 */ addi r3, r28, 0x18 +/* 8033C374 003392D4 38 80 FF FF */ li r4, -1 +/* 8033C378 003392D8 48 00 01 C1 */ bl sub_8033c538 +/* 8033C37C 003392DC 7F 83 E3 78 */ mr r3, r28 +/* 8033C380 003392E0 38 80 FF FF */ li r4, -1 +/* 8033C384 003392E4 48 00 01 B5 */ bl sub_8033c538 +/* 8033C388 003392E8 7F A0 07 35 */ extsh. r0, r29 +/* 8033C38C 003392EC 40 81 00 0C */ ble lbl_8033C398 +/* 8033C390 003392F0 7F 83 E3 78 */ mr r3, r28 +/* 8033C394 003392F4 4B FD 95 9D */ bl Free__7CMemoryFPCv +lbl_8033C398: +/* 8033C398 003392F8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8033C39C 003392FC 7F 83 E3 78 */ mr r3, r28 +/* 8033C3A0 00339300 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8033C3A4 00339304 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8033C3A8 00339308 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8033C3AC 0033930C 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8033C3B0 00339310 7C 08 03 A6 */ mtlr r0 +/* 8033C3B4 00339314 38 21 00 20 */ addi r1, r1, 0x20 +/* 8033C3B8 00339318 4E 80 00 20 */ blr + +.global __ct__10CResLoaderFv +__ct__10CResLoaderFv: +/* 8033C3BC 0033931C 38 83 00 0C */ addi r4, r3, 0xc +/* 8033C3C0 00339320 38 A0 00 00 */ li r5, 0 +/* 8033C3C4 00339324 90 83 00 04 */ stw r4, 4(r3) +/* 8033C3C8 00339328 38 C3 00 24 */ addi r6, r3, 0x24 +/* 8033C3CC 0033932C 38 E3 00 3C */ addi r7, r3, 0x3c +/* 8033C3D0 00339330 38 00 FF FF */ li r0, -1 +/* 8033C3D4 00339334 90 83 00 08 */ stw r4, 8(r3) +/* 8033C3D8 00339338 90 83 00 0C */ stw r4, 0xc(r3) +/* 8033C3DC 0033933C 90 83 00 10 */ stw r4, 0x10(r3) +/* 8033C3E0 00339340 90 A3 00 14 */ stw r5, 0x14(r3) +/* 8033C3E4 00339344 90 C3 00 1C */ stw r6, 0x1c(r3) +/* 8033C3E8 00339348 90 C3 00 20 */ stw r6, 0x20(r3) +/* 8033C3EC 0033934C 90 C3 00 24 */ stw r6, 0x24(r3) +/* 8033C3F0 00339350 90 C3 00 28 */ stw r6, 0x28(r3) +/* 8033C3F4 00339354 90 A3 00 2C */ stw r5, 0x2c(r3) +/* 8033C3F8 00339358 90 E3 00 34 */ stw r7, 0x34(r3) +/* 8033C3FC 0033935C 90 E3 00 38 */ stw r7, 0x38(r3) +/* 8033C400 00339360 90 E3 00 3C */ stw r7, 0x3c(r3) +/* 8033C404 00339364 90 E3 00 40 */ stw r7, 0x40(r3) +/* 8033C408 00339368 90 A3 00 44 */ stw r5, 0x44(r3) +/* 8033C40C 0033936C 80 83 00 20 */ lwz r4, 0x20(r3) +/* 8033C410 00339370 90 83 00 48 */ stw r4, 0x48(r3) +/* 8033C414 00339374 90 03 00 4C */ stw r0, 0x4c(r3) +/* 8033C418 00339378 90 A3 00 50 */ stw r5, 0x50(r3) +/* 8033C41C 0033937C 98 A3 00 54 */ stb r5, 0x54(r3) +/* 8033C420 00339380 4E 80 00 20 */ blr + +.global "distance,Q24rstl17rmemory_allocator>,10SObjectTag>,Q24rstl138vector,Q24rstl17rmemory_allocator>,10SObjectTag>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl303const_pointer_iterator,Q24rstl17rmemory_allocator>,10SObjectTag>,Q24rstl138vector,Q24rstl17rmemory_allocator>,10SObjectTag>,Q24rstl138vector,Q24rstl17rmemory_allocator>,10SObjectTag>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl303const_pointer_iterator,Q24rstl17rmemory_allocator>,10SObjectTag>,Q24rstl138vector,Q24rstl17rmemory_allocator>,10SObjectTag>,Q24rstl138vector,Q24rstl17rmemory_allocator>,10SObjectTag>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl303const_pointer_iterator,Q24rstl17rmemory_allocator>,10SObjectTag>,Q24rstl138vector,Q24rstl17rmemory_allocator>,10SObjectTag>,Q24rstl138vector,Q24rstl17rmemory_allocator>,10SObjectTag>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl303const_pointer_iterator,Q24rstl17rmemory_allocator>,10SObjectTag>,Q24rstl138vector,Q24rstl17rmemory_allocator>,10SObjectTag>,Q24rstl138vector,Q24rstl17rmemory_allocator>,10SObjectTag>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl303const_pointer_iterator,Q24rstl17rmemory_allocator>,10SObjectTag>,Q24rstl138vectorFi" +/* 80340024 0033CF84 3B BE 00 0C */ addi r29, r30, 0xc +/* 80340028 0033CF88 83 DE 00 0C */ lwz r30, 0xc(r30) +/* 8034002C 0033CF8C 48 00 00 6C */ b lbl_80340098 +lbl_80340030: +/* 80340030 0033CF90 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 80340034 0033CF94 80 A1 00 20 */ lwz r5, 0x20(r1) +/* 80340038 0033CF98 7C 00 28 00 */ cmpw r0, r5 +/* 8034003C 0033CF9C 41 80 00 1C */ blt lbl_80340058 +/* 80340040 0033CFA0 2C 05 00 00 */ cmpwi r5, 0 +/* 80340044 0033CFA4 38 61 00 18 */ addi r3, r1, 0x18 +/* 80340048 0033CFA8 38 80 00 04 */ li r4, 4 +/* 8034004C 0033CFAC 41 82 00 08 */ beq lbl_80340054 +/* 80340050 0033CFB0 54 A4 08 3C */ slwi r4, r5, 1 +lbl_80340054: +/* 80340054 0033CFB4 48 00 09 31 */ bl "reserve__Q24rstl47vector<10SObjectTag,Q24rstl17rmemory_allocator>Fi" +lbl_80340058: +/* 80340058 0033CFB8 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 8034005C 0033CFBC 80 61 00 24 */ lwz r3, 0x24(r1) +/* 80340060 0033CFC0 54 00 18 38 */ slwi r0, r0, 3 +/* 80340064 0033CFC4 7C 63 02 15 */ add. r3, r3, r0 +/* 80340068 0033CFC8 41 82 00 14 */ beq lbl_8034007C +/* 8034006C 0033CFCC 80 1E 00 10 */ lwz r0, 0x10(r30) +/* 80340070 0033CFD0 90 03 00 00 */ stw r0, 0(r3) +/* 80340074 0033CFD4 80 1E 00 14 */ lwz r0, 0x14(r30) +/* 80340078 0033CFD8 90 03 00 04 */ stw r0, 4(r3) +lbl_8034007C: +/* 8034007C 0033CFDC 80 A1 00 1C */ lwz r5, 0x1c(r1) +/* 80340080 0033CFE0 7F A3 EB 78 */ mr r3, r29 +/* 80340084 0033CFE4 7F C4 F3 78 */ mr r4, r30 +/* 80340088 0033CFE8 38 05 00 01 */ addi r0, r5, 1 +/* 8034008C 0033CFEC 90 01 00 1C */ stw r0, 0x1c(r1) +/* 80340090 0033CFF0 4B FF C5 51 */ bl rbtree_traverse_forward__4rstlFPCvPv +/* 80340094 0033CFF4 7C 7E 1B 78 */ mr r30, r3 +lbl_80340098: +/* 80340098 0033CFF8 28 1E 00 00 */ cmplwi r30, 0 +/* 8034009C 0033CFFC 38 00 00 00 */ li r0, 0 +/* 803400A0 0033D000 40 82 00 0C */ bne lbl_803400AC +/* 803400A4 0033D004 7C 1D E8 40 */ cmplw r29, r29 +/* 803400A8 0033D008 41 82 00 08 */ beq lbl_803400B0 +lbl_803400AC: +/* 803400AC 0033D00C 38 00 00 01 */ li r0, 1 +lbl_803400B0: +/* 803400B0 0033D010 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 803400B4 0033D014 40 82 FF 7C */ bne lbl_80340030 +/* 803400B8 0033D018 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 803400BC 0033D01C 90 1F 00 04 */ stw r0, 4(r31) +/* 803400C0 0033D020 80 01 00 20 */ lwz r0, 0x20(r1) +/* 803400C4 0033D024 90 1F 00 08 */ stw r0, 8(r31) +/* 803400C8 0033D028 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 803400CC 0033D02C 2C 00 00 00 */ cmpwi r0, 0 +/* 803400D0 0033D030 40 82 00 1C */ bne lbl_803400EC +/* 803400D4 0033D034 80 01 00 20 */ lwz r0, 0x20(r1) +/* 803400D8 0033D038 2C 00 00 00 */ cmpwi r0, 0 +/* 803400DC 0033D03C 40 82 00 10 */ bne lbl_803400EC +/* 803400E0 0033D040 38 00 00 00 */ li r0, 0 +/* 803400E4 0033D044 90 1F 00 0C */ stw r0, 0xc(r31) +/* 803400E8 0033D048 48 00 00 6C */ b lbl_80340154 +lbl_803400EC: +/* 803400EC 0033D04C 80 1F 00 08 */ lwz r0, 8(r31) +/* 803400F0 0033D050 54 03 18 39 */ rlwinm. r3, r0, 3, 0, 0x1c +/* 803400F4 0033D054 40 82 00 10 */ bne lbl_80340104 +/* 803400F8 0033D058 38 00 00 00 */ li r0, 0 +/* 803400FC 0033D05C 90 1F 00 0C */ stw r0, 0xc(r31) +/* 80340100 0033D060 48 00 00 18 */ b lbl_80340118 +lbl_80340104: +/* 80340104 0033D064 3C 80 80 3D */ lis r4, lbl_803D7A98@ha +/* 80340108 0033D068 38 A0 00 00 */ li r5, 0 +/* 8034010C 0033D06C 38 84 7A 98 */ addi r4, r4, lbl_803D7A98@l +/* 80340110 0033D070 4B FD 57 09 */ bl __nwa__FUlPCcPCc +/* 80340114 0033D074 90 7F 00 0C */ stw r3, 0xc(r31) +lbl_80340118: +/* 80340118 0033D078 80 1F 00 04 */ lwz r0, 4(r31) +/* 8034011C 0033D07C 80 81 00 24 */ lwz r4, 0x24(r1) +/* 80340120 0033D080 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 80340124 0033D084 7C 09 03 A6 */ mtctr r0 +/* 80340128 0033D088 2C 00 00 00 */ cmpwi r0, 0 +/* 8034012C 0033D08C 40 81 00 28 */ ble lbl_80340154 +lbl_80340130: +/* 80340130 0033D090 28 03 00 00 */ cmplwi r3, 0 +/* 80340134 0033D094 41 82 00 14 */ beq lbl_80340148 +/* 80340138 0033D098 80 04 00 00 */ lwz r0, 0(r4) +/* 8034013C 0033D09C 90 03 00 00 */ stw r0, 0(r3) +/* 80340140 0033D0A0 80 04 00 04 */ lwz r0, 4(r4) +/* 80340144 0033D0A4 90 03 00 04 */ stw r0, 4(r3) +lbl_80340148: +/* 80340148 0033D0A8 38 63 00 08 */ addi r3, r3, 8 +/* 8034014C 0033D0AC 38 84 00 08 */ addi r4, r4, 8 +/* 80340150 0033D0B0 42 00 FF E0 */ bdnz lbl_80340130 +lbl_80340154: +/* 80340154 0033D0B4 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 80340158 0033D0B8 80 61 00 24 */ lwz r3, 0x24(r1) +/* 8034015C 0033D0BC 54 00 18 38 */ slwi r0, r0, 3 +/* 80340160 0033D0C0 7C 03 02 14 */ add r0, r3, r0 +/* 80340164 0033D0C4 90 61 00 0C */ stw r3, 0xc(r1) +/* 80340168 0033D0C8 7C 64 1B 78 */ mr r4, r3 +/* 8034016C 0033D0CC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80340170 0033D0D0 90 01 00 10 */ stw r0, 0x10(r1) +/* 80340174 0033D0D4 90 61 00 08 */ stw r3, 8(r1) +/* 80340178 0033D0D8 48 00 00 08 */ b lbl_80340180 +lbl_8034017C: +/* 8034017C 0033D0DC 38 84 00 08 */ addi r4, r4, 8 +lbl_80340180: +/* 80340180 0033D0E0 7C 04 00 40 */ cmplw r4, r0 +/* 80340184 0033D0E4 40 82 FF F8 */ bne lbl_8034017C +/* 80340188 0033D0E8 28 03 00 00 */ cmplwi r3, 0 +/* 8034018C 0033D0EC 41 82 00 08 */ beq lbl_80340194 +/* 80340190 0033D0F0 4B FD 57 A1 */ bl Free__7CMemoryFPCv +lbl_80340194: +/* 80340194 0033D0F4 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80340198 0033D0F8 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 8034019C 0033D0FC 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 803401A0 0033D100 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 803401A4 0033D104 7C 08 03 A6 */ mtlr r0 +/* 803401A8 0033D108 38 21 00 40 */ addi r1, r1, 0x40 +/* 803401AC 0033D10C 4E 80 00 20 */ blr + +.global DebugDumpPool__11CSimplePoolCFv +DebugDumpPool__11CSimplePoolCFv: +/* 803401B0 0033D110 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803401B4 0033D114 7C 08 02 A6 */ mflr r0 +/* 803401B8 0033D118 90 01 00 14 */ stw r0, 0x14(r1) +/* 803401BC 0033D11C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803401C0 0033D120 93 C1 00 08 */ stw r30, 8(r1) +/* 803401C4 0033D124 3B C3 00 0C */ addi r30, r3, 0xc +/* 803401C8 0033D128 83 E3 00 0C */ lwz r31, 0xc(r3) +/* 803401CC 0033D12C 48 00 00 1C */ b lbl_803401E8 +lbl_803401D0: +/* 803401D0 0033D130 80 7F 00 10 */ lwz r3, 0x10(r31) +/* 803401D4 0033D134 48 00 0E 31 */ bl Type2Text__10SObjectTagFUi +/* 803401D8 0033D138 7F C3 F3 78 */ mr r3, r30 +/* 803401DC 0033D13C 7F E4 FB 78 */ mr r4, r31 +/* 803401E0 0033D140 4B FF C4 01 */ bl rbtree_traverse_forward__4rstlFPCvPv +/* 803401E4 0033D144 7C 7F 1B 78 */ mr r31, r3 +lbl_803401E8: +/* 803401E8 0033D148 28 1F 00 00 */ cmplwi r31, 0 +/* 803401EC 0033D14C 38 00 00 00 */ li r0, 0 +/* 803401F0 0033D150 40 82 00 0C */ bne lbl_803401FC +/* 803401F4 0033D154 7C 1E F0 40 */ cmplw r30, r30 +/* 803401F8 0033D158 41 82 00 08 */ beq lbl_80340200 +lbl_803401FC: +/* 803401FC 0033D15C 38 00 00 01 */ li r0, 1 +lbl_80340200: +/* 80340200 0033D160 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 80340204 0033D164 40 82 FF CC */ bne lbl_803401D0 +/* 80340208 0033D168 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034020C 0033D16C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80340210 0033D170 83 C1 00 08 */ lwz r30, 8(r1) +/* 80340214 0033D174 7C 08 03 A6 */ mtlr r0 +/* 80340218 0033D178 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034021C 0033D17C 4E 80 00 20 */ blr + +.global Flush__11CSimplePoolFv +Flush__11CSimplePoolFv: +/* 80340220 0033D180 4E 80 00 20 */ blr + +.global ObjectIsLive__11CSimplePoolCFRC10SObjectTag +ObjectIsLive__11CSimplePoolCFRC10SObjectTag: +/* 80340224 0033D184 80 C3 00 14 */ lwz r6, 0x14(r3) +/* 80340228 0033D188 38 E0 00 00 */ li r7, 0 +/* 8034022C 0033D18C 48 00 00 24 */ b lbl_80340250 +lbl_80340230: +/* 80340230 0033D190 80 A6 00 14 */ lwz r5, 0x14(r6) +/* 80340234 0033D194 80 04 00 04 */ lwz r0, 4(r4) +/* 80340238 0033D198 7C 05 00 40 */ cmplw r5, r0 +/* 8034023C 0033D19C 41 80 00 10 */ blt lbl_8034024C +/* 80340240 0033D1A0 7C C7 33 78 */ mr r7, r6 +/* 80340244 0033D1A4 80 C6 00 00 */ lwz r6, 0(r6) +/* 80340248 0033D1A8 48 00 00 08 */ b lbl_80340250 +lbl_8034024C: +/* 8034024C 0033D1AC 80 C6 00 04 */ lwz r6, 4(r6) +lbl_80340250: +/* 80340250 0033D1B0 28 06 00 00 */ cmplwi r6, 0 +/* 80340254 0033D1B4 40 82 FF DC */ bne lbl_80340230 +/* 80340258 0033D1B8 28 07 00 00 */ cmplwi r7, 0 +/* 8034025C 0033D1BC 38 A0 00 00 */ li r5, 0 +/* 80340260 0033D1C0 41 82 00 14 */ beq lbl_80340274 +/* 80340264 0033D1C4 80 84 00 04 */ lwz r4, 4(r4) +/* 80340268 0033D1C8 80 07 00 14 */ lwz r0, 0x14(r7) +/* 8034026C 0033D1CC 7C 04 00 40 */ cmplw r4, r0 +/* 80340270 0033D1D0 40 80 00 08 */ bge lbl_80340278 +lbl_80340274: +/* 80340274 0033D1D4 38 A0 00 01 */ li r5, 1 +lbl_80340278: +/* 80340278 0033D1D8 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 8034027C 0033D1DC 41 82 00 08 */ beq lbl_80340284 +/* 80340280 0033D1E0 38 E0 00 00 */ li r7, 0 +lbl_80340284: +/* 80340284 0033D1E4 28 07 00 00 */ cmplwi r7, 0 +/* 80340288 0033D1E8 38 63 00 0C */ addi r3, r3, 0xc +/* 8034028C 0033D1EC 38 00 00 00 */ li r0, 0 +/* 80340290 0033D1F0 40 82 00 10 */ bne lbl_803402A0 +/* 80340294 0033D1F4 7C 03 18 40 */ cmplw r3, r3 +/* 80340298 0033D1F8 40 82 00 08 */ bne lbl_803402A0 +/* 8034029C 0033D1FC 38 00 00 01 */ li r0, 1 +lbl_803402A0: +/* 803402A0 0033D200 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 803402A4 0033D204 41 82 00 0C */ beq lbl_803402B0 +/* 803402A8 0033D208 38 60 00 00 */ li r3, 0 +/* 803402AC 0033D20C 4E 80 00 20 */ blr +lbl_803402B0: +/* 803402B0 0033D210 80 67 00 18 */ lwz r3, 0x18(r7) +/* 803402B4 0033D214 80 63 00 10 */ lwz r3, 0x10(r3) +/* 803402B8 0033D218 7C 03 00 D0 */ neg r0, r3 +/* 803402BC 0033D21C 7C 00 1B 78 */ or r0, r0, r3 +/* 803402C0 0033D220 54 03 0F FE */ srwi r3, r0, 0x1f +/* 803402C4 0033D224 4E 80 00 20 */ blr + +.global HasObject__11CSimplePoolCFRC10SObjectTag +HasObject__11CSimplePoolCFRC10SObjectTag: +/* 803402C8 0033D228 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803402CC 0033D22C 7C 08 02 A6 */ mflr r0 +/* 803402D0 0033D230 38 E0 00 00 */ li r7, 0 +/* 803402D4 0033D234 90 01 00 14 */ stw r0, 0x14(r1) +/* 803402D8 0033D238 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803402DC 0033D23C 93 C1 00 08 */ stw r30, 8(r1) +/* 803402E0 0033D240 80 C3 00 14 */ lwz r6, 0x14(r3) +/* 803402E4 0033D244 48 00 00 24 */ b lbl_80340308 +lbl_803402E8: +/* 803402E8 0033D248 80 A6 00 14 */ lwz r5, 0x14(r6) +/* 803402EC 0033D24C 80 04 00 04 */ lwz r0, 4(r4) +/* 803402F0 0033D250 7C 05 00 40 */ cmplw r5, r0 +/* 803402F4 0033D254 41 80 00 10 */ blt lbl_80340304 +/* 803402F8 0033D258 7C C7 33 78 */ mr r7, r6 +/* 803402FC 0033D25C 80 C6 00 00 */ lwz r6, 0(r6) +/* 80340300 0033D260 48 00 00 08 */ b lbl_80340308 +lbl_80340304: +/* 80340304 0033D264 80 C6 00 04 */ lwz r6, 4(r6) +lbl_80340308: +/* 80340308 0033D268 28 06 00 00 */ cmplwi r6, 0 +/* 8034030C 0033D26C 40 82 FF DC */ bne lbl_803402E8 +/* 80340310 0033D270 28 07 00 00 */ cmplwi r7, 0 +/* 80340314 0033D274 38 C0 00 00 */ li r6, 0 +/* 80340318 0033D278 41 82 00 14 */ beq lbl_8034032C +/* 8034031C 0033D27C 80 A4 00 04 */ lwz r5, 4(r4) +/* 80340320 0033D280 80 07 00 14 */ lwz r0, 0x14(r7) +/* 80340324 0033D284 7C 05 00 40 */ cmplw r5, r0 +/* 80340328 0033D288 40 80 00 08 */ bge lbl_80340330 +lbl_8034032C: +/* 8034032C 0033D28C 38 C0 00 01 */ li r6, 1 +lbl_80340330: +/* 80340330 0033D290 54 C0 06 3F */ clrlwi. r0, r6, 0x18 +/* 80340334 0033D294 41 82 00 08 */ beq lbl_8034033C +/* 80340338 0033D298 38 E0 00 00 */ li r7, 0 +lbl_8034033C: +/* 8034033C 0033D29C 28 07 00 00 */ cmplwi r7, 0 +/* 80340340 0033D2A0 38 A3 00 0C */ addi r5, r3, 0xc +/* 80340344 0033D2A4 3B C0 00 01 */ li r30, 1 +/* 80340348 0033D2A8 38 00 00 00 */ li r0, 0 +/* 8034034C 0033D2AC 40 82 00 0C */ bne lbl_80340358 +/* 80340350 0033D2B0 7C 05 28 40 */ cmplw r5, r5 +/* 80340354 0033D2B4 41 82 00 08 */ beq lbl_8034035C +lbl_80340358: +/* 80340358 0033D2B8 38 00 00 01 */ li r0, 1 +lbl_8034035C: +/* 8034035C 0033D2BC 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 80340360 0033D2C0 40 82 00 3C */ bne lbl_8034039C +/* 80340364 0033D2C4 80 63 00 18 */ lwz r3, 0x18(r3) +/* 80340368 0033D2C8 3B E0 00 00 */ li r31, 0 +/* 8034036C 0033D2CC 28 03 00 00 */ cmplwi r3, 0 +/* 80340370 0033D2D0 41 82 00 20 */ beq lbl_80340390 +/* 80340374 0033D2D4 81 83 00 00 */ lwz r12, 0(r3) +/* 80340378 0033D2D8 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 8034037C 0033D2DC 7D 89 03 A6 */ mtctr r12 +/* 80340380 0033D2E0 4E 80 04 21 */ bctrl +/* 80340384 0033D2E4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80340388 0033D2E8 41 82 00 08 */ beq lbl_80340390 +/* 8034038C 0033D2EC 3B E0 00 01 */ li r31, 1 +lbl_80340390: +/* 80340390 0033D2F0 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 80340394 0033D2F4 40 82 00 08 */ bne lbl_8034039C +/* 80340398 0033D2F8 3B C0 00 00 */ li r30, 0 +lbl_8034039C: +/* 8034039C 0033D2FC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803403A0 0033D300 7F C3 F3 78 */ mr r3, r30 +/* 803403A4 0033D304 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803403A8 0033D308 83 C1 00 08 */ lwz r30, 8(r1) +/* 803403AC 0033D30C 7C 08 03 A6 */ mtlr r0 +/* 803403B0 0033D310 38 21 00 10 */ addi r1, r1, 0x10 +/* 803403B4 0033D314 4E 80 00 20 */ blr + +.global GetObj__11CSimplePoolFPCcRC15CVParamTransfer +GetObj__11CSimplePoolFPCcRC15CVParamTransfer: +/* 803403B8 0033D318 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803403BC 0033D31C 7C 08 02 A6 */ mflr r0 +/* 803403C0 0033D320 90 01 00 24 */ stw r0, 0x24(r1) +/* 803403C4 0033D324 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 803403C8 0033D328 7C DF 33 78 */ mr r31, r6 +/* 803403CC 0033D32C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 803403D0 0033D330 7C 9E 23 78 */ mr r30, r4 +/* 803403D4 0033D334 93 A1 00 14 */ stw r29, 0x14(r1) +/* 803403D8 0033D338 7C 7D 1B 78 */ mr r29, r3 +/* 803403DC 0033D33C 80 64 00 18 */ lwz r3, 0x18(r4) +/* 803403E0 0033D340 7C A4 2B 78 */ mr r4, r5 +/* 803403E4 0033D344 81 83 00 00 */ lwz r12, 0(r3) +/* 803403E8 0033D348 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 803403EC 0033D34C 7D 89 03 A6 */ mtctr r12 +/* 803403F0 0033D350 4E 80 04 21 */ bctrl +/* 803403F4 0033D354 7C 60 1B 78 */ mr r0, r3 +/* 803403F8 0033D358 7F A3 EB 78 */ mr r3, r29 +/* 803403FC 0033D35C 7C 05 03 78 */ mr r5, r0 +/* 80340400 0033D360 7F C4 F3 78 */ mr r4, r30 +/* 80340404 0033D364 7F E6 FB 78 */ mr r6, r31 +/* 80340408 0033D368 48 00 00 81 */ bl GetObj__11CSimplePoolFRC10SObjectTagRC15CVParamTransfer +/* 8034040C 0033D36C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80340410 0033D370 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80340414 0033D374 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80340418 0033D378 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8034041C 0033D37C 7C 08 03 A6 */ mtlr r0 +/* 80340420 0033D380 38 21 00 20 */ addi r1, r1, 0x20 +/* 80340424 0033D384 4E 80 00 20 */ blr + +.global GetObj__11CSimplePoolFPCc +GetObj__11CSimplePoolFPCc: +/* 80340428 0033D388 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034042C 0033D38C 7C 08 02 A6 */ mflr r0 +/* 80340430 0033D390 38 C4 00 1C */ addi r6, r4, 0x1c +/* 80340434 0033D394 90 01 00 14 */ stw r0, 0x14(r1) +/* 80340438 0033D398 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034043C 0033D39C 7C 7F 1B 78 */ mr r31, r3 +/* 80340440 0033D3A0 4B FF FF 79 */ bl GetObj__11CSimplePoolFPCcRC15CVParamTransfer +/* 80340444 0033D3A4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80340448 0033D3A8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034044C 0033D3AC 7C 08 03 A6 */ mtlr r0 +/* 80340450 0033D3B0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80340454 0033D3B4 4E 80 00 20 */ blr + +.global GetObj__11CSimplePoolFRC10SObjectTag +GetObj__11CSimplePoolFRC10SObjectTag: +/* 80340458 0033D3B8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034045C 0033D3BC 7C 08 02 A6 */ mflr r0 +/* 80340460 0033D3C0 38 C4 00 1C */ addi r6, r4, 0x1c +/* 80340464 0033D3C4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80340468 0033D3C8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034046C 0033D3CC 7C 7F 1B 78 */ mr r31, r3 +/* 80340470 0033D3D0 48 00 00 19 */ bl GetObj__11CSimplePoolFRC10SObjectTagRC15CVParamTransfer +/* 80340474 0033D3D4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80340478 0033D3D8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034047C 0033D3DC 7C 08 03 A6 */ mtlr r0 +/* 80340480 0033D3E0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80340484 0033D3E4 4E 80 00 20 */ blr + +.global GetObj__11CSimplePoolFRC10SObjectTagRC15CVParamTransfer +GetObj__11CSimplePoolFRC10SObjectTagRC15CVParamTransfer: +/* 80340488 0033D3E8 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 8034048C 0033D3EC 7C 08 02 A6 */ mflr r0 +/* 80340490 0033D3F0 90 01 00 64 */ stw r0, 0x64(r1) +/* 80340494 0033D3F4 BF 21 00 44 */ stmw r25, 0x44(r1) +/* 80340498 0033D3F8 7C 9D 23 78 */ mr r29, r4 +/* 8034049C 0033D3FC 7C BE 2B 78 */ mr r30, r5 +/* 803404A0 0033D400 7C 7C 1B 78 */ mr r28, r3 +/* 803404A4 0033D404 7C DF 33 78 */ mr r31, r6 +/* 803404A8 0033D408 38 A0 00 00 */ li r5, 0 +/* 803404AC 0033D40C 80 84 00 14 */ lwz r4, 0x14(r4) +/* 803404B0 0033D410 48 00 00 24 */ b lbl_803404D4 +lbl_803404B4: +/* 803404B4 0033D414 80 64 00 14 */ lwz r3, 0x14(r4) +/* 803404B8 0033D418 80 1E 00 04 */ lwz r0, 4(r30) +/* 803404BC 0033D41C 7C 03 00 40 */ cmplw r3, r0 +/* 803404C0 0033D420 41 80 00 10 */ blt lbl_803404D0 +/* 803404C4 0033D424 7C 85 23 78 */ mr r5, r4 +/* 803404C8 0033D428 80 84 00 00 */ lwz r4, 0(r4) +/* 803404CC 0033D42C 48 00 00 08 */ b lbl_803404D4 +lbl_803404D0: +/* 803404D0 0033D430 80 84 00 04 */ lwz r4, 4(r4) +lbl_803404D4: +/* 803404D4 0033D434 28 04 00 00 */ cmplwi r4, 0 +/* 803404D8 0033D438 40 82 FF DC */ bne lbl_803404B4 +/* 803404DC 0033D43C 28 05 00 00 */ cmplwi r5, 0 +/* 803404E0 0033D440 38 80 00 00 */ li r4, 0 +/* 803404E4 0033D444 41 82 00 14 */ beq lbl_803404F8 +/* 803404E8 0033D448 80 7E 00 04 */ lwz r3, 4(r30) +/* 803404EC 0033D44C 80 05 00 14 */ lwz r0, 0x14(r5) +/* 803404F0 0033D450 7C 03 00 40 */ cmplw r3, r0 +/* 803404F4 0033D454 40 80 00 08 */ bge lbl_803404FC +lbl_803404F8: +/* 803404F8 0033D458 38 80 00 01 */ li r4, 1 +lbl_803404FC: +/* 803404FC 0033D45C 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 80340500 0033D460 41 82 00 08 */ beq lbl_80340508 +/* 80340504 0033D464 38 A0 00 00 */ li r5, 0 +lbl_80340508: +/* 80340508 0033D468 38 00 00 00 */ li r0, 0 +/* 8034050C 0033D46C 38 7D 00 0C */ addi r3, r29, 0xc +/* 80340510 0033D470 7C 05 00 40 */ cmplw r5, r0 +/* 80340514 0033D474 90 01 00 14 */ stw r0, 0x14(r1) +/* 80340518 0033D478 90 61 00 18 */ stw r3, 0x18(r1) +/* 8034051C 0033D47C 40 82 00 0C */ bne lbl_80340528 +/* 80340520 0033D480 7C 03 18 40 */ cmplw r3, r3 +/* 80340524 0033D484 41 82 00 08 */ beq lbl_8034052C +lbl_80340528: +/* 80340528 0033D488 38 00 00 01 */ li r0, 1 +lbl_8034052C: +/* 8034052C 0033D48C 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 80340530 0033D490 41 82 00 14 */ beq lbl_80340544 +/* 80340534 0033D494 80 85 00 18 */ lwz r4, 0x18(r5) +/* 80340538 0033D498 7F 83 E3 78 */ mr r3, r28 +/* 8034053C 0033D49C 48 00 0A A9 */ bl __ct__6CTokenFP16CObjectReference +/* 80340540 0033D4A0 48 00 00 E0 */ b lbl_80340620 +lbl_80340544: +/* 80340544 0033D4A4 3C 60 80 3D */ lis r3, lbl_803D7A98@ha +/* 80340548 0033D4A8 3B 40 00 00 */ li r26, 0 +/* 8034054C 0033D4AC 38 83 7A 98 */ addi r4, r3, lbl_803D7A98@l +/* 80340550 0033D4B0 3B 20 00 00 */ li r25, 0 +/* 80340554 0033D4B4 38 60 00 18 */ li r3, 0x18 +/* 80340558 0033D4B8 38 A0 00 00 */ li r5, 0 +/* 8034055C 0033D4BC 4B FD 53 11 */ bl __nw__FUlPCcPCc +/* 80340560 0033D4C0 7C 7B 1B 79 */ or. r27, r3, r3 +/* 80340564 0033D4C4 41 82 00 44 */ beq lbl_803405A8 +/* 80340568 0033D4C8 81 3F 00 00 */ lwz r9, 0(r31) +/* 8034056C 0033D4CC 38 00 00 00 */ li r0, 0 +/* 80340570 0033D4D0 98 01 00 0C */ stb r0, 0xc(r1) +/* 80340574 0033D4D4 7F A4 EB 78 */ mr r4, r29 +/* 80340578 0033D4D8 7F C6 F3 78 */ mr r6, r30 +/* 8034057C 0033D4DC 38 A1 00 0C */ addi r5, r1, 0xc +/* 80340580 0033D4E0 90 01 00 10 */ stw r0, 0x10(r1) +/* 80340584 0033D4E4 38 E1 00 08 */ addi r7, r1, 8 +/* 80340588 0033D4E8 3B 20 00 01 */ li r25, 1 +/* 8034058C 0033D4EC 3B 40 00 01 */ li r26, 1 +/* 80340590 0033D4F0 91 21 00 08 */ stw r9, 8(r1) +/* 80340594 0033D4F4 81 09 00 04 */ lwz r8, 4(r9) +/* 80340598 0033D4F8 38 08 00 01 */ addi r0, r8, 1 +/* 8034059C 0033D4FC 90 09 00 04 */ stw r0, 4(r9) +/* 803405A0 0033D500 4B FF F9 DD */ bl "__ct__16CObjectReferenceFR12IObjectStoreRCQ24rstl15auto_ptr<4IObj>RC10SObjectTag15CVParamTransfer" +/* 803405A4 0033D504 7C 7B 1B 78 */ mr r27, r3 +lbl_803405A8: +/* 803405A8 0033D508 7F 20 07 75 */ extsb. r0, r25 +/* 803405AC 0033D50C 41 82 00 30 */ beq lbl_803405DC +/* 803405B0 0033D510 88 01 00 0C */ lbz r0, 0xc(r1) +/* 803405B4 0033D514 28 00 00 00 */ cmplwi r0, 0 +/* 803405B8 0033D518 41 82 00 24 */ beq lbl_803405DC +/* 803405BC 0033D51C 80 61 00 10 */ lwz r3, 0x10(r1) +/* 803405C0 0033D520 28 03 00 00 */ cmplwi r3, 0 +/* 803405C4 0033D524 41 82 00 18 */ beq lbl_803405DC +/* 803405C8 0033D528 81 83 00 00 */ lwz r12, 0(r3) +/* 803405CC 0033D52C 38 80 00 01 */ li r4, 1 +/* 803405D0 0033D530 81 8C 00 08 */ lwz r12, 8(r12) +/* 803405D4 0033D534 7D 89 03 A6 */ mtctr r12 +/* 803405D8 0033D538 4E 80 04 21 */ bctrl +lbl_803405DC: +/* 803405DC 0033D53C 7F 40 07 75 */ extsb. r0, r26 +/* 803405E0 0033D540 41 82 00 0C */ beq lbl_803405EC +/* 803405E4 0033D544 38 61 00 08 */ addi r3, r1, 8 +/* 803405E8 0033D548 4B CF 3D 1D */ bl sub_80034304 +lbl_803405EC: +/* 803405EC 0033D54C 80 BE 00 00 */ lwz r5, 0(r30) +/* 803405F0 0033D550 38 61 00 1C */ addi r3, r1, 0x1c +/* 803405F4 0033D554 80 1E 00 04 */ lwz r0, 4(r30) +/* 803405F8 0033D558 38 9D 00 04 */ addi r4, r29, 4 +/* 803405FC 0033D55C 90 A1 00 28 */ stw r5, 0x28(r1) +/* 80340600 0033D560 38 C1 00 28 */ addi r6, r1, 0x28 +/* 80340604 0033D564 90 01 00 2C */ stw r0, 0x2c(r1) +/* 80340608 0033D568 93 61 00 30 */ stw r27, 0x30(r1) +/* 8034060C 0033D56C 80 BD 00 14 */ lwz r5, 0x14(r29) +/* 80340610 0033D570 48 00 04 69 */ bl sub_80340a78 +/* 80340614 0033D574 7F 83 E3 78 */ mr r3, r28 +/* 80340618 0033D578 7F 64 DB 78 */ mr r4, r27 +/* 8034061C 0033D57C 48 00 09 C9 */ bl __ct__6CTokenFP16CObjectReference +lbl_80340620: +/* 80340620 0033D580 BB 21 00 44 */ lmw r25, 0x44(r1) +/* 80340624 0033D584 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80340628 0033D588 7C 08 03 A6 */ mtlr r0 +/* 8034062C 0033D58C 38 21 00 60 */ addi r1, r1, 0x60 +/* 80340630 0033D590 4E 80 00 20 */ blr + +.global ObjectUnreferenced__11CSimplePoolFRC10SObjectTag +ObjectUnreferenced__11CSimplePoolFRC10SObjectTag: +/* 80340634 0033D594 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80340638 0033D598 7C 08 02 A6 */ mflr r0 +/* 8034063C 0033D59C 38 C0 00 00 */ li r6, 0 +/* 80340640 0033D5A0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80340644 0033D5A4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80340648 0033D5A8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8034064C 0033D5AC 7C 7E 1B 78 */ mr r30, r3 +/* 80340650 0033D5B0 80 A3 00 14 */ lwz r5, 0x14(r3) +/* 80340654 0033D5B4 48 00 00 24 */ b lbl_80340678 +lbl_80340658: +/* 80340658 0033D5B8 80 65 00 14 */ lwz r3, 0x14(r5) +/* 8034065C 0033D5BC 80 04 00 04 */ lwz r0, 4(r4) +/* 80340660 0033D5C0 7C 03 00 40 */ cmplw r3, r0 +/* 80340664 0033D5C4 41 80 00 10 */ blt lbl_80340674 +/* 80340668 0033D5C8 7C A6 2B 78 */ mr r6, r5 +/* 8034066C 0033D5CC 80 A5 00 00 */ lwz r5, 0(r5) +/* 80340670 0033D5D0 48 00 00 08 */ b lbl_80340678 +lbl_80340674: +/* 80340674 0033D5D4 80 A5 00 04 */ lwz r5, 4(r5) +lbl_80340678: +/* 80340678 0033D5D8 28 05 00 00 */ cmplwi r5, 0 +/* 8034067C 0033D5DC 40 82 FF DC */ bne lbl_80340658 +/* 80340680 0033D5E0 28 06 00 00 */ cmplwi r6, 0 +/* 80340684 0033D5E4 38 A0 00 00 */ li r5, 0 +/* 80340688 0033D5E8 41 82 00 14 */ beq lbl_8034069C +/* 8034068C 0033D5EC 80 64 00 04 */ lwz r3, 4(r4) +/* 80340690 0033D5F0 80 06 00 14 */ lwz r0, 0x14(r6) +/* 80340694 0033D5F4 7C 03 00 40 */ cmplw r3, r0 +/* 80340698 0033D5F8 40 80 00 08 */ bge lbl_803406A0 +lbl_8034069C: +/* 8034069C 0033D5FC 38 A0 00 01 */ li r5, 1 +lbl_803406A0: +/* 803406A0 0033D600 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 803406A4 0033D604 41 82 00 08 */ beq lbl_803406AC +/* 803406A8 0033D608 38 C0 00 00 */ li r6, 0 +lbl_803406AC: +/* 803406AC 0033D60C 3B FE 00 0C */ addi r31, r30, 0xc +/* 803406B0 0033D610 90 C1 00 10 */ stw r6, 0x10(r1) +/* 803406B4 0033D614 7F E3 FB 78 */ mr r3, r31 +/* 803406B8 0033D618 7C C4 33 78 */ mr r4, r6 +/* 803406BC 0033D61C 93 E1 00 14 */ stw r31, 0x14(r1) +/* 803406C0 0033D620 90 C1 00 08 */ stw r6, 8(r1) +/* 803406C4 0033D624 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803406C8 0033D628 4B FF BF 19 */ bl rbtree_traverse_forward__4rstlFPCvPv +/* 803406CC 0033D62C 80 81 00 08 */ lwz r4, 8(r1) +/* 803406D0 0033D630 7F E3 FB 78 */ mr r3, r31 +/* 803406D4 0033D634 4B FF BF A9 */ bl rbtree_rebalance_for_erase__4rstlFPvPv +/* 803406D8 0033D638 28 03 00 00 */ cmplwi r3, 0 +/* 803406DC 0033D63C 41 82 00 08 */ beq lbl_803406E4 +/* 803406E0 0033D640 4B FD 52 51 */ bl Free__7CMemoryFPCv +lbl_803406E4: +/* 803406E4 0033D644 80 7E 00 08 */ lwz r3, 8(r30) +/* 803406E8 0033D648 38 03 FF FF */ addi r0, r3, -1 +/* 803406EC 0033D64C 90 1E 00 08 */ stw r0, 8(r30) +/* 803406F0 0033D650 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803406F4 0033D654 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 803406F8 0033D658 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803406FC 0033D65C 7C 08 03 A6 */ mtlr r0 +/* 80340700 0033D660 38 21 00 20 */ addi r1, r1, 0x20 +/* 80340704 0033D664 4E 80 00 20 */ blr + +.global __dt__11CSimplePool +__dt__11CSimplePool: +/* 80340708 0033D668 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034070C 0033D66C 7C 08 02 A6 */ mflr r0 +/* 80340710 0033D670 90 01 00 14 */ stw r0, 0x14(r1) +/* 80340714 0033D674 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80340718 0033D678 7C 9F 23 78 */ mr r31, r4 +/* 8034071C 0033D67C 93 C1 00 08 */ stw r30, 8(r1) +/* 80340720 0033D680 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80340724 0033D684 41 82 00 94 */ beq lbl_803407B8 +/* 80340728 0033D688 3C 80 80 3F */ lis r4, lbl_803EE410@ha +/* 8034072C 0033D68C 38 04 E4 10 */ addi r0, r4, lbl_803EE410@l +/* 80340730 0033D690 90 1E 00 00 */ stw r0, 0(r30) +/* 80340734 0033D694 81 83 00 00 */ lwz r12, 0(r3) +/* 80340738 0033D698 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 8034073C 0033D69C 7D 89 03 A6 */ mtctr r12 +/* 80340740 0033D6A0 4E 80 04 21 */ bctrl +/* 80340744 0033D6A4 80 1E 00 08 */ lwz r0, 8(r30) +/* 80340748 0033D6A8 2C 00 00 00 */ cmpwi r0, 0 +/* 8034074C 0033D6AC 40 81 00 0C */ ble lbl_80340758 +/* 80340750 0033D6B0 7F C3 F3 78 */ mr r3, r30 +/* 80340754 0033D6B4 4B FF FA 5D */ bl DebugDumpPool__11CSimplePoolCFv +lbl_80340758: +/* 80340758 0033D6B8 34 1E 00 1C */ addic. r0, r30, 0x1c +/* 8034075C 0033D6BC 41 82 00 14 */ beq lbl_80340770 +/* 80340760 0033D6C0 34 1E 00 1C */ addic. r0, r30, 0x1c +/* 80340764 0033D6C4 41 82 00 0C */ beq lbl_80340770 +/* 80340768 0033D6C8 38 7E 00 1C */ addi r3, r30, 0x1c +/* 8034076C 0033D6CC 4B CF 3B 99 */ bl sub_80034304 +lbl_80340770: +/* 80340770 0033D6D0 34 1E 00 04 */ addic. r0, r30, 4 +/* 80340774 0033D6D4 41 82 00 34 */ beq lbl_803407A8 +/* 80340778 0033D6D8 34 1E 00 04 */ addic. r0, r30, 4 +/* 8034077C 0033D6DC 41 82 00 2C */ beq lbl_803407A8 +/* 80340780 0033D6E0 80 9E 00 14 */ lwz r4, 0x14(r30) +/* 80340784 0033D6E4 28 04 00 00 */ cmplwi r4, 0 +/* 80340788 0033D6E8 41 82 00 0C */ beq lbl_80340794 +/* 8034078C 0033D6EC 38 7E 00 04 */ addi r3, r30, 4 +/* 80340790 0033D6F0 48 00 01 8D */ bl sub_8034091c +lbl_80340794: +/* 80340794 0033D6F4 38 00 00 00 */ li r0, 0 +/* 80340798 0033D6F8 90 1E 00 14 */ stw r0, 0x14(r30) +/* 8034079C 0033D6FC 90 1E 00 0C */ stw r0, 0xc(r30) +/* 803407A0 0033D700 90 1E 00 10 */ stw r0, 0x10(r30) +/* 803407A4 0033D704 90 1E 00 08 */ stw r0, 8(r30) +lbl_803407A8: +/* 803407A8 0033D708 7F E0 07 35 */ extsh. r0, r31 +/* 803407AC 0033D70C 40 81 00 0C */ ble lbl_803407B8 +/* 803407B0 0033D710 7F C3 F3 78 */ mr r3, r30 +/* 803407B4 0033D714 4B FD 51 7D */ bl Free__7CMemoryFPCv +lbl_803407B8: +/* 803407B8 0033D718 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803407BC 0033D71C 7F C3 F3 78 */ mr r3, r30 +/* 803407C0 0033D720 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803407C4 0033D724 83 C1 00 08 */ lwz r30, 8(r1) +/* 803407C8 0033D728 7C 08 03 A6 */ mtlr r0 +/* 803407CC 0033D72C 38 21 00 10 */ addi r1, r1, 0x10 +/* 803407D0 0033D730 4E 80 00 20 */ blr + +.global __ct__11CSimplePoolFR8IFactory +__ct__11CSimplePoolFR8IFactory: +/* 803407D4 0033D734 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803407D8 0033D738 7C 08 02 A6 */ mflr r0 +/* 803407DC 0033D73C 3C A0 80 3F */ lis r5, lbl_803EE3E4@ha +/* 803407E0 0033D740 90 01 00 24 */ stw r0, 0x24(r1) +/* 803407E4 0033D744 38 05 E3 E4 */ addi r0, r5, lbl_803EE3E4@l +/* 803407E8 0033D748 88 A1 00 08 */ lbz r5, 8(r1) +/* 803407EC 0033D74C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 803407F0 0033D750 7C 7F 1B 78 */ mr r31, r3 +/* 803407F4 0033D754 3C 60 80 3F */ lis r3, lbl_803EE410@ha +/* 803407F8 0033D758 93 C1 00 18 */ stw r30, 0x18(r1) +/* 803407FC 0033D75C 38 63 E4 10 */ addi r3, r3, lbl_803EE410@l +/* 80340800 0033D760 90 1F 00 00 */ stw r0, 0(r31) +/* 80340804 0033D764 38 00 00 00 */ li r0, 0 +/* 80340808 0033D768 90 7F 00 00 */ stw r3, 0(r31) +/* 8034080C 0033D76C 38 61 00 14 */ addi r3, r1, 0x14 +/* 80340810 0033D770 88 CD A9 48 */ lbz r6, lbl_805A9508@sda21(r13) +/* 80340814 0033D774 98 BF 00 04 */ stb r5, 4(r31) +/* 80340818 0033D778 98 DF 00 05 */ stb r6, 5(r31) +/* 8034081C 0033D77C 90 1F 00 08 */ stw r0, 8(r31) +/* 80340820 0033D780 90 1F 00 0C */ stw r0, 0xc(r31) +/* 80340824 0033D784 90 1F 00 10 */ stw r0, 0x10(r31) +/* 80340828 0033D788 90 1F 00 14 */ stw r0, 0x14(r31) +/* 8034082C 0033D78C 98 C1 00 0C */ stb r6, 0xc(r1) +/* 80340830 0033D790 90 9F 00 18 */ stw r4, 0x18(r31) +/* 80340834 0033D794 4B CF 41 21 */ bl Null__15CVParamTransferFv +/* 80340838 0033D798 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034083C 0033D79C 38 61 00 14 */ addi r3, r1, 0x14 +/* 80340840 0033D7A0 90 1F 00 1C */ stw r0, 0x1c(r31) +/* 80340844 0033D7A4 80 BF 00 1C */ lwz r5, 0x1c(r31) +/* 80340848 0033D7A8 80 85 00 04 */ lwz r4, 4(r5) +/* 8034084C 0033D7AC 38 04 00 01 */ addi r0, r4, 1 +/* 80340850 0033D7B0 90 05 00 04 */ stw r0, 4(r5) +/* 80340854 0033D7B4 4B CF 3A B1 */ bl sub_80034304 +/* 80340858 0033D7B8 3C 80 80 3D */ lis r4, lbl_803D7A98@ha +/* 8034085C 0033D7BC 38 60 00 08 */ li r3, 8 +/* 80340860 0033D7C0 38 84 7A 98 */ addi r4, r4, lbl_803D7A98@l +/* 80340864 0033D7C4 38 A0 00 00 */ li r5, 0 +/* 80340868 0033D7C8 4B FD 50 05 */ bl __nw__FUlPCcPCc +/* 8034086C 0033D7CC 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80340870 0033D7D0 41 82 00 2C */ beq lbl_8034089C +/* 80340874 0033D7D4 3C 60 80 3E */ lis r3, lbl_803D8D6C@ha +/* 80340878 0033D7D8 3C 80 80 3E */ lis r4, lbl_803D9C44@ha +/* 8034087C 0033D7DC 38 03 8D 6C */ addi r0, r3, lbl_803D8D6C@l +/* 80340880 0033D7E0 3C 60 80 3F */ lis r3, lbl_803EE3D8@ha +/* 80340884 0033D7E4 90 1E 00 00 */ stw r0, 0(r30) +/* 80340888 0033D7E8 38 84 9C 44 */ addi r4, r4, lbl_803D9C44@l +/* 8034088C 0033D7EC 38 03 E3 D8 */ addi r0, r3, lbl_803EE3D8@l +/* 80340890 0033D7F0 90 9E 00 00 */ stw r4, 0(r30) +/* 80340894 0033D7F4 90 1E 00 00 */ stw r0, 0(r30) +/* 80340898 0033D7F8 93 FE 00 04 */ stw r31, 4(r30) +lbl_8034089C: +/* 8034089C 0033D7FC 3C 80 80 3D */ lis r4, lbl_803D7A98@ha +/* 803408A0 0033D800 38 60 00 08 */ li r3, 8 +/* 803408A4 0033D804 38 84 7A 98 */ addi r4, r4, lbl_803D7A98@l +/* 803408A8 0033D808 38 A0 00 00 */ li r5, 0 +/* 803408AC 0033D80C 4B FD 4F C1 */ bl __nw__FUlPCcPCc +/* 803408B0 0033D810 28 03 00 00 */ cmplwi r3, 0 +/* 803408B4 0033D814 41 82 00 10 */ beq lbl_803408C4 +/* 803408B8 0033D818 93 C3 00 00 */ stw r30, 0(r3) +/* 803408BC 0033D81C 38 00 00 01 */ li r0, 1 +/* 803408C0 0033D820 90 03 00 04 */ stw r0, 4(r3) +lbl_803408C4: +/* 803408C4 0033D824 90 61 00 10 */ stw r3, 0x10(r1) +/* 803408C8 0033D828 38 9F 00 1C */ addi r4, r31, 0x1c +/* 803408CC 0033D82C 80 1F 00 1C */ lwz r0, 0x1c(r31) +/* 803408D0 0033D830 7C 00 18 40 */ cmplw r0, r3 +/* 803408D4 0033D834 41 82 00 24 */ beq lbl_803408F8 +/* 803408D8 0033D838 7C 83 23 78 */ mr r3, r4 +/* 803408DC 0033D83C 4B CF 3A 29 */ bl sub_80034304 +/* 803408E0 0033D840 80 01 00 10 */ lwz r0, 0x10(r1) +/* 803408E4 0033D844 90 1F 00 1C */ stw r0, 0x1c(r31) +/* 803408E8 0033D848 80 9F 00 1C */ lwz r4, 0x1c(r31) +/* 803408EC 0033D84C 80 64 00 04 */ lwz r3, 4(r4) +/* 803408F0 0033D850 38 03 00 01 */ addi r0, r3, 1 +/* 803408F4 0033D854 90 04 00 04 */ stw r0, 4(r4) +lbl_803408F8: +/* 803408F8 0033D858 38 61 00 10 */ addi r3, r1, 0x10 +/* 803408FC 0033D85C 4B CF 3A 09 */ bl sub_80034304 +/* 80340900 0033D860 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80340904 0033D864 7F E3 FB 78 */ mr r3, r31 +/* 80340908 0033D868 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8034090C 0033D86C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80340910 0033D870 7C 08 03 A6 */ mtlr r0 +/* 80340914 0033D874 38 21 00 20 */ addi r1, r1, 0x20 +/* 80340918 0033D878 4E 80 00 20 */ blr + +.global sub_8034091c +sub_8034091c: +/* 8034091C 0033D87C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80340920 0033D880 7C 08 02 A6 */ mflr r0 +/* 80340924 0033D884 90 01 00 14 */ stw r0, 0x14(r1) +/* 80340928 0033D888 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034092C 0033D88C 7C 9F 23 78 */ mr r31, r4 +/* 80340930 0033D890 93 C1 00 08 */ stw r30, 8(r1) +/* 80340934 0033D894 7C 7E 1B 78 */ mr r30, r3 +/* 80340938 0033D898 80 84 00 00 */ lwz r4, 0(r4) +/* 8034093C 0033D89C 28 04 00 00 */ cmplwi r4, 0 +/* 80340940 0033D8A0 41 82 00 08 */ beq lbl_80340948 +/* 80340944 0033D8A4 4B FF FF D9 */ bl sub_8034091c +lbl_80340948: +/* 80340948 0033D8A8 80 9F 00 04 */ lwz r4, 4(r31) +/* 8034094C 0033D8AC 28 04 00 00 */ cmplwi r4, 0 +/* 80340950 0033D8B0 41 82 00 0C */ beq lbl_8034095C +/* 80340954 0033D8B4 7F C3 F3 78 */ mr r3, r30 +/* 80340958 0033D8B8 4B FF FF C5 */ bl sub_8034091c +lbl_8034095C: +/* 8034095C 0033D8BC 28 1F 00 00 */ cmplwi r31, 0 +/* 80340960 0033D8C0 41 82 00 0C */ beq lbl_8034096C +/* 80340964 0033D8C4 7F E3 FB 78 */ mr r3, r31 +/* 80340968 0033D8C8 4B FD 4F C9 */ bl Free__7CMemoryFPCv +lbl_8034096C: +/* 8034096C 0033D8CC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80340970 0033D8D0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80340974 0033D8D4 83 C1 00 08 */ lwz r30, 8(r1) +/* 80340978 0033D8D8 7C 08 03 A6 */ mtlr r0 +/* 8034097C 0033D8DC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80340980 0033D8E0 4E 80 00 20 */ blr + +.global "reserve__Q24rstl47vector<10SObjectTag,Q24rstl17rmemory_allocator>Fi" +"reserve__Q24rstl47vector<10SObjectTag,Q24rstl17rmemory_allocator>Fi": +/* 80340984 0033D8E4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80340988 0033D8E8 7C 08 02 A6 */ mflr r0 +/* 8034098C 0033D8EC 90 01 00 34 */ stw r0, 0x34(r1) +/* 80340990 0033D8F0 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80340994 0033D8F4 7C 9F 23 78 */ mr r31, r4 +/* 80340998 0033D8F8 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8034099C 0033D8FC 7C 7E 1B 78 */ mr r30, r3 +/* 803409A0 0033D900 93 A1 00 24 */ stw r29, 0x24(r1) +/* 803409A4 0033D904 80 03 00 08 */ lwz r0, 8(r3) +/* 803409A8 0033D908 7C 1F 00 00 */ cmpw r31, r0 +/* 803409AC 0033D90C 40 81 00 B0 */ ble lbl_80340A5C +/* 803409B0 0033D910 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c +/* 803409B4 0033D914 40 82 00 0C */ bne lbl_803409C0 +/* 803409B8 0033D918 3B A0 00 00 */ li r29, 0 +/* 803409BC 0033D91C 48 00 00 18 */ b lbl_803409D4 +lbl_803409C0: +/* 803409C0 0033D920 3C 80 80 3D */ lis r4, lbl_803D7A98@ha +/* 803409C4 0033D924 38 A0 00 00 */ li r5, 0 +/* 803409C8 0033D928 38 84 7A 98 */ addi r4, r4, lbl_803D7A98@l +/* 803409CC 0033D92C 4B FD 4E 4D */ bl __nwa__FUlPCcPCc +/* 803409D0 0033D930 7C 7D 1B 78 */ mr r29, r3 +lbl_803409D4: +/* 803409D4 0033D934 80 1E 00 04 */ lwz r0, 4(r30) +/* 803409D8 0033D938 7F A4 EB 78 */ mr r4, r29 +/* 803409DC 0033D93C 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 803409E0 0033D940 54 00 18 38 */ slwi r0, r0, 3 +/* 803409E4 0033D944 7C 65 02 14 */ add r3, r5, r0 +/* 803409E8 0033D948 90 A1 00 10 */ stw r5, 0x10(r1) +/* 803409EC 0033D94C 90 61 00 08 */ stw r3, 8(r1) +/* 803409F0 0033D950 90 61 00 0C */ stw r3, 0xc(r1) +/* 803409F4 0033D954 90 A1 00 14 */ stw r5, 0x14(r1) +/* 803409F8 0033D958 48 00 00 24 */ b lbl_80340A1C +lbl_803409FC: +/* 803409FC 0033D95C 28 04 00 00 */ cmplwi r4, 0 +/* 80340A00 0033D960 41 82 00 14 */ beq lbl_80340A14 +/* 80340A04 0033D964 80 05 00 00 */ lwz r0, 0(r5) +/* 80340A08 0033D968 90 04 00 00 */ stw r0, 0(r4) +/* 80340A0C 0033D96C 80 05 00 04 */ lwz r0, 4(r5) +/* 80340A10 0033D970 90 04 00 04 */ stw r0, 4(r4) +lbl_80340A14: +/* 80340A14 0033D974 38 84 00 08 */ addi r4, r4, 8 +/* 80340A18 0033D978 38 A5 00 08 */ addi r5, r5, 8 +lbl_80340A1C: +/* 80340A1C 0033D97C 7C 05 18 40 */ cmplw r5, r3 +/* 80340A20 0033D980 40 82 FF DC */ bne lbl_803409FC +/* 80340A24 0033D984 80 1E 00 04 */ lwz r0, 4(r30) +/* 80340A28 0033D988 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80340A2C 0033D98C 54 00 18 38 */ slwi r0, r0, 3 +/* 80340A30 0033D990 7C 64 1B 78 */ mr r4, r3 +/* 80340A34 0033D994 7C 03 02 14 */ add r0, r3, r0 +/* 80340A38 0033D998 48 00 00 08 */ b lbl_80340A40 +lbl_80340A3C: +/* 80340A3C 0033D99C 38 84 00 08 */ addi r4, r4, 8 +lbl_80340A40: +/* 80340A40 0033D9A0 7C 04 00 40 */ cmplw r4, r0 +/* 80340A44 0033D9A4 40 82 FF F8 */ bne lbl_80340A3C +/* 80340A48 0033D9A8 28 03 00 00 */ cmplwi r3, 0 +/* 80340A4C 0033D9AC 41 82 00 08 */ beq lbl_80340A54 +/* 80340A50 0033D9B0 4B FD 4E E1 */ bl Free__7CMemoryFPCv +lbl_80340A54: +/* 80340A54 0033D9B4 93 BE 00 0C */ stw r29, 0xc(r30) +/* 80340A58 0033D9B8 93 FE 00 08 */ stw r31, 8(r30) +lbl_80340A5C: +/* 80340A5C 0033D9BC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80340A60 0033D9C0 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80340A64 0033D9C4 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80340A68 0033D9C8 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80340A6C 0033D9CC 7C 08 03 A6 */ mtlr r0 +/* 80340A70 0033D9D0 38 21 00 30 */ addi r1, r1, 0x30 +/* 80340A74 0033D9D4 4E 80 00 20 */ blr + +.global sub_80340a78 +sub_80340a78: +/* 80340A78 0033D9D8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80340A7C 0033D9DC 7C 08 02 A6 */ mflr r0 +/* 80340A80 0033D9E0 28 05 00 00 */ cmplwi r5, 0 +/* 80340A84 0033D9E4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80340A88 0033D9E8 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 80340A8C 0033D9EC 7C 7C 1B 78 */ mr r28, r3 +/* 80340A90 0033D9F0 7C 9D 23 78 */ mr r29, r4 +/* 80340A94 0033D9F4 7C DE 33 78 */ mr r30, r6 +/* 80340A98 0033D9F8 40 82 00 90 */ bne lbl_80340B28 +/* 80340A9C 0033D9FC 3C 80 80 3D */ lis r4, lbl_803D7A98@ha +/* 80340AA0 0033DA00 38 60 00 1C */ li r3, 0x1c +/* 80340AA4 0033DA04 38 84 7A 98 */ addi r4, r4, lbl_803D7A98@l +/* 80340AA8 0033DA08 38 A0 00 00 */ li r5, 0 +/* 80340AAC 0033DA0C 4B FD 4D 6D */ bl __nwa__FUlPCcPCc +/* 80340AB0 0033DA10 28 03 00 00 */ cmplwi r3, 0 +/* 80340AB4 0033DA14 41 82 00 38 */ beq lbl_80340AEC +/* 80340AB8 0033DA18 38 00 00 00 */ li r0, 0 +/* 80340ABC 0033DA1C 34 83 00 10 */ addic. r4, r3, 0x10 +/* 80340AC0 0033DA20 90 03 00 00 */ stw r0, 0(r3) +/* 80340AC4 0033DA24 90 03 00 04 */ stw r0, 4(r3) +/* 80340AC8 0033DA28 90 03 00 08 */ stw r0, 8(r3) +/* 80340ACC 0033DA2C 90 03 00 0C */ stw r0, 0xc(r3) +/* 80340AD0 0033DA30 41 82 00 1C */ beq lbl_80340AEC +/* 80340AD4 0033DA34 80 1E 00 00 */ lwz r0, 0(r30) +/* 80340AD8 0033DA38 90 04 00 00 */ stw r0, 0(r4) +/* 80340ADC 0033DA3C 80 1E 00 04 */ lwz r0, 4(r30) +/* 80340AE0 0033DA40 90 04 00 04 */ stw r0, 4(r4) +/* 80340AE4 0033DA44 80 1E 00 08 */ lwz r0, 8(r30) +/* 80340AE8 0033DA48 90 04 00 08 */ stw r0, 8(r4) +lbl_80340AEC: +/* 80340AEC 0033DA4C 90 7D 00 10 */ stw r3, 0x10(r29) +/* 80340AF0 0033DA50 38 1D 00 08 */ addi r0, r29, 8 +/* 80340AF4 0033DA54 80 7D 00 04 */ lwz r3, 4(r29) +/* 80340AF8 0033DA58 38 63 00 01 */ addi r3, r3, 1 +/* 80340AFC 0033DA5C 90 7D 00 04 */ stw r3, 4(r29) +/* 80340B00 0033DA60 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 80340B04 0033DA64 90 7D 00 08 */ stw r3, 8(r29) +/* 80340B08 0033DA68 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 80340B0C 0033DA6C 90 7D 00 0C */ stw r3, 0xc(r29) +/* 80340B10 0033DA70 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 80340B14 0033DA74 90 7C 00 00 */ stw r3, 0(r28) +/* 80340B18 0033DA78 90 1C 00 04 */ stw r0, 4(r28) +/* 80340B1C 0033DA7C 88 0D 9D 50 */ lbz r0, lbl_805A8910@sda21(r13) +/* 80340B20 0033DA80 98 1C 00 08 */ stb r0, 8(r28) +/* 80340B24 0033DA84 48 00 01 8C */ b lbl_80340CB0 +lbl_80340B28: +/* 80340B28 0033DA88 7C BF 2B 78 */ mr r31, r5 +/* 80340B2C 0033DA8C 3B 60 00 00 */ li r27, 0 +/* 80340B30 0033DA90 48 00 01 4C */ b lbl_80340C7C +lbl_80340B34: +/* 80340B34 0033DA94 80 7E 00 04 */ lwz r3, 4(r30) +/* 80340B38 0033DA98 80 9F 00 14 */ lwz r4, 0x14(r31) +/* 80340B3C 0033DA9C 7C 80 1A 78 */ xor r0, r4, r3 +/* 80340B40 0033DAA0 7C 00 00 34 */ cntlzw r0, r0 +/* 80340B44 0033DAA4 7C 80 00 30 */ slw r0, r4, r0 +/* 80340B48 0033DAA8 54 00 0F FF */ rlwinm. r0, r0, 1, 0x1f, 0x1f +/* 80340B4C 0033DAAC 40 82 00 24 */ bne lbl_80340B70 +/* 80340B50 0033DAB0 7C 04 18 40 */ cmplw r4, r3 +/* 80340B54 0033DAB4 41 80 00 1C */ blt lbl_80340B70 +/* 80340B58 0033DAB8 93 FC 00 00 */ stw r31, 0(r28) +/* 80340B5C 0033DABC 38 1D 00 08 */ addi r0, r29, 8 +/* 80340B60 0033DAC0 90 1C 00 04 */ stw r0, 4(r28) +/* 80340B64 0033DAC4 88 0D 9D 51 */ lbz r0, lbl_805A8911@sda21(r13) +/* 80340B68 0033DAC8 98 1C 00 08 */ stb r0, 8(r28) +/* 80340B6C 0033DACC 48 00 01 44 */ b lbl_80340CB0 +lbl_80340B70: +/* 80340B70 0033DAD0 28 00 00 00 */ cmplwi r0, 0 +/* 80340B74 0033DAD4 41 82 00 88 */ beq lbl_80340BFC +/* 80340B78 0033DAD8 80 1F 00 00 */ lwz r0, 0(r31) +/* 80340B7C 0033DADC 28 00 00 00 */ cmplwi r0, 0 +/* 80340B80 0033DAE0 40 82 00 74 */ bne lbl_80340BF4 +/* 80340B84 0033DAE4 3C 80 80 3D */ lis r4, lbl_803D7A98@ha +/* 80340B88 0033DAE8 38 60 00 1C */ li r3, 0x1c +/* 80340B8C 0033DAEC 38 84 7A 98 */ addi r4, r4, lbl_803D7A98@l +/* 80340B90 0033DAF0 38 A0 00 00 */ li r5, 0 +/* 80340B94 0033DAF4 4B FD 4C 85 */ bl __nwa__FUlPCcPCc +/* 80340B98 0033DAF8 28 03 00 00 */ cmplwi r3, 0 +/* 80340B9C 0033DAFC 41 82 00 3C */ beq lbl_80340BD8 +/* 80340BA0 0033DB00 38 80 00 00 */ li r4, 0 +/* 80340BA4 0033DB04 34 A3 00 10 */ addic. r5, r3, 0x10 +/* 80340BA8 0033DB08 90 83 00 00 */ stw r4, 0(r3) +/* 80340BAC 0033DB0C 38 00 00 01 */ li r0, 1 +/* 80340BB0 0033DB10 90 83 00 04 */ stw r4, 4(r3) +/* 80340BB4 0033DB14 93 E3 00 08 */ stw r31, 8(r3) +/* 80340BB8 0033DB18 90 03 00 0C */ stw r0, 0xc(r3) +/* 80340BBC 0033DB1C 41 82 00 1C */ beq lbl_80340BD8 +/* 80340BC0 0033DB20 80 1E 00 00 */ lwz r0, 0(r30) +/* 80340BC4 0033DB24 90 05 00 00 */ stw r0, 0(r5) +/* 80340BC8 0033DB28 80 1E 00 04 */ lwz r0, 4(r30) +/* 80340BCC 0033DB2C 90 05 00 04 */ stw r0, 4(r5) +/* 80340BD0 0033DB30 80 1E 00 08 */ lwz r0, 8(r30) +/* 80340BD4 0033DB34 90 05 00 08 */ stw r0, 8(r5) +lbl_80340BD8: +/* 80340BD8 0033DB38 90 7F 00 00 */ stw r3, 0(r31) +/* 80340BDC 0033DB3C 7C 7B 1B 78 */ mr r27, r3 +/* 80340BE0 0033DB40 80 1D 00 08 */ lwz r0, 8(r29) +/* 80340BE4 0033DB44 7C 1F 00 40 */ cmplw r31, r0 +/* 80340BE8 0033DB48 40 82 00 94 */ bne lbl_80340C7C +/* 80340BEC 0033DB4C 90 7D 00 08 */ stw r3, 8(r29) +/* 80340BF0 0033DB50 48 00 00 8C */ b lbl_80340C7C +lbl_80340BF4: +/* 80340BF4 0033DB54 7C 1F 03 78 */ mr r31, r0 +/* 80340BF8 0033DB58 48 00 00 84 */ b lbl_80340C7C +lbl_80340BFC: +/* 80340BFC 0033DB5C 80 1F 00 04 */ lwz r0, 4(r31) +/* 80340C00 0033DB60 28 00 00 00 */ cmplwi r0, 0 +/* 80340C04 0033DB64 40 82 00 74 */ bne lbl_80340C78 +/* 80340C08 0033DB68 3C 80 80 3D */ lis r4, lbl_803D7A98@ha +/* 80340C0C 0033DB6C 38 60 00 1C */ li r3, 0x1c +/* 80340C10 0033DB70 38 84 7A 98 */ addi r4, r4, lbl_803D7A98@l +/* 80340C14 0033DB74 38 A0 00 00 */ li r5, 0 +/* 80340C18 0033DB78 4B FD 4C 01 */ bl __nwa__FUlPCcPCc +/* 80340C1C 0033DB7C 28 03 00 00 */ cmplwi r3, 0 +/* 80340C20 0033DB80 41 82 00 3C */ beq lbl_80340C5C +/* 80340C24 0033DB84 38 80 00 00 */ li r4, 0 +/* 80340C28 0033DB88 34 A3 00 10 */ addic. r5, r3, 0x10 +/* 80340C2C 0033DB8C 90 83 00 00 */ stw r4, 0(r3) +/* 80340C30 0033DB90 38 00 00 01 */ li r0, 1 +/* 80340C34 0033DB94 90 83 00 04 */ stw r4, 4(r3) +/* 80340C38 0033DB98 93 E3 00 08 */ stw r31, 8(r3) +/* 80340C3C 0033DB9C 90 03 00 0C */ stw r0, 0xc(r3) +/* 80340C40 0033DBA0 41 82 00 1C */ beq lbl_80340C5C +/* 80340C44 0033DBA4 80 1E 00 00 */ lwz r0, 0(r30) +/* 80340C48 0033DBA8 90 05 00 00 */ stw r0, 0(r5) +/* 80340C4C 0033DBAC 80 1E 00 04 */ lwz r0, 4(r30) +/* 80340C50 0033DBB0 90 05 00 04 */ stw r0, 4(r5) +/* 80340C54 0033DBB4 80 1E 00 08 */ lwz r0, 8(r30) +/* 80340C58 0033DBB8 90 05 00 08 */ stw r0, 8(r5) +lbl_80340C5C: +/* 80340C5C 0033DBBC 90 7F 00 04 */ stw r3, 4(r31) +/* 80340C60 0033DBC0 7C 7B 1B 78 */ mr r27, r3 +/* 80340C64 0033DBC4 80 1D 00 0C */ lwz r0, 0xc(r29) +/* 80340C68 0033DBC8 7C 1F 00 40 */ cmplw r31, r0 +/* 80340C6C 0033DBCC 40 82 00 10 */ bne lbl_80340C7C +/* 80340C70 0033DBD0 90 7D 00 0C */ stw r3, 0xc(r29) +/* 80340C74 0033DBD4 48 00 00 08 */ b lbl_80340C7C +lbl_80340C78: +/* 80340C78 0033DBD8 7C 1F 03 78 */ mr r31, r0 +lbl_80340C7C: +/* 80340C7C 0033DBDC 28 1B 00 00 */ cmplwi r27, 0 +/* 80340C80 0033DBE0 41 82 FE B4 */ beq lbl_80340B34 +/* 80340C84 0033DBE4 80 BD 00 04 */ lwz r5, 4(r29) +/* 80340C88 0033DBE8 7F 64 DB 78 */ mr r4, r27 +/* 80340C8C 0033DBEC 38 7D 00 08 */ addi r3, r29, 8 +/* 80340C90 0033DBF0 38 05 00 01 */ addi r0, r5, 1 +/* 80340C94 0033DBF4 90 1D 00 04 */ stw r0, 4(r29) +/* 80340C98 0033DBF8 4B FF BE 01 */ bl rbtree_rebalance__4rstlFPvPv +/* 80340C9C 0033DBFC 93 7C 00 00 */ stw r27, 0(r28) +/* 80340CA0 0033DC00 38 1D 00 08 */ addi r0, r29, 8 +/* 80340CA4 0033DC04 90 1C 00 04 */ stw r0, 4(r28) +/* 80340CA8 0033DC08 88 0D 9D 52 */ lbz r0, lbl_805A8912@sda21(r13) +/* 80340CAC 0033DC0C 98 1C 00 08 */ stb r0, 8(r28) +lbl_80340CB0: +/* 80340CB0 0033DC10 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 80340CB4 0033DC14 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80340CB8 0033DC18 7C 08 03 A6 */ mtlr r0 +/* 80340CBC 0033DC1C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80340CC0 0033DC20 4E 80 00 20 */ blr diff --git a/asm/Kyoto/CTimeProvider.s b/asm/Kyoto/CTimeProvider.s new file mode 100644 index 00000000..3f1b4f20 --- /dev/null +++ b/asm/Kyoto/CTimeProvider.s @@ -0,0 +1,67 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __dt__13CTimeProviderFv +__dt__13CTimeProviderFv: +/* 8035825C 003551BC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80358260 003551C0 7C 08 02 A6 */ mflr r0 +/* 80358264 003551C4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80358268 003551C8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8035826C 003551CC 7C 9F 23 78 */ mr r31, r4 +/* 80358270 003551D0 93 C1 00 08 */ stw r30, 8(r1) +/* 80358274 003551D4 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80358278 003551D8 41 82 00 40 */ beq lbl_803582B8 +/* 8035827C 003551DC 80 7E 00 08 */ lwz r3, 8(r30) +/* 80358280 003551E0 28 03 00 00 */ cmplwi r3, 0 +/* 80358284 003551E4 90 6D AA 98 */ stw r3, lbl_805A9658@sda21(r13) +/* 80358288 003551E8 41 82 00 18 */ beq lbl_803582A0 +/* 8035828C 003551EC 38 00 00 01 */ li r0, 1 +/* 80358290 003551F0 98 03 00 04 */ stb r0, 4(r3) +/* 80358294 003551F4 80 6D AA 98 */ lwz r3, lbl_805A9658@sda21(r13) +/* 80358298 003551F8 4B FB 1C 41 */ bl SetExternalTimeProvider__9CGraphicsFP13CTimeProvider +/* 8035829C 003551FC 48 00 00 0C */ b lbl_803582A8 +lbl_803582A0: +/* 803582A0 00355200 38 60 00 00 */ li r3, 0 +/* 803582A4 00355204 4B FB 1C 35 */ bl SetExternalTimeProvider__9CGraphicsFP13CTimeProvider +lbl_803582A8: +/* 803582A8 00355208 7F E0 07 35 */ extsh. r0, r31 +/* 803582AC 0035520C 40 81 00 0C */ ble lbl_803582B8 +/* 803582B0 00355210 7F C3 F3 78 */ mr r3, r30 +/* 803582B4 00355214 4B FB D6 7D */ bl Free__7CMemoryFPCv +lbl_803582B8: +/* 803582B8 00355218 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803582BC 0035521C 7F C3 F3 78 */ mr r3, r30 +/* 803582C0 00355220 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803582C4 00355224 83 C1 00 08 */ lwz r30, 8(r1) +/* 803582C8 00355228 7C 08 03 A6 */ mtlr r0 +/* 803582CC 0035522C 38 21 00 10 */ addi r1, r1, 0x10 +/* 803582D0 00355230 4E 80 00 20 */ blr + +.global __ct__13CTimeProviderFRCf +__ct__13CTimeProviderFRCf: +/* 803582D4 00355234 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803582D8 00355238 7C 08 02 A6 */ mflr r0 +/* 803582DC 0035523C 90 01 00 14 */ stw r0, 0x14(r1) +/* 803582E0 00355240 38 00 00 01 */ li r0, 1 +/* 803582E4 00355244 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803582E8 00355248 7C 7F 1B 78 */ mr r31, r3 +/* 803582EC 0035524C 90 83 00 00 */ stw r4, 0(r3) +/* 803582F0 00355250 98 03 00 04 */ stb r0, 4(r3) +/* 803582F4 00355254 80 0D AA 98 */ lwz r0, lbl_805A9658@sda21(r13) +/* 803582F8 00355258 90 03 00 08 */ stw r0, 8(r3) +/* 803582FC 0035525C 80 63 00 08 */ lwz r3, 8(r3) +/* 80358300 00355260 28 03 00 00 */ cmplwi r3, 0 +/* 80358304 00355264 41 82 00 0C */ beq lbl_80358310 +/* 80358308 00355268 38 00 00 00 */ li r0, 0 +/* 8035830C 0035526C 98 03 00 04 */ stb r0, 4(r3) +lbl_80358310: +/* 80358310 00355270 93 ED AA 98 */ stw r31, lbl_805A9658@sda21(r13) +/* 80358314 00355274 7F E3 FB 78 */ mr r3, r31 +/* 80358318 00355278 4B FB 1B C1 */ bl SetExternalTimeProvider__9CGraphicsFP13CTimeProvider +/* 8035831C 0035527C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80358320 00355280 7F E3 FB 78 */ mr r3, r31 +/* 80358324 00355284 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80358328 00355288 7C 08 03 A6 */ mtlr r0 +/* 8035832C 0035528C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80358330 00355290 4E 80 00 20 */ blr diff --git a/asm/Kyoto/CToken.s b/asm/Kyoto/CToken.s new file mode 100644 index 00000000..0594cd23 --- /dev/null +++ b/asm/Kyoto/CToken.s @@ -0,0 +1,249 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __as__6CTokenFRC6CToken +__as__6CTokenFRC6CToken: +/* 80340CC4 0033DC24 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80340CC8 0033DC28 7C 08 02 A6 */ mflr r0 +/* 80340CCC 0033DC2C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80340CD0 0033DC30 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80340CD4 0033DC34 7C 9F 23 78 */ mr r31, r4 +/* 80340CD8 0033DC38 93 C1 00 08 */ stw r30, 8(r1) +/* 80340CDC 0033DC3C 7C 7E 1B 78 */ mr r30, r3 +/* 80340CE0 0033DC40 7C 1F F0 40 */ cmplw r31, r30 +/* 80340CE4 0033DC44 40 82 00 08 */ bne lbl_80340CEC +/* 80340CE8 0033DC48 48 00 00 40 */ b lbl_80340D28 +lbl_80340CEC: +/* 80340CEC 0033DC4C 48 00 00 55 */ bl Unlock__6CTokenFv +/* 80340CF0 0033DC50 7F C3 F3 78 */ mr r3, r30 +/* 80340CF4 0033DC54 48 00 00 D5 */ bl RemoveRef__6CTokenFv +/* 80340CF8 0033DC58 80 1F 00 00 */ lwz r0, 0(r31) +/* 80340CFC 0033DC5C 90 1E 00 00 */ stw r0, 0(r30) +/* 80340D00 0033DC60 80 9E 00 00 */ lwz r4, 0(r30) +/* 80340D04 0033DC64 A8 64 00 00 */ lha r3, 0(r4) +/* 80340D08 0033DC68 38 03 00 01 */ addi r0, r3, 1 +/* 80340D0C 0033DC6C B0 04 00 00 */ sth r0, 0(r4) +/* 80340D10 0033DC70 88 1F 00 04 */ lbz r0, 4(r31) +/* 80340D14 0033DC74 28 00 00 00 */ cmplwi r0, 0 +/* 80340D18 0033DC78 41 82 00 0C */ beq lbl_80340D24 +/* 80340D1C 0033DC7C 7F C3 F3 78 */ mr r3, r30 +/* 80340D20 0033DC80 48 00 00 65 */ bl Lock__6CTokenFv +lbl_80340D24: +/* 80340D24 0033DC84 7F C3 F3 78 */ mr r3, r30 +lbl_80340D28: +/* 80340D28 0033DC88 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80340D2C 0033DC8C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80340D30 0033DC90 83 C1 00 08 */ lwz r30, 8(r1) +/* 80340D34 0033DC94 7C 08 03 A6 */ mtlr r0 +/* 80340D38 0033DC98 38 21 00 10 */ addi r1, r1, 0x10 +/* 80340D3C 0033DC9C 4E 80 00 20 */ blr + +.global Unlock__6CTokenFv +Unlock__6CTokenFv: +/* 80340D40 0033DCA0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80340D44 0033DCA4 7C 08 02 A6 */ mflr r0 +/* 80340D48 0033DCA8 90 01 00 14 */ stw r0, 0x14(r1) +/* 80340D4C 0033DCAC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80340D50 0033DCB0 7C 7F 1B 78 */ mr r31, r3 +/* 80340D54 0033DCB4 88 03 00 04 */ lbz r0, 4(r3) +/* 80340D58 0033DCB8 28 00 00 00 */ cmplwi r0, 0 +/* 80340D5C 0033DCBC 41 82 00 14 */ beq lbl_80340D70 +/* 80340D60 0033DCC0 80 7F 00 00 */ lwz r3, 0(r31) +/* 80340D64 0033DCC4 4B FF ED 81 */ bl Unlock__16CObjectReferenceFv +/* 80340D68 0033DCC8 38 00 00 00 */ li r0, 0 +/* 80340D6C 0033DCCC 98 1F 00 04 */ stb r0, 4(r31) +lbl_80340D70: +/* 80340D70 0033DCD0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80340D74 0033DCD4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80340D78 0033DCD8 7C 08 03 A6 */ mtlr r0 +/* 80340D7C 0033DCDC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80340D80 0033DCE0 4E 80 00 20 */ blr + +.global Lock__6CTokenFv +Lock__6CTokenFv: +/* 80340D84 0033DCE4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80340D88 0033DCE8 7C 08 02 A6 */ mflr r0 +/* 80340D8C 0033DCEC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80340D90 0033DCF0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80340D94 0033DCF4 7C 7F 1B 78 */ mr r31, r3 +/* 80340D98 0033DCF8 88 03 00 04 */ lbz r0, 4(r3) +/* 80340D9C 0033DCFC 28 00 00 00 */ cmplwi r0, 0 +/* 80340DA0 0033DD00 40 82 00 14 */ bne lbl_80340DB4 +/* 80340DA4 0033DD04 80 7F 00 00 */ lwz r3, 0(r31) +/* 80340DA8 0033DD08 4B FF EF E1 */ bl Lock__16CObjectReferenceFv +/* 80340DAC 0033DD0C 38 00 00 01 */ li r0, 1 +/* 80340DB0 0033DD10 98 1F 00 04 */ stb r0, 4(r31) +lbl_80340DB4: +/* 80340DB4 0033DD14 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80340DB8 0033DD18 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80340DBC 0033DD1C 7C 08 03 A6 */ mtlr r0 +/* 80340DC0 0033DD20 38 21 00 10 */ addi r1, r1, 0x10 +/* 80340DC4 0033DD24 4E 80 00 20 */ blr + +.global RemoveRef__6CTokenFv +RemoveRef__6CTokenFv: +/* 80340DC8 0033DD28 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80340DCC 0033DD2C 7C 08 02 A6 */ mflr r0 +/* 80340DD0 0033DD30 90 01 00 14 */ stw r0, 0x14(r1) +/* 80340DD4 0033DD34 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80340DD8 0033DD38 7C 7F 1B 78 */ mr r31, r3 +/* 80340DDC 0033DD3C 80 63 00 00 */ lwz r3, 0(r3) +/* 80340DE0 0033DD40 4B FF ED 91 */ bl RemoveReference__16CObjectReferenceFv +/* 80340DE4 0033DD44 2C 03 00 00 */ cmpwi r3, 0 +/* 80340DE8 0033DD48 40 82 00 10 */ bne lbl_80340DF8 +/* 80340DEC 0033DD4C 80 7F 00 00 */ lwz r3, 0(r31) +/* 80340DF0 0033DD50 38 80 00 01 */ li r4, 1 +/* 80340DF4 0033DD54 4B FF F0 35 */ bl __dt__16CObjectReferenceFv +lbl_80340DF8: +/* 80340DF8 0033DD58 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80340DFC 0033DD5C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80340E00 0033DD60 7C 08 03 A6 */ mtlr r0 +/* 80340E04 0033DD64 38 21 00 10 */ addi r1, r1, 0x10 +/* 80340E08 0033DD68 4E 80 00 20 */ blr + +.global GetObj__6CTokenFv +GetObj__6CTokenFv: +/* 80340E0C 0033DD6C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80340E10 0033DD70 7C 08 02 A6 */ mflr r0 +/* 80340E14 0033DD74 90 01 00 14 */ stw r0, 0x14(r1) +/* 80340E18 0033DD78 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80340E1C 0033DD7C 7C 7F 1B 78 */ mr r31, r3 +/* 80340E20 0033DD80 4B FF FF 65 */ bl Lock__6CTokenFv +/* 80340E24 0033DD84 80 7F 00 00 */ lwz r3, 0(r31) +/* 80340E28 0033DD88 4B FF EE A9 */ bl GetObject__16CObjectReferenceFv +/* 80340E2C 0033DD8C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80340E30 0033DD90 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80340E34 0033DD94 7C 08 03 A6 */ mtlr r0 +/* 80340E38 0033DD98 38 21 00 10 */ addi r1, r1, 0x10 +/* 80340E3C 0033DD9C 4E 80 00 20 */ blr + +.global __dt__6CTokenFv +__dt__6CTokenFv: +/* 80340E40 0033DDA0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80340E44 0033DDA4 7C 08 02 A6 */ mflr r0 +/* 80340E48 0033DDA8 90 01 00 14 */ stw r0, 0x14(r1) +/* 80340E4C 0033DDAC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80340E50 0033DDB0 7C 9F 23 78 */ mr r31, r4 +/* 80340E54 0033DDB4 93 C1 00 08 */ stw r30, 8(r1) +/* 80340E58 0033DDB8 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80340E5C 0033DDBC 41 82 00 30 */ beq lbl_80340E8C +/* 80340E60 0033DDC0 88 1E 00 04 */ lbz r0, 4(r30) +/* 80340E64 0033DDC4 28 00 00 00 */ cmplwi r0, 0 +/* 80340E68 0033DDC8 41 82 00 0C */ beq lbl_80340E74 +/* 80340E6C 0033DDCC 80 7E 00 00 */ lwz r3, 0(r30) +/* 80340E70 0033DDD0 4B FF EC 75 */ bl Unlock__16CObjectReferenceFv +lbl_80340E74: +/* 80340E74 0033DDD4 7F C3 F3 78 */ mr r3, r30 +/* 80340E78 0033DDD8 4B FF FF 51 */ bl RemoveRef__6CTokenFv +/* 80340E7C 0033DDDC 7F E0 07 35 */ extsh. r0, r31 +/* 80340E80 0033DDE0 40 81 00 0C */ ble lbl_80340E8C +/* 80340E84 0033DDE4 7F C3 F3 78 */ mr r3, r30 +/* 80340E88 0033DDE8 4B FD 4A A9 */ bl Free__7CMemoryFPCv +lbl_80340E8C: +/* 80340E8C 0033DDEC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80340E90 0033DDF0 7F C3 F3 78 */ mr r3, r30 +/* 80340E94 0033DDF4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80340E98 0033DDF8 83 C1 00 08 */ lwz r30, 8(r1) +/* 80340E9C 0033DDFC 7C 08 03 A6 */ mtlr r0 +/* 80340EA0 0033DE00 38 21 00 10 */ addi r1, r1, 0x10 +/* 80340EA4 0033DE04 4E 80 00 20 */ blr + +.global __ct__6CTokenFRC6CToken +__ct__6CTokenFRC6CToken: +/* 80340EA8 0033DE08 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80340EAC 0033DE0C 7C 08 02 A6 */ mflr r0 +/* 80340EB0 0033DE10 90 01 00 14 */ stw r0, 0x14(r1) +/* 80340EB4 0033DE14 38 00 00 00 */ li r0, 0 +/* 80340EB8 0033DE18 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80340EBC 0033DE1C 7C 7F 1B 78 */ mr r31, r3 +/* 80340EC0 0033DE20 80 A4 00 00 */ lwz r5, 0(r4) +/* 80340EC4 0033DE24 90 A3 00 00 */ stw r5, 0(r3) +/* 80340EC8 0033DE28 98 03 00 04 */ stb r0, 4(r3) +/* 80340ECC 0033DE2C 80 C3 00 00 */ lwz r6, 0(r3) +/* 80340ED0 0033DE30 A8 A6 00 00 */ lha r5, 0(r6) +/* 80340ED4 0033DE34 38 05 00 01 */ addi r0, r5, 1 +/* 80340ED8 0033DE38 B0 06 00 00 */ sth r0, 0(r6) +/* 80340EDC 0033DE3C 88 04 00 04 */ lbz r0, 4(r4) +/* 80340EE0 0033DE40 28 00 00 00 */ cmplwi r0, 0 +/* 80340EE4 0033DE44 41 82 00 08 */ beq lbl_80340EEC +/* 80340EE8 0033DE48 4B FF FE 9D */ bl Lock__6CTokenFv +lbl_80340EEC: +/* 80340EEC 0033DE4C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80340EF0 0033DE50 7F E3 FB 78 */ mr r3, r31 +/* 80340EF4 0033DE54 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80340EF8 0033DE58 7C 08 03 A6 */ mtlr r0 +/* 80340EFC 0033DE5C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80340F00 0033DE60 4E 80 00 20 */ blr + +.global __ct__6CTokenFP4IObj +__ct__6CTokenFP4IObj: +/* 80340F04 0033DE64 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80340F08 0033DE68 7C 08 02 A6 */ mflr r0 +/* 80340F0C 0033DE6C 3C A0 80 3D */ lis r5, lbl_803D7AA0@ha +/* 80340F10 0033DE70 90 01 00 24 */ stw r0, 0x24(r1) +/* 80340F14 0033DE74 38 05 7A A0 */ addi r0, r5, lbl_803D7AA0@l +/* 80340F18 0033DE78 38 A0 00 00 */ li r5, 0 +/* 80340F1C 0033DE7C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80340F20 0033DE80 7C 9F 23 78 */ mr r31, r4 +/* 80340F24 0033DE84 7C 04 03 78 */ mr r4, r0 +/* 80340F28 0033DE88 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80340F2C 0033DE8C 7C 7E 1B 78 */ mr r30, r3 +/* 80340F30 0033DE90 38 60 00 18 */ li r3, 0x18 +/* 80340F34 0033DE94 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80340F38 0033DE98 3B A0 00 00 */ li r29, 0 +/* 80340F3C 0033DE9C 4B FD 49 31 */ bl __nw__FUlPCcPCc +/* 80340F40 0033DEA0 7C 64 1B 79 */ or. r4, r3, r3 +/* 80340F44 0033DEA4 41 82 00 28 */ beq lbl_80340F6C +/* 80340F48 0033DEA8 7C 1F 00 D0 */ neg r0, r31 +/* 80340F4C 0033DEAC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80340F50 0033DEB0 7C 00 FB 78 */ or r0, r0, r31 +/* 80340F54 0033DEB4 38 81 00 08 */ addi r4, r1, 8 +/* 80340F58 0033DEB8 54 00 0F FE */ srwi r0, r0, 0x1f +/* 80340F5C 0033DEBC 3B A0 00 01 */ li r29, 1 +/* 80340F60 0033DEC0 98 01 00 08 */ stb r0, 8(r1) +/* 80340F64 0033DEC4 4B FF EF 8D */ bl "__ct__16CObjectReferenceFRCQ24rstl15auto_ptr<4IObj>" +/* 80340F68 0033DEC8 7C 64 1B 78 */ mr r4, r3 +lbl_80340F6C: +/* 80340F6C 0033DECC 7F A0 07 75 */ extsb. r0, r29 +/* 80340F70 0033DED0 90 9E 00 00 */ stw r4, 0(r30) +/* 80340F74 0033DED4 41 82 00 30 */ beq lbl_80340FA4 +/* 80340F78 0033DED8 88 01 00 08 */ lbz r0, 8(r1) +/* 80340F7C 0033DEDC 28 00 00 00 */ cmplwi r0, 0 +/* 80340F80 0033DEE0 41 82 00 24 */ beq lbl_80340FA4 +/* 80340F84 0033DEE4 80 61 00 0C */ lwz r3, 0xc(r1) +/* 80340F88 0033DEE8 28 03 00 00 */ cmplwi r3, 0 +/* 80340F8C 0033DEEC 41 82 00 18 */ beq lbl_80340FA4 +/* 80340F90 0033DEF0 81 83 00 00 */ lwz r12, 0(r3) +/* 80340F94 0033DEF4 38 80 00 01 */ li r4, 1 +/* 80340F98 0033DEF8 81 8C 00 08 */ lwz r12, 8(r12) +/* 80340F9C 0033DEFC 7D 89 03 A6 */ mtctr r12 +/* 80340FA0 0033DF00 4E 80 04 21 */ bctrl +lbl_80340FA4: +/* 80340FA4 0033DF04 38 00 00 00 */ li r0, 0 +/* 80340FA8 0033DF08 7F C3 F3 78 */ mr r3, r30 +/* 80340FAC 0033DF0C 98 1E 00 04 */ stb r0, 4(r30) +/* 80340FB0 0033DF10 80 BE 00 00 */ lwz r5, 0(r30) +/* 80340FB4 0033DF14 A8 85 00 00 */ lha r4, 0(r5) +/* 80340FB8 0033DF18 38 04 00 01 */ addi r0, r4, 1 +/* 80340FBC 0033DF1C B0 05 00 00 */ sth r0, 0(r5) +/* 80340FC0 0033DF20 4B FF FD C5 */ bl Lock__6CTokenFv +/* 80340FC4 0033DF24 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80340FC8 0033DF28 7F C3 F3 78 */ mr r3, r30 +/* 80340FCC 0033DF2C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80340FD0 0033DF30 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80340FD4 0033DF34 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80340FD8 0033DF38 7C 08 03 A6 */ mtlr r0 +/* 80340FDC 0033DF3C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80340FE0 0033DF40 4E 80 00 20 */ blr + +.global __ct__6CTokenFP16CObjectReference +__ct__6CTokenFP16CObjectReference: +/* 80340FE4 0033DF44 90 83 00 00 */ stw r4, 0(r3) +/* 80340FE8 0033DF48 38 00 00 00 */ li r0, 0 +/* 80340FEC 0033DF4C 98 03 00 04 */ stb r0, 4(r3) +/* 80340FF0 0033DF50 80 A3 00 00 */ lwz r5, 0(r3) +/* 80340FF4 0033DF54 A8 85 00 00 */ lha r4, 0(r5) +/* 80340FF8 0033DF58 38 04 00 01 */ addi r0, r4, 1 +/* 80340FFC 0033DF5C B0 05 00 00 */ sth r0, 0(r5) +/* 80341000 0033DF60 4E 80 00 20 */ blr diff --git a/asm/Kyoto/DolphinCDvdFile.s b/asm/Kyoto/DolphinCDvdFile.s new file mode 100644 index 00000000..7bf3da23 --- /dev/null +++ b/asm/Kyoto/DolphinCDvdFile.s @@ -0,0 +1,925 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global UpdateFilePos__8CDvdFileFi +UpdateFilePos__8CDvdFileFi: +/* 8034F8D0 0034C830 38 04 00 1F */ addi r0, r4, 0x1f +/* 8034F8D4 0034C834 80 83 00 10 */ lwz r4, 0x10(r3) +/* 8034F8D8 0034C838 54 00 00 34 */ rlwinm r0, r0, 0, 0, 0x1a +/* 8034F8DC 0034C83C 7C 04 02 14 */ add r0, r4, r0 +/* 8034F8E0 0034C840 90 03 00 10 */ stw r0, 0x10(r3) +/* 8034F8E4 0034C844 80 83 00 14 */ lwz r4, 0x14(r3) +/* 8034F8E8 0034C848 80 03 00 10 */ lwz r0, 0x10(r3) +/* 8034F8EC 0034C84C 7C 00 20 00 */ cmpw r0, r4 +/* 8034F8F0 0034C850 4C 81 00 20 */ blelr +/* 8034F8F4 0034C854 90 83 00 10 */ stw r4, 0x10(r3) +/* 8034F8F8 0034C858 4E 80 00 20 */ blr + +.global CalcFileOffset__8CDvdFileFi11ESeekOrigin +CalcFileOffset__8CDvdFileFi11ESeekOrigin: +/* 8034F8FC 0034C85C 2C 05 00 01 */ cmpwi r5, 1 +/* 8034F900 0034C860 41 82 00 28 */ beq lbl_8034F928 +/* 8034F904 0034C864 40 80 00 10 */ bge lbl_8034F914 +/* 8034F908 0034C868 2C 05 00 00 */ cmpwi r5, 0 +/* 8034F90C 0034C86C 40 80 00 14 */ bge lbl_8034F920 +/* 8034F910 0034C870 4E 80 00 20 */ blr +lbl_8034F914: +/* 8034F914 0034C874 2C 05 00 03 */ cmpwi r5, 3 +/* 8034F918 0034C878 4C 80 00 20 */ bgelr +/* 8034F91C 0034C87C 48 00 00 1C */ b lbl_8034F938 +lbl_8034F920: +/* 8034F920 0034C880 90 83 00 10 */ stw r4, 0x10(r3) +/* 8034F924 0034C884 4E 80 00 20 */ blr +lbl_8034F928: +/* 8034F928 0034C888 80 03 00 10 */ lwz r0, 0x10(r3) +/* 8034F92C 0034C88C 7C 00 22 14 */ add r0, r0, r4 +/* 8034F930 0034C890 90 03 00 10 */ stw r0, 0x10(r3) +/* 8034F934 0034C894 4E 80 00 20 */ blr +lbl_8034F938: +/* 8034F938 0034C898 80 03 00 14 */ lwz r0, 0x14(r3) +/* 8034F93C 0034C89C 7C 04 02 14 */ add r0, r4, r0 +/* 8034F940 0034C8A0 90 03 00 10 */ stw r0, 0x10(r3) +/* 8034F944 0034C8A4 4E 80 00 20 */ blr + +.global internalCallback__8CDvdFileFlP11DVDFileInfo +internalCallback__8CDvdFileFlP11DVDFileInfo: +/* 8034F948 0034C8A8 4E 80 00 20 */ blr + +.global FileExists__8CDvdFileFPCc +FileExists__8CDvdFileFPCc: +/* 8034F94C 0034C8AC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034F950 0034C8B0 7C 08 02 A6 */ mflr r0 +/* 8034F954 0034C8B4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034F958 0034C8B8 48 00 0B 99 */ bl DecodeARAMFile__FPCc +/* 8034F95C 0034C8BC 48 02 19 C1 */ bl DVDConvertPathToEntrynum +/* 8034F960 0034C8C0 20 83 FF FF */ subfic r4, r3, -1 +/* 8034F964 0034C8C4 38 03 00 01 */ addi r0, r3, 1 +/* 8034F968 0034C8C8 7C 80 03 78 */ or r0, r4, r0 +/* 8034F96C 0034C8CC 54 03 0F FE */ srwi r3, r0, 0x1f +/* 8034F970 0034C8D0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034F974 0034C8D4 7C 08 03 A6 */ mtlr r0 +/* 8034F978 0034C8D8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034F97C 0034C8DC 4E 80 00 20 */ blr + +.global CloseFile__8CDvdFileFv +CloseFile__8CDvdFileFv: +/* 8034F980 0034C8E0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034F984 0034C8E4 7C 08 02 A6 */ mflr r0 +/* 8034F988 0034C8E8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034F98C 0034C8EC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034F990 0034C8F0 7C 7F 1B 78 */ mr r31, r3 +/* 8034F994 0034C8F4 88 03 00 08 */ lbz r0, 8(r3) +/* 8034F998 0034C8F8 28 00 00 00 */ cmplwi r0, 0 +/* 8034F99C 0034C8FC 41 82 00 10 */ beq lbl_8034F9AC +/* 8034F9A0 0034C900 48 00 03 ED */ bl StallForARAMFile__8CDvdFileFv +/* 8034F9A4 0034C904 80 7F 00 04 */ lwz r3, 4(r31) +/* 8034F9A8 0034C908 4B FF 51 15 */ bl Free__12CARAMManagerFPCv +lbl_8034F9AC: +/* 8034F9AC 0034C90C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034F9B0 0034C910 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034F9B4 0034C914 7C 08 03 A6 */ mtlr r0 +/* 8034F9B8 0034C918 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034F9BC 0034C91C 4E 80 00 20 */ blr + +.global AsyncSeekRead__8CDvdFileFPvUi11ESeekOrigini +AsyncSeekRead__8CDvdFileFPvUi11ESeekOrigini: +/* 8034F9C0 0034C920 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8034F9C4 0034C924 7C 08 02 A6 */ mflr r0 +/* 8034F9C8 0034C928 90 01 00 24 */ stw r0, 0x24(r1) +/* 8034F9CC 0034C92C BF 61 00 0C */ stmw r27, 0xc(r1) +/* 8034F9D0 0034C930 7C 7D 1B 78 */ mr r29, r3 +/* 8034F9D4 0034C934 7C 9E 23 78 */ mr r30, r4 +/* 8034F9D8 0034C938 7C BF 2B 78 */ mr r31, r5 +/* 8034F9DC 0034C93C 7C DC 33 78 */ mr r28, r6 +/* 8034F9E0 0034C940 7C FB 3B 78 */ mr r27, r7 +/* 8034F9E4 0034C944 48 00 03 A9 */ bl StallForARAMFile__8CDvdFileFv +/* 8034F9E8 0034C948 7F A3 EB 78 */ mr r3, r29 +/* 8034F9EC 0034C94C 7F 64 DB 78 */ mr r4, r27 +/* 8034F9F0 0034C950 7F 85 E3 78 */ mr r5, r28 +/* 8034F9F4 0034C954 4B FF FF 09 */ bl CalcFileOffset__8CDvdFileFi11ESeekOrigin +/* 8034F9F8 0034C958 88 1D 00 08 */ lbz r0, 8(r29) +/* 8034F9FC 0034C95C 28 00 00 00 */ cmplwi r0, 0 +/* 8034FA00 0034C960 41 82 00 74 */ beq lbl_8034FA74 +/* 8034FA04 0034C964 38 1F 00 1F */ addi r0, r31, 0x1f +/* 8034FA08 0034C968 7F C3 F3 78 */ mr r3, r30 +/* 8034FA0C 0034C96C 54 1B 00 34 */ rlwinm r27, r0, 0, 0, 0x1a +/* 8034FA10 0034C970 7F 64 DB 78 */ mr r4, r27 +/* 8034FA14 0034C974 48 02 F0 9D */ bl DCFlushRange +/* 8034FA18 0034C978 3C 80 80 3E */ lis r4, lbl_803D8230@ha +/* 8034FA1C 0034C97C 38 60 00 08 */ li r3, 8 +/* 8034FA20 0034C980 38 84 82 30 */ addi r4, r4, lbl_803D8230@l +/* 8034FA24 0034C984 38 A0 00 00 */ li r5, 0 +/* 8034FA28 0034C988 4B FC 5E 45 */ bl __nw__FUlPCcPCc +/* 8034FA2C 0034C98C 7C 7C 1B 79 */ or. r28, r3, r3 +/* 8034FA30 0034C990 41 82 00 3C */ beq lbl_8034FA6C +/* 8034FA34 0034C994 80 7D 00 04 */ lwz r3, 4(r29) +/* 8034FA38 0034C998 7F C4 F3 78 */ mr r4, r30 +/* 8034FA3C 0034C99C 80 1D 00 10 */ lwz r0, 0x10(r29) +/* 8034FA40 0034C9A0 7F 65 DB 78 */ mr r5, r27 +/* 8034FA44 0034C9A4 38 C0 00 01 */ li r6, 1 +/* 8034FA48 0034C9A8 7C 63 02 14 */ add r3, r3, r0 +/* 8034FA4C 0034C9AC 4B FF 4E 05 */ bl DMAToMRAM__12CARAMManagerFPvPvUiQ212CARAMManager12EDMAPriority +/* 8034FA50 0034C9B0 3C A0 80 3E */ lis r5, lbl_803D9FF8@ha +/* 8034FA54 0034C9B4 3C 80 80 3F */ lis r4, lbl_803ED578@ha +/* 8034FA58 0034C9B8 38 05 9F F8 */ addi r0, r5, lbl_803D9FF8@l +/* 8034FA5C 0034C9BC 90 1C 00 00 */ stw r0, 0(r28) +/* 8034FA60 0034C9C0 38 04 D5 78 */ addi r0, r4, lbl_803ED578@l +/* 8034FA64 0034C9C4 90 1C 00 00 */ stw r0, 0(r28) +/* 8034FA68 0034C9C8 90 7C 00 04 */ stw r3, 4(r28) +lbl_8034FA6C: +/* 8034FA6C 0034C9CC 7F 9B E3 78 */ mr r27, r28 +/* 8034FA70 0034C9D0 48 00 00 70 */ b lbl_8034FAE0 +lbl_8034FA74: +/* 8034FA74 0034C9D4 3C 80 80 3E */ lis r4, lbl_803D8230@ha +/* 8034FA78 0034C9D8 38 60 00 40 */ li r3, 0x40 +/* 8034FA7C 0034C9DC 38 84 82 30 */ addi r4, r4, lbl_803D8230@l +/* 8034FA80 0034C9E0 38 A0 00 00 */ li r5, 0 +/* 8034FA84 0034C9E4 4B FC 5D E9 */ bl __nw__FUlPCcPCc +/* 8034FA88 0034C9E8 7C 7C 1B 79 */ or. r28, r3, r3 +/* 8034FA8C 0034C9EC 41 82 00 1C */ beq lbl_8034FAA8 +/* 8034FA90 0034C9F0 3C 80 80 3E */ lis r4, lbl_803D9FF8@ha +/* 8034FA94 0034C9F4 3C 60 80 3F */ lis r3, lbl_803ED594@ha +/* 8034FA98 0034C9F8 38 04 9F F8 */ addi r0, r4, lbl_803D9FF8@l +/* 8034FA9C 0034C9FC 90 1C 00 00 */ stw r0, 0(r28) +/* 8034FAA0 0034CA00 38 03 D5 94 */ addi r0, r3, lbl_803ED594@l +/* 8034FAA4 0034CA04 90 1C 00 00 */ stw r0, 0(r28) +lbl_8034FAA8: +/* 8034FAA8 0034CA08 3B 7C 00 04 */ addi r27, r28, 4 +/* 8034FAAC 0034CA0C 80 7D 00 00 */ lwz r3, 0(r29) +/* 8034FAB0 0034CA10 7F 64 DB 78 */ mr r4, r27 +/* 8034FAB4 0034CA14 48 02 1B 5D */ bl DVDFastOpen +/* 8034FAB8 0034CA18 3C 60 80 35 */ lis r3, internalCallback__8CDvdFileFlP11DVDFileInfo@ha +/* 8034FABC 0034CA1C 38 1F 00 1F */ addi r0, r31, 0x1f +/* 8034FAC0 0034CA20 38 E3 F9 48 */ addi r7, r3, internalCallback__8CDvdFileFlP11DVDFileInfo@l +/* 8034FAC4 0034CA24 80 DD 00 10 */ lwz r6, 0x10(r29) +/* 8034FAC8 0034CA28 7F 63 DB 78 */ mr r3, r27 +/* 8034FACC 0034CA2C 7F C4 F3 78 */ mr r4, r30 +/* 8034FAD0 0034CA30 54 05 00 34 */ rlwinm r5, r0, 0, 0, 0x1a +/* 8034FAD4 0034CA34 39 00 00 02 */ li r8, 2 +/* 8034FAD8 0034CA38 48 02 1E BD */ bl DVDReadAsyncPrio +/* 8034FADC 0034CA3C 7F 9B E3 78 */ mr r27, r28 +lbl_8034FAE0: +/* 8034FAE0 0034CA40 7F A3 EB 78 */ mr r3, r29 +/* 8034FAE4 0034CA44 7F E4 FB 78 */ mr r4, r31 +/* 8034FAE8 0034CA48 4B FF FD E9 */ bl UpdateFilePos__8CDvdFileFi +/* 8034FAEC 0034CA4C 7F 63 DB 78 */ mr r3, r27 +/* 8034FAF0 0034CA50 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 8034FAF4 0034CA54 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8034FAF8 0034CA58 7C 08 03 A6 */ mtlr r0 +/* 8034FAFC 0034CA5C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8034FB00 0034CA60 4E 80 00 20 */ blr + +.global SyncSeekRead__8CDvdFileFPvUi11ESeekOrigini +SyncSeekRead__8CDvdFileFPvUi11ESeekOrigini: +/* 8034FB04 0034CA64 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 8034FB08 0034CA68 7C 08 02 A6 */ mflr r0 +/* 8034FB0C 0034CA6C 90 01 00 64 */ stw r0, 0x64(r1) +/* 8034FB10 0034CA70 BF 61 00 4C */ stmw r27, 0x4c(r1) +/* 8034FB14 0034CA74 7C 7B 1B 78 */ mr r27, r3 +/* 8034FB18 0034CA78 7C 9C 23 78 */ mr r28, r4 +/* 8034FB1C 0034CA7C 7C BD 2B 78 */ mr r29, r5 +/* 8034FB20 0034CA80 7C DE 33 78 */ mr r30, r6 +/* 8034FB24 0034CA84 7C FF 3B 78 */ mr r31, r7 +/* 8034FB28 0034CA88 48 00 02 65 */ bl StallForARAMFile__8CDvdFileFv +/* 8034FB2C 0034CA8C 7F 63 DB 78 */ mr r3, r27 +/* 8034FB30 0034CA90 7F E4 FB 78 */ mr r4, r31 +/* 8034FB34 0034CA94 7F C5 F3 78 */ mr r5, r30 +/* 8034FB38 0034CA98 4B FF FD C5 */ bl CalcFileOffset__8CDvdFileFi11ESeekOrigin +/* 8034FB3C 0034CA9C 88 1B 00 08 */ lbz r0, 8(r27) +/* 8034FB40 0034CAA0 28 00 00 00 */ cmplwi r0, 0 +/* 8034FB44 0034CAA4 41 82 00 3C */ beq lbl_8034FB80 +/* 8034FB48 0034CAA8 38 1D 00 1F */ addi r0, r29, 0x1f +/* 8034FB4C 0034CAAC 7F 83 E3 78 */ mr r3, r28 +/* 8034FB50 0034CAB0 54 1F 00 34 */ rlwinm r31, r0, 0, 0, 0x1a +/* 8034FB54 0034CAB4 7F E4 FB 78 */ mr r4, r31 +/* 8034FB58 0034CAB8 48 02 EF 59 */ bl DCFlushRange +/* 8034FB5C 0034CABC 80 7B 00 04 */ lwz r3, 4(r27) +/* 8034FB60 0034CAC0 7F 84 E3 78 */ mr r4, r28 +/* 8034FB64 0034CAC4 80 1B 00 10 */ lwz r0, 0x10(r27) +/* 8034FB68 0034CAC8 7F E5 FB 78 */ mr r5, r31 +/* 8034FB6C 0034CACC 38 C0 00 01 */ li r6, 1 +/* 8034FB70 0034CAD0 7C 63 02 14 */ add r3, r3, r0 +/* 8034FB74 0034CAD4 4B FF 4C DD */ bl DMAToMRAM__12CARAMManagerFPvPvUiQ212CARAMManager12EDMAPriority +/* 8034FB78 0034CAD8 4B FF 4B D1 */ bl WaitForDMACompletion__12CARAMManagerFUi +/* 8034FB7C 0034CADC 48 00 00 4C */ b lbl_8034FBC8 +lbl_8034FB80: +/* 8034FB80 0034CAE0 80 7B 00 00 */ lwz r3, 0(r27) +/* 8034FB84 0034CAE4 38 81 00 08 */ addi r4, r1, 8 +/* 8034FB88 0034CAE8 48 02 1A 89 */ bl DVDFastOpen +/* 8034FB8C 0034CAEC 3C 60 80 35 */ lis r3, internalCallback__8CDvdFileFlP11DVDFileInfo@ha +/* 8034FB90 0034CAF0 38 1D 00 1F */ addi r0, r29, 0x1f +/* 8034FB94 0034CAF4 38 E3 F9 48 */ addi r7, r3, internalCallback__8CDvdFileFlP11DVDFileInfo@l +/* 8034FB98 0034CAF8 80 DB 00 10 */ lwz r6, 0x10(r27) +/* 8034FB9C 0034CAFC 7F 84 E3 78 */ mr r4, r28 +/* 8034FBA0 0034CB00 38 61 00 08 */ addi r3, r1, 8 +/* 8034FBA4 0034CB04 54 05 00 34 */ rlwinm r5, r0, 0, 0, 0x1a +/* 8034FBA8 0034CB08 39 00 00 02 */ li r8, 2 +/* 8034FBAC 0034CB0C 48 02 1D E9 */ bl DVDReadAsyncPrio +lbl_8034FBB0: +/* 8034FBB0 0034CB10 38 61 00 08 */ addi r3, r1, 8 +/* 8034FBB4 0034CB14 48 02 45 51 */ bl DVDGetCommandBlockStatus +/* 8034FBB8 0034CB18 2C 03 00 00 */ cmpwi r3, 0 +/* 8034FBBC 0034CB1C 40 82 FF F4 */ bne lbl_8034FBB0 +/* 8034FBC0 0034CB20 38 61 00 08 */ addi r3, r1, 8 +/* 8034FBC4 0034CB24 48 02 1B 89 */ bl DVDClose +lbl_8034FBC8: +/* 8034FBC8 0034CB28 7F 63 DB 78 */ mr r3, r27 +/* 8034FBCC 0034CB2C 7F A4 EB 78 */ mr r4, r29 +/* 8034FBD0 0034CB30 4B FF FD 01 */ bl UpdateFilePos__8CDvdFileFi +/* 8034FBD4 0034CB34 BB 61 00 4C */ lmw r27, 0x4c(r1) +/* 8034FBD8 0034CB38 80 01 00 64 */ lwz r0, 0x64(r1) +/* 8034FBDC 0034CB3C 7C 08 03 A6 */ mtlr r0 +/* 8034FBE0 0034CB40 38 21 00 60 */ addi r1, r1, 0x60 +/* 8034FBE4 0034CB44 4E 80 00 20 */ blr + +.global SyncRead__8CDvdFileFPvUi +SyncRead__8CDvdFileFPvUi: +/* 8034FBE8 0034CB48 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034FBEC 0034CB4C 7C 08 02 A6 */ mflr r0 +/* 8034FBF0 0034CB50 38 C0 00 01 */ li r6, 1 +/* 8034FBF4 0034CB54 38 E0 00 00 */ li r7, 0 +/* 8034FBF8 0034CB58 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034FBFC 0034CB5C 4B FF FD C5 */ bl AsyncSeekRead__8CDvdFileFPvUi11ESeekOrigini +/* 8034FC00 0034CB60 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034FC04 0034CB64 7C 08 03 A6 */ mtlr r0 +/* 8034FC08 0034CB68 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034FC0C 0034CB6C 4E 80 00 20 */ blr + +.global __dt__8CDvdFileFv +__dt__8CDvdFileFv: +/* 8034FC10 0034CB70 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8034FC14 0034CB74 7C 08 02 A6 */ mflr r0 +/* 8034FC18 0034CB78 90 01 00 24 */ stw r0, 0x24(r1) +/* 8034FC1C 0034CB7C BF 61 00 0C */ stmw r27, 0xc(r1) +/* 8034FC20 0034CB80 7C 7B 1B 79 */ or. r27, r3, r3 +/* 8034FC24 0034CB84 7C 9C 23 78 */ mr r28, r4 +/* 8034FC28 0034CB88 41 82 00 90 */ beq lbl_8034FCB8 +/* 8034FC2C 0034CB8C 4B FF FD 55 */ bl CloseFile__8CDvdFileFv +/* 8034FC30 0034CB90 34 1B 00 18 */ addic. r0, r27, 0x18 +/* 8034FC34 0034CB94 41 82 00 0C */ beq lbl_8034FC40 +/* 8034FC38 0034CB98 38 7B 00 18 */ addi r3, r27, 0x18 +/* 8034FC3C 0034CB9C 4B FE DE A5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8034FC40: +/* 8034FC40 0034CBA0 34 1B 00 0C */ addic. r0, r27, 0xc +/* 8034FC44 0034CBA4 41 82 00 64 */ beq lbl_8034FCA8 +/* 8034FC48 0034CBA8 83 FB 00 0C */ lwz r31, 0xc(r27) +/* 8034FC4C 0034CBAC 28 1F 00 00 */ cmplwi r31, 0 +/* 8034FC50 0034CBB0 41 82 00 58 */ beq lbl_8034FCA8 +/* 8034FC54 0034CBB4 34 1F 00 64 */ addic. r0, r31, 0x64 +/* 8034FC58 0034CBB8 41 82 00 48 */ beq lbl_8034FCA0 +/* 8034FC5C 0034CBBC 3B BF 00 68 */ addi r29, r31, 0x68 +/* 8034FC60 0034CBC0 3B C0 00 00 */ li r30, 0 +/* 8034FC64 0034CBC4 48 00 00 28 */ b lbl_8034FC8C +lbl_8034FC68: +/* 8034FC68 0034CBC8 28 1D 00 00 */ cmplwi r29, 0 +/* 8034FC6C 0034CBCC 41 82 00 18 */ beq lbl_8034FC84 +/* 8034FC70 0034CBD0 88 1D 00 00 */ lbz r0, 0(r29) +/* 8034FC74 0034CBD4 28 00 00 00 */ cmplwi r0, 0 +/* 8034FC78 0034CBD8 41 82 00 0C */ beq lbl_8034FC84 +/* 8034FC7C 0034CBDC 80 7D 00 04 */ lwz r3, 4(r29) +/* 8034FC80 0034CBE0 4B FC 5C B1 */ bl Free__7CMemoryFPCv +lbl_8034FC84: +/* 8034FC84 0034CBE4 3B BD 00 08 */ addi r29, r29, 8 +/* 8034FC88 0034CBE8 3B DE 00 01 */ addi r30, r30, 1 +lbl_8034FC8C: +/* 8034FC8C 0034CBEC 80 1F 00 64 */ lwz r0, 0x64(r31) +/* 8034FC90 0034CBF0 7C 1E 00 00 */ cmpw r30, r0 +/* 8034FC94 0034CBF4 41 80 FF D4 */ blt lbl_8034FC68 +/* 8034FC98 0034CBF8 38 00 00 00 */ li r0, 0 +/* 8034FC9C 0034CBFC 90 1F 00 64 */ stw r0, 0x64(r31) +lbl_8034FCA0: +/* 8034FCA0 0034CC00 7F E3 FB 78 */ mr r3, r31 +/* 8034FCA4 0034CC04 4B FC 5C 8D */ bl Free__7CMemoryFPCv +lbl_8034FCA8: +/* 8034FCA8 0034CC08 7F 80 07 35 */ extsh. r0, r28 +/* 8034FCAC 0034CC0C 40 81 00 0C */ ble lbl_8034FCB8 +/* 8034FCB0 0034CC10 7F 63 DB 78 */ mr r3, r27 +/* 8034FCB4 0034CC14 4B FC 5C 7D */ bl Free__7CMemoryFPCv +lbl_8034FCB8: +/* 8034FCB8 0034CC18 7F 63 DB 78 */ mr r3, r27 +/* 8034FCBC 0034CC1C BB 61 00 0C */ lmw r27, 0xc(r1) +/* 8034FCC0 0034CC20 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8034FCC4 0034CC24 7C 08 03 A6 */ mtlr r0 +/* 8034FCC8 0034CC28 38 21 00 20 */ addi r1, r1, 0x20 +/* 8034FCCC 0034CC2C 4E 80 00 20 */ blr + +.global __ct__8CDvdFileFPCc +__ct__8CDvdFileFPCc: +/* 8034FCD0 0034CC30 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 8034FCD4 0034CC34 7C 08 02 A6 */ mflr r0 +/* 8034FCD8 0034CC38 38 A0 FF FF */ li r5, -1 +/* 8034FCDC 0034CC3C 90 01 00 64 */ stw r0, 0x64(r1) +/* 8034FCE0 0034CC40 38 00 FF FF */ li r0, -1 +/* 8034FCE4 0034CC44 38 C1 00 08 */ addi r6, r1, 8 +/* 8034FCE8 0034CC48 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 8034FCEC 0034CC4C 93 C1 00 58 */ stw r30, 0x58(r1) +/* 8034FCF0 0034CC50 7C 9E 23 78 */ mr r30, r4 +/* 8034FCF4 0034CC54 93 A1 00 54 */ stw r29, 0x54(r1) +/* 8034FCF8 0034CC58 7C 7D 1B 78 */ mr r29, r3 +/* 8034FCFC 0034CC5C 90 03 00 00 */ stw r0, 0(r3) +/* 8034FD00 0034CC60 38 00 00 00 */ li r0, 0 +/* 8034FD04 0034CC64 38 7D 00 18 */ addi r3, r29, 0x18 +/* 8034FD08 0034CC68 90 1D 00 04 */ stw r0, 4(r29) +/* 8034FD0C 0034CC6C 98 1D 00 08 */ stb r0, 8(r29) +/* 8034FD10 0034CC70 98 1D 00 09 */ stb r0, 9(r29) +/* 8034FD14 0034CC74 90 1D 00 0C */ stw r0, 0xc(r29) +/* 8034FD18 0034CC78 90 1D 00 10 */ stw r0, 0x10(r29) +/* 8034FD1C 0034CC7C 90 1D 00 14 */ stw r0, 0x14(r29) +/* 8034FD20 0034CC80 4B FE E4 75 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" +/* 8034FD24 0034CC84 7F C3 F3 78 */ mr r3, r30 +/* 8034FD28 0034CC88 48 00 07 C9 */ bl DecodeARAMFile__FPCc +/* 8034FD2C 0034CC8C 7C 7F 1B 78 */ mr r31, r3 +/* 8034FD30 0034CC90 48 02 15 ED */ bl DVDConvertPathToEntrynum +/* 8034FD34 0034CC94 90 7D 00 00 */ stw r3, 0(r29) +/* 8034FD38 0034CC98 80 7D 00 00 */ lwz r3, 0(r29) +/* 8034FD3C 0034CC9C 2C 03 FF FF */ cmpwi r3, -1 +/* 8034FD40 0034CCA0 41 82 00 0C */ beq lbl_8034FD4C +/* 8034FD44 0034CCA4 38 81 00 0C */ addi r4, r1, 0xc +/* 8034FD48 0034CCA8 48 02 18 C9 */ bl DVDFastOpen +lbl_8034FD4C: +/* 8034FD4C 0034CCAC 80 01 00 40 */ lwz r0, 0x40(r1) +/* 8034FD50 0034CCB0 38 61 00 0C */ addi r3, r1, 0xc +/* 8034FD54 0034CCB4 90 1D 00 14 */ stw r0, 0x14(r29) +/* 8034FD58 0034CCB8 48 02 19 F5 */ bl DVDClose +/* 8034FD5C 0034CCBC 7C 1E F8 40 */ cmplw r30, r31 +/* 8034FD60 0034CCC0 41 82 00 0C */ beq lbl_8034FD6C +/* 8034FD64 0034CCC4 7F A3 EB 78 */ mr r3, r29 +/* 8034FD68 0034CCC8 48 00 03 D5 */ bl TryARAMFile__8CDvdFileFv +lbl_8034FD6C: +/* 8034FD6C 0034CCCC 80 01 00 64 */ lwz r0, 0x64(r1) +/* 8034FD70 0034CCD0 7F A3 EB 78 */ mr r3, r29 +/* 8034FD74 0034CCD4 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 8034FD78 0034CCD8 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 8034FD7C 0034CCDC 83 A1 00 54 */ lwz r29, 0x54(r1) +/* 8034FD80 0034CCE0 7C 08 03 A6 */ mtlr r0 +/* 8034FD84 0034CCE4 38 21 00 60 */ addi r1, r1, 0x60 +/* 8034FD88 0034CCE8 4E 80 00 20 */ blr + +.global StallForARAMFile__8CDvdFileFv +StallForARAMFile__8CDvdFileFv: +/* 8034FD8C 0034CCEC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034FD90 0034CCF0 7C 08 02 A6 */ mflr r0 +/* 8034FD94 0034CCF4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034FD98 0034CCF8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034FD9C 0034CCFC 7C 7F 1B 78 */ mr r31, r3 +/* 8034FDA0 0034CD00 48 00 00 08 */ b lbl_8034FDA8 +lbl_8034FDA4: +/* 8034FDA4 0034CD04 48 03 4D 79 */ bl OSYieldThread +lbl_8034FDA8: +/* 8034FDA8 0034CD08 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 8034FDAC 0034CD0C 28 00 00 00 */ cmplwi r0, 0 +/* 8034FDB0 0034CD10 40 82 FF F4 */ bne lbl_8034FDA4 +/* 8034FDB4 0034CD14 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034FDB8 0034CD18 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034FDBC 0034CD1C 7C 08 03 A6 */ mtlr r0 +/* 8034FDC0 0034CD20 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034FDC4 0034CD24 4E 80 00 20 */ blr + +.global StartARAMFileLoad__8CDvdFileFv +StartARAMFileLoad__8CDvdFileFv: +/* 8034FDC8 0034CD28 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8034FDCC 0034CD2C 7C 08 02 A6 */ mflr r0 +/* 8034FDD0 0034CD30 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha +/* 8034FDD4 0034CD34 90 01 00 44 */ stw r0, 0x44(r1) +/* 8034FDD8 0034CD38 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l +/* 8034FDDC 0034CD3C 38 80 FF FF */ li r4, -1 +/* 8034FDE0 0034CD40 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 8034FDE4 0034CD44 93 C1 00 38 */ stw r30, 0x38(r1) +/* 8034FDE8 0034CD48 93 A1 00 34 */ stw r29, 0x34(r1) +/* 8034FDEC 0034CD4C 7C 7D 1B 78 */ mr r29, r3 +/* 8034FDF0 0034CD50 3C 60 80 3E */ lis r3, lbl_803D8230@ha +/* 8034FDF4 0034CD54 93 81 00 30 */ stw r28, 0x30(r1) +/* 8034FDF8 0034CD58 38 A3 82 30 */ addi r5, r3, lbl_803D8230@l +/* 8034FDFC 0034CD5C 38 61 00 20 */ addi r3, r1, 0x20 +/* 8034FE00 0034CD60 83 FD 00 0C */ lwz r31, 0xc(r29) +/* 8034FE04 0034CD64 4B F8 65 D1 */ bl __ct__10CCallStackFUiPCcPCc +/* 8034FE08 0034CD68 7C 67 1B 78 */ mr r7, r3 +/* 8034FE0C 0034CD6C 3C 60 00 01 */ lis r3, 1 +/* 8034FE10 0034CD70 38 80 00 02 */ li r4, 2 +/* 8034FE14 0034CD74 38 A0 00 01 */ li r5, 1 +/* 8034FE18 0034CD78 38 C0 00 00 */ li r6, 0 +/* 8034FE1C 0034CD7C 4B FC 5B 79 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 8034FE20 0034CD80 80 1F 00 64 */ lwz r0, 0x64(r31) +/* 8034FE24 0034CD84 7C 83 00 D0 */ neg r4, r3 +/* 8034FE28 0034CD88 7C 84 1B 78 */ or r4, r4, r3 +/* 8034FE2C 0034CD8C 3B DF 00 68 */ addi r30, r31, 0x68 +/* 8034FE30 0034CD90 54 00 18 38 */ slwi r0, r0, 3 +/* 8034FE34 0034CD94 90 61 00 1C */ stw r3, 0x1c(r1) +/* 8034FE38 0034CD98 54 84 0F FE */ srwi r4, r4, 0x1f +/* 8034FE3C 0034CD9C 7C BE 02 15 */ add. r5, r30, r0 +/* 8034FE40 0034CDA0 98 81 00 18 */ stb r4, 0x18(r1) +/* 8034FE44 0034CDA4 41 82 00 14 */ beq lbl_8034FE58 +/* 8034FE48 0034CDA8 98 85 00 00 */ stb r4, 0(r5) +/* 8034FE4C 0034CDAC 38 00 00 00 */ li r0, 0 +/* 8034FE50 0034CDB0 90 65 00 04 */ stw r3, 4(r5) +/* 8034FE54 0034CDB4 98 01 00 18 */ stb r0, 0x18(r1) +lbl_8034FE58: +/* 8034FE58 0034CDB8 80 7F 00 64 */ lwz r3, 0x64(r31) +/* 8034FE5C 0034CDBC 88 01 00 18 */ lbz r0, 0x18(r1) +/* 8034FE60 0034CDC0 38 63 00 01 */ addi r3, r3, 1 +/* 8034FE64 0034CDC4 28 00 00 00 */ cmplwi r0, 0 +/* 8034FE68 0034CDC8 90 7F 00 64 */ stw r3, 0x64(r31) +/* 8034FE6C 0034CDCC 41 82 00 0C */ beq lbl_8034FE78 +/* 8034FE70 0034CDD0 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 8034FE74 0034CDD4 4B FC 5A BD */ bl Free__7CMemoryFPCv +lbl_8034FE78: +/* 8034FE78 0034CDD8 3C 60 80 3E */ lis r3, lbl_803D8230@ha +/* 8034FE7C 0034CDDC 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha +/* 8034FE80 0034CDE0 38 A3 82 30 */ addi r5, r3, lbl_803D8230@l +/* 8034FE84 0034CDE4 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l +/* 8034FE88 0034CDE8 38 61 00 10 */ addi r3, r1, 0x10 +/* 8034FE8C 0034CDEC 38 80 FF FF */ li r4, -1 +/* 8034FE90 0034CDF0 4B F8 65 45 */ bl __ct__10CCallStackFUiPCcPCc +/* 8034FE94 0034CDF4 7C 67 1B 78 */ mr r7, r3 +/* 8034FE98 0034CDF8 3C 60 00 01 */ lis r3, 1 +/* 8034FE9C 0034CDFC 38 80 00 02 */ li r4, 2 +/* 8034FEA0 0034CE00 38 A0 00 01 */ li r5, 1 +/* 8034FEA4 0034CE04 38 C0 00 00 */ li r6, 0 +/* 8034FEA8 0034CE08 4B FC 5A ED */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 8034FEAC 0034CE0C 80 1F 00 64 */ lwz r0, 0x64(r31) +/* 8034FEB0 0034CE10 7C 83 00 D0 */ neg r4, r3 +/* 8034FEB4 0034CE14 7C 84 1B 78 */ or r4, r4, r3 +/* 8034FEB8 0034CE18 90 61 00 0C */ stw r3, 0xc(r1) +/* 8034FEBC 0034CE1C 54 00 18 38 */ slwi r0, r0, 3 +/* 8034FEC0 0034CE20 54 84 0F FE */ srwi r4, r4, 0x1f +/* 8034FEC4 0034CE24 7C BE 02 15 */ add. r5, r30, r0 +/* 8034FEC8 0034CE28 98 81 00 08 */ stb r4, 8(r1) +/* 8034FECC 0034CE2C 41 82 00 14 */ beq lbl_8034FEE0 +/* 8034FED0 0034CE30 98 85 00 00 */ stb r4, 0(r5) +/* 8034FED4 0034CE34 38 00 00 00 */ li r0, 0 +/* 8034FED8 0034CE38 90 65 00 04 */ stw r3, 4(r5) +/* 8034FEDC 0034CE3C 98 01 00 08 */ stb r0, 8(r1) +lbl_8034FEE0: +/* 8034FEE0 0034CE40 80 7F 00 64 */ lwz r3, 0x64(r31) +/* 8034FEE4 0034CE44 88 01 00 08 */ lbz r0, 8(r1) +/* 8034FEE8 0034CE48 38 63 00 01 */ addi r3, r3, 1 +/* 8034FEEC 0034CE4C 28 00 00 00 */ cmplwi r0, 0 +/* 8034FEF0 0034CE50 90 7F 00 64 */ stw r3, 0x64(r31) +/* 8034FEF4 0034CE54 41 82 00 0C */ beq lbl_8034FF00 +/* 8034FEF8 0034CE58 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8034FEFC 0034CE5C 4B FC 5A 35 */ bl Free__7CMemoryFPCv +lbl_8034FF00: +/* 8034FF00 0034CE60 80 6D 9D F8 */ lwz r3, lbl_805A89B8@sda21(r13) +/* 8034FF04 0034CE64 80 1D 00 14 */ lwz r0, 0x14(r29) +/* 8034FF08 0034CE68 7C 03 00 00 */ cmpw r3, r0 +/* 8034FF0C 0034CE6C 40 80 00 0C */ bge lbl_8034FF18 +/* 8034FF10 0034CE70 38 6D 9D F8 */ addi r3, r13, lbl_805A89B8@sda21 +/* 8034FF14 0034CE74 48 00 00 08 */ b lbl_8034FF1C +lbl_8034FF18: +/* 8034FF18 0034CE78 38 7D 00 14 */ addi r3, r29, 0x14 +lbl_8034FF1C: +/* 8034FF1C 0034CE7C 83 83 00 00 */ lwz r28, 0(r3) +/* 8034FF20 0034CE80 38 9F 00 20 */ addi r4, r31, 0x20 +/* 8034FF24 0034CE84 80 1F 00 84 */ lwz r0, 0x84(r31) +/* 8034FF28 0034CE88 7C 1C 00 50 */ subf r0, r28, r0 +/* 8034FF2C 0034CE8C 90 1F 00 84 */ stw r0, 0x84(r31) +/* 8034FF30 0034CE90 93 9F 00 80 */ stw r28, 0x80(r31) +/* 8034FF34 0034CE94 80 7D 00 00 */ lwz r3, 0(r29) +/* 8034FF38 0034CE98 48 02 16 D9 */ bl DVDFastOpen +/* 8034FF3C 0034CE9C 3C 60 80 35 */ lis r3, DVDARAMXferCallback__8CDvdFileFlP11DVDFileInfo@ha +/* 8034FF40 0034CEA0 80 9E 00 04 */ lwz r4, 4(r30) +/* 8034FF44 0034CEA4 38 E3 04 B8 */ addi r7, r3, DVDARAMXferCallback__8CDvdFileFlP11DVDFileInfo@l +/* 8034FF48 0034CEA8 7F 85 E3 78 */ mr r5, r28 +/* 8034FF4C 0034CEAC 38 7F 00 20 */ addi r3, r31, 0x20 +/* 8034FF50 0034CEB0 38 C0 00 00 */ li r6, 0 +/* 8034FF54 0034CEB4 39 00 00 02 */ li r8, 2 +/* 8034FF58 0034CEB8 48 02 1A 3D */ bl DVDReadAsyncPrio +/* 8034FF5C 0034CEBC 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8034FF60 0034CEC0 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 8034FF64 0034CEC4 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 8034FF68 0034CEC8 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 8034FF6C 0034CECC 83 81 00 30 */ lwz r28, 0x30(r1) +/* 8034FF70 0034CED0 7C 08 03 A6 */ mtlr r0 +/* 8034FF74 0034CED4 38 21 00 40 */ addi r1, r1, 0x40 +/* 8034FF78 0034CED8 4E 80 00 20 */ blr + +.global sub_8034ff7c +sub_8034ff7c: +/* 8034FF7C 0034CEDC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8034FF80 0034CEE0 7C 08 02 A6 */ mflr r0 +/* 8034FF84 0034CEE4 90 01 00 24 */ stw r0, 0x24(r1) +/* 8034FF88 0034CEE8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8034FF8C 0034CEEC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8034FF90 0034CEF0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8034FF94 0034CEF4 93 81 00 10 */ stw r28, 0x10(r1) +/* 8034FF98 0034CEF8 7C 7C 1B 78 */ mr r28, r3 +/* 8034FF9C 0034CEFC 88 03 00 08 */ lbz r0, 8(r3) +/* 8034FFA0 0034CF00 28 00 00 00 */ cmplwi r0, 0 +/* 8034FFA4 0034CF04 40 82 00 0C */ bne lbl_8034FFB0 +/* 8034FFA8 0034CF08 38 60 00 01 */ li r3, 1 +/* 8034FFAC 0034CF0C 48 00 00 84 */ b lbl_80350030 +lbl_8034FFB0: +/* 8034FFB0 0034CF10 88 1C 00 09 */ lbz r0, 9(r28) +/* 8034FFB4 0034CF14 28 00 00 00 */ cmplwi r0, 0 +/* 8034FFB8 0034CF18 40 82 00 0C */ bne lbl_8034FFC4 +/* 8034FFBC 0034CF1C 38 60 00 00 */ li r3, 0 +/* 8034FFC0 0034CF20 48 00 00 70 */ b lbl_80350030 +lbl_8034FFC4: +/* 8034FFC4 0034CF24 83 FC 00 0C */ lwz r31, 0xc(r28) +/* 8034FFC8 0034CF28 28 1F 00 00 */ cmplwi r31, 0 +/* 8034FFCC 0034CF2C 41 82 00 58 */ beq lbl_80350024 +/* 8034FFD0 0034CF30 34 1F 00 64 */ addic. r0, r31, 0x64 +/* 8034FFD4 0034CF34 41 82 00 48 */ beq lbl_8035001C +/* 8034FFD8 0034CF38 3B BF 00 68 */ addi r29, r31, 0x68 +/* 8034FFDC 0034CF3C 3B C0 00 00 */ li r30, 0 +/* 8034FFE0 0034CF40 48 00 00 28 */ b lbl_80350008 +lbl_8034FFE4: +/* 8034FFE4 0034CF44 28 1D 00 00 */ cmplwi r29, 0 +/* 8034FFE8 0034CF48 41 82 00 18 */ beq lbl_80350000 +/* 8034FFEC 0034CF4C 88 1D 00 00 */ lbz r0, 0(r29) +/* 8034FFF0 0034CF50 28 00 00 00 */ cmplwi r0, 0 +/* 8034FFF4 0034CF54 41 82 00 0C */ beq lbl_80350000 +/* 8034FFF8 0034CF58 80 7D 00 04 */ lwz r3, 4(r29) +/* 8034FFFC 0034CF5C 4B FC 59 35 */ bl Free__7CMemoryFPCv +lbl_80350000: +/* 80350000 0034CF60 3B BD 00 08 */ addi r29, r29, 8 +/* 80350004 0034CF64 3B DE 00 01 */ addi r30, r30, 1 +lbl_80350008: +/* 80350008 0034CF68 80 1F 00 64 */ lwz r0, 0x64(r31) +/* 8035000C 0034CF6C 7C 1E 00 00 */ cmpw r30, r0 +/* 80350010 0034CF70 41 80 FF D4 */ blt lbl_8034FFE4 +/* 80350014 0034CF74 38 00 00 00 */ li r0, 0 +/* 80350018 0034CF78 90 1F 00 64 */ stw r0, 0x64(r31) +lbl_8035001C: +/* 8035001C 0034CF7C 7F E3 FB 78 */ mr r3, r31 +/* 80350020 0034CF80 4B FC 59 11 */ bl Free__7CMemoryFPCv +lbl_80350024: +/* 80350024 0034CF84 38 00 00 00 */ li r0, 0 +/* 80350028 0034CF88 38 60 00 01 */ li r3, 1 +/* 8035002C 0034CF8C 90 1C 00 0C */ stw r0, 0xc(r28) +lbl_80350030: +/* 80350030 0034CF90 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80350034 0034CF94 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80350038 0034CF98 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8035003C 0034CF9C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80350040 0034CFA0 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80350044 0034CFA4 7C 08 03 A6 */ mtlr r0 +/* 80350048 0034CFA8 38 21 00 20 */ addi r1, r1, 0x20 +/* 8035004C 0034CFAC 4E 80 00 20 */ blr + +.global PopARAMFileLoad__8CDvdFileFv +PopARAMFileLoad__8CDvdFileFv: +/* 80350050 0034CFB0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80350054 0034CFB4 7C 08 02 A6 */ mflr r0 +/* 80350058 0034CFB8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8035005C 0034CFBC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80350060 0034CFC0 93 C1 00 08 */ stw r30, 8(r1) +/* 80350064 0034CFC4 7C 7E 1B 78 */ mr r30, r3 +/* 80350068 0034CFC8 48 03 15 F9 */ bl OSDisableInterrupts +/* 8035006C 0034CFCC 80 9E 00 0C */ lwz r4, 0xc(r30) +/* 80350070 0034CFD0 38 00 00 01 */ li r0, 1 +/* 80350074 0034CFD4 7C 7F 1B 78 */ mr r31, r3 +/* 80350078 0034CFD8 80 84 00 60 */ lwz r4, 0x60(r4) +/* 8035007C 0034CFDC 98 1E 00 09 */ stb r0, 9(r30) +/* 80350080 0034CFE0 28 04 00 00 */ cmplwi r4, 0 +/* 80350084 0034CFE4 90 8D AA 10 */ stw r4, lbl_805A95D0@sda21(r13) +/* 80350088 0034CFE8 41 82 00 0C */ beq lbl_80350094 +/* 8035008C 0034CFEC 7C 83 23 78 */ mr r3, r4 +/* 80350090 0034CFF0 4B FF FD 39 */ bl StartARAMFileLoad__8CDvdFileFv +lbl_80350094: +/* 80350094 0034CFF4 7F E3 FB 78 */ mr r3, r31 +/* 80350098 0034CFF8 48 03 15 F1 */ bl OSRestoreInterrupts +/* 8035009C 0034CFFC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803500A0 0034D000 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803500A4 0034D004 83 C1 00 08 */ lwz r30, 8(r1) +/* 803500A8 0034D008 7C 08 03 A6 */ mtlr r0 +/* 803500AC 0034D00C 38 21 00 10 */ addi r1, r1, 0x10 +/* 803500B0 0034D010 4E 80 00 20 */ blr + +.global PushARAMFileLoad__8CDvdFileFv +PushARAMFileLoad__8CDvdFileFv: +/* 803500B4 0034D014 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803500B8 0034D018 7C 08 02 A6 */ mflr r0 +/* 803500BC 0034D01C 90 01 00 14 */ stw r0, 0x14(r1) +/* 803500C0 0034D020 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803500C4 0034D024 93 C1 00 08 */ stw r30, 8(r1) +/* 803500C8 0034D028 7C 7E 1B 78 */ mr r30, r3 +/* 803500CC 0034D02C 48 03 15 95 */ bl OSDisableInterrupts +/* 803500D0 0034D030 80 0D AA 10 */ lwz r0, lbl_805A95D0@sda21(r13) +/* 803500D4 0034D034 7C 7F 1B 78 */ mr r31, r3 +/* 803500D8 0034D038 28 00 00 00 */ cmplwi r0, 0 +/* 803500DC 0034D03C 40 82 00 14 */ bne lbl_803500F0 +/* 803500E0 0034D040 93 CD AA 10 */ stw r30, lbl_805A95D0@sda21(r13) +/* 803500E4 0034D044 7F C3 F3 78 */ mr r3, r30 +/* 803500E8 0034D048 4B FF FC E1 */ bl StartARAMFileLoad__8CDvdFileFv +/* 803500EC 0034D04C 48 00 00 30 */ b lbl_8035011C +lbl_803500F0: +/* 803500F0 0034D050 7C 03 03 78 */ mr r3, r0 +/* 803500F4 0034D054 48 00 00 20 */ b lbl_80350114 +lbl_803500F8: +/* 803500F8 0034D058 80 63 00 0C */ lwz r3, 0xc(r3) +/* 803500FC 0034D05C 80 03 00 60 */ lwz r0, 0x60(r3) +/* 80350100 0034D060 28 00 00 00 */ cmplwi r0, 0 +/* 80350104 0034D064 40 82 00 0C */ bne lbl_80350110 +/* 80350108 0034D068 93 C3 00 60 */ stw r30, 0x60(r3) +/* 8035010C 0034D06C 48 00 00 10 */ b lbl_8035011C +lbl_80350110: +/* 80350110 0034D070 7C 03 03 78 */ mr r3, r0 +lbl_80350114: +/* 80350114 0034D074 28 03 00 00 */ cmplwi r3, 0 +/* 80350118 0034D078 40 82 FF E0 */ bne lbl_803500F8 +lbl_8035011C: +/* 8035011C 0034D07C 7F E3 FB 78 */ mr r3, r31 +/* 80350120 0034D080 48 03 15 69 */ bl OSRestoreInterrupts +/* 80350124 0034D084 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80350128 0034D088 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8035012C 0034D08C 83 C1 00 08 */ lwz r30, 8(r1) +/* 80350130 0034D090 7C 08 03 A6 */ mtlr r0 +/* 80350134 0034D094 38 21 00 10 */ addi r1, r1, 0x10 +/* 80350138 0034D098 4E 80 00 20 */ blr + +.global TryARAMFile__8CDvdFileFv +TryARAMFile__8CDvdFileFv: +/* 8035013C 0034D09C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80350140 0034D0A0 7C 08 02 A6 */ mflr r0 +/* 80350144 0034D0A4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80350148 0034D0A8 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 8035014C 0034D0AC 7C 7B 1B 78 */ mr r27, r3 +/* 80350150 0034D0B0 80 63 00 14 */ lwz r3, 0x14(r3) +/* 80350154 0034D0B4 4B FF 4A D5 */ bl Alloc__12CARAMManagerFUi +/* 80350158 0034D0B8 90 7B 00 04 */ stw r3, 4(r27) +/* 8035015C 0034D0BC 80 62 CB A8 */ lwz r3, lbl_805AE8C8@sda21(r2) +/* 80350160 0034D0C0 80 1B 00 04 */ lwz r0, 4(r27) +/* 80350164 0034D0C4 7C 03 00 40 */ cmplw r3, r0 +/* 80350168 0034D0C8 41 82 00 E0 */ beq lbl_80350248 +/* 8035016C 0034D0CC 3C 80 80 3E */ lis r4, lbl_803D8230@ha +/* 80350170 0034D0D0 38 60 00 94 */ li r3, 0x94 +/* 80350174 0034D0D4 38 84 82 30 */ addi r4, r4, lbl_803D8230@l +/* 80350178 0034D0D8 38 A0 00 00 */ li r5, 0 +/* 8035017C 0034D0DC 4B FC 56 F1 */ bl __nw__FUlPCcPCc +/* 80350180 0034D0E0 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80350184 0034D0E4 41 82 00 34 */ beq lbl_803501B8 +/* 80350188 0034D0E8 38 00 00 00 */ li r0, 0 +/* 8035018C 0034D0EC 90 1F 00 5C */ stw r0, 0x5c(r31) +/* 80350190 0034D0F0 90 1F 00 60 */ stw r0, 0x60(r31) +/* 80350194 0034D0F4 90 1F 00 64 */ stw r0, 0x64(r31) +/* 80350198 0034D0F8 98 1F 00 78 */ stb r0, 0x78(r31) +/* 8035019C 0034D0FC 98 1F 00 79 */ stb r0, 0x79(r31) +/* 803501A0 0034D100 90 1F 00 7C */ stw r0, 0x7c(r31) +/* 803501A4 0034D104 90 1F 00 80 */ stw r0, 0x80(r31) +/* 803501A8 0034D108 90 1F 00 84 */ stw r0, 0x84(r31) +/* 803501AC 0034D10C 90 1F 00 88 */ stw r0, 0x88(r31) +/* 803501B0 0034D110 90 1F 00 8C */ stw r0, 0x8c(r31) +/* 803501B4 0034D114 90 1F 00 90 */ stw r0, 0x90(r31) +lbl_803501B8: +/* 803501B8 0034D118 83 DB 00 0C */ lwz r30, 0xc(r27) +/* 803501BC 0034D11C 28 1E 00 00 */ cmplwi r30, 0 +/* 803501C0 0034D120 41 82 00 58 */ beq lbl_80350218 +/* 803501C4 0034D124 34 1E 00 64 */ addic. r0, r30, 0x64 +/* 803501C8 0034D128 41 82 00 48 */ beq lbl_80350210 +/* 803501CC 0034D12C 3B 9E 00 68 */ addi r28, r30, 0x68 +/* 803501D0 0034D130 3B A0 00 00 */ li r29, 0 +/* 803501D4 0034D134 48 00 00 28 */ b lbl_803501FC +lbl_803501D8: +/* 803501D8 0034D138 28 1C 00 00 */ cmplwi r28, 0 +/* 803501DC 0034D13C 41 82 00 18 */ beq lbl_803501F4 +/* 803501E0 0034D140 88 1C 00 00 */ lbz r0, 0(r28) +/* 803501E4 0034D144 28 00 00 00 */ cmplwi r0, 0 +/* 803501E8 0034D148 41 82 00 0C */ beq lbl_803501F4 +/* 803501EC 0034D14C 80 7C 00 04 */ lwz r3, 4(r28) +/* 803501F0 0034D150 4B FC 57 41 */ bl Free__7CMemoryFPCv +lbl_803501F4: +/* 803501F4 0034D154 3B 9C 00 08 */ addi r28, r28, 8 +/* 803501F8 0034D158 3B BD 00 01 */ addi r29, r29, 1 +lbl_803501FC: +/* 803501FC 0034D15C 80 1E 00 64 */ lwz r0, 0x64(r30) +/* 80350200 0034D160 7C 1D 00 00 */ cmpw r29, r0 +/* 80350204 0034D164 41 80 FF D4 */ blt lbl_803501D8 +/* 80350208 0034D168 38 00 00 00 */ li r0, 0 +/* 8035020C 0034D16C 90 1E 00 64 */ stw r0, 0x64(r30) +lbl_80350210: +/* 80350210 0034D170 7F C3 F3 78 */ mr r3, r30 +/* 80350214 0034D174 4B FC 57 1D */ bl Free__7CMemoryFPCv +lbl_80350218: +/* 80350218 0034D178 93 FB 00 0C */ stw r31, 0xc(r27) +/* 8035021C 0034D17C 38 80 00 01 */ li r4, 1 +/* 80350220 0034D180 7F 63 DB 78 */ mr r3, r27 +/* 80350224 0034D184 80 BB 00 0C */ lwz r5, 0xc(r27) +/* 80350228 0034D188 93 65 00 5C */ stw r27, 0x5c(r5) +/* 8035022C 0034D18C 98 85 00 78 */ stb r4, 0x78(r5) +/* 80350230 0034D190 80 1B 00 14 */ lwz r0, 0x14(r27) +/* 80350234 0034D194 90 05 00 8C */ stw r0, 0x8c(r5) +/* 80350238 0034D198 90 05 00 84 */ stw r0, 0x84(r5) +/* 8035023C 0034D19C 90 05 00 7C */ stw r0, 0x7c(r5) +/* 80350240 0034D1A0 98 9B 00 08 */ stb r4, 8(r27) +/* 80350244 0034D1A4 4B FF FE 71 */ bl PushARAMFileLoad__8CDvdFileFv +lbl_80350248: +/* 80350248 0034D1A8 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 8035024C 0034D1AC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80350250 0034D1B0 7C 08 03 A6 */ mtlr r0 +/* 80350254 0034D1B4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80350258 0034D1B8 4E 80 00 20 */ blr + +.global PingARAMTransfer__8CDvdFileFv +PingARAMTransfer__8CDvdFileFv: +/* 8035025C 0034D1BC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80350260 0034D1C0 7C 08 02 A6 */ mflr r0 +/* 80350264 0034D1C4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80350268 0034D1C8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8035026C 0034D1CC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80350270 0034D1D0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80350274 0034D1D4 7C 7D 1B 78 */ mr r29, r3 +/* 80350278 0034D1D8 93 81 00 10 */ stw r28, 0x10(r1) +/* 8035027C 0034D1DC 83 E3 00 0C */ lwz r31, 0xc(r3) +/* 80350280 0034D1E0 80 9F 00 8C */ lwz r4, 0x8c(r31) +/* 80350284 0034D1E4 2C 04 00 00 */ cmpwi r4, 0 +/* 80350288 0034D1E8 40 82 00 0C */ bne lbl_80350294 +/* 8035028C 0034D1EC 4B FF FD C5 */ bl PopARAMFileLoad__8CDvdFileFv +/* 80350290 0034D1F0 48 00 01 0C */ b lbl_8035039C +lbl_80350294: +/* 80350294 0034D1F4 80 0D 9D F0 */ lwz r0, lbl_805A89B0@sda21(r13) +/* 80350298 0034D1F8 7C 04 00 00 */ cmpw r4, r0 +/* 8035029C 0034D1FC 40 80 00 0C */ bge lbl_803502A8 +/* 803502A0 0034D200 38 9F 00 8C */ addi r4, r31, 0x8c +/* 803502A4 0034D204 48 00 00 08 */ b lbl_803502AC +lbl_803502A8: +/* 803502A8 0034D208 38 8D 9D F0 */ addi r4, r13, lbl_805A89B0@sda21 +lbl_803502AC: +/* 803502AC 0034D20C 80 1F 00 90 */ lwz r0, 0x90(r31) +/* 803502B0 0034D210 3C 60 80 35 */ lis r3, ARAMARAMXferCallback__8CDvdFileFUl@ha +/* 803502B4 0034D214 83 84 00 00 */ lwz r28, 0(r4) +/* 803502B8 0034D218 39 43 04 94 */ addi r10, r3, ARAMARAMXferCallback__8CDvdFileFUl@l +/* 803502BC 0034D21C 3B DF 00 68 */ addi r30, r31, 0x68 +/* 803502C0 0034D220 54 00 18 38 */ slwi r0, r0, 3 +/* 803502C4 0034D224 7C BE 02 14 */ add r5, r30, r0 +/* 803502C8 0034D228 80 9D 00 04 */ lwz r4, 4(r29) +/* 803502CC 0034D22C 80 1F 00 88 */ lwz r0, 0x88(r31) +/* 803502D0 0034D230 7F E3 FB 78 */ mr r3, r31 +/* 803502D4 0034D234 80 E5 00 04 */ lwz r7, 4(r5) +/* 803502D8 0034D238 7F 89 E3 78 */ mr r9, r28 +/* 803502DC 0034D23C 7D 04 02 14 */ add r8, r4, r0 +/* 803502E0 0034D240 38 80 00 00 */ li r4, 0 +/* 803502E4 0034D244 38 A0 00 00 */ li r5, 0 +/* 803502E8 0034D248 38 C0 00 01 */ li r6, 1 +/* 803502EC 0034D24C 48 01 F3 85 */ bl ARQPostRequest +/* 803502F0 0034D250 80 7F 00 8C */ lwz r3, 0x8c(r31) +/* 803502F4 0034D254 38 00 00 00 */ li r0, 0 +/* 803502F8 0034D258 7C 7C 18 50 */ subf r3, r28, r3 +/* 803502FC 0034D25C 90 7F 00 8C */ stw r3, 0x8c(r31) +/* 80350300 0034D260 80 7F 00 88 */ lwz r3, 0x88(r31) +/* 80350304 0034D264 7C 63 E2 14 */ add r3, r3, r28 +/* 80350308 0034D268 90 7F 00 88 */ stw r3, 0x88(r31) +/* 8035030C 0034D26C 98 1F 00 78 */ stb r0, 0x78(r31) +/* 80350310 0034D270 80 1F 00 90 */ lwz r0, 0x90(r31) +/* 80350314 0034D274 68 00 00 01 */ xori r0, r0, 1 +/* 80350318 0034D278 90 1F 00 90 */ stw r0, 0x90(r31) +/* 8035031C 0034D27C 80 7F 00 84 */ lwz r3, 0x84(r31) +/* 80350320 0034D280 2C 03 00 00 */ cmpwi r3, 0 +/* 80350324 0034D284 41 82 00 78 */ beq lbl_8035039C +/* 80350328 0034D288 80 0D 9D F4 */ lwz r0, lbl_805A89B4@sda21(r13) +/* 8035032C 0034D28C 7C 03 00 00 */ cmpw r3, r0 +/* 80350330 0034D290 40 80 00 0C */ bge lbl_8035033C +/* 80350334 0034D294 38 7F 00 84 */ addi r3, r31, 0x84 +/* 80350338 0034D298 48 00 00 08 */ b lbl_80350340 +lbl_8035033C: +/* 8035033C 0034D29C 38 6D 9D F4 */ addi r3, r13, lbl_805A89B4@sda21 +lbl_80350340: +/* 80350340 0034D2A0 83 83 00 00 */ lwz r28, 0(r3) +/* 80350344 0034D2A4 38 9F 00 20 */ addi r4, r31, 0x20 +/* 80350348 0034D2A8 80 7D 00 00 */ lwz r3, 0(r29) +/* 8035034C 0034D2AC 48 02 12 C5 */ bl DVDFastOpen +/* 80350350 0034D2B0 80 1F 00 90 */ lwz r0, 0x90(r31) +/* 80350354 0034D2B4 3C 60 80 35 */ lis r3, DVDARAMXferCallback__8CDvdFileFlP11DVDFileInfo@ha +/* 80350358 0034D2B8 38 E3 04 B8 */ addi r7, r3, DVDARAMXferCallback__8CDvdFileFlP11DVDFileInfo@l +/* 8035035C 0034D2BC 80 DF 00 80 */ lwz r6, 0x80(r31) +/* 80350360 0034D2C0 54 03 18 38 */ slwi r3, r0, 3 +/* 80350364 0034D2C4 7F 85 E3 78 */ mr r5, r28 +/* 80350368 0034D2C8 38 03 00 04 */ addi r0, r3, 4 +/* 8035036C 0034D2CC 39 00 00 02 */ li r8, 2 +/* 80350370 0034D2D0 7C 9E 00 2E */ lwzx r4, r30, r0 +/* 80350374 0034D2D4 38 7F 00 20 */ addi r3, r31, 0x20 +/* 80350378 0034D2D8 48 02 16 1D */ bl DVDReadAsyncPrio +/* 8035037C 0034D2DC 80 7F 00 80 */ lwz r3, 0x80(r31) +/* 80350380 0034D2E0 38 00 00 00 */ li r0, 0 +/* 80350384 0034D2E4 7C 63 E2 14 */ add r3, r3, r28 +/* 80350388 0034D2E8 90 7F 00 80 */ stw r3, 0x80(r31) +/* 8035038C 0034D2EC 80 7F 00 84 */ lwz r3, 0x84(r31) +/* 80350390 0034D2F0 7C 7C 18 50 */ subf r3, r28, r3 +/* 80350394 0034D2F4 90 7F 00 84 */ stw r3, 0x84(r31) +/* 80350398 0034D2F8 98 1F 00 79 */ stb r0, 0x79(r31) +lbl_8035039C: +/* 8035039C 0034D2FC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803503A0 0034D300 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803503A4 0034D304 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 803503A8 0034D308 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 803503AC 0034D30C 83 81 00 10 */ lwz r28, 0x10(r1) +/* 803503B0 0034D310 7C 08 03 A6 */ mtlr r0 +/* 803503B4 0034D314 38 21 00 20 */ addi r1, r1, 0x20 +/* 803503B8 0034D318 4E 80 00 20 */ blr + +.global HandleDVDInterrupt__8CDvdFileFv +HandleDVDInterrupt__8CDvdFileFv: +/* 803503BC 0034D31C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803503C0 0034D320 7C 08 02 A6 */ mflr r0 +/* 803503C4 0034D324 90 01 00 14 */ stw r0, 0x14(r1) +/* 803503C8 0034D328 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803503CC 0034D32C 93 C1 00 08 */ stw r30, 8(r1) +/* 803503D0 0034D330 7C 7E 1B 78 */ mr r30, r3 +/* 803503D4 0034D334 48 03 12 8D */ bl OSDisableInterrupts +/* 803503D8 0034D338 80 9E 00 0C */ lwz r4, 0xc(r30) +/* 803503DC 0034D33C 38 00 00 01 */ li r0, 1 +/* 803503E0 0034D340 7C 7F 1B 78 */ mr r31, r3 +/* 803503E4 0034D344 98 04 00 79 */ stb r0, 0x79(r4) +/* 803503E8 0034D348 88 04 00 78 */ lbz r0, 0x78(r4) +/* 803503EC 0034D34C 28 00 00 00 */ cmplwi r0, 0 +/* 803503F0 0034D350 41 82 00 18 */ beq lbl_80350408 +/* 803503F4 0034D354 88 04 00 79 */ lbz r0, 0x79(r4) +/* 803503F8 0034D358 28 00 00 00 */ cmplwi r0, 0 +/* 803503FC 0034D35C 41 82 00 0C */ beq lbl_80350408 +/* 80350400 0034D360 7F C3 F3 78 */ mr r3, r30 +/* 80350404 0034D364 4B FF FE 59 */ bl PingARAMTransfer__8CDvdFileFv +lbl_80350408: +/* 80350408 0034D368 7F E3 FB 78 */ mr r3, r31 +/* 8035040C 0034D36C 48 03 12 7D */ bl OSRestoreInterrupts +/* 80350410 0034D370 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80350414 0034D374 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80350418 0034D378 83 C1 00 08 */ lwz r30, 8(r1) +/* 8035041C 0034D37C 7C 08 03 A6 */ mtlr r0 +/* 80350420 0034D380 38 21 00 10 */ addi r1, r1, 0x10 +/* 80350424 0034D384 4E 80 00 20 */ blr + +.global HandleARAMInterrupt__8CDvdFileFv +HandleARAMInterrupt__8CDvdFileFv: +/* 80350428 0034D388 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8035042C 0034D38C 7C 08 02 A6 */ mflr r0 +/* 80350430 0034D390 90 01 00 14 */ stw r0, 0x14(r1) +/* 80350434 0034D394 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80350438 0034D398 93 C1 00 08 */ stw r30, 8(r1) +/* 8035043C 0034D39C 7C 7E 1B 78 */ mr r30, r3 +/* 80350440 0034D3A0 48 03 12 21 */ bl OSDisableInterrupts +/* 80350444 0034D3A4 80 9E 00 0C */ lwz r4, 0xc(r30) +/* 80350448 0034D3A8 38 00 00 01 */ li r0, 1 +/* 8035044C 0034D3AC 7C 7F 1B 78 */ mr r31, r3 +/* 80350450 0034D3B0 98 04 00 78 */ stb r0, 0x78(r4) +/* 80350454 0034D3B4 88 04 00 78 */ lbz r0, 0x78(r4) +/* 80350458 0034D3B8 28 00 00 00 */ cmplwi r0, 0 +/* 8035045C 0034D3BC 41 82 00 18 */ beq lbl_80350474 +/* 80350460 0034D3C0 88 04 00 79 */ lbz r0, 0x79(r4) +/* 80350464 0034D3C4 28 00 00 00 */ cmplwi r0, 0 +/* 80350468 0034D3C8 41 82 00 0C */ beq lbl_80350474 +/* 8035046C 0034D3CC 7F C3 F3 78 */ mr r3, r30 +/* 80350470 0034D3D0 4B FF FD ED */ bl PingARAMTransfer__8CDvdFileFv +lbl_80350474: +/* 80350474 0034D3D4 7F E3 FB 78 */ mr r3, r31 +/* 80350478 0034D3D8 48 03 12 11 */ bl OSRestoreInterrupts +/* 8035047C 0034D3DC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80350480 0034D3E0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80350484 0034D3E4 83 C1 00 08 */ lwz r30, 8(r1) +/* 80350488 0034D3E8 7C 08 03 A6 */ mtlr r0 +/* 8035048C 0034D3EC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80350490 0034D3F0 4E 80 00 20 */ blr + +.global ARAMARAMXferCallback__8CDvdFileFUl +ARAMARAMXferCallback__8CDvdFileFUl: +/* 80350494 0034D3F4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80350498 0034D3F8 7C 08 02 A6 */ mflr r0 +/* 8035049C 0034D3FC 90 01 00 14 */ stw r0, 0x14(r1) +/* 803504A0 0034D400 80 63 00 5C */ lwz r3, 0x5c(r3) +/* 803504A4 0034D404 4B FF FF 85 */ bl HandleARAMInterrupt__8CDvdFileFv +/* 803504A8 0034D408 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803504AC 0034D40C 7C 08 03 A6 */ mtlr r0 +/* 803504B0 0034D410 38 21 00 10 */ addi r1, r1, 0x10 +/* 803504B4 0034D414 4E 80 00 20 */ blr + +.global DVDARAMXferCallback__8CDvdFileFlP11DVDFileInfo +DVDARAMXferCallback__8CDvdFileFlP11DVDFileInfo: +/* 803504B8 0034D418 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803504BC 0034D41C 7C 08 02 A6 */ mflr r0 +/* 803504C0 0034D420 90 01 00 14 */ stw r0, 0x14(r1) +/* 803504C4 0034D424 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803504C8 0034D428 7C 9F 23 78 */ mr r31, r4 +/* 803504CC 0034D42C 7F E3 FB 78 */ mr r3, r31 +/* 803504D0 0034D430 48 02 12 7D */ bl DVDClose +/* 803504D4 0034D434 80 7F 00 3C */ lwz r3, 0x3c(r31) +/* 803504D8 0034D438 4B FF FE E5 */ bl HandleDVDInterrupt__8CDvdFileFv +/* 803504DC 0034D43C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803504E0 0034D440 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803504E4 0034D444 7C 08 03 A6 */ mtlr r0 +/* 803504E8 0034D448 38 21 00 10 */ addi r1, r1, 0x10 +/* 803504EC 0034D44C 4E 80 00 20 */ blr + +.global DecodeARAMFile__FPCc +DecodeARAMFile__FPCc: +/* 803504F0 0034D450 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803504F4 0034D454 7C 08 02 A6 */ mflr r0 +/* 803504F8 0034D458 3C 80 80 3E */ lis r4, lbl_803D8230@ha +/* 803504FC 0034D45C 38 A0 00 05 */ li r5, 5 +/* 80350500 0034D460 90 01 00 14 */ stw r0, 0x14(r1) +/* 80350504 0034D464 38 84 82 30 */ addi r4, r4, lbl_803D8230@l +/* 80350508 0034D468 38 84 00 07 */ addi r4, r4, 7 +/* 8035050C 0034D46C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80350510 0034D470 7C 7F 1B 78 */ mr r31, r3 +/* 80350514 0034D474 48 03 FA 49 */ bl strncmp +/* 80350518 0034D478 2C 03 00 00 */ cmpwi r3, 0 +/* 8035051C 0034D47C 41 82 00 0C */ beq lbl_80350528 +/* 80350520 0034D480 7F E3 FB 78 */ mr r3, r31 +/* 80350524 0034D484 48 00 00 08 */ b lbl_8035052C +lbl_80350528: +/* 80350528 0034D488 38 7F 00 05 */ addi r3, r31, 5 +lbl_8035052C: +/* 8035052C 0034D48C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80350530 0034D490 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80350534 0034D494 7C 08 03 A6 */ mtlr r0 +/* 80350538 0034D498 38 21 00 10 */ addi r1, r1, 0x10 +/* 8035053C 0034D49C 4E 80 00 20 */ blr diff --git a/asm/Kyoto/DolphinCMemoryCardSys.s b/asm/Kyoto/DolphinCMemoryCardSys.s new file mode 100644 index 00000000..06fc78c0 --- /dev/null +++ b/asm/Kyoto/DolphinCMemoryCardSys.s @@ -0,0 +1,2033 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global FreeCardWorkArea__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort +FreeCardWorkArea__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort: +/* 8034D4DC 0034A43C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8034D4E0 0034A440 7C 08 02 A6 */ mflr r0 +/* 8034D4E4 0034A444 90 01 00 34 */ stw r0, 0x34(r1) +/* 8034D4E8 0034A448 48 00 02 E9 */ bl WorkAreaVector__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort +/* 8034D4EC 0034A44C 38 00 00 00 */ li r0, 0 +/* 8034D4F0 0034A450 38 81 00 18 */ addi r4, r1, 0x18 +/* 8034D4F4 0034A454 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8034D4F8 0034A458 90 01 00 20 */ stw r0, 0x20(r1) +/* 8034D4FC 0034A45C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8034D500 0034A460 48 00 00 49 */ bl "__dt__Q24rstl36vectorFv" +/* 8034D504 0034A464 80 61 00 24 */ lwz r3, 0x24(r1) +/* 8034D508 0034A468 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 8034D50C 0034A46C 90 61 00 0C */ stw r3, 0xc(r1) +/* 8034D510 0034A470 7C 83 02 14 */ add r4, r3, r0 +/* 8034D514 0034A474 7C 03 20 50 */ subf r0, r3, r4 +/* 8034D518 0034A478 90 81 00 14 */ stw r4, 0x14(r1) +/* 8034D51C 0034A47C 90 81 00 10 */ stw r4, 0x10(r1) +/* 8034D520 0034A480 90 61 00 08 */ stw r3, 8(r1) +/* 8034D524 0034A484 7C 09 03 A6 */ mtctr r0 +/* 8034D528 0034A488 7C 03 20 40 */ cmplw r3, r4 +/* 8034D52C 0034A48C 41 82 00 08 */ beq lbl_8034D534 +lbl_8034D530: +/* 8034D530 0034A490 42 00 00 00 */ bdnz lbl_8034D530 +lbl_8034D534: +/* 8034D534 0034A494 4B FC 83 FD */ bl Free__7CMemoryFPCv +/* 8034D538 0034A498 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8034D53C 0034A49C 7C 08 03 A6 */ mtlr r0 +/* 8034D540 0034A4A0 38 21 00 30 */ addi r1, r1, 0x30 +/* 8034D544 0034A4A4 4E 80 00 20 */ blr + +.global "__dt__Q24rstl36vectorFv" +"__dt__Q24rstl36vectorFv": +/* 8034D548 0034A4A8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8034D54C 0034A4AC 7C 08 02 A6 */ mflr r0 +/* 8034D550 0034A4B0 90 01 00 24 */ stw r0, 0x24(r1) +/* 8034D554 0034A4B4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8034D558 0034A4B8 7C 9F 23 78 */ mr r31, r4 +/* 8034D55C 0034A4BC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8034D560 0034A4C0 7C 7E 1B 78 */ mr r30, r3 +/* 8034D564 0034A4C4 7C 1E F8 40 */ cmplw r30, r31 +/* 8034D568 0034A4C8 40 82 00 08 */ bne lbl_8034D570 +/* 8034D56C 0034A4CC 48 00 00 B4 */ b lbl_8034D620 +lbl_8034D570: +/* 8034D570 0034A4D0 80 9E 00 0C */ lwz r4, 0xc(r30) +/* 8034D574 0034A4D4 80 1E 00 04 */ lwz r0, 4(r30) +/* 8034D578 0034A4D8 90 81 00 0C */ stw r4, 0xc(r1) +/* 8034D57C 0034A4DC 7C 64 02 14 */ add r3, r4, r0 +/* 8034D580 0034A4E0 7C 04 18 50 */ subf r0, r4, r3 +/* 8034D584 0034A4E4 90 61 00 14 */ stw r3, 0x14(r1) +/* 8034D588 0034A4E8 90 61 00 10 */ stw r3, 0x10(r1) +/* 8034D58C 0034A4EC 90 81 00 08 */ stw r4, 8(r1) +/* 8034D590 0034A4F0 7C 09 03 A6 */ mtctr r0 +/* 8034D594 0034A4F4 7C 04 18 40 */ cmplw r4, r3 +/* 8034D598 0034A4F8 41 82 00 08 */ beq lbl_8034D5A0 +lbl_8034D59C: +/* 8034D59C 0034A4FC 42 00 00 00 */ bdnz lbl_8034D59C +lbl_8034D5A0: +/* 8034D5A0 0034A500 38 00 00 00 */ li r0, 0 +/* 8034D5A4 0034A504 90 1E 00 04 */ stw r0, 4(r30) +/* 8034D5A8 0034A508 80 9F 00 04 */ lwz r4, 4(r31) +/* 8034D5AC 0034A50C 2C 04 00 00 */ cmpwi r4, 0 +/* 8034D5B0 0034A510 40 82 00 20 */ bne lbl_8034D5D0 +/* 8034D5B4 0034A514 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8034D5B8 0034A518 4B FC 83 79 */ bl Free__7CMemoryFPCv +/* 8034D5BC 0034A51C 38 00 00 00 */ li r0, 0 +/* 8034D5C0 0034A520 90 1E 00 04 */ stw r0, 4(r30) +/* 8034D5C4 0034A524 90 1E 00 08 */ stw r0, 8(r30) +/* 8034D5C8 0034A528 90 1E 00 0C */ stw r0, 0xc(r30) +/* 8034D5CC 0034A52C 48 00 00 50 */ b lbl_8034D61C +lbl_8034D5D0: +/* 8034D5D0 0034A530 7F C3 F3 78 */ mr r3, r30 +/* 8034D5D4 0034A534 48 00 18 65 */ bl "reserve__Q24rstl36vectorFi" +/* 8034D5D8 0034A538 80 BF 00 0C */ lwz r5, 0xc(r31) +/* 8034D5DC 0034A53C 80 1F 00 04 */ lwz r0, 4(r31) +/* 8034D5E0 0034A540 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8034D5E4 0034A544 7C 85 02 14 */ add r4, r5, r0 +/* 8034D5E8 0034A548 7C 05 20 50 */ subf r0, r5, r4 +/* 8034D5EC 0034A54C 7C 09 03 A6 */ mtctr r0 +/* 8034D5F0 0034A550 7C 05 20 40 */ cmplw r5, r4 +/* 8034D5F4 0034A554 41 82 00 20 */ beq lbl_8034D614 +lbl_8034D5F8: +/* 8034D5F8 0034A558 28 03 00 00 */ cmplwi r3, 0 +/* 8034D5FC 0034A55C 41 82 00 0C */ beq lbl_8034D608 +/* 8034D600 0034A560 88 05 00 00 */ lbz r0, 0(r5) +/* 8034D604 0034A564 98 03 00 00 */ stb r0, 0(r3) +lbl_8034D608: +/* 8034D608 0034A568 38 63 00 01 */ addi r3, r3, 1 +/* 8034D60C 0034A56C 38 A5 00 01 */ addi r5, r5, 1 +/* 8034D610 0034A570 42 00 FF E8 */ bdnz lbl_8034D5F8 +lbl_8034D614: +/* 8034D614 0034A574 80 1F 00 04 */ lwz r0, 4(r31) +/* 8034D618 0034A578 90 1E 00 04 */ stw r0, 4(r30) +lbl_8034D61C: +/* 8034D61C 0034A57C 7F C3 F3 78 */ mr r3, r30 +lbl_8034D620: +/* 8034D620 0034A580 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8034D624 0034A584 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8034D628 0034A588 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8034D62C 0034A58C 7C 08 03 A6 */ mtlr r0 +/* 8034D630 0034A590 38 21 00 20 */ addi r1, r1, 0x20 +/* 8034D634 0034A594 4E 80 00 20 */ blr + +.global sub_8034d638 +sub_8034d638: +/* 8034D638 0034A598 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8034D63C 0034A59C 7C 08 02 A6 */ mflr r0 +/* 8034D640 0034A5A0 90 01 00 24 */ stw r0, 0x24(r1) +/* 8034D644 0034A5A4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8034D648 0034A5A8 7C 9F 23 78 */ mr r31, r4 +/* 8034D64C 0034A5AC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8034D650 0034A5B0 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8034D654 0034A5B4 41 82 00 48 */ beq lbl_8034D69C +/* 8034D658 0034A5B8 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8034D65C 0034A5BC 80 1E 00 04 */ lwz r0, 4(r30) +/* 8034D660 0034A5C0 90 61 00 10 */ stw r3, 0x10(r1) +/* 8034D664 0034A5C4 7C 83 02 14 */ add r4, r3, r0 +/* 8034D668 0034A5C8 7C 03 20 50 */ subf r0, r3, r4 +/* 8034D66C 0034A5CC 90 81 00 08 */ stw r4, 8(r1) +/* 8034D670 0034A5D0 90 81 00 0C */ stw r4, 0xc(r1) +/* 8034D674 0034A5D4 90 61 00 14 */ stw r3, 0x14(r1) +/* 8034D678 0034A5D8 7C 09 03 A6 */ mtctr r0 +/* 8034D67C 0034A5DC 7C 03 20 40 */ cmplw r3, r4 +/* 8034D680 0034A5E0 41 82 00 08 */ beq lbl_8034D688 +lbl_8034D684: +/* 8034D684 0034A5E4 42 00 00 00 */ bdnz lbl_8034D684 +lbl_8034D688: +/* 8034D688 0034A5E8 4B FC 82 A9 */ bl Free__7CMemoryFPCv +/* 8034D68C 0034A5EC 7F E0 07 35 */ extsh. r0, r31 +/* 8034D690 0034A5F0 40 81 00 0C */ ble lbl_8034D69C +/* 8034D694 0034A5F4 7F C3 F3 78 */ mr r3, r30 +/* 8034D698 0034A5F8 4B FC 82 99 */ bl Free__7CMemoryFPCv +lbl_8034D69C: +/* 8034D69C 0034A5FC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8034D6A0 0034A600 7F C3 F3 78 */ mr r3, r30 +/* 8034D6A4 0034A604 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8034D6A8 0034A608 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8034D6AC 0034A60C 7C 08 03 A6 */ mtlr r0 +/* 8034D6B0 0034A610 38 21 00 20 */ addi r1, r1, 0x20 +/* 8034D6B4 0034A614 4E 80 00 20 */ blr + +.global AllocCardWorkArea__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort +AllocCardWorkArea__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort: +/* 8034D6B8 0034A618 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034D6BC 0034A61C 7C 08 02 A6 */ mflr r0 +/* 8034D6C0 0034A620 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034D6C4 0034A624 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034D6C8 0034A628 93 C1 00 08 */ stw r30, 8(r1) +/* 8034D6CC 0034A62C 48 00 01 05 */ bl WorkAreaVector__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort +/* 8034D6D0 0034A630 3C 80 00 01 */ lis r4, 0x0000A000@ha +/* 8034D6D4 0034A634 7C 7F 1B 78 */ mr r31, r3 +/* 8034D6D8 0034A638 38 84 A0 00 */ addi r4, r4, 0x0000A000@l +/* 8034D6DC 0034A63C 38 AD 9D EB */ addi r5, r13, lbl_805A89AB@sda21 +/* 8034D6E0 0034A640 48 00 00 31 */ bl "resize__Q24rstl36vectorFiRCc" +/* 8034D6E4 0034A644 83 DF 00 0C */ lwz r30, 0xc(r31) +/* 8034D6E8 0034A648 80 9F 00 04 */ lwz r4, 4(r31) +/* 8034D6EC 0034A64C 7F C3 F3 78 */ mr r3, r30 +/* 8034D6F0 0034A650 48 03 13 95 */ bl DCInvalidateRange +/* 8034D6F4 0034A654 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034D6F8 0034A658 7F C3 F3 78 */ mr r3, r30 +/* 8034D6FC 0034A65C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034D700 0034A660 83 C1 00 08 */ lwz r30, 8(r1) +/* 8034D704 0034A664 7C 08 03 A6 */ mtlr r0 +/* 8034D708 0034A668 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034D70C 0034A66C 4E 80 00 20 */ blr + +.global "resize__Q24rstl36vectorFiRCc" +"resize__Q24rstl36vectorFiRCc": +/* 8034D710 0034A670 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8034D714 0034A674 7C 08 02 A6 */ mflr r0 +/* 8034D718 0034A678 90 01 00 34 */ stw r0, 0x34(r1) +/* 8034D71C 0034A67C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8034D720 0034A680 7C BF 2B 78 */ mr r31, r5 +/* 8034D724 0034A684 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8034D728 0034A688 7C 9E 23 78 */ mr r30, r4 +/* 8034D72C 0034A68C 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8034D730 0034A690 7C 7D 1B 78 */ mr r29, r3 +/* 8034D734 0034A694 80 03 00 04 */ lwz r0, 4(r3) +/* 8034D738 0034A698 7C 00 F0 00 */ cmpw r0, r30 +/* 8034D73C 0034A69C 41 82 00 78 */ beq lbl_8034D7B4 +/* 8034D740 0034A6A0 7C 1E 00 00 */ cmpw r30, r0 +/* 8034D744 0034A6A4 40 81 00 3C */ ble lbl_8034D780 +/* 8034D748 0034A6A8 48 00 16 F1 */ bl "reserve__Q24rstl36vectorFi" +/* 8034D74C 0034A6AC 80 7D 00 04 */ lwz r3, 4(r29) +/* 8034D750 0034A6B0 80 1D 00 0C */ lwz r0, 0xc(r29) +/* 8034D754 0034A6B4 7C 83 F0 51 */ subf. r4, r3, r30 +/* 8034D758 0034A6B8 7C 60 1A 14 */ add r3, r0, r3 +/* 8034D75C 0034A6BC 7C 89 03 A6 */ mtctr r4 +/* 8034D760 0034A6C0 40 81 00 50 */ ble lbl_8034D7B0 +lbl_8034D764: +/* 8034D764 0034A6C4 28 03 00 00 */ cmplwi r3, 0 +/* 8034D768 0034A6C8 41 82 00 0C */ beq lbl_8034D774 +/* 8034D76C 0034A6CC 88 1F 00 00 */ lbz r0, 0(r31) +/* 8034D770 0034A6D0 98 03 00 00 */ stb r0, 0(r3) +lbl_8034D774: +/* 8034D774 0034A6D4 38 63 00 01 */ addi r3, r3, 1 +/* 8034D778 0034A6D8 42 00 FF EC */ bdnz lbl_8034D764 +/* 8034D77C 0034A6DC 48 00 00 34 */ b lbl_8034D7B0 +lbl_8034D780: +/* 8034D780 0034A6E0 80 9D 00 0C */ lwz r4, 0xc(r29) +/* 8034D784 0034A6E4 7C 64 02 14 */ add r3, r4, r0 +/* 8034D788 0034A6E8 7C 84 F2 14 */ add r4, r4, r30 +/* 8034D78C 0034A6EC 7C 04 18 50 */ subf r0, r4, r3 +/* 8034D790 0034A6F0 90 61 00 08 */ stw r3, 8(r1) +/* 8034D794 0034A6F4 90 61 00 0C */ stw r3, 0xc(r1) +/* 8034D798 0034A6F8 90 81 00 10 */ stw r4, 0x10(r1) +/* 8034D79C 0034A6FC 90 81 00 14 */ stw r4, 0x14(r1) +/* 8034D7A0 0034A700 7C 09 03 A6 */ mtctr r0 +/* 8034D7A4 0034A704 7C 04 18 40 */ cmplw r4, r3 +/* 8034D7A8 0034A708 41 82 00 08 */ beq lbl_8034D7B0 +lbl_8034D7AC: +/* 8034D7AC 0034A70C 42 00 00 00 */ bdnz lbl_8034D7AC +lbl_8034D7B0: +/* 8034D7B0 0034A710 93 DD 00 04 */ stw r30, 4(r29) +lbl_8034D7B4: +/* 8034D7B4 0034A714 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8034D7B8 0034A718 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8034D7BC 0034A71C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8034D7C0 0034A720 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8034D7C4 0034A724 7C 08 03 A6 */ mtlr r0 +/* 8034D7C8 0034A728 38 21 00 30 */ addi r1, r1, 0x30 +/* 8034D7CC 0034A72C 4E 80 00 20 */ blr + +.global WorkAreaVector__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort +WorkAreaVector__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort: +/* 8034D7D0 0034A730 2C 03 00 01 */ cmpwi r3, 1 +/* 8034D7D4 0034A734 41 82 00 20 */ beq lbl_8034D7F4 +/* 8034D7D8 0034A738 40 80 00 28 */ bge lbl_8034D800 +/* 8034D7DC 0034A73C 2C 03 00 00 */ cmpwi r3, 0 +/* 8034D7E0 0034A740 40 80 00 08 */ bge lbl_8034D7E8 +/* 8034D7E4 0034A744 48 00 00 1C */ b lbl_8034D800 +lbl_8034D7E8: +/* 8034D7E8 0034A748 3C 60 80 5A */ lis r3, lbl_805A67DC@ha +/* 8034D7EC 0034A74C 38 63 67 DC */ addi r3, r3, lbl_805A67DC@l +/* 8034D7F0 0034A750 4E 80 00 20 */ blr +lbl_8034D7F4: +/* 8034D7F4 0034A754 3C 60 80 5A */ lis r3, lbl_805A67FC@ha +/* 8034D7F8 0034A758 38 63 67 FC */ addi r3, r3, lbl_805A67FC@l +/* 8034D7FC 0034A75C 4E 80 00 20 */ blr +lbl_8034D800: +/* 8034D800 0034A760 3C 60 80 5A */ lis r3, lbl_805A67DC@ha +/* 8034D804 0034A764 38 63 67 DC */ addi r3, r3, lbl_805A67DC@l +/* 8034D808 0034A768 4E 80 00 20 */ blr + +.global SetStatus__14CMemoryCardSysFiiPC8CARDStat +SetStatus__14CMemoryCardSysFiiPC8CARDStat: +/* 8034D80C 0034A76C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034D810 0034A770 7C 08 02 A6 */ mflr r0 +/* 8034D814 0034A774 38 C0 00 00 */ li r6, 0 +/* 8034D818 0034A778 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034D81C 0034A77C 48 07 0A 5D */ bl CARDSetStatusAsync +/* 8034D820 0034A780 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034D824 0034A784 7C 08 03 A6 */ mtlr r0 +/* 8034D828 0034A788 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034D82C 0034A78C 4E 80 00 20 */ blr + +.global GetStatus__14CMemoryCardSysFiiP8CARDStat +GetStatus__14CMemoryCardSysFiiP8CARDStat: +/* 8034D830 0034A790 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 8034D834 0034A794 7C 08 02 A6 */ mflr r0 +/* 8034D838 0034A798 90 01 00 84 */ stw r0, 0x84(r1) +/* 8034D83C 0034A79C 93 E1 00 7C */ stw r31, 0x7c(r1) +/* 8034D840 0034A7A0 7C BF 2B 78 */ mr r31, r5 +/* 8034D844 0034A7A4 38 A1 00 08 */ addi r5, r1, 8 +/* 8034D848 0034A7A8 48 07 09 05 */ bl CARDGetStatus +/* 8034D84C 0034A7AC 38 00 00 0D */ li r0, 0xd +/* 8034D850 0034A7B0 38 DF FF FC */ addi r6, r31, -4 +/* 8034D854 0034A7B4 38 A1 00 04 */ addi r5, r1, 4 +/* 8034D858 0034A7B8 7C 09 03 A6 */ mtctr r0 +lbl_8034D85C: +/* 8034D85C 0034A7BC 80 85 00 04 */ lwz r4, 4(r5) +/* 8034D860 0034A7C0 84 05 00 08 */ lwzu r0, 8(r5) +/* 8034D864 0034A7C4 90 86 00 04 */ stw r4, 4(r6) +/* 8034D868 0034A7C8 94 06 00 08 */ stwu r0, 8(r6) +/* 8034D86C 0034A7CC 42 00 FF F0 */ bdnz lbl_8034D85C +/* 8034D870 0034A7D0 80 05 00 04 */ lwz r0, 4(r5) +/* 8034D874 0034A7D4 90 06 00 04 */ stw r0, 4(r6) +/* 8034D878 0034A7D8 80 01 00 84 */ lwz r0, 0x84(r1) +/* 8034D87C 0034A7DC 83 E1 00 7C */ lwz r31, 0x7c(r1) +/* 8034D880 0034A7E0 7C 08 03 A6 */ mtlr r0 +/* 8034D884 0034A7E4 38 21 00 80 */ addi r1, r1, 0x80 +/* 8034D888 0034A7E8 4E 80 00 20 */ blr + +.global GetSerialNo__14CMemoryCardSysFiRx +GetSerialNo__14CMemoryCardSysFiRx: +/* 8034D88C 0034A7EC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034D890 0034A7F0 7C 08 02 A6 */ mflr r0 +/* 8034D894 0034A7F4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034D898 0034A7F8 48 07 0D 51 */ bl CARDGetSerialNo +/* 8034D89C 0034A7FC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034D8A0 0034A800 7C 08 03 A6 */ mtlr r0 +/* 8034D8A4 0034A804 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034D8A8 0034A808 4E 80 00 20 */ blr + +.global TryFileRead__19SMemoryCardFileInfoFv +TryFileRead__19SMemoryCardFileInfoFv: +/* 8034D8AC 0034A80C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034D8B0 0034A810 7C 08 02 A6 */ mflr r0 +/* 8034D8B4 0034A814 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034D8B8 0034A818 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034D8BC 0034A81C 7C 7F 1B 78 */ mr r31, r3 +/* 8034D8C0 0034A820 48 00 11 ED */ bl GetFileCardPort__19SMemoryCardFileInfoFv +/* 8034D8C4 0034A824 48 00 0B 29 */ bl GetResultCode__14CMemoryCardSysFi +/* 8034D8C8 0034A828 2C 03 00 00 */ cmpwi r3, 0 +/* 8034D8CC 0034A82C 41 82 00 08 */ beq lbl_8034D8D4 +/* 8034D8D0 0034A830 48 00 00 0C */ b lbl_8034D8DC +lbl_8034D8D4: +/* 8034D8D4 0034A834 7F E3 FB 78 */ mr r3, r31 +/* 8034D8D8 0034A838 48 00 12 71 */ bl FileRead__19SMemoryCardFileInfoFv +lbl_8034D8DC: +/* 8034D8DC 0034A83C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034D8E0 0034A840 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034D8E4 0034A844 7C 08 03 A6 */ mtlr r0 +/* 8034D8E8 0034A848 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034D8EC 0034A84C 4E 80 00 20 */ blr + +.global StartRead__19SMemoryCardFileInfoFv +StartRead__19SMemoryCardFileInfoFv: +/* 8034D8F0 0034A850 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 8034D8F4 0034A854 7C 08 02 A6 */ mflr r0 +/* 8034D8F8 0034A858 38 80 00 00 */ li r4, 0 +/* 8034D8FC 0034A85C 38 A0 00 6C */ li r5, 0x6c +/* 8034D900 0034A860 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 8034D904 0034A864 93 E1 00 9C */ stw r31, 0x9c(r1) +/* 8034D908 0034A868 93 C1 00 98 */ stw r30, 0x98(r1) +/* 8034D90C 0034A86C 7C 7E 1B 78 */ mr r30, r3 +/* 8034D910 0034A870 38 61 00 28 */ addi r3, r1, 0x28 +/* 8034D914 0034A874 4B CB 5A 95 */ bl memset +/* 8034D918 0034A878 7F C3 F3 78 */ mr r3, r30 +/* 8034D91C 0034A87C 48 00 11 89 */ bl GetFileNo__19SMemoryCardFileInfoFv +/* 8034D920 0034A880 7C 7F 1B 78 */ mr r31, r3 +/* 8034D924 0034A884 7F C3 F3 78 */ mr r3, r30 +/* 8034D928 0034A888 48 00 11 85 */ bl GetFileCardPort__19SMemoryCardFileInfoFv +/* 8034D92C 0034A88C 7F E4 FB 78 */ mr r4, r31 +/* 8034D930 0034A890 38 A1 00 28 */ addi r5, r1, 0x28 +/* 8034D934 0034A894 4B FF FE FD */ bl GetStatus__14CMemoryCardSysFiiP8CARDStat +/* 8034D938 0034A898 2C 03 00 00 */ cmpwi r3, 0 +/* 8034D93C 0034A89C 41 82 00 08 */ beq lbl_8034D944 +/* 8034D940 0034A8A0 48 00 00 90 */ b lbl_8034D9D0 +lbl_8034D944: +/* 8034D944 0034A8A4 38 61 00 28 */ addi r3, r1, 0x28 +/* 8034D948 0034A8A8 48 00 0C 85 */ bl GetFileLength__8CARDStatFv +/* 8034D94C 0034A8AC 38 00 00 00 */ li r0, 0 +/* 8034D950 0034A8B0 7C 7F 1B 78 */ mr r31, r3 +/* 8034D954 0034A8B4 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8034D958 0034A8B8 38 7E 00 34 */ addi r3, r30, 0x34 +/* 8034D95C 0034A8BC 38 81 00 18 */ addi r4, r1, 0x18 +/* 8034D960 0034A8C0 90 01 00 20 */ stw r0, 0x20(r1) +/* 8034D964 0034A8C4 90 01 00 24 */ stw r0, 0x24(r1) +/* 8034D968 0034A8C8 4B F5 AD 4D */ bl sub_802a86b4 +/* 8034D96C 0034A8CC 80 61 00 24 */ lwz r3, 0x24(r1) +/* 8034D970 0034A8D0 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 8034D974 0034A8D4 90 61 00 0C */ stw r3, 0xc(r1) +/* 8034D978 0034A8D8 7C 83 02 14 */ add r4, r3, r0 +/* 8034D97C 0034A8DC 7C 03 20 50 */ subf r0, r3, r4 +/* 8034D980 0034A8E0 90 81 00 14 */ stw r4, 0x14(r1) +/* 8034D984 0034A8E4 90 81 00 10 */ stw r4, 0x10(r1) +/* 8034D988 0034A8E8 90 61 00 08 */ stw r3, 8(r1) +/* 8034D98C 0034A8EC 7C 09 03 A6 */ mtctr r0 +/* 8034D990 0034A8F0 7C 03 20 40 */ cmplw r3, r4 +/* 8034D994 0034A8F4 41 82 00 08 */ beq lbl_8034D99C +lbl_8034D998: +/* 8034D998 0034A8F8 42 00 00 00 */ bdnz lbl_8034D998 +lbl_8034D99C: +/* 8034D99C 0034A8FC 28 03 00 00 */ cmplwi r3, 0 +/* 8034D9A0 0034A900 41 82 00 08 */ beq lbl_8034D9A8 +/* 8034D9A4 0034A904 4B FC 7F 8D */ bl Free__7CMemoryFPCv +lbl_8034D9A8: +/* 8034D9A8 0034A908 7F E4 FB 78 */ mr r4, r31 +/* 8034D9AC 0034A90C 38 7E 00 24 */ addi r3, r30, 0x24 +/* 8034D9B0 0034A910 38 AD 9D EA */ addi r5, r13, lbl_805A89AA@sda21 +/* 8034D9B4 0034A914 48 00 00 35 */ bl sub_8034d9e8 +/* 8034D9B8 0034A918 80 9E 00 30 */ lwz r4, 0x30(r30) +/* 8034D9BC 0034A91C 7F C3 F3 78 */ mr r3, r30 +/* 8034D9C0 0034A920 7F E5 FB 78 */ mr r5, r31 +/* 8034D9C4 0034A924 38 C0 00 00 */ li r6, 0 +/* 8034D9C8 0034A928 38 E0 00 00 */ li r7, 0 +/* 8034D9CC 0034A92C 48 06 FE 2D */ bl CARDReadAsync +lbl_8034D9D0: +/* 8034D9D0 0034A930 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 8034D9D4 0034A934 83 E1 00 9C */ lwz r31, 0x9c(r1) +/* 8034D9D8 0034A938 83 C1 00 98 */ lwz r30, 0x98(r1) +/* 8034D9DC 0034A93C 7C 08 03 A6 */ mtlr r0 +/* 8034D9E0 0034A940 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 8034D9E4 0034A944 4E 80 00 20 */ blr + +.global sub_8034d9e8 +sub_8034d9e8: +/* 8034D9E8 0034A948 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8034D9EC 0034A94C 7C 08 02 A6 */ mflr r0 +/* 8034D9F0 0034A950 90 01 00 34 */ stw r0, 0x34(r1) +/* 8034D9F4 0034A954 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8034D9F8 0034A958 7C BF 2B 78 */ mr r31, r5 +/* 8034D9FC 0034A95C 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8034DA00 0034A960 7C 9E 23 78 */ mr r30, r4 +/* 8034DA04 0034A964 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8034DA08 0034A968 7C 7D 1B 78 */ mr r29, r3 +/* 8034DA0C 0034A96C 93 81 00 20 */ stw r28, 0x20(r1) +/* 8034DA10 0034A970 80 83 00 0C */ lwz r4, 0xc(r3) +/* 8034DA14 0034A974 80 03 00 04 */ lwz r0, 4(r3) +/* 8034DA18 0034A978 90 81 00 0C */ stw r4, 0xc(r1) +/* 8034DA1C 0034A97C 7C 64 02 14 */ add r3, r4, r0 +/* 8034DA20 0034A980 7C 04 18 50 */ subf r0, r4, r3 +/* 8034DA24 0034A984 90 61 00 14 */ stw r3, 0x14(r1) +/* 8034DA28 0034A988 90 61 00 10 */ stw r3, 0x10(r1) +/* 8034DA2C 0034A98C 90 81 00 08 */ stw r4, 8(r1) +/* 8034DA30 0034A990 7C 09 03 A6 */ mtctr r0 +/* 8034DA34 0034A994 7C 04 18 40 */ cmplw r4, r3 +/* 8034DA38 0034A998 41 82 00 08 */ beq lbl_8034DA40 +lbl_8034DA3C: +/* 8034DA3C 0034A99C 42 00 00 00 */ bdnz lbl_8034DA3C +lbl_8034DA40: +/* 8034DA40 0034A9A0 38 00 00 00 */ li r0, 0 +/* 8034DA44 0034A9A4 7F A3 EB 78 */ mr r3, r29 +/* 8034DA48 0034A9A8 90 1D 00 04 */ stw r0, 4(r29) +/* 8034DA4C 0034A9AC 7F C4 F3 78 */ mr r4, r30 +/* 8034DA50 0034A9B0 48 00 12 E1 */ bl sub_8034ed30 +/* 8034DA54 0034A9B4 3B 80 00 00 */ li r28, 0 +/* 8034DA58 0034A9B8 48 00 00 54 */ b lbl_8034DAAC +lbl_8034DA5C: +/* 8034DA5C 0034A9BC 80 1D 00 04 */ lwz r0, 4(r29) +/* 8034DA60 0034A9C0 80 BD 00 08 */ lwz r5, 8(r29) +/* 8034DA64 0034A9C4 7C 00 28 00 */ cmpw r0, r5 +/* 8034DA68 0034A9C8 41 80 00 1C */ blt lbl_8034DA84 +/* 8034DA6C 0034A9CC 2C 05 00 00 */ cmpwi r5, 0 +/* 8034DA70 0034A9D0 7F A3 EB 78 */ mr r3, r29 +/* 8034DA74 0034A9D4 38 80 00 04 */ li r4, 4 +/* 8034DA78 0034A9D8 41 82 00 08 */ beq lbl_8034DA80 +/* 8034DA7C 0034A9DC 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8034DA80: +/* 8034DA80 0034A9E0 48 00 12 B1 */ bl sub_8034ed30 +lbl_8034DA84: +/* 8034DA84 0034A9E4 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 8034DA88 0034A9E8 80 1D 00 04 */ lwz r0, 4(r29) +/* 8034DA8C 0034A9EC 7C 63 02 15 */ add. r3, r3, r0 +/* 8034DA90 0034A9F0 41 82 00 0C */ beq lbl_8034DA9C +/* 8034DA94 0034A9F4 88 1F 00 00 */ lbz r0, 0(r31) +/* 8034DA98 0034A9F8 98 03 00 00 */ stb r0, 0(r3) +lbl_8034DA9C: +/* 8034DA9C 0034A9FC 80 7D 00 04 */ lwz r3, 4(r29) +/* 8034DAA0 0034AA00 3B 9C 00 01 */ addi r28, r28, 1 +/* 8034DAA4 0034AA04 38 03 00 01 */ addi r0, r3, 1 +/* 8034DAA8 0034AA08 90 1D 00 04 */ stw r0, 4(r29) +lbl_8034DAAC: +/* 8034DAAC 0034AA0C 7C 1C F0 00 */ cmpw r28, r30 +/* 8034DAB0 0034AA10 41 80 FF AC */ blt lbl_8034DA5C +/* 8034DAB4 0034AA14 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8034DAB8 0034AA18 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8034DABC 0034AA1C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8034DAC0 0034AA20 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8034DAC4 0034AA24 83 81 00 20 */ lwz r28, 0x20(r1) +/* 8034DAC8 0034AA28 7C 08 03 A6 */ mtlr r0 +/* 8034DACC 0034AA2C 38 21 00 30 */ addi r1, r1, 0x30 +/* 8034DAD0 0034AA30 4E 80 00 20 */ blr + +.global GetStatus__13CCardFileInfoFP8CARDStat +GetStatus__13CCardFileInfoFP8CARDStat: +/* 8034DAD4 0034AA34 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8034DAD8 0034AA38 7C 08 02 A6 */ mflr r0 +/* 8034DADC 0034AA3C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8034DAE0 0034AA40 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8034DAE4 0034AA44 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8034DAE8 0034AA48 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8034DAEC 0034AA4C 7C 9D 23 78 */ mr r29, r4 +/* 8034DAF0 0034AA50 93 81 00 10 */ stw r28, 0x10(r1) +/* 8034DAF4 0034AA54 7C 7C 1B 78 */ mr r28, r3 +/* 8034DAF8 0034AA58 48 00 0F 9D */ bl GetFileNo__13CCardFileInfoFv +/* 8034DAFC 0034AA5C 7C 7F 1B 78 */ mr r31, r3 +/* 8034DB00 0034AA60 7F 83 E3 78 */ mr r3, r28 +/* 8034DB04 0034AA64 48 00 0F 99 */ bl GetCardPort__13CCardFileInfoFv +/* 8034DB08 0034AA68 7F E4 FB 78 */ mr r4, r31 +/* 8034DB0C 0034AA6C 7F A5 EB 78 */ mr r5, r29 +/* 8034DB10 0034AA70 4B FF FD 21 */ bl GetStatus__14CMemoryCardSysFiiP8CARDStat +/* 8034DB14 0034AA74 2C 03 00 00 */ cmpwi r3, 0 +/* 8034DB18 0034AA78 41 82 00 08 */ beq lbl_8034DB20 +/* 8034DB1C 0034AA7C 48 00 00 D8 */ b lbl_8034DBF4 +lbl_8034DB20: +/* 8034DB20 0034AA80 7F A3 EB 78 */ mr r3, r29 +/* 8034DB24 0034AA84 38 80 00 04 */ li r4, 4 +/* 8034DB28 0034AA88 48 00 0A 09 */ bl SetCommentAddr__8CARDStatFi +/* 8034DB2C 0034AA8C 7F A3 EB 78 */ mr r3, r29 +/* 8034DB30 0034AA90 38 80 00 44 */ li r4, 0x44 +/* 8034DB34 0034AA94 48 00 0A 05 */ bl SetIconAddr__8CARDStatFi +/* 8034DB38 0034AA98 80 7C 00 3C */ lwz r3, 0x3c(r28) +/* 8034DB3C 0034AA9C 3C 03 00 01 */ addis r0, r3, 1 +/* 8034DB40 0034AAA0 28 00 FF FF */ cmplwi r0, 0xffff +/* 8034DB44 0034AAA4 40 82 00 0C */ bne lbl_8034DB50 +/* 8034DB48 0034AAA8 38 80 00 00 */ li r4, 0 +/* 8034DB4C 0034AAAC 48 00 00 20 */ b lbl_8034DB6C +lbl_8034DB50: +/* 8034DB50 0034AAB0 80 7C 00 48 */ lwz r3, 0x48(r28) +/* 8034DB54 0034AAB4 80 03 00 00 */ lwz r0, 0(r3) +/* 8034DB58 0034AAB8 2C 00 00 08 */ cmpwi r0, 8 +/* 8034DB5C 0034AABC 40 82 00 0C */ bne lbl_8034DB68 +/* 8034DB60 0034AAC0 38 80 00 02 */ li r4, 2 +/* 8034DB64 0034AAC4 48 00 00 08 */ b lbl_8034DB6C +lbl_8034DB68: +/* 8034DB68 0034AAC8 38 80 00 01 */ li r4, 1 +lbl_8034DB6C: +/* 8034DB6C 0034AACC 7F A3 EB 78 */ mr r3, r29 +/* 8034DB70 0034AAD0 48 00 0A 19 */ bl SetBannerFormat__8CARDStatFi +/* 8034DB74 0034AAD4 3B FC 00 54 */ addi r31, r28, 0x54 +/* 8034DB78 0034AAD8 3B C0 00 00 */ li r30, 0 +/* 8034DB7C 0034AADC 48 00 00 40 */ b lbl_8034DBBC +lbl_8034DB80: +/* 8034DB80 0034AAE0 80 7F 00 10 */ lwz r3, 0x10(r31) +/* 8034DB84 0034AAE4 38 80 00 01 */ li r4, 1 +/* 8034DB88 0034AAE8 80 03 00 00 */ lwz r0, 0(r3) +/* 8034DB8C 0034AAEC 2C 00 00 08 */ cmpwi r0, 8 +/* 8034DB90 0034AAF0 40 82 00 08 */ bne lbl_8034DB98 +/* 8034DB94 0034AAF4 38 80 00 02 */ li r4, 2 +lbl_8034DB98: +/* 8034DB98 0034AAF8 7F A3 EB 78 */ mr r3, r29 +/* 8034DB9C 0034AAFC 7F C5 F3 78 */ mr r5, r30 +/* 8034DBA0 0034AB00 48 00 09 C5 */ bl SetIconFormat__8CARDStatFii +/* 8034DBA4 0034AB04 80 9F 00 04 */ lwz r4, 4(r31) +/* 8034DBA8 0034AB08 7F A3 EB 78 */ mr r3, r29 +/* 8034DBAC 0034AB0C 7F C5 F3 78 */ mr r5, r30 +/* 8034DBB0 0034AB10 48 00 09 91 */ bl SetIconSpeed__8CARDStatFii +/* 8034DBB4 0034AB14 3B FF 00 14 */ addi r31, r31, 0x14 +/* 8034DBB8 0034AB18 3B DE 00 01 */ addi r30, r30, 1 +lbl_8034DBBC: +/* 8034DBBC 0034AB1C 80 1C 00 50 */ lwz r0, 0x50(r28) +/* 8034DBC0 0034AB20 7C 1E 00 00 */ cmpw r30, r0 +/* 8034DBC4 0034AB24 41 80 FF BC */ blt lbl_8034DB80 +/* 8034DBC8 0034AB28 2C 1E 00 08 */ cmpwi r30, 8 +/* 8034DBCC 0034AB2C 40 80 00 24 */ bge lbl_8034DBF0 +/* 8034DBD0 0034AB30 7F A3 EB 78 */ mr r3, r29 +/* 8034DBD4 0034AB34 7F C5 F3 78 */ mr r5, r30 +/* 8034DBD8 0034AB38 38 80 00 00 */ li r4, 0 +/* 8034DBDC 0034AB3C 48 00 09 89 */ bl SetIconFormat__8CARDStatFii +/* 8034DBE0 0034AB40 7F A3 EB 78 */ mr r3, r29 +/* 8034DBE4 0034AB44 7F C5 F3 78 */ mr r5, r30 +/* 8034DBE8 0034AB48 38 80 00 00 */ li r4, 0 +/* 8034DBEC 0034AB4C 48 00 09 55 */ bl SetIconSpeed__8CARDStatFii +lbl_8034DBF0: +/* 8034DBF0 0034AB50 38 60 00 00 */ li r3, 0 +lbl_8034DBF4: +/* 8034DBF4 0034AB54 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8034DBF8 0034AB58 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8034DBFC 0034AB5C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8034DC00 0034AB60 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8034DC04 0034AB64 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8034DC08 0034AB68 7C 08 03 A6 */ mtlr r0 +/* 8034DC0C 0034AB6C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8034DC10 0034AB70 4E 80 00 20 */ blr + +.global PumpCardTransfer__13CCardFileInfoFv +PumpCardTransfer__13CCardFileInfoFv: +/* 8034DC14 0034AB74 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 8034DC18 0034AB78 7C 08 02 A6 */ mflr r0 +/* 8034DC1C 0034AB7C 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 8034DC20 0034AB80 93 E1 00 9C */ stw r31, 0x9c(r1) +/* 8034DC24 0034AB84 93 C1 00 98 */ stw r30, 0x98(r1) +/* 8034DC28 0034AB88 7C 7E 1B 78 */ mr r30, r3 +/* 8034DC2C 0034AB8C 80 03 00 00 */ lwz r0, 0(r3) +/* 8034DC30 0034AB90 2C 00 00 00 */ cmpwi r0, 0 +/* 8034DC34 0034AB94 40 82 00 0C */ bne lbl_8034DC40 +/* 8034DC38 0034AB98 38 60 00 00 */ li r3, 0 +/* 8034DC3C 0034AB9C 48 00 01 00 */ b lbl_8034DD3C +lbl_8034DC40: +/* 8034DC40 0034ABA0 2C 00 00 01 */ cmpwi r0, 1 +/* 8034DC44 0034ABA4 40 82 00 D8 */ bne lbl_8034DD1C +/* 8034DC48 0034ABA8 48 00 0E 55 */ bl GetCardPort__13CCardFileInfoFv +/* 8034DC4C 0034ABAC 48 00 07 A1 */ bl GetResultCode__14CMemoryCardSysFi +/* 8034DC50 0034ABB0 7C 7F 1B 78 */ mr r31, r3 +/* 8034DC54 0034ABB4 2C 1F FF FF */ cmpwi r31, -1 +/* 8034DC58 0034ABB8 41 82 00 54 */ beq lbl_8034DCAC +/* 8034DC5C 0034ABBC 38 00 00 00 */ li r0, 0 +/* 8034DC60 0034ABC0 38 7E 01 04 */ addi r3, r30, 0x104 +/* 8034DC64 0034ABC4 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8034DC68 0034ABC8 38 81 00 18 */ addi r4, r1, 0x18 +/* 8034DC6C 0034ABCC 90 01 00 20 */ stw r0, 0x20(r1) +/* 8034DC70 0034ABD0 90 01 00 24 */ stw r0, 0x24(r1) +/* 8034DC74 0034ABD4 48 00 00 E1 */ bl sub_8034dd54 +/* 8034DC78 0034ABD8 80 61 00 24 */ lwz r3, 0x24(r1) +/* 8034DC7C 0034ABDC 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 8034DC80 0034ABE0 90 61 00 0C */ stw r3, 0xc(r1) +/* 8034DC84 0034ABE4 7C 83 02 14 */ add r4, r3, r0 +/* 8034DC88 0034ABE8 7C 03 20 50 */ subf r0, r3, r4 +/* 8034DC8C 0034ABEC 90 81 00 14 */ stw r4, 0x14(r1) +/* 8034DC90 0034ABF0 90 81 00 10 */ stw r4, 0x10(r1) +/* 8034DC94 0034ABF4 90 61 00 08 */ stw r3, 8(r1) +/* 8034DC98 0034ABF8 7C 09 03 A6 */ mtctr r0 +/* 8034DC9C 0034ABFC 7C 03 20 40 */ cmplw r3, r4 +/* 8034DCA0 0034AC00 41 82 00 08 */ beq lbl_8034DCA8 +lbl_8034DCA4: +/* 8034DCA4 0034AC04 42 00 00 00 */ bdnz lbl_8034DCA4 +lbl_8034DCA8: +/* 8034DCA8 0034AC08 4B FC 7C 89 */ bl Free__7CMemoryFPCv +lbl_8034DCAC: +/* 8034DCAC 0034AC0C 2C 1F 00 00 */ cmpwi r31, 0 +/* 8034DCB0 0034AC10 41 82 00 0C */ beq lbl_8034DCBC +/* 8034DCB4 0034AC14 7F E3 FB 78 */ mr r3, r31 +/* 8034DCB8 0034AC18 48 00 00 84 */ b lbl_8034DD3C +lbl_8034DCBC: +/* 8034DCBC 0034AC1C 38 00 00 02 */ li r0, 2 +/* 8034DCC0 0034AC20 38 61 00 28 */ addi r3, r1, 0x28 +/* 8034DCC4 0034AC24 90 1E 00 00 */ stw r0, 0(r30) +/* 8034DCC8 0034AC28 38 80 00 00 */ li r4, 0 +/* 8034DCCC 0034AC2C 38 A0 00 6C */ li r5, 0x6c +/* 8034DCD0 0034AC30 4B CB 56 D9 */ bl memset +/* 8034DCD4 0034AC34 7F C3 F3 78 */ mr r3, r30 +/* 8034DCD8 0034AC38 38 81 00 28 */ addi r4, r1, 0x28 +/* 8034DCDC 0034AC3C 4B FF FD F9 */ bl GetStatus__13CCardFileInfoFP8CARDStat +/* 8034DCE0 0034AC40 2C 03 00 00 */ cmpwi r3, 0 +/* 8034DCE4 0034AC44 41 82 00 08 */ beq lbl_8034DCEC +/* 8034DCE8 0034AC48 48 00 00 54 */ b lbl_8034DD3C +lbl_8034DCEC: +/* 8034DCEC 0034AC4C 7F C3 F3 78 */ mr r3, r30 +/* 8034DCF0 0034AC50 48 00 0D A5 */ bl GetFileNo__13CCardFileInfoFv +/* 8034DCF4 0034AC54 7C 7F 1B 78 */ mr r31, r3 +/* 8034DCF8 0034AC58 7F C3 F3 78 */ mr r3, r30 +/* 8034DCFC 0034AC5C 48 00 0D A1 */ bl GetCardPort__13CCardFileInfoFv +/* 8034DD00 0034AC60 7F E4 FB 78 */ mr r4, r31 +/* 8034DD04 0034AC64 38 A1 00 28 */ addi r5, r1, 0x28 +/* 8034DD08 0034AC68 4B FF FB 05 */ bl SetStatus__14CMemoryCardSysFiiPC8CARDStat +/* 8034DD0C 0034AC6C 2C 03 00 00 */ cmpwi r3, 0 +/* 8034DD10 0034AC70 40 82 00 2C */ bne lbl_8034DD3C +/* 8034DD14 0034AC74 38 60 FF FF */ li r3, -1 +/* 8034DD18 0034AC78 48 00 00 24 */ b lbl_8034DD3C +lbl_8034DD1C: +/* 8034DD1C 0034AC7C 48 00 0D 81 */ bl GetCardPort__13CCardFileInfoFv +/* 8034DD20 0034AC80 48 00 06 CD */ bl GetResultCode__14CMemoryCardSysFi +/* 8034DD24 0034AC84 2C 03 00 00 */ cmpwi r3, 0 +/* 8034DD28 0034AC88 41 82 00 08 */ beq lbl_8034DD30 +/* 8034DD2C 0034AC8C 48 00 00 10 */ b lbl_8034DD3C +lbl_8034DD30: +/* 8034DD30 0034AC90 38 00 00 00 */ li r0, 0 +/* 8034DD34 0034AC94 38 60 00 00 */ li r3, 0 +/* 8034DD38 0034AC98 90 1E 00 00 */ stw r0, 0(r30) +lbl_8034DD3C: +/* 8034DD3C 0034AC9C 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 8034DD40 0034ACA0 83 E1 00 9C */ lwz r31, 0x9c(r1) +/* 8034DD44 0034ACA4 83 C1 00 98 */ lwz r30, 0x98(r1) +/* 8034DD48 0034ACA8 7C 08 03 A6 */ mtlr r0 +/* 8034DD4C 0034ACAC 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 8034DD50 0034ACB0 4E 80 00 20 */ blr + +.global sub_8034dd54 +sub_8034dd54: +/* 8034DD54 0034ACB4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8034DD58 0034ACB8 7C 08 02 A6 */ mflr r0 +/* 8034DD5C 0034ACBC 90 01 00 24 */ stw r0, 0x24(r1) +/* 8034DD60 0034ACC0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8034DD64 0034ACC4 7C 9F 23 78 */ mr r31, r4 +/* 8034DD68 0034ACC8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8034DD6C 0034ACCC 7C 7E 1B 78 */ mr r30, r3 +/* 8034DD70 0034ACD0 7C 1E F8 40 */ cmplw r30, r31 +/* 8034DD74 0034ACD4 40 82 00 08 */ bne lbl_8034DD7C +/* 8034DD78 0034ACD8 48 00 00 B4 */ b lbl_8034DE2C +lbl_8034DD7C: +/* 8034DD7C 0034ACDC 80 9E 00 0C */ lwz r4, 0xc(r30) +/* 8034DD80 0034ACE0 80 1E 00 04 */ lwz r0, 4(r30) +/* 8034DD84 0034ACE4 90 81 00 0C */ stw r4, 0xc(r1) +/* 8034DD88 0034ACE8 7C 64 02 14 */ add r3, r4, r0 +/* 8034DD8C 0034ACEC 7C 04 18 50 */ subf r0, r4, r3 +/* 8034DD90 0034ACF0 90 61 00 14 */ stw r3, 0x14(r1) +/* 8034DD94 0034ACF4 90 61 00 10 */ stw r3, 0x10(r1) +/* 8034DD98 0034ACF8 90 81 00 08 */ stw r4, 8(r1) +/* 8034DD9C 0034ACFC 7C 09 03 A6 */ mtctr r0 +/* 8034DDA0 0034AD00 7C 04 18 40 */ cmplw r4, r3 +/* 8034DDA4 0034AD04 41 82 00 08 */ beq lbl_8034DDAC +lbl_8034DDA8: +/* 8034DDA8 0034AD08 42 00 00 00 */ bdnz lbl_8034DDA8 +lbl_8034DDAC: +/* 8034DDAC 0034AD0C 38 00 00 00 */ li r0, 0 +/* 8034DDB0 0034AD10 90 1E 00 04 */ stw r0, 4(r30) +/* 8034DDB4 0034AD14 80 9F 00 04 */ lwz r4, 4(r31) +/* 8034DDB8 0034AD18 2C 04 00 00 */ cmpwi r4, 0 +/* 8034DDBC 0034AD1C 40 82 00 20 */ bne lbl_8034DDDC +/* 8034DDC0 0034AD20 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8034DDC4 0034AD24 4B FC 7B 6D */ bl Free__7CMemoryFPCv +/* 8034DDC8 0034AD28 38 00 00 00 */ li r0, 0 +/* 8034DDCC 0034AD2C 90 1E 00 04 */ stw r0, 4(r30) +/* 8034DDD0 0034AD30 90 1E 00 08 */ stw r0, 8(r30) +/* 8034DDD4 0034AD34 90 1E 00 0C */ stw r0, 0xc(r30) +/* 8034DDD8 0034AD38 48 00 00 50 */ b lbl_8034DE28 +lbl_8034DDDC: +/* 8034DDDC 0034AD3C 7F C3 F3 78 */ mr r3, r30 +/* 8034DDE0 0034AD40 48 00 0F 51 */ bl sub_8034ed30 +/* 8034DDE4 0034AD44 80 BF 00 0C */ lwz r5, 0xc(r31) +/* 8034DDE8 0034AD48 80 1F 00 04 */ lwz r0, 4(r31) +/* 8034DDEC 0034AD4C 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8034DDF0 0034AD50 7C 85 02 14 */ add r4, r5, r0 +/* 8034DDF4 0034AD54 7C 05 20 50 */ subf r0, r5, r4 +/* 8034DDF8 0034AD58 7C 09 03 A6 */ mtctr r0 +/* 8034DDFC 0034AD5C 7C 05 20 40 */ cmplw r5, r4 +/* 8034DE00 0034AD60 41 82 00 20 */ beq lbl_8034DE20 +lbl_8034DE04: +/* 8034DE04 0034AD64 28 03 00 00 */ cmplwi r3, 0 +/* 8034DE08 0034AD68 41 82 00 0C */ beq lbl_8034DE14 +/* 8034DE0C 0034AD6C 88 05 00 00 */ lbz r0, 0(r5) +/* 8034DE10 0034AD70 98 03 00 00 */ stb r0, 0(r3) +lbl_8034DE14: +/* 8034DE14 0034AD74 38 63 00 01 */ addi r3, r3, 1 +/* 8034DE18 0034AD78 38 A5 00 01 */ addi r5, r5, 1 +/* 8034DE1C 0034AD7C 42 00 FF E8 */ bdnz lbl_8034DE04 +lbl_8034DE20: +/* 8034DE20 0034AD80 80 1F 00 04 */ lwz r0, 4(r31) +/* 8034DE24 0034AD84 90 1E 00 04 */ stw r0, 4(r30) +lbl_8034DE28: +/* 8034DE28 0034AD88 7F C3 F3 78 */ mr r3, r30 +lbl_8034DE2C: +/* 8034DE2C 0034AD8C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8034DE30 0034AD90 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8034DE34 0034AD94 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8034DE38 0034AD98 7C 08 03 A6 */ mtlr r0 +/* 8034DE3C 0034AD9C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8034DE40 0034ADA0 4E 80 00 20 */ blr + +.global Write__14CMemoryCardSysFRQ214CMemoryCardSys13CCardFileInfoPCvUlUl +Write__14CMemoryCardSysFRQ214CMemoryCardSys13CCardFileInfoPCvUlUl: +/* 8034DE44 0034ADA4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8034DE48 0034ADA8 7C 08 02 A6 */ mflr r0 +/* 8034DE4C 0034ADAC 90 01 00 24 */ stw r0, 0x24(r1) +/* 8034DE50 0034ADB0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8034DE54 0034ADB4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8034DE58 0034ADB8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8034DE5C 0034ADBC 7C 7D 1B 78 */ mr r29, r3 +/* 8034DE60 0034ADC0 48 00 08 31 */ bl BuildCardBuffer__13CCardFileInfoFv +/* 8034DE64 0034ADC4 83 DD 01 10 */ lwz r30, 0x110(r29) +/* 8034DE68 0034ADC8 83 FD 01 08 */ lwz r31, 0x108(r29) +/* 8034DE6C 0034ADCC 7F C3 F3 78 */ mr r3, r30 +/* 8034DE70 0034ADD0 7F E4 FB 78 */ mr r4, r31 +/* 8034DE74 0034ADD4 48 03 0C 6D */ bl DCStoreRange +/* 8034DE78 0034ADD8 7F C4 F3 78 */ mr r4, r30 +/* 8034DE7C 0034ADDC 7F E5 FB 78 */ mr r5, r31 +/* 8034DE80 0034ADE0 38 7D 00 04 */ addi r3, r29, 4 +/* 8034DE84 0034ADE4 38 C0 00 00 */ li r6, 0 +/* 8034DE88 0034ADE8 38 E0 00 00 */ li r7, 0 +/* 8034DE8C 0034ADEC 48 06 FC D5 */ bl CARDWriteAsync +/* 8034DE90 0034ADF0 38 00 00 01 */ li r0, 1 +/* 8034DE94 0034ADF4 90 1D 00 00 */ stw r0, 0(r29) +/* 8034DE98 0034ADF8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8034DE9C 0034ADFC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8034DEA0 0034AE00 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8034DEA4 0034AE04 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8034DEA8 0034AE08 7C 08 03 A6 */ mtlr r0 +/* 8034DEAC 0034AE0C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8034DEB0 0034AE10 4E 80 00 20 */ blr + +.global CheckCard__14CMemoryCardSysFv +CheckCard__14CMemoryCardSysFv: +/* 8034DEB4 0034AE14 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034DEB8 0034AE18 7C 08 02 A6 */ mflr r0 +/* 8034DEBC 0034AE1C 38 80 00 00 */ li r4, 0 +/* 8034DEC0 0034AE20 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034DEC4 0034AE24 48 06 DC 25 */ bl CARDCheckAsync +/* 8034DEC8 0034AE28 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034DECC 0034AE2C 7C 08 03 A6 */ mtlr r0 +/* 8034DED0 0034AE30 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034DED4 0034AE34 4E 80 00 20 */ blr + +.global Rename__14CMemoryCardSysFiPCcPCc +Rename__14CMemoryCardSysFiPCcPCc: +/* 8034DED8 0034AE38 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034DEDC 0034AE3C 7C 08 02 A6 */ mflr r0 +/* 8034DEE0 0034AE40 38 C0 00 00 */ li r6, 0 +/* 8034DEE4 0034AE44 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034DEE8 0034AE48 80 84 00 00 */ lwz r4, 0(r4) +/* 8034DEEC 0034AE4C 80 A5 00 00 */ lwz r5, 0(r5) +/* 8034DEF0 0034AE50 48 07 04 FD */ bl CARDRenameAsync +/* 8034DEF4 0034AE54 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034DEF8 0034AE58 7C 08 03 A6 */ mtlr r0 +/* 8034DEFC 0034AE5C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034DF00 0034AE60 4E 80 00 20 */ blr + +.global Close__13CCardFileInfoFv +Close__13CCardFileInfoFv: +/* 8034DF04 0034AE64 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034DF08 0034AE68 7C 08 02 A6 */ mflr r0 +/* 8034DF0C 0034AE6C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034DF10 0034AE70 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034DF14 0034AE74 93 C1 00 08 */ stw r30, 8(r1) +/* 8034DF18 0034AE78 7C 7E 1B 78 */ mr r30, r3 +/* 8034DF1C 0034AE7C 48 00 0B 81 */ bl GetCardPort__13CCardFileInfoFv +/* 8034DF20 0034AE80 7C 7F 1B 78 */ mr r31, r3 +/* 8034DF24 0034AE84 38 7E 00 04 */ addi r3, r30, 4 +/* 8034DF28 0034AE88 48 06 F2 3D */ bl CARDClose +/* 8034DF2C 0034AE8C 93 FE 00 04 */ stw r31, 4(r30) +/* 8034DF30 0034AE90 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034DF34 0034AE94 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034DF38 0034AE98 83 C1 00 08 */ lwz r30, 8(r1) +/* 8034DF3C 0034AE9C 7C 08 03 A6 */ mtlr r0 +/* 8034DF40 0034AEA0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034DF44 0034AEA4 4E 80 00 20 */ blr + +.global Close__19SMemoryCardFileInfo +Close__19SMemoryCardFileInfo: +/* 8034DF48 0034AEA8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034DF4C 0034AEAC 7C 08 02 A6 */ mflr r0 +/* 8034DF50 0034AEB0 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034DF54 0034AEB4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034DF58 0034AEB8 93 C1 00 08 */ stw r30, 8(r1) +/* 8034DF5C 0034AEBC 7C 7E 1B 78 */ mr r30, r3 +/* 8034DF60 0034AEC0 48 00 0B 4D */ bl GetFileCardPort__19SMemoryCardFileInfoFv +/* 8034DF64 0034AEC4 7C 7F 1B 78 */ mr r31, r3 +/* 8034DF68 0034AEC8 7F C3 F3 78 */ mr r3, r30 +/* 8034DF6C 0034AECC 48 06 F1 F9 */ bl CARDClose +/* 8034DF70 0034AED0 93 FE 00 00 */ stw r31, 0(r30) +/* 8034DF74 0034AED4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034DF78 0034AED8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034DF7C 0034AEDC 83 C1 00 08 */ lwz r30, 8(r1) +/* 8034DF80 0034AEE0 7C 08 03 A6 */ mtlr r0 +/* 8034DF84 0034AEE4 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034DF88 0034AEE8 4E 80 00 20 */ blr + +.global FastDeleteFile__14CMemoryCardSysFii +FastDeleteFile__14CMemoryCardSysFii: +/* 8034DF8C 0034AEEC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034DF90 0034AEF0 7C 08 02 A6 */ mflr r0 +/* 8034DF94 0034AEF4 38 A0 00 00 */ li r5, 0 +/* 8034DF98 0034AEF8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034DF9C 0034AEFC 48 06 FD 7D */ bl CARDFastDeleteAsync +/* 8034DFA0 0034AF00 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034DFA4 0034AF04 7C 08 03 A6 */ mtlr r0 +/* 8034DFA8 0034AF08 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034DFAC 0034AF0C 4E 80 00 20 */ blr + +.global DeleteFile__14CMemoryCardSysFiPCc +DeleteFile__14CMemoryCardSysFiPCc: +/* 8034DFB0 0034AF10 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034DFB4 0034AF14 7C 08 02 A6 */ mflr r0 +/* 8034DFB8 0034AF18 38 A0 00 00 */ li r5, 0 +/* 8034DFBC 0034AF1C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034DFC0 0034AF20 80 84 00 00 */ lwz r4, 0(r4) +/* 8034DFC4 0034AF24 48 06 FE 81 */ bl CARDDeleteAsync +/* 8034DFC8 0034AF28 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034DFCC 0034AF2C 7C 08 03 A6 */ mtlr r0 +/* 8034DFD0 0034AF30 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034DFD4 0034AF34 4E 80 00 20 */ blr + +.global "CreateFile__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPortRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>UiRQ214CMemoryCardSys13CCardFileInfo" +"CreateFile__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPortRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>UiRQ214CMemoryCardSys13CCardFileInfo": +/* 8034DFD8 0034AF38 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034DFDC 0034AF3C 7C 08 02 A6 */ mflr r0 +/* 8034DFE0 0034AF40 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034DFE4 0034AF44 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034DFE8 0034AF48 93 C1 00 08 */ stw r30, 8(r1) +/* 8034DFEC 0034AF4C 7C 7E 1B 78 */ mr r30, r3 +/* 8034DFF0 0034AF50 48 00 06 69 */ bl CalculateTotalDataSize__13CCardFileInfoFv +/* 8034DFF4 0034AF54 7C 60 1B 78 */ mr r0, r3 +/* 8034DFF8 0034AF58 7F C3 F3 78 */ mr r3, r30 +/* 8034DFFC 0034AF5C 7C 1F 03 78 */ mr r31, r0 +/* 8034E000 0034AF60 48 00 0A 9D */ bl GetCardPort__13CCardFileInfoFv +/* 8034E004 0034AF64 80 9E 00 18 */ lwz r4, 0x18(r30) +/* 8034E008 0034AF68 7F E5 FB 78 */ mr r5, r31 +/* 8034E00C 0034AF6C 38 DE 00 04 */ addi r6, r30, 4 +/* 8034E010 0034AF70 38 E0 00 00 */ li r7, 0 +/* 8034E014 0034AF74 48 06 F2 DD */ bl CARDCreateAsync +/* 8034E018 0034AF78 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034E01C 0034AF7C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034E020 0034AF80 83 C1 00 08 */ lwz r30, 8(r1) +/* 8034E024 0034AF84 7C 08 03 A6 */ mtlr r0 +/* 8034E028 0034AF88 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034E02C 0034AF8C 4E 80 00 20 */ blr + +.global "OpenFile__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPortRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RQ214CMemoryCardSys13CCardFileInfo" +"OpenFile__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPortRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RQ214CMemoryCardSys13CCardFileInfo": +/* 8034E030 0034AF90 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034E034 0034AF94 7C 08 02 A6 */ mflr r0 +/* 8034E038 0034AF98 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034E03C 0034AF9C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034E040 0034AFA0 7C 7F 1B 78 */ mr r31, r3 +/* 8034E044 0034AFA4 48 00 0A 69 */ bl GetFileCardPort__19SMemoryCardFileInfoFv +/* 8034E048 0034AFA8 80 9F 00 14 */ lwz r4, 0x14(r31) +/* 8034E04C 0034AFAC 7F E5 FB 78 */ mr r5, r31 +/* 8034E050 0034AFB0 48 06 EF 9D */ bl CARDOpen +/* 8034E054 0034AFB4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034E058 0034AFB8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034E05C 0034AFBC 7C 08 03 A6 */ mtlr r0 +/* 8034E060 0034AFC0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034E064 0034AFC4 4E 80 00 20 */ blr + +.global LockIconToken__13CCardFileInfoFiiR11CSimplePool +LockIconToken__13CCardFileInfoFiiR11CSimplePool: +/* 8034E068 0034AFC8 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8034E06C 0034AFCC 7C 08 02 A6 */ mflr r0 +/* 8034E070 0034AFD0 90 01 00 34 */ stw r0, 0x34(r1) +/* 8034E074 0034AFD4 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8034E078 0034AFD8 7C 7F 1B 78 */ mr r31, r3 +/* 8034E07C 0034AFDC 38 61 00 08 */ addi r3, r1, 8 +/* 8034E080 0034AFE0 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8034E084 0034AFE4 48 00 0A 31 */ bl sub_8034eab4 +/* 8034E088 0034AFE8 80 1F 00 50 */ lwz r0, 0x50(r31) +/* 8034E08C 0034AFEC 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 8034E090 0034AFF0 7C BF 02 14 */ add r5, r31, r0 +/* 8034E094 0034AFF4 34 A5 00 54 */ addic. r5, r5, 0x54 +/* 8034E098 0034AFF8 41 82 00 34 */ beq lbl_8034E0CC +/* 8034E09C 0034AFFC 80 01 00 08 */ lwz r0, 8(r1) +/* 8034E0A0 0034B000 3B C5 00 08 */ addi r30, r5, 8 +/* 8034E0A4 0034B004 7F C3 F3 78 */ mr r3, r30 +/* 8034E0A8 0034B008 38 81 00 10 */ addi r4, r1, 0x10 +/* 8034E0AC 0034B00C 90 05 00 00 */ stw r0, 0(r5) +/* 8034E0B0 0034B010 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8034E0B4 0034B014 90 05 00 04 */ stw r0, 4(r5) +/* 8034E0B8 0034B018 4B FF 2D F1 */ bl __ct__6CTokenFRC6CToken +/* 8034E0BC 0034B01C 80 01 00 18 */ lwz r0, 0x18(r1) +/* 8034E0C0 0034B020 7F C3 F3 78 */ mr r3, r30 +/* 8034E0C4 0034B024 90 1E 00 08 */ stw r0, 8(r30) +/* 8034E0C8 0034B028 4B FF 2C BD */ bl Lock__6CTokenFv +lbl_8034E0CC: +/* 8034E0CC 0034B02C 80 9F 00 50 */ lwz r4, 0x50(r31) +/* 8034E0D0 0034B030 34 61 00 10 */ addic. r3, r1, 0x10 +/* 8034E0D4 0034B034 38 04 00 01 */ addi r0, r4, 1 +/* 8034E0D8 0034B038 90 1F 00 50 */ stw r0, 0x50(r31) +/* 8034E0DC 0034B03C 41 82 00 14 */ beq lbl_8034E0F0 +/* 8034E0E0 0034B040 28 03 00 00 */ cmplwi r3, 0 +/* 8034E0E4 0034B044 41 82 00 0C */ beq lbl_8034E0F0 +/* 8034E0E8 0034B048 38 80 00 00 */ li r4, 0 +/* 8034E0EC 0034B04C 4B FF 2D 55 */ bl __dt__6CTokenFv +lbl_8034E0F0: +/* 8034E0F0 0034B050 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8034E0F4 0034B054 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8034E0F8 0034B058 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8034E0FC 0034B05C 7C 08 03 A6 */ mtlr r0 +/* 8034E100 0034B060 38 21 00 30 */ addi r1, r1, 0x30 +/* 8034E104 0034B064 4E 80 00 20 */ blr + +.global LockBannerToken__13CCardFileInfoFiR11CSimplePool +LockBannerToken__13CCardFileInfoFiR11CSimplePool: +/* 8034E108 0034B068 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8034E10C 0034B06C 7C 08 02 A6 */ mflr r0 +/* 8034E110 0034B070 90 01 00 34 */ stw r0, 0x34(r1) +/* 8034E114 0034B074 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8034E118 0034B078 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8034E11C 0034B07C 7C 7E 1B 78 */ mr r30, r3 +/* 8034E120 0034B080 3C 60 54 58 */ lis r3, 0x54585452@ha +/* 8034E124 0034B084 90 9E 00 3C */ stw r4, 0x3c(r30) +/* 8034E128 0034B088 38 03 54 52 */ addi r0, r3, 0x54585452@l +/* 8034E12C 0034B08C 7C A4 2B 78 */ mr r4, r5 +/* 8034E130 0034B090 38 61 00 08 */ addi r3, r1, 8 +/* 8034E134 0034B094 80 DE 00 3C */ lwz r6, 0x3c(r30) +/* 8034E138 0034B098 38 A1 00 10 */ addi r5, r1, 0x10 +/* 8034E13C 0034B09C 90 01 00 10 */ stw r0, 0x10(r1) +/* 8034E140 0034B0A0 90 C1 00 14 */ stw r6, 0x14(r1) +/* 8034E144 0034B0A4 81 84 00 00 */ lwz r12, 0(r4) +/* 8034E148 0034B0A8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8034E14C 0034B0AC 7D 89 03 A6 */ mtctr r12 +/* 8034E150 0034B0B0 4E 80 04 21 */ bctrl +/* 8034E154 0034B0B4 3B E1 00 18 */ addi r31, r1, 0x18 +/* 8034E158 0034B0B8 38 81 00 08 */ addi r4, r1, 8 +/* 8034E15C 0034B0BC 7F E3 FB 78 */ mr r3, r31 +/* 8034E160 0034B0C0 4B FF 2D 49 */ bl __ct__6CTokenFRC6CToken +/* 8034E164 0034B0C4 7F E3 FB 78 */ mr r3, r31 +/* 8034E168 0034B0C8 4B FF 2C A5 */ bl GetObj__6CTokenFv +/* 8034E16C 0034B0CC 80 03 00 04 */ lwz r0, 4(r3) +/* 8034E170 0034B0D0 90 01 00 20 */ stw r0, 0x20(r1) +/* 8034E174 0034B0D4 88 1E 00 4C */ lbz r0, 0x4c(r30) +/* 8034E178 0034B0D8 28 00 00 00 */ cmplwi r0, 0 +/* 8034E17C 0034B0DC 40 82 00 34 */ bne lbl_8034E1B0 +/* 8034E180 0034B0E0 37 FE 00 40 */ addic. r31, r30, 0x40 +/* 8034E184 0034B0E4 41 82 00 20 */ beq lbl_8034E1A4 +/* 8034E188 0034B0E8 7F E3 FB 78 */ mr r3, r31 +/* 8034E18C 0034B0EC 38 81 00 18 */ addi r4, r1, 0x18 +/* 8034E190 0034B0F0 4B FF 2D 19 */ bl __ct__6CTokenFRC6CToken +/* 8034E194 0034B0F4 80 01 00 20 */ lwz r0, 0x20(r1) +/* 8034E198 0034B0F8 7F E3 FB 78 */ mr r3, r31 +/* 8034E19C 0034B0FC 90 1F 00 08 */ stw r0, 8(r31) +/* 8034E1A0 0034B100 4B FF 2B E5 */ bl Lock__6CTokenFv +lbl_8034E1A4: +/* 8034E1A4 0034B104 38 00 00 01 */ li r0, 1 +/* 8034E1A8 0034B108 98 1E 00 4C */ stb r0, 0x4c(r30) +/* 8034E1AC 0034B10C 48 00 00 1C */ b lbl_8034E1C8 +lbl_8034E1B0: +/* 8034E1B0 0034B110 3B FE 00 40 */ addi r31, r30, 0x40 +/* 8034E1B4 0034B114 38 81 00 18 */ addi r4, r1, 0x18 +/* 8034E1B8 0034B118 7F E3 FB 78 */ mr r3, r31 +/* 8034E1BC 0034B11C 4B FF 2B 09 */ bl __as__6CTokenFRC6CToken +/* 8034E1C0 0034B120 80 01 00 20 */ lwz r0, 0x20(r1) +/* 8034E1C4 0034B124 90 1F 00 08 */ stw r0, 8(r31) +lbl_8034E1C8: +/* 8034E1C8 0034B128 38 61 00 18 */ addi r3, r1, 0x18 +/* 8034E1CC 0034B12C 38 80 00 00 */ li r4, 0 +/* 8034E1D0 0034B130 4B FF 2C 71 */ bl __dt__6CTokenFv +/* 8034E1D4 0034B134 38 61 00 08 */ addi r3, r1, 8 +/* 8034E1D8 0034B138 38 80 FF FF */ li r4, -1 +/* 8034E1DC 0034B13C 4B FF 2C 65 */ bl __dt__6CTokenFv +/* 8034E1E0 0034B140 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8034E1E4 0034B144 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8034E1E8 0034B148 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8034E1EC 0034B14C 7C 08 03 A6 */ mtlr r0 +/* 8034E1F0 0034B150 38 21 00 30 */ addi r1, r1, 0x30 +/* 8034E1F4 0034B154 4E 80 00 20 */ blr + +.global __ct__13CCardFileInfoFRCQ24rstl6string +__ct__13CCardFileInfoFRCQ24rstl6string: +/* 8034E1F8 0034B158 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034E1FC 0034B15C 7C 08 02 A6 */ mflr r0 +/* 8034E200 0034B160 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034E204 0034B164 38 00 00 00 */ li r0, 0 +/* 8034E208 0034B168 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034E20C 0034B16C 7C 9F 23 78 */ mr r31, r4 +/* 8034E210 0034B170 7C A4 2B 78 */ mr r4, r5 +/* 8034E214 0034B174 93 C1 00 08 */ stw r30, 8(r1) +/* 8034E218 0034B178 7C 7E 1B 78 */ mr r30, r3 +/* 8034E21C 0034B17C 90 03 00 00 */ stw r0, 0(r3) +/* 8034E220 0034B180 38 7E 00 18 */ addi r3, r30, 0x18 +/* 8034E224 0034B184 4B FE FF 3D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8034E228 0034B188 38 0D A9 18 */ addi r0, r13, "_EmptyString__Q24rstl66basic_string,Q24rstl17rmemory_allocator>"@sda21 +/* 8034E22C 0034B18C 38 80 00 00 */ li r4, 0 +/* 8034E230 0034B190 90 1E 00 28 */ stw r0, 0x28(r30) +/* 8034E234 0034B194 38 00 FF FF */ li r0, -1 +/* 8034E238 0034B198 7F C3 F3 78 */ mr r3, r30 +/* 8034E23C 0034B19C 90 9E 00 2C */ stw r4, 0x2c(r30) +/* 8034E240 0034B1A0 90 9E 00 30 */ stw r4, 0x30(r30) +/* 8034E244 0034B1A4 90 9E 00 38 */ stw r4, 0x38(r30) +/* 8034E248 0034B1A8 90 1E 00 3C */ stw r0, 0x3c(r30) +/* 8034E24C 0034B1AC 98 9E 00 4C */ stb r4, 0x4c(r30) +/* 8034E250 0034B1B0 90 9E 00 50 */ stw r4, 0x50(r30) +/* 8034E254 0034B1B4 90 9E 00 F8 */ stw r4, 0xf8(r30) +/* 8034E258 0034B1B8 90 9E 00 FC */ stw r4, 0xfc(r30) +/* 8034E25C 0034B1BC 90 9E 01 00 */ stw r4, 0x100(r30) +/* 8034E260 0034B1C0 90 9E 01 08 */ stw r4, 0x108(r30) +/* 8034E264 0034B1C4 90 9E 01 0C */ stw r4, 0x10c(r30) +/* 8034E268 0034B1C8 90 9E 01 10 */ stw r4, 0x110(r30) +/* 8034E26C 0034B1CC 93 FE 00 04 */ stw r31, 4(r30) +/* 8034E270 0034B1D0 90 1E 00 08 */ stw r0, 8(r30) +/* 8034E274 0034B1D4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034E278 0034B1D8 83 C1 00 08 */ lwz r30, 8(r1) +/* 8034E27C 0034B1DC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034E280 0034B1E0 7C 08 03 A6 */ mtlr r0 +/* 8034E284 0034B1E4 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034E288 0034B1E8 4E 80 00 20 */ blr + +.global __ct__19SMemoryCardFileInfoFiRCQ24rstl6string +__ct__19SMemoryCardFileInfoFiRCQ24rstl6string: +/* 8034E28C 0034B1EC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034E290 0034B1F0 7C 08 02 A6 */ mflr r0 +/* 8034E294 0034B1F4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034E298 0034B1F8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034E29C 0034B1FC 7C 9F 23 78 */ mr r31, r4 +/* 8034E2A0 0034B200 7C A4 2B 78 */ mr r4, r5 +/* 8034E2A4 0034B204 93 C1 00 08 */ stw r30, 8(r1) +/* 8034E2A8 0034B208 7C 7E 1B 78 */ mr r30, r3 +/* 8034E2AC 0034B20C 38 7E 00 14 */ addi r3, r30, 0x14 +/* 8034E2B0 0034B210 4B FE FE B1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8034E2B4 0034B214 38 80 00 00 */ li r4, 0 +/* 8034E2B8 0034B218 38 00 FF FF */ li r0, -1 +/* 8034E2BC 0034B21C 90 9E 00 28 */ stw r4, 0x28(r30) +/* 8034E2C0 0034B220 7F C3 F3 78 */ mr r3, r30 +/* 8034E2C4 0034B224 90 9E 00 2C */ stw r4, 0x2c(r30) +/* 8034E2C8 0034B228 90 9E 00 30 */ stw r4, 0x30(r30) +/* 8034E2CC 0034B22C 90 9E 00 38 */ stw r4, 0x38(r30) +/* 8034E2D0 0034B230 90 9E 00 3C */ stw r4, 0x3c(r30) +/* 8034E2D4 0034B234 90 9E 00 40 */ stw r4, 0x40(r30) +/* 8034E2D8 0034B238 93 FE 00 00 */ stw r31, 0(r30) +/* 8034E2DC 0034B23C 90 1E 00 04 */ stw r0, 4(r30) +/* 8034E2E0 0034B240 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034E2E4 0034B244 83 C1 00 08 */ lwz r30, 8(r1) +/* 8034E2E8 0034B248 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034E2EC 0034B24C 7C 08 03 A6 */ mtlr r0 +/* 8034E2F0 0034B250 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034E2F4 0034B254 4E 80 00 20 */ blr + +.global GetNumFreeBytes__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPortRUi +GetNumFreeBytes__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPortRUi: +/* 8034E2F8 0034B258 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8034E2FC 0034B25C 7C 08 02 A6 */ mflr r0 +/* 8034E300 0034B260 90 01 00 24 */ stw r0, 0x24(r1) +/* 8034E304 0034B264 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8034E308 0034B268 7C BF 2B 78 */ mr r31, r5 +/* 8034E30C 0034B26C 38 A1 00 08 */ addi r5, r1, 8 +/* 8034E310 0034B270 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8034E314 0034B274 7C 9E 23 78 */ mr r30, r4 +/* 8034E318 0034B278 38 81 00 0C */ addi r4, r1, 0xc +/* 8034E31C 0034B27C 48 06 AB D1 */ bl CARDFreeBlocks +/* 8034E320 0034B280 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8034E324 0034B284 90 1E 00 00 */ stw r0, 0(r30) +/* 8034E328 0034B288 80 01 00 08 */ lwz r0, 8(r1) +/* 8034E32C 0034B28C 90 1F 00 00 */ stw r0, 0(r31) +/* 8034E330 0034B290 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8034E334 0034B294 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8034E338 0034B298 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8034E33C 0034B29C 7C 08 03 A6 */ mtlr r0 +/* 8034E340 0034B2A0 38 21 00 20 */ addi r1, r1, 0x20 +/* 8034E344 0034B2A4 4E 80 00 20 */ blr + +.global FormatCard__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort +FormatCard__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort: +/* 8034E348 0034B2A8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034E34C 0034B2AC 7C 08 02 A6 */ mflr r0 +/* 8034E350 0034B2B0 38 80 00 00 */ li r4, 0 +/* 8034E354 0034B2B4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034E358 0034B2B8 48 06 E9 CD */ bl CARDFormatAsync +/* 8034E35C 0034B2BC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034E360 0034B2C0 7C 08 03 A6 */ mtlr r0 +/* 8034E364 0034B2C4 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034E368 0034B2C8 4E 80 00 20 */ blr + +.global UnmountCard__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort +UnmountCard__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort: +/* 8034E36C 0034B2CC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034E370 0034B2D0 7C 08 02 A6 */ mflr r0 +/* 8034E374 0034B2D4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034E378 0034B2D8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034E37C 0034B2DC 7C 7F 1B 78 */ mr r31, r3 +/* 8034E380 0034B2E0 48 06 E1 5D */ bl CARDUnmount +/* 8034E384 0034B2E4 7C 60 1B 78 */ mr r0, r3 +/* 8034E388 0034B2E8 7F E3 FB 78 */ mr r3, r31 +/* 8034E38C 0034B2EC 7C 1F 03 78 */ mr r31, r0 +/* 8034E390 0034B2F0 4B FF F1 4D */ bl FreeCardWorkArea__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort +/* 8034E394 0034B2F4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034E398 0034B2F8 7F E3 FB 78 */ mr r3, r31 +/* 8034E39C 0034B2FC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034E3A0 0034B300 7C 08 03 A6 */ mtlr r0 +/* 8034E3A4 0034B304 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034E3A8 0034B308 4E 80 00 20 */ blr + +.global MountCard__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort +MountCard__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort: +/* 8034E3AC 0034B30C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034E3B0 0034B310 7C 08 02 A6 */ mflr r0 +/* 8034E3B4 0034B314 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034E3B8 0034B318 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034E3BC 0034B31C 7C 7F 1B 78 */ mr r31, r3 +/* 8034E3C0 0034B320 4B FF F2 F9 */ bl AllocCardWorkArea__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort +/* 8034E3C4 0034B324 7C 64 1B 78 */ mr r4, r3 +/* 8034E3C8 0034B328 7F E3 FB 78 */ mr r3, r31 +/* 8034E3CC 0034B32C 38 A0 00 00 */ li r5, 0 +/* 8034E3D0 0034B330 38 C0 00 00 */ li r6, 0 +/* 8034E3D4 0034B334 48 06 DE CD */ bl CARDMountAsync +/* 8034E3D8 0034B338 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034E3DC 0034B33C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034E3E0 0034B340 7C 08 03 A6 */ mtlr r0 +/* 8034E3E4 0034B344 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034E3E8 0034B348 4E 80 00 20 */ blr + +.global GetResultCode__14CMemoryCardSysFi +GetResultCode__14CMemoryCardSysFi: +/* 8034E3EC 0034B34C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034E3F0 0034B350 7C 08 02 A6 */ mflr r0 +/* 8034E3F4 0034B354 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034E3F8 0034B358 48 06 AA C5 */ bl CARDGetResultCode +/* 8034E3FC 0034B35C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034E400 0034B360 7C 08 03 A6 */ mtlr r0 +/* 8034E404 0034B364 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034E408 0034B368 4E 80 00 20 */ blr + +.global IsMemoryCardInserted__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort +IsMemoryCardInserted__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort: +/* 8034E40C 0034B36C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8034E410 0034B370 7C 08 02 A6 */ mflr r0 +/* 8034E414 0034B374 90 01 00 24 */ stw r0, 0x24(r1) +/* 8034E418 0034B378 38 A1 00 10 */ addi r5, r1, 0x10 +/* 8034E41C 0034B37C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8034E420 0034B380 7C 7F 1B 78 */ mr r31, r3 +/* 8034E424 0034B384 7C 83 23 78 */ mr r3, r4 +/* 8034E428 0034B388 38 81 00 0C */ addi r4, r1, 0xc +/* 8034E42C 0034B38C 48 06 D7 B1 */ bl CARDProbeEx +/* 8034E430 0034B390 90 61 00 08 */ stw r3, 8(r1) +/* 8034E434 0034B394 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8034E438 0034B398 90 7F 00 00 */ stw r3, 0(r31) +/* 8034E43C 0034B39C 90 1F 00 04 */ stw r0, 4(r31) +/* 8034E440 0034B3A0 80 01 00 10 */ lwz r0, 0x10(r1) +/* 8034E444 0034B3A4 90 1F 00 08 */ stw r0, 8(r31) +/* 8034E448 0034B3A8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8034E44C 0034B3AC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8034E450 0034B3B0 7C 08 03 A6 */ mtlr r0 +/* 8034E454 0034B3B4 38 21 00 20 */ addi r1, r1, 0x20 +/* 8034E458 0034B3B8 4E 80 00 20 */ blr + +.global sub_8034e45c +sub_8034e45c: +/* 8034E45C 0034B3BC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034E460 0034B3C0 7C 08 02 A6 */ mflr r0 +/* 8034E464 0034B3C4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034E468 0034B3C8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034E46C 0034B3CC 7C 9F 23 78 */ mr r31, r4 +/* 8034E470 0034B3D0 93 C1 00 08 */ stw r30, 8(r1) +/* 8034E474 0034B3D4 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8034E478 0034B3D8 41 82 00 2C */ beq lbl_8034E4A4 +/* 8034E47C 0034B3DC 38 00 00 00 */ li r0, 0 +/* 8034E480 0034B3E0 38 60 00 00 */ li r3, 0 +/* 8034E484 0034B3E4 98 0D AA 01 */ stb r0, lbl_805A95C1@sda21(r13) +/* 8034E488 0034B3E8 4B FF F0 55 */ bl FreeCardWorkArea__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort +/* 8034E48C 0034B3EC 38 60 00 01 */ li r3, 1 +/* 8034E490 0034B3F0 4B FF F0 4D */ bl FreeCardWorkArea__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort +/* 8034E494 0034B3F4 7F E0 07 35 */ extsh. r0, r31 +/* 8034E498 0034B3F8 40 81 00 0C */ ble lbl_8034E4A4 +/* 8034E49C 0034B3FC 7F C3 F3 78 */ mr r3, r30 +/* 8034E4A0 0034B400 4B FC 74 91 */ bl Free__7CMemoryFPCv +lbl_8034E4A4: +/* 8034E4A4 0034B404 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034E4A8 0034B408 7F C3 F3 78 */ mr r3, r30 +/* 8034E4AC 0034B40C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034E4B0 0034B410 83 C1 00 08 */ lwz r30, 8(r1) +/* 8034E4B4 0034B414 7C 08 03 A6 */ mtlr r0 +/* 8034E4B8 0034B418 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034E4BC 0034B41C 4E 80 00 20 */ blr + +.global Initialize__14CMemoryCardSysFv +Initialize__14CMemoryCardSysFv: +/* 8034E4C0 0034B420 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034E4C4 0034B424 7C 08 02 A6 */ mflr r0 +/* 8034E4C8 0034B428 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034E4CC 0034B42C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034E4D0 0034B430 7C 7F 1B 78 */ mr r31, r3 +/* 8034E4D4 0034B434 88 0D AA 00 */ lbz r0, lbl_805A95C0@sda21(r13) +/* 8034E4D8 0034B438 28 00 00 00 */ cmplwi r0, 0 +/* 8034E4DC 0034B43C 40 82 00 10 */ bne lbl_8034E4EC +/* 8034E4E0 0034B440 48 06 A7 D5 */ bl CARDInit +/* 8034E4E4 0034B444 38 00 00 01 */ li r0, 1 +/* 8034E4E8 0034B448 98 0D AA 00 */ stb r0, lbl_805A95C0@sda21(r13) +lbl_8034E4EC: +/* 8034E4EC 0034B44C 38 00 00 01 */ li r0, 1 +/* 8034E4F0 0034B450 7F E3 FB 78 */ mr r3, r31 +/* 8034E4F4 0034B454 98 0D AA 01 */ stb r0, lbl_805A95C1@sda21(r13) +/* 8034E4F8 0034B458 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034E4FC 0034B45C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034E500 0034B460 7C 08 03 A6 */ mtlr r0 +/* 8034E504 0034B464 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034E508 0034B468 4E 80 00 20 */ blr + +.global SetComment__13CCardFileInfoFv +SetComment__13CCardFileInfoFv: +/* 8034E50C 0034B46C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034E510 0034B470 7C 08 02 A6 */ mflr r0 +/* 8034E514 0034B474 38 63 00 28 */ addi r3, r3, 0x28 +/* 8034E518 0034B478 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034E51C 0034B47C 4B FE F8 41 */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8034E520 0034B480 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034E524 0034B484 7C 08 03 A6 */ mtlr r0 +/* 8034E528 0034B488 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034E52C 0034B48C 4E 80 00 20 */ blr + +.global SetCommentAddr__8CARDStatFi +SetCommentAddr__8CARDStatFi: +/* 8034E530 0034B490 90 83 00 38 */ stw r4, 0x38(r3) +/* 8034E534 0034B494 4E 80 00 20 */ blr + +.global SetIconAddr__8CARDStatFi +SetIconAddr__8CARDStatFi: +/* 8034E538 0034B498 90 83 00 30 */ stw r4, 0x30(r3) +/* 8034E53C 0034B49C 4E 80 00 20 */ blr + +.global SetIconSpeed__8CARDStatFii +SetIconSpeed__8CARDStatFii: +/* 8034E540 0034B4A0 54 A7 08 3C */ slwi r7, r5, 1 +/* 8034E544 0034B4A4 38 00 00 03 */ li r0, 3 +/* 8034E548 0034B4A8 7C 05 38 30 */ slw r5, r0, r7 +/* 8034E54C 0034B4AC A0 C3 00 36 */ lhz r6, 0x36(r3) +/* 8034E550 0034B4B0 7C 80 38 30 */ slw r0, r4, r7 +/* 8034E554 0034B4B4 7C C4 28 78 */ andc r4, r6, r5 +/* 8034E558 0034B4B8 7C 80 03 78 */ or r0, r4, r0 +/* 8034E55C 0034B4BC B0 03 00 36 */ sth r0, 0x36(r3) +/* 8034E560 0034B4C0 4E 80 00 20 */ blr + +.global SetIconFormat__8CARDStatFii +SetIconFormat__8CARDStatFii: +/* 8034E564 0034B4C4 54 A7 08 3C */ slwi r7, r5, 1 +/* 8034E568 0034B4C8 38 00 00 03 */ li r0, 3 +/* 8034E56C 0034B4CC 7C 05 38 30 */ slw r5, r0, r7 +/* 8034E570 0034B4D0 A0 C3 00 34 */ lhz r6, 0x34(r3) +/* 8034E574 0034B4D4 7C 80 38 30 */ slw r0, r4, r7 +/* 8034E578 0034B4D8 7C C4 28 78 */ andc r4, r6, r5 +/* 8034E57C 0034B4DC 7C 80 03 78 */ or r0, r4, r0 +/* 8034E580 0034B4E0 B0 03 00 34 */ sth r0, 0x34(r3) +/* 8034E584 0034B4E4 4E 80 00 20 */ blr + +.global SetBannerFormat__8CARDStatFi +SetBannerFormat__8CARDStatFi: +/* 8034E588 0034B4E8 88 03 00 2E */ lbz r0, 0x2e(r3) +/* 8034E58C 0034B4EC 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d +/* 8034E590 0034B4F0 7C 00 23 78 */ or r0, r0, r4 +/* 8034E594 0034B4F4 98 03 00 2E */ stb r0, 0x2e(r3) +/* 8034E598 0034B4F8 4E 80 00 20 */ blr + +.global GetCommentAddr__8CARDStatFv +GetCommentAddr__8CARDStatFv: +/* 8034E59C 0034B4FC 80 63 00 38 */ lwz r3, 0x38(r3) +/* 8034E5A0 0034B500 4E 80 00 20 */ blr + +.global GetIconFormat__8CARDStatFi +GetIconFormat__8CARDStatFi: +/* 8034E5A4 0034B504 A0 63 00 34 */ lhz r3, 0x34(r3) +/* 8034E5A8 0034B508 54 80 08 3C */ slwi r0, r4, 1 +/* 8034E5AC 0034B50C 7C 60 06 30 */ sraw r0, r3, r0 +/* 8034E5B0 0034B510 54 03 07 BE */ clrlwi r3, r0, 0x1e +/* 8034E5B4 0034B514 4E 80 00 20 */ blr + +.global GetBannerFormat__8CARDStatFv +GetBannerFormat__8CARDStatFv: +/* 8034E5B8 0034B518 88 03 00 2E */ lbz r0, 0x2e(r3) +/* 8034E5BC 0034B51C 54 03 07 BE */ clrlwi r3, r0, 0x1e +/* 8034E5C0 0034B520 4E 80 00 20 */ blr + +.global GetTime__8CARDStatFv +GetTime__8CARDStatFv: +/* 8034E5C4 0034B524 80 63 00 24 */ lwz r3, 0x24(r3) +/* 8034E5C8 0034B528 4E 80 00 20 */ blr + +.global GetFileLength__8CARDStatFv +GetFileLength__8CARDStatFv: +/* 8034E5CC 0034B52C 80 63 00 20 */ lwz r3, 0x20(r3) +/* 8034E5D0 0034B530 4E 80 00 20 */ blr + +.global CalculateBannerDataSize__13CCardFileInfoFv +CalculateBannerDataSize__13CCardFileInfoFv: +/* 8034E5D4 0034B534 80 83 00 3C */ lwz r4, 0x3c(r3) +/* 8034E5D8 0034B538 38 A0 00 44 */ li r5, 0x44 +/* 8034E5DC 0034B53C 3C 04 00 01 */ addis r0, r4, 1 +/* 8034E5E0 0034B540 28 00 FF FF */ cmplwi r0, 0xffff +/* 8034E5E4 0034B544 41 82 00 20 */ beq lbl_8034E604 +/* 8034E5E8 0034B548 80 83 00 48 */ lwz r4, 0x48(r3) +/* 8034E5EC 0034B54C 80 04 00 00 */ lwz r0, 0(r4) +/* 8034E5F0 0034B550 2C 00 00 08 */ cmpwi r0, 8 +/* 8034E5F4 0034B554 40 82 00 0C */ bne lbl_8034E600 +/* 8034E5F8 0034B558 38 A0 18 44 */ li r5, 0x1844 +/* 8034E5FC 0034B55C 48 00 00 08 */ b lbl_8034E604 +lbl_8034E600: +/* 8034E600 0034B560 38 A0 0E 44 */ li r5, 0xe44 +lbl_8034E604: +/* 8034E604 0034B564 80 03 00 50 */ lwz r0, 0x50(r3) +/* 8034E608 0034B568 38 83 00 54 */ addi r4, r3, 0x54 +/* 8034E60C 0034B56C 38 C0 00 00 */ li r6, 0 +/* 8034E610 0034B570 7C 09 03 A6 */ mtctr r0 +/* 8034E614 0034B574 2C 00 00 00 */ cmpwi r0, 0 +/* 8034E618 0034B578 40 81 00 2C */ ble lbl_8034E644 +lbl_8034E61C: +/* 8034E61C 0034B57C 80 64 00 10 */ lwz r3, 0x10(r4) +/* 8034E620 0034B580 80 03 00 00 */ lwz r0, 0(r3) +/* 8034E624 0034B584 2C 00 00 08 */ cmpwi r0, 8 +/* 8034E628 0034B588 40 82 00 0C */ bne lbl_8034E634 +/* 8034E62C 0034B58C 38 A5 08 00 */ addi r5, r5, 0x800 +/* 8034E630 0034B590 48 00 00 0C */ b lbl_8034E63C +lbl_8034E634: +/* 8034E634 0034B594 38 C0 00 01 */ li r6, 1 +/* 8034E638 0034B598 38 A5 04 00 */ addi r5, r5, 0x400 +lbl_8034E63C: +/* 8034E63C 0034B59C 38 84 00 14 */ addi r4, r4, 0x14 +/* 8034E640 0034B5A0 42 00 FF DC */ bdnz lbl_8034E61C +lbl_8034E644: +/* 8034E644 0034B5A4 54 C0 06 3F */ clrlwi. r0, r6, 0x18 +/* 8034E648 0034B5A8 41 82 00 08 */ beq lbl_8034E650 +/* 8034E64C 0034B5AC 38 A5 02 00 */ addi r5, r5, 0x200 +lbl_8034E650: +/* 8034E650 0034B5B0 7C A3 2B 78 */ mr r3, r5 +/* 8034E654 0034B5B4 4E 80 00 20 */ blr + +.global CalculateTotalDataSize__13CCardFileInfoFv +CalculateTotalDataSize__13CCardFileInfoFv: +/* 8034E658 0034B5B8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034E65C 0034B5BC 7C 08 02 A6 */ mflr r0 +/* 8034E660 0034B5C0 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034E664 0034B5C4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034E668 0034B5C8 83 E3 00 F8 */ lwz r31, 0xf8(r3) +/* 8034E66C 0034B5CC 4B FF FF 69 */ bl CalculateBannerDataSize__13CCardFileInfoFv +/* 8034E670 0034B5D0 7C 63 FA 14 */ add r3, r3, r31 +/* 8034E674 0034B5D4 38 03 1F FF */ addi r0, r3, 0x1fff +/* 8034E678 0034B5D8 54 03 00 24 */ rlwinm r3, r0, 0, 0, 0x12 +/* 8034E67C 0034B5DC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034E680 0034B5E0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034E684 0034B5E4 7C 08 03 A6 */ mtlr r0 +/* 8034E688 0034B5E8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034E68C 0034B5EC 4E 80 00 20 */ blr + +.global BuildCardBuffer__13CCardFileInfoFv +BuildCardBuffer__13CCardFileInfoFv: +/* 8034E690 0034B5F0 94 21 FE F0 */ stwu r1, -0x110(r1) +/* 8034E694 0034B5F4 7C 08 02 A6 */ mflr r0 +/* 8034E698 0034B5F8 90 01 01 14 */ stw r0, 0x114(r1) +/* 8034E69C 0034B5FC 93 E1 01 0C */ stw r31, 0x10c(r1) +/* 8034E6A0 0034B600 93 C1 01 08 */ stw r30, 0x108(r1) +/* 8034E6A4 0034B604 93 A1 01 04 */ stw r29, 0x104(r1) +/* 8034E6A8 0034B608 93 81 01 00 */ stw r28, 0x100(r1) +/* 8034E6AC 0034B60C 7C 7C 1B 78 */ mr r28, r3 +/* 8034E6B0 0034B610 4B FF FF 25 */ bl CalculateBannerDataSize__13CCardFileInfoFv +/* 8034E6B4 0034B614 80 9C 00 F8 */ lwz r4, 0xf8(r28) +/* 8034E6B8 0034B618 7C 7F 1B 78 */ mr r31, r3 +/* 8034E6BC 0034B61C 38 7C 01 04 */ addi r3, r28, 0x104 +/* 8034E6C0 0034B620 38 AD 9D E9 */ addi r5, r13, lbl_805A89A9@sda21 +/* 8034E6C4 0034B624 38 04 1F FF */ addi r0, r4, 0x1fff +/* 8034E6C8 0034B628 7C 1F 02 14 */ add r0, r31, r0 +/* 8034E6CC 0034B62C 54 1E 00 24 */ rlwinm r30, r0, 0, 0, 0x12 +/* 8034E6D0 0034B630 7F C4 F3 78 */ mr r4, r30 +/* 8034E6D4 0034B634 4B FF F3 15 */ bl sub_8034d9e8 +/* 8034E6D8 0034B638 83 BC 01 10 */ lwz r29, 0x110(r28) +/* 8034E6DC 0034B63C 7F C5 F3 78 */ mr r5, r30 +/* 8034E6E0 0034B640 38 61 00 6C */ addi r3, r1, 0x6c +/* 8034E6E4 0034B644 38 C0 00 01 */ li r6, 1 +/* 8034E6E8 0034B648 7F A4 EB 78 */ mr r4, r29 +/* 8034E6EC 0034B64C 38 E0 10 00 */ li r7, 0x1000 +/* 8034E6F0 0034B650 4B FF 0C 4D */ bl __ct__16CMemoryStreamOutFPvUlQ216CMemoryStreamOut10EOwnerShipi +/* 8034E6F4 0034B654 38 00 00 00 */ li r0, 0 +/* 8034E6F8 0034B658 38 61 00 6C */ addi r3, r1, 0x6c +/* 8034E6FC 0034B65C 90 01 00 08 */ stw r0, 8(r1) +/* 8034E700 0034B660 4B FF 0D B9 */ bl FlushShiftRegister__13COutputStreamFv +/* 8034E704 0034B664 38 61 00 6C */ addi r3, r1, 0x6c +/* 8034E708 0034B668 38 81 00 08 */ addi r4, r1, 8 +/* 8034E70C 0034B66C 38 A0 00 04 */ li r5, 4 +/* 8034E710 0034B670 4B FF 0E 99 */ bl DoPut__13COutputStreamFPCvUl +/* 8034E714 0034B674 80 9C 00 28 */ lwz r4, 0x28(r28) +/* 8034E718 0034B678 38 61 00 2C */ addi r3, r1, 0x2c +/* 8034E71C 0034B67C 38 A0 00 40 */ li r5, 0x40 +/* 8034E720 0034B680 48 04 19 A5 */ bl strncpy +/* 8034E724 0034B684 38 61 00 6C */ addi r3, r1, 0x6c +/* 8034E728 0034B688 4B FF 0D 91 */ bl FlushShiftRegister__13COutputStreamFv +/* 8034E72C 0034B68C 38 61 00 6C */ addi r3, r1, 0x6c +/* 8034E730 0034B690 38 81 00 2C */ addi r4, r1, 0x2c +/* 8034E734 0034B694 38 A0 00 40 */ li r5, 0x40 +/* 8034E738 0034B698 4B FF 0E 71 */ bl DoPut__13COutputStreamFPCvUl +/* 8034E73C 0034B69C 7F 83 E3 78 */ mr r3, r28 +/* 8034E740 0034B6A0 38 81 00 6C */ addi r4, r1, 0x6c +/* 8034E744 0034B6A4 48 00 01 79 */ bl WriteBannerData__13CCardFileInfoFv +/* 8034E748 0034B6A8 7F 83 E3 78 */ mr r3, r28 +/* 8034E74C 0034B6AC 38 81 00 6C */ addi r4, r1, 0x6c +/* 8034E750 0034B6B0 48 00 00 AD */ bl WriteIconData__13CCardFileInfoFv +/* 8034E754 0034B6B4 38 61 00 6C */ addi r3, r1, 0x6c +/* 8034E758 0034B6B8 38 80 FF FF */ li r4, -1 +/* 8034E75C 0034B6BC 4B FF 0B 65 */ bl __dt__16CMemoryStreamOutFv +/* 8034E760 0034B6C0 80 1C 01 10 */ lwz r0, 0x110(r28) +/* 8034E764 0034B6C4 80 9C 01 00 */ lwz r4, 0x100(r28) +/* 8034E768 0034B6C8 80 BC 00 F8 */ lwz r5, 0xf8(r28) +/* 8034E76C 0034B6CC 7C 60 FA 14 */ add r3, r0, r31 +/* 8034E770 0034B6D0 4B CB 4D 21 */ bl memcpy +/* 8034E774 0034B6D4 38 7D 00 04 */ addi r3, r29, 4 +/* 8034E778 0034B6D8 38 9E FF FC */ addi r4, r30, -4 +/* 8034E77C 0034B6DC 4B FC 6E 15 */ bl Calculate__6CCRC32FPCvUi +/* 8034E780 0034B6E0 90 7D 00 00 */ stw r3, 0(r29) +/* 8034E784 0034B6E4 38 00 00 00 */ li r0, 0 +/* 8034E788 0034B6E8 38 7C 00 F4 */ addi r3, r28, 0xf4 +/* 8034E78C 0034B6EC 38 81 00 1C */ addi r4, r1, 0x1c +/* 8034E790 0034B6F0 90 01 00 20 */ stw r0, 0x20(r1) +/* 8034E794 0034B6F4 90 01 00 24 */ stw r0, 0x24(r1) +/* 8034E798 0034B6F8 90 01 00 28 */ stw r0, 0x28(r1) +/* 8034E79C 0034B6FC 4B F5 9F 19 */ bl sub_802a86b4 +/* 8034E7A0 0034B700 80 61 00 28 */ lwz r3, 0x28(r1) +/* 8034E7A4 0034B704 80 01 00 20 */ lwz r0, 0x20(r1) +/* 8034E7A8 0034B708 90 61 00 10 */ stw r3, 0x10(r1) +/* 8034E7AC 0034B70C 7C 83 02 14 */ add r4, r3, r0 +/* 8034E7B0 0034B710 7C 03 20 50 */ subf r0, r3, r4 +/* 8034E7B4 0034B714 90 81 00 18 */ stw r4, 0x18(r1) +/* 8034E7B8 0034B718 90 81 00 14 */ stw r4, 0x14(r1) +/* 8034E7BC 0034B71C 90 61 00 0C */ stw r3, 0xc(r1) +/* 8034E7C0 0034B720 7C 09 03 A6 */ mtctr r0 +/* 8034E7C4 0034B724 7C 03 20 40 */ cmplw r3, r4 +/* 8034E7C8 0034B728 41 82 00 08 */ beq lbl_8034E7D0 +lbl_8034E7CC: +/* 8034E7CC 0034B72C 42 00 00 00 */ bdnz lbl_8034E7CC +lbl_8034E7D0: +/* 8034E7D0 0034B730 28 03 00 00 */ cmplwi r3, 0 +/* 8034E7D4 0034B734 41 82 00 08 */ beq lbl_8034E7DC +/* 8034E7D8 0034B738 4B FC 71 59 */ bl Free__7CMemoryFPCv +lbl_8034E7DC: +/* 8034E7DC 0034B73C 80 01 01 14 */ lwz r0, 0x114(r1) +/* 8034E7E0 0034B740 83 E1 01 0C */ lwz r31, 0x10c(r1) +/* 8034E7E4 0034B744 83 C1 01 08 */ lwz r30, 0x108(r1) +/* 8034E7E8 0034B748 83 A1 01 04 */ lwz r29, 0x104(r1) +/* 8034E7EC 0034B74C 83 81 01 00 */ lwz r28, 0x100(r1) +/* 8034E7F0 0034B750 7C 08 03 A6 */ mtlr r0 +/* 8034E7F4 0034B754 38 21 01 10 */ addi r1, r1, 0x110 +/* 8034E7F8 0034B758 4E 80 00 20 */ blr + +.global WriteIconData__13CCardFileInfoFv +WriteIconData__13CCardFileInfoFv: +/* 8034E7FC 0034B75C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8034E800 0034B760 7C 08 02 A6 */ mflr r0 +/* 8034E804 0034B764 90 01 00 34 */ stw r0, 0x34(r1) +/* 8034E808 0034B768 BE E1 00 0C */ stmw r23, 0xc(r1) +/* 8034E80C 0034B76C 7C 77 1B 78 */ mr r23, r3 +/* 8034E810 0034B770 7C 98 23 78 */ mr r24, r4 +/* 8034E814 0034B774 3B 80 00 00 */ li r28, 0 +/* 8034E818 0034B778 3B B7 00 54 */ addi r29, r23, 0x54 +/* 8034E81C 0034B77C 3B 60 00 00 */ li r27, 0 +/* 8034E820 0034B780 48 00 00 5C */ b lbl_8034E87C +lbl_8034E824: +/* 8034E824 0034B784 83 DD 00 10 */ lwz r30, 0x10(r29) +/* 8034E828 0034B788 38 80 00 00 */ li r4, 0 +/* 8034E82C 0034B78C 83 5E 00 00 */ lwz r26, 0(r30) +/* 8034E830 0034B790 7F C3 F3 78 */ mr r3, r30 +/* 8034E834 0034B794 4B FB FD C1 */ bl GetConstBitMapData__8CTextureCFi +/* 8034E838 0034B798 2C 1A 00 08 */ cmpwi r26, 8 +/* 8034E83C 0034B79C 7C 79 1B 78 */ mr r25, r3 +/* 8034E840 0034B7A0 3B E0 04 00 */ li r31, 0x400 +/* 8034E844 0034B7A4 40 82 00 08 */ bne lbl_8034E84C +/* 8034E848 0034B7A8 3B E0 08 00 */ li r31, 0x800 +lbl_8034E84C: +/* 8034E84C 0034B7AC 7F 03 C3 78 */ mr r3, r24 +/* 8034E850 0034B7B0 4B FF 0C 69 */ bl FlushShiftRegister__13COutputStreamFv +/* 8034E854 0034B7B4 7F 03 C3 78 */ mr r3, r24 +/* 8034E858 0034B7B8 7F 24 CB 78 */ mr r4, r25 +/* 8034E85C 0034B7BC 7F E5 FB 78 */ mr r5, r31 +/* 8034E860 0034B7C0 4B FF 0D 49 */ bl DoPut__13COutputStreamFPCvUl +/* 8034E864 0034B7C4 2C 1A 00 05 */ cmpwi r26, 5 +/* 8034E868 0034B7C8 40 82 00 0C */ bne lbl_8034E874 +/* 8034E86C 0034B7CC 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 8034E870 0034B7D0 83 83 00 0C */ lwz r28, 0xc(r3) +lbl_8034E874: +/* 8034E874 0034B7D4 3B BD 00 14 */ addi r29, r29, 0x14 +/* 8034E878 0034B7D8 3B 7B 00 01 */ addi r27, r27, 1 +lbl_8034E87C: +/* 8034E87C 0034B7DC 80 17 00 50 */ lwz r0, 0x50(r23) +/* 8034E880 0034B7E0 7C 1B 00 00 */ cmpw r27, r0 +/* 8034E884 0034B7E4 41 80 FF A0 */ blt lbl_8034E824 +/* 8034E888 0034B7E8 28 1C 00 00 */ cmplwi r28, 0 +/* 8034E88C 0034B7EC 41 82 00 1C */ beq lbl_8034E8A8 +/* 8034E890 0034B7F0 7F 03 C3 78 */ mr r3, r24 +/* 8034E894 0034B7F4 4B FF 0C 25 */ bl FlushShiftRegister__13COutputStreamFv +/* 8034E898 0034B7F8 7F 03 C3 78 */ mr r3, r24 +/* 8034E89C 0034B7FC 7F 84 E3 78 */ mr r4, r28 +/* 8034E8A0 0034B800 38 A0 02 00 */ li r5, 0x200 +/* 8034E8A4 0034B804 4B FF 0D 05 */ bl DoPut__13COutputStreamFPCvUl +lbl_8034E8A8: +/* 8034E8A8 0034B808 BA E1 00 0C */ lmw r23, 0xc(r1) +/* 8034E8AC 0034B80C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8034E8B0 0034B810 7C 08 03 A6 */ mtlr r0 +/* 8034E8B4 0034B814 38 21 00 30 */ addi r1, r1, 0x30 +/* 8034E8B8 0034B818 4E 80 00 20 */ blr + +.global WriteBannerData__13CCardFileInfoFv +WriteBannerData__13CCardFileInfoFv: +/* 8034E8BC 0034B81C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8034E8C0 0034B820 7C 08 02 A6 */ mflr r0 +/* 8034E8C4 0034B824 90 01 00 24 */ stw r0, 0x24(r1) +/* 8034E8C8 0034B828 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 8034E8CC 0034B82C 7C 9B 23 78 */ mr r27, r4 +/* 8034E8D0 0034B830 80 A3 00 3C */ lwz r5, 0x3c(r3) +/* 8034E8D4 0034B834 3C 05 00 01 */ addis r0, r5, 1 +/* 8034E8D8 0034B838 28 00 FF FF */ cmplwi r0, 0xffff +/* 8034E8DC 0034B83C 41 82 00 6C */ beq lbl_8034E948 +/* 8034E8E0 0034B840 83 C3 00 48 */ lwz r30, 0x48(r3) +/* 8034E8E4 0034B844 38 80 00 00 */ li r4, 0 +/* 8034E8E8 0034B848 83 BE 00 00 */ lwz r29, 0(r30) +/* 8034E8EC 0034B84C 7F C3 F3 78 */ mr r3, r30 +/* 8034E8F0 0034B850 4B FB FD 05 */ bl GetConstBitMapData__8CTextureCFi +/* 8034E8F4 0034B854 2C 1D 00 08 */ cmpwi r29, 8 +/* 8034E8F8 0034B858 7C 7C 1B 78 */ mr r28, r3 +/* 8034E8FC 0034B85C 3B E0 0C 00 */ li r31, 0xc00 +/* 8034E900 0034B860 40 82 00 08 */ bne lbl_8034E908 +/* 8034E904 0034B864 3B E0 18 00 */ li r31, 0x1800 +lbl_8034E908: +/* 8034E908 0034B868 7F 63 DB 78 */ mr r3, r27 +/* 8034E90C 0034B86C 4B FF 0B AD */ bl FlushShiftRegister__13COutputStreamFv +/* 8034E910 0034B870 7F 63 DB 78 */ mr r3, r27 +/* 8034E914 0034B874 7F 84 E3 78 */ mr r4, r28 +/* 8034E918 0034B878 7F E5 FB 78 */ mr r5, r31 +/* 8034E91C 0034B87C 4B FF 0C 8D */ bl DoPut__13COutputStreamFPCvUl +/* 8034E920 0034B880 2C 1D 00 05 */ cmpwi r29, 5 +/* 8034E924 0034B884 40 82 00 24 */ bne lbl_8034E948 +/* 8034E928 0034B888 80 9E 00 10 */ lwz r4, 0x10(r30) +/* 8034E92C 0034B88C 7F 63 DB 78 */ mr r3, r27 +/* 8034E930 0034B890 83 C4 00 0C */ lwz r30, 0xc(r4) +/* 8034E934 0034B894 4B FF 0B 85 */ bl FlushShiftRegister__13COutputStreamFv +/* 8034E938 0034B898 7F 63 DB 78 */ mr r3, r27 +/* 8034E93C 0034B89C 7F C4 F3 78 */ mr r4, r30 +/* 8034E940 0034B8A0 38 A0 02 00 */ li r5, 0x200 +/* 8034E944 0034B8A4 4B FF 0C 65 */ bl DoPut__13COutputStreamFPCvUl +lbl_8034E948: +/* 8034E948 0034B8A8 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 8034E94C 0034B8AC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8034E950 0034B8B0 7C 08 03 A6 */ mtlr r0 +/* 8034E954 0034B8B4 38 21 00 20 */ addi r1, r1, 0x20 +/* 8034E958 0034B8B8 4E 80 00 20 */ blr + +.global GetSaveDataOffset__19SMemoryCardFileInfoFRPv +GetSaveDataOffset__19SMemoryCardFileInfoFRPv: +/* 8034E95C 0034B8BC 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 8034E960 0034B8C0 7C 08 02 A6 */ mflr r0 +/* 8034E964 0034B8C4 38 A0 00 6C */ li r5, 0x6c +/* 8034E968 0034B8C8 90 01 00 94 */ stw r0, 0x94(r1) +/* 8034E96C 0034B8CC 93 E1 00 8C */ stw r31, 0x8c(r1) +/* 8034E970 0034B8D0 7C 9F 23 78 */ mr r31, r4 +/* 8034E974 0034B8D4 38 80 00 00 */ li r4, 0 +/* 8034E978 0034B8D8 93 C1 00 88 */ stw r30, 0x88(r1) +/* 8034E97C 0034B8DC 93 A1 00 84 */ stw r29, 0x84(r1) +/* 8034E980 0034B8E0 7C 7D 1B 78 */ mr r29, r3 +/* 8034E984 0034B8E4 38 61 00 08 */ addi r3, r1, 8 +/* 8034E988 0034B8E8 4B CB 4A 21 */ bl memset +/* 8034E98C 0034B8EC 7F A3 EB 78 */ mr r3, r29 +/* 8034E990 0034B8F0 48 00 01 15 */ bl GetFileNo__19SMemoryCardFileInfoFv +/* 8034E994 0034B8F4 7C 7E 1B 78 */ mr r30, r3 +/* 8034E998 0034B8F8 7F A3 EB 78 */ mr r3, r29 +/* 8034E99C 0034B8FC 48 00 01 11 */ bl GetFileCardPort__19SMemoryCardFileInfoFv +/* 8034E9A0 0034B900 7F C4 F3 78 */ mr r4, r30 +/* 8034E9A4 0034B904 38 A1 00 08 */ addi r5, r1, 8 +/* 8034E9A8 0034B908 4B FF EE 89 */ bl GetStatus__14CMemoryCardSysFiiP8CARDStat +/* 8034E9AC 0034B90C 2C 03 00 00 */ cmpwi r3, 0 +/* 8034E9B0 0034B910 41 82 00 10 */ beq lbl_8034E9C0 +/* 8034E9B4 0034B914 38 00 FF FF */ li r0, -1 +/* 8034E9B8 0034B918 90 1F 00 00 */ stw r0, 0(r31) +/* 8034E9BC 0034B91C 48 00 00 BC */ b lbl_8034EA78 +lbl_8034E9C0: +/* 8034E9C0 0034B920 38 00 00 04 */ li r0, 4 +/* 8034E9C4 0034B924 38 61 00 08 */ addi r3, r1, 8 +/* 8034E9C8 0034B928 90 1F 00 00 */ stw r0, 0(r31) +/* 8034E9CC 0034B92C 80 9F 00 00 */ lwz r4, 0(r31) +/* 8034E9D0 0034B930 38 04 00 40 */ addi r0, r4, 0x40 +/* 8034E9D4 0034B934 90 1F 00 00 */ stw r0, 0(r31) +/* 8034E9D8 0034B938 4B FF FB E1 */ bl GetBannerFormat__8CARDStatFv +/* 8034E9DC 0034B93C 2C 03 00 01 */ cmpwi r3, 1 +/* 8034E9E0 0034B940 40 82 00 14 */ bne lbl_8034E9F4 +/* 8034E9E4 0034B944 80 7F 00 00 */ lwz r3, 0(r31) +/* 8034E9E8 0034B948 38 03 0E 00 */ addi r0, r3, 0xe00 +/* 8034E9EC 0034B94C 90 1F 00 00 */ stw r0, 0(r31) +/* 8034E9F0 0034B950 48 00 00 18 */ b lbl_8034EA08 +lbl_8034E9F4: +/* 8034E9F4 0034B954 2C 03 00 02 */ cmpwi r3, 2 +/* 8034E9F8 0034B958 40 82 00 10 */ bne lbl_8034EA08 +/* 8034E9FC 0034B95C 80 7F 00 00 */ lwz r3, 0(r31) +/* 8034EA00 0034B960 38 03 18 00 */ addi r0, r3, 0x1800 +/* 8034EA04 0034B964 90 1F 00 00 */ stw r0, 0(r31) +lbl_8034EA08: +/* 8034EA08 0034B968 38 61 00 08 */ addi r3, r1, 8 +/* 8034EA0C 0034B96C 3B C0 00 00 */ li r30, 0 +/* 8034EA10 0034B970 3B A0 00 00 */ li r29, 0 +/* 8034EA14 0034B974 38 80 00 00 */ li r4, 0 +/* 8034EA18 0034B978 4B FF FB 8D */ bl GetIconFormat__8CARDStatFi +/* 8034EA1C 0034B97C 48 00 00 3C */ b lbl_8034EA58 +lbl_8034EA20: +/* 8034EA20 0034B980 2C 03 00 01 */ cmpwi r3, 1 +/* 8034EA24 0034B984 40 82 00 18 */ bne lbl_8034EA3C +/* 8034EA28 0034B988 80 7F 00 00 */ lwz r3, 0(r31) +/* 8034EA2C 0034B98C 3B C0 00 01 */ li r30, 1 +/* 8034EA30 0034B990 38 03 04 00 */ addi r0, r3, 0x400 +/* 8034EA34 0034B994 90 1F 00 00 */ stw r0, 0(r31) +/* 8034EA38 0034B998 48 00 00 10 */ b lbl_8034EA48 +lbl_8034EA3C: +/* 8034EA3C 0034B99C 80 7F 00 00 */ lwz r3, 0(r31) +/* 8034EA40 0034B9A0 38 03 08 00 */ addi r0, r3, 0x800 +/* 8034EA44 0034B9A4 90 1F 00 00 */ stw r0, 0(r31) +lbl_8034EA48: +/* 8034EA48 0034B9A8 3B BD 00 01 */ addi r29, r29, 1 +/* 8034EA4C 0034B9AC 38 61 00 08 */ addi r3, r1, 8 +/* 8034EA50 0034B9B0 7F A4 EB 78 */ mr r4, r29 +/* 8034EA54 0034B9B4 4B FF FB 51 */ bl GetIconFormat__8CARDStatFi +lbl_8034EA58: +/* 8034EA58 0034B9B8 2C 03 00 00 */ cmpwi r3, 0 +/* 8034EA5C 0034B9BC 40 82 FF C4 */ bne lbl_8034EA20 +/* 8034EA60 0034B9C0 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 8034EA64 0034B9C4 41 82 00 10 */ beq lbl_8034EA74 +/* 8034EA68 0034B9C8 80 7F 00 00 */ lwz r3, 0(r31) +/* 8034EA6C 0034B9CC 38 03 02 00 */ addi r0, r3, 0x200 +/* 8034EA70 0034B9D0 90 1F 00 00 */ stw r0, 0(r31) +lbl_8034EA74: +/* 8034EA74 0034B9D4 38 60 00 00 */ li r3, 0 +lbl_8034EA78: +/* 8034EA78 0034B9D8 80 01 00 94 */ lwz r0, 0x94(r1) +/* 8034EA7C 0034B9DC 83 E1 00 8C */ lwz r31, 0x8c(r1) +/* 8034EA80 0034B9E0 83 C1 00 88 */ lwz r30, 0x88(r1) +/* 8034EA84 0034B9E4 83 A1 00 84 */ lwz r29, 0x84(r1) +/* 8034EA88 0034B9E8 7C 08 03 A6 */ mtlr r0 +/* 8034EA8C 0034B9EC 38 21 00 90 */ addi r1, r1, 0x90 +/* 8034EA90 0034B9F0 4E 80 00 20 */ blr + +.global GetFileNo__13CCardFileInfoFv +GetFileNo__13CCardFileInfoFv: +/* 8034EA94 0034B9F4 80 63 00 08 */ lwz r3, 8(r3) +/* 8034EA98 0034B9F8 4E 80 00 20 */ blr + +.global GetCardPort__13CCardFileInfoFv +GetCardPort__13CCardFileInfoFv: +/* 8034EA9C 0034B9FC 80 63 00 04 */ lwz r3, 4(r3) +/* 8034EAA0 0034BA00 4E 80 00 20 */ blr + +.global GetFileNo__19SMemoryCardFileInfoFv +GetFileNo__19SMemoryCardFileInfoFv: +/* 8034EAA4 0034BA04 80 63 00 04 */ lwz r3, 4(r3) +/* 8034EAA8 0034BA08 4E 80 00 20 */ blr + +.global GetFileCardPort__19SMemoryCardFileInfoFv +GetFileCardPort__19SMemoryCardFileInfoFv: +/* 8034EAAC 0034BA0C 80 63 00 00 */ lwz r3, 0(r3) +/* 8034EAB0 0034BA10 4E 80 00 20 */ blr + +.global sub_8034eab4 +sub_8034eab4: +/* 8034EAB4 0034BA14 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8034EAB8 0034BA18 7C 08 02 A6 */ mflr r0 +/* 8034EABC 0034BA1C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8034EAC0 0034BA20 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8034EAC4 0034BA24 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8034EAC8 0034BA28 7C 7E 1B 78 */ mr r30, r3 +/* 8034EACC 0034BA2C 3C 60 54 58 */ lis r3, 0x54585452@ha +/* 8034EAD0 0034BA30 90 9E 00 00 */ stw r4, 0(r30) +/* 8034EAD4 0034BA34 38 03 54 52 */ addi r0, r3, 0x54585452@l +/* 8034EAD8 0034BA38 38 61 00 08 */ addi r3, r1, 8 +/* 8034EADC 0034BA3C 90 BE 00 04 */ stw r5, 4(r30) +/* 8034EAE0 0034BA40 38 A1 00 10 */ addi r5, r1, 0x10 +/* 8034EAE4 0034BA44 90 81 00 14 */ stw r4, 0x14(r1) +/* 8034EAE8 0034BA48 7C C4 33 78 */ mr r4, r6 +/* 8034EAEC 0034BA4C 90 01 00 10 */ stw r0, 0x10(r1) +/* 8034EAF0 0034BA50 81 86 00 00 */ lwz r12, 0(r6) +/* 8034EAF4 0034BA54 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8034EAF8 0034BA58 7D 89 03 A6 */ mtctr r12 +/* 8034EAFC 0034BA5C 4E 80 04 21 */ bctrl +/* 8034EB00 0034BA60 3B FE 00 08 */ addi r31, r30, 8 +/* 8034EB04 0034BA64 38 81 00 08 */ addi r4, r1, 8 +/* 8034EB08 0034BA68 7F E3 FB 78 */ mr r3, r31 +/* 8034EB0C 0034BA6C 4B FF 23 9D */ bl __ct__6CTokenFRC6CToken +/* 8034EB10 0034BA70 7F E3 FB 78 */ mr r3, r31 +/* 8034EB14 0034BA74 4B FF 22 F9 */ bl GetObj__6CTokenFv +/* 8034EB18 0034BA78 80 03 00 04 */ lwz r0, 4(r3) +/* 8034EB1C 0034BA7C 38 61 00 08 */ addi r3, r1, 8 +/* 8034EB20 0034BA80 38 80 FF FF */ li r4, -1 +/* 8034EB24 0034BA84 90 1F 00 08 */ stw r0, 8(r31) +/* 8034EB28 0034BA88 4B FF 23 19 */ bl __dt__6CTokenFv +/* 8034EB2C 0034BA8C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8034EB30 0034BA90 7F C3 F3 78 */ mr r3, r30 +/* 8034EB34 0034BA94 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8034EB38 0034BA98 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8034EB3C 0034BA9C 7C 08 03 A6 */ mtlr r0 +/* 8034EB40 0034BAA0 38 21 00 20 */ addi r1, r1, 0x20 +/* 8034EB44 0034BAA4 4E 80 00 20 */ blr + +.global FileRead__19SMemoryCardFileInfoFv +FileRead__19SMemoryCardFileInfoFv: +/* 8034EB48 0034BAA8 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 8034EB4C 0034BAAC 7C 08 02 A6 */ mflr r0 +/* 8034EB50 0034BAB0 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 8034EB54 0034BAB4 38 00 00 00 */ li r0, 0 +/* 8034EB58 0034BAB8 38 81 00 7C */ addi r4, r1, 0x7c +/* 8034EB5C 0034BABC BF 61 00 9C */ stmw r27, 0x9c(r1) +/* 8034EB60 0034BAC0 7C 7F 1B 78 */ mr r31, r3 +/* 8034EB64 0034BAC4 3B DF 00 34 */ addi r30, r31, 0x34 +/* 8034EB68 0034BAC8 7F C3 F3 78 */ mr r3, r30 +/* 8034EB6C 0034BACC 90 01 00 80 */ stw r0, 0x80(r1) +/* 8034EB70 0034BAD0 90 01 00 84 */ stw r0, 0x84(r1) +/* 8034EB74 0034BAD4 90 01 00 88 */ stw r0, 0x88(r1) +/* 8034EB78 0034BAD8 4B F5 9B 3D */ bl sub_802a86b4 +/* 8034EB7C 0034BADC 80 61 00 88 */ lwz r3, 0x88(r1) +/* 8034EB80 0034BAE0 80 01 00 80 */ lwz r0, 0x80(r1) +/* 8034EB84 0034BAE4 90 61 00 3C */ stw r3, 0x3c(r1) +/* 8034EB88 0034BAE8 7C 83 02 14 */ add r4, r3, r0 +/* 8034EB8C 0034BAEC 7C 03 20 50 */ subf r0, r3, r4 +/* 8034EB90 0034BAF0 90 81 00 44 */ stw r4, 0x44(r1) +/* 8034EB94 0034BAF4 90 81 00 40 */ stw r4, 0x40(r1) +/* 8034EB98 0034BAF8 90 61 00 38 */ stw r3, 0x38(r1) +/* 8034EB9C 0034BAFC 7C 09 03 A6 */ mtctr r0 +/* 8034EBA0 0034BB00 7C 03 20 40 */ cmplw r3, r4 +/* 8034EBA4 0034BB04 41 82 00 08 */ beq lbl_8034EBAC +lbl_8034EBA8: +/* 8034EBA8 0034BB08 42 00 00 00 */ bdnz lbl_8034EBA8 +lbl_8034EBAC: +/* 8034EBAC 0034BB0C 28 03 00 00 */ cmplwi r3, 0 +/* 8034EBB0 0034BB10 41 82 00 08 */ beq lbl_8034EBB8 +/* 8034EBB4 0034BB14 4B FC 6D 7D */ bl Free__7CMemoryFPCv +lbl_8034EBB8: +/* 8034EBB8 0034BB18 83 9F 00 30 */ lwz r28, 0x30(r31) +/* 8034EBBC 0034BB1C 83 BF 00 28 */ lwz r29, 0x28(r31) +/* 8034EBC0 0034BB20 83 7C 00 00 */ lwz r27, 0(r28) +/* 8034EBC4 0034BB24 38 7C 00 04 */ addi r3, r28, 4 +/* 8034EBC8 0034BB28 38 9D FF FC */ addi r4, r29, -4 +/* 8034EBCC 0034BB2C 4B FC 69 C5 */ bl Calculate__6CCRC32FPCvUi +/* 8034EBD0 0034BB30 7C 1B 18 40 */ cmplw r27, r3 +/* 8034EBD4 0034BB34 40 82 00 F4 */ bne lbl_8034ECC8 +/* 8034EBD8 0034BB38 7F E3 FB 78 */ mr r3, r31 +/* 8034EBDC 0034BB3C 38 81 00 48 */ addi r4, r1, 0x48 +/* 8034EBE0 0034BB40 4B FF FD 7D */ bl GetSaveDataOffset__19SMemoryCardFileInfoFRPv +/* 8034EBE4 0034BB44 7C 7B 1B 79 */ or. r27, r3, r3 +/* 8034EBE8 0034BB48 41 82 00 5C */ beq lbl_8034EC44 +/* 8034EBEC 0034BB4C 38 00 00 00 */ li r0, 0 +/* 8034EBF0 0034BB50 38 7F 00 24 */ addi r3, r31, 0x24 +/* 8034EBF4 0034BB54 90 01 00 70 */ stw r0, 0x70(r1) +/* 8034EBF8 0034BB58 38 81 00 6C */ addi r4, r1, 0x6c +/* 8034EBFC 0034BB5C 90 01 00 74 */ stw r0, 0x74(r1) +/* 8034EC00 0034BB60 90 01 00 78 */ stw r0, 0x78(r1) +/* 8034EC04 0034BB64 4B FF F1 51 */ bl sub_8034dd54 +/* 8034EC08 0034BB68 80 61 00 78 */ lwz r3, 0x78(r1) +/* 8034EC0C 0034BB6C 80 01 00 70 */ lwz r0, 0x70(r1) +/* 8034EC10 0034BB70 90 61 00 2C */ stw r3, 0x2c(r1) +/* 8034EC14 0034BB74 7C 83 02 14 */ add r4, r3, r0 +/* 8034EC18 0034BB78 7C 03 20 50 */ subf r0, r3, r4 +/* 8034EC1C 0034BB7C 90 81 00 34 */ stw r4, 0x34(r1) +/* 8034EC20 0034BB80 90 81 00 30 */ stw r4, 0x30(r1) +/* 8034EC24 0034BB84 90 61 00 28 */ stw r3, 0x28(r1) +/* 8034EC28 0034BB88 7C 09 03 A6 */ mtctr r0 +/* 8034EC2C 0034BB8C 7C 03 20 40 */ cmplw r3, r4 +/* 8034EC30 0034BB90 41 82 00 08 */ beq lbl_8034EC38 +lbl_8034EC34: +/* 8034EC34 0034BB94 42 00 00 00 */ bdnz lbl_8034EC34 +lbl_8034EC38: +/* 8034EC38 0034BB98 4B FC 6C F9 */ bl Free__7CMemoryFPCv +/* 8034EC3C 0034BB9C 7F 63 DB 78 */ mr r3, r27 +/* 8034EC40 0034BBA0 48 00 00 DC */ b lbl_8034ED1C +lbl_8034EC44: +/* 8034EC44 0034BBA4 80 01 00 48 */ lwz r0, 0x48(r1) +/* 8034EC48 0034BBA8 7F C3 F3 78 */ mr r3, r30 +/* 8034EC4C 0034BBAC 38 AD 9D E8 */ addi r5, r13, lbl_805A89A8@sda21 +/* 8034EC50 0034BBB0 7F 60 E8 50 */ subf r27, r0, r29 +/* 8034EC54 0034BBB4 7F 64 DB 78 */ mr r4, r27 +/* 8034EC58 0034BBB8 4B E8 4F C5 */ bl "resize__Q24rstl37vectorFiRCUc" +/* 8034EC5C 0034BBBC 80 01 00 48 */ lwz r0, 0x48(r1) +/* 8034EC60 0034BBC0 7F 65 DB 78 */ mr r5, r27 +/* 8034EC64 0034BBC4 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8034EC68 0034BBC8 7C 9C 02 14 */ add r4, r28, r0 +/* 8034EC6C 0034BBCC 4B CB 48 25 */ bl memcpy +/* 8034EC70 0034BBD0 38 00 00 00 */ li r0, 0 +/* 8034EC74 0034BBD4 38 7F 00 24 */ addi r3, r31, 0x24 +/* 8034EC78 0034BBD8 90 01 00 60 */ stw r0, 0x60(r1) +/* 8034EC7C 0034BBDC 38 81 00 5C */ addi r4, r1, 0x5c +/* 8034EC80 0034BBE0 90 01 00 64 */ stw r0, 0x64(r1) +/* 8034EC84 0034BBE4 90 01 00 68 */ stw r0, 0x68(r1) +/* 8034EC88 0034BBE8 4B FF F0 CD */ bl sub_8034dd54 +/* 8034EC8C 0034BBEC 80 61 00 68 */ lwz r3, 0x68(r1) +/* 8034EC90 0034BBF0 80 01 00 60 */ lwz r0, 0x60(r1) +/* 8034EC94 0034BBF4 90 61 00 1C */ stw r3, 0x1c(r1) +/* 8034EC98 0034BBF8 7C 83 02 14 */ add r4, r3, r0 +/* 8034EC9C 0034BBFC 7C 03 20 50 */ subf r0, r3, r4 +/* 8034ECA0 0034BC00 90 81 00 24 */ stw r4, 0x24(r1) +/* 8034ECA4 0034BC04 90 81 00 20 */ stw r4, 0x20(r1) +/* 8034ECA8 0034BC08 90 61 00 18 */ stw r3, 0x18(r1) +/* 8034ECAC 0034BC0C 7C 09 03 A6 */ mtctr r0 +/* 8034ECB0 0034BC10 7C 03 20 40 */ cmplw r3, r4 +/* 8034ECB4 0034BC14 41 82 00 08 */ beq lbl_8034ECBC +lbl_8034ECB8: +/* 8034ECB8 0034BC18 42 00 00 00 */ bdnz lbl_8034ECB8 +lbl_8034ECBC: +/* 8034ECBC 0034BC1C 4B FC 6C 75 */ bl Free__7CMemoryFPCv +/* 8034ECC0 0034BC20 38 60 00 00 */ li r3, 0 +/* 8034ECC4 0034BC24 48 00 00 58 */ b lbl_8034ED1C +lbl_8034ECC8: +/* 8034ECC8 0034BC28 38 00 00 00 */ li r0, 0 +/* 8034ECCC 0034BC2C 38 7F 00 24 */ addi r3, r31, 0x24 +/* 8034ECD0 0034BC30 90 01 00 50 */ stw r0, 0x50(r1) +/* 8034ECD4 0034BC34 38 81 00 4C */ addi r4, r1, 0x4c +/* 8034ECD8 0034BC38 90 01 00 54 */ stw r0, 0x54(r1) +/* 8034ECDC 0034BC3C 90 01 00 58 */ stw r0, 0x58(r1) +/* 8034ECE0 0034BC40 4B FF F0 75 */ bl sub_8034dd54 +/* 8034ECE4 0034BC44 80 61 00 58 */ lwz r3, 0x58(r1) +/* 8034ECE8 0034BC48 80 01 00 50 */ lwz r0, 0x50(r1) +/* 8034ECEC 0034BC4C 90 61 00 0C */ stw r3, 0xc(r1) +/* 8034ECF0 0034BC50 7C 83 02 14 */ add r4, r3, r0 +/* 8034ECF4 0034BC54 7C 03 20 50 */ subf r0, r3, r4 +/* 8034ECF8 0034BC58 90 81 00 14 */ stw r4, 0x14(r1) +/* 8034ECFC 0034BC5C 90 81 00 10 */ stw r4, 0x10(r1) +/* 8034ED00 0034BC60 90 61 00 08 */ stw r3, 8(r1) +/* 8034ED04 0034BC64 7C 09 03 A6 */ mtctr r0 +/* 8034ED08 0034BC68 7C 03 20 40 */ cmplw r3, r4 +/* 8034ED0C 0034BC6C 41 82 00 08 */ beq lbl_8034ED14 +lbl_8034ED10: +/* 8034ED10 0034BC70 42 00 00 00 */ bdnz lbl_8034ED10 +lbl_8034ED14: +/* 8034ED14 0034BC74 4B FC 6C 1D */ bl Free__7CMemoryFPCv +/* 8034ED18 0034BC78 38 60 FC 15 */ li r3, -1003 +lbl_8034ED1C: +/* 8034ED1C 0034BC7C BB 61 00 9C */ lmw r27, 0x9c(r1) +/* 8034ED20 0034BC80 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 8034ED24 0034BC84 7C 08 03 A6 */ mtlr r0 +/* 8034ED28 0034BC88 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 8034ED2C 0034BC8C 4E 80 00 20 */ blr + +.global sub_8034ed30 +sub_8034ed30: +/* 8034ED30 0034BC90 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8034ED34 0034BC94 7C 08 02 A6 */ mflr r0 +/* 8034ED38 0034BC98 90 01 00 34 */ stw r0, 0x34(r1) +/* 8034ED3C 0034BC9C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8034ED40 0034BCA0 7C 9F 23 78 */ mr r31, r4 +/* 8034ED44 0034BCA4 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8034ED48 0034BCA8 7C 7E 1B 78 */ mr r30, r3 +/* 8034ED4C 0034BCAC 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8034ED50 0034BCB0 80 03 00 08 */ lwz r0, 8(r3) +/* 8034ED54 0034BCB4 7C 1F 00 00 */ cmpw r31, r0 +/* 8034ED58 0034BCB8 40 81 00 C4 */ ble lbl_8034EE1C +/* 8034ED5C 0034BCBC 7F FD FB 79 */ or. r29, r31, r31 +/* 8034ED60 0034BCC0 40 82 00 0C */ bne lbl_8034ED6C +/* 8034ED64 0034BCC4 3B A0 00 00 */ li r29, 0 +/* 8034ED68 0034BCC8 48 00 00 3C */ b lbl_8034EDA4 +lbl_8034ED6C: +/* 8034ED6C 0034BCCC 3C 60 80 3E */ lis r3, lbl_803D8220@ha +/* 8034ED70 0034BCD0 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha +/* 8034ED74 0034BCD4 38 A3 82 20 */ addi r5, r3, lbl_803D8220@l +/* 8034ED78 0034BCD8 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l +/* 8034ED7C 0034BCDC 38 61 00 18 */ addi r3, r1, 0x18 +/* 8034ED80 0034BCE0 38 80 FF FF */ li r4, -1 +/* 8034ED84 0034BCE4 4B F8 76 51 */ bl __ct__10CCallStackFUiPCcPCc +/* 8034ED88 0034BCE8 7C 67 1B 78 */ mr r7, r3 +/* 8034ED8C 0034BCEC 7F A3 EB 78 */ mr r3, r29 +/* 8034ED90 0034BCF0 38 80 00 02 */ li r4, 2 +/* 8034ED94 0034BCF4 38 A0 00 01 */ li r5, 1 +/* 8034ED98 0034BCF8 38 C0 00 00 */ li r6, 0 +/* 8034ED9C 0034BCFC 4B FC 6B F9 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 8034EDA0 0034BD00 7C 7D 1B 78 */ mr r29, r3 +lbl_8034EDA4: +/* 8034EDA4 0034BD04 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 8034EDA8 0034BD08 7F A4 EB 78 */ mr r4, r29 +/* 8034EDAC 0034BD0C 80 1E 00 04 */ lwz r0, 4(r30) +/* 8034EDB0 0034BD10 90 A1 00 10 */ stw r5, 0x10(r1) +/* 8034EDB4 0034BD14 7C 65 02 14 */ add r3, r5, r0 +/* 8034EDB8 0034BD18 7C 05 18 50 */ subf r0, r5, r3 +/* 8034EDBC 0034BD1C 90 61 00 08 */ stw r3, 8(r1) +/* 8034EDC0 0034BD20 90 61 00 0C */ stw r3, 0xc(r1) +/* 8034EDC4 0034BD24 90 A1 00 14 */ stw r5, 0x14(r1) +/* 8034EDC8 0034BD28 7C 09 03 A6 */ mtctr r0 +/* 8034EDCC 0034BD2C 7C 05 18 40 */ cmplw r5, r3 +/* 8034EDD0 0034BD30 41 82 00 20 */ beq lbl_8034EDF0 +lbl_8034EDD4: +/* 8034EDD4 0034BD34 28 04 00 00 */ cmplwi r4, 0 +/* 8034EDD8 0034BD38 41 82 00 0C */ beq lbl_8034EDE4 +/* 8034EDDC 0034BD3C 88 05 00 00 */ lbz r0, 0(r5) +/* 8034EDE0 0034BD40 98 04 00 00 */ stb r0, 0(r4) +lbl_8034EDE4: +/* 8034EDE4 0034BD44 38 84 00 01 */ addi r4, r4, 1 +/* 8034EDE8 0034BD48 38 A5 00 01 */ addi r5, r5, 1 +/* 8034EDEC 0034BD4C 42 00 FF E8 */ bdnz lbl_8034EDD4 +lbl_8034EDF0: +/* 8034EDF0 0034BD50 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8034EDF4 0034BD54 80 1E 00 04 */ lwz r0, 4(r30) +/* 8034EDF8 0034BD58 7C 83 02 14 */ add r4, r3, r0 +/* 8034EDFC 0034BD5C 7C 03 20 50 */ subf r0, r3, r4 +/* 8034EE00 0034BD60 7C 09 03 A6 */ mtctr r0 +/* 8034EE04 0034BD64 7C 03 20 40 */ cmplw r3, r4 +/* 8034EE08 0034BD68 41 82 00 08 */ beq lbl_8034EE10 +lbl_8034EE0C: +/* 8034EE0C 0034BD6C 42 00 00 00 */ bdnz lbl_8034EE0C +lbl_8034EE10: +/* 8034EE10 0034BD70 4B FC 6B 21 */ bl Free__7CMemoryFPCv +/* 8034EE14 0034BD74 93 BE 00 0C */ stw r29, 0xc(r30) +/* 8034EE18 0034BD78 93 FE 00 08 */ stw r31, 8(r30) +lbl_8034EE1C: +/* 8034EE1C 0034BD7C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8034EE20 0034BD80 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8034EE24 0034BD84 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8034EE28 0034BD88 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8034EE2C 0034BD8C 7C 08 03 A6 */ mtlr r0 +/* 8034EE30 0034BD90 38 21 00 30 */ addi r1, r1, 0x30 +/* 8034EE34 0034BD94 4E 80 00 20 */ blr + +.global "reserve__Q24rstl36vectorFi" +"reserve__Q24rstl36vectorFi": +/* 8034EE38 0034BD98 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8034EE3C 0034BD9C 7C 08 02 A6 */ mflr r0 +/* 8034EE40 0034BDA0 90 01 00 34 */ stw r0, 0x34(r1) +/* 8034EE44 0034BDA4 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8034EE48 0034BDA8 7C 9F 23 78 */ mr r31, r4 +/* 8034EE4C 0034BDAC 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8034EE50 0034BDB0 7C 7E 1B 78 */ mr r30, r3 +/* 8034EE54 0034BDB4 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8034EE58 0034BDB8 80 03 00 08 */ lwz r0, 8(r3) +/* 8034EE5C 0034BDBC 7C 1F 00 00 */ cmpw r31, r0 +/* 8034EE60 0034BDC0 40 81 00 C4 */ ble lbl_8034EF24 +/* 8034EE64 0034BDC4 7F FD FB 79 */ or. r29, r31, r31 +/* 8034EE68 0034BDC8 40 82 00 0C */ bne lbl_8034EE74 +/* 8034EE6C 0034BDCC 3B A0 00 00 */ li r29, 0 +/* 8034EE70 0034BDD0 48 00 00 3C */ b lbl_8034EEAC +lbl_8034EE74: +/* 8034EE74 0034BDD4 3C 60 80 3E */ lis r3, lbl_803D8220@ha +/* 8034EE78 0034BDD8 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha +/* 8034EE7C 0034BDDC 38 A3 82 20 */ addi r5, r3, lbl_803D8220@l +/* 8034EE80 0034BDE0 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l +/* 8034EE84 0034BDE4 38 61 00 18 */ addi r3, r1, 0x18 +/* 8034EE88 0034BDE8 38 80 FF FF */ li r4, -1 +/* 8034EE8C 0034BDEC 4B F8 75 49 */ bl __ct__10CCallStackFUiPCcPCc +/* 8034EE90 0034BDF0 7C 67 1B 78 */ mr r7, r3 +/* 8034EE94 0034BDF4 7F A3 EB 78 */ mr r3, r29 +/* 8034EE98 0034BDF8 38 80 00 02 */ li r4, 2 +/* 8034EE9C 0034BDFC 38 A0 00 01 */ li r5, 1 +/* 8034EEA0 0034BE00 38 C0 00 00 */ li r6, 0 +/* 8034EEA4 0034BE04 4B FC 6A F1 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 8034EEA8 0034BE08 7C 7D 1B 78 */ mr r29, r3 +lbl_8034EEAC: +/* 8034EEAC 0034BE0C 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 8034EEB0 0034BE10 7F A4 EB 78 */ mr r4, r29 +/* 8034EEB4 0034BE14 80 1E 00 04 */ lwz r0, 4(r30) +/* 8034EEB8 0034BE18 90 A1 00 10 */ stw r5, 0x10(r1) +/* 8034EEBC 0034BE1C 7C 65 02 14 */ add r3, r5, r0 +/* 8034EEC0 0034BE20 7C 05 18 50 */ subf r0, r5, r3 +/* 8034EEC4 0034BE24 90 61 00 08 */ stw r3, 8(r1) +/* 8034EEC8 0034BE28 90 61 00 0C */ stw r3, 0xc(r1) +/* 8034EECC 0034BE2C 90 A1 00 14 */ stw r5, 0x14(r1) +/* 8034EED0 0034BE30 7C 09 03 A6 */ mtctr r0 +/* 8034EED4 0034BE34 7C 05 18 40 */ cmplw r5, r3 +/* 8034EED8 0034BE38 41 82 00 20 */ beq lbl_8034EEF8 +lbl_8034EEDC: +/* 8034EEDC 0034BE3C 28 04 00 00 */ cmplwi r4, 0 +/* 8034EEE0 0034BE40 41 82 00 0C */ beq lbl_8034EEEC +/* 8034EEE4 0034BE44 88 05 00 00 */ lbz r0, 0(r5) +/* 8034EEE8 0034BE48 98 04 00 00 */ stb r0, 0(r4) +lbl_8034EEEC: +/* 8034EEEC 0034BE4C 38 84 00 01 */ addi r4, r4, 1 +/* 8034EEF0 0034BE50 38 A5 00 01 */ addi r5, r5, 1 +/* 8034EEF4 0034BE54 42 00 FF E8 */ bdnz lbl_8034EEDC +lbl_8034EEF8: +/* 8034EEF8 0034BE58 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8034EEFC 0034BE5C 80 1E 00 04 */ lwz r0, 4(r30) +/* 8034EF00 0034BE60 7C 83 02 14 */ add r4, r3, r0 +/* 8034EF04 0034BE64 7C 03 20 50 */ subf r0, r3, r4 +/* 8034EF08 0034BE68 7C 09 03 A6 */ mtctr r0 +/* 8034EF0C 0034BE6C 7C 03 20 40 */ cmplw r3, r4 +/* 8034EF10 0034BE70 41 82 00 08 */ beq lbl_8034EF18 +lbl_8034EF14: +/* 8034EF14 0034BE74 42 00 00 00 */ bdnz lbl_8034EF14 +lbl_8034EF18: +/* 8034EF18 0034BE78 4B FC 6A 19 */ bl Free__7CMemoryFPCv +/* 8034EF1C 0034BE7C 93 BE 00 0C */ stw r29, 0xc(r30) +/* 8034EF20 0034BE80 93 FE 00 08 */ stw r31, 8(r30) +lbl_8034EF24: +/* 8034EF24 0034BE84 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8034EF28 0034BE88 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8034EF2C 0034BE8C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8034EF30 0034BE90 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8034EF34 0034BE94 7C 08 03 A6 */ mtlr r0 +/* 8034EF38 0034BE98 38 21 00 30 */ addi r1, r1, 0x30 +/* 8034EF3C 0034BE9C 4E 80 00 20 */ blr + +.global __sinit_DolphinCMemoryCardSys_cpp +__sinit_DolphinCMemoryCardSys_cpp: +/* 8034EF40 0034BEA0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034EF44 0034BEA4 7C 08 02 A6 */ mflr r0 +/* 8034EF48 0034BEA8 3C 60 80 5A */ lis r3, lbl_805A67DC@ha +/* 8034EF4C 0034BEAC 3C 80 80 35 */ lis r4, sub_8034d638@ha +/* 8034EF50 0034BEB0 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034EF54 0034BEB4 3C A0 80 4C */ lis r5, lbl_804BFFA0@ha +/* 8034EF58 0034BEB8 38 63 67 DC */ addi r3, r3, lbl_805A67DC@l +/* 8034EF5C 0034BEBC 38 00 00 00 */ li r0, 0 +/* 8034EF60 0034BEC0 90 03 00 04 */ stw r0, 4(r3) +/* 8034EF64 0034BEC4 38 84 D6 38 */ addi r4, r4, sub_8034d638@l +/* 8034EF68 0034BEC8 38 A5 FF A0 */ addi r5, r5, lbl_804BFFA0@l +/* 8034EF6C 0034BECC 90 03 00 08 */ stw r0, 8(r3) +/* 8034EF70 0034BED0 90 03 00 0C */ stw r0, 0xc(r3) +/* 8034EF74 0034BED4 48 03 A7 19 */ bl __register_global_object +/* 8034EF78 0034BED8 3C 60 80 5A */ lis r3, lbl_805A67FC@ha +/* 8034EF7C 0034BEDC 3C 80 80 35 */ lis r4, sub_8034d638@ha +/* 8034EF80 0034BEE0 38 63 67 FC */ addi r3, r3, lbl_805A67FC@l +/* 8034EF84 0034BEE4 38 00 00 00 */ li r0, 0 +/* 8034EF88 0034BEE8 3C A0 80 4C */ lis r5, lbl_804BFFAC@ha +/* 8034EF8C 0034BEEC 90 03 00 04 */ stw r0, 4(r3) +/* 8034EF90 0034BEF0 38 84 D6 38 */ addi r4, r4, sub_8034d638@l +/* 8034EF94 0034BEF4 90 03 00 08 */ stw r0, 8(r3) +/* 8034EF98 0034BEF8 38 A5 FF AC */ addi r5, r5, lbl_804BFFAC@l +/* 8034EF9C 0034BEFC 90 03 00 0C */ stw r0, 0xc(r3) +/* 8034EFA0 0034BF00 48 03 A6 ED */ bl __register_global_object +/* 8034EFA4 0034BF04 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034EFA8 0034BF08 7C 08 03 A6 */ mtlr r0 +/* 8034EFAC 0034BF0C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034EFB0 0034BF10 4E 80 00 20 */ blr diff --git a/asm/Kyoto/GameTweaks.s b/asm/Kyoto/GameTweaks.s new file mode 100644 index 00000000..05623a4c --- /dev/null +++ b/asm/Kyoto/GameTweaks.s @@ -0,0 +1,392 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global sub_8036ca64 +sub_8036ca64: +/* 8036CA64 003699C4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8036CA68 003699C8 7C 08 02 A6 */ mflr r0 +/* 8036CA6C 003699CC 90 01 00 14 */ stw r0, 0x14(r1) +/* 8036CA70 003699D0 4B FB D7 45 */ bl sub_8032a1b4 +/* 8036CA74 003699D4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8036CA78 003699D8 7C 08 03 A6 */ mtlr r0 +/* 8036CA7C 003699DC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8036CA80 003699E0 4E 80 00 20 */ blr + +.global __nw__FUlPCcPCc_0 +__nw__FUlPCcPCc_0: +/* 8036CA84 003699E4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8036CA88 003699E8 7C 08 02 A6 */ mflr r0 +/* 8036CA8C 003699EC 90 01 00 14 */ stw r0, 0x14(r1) +/* 8036CA90 003699F0 4B FB D8 41 */ bl sub_8032a2d0 +/* 8036CA94 003699F4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8036CA98 003699F8 7C 08 03 A6 */ mtlr r0 +/* 8036CA9C 003699FC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8036CAA0 00369A00 4E 80 00 20 */ blr + +.global sub_8036caa4 +sub_8036caa4: +/* 8036CAA4 00369A04 80 63 00 08 */ lwz r3, 8(r3) +/* 8036CAA8 00369A08 4E 80 00 20 */ blr + +.global sub_8036caac +sub_8036caac: +/* 8036CAAC 00369A0C 80 03 00 04 */ lwz r0, 4(r3) +/* 8036CAB0 00369A10 54 03 10 3A */ slwi r3, r0, 2 +/* 8036CAB4 00369A14 4E 80 00 20 */ blr + +.global sub_8036cab8 +sub_8036cab8: +/* 8036CAB8 00369A18 38 84 00 03 */ addi r4, r4, 3 +/* 8036CABC 00369A1C 80 03 00 04 */ lwz r0, 4(r3) +/* 8036CAC0 00369A20 54 84 F0 BE */ srwi r4, r4, 2 +/* 8036CAC4 00369A24 7C 04 00 40 */ cmplw r4, r0 +/* 8036CAC8 00369A28 40 81 00 10 */ ble lbl_8036CAD8 +/* 8036CACC 00369A2C 38 00 00 00 */ li r0, 0 +/* 8036CAD0 00369A30 90 03 00 04 */ stw r0, 4(r3) +/* 8036CAD4 00369A34 4E 80 00 20 */ blr +lbl_8036CAD8: +/* 8036CAD8 00369A38 7C 04 00 50 */ subf r0, r4, r0 +/* 8036CADC 00369A3C 90 03 00 04 */ stw r0, 4(r3) +/* 8036CAE0 00369A40 4E 80 00 20 */ blr + +.global sub_8036cae4 +sub_8036cae4: +/* 8036CAE4 00369A44 80 83 00 08 */ lwz r4, 8(r3) +/* 8036CAE8 00369A48 38 04 FF FF */ addi r0, r4, -1 +/* 8036CAEC 00369A4C 90 03 00 08 */ stw r0, 8(r3) +/* 8036CAF0 00369A50 4E 80 00 20 */ blr + +.global sub_8036caf4 +sub_8036caf4: +/* 8036CAF4 00369A54 38 04 00 03 */ addi r0, r4, 3 +/* 8036CAF8 00369A58 80 83 00 04 */ lwz r4, 4(r3) +/* 8036CAFC 00369A5C 54 00 F0 BE */ srwi r0, r0, 2 +/* 8036CB00 00369A60 7C 04 02 14 */ add r0, r4, r0 +/* 8036CB04 00369A64 54 84 10 3A */ slwi r4, r4, 2 +/* 8036CB08 00369A68 90 03 00 04 */ stw r0, 4(r3) +/* 8036CB0C 00369A6C 38 A4 00 0C */ addi r5, r4, 0xc +/* 8036CB10 00369A70 7C A3 2A 14 */ add r5, r3, r5 +/* 8036CB14 00369A74 80 83 00 08 */ lwz r4, 8(r3) +/* 8036CB18 00369A78 38 04 00 01 */ addi r0, r4, 1 +/* 8036CB1C 00369A7C 90 03 00 08 */ stw r0, 8(r3) +/* 8036CB20 00369A80 7C A3 2B 78 */ mr r3, r5 +/* 8036CB24 00369A84 4E 80 00 20 */ blr + +.global sub_8036cb28 +sub_8036cb28: +/* 8036CB28 00369A88 38 03 00 0C */ addi r0, r3, 0xc +/* 8036CB2C 00369A8C 80 63 00 00 */ lwz r3, 0(r3) +/* 8036CB30 00369A90 7C 00 20 50 */ subf r0, r0, r4 +/* 8036CB34 00369A94 7C 00 16 70 */ srawi r0, r0, 2 +/* 8036CB38 00369A98 7C 00 01 94 */ addze r0, r0 +/* 8036CB3C 00369A9C 7C 60 02 78 */ xor r0, r3, r0 +/* 8036CB40 00369AA0 7C 00 00 34 */ cntlzw r0, r0 +/* 8036CB44 00369AA4 7C 60 00 30 */ slw r0, r3, r0 +/* 8036CB48 00369AA8 54 03 0F FE */ srwi r3, r0, 0x1f +/* 8036CB4C 00369AAC 4E 80 00 20 */ blr + +.global sub_8036cb50 +sub_8036cb50: +/* 8036CB50 00369AB0 38 04 00 03 */ addi r0, r4, 3 +/* 8036CB54 00369AB4 80 83 00 04 */ lwz r4, 4(r3) +/* 8036CB58 00369AB8 54 00 F0 BE */ srwi r0, r0, 2 +/* 8036CB5C 00369ABC 80 63 00 00 */ lwz r3, 0(r3) +/* 8036CB60 00369AC0 7C 04 02 14 */ add r0, r4, r0 +/* 8036CB64 00369AC4 7C 60 02 78 */ xor r0, r3, r0 +/* 8036CB68 00369AC8 7C 00 00 34 */ cntlzw r0, r0 +/* 8036CB6C 00369ACC 7C 60 00 30 */ slw r0, r3, r0 +/* 8036CB70 00369AD0 54 03 0F FE */ srwi r3, r0, 0x1f +/* 8036CB74 00369AD4 4E 80 00 20 */ blr + +.global sub_8036cb78 +sub_8036cb78: +/* 8036CB78 00369AD8 38 80 01 00 */ li r4, 0x100 +/* 8036CB7C 00369ADC 38 00 00 00 */ li r0, 0 +/* 8036CB80 00369AE0 90 83 00 00 */ stw r4, 0(r3) +/* 8036CB84 00369AE4 90 03 00 04 */ stw r0, 4(r3) +/* 8036CB88 00369AE8 90 03 00 08 */ stw r0, 8(r3) +/* 8036CB8C 00369AEC 4E 80 00 20 */ blr + +.global sub_8036cb90 +sub_8036cb90: +/* 8036CB90 00369AF0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8036CB94 00369AF4 7C 08 02 A6 */ mflr r0 +/* 8036CB98 00369AF8 3C 60 80 54 */ lis r3, lbl_80540A4C@ha +/* 8036CB9C 00369AFC 90 01 00 24 */ stw r0, 0x24(r1) +/* 8036CBA0 00369B00 38 03 0A 4C */ addi r0, r3, lbl_80540A4C@l +/* 8036CBA4 00369B04 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8036CBA8 00369B08 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8036CBAC 00369B0C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8036CBB0 00369B10 80 8D AA F0 */ lwz r4, lbl_805A96B0@sda21(r13) +/* 8036CBB4 00369B14 68 84 00 01 */ xori r4, r4, 1 +/* 8036CBB8 00369B18 1C 64 00 18 */ mulli r3, r4, 0x18 +/* 8036CBBC 00369B1C 90 8D AA F0 */ stw r4, lbl_805A96B0@sda21(r13) +/* 8036CBC0 00369B20 7F A0 1A 14 */ add r29, r0, r3 +/* 8036CBC4 00369B24 83 FD 00 04 */ lwz r31, 4(r29) +/* 8036CBC8 00369B28 48 00 00 10 */ b lbl_8036CBD8 +lbl_8036CBCC: +/* 8036CBCC 00369B2C 80 7F 00 08 */ lwz r3, 8(r31) +/* 8036CBD0 00369B30 4B FA 8D 61 */ bl Free__7CMemoryFPCv +/* 8036CBD4 00369B34 83 FF 00 04 */ lwz r31, 4(r31) +lbl_8036CBD8: +/* 8036CBD8 00369B38 83 DD 00 08 */ lwz r30, 8(r29) +/* 8036CBDC 00369B3C 7C 1F F0 40 */ cmplw r31, r30 +/* 8036CBE0 00369B40 40 82 FF EC */ bne lbl_8036CBCC +/* 8036CBE4 00369B44 80 9D 00 04 */ lwz r4, 4(r29) +/* 8036CBE8 00369B48 48 00 00 10 */ b lbl_8036CBF8 +lbl_8036CBEC: +/* 8036CBEC 00369B4C 7F A3 EB 78 */ mr r3, r29 +/* 8036CBF0 00369B50 48 00 01 A9 */ bl sub_8036cd98 +/* 8036CBF4 00369B54 7C 64 1B 78 */ mr r4, r3 +lbl_8036CBF8: +/* 8036CBF8 00369B58 7C 04 F0 40 */ cmplw r4, r30 +/* 8036CBFC 00369B5C 40 82 FF F0 */ bne lbl_8036CBEC +/* 8036CC00 00369B60 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8036CC04 00369B64 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8036CC08 00369B68 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8036CC0C 00369B6C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8036CC10 00369B70 7C 08 03 A6 */ mtlr r0 +/* 8036CC14 00369B74 38 21 00 20 */ addi r1, r1, 0x20 +/* 8036CC18 00369B78 4E 80 00 20 */ blr + +.global sub_8036cc1c +sub_8036cc1c: +/* 8036CC1C 00369B7C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8036CC20 00369B80 7C 08 02 A6 */ mflr r0 +/* 8036CC24 00369B84 2C 03 00 01 */ cmpwi r3, 1 +/* 8036CC28 00369B88 3C 60 80 54 */ lis r3, lbl_80540A4C@ha +/* 8036CC2C 00369B8C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8036CC30 00369B90 38 A3 0A 4C */ addi r5, r3, lbl_80540A4C@l +/* 8036CC34 00369B94 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8036CC38 00369B98 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8036CC3C 00369B9C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8036CC40 00369BA0 93 81 00 10 */ stw r28, 0x10(r1) +/* 8036CC44 00369BA4 7C 9C 23 78 */ mr r28, r4 +/* 8036CC48 00369BA8 80 0D AA F0 */ lwz r0, lbl_805A96B0@sda21(r13) +/* 8036CC4C 00369BAC 68 03 00 01 */ xori r3, r0, 1 +/* 8036CC50 00369BB0 40 82 00 08 */ bne lbl_8036CC58 +/* 8036CC54 00369BB4 7C 03 03 78 */ mr r3, r0 +lbl_8036CC58: +/* 8036CC58 00369BB8 1F A3 00 18 */ mulli r29, r3, 0x18 +/* 8036CC5C 00369BBC 3C 80 80 3E */ lis r4, lbl_803D8568@ha +/* 8036CC60 00369BC0 38 60 00 0C */ li r3, 0xc +/* 8036CC64 00369BC4 38 84 85 68 */ addi r4, r4, lbl_803D8568@l +/* 8036CC68 00369BC8 7C C5 EA 14 */ add r6, r5, r29 +/* 8036CC6C 00369BCC 38 A0 00 00 */ li r5, 0 +/* 8036CC70 00369BD0 83 E6 00 08 */ lwz r31, 8(r6) +/* 8036CC74 00369BD4 83 DF 00 00 */ lwz r30, 0(r31) +/* 8036CC78 00369BD8 4B FA 8B A1 */ bl __nwa__FUlPCcPCc +/* 8036CC7C 00369BDC 28 03 00 00 */ cmplwi r3, 0 +/* 8036CC80 00369BE0 41 82 00 0C */ beq lbl_8036CC8C +/* 8036CC84 00369BE4 93 C3 00 00 */ stw r30, 0(r3) +/* 8036CC88 00369BE8 93 E3 00 04 */ stw r31, 4(r3) +lbl_8036CC8C: +/* 8036CC8C 00369BEC 34 83 00 08 */ addic. r4, r3, 8 +/* 8036CC90 00369BF0 41 82 00 08 */ beq lbl_8036CC98 +/* 8036CC94 00369BF4 93 84 00 00 */ stw r28, 0(r4) +lbl_8036CC98: +/* 8036CC98 00369BF8 3C 80 80 54 */ lis r4, lbl_80540A4C@ha +/* 8036CC9C 00369BFC 38 04 0A 4C */ addi r0, r4, lbl_80540A4C@l +/* 8036CCA0 00369C00 7C 80 EA 14 */ add r4, r0, r29 +/* 8036CCA4 00369C04 84 04 00 04 */ lwzu r0, 4(r4) +/* 8036CCA8 00369C08 7C 1F 00 40 */ cmplw r31, r0 +/* 8036CCAC 00369C0C 40 82 00 08 */ bne lbl_8036CCB4 +/* 8036CCB0 00369C10 90 64 00 00 */ stw r3, 0(r4) +lbl_8036CCB4: +/* 8036CCB4 00369C14 80 A3 00 00 */ lwz r5, 0(r3) +/* 8036CCB8 00369C18 3C 80 80 54 */ lis r4, lbl_80540A4C@ha +/* 8036CCBC 00369C1C 38 04 0A 4C */ addi r0, r4, lbl_80540A4C@l +/* 8036CCC0 00369C20 90 65 00 04 */ stw r3, 4(r5) +/* 8036CCC4 00369C24 7C 80 EA 14 */ add r4, r0, r29 +/* 8036CCC8 00369C28 80 A3 00 04 */ lwz r5, 4(r3) +/* 8036CCCC 00369C2C 90 65 00 00 */ stw r3, 0(r5) +/* 8036CCD0 00369C30 80 64 00 14 */ lwz r3, 0x14(r4) +/* 8036CCD4 00369C34 38 03 00 01 */ addi r0, r3, 1 +/* 8036CCD8 00369C38 90 04 00 14 */ stw r0, 0x14(r4) +/* 8036CCDC 00369C3C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8036CCE0 00369C40 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8036CCE4 00369C44 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8036CCE8 00369C48 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8036CCEC 00369C4C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8036CCF0 00369C50 7C 08 03 A6 */ mtlr r0 +/* 8036CCF4 00369C54 38 21 00 20 */ addi r1, r1, 0x20 +/* 8036CCF8 00369C58 4E 80 00 20 */ blr + +.global sub_8036ccfc +sub_8036ccfc: +/* 8036CCFC 00369C5C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8036CD00 00369C60 7C 08 02 A6 */ mflr r0 +/* 8036CD04 00369C64 90 01 00 14 */ stw r0, 0x14(r1) +/* 8036CD08 00369C68 48 00 B7 DD */ bl GXDrawDone +/* 8036CD0C 00369C6C 48 00 00 15 */ bl sub_8036cd20 +/* 8036CD10 00369C70 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8036CD14 00369C74 7C 08 03 A6 */ mtlr r0 +/* 8036CD18 00369C78 38 21 00 10 */ addi r1, r1, 0x10 +/* 8036CD1C 00369C7C 4E 80 00 20 */ blr + +.global sub_8036cd20 +sub_8036cd20: +/* 8036CD20 00369C80 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8036CD24 00369C84 7C 08 02 A6 */ mflr r0 +/* 8036CD28 00369C88 90 01 00 14 */ stw r0, 0x14(r1) +/* 8036CD2C 00369C8C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8036CD30 00369C90 3B E0 00 00 */ li r31, 0 +lbl_8036CD34: +/* 8036CD34 00369C94 4B FF FE 5D */ bl sub_8036cb90 +/* 8036CD38 00369C98 3B FF 00 01 */ addi r31, r31, 1 +/* 8036CD3C 00369C9C 2C 1F 00 02 */ cmpwi r31, 2 +/* 8036CD40 00369CA0 41 80 FF F4 */ blt lbl_8036CD34 +/* 8036CD44 00369CA4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8036CD48 00369CA8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8036CD4C 00369CAC 7C 08 03 A6 */ mtlr r0 +/* 8036CD50 00369CB0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8036CD54 00369CB4 4E 80 00 20 */ blr + +.global sub_8036cd58 +sub_8036cd58: +/* 8036CD58 00369CB8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8036CD5C 00369CBC 7C 08 02 A6 */ mflr r0 +/* 8036CD60 00369CC0 90 01 00 14 */ stw r0, 0x14(r1) +/* 8036CD64 00369CC4 4B FF FF 99 */ bl sub_8036ccfc +/* 8036CD68 00369CC8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8036CD6C 00369CCC 7C 08 03 A6 */ mtlr r0 +/* 8036CD70 00369CD0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8036CD74 00369CD4 4E 80 00 20 */ blr + +.global sub_8036cd78 +sub_8036cd78: +/* 8036CD78 00369CD8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8036CD7C 00369CDC 7C 08 02 A6 */ mflr r0 +/* 8036CD80 00369CE0 90 01 00 14 */ stw r0, 0x14(r1) +/* 8036CD84 00369CE4 4B FF FF 79 */ bl sub_8036ccfc +/* 8036CD88 00369CE8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8036CD8C 00369CEC 7C 08 03 A6 */ mtlr r0 +/* 8036CD90 00369CF0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8036CD94 00369CF4 4E 80 00 20 */ blr + +.global sub_8036cd98 +sub_8036cd98: +/* 8036CD98 00369CF8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8036CD9C 00369CFC 7C 08 02 A6 */ mflr r0 +/* 8036CDA0 00369D00 90 01 00 14 */ stw r0, 0x14(r1) +/* 8036CDA4 00369D04 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8036CDA8 00369D08 93 C1 00 08 */ stw r30, 8(r1) +/* 8036CDAC 00369D0C 7C 7E 1B 78 */ mr r30, r3 +/* 8036CDB0 00369D10 80 03 00 04 */ lwz r0, 4(r3) +/* 8036CDB4 00369D14 83 E4 00 04 */ lwz r31, 4(r4) +/* 8036CDB8 00369D18 7C 04 00 40 */ cmplw r4, r0 +/* 8036CDBC 00369D1C 40 82 00 08 */ bne lbl_8036CDC4 +/* 8036CDC0 00369D20 93 FE 00 04 */ stw r31, 4(r30) +lbl_8036CDC4: +/* 8036CDC4 00369D24 80 04 00 04 */ lwz r0, 4(r4) +/* 8036CDC8 00369D28 28 04 00 00 */ cmplwi r4, 0 +/* 8036CDCC 00369D2C 80 64 00 00 */ lwz r3, 0(r4) +/* 8036CDD0 00369D30 90 03 00 04 */ stw r0, 4(r3) +/* 8036CDD4 00369D34 80 04 00 00 */ lwz r0, 0(r4) +/* 8036CDD8 00369D38 80 64 00 04 */ lwz r3, 4(r4) +/* 8036CDDC 00369D3C 90 03 00 00 */ stw r0, 0(r3) +/* 8036CDE0 00369D40 41 82 00 0C */ beq lbl_8036CDEC +/* 8036CDE4 00369D44 7C 83 23 78 */ mr r3, r4 +/* 8036CDE8 00369D48 4B FA 8B 49 */ bl Free__7CMemoryFPCv +lbl_8036CDEC: +/* 8036CDEC 00369D4C 80 9E 00 14 */ lwz r4, 0x14(r30) +/* 8036CDF0 00369D50 7F E3 FB 78 */ mr r3, r31 +/* 8036CDF4 00369D54 38 04 FF FF */ addi r0, r4, -1 +/* 8036CDF8 00369D58 90 1E 00 14 */ stw r0, 0x14(r30) +/* 8036CDFC 00369D5C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8036CE00 00369D60 83 C1 00 08 */ lwz r30, 8(r1) +/* 8036CE04 00369D64 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8036CE08 00369D68 7C 08 03 A6 */ mtlr r0 +/* 8036CE0C 00369D6C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8036CE10 00369D70 4E 80 00 20 */ blr + +.global __sinit_GameTweaks_cpp +__sinit_GameTweaks_cpp: +/* 8036CE14 00369D74 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8036CE18 00369D78 7C 08 02 A6 */ mflr r0 +/* 8036CE1C 00369D7C 3C 60 80 54 */ lis r3, lbl_80540A4C@ha +/* 8036CE20 00369D80 3C 80 80 37 */ lis r4, sub_8036cf1c@ha +/* 8036CE24 00369D84 3C A0 80 37 */ lis r5, sub_8036ce6c@ha +/* 8036CE28 00369D88 90 01 00 14 */ stw r0, 0x14(r1) +/* 8036CE2C 00369D8C 38 C0 00 18 */ li r6, 0x18 +/* 8036CE30 00369D90 38 63 0A 4C */ addi r3, r3, lbl_80540A4C@l +/* 8036CE34 00369D94 38 84 CF 1C */ addi r4, r4, sub_8036cf1c@l +/* 8036CE38 00369D98 38 A5 CE 6C */ addi r5, r5, sub_8036ce6c@l +/* 8036CE3C 00369D9C 38 E0 00 02 */ li r7, 2 +/* 8036CE40 00369DA0 48 01 C9 0D */ bl __construct_array +/* 8036CE44 00369DA4 3C 60 80 37 */ lis r3, __arraydtor$381@ha +/* 8036CE48 00369DA8 3C A0 80 54 */ lis r5, lbl_80540A40@ha +/* 8036CE4C 00369DAC 38 83 CE E4 */ addi r4, r3, __arraydtor$381@l +/* 8036CE50 00369DB0 38 60 00 00 */ li r3, 0 +/* 8036CE54 00369DB4 38 A5 0A 40 */ addi r5, r5, lbl_80540A40@l +/* 8036CE58 00369DB8 48 01 C8 35 */ bl __register_global_object +/* 8036CE5C 00369DBC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8036CE60 00369DC0 7C 08 03 A6 */ mtlr r0 +/* 8036CE64 00369DC4 38 21 00 10 */ addi r1, r1, 0x10 +/* 8036CE68 00369DC8 4E 80 00 20 */ blr + +.global sub_8036ce6c +sub_8036ce6c: +/* 8036CE6C 00369DCC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8036CE70 00369DD0 7C 08 02 A6 */ mflr r0 +/* 8036CE74 00369DD4 90 01 00 24 */ stw r0, 0x24(r1) +/* 8036CE78 00369DD8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8036CE7C 00369DDC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8036CE80 00369DE0 7C 9E 23 78 */ mr r30, r4 +/* 8036CE84 00369DE4 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8036CE88 00369DE8 7C 7D 1B 79 */ or. r29, r3, r3 +/* 8036CE8C 00369DEC 41 82 00 38 */ beq lbl_8036CEC4 +/* 8036CE90 00369DF0 83 FD 00 04 */ lwz r31, 4(r29) +/* 8036CE94 00369DF4 48 00 00 14 */ b lbl_8036CEA8 +lbl_8036CE98: +/* 8036CE98 00369DF8 7F E3 FB 79 */ or. r3, r31, r31 +/* 8036CE9C 00369DFC 83 FF 00 04 */ lwz r31, 4(r31) +/* 8036CEA0 00369E00 41 82 00 08 */ beq lbl_8036CEA8 +/* 8036CEA4 00369E04 4B FA 8A 8D */ bl Free__7CMemoryFPCv +lbl_8036CEA8: +/* 8036CEA8 00369E08 80 1D 00 08 */ lwz r0, 8(r29) +/* 8036CEAC 00369E0C 7C 1F 00 40 */ cmplw r31, r0 +/* 8036CEB0 00369E10 40 82 FF E8 */ bne lbl_8036CE98 +/* 8036CEB4 00369E14 7F C0 07 35 */ extsh. r0, r30 +/* 8036CEB8 00369E18 40 81 00 0C */ ble lbl_8036CEC4 +/* 8036CEBC 00369E1C 7F A3 EB 78 */ mr r3, r29 +/* 8036CEC0 00369E20 4B FA 8A 71 */ bl Free__7CMemoryFPCv +lbl_8036CEC4: +/* 8036CEC4 00369E24 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8036CEC8 00369E28 7F A3 EB 78 */ mr r3, r29 +/* 8036CECC 00369E2C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8036CED0 00369E30 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8036CED4 00369E34 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8036CED8 00369E38 7C 08 03 A6 */ mtlr r0 +/* 8036CEDC 00369E3C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8036CEE0 00369E40 4E 80 00 20 */ blr + +.global __arraydtor$381 +__arraydtor$381: +/* 8036CEE4 00369E44 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8036CEE8 00369E48 7C 08 02 A6 */ mflr r0 +/* 8036CEEC 00369E4C 3C 60 80 54 */ lis r3, lbl_80540A4C@ha +/* 8036CEF0 00369E50 3C 80 80 37 */ lis r4, sub_8036ce6c@ha +/* 8036CEF4 00369E54 90 01 00 14 */ stw r0, 0x14(r1) +/* 8036CEF8 00369E58 38 63 0A 4C */ addi r3, r3, lbl_80540A4C@l +/* 8036CEFC 00369E5C 38 A0 00 18 */ li r5, 0x18 +/* 8036CF00 00369E60 38 84 CE 6C */ addi r4, r4, sub_8036ce6c@l +/* 8036CF04 00369E64 38 C0 00 02 */ li r6, 2 +/* 8036CF08 00369E68 48 01 C7 CD */ bl __destroy_arr +/* 8036CF0C 00369E6C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8036CF10 00369E70 7C 08 03 A6 */ mtlr r0 +/* 8036CF14 00369E74 38 21 00 10 */ addi r1, r1, 0x10 +/* 8036CF18 00369E78 4E 80 00 20 */ blr + +.global sub_8036cf1c +sub_8036cf1c: +/* 8036CF1C 00369E7C 38 83 00 0C */ addi r4, r3, 0xc +/* 8036CF20 00369E80 38 00 00 00 */ li r0, 0 +/* 8036CF24 00369E84 90 83 00 04 */ stw r4, 4(r3) +/* 8036CF28 00369E88 90 83 00 08 */ stw r4, 8(r3) +/* 8036CF2C 00369E8C 90 83 00 0C */ stw r4, 0xc(r3) +/* 8036CF30 00369E90 90 83 00 10 */ stw r4, 0x10(r3) +/* 8036CF34 00369E94 90 03 00 14 */ stw r0, 0x14(r3) +/* 8036CF38 00369E98 4E 80 00 20 */ blr + diff --git a/asm/Kyoto/Graphics/CColor.s b/asm/Kyoto/Graphics/CColor.s new file mode 100644 index 00000000..6d56521f --- /dev/null +++ b/asm/Kyoto/Graphics/CColor.s @@ -0,0 +1,67 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global Orange__6CColorFv +Orange__6CColorFv: +/* 80349F84 00346EE4 38 6D A9 C8 */ addi r3, r13, lbl_805A9588@sda21 +/* 80349F88 00346EE8 4E 80 00 20 */ blr + +.global Yellow__6CColorFv +Yellow__6CColorFv: +/* 80349F8C 00346EEC 38 6D A9 C0 */ addi r3, r13, lbl_805A9580@sda21 +/* 80349F90 00346EF0 4E 80 00 20 */ blr + +.global Blue__6CColorFv +Blue__6CColorFv: +/* 80349F94 00346EF4 38 6D A9 BC */ addi r3, r13, lbl_805A957C@sda21 +/* 80349F98 00346EF8 4E 80 00 20 */ blr + +.global Red__6CColorFv +Red__6CColorFv: +/* 80349F9C 00346EFC 38 6D A9 B4 */ addi r3, r13, lbl_805A9574@sda21 +/* 80349FA0 00346F00 4E 80 00 20 */ blr + +.global Grey__6CColorFv +Grey__6CColorFv: +/* 80349FA4 00346F04 38 6D A9 B0 */ addi r3, r13, lbl_805A9570@sda21 +/* 80349FA8 00346F08 4E 80 00 20 */ blr + +.global White__6CColorFv +White__6CColorFv: +/* 80349FAC 00346F0C 38 6D A9 AC */ addi r3, r13, lbl_805A956C@sda21 +/* 80349FB0 00346F10 4E 80 00 20 */ blr + +.global Black__6CColorFv +Black__6CColorFv: +/* 80349FB4 00346F14 38 6D A9 A8 */ addi r3, r13, lbl_805A9568@sda21 +/* 80349FB8 00346F18 4E 80 00 20 */ blr + +.global __sinit_CColor_cpp +__sinit_CColor_cpp: +/* 80349FBC 00346F1C 3D 20 80 81 */ lis r9, 0x808080FF@ha +/* 80349FC0 00346F20 3D 00 FF 00 */ lis r8, 0xFF0000FF@ha +/* 80349FC4 00346F24 3C E0 00 FF */ lis r7, 0x00FF00FF@ha +/* 80349FC8 00346F28 3C C0 00 01 */ lis r6, 0x0000FFFF@ha +/* 80349FCC 00346F2C 3C A0 FF FF */ lis r5, 0xFFFF00FF@ha +/* 80349FD0 00346F30 3C 80 A0 01 */ lis r4, 0xA000FFFF@ha +/* 80349FD4 00346F34 3C 60 FF 70 */ lis r3, 0xFF7000FF@ha +/* 80349FD8 00346F38 39 29 80 FF */ addi r9, r9, 0x808080FF@l +/* 80349FDC 00346F3C 39 08 00 FF */ addi r8, r8, 0xFF0000FF@l +/* 80349FE0 00346F40 38 E7 00 FF */ addi r7, r7, 0x00FF00FF@l +/* 80349FE4 00346F44 38 C6 FF FF */ addi r6, r6, 0x0000FFFF@l +/* 80349FE8 00346F48 38 A5 00 FF */ addi r5, r5, 0xFFFF00FF@l +/* 80349FEC 00346F4C 38 84 FF FF */ addi r4, r4, 0xA000FFFF@l +/* 80349FF0 00346F50 38 03 00 FF */ addi r0, r3, 0xFF7000FF@l +/* 80349FF4 00346F54 39 40 00 FF */ li r10, 0xff +/* 80349FF8 00346F58 38 60 FF FF */ li r3, -1 +/* 80349FFC 00346F5C 91 4D A9 A8 */ stw r10, lbl_805A9568@sda21(r13) +/* 8034A000 00346F60 90 6D A9 AC */ stw r3, lbl_805A956C@sda21(r13) +/* 8034A004 00346F64 91 2D A9 B0 */ stw r9, lbl_805A9570@sda21(r13) +/* 8034A008 00346F68 91 0D A9 B4 */ stw r8, lbl_805A9574@sda21(r13) +/* 8034A00C 00346F6C 90 ED A9 B8 */ stw r7, lbl_805A9578@sda21(r13) +/* 8034A010 00346F70 90 CD A9 BC */ stw r6, lbl_805A957C@sda21(r13) +/* 8034A014 00346F74 90 AD A9 C0 */ stw r5, lbl_805A9580@sda21(r13) +/* 8034A018 00346F78 90 8D A9 C4 */ stw r4, lbl_805A9584@sda21(r13) +/* 8034A01C 00346F7C 90 0D A9 C8 */ stw r0, lbl_805A9588@sda21(r13) +/* 8034A020 00346F80 4E 80 00 20 */ blr diff --git a/asm/Kyoto/Graphics/CCubeMaterial.s b/asm/Kyoto/Graphics/CCubeMaterial.s new file mode 100644 index 00000000..90cdb4c1 --- /dev/null +++ b/asm/Kyoto/Graphics/CCubeMaterial.s @@ -0,0 +1,3021 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global GetCompressedBlend__13CCubeMaterialCFv +GetCompressedBlend__13CCubeMaterialCFv: +/* 8034574C 003426AC 80 83 00 00 */ lwz r4, 0(r3) +/* 80345750 003426B0 80 04 00 00 */ lwz r0, 0(r4) +/* 80345754 003426B4 80 64 00 04 */ lwz r3, 4(r4) +/* 80345758 003426B8 54 00 07 39 */ rlwinm. r0, r0, 0, 0x1c, 0x1c +/* 8034575C 003426BC 54 63 10 3A */ slwi r3, r3, 2 +/* 80345760 003426C0 38 A3 00 10 */ addi r5, r3, 0x10 +/* 80345764 003426C4 7C A4 2A 14 */ add r5, r4, r5 +/* 80345768 003426C8 41 82 00 14 */ beq lbl_8034577C +/* 8034576C 003426CC 80 65 00 00 */ lwz r3, 0(r5) +/* 80345770 003426D0 38 03 00 01 */ addi r0, r3, 1 +/* 80345774 003426D4 54 00 10 3A */ slwi r0, r0, 2 +/* 80345778 003426D8 7C A5 02 14 */ add r5, r5, r0 +lbl_8034577C: +/* 8034577C 003426DC 80 65 00 00 */ lwz r3, 0(r5) +/* 80345780 003426E0 4E 80 00 20 */ blr + +.global DisableShadowMaps__10CCubeModelFv +DisableShadowMaps__10CCubeModelFv: +/* 80345784 003426E4 38 00 00 00 */ li r0, 0 +/* 80345788 003426E8 98 0D A9 9A */ stb r0, lbl_805A955A@sda21(r13) +/* 8034578C 003426EC 4E 80 00 20 */ blr + +.global EnableShadowMaps__10CCubeModelFPC8CTextureRC12CTransform4fUcUc +EnableShadowMaps__10CCubeModelFPC8CTextureRC12CTransform4fUcUc: +/* 80345790 003426F0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80345794 003426F4 7C 08 02 A6 */ mflr r0 +/* 80345798 003426F8 3C E0 80 4C */ lis r7, lbl_804BFF5C@ha +/* 8034579C 003426FC 90 01 00 14 */ stw r0, 0x14(r1) +/* 803457A0 00342700 38 00 00 01 */ li r0, 1 +/* 803457A4 00342704 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803457A8 00342708 7C DF 33 78 */ mr r31, r6 +/* 803457AC 0034270C 93 C1 00 08 */ stw r30, 8(r1) +/* 803457B0 00342710 7C BE 2B 78 */ mr r30, r5 +/* 803457B4 00342714 98 0D A9 9A */ stb r0, lbl_805A955A@sda21(r13) +/* 803457B8 00342718 38 07 FF 5C */ addi r0, r7, lbl_804BFF5C@l +/* 803457BC 0034271C 90 6D A9 9C */ stw r3, lbl_805A955C@sda21(r13) +/* 803457C0 00342720 7C 03 03 78 */ mr r3, r0 +/* 803457C4 00342724 4B FC D3 7D */ bl __as__12CTransform4fFRC12CTransform4f +/* 803457C8 00342728 9B CD A9 A0 */ stb r30, lbl_805A9560@sda21(r13) +/* 803457CC 0034272C 9B ED A9 A1 */ stb r31, lbl_805A9561@sda21(r13) +/* 803457D0 00342730 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803457D4 00342734 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803457D8 00342738 83 C1 00 08 */ lwz r30, 8(r1) +/* 803457DC 0034273C 7C 08 03 A6 */ mtlr r0 +/* 803457E0 00342740 38 21 00 10 */ addi r1, r1, 0x10 +/* 803457E4 00342744 4E 80 00 20 */ blr + +.global SetRenderModelBlack__10CCubeModelFb +SetRenderModelBlack__10CCubeModelFb: +/* 803457E8 00342748 38 00 00 00 */ li r0, 0 +/* 803457EC 0034274C 98 6D A9 98 */ stb r3, lbl_805A9558@sda21(r13) +/* 803457F0 00342750 98 0D A9 99 */ stb r0, lbl_805A9559@sda21(r13) +/* 803457F4 00342754 4E 80 00 20 */ blr + +.global SetNewPlayerPositionAndTime__10CCubeModelFRC9CVector3fRC10CStopwatch +SetNewPlayerPositionAndTime__10CCubeModelFRC9CVector3fRC10CStopwatch: +/* 803457F8 00342758 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803457FC 0034275C 7C 08 02 A6 */ mflr r0 +/* 80345800 00342760 3C 80 80 4C */ lis r4, lbl_804BFF50@ha +/* 80345804 00342764 90 01 00 24 */ stw r0, 0x24(r1) +/* 80345808 00342768 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8034580C 0034276C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80345810 00342770 C0 43 00 00 */ lfs f2, 0(r3) +/* 80345814 00342774 C0 23 00 04 */ lfs f1, 4(r3) +/* 80345818 00342778 D4 44 FF 50 */ stfsu f2, lbl_804BFF50@l(r4) +/* 8034581C 0034277C C0 03 00 08 */ lfs f0, 8(r3) +/* 80345820 00342780 D0 24 00 04 */ stfs f1, 4(r4) +/* 80345824 00342784 D0 04 00 08 */ stfs f0, 8(r4) +/* 80345828 00342788 48 00 01 19 */ bl KillCachedViewDepState__13CCubeMaterialFv +/* 8034582C 0034278C 48 03 FB 7D */ bl OSGetTime +/* 80345830 00342790 3C A0 80 5A */ lis r5, mData__10CStopwatch@ha +/* 80345834 00342794 38 C5 FD 30 */ addi r6, r5, mData__10CStopwatch@l +/* 80345838 00342798 80 A6 00 08 */ lwz r5, 8(r6) +/* 8034583C 0034279C 80 C6 00 0C */ lwz r6, 0xc(r6) +/* 80345840 003427A0 48 04 43 8D */ bl __div2i +/* 80345844 003427A4 38 A0 00 00 */ li r5, 0 +/* 80345848 003427A8 38 C0 03 E8 */ li r6, 0x3e8 +/* 8034584C 003427AC 48 04 43 81 */ bl __div2i +/* 80345850 003427B0 C0 22 CB C4 */ lfs f1, lbl_805AE8E4@sda21(r2) +/* 80345854 003427B4 7C 9E 23 78 */ mr r30, r4 +/* 80345858 003427B8 C0 02 CB C8 */ lfs f0, lbl_805AE8E8@sda21(r2) +/* 8034585C 003427BC 7C 7F 1B 78 */ mr r31, r3 +/* 80345860 003427C0 EC 21 00 32 */ fmuls f1, f1, f0 +/* 80345864 003427C4 48 04 40 F1 */ bl __cvt_fp2unsigned +/* 80345868 003427C8 7C 66 1B 78 */ mr r6, r3 +/* 8034586C 003427CC 7F E3 FB 78 */ mr r3, r31 +/* 80345870 003427D0 7F C4 F3 78 */ mr r4, r30 +/* 80345874 003427D4 38 A0 00 00 */ li r5, 0 +/* 80345878 003427D8 48 04 45 71 */ bl __mod2i +/* 8034587C 003427DC 3C 00 43 30 */ lis r0, 0x4330 +/* 80345880 003427E0 90 81 00 0C */ stw r4, 0xc(r1) +/* 80345884 003427E4 C8 62 CB F0 */ lfd f3, lbl_805AE910@sda21(r2) +/* 80345888 003427E8 90 01 00 08 */ stw r0, 8(r1) +/* 8034588C 003427EC C0 42 CB CC */ lfs f2, lbl_805AE8EC@sda21(r2) +/* 80345890 003427F0 C8 01 00 08 */ lfd f0, 8(r1) +/* 80345894 003427F4 C0 22 CB E0 */ lfs f1, lbl_805AE900@sda21(r2) +/* 80345898 003427F8 EC 60 18 28 */ fsubs f3, f0, f3 +/* 8034589C 003427FC C0 02 CB DC */ lfs f0, lbl_805AE8FC@sda21(r2) +/* 803458A0 00342800 EC 43 10 24 */ fdivs f2, f3, f2 +/* 803458A4 00342804 EC 22 00 7A */ fmadds f1, f2, f1, f0 +/* 803458A8 00342808 D0 4D A9 94 */ stfs f2, lbl_805A9554@sda21(r13) +/* 803458AC 0034280C 48 04 F2 31 */ bl sin +/* 803458B0 00342810 C0 02 CB D8 */ lfs f0, lbl_805AE8F8@sda21(r2) +/* 803458B4 00342814 C8 82 CB D0 */ lfd f4, lbl_805AE8F0@sda21(r2) +/* 803458B8 00342818 C0 4D A9 94 */ lfs f2, lbl_805A9554@sda21(r13) +/* 803458BC 0034281C FC 60 20 7C */ fnmsub f3, f0, f1, f4 +/* 803458C0 00342820 C0 22 CB E0 */ lfs f1, lbl_805AE900@sda21(r2) +/* 803458C4 00342824 C0 02 CB E8 */ lfs f0, lbl_805AE908@sda21(r2) +/* 803458C8 00342828 EC 22 00 7A */ fmadds f1, f2, f1, f0 +/* 803458CC 0034282C FC 04 18 24 */ fdiv f0, f4, f3 +/* 803458D0 00342830 FC 00 00 18 */ frsp f0, f0 +/* 803458D4 00342834 D0 0D 9D 6C */ stfs f0, lbl_805A892C@sda21(r13) +/* 803458D8 00342838 48 04 F2 05 */ bl sin +/* 803458DC 0034283C C0 02 CB E4 */ lfs f0, lbl_805AE904@sda21(r2) +/* 803458E0 00342840 C8 42 CB D0 */ lfd f2, lbl_805AE8F0@sda21(r2) +/* 803458E4 00342844 FC 00 10 7C */ fnmsub f0, f0, f1, f2 +/* 803458E8 00342848 FC 02 00 24 */ fdiv f0, f2, f0 +/* 803458EC 0034284C FC 00 00 18 */ frsp f0, f0 +/* 803458F0 00342850 D0 0D 9D 70 */ stfs f0, lbl_805A8930@sda21(r13) +/* 803458F4 00342854 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803458F8 00342858 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 803458FC 0034285C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80345900 00342860 7C 08 03 A6 */ mtlr r0 +/* 80345904 00342864 38 21 00 20 */ addi r1, r1, 0x20 +/* 80345908 00342868 4E 80 00 20 */ blr + +.global ResetCachedMaterials__13CCubeMaterialFv +ResetCachedMaterials__13CCubeMaterialFv: +/* 8034590C 0034286C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80345910 00342870 7C 08 02 A6 */ mflr r0 +/* 80345914 00342874 90 01 00 14 */ stw r0, 0x14(r1) +/* 80345918 00342878 48 00 00 29 */ bl KillCachedViewDepState__13CCubeMaterialFv +/* 8034591C 0034287C 38 60 00 00 */ li r3, 0 +/* 80345920 00342880 38 00 FF FF */ li r0, -1 +/* 80345924 00342884 90 6D A9 88 */ stw r3, lbl_805A9548@sda21(r13) +/* 80345928 00342888 90 6D A9 8C */ stw r3, lbl_805A954C@sda21(r13) +/* 8034592C 0034288C 90 0D 9D 68 */ stw r0, lbl_805A8928@sda21(r13) +/* 80345930 00342890 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80345934 00342894 7C 08 03 A6 */ mtlr r0 +/* 80345938 00342898 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034593C 0034289C 4E 80 00 20 */ blr + +.global KillCachedViewDepState__13CCubeMaterialFv +KillCachedViewDepState__13CCubeMaterialFv: +/* 80345940 003428A0 38 00 00 00 */ li r0, 0 +/* 80345944 003428A4 90 0D A9 84 */ stw r0, lbl_805A9544@sda21(r13) +/* 80345948 003428A8 4E 80 00 20 */ blr + +.global EnsureViewDepStateCached__13CCubeMaterialFPC12CCubeSurface +EnsureViewDepStateCached__13CCubeMaterialFPC12CCubeSurface: +/* 8034594C 003428AC 94 21 FE 80 */ stwu r1, -0x180(r1) +/* 80345950 003428B0 7C 08 02 A6 */ mflr r0 +/* 80345954 003428B4 90 01 01 84 */ stw r0, 0x184(r1) +/* 80345958 003428B8 DB E1 01 70 */ stfd f31, 0x170(r1) +/* 8034595C 003428BC F3 E1 01 78 */ psq_st f31, 376(r1), 0, qr0 +/* 80345960 003428C0 DB C1 01 60 */ stfd f30, 0x160(r1) +/* 80345964 003428C4 F3 C1 01 68 */ psq_st f30, 360(r1), 0, qr0 +/* 80345968 003428C8 DB A1 01 50 */ stfd f29, 0x150(r1) +/* 8034596C 003428CC F3 A1 01 58 */ psq_st f29, 344(r1), 0, qr0 +/* 80345970 003428D0 93 E1 01 4C */ stw r31, 0x14c(r1) +/* 80345974 003428D4 93 C1 01 48 */ stw r30, 0x148(r1) +/* 80345978 003428D8 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8034597C 003428DC 40 82 00 14 */ bne lbl_80345990 +/* 80345980 003428E0 80 6D A9 84 */ lwz r3, lbl_805A9544@sda21(r13) +/* 80345984 003428E4 80 0D A9 88 */ lwz r0, lbl_805A9548@sda21(r13) +/* 80345988 003428E8 7C 03 00 40 */ cmplw r3, r0 +/* 8034598C 003428EC 41 82 04 A0 */ beq lbl_80345E2C +lbl_80345990: +/* 80345990 003428F0 80 0D A9 88 */ lwz r0, lbl_805A9548@sda21(r13) +/* 80345994 003428F4 28 00 00 00 */ cmplwi r0, 0 +/* 80345998 003428F8 40 82 00 08 */ bne lbl_803459A0 +/* 8034599C 003428FC 48 00 04 90 */ b lbl_80345E2C +lbl_803459A0: +/* 803459A0 00342900 3C A0 80 4C */ lis r5, lbl_804BFF50@ha +/* 803459A4 00342904 3C 60 80 5A */ lis r3, lbl_805A6204@ha +/* 803459A8 00342908 38 83 62 04 */ addi r4, r3, lbl_805A6204@l +/* 803459AC 0034290C 3B E5 FF 50 */ addi r31, r5, lbl_804BFF50@l +/* 803459B0 00342910 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 803459B4 00342914 C0 3F 00 00 */ lfs f1, 0(r31) +/* 803459B8 00342918 38 61 00 3C */ addi r3, r1, 0x3c +/* 803459BC 0034291C C0 7F 00 04 */ lfs f3, 4(r31) +/* 803459C0 00342920 38 A1 00 0C */ addi r5, r1, 0xc +/* 803459C4 00342924 EC 81 00 28 */ fsubs f4, f1, f0 +/* 803459C8 00342928 C0 44 00 1C */ lfs f2, 0x1c(r4) +/* 803459CC 0034292C C0 3F 00 08 */ lfs f1, 8(r31) +/* 803459D0 00342930 C0 04 00 2C */ lfs f0, 0x2c(r4) +/* 803459D4 00342934 EC 43 10 28 */ fsubs f2, f3, f2 +/* 803459D8 00342938 D0 81 00 0C */ stfs f4, 0xc(r1) +/* 803459DC 0034293C EC 01 00 28 */ fsubs f0, f1, f0 +/* 803459E0 00342940 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 803459E4 00342944 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 803459E8 00342948 4B FC D0 3D */ bl TransposeRotate__12CTransform4fCFRC9CVector3f +/* 803459EC 0034294C 3C 60 80 5A */ lis r3, skZero3f@ha +/* 803459F0 00342950 C4 43 66 A0 */ lfsu f2, skZero3f@l(r3) +/* 803459F4 00342954 C0 A1 00 3C */ lfs f5, 0x3c(r1) +/* 803459F8 00342958 28 1E 00 00 */ cmplwi r30, 0 +/* 803459FC 0034295C C0 81 00 40 */ lfs f4, 0x40(r1) +/* 80345A00 00342960 C0 61 00 44 */ lfs f3, 0x44(r1) +/* 80345A04 00342964 80 8D A9 88 */ lwz r4, lbl_805A9548@sda21(r13) +/* 80345A08 00342968 C0 23 00 04 */ lfs f1, 4(r3) +/* 80345A0C 0034296C C0 03 00 08 */ lfs f0, 8(r3) +/* 80345A10 00342970 D0 A1 00 7C */ stfs f5, 0x7c(r1) +/* 80345A14 00342974 C3 E2 CB DC */ lfs f31, lbl_805AE8FC@sda21(r2) +/* 80345A18 00342978 D0 81 00 80 */ stfs f4, 0x80(r1) +/* 80345A1C 0034297C D0 61 00 84 */ stfs f3, 0x84(r1) +/* 80345A20 00342980 90 8D A9 84 */ stw r4, lbl_805A9544@sda21(r13) +/* 80345A24 00342984 D0 41 00 70 */ stfs f2, 0x70(r1) +/* 80345A28 00342988 D0 21 00 74 */ stfs f1, 0x74(r1) +/* 80345A2C 0034298C D0 01 00 78 */ stfs f0, 0x78(r1) +/* 80345A30 00342990 41 82 00 7C */ beq lbl_80345AAC +/* 80345A34 00342994 38 00 00 02 */ li r0, 2 +/* 80345A38 00342998 80 7E 00 00 */ lwz r3, 0(r30) +/* 80345A3C 0034299C 90 0D A9 80 */ stw r0, lbl_805A9540@sda21(r13) +/* 80345A40 003429A0 C0 C3 00 24 */ lfs f6, 0x24(r3) +/* 80345A44 003429A4 C0 23 00 04 */ lfs f1, 4(r3) +/* 80345A48 003429A8 EC 06 01 32 */ fmuls f0, f6, f4 +/* 80345A4C 003429AC C0 E3 00 20 */ lfs f7, 0x20(r3) +/* 80345A50 003429B0 EC 21 01 B2 */ fmuls f1, f1, f6 +/* 80345A54 003429B4 C0 43 00 00 */ lfs f2, 0(r3) +/* 80345A58 003429B8 C1 03 00 28 */ lfs f8, 0x28(r3) +/* 80345A5C 003429BC EC 07 01 7A */ fmadds f0, f7, f5, f0 +/* 80345A60 003429C0 EC 22 09 FA */ fmadds f1, f2, f7, f1 +/* 80345A64 003429C4 C0 43 00 08 */ lfs f2, 8(r3) +/* 80345A68 003429C8 D0 E1 00 60 */ stfs f7, 0x60(r1) +/* 80345A6C 003429CC EC 08 00 FA */ fmadds f0, f8, f3, f0 +/* 80345A70 003429D0 EC 22 0A 3A */ fmadds f1, f2, f8, f1 +/* 80345A74 003429D4 D0 C1 00 64 */ stfs f6, 0x64(r1) +/* 80345A78 003429D8 D1 01 00 68 */ stfs f8, 0x68(r1) +/* 80345A7C 003429DC EC 00 08 28 */ fsubs f0, f0, f1 +/* 80345A80 003429E0 D0 21 00 6C */ stfs f1, 0x6c(r1) +/* 80345A84 003429E4 EC 40 01 F2 */ fmuls f2, f0, f7 +/* 80345A88 003429E8 EC 20 01 B2 */ fmuls f1, f0, f6 +/* 80345A8C 003429EC EC 00 02 32 */ fmuls f0, f0, f8 +/* 80345A90 003429F0 EC 45 10 28 */ fsubs f2, f5, f2 +/* 80345A94 003429F4 EC 24 08 28 */ fsubs f1, f4, f1 +/* 80345A98 003429F8 EC 03 00 28 */ fsubs f0, f3, f0 +/* 80345A9C 003429FC D0 41 00 70 */ stfs f2, 0x70(r1) +/* 80345AA0 00342A00 D0 21 00 74 */ stfs f1, 0x74(r1) +/* 80345AA4 00342A04 D0 01 00 78 */ stfs f0, 0x78(r1) +/* 80345AA8 00342A08 48 00 00 60 */ b lbl_80345B08 +lbl_80345AAC: +/* 80345AAC 00342A0C 38 00 00 01 */ li r0, 1 +/* 80345AB0 00342A10 3B C4 00 20 */ addi r30, r4, 0x20 +/* 80345AB4 00342A14 90 0D A9 80 */ stw r0, lbl_805A9540@sda21(r13) +/* 80345AB8 00342A18 7F C4 F3 78 */ mr r4, r30 +/* 80345ABC 00342A1C 38 61 00 30 */ addi r3, r1, 0x30 +/* 80345AC0 00342A20 4B FF 1B 4D */ bl GetCenterPoint__6CAABoxCFv +/* 80345AC4 00342A24 C0 7E 00 0C */ lfs f3, 0xc(r30) +/* 80345AC8 00342A28 C0 5E 00 00 */ lfs f2, 0(r30) +/* 80345ACC 00342A2C C0 3E 00 10 */ lfs f1, 0x10(r30) +/* 80345AD0 00342A30 C0 1E 00 04 */ lfs f0, 4(r30) +/* 80345AD4 00342A34 EC 43 10 28 */ fsubs f2, f3, f2 +/* 80345AD8 00342A38 C0 61 00 38 */ lfs f3, 0x38(r1) +/* 80345ADC 00342A3C EC 01 00 28 */ fsubs f0, f1, f0 +/* 80345AE0 00342A40 C0 A1 00 30 */ lfs f5, 0x30(r1) +/* 80345AE4 00342A44 C0 22 CB FC */ lfs f1, lbl_805AE91C@sda21(r2) +/* 80345AE8 00342A48 C0 81 00 34 */ lfs f4, 0x34(r1) +/* 80345AEC 00342A4C EC 02 00 2A */ fadds f0, f2, f0 +/* 80345AF0 00342A50 D0 61 00 78 */ stfs f3, 0x78(r1) +/* 80345AF4 00342A54 C0 41 00 84 */ lfs f2, 0x84(r1) +/* 80345AF8 00342A58 D0 A1 00 70 */ stfs f5, 0x70(r1) +/* 80345AFC 00342A5C EF E1 00 32 */ fmuls f31, f1, f0 +/* 80345B00 00342A60 D0 81 00 74 */ stfs f4, 0x74(r1) +/* 80345B04 00342A64 D0 41 00 78 */ stfs f2, 0x78(r1) +lbl_80345B08: +/* 80345B08 00342A68 80 AD A5 F0 */ lwz r5, lbl_805A91B0@sda21(r13) +/* 80345B0C 00342A6C 88 85 03 18 */ lbz r4, 0x318(r5) +/* 80345B10 00342A70 54 80 CF FF */ rlwinm. r0, r4, 0x19, 0x1f, 0x1f +/* 80345B14 00342A74 41 82 00 A4 */ beq lbl_80345BB8 +/* 80345B18 00342A78 3C 80 80 5A */ lis r4, lbl_805A67B4@ha +/* 80345B1C 00342A7C 3C 60 80 4C */ lis r3, lbl_804BFF50@ha +/* 80345B20 00342A80 38 84 67 B4 */ addi r4, r4, lbl_805A67B4@l +/* 80345B24 00342A84 C0 3F 00 04 */ lfs f1, 4(r31) +/* 80345B28 00342A88 C0 04 00 04 */ lfs f0, 4(r4) +/* 80345B2C 00342A8C C1 41 00 74 */ lfs f10, 0x74(r1) +/* 80345B30 00342A90 EC 80 08 28 */ fsubs f4, f0, f1 +/* 80345B34 00342A94 C0 04 00 00 */ lfs f0, 0(r4) +/* 80345B38 00342A98 C0 43 FF 50 */ lfs f2, lbl_804BFF50@l(r3) +/* 80345B3C 00342A9C EC CA 08 28 */ fsubs f6, f10, f1 +/* 80345B40 00342AA0 C1 21 00 70 */ lfs f9, 0x70(r1) +/* 80345B44 00342AA4 EC 20 10 28 */ fsubs f1, f0, f2 +/* 80345B48 00342AA8 EC E9 10 28 */ fsubs f7, f9, f2 +/* 80345B4C 00342AAC C0 04 00 08 */ lfs f0, 8(r4) +/* 80345B50 00342AB0 C0 7F 00 08 */ lfs f3, 8(r31) +/* 80345B54 00342AB4 EC 44 01 32 */ fmuls f2, f4, f4 +/* 80345B58 00342AB8 C1 61 00 78 */ lfs f11, 0x78(r1) +/* 80345B5C 00342ABC ED 00 18 28 */ fsubs f8, f0, f3 +/* 80345B60 00342AC0 EC AB 18 28 */ fsubs f5, f11, f3 +/* 80345B64 00342AC4 D0 81 00 1C */ stfs f4, 0x1c(r1) +/* 80345B68 00342AC8 EC 61 00 72 */ fmuls f3, f1, f1 +/* 80345B6C 00342ACC D0 21 00 18 */ stfs f1, 0x18(r1) +/* 80345B70 00342AD0 EC 27 01 F2 */ fmuls f1, f7, f7 +/* 80345B74 00342AD4 EC 06 01 B2 */ fmuls f0, f6, f6 +/* 80345B78 00342AD8 EC 63 10 2A */ fadds f3, f3, f2 +/* 80345B7C 00342ADC D1 01 00 20 */ stfs f8, 0x20(r1) +/* 80345B80 00342AE0 EC 88 02 32 */ fmuls f4, f8, f8 +/* 80345B84 00342AE4 EC 01 00 2A */ fadds f0, f1, f0 +/* 80345B88 00342AE8 D0 E1 00 24 */ stfs f7, 0x24(r1) +/* 80345B8C 00342AEC EC 45 01 72 */ fmuls f2, f5, f5 +/* 80345B90 00342AF0 EC 24 18 2A */ fadds f1, f4, f3 +/* 80345B94 00342AF4 D0 C1 00 28 */ stfs f6, 0x28(r1) +/* 80345B98 00342AF8 EC 02 00 2A */ fadds f0, f2, f0 +/* 80345B9C 00342AFC D0 A1 00 2C */ stfs f5, 0x2c(r1) +/* 80345BA0 00342B00 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80345BA4 00342B04 40 80 00 3C */ bge lbl_80345BE0 +/* 80345BA8 00342B08 D1 24 00 00 */ stfs f9, 0(r4) +/* 80345BAC 00342B0C D1 44 00 04 */ stfs f10, 4(r4) +/* 80345BB0 00342B10 D1 64 00 08 */ stfs f11, 8(r4) +/* 80345BB4 00342B14 48 00 00 2C */ b lbl_80345BE0 +lbl_80345BB8: +/* 80345BB8 00342B18 C0 41 00 70 */ lfs f2, 0x70(r1) +/* 80345BBC 00342B1C 3C 60 80 5A */ lis r3, lbl_805A67B4@ha +/* 80345BC0 00342B20 38 00 00 01 */ li r0, 1 +/* 80345BC4 00342B24 C0 21 00 74 */ lfs f1, 0x74(r1) +/* 80345BC8 00342B28 D4 43 67 B4 */ stfsu f2, lbl_805A67B4@l(r3) +/* 80345BCC 00342B2C 50 04 3E 30 */ rlwimi r4, r0, 7, 0x18, 0x18 +/* 80345BD0 00342B30 C0 01 00 78 */ lfs f0, 0x78(r1) +/* 80345BD4 00342B34 D0 23 00 04 */ stfs f1, 4(r3) +/* 80345BD8 00342B38 D0 03 00 08 */ stfs f0, 8(r3) +/* 80345BDC 00342B3C 98 85 03 18 */ stb r4, 0x318(r5) +lbl_80345BE0: +/* 80345BE0 00342B40 C0 21 00 74 */ lfs f1, 0x74(r1) +/* 80345BE4 00342B44 38 61 00 54 */ addi r3, r1, 0x54 +/* 80345BE8 00342B48 C0 01 00 80 */ lfs f0, 0x80(r1) +/* 80345BEC 00342B4C C0 61 00 78 */ lfs f3, 0x78(r1) +/* 80345BF0 00342B50 C0 41 00 84 */ lfs f2, 0x84(r1) +/* 80345BF4 00342B54 EC 81 00 28 */ fsubs f4, f1, f0 +/* 80345BF8 00342B58 C0 21 00 70 */ lfs f1, 0x70(r1) +/* 80345BFC 00342B5C C0 01 00 7C */ lfs f0, 0x7c(r1) +/* 80345C00 00342B60 EC 43 10 28 */ fsubs f2, f3, f2 +/* 80345C04 00342B64 D0 81 00 58 */ stfs f4, 0x58(r1) +/* 80345C08 00342B68 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80345C0C 00342B6C D0 41 00 5C */ stfs f2, 0x5c(r1) +/* 80345C10 00342B70 D0 01 00 54 */ stfs f0, 0x54(r1) +/* 80345C14 00342B74 4B FC EC A5 */ bl Magnitude__9CVector3fCFv +/* 80345C18 00342B78 C0 02 CB FC */ lfs f0, lbl_805AE91C@sda21(r2) +/* 80345C1C 00342B7C 38 81 00 08 */ addi r4, r1, 8 +/* 80345C20 00342B80 38 62 CB F8 */ addi r3, r2, lbl_805AE918@sda21 +/* 80345C24 00342B84 EC 00 0F FC */ fnmsubs f0, f0, f31, f1 +/* 80345C28 00342B88 D0 01 00 08 */ stfs f0, 8(r1) +/* 80345C2C 00342B8C 4B D0 9B 05 */ bl "Max__5CMathFRCfRCf" +/* 80345C30 00342B90 C3 E3 00 00 */ lfs f31, 0(r3) +/* 80345C34 00342B94 C0 22 CC 00 */ lfs f1, lbl_805AE920@sda21(r2) +/* 80345C38 00342B98 FC 1F 08 40 */ fcmpo cr0, f31, f1 +/* 80345C3C 00342B9C 4C 41 13 82 */ cror 2, 1, 2 +/* 80345C40 00342BA0 40 82 00 10 */ bne lbl_80345C50 +/* 80345C44 00342BA4 C0 02 CB DC */ lfs f0, lbl_805AE8FC@sda21(r2) +/* 80345C48 00342BA8 D0 0D A9 90 */ stfs f0, lbl_805A9550@sda21(r13) +/* 80345C4C 00342BAC 48 00 01 E0 */ b lbl_80345E2C +lbl_80345C50: +/* 80345C50 00342BB0 EC 01 F8 28 */ fsubs f0, f1, f31 +/* 80345C54 00342BB4 3C 60 80 5A */ lis r3, lbl_805A61D4@ha +/* 80345C58 00342BB8 38 83 61 D4 */ addi r4, r3, lbl_805A61D4@l +/* 80345C5C 00342BBC 38 61 00 88 */ addi r3, r1, 0x88 +/* 80345C60 00342BC0 EC 00 08 24 */ fdivs f0, f0, f1 +/* 80345C64 00342BC4 D0 0D A9 90 */ stfs f0, lbl_805A9550@sda21(r13) +/* 80345C68 00342BC8 4B FC D0 35 */ bl GetQuickInverse__12CTransform4fCFv +/* 80345C6C 00342BCC 3C 80 80 5A */ lis r4, lbl_805A6204@ha +/* 80345C70 00342BD0 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 80345C74 00342BD4 38 A4 62 04 */ addi r5, r4, lbl_805A6204@l +/* 80345C78 00342BD8 38 81 00 88 */ addi r4, r1, 0x88 +/* 80345C7C 00342BDC 4B FC CC D5 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80345C80 00342BE0 38 61 01 18 */ addi r3, r1, 0x118 +/* 80345C84 00342BE4 38 81 00 B8 */ addi r4, r1, 0xb8 +/* 80345C88 00342BE8 4B FC CE ED */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80345C8C 00342BEC 38 61 01 18 */ addi r3, r1, 0x118 +/* 80345C90 00342BF0 38 80 00 30 */ li r4, 0x30 +/* 80345C94 00342BF4 38 A0 00 00 */ li r5, 0 +/* 80345C98 00342BF8 48 03 67 F9 */ bl GXLoadTexMtxImm +/* 80345C9C 00342BFC 3C 60 80 3E */ lis r3, lbl_803D8078@ha +/* 80345CA0 00342C00 38 80 00 52 */ li r4, 0x52 +/* 80345CA4 00342C04 38 63 80 78 */ addi r3, r3, lbl_803D8078@l +/* 80345CA8 00342C08 38 A0 00 00 */ li r5, 0 +/* 80345CAC 00342C0C 48 03 67 E5 */ bl GXLoadTexMtxImm +/* 80345CB0 00342C10 C0 82 CB E8 */ lfs f4, lbl_805AE908@sda21(r2) +/* 80345CB4 00342C14 38 61 00 48 */ addi r3, r1, 0x48 +/* 80345CB8 00342C18 C3 C2 CC 04 */ lfs f30, lbl_805AE924@sda21(r2) +/* 80345CBC 00342C1C EC A4 F8 24 */ fdivs f5, f4, f31 +/* 80345CC0 00342C20 C0 41 00 54 */ lfs f2, 0x54(r1) +/* 80345CC4 00342C24 C0 21 00 58 */ lfs f1, 0x58(r1) +/* 80345CC8 00342C28 C0 01 00 5C */ lfs f0, 0x5c(r1) +/* 80345CCC 00342C2C C0 62 CB DC */ lfs f3, lbl_805AE8FC@sda21(r2) +/* 80345CD0 00342C30 EC E5 00 B2 */ fmuls f7, f5, f2 +/* 80345CD4 00342C34 EC C5 00 72 */ fmuls f6, f5, f1 +/* 80345CD8 00342C38 EC A5 00 32 */ fmuls f5, f5, f0 +/* 80345CDC 00342C3C EC 24 01 F2 */ fmuls f1, f4, f7 +/* 80345CE0 00342C40 EC 03 01 B2 */ fmuls f0, f3, f6 +/* 80345CE4 00342C44 EC 43 01 72 */ fmuls f2, f3, f5 +/* 80345CE8 00342C48 EC 25 08 F8 */ fmsubs f1, f5, f3, f1 +/* 80345CEC 00342C4C EC 07 00 F8 */ fmsubs f0, f7, f3, f0 +/* 80345CF0 00342C50 EC 46 11 38 */ fmsubs f2, f6, f4, f2 +/* 80345CF4 00342C54 FF A0 F0 90 */ fmr f29, f30 +/* 80345CF8 00342C58 D0 21 00 4C */ stfs f1, 0x4c(r1) +/* 80345CFC 00342C5C D0 41 00 48 */ stfs f2, 0x48(r1) +/* 80345D00 00342C60 D0 01 00 50 */ stfs f0, 0x50(r1) +/* 80345D04 00342C64 4B FC E9 F5 */ bl CanBeNormalized__9CVector3fCFv +/* 80345D08 00342C68 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80345D0C 00342C6C 41 82 00 10 */ beq lbl_80345D1C +/* 80345D10 00342C70 38 61 00 48 */ addi r3, r1, 0x48 +/* 80345D14 00342C74 4B FC EB E5 */ bl Normalize__9CVector3fFv +/* 80345D18 00342C78 48 00 00 20 */ b lbl_80345D38 +lbl_80345D1C: +/* 80345D1C 00342C7C 3C 60 80 5A */ lis r3, lbl_805A6718@ha +/* 80345D20 00342C80 C4 43 67 18 */ lfsu f2, lbl_805A6718@l(r3) +/* 80345D24 00342C84 C0 23 00 04 */ lfs f1, 4(r3) +/* 80345D28 00342C88 C0 03 00 08 */ lfs f0, 8(r3) +/* 80345D2C 00342C8C D0 41 00 48 */ stfs f2, 0x48(r1) +/* 80345D30 00342C90 D0 21 00 4C */ stfs f1, 0x4c(r1) +/* 80345D34 00342C94 D0 01 00 50 */ stfs f0, 0x50(r1) +lbl_80345D38: +/* 80345D38 00342C98 C0 01 00 74 */ lfs f0, 0x74(r1) +/* 80345D3C 00342C9C 3C 60 80 3E */ lis r3, lbl_803D80A8@ha +/* 80345D40 00342CA0 C0 E1 00 4C */ lfs f7, 0x4c(r1) +/* 80345D44 00342CA4 39 83 80 A8 */ addi r12, r3, lbl_803D80A8@l +/* 80345D48 00342CA8 C0 81 00 84 */ lfs f4, 0x84(r1) +/* 80345D4C 00342CAC 38 61 00 E8 */ addi r3, r1, 0xe8 +/* 80345D50 00342CB0 EC 60 01 F2 */ fmuls f3, f0, f7 +/* 80345D54 00342CB4 C0 42 CC 08 */ lfs f2, lbl_805AE928@sda21(r2) +/* 80345D58 00342CB8 C0 22 CB E8 */ lfs f1, lbl_805AE908@sda21(r2) +/* 80345D5C 00342CBC FC 00 20 50 */ fneg f0, f4 +/* 80345D60 00342CC0 C0 81 00 70 */ lfs f4, 0x70(r1) +/* 80345D64 00342CC4 38 80 00 33 */ li r4, 0x33 +/* 80345D68 00342CC8 C0 C1 00 48 */ lfs f6, 0x48(r1) +/* 80345D6C 00342CCC EC A2 0F FA */ fmadds f5, f2, f31, f1 +/* 80345D70 00342CD0 C0 4D 9D 6C */ lfs f2, lbl_805A892C@sda21(r13) +/* 80345D74 00342CD4 38 A0 00 00 */ li r5, 0 +/* 80345D78 00342CD8 C0 2D 9D 70 */ lfs f1, lbl_805A8930@sda21(r13) +/* 80345D7C 00342CDC EC 64 19 BA */ fmadds f3, f4, f6, f3 +/* 80345D80 00342CE0 EC 45 00 B2 */ fmuls f2, f5, f2 +/* 80345D84 00342CE4 EC 25 00 72 */ fmuls f1, f5, f1 +/* 80345D88 00342CE8 C0 A1 00 78 */ lfs f5, 0x78(r1) +/* 80345D8C 00342CEC C0 81 00 50 */ lfs f4, 0x50(r1) +/* 80345D90 00342CF0 EF DE 00 B2 */ fmuls f30, f30, f2 +/* 80345D94 00342CF4 81 2C 00 00 */ lwz r9, 0(r12) +/* 80345D98 00342CF8 EC 45 19 3A */ fmadds f2, f5, f4, f3 +/* 80345D9C 00342CFC EF BD 00 72 */ fmuls f29, f29, f1 +/* 80345DA0 00342D00 81 0C 00 04 */ lwz r8, 4(r12) +/* 80345DA4 00342D04 80 EC 00 0C */ lwz r7, 0xc(r12) +/* 80345DA8 00342D08 80 CC 00 18 */ lwz r6, 0x18(r12) +/* 80345DAC 00342D0C FC 40 10 50 */ fneg f2, f2 +/* 80345DB0 00342D10 C0 22 CB FC */ lfs f1, lbl_805AE91C@sda21(r2) +/* 80345DB4 00342D14 80 0C 00 1C */ lwz r0, 0x1c(r12) +/* 80345DB8 00342D18 EC 9E 01 B2 */ fmuls f4, f30, f6 +/* 80345DBC 00342D1C 91 21 00 E8 */ stw r9, 0xe8(r1) +/* 80345DC0 00342D20 EC 7E 01 F2 */ fmuls f3, f30, f7 +/* 80345DC4 00342D24 81 6C 00 08 */ lwz r11, 8(r12) +/* 80345DC8 00342D28 EC 22 0F BA */ fmadds f1, f2, f30, f1 +/* 80345DCC 00342D2C 91 01 00 EC */ stw r8, 0xec(r1) +/* 80345DD0 00342D30 81 4C 00 10 */ lwz r10, 0x10(r12) +/* 80345DD4 00342D34 EC 00 07 72 */ fmuls f0, f0, f29 +/* 80345DD8 00342D38 90 E1 00 F4 */ stw r7, 0xf4(r1) +/* 80345DDC 00342D3C 81 2C 00 14 */ lwz r9, 0x14(r12) +/* 80345DE0 00342D40 90 C1 01 00 */ stw r6, 0x100(r1) +/* 80345DE4 00342D44 81 0C 00 20 */ lwz r8, 0x20(r12) +/* 80345DE8 00342D48 90 01 01 04 */ stw r0, 0x104(r1) +/* 80345DEC 00342D4C 80 EC 00 24 */ lwz r7, 0x24(r12) +/* 80345DF0 00342D50 80 CC 00 28 */ lwz r6, 0x28(r12) +/* 80345DF4 00342D54 80 0C 00 2C */ lwz r0, 0x2c(r12) +/* 80345DF8 00342D58 91 61 00 F0 */ stw r11, 0xf0(r1) +/* 80345DFC 00342D5C 91 41 00 F8 */ stw r10, 0xf8(r1) +/* 80345E00 00342D60 91 21 00 FC */ stw r9, 0xfc(r1) +/* 80345E04 00342D64 91 01 01 08 */ stw r8, 0x108(r1) +/* 80345E08 00342D68 90 E1 01 0C */ stw r7, 0x10c(r1) +/* 80345E0C 00342D6C 90 C1 01 10 */ stw r6, 0x110(r1) +/* 80345E10 00342D70 90 01 01 14 */ stw r0, 0x114(r1) +/* 80345E14 00342D74 D0 81 00 E8 */ stfs f4, 0xe8(r1) +/* 80345E18 00342D78 D0 61 00 EC */ stfs f3, 0xec(r1) +/* 80345E1C 00342D7C D0 21 00 F4 */ stfs f1, 0xf4(r1) +/* 80345E20 00342D80 D3 A1 01 00 */ stfs f29, 0x100(r1) +/* 80345E24 00342D84 D0 01 01 04 */ stfs f0, 0x104(r1) +/* 80345E28 00342D88 48 03 66 69 */ bl GXLoadTexMtxImm +lbl_80345E2C: +/* 80345E2C 00342D8C E3 E1 01 78 */ psq_l f31, 376(r1), 0, qr0 +/* 80345E30 00342D90 CB E1 01 70 */ lfd f31, 0x170(r1) +/* 80345E34 00342D94 E3 C1 01 68 */ psq_l f30, 360(r1), 0, qr0 +/* 80345E38 00342D98 CB C1 01 60 */ lfd f30, 0x160(r1) +/* 80345E3C 00342D9C E3 A1 01 58 */ psq_l f29, 344(r1), 0, qr0 +/* 80345E40 00342DA0 CB A1 01 50 */ lfd f29, 0x150(r1) +/* 80345E44 00342DA4 83 E1 01 4C */ lwz r31, 0x14c(r1) +/* 80345E48 00342DA8 80 01 01 84 */ lwz r0, 0x184(r1) +/* 80345E4C 00342DAC 83 C1 01 48 */ lwz r30, 0x148(r1) +/* 80345E50 00342DB0 7C 08 03 A6 */ mtlr r0 +/* 80345E54 00342DB4 38 21 01 80 */ addi r1, r1, 0x180 +/* 80345E58 00342DB8 4E 80 00 20 */ blr + +.global SetCurrent__13CCubeMaterialCFRC11CModelFlagsRC12CCubeSurfaceRC10CCubeModel +SetCurrent__13CCubeMaterialCFRC11CModelFlagsRC12CCubeSurfaceRC10CCubeModel: +/* 80345E5C 00342DBC 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 80345E60 00342DC0 7C 08 02 A6 */ mflr r0 +/* 80345E64 00342DC4 90 01 00 84 */ stw r0, 0x84(r1) +/* 80345E68 00342DC8 BE 21 00 44 */ stmw r17, 0x44(r1) +/* 80345E6C 00342DCC 7C 72 1B 78 */ mr r18, r3 +/* 80345E70 00342DD0 7C 9E 23 78 */ mr r30, r4 +/* 80345E74 00342DD4 7C D5 33 78 */ mr r21, r6 +/* 80345E78 00342DD8 80 0D A9 8C */ lwz r0, lbl_805A954C@sda21(r13) +/* 80345E7C 00342DDC 80 E3 00 00 */ lwz r7, 0(r3) +/* 80345E80 00342DE0 7C 07 00 40 */ cmplw r7, r0 +/* 80345E84 00342DE4 40 82 00 38 */ bne lbl_80345EBC +/* 80345E88 00342DE8 80 0D A9 80 */ lwz r0, lbl_805A9540@sda21(r13) +/* 80345E8C 00342DEC 2C 00 00 02 */ cmpwi r0, 2 +/* 80345E90 00342DF0 41 82 00 2C */ beq lbl_80345EBC +/* 80345E94 00342DF4 40 80 07 28 */ bge lbl_803465BC +/* 80345E98 00342DF8 2C 00 00 01 */ cmpwi r0, 1 +/* 80345E9C 00342DFC 40 80 00 08 */ bge lbl_80345EA4 +/* 80345EA0 00342E00 48 00 07 1C */ b lbl_803465BC +lbl_80345EA4: +/* 80345EA4 00342E04 80 6D A9 84 */ lwz r3, lbl_805A9544@sda21(r13) +/* 80345EA8 00342E08 80 0D A9 88 */ lwz r0, lbl_805A9548@sda21(r13) +/* 80345EAC 00342E0C 7C 03 00 40 */ cmplw r3, r0 +/* 80345EB0 00342E10 40 82 00 0C */ bne lbl_80345EBC +/* 80345EB4 00342E14 48 00 07 08 */ b lbl_803465BC +/* 80345EB8 00342E18 48 00 07 04 */ b lbl_803465BC +lbl_80345EBC: +/* 80345EBC 00342E1C 88 0D A9 98 */ lbz r0, lbl_805A9558@sda21(r13) +/* 80345EC0 00342E20 28 00 00 00 */ cmplwi r0, 0 +/* 80345EC4 00342E24 41 82 00 10 */ beq lbl_80345ED4 +/* 80345EC8 00342E28 7E 43 93 78 */ mr r3, r18 +/* 80345ECC 00342E2C 48 00 0B C5 */ bl SetCurrentBlack__13CCubeMaterialCFv +/* 80345ED0 00342E30 48 00 06 EC */ b lbl_803465BC +lbl_80345ED4: +/* 80345ED4 00342E34 82 67 00 00 */ lwz r19, 0(r7) +/* 80345ED8 00342E38 3B A0 00 00 */ li r29, 0 +/* 80345EDC 00342E3C 90 E1 00 3C */ stw r7, 0x3c(r1) +/* 80345EE0 00342E40 3A 20 00 00 */ li r17, 0 +/* 80345EE4 00342E44 72 63 01 40 */ andi. r3, r19, 0x140 +/* 80345EE8 00342E48 83 E7 00 04 */ lwz r31, 4(r7) +/* 80345EEC 00342E4C 7C 03 00 D0 */ neg r0, r3 +/* 80345EF0 00342E50 7C 00 1B 78 */ or r0, r0, r3 +/* 80345EF4 00342E54 54 19 0F FF */ rlwinm. r25, r0, 1, 0x1f, 0x1f +/* 80345EF8 00342E58 41 82 00 24 */ beq lbl_80345F1C +/* 80345EFC 00342E5C 56 60 05 EF */ rlwinm. r0, r19, 0, 0x17, 0x17 +/* 80345F00 00342E60 90 ED A9 8C */ stw r7, lbl_805A954C@sda21(r13) +/* 80345F04 00342E64 92 AD A9 88 */ stw r21, lbl_805A9548@sda21(r13) +/* 80345F08 00342E68 41 82 00 0C */ beq lbl_80345F14 +/* 80345F0C 00342E6C 7C A3 2B 78 */ mr r3, r5 +/* 80345F10 00342E70 48 00 00 08 */ b lbl_80345F18 +lbl_80345F14: +/* 80345F14 00342E74 38 60 00 00 */ li r3, 0 +lbl_80345F18: +/* 80345F18 00342E78 4B FF FA 35 */ bl EnsureViewDepStateCached__13CCubeMaterialFPC12CCubeSurface +lbl_80345F1C: +/* 80345F1C 00342E7C A0 1E 00 02 */ lhz r0, 2(r30) +/* 80345F20 00342E80 80 72 00 00 */ lwz r3, 0(r18) +/* 80345F24 00342E84 54 00 07 7B */ rlwinm. r0, r0, 0, 0x1d, 0x1d +/* 80345F28 00342E88 92 AD A9 88 */ stw r21, lbl_805A9548@sda21(r13) +/* 80345F2C 00342E8C 90 6D A9 8C */ stw r3, lbl_805A954C@sda21(r13) +/* 80345F30 00342E90 40 82 00 5C */ bne lbl_80345F8C +/* 80345F34 00342E94 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 80345F38 00342E98 3A 80 00 00 */ li r20, 0 +/* 80345F3C 00342E9C 82 55 00 1C */ lwz r18, 0x1c(r21) +/* 80345F40 00342EA0 38 03 00 08 */ addi r0, r3, 8 +/* 80345F44 00342EA4 90 01 00 3C */ stw r0, 0x3c(r1) +/* 80345F48 00342EA8 48 00 00 38 */ b lbl_80345F80 +lbl_80345F4C: +/* 80345F4C 00342EAC 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 80345F50 00342EB0 7E 84 A3 78 */ mr r4, r20 +/* 80345F54 00342EB4 80 D2 00 0C */ lwz r6, 0xc(r18) +/* 80345F58 00342EB8 38 A0 00 01 */ li r5, 1 +/* 80345F5C 00342EBC 80 03 00 00 */ lwz r0, 0(r3) +/* 80345F60 00342EC0 1C 60 00 0C */ mulli r3, r0, 0xc +/* 80345F64 00342EC4 38 03 00 08 */ addi r0, r3, 8 +/* 80345F68 00342EC8 7C 66 00 2E */ lwzx r3, r6, r0 +/* 80345F6C 00342ECC 4B FC 97 D1 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode +/* 80345F70 00342ED0 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 80345F74 00342ED4 3A 94 00 01 */ addi r20, r20, 1 +/* 80345F78 00342ED8 38 03 00 04 */ addi r0, r3, 4 +/* 80345F7C 00342EDC 90 01 00 3C */ stw r0, 0x3c(r1) +lbl_80345F80: +/* 80345F80 00342EE0 7C 14 F8 40 */ cmplw r20, r31 +/* 80345F84 00342EE4 41 80 FF C8 */ blt lbl_80345F4C +/* 80345F88 00342EE8 48 00 00 18 */ b lbl_80345FA0 +lbl_80345F8C: +/* 80345F8C 00342EEC 38 1F 00 02 */ addi r0, r31, 2 +/* 80345F90 00342EF0 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 80345F94 00342EF4 54 00 10 3A */ slwi r0, r0, 2 +/* 80345F98 00342EF8 7C 03 02 14 */ add r0, r3, r0 +/* 80345F9C 00342EFC 90 01 00 3C */ stw r0, 0x3c(r1) +lbl_80345FA0: +/* 80345FA0 00342F00 80 0D 9D 68 */ lwz r0, lbl_805A8928@sda21(r13) +/* 80345FA4 00342F04 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 80345FA8 00342F08 2C 00 FF FF */ cmpwi r0, -1 +/* 80345FAC 00342F0C 80 63 00 04 */ lwz r3, 4(r3) +/* 80345FB0 00342F10 41 82 00 18 */ beq lbl_80345FC8 +/* 80345FB4 00342F14 7C 00 18 00 */ cmpw r0, r3 +/* 80345FB8 00342F18 40 82 00 10 */ bne lbl_80345FC8 +/* 80345FBC 00342F1C 80 0D A9 80 */ lwz r0, lbl_805A9540@sda21(r13) +/* 80345FC0 00342F20 2C 00 00 00 */ cmpwi r0, 0 +/* 80345FC4 00342F24 41 82 05 F8 */ beq lbl_803465BC +lbl_80345FC8: +/* 80345FC8 00342F28 90 6D 9D 68 */ stw r3, lbl_805A8928@sda21(r13) +/* 80345FCC 00342F2C 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 80345FD0 00342F30 80 63 00 00 */ lwz r3, 0(r3) +/* 80345FD4 00342F34 4B FC 1F 29 */ bl SetVtxDescv_Compressed__3CGXFUi +/* 80345FD8 00342F38 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 80345FDC 00342F3C 56 64 9F FE */ rlwinm r4, r19, 0x13, 0x1f, 0x1f +/* 80345FE0 00342F40 88 0D A7 82 */ lbz r0, lbl_805A9342@sda21(r13) +/* 80345FE4 00342F44 38 63 00 08 */ addi r3, r3, 8 +/* 80345FE8 00342F48 7C 04 00 40 */ cmplw r4, r0 +/* 80345FEC 00342F4C 90 61 00 3C */ stw r3, 0x3c(r1) +/* 80345FF0 00342F50 41 82 00 0C */ beq lbl_80345FFC +/* 80345FF4 00342F54 7E A3 AB 78 */ mr r3, r21 +/* 80345FF8 00342F58 4B FC 15 61 */ bl SetUsingPackedLightmaps__10CCubeModelCFb +lbl_80345FFC: +/* 80345FFC 00342F5C 3A A0 00 00 */ li r21, 0 +/* 80346000 00342F60 56 60 07 39 */ rlwinm. r0, r19, 0, 0x1c, 0x1c +/* 80346004 00342F64 92 A1 00 38 */ stw r21, 0x38(r1) +/* 80346008 00342F68 41 82 00 7C */ beq lbl_80346084 +/* 8034600C 00342F6C 82 C1 00 3C */ lwz r22, 0x3c(r1) +/* 80346010 00342F70 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80346014 00342F74 3A 40 00 00 */ li r18, 0 +/* 80346018 00342F78 80 16 00 00 */ lwz r0, 0(r22) +/* 8034601C 00342F7C 3A 83 53 EC */ addi r20, r3, lbl_805A53EC@l +/* 80346020 00342F80 90 01 00 38 */ stw r0, 0x38(r1) +/* 80346024 00342F84 48 00 00 40 */ b lbl_80346064 +lbl_80346028: +/* 80346028 00342F88 80 B6 00 04 */ lwz r5, 4(r22) +/* 8034602C 00342F8C 7C 74 AA 14 */ add r3, r20, r21 +/* 80346030 00342F90 84 03 00 58 */ lwzu r0, 0x58(r3) +/* 80346034 00342F94 90 A1 00 14 */ stw r5, 0x14(r1) +/* 80346038 00342F98 7C 00 28 40 */ cmplw r0, r5 +/* 8034603C 00342F9C 90 A1 00 20 */ stw r5, 0x20(r1) +/* 80346040 00342FA0 41 82 00 18 */ beq lbl_80346058 +/* 80346044 00342FA4 90 A3 00 00 */ stw r5, 0(r3) +/* 80346048 00342FA8 7E 43 93 78 */ mr r3, r18 +/* 8034604C 00342FAC 38 81 00 18 */ addi r4, r1, 0x18 +/* 80346050 00342FB0 90 A1 00 18 */ stw r5, 0x18(r1) +/* 80346054 00342FB4 48 03 56 91 */ bl GXSetTevKColor +lbl_80346058: +/* 80346058 00342FB8 3A D6 00 04 */ addi r22, r22, 4 +/* 8034605C 00342FBC 3A 52 00 01 */ addi r18, r18, 1 +/* 80346060 00342FC0 3A B5 00 04 */ addi r21, r21, 4 +lbl_80346064: +/* 80346064 00342FC4 80 61 00 38 */ lwz r3, 0x38(r1) +/* 80346068 00342FC8 7C 12 18 40 */ cmplw r18, r3 +/* 8034606C 00342FCC 41 80 FF BC */ blt lbl_80346028 +/* 80346070 00342FD0 38 03 00 01 */ addi r0, r3, 1 +/* 80346074 00342FD4 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 80346078 00342FD8 54 00 10 3A */ slwi r0, r0, 2 +/* 8034607C 00342FDC 7C 03 02 14 */ add r0, r3, r0 +/* 80346080 00342FE0 90 01 00 3C */ stw r0, 0x3c(r1) +lbl_80346084: +/* 80346084 00342FE4 80 6D A5 F0 */ lwz r3, lbl_805A91B0@sda21(r13) +/* 80346088 00342FE8 80 81 00 3C */ lwz r4, 0x3c(r1) +/* 8034608C 00342FEC 88 03 03 18 */ lbz r0, 0x318(r3) +/* 80346090 00342FF0 83 64 00 00 */ lwz r27, 0(r4) +/* 80346094 00342FF4 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f +/* 80346098 00342FF8 41 82 00 40 */ beq lbl_803460D8 +/* 8034609C 00342FFC 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 803460A0 00343000 3A 43 53 EC */ addi r18, r3, lbl_805A53EC@l +/* 803460A4 00343004 A0 12 00 56 */ lhz r0, 0x56(r18) +/* 803460A8 00343008 28 00 00 25 */ cmplwi r0, 0x25 +/* 803460AC 0034300C 41 82 00 3C */ beq lbl_803460E8 +/* 803460B0 00343010 38 60 00 25 */ li r3, 0x25 +/* 803460B4 00343014 4B D6 E2 C5 */ bl update_fog__3CGXFUi +/* 803460B8 00343018 38 00 00 25 */ li r0, 0x25 +/* 803460BC 0034301C 38 60 00 01 */ li r3, 1 +/* 803460C0 00343020 B0 12 00 56 */ sth r0, 0x56(r18) +/* 803460C4 00343024 38 80 00 01 */ li r4, 1 +/* 803460C8 00343028 38 A0 00 01 */ li r5, 1 +/* 803460CC 0034302C 38 C0 00 00 */ li r6, 0 +/* 803460D0 00343030 48 03 5D DD */ bl GXSetBlendMode +/* 803460D4 00343034 48 00 00 14 */ b lbl_803460E8 +lbl_803460D8: +/* 803460D8 00343038 7F 63 DB 78 */ mr r3, r27 +/* 803460DC 0034303C 7F C4 F3 78 */ mr r4, r30 +/* 803460E0 00343040 56 65 DF FE */ rlwinm r5, r19, 0x1b, 0x1f, 0x1f +/* 803460E4 00343044 48 00 20 29 */ bl SetupBlendMode__13CCubeMaterialFUiRC11CModelFlagsb +lbl_803460E8: +/* 803460E8 00343048 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 803460EC 0034304C 56 7A B7 FF */ rlwinm. r26, r19, 0x16, 0x1f, 0x1f +/* 803460F0 00343050 38 63 00 04 */ addi r3, r3, 4 +/* 803460F4 00343054 90 61 00 3C */ stw r3, 0x3c(r1) +/* 803460F8 00343058 41 82 00 10 */ beq lbl_80346108 +/* 803460FC 0034305C 38 03 00 04 */ addi r0, r3, 4 +/* 80346100 00343060 82 23 00 00 */ lwz r17, 0(r3) +/* 80346104 00343064 90 01 00 3C */ stw r0, 0x3c(r1) +lbl_80346108: +/* 80346108 00343068 A0 7E 00 02 */ lhz r3, 2(r30) +/* 8034610C 0034306C 7E 64 9B 78 */ mr r4, r19 +/* 80346110 00343070 48 00 05 AD */ bl HandleDepth__FUiUi +/* 80346114 00343074 80 A1 00 3C */ lwz r5, 0x3c(r1) +/* 80346118 00343078 80 65 00 00 */ lwz r3, 0(r5) +/* 8034611C 0034307C 80 85 00 04 */ lwz r4, 4(r5) +/* 80346120 00343080 38 03 00 01 */ addi r0, r3, 1 +/* 80346124 00343084 54 00 10 3A */ slwi r0, r0, 2 +/* 80346128 00343088 7C 05 02 14 */ add r0, r5, r0 +/* 8034612C 0034308C 90 01 00 3C */ stw r0, 0x3c(r1) +/* 80346130 00343090 48 00 06 5D */ bl HandleColorChannels__FUiUi +/* 80346134 00343094 88 0D A9 9A */ lbz r0, lbl_805A955A@sda21(r13) +/* 80346138 00343098 7C 78 1B 78 */ mr r24, r3 +/* 8034613C 0034309C 3A 80 00 00 */ li r20, 0 +/* 80346140 003430A0 28 00 00 00 */ cmplwi r0, 0 +/* 80346144 003430A4 41 82 00 08 */ beq lbl_8034614C +/* 80346148 003430A8 3A 80 00 02 */ li r20, 2 +lbl_8034614C: +/* 8034614C 003430AC 80 81 00 3C */ lwz r4, 0x3c(r1) +/* 80346150 003430B0 38 A0 00 00 */ li r5, 0 +/* 80346154 003430B4 80 6D A5 F0 */ lwz r3, lbl_805A91B0@sda21(r13) +/* 80346158 003430B8 3A E0 00 00 */ li r23, 0 +/* 8034615C 003430BC 82 64 00 00 */ lwz r19, 0(r4) +/* 80346160 003430C0 38 C4 00 04 */ addi r6, r4, 4 +/* 80346164 003430C4 90 C1 00 28 */ stw r6, 0x28(r1) +/* 80346168 003430C8 1C 13 00 14 */ mulli r0, r19, 0x14 +/* 8034616C 003430CC 92 61 00 34 */ stw r19, 0x34(r1) +/* 80346170 003430D0 7C 86 02 14 */ add r4, r6, r0 +/* 80346174 003430D4 90 A1 00 30 */ stw r5, 0x30(r1) +/* 80346178 003430D8 90 A1 00 2C */ stw r5, 0x2c(r1) +/* 8034617C 003430DC 88 03 03 18 */ lbz r0, 0x318(r3) +/* 80346180 003430E0 90 C1 00 3C */ stw r6, 0x3c(r1) +/* 80346184 003430E4 54 12 F7 FF */ rlwinm. r18, r0, 0x1e, 0x1f, 0x1f +/* 80346188 003430E8 90 81 00 28 */ stw r4, 0x28(r1) +/* 8034618C 003430EC 41 82 00 88 */ beq lbl_80346214 +/* 80346190 003430F0 38 14 00 01 */ addi r0, r20, 1 +/* 80346194 003430F4 90 81 00 24 */ stw r4, 0x24(r1) +/* 80346198 003430F8 90 01 00 34 */ stw r0, 0x34(r1) +/* 8034619C 003430FC 80 66 00 08 */ lwz r3, 8(r6) +/* 803461A0 00343100 54 60 BF BE */ rlwinm r0, r3, 0x17, 0x1e, 0x1f +/* 803461A4 00343104 90 61 00 30 */ stw r3, 0x30(r1) +/* 803461A8 00343108 28 00 00 01 */ cmplwi r0, 1 +/* 803461AC 0034310C 40 82 00 34 */ bne lbl_803461E0 +/* 803461B0 00343110 80 02 CB C0 */ lwz r0, lbl_805AE8E0@sda21(r2) +/* 803461B4 00343114 38 66 00 14 */ addi r3, r6, 0x14 +/* 803461B8 00343118 38 A4 00 04 */ addi r5, r4, 4 +/* 803461BC 0034311C 90 61 00 3C */ stw r3, 0x3c(r1) +/* 803461C0 00343120 38 81 00 1C */ addi r4, r1, 0x1c +/* 803461C4 00343124 38 60 00 01 */ li r3, 1 +/* 803461C8 00343128 90 A1 00 28 */ stw r5, 0x28(r1) +/* 803461CC 0034312C 90 01 00 1C */ stw r0, 0x1c(r1) +/* 803461D0 00343130 48 03 54 2D */ bl GXSetTevColor +/* 803461D4 00343134 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 803461D8 00343138 80 03 00 08 */ lwz r0, 8(r3) +/* 803461DC 0034313C 90 01 00 30 */ stw r0, 0x30(r1) +lbl_803461E0: +/* 803461E0 00343140 80 81 00 3C */ lwz r4, 0x3c(r1) +/* 803461E4 00343144 7E 83 A3 78 */ mr r3, r20 +/* 803461E8 00343148 80 A1 00 28 */ lwz r5, 0x28(r1) +/* 803461EC 0034314C 80 04 00 0C */ lwz r0, 0xc(r4) +/* 803461F0 00343150 88 CD A9 9A */ lbz r6, lbl_805A955A@sda21(r13) +/* 803461F4 00343154 90 01 00 2C */ stw r0, 0x2c(r1) +/* 803461F8 00343158 48 00 1E 29 */ bl HandleTev__FiPCUiPCUib +/* 803461FC 0034315C 80 61 00 24 */ lwz r3, 0x24(r1) +/* 80346200 00343160 56 60 10 3A */ slwi r0, r19, 2 +/* 80346204 00343164 3A E0 00 00 */ li r23, 0 +/* 80346208 00343168 7C 03 02 14 */ add r0, r3, r0 +/* 8034620C 0034316C 90 01 00 28 */ stw r0, 0x28(r1) +/* 80346210 00343170 48 00 00 8C */ b lbl_8034629C +lbl_80346214: +/* 80346214 00343174 7C 13 A2 14 */ add r0, r19, r20 +/* 80346218 00343178 7E 93 A3 78 */ mr r19, r20 +/* 8034621C 0034317C 90 01 00 34 */ stw r0, 0x34(r1) +/* 80346220 00343180 48 00 00 70 */ b lbl_80346290 +lbl_80346224: +/* 80346224 00343184 88 0D A9 9A */ lbz r0, lbl_805A955A@sda21(r13) +/* 80346228 00343188 7E 63 9B 78 */ mr r3, r19 +/* 8034622C 0034318C 80 81 00 3C */ lwz r4, 0x3c(r1) +/* 80346230 00343190 38 C0 00 00 */ li r6, 0 +/* 80346234 00343194 28 00 00 00 */ cmplwi r0, 0 +/* 80346238 00343198 80 A1 00 28 */ lwz r5, 0x28(r1) +/* 8034623C 0034319C 41 82 00 10 */ beq lbl_8034624C +/* 80346240 003431A0 7C 13 A0 40 */ cmplw r19, r20 +/* 80346244 003431A4 40 82 00 08 */ bne lbl_8034624C +/* 80346248 003431A8 38 C0 00 01 */ li r6, 1 +lbl_8034624C: +/* 8034624C 003431AC 48 00 1D D5 */ bl HandleTev__FiPCUiPCUib +/* 80346250 003431B0 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 80346254 003431B4 80 03 00 08 */ lwz r0, 8(r3) +/* 80346258 003431B8 90 01 00 30 */ stw r0, 0x30(r1) +/* 8034625C 003431BC 54 00 BF BE */ rlwinm r0, r0, 0x17, 0x1e, 0x1f +/* 80346260 003431C0 28 00 00 03 */ cmplwi r0, 3 +/* 80346264 003431C4 80 03 00 0C */ lwz r0, 0xc(r3) +/* 80346268 003431C8 90 01 00 2C */ stw r0, 0x2c(r1) +/* 8034626C 003431CC 40 82 00 08 */ bne lbl_80346274 +/* 80346270 003431D0 3A E0 00 01 */ li r23, 1 +lbl_80346274: +/* 80346274 003431D4 80 81 00 3C */ lwz r4, 0x3c(r1) +/* 80346278 003431D8 3A 73 00 01 */ addi r19, r19, 1 +/* 8034627C 003431DC 80 61 00 28 */ lwz r3, 0x28(r1) +/* 80346280 003431E0 38 84 00 14 */ addi r4, r4, 0x14 +/* 80346284 003431E4 38 03 00 04 */ addi r0, r3, 4 +/* 80346288 003431E8 90 81 00 3C */ stw r4, 0x3c(r1) +/* 8034628C 003431EC 90 01 00 28 */ stw r0, 0x28(r1) +lbl_80346290: +/* 80346290 003431F0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80346294 003431F4 7C 13 00 40 */ cmplw r19, r0 +/* 80346298 003431F8 41 80 FF 8C */ blt lbl_80346224 +lbl_8034629C: +/* 8034629C 003431FC 82 61 00 28 */ lwz r19, 0x28(r1) +/* 803462A0 00343200 28 12 00 00 */ cmplwi r18, 0 +/* 803462A4 00343204 92 61 00 10 */ stw r19, 0x10(r1) +/* 803462A8 00343208 41 82 00 9C */ beq lbl_80346344 +/* 803462AC 0034320C 82 B3 00 00 */ lwz r21, 0(r19) +/* 803462B0 00343210 3B 80 00 02 */ li r28, 2 +/* 803462B4 00343214 28 15 00 02 */ cmplwi r21, 2 +/* 803462B8 00343218 41 81 00 08 */ bgt lbl_803462C0 +/* 803462BC 0034321C 7E BC AB 78 */ mr r28, r21 +lbl_803462C0: +/* 803462C0 00343220 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 803462C4 00343224 82 C1 00 10 */ lwz r22, 0x10(r1) +/* 803462C8 00343228 3A 80 00 00 */ li r20, 0 +/* 803462CC 0034322C 3A 60 00 00 */ li r19, 0 +/* 803462D0 00343230 3A 43 53 EC */ addi r18, r3, lbl_805A53EC@l +/* 803462D4 00343234 48 00 00 50 */ b lbl_80346324 +lbl_803462D8: +/* 803462D8 00343238 7C 72 9A 14 */ add r3, r18, r19 +/* 803462DC 0034323C 80 16 00 04 */ lwz r0, 4(r22) +/* 803462E0 00343240 38 A3 02 28 */ addi r5, r3, 0x228 +/* 803462E4 00343244 80 63 02 28 */ lwz r3, 0x228(r3) +/* 803462E8 00343248 7C 03 00 40 */ cmplw r3, r0 +/* 803462EC 0034324C 41 82 00 2C */ beq lbl_80346318 +/* 803462F0 00343250 54 04 BE FE */ rlwinm r4, r0, 0x17, 0x1b, 0x1f +/* 803462F4 00343254 54 03 8E BE */ rlwinm r3, r0, 0x11, 0x1a, 0x1f +/* 803462F8 00343258 90 05 00 00 */ stw r0, 0(r5) +/* 803462FC 0034325C 38 C4 00 1E */ addi r6, r4, 0x1e +/* 80346300 00343260 39 03 00 40 */ addi r8, r3, 0x40 +/* 80346304 00343264 54 07 97 FE */ rlwinm r7, r0, 0x12, 0x1f, 0x1f +/* 80346308 00343268 7E 83 A3 78 */ mr r3, r20 +/* 8034630C 0034326C 54 04 07 3E */ clrlwi r4, r0, 0x1c +/* 80346310 00343270 54 05 E6 FE */ rlwinm r5, r0, 0x1c, 0x1b, 0x1f +/* 80346314 00343274 48 03 1C 81 */ bl GXSetTexCoordGen2 +lbl_80346318: +/* 80346318 00343278 3A D6 00 04 */ addi r22, r22, 4 +/* 8034631C 0034327C 3A 94 00 01 */ addi r20, r20, 1 +/* 80346320 00343280 3A 73 00 04 */ addi r19, r19, 4 +lbl_80346324: +/* 80346324 00343284 7C 14 E0 40 */ cmplw r20, r28 +/* 80346328 00343288 41 80 FF B0 */ blt lbl_803462D8 +/* 8034632C 0034328C 38 15 00 01 */ addi r0, r21, 1 +/* 80346330 00343290 80 61 00 10 */ lwz r3, 0x10(r1) +/* 80346334 00343294 54 00 10 3A */ slwi r0, r0, 2 +/* 80346338 00343298 7C 03 02 14 */ add r0, r3, r0 +/* 8034633C 0034329C 90 01 00 10 */ stw r0, 0x10(r1) +/* 80346340 003432A0 48 00 00 84 */ b lbl_803463C4 +lbl_80346344: +/* 80346344 003432A4 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80346348 003432A8 83 93 00 00 */ lwz r28, 0(r19) +/* 8034634C 003432AC 3A 80 00 00 */ li r20, 0 +/* 80346350 003432B0 3A A0 00 00 */ li r21, 0 +/* 80346354 003432B4 3A 43 53 EC */ addi r18, r3, lbl_805A53EC@l +/* 80346358 003432B8 48 00 00 50 */ b lbl_803463A8 +lbl_8034635C: +/* 8034635C 003432BC 7C 72 AA 14 */ add r3, r18, r21 +/* 80346360 003432C0 81 33 00 04 */ lwz r9, 4(r19) +/* 80346364 003432C4 38 A3 02 28 */ addi r5, r3, 0x228 +/* 80346368 003432C8 80 03 02 28 */ lwz r0, 0x228(r3) +/* 8034636C 003432CC 7C 00 48 40 */ cmplw r0, r9 +/* 80346370 003432D0 41 82 00 2C */ beq lbl_8034639C +/* 80346374 003432D4 55 24 BE FE */ rlwinm r4, r9, 0x17, 0x1b, 0x1f +/* 80346378 003432D8 55 23 8E BE */ rlwinm r3, r9, 0x11, 0x1a, 0x1f +/* 8034637C 003432DC 91 25 00 00 */ stw r9, 0(r5) +/* 80346380 003432E0 38 C4 00 1E */ addi r6, r4, 0x1e +/* 80346384 003432E4 39 03 00 40 */ addi r8, r3, 0x40 +/* 80346388 003432E8 55 27 97 FE */ rlwinm r7, r9, 0x12, 0x1f, 0x1f +/* 8034638C 003432EC 7E 83 A3 78 */ mr r3, r20 +/* 80346390 003432F0 55 24 07 3E */ clrlwi r4, r9, 0x1c +/* 80346394 003432F4 55 25 E6 FE */ rlwinm r5, r9, 0x1c, 0x1b, 0x1f +/* 80346398 003432F8 48 03 1B FD */ bl GXSetTexCoordGen2 +lbl_8034639C: +/* 8034639C 003432FC 3A 73 00 04 */ addi r19, r19, 4 +/* 803463A0 00343300 3A 94 00 01 */ addi r20, r20, 1 +/* 803463A4 00343304 3A B5 00 04 */ addi r21, r21, 4 +lbl_803463A8: +/* 803463A8 00343308 7C 14 E0 40 */ cmplw r20, r28 +/* 803463AC 0034330C 41 80 FF B0 */ blt lbl_8034635C +/* 803463B0 00343310 38 1C 00 01 */ addi r0, r28, 1 +/* 803463B4 00343314 80 61 00 10 */ lwz r3, 0x10(r1) +/* 803463B8 00343318 54 00 10 3A */ slwi r0, r0, 2 +/* 803463BC 0034331C 7C 03 02 14 */ add r0, r3, r0 +/* 803463C0 00343320 90 01 00 10 */ stw r0, 0x10(r1) +lbl_803463C4: +/* 803463C4 00343324 80 61 00 10 */ lwz r3, 0x10(r1) +/* 803463C8 00343328 3A 60 00 00 */ li r19, 0 +/* 803463CC 0034332C 3A 80 00 1E */ li r20, 0x1e +/* 803463D0 00343330 3A A0 00 40 */ li r21, 0x40 +/* 803463D4 00343334 38 03 00 08 */ addi r0, r3, 8 +/* 803463D8 00343338 82 43 00 04 */ lwz r18, 4(r3) +/* 803463DC 0034333C 90 01 00 10 */ stw r0, 0x10(r1) +/* 803463E0 00343340 48 00 00 38 */ b lbl_80346418 +lbl_803463E4: +/* 803463E4 00343344 80 61 00 10 */ lwz r3, 0x10(r1) +/* 803463E8 00343348 7E 84 A3 78 */ mr r4, r20 +/* 803463EC 0034334C 7E A5 AB 78 */ mr r5, r21 +/* 803463F0 00343350 48 00 15 FD */ bl HandleAnimatedUV__FPCUi9_GXTexMtx11_GXPTTexMtx +/* 803463F4 00343354 2C 03 00 00 */ cmpwi r3, 0 +/* 803463F8 00343358 41 82 00 28 */ beq lbl_80346420 +/* 803463FC 0034335C 80 81 00 10 */ lwz r4, 0x10(r1) +/* 80346400 00343360 54 60 10 3A */ slwi r0, r3, 2 +/* 80346404 00343364 3A 73 00 01 */ addi r19, r19, 1 +/* 80346408 00343368 3A 94 00 03 */ addi r20, r20, 3 +/* 8034640C 0034336C 7C 04 02 14 */ add r0, r4, r0 +/* 80346410 00343370 3A B5 00 03 */ addi r21, r21, 3 +/* 80346414 00343374 90 01 00 10 */ stw r0, 0x10(r1) +lbl_80346418: +/* 80346418 00343378 7C 13 90 40 */ cmplw r19, r18 +/* 8034641C 0034337C 41 80 FF C8 */ blt lbl_803463E4 +lbl_80346420: +/* 80346420 00343380 88 1E 00 00 */ lbz r0, 0(r30) +/* 80346424 00343384 7C 00 07 75 */ extsb. r0, r0 +/* 80346428 00343388 41 82 00 20 */ beq lbl_80346448 +/* 8034642C 0034338C 7F C5 F3 78 */ mr r5, r30 +/* 80346430 00343390 7F 66 DB 78 */ mr r6, r27 +/* 80346434 00343394 38 61 00 34 */ addi r3, r1, 0x34 +/* 80346438 00343398 38 81 00 38 */ addi r4, r1, 0x38 +/* 8034643C 0034339C 38 E1 00 30 */ addi r7, r1, 0x30 +/* 80346440 003433A0 39 01 00 2C */ addi r8, r1, 0x2c +/* 80346444 003433A4 48 00 11 49 */ bl HandleTransparency__FUiUiRC11CModelFlagsRUiRUi +lbl_80346448: +/* 80346448 003433A8 28 19 00 00 */ cmplwi r25, 0 +/* 8034644C 003433AC 41 82 00 C4 */ beq lbl_80346510 +/* 80346450 003433B0 C0 2D A9 90 */ lfs f1, lbl_805A9550@sda21(r13) +/* 80346454 003433B4 C0 02 CB DC */ lfs f0, lbl_805AE8FC@sda21(r2) +/* 80346458 003433B8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8034645C 003433BC 40 81 00 94 */ ble lbl_803464F0 +/* 80346460 003433C0 28 1A 00 00 */ cmplwi r26, 0 +/* 80346464 003433C4 41 82 00 3C */ beq lbl_803464A0 +/* 80346468 003433C8 38 01 00 2C */ addi r0, r1, 0x2c +/* 8034646C 003433CC 7E E3 BB 78 */ mr r3, r23 +/* 80346470 003433D0 90 01 00 08 */ stw r0, 8(r1) +/* 80346474 003433D4 7F E7 FB 78 */ mr r7, r31 +/* 80346478 003433D8 7F 88 E3 78 */ mr r8, r28 +/* 8034647C 003433DC 56 24 07 7E */ clrlwi r4, r17, 0x1d +/* 80346480 003433E0 80 C1 00 34 */ lwz r6, 0x34(r1) +/* 80346484 003433E4 39 41 00 30 */ addi r10, r1, 0x30 +/* 80346488 003433E8 81 21 00 38 */ lwz r9, 0x38(r1) +/* 8034648C 003433EC 38 A0 00 00 */ li r5, 0 +/* 80346490 003433F0 48 00 08 F9 */ bl HandleReflection__13CCubeMaterialFb11_GXTexMapIDiUiUiUiUiRUiRUi +/* 80346494 003433F4 3B A0 00 01 */ li r29, 1 +/* 80346498 003433F8 3B 9C 00 02 */ addi r28, r28, 2 +/* 8034649C 003433FC 48 00 00 34 */ b lbl_803464D0 +lbl_803464A0: +/* 803464A0 00343400 38 01 00 2C */ addi r0, r1, 0x2c +/* 803464A4 00343404 7E E3 BB 78 */ mr r3, r23 +/* 803464A8 00343408 90 01 00 08 */ stw r0, 8(r1) +/* 803464AC 0034340C 7F E7 FB 78 */ mr r7, r31 +/* 803464B0 00343410 7F 88 E3 78 */ mr r8, r28 +/* 803464B4 00343414 39 41 00 30 */ addi r10, r1, 0x30 +/* 803464B8 00343418 80 C1 00 34 */ lwz r6, 0x34(r1) +/* 803464BC 0034341C 38 80 00 FF */ li r4, 0xff +/* 803464C0 00343420 81 21 00 38 */ lwz r9, 0x38(r1) +/* 803464C4 00343424 38 A0 00 00 */ li r5, 0 +/* 803464C8 00343428 48 00 08 C1 */ bl HandleReflection__13CCubeMaterialFb11_GXTexMapIDiUiUiUiUiRUiRUi +/* 803464CC 0034342C 3B 9C 00 01 */ addi r28, r28, 1 +lbl_803464D0: +/* 803464D0 00343430 80 01 00 34 */ lwz r0, 0x34(r1) +/* 803464D4 00343434 3B FF 00 01 */ addi r31, r31, 1 +/* 803464D8 00343438 80 81 00 38 */ lwz r4, 0x38(r1) +/* 803464DC 0034343C 7C 60 1A 14 */ add r3, r0, r3 +/* 803464E0 00343440 38 04 00 01 */ addi r0, r4, 1 +/* 803464E4 00343444 90 61 00 34 */ stw r3, 0x34(r1) +/* 803464E8 00343448 90 01 00 38 */ stw r0, 0x38(r1) +/* 803464EC 0034344C 48 00 00 24 */ b lbl_80346510 +lbl_803464F0: +/* 803464F0 00343450 80 01 00 30 */ lwz r0, 0x30(r1) +/* 803464F4 00343454 54 00 BF BF */ rlwinm. r0, r0, 0x17, 0x1e, 0x1f +/* 803464F8 00343458 41 82 00 18 */ beq lbl_80346510 +/* 803464FC 0034345C 80 61 00 34 */ lwz r3, 0x34(r1) +/* 80346500 00343460 48 00 00 D1 */ bl DoPassthru__FUi +/* 80346504 00343464 80 61 00 34 */ lwz r3, 0x34(r1) +/* 80346508 00343468 38 03 00 01 */ addi r0, r3, 1 +/* 8034650C 0034346C 90 01 00 34 */ stw r0, 0x34(r1) +lbl_80346510: +/* 80346510 00343470 88 0D A9 9A */ lbz r0, lbl_805A955A@sda21(r13) +/* 80346514 00343474 28 00 00 00 */ cmplwi r0, 0 +/* 80346518 00343478 41 82 00 14 */ beq lbl_8034652C +/* 8034651C 0034347C 7F E3 FB 78 */ mr r3, r31 +/* 80346520 00343480 7F 84 E3 78 */ mr r4, r28 +/* 80346524 00343484 48 00 0D 01 */ bl DoModelShadow__FUiUi +/* 80346528 00343488 3B 9C 00 01 */ addi r28, r28, 1 +lbl_8034652C: +/* 8034652C 0034348C 3C 80 80 5A */ lis r4, lbl_805A53EC@ha +/* 80346530 00343490 57 A3 06 3E */ clrlwi r3, r29, 0x18 +/* 80346534 00343494 38 84 53 EC */ addi r4, r4, lbl_805A53EC@l +/* 80346538 00343498 88 04 00 51 */ lbz r0, 0x51(r4) +/* 8034653C 0034349C 7C 00 18 40 */ cmplw r0, r3 +/* 80346540 003434A0 41 82 00 0C */ beq lbl_8034654C +/* 80346544 003434A4 9B A4 00 51 */ stb r29, 0x51(r4) +/* 80346548 003434A8 48 03 4D 71 */ bl GXSetNumIndStages +lbl_8034654C: +/* 8034654C 003434AC 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80346550 003434B0 80 A1 00 34 */ lwz r5, 0x34(r1) +/* 80346554 003434B4 38 83 53 EC */ addi r4, r3, lbl_805A53EC@l +/* 80346558 003434B8 88 04 00 50 */ lbz r0, 0x50(r4) +/* 8034655C 003434BC 54 A3 06 3E */ clrlwi r3, r5, 0x18 +/* 80346560 003434C0 7C 00 18 40 */ cmplw r0, r3 +/* 80346564 003434C4 41 82 00 0C */ beq lbl_80346570 +/* 80346568 003434C8 98 64 00 50 */ stb r3, 0x50(r4) +/* 8034656C 003434CC 48 03 56 61 */ bl GXSetNumTevStages +lbl_80346570: +/* 80346570 003434D0 3C 80 80 5A */ lis r4, lbl_805A53EC@ha +/* 80346574 003434D4 57 83 06 3E */ clrlwi r3, r28, 0x18 +/* 80346578 003434D8 38 84 53 EC */ addi r4, r4, lbl_805A53EC@l +/* 8034657C 003434DC 88 04 00 4F */ lbz r0, 0x4f(r4) +/* 80346580 003434E0 7C 03 00 40 */ cmplw r3, r0 +/* 80346584 003434E4 41 82 00 0C */ beq lbl_80346590 +/* 80346588 003434E8 9B 84 00 4F */ stb r28, 0x4f(r4) +/* 8034658C 003434EC 48 03 1C D9 */ bl GXSetNumTexGens +lbl_80346590: +/* 80346590 003434F0 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80346594 003434F4 57 06 06 3E */ clrlwi r6, r24, 0x18 +/* 80346598 003434F8 38 A3 53 EC */ addi r5, r3, lbl_805A53EC@l +/* 8034659C 003434FC 88 65 00 4D */ lbz r3, 0x4d(r5) +/* 803465A0 00343500 88 05 00 4C */ lbz r0, 0x4c(r5) +/* 803465A4 00343504 7C 86 18 50 */ subf r4, r6, r3 +/* 803465A8 00343508 7C 63 30 50 */ subf r3, r3, r6 +/* 803465AC 0034350C 7C 83 1B 78 */ or r3, r4, r3 +/* 803465B0 00343510 9B 05 00 4E */ stb r24, 0x4e(r5) +/* 803465B4 00343514 50 60 0F FE */ rlwimi r0, r3, 1, 0x1f, 0x1f +/* 803465B8 00343518 98 05 00 4C */ stb r0, 0x4c(r5) +lbl_803465BC: +/* 803465BC 0034351C BA 21 00 44 */ lmw r17, 0x44(r1) +/* 803465C0 00343520 80 01 00 84 */ lwz r0, 0x84(r1) +/* 803465C4 00343524 7C 08 03 A6 */ mtlr r0 +/* 803465C8 00343528 38 21 00 80 */ addi r1, r1, 0x80 +/* 803465CC 0034352C 4E 80 00 20 */ blr + +.global DoPassthru__FUi +DoPassthru__FUi: +/* 803465D0 00343530 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803465D4 00343534 7C 08 02 A6 */ mflr r0 +/* 803465D8 00343538 3C 80 80 5A */ lis r4, lbl_805A53EC@ha +/* 803465DC 0034353C 90 01 00 14 */ stw r0, 0x14(r1) +/* 803465E0 00343540 38 04 53 EC */ addi r0, r4, lbl_805A53EC@l +/* 803465E4 00343544 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803465E8 00343548 93 C1 00 08 */ stw r30, 8(r1) +/* 803465EC 0034354C 7C 7E 1B 78 */ mr r30, r3 +/* 803465F0 00343550 1C BE 00 1C */ mulli r5, r30, 0x1c +/* 803465F4 00343554 7C 80 2A 14 */ add r4, r0, r5 +/* 803465F8 00343558 80 04 00 68 */ lwz r0, 0x68(r4) +/* 803465FC 0034355C 3B E4 00 68 */ addi r31, r4, 0x68 +/* 80346600 00343560 28 00 3D EF */ cmplwi r0, 0x3def +/* 80346604 00343564 41 82 00 20 */ beq lbl_80346624 +/* 80346608 00343568 38 00 3D EF */ li r0, 0x3def +/* 8034660C 0034356C 38 80 00 0F */ li r4, 0xf +/* 80346610 00343570 90 1F 00 00 */ stw r0, 0(r31) +/* 80346614 00343574 38 A0 00 0F */ li r5, 0xf +/* 80346618 00343578 38 C0 00 0F */ li r6, 0xf +/* 8034661C 0034357C 38 E0 00 00 */ li r7, 0 +/* 80346620 00343580 48 03 4E 85 */ bl GXSetTevColorIn +lbl_80346624: +/* 80346624 00343584 80 1F 00 04 */ lwz r0, 4(r31) +/* 80346628 00343588 28 00 1C E7 */ cmplwi r0, 0x1ce7 +/* 8034662C 0034358C 41 82 00 24 */ beq lbl_80346650 +/* 80346630 00343590 38 00 1C E7 */ li r0, 0x1ce7 +/* 80346634 00343594 7F C3 F3 78 */ mr r3, r30 +/* 80346638 00343598 90 1F 00 04 */ stw r0, 4(r31) +/* 8034663C 0034359C 38 80 00 07 */ li r4, 7 +/* 80346640 003435A0 38 A0 00 07 */ li r5, 7 +/* 80346644 003435A4 38 C0 00 07 */ li r6, 7 +/* 80346648 003435A8 38 E0 00 00 */ li r7, 0 +/* 8034664C 003435AC 48 03 4E 9D */ bl GXSetTevAlphaIn +lbl_80346650: +/* 80346650 003435B0 80 7F 00 14 */ lwz r3, 0x14(r31) +/* 80346654 003435B4 3C 03 FF 01 */ addis r0, r3, 0xff01 +/* 80346658 003435B8 28 00 FF FF */ cmplwi r0, 0xffff +/* 8034665C 003435BC 41 82 00 24 */ beq lbl_80346680 +/* 80346660 003435C0 3C 80 01 00 */ lis r4, 0x00FFFFFF@ha +/* 80346664 003435C4 7F C3 F3 78 */ mr r3, r30 +/* 80346668 003435C8 38 04 FF FF */ addi r0, r4, 0x00FFFFFF@l +/* 8034666C 003435CC 38 80 00 FF */ li r4, 0xff +/* 80346670 003435D0 90 1F 00 14 */ stw r0, 0x14(r31) +/* 80346674 003435D4 38 A0 00 FF */ li r5, 0xff +/* 80346678 003435D8 38 C0 00 FF */ li r6, 0xff +/* 8034667C 003435DC 48 03 53 79 */ bl GXSetTevOrder +lbl_80346680: +/* 80346680 003435E0 80 1F 00 10 */ lwz r0, 0x10(r31) +/* 80346684 003435E4 28 00 00 00 */ cmplwi r0, 0 +/* 80346688 003435E8 41 82 00 14 */ beq lbl_8034669C +/* 8034668C 003435EC 38 00 00 00 */ li r0, 0 +/* 80346690 003435F0 7F C3 F3 78 */ mr r3, r30 +/* 80346694 003435F4 90 1F 00 10 */ stw r0, 0x10(r31) +/* 80346698 003435F8 48 03 4C 49 */ bl GXSetTevDirect +lbl_8034669C: +/* 8034669C 003435FC 7F C3 F3 78 */ mr r3, r30 +/* 803466A0 00343600 4B FC 15 B1 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID +/* 803466A4 00343604 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803466A8 00343608 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803466AC 0034360C 83 C1 00 08 */ lwz r30, 8(r1) +/* 803466B0 00343610 7C 08 03 A6 */ mtlr r0 +/* 803466B4 00343614 38 21 00 10 */ addi r1, r1, 0x10 +/* 803466B8 00343618 4E 80 00 20 */ blr + +.global HandleDepth__FUiUi +HandleDepth__FUiUi: +/* 803466BC 0034361C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803466C0 00343620 7C 08 02 A6 */ mflr r0 +/* 803466C4 00343624 7C 87 23 78 */ mr r7, r4 +/* 803466C8 00343628 90 01 00 14 */ stw r0, 0x14(r1) +/* 803466CC 0034362C 54 60 07 FF */ clrlwi. r0, r3, 0x1f +/* 803466D0 00343630 40 82 00 0C */ bne lbl_803466DC +/* 803466D4 00343634 38 80 00 07 */ li r4, 7 +/* 803466D8 00343638 48 00 00 38 */ b lbl_80346710 +lbl_803466DC: +/* 803466DC 0034363C 54 60 07 39 */ rlwinm. r0, r3, 0, 0x1c, 0x1c +/* 803466E0 00343640 41 82 00 1C */ beq lbl_803466FC +/* 803466E4 00343644 54 60 06 F7 */ rlwinm. r0, r3, 0, 0x1b, 0x1b +/* 803466E8 00343648 41 82 00 0C */ beq lbl_803466F4 +/* 803466EC 0034364C 38 80 00 04 */ li r4, 4 +/* 803466F0 00343650 48 00 00 20 */ b lbl_80346710 +lbl_803466F4: +/* 803466F4 00343654 38 80 00 06 */ li r4, 6 +/* 803466F8 00343658 48 00 00 18 */ b lbl_80346710 +lbl_803466FC: +/* 803466FC 0034365C 54 60 06 F7 */ rlwinm. r0, r3, 0, 0x1b, 0x1b +/* 80346700 00343660 41 82 00 0C */ beq lbl_8034670C +/* 80346704 00343664 38 80 00 01 */ li r4, 1 +/* 80346708 00343668 48 00 00 08 */ b lbl_80346710 +lbl_8034670C: +/* 8034670C 0034366C 38 80 00 03 */ li r4, 3 +lbl_80346710: +/* 80346710 00343670 54 66 07 BC */ rlwinm r6, r3, 0, 0x1e, 0x1e +/* 80346714 00343674 54 85 15 BA */ rlwinm r5, r4, 2, 0x16, 0x1d +/* 80346718 00343678 28 06 00 02 */ cmplwi r6, 2 +/* 8034671C 0034367C 38 60 00 00 */ li r3, 0 +/* 80346720 00343680 40 82 00 10 */ bne lbl_80346730 +/* 80346724 00343684 54 E0 06 31 */ rlwinm. r0, r7, 0, 0x18, 0x18 +/* 80346728 00343688 41 82 00 08 */ beq lbl_80346730 +/* 8034672C 0034368C 38 60 00 01 */ li r3, 1 +lbl_80346730: +/* 80346730 00343690 54 60 0D FC */ rlwinm r0, r3, 1, 0x17, 0x1e +/* 80346734 00343694 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80346738 00343698 60 00 00 01 */ ori r0, r0, 1 +/* 8034673C 0034369C 7C A5 03 78 */ or r5, r5, r0 +/* 80346740 003436A0 38 63 53 EC */ addi r3, r3, lbl_805A53EC@l +/* 80346744 003436A4 88 03 00 52 */ lbz r0, 0x52(r3) +/* 80346748 003436A8 54 A5 06 3E */ clrlwi r5, r5, 0x18 +/* 8034674C 003436AC 7C 05 00 40 */ cmplw r5, r0 +/* 80346750 003436B0 41 82 00 2C */ beq lbl_8034677C +/* 80346754 003436B4 28 06 00 02 */ cmplwi r6, 2 +/* 80346758 003436B8 98 A3 00 52 */ stb r5, 0x52(r3) +/* 8034675C 003436BC 38 60 00 01 */ li r3, 1 +/* 80346760 003436C0 38 A0 00 00 */ li r5, 0 +/* 80346764 003436C4 40 82 00 10 */ bne lbl_80346774 +/* 80346768 003436C8 54 E0 06 31 */ rlwinm. r0, r7, 0, 0x18, 0x18 +/* 8034676C 003436CC 41 82 00 08 */ beq lbl_80346774 +/* 80346770 003436D0 38 A0 00 01 */ li r5, 1 +lbl_80346774: +/* 80346774 003436D4 54 A5 06 3E */ clrlwi r5, r5, 0x18 +/* 80346778 003436D8 48 03 57 E1 */ bl GXSetZMode +lbl_8034677C: +/* 8034677C 003436DC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80346780 003436E0 7C 08 03 A6 */ mtlr r0 +/* 80346784 003436E4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80346788 003436E8 4E 80 00 20 */ blr + +.global HandleColorChannels__FUiUi +HandleColorChannels__FUiUi: +/* 8034678C 003436EC 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80346790 003436F0 7C 08 02 A6 */ mflr r0 +/* 80346794 003436F4 90 01 00 44 */ stw r0, 0x44(r1) +/* 80346798 003436F8 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 8034679C 003436FC 7C 9F 23 78 */ mr r31, r4 +/* 803467A0 00343700 93 C1 00 38 */ stw r30, 0x38(r1) +/* 803467A4 00343704 7C 7E 1B 78 */ mr r30, r3 +/* 803467A8 00343708 93 A1 00 34 */ stw r29, 0x34(r1) +/* 803467AC 0034370C 88 0D A9 9A */ lbz r0, lbl_805A955A@sda21(r13) +/* 803467B0 00343710 28 00 00 00 */ cmplwi r0, 0 +/* 803467B4 00343714 41 82 01 5C */ beq lbl_80346910 +/* 803467B8 00343718 28 1E 00 00 */ cmplwi r30, 0 +/* 803467BC 0034371C 41 82 01 4C */ beq lbl_80346908 +/* 803467C0 00343720 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 803467C4 00343724 80 A2 CB B8 */ lwz r5, lbl_805AE8D8@sda21(r2) +/* 803467C8 00343728 3B A3 53 EC */ addi r29, r3, lbl_805A53EC@l +/* 803467CC 0034372C 80 1D 00 3C */ lwz r0, 0x3c(r29) +/* 803467D0 00343730 7C 05 00 40 */ cmplw r5, r0 +/* 803467D4 00343734 41 82 00 18 */ beq lbl_803467EC +/* 803467D8 00343738 90 BD 00 3C */ stw r5, 0x3c(r29) +/* 803467DC 0034373C 38 81 00 24 */ addi r4, r1, 0x24 +/* 803467E0 00343740 38 60 00 05 */ li r3, 5 +/* 803467E4 00343744 90 A1 00 24 */ stw r5, 0x24(r1) +/* 803467E8 00343748 48 03 31 61 */ bl GXSetChanAmbColor +lbl_803467EC: +/* 803467EC 0034374C 80 A2 CB BC */ lwz r5, lbl_805AE8DC@sda21(r2) +/* 803467F0 00343750 80 1D 00 44 */ lwz r0, 0x44(r29) +/* 803467F4 00343754 7C 05 00 40 */ cmplw r5, r0 +/* 803467F8 00343758 41 82 00 18 */ beq lbl_80346810 +/* 803467FC 0034375C 90 BD 00 44 */ stw r5, 0x44(r29) +/* 80346800 00343760 38 81 00 20 */ addi r4, r1, 0x20 +/* 80346804 00343764 38 60 00 05 */ li r3, 5 +/* 80346808 00343768 90 A1 00 20 */ stw r5, 0x20(r1) +/* 8034680C 0034376C 48 03 32 31 */ bl GXSetChanMatColor +lbl_80346810: +/* 80346810 00343770 89 2D A9 A1 */ lbz r9, lbl_805A9561@sda21(r13) +/* 80346814 00343774 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80346818 00343778 38 E3 53 EC */ addi r7, r3, lbl_805A53EC@l +/* 8034681C 0034377C 38 00 00 01 */ li r0, 1 +/* 80346820 00343780 2C 09 00 00 */ cmpwi r9, 0 +/* 80346824 00343784 A1 07 00 32 */ lhz r8, 0x32(r7) +/* 80346828 00343788 40 82 00 08 */ bne lbl_80346830 +/* 8034682C 0034378C 38 00 00 00 */ li r0, 0 +lbl_80346830: +/* 80346830 00343790 54 05 07 FE */ clrlwi r5, r0, 0x1f +/* 80346834 00343794 88 6D A8 16 */ lbz r3, lbl_805A93D6@sda21(r13) +/* 80346838 00343798 88 0D A9 A0 */ lbz r0, lbl_805A9560@sda21(r13) +/* 8034683C 0034379C 51 25 1D 78 */ rlwimi r5, r9, 3, 0x15, 0x1c +/* 80346840 003437A0 3C 80 80 5A */ lis r4, lbl_805A53EC@ha +/* 80346844 003437A4 60 A5 30 00 */ ori r5, r5, 0x3000 +/* 80346848 003437A8 7C 60 00 78 */ andc r0, r3, r0 +/* 8034684C 003437AC 38 C4 53 EC */ addi r6, r4, lbl_805A53EC@l +/* 80346850 003437B0 B0 A7 00 36 */ sth r5, 0x36(r7) +/* 80346854 003437B4 54 09 06 3F */ clrlwi. r9, r0, 0x18 +/* 80346858 003437B8 7C 65 40 50 */ subf r3, r5, r8 +/* 8034685C 003437BC 7C 08 28 50 */ subf r0, r8, r5 +/* 80346860 003437C0 88 86 00 4C */ lbz r4, 0x4c(r6) +/* 80346864 003437C4 7C 60 03 78 */ or r0, r3, r0 +/* 80346868 003437C8 A0 66 00 30 */ lhz r3, 0x30(r6) +/* 8034686C 003437CC 50 04 1F 7A */ rlwimi r4, r0, 3, 0x1d, 0x1d +/* 80346870 003437D0 57 E5 00 3C */ rlwinm r5, r31, 0, 0, 0x1e +/* 80346874 003437D4 98 86 00 4C */ stb r4, 0x4c(r6) +/* 80346878 003437D8 41 82 00 0C */ beq lbl_80346884 +/* 8034687C 003437DC 55 20 1D 78 */ rlwinm r0, r9, 3, 0x15, 0x1c +/* 80346880 003437E0 7F E5 03 78 */ or r5, r31, r0 +lbl_80346884: +/* 80346884 003437E4 7C 85 18 50 */ subf r4, r5, r3 +/* 80346888 003437E8 7C 63 28 50 */ subf r3, r3, r5 +/* 8034688C 003437EC 88 06 00 4C */ lbz r0, 0x4c(r6) +/* 80346890 003437F0 7C 83 1B 78 */ or r3, r4, r3 +/* 80346894 003437F4 50 60 17 BC */ rlwimi r0, r3, 2, 0x1e, 0x1e +/* 80346898 003437F8 28 09 00 00 */ cmplwi r9, 0 +/* 8034689C 003437FC B0 A6 00 34 */ sth r5, 0x34(r6) +/* 803468A0 00343800 98 06 00 4C */ stb r0, 0x4c(r6) +/* 803468A4 00343804 41 82 00 34 */ beq lbl_803468D8 +/* 803468A8 00343808 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 803468AC 0034380C 80 A2 CB BC */ lwz r5, lbl_805AE8DC@sda21(r2) +/* 803468B0 00343810 38 63 53 EC */ addi r3, r3, lbl_805A53EC@l +/* 803468B4 00343814 80 03 00 40 */ lwz r0, 0x40(r3) +/* 803468B8 00343818 7C 05 00 40 */ cmplw r5, r0 +/* 803468BC 0034381C 41 82 00 4C */ beq lbl_80346908 +/* 803468C0 00343820 90 A3 00 40 */ stw r5, 0x40(r3) +/* 803468C4 00343824 38 81 00 1C */ addi r4, r1, 0x1c +/* 803468C8 00343828 38 60 00 04 */ li r3, 4 +/* 803468CC 0034382C 90 A1 00 1C */ stw r5, 0x1c(r1) +/* 803468D0 00343830 48 03 31 6D */ bl GXSetChanMatColor +/* 803468D4 00343834 48 00 00 34 */ b lbl_80346908 +lbl_803468D8: +/* 803468D8 00343838 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 803468DC 0034383C 38 63 53 EC */ addi r3, r3, lbl_805A53EC@l +/* 803468E0 00343840 80 A3 00 38 */ lwz r5, 0x38(r3) +/* 803468E4 00343844 80 03 00 40 */ lwz r0, 0x40(r3) +/* 803468E8 00343848 90 A1 00 2C */ stw r5, 0x2c(r1) +/* 803468EC 0034384C 7C 05 00 40 */ cmplw r5, r0 +/* 803468F0 00343850 41 82 00 18 */ beq lbl_80346908 +/* 803468F4 00343854 90 A3 00 40 */ stw r5, 0x40(r3) +/* 803468F8 00343858 38 81 00 18 */ addi r4, r1, 0x18 +/* 803468FC 0034385C 38 60 00 04 */ li r3, 4 +/* 80346900 00343860 90 A1 00 18 */ stw r5, 0x18(r1) +/* 80346904 00343864 48 03 31 39 */ bl GXSetChanMatColor +lbl_80346908: +/* 80346908 00343868 38 60 00 02 */ li r3, 2 +/* 8034690C 0034386C 48 00 01 68 */ b lbl_80346A74 +lbl_80346910: +/* 80346910 00343870 28 1E 00 02 */ cmplwi r30, 2 +/* 80346914 00343874 40 82 00 58 */ bne lbl_8034696C +/* 80346918 00343878 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 8034691C 0034387C 80 A2 CB B8 */ lwz r5, lbl_805AE8D8@sda21(r2) +/* 80346920 00343880 3B A3 53 EC */ addi r29, r3, lbl_805A53EC@l +/* 80346924 00343884 80 1D 00 3C */ lwz r0, 0x3c(r29) +/* 80346928 00343888 7C 05 00 40 */ cmplw r5, r0 +/* 8034692C 0034388C 41 82 00 18 */ beq lbl_80346944 +/* 80346930 00343890 90 BD 00 3C */ stw r5, 0x3c(r29) +/* 80346934 00343894 38 81 00 14 */ addi r4, r1, 0x14 +/* 80346938 00343898 38 60 00 05 */ li r3, 5 +/* 8034693C 0034389C 90 A1 00 14 */ stw r5, 0x14(r1) +/* 80346940 003438A0 48 03 30 09 */ bl GXSetChanAmbColor +lbl_80346944: +/* 80346944 003438A4 80 A2 CB BC */ lwz r5, lbl_805AE8DC@sda21(r2) +/* 80346948 003438A8 80 1D 00 44 */ lwz r0, 0x44(r29) +/* 8034694C 003438AC 7C 05 00 40 */ cmplw r5, r0 +/* 80346950 003438B0 41 82 00 48 */ beq lbl_80346998 +/* 80346954 003438B4 90 BD 00 44 */ stw r5, 0x44(r29) +/* 80346958 003438B8 38 81 00 10 */ addi r4, r1, 0x10 +/* 8034695C 003438BC 38 60 00 05 */ li r3, 5 +/* 80346960 003438C0 90 A1 00 10 */ stw r5, 0x10(r1) +/* 80346964 003438C4 48 03 30 D9 */ bl GXSetChanMatColor +/* 80346968 003438C8 48 00 00 30 */ b lbl_80346998 +lbl_8034696C: +/* 8034696C 003438CC 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80346970 003438D0 38 A0 40 00 */ li r5, 0x4000 +/* 80346974 003438D4 38 C3 53 EC */ addi r6, r3, lbl_805A53EC@l +/* 80346978 003438D8 A0 66 00 32 */ lhz r3, 0x32(r6) +/* 8034697C 003438DC 88 06 00 4C */ lbz r0, 0x4c(r6) +/* 80346980 003438E0 38 83 C0 00 */ addi r4, r3, -16384 +/* 80346984 003438E4 20 63 40 00 */ subfic r3, r3, 0x4000 +/* 80346988 003438E8 7C 83 1B 78 */ or r3, r4, r3 +/* 8034698C 003438EC B0 A6 00 36 */ sth r5, 0x36(r6) +/* 80346990 003438F0 50 60 1F 7A */ rlwimi r0, r3, 3, 0x1d, 0x1d +/* 80346994 003438F4 98 06 00 4C */ stb r0, 0x4c(r6) +lbl_80346998: +/* 80346998 003438F8 28 1E 00 01 */ cmplwi r30, 1 +/* 8034699C 003438FC 41 80 00 A8 */ blt lbl_80346A44 +/* 803469A0 00343900 88 8D A8 16 */ lbz r4, lbl_805A93D6@sda21(r13) +/* 803469A4 00343904 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 803469A8 00343908 39 03 53 EC */ addi r8, r3, lbl_805A53EC@l +/* 803469AC 0034390C 57 E7 00 3C */ rlwinm r7, r31, 0, 0, 0x1e +/* 803469B0 00343910 2C 04 00 00 */ cmpwi r4, 0 +/* 803469B4 00343914 A1 28 00 30 */ lhz r9, 0x30(r8) +/* 803469B8 00343918 41 82 00 0C */ beq lbl_803469C4 +/* 803469BC 0034391C 54 80 1D 78 */ rlwinm r0, r4, 3, 0x15, 0x1c +/* 803469C0 00343920 7F E7 03 78 */ or r7, r31, r0 +lbl_803469C4: +/* 803469C4 00343924 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 803469C8 00343928 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 803469CC 0034392C 38 C3 53 EC */ addi r6, r3, lbl_805A53EC@l +/* 803469D0 00343930 7C A7 48 50 */ subf r5, r7, r9 +/* 803469D4 00343934 7C 89 38 50 */ subf r4, r9, r7 +/* 803469D8 00343938 88 66 00 4C */ lbz r3, 0x4c(r6) +/* 803469DC 0034393C 7C A4 23 78 */ or r4, r5, r4 +/* 803469E0 00343940 B0 E8 00 34 */ sth r7, 0x34(r8) +/* 803469E4 00343944 50 83 17 BC */ rlwimi r3, r4, 2, 0x1e, 0x1e +/* 803469E8 00343948 98 66 00 4C */ stb r3, 0x4c(r6) +/* 803469EC 0034394C 41 82 00 2C */ beq lbl_80346A18 +/* 803469F0 00343950 80 A2 CB BC */ lwz r5, lbl_805AE8DC@sda21(r2) +/* 803469F4 00343954 80 06 00 40 */ lwz r0, 0x40(r6) +/* 803469F8 00343958 7C 05 00 40 */ cmplw r5, r0 +/* 803469FC 0034395C 41 82 00 74 */ beq lbl_80346A70 +/* 80346A00 00343960 90 A6 00 40 */ stw r5, 0x40(r6) +/* 80346A04 00343964 38 81 00 0C */ addi r4, r1, 0xc +/* 80346A08 00343968 38 60 00 04 */ li r3, 4 +/* 80346A0C 0034396C 90 A1 00 0C */ stw r5, 0xc(r1) +/* 80346A10 00343970 48 03 30 2D */ bl GXSetChanMatColor +/* 80346A14 00343974 48 00 00 5C */ b lbl_80346A70 +lbl_80346A18: +/* 80346A18 00343978 80 A6 00 38 */ lwz r5, 0x38(r6) +/* 80346A1C 0034397C 80 06 00 40 */ lwz r0, 0x40(r6) +/* 80346A20 00343980 90 A1 00 28 */ stw r5, 0x28(r1) +/* 80346A24 00343984 7C 05 00 40 */ cmplw r5, r0 +/* 80346A28 00343988 41 82 00 48 */ beq lbl_80346A70 +/* 80346A2C 0034398C 90 A6 00 40 */ stw r5, 0x40(r6) +/* 80346A30 00343990 38 81 00 08 */ addi r4, r1, 8 +/* 80346A34 00343994 38 60 00 04 */ li r3, 4 +/* 80346A38 00343998 90 A1 00 08 */ stw r5, 8(r1) +/* 80346A3C 0034399C 48 03 30 01 */ bl GXSetChanMatColor +/* 80346A40 003439A0 48 00 00 30 */ b lbl_80346A70 +lbl_80346A44: +/* 80346A44 003439A4 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80346A48 003439A8 38 A0 40 00 */ li r5, 0x4000 +/* 80346A4C 003439AC 38 C3 53 EC */ addi r6, r3, lbl_805A53EC@l +/* 80346A50 003439B0 A0 66 00 30 */ lhz r3, 0x30(r6) +/* 80346A54 003439B4 88 06 00 4C */ lbz r0, 0x4c(r6) +/* 80346A58 003439B8 38 83 C0 00 */ addi r4, r3, -16384 +/* 80346A5C 003439BC 20 63 40 00 */ subfic r3, r3, 0x4000 +/* 80346A60 003439C0 7C 83 1B 78 */ or r3, r4, r3 +/* 80346A64 003439C4 B0 A6 00 34 */ sth r5, 0x34(r6) +/* 80346A68 003439C8 50 60 17 BC */ rlwimi r0, r3, 2, 0x1e, 0x1e +/* 80346A6C 003439CC 98 06 00 4C */ stb r0, 0x4c(r6) +lbl_80346A70: +/* 80346A70 003439D0 7F C3 F3 78 */ mr r3, r30 +lbl_80346A74: +/* 80346A74 003439D4 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80346A78 003439D8 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80346A7C 003439DC 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 80346A80 003439E0 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 80346A84 003439E4 7C 08 03 A6 */ mtlr r0 +/* 80346A88 003439E8 38 21 00 40 */ addi r1, r1, 0x40 +/* 80346A8C 003439EC 4E 80 00 20 */ blr + +.global SetCurrentBlack__13CCubeMaterialCFv +SetCurrentBlack__13CCubeMaterialCFv: +/* 80346A90 003439F0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80346A94 003439F4 7C 08 02 A6 */ mflr r0 +/* 80346A98 003439F8 90 01 00 14 */ stw r0, 0x14(r1) +/* 80346A9C 003439FC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80346AA0 00343A00 93 C1 00 08 */ stw r30, 8(r1) +/* 80346AA4 00343A04 80 83 00 00 */ lwz r4, 0(r3) +/* 80346AA8 00343A08 80 64 00 04 */ lwz r3, 4(r4) +/* 80346AAC 00343A0C 80 04 00 00 */ lwz r0, 0(r4) +/* 80346AB0 00343A10 54 63 10 3A */ slwi r3, r3, 2 +/* 80346AB4 00343A14 7C 64 1A 14 */ add r3, r4, r3 +/* 80346AB8 00343A18 54 00 06 B7 */ rlwinm. r0, r0, 0, 0x1a, 0x1b +/* 80346ABC 00343A1C 83 C3 00 08 */ lwz r30, 8(r3) +/* 80346AC0 00343A20 41 82 00 40 */ beq lbl_80346B00 +/* 80346AC4 00343A24 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80346AC8 00343A28 3B E3 53 EC */ addi r31, r3, lbl_805A53EC@l +/* 80346ACC 00343A2C A0 1F 00 56 */ lhz r0, 0x56(r31) +/* 80346AD0 00343A30 28 00 00 21 */ cmplwi r0, 0x21 +/* 80346AD4 00343A34 41 82 00 64 */ beq lbl_80346B38 +/* 80346AD8 00343A38 38 60 00 21 */ li r3, 0x21 +/* 80346ADC 00343A3C 4B D6 D8 9D */ bl update_fog__3CGXFUi +/* 80346AE0 00343A40 38 00 00 21 */ li r0, 0x21 +/* 80346AE4 00343A44 38 60 00 01 */ li r3, 1 +/* 80346AE8 00343A48 B0 1F 00 56 */ sth r0, 0x56(r31) +/* 80346AEC 00343A4C 38 80 00 00 */ li r4, 0 +/* 80346AF0 00343A50 38 A0 00 01 */ li r5, 1 +/* 80346AF4 00343A54 38 C0 00 00 */ li r6, 0 +/* 80346AF8 00343A58 48 03 53 B5 */ bl GXSetBlendMode +/* 80346AFC 00343A5C 48 00 00 3C */ b lbl_80346B38 +lbl_80346B00: +/* 80346B00 00343A60 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80346B04 00343A64 3B E3 53 EC */ addi r31, r3, lbl_805A53EC@l +/* 80346B08 00343A68 A0 1F 00 56 */ lhz r0, 0x56(r31) +/* 80346B0C 00343A6C 28 00 00 05 */ cmplwi r0, 5 +/* 80346B10 00343A70 41 82 00 28 */ beq lbl_80346B38 +/* 80346B14 00343A74 38 60 00 05 */ li r3, 5 +/* 80346B18 00343A78 4B D6 D8 61 */ bl update_fog__3CGXFUi +/* 80346B1C 00343A7C 38 00 00 05 */ li r0, 5 +/* 80346B20 00343A80 38 60 00 01 */ li r3, 1 +/* 80346B24 00343A84 B0 1F 00 56 */ sth r0, 0x56(r31) +/* 80346B28 00343A88 38 80 00 01 */ li r4, 1 +/* 80346B2C 00343A8C 38 A0 00 00 */ li r5, 0 +/* 80346B30 00343A90 38 C0 00 00 */ li r6, 0 +/* 80346B34 00343A94 48 03 53 79 */ bl GXSetBlendMode +lbl_80346B38: +/* 80346B38 00343A98 7F C3 F3 78 */ mr r3, r30 +/* 80346B3C 00343A9C 4B FC 13 C1 */ bl SetVtxDescv_Compressed__3CGXFUi +/* 80346B40 00343AA0 88 0D A9 99 */ lbz r0, lbl_805A9559@sda21(r13) +/* 80346B44 00343AA4 38 E0 00 0F */ li r7, 0xf +/* 80346B48 00343AA8 28 00 00 00 */ cmplwi r0, 0 +/* 80346B4C 00343AAC 41 82 00 08 */ beq lbl_80346B54 +/* 80346B50 00343AB0 38 E0 00 0C */ li r7, 0xc +lbl_80346B54: +/* 80346B54 00343AB4 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80346B58 00343AB8 54 E4 7B 20 */ rlwinm r4, r7, 0xf, 0xc, 0x10 +/* 80346B5C 00343ABC 3B E3 53 EC */ addi r31, r3, lbl_805A53EC@l +/* 80346B60 00343AC0 80 1F 00 68 */ lwz r0, 0x68(r31) +/* 80346B64 00343AC4 60 83 3D EF */ ori r3, r4, 0x3def +/* 80346B68 00343AC8 7C 03 00 40 */ cmplw r3, r0 +/* 80346B6C 00343ACC 41 82 00 1C */ beq lbl_80346B88 +/* 80346B70 00343AD0 90 7F 00 68 */ stw r3, 0x68(r31) +/* 80346B74 00343AD4 38 60 00 00 */ li r3, 0 +/* 80346B78 00343AD8 38 80 00 0F */ li r4, 0xf +/* 80346B7C 00343ADC 38 A0 00 0F */ li r5, 0xf +/* 80346B80 00343AE0 38 C0 00 0F */ li r6, 0xf +/* 80346B84 00343AE4 48 03 49 21 */ bl GXSetTevColorIn +lbl_80346B88: +/* 80346B88 00343AE8 88 0D A9 99 */ lbz r0, lbl_805A9559@sda21(r13) +/* 80346B8C 00343AEC 38 E0 00 07 */ li r7, 7 +/* 80346B90 00343AF0 28 00 00 00 */ cmplwi r0, 0 +/* 80346B94 00343AF4 41 82 00 08 */ beq lbl_80346B9C +/* 80346B98 00343AF8 38 E0 00 06 */ li r7, 6 +lbl_80346B9C: +/* 80346B9C 00343AFC 54 E3 7B 20 */ rlwinm r3, r7, 0xf, 0xc, 0x10 +/* 80346BA0 00343B00 80 1F 00 6C */ lwz r0, 0x6c(r31) +/* 80346BA4 00343B04 60 63 1C E7 */ ori r3, r3, 0x1ce7 +/* 80346BA8 00343B08 7C 03 00 40 */ cmplw r3, r0 +/* 80346BAC 00343B0C 41 82 00 1C */ beq lbl_80346BC8 +/* 80346BB0 00343B10 90 7F 00 6C */ stw r3, 0x6c(r31) +/* 80346BB4 00343B14 38 60 00 00 */ li r3, 0 +/* 80346BB8 00343B18 38 80 00 07 */ li r4, 7 +/* 80346BBC 00343B1C 38 A0 00 07 */ li r5, 7 +/* 80346BC0 00343B20 38 C0 00 07 */ li r6, 7 +/* 80346BC4 00343B24 48 03 49 25 */ bl GXSetTevAlphaIn +lbl_80346BC8: +/* 80346BC8 00343B28 88 1F 00 81 */ lbz r0, 0x81(r31) +/* 80346BCC 00343B2C 2C 00 00 00 */ cmpwi r0, 0 +/* 80346BD0 00343B30 41 82 00 18 */ beq lbl_80346BE8 +/* 80346BD4 00343B34 38 00 00 00 */ li r0, 0 +/* 80346BD8 00343B38 38 60 00 00 */ li r3, 0 +/* 80346BDC 00343B3C 98 1F 00 81 */ stb r0, 0x81(r31) +/* 80346BE0 00343B40 38 80 00 00 */ li r4, 0 +/* 80346BE4 00343B44 48 03 4B E1 */ bl GXSetTevKAlphaSel +lbl_80346BE8: +/* 80346BE8 00343B48 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80346BEC 00343B4C 38 A3 53 EC */ addi r5, r3, lbl_805A53EC@l +/* 80346BF0 00343B50 80 65 02 28 */ lwz r3, 0x228(r5) +/* 80346BF4 00343B54 3C 03 FF E2 */ addis r0, r3, 0xffe2 +/* 80346BF8 00343B58 28 00 94 01 */ cmplwi r0, 0x9401 +/* 80346BFC 00343B5C 41 82 00 2C */ beq lbl_80346C28 +/* 80346C00 00343B60 3C 80 00 1F */ lis r4, 0x001E9401@ha +/* 80346C04 00343B64 38 60 00 00 */ li r3, 0 +/* 80346C08 00343B68 38 04 94 01 */ addi r0, r4, 0x001E9401@l +/* 80346C0C 00343B6C 38 80 00 01 */ li r4, 1 +/* 80346C10 00343B70 90 05 02 28 */ stw r0, 0x228(r5) +/* 80346C14 00343B74 38 A0 00 00 */ li r5, 0 +/* 80346C18 00343B78 38 C0 00 3C */ li r6, 0x3c +/* 80346C1C 00343B7C 38 E0 00 00 */ li r7, 0 +/* 80346C20 00343B80 39 00 00 7D */ li r8, 0x7d +/* 80346C24 00343B84 48 03 13 71 */ bl GXSetTexCoordGen2 +lbl_80346C28: +/* 80346C28 00343B88 38 60 00 00 */ li r3, 0 +/* 80346C2C 00343B8C 4B FC 10 25 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID +/* 80346C30 00343B90 80 7F 00 7C */ lwz r3, 0x7c(r31) +/* 80346C34 00343B94 3C 03 FF 01 */ addis r0, r3, 0xff01 +/* 80346C38 00343B98 28 00 FF FF */ cmplwi r0, 0xffff +/* 80346C3C 00343B9C 41 82 00 24 */ beq lbl_80346C60 +/* 80346C40 00343BA0 3C 80 01 00 */ lis r4, 0x00FFFFFF@ha +/* 80346C44 00343BA4 38 60 00 00 */ li r3, 0 +/* 80346C48 00343BA8 38 04 FF FF */ addi r0, r4, 0x00FFFFFF@l +/* 80346C4C 00343BAC 38 80 00 FF */ li r4, 0xff +/* 80346C50 00343BB0 90 1F 00 7C */ stw r0, 0x7c(r31) +/* 80346C54 00343BB4 38 A0 00 FF */ li r5, 0xff +/* 80346C58 00343BB8 38 C0 00 FF */ li r6, 0xff +/* 80346C5C 00343BBC 48 03 4D 99 */ bl GXSetTevOrder +lbl_80346C60: +/* 80346C60 00343BC0 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80346C64 00343BC4 38 83 53 EC */ addi r4, r3, lbl_805A53EC@l +/* 80346C68 00343BC8 88 04 00 50 */ lbz r0, 0x50(r4) +/* 80346C6C 00343BCC 28 00 00 01 */ cmplwi r0, 1 +/* 80346C70 00343BD0 41 82 00 14 */ beq lbl_80346C84 +/* 80346C74 00343BD4 38 00 00 01 */ li r0, 1 +/* 80346C78 00343BD8 38 60 00 01 */ li r3, 1 +/* 80346C7C 00343BDC 98 04 00 50 */ stb r0, 0x50(r4) +/* 80346C80 00343BE0 48 03 4F 4D */ bl GXSetNumTevStages +lbl_80346C84: +/* 80346C84 00343BE4 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80346C88 00343BE8 38 E0 00 00 */ li r7, 0 +/* 80346C8C 00343BEC 38 C3 53 EC */ addi r6, r3, lbl_805A53EC@l +/* 80346C90 00343BF0 88 A6 00 4D */ lbz r5, 0x4d(r6) +/* 80346C94 00343BF4 88 06 00 4F */ lbz r0, 0x4f(r6) +/* 80346C98 00343BF8 7C 85 00 D0 */ neg r4, r5 +/* 80346C9C 00343BFC 88 66 00 4C */ lbz r3, 0x4c(r6) +/* 80346CA0 00343C00 7C 84 2B 78 */ or r4, r4, r5 +/* 80346CA4 00343C04 28 00 00 01 */ cmplwi r0, 1 +/* 80346CA8 00343C08 50 83 0F FE */ rlwimi r3, r4, 1, 0x1f, 0x1f +/* 80346CAC 00343C0C 98 E6 00 4E */ stb r7, 0x4e(r6) +/* 80346CB0 00343C10 98 66 00 4C */ stb r3, 0x4c(r6) +/* 80346CB4 00343C14 41 82 00 14 */ beq lbl_80346CC8 +/* 80346CB8 00343C18 38 00 00 01 */ li r0, 1 +/* 80346CBC 00343C1C 38 60 00 01 */ li r3, 1 +/* 80346CC0 00343C20 98 06 00 4F */ stb r0, 0x4f(r6) +/* 80346CC4 00343C24 48 03 15 A1 */ bl GXSetNumTexGens +lbl_80346CC8: +/* 80346CC8 00343C28 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80346CCC 00343C2C 38 83 53 EC */ addi r4, r3, lbl_805A53EC@l +/* 80346CD0 00343C30 88 04 00 51 */ lbz r0, 0x51(r4) +/* 80346CD4 00343C34 28 00 00 00 */ cmplwi r0, 0 +/* 80346CD8 00343C38 41 82 00 14 */ beq lbl_80346CEC +/* 80346CDC 00343C3C 38 00 00 00 */ li r0, 0 +/* 80346CE0 00343C40 38 60 00 00 */ li r3, 0 +/* 80346CE4 00343C44 98 04 00 51 */ stb r0, 0x51(r4) +/* 80346CE8 00343C48 48 03 45 D1 */ bl GXSetNumIndStages +lbl_80346CEC: +/* 80346CEC 00343C4C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80346CF0 00343C50 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80346CF4 00343C54 83 C1 00 08 */ lwz r30, 8(r1) +/* 80346CF8 00343C58 7C 08 03 A6 */ mtlr r0 +/* 80346CFC 00343C5C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80346D00 00343C60 4E 80 00 20 */ blr + +.global EnsureTevsDirect__13CCubeMaterialFv +EnsureTevsDirect__13CCubeMaterialFv: +/* 80346D04 00343C64 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80346D08 00343C68 7C 08 02 A6 */ mflr r0 +/* 80346D0C 00343C6C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80346D10 00343C70 80 0D 9D 74 */ lwz r0, lbl_805A8934@sda21(r13) +/* 80346D14 00343C74 2C 00 FF FF */ cmpwi r0, -1 +/* 80346D18 00343C78 41 82 00 60 */ beq lbl_80346D78 +/* 80346D1C 00343C7C 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80346D20 00343C80 38 83 53 EC */ addi r4, r3, lbl_805A53EC@l +/* 80346D24 00343C84 88 04 00 51 */ lbz r0, 0x51(r4) +/* 80346D28 00343C88 28 00 00 00 */ cmplwi r0, 0 +/* 80346D2C 00343C8C 41 82 00 14 */ beq lbl_80346D40 +/* 80346D30 00343C90 38 00 00 00 */ li r0, 0 +/* 80346D34 00343C94 38 60 00 00 */ li r3, 0 +/* 80346D38 00343C98 98 04 00 51 */ stb r0, 0x51(r4) +/* 80346D3C 00343C9C 48 03 45 7D */ bl GXSetNumIndStages +lbl_80346D40: +/* 80346D40 00343CA0 80 6D 9D 74 */ lwz r3, lbl_805A8934@sda21(r13) +/* 80346D44 00343CA4 3C 80 80 5A */ lis r4, lbl_805A53EC@ha +/* 80346D48 00343CA8 38 04 53 EC */ addi r0, r4, lbl_805A53EC@l +/* 80346D4C 00343CAC 1C 83 00 1C */ mulli r4, r3, 0x1c +/* 80346D50 00343CB0 7C 80 22 14 */ add r4, r0, r4 +/* 80346D54 00343CB4 38 84 00 68 */ addi r4, r4, 0x68 +/* 80346D58 00343CB8 80 04 00 10 */ lwz r0, 0x10(r4) +/* 80346D5C 00343CBC 28 00 00 00 */ cmplwi r0, 0 +/* 80346D60 00343CC0 41 82 00 10 */ beq lbl_80346D70 +/* 80346D64 00343CC4 38 00 00 00 */ li r0, 0 +/* 80346D68 00343CC8 90 04 00 10 */ stw r0, 0x10(r4) +/* 80346D6C 00343CCC 48 03 45 75 */ bl GXSetTevDirect +lbl_80346D70: +/* 80346D70 00343CD0 38 00 FF FF */ li r0, -1 +/* 80346D74 00343CD4 90 0D 9D 74 */ stw r0, lbl_805A8934@sda21(r13) +lbl_80346D78: +/* 80346D78 00343CD8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80346D7C 00343CDC 7C 08 03 A6 */ mtlr r0 +/* 80346D80 00343CE0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80346D84 00343CE4 4E 80 00 20 */ blr + +.global HandleReflection__13CCubeMaterialFb11_GXTexMapIDiUiUiUiUiRUiRUi +HandleReflection__13CCubeMaterialFb11_GXTexMapIDiUiUiUiUiRUiRUi: +/* 80346D88 00343CE8 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80346D8C 00343CEC 7C 08 02 A6 */ mflr r0 +/* 80346D90 00343CF0 90 01 00 44 */ stw r0, 0x44(r1) +/* 80346D94 00343CF4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80346D98 00343CF8 BE C1 00 18 */ stmw r22, 0x18(r1) +/* 80346D9C 00343CFC 7C DD 33 78 */ mr r29, r6 +/* 80346DA0 00343D00 83 41 00 48 */ lwz r26, 0x48(r1) +/* 80346DA4 00343D04 7C 96 23 78 */ mr r22, r4 +/* 80346DA8 00343D08 7C B7 2B 78 */ mr r23, r5 +/* 80346DAC 00343D0C 7C FC 3B 78 */ mr r28, r7 +/* 80346DB0 00343D10 7D 18 43 78 */ mr r24, r8 +/* 80346DB4 00343D14 7D 3B 4B 78 */ mr r27, r9 +/* 80346DB8 00343D18 7D 59 53 78 */ mr r25, r10 +/* 80346DBC 00343D1C 3B E0 00 00 */ li r31, 0 +/* 80346DC0 00343D20 41 82 01 1C */ beq lbl_80346EDC +/* 80346DC4 00343D24 1C 9D 00 1C */ mulli r4, r29, 0x1c +/* 80346DC8 00343D28 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80346DCC 00343D2C 3B C0 00 06 */ li r30, 6 +/* 80346DD0 00343D30 38 03 53 EC */ addi r0, r3, lbl_805A53EC@l +/* 80346DD4 00343D34 7C 60 22 14 */ add r3, r0, r4 +/* 80346DD8 00343D38 3B E3 00 68 */ addi r31, r3, 0x68 +/* 80346DDC 00343D3C 80 63 00 68 */ lwz r3, 0x68(r3) +/* 80346DE0 00343D40 3C 03 FF F9 */ addis r0, r3, 0xfff9 +/* 80346DE4 00343D44 28 00 B8 CF */ cmplwi r0, 0xb8cf +/* 80346DE8 00343D48 41 82 00 28 */ beq lbl_80346E10 +/* 80346DEC 00343D4C 3C 80 00 08 */ lis r4, 0x0007B8CF@ha +/* 80346DF0 00343D50 7F A3 EB 78 */ mr r3, r29 +/* 80346DF4 00343D54 38 04 B8 CF */ addi r0, r4, 0x0007B8CF@l +/* 80346DF8 00343D58 38 80 00 0F */ li r4, 0xf +/* 80346DFC 00343D5C 90 1F 00 00 */ stw r0, 0(r31) +/* 80346E00 00343D60 38 A0 00 06 */ li r5, 6 +/* 80346E04 00343D64 38 C0 00 0E */ li r6, 0xe +/* 80346E08 00343D68 38 E0 00 0F */ li r7, 0xf +/* 80346E0C 00343D6C 48 03 46 99 */ bl GXSetTevColorIn +lbl_80346E10: +/* 80346E10 00343D70 80 7F 00 04 */ lwz r3, 4(r31) +/* 80346E14 00343D74 3C 03 FF FF */ addis r0, r3, 0xffff +/* 80346E18 00343D78 28 00 9C E7 */ cmplwi r0, 0x9ce7 +/* 80346E1C 00343D7C 41 82 00 28 */ beq lbl_80346E44 +/* 80346E20 00343D80 3C 80 00 02 */ lis r4, 0x00019CE7@ha +/* 80346E24 00343D84 7F A3 EB 78 */ mr r3, r29 +/* 80346E28 00343D88 38 04 9C E7 */ addi r0, r4, 0x00019CE7@l +/* 80346E2C 00343D8C 38 80 00 07 */ li r4, 7 +/* 80346E30 00343D90 90 1F 00 04 */ stw r0, 4(r31) +/* 80346E34 00343D94 38 A0 00 07 */ li r5, 7 +/* 80346E38 00343D98 38 C0 00 07 */ li r6, 7 +/* 80346E3C 00343D9C 38 E0 00 03 */ li r7, 3 +/* 80346E40 00343DA0 48 03 46 A9 */ bl GXSetTevAlphaIn +lbl_80346E44: +/* 80346E44 00343DA4 80 1F 00 08 */ lwz r0, 8(r31) +/* 80346E48 00343DA8 28 00 07 00 */ cmplwi r0, 0x700 +/* 80346E4C 00343DAC 41 82 00 28 */ beq lbl_80346E74 +/* 80346E50 00343DB0 38 00 07 00 */ li r0, 0x700 +/* 80346E54 00343DB4 7F A3 EB 78 */ mr r3, r29 +/* 80346E58 00343DB8 90 1F 00 08 */ stw r0, 8(r31) +/* 80346E5C 00343DBC 38 80 00 00 */ li r4, 0 +/* 80346E60 00343DC0 38 A0 00 00 */ li r5, 0 +/* 80346E64 00343DC4 38 C0 00 00 */ li r6, 0 +/* 80346E68 00343DC8 38 E0 00 01 */ li r7, 1 +/* 80346E6C 00343DCC 39 00 00 03 */ li r8, 3 +/* 80346E70 00343DD0 48 03 46 BD */ bl GXSetTevColorOp +lbl_80346E74: +/* 80346E74 00343DD4 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 80346E78 00343DD8 28 00 07 00 */ cmplwi r0, 0x700 +/* 80346E7C 00343DDC 41 82 00 28 */ beq lbl_80346EA4 +/* 80346E80 00343DE0 38 00 07 00 */ li r0, 0x700 +/* 80346E84 00343DE4 7F A3 EB 78 */ mr r3, r29 +/* 80346E88 00343DE8 90 1F 00 0C */ stw r0, 0xc(r31) +/* 80346E8C 00343DEC 38 80 00 00 */ li r4, 0 +/* 80346E90 00343DF0 38 A0 00 00 */ li r5, 0 +/* 80346E94 00343DF4 38 C0 00 00 */ li r6, 0 +/* 80346E98 00343DF8 38 E0 00 01 */ li r7, 1 +/* 80346E9C 00343DFC 39 00 00 03 */ li r8, 3 +/* 80346EA0 00343E00 48 03 46 F5 */ bl GXSetTevAlphaOp +lbl_80346EA4: +/* 80346EA4 00343E04 80 7F 00 14 */ lwz r3, 0x14(r31) +/* 80346EA8 00343E08 3C 03 FF FA */ addis r0, r3, 0xfffa +/* 80346EAC 00343E0C 28 00 FF FF */ cmplwi r0, 0xffff +/* 80346EB0 00343E10 41 82 00 24 */ beq lbl_80346ED4 +/* 80346EB4 00343E14 3C 80 00 07 */ lis r4, 0x0006FFFF@ha +/* 80346EB8 00343E18 7F A3 EB 78 */ mr r3, r29 +/* 80346EBC 00343E1C 38 04 FF FF */ addi r0, r4, 0x0006FFFF@l +/* 80346EC0 00343E20 38 80 00 FF */ li r4, 0xff +/* 80346EC4 00343E24 90 1F 00 14 */ stw r0, 0x14(r31) +/* 80346EC8 00343E28 38 A0 00 FF */ li r5, 0xff +/* 80346ECC 00343E2C 38 C0 00 06 */ li r6, 6 +/* 80346ED0 00343E30 48 03 4B 25 */ bl GXSetTevOrder +lbl_80346ED4: +/* 80346ED4 00343E34 3B E0 00 01 */ li r31, 1 +/* 80346ED8 00343E38 48 00 00 08 */ b lbl_80346EE0 +lbl_80346EDC: +/* 80346EDC 00343E3C 3B C0 00 0E */ li r30, 0xe +lbl_80346EE0: +/* 80346EE0 00343E40 C0 2D A9 90 */ lfs f1, lbl_805A9550@sda21(r13) +/* 80346EE4 00343E44 38 80 00 FF */ li r4, 0xff +/* 80346EE8 00343E48 38 00 00 00 */ li r0, 0 +/* 80346EEC 00343E4C 98 81 00 0C */ stb r4, 0xc(r1) +/* 80346EF0 00343E50 FC 40 08 90 */ fmr f2, f1 +/* 80346EF4 00343E54 38 61 00 0C */ addi r3, r1, 0xc +/* 80346EF8 00343E58 FC 60 08 90 */ fmr f3, f1 +/* 80346EFC 00343E5C 98 01 00 0D */ stb r0, 0xd(r1) +/* 80346F00 00343E60 FC 80 08 90 */ fmr f4, f1 +/* 80346F04 00343E64 98 81 00 0E */ stb r4, 0xe(r1) +/* 80346F08 00343E68 98 81 00 0F */ stb r4, 0xf(r1) +/* 80346F0C 00343E6C 48 01 C4 91 */ bl Set__6CColorFffff +/* 80346F10 00343E70 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80346F14 00343E74 57 64 10 3A */ slwi r4, r27, 2 +/* 80346F18 00343E78 38 63 53 EC */ addi r3, r3, lbl_805A53EC@l +/* 80346F1C 00343E7C 80 01 00 0C */ lwz r0, 0xc(r1) +/* 80346F20 00343E80 7C 63 22 14 */ add r3, r3, r4 +/* 80346F24 00343E84 38 83 00 58 */ addi r4, r3, 0x58 +/* 80346F28 00343E88 80 63 00 58 */ lwz r3, 0x58(r3) +/* 80346F2C 00343E8C 7C 03 00 40 */ cmplw r3, r0 +/* 80346F30 00343E90 41 82 00 18 */ beq lbl_80346F48 +/* 80346F34 00343E94 90 04 00 00 */ stw r0, 0(r4) +/* 80346F38 00343E98 7F 63 DB 78 */ mr r3, r27 +/* 80346F3C 00343E9C 38 81 00 08 */ addi r4, r1, 8 +/* 80346F40 00343EA0 90 01 00 08 */ stw r0, 8(r1) +/* 80346F44 00343EA4 48 03 47 A1 */ bl GXSetTevKColor +lbl_80346F48: +/* 80346F48 00343EA8 1C BD 00 1C */ mulli r5, r29, 0x1c +/* 80346F4C 00343EAC 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80346F50 00343EB0 38 9B 00 0C */ addi r4, r27, 0xc +/* 80346F54 00343EB4 38 03 53 EC */ addi r0, r3, lbl_805A53EC@l +/* 80346F58 00343EB8 7C 60 2A 14 */ add r3, r0, r5 +/* 80346F5C 00343EBC 38 63 00 68 */ addi r3, r3, 0x68 +/* 80346F60 00343EC0 88 03 00 18 */ lbz r0, 0x18(r3) +/* 80346F64 00343EC4 7C 04 00 00 */ cmpw r4, r0 +/* 80346F68 00343EC8 41 82 00 10 */ beq lbl_80346F78 +/* 80346F6C 00343ECC 98 83 00 18 */ stb r4, 0x18(r3) +/* 80346F70 00343ED0 7F A3 EB 78 */ mr r3, r29 +/* 80346F74 00343ED4 48 03 47 E5 */ bl GXSetTevKColorSel +lbl_80346F78: +/* 80346F78 00343ED8 80 6D A5 F0 */ lwz r3, lbl_805A91B0@sda21(r13) +/* 80346F7C 00343EDC 7F BD FA 14 */ add r29, r29, r31 +/* 80346F80 00343EE0 4B F7 55 C1 */ bl GetRealReflection__13CCubeRendererFv +/* 80346F84 00343EE4 7F 84 E3 78 */ mr r4, r28 +/* 80346F88 00343EE8 38 A0 00 00 */ li r5, 0 +/* 80346F8C 00343EEC 4B FC 87 B1 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode +/* 80346F90 00343EF0 2C 16 00 FF */ cmpwi r22, 0xff +/* 80346F94 00343EF4 41 82 00 C8 */ beq lbl_8034705C +/* 80346F98 00343EF8 7F 04 C3 78 */ mr r4, r24 +/* 80346F9C 00343EFC 7E C5 B3 78 */ mr r5, r22 +/* 80346FA0 00343F00 3B 78 00 01 */ addi r27, r24, 1 +/* 80346FA4 00343F04 38 60 00 00 */ li r3, 0 +/* 80346FA8 00343F08 48 03 41 FD */ bl GXSetIndTexOrder +/* 80346FAC 00343F0C 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80346FB0 00343F10 57 04 10 3A */ slwi r4, r24, 2 +/* 80346FB4 00343F14 38 03 53 EC */ addi r0, r3, lbl_805A53EC@l +/* 80346FB8 00343F18 7C 60 22 14 */ add r3, r0, r4 +/* 80346FBC 00343F1C 38 A3 02 28 */ addi r5, r3, 0x228 +/* 80346FC0 00343F20 80 63 02 28 */ lwz r3, 0x228(r3) +/* 80346FC4 00343F24 3C 03 FF F7 */ addis r0, r3, 0xfff7 +/* 80346FC8 00343F28 28 00 4C 00 */ cmplwi r0, 0x4c00 +/* 80346FCC 00343F2C 41 82 00 2C */ beq lbl_80346FF8 +/* 80346FD0 00343F30 3C 80 00 09 */ lis r4, 0x00094C00@ha +/* 80346FD4 00343F34 7F 03 C3 78 */ mr r3, r24 +/* 80346FD8 00343F38 38 04 4C 00 */ addi r0, r4, 0x00094C00@l +/* 80346FDC 00343F3C 38 80 00 00 */ li r4, 0 +/* 80346FE0 00343F40 90 05 00 00 */ stw r0, 0(r5) +/* 80346FE4 00343F44 38 A0 00 00 */ li r5, 0 +/* 80346FE8 00343F48 38 C0 00 30 */ li r6, 0x30 +/* 80346FEC 00343F4C 38 E0 00 01 */ li r7, 1 +/* 80346FF0 00343F50 39 00 00 52 */ li r8, 0x52 +/* 80346FF4 00343F54 48 03 0F A1 */ bl GXSetTexCoordGen2 +lbl_80346FF8: +/* 80346FF8 00343F58 7F A3 EB 78 */ mr r3, r29 +/* 80346FFC 00343F5C 38 80 00 00 */ li r4, 0 +/* 80347000 00343F60 38 A0 00 01 */ li r5, 1 +/* 80347004 00343F64 38 C0 00 00 */ li r6, 0 +/* 80347008 00343F68 38 E0 00 01 */ li r7, 1 +/* 8034700C 00343F6C 48 00 01 6D */ bl SetTevIndWarp__3CGXF13_GXTevStageID16_GXIndTexStageIDUcUc14_GXIndTexMtxID +/* 80347010 00343F70 7E E4 07 74 */ extsb r4, r23 +/* 80347014 00343F74 38 60 00 01 */ li r3, 1 +/* 80347018 00343F78 4B FC 0F A1 */ bl SetIndTexMtxSTPointFive__3CGXF14_GXIndTexMtxIDSc +/* 8034701C 00343F7C 80 6D 9D 74 */ lwz r3, lbl_805A8934@sda21(r13) +/* 80347020 00343F80 7C 03 E8 00 */ cmpw r3, r29 +/* 80347024 00343F84 40 81 00 30 */ ble lbl_80347054 +/* 80347028 00343F88 1C A3 00 1C */ mulli r5, r3, 0x1c +/* 8034702C 00343F8C 3C 80 80 5A */ lis r4, lbl_805A53EC@ha +/* 80347030 00343F90 38 04 53 EC */ addi r0, r4, lbl_805A53EC@l +/* 80347034 00343F94 7C 80 2A 14 */ add r4, r0, r5 +/* 80347038 00343F98 38 84 00 68 */ addi r4, r4, 0x68 +/* 8034703C 00343F9C 80 04 00 10 */ lwz r0, 0x10(r4) +/* 80347040 00343FA0 28 00 00 00 */ cmplwi r0, 0 +/* 80347044 00343FA4 41 82 00 10 */ beq lbl_80347054 +/* 80347048 00343FA8 38 00 00 00 */ li r0, 0 +/* 8034704C 00343FAC 90 04 00 10 */ stw r0, 0x10(r4) +/* 80347050 00343FB0 48 03 42 91 */ bl GXSetTevDirect +lbl_80347054: +/* 80347054 00343FB4 93 AD 9D 74 */ stw r29, lbl_805A8934@sda21(r13) +/* 80347058 00343FB8 48 00 00 08 */ b lbl_80347060 +lbl_8034705C: +/* 8034705C 00343FBC 7F 1B C3 78 */ mr r27, r24 +lbl_80347060: +/* 80347060 00343FC0 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80347064 00343FC4 57 64 10 3A */ slwi r4, r27, 2 +/* 80347068 00343FC8 38 03 53 EC */ addi r0, r3, lbl_805A53EC@l +/* 8034706C 00343FCC 7C 60 22 14 */ add r3, r0, r4 +/* 80347070 00343FD0 38 A3 02 28 */ addi r5, r3, 0x228 +/* 80347074 00343FD4 80 63 02 28 */ lwz r3, 0x228(r3) +/* 80347078 00343FD8 3C 03 FF E2 */ addis r0, r3, 0xffe2 +/* 8034707C 00343FDC 28 00 8E 00 */ cmplwi r0, 0x8e00 +/* 80347080 00343FE0 41 82 00 2C */ beq lbl_803470AC +/* 80347084 00343FE4 3C 80 00 1F */ lis r4, 0x001E8E00@ha +/* 80347088 00343FE8 7F 63 DB 78 */ mr r3, r27 +/* 8034708C 00343FEC 38 04 8E 00 */ addi r0, r4, 0x001E8E00@l +/* 80347090 00343FF0 38 80 00 00 */ li r4, 0 +/* 80347094 00343FF4 90 05 00 00 */ stw r0, 0(r5) +/* 80347098 00343FF8 38 A0 00 00 */ li r5, 0 +/* 8034709C 00343FFC 38 C0 00 33 */ li r6, 0x33 +/* 803470A0 00344000 38 E0 00 00 */ li r7, 0 +/* 803470A4 00344004 39 00 00 7D */ li r8, 0x7d +/* 803470A8 00344008 48 03 0E ED */ bl GXSetTexCoordGen2 +lbl_803470AC: +/* 803470AC 0034400C 1C 9D 00 1C */ mulli r4, r29, 0x1c +/* 803470B0 00344010 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 803470B4 00344014 57 C5 2D B4 */ rlwinm r5, r30, 5, 0x16, 0x1a +/* 803470B8 00344018 38 03 53 EC */ addi r0, r3, lbl_805A53EC@l +/* 803470BC 0034401C 7C 60 22 14 */ add r3, r0, r4 +/* 803470C0 00344020 80 03 00 68 */ lwz r0, 0x68(r3) +/* 803470C4 00344024 60 A4 20 0F */ ori r4, r5, 0x200f +/* 803470C8 00344028 3A C3 00 68 */ addi r22, r3, 0x68 +/* 803470CC 0034402C 7C 04 00 40 */ cmplw r4, r0 +/* 803470D0 00344030 41 82 00 20 */ beq lbl_803470F0 +/* 803470D4 00344034 90 96 00 00 */ stw r4, 0(r22) +/* 803470D8 00344038 7F A3 EB 78 */ mr r3, r29 +/* 803470DC 0034403C 7F C5 F3 78 */ mr r5, r30 +/* 803470E0 00344040 38 80 00 0F */ li r4, 0xf +/* 803470E4 00344044 38 C0 00 08 */ li r6, 8 +/* 803470E8 00344048 38 E0 00 00 */ li r7, 0 +/* 803470EC 0034404C 48 03 43 B9 */ bl GXSetTevColorIn +lbl_803470F0: +/* 803470F0 00344050 80 16 00 04 */ lwz r0, 4(r22) +/* 803470F4 00344054 28 00 1C E7 */ cmplwi r0, 0x1ce7 +/* 803470F8 00344058 41 82 00 24 */ beq lbl_8034711C +/* 803470FC 0034405C 38 00 1C E7 */ li r0, 0x1ce7 +/* 80347100 00344060 7F A3 EB 78 */ mr r3, r29 +/* 80347104 00344064 90 16 00 04 */ stw r0, 4(r22) +/* 80347108 00344068 38 80 00 07 */ li r4, 7 +/* 8034710C 0034406C 38 A0 00 07 */ li r5, 7 +/* 80347110 00344070 38 C0 00 07 */ li r6, 7 +/* 80347114 00344074 38 E0 00 00 */ li r7, 0 +/* 80347118 00344078 48 03 43 D1 */ bl GXSetTevAlphaIn +lbl_8034711C: +/* 8034711C 0034407C 7F A3 EB 78 */ mr r3, r29 +/* 80347120 00344080 4B FC 0B 31 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID +/* 80347124 00344084 38 60 00 00 */ li r3, 0 +/* 80347128 00344088 57 80 44 2E */ rlwinm r0, r28, 8, 0x10, 0x17 +/* 8034712C 0034408C 90 7A 00 00 */ stw r3, 0(r26) +/* 80347130 00344090 53 60 06 3E */ rlwimi r0, r27, 0, 0x18, 0x1f +/* 80347134 00344094 90 79 00 00 */ stw r3, 0(r25) +/* 80347138 00344098 64 03 00 FF */ oris r3, r0, 0xff +/* 8034713C 0034409C 80 16 00 14 */ lwz r0, 0x14(r22) +/* 80347140 003440A0 7C 00 18 40 */ cmplw r0, r3 +/* 80347144 003440A4 41 82 00 1C */ beq lbl_80347160 +/* 80347148 003440A8 90 76 00 14 */ stw r3, 0x14(r22) +/* 8034714C 003440AC 7F A3 EB 78 */ mr r3, r29 +/* 80347150 003440B0 7F 64 DB 78 */ mr r4, r27 +/* 80347154 003440B4 7F 85 E3 78 */ mr r5, r28 +/* 80347158 003440B8 38 C0 00 FF */ li r6, 0xff +/* 8034715C 003440BC 48 03 48 99 */ bl GXSetTevOrder +lbl_80347160: +/* 80347160 003440C0 38 7F 00 01 */ addi r3, r31, 1 +/* 80347164 003440C4 BA C1 00 18 */ lmw r22, 0x18(r1) +/* 80347168 003440C8 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8034716C 003440CC 7C 08 03 A6 */ mtlr r0 +/* 80347170 003440D0 38 21 00 40 */ addi r1, r1, 0x40 +/* 80347174 003440D4 4E 80 00 20 */ blr + +.global SetTevIndWarp__3CGXF13_GXTevStageID16_GXIndTexStageIDUcUc14_GXIndTexMtxID +SetTevIndWarp__3CGXF13_GXTevStageID16_GXIndTexStageIDUcUc14_GXIndTexMtxID: +/* 80347178 003440D8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034717C 003440DC 7C 08 02 A6 */ mflr r0 +/* 80347180 003440E0 39 00 00 00 */ li r8, 0 +/* 80347184 003440E4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80347188 003440E8 54 C0 06 3F */ clrlwi. r0, r6, 0x18 +/* 8034718C 003440EC 41 82 00 08 */ beq lbl_80347194 +/* 80347190 003440F0 39 00 00 06 */ li r8, 6 +lbl_80347194: +/* 80347194 003440F4 1D 23 00 1C */ mulli r9, r3, 0x1c +/* 80347198 003440F8 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 8034719C 003440FC 3C C0 80 5A */ lis r6, lbl_805A53EC@ha +/* 803471A0 00344100 38 06 53 EC */ addi r0, r6, lbl_805A53EC@l +/* 803471A4 00344104 7C C0 4A 14 */ add r6, r0, r9 +/* 803471A8 00344108 54 89 07 BE */ clrlwi r9, r4, 0x1e +/* 803471AC 0034410C 39 66 00 68 */ addi r11, r6, 0x68 +/* 803471B0 00344110 38 00 00 00 */ li r0, 0 +/* 803471B4 00344114 41 82 00 08 */ beq lbl_803471BC +/* 803471B8 00344118 38 00 00 07 */ li r0, 7 +lbl_803471BC: +/* 803471BC 0034411C 54 00 26 76 */ rlwinm r0, r0, 4, 0x19, 0x1b +/* 803471C0 00344120 54 E6 3D 70 */ rlwinm r6, r7, 7, 0x15, 0x18 +/* 803471C4 00344124 7C 00 4B 78 */ or r0, r0, r9 +/* 803471C8 00344128 55 09 5C A8 */ rlwinm r9, r8, 0xb, 0x12, 0x14 +/* 803471CC 0034412C 7C C0 03 78 */ or r0, r6, r0 +/* 803471D0 00344130 55 0A 73 E2 */ rlwinm r10, r8, 0xe, 0xf, 0x11 +/* 803471D4 00344134 7D 26 03 78 */ or r6, r9, r0 +/* 803471D8 00344138 80 0B 00 10 */ lwz r0, 0x10(r11) +/* 803471DC 0034413C 7D 46 33 78 */ or r6, r10, r6 +/* 803471E0 00344140 7C 00 30 40 */ cmplw r0, r6 +/* 803471E4 00344144 41 82 00 30 */ beq lbl_80347214 +/* 803471E8 00344148 90 CB 00 10 */ stw r6, 0x10(r11) +/* 803471EC 0034414C 38 C0 00 00 */ li r6, 0 +/* 803471F0 00344150 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 803471F4 00344154 38 A0 00 00 */ li r5, 0 +/* 803471F8 00344158 90 C1 00 08 */ stw r6, 8(r1) +/* 803471FC 0034415C 90 C1 00 0C */ stw r6, 0xc(r1) +/* 80347200 00344160 41 82 00 08 */ beq lbl_80347208 +/* 80347204 00344164 38 C0 00 07 */ li r6, 7 +lbl_80347208: +/* 80347208 00344168 7D 09 43 78 */ mr r9, r8 +/* 8034720C 0034416C 39 40 00 00 */ li r10, 0 +/* 80347210 00344170 48 03 3C 1D */ bl GXSetTevIndirect +lbl_80347214: +/* 80347214 00344174 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80347218 00344178 7C 08 03 A6 */ mtlr r0 +/* 8034721C 0034417C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80347220 00344180 4E 80 00 20 */ blr + +.global DoModelShadow__FUiUi +DoModelShadow__FUiUi: +/* 80347224 00344184 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80347228 00344188 7C 08 02 A6 */ mflr r0 +/* 8034722C 0034418C 38 A0 00 01 */ li r5, 1 +/* 80347230 00344190 90 01 00 64 */ stw r0, 0x64(r1) +/* 80347234 00344194 7C 60 1B 78 */ mr r0, r3 +/* 80347238 00344198 BF 01 00 40 */ stmw r24, 0x40(r1) +/* 8034723C 0034419C 7C 9E 23 78 */ mr r30, r4 +/* 80347240 003441A0 7C 1D 03 78 */ mr r29, r0 +/* 80347244 003441A4 7C 04 03 78 */ mr r4, r0 +/* 80347248 003441A8 80 6D A9 9C */ lwz r3, lbl_805A955C@sda21(r13) +/* 8034724C 003441AC 4B FC 84 F1 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode +/* 80347250 003441B0 3C 60 80 3E */ lis r3, lbl_803D8048@ha +/* 80347254 003441B4 3C 80 80 4C */ lis r4, lbl_804BFF5C@ha +/* 80347258 003441B8 3B 03 80 48 */ addi r24, r3, lbl_803D8048@l +/* 8034725C 003441BC 38 61 00 08 */ addi r3, r1, 8 +/* 80347260 003441C0 83 38 00 00 */ lwz r25, 0(r24) +/* 80347264 003441C4 38 C4 FF 5C */ addi r6, r4, lbl_804BFF5C@l +/* 80347268 003441C8 83 58 00 04 */ lwz r26, 4(r24) +/* 8034726C 003441CC 38 80 00 2D */ li r4, 0x2d +/* 80347270 003441D0 83 78 00 08 */ lwz r27, 8(r24) +/* 80347274 003441D4 38 A0 00 00 */ li r5, 0 +/* 80347278 003441D8 83 98 00 0C */ lwz r28, 0xc(r24) +/* 8034727C 003441DC 83 F8 00 10 */ lwz r31, 0x10(r24) +/* 80347280 003441E0 81 98 00 14 */ lwz r12, 0x14(r24) +/* 80347284 003441E4 81 78 00 18 */ lwz r11, 0x18(r24) +/* 80347288 003441E8 81 58 00 1C */ lwz r10, 0x1c(r24) +/* 8034728C 003441EC 81 38 00 20 */ lwz r9, 0x20(r24) +/* 80347290 003441F0 81 18 00 24 */ lwz r8, 0x24(r24) +/* 80347294 003441F4 80 F8 00 28 */ lwz r7, 0x28(r24) +/* 80347298 003441F8 80 18 00 2C */ lwz r0, 0x2c(r24) +/* 8034729C 003441FC 93 21 00 08 */ stw r25, 8(r1) +/* 803472A0 00344200 C0 E6 00 00 */ lfs f7, 0(r6) +/* 803472A4 00344204 93 41 00 0C */ stw r26, 0xc(r1) +/* 803472A8 00344208 C0 C6 00 04 */ lfs f6, 4(r6) +/* 803472AC 0034420C 93 61 00 10 */ stw r27, 0x10(r1) +/* 803472B0 00344210 C0 A6 00 08 */ lfs f5, 8(r6) +/* 803472B4 00344214 93 81 00 14 */ stw r28, 0x14(r1) +/* 803472B8 00344218 C0 86 00 0C */ lfs f4, 0xc(r6) +/* 803472BC 0034421C 93 E1 00 18 */ stw r31, 0x18(r1) +/* 803472C0 00344220 C0 66 00 20 */ lfs f3, 0x20(r6) +/* 803472C4 00344224 91 81 00 1C */ stw r12, 0x1c(r1) +/* 803472C8 00344228 C0 46 00 24 */ lfs f2, 0x24(r6) +/* 803472CC 0034422C 91 61 00 20 */ stw r11, 0x20(r1) +/* 803472D0 00344230 C0 26 00 28 */ lfs f1, 0x28(r6) +/* 803472D4 00344234 91 41 00 24 */ stw r10, 0x24(r1) +/* 803472D8 00344238 C0 06 00 2C */ lfs f0, 0x2c(r6) +/* 803472DC 0034423C 91 21 00 28 */ stw r9, 0x28(r1) +/* 803472E0 00344240 91 01 00 2C */ stw r8, 0x2c(r1) +/* 803472E4 00344244 90 E1 00 30 */ stw r7, 0x30(r1) +/* 803472E8 00344248 90 01 00 34 */ stw r0, 0x34(r1) +/* 803472EC 0034424C D0 E1 00 08 */ stfs f7, 8(r1) +/* 803472F0 00344250 D0 C1 00 0C */ stfs f6, 0xc(r1) +/* 803472F4 00344254 D0 A1 00 10 */ stfs f5, 0x10(r1) +/* 803472F8 00344258 D0 81 00 14 */ stfs f4, 0x14(r1) +/* 803472FC 0034425C D0 61 00 18 */ stfs f3, 0x18(r1) +/* 80347300 00344260 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 80347304 00344264 D0 21 00 20 */ stfs f1, 0x20(r1) +/* 80347308 00344268 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 8034730C 0034426C 48 03 51 85 */ bl GXLoadTexMtxImm +/* 80347310 00344270 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80347314 00344274 57 C4 10 3A */ slwi r4, r30, 2 +/* 80347318 00344278 38 03 53 EC */ addi r0, r3, lbl_805A53EC@l +/* 8034731C 0034427C 7C 60 22 14 */ add r3, r0, r4 +/* 80347320 00344280 38 A3 02 28 */ addi r5, r3, 0x228 +/* 80347324 00344284 80 63 02 28 */ lwz r3, 0x228(r3) +/* 80347328 00344288 3C 03 FF E2 */ addis r0, r3, 0xffe2 +/* 8034732C 0034428C 28 00 8A 00 */ cmplwi r0, 0x8a00 +/* 80347330 00344290 41 82 00 2C */ beq lbl_8034735C +/* 80347334 00344294 3C 80 00 1F */ lis r4, 0x001E8A00@ha +/* 80347338 00344298 7F C3 F3 78 */ mr r3, r30 +/* 8034733C 0034429C 38 04 8A 00 */ addi r0, r4, 0x001E8A00@l +/* 80347340 003442A0 38 80 00 00 */ li r4, 0 +/* 80347344 003442A4 90 05 00 00 */ stw r0, 0(r5) +/* 80347348 003442A8 38 A0 00 00 */ li r5, 0 +/* 8034734C 003442AC 38 C0 00 2D */ li r6, 0x2d +/* 80347350 003442B0 38 E0 00 00 */ li r7, 0 +/* 80347354 003442B4 39 00 00 7D */ li r8, 0x7d +/* 80347358 003442B8 48 03 0C 3D */ bl GXSetTexCoordGen2 +lbl_8034735C: +/* 8034735C 003442BC 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80347360 003442C0 3B E3 53 EC */ addi r31, r3, lbl_805A53EC@l +/* 80347364 003442C4 80 1F 00 70 */ lwz r0, 0x70(r31) +/* 80347368 003442C8 28 00 03 00 */ cmplwi r0, 0x300 +/* 8034736C 003442CC 41 82 00 28 */ beq lbl_80347394 +/* 80347370 003442D0 38 00 03 00 */ li r0, 0x300 +/* 80347374 003442D4 38 60 00 00 */ li r3, 0 +/* 80347378 003442D8 90 1F 00 70 */ stw r0, 0x70(r31) +/* 8034737C 003442DC 38 80 00 00 */ li r4, 0 +/* 80347380 003442E0 38 A0 00 00 */ li r5, 0 +/* 80347384 003442E4 38 C0 00 00 */ li r6, 0 +/* 80347388 003442E8 38 E0 00 01 */ li r7, 1 +/* 8034738C 003442EC 39 00 00 01 */ li r8, 1 +/* 80347390 003442F0 48 03 41 9D */ bl GXSetTevColorOp +lbl_80347394: +/* 80347394 003442F4 80 1F 00 74 */ lwz r0, 0x74(r31) +/* 80347398 003442F8 28 00 03 00 */ cmplwi r0, 0x300 +/* 8034739C 003442FC 41 82 00 28 */ beq lbl_803473C4 +/* 803473A0 00344300 38 00 03 00 */ li r0, 0x300 +/* 803473A4 00344304 38 60 00 00 */ li r3, 0 +/* 803473A8 00344308 90 1F 00 74 */ stw r0, 0x74(r31) +/* 803473AC 0034430C 38 80 00 00 */ li r4, 0 +/* 803473B0 00344310 38 A0 00 00 */ li r5, 0 +/* 803473B4 00344314 38 C0 00 00 */ li r6, 0 +/* 803473B8 00344318 38 E0 00 01 */ li r7, 1 +/* 803473BC 0034431C 39 00 00 01 */ li r8, 1 +/* 803473C0 00344320 48 03 41 D5 */ bl GXSetTevAlphaOp +lbl_803473C4: +/* 803473C4 00344324 80 7F 00 68 */ lwz r3, 0x68(r31) +/* 803473C8 00344328 3C 03 FF F9 */ addis r0, r3, 0xfff9 +/* 803473CC 0034432C 28 00 A1 4F */ cmplwi r0, 0xa14f +/* 803473D0 00344330 41 82 00 28 */ beq lbl_803473F8 +/* 803473D4 00344334 3C 80 00 08 */ lis r4, 0x0007A14F@ha +/* 803473D8 00344338 38 60 00 00 */ li r3, 0 +/* 803473DC 0034433C 38 04 A1 4F */ addi r0, r4, 0x0007A14F@l +/* 803473E0 00344340 38 80 00 0F */ li r4, 0xf +/* 803473E4 00344344 90 1F 00 68 */ stw r0, 0x68(r31) +/* 803473E8 00344348 38 A0 00 0A */ li r5, 0xa +/* 803473EC 0034434C 38 C0 00 08 */ li r6, 8 +/* 803473F0 00344350 38 E0 00 0F */ li r7, 0xf +/* 803473F4 00344354 48 03 40 B1 */ bl GXSetTevColorIn +lbl_803473F8: +/* 803473F8 00344358 80 7F 00 6C */ lwz r3, 0x6c(r31) +/* 803473FC 0034435C 3C 03 FF FE */ addis r0, r3, 0xfffe +/* 80347400 00344360 28 00 9C E7 */ cmplwi r0, 0x9ce7 +/* 80347404 00344364 41 82 00 28 */ beq lbl_8034742C +/* 80347408 00344368 3C 80 00 03 */ lis r4, 0x00029CE7@ha +/* 8034740C 0034436C 38 60 00 00 */ li r3, 0 +/* 80347410 00344370 38 04 9C E7 */ addi r0, r4, 0x00029CE7@l +/* 80347414 00344374 38 80 00 07 */ li r4, 7 +/* 80347418 00344378 90 1F 00 6C */ stw r0, 0x6c(r31) +/* 8034741C 0034437C 38 A0 00 07 */ li r5, 7 +/* 80347420 00344380 38 C0 00 07 */ li r6, 7 +/* 80347424 00344384 38 E0 00 05 */ li r7, 5 +/* 80347428 00344388 48 03 40 C1 */ bl GXSetTevAlphaIn +lbl_8034742C: +/* 8034742C 0034438C 57 A3 44 2E */ rlwinm r3, r29, 8, 0x10, 0x17 +/* 80347430 00344390 80 1F 00 7C */ lwz r0, 0x7c(r31) +/* 80347434 00344394 53 C3 06 3E */ rlwimi r3, r30, 0, 0x18, 0x1f +/* 80347438 00344398 64 63 00 05 */ oris r3, r3, 5 +/* 8034743C 0034439C 7C 00 18 40 */ cmplw r0, r3 +/* 80347440 003443A0 41 82 00 1C */ beq lbl_8034745C +/* 80347444 003443A4 90 7F 00 7C */ stw r3, 0x7c(r31) +/* 80347448 003443A8 7F C4 F3 78 */ mr r4, r30 +/* 8034744C 003443AC 7F A5 EB 78 */ mr r5, r29 +/* 80347450 003443B0 38 60 00 00 */ li r3, 0 +/* 80347454 003443B4 38 C0 00 05 */ li r6, 5 +/* 80347458 003443B8 48 03 45 9D */ bl GXSetTevOrder +lbl_8034745C: +/* 8034745C 003443BC 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80347460 003443C0 3B A3 53 EC */ addi r29, r3, lbl_805A53EC@l +/* 80347464 003443C4 80 1D 00 8C */ lwz r0, 0x8c(r29) +/* 80347468 003443C8 28 00 03 00 */ cmplwi r0, 0x300 +/* 8034746C 003443CC 41 82 00 28 */ beq lbl_80347494 +/* 80347470 003443D0 38 00 03 00 */ li r0, 0x300 +/* 80347474 003443D4 38 60 00 01 */ li r3, 1 +/* 80347478 003443D8 90 1D 00 8C */ stw r0, 0x8c(r29) +/* 8034747C 003443DC 38 80 00 00 */ li r4, 0 +/* 80347480 003443E0 38 A0 00 00 */ li r5, 0 +/* 80347484 003443E4 38 C0 00 00 */ li r6, 0 +/* 80347488 003443E8 38 E0 00 01 */ li r7, 1 +/* 8034748C 003443EC 39 00 00 01 */ li r8, 1 +/* 80347490 003443F0 48 03 40 9D */ bl GXSetTevColorOp +lbl_80347494: +/* 80347494 003443F4 80 1D 00 90 */ lwz r0, 0x90(r29) +/* 80347498 003443F8 28 00 03 00 */ cmplwi r0, 0x300 +/* 8034749C 003443FC 41 82 00 28 */ beq lbl_803474C4 +/* 803474A0 00344400 38 00 03 00 */ li r0, 0x300 +/* 803474A4 00344404 38 60 00 01 */ li r3, 1 +/* 803474A8 00344408 90 1D 00 90 */ stw r0, 0x90(r29) +/* 803474AC 0034440C 38 80 00 00 */ li r4, 0 +/* 803474B0 00344410 38 A0 00 00 */ li r5, 0 +/* 803474B4 00344414 38 C0 00 00 */ li r6, 0 +/* 803474B8 00344418 38 E0 00 01 */ li r7, 1 +/* 803474BC 0034441C 39 00 00 01 */ li r8, 1 +/* 803474C0 00344420 48 03 40 D5 */ bl GXSetTevAlphaOp +lbl_803474C4: +/* 803474C4 00344424 80 7D 00 84 */ lwz r3, 0x84(r29) +/* 803474C8 00344428 3C 03 FF FF */ addis r0, r3, 0xffff +/* 803474CC 0034442C 28 00 31 4F */ cmplwi r0, 0x314f +/* 803474D0 00344430 41 82 00 28 */ beq lbl_803474F8 +/* 803474D4 00344434 3C 80 00 01 */ lis r4, 0x0001314F@ha +/* 803474D8 00344438 38 60 00 01 */ li r3, 1 +/* 803474DC 0034443C 38 04 31 4F */ addi r0, r4, 0x0001314F@l +/* 803474E0 00344440 38 80 00 0F */ li r4, 0xf +/* 803474E4 00344444 90 1D 00 84 */ stw r0, 0x84(r29) +/* 803474E8 00344448 38 A0 00 0A */ li r5, 0xa +/* 803474EC 0034444C 38 C0 00 0C */ li r6, 0xc +/* 803474F0 00344450 38 E0 00 02 */ li r7, 2 +/* 803474F4 00344454 48 03 3F B1 */ bl GXSetTevColorIn +lbl_803474F8: +/* 803474F8 00344458 80 1D 00 88 */ lwz r0, 0x88(r29) +/* 803474FC 0034445C 28 00 98 A7 */ cmplwi r0, 0x98a7 +/* 80347500 00344460 41 82 00 28 */ beq lbl_80347528 +/* 80347504 00344464 3C 80 00 01 */ lis r4, 0x000098A7@ha +/* 80347508 00344468 38 60 00 01 */ li r3, 1 +/* 8034750C 0034446C 38 04 98 A7 */ addi r0, r4, 0x000098A7@l +/* 80347510 00344470 38 80 00 07 */ li r4, 7 +/* 80347514 00344474 90 1D 00 88 */ stw r0, 0x88(r29) +/* 80347518 00344478 38 A0 00 05 */ li r5, 5 +/* 8034751C 0034447C 38 C0 00 06 */ li r6, 6 +/* 80347520 00344480 38 E0 00 01 */ li r7, 1 +/* 80347524 00344484 48 03 3F C5 */ bl GXSetTevAlphaIn +lbl_80347528: +/* 80347528 00344488 88 1D 00 9D */ lbz r0, 0x9d(r29) +/* 8034752C 0034448C 2C 00 00 00 */ cmpwi r0, 0 +/* 80347530 00344490 41 82 00 18 */ beq lbl_80347548 +/* 80347534 00344494 38 00 00 00 */ li r0, 0 +/* 80347538 00344498 38 60 00 01 */ li r3, 1 +/* 8034753C 0034449C 98 1D 00 9D */ stb r0, 0x9d(r29) +/* 80347540 003444A0 38 80 00 00 */ li r4, 0 +/* 80347544 003444A4 48 03 42 81 */ bl GXSetTevKAlphaSel +lbl_80347548: +/* 80347548 003444A8 80 7D 00 98 */ lwz r3, 0x98(r29) +/* 8034754C 003444AC 3C 03 FF FC */ addis r0, r3, 0xfffc +/* 80347550 003444B0 28 00 FF FF */ cmplwi r0, 0xffff +/* 80347554 003444B4 41 82 00 24 */ beq lbl_80347578 +/* 80347558 003444B8 3C 80 00 05 */ lis r4, 0x0004FFFF@ha +/* 8034755C 003444BC 38 60 00 01 */ li r3, 1 +/* 80347560 003444C0 38 04 FF FF */ addi r0, r4, 0x0004FFFF@l +/* 80347564 003444C4 38 80 00 FF */ li r4, 0xff +/* 80347568 003444C8 90 1D 00 98 */ stw r0, 0x98(r29) +/* 8034756C 003444CC 38 A0 00 FF */ li r5, 0xff +/* 80347570 003444D0 38 C0 00 04 */ li r6, 4 +/* 80347574 003444D4 48 03 44 81 */ bl GXSetTevOrder +lbl_80347578: +/* 80347578 003444D8 BB 01 00 40 */ lmw r24, 0x40(r1) +/* 8034757C 003444DC 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80347580 003444E0 7C 08 03 A6 */ mtlr r0 +/* 80347584 003444E4 38 21 00 60 */ addi r1, r1, 0x60 +/* 80347588 003444E8 4E 80 00 20 */ blr + +.global HandleTransparency__FUiUiRC11CModelFlagsRUiRUi +HandleTransparency__FUiUiRC11CModelFlagsRUiRUi: +/* 8034758C 003444EC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80347590 003444F0 7C 08 02 A6 */ mflr r0 +/* 80347594 003444F4 90 01 00 34 */ stw r0, 0x34(r1) +/* 80347598 003444F8 BF 01 00 10 */ stmw r24, 0x10(r1) +/* 8034759C 003444FC 7C B9 2B 78 */ mr r25, r5 +/* 803475A0 00344500 7C 7E 1B 78 */ mr r30, r3 +/* 803475A4 00344504 7C 9F 23 78 */ mr r31, r4 +/* 803475A8 00344508 7C FD 3B 78 */ mr r29, r7 +/* 803475AC 0034450C 7D 1B 43 78 */ mr r27, r8 +/* 803475B0 00344510 88 05 00 00 */ lbz r0, 0(r5) +/* 803475B4 00344514 7C 00 07 74 */ extsb r0, r0 +/* 803475B8 00344518 2C 00 00 02 */ cmpwi r0, 2 +/* 803475BC 0034451C 40 82 00 10 */ bne lbl_803475CC +/* 803475C0 00344520 54 C3 84 3E */ srwi r3, r6, 0x10 +/* 803475C4 00344524 2C 03 00 01 */ cmpwi r3, 1 +/* 803475C8 00344528 41 82 04 10 */ beq lbl_803479D8 +lbl_803475CC: +/* 803475CC 0034452C 2C 00 00 03 */ cmpwi r0, 3 +/* 803475D0 00344530 40 82 02 84 */ bne lbl_80347854 +/* 803475D4 00344534 80 7E 00 00 */ lwz r3, 0(r30) +/* 803475D8 00344538 3C 80 80 5A */ lis r4, lbl_805A53EC@ha +/* 803475DC 0034453C 38 04 53 EC */ addi r0, r4, lbl_805A53EC@l +/* 803475E0 00344540 1C 83 00 1C */ mulli r4, r3, 0x1c +/* 803475E4 00344544 7C 7B 1B 78 */ mr r27, r3 +/* 803475E8 00344548 3B 43 00 01 */ addi r26, r3, 1 +/* 803475EC 0034454C 7C 80 22 14 */ add r4, r0, r4 +/* 803475F0 00344550 3B A4 00 68 */ addi r29, r4, 0x68 +/* 803475F4 00344554 80 84 00 68 */ lwz r4, 0x68(r4) +/* 803475F8 00344558 3C 04 FF F9 */ addis r0, r4, 0xfff9 +/* 803475FC 0034455C 28 00 3D EF */ cmplwi r0, 0x3def +/* 80347600 00344560 41 82 00 24 */ beq lbl_80347624 +/* 80347604 00344564 3C 80 00 07 */ lis r4, 0x00073DEF@ha +/* 80347608 00344568 38 A0 00 0F */ li r5, 0xf +/* 8034760C 0034456C 38 04 3D EF */ addi r0, r4, 0x00073DEF@l +/* 80347610 00344570 38 C0 00 0F */ li r6, 0xf +/* 80347614 00344574 90 1D 00 00 */ stw r0, 0(r29) +/* 80347618 00344578 38 80 00 0F */ li r4, 0xf +/* 8034761C 0034457C 38 E0 00 0E */ li r7, 0xe +/* 80347620 00344580 48 03 3E 85 */ bl GXSetTevColorIn +lbl_80347624: +/* 80347624 00344584 80 1D 00 04 */ lwz r0, 4(r29) +/* 80347628 00344588 28 00 1C E7 */ cmplwi r0, 0x1ce7 +/* 8034762C 0034458C 41 82 00 24 */ beq lbl_80347650 +/* 80347630 00344590 38 00 1C E7 */ li r0, 0x1ce7 +/* 80347634 00344594 7F 63 DB 78 */ mr r3, r27 +/* 80347638 00344598 90 1D 00 04 */ stw r0, 4(r29) +/* 8034763C 0034459C 38 80 00 07 */ li r4, 7 +/* 80347640 003445A0 38 A0 00 07 */ li r5, 7 +/* 80347644 003445A4 38 C0 00 07 */ li r6, 7 +/* 80347648 003445A8 38 E0 00 00 */ li r7, 0 +/* 8034764C 003445AC 48 03 3E 9D */ bl GXSetTevAlphaIn +lbl_80347650: +/* 80347650 003445B0 80 1D 00 08 */ lwz r0, 8(r29) +/* 80347654 003445B4 28 00 03 00 */ cmplwi r0, 0x300 +/* 80347658 003445B8 41 82 00 28 */ beq lbl_80347680 +/* 8034765C 003445BC 38 00 03 00 */ li r0, 0x300 +/* 80347660 003445C0 7F 63 DB 78 */ mr r3, r27 +/* 80347664 003445C4 90 1D 00 08 */ stw r0, 8(r29) +/* 80347668 003445C8 38 80 00 00 */ li r4, 0 +/* 8034766C 003445CC 38 A0 00 00 */ li r5, 0 +/* 80347670 003445D0 38 C0 00 00 */ li r6, 0 +/* 80347674 003445D4 38 E0 00 01 */ li r7, 1 +/* 80347678 003445D8 39 00 00 01 */ li r8, 1 +/* 8034767C 003445DC 48 03 3E B1 */ bl GXSetTevColorOp +lbl_80347680: +/* 80347680 003445E0 80 7F 00 00 */ lwz r3, 0(r31) +/* 80347684 003445E4 88 1D 00 18 */ lbz r0, 0x18(r29) +/* 80347688 003445E8 38 83 00 1C */ addi r4, r3, 0x1c +/* 8034768C 003445EC 7C 04 00 00 */ cmpw r4, r0 +/* 80347690 003445F0 41 82 00 10 */ beq lbl_803476A0 +/* 80347694 003445F4 98 9D 00 18 */ stb r4, 0x18(r29) +/* 80347698 003445F8 7F 63 DB 78 */ mr r3, r27 +/* 8034769C 003445FC 48 03 40 BD */ bl GXSetTevKColorSel +lbl_803476A0: +/* 803476A0 00344600 80 1D 00 0C */ lwz r0, 0xc(r29) +/* 803476A4 00344604 28 00 01 00 */ cmplwi r0, 0x100 +/* 803476A8 00344608 41 82 00 28 */ beq lbl_803476D0 +/* 803476AC 0034460C 38 00 01 00 */ li r0, 0x100 +/* 803476B0 00344610 7F 63 DB 78 */ mr r3, r27 +/* 803476B4 00344614 90 1D 00 0C */ stw r0, 0xc(r29) +/* 803476B8 00344618 38 80 00 00 */ li r4, 0 +/* 803476BC 0034461C 38 A0 00 00 */ li r5, 0 +/* 803476C0 00344620 38 C0 00 00 */ li r6, 0 +/* 803476C4 00344624 38 E0 00 01 */ li r7, 1 +/* 803476C8 00344628 39 00 00 00 */ li r8, 0 +/* 803476CC 0034462C 48 03 3E C9 */ bl GXSetTevAlphaOp +lbl_803476D0: +/* 803476D0 00344630 80 7D 00 14 */ lwz r3, 0x14(r29) +/* 803476D4 00344634 3C 03 FF 01 */ addis r0, r3, 0xff01 +/* 803476D8 00344638 28 00 FF FF */ cmplwi r0, 0xffff +/* 803476DC 0034463C 41 82 00 24 */ beq lbl_80347700 +/* 803476E0 00344640 3C 80 01 00 */ lis r4, 0x00FFFFFF@ha +/* 803476E4 00344644 7F 63 DB 78 */ mr r3, r27 +/* 803476E8 00344648 38 04 FF FF */ addi r0, r4, 0x00FFFFFF@l +/* 803476EC 0034464C 38 80 00 FF */ li r4, 0xff +/* 803476F0 00344650 90 1D 00 14 */ stw r0, 0x14(r29) +/* 803476F4 00344654 38 A0 00 FF */ li r5, 0xff +/* 803476F8 00344658 38 C0 00 FF */ li r6, 0xff +/* 803476FC 0034465C 48 03 42 F9 */ bl GXSetTevOrder +lbl_80347700: +/* 80347700 00344660 80 1D 00 10 */ lwz r0, 0x10(r29) +/* 80347704 00344664 28 00 00 00 */ cmplwi r0, 0 +/* 80347708 00344668 41 82 00 14 */ beq lbl_8034771C +/* 8034770C 0034466C 38 00 00 00 */ li r0, 0 +/* 80347710 00344670 7F 63 DB 78 */ mr r3, r27 +/* 80347714 00344674 90 1D 00 10 */ stw r0, 0x10(r29) +/* 80347718 00344678 48 03 3B C9 */ bl GXSetTevDirect +lbl_8034771C: +/* 8034771C 0034467C 1C 9A 00 1C */ mulli r4, r26, 0x1c +/* 80347720 00344680 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80347724 00344684 38 03 53 EC */ addi r0, r3, lbl_805A53EC@l +/* 80347728 00344688 7C 60 22 14 */ add r3, r0, r4 +/* 8034772C 0034468C 3B 83 00 68 */ addi r28, r3, 0x68 +/* 80347730 00344690 80 63 00 68 */ lwz r3, 0x68(r3) +/* 80347734 00344694 3C 03 FF F9 */ addis r0, r3, 0xfff9 +/* 80347738 00344698 28 00 B8 40 */ cmplwi r0, 0xb840 +/* 8034773C 0034469C 41 82 00 28 */ beq lbl_80347764 +/* 80347740 003446A0 3C 80 00 08 */ lis r4, 0x0007B840@ha +/* 80347744 003446A4 7F 43 D3 78 */ mr r3, r26 +/* 80347748 003446A8 38 04 B8 40 */ addi r0, r4, 0x0007B840@l +/* 8034774C 003446AC 38 80 00 00 */ li r4, 0 +/* 80347750 003446B0 90 1C 00 00 */ stw r0, 0(r28) +/* 80347754 003446B4 38 A0 00 02 */ li r5, 2 +/* 80347758 003446B8 38 C0 00 0E */ li r6, 0xe +/* 8034775C 003446BC 38 E0 00 0F */ li r7, 0xf +/* 80347760 003446C0 48 03 3D 45 */ bl GXSetTevColorIn +lbl_80347764: +/* 80347764 003446C4 80 1C 00 04 */ lwz r0, 4(r28) +/* 80347768 003446C8 28 00 1C E7 */ cmplwi r0, 0x1ce7 +/* 8034776C 003446CC 41 82 00 24 */ beq lbl_80347790 +/* 80347770 003446D0 38 00 1C E7 */ li r0, 0x1ce7 +/* 80347774 003446D4 7F 43 D3 78 */ mr r3, r26 +/* 80347778 003446D8 90 1C 00 04 */ stw r0, 4(r28) +/* 8034777C 003446DC 38 80 00 07 */ li r4, 7 +/* 80347780 003446E0 38 A0 00 07 */ li r5, 7 +/* 80347784 003446E4 38 C0 00 07 */ li r6, 7 +/* 80347788 003446E8 38 E0 00 00 */ li r7, 0 +/* 8034778C 003446EC 48 03 3D 5D */ bl GXSetTevAlphaIn +lbl_80347790: +/* 80347790 003446F0 80 7F 00 00 */ lwz r3, 0(r31) +/* 80347794 003446F4 88 1D 00 18 */ lbz r0, 0x18(r29) +/* 80347798 003446F8 38 83 00 0C */ addi r4, r3, 0xc +/* 8034779C 003446FC 7C 04 00 00 */ cmpw r4, r0 +/* 803477A0 00344700 41 82 00 10 */ beq lbl_803477B0 +/* 803477A4 00344704 98 9D 00 18 */ stb r4, 0x18(r29) +/* 803477A8 00344708 7F 63 DB 78 */ mr r3, r27 +/* 803477AC 0034470C 48 03 3F AD */ bl GXSetTevKColorSel +lbl_803477B0: +/* 803477B0 00344710 7F 43 D3 78 */ mr r3, r26 +/* 803477B4 00344714 4B FC 04 9D */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID +/* 803477B8 00344718 80 1C 00 10 */ lwz r0, 0x10(r28) +/* 803477BC 0034471C 28 00 00 00 */ cmplwi r0, 0 +/* 803477C0 00344720 41 82 00 14 */ beq lbl_803477D4 +/* 803477C4 00344724 38 00 00 00 */ li r0, 0 +/* 803477C8 00344728 7F 43 D3 78 */ mr r3, r26 +/* 803477CC 0034472C 90 1C 00 10 */ stw r0, 0x10(r28) +/* 803477D0 00344730 48 03 3B 11 */ bl GXSetTevDirect +lbl_803477D4: +/* 803477D4 00344734 80 7C 00 14 */ lwz r3, 0x14(r28) +/* 803477D8 00344738 3C 03 FF 01 */ addis r0, r3, 0xff01 +/* 803477DC 0034473C 28 00 FF FF */ cmplwi r0, 0xffff +/* 803477E0 00344740 41 82 00 24 */ beq lbl_80347804 +/* 803477E4 00344744 3C 80 01 00 */ lis r4, 0x00FFFFFF@ha +/* 803477E8 00344748 7F 43 D3 78 */ mr r3, r26 +/* 803477EC 0034474C 38 04 FF FF */ addi r0, r4, 0x00FFFFFF@l +/* 803477F0 00344750 38 80 00 FF */ li r4, 0xff +/* 803477F4 00344754 90 1C 00 14 */ stw r0, 0x14(r28) +/* 803477F8 00344758 38 A0 00 FF */ li r5, 0xff +/* 803477FC 0034475C 38 C0 00 FF */ li r6, 0xff +/* 80347800 00344760 48 03 41 F5 */ bl GXSetTevOrder +lbl_80347804: +/* 80347804 00344764 80 7F 00 00 */ lwz r3, 0(r31) +/* 80347808 00344768 3C 80 80 5A */ lis r4, lbl_805A53EC@ha +/* 8034780C 0034476C 38 04 53 EC */ addi r0, r4, lbl_805A53EC@l +/* 80347810 00344770 80 B9 00 04 */ lwz r5, 4(r25) +/* 80347814 00344774 54 64 10 3A */ slwi r4, r3, 2 +/* 80347818 00344778 7C 80 22 14 */ add r4, r0, r4 +/* 8034781C 0034477C 84 04 00 58 */ lwzu r0, 0x58(r4) +/* 80347820 00344780 7C 00 28 40 */ cmplw r0, r5 +/* 80347824 00344784 41 82 00 14 */ beq lbl_80347838 +/* 80347828 00344788 90 A4 00 00 */ stw r5, 0(r4) +/* 8034782C 0034478C 38 81 00 0C */ addi r4, r1, 0xc +/* 80347830 00344790 90 A1 00 0C */ stw r5, 0xc(r1) +/* 80347834 00344794 48 03 3E B1 */ bl GXSetTevKColor +lbl_80347838: +/* 80347838 00344798 80 7F 00 00 */ lwz r3, 0(r31) +/* 8034783C 0034479C 38 03 00 01 */ addi r0, r3, 1 +/* 80347840 003447A0 90 1F 00 00 */ stw r0, 0(r31) +/* 80347844 003447A4 80 7E 00 00 */ lwz r3, 0(r30) +/* 80347848 003447A8 38 03 00 02 */ addi r0, r3, 2 +/* 8034784C 003447AC 90 1E 00 00 */ stw r0, 0(r30) +/* 80347850 003447B0 48 00 01 88 */ b lbl_803479D8 +lbl_80347854: +/* 80347854 003447B4 2C 00 00 08 */ cmpwi r0, 8 +/* 80347858 003447B8 3C 60 00 04 */ lis r3, 0x000380C7@ha +/* 8034785C 003447BC 3B 03 80 C7 */ addi r24, r3, 0x000380C7@l +/* 80347860 003447C0 40 82 00 0C */ bne lbl_8034786C +/* 80347864 003447C4 3C 60 00 03 */ lis r3, 0x00031CE7@ha +/* 80347868 003447C8 3B 03 1C E7 */ addi r24, r3, 0x00031CE7@l +lbl_8034786C: +/* 8034786C 003447CC 2C 00 00 02 */ cmpwi r0, 2 +/* 80347870 003447D0 3C 60 00 08 */ lis r3, 0x000781CF@ha +/* 80347874 003447D4 38 E3 81 CF */ addi r7, r3, 0x000781CF@l +/* 80347878 003447D8 40 82 00 0C */ bne lbl_80347884 +/* 8034787C 003447DC 3C 60 00 07 */ lis r3, 0x0007018F@ha +/* 80347880 003447E0 38 E3 01 8F */ addi r7, r3, 0x0007018F@l +lbl_80347884: +/* 80347884 003447E4 83 5E 00 00 */ lwz r26, 0(r30) +/* 80347888 003447E8 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 8034788C 003447EC 38 03 53 EC */ addi r0, r3, lbl_805A53EC@l +/* 80347890 003447F0 1C 7A 00 1C */ mulli r3, r26, 0x1c +/* 80347894 003447F4 7C 60 1A 14 */ add r3, r0, r3 +/* 80347898 003447F8 3B 83 00 68 */ addi r28, r3, 0x68 +/* 8034789C 003447FC 80 03 00 68 */ lwz r0, 0x68(r3) +/* 803478A0 00344800 7C 07 00 40 */ cmplw r7, r0 +/* 803478A4 00344804 41 82 00 20 */ beq lbl_803478C4 +/* 803478A8 00344808 90 FC 00 00 */ stw r7, 0(r28) +/* 803478AC 0034480C 7F 43 D3 78 */ mr r3, r26 +/* 803478B0 00344810 54 E4 06 FE */ clrlwi r4, r7, 0x1b +/* 803478B4 00344814 54 E5 DE FE */ rlwinm r5, r7, 0x1b, 0x1b, 0x1f +/* 803478B8 00344818 54 E6 B6 FE */ rlwinm r6, r7, 0x16, 0x1b, 0x1f +/* 803478BC 0034481C 54 E7 8E FE */ rlwinm r7, r7, 0x11, 0x1b, 0x1f +/* 803478C0 00344820 48 03 3B E5 */ bl GXSetTevColorIn +lbl_803478C4: +/* 803478C4 00344824 80 1C 00 04 */ lwz r0, 4(r28) +/* 803478C8 00344828 7C 18 00 40 */ cmplw r24, r0 +/* 803478CC 0034482C 41 82 00 20 */ beq lbl_803478EC +/* 803478D0 00344830 93 1C 00 04 */ stw r24, 4(r28) +/* 803478D4 00344834 7F 43 D3 78 */ mr r3, r26 +/* 803478D8 00344838 57 04 06 FE */ clrlwi r4, r24, 0x1b +/* 803478DC 0034483C 57 05 DE FE */ rlwinm r5, r24, 0x1b, 0x1b, 0x1f +/* 803478E0 00344840 57 06 B6 FE */ rlwinm r6, r24, 0x16, 0x1b, 0x1f +/* 803478E4 00344844 57 07 8E FE */ rlwinm r7, r24, 0x11, 0x1b, 0x1f +/* 803478E8 00344848 48 03 3C 01 */ bl GXSetTevAlphaIn +lbl_803478EC: +/* 803478EC 0034484C 7F 43 D3 78 */ mr r3, r26 +/* 803478F0 00344850 4B FC 03 61 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID +/* 803478F4 00344854 38 00 01 00 */ li r0, 0x100 +/* 803478F8 00344858 90 1D 00 00 */ stw r0, 0(r29) +/* 803478FC 0034485C 90 1B 00 00 */ stw r0, 0(r27) +/* 80347900 00344860 80 1C 00 10 */ lwz r0, 0x10(r28) +/* 80347904 00344864 28 00 00 00 */ cmplwi r0, 0 +/* 80347908 00344868 41 82 00 14 */ beq lbl_8034791C +/* 8034790C 0034486C 38 00 00 00 */ li r0, 0 +/* 80347910 00344870 7F 43 D3 78 */ mr r3, r26 +/* 80347914 00344874 90 1C 00 10 */ stw r0, 0x10(r28) +/* 80347918 00344878 48 03 39 C9 */ bl GXSetTevDirect +lbl_8034791C: +/* 8034791C 0034487C 80 7C 00 14 */ lwz r3, 0x14(r28) +/* 80347920 00344880 3C 03 FF 01 */ addis r0, r3, 0xff01 +/* 80347924 00344884 28 00 FF FF */ cmplwi r0, 0xffff +/* 80347928 00344888 41 82 00 24 */ beq lbl_8034794C +/* 8034792C 0034488C 3C 80 01 00 */ lis r4, 0x00FFFFFF@ha +/* 80347930 00344890 7F 43 D3 78 */ mr r3, r26 +/* 80347934 00344894 38 04 FF FF */ addi r0, r4, 0x00FFFFFF@l +/* 80347938 00344898 38 80 00 FF */ li r4, 0xff +/* 8034793C 0034489C 90 1C 00 14 */ stw r0, 0x14(r28) +/* 80347940 003448A0 38 A0 00 FF */ li r5, 0xff +/* 80347944 003448A4 38 C0 00 FF */ li r6, 0xff +/* 80347948 003448A8 48 03 40 AD */ bl GXSetTevOrder +lbl_8034794C: +/* 8034794C 003448AC 80 7F 00 00 */ lwz r3, 0(r31) +/* 80347950 003448B0 3C 80 80 5A */ lis r4, lbl_805A53EC@ha +/* 80347954 003448B4 38 04 53 EC */ addi r0, r4, lbl_805A53EC@l +/* 80347958 003448B8 80 B9 00 04 */ lwz r5, 4(r25) +/* 8034795C 003448BC 54 64 10 3A */ slwi r4, r3, 2 +/* 80347960 003448C0 7C 80 22 14 */ add r4, r0, r4 +/* 80347964 003448C4 84 04 00 58 */ lwzu r0, 0x58(r4) +/* 80347968 003448C8 7C 00 28 40 */ cmplw r0, r5 +/* 8034796C 003448CC 41 82 00 14 */ beq lbl_80347980 +/* 80347970 003448D0 90 A4 00 00 */ stw r5, 0(r4) +/* 80347974 003448D4 38 81 00 08 */ addi r4, r1, 8 +/* 80347978 003448D8 90 A1 00 08 */ stw r5, 8(r1) +/* 8034797C 003448DC 48 03 3D 69 */ bl GXSetTevKColor +lbl_80347980: +/* 80347980 003448E0 80 7F 00 00 */ lwz r3, 0(r31) +/* 80347984 003448E4 88 1C 00 18 */ lbz r0, 0x18(r28) +/* 80347988 003448E8 38 83 00 0C */ addi r4, r3, 0xc +/* 8034798C 003448EC 7C 04 00 00 */ cmpw r4, r0 +/* 80347990 003448F0 41 82 00 10 */ beq lbl_803479A0 +/* 80347994 003448F4 98 9C 00 18 */ stb r4, 0x18(r28) +/* 80347998 003448F8 7F 43 D3 78 */ mr r3, r26 +/* 8034799C 003448FC 48 03 3D BD */ bl GXSetTevKColorSel +lbl_803479A0: +/* 803479A0 00344900 80 7F 00 00 */ lwz r3, 0(r31) +/* 803479A4 00344904 88 1C 00 19 */ lbz r0, 0x19(r28) +/* 803479A8 00344908 38 83 00 1C */ addi r4, r3, 0x1c +/* 803479AC 0034490C 7C 04 00 00 */ cmpw r4, r0 +/* 803479B0 00344910 41 82 00 10 */ beq lbl_803479C0 +/* 803479B4 00344914 98 9C 00 19 */ stb r4, 0x19(r28) +/* 803479B8 00344918 7F 43 D3 78 */ mr r3, r26 +/* 803479BC 0034491C 48 03 3E 09 */ bl GXSetTevKAlphaSel +lbl_803479C0: +/* 803479C0 00344920 80 7E 00 00 */ lwz r3, 0(r30) +/* 803479C4 00344924 38 03 00 01 */ addi r0, r3, 1 +/* 803479C8 00344928 90 1E 00 00 */ stw r0, 0(r30) +/* 803479CC 0034492C 80 7F 00 00 */ lwz r3, 0(r31) +/* 803479D0 00344930 38 03 00 01 */ addi r0, r3, 1 +/* 803479D4 00344934 90 1F 00 00 */ stw r0, 0(r31) +lbl_803479D8: +/* 803479D8 00344938 BB 01 00 10 */ lmw r24, 0x10(r1) +/* 803479DC 0034493C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 803479E0 00344940 7C 08 03 A6 */ mtlr r0 +/* 803479E4 00344944 38 21 00 30 */ addi r1, r1, 0x30 +/* 803479E8 00344948 4E 80 00 20 */ blr + +.global HandleAnimatedUV__FPCUi9_GXTexMtx11_GXPTTexMtx +HandleAnimatedUV__FPCUi9_GXTexMtx11_GXPTTexMtx: +/* 803479EC 0034494C 94 21 FC C0 */ stwu r1, -0x340(r1) +/* 803479F0 00344950 7C 08 02 A6 */ mflr r0 +/* 803479F4 00344954 90 01 03 44 */ stw r0, 0x344(r1) +/* 803479F8 00344958 DB E1 03 30 */ stfd f31, 0x330(r1) +/* 803479FC 0034495C F3 E1 03 38 */ psq_st f31, 824(r1), 0, qr0 +/* 80347A00 00344960 DB C1 03 20 */ stfd f30, 0x320(r1) +/* 80347A04 00344964 F3 C1 03 28 */ psq_st f30, 808(r1), 0, qr0 +/* 80347A08 00344968 DB A1 03 10 */ stfd f29, 0x310(r1) +/* 80347A0C 0034496C F3 A1 03 18 */ psq_st f29, 792(r1), 0, qr0 +/* 80347A10 00344970 DB 81 03 00 */ stfd f28, 0x300(r1) +/* 80347A14 00344974 F3 81 03 08 */ psq_st f28, 776(r1), 0, qr0 +/* 80347A18 00344978 DB 61 02 F0 */ stfd f27, 0x2f0(r1) +/* 80347A1C 0034497C F3 61 02 F8 */ psq_st f27, 760(r1), 0, qr0 +/* 80347A20 00344980 BD E1 02 AC */ stmw r15, 0x2ac(r1) +/* 80347A24 00344984 7C 7C 1B 78 */ mr r28, r3 +/* 80347A28 00344988 3C 60 80 3D */ lis r3, lbl_803D7F58@ha +/* 80347A2C 0034498C 81 FC 00 00 */ lwz r15, 0(r28) +/* 80347A30 00344990 7C 9B 23 78 */ mr r27, r4 +/* 80347A34 00344994 7C BE 2B 78 */ mr r30, r5 +/* 80347A38 00344998 3B E3 7F 58 */ addi r31, r3, lbl_803D7F58@l +/* 80347A3C 0034499C 28 0F 00 07 */ cmplwi r15, 7 +/* 80347A40 003449A0 41 81 05 A0 */ bgt lbl_80347FE0 +/* 80347A44 003449A4 3C 60 80 3F */ lis r3, lbl_803EF640@ha +/* 80347A48 003449A8 55 E0 10 3A */ slwi r0, r15, 2 +/* 80347A4C 003449AC 38 63 F6 40 */ addi r3, r3, lbl_803EF640@l +/* 80347A50 003449B0 7C 03 00 2E */ lwzx r0, r3, r0 +/* 80347A54 003449B4 7C 09 03 A6 */ mtctr r0 +/* 80347A58 003449B8 4E 80 04 20 */ bctr +/* 80347A5C 003449BC 3C 80 80 5A */ lis r4, lbl_805A61D4@ha +/* 80347A60 003449C0 38 61 00 CC */ addi r3, r1, 0xcc +/* 80347A64 003449C4 38 84 61 D4 */ addi r4, r4, lbl_805A61D4@l +/* 80347A68 003449C8 4B FC B2 35 */ bl GetQuickInverse__12CTransform4fCFv +/* 80347A6C 003449CC 3C 80 80 5A */ lis r4, lbl_805A6204@ha +/* 80347A70 003449D0 38 61 00 FC */ addi r3, r1, 0xfc +/* 80347A74 003449D4 38 A4 62 04 */ addi r5, r4, lbl_805A6204@l +/* 80347A78 003449D8 38 81 00 CC */ addi r4, r1, 0xcc +/* 80347A7C 003449DC 4B FC B4 B5 */ bl MultiplyIgnoreTranslation__12CTransform4fCFRC12CTransform4f +/* 80347A80 003449E0 38 61 02 4C */ addi r3, r1, 0x24c +/* 80347A84 003449E4 38 81 00 FC */ addi r4, r1, 0xfc +/* 80347A88 003449E8 4B FC B0 ED */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80347A8C 003449EC 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80347A90 003449F0 7F 64 DB 78 */ mr r4, r27 +/* 80347A94 003449F4 38 C3 66 A0 */ addi r6, r3, skZero3f@l +/* 80347A98 003449F8 38 61 02 4C */ addi r3, r1, 0x24c +/* 80347A9C 003449FC C0 46 00 00 */ lfs f2, 0(r6) +/* 80347AA0 00344A00 38 A0 00 00 */ li r5, 0 +/* 80347AA4 00344A04 C0 26 00 04 */ lfs f1, 4(r6) +/* 80347AA8 00344A08 C0 06 00 08 */ lfs f0, 8(r6) +/* 80347AAC 00344A0C D0 41 02 58 */ stfs f2, 0x258(r1) +/* 80347AB0 00344A10 D0 21 02 68 */ stfs f1, 0x268(r1) +/* 80347AB4 00344A14 D0 01 02 78 */ stfs f0, 0x278(r1) +/* 80347AB8 00344A18 48 03 49 D9 */ bl GXLoadTexMtxImm +/* 80347ABC 00344A1C 7F C4 F3 78 */ mr r4, r30 +/* 80347AC0 00344A20 38 7F 00 00 */ addi r3, r31, 0 +/* 80347AC4 00344A24 38 A0 00 00 */ li r5, 0 +/* 80347AC8 00344A28 48 03 49 C9 */ bl GXLoadTexMtxImm +/* 80347ACC 00344A2C 38 60 00 01 */ li r3, 1 +/* 80347AD0 00344A30 48 00 05 14 */ b lbl_80347FE4 +/* 80347AD4 00344A34 3C 80 80 5A */ lis r4, lbl_805A61D4@ha +/* 80347AD8 00344A38 38 61 00 6C */ addi r3, r1, 0x6c +/* 80347ADC 00344A3C 38 84 61 D4 */ addi r4, r4, lbl_805A61D4@l +/* 80347AE0 00344A40 4B FC B1 BD */ bl GetQuickInverse__12CTransform4fCFv +/* 80347AE4 00344A44 3C 80 80 5A */ lis r4, lbl_805A6204@ha +/* 80347AE8 00344A48 38 61 00 9C */ addi r3, r1, 0x9c +/* 80347AEC 00344A4C 38 A4 62 04 */ addi r5, r4, lbl_805A6204@l +/* 80347AF0 00344A50 38 81 00 6C */ addi r4, r1, 0x6c +/* 80347AF4 00344A54 4B FC AE 5D */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80347AF8 00344A58 38 61 02 1C */ addi r3, r1, 0x21c +/* 80347AFC 00344A5C 38 81 00 9C */ addi r4, r1, 0x9c +/* 80347B00 00344A60 4B FC B0 75 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80347B04 00344A64 7F 64 DB 78 */ mr r4, r27 +/* 80347B08 00344A68 38 61 02 1C */ addi r3, r1, 0x21c +/* 80347B0C 00344A6C 38 A0 00 00 */ li r5, 0 +/* 80347B10 00344A70 48 03 49 81 */ bl GXLoadTexMtxImm +/* 80347B14 00344A74 7F C4 F3 78 */ mr r4, r30 +/* 80347B18 00344A78 38 7F 00 00 */ addi r3, r31, 0 +/* 80347B1C 00344A7C 38 A0 00 00 */ li r5, 0 +/* 80347B20 00344A80 48 03 49 71 */ bl GXLoadTexMtxImm +/* 80347B24 00344A84 38 60 00 01 */ li r3, 1 +/* 80347B28 00344A88 48 00 04 BC */ b lbl_80347FE4 +/* 80347B2C 00344A8C C3 FC 00 04 */ lfs f31, 4(r28) +/* 80347B30 00344A90 C3 DC 00 08 */ lfs f30, 8(r28) +/* 80347B34 00344A94 C3 BC 00 0C */ lfs f29, 0xc(r28) +/* 80347B38 00344A98 C3 9C 00 10 */ lfs f28, 0x10(r28) +/* 80347B3C 00344A9C 4B FC 23 A5 */ bl GetSecondsMod900__9CGraphicsFv +/* 80347B40 00344AA0 EC 41 FF 7A */ fmadds f2, f1, f29, f31 +/* 80347B44 00344AA4 3C 60 80 3F */ lis r3, lbl_803EF610@ha +/* 80347B48 00344AA8 EC 01 F7 3A */ fmadds f0, f1, f28, f30 +/* 80347B4C 00344AAC 38 63 F6 10 */ addi r3, r3, lbl_803EF610@l +/* 80347B50 00344AB0 7F 64 DB 78 */ mr r4, r27 +/* 80347B54 00344AB4 38 A0 00 00 */ li r5, 0 +/* 80347B58 00344AB8 D0 43 00 0C */ stfs f2, 0xc(r3) +/* 80347B5C 00344ABC D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 80347B60 00344AC0 48 03 49 31 */ bl GXLoadTexMtxImm +/* 80347B64 00344AC4 38 60 00 05 */ li r3, 5 +/* 80347B68 00344AC8 48 00 04 7C */ b lbl_80347FE4 +/* 80347B6C 00344ACC C3 9C 00 04 */ lfs f28, 4(r28) +/* 80347B70 00344AD0 C3 BC 00 08 */ lfs f29, 8(r28) +/* 80347B74 00344AD4 4B FC 23 6D */ bl GetSecondsMod900__9CGraphicsFv +/* 80347B78 00344AD8 EF 81 E7 7A */ fmadds f28, f1, f29, f28 +/* 80347B7C 00344ADC FC 20 E0 90 */ fmr f1, f28 +/* 80347B80 00344AE0 4B FC D2 71 */ bl FastSinR__5CMathFf +/* 80347B84 00344AE4 FF E0 08 90 */ fmr f31, f1 +/* 80347B88 00344AE8 FC 20 E0 90 */ fmr f1, f28 +/* 80347B8C 00344AEC 4B FC D1 B9 */ bl FastCosR__5CMathFf +/* 80347B90 00344AF0 EC 41 F8 28 */ fsubs f2, f1, f31 +/* 80347B94 00344AF4 C0 62 CB E8 */ lfs f3, lbl_805AE908@sda21(r2) +/* 80347B98 00344AF8 EC 1F 08 2A */ fadds f0, f31, f1 +/* 80347B9C 00344AFC 80 7F 00 30 */ lwz r3, 0x30(r31) +/* 80347BA0 00344B00 80 BF 00 34 */ lwz r5, 0x34(r31) +/* 80347BA4 00344B04 FC A0 F8 50 */ fneg f5, f31 +/* 80347BA8 00344B08 EC 43 10 28 */ fsubs f2, f3, f2 +/* 80347BAC 00344B0C C0 82 CB FC */ lfs f4, lbl_805AE91C@sda21(r2) +/* 80347BB0 00344B10 EC 03 00 28 */ fsubs f0, f3, f0 +/* 80347BB4 00344B14 81 1F 00 3C */ lwz r8, 0x3c(r31) +/* 80347BB8 00344B18 80 FF 00 40 */ lwz r7, 0x40(r31) +/* 80347BBC 00344B1C 7F 64 DB 78 */ mr r4, r27 +/* 80347BC0 00344B20 80 DF 00 44 */ lwz r6, 0x44(r31) +/* 80347BC4 00344B24 EC 44 00 B2 */ fmuls f2, f4, f2 +/* 80347BC8 00344B28 80 1F 00 4C */ lwz r0, 0x4c(r31) +/* 80347BCC 00344B2C EC 04 00 32 */ fmuls f0, f4, f0 +/* 80347BD0 00344B30 90 61 01 EC */ stw r3, 0x1ec(r1) +/* 80347BD4 00344B34 38 61 01 EC */ addi r3, r1, 0x1ec +/* 80347BD8 00344B38 81 5F 00 38 */ lwz r10, 0x38(r31) +/* 80347BDC 00344B3C 90 A1 01 F0 */ stw r5, 0x1f0(r1) +/* 80347BE0 00344B40 38 A0 00 00 */ li r5, 0 +/* 80347BE4 00344B44 81 3F 00 48 */ lwz r9, 0x48(r31) +/* 80347BE8 00344B48 91 01 01 F8 */ stw r8, 0x1f8(r1) +/* 80347BEC 00344B4C 81 1F 00 50 */ lwz r8, 0x50(r31) +/* 80347BF0 00344B50 90 E1 01 FC */ stw r7, 0x1fc(r1) +/* 80347BF4 00344B54 80 FF 00 54 */ lwz r7, 0x54(r31) +/* 80347BF8 00344B58 90 C1 02 00 */ stw r6, 0x200(r1) +/* 80347BFC 00344B5C 80 DF 00 58 */ lwz r6, 0x58(r31) +/* 80347C00 00344B60 90 01 02 08 */ stw r0, 0x208(r1) +/* 80347C04 00344B64 80 1F 00 5C */ lwz r0, 0x5c(r31) +/* 80347C08 00344B68 91 41 01 F4 */ stw r10, 0x1f4(r1) +/* 80347C0C 00344B6C 91 21 02 04 */ stw r9, 0x204(r1) +/* 80347C10 00344B70 91 01 02 0C */ stw r8, 0x20c(r1) +/* 80347C14 00344B74 90 E1 02 10 */ stw r7, 0x210(r1) +/* 80347C18 00344B78 90 C1 02 14 */ stw r6, 0x214(r1) +/* 80347C1C 00344B7C 90 01 02 18 */ stw r0, 0x218(r1) +/* 80347C20 00344B80 D0 21 01 EC */ stfs f1, 0x1ec(r1) +/* 80347C24 00344B84 D0 A1 01 F0 */ stfs f5, 0x1f0(r1) +/* 80347C28 00344B88 D0 41 01 F8 */ stfs f2, 0x1f8(r1) +/* 80347C2C 00344B8C D3 E1 01 FC */ stfs f31, 0x1fc(r1) +/* 80347C30 00344B90 D0 21 02 00 */ stfs f1, 0x200(r1) +/* 80347C34 00344B94 D0 01 02 08 */ stfs f0, 0x208(r1) +/* 80347C38 00344B98 48 03 48 59 */ bl GXLoadTexMtxImm +/* 80347C3C 00344B9C 38 60 00 03 */ li r3, 3 +/* 80347C40 00344BA0 48 00 03 A4 */ b lbl_80347FE4 +/* 80347C44 00344BA4 C3 9C 00 04 */ lfs f28, 4(r28) +/* 80347C48 00344BA8 C3 BC 00 08 */ lfs f29, 8(r28) +/* 80347C4C 00344BAC C3 DC 00 0C */ lfs f30, 0xc(r28) +/* 80347C50 00344BB0 C3 7C 00 10 */ lfs f27, 0x10(r28) +/* 80347C54 00344BB4 4B FC 22 8D */ bl GetSecondsMod900__9CGraphicsFv +/* 80347C58 00344BB8 EC 1B 08 2A */ fadds f0, f27, f1 +/* 80347C5C 00344BBC 3C 60 43 30 */ lis r3, 0x4330 +/* 80347C60 00344BC0 C0 42 CB E8 */ lfs f2, lbl_805AE908@sda21(r2) +/* 80347C64 00344BC4 90 61 02 88 */ stw r3, 0x288(r1) +/* 80347C68 00344BC8 EC 1C 00 32 */ fmuls f0, f28, f0 +/* 80347C6C 00344BCC C8 22 CC 10 */ lfd f1, lbl_805AE930@sda21(r2) +/* 80347C70 00344BD0 EC 7E 00 32 */ fmuls f3, f30, f0 +/* 80347C74 00344BD4 EC 03 00 B2 */ fmuls f0, f3, f2 +/* 80347C78 00344BD8 FC 00 00 1E */ fctiwz f0, f0 +/* 80347C7C 00344BDC D8 01 02 80 */ stfd f0, 0x280(r1) +/* 80347C80 00344BE0 80 01 02 84 */ lwz r0, 0x284(r1) +/* 80347C84 00344BE4 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 80347C88 00344BE8 90 01 02 8C */ stw r0, 0x28c(r1) +/* 80347C8C 00344BEC C8 01 02 88 */ lfd f0, 0x288(r1) +/* 80347C90 00344BF0 EC 00 08 28 */ fsubs f0, f0, f1 +/* 80347C94 00344BF4 EC 00 18 BC */ fnmsubs f0, f0, f2, f3 +/* 80347C98 00344BF8 EF E0 07 72 */ fmuls f31, f0, f29 +/* 80347C9C 00344BFC F3 E1 D0 08 */ psq_st f31, 8(r1), 1, qr5 +/* 80347CA0 00344C00 28 0F 00 04 */ cmplwi r15, 4 +/* 80347CA4 00344C04 A8 01 00 08 */ lha r0, 8(r1) +/* 80347CA8 00344C08 90 61 02 90 */ stw r3, 0x290(r1) +/* 80347CAC 00344C0C 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 80347CB0 00344C10 90 01 02 94 */ stw r0, 0x294(r1) +/* 80347CB4 00344C14 C8 01 02 90 */ lfd f0, 0x290(r1) +/* 80347CB8 00344C18 EC 00 08 28 */ fsubs f0, f0, f1 +/* 80347CBC 00344C1C EC 20 07 B2 */ fmuls f1, f0, f30 +/* 80347CC0 00344C20 40 82 00 1C */ bne lbl_80347CDC +/* 80347CC4 00344C24 3C 60 80 3F */ lis r3, lbl_803EF610@ha +/* 80347CC8 00344C28 C0 02 CB DC */ lfs f0, lbl_805AE8FC@sda21(r2) +/* 80347CCC 00344C2C 38 63 F6 10 */ addi r3, r3, lbl_803EF610@l +/* 80347CD0 00344C30 D0 23 00 0C */ stfs f1, 0xc(r3) +/* 80347CD4 00344C34 D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 80347CD8 00344C38 48 00 00 18 */ b lbl_80347CF0 +lbl_80347CDC: +/* 80347CDC 00344C3C 3C 60 80 3F */ lis r3, lbl_803EF610@ha +/* 80347CE0 00344C40 C0 02 CB DC */ lfs f0, lbl_805AE8FC@sda21(r2) +/* 80347CE4 00344C44 38 63 F6 10 */ addi r3, r3, lbl_803EF610@l +/* 80347CE8 00344C48 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 80347CEC 00344C4C D0 23 00 1C */ stfs f1, 0x1c(r3) +lbl_80347CF0: +/* 80347CF0 00344C50 3C 60 80 3F */ lis r3, lbl_803EF610@ha +/* 80347CF4 00344C54 7F 64 DB 78 */ mr r4, r27 +/* 80347CF8 00344C58 38 63 F6 10 */ addi r3, r3, lbl_803EF610@l +/* 80347CFC 00344C5C 38 A0 00 00 */ li r5, 0 +/* 80347D00 00344C60 48 03 47 91 */ bl GXLoadTexMtxImm +/* 80347D04 00344C64 38 60 00 05 */ li r3, 5 +/* 80347D08 00344C68 48 00 02 DC */ b lbl_80347FE4 +/* 80347D0C 00344C6C 3C 60 80 5A */ lis r3, lbl_805A6204@ha +/* 80347D10 00344C70 83 9F 00 60 */ lwz r28, 0x60(r31) +/* 80347D14 00344C74 3B 63 62 04 */ addi r27, r3, lbl_805A6204@l +/* 80347D18 00344C78 83 BF 00 64 */ lwz r29, 0x64(r31) +/* 80347D1C 00344C7C C0 42 CB D8 */ lfs f2, lbl_805AE8F8@sda21(r2) +/* 80347D20 00344C80 38 61 01 BC */ addi r3, r1, 0x1bc +/* 80347D24 00344C84 C0 3B 00 0C */ lfs f1, 0xc(r27) +/* 80347D28 00344C88 38 A0 00 00 */ li r5, 0 +/* 80347D2C 00344C8C C0 1B 00 1C */ lfs f0, 0x1c(r27) +/* 80347D30 00344C90 81 9F 00 68 */ lwz r12, 0x68(r31) +/* 80347D34 00344C94 EC 22 00 72 */ fmuls f1, f2, f1 +/* 80347D38 00344C98 81 5F 00 70 */ lwz r10, 0x70(r31) +/* 80347D3C 00344C9C EC 02 00 32 */ fmuls f0, f2, f0 +/* 80347D40 00344CA0 81 3F 00 74 */ lwz r9, 0x74(r31) +/* 80347D44 00344CA4 81 1F 00 78 */ lwz r8, 0x78(r31) +/* 80347D48 00344CA8 80 FF 00 80 */ lwz r7, 0x80(r31) +/* 80347D4C 00344CAC 80 DF 00 84 */ lwz r6, 0x84(r31) +/* 80347D50 00344CB0 80 1F 00 88 */ lwz r0, 0x88(r31) +/* 80347D54 00344CB4 81 7F 00 9C */ lwz r11, 0x9c(r31) +/* 80347D58 00344CB8 82 FF 00 AC */ lwz r23, 0xac(r31) +/* 80347D5C 00344CBC 91 61 01 98 */ stw r11, 0x198(r1) +/* 80347D60 00344CC0 81 7F 00 6C */ lwz r11, 0x6c(r31) +/* 80347D64 00344CC4 92 E1 01 A8 */ stw r23, 0x1a8(r1) +/* 80347D68 00344CC8 81 FF 00 7C */ lwz r15, 0x7c(r31) +/* 80347D6C 00344CCC 82 1F 00 8C */ lwz r16, 0x8c(r31) +/* 80347D70 00344CD0 82 3F 00 90 */ lwz r17, 0x90(r31) +/* 80347D74 00344CD4 82 5F 00 94 */ lwz r18, 0x94(r31) +/* 80347D78 00344CD8 82 7F 00 98 */ lwz r19, 0x98(r31) +/* 80347D7C 00344CDC 82 9F 00 A0 */ lwz r20, 0xa0(r31) +/* 80347D80 00344CE0 82 BF 00 A4 */ lwz r21, 0xa4(r31) +/* 80347D84 00344CE4 82 DF 00 A8 */ lwz r22, 0xa8(r31) +/* 80347D88 00344CE8 82 FF 00 B0 */ lwz r23, 0xb0(r31) +/* 80347D8C 00344CEC 83 5F 00 B4 */ lwz r26, 0xb4(r31) +/* 80347D90 00344CF0 83 3F 00 B8 */ lwz r25, 0xb8(r31) +/* 80347D94 00344CF4 83 1F 00 BC */ lwz r24, 0xbc(r31) +/* 80347D98 00344CF8 93 81 01 BC */ stw r28, 0x1bc(r1) +/* 80347D9C 00344CFC C1 5B 00 00 */ lfs f10, 0(r27) +/* 80347DA0 00344D00 93 A1 01 C0 */ stw r29, 0x1c0(r1) +/* 80347DA4 00344D04 C1 3B 00 04 */ lfs f9, 4(r27) +/* 80347DA8 00344D08 91 81 01 C4 */ stw r12, 0x1c4(r1) +/* 80347DAC 00344D0C C1 1B 00 08 */ lfs f8, 8(r27) +/* 80347DB0 00344D10 91 41 01 CC */ stw r10, 0x1cc(r1) +/* 80347DB4 00344D14 C0 FB 00 10 */ lfs f7, 0x10(r27) +/* 80347DB8 00344D18 91 21 01 D0 */ stw r9, 0x1d0(r1) +/* 80347DBC 00344D1C C0 DB 00 14 */ lfs f6, 0x14(r27) +/* 80347DC0 00344D20 91 01 01 D4 */ stw r8, 0x1d4(r1) +/* 80347DC4 00344D24 C0 BB 00 18 */ lfs f5, 0x18(r27) +/* 80347DC8 00344D28 90 E1 01 DC */ stw r7, 0x1dc(r1) +/* 80347DCC 00344D2C C0 9B 00 20 */ lfs f4, 0x20(r27) +/* 80347DD0 00344D30 90 C1 01 E0 */ stw r6, 0x1e0(r1) +/* 80347DD4 00344D34 C0 7B 00 24 */ lfs f3, 0x24(r27) +/* 80347DD8 00344D38 90 01 01 E4 */ stw r0, 0x1e4(r1) +/* 80347DDC 00344D3C C0 5B 00 28 */ lfs f2, 0x28(r27) +/* 80347DE0 00344D40 91 61 01 C8 */ stw r11, 0x1c8(r1) +/* 80347DE4 00344D44 91 E1 01 D8 */ stw r15, 0x1d8(r1) +/* 80347DE8 00344D48 92 01 01 E8 */ stw r16, 0x1e8(r1) +/* 80347DEC 00344D4C D1 41 01 BC */ stfs f10, 0x1bc(r1) +/* 80347DF0 00344D50 D1 21 01 C0 */ stfs f9, 0x1c0(r1) +/* 80347DF4 00344D54 D1 01 01 C4 */ stfs f8, 0x1c4(r1) +/* 80347DF8 00344D58 D0 E1 01 CC */ stfs f7, 0x1cc(r1) +/* 80347DFC 00344D5C D0 C1 01 D0 */ stfs f6, 0x1d0(r1) +/* 80347E00 00344D60 D0 A1 01 D4 */ stfs f5, 0x1d4(r1) +/* 80347E04 00344D64 D0 81 01 DC */ stfs f4, 0x1dc(r1) +/* 80347E08 00344D68 D0 61 01 E0 */ stfs f3, 0x1e0(r1) +/* 80347E0C 00344D6C D0 41 01 E4 */ stfs f2, 0x1e4(r1) +/* 80347E10 00344D70 92 21 01 8C */ stw r17, 0x18c(r1) +/* 80347E14 00344D74 92 41 01 90 */ stw r18, 0x190(r1) +/* 80347E18 00344D78 92 61 01 94 */ stw r19, 0x194(r1) +/* 80347E1C 00344D7C 92 81 01 9C */ stw r20, 0x19c(r1) +/* 80347E20 00344D80 92 A1 01 A0 */ stw r21, 0x1a0(r1) +/* 80347E24 00344D84 92 C1 01 A4 */ stw r22, 0x1a4(r1) +/* 80347E28 00344D88 92 E1 01 AC */ stw r23, 0x1ac(r1) +/* 80347E2C 00344D8C 93 41 01 B0 */ stw r26, 0x1b0(r1) +/* 80347E30 00344D90 93 21 01 B4 */ stw r25, 0x1b4(r1) +/* 80347E34 00344D94 93 01 01 B8 */ stw r24, 0x1b8(r1) +/* 80347E38 00344D98 D0 21 01 98 */ stfs f1, 0x198(r1) +/* 80347E3C 00344D9C D0 01 01 A8 */ stfs f0, 0x1a8(r1) +/* 80347E40 00344DA0 48 03 46 51 */ bl GXLoadTexMtxImm +/* 80347E44 00344DA4 7F C4 F3 78 */ mr r4, r30 +/* 80347E48 00344DA8 38 61 01 8C */ addi r3, r1, 0x18c +/* 80347E4C 00344DAC 38 A0 00 00 */ li r5, 0 +/* 80347E50 00344DB0 48 03 46 41 */ bl GXLoadTexMtxImm +/* 80347E54 00344DB4 38 60 00 01 */ li r3, 1 +/* 80347E58 00344DB8 48 00 01 8C */ b lbl_80347FE4 +/* 80347E5C 00344DBC 3C 80 80 5A */ lis r4, lbl_805A61D4@ha +/* 80347E60 00344DC0 38 61 00 0C */ addi r3, r1, 0xc +/* 80347E64 00344DC4 38 84 61 D4 */ addi r4, r4, lbl_805A61D4@l +/* 80347E68 00344DC8 4B FC AE 35 */ bl GetQuickInverse__12CTransform4fCFv +/* 80347E6C 00344DCC 3C 80 80 5A */ lis r4, lbl_805A6204@ha +/* 80347E70 00344DD0 38 61 00 3C */ addi r3, r1, 0x3c +/* 80347E74 00344DD4 38 A4 62 04 */ addi r5, r4, lbl_805A6204@l +/* 80347E78 00344DD8 38 81 00 0C */ addi r4, r1, 0xc +/* 80347E7C 00344DDC 4B FC B0 B5 */ bl MultiplyIgnoreTranslation__12CTransform4fCFRC12CTransform4f +/* 80347E80 00344DE0 38 61 01 5C */ addi r3, r1, 0x15c +/* 80347E84 00344DE4 38 81 00 3C */ addi r4, r1, 0x3c +/* 80347E88 00344DE8 4B FC AC ED */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80347E8C 00344DEC 3C 60 80 5A */ lis r3, lbl_805A61D4@ha +/* 80347E90 00344DF0 3C C0 43 30 */ lis r6, 0x4330 +/* 80347E94 00344DF4 38 A3 61 D4 */ addi r5, r3, lbl_805A61D4@l +/* 80347E98 00344DF8 81 1F 00 C0 */ lwz r8, 0xc0(r31) +/* 80347E9C 00344DFC C0 25 00 0C */ lfs f1, 0xc(r5) +/* 80347EA0 00344E00 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80347EA4 00344E04 C0 05 00 1C */ lfs f0, 0x1c(r5) +/* 80347EA8 00344E08 38 E3 66 A0 */ addi r7, r3, skZero3f@l +/* 80347EAC 00344E0C 83 5F 00 CC */ lwz r26, 0xcc(r31) +/* 80347EB0 00344E10 7F 64 DB 78 */ mr r4, r27 +/* 80347EB4 00344E14 EC 41 00 2A */ fadds f2, f1, f0 +/* 80347EB8 00344E18 C0 62 CC 0C */ lfs f3, lbl_805AE92C@sda21(r2) +/* 80347EBC 00344E1C C0 22 CB D8 */ lfs f1, lbl_805AE8F8@sda21(r2) +/* 80347EC0 00344E20 38 61 01 5C */ addi r3, r1, 0x15c +/* 80347EC4 00344E24 C0 05 00 2C */ lfs f0, 0x2c(r5) +/* 80347EC8 00344E28 38 A0 00 00 */ li r5, 0 +/* 80347ECC 00344E2C EC 43 00 B2 */ fmuls f2, f3, f2 +/* 80347ED0 00344E30 C0 9C 00 08 */ lfs f4, 8(r28) +/* 80347ED4 00344E34 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80347ED8 00344E38 81 9F 00 D8 */ lwz r12, 0xd8(r31) +/* 80347EDC 00344E3C C0 62 CB E8 */ lfs f3, lbl_805AE908@sda21(r2) +/* 80347EE0 00344E40 EC E4 00 B2 */ fmuls f7, f4, f2 +/* 80347EE4 00344E44 ED 04 00 32 */ fmuls f8, f4, f0 +/* 80347EE8 00344E48 81 7F 00 DC */ lwz r11, 0xdc(r31) +/* 80347EEC 00344E4C C0 C7 00 00 */ lfs f6, 0(r7) +/* 80347EF0 00344E50 EC 27 00 F2 */ fmuls f1, f7, f3 +/* 80347EF4 00344E54 C0 A7 00 04 */ lfs f5, 4(r7) +/* 80347EF8 00344E58 EC 08 00 F2 */ fmuls f0, f8, f3 +/* 80347EFC 00344E5C C0 87 00 08 */ lfs f4, 8(r7) +/* 80347F00 00344E60 FC 20 08 1E */ fctiwz f1, f1 +/* 80347F04 00344E64 83 1F 00 C4 */ lwz r24, 0xc4(r31) +/* 80347F08 00344E68 FC 00 00 1E */ fctiwz f0, f0 +/* 80347F0C 00344E6C 83 3F 00 C8 */ lwz r25, 0xc8(r31) +/* 80347F10 00344E70 83 BF 00 D0 */ lwz r29, 0xd0(r31) +/* 80347F14 00344E74 D8 21 02 90 */ stfd f1, 0x290(r1) +/* 80347F18 00344E78 83 7F 00 D4 */ lwz r27, 0xd4(r31) +/* 80347F1C 00344E7C D8 01 02 80 */ stfd f0, 0x280(r1) +/* 80347F20 00344E80 80 E1 02 94 */ lwz r7, 0x294(r1) +/* 80347F24 00344E84 80 01 02 84 */ lwz r0, 0x284(r1) +/* 80347F28 00344E88 6C E7 80 00 */ xoris r7, r7, 0x8000 +/* 80347F2C 00344E8C 90 C1 02 88 */ stw r6, 0x288(r1) +/* 80347F30 00344E90 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 80347F34 00344E94 C8 42 CC 10 */ lfd f2, lbl_805AE930@sda21(r2) +/* 80347F38 00344E98 90 E1 02 8C */ stw r7, 0x28c(r1) +/* 80347F3C 00344E9C C1 3C 00 04 */ lfs f9, 4(r28) +/* 80347F40 00344EA0 C8 01 02 88 */ lfd f0, 0x288(r1) +/* 80347F44 00344EA4 C0 22 CB FC */ lfs f1, lbl_805AE91C@sda21(r2) +/* 80347F48 00344EA8 EC 00 10 28 */ fsubs f0, f0, f2 +/* 80347F4C 00344EAC 81 5F 00 E0 */ lwz r10, 0xe0(r31) +/* 80347F50 00344EB0 81 3F 00 E4 */ lwz r9, 0xe4(r31) +/* 80347F54 00344EB4 ED 21 02 72 */ fmuls f9, f1, f9 +/* 80347F58 00344EB8 91 01 01 2C */ stw r8, 0x12c(r1) +/* 80347F5C 00344EBC 81 1F 00 E8 */ lwz r8, 0xe8(r31) +/* 80347F60 00344EC0 91 81 01 44 */ stw r12, 0x144(r1) +/* 80347F64 00344EC4 EC 20 38 FC */ fnmsubs f1, f0, f3, f7 +/* 80347F68 00344EC8 80 FF 00 EC */ lwz r7, 0xec(r31) +/* 80347F6C 00344ECC 93 41 01 38 */ stw r26, 0x138(r1) +/* 80347F70 00344ED0 90 01 02 9C */ stw r0, 0x29c(r1) +/* 80347F74 00344ED4 90 C1 02 98 */ stw r6, 0x298(r1) +/* 80347F78 00344ED8 C8 01 02 98 */ lfd f0, 0x298(r1) +/* 80347F7C 00344EDC 91 61 01 48 */ stw r11, 0x148(r1) +/* 80347F80 00344EE0 EC 00 10 28 */ fsubs f0, f0, f2 +/* 80347F84 00344EE4 D0 C1 01 68 */ stfs f6, 0x168(r1) +/* 80347F88 00344EE8 EC 00 40 FC */ fnmsubs f0, f0, f3, f8 +/* 80347F8C 00344EEC D0 A1 01 78 */ stfs f5, 0x178(r1) +/* 80347F90 00344EF0 D0 81 01 88 */ stfs f4, 0x188(r1) +/* 80347F94 00344EF4 93 01 01 30 */ stw r24, 0x130(r1) +/* 80347F98 00344EF8 93 21 01 34 */ stw r25, 0x134(r1) +/* 80347F9C 00344EFC 93 A1 01 3C */ stw r29, 0x13c(r1) +/* 80347FA0 00344F00 93 61 01 40 */ stw r27, 0x140(r1) +/* 80347FA4 00344F04 91 41 01 4C */ stw r10, 0x14c(r1) +/* 80347FA8 00344F08 91 21 01 50 */ stw r9, 0x150(r1) +/* 80347FAC 00344F0C 91 01 01 54 */ stw r8, 0x154(r1) +/* 80347FB0 00344F10 90 E1 01 58 */ stw r7, 0x158(r1) +/* 80347FB4 00344F14 D1 21 01 2C */ stfs f9, 0x12c(r1) +/* 80347FB8 00344F18 D0 21 01 38 */ stfs f1, 0x138(r1) +/* 80347FBC 00344F1C D1 21 01 44 */ stfs f9, 0x144(r1) +/* 80347FC0 00344F20 D0 01 01 48 */ stfs f0, 0x148(r1) +/* 80347FC4 00344F24 48 03 44 CD */ bl GXLoadTexMtxImm +/* 80347FC8 00344F28 7F C4 F3 78 */ mr r4, r30 +/* 80347FCC 00344F2C 38 61 01 2C */ addi r3, r1, 0x12c +/* 80347FD0 00344F30 38 A0 00 00 */ li r5, 0 +/* 80347FD4 00344F34 48 03 44 BD */ bl GXLoadTexMtxImm +/* 80347FD8 00344F38 38 60 00 03 */ li r3, 3 +/* 80347FDC 00344F3C 48 00 00 08 */ b lbl_80347FE4 +lbl_80347FE0: +/* 80347FE0 00344F40 38 60 00 00 */ li r3, 0 +lbl_80347FE4: +/* 80347FE4 00344F44 E3 E1 03 38 */ psq_l f31, 824(r1), 0, qr0 +/* 80347FE8 00344F48 CB E1 03 30 */ lfd f31, 0x330(r1) +/* 80347FEC 00344F4C E3 C1 03 28 */ psq_l f30, 808(r1), 0, qr0 +/* 80347FF0 00344F50 CB C1 03 20 */ lfd f30, 0x320(r1) +/* 80347FF4 00344F54 E3 A1 03 18 */ psq_l f29, 792(r1), 0, qr0 +/* 80347FF8 00344F58 CB A1 03 10 */ lfd f29, 0x310(r1) +/* 80347FFC 00344F5C E3 81 03 08 */ psq_l f28, 776(r1), 0, qr0 +/* 80348000 00344F60 CB 81 03 00 */ lfd f28, 0x300(r1) +/* 80348004 00344F64 E3 61 02 F8 */ psq_l f27, 760(r1), 0, qr0 +/* 80348008 00344F68 CB 61 02 F0 */ lfd f27, 0x2f0(r1) +/* 8034800C 00344F6C B9 E1 02 AC */ lmw r15, 0x2ac(r1) +/* 80348010 00344F70 80 01 03 44 */ lwz r0, 0x344(r1) +/* 80348014 00344F74 7C 08 03 A6 */ mtlr r0 +/* 80348018 00344F78 38 21 03 40 */ addi r1, r1, 0x340 +/* 8034801C 00344F7C 4E 80 00 20 */ blr + +.global HandleTev__FiPCUiPCUib +HandleTev__FiPCUiPCUib: +/* 80348020 00344F80 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80348024 00344F84 7C 08 02 A6 */ mflr r0 +/* 80348028 00344F88 90 01 00 24 */ stw r0, 0x24(r1) +/* 8034802C 00344F8C 54 C0 06 3F */ clrlwi. r0, r6, 0x18 +/* 80348030 00344F90 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80348034 00344F94 7C 9F 23 78 */ mr r31, r4 +/* 80348038 00344F98 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8034803C 00344F9C 7C 7E 1B 78 */ mr r30, r3 +/* 80348040 00344FA0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80348044 00344FA4 7C BD 2B 78 */ mr r29, r5 +/* 80348048 00344FA8 41 82 00 10 */ beq lbl_80348058 +/* 8034804C 00344FAC 3C 80 00 08 */ lis r4, 0x0007A04F@ha +/* 80348050 00344FB0 38 84 A0 4F */ addi r4, r4, 0x0007A04F@l +/* 80348054 00344FB4 48 00 00 08 */ b lbl_8034805C +lbl_80348058: +/* 80348058 00344FB8 80 9F 00 00 */ lwz r4, 0(r31) +lbl_8034805C: +/* 8034805C 00344FBC 80 BF 00 04 */ lwz r5, 4(r31) +/* 80348060 00344FC0 80 DF 00 08 */ lwz r6, 8(r31) +/* 80348064 00344FC4 80 FF 00 0C */ lwz r7, 0xc(r31) +/* 80348068 00344FC8 4B FB FC 81 */ bl SetStandardDirectTev_Compressed__3CGXF13_GXTevStageIDUiUiUiUi +/* 8034806C 00344FCC 1C BE 00 1C */ mulli r5, r30, 0x1c +/* 80348070 00344FD0 80 DD 00 00 */ lwz r6, 0(r29) +/* 80348074 00344FD4 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80348078 00344FD8 83 BF 00 10 */ lwz r29, 0x10(r31) +/* 8034807C 00344FDC 54 C4 06 3E */ clrlwi r4, r6, 0x18 +/* 80348080 00344FE0 38 03 53 EC */ addi r0, r3, lbl_805A53EC@l +/* 80348084 00344FE4 7C 60 2A 14 */ add r3, r0, r5 +/* 80348088 00344FE8 54 C5 C6 3E */ rlwinm r5, r6, 0x18, 0x18, 0x1f +/* 8034808C 00344FEC 3B E3 00 68 */ addi r31, r3, 0x68 +/* 80348090 00344FF0 7C 83 23 78 */ mr r3, r4 +/* 80348094 00344FF4 80 1F 00 14 */ lwz r0, 0x14(r31) +/* 80348098 00344FF8 50 C3 04 2E */ rlwimi r3, r6, 0, 0x10, 0x17 +/* 8034809C 00344FFC 57 A6 06 3E */ clrlwi r6, r29, 0x18 +/* 803480A0 00345000 53 A3 82 1E */ rlwimi r3, r29, 0x10, 8, 0xf +/* 803480A4 00345004 7C 00 18 40 */ cmplw r0, r3 +/* 803480A8 00345008 41 82 00 10 */ beq lbl_803480B8 +/* 803480AC 0034500C 90 7F 00 14 */ stw r3, 0x14(r31) +/* 803480B0 00345010 7F C3 F3 78 */ mr r3, r30 +/* 803480B4 00345014 48 03 39 41 */ bl GXSetTevOrder +lbl_803480B8: +/* 803480B8 00345018 88 1F 00 18 */ lbz r0, 0x18(r31) +/* 803480BC 0034501C 57 A4 C6 3E */ rlwinm r4, r29, 0x18, 0x18, 0x1f +/* 803480C0 00345020 7C 04 00 00 */ cmpw r4, r0 +/* 803480C4 00345024 41 82 00 10 */ beq lbl_803480D4 +/* 803480C8 00345028 98 9F 00 18 */ stb r4, 0x18(r31) +/* 803480CC 0034502C 7F C3 F3 78 */ mr r3, r30 +/* 803480D0 00345030 48 03 36 89 */ bl GXSetTevKColorSel +lbl_803480D4: +/* 803480D4 00345034 88 1F 00 19 */ lbz r0, 0x19(r31) +/* 803480D8 00345038 57 A4 86 3E */ rlwinm r4, r29, 0x10, 0x18, 0x1f +/* 803480DC 0034503C 7C 04 00 00 */ cmpw r4, r0 +/* 803480E0 00345040 41 82 00 10 */ beq lbl_803480F0 +/* 803480E4 00345044 98 9F 00 19 */ stb r4, 0x19(r31) +/* 803480E8 00345048 7F C3 F3 78 */ mr r3, r30 +/* 803480EC 0034504C 48 03 36 D9 */ bl GXSetTevKAlphaSel +lbl_803480F0: +/* 803480F0 00345050 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803480F4 00345054 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803480F8 00345058 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 803480FC 0034505C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80348100 00345060 7C 08 03 A6 */ mtlr r0 +/* 80348104 00345064 38 21 00 20 */ addi r1, r1, 0x20 +/* 80348108 00345068 4E 80 00 20 */ blr + +.global SetupBlendMode__13CCubeMaterialFUiRC11CModelFlagsb +SetupBlendMode__13CCubeMaterialFUiRC11CModelFlagsb: +/* 8034810C 0034506C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80348110 00345070 7C 08 02 A6 */ mflr r0 +/* 80348114 00345074 90 01 00 24 */ stw r0, 0x24(r1) +/* 80348118 00345078 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 8034811C 0034507C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80348120 00345080 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80348124 00345084 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80348128 00345088 54 7D 04 3E */ clrlwi r29, r3, 0x10 +/* 8034812C 0034508C 93 81 00 10 */ stw r28, 0x10(r1) +/* 80348130 00345090 54 7C 84 3E */ srwi r28, r3, 0x10 +/* 80348134 00345094 8B C4 00 00 */ lbz r30, 0(r4) +/* 80348138 00345098 7F DE 07 74 */ extsb r30, r30 +/* 8034813C 0034509C 41 82 00 4C */ beq lbl_80348188 +/* 80348140 003450A0 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80348144 003450A4 38 83 53 EC */ addi r4, r3, lbl_805A53EC@l +/* 80348148 003450A8 80 04 02 48 */ lwz r0, 0x248(r4) +/* 8034814C 003450AC 28 00 0A 06 */ cmplwi r0, 0xa06 +/* 80348150 003450B0 41 82 00 2C */ beq lbl_8034817C +/* 80348154 003450B4 38 00 0A 06 */ li r0, 0xa06 +/* 80348158 003450B8 38 60 00 06 */ li r3, 6 +/* 8034815C 003450BC 90 04 02 48 */ stw r0, 0x248(r4) +/* 80348160 003450C0 38 80 00 40 */ li r4, 0x40 +/* 80348164 003450C4 38 A0 00 01 */ li r5, 1 +/* 80348168 003450C8 38 C0 00 00 */ li r6, 0 +/* 8034816C 003450CC 38 E0 00 00 */ li r7, 0 +/* 80348170 003450D0 48 03 37 AD */ bl GXSetAlphaCompare +/* 80348174 003450D4 38 60 00 00 */ li r3, 0 +/* 80348178 003450D8 48 03 3E 15 */ bl GXSetZCompLoc +lbl_8034817C: +/* 8034817C 003450DC 3B A0 00 01 */ li r29, 1 +/* 80348180 003450E0 3B 80 00 00 */ li r28, 0 +/* 80348184 003450E4 48 00 00 48 */ b lbl_803481CC +lbl_80348188: +/* 80348188 003450E8 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 8034818C 003450EC 38 A3 53 EC */ addi r5, r3, lbl_805A53EC@l +/* 80348190 003450F0 80 65 02 48 */ lwz r3, 0x248(r5) +/* 80348194 003450F4 3C 03 FF FF */ addis r0, r3, 0xffff +/* 80348198 003450F8 28 00 C8 07 */ cmplwi r0, 0xc807 +/* 8034819C 003450FC 41 82 00 30 */ beq lbl_803481CC +/* 803481A0 00345100 3C 80 00 02 */ lis r4, 0x0001C807@ha +/* 803481A4 00345104 38 60 00 07 */ li r3, 7 +/* 803481A8 00345108 38 04 C8 07 */ addi r0, r4, 0x0001C807@l +/* 803481AC 0034510C 38 80 00 00 */ li r4, 0 +/* 803481B0 00345110 90 05 02 48 */ stw r0, 0x248(r5) +/* 803481B4 00345114 38 A0 00 01 */ li r5, 1 +/* 803481B8 00345118 38 C0 00 07 */ li r6, 7 +/* 803481BC 0034511C 38 E0 00 00 */ li r7, 0 +/* 803481C0 00345120 48 03 37 5D */ bl GXSetAlphaCompare +/* 803481C4 00345124 38 60 00 01 */ li r3, 1 +/* 803481C8 00345128 48 03 3D C5 */ bl GXSetZCompLoc +lbl_803481CC: +/* 803481CC 0034512C 2C 1E 00 04 */ cmpwi r30, 4 +/* 803481D0 00345130 40 81 00 2C */ ble lbl_803481FC +/* 803481D4 00345134 2C 1D 00 01 */ cmpwi r29, 1 +/* 803481D8 00345138 40 82 00 24 */ bne lbl_803481FC +/* 803481DC 0034513C 2C 1C 00 00 */ cmpwi r28, 0 +/* 803481E0 00345140 3B A0 00 04 */ li r29, 4 +/* 803481E4 00345144 40 82 00 18 */ bne lbl_803481FC +/* 803481E8 00345148 2C 1E 00 06 */ cmpwi r30, 6 +/* 803481EC 0034514C 38 00 00 05 */ li r0, 5 +/* 803481F0 00345150 40 81 00 08 */ ble lbl_803481F8 +/* 803481F4 00345154 38 00 00 01 */ li r0, 1 +lbl_803481F8: +/* 803481F8 00345158 7C 1C 03 78 */ mr r28, r0 +lbl_803481FC: +/* 803481FC 0034515C 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80348200 00345160 57 A0 16 FA */ rlwinm r0, r29, 2, 0x1b, 0x1d +/* 80348204 00345164 3B E3 53 EC */ addi r31, r3, lbl_805A53EC@l +/* 80348208 00345168 60 1E 00 01 */ ori r30, r0, 1 +/* 8034820C 0034516C A0 1F 00 56 */ lhz r0, 0x56(r31) +/* 80348210 00345170 53 9E 2E 34 */ rlwimi r30, r28, 5, 0x18, 0x1a +/* 80348214 00345174 7C 1E 00 40 */ cmplw r30, r0 +/* 80348218 00345178 41 82 00 24 */ beq lbl_8034823C +/* 8034821C 0034517C 7F C3 F3 78 */ mr r3, r30 +/* 80348220 00345180 4B D6 C1 59 */ bl update_fog__3CGXFUi +/* 80348224 00345184 B3 DF 00 56 */ sth r30, 0x56(r31) +/* 80348228 00345188 7F A4 EB 78 */ mr r4, r29 +/* 8034822C 0034518C 7F 85 E3 78 */ mr r5, r28 +/* 80348230 00345190 38 60 00 01 */ li r3, 1 +/* 80348234 00345194 38 C0 00 00 */ li r6, 0 +/* 80348238 00345198 48 03 3C 75 */ bl GXSetBlendMode +lbl_8034823C: +/* 8034823C 0034519C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80348240 003451A0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80348244 003451A4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80348248 003451A8 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8034824C 003451AC 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80348250 003451B0 7C 08 03 A6 */ mtlr r0 +/* 80348254 003451B4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80348258 003451B8 4E 80 00 20 */ blr + +.global __sinit_CCubeMaterial_cpp +__sinit_CCubeMaterial_cpp: +/* 8034825C 003451BC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80348260 003451C0 7C 08 02 A6 */ mflr r0 +/* 80348264 003451C4 3C 60 80 4C */ lis r3, lbl_804BFF5C@ha +/* 80348268 003451C8 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 8034826C 003451CC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80348270 003451D0 3C C0 80 4C */ lis r6, lbl_804BFF50@ha +/* 80348274 003451D4 C0 02 CB DC */ lfs f0, lbl_805AE8FC@sda21(r2) +/* 80348278 003451D8 3C A0 80 5A */ lis r5, lbl_805A67B4@ha +/* 8034827C 003451DC 38 63 FF 5C */ addi r3, r3, lbl_804BFF5C@l +/* 80348280 003451E0 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 80348284 003451E4 D4 06 FF 50 */ stfsu f0, lbl_804BFF50@l(r6) +/* 80348288 003451E8 D4 05 67 B4 */ stfsu f0, lbl_805A67B4@l(r5) +/* 8034828C 003451EC D0 06 00 04 */ stfs f0, 4(r6) +/* 80348290 003451F0 D0 06 00 08 */ stfs f0, 8(r6) +/* 80348294 003451F4 D0 05 00 04 */ stfs f0, 4(r5) +/* 80348298 003451F8 D0 05 00 08 */ stfs f0, 8(r5) +/* 8034829C 003451FC 4B FC A8 D9 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 803482A0 00345200 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803482A4 00345204 7C 08 03 A6 */ mtlr r0 +/* 803482A8 00345208 38 21 00 10 */ addi r1, r1, 0x10 +/* 803482AC 0034520C 4E 80 00 20 */ blr diff --git a/asm/Kyoto/Graphics/CCubeModel.s b/asm/Kyoto/Graphics/CCubeModel.s new file mode 100644 index 00000000..45aac4a0 --- /dev/null +++ b/asm/Kyoto/Graphics/CCubeModel.s @@ -0,0 +1,1572 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global sub_80306630 +sub_80306630: +/* 80306630 00303590 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80306634 00303594 7C 08 02 A6 */ mflr r0 +/* 80306638 00303598 3C E0 80 5A */ lis r7, lbl_805A53EC@ha +/* 8030663C 0030359C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80306640 003035A0 38 E7 53 EC */ addi r7, r7, lbl_805A53EC@l +/* 80306644 003035A4 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 80306648 003035A8 7C 7C 1B 78 */ mr r28, r3 +/* 8030664C 003035AC 7C 9D 23 78 */ mr r29, r4 +/* 80306650 003035B0 7C BE 2B 78 */ mr r30, r5 +/* 80306654 003035B4 7C DF 33 78 */ mr r31, r6 +/* 80306658 003035B8 88 07 00 51 */ lbz r0, 0x51(r7) +/* 8030665C 003035BC 28 00 00 00 */ cmplwi r0, 0 +/* 80306660 003035C0 41 82 00 14 */ beq lbl_80306674 +/* 80306664 003035C4 38 00 00 00 */ li r0, 0 +/* 80306668 003035C8 38 60 00 00 */ li r3, 0 +/* 8030666C 003035CC 98 07 00 51 */ stb r0, 0x51(r7) +/* 80306670 003035D0 48 07 4C 49 */ bl GXSetNumIndStages +lbl_80306674: +/* 80306674 003035D4 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80306678 003035D8 38 83 53 EC */ addi r4, r3, lbl_805A53EC@l +/* 8030667C 003035DC 88 04 00 50 */ lbz r0, 0x50(r4) +/* 80306680 003035E0 28 00 00 01 */ cmplwi r0, 1 +/* 80306684 003035E4 41 82 00 14 */ beq lbl_80306698 +/* 80306688 003035E8 38 00 00 01 */ li r0, 1 +/* 8030668C 003035EC 38 60 00 01 */ li r3, 1 +/* 80306690 003035F0 98 04 00 50 */ stb r0, 0x50(r4) +/* 80306694 003035F4 48 07 55 39 */ bl GXSetNumTevStages +lbl_80306698: +/* 80306698 003035F8 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 8030669C 003035FC 38 83 53 EC */ addi r4, r3, lbl_805A53EC@l +/* 803066A0 00303600 88 04 00 4F */ lbz r0, 0x4f(r4) +/* 803066A4 00303604 28 00 00 01 */ cmplwi r0, 1 +/* 803066A8 00303608 41 82 00 14 */ beq lbl_803066BC +/* 803066AC 0030360C 38 00 00 01 */ li r0, 1 +/* 803066B0 00303610 38 60 00 01 */ li r3, 1 +/* 803066B4 00303614 98 04 00 4F */ stb r0, 0x4f(r4) +/* 803066B8 00303618 48 07 1B AD */ bl GXSetNumTexGens +lbl_803066BC: +/* 803066BC 0030361C 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 803066C0 00303620 38 83 53 EC */ addi r4, r3, lbl_805A53EC@l +/* 803066C4 00303624 88 04 00 52 */ lbz r0, 0x52(r4) +/* 803066C8 00303628 28 00 00 0F */ cmplwi r0, 0xf +/* 803066CC 0030362C 41 82 00 1C */ beq lbl_803066E8 +/* 803066D0 00303630 38 00 00 0F */ li r0, 0xf +/* 803066D4 00303634 38 60 00 01 */ li r3, 1 +/* 803066D8 00303638 98 04 00 52 */ stb r0, 0x52(r4) +/* 803066DC 0030363C 38 80 00 03 */ li r4, 3 +/* 803066E0 00303640 38 A0 00 01 */ li r5, 1 +/* 803066E4 00303644 48 07 58 75 */ bl GXSetZMode +lbl_803066E8: +/* 803066E8 00303648 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 803066EC 0030364C 3B 63 53 EC */ addi r27, r3, lbl_805A53EC@l +/* 803066F0 00303650 80 7B 00 7C */ lwz r3, 0x7c(r27) +/* 803066F4 00303654 3C 03 FF 01 */ addis r0, r3, 0xff01 +/* 803066F8 00303658 28 00 FF FF */ cmplwi r0, 0xffff +/* 803066FC 0030365C 41 82 00 24 */ beq lbl_80306720 +/* 80306700 00303660 3C 80 01 00 */ lis r4, 0x00FFFFFF@ha +/* 80306704 00303664 38 60 00 00 */ li r3, 0 +/* 80306708 00303668 38 04 FF FF */ addi r0, r4, 0x00FFFFFF@l +/* 8030670C 0030366C 38 80 00 FF */ li r4, 0xff +/* 80306710 00303670 90 1B 00 7C */ stw r0, 0x7c(r27) +/* 80306714 00303674 38 A0 00 FF */ li r5, 0xff +/* 80306718 00303678 38 C0 00 FF */ li r6, 0xff +/* 8030671C 0030367C 48 07 52 D9 */ bl GXSetTevOrder +lbl_80306720: +/* 80306720 00303680 80 7B 00 68 */ lwz r3, 0x68(r27) +/* 80306724 00303684 3C 03 FF F9 */ addis r0, r3, 0xfff9 +/* 80306728 00303688 28 00 BD EF */ cmplwi r0, 0xbdef +/* 8030672C 0030368C 41 82 00 28 */ beq lbl_80306754 +/* 80306730 00303690 3C 80 00 08 */ lis r4, 0x0007BDEF@ha +/* 80306734 00303694 38 60 00 00 */ li r3, 0 +/* 80306738 00303698 38 04 BD EF */ addi r0, r4, 0x0007BDEF@l +/* 8030673C 0030369C 38 80 00 0F */ li r4, 0xf +/* 80306740 003036A0 90 1B 00 68 */ stw r0, 0x68(r27) +/* 80306744 003036A4 38 A0 00 0F */ li r5, 0xf +/* 80306748 003036A8 38 C0 00 0F */ li r6, 0xf +/* 8030674C 003036AC 38 E0 00 0F */ li r7, 0xf +/* 80306750 003036B0 48 07 4D 55 */ bl GXSetTevColorIn +lbl_80306754: +/* 80306754 003036B4 80 7B 00 6C */ lwz r3, 0x6c(r27) +/* 80306758 003036B8 3C 03 FF FD */ addis r0, r3, 0xfffd +/* 8030675C 003036BC 28 00 9C E7 */ cmplwi r0, 0x9ce7 +/* 80306760 003036C0 41 82 00 28 */ beq lbl_80306788 +/* 80306764 003036C4 3C 80 00 04 */ lis r4, 0x00039CE7@ha +/* 80306768 003036C8 38 60 00 00 */ li r3, 0 +/* 8030676C 003036CC 38 04 9C E7 */ addi r0, r4, 0x00039CE7@l +/* 80306770 003036D0 38 80 00 07 */ li r4, 7 +/* 80306774 003036D4 90 1B 00 6C */ stw r0, 0x6c(r27) +/* 80306778 003036D8 38 A0 00 07 */ li r5, 7 +/* 8030677C 003036DC 38 C0 00 07 */ li r6, 7 +/* 80306780 003036E0 38 E0 00 07 */ li r7, 7 +/* 80306784 003036E4 48 07 4D 65 */ bl GXSetTevAlphaIn +lbl_80306788: +/* 80306788 003036E8 38 60 00 00 */ li r3, 0 +/* 8030678C 003036EC 48 00 14 C5 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID +/* 80306790 003036F0 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80306794 003036F4 3B 63 53 EC */ addi r27, r3, lbl_805A53EC@l +/* 80306798 003036F8 A0 1B 00 56 */ lhz r0, 0x56(r27) +/* 8030679C 003036FC 28 00 00 21 */ cmplwi r0, 0x21 +/* 803067A0 00303700 41 82 00 28 */ beq lbl_803067C8 +/* 803067A4 00303704 38 60 00 21 */ li r3, 0x21 +/* 803067A8 00303708 4B DA DB D1 */ bl update_fog__3CGXFUi +/* 803067AC 0030370C 38 00 00 21 */ li r0, 0x21 +/* 803067B0 00303710 38 60 00 01 */ li r3, 1 +/* 803067B4 00303714 B0 1B 00 56 */ sth r0, 0x56(r27) +/* 803067B8 00303718 38 80 00 00 */ li r4, 0 +/* 803067BC 0030371C 38 A0 00 01 */ li r5, 1 +/* 803067C0 00303720 38 C0 00 00 */ li r6, 0 +/* 803067C4 00303724 48 07 56 E9 */ bl GXSetBlendMode +lbl_803067C8: +/* 803067C8 00303728 7F 83 E3 78 */ mr r3, r28 +/* 803067CC 0030372C 7F A4 EB 78 */ mr r4, r29 +/* 803067D0 00303730 7F C5 F3 78 */ mr r5, r30 +/* 803067D4 00303734 7F E6 FB 78 */ mr r6, r31 +/* 803067D8 00303738 48 00 02 19 */ bl DrawFlat__10CCubeModelCFPCfPCf17ESurfaceSelection +/* 803067DC 0030373C BB 61 00 0C */ lmw r27, 0xc(r1) +/* 803067E0 00303740 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803067E4 00303744 7C 08 03 A6 */ mtlr r0 +/* 803067E8 00303748 38 21 00 20 */ addi r1, r1, 0x20 +/* 803067EC 0030374C 4E 80 00 20 */ blr + +.global "RemapMaterialData__10CCubeModelFPCvPQ24rstl60vector<23TCachedToken<8CTexture>,Q24rstl17rmemory_allocator>" +"RemapMaterialData__10CCubeModelFPCvPQ24rstl60vector<23TCachedToken<8CTexture>,Q24rstl17rmemory_allocator>": +/* 803067F0 00303750 90 83 00 04 */ stw r4, 4(r3) +/* 803067F4 00303754 38 80 00 00 */ li r4, 0 +/* 803067F8 00303758 90 A3 00 1C */ stw r5, 0x1c(r3) +/* 803067FC 0030375C 88 03 00 40 */ lbz r0, 0x40(r3) +/* 80306800 00303760 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 80306804 00303764 98 03 00 40 */ stb r0, 0x40(r3) +/* 80306808 00303768 4E 80 00 20 */ blr + +.global UnlockTextures__10CCubeModelCFv +UnlockTextures__10CCubeModelCFv: +/* 8030680C 0030376C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80306810 00303770 7C 08 02 A6 */ mflr r0 +/* 80306814 00303774 90 01 00 24 */ stw r0, 0x24(r1) +/* 80306818 00303778 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8030681C 0030377C 3B E0 00 00 */ li r31, 0 +/* 80306820 00303780 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80306824 00303784 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80306828 00303788 7C 7D 1B 78 */ mr r29, r3 +/* 8030682C 0030378C 80 63 00 1C */ lwz r3, 0x1c(r3) +/* 80306830 00303790 83 C3 00 0C */ lwz r30, 0xc(r3) +/* 80306834 00303794 48 00 00 14 */ b lbl_80306848 +lbl_80306838: +/* 80306838 00303798 93 FE 00 08 */ stw r31, 8(r30) +/* 8030683C 0030379C 7F C3 F3 78 */ mr r3, r30 +/* 80306840 003037A0 48 03 A5 01 */ bl Unlock__6CTokenFv +/* 80306844 003037A4 3B DE 00 0C */ addi r30, r30, 0xc +lbl_80306848: +/* 80306848 003037A8 80 7D 00 1C */ lwz r3, 0x1c(r29) +/* 8030684C 003037AC 80 03 00 04 */ lwz r0, 4(r3) +/* 80306850 003037B0 80 63 00 0C */ lwz r3, 0xc(r3) +/* 80306854 003037B4 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80306858 003037B8 7C 03 02 14 */ add r0, r3, r0 +/* 8030685C 003037BC 7C 1E 00 40 */ cmplw r30, r0 +/* 80306860 003037C0 40 82 FF D8 */ bne lbl_80306838 +/* 80306864 003037C4 88 1D 00 40 */ lbz r0, 0x40(r29) +/* 80306868 003037C8 38 60 00 00 */ li r3, 0 +/* 8030686C 003037CC 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80306870 003037D0 98 1D 00 40 */ stb r0, 0x40(r29) +/* 80306874 003037D4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80306878 003037D8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8030687C 003037DC 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80306880 003037E0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80306884 003037E4 7C 08 03 A6 */ mtlr r0 +/* 80306888 003037E8 38 21 00 20 */ addi r1, r1, 0x20 +/* 8030688C 003037EC 4E 80 00 20 */ blr + +.global SetModelWireframe__10CCubeModelFb +SetModelWireframe__10CCubeModelFb: +/* 80306890 003037F0 98 6D A7 81 */ stb r3, lbl_805A9341@sda21(r13) +/* 80306894 003037F4 4E 80 00 20 */ blr + +.global SetDrawingOccluders__10CCubeModelFb +SetDrawingOccluders__10CCubeModelFb: +/* 80306898 003037F8 98 6D A7 80 */ stb r3, lbl_805A9340@sda21(r13) +/* 8030689C 003037FC 4E 80 00 20 */ blr + +.global DrawAlpha__10CCubeModelCFRC11CModelFlags +DrawAlpha__10CCubeModelCFRC11CModelFlags: +/* 803068A0 00303800 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803068A4 00303804 7C 08 02 A6 */ mflr r0 +/* 803068A8 00303808 90 01 00 14 */ stw r0, 0x14(r1) +/* 803068AC 0030380C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803068B0 00303810 7C 9F 23 78 */ mr r31, r4 +/* 803068B4 00303814 93 C1 00 08 */ stw r30, 8(r1) +/* 803068B8 00303818 7C 7E 1B 78 */ mr r30, r3 +/* 803068BC 0030381C 48 03 F0 85 */ bl KillCachedViewDepState__13CCubeMaterialFv +/* 803068C0 00303820 7F C3 F3 78 */ mr r3, r30 +/* 803068C4 00303824 48 00 0D 5D */ bl SetArraysCurrent__10CCubeModelCFv +/* 803068C8 00303828 7F C3 F3 78 */ mr r3, r30 +/* 803068CC 0030382C 7F E4 FB 78 */ mr r4, r31 +/* 803068D0 00303830 48 00 02 61 */ bl DrawAlphaSurfaces__10CCubeModelCFRC11CModelFlags +/* 803068D4 00303834 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803068D8 00303838 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803068DC 0030383C 83 C1 00 08 */ lwz r30, 8(r1) +/* 803068E0 00303840 7C 08 03 A6 */ mtlr r0 +/* 803068E4 00303844 38 21 00 10 */ addi r1, r1, 0x10 +/* 803068E8 00303848 4E 80 00 20 */ blr + +.global DrawNormal__10CCubeModelCFRC11CModelFlags +DrawNormal__10CCubeModelCFRC11CModelFlags: +/* 803068EC 0030384C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803068F0 00303850 7C 08 02 A6 */ mflr r0 +/* 803068F4 00303854 90 01 00 14 */ stw r0, 0x14(r1) +/* 803068F8 00303858 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803068FC 0030385C 7C 9F 23 78 */ mr r31, r4 +/* 80306900 00303860 93 C1 00 08 */ stw r30, 8(r1) +/* 80306904 00303864 7C 7E 1B 78 */ mr r30, r3 +/* 80306908 00303868 48 03 F0 39 */ bl KillCachedViewDepState__13CCubeMaterialFv +/* 8030690C 0030386C 7F C3 F3 78 */ mr r3, r30 +/* 80306910 00303870 48 00 0D 11 */ bl SetArraysCurrent__10CCubeModelCFv +/* 80306914 00303874 7F C3 F3 78 */ mr r3, r30 +/* 80306918 00303878 7F E4 FB 78 */ mr r4, r31 +/* 8030691C 0030387C 48 00 02 C9 */ bl DrawNormalSurfaces__10CCubeModelCFRC11CModelFlags +/* 80306920 00303880 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80306924 00303884 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80306928 00303888 83 C1 00 08 */ lwz r30, 8(r1) +/* 8030692C 0030388C 7C 08 03 A6 */ mtlr r0 +/* 80306930 00303890 38 21 00 10 */ addi r1, r1, 0x10 +/* 80306934 00303894 4E 80 00 20 */ blr + +.global Draw__10CCubeModelCFPCfPCfRC11CModelFlags +Draw__10CCubeModelCFPCfPCfRC11CModelFlags: +/* 80306938 00303898 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8030693C 0030389C 7C 08 02 A6 */ mflr r0 +/* 80306940 003038A0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80306944 003038A4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80306948 003038A8 7C DF 33 78 */ mr r31, r6 +/* 8030694C 003038AC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80306950 003038B0 7C BE 2B 78 */ mr r30, r5 +/* 80306954 003038B4 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80306958 003038B8 7C 9D 23 78 */ mr r29, r4 +/* 8030695C 003038BC 93 81 00 10 */ stw r28, 0x10(r1) +/* 80306960 003038C0 7C 7C 1B 78 */ mr r28, r3 +/* 80306964 003038C4 48 03 EF DD */ bl KillCachedViewDepState__13CCubeMaterialFv +/* 80306968 003038C8 7F 83 E3 78 */ mr r3, r28 +/* 8030696C 003038CC 7F A4 EB 78 */ mr r4, r29 +/* 80306970 003038D0 7F C5 F3 78 */ mr r5, r30 +/* 80306974 003038D4 48 00 0C 71 */ bl SetSkinningArraysCurrent__10CCubeModelCFPCfPCf +/* 80306978 003038D8 7F 83 E3 78 */ mr r3, r28 +/* 8030697C 003038DC 7F E4 FB 78 */ mr r4, r31 +/* 80306980 003038E0 48 00 03 19 */ bl DrawSurfaces__10CCubeModelCFRC11CModelFlags +/* 80306984 003038E4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80306988 003038E8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8030698C 003038EC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80306990 003038F0 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80306994 003038F4 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80306998 003038F8 7C 08 03 A6 */ mtlr r0 +/* 8030699C 003038FC 38 21 00 20 */ addi r1, r1, 0x20 +/* 803069A0 00303900 4E 80 00 20 */ blr + +.global Draw__10CCubeModelCFRC11CModelFlags +Draw__10CCubeModelCFRC11CModelFlags: +/* 803069A4 00303904 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803069A8 00303908 7C 08 02 A6 */ mflr r0 +/* 803069AC 0030390C 90 01 00 14 */ stw r0, 0x14(r1) +/* 803069B0 00303910 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803069B4 00303914 7C 9F 23 78 */ mr r31, r4 +/* 803069B8 00303918 93 C1 00 08 */ stw r30, 8(r1) +/* 803069BC 0030391C 7C 7E 1B 78 */ mr r30, r3 +/* 803069C0 00303920 48 03 EF 81 */ bl KillCachedViewDepState__13CCubeMaterialFv +/* 803069C4 00303924 7F C3 F3 78 */ mr r3, r30 +/* 803069C8 00303928 48 00 0C 59 */ bl SetArraysCurrent__10CCubeModelCFv +/* 803069CC 0030392C 7F C3 F3 78 */ mr r3, r30 +/* 803069D0 00303930 7F E4 FB 78 */ mr r4, r31 +/* 803069D4 00303934 48 00 02 C5 */ bl DrawSurfaces__10CCubeModelCFRC11CModelFlags +/* 803069D8 00303938 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803069DC 0030393C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803069E0 00303940 83 C1 00 08 */ lwz r30, 8(r1) +/* 803069E4 00303944 7C 08 03 A6 */ mtlr r0 +/* 803069E8 00303948 38 21 00 10 */ addi r1, r1, 0x10 +/* 803069EC 0030394C 4E 80 00 20 */ blr + +.global DrawFlat__10CCubeModelCFPCfPCf17ESurfaceSelection +DrawFlat__10CCubeModelCFPCfPCf17ESurfaceSelection: +/* 803069F0 00303950 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 803069F4 00303954 7C 08 02 A6 */ mflr r0 +/* 803069F8 00303958 28 04 00 00 */ cmplwi r4, 0 +/* 803069FC 0030395C 90 01 00 34 */ stw r0, 0x34(r1) +/* 80306A00 00303960 BF 41 00 18 */ stmw r26, 0x18(r1) +/* 80306A04 00303964 7C 7F 1B 78 */ mr r31, r3 +/* 80306A08 00303968 7C DA 33 78 */ mr r26, r6 +/* 80306A0C 0030396C 41 82 00 0C */ beq lbl_80306A18 +/* 80306A10 00303970 48 00 0B D5 */ bl SetSkinningArraysCurrent__10CCubeModelCFPCfPCf +/* 80306A14 00303974 48 00 00 08 */ b lbl_80306A1C +lbl_80306A18: +/* 80306A18 00303978 48 00 0C 09 */ bl SetArraysCurrent__10CCubeModelCFv +lbl_80306A1C: +/* 80306A1C 0030397C 2C 1A 00 01 */ cmpwi r26, 1 +/* 80306A20 00303980 41 82 00 7C */ beq lbl_80306A9C +/* 80306A24 00303984 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80306A28 00303988 83 7F 00 38 */ lwz r27, 0x38(r31) +/* 80306A2C 0030398C 3B C3 53 EC */ addi r30, r3, lbl_805A53EC@l +/* 80306A30 00303990 48 00 00 64 */ b lbl_80306A94 +lbl_80306A34: +/* 80306A34 00303994 80 BB 00 0C */ lwz r5, 0xc(r27) +/* 80306A38 00303998 7F E4 FB 78 */ mr r4, r31 +/* 80306A3C 0030399C 38 61 00 0C */ addi r3, r1, 0xc +/* 80306A40 003039A0 48 00 0A CD */ bl GetMaterialByIndex__10CCubeModelCFi +/* 80306A44 003039A4 80 81 00 0C */ lwz r4, 0xc(r1) +/* 80306A48 003039A8 80 04 00 04 */ lwz r0, 4(r4) +/* 80306A4C 003039AC 54 03 10 3A */ slwi r3, r0, 2 +/* 80306A50 003039B0 38 03 00 08 */ addi r0, r3, 8 +/* 80306A54 003039B4 7C 64 00 2E */ lwzx r3, r4, r0 +/* 80306A58 003039B8 48 00 14 A5 */ bl SetVtxDescv_Compressed__3CGXFUi +/* 80306A5C 003039BC 80 7B 00 1C */ lwz r3, 0x1c(r27) +/* 80306A60 003039C0 88 1E 00 4C */ lbz r0, 0x4c(r30) +/* 80306A64 003039C4 38 63 00 4B */ addi r3, r3, 0x4b +/* 80306A68 003039C8 80 9B 00 10 */ lwz r4, 0x10(r27) +/* 80306A6C 003039CC 54 63 00 34 */ rlwinm r3, r3, 0, 0, 0x1a +/* 80306A70 003039D0 28 00 00 00 */ cmplwi r0, 0 +/* 80306A74 003039D4 54 9D 00 7E */ clrlwi r29, r4, 1 +/* 80306A78 003039D8 7F 9B 1A 14 */ add r28, r27, r3 +/* 80306A7C 003039DC 41 82 00 08 */ beq lbl_80306A84 +/* 80306A80 003039E0 48 00 15 65 */ bl FlushState__3CGXFv +lbl_80306A84: +/* 80306A84 003039E4 7F 83 E3 78 */ mr r3, r28 +/* 80306A88 003039E8 7F A4 EB 78 */ mr r4, r29 +/* 80306A8C 003039EC 48 07 57 49 */ bl GXCallDisplayList +/* 80306A90 003039F0 83 7B 00 18 */ lwz r27, 0x18(r27) +lbl_80306A94: +/* 80306A94 003039F4 28 1B 00 00 */ cmplwi r27, 0 +/* 80306A98 003039F8 40 82 FF 9C */ bne lbl_80306A34 +lbl_80306A9C: +/* 80306A9C 003039FC 2C 1A 00 00 */ cmpwi r26, 0 +/* 80306AA0 00303A00 41 82 00 7C */ beq lbl_80306B1C +/* 80306AA4 00303A04 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80306AA8 00303A08 83 7F 00 3C */ lwz r27, 0x3c(r31) +/* 80306AAC 00303A0C 3B C3 53 EC */ addi r30, r3, lbl_805A53EC@l +/* 80306AB0 00303A10 48 00 00 64 */ b lbl_80306B14 +lbl_80306AB4: +/* 80306AB4 00303A14 80 BB 00 0C */ lwz r5, 0xc(r27) +/* 80306AB8 00303A18 7F E4 FB 78 */ mr r4, r31 +/* 80306ABC 00303A1C 38 61 00 08 */ addi r3, r1, 8 +/* 80306AC0 00303A20 48 00 0A 4D */ bl GetMaterialByIndex__10CCubeModelCFi +/* 80306AC4 00303A24 80 81 00 08 */ lwz r4, 8(r1) +/* 80306AC8 00303A28 80 04 00 04 */ lwz r0, 4(r4) +/* 80306ACC 00303A2C 54 03 10 3A */ slwi r3, r0, 2 +/* 80306AD0 00303A30 38 03 00 08 */ addi r0, r3, 8 +/* 80306AD4 00303A34 7C 64 00 2E */ lwzx r3, r4, r0 +/* 80306AD8 00303A38 48 00 14 25 */ bl SetVtxDescv_Compressed__3CGXFUi +/* 80306ADC 00303A3C 80 7B 00 1C */ lwz r3, 0x1c(r27) +/* 80306AE0 00303A40 88 1E 00 4C */ lbz r0, 0x4c(r30) +/* 80306AE4 00303A44 38 63 00 4B */ addi r3, r3, 0x4b +/* 80306AE8 00303A48 80 9B 00 10 */ lwz r4, 0x10(r27) +/* 80306AEC 00303A4C 54 63 00 34 */ rlwinm r3, r3, 0, 0, 0x1a +/* 80306AF0 00303A50 28 00 00 00 */ cmplwi r0, 0 +/* 80306AF4 00303A54 54 9D 00 7E */ clrlwi r29, r4, 1 +/* 80306AF8 00303A58 7F 9B 1A 14 */ add r28, r27, r3 +/* 80306AFC 00303A5C 41 82 00 08 */ beq lbl_80306B04 +/* 80306B00 00303A60 48 00 14 E5 */ bl FlushState__3CGXFv +lbl_80306B04: +/* 80306B04 00303A64 7F 83 E3 78 */ mr r3, r28 +/* 80306B08 00303A68 7F A4 EB 78 */ mr r4, r29 +/* 80306B0C 00303A6C 48 07 56 C9 */ bl GXCallDisplayList +/* 80306B10 00303A70 83 7B 00 18 */ lwz r27, 0x18(r27) +lbl_80306B14: +/* 80306B14 00303A74 28 1B 00 00 */ cmplwi r27, 0 +/* 80306B18 00303A78 40 82 FF 9C */ bne lbl_80306AB4 +lbl_80306B1C: +/* 80306B1C 00303A7C BB 41 00 18 */ lmw r26, 0x18(r1) +/* 80306B20 00303A80 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80306B24 00303A84 7C 08 03 A6 */ mtlr r0 +/* 80306B28 00303A88 38 21 00 30 */ addi r1, r1, 0x30 +/* 80306B2C 00303A8C 4E 80 00 20 */ blr + +.global DrawAlphaSurfaces__10CCubeModelCFRC11CModelFlags +DrawAlphaSurfaces__10CCubeModelCFRC11CModelFlags: +/* 80306B30 00303A90 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80306B34 00303A94 7C 08 02 A6 */ mflr r0 +/* 80306B38 00303A98 90 01 00 24 */ stw r0, 0x24(r1) +/* 80306B3C 00303A9C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80306B40 00303AA0 7C 9F 23 78 */ mr r31, r4 +/* 80306B44 00303AA4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80306B48 00303AA8 7C 7E 1B 78 */ mr r30, r3 +/* 80306B4C 00303AAC 88 0D A7 81 */ lbz r0, lbl_805A9341@sda21(r13) +/* 80306B50 00303AB0 28 00 00 00 */ cmplwi r0, 0 +/* 80306B54 00303AB4 41 82 00 38 */ beq lbl_80306B8C +/* 80306B58 00303AB8 80 1E 00 3C */ lwz r0, 0x3c(r30) +/* 80306B5C 00303ABC 90 01 00 0C */ stw r0, 0xc(r1) +/* 80306B60 00303AC0 48 00 00 1C */ b lbl_80306B7C +lbl_80306B64: +/* 80306B64 00303AC4 7F C3 F3 78 */ mr r3, r30 +/* 80306B68 00303AC8 38 81 00 0C */ addi r4, r1, 0xc +/* 80306B6C 00303ACC 48 00 03 6D */ bl DrawSurfaceWireframe__10CCubeModelCFRC12CCubeSurface +/* 80306B70 00303AD0 80 61 00 0C */ lwz r3, 0xc(r1) +/* 80306B74 00303AD4 80 03 00 18 */ lwz r0, 0x18(r3) +/* 80306B78 00303AD8 90 01 00 0C */ stw r0, 0xc(r1) +lbl_80306B7C: +/* 80306B7C 00303ADC 80 01 00 0C */ lwz r0, 0xc(r1) +/* 80306B80 00303AE0 28 00 00 00 */ cmplwi r0, 0 +/* 80306B84 00303AE4 40 82 FF E0 */ bne lbl_80306B64 +/* 80306B88 00303AE8 48 00 00 44 */ b lbl_80306BCC +lbl_80306B8C: +/* 80306B8C 00303AEC 48 00 02 31 */ bl TryLockTextures__10CCubeModelCFv +/* 80306B90 00303AF0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80306B94 00303AF4 41 82 00 38 */ beq lbl_80306BCC +/* 80306B98 00303AF8 80 1E 00 3C */ lwz r0, 0x3c(r30) +/* 80306B9C 00303AFC 90 01 00 08 */ stw r0, 8(r1) +/* 80306BA0 00303B00 48 00 00 20 */ b lbl_80306BC0 +lbl_80306BA4: +/* 80306BA4 00303B04 7F C3 F3 78 */ mr r3, r30 +/* 80306BA8 00303B08 7F E5 FB 78 */ mr r5, r31 +/* 80306BAC 00303B0C 38 81 00 08 */ addi r4, r1, 8 +/* 80306BB0 00303B10 48 00 08 95 */ bl DrawSurface__10CCubeModelCFRC12CCubeSurfaceRC11CModelFlags +/* 80306BB4 00303B14 80 61 00 08 */ lwz r3, 8(r1) +/* 80306BB8 00303B18 80 03 00 18 */ lwz r0, 0x18(r3) +/* 80306BBC 00303B1C 90 01 00 08 */ stw r0, 8(r1) +lbl_80306BC0: +/* 80306BC0 00303B20 80 01 00 08 */ lwz r0, 8(r1) +/* 80306BC4 00303B24 28 00 00 00 */ cmplwi r0, 0 +/* 80306BC8 00303B28 40 82 FF DC */ bne lbl_80306BA4 +lbl_80306BCC: +/* 80306BCC 00303B2C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80306BD0 00303B30 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80306BD4 00303B34 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80306BD8 00303B38 7C 08 03 A6 */ mtlr r0 +/* 80306BDC 00303B3C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80306BE0 00303B40 4E 80 00 20 */ blr + +.global DrawNormalSurfaces__10CCubeModelCFRC11CModelFlags +DrawNormalSurfaces__10CCubeModelCFRC11CModelFlags: +/* 80306BE4 00303B44 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80306BE8 00303B48 7C 08 02 A6 */ mflr r0 +/* 80306BEC 00303B4C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80306BF0 00303B50 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80306BF4 00303B54 7C 9F 23 78 */ mr r31, r4 +/* 80306BF8 00303B58 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80306BFC 00303B5C 7C 7E 1B 78 */ mr r30, r3 +/* 80306C00 00303B60 88 0D A7 81 */ lbz r0, lbl_805A9341@sda21(r13) +/* 80306C04 00303B64 28 00 00 00 */ cmplwi r0, 0 +/* 80306C08 00303B68 41 82 00 38 */ beq lbl_80306C40 +/* 80306C0C 00303B6C 80 1E 00 38 */ lwz r0, 0x38(r30) +/* 80306C10 00303B70 90 01 00 0C */ stw r0, 0xc(r1) +/* 80306C14 00303B74 48 00 00 1C */ b lbl_80306C30 +lbl_80306C18: +/* 80306C18 00303B78 7F C3 F3 78 */ mr r3, r30 +/* 80306C1C 00303B7C 38 81 00 0C */ addi r4, r1, 0xc +/* 80306C20 00303B80 48 00 02 B9 */ bl DrawSurfaceWireframe__10CCubeModelCFRC12CCubeSurface +/* 80306C24 00303B84 80 61 00 0C */ lwz r3, 0xc(r1) +/* 80306C28 00303B88 80 03 00 18 */ lwz r0, 0x18(r3) +/* 80306C2C 00303B8C 90 01 00 0C */ stw r0, 0xc(r1) +lbl_80306C30: +/* 80306C30 00303B90 80 01 00 0C */ lwz r0, 0xc(r1) +/* 80306C34 00303B94 28 00 00 00 */ cmplwi r0, 0 +/* 80306C38 00303B98 40 82 FF E0 */ bne lbl_80306C18 +/* 80306C3C 00303B9C 48 00 00 44 */ b lbl_80306C80 +lbl_80306C40: +/* 80306C40 00303BA0 48 00 01 7D */ bl TryLockTextures__10CCubeModelCFv +/* 80306C44 00303BA4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80306C48 00303BA8 41 82 00 38 */ beq lbl_80306C80 +/* 80306C4C 00303BAC 80 1E 00 38 */ lwz r0, 0x38(r30) +/* 80306C50 00303BB0 90 01 00 08 */ stw r0, 8(r1) +/* 80306C54 00303BB4 48 00 00 20 */ b lbl_80306C74 +lbl_80306C58: +/* 80306C58 00303BB8 7F C3 F3 78 */ mr r3, r30 +/* 80306C5C 00303BBC 7F E5 FB 78 */ mr r5, r31 +/* 80306C60 00303BC0 38 81 00 08 */ addi r4, r1, 8 +/* 80306C64 00303BC4 48 00 07 E1 */ bl DrawSurface__10CCubeModelCFRC12CCubeSurfaceRC11CModelFlags +/* 80306C68 00303BC8 80 61 00 08 */ lwz r3, 8(r1) +/* 80306C6C 00303BCC 80 03 00 18 */ lwz r0, 0x18(r3) +/* 80306C70 00303BD0 90 01 00 08 */ stw r0, 8(r1) +lbl_80306C74: +/* 80306C74 00303BD4 80 01 00 08 */ lwz r0, 8(r1) +/* 80306C78 00303BD8 28 00 00 00 */ cmplwi r0, 0 +/* 80306C7C 00303BDC 40 82 FF DC */ bne lbl_80306C58 +lbl_80306C80: +/* 80306C80 00303BE0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80306C84 00303BE4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80306C88 00303BE8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80306C8C 00303BEC 7C 08 03 A6 */ mtlr r0 +/* 80306C90 00303BF0 38 21 00 20 */ addi r1, r1, 0x20 +/* 80306C94 00303BF4 4E 80 00 20 */ blr + +.global DrawSurfaces__10CCubeModelCFRC11CModelFlags +DrawSurfaces__10CCubeModelCFRC11CModelFlags: +/* 80306C98 00303BF8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80306C9C 00303BFC 7C 08 02 A6 */ mflr r0 +/* 80306CA0 00303C00 90 01 00 24 */ stw r0, 0x24(r1) +/* 80306CA4 00303C04 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80306CA8 00303C08 7C 7F 1B 78 */ mr r31, r3 +/* 80306CAC 00303C0C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80306CB0 00303C10 7C 9E 23 78 */ mr r30, r4 +/* 80306CB4 00303C14 88 0D A7 81 */ lbz r0, lbl_805A9341@sda21(r13) +/* 80306CB8 00303C18 28 00 00 00 */ cmplwi r0, 0 +/* 80306CBC 00303C1C 41 82 00 68 */ beq lbl_80306D24 +/* 80306CC0 00303C20 80 1F 00 38 */ lwz r0, 0x38(r31) +/* 80306CC4 00303C24 90 01 00 14 */ stw r0, 0x14(r1) +/* 80306CC8 00303C28 48 00 00 1C */ b lbl_80306CE4 +lbl_80306CCC: +/* 80306CCC 00303C2C 7F E3 FB 78 */ mr r3, r31 +/* 80306CD0 00303C30 38 81 00 14 */ addi r4, r1, 0x14 +/* 80306CD4 00303C34 48 00 02 05 */ bl DrawSurfaceWireframe__10CCubeModelCFRC12CCubeSurface +/* 80306CD8 00303C38 80 61 00 14 */ lwz r3, 0x14(r1) +/* 80306CDC 00303C3C 80 03 00 18 */ lwz r0, 0x18(r3) +/* 80306CE0 00303C40 90 01 00 14 */ stw r0, 0x14(r1) +lbl_80306CE4: +/* 80306CE4 00303C44 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80306CE8 00303C48 28 00 00 00 */ cmplwi r0, 0 +/* 80306CEC 00303C4C 40 82 FF E0 */ bne lbl_80306CCC +/* 80306CF0 00303C50 80 1F 00 3C */ lwz r0, 0x3c(r31) +/* 80306CF4 00303C54 90 01 00 10 */ stw r0, 0x10(r1) +/* 80306CF8 00303C58 48 00 00 1C */ b lbl_80306D14 +lbl_80306CFC: +/* 80306CFC 00303C5C 7F E3 FB 78 */ mr r3, r31 +/* 80306D00 00303C60 38 81 00 10 */ addi r4, r1, 0x10 +/* 80306D04 00303C64 48 00 01 D5 */ bl DrawSurfaceWireframe__10CCubeModelCFRC12CCubeSurface +/* 80306D08 00303C68 80 61 00 10 */ lwz r3, 0x10(r1) +/* 80306D0C 00303C6C 80 03 00 18 */ lwz r0, 0x18(r3) +/* 80306D10 00303C70 90 01 00 10 */ stw r0, 0x10(r1) +lbl_80306D14: +/* 80306D14 00303C74 80 01 00 10 */ lwz r0, 0x10(r1) +/* 80306D18 00303C78 28 00 00 00 */ cmplwi r0, 0 +/* 80306D1C 00303C7C 40 82 FF E0 */ bne lbl_80306CFC +/* 80306D20 00303C80 48 00 00 84 */ b lbl_80306DA4 +lbl_80306D24: +/* 80306D24 00303C84 A0 1E 00 02 */ lhz r0, 2(r30) +/* 80306D28 00303C88 54 00 07 7B */ rlwinm. r0, r0, 0, 0x1d, 0x1d +/* 80306D2C 00303C8C 40 82 00 10 */ bne lbl_80306D3C +/* 80306D30 00303C90 48 00 00 8D */ bl TryLockTextures__10CCubeModelCFv +/* 80306D34 00303C94 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80306D38 00303C98 41 82 00 6C */ beq lbl_80306DA4 +lbl_80306D3C: +/* 80306D3C 00303C9C 80 1F 00 38 */ lwz r0, 0x38(r31) +/* 80306D40 00303CA0 90 01 00 0C */ stw r0, 0xc(r1) +/* 80306D44 00303CA4 48 00 00 20 */ b lbl_80306D64 +lbl_80306D48: +/* 80306D48 00303CA8 7F E3 FB 78 */ mr r3, r31 +/* 80306D4C 00303CAC 7F C5 F3 78 */ mr r5, r30 +/* 80306D50 00303CB0 38 81 00 0C */ addi r4, r1, 0xc +/* 80306D54 00303CB4 48 00 06 F1 */ bl DrawSurface__10CCubeModelCFRC12CCubeSurfaceRC11CModelFlags +/* 80306D58 00303CB8 80 61 00 0C */ lwz r3, 0xc(r1) +/* 80306D5C 00303CBC 80 03 00 18 */ lwz r0, 0x18(r3) +/* 80306D60 00303CC0 90 01 00 0C */ stw r0, 0xc(r1) +lbl_80306D64: +/* 80306D64 00303CC4 80 01 00 0C */ lwz r0, 0xc(r1) +/* 80306D68 00303CC8 28 00 00 00 */ cmplwi r0, 0 +/* 80306D6C 00303CCC 40 82 FF DC */ bne lbl_80306D48 +/* 80306D70 00303CD0 80 1F 00 3C */ lwz r0, 0x3c(r31) +/* 80306D74 00303CD4 90 01 00 08 */ stw r0, 8(r1) +/* 80306D78 00303CD8 48 00 00 20 */ b lbl_80306D98 +lbl_80306D7C: +/* 80306D7C 00303CDC 7F E3 FB 78 */ mr r3, r31 +/* 80306D80 00303CE0 7F C5 F3 78 */ mr r5, r30 +/* 80306D84 00303CE4 38 81 00 08 */ addi r4, r1, 8 +/* 80306D88 00303CE8 48 00 06 BD */ bl DrawSurface__10CCubeModelCFRC12CCubeSurfaceRC11CModelFlags +/* 80306D8C 00303CEC 80 61 00 08 */ lwz r3, 8(r1) +/* 80306D90 00303CF0 80 03 00 18 */ lwz r0, 0x18(r3) +/* 80306D94 00303CF4 90 01 00 08 */ stw r0, 8(r1) +lbl_80306D98: +/* 80306D98 00303CF8 80 01 00 08 */ lwz r0, 8(r1) +/* 80306D9C 00303CFC 28 00 00 00 */ cmplwi r0, 0 +/* 80306DA0 00303D00 40 82 FF DC */ bne lbl_80306D7C +lbl_80306DA4: +/* 80306DA4 00303D04 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80306DA8 00303D08 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80306DAC 00303D0C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80306DB0 00303D10 7C 08 03 A6 */ mtlr r0 +/* 80306DB4 00303D14 38 21 00 20 */ addi r1, r1, 0x20 +/* 80306DB8 00303D18 4E 80 00 20 */ blr + +.global TryLockTextures__10CCubeModelCFv +TryLockTextures__10CCubeModelCFv: +/* 80306DBC 00303D1C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80306DC0 00303D20 7C 08 02 A6 */ mflr r0 +/* 80306DC4 00303D24 90 01 00 24 */ stw r0, 0x24(r1) +/* 80306DC8 00303D28 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 80306DCC 00303D2C 7C 7C 1B 78 */ mr r28, r3 +/* 80306DD0 00303D30 88 03 00 40 */ lbz r0, 0x40(r3) +/* 80306DD4 00303D34 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80306DD8 00303D38 40 82 00 D8 */ bne lbl_80306EB0 +/* 80306DDC 00303D3C 3B C0 00 00 */ li r30, 0 +/* 80306DE0 00303D40 3B A0 00 00 */ li r29, 0 +/* 80306DE4 00303D44 3B E0 00 00 */ li r31, 0 +/* 80306DE8 00303D48 48 00 00 A0 */ b lbl_80306E88 +lbl_80306DEC: +/* 80306DEC 00303D4C 80 03 00 0C */ lwz r0, 0xc(r3) +/* 80306DF0 00303D50 7C 60 FA 14 */ add r3, r0, r31 +/* 80306DF4 00303D54 48 03 9F 91 */ bl Lock__6CTokenFv +/* 80306DF8 00303D58 80 7C 00 1C */ lwz r3, 0x1c(r28) +/* 80306DFC 00303D5C 80 03 00 0C */ lwz r0, 0xc(r3) +/* 80306E00 00303D60 7F 60 FA 14 */ add r27, r0, r31 +/* 80306E04 00303D64 80 1B 00 08 */ lwz r0, 8(r27) +/* 80306E08 00303D68 28 00 00 00 */ cmplwi r0, 0 +/* 80306E0C 00303D6C 41 82 00 0C */ beq lbl_80306E18 +/* 80306E10 00303D70 38 60 00 01 */ li r3, 1 +/* 80306E14 00303D74 48 00 00 3C */ b lbl_80306E50 +lbl_80306E18: +/* 80306E18 00303D78 88 1B 00 04 */ lbz r0, 4(r27) +/* 80306E1C 00303D7C 28 00 00 00 */ cmplwi r0, 0 +/* 80306E20 00303D80 41 82 00 2C */ beq lbl_80306E4C +/* 80306E24 00303D84 80 7B 00 00 */ lwz r3, 0(r27) +/* 80306E28 00303D88 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80306E2C 00303D8C 28 00 00 00 */ cmplwi r0, 0 +/* 80306E30 00303D90 41 82 00 1C */ beq lbl_80306E4C +/* 80306E34 00303D94 7F 63 DB 78 */ mr r3, r27 +/* 80306E38 00303D98 48 03 9F D5 */ bl GetObj__6CTokenFv +/* 80306E3C 00303D9C 80 03 00 04 */ lwz r0, 4(r3) +/* 80306E40 00303DA0 38 60 00 01 */ li r3, 1 +/* 80306E44 00303DA4 90 1B 00 08 */ stw r0, 8(r27) +/* 80306E48 00303DA8 48 00 00 08 */ b lbl_80306E50 +lbl_80306E4C: +/* 80306E4C 00303DAC 38 60 00 00 */ li r3, 0 +lbl_80306E50: +/* 80306E50 00303DB0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80306E54 00303DB4 40 82 00 0C */ bne lbl_80306E60 +/* 80306E58 00303DB8 3B C0 00 01 */ li r30, 1 +/* 80306E5C 00303DBC 48 00 00 24 */ b lbl_80306E80 +lbl_80306E60: +/* 80306E60 00303DC0 80 7C 00 1C */ lwz r3, 0x1c(r28) +/* 80306E64 00303DC4 38 1F 00 08 */ addi r0, r31, 8 +/* 80306E68 00303DC8 80 63 00 0C */ lwz r3, 0xc(r3) +/* 80306E6C 00303DCC 7C 63 00 2E */ lwzx r3, r3, r0 +/* 80306E70 00303DD0 48 00 7D B9 */ bl LoadToMRAM__8CTextureCFv +/* 80306E74 00303DD4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80306E78 00303DD8 40 82 00 08 */ bne lbl_80306E80 +/* 80306E7C 00303DDC 3B C0 00 01 */ li r30, 1 +lbl_80306E80: +/* 80306E80 00303DE0 3B FF 00 0C */ addi r31, r31, 0xc +/* 80306E84 00303DE4 3B BD 00 01 */ addi r29, r29, 1 +lbl_80306E88: +/* 80306E88 00303DE8 80 7C 00 1C */ lwz r3, 0x1c(r28) +/* 80306E8C 00303DEC 80 03 00 04 */ lwz r0, 4(r3) +/* 80306E90 00303DF0 7C 1D 00 00 */ cmpw r29, r0 +/* 80306E94 00303DF4 41 80 FF 58 */ blt lbl_80306DEC +/* 80306E98 00303DF8 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 80306E9C 00303DFC 40 82 00 14 */ bne lbl_80306EB0 +/* 80306EA0 00303E00 88 1C 00 40 */ lbz r0, 0x40(r28) +/* 80306EA4 00303E04 38 60 00 01 */ li r3, 1 +/* 80306EA8 00303E08 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80306EAC 00303E0C 98 1C 00 40 */ stb r0, 0x40(r28) +lbl_80306EB0: +/* 80306EB0 00303E10 88 1C 00 40 */ lbz r0, 0x40(r28) +/* 80306EB4 00303E14 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 80306EB8 00303E18 54 03 CF FE */ rlwinm r3, r0, 0x19, 0x1f, 0x1f +/* 80306EBC 00303E1C 7C 03 00 D0 */ neg r0, r3 +/* 80306EC0 00303E20 7C 00 1B 78 */ or r0, r0, r3 +/* 80306EC4 00303E24 54 03 0F FE */ srwi r3, r0, 0x1f +/* 80306EC8 00303E28 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80306ECC 00303E2C 7C 08 03 A6 */ mtlr r0 +/* 80306ED0 00303E30 38 21 00 20 */ addi r1, r1, 0x20 +/* 80306ED4 00303E34 4E 80 00 20 */ blr + +.global DrawSurfaceWireframe__10CCubeModelCFRC12CCubeSurface +DrawSurfaceWireframe__10CCubeModelCFRC12CCubeSurface: +/* 80306ED8 00303E38 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 80306EDC 00303E3C 7C 08 02 A6 */ mflr r0 +/* 80306EE0 00303E40 90 01 00 84 */ stw r0, 0x84(r1) +/* 80306EE4 00303E44 BE 61 00 4C */ stmw r19, 0x4c(r1) +/* 80306EE8 00303E48 7C 94 23 78 */ mr r20, r4 +/* 80306EEC 00303E4C 80 A4 00 00 */ lwz r5, 0(r4) +/* 80306EF0 00303E50 7C 64 1B 78 */ mr r4, r3 +/* 80306EF4 00303E54 38 61 00 44 */ addi r3, r1, 0x44 +/* 80306EF8 00303E58 80 A5 00 0C */ lwz r5, 0xc(r5) +/* 80306EFC 00303E5C 48 00 06 11 */ bl GetMaterialByIndex__10CCubeModelCFi +/* 80306F00 00303E60 88 0D A7 88 */ lbz r0, lbl_805A9348@sda21(r13) +/* 80306F04 00303E64 80 81 00 44 */ lwz r4, 0x44(r1) +/* 80306F08 00303E68 7C 00 07 75 */ extsb. r0, r0 +/* 80306F0C 00303E6C 40 82 00 14 */ bne lbl_80306F20 +/* 80306F10 00303E70 38 60 00 00 */ li r3, 0 +/* 80306F14 00303E74 38 00 00 01 */ li r0, 1 +/* 80306F18 00303E78 90 6D A7 84 */ stw r3, lbl_805A9344@sda21(r13) +/* 80306F1C 00303E7C 98 0D A7 88 */ stb r0, lbl_805A9348@sda21(r13) +lbl_80306F20: +/* 80306F20 00303E80 88 0D A7 90 */ lbz r0, lbl_805A9350@sda21(r13) +/* 80306F24 00303E84 7C 00 07 75 */ extsb. r0, r0 +/* 80306F28 00303E88 40 82 00 14 */ bne lbl_80306F3C +/* 80306F2C 00303E8C 38 60 00 00 */ li r3, 0 +/* 80306F30 00303E90 38 00 00 01 */ li r0, 1 +/* 80306F34 00303E94 90 6D A7 8C */ stw r3, lbl_805A934C@sda21(r13) +/* 80306F38 00303E98 98 0D A7 90 */ stb r0, lbl_805A9350@sda21(r13) +lbl_80306F3C: +/* 80306F3C 00303E9C 80 64 00 04 */ lwz r3, 4(r4) +/* 80306F40 00303EA0 80 0D A7 84 */ lwz r0, lbl_805A9344@sda21(r13) +/* 80306F44 00303EA4 54 63 10 3A */ slwi r3, r3, 2 +/* 80306F48 00303EA8 7C 64 1A 14 */ add r3, r4, r3 +/* 80306F4C 00303EAC 80 83 00 08 */ lwz r4, 8(r3) +/* 80306F50 00303EB0 7C 04 00 40 */ cmplw r4, r0 +/* 80306F54 00303EB4 41 82 00 94 */ beq lbl_80306FE8 +/* 80306F58 00303EB8 38 A0 00 00 */ li r5, 0 +/* 80306F5C 00303EBC 38 00 00 04 */ li r0, 4 +/* 80306F60 00303EC0 90 AD A7 8C */ stw r5, lbl_805A934C@sda21(r13) +/* 80306F64 00303EC4 38 C0 00 00 */ li r6, 0 +/* 80306F68 00303EC8 7C 09 03 A6 */ mtctr r0 +lbl_80306F6C: +/* 80306F6C 00303ECC 7C 80 2C 30 */ srw r0, r4, r5 +/* 80306F70 00303ED0 54 00 07 BF */ clrlwi. r0, r0, 0x1e +/* 80306F74 00303ED4 41 82 00 10 */ beq lbl_80306F84 +/* 80306F78 00303ED8 80 6D A7 8C */ lwz r3, lbl_805A934C@sda21(r13) +/* 80306F7C 00303EDC 38 03 00 01 */ addi r0, r3, 1 +/* 80306F80 00303EE0 90 0D A7 8C */ stw r0, lbl_805A934C@sda21(r13) +lbl_80306F84: +/* 80306F84 00303EE4 38 A5 00 02 */ addi r5, r5, 2 +/* 80306F88 00303EE8 7C 80 2C 30 */ srw r0, r4, r5 +/* 80306F8C 00303EEC 54 00 07 BF */ clrlwi. r0, r0, 0x1e +/* 80306F90 00303EF0 41 82 00 10 */ beq lbl_80306FA0 +/* 80306F94 00303EF4 80 6D A7 8C */ lwz r3, lbl_805A934C@sda21(r13) +/* 80306F98 00303EF8 38 03 00 01 */ addi r0, r3, 1 +/* 80306F9C 00303EFC 90 0D A7 8C */ stw r0, lbl_805A934C@sda21(r13) +lbl_80306FA0: +/* 80306FA0 00303F00 38 A5 00 02 */ addi r5, r5, 2 +/* 80306FA4 00303F04 7C 80 2C 30 */ srw r0, r4, r5 +/* 80306FA8 00303F08 54 00 07 BF */ clrlwi. r0, r0, 0x1e +/* 80306FAC 00303F0C 41 82 00 10 */ beq lbl_80306FBC +/* 80306FB0 00303F10 80 6D A7 8C */ lwz r3, lbl_805A934C@sda21(r13) +/* 80306FB4 00303F14 38 03 00 01 */ addi r0, r3, 1 +/* 80306FB8 00303F18 90 0D A7 8C */ stw r0, lbl_805A934C@sda21(r13) +lbl_80306FBC: +/* 80306FBC 00303F1C 38 A5 00 02 */ addi r5, r5, 2 +/* 80306FC0 00303F20 7C 80 2C 30 */ srw r0, r4, r5 +/* 80306FC4 00303F24 54 00 07 BF */ clrlwi. r0, r0, 0x1e +/* 80306FC8 00303F28 41 82 00 10 */ beq lbl_80306FD8 +/* 80306FCC 00303F2C 80 6D A7 8C */ lwz r3, lbl_805A934C@sda21(r13) +/* 80306FD0 00303F30 38 03 00 01 */ addi r0, r3, 1 +/* 80306FD4 00303F34 90 0D A7 8C */ stw r0, lbl_805A934C@sda21(r13) +lbl_80306FD8: +/* 80306FD8 00303F38 38 A5 00 02 */ addi r5, r5, 2 +/* 80306FDC 00303F3C 38 C6 00 03 */ addi r6, r6, 3 +/* 80306FE0 00303F40 42 00 FF 8C */ bdnz lbl_80306F6C +/* 80306FE4 00303F44 90 8D A7 84 */ stw r4, lbl_805A9344@sda21(r13) +lbl_80306FE8: +/* 80306FE8 00303F48 80 0D A7 8C */ lwz r0, lbl_805A934C@sda21(r13) +/* 80306FEC 00303F4C 3C 60 80 3D */ lis r3, lbl_803D7388@ha +/* 80306FF0 00303F50 38 63 73 88 */ addi r3, r3, lbl_803D7388@l +/* 80306FF4 00303F54 54 19 08 3C */ slwi r25, r0, 1 +/* 80306FF8 00303F58 48 00 0E 31 */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList +/* 80306FFC 00303F5C 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80307000 00303F60 3A A3 53 EC */ addi r21, r3, lbl_805A53EC@l +/* 80307004 00303F64 80 15 00 78 */ lwz r0, 0x78(r21) +/* 80307008 00303F68 28 00 00 00 */ cmplwi r0, 0 +/* 8030700C 00303F6C 41 82 00 14 */ beq lbl_80307020 +/* 80307010 00303F70 38 00 00 00 */ li r0, 0 +/* 80307014 00303F74 38 60 00 00 */ li r3, 0 +/* 80307018 00303F78 90 15 00 78 */ stw r0, 0x78(r21) +/* 8030701C 00303F7C 48 07 42 C5 */ bl GXSetTevDirect +lbl_80307020: +/* 80307020 00303F80 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80307024 00303F84 38 83 53 EC */ addi r4, r3, lbl_805A53EC@l +/* 80307028 00303F88 88 04 00 51 */ lbz r0, 0x51(r4) +/* 8030702C 00303F8C 28 00 00 00 */ cmplwi r0, 0 +/* 80307030 00303F90 41 82 00 14 */ beq lbl_80307044 +/* 80307034 00303F94 38 00 00 00 */ li r0, 0 +/* 80307038 00303F98 38 60 00 00 */ li r3, 0 +/* 8030703C 00303F9C 98 04 00 51 */ stb r0, 0x51(r4) +/* 80307040 00303FA0 48 07 42 79 */ bl GXSetNumIndStages +lbl_80307044: +/* 80307044 00303FA4 80 75 00 68 */ lwz r3, 0x68(r21) +/* 80307048 00303FA8 3C 03 FF FA */ addis r0, r3, 0xfffa +/* 8030704C 00303FAC 28 00 3D EF */ cmplwi r0, 0x3def +/* 80307050 00303FB0 41 82 00 28 */ beq lbl_80307078 +/* 80307054 00303FB4 3C 80 00 06 */ lis r4, 0x00063DEF@ha +/* 80307058 00303FB8 38 60 00 00 */ li r3, 0 +/* 8030705C 00303FBC 38 04 3D EF */ addi r0, r4, 0x00063DEF@l +/* 80307060 00303FC0 38 80 00 0F */ li r4, 0xf +/* 80307064 00303FC4 90 15 00 68 */ stw r0, 0x68(r21) +/* 80307068 00303FC8 38 A0 00 0F */ li r5, 0xf +/* 8030706C 00303FCC 38 C0 00 0F */ li r6, 0xf +/* 80307070 00303FD0 38 E0 00 0C */ li r7, 0xc +/* 80307074 00303FD4 48 07 44 31 */ bl GXSetTevColorIn +lbl_80307078: +/* 80307078 00303FD8 80 15 00 70 */ lwz r0, 0x70(r21) +/* 8030707C 00303FDC 28 00 01 00 */ cmplwi r0, 0x100 +/* 80307080 00303FE0 41 82 00 28 */ beq lbl_803070A8 +/* 80307084 00303FE4 38 00 01 00 */ li r0, 0x100 +/* 80307088 00303FE8 38 60 00 00 */ li r3, 0 +/* 8030708C 00303FEC 90 15 00 70 */ stw r0, 0x70(r21) +/* 80307090 00303FF0 38 80 00 00 */ li r4, 0 +/* 80307094 00303FF4 38 A0 00 00 */ li r5, 0 +/* 80307098 00303FF8 38 C0 00 00 */ li r6, 0 +/* 8030709C 00303FFC 38 E0 00 01 */ li r7, 1 +/* 803070A0 00304000 39 00 00 00 */ li r8, 0 +/* 803070A4 00304004 48 07 44 89 */ bl GXSetTevColorOp +lbl_803070A8: +/* 803070A8 00304008 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 803070AC 0030400C 38 C0 00 00 */ li r6, 0 +/* 803070B0 00304010 3B A3 53 EC */ addi r29, r3, lbl_805A53EC@l +/* 803070B4 00304014 88 BD 00 4D */ lbz r5, 0x4d(r29) +/* 803070B8 00304018 88 1D 00 4F */ lbz r0, 0x4f(r29) +/* 803070BC 0030401C 7C 85 00 D0 */ neg r4, r5 +/* 803070C0 00304020 88 7D 00 4C */ lbz r3, 0x4c(r29) +/* 803070C4 00304024 7C 84 2B 78 */ or r4, r4, r5 +/* 803070C8 00304028 28 00 00 01 */ cmplwi r0, 1 +/* 803070CC 0030402C 50 83 0F FE */ rlwimi r3, r4, 1, 0x1f, 0x1f +/* 803070D0 00304030 98 DD 00 4E */ stb r6, 0x4e(r29) +/* 803070D4 00304034 98 7D 00 4C */ stb r3, 0x4c(r29) +/* 803070D8 00304038 41 82 00 14 */ beq lbl_803070EC +/* 803070DC 0030403C 38 00 00 01 */ li r0, 1 +/* 803070E0 00304040 38 60 00 01 */ li r3, 1 +/* 803070E4 00304044 98 1D 00 4F */ stb r0, 0x4f(r29) +/* 803070E8 00304048 48 07 11 7D */ bl GXSetNumTexGens +lbl_803070EC: +/* 803070EC 0030404C 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 803070F0 00304050 3A A3 53 EC */ addi r21, r3, lbl_805A53EC@l +/* 803070F4 00304054 A0 15 00 56 */ lhz r0, 0x56(r21) +/* 803070F8 00304058 28 00 00 05 */ cmplwi r0, 5 +/* 803070FC 0030405C 41 82 00 28 */ beq lbl_80307124 +/* 80307100 00304060 38 60 00 05 */ li r3, 5 +/* 80307104 00304064 4B DA D2 75 */ bl update_fog__3CGXFUi +/* 80307108 00304068 38 00 00 05 */ li r0, 5 +/* 8030710C 0030406C 38 60 00 01 */ li r3, 1 +/* 80307110 00304070 B0 15 00 56 */ sth r0, 0x56(r21) +/* 80307114 00304074 38 80 00 01 */ li r4, 1 +/* 80307118 00304078 38 A0 00 00 */ li r5, 0 +/* 8030711C 0030407C 38 C0 00 00 */ li r6, 0 +/* 80307120 00304080 48 07 4D 8D */ bl GXSetBlendMode +lbl_80307124: +/* 80307124 00304084 80 B4 00 00 */ lwz r5, 0(r20) +/* 80307128 00304088 1F 59 00 03 */ mulli r26, r25, 3 +/* 8030712C 0030408C 57 3B 08 3C */ slwi r27, r25, 1 +/* 80307130 00304090 80 65 00 1C */ lwz r3, 0x1c(r5) +/* 80307134 00304094 3A C0 00 00 */ li r22, 0 +/* 80307138 00304098 80 85 00 10 */ lwz r4, 0x10(r5) +/* 8030713C 0030409C 3F C0 CC 01 */ lis r30, 0xcc01 +/* 80307140 003040A0 38 03 00 4B */ addi r0, r3, 0x4b +/* 80307144 003040A4 54 00 00 34 */ rlwinm r0, r0, 0, 0, 0x1a +/* 80307148 003040A8 54 98 00 7E */ clrlwi r24, r4, 1 +/* 8030714C 003040AC 7E E5 02 14 */ add r23, r5, r0 +/* 80307150 003040B0 48 00 02 D8 */ b lbl_80307428 +lbl_80307154: +/* 80307154 003040B4 88 17 00 00 */ lbz r0, 0(r23) +/* 80307158 003040B8 54 1F 06 39 */ rlwinm. r31, r0, 0, 0x18, 0x1c +/* 8030715C 003040BC 41 82 02 D4 */ beq lbl_80307430 +/* 80307160 003040C0 88 77 00 01 */ lbz r3, 1(r23) +/* 80307164 003040C4 3A D6 00 03 */ addi r22, r22, 3 +/* 80307168 003040C8 88 17 00 02 */ lbz r0, 2(r23) +/* 8030716C 003040CC 3A F7 00 03 */ addi r23, r23, 3 +/* 80307170 003040D0 98 61 00 40 */ stb r3, 0x40(r1) +/* 80307174 003040D4 98 01 00 41 */ stb r0, 0x41(r1) +/* 80307178 003040D8 A3 81 00 40 */ lhz r28, 0x40(r1) +/* 8030717C 003040DC 28 1C 00 03 */ cmplwi r28, 3 +/* 80307180 003040E0 41 80 02 B0 */ blt lbl_80307430 +/* 80307184 003040E4 88 1D 00 4C */ lbz r0, 0x4c(r29) +/* 80307188 003040E8 28 00 00 00 */ cmplwi r0, 0 +/* 8030718C 003040EC 41 82 00 08 */ beq lbl_80307194 +/* 80307190 003040F0 48 00 0E 55 */ bl FlushState__3CGXFv +lbl_80307194: +/* 80307194 003040F4 38 60 00 B0 */ li r3, 0xb0 +/* 80307198 003040F8 38 80 00 00 */ li r4, 0 +/* 8030719C 003040FC 38 A0 00 04 */ li r5, 4 +/* 803071A0 00304100 48 07 17 55 */ bl GXBegin +/* 803071A4 00304104 88 97 00 00 */ lbz r4, 0(r23) +/* 803071A8 00304108 7C 1C C9 D6 */ mullw r0, r28, r25 +/* 803071AC 0030410C 88 77 00 01 */ lbz r3, 1(r23) +/* 803071B0 00304110 7C B9 BA 14 */ add r5, r25, r23 +/* 803071B4 00304114 98 81 00 3C */ stb r4, 0x3c(r1) +/* 803071B8 00304118 7C 9B BA 14 */ add r4, r27, r23 +/* 803071BC 0030411C 28 1F 00 90 */ cmplwi r31, 0x90 +/* 803071C0 00304120 98 61 00 3D */ stb r3, 0x3d(r1) +/* 803071C4 00304124 7E D6 02 14 */ add r22, r22, r0 +/* 803071C8 00304128 A0 01 00 3C */ lhz r0, 0x3c(r1) +/* 803071CC 0030412C B0 1E 80 00 */ sth r0, 0xCC008000@l(r30) +/* 803071D0 00304130 88 65 00 00 */ lbz r3, 0(r5) +/* 803071D4 00304134 88 05 00 01 */ lbz r0, 1(r5) +/* 803071D8 00304138 98 61 00 38 */ stb r3, 0x38(r1) +/* 803071DC 0030413C 98 01 00 39 */ stb r0, 0x39(r1) +/* 803071E0 00304140 A0 01 00 38 */ lhz r0, 0x38(r1) +/* 803071E4 00304144 B0 1E 80 00 */ sth r0, 0xCC008000@l(r30) +/* 803071E8 00304148 88 64 00 00 */ lbz r3, 0(r4) +/* 803071EC 0030414C 88 04 00 01 */ lbz r0, 1(r4) +/* 803071F0 00304150 98 61 00 34 */ stb r3, 0x34(r1) +/* 803071F4 00304154 98 01 00 35 */ stb r0, 0x35(r1) +/* 803071F8 00304158 A0 01 00 34 */ lhz r0, 0x34(r1) +/* 803071FC 0030415C B0 1E 80 00 */ sth r0, 0xCC008000@l(r30) +/* 80307200 00304160 88 77 00 00 */ lbz r3, 0(r23) +/* 80307204 00304164 88 17 00 01 */ lbz r0, 1(r23) +/* 80307208 00304168 7E F7 D2 14 */ add r23, r23, r26 +/* 8030720C 0030416C 98 61 00 30 */ stb r3, 0x30(r1) +/* 80307210 00304170 98 01 00 31 */ stb r0, 0x31(r1) +/* 80307214 00304174 A0 01 00 30 */ lhz r0, 0x30(r1) +/* 80307218 00304178 B0 1E 80 00 */ sth r0, 0xCC008000@l(r30) +/* 8030721C 0030417C 40 82 00 B4 */ bne lbl_803072D0 +/* 80307220 00304180 3B 9C FF FD */ addi r28, r28, -3 +/* 80307224 00304184 3A A0 00 00 */ li r21, 0 +/* 80307228 00304188 57 9C 04 3E */ clrlwi r28, r28, 0x10 +/* 8030722C 0030418C 3F E0 CC 01 */ lis r31, 0xcc01 +/* 80307230 00304190 48 00 00 94 */ b lbl_803072C4 +lbl_80307234: +/* 80307234 00304194 88 1D 00 4C */ lbz r0, 0x4c(r29) +/* 80307238 00304198 28 00 00 00 */ cmplwi r0, 0 +/* 8030723C 0030419C 41 82 00 08 */ beq lbl_80307244 +/* 80307240 003041A0 48 00 0D A5 */ bl FlushState__3CGXFv +lbl_80307244: +/* 80307244 003041A4 38 60 00 B0 */ li r3, 0xb0 +/* 80307248 003041A8 38 80 00 00 */ li r4, 0 +/* 8030724C 003041AC 38 A0 00 04 */ li r5, 4 +/* 80307250 003041B0 48 07 16 A5 */ bl GXBegin +/* 80307254 003041B4 88 77 00 00 */ lbz r3, 0(r23) +/* 80307258 003041B8 7C 99 BA 14 */ add r4, r25, r23 +/* 8030725C 003041BC 88 17 00 01 */ lbz r0, 1(r23) +/* 80307260 003041C0 7C BB BA 14 */ add r5, r27, r23 +/* 80307264 003041C4 98 61 00 2C */ stb r3, 0x2c(r1) +/* 80307268 003041C8 3A B5 00 03 */ addi r21, r21, 3 +/* 8030726C 003041CC 98 01 00 2D */ stb r0, 0x2d(r1) +/* 80307270 003041D0 A0 01 00 2C */ lhz r0, 0x2c(r1) +/* 80307274 003041D4 B0 1F 80 00 */ sth r0, 0xCC008000@l(r31) +/* 80307278 003041D8 88 64 00 00 */ lbz r3, 0(r4) +/* 8030727C 003041DC 88 04 00 01 */ lbz r0, 1(r4) +/* 80307280 003041E0 98 61 00 28 */ stb r3, 0x28(r1) +/* 80307284 003041E4 98 01 00 29 */ stb r0, 0x29(r1) +/* 80307288 003041E8 A0 01 00 28 */ lhz r0, 0x28(r1) +/* 8030728C 003041EC B0 1F 80 00 */ sth r0, 0xCC008000@l(r31) +/* 80307290 003041F0 88 65 00 00 */ lbz r3, 0(r5) +/* 80307294 003041F4 88 05 00 01 */ lbz r0, 1(r5) +/* 80307298 003041F8 98 61 00 24 */ stb r3, 0x24(r1) +/* 8030729C 003041FC 98 01 00 25 */ stb r0, 0x25(r1) +/* 803072A0 00304200 A0 01 00 24 */ lhz r0, 0x24(r1) +/* 803072A4 00304204 B0 1F 80 00 */ sth r0, 0xCC008000@l(r31) +/* 803072A8 00304208 88 77 00 00 */ lbz r3, 0(r23) +/* 803072AC 0030420C 88 17 00 01 */ lbz r0, 1(r23) +/* 803072B0 00304210 7E F7 D2 14 */ add r23, r23, r26 +/* 803072B4 00304214 98 61 00 20 */ stb r3, 0x20(r1) +/* 803072B8 00304218 98 01 00 21 */ stb r0, 0x21(r1) +/* 803072BC 0030421C A0 01 00 20 */ lhz r0, 0x20(r1) +/* 803072C0 00304220 B0 1F 80 00 */ sth r0, 0xCC008000@l(r31) +lbl_803072C4: +/* 803072C4 00304224 7C 15 E0 00 */ cmpw r21, r28 +/* 803072C8 00304228 41 80 FF 6C */ blt lbl_80307234 +/* 803072CC 0030422C 48 00 01 5C */ b lbl_80307428 +lbl_803072D0: +/* 803072D0 00304230 28 1F 00 98 */ cmplwi r31, 0x98 +/* 803072D4 00304234 40 82 00 B8 */ bne lbl_8030738C +/* 803072D8 00304238 3B 9C FF FD */ addi r28, r28, -3 +/* 803072DC 0030423C 3A A0 00 01 */ li r21, 1 +/* 803072E0 00304240 57 9C 04 3E */ clrlwi r28, r28, 0x10 +/* 803072E4 00304244 3A 80 00 00 */ li r20, 0 +/* 803072E8 00304248 3F E0 CC 01 */ lis r31, 0xcc01 +/* 803072EC 0030424C 48 00 00 94 */ b lbl_80307380 +lbl_803072F0: +/* 803072F0 00304250 88 1D 00 4C */ lbz r0, 0x4c(r29) +/* 803072F4 00304254 28 00 00 00 */ cmplwi r0, 0 +/* 803072F8 00304258 41 82 00 08 */ beq lbl_80307300 +/* 803072FC 0030425C 48 00 0C E9 */ bl FlushState__3CGXFv +lbl_80307300: +/* 80307300 00304260 38 60 00 B0 */ li r3, 0xb0 +/* 80307304 00304264 38 80 00 00 */ li r4, 0 +/* 80307308 00304268 38 A0 00 03 */ li r5, 3 +/* 8030730C 0030426C 48 07 15 E9 */ bl GXBegin +/* 80307310 00304270 38 15 00 01 */ addi r0, r21, 1 +/* 80307314 00304274 6A A3 00 01 */ xori r3, r21, 1 +/* 80307318 00304278 7C 19 01 D6 */ mullw r0, r25, r0 +/* 8030731C 0030427C 6A B5 00 01 */ xori r21, r21, 1 +/* 80307320 00304280 38 83 00 01 */ addi r4, r3, 1 +/* 80307324 00304284 3A 94 00 01 */ addi r20, r20, 1 +/* 80307328 00304288 7C A0 B8 50 */ subf r5, r0, r23 +/* 8030732C 0030428C 88 65 00 00 */ lbz r3, 0(r5) +/* 80307330 00304290 7C 99 21 D6 */ mullw r4, r25, r4 +/* 80307334 00304294 88 05 00 01 */ lbz r0, 1(r5) +/* 80307338 00304298 98 61 00 1C */ stb r3, 0x1c(r1) +/* 8030733C 0030429C 98 01 00 1D */ stb r0, 0x1d(r1) +/* 80307340 003042A0 7C 84 B8 50 */ subf r4, r4, r23 +/* 80307344 003042A4 A0 01 00 1C */ lhz r0, 0x1c(r1) +/* 80307348 003042A8 B0 1F 80 00 */ sth r0, 0xCC008000@l(r31) +/* 8030734C 003042AC 88 77 00 00 */ lbz r3, 0(r23) +/* 80307350 003042B0 88 17 00 01 */ lbz r0, 1(r23) +/* 80307354 003042B4 7E F7 CA 14 */ add r23, r23, r25 +/* 80307358 003042B8 98 61 00 18 */ stb r3, 0x18(r1) +/* 8030735C 003042BC 98 01 00 19 */ stb r0, 0x19(r1) +/* 80307360 003042C0 A0 01 00 18 */ lhz r0, 0x18(r1) +/* 80307364 003042C4 B0 1F 80 00 */ sth r0, 0xCC008000@l(r31) +/* 80307368 003042C8 88 64 00 00 */ lbz r3, 0(r4) +/* 8030736C 003042CC 88 04 00 01 */ lbz r0, 1(r4) +/* 80307370 003042D0 98 61 00 14 */ stb r3, 0x14(r1) +/* 80307374 003042D4 98 01 00 15 */ stb r0, 0x15(r1) +/* 80307378 003042D8 A0 01 00 14 */ lhz r0, 0x14(r1) +/* 8030737C 003042DC B0 1F 80 00 */ sth r0, 0xCC008000@l(r31) +lbl_80307380: +/* 80307380 003042E0 7C 14 E0 00 */ cmpw r20, r28 +/* 80307384 003042E4 41 80 FF 6C */ blt lbl_803072F0 +/* 80307388 003042E8 48 00 00 A0 */ b lbl_80307428 +lbl_8030738C: +/* 8030738C 003042EC 28 1F 00 A0 */ cmplwi r31, 0xa0 +/* 80307390 003042F0 40 82 00 A0 */ bne lbl_80307430 +/* 80307394 003042F4 3B 9C FF FD */ addi r28, r28, -3 +/* 80307398 003042F8 7E 9A B8 50 */ subf r20, r26, r23 +/* 8030739C 003042FC 57 9C 04 3E */ clrlwi r28, r28, 0x10 +/* 803073A0 00304300 3A A0 00 00 */ li r21, 0 +/* 803073A4 00304304 3F E0 CC 01 */ lis r31, 0xcc01 +/* 803073A8 00304308 48 00 00 78 */ b lbl_80307420 +lbl_803073AC: +/* 803073AC 0030430C 88 1D 00 4C */ lbz r0, 0x4c(r29) +/* 803073B0 00304310 7E 79 B8 50 */ subf r19, r25, r23 +/* 803073B4 00304314 28 00 00 00 */ cmplwi r0, 0 +/* 803073B8 00304318 41 82 00 08 */ beq lbl_803073C0 +/* 803073BC 0030431C 48 00 0C 29 */ bl FlushState__3CGXFv +lbl_803073C0: +/* 803073C0 00304320 38 60 00 B0 */ li r3, 0xb0 +/* 803073C4 00304324 38 80 00 00 */ li r4, 0 +/* 803073C8 00304328 38 A0 00 03 */ li r5, 3 +/* 803073CC 0030432C 48 07 15 29 */ bl GXBegin +/* 803073D0 00304330 88 73 00 00 */ lbz r3, 0(r19) +/* 803073D4 00304334 3A B5 00 01 */ addi r21, r21, 1 +/* 803073D8 00304338 88 13 00 01 */ lbz r0, 1(r19) +/* 803073DC 0030433C 98 61 00 10 */ stb r3, 0x10(r1) +/* 803073E0 00304340 98 01 00 11 */ stb r0, 0x11(r1) +/* 803073E4 00304344 A0 01 00 10 */ lhz r0, 0x10(r1) +/* 803073E8 00304348 B0 1F 80 00 */ sth r0, 0xCC008000@l(r31) +/* 803073EC 0030434C 88 77 00 00 */ lbz r3, 0(r23) +/* 803073F0 00304350 88 17 00 01 */ lbz r0, 1(r23) +/* 803073F4 00304354 7E F7 CA 14 */ add r23, r23, r25 +/* 803073F8 00304358 98 61 00 0C */ stb r3, 0xc(r1) +/* 803073FC 0030435C 98 01 00 0D */ stb r0, 0xd(r1) +/* 80307400 00304360 A0 01 00 0C */ lhz r0, 0xc(r1) +/* 80307404 00304364 B0 1F 80 00 */ sth r0, 0xCC008000@l(r31) +/* 80307408 00304368 88 74 00 00 */ lbz r3, 0(r20) +/* 8030740C 0030436C 88 14 00 01 */ lbz r0, 1(r20) +/* 80307410 00304370 98 61 00 08 */ stb r3, 8(r1) +/* 80307414 00304374 98 01 00 09 */ stb r0, 9(r1) +/* 80307418 00304378 A0 01 00 08 */ lhz r0, 8(r1) +/* 8030741C 0030437C B0 1F 80 00 */ sth r0, 0xCC008000@l(r31) +lbl_80307420: +/* 80307420 00304380 7C 15 E0 00 */ cmpw r21, r28 +/* 80307424 00304384 41 80 FF 88 */ blt lbl_803073AC +lbl_80307428: +/* 80307428 00304388 7C 16 C0 00 */ cmpw r22, r24 +/* 8030742C 0030438C 41 80 FD 28 */ blt lbl_80307154 +lbl_80307430: +/* 80307430 00304390 BA 61 00 4C */ lmw r19, 0x4c(r1) +/* 80307434 00304394 80 01 00 84 */ lwz r0, 0x84(r1) +/* 80307438 00304398 7C 08 03 A6 */ mtlr r0 +/* 8030743C 0030439C 38 21 00 80 */ addi r1, r1, 0x80 +/* 80307440 003043A0 4E 80 00 20 */ blr + +.global DrawSurface__10CCubeModelCFRC12CCubeSurfaceRC11CModelFlags +DrawSurface__10CCubeModelCFRC12CCubeSurfaceRC11CModelFlags: +/* 80307444 003043A4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80307448 003043A8 7C 08 02 A6 */ mflr r0 +/* 8030744C 003043AC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80307450 003043B0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80307454 003043B4 7C 9F 23 78 */ mr r31, r4 +/* 80307458 003043B8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8030745C 003043BC 7C BE 2B 78 */ mr r30, r5 +/* 80307460 003043C0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80307464 003043C4 7C 7D 1B 78 */ mr r29, r3 +/* 80307468 003043C8 38 61 00 08 */ addi r3, r1, 8 +/* 8030746C 003043CC 80 C4 00 00 */ lwz r6, 0(r4) +/* 80307470 003043D0 7F A4 EB 78 */ mr r4, r29 +/* 80307474 003043D4 80 A6 00 0C */ lwz r5, 0xc(r6) +/* 80307478 003043D8 48 00 00 95 */ bl GetMaterialByIndex__10CCubeModelCFi +/* 8030747C 003043DC 80 61 00 08 */ lwz r3, 8(r1) +/* 80307480 003043E0 90 61 00 0C */ stw r3, 0xc(r1) +/* 80307484 003043E4 80 03 00 00 */ lwz r0, 0(r3) +/* 80307488 003043E8 54 00 05 AD */ rlwinm. r0, r0, 0, 0x16, 0x16 +/* 8030748C 003043EC 41 82 00 10 */ beq lbl_8030749C +/* 80307490 003043F0 88 0D A7 80 */ lbz r0, lbl_805A9340@sda21(r13) +/* 80307494 003043F4 28 00 00 00 */ cmplwi r0, 0 +/* 80307498 003043F8 41 82 00 58 */ beq lbl_803074F0 +lbl_8030749C: +/* 8030749C 003043FC 7F C4 F3 78 */ mr r4, r30 +/* 803074A0 00304400 7F E5 FB 78 */ mr r5, r31 +/* 803074A4 00304404 7F A6 EB 78 */ mr r6, r29 +/* 803074A8 00304408 38 61 00 0C */ addi r3, r1, 0xc +/* 803074AC 0030440C 48 03 E9 B1 */ bl SetCurrent__13CCubeMaterialCFRC11CModelFlagsRC12CCubeSurfaceRC10CCubeModel +/* 803074B0 00304410 80 BF 00 00 */ lwz r5, 0(r31) +/* 803074B4 00304414 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 803074B8 00304418 38 63 53 EC */ addi r3, r3, lbl_805A53EC@l +/* 803074BC 0030441C 80 85 00 1C */ lwz r4, 0x1c(r5) +/* 803074C0 00304420 88 03 00 4C */ lbz r0, 0x4c(r3) +/* 803074C4 00304424 38 64 00 4B */ addi r3, r4, 0x4b +/* 803074C8 00304428 80 85 00 10 */ lwz r4, 0x10(r5) +/* 803074CC 0030442C 54 63 00 34 */ rlwinm r3, r3, 0, 0, 0x1a +/* 803074D0 00304430 28 00 00 00 */ cmplwi r0, 0 +/* 803074D4 00304434 54 9F 00 7E */ clrlwi r31, r4, 1 +/* 803074D8 00304438 7F C5 1A 14 */ add r30, r5, r3 +/* 803074DC 0030443C 41 82 00 08 */ beq lbl_803074E4 +/* 803074E0 00304440 48 00 0B 05 */ bl FlushState__3CGXFv +lbl_803074E4: +/* 803074E4 00304444 7F C3 F3 78 */ mr r3, r30 +/* 803074E8 00304448 7F E4 FB 78 */ mr r4, r31 +/* 803074EC 0030444C 48 07 4C E9 */ bl GXCallDisplayList +lbl_803074F0: +/* 803074F0 00304450 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803074F4 00304454 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803074F8 00304458 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 803074FC 0030445C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80307500 00304460 7C 08 03 A6 */ mtlr r0 +/* 80307504 00304464 38 21 00 20 */ addi r1, r1, 0x20 +/* 80307508 00304468 4E 80 00 20 */ blr + +.global GetMaterialByIndex__10CCubeModelCFi +GetMaterialByIndex__10CCubeModelCFi: +/* 8030750C 0030446C 80 C4 00 1C */ lwz r6, 0x1c(r4) +/* 80307510 00304470 2C 05 00 00 */ cmpwi r5, 0 +/* 80307514 00304474 80 E4 00 04 */ lwz r7, 4(r4) +/* 80307518 00304478 39 00 00 00 */ li r8, 0 +/* 8030751C 0030447C 80 86 00 04 */ lwz r4, 4(r6) +/* 80307520 00304480 38 04 00 01 */ addi r0, r4, 1 +/* 80307524 00304484 54 00 10 3A */ slwi r0, r0, 2 +/* 80307528 00304488 7C E7 02 14 */ add r7, r7, r0 +/* 8030752C 0030448C 80 C7 00 00 */ lwz r6, 0(r7) +/* 80307530 00304490 38 E7 00 04 */ addi r7, r7, 4 +/* 80307534 00304494 41 82 00 10 */ beq lbl_80307544 +/* 80307538 00304498 54 A0 10 3A */ slwi r0, r5, 2 +/* 8030753C 0030449C 7C 87 02 14 */ add r4, r7, r0 +/* 80307540 003044A0 81 04 FF FC */ lwz r8, -4(r4) +lbl_80307544: +/* 80307544 003044A4 54 C0 10 3A */ slwi r0, r6, 2 +/* 80307548 003044A8 7C E7 02 14 */ add r7, r7, r0 +/* 8030754C 003044AC 7C E7 42 14 */ add r7, r7, r8 +/* 80307550 003044B0 90 E3 00 00 */ stw r7, 0(r3) +/* 80307554 003044B4 4E 80 00 20 */ blr + +.global SetUsingPackedLightmaps__10CCubeModelCFb +SetUsingPackedLightmaps__10CCubeModelCFb: +/* 80307558 003044B8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030755C 003044BC 7C 08 02 A6 */ mflr r0 +/* 80307560 003044C0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80307564 003044C4 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 80307568 003044C8 98 8D A7 82 */ stb r4, lbl_805A9342@sda21(r13) +/* 8030756C 003044CC 41 82 00 38 */ beq lbl_803075A4 +/* 80307570 003044D0 80 83 00 18 */ lwz r4, 0x18(r3) +/* 80307574 003044D4 28 04 00 00 */ cmplwi r4, 0 +/* 80307578 003044D8 41 82 00 5C */ beq lbl_803075D4 +/* 8030757C 003044DC 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80307580 003044E0 38 63 53 EC */ addi r3, r3, lbl_805A53EC@l +/* 80307584 003044E4 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80307588 003044E8 7C 00 20 40 */ cmplw r0, r4 +/* 8030758C 003044EC 41 82 00 48 */ beq lbl_803075D4 +/* 80307590 003044F0 90 83 00 10 */ stw r4, 0x10(r3) +/* 80307594 003044F4 38 60 00 0D */ li r3, 0xd +/* 80307598 003044F8 38 A0 00 04 */ li r5, 4 +/* 8030759C 003044FC 48 07 09 5D */ bl GXSetArray +/* 803075A0 00304500 48 00 00 34 */ b lbl_803075D4 +lbl_803075A4: +/* 803075A4 00304504 80 83 00 14 */ lwz r4, 0x14(r3) +/* 803075A8 00304508 28 04 00 00 */ cmplwi r4, 0 +/* 803075AC 0030450C 41 82 00 28 */ beq lbl_803075D4 +/* 803075B0 00304510 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 803075B4 00304514 38 63 53 EC */ addi r3, r3, lbl_805A53EC@l +/* 803075B8 00304518 80 03 00 10 */ lwz r0, 0x10(r3) +/* 803075BC 0030451C 7C 00 20 40 */ cmplw r0, r4 +/* 803075C0 00304520 41 82 00 14 */ beq lbl_803075D4 +/* 803075C4 00304524 90 83 00 10 */ stw r4, 0x10(r3) +/* 803075C8 00304528 38 60 00 0D */ li r3, 0xd +/* 803075CC 0030452C 38 A0 00 08 */ li r5, 8 +/* 803075D0 00304530 48 07 09 29 */ bl GXSetArray +lbl_803075D4: +/* 803075D4 00304534 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803075D8 00304538 7C 08 03 A6 */ mtlr r0 +/* 803075DC 0030453C 38 21 00 10 */ addi r1, r1, 0x10 +/* 803075E0 00304540 4E 80 00 20 */ blr + +.global SetSkinningArraysCurrent__10CCubeModelCFPCfPCf +SetSkinningArraysCurrent__10CCubeModelCFPCfPCf: +/* 803075E4 00304544 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803075E8 00304548 7C 08 02 A6 */ mflr r0 +/* 803075EC 0030454C 90 01 00 14 */ stw r0, 0x14(r1) +/* 803075F0 00304550 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803075F4 00304554 7C 7F 1B 78 */ mr r31, r3 +/* 803075F8 00304558 38 6D A7 B8 */ addi r3, r13, lbl_805A9378@sda21 +/* 803075FC 0030455C 80 DF 00 10 */ lwz r6, 0x10(r31) +/* 80307600 00304560 48 00 1D 69 */ bl SetVtxState__Q29CGraphics12CRenderStateFPCfPCfPCUi +/* 80307604 00304564 7F E3 FB 78 */ mr r3, r31 +/* 80307608 00304568 48 00 00 B9 */ bl SetStaticArraysCurrent__10CCubeModelCFv +/* 8030760C 0030456C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80307610 00304570 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80307614 00304574 7C 08 03 A6 */ mtlr r0 +/* 80307618 00304578 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030761C 0030457C 4E 80 00 20 */ blr + +.global SetArraysCurrent__10CCubeModelCFv +SetArraysCurrent__10CCubeModelCFv: +/* 80307620 00304580 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80307624 00304584 7C 08 02 A6 */ mflr r0 +/* 80307628 00304588 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030762C 0030458C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80307630 00304590 7C 7F 1B 78 */ mr r31, r3 +/* 80307634 00304594 80 83 00 08 */ lwz r4, 8(r3) +/* 80307638 00304598 28 04 00 00 */ cmplwi r4, 0 +/* 8030763C 0030459C 41 82 00 24 */ beq lbl_80307660 +/* 80307640 003045A0 3C 60 80 5A */ lis r3, 0x805a +/* 80307644 003045A4 84 03 53 EC */ lwzu r0, 0x53ec(r3) +/* 80307648 003045A8 7C 00 20 40 */ cmplw r0, r4 +/* 8030764C 003045AC 41 82 00 14 */ beq lbl_80307660 +/* 80307650 003045B0 90 83 00 00 */ stw r4, 0(r3) +/* 80307654 003045B4 38 60 00 09 */ li r3, 9 +/* 80307658 003045B8 38 A0 00 0C */ li r5, 0xc +/* 8030765C 003045BC 48 07 08 9D */ bl GXSetArray +lbl_80307660: +/* 80307660 003045C0 88 1F 00 41 */ lbz r0, 0x41(r31) +/* 80307664 003045C4 38 A0 00 0C */ li r5, 0xc +/* 80307668 003045C8 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 8030766C 003045CC 41 82 00 08 */ beq lbl_80307674 +/* 80307670 003045D0 38 A0 00 06 */ li r5, 6 +lbl_80307674: +/* 80307674 003045D4 80 9F 00 0C */ lwz r4, 0xc(r31) +/* 80307678 003045D8 28 04 00 00 */ cmplwi r4, 0 +/* 8030767C 003045DC 41 82 00 28 */ beq lbl_803076A4 +/* 80307680 003045E0 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80307684 003045E4 38 63 53 EC */ addi r3, r3, lbl_805A53EC@l +/* 80307688 003045E8 80 03 00 04 */ lwz r0, 4(r3) +/* 8030768C 003045EC 7C 00 20 40 */ cmplw r0, r4 +/* 80307690 003045F0 41 82 00 14 */ beq lbl_803076A4 +/* 80307694 003045F4 90 83 00 04 */ stw r4, 4(r3) +/* 80307698 003045F8 54 A5 06 3E */ clrlwi r5, r5, 0x18 +/* 8030769C 003045FC 38 60 00 0A */ li r3, 0xa +/* 803076A0 00304600 48 07 08 59 */ bl GXSetArray +lbl_803076A4: +/* 803076A4 00304604 7F E3 FB 78 */ mr r3, r31 +/* 803076A8 00304608 48 00 00 19 */ bl SetStaticArraysCurrent__10CCubeModelCFv +/* 803076AC 0030460C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803076B0 00304610 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803076B4 00304614 7C 08 03 A6 */ mtlr r0 +/* 803076B8 00304618 38 21 00 10 */ addi r1, r1, 0x10 +/* 803076BC 0030461C 4E 80 00 20 */ blr + +.global SetStaticArraysCurrent__10CCubeModelCFv +SetStaticArraysCurrent__10CCubeModelCFv: +/* 803076C0 00304620 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803076C4 00304624 7C 08 02 A6 */ mflr r0 +/* 803076C8 00304628 90 01 00 24 */ stw r0, 0x24(r1) +/* 803076CC 0030462C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 803076D0 00304630 93 C1 00 18 */ stw r30, 0x18(r1) +/* 803076D4 00304634 93 A1 00 14 */ stw r29, 0x14(r1) +/* 803076D8 00304638 7C 7D 1B 78 */ mr r29, r3 +/* 803076DC 0030463C 80 83 00 10 */ lwz r4, 0x10(r3) +/* 803076E0 00304640 28 04 00 00 */ cmplwi r4, 0 +/* 803076E4 00304644 41 82 00 28 */ beq lbl_8030770C +/* 803076E8 00304648 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 803076EC 0030464C 38 63 53 EC */ addi r3, r3, lbl_805A53EC@l +/* 803076F0 00304650 80 03 00 08 */ lwz r0, 8(r3) +/* 803076F4 00304654 7C 00 20 40 */ cmplw r0, r4 +/* 803076F8 00304658 41 82 00 14 */ beq lbl_8030770C +/* 803076FC 0030465C 90 83 00 08 */ stw r4, 8(r3) +/* 80307700 00304660 38 60 00 0B */ li r3, 0xb +/* 80307704 00304664 38 A0 00 04 */ li r5, 4 +/* 80307708 00304668 48 07 07 F1 */ bl GXSetArray +lbl_8030770C: +/* 8030770C 0030466C 80 9D 00 18 */ lwz r4, 0x18(r29) +/* 80307710 00304670 83 DD 00 14 */ lwz r30, 0x14(r29) +/* 80307714 00304674 28 04 00 00 */ cmplwi r4, 0 +/* 80307718 00304678 40 82 00 0C */ bne lbl_80307724 +/* 8030771C 0030467C 38 00 00 00 */ li r0, 0 +/* 80307720 00304680 98 0D A7 82 */ stb r0, lbl_805A9342@sda21(r13) +lbl_80307724: +/* 80307724 00304684 88 0D A7 82 */ lbz r0, lbl_805A9342@sda21(r13) +/* 80307728 00304688 28 00 00 00 */ cmplwi r0, 0 +/* 8030772C 0030468C 41 82 00 34 */ beq lbl_80307760 +/* 80307730 00304690 28 04 00 00 */ cmplwi r4, 0 +/* 80307734 00304694 41 82 00 5C */ beq lbl_80307790 +/* 80307738 00304698 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 8030773C 0030469C 38 63 53 EC */ addi r3, r3, lbl_805A53EC@l +/* 80307740 003046A0 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80307744 003046A4 7C 00 20 40 */ cmplw r0, r4 +/* 80307748 003046A8 41 82 00 48 */ beq lbl_80307790 +/* 8030774C 003046AC 90 83 00 10 */ stw r4, 0x10(r3) +/* 80307750 003046B0 38 60 00 0D */ li r3, 0xd +/* 80307754 003046B4 38 A0 00 04 */ li r5, 4 +/* 80307758 003046B8 48 07 07 A1 */ bl GXSetArray +/* 8030775C 003046BC 48 00 00 34 */ b lbl_80307790 +lbl_80307760: +/* 80307760 003046C0 28 1E 00 00 */ cmplwi r30, 0 +/* 80307764 003046C4 41 82 00 2C */ beq lbl_80307790 +/* 80307768 003046C8 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 8030776C 003046CC 38 63 53 EC */ addi r3, r3, lbl_805A53EC@l +/* 80307770 003046D0 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80307774 003046D4 7C 00 F0 40 */ cmplw r0, r30 +/* 80307778 003046D8 41 82 00 18 */ beq lbl_80307790 +/* 8030777C 003046DC 93 C3 00 10 */ stw r30, 0x10(r3) +/* 80307780 003046E0 7F C4 F3 78 */ mr r4, r30 +/* 80307784 003046E4 38 60 00 0D */ li r3, 0xd +/* 80307788 003046E8 38 A0 00 08 */ li r5, 8 +/* 8030778C 003046EC 48 07 07 6D */ bl GXSetArray +lbl_80307790: +/* 80307790 003046F0 28 1E 00 00 */ cmplwi r30, 0 +/* 80307794 003046F4 41 82 00 4C */ beq lbl_803077E0 +/* 80307798 003046F8 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 8030779C 003046FC 3B A0 00 01 */ li r29, 1 +/* 803077A0 00304700 3B E3 53 EC */ addi r31, r3, lbl_805A53EC@l +lbl_803077A4: +/* 803077A4 00304704 28 1E 00 00 */ cmplwi r30, 0 +/* 803077A8 00304708 38 7D 00 0D */ addi r3, r29, 0xd +/* 803077AC 0030470C 38 03 FF F7 */ addi r0, r3, -9 +/* 803077B0 00304710 41 82 00 24 */ beq lbl_803077D4 +/* 803077B4 00304714 54 04 10 3A */ slwi r4, r0, 2 +/* 803077B8 00304718 7C 1F 20 2E */ lwzx r0, r31, r4 +/* 803077BC 0030471C 7C 00 F0 40 */ cmplw r0, r30 +/* 803077C0 00304720 41 82 00 14 */ beq lbl_803077D4 +/* 803077C4 00304724 7F DF 21 2E */ stwx r30, r31, r4 +/* 803077C8 00304728 7F C4 F3 78 */ mr r4, r30 +/* 803077CC 0030472C 38 A0 00 08 */ li r5, 8 +/* 803077D0 00304730 48 07 07 29 */ bl GXSetArray +lbl_803077D4: +/* 803077D4 00304734 3B BD 00 01 */ addi r29, r29, 1 +/* 803077D8 00304738 2C 1D 00 07 */ cmpwi r29, 7 +/* 803077DC 0030473C 40 81 FF C8 */ ble lbl_803077A4 +lbl_803077E0: +/* 803077E0 00304740 48 03 E1 61 */ bl KillCachedViewDepState__13CCubeMaterialFv +/* 803077E4 00304744 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803077E8 00304748 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803077EC 0030474C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 803077F0 00304750 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 803077F4 00304754 7C 08 03 A6 */ mtlr r0 +/* 803077F8 00304758 38 21 00 20 */ addi r1, r1, 0x20 +/* 803077FC 0030475C 4E 80 00 20 */ blr + +.global "MakeTexturesFromMats__10CCubeModelFPCvRQ24rstl60vector<23TCachedToken<8CTexture>,Q24rstl17rmemory_allocator>R12IObjectStoreb" +"MakeTexturesFromMats__10CCubeModelFPCvRQ24rstl60vector<23TCachedToken<8CTexture>,Q24rstl17rmemory_allocator>R12IObjectStoreb": +/* 80307800 00304760 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 80307804 00304764 7C 08 02 A6 */ mflr r0 +/* 80307808 00304768 7C 67 1B 78 */ mr r7, r3 +/* 8030780C 0030476C 90 01 00 54 */ stw r0, 0x54(r1) +/* 80307810 00304770 BF 01 00 30 */ stmw r24, 0x30(r1) +/* 80307814 00304774 7C 9A 23 78 */ mr r26, r4 +/* 80307818 00304778 7C BB 2B 78 */ mr r27, r5 +/* 8030781C 0030477C 7C D8 33 78 */ mr r24, r6 +/* 80307820 00304780 3B C7 00 04 */ addi r30, r7, 4 +/* 80307824 00304784 83 A3 00 00 */ lwz r29, 0(r3) +/* 80307828 00304788 7F 43 D3 78 */ mr r3, r26 +/* 8030782C 0030478C 7F A4 EB 78 */ mr r4, r29 +/* 80307830 00304790 48 00 02 89 */ bl "reserve__Q24rstl60vector<23TCachedToken<8CTexture>,Q24rstl17rmemory_allocator>Fi" +/* 80307834 00304794 3C 60 54 58 */ lis r3, 0x54585452@ha +/* 80307838 00304798 57 19 06 3E */ clrlwi r25, r24, 0x18 +/* 8030783C 0030479C 3B E3 54 52 */ addi r31, r3, 0x54585452@l +/* 80307840 003047A0 3B 80 00 00 */ li r28, 0 +/* 80307844 003047A4 48 00 00 F4 */ b lbl_80307938 +lbl_80307848: +/* 80307848 003047A8 80 1E 00 00 */ lwz r0, 0(r30) +/* 8030784C 003047AC 7F 64 DB 78 */ mr r4, r27 +/* 80307850 003047B0 93 E1 00 10 */ stw r31, 0x10(r1) +/* 80307854 003047B4 38 61 00 08 */ addi r3, r1, 8 +/* 80307858 003047B8 38 A1 00 10 */ addi r5, r1, 0x10 +/* 8030785C 003047BC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80307860 003047C0 81 9B 00 00 */ lwz r12, 0(r27) +/* 80307864 003047C4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80307868 003047C8 7D 89 03 A6 */ mtctr r12 +/* 8030786C 003047CC 4E 80 04 21 */ bctrl +/* 80307870 003047D0 38 61 00 18 */ addi r3, r1, 0x18 +/* 80307874 003047D4 38 81 00 08 */ addi r4, r1, 8 +/* 80307878 003047D8 48 03 96 31 */ bl __ct__6CTokenFRC6CToken +/* 8030787C 003047DC 38 00 00 00 */ li r0, 0 +/* 80307880 003047E0 90 01 00 20 */ stw r0, 0x20(r1) +/* 80307884 003047E4 80 1A 00 04 */ lwz r0, 4(r26) +/* 80307888 003047E8 80 BA 00 08 */ lwz r5, 8(r26) +/* 8030788C 003047EC 7C 00 28 00 */ cmpw r0, r5 +/* 80307890 003047F0 41 80 00 1C */ blt lbl_803078AC +/* 80307894 003047F4 2C 05 00 00 */ cmpwi r5, 0 +/* 80307898 003047F8 7F 43 D3 78 */ mr r3, r26 +/* 8030789C 003047FC 38 80 00 04 */ li r4, 4 +/* 803078A0 00304800 41 82 00 08 */ beq lbl_803078A8 +/* 803078A4 00304804 54 A4 08 3C */ slwi r4, r5, 1 +lbl_803078A8: +/* 803078A8 00304808 48 00 02 11 */ bl "reserve__Q24rstl60vector<23TCachedToken<8CTexture>,Q24rstl17rmemory_allocator>Fi" +lbl_803078AC: +/* 803078AC 0030480C 80 1A 00 04 */ lwz r0, 4(r26) +/* 803078B0 00304810 80 7A 00 0C */ lwz r3, 0xc(r26) +/* 803078B4 00304814 1C 00 00 0C */ mulli r0, r0, 0xc +/* 803078B8 00304818 7F 03 02 15 */ add. r24, r3, r0 +/* 803078BC 0030481C 41 82 00 18 */ beq lbl_803078D4 +/* 803078C0 00304820 7F 03 C3 78 */ mr r3, r24 +/* 803078C4 00304824 38 81 00 18 */ addi r4, r1, 0x18 +/* 803078C8 00304828 48 03 95 E1 */ bl __ct__6CTokenFRC6CToken +/* 803078CC 0030482C 80 01 00 20 */ lwz r0, 0x20(r1) +/* 803078D0 00304830 90 18 00 08 */ stw r0, 8(r24) +lbl_803078D4: +/* 803078D4 00304834 80 BA 00 04 */ lwz r5, 4(r26) +/* 803078D8 00304838 38 61 00 18 */ addi r3, r1, 0x18 +/* 803078DC 0030483C 38 80 00 00 */ li r4, 0 +/* 803078E0 00304840 38 05 00 01 */ addi r0, r5, 1 +/* 803078E4 00304844 90 1A 00 04 */ stw r0, 4(r26) +/* 803078E8 00304848 48 03 95 59 */ bl __dt__6CTokenFv +/* 803078EC 0030484C 38 61 00 08 */ addi r3, r1, 8 +/* 803078F0 00304850 38 80 FF FF */ li r4, -1 +/* 803078F4 00304854 48 03 95 4D */ bl __dt__6CTokenFv +/* 803078F8 00304858 28 19 00 00 */ cmplwi r25, 0 +/* 803078FC 0030485C 40 82 00 34 */ bne lbl_80307930 +/* 80307900 00304860 80 7A 00 04 */ lwz r3, 4(r26) +/* 80307904 00304864 80 9A 00 0C */ lwz r4, 0xc(r26) +/* 80307908 00304868 38 03 FF FF */ addi r0, r3, -1 +/* 8030790C 0030486C 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80307910 00304870 7F 04 02 14 */ add r24, r4, r0 +/* 80307914 00304874 80 18 00 08 */ lwz r0, 8(r24) +/* 80307918 00304878 28 00 00 00 */ cmplwi r0, 0 +/* 8030791C 0030487C 40 82 00 14 */ bne lbl_80307930 +/* 80307920 00304880 7F 03 C3 78 */ mr r3, r24 +/* 80307924 00304884 48 03 94 E9 */ bl GetObj__6CTokenFv +/* 80307928 00304888 80 03 00 04 */ lwz r0, 4(r3) +/* 8030792C 0030488C 90 18 00 08 */ stw r0, 8(r24) +lbl_80307930: +/* 80307930 00304890 3B DE 00 04 */ addi r30, r30, 4 +/* 80307934 00304894 3B 9C 00 01 */ addi r28, r28, 1 +lbl_80307938: +/* 80307938 00304898 7C 1C E8 40 */ cmplw r28, r29 +/* 8030793C 0030489C 41 80 FF 0C */ blt lbl_80307848 +/* 80307940 003048A0 BB 01 00 30 */ lmw r24, 0x30(r1) +/* 80307944 003048A4 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80307948 003048A8 7C 08 03 A6 */ mtlr r0 +/* 8030794C 003048AC 38 21 00 50 */ addi r1, r1, 0x50 +/* 80307950 003048B0 4E 80 00 20 */ blr + +.global "__ct__10CCubeModelFPQ24rstl37vectorPQ24rstl60vector<23TCachedToken<8CTexture>,Q24rstl17rmemory_allocator>PCvPCvPCvPCvPCvPCvRC6CAABoxUcb" +"__ct__10CCubeModelFPQ24rstl37vectorPQ24rstl60vector<23TCachedToken<8CTexture>,Q24rstl17rmemory_allocator>PCvPCvPCvPCvPCvPCvRC6CAABoxUcb": +/* 80307954 003048B4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80307958 003048B8 7C 08 02 A6 */ mflr r0 +/* 8030795C 003048BC 90 01 00 34 */ stw r0, 0x34(r1) +/* 80307960 003048C0 88 01 00 47 */ lbz r0, 0x47(r1) +/* 80307964 003048C4 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 80307968 003048C8 7C 7E 1B 78 */ mr r30, r3 +/* 8030796C 003048CC 81 81 00 38 */ lwz r12, 0x38(r1) +/* 80307970 003048D0 7C 00 00 34 */ cntlzw r0, r0 +/* 80307974 003048D4 81 61 00 3C */ lwz r11, 0x3c(r1) +/* 80307978 003048D8 90 83 00 00 */ stw r4, 0(r3) +/* 8030797C 003048DC 38 80 00 00 */ li r4, 0 +/* 80307980 003048E0 90 C3 00 04 */ stw r6, 4(r3) +/* 80307984 003048E4 54 03 DE 3E */ rlwinm r3, r0, 0x1b, 0x18, 0x1f +/* 80307988 003048E8 80 C1 00 48 */ lwz r6, 0x48(r1) +/* 8030798C 003048EC 90 FE 00 08 */ stw r7, 8(r30) +/* 80307990 003048F0 88 E1 00 43 */ lbz r7, 0x43(r1) +/* 80307994 003048F4 91 1E 00 0C */ stw r8, 0xc(r30) +/* 80307998 003048F8 91 3E 00 10 */ stw r9, 0x10(r30) +/* 8030799C 003048FC 91 5E 00 14 */ stw r10, 0x14(r30) +/* 803079A0 00304900 91 9E 00 18 */ stw r12, 0x18(r30) +/* 803079A4 00304904 90 BE 00 1C */ stw r5, 0x1c(r30) +/* 803079A8 00304908 C0 0B 00 00 */ lfs f0, 0(r11) +/* 803079AC 0030490C D0 1E 00 20 */ stfs f0, 0x20(r30) +/* 803079B0 00304910 C0 0B 00 04 */ lfs f0, 4(r11) +/* 803079B4 00304914 D0 1E 00 24 */ stfs f0, 0x24(r30) +/* 803079B8 00304918 C0 0B 00 08 */ lfs f0, 8(r11) +/* 803079BC 0030491C D0 1E 00 28 */ stfs f0, 0x28(r30) +/* 803079C0 00304920 C0 0B 00 0C */ lfs f0, 0xc(r11) +/* 803079C4 00304924 D0 1E 00 2C */ stfs f0, 0x2c(r30) +/* 803079C8 00304928 C0 0B 00 10 */ lfs f0, 0x10(r11) +/* 803079CC 0030492C D0 1E 00 30 */ stfs f0, 0x30(r30) +/* 803079D0 00304930 C0 0B 00 14 */ lfs f0, 0x14(r11) +/* 803079D4 00304934 D0 1E 00 34 */ stfs f0, 0x34(r30) +/* 803079D8 00304938 90 9E 00 38 */ stw r4, 0x38(r30) +/* 803079DC 0030493C 90 9E 00 3C */ stw r4, 0x3c(r30) +/* 803079E0 00304940 88 1E 00 40 */ lbz r0, 0x40(r30) +/* 803079E4 00304944 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 803079E8 00304948 98 1E 00 40 */ stb r0, 0x40(r30) +/* 803079EC 0030494C 88 1E 00 40 */ lbz r0, 0x40(r30) +/* 803079F0 00304950 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 803079F4 00304954 98 1E 00 40 */ stb r0, 0x40(r30) +/* 803079F8 00304958 98 FE 00 41 */ stb r7, 0x41(r30) +/* 803079FC 0030495C 90 DE 00 44 */ stw r6, 0x44(r30) +/* 80307A00 00304960 83 FE 00 00 */ lwz r31, 0(r30) +/* 80307A04 00304964 80 9F 00 0C */ lwz r4, 0xc(r31) +/* 80307A08 00304968 48 00 00 10 */ b lbl_80307A18 +lbl_80307A0C: +/* 80307A0C 0030496C 80 64 00 00 */ lwz r3, 0(r4) +/* 80307A10 00304970 38 84 00 04 */ addi r4, r4, 4 +/* 80307A14 00304974 93 C3 00 14 */ stw r30, 0x14(r3) +lbl_80307A18: +/* 80307A18 00304978 80 BF 00 04 */ lwz r5, 4(r31) +/* 80307A1C 0030497C 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 80307A20 00304980 54 A0 10 3A */ slwi r0, r5, 2 +/* 80307A24 00304984 7C 03 02 14 */ add r0, r3, r0 +/* 80307A28 00304988 7C 04 00 40 */ cmplw r4, r0 +/* 80307A2C 0030498C 40 82 FF E0 */ bne lbl_80307A0C +/* 80307A30 00304990 7C BB 2B 78 */ mr r27, r5 +/* 80307A34 00304994 48 00 00 64 */ b lbl_80307A98 +lbl_80307A38: +/* 80307A38 00304998 38 1B FF FF */ addi r0, r27, -1 +/* 80307A3C 0030499C 83 9F 00 0C */ lwz r28, 0xc(r31) +/* 80307A40 003049A0 54 1D 10 3A */ slwi r29, r0, 2 +/* 80307A44 003049A4 7F C4 F3 78 */ mr r4, r30 +/* 80307A48 003049A8 7C BC E8 2E */ lwzx r5, r28, r29 +/* 80307A4C 003049AC 38 61 00 08 */ addi r3, r1, 8 +/* 80307A50 003049B0 80 A5 00 0C */ lwz r5, 0xc(r5) +/* 80307A54 003049B4 4B FF FA B9 */ bl GetMaterialByIndex__10CCubeModelCFi +/* 80307A58 003049B8 80 61 00 08 */ lwz r3, 8(r1) +/* 80307A5C 003049BC 80 03 00 00 */ lwz r0, 0(r3) +/* 80307A60 003049C0 54 00 06 F7 */ rlwinm. r0, r0, 0, 0x1b, 0x1b +/* 80307A64 003049C4 41 82 00 1C */ beq lbl_80307A80 +/* 80307A68 003049C8 80 1E 00 3C */ lwz r0, 0x3c(r30) +/* 80307A6C 003049CC 7C 7C E8 2E */ lwzx r3, r28, r29 +/* 80307A70 003049D0 90 03 00 18 */ stw r0, 0x18(r3) +/* 80307A74 003049D4 7C 1C E8 2E */ lwzx r0, r28, r29 +/* 80307A78 003049D8 90 1E 00 3C */ stw r0, 0x3c(r30) +/* 80307A7C 003049DC 48 00 00 18 */ b lbl_80307A94 +lbl_80307A80: +/* 80307A80 003049E0 80 1E 00 38 */ lwz r0, 0x38(r30) +/* 80307A84 003049E4 7C 7C E8 2E */ lwzx r3, r28, r29 +/* 80307A88 003049E8 90 03 00 18 */ stw r0, 0x18(r3) +/* 80307A8C 003049EC 7C 1C E8 2E */ lwzx r0, r28, r29 +/* 80307A90 003049F0 90 1E 00 38 */ stw r0, 0x38(r30) +lbl_80307A94: +/* 80307A94 003049F4 3B 7B FF FF */ addi r27, r27, -1 +lbl_80307A98: +/* 80307A98 003049F8 2C 1B 00 00 */ cmpwi r27, 0 +/* 80307A9C 003049FC 41 81 FF 9C */ bgt lbl_80307A38 +/* 80307AA0 00304A00 7F C3 F3 78 */ mr r3, r30 +/* 80307AA4 00304A04 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 80307AA8 00304A08 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80307AAC 00304A0C 7C 08 03 A6 */ mtlr r0 +/* 80307AB0 00304A10 38 21 00 30 */ addi r1, r1, 0x30 +/* 80307AB4 00304A14 4E 80 00 20 */ blr + +.global "reserve__Q24rstl60vector<23TCachedToken<8CTexture>,Q24rstl17rmemory_allocator>Fi" +"reserve__Q24rstl60vector<23TCachedToken<8CTexture>,Q24rstl17rmemory_allocator>Fi": +/* 80307AB8 00304A18 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80307ABC 00304A1C 7C 08 02 A6 */ mflr r0 +/* 80307AC0 00304A20 90 01 00 34 */ stw r0, 0x34(r1) +/* 80307AC4 00304A24 BF 41 00 18 */ stmw r26, 0x18(r1) +/* 80307AC8 00304A28 7C 9F 23 78 */ mr r31, r4 +/* 80307ACC 00304A2C 7C 7E 1B 78 */ mr r30, r3 +/* 80307AD0 00304A30 80 03 00 08 */ lwz r0, 8(r3) +/* 80307AD4 00304A34 7C 1F 00 00 */ cmpw r31, r0 +/* 80307AD8 00304A38 40 81 00 D0 */ ble lbl_80307BA8 +/* 80307ADC 00304A3C 1C 7F 00 0C */ mulli r3, r31, 0xc +/* 80307AE0 00304A40 2C 03 00 00 */ cmpwi r3, 0 +/* 80307AE4 00304A44 40 82 00 0C */ bne lbl_80307AF0 +/* 80307AE8 00304A48 3B 80 00 00 */ li r28, 0 +/* 80307AEC 00304A4C 48 00 00 18 */ b lbl_80307B04 +lbl_80307AF0: +/* 80307AF0 00304A50 3C 80 80 3D */ lis r4, lbl_803D7398@ha +/* 80307AF4 00304A54 38 A0 00 00 */ li r5, 0 +/* 80307AF8 00304A58 38 84 73 98 */ addi r4, r4, lbl_803D7398@l +/* 80307AFC 00304A5C 48 00 DD 1D */ bl __nwa__FUlPCcPCc +/* 80307B00 00304A60 7C 7C 1B 78 */ mr r28, r3 +lbl_80307B04: +/* 80307B04 00304A64 80 1E 00 04 */ lwz r0, 4(r30) +/* 80307B08 00304A68 7F 9B E3 78 */ mr r27, r28 +/* 80307B0C 00304A6C 83 5E 00 0C */ lwz r26, 0xc(r30) +/* 80307B10 00304A70 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80307B14 00304A74 93 41 00 10 */ stw r26, 0x10(r1) +/* 80307B18 00304A78 7F BA 02 14 */ add r29, r26, r0 +/* 80307B1C 00304A7C 93 41 00 14 */ stw r26, 0x14(r1) +/* 80307B20 00304A80 93 A1 00 08 */ stw r29, 8(r1) +/* 80307B24 00304A84 93 A1 00 0C */ stw r29, 0xc(r1) +/* 80307B28 00304A88 48 00 00 28 */ b lbl_80307B50 +lbl_80307B2C: +/* 80307B2C 00304A8C 28 1B 00 00 */ cmplwi r27, 0 +/* 80307B30 00304A90 41 82 00 18 */ beq lbl_80307B48 +/* 80307B34 00304A94 7F 63 DB 78 */ mr r3, r27 +/* 80307B38 00304A98 7F 44 D3 78 */ mr r4, r26 +/* 80307B3C 00304A9C 48 03 93 6D */ bl __ct__6CTokenFRC6CToken +/* 80307B40 00304AA0 80 1A 00 08 */ lwz r0, 8(r26) +/* 80307B44 00304AA4 90 1B 00 08 */ stw r0, 8(r27) +lbl_80307B48: +/* 80307B48 00304AA8 3B 7B 00 0C */ addi r27, r27, 0xc +/* 80307B4C 00304AAC 3B 5A 00 0C */ addi r26, r26, 0xc +lbl_80307B50: +/* 80307B50 00304AB0 7C 1A E8 40 */ cmplw r26, r29 +/* 80307B54 00304AB4 40 82 FF D8 */ bne lbl_80307B2C +/* 80307B58 00304AB8 80 1E 00 04 */ lwz r0, 4(r30) +/* 80307B5C 00304ABC 83 5E 00 0C */ lwz r26, 0xc(r30) +/* 80307B60 00304AC0 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80307B64 00304AC4 7F 7A 02 14 */ add r27, r26, r0 +/* 80307B68 00304AC8 48 00 00 20 */ b lbl_80307B88 +lbl_80307B6C: +/* 80307B6C 00304ACC 28 1A 00 00 */ cmplwi r26, 0 +/* 80307B70 00304AD0 41 82 00 14 */ beq lbl_80307B84 +/* 80307B74 00304AD4 41 82 00 10 */ beq lbl_80307B84 +/* 80307B78 00304AD8 7F 43 D3 78 */ mr r3, r26 +/* 80307B7C 00304ADC 38 80 00 00 */ li r4, 0 +/* 80307B80 00304AE0 48 03 92 C1 */ bl __dt__6CTokenFv +lbl_80307B84: +/* 80307B84 00304AE4 3B 5A 00 0C */ addi r26, r26, 0xc +lbl_80307B88: +/* 80307B88 00304AE8 7C 1A D8 40 */ cmplw r26, r27 +/* 80307B8C 00304AEC 40 82 FF E0 */ bne lbl_80307B6C +/* 80307B90 00304AF0 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80307B94 00304AF4 28 03 00 00 */ cmplwi r3, 0 +/* 80307B98 00304AF8 41 82 00 08 */ beq lbl_80307BA0 +/* 80307B9C 00304AFC 48 00 DD 95 */ bl Free__7CMemoryFPCv +lbl_80307BA0: +/* 80307BA0 00304B00 93 9E 00 0C */ stw r28, 0xc(r30) +/* 80307BA4 00304B04 93 FE 00 08 */ stw r31, 8(r30) +lbl_80307BA8: +/* 80307BA8 00304B08 BB 41 00 18 */ lmw r26, 0x18(r1) +/* 80307BAC 00304B0C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80307BB0 00304B10 7C 08 03 A6 */ mtlr r0 +/* 80307BB4 00304B14 38 21 00 30 */ addi r1, r1, 0x30 +/* 80307BB8 00304B18 4E 80 00 20 */ blr diff --git a/asm/Kyoto/Graphics/CCubeMoviePlayer.s b/asm/Kyoto/Graphics/CCubeMoviePlayer.s new file mode 100644 index 00000000..b1c1b460 --- /dev/null +++ b/asm/Kyoto/Graphics/CCubeMoviePlayer.s @@ -0,0 +1,2647 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global SetSfxVolume__12CMoviePlayerFUc +SetSfxVolume__12CMoviePlayerFUc: +/* 8035B5DC 0035853C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8035B5E0 00358540 54 64 06 3E */ clrlwi r4, r3, 0x18 +/* 8035B5E4 00358544 88 0D 9E 30 */ lbz r0, lbl_805A89F0@sda21(r13) +/* 8035B5E8 00358548 98 61 00 08 */ stb r3, 8(r1) +/* 8035B5EC 0035854C 38 6D 9E 30 */ addi r3, r13, lbl_805A89F0@sda21 +/* 8035B5F0 00358550 7C 04 00 40 */ cmplw r4, r0 +/* 8035B5F4 00358554 40 80 00 08 */ bge lbl_8035B5FC +/* 8035B5F8 00358558 38 61 00 08 */ addi r3, r1, 8 +lbl_8035B5FC: +/* 8035B5FC 0035855C 88 03 00 00 */ lbz r0, 0(r3) +/* 8035B600 00358560 98 0D 9E 29 */ stb r0, lbl_805A89E9@sda21(r13) +/* 8035B604 00358564 38 21 00 10 */ addi r1, r1, 0x10 +/* 8035B608 00358568 4E 80 00 20 */ blr + +.global sub_8035b60c +sub_8035b60c: +/* 8035B60C 0035856C 88 6D 9E 28 */ lbz r3, lbl_805A89E8@sda21(r13) +/* 8035B610 00358570 4E 80 00 20 */ blr + +.global sub_8035b614 +sub_8035b614: +/* 8035B614 00358574 98 6D 9E 28 */ stb r3, lbl_805A89E8@sda21(r13) +/* 8035B618 00358578 4E 80 00 20 */ blr + +.global sub_8035b61c +sub_8035b61c: +/* 8035B61C 0035857C 80 63 00 70 */ lwz r3, 0x70(r3) +/* 8035B620 00358580 4E 80 00 20 */ blr + +.global sub_8035b624 +sub_8035b624: +/* 8035B624 00358584 80 63 00 6C */ lwz r3, 0x6c(r3) +/* 8035B628 00358588 4E 80 00 20 */ blr + +.global VerifyCallbackStatus__12CMoviePlayerFv +VerifyCallbackStatus__12CMoviePlayerFv: +/* 8035B62C 0035858C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8035B630 00358590 7C 08 02 A6 */ mflr r0 +/* 8035B634 00358594 90 01 00 14 */ stw r0, 0x14(r1) +/* 8035B638 00358598 80 0D AA A0 */ lwz r0, lbl_805A9660@sda21(r13) +/* 8035B63C 0035859C 2C 00 00 00 */ cmpwi r0, 0 +/* 8035B640 003585A0 40 81 00 14 */ ble lbl_8035B654 +/* 8035B644 003585A4 3C 60 80 36 */ lis r3, StaticMyAudioCallback__12CMoviePlayerFv@ha +/* 8035B648 003585A8 38 63 B8 84 */ addi r3, r3, StaticMyAudioCallback__12CMoviePlayerFv@l +/* 8035B64C 003585AC 48 01 11 91 */ bl RunDMACallback__18CStaticAudioPlayerFv +/* 8035B650 003585B0 48 00 00 10 */ b lbl_8035B660 +lbl_8035B654: +/* 8035B654 003585B4 3C 60 80 36 */ lis r3, StaticMyAudioCallback__12CMoviePlayerFv@ha +/* 8035B658 003585B8 38 63 B8 84 */ addi r3, r3, StaticMyAudioCallback__12CMoviePlayerFv@l +/* 8035B65C 003585BC 48 01 10 A9 */ bl sub_8036c704 +lbl_8035B660: +/* 8035B660 003585C0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8035B664 003585C4 7C 08 03 A6 */ mtlr r0 +/* 8035B668 003585C8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8035B66C 003585CC 4E 80 00 20 */ blr + +.global MixAudio__12CMoviePlayerFPsPCsUl +MixAudio__12CMoviePlayerFPsPCsUl: +/* 8035B670 003585D0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8035B674 003585D4 7C 08 02 A6 */ mflr r0 +/* 8035B678 003585D8 7C A7 2B 78 */ mr r7, r5 +/* 8035B67C 003585DC 90 01 00 24 */ stw r0, 0x24(r1) +/* 8035B680 003585E0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8035B684 003585E4 80 03 00 D4 */ lwz r0, 0xd4(r3) +/* 8035B688 003585E8 2C 00 FF FF */ cmpwi r0, -1 +/* 8035B68C 003585EC 40 82 00 34 */ bne lbl_8035B6C0 +/* 8035B690 003585F0 28 05 00 00 */ cmplwi r5, 0 +/* 8035B694 003585F4 41 82 00 18 */ beq lbl_8035B6AC +/* 8035B698 003585F8 7C 83 23 78 */ mr r3, r4 +/* 8035B69C 003585FC 7C A4 2B 78 */ mr r4, r5 +/* 8035B6A0 00358600 54 C5 10 3A */ slwi r5, r6, 2 +/* 8035B6A4 00358604 4B CA 7D ED */ bl memcpy +/* 8035B6A8 00358608 48 00 01 C8 */ b lbl_8035B870 +lbl_8035B6AC: +/* 8035B6AC 0035860C 7C 83 23 78 */ mr r3, r4 +/* 8035B6B0 00358610 54 C5 10 3A */ slwi r5, r6, 2 +/* 8035B6B4 00358614 38 80 00 00 */ li r4, 0 +/* 8035B6B8 00358618 4B CA 7C F1 */ bl memset +/* 8035B6BC 0035861C 48 00 01 B4 */ b lbl_8035B870 +lbl_8035B6C0: +/* 8035B6C0 00358620 89 2D 9E 29 */ lbz r9, lbl_805A89E9@sda21(r13) +/* 8035B6C4 00358624 39 0D 9E 2C */ addi r8, r13, lbl_805A89EC@sda21 +/* 8035B6C8 00358628 80 0D 9E 2C */ lwz r0, lbl_805A89EC@sda21(r13) +/* 8035B6CC 0035862C 1D 29 00 64 */ mulli r9, r9, 0x64 +/* 8035B6D0 00358630 7D 29 3E 70 */ srawi r9, r9, 7 +/* 8035B6D4 00358634 7C 09 00 00 */ cmpw r9, r0 +/* 8035B6D8 00358638 91 21 00 08 */ stw r9, 8(r1) +/* 8035B6DC 0035863C 40 80 00 08 */ bge lbl_8035B6E4 +/* 8035B6E0 00358640 39 01 00 08 */ addi r8, r1, 8 +lbl_8035B6E4: +/* 8035B6E4 00358644 88 0D 9E 28 */ lbz r0, lbl_805A89E8@sda21(r13) +/* 8035B6E8 00358648 81 08 00 00 */ lwz r8, 0(r8) +/* 8035B6EC 0035864C 28 00 00 00 */ cmplwi r0, 0 +/* 8035B6F0 00358650 55 00 06 3E */ clrlwi r0, r8, 0x18 +/* 8035B6F4 00358654 41 82 00 18 */ beq lbl_8035B70C +/* 8035B6F8 00358658 3D 00 80 3E */ lis r8, lbl_803D8110@ha +/* 8035B6FC 0035865C 54 00 0D FC */ rlwinm r0, r0, 1, 0x17, 0x1e +/* 8035B700 00358660 39 08 81 10 */ addi r8, r8, lbl_803D8110@l +/* 8035B704 00358664 7C 08 02 2E */ lhzx r0, r8, r0 +/* 8035B708 00358668 48 00 00 08 */ b lbl_8035B710 +lbl_8035B70C: +/* 8035B70C 0035866C 38 00 00 00 */ li r0, 0 +lbl_8035B710: +/* 8035B710 00358670 54 0B 04 3E */ clrlwi r11, r0, 0x10 +/* 8035B714 00358674 39 00 00 00 */ li r8, 0 +/* 8035B718 00358678 48 00 01 14 */ b lbl_8035B82C +lbl_8035B71C: +/* 8035B71C 0035867C 81 43 00 D4 */ lwz r10, 0xd4(r3) +/* 8035B720 00358680 81 23 00 8C */ lwz r9, 0x8c(r3) +/* 8035B724 00358684 1C 0A 00 28 */ mulli r0, r10, 0x28 +/* 8035B728 00358688 7D 89 02 14 */ add r12, r9, r0 +/* 8035B72C 0035868C 81 2C 00 24 */ lwz r9, 0x24(r12) +/* 8035B730 00358690 80 0C 00 20 */ lwz r0, 0x20(r12) +/* 8035B734 00358694 7F E9 00 50 */ subf r31, r9, r0 +/* 8035B738 00358698 7C 1F 30 40 */ cmplw r31, r6 +/* 8035B73C 0035869C 40 81 00 0C */ ble lbl_8035B748 +/* 8035B740 003586A0 7C DF 33 78 */ mr r31, r6 +/* 8035B744 003586A4 48 00 00 20 */ b lbl_8035B764 +lbl_8035B748: +/* 8035B748 003586A8 39 2A 00 01 */ addi r9, r10, 1 +/* 8035B74C 003586AC 91 23 00 D4 */ stw r9, 0xd4(r3) +/* 8035B750 003586B0 80 03 00 84 */ lwz r0, 0x84(r3) +/* 8035B754 003586B4 7C 09 00 00 */ cmpw r9, r0 +/* 8035B758 003586B8 40 82 00 0C */ bne lbl_8035B764 +/* 8035B75C 003586BC 38 00 00 00 */ li r0, 0 +/* 8035B760 003586C0 90 03 00 D4 */ stw r0, 0xd4(r3) +lbl_8035B764: +/* 8035B764 003586C4 81 2C 00 24 */ lwz r9, 0x24(r12) +/* 8035B768 003586C8 28 05 00 00 */ cmplwi r5, 0 +/* 8035B76C 003586CC 81 4C 00 1C */ lwz r10, 0x1c(r12) +/* 8035B770 003586D0 7C 1F 4A 14 */ add r0, r31, r9 +/* 8035B774 003586D4 55 29 10 3A */ slwi r9, r9, 2 +/* 8035B778 003586D8 90 0C 00 24 */ stw r0, 0x24(r12) +/* 8035B77C 003586DC 7D 4A 4A 14 */ add r10, r10, r9 +/* 8035B780 003586E0 41 82 00 5C */ beq lbl_8035B7DC +/* 8035B784 003586E4 57 E0 08 3C */ slwi r0, r31, 1 +/* 8035B788 003586E8 7C 09 03 A6 */ mtctr r0 +/* 8035B78C 003586EC 28 00 00 00 */ cmplwi r0, 0 +/* 8035B790 003586F0 40 81 00 94 */ ble lbl_8035B824 +lbl_8035B794: +/* 8035B794 003586F4 A8 0A 00 00 */ lha r0, 0(r10) +/* 8035B798 003586F8 A9 27 00 00 */ lha r9, 0(r7) +/* 8035B79C 003586FC 7C 0B 01 D6 */ mullw r0, r11, r0 +/* 8035B7A0 00358700 7C 00 7E 70 */ srawi r0, r0, 0xf +/* 8035B7A4 00358704 7C 09 02 14 */ add r0, r9, r0 +/* 8035B7A8 00358708 2C 00 80 00 */ cmpwi r0, -32768 +/* 8035B7AC 0035870C 40 80 00 0C */ bge lbl_8035B7B8 +/* 8035B7B0 00358710 38 00 80 00 */ li r0, -32768 +/* 8035B7B4 00358714 48 00 00 10 */ b lbl_8035B7C4 +lbl_8035B7B8: +/* 8035B7B8 00358718 2C 00 7F FF */ cmpwi r0, 0x7fff +/* 8035B7BC 0035871C 40 81 00 08 */ ble lbl_8035B7C4 +/* 8035B7C0 00358720 38 00 7F FF */ li r0, 0x7fff +lbl_8035B7C4: +/* 8035B7C4 00358724 B0 04 00 00 */ sth r0, 0(r4) +/* 8035B7C8 00358728 38 84 00 02 */ addi r4, r4, 2 +/* 8035B7CC 0035872C 38 E7 00 02 */ addi r7, r7, 2 +/* 8035B7D0 00358730 39 4A 00 02 */ addi r10, r10, 2 +/* 8035B7D4 00358734 42 00 FF C0 */ bdnz lbl_8035B794 +/* 8035B7D8 00358738 48 00 00 4C */ b lbl_8035B824 +lbl_8035B7DC: +/* 8035B7DC 0035873C 57 E0 08 3C */ slwi r0, r31, 1 +/* 8035B7E0 00358740 7C 09 03 A6 */ mtctr r0 +/* 8035B7E4 00358744 28 00 00 00 */ cmplwi r0, 0 +/* 8035B7E8 00358748 40 81 00 3C */ ble lbl_8035B824 +lbl_8035B7EC: +/* 8035B7EC 0035874C A8 0A 00 00 */ lha r0, 0(r10) +/* 8035B7F0 00358750 7C 0B 01 D6 */ mullw r0, r11, r0 +/* 8035B7F4 00358754 7C 00 7E 70 */ srawi r0, r0, 0xf +/* 8035B7F8 00358758 2C 00 80 00 */ cmpwi r0, -32768 +/* 8035B7FC 0035875C 40 80 00 0C */ bge lbl_8035B808 +/* 8035B800 00358760 38 00 80 00 */ li r0, -32768 +/* 8035B804 00358764 48 00 00 10 */ b lbl_8035B814 +lbl_8035B808: +/* 8035B808 00358768 2C 00 7F FF */ cmpwi r0, 0x7fff +/* 8035B80C 0035876C 40 81 00 08 */ ble lbl_8035B814 +/* 8035B810 00358770 38 00 7F FF */ li r0, 0x7fff +lbl_8035B814: +/* 8035B814 00358774 B0 04 00 00 */ sth r0, 0(r4) +/* 8035B818 00358778 38 84 00 02 */ addi r4, r4, 2 +/* 8035B81C 0035877C 39 4A 00 02 */ addi r10, r10, 2 +/* 8035B820 00358780 42 00 FF CC */ bdnz lbl_8035B7EC +lbl_8035B824: +/* 8035B824 00358784 7C DF 30 50 */ subf r6, r31, r6 +/* 8035B828 00358788 39 08 00 01 */ addi r8, r8, 1 +lbl_8035B82C: +/* 8035B82C 0035878C 28 06 00 00 */ cmplwi r6, 0 +/* 8035B830 00358790 41 82 00 0C */ beq lbl_8035B83C +/* 8035B834 00358794 2C 08 00 03 */ cmpwi r8, 3 +/* 8035B838 00358798 41 80 FE E4 */ blt lbl_8035B71C +lbl_8035B83C: +/* 8035B83C 0035879C 28 06 00 00 */ cmplwi r6, 0 +/* 8035B840 003587A0 41 82 00 30 */ beq lbl_8035B870 +/* 8035B844 003587A4 28 05 00 00 */ cmplwi r5, 0 +/* 8035B848 003587A8 41 82 00 18 */ beq lbl_8035B860 +/* 8035B84C 003587AC 7C 83 23 78 */ mr r3, r4 +/* 8035B850 003587B0 7C E4 3B 78 */ mr r4, r7 +/* 8035B854 003587B4 54 C5 10 3A */ slwi r5, r6, 2 +/* 8035B858 003587B8 4B CA 7C 39 */ bl memcpy +/* 8035B85C 003587BC 48 00 00 14 */ b lbl_8035B870 +lbl_8035B860: +/* 8035B860 003587C0 7C 83 23 78 */ mr r3, r4 +/* 8035B864 003587C4 54 C5 10 3A */ slwi r5, r6, 2 +/* 8035B868 003587C8 38 80 00 00 */ li r4, 0 +/* 8035B86C 003587CC 4B CA 7B 3D */ bl memset +lbl_8035B870: +/* 8035B870 003587D0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8035B874 003587D4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8035B878 003587D8 7C 08 03 A6 */ mtlr r0 +/* 8035B87C 003587DC 38 21 00 20 */ addi r1, r1, 0x20 +/* 8035B880 003587E0 4E 80 00 20 */ blr + +.global StaticMyAudioCallback__12CMoviePlayerFv +StaticMyAudioCallback__12CMoviePlayerFv: +/* 8035B884 003587E4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8035B888 003587E8 7C 08 02 A6 */ mflr r0 +/* 8035B88C 003587EC 90 01 00 14 */ stw r0, 0x14(r1) +/* 8035B890 003587F0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8035B894 003587F4 93 C1 00 08 */ stw r30, 8(r1) +/* 8035B898 003587F8 80 6D AA A4 */ lwz r3, lbl_805A9664@sda21(r13) +/* 8035B89C 003587FC 28 03 00 00 */ cmplwi r3, 0 +/* 8035B8A0 00358800 41 82 00 8C */ beq lbl_8035B92C +/* 8035B8A4 00358804 88 03 00 F4 */ lbz r0, 0xf4(r3) +/* 8035B8A8 00358808 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 8035B8AC 0035880C 41 82 00 80 */ beq lbl_8035B92C +/* 8035B8B0 00358810 48 01 17 89 */ bl AIGetDMAStartAddr +/* 8035B8B4 00358814 80 0D AA AC */ lwz r0, lbl_805A966C@sda21(r13) +/* 8035B8B8 00358818 3C A0 80 54 */ lis r5, lbl_80540020@ha +/* 8035B8BC 0035881C 3C E3 80 00 */ addis r7, r3, 0x8000 +/* 8035B8C0 00358820 38 80 02 80 */ li r4, 0x280 +/* 8035B8C4 00358824 68 06 00 01 */ xori r6, r0, 1 +/* 8035B8C8 00358828 38 05 00 20 */ addi r0, r5, lbl_80540020@l +/* 8035B8CC 0035882C 1C 66 02 80 */ mulli r3, r6, 0x280 +/* 8035B8D0 00358830 90 ED AA A8 */ stw r7, lbl_805A9668@sda21(r13) +/* 8035B8D4 00358834 90 CD AA AC */ stw r6, lbl_805A966C@sda21(r13) +/* 8035B8D8 00358838 7F E0 1A 14 */ add r31, r0, r3 +/* 8035B8DC 0035883C 7F E3 FB 78 */ mr r3, r31 +/* 8035B8E0 00358840 48 01 16 A1 */ bl AIInitDMA +/* 8035B8E4 00358844 48 02 5D 91 */ bl OSEnableInterrupts +/* 8035B8E8 00358848 80 0D AA A8 */ lwz r0, lbl_805A9668@sda21(r13) +/* 8035B8EC 0035884C 7C 7E 1B 78 */ mr r30, r3 +/* 8035B8F0 00358850 28 00 00 00 */ cmplwi r0, 0 +/* 8035B8F4 00358854 41 82 00 10 */ beq lbl_8035B904 +/* 8035B8F8 00358858 7C 03 03 78 */ mr r3, r0 +/* 8035B8FC 0035885C 38 80 02 80 */ li r4, 0x280 +/* 8035B900 00358860 48 02 31 85 */ bl DCInvalidateRange +lbl_8035B904: +/* 8035B904 00358864 80 6D AA A4 */ lwz r3, lbl_805A9664@sda21(r13) +/* 8035B908 00358868 7F E4 FB 78 */ mr r4, r31 +/* 8035B90C 0035886C 80 AD AA A8 */ lwz r5, lbl_805A9668@sda21(r13) +/* 8035B910 00358870 38 C0 00 A0 */ li r6, 0xa0 +/* 8035B914 00358874 4B FF FD 5D */ bl MixAudio__12CMoviePlayerFPsPCsUl +/* 8035B918 00358878 7F E3 FB 78 */ mr r3, r31 +/* 8035B91C 0035887C 38 80 02 80 */ li r4, 0x280 +/* 8035B920 00358880 48 02 31 91 */ bl DCFlushRange +/* 8035B924 00358884 7F C3 F3 78 */ mr r3, r30 +/* 8035B928 00358888 48 02 5D 61 */ bl OSRestoreInterrupts +lbl_8035B92C: +/* 8035B92C 0035888C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8035B930 00358890 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8035B934 00358894 83 C1 00 08 */ lwz r30, 8(r1) +/* 8035B938 00358898 7C 08 03 A6 */ mtlr r0 +/* 8035B93C 0035889C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8035B940 003588A0 4E 80 00 20 */ blr + +.global Rewind__12CMoviePlayerFv +Rewind__12CMoviePlayerFv: +/* 8035B944 003588A4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8035B948 003588A8 7C 08 02 A6 */ mflr r0 +/* 8035B94C 003588AC 90 01 00 24 */ stw r0, 0x24(r1) +/* 8035B950 003588B0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8035B954 003588B4 7C 7F 1B 78 */ mr r31, r3 +/* 8035B958 003588B8 80 63 00 98 */ lwz r3, 0x98(r3) +/* 8035B95C 003588BC 28 03 00 00 */ cmplwi r3, 0 +/* 8035B960 003588C0 41 82 00 3C */ beq lbl_8035B99C +/* 8035B964 003588C4 81 83 00 00 */ lwz r12, 0(r3) +/* 8035B968 003588C8 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 8035B96C 003588CC 7D 89 03 A6 */ mtctr r12 +/* 8035B970 003588D0 4E 80 04 21 */ bctrl +/* 8035B974 003588D4 80 7F 00 98 */ lwz r3, 0x98(r31) +/* 8035B978 003588D8 28 03 00 00 */ cmplwi r3, 0 +/* 8035B97C 003588DC 41 82 00 18 */ beq lbl_8035B994 +/* 8035B980 003588E0 81 83 00 00 */ lwz r12, 0(r3) +/* 8035B984 003588E4 38 80 00 01 */ li r4, 1 +/* 8035B988 003588E8 81 8C 00 08 */ lwz r12, 8(r12) +/* 8035B98C 003588EC 7D 89 03 A6 */ mtctr r12 +/* 8035B990 003588F0 4E 80 04 21 */ bctrl +lbl_8035B994: +/* 8035B994 003588F4 38 00 00 00 */ li r0, 0 +/* 8035B998 003588F8 90 1F 00 98 */ stw r0, 0x98(r31) +lbl_8035B99C: +/* 8035B99C 003588FC 38 61 00 08 */ addi r3, r1, 8 +/* 8035B9A0 00358900 38 1F 00 90 */ addi r0, r31, 0x90 +/* 8035B9A4 00358904 38 80 00 00 */ li r4, 0 +/* 8035B9A8 00358908 7C 03 00 40 */ cmplw r3, r0 +/* 8035B9AC 0035890C 98 81 00 08 */ stb r4, 8(r1) +/* 8035B9B0 00358910 90 81 00 0C */ stw r4, 0xc(r1) +/* 8035B9B4 00358914 41 82 00 30 */ beq lbl_8035B9E4 +/* 8035B9B8 00358918 88 1F 00 90 */ lbz r0, 0x90(r31) +/* 8035B9BC 0035891C 28 00 00 00 */ cmplwi r0, 0 +/* 8035B9C0 00358920 41 82 00 0C */ beq lbl_8035B9CC +/* 8035B9C4 00358924 80 7F 00 94 */ lwz r3, 0x94(r31) +/* 8035B9C8 00358928 4B FB 9F 69 */ bl Free__7CMemoryFPCv +lbl_8035B9CC: +/* 8035B9CC 0035892C 88 61 00 08 */ lbz r3, 8(r1) +/* 8035B9D0 00358930 38 00 00 00 */ li r0, 0 +/* 8035B9D4 00358934 98 7F 00 90 */ stb r3, 0x90(r31) +/* 8035B9D8 00358938 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8035B9DC 0035893C 90 7F 00 94 */ stw r3, 0x94(r31) +/* 8035B9E0 00358940 98 01 00 08 */ stb r0, 8(r1) +lbl_8035B9E4: +/* 8035B9E4 00358944 88 01 00 08 */ lbz r0, 8(r1) +/* 8035B9E8 00358948 28 00 00 00 */ cmplwi r0, 0 +/* 8035B9EC 0035894C 41 82 00 0C */ beq lbl_8035B9F8 +/* 8035B9F0 00358950 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8035B9F4 00358954 4B FB 9F 3D */ bl Free__7CMemoryFPCv +lbl_8035B9F8: +/* 8035B9F8 00358958 80 7F 00 40 */ lwz r3, 0x40(r31) +/* 8035B9FC 0035895C 38 80 00 00 */ li r4, 0 +/* 8035BA00 00358960 38 00 FF FF */ li r0, -1 +/* 8035BA04 00358964 C0 02 CD 24 */ lfs f0, lbl_805AEA44@sda21(r2) +/* 8035BA08 00358968 90 7F 00 B0 */ stw r3, 0xb0(r31) +/* 8035BA0C 0035896C 38 7F 00 80 */ addi r3, r31, 0x80 +/* 8035BA10 00358970 80 BF 00 50 */ lwz r5, 0x50(r31) +/* 8035BA14 00358974 90 BF 00 B4 */ stw r5, 0xb4(r31) +/* 8035BA18 00358978 80 BF 00 40 */ lwz r5, 0x40(r31) +/* 8035BA1C 0035897C 90 BF 00 B8 */ stw r5, 0xb8(r31) +/* 8035BA20 00358980 80 BF 00 50 */ lwz r5, 0x50(r31) +/* 8035BA24 00358984 90 BF 00 BC */ stw r5, 0xbc(r31) +/* 8035BA28 00358988 90 9F 00 C0 */ stw r4, 0xc0(r31) +/* 8035BA2C 0035898C 90 9F 00 C4 */ stw r4, 0xc4(r31) +/* 8035BA30 00358990 90 9F 00 C8 */ stw r4, 0xc8(r31) +/* 8035BA34 00358994 90 9F 00 CC */ stw r4, 0xcc(r31) +/* 8035BA38 00358998 90 1F 00 D0 */ stw r0, 0xd0(r31) +/* 8035BA3C 0035899C 90 1F 00 D4 */ stw r0, 0xd4(r31) +/* 8035BA40 003589A0 90 9F 00 D8 */ stw r4, 0xd8(r31) +/* 8035BA44 003589A4 D0 1F 00 DC */ stfs f0, 0xdc(r31) +/* 8035BA48 003589A8 D0 1F 00 E8 */ stfs f0, 0xe8(r31) +/* 8035BA4C 003589AC 48 00 00 19 */ bl "clear__Q24rstl67vectorFv" +/* 8035BA50 003589B0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8035BA54 003589B4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8035BA58 003589B8 7C 08 03 A6 */ mtlr r0 +/* 8035BA5C 003589BC 38 21 00 20 */ addi r1, r1, 0x20 +/* 8035BA60 003589C0 4E 80 00 20 */ blr + +.global "clear__Q24rstl67vectorFv" +"clear__Q24rstl67vectorFv": +/* 8035BA64 003589C4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8035BA68 003589C8 7C 08 02 A6 */ mflr r0 +/* 8035BA6C 003589CC 90 01 00 24 */ stw r0, 0x24(r1) +/* 8035BA70 003589D0 38 81 00 0C */ addi r4, r1, 0xc +/* 8035BA74 003589D4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8035BA78 003589D8 7C 7F 1B 78 */ mr r31, r3 +/* 8035BA7C 003589DC 38 61 00 14 */ addi r3, r1, 0x14 +/* 8035BA80 003589E0 80 1F 00 04 */ lwz r0, 4(r31) +/* 8035BA84 003589E4 80 BF 00 0C */ lwz r5, 0xc(r31) +/* 8035BA88 003589E8 1C 00 00 28 */ mulli r0, r0, 0x28 +/* 8035BA8C 003589EC 7C A5 02 14 */ add r5, r5, r0 +/* 8035BA90 003589F0 90 A1 00 0C */ stw r5, 0xc(r1) +/* 8035BA94 003589F4 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 8035BA98 003589F8 90 A1 00 08 */ stw r5, 8(r1) +/* 8035BA9C 003589FC 90 01 00 10 */ stw r0, 0x10(r1) +/* 8035BAA0 00358A00 90 01 00 14 */ stw r0, 0x14(r1) +/* 8035BAA4 00358A04 48 00 00 21 */ bl "destroy,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl154pointer_iterator,Q24rstl17rmemory_allocator>Q24rstl154pointer_iterator,Q24rstl17rmemory_allocator>" +/* 8035BAA8 00358A08 38 00 00 00 */ li r0, 0 +/* 8035BAAC 00358A0C 90 1F 00 04 */ stw r0, 4(r31) +/* 8035BAB0 00358A10 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8035BAB4 00358A14 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8035BAB8 00358A18 7C 08 03 A6 */ mtlr r0 +/* 8035BABC 00358A1C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8035BAC0 00358A20 4E 80 00 20 */ blr + +.global "destroy,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl154pointer_iterator,Q24rstl17rmemory_allocator>Q24rstl154pointer_iterator,Q24rstl17rmemory_allocator>" +"destroy,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl154pointer_iterator,Q24rstl17rmemory_allocator>Q24rstl154pointer_iterator,Q24rstl17rmemory_allocator>": +/* 8035BAC4 00358A24 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8035BAC8 00358A28 7C 08 02 A6 */ mflr r0 +/* 8035BACC 00358A2C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8035BAD0 00358A30 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8035BAD4 00358A34 93 C1 00 08 */ stw r30, 8(r1) +/* 8035BAD8 00358A38 7C 9E 23 78 */ mr r30, r4 +/* 8035BADC 00358A3C 83 E3 00 00 */ lwz r31, 0(r3) +/* 8035BAE0 00358A40 48 00 00 80 */ b lbl_8035BB60 +lbl_8035BAE4: +/* 8035BAE4 00358A44 28 1F 00 00 */ cmplwi r31, 0 +/* 8035BAE8 00358A48 41 82 00 74 */ beq lbl_8035BB5C +/* 8035BAEC 00358A4C 34 1F 00 18 */ addic. r0, r31, 0x18 +/* 8035BAF0 00358A50 41 82 00 18 */ beq lbl_8035BB08 +/* 8035BAF4 00358A54 88 1F 00 18 */ lbz r0, 0x18(r31) +/* 8035BAF8 00358A58 28 00 00 00 */ cmplwi r0, 0 +/* 8035BAFC 00358A5C 41 82 00 0C */ beq lbl_8035BB08 +/* 8035BB00 00358A60 80 7F 00 1C */ lwz r3, 0x1c(r31) +/* 8035BB04 00358A64 4B FB 9E 2D */ bl Free__7CMemoryFPCv +lbl_8035BB08: +/* 8035BB08 00358A68 34 1F 00 10 */ addic. r0, r31, 0x10 +/* 8035BB0C 00358A6C 41 82 00 18 */ beq lbl_8035BB24 +/* 8035BB10 00358A70 88 1F 00 10 */ lbz r0, 0x10(r31) +/* 8035BB14 00358A74 28 00 00 00 */ cmplwi r0, 0 +/* 8035BB18 00358A78 41 82 00 0C */ beq lbl_8035BB24 +/* 8035BB1C 00358A7C 80 7F 00 14 */ lwz r3, 0x14(r31) +/* 8035BB20 00358A80 4B FB 9E 11 */ bl Free__7CMemoryFPCv +lbl_8035BB24: +/* 8035BB24 00358A84 34 1F 00 08 */ addic. r0, r31, 8 +/* 8035BB28 00358A88 41 82 00 18 */ beq lbl_8035BB40 +/* 8035BB2C 00358A8C 88 1F 00 08 */ lbz r0, 8(r31) +/* 8035BB30 00358A90 28 00 00 00 */ cmplwi r0, 0 +/* 8035BB34 00358A94 41 82 00 0C */ beq lbl_8035BB40 +/* 8035BB38 00358A98 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 8035BB3C 00358A9C 4B FB 9D F5 */ bl Free__7CMemoryFPCv +lbl_8035BB40: +/* 8035BB40 00358AA0 28 1F 00 00 */ cmplwi r31, 0 +/* 8035BB44 00358AA4 41 82 00 18 */ beq lbl_8035BB5C +/* 8035BB48 00358AA8 88 1F 00 00 */ lbz r0, 0(r31) +/* 8035BB4C 00358AAC 28 00 00 00 */ cmplwi r0, 0 +/* 8035BB50 00358AB0 41 82 00 0C */ beq lbl_8035BB5C +/* 8035BB54 00358AB4 80 7F 00 04 */ lwz r3, 4(r31) +/* 8035BB58 00358AB8 4B FB 9D D9 */ bl Free__7CMemoryFPCv +lbl_8035BB5C: +/* 8035BB5C 00358ABC 3B FF 00 28 */ addi r31, r31, 0x28 +lbl_8035BB60: +/* 8035BB60 00358AC0 80 1E 00 00 */ lwz r0, 0(r30) +/* 8035BB64 00358AC4 7C 1F 00 40 */ cmplw r31, r0 +/* 8035BB68 00358AC8 40 82 FF 7C */ bne lbl_8035BAE4 +/* 8035BB6C 00358ACC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8035BB70 00358AD0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8035BB74 00358AD4 83 C1 00 08 */ lwz r30, 8(r1) +/* 8035BB78 00358AD8 7C 08 03 A6 */ mtlr r0 +/* 8035BB7C 00358ADC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8035BB80 00358AE0 4E 80 00 20 */ blr + +.global GetIsMovieFinishedPlaying__12CMoviePlayerCFv +GetIsMovieFinishedPlaying__12CMoviePlayerCFv: +/* 8035BB84 00358AE4 88 03 00 F4 */ lbz r0, 0xf4(r3) +/* 8035BB88 00358AE8 38 A0 00 00 */ li r5, 0 +/* 8035BB8C 00358AEC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8035BB90 00358AF0 40 82 00 18 */ bne lbl_8035BBA8 +/* 8035BB94 00358AF4 80 83 00 C8 */ lwz r4, 0xc8(r3) +/* 8035BB98 00358AF8 80 03 00 3C */ lwz r0, 0x3c(r3) +/* 8035BB9C 00358AFC 7C 04 00 40 */ cmplw r4, r0 +/* 8035BBA0 00358B00 40 82 00 08 */ bne lbl_8035BBA8 +/* 8035BBA4 00358B04 38 A0 00 01 */ li r5, 1 +lbl_8035BBA8: +/* 8035BBA8 00358B08 7C A3 2B 78 */ mr r3, r5 +/* 8035BBAC 00358B0C 4E 80 00 20 */ blr + +.global GetIsFullyCached__12CMoviePlayerCFv +GetIsFullyCached__12CMoviePlayerCFv: +/* 8035BBB0 00358B10 80 A3 00 A0 */ lwz r5, 0xa0(r3) +/* 8035BBB4 00358B14 80 03 00 F0 */ lwz r0, 0xf0(r3) +/* 8035BBB8 00358B18 7C A4 FE 70 */ srawi r4, r5, 0x1f +/* 8035BBBC 00358B1C 54 03 0F FE */ srwi r3, r0, 0x1f +/* 8035BBC0 00358B20 7C 00 28 10 */ subfc r0, r0, r5 +/* 8035BBC4 00358B24 7C 64 19 14 */ adde r3, r4, r3 +/* 8035BBC8 00358B28 4E 80 00 20 */ blr + +.global GetPlayedSeconds__12CMoviePlayerCFv +GetPlayedSeconds__12CMoviePlayerCFv: +/* 8035BBCC 00358B2C C0 23 00 E8 */ lfs f1, 0xe8(r3) +/* 8035BBD0 00358B30 C0 03 00 DC */ lfs f0, 0xdc(r3) +/* 8035BBD4 00358B34 EC 21 00 2A */ fadds f1, f1, f0 +/* 8035BBD8 00358B38 4E 80 00 20 */ blr + +.global GetTotalSeconds__12CMoviePlayerCFv +GetTotalSeconds__12CMoviePlayerCFv: +/* 8035BBDC 00358B3C C0 23 00 E4 */ lfs f1, 0xe4(r3) +/* 8035BBE0 00358B40 4E 80 00 20 */ blr + +.global SetPlayMode__12CMoviePlayerFQ212CMoviePlayer9EPlayMode +SetPlayMode__12CMoviePlayerFQ212CMoviePlayer9EPlayMode: +/* 8035BBE4 00358B44 90 83 00 E0 */ stw r4, 0xe0(r3) +/* 8035BBE8 00358B48 4E 80 00 20 */ blr + +.global DrawFrame__12CMoviePlayerFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f +DrawFrame__12CMoviePlayerFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f: +/* 8035BBEC 00358B4C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8035BBF0 00358B50 7C 08 02 A6 */ mflr r0 +/* 8035BBF4 00358B54 90 01 00 34 */ stw r0, 0x34(r1) +/* 8035BBF8 00358B58 BF 21 00 14 */ stmw r25, 0x14(r1) +/* 8035BBFC 00358B5C 7C 7B 1B 78 */ mr r27, r3 +/* 8035BC00 00358B60 7C 9C 23 78 */ mr r28, r4 +/* 8035BC04 00358B64 7C BD 2B 78 */ mr r29, r5 +/* 8035BC08 00358B68 7C DE 33 78 */ mr r30, r6 +/* 8035BC0C 00358B6C 7C FF 3B 78 */ mr r31, r7 +/* 8035BC10 00358B70 80 03 00 D0 */ lwz r0, 0xd0(r3) +/* 8035BC14 00358B74 2C 00 FF FF */ cmpwi r0, -1 +/* 8035BC18 00358B78 41 82 01 34 */ beq lbl_8035BD4C +/* 8035BC1C 00358B7C 88 1B 00 F4 */ lbz r0, 0xf4(r27) +/* 8035BC20 00358B80 54 03 D7 FE */ rlwinm r3, r0, 0x1a, 0x1f, 0x1f +/* 8035BC24 00358B84 4B FA DB E9 */ bl SetUseVideoFilter__9CGraphicsFb +/* 8035BC28 00358B88 48 02 5A 39 */ bl OSDisableInterrupts +/* 8035BC2C 00358B8C 93 6D AA A4 */ stw r27, lbl_805A9664@sda21(r13) +/* 8035BC30 00358B90 48 02 5A 59 */ bl OSRestoreInterrupts +/* 8035BC34 00358B94 80 7B 00 D0 */ lwz r3, 0xd0(r27) +/* 8035BC38 00358B98 88 1B 00 F4 */ lbz r0, 0xf4(r27) +/* 8035BC3C 00358B9C 1C A3 00 28 */ mulli r5, r3, 0x28 +/* 8035BC40 00358BA0 80 DB 00 8C */ lwz r6, 0x8c(r27) +/* 8035BC44 00358BA4 8B 2D A8 14 */ lbz r25, lbl_805A93D4@sda21(r13) +/* 8035BC48 00358BA8 54 04 D7 FE */ rlwinm r4, r0, 0x1a, 0x1f, 0x1f +/* 8035BC4C 00358BAC 7F 23 CB 78 */ mr r3, r25 +/* 8035BC50 00358BB0 7F 46 2A 14 */ add r26, r6, r5 +/* 8035BC54 00358BB4 48 00 16 41 */ bl MyTHPGXYuv2RgbSetup__Fb +/* 8035BC58 00358BB8 80 9B 00 6C */ lwz r4, 0x6c(r27) +/* 8035BC5C 00358BBC 80 1B 00 70 */ lwz r0, 0x70(r27) +/* 8035BC60 00358BC0 80 7A 00 04 */ lwz r3, 4(r26) +/* 8035BC64 00358BC4 54 86 04 3E */ clrlwi r6, r4, 0x10 +/* 8035BC68 00358BC8 80 9A 00 0C */ lwz r4, 0xc(r26) +/* 8035BC6C 00358BCC 54 07 04 3E */ clrlwi r7, r0, 0x10 +/* 8035BC70 00358BD0 80 BA 00 14 */ lwz r5, 0x14(r26) +/* 8035BC74 00358BD4 48 00 14 AD */ bl MyTHPYuv2RgbTextureSetup__FPvPvPvUsUs +/* 8035BC78 00358BD8 38 60 00 A0 */ li r3, 0xa0 +/* 8035BC7C 00358BDC 38 80 00 07 */ li r4, 7 +/* 8035BC80 00358BE0 38 A0 00 04 */ li r5, 4 +/* 8035BC84 00358BE4 4B FA C9 01 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 8035BC88 00358BE8 C0 3C 00 08 */ lfs f1, 8(r28) +/* 8035BC8C 00358BEC 3C 80 CC 01 */ lis r4, 0xCC008000@ha +/* 8035BC90 00358BF0 C0 5C 00 04 */ lfs f2, 4(r28) +/* 8035BC94 00358BF4 38 60 00 00 */ li r3, 0 +/* 8035BC98 00358BF8 C0 1C 00 00 */ lfs f0, 0(r28) +/* 8035BC9C 00358BFC 38 00 00 01 */ li r0, 1 +/* 8035BCA0 00358C00 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8035BCA4 00358C04 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8035BCA8 00358C08 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8035BCAC 00358C0C B0 64 80 00 */ sth r3, 0xCC008000@l(r4) +/* 8035BCB0 00358C10 B0 64 80 00 */ sth r3, 0xCC008000@l(r4) +/* 8035BCB4 00358C14 C0 3E 00 08 */ lfs f1, 8(r30) +/* 8035BCB8 00358C18 C0 5E 00 04 */ lfs f2, 4(r30) +/* 8035BCBC 00358C1C C0 1E 00 00 */ lfs f0, 0(r30) +/* 8035BCC0 00358C20 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8035BCC4 00358C24 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8035BCC8 00358C28 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8035BCCC 00358C2C B0 64 80 00 */ sth r3, 0xCC008000@l(r4) +/* 8035BCD0 00358C30 B0 04 80 00 */ sth r0, 0xCC008000@l(r4) +/* 8035BCD4 00358C34 C0 3F 00 08 */ lfs f1, 8(r31) +/* 8035BCD8 00358C38 C0 5F 00 04 */ lfs f2, 4(r31) +/* 8035BCDC 00358C3C C0 1F 00 00 */ lfs f0, 0(r31) +/* 8035BCE0 00358C40 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8035BCE4 00358C44 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8035BCE8 00358C48 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8035BCEC 00358C4C B0 04 80 00 */ sth r0, 0xCC008000@l(r4) +/* 8035BCF0 00358C50 B0 04 80 00 */ sth r0, 0xCC008000@l(r4) +/* 8035BCF4 00358C54 C0 3D 00 08 */ lfs f1, 8(r29) +/* 8035BCF8 00358C58 C0 5D 00 04 */ lfs f2, 4(r29) +/* 8035BCFC 00358C5C C0 1D 00 00 */ lfs f0, 0(r29) +/* 8035BD00 00358C60 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8035BD04 00358C64 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8035BD08 00358C68 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8035BD0C 00358C6C B0 04 80 00 */ sth r0, 0xCC008000@l(r4) +/* 8035BD10 00358C70 B0 64 80 00 */ sth r3, 0xCC008000@l(r4) +/* 8035BD14 00358C74 4B FA C8 6D */ bl End__3CGXFv +/* 8035BD18 00358C78 48 00 1A 99 */ bl MyTHPGXRestore__Fv +/* 8035BD1C 00358C7C 80 1B 00 FC */ lwz r0, 0xfc(r27) +/* 8035BD20 00358C80 2C 00 00 00 */ cmpwi r0, 0 +/* 8035BD24 00358C84 40 82 00 1C */ bne lbl_8035BD40 +/* 8035BD28 00358C88 28 19 00 00 */ cmplwi r25, 0 +/* 8035BD2C 00358C8C 41 82 00 14 */ beq lbl_8035BD40 +/* 8035BD30 00358C90 88 1B 00 F4 */ lbz r0, 0xf4(r27) +/* 8035BD34 00358C94 38 60 00 01 */ li r3, 1 +/* 8035BD38 00358C98 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 8035BD3C 00358C9C 98 1B 00 F4 */ stb r0, 0xf4(r27) +lbl_8035BD40: +/* 8035BD40 00358CA0 80 7B 00 FC */ lwz r3, 0xfc(r27) +/* 8035BD44 00358CA4 38 03 00 01 */ addi r0, r3, 1 +/* 8035BD48 00358CA8 90 1B 00 FC */ stw r0, 0xfc(r27) +lbl_8035BD4C: +/* 8035BD4C 00358CAC BB 21 00 14 */ lmw r25, 0x14(r1) +/* 8035BD50 00358CB0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8035BD54 00358CB4 7C 08 03 A6 */ mtlr r0 +/* 8035BD58 00358CB8 38 21 00 30 */ addi r1, r1, 0x30 +/* 8035BD5C 00358CBC 4E 80 00 20 */ blr + +.global Update__12CMoviePlayerFf +Update__12CMoviePlayerFf: +/* 8035BD60 00358CC0 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 8035BD64 00358CC4 7C 08 02 A6 */ mflr r0 +/* 8035BD68 00358CC8 90 01 00 54 */ stw r0, 0x54(r1) +/* 8035BD6C 00358CCC DB E1 00 40 */ stfd f31, 0x40(r1) +/* 8035BD70 00358CD0 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 +/* 8035BD74 00358CD4 DB C1 00 30 */ stfd f30, 0x30(r1) +/* 8035BD78 00358CD8 F3 C1 00 38 */ psq_st f30, 56(r1), 0, qr0 +/* 8035BD7C 00358CDC DB A1 00 20 */ stfd f29, 0x20(r1) +/* 8035BD80 00358CE0 F3 A1 00 28 */ psq_st f29, 40(r1), 0, qr0 +/* 8035BD84 00358CE4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8035BD88 00358CE8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8035BD8C 00358CEC 7C 7F 1B 78 */ mr r31, r3 +/* 8035BD90 00358CF0 FF A0 08 90 */ fmr f29, f1 +/* 8035BD94 00358CF4 80 A3 00 C0 */ lwz r5, 0xc0(r3) +/* 8035BD98 00358CF8 80 03 00 F0 */ lwz r0, 0xf0(r3) +/* 8035BD9C 00358CFC 7C 05 00 00 */ cmpw r5, r0 +/* 8035BDA0 00358D00 40 80 00 64 */ bge lbl_8035BE04 +/* 8035BDA4 00358D04 80 7F 00 98 */ lwz r3, 0x98(r31) +/* 8035BDA8 00358D08 28 03 00 00 */ cmplwi r3, 0 +/* 8035BDAC 00358D0C 41 82 01 08 */ beq lbl_8035BEB4 +/* 8035BDB0 00358D10 81 83 00 00 */ lwz r12, 0(r3) +/* 8035BDB4 00358D14 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 8035BDB8 00358D18 7D 89 03 A6 */ mtctr r12 +/* 8035BDBC 00358D1C 4E 80 04 21 */ bctrl +/* 8035BDC0 00358D20 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8035BDC4 00358D24 41 82 00 F0 */ beq lbl_8035BEB4 +/* 8035BDC8 00358D28 7F E3 FB 78 */ mr r3, r31 +/* 8035BDCC 00358D2C 48 00 04 49 */ bl ReadCompleted__12CMoviePlayerFv +/* 8035BDD0 00358D30 80 7F 00 C0 */ lwz r3, 0xc0(r31) +/* 8035BDD4 00358D34 80 9F 00 A0 */ lwz r4, 0xa0(r31) +/* 8035BDD8 00358D38 7C 03 20 00 */ cmpw r3, r4 +/* 8035BDDC 00358D3C 41 80 00 D8 */ blt lbl_8035BEB4 +/* 8035BDE0 00358D40 80 1F 00 F0 */ lwz r0, 0xf0(r31) +/* 8035BDE4 00358D44 7C 03 00 00 */ cmpw r3, r0 +/* 8035BDE8 00358D48 40 80 00 CC */ bge lbl_8035BEB4 +/* 8035BDEC 00358D4C 80 1F 00 3C */ lwz r0, 0x3c(r31) +/* 8035BDF0 00358D50 7C 04 00 40 */ cmplw r4, r0 +/* 8035BDF4 00358D54 40 80 00 C0 */ bge lbl_8035BEB4 +/* 8035BDF8 00358D58 7F E3 FB 78 */ mr r3, r31 +/* 8035BDFC 00358D5C 48 00 05 8D */ bl PostDVDReadRequestIfNeeded__12CMoviePlayerFv +/* 8035BE00 00358D60 48 00 00 B4 */ b lbl_8035BEB4 +lbl_8035BE04: +/* 8035BE04 00358D64 80 7F 00 98 */ lwz r3, 0x98(r31) +/* 8035BE08 00358D68 28 03 00 00 */ cmplwi r3, 0 +/* 8035BE0C 00358D6C 41 82 00 A8 */ beq lbl_8035BEB4 +/* 8035BE10 00358D70 80 1F 00 C4 */ lwz r0, 0xc4(r31) +/* 8035BE14 00358D74 3B C0 00 00 */ li r30, 0 +/* 8035BE18 00358D78 80 9F 00 A0 */ lwz r4, 0xa0(r31) +/* 8035BE1C 00358D7C 7C 00 20 00 */ cmpw r0, r4 +/* 8035BE20 00358D80 41 80 00 10 */ blt lbl_8035BE30 +/* 8035BE24 00358D84 7C 05 20 00 */ cmpw r5, r4 +/* 8035BE28 00358D88 41 80 00 08 */ blt lbl_8035BE30 +/* 8035BE2C 00358D8C 3B C0 00 01 */ li r30, 1 +lbl_8035BE30: +/* 8035BE30 00358D90 81 83 00 00 */ lwz r12, 0(r3) +/* 8035BE34 00358D94 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 8035BE38 00358D98 7D 89 03 A6 */ mtctr r12 +/* 8035BE3C 00358D9C 4E 80 04 21 */ bctrl +/* 8035BE40 00358DA0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8035BE44 00358DA4 41 82 00 70 */ beq lbl_8035BEB4 +/* 8035BE48 00358DA8 80 1F 00 D8 */ lwz r0, 0xd8(r31) +/* 8035BE4C 00358DAC 2C 00 00 02 */ cmpwi r0, 2 +/* 8035BE50 00358DB0 40 80 00 64 */ bge lbl_8035BEB4 +/* 8035BE54 00358DB4 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 8035BE58 00358DB8 41 82 00 5C */ beq lbl_8035BEB4 +/* 8035BE5C 00358DBC 80 9F 00 94 */ lwz r4, 0x94(r31) +/* 8035BE60 00358DC0 7F E3 FB 78 */ mr r3, r31 +/* 8035BE64 00358DC4 48 00 02 95 */ bl DecodeFromRead__12CMoviePlayerFPCv +/* 8035BE68 00358DC8 7F E3 FB 78 */ mr r3, r31 +/* 8035BE6C 00358DCC 48 00 03 A9 */ bl ReadCompleted__12CMoviePlayerFv +/* 8035BE70 00358DD0 7F E3 FB 78 */ mr r3, r31 +/* 8035BE74 00358DD4 48 00 05 15 */ bl PostDVDReadRequestIfNeeded__12CMoviePlayerFv +/* 8035BE78 00358DD8 80 7F 00 D8 */ lwz r3, 0xd8(r31) +/* 8035BE7C 00358DDC 38 03 00 01 */ addi r0, r3, 1 +/* 8035BE80 00358DE0 90 1F 00 D8 */ stw r0, 0xd8(r31) +/* 8035BE84 00358DE4 80 7F 00 C4 */ lwz r3, 0xc4(r31) +/* 8035BE88 00358DE8 38 03 00 01 */ addi r0, r3, 1 +/* 8035BE8C 00358DEC 90 1F 00 C4 */ stw r0, 0xc4(r31) +/* 8035BE90 00358DF0 80 7F 00 C4 */ lwz r3, 0xc4(r31) +/* 8035BE94 00358DF4 80 1F 00 3C */ lwz r0, 0x3c(r31) +/* 8035BE98 00358DF8 7C 03 00 40 */ cmplw r3, r0 +/* 8035BE9C 00358DFC 41 80 00 18 */ blt lbl_8035BEB4 +/* 8035BEA0 00358E00 88 1F 00 F4 */ lbz r0, 0xf4(r31) +/* 8035BEA4 00358E04 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8035BEA8 00358E08 41 82 00 0C */ beq lbl_8035BEB4 +/* 8035BEAC 00358E0C 38 00 00 00 */ li r0, 0 +/* 8035BEB0 00358E10 90 1F 00 C4 */ stw r0, 0xc4(r31) +lbl_8035BEB4: +/* 8035BEB4 00358E14 80 1F 00 98 */ lwz r0, 0x98(r31) +/* 8035BEB8 00358E18 28 00 00 00 */ cmplwi r0, 0 +/* 8035BEBC 00358E1C 40 82 00 28 */ bne lbl_8035BEE4 +/* 8035BEC0 00358E20 80 1F 00 E0 */ lwz r0, 0xe0(r31) +/* 8035BEC4 00358E24 2C 00 00 01 */ cmpwi r0, 1 +/* 8035BEC8 00358E28 40 82 00 1C */ bne lbl_8035BEE4 +/* 8035BECC 00358E2C 80 7F 00 A0 */ lwz r3, 0xa0(r31) +/* 8035BED0 00358E30 80 1F 00 3C */ lwz r0, 0x3c(r31) +/* 8035BED4 00358E34 7C 03 00 40 */ cmplw r3, r0 +/* 8035BED8 00358E38 40 80 00 0C */ bge lbl_8035BEE4 +/* 8035BEDC 00358E3C 7F E3 FB 78 */ mr r3, r31 +/* 8035BEE0 00358E40 48 00 04 A9 */ bl PostDVDReadRequestIfNeeded__12CMoviePlayerFv +lbl_8035BEE4: +/* 8035BEE4 00358E44 80 1F 00 D8 */ lwz r0, 0xd8(r31) +/* 8035BEE8 00358E48 2C 00 00 02 */ cmpwi r0, 2 +/* 8035BEEC 00358E4C 40 80 00 A4 */ bge lbl_8035BF90 +/* 8035BEF0 00358E50 80 1F 00 E0 */ lwz r0, 0xe0(r31) +/* 8035BEF4 00358E54 2C 00 00 01 */ cmpwi r0, 1 +/* 8035BEF8 00358E58 40 82 00 98 */ bne lbl_8035BF90 +/* 8035BEFC 00358E5C 80 7F 00 C4 */ lwz r3, 0xc4(r31) +/* 8035BF00 00358E60 80 1F 00 F0 */ lwz r0, 0xf0(r31) +/* 8035BF04 00358E64 7C 03 00 00 */ cmpw r3, r0 +/* 8035BF08 00358E68 40 80 00 88 */ bge lbl_8035BF90 +/* 8035BF0C 00358E6C 80 7F 00 A0 */ lwz r3, 0xa0(r31) +/* 8035BF10 00358E70 38 63 FF FF */ addi r3, r3, -1 +/* 8035BF14 00358E74 90 61 00 08 */ stw r3, 8(r1) +/* 8035BF18 00358E78 80 1F 00 C4 */ lwz r0, 0xc4(r31) +/* 8035BF1C 00358E7C 7C 03 00 00 */ cmpw r3, r0 +/* 8035BF20 00358E80 40 80 00 0C */ bge lbl_8035BF2C +/* 8035BF24 00358E84 38 61 00 08 */ addi r3, r1, 8 +/* 8035BF28 00358E88 48 00 00 08 */ b lbl_8035BF30 +lbl_8035BF2C: +/* 8035BF2C 00358E8C 38 7F 00 C4 */ addi r3, r31, 0xc4 +lbl_8035BF30: +/* 8035BF30 00358E90 80 03 00 00 */ lwz r0, 0(r3) +/* 8035BF34 00358E94 2C 00 FF FF */ cmpwi r0, -1 +/* 8035BF38 00358E98 41 82 01 90 */ beq lbl_8035C0C8 +/* 8035BF3C 00358E9C 54 03 18 38 */ slwi r3, r0, 3 +/* 8035BF40 00358EA0 80 9F 00 A8 */ lwz r4, 0xa8(r31) +/* 8035BF44 00358EA4 38 03 00 04 */ addi r0, r3, 4 +/* 8035BF48 00358EA8 7F E3 FB 78 */ mr r3, r31 +/* 8035BF4C 00358EAC 7C 84 00 2E */ lwzx r4, r4, r0 +/* 8035BF50 00358EB0 48 00 01 A9 */ bl DecodeFromRead__12CMoviePlayerFPCv +/* 8035BF54 00358EB4 80 7F 00 D8 */ lwz r3, 0xd8(r31) +/* 8035BF58 00358EB8 38 03 00 01 */ addi r0, r3, 1 +/* 8035BF5C 00358EBC 90 1F 00 D8 */ stw r0, 0xd8(r31) +/* 8035BF60 00358EC0 80 7F 00 C4 */ lwz r3, 0xc4(r31) +/* 8035BF64 00358EC4 38 03 00 01 */ addi r0, r3, 1 +/* 8035BF68 00358EC8 90 1F 00 C4 */ stw r0, 0xc4(r31) +/* 8035BF6C 00358ECC 80 7F 00 C4 */ lwz r3, 0xc4(r31) +/* 8035BF70 00358ED0 80 1F 00 3C */ lwz r0, 0x3c(r31) +/* 8035BF74 00358ED4 7C 03 00 40 */ cmplw r3, r0 +/* 8035BF78 00358ED8 41 80 00 18 */ blt lbl_8035BF90 +/* 8035BF7C 00358EDC 88 1F 00 F4 */ lbz r0, 0xf4(r31) +/* 8035BF80 00358EE0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8035BF84 00358EE4 41 82 00 0C */ beq lbl_8035BF90 +/* 8035BF88 00358EE8 38 00 00 00 */ li r0, 0 +/* 8035BF8C 00358EEC 90 1F 00 C4 */ stw r0, 0xc4(r31) +lbl_8035BF90: +/* 8035BF90 00358EF0 80 1F 00 D8 */ lwz r0, 0xd8(r31) +/* 8035BF94 00358EF4 2C 00 00 00 */ cmpwi r0, 0 +/* 8035BF98 00358EF8 40 81 01 30 */ ble lbl_8035C0C8 +/* 8035BF9C 00358EFC 80 1F 00 E0 */ lwz r0, 0xe0(r31) +/* 8035BFA0 00358F00 2C 00 00 01 */ cmpwi r0, 1 +/* 8035BFA4 00358F04 40 82 01 24 */ bne lbl_8035C0C8 +/* 8035BFA8 00358F08 C0 1F 00 E8 */ lfs f0, 0xe8(r31) +/* 8035BFAC 00358F0C EC 00 E8 2A */ fadds f0, f0, f29 +/* 8035BFB0 00358F10 D0 1F 00 E8 */ stfs f0, 0xe8(r31) +/* 8035BFB4 00358F14 88 1F 00 F4 */ lbz r0, 0xf4(r31) +/* 8035BFB8 00358F18 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8035BFBC 00358F1C 41 82 00 1C */ beq lbl_8035BFD8 +/* 8035BFC0 00358F20 C0 3F 00 E8 */ lfs f1, 0xe8(r31) +/* 8035BFC4 00358F24 C0 5F 00 E4 */ lfs f2, 0xe4(r31) +/* 8035BFC8 00358F28 48 03 8C E5 */ bl fmod +/* 8035BFCC 00358F2C FC 00 08 18 */ frsp f0, f1 +/* 8035BFD0 00358F30 D0 1F 00 E8 */ stfs f0, 0xe8(r31) +/* 8035BFD4 00358F34 48 00 00 28 */ b lbl_8035BFFC +lbl_8035BFD8: +/* 8035BFD8 00358F38 C0 3F 00 E4 */ lfs f1, 0xe4(r31) +/* 8035BFDC 00358F3C C0 1F 00 E8 */ lfs f0, 0xe8(r31) +/* 8035BFE0 00358F40 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8035BFE4 00358F44 40 80 00 0C */ bge lbl_8035BFF0 +/* 8035BFE8 00358F48 38 7F 00 E4 */ addi r3, r31, 0xe4 +/* 8035BFEC 00358F4C 48 00 00 08 */ b lbl_8035BFF4 +lbl_8035BFF0: +/* 8035BFF0 00358F50 38 7F 00 E8 */ addi r3, r31, 0xe8 +lbl_8035BFF4: +/* 8035BFF4 00358F54 C0 03 00 00 */ lfs f0, 0(r3) +/* 8035BFF8 00358F58 D0 1F 00 E8 */ stfs f0, 0xe8(r31) +lbl_8035BFFC: +/* 8035BFFC 00358F5C C0 22 CD 28 */ lfs f1, lbl_805AEA48@sda21(r2) +/* 8035C000 00358F60 C0 1F 00 38 */ lfs f0, 0x38(r31) +/* 8035C004 00358F64 C0 5F 00 DC */ lfs f2, 0xdc(r31) +/* 8035C008 00358F68 EF C1 00 24 */ fdivs f30, f1, f0 +/* 8035C00C 00358F6C C0 02 CD 24 */ lfs f0, lbl_805AEA44@sda21(r2) +/* 8035C010 00358F70 EF E2 E8 28 */ fsubs f31, f2, f29 +/* 8035C014 00358F74 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 8035C018 00358F78 4C 40 13 82 */ cror 2, 0, 2 +/* 8035C01C 00358F7C 40 82 00 A8 */ bne lbl_8035C0C4 +/* 8035C020 00358F80 88 7F 00 F4 */ lbz r3, 0xf4(r31) +/* 8035C024 00358F84 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f +/* 8035C028 00358F88 40 82 00 8C */ bne lbl_8035C0B4 +/* 8035C02C 00358F8C 80 7F 00 D0 */ lwz r3, 0xd0(r31) +/* 8035C030 00358F90 38 63 00 01 */ addi r3, r3, 1 +/* 8035C034 00358F94 90 7F 00 D0 */ stw r3, 0xd0(r31) +/* 8035C038 00358F98 80 1F 00 84 */ lwz r0, 0x84(r31) +/* 8035C03C 00358F9C 7C 03 00 00 */ cmpw r3, r0 +/* 8035C040 00358FA0 41 80 00 0C */ blt lbl_8035C04C +/* 8035C044 00358FA4 38 00 00 00 */ li r0, 0 +/* 8035C048 00358FA8 90 1F 00 D0 */ stw r0, 0xd0(r31) +lbl_8035C04C: +/* 8035C04C 00358FAC 48 02 56 15 */ bl OSDisableInterrupts +/* 8035C050 00358FB0 80 1F 00 D4 */ lwz r0, 0xd4(r31) +/* 8035C054 00358FB4 2C 00 FF FF */ cmpwi r0, -1 +/* 8035C058 00358FB8 40 82 00 0C */ bne lbl_8035C064 +/* 8035C05C 00358FBC 38 00 00 00 */ li r0, 0 +/* 8035C060 00358FC0 90 1F 00 D4 */ stw r0, 0xd4(r31) +lbl_8035C064: +/* 8035C064 00358FC4 48 02 56 25 */ bl OSRestoreInterrupts +/* 8035C068 00358FC8 80 7F 00 D8 */ lwz r3, 0xd8(r31) +/* 8035C06C 00358FCC 38 03 FF FF */ addi r0, r3, -1 +/* 8035C070 00358FD0 90 1F 00 D8 */ stw r0, 0xd8(r31) +/* 8035C074 00358FD4 80 7F 00 C8 */ lwz r3, 0xc8(r31) +/* 8035C078 00358FD8 38 03 00 01 */ addi r0, r3, 1 +/* 8035C07C 00358FDC 90 1F 00 C8 */ stw r0, 0xc8(r31) +/* 8035C080 00358FE0 80 7F 00 C8 */ lwz r3, 0xc8(r31) +/* 8035C084 00358FE4 80 1F 00 3C */ lwz r0, 0x3c(r31) +/* 8035C088 00358FE8 7C 03 00 40 */ cmplw r3, r0 +/* 8035C08C 00358FEC 40 82 00 18 */ bne lbl_8035C0A4 +/* 8035C090 00358FF0 88 1F 00 F4 */ lbz r0, 0xf4(r31) +/* 8035C094 00358FF4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8035C098 00358FF8 41 82 00 0C */ beq lbl_8035C0A4 +/* 8035C09C 00358FFC 38 00 00 00 */ li r0, 0 +/* 8035C0A0 00359000 90 1F 00 C8 */ stw r0, 0xc8(r31) +lbl_8035C0A4: +/* 8035C0A4 00359004 38 00 00 00 */ li r0, 0 +/* 8035C0A8 00359008 EF FF F0 2A */ fadds f31, f31, f30 +/* 8035C0AC 0035900C 90 1F 00 FC */ stw r0, 0xfc(r31) +/* 8035C0B0 00359010 48 00 00 14 */ b lbl_8035C0C4 +lbl_8035C0B4: +/* 8035C0B4 00359014 38 00 00 00 */ li r0, 0 +/* 8035C0B8 00359018 EF FF E8 2A */ fadds f31, f31, f29 +/* 8035C0BC 0035901C 50 03 26 F6 */ rlwimi r3, r0, 4, 0x1b, 0x1b +/* 8035C0C0 00359020 98 7F 00 F4 */ stb r3, 0xf4(r31) +lbl_8035C0C4: +/* 8035C0C4 00359024 D3 FF 00 DC */ stfs f31, 0xdc(r31) +lbl_8035C0C8: +/* 8035C0C8 00359028 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 +/* 8035C0CC 0035902C CB E1 00 40 */ lfd f31, 0x40(r1) +/* 8035C0D0 00359030 E3 C1 00 38 */ psq_l f30, 56(r1), 0, qr0 +/* 8035C0D4 00359034 CB C1 00 30 */ lfd f30, 0x30(r1) +/* 8035C0D8 00359038 E3 A1 00 28 */ psq_l f29, 40(r1), 0, qr0 +/* 8035C0DC 0035903C CB A1 00 20 */ lfd f29, 0x20(r1) +/* 8035C0E0 00359040 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8035C0E4 00359044 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8035C0E8 00359048 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8035C0EC 0035904C 7C 08 03 A6 */ mtlr r0 +/* 8035C0F0 00359050 38 21 00 50 */ addi r1, r1, 0x50 +/* 8035C0F4 00359054 4E 80 00 20 */ blr + +.global DecodeFromRead__12CMoviePlayerFPCv +DecodeFromRead__12CMoviePlayerFPCv: +/* 8035C0F8 00359058 94 21 EF B0 */ stwu r1, -0x1050(r1) +/* 8035C0FC 0035905C 7C 08 02 A6 */ mflr r0 +/* 8035C100 00359060 90 01 10 54 */ stw r0, 0x1054(r1) +/* 8035C104 00359064 38 A1 00 27 */ addi r5, r1, 0x27 +/* 8035C108 00359068 BF 01 10 30 */ stmw r24, 0x1030(r1) +/* 8035C10C 0035906C 7C 7F 1B 78 */ mr r31, r3 +/* 8035C110 00359070 7C 98 23 78 */ mr r24, r4 +/* 8035C114 00359074 54 BC 00 34 */ rlwinm r28, r5, 0, 0, 0x1a +/* 8035C118 00359078 80 03 00 84 */ lwz r0, 0x84(r3) +/* 8035C11C 0035907C 2C 00 00 00 */ cmpwi r0, 0 +/* 8035C120 00359080 40 82 00 08 */ bne lbl_8035C128 +/* 8035C124 00359084 48 00 03 81 */ bl InitializeTextures__12CMoviePlayerFv +lbl_8035C128: +/* 8035C128 00359088 80 9F 00 CC */ lwz r4, 0xcc(r31) +/* 8035C12C 0035908C 38 00 00 00 */ li r0, 0 +/* 8035C130 00359090 80 7F 00 58 */ lwz r3, 0x58(r31) +/* 8035C134 00359094 3B 78 00 08 */ addi r27, r24, 8 +/* 8035C138 00359098 1C 84 00 28 */ mulli r4, r4, 0x28 +/* 8035C13C 0035909C 80 BF 00 8C */ lwz r5, 0x8c(r31) +/* 8035C140 003590A0 54 63 10 3A */ slwi r3, r3, 2 +/* 8035C144 003590A4 3B 20 00 00 */ li r25, 0 +/* 8035C148 003590A8 7F A5 22 14 */ add r29, r5, r4 +/* 8035C14C 003590AC 3B 43 00 08 */ addi r26, r3, 8 +/* 8035C150 003590B0 90 1D 00 24 */ stw r0, 0x24(r29) +/* 8035C154 003590B4 7F 58 D2 14 */ add r26, r24, r26 +/* 8035C158 003590B8 3B 00 00 00 */ li r24, 0 +/* 8035C15C 003590BC 90 1D 00 20 */ stw r0, 0x20(r29) +/* 8035C160 003590C0 48 00 00 74 */ b lbl_8035C1D4 +lbl_8035C164: +/* 8035C164 003590C4 38 18 00 5C */ addi r0, r24, 0x5c +/* 8035C168 003590C8 7C 1F 00 AE */ lbzx r0, r31, r0 +/* 8035C16C 003590CC 28 00 00 00 */ cmplwi r0, 0 +/* 8035C170 003590D0 40 82 00 20 */ bne lbl_8035C190 +/* 8035C174 003590D4 80 9D 00 04 */ lwz r4, 4(r29) +/* 8035C178 003590D8 7F 43 D3 78 */ mr r3, r26 +/* 8035C17C 003590DC 80 BD 00 0C */ lwz r5, 0xc(r29) +/* 8035C180 003590E0 7F 87 E3 78 */ mr r7, r28 +/* 8035C184 003590E4 80 DD 00 14 */ lwz r6, 0x14(r29) +/* 8035C188 003590E8 48 06 59 D9 */ bl THPVideoDecode +/* 8035C18C 003590EC 48 00 00 34 */ b lbl_8035C1C0 +lbl_8035C190: +/* 8035C190 003590F0 28 00 00 01 */ cmplwi r0, 1 +/* 8035C194 003590F4 40 82 00 2C */ bne lbl_8035C1C0 +/* 8035C198 003590F8 80 7D 00 1C */ lwz r3, 0x1c(r29) +/* 8035C19C 003590FC 7F 44 D3 78 */ mr r4, r26 +/* 8035C1A0 00359100 38 A0 00 00 */ li r5, 0 +/* 8035C1A4 00359104 48 06 CF 25 */ bl THPAudioDecode +/* 8035C1A8 00359108 7C 7E 1B 78 */ mr r30, r3 +/* 8035C1AC 0035910C 48 02 54 B5 */ bl OSDisableInterrupts +/* 8035C1B0 00359110 93 DD 00 20 */ stw r30, 0x20(r29) +/* 8035C1B4 00359114 38 00 00 00 */ li r0, 0 +/* 8035C1B8 00359118 90 1D 00 24 */ stw r0, 0x24(r29) +/* 8035C1BC 0035911C 48 02 54 CD */ bl OSRestoreInterrupts +lbl_8035C1C0: +/* 8035C1C0 00359120 80 1B 00 00 */ lwz r0, 0(r27) +/* 8035C1C4 00359124 3B 7B 00 04 */ addi r27, r27, 4 +/* 8035C1C8 00359128 3B 18 00 01 */ addi r24, r24, 1 +/* 8035C1CC 0035912C 7F 39 02 14 */ add r25, r25, r0 +/* 8035C1D0 00359130 7F 5A 02 14 */ add r26, r26, r0 +lbl_8035C1D4: +/* 8035C1D4 00359134 80 1F 00 58 */ lwz r0, 0x58(r31) +/* 8035C1D8 00359138 7C 18 00 40 */ cmplw r24, r0 +/* 8035C1DC 0035913C 41 80 FF 88 */ blt lbl_8035C164 +/* 8035C1E0 00359140 80 7F 00 CC */ lwz r3, 0xcc(r31) +/* 8035C1E4 00359144 38 63 00 01 */ addi r3, r3, 1 +/* 8035C1E8 00359148 90 7F 00 CC */ stw r3, 0xcc(r31) +/* 8035C1EC 0035914C 80 1F 00 84 */ lwz r0, 0x84(r31) +/* 8035C1F0 00359150 7C 03 00 00 */ cmpw r3, r0 +/* 8035C1F4 00359154 40 82 00 0C */ bne lbl_8035C200 +/* 8035C1F8 00359158 38 00 00 00 */ li r0, 0 +/* 8035C1FC 0035915C 90 1F 00 CC */ stw r0, 0xcc(r31) +lbl_8035C200: +/* 8035C200 00359160 BB 01 10 30 */ lmw r24, 0x1030(r1) +/* 8035C204 00359164 80 01 10 54 */ lwz r0, 0x1054(r1) +/* 8035C208 00359168 7C 08 03 A6 */ mtlr r0 +/* 8035C20C 0035916C 38 21 10 50 */ addi r1, r1, 0x1050 +/* 8035C210 00359170 4E 80 00 20 */ blr + +.global ReadCompleted__12CMoviePlayerFv +ReadCompleted__12CMoviePlayerFv: +/* 8035C214 00359174 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8035C218 00359178 7C 08 02 A6 */ mflr r0 +/* 8035C21C 0035917C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8035C220 00359180 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8035C224 00359184 7C 7F 1B 78 */ mr r31, r3 +/* 8035C228 00359188 80 63 00 98 */ lwz r3, 0x98(r3) +/* 8035C22C 0035918C 28 03 00 00 */ cmplwi r3, 0 +/* 8035C230 00359190 41 82 00 18 */ beq lbl_8035C248 +/* 8035C234 00359194 81 83 00 00 */ lwz r12, 0(r3) +/* 8035C238 00359198 38 80 00 01 */ li r4, 1 +/* 8035C23C 0035919C 81 8C 00 08 */ lwz r12, 8(r12) +/* 8035C240 003591A0 7D 89 03 A6 */ mtctr r12 +/* 8035C244 003591A4 4E 80 04 21 */ bctrl +lbl_8035C248: +/* 8035C248 003591A8 38 00 00 00 */ li r0, 0 +/* 8035C24C 003591AC 90 1F 00 98 */ stw r0, 0x98(r31) +/* 8035C250 003591B0 80 7F 00 C0 */ lwz r3, 0xc0(r31) +/* 8035C254 003591B4 80 9F 00 A0 */ lwz r4, 0xa0(r31) +/* 8035C258 003591B8 7C 03 20 00 */ cmpw r3, r4 +/* 8035C25C 003591BC 40 82 00 7C */ bne lbl_8035C2D8 +/* 8035C260 003591C0 80 1F 00 F0 */ lwz r0, 0xf0(r31) +/* 8035C264 003591C4 7C 00 18 00 */ cmpw r0, r3 +/* 8035C268 003591C8 40 81 00 70 */ ble lbl_8035C2D8 +/* 8035C26C 003591CC 80 1F 00 A4 */ lwz r0, 0xa4(r31) +/* 8035C270 003591D0 7C 04 00 00 */ cmpw r4, r0 +/* 8035C274 003591D4 41 80 00 1C */ blt lbl_8035C290 +/* 8035C278 003591D8 2C 00 00 00 */ cmpwi r0, 0 +/* 8035C27C 003591DC 38 7F 00 9C */ addi r3, r31, 0x9c +/* 8035C280 003591E0 38 80 00 04 */ li r4, 4 +/* 8035C284 003591E4 41 82 00 08 */ beq lbl_8035C28C +/* 8035C288 003591E8 54 04 08 3C */ slwi r4, r0, 1 +lbl_8035C28C: +/* 8035C28C 003591EC 48 00 17 7D */ bl "reserve__Q24rstl56vector,Q24rstl17rmemory_allocator>Fi" +lbl_8035C290: +/* 8035C290 003591F0 80 1F 00 A0 */ lwz r0, 0xa0(r31) +/* 8035C294 003591F4 80 7F 00 A8 */ lwz r3, 0xa8(r31) +/* 8035C298 003591F8 54 00 18 38 */ slwi r0, r0, 3 +/* 8035C29C 003591FC 7C 83 02 15 */ add. r4, r3, r0 +/* 8035C2A0 00359200 41 82 00 1C */ beq lbl_8035C2BC +/* 8035C2A4 00359204 88 7F 00 90 */ lbz r3, 0x90(r31) +/* 8035C2A8 00359208 38 00 00 00 */ li r0, 0 +/* 8035C2AC 0035920C 98 64 00 00 */ stb r3, 0(r4) +/* 8035C2B0 00359210 80 7F 00 94 */ lwz r3, 0x94(r31) +/* 8035C2B4 00359214 90 64 00 04 */ stw r3, 4(r4) +/* 8035C2B8 00359218 98 1F 00 90 */ stb r0, 0x90(r31) +lbl_8035C2BC: +/* 8035C2BC 0035921C 80 7F 00 A0 */ lwz r3, 0xa0(r31) +/* 8035C2C0 00359220 38 03 00 01 */ addi r0, r3, 1 +/* 8035C2C4 00359224 90 1F 00 A0 */ stw r0, 0xa0(r31) +/* 8035C2C8 00359228 80 7F 00 F8 */ lwz r3, 0xf8(r31) +/* 8035C2CC 0035922C 80 1F 00 B0 */ lwz r0, 0xb0(r31) +/* 8035C2D0 00359230 7C 03 02 14 */ add r0, r3, r0 +/* 8035C2D4 00359234 90 1F 00 F8 */ stw r0, 0xf8(r31) +lbl_8035C2D8: +/* 8035C2D8 00359238 80 7F 00 B4 */ lwz r3, 0xb4(r31) +/* 8035C2DC 0035923C 80 1F 00 B0 */ lwz r0, 0xb0(r31) +/* 8035C2E0 00359240 7C 03 02 14 */ add r0, r3, r0 +/* 8035C2E4 00359244 90 1F 00 B4 */ stw r0, 0xb4(r31) +/* 8035C2E8 00359248 80 7F 00 94 */ lwz r3, 0x94(r31) +/* 8035C2EC 0035924C 80 03 00 00 */ lwz r0, 0(r3) +/* 8035C2F0 00359250 90 1F 00 B0 */ stw r0, 0xb0(r31) +/* 8035C2F4 00359254 80 7F 00 C0 */ lwz r3, 0xc0(r31) +/* 8035C2F8 00359258 38 03 00 01 */ addi r0, r3, 1 +/* 8035C2FC 0035925C 90 1F 00 C0 */ stw r0, 0xc0(r31) +/* 8035C300 00359260 80 7F 00 C0 */ lwz r3, 0xc0(r31) +/* 8035C304 00359264 80 1F 00 F0 */ lwz r0, 0xf0(r31) +/* 8035C308 00359268 7C 03 00 00 */ cmpw r3, r0 +/* 8035C30C 0035926C 40 82 00 34 */ bne lbl_8035C340 +/* 8035C310 00359270 80 1F 00 3C */ lwz r0, 0x3c(r31) +/* 8035C314 00359274 7C 03 00 40 */ cmplw r3, r0 +/* 8035C318 00359278 40 82 00 18 */ bne lbl_8035C330 +/* 8035C31C 0035927C 80 1F 00 40 */ lwz r0, 0x40(r31) +/* 8035C320 00359280 90 1F 00 B8 */ stw r0, 0xb8(r31) +/* 8035C324 00359284 80 1F 00 50 */ lwz r0, 0x50(r31) +/* 8035C328 00359288 90 1F 00 BC */ stw r0, 0xbc(r31) +/* 8035C32C 0035928C 48 00 00 14 */ b lbl_8035C340 +lbl_8035C330: +/* 8035C330 00359290 80 1F 00 B0 */ lwz r0, 0xb0(r31) +/* 8035C334 00359294 90 1F 00 B8 */ stw r0, 0xb8(r31) +/* 8035C338 00359298 80 1F 00 B4 */ lwz r0, 0xb4(r31) +/* 8035C33C 0035929C 90 1F 00 BC */ stw r0, 0xbc(r31) +lbl_8035C340: +/* 8035C340 003592A0 80 7F 00 C0 */ lwz r3, 0xc0(r31) +/* 8035C344 003592A4 80 1F 00 3C */ lwz r0, 0x3c(r31) +/* 8035C348 003592A8 7C 03 00 40 */ cmplw r3, r0 +/* 8035C34C 003592AC 41 80 00 28 */ blt lbl_8035C374 +/* 8035C350 003592B0 88 1F 00 F4 */ lbz r0, 0xf4(r31) +/* 8035C354 003592B4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8035C358 003592B8 41 82 00 1C */ beq lbl_8035C374 +/* 8035C35C 003592BC 80 1F 00 BC */ lwz r0, 0xbc(r31) +/* 8035C360 003592C0 90 1F 00 B4 */ stw r0, 0xb4(r31) +/* 8035C364 003592C4 80 1F 00 B8 */ lwz r0, 0xb8(r31) +/* 8035C368 003592C8 90 1F 00 B0 */ stw r0, 0xb0(r31) +/* 8035C36C 003592CC 80 1F 00 F0 */ lwz r0, 0xf0(r31) +/* 8035C370 003592D0 90 1F 00 C0 */ stw r0, 0xc0(r31) +lbl_8035C374: +/* 8035C374 003592D4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8035C378 003592D8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8035C37C 003592DC 7C 08 03 A6 */ mtlr r0 +/* 8035C380 003592E0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8035C384 003592E4 4E 80 00 20 */ blr + +.global PostDVDReadRequestIfNeeded__12CMoviePlayerFv +PostDVDReadRequestIfNeeded__12CMoviePlayerFv: +/* 8035C388 003592E8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8035C38C 003592EC 7C 08 02 A6 */ mflr r0 +/* 8035C390 003592F0 90 01 00 24 */ stw r0, 0x24(r1) +/* 8035C394 003592F4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8035C398 003592F8 7C 7F 1B 78 */ mr r31, r3 +/* 8035C39C 003592FC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8035C3A0 00359300 80 63 00 C0 */ lwz r3, 0xc0(r3) +/* 8035C3A4 00359304 80 1F 00 3C */ lwz r0, 0x3c(r31) +/* 8035C3A8 00359308 7C 03 00 40 */ cmplw r3, r0 +/* 8035C3AC 0035930C 40 80 00 E0 */ bge lbl_8035C48C +/* 8035C3B0 00359310 3C 60 80 3E */ lis r3, lbl_803D83D8@ha +/* 8035C3B4 00359314 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha +/* 8035C3B8 00359318 38 A3 83 D8 */ addi r5, r3, lbl_803D83D8@l +/* 8035C3BC 0035931C 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l +/* 8035C3C0 00359320 38 61 00 10 */ addi r3, r1, 0x10 +/* 8035C3C4 00359324 38 80 FF FF */ li r4, -1 +/* 8035C3C8 00359328 4B F7 A0 0D */ bl __ct__10CCallStackFUiPCcPCc +/* 8035C3CC 0035932C 7C 67 1B 78 */ mr r7, r3 +/* 8035C3D0 00359330 80 7F 00 B0 */ lwz r3, 0xb0(r31) +/* 8035C3D4 00359334 38 80 00 02 */ li r4, 2 +/* 8035C3D8 00359338 38 A0 00 01 */ li r5, 1 +/* 8035C3DC 0035933C 38 C0 00 00 */ li r6, 0 +/* 8035C3E0 00359340 4B FB 95 B5 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 8035C3E4 00359344 7C 03 00 D0 */ neg r0, r3 +/* 8035C3E8 00359348 38 81 00 08 */ addi r4, r1, 8 +/* 8035C3EC 0035934C 7C 05 1B 78 */ or r5, r0, r3 +/* 8035C3F0 00359350 38 1F 00 90 */ addi r0, r31, 0x90 +/* 8035C3F4 00359354 54 A5 0F FE */ srwi r5, r5, 0x1f +/* 8035C3F8 00359358 90 61 00 0C */ stw r3, 0xc(r1) +/* 8035C3FC 0035935C 7C 04 00 40 */ cmplw r4, r0 +/* 8035C400 00359360 98 A1 00 08 */ stb r5, 8(r1) +/* 8035C404 00359364 41 82 00 30 */ beq lbl_8035C434 +/* 8035C408 00359368 88 1F 00 90 */ lbz r0, 0x90(r31) +/* 8035C40C 0035936C 28 00 00 00 */ cmplwi r0, 0 +/* 8035C410 00359370 41 82 00 0C */ beq lbl_8035C41C +/* 8035C414 00359374 80 7F 00 94 */ lwz r3, 0x94(r31) +/* 8035C418 00359378 4B FB 95 19 */ bl Free__7CMemoryFPCv +lbl_8035C41C: +/* 8035C41C 0035937C 88 61 00 08 */ lbz r3, 8(r1) +/* 8035C420 00359380 38 00 00 00 */ li r0, 0 +/* 8035C424 00359384 98 7F 00 90 */ stb r3, 0x90(r31) +/* 8035C428 00359388 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8035C42C 0035938C 90 7F 00 94 */ stw r3, 0x94(r31) +/* 8035C430 00359390 98 01 00 08 */ stb r0, 8(r1) +lbl_8035C434: +/* 8035C434 00359394 88 01 00 08 */ lbz r0, 8(r1) +/* 8035C438 00359398 28 00 00 00 */ cmplwi r0, 0 +/* 8035C43C 0035939C 41 82 00 0C */ beq lbl_8035C448 +/* 8035C440 003593A0 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8035C444 003593A4 4B FB 94 ED */ bl Free__7CMemoryFPCv +lbl_8035C448: +/* 8035C448 003593A8 80 9F 00 94 */ lwz r4, 0x94(r31) +/* 8035C44C 003593AC 7F E3 FB 78 */ mr r3, r31 +/* 8035C450 003593B0 80 BF 00 B0 */ lwz r5, 0xb0(r31) +/* 8035C454 003593B4 38 C0 00 00 */ li r6, 0 +/* 8035C458 003593B8 80 FF 00 B4 */ lwz r7, 0xb4(r31) +/* 8035C45C 003593BC 4B FF 35 65 */ bl AsyncSeekRead__8CDvdFileFPvUi11ESeekOrigini +/* 8035C460 003593C0 80 1F 00 98 */ lwz r0, 0x98(r31) +/* 8035C464 003593C4 7C 7E 1B 78 */ mr r30, r3 +/* 8035C468 003593C8 28 00 00 00 */ cmplwi r0, 0 +/* 8035C46C 003593CC 41 82 00 1C */ beq lbl_8035C488 +/* 8035C470 003593D0 7C 03 03 78 */ mr r3, r0 +/* 8035C474 003593D4 38 80 00 01 */ li r4, 1 +/* 8035C478 003593D8 81 83 00 00 */ lwz r12, 0(r3) +/* 8035C47C 003593DC 81 8C 00 08 */ lwz r12, 8(r12) +/* 8035C480 003593E0 7D 89 03 A6 */ mtctr r12 +/* 8035C484 003593E4 4E 80 04 21 */ bctrl +lbl_8035C488: +/* 8035C488 003593E8 93 DF 00 98 */ stw r30, 0x98(r31) +lbl_8035C48C: +/* 8035C48C 003593EC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8035C490 003593F0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8035C494 003593F4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8035C498 003593F8 7C 08 03 A6 */ mtlr r0 +/* 8035C49C 003593FC 38 21 00 20 */ addi r1, r1, 0x20 +/* 8035C4A0 00359400 4E 80 00 20 */ blr + +.global InitializeTextures__12CMoviePlayerFv +InitializeTextures__12CMoviePlayerFv: +/* 8035C4A4 00359404 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 8035C4A8 00359408 7C 08 02 A6 */ mflr r0 +/* 8035C4AC 0035940C 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 8035C4B0 00359410 BD C1 00 58 */ stmw r14, 0x58(r1) +/* 8035C4B4 00359414 7C 7B 1B 78 */ mr r27, r3 +/* 8035C4B8 00359418 3C 60 80 3E */ lis r3, lbl_803D83D8@ha +/* 8035C4BC 0035941C 39 C1 00 30 */ addi r14, r1, 0x30 +/* 8035C4C0 00359420 3B 03 83 D8 */ addi r24, r3, lbl_803D83D8@l +/* 8035C4C4 00359424 39 E1 00 38 */ addi r15, r1, 0x38 +/* 8035C4C8 00359428 3C 60 80 3D */ lis r3, lbl_803D6AA8@ha +/* 8035C4CC 0035942C 3A 01 00 40 */ addi r16, r1, 0x40 +/* 8035C4D0 00359430 3B 23 6A A8 */ addi r25, r3, lbl_803D6AA8@l +/* 8035C4D4 00359434 7F 1A C3 78 */ mr r26, r24 +/* 8035C4D8 00359438 7F 37 CB 78 */ mr r23, r25 +/* 8035C4DC 0035943C 7F 15 C3 78 */ mr r21, r24 +/* 8035C4E0 00359440 7F 33 CB 78 */ mr r19, r25 +/* 8035C4E4 00359444 3B 80 00 00 */ li r28, 0 +/* 8035C4E8 00359448 80 BB 00 6C */ lwz r5, 0x6c(r27) +/* 8035C4EC 0035944C 80 9B 00 70 */ lwz r4, 0x70(r27) +/* 8035C4F0 00359450 80 1B 00 34 */ lwz r0, 0x34(r27) +/* 8035C4F4 00359454 7C 65 21 D6 */ mullw r3, r5, r4 +/* 8035C4F8 00359458 54 1D 10 3A */ slwi r29, r0, 2 +/* 8035C4FC 0035945C 38 83 00 1F */ addi r4, r3, 0x1f +/* 8035C500 00359460 54 63 F0 BE */ srwi r3, r3, 2 +/* 8035C504 00359464 54 84 00 34 */ rlwinm r4, r4, 0, 0, 0x1a +/* 8035C508 00359468 38 63 00 1F */ addi r3, r3, 0x1f +/* 8035C50C 0035946C 7C 9F 23 78 */ mr r31, r4 +/* 8035C510 00359470 54 7E 00 34 */ rlwinm r30, r3, 0, 0, 0x1a +/* 8035C514 00359474 48 00 02 6C */ b lbl_8035C780 +lbl_8035C518: +/* 8035C518 00359478 7F 05 C3 78 */ mr r5, r24 +/* 8035C51C 0035947C 7F 26 CB 78 */ mr r6, r25 +/* 8035C520 00359480 38 61 00 20 */ addi r3, r1, 0x20 +/* 8035C524 00359484 38 80 FF FF */ li r4, -1 +/* 8035C528 00359488 4B F7 9E AD */ bl __ct__10CCallStackFUiPCcPCc +/* 8035C52C 0035948C 7C 67 1B 78 */ mr r7, r3 +/* 8035C530 00359490 7F E3 FB 78 */ mr r3, r31 +/* 8035C534 00359494 38 80 00 02 */ li r4, 2 +/* 8035C538 00359498 38 A0 00 01 */ li r5, 1 +/* 8035C53C 0035949C 38 C0 00 00 */ li r6, 0 +/* 8035C540 003594A0 4B FB 94 55 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 8035C544 003594A4 7C 76 1B 78 */ mr r22, r3 +/* 8035C548 003594A8 7F 05 C3 78 */ mr r5, r24 +/* 8035C54C 003594AC 7F 26 CB 78 */ mr r6, r25 +/* 8035C550 003594B0 38 61 00 18 */ addi r3, r1, 0x18 +/* 8035C554 003594B4 38 80 FF FF */ li r4, -1 +/* 8035C558 003594B8 4B F7 9E 7D */ bl __ct__10CCallStackFUiPCcPCc +/* 8035C55C 003594BC 7C 67 1B 78 */ mr r7, r3 +/* 8035C560 003594C0 7F C3 F3 78 */ mr r3, r30 +/* 8035C564 003594C4 38 80 00 02 */ li r4, 2 +/* 8035C568 003594C8 38 A0 00 01 */ li r5, 1 +/* 8035C56C 003594CC 38 C0 00 00 */ li r6, 0 +/* 8035C570 003594D0 4B FB 94 25 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 8035C574 003594D4 7C 74 1B 78 */ mr r20, r3 +/* 8035C578 003594D8 7F 45 D3 78 */ mr r5, r26 +/* 8035C57C 003594DC 7E E6 BB 78 */ mr r6, r23 +/* 8035C580 003594E0 38 61 00 10 */ addi r3, r1, 0x10 +/* 8035C584 003594E4 38 80 FF FF */ li r4, -1 +/* 8035C588 003594E8 4B F7 9E 4D */ bl __ct__10CCallStackFUiPCcPCc +/* 8035C58C 003594EC 7C 67 1B 78 */ mr r7, r3 +/* 8035C590 003594F0 7F C3 F3 78 */ mr r3, r30 +/* 8035C594 003594F4 38 80 00 02 */ li r4, 2 +/* 8035C598 003594F8 38 A0 00 01 */ li r5, 1 +/* 8035C59C 003594FC 38 C0 00 00 */ li r6, 0 +/* 8035C5A0 00359500 4B FB 93 F5 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 8035C5A4 00359504 7C 72 1B 78 */ mr r18, r3 +/* 8035C5A8 00359508 7E A5 AB 78 */ mr r5, r21 +/* 8035C5AC 0035950C 7E 66 9B 78 */ mr r6, r19 +/* 8035C5B0 00359510 38 61 00 08 */ addi r3, r1, 8 +/* 8035C5B4 00359514 38 80 FF FF */ li r4, -1 +/* 8035C5B8 00359518 4B F7 9E 1D */ bl __ct__10CCallStackFUiPCcPCc +/* 8035C5BC 0035951C 7C 67 1B 78 */ mr r7, r3 +/* 8035C5C0 00359520 7F A3 EB 78 */ mr r3, r29 +/* 8035C5C4 00359524 38 80 00 02 */ li r4, 2 +/* 8035C5C8 00359528 38 A0 00 01 */ li r5, 1 +/* 8035C5CC 0035952C 38 C0 00 00 */ li r6, 0 +/* 8035C5D0 00359530 4B FB 93 C5 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 8035C5D4 00359534 7C 60 1B 78 */ mr r0, r3 +/* 8035C5D8 00359538 7E C3 B3 78 */ mr r3, r22 +/* 8035C5DC 0035953C 7C 11 03 78 */ mr r17, r0 +/* 8035C5E0 00359540 7F E4 FB 78 */ mr r4, r31 +/* 8035C5E4 00359544 48 02 25 2D */ bl DCFlushRangeNoSync +/* 8035C5E8 00359548 7E 83 A3 78 */ mr r3, r20 +/* 8035C5EC 0035954C 7F C4 F3 78 */ mr r4, r30 +/* 8035C5F0 00359550 48 02 25 21 */ bl DCFlushRangeNoSync +/* 8035C5F4 00359554 7E 43 93 78 */ mr r3, r18 +/* 8035C5F8 00359558 7F C4 F3 78 */ mr r4, r30 +/* 8035C5FC 0035955C 48 02 25 15 */ bl DCFlushRangeNoSync +/* 8035C600 00359560 7E 23 8B 78 */ mr r3, r17 +/* 8035C604 00359564 7F A4 EB 78 */ mr r4, r29 +/* 8035C608 00359568 48 02 25 09 */ bl DCFlushRangeNoSync +/* 8035C60C 0035956C 7C D6 00 D0 */ neg r6, r22 +/* 8035C610 00359570 7C B4 00 D0 */ neg r5, r20 +/* 8035C614 00359574 7C 92 00 D0 */ neg r4, r18 +/* 8035C618 00359578 7C 71 00 D0 */ neg r3, r17 +/* 8035C61C 0035957C 38 00 00 00 */ li r0, 0 +/* 8035C620 00359580 7C C6 B3 78 */ or r6, r6, r22 +/* 8035C624 00359584 7C A5 A3 78 */ or r5, r5, r20 +/* 8035C628 00359588 7C 84 93 78 */ or r4, r4, r18 +/* 8035C62C 0035958C 7C 63 8B 78 */ or r3, r3, r17 +/* 8035C630 00359590 54 C6 0F FE */ srwi r6, r6, 0x1f +/* 8035C634 00359594 54 A5 0F FE */ srwi r5, r5, 0x1f +/* 8035C638 00359598 54 84 0F FE */ srwi r4, r4, 0x1f +/* 8035C63C 0035959C 54 63 0F FE */ srwi r3, r3, 0x1f +/* 8035C640 003595A0 98 C1 00 28 */ stb r6, 0x28(r1) +/* 8035C644 003595A4 92 C1 00 2C */ stw r22, 0x2c(r1) +/* 8035C648 003595A8 98 A1 00 30 */ stb r5, 0x30(r1) +/* 8035C64C 003595AC 92 81 00 34 */ stw r20, 0x34(r1) +/* 8035C650 003595B0 98 81 00 38 */ stb r4, 0x38(r1) +/* 8035C654 003595B4 92 41 00 3C */ stw r18, 0x3c(r1) +/* 8035C658 003595B8 98 61 00 40 */ stb r3, 0x40(r1) +/* 8035C65C 003595BC 92 21 00 44 */ stw r17, 0x44(r1) +/* 8035C660 003595C0 90 01 00 48 */ stw r0, 0x48(r1) +/* 8035C664 003595C4 90 01 00 4C */ stw r0, 0x4c(r1) +/* 8035C668 003595C8 80 1B 00 84 */ lwz r0, 0x84(r27) +/* 8035C66C 003595CC 80 BB 00 88 */ lwz r5, 0x88(r27) +/* 8035C670 003595D0 7C 00 28 00 */ cmpw r0, r5 +/* 8035C674 003595D4 41 80 00 1C */ blt lbl_8035C690 +/* 8035C678 003595D8 2C 05 00 00 */ cmpwi r5, 0 +/* 8035C67C 003595DC 38 7B 00 80 */ addi r3, r27, 0x80 +/* 8035C680 003595E0 38 80 00 04 */ li r4, 4 +/* 8035C684 003595E4 41 82 00 08 */ beq lbl_8035C68C +/* 8035C688 003595E8 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8035C68C: +/* 8035C68C 003595EC 48 00 11 A9 */ bl "reserve__Q24rstl67vectorFi" +lbl_8035C690: +/* 8035C690 003595F0 80 1B 00 84 */ lwz r0, 0x84(r27) +/* 8035C694 003595F4 80 7B 00 8C */ lwz r3, 0x8c(r27) +/* 8035C698 003595F8 1C 00 00 28 */ mulli r0, r0, 0x28 +/* 8035C69C 003595FC 7C 63 02 15 */ add. r3, r3, r0 +/* 8035C6A0 00359600 41 82 00 68 */ beq lbl_8035C708 +/* 8035C6A4 00359604 88 01 00 28 */ lbz r0, 0x28(r1) +/* 8035C6A8 00359608 38 80 00 00 */ li r4, 0 +/* 8035C6AC 0035960C 98 03 00 00 */ stb r0, 0(r3) +/* 8035C6B0 00359610 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 8035C6B4 00359614 90 03 00 04 */ stw r0, 4(r3) +/* 8035C6B8 00359618 98 81 00 28 */ stb r4, 0x28(r1) +/* 8035C6BC 0035961C 88 01 00 30 */ lbz r0, 0x30(r1) +/* 8035C6C0 00359620 98 03 00 08 */ stb r0, 8(r3) +/* 8035C6C4 00359624 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8035C6C8 00359628 90 03 00 0C */ stw r0, 0xc(r3) +/* 8035C6CC 0035962C 98 81 00 30 */ stb r4, 0x30(r1) +/* 8035C6D0 00359630 88 01 00 38 */ lbz r0, 0x38(r1) +/* 8035C6D4 00359634 98 03 00 10 */ stb r0, 0x10(r3) +/* 8035C6D8 00359638 80 01 00 3C */ lwz r0, 0x3c(r1) +/* 8035C6DC 0035963C 90 03 00 14 */ stw r0, 0x14(r3) +/* 8035C6E0 00359640 98 81 00 38 */ stb r4, 0x38(r1) +/* 8035C6E4 00359644 88 01 00 40 */ lbz r0, 0x40(r1) +/* 8035C6E8 00359648 98 03 00 18 */ stb r0, 0x18(r3) +/* 8035C6EC 0035964C 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8035C6F0 00359650 90 03 00 1C */ stw r0, 0x1c(r3) +/* 8035C6F4 00359654 98 81 00 40 */ stb r4, 0x40(r1) +/* 8035C6F8 00359658 80 01 00 48 */ lwz r0, 0x48(r1) +/* 8035C6FC 0035965C 90 03 00 20 */ stw r0, 0x20(r3) +/* 8035C700 00359660 80 01 00 4C */ lwz r0, 0x4c(r1) +/* 8035C704 00359664 90 03 00 24 */ stw r0, 0x24(r3) +lbl_8035C708: +/* 8035C708 00359668 80 7B 00 84 */ lwz r3, 0x84(r27) +/* 8035C70C 0035966C 28 10 00 00 */ cmplwi r16, 0 +/* 8035C710 00359670 38 03 00 01 */ addi r0, r3, 1 +/* 8035C714 00359674 90 1B 00 84 */ stw r0, 0x84(r27) +/* 8035C718 00359678 41 82 00 18 */ beq lbl_8035C730 +/* 8035C71C 0035967C 88 01 00 40 */ lbz r0, 0x40(r1) +/* 8035C720 00359680 28 00 00 00 */ cmplwi r0, 0 +/* 8035C724 00359684 41 82 00 0C */ beq lbl_8035C730 +/* 8035C728 00359688 80 61 00 44 */ lwz r3, 0x44(r1) +/* 8035C72C 0035968C 4B FB 92 05 */ bl Free__7CMemoryFPCv +lbl_8035C730: +/* 8035C730 00359690 28 0F 00 00 */ cmplwi r15, 0 +/* 8035C734 00359694 41 82 00 18 */ beq lbl_8035C74C +/* 8035C738 00359698 88 01 00 38 */ lbz r0, 0x38(r1) +/* 8035C73C 0035969C 28 00 00 00 */ cmplwi r0, 0 +/* 8035C740 003596A0 41 82 00 0C */ beq lbl_8035C74C +/* 8035C744 003596A4 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 8035C748 003596A8 4B FB 91 E9 */ bl Free__7CMemoryFPCv +lbl_8035C74C: +/* 8035C74C 003596AC 28 0E 00 00 */ cmplwi r14, 0 +/* 8035C750 003596B0 41 82 00 18 */ beq lbl_8035C768 +/* 8035C754 003596B4 88 01 00 30 */ lbz r0, 0x30(r1) +/* 8035C758 003596B8 28 00 00 00 */ cmplwi r0, 0 +/* 8035C75C 003596BC 41 82 00 0C */ beq lbl_8035C768 +/* 8035C760 003596C0 80 61 00 34 */ lwz r3, 0x34(r1) +/* 8035C764 003596C4 4B FB 91 CD */ bl Free__7CMemoryFPCv +lbl_8035C768: +/* 8035C768 003596C8 88 01 00 28 */ lbz r0, 0x28(r1) +/* 8035C76C 003596CC 28 00 00 00 */ cmplwi r0, 0 +/* 8035C770 003596D0 41 82 00 0C */ beq lbl_8035C77C +/* 8035C774 003596D4 80 61 00 2C */ lwz r3, 0x2c(r1) +/* 8035C778 003596D8 4B FB 91 B9 */ bl Free__7CMemoryFPCv +lbl_8035C77C: +/* 8035C77C 003596DC 3B 9C 00 01 */ addi r28, r28, 1 +lbl_8035C780: +/* 8035C780 003596E0 80 1B 00 88 */ lwz r0, 0x88(r27) +/* 8035C784 003596E4 7C 1C 00 00 */ cmpw r28, r0 +/* 8035C788 003596E8 41 80 FD 90 */ blt lbl_8035C518 +/* 8035C78C 003596EC 48 01 30 81 */ bl PPCSync +/* 8035C790 003596F0 38 60 00 00 */ li r3, 0 +/* 8035C794 003596F4 38 00 FF FF */ li r0, -1 +/* 8035C798 003596F8 90 7B 00 CC */ stw r3, 0xcc(r27) +/* 8035C79C 003596FC 90 1B 00 D0 */ stw r0, 0xd0(r27) +/* 8035C7A0 00359700 90 1B 00 D4 */ stw r0, 0xd4(r27) +/* 8035C7A4 00359704 B9 C1 00 58 */ lmw r14, 0x58(r1) +/* 8035C7A8 00359708 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 8035C7AC 0035970C 7C 08 03 A6 */ mtlr r0 +/* 8035C7B0 00359710 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 8035C7B4 00359714 4E 80 00 20 */ blr + +.global __dt__12CMoviePlayerFv +__dt__12CMoviePlayerFv: +/* 8035C7B8 00359718 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8035C7BC 0035971C 7C 08 02 A6 */ mflr r0 +/* 8035C7C0 00359720 90 01 00 24 */ stw r0, 0x24(r1) +/* 8035C7C4 00359724 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8035C7C8 00359728 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8035C7CC 0035972C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8035C7D0 00359730 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8035C7D4 00359734 7C 9D 23 78 */ mr r29, r4 +/* 8035C7D8 00359738 41 82 01 44 */ beq lbl_8035C91C +/* 8035C7DC 0035973C 80 6D AA A0 */ lwz r3, lbl_805A9660@sda21(r13) +/* 8035C7E0 00359740 38 03 FF FF */ addi r0, r3, -1 +/* 8035C7E4 00359744 90 0D AA A0 */ stw r0, lbl_805A9660@sda21(r13) +/* 8035C7E8 00359748 4B FF EE 45 */ bl VerifyCallbackStatus__12CMoviePlayerFv +/* 8035C7EC 0035974C 80 0D AA A4 */ lwz r0, lbl_805A9664@sda21(r13) +/* 8035C7F0 00359750 7C 00 F8 40 */ cmplw r0, r31 +/* 8035C7F4 00359754 40 82 00 0C */ bne lbl_8035C800 +/* 8035C7F8 00359758 38 00 00 00 */ li r0, 0 +/* 8035C7FC 0035975C 90 0D AA A4 */ stw r0, lbl_805A9664@sda21(r13) +lbl_8035C800: +/* 8035C800 00359760 34 1F 00 AC */ addic. r0, r31, 0xac +/* 8035C804 00359764 41 82 00 A0 */ beq lbl_8035C8A4 +/* 8035C808 00359768 83 DF 00 AC */ lwz r30, 0xac(r31) +/* 8035C80C 0035976C 28 1E 00 00 */ cmplwi r30, 0 +/* 8035C810 00359770 41 82 00 94 */ beq lbl_8035C8A4 +/* 8035C814 00359774 34 1E 00 0C */ addic. r0, r30, 0xc +/* 8035C818 00359778 41 82 00 0C */ beq lbl_8035C824 +/* 8035C81C 0035977C 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8035C820 00359780 4B FB 91 11 */ bl Free__7CMemoryFPCv +lbl_8035C824: +/* 8035C824 00359784 34 1E 00 08 */ addic. r0, r30, 8 +/* 8035C828 00359788 41 82 00 24 */ beq lbl_8035C84C +/* 8035C82C 0035978C 80 7E 00 08 */ lwz r3, 8(r30) +/* 8035C830 00359790 28 03 00 00 */ cmplwi r3, 0 +/* 8035C834 00359794 41 82 00 18 */ beq lbl_8035C84C +/* 8035C838 00359798 81 83 00 00 */ lwz r12, 0(r3) +/* 8035C83C 0035979C 38 80 00 01 */ li r4, 1 +/* 8035C840 003597A0 81 8C 00 08 */ lwz r12, 8(r12) +/* 8035C844 003597A4 7D 89 03 A6 */ mtctr r12 +/* 8035C848 003597A8 4E 80 04 21 */ bctrl +lbl_8035C84C: +/* 8035C84C 003597AC 34 1E 00 04 */ addic. r0, r30, 4 +/* 8035C850 003597B0 41 82 00 24 */ beq lbl_8035C874 +/* 8035C854 003597B4 80 7E 00 04 */ lwz r3, 4(r30) +/* 8035C858 003597B8 28 03 00 00 */ cmplwi r3, 0 +/* 8035C85C 003597BC 41 82 00 18 */ beq lbl_8035C874 +/* 8035C860 003597C0 81 83 00 00 */ lwz r12, 0(r3) +/* 8035C864 003597C4 38 80 00 01 */ li r4, 1 +/* 8035C868 003597C8 81 8C 00 08 */ lwz r12, 8(r12) +/* 8035C86C 003597CC 7D 89 03 A6 */ mtctr r12 +/* 8035C870 003597D0 4E 80 04 21 */ bctrl +lbl_8035C874: +/* 8035C874 003597D4 28 1E 00 00 */ cmplwi r30, 0 +/* 8035C878 003597D8 41 82 00 24 */ beq lbl_8035C89C +/* 8035C87C 003597DC 80 7E 00 00 */ lwz r3, 0(r30) +/* 8035C880 003597E0 28 03 00 00 */ cmplwi r3, 0 +/* 8035C884 003597E4 41 82 00 18 */ beq lbl_8035C89C +/* 8035C888 003597E8 81 83 00 00 */ lwz r12, 0(r3) +/* 8035C88C 003597EC 38 80 00 01 */ li r4, 1 +/* 8035C890 003597F0 81 8C 00 08 */ lwz r12, 8(r12) +/* 8035C894 003597F4 7D 89 03 A6 */ mtctr r12 +/* 8035C898 003597F8 4E 80 04 21 */ bctrl +lbl_8035C89C: +/* 8035C89C 003597FC 7F C3 F3 78 */ mr r3, r30 +/* 8035C8A0 00359800 4B FB 90 91 */ bl Free__7CMemoryFPCv +lbl_8035C8A4: +/* 8035C8A4 00359804 38 7F 00 9C */ addi r3, r31, 0x9c +/* 8035C8A8 00359808 38 80 FF FF */ li r4, -1 +/* 8035C8AC 0035980C 48 00 01 1D */ bl "__dt__Q24rstl56vector,Q24rstl17rmemory_allocator>Fv" +/* 8035C8B0 00359810 34 1F 00 98 */ addic. r0, r31, 0x98 +/* 8035C8B4 00359814 41 82 00 24 */ beq lbl_8035C8D8 +/* 8035C8B8 00359818 80 7F 00 98 */ lwz r3, 0x98(r31) +/* 8035C8BC 0035981C 28 03 00 00 */ cmplwi r3, 0 +/* 8035C8C0 00359820 41 82 00 18 */ beq lbl_8035C8D8 +/* 8035C8C4 00359824 81 83 00 00 */ lwz r12, 0(r3) +/* 8035C8C8 00359828 38 80 00 01 */ li r4, 1 +/* 8035C8CC 0035982C 81 8C 00 08 */ lwz r12, 8(r12) +/* 8035C8D0 00359830 7D 89 03 A6 */ mtctr r12 +/* 8035C8D4 00359834 4E 80 04 21 */ bctrl +lbl_8035C8D8: +/* 8035C8D8 00359838 34 1F 00 90 */ addic. r0, r31, 0x90 +/* 8035C8DC 0035983C 41 82 00 18 */ beq lbl_8035C8F4 +/* 8035C8E0 00359840 88 1F 00 90 */ lbz r0, 0x90(r31) +/* 8035C8E4 00359844 28 00 00 00 */ cmplwi r0, 0 +/* 8035C8E8 00359848 41 82 00 0C */ beq lbl_8035C8F4 +/* 8035C8EC 0035984C 80 7F 00 94 */ lwz r3, 0x94(r31) +/* 8035C8F0 00359850 4B FB 90 41 */ bl Free__7CMemoryFPCv +lbl_8035C8F4: +/* 8035C8F4 00359854 38 7F 00 80 */ addi r3, r31, 0x80 +/* 8035C8F8 00359858 38 80 FF FF */ li r4, -1 +/* 8035C8FC 0035985C 48 00 00 41 */ bl "__dt__Q24rstl67vectorFv" +/* 8035C900 00359860 7F E3 FB 78 */ mr r3, r31 +/* 8035C904 00359864 38 80 FF FF */ li r4, -1 +/* 8035C908 00359868 4B FF 33 09 */ bl __dt__8CDvdFileFv +/* 8035C90C 0035986C 7F A0 07 35 */ extsh. r0, r29 +/* 8035C910 00359870 40 81 00 0C */ ble lbl_8035C91C +/* 8035C914 00359874 7F E3 FB 78 */ mr r3, r31 +/* 8035C918 00359878 4B FB 90 19 */ bl Free__7CMemoryFPCv +lbl_8035C91C: +/* 8035C91C 0035987C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8035C920 00359880 7F E3 FB 78 */ mr r3, r31 +/* 8035C924 00359884 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8035C928 00359888 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8035C92C 0035988C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8035C930 00359890 7C 08 03 A6 */ mtlr r0 +/* 8035C934 00359894 38 21 00 20 */ addi r1, r1, 0x20 +/* 8035C938 00359898 4E 80 00 20 */ blr + +.global "__dt__Q24rstl67vectorFv" +"__dt__Q24rstl67vectorFv": +/* 8035C93C 0035989C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8035C940 003598A0 7C 08 02 A6 */ mflr r0 +/* 8035C944 003598A4 90 01 00 24 */ stw r0, 0x24(r1) +/* 8035C948 003598A8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8035C94C 003598AC 7C 9F 23 78 */ mr r31, r4 +/* 8035C950 003598B0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8035C954 003598B4 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8035C958 003598B8 41 82 00 54 */ beq lbl_8035C9AC +/* 8035C95C 003598BC 80 1E 00 04 */ lwz r0, 4(r30) +/* 8035C960 003598C0 38 61 00 14 */ addi r3, r1, 0x14 +/* 8035C964 003598C4 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 8035C968 003598C8 38 81 00 0C */ addi r4, r1, 0xc +/* 8035C96C 003598CC 1C 00 00 28 */ mulli r0, r0, 0x28 +/* 8035C970 003598D0 7C A5 02 14 */ add r5, r5, r0 +/* 8035C974 003598D4 90 A1 00 0C */ stw r5, 0xc(r1) +/* 8035C978 003598D8 80 1E 00 0C */ lwz r0, 0xc(r30) +/* 8035C97C 003598DC 90 A1 00 08 */ stw r5, 8(r1) +/* 8035C980 003598E0 90 01 00 10 */ stw r0, 0x10(r1) +/* 8035C984 003598E4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8035C988 003598E8 4B FF F1 3D */ bl "destroy,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl154pointer_iterator,Q24rstl17rmemory_allocator>Q24rstl154pointer_iterator,Q24rstl17rmemory_allocator>" +/* 8035C98C 003598EC 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8035C990 003598F0 28 03 00 00 */ cmplwi r3, 0 +/* 8035C994 003598F4 41 82 00 08 */ beq lbl_8035C99C +/* 8035C998 003598F8 4B FB 8F 99 */ bl Free__7CMemoryFPCv +lbl_8035C99C: +/* 8035C99C 003598FC 7F E0 07 35 */ extsh. r0, r31 +/* 8035C9A0 00359900 40 81 00 0C */ ble lbl_8035C9AC +/* 8035C9A4 00359904 7F C3 F3 78 */ mr r3, r30 +/* 8035C9A8 00359908 4B FB 8F 89 */ bl Free__7CMemoryFPCv +lbl_8035C9AC: +/* 8035C9AC 0035990C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8035C9B0 00359910 7F C3 F3 78 */ mr r3, r30 +/* 8035C9B4 00359914 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8035C9B8 00359918 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8035C9BC 0035991C 7C 08 03 A6 */ mtlr r0 +/* 8035C9C0 00359920 38 21 00 20 */ addi r1, r1, 0x20 +/* 8035C9C4 00359924 4E 80 00 20 */ blr + +.global "__dt__Q24rstl56vector,Q24rstl17rmemory_allocator>Fv" +"__dt__Q24rstl56vector,Q24rstl17rmemory_allocator>Fv": +/* 8035C9C8 00359928 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8035C9CC 0035992C 7C 08 02 A6 */ mflr r0 +/* 8035C9D0 00359930 90 01 00 34 */ stw r0, 0x34(r1) +/* 8035C9D4 00359934 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8035C9D8 00359938 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8035C9DC 0035993C 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8035C9E0 00359940 7C 9D 23 78 */ mr r29, r4 +/* 8035C9E4 00359944 93 81 00 20 */ stw r28, 0x20(r1) +/* 8035C9E8 00359948 7C 7C 1B 79 */ or. r28, r3, r3 +/* 8035C9EC 0035994C 41 82 00 70 */ beq lbl_8035CA5C +/* 8035C9F0 00359950 80 1C 00 04 */ lwz r0, 4(r28) +/* 8035C9F4 00359954 83 DC 00 0C */ lwz r30, 0xc(r28) +/* 8035C9F8 00359958 54 00 18 38 */ slwi r0, r0, 3 +/* 8035C9FC 0035995C 7F FE 02 14 */ add r31, r30, r0 +/* 8035CA00 00359960 93 C1 00 10 */ stw r30, 0x10(r1) +/* 8035CA04 00359964 93 E1 00 08 */ stw r31, 8(r1) +/* 8035CA08 00359968 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8035CA0C 0035996C 93 C1 00 14 */ stw r30, 0x14(r1) +/* 8035CA10 00359970 48 00 00 24 */ b lbl_8035CA34 +lbl_8035CA14: +/* 8035CA14 00359974 28 1E 00 00 */ cmplwi r30, 0 +/* 8035CA18 00359978 41 82 00 18 */ beq lbl_8035CA30 +/* 8035CA1C 0035997C 88 1E 00 00 */ lbz r0, 0(r30) +/* 8035CA20 00359980 28 00 00 00 */ cmplwi r0, 0 +/* 8035CA24 00359984 41 82 00 0C */ beq lbl_8035CA30 +/* 8035CA28 00359988 80 7E 00 04 */ lwz r3, 4(r30) +/* 8035CA2C 0035998C 4B FB 8F 05 */ bl Free__7CMemoryFPCv +lbl_8035CA30: +/* 8035CA30 00359990 3B DE 00 08 */ addi r30, r30, 8 +lbl_8035CA34: +/* 8035CA34 00359994 7C 1E F8 40 */ cmplw r30, r31 +/* 8035CA38 00359998 40 82 FF DC */ bne lbl_8035CA14 +/* 8035CA3C 0035999C 80 7C 00 0C */ lwz r3, 0xc(r28) +/* 8035CA40 003599A0 28 03 00 00 */ cmplwi r3, 0 +/* 8035CA44 003599A4 41 82 00 08 */ beq lbl_8035CA4C +/* 8035CA48 003599A8 4B FB 8E E9 */ bl Free__7CMemoryFPCv +lbl_8035CA4C: +/* 8035CA4C 003599AC 7F A0 07 35 */ extsh. r0, r29 +/* 8035CA50 003599B0 40 81 00 0C */ ble lbl_8035CA5C +/* 8035CA54 003599B4 7F 83 E3 78 */ mr r3, r28 +/* 8035CA58 003599B8 4B FB 8E D9 */ bl Free__7CMemoryFPCv +lbl_8035CA5C: +/* 8035CA5C 003599BC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8035CA60 003599C0 7F 83 E3 78 */ mr r3, r28 +/* 8035CA64 003599C4 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8035CA68 003599C8 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8035CA6C 003599CC 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8035CA70 003599D0 83 81 00 20 */ lwz r28, 0x20(r1) +/* 8035CA74 003599D4 7C 08 03 A6 */ mtlr r0 +/* 8035CA78 003599D8 38 21 00 30 */ addi r1, r1, 0x30 +/* 8035CA7C 003599DC 4E 80 00 20 */ blr + +.global PumpIndexLoad__12CMoviePlayerFv +PumpIndexLoad__12CMoviePlayerFv: +/* 8035CA80 003599E0 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8035CA84 003599E4 7C 08 02 A6 */ mflr r0 +/* 8035CA88 003599E8 90 01 00 44 */ stw r0, 0x44(r1) +/* 8035CA8C 003599EC BF 21 00 24 */ stmw r25, 0x24(r1) +/* 8035CA90 003599F0 7C 7E 1B 78 */ mr r30, r3 +/* 8035CA94 003599F4 80 63 00 AC */ lwz r3, 0xac(r3) +/* 8035CA98 003599F8 28 03 00 00 */ cmplwi r3, 0 +/* 8035CA9C 003599FC 40 82 00 0C */ bne lbl_8035CAA8 +/* 8035CAA0 00359A00 38 60 00 00 */ li r3, 0 +/* 8035CAA4 00359A04 48 00 04 64 */ b lbl_8035CF08 +lbl_8035CAA8: +/* 8035CAA8 00359A08 80 03 00 10 */ lwz r0, 0x10(r3) +/* 8035CAAC 00359A0C 83 E3 00 0C */ lwz r31, 0xc(r3) +/* 8035CAB0 00359A10 2C 00 00 01 */ cmpwi r0, 1 +/* 8035CAB4 00359A14 41 82 00 AC */ beq lbl_8035CB60 +/* 8035CAB8 00359A18 40 80 00 10 */ bge lbl_8035CAC8 +/* 8035CABC 00359A1C 2C 00 00 00 */ cmpwi r0, 0 +/* 8035CAC0 00359A20 40 80 00 14 */ bge lbl_8035CAD4 +/* 8035CAC4 00359A24 48 00 02 B0 */ b lbl_8035CD74 +lbl_8035CAC8: +/* 8035CAC8 00359A28 2C 00 00 03 */ cmpwi r0, 3 +/* 8035CACC 00359A2C 40 80 02 A8 */ bge lbl_8035CD74 +/* 8035CAD0 00359A30 48 00 01 F0 */ b lbl_8035CCC0 +lbl_8035CAD4: +/* 8035CAD4 00359A34 80 63 00 00 */ lwz r3, 0(r3) +/* 8035CAD8 00359A38 81 83 00 00 */ lwz r12, 0(r3) +/* 8035CADC 00359A3C 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 8035CAE0 00359A40 7D 89 03 A6 */ mtctr r12 +/* 8035CAE4 00359A44 4E 80 04 21 */ bctrl +/* 8035CAE8 00359A48 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8035CAEC 00359A4C 41 82 00 6C */ beq lbl_8035CB58 +/* 8035CAF0 00359A50 7F E4 FB 78 */ mr r4, r31 +/* 8035CAF4 00359A54 38 7E 00 28 */ addi r3, r30, 0x28 +/* 8035CAF8 00359A58 38 A0 00 30 */ li r5, 0x30 +/* 8035CAFC 00359A5C 4B CA 69 95 */ bl memcpy +/* 8035CB00 00359A60 80 FE 00 48 */ lwz r7, 0x48(r30) +/* 8035CB04 00359A64 7F C3 F3 78 */ mr r3, r30 +/* 8035CB08 00359A68 7F E4 FB 78 */ mr r4, r31 +/* 8035CB0C 00359A6C 38 A0 00 20 */ li r5, 0x20 +/* 8035CB10 00359A70 38 C0 00 00 */ li r6, 0 +/* 8035CB14 00359A74 4B FF 2E AD */ bl AsyncSeekRead__8CDvdFileFPvUi11ESeekOrigini +/* 8035CB18 00359A78 83 BE 00 AC */ lwz r29, 0xac(r30) +/* 8035CB1C 00359A7C 7C 7C 1B 78 */ mr r28, r3 +/* 8035CB20 00359A80 80 7D 00 00 */ lwz r3, 0(r29) +/* 8035CB24 00359A84 28 03 00 00 */ cmplwi r3, 0 +/* 8035CB28 00359A88 41 82 00 18 */ beq lbl_8035CB40 +/* 8035CB2C 00359A8C 81 83 00 00 */ lwz r12, 0(r3) +/* 8035CB30 00359A90 38 80 00 01 */ li r4, 1 +/* 8035CB34 00359A94 81 8C 00 08 */ lwz r12, 8(r12) +/* 8035CB38 00359A98 7D 89 03 A6 */ mtctr r12 +/* 8035CB3C 00359A9C 4E 80 04 21 */ bctrl +lbl_8035CB40: +/* 8035CB40 00359AA0 93 9D 00 00 */ stw r28, 0(r29) +/* 8035CB44 00359AA4 80 9E 00 AC */ lwz r4, 0xac(r30) +/* 8035CB48 00359AA8 80 64 00 10 */ lwz r3, 0x10(r4) +/* 8035CB4C 00359AAC 38 03 00 01 */ addi r0, r3, 1 +/* 8035CB50 00359AB0 90 04 00 10 */ stw r0, 0x10(r4) +/* 8035CB54 00359AB4 48 00 00 0C */ b lbl_8035CB60 +lbl_8035CB58: +/* 8035CB58 00359AB8 38 60 00 01 */ li r3, 1 +/* 8035CB5C 00359ABC 48 00 03 AC */ b lbl_8035CF08 +lbl_8035CB60: +/* 8035CB60 00359AC0 80 7E 00 AC */ lwz r3, 0xac(r30) +/* 8035CB64 00359AC4 80 63 00 00 */ lwz r3, 0(r3) +/* 8035CB68 00359AC8 81 83 00 00 */ lwz r12, 0(r3) +/* 8035CB6C 00359ACC 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 8035CB70 00359AD0 7D 89 03 A6 */ mtctr r12 +/* 8035CB74 00359AD4 4E 80 04 21 */ bctrl +/* 8035CB78 00359AD8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8035CB7C 00359ADC 41 82 01 3C */ beq lbl_8035CCB8 +/* 8035CB80 00359AE0 7F E4 FB 78 */ mr r4, r31 +/* 8035CB84 00359AE4 38 7E 00 58 */ addi r3, r30, 0x58 +/* 8035CB88 00359AE8 38 A0 00 14 */ li r5, 0x14 +/* 8035CB8C 00359AEC 4B CA 69 05 */ bl memcpy +/* 8035CB90 00359AF0 83 9E 00 AC */ lwz r28, 0xac(r30) +/* 8035CB94 00359AF4 80 7C 00 00 */ lwz r3, 0(r28) +/* 8035CB98 00359AF8 28 03 00 00 */ cmplwi r3, 0 +/* 8035CB9C 00359AFC 41 82 00 18 */ beq lbl_8035CBB4 +/* 8035CBA0 00359B00 81 83 00 00 */ lwz r12, 0(r3) +/* 8035CBA4 00359B04 38 80 00 01 */ li r4, 1 +/* 8035CBA8 00359B08 81 8C 00 08 */ lwz r12, 8(r12) +/* 8035CBAC 00359B0C 7D 89 03 A6 */ mtctr r12 +/* 8035CBB0 00359B10 4E 80 04 21 */ bctrl +lbl_8035CBB4: +/* 8035CBB4 00359B14 38 00 00 00 */ li r0, 0 +/* 8035CBB8 00359B18 3B 7F 00 20 */ addi r27, r31, 0x20 +/* 8035CBBC 00359B1C 90 1C 00 00 */ stw r0, 0(r28) +/* 8035CBC0 00359B20 3B 20 00 00 */ li r25, 0 +/* 8035CBC4 00359B24 80 7E 00 48 */ lwz r3, 0x48(r30) +/* 8035CBC8 00359B28 3B 43 00 14 */ addi r26, r3, 0x14 +/* 8035CBCC 00359B2C 48 00 00 CC */ b lbl_8035CC98 +lbl_8035CBD0: +/* 8035CBD0 00359B30 38 19 00 5C */ addi r0, r25, 0x5c +/* 8035CBD4 00359B34 7C 1E 00 AE */ lbzx r0, r30, r0 +/* 8035CBD8 00359B38 2C 00 00 01 */ cmpwi r0, 1 +/* 8035CBDC 00359B3C 41 82 00 60 */ beq lbl_8035CC3C +/* 8035CBE0 00359B40 40 80 00 B4 */ bge lbl_8035CC94 +/* 8035CBE4 00359B44 2C 00 00 00 */ cmpwi r0, 0 +/* 8035CBE8 00359B48 40 80 00 08 */ bge lbl_8035CBF0 +/* 8035CBEC 00359B4C 48 00 00 A8 */ b lbl_8035CC94 +lbl_8035CBF0: +/* 8035CBF0 00359B50 7F C3 F3 78 */ mr r3, r30 +/* 8035CBF4 00359B54 7F E4 FB 78 */ mr r4, r31 +/* 8035CBF8 00359B58 7F 47 D3 78 */ mr r7, r26 +/* 8035CBFC 00359B5C 38 A0 00 20 */ li r5, 0x20 +/* 8035CC00 00359B60 38 C0 00 00 */ li r6, 0 +/* 8035CC04 00359B64 4B FF 2D BD */ bl AsyncSeekRead__8CDvdFileFPvUi11ESeekOrigini +/* 8035CC08 00359B68 83 9E 00 AC */ lwz r28, 0xac(r30) +/* 8035CC0C 00359B6C 7C 7D 1B 78 */ mr r29, r3 +/* 8035CC10 00359B70 80 7C 00 04 */ lwz r3, 4(r28) +/* 8035CC14 00359B74 28 03 00 00 */ cmplwi r3, 0 +/* 8035CC18 00359B78 41 82 00 18 */ beq lbl_8035CC30 +/* 8035CC1C 00359B7C 81 83 00 00 */ lwz r12, 0(r3) +/* 8035CC20 00359B80 38 80 00 01 */ li r4, 1 +/* 8035CC24 00359B84 81 8C 00 08 */ lwz r12, 8(r12) +/* 8035CC28 00359B88 7D 89 03 A6 */ mtctr r12 +/* 8035CC2C 00359B8C 4E 80 04 21 */ bctrl +lbl_8035CC30: +/* 8035CC30 00359B90 93 BC 00 04 */ stw r29, 4(r28) +/* 8035CC34 00359B94 3B 5A 00 08 */ addi r26, r26, 8 +/* 8035CC38 00359B98 48 00 00 5C */ b lbl_8035CC94 +lbl_8035CC3C: +/* 8035CC3C 00359B9C 7F C3 F3 78 */ mr r3, r30 +/* 8035CC40 00359BA0 7F 64 DB 78 */ mr r4, r27 +/* 8035CC44 00359BA4 7F 47 D3 78 */ mr r7, r26 +/* 8035CC48 00359BA8 38 A0 00 20 */ li r5, 0x20 +/* 8035CC4C 00359BAC 38 C0 00 00 */ li r6, 0 +/* 8035CC50 00359BB0 4B FF 2D 71 */ bl AsyncSeekRead__8CDvdFileFPvUi11ESeekOrigini +/* 8035CC54 00359BB4 83 9E 00 AC */ lwz r28, 0xac(r30) +/* 8035CC58 00359BB8 7C 7D 1B 78 */ mr r29, r3 +/* 8035CC5C 00359BBC 80 7C 00 08 */ lwz r3, 8(r28) +/* 8035CC60 00359BC0 28 03 00 00 */ cmplwi r3, 0 +/* 8035CC64 00359BC4 41 82 00 18 */ beq lbl_8035CC7C +/* 8035CC68 00359BC8 81 83 00 00 */ lwz r12, 0(r3) +/* 8035CC6C 00359BCC 38 80 00 01 */ li r4, 1 +/* 8035CC70 00359BD0 81 8C 00 08 */ lwz r12, 8(r12) +/* 8035CC74 00359BD4 7D 89 03 A6 */ mtctr r12 +/* 8035CC78 00359BD8 4E 80 04 21 */ bctrl +lbl_8035CC7C: +/* 8035CC7C 00359BDC 93 BC 00 08 */ stw r29, 8(r28) +/* 8035CC80 00359BE0 38 60 00 01 */ li r3, 1 +/* 8035CC84 00359BE4 3B 5A 00 0C */ addi r26, r26, 0xc +/* 8035CC88 00359BE8 88 1E 00 F4 */ lbz r0, 0xf4(r30) +/* 8035CC8C 00359BEC 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 8035CC90 00359BF0 98 1E 00 F4 */ stb r0, 0xf4(r30) +lbl_8035CC94: +/* 8035CC94 00359BF4 3B 39 00 01 */ addi r25, r25, 1 +lbl_8035CC98: +/* 8035CC98 00359BF8 80 1E 00 58 */ lwz r0, 0x58(r30) +/* 8035CC9C 00359BFC 7C 19 00 40 */ cmplw r25, r0 +/* 8035CCA0 00359C00 41 80 FF 30 */ blt lbl_8035CBD0 +/* 8035CCA4 00359C04 80 9E 00 AC */ lwz r4, 0xac(r30) +/* 8035CCA8 00359C08 80 64 00 10 */ lwz r3, 0x10(r4) +/* 8035CCAC 00359C0C 38 03 00 01 */ addi r0, r3, 1 +/* 8035CCB0 00359C10 90 04 00 10 */ stw r0, 0x10(r4) +/* 8035CCB4 00359C14 48 00 00 0C */ b lbl_8035CCC0 +lbl_8035CCB8: +/* 8035CCB8 00359C18 38 60 00 01 */ li r3, 1 +/* 8035CCBC 00359C1C 48 00 02 4C */ b lbl_8035CF08 +lbl_8035CCC0: +/* 8035CCC0 00359C20 80 9E 00 AC */ lwz r4, 0xac(r30) +/* 8035CCC4 00359C24 3B 20 00 01 */ li r25, 1 +/* 8035CCC8 00359C28 80 64 00 04 */ lwz r3, 4(r4) +/* 8035CCCC 00359C2C 80 84 00 08 */ lwz r4, 8(r4) +/* 8035CCD0 00359C30 7C 03 00 D0 */ neg r0, r3 +/* 8035CCD4 00359C34 7C 05 1B 78 */ or r5, r0, r3 +/* 8035CCD8 00359C38 7C 04 00 D0 */ neg r0, r4 +/* 8035CCDC 00359C3C 7C 00 23 78 */ or r0, r0, r4 +/* 8035CCE0 00359C40 54 BC 0F FF */ rlwinm. r28, r5, 1, 0x1f, 0x1f +/* 8035CCE4 00359C44 54 1D 0F FE */ srwi r29, r0, 0x1f +/* 8035CCE8 00359C48 41 82 00 20 */ beq lbl_8035CD08 +/* 8035CCEC 00359C4C 81 83 00 00 */ lwz r12, 0(r3) +/* 8035CCF0 00359C50 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 8035CCF4 00359C54 7D 89 03 A6 */ mtctr r12 +/* 8035CCF8 00359C58 4E 80 04 21 */ bctrl +/* 8035CCFC 00359C5C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8035CD00 00359C60 40 82 00 08 */ bne lbl_8035CD08 +/* 8035CD04 00359C64 3B 20 00 00 */ li r25, 0 +lbl_8035CD08: +/* 8035CD08 00359C68 28 1D 00 00 */ cmplwi r29, 0 +/* 8035CD0C 00359C6C 41 82 00 28 */ beq lbl_8035CD34 +/* 8035CD10 00359C70 80 7E 00 AC */ lwz r3, 0xac(r30) +/* 8035CD14 00359C74 80 63 00 08 */ lwz r3, 8(r3) +/* 8035CD18 00359C78 81 83 00 00 */ lwz r12, 0(r3) +/* 8035CD1C 00359C7C 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 8035CD20 00359C80 7D 89 03 A6 */ mtctr r12 +/* 8035CD24 00359C84 4E 80 04 21 */ bctrl +/* 8035CD28 00359C88 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8035CD2C 00359C8C 40 82 00 08 */ bne lbl_8035CD34 +/* 8035CD30 00359C90 3B 20 00 00 */ li r25, 0 +lbl_8035CD34: +/* 8035CD34 00359C94 57 20 06 3F */ clrlwi. r0, r25, 0x18 +/* 8035CD38 00359C98 40 82 00 0C */ bne lbl_8035CD44 +/* 8035CD3C 00359C9C 38 60 00 01 */ li r3, 1 +/* 8035CD40 00359CA0 48 00 01 C8 */ b lbl_8035CF08 +lbl_8035CD44: +/* 8035CD44 00359CA4 28 1C 00 00 */ cmplwi r28, 0 +/* 8035CD48 00359CA8 41 82 00 14 */ beq lbl_8035CD5C +/* 8035CD4C 00359CAC 7F E4 FB 78 */ mr r4, r31 +/* 8035CD50 00359CB0 38 7E 00 6C */ addi r3, r30, 0x6c +/* 8035CD54 00359CB4 38 A0 00 08 */ li r5, 8 +/* 8035CD58 00359CB8 4B CA 67 39 */ bl memcpy +lbl_8035CD5C: +/* 8035CD5C 00359CBC 28 1D 00 00 */ cmplwi r29, 0 +/* 8035CD60 00359CC0 41 82 00 14 */ beq lbl_8035CD74 +/* 8035CD64 00359CC4 38 7E 00 74 */ addi r3, r30, 0x74 +/* 8035CD68 00359CC8 38 9F 00 20 */ addi r4, r31, 0x20 +/* 8035CD6C 00359CCC 38 A0 00 0C */ li r5, 0xc +/* 8035CD70 00359CD0 4B CA 67 21 */ bl memcpy +lbl_8035CD74: +/* 8035CD74 00359CD4 83 9E 00 AC */ lwz r28, 0xac(r30) +/* 8035CD78 00359CD8 28 1C 00 00 */ cmplwi r28, 0 +/* 8035CD7C 00359CDC 41 82 00 94 */ beq lbl_8035CE10 +/* 8035CD80 00359CE0 34 1C 00 0C */ addic. r0, r28, 0xc +/* 8035CD84 00359CE4 41 82 00 0C */ beq lbl_8035CD90 +/* 8035CD88 00359CE8 80 7C 00 0C */ lwz r3, 0xc(r28) +/* 8035CD8C 00359CEC 4B FB 8B A5 */ bl Free__7CMemoryFPCv +lbl_8035CD90: +/* 8035CD90 00359CF0 34 1C 00 08 */ addic. r0, r28, 8 +/* 8035CD94 00359CF4 41 82 00 24 */ beq lbl_8035CDB8 +/* 8035CD98 00359CF8 80 7C 00 08 */ lwz r3, 8(r28) +/* 8035CD9C 00359CFC 28 03 00 00 */ cmplwi r3, 0 +/* 8035CDA0 00359D00 41 82 00 18 */ beq lbl_8035CDB8 +/* 8035CDA4 00359D04 81 83 00 00 */ lwz r12, 0(r3) +/* 8035CDA8 00359D08 38 80 00 01 */ li r4, 1 +/* 8035CDAC 00359D0C 81 8C 00 08 */ lwz r12, 8(r12) +/* 8035CDB0 00359D10 7D 89 03 A6 */ mtctr r12 +/* 8035CDB4 00359D14 4E 80 04 21 */ bctrl +lbl_8035CDB8: +/* 8035CDB8 00359D18 34 1C 00 04 */ addic. r0, r28, 4 +/* 8035CDBC 00359D1C 41 82 00 24 */ beq lbl_8035CDE0 +/* 8035CDC0 00359D20 80 7C 00 04 */ lwz r3, 4(r28) +/* 8035CDC4 00359D24 28 03 00 00 */ cmplwi r3, 0 +/* 8035CDC8 00359D28 41 82 00 18 */ beq lbl_8035CDE0 +/* 8035CDCC 00359D2C 81 83 00 00 */ lwz r12, 0(r3) +/* 8035CDD0 00359D30 38 80 00 01 */ li r4, 1 +/* 8035CDD4 00359D34 81 8C 00 08 */ lwz r12, 8(r12) +/* 8035CDD8 00359D38 7D 89 03 A6 */ mtctr r12 +/* 8035CDDC 00359D3C 4E 80 04 21 */ bctrl +lbl_8035CDE0: +/* 8035CDE0 00359D40 28 1C 00 00 */ cmplwi r28, 0 +/* 8035CDE4 00359D44 41 82 00 24 */ beq lbl_8035CE08 +/* 8035CDE8 00359D48 80 7C 00 00 */ lwz r3, 0(r28) +/* 8035CDEC 00359D4C 28 03 00 00 */ cmplwi r3, 0 +/* 8035CDF0 00359D50 41 82 00 18 */ beq lbl_8035CE08 +/* 8035CDF4 00359D54 81 83 00 00 */ lwz r12, 0(r3) +/* 8035CDF8 00359D58 38 80 00 01 */ li r4, 1 +/* 8035CDFC 00359D5C 81 8C 00 08 */ lwz r12, 8(r12) +/* 8035CE00 00359D60 7D 89 03 A6 */ mtctr r12 +/* 8035CE04 00359D64 4E 80 04 21 */ bctrl +lbl_8035CE08: +/* 8035CE08 00359D68 7F 83 E3 78 */ mr r3, r28 +/* 8035CE0C 00359D6C 4B FB 8B 25 */ bl Free__7CMemoryFPCv +lbl_8035CE10: +/* 8035CE10 00359D70 38 00 00 00 */ li r0, 0 +/* 8035CE14 00359D74 38 7E 00 80 */ addi r3, r30, 0x80 +/* 8035CE18 00359D78 90 1E 00 AC */ stw r0, 0xac(r30) +/* 8035CE1C 00359D7C 38 80 00 03 */ li r4, 3 +/* 8035CE20 00359D80 48 00 0A 15 */ bl "reserve__Q24rstl67vectorFi" +/* 8035CE24 00359D84 80 7E 00 50 */ lwz r3, 0x50(r30) +/* 8035CE28 00359D88 3C 00 43 30 */ lis r0, 0x4330 +/* 8035CE2C 00359D8C 90 01 00 10 */ stw r0, 0x10(r1) +/* 8035CE30 00359D90 C8 62 CD 30 */ lfd f3, lbl_805AEA50@sda21(r2) +/* 8035CE34 00359D94 90 7E 00 B4 */ stw r3, 0xb4(r30) +/* 8035CE38 00359D98 C0 02 CD 24 */ lfs f0, lbl_805AEA44@sda21(r2) +/* 8035CE3C 00359D9C 80 1E 00 40 */ lwz r0, 0x40(r30) +/* 8035CE40 00359DA0 90 1E 00 B0 */ stw r0, 0xb0(r30) +/* 8035CE44 00359DA4 80 1E 00 40 */ lwz r0, 0x40(r30) +/* 8035CE48 00359DA8 90 1E 00 B8 */ stw r0, 0xb8(r30) +/* 8035CE4C 00359DAC 80 1E 00 50 */ lwz r0, 0x50(r30) +/* 8035CE50 00359DB0 90 1E 00 BC */ stw r0, 0xbc(r30) +/* 8035CE54 00359DB4 80 1E 00 3C */ lwz r0, 0x3c(r30) +/* 8035CE58 00359DB8 C0 3E 00 38 */ lfs f1, 0x38(r30) +/* 8035CE5C 00359DBC 90 01 00 14 */ stw r0, 0x14(r1) +/* 8035CE60 00359DC0 C8 41 00 10 */ lfd f2, 0x10(r1) +/* 8035CE64 00359DC4 EC 42 18 28 */ fsubs f2, f2, f3 +/* 8035CE68 00359DC8 EC 22 08 24 */ fdivs f1, f2, f1 +/* 8035CE6C 00359DCC D0 3E 00 E4 */ stfs f1, 0xe4(r30) +/* 8035CE70 00359DD0 C0 3E 00 EC */ lfs f1, 0xec(r30) +/* 8035CE74 00359DD4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8035CE78 00359DD8 40 80 00 18 */ bge lbl_8035CE90 +/* 8035CE7C 00359DDC C0 1E 00 E4 */ lfs f0, 0xe4(r30) +/* 8035CE80 00359DE0 D0 1E 00 EC */ stfs f0, 0xec(r30) +/* 8035CE84 00359DE4 80 1E 00 3C */ lwz r0, 0x3c(r30) +/* 8035CE88 00359DE8 90 1E 00 F0 */ stw r0, 0xf0(r30) +/* 8035CE8C 00359DEC 48 00 00 5C */ b lbl_8035CEE8 +lbl_8035CE90: +/* 8035CE90 00359DF0 40 81 00 58 */ ble lbl_8035CEE8 +/* 8035CE94 00359DF4 C0 1E 00 38 */ lfs f0, 0x38(r30) +/* 8035CE98 00359DF8 EC 21 00 32 */ fmuls f1, f1, f0 +/* 8035CE9C 00359DFC 48 02 CA B9 */ bl __cvt_fp2unsigned +/* 8035CEA0 00359E00 90 61 00 08 */ stw r3, 8(r1) +/* 8035CEA4 00359E04 38 81 00 0C */ addi r4, r1, 0xc +/* 8035CEA8 00359E08 80 1E 00 3C */ lwz r0, 0x3c(r30) +/* 8035CEAC 00359E0C 7C 03 00 40 */ cmplw r3, r0 +/* 8035CEB0 00359E10 90 01 00 0C */ stw r0, 0xc(r1) +/* 8035CEB4 00359E14 40 80 00 08 */ bge lbl_8035CEBC +/* 8035CEB8 00359E18 38 81 00 08 */ addi r4, r1, 8 +lbl_8035CEBC: +/* 8035CEBC 00359E1C 80 04 00 00 */ lwz r0, 0(r4) +/* 8035CEC0 00359E20 90 1E 00 F0 */ stw r0, 0xf0(r30) +/* 8035CEC4 00359E24 C0 3E 00 E4 */ lfs f1, 0xe4(r30) +/* 8035CEC8 00359E28 C0 1E 00 EC */ lfs f0, 0xec(r30) +/* 8035CECC 00359E2C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8035CED0 00359E30 40 80 00 0C */ bge lbl_8035CEDC +/* 8035CED4 00359E34 38 7E 00 E4 */ addi r3, r30, 0xe4 +/* 8035CED8 00359E38 48 00 00 08 */ b lbl_8035CEE0 +lbl_8035CEDC: +/* 8035CEDC 00359E3C 38 7E 00 EC */ addi r3, r30, 0xec +lbl_8035CEE0: +/* 8035CEE0 00359E40 C0 03 00 00 */ lfs f0, 0(r3) +/* 8035CEE4 00359E44 D0 1E 00 EC */ stfs f0, 0xec(r30) +lbl_8035CEE8: +/* 8035CEE8 00359E48 80 9E 00 F0 */ lwz r4, 0xf0(r30) +/* 8035CEEC 00359E4C 2C 04 00 00 */ cmpwi r4, 0 +/* 8035CEF0 00359E50 40 81 00 0C */ ble lbl_8035CEFC +/* 8035CEF4 00359E54 38 7E 00 9C */ addi r3, r30, 0x9c +/* 8035CEF8 00359E58 48 00 0B 11 */ bl "reserve__Q24rstl56vector,Q24rstl17rmemory_allocator>Fi" +lbl_8035CEFC: +/* 8035CEFC 00359E5C 7F C3 F3 78 */ mr r3, r30 +/* 8035CF00 00359E60 4B FF F4 89 */ bl PostDVDReadRequestIfNeeded__12CMoviePlayerFv +/* 8035CF04 00359E64 38 60 00 00 */ li r3, 0 +lbl_8035CF08: +/* 8035CF08 00359E68 BB 21 00 24 */ lmw r25, 0x24(r1) +/* 8035CF0C 00359E6C 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8035CF10 00359E70 7C 08 03 A6 */ mtlr r0 +/* 8035CF14 00359E74 38 21 00 40 */ addi r1, r1, 0x40 +/* 8035CF18 00359E78 4E 80 00 20 */ blr + +.global __ct__12CMoviePlayerFPCcfb +__ct__12CMoviePlayerFPCcfb: +/* 8035CF1C 00359E7C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8035CF20 00359E80 7C 08 02 A6 */ mflr r0 +/* 8035CF24 00359E84 90 01 00 34 */ stw r0, 0x34(r1) +/* 8035CF28 00359E88 DB E1 00 20 */ stfd f31, 0x20(r1) +/* 8035CF2C 00359E8C F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 8035CF30 00359E90 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8035CF34 00359E94 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8035CF38 00359E98 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8035CF3C 00359E9C 93 81 00 10 */ stw r28, 0x10(r1) +/* 8035CF40 00359EA0 FF E0 08 90 */ fmr f31, f1 +/* 8035CF44 00359EA4 7C 7D 1B 78 */ mr r29, r3 +/* 8035CF48 00359EA8 7C BE 2B 78 */ mr r30, r5 +/* 8035CF4C 00359EAC 7C DF 33 78 */ mr r31, r6 +/* 8035CF50 00359EB0 4B FF 2D 81 */ bl __ct__8CDvdFileFPCc +/* 8035CF54 00359EB4 38 00 00 00 */ li r0, 0 +/* 8035CF58 00359EB8 3C 60 80 3E */ lis r3, lbl_803D83D8@ha +/* 8035CF5C 00359EBC 90 1D 00 84 */ stw r0, 0x84(r29) +/* 8035CF60 00359EC0 38 83 83 D8 */ addi r4, r3, lbl_803D83D8@l +/* 8035CF64 00359EC4 38 60 00 14 */ li r3, 0x14 +/* 8035CF68 00359EC8 38 A0 00 00 */ li r5, 0 +/* 8035CF6C 00359ECC 90 1D 00 88 */ stw r0, 0x88(r29) +/* 8035CF70 00359ED0 90 1D 00 8C */ stw r0, 0x8c(r29) +/* 8035CF74 00359ED4 98 1D 00 90 */ stb r0, 0x90(r29) +/* 8035CF78 00359ED8 90 1D 00 94 */ stw r0, 0x94(r29) +/* 8035CF7C 00359EDC 90 1D 00 98 */ stw r0, 0x98(r29) +/* 8035CF80 00359EE0 90 1D 00 A0 */ stw r0, 0xa0(r29) +/* 8035CF84 00359EE4 90 1D 00 A4 */ stw r0, 0xa4(r29) +/* 8035CF88 00359EE8 90 1D 00 A8 */ stw r0, 0xa8(r29) +/* 8035CF8C 00359EEC 4B FB 88 E1 */ bl __nw__FUlPCcPCc +/* 8035CF90 00359EF0 7C 7C 1B 79 */ or. r28, r3, r3 +/* 8035CF94 00359EF4 41 82 00 54 */ beq lbl_8035CFE8 +/* 8035CF98 00359EF8 38 00 00 00 */ li r0, 0 +/* 8035CF9C 00359EFC 3C 80 80 3E */ lis r4, lbl_803D83D8@ha +/* 8035CFA0 00359F00 90 1C 00 00 */ stw r0, 0(r28) +/* 8035CFA4 00359F04 3C 60 80 3D */ lis r3, lbl_803D6AA8@ha +/* 8035CFA8 00359F08 38 A4 83 D8 */ addi r5, r4, lbl_803D83D8@l +/* 8035CFAC 00359F0C 38 80 FF FF */ li r4, -1 +/* 8035CFB0 00359F10 90 1C 00 04 */ stw r0, 4(r28) +/* 8035CFB4 00359F14 38 C3 6A A8 */ addi r6, r3, lbl_803D6AA8@l +/* 8035CFB8 00359F18 38 61 00 08 */ addi r3, r1, 8 +/* 8035CFBC 00359F1C 90 1C 00 08 */ stw r0, 8(r28) +/* 8035CFC0 00359F20 4B F7 94 15 */ bl __ct__10CCallStackFUiPCcPCc +/* 8035CFC4 00359F24 7C 67 1B 78 */ mr r7, r3 +/* 8035CFC8 00359F28 38 60 00 40 */ li r3, 0x40 +/* 8035CFCC 00359F2C 38 80 00 02 */ li r4, 2 +/* 8035CFD0 00359F30 38 A0 00 01 */ li r5, 1 +/* 8035CFD4 00359F34 38 C0 00 00 */ li r6, 0 +/* 8035CFD8 00359F38 4B FB 89 BD */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 8035CFDC 00359F3C 90 7C 00 0C */ stw r3, 0xc(r28) +/* 8035CFE0 00359F40 38 00 00 00 */ li r0, 0 +/* 8035CFE4 00359F44 90 1C 00 10 */ stw r0, 0x10(r28) +lbl_8035CFE8: +/* 8035CFE8 00359F48 93 9D 00 AC */ stw r28, 0xac(r29) +/* 8035CFEC 00359F4C 38 C0 00 00 */ li r6, 0 +/* 8035CFF0 00359F50 38 00 FF FF */ li r0, -1 +/* 8035CFF4 00359F54 C0 02 CD 24 */ lfs f0, lbl_805AEA44@sda21(r2) +/* 8035CFF8 00359F58 90 DD 00 B0 */ stw r6, 0xb0(r29) +/* 8035CFFC 00359F5C 38 A0 00 01 */ li r5, 1 +/* 8035D000 00359F60 90 DD 00 B4 */ stw r6, 0xb4(r29) +/* 8035D004 00359F64 90 DD 00 B8 */ stw r6, 0xb8(r29) +/* 8035D008 00359F68 90 DD 00 BC */ stw r6, 0xbc(r29) +/* 8035D00C 00359F6C 90 DD 00 C0 */ stw r6, 0xc0(r29) +/* 8035D010 00359F70 90 DD 00 C4 */ stw r6, 0xc4(r29) +/* 8035D014 00359F74 90 DD 00 C8 */ stw r6, 0xc8(r29) +/* 8035D018 00359F78 90 DD 00 CC */ stw r6, 0xcc(r29) +/* 8035D01C 00359F7C 90 1D 00 D0 */ stw r0, 0xd0(r29) +/* 8035D020 00359F80 90 1D 00 D4 */ stw r0, 0xd4(r29) +/* 8035D024 00359F84 90 DD 00 D8 */ stw r6, 0xd8(r29) +/* 8035D028 00359F88 D0 1D 00 DC */ stfs f0, 0xdc(r29) +/* 8035D02C 00359F8C 90 BD 00 E0 */ stw r5, 0xe0(r29) +/* 8035D030 00359F90 D0 1D 00 E4 */ stfs f0, 0xe4(r29) +/* 8035D034 00359F94 D0 1D 00 E8 */ stfs f0, 0xe8(r29) +/* 8035D038 00359F98 D3 FD 00 EC */ stfs f31, 0xec(r29) +/* 8035D03C 00359F9C 90 DD 00 F0 */ stw r6, 0xf0(r29) +/* 8035D040 00359FA0 88 1D 00 F4 */ lbz r0, 0xf4(r29) +/* 8035D044 00359FA4 53 C0 3E 30 */ rlwimi r0, r30, 7, 0x18, 0x18 +/* 8035D048 00359FA8 98 1D 00 F4 */ stb r0, 0xf4(r29) +/* 8035D04C 00359FAC 88 1D 00 F4 */ lbz r0, 0xf4(r29) +/* 8035D050 00359FB0 53 E0 36 72 */ rlwimi r0, r31, 6, 0x19, 0x19 +/* 8035D054 00359FB4 98 1D 00 F4 */ stb r0, 0xf4(r29) +/* 8035D058 00359FB8 88 1D 00 F4 */ lbz r0, 0xf4(r29) +/* 8035D05C 00359FBC 50 C0 2E B4 */ rlwimi r0, r6, 5, 0x1a, 0x1a +/* 8035D060 00359FC0 98 1D 00 F4 */ stb r0, 0xf4(r29) +/* 8035D064 00359FC4 88 1D 00 F4 */ lbz r0, 0xf4(r29) +/* 8035D068 00359FC8 50 C0 26 F6 */ rlwimi r0, r6, 4, 0x1b, 0x1b +/* 8035D06C 00359FCC 98 1D 00 F4 */ stb r0, 0xf4(r29) +/* 8035D070 00359FD0 90 DD 00 F8 */ stw r6, 0xf8(r29) +/* 8035D074 00359FD4 90 DD 00 FC */ stw r6, 0xfc(r29) +/* 8035D078 00359FD8 88 0D AA B1 */ lbz r0, lbl_805A9671@sda21(r13) +/* 8035D07C 00359FDC 7C 00 07 75 */ extsb. r0, r0 +/* 8035D080 00359FE0 40 82 00 0C */ bne lbl_8035D08C +/* 8035D084 00359FE4 98 CD AA B0 */ stb r6, lbl_805A9670@sda21(r13) +/* 8035D088 00359FE8 98 AD AA B1 */ stb r5, lbl_805A9671@sda21(r13) +lbl_8035D08C: +/* 8035D08C 00359FEC 88 0D AA B0 */ lbz r0, lbl_805A9670@sda21(r13) +/* 8035D090 00359FF0 28 00 00 00 */ cmplwi r0, 0 +/* 8035D094 00359FF4 40 82 00 10 */ bne lbl_8035D0A4 +/* 8035D098 00359FF8 38 00 00 01 */ li r0, 1 +/* 8035D09C 00359FFC 98 0D AA B0 */ stb r0, lbl_805A9670@sda21(r13) +/* 8035D0A0 0035A000 48 06 BF 89 */ bl THPInit +lbl_8035D0A4: +/* 8035D0A4 0035A004 80 6D AA A0 */ lwz r3, lbl_805A9660@sda21(r13) +/* 8035D0A8 0035A008 38 03 00 01 */ addi r0, r3, 1 +/* 8035D0AC 0035A00C 90 0D AA A0 */ stw r0, lbl_805A9660@sda21(r13) +/* 8035D0B0 0035A010 4B FF E5 7D */ bl VerifyCallbackStatus__12CMoviePlayerFv +/* 8035D0B4 0035A014 80 9D 00 AC */ lwz r4, 0xac(r29) +/* 8035D0B8 0035A018 7F A3 EB 78 */ mr r3, r29 +/* 8035D0BC 0035A01C 38 A0 00 40 */ li r5, 0x40 +/* 8035D0C0 0035A020 80 84 00 0C */ lwz r4, 0xc(r4) +/* 8035D0C4 0035A024 4B FF 2B 25 */ bl SyncRead__8CDvdFileFPvUi +/* 8035D0C8 0035A028 83 9D 00 AC */ lwz r28, 0xac(r29) +/* 8035D0CC 0035A02C 7C 7E 1B 78 */ mr r30, r3 +/* 8035D0D0 0035A030 80 7C 00 00 */ lwz r3, 0(r28) +/* 8035D0D4 0035A034 28 03 00 00 */ cmplwi r3, 0 +/* 8035D0D8 0035A038 41 82 00 18 */ beq lbl_8035D0F0 +/* 8035D0DC 0035A03C 81 83 00 00 */ lwz r12, 0(r3) +/* 8035D0E0 0035A040 38 80 00 01 */ li r4, 1 +/* 8035D0E4 0035A044 81 8C 00 08 */ lwz r12, 8(r12) +/* 8035D0E8 0035A048 7D 89 03 A6 */ mtctr r12 +/* 8035D0EC 0035A04C 4E 80 04 21 */ bctrl +lbl_8035D0F0: +/* 8035D0F0 0035A050 93 DC 00 00 */ stw r30, 0(r28) +/* 8035D0F4 0035A054 7F A3 EB 78 */ mr r3, r29 +/* 8035D0F8 0035A058 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 8035D0FC 0035A05C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8035D100 0035A060 CB E1 00 20 */ lfd f31, 0x20(r1) +/* 8035D104 0035A064 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8035D108 0035A068 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8035D10C 0035A06C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8035D110 0035A070 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8035D114 0035A074 7C 08 03 A6 */ mtlr r0 +/* 8035D118 0035A078 38 21 00 30 */ addi r1, r1, 0x30 +/* 8035D11C 0035A07C 4E 80 00 20 */ blr + +.global MyTHPYuv2RgbTextureSetup__FPvPvPvUsUs +MyTHPYuv2RgbTextureSetup__FPvPvPvUsUs: +/* 8035D120 0035A080 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 8035D124 0035A084 7C 08 02 A6 */ mflr r0 +/* 8035D128 0035A088 39 00 00 00 */ li r8, 0 +/* 8035D12C 0035A08C 39 20 00 00 */ li r9, 0 +/* 8035D130 0035A090 90 01 00 84 */ stw r0, 0x84(r1) +/* 8035D134 0035A094 39 40 00 00 */ li r10, 0 +/* 8035D138 0035A098 93 E1 00 7C */ stw r31, 0x7c(r1) +/* 8035D13C 0035A09C 7C FF 3B 78 */ mr r31, r7 +/* 8035D140 0035A0A0 38 E0 00 01 */ li r7, 1 +/* 8035D144 0035A0A4 93 C1 00 78 */ stw r30, 0x78(r1) +/* 8035D148 0035A0A8 7C DE 33 78 */ mr r30, r6 +/* 8035D14C 0035A0AC 7F E6 FB 78 */ mr r6, r31 +/* 8035D150 0035A0B0 93 A1 00 74 */ stw r29, 0x74(r1) +/* 8035D154 0035A0B4 7C BD 2B 78 */ mr r29, r5 +/* 8035D158 0035A0B8 7F C5 F3 78 */ mr r5, r30 +/* 8035D15C 0035A0BC 93 81 00 70 */ stw r28, 0x70(r1) +/* 8035D160 0035A0C0 7C 9C 23 78 */ mr r28, r4 +/* 8035D164 0035A0C4 7C 64 1B 78 */ mr r4, r3 +/* 8035D168 0035A0C8 38 61 00 48 */ addi r3, r1, 0x48 +/* 8035D16C 0035A0CC 48 01 CC F9 */ bl GXInitTexObj +/* 8035D170 0035A0D0 C0 22 CD 24 */ lfs f1, lbl_805AEA44@sda21(r2) +/* 8035D174 0035A0D4 38 61 00 48 */ addi r3, r1, 0x48 +/* 8035D178 0035A0D8 38 80 00 00 */ li r4, 0 +/* 8035D17C 0035A0DC 38 A0 00 00 */ li r5, 0 +/* 8035D180 0035A0E0 FC 40 08 90 */ fmr f2, f1 +/* 8035D184 0035A0E4 38 C0 00 00 */ li r6, 0 +/* 8035D188 0035A0E8 FC 60 08 90 */ fmr f3, f1 +/* 8035D18C 0035A0EC 38 E0 00 00 */ li r7, 0 +/* 8035D190 0035A0F0 39 00 00 00 */ li r8, 0 +/* 8035D194 0035A0F4 48 01 CF 8D */ bl GXInitTexObjLOD +/* 8035D198 0035A0F8 38 61 00 48 */ addi r3, r1, 0x48 +/* 8035D19C 0035A0FC 38 80 00 00 */ li r4, 0 +/* 8035D1A0 0035A100 48 01 D2 F5 */ bl GXLoadTexObj +/* 8035D1A4 0035A104 57 DE FC 7E */ rlwinm r30, r30, 0x1f, 0x11, 0x1f +/* 8035D1A8 0035A108 57 FF FC 7E */ rlwinm r31, r31, 0x1f, 0x11, 0x1f +/* 8035D1AC 0035A10C 7F 84 E3 78 */ mr r4, r28 +/* 8035D1B0 0035A110 38 61 00 28 */ addi r3, r1, 0x28 +/* 8035D1B4 0035A114 7F C5 F3 78 */ mr r5, r30 +/* 8035D1B8 0035A118 7F E6 FB 78 */ mr r6, r31 +/* 8035D1BC 0035A11C 38 E0 00 01 */ li r7, 1 +/* 8035D1C0 0035A120 39 00 00 00 */ li r8, 0 +/* 8035D1C4 0035A124 39 20 00 00 */ li r9, 0 +/* 8035D1C8 0035A128 39 40 00 00 */ li r10, 0 +/* 8035D1CC 0035A12C 48 01 CC 99 */ bl GXInitTexObj +/* 8035D1D0 0035A130 C0 22 CD 24 */ lfs f1, lbl_805AEA44@sda21(r2) +/* 8035D1D4 0035A134 38 61 00 28 */ addi r3, r1, 0x28 +/* 8035D1D8 0035A138 38 80 00 00 */ li r4, 0 +/* 8035D1DC 0035A13C 38 A0 00 00 */ li r5, 0 +/* 8035D1E0 0035A140 FC 40 08 90 */ fmr f2, f1 +/* 8035D1E4 0035A144 38 C0 00 00 */ li r6, 0 +/* 8035D1E8 0035A148 FC 60 08 90 */ fmr f3, f1 +/* 8035D1EC 0035A14C 38 E0 00 00 */ li r7, 0 +/* 8035D1F0 0035A150 39 00 00 00 */ li r8, 0 +/* 8035D1F4 0035A154 48 01 CF 2D */ bl GXInitTexObjLOD +/* 8035D1F8 0035A158 38 61 00 28 */ addi r3, r1, 0x28 +/* 8035D1FC 0035A15C 38 80 00 01 */ li r4, 1 +/* 8035D200 0035A160 48 01 D2 95 */ bl GXLoadTexObj +/* 8035D204 0035A164 7F A4 EB 78 */ mr r4, r29 +/* 8035D208 0035A168 7F E6 FB 78 */ mr r6, r31 +/* 8035D20C 0035A16C 38 61 00 08 */ addi r3, r1, 8 +/* 8035D210 0035A170 57 C5 04 3E */ clrlwi r5, r30, 0x10 +/* 8035D214 0035A174 38 E0 00 01 */ li r7, 1 +/* 8035D218 0035A178 39 00 00 00 */ li r8, 0 +/* 8035D21C 0035A17C 39 20 00 00 */ li r9, 0 +/* 8035D220 0035A180 39 40 00 00 */ li r10, 0 +/* 8035D224 0035A184 48 01 CC 41 */ bl GXInitTexObj +/* 8035D228 0035A188 C0 22 CD 24 */ lfs f1, lbl_805AEA44@sda21(r2) +/* 8035D22C 0035A18C 38 61 00 08 */ addi r3, r1, 8 +/* 8035D230 0035A190 38 80 00 00 */ li r4, 0 +/* 8035D234 0035A194 38 A0 00 00 */ li r5, 0 +/* 8035D238 0035A198 FC 40 08 90 */ fmr f2, f1 +/* 8035D23C 0035A19C 38 C0 00 00 */ li r6, 0 +/* 8035D240 0035A1A0 FC 60 08 90 */ fmr f3, f1 +/* 8035D244 0035A1A4 38 E0 00 00 */ li r7, 0 +/* 8035D248 0035A1A8 39 00 00 00 */ li r8, 0 +/* 8035D24C 0035A1AC 48 01 CE D5 */ bl GXInitTexObjLOD +/* 8035D250 0035A1B0 38 61 00 08 */ addi r3, r1, 8 +/* 8035D254 0035A1B4 38 80 00 02 */ li r4, 2 +/* 8035D258 0035A1B8 48 01 D2 3D */ bl GXLoadTexObj +/* 8035D25C 0035A1BC 38 60 00 00 */ li r3, 0 +/* 8035D260 0035A1C0 4B FB 0E E9 */ bl InvalidateTexmap__8CTextureF11_GXTexMapID +/* 8035D264 0035A1C4 38 60 00 01 */ li r3, 1 +/* 8035D268 0035A1C8 4B FB 0E E1 */ bl InvalidateTexmap__8CTextureF11_GXTexMapID +/* 8035D26C 0035A1CC 38 60 00 02 */ li r3, 2 +/* 8035D270 0035A1D0 4B FB 0E D9 */ bl InvalidateTexmap__8CTextureF11_GXTexMapID +/* 8035D274 0035A1D4 80 01 00 84 */ lwz r0, 0x84(r1) +/* 8035D278 0035A1D8 83 E1 00 7C */ lwz r31, 0x7c(r1) +/* 8035D27C 0035A1DC 83 C1 00 78 */ lwz r30, 0x78(r1) +/* 8035D280 0035A1E0 83 A1 00 74 */ lwz r29, 0x74(r1) +/* 8035D284 0035A1E4 83 81 00 70 */ lwz r28, 0x70(r1) +/* 8035D288 0035A1E8 7C 08 03 A6 */ mtlr r0 +/* 8035D28C 0035A1EC 38 21 00 80 */ addi r1, r1, 0x80 +/* 8035D290 0035A1F0 4E 80 00 20 */ blr + +.global MyTHPGXYuv2RgbSetup__Fb +MyTHPGXYuv2RgbSetup__Fb: +/* 8035D294 0035A1F4 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 8035D298 0035A1F8 7C 08 02 A6 */ mflr r0 +/* 8035D29C 0035A1FC 3C A0 80 3E */ lis r5, lbl_803D8380@ha +/* 8035D2A0 0035A200 90 01 00 94 */ stw r0, 0x94(r1) +/* 8035D2A4 0035A204 93 E1 00 8C */ stw r31, 0x8c(r1) +/* 8035D2A8 0035A208 3B E5 83 80 */ addi r31, r5, lbl_803D8380@l +/* 8035D2AC 0035A20C 38 A0 00 00 */ li r5, 0 +/* 8035D2B0 0035A210 93 C1 00 88 */ stw r30, 0x88(r1) +/* 8035D2B4 0035A214 7C 9E 23 78 */ mr r30, r4 +/* 8035D2B8 0035A218 38 80 00 07 */ li r4, 7 +/* 8035D2BC 0035A21C 93 A1 00 84 */ stw r29, 0x84(r1) +/* 8035D2C0 0035A220 7C 7D 1B 78 */ mr r29, r3 +/* 8035D2C4 0035A224 38 60 00 01 */ li r3, 1 +/* 8035D2C8 0035A228 81 5F 00 20 */ lwz r10, 0x20(r31) +/* 8035D2CC 0035A22C 81 3F 00 24 */ lwz r9, 0x24(r31) +/* 8035D2D0 0035A230 81 1F 00 28 */ lwz r8, 0x28(r31) +/* 8035D2D4 0035A234 80 FF 00 2C */ lwz r7, 0x2c(r31) +/* 8035D2D8 0035A238 80 DF 00 30 */ lwz r6, 0x30(r31) +/* 8035D2DC 0035A23C 80 1F 00 34 */ lwz r0, 0x34(r31) +/* 8035D2E0 0035A240 91 41 00 5C */ stw r10, 0x5c(r1) +/* 8035D2E4 0035A244 91 21 00 60 */ stw r9, 0x60(r1) +/* 8035D2E8 0035A248 91 01 00 64 */ stw r8, 0x64(r1) +/* 8035D2EC 0035A24C 90 E1 00 68 */ stw r7, 0x68(r1) +/* 8035D2F0 0035A250 90 C1 00 6C */ stw r6, 0x6c(r1) +/* 8035D2F4 0035A254 90 01 00 70 */ stw r0, 0x70(r1) +/* 8035D2F8 0035A258 4B FA B5 85 */ bl SetZMode__3CGXFb10_GXCompareb +/* 8035D2FC 0035A25C 38 60 00 00 */ li r3, 0 +/* 8035D300 0035A260 38 80 00 01 */ li r4, 1 +/* 8035D304 0035A264 38 A0 00 00 */ li r5, 0 +/* 8035D308 0035A268 38 C0 00 00 */ li r6, 0 +/* 8035D30C 0035A26C 4B FA B5 C5 */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp +/* 8035D310 0035A270 38 60 00 00 */ li r3, 0 +/* 8035D314 0035A274 4B FA BB 3D */ bl SetNumChans__3CGXFUc +/* 8035D318 0035A278 38 60 00 00 */ li r3, 0 +/* 8035D31C 0035A27C 38 80 00 01 */ li r4, 1 +/* 8035D320 0035A280 38 A0 00 04 */ li r5, 4 +/* 8035D324 0035A284 38 C0 00 3C */ li r6, 0x3c +/* 8035D328 0035A288 38 E0 00 00 */ li r7, 0 +/* 8035D32C 0035A28C 39 00 00 7D */ li r8, 0x7d +/* 8035D330 0035A290 4B FA B3 9D */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 8035D334 0035A294 38 60 00 01 */ li r3, 1 +/* 8035D338 0035A298 38 80 00 01 */ li r4, 1 +/* 8035D33C 0035A29C 38 A0 00 04 */ li r5, 4 +/* 8035D340 0035A2A0 38 C0 00 3C */ li r6, 0x3c +/* 8035D344 0035A2A4 38 E0 00 00 */ li r7, 0 +/* 8035D348 0035A2A8 39 00 00 7D */ li r8, 0x7d +/* 8035D34C 0035A2AC 4B FA B3 81 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 8035D350 0035A2B0 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 8035D354 0035A2B4 41 82 00 18 */ beq lbl_8035D36C +/* 8035D358 0035A2B8 38 60 00 02 */ li r3, 2 +/* 8035D35C 0035A2BC 4B FA BA B9 */ bl SetNumTexGens__3CGXFUc +/* 8035D360 0035A2C0 38 60 00 04 */ li r3, 4 +/* 8035D364 0035A2C4 4B FA B9 2D */ bl SetNumTevStages__3CGXFUc +/* 8035D368 0035A2C8 48 00 01 5C */ b lbl_8035D4C4 +lbl_8035D36C: +/* 8035D36C 0035A2CC 38 60 00 03 */ li r3, 3 +/* 8035D370 0035A2D0 4B FA BA A5 */ bl SetNumTexGens__3CGXFUc +/* 8035D374 0035A2D4 38 60 00 02 */ li r3, 2 +/* 8035D378 0035A2D8 38 80 00 01 */ li r4, 1 +/* 8035D37C 0035A2DC 38 A0 00 00 */ li r5, 0 +/* 8035D380 0035A2E0 38 C0 00 1E */ li r6, 0x1e +/* 8035D384 0035A2E4 38 E0 00 00 */ li r7, 0 +/* 8035D388 0035A2E8 39 00 00 7D */ li r8, 0x7d +/* 8035D38C 0035A2EC 4B FA B3 41 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 8035D390 0035A2F0 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 8035D394 0035A2F4 41 82 00 0C */ beq lbl_8035D3A0 +/* 8035D398 0035A2F8 C0 02 CD 38 */ lfs f0, lbl_805AEA58@sda21(r2) +/* 8035D39C 0035A2FC 48 00 00 08 */ b lbl_8035D3A4 +lbl_8035D3A0: +/* 8035D3A0 0035A300 C0 02 CD 24 */ lfs f0, lbl_805AEA44@sda21(r2) +lbl_8035D3A4: +/* 8035D3A4 0035A304 80 1F 00 54 */ lwz r0, 0x54(r31) +/* 8035D3A8 0035A308 38 61 00 3C */ addi r3, r1, 0x3c +/* 8035D3AC 0035A30C 81 7F 00 38 */ lwz r11, 0x38(r31) +/* 8035D3B0 0035A310 38 80 00 1E */ li r4, 0x1e +/* 8035D3B4 0035A314 90 01 00 58 */ stw r0, 0x58(r1) +/* 8035D3B8 0035A318 38 A0 00 01 */ li r5, 1 +/* 8035D3BC 0035A31C 81 5F 00 3C */ lwz r10, 0x3c(r31) +/* 8035D3C0 0035A320 81 3F 00 40 */ lwz r9, 0x40(r31) +/* 8035D3C4 0035A324 81 1F 00 44 */ lwz r8, 0x44(r31) +/* 8035D3C8 0035A328 80 FF 00 48 */ lwz r7, 0x48(r31) +/* 8035D3CC 0035A32C 80 DF 00 4C */ lwz r6, 0x4c(r31) +/* 8035D3D0 0035A330 80 1F 00 50 */ lwz r0, 0x50(r31) +/* 8035D3D4 0035A334 91 61 00 3C */ stw r11, 0x3c(r1) +/* 8035D3D8 0035A338 91 41 00 40 */ stw r10, 0x40(r1) +/* 8035D3DC 0035A33C 91 21 00 44 */ stw r9, 0x44(r1) +/* 8035D3E0 0035A340 91 01 00 48 */ stw r8, 0x48(r1) +/* 8035D3E4 0035A344 90 E1 00 4C */ stw r7, 0x4c(r1) +/* 8035D3E8 0035A348 90 C1 00 50 */ stw r6, 0x50(r1) +/* 8035D3EC 0035A34C 90 01 00 54 */ stw r0, 0x54(r1) +/* 8035D3F0 0035A350 D0 01 00 58 */ stfs f0, 0x58(r1) +/* 8035D3F4 0035A354 48 01 F0 9D */ bl GXLoadTexMtxImm +/* 8035D3F8 0035A358 38 61 00 1C */ addi r3, r1, 0x1c +/* 8035D3FC 0035A35C 38 9F 00 00 */ addi r4, r31, 0 +/* 8035D400 0035A360 38 A0 00 08 */ li r5, 8 +/* 8035D404 0035A364 38 C0 00 04 */ li r6, 4 +/* 8035D408 0035A368 38 E0 00 01 */ li r7, 1 +/* 8035D40C 0035A36C 39 00 00 01 */ li r8, 1 +/* 8035D410 0035A370 39 20 00 01 */ li r9, 1 +/* 8035D414 0035A374 39 40 00 00 */ li r10, 0 +/* 8035D418 0035A378 48 01 CA 4D */ bl GXInitTexObj +/* 8035D41C 0035A37C C0 22 CD 24 */ lfs f1, lbl_805AEA44@sda21(r2) +/* 8035D420 0035A380 38 61 00 1C */ addi r3, r1, 0x1c +/* 8035D424 0035A384 38 80 00 00 */ li r4, 0 +/* 8035D428 0035A388 38 A0 00 00 */ li r5, 0 +/* 8035D42C 0035A38C FC 40 08 90 */ fmr f2, f1 +/* 8035D430 0035A390 38 C0 00 00 */ li r6, 0 +/* 8035D434 0035A394 FC 60 08 90 */ fmr f3, f1 +/* 8035D438 0035A398 38 E0 00 00 */ li r7, 0 +/* 8035D43C 0035A39C 39 00 00 00 */ li r8, 0 +/* 8035D440 0035A3A0 48 01 CC E1 */ bl GXInitTexObjLOD +/* 8035D444 0035A3A4 38 61 00 1C */ addi r3, r1, 0x1c +/* 8035D448 0035A3A8 38 80 00 03 */ li r4, 3 +/* 8035D44C 0035A3AC 48 01 D0 49 */ bl GXLoadTexObj +/* 8035D450 0035A3B0 38 60 00 03 */ li r3, 3 +/* 8035D454 0035A3B4 4B FB 0C F5 */ bl InvalidateTexmap__8CTextureF11_GXTexMapID +/* 8035D458 0035A3B8 38 60 00 04 */ li r3, 4 +/* 8035D45C 0035A3BC 38 80 00 02 */ li r4, 2 +/* 8035D460 0035A3C0 38 A0 00 03 */ li r5, 3 +/* 8035D464 0035A3C4 38 C0 00 FF */ li r6, 0xff +/* 8035D468 0035A3C8 4B FA B4 E5 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 8035D46C 0035A3CC 38 60 00 04 */ li r3, 4 +/* 8035D470 0035A3D0 4B FA A7 E1 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID +/* 8035D474 0035A3D4 38 60 00 04 */ li r3, 4 +/* 8035D478 0035A3D8 38 80 00 0F */ li r4, 0xf +/* 8035D47C 0035A3DC 38 A0 00 0F */ li r5, 0xf +/* 8035D480 0035A3E0 38 C0 00 0F */ li r6, 0xf +/* 8035D484 0035A3E4 38 E0 00 00 */ li r7, 0 +/* 8035D488 0035A3E8 4B FA B7 65 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg +/* 8035D48C 0035A3EC 38 60 00 04 */ li r3, 4 +/* 8035D490 0035A3F0 38 80 00 07 */ li r4, 7 +/* 8035D494 0035A3F4 38 A0 00 07 */ li r5, 7 +/* 8035D498 0035A3F8 38 C0 00 07 */ li r6, 7 +/* 8035D49C 0035A3FC 38 E0 00 04 */ li r7, 4 +/* 8035D4A0 0035A400 4B FA B6 F5 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg +/* 8035D4A4 0035A404 38 60 00 01 */ li r3, 1 +/* 8035D4A8 0035A408 38 80 00 80 */ li r4, 0x80 +/* 8035D4AC 0035A40C 38 A0 00 00 */ li r5, 0 +/* 8035D4B0 0035A410 38 C0 00 07 */ li r6, 7 +/* 8035D4B4 0035A414 38 E0 00 00 */ li r7, 0 +/* 8035D4B8 0035A418 4B FA B3 5D */ bl SetAlphaCompare__3CGXF10_GXCompareUc10_GXAlphaOp10_GXCompareUc +/* 8035D4BC 0035A41C 38 60 00 05 */ li r3, 5 +/* 8035D4C0 0035A420 4B FA B7 D1 */ bl SetNumTevStages__3CGXFUc +lbl_8035D4C4: +/* 8035D4C4 0035A424 38 61 00 5C */ addi r3, r1, 0x5c +/* 8035D4C8 0035A428 4B FA A9 61 */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList +/* 8035D4CC 0035A42C 38 60 00 01 */ li r3, 1 +/* 8035D4D0 0035A430 48 01 EA 31 */ bl GXSetColorUpdate +/* 8035D4D4 0035A434 38 60 00 00 */ li r3, 0 +/* 8035D4D8 0035A438 48 01 EA 55 */ bl GXSetAlphaUpdate +/* 8035D4DC 0035A43C 48 01 D3 65 */ bl GXInvalidateTexAll +/* 8035D4E0 0035A440 38 60 00 07 */ li r3, 7 +/* 8035D4E4 0035A444 38 80 00 09 */ li r4, 9 +/* 8035D4E8 0035A448 38 A0 00 01 */ li r5, 1 +/* 8035D4EC 0035A44C 38 C0 00 04 */ li r6, 4 +/* 8035D4F0 0035A450 38 E0 00 00 */ li r7, 0 +/* 8035D4F4 0035A454 48 01 A2 99 */ bl GXSetVtxAttrFmt +/* 8035D4F8 0035A458 38 60 00 07 */ li r3, 7 +/* 8035D4FC 0035A45C 38 80 00 0D */ li r4, 0xd +/* 8035D500 0035A460 38 A0 00 01 */ li r5, 1 +/* 8035D504 0035A464 38 C0 00 02 */ li r6, 2 +/* 8035D508 0035A468 38 E0 00 00 */ li r7, 0 +/* 8035D50C 0035A46C 48 01 A2 81 */ bl GXSetVtxAttrFmt +/* 8035D510 0035A470 38 60 00 00 */ li r3, 0 +/* 8035D514 0035A474 38 80 00 01 */ li r4, 1 +/* 8035D518 0035A478 38 A0 00 01 */ li r5, 1 +/* 8035D51C 0035A47C 38 C0 00 FF */ li r6, 0xff +/* 8035D520 0035A480 4B FA B4 2D */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 8035D524 0035A484 38 60 00 00 */ li r3, 0 +/* 8035D528 0035A488 38 80 00 0F */ li r4, 0xf +/* 8035D52C 0035A48C 38 A0 00 08 */ li r5, 8 +/* 8035D530 0035A490 38 C0 00 0E */ li r6, 0xe +/* 8035D534 0035A494 38 E0 00 02 */ li r7, 2 +/* 8035D538 0035A498 4B FA B6 B5 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg +/* 8035D53C 0035A49C 38 60 00 00 */ li r3, 0 +/* 8035D540 0035A4A0 38 80 00 00 */ li r4, 0 +/* 8035D544 0035A4A4 38 A0 00 00 */ li r5, 0 +/* 8035D548 0035A4A8 38 C0 00 00 */ li r6, 0 +/* 8035D54C 0035A4AC 38 E0 00 00 */ li r7, 0 +/* 8035D550 0035A4B0 39 00 00 00 */ li r8, 0 +/* 8035D554 0035A4B4 4B FA B5 E5 */ bl SetTevColorOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID +/* 8035D558 0035A4B8 38 60 00 00 */ li r3, 0 +/* 8035D55C 0035A4BC 38 80 00 07 */ li r4, 7 +/* 8035D560 0035A4C0 38 A0 00 04 */ li r5, 4 +/* 8035D564 0035A4C4 38 C0 00 06 */ li r6, 6 +/* 8035D568 0035A4C8 38 E0 00 01 */ li r7, 1 +/* 8035D56C 0035A4CC 4B FA B6 29 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg +/* 8035D570 0035A4D0 38 60 00 00 */ li r3, 0 +/* 8035D574 0035A4D4 38 80 00 01 */ li r4, 1 +/* 8035D578 0035A4D8 38 A0 00 00 */ li r5, 0 +/* 8035D57C 0035A4DC 38 C0 00 00 */ li r6, 0 +/* 8035D580 0035A4E0 38 E0 00 00 */ li r7, 0 +/* 8035D584 0035A4E4 39 00 00 00 */ li r8, 0 +/* 8035D588 0035A4E8 4B FA B4 F9 */ bl SetTevAlphaOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID +/* 8035D58C 0035A4EC 38 60 00 00 */ li r3, 0 +/* 8035D590 0035A4F0 38 80 00 0C */ li r4, 0xc +/* 8035D594 0035A4F4 4B FA B4 4D */ bl SetTevKColorSel__3CGXF13_GXTevStageID15_GXTevKColorSel +/* 8035D598 0035A4F8 38 60 00 00 */ li r3, 0 +/* 8035D59C 0035A4FC 38 80 00 1C */ li r4, 0x1c +/* 8035D5A0 0035A500 4B FA B3 FD */ bl SetTevKAlphaSel__3CGXF13_GXTevStageID15_GXTevKAlphaSel +/* 8035D5A4 0035A504 38 60 00 01 */ li r3, 1 +/* 8035D5A8 0035A508 38 80 00 01 */ li r4, 1 +/* 8035D5AC 0035A50C 38 A0 00 02 */ li r5, 2 +/* 8035D5B0 0035A510 38 C0 00 FF */ li r6, 0xff +/* 8035D5B4 0035A514 4B FA B3 99 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 8035D5B8 0035A518 38 60 00 01 */ li r3, 1 +/* 8035D5BC 0035A51C 38 80 00 0F */ li r4, 0xf +/* 8035D5C0 0035A520 38 A0 00 08 */ li r5, 8 +/* 8035D5C4 0035A524 38 C0 00 0E */ li r6, 0xe +/* 8035D5C8 0035A528 38 E0 00 00 */ li r7, 0 +/* 8035D5CC 0035A52C 4B FA B6 21 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg +/* 8035D5D0 0035A530 38 60 00 01 */ li r3, 1 +/* 8035D5D4 0035A534 38 80 00 00 */ li r4, 0 +/* 8035D5D8 0035A538 38 A0 00 00 */ li r5, 0 +/* 8035D5DC 0035A53C 38 C0 00 01 */ li r6, 1 +/* 8035D5E0 0035A540 38 E0 00 00 */ li r7, 0 +/* 8035D5E4 0035A544 39 00 00 00 */ li r8, 0 +/* 8035D5E8 0035A548 4B FA B5 51 */ bl SetTevColorOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID +/* 8035D5EC 0035A54C 38 60 00 01 */ li r3, 1 +/* 8035D5F0 0035A550 38 80 00 07 */ li r4, 7 +/* 8035D5F4 0035A554 38 A0 00 04 */ li r5, 4 +/* 8035D5F8 0035A558 38 C0 00 06 */ li r6, 6 +/* 8035D5FC 0035A55C 38 E0 00 00 */ li r7, 0 +/* 8035D600 0035A560 4B FA B5 95 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg +/* 8035D604 0035A564 38 60 00 01 */ li r3, 1 +/* 8035D608 0035A568 38 80 00 01 */ li r4, 1 +/* 8035D60C 0035A56C 38 A0 00 00 */ li r5, 0 +/* 8035D610 0035A570 38 C0 00 00 */ li r6, 0 +/* 8035D614 0035A574 38 E0 00 00 */ li r7, 0 +/* 8035D618 0035A578 39 00 00 00 */ li r8, 0 +/* 8035D61C 0035A57C 4B FA B4 65 */ bl SetTevAlphaOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID +/* 8035D620 0035A580 38 60 00 01 */ li r3, 1 +/* 8035D624 0035A584 38 80 00 0D */ li r4, 0xd +/* 8035D628 0035A588 4B FA B3 B9 */ bl SetTevKColorSel__3CGXF13_GXTevStageID15_GXTevKColorSel +/* 8035D62C 0035A58C 38 60 00 01 */ li r3, 1 +/* 8035D630 0035A590 38 80 00 1D */ li r4, 0x1d +/* 8035D634 0035A594 4B FA B3 69 */ bl SetTevKAlphaSel__3CGXF13_GXTevStageID15_GXTevKAlphaSel +/* 8035D638 0035A598 38 60 00 02 */ li r3, 2 +/* 8035D63C 0035A59C 38 80 00 00 */ li r4, 0 +/* 8035D640 0035A5A0 38 A0 00 00 */ li r5, 0 +/* 8035D644 0035A5A4 38 C0 00 FF */ li r6, 0xff +/* 8035D648 0035A5A8 4B FA B3 05 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 8035D64C 0035A5AC 38 60 00 02 */ li r3, 2 +/* 8035D650 0035A5B0 38 80 00 0F */ li r4, 0xf +/* 8035D654 0035A5B4 38 A0 00 08 */ li r5, 8 +/* 8035D658 0035A5B8 38 C0 00 0C */ li r6, 0xc +/* 8035D65C 0035A5BC 38 E0 00 00 */ li r7, 0 +/* 8035D660 0035A5C0 4B FA B5 8D */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg +/* 8035D664 0035A5C4 38 60 00 02 */ li r3, 2 +/* 8035D668 0035A5C8 38 80 00 00 */ li r4, 0 +/* 8035D66C 0035A5CC 38 A0 00 00 */ li r5, 0 +/* 8035D670 0035A5D0 38 C0 00 00 */ li r6, 0 +/* 8035D674 0035A5D4 38 E0 00 01 */ li r7, 1 +/* 8035D678 0035A5D8 39 00 00 00 */ li r8, 0 +/* 8035D67C 0035A5DC 4B FA B4 BD */ bl SetTevColorOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID +/* 8035D680 0035A5E0 38 60 00 02 */ li r3, 2 +/* 8035D684 0035A5E4 38 80 00 04 */ li r4, 4 +/* 8035D688 0035A5E8 38 A0 00 07 */ li r5, 7 +/* 8035D68C 0035A5EC 38 C0 00 07 */ li r6, 7 +/* 8035D690 0035A5F0 38 E0 00 00 */ li r7, 0 +/* 8035D694 0035A5F4 4B FA B5 01 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg +/* 8035D698 0035A5F8 38 60 00 02 */ li r3, 2 +/* 8035D69C 0035A5FC 38 80 00 00 */ li r4, 0 +/* 8035D6A0 0035A600 38 A0 00 00 */ li r5, 0 +/* 8035D6A4 0035A604 38 C0 00 00 */ li r6, 0 +/* 8035D6A8 0035A608 38 E0 00 01 */ li r7, 1 +/* 8035D6AC 0035A60C 39 00 00 00 */ li r8, 0 +/* 8035D6B0 0035A610 4B FA B3 D1 */ bl SetTevAlphaOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID +/* 8035D6B4 0035A614 38 60 00 03 */ li r3, 3 +/* 8035D6B8 0035A618 38 80 00 FF */ li r4, 0xff +/* 8035D6BC 0035A61C 38 A0 00 FF */ li r5, 0xff +/* 8035D6C0 0035A620 38 C0 00 FF */ li r6, 0xff +/* 8035D6C4 0035A624 4B FA B2 89 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 8035D6C8 0035A628 38 60 00 03 */ li r3, 3 +/* 8035D6CC 0035A62C 38 80 00 01 */ li r4, 1 +/* 8035D6D0 0035A630 38 A0 00 00 */ li r5, 0 +/* 8035D6D4 0035A634 38 C0 00 0E */ li r6, 0xe +/* 8035D6D8 0035A638 38 E0 00 0F */ li r7, 0xf +/* 8035D6DC 0035A63C 4B FA B5 11 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg +/* 8035D6E0 0035A640 38 60 00 03 */ li r3, 3 +/* 8035D6E4 0035A644 38 80 00 00 */ li r4, 0 +/* 8035D6E8 0035A648 38 A0 00 00 */ li r5, 0 +/* 8035D6EC 0035A64C 38 C0 00 00 */ li r6, 0 +/* 8035D6F0 0035A650 38 E0 00 01 */ li r7, 1 +/* 8035D6F4 0035A654 39 00 00 00 */ li r8, 0 +/* 8035D6F8 0035A658 4B FA B4 41 */ bl SetTevColorOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID +/* 8035D6FC 0035A65C 38 60 00 03 */ li r3, 3 +/* 8035D700 0035A660 38 80 00 07 */ li r4, 7 +/* 8035D704 0035A664 38 A0 00 07 */ li r5, 7 +/* 8035D708 0035A668 38 C0 00 07 */ li r6, 7 +/* 8035D70C 0035A66C 38 E0 00 07 */ li r7, 7 +/* 8035D710 0035A670 4B FA B4 85 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg +/* 8035D714 0035A674 38 60 00 03 */ li r3, 3 +/* 8035D718 0035A678 38 80 00 00 */ li r4, 0 +/* 8035D71C 0035A67C 38 A0 00 00 */ li r5, 0 +/* 8035D720 0035A680 38 C0 00 00 */ li r6, 0 +/* 8035D724 0035A684 38 E0 00 01 */ li r7, 1 +/* 8035D728 0035A688 39 00 00 00 */ li r8, 0 +/* 8035D72C 0035A68C 4B FA B3 55 */ bl SetTevAlphaOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID +/* 8035D730 0035A690 38 60 00 03 */ li r3, 3 +/* 8035D734 0035A694 38 80 00 0E */ li r4, 0xe +/* 8035D738 0035A698 4B FA B2 A9 */ bl SetTevKColorSel__3CGXF13_GXTevStageID15_GXTevKColorSel +/* 8035D73C 0035A69C 80 A2 CD 10 */ lwz r5, lbl_805AEA30@sda21(r2) +/* 8035D740 0035A6A0 38 81 00 14 */ addi r4, r1, 0x14 +/* 8035D744 0035A6A4 80 02 CD 14 */ lwz r0, lbl_805AEA34@sda21(r2) +/* 8035D748 0035A6A8 38 60 00 01 */ li r3, 1 +/* 8035D74C 0035A6AC 90 A1 00 14 */ stw r5, 0x14(r1) +/* 8035D750 0035A6B0 90 01 00 18 */ stw r0, 0x18(r1) +/* 8035D754 0035A6B4 48 01 DF 1D */ bl GXSetTevColorS10 +/* 8035D758 0035A6B8 80 02 CD 18 */ lwz r0, lbl_805AEA38@sda21(r2) +/* 8035D75C 0035A6BC 38 81 00 10 */ addi r4, r1, 0x10 +/* 8035D760 0035A6C0 38 60 00 00 */ li r3, 0 +/* 8035D764 0035A6C4 90 01 00 10 */ stw r0, 0x10(r1) +/* 8035D768 0035A6C8 4B FA B4 DD */ bl SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor +/* 8035D76C 0035A6CC 80 02 CD 1C */ lwz r0, lbl_805AEA3C@sda21(r2) +/* 8035D770 0035A6D0 38 81 00 0C */ addi r4, r1, 0xc +/* 8035D774 0035A6D4 38 60 00 01 */ li r3, 1 +/* 8035D778 0035A6D8 90 01 00 0C */ stw r0, 0xc(r1) +/* 8035D77C 0035A6DC 4B FA B4 C9 */ bl SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor +/* 8035D780 0035A6E0 80 02 CD 20 */ lwz r0, lbl_805AEA40@sda21(r2) +/* 8035D784 0035A6E4 38 81 00 08 */ addi r4, r1, 8 +/* 8035D788 0035A6E8 38 60 00 02 */ li r3, 2 +/* 8035D78C 0035A6EC 90 01 00 08 */ stw r0, 8(r1) +/* 8035D790 0035A6F0 4B FA B4 B5 */ bl SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor +/* 8035D794 0035A6F4 80 01 00 94 */ lwz r0, 0x94(r1) +/* 8035D798 0035A6F8 83 E1 00 8C */ lwz r31, 0x8c(r1) +/* 8035D79C 0035A6FC 83 C1 00 88 */ lwz r30, 0x88(r1) +/* 8035D7A0 0035A700 83 A1 00 84 */ lwz r29, 0x84(r1) +/* 8035D7A4 0035A704 7C 08 03 A6 */ mtlr r0 +/* 8035D7A8 0035A708 38 21 00 90 */ addi r1, r1, 0x90 +/* 8035D7AC 0035A70C 4E 80 00 20 */ blr + +.global MyTHPGXRestore__Fv +MyTHPGXRestore__Fv: +/* 8035D7B0 0035A710 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8035D7B4 0035A714 7C 08 02 A6 */ mflr r0 +/* 8035D7B8 0035A718 38 60 00 01 */ li r3, 1 +/* 8035D7BC 0035A71C 38 80 00 07 */ li r4, 7 +/* 8035D7C0 0035A720 90 01 00 14 */ stw r0, 0x14(r1) +/* 8035D7C4 0035A724 38 A0 00 00 */ li r5, 0 +/* 8035D7C8 0035A728 4B FA B0 B5 */ bl SetZMode__3CGXFb10_GXCompareb +/* 8035D7CC 0035A72C 38 60 00 00 */ li r3, 0 +/* 8035D7D0 0035A730 38 80 00 01 */ li r4, 1 +/* 8035D7D4 0035A734 38 A0 00 00 */ li r5, 0 +/* 8035D7D8 0035A738 38 C0 00 0F */ li r6, 0xf +/* 8035D7DC 0035A73C 4B FA B0 F5 */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp +/* 8035D7E0 0035A740 38 60 00 01 */ li r3, 1 +/* 8035D7E4 0035A744 4B FA B6 31 */ bl SetNumTexGens__3CGXFUc +/* 8035D7E8 0035A748 38 60 00 00 */ li r3, 0 +/* 8035D7EC 0035A74C 4B FA B6 65 */ bl SetNumChans__3CGXFUc +/* 8035D7F0 0035A750 38 60 00 01 */ li r3, 1 +/* 8035D7F4 0035A754 4B FA B4 9D */ bl SetNumTevStages__3CGXFUc +/* 8035D7F8 0035A758 38 60 00 00 */ li r3, 0 +/* 8035D7FC 0035A75C 38 80 00 00 */ li r4, 0 +/* 8035D800 0035A760 38 A0 00 00 */ li r5, 0 +/* 8035D804 0035A764 38 C0 00 FF */ li r6, 0xff +/* 8035D808 0035A768 4B FA B1 45 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 8035D80C 0035A76C 38 60 00 07 */ li r3, 7 +/* 8035D810 0035A770 38 80 00 00 */ li r4, 0 +/* 8035D814 0035A774 38 A0 00 00 */ li r5, 0 +/* 8035D818 0035A778 38 C0 00 07 */ li r6, 7 +/* 8035D81C 0035A77C 38 E0 00 00 */ li r7, 0 +/* 8035D820 0035A780 4B FA AF F5 */ bl SetAlphaCompare__3CGXF10_GXCompareUc10_GXAlphaOp10_GXCompareUc +/* 8035D824 0035A784 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8035D828 0035A788 7C 08 03 A6 */ mtlr r0 +/* 8035D82C 0035A78C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8035D830 0035A790 4E 80 00 20 */ blr + +.global "reserve__Q24rstl67vectorFi" +"reserve__Q24rstl67vectorFi": +/* 8035D834 0035A794 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8035D838 0035A798 7C 08 02 A6 */ mflr r0 +/* 8035D83C 0035A79C 90 01 00 34 */ stw r0, 0x34(r1) +/* 8035D840 0035A7A0 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 8035D844 0035A7A4 7C 9E 23 78 */ mr r30, r4 +/* 8035D848 0035A7A8 7C 7D 1B 78 */ mr r29, r3 +/* 8035D84C 0035A7AC 80 03 00 08 */ lwz r0, 8(r3) +/* 8035D850 0035A7B0 7C 1E 00 00 */ cmpw r30, r0 +/* 8035D854 0035A7B4 40 81 01 10 */ ble lbl_8035D964 +/* 8035D858 0035A7B8 1C 7E 00 28 */ mulli r3, r30, 0x28 +/* 8035D85C 0035A7BC 2C 03 00 00 */ cmpwi r3, 0 +/* 8035D860 0035A7C0 40 82 00 0C */ bne lbl_8035D86C +/* 8035D864 0035A7C4 3B E0 00 00 */ li r31, 0 +/* 8035D868 0035A7C8 48 00 00 18 */ b lbl_8035D880 +lbl_8035D86C: +/* 8035D86C 0035A7CC 3C 80 80 3E */ lis r4, lbl_803D83D8@ha +/* 8035D870 0035A7D0 38 A0 00 00 */ li r5, 0 +/* 8035D874 0035A7D4 38 84 83 D8 */ addi r4, r4, lbl_803D83D8@l +/* 8035D878 0035A7D8 4B FB 7F A1 */ bl __nwa__FUlPCcPCc +/* 8035D87C 0035A7DC 7C 7F 1B 78 */ mr r31, r3 +lbl_8035D880: +/* 8035D880 0035A7E0 80 1D 00 04 */ lwz r0, 4(r29) +/* 8035D884 0035A7E4 7F E5 FB 78 */ mr r5, r31 +/* 8035D888 0035A7E8 80 DD 00 0C */ lwz r6, 0xc(r29) +/* 8035D88C 0035A7EC 38 61 00 14 */ addi r3, r1, 0x14 +/* 8035D890 0035A7F0 1C 00 00 28 */ mulli r0, r0, 0x28 +/* 8035D894 0035A7F4 38 81 00 0C */ addi r4, r1, 0xc +/* 8035D898 0035A7F8 7C C6 02 14 */ add r6, r6, r0 +/* 8035D89C 0035A7FC 90 C1 00 0C */ stw r6, 0xc(r1) +/* 8035D8A0 0035A800 80 1D 00 0C */ lwz r0, 0xc(r29) +/* 8035D8A4 0035A804 90 C1 00 08 */ stw r6, 8(r1) +/* 8035D8A8 0035A808 90 01 00 10 */ stw r0, 0x10(r1) +/* 8035D8AC 0035A80C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8035D8B0 0035A810 48 00 00 C9 */ bl "construct__4rstlFPvRCQ212CMoviePlayer14CTHPTextureSet" +/* 8035D8B4 0035A814 80 1D 00 04 */ lwz r0, 4(r29) +/* 8035D8B8 0035A818 83 7D 00 0C */ lwz r27, 0xc(r29) +/* 8035D8BC 0035A81C 1C 00 00 28 */ mulli r0, r0, 0x28 +/* 8035D8C0 0035A820 7F 9B 02 14 */ add r28, r27, r0 +/* 8035D8C4 0035A824 48 00 00 80 */ b lbl_8035D944 +lbl_8035D8C8: +/* 8035D8C8 0035A828 28 1B 00 00 */ cmplwi r27, 0 +/* 8035D8CC 0035A82C 41 82 00 74 */ beq lbl_8035D940 +/* 8035D8D0 0035A830 34 1B 00 18 */ addic. r0, r27, 0x18 +/* 8035D8D4 0035A834 41 82 00 18 */ beq lbl_8035D8EC +/* 8035D8D8 0035A838 88 1B 00 18 */ lbz r0, 0x18(r27) +/* 8035D8DC 0035A83C 28 00 00 00 */ cmplwi r0, 0 +/* 8035D8E0 0035A840 41 82 00 0C */ beq lbl_8035D8EC +/* 8035D8E4 0035A844 80 7B 00 1C */ lwz r3, 0x1c(r27) +/* 8035D8E8 0035A848 4B FB 80 49 */ bl Free__7CMemoryFPCv +lbl_8035D8EC: +/* 8035D8EC 0035A84C 34 1B 00 10 */ addic. r0, r27, 0x10 +/* 8035D8F0 0035A850 41 82 00 18 */ beq lbl_8035D908 +/* 8035D8F4 0035A854 88 1B 00 10 */ lbz r0, 0x10(r27) +/* 8035D8F8 0035A858 28 00 00 00 */ cmplwi r0, 0 +/* 8035D8FC 0035A85C 41 82 00 0C */ beq lbl_8035D908 +/* 8035D900 0035A860 80 7B 00 14 */ lwz r3, 0x14(r27) +/* 8035D904 0035A864 4B FB 80 2D */ bl Free__7CMemoryFPCv +lbl_8035D908: +/* 8035D908 0035A868 34 1B 00 08 */ addic. r0, r27, 8 +/* 8035D90C 0035A86C 41 82 00 18 */ beq lbl_8035D924 +/* 8035D910 0035A870 88 1B 00 08 */ lbz r0, 8(r27) +/* 8035D914 0035A874 28 00 00 00 */ cmplwi r0, 0 +/* 8035D918 0035A878 41 82 00 0C */ beq lbl_8035D924 +/* 8035D91C 0035A87C 80 7B 00 0C */ lwz r3, 0xc(r27) +/* 8035D920 0035A880 4B FB 80 11 */ bl Free__7CMemoryFPCv +lbl_8035D924: +/* 8035D924 0035A884 28 1B 00 00 */ cmplwi r27, 0 +/* 8035D928 0035A888 41 82 00 18 */ beq lbl_8035D940 +/* 8035D92C 0035A88C 88 1B 00 00 */ lbz r0, 0(r27) +/* 8035D930 0035A890 28 00 00 00 */ cmplwi r0, 0 +/* 8035D934 0035A894 41 82 00 0C */ beq lbl_8035D940 +/* 8035D938 0035A898 80 7B 00 04 */ lwz r3, 4(r27) +/* 8035D93C 0035A89C 4B FB 7F F5 */ bl Free__7CMemoryFPCv +lbl_8035D940: +/* 8035D940 0035A8A0 3B 7B 00 28 */ addi r27, r27, 0x28 +lbl_8035D944: +/* 8035D944 0035A8A4 7C 1B E0 40 */ cmplw r27, r28 +/* 8035D948 0035A8A8 40 82 FF 80 */ bne lbl_8035D8C8 +/* 8035D94C 0035A8AC 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 8035D950 0035A8B0 28 03 00 00 */ cmplwi r3, 0 +/* 8035D954 0035A8B4 41 82 00 08 */ beq lbl_8035D95C +/* 8035D958 0035A8B8 4B FB 7F D9 */ bl Free__7CMemoryFPCv +lbl_8035D95C: +/* 8035D95C 0035A8BC 93 FD 00 0C */ stw r31, 0xc(r29) +/* 8035D960 0035A8C0 93 DD 00 08 */ stw r30, 8(r29) +lbl_8035D964: +/* 8035D964 0035A8C4 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 8035D968 0035A8C8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8035D96C 0035A8CC 7C 08 03 A6 */ mtlr r0 +/* 8035D970 0035A8D0 38 21 00 30 */ addi r1, r1, 0x30 +/* 8035D974 0035A8D4 4E 80 00 20 */ blr + +.global "construct__4rstlFPvRCQ212CMoviePlayer14CTHPTextureSet" +"construct__4rstlFPvRCQ212CMoviePlayer14CTHPTextureSet": +/* 8035D978 0035A8D8 80 C3 00 00 */ lwz r6, 0(r3) +/* 8035D97C 0035A8DC 48 00 00 78 */ b lbl_8035D9F4 +lbl_8035D980: +/* 8035D980 0035A8E0 28 05 00 00 */ cmplwi r5, 0 +/* 8035D984 0035A8E4 41 82 00 68 */ beq lbl_8035D9EC +/* 8035D988 0035A8E8 88 06 00 00 */ lbz r0, 0(r6) +/* 8035D98C 0035A8EC 38 60 00 00 */ li r3, 0 +/* 8035D990 0035A8F0 98 05 00 00 */ stb r0, 0(r5) +/* 8035D994 0035A8F4 80 06 00 04 */ lwz r0, 4(r6) +/* 8035D998 0035A8F8 90 05 00 04 */ stw r0, 4(r5) +/* 8035D99C 0035A8FC 98 66 00 00 */ stb r3, 0(r6) +/* 8035D9A0 0035A900 88 06 00 08 */ lbz r0, 8(r6) +/* 8035D9A4 0035A904 98 05 00 08 */ stb r0, 8(r5) +/* 8035D9A8 0035A908 80 06 00 0C */ lwz r0, 0xc(r6) +/* 8035D9AC 0035A90C 90 05 00 0C */ stw r0, 0xc(r5) +/* 8035D9B0 0035A910 98 66 00 08 */ stb r3, 8(r6) +/* 8035D9B4 0035A914 88 06 00 10 */ lbz r0, 0x10(r6) +/* 8035D9B8 0035A918 98 05 00 10 */ stb r0, 0x10(r5) +/* 8035D9BC 0035A91C 80 06 00 14 */ lwz r0, 0x14(r6) +/* 8035D9C0 0035A920 90 05 00 14 */ stw r0, 0x14(r5) +/* 8035D9C4 0035A924 98 66 00 10 */ stb r3, 0x10(r6) +/* 8035D9C8 0035A928 88 06 00 18 */ lbz r0, 0x18(r6) +/* 8035D9CC 0035A92C 98 05 00 18 */ stb r0, 0x18(r5) +/* 8035D9D0 0035A930 80 06 00 1C */ lwz r0, 0x1c(r6) +/* 8035D9D4 0035A934 90 05 00 1C */ stw r0, 0x1c(r5) +/* 8035D9D8 0035A938 98 66 00 18 */ stb r3, 0x18(r6) +/* 8035D9DC 0035A93C 80 06 00 20 */ lwz r0, 0x20(r6) +/* 8035D9E0 0035A940 90 05 00 20 */ stw r0, 0x20(r5) +/* 8035D9E4 0035A944 80 06 00 24 */ lwz r0, 0x24(r6) +/* 8035D9E8 0035A948 90 05 00 24 */ stw r0, 0x24(r5) +lbl_8035D9EC: +/* 8035D9EC 0035A94C 38 A5 00 28 */ addi r5, r5, 0x28 +/* 8035D9F0 0035A950 38 C6 00 28 */ addi r6, r6, 0x28 +lbl_8035D9F4: +/* 8035D9F4 0035A954 80 04 00 00 */ lwz r0, 0(r4) +/* 8035D9F8 0035A958 7C 06 00 40 */ cmplw r6, r0 +/* 8035D9FC 0035A95C 40 82 FF 84 */ bne lbl_8035D980 +/* 8035DA00 0035A960 7C A3 2B 78 */ mr r3, r5 +/* 8035DA04 0035A964 4E 80 00 20 */ blr + +.global "reserve__Q24rstl56vector,Q24rstl17rmemory_allocator>Fi" +"reserve__Q24rstl56vector,Q24rstl17rmemory_allocator>Fi": +/* 8035DA08 0035A968 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8035DA0C 0035A96C 7C 08 02 A6 */ mflr r0 +/* 8035DA10 0035A970 90 01 00 34 */ stw r0, 0x34(r1) +/* 8035DA14 0035A974 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 8035DA18 0035A978 7C 9F 23 78 */ mr r31, r4 +/* 8035DA1C 0035A97C 7C 7E 1B 78 */ mr r30, r3 +/* 8035DA20 0035A980 80 03 00 08 */ lwz r0, 8(r3) +/* 8035DA24 0035A984 7C 1F 00 00 */ cmpw r31, r0 +/* 8035DA28 0035A988 40 81 00 D4 */ ble lbl_8035DAFC +/* 8035DA2C 0035A98C 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c +/* 8035DA30 0035A990 40 82 00 0C */ bne lbl_8035DA3C +/* 8035DA34 0035A994 3B A0 00 00 */ li r29, 0 +/* 8035DA38 0035A998 48 00 00 18 */ b lbl_8035DA50 +lbl_8035DA3C: +/* 8035DA3C 0035A99C 3C 80 80 3E */ lis r4, lbl_803D83D8@ha +/* 8035DA40 0035A9A0 38 A0 00 00 */ li r5, 0 +/* 8035DA44 0035A9A4 38 84 83 D8 */ addi r4, r4, lbl_803D83D8@l +/* 8035DA48 0035A9A8 4B FB 7D D1 */ bl __nwa__FUlPCcPCc +/* 8035DA4C 0035A9AC 7C 7D 1B 78 */ mr r29, r3 +lbl_8035DA50: +/* 8035DA50 0035A9B0 80 7E 00 04 */ lwz r3, 4(r30) +/* 8035DA54 0035A9B4 7F A5 EB 78 */ mr r5, r29 +/* 8035DA58 0035A9B8 80 DE 00 0C */ lwz r6, 0xc(r30) +/* 8035DA5C 0035A9BC 38 00 00 00 */ li r0, 0 +/* 8035DA60 0035A9C0 54 63 18 38 */ slwi r3, r3, 3 +/* 8035DA64 0035A9C4 7C 86 1A 14 */ add r4, r6, r3 +/* 8035DA68 0035A9C8 90 C1 00 10 */ stw r6, 0x10(r1) +/* 8035DA6C 0035A9CC 90 81 00 08 */ stw r4, 8(r1) +/* 8035DA70 0035A9D0 90 81 00 0C */ stw r4, 0xc(r1) +/* 8035DA74 0035A9D4 90 C1 00 14 */ stw r6, 0x14(r1) +/* 8035DA78 0035A9D8 48 00 00 28 */ b lbl_8035DAA0 +lbl_8035DA7C: +/* 8035DA7C 0035A9DC 28 05 00 00 */ cmplwi r5, 0 +/* 8035DA80 0035A9E0 41 82 00 18 */ beq lbl_8035DA98 +/* 8035DA84 0035A9E4 88 66 00 00 */ lbz r3, 0(r6) +/* 8035DA88 0035A9E8 98 65 00 00 */ stb r3, 0(r5) +/* 8035DA8C 0035A9EC 80 66 00 04 */ lwz r3, 4(r6) +/* 8035DA90 0035A9F0 90 65 00 04 */ stw r3, 4(r5) +/* 8035DA94 0035A9F4 98 06 00 00 */ stb r0, 0(r6) +lbl_8035DA98: +/* 8035DA98 0035A9F8 38 A5 00 08 */ addi r5, r5, 8 +/* 8035DA9C 0035A9FC 38 C6 00 08 */ addi r6, r6, 8 +lbl_8035DAA0: +/* 8035DAA0 0035AA00 7C 06 20 40 */ cmplw r6, r4 +/* 8035DAA4 0035AA04 40 82 FF D8 */ bne lbl_8035DA7C +/* 8035DAA8 0035AA08 80 1E 00 04 */ lwz r0, 4(r30) +/* 8035DAAC 0035AA0C 83 7E 00 0C */ lwz r27, 0xc(r30) +/* 8035DAB0 0035AA10 54 00 18 38 */ slwi r0, r0, 3 +/* 8035DAB4 0035AA14 7F 9B 02 14 */ add r28, r27, r0 +/* 8035DAB8 0035AA18 48 00 00 24 */ b lbl_8035DADC +lbl_8035DABC: +/* 8035DABC 0035AA1C 28 1B 00 00 */ cmplwi r27, 0 +/* 8035DAC0 0035AA20 41 82 00 18 */ beq lbl_8035DAD8 +/* 8035DAC4 0035AA24 88 1B 00 00 */ lbz r0, 0(r27) +/* 8035DAC8 0035AA28 28 00 00 00 */ cmplwi r0, 0 +/* 8035DACC 0035AA2C 41 82 00 0C */ beq lbl_8035DAD8 +/* 8035DAD0 0035AA30 80 7B 00 04 */ lwz r3, 4(r27) +/* 8035DAD4 0035AA34 4B FB 7E 5D */ bl Free__7CMemoryFPCv +lbl_8035DAD8: +/* 8035DAD8 0035AA38 3B 7B 00 08 */ addi r27, r27, 8 +lbl_8035DADC: +/* 8035DADC 0035AA3C 7C 1B E0 40 */ cmplw r27, r28 +/* 8035DAE0 0035AA40 40 82 FF DC */ bne lbl_8035DABC +/* 8035DAE4 0035AA44 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8035DAE8 0035AA48 28 03 00 00 */ cmplwi r3, 0 +/* 8035DAEC 0035AA4C 41 82 00 08 */ beq lbl_8035DAF4 +/* 8035DAF0 0035AA50 4B FB 7E 41 */ bl Free__7CMemoryFPCv +lbl_8035DAF4: +/* 8035DAF4 0035AA54 93 BE 00 0C */ stw r29, 0xc(r30) +/* 8035DAF8 0035AA58 93 FE 00 08 */ stw r31, 8(r30) +lbl_8035DAFC: +/* 8035DAFC 0035AA5C BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 8035DB00 0035AA60 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8035DB04 0035AA64 7C 08 03 A6 */ mtlr r0 +/* 8035DB08 0035AA68 38 21 00 30 */ addi r1, r1, 0x30 +/* 8035DB0C 0035AA6C 4E 80 00 20 */ blr diff --git a/asm/Kyoto/Graphics/CCubeSurface.s b/asm/Kyoto/Graphics/CCubeSurface.s new file mode 100644 index 00000000..9949e4bd --- /dev/null +++ b/asm/Kyoto/Graphics/CCubeSurface.s @@ -0,0 +1,44 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global GetBounds__12CCubeSurfaceCFv +GetBounds__12CCubeSurfaceCFv: +/* 803482B0 00345210 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803482B4 00345214 7C 08 02 A6 */ mflr r0 +/* 803482B8 00345218 90 01 00 14 */ stw r0, 0x14(r1) +/* 803482BC 0034521C 80 84 00 00 */ lwz r4, 0(r4) +/* 803482C0 00345220 80 04 00 1C */ lwz r0, 0x1c(r4) +/* 803482C4 00345224 28 00 00 00 */ cmplwi r0, 0 +/* 803482C8 00345228 41 82 00 38 */ beq lbl_80348300 +/* 803482CC 0034522C C0 04 00 2C */ lfs f0, 0x2c(r4) +/* 803482D0 00345230 D0 03 00 00 */ stfs f0, 0(r3) +/* 803482D4 00345234 C0 04 00 30 */ lfs f0, 0x30(r4) +/* 803482D8 00345238 D0 03 00 04 */ stfs f0, 4(r3) +/* 803482DC 0034523C C0 04 00 34 */ lfs f0, 0x34(r4) +/* 803482E0 00345240 D0 03 00 08 */ stfs f0, 8(r3) +/* 803482E4 00345244 C0 04 00 38 */ lfs f0, 0x38(r4) +/* 803482E8 00345248 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 803482EC 0034524C C0 04 00 3C */ lfs f0, 0x3c(r4) +/* 803482F0 00345250 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 803482F4 00345254 C0 04 00 40 */ lfs f0, 0x40(r4) +/* 803482F8 00345258 D0 03 00 14 */ stfs f0, 0x14(r3) +/* 803482FC 0034525C 48 00 00 0C */ b lbl_80348308 +lbl_80348300: +/* 80348300 00345260 7C 85 23 78 */ mr r5, r4 +/* 80348304 00345264 4B FF 02 05 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +lbl_80348308: +/* 80348308 00345268 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034830C 0034526C 7C 08 03 A6 */ mtlr r0 +/* 80348310 00345270 38 21 00 10 */ addi r1, r1, 0x10 +/* 80348314 00345274 4E 80 00 20 */ blr + +.global __sinit_CCubeSurface_cpp +__sinit_CCubeSurface_cpp: +/* 80348318 00345278 C0 22 CC 18 */ lfs f1, lbl_805AE938@sda21(r2) +/* 8034831C 0034527C 3C 60 80 5A */ lis r3, lbl_805A67C0@ha +/* 80348320 00345280 C0 02 CC 1C */ lfs f0, lbl_805AE93C@sda21(r2) +/* 80348324 00345284 D4 23 67 C0 */ stfsu f1, lbl_805A67C0@l(r3) +/* 80348328 00345288 D0 03 00 04 */ stfs f0, 4(r3) +/* 8034832C 0034528C D0 03 00 08 */ stfs f0, 8(r3) +/* 80348330 00345290 4E 80 00 20 */ blr diff --git a/asm/Kyoto/Graphics/CGX.s b/asm/Kyoto/Graphics/CGX.s new file mode 100644 index 00000000..c1d6ce04 --- /dev/null +++ b/asm/Kyoto/Graphics/CGX.s @@ -0,0 +1,1407 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global sub_80307bbc +sub_80307bbc: +/* 80307BBC 00304B1C 28 03 00 00 */ cmplwi r3, 0 +/* 80307BC0 00304B20 41 82 00 14 */ beq lbl_80307BD4 +/* 80307BC4 00304B24 3D 20 80 5A */ lis r9, lbl_805A53EC@ha +/* 80307BC8 00304B28 39 29 53 EC */ addi r9, r9, lbl_805A53EC@l +/* 80307BCC 00304B2C 88 09 00 53 */ lbz r0, 0x53(r9) +/* 80307BD0 00304B30 90 03 00 00 */ stw r0, 0(r3) +lbl_80307BD4: +/* 80307BD4 00304B34 28 04 00 00 */ cmplwi r4, 0 +/* 80307BD8 00304B38 41 82 00 14 */ beq lbl_80307BEC +/* 80307BDC 00304B3C 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80307BE0 00304B40 38 63 53 EC */ addi r3, r3, lbl_805A53EC@l +/* 80307BE4 00304B44 C0 03 02 4C */ lfs f0, 0x24c(r3) +/* 80307BE8 00304B48 D0 04 00 00 */ stfs f0, 0(r4) +lbl_80307BEC: +/* 80307BEC 00304B4C 28 05 00 00 */ cmplwi r5, 0 +/* 80307BF0 00304B50 41 82 00 14 */ beq lbl_80307C04 +/* 80307BF4 00304B54 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80307BF8 00304B58 38 63 53 EC */ addi r3, r3, lbl_805A53EC@l +/* 80307BFC 00304B5C C0 03 02 50 */ lfs f0, 0x250(r3) +/* 80307C00 00304B60 D0 05 00 00 */ stfs f0, 0(r5) +lbl_80307C04: +/* 80307C04 00304B64 28 06 00 00 */ cmplwi r6, 0 +/* 80307C08 00304B68 41 82 00 14 */ beq lbl_80307C1C +/* 80307C0C 00304B6C 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80307C10 00304B70 38 63 53 EC */ addi r3, r3, lbl_805A53EC@l +/* 80307C14 00304B74 C0 03 02 54 */ lfs f0, 0x254(r3) +/* 80307C18 00304B78 D0 06 00 00 */ stfs f0, 0(r6) +lbl_80307C1C: +/* 80307C1C 00304B7C 28 07 00 00 */ cmplwi r7, 0 +/* 80307C20 00304B80 41 82 00 14 */ beq lbl_80307C34 +/* 80307C24 00304B84 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80307C28 00304B88 38 63 53 EC */ addi r3, r3, lbl_805A53EC@l +/* 80307C2C 00304B8C C0 03 02 58 */ lfs f0, 0x258(r3) +/* 80307C30 00304B90 D0 07 00 00 */ stfs f0, 0(r7) +lbl_80307C34: +/* 80307C34 00304B94 28 08 00 00 */ cmplwi r8, 0 +/* 80307C38 00304B98 4D 82 00 20 */ beqlr +/* 80307C3C 00304B9C 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80307C40 00304BA0 38 63 53 EC */ addi r3, r3, lbl_805A53EC@l +/* 80307C44 00304BA4 80 03 02 5C */ lwz r0, 0x25c(r3) +/* 80307C48 00304BA8 90 08 00 00 */ stw r0, 0(r8) +/* 80307C4C 00304BAC 4E 80 00 20 */ blr + +.global SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID +SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID: +/* 80307C50 00304BB0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80307C54 00304BB4 7C 08 02 A6 */ mflr r0 +/* 80307C58 00304BB8 90 01 00 14 */ stw r0, 0x14(r1) +/* 80307C5C 00304BBC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80307C60 00304BC0 7C 7F 1B 78 */ mr r31, r3 +/* 80307C64 00304BC4 1C 9F 00 1C */ mulli r4, r31, 0x1c +/* 80307C68 00304BC8 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80307C6C 00304BCC 38 03 53 EC */ addi r0, r3, lbl_805A53EC@l +/* 80307C70 00304BD0 7C 60 22 14 */ add r3, r0, r4 +/* 80307C74 00304BD4 80 03 00 70 */ lwz r0, 0x70(r3) +/* 80307C78 00304BD8 38 E3 00 68 */ addi r7, r3, 0x68 +/* 80307C7C 00304BDC 28 00 01 00 */ cmplwi r0, 0x100 +/* 80307C80 00304BE0 40 82 00 10 */ bne lbl_80307C90 +/* 80307C84 00304BE4 80 07 00 0C */ lwz r0, 0xc(r7) +/* 80307C88 00304BE8 28 00 01 00 */ cmplwi r0, 0x100 +/* 80307C8C 00304BEC 41 82 00 48 */ beq lbl_80307CD4 +lbl_80307C90: +/* 80307C90 00304BF0 38 00 01 00 */ li r0, 0x100 +/* 80307C94 00304BF4 7F E3 FB 78 */ mr r3, r31 +/* 80307C98 00304BF8 90 07 00 0C */ stw r0, 0xc(r7) +/* 80307C9C 00304BFC 38 80 00 00 */ li r4, 0 +/* 80307CA0 00304C00 38 A0 00 00 */ li r5, 0 +/* 80307CA4 00304C04 38 C0 00 00 */ li r6, 0 +/* 80307CA8 00304C08 90 07 00 08 */ stw r0, 8(r7) +/* 80307CAC 00304C0C 38 E0 00 01 */ li r7, 1 +/* 80307CB0 00304C10 39 00 00 00 */ li r8, 0 +/* 80307CB4 00304C14 48 07 38 79 */ bl GXSetTevColorOp +/* 80307CB8 00304C18 7F E3 FB 78 */ mr r3, r31 +/* 80307CBC 00304C1C 38 80 00 00 */ li r4, 0 +/* 80307CC0 00304C20 38 A0 00 00 */ li r5, 0 +/* 80307CC4 00304C24 38 C0 00 00 */ li r6, 0 +/* 80307CC8 00304C28 38 E0 00 01 */ li r7, 1 +/* 80307CCC 00304C2C 39 00 00 00 */ li r8, 0 +/* 80307CD0 00304C30 48 07 38 C5 */ bl GXSetTevAlphaOp +lbl_80307CD4: +/* 80307CD4 00304C34 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80307CD8 00304C38 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80307CDC 00304C3C 7C 08 03 A6 */ mtlr r0 +/* 80307CE0 00304C40 38 21 00 10 */ addi r1, r1, 0x10 +/* 80307CE4 00304C44 4E 80 00 20 */ blr + +.global SetStandardDirectTev_Compressed__3CGXF13_GXTevStageIDUiUiUiUi +SetStandardDirectTev_Compressed__3CGXF13_GXTevStageIDUiUiUiUi: +/* 80307CE8 00304C48 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80307CEC 00304C4C 7C 08 02 A6 */ mflr r0 +/* 80307CF0 00304C50 3D 00 80 5A */ lis r8, lbl_805A53EC@ha +/* 80307CF4 00304C54 90 01 00 24 */ stw r0, 0x24(r1) +/* 80307CF8 00304C58 38 08 53 EC */ addi r0, r8, lbl_805A53EC@l +/* 80307CFC 00304C5C BF 41 00 08 */ stmw r26, 8(r1) +/* 80307D00 00304C60 7C 7A 1B 78 */ mr r26, r3 +/* 80307D04 00304C64 1D 3A 00 1C */ mulli r9, r26, 0x1c +/* 80307D08 00304C68 7C 9B 23 78 */ mr r27, r4 +/* 80307D0C 00304C6C 7C BC 2B 78 */ mr r28, r5 +/* 80307D10 00304C70 7C DD 33 78 */ mr r29, r6 +/* 80307D14 00304C74 7C 80 4A 14 */ add r4, r0, r9 +/* 80307D18 00304C78 7C FE 3B 78 */ mr r30, r7 +/* 80307D1C 00304C7C 3B E4 00 68 */ addi r31, r4, 0x68 +/* 80307D20 00304C80 80 04 00 78 */ lwz r0, 0x78(r4) +/* 80307D24 00304C84 28 00 00 00 */ cmplwi r0, 0 +/* 80307D28 00304C88 41 82 00 10 */ beq lbl_80307D38 +/* 80307D2C 00304C8C 38 00 00 00 */ li r0, 0 +/* 80307D30 00304C90 90 1F 00 10 */ stw r0, 0x10(r31) +/* 80307D34 00304C94 48 07 35 AD */ bl GXSetTevDirect +lbl_80307D38: +/* 80307D38 00304C98 80 1F 00 00 */ lwz r0, 0(r31) +/* 80307D3C 00304C9C 7C 00 D8 40 */ cmplw r0, r27 +/* 80307D40 00304CA0 41 82 00 20 */ beq lbl_80307D60 +/* 80307D44 00304CA4 93 7F 00 00 */ stw r27, 0(r31) +/* 80307D48 00304CA8 7F 43 D3 78 */ mr r3, r26 +/* 80307D4C 00304CAC 57 64 06 FE */ clrlwi r4, r27, 0x1b +/* 80307D50 00304CB0 57 65 DE FE */ rlwinm r5, r27, 0x1b, 0x1b, 0x1f +/* 80307D54 00304CB4 57 66 B6 FE */ rlwinm r6, r27, 0x16, 0x1b, 0x1f +/* 80307D58 00304CB8 57 67 8E FE */ rlwinm r7, r27, 0x11, 0x1b, 0x1f +/* 80307D5C 00304CBC 48 07 37 49 */ bl GXSetTevColorIn +lbl_80307D60: +/* 80307D60 00304CC0 80 1F 00 04 */ lwz r0, 4(r31) +/* 80307D64 00304CC4 7C 00 E0 40 */ cmplw r0, r28 +/* 80307D68 00304CC8 41 82 00 20 */ beq lbl_80307D88 +/* 80307D6C 00304CCC 93 9F 00 04 */ stw r28, 4(r31) +/* 80307D70 00304CD0 7F 43 D3 78 */ mr r3, r26 +/* 80307D74 00304CD4 57 84 06 FE */ clrlwi r4, r28, 0x1b +/* 80307D78 00304CD8 57 85 DE FE */ rlwinm r5, r28, 0x1b, 0x1b, 0x1f +/* 80307D7C 00304CDC 57 86 B6 FE */ rlwinm r6, r28, 0x16, 0x1b, 0x1f +/* 80307D80 00304CE0 57 87 8E FE */ rlwinm r7, r28, 0x11, 0x1b, 0x1f +/* 80307D84 00304CE4 48 07 37 65 */ bl GXSetTevAlphaIn +lbl_80307D88: +/* 80307D88 00304CE8 7C 1D F0 40 */ cmplw r29, r30 +/* 80307D8C 00304CEC 40 82 00 10 */ bne lbl_80307D9C +/* 80307D90 00304CF0 57 A0 05 FE */ clrlwi r0, r29, 0x17 +/* 80307D94 00304CF4 28 00 01 00 */ cmplwi r0, 0x100 +/* 80307D98 00304CF8 41 82 00 20 */ beq lbl_80307DB8 +lbl_80307D9C: +/* 80307D9C 00304CFC 7F 43 D3 78 */ mr r3, r26 +/* 80307DA0 00304D00 7F A4 EB 78 */ mr r4, r29 +/* 80307DA4 00304D04 48 00 0D 39 */ bl SetTevColorOp_Compressed__3CGXF13_GXTevStageIDUi +/* 80307DA8 00304D08 7F 43 D3 78 */ mr r3, r26 +/* 80307DAC 00304D0C 7F C4 F3 78 */ mr r4, r30 +/* 80307DB0 00304D10 48 00 0C 75 */ bl SetTevAlphaOp_Compressed__3CGXF13_GXTevStageIDUi +/* 80307DB4 00304D14 48 00 00 60 */ b lbl_80307E14 +lbl_80307DB8: +/* 80307DB8 00304D18 80 1F 00 08 */ lwz r0, 8(r31) +/* 80307DBC 00304D1C 7C 1D 00 40 */ cmplw r29, r0 +/* 80307DC0 00304D20 40 82 00 10 */ bne lbl_80307DD0 +/* 80307DC4 00304D24 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 80307DC8 00304D28 7C 1D 00 40 */ cmplw r29, r0 +/* 80307DCC 00304D2C 41 82 00 48 */ beq lbl_80307E14 +lbl_80307DD0: +/* 80307DD0 00304D30 93 BF 00 0C */ stw r29, 0xc(r31) +/* 80307DD4 00304D34 57 BE BF BE */ rlwinm r30, r29, 0x17, 0x1e, 0x1f +/* 80307DD8 00304D38 7F 43 D3 78 */ mr r3, r26 +/* 80307DDC 00304D3C 38 80 00 00 */ li r4, 0 +/* 80307DE0 00304D40 93 BF 00 08 */ stw r29, 8(r31) +/* 80307DE4 00304D44 7F C8 F3 78 */ mr r8, r30 +/* 80307DE8 00304D48 38 A0 00 00 */ li r5, 0 +/* 80307DEC 00304D4C 38 C0 00 00 */ li r6, 0 +/* 80307DF0 00304D50 38 E0 00 01 */ li r7, 1 +/* 80307DF4 00304D54 48 07 37 39 */ bl GXSetTevColorOp +/* 80307DF8 00304D58 7F 43 D3 78 */ mr r3, r26 +/* 80307DFC 00304D5C 7F C8 F3 78 */ mr r8, r30 +/* 80307E00 00304D60 38 80 00 00 */ li r4, 0 +/* 80307E04 00304D64 38 A0 00 00 */ li r5, 0 +/* 80307E08 00304D68 38 C0 00 00 */ li r6, 0 +/* 80307E0C 00304D6C 38 E0 00 01 */ li r7, 1 +/* 80307E10 00304D70 48 07 37 85 */ bl GXSetTevAlphaOp +lbl_80307E14: +/* 80307E14 00304D74 BB 41 00 08 */ lmw r26, 8(r1) +/* 80307E18 00304D78 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80307E1C 00304D7C 7C 08 03 A6 */ mtlr r0 +/* 80307E20 00304D80 38 21 00 20 */ addi r1, r1, 0x20 +/* 80307E24 00304D84 4E 80 00 20 */ blr + +.global SetVtxDescv__3CGXFPC14_GXVtxDescList +SetVtxDescv__3CGXFPC14_GXVtxDescList: +/* 80307E28 00304D88 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80307E2C 00304D8C 7C 08 02 A6 */ mflr r0 +/* 80307E30 00304D90 38 C0 00 00 */ li r6, 0 +/* 80307E34 00304D94 90 01 00 14 */ stw r0, 0x14(r1) +/* 80307E38 00304D98 48 00 00 20 */ b lbl_80307E58 +lbl_80307E3C: +/* 80307E3C 00304D9C 80 83 00 04 */ lwz r4, 4(r3) +/* 80307E40 00304DA0 38 05 FF F7 */ addi r0, r5, -9 +/* 80307E44 00304DA4 54 00 08 3C */ slwi r0, r0, 1 +/* 80307E48 00304DA8 38 63 00 08 */ addi r3, r3, 8 +/* 80307E4C 00304DAC 54 84 07 BE */ clrlwi r4, r4, 0x1e +/* 80307E50 00304DB0 7C 80 00 30 */ slw r0, r4, r0 +/* 80307E54 00304DB4 7C C6 03 78 */ or r6, r6, r0 +lbl_80307E58: +/* 80307E58 00304DB8 80 A3 00 00 */ lwz r5, 0(r3) +/* 80307E5C 00304DBC 2C 05 00 FF */ cmpwi r5, 0xff +/* 80307E60 00304DC0 40 82 FF DC */ bne lbl_80307E3C +/* 80307E64 00304DC4 7C C3 33 78 */ mr r3, r6 +/* 80307E68 00304DC8 48 00 00 95 */ bl SetVtxDescv_Compressed__3CGXFUi +/* 80307E6C 00304DCC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80307E70 00304DD0 7C 08 03 A6 */ mtlr r0 +/* 80307E74 00304DD4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80307E78 00304DD8 4E 80 00 20 */ blr + +.global SetIndexedPositionVtxFmt__14CFluidPlaneCPUFv +SetIndexedPositionVtxFmt__14CFluidPlaneCPUFv: +/* 80307E7C 00304DDC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80307E80 00304DE0 7C 08 02 A6 */ mflr r0 +/* 80307E84 00304DE4 3C 60 80 3D */ lis r3, lbl_803D73B8@ha +/* 80307E88 00304DE8 90 01 00 14 */ stw r0, 0x14(r1) +/* 80307E8C 00304DEC 38 63 73 B8 */ addi r3, r3, lbl_803D73B8@l +/* 80307E90 00304DF0 4B FF FF 99 */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList +/* 80307E94 00304DF4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80307E98 00304DF8 7C 08 03 A6 */ mtlr r0 +/* 80307E9C 00304DFC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80307EA0 00304E00 4E 80 00 20 */ blr + +.global SetAttrFmt__11CFluidPlaneF6GXAttr10GXAttrType +SetAttrFmt__11CFluidPlaneF6GXAttr10GXAttrType: +/* 80307EA4 00304E04 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80307EA8 00304E08 7C 08 02 A6 */ mflr r0 +/* 80307EAC 00304E0C 3C A0 80 5A */ lis r5, lbl_805A53EC@ha +/* 80307EB0 00304E10 38 C3 FF F7 */ addi r6, r3, -9 +/* 80307EB4 00304E14 90 01 00 14 */ stw r0, 0x14(r1) +/* 80307EB8 00304E18 38 A5 53 EC */ addi r5, r5, lbl_805A53EC@l +/* 80307EBC 00304E1C 54 C7 08 3C */ slwi r7, r6, 1 +/* 80307EC0 00304E20 38 00 00 03 */ li r0, 3 +/* 80307EC4 00304E24 80 C5 00 48 */ lwz r6, 0x48(r5) +/* 80307EC8 00304E28 7C 08 38 30 */ slw r8, r0, r7 +/* 80307ECC 00304E2C 7C 87 38 30 */ slw r7, r4, r7 +/* 80307ED0 00304E30 7C C0 40 38 */ and r0, r6, r8 +/* 80307ED4 00304E34 7C 07 00 40 */ cmplw r7, r0 +/* 80307ED8 00304E38 41 82 00 14 */ beq lbl_80307EEC +/* 80307EDC 00304E3C 7C C0 40 78 */ andc r0, r6, r8 +/* 80307EE0 00304E40 7C E0 03 78 */ or r0, r7, r0 +/* 80307EE4 00304E44 90 05 00 48 */ stw r0, 0x48(r5) +/* 80307EE8 00304E48 48 06 F0 31 */ bl GXSetVtxDesc +lbl_80307EEC: +/* 80307EEC 00304E4C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80307EF0 00304E50 7C 08 03 A6 */ mtlr r0 +/* 80307EF4 00304E54 38 21 00 10 */ addi r1, r1, 0x10 +/* 80307EF8 00304E58 4E 80 00 20 */ blr + +.global SetVtxDescv_Compressed__3CGXFUi +SetVtxDescv_Compressed__3CGXFUi: +/* 80307EFC 00304E5C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80307F00 00304E60 7C 08 02 A6 */ mflr r0 +/* 80307F04 00304E64 3C 80 80 5A */ lis r4, lbl_805A53EC@ha +/* 80307F08 00304E68 90 01 00 14 */ stw r0, 0x14(r1) +/* 80307F0C 00304E6C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80307F10 00304E70 7C 7F 1B 78 */ mr r31, r3 +/* 80307F14 00304E74 93 C1 00 08 */ stw r30, 8(r1) +/* 80307F18 00304E78 3B C4 53 EC */ addi r30, r4, lbl_805A53EC@l +/* 80307F1C 00304E7C 80 BE 00 48 */ lwz r5, 0x48(r30) +/* 80307F20 00304E80 7C 1F 28 40 */ cmplw r31, r5 +/* 80307F24 00304E84 41 82 00 7C */ beq lbl_80307FA0 +/* 80307F28 00304E88 3C 60 80 48 */ lis r3, lbl_80479BD0@ha +/* 80307F2C 00304E8C 38 00 00 0B */ li r0, 0xb +/* 80307F30 00304E90 38 63 9B D0 */ addi r3, r3, lbl_80479BD0@l +/* 80307F34 00304E94 39 00 00 00 */ li r8, 0 +/* 80307F38 00304E98 7C 67 1B 78 */ mr r7, r3 +/* 80307F3C 00304E9C 38 C0 00 00 */ li r6, 0 +/* 80307F40 00304EA0 38 80 00 03 */ li r4, 3 +/* 80307F44 00304EA4 7C 09 03 A6 */ mtctr r0 +lbl_80307F48: +/* 80307F48 00304EA8 7C 80 30 30 */ slw r0, r4, r6 +/* 80307F4C 00304EAC 7F E3 00 38 */ and r3, r31, r0 +/* 80307F50 00304EB0 7C A0 00 38 */ and r0, r5, r0 +/* 80307F54 00304EB4 7C 03 00 40 */ cmplw r3, r0 +/* 80307F58 00304EB8 41 82 00 1C */ beq lbl_80307F74 +/* 80307F5C 00304EBC 38 68 00 09 */ addi r3, r8, 9 +/* 80307F60 00304EC0 7F E0 34 30 */ srw r0, r31, r6 +/* 80307F64 00304EC4 90 67 00 00 */ stw r3, 0(r7) +/* 80307F68 00304EC8 54 00 07 BE */ clrlwi r0, r0, 0x1e +/* 80307F6C 00304ECC 90 07 00 04 */ stw r0, 4(r7) +/* 80307F70 00304ED0 38 E7 00 08 */ addi r7, r7, 8 +lbl_80307F74: +/* 80307F74 00304ED4 38 C6 00 02 */ addi r6, r6, 2 +/* 80307F78 00304ED8 39 08 00 01 */ addi r8, r8, 1 +/* 80307F7C 00304EDC 42 00 FF CC */ bdnz lbl_80307F48 +/* 80307F80 00304EE0 38 00 00 FF */ li r0, 0xff +/* 80307F84 00304EE4 3C 60 80 48 */ lis r3, lbl_80479BD0@ha +/* 80307F88 00304EE8 90 07 00 00 */ stw r0, 0(r7) +/* 80307F8C 00304EEC 38 00 00 00 */ li r0, 0 +/* 80307F90 00304EF0 38 63 9B D0 */ addi r3, r3, lbl_80479BD0@l +/* 80307F94 00304EF4 90 07 00 04 */ stw r0, 4(r7) +/* 80307F98 00304EF8 48 06 F2 D1 */ bl GXSetVtxDescv +/* 80307F9C 00304EFC 93 FE 00 48 */ stw r31, 0x48(r30) +lbl_80307FA0: +/* 80307FA0 00304F00 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80307FA4 00304F04 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80307FA8 00304F08 83 C1 00 08 */ lwz r30, 8(r1) +/* 80307FAC 00304F0C 7C 08 03 A6 */ mtlr r0 +/* 80307FB0 00304F10 38 21 00 10 */ addi r1, r1, 0x10 +/* 80307FB4 00304F14 4E 80 00 20 */ blr + +.global SetIndTexMtxSTPointFive__3CGXF14_GXIndTexMtxIDSc +SetIndTexMtxSTPointFive__3CGXF14_GXIndTexMtxIDSc: +/* 80307FB8 00304F18 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80307FBC 00304F1C 7C 08 02 A6 */ mflr r0 +/* 80307FC0 00304F20 3C C0 80 3D */ lis r6, lbl_803D73A0@ha +/* 80307FC4 00304F24 7C 85 23 78 */ mr r5, r4 +/* 80307FC8 00304F28 90 01 00 14 */ stw r0, 0x14(r1) +/* 80307FCC 00304F2C 38 86 73 A0 */ addi r4, r6, lbl_803D73A0@l +/* 80307FD0 00304F30 48 07 2E F9 */ bl GXSetIndTexMtx +/* 80307FD4 00304F34 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80307FD8 00304F38 7C 08 03 A6 */ mtlr r0 +/* 80307FDC 00304F3C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80307FE0 00304F40 4E 80 00 20 */ blr + +.global FlushState__3CGXFv +FlushState__3CGXFv: +/* 80307FE4 00304F44 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80307FE8 00304F48 7C 08 02 A6 */ mflr r0 +/* 80307FEC 00304F4C 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80307FF0 00304F50 90 01 00 14 */ stw r0, 0x14(r1) +/* 80307FF4 00304F54 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80307FF8 00304F58 3B E3 53 EC */ addi r31, r3, lbl_805A53EC@l +/* 80307FFC 00304F5C 93 C1 00 08 */ stw r30, 8(r1) +/* 80308000 00304F60 88 1F 00 4C */ lbz r0, 0x4c(r31) +/* 80308004 00304F64 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 80308008 00304F68 41 82 00 1C */ beq lbl_80308024 +/* 8030800C 00304F6C 88 7F 00 4E */ lbz r3, 0x4e(r31) +/* 80308010 00304F70 48 07 1B 21 */ bl GXSetNumChans +/* 80308014 00304F74 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80308018 00304F78 88 1F 00 4E */ lbz r0, 0x4e(r31) +/* 8030801C 00304F7C 38 63 53 EC */ addi r3, r3, lbl_805A53EC@l +/* 80308020 00304F80 98 03 00 4D */ stb r0, 0x4d(r3) +lbl_80308024: +/* 80308024 00304F84 88 1F 00 4C */ lbz r0, 0x4c(r31) +/* 80308028 00304F88 54 00 07 BD */ rlwinm. r0, r0, 0, 0x1e, 0x1e +/* 8030802C 00304F8C 41 82 00 40 */ beq lbl_8030806C +/* 80308030 00304F90 3C 80 80 5A */ lis r4, lbl_805A53EC@ha +/* 80308034 00304F94 38 60 00 00 */ li r3, 0 +/* 80308038 00304F98 3B C4 53 EC */ addi r30, r4, lbl_805A53EC@l +/* 8030803C 00304F9C A0 1E 00 34 */ lhz r0, 0x34(r30) +/* 80308040 00304FA0 54 07 EE 3E */ rlwinm r7, r0, 0x1d, 0x18, 0x1f +/* 80308044 00304FA4 54 04 07 FE */ clrlwi r4, r0, 0x1f +/* 80308048 00304FA8 54 05 FF FE */ rlwinm r5, r0, 0x1f, 0x1f, 0x1f +/* 8030804C 00304FAC 54 06 F7 FE */ rlwinm r6, r0, 0x1e, 0x1f, 0x1f +/* 80308050 00304FB0 54 08 AF BE */ rlwinm r8, r0, 0x15, 0x1e, 0x1f +/* 80308054 00304FB4 54 09 9F BE */ rlwinm r9, r0, 0x13, 0x1e, 0x1f +/* 80308058 00304FB8 48 07 1B 1D */ bl GXSetChanCtrl +/* 8030805C 00304FBC 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80308060 00304FC0 A0 1E 00 34 */ lhz r0, 0x34(r30) +/* 80308064 00304FC4 38 63 53 EC */ addi r3, r3, lbl_805A53EC@l +/* 80308068 00304FC8 B0 03 00 30 */ sth r0, 0x30(r3) +lbl_8030806C: +/* 8030806C 00304FCC 88 1F 00 4C */ lbz r0, 0x4c(r31) +/* 80308070 00304FD0 54 00 07 7B */ rlwinm. r0, r0, 0, 0x1d, 0x1d +/* 80308074 00304FD4 41 82 00 40 */ beq lbl_803080B4 +/* 80308078 00304FD8 3C 80 80 5A */ lis r4, lbl_805A53EC@ha +/* 8030807C 00304FDC 38 60 00 01 */ li r3, 1 +/* 80308080 00304FE0 3B C4 53 EC */ addi r30, r4, lbl_805A53EC@l +/* 80308084 00304FE4 A0 1E 00 36 */ lhz r0, 0x36(r30) +/* 80308088 00304FE8 54 07 EE 3E */ rlwinm r7, r0, 0x1d, 0x18, 0x1f +/* 8030808C 00304FEC 54 04 07 FE */ clrlwi r4, r0, 0x1f +/* 80308090 00304FF0 54 05 FF FE */ rlwinm r5, r0, 0x1f, 0x1f, 0x1f +/* 80308094 00304FF4 54 06 F7 FE */ rlwinm r6, r0, 0x1e, 0x1f, 0x1f +/* 80308098 00304FF8 54 08 AF BE */ rlwinm r8, r0, 0x15, 0x1e, 0x1f +/* 8030809C 00304FFC 54 09 9F BE */ rlwinm r9, r0, 0x13, 0x1e, 0x1f +/* 803080A0 00305000 48 07 1A D5 */ bl GXSetChanCtrl +/* 803080A4 00305004 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 803080A8 00305008 A0 1E 00 36 */ lhz r0, 0x36(r30) +/* 803080AC 0030500C 38 63 53 EC */ addi r3, r3, lbl_805A53EC@l +/* 803080B0 00305010 B0 03 00 32 */ sth r0, 0x32(r3) +lbl_803080B4: +/* 803080B4 00305014 38 00 00 00 */ li r0, 0 +/* 803080B8 00305018 98 1F 00 4C */ stb r0, 0x4c(r31) +/* 803080BC 0030501C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803080C0 00305020 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803080C4 00305024 83 C1 00 08 */ lwz r30, 8(r1) +/* 803080C8 00305028 7C 08 03 A6 */ mtlr r0 +/* 803080CC 0030502C 38 21 00 10 */ addi r1, r1, 0x10 +/* 803080D0 00305030 4E 80 00 20 */ blr + +.global sub_803080d4 +sub_803080d4: +/* 803080D4 00305034 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803080D8 00305038 7C 08 02 A6 */ mflr r0 +/* 803080DC 0030503C 3C 60 80 5A */ lis r3, 0x805a +/* 803080E0 00305040 34 63 53 EC */ addic. r3, r3, 0x53ec +/* 803080E4 00305044 90 01 00 14 */ stw r0, 0x14(r1) +/* 803080E8 00305048 41 82 00 08 */ beq lbl_803080F0 +/* 803080EC 0030504C 48 00 01 B1 */ bl __ct__Q23CGX8SGXStateFv +lbl_803080F0: +/* 803080F0 00305050 48 00 00 15 */ bl ResetGXStates__3CGXFv +/* 803080F4 00305054 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803080F8 00305058 7C 08 03 A6 */ mtlr r0 +/* 803080FC 0030505C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80308100 00305060 4E 80 00 20 */ blr + +.global ResetGXStates__3CGXFv +ResetGXStates__3CGXFv: +/* 80308104 00305064 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80308108 00305068 7C 08 02 A6 */ mflr r0 +/* 8030810C 0030506C 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80308110 00305070 90 01 00 24 */ stw r0, 0x24(r1) +/* 80308114 00305074 38 00 00 00 */ li r0, 0 +/* 80308118 00305078 38 63 53 EC */ addi r3, r3, lbl_805A53EC@l +/* 8030811C 0030507C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80308120 00305080 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80308124 00305084 90 03 00 48 */ stw r0, 0x48(r3) +/* 80308128 00305088 48 06 F6 2D */ bl GXClearVtxDesc +/* 8030812C 0030508C 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80308130 00305090 38 00 00 01 */ li r0, 1 +/* 80308134 00305094 3B E3 53 EC */ addi r31, r3, lbl_805A53EC@l +/* 80308138 00305098 3B C0 00 00 */ li r30, 0 +/* 8030813C 0030509C 90 1F 00 00 */ stw r0, 0(r31) +/* 80308140 003050A0 90 1F 00 04 */ stw r0, 4(r31) +/* 80308144 003050A4 90 1F 00 08 */ stw r0, 8(r31) +/* 80308148 003050A8 90 1F 00 0C */ stw r0, 0xc(r31) +/* 8030814C 003050AC 90 1F 00 10 */ stw r0, 0x10(r31) +/* 80308150 003050B0 90 1F 00 14 */ stw r0, 0x14(r31) +/* 80308154 003050B4 90 1F 00 18 */ stw r0, 0x18(r31) +/* 80308158 003050B8 90 1F 00 1C */ stw r0, 0x1c(r31) +/* 8030815C 003050BC 90 1F 00 20 */ stw r0, 0x20(r31) +/* 80308160 003050C0 90 1F 00 24 */ stw r0, 0x24(r31) +/* 80308164 003050C4 90 1F 00 28 */ stw r0, 0x28(r31) +/* 80308168 003050C8 90 1F 00 2C */ stw r0, 0x2c(r31) +lbl_8030816C: +/* 8030816C 003050CC 7F C3 F3 78 */ mr r3, r30 +/* 80308170 003050D0 48 00 5F D9 */ bl InvalidateTexmap__8CTextureF11_GXTexMapID +/* 80308174 003050D4 3B DE 00 01 */ addi r30, r30, 1 +/* 80308178 003050D8 2C 1E 00 08 */ cmpwi r30, 8 +/* 8030817C 003050DC 41 80 FF F0 */ blt lbl_8030816C +/* 80308180 003050E0 3B C0 00 00 */ li r30, 0 +lbl_80308184: +/* 80308184 003050E4 80 1F 00 58 */ lwz r0, 0x58(r31) +/* 80308188 003050E8 7F C3 F3 78 */ mr r3, r30 +/* 8030818C 003050EC 38 81 00 08 */ addi r4, r1, 8 +/* 80308190 003050F0 90 01 00 08 */ stw r0, 8(r1) +/* 80308194 003050F4 48 07 35 51 */ bl GXSetTevKColor +/* 80308198 003050F8 3B DE 00 01 */ addi r30, r30, 1 +/* 8030819C 003050FC 3B FF 00 04 */ addi r31, r31, 4 +/* 803081A0 00305100 2C 1E 00 04 */ cmpwi r30, 4 +/* 803081A4 00305104 41 80 FF E0 */ blt lbl_80308184 +/* 803081A8 00305108 38 60 00 01 */ li r3, 1 +/* 803081AC 0030510C 38 80 00 00 */ li r4, 0 +/* 803081B0 00305110 38 A0 00 01 */ li r5, 1 +/* 803081B4 00305114 38 C0 00 02 */ li r6, 2 +/* 803081B8 00305118 38 E0 00 00 */ li r7, 0 +/* 803081BC 0030511C 48 07 36 C9 */ bl GXSetTevSwapModeTable +/* 803081C0 00305120 38 60 00 02 */ li r3, 2 +/* 803081C4 00305124 38 80 00 00 */ li r4, 0 +/* 803081C8 00305128 38 A0 00 01 */ li r5, 1 +/* 803081CC 0030512C 38 C0 00 02 */ li r6, 2 +/* 803081D0 00305130 38 E0 00 01 */ li r7, 1 +/* 803081D4 00305134 48 07 36 B1 */ bl GXSetTevSwapModeTable +/* 803081D8 00305138 38 60 00 03 */ li r3, 3 +/* 803081DC 0030513C 38 80 00 00 */ li r4, 0 +/* 803081E0 00305140 38 A0 00 01 */ li r5, 1 +/* 803081E4 00305144 38 C0 00 02 */ li r6, 2 +/* 803081E8 00305148 38 E0 00 02 */ li r7, 2 +/* 803081EC 0030514C 48 07 36 99 */ bl GXSetTevSwapModeTable +/* 803081F0 00305150 38 60 00 07 */ li r3, 7 +/* 803081F4 00305154 38 80 00 00 */ li r4, 0 +/* 803081F8 00305158 38 A0 00 00 */ li r5, 0 +/* 803081FC 0030515C 38 C0 00 07 */ li r6, 7 +/* 80308200 00305160 38 E0 00 00 */ li r7, 0 +/* 80308204 00305164 48 00 06 11 */ bl SetAlphaCompare__3CGXF10_GXCompareUc10_GXAlphaOp10_GXCompareUc +/* 80308208 00305168 38 60 00 00 */ li r3, 0 +/* 8030820C 0030516C 48 07 42 4D */ bl GXSetCurrentMtx +/* 80308210 00305170 38 60 00 00 */ li r3, 0 +/* 80308214 00305174 48 00 04 7D */ bl SetNumIndStages__3CGXFUc +/* 80308218 00305178 3B C0 00 00 */ li r30, 0 +lbl_8030821C: +/* 8030821C 0030517C 7F C3 F3 78 */ mr r3, r30 +/* 80308220 00305180 38 80 00 00 */ li r4, 0 +/* 80308224 00305184 38 A0 00 00 */ li r5, 0 +/* 80308228 00305188 48 07 2E 01 */ bl GXSetIndTexCoordScale +/* 8030822C 0030518C 3B DE 00 01 */ addi r30, r30, 1 +/* 80308230 00305190 2C 1E 00 04 */ cmpwi r30, 4 +/* 80308234 00305194 41 80 FF E8 */ blt lbl_8030821C +/* 80308238 00305198 3B C0 00 00 */ li r30, 0 +lbl_8030823C: +/* 8030823C 0030519C 7F C3 F3 78 */ mr r3, r30 +/* 80308240 003051A0 48 00 05 05 */ bl SetTevDirect__3CGXF13_GXTevStageID +/* 80308244 003051A4 3B DE 00 01 */ addi r30, r30, 1 +/* 80308248 003051A8 2C 1E 00 10 */ cmpwi r30, 0x10 +/* 8030824C 003051AC 41 80 FF F0 */ blt lbl_8030823C +/* 80308250 003051B0 3B C0 00 00 */ li r30, 0 +lbl_80308254: +/* 80308254 003051B4 7F C3 F3 78 */ mr r3, r30 +/* 80308258 003051B8 38 80 00 00 */ li r4, 0 +/* 8030825C 003051BC 38 A0 00 00 */ li r5, 0 +/* 80308260 003051C0 38 C0 00 00 */ li r6, 0 +/* 80308264 003051C4 48 07 26 4D */ bl GXSetTexCoordCylWrap +/* 80308268 003051C8 3B DE 00 01 */ addi r30, r30, 1 +/* 8030826C 003051CC 2C 1E 00 08 */ cmpwi r30, 8 +/* 80308270 003051D0 41 80 FF E4 */ blt lbl_80308254 +/* 80308274 003051D4 38 60 00 00 */ li r3, 0 +/* 80308278 003051D8 38 80 00 11 */ li r4, 0x11 +/* 8030827C 003051DC 38 A0 00 00 */ li r5, 0 +/* 80308280 003051E0 48 07 36 F1 */ bl GXSetZTexture +/* 80308284 003051E4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80308288 003051E8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8030828C 003051EC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80308290 003051F0 7C 08 03 A6 */ mtlr r0 +/* 80308294 003051F4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80308298 003051F8 4E 80 00 20 */ blr + +.global __ct__Q23CGX8SGXStateFv +__ct__Q23CGX8SGXStateFv: +/* 8030829C 003051FC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 803082A0 00305200 7C 08 02 A6 */ mflr r0 +/* 803082A4 00305204 39 20 00 00 */ li r9, 0 +/* 803082A8 00305208 39 00 00 FF */ li r8, 0xff +/* 803082AC 0030520C 90 01 00 34 */ stw r0, 0x34(r1) +/* 803082B0 00305210 38 00 00 02 */ li r0, 2 +/* 803082B4 00305214 3C A0 00 01 */ lis r5, 0x0000FFFF@ha +/* 803082B8 00305218 38 C0 00 1C */ li r6, 0x1c +/* 803082BC 0030521C BF 41 00 18 */ stmw r26, 0x18(r1) +/* 803082C0 00305220 7C 7F 1B 78 */ mr r31, r3 +/* 803082C4 00305224 38 E0 00 10 */ li r7, 0x10 +/* 803082C8 00305228 91 23 00 48 */ stw r9, 0x48(r3) +/* 803082CC 0030522C 3C 60 80 31 */ lis r3, __ct__Q23CGX9STevStateFv@ha +/* 803082D0 00305230 38 83 84 88 */ addi r4, r3, __ct__Q23CGX9STevStateFv@l +/* 803082D4 00305234 98 1F 00 4D */ stb r0, 0x4d(r31) +/* 803082D8 00305238 38 05 FF FF */ addi r0, r5, 0x0000FFFF@l +/* 803082DC 0030523C 38 7F 00 68 */ addi r3, r31, 0x68 +/* 803082E0 00305240 38 A0 00 00 */ li r5, 0 +/* 803082E4 00305244 99 3F 00 4E */ stb r9, 0x4e(r31) +/* 803082E8 00305248 99 1F 00 4F */ stb r8, 0x4f(r31) +/* 803082EC 0030524C 99 1F 00 50 */ stb r8, 0x50(r31) +/* 803082F0 00305250 99 1F 00 51 */ stb r8, 0x51(r31) +/* 803082F4 00305254 99 1F 00 52 */ stb r8, 0x52(r31) +/* 803082F8 00305258 99 3F 00 53 */ stb r9, 0x53(r31) +/* 803082FC 0030525C B0 1F 00 54 */ sth r0, 0x54(r31) +/* 80308300 00305260 B0 1F 00 56 */ sth r0, 0x56(r31) +/* 80308304 00305264 48 08 14 49 */ bl __construct_array +/* 80308308 00305268 3C 80 80 31 */ lis r4, __ct__Q23CGX9STexStateFv@ha +/* 8030830C 0030526C 38 7F 02 28 */ addi r3, r31, 0x228 +/* 80308310 00305270 38 84 84 7C */ addi r4, r4, __ct__Q23CGX9STexStateFv@l +/* 80308314 00305274 38 A0 00 00 */ li r5, 0 +/* 80308318 00305278 38 C0 00 04 */ li r6, 4 +/* 8030831C 0030527C 38 E0 00 08 */ li r7, 8 +/* 80308320 00305280 48 08 14 2D */ bl __construct_array +/* 80308324 00305284 38 00 FF FF */ li r0, -1 +/* 80308328 00305288 3C 60 00 01 */ lis r3, 0x0000FFFF@ha +/* 8030832C 0030528C 90 1F 02 48 */ stw r0, 0x248(r31) +/* 80308330 00305290 39 63 FF FF */ addi r11, r3, 0x0000FFFF@l +/* 80308334 00305294 C0 02 C7 9C */ lfs f0, lbl_805AE4BC@sda21(r2) +/* 80308338 00305298 38 00 00 00 */ li r0, 0 +/* 8030833C 0030529C C0 22 C7 A0 */ lfs f1, lbl_805AE4C0@sda21(r2) +/* 80308340 003052A0 38 60 00 00 */ li r3, 0 +/* 80308344 003052A4 D0 1F 02 4C */ stfs f0, 0x24c(r31) +/* 80308348 003052A8 38 80 00 00 */ li r4, 0 +/* 8030834C 003052AC C0 02 C7 A4 */ lfs f0, lbl_805AE4C4@sda21(r2) +/* 80308350 003052B0 38 A0 00 00 */ li r5, 0 +/* 80308354 003052B4 D0 3F 02 50 */ stfs f1, 0x250(r31) +/* 80308358 003052B8 38 C0 00 00 */ li r6, 0 +/* 8030835C 003052BC 38 E0 00 00 */ li r7, 0 +/* 80308360 003052C0 39 00 00 00 */ li r8, 0 +/* 80308364 003052C4 D0 1F 02 54 */ stfs f0, 0x254(r31) +/* 80308368 003052C8 39 20 00 02 */ li r9, 2 +/* 8030836C 003052CC D0 3F 02 58 */ stfs f1, 0x258(r31) +/* 80308370 003052D0 98 1F 02 5F */ stb r0, 0x25f(r31) +/* 80308374 003052D4 98 1F 02 5E */ stb r0, 0x25e(r31) +/* 80308378 003052D8 98 1F 02 5D */ stb r0, 0x25d(r31) +/* 8030837C 003052DC 98 1F 02 5C */ stb r0, 0x25c(r31) +/* 80308380 003052E0 81 42 D7 80 */ lwz r10, lbl_805AF4A0@sda21(r2) +/* 80308384 003052E4 80 02 C7 98 */ lwz r0, lbl_805AE4B8@sda21(r2) +/* 80308388 003052E8 91 41 00 0C */ stw r10, 0xc(r1) +/* 8030838C 003052EC B1 7F 00 30 */ sth r11, 0x30(r31) +/* 80308390 003052F0 89 41 00 0C */ lbz r10, 0xc(r1) +/* 80308394 003052F4 B1 7F 00 34 */ sth r11, 0x34(r31) +/* 80308398 003052F8 8B 81 00 0D */ lbz r28, 0xd(r1) +/* 8030839C 003052FC 99 5F 00 38 */ stb r10, 0x38(r31) +/* 803083A0 00305300 8B 61 00 0E */ lbz r27, 0xe(r1) +/* 803083A4 00305304 90 01 00 08 */ stw r0, 8(r1) +/* 803083A8 00305308 8B 41 00 0F */ lbz r26, 0xf(r1) +/* 803083AC 0030530C 9B 9F 00 39 */ stb r28, 0x39(r31) +/* 803083B0 00305310 88 01 00 08 */ lbz r0, 8(r1) +/* 803083B4 00305314 9B 7F 00 3A */ stb r27, 0x3a(r31) +/* 803083B8 00305318 89 81 00 09 */ lbz r12, 9(r1) +/* 803083BC 0030531C 9B 5F 00 3B */ stb r26, 0x3b(r31) +/* 803083C0 00305320 8B C1 00 0A */ lbz r30, 0xa(r1) +/* 803083C4 00305324 98 1F 00 40 */ stb r0, 0x40(r31) +/* 803083C8 00305328 8B A1 00 0B */ lbz r29, 0xb(r1) +/* 803083CC 0030532C 99 9F 00 41 */ stb r12, 0x41(r31) +/* 803083D0 00305330 9B DF 00 42 */ stb r30, 0x42(r31) +/* 803083D4 00305334 9B BF 00 43 */ stb r29, 0x43(r31) +/* 803083D8 00305338 B1 7F 00 32 */ sth r11, 0x32(r31) +/* 803083DC 0030533C B1 7F 00 36 */ sth r11, 0x36(r31) +/* 803083E0 00305340 99 5F 00 3C */ stb r10, 0x3c(r31) +/* 803083E4 00305344 9B 9F 00 3D */ stb r28, 0x3d(r31) +/* 803083E8 00305348 9B 7F 00 3E */ stb r27, 0x3e(r31) +/* 803083EC 0030534C 9B 5F 00 3F */ stb r26, 0x3f(r31) +/* 803083F0 00305350 98 1F 00 44 */ stb r0, 0x44(r31) +/* 803083F4 00305354 99 9F 00 45 */ stb r12, 0x45(r31) +/* 803083F8 00305358 9B DF 00 46 */ stb r30, 0x46(r31) +/* 803083FC 0030535C 9B BF 00 47 */ stb r29, 0x47(r31) +/* 80308400 00305360 99 5F 00 58 */ stb r10, 0x58(r31) +/* 80308404 00305364 9B 9F 00 59 */ stb r28, 0x59(r31) +/* 80308408 00305368 9B 7F 00 5A */ stb r27, 0x5a(r31) +/* 8030840C 0030536C 9B 5F 00 5B */ stb r26, 0x5b(r31) +/* 80308410 00305370 99 5F 00 5C */ stb r10, 0x5c(r31) +/* 80308414 00305374 9B 9F 00 5D */ stb r28, 0x5d(r31) +/* 80308418 00305378 9B 7F 00 5E */ stb r27, 0x5e(r31) +/* 8030841C 0030537C 9B 5F 00 5F */ stb r26, 0x5f(r31) +/* 80308420 00305380 99 5F 00 60 */ stb r10, 0x60(r31) +/* 80308424 00305384 9B 9F 00 61 */ stb r28, 0x61(r31) +/* 80308428 00305388 9B 7F 00 62 */ stb r27, 0x62(r31) +/* 8030842C 0030538C 9B 5F 00 63 */ stb r26, 0x63(r31) +/* 80308430 00305390 99 5F 00 64 */ stb r10, 0x64(r31) +/* 80308434 00305394 9B 9F 00 65 */ stb r28, 0x65(r31) +/* 80308438 00305398 9B 7F 00 66 */ stb r27, 0x66(r31) +/* 8030843C 0030539C 9B 5F 00 67 */ stb r26, 0x67(r31) +/* 80308440 003053A0 48 00 08 8D */ bl SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn +/* 80308444 003053A4 38 60 00 01 */ li r3, 1 +/* 80308448 003053A8 38 80 00 00 */ li r4, 0 +/* 8030844C 003053AC 38 A0 00 00 */ li r5, 0 +/* 80308450 003053B0 38 C0 00 00 */ li r6, 0 +/* 80308454 003053B4 38 E0 00 00 */ li r7, 0 +/* 80308458 003053B8 39 00 00 00 */ li r8, 0 +/* 8030845C 003053BC 39 20 00 02 */ li r9, 2 +/* 80308460 003053C0 48 00 08 6D */ bl SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn +/* 80308464 003053C4 7F E3 FB 78 */ mr r3, r31 +/* 80308468 003053C8 BB 41 00 18 */ lmw r26, 0x18(r1) +/* 8030846C 003053CC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80308470 003053D0 7C 08 03 A6 */ mtlr r0 +/* 80308474 003053D4 38 21 00 30 */ addi r1, r1, 0x30 +/* 80308478 003053D8 4E 80 00 20 */ blr + +.global __ct__Q23CGX9STexStateFv +__ct__Q23CGX9STexStateFv: +/* 8030847C 003053DC 38 00 00 00 */ li r0, 0 +/* 80308480 003053E0 90 03 00 00 */ stw r0, 0(r3) +/* 80308484 003053E4 4E 80 00 20 */ blr + +.global __ct__Q23CGX9STevStateFv +__ct__Q23CGX9STevStateFv: +/* 80308488 003053E8 38 A0 00 00 */ li r5, 0 +/* 8030848C 003053EC 38 80 FF FF */ li r4, -1 +/* 80308490 003053F0 90 A3 00 00 */ stw r5, 0(r3) +/* 80308494 003053F4 38 00 00 FF */ li r0, 0xff +/* 80308498 003053F8 90 A3 00 04 */ stw r5, 4(r3) +/* 8030849C 003053FC 90 A3 00 08 */ stw r5, 8(r3) +/* 803084A0 00305400 90 A3 00 0C */ stw r5, 0xc(r3) +/* 803084A4 00305404 90 A3 00 10 */ stw r5, 0x10(r3) +/* 803084A8 00305408 90 83 00 14 */ stw r4, 0x14(r3) +/* 803084AC 0030540C 98 03 00 18 */ stb r0, 0x18(r3) +/* 803084B0 00305410 98 03 00 19 */ stb r0, 0x19(r3) +/* 803084B4 00305414 4E 80 00 20 */ blr + +.global SetLineWidth__3CGXFUc12_GXTexOffset +SetLineWidth__3CGXFUc12_GXTexOffset: +/* 803084B8 00305418 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803084BC 0030541C 7C 08 02 A6 */ mflr r0 +/* 803084C0 00305420 3C A0 80 5A */ lis r5, lbl_805A53EC@ha +/* 803084C4 00305424 54 86 40 2E */ slwi r6, r4, 8 +/* 803084C8 00305428 90 01 00 14 */ stw r0, 0x14(r1) +/* 803084CC 0030542C 38 A5 53 EC */ addi r5, r5, lbl_805A53EC@l +/* 803084D0 00305430 50 66 06 3E */ rlwimi r6, r3, 0, 0x18, 0x1f +/* 803084D4 00305434 A0 05 00 54 */ lhz r0, 0x54(r5) +/* 803084D8 00305438 54 C6 04 3E */ clrlwi r6, r6, 0x10 +/* 803084DC 0030543C 7C 06 00 40 */ cmplw r6, r0 +/* 803084E0 00305440 41 82 00 0C */ beq lbl_803084EC +/* 803084E4 00305444 B0 C5 00 54 */ sth r6, 0x54(r5) +/* 803084E8 00305448 48 07 05 85 */ bl GXSetLineWidth +lbl_803084EC: +/* 803084EC 0030544C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803084F0 00305450 7C 08 03 A6 */ mtlr r0 +/* 803084F4 00305454 38 21 00 10 */ addi r1, r1, 0x10 +/* 803084F8 00305458 4E 80 00 20 */ blr + +.global SetFog__3CGXF10_GXFogTypeffffRC8_GXColor +SetFog__3CGXF10_GXFogTypeffffRC8_GXColor: +/* 803084FC 0030545C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80308500 00305460 7C 08 02 A6 */ mflr r0 +/* 80308504 00305464 3C A0 80 5A */ lis r5, lbl_805A53EC@ha +/* 80308508 00305468 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030850C 0030546C 38 A5 53 EC */ addi r5, r5, lbl_805A53EC@l +/* 80308510 00305470 A0 05 00 56 */ lhz r0, 0x56(r5) +/* 80308514 00305474 80 84 00 00 */ lwz r4, 0(r4) +/* 80308518 00305478 54 00 06 34 */ rlwinm r0, r0, 0, 0x18, 0x1a +/* 8030851C 0030547C 98 65 00 53 */ stb r3, 0x53(r5) +/* 80308520 00305480 2C 00 00 20 */ cmpwi r0, 0x20 +/* 80308524 00305484 D0 25 02 4C */ stfs f1, 0x24c(r5) +/* 80308528 00305488 D0 45 02 50 */ stfs f2, 0x250(r5) +/* 8030852C 0030548C D0 65 02 54 */ stfs f3, 0x254(r5) +/* 80308530 00305490 D0 85 02 58 */ stfs f4, 0x258(r5) +/* 80308534 00305494 90 85 02 5C */ stw r4, 0x25c(r5) +/* 80308538 00305498 40 82 00 10 */ bne lbl_80308548 +/* 8030853C 0030549C 80 02 8C A8 */ lwz r0, lbl_805AA9C8@sda21(r2) +/* 80308540 003054A0 90 01 00 0C */ stw r0, 0xc(r1) +/* 80308544 003054A4 48 00 00 08 */ b lbl_8030854C +lbl_80308548: +/* 80308548 003054A8 90 81 00 0C */ stw r4, 0xc(r1) +lbl_8030854C: +/* 8030854C 003054AC 80 01 00 0C */ lwz r0, 0xc(r1) +/* 80308550 003054B0 38 81 00 08 */ addi r4, r1, 8 +/* 80308554 003054B4 88 65 00 53 */ lbz r3, 0x53(r5) +/* 80308558 003054B8 90 01 00 08 */ stw r0, 8(r1) +/* 8030855C 003054BC C0 25 02 4C */ lfs f1, 0x24c(r5) +/* 80308560 003054C0 C0 45 02 50 */ lfs f2, 0x250(r5) +/* 80308564 003054C4 C0 65 02 54 */ lfs f3, 0x254(r5) +/* 80308568 003054C8 C0 85 02 58 */ lfs f4, 0x258(r5) +/* 8030856C 003054CC 48 07 36 91 */ bl GXSetFog +/* 80308570 003054D0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80308574 003054D4 7C 08 03 A6 */ mtlr r0 +/* 80308578 003054D8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030857C 003054DC 4E 80 00 20 */ blr + +.global End__3CGXFv +End__3CGXFv: +/* 80308580 003054E0 4E 80 00 20 */ blr + +.global Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs: +/* 80308584 003054E4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80308588 003054E8 7C 08 02 A6 */ mflr r0 +/* 8030858C 003054EC 3C C0 80 5A */ lis r6, lbl_805A53EC@ha +/* 80308590 003054F0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80308594 003054F4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80308598 003054F8 7C BF 2B 78 */ mr r31, r5 +/* 8030859C 003054FC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 803085A0 00305500 7C 9E 23 78 */ mr r30, r4 +/* 803085A4 00305504 93 A1 00 14 */ stw r29, 0x14(r1) +/* 803085A8 00305508 7C 7D 1B 78 */ mr r29, r3 +/* 803085AC 0030550C 38 66 53 EC */ addi r3, r6, lbl_805A53EC@l +/* 803085B0 00305510 88 03 00 4C */ lbz r0, 0x4c(r3) +/* 803085B4 00305514 28 00 00 00 */ cmplwi r0, 0 +/* 803085B8 00305518 41 82 00 08 */ beq lbl_803085C0 +/* 803085BC 0030551C 4B FF FA 29 */ bl FlushState__3CGXFv +lbl_803085C0: +/* 803085C0 00305520 7F A3 EB 78 */ mr r3, r29 +/* 803085C4 00305524 7F C4 F3 78 */ mr r4, r30 +/* 803085C8 00305528 7F E5 FB 78 */ mr r5, r31 +/* 803085CC 0030552C 48 07 03 29 */ bl GXBegin +/* 803085D0 00305530 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803085D4 00305534 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803085D8 00305538 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 803085DC 0030553C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 803085E0 00305540 7C 08 03 A6 */ mtlr r0 +/* 803085E4 00305544 38 21 00 20 */ addi r1, r1, 0x20 +/* 803085E8 00305548 4E 80 00 20 */ blr + +.global CallDisplayList__3CGXFPCvUl +CallDisplayList__3CGXFPCvUl: +/* 803085EC 0030554C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803085F0 00305550 7C 08 02 A6 */ mflr r0 +/* 803085F4 00305554 3C A0 80 5A */ lis r5, lbl_805A53EC@ha +/* 803085F8 00305558 90 01 00 14 */ stw r0, 0x14(r1) +/* 803085FC 0030555C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80308600 00305560 7C 9F 23 78 */ mr r31, r4 +/* 80308604 00305564 93 C1 00 08 */ stw r30, 8(r1) +/* 80308608 00305568 7C 7E 1B 78 */ mr r30, r3 +/* 8030860C 0030556C 38 65 53 EC */ addi r3, r5, lbl_805A53EC@l +/* 80308610 00305570 88 03 00 4C */ lbz r0, 0x4c(r3) +/* 80308614 00305574 28 00 00 00 */ cmplwi r0, 0 +/* 80308618 00305578 41 82 00 08 */ beq lbl_80308620 +/* 8030861C 0030557C 4B FF F9 C9 */ bl FlushState__3CGXFv +lbl_80308620: +/* 80308620 00305580 7F C3 F3 78 */ mr r3, r30 +/* 80308624 00305584 7F E4 FB 78 */ mr r4, r31 +/* 80308628 00305588 48 07 3B AD */ bl GXCallDisplayList +/* 8030862C 0030558C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80308630 00305590 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80308634 00305594 83 C1 00 08 */ lwz r30, 8(r1) +/* 80308638 00305598 7C 08 03 A6 */ mtlr r0 +/* 8030863C 0030559C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80308640 003055A0 4E 80 00 20 */ blr + +.global SetArray__3CGXF7_GXAttrPCvUc +SetArray__3CGXF7_GXAttrPCvUc: +/* 80308644 003055A4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80308648 003055A8 7C 08 02 A6 */ mflr r0 +/* 8030864C 003055AC 28 04 00 00 */ cmplwi r4, 0 +/* 80308650 003055B0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80308654 003055B4 38 03 FF F7 */ addi r0, r3, -9 +/* 80308658 003055B8 41 82 00 28 */ beq lbl_80308680 +/* 8030865C 003055BC 3C C0 80 5A */ lis r6, lbl_805A53EC@ha +/* 80308660 003055C0 54 07 10 3A */ slwi r7, r0, 2 +/* 80308664 003055C4 38 C6 53 EC */ addi r6, r6, lbl_805A53EC@l +/* 80308668 003055C8 7C 06 38 2E */ lwzx r0, r6, r7 +/* 8030866C 003055CC 7C 00 20 40 */ cmplw r0, r4 +/* 80308670 003055D0 40 82 00 08 */ bne lbl_80308678 +/* 80308674 003055D4 48 00 00 0C */ b lbl_80308680 +lbl_80308678: +/* 80308678 003055D8 7C 86 39 2E */ stwx r4, r6, r7 +/* 8030867C 003055DC 48 06 F8 7D */ bl GXSetArray +lbl_80308680: +/* 80308680 003055E0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80308684 003055E4 7C 08 03 A6 */ mtlr r0 +/* 80308688 003055E8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030868C 003055EC 4E 80 00 20 */ blr + +.global SetNumIndStages__3CGXFUc +SetNumIndStages__3CGXFUc: +/* 80308690 003055F0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80308694 003055F4 7C 08 02 A6 */ mflr r0 +/* 80308698 003055F8 3C 80 80 5A */ lis r4, lbl_805A53EC@ha +/* 8030869C 003055FC 90 01 00 14 */ stw r0, 0x14(r1) +/* 803086A0 00305600 38 A4 53 EC */ addi r5, r4, lbl_805A53EC@l +/* 803086A4 00305604 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 803086A8 00305608 88 85 00 51 */ lbz r4, 0x51(r5) +/* 803086AC 0030560C 7C 04 00 40 */ cmplw r4, r0 +/* 803086B0 00305610 41 82 00 0C */ beq lbl_803086BC +/* 803086B4 00305614 98 65 00 51 */ stb r3, 0x51(r5) +/* 803086B8 00305618 48 07 2C 01 */ bl GXSetNumIndStages +lbl_803086BC: +/* 803086BC 0030561C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803086C0 00305620 7C 08 03 A6 */ mtlr r0 +/* 803086C4 00305624 38 21 00 10 */ addi r1, r1, 0x10 +/* 803086C8 00305628 4E 80 00 20 */ blr + +.global SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx: +/* 803086CC 0030562C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803086D0 00305630 7C 08 02 A6 */ mflr r0 +/* 803086D4 00305634 3D 20 55 55 */ lis r9, 0x55555556@ha +/* 803086D8 00305638 3D 80 80 5A */ lis r12, lbl_805A53EC@ha +/* 803086DC 0030563C 90 01 00 14 */ stw r0, 0x14(r1) +/* 803086E0 00305640 39 49 55 56 */ addi r10, r9, 0x55555556@l +/* 803086E4 00305644 38 06 FF E2 */ addi r0, r6, -30 +/* 803086E8 00305648 54 A9 25 F6 */ rlwinm r9, r5, 4, 0x17, 0x1b +/* 803086EC 0030564C 7D 4A 00 96 */ mulhw r10, r10, r0 +/* 803086F0 00305650 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803086F4 00305654 54 7F 10 3A */ slwi r31, r3, 2 +/* 803086F8 00305658 38 0C 53 EC */ addi r0, r12, lbl_805A53EC@l +/* 803086FC 0030565C 39 68 FF C0 */ addi r11, r8, -64 +/* 80308700 00305660 7D 80 FA 14 */ add r12, r0, r31 +/* 80308704 00305664 55 40 0F FE */ srwi r0, r10, 0x1f +/* 80308708 00305668 50 89 07 3E */ rlwimi r9, r4, 0, 0x1c, 0x1f +/* 8030870C 0030566C 7C 0A 02 14 */ add r0, r10, r0 +/* 80308710 00305670 50 09 4C AC */ rlwimi r9, r0, 9, 0x12, 0x16 +/* 80308714 00305674 84 0C 02 28 */ lwzu r0, 0x228(r12) +/* 80308718 00305678 50 E9 74 62 */ rlwimi r9, r7, 0xe, 0x11, 0x11 +/* 8030871C 0030567C 51 69 7A E0 */ rlwimi r9, r11, 0xf, 0xb, 0x10 +/* 80308720 00305680 7C 00 48 40 */ cmplw r0, r9 +/* 80308724 00305684 41 82 00 0C */ beq lbl_80308730 +/* 80308728 00305688 91 2C 00 00 */ stw r9, 0(r12) +/* 8030872C 0030568C 48 06 F8 69 */ bl GXSetTexCoordGen2 +lbl_80308730: +/* 80308730 00305690 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80308734 00305694 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80308738 00305698 7C 08 03 A6 */ mtlr r0 +/* 8030873C 0030569C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80308740 003056A0 4E 80 00 20 */ blr + +.global SetTevDirect__3CGXF13_GXTevStageID +SetTevDirect__3CGXF13_GXTevStageID: +/* 80308744 003056A4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80308748 003056A8 7C 08 02 A6 */ mflr r0 +/* 8030874C 003056AC 1C A3 00 1C */ mulli r5, r3, 0x1c +/* 80308750 003056B0 3C 80 80 5A */ lis r4, lbl_805A53EC@ha +/* 80308754 003056B4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80308758 003056B8 38 04 53 EC */ addi r0, r4, lbl_805A53EC@l +/* 8030875C 003056BC 7C 80 2A 14 */ add r4, r0, r5 +/* 80308760 003056C0 38 84 00 68 */ addi r4, r4, 0x68 +/* 80308764 003056C4 80 04 00 10 */ lwz r0, 0x10(r4) +/* 80308768 003056C8 28 00 00 00 */ cmplwi r0, 0 +/* 8030876C 003056CC 41 82 00 10 */ beq lbl_8030877C +/* 80308770 003056D0 38 00 00 00 */ li r0, 0 +/* 80308774 003056D4 90 04 00 10 */ stw r0, 0x10(r4) +/* 80308778 003056D8 48 07 2B 69 */ bl GXSetTevDirect +lbl_8030877C: +/* 8030877C 003056DC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80308780 003056E0 7C 08 03 A6 */ mtlr r0 +/* 80308784 003056E4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80308788 003056E8 4E 80 00 20 */ blr + +.global SetTevIndirect__3CGXF13_GXTevStageID16_GXIndTexStageID15_GXIndTexFormat16_GXIndTexBiasSel14_GXIndTexMtxID13_GXIndTexWrap13_GXIndTexWrapUcUc17_GXIndTexAlphaSel +SetTevIndirect__3CGXF13_GXTevStageID16_GXIndTexStageID15_GXIndTexFormat16_GXIndTexBiasSel14_GXIndTexMtxID13_GXIndTexWrap13_GXIndTexWrapUcUc17_GXIndTexAlphaSel: +/* 8030878C 003056EC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80308790 003056F0 7C 08 02 A6 */ mflr r0 +/* 80308794 003056F4 54 AB 17 3A */ rlwinm r11, r5, 2, 0x1c, 0x1d +/* 80308798 003056F8 3D 80 80 5A */ lis r12, lbl_805A53EC@ha +/* 8030879C 003056FC 90 01 00 24 */ stw r0, 0x24(r1) +/* 803087A0 00305700 38 0C 53 EC */ addi r0, r12, lbl_805A53EC@l +/* 803087A4 00305704 1D 83 00 1C */ mulli r12, r3, 0x1c +/* 803087A8 00305708 50 8B 07 BE */ rlwimi r11, r4, 0, 0x1e, 0x1f +/* 803087AC 0030570C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 803087B0 00305710 50 CB 26 76 */ rlwimi r11, r6, 4, 0x19, 0x1b +/* 803087B4 00305714 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 803087B8 00305718 93 C1 00 18 */ stw r30, 0x18(r1) +/* 803087BC 0030571C 7D 80 62 14 */ add r12, r0, r12 +/* 803087C0 00305720 8B C1 00 2B */ lbz r30, 0x2b(r1) +/* 803087C4 00305724 39 8C 00 68 */ addi r12, r12, 0x68 +/* 803087C8 00305728 50 EB 3D 70 */ rlwimi r11, r7, 7, 0x15, 0x18 +/* 803087CC 0030572C 51 0B 5C A8 */ rlwimi r11, r8, 0xb, 0x12, 0x14 +/* 803087D0 00305730 80 0C 00 10 */ lwz r0, 0x10(r12) +/* 803087D4 00305734 51 2B 73 E2 */ rlwimi r11, r9, 0xe, 0xf, 0x11 +/* 803087D8 00305738 51 4B 8B 9C */ rlwimi r11, r10, 0x11, 0xe, 0xe +/* 803087DC 0030573C 53 CB 93 5A */ rlwimi r11, r30, 0x12, 0xd, 0xd +/* 803087E0 00305740 53 EB 9A D8 */ rlwimi r11, r31, 0x13, 0xb, 0xc +/* 803087E4 00305744 7C 00 58 40 */ cmplw r0, r11 +/* 803087E8 00305748 41 82 00 14 */ beq lbl_803087FC +/* 803087EC 0030574C 91 6C 00 10 */ stw r11, 0x10(r12) +/* 803087F0 00305750 93 C1 00 08 */ stw r30, 8(r1) +/* 803087F4 00305754 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803087F8 00305758 48 07 26 35 */ bl GXSetTevIndirect +lbl_803087FC: +/* 803087FC 0030575C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80308800 00305760 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80308804 00305764 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80308808 00305768 7C 08 03 A6 */ mtlr r0 +/* 8030880C 0030576C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80308810 00305770 4E 80 00 20 */ blr + +.global SetAlphaCompare__3CGXF10_GXCompareUc10_GXAlphaOp10_GXCompareUc +SetAlphaCompare__3CGXF10_GXCompareUc10_GXAlphaOp10_GXCompareUc: +/* 80308814 00305774 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80308818 00305778 7C 08 02 A6 */ mflr r0 +/* 8030881C 0030577C 3D 00 80 5A */ lis r8, lbl_805A53EC@ha +/* 80308820 00305780 54 89 1D 78 */ rlwinm r9, r4, 3, 0x15, 0x1c +/* 80308824 00305784 90 01 00 14 */ stw r0, 0x14(r1) +/* 80308828 00305788 39 08 53 EC */ addi r8, r8, lbl_805A53EC@l +/* 8030882C 0030578C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80308830 00305790 7C 7F 1B 78 */ mr r31, r3 +/* 80308834 00305794 53 E9 07 7E */ rlwimi r9, r31, 0, 0x1d, 0x1f +/* 80308838 00305798 80 08 02 48 */ lwz r0, 0x248(r8) +/* 8030883C 0030579C 50 A9 5C A8 */ rlwimi r9, r5, 0xb, 0x12, 0x14 +/* 80308840 003057A0 50 C9 73 E2 */ rlwimi r9, r6, 0xe, 0xf, 0x11 +/* 80308844 003057A4 50 E9 89 DC */ rlwimi r9, r7, 0x11, 7, 0xe +/* 80308848 003057A8 7C 00 48 40 */ cmplw r0, r9 +/* 8030884C 003057AC 41 82 00 1C */ beq lbl_80308868 +/* 80308850 003057B0 91 28 02 48 */ stw r9, 0x248(r8) +/* 80308854 003057B4 48 07 30 C9 */ bl GXSetAlphaCompare +/* 80308858 003057B8 20 1F 00 07 */ subfic r0, r31, 7 +/* 8030885C 003057BC 7C 00 00 34 */ cntlzw r0, r0 +/* 80308860 003057C0 54 03 DE 3E */ rlwinm r3, r0, 0x1b, 0x18, 0x1f +/* 80308864 003057C4 48 07 37 29 */ bl GXSetZCompLoc +lbl_80308868: +/* 80308868 003057C8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030886C 003057CC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80308870 003057D0 7C 08 03 A6 */ mtlr r0 +/* 80308874 003057D4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80308878 003057D8 4E 80 00 20 */ blr + +.global SetZMode__3CGXFb10_GXCompareb +SetZMode__3CGXFb10_GXCompareb: +/* 8030887C 003057DC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80308880 003057E0 7C 08 02 A6 */ mflr r0 +/* 80308884 003057E4 3C C0 80 5A */ lis r6, lbl_805A53EC@ha +/* 80308888 003057E8 54 63 06 3E */ clrlwi r3, r3, 0x18 +/* 8030888C 003057EC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80308890 003057F0 54 A0 0D FC */ rlwinm r0, r5, 1, 0x17, 0x1e +/* 80308894 003057F4 54 87 15 BA */ rlwinm r7, r4, 2, 0x16, 0x1d +/* 80308898 003057F8 38 C6 53 EC */ addi r6, r6, lbl_805A53EC@l +/* 8030889C 003057FC 7C 60 03 78 */ or r0, r3, r0 +/* 803088A0 00305800 54 A5 06 3E */ clrlwi r5, r5, 0x18 +/* 803088A4 00305804 7C E7 03 78 */ or r7, r7, r0 +/* 803088A8 00305808 88 06 00 52 */ lbz r0, 0x52(r6) +/* 803088AC 0030580C 54 E7 06 3E */ clrlwi r7, r7, 0x18 +/* 803088B0 00305810 7C 07 00 40 */ cmplw r7, r0 +/* 803088B4 00305814 41 82 00 0C */ beq lbl_803088C0 +/* 803088B8 00305818 98 E6 00 52 */ stb r7, 0x52(r6) +/* 803088BC 0030581C 48 07 36 9D */ bl GXSetZMode +lbl_803088C0: +/* 803088C0 00305820 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803088C4 00305824 7C 08 03 A6 */ mtlr r0 +/* 803088C8 00305828 38 21 00 10 */ addi r1, r1, 0x10 +/* 803088CC 0030582C 4E 80 00 20 */ blr + +.global SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp +SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp: +/* 803088D0 00305830 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803088D4 00305834 7C 08 02 A6 */ mflr r0 +/* 803088D8 00305838 90 01 00 24 */ stw r0, 0x24(r1) +/* 803088DC 0030583C BF 41 00 08 */ stmw r26, 8(r1) +/* 803088E0 00305840 7C 7A 1B 78 */ mr r26, r3 +/* 803088E4 00305844 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 803088E8 00305848 7C 9B 23 78 */ mr r27, r4 +/* 803088EC 0030584C 3B E3 53 EC */ addi r31, r3, lbl_805A53EC@l +/* 803088F0 00305850 54 84 16 FA */ rlwinm r4, r4, 2, 0x1b, 0x1d +/* 803088F4 00305854 7C BC 2B 78 */ mr r28, r5 +/* 803088F8 00305858 7C DD 33 78 */ mr r29, r6 +/* 803088FC 0030585C 53 44 07 BE */ rlwimi r4, r26, 0, 0x1e, 0x1f +/* 80308900 00305860 53 84 2E 34 */ rlwimi r4, r28, 5, 0x18, 0x1a +/* 80308904 00305864 7C 9E 23 78 */ mr r30, r4 +/* 80308908 00305868 53 BE 45 2E */ rlwimi r30, r29, 8, 0x14, 0x17 +/* 8030890C 0030586C A0 1F 00 56 */ lhz r0, 0x56(r31) +/* 80308910 00305870 7C 1E 00 40 */ cmplw r30, r0 +/* 80308914 00305874 41 82 00 24 */ beq lbl_80308938 +/* 80308918 00305878 7F C3 F3 78 */ mr r3, r30 +/* 8030891C 0030587C 4B DA BA 5D */ bl update_fog__3CGXFUi +/* 80308920 00305880 B3 DF 00 56 */ sth r30, 0x56(r31) +/* 80308924 00305884 7F 43 D3 78 */ mr r3, r26 +/* 80308928 00305888 7F 64 DB 78 */ mr r4, r27 +/* 8030892C 0030588C 7F 85 E3 78 */ mr r5, r28 +/* 80308930 00305890 7F A6 EB 78 */ mr r6, r29 +/* 80308934 00305894 48 07 35 79 */ bl GXSetBlendMode +lbl_80308938: +/* 80308938 00305898 BB 41 00 08 */ lmw r26, 8(r1) +/* 8030893C 0030589C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80308940 003058A0 7C 08 03 A6 */ mtlr r0 +/* 80308944 003058A4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80308948 003058A8 4E 80 00 20 */ blr + +.global SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID: +/* 8030894C 003058AC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80308950 003058B0 7C 08 02 A6 */ mflr r0 +/* 80308954 003058B4 1D 23 00 1C */ mulli r9, r3, 0x1c +/* 80308958 003058B8 3D 00 80 5A */ lis r8, lbl_805A53EC@ha +/* 8030895C 003058BC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80308960 003058C0 54 A7 44 2E */ rlwinm r7, r5, 8, 0x10, 0x17 +/* 80308964 003058C4 38 08 53 EC */ addi r0, r8, lbl_805A53EC@l +/* 80308968 003058C8 7D 00 4A 14 */ add r8, r0, r9 +/* 8030896C 003058CC 39 08 00 68 */ addi r8, r8, 0x68 +/* 80308970 003058D0 50 87 06 3E */ rlwimi r7, r4, 0, 0x18, 0x1f +/* 80308974 003058D4 80 08 00 14 */ lwz r0, 0x14(r8) +/* 80308978 003058D8 50 C7 82 1E */ rlwimi r7, r6, 0x10, 8, 0xf +/* 8030897C 003058DC 7C 00 38 40 */ cmplw r0, r7 +/* 80308980 003058E0 41 82 00 0C */ beq lbl_8030898C +/* 80308984 003058E4 90 E8 00 14 */ stw r7, 0x14(r8) +/* 80308988 003058E8 48 07 30 6D */ bl GXSetTevOrder +lbl_8030898C: +/* 8030898C 003058EC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80308990 003058F0 7C 08 03 A6 */ mtlr r0 +/* 80308994 003058F4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80308998 003058F8 4E 80 00 20 */ blr + +.global SetTevKAlphaSel__3CGXF13_GXTevStageID15_GXTevKAlphaSel +SetTevKAlphaSel__3CGXF13_GXTevStageID15_GXTevKAlphaSel: +/* 8030899C 003058FC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803089A0 00305900 7C 08 02 A6 */ mflr r0 +/* 803089A4 00305904 1C C3 00 1C */ mulli r6, r3, 0x1c +/* 803089A8 00305908 3C A0 80 5A */ lis r5, lbl_805A53EC@ha +/* 803089AC 0030590C 90 01 00 14 */ stw r0, 0x14(r1) +/* 803089B0 00305910 38 05 53 EC */ addi r0, r5, lbl_805A53EC@l +/* 803089B4 00305914 7C A0 32 14 */ add r5, r0, r6 +/* 803089B8 00305918 38 A5 00 68 */ addi r5, r5, 0x68 +/* 803089BC 0030591C 88 05 00 19 */ lbz r0, 0x19(r5) +/* 803089C0 00305920 7C 04 00 00 */ cmpw r4, r0 +/* 803089C4 00305924 41 82 00 0C */ beq lbl_803089D0 +/* 803089C8 00305928 98 85 00 19 */ stb r4, 0x19(r5) +/* 803089CC 0030592C 48 07 2D F9 */ bl GXSetTevKAlphaSel +lbl_803089D0: +/* 803089D0 00305930 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803089D4 00305934 7C 08 03 A6 */ mtlr r0 +/* 803089D8 00305938 38 21 00 10 */ addi r1, r1, 0x10 +/* 803089DC 0030593C 4E 80 00 20 */ blr + +.global SetTevKColorSel__3CGXF13_GXTevStageID15_GXTevKColorSel +SetTevKColorSel__3CGXF13_GXTevStageID15_GXTevKColorSel: +/* 803089E0 00305940 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803089E4 00305944 7C 08 02 A6 */ mflr r0 +/* 803089E8 00305948 1C C3 00 1C */ mulli r6, r3, 0x1c +/* 803089EC 0030594C 3C A0 80 5A */ lis r5, lbl_805A53EC@ha +/* 803089F0 00305950 90 01 00 14 */ stw r0, 0x14(r1) +/* 803089F4 00305954 38 05 53 EC */ addi r0, r5, lbl_805A53EC@l +/* 803089F8 00305958 7C A0 32 14 */ add r5, r0, r6 +/* 803089FC 0030595C 38 A5 00 68 */ addi r5, r5, 0x68 +/* 80308A00 00305960 88 05 00 18 */ lbz r0, 0x18(r5) +/* 80308A04 00305964 7C 04 00 00 */ cmpw r4, r0 +/* 80308A08 00305968 41 82 00 0C */ beq lbl_80308A14 +/* 80308A0C 0030596C 98 85 00 18 */ stb r4, 0x18(r5) +/* 80308A10 00305970 48 07 2D 49 */ bl GXSetTevKColorSel +lbl_80308A14: +/* 80308A14 00305974 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80308A18 00305978 7C 08 03 A6 */ mtlr r0 +/* 80308A1C 0030597C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80308A20 00305980 4E 80 00 20 */ blr + +.global SetTevAlphaOp_Compressed__3CGXF13_GXTevStageIDUi +SetTevAlphaOp_Compressed__3CGXF13_GXTevStageIDUi: +/* 80308A24 00305984 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80308A28 00305988 7C 08 02 A6 */ mflr r0 +/* 80308A2C 0030598C 1C C3 00 1C */ mulli r6, r3, 0x1c +/* 80308A30 00305990 3C A0 80 5A */ lis r5, lbl_805A53EC@ha +/* 80308A34 00305994 90 01 00 14 */ stw r0, 0x14(r1) +/* 80308A38 00305998 7C 88 23 78 */ mr r8, r4 +/* 80308A3C 0030599C 38 05 53 EC */ addi r0, r5, lbl_805A53EC@l +/* 80308A40 003059A0 7C 80 32 14 */ add r4, r0, r6 +/* 80308A44 003059A4 38 84 00 68 */ addi r4, r4, 0x68 +/* 80308A48 003059A8 80 04 00 0C */ lwz r0, 0xc(r4) +/* 80308A4C 003059AC 7C 08 00 40 */ cmplw r8, r0 +/* 80308A50 003059B0 41 82 00 20 */ beq lbl_80308A70 +/* 80308A54 003059B4 91 04 00 0C */ stw r8, 0xc(r4) +/* 80308A58 003059B8 55 07 C7 FE */ rlwinm r7, r8, 0x18, 0x1f, 0x1f +/* 80308A5C 003059BC 55 04 07 3E */ clrlwi r4, r8, 0x1c +/* 80308A60 003059C0 55 05 E7 BE */ rlwinm r5, r8, 0x1c, 0x1e, 0x1f +/* 80308A64 003059C4 55 06 D7 BE */ rlwinm r6, r8, 0x1a, 0x1e, 0x1f +/* 80308A68 003059C8 55 08 BF BE */ rlwinm r8, r8, 0x17, 0x1e, 0x1f +/* 80308A6C 003059CC 48 07 2B 29 */ bl GXSetTevAlphaOp +lbl_80308A70: +/* 80308A70 003059D0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80308A74 003059D4 7C 08 03 A6 */ mtlr r0 +/* 80308A78 003059D8 38 21 00 10 */ addi r1, r1, 0x10 +/* 80308A7C 003059DC 4E 80 00 20 */ blr + +.global SetTevAlphaOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID +SetTevAlphaOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID: +/* 80308A80 003059E0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80308A84 003059E4 7C 08 02 A6 */ mflr r0 +/* 80308A88 003059E8 1D 43 00 1C */ mulli r10, r3, 0x1c +/* 80308A8C 003059EC 3D 20 80 5A */ lis r9, lbl_805A53EC@ha +/* 80308A90 003059F0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80308A94 003059F4 54 AB 26 B6 */ rlwinm r11, r5, 4, 0x1a, 0x1b +/* 80308A98 003059F8 38 09 53 EC */ addi r0, r9, lbl_805A53EC@l +/* 80308A9C 003059FC 7D 20 52 14 */ add r9, r0, r10 +/* 80308AA0 00305A00 50 8B 07 3E */ rlwimi r11, r4, 0, 0x1c, 0x1f +/* 80308AA4 00305A04 80 09 00 74 */ lwz r0, 0x74(r9) +/* 80308AA8 00305A08 50 CB 36 32 */ rlwimi r11, r6, 6, 0x18, 0x19 +/* 80308AAC 00305A0C 39 49 00 68 */ addi r10, r9, 0x68 +/* 80308AB0 00305A10 50 EB 45 EE */ rlwimi r11, r7, 8, 0x17, 0x17 +/* 80308AB4 00305A14 7D 69 5B 78 */ mr r9, r11 +/* 80308AB8 00305A18 51 09 4D 6C */ rlwimi r9, r8, 9, 0x15, 0x16 +/* 80308ABC 00305A1C 7C 09 00 40 */ cmplw r9, r0 +/* 80308AC0 00305A20 41 82 00 0C */ beq lbl_80308ACC +/* 80308AC4 00305A24 91 2A 00 0C */ stw r9, 0xc(r10) +/* 80308AC8 00305A28 48 07 2A CD */ bl GXSetTevAlphaOp +lbl_80308ACC: +/* 80308ACC 00305A2C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80308AD0 00305A30 7C 08 03 A6 */ mtlr r0 +/* 80308AD4 00305A34 38 21 00 10 */ addi r1, r1, 0x10 +/* 80308AD8 00305A38 4E 80 00 20 */ blr + +.global SetTevColorOp_Compressed__3CGXF13_GXTevStageIDUi +SetTevColorOp_Compressed__3CGXF13_GXTevStageIDUi: +/* 80308ADC 00305A3C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80308AE0 00305A40 7C 08 02 A6 */ mflr r0 +/* 80308AE4 00305A44 1C C3 00 1C */ mulli r6, r3, 0x1c +/* 80308AE8 00305A48 3C A0 80 5A */ lis r5, lbl_805A53EC@ha +/* 80308AEC 00305A4C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80308AF0 00305A50 7C 88 23 78 */ mr r8, r4 +/* 80308AF4 00305A54 38 05 53 EC */ addi r0, r5, lbl_805A53EC@l +/* 80308AF8 00305A58 7C 80 32 14 */ add r4, r0, r6 +/* 80308AFC 00305A5C 38 84 00 68 */ addi r4, r4, 0x68 +/* 80308B00 00305A60 80 04 00 08 */ lwz r0, 8(r4) +/* 80308B04 00305A64 7C 08 00 40 */ cmplw r8, r0 +/* 80308B08 00305A68 41 82 00 20 */ beq lbl_80308B28 +/* 80308B0C 00305A6C 91 04 00 08 */ stw r8, 8(r4) +/* 80308B10 00305A70 55 07 C7 FE */ rlwinm r7, r8, 0x18, 0x1f, 0x1f +/* 80308B14 00305A74 55 04 07 3E */ clrlwi r4, r8, 0x1c +/* 80308B18 00305A78 55 05 E7 BE */ rlwinm r5, r8, 0x1c, 0x1e, 0x1f +/* 80308B1C 00305A7C 55 06 D7 BE */ rlwinm r6, r8, 0x1a, 0x1e, 0x1f +/* 80308B20 00305A80 55 08 BF BE */ rlwinm r8, r8, 0x17, 0x1e, 0x1f +/* 80308B24 00305A84 48 07 2A 09 */ bl GXSetTevColorOp +lbl_80308B28: +/* 80308B28 00305A88 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80308B2C 00305A8C 7C 08 03 A6 */ mtlr r0 +/* 80308B30 00305A90 38 21 00 10 */ addi r1, r1, 0x10 +/* 80308B34 00305A94 4E 80 00 20 */ blr + +.global SetTevColorOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID +SetTevColorOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID: +/* 80308B38 00305A98 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80308B3C 00305A9C 7C 08 02 A6 */ mflr r0 +/* 80308B40 00305AA0 1D 43 00 1C */ mulli r10, r3, 0x1c +/* 80308B44 00305AA4 3D 20 80 5A */ lis r9, lbl_805A53EC@ha +/* 80308B48 00305AA8 90 01 00 14 */ stw r0, 0x14(r1) +/* 80308B4C 00305AAC 54 AB 26 B6 */ rlwinm r11, r5, 4, 0x1a, 0x1b +/* 80308B50 00305AB0 38 09 53 EC */ addi r0, r9, lbl_805A53EC@l +/* 80308B54 00305AB4 7D 20 52 14 */ add r9, r0, r10 +/* 80308B58 00305AB8 50 8B 07 3E */ rlwimi r11, r4, 0, 0x1c, 0x1f +/* 80308B5C 00305ABC 80 09 00 70 */ lwz r0, 0x70(r9) +/* 80308B60 00305AC0 50 CB 36 32 */ rlwimi r11, r6, 6, 0x18, 0x19 +/* 80308B64 00305AC4 39 49 00 68 */ addi r10, r9, 0x68 +/* 80308B68 00305AC8 50 EB 45 EE */ rlwimi r11, r7, 8, 0x17, 0x17 +/* 80308B6C 00305ACC 7D 69 5B 78 */ mr r9, r11 +/* 80308B70 00305AD0 51 09 4D 6C */ rlwimi r9, r8, 9, 0x15, 0x16 +/* 80308B74 00305AD4 7C 09 00 40 */ cmplw r9, r0 +/* 80308B78 00305AD8 41 82 00 0C */ beq lbl_80308B84 +/* 80308B7C 00305ADC 91 2A 00 08 */ stw r9, 8(r10) +/* 80308B80 00305AE0 48 07 29 AD */ bl GXSetTevColorOp +lbl_80308B84: +/* 80308B84 00305AE4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80308B88 00305AE8 7C 08 03 A6 */ mtlr r0 +/* 80308B8C 00305AEC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80308B90 00305AF0 4E 80 00 20 */ blr + +.global SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg +SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg: +/* 80308B94 00305AF4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80308B98 00305AF8 7C 08 02 A6 */ mflr r0 +/* 80308B9C 00305AFC 1D 23 00 1C */ mulli r9, r3, 0x1c +/* 80308BA0 00305B00 3D 00 80 5A */ lis r8, lbl_805A53EC@ha +/* 80308BA4 00305B04 90 01 00 14 */ stw r0, 0x14(r1) +/* 80308BA8 00305B08 54 AA 2D B4 */ rlwinm r10, r5, 5, 0x16, 0x1a +/* 80308BAC 00305B0C 38 08 53 EC */ addi r0, r8, lbl_805A53EC@l +/* 80308BB0 00305B10 7D 00 4A 14 */ add r8, r0, r9 +/* 80308BB4 00305B14 50 8A 06 FE */ rlwimi r10, r4, 0, 0x1b, 0x1f +/* 80308BB8 00305B18 80 08 00 6C */ lwz r0, 0x6c(r8) +/* 80308BBC 00305B1C 50 CA 54 6A */ rlwimi r10, r6, 0xa, 0x11, 0x15 +/* 80308BC0 00305B20 39 28 00 68 */ addi r9, r8, 0x68 +/* 80308BC4 00305B24 7D 48 53 78 */ mr r8, r10 +/* 80308BC8 00305B28 50 E8 7B 20 */ rlwimi r8, r7, 0xf, 0xc, 0x10 +/* 80308BCC 00305B2C 7C 08 00 40 */ cmplw r8, r0 +/* 80308BD0 00305B30 41 82 00 0C */ beq lbl_80308BDC +/* 80308BD4 00305B34 91 09 00 04 */ stw r8, 4(r9) +/* 80308BD8 00305B38 48 07 29 11 */ bl GXSetTevAlphaIn +lbl_80308BDC: +/* 80308BDC 00305B3C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80308BE0 00305B40 7C 08 03 A6 */ mtlr r0 +/* 80308BE4 00305B44 38 21 00 10 */ addi r1, r1, 0x10 +/* 80308BE8 00305B48 4E 80 00 20 */ blr + +.global SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg +SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg: +/* 80308BEC 00305B4C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80308BF0 00305B50 7C 08 02 A6 */ mflr r0 +/* 80308BF4 00305B54 1D 23 00 1C */ mulli r9, r3, 0x1c +/* 80308BF8 00305B58 3D 00 80 5A */ lis r8, lbl_805A53EC@ha +/* 80308BFC 00305B5C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80308C00 00305B60 54 AA 2D B4 */ rlwinm r10, r5, 5, 0x16, 0x1a +/* 80308C04 00305B64 38 08 53 EC */ addi r0, r8, lbl_805A53EC@l +/* 80308C08 00305B68 7D 00 4A 14 */ add r8, r0, r9 +/* 80308C0C 00305B6C 50 8A 06 FE */ rlwimi r10, r4, 0, 0x1b, 0x1f +/* 80308C10 00305B70 80 08 00 68 */ lwz r0, 0x68(r8) +/* 80308C14 00305B74 50 CA 54 6A */ rlwimi r10, r6, 0xa, 0x11, 0x15 +/* 80308C18 00305B78 39 28 00 68 */ addi r9, r8, 0x68 +/* 80308C1C 00305B7C 7D 48 53 78 */ mr r8, r10 +/* 80308C20 00305B80 50 E8 7B 20 */ rlwimi r8, r7, 0xf, 0xc, 0x10 +/* 80308C24 00305B84 7C 08 00 40 */ cmplw r8, r0 +/* 80308C28 00305B88 41 82 00 0C */ beq lbl_80308C34 +/* 80308C2C 00305B8C 91 09 00 00 */ stw r8, 0(r9) +/* 80308C30 00305B90 48 07 28 75 */ bl GXSetTevColorIn +lbl_80308C34: +/* 80308C34 00305B94 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80308C38 00305B98 7C 08 03 A6 */ mtlr r0 +/* 80308C3C 00305B9C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80308C40 00305BA0 4E 80 00 20 */ blr + +.global SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor +SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor: +/* 80308C44 00305BA4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80308C48 00305BA8 7C 08 02 A6 */ mflr r0 +/* 80308C4C 00305BAC 3C A0 80 5A */ lis r5, lbl_805A53EC@ha +/* 80308C50 00305BB0 54 66 10 3A */ slwi r6, r3, 2 +/* 80308C54 00305BB4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80308C58 00305BB8 38 05 53 EC */ addi r0, r5, lbl_805A53EC@l +/* 80308C5C 00305BBC 80 A4 00 00 */ lwz r5, 0(r4) +/* 80308C60 00305BC0 7C 80 32 14 */ add r4, r0, r6 +/* 80308C64 00305BC4 84 04 00 58 */ lwzu r0, 0x58(r4) +/* 80308C68 00305BC8 7C 00 28 40 */ cmplw r0, r5 +/* 80308C6C 00305BCC 41 82 00 14 */ beq lbl_80308C80 +/* 80308C70 00305BD0 90 A4 00 00 */ stw r5, 0(r4) +/* 80308C74 00305BD4 38 81 00 08 */ addi r4, r1, 8 +/* 80308C78 00305BD8 90 A1 00 08 */ stw r5, 8(r1) +/* 80308C7C 00305BDC 48 07 2A 69 */ bl GXSetTevKColor +lbl_80308C80: +/* 80308C80 00305BE0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80308C84 00305BE4 7C 08 03 A6 */ mtlr r0 +/* 80308C88 00305BE8 38 21 00 10 */ addi r1, r1, 0x10 +/* 80308C8C 00305BEC 4E 80 00 20 */ blr + +.global SetNumTevStages__3CGXFUc +SetNumTevStages__3CGXFUc: +/* 80308C90 00305BF0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80308C94 00305BF4 7C 08 02 A6 */ mflr r0 +/* 80308C98 00305BF8 3C 80 80 5A */ lis r4, lbl_805A53EC@ha +/* 80308C9C 00305BFC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80308CA0 00305C00 38 A4 53 EC */ addi r5, r4, lbl_805A53EC@l +/* 80308CA4 00305C04 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 80308CA8 00305C08 88 85 00 50 */ lbz r4, 0x50(r5) +/* 80308CAC 00305C0C 7C 04 00 40 */ cmplw r4, r0 +/* 80308CB0 00305C10 41 82 00 0C */ beq lbl_80308CBC +/* 80308CB4 00305C14 98 65 00 50 */ stb r3, 0x50(r5) +/* 80308CB8 00305C18 48 07 2F 15 */ bl GXSetNumTevStages +lbl_80308CBC: +/* 80308CBC 00305C1C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80308CC0 00305C20 7C 08 03 A6 */ mtlr r0 +/* 80308CC4 00305C24 38 21 00 10 */ addi r1, r1, 0x10 +/* 80308CC8 00305C28 4E 80 00 20 */ blr + +.global SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn +SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn: +/* 80308CCC 00305C2C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80308CD0 00305C30 3D 40 80 5A */ lis r10, lbl_805A53EC@ha +/* 80308CD4 00305C34 54 6B 08 3C */ slwi r11, r3, 1 +/* 80308CD8 00305C38 2C 07 00 00 */ cmpwi r7, 0 +/* 80308CDC 00305C3C 38 0A 53 EC */ addi r0, r10, lbl_805A53EC@l +/* 80308CE0 00305C40 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80308CE4 00305C44 7D 40 5A 14 */ add r10, r0, r11 +/* 80308CE8 00305C48 A3 EA 00 30 */ lhz r31, 0x30(r10) +/* 80308CEC 00305C4C 39 8A 00 34 */ addi r12, r10, 0x34 +/* 80308CF0 00305C50 40 82 00 08 */ bne lbl_80308CF8 +/* 80308CF4 00305C54 38 80 00 00 */ li r4, 0 +lbl_80308CF8: +/* 80308CF8 00305C58 54 AB 0F BC */ rlwinm r11, r5, 1, 0x1e, 0x1e +/* 80308CFC 00305C5C 3D 40 80 5A */ lis r10, lbl_805A53EC@ha +/* 80308D00 00305C60 50 8B 07 FE */ rlwimi r11, r4, 0, 0x1f, 0x1f +/* 80308D04 00305C64 38 A3 00 01 */ addi r5, r3, 1 +/* 80308D08 00305C68 50 CB 17 7A */ rlwimi r11, r6, 2, 0x1d, 0x1d +/* 80308D0C 00305C6C 38 00 00 01 */ li r0, 1 +/* 80308D10 00305C70 50 EB 1D 78 */ rlwimi r11, r7, 3, 0x15, 0x1c +/* 80308D14 00305C74 39 4A 53 EC */ addi r10, r10, lbl_805A53EC@l +/* 80308D18 00305C78 51 0B 5C E8 */ rlwimi r11, r8, 0xb, 0x13, 0x14 +/* 80308D1C 00305C7C 7C 00 28 30 */ slw r0, r0, r5 +/* 80308D20 00305C80 7D 63 5B 78 */ mr r3, r11 +/* 80308D24 00305C84 51 23 6C 64 */ rlwimi r3, r9, 0xd, 0x11, 0x12 +/* 80308D28 00305C88 B0 6C 00 00 */ sth r3, 0(r12) +/* 80308D2C 00305C8C 7C 83 F8 50 */ subf r4, r3, r31 +/* 80308D30 00305C90 7C 7F 18 50 */ subf r3, r31, r3 +/* 80308D34 00305C94 7C 84 1B 78 */ or r4, r4, r3 +/* 80308D38 00305C98 88 6A 00 4C */ lbz r3, 0x4c(r10) +/* 80308D3C 00305C9C 54 84 0F FE */ srwi r4, r4, 0x1f +/* 80308D40 00305CA0 7C 84 28 30 */ slw r4, r4, r5 +/* 80308D44 00305CA4 7C 60 00 78 */ andc r0, r3, r0 +/* 80308D48 00305CA8 7C 80 03 78 */ or r0, r4, r0 +/* 80308D4C 00305CAC 98 0A 00 4C */ stb r0, 0x4c(r10) +/* 80308D50 00305CB0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80308D54 00305CB4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80308D58 00305CB8 4E 80 00 20 */ blr + +.global SetChanMatColor__3CGXFQ23CGX10EChannelIdRC8_GXColor +SetChanMatColor__3CGXFQ23CGX10EChannelIdRC8_GXColor: +/* 80308D5C 00305CBC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80308D60 00305CC0 7C 08 02 A6 */ mflr r0 +/* 80308D64 00305CC4 3C A0 80 5A */ lis r5, lbl_805A53EC@ha +/* 80308D68 00305CC8 54 66 10 3A */ slwi r6, r3, 2 +/* 80308D6C 00305CCC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80308D70 00305CD0 38 05 53 EC */ addi r0, r5, lbl_805A53EC@l +/* 80308D74 00305CD4 80 E4 00 00 */ lwz r7, 0(r4) +/* 80308D78 00305CD8 7C 80 32 14 */ add r4, r0, r6 +/* 80308D7C 00305CDC 84 04 00 40 */ lwzu r0, 0x40(r4) +/* 80308D80 00305CE0 7C 07 00 40 */ cmplw r7, r0 +/* 80308D84 00305CE4 41 82 00 18 */ beq lbl_80308D9C +/* 80308D88 00305CE8 90 E4 00 00 */ stw r7, 0(r4) +/* 80308D8C 00305CEC 38 63 00 04 */ addi r3, r3, 4 +/* 80308D90 00305CF0 38 81 00 08 */ addi r4, r1, 8 +/* 80308D94 00305CF4 90 E1 00 08 */ stw r7, 8(r1) +/* 80308D98 00305CF8 48 07 0C A5 */ bl GXSetChanMatColor +lbl_80308D9C: +/* 80308D9C 00305CFC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80308DA0 00305D00 7C 08 03 A6 */ mtlr r0 +/* 80308DA4 00305D04 38 21 00 10 */ addi r1, r1, 0x10 +/* 80308DA8 00305D08 4E 80 00 20 */ blr + +.global GetChanAmbColor__3CGXFQ23CGX10EChannelId +GetChanAmbColor__3CGXFQ23CGX10EChannelId: +/* 80308DAC 00305D0C 3C 80 80 5A */ lis r4, lbl_805A53EC@ha +/* 80308DB0 00305D10 54 60 10 3A */ slwi r0, r3, 2 +/* 80308DB4 00305D14 38 64 53 EC */ addi r3, r4, lbl_805A53EC@l +/* 80308DB8 00305D18 7C 63 02 14 */ add r3, r3, r0 +/* 80308DBC 00305D1C 80 63 00 38 */ lwz r3, 0x38(r3) +/* 80308DC0 00305D20 4E 80 00 20 */ blr + +.global SetChanAmbColor__3CGXFQ23CGX10EChannelIdRC8_GXColor +SetChanAmbColor__3CGXFQ23CGX10EChannelIdRC8_GXColor: +/* 80308DC4 00305D24 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80308DC8 00305D28 7C 08 02 A6 */ mflr r0 +/* 80308DCC 00305D2C 3C A0 80 5A */ lis r5, lbl_805A53EC@ha +/* 80308DD0 00305D30 54 66 10 3A */ slwi r6, r3, 2 +/* 80308DD4 00305D34 90 01 00 14 */ stw r0, 0x14(r1) +/* 80308DD8 00305D38 38 05 53 EC */ addi r0, r5, lbl_805A53EC@l +/* 80308DDC 00305D3C 80 E4 00 00 */ lwz r7, 0(r4) +/* 80308DE0 00305D40 7C 80 32 14 */ add r4, r0, r6 +/* 80308DE4 00305D44 84 04 00 38 */ lwzu r0, 0x38(r4) +/* 80308DE8 00305D48 7C 07 00 40 */ cmplw r7, r0 +/* 80308DEC 00305D4C 41 82 00 18 */ beq lbl_80308E04 +/* 80308DF0 00305D50 90 E4 00 00 */ stw r7, 0(r4) +/* 80308DF4 00305D54 38 63 00 04 */ addi r3, r3, 4 +/* 80308DF8 00305D58 38 81 00 08 */ addi r4, r1, 8 +/* 80308DFC 00305D5C 90 E1 00 08 */ stw r7, 8(r1) +/* 80308E00 00305D60 48 07 0B 49 */ bl GXSetChanAmbColor +lbl_80308E04: +/* 80308E04 00305D64 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80308E08 00305D68 7C 08 03 A6 */ mtlr r0 +/* 80308E0C 00305D6C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80308E10 00305D70 4E 80 00 20 */ blr + +.global SetNumTexGens__3CGXFUc +SetNumTexGens__3CGXFUc: +/* 80308E14 00305D74 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80308E18 00305D78 7C 08 02 A6 */ mflr r0 +/* 80308E1C 00305D7C 3C 80 80 5A */ lis r4, lbl_805A53EC@ha +/* 80308E20 00305D80 54 65 06 3E */ clrlwi r5, r3, 0x18 +/* 80308E24 00305D84 90 01 00 14 */ stw r0, 0x14(r1) +/* 80308E28 00305D88 38 84 53 EC */ addi r4, r4, lbl_805A53EC@l +/* 80308E2C 00305D8C 88 04 00 4F */ lbz r0, 0x4f(r4) +/* 80308E30 00305D90 7C 05 00 40 */ cmplw r5, r0 +/* 80308E34 00305D94 41 82 00 0C */ beq lbl_80308E40 +/* 80308E38 00305D98 98 64 00 4F */ stb r3, 0x4f(r4) +/* 80308E3C 00305D9C 48 06 F4 29 */ bl GXSetNumTexGens +lbl_80308E40: +/* 80308E40 00305DA0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80308E44 00305DA4 7C 08 03 A6 */ mtlr r0 +/* 80308E48 00305DA8 38 21 00 10 */ addi r1, r1, 0x10 +/* 80308E4C 00305DAC 4E 80 00 20 */ blr + +.global SetNumChans__3CGXFUc +SetNumChans__3CGXFUc: +/* 80308E50 00305DB0 3C 80 80 5A */ lis r4, lbl_805A53EC@ha +/* 80308E54 00305DB4 54 66 06 3E */ clrlwi r6, r3, 0x18 +/* 80308E58 00305DB8 38 E4 53 EC */ addi r7, r4, lbl_805A53EC@l +/* 80308E5C 00305DBC 88 87 00 4D */ lbz r4, 0x4d(r7) +/* 80308E60 00305DC0 88 07 00 4C */ lbz r0, 0x4c(r7) +/* 80308E64 00305DC4 7C A6 20 50 */ subf r5, r6, r4 +/* 80308E68 00305DC8 7C 84 30 50 */ subf r4, r4, r6 +/* 80308E6C 00305DCC 7C A4 23 78 */ or r4, r5, r4 +/* 80308E70 00305DD0 98 67 00 4E */ stb r3, 0x4e(r7) +/* 80308E74 00305DD4 50 80 0F FE */ rlwimi r0, r4, 1, 0x1f, 0x1f +/* 80308E78 00305DD8 98 07 00 4C */ stb r0, 0x4c(r7) +/* 80308E7C 00305DDC 4E 80 00 20 */ blr + +.global __sinit_CGX_cpp +__sinit_CGX_cpp: +/* 80308E80 00305DE0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80308E84 00305DE4 7C 08 02 A6 */ mflr r0 +/* 80308E88 00305DE8 3C 60 80 5A */ lis r3, lbl_805A53EC@ha +/* 80308E8C 00305DEC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80308E90 00305DF0 38 63 53 EC */ addi r3, r3, lbl_805A53EC@l +/* 80308E94 00305DF4 4B FF F4 09 */ bl __ct__Q23CGX8SGXStateFv +/* 80308E98 00305DF8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80308E9C 00305DFC 7C 08 03 A6 */ mtlr r0 +/* 80308EA0 00305E00 38 21 00 10 */ addi r1, r1, 0x10 +/* 80308EA4 00305E04 4E 80 00 20 */ blr diff --git a/asm/Kyoto/Graphics/CLight.s b/asm/Kyoto/Graphics/CLight.s new file mode 100644 index 00000000..d017f6a6 --- /dev/null +++ b/asm/Kyoto/Graphics/CLight.s @@ -0,0 +1,460 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global GetNormalIndependentLightingAtPoint__6CLightCFRC9CVector3f +GetNormalIndependentLightingAtPoint__6CLightCFRC9CVector3f: +/* 80306024 00302F84 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 80306028 00302F88 7C 08 02 A6 */ mflr r0 +/* 8030602C 00302F8C 90 01 00 54 */ stw r0, 0x54(r1) +/* 80306030 00302F90 DB E1 00 40 */ stfd f31, 0x40(r1) +/* 80306034 00302F94 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 +/* 80306038 00302F98 DB C1 00 30 */ stfd f30, 0x30(r1) +/* 8030603C 00302F9C F3 C1 00 38 */ psq_st f30, 56(r1), 0, qr0 +/* 80306040 00302FA0 DB A1 00 20 */ stfd f29, 0x20(r1) +/* 80306044 00302FA4 F3 A1 00 28 */ psq_st f29, 40(r1), 0, qr0 +/* 80306048 00302FA8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8030604C 00302FAC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80306050 00302FB0 7C 7E 1B 78 */ mr r30, r3 +/* 80306054 00302FB4 7C 9F 23 78 */ mr r31, r4 +/* 80306058 00302FB8 E0 3F A0 1A */ psq_l f1, 26(r31), 1, qr2 +/* 8030605C 00302FBC C0 02 C7 7C */ lfs f0, lbl_805AE49C@sda21(r2) +/* 80306060 00302FC0 EF E0 00 72 */ fmuls f31, f0, f1 +/* 80306064 00302FC4 E0 3F A0 19 */ psq_l f1, 25(r31), 1, qr2 +/* 80306068 00302FC8 EF C0 00 72 */ fmuls f30, f0, f1 +/* 8030606C 00302FCC E0 3F A0 18 */ psq_l f1, 24(r31), 1, qr2 +/* 80306070 00302FD0 80 1F 00 1C */ lwz r0, 0x1c(r31) +/* 80306074 00302FD4 EF A0 00 72 */ fmuls f29, f0, f1 +/* 80306078 00302FD8 2C 00 00 03 */ cmpwi r0, 3 +/* 8030607C 00302FDC 40 82 00 14 */ bne lbl_80306090 +/* 80306080 00302FE0 D3 BE 00 00 */ stfs f29, 0(r30) +/* 80306084 00302FE4 D3 DE 00 04 */ stfs f30, 4(r30) +/* 80306088 00302FE8 D3 FE 00 08 */ stfs f31, 8(r30) +/* 8030608C 00302FEC 48 00 00 98 */ b lbl_80306124 +lbl_80306090: +/* 80306090 00302FF0 C0 3F 00 04 */ lfs f1, 4(r31) +/* 80306094 00302FF4 38 61 00 0C */ addi r3, r1, 0xc +/* 80306098 00302FF8 C0 05 00 04 */ lfs f0, 4(r5) +/* 8030609C 00302FFC C0 7F 00 08 */ lfs f3, 8(r31) +/* 803060A0 00303000 C0 45 00 08 */ lfs f2, 8(r5) +/* 803060A4 00303004 EC 81 00 28 */ fsubs f4, f1, f0 +/* 803060A8 00303008 C0 3F 00 00 */ lfs f1, 0(r31) +/* 803060AC 0030300C C0 05 00 00 */ lfs f0, 0(r5) +/* 803060B0 00303010 EC 43 10 28 */ fsubs f2, f3, f2 +/* 803060B4 00303014 D0 81 00 10 */ stfs f4, 0x10(r1) +/* 803060B8 00303018 EC 01 00 28 */ fsubs f0, f1, f0 +/* 803060BC 0030301C D0 41 00 14 */ stfs f2, 0x14(r1) +/* 803060C0 00303020 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 803060C4 00303024 48 00 E7 F5 */ bl Magnitude__9CVector3fCFv +/* 803060C8 00303028 FC 40 08 18 */ frsp f2, f1 +/* 803060CC 0030302C C0 02 C7 78 */ lfs f0, lbl_805AE498@sda21(r2) +/* 803060D0 00303030 D0 21 00 08 */ stfs f1, 8(r1) +/* 803060D4 00303034 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 803060D8 00303038 40 80 00 0C */ bge lbl_803060E4 +/* 803060DC 0030303C 38 62 C7 78 */ addi r3, r2, lbl_805AE498@sda21 +/* 803060E0 00303040 48 00 00 08 */ b lbl_803060E8 +lbl_803060E4: +/* 803060E4 00303044 38 61 00 08 */ addi r3, r1, 8 +lbl_803060E8: +/* 803060E8 00303048 C0 83 00 00 */ lfs f4, 0(r3) +/* 803060EC 0030304C C0 5F 00 2C */ lfs f2, 0x2c(r31) +/* 803060F0 00303050 C0 3F 00 28 */ lfs f1, 0x28(r31) +/* 803060F4 00303054 C0 1F 00 24 */ lfs f0, 0x24(r31) +/* 803060F8 00303058 EC 42 01 32 */ fmuls f2, f2, f4 +/* 803060FC 0030305C C0 62 C7 80 */ lfs f3, lbl_805AE4A0@sda21(r2) +/* 80306100 00303060 EC 01 01 3A */ fmadds f0, f1, f4, f0 +/* 80306104 00303064 EC 04 00 BA */ fmadds f0, f4, f2, f0 +/* 80306108 00303068 EC 03 00 24 */ fdivs f0, f3, f0 +/* 8030610C 0030306C EC 40 07 72 */ fmuls f2, f0, f29 +/* 80306110 00303070 EC 20 07 B2 */ fmuls f1, f0, f30 +/* 80306114 00303074 EC 00 07 F2 */ fmuls f0, f0, f31 +/* 80306118 00303078 D0 5E 00 00 */ stfs f2, 0(r30) +/* 8030611C 0030307C D0 3E 00 04 */ stfs f1, 4(r30) +/* 80306120 00303080 D0 1E 00 08 */ stfs f0, 8(r30) +lbl_80306124: +/* 80306124 00303084 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 +/* 80306128 00303088 CB E1 00 40 */ lfd f31, 0x40(r1) +/* 8030612C 0030308C E3 C1 00 38 */ psq_l f30, 56(r1), 0, qr0 +/* 80306130 00303090 CB C1 00 30 */ lfd f30, 0x30(r1) +/* 80306134 00303094 E3 A1 00 28 */ psq_l f29, 40(r1), 0, qr0 +/* 80306138 00303098 CB A1 00 20 */ lfd f29, 0x20(r1) +/* 8030613C 0030309C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80306140 003030A0 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80306144 003030A4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80306148 003030A8 7C 08 03 A6 */ mtlr r0 +/* 8030614C 003030AC 38 21 00 50 */ addi r1, r1, 0x50 +/* 80306150 003030B0 4E 80 00 20 */ blr + +.global GetIntensity__6CLightCFv +GetIntensity__6CLightCFv: +/* 80306154 003030B4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80306158 003030B8 88 83 00 4C */ lbz r4, 0x4c(r3) +/* 8030615C 003030BC 54 80 CF FF */ rlwinm. r0, r4, 0x19, 0x1f, 0x1f +/* 80306160 003030C0 41 82 00 84 */ beq lbl_803061E4 +/* 80306164 003030C4 38 00 00 00 */ li r0, 0 +/* 80306168 003030C8 C0 62 C7 80 */ lfs f3, lbl_805AE4A0@sda21(r2) +/* 8030616C 003030CC 50 04 3E 30 */ rlwimi r4, r0, 7, 0x18, 0x18 +/* 80306170 003030D0 98 83 00 4C */ stb r4, 0x4c(r3) +/* 80306174 003030D4 80 03 00 1C */ lwz r0, 0x1c(r3) +/* 80306178 003030D8 2C 00 00 04 */ cmpwi r0, 4 +/* 8030617C 003030DC 40 82 00 08 */ bne lbl_80306184 +/* 80306180 003030E0 C0 63 00 30 */ lfs f3, 0x30(r3) +lbl_80306184: +/* 80306184 003030E4 E0 23 A0 1A */ psq_l f1, 26(r3), 1, qr2 +/* 80306188 003030E8 C0 02 C7 7C */ lfs f0, lbl_805AE49C@sda21(r2) +/* 8030618C 003030EC EC 20 00 72 */ fmuls f1, f0, f1 +/* 80306190 003030F0 D0 21 00 08 */ stfs f1, 8(r1) +/* 80306194 003030F4 E0 43 A0 19 */ psq_l f2, 25(r3), 1, qr2 +/* 80306198 003030F8 EC 00 00 B2 */ fmuls f0, f0, f2 +/* 8030619C 003030FC FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 803061A0 00303100 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 803061A4 00303104 40 80 00 0C */ bge lbl_803061B0 +/* 803061A8 00303108 38 81 00 08 */ addi r4, r1, 8 +/* 803061AC 0030310C 48 00 00 08 */ b lbl_803061B4 +lbl_803061B0: +/* 803061B0 00303110 38 81 00 0C */ addi r4, r1, 0xc +lbl_803061B4: +/* 803061B4 00303114 E0 23 A0 18 */ psq_l f1, 24(r3), 1, qr2 +/* 803061B8 00303118 C0 02 C7 7C */ lfs f0, lbl_805AE49C@sda21(r2) +/* 803061BC 0030311C EC 20 00 72 */ fmuls f1, f0, f1 +/* 803061C0 00303120 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 803061C4 00303124 C0 04 00 00 */ lfs f0, 0(r4) +/* 803061C8 00303128 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 803061CC 0030312C 40 80 00 08 */ bge lbl_803061D4 +/* 803061D0 00303130 48 00 00 08 */ b lbl_803061D8 +lbl_803061D4: +/* 803061D4 00303134 38 81 00 10 */ addi r4, r1, 0x10 +lbl_803061D8: +/* 803061D8 00303138 C0 04 00 00 */ lfs f0, 0(r4) +/* 803061DC 0030313C EC 03 00 32 */ fmuls f0, f3, f0 +/* 803061E0 00303140 D0 03 00 48 */ stfs f0, 0x48(r3) +lbl_803061E4: +/* 803061E4 00303144 C0 23 00 48 */ lfs f1, 0x48(r3) +/* 803061E8 00303148 38 21 00 20 */ addi r1, r1, 0x20 +/* 803061EC 0030314C 4E 80 00 20 */ blr + +.global CalculateLightRadius__6CLightCFv +CalculateLightRadius__6CLightCFv: +/* 803061F0 00303150 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803061F4 00303154 7C 08 02 A6 */ mflr r0 +/* 803061F8 00303158 C0 22 C7 8C */ lfs f1, lbl_805AE4AC@sda21(r2) +/* 803061FC 0030315C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80306200 00303160 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80306204 00303164 7C 7F 1B 78 */ mr r31, r3 +/* 80306208 00303168 C0 03 00 28 */ lfs f0, 0x28(r3) +/* 8030620C 0030316C FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80306210 00303170 40 80 00 18 */ bge lbl_80306228 +/* 80306214 00303174 C0 1F 00 2C */ lfs f0, 0x2c(r31) +/* 80306218 00303178 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 8030621C 0030317C 40 80 00 0C */ bge lbl_80306228 +/* 80306220 00303180 C0 22 C7 90 */ lfs f1, lbl_805AE4B0@sda21(r2) +/* 80306224 00303184 48 00 00 9C */ b lbl_803062C0 +lbl_80306228: +/* 80306228 00303188 7F E3 FB 78 */ mr r3, r31 +/* 8030622C 0030318C 4B FF FF 29 */ bl GetIntensity__6CLightCFv +/* 80306230 00303190 C0 7F 00 2C */ lfs f3, 0x2c(r31) +/* 80306234 00303194 C0 02 C7 8C */ lfs f0, lbl_805AE4AC@sda21(r2) +/* 80306238 00303198 C0 82 C7 88 */ lfs f4, lbl_805AE4A8@sda21(r2) +/* 8030623C 0030319C FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 80306240 003031A0 40 81 00 44 */ ble lbl_80306284 +/* 80306244 003031A4 C0 4D 9C 54 */ lfs f2, lbl_805A8814@sda21(r13) +/* 80306248 003031A8 C0 0D 9C 50 */ lfs f0, lbl_805A8810@sda21(r13) +/* 8030624C 003031AC FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80306250 003031B0 40 80 00 0C */ bge lbl_8030625C +/* 80306254 003031B4 38 6D 9C 54 */ addi r3, r13, lbl_805A8814@sda21 +/* 80306258 003031B8 48 00 00 08 */ b lbl_80306260 +lbl_8030625C: +/* 8030625C 003031BC 38 6D 9C 50 */ addi r3, r13, lbl_805A8810@sda21 +lbl_80306260: +/* 80306260 003031C0 C0 02 C7 8C */ lfs f0, lbl_805AE4AC@sda21(r2) +/* 80306264 003031C4 C0 43 00 00 */ lfs f2, 0(r3) +/* 80306268 003031C8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8030626C 003031CC 40 81 00 50 */ ble lbl_803062BC +/* 80306270 003031D0 EC 02 00 F2 */ fmuls f0, f2, f3 +/* 80306274 003031D4 EC 21 00 24 */ fdivs f1, f1, f0 +/* 80306278 003031D8 48 00 F2 89 */ bl SqrtF__5CMathFf +/* 8030627C 003031DC FC 80 08 90 */ fmr f4, f1 +/* 80306280 003031E0 48 00 00 3C */ b lbl_803062BC +lbl_80306284: +/* 80306284 003031E4 C0 4D 9C 5C */ lfs f2, lbl_805A881C@sda21(r13) +/* 80306288 003031E8 C0 0D 9C 58 */ lfs f0, lbl_805A8818@sda21(r13) +/* 8030628C 003031EC FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80306290 003031F0 40 80 00 0C */ bge lbl_8030629C +/* 80306294 003031F4 38 6D 9C 5C */ addi r3, r13, lbl_805A881C@sda21 +/* 80306298 003031F8 48 00 00 08 */ b lbl_803062A0 +lbl_8030629C: +/* 8030629C 003031FC 38 6D 9C 58 */ addi r3, r13, lbl_805A8818@sda21 +lbl_803062A0: +/* 803062A0 00303200 C0 5F 00 28 */ lfs f2, 0x28(r31) +/* 803062A4 00303204 C0 02 C7 8C */ lfs f0, lbl_805AE4AC@sda21(r2) +/* 803062A8 00303208 C0 63 00 00 */ lfs f3, 0(r3) +/* 803062AC 0030320C FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 803062B0 00303210 40 81 00 0C */ ble lbl_803062BC +/* 803062B4 00303214 EC 03 00 B2 */ fmuls f0, f3, f2 +/* 803062B8 00303218 EC 81 00 24 */ fdivs f4, f1, f0 +lbl_803062BC: +/* 803062BC 0030321C FC 20 20 90 */ fmr f1, f4 +lbl_803062C0: +/* 803062C0 00303220 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803062C4 00303224 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803062C8 00303228 7C 08 03 A6 */ mtlr r0 +/* 803062CC 0030322C 38 21 00 10 */ addi r1, r1, 0x10 +/* 803062D0 00303230 4E 80 00 20 */ blr + +.global GetRadius__6CLightCFv +GetRadius__6CLightCFv: +/* 803062D4 00303234 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803062D8 00303238 7C 08 02 A6 */ mflr r0 +/* 803062DC 0030323C 90 01 00 14 */ stw r0, 0x14(r1) +/* 803062E0 00303240 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803062E4 00303244 7C 7F 1B 78 */ mr r31, r3 +/* 803062E8 00303248 88 03 00 4C */ lbz r0, 0x4c(r3) +/* 803062EC 0030324C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 803062F0 00303250 41 82 00 1C */ beq lbl_8030630C +/* 803062F4 00303254 4B FF FE FD */ bl CalculateLightRadius__6CLightCFv +/* 803062F8 00303258 D0 3F 00 44 */ stfs f1, 0x44(r31) +/* 803062FC 0030325C 38 60 00 00 */ li r3, 0 +/* 80306300 00303260 88 1F 00 4C */ lbz r0, 0x4c(r31) +/* 80306304 00303264 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 80306308 00303268 98 1F 00 4C */ stb r0, 0x4c(r31) +lbl_8030630C: +/* 8030630C 0030326C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80306310 00303270 C0 3F 00 44 */ lfs f1, 0x44(r31) +/* 80306314 00303274 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80306318 00303278 7C 08 03 A6 */ mtlr r0 +/* 8030631C 0030327C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80306320 00303280 4E 80 00 20 */ blr + +.global SetDirection__6CLightFRC9CVector3f +SetDirection__6CLightFRC9CVector3f: +/* 80306324 00303284 C0 04 00 00 */ lfs f0, 0(r4) +/* 80306328 00303288 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 8030632C 0030328C C0 04 00 04 */ lfs f0, 4(r4) +/* 80306330 00303290 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 80306334 00303294 C0 04 00 08 */ lfs f0, 8(r4) +/* 80306338 00303298 D0 03 00 14 */ stfs f0, 0x14(r3) +/* 8030633C 0030329C 4E 80 00 20 */ blr + +.global SetPosition__6CLightFRC9CVector3f +SetPosition__6CLightFRC9CVector3f: +/* 80306340 003032A0 C0 04 00 00 */ lfs f0, 0(r4) +/* 80306344 003032A4 D0 03 00 00 */ stfs f0, 0(r3) +/* 80306348 003032A8 C0 04 00 04 */ lfs f0, 4(r4) +/* 8030634C 003032AC D0 03 00 04 */ stfs f0, 4(r3) +/* 80306350 003032B0 C0 04 00 08 */ lfs f0, 8(r4) +/* 80306354 003032B4 D0 03 00 08 */ stfs f0, 8(r3) +/* 80306358 003032B8 4E 80 00 20 */ blr + +.global SetColor__6CLightFRC6CColor +SetColor__6CLightFRC6CColor: +/* 8030635C 003032BC 80 04 00 00 */ lwz r0, 0(r4) +/* 80306360 003032C0 38 80 00 01 */ li r4, 1 +/* 80306364 003032C4 90 03 00 18 */ stw r0, 0x18(r3) +/* 80306368 003032C8 88 03 00 4C */ lbz r0, 0x4c(r3) +/* 8030636C 003032CC 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 80306370 003032D0 98 03 00 4C */ stb r0, 0x4c(r3) +/* 80306374 003032D4 88 03 00 4C */ lbz r0, 0x4c(r3) +/* 80306378 003032D8 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 8030637C 003032DC 98 03 00 4C */ stb r0, 0x4c(r3) +/* 80306380 003032E0 4E 80 00 20 */ blr + +.global SetAngleAttenuation__6CLightFfff +SetAngleAttenuation__6CLightFfff: +/* 80306384 003032E4 D0 23 00 30 */ stfs f1, 0x30(r3) +/* 80306388 003032E8 38 80 00 01 */ li r4, 1 +/* 8030638C 003032EC D0 43 00 34 */ stfs f2, 0x34(r3) +/* 80306390 003032F0 D0 63 00 38 */ stfs f3, 0x38(r3) +/* 80306394 003032F4 88 03 00 4C */ lbz r0, 0x4c(r3) +/* 80306398 003032F8 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 8030639C 003032FC 98 03 00 4C */ stb r0, 0x4c(r3) +/* 803063A0 00303300 88 03 00 4C */ lbz r0, 0x4c(r3) +/* 803063A4 00303304 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 803063A8 00303308 98 03 00 4C */ stb r0, 0x4c(r3) +/* 803063AC 0030330C 4E 80 00 20 */ blr + +.global SetAttenuation__6CLightFfff +SetAttenuation__6CLightFfff: +/* 803063B0 00303310 D0 23 00 24 */ stfs f1, 0x24(r3) +/* 803063B4 00303314 38 80 00 01 */ li r4, 1 +/* 803063B8 00303318 D0 43 00 28 */ stfs f2, 0x28(r3) +/* 803063BC 0030331C D0 63 00 2C */ stfs f3, 0x2c(r3) +/* 803063C0 00303320 88 03 00 4C */ lbz r0, 0x4c(r3) +/* 803063C4 00303324 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 803063C8 00303328 98 03 00 4C */ stb r0, 0x4c(r3) +/* 803063CC 0030332C 88 03 00 4C */ lbz r0, 0x4c(r3) +/* 803063D0 00303330 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 803063D4 00303334 98 03 00 4C */ stb r0, 0x4c(r3) +/* 803063D8 00303338 4E 80 00 20 */ blr + +.global BuildCustom__6CLightFRC9CVector3fRC9CVector3fRC6CColorffffff +BuildCustom__6CLightFRC9CVector3fRC9CVector3fRC6CColorffffff: +/* 803063DC 0030333C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803063E0 00303340 7C 08 02 A6 */ mflr r0 +/* 803063E4 00303344 90 01 00 14 */ stw r0, 0x14(r1) +/* 803063E8 00303348 48 00 00 F5 */ bl __ct__6CLightFRC9CVector3fRC9CVector3fRC6CColorffffff +/* 803063EC 0030334C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803063F0 00303350 7C 08 03 A6 */ mtlr r0 +/* 803063F4 00303354 38 21 00 10 */ addi r1, r1, 0x10 +/* 803063F8 00303358 4E 80 00 20 */ blr + +.global BuildSpot__6CLightFRC9CVector3fRC9CVector3fRC6CColorf +BuildSpot__6CLightFRC9CVector3fRC9CVector3fRC6CColorf: +/* 803063FC 0030335C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80306400 00303360 7C 08 02 A6 */ mflr r0 +/* 80306404 00303364 7C 88 23 78 */ mr r8, r4 +/* 80306408 00303368 7C C7 33 78 */ mr r7, r6 +/* 8030640C 0030336C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80306410 00303370 7C A0 2B 78 */ mr r0, r5 +/* 80306414 00303374 38 80 00 00 */ li r4, 0 +/* 80306418 00303378 7D 05 43 78 */ mr r5, r8 +/* 8030641C 0030337C 7C 06 03 78 */ mr r6, r0 +/* 80306420 00303380 48 00 01 51 */ bl __ct__6CLightF10ELightTypeRC9CVector3fRC9CVector3fRC6CColorf +/* 80306424 00303384 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80306428 00303388 7C 08 03 A6 */ mtlr r0 +/* 8030642C 0030338C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80306430 00303390 4E 80 00 20 */ blr + +.global BuildPoint__6CLightFRC9CVector3fRC6CColor +BuildPoint__6CLightFRC9CVector3fRC6CColor: +/* 80306434 00303394 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80306438 00303398 7C 08 02 A6 */ mflr r0 +/* 8030643C 0030339C 3C C0 80 5A */ lis r6, lbl_805A53E0@ha +/* 80306440 003033A0 7C A7 2B 78 */ mr r7, r5 +/* 80306444 003033A4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80306448 003033A8 7C 85 23 78 */ mr r5, r4 +/* 8030644C 003033AC C0 22 C7 94 */ lfs f1, lbl_805AE4B4@sda21(r2) +/* 80306450 003033B0 38 C6 53 E0 */ addi r6, r6, lbl_805A53E0@l +/* 80306454 003033B4 38 80 00 01 */ li r4, 1 +/* 80306458 003033B8 48 00 01 19 */ bl __ct__6CLightF10ELightTypeRC9CVector3fRC9CVector3fRC6CColorf +/* 8030645C 003033BC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80306460 003033C0 7C 08 03 A6 */ mtlr r0 +/* 80306464 003033C4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80306468 003033C8 4E 80 00 20 */ blr + +.global BuildDirectional__6CLightFRC9CVector3fRC6CColor +BuildDirectional__6CLightFRC9CVector3fRC6CColor: +/* 8030646C 003033CC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80306470 003033D0 7C 08 02 A6 */ mflr r0 +/* 80306474 003033D4 3C C0 80 5A */ lis r6, lbl_805A53C8@ha +/* 80306478 003033D8 7C A7 2B 78 */ mr r7, r5 +/* 8030647C 003033DC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80306480 003033E0 38 A6 53 C8 */ addi r5, r6, lbl_805A53C8@l +/* 80306484 003033E4 7C 86 23 78 */ mr r6, r4 +/* 80306488 003033E8 C0 22 C7 94 */ lfs f1, lbl_805AE4B4@sda21(r2) +/* 8030648C 003033EC 38 80 00 02 */ li r4, 2 +/* 80306490 003033F0 48 00 00 E1 */ bl __ct__6CLightF10ELightTypeRC9CVector3fRC9CVector3fRC6CColorf +/* 80306494 003033F4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80306498 003033F8 7C 08 03 A6 */ mtlr r0 +/* 8030649C 003033FC 38 21 00 10 */ addi r1, r1, 0x10 +/* 803064A0 00303400 4E 80 00 20 */ blr + +.global BuildLocalAmbient__6CLightFRC9CVector3fRC6CColor +BuildLocalAmbient__6CLightFRC9CVector3fRC6CColor: +/* 803064A4 00303404 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803064A8 00303408 7C 08 02 A6 */ mflr r0 +/* 803064AC 0030340C 3C C0 80 5A */ lis r6, lbl_805A53E0@ha +/* 803064B0 00303410 7C A7 2B 78 */ mr r7, r5 +/* 803064B4 00303414 90 01 00 14 */ stw r0, 0x14(r1) +/* 803064B8 00303418 7C 85 23 78 */ mr r5, r4 +/* 803064BC 0030341C C0 22 C7 94 */ lfs f1, lbl_805AE4B4@sda21(r2) +/* 803064C0 00303420 38 C6 53 E0 */ addi r6, r6, lbl_805A53E0@l +/* 803064C4 00303424 38 80 00 03 */ li r4, 3 +/* 803064C8 00303428 48 00 00 A9 */ bl __ct__6CLightF10ELightTypeRC9CVector3fRC9CVector3fRC6CColorf +/* 803064CC 0030342C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803064D0 00303430 7C 08 03 A6 */ mtlr r0 +/* 803064D4 00303434 38 21 00 10 */ addi r1, r1, 0x10 +/* 803064D8 00303438 4E 80 00 20 */ blr + +.global __ct__6CLightFRC9CVector3fRC9CVector3fRC6CColorffffff +__ct__6CLightFRC9CVector3fRC9CVector3fRC6CColorffffff: +/* 803064DC 0030343C C0 E4 00 00 */ lfs f7, 0(r4) +/* 803064E0 00303440 39 00 00 04 */ li r8, 4 +/* 803064E4 00303444 C0 02 C7 88 */ lfs f0, lbl_805AE4A8@sda21(r2) +/* 803064E8 00303448 38 00 00 00 */ li r0, 0 +/* 803064EC 0030344C D0 E3 00 00 */ stfs f7, 0(r3) +/* 803064F0 00303450 38 E0 00 01 */ li r7, 1 +/* 803064F4 00303454 C0 E4 00 04 */ lfs f7, 4(r4) +/* 803064F8 00303458 D0 E3 00 04 */ stfs f7, 4(r3) +/* 803064FC 0030345C C0 E4 00 08 */ lfs f7, 8(r4) +/* 80306500 00303460 D0 E3 00 08 */ stfs f7, 8(r3) +/* 80306504 00303464 C0 E5 00 00 */ lfs f7, 0(r5) +/* 80306508 00303468 D0 E3 00 0C */ stfs f7, 0xc(r3) +/* 8030650C 0030346C C0 E5 00 04 */ lfs f7, 4(r5) +/* 80306510 00303470 D0 E3 00 10 */ stfs f7, 0x10(r3) +/* 80306514 00303474 C0 E5 00 08 */ lfs f7, 8(r5) +/* 80306518 00303478 D0 E3 00 14 */ stfs f7, 0x14(r3) +/* 8030651C 0030347C 80 86 00 00 */ lwz r4, 0(r6) +/* 80306520 00303480 90 83 00 18 */ stw r4, 0x18(r3) +/* 80306524 00303484 91 03 00 1C */ stw r8, 0x1c(r3) +/* 80306528 00303488 D0 03 00 20 */ stfs f0, 0x20(r3) +/* 8030652C 0030348C D0 23 00 24 */ stfs f1, 0x24(r3) +/* 80306530 00303490 D0 43 00 28 */ stfs f2, 0x28(r3) +/* 80306534 00303494 D0 63 00 2C */ stfs f3, 0x2c(r3) +/* 80306538 00303498 D0 83 00 30 */ stfs f4, 0x30(r3) +/* 8030653C 0030349C D0 A3 00 34 */ stfs f5, 0x34(r3) +/* 80306540 003034A0 D0 C3 00 38 */ stfs f6, 0x38(r3) +/* 80306544 003034A4 90 03 00 3C */ stw r0, 0x3c(r3) +/* 80306548 003034A8 90 03 00 40 */ stw r0, 0x40(r3) +/* 8030654C 003034AC D0 03 00 44 */ stfs f0, 0x44(r3) +/* 80306550 003034B0 D0 03 00 48 */ stfs f0, 0x48(r3) +/* 80306554 003034B4 88 03 00 4C */ lbz r0, 0x4c(r3) +/* 80306558 003034B8 50 E0 3E 30 */ rlwimi r0, r7, 7, 0x18, 0x18 +/* 8030655C 003034BC 98 03 00 4C */ stb r0, 0x4c(r3) +/* 80306560 003034C0 88 03 00 4C */ lbz r0, 0x4c(r3) +/* 80306564 003034C4 50 E0 36 72 */ rlwimi r0, r7, 6, 0x19, 0x19 +/* 80306568 003034C8 98 03 00 4C */ stb r0, 0x4c(r3) +/* 8030656C 003034CC 4E 80 00 20 */ blr + +.global __ct__6CLightF10ELightTypeRC9CVector3fRC9CVector3fRC6CColorf +__ct__6CLightF10ELightTypeRC9CVector3fRC9CVector3fRC6CColorf: +/* 80306570 003034D0 C0 05 00 00 */ lfs f0, 0(r5) +/* 80306574 003034D4 38 00 00 00 */ li r0, 0 +/* 80306578 003034D8 C0 42 C7 88 */ lfs f2, lbl_805AE4A8@sda21(r2) +/* 8030657C 003034DC 39 00 00 01 */ li r8, 1 +/* 80306580 003034E0 D0 03 00 00 */ stfs f0, 0(r3) +/* 80306584 003034E4 C0 02 C7 80 */ lfs f0, lbl_805AE4A0@sda21(r2) +/* 80306588 003034E8 C0 65 00 04 */ lfs f3, 4(r5) +/* 8030658C 003034EC D0 63 00 04 */ stfs f3, 4(r3) +/* 80306590 003034F0 C0 65 00 08 */ lfs f3, 8(r5) +/* 80306594 003034F4 D0 63 00 08 */ stfs f3, 8(r3) +/* 80306598 003034F8 C0 66 00 00 */ lfs f3, 0(r6) +/* 8030659C 003034FC D0 63 00 0C */ stfs f3, 0xc(r3) +/* 803065A0 00303500 C0 66 00 04 */ lfs f3, 4(r6) +/* 803065A4 00303504 D0 63 00 10 */ stfs f3, 0x10(r3) +/* 803065A8 00303508 C0 66 00 08 */ lfs f3, 8(r6) +/* 803065AC 0030350C D0 63 00 14 */ stfs f3, 0x14(r3) +/* 803065B0 00303510 80 A7 00 00 */ lwz r5, 0(r7) +/* 803065B4 00303514 90 A3 00 18 */ stw r5, 0x18(r3) +/* 803065B8 00303518 90 83 00 1C */ stw r4, 0x1c(r3) +/* 803065BC 0030351C D0 23 00 20 */ stfs f1, 0x20(r3) +/* 803065C0 00303520 D0 43 00 24 */ stfs f2, 0x24(r3) +/* 803065C4 00303524 D0 03 00 28 */ stfs f0, 0x28(r3) +/* 803065C8 00303528 D0 43 00 2C */ stfs f2, 0x2c(r3) +/* 803065CC 0030352C D0 43 00 30 */ stfs f2, 0x30(r3) +/* 803065D0 00303530 D0 03 00 34 */ stfs f0, 0x34(r3) +/* 803065D4 00303534 D0 43 00 38 */ stfs f2, 0x38(r3) +/* 803065D8 00303538 90 03 00 3C */ stw r0, 0x3c(r3) +/* 803065DC 0030353C 90 03 00 40 */ stw r0, 0x40(r3) +/* 803065E0 00303540 D0 43 00 44 */ stfs f2, 0x44(r3) +/* 803065E4 00303544 D0 43 00 48 */ stfs f2, 0x48(r3) +/* 803065E8 00303548 88 03 00 4C */ lbz r0, 0x4c(r3) +/* 803065EC 0030354C 51 00 3E 30 */ rlwimi r0, r8, 7, 0x18, 0x18 +/* 803065F0 00303550 98 03 00 4C */ stb r0, 0x4c(r3) +/* 803065F4 00303554 88 03 00 4C */ lbz r0, 0x4c(r3) +/* 803065F8 00303558 51 00 36 72 */ rlwimi r0, r8, 6, 0x19, 0x19 +/* 803065FC 0030355C 98 03 00 4C */ stb r0, 0x4c(r3) +/* 80306600 00303560 4E 80 00 20 */ blr + +.global __sinit_CLight_cpp +__sinit_CLight_cpp: +/* 80306604 00303564 C0 22 C7 88 */ lfs f1, lbl_805AE4A8@sda21(r2) +/* 80306608 00303568 3C 80 80 5A */ lis r4, lbl_805A53C8@ha +/* 8030660C 0030356C 3C 60 80 5A */ lis r3, lbl_805A53E0@ha +/* 80306610 00303570 C0 02 C7 84 */ lfs f0, lbl_805AE4A4@sda21(r2) +/* 80306614 00303574 D4 24 53 C8 */ stfsu f1, lbl_805A53C8@l(r4) +/* 80306618 00303578 D4 23 53 E0 */ stfsu f1, lbl_805A53E0@l(r3) +/* 8030661C 0030357C D0 24 00 04 */ stfs f1, 4(r4) +/* 80306620 00303580 D0 24 00 08 */ stfs f1, 8(r4) +/* 80306624 00303584 D0 03 00 04 */ stfs f0, 4(r3) +/* 80306628 00303588 D0 23 00 08 */ stfs f1, 8(r3) +/* 8030662C 0030358C 4E 80 00 20 */ blr diff --git a/asm/Kyoto/Graphics/CTevCombiners.s b/asm/Kyoto/Graphics/CTevCombiners.s new file mode 100644 index 00000000..b19c787a --- /dev/null +++ b/asm/Kyoto/Graphics/CTevCombiners.s @@ -0,0 +1,271 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global ResetStates__13CTevCombinersFv +ResetStates__13CTevCombinersFv: +/* 80308EA8 00305E08 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80308EAC 00305E0C 7C 08 02 A6 */ mflr r0 +/* 80308EB0 00305E10 3C 60 80 5A */ lis r3, lbl_805A564C@ha +/* 80308EB4 00305E14 38 AD 9C 60 */ addi r5, r13, lbl_805A8820@sda21 +/* 80308EB8 00305E18 90 01 00 14 */ stw r0, 0x14(r1) +/* 80308EBC 00305E1C 38 00 00 00 */ li r0, 0 +/* 80308EC0 00305E20 38 63 56 4C */ addi r3, r3, lbl_805A564C@l +/* 80308EC4 00305E24 38 80 00 00 */ li r4, 0 +/* 80308EC8 00305E28 98 0D 9C 60 */ stb r0, lbl_805A8820@sda21(r13) +/* 80308ECC 00305E2C 98 05 00 01 */ stb r0, 1(r5) +/* 80308ED0 00305E30 48 00 00 25 */ bl Execute__Q213CTevCombiners8CTevPassCFi +/* 80308ED4 00305E34 38 00 00 01 */ li r0, 1 +/* 80308ED8 00305E38 38 60 00 01 */ li r3, 1 +/* 80308EDC 00305E3C 90 0D 9C 64 */ stw r0, lbl_805A8824@sda21(r13) +/* 80308EE0 00305E40 4B FF FD B1 */ bl SetNumTevStages__3CGXFUc +/* 80308EE4 00305E44 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80308EE8 00305E48 7C 08 03 A6 */ mtlr r0 +/* 80308EEC 00305E4C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80308EF0 00305E50 4E 80 00 20 */ blr + +.global Execute__Q213CTevCombiners8CTevPassCFi +Execute__Q213CTevCombiners8CTevPassCFi: +/* 80308EF4 00305E54 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80308EF8 00305E58 7C 08 02 A6 */ mflr r0 +/* 80308EFC 00305E5C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80308F00 00305E60 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80308F04 00305E64 7C 9F 23 78 */ mr r31, r4 +/* 80308F08 00305E68 93 C1 00 08 */ stw r30, 8(r1) +/* 80308F0C 00305E6C 7C 7E 1B 78 */ mr r30, r3 +/* 80308F10 00305E70 80 E3 00 10 */ lwz r7, 0x10(r3) +/* 80308F14 00305E74 80 C3 00 0C */ lwz r6, 0xc(r3) +/* 80308F18 00305E78 7F E3 FB 78 */ mr r3, r31 +/* 80308F1C 00305E7C 80 BE 00 08 */ lwz r5, 8(r30) +/* 80308F20 00305E80 80 9E 00 04 */ lwz r4, 4(r30) +/* 80308F24 00305E84 4B FF FC C9 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg +/* 80308F28 00305E88 80 FE 00 20 */ lwz r7, 0x20(r30) +/* 80308F2C 00305E8C 7F E3 FB 78 */ mr r3, r31 +/* 80308F30 00305E90 80 DE 00 1C */ lwz r6, 0x1c(r30) +/* 80308F34 00305E94 80 BE 00 18 */ lwz r5, 0x18(r30) +/* 80308F38 00305E98 80 9E 00 14 */ lwz r4, 0x14(r30) +/* 80308F3C 00305E9C 4B FF FC 59 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg +/* 80308F40 00305EA0 88 FE 00 24 */ lbz r7, 0x24(r30) +/* 80308F44 00305EA4 7F E3 FB 78 */ mr r3, r31 +/* 80308F48 00305EA8 80 9E 00 28 */ lwz r4, 0x28(r30) +/* 80308F4C 00305EAC 80 BE 00 2C */ lwz r5, 0x2c(r30) +/* 80308F50 00305EB0 80 DE 00 30 */ lwz r6, 0x30(r30) +/* 80308F54 00305EB4 81 1E 00 34 */ lwz r8, 0x34(r30) +/* 80308F58 00305EB8 4B FF FB E1 */ bl SetTevColorOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID +/* 80308F5C 00305EBC 88 FE 00 38 */ lbz r7, 0x38(r30) +/* 80308F60 00305EC0 7F E3 FB 78 */ mr r3, r31 +/* 80308F64 00305EC4 80 9E 00 3C */ lwz r4, 0x3c(r30) +/* 80308F68 00305EC8 80 BE 00 40 */ lwz r5, 0x40(r30) +/* 80308F6C 00305ECC 80 DE 00 44 */ lwz r6, 0x44(r30) +/* 80308F70 00305ED0 81 1E 00 48 */ lwz r8, 0x48(r30) +/* 80308F74 00305ED4 4B FF FB 0D */ bl SetTevAlphaOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID +/* 80308F78 00305ED8 7F E3 FB 78 */ mr r3, r31 +/* 80308F7C 00305EDC 38 80 00 00 */ li r4, 0 +/* 80308F80 00305EE0 4B FF FA 61 */ bl SetTevKColorSel__3CGXF13_GXTevStageID15_GXTevKColorSel +/* 80308F84 00305EE4 7F E3 FB 78 */ mr r3, r31 +/* 80308F88 00305EE8 38 80 00 00 */ li r4, 0 +/* 80308F8C 00305EEC 4B FF FA 11 */ bl SetTevKAlphaSel__3CGXF13_GXTevStageID15_GXTevKAlphaSel +/* 80308F90 00305EF0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80308F94 00305EF4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80308F98 00305EF8 83 C1 00 08 */ lwz r30, 8(r1) +/* 80308F9C 00305EFC 7C 08 03 A6 */ mtlr r0 +/* 80308FA0 00305F00 38 21 00 10 */ addi r1, r1, 0x10 +/* 80308FA4 00305F04 4E 80 00 20 */ blr + +.global SetPassCombiners__13CTevCombinersFiRCQ213CTevCombiners8CTevPass +SetPassCombiners__13CTevCombinersFiRCQ213CTevCombiners8CTevPass: +/* 80308FA8 00305F08 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80308FAC 00305F0C 7C 08 02 A6 */ mflr r0 +/* 80308FB0 00305F10 90 01 00 14 */ stw r0, 0x14(r1) +/* 80308FB4 00305F14 7C 60 1B 78 */ mr r0, r3 +/* 80308FB8 00305F18 7C 83 23 78 */ mr r3, r4 +/* 80308FBC 00305F1C 7C 04 03 78 */ mr r4, r0 +/* 80308FC0 00305F20 4B FF FF 35 */ bl Execute__Q213CTevCombiners8CTevPassCFi +/* 80308FC4 00305F24 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80308FC8 00305F28 38 60 00 01 */ li r3, 1 +/* 80308FCC 00305F2C 7C 08 03 A6 */ mtlr r0 +/* 80308FD0 00305F30 38 21 00 10 */ addi r1, r1, 0x10 +/* 80308FD4 00305F34 4E 80 00 20 */ blr + +.global SetupPass__13CTevCombinersFiRCQ213CTevCombiners8CTevPass +SetupPass__13CTevCombinersFiRCQ213CTevCombiners8CTevPass: +/* 80308FD8 00305F38 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80308FDC 00305F3C 7C 08 02 A6 */ mflr r0 +/* 80308FE0 00305F40 3C A0 80 5A */ lis r5, lbl_805A564C@ha +/* 80308FE4 00305F44 90 01 00 14 */ stw r0, 0x14(r1) +/* 80308FE8 00305F48 38 05 56 4C */ addi r0, r5, lbl_805A564C@l +/* 80308FEC 00305F4C 7C 04 00 40 */ cmplw r4, r0 +/* 80308FF0 00305F50 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80308FF4 00305F54 7C 7F 1B 78 */ mr r31, r3 +/* 80308FF8 00305F58 40 82 00 0C */ bne lbl_80309004 +/* 80308FFC 00305F5C 48 00 00 39 */ bl DeletePass__13CTevCombinersFi +/* 80309000 00305F60 48 00 00 20 */ b lbl_80309020 +lbl_80309004: +/* 80309004 00305F64 4B FF FF A5 */ bl SetPassCombiners__13CTevCombinersFiRCQ213CTevCombiners8CTevPass +/* 80309008 00305F68 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8030900C 00305F6C 41 82 00 14 */ beq lbl_80309020 +/* 80309010 00305F70 38 00 00 01 */ li r0, 1 +/* 80309014 00305F74 38 6D 9C 60 */ addi r3, r13, lbl_805A8820@sda21 +/* 80309018 00305F78 7C 03 F9 AE */ stbx r0, r3, r31 +/* 8030901C 00305F7C 48 00 00 C9 */ bl RecomputePasses__13CTevCombinersFv +lbl_80309020: +/* 80309020 00305F80 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80309024 00305F84 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80309028 00305F88 7C 08 03 A6 */ mtlr r0 +/* 8030902C 00305F8C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80309030 00305F90 4E 80 00 20 */ blr + +.global DeletePass__13CTevCombinersFi +DeletePass__13CTevCombinersFi: +/* 80309034 00305F94 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80309038 00305F98 7C 08 02 A6 */ mflr r0 +/* 8030903C 00305F9C 3C 80 80 5A */ lis r4, lbl_805A564C@ha +/* 80309040 00305FA0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80309044 00305FA4 38 84 56 4C */ addi r4, r4, lbl_805A564C@l +/* 80309048 00305FA8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8030904C 00305FAC 7C 7F 1B 78 */ mr r31, r3 +/* 80309050 00305FB0 4B FF FF 59 */ bl SetPassCombiners__13CTevCombinersFiRCQ213CTevCombiners8CTevPass +/* 80309054 00305FB4 38 00 00 00 */ li r0, 0 +/* 80309058 00305FB8 38 6D 9C 60 */ addi r3, r13, lbl_805A8820@sda21 +/* 8030905C 00305FBC 7C 03 F9 AE */ stbx r0, r3, r31 +/* 80309060 00305FC0 48 00 00 85 */ bl RecomputePasses__13CTevCombinersFv +/* 80309064 00305FC4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80309068 00305FC8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8030906C 00305FCC 7C 08 03 A6 */ mtlr r0 +/* 80309070 00305FD0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80309074 00305FD4 4E 80 00 20 */ blr + +.global Init__13CTevCombinersFv +Init__13CTevCombinersFv: +/* 80309078 00305FD8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030907C 00305FDC 7C 08 02 A6 */ mflr r0 +/* 80309080 00305FE0 38 60 00 01 */ li r3, 1 +/* 80309084 00305FE4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80309088 00305FE8 38 00 00 02 */ li r0, 2 +/* 8030908C 00305FEC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80309090 00305FF0 3B ED 9C 60 */ addi r31, r13, lbl_805A8820@sda21 +/* 80309094 00305FF4 93 C1 00 08 */ stw r30, 8(r1) +/* 80309098 00305FF8 3B C0 00 00 */ li r30, 0 +/* 8030909C 00305FFC 90 0D 9C 64 */ stw r0, lbl_805A8824@sda21(r13) +/* 803090A0 00306000 98 6D 9C 60 */ stb r3, lbl_805A8820@sda21(r13) +/* 803090A4 00306004 98 7F 00 01 */ stb r3, 1(r31) +lbl_803090A8: +/* 803090A8 00306008 7F C3 F3 78 */ mr r3, r30 +/* 803090AC 0030600C 4B FF FF 89 */ bl DeletePass__13CTevCombinersFi +/* 803090B0 00306010 3B DE 00 01 */ addi r30, r30, 1 +/* 803090B4 00306014 2C 1E 00 02 */ cmpwi r30, 2 +/* 803090B8 00306018 41 80 FF F0 */ blt lbl_803090A8 +/* 803090BC 0030601C 38 00 00 00 */ li r0, 0 +/* 803090C0 00306020 98 1F 00 00 */ stb r0, 0(r31) +/* 803090C4 00306024 98 1F 00 01 */ stb r0, 1(r31) +/* 803090C8 00306028 48 00 00 1D */ bl RecomputePasses__13CTevCombinersFv +/* 803090CC 0030602C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803090D0 00306030 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803090D4 00306034 83 C1 00 08 */ lwz r30, 8(r1) +/* 803090D8 00306038 7C 08 03 A6 */ mtlr r0 +/* 803090DC 0030603C 38 21 00 10 */ addi r1, r1, 0x10 +/* 803090E0 00306040 4E 80 00 20 */ blr + +.global RecomputePasses__13CTevCombinersFv +RecomputePasses__13CTevCombinersFv: +/* 803090E4 00306044 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803090E8 00306048 7C 08 02 A6 */ mflr r0 +/* 803090EC 0030604C 38 6D 9C 60 */ addi r3, r13, lbl_805A8820@sda21 +/* 803090F0 00306050 90 01 00 14 */ stw r0, 0x14(r1) +/* 803090F4 00306054 88 63 00 01 */ lbz r3, 1(r3) +/* 803090F8 00306058 7C 03 00 D0 */ neg r0, r3 +/* 803090FC 0030605C 7C 00 1B 78 */ or r0, r0, r3 +/* 80309100 00306060 54 03 0F FE */ srwi r3, r0, 0x1f +/* 80309104 00306064 38 63 00 01 */ addi r3, r3, 1 +/* 80309108 00306068 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 8030910C 0030606C 90 0D 9C 64 */ stw r0, lbl_805A8824@sda21(r13) +/* 80309110 00306070 4B FF FB 81 */ bl SetNumTevStages__3CGXFUc +/* 80309114 00306074 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80309118 00306078 7C 08 03 A6 */ mtlr r0 +/* 8030911C 0030607C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80309120 00306080 4E 80 00 20 */ blr + +.global __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +__ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc: +/* 80309124 00306084 90 83 00 00 */ stw r4, 0(r3) +/* 80309128 00306088 4E 80 00 20 */ blr + +.global __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +__ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc: +/* 8030912C 0030608C 90 83 00 00 */ stw r4, 0(r3) +/* 80309130 00306090 4E 80 00 20 */ blr + +.global __sinit_CTevCombiners_cpp +__sinit_CTevCombiners_cpp: +/* 80309134 00306094 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 80309138 00306098 7C 08 02 A6 */ mflr r0 +/* 8030913C 0030609C 38 6D A7 9C */ addi r3, r13, lbl_805A935C@sda21 +/* 80309140 003060A0 38 80 00 06 */ li r4, 6 +/* 80309144 003060A4 90 01 00 74 */ stw r0, 0x74(r1) +/* 80309148 003060A8 4B FF FF E5 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8030914C 003060AC 38 6D A7 A0 */ addi r3, r13, lbl_805A9360@sda21 +/* 80309150 003060B0 38 80 00 0C */ li r4, 0xc +/* 80309154 003060B4 4B FF FF D1 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 80309158 003060B8 38 00 00 00 */ li r0, 0 +/* 8030915C 003060BC 38 A0 00 01 */ li r5, 1 +/* 80309160 003060C0 98 A1 00 48 */ stb r5, 0x48(r1) +/* 80309164 003060C4 38 61 00 08 */ addi r3, r1, 8 +/* 80309168 003060C8 38 80 00 05 */ li r4, 5 +/* 8030916C 003060CC 90 01 00 4C */ stw r0, 0x4c(r1) +/* 80309170 003060D0 90 01 00 50 */ stw r0, 0x50(r1) +/* 80309174 003060D4 90 01 00 54 */ stw r0, 0x54(r1) +/* 80309178 003060D8 90 01 00 58 */ stw r0, 0x58(r1) +/* 8030917C 003060DC 98 A1 00 5C */ stb r5, 0x5c(r1) +/* 80309180 003060E0 90 01 00 60 */ stw r0, 0x60(r1) +/* 80309184 003060E4 90 01 00 64 */ stw r0, 0x64(r1) +/* 80309188 003060E8 90 01 00 68 */ stw r0, 0x68(r1) +/* 8030918C 003060EC 90 01 00 6C */ stw r0, 0x6c(r1) +/* 80309190 003060F0 4B FF FF 9D */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 80309194 003060F4 38 61 00 0C */ addi r3, r1, 0xc +/* 80309198 003060F8 38 80 00 07 */ li r4, 7 +/* 8030919C 003060FC 4B FF FF 91 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 803091A0 00306100 38 61 00 10 */ addi r3, r1, 0x10 +/* 803091A4 00306104 38 80 00 07 */ li r4, 7 +/* 803091A8 00306108 4B FF FF 85 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 803091AC 0030610C 38 61 00 14 */ addi r3, r1, 0x14 +/* 803091B0 00306110 38 80 00 07 */ li r4, 7 +/* 803091B4 00306114 4B FF FF 79 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 803091B8 00306118 80 E1 00 14 */ lwz r7, 0x14(r1) +/* 803091BC 0030611C 38 61 00 18 */ addi r3, r1, 0x18 +/* 803091C0 00306120 80 C1 00 10 */ lwz r6, 0x10(r1) +/* 803091C4 00306124 38 80 00 0A */ li r4, 0xa +/* 803091C8 00306128 80 A1 00 0C */ lwz r5, 0xc(r1) +/* 803091CC 0030612C 80 01 00 08 */ lwz r0, 8(r1) +/* 803091D0 00306130 90 E1 00 28 */ stw r7, 0x28(r1) +/* 803091D4 00306134 90 C1 00 2C */ stw r6, 0x2c(r1) +/* 803091D8 00306138 90 A1 00 30 */ stw r5, 0x30(r1) +/* 803091DC 0030613C 90 01 00 34 */ stw r0, 0x34(r1) +/* 803091E0 00306140 4B FF FF 45 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 803091E4 00306144 38 61 00 1C */ addi r3, r1, 0x1c +/* 803091E8 00306148 38 80 00 0F */ li r4, 0xf +/* 803091EC 0030614C 4B FF FF 39 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 803091F0 00306150 38 61 00 20 */ addi r3, r1, 0x20 +/* 803091F4 00306154 38 80 00 0F */ li r4, 0xf +/* 803091F8 00306158 4B FF FF 2D */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 803091FC 0030615C 38 61 00 24 */ addi r3, r1, 0x24 +/* 80309200 00306160 38 80 00 0F */ li r4, 0xf +/* 80309204 00306164 4B FF FF 21 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 80309208 00306168 80 A1 00 24 */ lwz r5, 0x24(r1) +/* 8030920C 0030616C 3C 60 80 5A */ lis r3, lbl_805A564C@ha +/* 80309210 00306170 81 21 00 20 */ lwz r9, 0x20(r1) +/* 80309214 00306174 38 63 56 4C */ addi r3, r3, lbl_805A564C@l +/* 80309218 00306178 81 01 00 1C */ lwz r8, 0x1c(r1) +/* 8030921C 0030617C 38 81 00 38 */ addi r4, r1, 0x38 +/* 80309220 00306180 80 01 00 18 */ lwz r0, 0x18(r1) +/* 80309224 00306184 38 C1 00 5C */ addi r6, r1, 0x5c +/* 80309228 00306188 90 A1 00 38 */ stw r5, 0x38(r1) +/* 8030922C 0030618C 38 A1 00 28 */ addi r5, r1, 0x28 +/* 80309230 00306190 38 E1 00 48 */ addi r7, r1, 0x48 +/* 80309234 00306194 91 21 00 3C */ stw r9, 0x3c(r1) +/* 80309238 00306198 91 01 00 40 */ stw r8, 0x40(r1) +/* 8030923C 0030619C 90 01 00 44 */ stw r0, 0x44(r1) +/* 80309240 003061A0 48 00 00 15 */ bl sub_80309254 +/* 80309244 003061A4 80 01 00 74 */ lwz r0, 0x74(r1) +/* 80309248 003061A8 7C 08 03 A6 */ mtlr r0 +/* 8030924C 003061AC 38 21 00 70 */ addi r1, r1, 0x70 +/* 80309250 003061B0 4E 80 00 20 */ blr diff --git a/asm/Kyoto/Graphics/DolphinCColor.s b/asm/Kyoto/Graphics/DolphinCColor.s new file mode 100644 index 00000000..d35c76b3 --- /dev/null +++ b/asm/Kyoto/Graphics/DolphinCColor.s @@ -0,0 +1,322 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global ToRGB5A3__6CColorCFv +ToRGB5A3__6CColorCFv: +/* 8036306C 0035FFCC 88 A3 00 02 */ lbz r5, 2(r3) +/* 80363070 0035FFD0 88 83 00 03 */ lbz r4, 3(r3) +/* 80363074 0035FFD4 54 A0 EE FE */ rlwinm r0, r5, 0x1d, 0x1b, 0x1f +/* 80363078 0035FFD8 88 C3 00 01 */ lbz r6, 1(r3) +/* 8036307C 0035FFDC 60 00 80 00 */ ori r0, r0, 0x8000 +/* 80363080 0035FFE0 88 E3 00 00 */ lbz r7, 0(r3) +/* 80363084 0035FFE4 50 C0 15 B4 */ rlwimi r0, r6, 2, 0x16, 0x1a +/* 80363088 0035FFE8 28 04 00 FF */ cmplwi r4, 0xff +/* 8036308C 0035FFEC 50 E0 3C 6A */ rlwimi r0, r7, 7, 0x11, 0x15 +/* 80363090 0035FFF0 54 03 04 3E */ clrlwi r3, r0, 0x10 +/* 80363094 0035FFF4 4D 82 00 20 */ beqlr +/* 80363098 0035FFF8 54 A0 E7 3E */ rlwinm r0, r5, 0x1c, 0x1c, 0x1f +/* 8036309C 0035FFFC 50 80 3C 66 */ rlwimi r0, r4, 7, 0x11, 0x13 +/* 803630A0 00360000 50 C0 06 36 */ rlwimi r0, r6, 0, 0x18, 0x1b +/* 803630A4 00360004 50 E0 25 2E */ rlwimi r0, r7, 4, 0x14, 0x17 +/* 803630A8 00360008 54 03 04 3E */ clrlwi r3, r0, 0x10 +/* 803630AC 0036000C 4E 80 00 20 */ blr + +.global Add__6CColorFRC6CColorRC6CColor +Add__6CColorFRC6CColorRC6CColor: +/* 803630B0 00360010 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803630B4 00360014 38 ED 9E 6C */ addi r7, r13, lbl_805A8A2C@sda21 +/* 803630B8 00360018 89 04 00 03 */ lbz r8, 3(r4) +/* 803630BC 0036001C 88 C5 00 03 */ lbz r6, 3(r5) +/* 803630C0 00360020 80 0D 9E 6C */ lwz r0, lbl_805A8A2C@sda21(r13) +/* 803630C4 00360024 7C C8 32 14 */ add r6, r8, r6 +/* 803630C8 00360028 7C 06 00 40 */ cmplw r6, r0 +/* 803630CC 0036002C 90 C1 00 08 */ stw r6, 8(r1) +/* 803630D0 00360030 40 80 00 08 */ bge lbl_803630D8 +/* 803630D4 00360034 38 E1 00 08 */ addi r7, r1, 8 +lbl_803630D8: +/* 803630D8 00360038 88 C4 00 02 */ lbz r6, 2(r4) +/* 803630DC 0036003C 39 0D 9E 68 */ addi r8, r13, lbl_805A8A28@sda21 +/* 803630E0 00360040 88 05 00 02 */ lbz r0, 2(r5) +/* 803630E4 00360044 80 E7 00 00 */ lwz r7, 0(r7) +/* 803630E8 00360048 7C C6 02 14 */ add r6, r6, r0 +/* 803630EC 0036004C 80 0D 9E 68 */ lwz r0, lbl_805A8A28@sda21(r13) +/* 803630F0 00360050 90 C1 00 0C */ stw r6, 0xc(r1) +/* 803630F4 00360054 54 E9 06 3E */ clrlwi r9, r7, 0x18 +/* 803630F8 00360058 7C 06 00 40 */ cmplw r6, r0 +/* 803630FC 0036005C 40 80 00 08 */ bge lbl_80363104 +/* 80363100 00360060 39 01 00 0C */ addi r8, r1, 0xc +lbl_80363104: +/* 80363104 00360064 88 C4 00 01 */ lbz r6, 1(r4) +/* 80363108 00360068 38 ED 9E 64 */ addi r7, r13, lbl_805A8A24@sda21 +/* 8036310C 0036006C 88 05 00 01 */ lbz r0, 1(r5) +/* 80363110 00360070 81 08 00 00 */ lwz r8, 0(r8) +/* 80363114 00360074 7C C6 02 14 */ add r6, r6, r0 +/* 80363118 00360078 80 0D 9E 64 */ lwz r0, lbl_805A8A24@sda21(r13) +/* 8036311C 0036007C 90 C1 00 10 */ stw r6, 0x10(r1) +/* 80363120 00360080 55 08 06 3E */ clrlwi r8, r8, 0x18 +/* 80363124 00360084 7C 06 00 40 */ cmplw r6, r0 +/* 80363128 00360088 40 80 00 08 */ bge lbl_80363130 +/* 8036312C 0036008C 38 E1 00 10 */ addi r7, r1, 0x10 +lbl_80363130: +/* 80363130 00360090 88 C4 00 00 */ lbz r6, 0(r4) +/* 80363134 00360094 38 8D 9E 60 */ addi r4, r13, lbl_805A8A20@sda21 +/* 80363138 00360098 88 05 00 00 */ lbz r0, 0(r5) +/* 8036313C 0036009C 80 E7 00 00 */ lwz r7, 0(r7) +/* 80363140 003600A0 7C A6 02 14 */ add r5, r6, r0 +/* 80363144 003600A4 80 0D 9E 60 */ lwz r0, lbl_805A8A20@sda21(r13) +/* 80363148 003600A8 90 A1 00 14 */ stw r5, 0x14(r1) +/* 8036314C 003600AC 54 E6 06 3E */ clrlwi r6, r7, 0x18 +/* 80363150 003600B0 7C 05 00 40 */ cmplw r5, r0 +/* 80363154 003600B4 40 80 00 08 */ bge lbl_8036315C +/* 80363158 003600B8 38 81 00 14 */ addi r4, r1, 0x14 +lbl_8036315C: +/* 8036315C 003600BC 80 04 00 00 */ lwz r0, 0(r4) +/* 80363160 003600C0 98 03 00 00 */ stb r0, 0(r3) +/* 80363164 003600C4 98 C3 00 01 */ stb r6, 1(r3) +/* 80363168 003600C8 99 03 00 02 */ stb r8, 2(r3) +/* 8036316C 003600CC 99 23 00 03 */ stb r9, 3(r3) +/* 80363170 003600D0 38 21 00 20 */ addi r1, r1, 0x20 +/* 80363174 003600D4 4E 80 00 20 */ blr + +.global Modulate__6CColorFRC6CColorRC6CColor +Modulate__6CColorFRC6CColorRC6CColor: +/* 80363178 003600D8 88 E4 00 03 */ lbz r7, 3(r4) +/* 8036317C 003600DC 3C C0 80 81 */ lis r6, 0x80808081@ha +/* 80363180 003600E0 88 05 00 03 */ lbz r0, 3(r5) +/* 80363184 003600E4 39 66 80 81 */ addi r11, r6, 0x80808081@l +/* 80363188 003600E8 89 24 00 02 */ lbz r9, 2(r4) +/* 8036318C 003600EC 7D 47 01 D6 */ mullw r10, r7, r0 +/* 80363190 003600F0 89 05 00 02 */ lbz r8, 2(r5) +/* 80363194 003600F4 88 E4 00 01 */ lbz r7, 1(r4) +/* 80363198 003600F8 88 C5 00 01 */ lbz r6, 1(r5) +/* 8036319C 003600FC 88 05 00 00 */ lbz r0, 0(r5) +/* 803631A0 00360100 88 84 00 00 */ lbz r4, 0(r4) +/* 803631A4 00360104 7C A7 31 D6 */ mullw r5, r7, r6 +/* 803631A8 00360108 7C CB 50 96 */ mulhw r6, r11, r10 +/* 803631AC 0036010C 7C C6 52 14 */ add r6, r6, r10 +/* 803631B0 00360110 7C C7 3E 70 */ srawi r7, r6, 7 +/* 803631B4 00360114 7D 09 41 D6 */ mullw r8, r9, r8 +/* 803631B8 00360118 54 E9 0F FE */ srwi r9, r7, 0x1f +/* 803631BC 0036011C 7C 04 01 D6 */ mullw r0, r4, r0 +/* 803631C0 00360120 7C 8B 40 96 */ mulhw r4, r11, r8 +/* 803631C4 00360124 7C CB 28 96 */ mulhw r6, r11, r5 +/* 803631C8 00360128 7C 84 42 14 */ add r4, r4, r8 +/* 803631CC 0036012C 7D 07 4A 14 */ add r8, r7, r9 +/* 803631D0 00360130 7C 87 3E 70 */ srawi r7, r4, 7 +/* 803631D4 00360134 7C A6 2A 14 */ add r5, r6, r5 +/* 803631D8 00360138 7C 8B 00 96 */ mulhw r4, r11, r0 +/* 803631DC 0036013C 54 E6 0F FE */ srwi r6, r7, 0x1f +/* 803631E0 00360140 7C A5 3E 70 */ srawi r5, r5, 7 +/* 803631E4 00360144 7C E7 32 14 */ add r7, r7, r6 +/* 803631E8 00360148 54 A6 0F FE */ srwi r6, r5, 0x1f +/* 803631EC 0036014C 7C 04 02 14 */ add r0, r4, r0 +/* 803631F0 00360150 7C 00 3E 70 */ srawi r0, r0, 7 +/* 803631F4 00360154 7C A5 32 14 */ add r5, r5, r6 +/* 803631F8 00360158 54 04 0F FE */ srwi r4, r0, 0x1f +/* 803631FC 0036015C 7C 00 22 14 */ add r0, r0, r4 +/* 80363200 00360160 98 03 00 00 */ stb r0, 0(r3) +/* 80363204 00360164 98 A3 00 01 */ stb r5, 1(r3) +/* 80363208 00360168 98 E3 00 02 */ stb r7, 2(r3) +/* 8036320C 0036016C 99 03 00 03 */ stb r8, 3(r3) +/* 80363210 00360170 4E 80 00 20 */ blr + +.global Lerp__6CColorFUiUif +Lerp__6CColorFUiUif: +/* 80363214 00360174 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80363218 00360178 7C 08 02 A6 */ mflr r0 +/* 8036321C 0036017C C0 02 CD A0 */ lfs f0, lbl_805AEAC0@sda21(r2) +/* 80363220 00360180 90 01 00 14 */ stw r0, 0x14(r1) +/* 80363224 00360184 EC 20 00 72 */ fmuls f1, f0, f1 +/* 80363228 00360188 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8036322C 0036018C 7C 9F 23 78 */ mr r31, r4 +/* 80363230 00360190 93 C1 00 08 */ stw r30, 8(r1) +/* 80363234 00360194 7C 7E 1B 78 */ mr r30, r3 +/* 80363238 00360198 48 02 67 1D */ bl __cvt_fp2unsigned +/* 8036323C 0036019C 3C A0 00 FF */ lis r5, 0x00FF00FF@ha +/* 80363240 003601A0 3C 80 FF 01 */ lis r4, 0xFF00FF00@ha +/* 80363244 003601A4 38 E5 00 FF */ addi r7, r5, 0x00FF00FF@l +/* 80363248 003601A8 57 C6 C2 3E */ srwi r6, r30, 8 +/* 8036324C 003601AC 57 E5 C2 3E */ srwi r5, r31, 8 +/* 80363250 003601B0 38 04 FF 00 */ addi r0, r4, 0xFF00FF00@l +/* 80363254 003601B4 7C C8 38 38 */ and r8, r6, r7 +/* 80363258 003601B8 7F C6 38 38 */ and r6, r30, r7 +/* 8036325C 003601BC 7C A4 38 38 */ and r4, r5, r7 +/* 80363260 003601C0 7F E5 38 38 */ and r5, r31, r7 +/* 80363264 003601C4 7D 28 20 50 */ subf r9, r8, r4 +/* 80363268 003601C8 7C 86 28 50 */ subf r4, r6, r5 +/* 8036326C 003601CC 7D 29 19 D6 */ mullw r9, r9, r3 +/* 80363270 003601D0 7C 84 19 D6 */ mullw r4, r4, r3 +/* 80363274 003601D4 55 23 C2 3E */ srwi r3, r9, 8 +/* 80363278 003601D8 7C 63 42 14 */ add r3, r3, r8 +/* 8036327C 003601DC 54 84 C2 3E */ srwi r4, r4, 8 +/* 80363280 003601E0 54 63 40 2E */ slwi r3, r3, 8 +/* 80363284 003601E4 7C 84 32 14 */ add r4, r4, r6 +/* 80363288 003601E8 7C 84 38 38 */ and r4, r4, r7 +/* 8036328C 003601EC 7C 60 00 38 */ and r0, r3, r0 +/* 80363290 003601F0 7C 83 03 78 */ or r3, r4, r0 +/* 80363294 003601F4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80363298 003601F8 83 C1 00 08 */ lwz r30, 8(r1) +/* 8036329C 003601FC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803632A0 00360200 7C 08 03 A6 */ mtlr r0 +/* 803632A4 00360204 38 21 00 10 */ addi r1, r1, 0x10 +/* 803632A8 00360208 4E 80 00 20 */ blr + +.global Lerp__6CColorFRC6CColorRC6CColorf +Lerp__6CColorFRC6CColorRC6CColorf: +/* 803632AC 0036020C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803632B0 00360210 7C 08 02 A6 */ mflr r0 +/* 803632B4 00360214 C0 02 CD A4 */ lfs f0, lbl_805AEAC4@sda21(r2) +/* 803632B8 00360218 90 01 00 14 */ stw r0, 0x14(r1) +/* 803632BC 0036021C ED A0 08 28 */ fsubs f13, f0, f1 +/* 803632C0 00360220 E0 A4 A0 00 */ psq_l f5, 0(r4), 1, qr2 +/* 803632C4 00360224 E0 05 A0 00 */ psq_l f0, 0(r5), 1, qr2 +/* 803632C8 00360228 E0 C4 A0 01 */ psq_l f6, 1(r4), 1, qr2 +/* 803632CC 0036022C E0 45 A0 01 */ psq_l f2, 1(r5), 1, qr2 +/* 803632D0 00360230 E1 64 A0 02 */ psq_l f11, 2(r4), 1, qr2 +/* 803632D4 00360234 E0 E5 A0 02 */ psq_l f7, 2(r5), 1, qr2 +/* 803632D8 00360238 E1 84 A0 03 */ psq_l f12, 3(r4), 1, qr2 +/* 803632DC 0036023C E1 05 A0 03 */ psq_l f8, 3(r5), 1, qr2 +/* 803632E0 00360240 C1 42 CD A8 */ lfs f10, lbl_805AEAC8@sda21(r2) +/* 803632E4 00360244 EC 8A 00 32 */ fmuls f4, f10, f0 +/* 803632E8 00360248 EC 6A 00 B2 */ fmuls f3, f10, f2 +/* 803632EC 0036024C EC 4A 01 F2 */ fmuls f2, f10, f7 +/* 803632F0 00360250 EC 0A 02 32 */ fmuls f0, f10, f8 +/* 803632F4 00360254 ED 2A 01 72 */ fmuls f9, f10, f5 +/* 803632F8 00360258 ED 01 01 32 */ fmuls f8, f1, f4 +/* 803632FC 0036025C EC EA 01 B2 */ fmuls f7, f10, f6 +/* 80363300 00360260 EC C1 00 F2 */ fmuls f6, f1, f3 +/* 80363304 00360264 EC AA 02 F2 */ fmuls f5, f10, f11 +/* 80363308 00360268 EC 61 00 B2 */ fmuls f3, f1, f2 +/* 8036330C 0036026C EC 8A 03 32 */ fmuls f4, f10, f12 +/* 80363310 00360270 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80363314 00360274 EC 2D 42 7A */ fmadds f1, f13, f9, f8 +/* 80363318 00360278 EC 4D 31 FA */ fmadds f2, f13, f7, f6 +/* 8036331C 0036027C EC 6D 19 7A */ fmadds f3, f13, f5, f3 +/* 80363320 00360280 EC 8D 01 3A */ fmadds f4, f13, f4, f0 +/* 80363324 00360284 48 00 00 C9 */ bl __ct__6CColorFffff +/* 80363328 00360288 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8036332C 0036028C 7C 08 03 A6 */ mtlr r0 +/* 80363330 00360290 38 21 00 10 */ addi r1, r1, 0x10 +/* 80363334 00360294 4E 80 00 20 */ blr + +.global Get__6CColorCFRfRfRf +Get__6CColorCFRfRfRf: +/* 80363338 00360298 E0 03 A0 00 */ psq_l f0, 0(r3), 1, qr2 +/* 8036333C 0036029C C0 22 CD A8 */ lfs f1, lbl_805AEAC8@sda21(r2) +/* 80363340 003602A0 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80363344 003602A4 D0 04 00 00 */ stfs f0, 0(r4) +/* 80363348 003602A8 E0 03 A0 01 */ psq_l f0, 1(r3), 1, qr2 +/* 8036334C 003602AC EC 01 00 32 */ fmuls f0, f1, f0 +/* 80363350 003602B0 D0 05 00 00 */ stfs f0, 0(r5) +/* 80363354 003602B4 E0 03 A0 02 */ psq_l f0, 2(r3), 1, qr2 +/* 80363358 003602B8 EC 01 00 32 */ fmuls f0, f1, f0 +/* 8036335C 003602BC D0 06 00 00 */ stfs f0, 0(r6) +/* 80363360 003602C0 4E 80 00 20 */ blr + +.global Get__6CColorCFRfRfRfRf +Get__6CColorCFRfRfRfRf: +/* 80363364 003602C4 E0 03 A0 00 */ psq_l f0, 0(r3), 1, qr2 +/* 80363368 003602C8 C0 22 CD A8 */ lfs f1, lbl_805AEAC8@sda21(r2) +/* 8036336C 003602CC EC 01 00 32 */ fmuls f0, f1, f0 +/* 80363370 003602D0 D0 04 00 00 */ stfs f0, 0(r4) +/* 80363374 003602D4 E0 03 A0 01 */ psq_l f0, 1(r3), 1, qr2 +/* 80363378 003602D8 EC 01 00 32 */ fmuls f0, f1, f0 +/* 8036337C 003602DC D0 05 00 00 */ stfs f0, 0(r5) +/* 80363380 003602E0 E0 03 A0 02 */ psq_l f0, 2(r3), 1, qr2 +/* 80363384 003602E4 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80363388 003602E8 D0 06 00 00 */ stfs f0, 0(r6) +/* 8036338C 003602EC E0 03 A0 03 */ psq_l f0, 3(r3), 1, qr2 +/* 80363390 003602F0 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80363394 003602F4 D0 07 00 00 */ stfs f0, 0(r7) +/* 80363398 003602F8 4E 80 00 20 */ blr + +.global Set__6CColorFffff +Set__6CColorFffff: +/* 8036339C 003602FC C0 02 CD AC */ lfs f0, lbl_805AEACC@sda21(r2) +/* 803633A0 00360300 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803633A4 00360304 EC 20 00 72 */ fmuls f1, f0, f1 +/* 803633A8 00360308 F0 21 A0 0B */ psq_st f1, 11(r1), 1, qr2 +/* 803633AC 0036030C EC 40 00 B2 */ fmuls f2, f0, f2 +/* 803633B0 00360310 88 01 00 0B */ lbz r0, 0xb(r1) +/* 803633B4 00360314 98 03 00 00 */ stb r0, 0(r3) +/* 803633B8 00360318 F0 41 A0 0A */ psq_st f2, 10(r1), 1, qr2 +/* 803633BC 0036031C EC 60 00 F2 */ fmuls f3, f0, f3 +/* 803633C0 00360320 88 01 00 0A */ lbz r0, 0xa(r1) +/* 803633C4 00360324 98 03 00 01 */ stb r0, 1(r3) +/* 803633C8 00360328 F0 61 A0 09 */ psq_st f3, 9(r1), 1, qr2 +/* 803633CC 0036032C EC 80 01 32 */ fmuls f4, f0, f4 +/* 803633D0 00360330 88 01 00 09 */ lbz r0, 9(r1) +/* 803633D4 00360334 98 03 00 02 */ stb r0, 2(r3) +/* 803633D8 00360338 F0 81 A0 08 */ psq_st f4, 8(r1), 1, qr2 +/* 803633DC 0036033C 88 01 00 08 */ lbz r0, 8(r1) +/* 803633E0 00360340 98 03 00 03 */ stb r0, 3(r3) +/* 803633E4 00360344 38 21 00 10 */ addi r1, r1, 0x10 +/* 803633E8 00360348 4E 80 00 20 */ blr + +.global __ct__6CColorFffff +__ct__6CColorFffff: +/* 803633EC 0036034C C0 C2 CD AC */ lfs f6, lbl_805AEACC@sda21(r2) +/* 803633F0 00360350 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 803633F4 00360354 EC A6 00 72 */ fmuls f5, f6, f1 +/* 803633F8 00360358 EC 26 00 F2 */ fmuls f1, f6, f3 +/* 803633FC 0036035C EC 06 00 B2 */ fmuls f0, f6, f2 +/* 80363400 00360360 FC 60 28 1E */ fctiwz f3, f5 +/* 80363404 00360364 FC 20 08 1E */ fctiwz f1, f1 +/* 80363408 00360368 FC 40 00 1E */ fctiwz f2, f0 +/* 8036340C 0036036C EC 06 01 32 */ fmuls f0, f6, f4 +/* 80363410 00360370 D8 61 00 08 */ stfd f3, 8(r1) +/* 80363414 00360374 D8 41 00 10 */ stfd f2, 0x10(r1) +/* 80363418 00360378 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8036341C 0036037C FC 00 00 1E */ fctiwz f0, f0 +/* 80363420 00360380 D8 21 00 18 */ stfd f1, 0x18(r1) +/* 80363424 00360384 80 81 00 14 */ lwz r4, 0x14(r1) +/* 80363428 00360388 98 03 00 00 */ stb r0, 0(r3) +/* 8036342C 0036038C 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 80363430 00360390 98 83 00 01 */ stb r4, 1(r3) +/* 80363434 00360394 D8 01 00 20 */ stfd f0, 0x20(r1) +/* 80363438 00360398 98 03 00 02 */ stb r0, 2(r3) +/* 8036343C 0036039C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80363440 003603A0 98 03 00 03 */ stb r0, 3(r3) +/* 80363444 003603A4 38 21 00 30 */ addi r1, r1, 0x30 +/* 80363448 003603A8 4E 80 00 20 */ blr + +.global __ct__6CColorFR12CInputStream +__ct__6CColorFR12CInputStream: +/* 8036344C 003603AC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80363450 003603B0 7C 08 02 A6 */ mflr r0 +/* 80363454 003603B4 90 01 00 34 */ stw r0, 0x34(r1) +/* 80363458 003603B8 DB E1 00 28 */ stfd f31, 0x28(r1) +/* 8036345C 003603BC DB C1 00 20 */ stfd f30, 0x20(r1) +/* 80363460 003603C0 DB A1 00 18 */ stfd f29, 0x18(r1) +/* 80363464 003603C4 93 E1 00 14 */ stw r31, 0x14(r1) +/* 80363468 003603C8 7C 9F 23 78 */ mr r31, r4 +/* 8036346C 003603CC 93 C1 00 10 */ stw r30, 0x10(r1) +/* 80363470 003603D0 7C 7E 1B 78 */ mr r30, r3 +/* 80363474 003603D4 7F E3 FB 78 */ mr r3, r31 +/* 80363478 003603D8 4B FD B7 B1 */ bl ReadFloat__12CInputStreamFv +/* 8036347C 003603DC FF E0 08 90 */ fmr f31, f1 +/* 80363480 003603E0 7F E3 FB 78 */ mr r3, r31 +/* 80363484 003603E4 4B FD B7 A5 */ bl ReadFloat__12CInputStreamFv +/* 80363488 003603E8 FF C0 08 90 */ fmr f30, f1 +/* 8036348C 003603EC 7F E3 FB 78 */ mr r3, r31 +/* 80363490 003603F0 4B FD B7 99 */ bl ReadFloat__12CInputStreamFv +/* 80363494 003603F4 FF A0 08 90 */ fmr f29, f1 +/* 80363498 003603F8 7F E3 FB 78 */ mr r3, r31 +/* 8036349C 003603FC 4B FD B7 8D */ bl ReadFloat__12CInputStreamFv +/* 803634A0 00360400 FC 80 08 90 */ fmr f4, f1 +/* 803634A4 00360404 7F C3 F3 78 */ mr r3, r30 +/* 803634A8 00360408 FC 20 F8 90 */ fmr f1, f31 +/* 803634AC 0036040C FC 40 F0 90 */ fmr f2, f30 +/* 803634B0 00360410 FC 60 E8 90 */ fmr f3, f29 +/* 803634B4 00360414 4B FF FE E9 */ bl Set__6CColorFffff +/* 803634B8 00360418 80 01 00 34 */ lwz r0, 0x34(r1) +/* 803634BC 0036041C 7F C3 F3 78 */ mr r3, r30 +/* 803634C0 00360420 CB E1 00 28 */ lfd f31, 0x28(r1) +/* 803634C4 00360424 CB C1 00 20 */ lfd f30, 0x20(r1) +/* 803634C8 00360428 CB A1 00 18 */ lfd f29, 0x18(r1) +/* 803634CC 0036042C 83 E1 00 14 */ lwz r31, 0x14(r1) +/* 803634D0 00360430 83 C1 00 10 */ lwz r30, 0x10(r1) +/* 803634D4 00360434 7C 08 03 A6 */ mtlr r0 +/* 803634D8 00360438 38 21 00 30 */ addi r1, r1, 0x30 +/* 803634DC 0036043C 4E 80 00 20 */ blr diff --git a/asm/Kyoto/Graphics/DolphinCGraphics.s b/asm/Kyoto/Graphics/DolphinCGraphics.s new file mode 100644 index 00000000..65326913 --- /dev/null +++ b/asm/Kyoto/Graphics/DolphinCGraphics.s @@ -0,0 +1,5300 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global sub_80309254 +sub_80309254: +/* 80309254 003061B4 81 0D A7 98 */ lwz r8, lbl_805A9358@sda21(r13) +/* 80309258 003061B8 38 08 00 01 */ addi r0, r8, 1 +/* 8030925C 003061BC 90 0D A7 98 */ stw r0, lbl_805A9358@sda21(r13) +/* 80309260 003061C0 91 03 00 00 */ stw r8, 0(r3) +/* 80309264 003061C4 80 04 00 00 */ lwz r0, 0(r4) +/* 80309268 003061C8 90 03 00 04 */ stw r0, 4(r3) +/* 8030926C 003061CC 80 04 00 04 */ lwz r0, 4(r4) +/* 80309270 003061D0 90 03 00 08 */ stw r0, 8(r3) +/* 80309274 003061D4 80 04 00 08 */ lwz r0, 8(r4) +/* 80309278 003061D8 90 03 00 0C */ stw r0, 0xc(r3) +/* 8030927C 003061DC 80 04 00 0C */ lwz r0, 0xc(r4) +/* 80309280 003061E0 90 03 00 10 */ stw r0, 0x10(r3) +/* 80309284 003061E4 80 05 00 00 */ lwz r0, 0(r5) +/* 80309288 003061E8 90 03 00 14 */ stw r0, 0x14(r3) +/* 8030928C 003061EC 80 05 00 04 */ lwz r0, 4(r5) +/* 80309290 003061F0 90 03 00 18 */ stw r0, 0x18(r3) +/* 80309294 003061F4 80 05 00 08 */ lwz r0, 8(r5) +/* 80309298 003061F8 90 03 00 1C */ stw r0, 0x1c(r3) +/* 8030929C 003061FC 80 05 00 0C */ lwz r0, 0xc(r5) +/* 803092A0 00306200 90 03 00 20 */ stw r0, 0x20(r3) +/* 803092A4 00306204 88 06 00 00 */ lbz r0, 0(r6) +/* 803092A8 00306208 98 03 00 24 */ stb r0, 0x24(r3) +/* 803092AC 0030620C 80 06 00 04 */ lwz r0, 4(r6) +/* 803092B0 00306210 90 03 00 28 */ stw r0, 0x28(r3) +/* 803092B4 00306214 80 06 00 08 */ lwz r0, 8(r6) +/* 803092B8 00306218 90 03 00 2C */ stw r0, 0x2c(r3) +/* 803092BC 0030621C 80 06 00 0C */ lwz r0, 0xc(r6) +/* 803092C0 00306220 90 03 00 30 */ stw r0, 0x30(r3) +/* 803092C4 00306224 80 06 00 10 */ lwz r0, 0x10(r6) +/* 803092C8 00306228 90 03 00 34 */ stw r0, 0x34(r3) +/* 803092CC 0030622C 88 07 00 00 */ lbz r0, 0(r7) +/* 803092D0 00306230 98 03 00 38 */ stb r0, 0x38(r3) +/* 803092D4 00306234 80 07 00 04 */ lwz r0, 4(r7) +/* 803092D8 00306238 90 03 00 3C */ stw r0, 0x3c(r3) +/* 803092DC 0030623C 80 07 00 08 */ lwz r0, 8(r7) +/* 803092E0 00306240 90 03 00 40 */ stw r0, 0x40(r3) +/* 803092E4 00306244 80 07 00 0C */ lwz r0, 0xc(r7) +/* 803092E8 00306248 90 03 00 44 */ stw r0, 0x44(r3) +/* 803092EC 0030624C 80 07 00 10 */ lwz r0, 0x10(r7) +/* 803092F0 00306250 90 03 00 48 */ stw r0, 0x48(r3) +/* 803092F4 00306254 4E 80 00 20 */ blr + +.global ResetFlushAll__Q29CGraphics12CRenderStateFv +ResetFlushAll__Q29CGraphics12CRenderStateFv: +/* 803092F8 00306258 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803092FC 0030625C 7C 08 02 A6 */ mflr r0 +/* 80309300 00306260 38 80 00 00 */ li r4, 0 +/* 80309304 00306264 38 A0 00 00 */ li r5, 0 +/* 80309308 00306268 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030930C 0030626C 38 00 00 00 */ li r0, 0 +/* 80309310 00306270 38 C0 00 00 */ li r6, 0 +/* 80309314 00306274 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80309318 00306278 93 C1 00 08 */ stw r30, 8(r1) +/* 8030931C 0030627C 7C 7E 1B 78 */ mr r30, r3 +/* 80309320 00306280 90 03 00 00 */ stw r0, 0(r3) +/* 80309324 00306284 48 00 00 45 */ bl SetVtxState__Q29CGraphics12CRenderStateFPCfPCfPCUi +/* 80309328 00306288 3B E0 00 00 */ li r31, 0 +lbl_8030932C: +/* 8030932C 0030628C 38 7F 00 0D */ addi r3, r31, 0xd +/* 80309330 00306290 38 80 00 00 */ li r4, 0 +/* 80309334 00306294 38 A0 00 08 */ li r5, 8 +/* 80309338 00306298 4B FF F3 0D */ bl SetArray__3CGXF7_GXAttrPCvUc +/* 8030933C 0030629C 3B FF 00 01 */ addi r31, r31, 1 +/* 80309340 003062A0 2C 1F 00 08 */ cmpwi r31, 8 +/* 80309344 003062A4 41 80 FF E8 */ blt lbl_8030932C +/* 80309348 003062A8 7F C3 F3 78 */ mr r3, r30 +/* 8030934C 003062AC 48 00 00 99 */ bl Flush__Q29CGraphics12CRenderStateFv +/* 80309350 003062B0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80309354 003062B4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80309358 003062B8 83 C1 00 08 */ lwz r30, 8(r1) +/* 8030935C 003062BC 7C 08 03 A6 */ mtlr r0 +/* 80309360 003062C0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80309364 003062C4 4E 80 00 20 */ blr + +.global SetVtxState__Q29CGraphics12CRenderStateFPCfPCfPCUi +SetVtxState__Q29CGraphics12CRenderStateFPCfPCfPCUi: +/* 80309368 003062C8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030936C 003062CC 7C 08 02 A6 */ mflr r0 +/* 80309370 003062D0 38 60 00 09 */ li r3, 9 +/* 80309374 003062D4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80309378 003062D8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8030937C 003062DC 7C DF 33 78 */ mr r31, r6 +/* 80309380 003062E0 93 C1 00 08 */ stw r30, 8(r1) +/* 80309384 003062E4 7C BE 2B 78 */ mr r30, r5 +/* 80309388 003062E8 38 A0 00 0C */ li r5, 0xc +/* 8030938C 003062EC 4B FF F2 B9 */ bl SetArray__3CGXF7_GXAttrPCvUc +/* 80309390 003062F0 7F C4 F3 78 */ mr r4, r30 +/* 80309394 003062F4 38 60 00 0A */ li r3, 0xa +/* 80309398 003062F8 38 A0 00 0C */ li r5, 0xc +/* 8030939C 003062FC 4B FF F2 A9 */ bl SetArray__3CGXF7_GXAttrPCvUc +/* 803093A0 00306300 7F E4 FB 78 */ mr r4, r31 +/* 803093A4 00306304 38 60 00 0B */ li r3, 0xb +/* 803093A8 00306308 38 A0 00 04 */ li r5, 4 +/* 803093AC 0030630C 4B FF F2 99 */ bl SetArray__3CGXF7_GXAttrPCvUc +/* 803093B0 00306310 28 1E 00 00 */ cmplwi r30, 0 +/* 803093B4 00306314 38 60 00 01 */ li r3, 1 +/* 803093B8 00306318 41 82 00 08 */ beq lbl_803093C0 +/* 803093BC 0030631C 60 63 00 02 */ ori r3, r3, 2 +lbl_803093C0: +/* 803093C0 00306320 28 1F 00 00 */ cmplwi r31, 0 +/* 803093C4 00306324 41 82 00 08 */ beq lbl_803093CC +/* 803093C8 00306328 60 63 00 10 */ ori r3, r3, 0x10 +lbl_803093CC: +/* 803093CC 0030632C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803093D0 00306330 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803093D4 00306334 83 C1 00 08 */ lwz r30, 8(r1) +/* 803093D8 00306338 7C 08 03 A6 */ mtlr r0 +/* 803093DC 0030633C 38 21 00 10 */ addi r1, r1, 0x10 +/* 803093E0 00306340 4E 80 00 20 */ blr + +.global Flush__Q29CGraphics12CRenderStateFv +Flush__Q29CGraphics12CRenderStateFv: +/* 803093E4 00306344 4E 80 00 20 */ blr + +.global __ct__Q29CGraphics12CRenderStateFv +__ct__Q29CGraphics12CRenderStateFv: +/* 803093E8 00306348 38 00 00 00 */ li r0, 0 +/* 803093EC 0030634C 90 03 00 00 */ stw r0, 0(r3) +/* 803093F0 00306350 90 03 00 04 */ stw r0, 4(r3) +/* 803093F4 00306354 4E 80 00 20 */ blr + +.global __dt__12CGraphicsSysFv +__dt__12CGraphicsSysFv: +/* 803093F8 00306358 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803093FC 0030635C 7C 08 02 A6 */ mflr r0 +/* 80309400 00306360 90 01 00 14 */ stw r0, 0x14(r1) +/* 80309404 00306364 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80309408 00306368 7C 9F 23 78 */ mr r31, r4 +/* 8030940C 0030636C 93 C1 00 08 */ stw r30, 8(r1) +/* 80309410 00306370 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80309414 00306374 41 82 00 2C */ beq lbl_80309440 +/* 80309418 00306378 88 0D A7 A8 */ lbz r0, lbl_805A9368@sda21(r13) +/* 8030941C 0030637C 28 00 00 01 */ cmplwi r0, 1 +/* 80309420 00306380 40 82 00 10 */ bne lbl_80309430 +/* 80309424 00306384 48 00 3C 3D */ bl Shutdown__9CGraphicsFv +/* 80309428 00306388 38 00 00 00 */ li r0, 0 +/* 8030942C 0030638C 98 0D A7 A8 */ stb r0, lbl_805A9368@sda21(r13) +lbl_80309430: +/* 80309430 00306390 7F E0 07 35 */ extsh. r0, r31 +/* 80309434 00306394 40 81 00 0C */ ble lbl_80309440 +/* 80309438 00306398 7F C3 F3 78 */ mr r3, r30 +/* 8030943C 0030639C 48 00 C4 F5 */ bl Free__7CMemoryFPCv +lbl_80309440: +/* 80309440 003063A0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80309444 003063A4 7F C3 F3 78 */ mr r3, r30 +/* 80309448 003063A8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8030944C 003063AC 83 C1 00 08 */ lwz r30, 8(r1) +/* 80309450 003063B0 7C 08 03 A6 */ mtlr r0 +/* 80309454 003063B4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80309458 003063B8 4E 80 00 20 */ blr + +.global __ct__12CGraphicsSysFRC10COsContextRC10CMemorySysUiPv +__ct__12CGraphicsSysFRC10COsContextRC10CMemorySysUiPv: +/* 8030945C 003063BC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80309460 003063C0 7C 08 02 A6 */ mflr r0 +/* 80309464 003063C4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80309468 003063C8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8030946C 003063CC 7C 7F 1B 78 */ mr r31, r3 +/* 80309470 003063D0 88 0D A7 A8 */ lbz r0, lbl_805A9368@sda21(r13) +/* 80309474 003063D4 28 00 00 01 */ cmplwi r0, 1 +/* 80309478 003063D8 41 82 00 18 */ beq lbl_80309490 +/* 8030947C 003063DC 7C 83 23 78 */ mr r3, r4 +/* 80309480 003063E0 7C C4 33 78 */ mr r4, r6 +/* 80309484 003063E4 7C E5 3B 78 */ mr r5, r7 +/* 80309488 003063E8 48 00 3E 05 */ bl Startup__9CGraphicsFRC10COsContextUiPv +/* 8030948C 003063EC 98 6D A7 A8 */ stb r3, lbl_805A9368@sda21(r13) +lbl_80309490: +/* 80309490 003063F0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80309494 003063F4 7F E3 FB 78 */ mr r3, r31 +/* 80309498 003063F8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8030949C 003063FC 7C 08 03 A6 */ mtlr r0 +/* 803094A0 00306400 38 21 00 10 */ addi r1, r1, 0x10 +/* 803094A4 00306404 4E 80 00 20 */ blr + +.global SetIsBeginSceneClearFb__9CGraphicsFb +SetIsBeginSceneClearFb__9CGraphicsFb: +/* 803094A8 00306408 98 6D 9C 6C */ stb r3, lbl_805A882C@sda21(r13) +/* 803094AC 0030640C 4E 80 00 20 */ blr + +.global sub_803094b0 +sub_803094b0: +/* 803094B0 00306410 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803094B4 00306414 7C 08 02 A6 */ mflr r0 +/* 803094B8 00306418 90 01 00 24 */ stw r0, 0x24(r1) +/* 803094BC 0030641C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 803094C0 00306420 7C 9F 23 78 */ mr r31, r4 +/* 803094C4 00306424 93 C1 00 18 */ stw r30, 0x18(r1) +/* 803094C8 00306428 7C 7E 1B 78 */ mr r30, r3 +/* 803094CC 0030642C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 803094D0 00306430 7C BD 2B 78 */ mr r29, r5 +/* 803094D4 00306434 80 0D A8 48 */ lwz r0, lbl_805A9408@sda21(r13) +/* 803094D8 00306438 80 6D A8 4C */ lwz r3, lbl_805A940C@sda21(r13) +/* 803094DC 0030643C 7C 80 F0 51 */ subf. r4, r0, r30 +/* 803094E0 00306440 80 0D A8 50 */ lwz r0, lbl_805A9410@sda21(r13) +/* 803094E4 00306444 7C A3 F8 50 */ subf r5, r3, r31 +/* 803094E8 00306448 7C E0 E8 50 */ subf r7, r0, r29 +/* 803094EC 0030644C 40 82 00 14 */ bne lbl_80309500 +/* 803094F0 00306450 2C 05 00 00 */ cmpwi r5, 0 +/* 803094F4 00306454 40 82 00 0C */ bne lbl_80309500 +/* 803094F8 00306458 2C 07 00 00 */ cmpwi r7, 0 +/* 803094FC 0030645C 41 82 00 4C */ beq lbl_80309548 +lbl_80309500: +/* 80309500 00306460 3C 60 80 5A */ lis r3, lbl_805A6500@ha +/* 80309504 00306464 54 80 08 3C */ slwi r0, r4, 1 +/* 80309508 00306468 38 63 65 00 */ addi r3, r3, lbl_805A6500@l +/* 8030950C 0030646C 7C 84 28 50 */ subf r4, r4, r5 +/* 80309510 00306470 A0 C3 00 0E */ lhz r6, 0xe(r3) +/* 80309514 00306474 A0 A3 00 0A */ lhz r5, 0xa(r3) +/* 80309518 00306478 7C C6 02 14 */ add r6, r6, r0 +/* 8030951C 0030647C A0 03 00 0C */ lhz r0, 0xc(r3) +/* 80309520 00306480 7C 85 22 14 */ add r4, r5, r4 +/* 80309524 00306484 B0 C3 00 0E */ sth r6, 0xe(r3) +/* 80309528 00306488 7C 00 3A 14 */ add r0, r0, r7 +/* 8030952C 0030648C B0 83 00 0A */ sth r4, 0xa(r3) +/* 80309530 00306490 B0 03 00 0C */ sth r0, 0xc(r3) +/* 80309534 00306494 48 07 F0 21 */ bl VIConfigure +/* 80309538 00306498 48 07 FB D9 */ bl VIFlush +/* 8030953C 0030649C 93 CD A8 48 */ stw r30, lbl_805A9408@sda21(r13) +/* 80309540 003064A0 93 ED A8 4C */ stw r31, lbl_805A940C@sda21(r13) +/* 80309544 003064A4 93 AD A8 50 */ stw r29, lbl_805A9410@sda21(r13) +lbl_80309548: +/* 80309548 003064A8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8030954C 003064AC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80309550 003064B0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80309554 003064B4 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80309558 003064B8 7C 08 03 A6 */ mtlr r0 +/* 8030955C 003064BC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80309560 003064C0 4E 80 00 20 */ blr + +.global sub_80309564 +sub_80309564: +/* 80309564 003064C4 28 03 00 00 */ cmplwi r3, 0 +/* 80309568 003064C8 41 82 00 0C */ beq lbl_80309574 +/* 8030956C 003064CC 80 0D A8 48 */ lwz r0, lbl_805A9408@sda21(r13) +/* 80309570 003064D0 90 03 00 00 */ stw r0, 0(r3) +lbl_80309574: +/* 80309574 003064D4 28 04 00 00 */ cmplwi r4, 0 +/* 80309578 003064D8 41 82 00 0C */ beq lbl_80309584 +/* 8030957C 003064DC 80 0D A8 4C */ lwz r0, lbl_805A940C@sda21(r13) +/* 80309580 003064E0 90 04 00 00 */ stw r0, 0(r4) +lbl_80309584: +/* 80309584 003064E4 28 05 00 00 */ cmplwi r5, 0 +/* 80309588 003064E8 4D 82 00 20 */ beqlr +/* 8030958C 003064EC 80 0D A8 50 */ lwz r0, lbl_805A9410@sda21(r13) +/* 80309590 003064F0 90 05 00 00 */ stw r0, 0(r5) +/* 80309594 003064F4 4E 80 00 20 */ blr + +.global GetProgressiveDefault__9CGraphicsFv +GetProgressiveDefault__9CGraphicsFv: +/* 80309598 003064F8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030959C 003064FC 7C 08 02 A6 */ mflr r0 +/* 803095A0 00306500 90 01 00 14 */ stw r0, 0x14(r1) +/* 803095A4 00306504 48 07 AB 91 */ bl OSGetProgressiveMode +/* 803095A8 00306508 20 03 00 01 */ subfic r0, r3, 1 +/* 803095AC 0030650C 7C 00 00 34 */ cntlzw r0, r0 +/* 803095B0 00306510 54 03 D9 7E */ srwi r3, r0, 5 +/* 803095B4 00306514 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803095B8 00306518 7C 08 03 A6 */ mtlr r0 +/* 803095BC 0030651C 38 21 00 10 */ addi r1, r1, 0x10 +/* 803095C0 00306520 4E 80 00 20 */ blr + +.global CanSetProgressiveMode__9CGraphicsFv +CanSetProgressiveMode__9CGraphicsFv: +/* 803095C4 00306524 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803095C8 00306528 7C 08 02 A6 */ mflr r0 +/* 803095CC 0030652C 90 01 00 14 */ stw r0, 0x14(r1) +/* 803095D0 00306530 48 07 FF 71 */ bl VIGetDTVStatus +/* 803095D4 00306534 7C 03 00 D0 */ neg r0, r3 +/* 803095D8 00306538 7C 00 1B 78 */ or r0, r0, r3 +/* 803095DC 0030653C 54 03 0F FE */ srwi r3, r0, 0x1f +/* 803095E0 00306540 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803095E4 00306544 7C 08 03 A6 */ mtlr r0 +/* 803095E8 00306548 38 21 00 10 */ addi r1, r1, 0x10 +/* 803095EC 0030654C 4E 80 00 20 */ blr + +.global GetProgressiveMode__9CGraphicsFv +GetProgressiveMode__9CGraphicsFv: +/* 803095F0 00306550 3C 60 80 5A */ lis r3, lbl_805A6500@ha +/* 803095F4 00306554 80 03 65 00 */ lwz r0, lbl_805A6500@l(r3) +/* 803095F8 00306558 20 00 00 02 */ subfic r0, r0, 2 +/* 803095FC 0030655C 7C 00 00 34 */ cntlzw r0, r0 +/* 80309600 00306560 54 03 D9 7E */ srwi r3, r0, 5 +/* 80309604 00306564 4E 80 00 20 */ blr + +.global SetProgressiveMode__9CGraphicsFb +SetProgressiveMode__9CGraphicsFb: +/* 80309608 00306568 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8030960C 0030656C 7C 08 02 A6 */ mflr r0 +/* 80309610 00306570 90 01 00 24 */ stw r0, 0x24(r1) +/* 80309614 00306574 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80309618 00306578 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8030961C 0030657C 7C 7E 1B 78 */ mr r30, r3 +/* 80309620 00306580 4B FF FF D1 */ bl GetProgressiveMode__9CGraphicsFv +/* 80309624 00306584 57 C4 06 3E */ clrlwi r4, r30, 0x18 +/* 80309628 00306588 7C 7F 1B 78 */ mr r31, r3 +/* 8030962C 0030658C 7C 04 00 D0 */ neg r0, r4 +/* 80309630 00306590 7C 00 23 78 */ or r0, r0, r4 +/* 80309634 00306594 54 03 0F FE */ srwi r3, r0, 0x1f +/* 80309638 00306598 48 07 AB 6D */ bl sub_803841a4 +/* 8030963C 0030659C 57 C3 06 3E */ clrlwi r3, r30, 0x18 +/* 80309640 003065A0 57 E0 06 3E */ clrlwi r0, r31, 0x18 +/* 80309644 003065A4 7C 03 00 40 */ cmplw r3, r0 +/* 80309648 003065A8 41 82 01 0C */ beq lbl_80309754 +/* 8030964C 003065AC 38 60 00 01 */ li r3, 1 +/* 80309650 003065B0 48 07 FC 5D */ bl VISetBlack +/* 80309654 003065B4 48 07 FA BD */ bl VIFlush +/* 80309658 003065B8 48 07 EA 35 */ bl VIWaitForRetrace +/* 8030965C 003065BC 3B E0 00 00 */ li r31, 0 +lbl_80309660: +/* 80309660 003065C0 48 07 EA 2D */ bl VIWaitForRetrace +/* 80309664 003065C4 3B FF 00 01 */ addi r31, r31, 1 +/* 80309668 003065C8 2C 1F 00 0A */ cmpwi r31, 0xa +/* 8030966C 003065CC 41 80 FF F4 */ blt lbl_80309660 +/* 80309670 003065D0 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 80309674 003065D4 41 82 00 48 */ beq lbl_803096BC +/* 80309678 003065D8 80 E2 C7 E0 */ lwz r7, lbl_805AE500@sda21(r2) +/* 8030967C 003065DC 3C 60 80 5A */ lis r3, lbl_805A6500@ha +/* 80309680 003065E0 A0 C2 C7 E4 */ lhz r6, lbl_805AE504@sda21(r2) +/* 80309684 003065E4 39 03 65 00 */ addi r8, r3, lbl_805A6500@l +/* 80309688 003065E8 88 02 C7 E6 */ lbz r0, lbl_805AE506@sda21(r2) +/* 8030968C 003065EC 38 60 00 02 */ li r3, 2 +/* 80309690 003065F0 38 A0 00 00 */ li r5, 0 +/* 80309694 003065F4 90 68 00 00 */ stw r3, 0(r8) +/* 80309698 003065F8 38 68 00 32 */ addi r3, r8, 0x32 +/* 8030969C 003065FC 38 81 00 08 */ addi r4, r1, 8 +/* 803096A0 00306600 90 A8 00 14 */ stw r5, 0x14(r8) +/* 803096A4 00306604 38 A0 00 07 */ li r5, 7 +/* 803096A8 00306608 90 E1 00 08 */ stw r7, 8(r1) +/* 803096AC 0030660C B0 C1 00 0C */ sth r6, 0xc(r1) +/* 803096B0 00306610 98 01 00 0E */ stb r0, 0xe(r1) +/* 803096B4 00306614 4B CF 9D DD */ bl memcpy +/* 803096B8 00306618 48 00 00 34 */ b lbl_803096EC +lbl_803096BC: +/* 803096BC 0030661C 3C 80 80 5A */ lis r4, lbl_805A6500@ha +/* 803096C0 00306620 3C 60 80 3F */ lis r3, lbl_803F08E0@ha +/* 803096C4 00306624 38 C4 65 00 */ addi r6, r4, lbl_805A6500@l +/* 803096C8 00306628 38 A0 00 00 */ li r5, 0 +/* 803096CC 0030662C 38 00 00 01 */ li r0, 1 +/* 803096D0 00306630 38 83 08 E0 */ addi r4, r3, lbl_803F08E0@l +/* 803096D4 00306634 90 A6 00 00 */ stw r5, 0(r6) +/* 803096D8 00306638 38 66 00 32 */ addi r3, r6, 0x32 +/* 803096DC 0030663C 38 84 00 32 */ addi r4, r4, 0x32 +/* 803096E0 00306640 38 A0 00 07 */ li r5, 7 +/* 803096E4 00306644 90 06 00 14 */ stw r0, 0x14(r6) +/* 803096E8 00306648 4B CF 9D A9 */ bl memcpy +lbl_803096EC: +/* 803096EC 0030664C 3C 60 80 5A */ lis r3, lbl_805A6500@ha +/* 803096F0 00306650 38 A0 00 01 */ li r5, 1 +/* 803096F4 00306654 38 C3 65 00 */ addi r6, r3, lbl_805A6500@l +/* 803096F8 00306658 88 66 00 19 */ lbz r3, 0x19(r6) +/* 803096FC 0030665C 38 86 00 1A */ addi r4, r6, 0x1a +/* 80309700 00306660 38 C6 00 32 */ addi r6, r6, 0x32 +/* 80309704 00306664 48 06 FA 91 */ bl GXSetCopyFilter +/* 80309708 00306668 3C 60 80 5A */ lis r3, lbl_805A6500@ha +/* 8030970C 0030666C 38 63 65 00 */ addi r3, r3, lbl_805A6500@l +/* 80309710 00306670 48 07 EE 45 */ bl VIConfigure +/* 80309714 00306674 38 60 00 01 */ li r3, 1 +/* 80309718 00306678 48 07 FB 95 */ bl VISetBlack +/* 8030971C 0030667C 48 07 F9 F5 */ bl VIFlush +/* 80309720 00306680 3B E0 00 00 */ li r31, 0 +lbl_80309724: +/* 80309724 00306684 48 07 E9 69 */ bl VIWaitForRetrace +/* 80309728 00306688 3B FF 00 01 */ addi r31, r31, 1 +/* 8030972C 0030668C 2C 1F 00 64 */ cmpwi r31, 0x64 +/* 80309730 00306690 41 80 FF F4 */ blt lbl_80309724 +/* 80309734 00306694 38 60 00 00 */ li r3, 0 +/* 80309738 00306698 48 07 FB 75 */ bl VISetBlack +/* 8030973C 0030669C 48 07 F9 D5 */ bl VIFlush +/* 80309740 003066A0 3B E0 00 00 */ li r31, 0 +lbl_80309744: +/* 80309744 003066A4 48 07 E9 49 */ bl VIWaitForRetrace +/* 80309748 003066A8 3B FF 00 01 */ addi r31, r31, 1 +/* 8030974C 003066AC 2C 1F 00 02 */ cmpwi r31, 2 +/* 80309750 003066B0 41 80 FF F4 */ blt lbl_80309744 +lbl_80309754: +/* 80309754 003066B4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80309758 003066B8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8030975C 003066BC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80309760 003066C0 7C 08 03 A6 */ mtlr r0 +/* 80309764 003066C4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80309768 003066C8 4E 80 00 20 */ blr + +.global ProjectPoint__9CGraphicsFRC9CVector3f +ProjectPoint__9CGraphicsFRC9CVector3f: +/* 8030976C 003066CC 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 80309770 003066D0 7C 08 02 A6 */ mflr r0 +/* 80309774 003066D4 90 01 00 74 */ stw r0, 0x74(r1) +/* 80309778 003066D8 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 8030977C 003066DC 7C 9F 23 78 */ mr r31, r4 +/* 80309780 003066E0 93 C1 00 68 */ stw r30, 0x68(r1) +/* 80309784 003066E4 7C 7E 1B 78 */ mr r30, r3 +/* 80309788 003066E8 38 61 00 14 */ addi r3, r1, 0x14 +/* 8030978C 003066EC 48 00 2B A5 */ bl GetPerspectiveProjectionMatrix__9CGraphicsFv +/* 80309790 003066F0 7F E5 FB 78 */ mr r5, r31 +/* 80309794 003066F4 38 61 00 08 */ addi r3, r1, 8 +/* 80309798 003066F8 38 81 00 14 */ addi r4, r1, 0x14 +/* 8030979C 003066FC 48 00 6F B5 */ bl MultiplyOneOverW__9CMatrix4fCFRC9CVector3f +/* 803097A0 00306700 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 803097A4 00306704 3C 60 80 3F */ lis r3, lbl_803ED910@ha +/* 803097A8 00306708 38 63 D9 10 */ addi r3, r3, lbl_803ED910@l +/* 803097AC 0030670C C0 21 00 08 */ lfs f1, 8(r1) +/* 803097B0 00306710 FC 00 00 50 */ fneg f0, f0 +/* 803097B4 00306714 C0 43 00 10 */ lfs f2, 0x10(r3) +/* 803097B8 00306718 C0 63 00 14 */ lfs f3, 0x14(r3) +/* 803097BC 0030671C 7F C3 F3 78 */ mr r3, r30 +/* 803097C0 00306720 EC 21 10 BA */ fmadds f1, f1, f2, f2 +/* 803097C4 00306724 EC 00 18 FA */ fmadds f0, f0, f3, f3 +/* 803097C8 00306728 FC 20 08 1E */ fctiwz f1, f1 +/* 803097CC 0030672C FC 00 00 1E */ fctiwz f0, f0 +/* 803097D0 00306730 D8 21 00 58 */ stfd f1, 0x58(r1) +/* 803097D4 00306734 D8 01 00 60 */ stfd f0, 0x60(r1) +/* 803097D8 00306738 80 81 00 5C */ lwz r4, 0x5c(r1) +/* 803097DC 0030673C 80 A1 00 64 */ lwz r5, 0x64(r1) +/* 803097E0 00306740 48 00 AB 6D */ bl __ct__9CVector2iFii +/* 803097E4 00306744 80 01 00 74 */ lwz r0, 0x74(r1) +/* 803097E8 00306748 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 803097EC 0030674C 83 C1 00 68 */ lwz r30, 0x68(r1) +/* 803097F0 00306750 7C 08 03 A6 */ mtlr r0 +/* 803097F4 00306754 38 21 00 70 */ addi r1, r1, 0x70 +/* 803097F8 00306758 4E 80 00 20 */ blr + +.global GetFrameCounter__9CGraphicsFv +GetFrameCounter__9CGraphicsFv: +/* 803097FC 0030675C 80 6D A8 00 */ lwz r3, lbl_805A93C0@sda21(r13) +/* 80309800 00306760 4E 80 00 20 */ blr + +.global GetUseVideoFilter__9CGraphicsFv +GetUseVideoFilter__9CGraphicsFv: +/* 80309804 00306764 88 6D 9C 82 */ lbz r3, lbl_805A8842@sda21(r13) +/* 80309808 00306768 4E 80 00 20 */ blr + +.global SetUseVideoFilter__9CGraphicsFb +SetUseVideoFilter__9CGraphicsFb: +/* 8030980C 0030676C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80309810 00306770 7C 08 02 A6 */ mflr r0 +/* 80309814 00306774 3C 80 80 5A */ lis r4, lbl_805A6500@ha +/* 80309818 00306778 54 65 06 3E */ clrlwi r5, r3, 0x18 +/* 8030981C 0030677C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80309820 00306780 38 C4 65 00 */ addi r6, r4, lbl_805A6500@l +/* 80309824 00306784 7C 05 00 D0 */ neg r0, r5 +/* 80309828 00306788 98 6D 9C 82 */ stb r3, lbl_805A8842@sda21(r13) +/* 8030982C 0030678C 7C 00 2B 78 */ or r0, r0, r5 +/* 80309830 00306790 88 66 00 19 */ lbz r3, 0x19(r6) +/* 80309834 00306794 38 86 00 1A */ addi r4, r6, 0x1a +/* 80309838 00306798 54 05 0F FE */ srwi r5, r0, 0x1f +/* 8030983C 0030679C 38 C6 00 32 */ addi r6, r6, 0x32 +/* 80309840 003067A0 48 06 F9 55 */ bl GXSetCopyFilter +/* 80309844 003067A4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80309848 003067A8 7C 08 03 A6 */ mtlr r0 +/* 8030984C 003067AC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80309850 003067B0 4E 80 00 20 */ blr + +.global GetFPS__9CGraphicsFv +GetFPS__9CGraphicsFv: +/* 80309854 003067B4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80309858 003067B8 7C 08 02 A6 */ mflr r0 +/* 8030985C 003067BC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80309860 003067C0 DB E1 00 10 */ stfd f31, 0x10(r1) +/* 80309864 003067C4 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 +/* 80309868 003067C8 48 07 7D F9 */ bl OSDisableInterrupts +/* 8030986C 003067CC C0 2D A8 08 */ lfs f1, lbl_805A93C8@sda21(r13) +/* 80309870 003067D0 C0 0D A8 04 */ lfs f0, lbl_805A93C4@sda21(r13) +/* 80309874 003067D4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80309878 003067D8 40 80 00 0C */ bge lbl_80309884 +/* 8030987C 003067DC 38 8D A8 08 */ addi r4, r13, lbl_805A93C8@sda21 +/* 80309880 003067E0 48 00 00 08 */ b lbl_80309888 +lbl_80309884: +/* 80309884 003067E4 38 8D A8 04 */ addi r4, r13, lbl_805A93C4@sda21 +lbl_80309888: +/* 80309888 003067E8 C3 E4 00 00 */ lfs f31, 0(r4) +/* 8030988C 003067EC 48 07 7D FD */ bl OSRestoreInterrupts +/* 80309890 003067F0 FC 20 F8 90 */ fmr f1, f31 +/* 80309894 003067F4 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 +/* 80309898 003067F8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8030989C 003067FC CB E1 00 10 */ lfd f31, 0x10(r1) +/* 803098A0 00306800 7C 08 03 A6 */ mtlr r0 +/* 803098A4 00306804 38 21 00 20 */ addi r1, r1, 0x20 +/* 803098A8 00306808 4E 80 00 20 */ blr + +.global ClipScreenRectFromMS__9CGraphicsFRC9CVector3fRC9CVector3f12ETexelFormat +ClipScreenRectFromMS__9CGraphicsFRC9CVector3fRC9CVector3f12ETexelFormat: +/* 803098AC 0030680C 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 803098B0 00306810 7C 08 02 A6 */ mflr r0 +/* 803098B4 00306814 3C E0 80 5A */ lis r7, lbl_805A6204@ha +/* 803098B8 00306818 90 01 00 64 */ stw r0, 0x64(r1) +/* 803098BC 0030681C 38 07 62 04 */ addi r0, r7, lbl_805A6204@l +/* 803098C0 00306820 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 803098C4 00306824 93 C1 00 58 */ stw r30, 0x58(r1) +/* 803098C8 00306828 7C DE 33 78 */ mr r30, r6 +/* 803098CC 0030682C 93 A1 00 54 */ stw r29, 0x54(r1) +/* 803098D0 00306830 7C 9D 23 78 */ mr r29, r4 +/* 803098D4 00306834 7C 04 03 78 */ mr r4, r0 +/* 803098D8 00306838 93 81 00 50 */ stw r28, 0x50(r1) +/* 803098DC 0030683C 7C 7C 1B 78 */ mr r28, r3 +/* 803098E0 00306840 38 61 00 20 */ addi r3, r1, 0x20 +/* 803098E4 00306844 48 00 92 05 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 803098E8 00306848 3C 60 80 5A */ lis r3, lbl_805A61D4@ha +/* 803098EC 0030684C C0 21 00 20 */ lfs f1, 0x20(r1) +/* 803098F0 00306850 3B E3 61 D4 */ addi r31, r3, lbl_805A61D4@l +/* 803098F4 00306854 C0 61 00 24 */ lfs f3, 0x24(r1) +/* 803098F8 00306858 C0 1F 00 0C */ lfs f0, 0xc(r31) +/* 803098FC 0030685C 7F E4 FB 78 */ mr r4, r31 +/* 80309900 00306860 C0 5F 00 1C */ lfs f2, 0x1c(r31) +/* 80309904 00306864 38 61 00 2C */ addi r3, r1, 0x2c +/* 80309908 00306868 EC 81 00 28 */ fsubs f4, f1, f0 +/* 8030990C 0030686C C0 21 00 28 */ lfs f1, 0x28(r1) +/* 80309910 00306870 C0 1F 00 2C */ lfs f0, 0x2c(r31) +/* 80309914 00306874 EC 43 10 28 */ fsubs f2, f3, f2 +/* 80309918 00306878 38 A1 00 08 */ addi r5, r1, 8 +/* 8030991C 0030687C EC 01 00 28 */ fsubs f0, f1, f0 +/* 80309920 00306880 D0 81 00 08 */ stfs f4, 8(r1) +/* 80309924 00306884 D0 41 00 0C */ stfs f2, 0xc(r1) +/* 80309928 00306888 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 8030992C 0030688C 48 00 90 F9 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f +/* 80309930 00306890 3C 60 80 5A */ lis r3, lbl_805A6204@ha +/* 80309934 00306894 7F A5 EB 78 */ mr r5, r29 +/* 80309938 00306898 38 83 62 04 */ addi r4, r3, lbl_805A6204@l +/* 8030993C 0030689C 38 61 00 38 */ addi r3, r1, 0x38 +/* 80309940 003068A0 48 00 91 A9 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 80309944 003068A4 C0 21 00 38 */ lfs f1, 0x38(r1) +/* 80309948 003068A8 3C 60 80 5A */ lis r3, lbl_805A61D4@ha +/* 8030994C 003068AC C0 1F 00 0C */ lfs f0, 0xc(r31) +/* 80309950 003068B0 38 83 61 D4 */ addi r4, r3, lbl_805A61D4@l +/* 80309954 003068B4 C0 61 00 3C */ lfs f3, 0x3c(r1) +/* 80309958 003068B8 38 61 00 44 */ addi r3, r1, 0x44 +/* 8030995C 003068BC EC 81 00 28 */ fsubs f4, f1, f0 +/* 80309960 003068C0 C0 5F 00 1C */ lfs f2, 0x1c(r31) +/* 80309964 003068C4 C0 21 00 40 */ lfs f1, 0x40(r1) +/* 80309968 003068C8 38 A1 00 14 */ addi r5, r1, 0x14 +/* 8030996C 003068CC C0 1F 00 2C */ lfs f0, 0x2c(r31) +/* 80309970 003068D0 EC 43 10 28 */ fsubs f2, f3, f2 +/* 80309974 003068D4 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80309978 003068D8 D0 81 00 14 */ stfs f4, 0x14(r1) +/* 8030997C 003068DC D0 41 00 18 */ stfs f2, 0x18(r1) +/* 80309980 003068E0 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 80309984 003068E4 48 00 90 A1 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f +/* 80309988 003068E8 7F 83 E3 78 */ mr r3, r28 +/* 8030998C 003068EC 7F C6 F3 78 */ mr r6, r30 +/* 80309990 003068F0 38 81 00 44 */ addi r4, r1, 0x44 +/* 80309994 003068F4 38 A1 00 2C */ addi r5, r1, 0x2c +/* 80309998 003068F8 48 00 00 25 */ bl ClipScreenRectFromVS__9CGraphicsFRC9CVector3fRC9CVector3f12ETexelFormat +/* 8030999C 003068FC 80 01 00 64 */ lwz r0, 0x64(r1) +/* 803099A0 00306900 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 803099A4 00306904 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 803099A8 00306908 83 A1 00 54 */ lwz r29, 0x54(r1) +/* 803099AC 0030690C 83 81 00 50 */ lwz r28, 0x50(r1) +/* 803099B0 00306910 7C 08 03 A6 */ mtlr r0 +/* 803099B4 00306914 38 21 00 60 */ addi r1, r1, 0x60 +/* 803099B8 00306918 4E 80 00 20 */ blr + +.global ClipScreenRectFromVS__9CGraphicsFRC9CVector3fRC9CVector3f12ETexelFormat +ClipScreenRectFromVS__9CGraphicsFRC9CVector3fRC9CVector3f12ETexelFormat: +/* 803099BC 0030691C 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 803099C0 00306920 7C 08 02 A6 */ mflr r0 +/* 803099C4 00306924 C0 22 C7 F0 */ lfs f1, lbl_805AE510@sda21(r2) +/* 803099C8 00306928 90 01 00 74 */ stw r0, 0x74(r1) +/* 803099CC 0030692C 38 00 00 00 */ li r0, 0 +/* 803099D0 00306930 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 803099D4 00306934 7C DF 33 78 */ mr r31, r6 +/* 803099D8 00306938 93 C1 00 68 */ stw r30, 0x68(r1) +/* 803099DC 0030693C 7C 7E 1B 78 */ mr r30, r3 +/* 803099E0 00306940 93 A1 00 64 */ stw r29, 0x64(r1) +/* 803099E4 00306944 7C 9D 23 78 */ mr r29, r4 +/* 803099E8 00306948 93 81 00 60 */ stw r28, 0x60(r1) +/* 803099EC 0030694C 7C BC 2B 78 */ mr r28, r5 +/* 803099F0 00306950 C0 04 00 00 */ lfs f0, 0(r4) +/* 803099F4 00306954 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 803099F8 00306958 40 82 00 1C */ bne lbl_80309A14 +/* 803099FC 0030695C C0 1D 00 04 */ lfs f0, 4(r29) +/* 80309A00 00306960 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80309A04 00306964 40 82 00 10 */ bne lbl_80309A14 +/* 80309A08 00306968 C0 1D 00 08 */ lfs f0, 8(r29) +/* 80309A0C 0030696C FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80309A10 00306970 41 82 00 08 */ beq lbl_80309A18 +lbl_80309A14: +/* 80309A14 00306974 38 00 00 01 */ li r0, 1 +lbl_80309A18: +/* 80309A18 00306978 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 80309A1C 0030697C 41 82 00 3C */ beq lbl_80309A58 +/* 80309A20 00306980 C0 22 C7 F0 */ lfs f1, lbl_805AE510@sda21(r2) +/* 80309A24 00306984 38 00 00 00 */ li r0, 0 +/* 80309A28 00306988 C0 1C 00 00 */ lfs f0, 0(r28) +/* 80309A2C 0030698C FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80309A30 00306990 40 82 00 1C */ bne lbl_80309A4C +/* 80309A34 00306994 C0 1C 00 04 */ lfs f0, 4(r28) +/* 80309A38 00306998 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80309A3C 0030699C 40 82 00 10 */ bne lbl_80309A4C +/* 80309A40 003069A0 C0 1C 00 08 */ lfs f0, 8(r28) +/* 80309A44 003069A4 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80309A48 003069A8 41 82 00 08 */ beq lbl_80309A50 +lbl_80309A4C: +/* 80309A4C 003069AC 38 00 00 01 */ li r0, 1 +lbl_80309A50: +/* 80309A50 003069B0 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 80309A54 003069B4 40 82 00 10 */ bne lbl_80309A64 +lbl_80309A58: +/* 80309A58 003069B8 38 00 00 00 */ li r0, 0 +/* 80309A5C 003069BC 98 1E 00 00 */ stb r0, 0(r30) +/* 80309A60 003069C0 48 00 03 80 */ b lbl_80309DE0 +lbl_80309A64: +/* 80309A64 003069C4 48 00 03 F9 */ bl GetProjectionState__9CGraphicsFv +/* 80309A68 003069C8 C0 3D 00 04 */ lfs f1, 4(r29) +/* 80309A6C 003069CC C0 03 00 14 */ lfs f0, 0x14(r3) +/* 80309A70 003069D0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80309A74 003069D4 41 80 00 18 */ blt lbl_80309A8C +/* 80309A78 003069D8 48 00 03 E5 */ bl GetProjectionState__9CGraphicsFv +/* 80309A7C 003069DC C0 3C 00 04 */ lfs f1, 4(r28) +/* 80309A80 003069E0 C0 03 00 14 */ lfs f0, 0x14(r3) +/* 80309A84 003069E4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80309A88 003069E8 40 80 00 10 */ bge lbl_80309A98 +lbl_80309A8C: +/* 80309A8C 003069EC 38 00 00 00 */ li r0, 0 +/* 80309A90 003069F0 98 1E 00 00 */ stb r0, 0(r30) +/* 80309A94 003069F4 48 00 03 4C */ b lbl_80309DE0 +lbl_80309A98: +/* 80309A98 003069F8 48 00 03 C5 */ bl GetProjectionState__9CGraphicsFv +/* 80309A9C 003069FC C0 3D 00 04 */ lfs f1, 4(r29) +/* 80309AA0 00306A00 C0 03 00 18 */ lfs f0, 0x18(r3) +/* 80309AA4 00306A04 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80309AA8 00306A08 41 81 00 18 */ bgt lbl_80309AC0 +/* 80309AAC 00306A0C 48 00 03 B1 */ bl GetProjectionState__9CGraphicsFv +/* 80309AB0 00306A10 C0 3C 00 04 */ lfs f1, 4(r28) +/* 80309AB4 00306A14 C0 03 00 18 */ lfs f0, 0x18(r3) +/* 80309AB8 00306A18 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80309ABC 00306A1C 40 81 00 10 */ ble lbl_80309ACC +lbl_80309AC0: +/* 80309AC0 00306A20 38 00 00 00 */ li r0, 0 +/* 80309AC4 00306A24 98 1E 00 00 */ stb r0, 0(r30) +/* 80309AC8 00306A28 48 00 03 18 */ b lbl_80309DE0 +lbl_80309ACC: +/* 80309ACC 00306A2C 7F A4 EB 78 */ mr r4, r29 +/* 80309AD0 00306A30 38 61 00 38 */ addi r3, r1, 0x38 +/* 80309AD4 00306A34 4B FF FC 99 */ bl ProjectPoint__9CGraphicsFRC9CVector3f +/* 80309AD8 00306A38 83 A1 00 38 */ lwz r29, 0x38(r1) +/* 80309ADC 00306A3C 7F 84 E3 78 */ mr r4, r28 +/* 80309AE0 00306A40 83 81 00 3C */ lwz r28, 0x3c(r1) +/* 80309AE4 00306A44 38 61 00 30 */ addi r3, r1, 0x30 +/* 80309AE8 00306A48 4B FF FC 85 */ bl ProjectPoint__9CGraphicsFRC9CVector3f +/* 80309AEC 00306A4C 80 81 00 30 */ lwz r4, 0x30(r1) +/* 80309AF0 00306A50 38 61 00 1C */ addi r3, r1, 0x1c +/* 80309AF4 00306A54 93 A1 00 1C */ stw r29, 0x1c(r1) +/* 80309AF8 00306A58 7C 04 E8 00 */ cmpw r4, r29 +/* 80309AFC 00306A5C 80 A1 00 34 */ lwz r5, 0x34(r1) +/* 80309B00 00306A60 90 81 00 18 */ stw r4, 0x18(r1) +/* 80309B04 00306A64 40 80 00 08 */ bge lbl_80309B0C +/* 80309B08 00306A68 38 61 00 18 */ addi r3, r1, 0x18 +lbl_80309B0C: +/* 80309B0C 00306A6C 80 03 00 00 */ lwz r0, 0(r3) +/* 80309B10 00306A70 7C 05 E0 00 */ cmpw r5, r28 +/* 80309B14 00306A74 39 61 00 14 */ addi r11, r1, 0x14 +/* 80309B18 00306A78 90 A1 00 10 */ stw r5, 0x10(r1) +/* 80309B1C 00306A7C 93 81 00 14 */ stw r28, 0x14(r1) +/* 80309B20 00306A80 40 80 00 08 */ bge lbl_80309B28 +/* 80309B24 00306A84 39 61 00 10 */ addi r11, r1, 0x10 +lbl_80309B28: +/* 80309B28 00306A88 3C 60 80 3F */ lis r3, lbl_803ED910@ha +/* 80309B2C 00306A8C 7C 84 E8 50 */ subf r4, r4, r29 +/* 80309B30 00306A90 39 03 D9 10 */ addi r8, r3, lbl_803ED910@l +/* 80309B34 00306A94 7C A5 E0 50 */ subf r5, r5, r28 +/* 80309B38 00306A98 81 88 00 00 */ lwz r12, 0(r8) +/* 80309B3C 00306A9C 7C 8A FE 70 */ srawi r10, r4, 0x1f +/* 80309B40 00306AA0 80 C8 00 08 */ lwz r6, 8(r8) +/* 80309B44 00306AA4 7C A7 FE 70 */ srawi r7, r5, 0x1f +/* 80309B48 00306AA8 54 09 00 3C */ rlwinm r9, r0, 0, 0, 0x1e +/* 80309B4C 00306AAC 80 6B 00 00 */ lwz r3, 0(r11) +/* 80309B50 00306AB0 7D 6C 32 14 */ add r11, r12, r6 +/* 80309B54 00306AB4 7D 44 22 78 */ xor r4, r10, r4 +/* 80309B58 00306AB8 7C E5 2A 78 */ xor r5, r7, r5 +/* 80309B5C 00306ABC 91 21 00 2C */ stw r9, 0x2c(r1) +/* 80309B60 00306AC0 7C 09 58 00 */ cmpw r9, r11 +/* 80309B64 00306AC4 7C 8A 20 50 */ subf r4, r10, r4 +/* 80309B68 00306AC8 7C A7 28 50 */ subf r5, r7, r5 +/* 80309B6C 00306ACC 41 80 00 10 */ blt lbl_80309B7C +/* 80309B70 00306AD0 38 00 00 00 */ li r0, 0 +/* 80309B74 00306AD4 98 1E 00 00 */ stb r0, 0(r30) +/* 80309B78 00306AD8 48 00 02 68 */ b lbl_80309DE0 +lbl_80309B7C: +/* 80309B7C 00306ADC 38 C4 00 02 */ addi r6, r4, 2 +/* 80309B80 00306AE0 7C C0 32 14 */ add r6, r0, r6 +/* 80309B84 00306AE4 54 C7 00 3C */ rlwinm r7, r6, 0, 0, 0x1e +/* 80309B88 00306AE8 7C 07 60 00 */ cmpw r7, r12 +/* 80309B8C 00306AEC 90 E1 00 28 */ stw r7, 0x28(r1) +/* 80309B90 00306AF0 41 81 00 10 */ bgt lbl_80309BA0 +/* 80309B94 00306AF4 38 00 00 00 */ li r0, 0 +/* 80309B98 00306AF8 98 1E 00 00 */ stb r0, 0(r30) +/* 80309B9C 00306AFC 48 00 02 44 */ b lbl_80309DE0 +lbl_80309BA0: +/* 80309BA0 00306B00 7C 09 60 00 */ cmpw r9, r12 +/* 80309BA4 00306B04 38 C1 00 2C */ addi r6, r1, 0x2c +/* 80309BA8 00306B08 40 80 00 08 */ bge lbl_80309BB0 +/* 80309BAC 00306B0C 7D 06 43 78 */ mr r6, r8 +lbl_80309BB0: +/* 80309BB0 00306B10 80 C6 00 00 */ lwz r6, 0(r6) +/* 80309BB4 00306B14 7C 0B 38 00 */ cmpw r11, r7 +/* 80309BB8 00306B18 38 E1 00 28 */ addi r7, r1, 0x28 +/* 80309BBC 00306B1C 54 C6 00 3C */ rlwinm r6, r6, 0, 0, 0x1e +/* 80309BC0 00306B20 91 61 00 0C */ stw r11, 0xc(r1) +/* 80309BC4 00306B24 90 C1 00 2C */ stw r6, 0x2c(r1) +/* 80309BC8 00306B28 40 80 00 08 */ bge lbl_80309BD0 +/* 80309BCC 00306B2C 38 E1 00 0C */ addi r7, r1, 0xc +lbl_80309BD0: +/* 80309BD0 00306B30 3C C0 80 3F */ lis r6, lbl_803ED910@ha +/* 80309BD4 00306B34 81 07 00 00 */ lwz r8, 0(r7) +/* 80309BD8 00306B38 38 C6 D9 10 */ addi r6, r6, lbl_803ED910@l +/* 80309BDC 00306B3C 54 67 00 3C */ rlwinm r7, r3, 0, 0, 0x1e +/* 80309BE0 00306B40 39 46 00 04 */ addi r10, r6, 4 +/* 80309BE4 00306B44 39 08 00 01 */ addi r8, r8, 1 +/* 80309BE8 00306B48 81 26 00 04 */ lwz r9, 4(r6) +/* 80309BEC 00306B4C 55 08 00 3C */ rlwinm r8, r8, 0, 0, 0x1e +/* 80309BF0 00306B50 80 C6 00 0C */ lwz r6, 0xc(r6) +/* 80309BF4 00306B54 91 01 00 28 */ stw r8, 0x28(r1) +/* 80309BF8 00306B58 7D 09 32 14 */ add r8, r9, r6 +/* 80309BFC 00306B5C 7C 07 40 00 */ cmpw r7, r8 +/* 80309C00 00306B60 90 E1 00 24 */ stw r7, 0x24(r1) +/* 80309C04 00306B64 41 80 00 10 */ blt lbl_80309C14 +/* 80309C08 00306B68 38 00 00 00 */ li r0, 0 +/* 80309C0C 00306B6C 98 1E 00 00 */ stb r0, 0(r30) +/* 80309C10 00306B70 48 00 01 D0 */ b lbl_80309DE0 +lbl_80309C14: +/* 80309C14 00306B74 38 C5 00 02 */ addi r6, r5, 2 +/* 80309C18 00306B78 7C C3 32 14 */ add r6, r3, r6 +/* 80309C1C 00306B7C 54 C6 00 3C */ rlwinm r6, r6, 0, 0, 0x1e +/* 80309C20 00306B80 7C 06 48 00 */ cmpw r6, r9 +/* 80309C24 00306B84 90 C1 00 20 */ stw r6, 0x20(r1) +/* 80309C28 00306B88 41 81 00 10 */ bgt lbl_80309C38 +/* 80309C2C 00306B8C 38 00 00 00 */ li r0, 0 +/* 80309C30 00306B90 98 1E 00 00 */ stb r0, 0(r30) +/* 80309C34 00306B94 48 00 01 AC */ b lbl_80309DE0 +lbl_80309C38: +/* 80309C38 00306B98 7C 07 48 00 */ cmpw r7, r9 +/* 80309C3C 00306B9C 40 80 00 08 */ bge lbl_80309C44 +/* 80309C40 00306BA0 48 00 00 08 */ b lbl_80309C48 +lbl_80309C44: +/* 80309C44 00306BA4 39 41 00 24 */ addi r10, r1, 0x24 +lbl_80309C48: +/* 80309C48 00306BA8 80 EA 00 00 */ lwz r7, 0(r10) +/* 80309C4C 00306BAC 7C 08 30 00 */ cmpw r8, r6 +/* 80309C50 00306BB0 38 C1 00 20 */ addi r6, r1, 0x20 +/* 80309C54 00306BB4 54 E7 00 3C */ rlwinm r7, r7, 0, 0, 0x1e +/* 80309C58 00306BB8 91 01 00 08 */ stw r8, 8(r1) +/* 80309C5C 00306BBC 90 E1 00 24 */ stw r7, 0x24(r1) +/* 80309C60 00306BC0 40 80 00 08 */ bge lbl_80309C68 +/* 80309C64 00306BC4 38 C1 00 08 */ addi r6, r1, 8 +lbl_80309C68: +/* 80309C68 00306BC8 80 C6 00 00 */ lwz r6, 0(r6) +/* 80309C6C 00306BCC 3C E0 43 30 */ lis r7, 0x4330 +/* 80309C70 00306BD0 81 21 00 24 */ lwz r9, 0x24(r1) +/* 80309C74 00306BD4 2C 1F 00 03 */ cmpwi r31, 3 +/* 80309C78 00306BD8 38 C6 00 01 */ addi r6, r6, 1 +/* 80309C7C 00306BDC 90 E1 00 40 */ stw r7, 0x40(r1) +/* 80309C80 00306BE0 7D 49 18 50 */ subf r10, r9, r3 +/* 80309C84 00306BE4 C8 42 C7 E8 */ lfd f2, lbl_805AE508@sda21(r2) +/* 80309C88 00306BE8 54 C8 00 3C */ rlwinm r8, r6, 0, 0, 0x1e +/* 80309C8C 00306BEC 90 E1 00 48 */ stw r7, 0x48(r1) +/* 80309C90 00306BF0 38 6A 00 01 */ addi r3, r10, 1 +/* 80309C94 00306BF4 6D 46 80 00 */ xoris r6, r10, 0x8000 +/* 80309C98 00306BF8 7D 49 40 50 */ subf r10, r9, r8 +/* 80309C9C 00306BFC 90 C1 00 4C */ stw r6, 0x4c(r1) +/* 80309CA0 00306C00 6D 46 80 00 */ xoris r6, r10, 0x8000 +/* 80309CA4 00306C04 7C 65 1A 14 */ add r3, r5, r3 +/* 80309CA8 00306C08 6C 63 80 00 */ xoris r3, r3, 0x8000 +/* 80309CAC 00306C0C 90 C1 00 44 */ stw r6, 0x44(r1) +/* 80309CB0 00306C10 C8 01 00 48 */ lfd f0, 0x48(r1) +/* 80309CB4 00306C14 3B 80 00 04 */ li r28, 4 +/* 80309CB8 00306C18 C8 21 00 40 */ lfd f1, 0x40(r1) +/* 80309CBC 00306C1C 90 61 00 54 */ stw r3, 0x54(r1) +/* 80309CC0 00306C20 EC 60 10 28 */ fsubs f3, f0, f2 +/* 80309CC4 00306C24 EC 01 10 28 */ fsubs f0, f1, f2 +/* 80309CC8 00306C28 90 E1 00 50 */ stw r7, 0x50(r1) +/* 80309CCC 00306C2C C8 21 00 50 */ lfd f1, 0x50(r1) +/* 80309CD0 00306C30 EC 83 00 24 */ fdivs f4, f3, f0 +/* 80309CD4 00306C34 90 C1 00 5C */ stw r6, 0x5c(r1) +/* 80309CD8 00306C38 90 E1 00 58 */ stw r7, 0x58(r1) +/* 80309CDC 00306C3C C8 01 00 58 */ lfd f0, 0x58(r1) +/* 80309CE0 00306C40 91 01 00 20 */ stw r8, 0x20(r1) +/* 80309CE4 00306C44 EC 21 10 28 */ fsubs f1, f1, f2 +/* 80309CE8 00306C48 EC 00 10 28 */ fsubs f0, f0, f2 +/* 80309CEC 00306C4C EC A1 00 24 */ fdivs f5, f1, f0 +/* 80309CF0 00306C50 41 82 00 34 */ beq lbl_80309D24 +/* 80309CF4 00306C54 40 80 00 10 */ bge lbl_80309D04 +/* 80309CF8 00306C58 2C 1F 00 01 */ cmpwi r31, 1 +/* 80309CFC 00306C5C 41 82 00 20 */ beq lbl_80309D1C +/* 80309D00 00306C60 48 00 00 30 */ b lbl_80309D30 +lbl_80309D04: +/* 80309D04 00306C64 2C 1F 00 09 */ cmpwi r31, 9 +/* 80309D08 00306C68 41 82 00 24 */ beq lbl_80309D2C +/* 80309D0C 00306C6C 40 80 00 24 */ bge lbl_80309D30 +/* 80309D10 00306C70 2C 1F 00 07 */ cmpwi r31, 7 +/* 80309D14 00306C74 40 80 00 10 */ bge lbl_80309D24 +/* 80309D18 00306C78 48 00 00 18 */ b lbl_80309D30 +lbl_80309D1C: +/* 80309D1C 00306C7C 3B 80 00 08 */ li r28, 8 +/* 80309D20 00306C80 48 00 00 10 */ b lbl_80309D30 +lbl_80309D24: +/* 80309D24 00306C84 3B 80 00 04 */ li r28, 4 +/* 80309D28 00306C88 48 00 00 08 */ b lbl_80309D30 +lbl_80309D2C: +/* 80309D2C 00306C8C 3B 80 00 02 */ li r28, 2 +lbl_80309D30: +/* 80309D30 00306C90 81 01 00 2C */ lwz r8, 0x2c(r1) +/* 80309D34 00306C94 3C A0 43 30 */ lis r5, 0x4330 +/* 80309D38 00306C98 80 C1 00 28 */ lwz r6, 0x28(r1) +/* 80309D3C 00306C9C 38 60 00 01 */ li r3, 1 +/* 80309D40 00306CA0 7D 68 00 50 */ subf r11, r8, r0 +/* 80309D44 00306CA4 38 FC FF FF */ addi r7, r28, -1 +/* 80309D48 00306CA8 7D 88 30 50 */ subf r12, r8, r6 +/* 80309D4C 00306CAC 98 7E 00 00 */ stb r3, 0(r30) +/* 80309D50 00306CB0 38 0C FF FF */ addi r0, r12, -1 +/* 80309D54 00306CB4 6D 66 80 00 */ xoris r6, r11, 0x8000 +/* 80309D58 00306CB8 7C 7C 02 14 */ add r3, r28, r0 +/* 80309D5C 00306CBC 90 C1 00 5C */ stw r6, 0x5c(r1) +/* 80309D60 00306CC0 7C 67 38 78 */ andc r7, r3, r7 +/* 80309D64 00306CC4 38 0B 00 01 */ addi r0, r11, 1 +/* 80309D68 00306CC8 6C E3 80 00 */ xoris r3, r7, 0x8000 +/* 80309D6C 00306CCC 90 A1 00 58 */ stw r5, 0x58(r1) +/* 80309D70 00306CD0 7C 04 02 14 */ add r0, r4, r0 +/* 80309D74 00306CD4 C8 62 C7 E8 */ lfd f3, lbl_805AE508@sda21(r2) +/* 80309D78 00306CD8 C8 01 00 58 */ lfd f0, 0x58(r1) +/* 80309D7C 00306CDC 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 80309D80 00306CE0 90 61 00 54 */ stw r3, 0x54(r1) +/* 80309D84 00306CE4 EC 40 18 28 */ fsubs f2, f0, f3 +/* 80309D88 00306CE8 90 A1 00 50 */ stw r5, 0x50(r1) +/* 80309D8C 00306CEC C8 01 00 50 */ lfd f0, 0x50(r1) +/* 80309D90 00306CF0 90 01 00 4C */ stw r0, 0x4c(r1) +/* 80309D94 00306CF4 EC 20 18 28 */ fsubs f1, f0, f3 +/* 80309D98 00306CF8 90 A1 00 48 */ stw r5, 0x48(r1) +/* 80309D9C 00306CFC C8 01 00 48 */ lfd f0, 0x48(r1) +/* 80309DA0 00306D00 EC 42 08 24 */ fdivs f2, f2, f1 +/* 80309DA4 00306D04 90 61 00 44 */ stw r3, 0x44(r1) +/* 80309DA8 00306D08 90 A1 00 40 */ stw r5, 0x40(r1) +/* 80309DAC 00306D0C 91 1E 00 04 */ stw r8, 4(r30) +/* 80309DB0 00306D10 91 3E 00 08 */ stw r9, 8(r30) +/* 80309DB4 00306D14 91 9E 00 0C */ stw r12, 0xc(r30) +/* 80309DB8 00306D18 EC 20 18 28 */ fsubs f1, f0, f3 +/* 80309DBC 00306D1C C8 01 00 40 */ lfd f0, 0x40(r1) +/* 80309DC0 00306D20 91 5E 00 10 */ stw r10, 0x10(r30) +/* 80309DC4 00306D24 EC 00 18 28 */ fsubs f0, f0, f3 +/* 80309DC8 00306D28 90 FE 00 14 */ stw r7, 0x14(r30) +/* 80309DCC 00306D2C EC 01 00 24 */ fdivs f0, f1, f0 +/* 80309DD0 00306D30 D0 5E 00 18 */ stfs f2, 0x18(r30) +/* 80309DD4 00306D34 D0 1E 00 1C */ stfs f0, 0x1c(r30) +/* 80309DD8 00306D38 D0 9E 00 20 */ stfs f4, 0x20(r30) +/* 80309DDC 00306D3C D0 BE 00 24 */ stfs f5, 0x24(r30) +lbl_80309DE0: +/* 80309DE0 00306D40 80 01 00 74 */ lwz r0, 0x74(r1) +/* 80309DE4 00306D44 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 80309DE8 00306D48 83 C1 00 68 */ lwz r30, 0x68(r1) +/* 80309DEC 00306D4C 83 A1 00 64 */ lwz r29, 0x64(r1) +/* 80309DF0 00306D50 83 81 00 60 */ lwz r28, 0x60(r1) +/* 80309DF4 00306D54 7C 08 03 A6 */ mtlr r0 +/* 80309DF8 00306D58 38 21 00 70 */ addi r1, r1, 0x70 +/* 80309DFC 00306D5C 4E 80 00 20 */ blr + +.global SetProjectionState__9CGraphicsFRCQ29CGraphics16CProjectionState +SetProjectionState__9CGraphicsFRCQ29CGraphics16CProjectionState: +/* 80309E00 00306D60 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80309E04 00306D64 7C 08 02 A6 */ mflr r0 +/* 80309E08 00306D68 3C 80 80 5A */ lis r4, lbl_805A61B8@ha +/* 80309E0C 00306D6C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80309E10 00306D70 88 03 00 00 */ lbz r0, 0(r3) +/* 80309E14 00306D74 C0 A3 00 04 */ lfs f5, 4(r3) +/* 80309E18 00306D78 9C 04 61 B8 */ stbu r0, lbl_805A61B8@l(r4) +/* 80309E1C 00306D7C C0 83 00 08 */ lfs f4, 8(r3) +/* 80309E20 00306D80 C0 63 00 0C */ lfs f3, 0xc(r3) +/* 80309E24 00306D84 C0 43 00 10 */ lfs f2, 0x10(r3) +/* 80309E28 00306D88 C0 23 00 14 */ lfs f1, 0x14(r3) +/* 80309E2C 00306D8C C0 03 00 18 */ lfs f0, 0x18(r3) +/* 80309E30 00306D90 D0 A4 00 04 */ stfs f5, 4(r4) +/* 80309E34 00306D94 D0 84 00 08 */ stfs f4, 8(r4) +/* 80309E38 00306D98 D0 64 00 0C */ stfs f3, 0xc(r4) +/* 80309E3C 00306D9C D0 44 00 10 */ stfs f2, 0x10(r4) +/* 80309E40 00306DA0 D0 24 00 14 */ stfs f1, 0x14(r4) +/* 80309E44 00306DA4 D0 04 00 18 */ stfs f0, 0x18(r4) +/* 80309E48 00306DA8 48 00 00 21 */ bl FlushProjection__9CGraphicsFv +/* 80309E4C 00306DAC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80309E50 00306DB0 7C 08 03 A6 */ mtlr r0 +/* 80309E54 00306DB4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80309E58 00306DB8 4E 80 00 20 */ blr + +.global GetProjectionState__9CGraphicsFv +GetProjectionState__9CGraphicsFv: +/* 80309E5C 00306DBC 3C 60 80 5A */ lis r3, lbl_805A61B8@ha +/* 80309E60 00306DC0 38 63 61 B8 */ addi r3, r3, lbl_805A61B8@l +/* 80309E64 00306DC4 4E 80 00 20 */ blr + +.global FlushProjection__9CGraphicsFv +FlushProjection__9CGraphicsFv: +/* 80309E68 00306DC8 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 80309E6C 00306DCC 7C 08 02 A6 */ mflr r0 +/* 80309E70 00306DD0 3C 60 80 5A */ lis r3, lbl_805A61B8@ha +/* 80309E74 00306DD4 90 01 00 94 */ stw r0, 0x94(r1) +/* 80309E78 00306DD8 8C 03 61 B8 */ lbzu r0, lbl_805A61B8@l(r3) +/* 80309E7C 00306DDC 28 00 00 00 */ cmplwi r0, 0 +/* 80309E80 00306DE0 C0 83 00 08 */ lfs f4, 8(r3) +/* 80309E84 00306DE4 C0 63 00 04 */ lfs f3, 4(r3) +/* 80309E88 00306DE8 C0 23 00 0C */ lfs f1, 0xc(r3) +/* 80309E8C 00306DEC C0 43 00 10 */ lfs f2, 0x10(r3) +/* 80309E90 00306DF0 C0 A3 00 14 */ lfs f5, 0x14(r3) +/* 80309E94 00306DF4 C0 C3 00 18 */ lfs f6, 0x18(r3) +/* 80309E98 00306DF8 41 82 00 1C */ beq lbl_80309EB4 +/* 80309E9C 00306DFC 38 61 00 48 */ addi r3, r1, 0x48 +/* 80309EA0 00306E00 48 07 36 7D */ bl C_MTXFrustum +/* 80309EA4 00306E04 38 61 00 48 */ addi r3, r1, 0x48 +/* 80309EA8 00306E08 38 80 00 00 */ li r4, 0 +/* 80309EAC 00306E0C 48 07 23 99 */ bl GXSetProjection +/* 80309EB0 00306E10 48 00 00 18 */ b lbl_80309EC8 +lbl_80309EB4: +/* 80309EB4 00306E14 38 61 00 08 */ addi r3, r1, 8 +/* 80309EB8 00306E18 48 07 37 01 */ bl C_MTXOrtho +/* 80309EBC 00306E1C 38 61 00 08 */ addi r3, r1, 8 +/* 80309EC0 00306E20 38 80 00 01 */ li r4, 1 +/* 80309EC4 00306E24 48 07 23 81 */ bl GXSetProjection +lbl_80309EC8: +/* 80309EC8 00306E28 80 01 00 94 */ lwz r0, 0x94(r1) +/* 80309ECC 00306E2C 7C 08 03 A6 */ mtlr r0 +/* 80309ED0 00306E30 38 21 00 90 */ addi r1, r1, 0x90 +/* 80309ED4 00306E34 4E 80 00 20 */ blr + +.global SetExternalTimeProvider__9CGraphicsFP13CTimeProvider +SetExternalTimeProvider__9CGraphicsFP13CTimeProvider: +/* 80309ED8 00306E38 90 6D A8 44 */ stw r3, lbl_805A9404@sda21(r13) +/* 80309EDC 00306E3C 4E 80 00 20 */ blr + +.global GetSecondsMod900__9CGraphicsFv +GetSecondsMod900__9CGraphicsFv: +/* 80309EE0 00306E40 80 6D A8 44 */ lwz r3, lbl_805A9404@sda21(r13) +/* 80309EE4 00306E44 28 03 00 00 */ cmplwi r3, 0 +/* 80309EE8 00306E48 41 82 00 10 */ beq lbl_80309EF8 +/* 80309EEC 00306E4C 80 63 00 00 */ lwz r3, 0(r3) +/* 80309EF0 00306E50 C0 23 00 00 */ lfs f1, 0(r3) +/* 80309EF4 00306E54 4E 80 00 20 */ blr +lbl_80309EF8: +/* 80309EF8 00306E58 C0 2D A8 40 */ lfs f1, lbl_805A9400@sda21(r13) +/* 80309EFC 00306E5C 4E 80 00 20 */ blr + +.global TickRenderTimings__9CGraphicsFv +TickRenderTimings__9CGraphicsFv: +/* 80309F00 00306E60 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80309F04 00306E64 3C 80 36 B0 */ lis r4, 0x36B06E71@ha +/* 80309F08 00306E68 3C 00 43 30 */ lis r0, 0x4330 +/* 80309F0C 00306E6C 3C 60 00 01 */ lis r3, 0x0000D2F0@ha +/* 80309F10 00306E70 80 AD A8 3C */ lwz r5, lbl_805A93FC@sda21(r13) +/* 80309F14 00306E74 38 84 6E 71 */ addi r4, r4, 0x36B06E71@l +/* 80309F18 00306E78 90 01 00 08 */ stw r0, 8(r1) +/* 80309F1C 00306E7C 38 63 D2 F0 */ addi r3, r3, 0x0000D2F0@l +/* 80309F20 00306E80 38 A5 00 01 */ addi r5, r5, 1 +/* 80309F24 00306E84 C8 42 C7 F8 */ lfd f2, lbl_805AE518@sda21(r2) +/* 80309F28 00306E88 7C 84 28 16 */ mulhwu r4, r4, r5 +/* 80309F2C 00306E8C C0 02 C7 F4 */ lfs f0, lbl_805AE514@sda21(r2) +/* 80309F30 00306E90 7C 04 28 50 */ subf r0, r4, r5 +/* 80309F34 00306E94 54 00 F8 7E */ srwi r0, r0, 1 +/* 80309F38 00306E98 7C 00 22 14 */ add r0, r0, r4 +/* 80309F3C 00306E9C 54 00 8B FE */ srwi r0, r0, 0xf +/* 80309F40 00306EA0 7C 00 19 D6 */ mullw r0, r0, r3 +/* 80309F44 00306EA4 7C 00 28 50 */ subf r0, r0, r5 +/* 80309F48 00306EA8 90 01 00 0C */ stw r0, 0xc(r1) +/* 80309F4C 00306EAC C8 21 00 08 */ lfd f1, 8(r1) +/* 80309F50 00306EB0 90 0D A8 3C */ stw r0, lbl_805A93FC@sda21(r13) +/* 80309F54 00306EB4 EC 21 10 28 */ fsubs f1, f1, f2 +/* 80309F58 00306EB8 EC 01 00 24 */ fdivs f0, f1, f0 +/* 80309F5C 00306EBC D0 0D A8 40 */ stfs f0, lbl_805A9400@sda21(r13) +/* 80309F60 00306EC0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80309F64 00306EC4 4E 80 00 20 */ blr + +.global LoadDolphinSpareTexture__9CGraphicsFii11_GXCITexFmt7_GXTlutPv11_GXTexMapID +LoadDolphinSpareTexture__9CGraphicsFii11_GXCITexFmt7_GXTlutPv11_GXTexMapID: +/* 80309F68 00306EC8 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80309F6C 00306ECC 7C 08 02 A6 */ mflr r0 +/* 80309F70 00306ED0 7C 69 1B 78 */ mr r9, r3 +/* 80309F74 00306ED4 28 07 00 00 */ cmplwi r7, 0 +/* 80309F78 00306ED8 90 01 00 44 */ stw r0, 0x44(r1) +/* 80309F7C 00306EDC 7C 80 23 78 */ mr r0, r4 +/* 80309F80 00306EE0 38 61 00 10 */ addi r3, r1, 0x10 +/* 80309F84 00306EE4 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80309F88 00306EE8 7D 1F 43 78 */ mr r31, r8 +/* 80309F8C 00306EEC 90 C1 00 08 */ stw r6, 8(r1) +/* 80309F90 00306EF0 41 82 00 0C */ beq lbl_80309F9C +/* 80309F94 00306EF4 7C E4 3B 78 */ mr r4, r7 +/* 80309F98 00306EF8 48 00 00 08 */ b lbl_80309FA0 +lbl_80309F9C: +/* 80309F9C 00306EFC 80 8D A8 28 */ lwz r4, lbl_805A93E8@sda21(r13) +lbl_80309FA0: +/* 80309FA0 00306F00 7C A7 2B 78 */ mr r7, r5 +/* 80309FA4 00306F04 55 25 04 3E */ clrlwi r5, r9, 0x10 +/* 80309FA8 00306F08 54 06 04 3E */ clrlwi r6, r0, 0x10 +/* 80309FAC 00306F0C 39 00 00 00 */ li r8, 0 +/* 80309FB0 00306F10 39 20 00 00 */ li r9, 0 +/* 80309FB4 00306F14 39 40 00 00 */ li r10, 0 +/* 80309FB8 00306F18 48 07 01 21 */ bl GXInitTexObjCI +/* 80309FBC 00306F1C C0 22 C7 F0 */ lfs f1, lbl_805AE510@sda21(r2) +/* 80309FC0 00306F20 38 61 00 10 */ addi r3, r1, 0x10 +/* 80309FC4 00306F24 38 80 00 00 */ li r4, 0 +/* 80309FC8 00306F28 38 A0 00 00 */ li r5, 0 +/* 80309FCC 00306F2C FC 40 08 90 */ fmr f2, f1 +/* 80309FD0 00306F30 38 C0 00 00 */ li r6, 0 +/* 80309FD4 00306F34 FC 60 08 90 */ fmr f3, f1 +/* 80309FD8 00306F38 38 E0 00 00 */ li r7, 0 +/* 80309FDC 00306F3C 39 00 00 00 */ li r8, 0 +/* 80309FE0 00306F40 48 07 01 41 */ bl GXInitTexObjLOD +/* 80309FE4 00306F44 7F E4 FB 78 */ mr r4, r31 +/* 80309FE8 00306F48 38 61 00 10 */ addi r3, r1, 0x10 +/* 80309FEC 00306F4C 48 07 04 A9 */ bl GXLoadTexObj +/* 80309FF0 00306F50 7F E3 FB 78 */ mr r3, r31 +/* 80309FF4 00306F54 48 00 41 55 */ bl InvalidateTexmap__8CTextureF11_GXTexMapID +/* 80309FF8 00306F58 2C 1F 00 07 */ cmpwi r31, 7 +/* 80309FFC 00306F5C 40 82 00 10 */ bne lbl_8030A00C +/* 8030A000 00306F60 3C 60 80 5A */ lis r3, lbl_805A6440@ha +/* 8030A004 00306F64 38 63 64 40 */ addi r3, r3, lbl_805A6440@l +/* 8030A008 00306F68 48 07 07 2D */ bl GXInvalidateTexRegion +lbl_8030A00C: +/* 8030A00C 00306F6C 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8030A010 00306F70 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 8030A014 00306F74 7C 08 03 A6 */ mtlr r0 +/* 8030A018 00306F78 38 21 00 40 */ addi r1, r1, 0x40 +/* 8030A01C 00306F7C 4E 80 00 20 */ blr + +.global LoadDolphinSpareTexture__9CGraphicsFii9_GXTexFmtPv11_GXTexMapID +LoadDolphinSpareTexture__9CGraphicsFii9_GXTexFmtPv11_GXTexMapID: +/* 8030A020 00306F80 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8030A024 00306F84 7C 08 02 A6 */ mflr r0 +/* 8030A028 00306F88 7C 68 1B 78 */ mr r8, r3 +/* 8030A02C 00306F8C 28 06 00 00 */ cmplwi r6, 0 +/* 8030A030 00306F90 90 01 00 34 */ stw r0, 0x34(r1) +/* 8030A034 00306F94 7C 80 23 78 */ mr r0, r4 +/* 8030A038 00306F98 38 61 00 08 */ addi r3, r1, 8 +/* 8030A03C 00306F9C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8030A040 00306FA0 7C FF 3B 78 */ mr r31, r7 +/* 8030A044 00306FA4 41 82 00 0C */ beq lbl_8030A050 +/* 8030A048 00306FA8 7C C4 33 78 */ mr r4, r6 +/* 8030A04C 00306FAC 48 00 00 08 */ b lbl_8030A054 +lbl_8030A050: +/* 8030A050 00306FB0 80 8D A8 28 */ lwz r4, lbl_805A93E8@sda21(r13) +lbl_8030A054: +/* 8030A054 00306FB4 7C A7 2B 78 */ mr r7, r5 +/* 8030A058 00306FB8 55 05 04 3E */ clrlwi r5, r8, 0x10 +/* 8030A05C 00306FBC 54 06 04 3E */ clrlwi r6, r0, 0x10 +/* 8030A060 00306FC0 39 00 00 00 */ li r8, 0 +/* 8030A064 00306FC4 39 20 00 00 */ li r9, 0 +/* 8030A068 00306FC8 39 40 00 00 */ li r10, 0 +/* 8030A06C 00306FCC 48 06 FD F9 */ bl GXInitTexObj +/* 8030A070 00306FD0 C0 22 C7 F0 */ lfs f1, lbl_805AE510@sda21(r2) +/* 8030A074 00306FD4 38 61 00 08 */ addi r3, r1, 8 +/* 8030A078 00306FD8 38 80 00 00 */ li r4, 0 +/* 8030A07C 00306FDC 38 A0 00 00 */ li r5, 0 +/* 8030A080 00306FE0 FC 40 08 90 */ fmr f2, f1 +/* 8030A084 00306FE4 38 C0 00 00 */ li r6, 0 +/* 8030A088 00306FE8 FC 60 08 90 */ fmr f3, f1 +/* 8030A08C 00306FEC 38 E0 00 00 */ li r7, 0 +/* 8030A090 00306FF0 39 00 00 00 */ li r8, 0 +/* 8030A094 00306FF4 48 07 00 8D */ bl GXInitTexObjLOD +/* 8030A098 00306FF8 7F E4 FB 78 */ mr r4, r31 +/* 8030A09C 00306FFC 38 61 00 08 */ addi r3, r1, 8 +/* 8030A0A0 00307000 48 07 03 F5 */ bl GXLoadTexObj +/* 8030A0A4 00307004 7F E3 FB 78 */ mr r3, r31 +/* 8030A0A8 00307008 48 00 40 A1 */ bl InvalidateTexmap__8CTextureF11_GXTexMapID +/* 8030A0AC 0030700C 2C 1F 00 07 */ cmpwi r31, 7 +/* 8030A0B0 00307010 40 82 00 10 */ bne lbl_8030A0C0 +/* 8030A0B4 00307014 3C 60 80 5A */ lis r3, lbl_805A6440@ha +/* 8030A0B8 00307018 38 63 64 40 */ addi r3, r3, lbl_805A6440@l +/* 8030A0BC 0030701C 48 07 06 79 */ bl GXInvalidateTexRegion +lbl_8030A0C0: +/* 8030A0C0 00307020 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8030A0C4 00307024 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8030A0C8 00307028 7C 08 03 A6 */ mtlr r0 +/* 8030A0CC 0030702C 38 21 00 30 */ addi r1, r1, 0x30 +/* 8030A0D0 00307030 4E 80 00 20 */ blr + +.global SetDefaultVtxAttrFmt__9CGraphicsFv +SetDefaultVtxAttrFmt__9CGraphicsFv: +/* 8030A0D4 00307034 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030A0D8 00307038 7C 08 02 A6 */ mflr r0 +/* 8030A0DC 0030703C 38 60 00 00 */ li r3, 0 +/* 8030A0E0 00307040 38 80 00 09 */ li r4, 9 +/* 8030A0E4 00307044 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030A0E8 00307048 38 A0 00 01 */ li r5, 1 +/* 8030A0EC 0030704C 38 C0 00 04 */ li r6, 4 +/* 8030A0F0 00307050 38 E0 00 00 */ li r7, 0 +/* 8030A0F4 00307054 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8030A0F8 00307058 93 C1 00 08 */ stw r30, 8(r1) +/* 8030A0FC 0030705C 48 06 D6 91 */ bl GXSetVtxAttrFmt +/* 8030A100 00307060 38 60 00 01 */ li r3, 1 +/* 8030A104 00307064 38 80 00 09 */ li r4, 9 +/* 8030A108 00307068 38 A0 00 01 */ li r5, 1 +/* 8030A10C 0030706C 38 C0 00 04 */ li r6, 4 +/* 8030A110 00307070 38 E0 00 00 */ li r7, 0 +/* 8030A114 00307074 48 06 D6 79 */ bl GXSetVtxAttrFmt +/* 8030A118 00307078 38 60 00 02 */ li r3, 2 +/* 8030A11C 0030707C 38 80 00 09 */ li r4, 9 +/* 8030A120 00307080 38 A0 00 01 */ li r5, 1 +/* 8030A124 00307084 38 C0 00 04 */ li r6, 4 +/* 8030A128 00307088 38 E0 00 00 */ li r7, 0 +/* 8030A12C 0030708C 48 06 D6 61 */ bl GXSetVtxAttrFmt +/* 8030A130 00307090 38 60 00 00 */ li r3, 0 +/* 8030A134 00307094 38 80 00 0A */ li r4, 0xa +/* 8030A138 00307098 38 A0 00 00 */ li r5, 0 +/* 8030A13C 0030709C 38 C0 00 04 */ li r6, 4 +/* 8030A140 003070A0 38 E0 00 00 */ li r7, 0 +/* 8030A144 003070A4 48 06 D6 49 */ bl GXSetVtxAttrFmt +/* 8030A148 003070A8 38 60 00 01 */ li r3, 1 +/* 8030A14C 003070AC 38 80 00 0A */ li r4, 0xa +/* 8030A150 003070B0 38 A0 00 00 */ li r5, 0 +/* 8030A154 003070B4 38 C0 00 03 */ li r6, 3 +/* 8030A158 003070B8 38 E0 00 0E */ li r7, 0xe +/* 8030A15C 003070BC 48 06 D6 31 */ bl GXSetVtxAttrFmt +/* 8030A160 003070C0 38 60 00 02 */ li r3, 2 +/* 8030A164 003070C4 38 80 00 0A */ li r4, 0xa +/* 8030A168 003070C8 38 A0 00 00 */ li r5, 0 +/* 8030A16C 003070CC 38 C0 00 03 */ li r6, 3 +/* 8030A170 003070D0 38 E0 00 0E */ li r7, 0xe +/* 8030A174 003070D4 48 06 D6 19 */ bl GXSetVtxAttrFmt +/* 8030A178 003070D8 38 60 00 00 */ li r3, 0 +/* 8030A17C 003070DC 38 80 00 0B */ li r4, 0xb +/* 8030A180 003070E0 38 A0 00 01 */ li r5, 1 +/* 8030A184 003070E4 38 C0 00 05 */ li r6, 5 +/* 8030A188 003070E8 38 E0 00 00 */ li r7, 0 +/* 8030A18C 003070EC 48 06 D6 01 */ bl GXSetVtxAttrFmt +/* 8030A190 003070F0 38 60 00 01 */ li r3, 1 +/* 8030A194 003070F4 38 80 00 0B */ li r4, 0xb +/* 8030A198 003070F8 38 A0 00 01 */ li r5, 1 +/* 8030A19C 003070FC 38 C0 00 05 */ li r6, 5 +/* 8030A1A0 00307100 38 E0 00 00 */ li r7, 0 +/* 8030A1A4 00307104 48 06 D5 E9 */ bl GXSetVtxAttrFmt +/* 8030A1A8 00307108 38 60 00 02 */ li r3, 2 +/* 8030A1AC 0030710C 38 80 00 0B */ li r4, 0xb +/* 8030A1B0 00307110 38 A0 00 01 */ li r5, 1 +/* 8030A1B4 00307114 38 C0 00 05 */ li r6, 5 +/* 8030A1B8 00307118 38 E0 00 00 */ li r7, 0 +/* 8030A1BC 0030711C 48 06 D5 D1 */ bl GXSetVtxAttrFmt +/* 8030A1C0 00307120 38 60 00 00 */ li r3, 0 +/* 8030A1C4 00307124 38 80 00 0D */ li r4, 0xd +/* 8030A1C8 00307128 38 A0 00 01 */ li r5, 1 +/* 8030A1CC 0030712C 38 C0 00 04 */ li r6, 4 +/* 8030A1D0 00307130 38 E0 00 00 */ li r7, 0 +/* 8030A1D4 00307134 48 06 D5 B9 */ bl GXSetVtxAttrFmt +/* 8030A1D8 00307138 38 60 00 01 */ li r3, 1 +/* 8030A1DC 0030713C 38 80 00 0D */ li r4, 0xd +/* 8030A1E0 00307140 38 A0 00 01 */ li r5, 1 +/* 8030A1E4 00307144 38 C0 00 04 */ li r6, 4 +/* 8030A1E8 00307148 38 E0 00 00 */ li r7, 0 +/* 8030A1EC 0030714C 48 06 D5 A1 */ bl GXSetVtxAttrFmt +/* 8030A1F0 00307150 38 60 00 02 */ li r3, 2 +/* 8030A1F4 00307154 38 80 00 0D */ li r4, 0xd +/* 8030A1F8 00307158 38 A0 00 01 */ li r5, 1 +/* 8030A1FC 0030715C 38 C0 00 02 */ li r6, 2 +/* 8030A200 00307160 38 E0 00 0F */ li r7, 0xf +/* 8030A204 00307164 48 06 D5 89 */ bl GXSetVtxAttrFmt +/* 8030A208 00307168 3B E0 00 01 */ li r31, 1 +lbl_8030A20C: +/* 8030A20C 0030716C 3B DF 00 0D */ addi r30, r31, 0xd +/* 8030A210 00307170 38 60 00 00 */ li r3, 0 +/* 8030A214 00307174 7F C4 F3 78 */ mr r4, r30 +/* 8030A218 00307178 38 A0 00 01 */ li r5, 1 +/* 8030A21C 0030717C 38 C0 00 04 */ li r6, 4 +/* 8030A220 00307180 38 E0 00 00 */ li r7, 0 +/* 8030A224 00307184 48 06 D5 69 */ bl GXSetVtxAttrFmt +/* 8030A228 00307188 7F C4 F3 78 */ mr r4, r30 +/* 8030A22C 0030718C 38 60 00 01 */ li r3, 1 +/* 8030A230 00307190 38 A0 00 01 */ li r5, 1 +/* 8030A234 00307194 38 C0 00 04 */ li r6, 4 +/* 8030A238 00307198 38 E0 00 00 */ li r7, 0 +/* 8030A23C 0030719C 48 06 D5 51 */ bl GXSetVtxAttrFmt +/* 8030A240 003071A0 7F C4 F3 78 */ mr r4, r30 +/* 8030A244 003071A4 38 60 00 02 */ li r3, 2 +/* 8030A248 003071A8 38 A0 00 01 */ li r5, 1 +/* 8030A24C 003071AC 38 C0 00 04 */ li r6, 4 +/* 8030A250 003071B0 38 E0 00 00 */ li r7, 0 +/* 8030A254 003071B4 48 06 D5 39 */ bl GXSetVtxAttrFmt +/* 8030A258 003071B8 3B FF 00 01 */ addi r31, r31, 1 +/* 8030A25C 003071BC 2C 1F 00 07 */ cmpwi r31, 7 +/* 8030A260 003071C0 40 81 FF AC */ ble lbl_8030A20C +/* 8030A264 003071C4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030A268 003071C8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8030A26C 003071CC 83 C1 00 08 */ lwz r30, 8(r1) +/* 8030A270 003071D0 7C 08 03 A6 */ mtlr r0 +/* 8030A274 003071D4 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030A278 003071D8 4E 80 00 20 */ blr + +.global ResetGfxStates__9CGraphicsFv +ResetGfxStates__9CGraphicsFv: +/* 8030A27C 003071DC 38 00 00 00 */ li r0, 0 +/* 8030A280 003071E0 90 0D A7 B8 */ stw r0, lbl_805A9378@sda21(r13) +/* 8030A284 003071E4 4E 80 00 20 */ blr + +.global SetFog__9CGraphicsF11ERglFogModeffRC6CColor +SetFog__9CGraphicsF11ERglFogModeffRC6CColor: +/* 8030A288 003071E8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030A28C 003071EC 7C 08 02 A6 */ mflr r0 +/* 8030A290 003071F0 3C A0 80 5A */ lis r5, lbl_805A61B8@ha +/* 8030A294 003071F4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030A298 003071F8 38 A5 61 B8 */ addi r5, r5, lbl_805A61B8@l +/* 8030A29C 003071FC C0 65 00 14 */ lfs f3, 0x14(r5) +/* 8030A2A0 00307200 C0 85 00 18 */ lfs f4, 0x18(r5) +/* 8030A2A4 00307204 4B FF E2 59 */ bl SetFog__3CGXF10_GXFogTypeffffRC8_GXColor +/* 8030A2A8 00307208 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030A2AC 0030720C 7C 08 03 A6 */ mtlr r0 +/* 8030A2B0 00307210 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030A2B4 00307214 4E 80 00 20 */ blr + +.global SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass: +/* 8030A2B8 00307218 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030A2BC 0030721C 7C 08 02 A6 */ mflr r0 +/* 8030A2C0 00307220 2C 03 00 00 */ cmpwi r3, 0 +/* 8030A2C4 00307224 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030A2C8 00307228 40 82 00 0C */ bne lbl_8030A2D4 +/* 8030A2CC 0030722C 38 60 00 00 */ li r3, 0 +/* 8030A2D0 00307230 48 00 00 FC */ b lbl_8030A3CC +lbl_8030A2D4: +/* 8030A2D4 00307234 2C 03 00 01 */ cmpwi r3, 1 +/* 8030A2D8 00307238 40 82 00 0C */ bne lbl_8030A2E4 +/* 8030A2DC 0030723C 38 60 00 01 */ li r3, 1 +/* 8030A2E0 00307240 48 00 00 EC */ b lbl_8030A3CC +lbl_8030A2E4: +/* 8030A2E4 00307244 2C 03 00 02 */ cmpwi r3, 2 +/* 8030A2E8 00307248 40 82 00 0C */ bne lbl_8030A2F4 +/* 8030A2EC 0030724C 38 60 00 02 */ li r3, 2 +/* 8030A2F0 00307250 48 00 00 DC */ b lbl_8030A3CC +lbl_8030A2F4: +/* 8030A2F4 00307254 2C 03 00 03 */ cmpwi r3, 3 +/* 8030A2F8 00307258 40 82 00 0C */ bne lbl_8030A304 +/* 8030A2FC 0030725C 38 60 00 03 */ li r3, 3 +/* 8030A300 00307260 48 00 00 CC */ b lbl_8030A3CC +lbl_8030A304: +/* 8030A304 00307264 2C 03 00 04 */ cmpwi r3, 4 +/* 8030A308 00307268 40 82 00 0C */ bne lbl_8030A314 +/* 8030A30C 0030726C 38 60 00 04 */ li r3, 4 +/* 8030A310 00307270 48 00 00 BC */ b lbl_8030A3CC +lbl_8030A314: +/* 8030A314 00307274 2C 03 00 05 */ cmpwi r3, 5 +/* 8030A318 00307278 40 82 00 0C */ bne lbl_8030A324 +/* 8030A31C 0030727C 38 60 00 05 */ li r3, 5 +/* 8030A320 00307280 48 00 00 AC */ b lbl_8030A3CC +lbl_8030A324: +/* 8030A324 00307284 2C 03 00 06 */ cmpwi r3, 6 +/* 8030A328 00307288 40 82 00 0C */ bne lbl_8030A334 +/* 8030A32C 0030728C 38 60 00 06 */ li r3, 6 +/* 8030A330 00307290 48 00 00 9C */ b lbl_8030A3CC +lbl_8030A334: +/* 8030A334 00307294 2C 03 00 07 */ cmpwi r3, 7 +/* 8030A338 00307298 40 82 00 0C */ bne lbl_8030A344 +/* 8030A33C 0030729C 38 60 00 07 */ li r3, 7 +/* 8030A340 003072A0 48 00 00 8C */ b lbl_8030A3CC +lbl_8030A344: +/* 8030A344 003072A4 2C 03 00 08 */ cmpwi r3, 8 +/* 8030A348 003072A8 40 82 00 0C */ bne lbl_8030A354 +/* 8030A34C 003072AC 38 60 00 08 */ li r3, 8 +/* 8030A350 003072B0 48 00 00 7C */ b lbl_8030A3CC +lbl_8030A354: +/* 8030A354 003072B4 2C 03 00 09 */ cmpwi r3, 9 +/* 8030A358 003072B8 40 82 00 0C */ bne lbl_8030A364 +/* 8030A35C 003072BC 38 60 00 09 */ li r3, 9 +/* 8030A360 003072C0 48 00 00 6C */ b lbl_8030A3CC +lbl_8030A364: +/* 8030A364 003072C4 2C 03 00 0A */ cmpwi r3, 0xa +/* 8030A368 003072C8 40 82 00 0C */ bne lbl_8030A374 +/* 8030A36C 003072CC 38 60 00 0A */ li r3, 0xa +/* 8030A370 003072D0 48 00 00 5C */ b lbl_8030A3CC +lbl_8030A374: +/* 8030A374 003072D4 2C 03 00 0B */ cmpwi r3, 0xb +/* 8030A378 003072D8 40 82 00 0C */ bne lbl_8030A384 +/* 8030A37C 003072DC 38 60 00 0B */ li r3, 0xb +/* 8030A380 003072E0 48 00 00 4C */ b lbl_8030A3CC +lbl_8030A384: +/* 8030A384 003072E4 2C 03 00 0C */ cmpwi r3, 0xc +/* 8030A388 003072E8 40 82 00 0C */ bne lbl_8030A394 +/* 8030A38C 003072EC 38 60 00 0C */ li r3, 0xc +/* 8030A390 003072F0 48 00 00 3C */ b lbl_8030A3CC +lbl_8030A394: +/* 8030A394 003072F4 2C 03 00 0D */ cmpwi r3, 0xd +/* 8030A398 003072F8 40 82 00 0C */ bne lbl_8030A3A4 +/* 8030A39C 003072FC 38 60 00 0D */ li r3, 0xd +/* 8030A3A0 00307300 48 00 00 2C */ b lbl_8030A3CC +lbl_8030A3A4: +/* 8030A3A4 00307304 2C 03 00 0E */ cmpwi r3, 0xe +/* 8030A3A8 00307308 40 82 00 0C */ bne lbl_8030A3B4 +/* 8030A3AC 0030730C 38 60 00 0E */ li r3, 0xe +/* 8030A3B0 00307310 48 00 00 1C */ b lbl_8030A3CC +lbl_8030A3B4: +/* 8030A3B4 00307314 38 A3 FF F1 */ addi r5, r3, -15 +/* 8030A3B8 00307318 20 03 00 0F */ subfic r0, r3, 0xf +/* 8030A3BC 0030731C 7C A3 00 F8 */ nor r3, r5, r0 +/* 8030A3C0 00307320 38 00 00 0F */ li r0, 0xf +/* 8030A3C4 00307324 7C 63 FE 70 */ srawi r3, r3, 0x1f +/* 8030A3C8 00307328 7C 03 18 38 */ and r3, r0, r3 +lbl_8030A3CC: +/* 8030A3CC 0030732C 4B FF EC 0D */ bl SetupPass__13CTevCombinersFiRCQ213CTevCombiners8CTevPass +/* 8030A3D0 00307330 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030A3D4 00307334 7C 08 03 A6 */ mtlr r0 +/* 8030A3D8 00307338 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030A3DC 0030733C 4E 80 00 20 */ blr + +.global SetDepthRange__9CGraphicsFff +SetDepthRange__9CGraphicsFff: +/* 8030A3E0 00307340 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8030A3E4 00307344 7C 08 02 A6 */ mflr r0 +/* 8030A3E8 00307348 3C A0 43 30 */ lis r5, 0x4330 +/* 8030A3EC 0030734C 3C 60 80 3F */ lis r3, lbl_803ED910@ha +/* 8030A3F0 00307350 90 01 00 34 */ stw r0, 0x34(r1) +/* 8030A3F4 00307354 38 E3 D9 10 */ addi r7, r3, lbl_803ED910@l +/* 8030A3F8 00307358 FC A0 08 90 */ fmr f5, f1 +/* 8030A3FC 0030735C C8 82 C7 E8 */ lfd f4, lbl_805AE508@sda21(r2) +/* 8030A400 00307360 80 07 00 00 */ lwz r0, 0(r7) +/* 8030A404 00307364 FC C0 10 90 */ fmr f6, f2 +/* 8030A408 00307368 80 87 00 04 */ lwz r4, 4(r7) +/* 8030A40C 0030736C 6C 06 80 00 */ xoris r6, r0, 0x8000 +/* 8030A410 00307370 90 C1 00 0C */ stw r6, 0xc(r1) +/* 8030A414 00307374 6C 84 80 00 */ xoris r4, r4, 0x8000 +/* 8030A418 00307378 80 67 00 08 */ lwz r3, 8(r7) +/* 8030A41C 0030737C 90 A1 00 08 */ stw r5, 8(r1) +/* 8030A420 00307380 80 07 00 0C */ lwz r0, 0xc(r7) +/* 8030A424 00307384 6C 63 80 00 */ xoris r3, r3, 0x8000 +/* 8030A428 00307388 C8 01 00 08 */ lfd f0, 8(r1) +/* 8030A42C 0030738C 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8030A430 00307390 90 81 00 14 */ stw r4, 0x14(r1) +/* 8030A434 00307394 EC 20 20 28 */ fsubs f1, f0, f4 +/* 8030A438 00307398 90 A1 00 10 */ stw r5, 0x10(r1) +/* 8030A43C 0030739C C8 01 00 10 */ lfd f0, 0x10(r1) +/* 8030A440 003073A0 90 61 00 1C */ stw r3, 0x1c(r1) +/* 8030A444 003073A4 EC 40 20 28 */ fsubs f2, f0, f4 +/* 8030A448 003073A8 90 A1 00 18 */ stw r5, 0x18(r1) +/* 8030A44C 003073AC C8 01 00 18 */ lfd f0, 0x18(r1) +/* 8030A450 003073B0 90 01 00 24 */ stw r0, 0x24(r1) +/* 8030A454 003073B4 EC 60 20 28 */ fsubs f3, f0, f4 +/* 8030A458 003073B8 90 A1 00 20 */ stw r5, 0x20(r1) +/* 8030A45C 003073BC C8 01 00 20 */ lfd f0, 0x20(r1) +/* 8030A460 003073C0 D0 AD A7 E0 */ stfs f5, lbl_805A93A0@sda21(r13) +/* 8030A464 003073C4 EC 80 20 28 */ fsubs f4, f0, f4 +/* 8030A468 003073C8 D0 CD 9C 78 */ stfs f6, lbl_805A8838@sda21(r13) +/* 8030A46C 003073CC 48 07 21 DD */ bl GXSetViewport +/* 8030A470 003073D0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8030A474 003073D4 7C 08 03 A6 */ mtlr r0 +/* 8030A478 003073D8 38 21 00 30 */ addi r1, r1, 0x30 +/* 8030A47C 003073DC 4E 80 00 20 */ blr + +.global FullRender__9CGraphicsFv +FullRender__9CGraphicsFv: +/* 8030A480 003073E0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030A484 003073E4 7C 08 02 A6 */ mflr r0 +/* 8030A488 003073E8 38 80 00 00 */ li r4, 0 +/* 8030A48C 003073EC 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030A490 003073F0 80 0D A7 FC */ lwz r0, lbl_805A93BC@sda21(r13) +/* 8030A494 003073F4 80 6D 9C 74 */ lwz r3, lbl_805A8834@sda21(r13) +/* 8030A498 003073F8 54 05 04 3E */ clrlwi r5, r0, 0x10 +/* 8030A49C 003073FC 4B FF E0 E9 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 8030A4A0 00307400 3C 60 80 5A */ lis r3, lbl_805A6170@ha +/* 8030A4A4 00307404 38 63 61 70 */ addi r3, r3, lbl_805A6170@l +/* 8030A4A8 00307408 88 03 00 2E */ lbz r0, 0x2e(r3) +/* 8030A4AC 0030740C 28 00 00 07 */ cmplwi r0, 7 +/* 8030A4B0 00307410 41 81 0A 0C */ bgt lbl_8030AEBC +/* 8030A4B4 00307414 3C 60 80 3F */ lis r3, lbl_803ED948@ha +/* 8030A4B8 00307418 54 00 10 3A */ slwi r0, r0, 2 +/* 8030A4BC 0030741C 38 63 D9 48 */ addi r3, r3, lbl_803ED948@l +/* 8030A4C0 00307420 7C 03 00 2E */ lwzx r0, r3, r0 +/* 8030A4C4 00307424 7C 09 03 A6 */ mtctr r0 +/* 8030A4C8 00307428 4E 80 04 20 */ bctr +/* 8030A4CC 0030742C 80 CD A7 FC */ lwz r6, lbl_805A93BC@sda21(r13) +/* 8030A4D0 00307430 38 E0 00 00 */ li r7, 0 +/* 8030A4D4 00307434 2C 06 00 00 */ cmpwi r6, 0 +/* 8030A4D8 00307438 40 81 09 E4 */ ble lbl_8030AEBC +/* 8030A4DC 0030743C 2C 06 00 08 */ cmpwi r6, 8 +/* 8030A4E0 00307440 38 86 FF F8 */ addi r4, r6, -8 +/* 8030A4E4 00307444 40 81 00 EC */ ble lbl_8030A5D0 +/* 8030A4E8 00307448 38 04 00 07 */ addi r0, r4, 7 +/* 8030A4EC 0030744C 80 AD A7 C0 */ lwz r5, lbl_805A9380@sda21(r13) +/* 8030A4F0 00307450 54 00 E8 FE */ srwi r0, r0, 3 +/* 8030A4F4 00307454 3C 60 CC 01 */ lis r3, 0xcc01 +/* 8030A4F8 00307458 7C 09 03 A6 */ mtctr r0 +/* 8030A4FC 0030745C 2C 04 00 00 */ cmpwi r4, 0 +/* 8030A500 00307460 40 81 00 D0 */ ble lbl_8030A5D0 +lbl_8030A504: +/* 8030A504 00307464 C0 45 00 08 */ lfs f2, 8(r5) +/* 8030A508 00307468 38 E7 00 08 */ addi r7, r7, 8 +/* 8030A50C 0030746C C0 25 00 04 */ lfs f1, 4(r5) +/* 8030A510 00307470 C0 05 00 00 */ lfs f0, 0(r5) +/* 8030A514 00307474 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8030A518 00307478 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8030A51C 0030747C D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8030A520 00307480 C0 25 00 14 */ lfs f1, 0x14(r5) +/* 8030A524 00307484 C0 45 00 10 */ lfs f2, 0x10(r5) +/* 8030A528 00307488 C0 05 00 0C */ lfs f0, 0xc(r5) +/* 8030A52C 0030748C D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8030A530 00307490 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8030A534 00307494 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8030A538 00307498 C0 25 00 20 */ lfs f1, 0x20(r5) +/* 8030A53C 0030749C C0 45 00 1C */ lfs f2, 0x1c(r5) +/* 8030A540 003074A0 C0 05 00 18 */ lfs f0, 0x18(r5) +/* 8030A544 003074A4 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8030A548 003074A8 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8030A54C 003074AC D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8030A550 003074B0 C0 25 00 2C */ lfs f1, 0x2c(r5) +/* 8030A554 003074B4 C0 45 00 28 */ lfs f2, 0x28(r5) +/* 8030A558 003074B8 C0 05 00 24 */ lfs f0, 0x24(r5) +/* 8030A55C 003074BC D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8030A560 003074C0 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8030A564 003074C4 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8030A568 003074C8 C0 25 00 38 */ lfs f1, 0x38(r5) +/* 8030A56C 003074CC C0 45 00 34 */ lfs f2, 0x34(r5) +/* 8030A570 003074D0 C0 05 00 30 */ lfs f0, 0x30(r5) +/* 8030A574 003074D4 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8030A578 003074D8 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8030A57C 003074DC D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8030A580 003074E0 C0 25 00 44 */ lfs f1, 0x44(r5) +/* 8030A584 003074E4 C0 45 00 40 */ lfs f2, 0x40(r5) +/* 8030A588 003074E8 C0 05 00 3C */ lfs f0, 0x3c(r5) +/* 8030A58C 003074EC D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8030A590 003074F0 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8030A594 003074F4 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8030A598 003074F8 C0 25 00 50 */ lfs f1, 0x50(r5) +/* 8030A59C 003074FC C0 45 00 4C */ lfs f2, 0x4c(r5) +/* 8030A5A0 00307500 C0 05 00 48 */ lfs f0, 0x48(r5) +/* 8030A5A4 00307504 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8030A5A8 00307508 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8030A5AC 0030750C D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8030A5B0 00307510 C0 25 00 5C */ lfs f1, 0x5c(r5) +/* 8030A5B4 00307514 C0 45 00 58 */ lfs f2, 0x58(r5) +/* 8030A5B8 00307518 C0 05 00 54 */ lfs f0, 0x54(r5) +/* 8030A5BC 0030751C 38 A5 00 60 */ addi r5, r5, 0x60 +/* 8030A5C0 00307520 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8030A5C4 00307524 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8030A5C8 00307528 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8030A5CC 0030752C 42 00 FF 38 */ bdnz lbl_8030A504 +lbl_8030A5D0: +/* 8030A5D0 00307530 1C 87 00 0C */ mulli r4, r7, 0xc +/* 8030A5D4 00307534 80 AD A7 C0 */ lwz r5, lbl_805A9380@sda21(r13) +/* 8030A5D8 00307538 7C 07 30 50 */ subf r0, r7, r6 +/* 8030A5DC 0030753C 3C 60 CC 01 */ lis r3, 0xcc01 +/* 8030A5E0 00307540 7C 85 22 14 */ add r4, r5, r4 +/* 8030A5E4 00307544 7C 09 03 A6 */ mtctr r0 +/* 8030A5E8 00307548 7C 07 30 00 */ cmpw r7, r6 +/* 8030A5EC 0030754C 40 80 08 D0 */ bge lbl_8030AEBC +lbl_8030A5F0: +/* 8030A5F0 00307550 C0 24 00 08 */ lfs f1, 8(r4) +/* 8030A5F4 00307554 C0 44 00 04 */ lfs f2, 4(r4) +/* 8030A5F8 00307558 C0 04 00 00 */ lfs f0, 0(r4) +/* 8030A5FC 0030755C 38 84 00 0C */ addi r4, r4, 0xc +/* 8030A600 00307560 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8030A604 00307564 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8030A608 00307568 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8030A60C 0030756C 42 00 FF E4 */ bdnz lbl_8030A5F0 +/* 8030A610 00307570 48 00 08 AC */ b lbl_8030AEBC +/* 8030A614 00307574 80 0D A7 FC */ lwz r0, lbl_805A93BC@sda21(r13) +/* 8030A618 00307578 3C 80 CC 01 */ lis r4, 0xcc01 +/* 8030A61C 0030757C 80 AD A7 C0 */ lwz r5, lbl_805A9380@sda21(r13) +/* 8030A620 00307580 2C 00 00 00 */ cmpwi r0, 0 +/* 8030A624 00307584 80 CD A7 C4 */ lwz r6, lbl_805A9384@sda21(r13) +/* 8030A628 00307588 7C 03 03 78 */ mr r3, r0 +/* 8030A62C 0030758C 40 81 08 90 */ ble lbl_8030AEBC +/* 8030A630 00307590 54 00 F0 BF */ rlwinm. r0, r0, 0x1e, 2, 0x1f +/* 8030A634 00307594 7C 09 03 A6 */ mtctr r0 +/* 8030A638 00307598 41 82 00 D8 */ beq lbl_8030A710 +lbl_8030A63C: +/* 8030A63C 0030759C C0 45 00 08 */ lfs f2, 8(r5) +/* 8030A640 003075A0 C0 25 00 04 */ lfs f1, 4(r5) +/* 8030A644 003075A4 C0 05 00 00 */ lfs f0, 0(r5) +/* 8030A648 003075A8 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030A64C 003075AC D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030A650 003075B0 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8030A654 003075B4 C0 46 00 08 */ lfs f2, 8(r6) +/* 8030A658 003075B8 C0 26 00 04 */ lfs f1, 4(r6) +/* 8030A65C 003075BC C0 06 00 00 */ lfs f0, 0(r6) +/* 8030A660 003075C0 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030A664 003075C4 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030A668 003075C8 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8030A66C 003075CC C0 45 00 14 */ lfs f2, 0x14(r5) +/* 8030A670 003075D0 C0 25 00 10 */ lfs f1, 0x10(r5) +/* 8030A674 003075D4 C0 05 00 0C */ lfs f0, 0xc(r5) +/* 8030A678 003075D8 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030A67C 003075DC D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030A680 003075E0 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8030A684 003075E4 C0 46 00 14 */ lfs f2, 0x14(r6) +/* 8030A688 003075E8 C0 26 00 10 */ lfs f1, 0x10(r6) +/* 8030A68C 003075EC C0 06 00 0C */ lfs f0, 0xc(r6) +/* 8030A690 003075F0 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030A694 003075F4 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030A698 003075F8 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8030A69C 003075FC C0 45 00 20 */ lfs f2, 0x20(r5) +/* 8030A6A0 00307600 C0 25 00 1C */ lfs f1, 0x1c(r5) +/* 8030A6A4 00307604 C0 05 00 18 */ lfs f0, 0x18(r5) +/* 8030A6A8 00307608 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030A6AC 0030760C D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030A6B0 00307610 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8030A6B4 00307614 C0 46 00 20 */ lfs f2, 0x20(r6) +/* 8030A6B8 00307618 C0 26 00 1C */ lfs f1, 0x1c(r6) +/* 8030A6BC 0030761C C0 06 00 18 */ lfs f0, 0x18(r6) +/* 8030A6C0 00307620 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030A6C4 00307624 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030A6C8 00307628 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8030A6CC 0030762C C0 45 00 2C */ lfs f2, 0x2c(r5) +/* 8030A6D0 00307630 C0 25 00 28 */ lfs f1, 0x28(r5) +/* 8030A6D4 00307634 C0 05 00 24 */ lfs f0, 0x24(r5) +/* 8030A6D8 00307638 38 A5 00 30 */ addi r5, r5, 0x30 +/* 8030A6DC 0030763C D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030A6E0 00307640 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030A6E4 00307644 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8030A6E8 00307648 C0 46 00 2C */ lfs f2, 0x2c(r6) +/* 8030A6EC 0030764C C0 26 00 28 */ lfs f1, 0x28(r6) +/* 8030A6F0 00307650 C0 06 00 24 */ lfs f0, 0x24(r6) +/* 8030A6F4 00307654 38 C6 00 30 */ addi r6, r6, 0x30 +/* 8030A6F8 00307658 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030A6FC 0030765C D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030A700 00307660 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8030A704 00307664 42 00 FF 38 */ bdnz lbl_8030A63C +/* 8030A708 00307668 70 63 00 03 */ andi. r3, r3, 3 +/* 8030A70C 0030766C 41 82 07 B0 */ beq lbl_8030AEBC +lbl_8030A710: +/* 8030A710 00307670 7C 69 03 A6 */ mtctr r3 +lbl_8030A714: +/* 8030A714 00307674 C0 45 00 08 */ lfs f2, 8(r5) +/* 8030A718 00307678 C0 25 00 04 */ lfs f1, 4(r5) +/* 8030A71C 0030767C C0 05 00 00 */ lfs f0, 0(r5) +/* 8030A720 00307680 38 A5 00 0C */ addi r5, r5, 0xc +/* 8030A724 00307684 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030A728 00307688 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030A72C 0030768C D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8030A730 00307690 C0 46 00 08 */ lfs f2, 8(r6) +/* 8030A734 00307694 C0 26 00 04 */ lfs f1, 4(r6) +/* 8030A738 00307698 C0 06 00 00 */ lfs f0, 0(r6) +/* 8030A73C 0030769C 38 C6 00 0C */ addi r6, r6, 0xc +/* 8030A740 003076A0 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030A744 003076A4 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030A748 003076A8 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8030A74C 003076AC 42 00 FF C8 */ bdnz lbl_8030A714 +/* 8030A750 003076B0 48 00 07 6C */ b lbl_8030AEBC +/* 8030A754 003076B4 80 ED A7 FC */ lwz r7, lbl_805A93BC@sda21(r13) +/* 8030A758 003076B8 39 00 00 00 */ li r8, 0 +/* 8030A75C 003076BC 2C 07 00 00 */ cmpwi r7, 0 +/* 8030A760 003076C0 40 81 07 5C */ ble lbl_8030AEBC +/* 8030A764 003076C4 2C 07 00 08 */ cmpwi r7, 8 +/* 8030A768 003076C8 38 87 FF F8 */ addi r4, r7, -8 +/* 8030A76C 003076CC 40 81 01 34 */ ble lbl_8030A8A0 +/* 8030A770 003076D0 38 04 00 07 */ addi r0, r4, 7 +/* 8030A774 003076D4 80 AD A7 C0 */ lwz r5, lbl_805A9380@sda21(r13) +/* 8030A778 003076D8 54 00 E8 FE */ srwi r0, r0, 3 +/* 8030A77C 003076DC 80 CD A7 D0 */ lwz r6, lbl_805A9390@sda21(r13) +/* 8030A780 003076E0 3C 60 CC 01 */ lis r3, 0xcc01 +/* 8030A784 003076E4 7C 09 03 A6 */ mtctr r0 +/* 8030A788 003076E8 2C 04 00 00 */ cmpwi r4, 0 +/* 8030A78C 003076EC 40 81 01 14 */ ble lbl_8030A8A0 +lbl_8030A790: +/* 8030A790 003076F0 C0 45 00 08 */ lfs f2, 8(r5) +/* 8030A794 003076F4 39 08 00 08 */ addi r8, r8, 8 +/* 8030A798 003076F8 C0 25 00 04 */ lfs f1, 4(r5) +/* 8030A79C 003076FC C0 05 00 00 */ lfs f0, 0(r5) +/* 8030A7A0 00307700 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8030A7A4 00307704 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8030A7A8 00307708 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8030A7AC 0030770C 80 06 00 00 */ lwz r0, 0(r6) +/* 8030A7B0 00307710 90 03 80 00 */ stw r0, 0xCC008000@l(r3) +/* 8030A7B4 00307714 C0 25 00 14 */ lfs f1, 0x14(r5) +/* 8030A7B8 00307718 C0 45 00 10 */ lfs f2, 0x10(r5) +/* 8030A7BC 0030771C C0 05 00 0C */ lfs f0, 0xc(r5) +/* 8030A7C0 00307720 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8030A7C4 00307724 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8030A7C8 00307728 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8030A7CC 0030772C 80 06 00 04 */ lwz r0, 4(r6) +/* 8030A7D0 00307730 90 03 80 00 */ stw r0, 0xCC008000@l(r3) +/* 8030A7D4 00307734 C0 25 00 20 */ lfs f1, 0x20(r5) +/* 8030A7D8 00307738 C0 45 00 1C */ lfs f2, 0x1c(r5) +/* 8030A7DC 0030773C C0 05 00 18 */ lfs f0, 0x18(r5) +/* 8030A7E0 00307740 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8030A7E4 00307744 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8030A7E8 00307748 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8030A7EC 0030774C 80 06 00 08 */ lwz r0, 8(r6) +/* 8030A7F0 00307750 90 03 80 00 */ stw r0, 0xCC008000@l(r3) +/* 8030A7F4 00307754 C0 25 00 2C */ lfs f1, 0x2c(r5) +/* 8030A7F8 00307758 C0 45 00 28 */ lfs f2, 0x28(r5) +/* 8030A7FC 0030775C C0 05 00 24 */ lfs f0, 0x24(r5) +/* 8030A800 00307760 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8030A804 00307764 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8030A808 00307768 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8030A80C 0030776C 80 06 00 0C */ lwz r0, 0xc(r6) +/* 8030A810 00307770 90 03 80 00 */ stw r0, 0xCC008000@l(r3) +/* 8030A814 00307774 C0 25 00 38 */ lfs f1, 0x38(r5) +/* 8030A818 00307778 C0 45 00 34 */ lfs f2, 0x34(r5) +/* 8030A81C 0030777C C0 05 00 30 */ lfs f0, 0x30(r5) +/* 8030A820 00307780 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8030A824 00307784 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8030A828 00307788 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8030A82C 0030778C 80 06 00 10 */ lwz r0, 0x10(r6) +/* 8030A830 00307790 90 03 80 00 */ stw r0, 0xCC008000@l(r3) +/* 8030A834 00307794 C0 25 00 44 */ lfs f1, 0x44(r5) +/* 8030A838 00307798 C0 45 00 40 */ lfs f2, 0x40(r5) +/* 8030A83C 0030779C C0 05 00 3C */ lfs f0, 0x3c(r5) +/* 8030A840 003077A0 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8030A844 003077A4 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8030A848 003077A8 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8030A84C 003077AC 80 06 00 14 */ lwz r0, 0x14(r6) +/* 8030A850 003077B0 90 03 80 00 */ stw r0, 0xCC008000@l(r3) +/* 8030A854 003077B4 C0 25 00 50 */ lfs f1, 0x50(r5) +/* 8030A858 003077B8 C0 45 00 4C */ lfs f2, 0x4c(r5) +/* 8030A85C 003077BC C0 05 00 48 */ lfs f0, 0x48(r5) +/* 8030A860 003077C0 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8030A864 003077C4 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8030A868 003077C8 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8030A86C 003077CC 80 06 00 18 */ lwz r0, 0x18(r6) +/* 8030A870 003077D0 90 03 80 00 */ stw r0, 0xCC008000@l(r3) +/* 8030A874 003077D4 C0 25 00 5C */ lfs f1, 0x5c(r5) +/* 8030A878 003077D8 C0 45 00 58 */ lfs f2, 0x58(r5) +/* 8030A87C 003077DC C0 05 00 54 */ lfs f0, 0x54(r5) +/* 8030A880 003077E0 38 A5 00 60 */ addi r5, r5, 0x60 +/* 8030A884 003077E4 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8030A888 003077E8 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8030A88C 003077EC D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8030A890 003077F0 80 06 00 1C */ lwz r0, 0x1c(r6) +/* 8030A894 003077F4 38 C6 00 20 */ addi r6, r6, 0x20 +/* 8030A898 003077F8 90 03 80 00 */ stw r0, 0xCC008000@l(r3) +/* 8030A89C 003077FC 42 00 FE F4 */ bdnz lbl_8030A790 +lbl_8030A8A0: +/* 8030A8A0 00307800 1C A8 00 0C */ mulli r5, r8, 0xc +/* 8030A8A4 00307804 80 CD A7 C0 */ lwz r6, lbl_805A9380@sda21(r13) +/* 8030A8A8 00307808 80 8D A7 D0 */ lwz r4, lbl_805A9390@sda21(r13) +/* 8030A8AC 0030780C 55 03 10 3A */ slwi r3, r8, 2 +/* 8030A8B0 00307810 7C 08 38 50 */ subf r0, r8, r7 +/* 8030A8B4 00307814 7C A6 2A 14 */ add r5, r6, r5 +/* 8030A8B8 00307818 7C 84 1A 14 */ add r4, r4, r3 +/* 8030A8BC 0030781C 3C 60 CC 01 */ lis r3, 0xcc01 +/* 8030A8C0 00307820 7C 09 03 A6 */ mtctr r0 +/* 8030A8C4 00307824 7C 08 38 00 */ cmpw r8, r7 +/* 8030A8C8 00307828 40 80 05 F4 */ bge lbl_8030AEBC +lbl_8030A8CC: +/* 8030A8CC 0030782C C0 25 00 08 */ lfs f1, 8(r5) +/* 8030A8D0 00307830 C0 45 00 04 */ lfs f2, 4(r5) +/* 8030A8D4 00307834 C0 05 00 00 */ lfs f0, 0(r5) +/* 8030A8D8 00307838 38 A5 00 0C */ addi r5, r5, 0xc +/* 8030A8DC 0030783C D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8030A8E0 00307840 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8030A8E4 00307844 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8030A8E8 00307848 80 04 00 00 */ lwz r0, 0(r4) +/* 8030A8EC 0030784C 38 84 00 04 */ addi r4, r4, 4 +/* 8030A8F0 00307850 90 03 80 00 */ stw r0, 0xCC008000@l(r3) +/* 8030A8F4 00307854 42 00 FF D8 */ bdnz lbl_8030A8CC +/* 8030A8F8 00307858 48 00 05 C4 */ b lbl_8030AEBC +/* 8030A8FC 0030785C 80 0D A7 FC */ lwz r0, lbl_805A93BC@sda21(r13) +/* 8030A900 00307860 3C 80 CC 01 */ lis r4, 0xcc01 +/* 8030A904 00307864 80 AD A7 C0 */ lwz r5, lbl_805A9380@sda21(r13) +/* 8030A908 00307868 2C 00 00 00 */ cmpwi r0, 0 +/* 8030A90C 0030786C 80 CD A7 C8 */ lwz r6, lbl_805A9388@sda21(r13) +/* 8030A910 00307870 7C 03 03 78 */ mr r3, r0 +/* 8030A914 00307874 40 81 05 A8 */ ble lbl_8030AEBC +/* 8030A918 00307878 54 00 F0 BF */ rlwinm. r0, r0, 0x1e, 2, 0x1f +/* 8030A91C 0030787C 7C 09 03 A6 */ mtctr r0 +/* 8030A920 00307880 41 82 00 B8 */ beq lbl_8030A9D8 +lbl_8030A924: +/* 8030A924 00307884 C0 45 00 08 */ lfs f2, 8(r5) +/* 8030A928 00307888 C0 25 00 04 */ lfs f1, 4(r5) +/* 8030A92C 0030788C C0 05 00 00 */ lfs f0, 0(r5) +/* 8030A930 00307890 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030A934 00307894 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030A938 00307898 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8030A93C 0030789C C0 26 00 04 */ lfs f1, 4(r6) +/* 8030A940 003078A0 C0 06 00 00 */ lfs f0, 0(r6) +/* 8030A944 003078A4 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030A948 003078A8 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030A94C 003078AC C0 45 00 14 */ lfs f2, 0x14(r5) +/* 8030A950 003078B0 C0 25 00 10 */ lfs f1, 0x10(r5) +/* 8030A954 003078B4 C0 05 00 0C */ lfs f0, 0xc(r5) +/* 8030A958 003078B8 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030A95C 003078BC D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030A960 003078C0 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8030A964 003078C4 C0 26 00 0C */ lfs f1, 0xc(r6) +/* 8030A968 003078C8 C0 06 00 08 */ lfs f0, 8(r6) +/* 8030A96C 003078CC D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030A970 003078D0 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030A974 003078D4 C0 45 00 20 */ lfs f2, 0x20(r5) +/* 8030A978 003078D8 C0 25 00 1C */ lfs f1, 0x1c(r5) +/* 8030A97C 003078DC C0 05 00 18 */ lfs f0, 0x18(r5) +/* 8030A980 003078E0 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030A984 003078E4 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030A988 003078E8 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8030A98C 003078EC C0 26 00 14 */ lfs f1, 0x14(r6) +/* 8030A990 003078F0 C0 06 00 10 */ lfs f0, 0x10(r6) +/* 8030A994 003078F4 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030A998 003078F8 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030A99C 003078FC C0 45 00 2C */ lfs f2, 0x2c(r5) +/* 8030A9A0 00307900 C0 25 00 28 */ lfs f1, 0x28(r5) +/* 8030A9A4 00307904 C0 05 00 24 */ lfs f0, 0x24(r5) +/* 8030A9A8 00307908 38 A5 00 30 */ addi r5, r5, 0x30 +/* 8030A9AC 0030790C D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030A9B0 00307910 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030A9B4 00307914 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8030A9B8 00307918 C0 26 00 1C */ lfs f1, 0x1c(r6) +/* 8030A9BC 0030791C C0 06 00 18 */ lfs f0, 0x18(r6) +/* 8030A9C0 00307920 38 C6 00 20 */ addi r6, r6, 0x20 +/* 8030A9C4 00307924 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030A9C8 00307928 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030A9CC 0030792C 42 00 FF 58 */ bdnz lbl_8030A924 +/* 8030A9D0 00307930 70 63 00 03 */ andi. r3, r3, 3 +/* 8030A9D4 00307934 41 82 04 E8 */ beq lbl_8030AEBC +lbl_8030A9D8: +/* 8030A9D8 00307938 7C 69 03 A6 */ mtctr r3 +lbl_8030A9DC: +/* 8030A9DC 0030793C C0 45 00 08 */ lfs f2, 8(r5) +/* 8030A9E0 00307940 C0 25 00 04 */ lfs f1, 4(r5) +/* 8030A9E4 00307944 C0 05 00 00 */ lfs f0, 0(r5) +/* 8030A9E8 00307948 38 A5 00 0C */ addi r5, r5, 0xc +/* 8030A9EC 0030794C D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030A9F0 00307950 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030A9F4 00307954 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8030A9F8 00307958 C0 26 00 04 */ lfs f1, 4(r6) +/* 8030A9FC 0030795C C0 06 00 00 */ lfs f0, 0(r6) +/* 8030AA00 00307960 38 C6 00 08 */ addi r6, r6, 8 +/* 8030AA04 00307964 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030AA08 00307968 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030AA0C 0030796C 42 00 FF D0 */ bdnz lbl_8030A9DC +/* 8030AA10 00307970 48 00 04 AC */ b lbl_8030AEBC +/* 8030AA14 00307974 80 0D A7 FC */ lwz r0, lbl_805A93BC@sda21(r13) +/* 8030AA18 00307978 3C 80 CC 01 */ lis r4, 0xcc01 +/* 8030AA1C 0030797C 80 AD A7 C0 */ lwz r5, lbl_805A9380@sda21(r13) +/* 8030AA20 00307980 2C 00 00 00 */ cmpwi r0, 0 +/* 8030AA24 00307984 80 CD A7 C4 */ lwz r6, lbl_805A9384@sda21(r13) +/* 8030AA28 00307988 80 ED A7 C8 */ lwz r7, lbl_805A9388@sda21(r13) +/* 8030AA2C 0030798C 7C 03 03 78 */ mr r3, r0 +/* 8030AA30 00307990 40 81 04 8C */ ble lbl_8030AEBC +/* 8030AA34 00307994 54 00 F8 7F */ rlwinm. r0, r0, 0x1f, 1, 0x1f +/* 8030AA38 00307998 7C 09 03 A6 */ mtctr r0 +/* 8030AA3C 0030799C 41 82 00 9C */ beq lbl_8030AAD8 +lbl_8030AA40: +/* 8030AA40 003079A0 C0 45 00 08 */ lfs f2, 8(r5) +/* 8030AA44 003079A4 C0 25 00 04 */ lfs f1, 4(r5) +/* 8030AA48 003079A8 C0 05 00 00 */ lfs f0, 0(r5) +/* 8030AA4C 003079AC D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030AA50 003079B0 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030AA54 003079B4 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8030AA58 003079B8 C0 46 00 08 */ lfs f2, 8(r6) +/* 8030AA5C 003079BC C0 26 00 04 */ lfs f1, 4(r6) +/* 8030AA60 003079C0 C0 06 00 00 */ lfs f0, 0(r6) +/* 8030AA64 003079C4 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030AA68 003079C8 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030AA6C 003079CC D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8030AA70 003079D0 C0 27 00 04 */ lfs f1, 4(r7) +/* 8030AA74 003079D4 C0 07 00 00 */ lfs f0, 0(r7) +/* 8030AA78 003079D8 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030AA7C 003079DC D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030AA80 003079E0 C0 45 00 14 */ lfs f2, 0x14(r5) +/* 8030AA84 003079E4 C0 25 00 10 */ lfs f1, 0x10(r5) +/* 8030AA88 003079E8 C0 05 00 0C */ lfs f0, 0xc(r5) +/* 8030AA8C 003079EC 38 A5 00 18 */ addi r5, r5, 0x18 +/* 8030AA90 003079F0 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030AA94 003079F4 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030AA98 003079F8 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8030AA9C 003079FC C0 46 00 14 */ lfs f2, 0x14(r6) +/* 8030AAA0 00307A00 C0 26 00 10 */ lfs f1, 0x10(r6) +/* 8030AAA4 00307A04 C0 06 00 0C */ lfs f0, 0xc(r6) +/* 8030AAA8 00307A08 38 C6 00 18 */ addi r6, r6, 0x18 +/* 8030AAAC 00307A0C D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030AAB0 00307A10 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030AAB4 00307A14 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8030AAB8 00307A18 C0 27 00 0C */ lfs f1, 0xc(r7) +/* 8030AABC 00307A1C C0 07 00 08 */ lfs f0, 8(r7) +/* 8030AAC0 00307A20 38 E7 00 10 */ addi r7, r7, 0x10 +/* 8030AAC4 00307A24 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030AAC8 00307A28 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030AACC 00307A2C 42 00 FF 74 */ bdnz lbl_8030AA40 +/* 8030AAD0 00307A30 70 63 00 01 */ andi. r3, r3, 1 +/* 8030AAD4 00307A34 41 82 03 E8 */ beq lbl_8030AEBC +lbl_8030AAD8: +/* 8030AAD8 00307A38 7C 69 03 A6 */ mtctr r3 +lbl_8030AADC: +/* 8030AADC 00307A3C C0 45 00 08 */ lfs f2, 8(r5) +/* 8030AAE0 00307A40 C0 25 00 04 */ lfs f1, 4(r5) +/* 8030AAE4 00307A44 C0 05 00 00 */ lfs f0, 0(r5) +/* 8030AAE8 00307A48 38 A5 00 0C */ addi r5, r5, 0xc +/* 8030AAEC 00307A4C D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030AAF0 00307A50 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030AAF4 00307A54 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8030AAF8 00307A58 C0 46 00 08 */ lfs f2, 8(r6) +/* 8030AAFC 00307A5C C0 26 00 04 */ lfs f1, 4(r6) +/* 8030AB00 00307A60 C0 06 00 00 */ lfs f0, 0(r6) +/* 8030AB04 00307A64 38 C6 00 0C */ addi r6, r6, 0xc +/* 8030AB08 00307A68 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030AB0C 00307A6C D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030AB10 00307A70 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8030AB14 00307A74 C0 27 00 04 */ lfs f1, 4(r7) +/* 8030AB18 00307A78 C0 07 00 00 */ lfs f0, 0(r7) +/* 8030AB1C 00307A7C 38 E7 00 08 */ addi r7, r7, 8 +/* 8030AB20 00307A80 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030AB24 00307A84 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030AB28 00307A88 42 00 FF B4 */ bdnz lbl_8030AADC +/* 8030AB2C 00307A8C 48 00 03 90 */ b lbl_8030AEBC +/* 8030AB30 00307A90 80 0D A7 FC */ lwz r0, lbl_805A93BC@sda21(r13) +/* 8030AB34 00307A94 3C 80 CC 01 */ lis r4, 0xcc01 +/* 8030AB38 00307A98 80 AD A7 C0 */ lwz r5, lbl_805A9380@sda21(r13) +/* 8030AB3C 00307A9C 2C 00 00 00 */ cmpwi r0, 0 +/* 8030AB40 00307AA0 80 CD A7 C4 */ lwz r6, lbl_805A9384@sda21(r13) +/* 8030AB44 00307AA4 80 ED A7 D0 */ lwz r7, lbl_805A9390@sda21(r13) +/* 8030AB48 00307AA8 7C 03 03 78 */ mr r3, r0 +/* 8030AB4C 00307AAC 40 81 03 70 */ ble lbl_8030AEBC +/* 8030AB50 00307AB0 54 00 F8 7F */ rlwinm. r0, r0, 0x1f, 1, 0x1f +/* 8030AB54 00307AB4 7C 09 03 A6 */ mtctr r0 +/* 8030AB58 00307AB8 41 82 00 8C */ beq lbl_8030ABE4 +lbl_8030AB5C: +/* 8030AB5C 00307ABC C0 45 00 08 */ lfs f2, 8(r5) +/* 8030AB60 00307AC0 C0 25 00 04 */ lfs f1, 4(r5) +/* 8030AB64 00307AC4 C0 05 00 00 */ lfs f0, 0(r5) +/* 8030AB68 00307AC8 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030AB6C 00307ACC D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030AB70 00307AD0 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8030AB74 00307AD4 C0 46 00 08 */ lfs f2, 8(r6) +/* 8030AB78 00307AD8 C0 26 00 04 */ lfs f1, 4(r6) +/* 8030AB7C 00307ADC C0 06 00 00 */ lfs f0, 0(r6) +/* 8030AB80 00307AE0 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030AB84 00307AE4 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030AB88 00307AE8 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8030AB8C 00307AEC 80 07 00 00 */ lwz r0, 0(r7) +/* 8030AB90 00307AF0 90 04 80 00 */ stw r0, 0xCC008000@l(r4) +/* 8030AB94 00307AF4 C0 45 00 14 */ lfs f2, 0x14(r5) +/* 8030AB98 00307AF8 C0 25 00 10 */ lfs f1, 0x10(r5) +/* 8030AB9C 00307AFC C0 05 00 0C */ lfs f0, 0xc(r5) +/* 8030ABA0 00307B00 38 A5 00 18 */ addi r5, r5, 0x18 +/* 8030ABA4 00307B04 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030ABA8 00307B08 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030ABAC 00307B0C D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8030ABB0 00307B10 C0 46 00 14 */ lfs f2, 0x14(r6) +/* 8030ABB4 00307B14 C0 26 00 10 */ lfs f1, 0x10(r6) +/* 8030ABB8 00307B18 C0 06 00 0C */ lfs f0, 0xc(r6) +/* 8030ABBC 00307B1C 38 C6 00 18 */ addi r6, r6, 0x18 +/* 8030ABC0 00307B20 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030ABC4 00307B24 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030ABC8 00307B28 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8030ABCC 00307B2C 80 07 00 04 */ lwz r0, 4(r7) +/* 8030ABD0 00307B30 38 E7 00 08 */ addi r7, r7, 8 +/* 8030ABD4 00307B34 90 04 80 00 */ stw r0, 0xCC008000@l(r4) +/* 8030ABD8 00307B38 42 00 FF 84 */ bdnz lbl_8030AB5C +/* 8030ABDC 00307B3C 70 63 00 01 */ andi. r3, r3, 1 +/* 8030ABE0 00307B40 41 82 02 DC */ beq lbl_8030AEBC +lbl_8030ABE4: +/* 8030ABE4 00307B44 7C 69 03 A6 */ mtctr r3 +lbl_8030ABE8: +/* 8030ABE8 00307B48 C0 45 00 08 */ lfs f2, 8(r5) +/* 8030ABEC 00307B4C C0 25 00 04 */ lfs f1, 4(r5) +/* 8030ABF0 00307B50 C0 05 00 00 */ lfs f0, 0(r5) +/* 8030ABF4 00307B54 38 A5 00 0C */ addi r5, r5, 0xc +/* 8030ABF8 00307B58 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030ABFC 00307B5C D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030AC00 00307B60 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8030AC04 00307B64 C0 46 00 08 */ lfs f2, 8(r6) +/* 8030AC08 00307B68 C0 26 00 04 */ lfs f1, 4(r6) +/* 8030AC0C 00307B6C C0 06 00 00 */ lfs f0, 0(r6) +/* 8030AC10 00307B70 38 C6 00 0C */ addi r6, r6, 0xc +/* 8030AC14 00307B74 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030AC18 00307B78 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030AC1C 00307B7C D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8030AC20 00307B80 80 07 00 00 */ lwz r0, 0(r7) +/* 8030AC24 00307B84 38 E7 00 04 */ addi r7, r7, 4 +/* 8030AC28 00307B88 90 04 80 00 */ stw r0, 0xCC008000@l(r4) +/* 8030AC2C 00307B8C 42 00 FF BC */ bdnz lbl_8030ABE8 +/* 8030AC30 00307B90 48 00 02 8C */ b lbl_8030AEBC +/* 8030AC34 00307B94 80 0D A7 FC */ lwz r0, lbl_805A93BC@sda21(r13) +/* 8030AC38 00307B98 3C 80 CC 01 */ lis r4, 0xcc01 +/* 8030AC3C 00307B9C 80 AD A7 C0 */ lwz r5, lbl_805A9380@sda21(r13) +/* 8030AC40 00307BA0 2C 00 00 00 */ cmpwi r0, 0 +/* 8030AC44 00307BA4 80 CD A7 D0 */ lwz r6, lbl_805A9390@sda21(r13) +/* 8030AC48 00307BA8 80 ED A7 C8 */ lwz r7, lbl_805A9388@sda21(r13) +/* 8030AC4C 00307BAC 7C 03 03 78 */ mr r3, r0 +/* 8030AC50 00307BB0 40 81 02 6C */ ble lbl_8030AEBC +/* 8030AC54 00307BB4 54 00 F0 BF */ rlwinm. r0, r0, 0x1e, 2, 0x1f +/* 8030AC58 00307BB8 7C 09 03 A6 */ mtctr r0 +/* 8030AC5C 00307BBC 41 82 00 DC */ beq lbl_8030AD38 +lbl_8030AC60: +/* 8030AC60 00307BC0 C0 45 00 08 */ lfs f2, 8(r5) +/* 8030AC64 00307BC4 C0 25 00 04 */ lfs f1, 4(r5) +/* 8030AC68 00307BC8 C0 05 00 00 */ lfs f0, 0(r5) +/* 8030AC6C 00307BCC D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030AC70 00307BD0 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030AC74 00307BD4 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8030AC78 00307BD8 80 06 00 00 */ lwz r0, 0(r6) +/* 8030AC7C 00307BDC 90 04 80 00 */ stw r0, 0xCC008000@l(r4) +/* 8030AC80 00307BE0 C0 27 00 04 */ lfs f1, 4(r7) +/* 8030AC84 00307BE4 C0 07 00 00 */ lfs f0, 0(r7) +/* 8030AC88 00307BE8 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030AC8C 00307BEC D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030AC90 00307BF0 C0 45 00 14 */ lfs f2, 0x14(r5) +/* 8030AC94 00307BF4 C0 25 00 10 */ lfs f1, 0x10(r5) +/* 8030AC98 00307BF8 C0 05 00 0C */ lfs f0, 0xc(r5) +/* 8030AC9C 00307BFC D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030ACA0 00307C00 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030ACA4 00307C04 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8030ACA8 00307C08 80 06 00 04 */ lwz r0, 4(r6) +/* 8030ACAC 00307C0C 90 04 80 00 */ stw r0, 0xCC008000@l(r4) +/* 8030ACB0 00307C10 C0 27 00 0C */ lfs f1, 0xc(r7) +/* 8030ACB4 00307C14 C0 07 00 08 */ lfs f0, 8(r7) +/* 8030ACB8 00307C18 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030ACBC 00307C1C D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030ACC0 00307C20 C0 45 00 20 */ lfs f2, 0x20(r5) +/* 8030ACC4 00307C24 C0 25 00 1C */ lfs f1, 0x1c(r5) +/* 8030ACC8 00307C28 C0 05 00 18 */ lfs f0, 0x18(r5) +/* 8030ACCC 00307C2C D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030ACD0 00307C30 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030ACD4 00307C34 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8030ACD8 00307C38 80 06 00 08 */ lwz r0, 8(r6) +/* 8030ACDC 00307C3C 90 04 80 00 */ stw r0, 0xCC008000@l(r4) +/* 8030ACE0 00307C40 C0 27 00 14 */ lfs f1, 0x14(r7) +/* 8030ACE4 00307C44 C0 07 00 10 */ lfs f0, 0x10(r7) +/* 8030ACE8 00307C48 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030ACEC 00307C4C D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030ACF0 00307C50 C0 45 00 2C */ lfs f2, 0x2c(r5) +/* 8030ACF4 00307C54 C0 25 00 28 */ lfs f1, 0x28(r5) +/* 8030ACF8 00307C58 C0 05 00 24 */ lfs f0, 0x24(r5) +/* 8030ACFC 00307C5C 38 A5 00 30 */ addi r5, r5, 0x30 +/* 8030AD00 00307C60 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030AD04 00307C64 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030AD08 00307C68 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8030AD0C 00307C6C 80 06 00 0C */ lwz r0, 0xc(r6) +/* 8030AD10 00307C70 38 C6 00 10 */ addi r6, r6, 0x10 +/* 8030AD14 00307C74 90 04 80 00 */ stw r0, 0xCC008000@l(r4) +/* 8030AD18 00307C78 C0 27 00 1C */ lfs f1, 0x1c(r7) +/* 8030AD1C 00307C7C C0 07 00 18 */ lfs f0, 0x18(r7) +/* 8030AD20 00307C80 38 E7 00 20 */ addi r7, r7, 0x20 +/* 8030AD24 00307C84 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030AD28 00307C88 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030AD2C 00307C8C 42 00 FF 34 */ bdnz lbl_8030AC60 +/* 8030AD30 00307C90 70 63 00 03 */ andi. r3, r3, 3 +/* 8030AD34 00307C94 41 82 01 88 */ beq lbl_8030AEBC +lbl_8030AD38: +/* 8030AD38 00307C98 7C 69 03 A6 */ mtctr r3 +lbl_8030AD3C: +/* 8030AD3C 00307C9C C0 45 00 08 */ lfs f2, 8(r5) +/* 8030AD40 00307CA0 C0 25 00 04 */ lfs f1, 4(r5) +/* 8030AD44 00307CA4 C0 05 00 00 */ lfs f0, 0(r5) +/* 8030AD48 00307CA8 38 A5 00 0C */ addi r5, r5, 0xc +/* 8030AD4C 00307CAC D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030AD50 00307CB0 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030AD54 00307CB4 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8030AD58 00307CB8 80 06 00 00 */ lwz r0, 0(r6) +/* 8030AD5C 00307CBC 38 C6 00 04 */ addi r6, r6, 4 +/* 8030AD60 00307CC0 90 04 80 00 */ stw r0, 0xCC008000@l(r4) +/* 8030AD64 00307CC4 C0 27 00 04 */ lfs f1, 4(r7) +/* 8030AD68 00307CC8 C0 07 00 00 */ lfs f0, 0(r7) +/* 8030AD6C 00307CCC 38 E7 00 08 */ addi r7, r7, 8 +/* 8030AD70 00307CD0 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030AD74 00307CD4 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030AD78 00307CD8 42 00 FF C4 */ bdnz lbl_8030AD3C +/* 8030AD7C 00307CDC 48 00 01 40 */ b lbl_8030AEBC +/* 8030AD80 00307CE0 80 0D A7 FC */ lwz r0, lbl_805A93BC@sda21(r13) +/* 8030AD84 00307CE4 3C 80 CC 01 */ lis r4, 0xcc01 +/* 8030AD88 00307CE8 80 AD A7 C0 */ lwz r5, lbl_805A9380@sda21(r13) +/* 8030AD8C 00307CEC 2C 00 00 00 */ cmpwi r0, 0 +/* 8030AD90 00307CF0 80 CD A7 C4 */ lwz r6, lbl_805A9384@sda21(r13) +/* 8030AD94 00307CF4 80 ED A7 D0 */ lwz r7, lbl_805A9390@sda21(r13) +/* 8030AD98 00307CF8 7C 03 03 78 */ mr r3, r0 +/* 8030AD9C 00307CFC 81 0D A7 C8 */ lwz r8, lbl_805A9388@sda21(r13) +/* 8030ADA0 00307D00 40 81 01 1C */ ble lbl_8030AEBC +/* 8030ADA4 00307D04 54 00 F8 7F */ rlwinm. r0, r0, 0x1f, 1, 0x1f +/* 8030ADA8 00307D08 7C 09 03 A6 */ mtctr r0 +/* 8030ADAC 00307D0C 41 82 00 B0 */ beq lbl_8030AE5C +lbl_8030ADB0: +/* 8030ADB0 00307D10 C0 45 00 08 */ lfs f2, 8(r5) +/* 8030ADB4 00307D14 C0 25 00 04 */ lfs f1, 4(r5) +/* 8030ADB8 00307D18 C0 05 00 00 */ lfs f0, 0(r5) +/* 8030ADBC 00307D1C D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030ADC0 00307D20 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030ADC4 00307D24 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8030ADC8 00307D28 C0 46 00 08 */ lfs f2, 8(r6) +/* 8030ADCC 00307D2C C0 26 00 04 */ lfs f1, 4(r6) +/* 8030ADD0 00307D30 C0 06 00 00 */ lfs f0, 0(r6) +/* 8030ADD4 00307D34 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030ADD8 00307D38 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030ADDC 00307D3C D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8030ADE0 00307D40 80 07 00 00 */ lwz r0, 0(r7) +/* 8030ADE4 00307D44 90 04 80 00 */ stw r0, 0xCC008000@l(r4) +/* 8030ADE8 00307D48 C0 28 00 04 */ lfs f1, 4(r8) +/* 8030ADEC 00307D4C C0 08 00 00 */ lfs f0, 0(r8) +/* 8030ADF0 00307D50 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030ADF4 00307D54 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030ADF8 00307D58 C0 45 00 14 */ lfs f2, 0x14(r5) +/* 8030ADFC 00307D5C C0 25 00 10 */ lfs f1, 0x10(r5) +/* 8030AE00 00307D60 C0 05 00 0C */ lfs f0, 0xc(r5) +/* 8030AE04 00307D64 38 A5 00 18 */ addi r5, r5, 0x18 +/* 8030AE08 00307D68 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030AE0C 00307D6C D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030AE10 00307D70 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8030AE14 00307D74 C0 46 00 14 */ lfs f2, 0x14(r6) +/* 8030AE18 00307D78 C0 26 00 10 */ lfs f1, 0x10(r6) +/* 8030AE1C 00307D7C C0 06 00 0C */ lfs f0, 0xc(r6) +/* 8030AE20 00307D80 38 C6 00 18 */ addi r6, r6, 0x18 +/* 8030AE24 00307D84 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030AE28 00307D88 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030AE2C 00307D8C D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8030AE30 00307D90 80 07 00 04 */ lwz r0, 4(r7) +/* 8030AE34 00307D94 38 E7 00 08 */ addi r7, r7, 8 +/* 8030AE38 00307D98 90 04 80 00 */ stw r0, 0xCC008000@l(r4) +/* 8030AE3C 00307D9C C0 28 00 0C */ lfs f1, 0xc(r8) +/* 8030AE40 00307DA0 C0 08 00 08 */ lfs f0, 8(r8) +/* 8030AE44 00307DA4 39 08 00 10 */ addi r8, r8, 0x10 +/* 8030AE48 00307DA8 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030AE4C 00307DAC D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030AE50 00307DB0 42 00 FF 60 */ bdnz lbl_8030ADB0 +/* 8030AE54 00307DB4 70 63 00 01 */ andi. r3, r3, 1 +/* 8030AE58 00307DB8 41 82 00 64 */ beq lbl_8030AEBC +lbl_8030AE5C: +/* 8030AE5C 00307DBC 7C 69 03 A6 */ mtctr r3 +lbl_8030AE60: +/* 8030AE60 00307DC0 C0 45 00 08 */ lfs f2, 8(r5) +/* 8030AE64 00307DC4 C0 25 00 04 */ lfs f1, 4(r5) +/* 8030AE68 00307DC8 C0 05 00 00 */ lfs f0, 0(r5) +/* 8030AE6C 00307DCC 38 A5 00 0C */ addi r5, r5, 0xc +/* 8030AE70 00307DD0 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030AE74 00307DD4 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030AE78 00307DD8 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8030AE7C 00307DDC C0 46 00 08 */ lfs f2, 8(r6) +/* 8030AE80 00307DE0 C0 26 00 04 */ lfs f1, 4(r6) +/* 8030AE84 00307DE4 C0 06 00 00 */ lfs f0, 0(r6) +/* 8030AE88 00307DE8 38 C6 00 0C */ addi r6, r6, 0xc +/* 8030AE8C 00307DEC D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030AE90 00307DF0 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030AE94 00307DF4 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8030AE98 00307DF8 80 07 00 00 */ lwz r0, 0(r7) +/* 8030AE9C 00307DFC 38 E7 00 04 */ addi r7, r7, 4 +/* 8030AEA0 00307E00 90 04 80 00 */ stw r0, 0xCC008000@l(r4) +/* 8030AEA4 00307E04 C0 28 00 04 */ lfs f1, 4(r8) +/* 8030AEA8 00307E08 C0 08 00 00 */ lfs f0, 0(r8) +/* 8030AEAC 00307E0C 39 08 00 08 */ addi r8, r8, 8 +/* 8030AEB0 00307E10 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8030AEB4 00307E14 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8030AEB8 00307E18 42 00 FF A8 */ bdnz lbl_8030AE60 +lbl_8030AEBC: +/* 8030AEBC 00307E1C 4B FF D6 C5 */ bl End__3CGXFv +/* 8030AEC0 00307E20 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030AEC4 00307E24 7C 08 03 A6 */ mtlr r0 +/* 8030AEC8 00307E28 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030AECC 00307E2C 4E 80 00 20 */ blr + +.global SetTevStates__9CGraphicsFUc +SetTevStates__9CGraphicsFUc: +/* 8030AED0 00307E30 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030AED4 00307E34 7C 08 02 A6 */ mflr r0 +/* 8030AED8 00307E38 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030AEDC 00307E3C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8030AEE0 00307E40 54 7F 06 3E */ clrlwi r31, r3, 0x18 +/* 8030AEE4 00307E44 2C 1F 00 04 */ cmpwi r31, 4 +/* 8030AEE8 00307E48 40 80 00 10 */ bge lbl_8030AEF8 +/* 8030AEEC 00307E4C 2C 1F 00 00 */ cmpwi r31, 0 +/* 8030AEF0 00307E50 40 80 00 14 */ bge lbl_8030AF04 +/* 8030AEF4 00307E54 48 00 00 AC */ b lbl_8030AFA0 +lbl_8030AEF8: +/* 8030AEF8 00307E58 2C 1F 00 08 */ cmpwi r31, 8 +/* 8030AEFC 00307E5C 40 80 00 A4 */ bge lbl_8030AFA0 +/* 8030AF00 00307E60 48 00 00 48 */ b lbl_8030AF48 +lbl_8030AF04: +/* 8030AF04 00307E64 38 60 00 01 */ li r3, 1 +/* 8030AF08 00307E68 4B FF DF 49 */ bl SetNumChans__3CGXFUc +/* 8030AF0C 00307E6C 38 60 00 00 */ li r3, 0 +/* 8030AF10 00307E70 4B FF DF 05 */ bl SetNumTexGens__3CGXFUc +/* 8030AF14 00307E74 38 60 00 01 */ li r3, 1 +/* 8030AF18 00307E78 4B FF DD 79 */ bl SetNumTevStages__3CGXFUc +/* 8030AF1C 00307E7C 38 60 00 00 */ li r3, 0 +/* 8030AF20 00307E80 38 80 00 FF */ li r4, 0xff +/* 8030AF24 00307E84 38 A0 00 FF */ li r5, 0xff +/* 8030AF28 00307E88 38 C0 00 04 */ li r6, 4 +/* 8030AF2C 00307E8C 4B FF DA 21 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 8030AF30 00307E90 38 60 00 01 */ li r3, 1 +/* 8030AF34 00307E94 38 80 00 FF */ li r4, 0xff +/* 8030AF38 00307E98 38 A0 00 FF */ li r5, 0xff +/* 8030AF3C 00307E9C 38 C0 00 04 */ li r6, 4 +/* 8030AF40 00307EA0 4B FF DA 0D */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 8030AF44 00307EA4 48 00 00 5C */ b lbl_8030AFA0 +lbl_8030AF48: +/* 8030AF48 00307EA8 38 60 00 01 */ li r3, 1 +/* 8030AF4C 00307EAC 4B FF DF 05 */ bl SetNumChans__3CGXFUc +/* 8030AF50 00307EB0 3C 60 80 5A */ lis r3, lbl_805A6170@ha +/* 8030AF54 00307EB4 38 63 61 70 */ addi r3, r3, lbl_805A6170@l +/* 8030AF58 00307EB8 A0 03 00 2C */ lhz r0, 0x2c(r3) +/* 8030AF5C 00307EBC 54 00 07 BF */ clrlwi. r0, r0, 0x1e +/* 8030AF60 00307EC0 41 82 00 10 */ beq lbl_8030AF70 +/* 8030AF64 00307EC4 38 60 00 02 */ li r3, 2 +/* 8030AF68 00307EC8 4B FF DE AD */ bl SetNumTexGens__3CGXFUc +/* 8030AF6C 00307ECC 48 00 00 0C */ b lbl_8030AF78 +lbl_8030AF70: +/* 8030AF70 00307ED0 38 60 00 01 */ li r3, 1 +/* 8030AF74 00307ED4 4B FF DE A1 */ bl SetNumTexGens__3CGXFUc +lbl_8030AF78: +/* 8030AF78 00307ED8 38 60 00 00 */ li r3, 0 +/* 8030AF7C 00307EDC 38 80 00 00 */ li r4, 0 +/* 8030AF80 00307EE0 38 A0 00 00 */ li r5, 0 +/* 8030AF84 00307EE4 38 C0 00 04 */ li r6, 4 +/* 8030AF88 00307EE8 4B FF D9 C5 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 8030AF8C 00307EEC 38 60 00 01 */ li r3, 1 +/* 8030AF90 00307EF0 38 80 00 01 */ li r4, 1 +/* 8030AF94 00307EF4 38 A0 00 01 */ li r5, 1 +/* 8030AF98 00307EF8 38 C0 00 04 */ li r6, 4 +/* 8030AF9C 00307EFC 4B FF D9 B1 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +lbl_8030AFA0: +/* 8030AFA0 00307F00 38 60 00 00 */ li r3, 0 +/* 8030AFA4 00307F04 4B FF D6 ED */ bl SetNumIndStages__3CGXFUc +/* 8030AFA8 00307F08 38 60 00 00 */ li r3, 0 +/* 8030AFAC 00307F0C 38 80 00 01 */ li r4, 1 +/* 8030AFB0 00307F10 38 A0 00 04 */ li r5, 4 +/* 8030AFB4 00307F14 38 C0 00 3C */ li r6, 0x3c +/* 8030AFB8 00307F18 38 E0 00 00 */ li r7, 0 +/* 8030AFBC 00307F1C 39 00 00 7D */ li r8, 0x7d +/* 8030AFC0 00307F20 4B FF D7 0D */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 8030AFC4 00307F24 38 60 00 01 */ li r3, 1 +/* 8030AFC8 00307F28 38 80 00 01 */ li r4, 1 +/* 8030AFCC 00307F2C 38 A0 00 05 */ li r5, 5 +/* 8030AFD0 00307F30 38 C0 00 3C */ li r6, 0x3c +/* 8030AFD4 00307F34 38 E0 00 00 */ li r7, 0 +/* 8030AFD8 00307F38 39 00 00 7D */ li r8, 0x7d +/* 8030AFDC 00307F3C 4B FF D6 F1 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 8030AFE0 00307F40 88 ED A8 16 */ lbz r7, lbl_805A93D6@sda21(r13) +/* 8030AFE4 00307F44 39 20 00 02 */ li r9, 2 +/* 8030AFE8 00307F48 28 07 00 00 */ cmplwi r7, 0 +/* 8030AFEC 00307F4C 41 82 00 08 */ beq lbl_8030AFF4 +/* 8030AFF0 00307F50 39 20 00 01 */ li r9, 1 +lbl_8030AFF4: +/* 8030AFF4 00307F54 28 07 00 00 */ cmplwi r7, 0 +/* 8030AFF8 00307F58 39 00 00 00 */ li r8, 0 +/* 8030AFFC 00307F5C 41 82 00 08 */ beq lbl_8030B004 +/* 8030B000 00307F60 39 00 00 02 */ li r8, 2 +lbl_8030B004: +/* 8030B004 00307F64 7C 07 00 D0 */ neg r0, r7 +/* 8030B008 00307F68 57 E6 FF FE */ rlwinm r6, r31, 0x1f, 0x1f, 0x1f +/* 8030B00C 00307F6C 7C 00 3B 78 */ or r0, r0, r7 +/* 8030B010 00307F70 38 60 00 00 */ li r3, 0 +/* 8030B014 00307F74 54 04 0F FE */ srwi r4, r0, 0x1f +/* 8030B018 00307F78 38 A0 00 00 */ li r5, 0 +/* 8030B01C 00307F7C 4B FF DC B1 */ bl SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn +/* 8030B020 00307F80 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030B024 00307F84 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8030B028 00307F88 7C 08 03 A6 */ mtlr r0 +/* 8030B02C 00307F8C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030B030 00307F90 4E 80 00 20 */ blr + +.global FlushStream__9CGraphicsFv +FlushStream__9CGraphicsFv: +/* 8030B034 00307F94 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 8030B038 00307F98 7C 08 02 A6 */ mflr r0 +/* 8030B03C 00307F9C 3C 60 80 5A */ lis r3, lbl_805A6170@ha +/* 8030B040 00307FA0 90 01 00 94 */ stw r0, 0x94(r1) +/* 8030B044 00307FA4 38 A1 00 38 */ addi r5, r1, 0x38 +/* 8030B048 00307FA8 93 E1 00 8C */ stw r31, 0x8c(r1) +/* 8030B04C 00307FAC 3B E3 61 70 */ addi r31, r3, lbl_805A6170@l +/* 8030B050 00307FB0 88 1F 00 2E */ lbz r0, 0x2e(r31) +/* 8030B054 00307FB4 80 82 C7 B8 */ lwz r4, lbl_805AE4D8@sda21(r2) +/* 8030B058 00307FB8 80 62 C7 BC */ lwz r3, lbl_805AE4DC@sda21(r2) +/* 8030B05C 00307FBC 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 8030B060 00307FC0 90 81 00 28 */ stw r4, 0x28(r1) +/* 8030B064 00307FC4 90 61 00 2C */ stw r3, 0x2c(r1) +/* 8030B068 00307FC8 90 81 00 30 */ stw r4, 0x30(r1) +/* 8030B06C 00307FCC 90 61 00 34 */ stw r3, 0x34(r1) +/* 8030B070 00307FD0 41 82 00 20 */ beq lbl_8030B090 +/* 8030B074 00307FD4 80 62 C7 C0 */ lwz r3, lbl_805AE4E0@sda21(r2) +/* 8030B078 00307FD8 38 A5 00 08 */ addi r5, r5, 8 +/* 8030B07C 00307FDC 80 02 C7 C4 */ lwz r0, lbl_805AE4E4@sda21(r2) +/* 8030B080 00307FE0 90 61 00 20 */ stw r3, 0x20(r1) +/* 8030B084 00307FE4 90 01 00 24 */ stw r0, 0x24(r1) +/* 8030B088 00307FE8 90 61 00 38 */ stw r3, 0x38(r1) +/* 8030B08C 00307FEC 90 01 00 3C */ stw r0, 0x3c(r1) +lbl_8030B090: +/* 8030B090 00307FF0 88 1F 00 2E */ lbz r0, 0x2e(r31) +/* 8030B094 00307FF4 54 00 07 BD */ rlwinm. r0, r0, 0, 0x1e, 0x1e +/* 8030B098 00307FF8 41 82 00 20 */ beq lbl_8030B0B8 +/* 8030B09C 00307FFC 80 62 C7 C8 */ lwz r3, lbl_805AE4E8@sda21(r2) +/* 8030B0A0 00308000 80 02 C7 CC */ lwz r0, lbl_805AE4EC@sda21(r2) +/* 8030B0A4 00308004 90 65 00 00 */ stw r3, 0(r5) +/* 8030B0A8 00308008 90 05 00 04 */ stw r0, 4(r5) +/* 8030B0AC 0030800C 38 A5 00 08 */ addi r5, r5, 8 +/* 8030B0B0 00308010 90 61 00 18 */ stw r3, 0x18(r1) +/* 8030B0B4 00308014 90 01 00 1C */ stw r0, 0x1c(r1) +lbl_8030B0B8: +/* 8030B0B8 00308018 88 1F 00 2E */ lbz r0, 0x2e(r31) +/* 8030B0BC 0030801C 54 00 07 7B */ rlwinm. r0, r0, 0, 0x1d, 0x1d +/* 8030B0C0 00308020 41 82 00 20 */ beq lbl_8030B0E0 +/* 8030B0C4 00308024 80 62 C7 D0 */ lwz r3, lbl_805AE4F0@sda21(r2) +/* 8030B0C8 00308028 80 02 C7 D4 */ lwz r0, lbl_805AE4F4@sda21(r2) +/* 8030B0CC 0030802C 90 65 00 00 */ stw r3, 0(r5) +/* 8030B0D0 00308030 90 05 00 04 */ stw r0, 4(r5) +/* 8030B0D4 00308034 38 A5 00 08 */ addi r5, r5, 8 +/* 8030B0D8 00308038 90 61 00 10 */ stw r3, 0x10(r1) +/* 8030B0DC 0030803C 90 01 00 14 */ stw r0, 0x14(r1) +lbl_8030B0E0: +/* 8030B0E0 00308040 80 82 C7 D8 */ lwz r4, lbl_805AE4F8@sda21(r2) +/* 8030B0E4 00308044 38 61 00 30 */ addi r3, r1, 0x30 +/* 8030B0E8 00308048 80 02 C7 DC */ lwz r0, lbl_805AE4FC@sda21(r2) +/* 8030B0EC 0030804C 90 85 00 00 */ stw r4, 0(r5) +/* 8030B0F0 00308050 90 81 00 08 */ stw r4, 8(r1) +/* 8030B0F4 00308054 90 01 00 0C */ stw r0, 0xc(r1) +/* 8030B0F8 00308058 90 05 00 04 */ stw r0, 4(r5) +/* 8030B0FC 0030805C 4B FF CD 2D */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList +/* 8030B100 00308060 88 7F 00 2E */ lbz r3, 0x2e(r31) +/* 8030B104 00308064 4B FF FD CD */ bl SetTevStates__9CGraphicsFUc +/* 8030B108 00308068 4B FF F3 79 */ bl FullRender__9CGraphicsFv +/* 8030B10C 0030806C 80 01 00 94 */ lwz r0, 0x94(r1) +/* 8030B110 00308070 83 E1 00 8C */ lwz r31, 0x8c(r1) +/* 8030B114 00308074 7C 08 03 A6 */ mtlr r0 +/* 8030B118 00308078 38 21 00 90 */ addi r1, r1, 0x90 +/* 8030B11C 0030807C 4E 80 00 20 */ blr + +.global ResetVertexDataStream__9CGraphicsFb +ResetVertexDataStream__9CGraphicsFb: +/* 8030B120 00308080 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030B124 00308084 7C 08 02 A6 */ mflr r0 +/* 8030B128 00308088 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030B12C 0030808C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8030B130 00308090 38 60 00 00 */ li r3, 0 +/* 8030B134 00308094 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8030B138 00308098 80 ED A7 C0 */ lwz r7, lbl_805A9380@sda21(r13) +/* 8030B13C 0030809C 80 CD A7 C4 */ lwz r6, lbl_805A9384@sda21(r13) +/* 8030B140 003080A0 80 AD A7 C8 */ lwz r5, lbl_805A9388@sda21(r13) +/* 8030B144 003080A4 80 8D A7 CC */ lwz r4, lbl_805A938C@sda21(r13) +/* 8030B148 003080A8 80 0D A7 D0 */ lwz r0, lbl_805A9390@sda21(r13) +/* 8030B14C 003080AC 90 ED A7 E4 */ stw r7, lbl_805A93A4@sda21(r13) +/* 8030B150 003080B0 90 CD A7 E8 */ stw r6, lbl_805A93A8@sda21(r13) +/* 8030B154 003080B4 90 AD A7 EC */ stw r5, lbl_805A93AC@sda21(r13) +/* 8030B158 003080B8 90 8D A7 F0 */ stw r4, lbl_805A93B0@sda21(r13) +/* 8030B15C 003080BC 90 0D A7 F4 */ stw r0, lbl_805A93B4@sda21(r13) +/* 8030B160 003080C0 90 6D A7 FC */ stw r3, lbl_805A93BC@sda21(r13) +/* 8030B164 003080C4 40 82 01 1C */ bne lbl_8030B280 +/* 8030B168 003080C8 80 0D 9C 74 */ lwz r0, lbl_805A8834@sda21(r13) +/* 8030B16C 003080CC 2C 00 00 A0 */ cmpwi r0, 0xa0 +/* 8030B170 003080D0 41 82 00 08 */ beq lbl_8030B178 +/* 8030B174 003080D4 48 00 01 04 */ b lbl_8030B278 +lbl_8030B178: +/* 8030B178 003080D8 38 67 00 0C */ addi r3, r7, 0xc +/* 8030B17C 003080DC 3C 80 80 5A */ lis r4, lbl_805A6170@ha +/* 8030B180 003080E0 90 6D A7 E4 */ stw r3, lbl_805A93A4@sda21(r13) +/* 8030B184 003080E4 38 84 61 70 */ addi r4, r4, lbl_805A6170@l +/* 8030B188 003080E8 38 A0 00 0C */ li r5, 0xc +/* 8030B18C 003080EC 4B CF 83 05 */ bl memcpy +/* 8030B190 003080F0 3C 60 80 5A */ lis r3, lbl_805A6170@ha +/* 8030B194 003080F4 80 8D A7 E4 */ lwz r4, lbl_805A93A4@sda21(r13) +/* 8030B198 003080F8 3B E3 61 70 */ addi r31, r3, lbl_805A6170@l +/* 8030B19C 003080FC 88 1F 00 2E */ lbz r0, 0x2e(r31) +/* 8030B1A0 00308100 38 64 00 0C */ addi r3, r4, 0xc +/* 8030B1A4 00308104 90 6D A7 E4 */ stw r3, lbl_805A93A4@sda21(r13) +/* 8030B1A8 00308108 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 8030B1AC 0030810C 41 82 00 28 */ beq lbl_8030B1D4 +/* 8030B1B0 00308110 80 6D A7 E8 */ lwz r3, lbl_805A93A8@sda21(r13) +/* 8030B1B4 00308114 38 9F 00 0C */ addi r4, r31, 0xc +/* 8030B1B8 00308118 38 A0 00 0C */ li r5, 0xc +/* 8030B1BC 0030811C 38 63 00 0C */ addi r3, r3, 0xc +/* 8030B1C0 00308120 90 6D A7 E8 */ stw r3, lbl_805A93A8@sda21(r13) +/* 8030B1C4 00308124 4B CF 82 CD */ bl memcpy +/* 8030B1C8 00308128 80 6D A7 E8 */ lwz r3, lbl_805A93A8@sda21(r13) +/* 8030B1CC 0030812C 38 03 00 0C */ addi r0, r3, 0xc +/* 8030B1D0 00308130 90 0D A7 E8 */ stw r0, lbl_805A93A8@sda21(r13) +lbl_8030B1D4: +/* 8030B1D4 00308134 88 1F 00 2E */ lbz r0, 0x2e(r31) +/* 8030B1D8 00308138 54 00 07 7B */ rlwinm. r0, r0, 0, 0x1d, 0x1d +/* 8030B1DC 0030813C 41 82 00 5C */ beq lbl_8030B238 +/* 8030B1E0 00308140 80 CD A7 EC */ lwz r6, lbl_805A93AC@sda21(r13) +/* 8030B1E4 00308144 3C 60 80 5A */ lis r3, lbl_805A6170@ha +/* 8030B1E8 00308148 38 83 61 70 */ addi r4, r3, lbl_805A6170@l +/* 8030B1EC 0030814C 38 A0 00 08 */ li r5, 8 +/* 8030B1F0 00308150 38 66 00 08 */ addi r3, r6, 8 +/* 8030B1F4 00308154 90 6D A7 EC */ stw r3, lbl_805A93AC@sda21(r13) +/* 8030B1F8 00308158 38 84 00 18 */ addi r4, r4, 0x18 +/* 8030B1FC 0030815C 4B CF 82 95 */ bl memcpy +/* 8030B200 00308160 80 AD A7 EC */ lwz r5, lbl_805A93AC@sda21(r13) +/* 8030B204 00308164 3C 60 80 5A */ lis r3, lbl_805A6170@ha +/* 8030B208 00308168 80 CD A7 F0 */ lwz r6, lbl_805A93B0@sda21(r13) +/* 8030B20C 0030816C 38 83 61 70 */ addi r4, r3, lbl_805A6170@l +/* 8030B210 00308170 38 05 00 08 */ addi r0, r5, 8 +/* 8030B214 00308174 38 A0 00 08 */ li r5, 8 +/* 8030B218 00308178 38 66 00 08 */ addi r3, r6, 8 +/* 8030B21C 0030817C 90 0D A7 EC */ stw r0, lbl_805A93AC@sda21(r13) +/* 8030B220 00308180 38 84 00 20 */ addi r4, r4, 0x20 +/* 8030B224 00308184 90 6D A7 F0 */ stw r3, lbl_805A93B0@sda21(r13) +/* 8030B228 00308188 4B CF 82 69 */ bl memcpy +/* 8030B22C 0030818C 80 6D A7 F0 */ lwz r3, lbl_805A93B0@sda21(r13) +/* 8030B230 00308190 38 03 00 08 */ addi r0, r3, 8 +/* 8030B234 00308194 90 0D A7 F0 */ stw r0, lbl_805A93B0@sda21(r13) +lbl_8030B238: +/* 8030B238 00308198 88 1F 00 2E */ lbz r0, 0x2e(r31) +/* 8030B23C 0030819C 54 00 07 BD */ rlwinm. r0, r0, 0, 0x1e, 0x1e +/* 8030B240 003081A0 41 82 00 2C */ beq lbl_8030B26C +/* 8030B244 003081A4 80 8D A7 F4 */ lwz r4, lbl_805A93B4@sda21(r13) +/* 8030B248 003081A8 3C 60 80 5A */ lis r3, lbl_805A6170@ha +/* 8030B24C 003081AC 38 63 61 70 */ addi r3, r3, lbl_805A6170@l +/* 8030B250 003081B0 38 84 00 04 */ addi r4, r4, 4 +/* 8030B254 003081B4 80 03 00 28 */ lwz r0, 0x28(r3) +/* 8030B258 003081B8 90 8D A7 F4 */ stw r4, lbl_805A93B4@sda21(r13) +/* 8030B25C 003081BC 90 04 00 00 */ stw r0, 0(r4) +/* 8030B260 003081C0 80 6D A7 F4 */ lwz r3, lbl_805A93B4@sda21(r13) +/* 8030B264 003081C4 38 03 00 04 */ addi r0, r3, 4 +/* 8030B268 003081C8 90 0D A7 F4 */ stw r0, lbl_805A93B4@sda21(r13) +lbl_8030B26C: +/* 8030B26C 003081CC 80 6D A7 FC */ lwz r3, lbl_805A93BC@sda21(r13) +/* 8030B270 003081D0 38 03 00 02 */ addi r0, r3, 2 +/* 8030B274 003081D4 90 0D A7 FC */ stw r0, lbl_805A93BC@sda21(r13) +lbl_8030B278: +/* 8030B278 003081D8 38 00 00 01 */ li r0, 1 +/* 8030B27C 003081DC 98 0D A7 D4 */ stb r0, lbl_805A9394@sda21(r13) +lbl_8030B280: +/* 8030B280 003081E0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030B284 003081E4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8030B288 003081E8 7C 08 03 A6 */ mtlr r0 +/* 8030B28C 003081EC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030B290 003081F0 4E 80 00 20 */ blr + +.global UpdateVertexDataStream__9CGraphicsFv +UpdateVertexDataStream__9CGraphicsFv: +/* 8030B294 003081F4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030B298 003081F8 7C 08 02 A6 */ mflr r0 +/* 8030B29C 003081FC 3C 60 80 5A */ lis r3, lbl_805A6170@ha +/* 8030B2A0 00308200 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030B2A4 00308204 38 A3 61 70 */ addi r5, r3, lbl_805A6170@l +/* 8030B2A8 00308208 80 8D A7 FC */ lwz r4, lbl_805A93BC@sda21(r13) +/* 8030B2AC 0030820C 80 6D A7 E4 */ lwz r3, lbl_805A93A4@sda21(r13) +/* 8030B2B0 00308210 38 04 00 01 */ addi r0, r4, 1 +/* 8030B2B4 00308214 C0 05 00 00 */ lfs f0, 0(r5) +/* 8030B2B8 00308218 90 0D A7 FC */ stw r0, lbl_805A93BC@sda21(r13) +/* 8030B2BC 0030821C D0 03 00 00 */ stfs f0, 0(r3) +/* 8030B2C0 00308220 C0 05 00 04 */ lfs f0, 4(r5) +/* 8030B2C4 00308224 80 6D A7 E4 */ lwz r3, lbl_805A93A4@sda21(r13) +/* 8030B2C8 00308228 D0 03 00 04 */ stfs f0, 4(r3) +/* 8030B2CC 0030822C C0 05 00 08 */ lfs f0, 8(r5) +/* 8030B2D0 00308230 80 6D A7 E4 */ lwz r3, lbl_805A93A4@sda21(r13) +/* 8030B2D4 00308234 D0 03 00 08 */ stfs f0, 8(r3) +/* 8030B2D8 00308238 88 05 00 2E */ lbz r0, 0x2e(r5) +/* 8030B2DC 0030823C 80 6D A7 E4 */ lwz r3, lbl_805A93A4@sda21(r13) +/* 8030B2E0 00308240 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 8030B2E4 00308244 38 63 00 0C */ addi r3, r3, 0xc +/* 8030B2E8 00308248 90 6D A7 E4 */ stw r3, lbl_805A93A4@sda21(r13) +/* 8030B2EC 0030824C 41 82 00 34 */ beq lbl_8030B320 +/* 8030B2F0 00308250 C0 05 00 0C */ lfs f0, 0xc(r5) +/* 8030B2F4 00308254 80 6D A7 E8 */ lwz r3, lbl_805A93A8@sda21(r13) +/* 8030B2F8 00308258 D0 03 00 00 */ stfs f0, 0(r3) +/* 8030B2FC 0030825C C0 05 00 10 */ lfs f0, 0x10(r5) +/* 8030B300 00308260 80 6D A7 E8 */ lwz r3, lbl_805A93A8@sda21(r13) +/* 8030B304 00308264 D0 03 00 04 */ stfs f0, 4(r3) +/* 8030B308 00308268 C0 05 00 14 */ lfs f0, 0x14(r5) +/* 8030B30C 0030826C 80 6D A7 E8 */ lwz r3, lbl_805A93A8@sda21(r13) +/* 8030B310 00308270 D0 03 00 08 */ stfs f0, 8(r3) +/* 8030B314 00308274 80 6D A7 E8 */ lwz r3, lbl_805A93A8@sda21(r13) +/* 8030B318 00308278 38 03 00 0C */ addi r0, r3, 0xc +/* 8030B31C 0030827C 90 0D A7 E8 */ stw r0, lbl_805A93A8@sda21(r13) +lbl_8030B320: +/* 8030B320 00308280 88 05 00 2E */ lbz r0, 0x2e(r5) +/* 8030B324 00308284 54 00 07 7B */ rlwinm. r0, r0, 0, 0x1d, 0x1d +/* 8030B328 00308288 41 82 00 54 */ beq lbl_8030B37C +/* 8030B32C 0030828C 3C 80 80 5A */ lis r4, lbl_805A6170@ha +/* 8030B330 00308290 80 6D A7 EC */ lwz r3, lbl_805A93AC@sda21(r13) +/* 8030B334 00308294 38 84 61 70 */ addi r4, r4, lbl_805A6170@l +/* 8030B338 00308298 C0 04 00 18 */ lfs f0, 0x18(r4) +/* 8030B33C 0030829C D0 03 00 00 */ stfs f0, 0(r3) +/* 8030B340 003082A0 C0 04 00 1C */ lfs f0, 0x1c(r4) +/* 8030B344 003082A4 80 6D A7 EC */ lwz r3, lbl_805A93AC@sda21(r13) +/* 8030B348 003082A8 D0 03 00 04 */ stfs f0, 4(r3) +/* 8030B34C 003082AC 80 6D A7 EC */ lwz r3, lbl_805A93AC@sda21(r13) +/* 8030B350 003082B0 C0 04 00 20 */ lfs f0, 0x20(r4) +/* 8030B354 003082B4 38 03 00 08 */ addi r0, r3, 8 +/* 8030B358 003082B8 80 6D A7 F0 */ lwz r3, lbl_805A93B0@sda21(r13) +/* 8030B35C 003082BC 90 0D A7 EC */ stw r0, lbl_805A93AC@sda21(r13) +/* 8030B360 003082C0 D0 03 00 00 */ stfs f0, 0(r3) +/* 8030B364 003082C4 C0 04 00 24 */ lfs f0, 0x24(r4) +/* 8030B368 003082C8 80 6D A7 F0 */ lwz r3, lbl_805A93B0@sda21(r13) +/* 8030B36C 003082CC D0 03 00 04 */ stfs f0, 4(r3) +/* 8030B370 003082D0 80 6D A7 F0 */ lwz r3, lbl_805A93B0@sda21(r13) +/* 8030B374 003082D4 38 03 00 08 */ addi r0, r3, 8 +/* 8030B378 003082D8 90 0D A7 F0 */ stw r0, lbl_805A93B0@sda21(r13) +lbl_8030B37C: +/* 8030B37C 003082DC 88 05 00 2E */ lbz r0, 0x2e(r5) +/* 8030B380 003082E0 54 00 07 BD */ rlwinm. r0, r0, 0, 0x1e, 0x1e +/* 8030B384 003082E4 41 82 00 24 */ beq lbl_8030B3A8 +/* 8030B388 003082E8 3C 80 80 5A */ lis r4, lbl_805A6170@ha +/* 8030B38C 003082EC 80 6D A7 F4 */ lwz r3, lbl_805A93B4@sda21(r13) +/* 8030B390 003082F0 38 84 61 70 */ addi r4, r4, lbl_805A6170@l +/* 8030B394 003082F4 80 04 00 28 */ lwz r0, 0x28(r4) +/* 8030B398 003082F8 90 03 00 00 */ stw r0, 0(r3) +/* 8030B39C 003082FC 80 6D A7 F4 */ lwz r3, lbl_805A93B4@sda21(r13) +/* 8030B3A0 00308300 38 03 00 04 */ addi r0, r3, 4 +/* 8030B3A4 00308304 90 0D A7 F4 */ stw r0, lbl_805A93B4@sda21(r13) +lbl_8030B3A8: +/* 8030B3A8 00308308 80 0D A7 FC */ lwz r0, lbl_805A93BC@sda21(r13) +/* 8030B3AC 0030830C 38 60 00 00 */ li r3, 0 +/* 8030B3B0 00308310 98 6D A7 D4 */ stb r3, lbl_805A9394@sda21(r13) +/* 8030B3B4 00308314 2C 00 00 F0 */ cmpwi r0, 0xf0 +/* 8030B3B8 00308318 40 82 00 10 */ bne lbl_8030B3C8 +/* 8030B3BC 0030831C 4B FF FC 79 */ bl FlushStream__9CGraphicsFv +/* 8030B3C0 00308320 38 60 00 00 */ li r3, 0 +/* 8030B3C4 00308324 4B FF FD 5D */ bl ResetVertexDataStream__9CGraphicsFb +lbl_8030B3C8: +/* 8030B3C8 00308328 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030B3CC 0030832C 7C 08 03 A6 */ mtlr r0 +/* 8030B3D0 00308330 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030B3D4 00308334 4E 80 00 20 */ blr + +.global SetLineWidth__9CGraphicsFf13ERglTexOffset +SetLineWidth__9CGraphicsFf13ERglTexOffset: +/* 8030B3D8 00308338 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030B3DC 0030833C 7C 08 02 A6 */ mflr r0 +/* 8030B3E0 00308340 C0 02 C8 00 */ lfs f0, lbl_805AE520@sda21(r2) +/* 8030B3E4 00308344 7C 64 1B 78 */ mr r4, r3 +/* 8030B3E8 00308348 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030B3EC 0030834C EC 00 00 72 */ fmuls f0, f0, f1 +/* 8030B3F0 00308350 FC 00 00 1E */ fctiwz f0, f0 +/* 8030B3F4 00308354 D8 01 00 08 */ stfd f0, 8(r1) +/* 8030B3F8 00308358 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8030B3FC 0030835C 4B FF D0 BD */ bl SetLineWidth__3CGXFUc12_GXTexOffset +/* 8030B400 00308360 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030B404 00308364 7C 08 03 A6 */ mtlr r0 +/* 8030B408 00308368 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030B40C 0030836C 4E 80 00 20 */ blr + +.global StreamEnd__9CGraphicsFv +StreamEnd__9CGraphicsFv: +/* 8030B410 00308370 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030B414 00308374 7C 08 02 A6 */ mflr r0 +/* 8030B418 00308378 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030B41C 0030837C 80 0D A7 FC */ lwz r0, lbl_805A93BC@sda21(r13) +/* 8030B420 00308380 2C 00 00 00 */ cmpwi r0, 0 +/* 8030B424 00308384 41 82 00 08 */ beq lbl_8030B42C +/* 8030B428 00308388 4B FF FC 0D */ bl FlushStream__9CGraphicsFv +lbl_8030B42C: +/* 8030B42C 0030838C 3C 60 80 5A */ lis r3, lbl_805A6170@ha +/* 8030B430 00308390 38 00 00 00 */ li r0, 0 +/* 8030B434 00308394 38 63 61 70 */ addi r3, r3, lbl_805A6170@l +/* 8030B438 00308398 90 0D A7 C0 */ stw r0, lbl_805A9380@sda21(r13) +/* 8030B43C 0030839C 98 03 00 2E */ stb r0, 0x2e(r3) +/* 8030B440 003083A0 B0 03 00 2C */ sth r0, 0x2c(r3) +/* 8030B444 003083A4 90 0D A7 C4 */ stw r0, lbl_805A9384@sda21(r13) +/* 8030B448 003083A8 90 0D A7 C8 */ stw r0, lbl_805A9388@sda21(r13) +/* 8030B44C 003083AC 90 0D A7 CC */ stw r0, lbl_805A938C@sda21(r13) +/* 8030B450 003083B0 90 0D A7 D0 */ stw r0, lbl_805A9390@sda21(r13) +/* 8030B454 003083B4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030B458 003083B8 7C 08 03 A6 */ mtlr r0 +/* 8030B45C 003083BC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030B460 003083C0 4E 80 00 20 */ blr + +.global StreamTexcoord__9CGraphicsFff +StreamTexcoord__9CGraphicsFff: +/* 8030B464 003083C4 3C 80 80 5A */ lis r4, lbl_805A6170@ha +/* 8030B468 003083C8 88 62 C8 04 */ lbz r3, lbl_805AE524@sda21(r2) +/* 8030B46C 003083CC 38 A4 61 70 */ addi r5, r4, lbl_805A6170@l +/* 8030B470 003083D0 88 85 00 2E */ lbz r4, 0x2e(r5) +/* 8030B474 003083D4 A0 05 00 2C */ lhz r0, 0x2c(r5) +/* 8030B478 003083D8 7C 83 1B 78 */ or r3, r4, r3 +/* 8030B47C 003083DC D0 25 00 18 */ stfs f1, 0x18(r5) +/* 8030B480 003083E0 60 00 00 01 */ ori r0, r0, 1 +/* 8030B484 003083E4 D0 45 00 1C */ stfs f2, 0x1c(r5) +/* 8030B488 003083E8 98 65 00 2E */ stb r3, 0x2e(r5) +/* 8030B48C 003083EC B0 05 00 2C */ sth r0, 0x2c(r5) +/* 8030B490 003083F0 4E 80 00 20 */ blr + +.global StreamTexcoord__9CGraphicsFRC9CVector2f +StreamTexcoord__9CGraphicsFRC9CVector2f: +/* 8030B494 003083F4 3C A0 80 5A */ lis r5, lbl_805A6170@ha +/* 8030B498 003083F8 88 82 C8 04 */ lbz r4, lbl_805AE524@sda21(r2) +/* 8030B49C 003083FC 38 C5 61 70 */ addi r6, r5, lbl_805A6170@l +/* 8030B4A0 00308400 C0 23 00 00 */ lfs f1, 0(r3) +/* 8030B4A4 00308404 A0 06 00 2C */ lhz r0, 0x2c(r6) +/* 8030B4A8 00308408 C0 03 00 04 */ lfs f0, 4(r3) +/* 8030B4AC 0030840C 88 A6 00 2E */ lbz r5, 0x2e(r6) +/* 8030B4B0 00308410 60 00 00 01 */ ori r0, r0, 1 +/* 8030B4B4 00308414 D0 26 00 18 */ stfs f1, 0x18(r6) +/* 8030B4B8 00308418 7C A3 23 78 */ or r3, r5, r4 +/* 8030B4BC 0030841C D0 06 00 1C */ stfs f0, 0x1c(r6) +/* 8030B4C0 00308420 98 66 00 2E */ stb r3, 0x2e(r6) +/* 8030B4C4 00308424 B0 06 00 2C */ sth r0, 0x2c(r6) +/* 8030B4C8 00308428 4E 80 00 20 */ blr + +.global StreamColor__9CGraphicsFffff +StreamColor__9CGraphicsFffff: +/* 8030B4CC 0030842C C0 A2 C8 08 */ lfs f5, lbl_805AE528@sda21(r2) +/* 8030B4D0 00308430 3C 60 80 5A */ lis r3, lbl_805A6170@ha +/* 8030B4D4 00308434 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8030B4D8 00308438 38 83 61 70 */ addi r4, r3, lbl_805A6170@l +/* 8030B4DC 0030843C EC 05 00 B2 */ fmuls f0, f5, f2 +/* 8030B4E0 00308440 88 02 C8 05 */ lbz r0, lbl_805AE525@sda21(r2) +/* 8030B4E4 00308444 EC 25 00 72 */ fmuls f1, f5, f1 +/* 8030B4E8 00308448 88 64 00 2E */ lbz r3, 0x2e(r4) +/* 8030B4EC 0030844C EC 45 00 F2 */ fmuls f2, f5, f3 +/* 8030B4F0 00308450 FC 00 00 1E */ fctiwz f0, f0 +/* 8030B4F4 00308454 FC 20 08 1E */ fctiwz f1, f1 +/* 8030B4F8 00308458 7C 60 03 78 */ or r0, r3, r0 +/* 8030B4FC 0030845C FC 40 10 1E */ fctiwz f2, f2 +/* 8030B500 00308460 98 04 00 2E */ stb r0, 0x2e(r4) +/* 8030B504 00308464 EC 65 01 32 */ fmuls f3, f5, f4 +/* 8030B508 00308468 D8 01 00 20 */ stfd f0, 0x20(r1) +/* 8030B50C 0030846C D8 21 00 18 */ stfd f1, 0x18(r1) +/* 8030B510 00308470 FC 00 18 1E */ fctiwz f0, f3 +/* 8030B514 00308474 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8030B518 00308478 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 8030B51C 0030847C 54 00 82 1E */ rlwinm r0, r0, 0x10, 8, 0xf +/* 8030B520 00308480 D8 41 00 10 */ stfd f2, 0x10(r1) +/* 8030B524 00308484 50 60 C0 0E */ rlwimi r0, r3, 0x18, 0, 7 +/* 8030B528 00308488 80 61 00 14 */ lwz r3, 0x14(r1) +/* 8030B52C 0030848C D8 01 00 08 */ stfd f0, 8(r1) +/* 8030B530 00308490 50 60 44 2E */ rlwimi r0, r3, 8, 0x10, 0x17 +/* 8030B534 00308494 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8030B538 00308498 50 60 06 3E */ rlwimi r0, r3, 0, 0x18, 0x1f +/* 8030B53C 0030849C 90 04 00 28 */ stw r0, 0x28(r4) +/* 8030B540 003084A0 38 21 00 30 */ addi r1, r1, 0x30 +/* 8030B544 003084A4 4E 80 00 20 */ blr + +.global StreamColor__9CGraphicsFRC6CColor +StreamColor__9CGraphicsFRC6CColor: +/* 8030B548 003084A8 3C 80 80 5A */ lis r4, lbl_805A6170@ha +/* 8030B54C 003084AC 88 02 C8 05 */ lbz r0, lbl_805AE525@sda21(r2) +/* 8030B550 003084B0 38 84 61 70 */ addi r4, r4, lbl_805A6170@l +/* 8030B554 003084B4 80 A3 00 00 */ lwz r5, 0(r3) +/* 8030B558 003084B8 88 64 00 2E */ lbz r3, 0x2e(r4) +/* 8030B55C 003084BC 90 A4 00 28 */ stw r5, 0x28(r4) +/* 8030B560 003084C0 7C 60 03 78 */ or r0, r3, r0 +/* 8030B564 003084C4 98 04 00 2E */ stb r0, 0x2e(r4) +/* 8030B568 003084C8 4E 80 00 20 */ blr + +.global StreamColor__9CGraphicsFUi +StreamColor__9CGraphicsFUi: +/* 8030B56C 003084CC 3C 80 80 5A */ lis r4, lbl_805A6170@ha +/* 8030B570 003084D0 88 02 C8 05 */ lbz r0, lbl_805AE525@sda21(r2) +/* 8030B574 003084D4 38 A4 61 70 */ addi r5, r4, lbl_805A6170@l +/* 8030B578 003084D8 88 85 00 2E */ lbz r4, 0x2e(r5) +/* 8030B57C 003084DC 90 65 00 28 */ stw r3, 0x28(r5) +/* 8030B580 003084E0 7C 80 03 78 */ or r0, r4, r0 +/* 8030B584 003084E4 98 05 00 2E */ stb r0, 0x2e(r5) +/* 8030B588 003084E8 4E 80 00 20 */ blr + +.global StreamNormal__9CGraphicsFPCf +StreamNormal__9CGraphicsFPCf: +/* 8030B58C 003084EC 3C 80 80 5A */ lis r4, lbl_805A6170@ha +/* 8030B590 003084F0 88 02 C8 0C */ lbz r0, lbl_805AE52C@sda21(r2) +/* 8030B594 003084F4 38 A4 61 70 */ addi r5, r4, lbl_805A6170@l +/* 8030B598 003084F8 C0 43 00 00 */ lfs f2, 0(r3) +/* 8030B59C 003084FC 88 85 00 2E */ lbz r4, 0x2e(r5) +/* 8030B5A0 00308500 C0 23 00 04 */ lfs f1, 4(r3) +/* 8030B5A4 00308504 C0 03 00 08 */ lfs f0, 8(r3) +/* 8030B5A8 00308508 7C 80 03 78 */ or r0, r4, r0 +/* 8030B5AC 0030850C D0 45 00 0C */ stfs f2, 0xc(r5) +/* 8030B5B0 00308510 D0 25 00 10 */ stfs f1, 0x10(r5) +/* 8030B5B4 00308514 D0 05 00 14 */ stfs f0, 0x14(r5) +/* 8030B5B8 00308518 98 05 00 2E */ stb r0, 0x2e(r5) +/* 8030B5BC 0030851C 4E 80 00 20 */ blr + +.global StreamVertex__9CGraphicsFRC9CVector3f +StreamVertex__9CGraphicsFRC9CVector3f: +/* 8030B5C0 00308520 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030B5C4 00308524 7C 08 02 A6 */ mflr r0 +/* 8030B5C8 00308528 3C 80 80 5A */ lis r4, lbl_805A6170@ha +/* 8030B5CC 0030852C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030B5D0 00308530 C0 43 00 00 */ lfs f2, 0(r3) +/* 8030B5D4 00308534 C0 23 00 04 */ lfs f1, 4(r3) +/* 8030B5D8 00308538 D4 44 61 70 */ stfsu f2, lbl_805A6170@l(r4) +/* 8030B5DC 0030853C C0 03 00 08 */ lfs f0, 8(r3) +/* 8030B5E0 00308540 D0 24 00 04 */ stfs f1, 4(r4) +/* 8030B5E4 00308544 D0 04 00 08 */ stfs f0, 8(r4) +/* 8030B5E8 00308548 4B FF FC AD */ bl UpdateVertexDataStream__9CGraphicsFv +/* 8030B5EC 0030854C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030B5F0 00308550 7C 08 03 A6 */ mtlr r0 +/* 8030B5F4 00308554 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030B5F8 00308558 4E 80 00 20 */ blr + +.global StreamVertex__9CGraphicsFPCf +StreamVertex__9CGraphicsFPCf: +/* 8030B5FC 0030855C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030B600 00308560 7C 08 02 A6 */ mflr r0 +/* 8030B604 00308564 3C 80 80 5A */ lis r4, lbl_805A6170@ha +/* 8030B608 00308568 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030B60C 0030856C C0 43 00 00 */ lfs f2, 0(r3) +/* 8030B610 00308570 C0 23 00 04 */ lfs f1, 4(r3) +/* 8030B614 00308574 D4 44 61 70 */ stfsu f2, lbl_805A6170@l(r4) +/* 8030B618 00308578 C0 03 00 08 */ lfs f0, 8(r3) +/* 8030B61C 0030857C D0 24 00 04 */ stfs f1, 4(r4) +/* 8030B620 00308580 D0 04 00 08 */ stfs f0, 8(r4) +/* 8030B624 00308584 4B FF FC 71 */ bl UpdateVertexDataStream__9CGraphicsFv +/* 8030B628 00308588 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030B62C 0030858C 7C 08 03 A6 */ mtlr r0 +/* 8030B630 00308590 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030B634 00308594 4E 80 00 20 */ blr + +.global StreamVertex__9CGraphicsFfff +StreamVertex__9CGraphicsFfff: +/* 8030B638 00308598 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030B63C 0030859C 7C 08 02 A6 */ mflr r0 +/* 8030B640 003085A0 3C 60 80 5A */ lis r3, lbl_805A6170@ha +/* 8030B644 003085A4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030B648 003085A8 D4 23 61 70 */ stfsu f1, lbl_805A6170@l(r3) +/* 8030B64C 003085AC D0 43 00 04 */ stfs f2, 4(r3) +/* 8030B650 003085B0 D0 63 00 08 */ stfs f3, 8(r3) +/* 8030B654 003085B4 4B FF FC 41 */ bl UpdateVertexDataStream__9CGraphicsFv +/* 8030B658 003085B8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030B65C 003085BC 7C 08 03 A6 */ mtlr r0 +/* 8030B660 003085C0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030B664 003085C4 4E 80 00 20 */ blr + +.global StreamBegin__9CGraphicsF13ERglPrimitive +StreamBegin__9CGraphicsF13ERglPrimitive: +/* 8030B668 003085C8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030B66C 003085CC 7C 08 02 A6 */ mflr r0 +/* 8030B670 003085D0 3C C0 E0 00 */ lis r6, 0xE0000788@ha +/* 8030B674 003085D4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030B678 003085D8 38 A6 07 88 */ addi r5, r6, 0xE0000788@l +/* 8030B67C 003085DC 38 86 0F 10 */ addi r4, r6, 0xf10 +/* 8030B680 003085E0 38 06 16 98 */ addi r0, r6, 0x1698 +/* 8030B684 003085E4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8030B688 003085E8 7C 7F 1B 78 */ mr r31, r3 +/* 8030B68C 003085EC 38 66 03 C4 */ addi r3, r6, 0x3c4 +/* 8030B690 003085F0 90 6D A7 C4 */ stw r3, lbl_805A9384@sda21(r13) +/* 8030B694 003085F4 38 60 00 01 */ li r3, 1 +/* 8030B698 003085F8 90 CD A7 C0 */ stw r6, lbl_805A9380@sda21(r13) +/* 8030B69C 003085FC 90 AD A7 C8 */ stw r5, lbl_805A9388@sda21(r13) +/* 8030B6A0 00308600 90 8D A7 CC */ stw r4, lbl_805A938C@sda21(r13) +/* 8030B6A4 00308604 90 0D A7 D0 */ stw r0, lbl_805A9390@sda21(r13) +/* 8030B6A8 00308608 4B FF FA 79 */ bl ResetVertexDataStream__9CGraphicsFb +/* 8030B6AC 0030860C 3C 60 80 5A */ lis r3, lbl_805A6170@ha +/* 8030B6B0 00308610 38 00 00 02 */ li r0, 2 +/* 8030B6B4 00308614 38 63 61 70 */ addi r3, r3, lbl_805A6170@l +/* 8030B6B8 00308618 93 ED 9C 74 */ stw r31, lbl_805A8834@sda21(r13) +/* 8030B6BC 0030861C 98 03 00 2E */ stb r0, 0x2e(r3) +/* 8030B6C0 00308620 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8030B6C4 00308624 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030B6C8 00308628 7C 08 03 A6 */ mtlr r0 +/* 8030B6CC 0030862C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030B6D0 00308630 4E 80 00 20 */ blr + +.global DrawPrimitive__9CGraphicsF13ERglPrimitivePCfRC9CVector3fRC6CColori +DrawPrimitive__9CGraphicsF13ERglPrimitivePCfRC9CVector3fRC6CColori: +/* 8030B6D4 00308634 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8030B6D8 00308638 7C 08 02 A6 */ mflr r0 +/* 8030B6DC 0030863C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8030B6E0 00308640 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8030B6E4 00308644 7C BF 2B 78 */ mr r31, r5 +/* 8030B6E8 00308648 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8030B6EC 0030864C 7C DE 33 78 */ mr r30, r6 +/* 8030B6F0 00308650 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8030B6F4 00308654 7C FD 3B 78 */ mr r29, r7 +/* 8030B6F8 00308658 93 81 00 10 */ stw r28, 0x10(r1) +/* 8030B6FC 0030865C 7C 9C 23 78 */ mr r28, r4 +/* 8030B700 00308660 4B FF FF 69 */ bl StreamBegin__9CGraphicsF13ERglPrimitive +/* 8030B704 00308664 7F E3 FB 78 */ mr r3, r31 +/* 8030B708 00308668 4B FF FE 85 */ bl StreamNormal__9CGraphicsFPCf +/* 8030B70C 0030866C 7F C3 F3 78 */ mr r3, r30 +/* 8030B710 00308670 4B FF FE 39 */ bl StreamColor__9CGraphicsFRC6CColor +/* 8030B714 00308674 7F 9F E3 78 */ mr r31, r28 +/* 8030B718 00308678 3B C0 00 00 */ li r30, 0 +/* 8030B71C 0030867C 48 00 00 14 */ b lbl_8030B730 +lbl_8030B720: +/* 8030B720 00308680 7F E3 FB 78 */ mr r3, r31 +/* 8030B724 00308684 4B FF FE D9 */ bl StreamVertex__9CGraphicsFPCf +/* 8030B728 00308688 3B FF 00 0C */ addi r31, r31, 0xc +/* 8030B72C 0030868C 3B DE 00 01 */ addi r30, r30, 1 +lbl_8030B730: +/* 8030B730 00308690 7C 1E E8 00 */ cmpw r30, r29 +/* 8030B734 00308694 41 80 FF EC */ blt lbl_8030B720 +/* 8030B738 00308698 4B FF FC D9 */ bl StreamEnd__9CGraphicsFv +/* 8030B73C 0030869C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8030B740 003086A0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8030B744 003086A4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8030B748 003086A8 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8030B74C 003086AC 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8030B750 003086B0 7C 08 03 A6 */ mtlr r0 +/* 8030B754 003086B4 38 21 00 20 */ addi r1, r1, 0x20 +/* 8030B758 003086B8 4E 80 00 20 */ blr + +.global Render2D__9CGraphicsFRC8CTextureiiiiRC6CColor +Render2D__9CGraphicsFRC8CTextureiiiiRC6CColor: +/* 8030B75C 003086BC 94 21 FE E0 */ stwu r1, -0x120(r1) +/* 8030B760 003086C0 7C 08 02 A6 */ mflr r0 +/* 8030B764 003086C4 90 01 01 24 */ stw r0, 0x124(r1) +/* 8030B768 003086C8 DB E1 01 10 */ stfd f31, 0x110(r1) +/* 8030B76C 003086CC F3 E1 01 18 */ psq_st f31, 280(r1), 0, qr0 +/* 8030B770 003086D0 DB C1 01 00 */ stfd f30, 0x100(r1) +/* 8030B774 003086D4 F3 C1 01 08 */ psq_st f30, 264(r1), 0, qr0 +/* 8030B778 003086D8 DB A1 00 F0 */ stfd f29, 0xf0(r1) +/* 8030B77C 003086DC F3 A1 00 F8 */ psq_st f29, 248(r1), 0, qr0 +/* 8030B780 003086E0 DB 81 00 E0 */ stfd f28, 0xe0(r1) +/* 8030B784 003086E4 F3 81 00 E8 */ psq_st f28, 232(r1), 0, qr0 +/* 8030B788 003086E8 BF 21 00 C4 */ stmw r25, 0xc4(r1) +/* 8030B78C 003086EC 3D 20 80 3F */ lis r9, lbl_803ED910@ha +/* 8030B790 003086F0 3D 40 43 30 */ lis r10, 0x4330 +/* 8030B794 003086F4 3B E9 D9 10 */ addi r31, r9, lbl_803ED910@l +/* 8030B798 003086F8 7C 7B 1B 78 */ mr r27, r3 +/* 8030B79C 003086FC 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 8030B7A0 00308700 7C 9C 23 78 */ mr r28, r4 +/* 8030B7A4 00308704 81 9F 00 08 */ lwz r12, 8(r31) +/* 8030B7A8 00308708 7C BD 2B 78 */ mr r29, r5 +/* 8030B7AC 0030870C 54 60 0F FE */ srwi r0, r3, 0x1f +/* 8030B7B0 00308710 7D 23 00 D0 */ neg r9, r3 +/* 8030B7B4 00308714 7C 60 1A 14 */ add r3, r0, r3 +/* 8030B7B8 00308718 7C 8C 00 D0 */ neg r4, r12 +/* 8030B7BC 0030871C 55 25 0F FE */ srwi r5, r9, 0x1f +/* 8030B7C0 00308720 55 80 0F FE */ srwi r0, r12, 0x1f +/* 8030B7C4 00308724 7C 6B 0E 70 */ srawi r11, r3, 1 +/* 8030B7C8 00308728 54 83 0F FE */ srwi r3, r4, 0x1f +/* 8030B7CC 0030872C 7C A5 4A 14 */ add r5, r5, r9 +/* 8030B7D0 00308730 7C 00 62 14 */ add r0, r0, r12 +/* 8030B7D4 00308734 7C A5 0E 70 */ srawi r5, r5, 1 +/* 8030B7D8 00308738 7C 63 22 14 */ add r3, r3, r4 +/* 8030B7DC 0030873C 7C 63 0E 70 */ srawi r3, r3, 1 +/* 8030B7E0 00308740 6D 69 80 00 */ xoris r9, r11, 0x8000 +/* 8030B7E4 00308744 7C 00 0E 70 */ srawi r0, r0, 1 +/* 8030B7E8 00308748 6C A5 80 00 */ xoris r5, r5, 0x8000 +/* 8030B7EC 0030874C 6C 64 80 00 */ xoris r4, r3, 0x8000 +/* 8030B7F0 00308750 91 21 00 7C */ stw r9, 0x7c(r1) +/* 8030B7F4 00308754 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8030B7F8 00308758 C8 82 C7 E8 */ lfd f4, lbl_805AE508@sda21(r2) +/* 8030B7FC 0030875C 91 41 00 78 */ stw r10, 0x78(r1) +/* 8030B800 00308760 7C D9 33 78 */ mr r25, r6 +/* 8030B804 00308764 C0 A2 C8 14 */ lfs f5, lbl_805AE534@sda21(r2) +/* 8030B808 00308768 7C FA 3B 78 */ mr r26, r7 +/* 8030B80C 0030876C C8 01 00 78 */ lfd f0, 0x78(r1) +/* 8030B810 00308770 7D 1E 43 78 */ mr r30, r8 +/* 8030B814 00308774 90 A1 00 84 */ stw r5, 0x84(r1) +/* 8030B818 00308778 38 61 00 38 */ addi r3, r1, 0x38 +/* 8030B81C 0030877C EC 20 20 28 */ fsubs f1, f0, f4 +/* 8030B820 00308780 C0 C2 C8 18 */ lfs f6, lbl_805AE538@sda21(r2) +/* 8030B824 00308784 91 41 00 80 */ stw r10, 0x80(r1) +/* 8030B828 00308788 C8 01 00 80 */ lfd f0, 0x80(r1) +/* 8030B82C 0030878C 90 81 00 8C */ stw r4, 0x8c(r1) +/* 8030B830 00308790 EC 40 20 28 */ fsubs f2, f0, f4 +/* 8030B834 00308794 91 41 00 88 */ stw r10, 0x88(r1) +/* 8030B838 00308798 C8 01 00 88 */ lfd f0, 0x88(r1) +/* 8030B83C 0030879C 90 01 00 94 */ stw r0, 0x94(r1) +/* 8030B840 003087A0 EC 60 20 28 */ fsubs f3, f0, f4 +/* 8030B844 003087A4 91 41 00 90 */ stw r10, 0x90(r1) +/* 8030B848 003087A8 C8 01 00 90 */ lfd f0, 0x90(r1) +/* 8030B84C 003087AC EC 80 20 28 */ fsubs f4, f0, f4 +/* 8030B850 003087B0 48 07 1D 69 */ bl C_MTXOrtho +/* 8030B854 003087B4 38 61 00 38 */ addi r3, r1, 0x38 +/* 8030B858 003087B8 38 80 00 01 */ li r4, 1 +/* 8030B85C 003087BC 48 07 09 E9 */ bl GXSetProjection +/* 8030B860 003087C0 83 DE 00 00 */ lwz r30, 0(r30) +/* 8030B864 003087C4 38 61 00 08 */ addi r3, r1, 8 +/* 8030B868 003087C8 48 07 17 D9 */ bl PSMTXIdentity +/* 8030B86C 003087CC 38 61 00 08 */ addi r3, r1, 8 +/* 8030B870 003087D0 38 80 00 00 */ li r4, 0 +/* 8030B874 003087D4 48 07 0B 45 */ bl GXLoadPosMtxImm +/* 8030B878 003087D8 80 BF 00 08 */ lwz r5, 8(r31) +/* 8030B87C 003087DC 3C E0 43 30 */ lis r7, 0x4330 +/* 8030B880 003087E0 80 DF 00 0C */ lwz r6, 0xc(r31) +/* 8030B884 003087E4 6F 24 80 00 */ xoris r4, r25, 0x8000 +/* 8030B888 003087E8 54 A3 0F FE */ srwi r3, r5, 0x1f +/* 8030B88C 003087EC 6F 40 80 00 */ xoris r0, r26, 0x8000 +/* 8030B890 003087F0 7C 63 2A 14 */ add r3, r3, r5 +/* 8030B894 003087F4 54 C5 0F FE */ srwi r5, r6, 0x1f +/* 8030B898 003087F8 7C 68 0E 70 */ srawi r8, r3, 1 +/* 8030B89C 003087FC 90 E1 00 A0 */ stw r7, 0xa0(r1) +/* 8030B8A0 00308800 7C A5 32 14 */ add r5, r5, r6 +/* 8030B8A4 00308804 3C 60 80 3D */ lis r3, lbl_803D73C8@ha +/* 8030B8A8 00308808 7C A5 0E 70 */ srawi r5, r5, 1 +/* 8030B8AC 0030880C 7C C8 E0 50 */ subf r6, r8, r28 +/* 8030B8B0 00308810 7C A5 E8 50 */ subf r5, r5, r29 +/* 8030B8B4 00308814 90 E1 00 98 */ stw r7, 0x98(r1) +/* 8030B8B8 00308818 6C A5 80 00 */ xoris r5, r5, 0x8000 +/* 8030B8BC 0030881C 6C C6 80 00 */ xoris r6, r6, 0x8000 +/* 8030B8C0 00308820 90 A1 00 A4 */ stw r5, 0xa4(r1) +/* 8030B8C4 00308824 38 63 73 C8 */ addi r3, r3, lbl_803D73C8@l +/* 8030B8C8 00308828 C8 42 C7 E8 */ lfd f2, lbl_805AE508@sda21(r2) +/* 8030B8CC 0030882C 90 C1 00 9C */ stw r6, 0x9c(r1) +/* 8030B8D0 00308830 C8 01 00 A0 */ lfd f0, 0xa0(r1) +/* 8030B8D4 00308834 C8 21 00 98 */ lfd f1, 0x98(r1) +/* 8030B8D8 00308838 90 81 00 AC */ stw r4, 0xac(r1) +/* 8030B8DC 0030883C EF 80 10 28 */ fsubs f28, f0, f2 +/* 8030B8E0 00308840 EF A1 10 28 */ fsubs f29, f1, f2 +/* 8030B8E4 00308844 90 E1 00 A8 */ stw r7, 0xa8(r1) +/* 8030B8E8 00308848 C8 01 00 A8 */ lfd f0, 0xa8(r1) +/* 8030B8EC 0030884C 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 8030B8F0 00308850 EC 20 10 28 */ fsubs f1, f0, f2 +/* 8030B8F4 00308854 90 E1 00 B0 */ stw r7, 0xb0(r1) +/* 8030B8F8 00308858 C8 01 00 B0 */ lfd f0, 0xb0(r1) +/* 8030B8FC 0030885C EF FD 08 2A */ fadds f31, f29, f1 +/* 8030B900 00308860 EC 00 10 28 */ fsubs f0, f0, f2 +/* 8030B904 00308864 EF DC 00 2A */ fadds f30, f28, f0 +/* 8030B908 00308868 4B FF C5 21 */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList +/* 8030B90C 0030886C 38 60 00 06 */ li r3, 6 +/* 8030B910 00308870 4B FF F5 C1 */ bl SetTevStates__9CGraphicsFUc +/* 8030B914 00308874 88 0D A8 16 */ lbz r0, lbl_805A93D6@sda21(r13) +/* 8030B918 00308878 28 00 00 00 */ cmplwi r0, 0 +/* 8030B91C 0030887C 98 0D A8 17 */ stb r0, lbl_805A93D7@sda21(r13) +/* 8030B920 00308880 41 82 00 08 */ beq lbl_8030B928 +/* 8030B924 00308884 48 00 10 59 */ bl DisableAllLights__9CGraphicsFv +lbl_8030B928: +/* 8030B928 00308888 83 8D A7 D8 */ lwz r28, lbl_805A9398@sda21(r13) +/* 8030B92C 0030888C 38 60 00 00 */ li r3, 0 +/* 8030B930 00308890 48 00 01 41 */ bl SetCullMode__9CGraphicsF12ERglCullMode +/* 8030B934 00308894 7F 63 DB 78 */ mr r3, r27 +/* 8030B938 00308898 38 80 00 00 */ li r4, 0 +/* 8030B93C 0030889C 38 A0 00 01 */ li r5, 1 +/* 8030B940 003088A0 48 00 3D FD */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode +/* 8030B944 003088A4 38 60 00 98 */ li r3, 0x98 +/* 8030B948 003088A8 38 80 00 00 */ li r4, 0 +/* 8030B94C 003088AC 38 A0 00 04 */ li r5, 4 +/* 8030B950 003088B0 4B FF CC 35 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 8030B954 003088B4 3C 60 CC 01 */ lis r3, 0xCC008000@ha +/* 8030B958 003088B8 C0 22 C8 10 */ lfs f1, lbl_805AE530@sda21(r2) +/* 8030B95C 003088BC D3 A3 80 00 */ stfs f29, 0xCC008000@l(r3) +/* 8030B960 003088C0 C0 02 C7 F0 */ lfs f0, lbl_805AE510@sda21(r2) +/* 8030B964 003088C4 D3 83 80 00 */ stfs f28, 0xCC008000@l(r3) +/* 8030B968 003088C8 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8030B96C 003088CC 93 C3 80 00 */ stw r30, 0xCC008000@l(r3) +/* 8030B970 003088D0 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8030B974 003088D4 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8030B978 003088D8 D3 E3 80 00 */ stfs f31, 0xCC008000@l(r3) +/* 8030B97C 003088DC D3 83 80 00 */ stfs f28, 0xCC008000@l(r3) +/* 8030B980 003088E0 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8030B984 003088E4 93 C3 80 00 */ stw r30, 0xCC008000@l(r3) +/* 8030B988 003088E8 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8030B98C 003088EC D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8030B990 003088F0 D3 A3 80 00 */ stfs f29, 0xCC008000@l(r3) +/* 8030B994 003088F4 D3 C3 80 00 */ stfs f30, 0xCC008000@l(r3) +/* 8030B998 003088F8 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8030B99C 003088FC 93 C3 80 00 */ stw r30, 0xCC008000@l(r3) +/* 8030B9A0 00308900 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8030B9A4 00308904 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8030B9A8 00308908 D3 E3 80 00 */ stfs f31, 0xCC008000@l(r3) +/* 8030B9AC 0030890C D3 C3 80 00 */ stfs f30, 0xCC008000@l(r3) +/* 8030B9B0 00308910 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8030B9B4 00308914 93 C3 80 00 */ stw r30, 0xCC008000@l(r3) +/* 8030B9B8 00308918 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8030B9BC 0030891C D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8030B9C0 00308920 4B FF CB C1 */ bl End__3CGXFv +/* 8030B9C4 00308924 88 6D A8 17 */ lbz r3, lbl_805A93D7@sda21(r13) +/* 8030B9C8 00308928 28 03 00 00 */ cmplwi r3, 0 +/* 8030B9CC 0030892C 41 82 00 08 */ beq lbl_8030B9D4 +/* 8030B9D0 00308930 48 00 0F 01 */ bl SetLightState__9CGraphicsFUc +lbl_8030B9D4: +/* 8030B9D4 00308934 4B FF E4 95 */ bl FlushProjection__9CGraphicsFv +/* 8030B9D8 00308938 38 00 00 00 */ li r0, 0 +/* 8030B9DC 0030893C 3C 60 80 5A */ lis r3, lbl_805A6204@ha +/* 8030B9E0 00308940 98 0D 9C 80 */ stb r0, lbl_805A8840@sda21(r13) +/* 8030B9E4 00308944 38 63 62 04 */ addi r3, r3, lbl_805A6204@l +/* 8030B9E8 00308948 48 00 0B F9 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 8030B9EC 0030894C 7F 83 E3 78 */ mr r3, r28 +/* 8030B9F0 00308950 48 00 00 81 */ bl SetCullMode__9CGraphicsF12ERglCullMode +/* 8030B9F4 00308954 E3 E1 01 18 */ psq_l f31, 280(r1), 0, qr0 +/* 8030B9F8 00308958 CB E1 01 10 */ lfd f31, 0x110(r1) +/* 8030B9FC 0030895C E3 C1 01 08 */ psq_l f30, 264(r1), 0, qr0 +/* 8030BA00 00308960 CB C1 01 00 */ lfd f30, 0x100(r1) +/* 8030BA04 00308964 E3 A1 00 F8 */ psq_l f29, 248(r1), 0, qr0 +/* 8030BA08 00308968 CB A1 00 F0 */ lfd f29, 0xf0(r1) +/* 8030BA0C 0030896C E3 81 00 E8 */ psq_l f28, 232(r1), 0, qr0 +/* 8030BA10 00308970 CB 81 00 E0 */ lfd f28, 0xe0(r1) +/* 8030BA14 00308974 BB 21 00 C4 */ lmw r25, 0xc4(r1) +/* 8030BA18 00308978 80 01 01 24 */ lwz r0, 0x124(r1) +/* 8030BA1C 0030897C 7C 08 03 A6 */ mtlr r0 +/* 8030BA20 00308980 38 21 01 20 */ addi r1, r1, 0x120 +/* 8030BA24 00308984 4E 80 00 20 */ blr + +.global SetAlphaCompare__9CGraphicsF13ERglAlphaFuncUc11ERglAlphaOp13ERglAlphaFuncUc +SetAlphaCompare__9CGraphicsF13ERglAlphaFuncUc11ERglAlphaOp13ERglAlphaFuncUc: +/* 8030BA28 00308988 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030BA2C 0030898C 7C 08 02 A6 */ mflr r0 +/* 8030BA30 00308990 54 84 06 3E */ clrlwi r4, r4, 0x18 +/* 8030BA34 00308994 54 E7 06 3E */ clrlwi r7, r7, 0x18 +/* 8030BA38 00308998 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030BA3C 0030899C 4B FF CD D9 */ bl SetAlphaCompare__3CGXF10_GXCompareUc10_GXAlphaOp10_GXCompareUc +/* 8030BA40 003089A0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030BA44 003089A4 7C 08 03 A6 */ mtlr r0 +/* 8030BA48 003089A8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030BA4C 003089AC 4E 80 00 20 */ blr + +.global SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp: +/* 8030BA50 003089B0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030BA54 003089B4 7C 08 02 A6 */ mflr r0 +/* 8030BA58 003089B8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030BA5C 003089BC 4B FF CE 75 */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp +/* 8030BA60 003089C0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030BA64 003089C4 7C 08 03 A6 */ mtlr r0 +/* 8030BA68 003089C8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030BA6C 003089CC 4E 80 00 20 */ blr + +.global SetCullMode__9CGraphicsF12ERglCullMode +SetCullMode__9CGraphicsF12ERglCullMode: +/* 8030BA70 003089D0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030BA74 003089D4 7C 08 02 A6 */ mflr r0 +/* 8030BA78 003089D8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030BA7C 003089DC 90 6D A7 D8 */ stw r3, lbl_805A9398@sda21(r13) +/* 8030BA80 003089E0 48 06 D0 D9 */ bl GXSetCullMode +/* 8030BA84 003089E4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030BA88 003089E8 7C 08 03 A6 */ mtlr r0 +/* 8030BA8C 003089EC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030BA90 003089F0 4E 80 00 20 */ blr + +.global SetDepthWriteMode__9CGraphicsFb8ERglEnumb +SetDepthWriteMode__9CGraphicsFb8ERglEnumb: +/* 8030BA94 003089F4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030BA98 003089F8 7C 08 02 A6 */ mflr r0 +/* 8030BA9C 003089FC 54 63 06 3E */ clrlwi r3, r3, 0x18 +/* 8030BAA0 00308A00 54 A5 06 3E */ clrlwi r5, r5, 0x18 +/* 8030BAA4 00308A04 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030BAA8 00308A08 90 8D 9C 70 */ stw r4, lbl_805A8830@sda21(r13) +/* 8030BAAC 00308A0C 4B FF CD D1 */ bl SetZMode__3CGXFb10_GXCompareb +/* 8030BAB0 00308A10 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030BAB4 00308A14 7C 08 03 A6 */ mtlr r0 +/* 8030BAB8 00308A18 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030BABC 00308A1C 4E 80 00 20 */ blr + +.global EndScene__9CGraphicsFv +EndScene__9CGraphicsFv: +/* 8030BAC0 00308A20 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 8030BAC4 00308A24 7C 08 02 A6 */ mflr r0 +/* 8030BAC8 00308A28 38 60 00 01 */ li r3, 1 +/* 8030BACC 00308A2C 38 80 00 03 */ li r4, 3 +/* 8030BAD0 00308A30 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 8030BAD4 00308A34 38 A0 00 01 */ li r5, 1 +/* 8030BAD8 00308A38 93 E1 00 9C */ stw r31, 0x9c(r1) +/* 8030BADC 00308A3C 93 C1 00 98 */ stw r30, 0x98(r1) +/* 8030BAE0 00308A40 93 A1 00 94 */ stw r29, 0x94(r1) +/* 8030BAE4 00308A44 4B FF CD 99 */ bl SetZMode__3CGXFb10_GXCompareb +/* 8030BAE8 00308A48 3B AD A8 0C */ addi r29, r13, lbl_805A93CC@sda21 +/* 8030BAEC 00308A4C 48 00 00 08 */ b lbl_8030BAF4 +lbl_8030BAF0: +/* 8030BAF0 00308A50 48 07 90 2D */ bl OSYieldThread +lbl_8030BAF4: +/* 8030BAF4 00308A54 80 1D 00 00 */ lwz r0, 0(r29) +/* 8030BAF8 00308A58 2C 00 00 00 */ cmpwi r0, 0 +/* 8030BAFC 00308A5C 41 81 FF F4 */ bgt lbl_8030BAF0 +/* 8030BB00 00308A60 80 AD A8 0C */ lwz r5, lbl_805A93CC@sda21(r13) +/* 8030BB04 00308A64 3B CD A8 20 */ addi r30, r13, lbl_805A93E0@sda21 +/* 8030BB08 00308A68 38 6D 9C 88 */ addi r3, r13, lbl_805A8848@sda21 +/* 8030BB0C 00308A6C 38 8D 9C 84 */ addi r4, r13, lbl_805A8844@sda21 +/* 8030BB10 00308A70 38 05 00 01 */ addi r0, r5, 1 +/* 8030BB14 00308A74 38 AD 9C 8C */ addi r5, r13, lbl_805A884C@sda21 +/* 8030BB18 00308A78 90 0D A8 0C */ stw r0, lbl_805A93CC@sda21(r13) +/* 8030BB1C 00308A7C 4B D0 07 99 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 8030BB20 00308A80 88 0D 9C 82 */ lbz r0, lbl_805A8842@sda21(r13) +/* 8030BB24 00308A84 39 02 C7 B0 */ addi r8, r2, lbl_805AE4D0@sda21 +/* 8030BB28 00308A88 C0 43 00 00 */ lfs f2, 0(r3) +/* 8030BB2C 00308A8C 28 00 00 00 */ cmplwi r0, 0 +/* 8030BB30 00308A90 41 82 00 10 */ beq lbl_8030BB40 +/* 8030BB34 00308A94 3C 60 80 5A */ lis r3, lbl_805A6500@ha +/* 8030BB38 00308A98 38 63 65 00 */ addi r3, r3, lbl_805A6500@l +/* 8030BB3C 00308A9C 39 03 00 32 */ addi r8, r3, 0x32 +lbl_8030BB40: +/* 8030BB40 00308AA0 88 08 00 00 */ lbz r0, 0(r8) +/* 8030BB44 00308AA4 3C E0 43 30 */ lis r7, 0x4330 +/* 8030BB48 00308AA8 3C 60 80 5A */ lis r3, lbl_805A6500@ha +/* 8030BB4C 00308AAC 90 E1 00 18 */ stw r7, 0x18(r1) +/* 8030BB50 00308AB0 3B A3 65 00 */ addi r29, r3, lbl_805A6500@l +/* 8030BB54 00308AB4 C8 22 C7 F8 */ lfd f1, lbl_805AE518@sda21(r2) +/* 8030BB58 00308AB8 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8030BB5C 00308ABC 3B FD 00 1A */ addi r31, r29, 0x1a +/* 8030BB60 00308AC0 88 7D 00 19 */ lbz r3, 0x19(r29) +/* 8030BB64 00308AC4 7F E4 FB 78 */ mr r4, r31 +/* 8030BB68 00308AC8 C8 01 00 18 */ lfd f0, 0x18(r1) +/* 8030BB6C 00308ACC 38 C1 00 10 */ addi r6, r1, 0x10 +/* 8030BB70 00308AD0 90 E1 00 28 */ stw r7, 0x28(r1) +/* 8030BB74 00308AD4 38 A0 00 01 */ li r5, 1 +/* 8030BB78 00308AD8 EC 00 08 28 */ fsubs f0, f0, f1 +/* 8030BB7C 00308ADC 90 E1 00 38 */ stw r7, 0x38(r1) +/* 8030BB80 00308AE0 EC 02 00 32 */ fmuls f0, f2, f0 +/* 8030BB84 00308AE4 90 E1 00 48 */ stw r7, 0x48(r1) +/* 8030BB88 00308AE8 90 E1 00 58 */ stw r7, 0x58(r1) +/* 8030BB8C 00308AEC FC 00 00 1E */ fctiwz f0, f0 +/* 8030BB90 00308AF0 90 E1 00 68 */ stw r7, 0x68(r1) +/* 8030BB94 00308AF4 D8 01 00 20 */ stfd f0, 0x20(r1) +/* 8030BB98 00308AF8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8030BB9C 00308AFC 90 E1 00 78 */ stw r7, 0x78(r1) +/* 8030BBA0 00308B00 98 01 00 10 */ stb r0, 0x10(r1) +/* 8030BBA4 00308B04 88 08 00 01 */ lbz r0, 1(r8) +/* 8030BBA8 00308B08 90 01 00 2C */ stw r0, 0x2c(r1) +/* 8030BBAC 00308B0C C8 01 00 28 */ lfd f0, 0x28(r1) +/* 8030BBB0 00308B10 EC 00 08 28 */ fsubs f0, f0, f1 +/* 8030BBB4 00308B14 EC 02 00 32 */ fmuls f0, f2, f0 +/* 8030BBB8 00308B18 FC 00 00 1E */ fctiwz f0, f0 +/* 8030BBBC 00308B1C D8 01 00 30 */ stfd f0, 0x30(r1) +/* 8030BBC0 00308B20 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8030BBC4 00308B24 98 01 00 11 */ stb r0, 0x11(r1) +/* 8030BBC8 00308B28 88 08 00 02 */ lbz r0, 2(r8) +/* 8030BBCC 00308B2C 90 01 00 3C */ stw r0, 0x3c(r1) +/* 8030BBD0 00308B30 C8 01 00 38 */ lfd f0, 0x38(r1) +/* 8030BBD4 00308B34 EC 00 08 28 */ fsubs f0, f0, f1 +/* 8030BBD8 00308B38 EC 02 00 32 */ fmuls f0, f2, f0 +/* 8030BBDC 00308B3C FC 00 00 1E */ fctiwz f0, f0 +/* 8030BBE0 00308B40 D8 01 00 40 */ stfd f0, 0x40(r1) +/* 8030BBE4 00308B44 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8030BBE8 00308B48 98 01 00 12 */ stb r0, 0x12(r1) +/* 8030BBEC 00308B4C 88 08 00 03 */ lbz r0, 3(r8) +/* 8030BBF0 00308B50 90 01 00 4C */ stw r0, 0x4c(r1) +/* 8030BBF4 00308B54 C8 01 00 48 */ lfd f0, 0x48(r1) +/* 8030BBF8 00308B58 EC 00 08 28 */ fsubs f0, f0, f1 +/* 8030BBFC 00308B5C EC 02 00 32 */ fmuls f0, f2, f0 +/* 8030BC00 00308B60 FC 00 00 1E */ fctiwz f0, f0 +/* 8030BC04 00308B64 D8 01 00 50 */ stfd f0, 0x50(r1) +/* 8030BC08 00308B68 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8030BC0C 00308B6C 98 01 00 13 */ stb r0, 0x13(r1) +/* 8030BC10 00308B70 88 08 00 04 */ lbz r0, 4(r8) +/* 8030BC14 00308B74 90 01 00 5C */ stw r0, 0x5c(r1) +/* 8030BC18 00308B78 C8 01 00 58 */ lfd f0, 0x58(r1) +/* 8030BC1C 00308B7C EC 00 08 28 */ fsubs f0, f0, f1 +/* 8030BC20 00308B80 EC 02 00 32 */ fmuls f0, f2, f0 +/* 8030BC24 00308B84 FC 00 00 1E */ fctiwz f0, f0 +/* 8030BC28 00308B88 D8 01 00 60 */ stfd f0, 0x60(r1) +/* 8030BC2C 00308B8C 80 01 00 64 */ lwz r0, 0x64(r1) +/* 8030BC30 00308B90 98 01 00 14 */ stb r0, 0x14(r1) +/* 8030BC34 00308B94 88 08 00 05 */ lbz r0, 5(r8) +/* 8030BC38 00308B98 90 01 00 6C */ stw r0, 0x6c(r1) +/* 8030BC3C 00308B9C C8 01 00 68 */ lfd f0, 0x68(r1) +/* 8030BC40 00308BA0 EC 00 08 28 */ fsubs f0, f0, f1 +/* 8030BC44 00308BA4 EC 02 00 32 */ fmuls f0, f2, f0 +/* 8030BC48 00308BA8 FC 00 00 1E */ fctiwz f0, f0 +/* 8030BC4C 00308BAC D8 01 00 70 */ stfd f0, 0x70(r1) +/* 8030BC50 00308BB0 80 01 00 74 */ lwz r0, 0x74(r1) +/* 8030BC54 00308BB4 98 01 00 15 */ stb r0, 0x15(r1) +/* 8030BC58 00308BB8 88 08 00 06 */ lbz r0, 6(r8) +/* 8030BC5C 00308BBC 90 01 00 7C */ stw r0, 0x7c(r1) +/* 8030BC60 00308BC0 C8 01 00 78 */ lfd f0, 0x78(r1) +/* 8030BC64 00308BC4 EC 00 08 28 */ fsubs f0, f0, f1 +/* 8030BC68 00308BC8 EC 02 00 32 */ fmuls f0, f2, f0 +/* 8030BC6C 00308BCC FC 00 00 1E */ fctiwz f0, f0 +/* 8030BC70 00308BD0 D8 01 00 80 */ stfd f0, 0x80(r1) +/* 8030BC74 00308BD4 80 01 00 84 */ lwz r0, 0x84(r1) +/* 8030BC78 00308BD8 98 01 00 16 */ stb r0, 0x16(r1) +/* 8030BC7C 00308BDC 48 06 D5 19 */ bl GXSetCopyFilter +/* 8030BC80 00308BE0 88 8D 9C 6C */ lbz r4, lbl_805A882C@sda21(r13) +/* 8030BC84 00308BE4 80 7E 00 00 */ lwz r3, 0(r30) +/* 8030BC88 00308BE8 7C 04 00 D0 */ neg r0, r4 +/* 8030BC8C 00308BEC 7C 00 23 78 */ or r0, r0, r4 +/* 8030BC90 00308BF0 54 04 0F FE */ srwi r4, r0, 0x1f +/* 8030BC94 00308BF4 48 06 D7 45 */ bl GXCopyDisp +/* 8030BC98 00308BF8 88 CD 9C 82 */ lbz r6, lbl_805A8842@sda21(r13) +/* 8030BC9C 00308BFC 3C 60 80 5A */ lis r3, lbl_805A6500@ha +/* 8030BCA0 00308C00 38 A3 65 00 */ addi r5, r3, lbl_805A6500@l +/* 8030BCA4 00308C04 88 7D 00 19 */ lbz r3, 0x19(r29) +/* 8030BCA8 00308C08 7C 06 00 D0 */ neg r0, r6 +/* 8030BCAC 00308C0C 7F E4 FB 78 */ mr r4, r31 +/* 8030BCB0 00308C10 7C 00 33 78 */ or r0, r0, r6 +/* 8030BCB4 00308C14 38 C5 00 32 */ addi r6, r5, 0x32 +/* 8030BCB8 00308C18 54 05 0F FE */ srwi r5, r0, 0x1f +/* 8030BCBC 00308C1C 48 06 D4 D9 */ bl GXSetCopyFilter +/* 8030BCC0 00308C20 3C 60 80 31 */ lis r3, SwapBuffers__9CGraphicsFv@ha +/* 8030BCC4 00308C24 38 63 BE 7C */ addi r3, r3, SwapBuffers__9CGraphicsFv@l +/* 8030BCC8 00308C28 48 06 AA F1 */ bl GXSetBreakPtCallback +/* 8030BCCC 00308C2C 3C 60 80 31 */ lis r3, VideoPreCallback__9CGraphicsFUl@ha +/* 8030BCD0 00308C30 38 63 BE 00 */ addi r3, r3, VideoPreCallback__9CGraphicsFUl@l +/* 8030BCD4 00308C34 48 07 BB E1 */ bl VISetPreRetraceCallback +/* 8030BCD8 00308C38 3C 60 80 31 */ lis r3, VideoPostCallback__9CGraphicsFUl@ha +/* 8030BCDC 00308C3C 38 63 BD 34 */ addi r3, r3, VideoPostCallback__9CGraphicsFUl@l +/* 8030BCE0 00308C40 48 07 BC 19 */ bl VISetPostRetraceCallback +/* 8030BCE4 00308C44 48 06 C6 2D */ bl GXFlush +/* 8030BCE8 00308C48 48 06 AE 45 */ bl GXGetGPFifo +/* 8030BCEC 00308C4C 38 81 00 0C */ addi r4, r1, 0xc +/* 8030BCF0 00308C50 38 A1 00 08 */ addi r5, r1, 8 +/* 8030BCF4 00308C54 48 06 AA 2D */ bl __GXSaveCPUFifoAux +/* 8030BCF8 00308C58 80 61 00 08 */ lwz r3, 8(r1) +/* 8030BCFC 00308C5C 48 06 AB 01 */ bl GXEnableBreakPt +/* 8030BD00 00308C60 80 6D A8 00 */ lwz r3, lbl_805A93C0@sda21(r13) +/* 8030BD04 00308C64 88 8D A8 15 */ lbz r4, lbl_805A93D5@sda21(r13) +/* 8030BD08 00308C68 38 03 00 01 */ addi r0, r3, 1 +/* 8030BD0C 00308C6C 98 8D A8 14 */ stb r4, lbl_805A93D4@sda21(r13) +/* 8030BD10 00308C70 90 0D A8 00 */ stw r0, lbl_805A93C0@sda21(r13) +/* 8030BD14 00308C74 48 06 0E 7D */ bl sub_8036cb90 +/* 8030BD18 00308C78 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 8030BD1C 00308C7C 83 E1 00 9C */ lwz r31, 0x9c(r1) +/* 8030BD20 00308C80 83 C1 00 98 */ lwz r30, 0x98(r1) +/* 8030BD24 00308C84 83 A1 00 94 */ lwz r29, 0x94(r1) +/* 8030BD28 00308C88 7C 08 03 A6 */ mtlr r0 +/* 8030BD2C 00308C8C 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 8030BD30 00308C90 4E 80 00 20 */ blr + +.global VideoPostCallback__9CGraphicsFUl +VideoPostCallback__9CGraphicsFUl: +/* 8030BD34 00308C94 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030BD38 00308C98 7C 08 02 A6 */ mflr r0 +/* 8030BD3C 00308C9C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030BD40 00308CA0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8030BD44 00308CA4 80 6D A8 0C */ lwz r3, lbl_805A93CC@sda21(r13) +/* 8030BD48 00308CA8 2C 03 00 00 */ cmpwi r3, 0 +/* 8030BD4C 00308CAC 41 82 00 A0 */ beq lbl_8030BDEC +/* 8030BD50 00308CB0 80 0D A8 10 */ lwz r0, lbl_805A93D0@sda21(r13) +/* 8030BD54 00308CB4 2C 00 00 02 */ cmpwi r0, 2 +/* 8030BD58 00308CB8 40 82 00 94 */ bne lbl_8030BDEC +/* 8030BD5C 00308CBC 38 63 FF FF */ addi r3, r3, -1 +/* 8030BD60 00308CC0 38 00 00 00 */ li r0, 0 +/* 8030BD64 00308CC4 90 6D A8 0C */ stw r3, lbl_805A93CC@sda21(r13) +/* 8030BD68 00308CC8 3B ED A7 B0 */ addi r31, r13, lbl_805A9370@sda21 +/* 8030BD6C 00308CCC 90 0D A8 10 */ stw r0, lbl_805A93D0@sda21(r13) +/* 8030BD70 00308CD0 48 07 96 39 */ bl OSGetTime +/* 8030BD74 00308CD4 80 0D A7 B4 */ lwz r0, lbl_805A9374@sda21(r13) +/* 8030BD78 00308CD8 C0 0D A8 04 */ lfs f0, lbl_805A93C4@sda21(r13) +/* 8030BD7C 00308CDC 7C 80 20 10 */ subfc r4, r0, r4 +/* 8030BD80 00308CE0 80 0D A7 B0 */ lwz r0, lbl_805A9370@sda21(r13) +/* 8030BD84 00308CE4 D0 0D A8 08 */ stfs f0, lbl_805A93C8@sda21(r13) +/* 8030BD88 00308CE8 7C 60 19 10 */ subfe r3, r0, r3 +/* 8030BD8C 00308CEC 48 07 E1 D9 */ bl __cvt_sll_flt +/* 8030BD90 00308CF0 3C 60 80 5A */ lis r3, mData__10CStopwatch@ha +/* 8030BD94 00308CF4 C0 02 C8 10 */ lfs f0, lbl_805AE530@sda21(r2) +/* 8030BD98 00308CF8 38 63 FD 30 */ addi r3, r3, mData__10CStopwatch@l +/* 8030BD9C 00308CFC 38 80 00 00 */ li r4, 0 +/* 8030BDA0 00308D00 C0 43 00 10 */ lfs f2, 0x10(r3) +/* 8030BDA4 00308D04 80 03 00 00 */ lwz r0, 0(r3) +/* 8030BDA8 00308D08 EC 21 00 B2 */ fmuls f1, f1, f2 +/* 8030BDAC 00308D0C 80 A3 00 04 */ lwz r5, 4(r3) +/* 8030BDB0 00308D10 7C 00 22 78 */ xor r0, r0, r4 +/* 8030BDB4 00308D14 7C A4 22 78 */ xor r4, r5, r4 +/* 8030BDB8 00308D18 EC 00 08 24 */ fdivs f0, f0, f1 +/* 8030BDBC 00308D1C 7C 80 03 79 */ or. r0, r4, r0 +/* 8030BDC0 00308D20 D0 0D A8 04 */ stfs f0, lbl_805A93C4@sda21(r13) +/* 8030BDC4 00308D24 40 82 00 08 */ bne lbl_8030BDCC +/* 8030BDC8 00308D28 4B FC A9 55 */ bl Initialize__Q210CStopwatch7CSWDataFv +lbl_8030BDCC: +/* 8030BDCC 00308D2C 48 07 95 DD */ bl OSGetTime +/* 8030BDD0 00308D30 90 9F 00 04 */ stw r4, 4(r31) +/* 8030BDD4 00308D34 90 7F 00 00 */ stw r3, 0(r31) +/* 8030BDD8 00308D38 48 07 D5 C1 */ bl VIGetNextField +/* 8030BDDC 00308D3C 20 03 00 01 */ subfic r0, r3, 1 +/* 8030BDE0 00308D40 7C 00 00 34 */ cntlzw r0, r0 +/* 8030BDE4 00308D44 54 00 D9 7E */ srwi r0, r0, 5 +/* 8030BDE8 00308D48 98 0D A8 15 */ stb r0, lbl_805A93D5@sda21(r13) +lbl_8030BDEC: +/* 8030BDEC 00308D4C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030BDF0 00308D50 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8030BDF4 00308D54 7C 08 03 A6 */ mtlr r0 +/* 8030BDF8 00308D58 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030BDFC 00308D5C 4E 80 00 20 */ blr + +.global VideoPreCallback__9CGraphicsFUl +VideoPreCallback__9CGraphicsFUl: +/* 8030BE00 00308D60 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030BE04 00308D64 7C 08 02 A6 */ mflr r0 +/* 8030BE08 00308D68 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030BE0C 00308D6C 80 0D A8 0C */ lwz r0, lbl_805A93CC@sda21(r13) +/* 8030BE10 00308D70 2C 00 00 00 */ cmpwi r0, 0 +/* 8030BE14 00308D74 41 82 00 58 */ beq lbl_8030BE6C +/* 8030BE18 00308D78 80 0D A8 10 */ lwz r0, lbl_805A93D0@sda21(r13) +/* 8030BE1C 00308D7C 2C 00 00 01 */ cmpwi r0, 1 +/* 8030BE20 00308D80 40 82 00 4C */ bne lbl_8030BE6C +/* 8030BE24 00308D84 88 0D 9C 81 */ lbz r0, lbl_805A8841@sda21(r13) +/* 8030BE28 00308D88 28 00 00 00 */ cmplwi r0, 0 +/* 8030BE2C 00308D8C 41 82 00 14 */ beq lbl_8030BE40 +/* 8030BE30 00308D90 38 60 00 00 */ li r3, 0 +/* 8030BE34 00308D94 48 07 D4 79 */ bl VISetBlack +/* 8030BE38 00308D98 38 00 00 00 */ li r0, 0 +/* 8030BE3C 00308D9C 98 0D 9C 81 */ stb r0, lbl_805A8841@sda21(r13) +lbl_8030BE40: +/* 8030BE40 00308DA0 80 6D A8 20 */ lwz r3, lbl_805A93E0@sda21(r13) +/* 8030BE44 00308DA4 48 07 D3 FD */ bl VISetNextFrameBuffer +/* 8030BE48 00308DA8 48 07 D2 C9 */ bl VIFlush +/* 8030BE4C 00308DAC 80 0D A8 20 */ lwz r0, lbl_805A93E0@sda21(r13) +/* 8030BE50 00308DB0 80 6D A8 18 */ lwz r3, lbl_805A93D8@sda21(r13) +/* 8030BE54 00308DB4 7C 00 18 40 */ cmplw r0, r3 +/* 8030BE58 00308DB8 40 82 00 08 */ bne lbl_8030BE60 +/* 8030BE5C 00308DBC 80 6D A8 1C */ lwz r3, lbl_805A93DC@sda21(r13) +lbl_8030BE60: +/* 8030BE60 00308DC0 38 00 00 02 */ li r0, 2 +/* 8030BE64 00308DC4 90 6D A8 20 */ stw r3, lbl_805A93E0@sda21(r13) +/* 8030BE68 00308DC8 90 0D A8 10 */ stw r0, lbl_805A93D0@sda21(r13) +lbl_8030BE6C: +/* 8030BE6C 00308DCC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030BE70 00308DD0 7C 08 03 A6 */ mtlr r0 +/* 8030BE74 00308DD4 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030BE78 00308DD8 4E 80 00 20 */ blr + +.global SwapBuffers__9CGraphicsFv +SwapBuffers__9CGraphicsFv: +/* 8030BE7C 00308DDC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030BE80 00308DE0 7C 08 02 A6 */ mflr r0 +/* 8030BE84 00308DE4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030BE88 00308DE8 48 06 AA 05 */ bl GXDisableBreakPt +/* 8030BE8C 00308DEC 38 00 00 01 */ li r0, 1 +/* 8030BE90 00308DF0 90 0D A8 10 */ stw r0, lbl_805A93D0@sda21(r13) +/* 8030BE94 00308DF4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030BE98 00308DF8 7C 08 03 A6 */ mtlr r0 +/* 8030BE9C 00308DFC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030BEA0 00308E00 4E 80 00 20 */ blr + +.global BeginScene__9CGraphicsFv +BeginScene__9CGraphicsFv: +/* 8030BEA4 00308E04 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030BEA8 00308E08 7C 08 02 A6 */ mflr r0 +/* 8030BEAC 00308E0C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030BEB0 00308E10 48 00 00 15 */ bl ClearBackAndDepthBuffers__9CGraphicsFv +/* 8030BEB4 00308E14 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030BEB8 00308E18 7C 08 03 A6 */ mtlr r0 +/* 8030BEBC 00308E1C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030BEC0 00308E20 4E 80 00 20 */ blr + +.global ClearBackAndDepthBuffers__9CGraphicsFv +ClearBackAndDepthBuffers__9CGraphicsFv: +/* 8030BEC4 00308E24 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8030BEC8 00308E28 7C 08 02 A6 */ mflr r0 +/* 8030BECC 00308E2C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8030BED0 00308E30 48 06 E9 71 */ bl GXInvalidateTexAll +/* 8030BED4 00308E34 3C 60 80 5A */ lis r3, lbl_805A6500@ha +/* 8030BED8 00308E38 38 A3 65 00 */ addi r5, r3, lbl_805A6500@l +/* 8030BEDC 00308E3C 88 05 00 18 */ lbz r0, 0x18(r5) +/* 8030BEE0 00308E40 28 00 00 00 */ cmplwi r0, 0 +/* 8030BEE4 00308E44 41 82 00 58 */ beq lbl_8030BF3C +/* 8030BEE8 00308E48 48 07 D4 B1 */ bl VIGetNextField +/* 8030BEEC 00308E4C 3C A0 80 5A */ lis r5, lbl_805A6500@ha +/* 8030BEF0 00308E50 3C 80 43 30 */ lis r4, 0x4330 +/* 8030BEF4 00308E54 38 C5 65 00 */ addi r6, r5, lbl_805A6500@l +/* 8030BEF8 00308E58 C0 22 C7 F0 */ lfs f1, lbl_805AE510@sda21(r2) +/* 8030BEFC 00308E5C A0 A6 00 04 */ lhz r5, 4(r6) +/* 8030BF00 00308E60 A0 06 00 08 */ lhz r0, 8(r6) +/* 8030BF04 00308E64 FC 40 08 90 */ fmr f2, f1 +/* 8030BF08 00308E68 90 A1 00 0C */ stw r5, 0xc(r1) +/* 8030BF0C 00308E6C FC A0 08 90 */ fmr f5, f1 +/* 8030BF10 00308E70 C8 82 C7 F8 */ lfd f4, lbl_805AE518@sda21(r2) +/* 8030BF14 00308E74 90 81 00 08 */ stw r4, 8(r1) +/* 8030BF18 00308E78 C0 C2 C8 10 */ lfs f6, lbl_805AE530@sda21(r2) +/* 8030BF1C 00308E7C C8 01 00 08 */ lfd f0, 8(r1) +/* 8030BF20 00308E80 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030BF24 00308E84 EC 60 20 28 */ fsubs f3, f0, f4 +/* 8030BF28 00308E88 90 81 00 10 */ stw r4, 0x10(r1) +/* 8030BF2C 00308E8C C8 01 00 10 */ lfd f0, 0x10(r1) +/* 8030BF30 00308E90 EC 80 20 28 */ fsubs f4, f0, f4 +/* 8030BF34 00308E94 48 07 06 11 */ bl GXSetViewportJitter +/* 8030BF38 00308E98 48 00 00 48 */ b lbl_8030BF80 +lbl_8030BF3C: +/* 8030BF3C 00308E9C A0 85 00 04 */ lhz r4, 4(r5) +/* 8030BF40 00308EA0 3C 60 43 30 */ lis r3, 0x4330 +/* 8030BF44 00308EA4 A0 05 00 08 */ lhz r0, 8(r5) +/* 8030BF48 00308EA8 90 81 00 14 */ stw r4, 0x14(r1) +/* 8030BF4C 00308EAC C0 22 C7 F0 */ lfs f1, lbl_805AE510@sda21(r2) +/* 8030BF50 00308EB0 90 61 00 10 */ stw r3, 0x10(r1) +/* 8030BF54 00308EB4 C8 82 C7 F8 */ lfd f4, lbl_805AE518@sda21(r2) +/* 8030BF58 00308EB8 FC 40 08 90 */ fmr f2, f1 +/* 8030BF5C 00308EBC C8 01 00 10 */ lfd f0, 0x10(r1) +/* 8030BF60 00308EC0 FC A0 08 90 */ fmr f5, f1 +/* 8030BF64 00308EC4 90 01 00 0C */ stw r0, 0xc(r1) +/* 8030BF68 00308EC8 EC 60 20 28 */ fsubs f3, f0, f4 +/* 8030BF6C 00308ECC C0 C2 C8 10 */ lfs f6, lbl_805AE530@sda21(r2) +/* 8030BF70 00308ED0 90 61 00 08 */ stw r3, 8(r1) +/* 8030BF74 00308ED4 C8 01 00 08 */ lfd f0, 8(r1) +/* 8030BF78 00308ED8 EC 80 20 28 */ fsubs f4, f0, f4 +/* 8030BF7C 00308EDC 48 07 06 CD */ bl GXSetViewport +lbl_8030BF80: +/* 8030BF80 00308EE0 48 06 C0 05 */ bl GXInvalidateVtxCache +/* 8030BF84 00308EE4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8030BF88 00308EE8 7C 08 03 A6 */ mtlr r0 +/* 8030BF8C 00308EEC 38 21 00 20 */ addi r1, r1, 0x20 +/* 8030BF90 00308EF0 4E 80 00 20 */ blr + +.global SetClearColor__9CGraphicsFRC6CColor +SetClearColor__9CGraphicsFRC6CColor: +/* 8030BF94 00308EF4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030BF98 00308EF8 7C 08 02 A6 */ mflr r0 +/* 8030BF9C 00308EFC 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030BFA0 00308F00 80 03 00 00 */ lwz r0, 0(r3) +/* 8030BFA4 00308F04 38 61 00 08 */ addi r3, r1, 8 +/* 8030BFA8 00308F08 80 8D 9C 7C */ lwz r4, lbl_805A883C@sda21(r13) +/* 8030BFAC 00308F0C 90 0D A7 F8 */ stw r0, lbl_805A93B8@sda21(r13) +/* 8030BFB0 00308F10 90 01 00 08 */ stw r0, 8(r1) +/* 8030BFB4 00308F14 48 06 D1 79 */ bl GXSetCopyClear +/* 8030BFB8 00308F18 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030BFBC 00308F1C 7C 08 03 A6 */ mtlr r0 +/* 8030BFC0 00308F20 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030BFC4 00308F24 4E 80 00 20 */ blr + +.global SetCopyClear__9CGraphicsFRC6CColorf +SetCopyClear__9CGraphicsFRC6CColorf: +/* 8030BFC8 00308F28 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8030BFCC 00308F2C 7C 08 02 A6 */ mflr r0 +/* 8030BFD0 00308F30 C0 02 C8 1C */ lfs f0, lbl_805AE53C@sda21(r2) +/* 8030BFD4 00308F34 90 01 00 24 */ stw r0, 0x24(r1) +/* 8030BFD8 00308F38 EC 20 00 72 */ fmuls f1, f0, f1 +/* 8030BFDC 00308F3C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8030BFE0 00308F40 7C 7F 1B 78 */ mr r31, r3 +/* 8030BFE4 00308F44 80 03 00 00 */ lwz r0, 0(r3) +/* 8030BFE8 00308F48 90 0D A7 F8 */ stw r0, lbl_805A93B8@sda21(r13) +/* 8030BFEC 00308F4C 48 07 D9 69 */ bl __cvt_fp2unsigned +/* 8030BFF0 00308F50 80 1F 00 00 */ lwz r0, 0(r31) +/* 8030BFF4 00308F54 7C 64 1B 78 */ mr r4, r3 +/* 8030BFF8 00308F58 90 6D 9C 7C */ stw r3, lbl_805A883C@sda21(r13) +/* 8030BFFC 00308F5C 38 61 00 08 */ addi r3, r1, 8 +/* 8030C000 00308F60 90 01 00 08 */ stw r0, 8(r1) +/* 8030C004 00308F64 48 06 D1 29 */ bl GXSetCopyClear +/* 8030C008 00308F68 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8030C00C 00308F6C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8030C010 00308F70 7C 08 03 A6 */ mtlr r0 +/* 8030C014 00308F74 38 21 00 20 */ addi r1, r1, 0x20 +/* 8030C018 00308F78 4E 80 00 20 */ blr + +.global SetAmbientColor__9CGraphicsFRC6CColor +SetAmbientColor__9CGraphicsFRC6CColor: +/* 8030C01C 00308F7C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030C020 00308F80 7C 08 02 A6 */ mflr r0 +/* 8030C024 00308F84 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030C028 00308F88 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8030C02C 00308F8C 7C 7F 1B 78 */ mr r31, r3 +/* 8030C030 00308F90 38 60 00 00 */ li r3, 0 +/* 8030C034 00308F94 7F E4 FB 78 */ mr r4, r31 +/* 8030C038 00308F98 4B FF CD 8D */ bl SetChanAmbColor__3CGXFQ23CGX10EChannelIdRC8_GXColor +/* 8030C03C 00308F9C 7F E4 FB 78 */ mr r4, r31 +/* 8030C040 00308FA0 38 60 00 01 */ li r3, 1 +/* 8030C044 00308FA4 4B FF CD 81 */ bl SetChanAmbColor__3CGXFQ23CGX10EChannelIdRC8_GXColor +/* 8030C048 00308FA8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030C04C 00308FAC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8030C050 00308FB0 7C 08 03 A6 */ mtlr r0 +/* 8030C054 00308FB4 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030C058 00308FB8 4E 80 00 20 */ blr + +.global SetScissor__9CGraphicsFiiii +SetScissor__9CGraphicsFiiii: +/* 8030C05C 00308FBC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030C060 00308FC0 7C 08 02 A6 */ mflr r0 +/* 8030C064 00308FC4 3C E0 80 5A */ lis r7, lbl_805A6500@ha +/* 8030C068 00308FC8 7D 04 32 14 */ add r8, r4, r6 +/* 8030C06C 00308FCC 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030C070 00308FD0 38 87 65 00 */ addi r4, r7, lbl_805A6500@l +/* 8030C074 00308FD4 A0 04 00 06 */ lhz r0, 6(r4) +/* 8030C078 00308FD8 7C 88 00 50 */ subf r4, r8, r0 +/* 8030C07C 00308FDC 48 07 05 F1 */ bl GXSetScissor +/* 8030C080 00308FE0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030C084 00308FE4 7C 08 03 A6 */ mtlr r0 +/* 8030C088 00308FE8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030C08C 00308FEC 4E 80 00 20 */ blr + +.global SetViewport__9CGraphicsFiiii +SetViewport__9CGraphicsFiiii: +/* 8030C090 00308FF0 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8030C094 00308FF4 7C 08 02 A6 */ mflr r0 +/* 8030C098 00308FF8 3D 40 43 30 */ lis r10, 0x4330 +/* 8030C09C 00308FFC 3D 20 80 5A */ lis r9, lbl_805A6500@ha +/* 8030C0A0 00309000 90 01 00 44 */ stw r0, 0x44(r1) +/* 8030C0A4 00309004 54 A0 0F FE */ srwi r0, r5, 0x1f +/* 8030C0A8 00309008 7C E0 2A 14 */ add r7, r0, r5 +/* 8030C0AC 0030900C 6C 68 80 00 */ xoris r8, r3, 0x8000 +/* 8030C0B0 00309010 54 C0 0F FE */ srwi r0, r6, 0x1f +/* 8030C0B4 00309014 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 8030C0B8 00309018 7C E7 0E 70 */ srawi r7, r7, 1 +/* 8030C0BC 0030901C 39 29 65 00 */ addi r9, r9, lbl_805A6500@l +/* 8030C0C0 00309020 7C 00 32 14 */ add r0, r0, r6 +/* 8030C0C4 00309024 91 41 00 08 */ stw r10, 8(r1) +/* 8030C0C8 00309028 6C EB 80 00 */ xoris r11, r7, 0x8000 +/* 8030C0CC 0030902C A1 89 00 06 */ lhz r12, 6(r9) +/* 8030C0D0 00309030 91 61 00 0C */ stw r11, 0xc(r1) +/* 8030C0D4 00309034 7C 00 0E 70 */ srawi r0, r0, 1 +/* 8030C0D8 00309038 6C 09 80 00 */ xoris r9, r0, 0x8000 +/* 8030C0DC 0030903C 7F E4 32 14 */ add r31, r4, r6 +/* 8030C0E0 00309040 7D 9F 60 50 */ subf r12, r31, r12 +/* 8030C0E4 00309044 C8 82 C7 E8 */ lfd f4, lbl_805AE508@sda21(r2) +/* 8030C0E8 00309048 C8 01 00 08 */ lfd f0, 8(r1) +/* 8030C0EC 0030904C 6D 87 80 00 */ xoris r7, r12, 0x8000 +/* 8030C0F0 00309050 91 21 00 14 */ stw r9, 0x14(r1) +/* 8030C0F4 00309054 6C A4 80 00 */ xoris r4, r5, 0x8000 +/* 8030C0F8 00309058 ED 00 20 28 */ fsubs f8, f0, f4 +/* 8030C0FC 0030905C 6C C0 80 00 */ xoris r0, r6, 0x8000 +/* 8030C100 00309060 91 41 00 10 */ stw r10, 0x10(r1) +/* 8030C104 00309064 3D 60 80 3F */ lis r11, lbl_803ED910@ha +/* 8030C108 00309068 C0 AD A7 E0 */ lfs f5, lbl_805A93A0@sda21(r13) +/* 8030C10C 0030906C C8 01 00 10 */ lfd f0, 0x10(r1) +/* 8030C110 00309070 91 01 00 1C */ stw r8, 0x1c(r1) +/* 8030C114 00309074 EC E0 20 28 */ fsubs f7, f0, f4 +/* 8030C118 00309078 C0 CD 9C 78 */ lfs f6, lbl_805A8838@sda21(r13) +/* 8030C11C 0030907C 94 6B D9 10 */ stwu r3, lbl_803ED910@l(r11) +/* 8030C120 00309080 91 41 00 18 */ stw r10, 0x18(r1) +/* 8030C124 00309084 C8 01 00 18 */ lfd f0, 0x18(r1) +/* 8030C128 00309088 90 E1 00 24 */ stw r7, 0x24(r1) +/* 8030C12C 0030908C EC 20 20 28 */ fsubs f1, f0, f4 +/* 8030C130 00309090 91 41 00 20 */ stw r10, 0x20(r1) +/* 8030C134 00309094 C8 01 00 20 */ lfd f0, 0x20(r1) +/* 8030C138 00309098 90 81 00 2C */ stw r4, 0x2c(r1) +/* 8030C13C 0030909C EC 40 20 28 */ fsubs f2, f0, f4 +/* 8030C140 003090A0 91 41 00 28 */ stw r10, 0x28(r1) +/* 8030C144 003090A4 C8 01 00 28 */ lfd f0, 0x28(r1) +/* 8030C148 003090A8 90 01 00 34 */ stw r0, 0x34(r1) +/* 8030C14C 003090AC EC 60 20 28 */ fsubs f3, f0, f4 +/* 8030C150 003090B0 91 41 00 30 */ stw r10, 0x30(r1) +/* 8030C154 003090B4 C8 01 00 30 */ lfd f0, 0x30(r1) +/* 8030C158 003090B8 91 8B 00 04 */ stw r12, 4(r11) +/* 8030C15C 003090BC EC 80 20 28 */ fsubs f4, f0, f4 +/* 8030C160 003090C0 90 AB 00 08 */ stw r5, 8(r11) +/* 8030C164 003090C4 90 CB 00 0C */ stw r6, 0xc(r11) +/* 8030C168 003090C8 D1 0B 00 10 */ stfs f8, 0x10(r11) +/* 8030C16C 003090CC D0 EB 00 14 */ stfs f7, 0x14(r11) +/* 8030C170 003090D0 48 07 04 D9 */ bl GXSetViewport +/* 8030C174 003090D4 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8030C178 003090D8 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 8030C17C 003090DC 7C 08 03 A6 */ mtlr r0 +/* 8030C180 003090E0 38 21 00 40 */ addi r1, r1, 0x40 +/* 8030C184 003090E4 4E 80 00 20 */ blr + +.global CalculatePerspectiveMatrix__9CGraphicsFffff +CalculatePerspectiveMatrix__9CGraphicsFffff: +/* 8030C188 003090E8 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 8030C18C 003090EC 7C 08 02 A6 */ mflr r0 +/* 8030C190 003090F0 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 8030C194 003090F4 DB E1 00 90 */ stfd f31, 0x90(r1) +/* 8030C198 003090F8 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 +/* 8030C19C 003090FC DB C1 00 80 */ stfd f30, 0x80(r1) +/* 8030C1A0 00309100 F3 C1 00 88 */ psq_st f30, 136(r1), 0, qr0 +/* 8030C1A4 00309104 DB A1 00 70 */ stfd f29, 0x70(r1) +/* 8030C1A8 00309108 F3 A1 00 78 */ psq_st f29, 120(r1), 0, qr0 +/* 8030C1AC 0030910C 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 8030C1B0 00309110 C0 A2 C8 20 */ lfs f5, lbl_805AE540@sda21(r2) +/* 8030C1B4 00309114 FF A0 10 90 */ fmr f29, f2 +/* 8030C1B8 00309118 C0 02 C8 24 */ lfs f0, lbl_805AE544@sda21(r2) +/* 8030C1BC 0030911C FF C0 18 90 */ fmr f30, f3 +/* 8030C1C0 00309120 EC 25 00 72 */ fmuls f1, f5, f1 +/* 8030C1C4 00309124 7C 7F 1B 78 */ mr r31, r3 +/* 8030C1C8 00309128 FF E0 20 90 */ fmr f31, f4 +/* 8030C1CC 0030912C EC 21 00 32 */ fmuls f1, f1, f0 +/* 8030C1D0 00309130 48 08 89 E5 */ bl tan +/* 8030C1D4 00309134 C0 42 C8 28 */ lfs f2, lbl_805AE548@sda21(r2) +/* 8030C1D8 00309138 FD 20 08 18 */ frsp f9, f1 +/* 8030C1DC 0030913C C0 62 C7 F0 */ lfs f3, lbl_805AE510@sda21(r2) +/* 8030C1E0 00309140 EC FF F0 28 */ fsubs f7, f31, f30 +/* 8030C1E4 00309144 EC 22 07 72 */ fmuls f1, f2, f29 +/* 8030C1E8 00309148 C0 C2 C8 24 */ lfs f6, lbl_805AE544@sda21(r2) +/* 8030C1EC 0030914C EC 02 07 F2 */ fmuls f0, f2, f31 +/* 8030C1F0 00309150 ED 02 07 B2 */ fmuls f8, f2, f30 +/* 8030C1F4 00309154 D0 61 00 08 */ stfs f3, 8(r1) +/* 8030C1F8 00309158 EC 81 07 B2 */ fmuls f4, f1, f30 +/* 8030C1FC 0030915C EC 3F F0 2A */ fadds f1, f31, f30 +/* 8030C200 00309160 C0 42 C8 10 */ lfs f2, lbl_805AE530@sda21(r2) +/* 8030C204 00309164 EC 00 07 B2 */ fmuls f0, f0, f30 +/* 8030C208 00309168 EC A9 01 32 */ fmuls f5, f9, f4 +/* 8030C20C 0030916C 38 61 00 28 */ addi r3, r1, 0x28 +/* 8030C210 00309170 EC 21 38 24 */ fdivs f1, f1, f7 +/* 8030C214 00309174 FC 00 00 50 */ fneg f0, f0 +/* 8030C218 00309178 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 8030C21C 0030917C EC 88 02 72 */ fmuls f4, f8, f9 +/* 8030C220 00309180 EC A6 01 72 */ fmuls f5, f6, f5 +/* 8030C224 00309184 D0 61 00 10 */ stfs f3, 0x10(r1) +/* 8030C228 00309188 EC 00 38 24 */ fdivs f0, f0, f7 +/* 8030C22C 0030918C EC 86 01 32 */ fmuls f4, f6, f4 +/* 8030C230 00309190 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 8030C234 00309194 FC C0 28 50 */ fneg f6, f5 +/* 8030C238 00309198 D0 61 00 18 */ stfs f3, 0x18(r1) +/* 8030C23C 0030919C FC E0 20 50 */ fneg f7, f4 +/* 8030C240 003091A0 EC 25 30 2A */ fadds f1, f5, f6 +/* 8030C244 003091A4 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 8030C248 003091A8 EC A5 30 28 */ fsubs f5, f5, f6 +/* 8030C24C 003091AC EC 04 38 2A */ fadds f0, f4, f7 +/* 8030C250 003091B0 D0 61 00 20 */ stfs f3, 0x20(r1) +/* 8030C254 003091B4 FC 40 08 50 */ fneg f2, f1 +/* 8030C258 003091B8 EC 84 38 28 */ fsubs f4, f4, f7 +/* 8030C25C 003091BC D0 61 00 24 */ stfs f3, 0x24(r1) +/* 8030C260 003091C0 FC 00 00 50 */ fneg f0, f0 +/* 8030C264 003091C4 EC 28 28 24 */ fdivs f1, f8, f5 +/* 8030C268 003091C8 EC 42 28 24 */ fdivs f2, f2, f5 +/* 8030C26C 003091CC EC E8 20 24 */ fdivs f7, f8, f4 +/* 8030C270 003091D0 EC C0 20 24 */ fdivs f6, f0, f4 +/* 8030C274 003091D4 FC 80 18 90 */ fmr f4, f3 +/* 8030C278 003091D8 FC A0 18 90 */ fmr f5, f3 +/* 8030C27C 003091DC FD 00 18 90 */ fmr f8, f3 +/* 8030C280 003091E0 48 00 45 FD */ bl __ct__9CMatrix4fFffffffffffffffff +/* 8030C284 003091E4 C0 01 00 28 */ lfs f0, 0x28(r1) +/* 8030C288 003091E8 D0 1F 00 00 */ stfs f0, 0(r31) +/* 8030C28C 003091EC C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 8030C290 003091F0 D0 1F 00 04 */ stfs f0, 4(r31) +/* 8030C294 003091F4 C0 01 00 30 */ lfs f0, 0x30(r1) +/* 8030C298 003091F8 D0 1F 00 08 */ stfs f0, 8(r31) +/* 8030C29C 003091FC C0 01 00 34 */ lfs f0, 0x34(r1) +/* 8030C2A0 00309200 D0 1F 00 0C */ stfs f0, 0xc(r31) +/* 8030C2A4 00309204 C0 01 00 38 */ lfs f0, 0x38(r1) +/* 8030C2A8 00309208 D0 1F 00 10 */ stfs f0, 0x10(r31) +/* 8030C2AC 0030920C C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 8030C2B0 00309210 D0 1F 00 14 */ stfs f0, 0x14(r31) +/* 8030C2B4 00309214 C0 01 00 40 */ lfs f0, 0x40(r1) +/* 8030C2B8 00309218 D0 1F 00 18 */ stfs f0, 0x18(r31) +/* 8030C2BC 0030921C C0 01 00 44 */ lfs f0, 0x44(r1) +/* 8030C2C0 00309220 D0 1F 00 1C */ stfs f0, 0x1c(r31) +/* 8030C2C4 00309224 C0 01 00 48 */ lfs f0, 0x48(r1) +/* 8030C2C8 00309228 D0 1F 00 20 */ stfs f0, 0x20(r31) +/* 8030C2CC 0030922C C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 8030C2D0 00309230 D0 1F 00 24 */ stfs f0, 0x24(r31) +/* 8030C2D4 00309234 C0 01 00 50 */ lfs f0, 0x50(r1) +/* 8030C2D8 00309238 D0 1F 00 28 */ stfs f0, 0x28(r31) +/* 8030C2DC 0030923C C0 01 00 54 */ lfs f0, 0x54(r1) +/* 8030C2E0 00309240 D0 1F 00 2C */ stfs f0, 0x2c(r31) +/* 8030C2E4 00309244 C0 01 00 58 */ lfs f0, 0x58(r1) +/* 8030C2E8 00309248 D0 1F 00 30 */ stfs f0, 0x30(r31) +/* 8030C2EC 0030924C C0 01 00 5C */ lfs f0, 0x5c(r1) +/* 8030C2F0 00309250 D0 1F 00 34 */ stfs f0, 0x34(r31) +/* 8030C2F4 00309254 C0 01 00 60 */ lfs f0, 0x60(r1) +/* 8030C2F8 00309258 D0 1F 00 38 */ stfs f0, 0x38(r31) +/* 8030C2FC 0030925C C0 01 00 64 */ lfs f0, 0x64(r1) +/* 8030C300 00309260 D0 1F 00 3C */ stfs f0, 0x3c(r31) +/* 8030C304 00309264 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 +/* 8030C308 00309268 CB E1 00 90 */ lfd f31, 0x90(r1) +/* 8030C30C 0030926C E3 C1 00 88 */ psq_l f30, 136(r1), 0, qr0 +/* 8030C310 00309270 CB C1 00 80 */ lfd f30, 0x80(r1) +/* 8030C314 00309274 E3 A1 00 78 */ psq_l f29, 120(r1), 0, qr0 +/* 8030C318 00309278 CB A1 00 70 */ lfd f29, 0x70(r1) +/* 8030C31C 0030927C 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 8030C320 00309280 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 8030C324 00309284 7C 08 03 A6 */ mtlr r0 +/* 8030C328 00309288 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 8030C32C 0030928C 4E 80 00 20 */ blr + +.global GetPerspectiveProjectionMatrix__9CGraphicsFv +GetPerspectiveProjectionMatrix__9CGraphicsFv: +/* 8030C330 00309290 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 8030C334 00309294 7C 08 02 A6 */ mflr r0 +/* 8030C338 00309298 90 01 00 84 */ stw r0, 0x84(r1) +/* 8030C33C 0030929C DB E1 00 70 */ stfd f31, 0x70(r1) +/* 8030C340 003092A0 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 +/* 8030C344 003092A4 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 8030C348 003092A8 3C 80 80 5A */ lis r4, lbl_805A61B8@ha +/* 8030C34C 003092AC C0 62 C7 F0 */ lfs f3, lbl_805AE510@sda21(r2) +/* 8030C350 003092B0 38 84 61 B8 */ addi r4, r4, lbl_805A61B8@l +/* 8030C354 003092B4 7C 7F 1B 78 */ mr r31, r3 +/* 8030C358 003092B8 C0 24 00 18 */ lfs f1, 0x18(r4) +/* 8030C35C 003092BC FC 80 18 90 */ fmr f4, f3 +/* 8030C360 003092C0 C1 02 C8 28 */ lfs f8, lbl_805AE548@sda21(r2) +/* 8030C364 003092C4 FC A0 18 90 */ fmr f5, f3 +/* 8030C368 003092C8 C1 24 00 14 */ lfs f9, 0x14(r4) +/* 8030C36C 003092CC 38 61 00 28 */ addi r3, r1, 0x28 +/* 8030C370 003092D0 EC 08 00 72 */ fmuls f0, f8, f1 +/* 8030C374 003092D4 ED 41 48 28 */ fsubs f10, f1, f9 +/* 8030C378 003092D8 C1 64 00 10 */ lfs f11, 0x10(r4) +/* 8030C37C 003092DC EC 41 48 2A */ fadds f2, f1, f9 +/* 8030C380 003092E0 C1 84 00 0C */ lfs f12, 0xc(r4) +/* 8030C384 003092E4 EC 20 02 72 */ fmuls f1, f0, f9 +/* 8030C388 003092E8 EC 0C 58 2A */ fadds f0, f12, f11 +/* 8030C38C 003092EC EC E2 50 24 */ fdivs f7, f2, f10 +/* 8030C390 003092F0 C1 A4 00 04 */ lfs f13, 4(r4) +/* 8030C394 003092F4 C3 E4 00 08 */ lfs f31, 8(r4) +/* 8030C398 003092F8 C0 C2 C8 10 */ lfs f6, lbl_805AE530@sda21(r2) +/* 8030C39C 003092FC D0 61 00 08 */ stfs f3, 8(r1) +/* 8030C3A0 00309300 FC 40 08 50 */ fneg f2, f1 +/* 8030C3A4 00309304 D0 E1 00 0C */ stfs f7, 0xc(r1) +/* 8030C3A8 00309308 EC 3F 68 2A */ fadds f1, f31, f13 +/* 8030C3AC 0030930C ED 28 02 72 */ fmuls f9, f8, f9 +/* 8030C3B0 00309310 EC 42 50 24 */ fdivs f2, f2, f10 +/* 8030C3B4 00309314 D0 61 00 10 */ stfs f3, 0x10(r1) +/* 8030C3B8 00309318 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 8030C3BC 0030931C EC EC 58 28 */ fsubs f7, f12, f11 +/* 8030C3C0 00309320 ED 1F 68 28 */ fsubs f8, f31, f13 +/* 8030C3C4 00309324 FC 40 08 50 */ fneg f2, f1 +/* 8030C3C8 00309328 D0 61 00 18 */ stfs f3, 0x18(r1) +/* 8030C3CC 0030932C FC 00 00 50 */ fneg f0, f0 +/* 8030C3D0 00309330 D0 C1 00 1C */ stfs f6, 0x1c(r1) +/* 8030C3D4 00309334 EC 29 40 24 */ fdivs f1, f9, f8 +/* 8030C3D8 00309338 D0 61 00 20 */ stfs f3, 0x20(r1) +/* 8030C3DC 0030933C D0 61 00 24 */ stfs f3, 0x24(r1) +/* 8030C3E0 00309340 EC 42 40 24 */ fdivs f2, f2, f8 +/* 8030C3E4 00309344 EC C0 38 24 */ fdivs f6, f0, f7 +/* 8030C3E8 00309348 EC E9 38 24 */ fdivs f7, f9, f7 +/* 8030C3EC 0030934C FD 00 18 90 */ fmr f8, f3 +/* 8030C3F0 00309350 48 00 44 8D */ bl __ct__9CMatrix4fFffffffffffffffff +/* 8030C3F4 00309354 C0 01 00 28 */ lfs f0, 0x28(r1) +/* 8030C3F8 00309358 D0 1F 00 00 */ stfs f0, 0(r31) +/* 8030C3FC 0030935C C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 8030C400 00309360 D0 1F 00 04 */ stfs f0, 4(r31) +/* 8030C404 00309364 C0 01 00 30 */ lfs f0, 0x30(r1) +/* 8030C408 00309368 D0 1F 00 08 */ stfs f0, 8(r31) +/* 8030C40C 0030936C C0 01 00 34 */ lfs f0, 0x34(r1) +/* 8030C410 00309370 D0 1F 00 0C */ stfs f0, 0xc(r31) +/* 8030C414 00309374 C0 01 00 38 */ lfs f0, 0x38(r1) +/* 8030C418 00309378 D0 1F 00 10 */ stfs f0, 0x10(r31) +/* 8030C41C 0030937C C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 8030C420 00309380 D0 1F 00 14 */ stfs f0, 0x14(r31) +/* 8030C424 00309384 C0 01 00 40 */ lfs f0, 0x40(r1) +/* 8030C428 00309388 D0 1F 00 18 */ stfs f0, 0x18(r31) +/* 8030C42C 0030938C C0 01 00 44 */ lfs f0, 0x44(r1) +/* 8030C430 00309390 D0 1F 00 1C */ stfs f0, 0x1c(r31) +/* 8030C434 00309394 C0 01 00 48 */ lfs f0, 0x48(r1) +/* 8030C438 00309398 D0 1F 00 20 */ stfs f0, 0x20(r31) +/* 8030C43C 0030939C C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 8030C440 003093A0 D0 1F 00 24 */ stfs f0, 0x24(r31) +/* 8030C444 003093A4 C0 01 00 50 */ lfs f0, 0x50(r1) +/* 8030C448 003093A8 D0 1F 00 28 */ stfs f0, 0x28(r31) +/* 8030C44C 003093AC C0 01 00 54 */ lfs f0, 0x54(r1) +/* 8030C450 003093B0 D0 1F 00 2C */ stfs f0, 0x2c(r31) +/* 8030C454 003093B4 C0 01 00 58 */ lfs f0, 0x58(r1) +/* 8030C458 003093B8 D0 1F 00 30 */ stfs f0, 0x30(r31) +/* 8030C45C 003093BC C0 01 00 5C */ lfs f0, 0x5c(r1) +/* 8030C460 003093C0 D0 1F 00 34 */ stfs f0, 0x34(r31) +/* 8030C464 003093C4 C0 01 00 60 */ lfs f0, 0x60(r1) +/* 8030C468 003093C8 D0 1F 00 38 */ stfs f0, 0x38(r31) +/* 8030C46C 003093CC C0 01 00 64 */ lfs f0, 0x64(r1) +/* 8030C470 003093D0 D0 1F 00 3C */ stfs f0, 0x3c(r31) +/* 8030C474 003093D4 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 +/* 8030C478 003093D8 80 01 00 84 */ lwz r0, 0x84(r1) +/* 8030C47C 003093DC CB E1 00 70 */ lfd f31, 0x70(r1) +/* 8030C480 003093E0 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 8030C484 003093E4 7C 08 03 A6 */ mtlr r0 +/* 8030C488 003093E8 38 21 00 80 */ addi r1, r1, 0x80 +/* 8030C48C 003093EC 4E 80 00 20 */ blr + +.global SetPerspective__9CGraphicsFffff +SetPerspective__9CGraphicsFffff: +/* 8030C490 003093F0 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8030C494 003093F4 7C 08 02 A6 */ mflr r0 +/* 8030C498 003093F8 90 01 00 44 */ stw r0, 0x44(r1) +/* 8030C49C 003093FC DB E1 00 30 */ stfd f31, 0x30(r1) +/* 8030C4A0 00309400 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 8030C4A4 00309404 DB C1 00 20 */ stfd f30, 0x20(r1) +/* 8030C4A8 00309408 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 +/* 8030C4AC 0030940C DB A1 00 10 */ stfd f29, 0x10(r1) +/* 8030C4B0 00309410 F3 A1 00 18 */ psq_st f29, 24(r1), 0, qr0 +/* 8030C4B4 00309414 C0 A2 C8 20 */ lfs f5, lbl_805AE540@sda21(r2) +/* 8030C4B8 00309418 FF A0 10 90 */ fmr f29, f2 +/* 8030C4BC 0030941C C0 02 C8 24 */ lfs f0, lbl_805AE544@sda21(r2) +/* 8030C4C0 00309420 FF C0 18 90 */ fmr f30, f3 +/* 8030C4C4 00309424 EC 25 00 72 */ fmuls f1, f5, f1 +/* 8030C4C8 00309428 FF E0 20 90 */ fmr f31, f4 +/* 8030C4CC 0030942C EC 21 00 32 */ fmuls f1, f1, f0 +/* 8030C4D0 00309430 48 08 86 E5 */ bl tan +/* 8030C4D4 00309434 C0 02 C8 28 */ lfs f0, lbl_805AE548@sda21(r2) +/* 8030C4D8 00309438 FC 80 08 18 */ frsp f4, f1 +/* 8030C4DC 0030943C C0 62 C8 24 */ lfs f3, lbl_805AE544@sda21(r2) +/* 8030C4E0 00309440 38 00 00 01 */ li r0, 1 +/* 8030C4E4 00309444 EC 40 07 72 */ fmuls f2, f0, f29 +/* 8030C4E8 00309448 3C 60 80 5A */ lis r3, lbl_805A61B8@ha +/* 8030C4EC 0030944C 9C 03 61 B8 */ stbu r0, lbl_805A61B8@l(r3) +/* 8030C4F0 00309450 EC 00 07 B2 */ fmuls f0, f0, f30 +/* 8030C4F4 00309454 EC 22 07 B2 */ fmuls f1, f2, f30 +/* 8030C4F8 00309458 D3 C3 00 14 */ stfs f30, 0x14(r3) +/* 8030C4FC 0030945C EC 00 01 32 */ fmuls f0, f0, f4 +/* 8030C500 00309460 D3 E3 00 18 */ stfs f31, 0x18(r3) +/* 8030C504 00309464 EC 24 00 72 */ fmuls f1, f4, f1 +/* 8030C508 00309468 EC 83 00 32 */ fmuls f4, f3, f0 +/* 8030C50C 0030946C EC 43 00 72 */ fmuls f2, f3, f1 +/* 8030C510 00309470 FC 00 20 50 */ fneg f0, f4 +/* 8030C514 00309474 D0 83 00 0C */ stfs f4, 0xc(r3) +/* 8030C518 00309478 FC 20 10 50 */ fneg f1, f2 +/* 8030C51C 0030947C D0 43 00 08 */ stfs f2, 8(r3) +/* 8030C520 00309480 D0 23 00 04 */ stfs f1, 4(r3) +/* 8030C524 00309484 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 8030C528 00309488 4B FF D9 41 */ bl FlushProjection__9CGraphicsFv +/* 8030C52C 0030948C E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 8030C530 00309490 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 8030C534 00309494 E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 +/* 8030C538 00309498 CB C1 00 20 */ lfd f30, 0x20(r1) +/* 8030C53C 0030949C E3 A1 00 18 */ psq_l f29, 24(r1), 0, qr0 +/* 8030C540 003094A0 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8030C544 003094A4 CB A1 00 10 */ lfd f29, 0x10(r1) +/* 8030C548 003094A8 7C 08 03 A6 */ mtlr r0 +/* 8030C54C 003094AC 38 21 00 40 */ addi r1, r1, 0x40 +/* 8030C550 003094B0 4E 80 00 20 */ blr + +.global SetOrtho__9CGraphicsFffffff +SetOrtho__9CGraphicsFffffff: +/* 8030C554 003094B4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030C558 003094B8 7C 08 02 A6 */ mflr r0 +/* 8030C55C 003094BC 3C 60 80 5A */ lis r3, lbl_805A61B8@ha +/* 8030C560 003094C0 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030C564 003094C4 38 00 00 00 */ li r0, 0 +/* 8030C568 003094C8 9C 03 61 B8 */ stbu r0, lbl_805A61B8@l(r3) +/* 8030C56C 003094CC D0 23 00 04 */ stfs f1, 4(r3) +/* 8030C570 003094D0 D0 43 00 08 */ stfs f2, 8(r3) +/* 8030C574 003094D4 D0 63 00 0C */ stfs f3, 0xc(r3) +/* 8030C578 003094D8 D0 83 00 10 */ stfs f4, 0x10(r3) +/* 8030C57C 003094DC D0 A3 00 14 */ stfs f5, 0x14(r3) +/* 8030C580 003094E0 D0 C3 00 18 */ stfs f6, 0x18(r3) +/* 8030C584 003094E4 4B FF D8 E5 */ bl FlushProjection__9CGraphicsFv +/* 8030C588 003094E8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030C58C 003094EC 7C 08 03 A6 */ mtlr r0 +/* 8030C590 003094F0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030C594 003094F4 4E 80 00 20 */ blr + +.global SetIdentityModelMatrix__9CGraphicsFv +SetIdentityModelMatrix__9CGraphicsFv: +/* 8030C598 003094F8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030C59C 003094FC 7C 08 02 A6 */ mflr r0 +/* 8030C5A0 00309500 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030C5A4 00309504 88 0D 9C 80 */ lbz r0, lbl_805A8840@sda21(r13) +/* 8030C5A8 00309508 28 00 00 00 */ cmplwi r0, 0 +/* 8030C5AC 0030950C 40 82 00 24 */ bne lbl_8030C5D0 +/* 8030C5B0 00309510 3C 60 80 5A */ lis r3, lbl_805A6204@ha +/* 8030C5B4 00309514 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 8030C5B8 00309518 38 63 62 04 */ addi r3, r3, lbl_805A6204@l +/* 8030C5BC 0030951C 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 8030C5C0 00309520 48 00 65 81 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8030C5C4 00309524 38 00 00 01 */ li r0, 1 +/* 8030C5C8 00309528 98 0D 9C 80 */ stb r0, lbl_805A8840@sda21(r13) +/* 8030C5CC 0030952C 48 00 02 41 */ bl SetViewMatrix__9CGraphicsFv +lbl_8030C5D0: +/* 8030C5D0 00309530 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030C5D4 00309534 7C 08 03 A6 */ mtlr r0 +/* 8030C5D8 00309538 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030C5DC 0030953C 4E 80 00 20 */ blr + +.global SetModelMatrix__9CGraphicsFRC12CTransform4f +SetModelMatrix__9CGraphicsFRC12CTransform4f: +/* 8030C5E0 00309540 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030C5E4 00309544 7C 08 02 A6 */ mflr r0 +/* 8030C5E8 00309548 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 8030C5EC 0030954C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030C5F0 00309550 38 04 66 70 */ addi r0, r4, skIdentity4f@l +/* 8030C5F4 00309554 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8030C5F8 00309558 7C 7F 1B 78 */ mr r31, r3 +/* 8030C5FC 0030955C 7C 1F 00 40 */ cmplw r31, r0 +/* 8030C600 00309560 40 82 00 30 */ bne lbl_8030C630 +/* 8030C604 00309564 88 0D 9C 80 */ lbz r0, lbl_805A8840@sda21(r13) +/* 8030C608 00309568 28 00 00 00 */ cmplwi r0, 0 +/* 8030C60C 0030956C 40 82 00 A4 */ bne lbl_8030C6B0 +/* 8030C610 00309570 3C 60 80 5A */ lis r3, lbl_805A6204@ha +/* 8030C614 00309574 7F E4 FB 78 */ mr r4, r31 +/* 8030C618 00309578 38 63 62 04 */ addi r3, r3, lbl_805A6204@l +/* 8030C61C 0030957C 48 00 65 25 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8030C620 00309580 38 00 00 01 */ li r0, 1 +/* 8030C624 00309584 98 0D 9C 80 */ stb r0, lbl_805A8840@sda21(r13) +/* 8030C628 00309588 48 00 01 E5 */ bl SetViewMatrix__9CGraphicsFv +/* 8030C62C 0030958C 48 00 00 84 */ b lbl_8030C6B0 +lbl_8030C630: +/* 8030C630 00309590 3C 60 80 5A */ lis r3, lbl_805A6204@ha +/* 8030C634 00309594 7F E4 FB 78 */ mr r4, r31 +/* 8030C638 00309598 38 63 62 04 */ addi r3, r3, lbl_805A6204@l +/* 8030C63C 0030959C 48 00 65 05 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8030C640 003095A0 C1 7F 00 00 */ lfs f11, 0(r31) +/* 8030C644 003095A4 3C 60 80 5A */ lis r3, lbl_805A656C@ha +/* 8030C648 003095A8 38 00 00 00 */ li r0, 0 +/* 8030C64C 003095AC C1 5F 00 04 */ lfs f10, 4(r31) +/* 8030C650 003095B0 D5 63 65 6C */ stfsu f11, lbl_805A656C@l(r3) +/* 8030C654 003095B4 C1 3F 00 08 */ lfs f9, 8(r31) +/* 8030C658 003095B8 C1 1F 00 0C */ lfs f8, 0xc(r31) +/* 8030C65C 003095BC C0 FF 00 10 */ lfs f7, 0x10(r31) +/* 8030C660 003095C0 C0 DF 00 14 */ lfs f6, 0x14(r31) +/* 8030C664 003095C4 C0 BF 00 18 */ lfs f5, 0x18(r31) +/* 8030C668 003095C8 C0 9F 00 1C */ lfs f4, 0x1c(r31) +/* 8030C66C 003095CC C0 7F 00 20 */ lfs f3, 0x20(r31) +/* 8030C670 003095D0 C0 5F 00 24 */ lfs f2, 0x24(r31) +/* 8030C674 003095D4 C0 3F 00 28 */ lfs f1, 0x28(r31) +/* 8030C678 003095D8 C0 1F 00 2C */ lfs f0, 0x2c(r31) +/* 8030C67C 003095DC 98 0D 9C 80 */ stb r0, lbl_805A8840@sda21(r13) +/* 8030C680 003095E0 D1 43 00 04 */ stfs f10, 4(r3) +/* 8030C684 003095E4 D1 23 00 08 */ stfs f9, 8(r3) +/* 8030C688 003095E8 D1 03 00 0C */ stfs f8, 0xc(r3) +/* 8030C68C 003095EC D0 E3 00 10 */ stfs f7, 0x10(r3) +/* 8030C690 003095F0 D0 C3 00 14 */ stfs f6, 0x14(r3) +/* 8030C694 003095F4 D0 A3 00 18 */ stfs f5, 0x18(r3) +/* 8030C698 003095F8 D0 83 00 1C */ stfs f4, 0x1c(r3) +/* 8030C69C 003095FC D0 63 00 20 */ stfs f3, 0x20(r3) +/* 8030C6A0 00309600 D0 43 00 24 */ stfs f2, 0x24(r3) +/* 8030C6A4 00309604 D0 23 00 28 */ stfs f1, 0x28(r3) +/* 8030C6A8 00309608 D0 03 00 2C */ stfs f0, 0x2c(r3) +/* 8030C6AC 0030960C 48 00 01 61 */ bl SetViewMatrix__9CGraphicsFv +lbl_8030C6B0: +/* 8030C6B0 00309610 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030C6B4 00309614 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8030C6B8 00309618 7C 08 03 A6 */ mtlr r0 +/* 8030C6BC 0030961C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030C6C0 00309620 4E 80 00 20 */ blr + +.global SetIdentityViewPointMatrix__9CGraphicsFv +SetIdentityViewPointMatrix__9CGraphicsFv: +/* 8030C6C4 00309624 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030C6C8 00309628 7C 08 02 A6 */ mflr r0 +/* 8030C6CC 0030962C 3C 60 80 5A */ lis r3, lbl_805A61D4@ha +/* 8030C6D0 00309630 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 8030C6D4 00309634 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030C6D8 00309638 38 63 61 D4 */ addi r3, r3, lbl_805A61D4@l +/* 8030C6DC 0030963C 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 8030C6E0 00309640 48 00 64 61 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8030C6E4 00309644 3C 60 80 5A */ lis r3, lbl_805A653C@ha +/* 8030C6E8 00309648 38 63 65 3C */ addi r3, r3, lbl_805A653C@l +/* 8030C6EC 0030964C 48 07 09 55 */ bl PSMTXIdentity +/* 8030C6F0 00309650 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8030C6F4 00309654 3C A0 80 5A */ lis r5, lbl_805A653C@ha +/* 8030C6F8 00309658 38 83 66 A0 */ addi r4, r3, skZero3f@l +/* 8030C6FC 0030965C C0 A2 C7 F0 */ lfs f5, lbl_805AE510@sda21(r2) +/* 8030C700 00309660 C0 44 00 00 */ lfs f2, 0(r4) +/* 8030C704 00309664 38 A5 65 3C */ addi r5, r5, lbl_805A653C@l +/* 8030C708 00309668 3C 60 80 5A */ lis r3, lbl_805A6234@ha +/* 8030C70C 0030966C C0 82 C8 10 */ lfs f4, lbl_805AE530@sda21(r2) +/* 8030C710 00309670 C0 62 C8 14 */ lfs f3, lbl_805AE534@sda21(r2) +/* 8030C714 00309674 C0 24 00 04 */ lfs f1, 4(r4) +/* 8030C718 00309678 D4 43 62 34 */ stfsu f2, lbl_805A6234@l(r3) +/* 8030C71C 0030967C C0 04 00 08 */ lfs f0, 8(r4) +/* 8030C720 00309680 D0 A5 00 28 */ stfs f5, 0x28(r5) +/* 8030C724 00309684 D0 A5 00 14 */ stfs f5, 0x14(r5) +/* 8030C728 00309688 D0 85 00 18 */ stfs f4, 0x18(r5) +/* 8030C72C 0030968C D0 65 00 24 */ stfs f3, 0x24(r5) +/* 8030C730 00309690 D0 23 00 04 */ stfs f1, 4(r3) +/* 8030C734 00309694 D0 03 00 08 */ stfs f0, 8(r3) +/* 8030C738 00309698 48 00 00 D5 */ bl SetViewMatrix__9CGraphicsFv +/* 8030C73C 0030969C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030C740 003096A0 7C 08 03 A6 */ mtlr r0 +/* 8030C744 003096A4 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030C748 003096A8 4E 80 00 20 */ blr + +.global SetViewPointMatrix__9CGraphicsFRC12CTransform4f +SetViewPointMatrix__9CGraphicsFRC12CTransform4f: +/* 8030C74C 003096AC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030C750 003096B0 7C 08 02 A6 */ mflr r0 +/* 8030C754 003096B4 3C 80 80 5A */ lis r4, lbl_805A61D4@ha +/* 8030C758 003096B8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030C75C 003096BC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8030C760 003096C0 7C 7F 1B 78 */ mr r31, r3 +/* 8030C764 003096C4 38 64 61 D4 */ addi r3, r4, lbl_805A61D4@l +/* 8030C768 003096C8 7F E4 FB 78 */ mr r4, r31 +/* 8030C76C 003096CC 48 00 63 D5 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8030C770 003096D0 C0 5F 00 04 */ lfs f2, 4(r31) +/* 8030C774 003096D4 3C 80 80 5A */ lis r4, lbl_805A653C@ha +/* 8030C778 003096D8 C0 3F 00 14 */ lfs f1, 0x14(r31) +/* 8030C77C 003096DC 3C 60 80 5A */ lis r3, lbl_805A6234@ha +/* 8030C780 003096E0 FC 60 10 50 */ fneg f3, f2 +/* 8030C784 003096E4 C1 5F 00 00 */ lfs f10, 0(r31) +/* 8030C788 003096E8 C0 1F 00 24 */ lfs f0, 0x24(r31) +/* 8030C78C 003096EC FC 40 08 50 */ fneg f2, f1 +/* 8030C790 003096F0 D5 44 65 3C */ stfsu f10, lbl_805A653C@l(r4) +/* 8030C794 003096F4 C0 E2 C7 F0 */ lfs f7, lbl_805AE510@sda21(r2) +/* 8030C798 003096F8 FC 20 00 50 */ fneg f1, f0 +/* 8030C79C 003096FC C0 1F 00 0C */ lfs f0, 0xc(r31) +/* 8030C7A0 00309700 C1 3F 00 10 */ lfs f9, 0x10(r31) +/* 8030C7A4 00309704 C1 1F 00 20 */ lfs f8, 0x20(r31) +/* 8030C7A8 00309708 C0 DF 00 08 */ lfs f6, 8(r31) +/* 8030C7AC 0030970C C0 BF 00 18 */ lfs f5, 0x18(r31) +/* 8030C7B0 00309710 C0 9F 00 28 */ lfs f4, 0x28(r31) +/* 8030C7B4 00309714 C1 9F 00 2C */ lfs f12, 0x2c(r31) +/* 8030C7B8 00309718 D4 03 62 34 */ stfsu f0, lbl_805A6234@l(r3) +/* 8030C7BC 0030971C C1 7F 00 1C */ lfs f11, 0x1c(r31) +/* 8030C7C0 00309720 D1 24 00 04 */ stfs f9, 4(r4) +/* 8030C7C4 00309724 D1 04 00 08 */ stfs f8, 8(r4) +/* 8030C7C8 00309728 D0 E4 00 0C */ stfs f7, 0xc(r4) +/* 8030C7CC 0030972C D0 C4 00 10 */ stfs f6, 0x10(r4) +/* 8030C7D0 00309730 D0 A4 00 14 */ stfs f5, 0x14(r4) +/* 8030C7D4 00309734 D0 84 00 18 */ stfs f4, 0x18(r4) +/* 8030C7D8 00309738 D0 E4 00 1C */ stfs f7, 0x1c(r4) +/* 8030C7DC 0030973C D0 64 00 20 */ stfs f3, 0x20(r4) +/* 8030C7E0 00309740 D0 44 00 24 */ stfs f2, 0x24(r4) +/* 8030C7E4 00309744 D0 24 00 28 */ stfs f1, 0x28(r4) +/* 8030C7E8 00309748 D0 E4 00 2C */ stfs f7, 0x2c(r4) +/* 8030C7EC 0030974C D1 63 00 04 */ stfs f11, 4(r3) +/* 8030C7F0 00309750 D1 83 00 08 */ stfs f12, 8(r3) +/* 8030C7F4 00309754 48 00 00 19 */ bl SetViewMatrix__9CGraphicsFv +/* 8030C7F8 00309758 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030C7FC 0030975C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8030C800 00309760 7C 08 03 A6 */ mtlr r0 +/* 8030C804 00309764 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030C808 00309768 4E 80 00 20 */ blr + +.global SetViewMatrix__9CGraphicsFv +SetViewMatrix__9CGraphicsFv: +/* 8030C80C 0030976C 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 8030C810 00309770 7C 08 02 A6 */ mflr r0 +/* 8030C814 00309774 3C 80 80 5A */ lis r4, lbl_805A6234@ha +/* 8030C818 00309778 90 01 00 74 */ stw r0, 0x74(r1) +/* 8030C81C 0030977C 38 61 00 38 */ addi r3, r1, 0x38 +/* 8030C820 00309780 C4 24 62 34 */ lfsu f1, lbl_805A6234@l(r4) +/* 8030C824 00309784 C0 44 00 04 */ lfs f2, 4(r4) +/* 8030C828 00309788 FC 20 08 50 */ fneg f1, f1 +/* 8030C82C 0030978C C0 04 00 08 */ lfs f0, 8(r4) +/* 8030C830 00309790 FC 40 10 50 */ fneg f2, f2 +/* 8030C834 00309794 FC 60 00 50 */ fneg f3, f0 +/* 8030C838 00309798 48 07 09 FD */ bl PSMTXTrans +/* 8030C83C 0030979C 3C 60 80 5A */ lis r3, lbl_805A653C@ha +/* 8030C840 003097A0 3C A0 80 5A */ lis r5, lbl_805A65CC@ha +/* 8030C844 003097A4 38 63 65 3C */ addi r3, r3, lbl_805A653C@l +/* 8030C848 003097A8 38 81 00 38 */ addi r4, r1, 0x38 +/* 8030C84C 003097AC 38 A5 65 CC */ addi r5, r5, lbl_805A65CC@l +/* 8030C850 003097B0 48 07 08 51 */ bl PSMTXConcat +/* 8030C854 003097B4 88 0D 9C 80 */ lbz r0, lbl_805A8840@sda21(r13) +/* 8030C858 003097B8 28 00 00 00 */ cmplwi r0, 0 +/* 8030C85C 003097BC 41 82 00 1C */ beq lbl_8030C878 +/* 8030C860 003097C0 3C 60 80 5A */ lis r3, lbl_805A65CC@ha +/* 8030C864 003097C4 3C 80 80 5A */ lis r4, lbl_805A659C@ha +/* 8030C868 003097C8 38 63 65 CC */ addi r3, r3, lbl_805A65CC@l +/* 8030C86C 003097CC 38 84 65 9C */ addi r4, r4, lbl_805A659C@l +/* 8030C870 003097D0 48 07 07 FD */ bl PSMTXCopy +/* 8030C874 003097D4 48 00 00 20 */ b lbl_8030C894 +lbl_8030C878: +/* 8030C878 003097D8 3C 60 80 5A */ lis r3, lbl_805A65CC@ha +/* 8030C87C 003097DC 3C 80 80 5A */ lis r4, lbl_805A656C@ha +/* 8030C880 003097E0 3C A0 80 5A */ lis r5, lbl_805A659C@ha +/* 8030C884 003097E4 38 63 65 CC */ addi r3, r3, lbl_805A65CC@l +/* 8030C888 003097E8 38 84 65 6C */ addi r4, r4, lbl_805A656C@l +/* 8030C88C 003097EC 38 A5 65 9C */ addi r5, r5, lbl_805A659C@l +/* 8030C890 003097F0 48 07 08 11 */ bl PSMTXConcat +lbl_8030C894: +/* 8030C894 003097F4 3C 60 80 5A */ lis r3, lbl_805A659C@ha +/* 8030C898 003097F8 38 80 00 00 */ li r4, 0 +/* 8030C89C 003097FC 38 63 65 9C */ addi r3, r3, lbl_805A659C@l +/* 8030C8A0 00309800 48 06 FB 19 */ bl GXLoadPosMtxImm +/* 8030C8A4 00309804 3C 60 80 5A */ lis r3, lbl_805A659C@ha +/* 8030C8A8 00309808 38 81 00 08 */ addi r4, r1, 8 +/* 8030C8AC 0030980C 38 63 65 9C */ addi r3, r3, lbl_805A659C@l +/* 8030C8B0 00309810 48 07 08 BD */ bl PSMTXInvXpose +/* 8030C8B4 00309814 38 61 00 08 */ addi r3, r1, 8 +/* 8030C8B8 00309818 38 80 00 00 */ li r4, 0 +/* 8030C8BC 0030981C 48 06 FB 4D */ bl GXLoadNrmMtxImm +/* 8030C8C0 00309820 80 01 00 74 */ lwz r0, 0x74(r1) +/* 8030C8C4 00309824 7C 08 03 A6 */ mtlr r0 +/* 8030C8C8 00309828 38 21 00 70 */ addi r1, r1, 0x70 +/* 8030C8CC 0030982C 4E 80 00 20 */ blr + +.global SetLightState__9CGraphicsFUc +SetLightState__9CGraphicsFUc: +/* 8030C8D0 00309830 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030C8D4 00309834 7C 08 02 A6 */ mflr r0 +/* 8030C8D8 00309838 39 20 00 02 */ li r9, 2 +/* 8030C8DC 0030983C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030C8E0 00309840 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8030C8E4 00309844 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8030C8E8 00309848 7C 7F 1B 78 */ mr r31, r3 +/* 8030C8EC 0030984C 41 82 00 08 */ beq lbl_8030C8F4 +/* 8030C8F0 00309850 39 20 00 01 */ li r9, 1 +lbl_8030C8F4: +/* 8030C8F4 00309854 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 8030C8F8 00309858 39 00 00 00 */ li r8, 0 +/* 8030C8FC 0030985C 41 82 00 08 */ beq lbl_8030C904 +/* 8030C900 00309860 39 00 00 02 */ li r8, 2 +lbl_8030C904: +/* 8030C904 00309864 3C 60 80 5A */ lis r3, lbl_805A6170@ha +/* 8030C908 00309868 57 E7 06 3E */ clrlwi r7, r31, 0x18 +/* 8030C90C 0030986C 38 63 61 70 */ addi r3, r3, lbl_805A6170@l +/* 8030C910 00309870 38 A0 00 00 */ li r5, 0 +/* 8030C914 00309874 88 63 00 2E */ lbz r3, 0x2e(r3) +/* 8030C918 00309878 7C 07 00 D0 */ neg r0, r7 +/* 8030C91C 0030987C 7C 00 3B 78 */ or r0, r0, r7 +/* 8030C920 00309880 54 66 FF FE */ rlwinm r6, r3, 0x1f, 0x1f, 0x1f +/* 8030C924 00309884 38 60 00 00 */ li r3, 0 +/* 8030C928 00309888 54 04 0F FE */ srwi r4, r0, 0x1f +/* 8030C92C 0030988C 4B FF C3 A1 */ bl SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn +/* 8030C930 00309890 57 E0 06 3E */ clrlwi r0, r31, 0x18 +/* 8030C934 00309894 9B ED A8 16 */ stb r31, lbl_805A93D6@sda21(r13) +/* 8030C938 00309898 70 03 00 55 */ andi. r3, r0, 0x55 +/* 8030C93C 0030989C 70 00 00 AA */ andi. r0, r0, 0xaa +/* 8030C940 003098A0 54 00 F8 7E */ srwi r0, r0, 1 +/* 8030C944 003098A4 7C 03 02 14 */ add r0, r3, r0 +/* 8030C948 003098A8 70 03 00 33 */ andi. r3, r0, 0x33 +/* 8030C94C 003098AC 70 00 00 CC */ andi. r0, r0, 0xcc +/* 8030C950 003098B0 54 00 F0 BE */ srwi r0, r0, 2 +/* 8030C954 003098B4 7C 03 02 14 */ add r0, r3, r0 +/* 8030C958 003098B8 54 03 07 3E */ clrlwi r3, r0, 0x1c +/* 8030C95C 003098BC 54 00 E7 3E */ rlwinm r0, r0, 0x1c, 0x1c, 0x1f +/* 8030C960 003098C0 7C 03 02 14 */ add r0, r3, r0 +/* 8030C964 003098C4 90 0D A7 DC */ stw r0, lbl_805A939C@sda21(r13) +/* 8030C968 003098C8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030C96C 003098CC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8030C970 003098D0 7C 08 03 A6 */ mtlr r0 +/* 8030C974 003098D4 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030C978 003098D8 4E 80 00 20 */ blr + +.global DisableAllLights__9CGraphicsFv +DisableAllLights__9CGraphicsFv: +/* 8030C97C 003098DC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030C980 003098E0 7C 08 02 A6 */ mflr r0 +/* 8030C984 003098E4 38 60 00 00 */ li r3, 0 +/* 8030C988 003098E8 38 80 00 00 */ li r4, 0 +/* 8030C98C 003098EC 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030C990 003098F0 38 00 00 00 */ li r0, 0 +/* 8030C994 003098F4 38 A0 00 00 */ li r5, 0 +/* 8030C998 003098F8 38 C0 00 00 */ li r6, 0 +/* 8030C99C 003098FC 90 0D A7 DC */ stw r0, lbl_805A939C@sda21(r13) +/* 8030C9A0 00309900 38 E0 00 00 */ li r7, 0 +/* 8030C9A4 00309904 39 00 00 00 */ li r8, 0 +/* 8030C9A8 00309908 39 20 00 02 */ li r9, 2 +/* 8030C9AC 0030990C 98 0D A8 16 */ stb r0, lbl_805A93D6@sda21(r13) +/* 8030C9B0 00309910 4B FF C3 1D */ bl SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn +/* 8030C9B4 00309914 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030C9B8 00309918 7C 08 03 A6 */ mtlr r0 +/* 8030C9BC 0030991C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030C9C0 00309920 4E 80 00 20 */ blr + +.global LoadLight__9CGraphicsF9ERglLightRC6CLight +LoadLight__9CGraphicsF9ERglLightRC6CLight: +/* 8030C9C4 00309924 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8030C9C8 00309928 7C 08 02 A6 */ mflr r0 +/* 8030C9CC 0030992C 90 01 00 44 */ stw r0, 0x44(r1) +/* 8030C9D0 00309930 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 8030C9D4 00309934 93 C1 00 38 */ stw r30, 0x38(r1) +/* 8030C9D8 00309938 7C 9E 23 78 */ mr r30, r4 +/* 8030C9DC 0030993C 93 A1 00 34 */ stw r29, 0x34(r1) +/* 8030C9E0 00309940 7C 7D 1B 79 */ or. r29, r3, r3 +/* 8030C9E4 00309944 93 81 00 30 */ stw r28, 0x30(r1) +/* 8030C9E8 00309948 40 82 00 0C */ bne lbl_8030C9F4 +/* 8030C9EC 0030994C 3B E0 00 01 */ li r31, 1 +/* 8030C9F0 00309950 48 00 00 7C */ b lbl_8030CA6C +lbl_8030C9F4: +/* 8030C9F4 00309954 2C 1D 00 01 */ cmpwi r29, 1 +/* 8030C9F8 00309958 40 82 00 0C */ bne lbl_8030CA04 +/* 8030C9FC 0030995C 3B E0 00 02 */ li r31, 2 +/* 8030CA00 00309960 48 00 00 6C */ b lbl_8030CA6C +lbl_8030CA04: +/* 8030CA04 00309964 2C 1D 00 02 */ cmpwi r29, 2 +/* 8030CA08 00309968 40 82 00 0C */ bne lbl_8030CA14 +/* 8030CA0C 0030996C 3B E0 00 04 */ li r31, 4 +/* 8030CA10 00309970 48 00 00 5C */ b lbl_8030CA6C +lbl_8030CA14: +/* 8030CA14 00309974 2C 1D 00 03 */ cmpwi r29, 3 +/* 8030CA18 00309978 40 82 00 0C */ bne lbl_8030CA24 +/* 8030CA1C 0030997C 3B E0 00 08 */ li r31, 8 +/* 8030CA20 00309980 48 00 00 4C */ b lbl_8030CA6C +lbl_8030CA24: +/* 8030CA24 00309984 2C 1D 00 04 */ cmpwi r29, 4 +/* 8030CA28 00309988 40 82 00 0C */ bne lbl_8030CA34 +/* 8030CA2C 0030998C 3B E0 00 10 */ li r31, 0x10 +/* 8030CA30 00309990 48 00 00 3C */ b lbl_8030CA6C +lbl_8030CA34: +/* 8030CA34 00309994 2C 1D 00 05 */ cmpwi r29, 5 +/* 8030CA38 00309998 40 82 00 0C */ bne lbl_8030CA44 +/* 8030CA3C 0030999C 3B E0 00 20 */ li r31, 0x20 +/* 8030CA40 003099A0 48 00 00 2C */ b lbl_8030CA6C +lbl_8030CA44: +/* 8030CA44 003099A4 2C 1D 00 06 */ cmpwi r29, 6 +/* 8030CA48 003099A8 40 82 00 0C */ bne lbl_8030CA54 +/* 8030CA4C 003099AC 3B E0 00 40 */ li r31, 0x40 +/* 8030CA50 003099B0 48 00 00 1C */ b lbl_8030CA6C +lbl_8030CA54: +/* 8030CA54 003099B4 38 7D FF F9 */ addi r3, r29, -7 +/* 8030CA58 003099B8 20 1D 00 07 */ subfic r0, r29, 7 +/* 8030CA5C 003099BC 7C 63 00 F8 */ nor r3, r3, r0 +/* 8030CA60 003099C0 38 00 00 80 */ li r0, 0x80 +/* 8030CA64 003099C4 7C 63 FE 70 */ srawi r3, r3, 0x1f +/* 8030CA68 003099C8 7C 1F 18 38 */ and r31, r0, r3 +lbl_8030CA6C: +/* 8030CA6C 003099CC 80 1E 00 1C */ lwz r0, 0x1c(r30) +/* 8030CA70 003099D0 C0 BE 00 00 */ lfs f5, 0(r30) +/* 8030CA74 003099D4 C0 9E 00 04 */ lfs f4, 4(r30) +/* 8030CA78 003099D8 2C 00 00 02 */ cmpwi r0, 2 +/* 8030CA7C 003099DC C0 7E 00 08 */ lfs f3, 8(r30) +/* 8030CA80 003099E0 C0 5E 00 0C */ lfs f2, 0xc(r30) +/* 8030CA84 003099E4 C0 3E 00 10 */ lfs f1, 0x10(r30) +/* 8030CA88 003099E8 C0 1E 00 14 */ lfs f0, 0x14(r30) +/* 8030CA8C 003099EC D0 A1 00 18 */ stfs f5, 0x18(r1) +/* 8030CA90 003099F0 D0 81 00 1C */ stfs f4, 0x1c(r1) +/* 8030CA94 003099F4 D0 61 00 20 */ stfs f3, 0x20(r1) +/* 8030CA98 003099F8 D0 41 00 0C */ stfs f2, 0xc(r1) +/* 8030CA9C 003099FC D0 21 00 10 */ stfs f1, 0x10(r1) +/* 8030CAA0 00309A00 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 8030CAA4 00309A04 41 82 01 18 */ beq lbl_8030CBBC +/* 8030CAA8 00309A08 40 80 00 14 */ bge lbl_8030CABC +/* 8030CAAC 00309A0C 2C 00 00 00 */ cmpwi r0, 0 +/* 8030CAB0 00309A10 41 82 00 1C */ beq lbl_8030CACC +/* 8030CAB4 00309A14 40 80 00 AC */ bge lbl_8030CB60 +/* 8030CAB8 00309A18 48 00 02 14 */ b lbl_8030CCCC +lbl_8030CABC: +/* 8030CABC 00309A1C 2C 00 00 04 */ cmpwi r0, 4 +/* 8030CAC0 00309A20 41 82 01 8C */ beq lbl_8030CC4C +/* 8030CAC4 00309A24 40 80 02 08 */ bge lbl_8030CCCC +/* 8030CAC8 00309A28 48 00 00 98 */ b lbl_8030CB60 +lbl_8030CACC: +/* 8030CACC 00309A2C 3C 60 80 5A */ lis r3, lbl_805A65CC@ha +/* 8030CAD0 00309A30 38 81 00 18 */ addi r4, r1, 0x18 +/* 8030CAD4 00309A34 38 63 65 CC */ addi r3, r3, lbl_805A65CC@l +/* 8030CAD8 00309A38 7C 85 23 78 */ mr r5, r4 +/* 8030CADC 00309A3C 48 07 09 99 */ bl PSMTXMultVec +/* 8030CAE0 00309A40 3C 60 80 5A */ lis r3, lbl_805A6240@ha +/* 8030CAE4 00309A44 57 A4 30 32 */ slwi r4, r29, 6 +/* 8030CAE8 00309A48 38 03 62 40 */ addi r0, r3, lbl_805A6240@l +/* 8030CAEC 00309A4C C0 21 00 18 */ lfs f1, 0x18(r1) +/* 8030CAF0 00309A50 7F 80 22 14 */ add r28, r0, r4 +/* 8030CAF4 00309A54 C0 41 00 1C */ lfs f2, 0x1c(r1) +/* 8030CAF8 00309A58 C0 61 00 20 */ lfs f3, 0x20(r1) +/* 8030CAFC 00309A5C 7F 83 E3 78 */ mr r3, r28 +/* 8030CB00 00309A60 48 06 CD 95 */ bl GXInitLightPos +/* 8030CB04 00309A64 3C 60 80 5A */ lis r3, lbl_805A65CC@ha +/* 8030CB08 00309A68 38 81 00 0C */ addi r4, r1, 0xc +/* 8030CB0C 00309A6C 38 63 65 CC */ addi r3, r3, lbl_805A65CC@l +/* 8030CB10 00309A70 7C 85 23 78 */ mr r5, r4 +/* 8030CB14 00309A74 48 07 09 B5 */ bl PSMTXMultVecSR +/* 8030CB18 00309A78 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 8030CB1C 00309A7C 7F 83 E3 78 */ mr r3, r28 +/* 8030CB20 00309A80 C0 41 00 10 */ lfs f2, 0x10(r1) +/* 8030CB24 00309A84 C0 61 00 14 */ lfs f3, 0x14(r1) +/* 8030CB28 00309A88 48 06 CD 7D */ bl GXInitLightDir +/* 8030CB2C 00309A8C C0 42 C7 F0 */ lfs f2, lbl_805AE510@sda21(r2) +/* 8030CB30 00309A90 7F 83 E3 78 */ mr r3, r28 +/* 8030CB34 00309A94 C0 22 C8 10 */ lfs f1, lbl_805AE530@sda21(r2) +/* 8030CB38 00309A98 FC 60 10 90 */ fmr f3, f2 +/* 8030CB3C 00309A9C C0 9E 00 24 */ lfs f4, 0x24(r30) +/* 8030CB40 00309AA0 C0 BE 00 28 */ lfs f5, 0x28(r30) +/* 8030CB44 00309AA4 C0 DE 00 2C */ lfs f6, 0x2c(r30) +/* 8030CB48 00309AA8 48 06 CB A1 */ bl GXInitLightAttn +/* 8030CB4C 00309AAC C0 3E 00 20 */ lfs f1, 0x20(r30) +/* 8030CB50 00309AB0 7F 83 E3 78 */ mr r3, r28 +/* 8030CB54 00309AB4 38 80 00 03 */ li r4, 3 +/* 8030CB58 00309AB8 48 06 CB AD */ bl GXInitLightSpot +/* 8030CB5C 00309ABC 48 00 01 70 */ b lbl_8030CCCC +lbl_8030CB60: +/* 8030CB60 00309AC0 3C 60 80 5A */ lis r3, lbl_805A65CC@ha +/* 8030CB64 00309AC4 38 81 00 18 */ addi r4, r1, 0x18 +/* 8030CB68 00309AC8 38 63 65 CC */ addi r3, r3, lbl_805A65CC@l +/* 8030CB6C 00309ACC 7C 85 23 78 */ mr r5, r4 +/* 8030CB70 00309AD0 48 07 09 05 */ bl PSMTXMultVec +/* 8030CB74 00309AD4 3C 60 80 5A */ lis r3, lbl_805A6240@ha +/* 8030CB78 00309AD8 57 A4 30 32 */ slwi r4, r29, 6 +/* 8030CB7C 00309ADC 38 03 62 40 */ addi r0, r3, lbl_805A6240@l +/* 8030CB80 00309AE0 C0 21 00 18 */ lfs f1, 0x18(r1) +/* 8030CB84 00309AE4 7F 80 22 14 */ add r28, r0, r4 +/* 8030CB88 00309AE8 C0 41 00 1C */ lfs f2, 0x1c(r1) +/* 8030CB8C 00309AEC C0 61 00 20 */ lfs f3, 0x20(r1) +/* 8030CB90 00309AF0 7F 83 E3 78 */ mr r3, r28 +/* 8030CB94 00309AF4 48 06 CD 01 */ bl GXInitLightPos +/* 8030CB98 00309AF8 C0 42 C7 F0 */ lfs f2, lbl_805AE510@sda21(r2) +/* 8030CB9C 00309AFC 7F 83 E3 78 */ mr r3, r28 +/* 8030CBA0 00309B00 C0 22 C8 10 */ lfs f1, lbl_805AE530@sda21(r2) +/* 8030CBA4 00309B04 FC 60 10 90 */ fmr f3, f2 +/* 8030CBA8 00309B08 C0 9E 00 24 */ lfs f4, 0x24(r30) +/* 8030CBAC 00309B0C C0 BE 00 28 */ lfs f5, 0x28(r30) +/* 8030CBB0 00309B10 C0 DE 00 2C */ lfs f6, 0x2c(r30) +/* 8030CBB4 00309B14 48 06 CB 35 */ bl GXInitLightAttn +/* 8030CBB8 00309B18 48 00 01 14 */ b lbl_8030CCCC +lbl_8030CBBC: +/* 8030CBBC 00309B1C 3C 60 80 5A */ lis r3, lbl_805A65CC@ha +/* 8030CBC0 00309B20 38 81 00 0C */ addi r4, r1, 0xc +/* 8030CBC4 00309B24 38 63 65 CC */ addi r3, r3, lbl_805A65CC@l +/* 8030CBC8 00309B28 7C 85 23 78 */ mr r5, r4 +/* 8030CBCC 00309B2C 48 07 08 FD */ bl PSMTXMultVecSR +/* 8030CBD0 00309B30 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 8030CBD4 00309B34 3C 60 80 5A */ lis r3, lbl_805A6240@ha +/* 8030CBD8 00309B38 C0 21 00 10 */ lfs f1, 0x10(r1) +/* 8030CBDC 00309B3C 57 A4 30 32 */ slwi r4, r29, 6 +/* 8030CBE0 00309B40 FC A0 00 50 */ fneg f5, f0 +/* 8030CBE4 00309B44 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 8030CBE8 00309B48 FC 80 08 50 */ fneg f4, f1 +/* 8030CBEC 00309B4C 38 03 62 40 */ addi r0, r3, lbl_805A6240@l +/* 8030CBF0 00309B50 FC 00 00 50 */ fneg f0, f0 +/* 8030CBF4 00309B54 7F 80 22 14 */ add r28, r0, r4 +/* 8030CBF8 00309B58 FC 40 20 18 */ frsp f2, f4 +/* 8030CBFC 00309B5C C0 62 C8 2C */ lfs f3, lbl_805AE54C@sda21(r2) +/* 8030CC00 00309B60 FC 20 00 18 */ frsp f1, f0 +/* 8030CC04 00309B64 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 8030CC08 00309B68 FC 00 28 18 */ frsp f0, f5 +/* 8030CC0C 00309B6C 7F 83 E3 78 */ mr r3, r28 +/* 8030CC10 00309B70 EC 23 00 72 */ fmuls f1, f3, f1 +/* 8030CC14 00309B74 D0 81 00 10 */ stfs f4, 0x10(r1) +/* 8030CC18 00309B78 EC 43 00 B2 */ fmuls f2, f3, f2 +/* 8030CC1C 00309B7C EC 63 00 32 */ fmuls f3, f3, f0 +/* 8030CC20 00309B80 D0 A1 00 14 */ stfs f5, 0x14(r1) +/* 8030CC24 00309B84 48 06 CC 71 */ bl GXInitLightPos +/* 8030CC28 00309B88 C0 42 C7 F0 */ lfs f2, lbl_805AE510@sda21(r2) +/* 8030CC2C 00309B8C 7F 83 E3 78 */ mr r3, r28 +/* 8030CC30 00309B90 C0 22 C8 10 */ lfs f1, lbl_805AE530@sda21(r2) +/* 8030CC34 00309B94 FC 60 10 90 */ fmr f3, f2 +/* 8030CC38 00309B98 FC 80 08 90 */ fmr f4, f1 +/* 8030CC3C 00309B9C FC A0 10 90 */ fmr f5, f2 +/* 8030CC40 00309BA0 FC C0 10 90 */ fmr f6, f2 +/* 8030CC44 00309BA4 48 06 CA A5 */ bl GXInitLightAttn +/* 8030CC48 00309BA8 48 00 00 84 */ b lbl_8030CCCC +lbl_8030CC4C: +/* 8030CC4C 00309BAC 3C 60 80 5A */ lis r3, lbl_805A65CC@ha +/* 8030CC50 00309BB0 38 81 00 18 */ addi r4, r1, 0x18 +/* 8030CC54 00309BB4 38 63 65 CC */ addi r3, r3, lbl_805A65CC@l +/* 8030CC58 00309BB8 7C 85 23 78 */ mr r5, r4 +/* 8030CC5C 00309BBC 48 07 08 19 */ bl PSMTXMultVec +/* 8030CC60 00309BC0 3C 60 80 5A */ lis r3, lbl_805A6240@ha +/* 8030CC64 00309BC4 57 A4 30 32 */ slwi r4, r29, 6 +/* 8030CC68 00309BC8 38 03 62 40 */ addi r0, r3, lbl_805A6240@l +/* 8030CC6C 00309BCC C0 21 00 18 */ lfs f1, 0x18(r1) +/* 8030CC70 00309BD0 7F 80 22 14 */ add r28, r0, r4 +/* 8030CC74 00309BD4 C0 41 00 1C */ lfs f2, 0x1c(r1) +/* 8030CC78 00309BD8 C0 61 00 20 */ lfs f3, 0x20(r1) +/* 8030CC7C 00309BDC 7F 83 E3 78 */ mr r3, r28 +/* 8030CC80 00309BE0 48 06 CC 15 */ bl GXInitLightPos +/* 8030CC84 00309BE4 3C 60 80 5A */ lis r3, lbl_805A65CC@ha +/* 8030CC88 00309BE8 38 81 00 0C */ addi r4, r1, 0xc +/* 8030CC8C 00309BEC 38 63 65 CC */ addi r3, r3, lbl_805A65CC@l +/* 8030CC90 00309BF0 7C 85 23 78 */ mr r5, r4 +/* 8030CC94 00309BF4 48 07 08 35 */ bl PSMTXMultVecSR +/* 8030CC98 00309BF8 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 8030CC9C 00309BFC 7F 83 E3 78 */ mr r3, r28 +/* 8030CCA0 00309C00 C0 41 00 10 */ lfs f2, 0x10(r1) +/* 8030CCA4 00309C04 C0 61 00 14 */ lfs f3, 0x14(r1) +/* 8030CCA8 00309C08 48 06 CB FD */ bl GXInitLightDir +/* 8030CCAC 00309C0C C0 3E 00 30 */ lfs f1, 0x30(r30) +/* 8030CCB0 00309C10 7F 83 E3 78 */ mr r3, r28 +/* 8030CCB4 00309C14 C0 5E 00 34 */ lfs f2, 0x34(r30) +/* 8030CCB8 00309C18 C0 7E 00 38 */ lfs f3, 0x38(r30) +/* 8030CCBC 00309C1C C0 9E 00 24 */ lfs f4, 0x24(r30) +/* 8030CCC0 00309C20 C0 BE 00 28 */ lfs f5, 0x28(r30) +/* 8030CCC4 00309C24 C0 DE 00 2C */ lfs f6, 0x2c(r30) +/* 8030CCC8 00309C28 48 06 CA 21 */ bl GXInitLightAttn +lbl_8030CCCC: +/* 8030CCCC 00309C2C 80 DE 00 18 */ lwz r6, 0x18(r30) +/* 8030CCD0 00309C30 3C 60 80 5A */ lis r3, lbl_805A6240@ha +/* 8030CCD4 00309C34 57 A5 30 32 */ slwi r5, r29, 6 +/* 8030CCD8 00309C38 38 81 00 08 */ addi r4, r1, 8 +/* 8030CCDC 00309C3C 38 03 62 40 */ addi r0, r3, lbl_805A6240@l +/* 8030CCE0 00309C40 90 C1 00 08 */ stw r6, 8(r1) +/* 8030CCE4 00309C44 7F 80 2A 14 */ add r28, r0, r5 +/* 8030CCE8 00309C48 7F 83 E3 78 */ mr r3, r28 +/* 8030CCEC 00309C4C 48 06 CB D5 */ bl GXInitLightColor +/* 8030CCF0 00309C50 7F 83 E3 78 */ mr r3, r28 +/* 8030CCF4 00309C54 7F E4 FB 78 */ mr r4, r31 +/* 8030CCF8 00309C58 48 06 CB D5 */ bl GXLoadLightObjImm +/* 8030CCFC 00309C5C 3C 60 80 3F */ lis r3, lbl_803ED928@ha +/* 8030CD00 00309C60 80 9E 00 1C */ lwz r4, 0x1c(r30) +/* 8030CD04 00309C64 57 A0 10 3A */ slwi r0, r29, 2 +/* 8030CD08 00309C68 38 63 D9 28 */ addi r3, r3, lbl_803ED928@l +/* 8030CD0C 00309C6C 7C 83 01 2E */ stwx r4, r3, r0 +/* 8030CD10 00309C70 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 8030CD14 00309C74 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 8030CD18 00309C78 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 8030CD1C 00309C7C 83 81 00 30 */ lwz r28, 0x30(r1) +/* 8030CD20 00309C80 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8030CD24 00309C84 7C 08 03 A6 */ mtlr r0 +/* 8030CD28 00309C88 38 21 00 40 */ addi r1, r1, 0x40 +/* 8030CD2C 00309C8C 4E 80 00 20 */ blr + +.global EnableLight__9CGraphicsF9ERglLight +EnableLight__9CGraphicsF9ERglLight: +/* 8030CD30 00309C90 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030CD34 00309C94 7C 08 02 A6 */ mflr r0 +/* 8030CD38 00309C98 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030CD3C 00309C9C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8030CD40 00309CA0 7C 7F 1B 78 */ mr r31, r3 +/* 8030CD44 00309CA4 38 60 00 01 */ li r3, 1 +/* 8030CD48 00309CA8 4B FF C1 09 */ bl SetNumChans__3CGXFUc +/* 8030CD4C 00309CAC 38 00 00 01 */ li r0, 1 +/* 8030CD50 00309CB0 88 6D A8 16 */ lbz r3, lbl_805A93D6@sda21(r13) +/* 8030CD54 00309CB4 7C 04 F8 30 */ slw r4, r0, r31 +/* 8030CD58 00309CB8 7C 60 20 39 */ and. r0, r3, r4 +/* 8030CD5C 00309CBC 40 82 00 38 */ bne lbl_8030CD94 +/* 8030CD60 00309CC0 7C 60 23 78 */ or r0, r3, r4 +/* 8030CD64 00309CC4 38 60 00 00 */ li r3, 0 +/* 8030CD68 00309CC8 98 0D A8 16 */ stb r0, lbl_805A93D6@sda21(r13) +/* 8030CD6C 00309CCC 54 07 06 3E */ clrlwi r7, r0, 0x18 +/* 8030CD70 00309CD0 38 80 00 01 */ li r4, 1 +/* 8030CD74 00309CD4 38 A0 00 00 */ li r5, 0 +/* 8030CD78 00309CD8 38 C0 00 00 */ li r6, 0 +/* 8030CD7C 00309CDC 39 00 00 02 */ li r8, 2 +/* 8030CD80 00309CE0 39 20 00 01 */ li r9, 1 +/* 8030CD84 00309CE4 4B FF BF 49 */ bl SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn +/* 8030CD88 00309CE8 80 6D A7 DC */ lwz r3, lbl_805A939C@sda21(r13) +/* 8030CD8C 00309CEC 38 03 00 01 */ addi r0, r3, 1 +/* 8030CD90 00309CF0 90 0D A7 DC */ stw r0, lbl_805A939C@sda21(r13) +lbl_8030CD94: +/* 8030CD94 00309CF4 88 0D A8 16 */ lbz r0, lbl_805A93D6@sda21(r13) +/* 8030CD98 00309CF8 98 0D A8 17 */ stb r0, lbl_805A93D7@sda21(r13) +/* 8030CD9C 00309CFC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030CDA0 00309D00 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8030CDA4 00309D04 7C 08 03 A6 */ mtlr r0 +/* 8030CDA8 00309D08 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030CDAC 00309D0C 4E 80 00 20 */ blr + +.global ConfigureFrameBuffer__9CGraphicsFRC10COsContext +ConfigureFrameBuffer__9CGraphicsFRC10COsContext: +/* 8030CDB0 00309D10 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 8030CDB4 00309D14 7C 08 02 A6 */ mflr r0 +/* 8030CDB8 00309D18 38 A0 00 07 */ li r5, 7 +/* 8030CDBC 00309D1C 90 01 00 64 */ stw r0, 0x64(r1) +/* 8030CDC0 00309D20 BE 61 00 2C */ stmw r19, 0x2c(r1) +/* 8030CDC4 00309D24 7C 7C 1B 78 */ mr r28, r3 +/* 8030CDC8 00309D28 3C 60 80 5A */ lis r3, lbl_805A6500@ha +/* 8030CDCC 00309D2C 3B E3 65 00 */ addi r31, r3, lbl_805A6500@l +/* 8030CDD0 00309D30 38 9C 00 62 */ addi r4, r28, 0x62 +/* 8030CDD4 00309D34 3B DF 00 32 */ addi r30, r31, 0x32 +/* 8030CDD8 00309D38 3B BF 00 1A */ addi r29, r31, 0x1a +/* 8030CDDC 00309D3C 7F C3 F3 78 */ mr r3, r30 +/* 8030CDE0 00309D40 82 7C 00 30 */ lwz r19, 0x30(r28) +/* 8030CDE4 00309D44 A2 9C 00 34 */ lhz r20, 0x34(r28) +/* 8030CDE8 00309D48 A2 BC 00 36 */ lhz r21, 0x36(r28) +/* 8030CDEC 00309D4C A2 DC 00 38 */ lhz r22, 0x38(r28) +/* 8030CDF0 00309D50 A2 FC 00 3A */ lhz r23, 0x3a(r28) +/* 8030CDF4 00309D54 A3 1C 00 3C */ lhz r24, 0x3c(r28) +/* 8030CDF8 00309D58 A3 3C 00 3E */ lhz r25, 0x3e(r28) +/* 8030CDFC 00309D5C A3 5C 00 40 */ lhz r26, 0x40(r28) +/* 8030CE00 00309D60 83 7C 00 44 */ lwz r27, 0x44(r28) +/* 8030CE04 00309D64 89 9C 00 48 */ lbz r12, 0x48(r28) +/* 8030CE08 00309D68 89 7C 00 49 */ lbz r11, 0x49(r28) +/* 8030CE0C 00309D6C 81 5C 00 4A */ lwz r10, 0x4a(r28) +/* 8030CE10 00309D70 81 3C 00 4E */ lwz r9, 0x4e(r28) +/* 8030CE14 00309D74 81 1C 00 52 */ lwz r8, 0x52(r28) +/* 8030CE18 00309D78 80 FC 00 56 */ lwz r7, 0x56(r28) +/* 8030CE1C 00309D7C 80 DC 00 5A */ lwz r6, 0x5a(r28) +/* 8030CE20 00309D80 80 1C 00 5E */ lwz r0, 0x5e(r28) +/* 8030CE24 00309D84 92 7F 00 00 */ stw r19, 0(r31) +/* 8030CE28 00309D88 B2 9F 00 04 */ sth r20, 4(r31) +/* 8030CE2C 00309D8C B2 BF 00 06 */ sth r21, 6(r31) +/* 8030CE30 00309D90 B2 DF 00 08 */ sth r22, 8(r31) +/* 8030CE34 00309D94 B2 FF 00 0A */ sth r23, 0xa(r31) +/* 8030CE38 00309D98 B3 1F 00 0C */ sth r24, 0xc(r31) +/* 8030CE3C 00309D9C B3 3F 00 0E */ sth r25, 0xe(r31) +/* 8030CE40 00309DA0 B3 5F 00 10 */ sth r26, 0x10(r31) +/* 8030CE44 00309DA4 93 7F 00 14 */ stw r27, 0x14(r31) +/* 8030CE48 00309DA8 99 9F 00 18 */ stb r12, 0x18(r31) +/* 8030CE4C 00309DAC 99 7F 00 19 */ stb r11, 0x19(r31) +/* 8030CE50 00309DB0 91 5F 00 1A */ stw r10, 0x1a(r31) +/* 8030CE54 00309DB4 91 3F 00 1E */ stw r9, 0x1e(r31) +/* 8030CE58 00309DB8 91 1F 00 22 */ stw r8, 0x22(r31) +/* 8030CE5C 00309DBC 90 FF 00 26 */ stw r7, 0x26(r31) +/* 8030CE60 00309DC0 90 DF 00 2A */ stw r6, 0x2a(r31) +/* 8030CE64 00309DC4 90 1F 00 2E */ stw r0, 0x2e(r31) +/* 8030CE68 00309DC8 48 07 C8 3D */ bl __copy +/* 8030CE6C 00309DCC 80 9C 00 24 */ lwz r4, 0x24(r28) +/* 8030CE70 00309DD0 3C 60 80 5A */ lis r3, lbl_805A6500@ha +/* 8030CE74 00309DD4 80 1C 00 28 */ lwz r0, 0x28(r28) +/* 8030CE78 00309DD8 38 63 65 00 */ addi r3, r3, lbl_805A6500@l +/* 8030CE7C 00309DDC 90 8D A8 18 */ stw r4, lbl_805A93D8@sda21(r13) +/* 8030CE80 00309DE0 90 0D A8 1C */ stw r0, lbl_805A93DC@sda21(r13) +/* 8030CE84 00309DE4 48 07 B6 D1 */ bl VIConfigure +/* 8030CE88 00309DE8 80 6D A8 18 */ lwz r3, lbl_805A93D8@sda21(r13) +/* 8030CE8C 00309DEC 48 07 C3 B5 */ bl VISetNextFrameBuffer +/* 8030CE90 00309DF0 A0 9F 00 04 */ lhz r4, 4(r31) +/* 8030CE94 00309DF4 3C 60 43 30 */ lis r3, 0x4330 +/* 8030CE98 00309DF8 A0 1F 00 06 */ lhz r0, 6(r31) +/* 8030CE9C 00309DFC 90 81 00 0C */ stw r4, 0xc(r1) +/* 8030CEA0 00309E00 C0 22 C7 F0 */ lfs f1, lbl_805AE510@sda21(r2) +/* 8030CEA4 00309E04 90 61 00 08 */ stw r3, 8(r1) +/* 8030CEA8 00309E08 80 8D A8 1C */ lwz r4, lbl_805A93DC@sda21(r13) +/* 8030CEAC 00309E0C FC 40 08 90 */ fmr f2, f1 +/* 8030CEB0 00309E10 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030CEB4 00309E14 FC A0 08 90 */ fmr f5, f1 +/* 8030CEB8 00309E18 C8 82 C7 F8 */ lfd f4, lbl_805AE518@sda21(r2) +/* 8030CEBC 00309E1C 90 61 00 10 */ stw r3, 0x10(r1) +/* 8030CEC0 00309E20 C8 61 00 08 */ lfd f3, 8(r1) +/* 8030CEC4 00309E24 C8 01 00 10 */ lfd f0, 0x10(r1) +/* 8030CEC8 00309E28 EC 63 20 28 */ fsubs f3, f3, f4 +/* 8030CECC 00309E2C 90 8D A8 20 */ stw r4, lbl_805A93E0@sda21(r13) +/* 8030CED0 00309E30 EC 80 20 28 */ fsubs f4, f0, f4 +/* 8030CED4 00309E34 C0 C2 C8 10 */ lfs f6, lbl_805AE530@sda21(r2) +/* 8030CED8 00309E38 48 06 F7 71 */ bl GXSetViewport +/* 8030CEDC 00309E3C A0 BF 00 04 */ lhz r5, 4(r31) +/* 8030CEE0 00309E40 38 60 00 00 */ li r3, 0 +/* 8030CEE4 00309E44 A0 DF 00 06 */ lhz r6, 6(r31) +/* 8030CEE8 00309E48 38 80 00 00 */ li r4, 0 +/* 8030CEEC 00309E4C 48 06 F7 81 */ bl GXSetScissor +/* 8030CEF0 00309E50 A0 BF 00 04 */ lhz r5, 4(r31) +/* 8030CEF4 00309E54 38 60 00 00 */ li r3, 0 +/* 8030CEF8 00309E58 A0 DF 00 06 */ lhz r6, 6(r31) +/* 8030CEFC 00309E5C 38 80 00 00 */ li r4, 0 +/* 8030CF00 00309E60 48 06 BE 25 */ bl GXSetDispCopySrc +/* 8030CF04 00309E64 A0 7F 00 04 */ lhz r3, 4(r31) +/* 8030CF08 00309E68 A0 9F 00 06 */ lhz r4, 6(r31) +/* 8030CF0C 00309E6C 48 06 BF 39 */ bl GXSetDispCopyDst +/* 8030CF10 00309E70 A0 9F 00 08 */ lhz r4, 8(r31) +/* 8030CF14 00309E74 3C 60 43 30 */ lis r3, 0x4330 +/* 8030CF18 00309E78 A0 1F 00 06 */ lhz r0, 6(r31) +/* 8030CF1C 00309E7C 90 81 00 1C */ stw r4, 0x1c(r1) +/* 8030CF20 00309E80 C8 42 C7 F8 */ lfd f2, lbl_805AE518@sda21(r2) +/* 8030CF24 00309E84 90 61 00 18 */ stw r3, 0x18(r1) +/* 8030CF28 00309E88 C8 01 00 18 */ lfd f0, 0x18(r1) +/* 8030CF2C 00309E8C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8030CF30 00309E90 EC 20 10 28 */ fsubs f1, f0, f2 +/* 8030CF34 00309E94 90 61 00 20 */ stw r3, 0x20(r1) +/* 8030CF38 00309E98 C8 01 00 20 */ lfd f0, 0x20(r1) +/* 8030CF3C 00309E9C EC 00 10 28 */ fsubs f0, f0, f2 +/* 8030CF40 00309EA0 EC 21 00 24 */ fdivs f1, f1, f0 +/* 8030CF44 00309EA4 48 06 C1 21 */ bl GXSetDispCopyYScale +/* 8030CF48 00309EA8 88 7F 00 19 */ lbz r3, 0x19(r31) +/* 8030CF4C 00309EAC 7F A4 EB 78 */ mr r4, r29 +/* 8030CF50 00309EB0 7F C6 F3 78 */ mr r6, r30 +/* 8030CF54 00309EB4 38 A0 00 01 */ li r5, 1 +/* 8030CF58 00309EB8 48 06 C2 3D */ bl GXSetCopyFilter +/* 8030CF5C 00309EBC 88 1F 00 19 */ lbz r0, 0x19(r31) +/* 8030CF60 00309EC0 28 00 00 00 */ cmplwi r0, 0 +/* 8030CF64 00309EC4 41 82 00 14 */ beq lbl_8030CF78 +/* 8030CF68 00309EC8 38 60 00 02 */ li r3, 2 +/* 8030CF6C 00309ECC 38 80 00 00 */ li r4, 0 +/* 8030CF70 00309ED0 48 06 F0 55 */ bl GXSetPixelFmt +/* 8030CF74 00309ED4 48 00 00 10 */ b lbl_8030CF84 +lbl_8030CF78: +/* 8030CF78 00309ED8 38 60 00 00 */ li r3, 0 +/* 8030CF7C 00309EDC 38 80 00 00 */ li r4, 0 +/* 8030CF80 00309EE0 48 06 F0 45 */ bl GXSetPixelFmt +lbl_8030CF84: +/* 8030CF84 00309EE4 38 60 00 00 */ li r3, 0 +/* 8030CF88 00309EE8 48 06 C4 35 */ bl GXSetDispCopyGamma +/* 8030CF8C 00309EEC 80 6D A8 20 */ lwz r3, lbl_805A93E0@sda21(r13) +/* 8030CF90 00309EF0 38 80 00 01 */ li r4, 1 +/* 8030CF94 00309EF4 48 06 C4 45 */ bl GXCopyDisp +/* 8030CF98 00309EF8 48 07 C1 79 */ bl VIFlush +/* 8030CF9C 00309EFC 48 07 B0 F1 */ bl VIWaitForRetrace +/* 8030CFA0 00309F00 48 07 B0 ED */ bl VIWaitForRetrace +/* 8030CFA4 00309F04 3C 60 80 3F */ lis r3, lbl_803ED910@ha +/* 8030CFA8 00309F08 A0 9F 00 04 */ lhz r4, 4(r31) +/* 8030CFAC 00309F0C 38 63 D9 10 */ addi r3, r3, lbl_803ED910@l +/* 8030CFB0 00309F10 A0 1F 00 06 */ lhz r0, 6(r31) +/* 8030CFB4 00309F14 90 83 00 08 */ stw r4, 8(r3) +/* 8030CFB8 00309F18 90 03 00 0C */ stw r0, 0xc(r3) +/* 8030CFBC 00309F1C 48 00 00 19 */ bl InitGraphicsDefaults__9CGraphicsFv +/* 8030CFC0 00309F20 BA 61 00 2C */ lmw r19, 0x2c(r1) +/* 8030CFC4 00309F24 80 01 00 64 */ lwz r0, 0x64(r1) +/* 8030CFC8 00309F28 7C 08 03 A6 */ mtlr r0 +/* 8030CFCC 00309F2C 38 21 00 60 */ addi r1, r1, 0x60 +/* 8030CFD0 00309F30 4E 80 00 20 */ blr + +.global InitGraphicsDefaults__9CGraphicsFv +InitGraphicsDefaults__9CGraphicsFv: +/* 8030CFD4 00309F34 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030CFD8 00309F38 7C 08 02 A6 */ mflr r0 +/* 8030CFDC 00309F3C C0 22 C7 F0 */ lfs f1, lbl_805AE510@sda21(r2) +/* 8030CFE0 00309F40 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030CFE4 00309F44 C0 42 C8 10 */ lfs f2, lbl_805AE530@sda21(r2) +/* 8030CFE8 00309F48 4B FF D3 F9 */ bl SetDepthRange__9CGraphicsFff +/* 8030CFEC 00309F4C 38 00 00 00 */ li r0, 0 +/* 8030CFF0 00309F50 3C 60 80 5A */ lis r3, lbl_805A6204@ha +/* 8030CFF4 00309F54 98 0D 9C 80 */ stb r0, lbl_805A8840@sda21(r13) +/* 8030CFF8 00309F58 38 63 62 04 */ addi r3, r3, lbl_805A6204@l +/* 8030CFFC 00309F5C 4B FF F5 E5 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 8030D000 00309F60 3C 60 80 5A */ lis r3, lbl_805A61D4@ha +/* 8030D004 00309F64 38 63 61 D4 */ addi r3, r3, lbl_805A61D4@l +/* 8030D008 00309F68 4B FF F7 45 */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f +/* 8030D00C 00309F6C 80 8D 9C 70 */ lwz r4, lbl_805A8830@sda21(r13) +/* 8030D010 00309F70 38 60 00 00 */ li r3, 0 +/* 8030D014 00309F74 38 A0 00 00 */ li r5, 0 +/* 8030D018 00309F78 4B FF EA 7D */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb +/* 8030D01C 00309F7C 80 6D A7 D8 */ lwz r3, lbl_805A9398@sda21(r13) +/* 8030D020 00309F80 4B FF EA 51 */ bl SetCullMode__9CGraphicsF12ERglCullMode +/* 8030D024 00309F84 3C 60 80 3F */ lis r3, lbl_803ED910@ha +/* 8030D028 00309F88 38 C3 D9 10 */ addi r6, r3, lbl_803ED910@l +/* 8030D02C 00309F8C 80 66 00 00 */ lwz r3, 0(r6) +/* 8030D030 00309F90 80 86 00 04 */ lwz r4, 4(r6) +/* 8030D034 00309F94 80 A6 00 08 */ lwz r5, 8(r6) +/* 8030D038 00309F98 80 C6 00 0C */ lwz r6, 0xc(r6) +/* 8030D03C 00309F9C 4B FF F0 55 */ bl SetViewport__9CGraphicsFiiii +/* 8030D040 00309FA0 4B FF CE 29 */ bl FlushProjection__9CGraphicsFv +/* 8030D044 00309FA4 4B FF C0 35 */ bl Init__13CTevCombinersFv +/* 8030D048 00309FA8 4B FF F9 35 */ bl DisableAllLights__9CGraphicsFv +/* 8030D04C 00309FAC 4B FF D0 89 */ bl SetDefaultVtxAttrFmt__9CGraphicsFv +/* 8030D050 00309FB0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030D054 00309FB4 7C 08 03 A6 */ mtlr r0 +/* 8030D058 00309FB8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030D05C 00309FBC 4E 80 00 20 */ blr + +.global Shutdown__9CGraphicsFv +Shutdown__9CGraphicsFv: +/* 8030D060 00309FC0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030D064 00309FC4 7C 08 02 A6 */ mflr r0 +/* 8030D068 00309FC8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030D06C 00309FCC 80 6D A8 30 */ lwz r3, lbl_805A93F0@sda21(r13) +/* 8030D070 00309FD0 48 06 D8 19 */ bl GXSetTexRegionCallback +/* 8030D074 00309FD4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030D078 00309FD8 7C 08 03 A6 */ mtlr r0 +/* 8030D07C 00309FDC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030D080 00309FE0 4E 80 00 20 */ blr + +.global InitGraphicsVariables__9CGraphicsFv +InitGraphicsVariables__9CGraphicsFv: +/* 8030D084 00309FE4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8030D088 00309FE8 7C 08 02 A6 */ mflr r0 +/* 8030D08C 00309FEC 3C 60 80 3F */ lis r3, lbl_803ED928@ha +/* 8030D090 00309FF0 38 E0 00 02 */ li r7, 2 +/* 8030D094 00309FF4 90 01 00 34 */ stw r0, 0x34(r1) +/* 8030D098 00309FF8 38 C3 D9 28 */ addi r6, r3, lbl_803ED928@l +/* 8030D09C 00309FFC 38 00 00 00 */ li r0, 0 +/* 8030D0A0 0030A000 38 60 00 00 */ li r3, 0 +/* 8030D0A4 0030A004 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8030D0A8 0030A008 38 A0 00 00 */ li r5, 0 +/* 8030D0AC 0030A00C 90 E6 00 00 */ stw r7, 0(r6) +/* 8030D0B0 0030A010 80 8D 9C 70 */ lwz r4, lbl_805A8830@sda21(r13) +/* 8030D0B4 0030A014 90 E6 00 04 */ stw r7, 4(r6) +/* 8030D0B8 0030A018 90 E6 00 08 */ stw r7, 8(r6) +/* 8030D0BC 0030A01C 90 E6 00 0C */ stw r7, 0xc(r6) +/* 8030D0C0 0030A020 90 E6 00 10 */ stw r7, 0x10(r6) +/* 8030D0C4 0030A024 90 E6 00 14 */ stw r7, 0x14(r6) +/* 8030D0C8 0030A028 90 E6 00 18 */ stw r7, 0x18(r6) +/* 8030D0CC 0030A02C 90 E6 00 1C */ stw r7, 0x1c(r6) +/* 8030D0D0 0030A030 98 0D A8 16 */ stb r0, lbl_805A93D6@sda21(r13) +/* 8030D0D4 0030A034 4B FF E9 C1 */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb +/* 8030D0D8 0030A038 38 60 00 00 */ li r3, 0 +/* 8030D0DC 0030A03C 4B FF E9 95 */ bl SetCullMode__9CGraphicsF12ERglCullMode +/* 8030D0E0 0030A040 C0 22 C8 30 */ lfs f1, lbl_805AE550@sda21(r2) +/* 8030D0E4 0030A044 38 61 00 08 */ addi r3, r1, 8 +/* 8030D0E8 0030A048 C0 82 C8 10 */ lfs f4, lbl_805AE530@sda21(r2) +/* 8030D0EC 0030A04C FC 40 08 90 */ fmr f2, f1 +/* 8030D0F0 0030A050 FC 60 08 90 */ fmr f3, f1 +/* 8030D0F4 0030A054 48 05 62 F9 */ bl __ct__6CColorFffff +/* 8030D0F8 0030A058 4B FF EF 25 */ bl SetAmbientColor__9CGraphicsFRC6CColor +/* 8030D0FC 0030A05C 38 00 00 00 */ li r0, 0 +/* 8030D100 0030A060 98 0D 9C 80 */ stb r0, lbl_805A8840@sda21(r13) +/* 8030D104 0030A064 4B FF F5 C1 */ bl SetIdentityViewPointMatrix__9CGraphicsFv +/* 8030D108 0030A068 4B FF F4 91 */ bl SetIdentityModelMatrix__9CGraphicsFv +/* 8030D10C 0030A06C 3C 80 80 3F */ lis r4, lbl_803ED910@ha +/* 8030D110 0030A070 38 60 00 00 */ li r3, 0 +/* 8030D114 0030A074 3B E4 D9 10 */ addi r31, r4, lbl_803ED910@l +/* 8030D118 0030A078 38 80 00 00 */ li r4, 0 +/* 8030D11C 0030A07C 80 BF 00 08 */ lwz r5, 8(r31) +/* 8030D120 0030A080 80 DF 00 0C */ lwz r6, 0xc(r31) +/* 8030D124 0030A084 4B FF EF 6D */ bl SetViewport__9CGraphicsFiiii +/* 8030D128 0030A088 80 BF 00 08 */ lwz r5, 8(r31) +/* 8030D12C 0030A08C 3C 80 43 30 */ lis r4, 0x4330 +/* 8030D130 0030A090 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 8030D134 0030A094 3C 60 80 5A */ lis r3, lbl_805A61B8@ha +/* 8030D138 0030A098 6C A5 80 00 */ xoris r5, r5, 0x8000 +/* 8030D13C 0030A09C 90 81 00 10 */ stw r4, 0x10(r1) +/* 8030D140 0030A0A0 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8030D144 0030A0A4 38 63 61 B8 */ addi r3, r3, lbl_805A61B8@l +/* 8030D148 0030A0A8 90 A1 00 14 */ stw r5, 0x14(r1) +/* 8030D14C 0030A0AC C8 A2 C7 E8 */ lfd f5, lbl_805AE508@sda21(r2) +/* 8030D150 0030A0B0 C8 01 00 10 */ lfd f0, 0x10(r1) +/* 8030D154 0030A0B4 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8030D158 0030A0B8 EC 40 28 28 */ fsubs f2, f0, f5 +/* 8030D15C 0030A0BC C0 22 C7 F4 */ lfs f1, lbl_805AE514@sda21(r2) +/* 8030D160 0030A0C0 90 81 00 18 */ stw r4, 0x18(r1) +/* 8030D164 0030A0C4 C0 63 00 14 */ lfs f3, 0x14(r3) +/* 8030D168 0030A0C8 C8 01 00 18 */ lfd f0, 0x18(r1) +/* 8030D16C 0030A0CC C0 83 00 18 */ lfs f4, 0x18(r3) +/* 8030D170 0030A0D0 EC 00 28 28 */ fsubs f0, f0, f5 +/* 8030D174 0030A0D4 EC 42 00 24 */ fdivs f2, f2, f0 +/* 8030D178 0030A0D8 4B FF F3 19 */ bl SetPerspective__9CGraphicsFffff +/* 8030D17C 0030A0DC C0 22 C8 10 */ lfs f1, lbl_805AE530@sda21(r2) +/* 8030D180 0030A0E0 38 6D A7 F8 */ addi r3, r13, lbl_805A93B8@sda21 +/* 8030D184 0030A0E4 4B FF EE 45 */ bl SetCopyClear__9CGraphicsFRC6CColorf +/* 8030D188 0030A0E8 80 02 C7 AC */ lwz r0, lbl_805AE4CC@sda21(r2) +/* 8030D18C 0030A0EC 38 81 00 0C */ addi r4, r1, 0xc +/* 8030D190 0030A0F0 38 60 00 00 */ li r3, 0 +/* 8030D194 0030A0F4 90 01 00 0C */ stw r0, 0xc(r1) +/* 8030D198 0030A0F8 4B FF BB C5 */ bl SetChanMatColor__3CGXFQ23CGX10EChannelIdRC8_GXColor +/* 8030D19C 0030A0FC 38 6D A7 B8 */ addi r3, r13, lbl_805A9378@sda21 +/* 8030D1A0 0030A100 4B FF C1 59 */ bl ResetFlushAll__Q29CGraphics12CRenderStateFv +/* 8030D1A4 0030A104 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8030D1A8 0030A108 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8030D1AC 0030A10C 7C 08 03 A6 */ mtlr r0 +/* 8030D1B0 0030A110 38 21 00 30 */ addi r1, r1, 0x30 +/* 8030D1B4 0030A114 4E 80 00 20 */ blr + +.global TexRegionCallback__9CGraphicsFP9_GXTexObj11_GXTexMapID +TexRegionCallback__9CGraphicsFP9_GXTexObj11_GXTexMapID: +/* 8030D1B8 0030A118 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030D1BC 0030A11C 7C 08 02 A6 */ mflr r0 +/* 8030D1C0 0030A120 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030D1C4 0030A124 88 0D A8 58 */ lbz r0, lbl_805A9418@sda21(r13) +/* 8030D1C8 0030A128 7C 00 07 75 */ extsb. r0, r0 +/* 8030D1CC 0030A12C 40 82 00 14 */ bne lbl_8030D1E0 +/* 8030D1D0 0030A130 38 A0 00 00 */ li r5, 0 +/* 8030D1D4 0030A134 38 00 00 01 */ li r0, 1 +/* 8030D1D8 0030A138 90 AD A8 54 */ stw r5, lbl_805A9414@sda21(r13) +/* 8030D1DC 0030A13C 98 0D A8 58 */ stb r0, lbl_805A9418@sda21(r13) +lbl_8030D1E0: +/* 8030D1E0 0030A140 88 0D A8 60 */ lbz r0, lbl_805A9420@sda21(r13) +/* 8030D1E4 0030A144 7C 00 07 75 */ extsb. r0, r0 +/* 8030D1E8 0030A148 40 82 00 14 */ bne lbl_8030D1FC +/* 8030D1EC 0030A14C 38 A0 00 00 */ li r5, 0 +/* 8030D1F0 0030A150 38 00 00 01 */ li r0, 1 +/* 8030D1F4 0030A154 90 AD A8 5C */ stw r5, lbl_805A941C@sda21(r13) +/* 8030D1F8 0030A158 98 0D A8 60 */ stb r0, lbl_805A9420@sda21(r13) +lbl_8030D1FC: +/* 8030D1FC 0030A15C 2C 04 00 07 */ cmpwi r4, 7 +/* 8030D200 0030A160 40 82 00 10 */ bne lbl_8030D210 +/* 8030D204 0030A164 3C 60 80 5A */ lis r3, lbl_805A6440@ha +/* 8030D208 0030A168 38 63 64 40 */ addi r3, r3, lbl_805A6440@l +/* 8030D20C 0030A16C 48 00 00 70 */ b lbl_8030D27C +lbl_8030D210: +/* 8030D210 0030A170 48 06 D0 E5 */ bl GXGetTexObjFmt +/* 8030D214 0030A174 2C 03 00 08 */ cmpwi r3, 8 +/* 8030D218 0030A178 41 82 00 48 */ beq lbl_8030D260 +/* 8030D21C 0030A17C 2C 03 00 09 */ cmpwi r3, 9 +/* 8030D220 0030A180 41 82 00 40 */ beq lbl_8030D260 +/* 8030D224 0030A184 2C 03 00 0A */ cmpwi r3, 0xa +/* 8030D228 0030A188 41 82 00 38 */ beq lbl_8030D260 +/* 8030D22C 0030A18C 80 6D A8 54 */ lwz r3, lbl_805A9414@sda21(r13) +/* 8030D230 0030A190 2C 03 00 00 */ cmpwi r3, 0 +/* 8030D234 0030A194 40 82 00 0C */ bne lbl_8030D240 +/* 8030D238 0030A198 38 03 00 01 */ addi r0, r3, 1 +/* 8030D23C 0030A19C 90 0D A8 54 */ stw r0, lbl_805A9414@sda21(r13) +lbl_8030D240: +/* 8030D240 0030A1A0 80 AD A8 54 */ lwz r5, lbl_805A9414@sda21(r13) +/* 8030D244 0030A1A4 3C 60 80 5A */ lis r3, lbl_805A6440@ha +/* 8030D248 0030A1A8 38 03 64 40 */ addi r0, r3, lbl_805A6440@l +/* 8030D24C 0030A1AC 38 85 00 01 */ addi r4, r5, 1 +/* 8030D250 0030A1B0 54 A3 26 76 */ rlwinm r3, r5, 4, 0x19, 0x1b +/* 8030D254 0030A1B4 90 8D A8 54 */ stw r4, lbl_805A9414@sda21(r13) +/* 8030D258 0030A1B8 7C 60 1A 14 */ add r3, r0, r3 +/* 8030D25C 0030A1BC 48 00 00 20 */ b lbl_8030D27C +lbl_8030D260: +/* 8030D260 0030A1C0 80 AD A8 5C */ lwz r5, lbl_805A941C@sda21(r13) +/* 8030D264 0030A1C4 3C 60 80 5A */ lis r3, lbl_805A64C0@ha +/* 8030D268 0030A1C8 38 03 64 C0 */ addi r0, r3, lbl_805A64C0@l +/* 8030D26C 0030A1CC 38 85 00 01 */ addi r4, r5, 1 +/* 8030D270 0030A1D0 54 A3 26 B6 */ rlwinm r3, r5, 4, 0x1a, 0x1b +/* 8030D274 0030A1D4 90 8D A8 5C */ stw r4, lbl_805A941C@sda21(r13) +/* 8030D278 0030A1D8 7C 60 1A 14 */ add r3, r0, r3 +lbl_8030D27C: +/* 8030D27C 0030A1DC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030D280 0030A1E0 7C 08 03 A6 */ mtlr r0 +/* 8030D284 0030A1E4 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030D288 0030A1E8 4E 80 00 20 */ blr + +.global Startup__9CGraphicsFRC10COsContextUiPv +Startup__9CGraphicsFRC10COsContextUiPv: +/* 8030D28C 0030A1EC 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 8030D290 0030A1F0 7C 08 02 A6 */ mflr r0 +/* 8030D294 0030A1F4 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 8030D298 0030A1F8 93 E1 00 9C */ stw r31, 0x9c(r1) +/* 8030D29C 0030A1FC 93 C1 00 98 */ stw r30, 0x98(r1) +/* 8030D2A0 0030A200 7C 7E 1B 78 */ mr r30, r3 +/* 8030D2A4 0030A204 7C A3 2B 78 */ mr r3, r5 +/* 8030D2A8 0030A208 93 A1 00 94 */ stw r29, 0x94(r1) +/* 8030D2AC 0030A20C 93 81 00 90 */ stw r28, 0x90(r1) +/* 8030D2B0 0030A210 7C 9C 23 78 */ mr r28, r4 +/* 8030D2B4 0030A214 7F 9D E3 78 */ mr r29, r28 +/* 8030D2B8 0030A218 90 AD A8 34 */ stw r5, lbl_805A93F4@sda21(r13) +/* 8030D2BC 0030A21C 48 06 7E 91 */ bl GXInit +/* 8030D2C0 0030A220 90 6D A8 38 */ stw r3, lbl_805A93F8@sda21(r13) +/* 8030D2C4 0030A224 7F A5 EB 78 */ mr r5, r29 +/* 8030D2C8 0030A228 80 8D A8 34 */ lwz r4, lbl_805A93F4@sda21(r13) +/* 8030D2CC 0030A22C 38 61 00 08 */ addi r3, r1, 8 +/* 8030D2D0 0030A230 48 06 90 E1 */ bl GXInitFifoBase +/* 8030D2D4 0030A234 38 61 00 08 */ addi r3, r1, 8 +/* 8030D2D8 0030A238 48 06 91 C1 */ bl GXSetCPUFifo +/* 8030D2DC 0030A23C 38 61 00 08 */ addi r3, r1, 8 +/* 8030D2E0 0030A240 48 06 92 C9 */ bl GXSetGPFifo +/* 8030D2E4 0030A244 80 6D A8 38 */ lwz r3, lbl_805A93F8@sda21(r13) +/* 8030D2E8 0030A248 38 9C C0 00 */ addi r4, r28, -16384 +/* 8030D2EC 0030A24C 3C BC FF FF */ addis r5, r28, 0xffff +/* 8030D2F0 0030A250 48 06 91 9D */ bl GXInitFifoLimits +/* 8030D2F4 0030A254 80 6D A8 38 */ lwz r3, lbl_805A93F8@sda21(r13) +/* 8030D2F8 0030A258 48 06 91 A1 */ bl GXSetCPUFifo +/* 8030D2FC 0030A25C 80 6D A8 38 */ lwz r3, lbl_805A93F8@sda21(r13) +/* 8030D300 0030A260 48 06 92 A9 */ bl GXSetGPFifo +/* 8030D304 0030A264 38 60 00 01 */ li r3, 1 +/* 8030D308 0030A268 38 80 00 08 */ li r4, 8 +/* 8030D30C 0030A26C 48 06 AF 99 */ bl GXSetMisc +/* 8030D310 0030A270 38 60 00 00 */ li r3, 0 +/* 8030D314 0030A274 48 06 ED 99 */ bl GXSetDither +/* 8030D318 0030A278 4B FF AD ED */ bl ResetGXStates__3CGXFv +/* 8030D31C 0030A27C 4B FF FD 69 */ bl InitGraphicsVariables__9CGraphicsFv +/* 8030D320 0030A280 7F C3 F3 78 */ mr r3, r30 +/* 8030D324 0030A284 4B FF FA 8D */ bl ConfigureFrameBuffer__9CGraphicsFRC10COsContext +/* 8030D328 0030A288 3C 60 80 5A */ lis r3, lbl_805A6440@ha +/* 8030D32C 0030A28C 3B 80 00 00 */ li r28, 0 +/* 8030D330 0030A290 3B A3 64 40 */ addi r29, r3, lbl_805A6440@l +/* 8030D334 0030A294 3F E0 00 08 */ lis r31, 8 +/* 8030D338 0030A298 3B C0 00 00 */ li r30, 0 +lbl_8030D33C: +/* 8030D33C 0030A29C 7F A3 EB 78 */ mr r3, r29 +/* 8030D340 0030A2A0 7F C5 F3 78 */ mr r5, r30 +/* 8030D344 0030A2A4 7F E7 FB 78 */ mr r7, r31 +/* 8030D348 0030A2A8 38 80 00 00 */ li r4, 0 +/* 8030D34C 0030A2AC 38 C0 00 00 */ li r6, 0 +/* 8030D350 0030A2B0 39 00 00 00 */ li r8, 0 +/* 8030D354 0030A2B4 48 06 D2 79 */ bl GXInitTexCacheRegion +/* 8030D358 0030A2B8 3B 9C 00 01 */ addi r28, r28, 1 +/* 8030D35C 0030A2BC 3F FF 00 01 */ addis r31, r31, 1 +/* 8030D360 0030A2C0 2C 1C 00 08 */ cmpwi r28, 8 +/* 8030D364 0030A2C4 3F DE 00 01 */ addis r30, r30, 1 +/* 8030D368 0030A2C8 3B DE 80 00 */ addi r30, r30, -32768 +/* 8030D36C 0030A2CC 3B BD 00 10 */ addi r29, r29, 0x10 +/* 8030D370 0030A2D0 3B FF 80 00 */ addi r31, r31, -32768 +/* 8030D374 0030A2D4 41 80 FF C8 */ blt lbl_8030D33C +/* 8030D378 0030A2D8 3C 60 80 5A */ lis r3, lbl_805A64C0@ha +/* 8030D37C 0030A2DC 3B 80 00 00 */ li r28, 0 +/* 8030D380 0030A2E0 3B E3 64 C0 */ addi r31, r3, lbl_805A64C0@l +/* 8030D384 0030A2E4 3B A0 00 09 */ li r29, 9 +/* 8030D388 0030A2E8 3B C0 00 08 */ li r30, 8 +lbl_8030D38C: +/* 8030D38C 0030A2EC 7F E3 FB 78 */ mr r3, r31 +/* 8030D390 0030A2F0 57 C5 78 20 */ slwi r5, r30, 0xf +/* 8030D394 0030A2F4 57 A7 78 20 */ slwi r7, r29, 0xf +/* 8030D398 0030A2F8 38 80 00 00 */ li r4, 0 +/* 8030D39C 0030A2FC 38 C0 00 00 */ li r6, 0 +/* 8030D3A0 0030A300 39 00 00 00 */ li r8, 0 +/* 8030D3A4 0030A304 48 06 D2 29 */ bl GXInitTexCacheRegion +/* 8030D3A8 0030A308 3B 9C 00 01 */ addi r28, r28, 1 +/* 8030D3AC 0030A30C 3B DE 00 02 */ addi r30, r30, 2 +/* 8030D3B0 0030A310 2C 1C 00 04 */ cmpwi r28, 4 +/* 8030D3B4 0030A314 3B FF 00 10 */ addi r31, r31, 0x10 +/* 8030D3B8 0030A318 3B BD 00 02 */ addi r29, r29, 2 +/* 8030D3BC 0030A31C 41 80 FF D0 */ blt lbl_8030D38C +/* 8030D3C0 0030A320 3C 60 80 31 */ lis r3, TexRegionCallback__9CGraphicsFP9_GXTexObj11_GXTexMapID@ha +/* 8030D3C4 0030A324 38 63 D1 B8 */ addi r3, r3, TexRegionCallback__9CGraphicsFP9_GXTexObj11_GXTexMapID@l +/* 8030D3C8 0030A328 48 06 D4 C1 */ bl GXSetTexRegionCallback +/* 8030D3CC 0030A32C 3C A0 00 04 */ lis r5, 0x00046000@ha +/* 8030D3D0 0030A330 3C 80 80 48 */ lis r4, lbl_80479CC0@ha +/* 8030D3D4 0030A334 38 A5 60 00 */ addi r5, r5, 0x00046000@l +/* 8030D3D8 0030A338 3C 00 00 01 */ lis r0, 1 +/* 8030D3DC 0030A33C 38 84 9C C0 */ addi r4, r4, lbl_80479CC0@l +/* 8030D3E0 0030A340 90 6D A8 30 */ stw r3, lbl_805A93F0@sda21(r13) +/* 8030D3E4 0030A344 38 60 00 01 */ li r3, 1 +/* 8030D3E8 0030A348 90 AD A8 24 */ stw r5, lbl_805A93E4@sda21(r13) +/* 8030D3EC 0030A34C 90 8D A8 28 */ stw r4, lbl_805A93E8@sda21(r13) +/* 8030D3F0 0030A350 90 0D A8 2C */ stw r0, lbl_805A93EC@sda21(r13) +/* 8030D3F4 0030A354 83 E1 00 9C */ lwz r31, 0x9c(r1) +/* 8030D3F8 0030A358 83 C1 00 98 */ lwz r30, 0x98(r1) +/* 8030D3FC 0030A35C 83 A1 00 94 */ lwz r29, 0x94(r1) +/* 8030D400 0030A360 83 81 00 90 */ lwz r28, 0x90(r1) +/* 8030D404 0030A364 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 8030D408 0030A368 7C 08 03 A6 */ mtlr r0 +/* 8030D40C 0030A36C 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 8030D410 0030A370 4E 80 00 20 */ blr + +.global __sinit_DolphinCGraphics_cpp +__sinit_DolphinCGraphics_cpp: +/* 8030D414 0030A374 94 21 FB E0 */ stwu r1, -0x420(r1) +/* 8030D418 0030A378 7C 08 02 A6 */ mflr r0 +/* 8030D41C 0030A37C 90 01 04 24 */ stw r0, 0x424(r1) +/* 8030D420 0030A380 48 07 7F 89 */ bl OSGetTime +/* 8030D424 0030A384 38 00 00 00 */ li r0, 0 +/* 8030D428 0030A388 38 A0 00 01 */ li r5, 1 +/* 8030D42C 0030A38C 90 8D A7 B4 */ stw r4, lbl_805A9374@sda21(r13) +/* 8030D430 0030A390 38 80 00 07 */ li r4, 7 +/* 8030D434 0030A394 90 6D A7 B0 */ stw r3, lbl_805A9370@sda21(r13) +/* 8030D438 0030A398 38 61 01 28 */ addi r3, r1, 0x128 +/* 8030D43C 0030A39C 98 A1 03 F0 */ stb r5, 0x3f0(r1) +/* 8030D440 0030A3A0 90 01 03 F4 */ stw r0, 0x3f4(r1) +/* 8030D444 0030A3A4 90 01 03 F8 */ stw r0, 0x3f8(r1) +/* 8030D448 0030A3A8 90 01 03 FC */ stw r0, 0x3fc(r1) +/* 8030D44C 0030A3AC 90 01 04 00 */ stw r0, 0x400(r1) +/* 8030D450 0030A3B0 98 A1 04 04 */ stb r5, 0x404(r1) +/* 8030D454 0030A3B4 90 01 04 08 */ stw r0, 0x408(r1) +/* 8030D458 0030A3B8 90 01 04 0C */ stw r0, 0x40c(r1) +/* 8030D45C 0030A3BC 90 01 04 10 */ stw r0, 0x410(r1) +/* 8030D460 0030A3C0 90 01 04 14 */ stw r0, 0x414(r1) +/* 8030D464 0030A3C4 4B FF BC C9 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8030D468 0030A3C8 38 61 01 2C */ addi r3, r1, 0x12c +/* 8030D46C 0030A3CC 38 80 00 01 */ li r4, 1 +/* 8030D470 0030A3D0 4B FF BC BD */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8030D474 0030A3D4 38 61 01 30 */ addi r3, r1, 0x130 +/* 8030D478 0030A3D8 38 80 00 05 */ li r4, 5 +/* 8030D47C 0030A3DC 4B FF BC B1 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8030D480 0030A3E0 38 61 01 34 */ addi r3, r1, 0x134 +/* 8030D484 0030A3E4 38 80 00 07 */ li r4, 7 +/* 8030D488 0030A3E8 4B FF BC A5 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8030D48C 0030A3EC 80 E1 01 34 */ lwz r7, 0x134(r1) +/* 8030D490 0030A3F0 38 61 01 38 */ addi r3, r1, 0x138 +/* 8030D494 0030A3F4 80 C1 01 30 */ lwz r6, 0x130(r1) +/* 8030D498 0030A3F8 38 80 00 0F */ li r4, 0xf +/* 8030D49C 0030A3FC 80 A1 01 2C */ lwz r5, 0x12c(r1) +/* 8030D4A0 0030A400 80 01 01 28 */ lwz r0, 0x128(r1) +/* 8030D4A4 0030A404 90 E1 02 68 */ stw r7, 0x268(r1) +/* 8030D4A8 0030A408 90 C1 02 6C */ stw r6, 0x26c(r1) +/* 8030D4AC 0030A40C 90 A1 02 70 */ stw r5, 0x270(r1) +/* 8030D4B0 0030A410 90 01 02 74 */ stw r0, 0x274(r1) +/* 8030D4B4 0030A414 4B FF BC 71 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8030D4B8 0030A418 38 61 01 3C */ addi r3, r1, 0x13c +/* 8030D4BC 0030A41C 38 80 00 02 */ li r4, 2 +/* 8030D4C0 0030A420 4B FF BC 65 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8030D4C4 0030A424 38 61 01 40 */ addi r3, r1, 0x140 +/* 8030D4C8 0030A428 38 80 00 0A */ li r4, 0xa +/* 8030D4CC 0030A42C 4B FF BC 59 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8030D4D0 0030A430 38 61 01 44 */ addi r3, r1, 0x144 +/* 8030D4D4 0030A434 38 80 00 0F */ li r4, 0xf +/* 8030D4D8 0030A438 4B FF BC 4D */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8030D4DC 0030A43C 80 A1 01 44 */ lwz r5, 0x144(r1) +/* 8030D4E0 0030A440 3C 60 80 5A */ lis r3, lbl_805A5698@ha +/* 8030D4E4 0030A444 81 21 01 40 */ lwz r9, 0x140(r1) +/* 8030D4E8 0030A448 38 63 56 98 */ addi r3, r3, lbl_805A5698@l +/* 8030D4EC 0030A44C 81 01 01 3C */ lwz r8, 0x13c(r1) +/* 8030D4F0 0030A450 38 81 02 78 */ addi r4, r1, 0x278 +/* 8030D4F4 0030A454 80 01 01 38 */ lwz r0, 0x138(r1) +/* 8030D4F8 0030A458 38 C1 04 04 */ addi r6, r1, 0x404 +/* 8030D4FC 0030A45C 90 A1 02 78 */ stw r5, 0x278(r1) +/* 8030D500 0030A460 38 A1 02 68 */ addi r5, r1, 0x268 +/* 8030D504 0030A464 38 E1 03 F0 */ addi r7, r1, 0x3f0 +/* 8030D508 0030A468 91 21 02 7C */ stw r9, 0x27c(r1) +/* 8030D50C 0030A46C 91 01 02 80 */ stw r8, 0x280(r1) +/* 8030D510 0030A470 90 01 02 84 */ stw r0, 0x284(r1) +/* 8030D514 0030A474 4B FF BD 41 */ bl sub_80309254 +/* 8030D518 0030A478 38 00 00 00 */ li r0, 0 +/* 8030D51C 0030A47C 38 A0 00 01 */ li r5, 1 +/* 8030D520 0030A480 98 A1 03 C8 */ stb r5, 0x3c8(r1) +/* 8030D524 0030A484 38 61 01 08 */ addi r3, r1, 0x108 +/* 8030D528 0030A488 38 80 00 01 */ li r4, 1 +/* 8030D52C 0030A48C 90 01 03 CC */ stw r0, 0x3cc(r1) +/* 8030D530 0030A490 90 01 03 D0 */ stw r0, 0x3d0(r1) +/* 8030D534 0030A494 90 01 03 D4 */ stw r0, 0x3d4(r1) +/* 8030D538 0030A498 90 01 03 D8 */ stw r0, 0x3d8(r1) +/* 8030D53C 0030A49C 98 A1 03 DC */ stb r5, 0x3dc(r1) +/* 8030D540 0030A4A0 90 01 03 E0 */ stw r0, 0x3e0(r1) +/* 8030D544 0030A4A4 90 01 03 E4 */ stw r0, 0x3e4(r1) +/* 8030D548 0030A4A8 90 01 03 E8 */ stw r0, 0x3e8(r1) +/* 8030D54C 0030A4AC 90 01 03 EC */ stw r0, 0x3ec(r1) +/* 8030D550 0030A4B0 4B FF BB DD */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8030D554 0030A4B4 38 61 01 0C */ addi r3, r1, 0x10c +/* 8030D558 0030A4B8 38 80 00 07 */ li r4, 7 +/* 8030D55C 0030A4BC 4B FF BB D1 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8030D560 0030A4C0 38 61 01 10 */ addi r3, r1, 0x110 +/* 8030D564 0030A4C4 38 80 00 07 */ li r4, 7 +/* 8030D568 0030A4C8 4B FF BB C5 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8030D56C 0030A4CC 38 61 01 14 */ addi r3, r1, 0x114 +/* 8030D570 0030A4D0 38 80 00 07 */ li r4, 7 +/* 8030D574 0030A4D4 4B FF BB B9 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8030D578 0030A4D8 80 E1 01 14 */ lwz r7, 0x114(r1) +/* 8030D57C 0030A4DC 38 61 01 18 */ addi r3, r1, 0x118 +/* 8030D580 0030A4E0 80 C1 01 10 */ lwz r6, 0x110(r1) +/* 8030D584 0030A4E4 38 80 00 02 */ li r4, 2 +/* 8030D588 0030A4E8 80 A1 01 0C */ lwz r5, 0x10c(r1) +/* 8030D58C 0030A4EC 80 01 01 08 */ lwz r0, 0x108(r1) +/* 8030D590 0030A4F0 90 E1 02 48 */ stw r7, 0x248(r1) +/* 8030D594 0030A4F4 90 C1 02 4C */ stw r6, 0x24c(r1) +/* 8030D598 0030A4F8 90 A1 02 50 */ stw r5, 0x250(r1) +/* 8030D59C 0030A4FC 90 01 02 54 */ stw r0, 0x254(r1) +/* 8030D5A0 0030A500 4B FF BB 85 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8030D5A4 0030A504 38 61 01 1C */ addi r3, r1, 0x11c +/* 8030D5A8 0030A508 38 80 00 0F */ li r4, 0xf +/* 8030D5AC 0030A50C 4B FF BB 79 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8030D5B0 0030A510 38 61 01 20 */ addi r3, r1, 0x120 +/* 8030D5B4 0030A514 38 80 00 0F */ li r4, 0xf +/* 8030D5B8 0030A518 4B FF BB 6D */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8030D5BC 0030A51C 38 61 01 24 */ addi r3, r1, 0x124 +/* 8030D5C0 0030A520 38 80 00 0F */ li r4, 0xf +/* 8030D5C4 0030A524 4B FF BB 61 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8030D5C8 0030A528 80 A1 01 24 */ lwz r5, 0x124(r1) +/* 8030D5CC 0030A52C 3C 60 80 5A */ lis r3, lbl_805A5E70@ha +/* 8030D5D0 0030A530 81 21 01 20 */ lwz r9, 0x120(r1) +/* 8030D5D4 0030A534 38 63 5E 70 */ addi r3, r3, lbl_805A5E70@l +/* 8030D5D8 0030A538 81 01 01 1C */ lwz r8, 0x11c(r1) +/* 8030D5DC 0030A53C 38 81 02 58 */ addi r4, r1, 0x258 +/* 8030D5E0 0030A540 80 01 01 18 */ lwz r0, 0x118(r1) +/* 8030D5E4 0030A544 38 C1 03 DC */ addi r6, r1, 0x3dc +/* 8030D5E8 0030A548 90 A1 02 58 */ stw r5, 0x258(r1) +/* 8030D5EC 0030A54C 38 A1 02 48 */ addi r5, r1, 0x248 +/* 8030D5F0 0030A550 38 E1 03 C8 */ addi r7, r1, 0x3c8 +/* 8030D5F4 0030A554 91 21 02 5C */ stw r9, 0x25c(r1) +/* 8030D5F8 0030A558 91 01 02 60 */ stw r8, 0x260(r1) +/* 8030D5FC 0030A55C 90 01 02 64 */ stw r0, 0x264(r1) +/* 8030D600 0030A560 4B FF BC 55 */ bl sub_80309254 +/* 8030D604 0030A564 38 00 00 00 */ li r0, 0 +/* 8030D608 0030A568 38 A0 00 01 */ li r5, 1 +/* 8030D60C 0030A56C 98 A1 03 A0 */ stb r5, 0x3a0(r1) +/* 8030D610 0030A570 38 61 00 E8 */ addi r3, r1, 0xe8 +/* 8030D614 0030A574 38 80 00 07 */ li r4, 7 +/* 8030D618 0030A578 90 01 03 A4 */ stw r0, 0x3a4(r1) +/* 8030D61C 0030A57C 90 01 03 A8 */ stw r0, 0x3a8(r1) +/* 8030D620 0030A580 90 01 03 AC */ stw r0, 0x3ac(r1) +/* 8030D624 0030A584 90 01 03 B0 */ stw r0, 0x3b0(r1) +/* 8030D628 0030A588 98 A1 03 B4 */ stb r5, 0x3b4(r1) +/* 8030D62C 0030A58C 90 01 03 B8 */ stw r0, 0x3b8(r1) +/* 8030D630 0030A590 90 01 03 BC */ stw r0, 0x3bc(r1) +/* 8030D634 0030A594 90 01 03 C0 */ stw r0, 0x3c0(r1) +/* 8030D638 0030A598 90 01 03 C4 */ stw r0, 0x3c4(r1) +/* 8030D63C 0030A59C 4B FF BA F1 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8030D640 0030A5A0 38 61 00 EC */ addi r3, r1, 0xec +/* 8030D644 0030A5A4 38 80 00 04 */ li r4, 4 +/* 8030D648 0030A5A8 4B FF BA E5 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8030D64C 0030A5AC 38 61 00 F0 */ addi r3, r1, 0xf0 +/* 8030D650 0030A5B0 38 80 00 05 */ li r4, 5 +/* 8030D654 0030A5B4 4B FF BA D9 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8030D658 0030A5B8 38 61 00 F4 */ addi r3, r1, 0xf4 +/* 8030D65C 0030A5BC 38 80 00 07 */ li r4, 7 +/* 8030D660 0030A5C0 4B FF BA CD */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8030D664 0030A5C4 80 E1 00 F4 */ lwz r7, 0xf4(r1) +/* 8030D668 0030A5C8 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 8030D66C 0030A5CC 80 C1 00 F0 */ lwz r6, 0xf0(r1) +/* 8030D670 0030A5D0 38 80 00 0F */ li r4, 0xf +/* 8030D674 0030A5D4 80 A1 00 EC */ lwz r5, 0xec(r1) +/* 8030D678 0030A5D8 80 01 00 E8 */ lwz r0, 0xe8(r1) +/* 8030D67C 0030A5DC 90 E1 02 28 */ stw r7, 0x228(r1) +/* 8030D680 0030A5E0 90 C1 02 2C */ stw r6, 0x22c(r1) +/* 8030D684 0030A5E4 90 A1 02 30 */ stw r5, 0x230(r1) +/* 8030D688 0030A5E8 90 01 02 34 */ stw r0, 0x234(r1) +/* 8030D68C 0030A5EC 4B FF BA 99 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8030D690 0030A5F0 38 61 00 FC */ addi r3, r1, 0xfc +/* 8030D694 0030A5F4 38 80 00 08 */ li r4, 8 +/* 8030D698 0030A5F8 4B FF BA 8D */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8030D69C 0030A5FC 38 61 01 00 */ addi r3, r1, 0x100 +/* 8030D6A0 0030A600 38 80 00 0A */ li r4, 0xa +/* 8030D6A4 0030A604 4B FF BA 81 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8030D6A8 0030A608 38 61 01 04 */ addi r3, r1, 0x104 +/* 8030D6AC 0030A60C 38 80 00 0F */ li r4, 0xf +/* 8030D6B0 0030A610 4B FF BA 75 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8030D6B4 0030A614 80 A1 01 04 */ lwz r5, 0x104(r1) +/* 8030D6B8 0030A618 3C 60 80 5A */ lis r3, lbl_805A5EBC@ha +/* 8030D6BC 0030A61C 81 21 01 00 */ lwz r9, 0x100(r1) +/* 8030D6C0 0030A620 38 63 5E BC */ addi r3, r3, lbl_805A5EBC@l +/* 8030D6C4 0030A624 81 01 00 FC */ lwz r8, 0xfc(r1) +/* 8030D6C8 0030A628 38 81 02 38 */ addi r4, r1, 0x238 +/* 8030D6CC 0030A62C 80 01 00 F8 */ lwz r0, 0xf8(r1) +/* 8030D6D0 0030A630 38 C1 03 B4 */ addi r6, r1, 0x3b4 +/* 8030D6D4 0030A634 90 A1 02 38 */ stw r5, 0x238(r1) +/* 8030D6D8 0030A638 38 A1 02 28 */ addi r5, r1, 0x228 +/* 8030D6DC 0030A63C 38 E1 03 A0 */ addi r7, r1, 0x3a0 +/* 8030D6E0 0030A640 91 21 02 3C */ stw r9, 0x23c(r1) +/* 8030D6E4 0030A644 91 01 02 40 */ stw r8, 0x240(r1) +/* 8030D6E8 0030A648 90 01 02 44 */ stw r0, 0x244(r1) +/* 8030D6EC 0030A64C 4B FF BB 69 */ bl sub_80309254 +/* 8030D6F0 0030A650 38 00 00 00 */ li r0, 0 +/* 8030D6F4 0030A654 38 A0 00 01 */ li r5, 1 +/* 8030D6F8 0030A658 98 A1 03 78 */ stb r5, 0x378(r1) +/* 8030D6FC 0030A65C 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 8030D700 0030A660 38 80 00 05 */ li r4, 5 +/* 8030D704 0030A664 90 01 03 7C */ stw r0, 0x37c(r1) +/* 8030D708 0030A668 90 01 03 80 */ stw r0, 0x380(r1) +/* 8030D70C 0030A66C 90 01 03 84 */ stw r0, 0x384(r1) +/* 8030D710 0030A670 90 01 03 88 */ stw r0, 0x388(r1) +/* 8030D714 0030A674 98 A1 03 8C */ stb r5, 0x38c(r1) +/* 8030D718 0030A678 90 01 03 90 */ stw r0, 0x390(r1) +/* 8030D71C 0030A67C 90 01 03 94 */ stw r0, 0x394(r1) +/* 8030D720 0030A680 90 01 03 98 */ stw r0, 0x398(r1) +/* 8030D724 0030A684 90 01 03 9C */ stw r0, 0x39c(r1) +/* 8030D728 0030A688 4B FF BA 05 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8030D72C 0030A68C 38 61 00 CC */ addi r3, r1, 0xcc +/* 8030D730 0030A690 38 80 00 07 */ li r4, 7 +/* 8030D734 0030A694 4B FF B9 F9 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8030D738 0030A698 38 61 00 D0 */ addi r3, r1, 0xd0 +/* 8030D73C 0030A69C 38 80 00 07 */ li r4, 7 +/* 8030D740 0030A6A0 4B FF B9 ED */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8030D744 0030A6A4 38 61 00 D4 */ addi r3, r1, 0xd4 +/* 8030D748 0030A6A8 38 80 00 07 */ li r4, 7 +/* 8030D74C 0030A6AC 4B FF B9 E1 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8030D750 0030A6B0 80 E1 00 D4 */ lwz r7, 0xd4(r1) +/* 8030D754 0030A6B4 38 61 00 D8 */ addi r3, r1, 0xd8 +/* 8030D758 0030A6B8 80 C1 00 D0 */ lwz r6, 0xd0(r1) +/* 8030D75C 0030A6BC 38 80 00 0F */ li r4, 0xf +/* 8030D760 0030A6C0 80 A1 00 CC */ lwz r5, 0xcc(r1) +/* 8030D764 0030A6C4 80 01 00 C8 */ lwz r0, 0xc8(r1) +/* 8030D768 0030A6C8 90 E1 02 08 */ stw r7, 0x208(r1) +/* 8030D76C 0030A6CC 90 C1 02 0C */ stw r6, 0x20c(r1) +/* 8030D770 0030A6D0 90 A1 02 10 */ stw r5, 0x210(r1) +/* 8030D774 0030A6D4 90 01 02 14 */ stw r0, 0x214(r1) +/* 8030D778 0030A6D8 4B FF B9 AD */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8030D77C 0030A6DC 38 61 00 DC */ addi r3, r1, 0xdc +/* 8030D780 0030A6E0 38 80 00 09 */ li r4, 9 +/* 8030D784 0030A6E4 4B FF B9 A1 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8030D788 0030A6E8 38 61 00 E0 */ addi r3, r1, 0xe0 +/* 8030D78C 0030A6EC 38 80 00 08 */ li r4, 8 +/* 8030D790 0030A6F0 4B FF B9 95 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8030D794 0030A6F4 38 61 00 E4 */ addi r3, r1, 0xe4 +/* 8030D798 0030A6F8 38 80 00 0A */ li r4, 0xa +/* 8030D79C 0030A6FC 4B FF B9 89 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8030D7A0 0030A700 80 A1 00 E4 */ lwz r5, 0xe4(r1) +/* 8030D7A4 0030A704 3C 60 80 5A */ lis r3, lbl_805A5F08@ha +/* 8030D7A8 0030A708 81 21 00 E0 */ lwz r9, 0xe0(r1) +/* 8030D7AC 0030A70C 38 63 5F 08 */ addi r3, r3, lbl_805A5F08@l +/* 8030D7B0 0030A710 81 01 00 DC */ lwz r8, 0xdc(r1) +/* 8030D7B4 0030A714 38 81 02 18 */ addi r4, r1, 0x218 +/* 8030D7B8 0030A718 80 01 00 D8 */ lwz r0, 0xd8(r1) +/* 8030D7BC 0030A71C 38 C1 03 8C */ addi r6, r1, 0x38c +/* 8030D7C0 0030A720 90 A1 02 18 */ stw r5, 0x218(r1) +/* 8030D7C4 0030A724 38 A1 02 08 */ addi r5, r1, 0x208 +/* 8030D7C8 0030A728 38 E1 03 78 */ addi r7, r1, 0x378 +/* 8030D7CC 0030A72C 91 21 02 1C */ stw r9, 0x21c(r1) +/* 8030D7D0 0030A730 91 01 02 20 */ stw r8, 0x220(r1) +/* 8030D7D4 0030A734 90 01 02 24 */ stw r0, 0x224(r1) +/* 8030D7D8 0030A738 4B FF BA 7D */ bl sub_80309254 +/* 8030D7DC 0030A73C 38 00 00 00 */ li r0, 0 +/* 8030D7E0 0030A740 38 A0 00 01 */ li r5, 1 +/* 8030D7E4 0030A744 98 A1 03 50 */ stb r5, 0x350(r1) +/* 8030D7E8 0030A748 38 61 00 A8 */ addi r3, r1, 0xa8 +/* 8030D7EC 0030A74C 38 80 00 07 */ li r4, 7 +/* 8030D7F0 0030A750 90 01 03 54 */ stw r0, 0x354(r1) +/* 8030D7F4 0030A754 90 01 03 58 */ stw r0, 0x358(r1) +/* 8030D7F8 0030A758 90 01 03 5C */ stw r0, 0x35c(r1) +/* 8030D7FC 0030A75C 90 01 03 60 */ stw r0, 0x360(r1) +/* 8030D800 0030A760 98 A1 03 64 */ stb r5, 0x364(r1) +/* 8030D804 0030A764 90 01 03 68 */ stw r0, 0x368(r1) +/* 8030D808 0030A768 90 01 03 6C */ stw r0, 0x36c(r1) +/* 8030D80C 0030A76C 90 01 03 70 */ stw r0, 0x370(r1) +/* 8030D810 0030A770 90 01 03 74 */ stw r0, 0x374(r1) +/* 8030D814 0030A774 4B FF B9 19 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8030D818 0030A778 38 61 00 AC */ addi r3, r1, 0xac +/* 8030D81C 0030A77C 38 80 00 05 */ li r4, 5 +/* 8030D820 0030A780 4B FF B9 0D */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8030D824 0030A784 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 8030D828 0030A788 38 80 00 04 */ li r4, 4 +/* 8030D82C 0030A78C 4B FF B9 01 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8030D830 0030A790 38 61 00 B4 */ addi r3, r1, 0xb4 +/* 8030D834 0030A794 38 80 00 07 */ li r4, 7 +/* 8030D838 0030A798 4B FF B8 F5 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8030D83C 0030A79C 80 E1 00 B4 */ lwz r7, 0xb4(r1) +/* 8030D840 0030A7A0 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 8030D844 0030A7A4 80 C1 00 B0 */ lwz r6, 0xb0(r1) +/* 8030D848 0030A7A8 38 80 00 0F */ li r4, 0xf +/* 8030D84C 0030A7AC 80 A1 00 AC */ lwz r5, 0xac(r1) +/* 8030D850 0030A7B0 80 01 00 A8 */ lwz r0, 0xa8(r1) +/* 8030D854 0030A7B4 90 E1 01 E8 */ stw r7, 0x1e8(r1) +/* 8030D858 0030A7B8 90 C1 01 EC */ stw r6, 0x1ec(r1) +/* 8030D85C 0030A7BC 90 A1 01 F0 */ stw r5, 0x1f0(r1) +/* 8030D860 0030A7C0 90 01 01 F4 */ stw r0, 0x1f4(r1) +/* 8030D864 0030A7C4 4B FF B8 C1 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8030D868 0030A7C8 38 61 00 BC */ addi r3, r1, 0xbc +/* 8030D86C 0030A7CC 38 80 00 08 */ li r4, 8 +/* 8030D870 0030A7D0 4B FF B8 B5 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8030D874 0030A7D4 38 61 00 C0 */ addi r3, r1, 0xc0 +/* 8030D878 0030A7D8 38 80 00 0C */ li r4, 0xc +/* 8030D87C 0030A7DC 4B FF B8 A9 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8030D880 0030A7E0 38 61 00 C4 */ addi r3, r1, 0xc4 +/* 8030D884 0030A7E4 38 80 00 0A */ li r4, 0xa +/* 8030D888 0030A7E8 4B FF B8 9D */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8030D88C 0030A7EC 80 A1 00 C4 */ lwz r5, 0xc4(r1) +/* 8030D890 0030A7F0 3C 60 80 5A */ lis r3, lbl_805A5F54@ha +/* 8030D894 0030A7F4 81 21 00 C0 */ lwz r9, 0xc0(r1) +/* 8030D898 0030A7F8 38 63 5F 54 */ addi r3, r3, lbl_805A5F54@l +/* 8030D89C 0030A7FC 81 01 00 BC */ lwz r8, 0xbc(r1) +/* 8030D8A0 0030A800 38 81 01 F8 */ addi r4, r1, 0x1f8 +/* 8030D8A4 0030A804 80 01 00 B8 */ lwz r0, 0xb8(r1) +/* 8030D8A8 0030A808 38 C1 03 64 */ addi r6, r1, 0x364 +/* 8030D8AC 0030A80C 90 A1 01 F8 */ stw r5, 0x1f8(r1) +/* 8030D8B0 0030A810 38 A1 01 E8 */ addi r5, r1, 0x1e8 +/* 8030D8B4 0030A814 38 E1 03 50 */ addi r7, r1, 0x350 +/* 8030D8B8 0030A818 91 21 01 FC */ stw r9, 0x1fc(r1) +/* 8030D8BC 0030A81C 91 01 02 00 */ stw r8, 0x200(r1) +/* 8030D8C0 0030A820 90 01 02 04 */ stw r0, 0x204(r1) +/* 8030D8C4 0030A824 4B FF B9 91 */ bl sub_80309254 +/* 8030D8C8 0030A828 38 00 00 00 */ li r0, 0 +/* 8030D8CC 0030A82C 38 A0 00 01 */ li r5, 1 +/* 8030D8D0 0030A830 98 A1 03 28 */ stb r5, 0x328(r1) +/* 8030D8D4 0030A834 38 61 00 88 */ addi r3, r1, 0x88 +/* 8030D8D8 0030A838 38 80 00 04 */ li r4, 4 +/* 8030D8DC 0030A83C 90 01 03 2C */ stw r0, 0x32c(r1) +/* 8030D8E0 0030A840 90 01 03 30 */ stw r0, 0x330(r1) +/* 8030D8E4 0030A844 90 01 03 34 */ stw r0, 0x334(r1) +/* 8030D8E8 0030A848 90 01 03 38 */ stw r0, 0x338(r1) +/* 8030D8EC 0030A84C 98 A1 03 3C */ stb r5, 0x33c(r1) +/* 8030D8F0 0030A850 90 01 03 40 */ stw r0, 0x340(r1) +/* 8030D8F4 0030A854 90 01 03 44 */ stw r0, 0x344(r1) +/* 8030D8F8 0030A858 90 01 03 48 */ stw r0, 0x348(r1) +/* 8030D8FC 0030A85C 90 01 03 4C */ stw r0, 0x34c(r1) +/* 8030D900 0030A860 4B FF B8 2D */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8030D904 0030A864 38 61 00 8C */ addi r3, r1, 0x8c +/* 8030D908 0030A868 38 80 00 07 */ li r4, 7 +/* 8030D90C 0030A86C 4B FF B8 21 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8030D910 0030A870 38 61 00 90 */ addi r3, r1, 0x90 +/* 8030D914 0030A874 38 80 00 07 */ li r4, 7 +/* 8030D918 0030A878 4B FF B8 15 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8030D91C 0030A87C 38 61 00 94 */ addi r3, r1, 0x94 +/* 8030D920 0030A880 38 80 00 07 */ li r4, 7 +/* 8030D924 0030A884 4B FF B8 09 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8030D928 0030A888 80 E1 00 94 */ lwz r7, 0x94(r1) +/* 8030D92C 0030A88C 38 61 00 98 */ addi r3, r1, 0x98 +/* 8030D930 0030A890 80 C1 00 90 */ lwz r6, 0x90(r1) +/* 8030D934 0030A894 38 80 00 08 */ li r4, 8 +/* 8030D938 0030A898 80 A1 00 8C */ lwz r5, 0x8c(r1) +/* 8030D93C 0030A89C 80 01 00 88 */ lwz r0, 0x88(r1) +/* 8030D940 0030A8A0 90 E1 01 C8 */ stw r7, 0x1c8(r1) +/* 8030D944 0030A8A4 90 C1 01 CC */ stw r6, 0x1cc(r1) +/* 8030D948 0030A8A8 90 A1 01 D0 */ stw r5, 0x1d0(r1) +/* 8030D94C 0030A8AC 90 01 01 D4 */ stw r0, 0x1d4(r1) +/* 8030D950 0030A8B0 4B FF B7 D5 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8030D954 0030A8B4 38 61 00 9C */ addi r3, r1, 0x9c +/* 8030D958 0030A8B8 38 80 00 0F */ li r4, 0xf +/* 8030D95C 0030A8BC 4B FF B7 C9 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8030D960 0030A8C0 38 61 00 A0 */ addi r3, r1, 0xa0 +/* 8030D964 0030A8C4 38 80 00 0F */ li r4, 0xf +/* 8030D968 0030A8C8 4B FF B7 BD */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8030D96C 0030A8CC 38 61 00 A4 */ addi r3, r1, 0xa4 +/* 8030D970 0030A8D0 38 80 00 0F */ li r4, 0xf +/* 8030D974 0030A8D4 4B FF B7 B1 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8030D978 0030A8D8 80 A1 00 A4 */ lwz r5, 0xa4(r1) +/* 8030D97C 0030A8DC 3C 60 80 5A */ lis r3, lbl_805A5FA0@ha +/* 8030D980 0030A8E0 81 21 00 A0 */ lwz r9, 0xa0(r1) +/* 8030D984 0030A8E4 38 63 5F A0 */ addi r3, r3, lbl_805A5FA0@l +/* 8030D988 0030A8E8 81 01 00 9C */ lwz r8, 0x9c(r1) +/* 8030D98C 0030A8EC 38 81 01 D8 */ addi r4, r1, 0x1d8 +/* 8030D990 0030A8F0 80 01 00 98 */ lwz r0, 0x98(r1) +/* 8030D994 0030A8F4 38 C1 03 3C */ addi r6, r1, 0x33c +/* 8030D998 0030A8F8 90 A1 01 D8 */ stw r5, 0x1d8(r1) +/* 8030D99C 0030A8FC 38 A1 01 C8 */ addi r5, r1, 0x1c8 +/* 8030D9A0 0030A900 38 E1 03 28 */ addi r7, r1, 0x328 +/* 8030D9A4 0030A904 91 21 01 DC */ stw r9, 0x1dc(r1) +/* 8030D9A8 0030A908 91 01 01 E0 */ stw r8, 0x1e0(r1) +/* 8030D9AC 0030A90C 90 01 01 E4 */ stw r0, 0x1e4(r1) +/* 8030D9B0 0030A910 4B FF B8 A5 */ bl sub_80309254 +/* 8030D9B4 0030A914 38 00 00 00 */ li r0, 0 +/* 8030D9B8 0030A918 38 A0 00 01 */ li r5, 1 +/* 8030D9BC 0030A91C 98 A1 03 00 */ stb r5, 0x300(r1) +/* 8030D9C0 0030A920 38 61 00 68 */ addi r3, r1, 0x68 +/* 8030D9C4 0030A924 38 80 00 05 */ li r4, 5 +/* 8030D9C8 0030A928 90 01 03 04 */ stw r0, 0x304(r1) +/* 8030D9CC 0030A92C 90 01 03 08 */ stw r0, 0x308(r1) +/* 8030D9D0 0030A930 90 01 03 0C */ stw r0, 0x30c(r1) +/* 8030D9D4 0030A934 90 01 03 10 */ stw r0, 0x310(r1) +/* 8030D9D8 0030A938 98 A1 03 14 */ stb r5, 0x314(r1) +/* 8030D9DC 0030A93C 90 01 03 18 */ stw r0, 0x318(r1) +/* 8030D9E0 0030A940 90 01 03 1C */ stw r0, 0x31c(r1) +/* 8030D9E4 0030A944 90 01 03 20 */ stw r0, 0x320(r1) +/* 8030D9E8 0030A948 90 01 03 24 */ stw r0, 0x324(r1) +/* 8030D9EC 0030A94C 4B FF B7 41 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8030D9F0 0030A950 38 61 00 6C */ addi r3, r1, 0x6c +/* 8030D9F4 0030A954 38 80 00 07 */ li r4, 7 +/* 8030D9F8 0030A958 4B FF B7 35 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8030D9FC 0030A95C 38 61 00 70 */ addi r3, r1, 0x70 +/* 8030DA00 0030A960 38 80 00 07 */ li r4, 7 +/* 8030DA04 0030A964 4B FF B7 29 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8030DA08 0030A968 38 61 00 74 */ addi r3, r1, 0x74 +/* 8030DA0C 0030A96C 38 80 00 07 */ li r4, 7 +/* 8030DA10 0030A970 4B FF B7 1D */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8030DA14 0030A974 80 E1 00 74 */ lwz r7, 0x74(r1) +/* 8030DA18 0030A978 38 61 00 78 */ addi r3, r1, 0x78 +/* 8030DA1C 0030A97C 80 C1 00 70 */ lwz r6, 0x70(r1) +/* 8030DA20 0030A980 38 80 00 0F */ li r4, 0xf +/* 8030DA24 0030A984 80 A1 00 6C */ lwz r5, 0x6c(r1) +/* 8030DA28 0030A988 80 01 00 68 */ lwz r0, 0x68(r1) +/* 8030DA2C 0030A98C 90 E1 01 A8 */ stw r7, 0x1a8(r1) +/* 8030DA30 0030A990 90 C1 01 AC */ stw r6, 0x1ac(r1) +/* 8030DA34 0030A994 90 A1 01 B0 */ stw r5, 0x1b0(r1) +/* 8030DA38 0030A998 90 01 01 B4 */ stw r0, 0x1b4(r1) +/* 8030DA3C 0030A99C 4B FF B6 E9 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8030DA40 0030A9A0 38 61 00 7C */ addi r3, r1, 0x7c +/* 8030DA44 0030A9A4 38 80 00 0A */ li r4, 0xa +/* 8030DA48 0030A9A8 4B FF B6 DD */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8030DA4C 0030A9AC 38 61 00 80 */ addi r3, r1, 0x80 +/* 8030DA50 0030A9B0 38 80 00 08 */ li r4, 8 +/* 8030DA54 0030A9B4 4B FF B6 D1 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8030DA58 0030A9B8 38 61 00 84 */ addi r3, r1, 0x84 +/* 8030DA5C 0030A9BC 38 80 00 02 */ li r4, 2 +/* 8030DA60 0030A9C0 4B FF B6 C5 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8030DA64 0030A9C4 80 A1 00 84 */ lwz r5, 0x84(r1) +/* 8030DA68 0030A9C8 3C 60 80 4C */ lis r3, lbl_804BFCC0@ha +/* 8030DA6C 0030A9CC 81 21 00 80 */ lwz r9, 0x80(r1) +/* 8030DA70 0030A9D0 38 63 FC C0 */ addi r3, r3, lbl_804BFCC0@l +/* 8030DA74 0030A9D4 81 01 00 7C */ lwz r8, 0x7c(r1) +/* 8030DA78 0030A9D8 38 81 01 B8 */ addi r4, r1, 0x1b8 +/* 8030DA7C 0030A9DC 80 01 00 78 */ lwz r0, 0x78(r1) +/* 8030DA80 0030A9E0 38 C1 03 14 */ addi r6, r1, 0x314 +/* 8030DA84 0030A9E4 90 A1 01 B8 */ stw r5, 0x1b8(r1) +/* 8030DA88 0030A9E8 38 A1 01 A8 */ addi r5, r1, 0x1a8 +/* 8030DA8C 0030A9EC 38 E1 03 00 */ addi r7, r1, 0x300 +/* 8030DA90 0030A9F0 91 21 01 BC */ stw r9, 0x1bc(r1) +/* 8030DA94 0030A9F4 91 01 01 C0 */ stw r8, 0x1c0(r1) +/* 8030DA98 0030A9F8 90 01 01 C4 */ stw r0, 0x1c4(r1) +/* 8030DA9C 0030A9FC 4B FF B7 B9 */ bl sub_80309254 +/* 8030DAA0 0030AA00 38 00 00 00 */ li r0, 0 +/* 8030DAA4 0030AA04 38 A0 00 01 */ li r5, 1 +/* 8030DAA8 0030AA08 98 A1 02 D8 */ stb r5, 0x2d8(r1) +/* 8030DAAC 0030AA0C 38 61 00 48 */ addi r3, r1, 0x48 +/* 8030DAB0 0030AA10 38 80 00 07 */ li r4, 7 +/* 8030DAB4 0030AA14 90 01 02 DC */ stw r0, 0x2dc(r1) +/* 8030DAB8 0030AA18 90 01 02 E0 */ stw r0, 0x2e0(r1) +/* 8030DABC 0030AA1C 90 01 02 E4 */ stw r0, 0x2e4(r1) +/* 8030DAC0 0030AA20 90 01 02 E8 */ stw r0, 0x2e8(r1) +/* 8030DAC4 0030AA24 98 A1 02 EC */ stb r5, 0x2ec(r1) +/* 8030DAC8 0030AA28 90 01 02 F0 */ stw r0, 0x2f0(r1) +/* 8030DACC 0030AA2C 90 01 02 F4 */ stw r0, 0x2f4(r1) +/* 8030DAD0 0030AA30 90 01 02 F8 */ stw r0, 0x2f8(r1) +/* 8030DAD4 0030AA34 90 01 02 FC */ stw r0, 0x2fc(r1) +/* 8030DAD8 0030AA38 4B FF B6 55 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8030DADC 0030AA3C 38 61 00 4C */ addi r3, r1, 0x4c +/* 8030DAE0 0030AA40 38 80 00 05 */ li r4, 5 +/* 8030DAE4 0030AA44 4B FF B6 49 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8030DAE8 0030AA48 38 61 00 50 */ addi r3, r1, 0x50 +/* 8030DAEC 0030AA4C 38 80 00 04 */ li r4, 4 +/* 8030DAF0 0030AA50 4B FF B6 3D */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8030DAF4 0030AA54 38 61 00 54 */ addi r3, r1, 0x54 +/* 8030DAF8 0030AA58 38 80 00 07 */ li r4, 7 +/* 8030DAFC 0030AA5C 4B FF B6 31 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8030DB00 0030AA60 80 E1 00 54 */ lwz r7, 0x54(r1) +/* 8030DB04 0030AA64 38 61 00 58 */ addi r3, r1, 0x58 +/* 8030DB08 0030AA68 80 C1 00 50 */ lwz r6, 0x50(r1) +/* 8030DB0C 0030AA6C 38 80 00 0A */ li r4, 0xa +/* 8030DB10 0030AA70 80 A1 00 4C */ lwz r5, 0x4c(r1) +/* 8030DB14 0030AA74 80 01 00 48 */ lwz r0, 0x48(r1) +/* 8030DB18 0030AA78 90 E1 01 88 */ stw r7, 0x188(r1) +/* 8030DB1C 0030AA7C 90 C1 01 8C */ stw r6, 0x18c(r1) +/* 8030DB20 0030AA80 90 A1 01 90 */ stw r5, 0x190(r1) +/* 8030DB24 0030AA84 90 01 01 94 */ stw r0, 0x194(r1) +/* 8030DB28 0030AA88 4B FF B5 FD */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8030DB2C 0030AA8C 38 61 00 5C */ addi r3, r1, 0x5c +/* 8030DB30 0030AA90 38 80 00 0F */ li r4, 0xf +/* 8030DB34 0030AA94 4B FF B5 F1 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8030DB38 0030AA98 38 61 00 60 */ addi r3, r1, 0x60 +/* 8030DB3C 0030AA9C 38 80 00 0F */ li r4, 0xf +/* 8030DB40 0030AAA0 4B FF B5 E5 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8030DB44 0030AAA4 38 61 00 64 */ addi r3, r1, 0x64 +/* 8030DB48 0030AAA8 38 80 00 0F */ li r4, 0xf +/* 8030DB4C 0030AAAC 4B FF B5 D9 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8030DB50 0030AAB0 80 A1 00 64 */ lwz r5, 0x64(r1) +/* 8030DB54 0030AAB4 3C 60 80 5A */ lis r3, lbl_805A5FEC@ha +/* 8030DB58 0030AAB8 81 21 00 60 */ lwz r9, 0x60(r1) +/* 8030DB5C 0030AABC 38 63 5F EC */ addi r3, r3, lbl_805A5FEC@l +/* 8030DB60 0030AAC0 81 01 00 5C */ lwz r8, 0x5c(r1) +/* 8030DB64 0030AAC4 38 81 01 98 */ addi r4, r1, 0x198 +/* 8030DB68 0030AAC8 80 01 00 58 */ lwz r0, 0x58(r1) +/* 8030DB6C 0030AACC 38 C1 02 EC */ addi r6, r1, 0x2ec +/* 8030DB70 0030AAD0 90 A1 01 98 */ stw r5, 0x198(r1) +/* 8030DB74 0030AAD4 38 A1 01 88 */ addi r5, r1, 0x188 +/* 8030DB78 0030AAD8 38 E1 02 D8 */ addi r7, r1, 0x2d8 +/* 8030DB7C 0030AADC 91 21 01 9C */ stw r9, 0x19c(r1) +/* 8030DB80 0030AAE0 91 01 01 A0 */ stw r8, 0x1a0(r1) +/* 8030DB84 0030AAE4 90 01 01 A4 */ stw r0, 0x1a4(r1) +/* 8030DB88 0030AAE8 4B FF B6 CD */ bl sub_80309254 +/* 8030DB8C 0030AAEC 38 00 00 00 */ li r0, 0 +/* 8030DB90 0030AAF0 38 A0 00 01 */ li r5, 1 +/* 8030DB94 0030AAF4 98 A1 02 B0 */ stb r5, 0x2b0(r1) +/* 8030DB98 0030AAF8 38 61 00 28 */ addi r3, r1, 0x28 +/* 8030DB9C 0030AAFC 38 80 00 07 */ li r4, 7 +/* 8030DBA0 0030AB00 90 01 02 B4 */ stw r0, 0x2b4(r1) +/* 8030DBA4 0030AB04 90 01 02 B8 */ stw r0, 0x2b8(r1) +/* 8030DBA8 0030AB08 90 01 02 BC */ stw r0, 0x2bc(r1) +/* 8030DBAC 0030AB0C 90 01 02 C0 */ stw r0, 0x2c0(r1) +/* 8030DBB0 0030AB10 98 A1 02 C4 */ stb r5, 0x2c4(r1) +/* 8030DBB4 0030AB14 90 01 02 C8 */ stw r0, 0x2c8(r1) +/* 8030DBB8 0030AB18 90 01 02 CC */ stw r0, 0x2cc(r1) +/* 8030DBBC 0030AB1C 90 01 02 D0 */ stw r0, 0x2d0(r1) +/* 8030DBC0 0030AB20 90 01 02 D4 */ stw r0, 0x2d4(r1) +/* 8030DBC4 0030AB24 4B FF B5 69 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8030DBC8 0030AB28 38 61 00 2C */ addi r3, r1, 0x2c +/* 8030DBCC 0030AB2C 38 80 00 05 */ li r4, 5 +/* 8030DBD0 0030AB30 4B FF B5 5D */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8030DBD4 0030AB34 38 61 00 30 */ addi r3, r1, 0x30 +/* 8030DBD8 0030AB38 38 80 00 06 */ li r4, 6 +/* 8030DBDC 0030AB3C 4B FF B5 51 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8030DBE0 0030AB40 38 61 00 34 */ addi r3, r1, 0x34 +/* 8030DBE4 0030AB44 38 80 00 07 */ li r4, 7 +/* 8030DBE8 0030AB48 4B FF B5 45 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8030DBEC 0030AB4C 80 E1 00 34 */ lwz r7, 0x34(r1) +/* 8030DBF0 0030AB50 38 61 00 38 */ addi r3, r1, 0x38 +/* 8030DBF4 0030AB54 80 C1 00 30 */ lwz r6, 0x30(r1) +/* 8030DBF8 0030AB58 38 80 00 0F */ li r4, 0xf +/* 8030DBFC 0030AB5C 80 A1 00 2C */ lwz r5, 0x2c(r1) +/* 8030DC00 0030AB60 80 01 00 28 */ lwz r0, 0x28(r1) +/* 8030DC04 0030AB64 90 E1 01 68 */ stw r7, 0x168(r1) +/* 8030DC08 0030AB68 90 C1 01 6C */ stw r6, 0x16c(r1) +/* 8030DC0C 0030AB6C 90 A1 01 70 */ stw r5, 0x170(r1) +/* 8030DC10 0030AB70 90 01 01 74 */ stw r0, 0x174(r1) +/* 8030DC14 0030AB74 4B FF B5 11 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8030DC18 0030AB78 38 61 00 3C */ addi r3, r1, 0x3c +/* 8030DC1C 0030AB7C 38 80 00 0A */ li r4, 0xa +/* 8030DC20 0030AB80 4B FF B5 05 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8030DC24 0030AB84 38 61 00 40 */ addi r3, r1, 0x40 +/* 8030DC28 0030AB88 38 80 00 08 */ li r4, 8 +/* 8030DC2C 0030AB8C 4B FF B4 F9 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8030DC30 0030AB90 38 61 00 44 */ addi r3, r1, 0x44 +/* 8030DC34 0030AB94 38 80 00 0F */ li r4, 0xf +/* 8030DC38 0030AB98 4B FF B4 ED */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8030DC3C 0030AB9C 80 A1 00 44 */ lwz r5, 0x44(r1) +/* 8030DC40 0030ABA0 3C 60 80 5A */ lis r3, lbl_805A6038@ha +/* 8030DC44 0030ABA4 81 21 00 40 */ lwz r9, 0x40(r1) +/* 8030DC48 0030ABA8 38 63 60 38 */ addi r3, r3, lbl_805A6038@l +/* 8030DC4C 0030ABAC 81 01 00 3C */ lwz r8, 0x3c(r1) +/* 8030DC50 0030ABB0 38 81 01 78 */ addi r4, r1, 0x178 +/* 8030DC54 0030ABB4 80 01 00 38 */ lwz r0, 0x38(r1) +/* 8030DC58 0030ABB8 38 C1 02 C4 */ addi r6, r1, 0x2c4 +/* 8030DC5C 0030ABBC 90 A1 01 78 */ stw r5, 0x178(r1) +/* 8030DC60 0030ABC0 38 A1 01 68 */ addi r5, r1, 0x168 +/* 8030DC64 0030ABC4 38 E1 02 B0 */ addi r7, r1, 0x2b0 +/* 8030DC68 0030ABC8 91 21 01 7C */ stw r9, 0x17c(r1) +/* 8030DC6C 0030ABCC 91 01 01 80 */ stw r8, 0x180(r1) +/* 8030DC70 0030ABD0 90 01 01 84 */ stw r0, 0x184(r1) +/* 8030DC74 0030ABD4 4B FF B5 E1 */ bl sub_80309254 +/* 8030DC78 0030ABD8 38 00 00 00 */ li r0, 0 +/* 8030DC7C 0030ABDC 38 A0 00 01 */ li r5, 1 +/* 8030DC80 0030ABE0 98 A1 02 88 */ stb r5, 0x288(r1) +/* 8030DC84 0030ABE4 38 61 00 08 */ addi r3, r1, 8 +/* 8030DC88 0030ABE8 38 80 00 00 */ li r4, 0 +/* 8030DC8C 0030ABEC 90 01 02 8C */ stw r0, 0x28c(r1) +/* 8030DC90 0030ABF0 90 01 02 90 */ stw r0, 0x290(r1) +/* 8030DC94 0030ABF4 90 01 02 94 */ stw r0, 0x294(r1) +/* 8030DC98 0030ABF8 90 01 02 98 */ stw r0, 0x298(r1) +/* 8030DC9C 0030ABFC 98 A1 02 9C */ stb r5, 0x29c(r1) +/* 8030DCA0 0030AC00 90 01 02 A0 */ stw r0, 0x2a0(r1) +/* 8030DCA4 0030AC04 90 01 02 A4 */ stw r0, 0x2a4(r1) +/* 8030DCA8 0030AC08 90 01 02 A8 */ stw r0, 0x2a8(r1) +/* 8030DCAC 0030AC0C 90 01 02 AC */ stw r0, 0x2ac(r1) +/* 8030DCB0 0030AC10 4B FF B4 7D */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8030DCB4 0030AC14 38 61 00 0C */ addi r3, r1, 0xc +/* 8030DCB8 0030AC18 38 80 00 07 */ li r4, 7 +/* 8030DCBC 0030AC1C 4B FF B4 71 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8030DCC0 0030AC20 38 61 00 10 */ addi r3, r1, 0x10 +/* 8030DCC4 0030AC24 38 80 00 07 */ li r4, 7 +/* 8030DCC8 0030AC28 4B FF B4 65 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8030DCCC 0030AC2C 38 61 00 14 */ addi r3, r1, 0x14 +/* 8030DCD0 0030AC30 38 80 00 07 */ li r4, 7 +/* 8030DCD4 0030AC34 4B FF B4 59 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8030DCD8 0030AC38 80 E1 00 14 */ lwz r7, 0x14(r1) +/* 8030DCDC 0030AC3C 38 61 00 18 */ addi r3, r1, 0x18 +/* 8030DCE0 0030AC40 80 C1 00 10 */ lwz r6, 0x10(r1) +/* 8030DCE4 0030AC44 38 80 00 0F */ li r4, 0xf +/* 8030DCE8 0030AC48 80 A1 00 0C */ lwz r5, 0xc(r1) +/* 8030DCEC 0030AC4C 80 01 00 08 */ lwz r0, 8(r1) +/* 8030DCF0 0030AC50 90 E1 01 48 */ stw r7, 0x148(r1) +/* 8030DCF4 0030AC54 90 C1 01 4C */ stw r6, 0x14c(r1) +/* 8030DCF8 0030AC58 90 A1 01 50 */ stw r5, 0x150(r1) +/* 8030DCFC 0030AC5C 90 01 01 54 */ stw r0, 0x154(r1) +/* 8030DD00 0030AC60 4B FF B4 25 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8030DD04 0030AC64 38 61 00 1C */ addi r3, r1, 0x1c +/* 8030DD08 0030AC68 38 80 00 01 */ li r4, 1 +/* 8030DD0C 0030AC6C 4B FF B4 19 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8030DD10 0030AC70 38 61 00 20 */ addi r3, r1, 0x20 +/* 8030DD14 0030AC74 38 80 00 00 */ li r4, 0 +/* 8030DD18 0030AC78 4B FF B4 0D */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8030DD1C 0030AC7C 38 61 00 24 */ addi r3, r1, 0x24 +/* 8030DD20 0030AC80 38 80 00 0F */ li r4, 0xf +/* 8030DD24 0030AC84 4B FF B4 01 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8030DD28 0030AC88 80 A1 00 24 */ lwz r5, 0x24(r1) +/* 8030DD2C 0030AC8C 3C 60 80 5A */ lis r3, lbl_805A6084@ha +/* 8030DD30 0030AC90 81 21 00 20 */ lwz r9, 0x20(r1) +/* 8030DD34 0030AC94 38 63 60 84 */ addi r3, r3, lbl_805A6084@l +/* 8030DD38 0030AC98 81 01 00 1C */ lwz r8, 0x1c(r1) +/* 8030DD3C 0030AC9C 38 81 01 58 */ addi r4, r1, 0x158 +/* 8030DD40 0030ACA0 80 01 00 18 */ lwz r0, 0x18(r1) +/* 8030DD44 0030ACA4 38 C1 02 9C */ addi r6, r1, 0x29c +/* 8030DD48 0030ACA8 90 A1 01 58 */ stw r5, 0x158(r1) +/* 8030DD4C 0030ACAC 38 A1 01 48 */ addi r5, r1, 0x148 +/* 8030DD50 0030ACB0 38 E1 02 88 */ addi r7, r1, 0x288 +/* 8030DD54 0030ACB4 91 21 01 5C */ stw r9, 0x15c(r1) +/* 8030DD58 0030ACB8 91 01 01 60 */ stw r8, 0x160(r1) +/* 8030DD5C 0030ACBC 90 01 01 64 */ stw r0, 0x164(r1) +/* 8030DD60 0030ACC0 4B FF B4 F5 */ bl sub_80309254 +/* 8030DD64 0030ACC4 38 6D A7 B8 */ addi r3, r13, lbl_805A9378@sda21 +/* 8030DD68 0030ACC8 4B FF B6 81 */ bl __ct__Q29CGraphics12CRenderStateFv +/* 8030DD6C 0030ACCC 3C 60 80 5A */ lis r3, lbl_805A60D0@ha +/* 8030DD70 0030ACD0 3C 80 80 31 */ lis r4, __ct__14CGXLightParamsFv@ha +/* 8030DD74 0030ACD4 38 63 60 D0 */ addi r3, r3, lbl_805A60D0@l +/* 8030DD78 0030ACD8 38 A0 00 00 */ li r5, 0 +/* 8030DD7C 0030ACDC 38 84 DE 38 */ addi r4, r4, __ct__14CGXLightParamsFv@l +/* 8030DD80 0030ACE0 38 C0 00 14 */ li r6, 0x14 +/* 8030DD84 0030ACE4 38 E0 00 08 */ li r7, 8 +/* 8030DD88 0030ACE8 48 07 B9 C5 */ bl __construct_array +/* 8030DD8C 0030ACEC C0 62 C7 F0 */ lfs f3, lbl_805AE510@sda21(r2) +/* 8030DD90 0030ACF0 3C E0 80 5A */ lis r7, lbl_805A61A0@ha +/* 8030DD94 0030ACF4 38 00 00 01 */ li r0, 1 +/* 8030DD98 0030ACF8 3C C0 80 5A */ lis r6, lbl_805A61AC@ha +/* 8030DD9C 0030ACFC D4 67 61 A0 */ stfsu f3, lbl_805A61A0@l(r7) +/* 8030DDA0 0030AD00 3C A0 80 5A */ lis r5, lbl_805A61B8@ha +/* 8030DDA4 0030AD04 C0 42 C8 10 */ lfs f2, lbl_805AE530@sda21(r2) +/* 8030DDA8 0030AD08 3C 60 80 5A */ lis r3, lbl_805A61D4@ha +/* 8030DDAC 0030AD0C 9C 05 61 B8 */ stbu r0, lbl_805A61B8@l(r5) +/* 8030DDB0 0030AD10 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 8030DDB4 0030AD14 C0 22 C8 14 */ lfs f1, lbl_805AE534@sda21(r2) +/* 8030DDB8 0030AD18 38 63 61 D4 */ addi r3, r3, lbl_805A61D4@l +/* 8030DDBC 0030AD1C D4 66 61 AC */ stfsu f3, lbl_805A61AC@l(r6) +/* 8030DDC0 0030AD20 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 8030DDC4 0030AD24 C0 02 C8 34 */ lfs f0, lbl_805AE554@sda21(r2) +/* 8030DDC8 0030AD28 D0 67 00 04 */ stfs f3, 4(r7) +/* 8030DDCC 0030AD2C D0 67 00 08 */ stfs f3, 8(r7) +/* 8030DDD0 0030AD30 D0 46 00 04 */ stfs f2, 4(r6) +/* 8030DDD4 0030AD34 D0 66 00 08 */ stfs f3, 8(r6) +/* 8030DDD8 0030AD38 D0 25 00 04 */ stfs f1, 4(r5) +/* 8030DDDC 0030AD3C D0 45 00 08 */ stfs f2, 8(r5) +/* 8030DDE0 0030AD40 D0 45 00 0C */ stfs f2, 0xc(r5) +/* 8030DDE4 0030AD44 D0 25 00 10 */ stfs f1, 0x10(r5) +/* 8030DDE8 0030AD48 D0 45 00 14 */ stfs f2, 0x14(r5) +/* 8030DDEC 0030AD4C D0 05 00 18 */ stfs f0, 0x18(r5) +/* 8030DDF0 0030AD50 48 00 4D 85 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8030DDF4 0030AD54 3C 60 80 5A */ lis r3, lbl_805A6204@ha +/* 8030DDF8 0030AD58 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 8030DDFC 0030AD5C 38 63 62 04 */ addi r3, r3, lbl_805A6204@l +/* 8030DE00 0030AD60 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 8030DE04 0030AD64 48 00 4D 71 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8030DE08 0030AD68 48 03 C1 AD */ bl Black__6CColorFv +/* 8030DE0C 0030AD6C 80 03 00 00 */ lwz r0, 0(r3) +/* 8030DE10 0030AD70 3C 60 80 5A */ lis r3, lbl_805A6234@ha +/* 8030DE14 0030AD74 C0 02 C7 F0 */ lfs f0, lbl_805AE510@sda21(r2) +/* 8030DE18 0030AD78 90 0D A7 F8 */ stw r0, lbl_805A93B8@sda21(r13) +/* 8030DE1C 0030AD7C D4 03 62 34 */ stfsu f0, lbl_805A6234@l(r3) +/* 8030DE20 0030AD80 D0 03 00 04 */ stfs f0, 4(r3) +/* 8030DE24 0030AD84 D0 03 00 08 */ stfs f0, 8(r3) +/* 8030DE28 0030AD88 80 01 04 24 */ lwz r0, 0x424(r1) +/* 8030DE2C 0030AD8C 7C 08 03 A6 */ mtlr r0 +/* 8030DE30 0030AD90 38 21 04 20 */ addi r1, r1, 0x420 +/* 8030DE34 0030AD94 4E 80 00 20 */ blr + +.global __ct__14CGXLightParamsFv +__ct__14CGXLightParamsFv: +/* 8030DE38 0030AD98 38 00 00 04 */ li r0, 4 +/* 8030DE3C 0030AD9C 38 80 00 00 */ li r4, 0 +/* 8030DE40 0030ADA0 90 03 00 00 */ stw r0, 0(r3) +/* 8030DE44 0030ADA4 38 00 00 02 */ li r0, 2 +/* 8030DE48 0030ADA8 90 83 00 04 */ stw r4, 4(r3) +/* 8030DE4C 0030ADAC 90 83 00 08 */ stw r4, 8(r3) +/* 8030DE50 0030ADB0 90 03 00 0C */ stw r0, 0xc(r3) +/* 8030DE54 0030ADB4 90 03 00 10 */ stw r0, 0x10(r3) +/* 8030DE58 0030ADB8 4E 80 00 20 */ blr diff --git a/asm/Kyoto/Graphics/DolphinCModel.s b/asm/Kyoto/Graphics/DolphinCModel.s new file mode 100644 index 00000000..0ab61f02 --- /dev/null +++ b/asm/Kyoto/Graphics/DolphinCModel.s @@ -0,0 +1,1479 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + + +.global UpdateLastFrame__6CModelFv +UpdateLastFrame__6CModelFv: +/* 80355120 00352080 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80355124 00352084 7C 08 02 A6 */ mflr r0 +/* 80355128 00352088 90 01 00 14 */ stw r0, 0x14(r1) +/* 8035512C 0035208C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80355130 00352090 7C 7F 1B 78 */ mr r31, r3 +/* 80355134 00352094 4B FB 46 C9 */ bl GetFrameCounter__9CGraphicsFv +/* 80355138 00352098 90 7F 00 38 */ stw r3, 0x38(r31) +/* 8035513C 0035209C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80355140 003520A0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80355144 003520A4 7C 08 03 A6 */ mtlr r0 +/* 80355148 003520A8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8035514C 003520AC 4E 80 00 20 */ blr + +.global sub_80355150 +sub_80355150: +/* 80355150 003520B0 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 80355154 003520B4 7C 08 02 A6 */ mflr r0 +/* 80355158 003520B8 90 01 00 74 */ stw r0, 0x74(r1) +/* 8035515C 003520BC 38 00 00 00 */ li r0, 0 +/* 80355160 003520C0 BF 61 00 5C */ stmw r27, 0x5c(r1) +/* 80355164 003520C4 7C 7B 1B 78 */ mr r27, r3 +/* 80355168 003520C8 7C 9D 23 78 */ mr r29, r4 +/* 8035516C 003520CC 80 63 00 00 */ lwz r3, 0(r3) +/* 80355170 003520D0 90 1B 00 00 */ stw r0, 0(r27) +/* 80355174 003520D4 7F 83 E8 50 */ subf r28, r3, r29 +/* 80355178 003520D8 80 7B 00 00 */ lwz r3, 0(r27) +/* 8035517C 003520DC 4B FC 07 B5 */ bl Free__7CMemoryFPCv +/* 80355180 003520E0 93 BB 00 00 */ stw r29, 0(r27) +/* 80355184 003520E4 38 C0 00 00 */ li r6, 0 +/* 80355188 003520E8 38 A0 00 00 */ li r5, 0 +/* 8035518C 003520EC 48 00 00 28 */ b lbl_803551B4 +lbl_80355190: +/* 80355190 003520F0 80 7B 00 24 */ lwz r3, 0x24(r27) +/* 80355194 003520F4 38 85 00 10 */ addi r4, r5, 0x10 +/* 80355198 003520F8 7C 03 20 2E */ lwzx r0, r3, r4 +/* 8035519C 003520FC 28 00 00 00 */ cmplwi r0, 0 +/* 803551A0 00352100 41 82 00 0C */ beq lbl_803551AC +/* 803551A4 00352104 7C 00 E2 14 */ add r0, r0, r28 +/* 803551A8 00352108 7C 03 21 2E */ stwx r0, r3, r4 +lbl_803551AC: +/* 803551AC 0035210C 38 A5 00 14 */ addi r5, r5, 0x14 +/* 803551B0 00352110 38 C6 00 01 */ addi r6, r6, 1 +lbl_803551B4: +/* 803551B4 00352114 80 1B 00 1C */ lwz r0, 0x1c(r27) +/* 803551B8 00352118 7C 06 00 00 */ cmpw r6, r0 +/* 803551BC 0035211C 41 80 FF D4 */ blt lbl_80355190 +/* 803551C0 00352120 80 FB 00 28 */ lwz r7, 0x28(r27) +/* 803551C4 00352124 80 C7 00 08 */ lwz r6, 8(r7) +/* 803551C8 00352128 80 A7 00 0C */ lwz r5, 0xc(r7) +/* 803551CC 0035212C 80 87 00 10 */ lwz r4, 0x10(r7) +/* 803551D0 00352130 28 06 00 00 */ cmplwi r6, 0 +/* 803551D4 00352134 80 67 00 14 */ lwz r3, 0x14(r7) +/* 803551D8 00352138 80 07 00 18 */ lwz r0, 0x18(r7) +/* 803551DC 0035213C C0 07 00 20 */ lfs f0, 0x20(r7) +/* 803551E0 00352140 90 C1 00 30 */ stw r6, 0x30(r1) +/* 803551E4 00352144 D0 01 00 34 */ stfs f0, 0x34(r1) +/* 803551E8 00352148 C0 07 00 24 */ lfs f0, 0x24(r7) +/* 803551EC 0035214C 90 A1 00 2C */ stw r5, 0x2c(r1) +/* 803551F0 00352150 D0 01 00 38 */ stfs f0, 0x38(r1) +/* 803551F4 00352154 C0 07 00 28 */ lfs f0, 0x28(r7) +/* 803551F8 00352158 90 81 00 28 */ stw r4, 0x28(r1) +/* 803551FC 0035215C D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 80355200 00352160 C0 07 00 2C */ lfs f0, 0x2c(r7) +/* 80355204 00352164 90 61 00 24 */ stw r3, 0x24(r1) +/* 80355208 00352168 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 8035520C 0035216C C0 07 00 30 */ lfs f0, 0x30(r7) +/* 80355210 00352170 90 01 00 20 */ stw r0, 0x20(r1) +/* 80355214 00352174 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 80355218 00352178 C0 07 00 34 */ lfs f0, 0x34(r7) +/* 8035521C 0035217C D0 01 00 48 */ stfs f0, 0x48(r1) +/* 80355220 00352180 88 07 00 40 */ lbz r0, 0x40(r7) +/* 80355224 00352184 8B C7 00 41 */ lbz r30, 0x41(r7) +/* 80355228 00352188 54 00 CF FE */ rlwinm r0, r0, 0x19, 0x1f, 0x1f +/* 8035522C 0035218C 83 A7 00 44 */ lwz r29, 0x44(r7) +/* 80355230 00352190 7C 00 00 34 */ cntlzw r0, r0 +/* 80355234 00352194 54 1F D9 7E */ srwi r31, r0, 5 +/* 80355238 00352198 41 82 00 0C */ beq lbl_80355244 +/* 8035523C 0035219C 7C 06 E2 14 */ add r0, r6, r28 +/* 80355240 003521A0 90 01 00 30 */ stw r0, 0x30(r1) +lbl_80355244: +/* 80355244 003521A4 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 80355248 003521A8 28 00 00 00 */ cmplwi r0, 0 +/* 8035524C 003521AC 41 82 00 0C */ beq lbl_80355258 +/* 80355250 003521B0 7C 00 E2 14 */ add r0, r0, r28 +/* 80355254 003521B4 90 01 00 2C */ stw r0, 0x2c(r1) +lbl_80355258: +/* 80355258 003521B8 80 01 00 28 */ lwz r0, 0x28(r1) +/* 8035525C 003521BC 28 00 00 00 */ cmplwi r0, 0 +/* 80355260 003521C0 41 82 00 0C */ beq lbl_8035526C +/* 80355264 003521C4 7C 00 E2 14 */ add r0, r0, r28 +/* 80355268 003521C8 90 01 00 28 */ stw r0, 0x28(r1) +lbl_8035526C: +/* 8035526C 003521CC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80355270 003521D0 28 00 00 00 */ cmplwi r0, 0 +/* 80355274 003521D4 41 82 00 0C */ beq lbl_80355280 +/* 80355278 003521D8 7C 00 E2 14 */ add r0, r0, r28 +/* 8035527C 003521DC 90 01 00 24 */ stw r0, 0x24(r1) +lbl_80355280: +/* 80355280 003521E0 80 01 00 20 */ lwz r0, 0x20(r1) +/* 80355284 003521E4 28 00 00 00 */ cmplwi r0, 0 +/* 80355288 003521E8 41 82 00 0C */ beq lbl_80355294 +/* 8035528C 003521EC 7C 00 E2 14 */ add r0, r0, r28 +/* 80355290 003521F0 90 01 00 20 */ stw r0, 0x20(r1) +lbl_80355294: +/* 80355294 003521F4 38 A0 00 00 */ li r5, 0 +/* 80355298 003521F8 38 80 00 00 */ li r4, 0 +/* 8035529C 003521FC 48 00 00 24 */ b lbl_803552C0 +lbl_803552A0: +/* 803552A0 00352200 80 7B 00 14 */ lwz r3, 0x14(r27) +/* 803552A4 00352204 7C 03 20 2E */ lwzx r0, r3, r4 +/* 803552A8 00352208 28 00 00 00 */ cmplwi r0, 0 +/* 803552AC 0035220C 41 82 00 0C */ beq lbl_803552B8 +/* 803552B0 00352210 7C 00 E2 14 */ add r0, r0, r28 +/* 803552B4 00352214 7C 03 21 2E */ stwx r0, r3, r4 +lbl_803552B8: +/* 803552B8 00352218 38 84 00 04 */ addi r4, r4, 4 +/* 803552BC 0035221C 38 A5 00 01 */ addi r5, r5, 1 +lbl_803552C0: +/* 803552C0 00352220 80 1B 00 0C */ lwz r0, 0xc(r27) +/* 803552C4 00352224 7C 05 00 00 */ cmpw r5, r0 +/* 803552C8 00352228 41 80 FF D8 */ blt lbl_803552A0 +/* 803552CC 0035222C 3C 80 80 3E */ lis r4, lbl_803D8308@ha +/* 803552D0 00352230 38 60 00 48 */ li r3, 0x48 +/* 803552D4 00352234 38 84 83 08 */ addi r4, r4, lbl_803D8308@l +/* 803552D8 00352238 38 A0 00 00 */ li r5, 0 +/* 803552DC 0035223C 4B FC 05 91 */ bl __nw__FUlPCcPCc +/* 803552E0 00352240 7C 7C 1B 79 */ or. r28, r3, r3 +/* 803552E4 00352244 41 82 00 44 */ beq lbl_80355328 +/* 803552E8 00352248 80 BB 00 24 */ lwz r5, 0x24(r27) +/* 803552EC 0035224C 38 01 00 34 */ addi r0, r1, 0x34 +/* 803552F0 00352250 80 C1 00 20 */ lwz r6, 0x20(r1) +/* 803552F4 00352254 38 9B 00 08 */ addi r4, r27, 8 +/* 803552F8 00352258 80 E1 00 30 */ lwz r7, 0x30(r1) +/* 803552FC 0035225C 90 C1 00 08 */ stw r6, 8(r1) +/* 80355300 00352260 81 01 00 2C */ lwz r8, 0x2c(r1) +/* 80355304 00352264 90 01 00 0C */ stw r0, 0xc(r1) +/* 80355308 00352268 81 21 00 28 */ lwz r9, 0x28(r1) +/* 8035530C 0035226C 93 C1 00 10 */ stw r30, 0x10(r1) +/* 80355310 00352270 81 41 00 24 */ lwz r10, 0x24(r1) +/* 80355314 00352274 93 E1 00 14 */ stw r31, 0x14(r1) +/* 80355318 00352278 93 A1 00 18 */ stw r29, 0x18(r1) +/* 8035531C 0035227C 80 C5 00 10 */ lwz r6, 0x10(r5) +/* 80355320 00352280 4B FB 26 35 */ bl "__ct__10CCubeModelFPQ24rstl37vectorPQ24rstl60vector<23TCachedToken<8CTexture>,Q24rstl17rmemory_allocator>PCvPCvPCvPCvPCvPCvRC6CAABoxUcb" +/* 80355324 00352284 7C 7C 1B 78 */ mr r28, r3 +lbl_80355328: +/* 80355328 00352288 80 7B 00 28 */ lwz r3, 0x28(r27) +/* 8035532C 0035228C 4B FC 06 05 */ bl Free__7CMemoryFPCv +/* 80355330 00352290 93 9B 00 28 */ stw r28, 0x28(r27) +/* 80355334 00352294 7F 63 DB 78 */ mr r3, r27 +/* 80355338 00352298 48 00 02 15 */ bl MoveToThisFrameList__6CModelCFv +/* 8035533C 0035229C BB 61 00 5C */ lmw r27, 0x5c(r1) +/* 80355340 003522A0 80 01 00 74 */ lwz r0, 0x74(r1) +/* 80355344 003522A4 7C 08 03 A6 */ mtlr r0 +/* 80355348 003522A8 38 21 00 70 */ addi r1, r1, 0x70 +/* 8035534C 003522AC 4E 80 00 20 */ blr + +.global sub_80355350 +sub_80355350: +/* 80355350 003522B0 80 84 00 00 */ lwz r4, 0(r4) +/* 80355354 003522B4 7C 04 00 D0 */ neg r0, r4 +/* 80355358 003522B8 7C 00 23 78 */ or r0, r0, r4 +/* 8035535C 003522BC 54 00 0F FE */ srwi r0, r0, 0x1f +/* 80355360 003522C0 98 03 00 00 */ stb r0, 0(r3) +/* 80355364 003522C4 90 83 00 04 */ stw r4, 4(r3) +/* 80355368 003522C8 4E 80 00 20 */ blr + +.global sub_8035536c +sub_8035536c: +/* 8035536C 003522CC 80 63 00 04 */ lwz r3, 4(r3) +/* 80355370 003522D0 4E 80 00 20 */ blr + +.global EnableTextureTimeout__6CModelFv +EnableTextureTimeout__6CModelFv: +/* 80355374 003522D4 38 00 00 01 */ li r0, 1 +/* 80355378 003522D8 98 0D 9E 10 */ stb r0, lbl_805A89D0@sda21(r13) +/* 8035537C 003522DC 4E 80 00 20 */ blr + +.global DisableTextureTimeout__6CModelFv +DisableTextureTimeout__6CModelFv: +/* 80355380 003522E0 38 00 00 00 */ li r0, 0 +/* 80355384 003522E4 98 0D 9E 10 */ stb r0, lbl_805A89D0@sda21(r13) +/* 80355388 003522E8 4E 80 00 20 */ blr + +.global FrameDone__6CModelFv +FrameDone__6CModelFv: +/* 8035538C 003522EC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80355390 003522F0 7C 08 02 A6 */ mflr r0 +/* 80355394 003522F4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80355398 003522F8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8035539C 003522FC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 803553A0 00352300 93 A1 00 14 */ stw r29, 0x14(r1) +/* 803553A4 00352304 93 81 00 10 */ stw r28, 0x10(r1) +/* 803553A8 00352308 80 6D AA 88 */ lwz r3, lbl_805A9648@sda21(r13) +/* 803553AC 0035230C 88 0D 9E 10 */ lbz r0, lbl_805A89D0@sda21(r13) +/* 803553B0 00352310 38 63 00 01 */ addi r3, r3, 1 +/* 803553B4 00352314 28 00 00 00 */ cmplwi r0, 0 +/* 803553B8 00352318 90 6D AA 88 */ stw r3, lbl_805A9648@sda21(r13) +/* 803553BC 0035231C 41 82 00 84 */ beq lbl_80355440 +/* 803553C0 00352320 83 AD AA 84 */ lwz r29, lbl_805A9644@sda21(r13) +/* 803553C4 00352324 3B E0 00 00 */ li r31, 0 +/* 803553C8 00352328 48 00 00 58 */ b lbl_80355420 +lbl_803553CC: +/* 803553CC 0035232C 83 9D 00 34 */ lwz r28, 0x34(r29) +/* 803553D0 00352330 7F A3 EB 78 */ mr r3, r29 +/* 803553D4 00352334 38 80 00 00 */ li r4, 0 +/* 803553D8 00352338 48 00 05 85 */ bl VerifyCurrentShader__6CModelCFi +/* 803553DC 0035233C 80 7D 00 24 */ lwz r3, 0x24(r29) +/* 803553E0 00352340 3B C3 00 14 */ addi r30, r3, 0x14 +/* 803553E4 00352344 48 00 00 10 */ b lbl_803553F4 +lbl_803553E8: +/* 803553E8 00352348 7F C3 F3 78 */ mr r3, r30 +/* 803553EC 0035234C 48 00 00 75 */ bl UnlockTextures__Q26CModel7SShaderFv +/* 803553F0 00352350 3B DE 00 14 */ addi r30, r30, 0x14 +lbl_803553F4: +/* 803553F4 00352354 80 1D 00 1C */ lwz r0, 0x1c(r29) +/* 803553F8 00352358 80 7D 00 24 */ lwz r3, 0x24(r29) +/* 803553FC 0035235C 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 80355400 00352360 7C 03 02 14 */ add r0, r3, r0 +/* 80355404 00352364 7C 1E 00 40 */ cmplw r30, r0 +/* 80355408 00352368 40 82 FF E0 */ bne lbl_803553E8 +/* 8035540C 0035236C 80 7D 00 28 */ lwz r3, 0x28(r29) +/* 80355410 00352370 4B FB 13 FD */ bl UnlockTextures__10CCubeModelCFv +/* 80355414 00352374 93 FD 00 34 */ stw r31, 0x34(r29) +/* 80355418 00352378 93 FD 00 30 */ stw r31, 0x30(r29) +/* 8035541C 0035237C 7F 9D E3 78 */ mr r29, r28 +lbl_80355420: +/* 80355420 00352380 28 1D 00 00 */ cmplwi r29, 0 +/* 80355424 00352384 40 82 FF A8 */ bne lbl_803553CC +/* 80355428 00352388 80 8D AA 80 */ lwz r4, lbl_805A9640@sda21(r13) +/* 8035542C 0035238C 38 00 00 00 */ li r0, 0 +/* 80355430 00352390 80 6D AA 7C */ lwz r3, lbl_805A963C@sda21(r13) +/* 80355434 00352394 90 8D AA 84 */ stw r4, lbl_805A9644@sda21(r13) +/* 80355438 00352398 90 6D AA 80 */ stw r3, lbl_805A9640@sda21(r13) +/* 8035543C 0035239C 90 0D AA 7C */ stw r0, lbl_805A963C@sda21(r13) +lbl_80355440: +/* 80355440 003523A0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80355444 003523A4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80355448 003523A8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8035544C 003523AC 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80355450 003523B0 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80355454 003523B4 7C 08 03 A6 */ mtlr r0 +/* 80355458 003523B8 38 21 00 20 */ addi r1, r1, 0x20 +/* 8035545C 003523BC 4E 80 00 20 */ blr + +.global UnlockTextures__Q26CModel7SShaderFv +UnlockTextures__Q26CModel7SShaderFv: +/* 80355460 003523C0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80355464 003523C4 7C 08 02 A6 */ mflr r0 +/* 80355468 003523C8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8035546C 003523CC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80355470 003523D0 3B E0 00 00 */ li r31, 0 +/* 80355474 003523D4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80355478 003523D8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8035547C 003523DC 7C 7D 1B 78 */ mr r29, r3 +/* 80355480 003523E0 83 C3 00 0C */ lwz r30, 0xc(r3) +/* 80355484 003523E4 48 00 00 14 */ b lbl_80355498 +lbl_80355488: +/* 80355488 003523E8 93 FE 00 08 */ stw r31, 8(r30) +/* 8035548C 003523EC 7F C3 F3 78 */ mr r3, r30 +/* 80355490 003523F0 4B FE B8 B1 */ bl Unlock__6CTokenFv +/* 80355494 003523F4 3B DE 00 0C */ addi r30, r30, 0xc +lbl_80355498: +/* 80355498 003523F8 80 1D 00 04 */ lwz r0, 4(r29) +/* 8035549C 003523FC 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 803554A0 00352400 1C 00 00 0C */ mulli r0, r0, 0xc +/* 803554A4 00352404 7C 03 02 14 */ add r0, r3, r0 +/* 803554A8 00352408 7C 1E 00 40 */ cmplw r30, r0 +/* 803554AC 0035240C 40 82 FF DC */ bne lbl_80355488 +/* 803554B0 00352410 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803554B4 00352414 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803554B8 00352418 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 803554BC 0035241C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 803554C0 00352420 7C 08 03 A6 */ mtlr r0 +/* 803554C4 00352424 38 21 00 20 */ addi r1, r1, 0x20 +/* 803554C8 00352428 4E 80 00 20 */ blr + +.global RemoveFromList__6CModelCFv +RemoveFromList__6CModelCFv: +/* 803554CC 0035242C 80 83 00 30 */ lwz r4, 0x30(r3) +/* 803554D0 00352430 28 04 00 00 */ cmplwi r4, 0 +/* 803554D4 00352434 41 82 00 10 */ beq lbl_803554E4 +/* 803554D8 00352438 80 03 00 34 */ lwz r0, 0x34(r3) +/* 803554DC 0035243C 90 04 00 34 */ stw r0, 0x34(r4) +/* 803554E0 00352440 48 00 00 48 */ b lbl_80355528 +lbl_803554E4: +/* 803554E4 00352444 80 0D AA 7C */ lwz r0, lbl_805A963C@sda21(r13) +/* 803554E8 00352448 7C 03 00 40 */ cmplw r3, r0 +/* 803554EC 0035244C 40 82 00 10 */ bne lbl_803554FC +/* 803554F0 00352450 80 03 00 34 */ lwz r0, 0x34(r3) +/* 803554F4 00352454 90 0D AA 7C */ stw r0, lbl_805A963C@sda21(r13) +/* 803554F8 00352458 48 00 00 30 */ b lbl_80355528 +lbl_803554FC: +/* 803554FC 0035245C 80 0D AA 80 */ lwz r0, lbl_805A9640@sda21(r13) +/* 80355500 00352460 7C 03 00 40 */ cmplw r3, r0 +/* 80355504 00352464 40 82 00 10 */ bne lbl_80355514 +/* 80355508 00352468 80 03 00 34 */ lwz r0, 0x34(r3) +/* 8035550C 0035246C 90 0D AA 80 */ stw r0, lbl_805A9640@sda21(r13) +/* 80355510 00352470 48 00 00 18 */ b lbl_80355528 +lbl_80355514: +/* 80355514 00352474 80 0D AA 84 */ lwz r0, lbl_805A9644@sda21(r13) +/* 80355518 00352478 7C 03 00 40 */ cmplw r3, r0 +/* 8035551C 0035247C 40 82 00 0C */ bne lbl_80355528 +/* 80355520 00352480 80 03 00 34 */ lwz r0, 0x34(r3) +/* 80355524 00352484 90 0D AA 84 */ stw r0, lbl_805A9644@sda21(r13) +lbl_80355528: +/* 80355528 00352488 80 83 00 34 */ lwz r4, 0x34(r3) +/* 8035552C 0035248C 28 04 00 00 */ cmplwi r4, 0 +/* 80355530 00352490 41 82 00 0C */ beq lbl_8035553C +/* 80355534 00352494 80 03 00 30 */ lwz r0, 0x30(r3) +/* 80355538 00352498 90 04 00 30 */ stw r0, 0x30(r4) +lbl_8035553C: +/* 8035553C 0035249C 38 00 00 00 */ li r0, 0 +/* 80355540 003524A0 90 03 00 30 */ stw r0, 0x30(r3) +/* 80355544 003524A4 90 03 00 34 */ stw r0, 0x34(r3) +/* 80355548 003524A8 4E 80 00 20 */ blr + +.global MoveToThisFrameList__6CModelCFv +MoveToThisFrameList__6CModelCFv: +/* 8035554C 003524AC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80355550 003524B0 7C 08 02 A6 */ mflr r0 +/* 80355554 003524B4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80355558 003524B8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8035555C 003524BC 7C 7F 1B 78 */ mr r31, r3 +/* 80355560 003524C0 4B FF FB C1 */ bl UpdateLastFrame__6CModelFv +/* 80355564 003524C4 80 0D AA 7C */ lwz r0, lbl_805A963C@sda21(r13) +/* 80355568 003524C8 7C 00 F8 40 */ cmplw r0, r31 +/* 8035556C 003524CC 41 82 00 28 */ beq lbl_80355594 +/* 80355570 003524D0 7F E3 FB 78 */ mr r3, r31 +/* 80355574 003524D4 4B FF FF 59 */ bl RemoveFromList__6CModelCFv +/* 80355578 003524D8 80 0D AA 7C */ lwz r0, lbl_805A963C@sda21(r13) +/* 8035557C 003524DC 28 00 00 00 */ cmplwi r0, 0 +/* 80355580 003524E0 41 82 00 10 */ beq lbl_80355590 +/* 80355584 003524E4 90 1F 00 34 */ stw r0, 0x34(r31) +/* 80355588 003524E8 80 7F 00 34 */ lwz r3, 0x34(r31) +/* 8035558C 003524EC 93 E3 00 30 */ stw r31, 0x30(r3) +lbl_80355590: +/* 80355590 003524F0 93 ED AA 7C */ stw r31, lbl_805A963C@sda21(r13) +lbl_80355594: +/* 80355594 003524F4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80355598 003524F8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8035559C 003524FC 7C 08 03 A6 */ mtlr r0 +/* 803555A0 00352500 38 21 00 10 */ addi r1, r1, 0x10 +/* 803555A4 00352504 4E 80 00 20 */ blr + +.global IsLoaded__6CModelCFi +IsLoaded__6CModelCFi: +/* 803555A8 00352508 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803555AC 0035250C 7C 08 02 A6 */ mflr r0 +/* 803555B0 00352510 90 01 00 14 */ stw r0, 0x14(r1) +/* 803555B4 00352514 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803555B8 00352518 7C 7F 1B 78 */ mr r31, r3 +/* 803555BC 0035251C 48 00 03 A1 */ bl VerifyCurrentShader__6CModelCFi +/* 803555C0 00352520 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 803555C4 00352524 80 63 00 1C */ lwz r3, 0x1c(r3) +/* 803555C8 00352528 80 03 00 04 */ lwz r0, 4(r3) +/* 803555CC 0035252C 80 C3 00 0C */ lwz r6, 0xc(r3) +/* 803555D0 00352530 1C 00 00 0C */ mulli r0, r0, 0xc +/* 803555D4 00352534 7C A6 02 14 */ add r5, r6, r0 +/* 803555D8 00352538 48 00 00 3C */ b lbl_80355614 +lbl_803555DC: +/* 803555DC 0035253C 80 06 00 08 */ lwz r0, 8(r6) +/* 803555E0 00352540 38 80 00 00 */ li r4, 0 +/* 803555E4 00352544 28 00 00 00 */ cmplwi r0, 0 +/* 803555E8 00352548 40 82 00 14 */ bne lbl_803555FC +/* 803555EC 0035254C 80 66 00 00 */ lwz r3, 0(r6) +/* 803555F0 00352550 80 03 00 10 */ lwz r0, 0x10(r3) +/* 803555F4 00352554 28 00 00 00 */ cmplwi r0, 0 +/* 803555F8 00352558 41 82 00 08 */ beq lbl_80355600 +lbl_803555FC: +/* 803555FC 0035255C 38 80 00 01 */ li r4, 1 +lbl_80355600: +/* 80355600 00352560 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 80355604 00352564 40 82 00 0C */ bne lbl_80355610 +/* 80355608 00352568 38 60 00 00 */ li r3, 0 +/* 8035560C 0035256C 48 00 00 14 */ b lbl_80355620 +lbl_80355610: +/* 80355610 00352570 38 C6 00 0C */ addi r6, r6, 0xc +lbl_80355614: +/* 80355614 00352574 7C 06 28 40 */ cmplw r6, r5 +/* 80355618 00352578 40 82 FF C4 */ bne lbl_803555DC +/* 8035561C 0035257C 38 60 00 01 */ li r3, 1 +lbl_80355620: +/* 80355620 00352580 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80355624 00352584 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80355628 00352588 7C 08 03 A6 */ mtlr r0 +/* 8035562C 0035258C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80355630 00352590 4E 80 00 20 */ blr + +.global Touch__6CModelCFi +Touch__6CModelCFi: +/* 80355634 00352594 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80355638 00352598 7C 08 02 A6 */ mflr r0 +/* 8035563C 0035259C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80355640 003525A0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80355644 003525A4 7C 7F 1B 78 */ mr r31, r3 +/* 80355648 003525A8 93 C1 00 08 */ stw r30, 8(r1) +/* 8035564C 003525AC 7C 9E 23 78 */ mr r30, r4 +/* 80355650 003525B0 4B FF FE FD */ bl MoveToThisFrameList__6CModelCFv +/* 80355654 003525B4 7F E3 FB 78 */ mr r3, r31 +/* 80355658 003525B8 7F C4 F3 78 */ mr r4, r30 +/* 8035565C 003525BC 48 00 03 01 */ bl VerifyCurrentShader__6CModelCFi +/* 80355660 003525C0 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 80355664 003525C4 4B FB 17 59 */ bl TryLockTextures__10CCubeModelCFv +/* 80355668 003525C8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8035566C 003525CC 41 82 00 40 */ beq lbl_803556AC +/* 80355670 003525D0 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 80355674 003525D4 83 E3 00 1C */ lwz r31, 0x1c(r3) +/* 80355678 003525D8 83 DF 00 0C */ lwz r30, 0xc(r31) +/* 8035567C 003525DC 48 00 00 18 */ b lbl_80355694 +lbl_80355680: +/* 80355680 003525E0 80 7E 00 08 */ lwz r3, 8(r30) +/* 80355684 003525E4 28 03 00 00 */ cmplwi r3, 0 +/* 80355688 003525E8 41 82 00 08 */ beq lbl_80355690 +/* 8035568C 003525EC 4B FB 95 9D */ bl LoadToMRAM__8CTextureCFv +lbl_80355690: +/* 80355690 003525F0 3B DE 00 0C */ addi r30, r30, 0xc +lbl_80355694: +/* 80355694 003525F4 80 1F 00 04 */ lwz r0, 4(r31) +/* 80355698 003525F8 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 8035569C 003525FC 1C 00 00 0C */ mulli r0, r0, 0xc +/* 803556A0 00352600 7C 03 02 14 */ add r0, r3, r0 +/* 803556A4 00352604 7C 1E 00 40 */ cmplw r30, r0 +/* 803556A8 00352608 40 82 FF D8 */ bne lbl_80355680 +lbl_803556AC: +/* 803556AC 0035260C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803556B0 00352610 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803556B4 00352614 83 C1 00 08 */ lwz r30, 8(r1) +/* 803556B8 00352618 7C 08 03 A6 */ mtlr r0 +/* 803556BC 0035261C 38 21 00 10 */ addi r1, r1, 0x10 +/* 803556C0 00352620 4E 80 00 20 */ blr + +.global GetNormals__6CModelCFv +GetNormals__6CModelCFv: +/* 803556C4 00352624 80 63 00 28 */ lwz r3, 0x28(r3) +/* 803556C8 00352628 80 63 00 0C */ lwz r3, 0xc(r3) +/* 803556CC 0035262C 4E 80 00 20 */ blr + +.global GetPositions__6CModelCFv +GetPositions__6CModelCFv: +/* 803556D0 00352630 80 63 00 28 */ lwz r3, 0x28(r3) +/* 803556D4 00352634 80 63 00 08 */ lwz r3, 8(r3) +/* 803556D8 00352638 4E 80 00 20 */ blr + +.global "FModelFactory__FRC10SObjectTagRCQ24rstl12auto_ptriRC15CVParamTransfer" +"FModelFactory__FRC10SObjectTagRCQ24rstl12auto_ptriRC15CVParamTransfer": +/* 803556DC 0035263C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 803556E0 00352640 7C 08 02 A6 */ mflr r0 +/* 803556E4 00352644 90 01 00 34 */ stw r0, 0x34(r1) +/* 803556E8 00352648 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 803556EC 0035264C 7C 7F 1B 78 */ mr r31, r3 +/* 803556F0 00352650 93 C1 00 28 */ stw r30, 0x28(r1) +/* 803556F4 00352654 93 A1 00 24 */ stw r29, 0x24(r1) +/* 803556F8 00352658 7C DD 33 78 */ mr r29, r6 +/* 803556FC 0035265C 93 81 00 20 */ stw r28, 0x20(r1) +/* 80355700 00352660 7C BC 2B 78 */ mr r28, r5 +/* 80355704 00352664 80 87 00 00 */ lwz r4, 0(r7) +/* 80355708 00352668 90 81 00 08 */ stw r4, 8(r1) +/* 8035570C 0035266C 80 64 00 04 */ lwz r3, 4(r4) +/* 80355710 00352670 38 03 00 01 */ addi r0, r3, 1 +/* 80355714 00352674 90 04 00 04 */ stw r0, 4(r4) +/* 80355718 00352678 80 61 00 08 */ lwz r3, 8(r1) +/* 8035571C 0035267C 80 63 00 00 */ lwz r3, 0(r3) +/* 80355720 00352680 83 C3 00 04 */ lwz r30, 4(r3) +/* 80355724 00352684 48 02 28 61 */ bl GXInvalidateVtxCache +/* 80355728 00352688 3C 80 80 3E */ lis r4, lbl_803D8308@ha +/* 8035572C 0035268C 38 60 00 3C */ li r3, 0x3c +/* 80355730 00352690 38 84 83 08 */ addi r4, r4, lbl_803D8308@l +/* 80355734 00352694 38 A0 00 00 */ li r5, 0 +/* 80355738 00352698 4B FC 01 35 */ bl __nw__FUlPCcPCc +/* 8035573C 0035269C 7C 64 1B 79 */ or. r4, r3, r3 +/* 80355740 003526A0 41 82 00 18 */ beq lbl_80355758 +/* 80355744 003526A4 7F 84 E3 78 */ mr r4, r28 +/* 80355748 003526A8 7F A5 EB 78 */ mr r5, r29 +/* 8035574C 003526AC 7F C6 F3 78 */ mr r6, r30 +/* 80355750 003526B0 48 00 07 71 */ bl "__ct__6CModelFRCQ24rstl12auto_ptriR12IObjectStore" +/* 80355754 003526B4 7C 64 1B 78 */ mr r4, r3 +lbl_80355758: +/* 80355758 003526B8 7C 04 00 D0 */ neg r0, r4 +/* 8035575C 003526BC 90 81 00 10 */ stw r4, 0x10(r1) +/* 80355760 003526C0 7C 00 23 78 */ or r0, r0, r4 +/* 80355764 003526C4 38 61 00 14 */ addi r3, r1, 0x14 +/* 80355768 003526C8 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8035576C 003526CC 38 81 00 0C */ addi r4, r1, 0xc +/* 80355770 003526D0 98 01 00 0C */ stb r0, 0xc(r1) +/* 80355774 003526D4 48 00 01 21 */ bl "GetIObjObjectFor__15TToken<6CModel>FRCQ24rstl17auto_ptr<6CModel>" +/* 80355778 003526D8 80 61 00 18 */ lwz r3, 0x18(r1) +/* 8035577C 003526DC 38 00 00 00 */ li r0, 0 +/* 80355780 003526E0 98 01 00 14 */ stb r0, 0x14(r1) +/* 80355784 003526E4 7C 03 00 D0 */ neg r0, r3 +/* 80355788 003526E8 7C 00 1B 78 */ or r0, r0, r3 +/* 8035578C 003526EC 54 00 0F FE */ srwi r0, r0, 0x1f +/* 80355790 003526F0 98 1F 00 00 */ stb r0, 0(r31) +/* 80355794 003526F4 90 7F 00 04 */ stw r3, 4(r31) +/* 80355798 003526F8 88 01 00 14 */ lbz r0, 0x14(r1) +/* 8035579C 003526FC 28 00 00 00 */ cmplwi r0, 0 +/* 803557A0 00352700 41 82 00 24 */ beq lbl_803557C4 +/* 803557A4 00352704 80 61 00 18 */ lwz r3, 0x18(r1) +/* 803557A8 00352708 28 03 00 00 */ cmplwi r3, 0 +/* 803557AC 0035270C 41 82 00 18 */ beq lbl_803557C4 +/* 803557B0 00352710 81 83 00 00 */ lwz r12, 0(r3) +/* 803557B4 00352714 38 80 00 01 */ li r4, 1 +/* 803557B8 00352718 81 8C 00 08 */ lwz r12, 8(r12) +/* 803557BC 0035271C 7D 89 03 A6 */ mtctr r12 +/* 803557C0 00352720 4E 80 04 21 */ bctrl +lbl_803557C4: +/* 803557C4 00352724 88 01 00 0C */ lbz r0, 0xc(r1) +/* 803557C8 00352728 28 00 00 00 */ cmplwi r0, 0 +/* 803557CC 0035272C 41 82 00 10 */ beq lbl_803557DC +/* 803557D0 00352730 80 61 00 10 */ lwz r3, 0x10(r1) +/* 803557D4 00352734 38 80 00 01 */ li r4, 1 +/* 803557D8 00352738 48 00 04 79 */ bl __dt__6CModelFv +lbl_803557DC: +/* 803557DC 0035273C 38 61 00 08 */ addi r3, r1, 8 +/* 803557E0 00352740 4B CD EB 25 */ bl sub_80034304 +/* 803557E4 00352744 80 01 00 34 */ lwz r0, 0x34(r1) +/* 803557E8 00352748 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 803557EC 0035274C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 803557F0 00352750 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 803557F4 00352754 83 81 00 20 */ lwz r28, 0x20(r1) +/* 803557F8 00352758 7C 08 03 A6 */ mtlr r0 +/* 803557FC 0035275C 38 21 00 30 */ addi r1, r1, 0x30 +/* 80355800 00352760 4E 80 00 20 */ blr + +.global "__dt__15TToken<6CModel>Fv" +"__dt__15TToken<6CModel>Fv": +/* 80355804 00352764 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80355808 00352768 7C 08 02 A6 */ mflr r0 +/* 8035580C 0035276C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80355810 00352770 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80355814 00352774 7C 9F 23 78 */ mr r31, r4 +/* 80355818 00352778 93 C1 00 08 */ stw r30, 8(r1) +/* 8035581C 0035277C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80355820 00352780 41 82 00 58 */ beq lbl_80355878 +/* 80355824 00352784 3C 60 80 3F */ lis r3, lbl_803EF738@ha +/* 80355828 00352788 38 03 F7 38 */ addi r0, r3, lbl_803EF738@l +/* 8035582C 0035278C 90 1E 00 00 */ stw r0, 0(r30) +/* 80355830 00352790 80 7E 00 04 */ lwz r3, 4(r30) +/* 80355834 00352794 28 03 00 00 */ cmplwi r3, 0 +/* 80355838 00352798 41 82 00 0C */ beq lbl_80355844 +/* 8035583C 0035279C 38 80 00 01 */ li r4, 1 +/* 80355840 003527A0 48 00 04 11 */ bl __dt__6CModelFv +lbl_80355844: +/* 80355844 003527A4 28 1E 00 00 */ cmplwi r30, 0 +/* 80355848 003527A8 41 82 00 20 */ beq lbl_80355868 +/* 8035584C 003527AC 3C 60 80 3E */ lis r3, lbl_803D8D78@ha +/* 80355850 003527B0 38 03 8D 78 */ addi r0, r3, lbl_803D8D78@l +/* 80355854 003527B4 90 1E 00 00 */ stw r0, 0(r30) +/* 80355858 003527B8 41 82 00 10 */ beq lbl_80355868 +/* 8035585C 003527BC 3C 60 80 3E */ lis r3, lbl_803D8D6C@ha +/* 80355860 003527C0 38 03 8D 6C */ addi r0, r3, lbl_803D8D6C@l +/* 80355864 003527C4 90 1E 00 00 */ stw r0, 0(r30) +lbl_80355868: +/* 80355868 003527C8 7F E0 07 35 */ extsh. r0, r31 +/* 8035586C 003527CC 40 81 00 0C */ ble lbl_80355878 +/* 80355870 003527D0 7F C3 F3 78 */ mr r3, r30 +/* 80355874 003527D4 4B FC 00 BD */ bl Free__7CMemoryFPCv +lbl_80355878: +/* 80355878 003527D8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8035587C 003527DC 7F C3 F3 78 */ mr r3, r30 +/* 80355880 003527E0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80355884 003527E4 83 C1 00 08 */ lwz r30, 8(r1) +/* 80355888 003527E8 7C 08 03 A6 */ mtlr r0 +/* 8035588C 003527EC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80355890 003527F0 4E 80 00 20 */ blr + +.global "GetIObjObjectFor__15TToken<6CModel>FRCQ24rstl17auto_ptr<6CModel>" +"GetIObjObjectFor__15TToken<6CModel>FRCQ24rstl17auto_ptr<6CModel>": +/* 80355894 003527F4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80355898 003527F8 7C 08 02 A6 */ mflr r0 +/* 8035589C 003527FC 90 01 00 14 */ stw r0, 0x14(r1) +/* 803558A0 00352800 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803558A4 00352804 7C 7F 1B 78 */ mr r31, r3 +/* 803558A8 00352808 48 00 00 19 */ bl "GetNewDerivedObject__33TObjOwnerDerivedFromIObj<6CModel>FRCQ24rstl17auto_ptr<6CModel>" +/* 803558AC 0035280C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803558B0 00352810 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803558B4 00352814 7C 08 03 A6 */ mtlr r0 +/* 803558B8 00352818 38 21 00 10 */ addi r1, r1, 0x10 +/* 803558BC 0035281C 4E 80 00 20 */ blr + +.global "GetNewDerivedObject__33TObjOwnerDerivedFromIObj<6CModel>FRCQ24rstl17auto_ptr<6CModel>" +"GetNewDerivedObject__33TObjOwnerDerivedFromIObj<6CModel>FRCQ24rstl17auto_ptr<6CModel>": +/* 803558C0 00352820 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803558C4 00352824 7C 08 02 A6 */ mflr r0 +/* 803558C8 00352828 3C A0 80 3E */ lis r5, lbl_803D8308@ha +/* 803558CC 0035282C 90 01 00 14 */ stw r0, 0x14(r1) +/* 803558D0 00352830 38 05 83 08 */ addi r0, r5, lbl_803D8308@l +/* 803558D4 00352834 38 A0 00 00 */ li r5, 0 +/* 803558D8 00352838 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803558DC 0035283C 7C 9F 23 78 */ mr r31, r4 +/* 803558E0 00352840 7C 04 03 78 */ mr r4, r0 +/* 803558E4 00352844 93 C1 00 08 */ stw r30, 8(r1) +/* 803558E8 00352848 7C 7E 1B 78 */ mr r30, r3 +/* 803558EC 0035284C 38 60 00 08 */ li r3, 8 +/* 803558F0 00352850 4B FB FF 7D */ bl __nw__FUlPCcPCc +/* 803558F4 00352854 28 03 00 00 */ cmplwi r3, 0 +/* 803558F8 00352858 41 82 00 38 */ beq lbl_80355930 +/* 803558FC 0035285C 3C 80 80 3E */ lis r4, lbl_803D8D6C@ha +/* 80355900 00352860 3C A0 80 3E */ lis r5, lbl_803D8D78@ha +/* 80355904 00352864 38 04 8D 6C */ addi r0, r4, lbl_803D8D6C@l +/* 80355908 00352868 3C 80 80 3F */ lis r4, lbl_803EF738@ha +/* 8035590C 0035286C 90 03 00 00 */ stw r0, 0(r3) +/* 80355910 00352870 38 C5 8D 78 */ addi r6, r5, lbl_803D8D78@l +/* 80355914 00352874 38 A0 00 00 */ li r5, 0 +/* 80355918 00352878 38 04 F7 38 */ addi r0, r4, lbl_803EF738@l +/* 8035591C 0035287C 90 C3 00 00 */ stw r6, 0(r3) +/* 80355920 00352880 98 BF 00 00 */ stb r5, 0(r31) +/* 80355924 00352884 80 9F 00 04 */ lwz r4, 4(r31) +/* 80355928 00352888 90 83 00 04 */ stw r4, 4(r3) +/* 8035592C 0035288C 90 03 00 00 */ stw r0, 0(r3) +lbl_80355930: +/* 80355930 00352890 7C 03 00 D0 */ neg r0, r3 +/* 80355934 00352894 7C 00 1B 78 */ or r0, r0, r3 +/* 80355938 00352898 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8035593C 0035289C 98 1E 00 00 */ stb r0, 0(r30) +/* 80355940 003528A0 90 7E 00 04 */ stw r3, 4(r30) +/* 80355944 003528A4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80355948 003528A8 83 C1 00 08 */ lwz r30, 8(r1) +/* 8035594C 003528AC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80355950 003528B0 7C 08 03 A6 */ mtlr r0 +/* 80355954 003528B4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80355958 003528B8 4E 80 00 20 */ blr + +.global VerifyCurrentShader__6CModelCFi +VerifyCurrentShader__6CModelCFi: +/* 8035595C 003528BC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80355960 003528C0 7C 08 02 A6 */ mflr r0 +/* 80355964 003528C4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80355968 003528C8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8035596C 003528CC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80355970 003528D0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80355974 003528D4 7C 9D 23 78 */ mr r29, r4 +/* 80355978 003528D8 93 81 00 10 */ stw r28, 0x10(r1) +/* 8035597C 003528DC 7C 7C 1B 78 */ mr r28, r3 +/* 80355980 003528E0 80 03 00 1C */ lwz r0, 0x1c(r3) +/* 80355984 003528E4 7C 1D 00 00 */ cmpw r29, r0 +/* 80355988 003528E8 41 80 00 08 */ blt lbl_80355990 +/* 8035598C 003528EC 3B A0 00 00 */ li r29, 0 +lbl_80355990: +/* 80355990 003528F0 A8 1C 00 2C */ lha r0, 0x2c(r28) +/* 80355994 003528F4 7C 1D 00 00 */ cmpw r29, r0 +/* 80355998 003528F8 40 82 00 5C */ bne lbl_803559F4 +/* 8035599C 003528FC A8 7C 00 2E */ lha r3, 0x2e(r28) +/* 803559A0 00352900 7C 60 07 35 */ extsh. r0, r3 +/* 803559A4 00352904 41 82 00 84 */ beq lbl_80355A28 +/* 803559A8 00352908 80 0D AA 88 */ lwz r0, lbl_805A9648@sda21(r13) +/* 803559AC 0035290C 7C 03 00 40 */ cmplw r3, r0 +/* 803559B0 00352910 41 81 00 78 */ bgt lbl_80355A28 +/* 803559B4 00352914 3B C0 00 00 */ li r30, 0 +/* 803559B8 00352918 3B E0 00 00 */ li r31, 0 +/* 803559BC 0035291C 48 00 00 20 */ b lbl_803559DC +lbl_803559C0: +/* 803559C0 00352920 7C 1E E8 00 */ cmpw r30, r29 +/* 803559C4 00352924 41 82 00 10 */ beq lbl_803559D4 +/* 803559C8 00352928 80 1C 00 24 */ lwz r0, 0x24(r28) +/* 803559CC 0035292C 7C 60 FA 14 */ add r3, r0, r31 +/* 803559D0 00352930 4B FF FA 91 */ bl UnlockTextures__Q26CModel7SShaderFv +lbl_803559D4: +/* 803559D4 00352934 3B FF 00 14 */ addi r31, r31, 0x14 +/* 803559D8 00352938 3B DE 00 01 */ addi r30, r30, 1 +lbl_803559DC: +/* 803559DC 0035293C 80 1C 00 1C */ lwz r0, 0x1c(r28) +/* 803559E0 00352940 7C 1E 00 00 */ cmpw r30, r0 +/* 803559E4 00352944 41 80 FF DC */ blt lbl_803559C0 +/* 803559E8 00352948 38 00 00 00 */ li r0, 0 +/* 803559EC 0035294C B0 1C 00 2E */ sth r0, 0x2e(r28) +/* 803559F0 00352950 48 00 00 38 */ b lbl_80355A28 +lbl_803559F4: +/* 803559F4 00352954 B3 BC 00 2C */ sth r29, 0x2c(r28) +/* 803559F8 00352958 1C 1D 00 14 */ mulli r0, r29, 0x14 +/* 803559FC 0035295C 80 9C 00 24 */ lwz r4, 0x24(r28) +/* 80355A00 00352960 80 7C 00 28 */ lwz r3, 0x28(r28) +/* 80355A04 00352964 7C A4 02 14 */ add r5, r4, r0 +/* 80355A08 00352968 80 85 00 10 */ lwz r4, 0x10(r5) +/* 80355A0C 0035296C 4B FB 0D E5 */ bl "RemapMaterialData__10CCubeModelFPCvPQ24rstl60vector<23TCachedToken<8CTexture>,Q24rstl17rmemory_allocator>" +/* 80355A10 00352970 80 1C 00 1C */ lwz r0, 0x1c(r28) +/* 80355A14 00352974 2C 00 00 01 */ cmpwi r0, 1 +/* 80355A18 00352978 40 81 00 10 */ ble lbl_80355A28 +/* 80355A1C 0035297C 80 6D AA 88 */ lwz r3, lbl_805A9648@sda21(r13) +/* 80355A20 00352980 38 03 00 02 */ addi r0, r3, 2 +/* 80355A24 00352984 B0 1C 00 2E */ sth r0, 0x2e(r28) +lbl_80355A28: +/* 80355A28 00352988 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80355A2C 0035298C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80355A30 00352990 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80355A34 00352994 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80355A38 00352998 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80355A3C 0035299C 7C 08 03 A6 */ mtlr r0 +/* 80355A40 003529A0 38 21 00 20 */ addi r1, r1, 0x20 +/* 80355A44 003529A4 4E 80 00 20 */ blr + +.global Draw__6CModelCFPCfPCfRC11CModelFlags +Draw__6CModelCFPCfPCfRC11CModelFlags: +/* 80355A48 003529A8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80355A4C 003529AC 7C 08 02 A6 */ mflr r0 +/* 80355A50 003529B0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80355A54 003529B4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80355A58 003529B8 7C DF 33 78 */ mr r31, r6 +/* 80355A5C 003529BC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80355A60 003529C0 7C BE 2B 78 */ mr r30, r5 +/* 80355A64 003529C4 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80355A68 003529C8 7C 9D 23 78 */ mr r29, r4 +/* 80355A6C 003529CC 93 81 00 10 */ stw r28, 0x10(r1) +/* 80355A70 003529D0 7C 7C 1B 78 */ mr r28, r3 +/* 80355A74 003529D4 A0 06 00 02 */ lhz r0, 2(r6) +/* 80355A78 003529D8 54 00 06 B5 */ rlwinm. r0, r0, 0, 0x1a, 0x1a +/* 80355A7C 003529DC 41 82 00 10 */ beq lbl_80355A8C +/* 80355A80 003529E0 80 7C 00 28 */ lwz r3, 0x28(r28) +/* 80355A84 003529E4 38 C0 00 02 */ li r6, 2 +/* 80355A88 003529E8 4B FB 0B A9 */ bl sub_80306630 +lbl_80355A8C: +/* 80355A8C 003529EC 4B FE FE 81 */ bl ResetCachedMaterials__13CCubeMaterialFv +/* 80355A90 003529F0 7F 83 E3 78 */ mr r3, r28 +/* 80355A94 003529F4 4B FF FA B9 */ bl MoveToThisFrameList__6CModelCFv +/* 80355A98 003529F8 88 9F 00 01 */ lbz r4, 1(r31) +/* 80355A9C 003529FC 7F 83 E3 78 */ mr r3, r28 +/* 80355AA0 00352A00 7C 84 07 74 */ extsb r4, r4 +/* 80355AA4 00352A04 4B FF FE B9 */ bl VerifyCurrentShader__6CModelCFi +/* 80355AA8 00352A08 80 7C 00 28 */ lwz r3, 0x28(r28) +/* 80355AAC 00352A0C 7F A4 EB 78 */ mr r4, r29 +/* 80355AB0 00352A10 7F C5 F3 78 */ mr r5, r30 +/* 80355AB4 00352A14 7F E6 FB 78 */ mr r6, r31 +/* 80355AB8 00352A18 4B FB 0E 81 */ bl Draw__10CCubeModelCFPCfPCfRC11CModelFlags +/* 80355ABC 00352A1C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80355AC0 00352A20 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80355AC4 00352A24 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80355AC8 00352A28 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80355ACC 00352A2C 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80355AD0 00352A30 7C 08 03 A6 */ mtlr r0 +/* 80355AD4 00352A34 38 21 00 20 */ addi r1, r1, 0x20 +/* 80355AD8 00352A38 4E 80 00 20 */ blr + +.global DrawSortedParts__6CModelCFRC11CModelFlags +DrawSortedParts__6CModelCFRC11CModelFlags: +/* 80355ADC 00352A3C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80355AE0 00352A40 7C 08 02 A6 */ mflr r0 +/* 80355AE4 00352A44 90 01 00 14 */ stw r0, 0x14(r1) +/* 80355AE8 00352A48 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80355AEC 00352A4C 7C 9F 23 78 */ mr r31, r4 +/* 80355AF0 00352A50 93 C1 00 08 */ stw r30, 8(r1) +/* 80355AF4 00352A54 7C 7E 1B 78 */ mr r30, r3 +/* 80355AF8 00352A58 A0 04 00 02 */ lhz r0, 2(r4) +/* 80355AFC 00352A5C 54 00 06 B5 */ rlwinm. r0, r0, 0, 0x1a, 0x1a +/* 80355B00 00352A60 41 82 00 18 */ beq lbl_80355B18 +/* 80355B04 00352A64 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 80355B08 00352A68 38 80 00 00 */ li r4, 0 +/* 80355B0C 00352A6C 38 A0 00 00 */ li r5, 0 +/* 80355B10 00352A70 38 C0 00 01 */ li r6, 1 +/* 80355B14 00352A74 4B FB 0B 1D */ bl sub_80306630 +lbl_80355B18: +/* 80355B18 00352A78 4B FE FD F5 */ bl ResetCachedMaterials__13CCubeMaterialFv +/* 80355B1C 00352A7C 7F C3 F3 78 */ mr r3, r30 +/* 80355B20 00352A80 4B FF FA 2D */ bl MoveToThisFrameList__6CModelCFv +/* 80355B24 00352A84 88 9F 00 01 */ lbz r4, 1(r31) +/* 80355B28 00352A88 7F C3 F3 78 */ mr r3, r30 +/* 80355B2C 00352A8C 7C 84 07 74 */ extsb r4, r4 +/* 80355B30 00352A90 4B FF FE 2D */ bl VerifyCurrentShader__6CModelCFi +/* 80355B34 00352A94 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 80355B38 00352A98 7F E4 FB 78 */ mr r4, r31 +/* 80355B3C 00352A9C 4B FB 0D 65 */ bl DrawAlpha__10CCubeModelCFRC11CModelFlags +/* 80355B40 00352AA0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80355B44 00352AA4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80355B48 00352AA8 83 C1 00 08 */ lwz r30, 8(r1) +/* 80355B4C 00352AAC 7C 08 03 A6 */ mtlr r0 +/* 80355B50 00352AB0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80355B54 00352AB4 4E 80 00 20 */ blr + +.global DrawUnsortedParts__6CModelCFRC11CModelFlags +DrawUnsortedParts__6CModelCFRC11CModelFlags: +/* 80355B58 00352AB8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80355B5C 00352ABC 7C 08 02 A6 */ mflr r0 +/* 80355B60 00352AC0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80355B64 00352AC4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80355B68 00352AC8 7C 9F 23 78 */ mr r31, r4 +/* 80355B6C 00352ACC 93 C1 00 08 */ stw r30, 8(r1) +/* 80355B70 00352AD0 7C 7E 1B 78 */ mr r30, r3 +/* 80355B74 00352AD4 A0 04 00 02 */ lhz r0, 2(r4) +/* 80355B78 00352AD8 54 00 06 B5 */ rlwinm. r0, r0, 0, 0x1a, 0x1a +/* 80355B7C 00352ADC 41 82 00 18 */ beq lbl_80355B94 +/* 80355B80 00352AE0 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 80355B84 00352AE4 38 80 00 00 */ li r4, 0 +/* 80355B88 00352AE8 38 A0 00 00 */ li r5, 0 +/* 80355B8C 00352AEC 38 C0 00 00 */ li r6, 0 +/* 80355B90 00352AF0 4B FB 0A A1 */ bl sub_80306630 +lbl_80355B94: +/* 80355B94 00352AF4 4B FE FD 79 */ bl ResetCachedMaterials__13CCubeMaterialFv +/* 80355B98 00352AF8 7F C3 F3 78 */ mr r3, r30 +/* 80355B9C 00352AFC 4B FF F9 B1 */ bl MoveToThisFrameList__6CModelCFv +/* 80355BA0 00352B00 88 9F 00 01 */ lbz r4, 1(r31) +/* 80355BA4 00352B04 7F C3 F3 78 */ mr r3, r30 +/* 80355BA8 00352B08 7C 84 07 74 */ extsb r4, r4 +/* 80355BAC 00352B0C 4B FF FD B1 */ bl VerifyCurrentShader__6CModelCFi +/* 80355BB0 00352B10 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 80355BB4 00352B14 7F E4 FB 78 */ mr r4, r31 +/* 80355BB8 00352B18 4B FB 0D 35 */ bl DrawNormal__10CCubeModelCFRC11CModelFlags +/* 80355BBC 00352B1C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80355BC0 00352B20 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80355BC4 00352B24 83 C1 00 08 */ lwz r30, 8(r1) +/* 80355BC8 00352B28 7C 08 03 A6 */ mtlr r0 +/* 80355BCC 00352B2C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80355BD0 00352B30 4E 80 00 20 */ blr + +.global Draw__6CModelCFRC11CModelFlags +Draw__6CModelCFRC11CModelFlags: +/* 80355BD4 00352B34 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80355BD8 00352B38 7C 08 02 A6 */ mflr r0 +/* 80355BDC 00352B3C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80355BE0 00352B40 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80355BE4 00352B44 7C 9F 23 78 */ mr r31, r4 +/* 80355BE8 00352B48 93 C1 00 08 */ stw r30, 8(r1) +/* 80355BEC 00352B4C 7C 7E 1B 78 */ mr r30, r3 +/* 80355BF0 00352B50 A0 04 00 02 */ lhz r0, 2(r4) +/* 80355BF4 00352B54 54 00 06 B5 */ rlwinm. r0, r0, 0, 0x1a, 0x1a +/* 80355BF8 00352B58 41 82 00 18 */ beq lbl_80355C10 +/* 80355BFC 00352B5C 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 80355C00 00352B60 38 80 00 00 */ li r4, 0 +/* 80355C04 00352B64 38 A0 00 00 */ li r5, 0 +/* 80355C08 00352B68 38 C0 00 02 */ li r6, 2 +/* 80355C0C 00352B6C 4B FB 0A 25 */ bl sub_80306630 +lbl_80355C10: +/* 80355C10 00352B70 4B FE FC FD */ bl ResetCachedMaterials__13CCubeMaterialFv +/* 80355C14 00352B74 7F C3 F3 78 */ mr r3, r30 +/* 80355C18 00352B78 4B FF F9 35 */ bl MoveToThisFrameList__6CModelCFv +/* 80355C1C 00352B7C 88 9F 00 01 */ lbz r4, 1(r31) +/* 80355C20 00352B80 7F C3 F3 78 */ mr r3, r30 +/* 80355C24 00352B84 7C 84 07 74 */ extsb r4, r4 +/* 80355C28 00352B88 4B FF FD 35 */ bl VerifyCurrentShader__6CModelCFi +/* 80355C2C 00352B8C 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 80355C30 00352B90 7F E4 FB 78 */ mr r4, r31 +/* 80355C34 00352B94 4B FB 0D 71 */ bl Draw__10CCubeModelCFRC11CModelFlags +/* 80355C38 00352B98 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80355C3C 00352B9C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80355C40 00352BA0 83 C1 00 08 */ lwz r30, 8(r1) +/* 80355C44 00352BA4 7C 08 03 A6 */ mtlr r0 +/* 80355C48 00352BA8 38 21 00 10 */ addi r1, r1, 0x10 +/* 80355C4C 00352BAC 4E 80 00 20 */ blr + +.global __dt__6CModelFv +__dt__6CModelFv: +/* 80355C50 00352BB0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80355C54 00352BB4 7C 08 02 A6 */ mflr r0 +/* 80355C58 00352BB8 90 01 00 24 */ stw r0, 0x24(r1) +/* 80355C5C 00352BBC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80355C60 00352BC0 7C 9F 23 78 */ mr r31, r4 +/* 80355C64 00352BC4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80355C68 00352BC8 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80355C6C 00352BCC 41 82 00 E4 */ beq lbl_80355D50 +/* 80355C70 00352BD0 4B FF F8 5D */ bl RemoveFromList__6CModelCFv +/* 80355C74 00352BD4 80 7E 00 04 */ lwz r3, 4(r30) +/* 80355C78 00352BD8 80 0D AA 78 */ lwz r0, lbl_805A9638@sda21(r13) +/* 80355C7C 00352BDC 7C 03 00 50 */ subf r0, r3, r0 +/* 80355C80 00352BE0 90 0D AA 78 */ stw r0, lbl_805A9638@sda21(r13) +/* 80355C84 00352BE4 4B FB 3B 79 */ bl GetFrameCounter__9CGraphicsFv +/* 80355C88 00352BE8 80 9E 00 38 */ lwz r4, 0x38(r30) +/* 80355C8C 00352BEC 7C 04 18 40 */ cmplw r4, r3 +/* 80355C90 00352BF0 40 82 00 1C */ bne lbl_80355CAC +/* 80355C94 00352BF4 80 9E 00 00 */ lwz r4, 0(r30) +/* 80355C98 00352BF8 38 00 00 00 */ li r0, 0 +/* 80355C9C 00352BFC 38 60 00 01 */ li r3, 1 +/* 80355CA0 00352C00 90 1E 00 00 */ stw r0, 0(r30) +/* 80355CA4 00352C04 48 01 6F 79 */ bl sub_8036cc1c +/* 80355CA8 00352C08 48 00 00 24 */ b lbl_80355CCC +lbl_80355CAC: +/* 80355CAC 00352C0C 38 03 FF FF */ addi r0, r3, -1 +/* 80355CB0 00352C10 7C 04 00 40 */ cmplw r4, r0 +/* 80355CB4 00352C14 40 82 00 18 */ bne lbl_80355CCC +/* 80355CB8 00352C18 80 9E 00 00 */ lwz r4, 0(r30) +/* 80355CBC 00352C1C 38 00 00 00 */ li r0, 0 +/* 80355CC0 00352C20 38 60 00 00 */ li r3, 0 +/* 80355CC4 00352C24 90 1E 00 00 */ stw r0, 0(r30) +/* 80355CC8 00352C28 48 01 6F 55 */ bl sub_8036cc1c +lbl_80355CCC: +/* 80355CCC 00352C2C 34 1E 00 28 */ addic. r0, r30, 0x28 +/* 80355CD0 00352C30 41 82 00 0C */ beq lbl_80355CDC +/* 80355CD4 00352C34 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 80355CD8 00352C38 4B FB FC 59 */ bl Free__7CMemoryFPCv +lbl_80355CDC: +/* 80355CDC 00352C3C 38 7E 00 18 */ addi r3, r30, 0x18 +/* 80355CE0 00352C40 38 80 FF FF */ li r4, -1 +/* 80355CE4 00352C44 48 00 00 89 */ bl sub_80355d6c +/* 80355CE8 00352C48 34 1E 00 08 */ addic. r0, r30, 8 +/* 80355CEC 00352C4C 41 82 00 44 */ beq lbl_80355D30 +/* 80355CF0 00352C50 80 1E 00 0C */ lwz r0, 0xc(r30) +/* 80355CF4 00352C54 80 7E 00 14 */ lwz r3, 0x14(r30) +/* 80355CF8 00352C58 54 00 10 3A */ slwi r0, r0, 2 +/* 80355CFC 00352C5C 7C 03 02 14 */ add r0, r3, r0 +/* 80355D00 00352C60 90 61 00 0C */ stw r3, 0xc(r1) +/* 80355D04 00352C64 7C 64 1B 78 */ mr r4, r3 +/* 80355D08 00352C68 90 01 00 14 */ stw r0, 0x14(r1) +/* 80355D0C 00352C6C 90 01 00 10 */ stw r0, 0x10(r1) +/* 80355D10 00352C70 90 61 00 08 */ stw r3, 8(r1) +/* 80355D14 00352C74 48 00 00 08 */ b lbl_80355D1C +lbl_80355D18: +/* 80355D18 00352C78 38 84 00 04 */ addi r4, r4, 4 +lbl_80355D1C: +/* 80355D1C 00352C7C 7C 04 00 40 */ cmplw r4, r0 +/* 80355D20 00352C80 40 82 FF F8 */ bne lbl_80355D18 +/* 80355D24 00352C84 28 03 00 00 */ cmplwi r3, 0 +/* 80355D28 00352C88 41 82 00 08 */ beq lbl_80355D30 +/* 80355D2C 00352C8C 4B FB FC 05 */ bl Free__7CMemoryFPCv +lbl_80355D30: +/* 80355D30 00352C90 28 1E 00 00 */ cmplwi r30, 0 +/* 80355D34 00352C94 41 82 00 0C */ beq lbl_80355D40 +/* 80355D38 00352C98 80 7E 00 00 */ lwz r3, 0(r30) +/* 80355D3C 00352C9C 4B FB FB F5 */ bl Free__7CMemoryFPCv +lbl_80355D40: +/* 80355D40 00352CA0 7F E0 07 35 */ extsh. r0, r31 +/* 80355D44 00352CA4 40 81 00 0C */ ble lbl_80355D50 +/* 80355D48 00352CA8 7F C3 F3 78 */ mr r3, r30 +/* 80355D4C 00352CAC 4B FB FB E5 */ bl Free__7CMemoryFPCv +lbl_80355D50: +/* 80355D50 00352CB0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80355D54 00352CB4 7F C3 F3 78 */ mr r3, r30 +/* 80355D58 00352CB8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80355D5C 00352CBC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80355D60 00352CC0 7C 08 03 A6 */ mtlr r0 +/* 80355D64 00352CC4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80355D68 00352CC8 4E 80 00 20 */ blr + +.global sub_80355d6c +sub_80355d6c: +/* 80355D6C 00352CCC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80355D70 00352CD0 7C 08 02 A6 */ mflr r0 +/* 80355D74 00352CD4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80355D78 00352CD8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80355D7C 00352CDC 7C 9F 23 78 */ mr r31, r4 +/* 80355D80 00352CE0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80355D84 00352CE4 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80355D88 00352CE8 41 82 00 54 */ beq lbl_80355DDC +/* 80355D8C 00352CEC 80 1E 00 04 */ lwz r0, 4(r30) +/* 80355D90 00352CF0 38 61 00 14 */ addi r3, r1, 0x14 +/* 80355D94 00352CF4 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 80355D98 00352CF8 38 81 00 0C */ addi r4, r1, 0xc +/* 80355D9C 00352CFC 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 80355DA0 00352D00 7C A5 02 14 */ add r5, r5, r0 +/* 80355DA4 00352D04 90 A1 00 0C */ stw r5, 0xc(r1) +/* 80355DA8 00352D08 80 1E 00 0C */ lwz r0, 0xc(r30) +/* 80355DAC 00352D0C 90 A1 00 08 */ stw r5, 8(r1) +/* 80355DB0 00352D10 90 01 00 10 */ stw r0, 0x10(r1) +/* 80355DB4 00352D14 90 01 00 14 */ stw r0, 0x14(r1) +/* 80355DB8 00352D18 48 00 00 41 */ bl sub_80355df8 +/* 80355DBC 00352D1C 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80355DC0 00352D20 28 03 00 00 */ cmplwi r3, 0 +/* 80355DC4 00352D24 41 82 00 08 */ beq lbl_80355DCC +/* 80355DC8 00352D28 4B FB FB 69 */ bl Free__7CMemoryFPCv +lbl_80355DCC: +/* 80355DCC 00352D2C 7F E0 07 35 */ extsh. r0, r31 +/* 80355DD0 00352D30 40 81 00 0C */ ble lbl_80355DDC +/* 80355DD4 00352D34 7F C3 F3 78 */ mr r3, r30 +/* 80355DD8 00352D38 4B FB FB 59 */ bl Free__7CMemoryFPCv +lbl_80355DDC: +/* 80355DDC 00352D3C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80355DE0 00352D40 7F C3 F3 78 */ mr r3, r30 +/* 80355DE4 00352D44 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80355DE8 00352D48 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80355DEC 00352D4C 7C 08 03 A6 */ mtlr r0 +/* 80355DF0 00352D50 38 21 00 20 */ addi r1, r1, 0x20 +/* 80355DF4 00352D54 4E 80 00 20 */ blr + +.global sub_80355df8 +sub_80355df8: +/* 80355DF8 00352D58 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80355DFC 00352D5C 7C 08 02 A6 */ mflr r0 +/* 80355E00 00352D60 90 01 00 14 */ stw r0, 0x14(r1) +/* 80355E04 00352D64 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80355E08 00352D68 93 C1 00 08 */ stw r30, 8(r1) +/* 80355E0C 00352D6C 7C 9E 23 78 */ mr r30, r4 +/* 80355E10 00352D70 83 E3 00 00 */ lwz r31, 0(r3) +/* 80355E14 00352D74 48 00 00 10 */ b lbl_80355E24 +lbl_80355E18: +/* 80355E18 00352D78 7F E3 FB 78 */ mr r3, r31 +/* 80355E1C 00352D7C 48 00 00 2D */ bl sub_80355e48 +/* 80355E20 00352D80 3B FF 00 14 */ addi r31, r31, 0x14 +lbl_80355E24: +/* 80355E24 00352D84 80 1E 00 00 */ lwz r0, 0(r30) +/* 80355E28 00352D88 7C 1F 00 40 */ cmplw r31, r0 +/* 80355E2C 00352D8C 40 82 FF EC */ bne lbl_80355E18 +/* 80355E30 00352D90 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80355E34 00352D94 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80355E38 00352D98 83 C1 00 08 */ lwz r30, 8(r1) +/* 80355E3C 00352D9C 7C 08 03 A6 */ mtlr r0 +/* 80355E40 00352DA0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80355E44 00352DA4 4E 80 00 20 */ blr + +.global sub_80355e48 +sub_80355e48: +/* 80355E48 00352DA8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80355E4C 00352DAC 7C 08 02 A6 */ mflr r0 +/* 80355E50 00352DB0 38 80 FF FF */ li r4, -1 +/* 80355E54 00352DB4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80355E58 00352DB8 48 00 00 15 */ bl sub_80355e6c +/* 80355E5C 00352DBC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80355E60 00352DC0 7C 08 03 A6 */ mtlr r0 +/* 80355E64 00352DC4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80355E68 00352DC8 4E 80 00 20 */ blr + +.global sub_80355e6c +sub_80355e6c: +/* 80355E6C 00352DCC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80355E70 00352DD0 7C 08 02 A6 */ mflr r0 +/* 80355E74 00352DD4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80355E78 00352DD8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80355E7C 00352DDC 7C 9F 23 78 */ mr r31, r4 +/* 80355E80 00352DE0 93 C1 00 08 */ stw r30, 8(r1) +/* 80355E84 00352DE4 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80355E88 00352DE8 41 82 00 1C */ beq lbl_80355EA4 +/* 80355E8C 00352DEC 38 80 FF FF */ li r4, -1 +/* 80355E90 00352DF0 4B F6 86 39 */ bl sub_802be4c8 +/* 80355E94 00352DF4 7F E0 07 35 */ extsh. r0, r31 +/* 80355E98 00352DF8 40 81 00 0C */ ble lbl_80355EA4 +/* 80355E9C 00352DFC 7F C3 F3 78 */ mr r3, r30 +/* 80355EA0 00352E00 4B FB FA 91 */ bl Free__7CMemoryFPCv +lbl_80355EA4: +/* 80355EA4 00352E04 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80355EA8 00352E08 7F C3 F3 78 */ mr r3, r30 +/* 80355EAC 00352E0C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80355EB0 00352E10 83 C1 00 08 */ lwz r30, 8(r1) +/* 80355EB4 00352E14 7C 08 03 A6 */ mtlr r0 +/* 80355EB8 00352E18 38 21 00 10 */ addi r1, r1, 0x10 +/* 80355EBC 00352E1C 4E 80 00 20 */ blr + +.global "__ct__6CModelFRCQ24rstl12auto_ptriR12IObjectStore" +"__ct__6CModelFRCQ24rstl12auto_ptriR12IObjectStore": +/* 80355EC0 00352E20 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 80355EC4 00352E24 7C 08 02 A6 */ mflr r0 +/* 80355EC8 00352E28 90 01 00 74 */ stw r0, 0x74(r1) +/* 80355ECC 00352E2C BE 81 00 40 */ stmw r20, 0x40(r1) +/* 80355ED0 00352E30 7C 94 23 78 */ mr r20, r4 +/* 80355ED4 00352E34 38 80 00 00 */ li r4, 0 +/* 80355ED8 00352E38 7C BF 2B 78 */ mr r31, r5 +/* 80355EDC 00352E3C 7C 7E 1B 78 */ mr r30, r3 +/* 80355EE0 00352E40 7C D5 33 78 */ mr r21, r6 +/* 80355EE4 00352E44 98 94 00 00 */ stb r4, 0(r20) +/* 80355EE8 00352E48 80 14 00 04 */ lwz r0, 4(r20) +/* 80355EEC 00352E4C 90 03 00 00 */ stw r0, 0(r3) +/* 80355EF0 00352E50 93 E3 00 04 */ stw r31, 4(r3) +/* 80355EF4 00352E54 90 83 00 0C */ stw r4, 0xc(r3) +/* 80355EF8 00352E58 90 83 00 10 */ stw r4, 0x10(r3) +/* 80355EFC 00352E5C 90 83 00 14 */ stw r4, 0x14(r3) +/* 80355F00 00352E60 90 83 00 1C */ stw r4, 0x1c(r3) +/* 80355F04 00352E64 90 83 00 20 */ stw r4, 0x20(r3) +/* 80355F08 00352E68 90 83 00 24 */ stw r4, 0x24(r3) +/* 80355F0C 00352E6C 90 83 00 28 */ stw r4, 0x28(r3) +/* 80355F10 00352E70 B0 83 00 2C */ sth r4, 0x2c(r3) +/* 80355F14 00352E74 B0 83 00 2E */ sth r4, 0x2e(r3) +/* 80355F18 00352E78 90 83 00 30 */ stw r4, 0x30(r3) +/* 80355F1C 00352E7C 80 0D AA 7C */ lwz r0, lbl_805A963C@sda21(r13) +/* 80355F20 00352E80 90 03 00 34 */ stw r0, 0x34(r3) +/* 80355F24 00352E84 4B FB 38 D9 */ bl GetFrameCounter__9CGraphicsFv +/* 80355F28 00352E88 38 03 FF FE */ addi r0, r3, -2 +/* 80355F2C 00352E8C 38 A0 00 2C */ li r5, 0x2c +/* 80355F30 00352E90 90 1E 00 38 */ stw r0, 0x38(r30) +/* 80355F34 00352E94 83 94 00 04 */ lwz r28, 4(r20) +/* 80355F38 00352E98 80 7C 00 04 */ lwz r3, 4(r28) +/* 80355F3C 00352E9C 80 1C 00 08 */ lwz r0, 8(r28) +/* 80355F40 00352EA0 28 03 00 01 */ cmplwi r3, 1 +/* 80355F44 00352EA4 54 1B FF FE */ rlwinm r27, r0, 0x1f, 0x1f, 0x1f +/* 80355F48 00352EA8 54 1D F7 FE */ rlwinm r29, r0, 0x1e, 0x1f, 0x1f +/* 80355F4C 00352EAC 40 82 00 08 */ bne lbl_80355F54 +/* 80355F50 00352EB0 38 A0 00 28 */ li r5, 0x28 +lbl_80355F54: +/* 80355F54 00352EB4 28 03 00 02 */ cmplwi r3, 2 +/* 80355F58 00352EB8 80 1C 00 24 */ lwz r0, 0x24(r28) +/* 80355F5C 00352EBC 7C 9C 2A 14 */ add r4, r28, r5 +/* 80355F60 00352EC0 3B 40 00 01 */ li r26, 1 +/* 80355F64 00352EC4 41 80 00 08 */ blt lbl_80355F6C +/* 80355F68 00352EC8 83 5C 00 28 */ lwz r26, 0x28(r28) +lbl_80355F6C: +/* 80355F6C 00352ECC 54 03 10 3A */ slwi r3, r0, 2 +/* 80355F70 00352ED0 90 81 00 20 */ stw r4, 0x20(r1) +/* 80355F74 00352ED4 38 03 00 1F */ addi r0, r3, 0x1f +/* 80355F78 00352ED8 7F 44 D3 78 */ mr r4, r26 +/* 80355F7C 00352EDC 7C 05 02 14 */ add r0, r5, r0 +/* 80355F80 00352EE0 38 7E 00 18 */ addi r3, r30, 0x18 +/* 80355F84 00352EE4 54 00 00 34 */ rlwinm r0, r0, 0, 0, 0x1a +/* 80355F88 00352EE8 7C 1C 02 14 */ add r0, r28, r0 +/* 80355F8C 00352EEC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80355F90 00352EF0 48 00 03 ED */ bl sub_8035637c +/* 80355F94 00352EF4 3B 20 00 00 */ li r25, 0 +/* 80355F98 00352EF8 48 00 00 7C */ b lbl_80356014 +lbl_80355F9C: +/* 80355F9C 00352EFC 38 61 00 24 */ addi r3, r1, 0x24 +/* 80355FA0 00352F00 38 81 00 20 */ addi r4, r1, 0x20 +/* 80355FA4 00352F04 48 00 03 9D */ bl advanceSectionInfo +/* 80355FA8 00352F08 38 00 00 00 */ li r0, 0 +/* 80355FAC 00352F0C 90 61 00 38 */ stw r3, 0x38(r1) +/* 80355FB0 00352F10 38 7E 00 18 */ addi r3, r30, 0x18 +/* 80355FB4 00352F14 38 81 00 28 */ addi r4, r1, 0x28 +/* 80355FB8 00352F18 90 01 00 2C */ stw r0, 0x2c(r1) +/* 80355FBC 00352F1C 90 01 00 30 */ stw r0, 0x30(r1) +/* 80355FC0 00352F20 90 01 00 34 */ stw r0, 0x34(r1) +/* 80355FC4 00352F24 48 00 02 21 */ bl sub_803561e4 +/* 80355FC8 00352F28 38 61 00 28 */ addi r3, r1, 0x28 +/* 80355FCC 00352F2C 38 80 FF FF */ li r4, -1 +/* 80355FD0 00352F30 4B FF FE 9D */ bl sub_80355e6c +/* 80355FD4 00352F34 80 7E 00 1C */ lwz r3, 0x1c(r30) +/* 80355FD8 00352F38 7E A5 AB 78 */ mr r5, r21 +/* 80355FDC 00352F3C 80 9E 00 24 */ lwz r4, 0x24(r30) +/* 80355FE0 00352F40 38 C0 00 01 */ li r6, 1 +/* 80355FE4 00352F44 38 03 FF FF */ addi r0, r3, -1 +/* 80355FE8 00352F48 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 80355FEC 00352F4C 7E 84 02 14 */ add r20, r4, r0 +/* 80355FF0 00352F50 80 74 00 10 */ lwz r3, 0x10(r20) +/* 80355FF4 00352F54 7E 84 A3 78 */ mr r4, r20 +/* 80355FF8 00352F58 4B FB 18 09 */ bl "MakeTexturesFromMats__10CCubeModelFPCvRQ24rstl60vector<23TCachedToken<8CTexture>,Q24rstl17rmemory_allocator>R12IObjectStoreb" +/* 80355FFC 00352F5C 80 14 00 04 */ lwz r0, 4(r20) +/* 80356000 00352F60 3B 39 00 01 */ addi r25, r25, 1 +/* 80356004 00352F64 80 7E 00 04 */ lwz r3, 4(r30) +/* 80356008 00352F68 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8035600C 00352F6C 7C 03 02 14 */ add r0, r3, r0 +/* 80356010 00352F70 90 1E 00 04 */ stw r0, 4(r30) +lbl_80356014: +/* 80356014 00352F74 7C 19 D0 00 */ cmpw r25, r26 +/* 80356018 00352F78 41 80 FF 84 */ blt lbl_80355F9C +/* 8035601C 00352F7C 38 61 00 24 */ addi r3, r1, 0x24 +/* 80356020 00352F80 38 81 00 20 */ addi r4, r1, 0x20 +/* 80356024 00352F84 48 00 03 1D */ bl advanceSectionInfo +/* 80356028 00352F88 7C 60 1B 78 */ mr r0, r3 +/* 8035602C 00352F8C 38 61 00 24 */ addi r3, r1, 0x24 +/* 80356030 00352F90 7C 19 03 78 */ mr r25, r0 +/* 80356034 00352F94 38 81 00 20 */ addi r4, r1, 0x20 +/* 80356038 00352F98 48 00 03 09 */ bl advanceSectionInfo +/* 8035603C 00352F9C 7C 60 1B 78 */ mr r0, r3 +/* 80356040 00352FA0 38 61 00 24 */ addi r3, r1, 0x24 +/* 80356044 00352FA4 7C 1A 03 78 */ mr r26, r0 +/* 80356048 00352FA8 38 81 00 20 */ addi r4, r1, 0x20 +/* 8035604C 00352FAC 48 00 02 F5 */ bl advanceSectionInfo +/* 80356050 00352FB0 7C 60 1B 78 */ mr r0, r3 +/* 80356054 00352FB4 38 61 00 24 */ addi r3, r1, 0x24 +/* 80356058 00352FB8 7C 18 03 78 */ mr r24, r0 +/* 8035605C 00352FBC 38 81 00 20 */ addi r4, r1, 0x20 +/* 80356060 00352FC0 48 00 02 E1 */ bl advanceSectionInfo +/* 80356064 00352FC4 28 1D 00 00 */ cmplwi r29, 0 +/* 80356068 00352FC8 7C 77 1B 78 */ mr r23, r3 +/* 8035606C 00352FCC 3A C0 00 00 */ li r22, 0 +/* 80356070 00352FD0 41 82 00 14 */ beq lbl_80356084 +/* 80356074 00352FD4 38 61 00 24 */ addi r3, r1, 0x24 +/* 80356078 00352FD8 38 81 00 20 */ addi r4, r1, 0x20 +/* 8035607C 00352FDC 48 00 02 C5 */ bl advanceSectionInfo +/* 80356080 00352FE0 7C 76 1B 78 */ mr r22, r3 +lbl_80356084: +/* 80356084 00352FE4 38 61 00 24 */ addi r3, r1, 0x24 +/* 80356088 00352FE8 38 81 00 20 */ addi r4, r1, 0x20 +/* 8035608C 00352FEC 48 00 02 B5 */ bl advanceSectionInfo +/* 80356090 00352FF0 83 A3 00 00 */ lwz r29, 0(r3) +/* 80356094 00352FF4 38 7E 00 08 */ addi r3, r30, 8 +/* 80356098 00352FF8 7F A4 EB 78 */ mr r4, r29 +/* 8035609C 00352FFC 4B D0 DB 75 */ bl sub_80063c10 +/* 803560A0 00353000 3A A0 00 00 */ li r21, 0 +/* 803560A4 00353004 48 00 00 64 */ b lbl_80356108 +lbl_803560A8: +/* 803560A8 00353008 38 61 00 24 */ addi r3, r1, 0x24 +/* 803560AC 0035300C 38 81 00 20 */ addi r4, r1, 0x20 +/* 803560B0 00353010 48 00 02 91 */ bl advanceSectionInfo +/* 803560B4 00353014 80 1E 00 0C */ lwz r0, 0xc(r30) +/* 803560B8 00353018 7C 74 1B 78 */ mr r20, r3 +/* 803560BC 0035301C 80 BE 00 10 */ lwz r5, 0x10(r30) +/* 803560C0 00353020 7C 00 28 00 */ cmpw r0, r5 +/* 803560C4 00353024 41 80 00 1C */ blt lbl_803560E0 +/* 803560C8 00353028 2C 05 00 00 */ cmpwi r5, 0 +/* 803560CC 0035302C 38 7E 00 08 */ addi r3, r30, 8 +/* 803560D0 00353030 38 80 00 04 */ li r4, 4 +/* 803560D4 00353034 41 82 00 08 */ beq lbl_803560DC +/* 803560D8 00353038 54 A4 08 3C */ slwi r4, r5, 1 +lbl_803560DC: +/* 803560DC 0035303C 4B D0 DB 35 */ bl sub_80063c10 +lbl_803560E0: +/* 803560E0 00353040 80 1E 00 0C */ lwz r0, 0xc(r30) +/* 803560E4 00353044 80 7E 00 14 */ lwz r3, 0x14(r30) +/* 803560E8 00353048 54 00 10 3A */ slwi r0, r0, 2 +/* 803560EC 0035304C 7C 63 02 15 */ add. r3, r3, r0 +/* 803560F0 00353050 41 82 00 08 */ beq lbl_803560F8 +/* 803560F4 00353054 92 83 00 00 */ stw r20, 0(r3) +lbl_803560F8: +/* 803560F8 00353058 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 803560FC 0035305C 3A B5 00 01 */ addi r21, r21, 1 +/* 80356100 00353060 38 03 00 01 */ addi r0, r3, 1 +/* 80356104 00353064 90 1E 00 0C */ stw r0, 0xc(r30) +lbl_80356108: +/* 80356108 00353068 7C 15 E8 40 */ cmplw r21, r29 +/* 8035610C 0035306C 41 80 FF 9C */ blt lbl_803560A8 +/* 80356110 00353070 3C 80 80 3E */ lis r4, lbl_803D8308@ha +/* 80356114 00353074 38 60 00 48 */ li r3, 0x48 +/* 80356118 00353078 38 84 83 08 */ addi r4, r4, lbl_803D8308@l +/* 8035611C 0035307C 38 A0 00 00 */ li r5, 0 +/* 80356120 00353080 4B FB F7 4D */ bl __nw__FUlPCcPCc +/* 80356124 00353084 7C 74 1B 79 */ or. r20, r3, r3 +/* 80356128 00353088 41 82 00 54 */ beq lbl_8035617C +/* 8035612C 0035308C 80 BE 00 24 */ lwz r5, 0x24(r30) +/* 80356130 00353090 7C 1B 00 D0 */ neg r0, r27 +/* 80356134 00353094 7C 00 DB 78 */ or r0, r0, r27 +/* 80356138 00353098 38 9C 00 0C */ addi r4, r28, 0xc +/* 8035613C 0035309C 92 C1 00 08 */ stw r22, 8(r1) +/* 80356140 003530A0 54 09 0F FE */ srwi r9, r0, 0x1f +/* 80356144 003530A4 38 C0 00 01 */ li r6, 1 +/* 80356148 003530A8 38 00 FF FF */ li r0, -1 +/* 8035614C 003530AC 90 81 00 0C */ stw r4, 0xc(r1) +/* 80356150 003530B0 7F 27 CB 78 */ mr r7, r25 +/* 80356154 003530B4 7F 48 D3 78 */ mr r8, r26 +/* 80356158 003530B8 7E EA BB 78 */ mr r10, r23 +/* 8035615C 003530BC 91 21 00 10 */ stw r9, 0x10(r1) +/* 80356160 003530C0 7F 09 C3 78 */ mr r9, r24 +/* 80356164 003530C4 38 9E 00 08 */ addi r4, r30, 8 +/* 80356168 003530C8 90 C1 00 14 */ stw r6, 0x14(r1) +/* 8035616C 003530CC 90 01 00 18 */ stw r0, 0x18(r1) +/* 80356170 003530D0 80 C5 00 10 */ lwz r6, 0x10(r5) +/* 80356174 003530D4 4B FB 17 E1 */ bl "__ct__10CCubeModelFPQ24rstl37vectorPQ24rstl60vector<23TCachedToken<8CTexture>,Q24rstl17rmemory_allocator>PCvPCvPCvPCvPCvPCvRC6CAABoxUcb" +/* 80356178 003530D8 7C 74 1B 78 */ mr r20, r3 +lbl_8035617C: +/* 8035617C 003530DC 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 80356180 003530E0 4B FB F7 B1 */ bl Free__7CMemoryFPCv +/* 80356184 003530E4 92 9E 00 28 */ stw r20, 0x28(r30) +/* 80356188 003530E8 93 CD AA 7C */ stw r30, lbl_805A963C@sda21(r13) +/* 8035618C 003530EC 80 7E 00 34 */ lwz r3, 0x34(r30) +/* 80356190 003530F0 28 03 00 00 */ cmplwi r3, 0 +/* 80356194 003530F4 41 82 00 08 */ beq lbl_8035619C +/* 80356198 003530F8 93 C3 00 30 */ stw r30, 0x30(r3) +lbl_8035619C: +/* 8035619C 003530FC 80 1E 00 0C */ lwz r0, 0xc(r30) +/* 803561A0 00353100 7F E4 FB 78 */ mr r4, r31 +/* 803561A4 00353104 80 7E 00 04 */ lwz r3, 4(r30) +/* 803561A8 00353108 54 00 10 3A */ slwi r0, r0, 2 +/* 803561AC 0035310C 7C 03 02 14 */ add r0, r3, r0 +/* 803561B0 00353110 90 1E 00 04 */ stw r0, 4(r30) +/* 803561B4 00353114 80 6D AA 78 */ lwz r3, lbl_805A9638@sda21(r13) +/* 803561B8 00353118 80 1E 00 04 */ lwz r0, 4(r30) +/* 803561BC 0035311C 7C 03 02 14 */ add r0, r3, r0 +/* 803561C0 00353120 90 0D AA 78 */ stw r0, lbl_805A9638@sda21(r13) +/* 803561C4 00353124 80 7E 00 00 */ lwz r3, 0(r30) +/* 803561C8 00353128 48 02 88 E9 */ bl DCFlushRange +/* 803561CC 0035312C 7F C3 F3 78 */ mr r3, r30 +/* 803561D0 00353130 BA 81 00 40 */ lmw r20, 0x40(r1) +/* 803561D4 00353134 80 01 00 74 */ lwz r0, 0x74(r1) +/* 803561D8 00353138 7C 08 03 A6 */ mtlr r0 +/* 803561DC 0035313C 38 21 00 70 */ addi r1, r1, 0x70 +/* 803561E0 00353140 4E 80 00 20 */ blr + +.global sub_803561e4 +sub_803561e4: +/* 803561E4 00353144 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803561E8 00353148 7C 08 02 A6 */ mflr r0 +/* 803561EC 0035314C 90 01 00 14 */ stw r0, 0x14(r1) +/* 803561F0 00353150 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803561F4 00353154 7C 9F 23 78 */ mr r31, r4 +/* 803561F8 00353158 93 C1 00 08 */ stw r30, 8(r1) +/* 803561FC 0035315C 7C 7E 1B 78 */ mr r30, r3 +/* 80356200 00353160 80 03 00 04 */ lwz r0, 4(r3) +/* 80356204 00353164 80 A3 00 08 */ lwz r5, 8(r3) +/* 80356208 00353168 7C 00 28 00 */ cmpw r0, r5 +/* 8035620C 0035316C 41 80 00 18 */ blt lbl_80356224 +/* 80356210 00353170 2C 05 00 00 */ cmpwi r5, 0 +/* 80356214 00353174 38 80 00 04 */ li r4, 4 +/* 80356218 00353178 41 82 00 08 */ beq lbl_80356220 +/* 8035621C 0035317C 54 A4 08 3C */ slwi r4, r5, 1 +lbl_80356220: +/* 80356220 00353180 48 00 01 5D */ bl sub_8035637c +lbl_80356224: +/* 80356224 00353184 80 1E 00 04 */ lwz r0, 4(r30) +/* 80356228 00353188 7F E4 FB 78 */ mr r4, r31 +/* 8035622C 0035318C 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80356230 00353190 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 80356234 00353194 7C 63 02 14 */ add r3, r3, r0 +/* 80356238 00353198 48 00 00 29 */ bl sub_80356260 +/* 8035623C 0035319C 80 7E 00 04 */ lwz r3, 4(r30) +/* 80356240 003531A0 38 03 00 01 */ addi r0, r3, 1 +/* 80356244 003531A4 90 1E 00 04 */ stw r0, 4(r30) +/* 80356248 003531A8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8035624C 003531AC 83 C1 00 08 */ lwz r30, 8(r1) +/* 80356250 003531B0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80356254 003531B4 7C 08 03 A6 */ mtlr r0 +/* 80356258 003531B8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8035625C 003531BC 4E 80 00 20 */ blr + +.global sub_80356260 +sub_80356260: +/* 80356260 003531C0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80356264 003531C4 7C 08 02 A6 */ mflr r0 +/* 80356268 003531C8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8035626C 003531CC BF 41 00 08 */ stmw r26, 8(r1) +/* 80356270 003531D0 7C 7A 1B 79 */ or. r26, r3, r3 +/* 80356274 003531D4 7C 9B 23 78 */ mr r27, r4 +/* 80356278 003531D8 41 82 00 B4 */ beq lbl_8035632C +/* 8035627C 003531DC 80 1B 00 04 */ lwz r0, 4(r27) +/* 80356280 003531E0 90 1A 00 04 */ stw r0, 4(r26) +/* 80356284 003531E4 80 1B 00 08 */ lwz r0, 8(r27) +/* 80356288 003531E8 90 1A 00 08 */ stw r0, 8(r26) +/* 8035628C 003531EC 80 1B 00 04 */ lwz r0, 4(r27) +/* 80356290 003531F0 2C 00 00 00 */ cmpwi r0, 0 +/* 80356294 003531F4 40 82 00 1C */ bne lbl_803562B0 +/* 80356298 003531F8 80 1B 00 08 */ lwz r0, 8(r27) +/* 8035629C 003531FC 2C 00 00 00 */ cmpwi r0, 0 +/* 803562A0 00353200 40 82 00 10 */ bne lbl_803562B0 +/* 803562A4 00353204 38 00 00 00 */ li r0, 0 +/* 803562A8 00353208 90 1A 00 0C */ stw r0, 0xc(r26) +/* 803562AC 0035320C 48 00 00 78 */ b lbl_80356324 +lbl_803562B0: +/* 803562B0 00353210 80 1A 00 08 */ lwz r0, 8(r26) +/* 803562B4 00353214 1C 60 00 0C */ mulli r3, r0, 0xc +/* 803562B8 00353218 2C 03 00 00 */ cmpwi r3, 0 +/* 803562BC 0035321C 40 82 00 10 */ bne lbl_803562CC +/* 803562C0 00353220 38 00 00 00 */ li r0, 0 +/* 803562C4 00353224 90 1A 00 0C */ stw r0, 0xc(r26) +/* 803562C8 00353228 48 00 00 18 */ b lbl_803562E0 +lbl_803562CC: +/* 803562CC 0035322C 3C 80 80 3E */ lis r4, lbl_803D8308@ha +/* 803562D0 00353230 38 A0 00 00 */ li r5, 0 +/* 803562D4 00353234 38 84 83 08 */ addi r4, r4, lbl_803D8308@l +/* 803562D8 00353238 4B FB F5 41 */ bl __nwa__FUlPCcPCc +/* 803562DC 0035323C 90 7A 00 0C */ stw r3, 0xc(r26) +lbl_803562E0: +/* 803562E0 00353240 83 9A 00 04 */ lwz r28, 4(r26) +/* 803562E4 00353244 3B E0 00 00 */ li r31, 0 +/* 803562E8 00353248 83 BB 00 0C */ lwz r29, 0xc(r27) +/* 803562EC 0035324C 83 DA 00 0C */ lwz r30, 0xc(r26) +/* 803562F0 00353250 48 00 00 2C */ b lbl_8035631C +lbl_803562F4: +/* 803562F4 00353254 28 1E 00 00 */ cmplwi r30, 0 +/* 803562F8 00353258 41 82 00 18 */ beq lbl_80356310 +/* 803562FC 0035325C 7F C3 F3 78 */ mr r3, r30 +/* 80356300 00353260 7F A4 EB 78 */ mr r4, r29 +/* 80356304 00353264 4B FE AB A5 */ bl __ct__6CTokenFRC6CToken +/* 80356308 00353268 80 1D 00 08 */ lwz r0, 8(r29) +/* 8035630C 0035326C 90 1E 00 08 */ stw r0, 8(r30) +lbl_80356310: +/* 80356310 00353270 3B DE 00 0C */ addi r30, r30, 0xc +/* 80356314 00353274 3B FF 00 01 */ addi r31, r31, 1 +/* 80356318 00353278 3B BD 00 0C */ addi r29, r29, 0xc +lbl_8035631C: +/* 8035631C 0035327C 7C 1F E0 00 */ cmpw r31, r28 +/* 80356320 00353280 41 80 FF D4 */ blt lbl_803562F4 +lbl_80356324: +/* 80356324 00353284 80 1B 00 10 */ lwz r0, 0x10(r27) +/* 80356328 00353288 90 1A 00 10 */ stw r0, 0x10(r26) +lbl_8035632C: +/* 8035632C 0035328C BB 41 00 08 */ lmw r26, 8(r1) +/* 80356330 00353290 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80356334 00353294 7C 08 03 A6 */ mtlr r0 +/* 80356338 00353298 38 21 00 20 */ addi r1, r1, 0x20 +/* 8035633C 0035329C 4E 80 00 20 */ blr + +.global advanceSectionInfo +advanceSectionInfo: +/* 80356340 003532A0 80 A4 00 00 */ lwz r5, 0(r4) +/* 80356344 003532A4 80 C5 00 00 */ lwz r6, 0(r5) +/* 80356348 003532A8 2C 06 00 00 */ cmpwi r6, 0 +/* 8035634C 003532AC 41 82 00 0C */ beq lbl_80356358 +/* 80356350 003532B0 80 A3 00 00 */ lwz r5, 0(r3) +/* 80356354 003532B4 48 00 00 08 */ b lbl_8035635C +lbl_80356358: +/* 80356358 003532B8 38 A0 00 00 */ li r5, 0 +lbl_8035635C: +/* 8035635C 003532BC 80 03 00 00 */ lwz r0, 0(r3) +/* 80356360 003532C0 7C 00 32 14 */ add r0, r0, r6 +/* 80356364 003532C4 90 03 00 00 */ stw r0, 0(r3) +/* 80356368 003532C8 7C A3 2B 78 */ mr r3, r5 +/* 8035636C 003532CC 80 A4 00 00 */ lwz r5, 0(r4) +/* 80356370 003532D0 38 05 00 04 */ addi r0, r5, 4 +/* 80356374 003532D4 90 04 00 00 */ stw r0, 0(r4) +/* 80356378 003532D8 4E 80 00 20 */ blr + +.global sub_8035637c +sub_8035637c: +/* 8035637C 003532DC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80356380 003532E0 7C 08 02 A6 */ mflr r0 +/* 80356384 003532E4 90 01 00 34 */ stw r0, 0x34(r1) +/* 80356388 003532E8 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8035638C 003532EC 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80356390 003532F0 7C 9E 23 78 */ mr r30, r4 +/* 80356394 003532F4 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80356398 003532F8 7C 7D 1B 78 */ mr r29, r3 +/* 8035639C 003532FC 80 03 00 08 */ lwz r0, 8(r3) +/* 803563A0 00353300 7C 1E 00 00 */ cmpw r30, r0 +/* 803563A4 00353304 40 81 00 8C */ ble lbl_80356430 +/* 803563A8 00353308 1C 7E 00 14 */ mulli r3, r30, 0x14 +/* 803563AC 0035330C 2C 03 00 00 */ cmpwi r3, 0 +/* 803563B0 00353310 40 82 00 0C */ bne lbl_803563BC +/* 803563B4 00353314 3B E0 00 00 */ li r31, 0 +/* 803563B8 00353318 48 00 00 18 */ b lbl_803563D0 +lbl_803563BC: +/* 803563BC 0035331C 3C 80 80 3E */ lis r4, lbl_803D8308@ha +/* 803563C0 00353320 38 A0 00 00 */ li r5, 0 +/* 803563C4 00353324 38 84 83 08 */ addi r4, r4, lbl_803D8308@l +/* 803563C8 00353328 4B FB F4 51 */ bl __nwa__FUlPCcPCc +/* 803563CC 0035332C 7C 7F 1B 78 */ mr r31, r3 +lbl_803563D0: +/* 803563D0 00353330 80 1D 00 04 */ lwz r0, 4(r29) +/* 803563D4 00353334 7F E5 FB 78 */ mr r5, r31 +/* 803563D8 00353338 80 DD 00 0C */ lwz r6, 0xc(r29) +/* 803563DC 0035333C 38 61 00 14 */ addi r3, r1, 0x14 +/* 803563E0 00353340 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 803563E4 00353344 38 81 00 0C */ addi r4, r1, 0xc +/* 803563E8 00353348 7C C6 02 14 */ add r6, r6, r0 +/* 803563EC 0035334C 90 C1 00 0C */ stw r6, 0xc(r1) +/* 803563F0 00353350 80 1D 00 0C */ lwz r0, 0xc(r29) +/* 803563F4 00353354 90 C1 00 08 */ stw r6, 8(r1) +/* 803563F8 00353358 90 01 00 10 */ stw r0, 0x10(r1) +/* 803563FC 0035335C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80356400 00353360 48 00 00 99 */ bl sub_80356498 +/* 80356404 00353364 80 1D 00 04 */ lwz r0, 4(r29) +/* 80356408 00353368 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 8035640C 0035336C 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 80356410 00353370 7C 83 02 14 */ add r4, r3, r0 +/* 80356414 00353374 48 00 00 39 */ bl sub_8035644c +/* 80356418 00353378 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 8035641C 0035337C 28 03 00 00 */ cmplwi r3, 0 +/* 80356420 00353380 41 82 00 08 */ beq lbl_80356428 +/* 80356424 00353384 4B FB F5 0D */ bl Free__7CMemoryFPCv +lbl_80356428: +/* 80356428 00353388 93 FD 00 0C */ stw r31, 0xc(r29) +/* 8035642C 0035338C 93 DD 00 08 */ stw r30, 8(r29) +lbl_80356430: +/* 80356430 00353390 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80356434 00353394 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80356438 00353398 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8035643C 0035339C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80356440 003533A0 7C 08 03 A6 */ mtlr r0 +/* 80356444 003533A4 38 21 00 30 */ addi r1, r1, 0x30 +/* 80356448 003533A8 4E 80 00 20 */ blr + +.global sub_8035644c +sub_8035644c: +/* 8035644C 003533AC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80356450 003533B0 7C 08 02 A6 */ mflr r0 +/* 80356454 003533B4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80356458 003533B8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8035645C 003533BC 7C 7F 1B 78 */ mr r31, r3 +/* 80356460 003533C0 93 C1 00 08 */ stw r30, 8(r1) +/* 80356464 003533C4 7C 9E 23 78 */ mr r30, r4 +/* 80356468 003533C8 48 00 00 10 */ b lbl_80356478 +lbl_8035646C: +/* 8035646C 003533CC 7F E3 FB 78 */ mr r3, r31 +/* 80356470 003533D0 4B FF F9 D9 */ bl sub_80355e48 +/* 80356474 003533D4 3B FF 00 14 */ addi r31, r31, 0x14 +lbl_80356478: +/* 80356478 003533D8 7C 1F F0 40 */ cmplw r31, r30 +/* 8035647C 003533DC 40 82 FF F0 */ bne lbl_8035646C +/* 80356480 003533E0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80356484 003533E4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80356488 003533E8 83 C1 00 08 */ lwz r30, 8(r1) +/* 8035648C 003533EC 7C 08 03 A6 */ mtlr r0 +/* 80356490 003533F0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80356494 003533F4 4E 80 00 20 */ blr + +.global sub_80356498 +sub_80356498: +/* 80356498 003533F8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8035649C 003533FC 7C 08 02 A6 */ mflr r0 +/* 803564A0 00353400 90 01 00 24 */ stw r0, 0x24(r1) +/* 803564A4 00353404 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 803564A8 00353408 93 C1 00 18 */ stw r30, 0x18(r1) +/* 803564AC 0035340C 7C BE 2B 78 */ mr r30, r5 +/* 803564B0 00353410 93 A1 00 14 */ stw r29, 0x14(r1) +/* 803564B4 00353414 7C 9D 23 78 */ mr r29, r4 +/* 803564B8 00353418 83 E3 00 00 */ lwz r31, 0(r3) +/* 803564BC 0035341C 48 00 00 18 */ b lbl_803564D4 +lbl_803564C0: +/* 803564C0 00353420 7F C3 F3 78 */ mr r3, r30 +/* 803564C4 00353424 7F E4 FB 78 */ mr r4, r31 +/* 803564C8 00353428 4B FF FD 99 */ bl sub_80356260 +/* 803564CC 0035342C 3B DE 00 14 */ addi r30, r30, 0x14 +/* 803564D0 00353430 3B FF 00 14 */ addi r31, r31, 0x14 +lbl_803564D4: +/* 803564D4 00353434 80 1D 00 00 */ lwz r0, 0(r29) +/* 803564D8 00353438 7C 1F 00 40 */ cmplw r31, r0 +/* 803564DC 0035343C 40 82 FF E4 */ bne lbl_803564C0 +/* 803564E0 00353440 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803564E4 00353444 7F C3 F3 78 */ mr r3, r30 +/* 803564E8 00353448 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803564EC 0035344C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 803564F0 00353450 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 803564F4 00353454 7C 08 03 A6 */ mtlr r0 +/* 803564F8 00353458 38 21 00 20 */ addi r1, r1, 0x20 +/* 803564FC 0035345C 4E 80 00 20 */ blr diff --git a/asm/Kyoto/Graphics/DolphinCPalette.s b/asm/Kyoto/Graphics/DolphinCPalette.s new file mode 100644 index 00000000..83b3fa06 --- /dev/null +++ b/asm/Kyoto/Graphics/DolphinCPalette.s @@ -0,0 +1,193 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global UnLock__16CGraphicsPaletteFv +UnLock__16CGraphicsPaletteFv: +/* 8030DE5C 0030ADBC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030DE60 0030ADC0 7C 08 02 A6 */ mflr r0 +/* 8030DE64 0030ADC4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030DE68 0030ADC8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8030DE6C 0030ADCC 7C 7F 1B 78 */ mr r31, r3 +/* 8030DE70 0030ADD0 80 03 00 08 */ lwz r0, 8(r3) +/* 8030DE74 0030ADD4 80 63 00 0C */ lwz r3, 0xc(r3) +/* 8030DE78 0030ADD8 54 04 08 3C */ slwi r4, r0, 1 +/* 8030DE7C 0030ADDC 48 07 0C 65 */ bl DCStoreRange +/* 8030DE80 0030ADE0 80 1F 00 08 */ lwz r0, 8(r31) +/* 8030DE84 0030ADE4 38 7F 00 10 */ addi r3, r31, 0x10 +/* 8030DE88 0030ADE8 80 BF 00 00 */ lwz r5, 0(r31) +/* 8030DE8C 0030ADEC 80 9F 00 0C */ lwz r4, 0xc(r31) +/* 8030DE90 0030ADF0 54 06 04 3E */ clrlwi r6, r0, 0x10 +/* 8030DE94 0030ADF4 48 06 C6 55 */ bl GXInitTlutObj +/* 8030DE98 0030ADF8 80 1F 00 08 */ lwz r0, 8(r31) +/* 8030DE9C 0030ADFC 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 8030DEA0 0030AE00 54 04 08 3C */ slwi r4, r0, 1 +/* 8030DEA4 0030AE04 48 07 0C 0D */ bl DCFlushRange +/* 8030DEA8 0030AE08 38 00 00 00 */ li r0, 0 +/* 8030DEAC 0030AE0C 98 1F 00 1C */ stb r0, 0x1c(r31) +/* 8030DEB0 0030AE10 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030DEB4 0030AE14 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8030DEB8 0030AE18 7C 08 03 A6 */ mtlr r0 +/* 8030DEBC 0030AE1C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030DEC0 0030AE20 4E 80 00 20 */ blr + +.global Load__16CGraphicsPaletteCFv +Load__16CGraphicsPaletteCFv: +/* 8030DEC4 0030AE24 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030DEC8 0030AE28 7C 08 02 A6 */ mflr r0 +/* 8030DECC 0030AE2C 38 80 00 00 */ li r4, 0 +/* 8030DED0 0030AE30 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030DED4 0030AE34 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8030DED8 0030AE38 7C 7F 1B 78 */ mr r31, r3 +/* 8030DEDC 0030AE3C 38 7F 00 10 */ addi r3, r31, 0x10 +/* 8030DEE0 0030AE40 48 06 C6 51 */ bl GXLoadTlut +/* 8030DEE4 0030AE44 80 0D A8 68 */ lwz r0, lbl_805A9428@sda21(r13) +/* 8030DEE8 0030AE48 90 1F 00 04 */ stw r0, 4(r31) +/* 8030DEEC 0030AE4C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030DEF0 0030AE50 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8030DEF4 0030AE54 7C 08 03 A6 */ mtlr r0 +/* 8030DEF8 0030AE58 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030DEFC 0030AE5C 4E 80 00 20 */ blr + +.global __dt__16CGraphicsPaletteFv +__dt__16CGraphicsPaletteFv: +/* 8030DF00 0030AE60 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030DF04 0030AE64 7C 08 02 A6 */ mflr r0 +/* 8030DF08 0030AE68 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030DF0C 0030AE6C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8030DF10 0030AE70 7C 9F 23 78 */ mr r31, r4 +/* 8030DF14 0030AE74 93 C1 00 08 */ stw r30, 8(r1) +/* 8030DF18 0030AE78 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8030DF1C 0030AE7C 41 82 00 50 */ beq lbl_8030DF6C +/* 8030DF20 0030AE80 80 7E 00 04 */ lwz r3, 4(r30) +/* 8030DF24 0030AE84 80 0D A8 68 */ lwz r0, lbl_805A9428@sda21(r13) +/* 8030DF28 0030AE88 7C 03 00 50 */ subf r0, r3, r0 +/* 8030DF2C 0030AE8C 28 00 00 02 */ cmplwi r0, 2 +/* 8030DF30 0030AE90 40 80 00 1C */ bge lbl_8030DF4C +/* 8030DF34 0030AE94 80 9E 00 0C */ lwz r4, 0xc(r30) +/* 8030DF38 0030AE98 38 60 00 00 */ li r3, 0 +/* 8030DF3C 0030AE9C 7C 00 00 34 */ cntlzw r0, r0 +/* 8030DF40 0030AEA0 90 7E 00 0C */ stw r3, 0xc(r30) +/* 8030DF44 0030AEA4 54 03 D9 7E */ srwi r3, r0, 5 +/* 8030DF48 0030AEA8 48 05 EC D5 */ bl sub_8036cc1c +lbl_8030DF4C: +/* 8030DF4C 0030AEAC 34 1E 00 0C */ addic. r0, r30, 0xc +/* 8030DF50 0030AEB0 41 82 00 0C */ beq lbl_8030DF5C +/* 8030DF54 0030AEB4 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8030DF58 0030AEB8 48 00 79 D9 */ bl Free__7CMemoryFPCv +lbl_8030DF5C: +/* 8030DF5C 0030AEBC 7F E0 07 35 */ extsh. r0, r31 +/* 8030DF60 0030AEC0 40 81 00 0C */ ble lbl_8030DF6C +/* 8030DF64 0030AEC4 7F C3 F3 78 */ mr r3, r30 +/* 8030DF68 0030AEC8 48 00 79 C9 */ bl Free__7CMemoryFPCv +lbl_8030DF6C: +/* 8030DF6C 0030AECC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030DF70 0030AED0 7F C3 F3 78 */ mr r3, r30 +/* 8030DF74 0030AED4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8030DF78 0030AED8 83 C1 00 08 */ lwz r30, 8(r1) +/* 8030DF7C 0030AEDC 7C 08 03 A6 */ mtlr r0 +/* 8030DF80 0030AEE0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030DF84 0030AEE4 4E 80 00 20 */ blr + +.global __ct__16CGraphicsPaletteFR12CInputStream +__ct__16CGraphicsPaletteFR12CInputStream: +/* 8030DF88 0030AEE8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8030DF8C 0030AEEC 7C 08 02 A6 */ mflr r0 +/* 8030DF90 0030AEF0 90 01 00 24 */ stw r0, 0x24(r1) +/* 8030DF94 0030AEF4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8030DF98 0030AEF8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8030DF9C 0030AEFC 7C 9E 23 78 */ mr r30, r4 +/* 8030DFA0 0030AF00 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8030DFA4 0030AF04 7C 7D 1B 78 */ mr r29, r3 +/* 8030DFA8 0030AF08 7F C3 F3 78 */ mr r3, r30 +/* 8030DFAC 0030AF0C 48 03 0C D9 */ bl ReadLong__12CInputStreamFv +/* 8030DFB0 0030AF10 90 7D 00 00 */ stw r3, 0(r29) +/* 8030DFB4 0030AF14 7F C3 F3 78 */ mr r3, r30 +/* 8030DFB8 0030AF18 48 03 0C F9 */ bl ReadShort__12CInputStreamFv +/* 8030DFBC 0030AF1C 7C 7F 07 34 */ extsh r31, r3 +/* 8030DFC0 0030AF20 7F C3 F3 78 */ mr r3, r30 +/* 8030DFC4 0030AF24 48 03 0C ED */ bl ReadShort__12CInputStreamFv +/* 8030DFC8 0030AF28 7C 60 07 34 */ extsh r0, r3 +/* 8030DFCC 0030AF2C 3C 80 80 3D */ lis r4, lbl_803D73E8@ha +/* 8030DFD0 0030AF30 7C 00 F9 D6 */ mullw r0, r0, r31 +/* 8030DFD4 0030AF34 3C 60 80 3D */ lis r3, lbl_803D6AA8@ha +/* 8030DFD8 0030AF38 38 A4 73 E8 */ addi r5, r4, lbl_803D73E8@l +/* 8030DFDC 0030AF3C 38 C3 6A A8 */ addi r6, r3, lbl_803D6AA8@l +/* 8030DFE0 0030AF40 38 61 00 08 */ addi r3, r1, 8 +/* 8030DFE4 0030AF44 38 80 FF FF */ li r4, -1 +/* 8030DFE8 0030AF48 90 1D 00 08 */ stw r0, 8(r29) +/* 8030DFEC 0030AF4C 4B FC 83 E9 */ bl __ct__10CCallStackFUiPCcPCc +/* 8030DFF0 0030AF50 80 1D 00 08 */ lwz r0, 8(r29) +/* 8030DFF4 0030AF54 7C 67 1B 78 */ mr r7, r3 +/* 8030DFF8 0030AF58 38 80 00 02 */ li r4, 2 +/* 8030DFFC 0030AF5C 38 A0 00 01 */ li r5, 1 +/* 8030E000 0030AF60 54 03 08 3C */ slwi r3, r0, 1 +/* 8030E004 0030AF64 38 C0 00 00 */ li r6, 0 +/* 8030E008 0030AF68 48 00 79 8D */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 8030E00C 0030AF6C 90 7D 00 0C */ stw r3, 0xc(r29) +/* 8030E010 0030AF70 38 00 00 00 */ li r0, 0 +/* 8030E014 0030AF74 7F C3 F3 78 */ mr r3, r30 +/* 8030E018 0030AF78 98 1D 00 1C */ stb r0, 0x1c(r29) +/* 8030E01C 0030AF7C 80 1D 00 08 */ lwz r0, 8(r29) +/* 8030E020 0030AF80 80 9D 00 0C */ lwz r4, 0xc(r29) +/* 8030E024 0030AF84 54 05 08 3C */ slwi r5, r0, 1 +/* 8030E028 0030AF88 48 03 0F 2D */ bl Get__12CInputStreamFPvUl +/* 8030E02C 0030AF8C 80 1D 00 08 */ lwz r0, 8(r29) +/* 8030E030 0030AF90 38 7D 00 10 */ addi r3, r29, 0x10 +/* 8030E034 0030AF94 80 BD 00 00 */ lwz r5, 0(r29) +/* 8030E038 0030AF98 80 9D 00 0C */ lwz r4, 0xc(r29) +/* 8030E03C 0030AF9C 54 06 04 3E */ clrlwi r6, r0, 0x10 +/* 8030E040 0030AFA0 48 06 C4 A9 */ bl GXInitTlutObj +/* 8030E044 0030AFA4 80 1D 00 08 */ lwz r0, 8(r29) +/* 8030E048 0030AFA8 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 8030E04C 0030AFAC 54 04 08 3C */ slwi r4, r0, 1 +/* 8030E050 0030AFB0 48 07 0A 61 */ bl DCFlushRange +/* 8030E054 0030AFB4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8030E058 0030AFB8 7F A3 EB 78 */ mr r3, r29 +/* 8030E05C 0030AFBC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8030E060 0030AFC0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8030E064 0030AFC4 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8030E068 0030AFC8 7C 08 03 A6 */ mtlr r0 +/* 8030E06C 0030AFCC 38 21 00 20 */ addi r1, r1, 0x20 +/* 8030E070 0030AFD0 4E 80 00 20 */ blr + +.global __ct__16CGraphicsPaletteF14EPaletteFormati +__ct__16CGraphicsPaletteF14EPaletteFormati: +/* 8030E074 0030AFD4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8030E078 0030AFD8 7C 08 02 A6 */ mflr r0 +/* 8030E07C 0030AFDC 3C C0 80 3D */ lis r6, lbl_803D73E8@ha +/* 8030E080 0030AFE0 90 01 00 24 */ stw r0, 0x24(r1) +/* 8030E084 0030AFE4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8030E088 0030AFE8 7C BF 2B 78 */ mr r31, r5 +/* 8030E08C 0030AFEC 38 A6 73 E8 */ addi r5, r6, lbl_803D73E8@l +/* 8030E090 0030AFF0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8030E094 0030AFF4 7C 7E 1B 78 */ mr r30, r3 +/* 8030E098 0030AFF8 90 83 00 00 */ stw r4, 0(r3) +/* 8030E09C 0030AFFC 3C 60 80 3D */ lis r3, lbl_803D6AA8@ha +/* 8030E0A0 0030B000 38 C3 6A A8 */ addi r6, r3, lbl_803D6AA8@l +/* 8030E0A4 0030B004 38 80 FF FF */ li r4, -1 +/* 8030E0A8 0030B008 93 FE 00 08 */ stw r31, 8(r30) +/* 8030E0AC 0030B00C 38 61 00 08 */ addi r3, r1, 8 +/* 8030E0B0 0030B010 4B FC 83 25 */ bl __ct__10CCallStackFUiPCcPCc +/* 8030E0B4 0030B014 7C 67 1B 78 */ mr r7, r3 +/* 8030E0B8 0030B018 57 E3 08 3C */ slwi r3, r31, 1 +/* 8030E0BC 0030B01C 38 80 00 02 */ li r4, 2 +/* 8030E0C0 0030B020 38 A0 00 01 */ li r5, 1 +/* 8030E0C4 0030B024 38 C0 00 00 */ li r6, 0 +/* 8030E0C8 0030B028 48 00 78 CD */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 8030E0CC 0030B02C 90 7E 00 0C */ stw r3, 0xc(r30) +/* 8030E0D0 0030B030 38 00 00 00 */ li r0, 0 +/* 8030E0D4 0030B034 38 7E 00 10 */ addi r3, r30, 0x10 +/* 8030E0D8 0030B038 98 1E 00 1C */ stb r0, 0x1c(r30) +/* 8030E0DC 0030B03C 80 1E 00 08 */ lwz r0, 8(r30) +/* 8030E0E0 0030B040 80 BE 00 00 */ lwz r5, 0(r30) +/* 8030E0E4 0030B044 80 9E 00 0C */ lwz r4, 0xc(r30) +/* 8030E0E8 0030B048 54 06 04 3E */ clrlwi r6, r0, 0x10 +/* 8030E0EC 0030B04C 48 06 C3 FD */ bl GXInitTlutObj +/* 8030E0F0 0030B050 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8030E0F4 0030B054 7F C3 F3 78 */ mr r3, r30 +/* 8030E0F8 0030B058 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8030E0FC 0030B05C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8030E100 0030B060 7C 08 03 A6 */ mtlr r0 +/* 8030E104 0030B064 38 21 00 20 */ addi r1, r1, 0x20 +/* 8030E108 0030B068 4E 80 00 20 */ blr diff --git a/asm/Kyoto/Graphics/DolphinCTexture.s b/asm/Kyoto/Graphics/DolphinCTexture.s new file mode 100644 index 00000000..d7440fc0 --- /dev/null +++ b/asm/Kyoto/Graphics/DolphinCTexture.s @@ -0,0 +1,2142 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global sub_8030e10c +sub_8030e10c: +/* 8030E10C 0030B06C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030E110 0030B070 7C 08 02 A6 */ mflr r0 +/* 8030E114 0030B074 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030E118 0030B078 80 03 00 44 */ lwz r0, 0x44(r3) +/* 8030E11C 0030B07C 2C 00 00 06 */ cmpwi r0, 6 +/* 8030E120 0030B080 41 82 00 18 */ beq lbl_8030E138 +/* 8030E124 0030B084 38 63 00 44 */ addi r3, r3, 0x44 +/* 8030E128 0030B088 48 04 A2 AD */ bl sub_803583d4 +/* 8030E12C 0030B08C 7C 64 1B 78 */ mr r4, r3 +/* 8030E130 0030B090 38 60 00 01 */ li r3, 1 +/* 8030E134 0030B094 48 05 EA E9 */ bl sub_8036cc1c +lbl_8030E138: +/* 8030E138 0030B098 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030E13C 0030B09C 7C 08 03 A6 */ mtlr r0 +/* 8030E140 0030B0A0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030E144 0030B0A4 4E 80 00 20 */ blr + +.global InvalidateTexmap__8CTextureF11_GXTexMapID +InvalidateTexmap__8CTextureF11_GXTexMapID: +/* 8030E148 0030B0A8 3C 80 80 4C */ lis r4, lbl_804BFD10@ha +/* 8030E14C 0030B0AC 54 60 10 3A */ slwi r0, r3, 2 +/* 8030E150 0030B0B0 38 64 FD 10 */ addi r3, r4, lbl_804BFD10@l +/* 8030E154 0030B0B4 38 80 00 00 */ li r4, 0 +/* 8030E158 0030B0B8 7C 83 01 2E */ stwx r4, r3, r0 +/* 8030E15C 0030B0BC 4E 80 00 20 */ blr + +.global UncountMemory__8CTextureCFv +UncountMemory__8CTextureCFv: +/* 8030E160 0030B0C0 88 83 00 0A */ lbz r4, 0xa(r3) +/* 8030E164 0030B0C4 54 80 EF FF */ rlwinm. r0, r4, 0x1d, 0x1f, 0x1f +/* 8030E168 0030B0C8 4D 82 00 20 */ beqlr +/* 8030E16C 0030B0CC 38 00 00 00 */ li r0, 0 +/* 8030E170 0030B0D0 50 04 1F 38 */ rlwimi r4, r0, 3, 0x1c, 0x1c +/* 8030E174 0030B0D4 80 0D A8 74 */ lwz r0, lbl_805A9434@sda21(r13) +/* 8030E178 0030B0D8 98 83 00 0A */ stb r4, 0xa(r3) +/* 8030E17C 0030B0DC 80 63 00 0C */ lwz r3, 0xc(r3) +/* 8030E180 0030B0E0 7C 03 00 50 */ subf r0, r3, r0 +/* 8030E184 0030B0E4 90 0D A8 74 */ stw r0, lbl_805A9434@sda21(r13) +/* 8030E188 0030B0E8 4E 80 00 20 */ blr + +.global CountMemory__8CTextureCFv +CountMemory__8CTextureCFv: +/* 8030E18C 0030B0EC 88 A3 00 0A */ lbz r5, 0xa(r3) +/* 8030E190 0030B0F0 54 A0 EF FF */ rlwinm. r0, r5, 0x1d, 0x1f, 0x1f +/* 8030E194 0030B0F4 4C 82 00 20 */ bnelr +/* 8030E198 0030B0F8 38 00 00 01 */ li r0, 1 +/* 8030E19C 0030B0FC 80 8D A8 74 */ lwz r4, lbl_805A9434@sda21(r13) +/* 8030E1A0 0030B100 50 05 1F 38 */ rlwimi r5, r0, 3, 0x1c, 0x1c +/* 8030E1A4 0030B104 98 A3 00 0A */ stb r5, 0xa(r3) +/* 8030E1A8 0030B108 80 03 00 0C */ lwz r0, 0xc(r3) +/* 8030E1AC 0030B10C 7C 04 02 14 */ add r0, r4, r0 +/* 8030E1B0 0030B110 90 0D A8 74 */ stw r0, lbl_805A9434@sda21(r13) +/* 8030E1B4 0030B114 4E 80 00 20 */ blr + +.global MakeSwappable__8CTextureCFv +MakeSwappable__8CTextureCFv: +/* 8030E1B8 0030B118 88 83 00 0A */ lbz r4, 0xa(r3) +/* 8030E1BC 0030B11C 54 80 E7 FF */ rlwinm. r0, r4, 0x1c, 0x1f, 0x1f +/* 8030E1C0 0030B120 4D 82 00 20 */ beqlr +/* 8030E1C4 0030B124 38 00 00 00 */ li r0, 0 +/* 8030E1C8 0030B128 50 04 26 F6 */ rlwimi r4, r0, 4, 0x1b, 0x1b +/* 8030E1CC 0030B12C 98 83 00 0A */ stb r4, 0xa(r3) +/* 8030E1D0 0030B130 4E 80 00 20 */ blr + +.global MangleMipmap__8CTextureFi +MangleMipmap__8CTextureFi: +/* 8030E1D4 0030B134 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 8030E1D8 0030B138 7C 08 02 A6 */ mflr r0 +/* 8030E1DC 0030B13C 90 01 00 54 */ stw r0, 0x54(r1) +/* 8030E1E0 0030B140 BE 81 00 20 */ stmw r20, 0x20(r1) +/* 8030E1E4 0030B144 88 03 00 08 */ lbz r0, 8(r3) +/* 8030E1E8 0030B148 7C 00 07 74 */ extsb r0, r0 +/* 8030E1EC 0030B14C 7C 04 00 00 */ cmpw r4, r0 +/* 8030E1F0 0030B150 40 80 03 D0 */ bge lbl_8030E5C0 +/* 8030E1F4 0030B154 3C A0 80 3D */ lis r5, lbl_803D73F0@ha +/* 8030E1F8 0030B158 38 04 FF FF */ addi r0, r4, -1 +/* 8030E1FC 0030B15C 38 C5 73 F0 */ addi r6, r5, lbl_803D73F0@l +/* 8030E200 0030B160 2C 04 00 00 */ cmpwi r4, 0 +/* 8030E204 0030B164 81 26 00 00 */ lwz r9, 0(r6) +/* 8030E208 0030B168 38 A1 00 08 */ addi r5, r1, 8 +/* 8030E20C 0030B16C 81 06 00 04 */ lwz r8, 4(r6) +/* 8030E210 0030B170 54 00 17 3A */ rlwinm r0, r0, 2, 0x1c, 0x1d +/* 8030E214 0030B174 80 E6 00 08 */ lwz r7, 8(r6) +/* 8030E218 0030B178 3B A0 00 00 */ li r29, 0 +/* 8030E21C 0030B17C 80 C6 00 0C */ lwz r6, 0xc(r6) +/* 8030E220 0030B180 3B 00 00 00 */ li r24, 0 +/* 8030E224 0030B184 91 21 00 08 */ stw r9, 8(r1) +/* 8030E228 0030B188 AB E3 00 04 */ lha r31, 4(r3) +/* 8030E22C 0030B18C 91 01 00 0C */ stw r8, 0xc(r1) +/* 8030E230 0030B190 AB C3 00 06 */ lha r30, 6(r3) +/* 8030E234 0030B194 90 E1 00 10 */ stw r7, 0x10(r1) +/* 8030E238 0030B198 90 C1 00 14 */ stw r6, 0x14(r1) +/* 8030E23C 0030B19C 7C E5 00 2E */ lwzx r7, r5, r0 +/* 8030E240 0030B1A0 54 E6 EE FE */ rlwinm r6, r7, 0x1d, 0x1b, 0x1f +/* 8030E244 0030B1A4 54 E5 DD 74 */ rlwinm r5, r7, 0x1b, 0x15, 0x1a +/* 8030E248 0030B1A8 54 E0 C6 36 */ rlwinm r0, r7, 0x18, 0x18, 0x1b +/* 8030E24C 0030B1AC 50 E5 EE FE */ rlwimi r5, r7, 0x1d, 0x1b, 0x1f +/* 8030E250 0030B1B0 50 E6 D5 B4 */ rlwimi r6, r7, 0x1a, 0x16, 0x1a +/* 8030E254 0030B1B4 50 E0 E7 3E */ rlwimi r0, r7, 0x1c, 0x1c, 0x1f +/* 8030E258 0030B1B8 50 E5 C4 28 */ rlwimi r5, r7, 0x18, 0x10, 0x14 +/* 8030E25C 0030B1BC 50 E6 BC 6A */ rlwimi r6, r7, 0x17, 0x11, 0x15 +/* 8030E260 0030B1C0 50 E0 A5 2E */ rlwimi r0, r7, 0x14, 0x14, 0x17 +/* 8030E264 0030B1C4 54 BB 04 3E */ clrlwi r27, r5, 0x10 +/* 8030E268 0030B1C8 54 DA 04 3E */ clrlwi r26, r6, 0x10 +/* 8030E26C 0030B1CC 54 19 04 3E */ clrlwi r25, r0, 0x10 +/* 8030E270 0030B1D0 40 81 01 28 */ ble lbl_8030E398 +/* 8030E274 0030B1D4 2C 04 00 08 */ cmpwi r4, 8 +/* 8030E278 0030B1D8 38 A4 FF F8 */ addi r5, r4, -8 +/* 8030E27C 0030B1DC 40 81 00 E8 */ ble lbl_8030E364 +/* 8030E280 0030B1E0 38 05 00 07 */ addi r0, r5, 7 +/* 8030E284 0030B1E4 54 00 E8 FE */ srwi r0, r0, 3 +/* 8030E288 0030B1E8 7C 09 03 A6 */ mtctr r0 +/* 8030E28C 0030B1EC 2C 05 00 00 */ cmpwi r5, 0 +/* 8030E290 0030B1F0 40 81 00 D4 */ ble lbl_8030E364 +lbl_8030E294: +/* 8030E294 0030B1F4 57 E5 0F FE */ srwi r5, r31, 0x1f +/* 8030E298 0030B1F8 57 C0 0F FE */ srwi r0, r30, 0x1f +/* 8030E29C 0030B1FC 7C A5 FA 14 */ add r5, r5, r31 +/* 8030E2A0 0030B200 3B 18 00 08 */ addi r24, r24, 8 +/* 8030E2A4 0030B204 7C BC 0E 70 */ srawi r28, r5, 1 +/* 8030E2A8 0030B208 7C 00 F2 14 */ add r0, r0, r30 +/* 8030E2AC 0030B20C 7C 0C 0E 70 */ srawi r12, r0, 1 +/* 8030E2B0 0030B210 7F E0 16 70 */ srawi r0, r31, 2 +/* 8030E2B4 0030B214 7D 60 01 94 */ addze r11, r0 +/* 8030E2B8 0030B218 7F C0 16 70 */ srawi r0, r30, 2 +/* 8030E2BC 0030B21C 7D 40 01 94 */ addze r10, r0 +/* 8030E2C0 0030B220 7F E0 1E 70 */ srawi r0, r31, 3 +/* 8030E2C4 0030B224 7D 20 01 94 */ addze r9, r0 +/* 8030E2C8 0030B228 7F C0 1E 70 */ srawi r0, r30, 3 +/* 8030E2CC 0030B22C 7D 00 01 94 */ addze r8, r0 +/* 8030E2D0 0030B230 7F E0 26 70 */ srawi r0, r31, 4 +/* 8030E2D4 0030B234 7C E0 01 94 */ addze r7, r0 +/* 8030E2D8 0030B238 7F C0 26 70 */ srawi r0, r30, 4 +/* 8030E2DC 0030B23C 7C C0 01 94 */ addze r6, r0 +/* 8030E2E0 0030B240 7E 9F F1 D6 */ mullw r20, r31, r30 +/* 8030E2E4 0030B244 7F E0 2E 70 */ srawi r0, r31, 5 +/* 8030E2E8 0030B248 7C A0 01 94 */ addze r5, r0 +/* 8030E2EC 0030B24C 7F C0 2E 70 */ srawi r0, r30, 5 +/* 8030E2F0 0030B250 7C 00 01 94 */ addze r0, r0 +/* 8030E2F4 0030B254 7F BD A2 14 */ add r29, r29, r20 +/* 8030E2F8 0030B258 7F F5 36 70 */ srawi r21, r31, 6 +/* 8030E2FC 0030B25C 7E 9C 61 D6 */ mullw r20, r28, r12 +/* 8030E300 0030B260 7E B5 01 94 */ addze r21, r21 +/* 8030E304 0030B264 7F D6 36 70 */ srawi r22, r30, 6 +/* 8030E308 0030B268 7E D6 01 94 */ addze r22, r22 +/* 8030E30C 0030B26C 7C 05 01 D6 */ mullw r0, r5, r0 +/* 8030E310 0030B270 7F F7 3E 70 */ srawi r23, r31, 7 +/* 8030E314 0030B274 7F BD A2 14 */ add r29, r29, r20 +/* 8030E318 0030B278 7E F7 01 94 */ addze r23, r23 +/* 8030E31C 0030B27C 7F CC 3E 70 */ srawi r12, r30, 7 +/* 8030E320 0030B280 7D 4B 51 D6 */ mullw r10, r11, r10 +/* 8030E324 0030B284 7F 8C 01 94 */ addze r28, r12 +/* 8030E328 0030B288 7F EC 46 70 */ srawi r12, r31, 8 +/* 8030E32C 0030B28C 7F EC 01 94 */ addze r31, r12 +/* 8030E330 0030B290 7F CC 46 70 */ srawi r12, r30, 8 +/* 8030E334 0030B294 7D 09 41 D6 */ mullw r8, r9, r8 +/* 8030E338 0030B298 7F BD 52 14 */ add r29, r29, r10 +/* 8030E33C 0030B29C 7F CC 01 94 */ addze r30, r12 +/* 8030E340 0030B2A0 7C C7 31 D6 */ mullw r6, r7, r6 +/* 8030E344 0030B2A4 7F BD 42 14 */ add r29, r29, r8 +/* 8030E348 0030B2A8 7F BD 32 14 */ add r29, r29, r6 +/* 8030E34C 0030B2AC 7F BD 02 14 */ add r29, r29, r0 +/* 8030E350 0030B2B0 7C B5 B1 D6 */ mullw r5, r21, r22 +/* 8030E354 0030B2B4 7C 17 E1 D6 */ mullw r0, r23, r28 +/* 8030E358 0030B2B8 7F BD 2A 14 */ add r29, r29, r5 +/* 8030E35C 0030B2BC 7F BD 02 14 */ add r29, r29, r0 +/* 8030E360 0030B2C0 42 00 FF 34 */ bdnz lbl_8030E294 +lbl_8030E364: +/* 8030E364 0030B2C4 7C 18 20 50 */ subf r0, r24, r4 +/* 8030E368 0030B2C8 7C 09 03 A6 */ mtctr r0 +/* 8030E36C 0030B2CC 7C 18 20 00 */ cmpw r24, r4 +/* 8030E370 0030B2D0 40 80 00 28 */ bge lbl_8030E398 +lbl_8030E374: +/* 8030E374 0030B2D4 7C BF F1 D6 */ mullw r5, r31, r30 +/* 8030E378 0030B2D8 57 E4 0F FE */ srwi r4, r31, 0x1f +/* 8030E37C 0030B2DC 57 C0 0F FE */ srwi r0, r30, 0x1f +/* 8030E380 0030B2E0 7C 84 FA 14 */ add r4, r4, r31 +/* 8030E384 0030B2E4 7C 00 F2 14 */ add r0, r0, r30 +/* 8030E388 0030B2E8 7C 9F 0E 70 */ srawi r31, r4, 1 +/* 8030E38C 0030B2EC 7F BD 2A 14 */ add r29, r29, r5 +/* 8030E390 0030B2F0 7C 1E 0E 70 */ srawi r30, r0, 1 +/* 8030E394 0030B2F4 42 00 FF E0 */ bdnz lbl_8030E374 +lbl_8030E398: +/* 8030E398 0030B2F8 80 03 00 00 */ lwz r0, 0(r3) +/* 8030E39C 0030B2FC 2C 00 00 09 */ cmpwi r0, 9 +/* 8030E3A0 0030B300 41 82 02 20 */ beq lbl_8030E5C0 +/* 8030E3A4 0030B304 40 80 00 14 */ bge lbl_8030E3B8 +/* 8030E3A8 0030B308 2C 00 00 07 */ cmpwi r0, 7 +/* 8030E3AC 0030B30C 41 82 00 18 */ beq lbl_8030E3C4 +/* 8030E3B0 0030B310 40 80 01 C4 */ bge lbl_8030E574 +/* 8030E3B4 0030B314 48 00 02 0C */ b lbl_8030E5C0 +lbl_8030E3B8: +/* 8030E3B8 0030B318 2C 00 00 0B */ cmpwi r0, 0xb +/* 8030E3BC 0030B31C 40 80 02 04 */ bge lbl_8030E5C0 +/* 8030E3C0 0030B320 48 00 00 C8 */ b lbl_8030E488 +lbl_8030E3C4: +/* 8030E3C4 0030B324 38 63 00 44 */ addi r3, r3, 0x44 +/* 8030E3C8 0030B328 48 04 9F 6D */ bl GetMRAMSafe__10CARAMTokenFv +/* 8030E3CC 0030B32C 7D 1F F1 D7 */ mullw. r8, r31, r30 +/* 8030E3D0 0030B330 39 20 00 00 */ li r9, 0 +/* 8030E3D4 0030B334 40 81 01 EC */ ble lbl_8030E5C0 +/* 8030E3D8 0030B338 2C 08 00 08 */ cmpwi r8, 8 +/* 8030E3DC 0030B33C 38 88 FF F8 */ addi r4, r8, -8 +/* 8030E3E0 0030B340 40 81 00 80 */ ble lbl_8030E460 +/* 8030E3E4 0030B344 38 04 00 07 */ addi r0, r4, 7 +/* 8030E3E8 0030B348 54 00 E8 FE */ srwi r0, r0, 3 +/* 8030E3EC 0030B34C 7C 09 03 A6 */ mtctr r0 +/* 8030E3F0 0030B350 2C 04 00 00 */ cmpwi r4, 0 +/* 8030E3F4 0030B354 40 81 00 6C */ ble lbl_8030E460 +lbl_8030E3F8: +/* 8030E3F8 0030B358 7C E9 EA 14 */ add r7, r9, r29 +/* 8030E3FC 0030B35C 39 29 00 08 */ addi r9, r9, 8 +/* 8030E400 0030B360 54 E4 08 3C */ slwi r4, r7, 1 +/* 8030E404 0030B364 38 07 00 01 */ addi r0, r7, 1 +/* 8030E408 0030B368 7F 63 23 2E */ sthx r27, r3, r4 +/* 8030E40C 0030B36C 54 04 08 3C */ slwi r4, r0, 1 +/* 8030E410 0030B370 38 07 00 02 */ addi r0, r7, 2 +/* 8030E414 0030B374 7F 63 23 2E */ sthx r27, r3, r4 +/* 8030E418 0030B378 54 05 08 3C */ slwi r5, r0, 1 +/* 8030E41C 0030B37C 38 87 00 03 */ addi r4, r7, 3 +/* 8030E420 0030B380 7F 63 2B 2E */ sthx r27, r3, r5 +/* 8030E424 0030B384 54 86 08 3C */ slwi r6, r4, 1 +/* 8030E428 0030B388 38 A7 00 05 */ addi r5, r7, 5 +/* 8030E42C 0030B38C 38 87 00 06 */ addi r4, r7, 6 +/* 8030E430 0030B390 38 07 00 04 */ addi r0, r7, 4 +/* 8030E434 0030B394 7F 63 33 2E */ sthx r27, r3, r6 +/* 8030E438 0030B398 54 06 08 3C */ slwi r6, r0, 1 +/* 8030E43C 0030B39C 54 A5 08 3C */ slwi r5, r5, 1 +/* 8030E440 0030B3A0 7F 63 33 2E */ sthx r27, r3, r6 +/* 8030E444 0030B3A4 38 07 00 07 */ addi r0, r7, 7 +/* 8030E448 0030B3A8 54 84 08 3C */ slwi r4, r4, 1 +/* 8030E44C 0030B3AC 7F 63 2B 2E */ sthx r27, r3, r5 +/* 8030E450 0030B3B0 54 00 08 3C */ slwi r0, r0, 1 +/* 8030E454 0030B3B4 7F 63 23 2E */ sthx r27, r3, r4 +/* 8030E458 0030B3B8 7F 63 03 2E */ sthx r27, r3, r0 +/* 8030E45C 0030B3BC 42 00 FF 9C */ bdnz lbl_8030E3F8 +lbl_8030E460: +/* 8030E460 0030B3C0 7C 09 40 50 */ subf r0, r9, r8 +/* 8030E464 0030B3C4 7C 09 03 A6 */ mtctr r0 +/* 8030E468 0030B3C8 7C 09 40 00 */ cmpw r9, r8 +/* 8030E46C 0030B3CC 40 80 01 54 */ bge lbl_8030E5C0 +lbl_8030E470: +/* 8030E470 0030B3D0 7C 09 EA 14 */ add r0, r9, r29 +/* 8030E474 0030B3D4 39 29 00 01 */ addi r9, r9, 1 +/* 8030E478 0030B3D8 54 00 08 3C */ slwi r0, r0, 1 +/* 8030E47C 0030B3DC 7F 63 03 2E */ sthx r27, r3, r0 +/* 8030E480 0030B3E0 42 00 FF F0 */ bdnz lbl_8030E470 +/* 8030E484 0030B3E4 48 00 01 3C */ b lbl_8030E5C0 +lbl_8030E488: +/* 8030E488 0030B3E8 38 63 00 44 */ addi r3, r3, 0x44 +/* 8030E48C 0030B3EC 48 04 9E A9 */ bl GetMRAMSafe__10CARAMTokenFv +/* 8030E490 0030B3F0 7C 1F F1 D6 */ mullw r0, r31, r30 +/* 8030E494 0030B3F4 7F A5 16 70 */ srawi r5, r29, 2 +/* 8030E498 0030B3F8 38 80 00 00 */ li r4, 0 +/* 8030E49C 0030B3FC 7C A5 01 94 */ addze r5, r5 +/* 8030E4A0 0030B400 54 A5 08 3C */ slwi r5, r5, 1 +/* 8030E4A4 0030B404 7C 00 26 70 */ srawi r0, r0, 4 +/* 8030E4A8 0030B408 7C 00 01 95 */ addze. r0, r0 +/* 8030E4AC 0030B40C 7C A3 2A 14 */ add r5, r3, r5 +/* 8030E4B0 0030B410 7C 03 03 78 */ mr r3, r0 +/* 8030E4B4 0030B414 40 81 01 0C */ ble lbl_8030E5C0 +/* 8030E4B8 0030B418 54 00 E8 FF */ rlwinm. r0, r0, 0x1d, 3, 0x1f +/* 8030E4BC 0030B41C 7C 09 03 A6 */ mtctr r0 +/* 8030E4C0 0030B420 41 82 00 94 */ beq lbl_8030E554 +lbl_8030E4C4: +/* 8030E4C4 0030B424 B3 65 00 00 */ sth r27, 0(r5) +/* 8030E4C8 0030B428 B3 65 00 02 */ sth r27, 2(r5) +/* 8030E4CC 0030B42C B0 85 00 04 */ sth r4, 4(r5) +/* 8030E4D0 0030B430 B0 85 00 06 */ sth r4, 6(r5) +/* 8030E4D4 0030B434 B3 65 00 08 */ sth r27, 8(r5) +/* 8030E4D8 0030B438 B3 65 00 0A */ sth r27, 0xa(r5) +/* 8030E4DC 0030B43C B0 85 00 0C */ sth r4, 0xc(r5) +/* 8030E4E0 0030B440 B0 85 00 0E */ sth r4, 0xe(r5) +/* 8030E4E4 0030B444 B3 65 00 10 */ sth r27, 0x10(r5) +/* 8030E4E8 0030B448 B3 65 00 12 */ sth r27, 0x12(r5) +/* 8030E4EC 0030B44C B0 85 00 14 */ sth r4, 0x14(r5) +/* 8030E4F0 0030B450 B0 85 00 16 */ sth r4, 0x16(r5) +/* 8030E4F4 0030B454 B3 65 00 18 */ sth r27, 0x18(r5) +/* 8030E4F8 0030B458 B3 65 00 1A */ sth r27, 0x1a(r5) +/* 8030E4FC 0030B45C B0 85 00 1C */ sth r4, 0x1c(r5) +/* 8030E500 0030B460 B0 85 00 1E */ sth r4, 0x1e(r5) +/* 8030E504 0030B464 B3 65 00 20 */ sth r27, 0x20(r5) +/* 8030E508 0030B468 B3 65 00 22 */ sth r27, 0x22(r5) +/* 8030E50C 0030B46C B0 85 00 24 */ sth r4, 0x24(r5) +/* 8030E510 0030B470 B0 85 00 26 */ sth r4, 0x26(r5) +/* 8030E514 0030B474 B3 65 00 28 */ sth r27, 0x28(r5) +/* 8030E518 0030B478 B3 65 00 2A */ sth r27, 0x2a(r5) +/* 8030E51C 0030B47C B0 85 00 2C */ sth r4, 0x2c(r5) +/* 8030E520 0030B480 B0 85 00 2E */ sth r4, 0x2e(r5) +/* 8030E524 0030B484 B3 65 00 30 */ sth r27, 0x30(r5) +/* 8030E528 0030B488 B3 65 00 32 */ sth r27, 0x32(r5) +/* 8030E52C 0030B48C B0 85 00 34 */ sth r4, 0x34(r5) +/* 8030E530 0030B490 B0 85 00 36 */ sth r4, 0x36(r5) +/* 8030E534 0030B494 B3 65 00 38 */ sth r27, 0x38(r5) +/* 8030E538 0030B498 B3 65 00 3A */ sth r27, 0x3a(r5) +/* 8030E53C 0030B49C B0 85 00 3C */ sth r4, 0x3c(r5) +/* 8030E540 0030B4A0 B0 85 00 3E */ sth r4, 0x3e(r5) +/* 8030E544 0030B4A4 38 A5 00 40 */ addi r5, r5, 0x40 +/* 8030E548 0030B4A8 42 00 FF 7C */ bdnz lbl_8030E4C4 +/* 8030E54C 0030B4AC 70 63 00 07 */ andi. r3, r3, 7 +/* 8030E550 0030B4B0 41 82 00 70 */ beq lbl_8030E5C0 +lbl_8030E554: +/* 8030E554 0030B4B4 7C 69 03 A6 */ mtctr r3 +lbl_8030E558: +/* 8030E558 0030B4B8 B3 65 00 00 */ sth r27, 0(r5) +/* 8030E55C 0030B4BC B3 65 00 02 */ sth r27, 2(r5) +/* 8030E560 0030B4C0 B0 85 00 04 */ sth r4, 4(r5) +/* 8030E564 0030B4C4 B0 85 00 06 */ sth r4, 6(r5) +/* 8030E568 0030B4C8 38 A5 00 08 */ addi r5, r5, 8 +/* 8030E56C 0030B4CC 42 00 FF EC */ bdnz lbl_8030E558 +/* 8030E570 0030B4D0 48 00 00 50 */ b lbl_8030E5C0 +lbl_8030E574: +/* 8030E574 0030B4D4 38 63 00 44 */ addi r3, r3, 0x44 +/* 8030E578 0030B4D8 48 04 9D BD */ bl GetMRAMSafe__10CARAMTokenFv +/* 8030E57C 0030B4DC 7C 1F F1 D7 */ mullw. r0, r31, r30 +/* 8030E580 0030B4E0 63 45 80 00 */ ori r5, r26, 0x8000 +/* 8030E584 0030B4E4 38 E0 00 00 */ li r7, 0 +/* 8030E588 0030B4E8 7C 09 03 A6 */ mtctr r0 +/* 8030E58C 0030B4EC 40 81 00 34 */ ble lbl_8030E5C0 +lbl_8030E590: +/* 8030E590 0030B4F0 7C 07 EA 14 */ add r0, r7, r29 +/* 8030E594 0030B4F4 54 04 08 3C */ slwi r4, r0, 1 +/* 8030E598 0030B4F8 7C C3 22 2E */ lhzx r6, r3, r4 +/* 8030E59C 0030B4FC 54 C0 04 21 */ rlwinm. r0, r6, 0, 0x10, 0x10 +/* 8030E5A0 0030B500 41 82 00 0C */ beq lbl_8030E5AC +/* 8030E5A4 0030B504 7C A3 23 2E */ sthx r5, r3, r4 +/* 8030E5A8 0030B508 48 00 00 10 */ b lbl_8030E5B8 +lbl_8030E5AC: +/* 8030E5AC 0030B50C 54 C0 04 26 */ rlwinm r0, r6, 0, 0x10, 0x13 +/* 8030E5B0 0030B510 7C 00 CB 78 */ or r0, r0, r25 +/* 8030E5B4 0030B514 7C 03 23 2E */ sthx r0, r3, r4 +lbl_8030E5B8: +/* 8030E5B8 0030B518 38 E7 00 01 */ addi r7, r7, 1 +/* 8030E5BC 0030B51C 42 00 FF D4 */ bdnz lbl_8030E590 +lbl_8030E5C0: +/* 8030E5C0 0030B520 BA 81 00 20 */ lmw r20, 0x20(r1) +/* 8030E5C4 0030B524 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8030E5C8 0030B528 7C 08 03 A6 */ mtlr r0 +/* 8030E5CC 0030B52C 38 21 00 50 */ addi r1, r1, 0x50 +/* 8030E5D0 0030B530 4E 80 00 20 */ blr + +.global GetBitMapData__8CTextureFi +GetBitMapData__8CTextureFi: +/* 8030E5D4 0030B534 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030E5D8 0030B538 7C 08 02 A6 */ mflr r0 +/* 8030E5DC 0030B53C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030E5E0 0030B540 48 00 00 15 */ bl GetConstBitMapData__8CTextureCFi +/* 8030E5E4 0030B544 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030E5E8 0030B548 7C 08 03 A6 */ mtlr r0 +/* 8030E5EC 0030B54C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030E5F0 0030B550 4E 80 00 20 */ blr + +.global GetConstBitMapData__8CTextureCFi +GetConstBitMapData__8CTextureCFi: +/* 8030E5F4 0030B554 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8030E5F8 0030B558 7C 08 02 A6 */ mflr r0 +/* 8030E5FC 0030B55C 2C 04 00 00 */ cmpwi r4, 0 +/* 8030E600 0030B560 39 00 00 00 */ li r8, 0 +/* 8030E604 0030B564 90 01 00 44 */ stw r0, 0x44(r1) +/* 8030E608 0030B568 BE A1 00 14 */ stmw r21, 0x14(r1) +/* 8030E60C 0030B56C 3B E0 00 00 */ li r31, 0 +/* 8030E610 0030B570 40 81 01 3C */ ble lbl_8030E74C +/* 8030E614 0030B574 2C 04 00 08 */ cmpwi r4, 8 +/* 8030E618 0030B578 38 A4 FF F8 */ addi r5, r4, -8 +/* 8030E61C 0030B57C 40 81 00 F0 */ ble lbl_8030E70C +/* 8030E620 0030B580 38 05 00 07 */ addi r0, r5, 7 +/* 8030E624 0030B584 54 00 E8 FE */ srwi r0, r0, 3 +/* 8030E628 0030B588 7C 09 03 A6 */ mtctr r0 +/* 8030E62C 0030B58C 2C 05 00 00 */ cmpwi r5, 0 +/* 8030E630 0030B590 40 81 00 DC */ ble lbl_8030E70C +lbl_8030E634: +/* 8030E634 0030B594 88 03 00 09 */ lbz r0, 9(r3) +/* 8030E638 0030B598 39 28 00 01 */ addi r9, r8, 1 +/* 8030E63C 0030B59C A8 C3 00 04 */ lha r6, 4(r3) +/* 8030E640 0030B5A0 3B 28 00 02 */ addi r25, r8, 2 +/* 8030E644 0030B5A4 7C 00 07 74 */ extsb r0, r0 +/* 8030E648 0030B5A8 A8 A3 00 06 */ lha r5, 6(r3) +/* 8030E64C 0030B5AC 7C 07 1E 70 */ srawi r7, r0, 3 +/* 8030E650 0030B5B0 39 88 00 03 */ addi r12, r8, 3 +/* 8030E654 0030B5B4 7C D5 46 30 */ sraw r21, r6, r8 +/* 8030E658 0030B5B8 38 08 00 04 */ addi r0, r8, 4 +/* 8030E65C 0030B5BC 7C BE 46 30 */ sraw r30, r5, r8 +/* 8030E660 0030B5C0 39 68 00 05 */ addi r11, r8, 5 +/* 8030E664 0030B5C4 7C D6 4E 30 */ sraw r22, r6, r9 +/* 8030E668 0030B5C8 39 48 00 06 */ addi r10, r8, 6 +/* 8030E66C 0030B5CC 7C B7 4E 30 */ sraw r23, r5, r9 +/* 8030E670 0030B5D0 39 28 00 07 */ addi r9, r8, 7 +/* 8030E674 0030B5D4 7C D8 CE 30 */ sraw r24, r6, r25 +/* 8030E678 0030B5D8 39 08 00 08 */ addi r8, r8, 8 +/* 8030E67C 0030B5DC 7C B9 CE 30 */ sraw r25, r5, r25 +/* 8030E680 0030B5E0 7C DA 66 30 */ sraw r26, r6, r12 +/* 8030E684 0030B5E4 7C BB 66 30 */ sraw r27, r5, r12 +/* 8030E688 0030B5E8 7C DC 06 30 */ sraw r28, r6, r0 +/* 8030E68C 0030B5EC 7C BD 06 30 */ sraw r29, r5, r0 +/* 8030E690 0030B5F0 7C 15 F1 D6 */ mullw r0, r21, r30 +/* 8030E694 0030B5F4 7C DE 5E 30 */ sraw r30, r6, r11 +/* 8030E698 0030B5F8 7C AC 5E 30 */ sraw r12, r5, r11 +/* 8030E69C 0030B5FC 7C CB 56 30 */ sraw r11, r6, r10 +/* 8030E6A0 0030B600 7C AA 56 30 */ sraw r10, r5, r10 +/* 8030E6A4 0030B604 7C C6 4E 30 */ sraw r6, r6, r9 +/* 8030E6A8 0030B608 7C 07 01 D6 */ mullw r0, r7, r0 +/* 8030E6AC 0030B60C 7C A5 4E 30 */ sraw r5, r5, r9 +/* 8030E6B0 0030B610 7E F6 B9 D6 */ mullw r23, r22, r23 +/* 8030E6B4 0030B614 7F FF 02 14 */ add r31, r31, r0 +/* 8030E6B8 0030B618 7C 07 B9 D6 */ mullw r0, r7, r23 +/* 8030E6BC 0030B61C 7F FF 02 14 */ add r31, r31, r0 +/* 8030E6C0 0030B620 7C 06 29 D6 */ mullw r0, r6, r5 +/* 8030E6C4 0030B624 7F 7A D9 D6 */ mullw r27, r26, r27 +/* 8030E6C8 0030B628 7F BC E9 D6 */ mullw r29, r28, r29 +/* 8030E6CC 0030B62C 7F 38 C9 D6 */ mullw r25, r24, r25 +/* 8030E6D0 0030B630 7D 2B 51 D6 */ mullw r9, r11, r10 +/* 8030E6D4 0030B634 7D 47 C9 D6 */ mullw r10, r7, r25 +/* 8030E6D8 0030B638 7D 9E 61 D6 */ mullw r12, r30, r12 +/* 8030E6DC 0030B63C 7F FF 52 14 */ add r31, r31, r10 +/* 8030E6E0 0030B640 7C C7 D9 D6 */ mullw r6, r7, r27 +/* 8030E6E4 0030B644 7F FF 32 14 */ add r31, r31, r6 +/* 8030E6E8 0030B648 7C A7 E9 D6 */ mullw r5, r7, r29 +/* 8030E6EC 0030B64C 7F FF 2A 14 */ add r31, r31, r5 +/* 8030E6F0 0030B650 7C C7 61 D6 */ mullw r6, r7, r12 +/* 8030E6F4 0030B654 7C A7 49 D6 */ mullw r5, r7, r9 +/* 8030E6F8 0030B658 7F FF 32 14 */ add r31, r31, r6 +/* 8030E6FC 0030B65C 7C 07 01 D6 */ mullw r0, r7, r0 +/* 8030E700 0030B660 7F FF 2A 14 */ add r31, r31, r5 +/* 8030E704 0030B664 7F FF 02 14 */ add r31, r31, r0 +/* 8030E708 0030B668 42 00 FF 2C */ bdnz lbl_8030E634 +lbl_8030E70C: +/* 8030E70C 0030B66C 7C 08 20 50 */ subf r0, r8, r4 +/* 8030E710 0030B670 7C 09 03 A6 */ mtctr r0 +/* 8030E714 0030B674 7C 08 20 00 */ cmpw r8, r4 +/* 8030E718 0030B678 40 80 00 34 */ bge lbl_8030E74C +lbl_8030E71C: +/* 8030E71C 0030B67C 88 03 00 09 */ lbz r0, 9(r3) +/* 8030E720 0030B680 A8 83 00 04 */ lha r4, 4(r3) +/* 8030E724 0030B684 7C 05 07 74 */ extsb r5, r0 +/* 8030E728 0030B688 A8 03 00 06 */ lha r0, 6(r3) +/* 8030E72C 0030B68C 7C A5 1E 70 */ srawi r5, r5, 3 +/* 8030E730 0030B690 7C 84 46 30 */ sraw r4, r4, r8 +/* 8030E734 0030B694 7C 00 46 30 */ sraw r0, r0, r8 +/* 8030E738 0030B698 39 08 00 01 */ addi r8, r8, 1 +/* 8030E73C 0030B69C 7C 04 01 D6 */ mullw r0, r4, r0 +/* 8030E740 0030B6A0 7C 05 01 D6 */ mullw r0, r5, r0 +/* 8030E744 0030B6A4 7F FF 02 14 */ add r31, r31, r0 +/* 8030E748 0030B6A8 42 00 FF D4 */ bdnz lbl_8030E71C +lbl_8030E74C: +/* 8030E74C 0030B6AC 38 63 00 44 */ addi r3, r3, 0x44 +/* 8030E750 0030B6B0 48 04 9B E5 */ bl GetMRAMSafe__10CARAMTokenFv +/* 8030E754 0030B6B4 7C 63 FA 14 */ add r3, r3, r31 +/* 8030E758 0030B6B8 BA A1 00 14 */ lmw r21, 0x14(r1) +/* 8030E75C 0030B6BC 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8030E760 0030B6C0 7C 08 03 A6 */ mtlr r0 +/* 8030E764 0030B6C4 38 21 00 40 */ addi r1, r1, 0x40 +/* 8030E768 0030B6C8 4E 80 00 20 */ blr + +.global FTextureFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer +FTextureFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer: +/* 8030E76C 0030B6CC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8030E770 0030B6D0 7C 08 02 A6 */ mflr r0 +/* 8030E774 0030B6D4 3C 80 80 3D */ lis r4, lbl_803D7400@ha +/* 8030E778 0030B6D8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8030E77C 0030B6DC 38 84 74 00 */ addi r4, r4, lbl_803D7400@l +/* 8030E780 0030B6E0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8030E784 0030B6E4 7C BF 2B 78 */ mr r31, r5 +/* 8030E788 0030B6E8 38 A0 00 00 */ li r5, 0 +/* 8030E78C 0030B6EC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8030E790 0030B6F0 7C 7E 1B 78 */ mr r30, r3 +/* 8030E794 0030B6F4 38 60 00 68 */ li r3, 0x68 +/* 8030E798 0030B6F8 48 00 70 D5 */ bl __nw__FUlPCcPCc +/* 8030E79C 0030B6FC 7C 64 1B 79 */ or. r4, r3, r3 +/* 8030E7A0 0030B700 41 82 00 18 */ beq lbl_8030E7B8 +/* 8030E7A4 0030B704 7F E4 FB 78 */ mr r4, r31 +/* 8030E7A8 0030B708 38 A0 00 00 */ li r5, 0 +/* 8030E7AC 0030B70C 38 C0 00 00 */ li r6, 0 +/* 8030E7B0 0030B710 48 00 13 15 */ bl __ct__8CTextureFR12CInputStreamQ28CTexture11EAutoMipmapQ28CTexture9EBlackKey +/* 8030E7B4 0030B714 7C 64 1B 78 */ mr r4, r3 +lbl_8030E7B8: +/* 8030E7B8 0030B718 7C 04 00 D0 */ neg r0, r4 +/* 8030E7BC 0030B71C 90 81 00 0C */ stw r4, 0xc(r1) +/* 8030E7C0 0030B720 7C 00 23 78 */ or r0, r0, r4 +/* 8030E7C4 0030B724 38 61 00 10 */ addi r3, r1, 0x10 +/* 8030E7C8 0030B728 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8030E7CC 0030B72C 38 81 00 08 */ addi r4, r1, 8 +/* 8030E7D0 0030B730 98 01 00 08 */ stb r0, 8(r1) +/* 8030E7D4 0030B734 48 00 00 81 */ bl "GetIObjObjectFor__17TToken<8CTexture>FRCQ24rstl19auto_ptr<8CTexture>" +/* 8030E7D8 0030B738 80 61 00 14 */ lwz r3, 0x14(r1) +/* 8030E7DC 0030B73C 38 00 00 00 */ li r0, 0 +/* 8030E7E0 0030B740 98 01 00 10 */ stb r0, 0x10(r1) +/* 8030E7E4 0030B744 7C 03 00 D0 */ neg r0, r3 +/* 8030E7E8 0030B748 7C 00 1B 78 */ or r0, r0, r3 +/* 8030E7EC 0030B74C 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8030E7F0 0030B750 98 1E 00 00 */ stb r0, 0(r30) +/* 8030E7F4 0030B754 90 7E 00 04 */ stw r3, 4(r30) +/* 8030E7F8 0030B758 88 01 00 10 */ lbz r0, 0x10(r1) +/* 8030E7FC 0030B75C 28 00 00 00 */ cmplwi r0, 0 +/* 8030E800 0030B760 41 82 00 24 */ beq lbl_8030E824 +/* 8030E804 0030B764 80 61 00 14 */ lwz r3, 0x14(r1) +/* 8030E808 0030B768 28 03 00 00 */ cmplwi r3, 0 +/* 8030E80C 0030B76C 41 82 00 18 */ beq lbl_8030E824 +/* 8030E810 0030B770 81 83 00 00 */ lwz r12, 0(r3) +/* 8030E814 0030B774 38 80 00 01 */ li r4, 1 +/* 8030E818 0030B778 81 8C 00 08 */ lwz r12, 8(r12) +/* 8030E81C 0030B77C 7D 89 03 A6 */ mtctr r12 +/* 8030E820 0030B780 4E 80 04 21 */ bctrl +lbl_8030E824: +/* 8030E824 0030B784 88 01 00 08 */ lbz r0, 8(r1) +/* 8030E828 0030B788 28 00 00 00 */ cmplwi r0, 0 +/* 8030E82C 0030B78C 41 82 00 10 */ beq lbl_8030E83C +/* 8030E830 0030B790 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8030E834 0030B794 38 80 00 01 */ li r4, 1 +/* 8030E838 0030B798 48 00 11 C1 */ bl __dt__8CTextureFv +lbl_8030E83C: +/* 8030E83C 0030B79C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8030E840 0030B7A0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8030E844 0030B7A4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8030E848 0030B7A8 7C 08 03 A6 */ mtlr r0 +/* 8030E84C 0030B7AC 38 21 00 20 */ addi r1, r1, 0x20 +/* 8030E850 0030B7B0 4E 80 00 20 */ blr + +.global "GetIObjObjectFor__17TToken<8CTexture>FRCQ24rstl19auto_ptr<8CTexture>" +"GetIObjObjectFor__17TToken<8CTexture>FRCQ24rstl19auto_ptr<8CTexture>": +/* 8030E854 0030B7B4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030E858 0030B7B8 7C 08 02 A6 */ mflr r0 +/* 8030E85C 0030B7BC 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030E860 0030B7C0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8030E864 0030B7C4 7C 7F 1B 78 */ mr r31, r3 +/* 8030E868 0030B7C8 48 00 00 19 */ bl "GetNewDerivedObject__35TObjOwnerDerivedFromIObj<8CTexture>FRCQ24rstl19auto_ptr<8CTexture>" +/* 8030E86C 0030B7CC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030E870 0030B7D0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8030E874 0030B7D4 7C 08 03 A6 */ mtlr r0 +/* 8030E878 0030B7D8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030E87C 0030B7DC 4E 80 00 20 */ blr + +.global "GetNewDerivedObject__35TObjOwnerDerivedFromIObj<8CTexture>FRCQ24rstl19auto_ptr<8CTexture>" +"GetNewDerivedObject__35TObjOwnerDerivedFromIObj<8CTexture>FRCQ24rstl19auto_ptr<8CTexture>": +/* 8030E880 0030B7E0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030E884 0030B7E4 7C 08 02 A6 */ mflr r0 +/* 8030E888 0030B7E8 3C A0 80 3D */ lis r5, lbl_803D7400@ha +/* 8030E88C 0030B7EC 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030E890 0030B7F0 38 05 74 00 */ addi r0, r5, lbl_803D7400@l +/* 8030E894 0030B7F4 38 A0 00 00 */ li r5, 0 +/* 8030E898 0030B7F8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8030E89C 0030B7FC 7C 9F 23 78 */ mr r31, r4 +/* 8030E8A0 0030B800 7C 04 03 78 */ mr r4, r0 +/* 8030E8A4 0030B804 93 C1 00 08 */ stw r30, 8(r1) +/* 8030E8A8 0030B808 7C 7E 1B 78 */ mr r30, r3 +/* 8030E8AC 0030B80C 38 60 00 08 */ li r3, 8 +/* 8030E8B0 0030B810 48 00 6F BD */ bl __nw__FUlPCcPCc +/* 8030E8B4 0030B814 28 03 00 00 */ cmplwi r3, 0 +/* 8030E8B8 0030B818 41 82 00 38 */ beq lbl_8030E8F0 +/* 8030E8BC 0030B81C 3C 80 80 3E */ lis r4, lbl_803D8D6C@ha +/* 8030E8C0 0030B820 3C A0 80 3E */ lis r5, lbl_803D8D78@ha +/* 8030E8C4 0030B824 38 04 8D 6C */ addi r0, r4, lbl_803D8D6C@l +/* 8030E8C8 0030B828 3C 80 80 3E */ lis r4, lbl_803D8D84@ha +/* 8030E8CC 0030B82C 90 03 00 00 */ stw r0, 0(r3) +/* 8030E8D0 0030B830 38 C5 8D 78 */ addi r6, r5, lbl_803D8D78@l +/* 8030E8D4 0030B834 38 A0 00 00 */ li r5, 0 +/* 8030E8D8 0030B838 38 04 8D 84 */ addi r0, r4, lbl_803D8D84@l +/* 8030E8DC 0030B83C 90 C3 00 00 */ stw r6, 0(r3) +/* 8030E8E0 0030B840 98 BF 00 00 */ stb r5, 0(r31) +/* 8030E8E4 0030B844 80 9F 00 04 */ lwz r4, 4(r31) +/* 8030E8E8 0030B848 90 83 00 04 */ stw r4, 4(r3) +/* 8030E8EC 0030B84C 90 03 00 00 */ stw r0, 0(r3) +lbl_8030E8F0: +/* 8030E8F0 0030B850 7C 03 00 D0 */ neg r0, r3 +/* 8030E8F4 0030B854 7C 00 1B 78 */ or r0, r0, r3 +/* 8030E8F8 0030B858 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8030E8FC 0030B85C 98 1E 00 00 */ stb r0, 0(r30) +/* 8030E900 0030B860 90 7E 00 04 */ stw r3, 4(r30) +/* 8030E904 0030B864 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8030E908 0030B868 83 C1 00 08 */ lwz r30, 8(r1) +/* 8030E90C 0030B86C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030E910 0030B870 7C 08 03 A6 */ mtlr r0 +/* 8030E914 0030B874 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030E918 0030B878 4E 80 00 20 */ blr + +.global UnLock__8CTextureFv +UnLock__8CTextureFv: +/* 8030E91C 0030B87C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030E920 0030B880 7C 08 02 A6 */ mflr r0 +/* 8030E924 0030B884 38 80 00 00 */ li r4, 0 +/* 8030E928 0030B888 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030E92C 0030B88C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8030E930 0030B890 7C 7F 1B 78 */ mr r31, r3 +/* 8030E934 0030B894 88 03 00 0A */ lbz r0, 0xa(r3) +/* 8030E938 0030B898 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 8030E93C 0030B89C 98 03 00 0A */ stb r0, 0xa(r3) +/* 8030E940 0030B8A0 4B FF F8 4D */ bl CountMemory__8CTextureCFv +/* 8030E944 0030B8A4 38 7F 00 44 */ addi r3, r31, 0x44 +/* 8030E948 0030B8A8 48 04 99 ED */ bl GetMRAMSafe__10CARAMTokenFv +/* 8030E94C 0030B8AC 80 9F 00 0C */ lwz r4, 0xc(r31) +/* 8030E950 0030B8B0 38 04 00 1F */ addi r0, r4, 0x1f +/* 8030E954 0030B8B4 54 04 00 34 */ rlwinm r4, r0, 0, 0, 0x1a +/* 8030E958 0030B8B8 48 07 01 59 */ bl DCFlushRange +/* 8030E95C 0030B8BC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030E960 0030B8C0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8030E964 0030B8C4 7C 08 03 A6 */ mtlr r0 +/* 8030E968 0030B8C8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030E96C 0030B8CC 4E 80 00 20 */ blr + +.global InitBitmapBuffers__8CTextureF12ETexelFormatssi +InitBitmapBuffers__8CTextureF12ETexelFormatssi: +/* 8030E970 0030B8D0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8030E974 0030B8D4 7C 08 02 A6 */ mflr r0 +/* 8030E978 0030B8D8 28 04 00 0A */ cmplwi r4, 0xa +/* 8030E97C 0030B8DC 90 01 00 24 */ stw r0, 0x24(r1) +/* 8030E980 0030B8E0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8030E984 0030B8E4 7C 7F 1B 78 */ mr r31, r3 +/* 8030E988 0030B8E8 41 81 00 9C */ bgt lbl_8030EA24 +/* 8030E98C 0030B8EC 3C 60 80 3F */ lis r3, lbl_803ED968@ha +/* 8030E990 0030B8F0 54 80 10 3A */ slwi r0, r4, 2 +/* 8030E994 0030B8F4 38 63 D9 68 */ addi r3, r3, lbl_803ED968@l +/* 8030E998 0030B8F8 7C 03 00 2E */ lwzx r0, r3, r0 +/* 8030E99C 0030B8FC 7C 09 03 A6 */ mtctr r0 +/* 8030E9A0 0030B900 4E 80 04 20 */ bctr +/* 8030E9A4 0030B904 38 00 00 08 */ li r0, 8 +/* 8030E9A8 0030B908 90 1F 00 1C */ stw r0, 0x1c(r31) +/* 8030E9AC 0030B90C 48 00 00 78 */ b lbl_8030EA24 +/* 8030E9B0 0030B910 38 00 00 09 */ li r0, 9 +/* 8030E9B4 0030B914 90 1F 00 1C */ stw r0, 0x1c(r31) +/* 8030E9B8 0030B918 48 00 00 6C */ b lbl_8030EA24 +/* 8030E9BC 0030B91C 38 00 00 0A */ li r0, 0xa +/* 8030E9C0 0030B920 90 1F 00 1C */ stw r0, 0x1c(r31) +/* 8030E9C4 0030B924 48 00 00 60 */ b lbl_8030EA24 +/* 8030E9C8 0030B928 38 00 00 00 */ li r0, 0 +/* 8030E9CC 0030B92C 90 1F 00 18 */ stw r0, 0x18(r31) +/* 8030E9D0 0030B930 48 00 00 54 */ b lbl_8030EA24 +/* 8030E9D4 0030B934 38 00 00 01 */ li r0, 1 +/* 8030E9D8 0030B938 90 1F 00 18 */ stw r0, 0x18(r31) +/* 8030E9DC 0030B93C 48 00 00 48 */ b lbl_8030EA24 +/* 8030E9E0 0030B940 38 00 00 02 */ li r0, 2 +/* 8030E9E4 0030B944 90 1F 00 18 */ stw r0, 0x18(r31) +/* 8030E9E8 0030B948 48 00 00 3C */ b lbl_8030EA24 +/* 8030E9EC 0030B94C 38 00 00 03 */ li r0, 3 +/* 8030E9F0 0030B950 90 1F 00 18 */ stw r0, 0x18(r31) +/* 8030E9F4 0030B954 48 00 00 30 */ b lbl_8030EA24 +/* 8030E9F8 0030B958 38 00 00 04 */ li r0, 4 +/* 8030E9FC 0030B95C 90 1F 00 18 */ stw r0, 0x18(r31) +/* 8030EA00 0030B960 48 00 00 24 */ b lbl_8030EA24 +/* 8030EA04 0030B964 38 00 00 05 */ li r0, 5 +/* 8030EA08 0030B968 90 1F 00 18 */ stw r0, 0x18(r31) +/* 8030EA0C 0030B96C 48 00 00 18 */ b lbl_8030EA24 +/* 8030EA10 0030B970 38 00 00 06 */ li r0, 6 +/* 8030EA14 0030B974 90 1F 00 18 */ stw r0, 0x18(r31) +/* 8030EA18 0030B978 48 00 00 0C */ b lbl_8030EA24 +/* 8030EA1C 0030B97C 38 00 00 0E */ li r0, 0xe +/* 8030EA20 0030B980 90 1F 00 18 */ stw r0, 0x18(r31) +lbl_8030EA24: +/* 8030EA24 0030B984 39 20 00 01 */ li r9, 1 +/* 8030EA28 0030B988 81 5F 00 00 */ lwz r10, 0(r31) +/* 8030EA2C 0030B98C 7C E3 4A 78 */ xor r3, r7, r9 +/* 8030EA30 0030B990 38 00 00 0B */ li r0, 0xb +/* 8030EA34 0030B994 7C 68 0E 70 */ srawi r8, r3, 1 +/* 8030EA38 0030B998 2C 0A 00 04 */ cmpwi r10, 4 +/* 8030EA3C 0030B99C 7C 64 38 38 */ and r4, r3, r7 +/* 8030EA40 0030B9A0 54 A3 04 3E */ clrlwi r3, r5, 0x10 +/* 8030EA44 0030B9A4 7C A4 40 50 */ subf r5, r4, r8 +/* 8030EA48 0030B9A8 54 C4 04 3E */ clrlwi r4, r6, 0x10 +/* 8030EA4C 0030B9AC 54 A6 0F FE */ srwi r6, r5, 0x1f +/* 8030EA50 0030B9B0 7C A6 00 D0 */ neg r5, r6 +/* 8030EA54 0030B9B4 7C A5 33 78 */ or r5, r5, r6 +/* 8030EA58 0030B9B8 7C A5 FE 70 */ srawi r5, r5, 0x1f +/* 8030EA5C 0030B9BC 7C 07 28 38 */ and r7, r0, r5 +/* 8030EA60 0030B9C0 40 82 00 08 */ bne lbl_8030EA68 +/* 8030EA64 0030B9C4 48 00 00 1C */ b lbl_8030EA80 +lbl_8030EA68: +/* 8030EA68 0030B9C8 2C 0A 00 05 */ cmpwi r10, 5 +/* 8030EA6C 0030B9CC 40 82 00 08 */ bne lbl_8030EA74 +/* 8030EA70 0030B9D0 48 00 00 10 */ b lbl_8030EA80 +lbl_8030EA74: +/* 8030EA74 0030B9D4 20 0A 00 06 */ subfic r0, r10, 6 +/* 8030EA78 0030B9D8 7C 00 00 34 */ cntlzw r0, r0 +/* 8030EA7C 0030B9DC 54 09 D9 7E */ srwi r9, r0, 5 +lbl_8030EA80: +/* 8030EA80 0030B9E0 55 20 06 3F */ clrlwi. r0, r9, 0x18 +/* 8030EA84 0030B9E4 41 82 00 0C */ beq lbl_8030EA90 +/* 8030EA88 0030B9E8 80 BF 00 1C */ lwz r5, 0x1c(r31) +/* 8030EA8C 0030B9EC 48 00 00 08 */ b lbl_8030EA94 +lbl_8030EA90: +/* 8030EA90 0030B9F0 80 BF 00 18 */ lwz r5, 0x18(r31) +lbl_8030EA94: +/* 8030EA94 0030B9F4 54 E7 06 3E */ clrlwi r7, r7, 0x18 +/* 8030EA98 0030B9F8 48 06 B1 A9 */ bl GXGetTexBufferSize +/* 8030EA9C 0030B9FC 3C A0 80 3D */ lis r5, lbl_803D7400@ha +/* 8030EAA0 0030BA00 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha +/* 8030EAA4 0030BA04 90 7F 00 0C */ stw r3, 0xc(r31) +/* 8030EAA8 0030BA08 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l +/* 8030EAAC 0030BA0C 38 A5 74 00 */ addi r5, r5, lbl_803D7400@l +/* 8030EAB0 0030BA10 38 61 00 08 */ addi r3, r1, 8 +/* 8030EAB4 0030BA14 38 80 FF FF */ li r4, -1 +/* 8030EAB8 0030BA18 4B FC 79 1D */ bl __ct__10CCallStackFUiPCcPCc +/* 8030EABC 0030BA1C 7C 67 1B 78 */ mr r7, r3 +/* 8030EAC0 0030BA20 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 8030EAC4 0030BA24 38 80 00 02 */ li r4, 2 +/* 8030EAC8 0030BA28 38 A0 00 01 */ li r5, 1 +/* 8030EACC 0030BA2C 38 C0 00 00 */ li r6, 0 +/* 8030EAD0 0030BA30 48 00 6E C5 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 8030EAD4 0030BA34 80 BF 00 0C */ lwz r5, 0xc(r31) +/* 8030EAD8 0030BA38 7C 64 1B 78 */ mr r4, r3 +/* 8030EADC 0030BA3C 38 7F 00 44 */ addi r3, r31, 0x44 +/* 8030EAE0 0030BA40 38 C0 00 01 */ li r6, 1 +/* 8030EAE4 0030BA44 48 04 9D F1 */ bl PostConstruct__10CARAMTokenFPvUi +/* 8030EAE8 0030BA48 7F E3 FB 78 */ mr r3, r31 +/* 8030EAEC 0030BA4C 4B FF F6 A1 */ bl CountMemory__8CTextureCFv +/* 8030EAF0 0030BA50 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8030EAF4 0030BA54 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8030EAF8 0030BA58 7C 08 03 A6 */ mtlr r0 +/* 8030EAFC 0030BA5C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8030EB00 0030BA60 4E 80 00 20 */ blr + +.global TexelFormatBitsPerPixel__8CTextureF12ETexelFormat +TexelFormatBitsPerPixel__8CTextureF12ETexelFormat: +/* 8030EB04 0030BA64 28 03 00 0A */ cmplwi r3, 0xa +/* 8030EB08 0030BA68 41 81 00 3C */ bgt lbl_8030EB44 +/* 8030EB0C 0030BA6C 3C 80 80 3F */ lis r4, lbl_803ED994@ha +/* 8030EB10 0030BA70 54 60 10 3A */ slwi r0, r3, 2 +/* 8030EB14 0030BA74 38 64 D9 94 */ addi r3, r4, lbl_803ED994@l +/* 8030EB18 0030BA78 7C 03 00 2E */ lwzx r0, r3, r0 +/* 8030EB1C 0030BA7C 7C 09 03 A6 */ mtctr r0 +/* 8030EB20 0030BA80 4E 80 04 20 */ bctr +/* 8030EB24 0030BA84 38 60 00 04 */ li r3, 4 +/* 8030EB28 0030BA88 4E 80 00 20 */ blr +/* 8030EB2C 0030BA8C 38 60 00 08 */ li r3, 8 +/* 8030EB30 0030BA90 4E 80 00 20 */ blr +/* 8030EB34 0030BA94 38 60 00 10 */ li r3, 0x10 +/* 8030EB38 0030BA98 4E 80 00 20 */ blr +/* 8030EB3C 0030BA9C 38 60 00 20 */ li r3, 0x20 +/* 8030EB40 0030BAA0 4E 80 00 20 */ blr +lbl_8030EB44: +/* 8030EB44 0030BAA4 38 60 00 00 */ li r3, 0 +/* 8030EB48 0030BAA8 4E 80 00 20 */ blr + +.global IsARAMTransferInProgress__8CTextureCFv +IsARAMTransferInProgress__8CTextureCFv: +/* 8030EB4C 0030BAAC 88 03 00 0A */ lbz r0, 0xa(r3) +/* 8030EB50 0030BAB0 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 8030EB54 0030BAB4 41 82 00 0C */ beq lbl_8030EB60 +/* 8030EB58 0030BAB8 38 60 00 00 */ li r3, 0 +/* 8030EB5C 0030BABC 4E 80 00 20 */ blr +lbl_8030EB60: +/* 8030EB60 0030BAC0 80 03 00 44 */ lwz r0, 0x44(r3) +/* 8030EB64 0030BAC4 38 60 00 00 */ li r3, 0 +/* 8030EB68 0030BAC8 2C 00 00 02 */ cmpwi r0, 2 +/* 8030EB6C 0030BACC 4D 80 00 20 */ bltlr +/* 8030EB70 0030BAD0 2C 00 00 05 */ cmpwi r0, 5 +/* 8030EB74 0030BAD4 4D 81 00 20 */ bgtlr +/* 8030EB78 0030BAD8 38 60 00 01 */ li r3, 1 +/* 8030EB7C 0030BADC 4E 80 00 20 */ blr + +.global LoadToARAM__8CTextureCFv +LoadToARAM__8CTextureCFv: +/* 8030EB80 0030BAE0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030EB84 0030BAE4 7C 08 02 A6 */ mflr r0 +/* 8030EB88 0030BAE8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030EB8C 0030BAEC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8030EB90 0030BAF0 93 C1 00 08 */ stw r30, 8(r1) +/* 8030EB94 0030BAF4 7C 7E 1B 78 */ mr r30, r3 +/* 8030EB98 0030BAF8 80 03 00 44 */ lwz r0, 0x44(r3) +/* 8030EB9C 0030BAFC 2C 00 00 06 */ cmpwi r0, 6 +/* 8030EBA0 0030BB00 40 82 00 0C */ bne lbl_8030EBAC +/* 8030EBA4 0030BB04 38 60 00 00 */ li r3, 0 +/* 8030EBA8 0030BB08 48 00 00 68 */ b lbl_8030EC10 +lbl_8030EBAC: +/* 8030EBAC 0030BB0C 88 1E 00 0A */ lbz r0, 0xa(r30) +/* 8030EBB0 0030BB10 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 8030EBB4 0030BB14 41 82 00 0C */ beq lbl_8030EBC0 +/* 8030EBB8 0030BB18 38 60 00 00 */ li r3, 0 +/* 8030EBBC 0030BB1C 48 00 00 54 */ b lbl_8030EC10 +lbl_8030EBC0: +/* 8030EBC0 0030BB20 80 6D A8 70 */ lwz r3, lbl_805A9430@sda21(r13) +/* 8030EBC4 0030BB24 80 9E 00 64 */ lwz r4, 0x64(r30) +/* 8030EBC8 0030BB28 38 03 FF FF */ addi r0, r3, -1 +/* 8030EBCC 0030BB2C 7C 04 00 40 */ cmplw r4, r0 +/* 8030EBD0 0030BB30 40 80 00 3C */ bge lbl_8030EC0C +/* 8030EBD4 0030BB34 38 7E 00 44 */ addi r3, r30, 0x44 +/* 8030EBD8 0030BB38 48 04 9A A1 */ bl LoadToARAM__10CARAMTokenFv +/* 8030EBDC 0030BB3C 80 1E 00 44 */ lwz r0, 0x44(r30) +/* 8030EBE0 0030BB40 7C 7F 1B 78 */ mr r31, r3 +/* 8030EBE4 0030BB44 2C 00 00 01 */ cmpwi r0, 1 +/* 8030EBE8 0030BB48 41 82 00 1C */ beq lbl_8030EC04 +/* 8030EBEC 0030BB4C 7F C3 F3 78 */ mr r3, r30 +/* 8030EBF0 0030BB50 4B FF F5 71 */ bl UncountMemory__8CTextureCFv +/* 8030EBF4 0030BB54 88 1E 00 0A */ lbz r0, 0xa(r30) +/* 8030EBF8 0030BB58 38 60 00 01 */ li r3, 1 +/* 8030EBFC 0030BB5C 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 8030EC00 0030BB60 98 1E 00 0A */ stb r0, 0xa(r30) +lbl_8030EC04: +/* 8030EC04 0030BB64 7F E3 FB 78 */ mr r3, r31 +/* 8030EC08 0030BB68 48 00 00 08 */ b lbl_8030EC10 +lbl_8030EC0C: +/* 8030EC0C 0030BB6C 38 60 00 00 */ li r3, 0 +lbl_8030EC10: +/* 8030EC10 0030BB70 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030EC14 0030BB74 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8030EC18 0030BB78 83 C1 00 08 */ lwz r30, 8(r1) +/* 8030EC1C 0030BB7C 7C 08 03 A6 */ mtlr r0 +/* 8030EC20 0030BB80 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030EC24 0030BB84 4E 80 00 20 */ blr + +.global LoadToMRAM__8CTextureCFv +LoadToMRAM__8CTextureCFv: +/* 8030EC28 0030BB88 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030EC2C 0030BB8C 7C 08 02 A6 */ mflr r0 +/* 8030EC30 0030BB90 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030EC34 0030BB94 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8030EC38 0030BB98 7C 7F 1B 78 */ mr r31, r3 +/* 8030EC3C 0030BB9C 80 03 00 44 */ lwz r0, 0x44(r3) +/* 8030EC40 0030BBA0 2C 00 00 06 */ cmpwi r0, 6 +/* 8030EC44 0030BBA4 40 82 00 0C */ bne lbl_8030EC50 +/* 8030EC48 0030BBA8 38 60 00 00 */ li r3, 0 +/* 8030EC4C 0030BBAC 48 00 00 18 */ b lbl_8030EC64 +lbl_8030EC50: +/* 8030EC50 0030BBB0 80 0D A8 70 */ lwz r0, lbl_805A9430@sda21(r13) +/* 8030EC54 0030BBB4 90 1F 00 64 */ stw r0, 0x64(r31) +/* 8030EC58 0030BBB8 4B FF F5 35 */ bl CountMemory__8CTextureCFv +/* 8030EC5C 0030BBBC 38 7F 00 44 */ addi r3, r31, 0x44 +/* 8030EC60 0030BBC0 48 04 9B 0D */ bl LoadToMRAM__10CARAMTokenFv +lbl_8030EC64: +/* 8030EC64 0030BBC4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030EC68 0030BBC8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8030EC6C 0030BBCC 7C 08 03 A6 */ mtlr r0 +/* 8030EC70 0030BBD0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030EC74 0030BBD4 4E 80 00 20 */ blr + +.global TryBuildReloadedBitmapData__Q28CTexture25CDumpedBitmapDataReloaderFR11CResFactory +TryBuildReloadedBitmapData__Q28CTexture25CDumpedBitmapDataReloaderFR11CResFactory: +/* 8030EC78 0030BBD8 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 8030EC7C 0030BBDC 7C 08 02 A6 */ mflr r0 +/* 8030EC80 0030BBE0 90 01 00 64 */ stw r0, 0x64(r1) +/* 8030EC84 0030BBE4 BF 21 00 44 */ stmw r25, 0x44(r1) +/* 8030EC88 0030BBE8 7C 7F 1B 78 */ mr r31, r3 +/* 8030EC8C 0030BBEC 7C 99 23 78 */ mr r25, r4 +/* 8030EC90 0030BBF0 80 63 00 14 */ lwz r3, 0x14(r3) +/* 8030EC94 0030BBF4 81 83 00 00 */ lwz r12, 0(r3) +/* 8030EC98 0030BBF8 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 8030EC9C 0030BBFC 7D 89 03 A6 */ mtctr r12 +/* 8030ECA0 0030BC00 4E 80 04 21 */ bctrl +/* 8030ECA4 0030BC04 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8030ECA8 0030BC08 41 82 02 B0 */ beq lbl_8030EF58 +/* 8030ECAC 0030BC0C 38 00 00 02 */ li r0, 2 +/* 8030ECB0 0030BC10 90 1F 00 00 */ stw r0, 0(r31) +/* 8030ECB4 0030BC14 80 7F 00 14 */ lwz r3, 0x14(r31) +/* 8030ECB8 0030BC18 28 03 00 00 */ cmplwi r3, 0 +/* 8030ECBC 0030BC1C 41 82 00 18 */ beq lbl_8030ECD4 +/* 8030ECC0 0030BC20 81 83 00 00 */ lwz r12, 0(r3) +/* 8030ECC4 0030BC24 38 80 00 01 */ li r4, 1 +/* 8030ECC8 0030BC28 81 8C 00 08 */ lwz r12, 8(r12) +/* 8030ECCC 0030BC2C 7D 89 03 A6 */ mtctr r12 +/* 8030ECD0 0030BC30 4E 80 04 21 */ bctrl +lbl_8030ECD4: +/* 8030ECD4 0030BC34 38 00 00 00 */ li r0, 0 +/* 8030ECD8 0030BC38 3C 60 54 58 */ lis r3, 0x54585452@ha +/* 8030ECDC 0030BC3C 90 1F 00 14 */ stw r0, 0x14(r31) +/* 8030ECE0 0030BC40 38 03 54 52 */ addi r0, r3, 0x54585452@l +/* 8030ECE4 0030BC44 38 79 00 04 */ addi r3, r25, 4 +/* 8030ECE8 0030BC48 38 81 00 14 */ addi r4, r1, 0x14 +/* 8030ECEC 0030BC4C 80 BF 00 04 */ lwz r5, 4(r31) +/* 8030ECF0 0030BC50 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030ECF4 0030BC54 90 A1 00 18 */ stw r5, 0x18(r1) +/* 8030ECF8 0030BC58 80 BF 00 18 */ lwz r5, 0x18(r31) +/* 8030ECFC 0030BC5C 48 02 CB 55 */ bl LoadResourceFromMemorySync__10CResLoaderFRC10SObjectTagPCv +/* 8030ED00 0030BC60 7C 7A 1B 78 */ mr r26, r3 +/* 8030ED04 0030BC64 93 41 00 08 */ stw r26, 8(r1) +/* 8030ED08 0030BC68 48 02 FF 7D */ bl ReadLong__12CInputStreamFv +/* 8030ED0C 0030BC6C 7C 60 1B 78 */ mr r0, r3 +/* 8030ED10 0030BC70 7F 43 D3 78 */ mr r3, r26 +/* 8030ED14 0030BC74 7C 19 03 78 */ mr r25, r0 +/* 8030ED18 0030BC78 48 02 FF 99 */ bl ReadShort__12CInputStreamFv +/* 8030ED1C 0030BC7C 7C 7D 07 34 */ extsh r29, r3 +/* 8030ED20 0030BC80 7F 43 D3 78 */ mr r3, r26 +/* 8030ED24 0030BC84 48 02 FF 8D */ bl ReadShort__12CInputStreamFv +/* 8030ED28 0030BC88 7C 7C 07 34 */ extsh r28, r3 +/* 8030ED2C 0030BC8C 7F 43 D3 78 */ mr r3, r26 +/* 8030ED30 0030BC90 48 02 FF 55 */ bl ReadLong__12CInputStreamFv +/* 8030ED34 0030BC94 7C 7B 1B 78 */ mr r27, r3 +/* 8030ED38 0030BC98 7F 23 CB 78 */ mr r3, r25 +/* 8030ED3C 0030BC9C 4B FF FD C9 */ bl TexelFormatBitsPerPixel__8CTextureF12ETexelFormat +/* 8030ED40 0030BCA0 2C 19 00 04 */ cmpwi r25, 4 +/* 8030ED44 0030BCA4 7C 7E 1B 78 */ mr r30, r3 +/* 8030ED48 0030BCA8 40 82 00 0C */ bne lbl_8030ED54 +/* 8030ED4C 0030BCAC 38 00 00 01 */ li r0, 1 +/* 8030ED50 0030BCB0 48 00 00 20 */ b lbl_8030ED70 +lbl_8030ED54: +/* 8030ED54 0030BCB4 2C 19 00 05 */ cmpwi r25, 5 +/* 8030ED58 0030BCB8 40 82 00 0C */ bne lbl_8030ED64 +/* 8030ED5C 0030BCBC 38 00 00 01 */ li r0, 1 +/* 8030ED60 0030BCC0 48 00 00 10 */ b lbl_8030ED70 +lbl_8030ED64: +/* 8030ED64 0030BCC4 20 19 00 06 */ subfic r0, r25, 6 +/* 8030ED68 0030BCC8 7C 00 00 34 */ cntlzw r0, r0 +/* 8030ED6C 0030BCCC 54 00 D9 7E */ srwi r0, r0, 5 +lbl_8030ED70: +/* 8030ED70 0030BCD0 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 8030ED74 0030BCD4 41 82 00 1C */ beq lbl_8030ED90 +/* 8030ED78 0030BCD8 7F 44 D3 78 */ mr r4, r26 +/* 8030ED7C 0030BCDC 38 61 00 1C */ addi r3, r1, 0x1c +/* 8030ED80 0030BCE0 4B FF F2 09 */ bl __ct__16CGraphicsPaletteFR12CInputStream +/* 8030ED84 0030BCE4 38 61 00 1C */ addi r3, r1, 0x1c +/* 8030ED88 0030BCE8 38 80 FF FF */ li r4, -1 +/* 8030ED8C 0030BCEC 4B FF F1 75 */ bl __dt__16CGraphicsPaletteFv +lbl_8030ED90: +/* 8030ED90 0030BCF0 2C 1B 00 00 */ cmpwi r27, 0 +/* 8030ED94 0030BCF4 3B 20 00 00 */ li r25, 0 +/* 8030ED98 0030BCF8 38 A0 00 00 */ li r5, 0 +/* 8030ED9C 0030BCFC 40 81 01 00 */ ble lbl_8030EE9C +/* 8030EDA0 0030BD00 57 60 F0 BF */ rlwinm. r0, r27, 0x1e, 2, 0x1f +/* 8030EDA4 0030BD04 7C 09 03 A6 */ mtctr r0 +/* 8030EDA8 0030BD08 41 82 00 C0 */ beq lbl_8030EE68 +lbl_8030EDAC: +/* 8030EDAC 0030BD0C 7F A4 2E 30 */ sraw r4, r29, r5 +/* 8030EDB0 0030BD10 7F 83 2E 30 */ sraw r3, r28, r5 +/* 8030EDB4 0030BD14 38 A5 00 01 */ addi r5, r5, 1 +/* 8030EDB8 0030BD18 38 03 00 03 */ addi r0, r3, 3 +/* 8030EDBC 0030BD1C 38 84 00 03 */ addi r4, r4, 3 +/* 8030EDC0 0030BD20 54 83 00 3A */ rlwinm r3, r4, 0, 0, 0x1d +/* 8030EDC4 0030BD24 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d +/* 8030EDC8 0030BD28 7C 03 01 D6 */ mullw r0, r3, r0 +/* 8030EDCC 0030BD2C 7C 00 F1 D6 */ mullw r0, r0, r30 +/* 8030EDD0 0030BD30 7C 00 1E 70 */ srawi r0, r0, 3 +/* 8030EDD4 0030BD34 7F A4 2E 30 */ sraw r4, r29, r5 +/* 8030EDD8 0030BD38 7F 83 2E 30 */ sraw r3, r28, r5 +/* 8030EDDC 0030BD3C 7F 39 02 14 */ add r25, r25, r0 +/* 8030EDE0 0030BD40 38 03 00 03 */ addi r0, r3, 3 +/* 8030EDE4 0030BD44 38 84 00 03 */ addi r4, r4, 3 +/* 8030EDE8 0030BD48 54 83 00 3A */ rlwinm r3, r4, 0, 0, 0x1d +/* 8030EDEC 0030BD4C 38 A5 00 01 */ addi r5, r5, 1 +/* 8030EDF0 0030BD50 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d +/* 8030EDF4 0030BD54 7C 03 01 D6 */ mullw r0, r3, r0 +/* 8030EDF8 0030BD58 7C 00 F1 D6 */ mullw r0, r0, r30 +/* 8030EDFC 0030BD5C 7C 00 1E 70 */ srawi r0, r0, 3 +/* 8030EE00 0030BD60 7F A4 2E 30 */ sraw r4, r29, r5 +/* 8030EE04 0030BD64 7F 83 2E 30 */ sraw r3, r28, r5 +/* 8030EE08 0030BD68 7F 39 02 14 */ add r25, r25, r0 +/* 8030EE0C 0030BD6C 38 03 00 03 */ addi r0, r3, 3 +/* 8030EE10 0030BD70 38 84 00 03 */ addi r4, r4, 3 +/* 8030EE14 0030BD74 54 83 00 3A */ rlwinm r3, r4, 0, 0, 0x1d +/* 8030EE18 0030BD78 38 A5 00 01 */ addi r5, r5, 1 +/* 8030EE1C 0030BD7C 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d +/* 8030EE20 0030BD80 7C 03 01 D6 */ mullw r0, r3, r0 +/* 8030EE24 0030BD84 7C 00 F1 D6 */ mullw r0, r0, r30 +/* 8030EE28 0030BD88 7C 00 1E 70 */ srawi r0, r0, 3 +/* 8030EE2C 0030BD8C 7F A4 2E 30 */ sraw r4, r29, r5 +/* 8030EE30 0030BD90 7F 83 2E 30 */ sraw r3, r28, r5 +/* 8030EE34 0030BD94 7F 39 02 14 */ add r25, r25, r0 +/* 8030EE38 0030BD98 38 03 00 03 */ addi r0, r3, 3 +/* 8030EE3C 0030BD9C 38 84 00 03 */ addi r4, r4, 3 +/* 8030EE40 0030BDA0 54 83 00 3A */ rlwinm r3, r4, 0, 0, 0x1d +/* 8030EE44 0030BDA4 38 A5 00 01 */ addi r5, r5, 1 +/* 8030EE48 0030BDA8 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d +/* 8030EE4C 0030BDAC 7C 03 01 D6 */ mullw r0, r3, r0 +/* 8030EE50 0030BDB0 7C 00 F1 D6 */ mullw r0, r0, r30 +/* 8030EE54 0030BDB4 7C 00 1E 70 */ srawi r0, r0, 3 +/* 8030EE58 0030BDB8 7F 39 02 14 */ add r25, r25, r0 +/* 8030EE5C 0030BDBC 42 00 FF 50 */ bdnz lbl_8030EDAC +/* 8030EE60 0030BDC0 73 7B 00 03 */ andi. r27, r27, 3 +/* 8030EE64 0030BDC4 41 82 00 38 */ beq lbl_8030EE9C +lbl_8030EE68: +/* 8030EE68 0030BDC8 7F 69 03 A6 */ mtctr r27 +lbl_8030EE6C: +/* 8030EE6C 0030BDCC 7F A4 2E 30 */ sraw r4, r29, r5 +/* 8030EE70 0030BDD0 7F 83 2E 30 */ sraw r3, r28, r5 +/* 8030EE74 0030BDD4 38 A5 00 01 */ addi r5, r5, 1 +/* 8030EE78 0030BDD8 38 03 00 03 */ addi r0, r3, 3 +/* 8030EE7C 0030BDDC 38 84 00 03 */ addi r4, r4, 3 +/* 8030EE80 0030BDE0 54 83 00 3A */ rlwinm r3, r4, 0, 0, 0x1d +/* 8030EE84 0030BDE4 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d +/* 8030EE88 0030BDE8 7C 03 01 D6 */ mullw r0, r3, r0 +/* 8030EE8C 0030BDEC 7C 00 F1 D6 */ mullw r0, r0, r30 +/* 8030EE90 0030BDF0 7C 00 1E 70 */ srawi r0, r0, 3 +/* 8030EE94 0030BDF4 7F 39 02 14 */ add r25, r25, r0 +/* 8030EE98 0030BDF8 42 00 FF D4 */ bdnz lbl_8030EE6C +lbl_8030EE9C: +/* 8030EE9C 0030BDFC 3C 60 80 3D */ lis r3, lbl_803D7400@ha +/* 8030EEA0 0030BE00 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha +/* 8030EEA4 0030BE04 38 A3 74 00 */ addi r5, r3, lbl_803D7400@l +/* 8030EEA8 0030BE08 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l +/* 8030EEAC 0030BE0C 38 61 00 0C */ addi r3, r1, 0xc +/* 8030EEB0 0030BE10 38 80 FF FF */ li r4, -1 +/* 8030EEB4 0030BE14 4B FC 75 21 */ bl __ct__10CCallStackFUiPCcPCc +/* 8030EEB8 0030BE18 7C 67 1B 78 */ mr r7, r3 +/* 8030EEBC 0030BE1C 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 8030EEC0 0030BE20 38 80 00 02 */ li r4, 2 +/* 8030EEC4 0030BE24 38 A0 00 01 */ li r5, 1 +/* 8030EEC8 0030BE28 38 C0 00 00 */ li r6, 0 +/* 8030EECC 0030BE2C 48 00 6A C9 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 8030EED0 0030BE30 3B A0 00 00 */ li r29, 0 +/* 8030EED4 0030BE34 7C 7C 1B 78 */ mr r28, r3 +/* 8030EED8 0030BE38 48 00 00 3C */ b lbl_8030EF14 +lbl_8030EEDC: +/* 8030EEDC 0030BE3C 7F DD C8 50 */ subf r30, r29, r25 +/* 8030EEE0 0030BE40 2C 1E 01 00 */ cmpwi r30, 0x100 +/* 8030EEE4 0030BE44 40 81 00 08 */ ble lbl_8030EEEC +/* 8030EEE8 0030BE48 3B C0 01 00 */ li r30, 0x100 +lbl_8030EEEC: +/* 8030EEEC 0030BE4C 7F 7C EA 14 */ add r27, r28, r29 +/* 8030EEF0 0030BE50 7F 43 D3 78 */ mr r3, r26 +/* 8030EEF4 0030BE54 7F 64 DB 78 */ mr r4, r27 +/* 8030EEF8 0030BE58 7F C5 F3 78 */ mr r5, r30 +/* 8030EEFC 0030BE5C 48 03 00 59 */ bl Get__12CInputStreamFPvUl +/* 8030EF00 0030BE60 38 1E 00 1F */ addi r0, r30, 0x1f +/* 8030EF04 0030BE64 7F 63 DB 78 */ mr r3, r27 +/* 8030EF08 0030BE68 54 04 00 34 */ rlwinm r4, r0, 0, 0, 0x1a +/* 8030EF0C 0030BE6C 48 06 FC 05 */ bl DCFlushRangeNoSync +/* 8030EF10 0030BE70 7F BD F2 14 */ add r29, r29, r30 +lbl_8030EF14: +/* 8030EF14 0030BE74 7C 1D C8 00 */ cmpw r29, r25 +/* 8030EF18 0030BE78 41 80 FF C4 */ blt lbl_8030EEDC +/* 8030EF1C 0030BE7C 48 06 08 F1 */ bl PPCSync +/* 8030EF20 0030BE80 80 7F 00 18 */ lwz r3, 0x18(r31) +/* 8030EF24 0030BE84 48 00 6A 0D */ bl Free__7CMemoryFPCv +/* 8030EF28 0030BE88 80 61 00 08 */ lwz r3, 8(r1) +/* 8030EF2C 0030BE8C 38 00 00 00 */ li r0, 0 +/* 8030EF30 0030BE90 90 1F 00 18 */ stw r0, 0x18(r31) +/* 8030EF34 0030BE94 28 03 00 00 */ cmplwi r3, 0 +/* 8030EF38 0030BE98 41 82 00 18 */ beq lbl_8030EF50 +/* 8030EF3C 0030BE9C 81 83 00 00 */ lwz r12, 0(r3) +/* 8030EF40 0030BEA0 38 80 00 01 */ li r4, 1 +/* 8030EF44 0030BEA4 81 8C 00 08 */ lwz r12, 8(r12) +/* 8030EF48 0030BEA8 7D 89 03 A6 */ mtctr r12 +/* 8030EF4C 0030BEAC 4E 80 04 21 */ bctrl +lbl_8030EF50: +/* 8030EF50 0030BEB0 7F 83 E3 78 */ mr r3, r28 +/* 8030EF54 0030BEB4 48 00 00 08 */ b lbl_8030EF5C +lbl_8030EF58: +/* 8030EF58 0030BEB8 38 60 00 00 */ li r3, 0 +lbl_8030EF5C: +/* 8030EF5C 0030BEBC BB 21 00 44 */ lmw r25, 0x44(r1) +/* 8030EF60 0030BEC0 80 01 00 64 */ lwz r0, 0x64(r1) +/* 8030EF64 0030BEC4 7C 08 03 A6 */ mtlr r0 +/* 8030EF68 0030BEC8 38 21 00 60 */ addi r1, r1, 0x60 +/* 8030EF6C 0030BECC 4E 80 00 20 */ blr + +.global BeginReloadBitmapData__Q28CTexture25CDumpedBitmapDataReloaderFR11CResFactory +BeginReloadBitmapData__Q28CTexture25CDumpedBitmapDataReloaderFR11CResFactory: +/* 8030EF70 0030BED0 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8030EF74 0030BED4 7C 08 02 A6 */ mflr r0 +/* 8030EF78 0030BED8 90 01 00 34 */ stw r0, 0x34(r1) +/* 8030EF7C 0030BEDC 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8030EF80 0030BEE0 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8030EF84 0030BEE4 7C 9E 23 78 */ mr r30, r4 +/* 8030EF88 0030BEE8 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8030EF8C 0030BEEC 7C 7D 1B 78 */ mr r29, r3 +/* 8030EF90 0030BEF0 80 03 00 00 */ lwz r0, 0(r3) +/* 8030EF94 0030BEF4 2C 00 00 00 */ cmpwi r0, 0 +/* 8030EF98 0030BEF8 40 82 00 B0 */ bne lbl_8030F048 +/* 8030EF9C 0030BEFC 80 BD 00 04 */ lwz r5, 4(r29) +/* 8030EFA0 0030BF00 3C 60 54 58 */ lis r3, 0x54585452@ha +/* 8030EFA4 0030BF04 38 03 54 52 */ addi r0, r3, 0x54585452@l +/* 8030EFA8 0030BF08 38 7E 00 04 */ addi r3, r30, 4 +/* 8030EFAC 0030BF0C 90 01 00 10 */ stw r0, 0x10(r1) +/* 8030EFB0 0030BF10 38 81 00 10 */ addi r4, r1, 0x10 +/* 8030EFB4 0030BF14 90 A1 00 14 */ stw r5, 0x14(r1) +/* 8030EFB8 0030BF18 48 02 CC 99 */ bl ResourceSize__10CResLoaderCFRC10SObjectTag +/* 8030EFBC 0030BF1C 3C A0 80 3D */ lis r5, lbl_803D7400@ha +/* 8030EFC0 0030BF20 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha +/* 8030EFC4 0030BF24 90 7D 00 08 */ stw r3, 8(r29) +/* 8030EFC8 0030BF28 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l +/* 8030EFCC 0030BF2C 38 A5 74 00 */ addi r5, r5, lbl_803D7400@l +/* 8030EFD0 0030BF30 38 61 00 08 */ addi r3, r1, 8 +/* 8030EFD4 0030BF34 38 80 FF FF */ li r4, -1 +/* 8030EFD8 0030BF38 4B FC 73 FD */ bl __ct__10CCallStackFUiPCcPCc +/* 8030EFDC 0030BF3C 7C 67 1B 78 */ mr r7, r3 +/* 8030EFE0 0030BF40 80 7D 00 08 */ lwz r3, 8(r29) +/* 8030EFE4 0030BF44 38 80 00 02 */ li r4, 2 +/* 8030EFE8 0030BF48 38 A0 00 01 */ li r5, 1 +/* 8030EFEC 0030BF4C 38 C0 00 00 */ li r6, 0 +/* 8030EFF0 0030BF50 48 00 69 A5 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 8030EFF4 0030BF54 7C 7F 1B 78 */ mr r31, r3 +/* 8030EFF8 0030BF58 80 7D 00 18 */ lwz r3, 0x18(r29) +/* 8030EFFC 0030BF5C 48 00 69 35 */ bl Free__7CMemoryFPCv +/* 8030F000 0030BF60 93 FD 00 18 */ stw r31, 0x18(r29) +/* 8030F004 0030BF64 38 7E 00 04 */ addi r3, r30, 4 +/* 8030F008 0030BF68 38 81 00 10 */ addi r4, r1, 0x10 +/* 8030F00C 0030BF6C 80 BD 00 18 */ lwz r5, 0x18(r29) +/* 8030F010 0030BF70 48 02 CB 69 */ bl LoadResourceAsync__10CResLoaderFRC10SObjectTagPc +/* 8030F014 0030BF74 80 1D 00 14 */ lwz r0, 0x14(r29) +/* 8030F018 0030BF78 7C 7F 1B 78 */ mr r31, r3 +/* 8030F01C 0030BF7C 28 00 00 00 */ cmplwi r0, 0 +/* 8030F020 0030BF80 41 82 00 1C */ beq lbl_8030F03C +/* 8030F024 0030BF84 7C 03 03 78 */ mr r3, r0 +/* 8030F028 0030BF88 38 80 00 01 */ li r4, 1 +/* 8030F02C 0030BF8C 81 83 00 00 */ lwz r12, 0(r3) +/* 8030F030 0030BF90 81 8C 00 08 */ lwz r12, 8(r12) +/* 8030F034 0030BF94 7D 89 03 A6 */ mtctr r12 +/* 8030F038 0030BF98 4E 80 04 21 */ bctrl +lbl_8030F03C: +/* 8030F03C 0030BF9C 93 FD 00 14 */ stw r31, 0x14(r29) +/* 8030F040 0030BFA0 38 00 00 01 */ li r0, 1 +/* 8030F044 0030BFA4 90 1D 00 00 */ stw r0, 0(r29) +lbl_8030F048: +/* 8030F048 0030BFA8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8030F04C 0030BFAC 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8030F050 0030BFB0 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8030F054 0030BFB4 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8030F058 0030BFB8 7C 08 03 A6 */ mtlr r0 +/* 8030F05C 0030BFBC 38 21 00 30 */ addi r1, r1, 0x30 +/* 8030F060 0030BFC0 4E 80 00 20 */ blr + +.global __ct__Q28CTexture25CDumpedBitmapDataReloaderFUiUib +__ct__Q28CTexture25CDumpedBitmapDataReloaderFUiUib: +/* 8030F064 0030BFC4 38 00 00 00 */ li r0, 0 +/* 8030F068 0030BFC8 90 03 00 00 */ stw r0, 0(r3) +/* 8030F06C 0030BFCC 90 83 00 04 */ stw r4, 4(r3) +/* 8030F070 0030BFD0 90 03 00 08 */ stw r0, 8(r3) +/* 8030F074 0030BFD4 90 A3 00 0C */ stw r5, 0xc(r3) +/* 8030F078 0030BFD8 98 C3 00 10 */ stb r6, 0x10(r3) +/* 8030F07C 0030BFDC 90 03 00 14 */ stw r0, 0x14(r3) +/* 8030F080 0030BFE0 90 03 00 18 */ stw r0, 0x18(r3) +/* 8030F084 0030BFE4 4E 80 00 20 */ blr + +.global sub_8030f088 +sub_8030f088: +/* 8030F088 0030BFE8 80 83 00 14 */ lwz r4, 0x14(r3) +/* 8030F08C 0030BFEC 28 04 00 00 */ cmplwi r4, 0 +/* 8030F090 0030BFF0 41 82 00 1C */ beq lbl_8030F0AC +/* 8030F094 0030BFF4 80 04 00 00 */ lwz r0, 0(r4) +/* 8030F098 0030BFF8 38 60 00 05 */ li r3, 5 +/* 8030F09C 0030BFFC 2C 00 00 00 */ cmpwi r0, 0 +/* 8030F0A0 0030C000 4C 82 00 20 */ bnelr +/* 8030F0A4 0030C004 38 60 00 02 */ li r3, 2 +/* 8030F0A8 0030C008 4E 80 00 20 */ blr +lbl_8030F0AC: +/* 8030F0AC 0030C00C 80 03 00 44 */ lwz r0, 0x44(r3) +/* 8030F0B0 0030C010 2C 00 00 02 */ cmpwi r0, 2 +/* 8030F0B4 0030C014 41 82 00 38 */ beq lbl_8030F0EC +/* 8030F0B8 0030C018 40 80 00 14 */ bge lbl_8030F0CC +/* 8030F0BC 0030C01C 2C 00 00 00 */ cmpwi r0, 0 +/* 8030F0C0 0030C020 41 82 00 1C */ beq lbl_8030F0DC +/* 8030F0C4 0030C024 40 80 00 20 */ bge lbl_8030F0E4 +/* 8030F0C8 0030C028 48 00 00 34 */ b lbl_8030F0FC +lbl_8030F0CC: +/* 8030F0CC 0030C02C 2C 00 00 05 */ cmpwi r0, 5 +/* 8030F0D0 0030C030 41 82 00 1C */ beq lbl_8030F0EC +/* 8030F0D4 0030C034 40 80 00 28 */ bge lbl_8030F0FC +/* 8030F0D8 0030C038 48 00 00 1C */ b lbl_8030F0F4 +lbl_8030F0DC: +/* 8030F0DC 0030C03C 38 60 00 01 */ li r3, 1 +/* 8030F0E0 0030C040 4E 80 00 20 */ blr +lbl_8030F0E4: +/* 8030F0E4 0030C044 38 60 00 00 */ li r3, 0 +/* 8030F0E8 0030C048 4E 80 00 20 */ blr +lbl_8030F0EC: +/* 8030F0EC 0030C04C 38 60 00 03 */ li r3, 3 +/* 8030F0F0 0030C050 4E 80 00 20 */ blr +lbl_8030F0F4: +/* 8030F0F4 0030C054 38 60 00 04 */ li r3, 4 +/* 8030F0F8 0030C058 4E 80 00 20 */ blr +lbl_8030F0FC: +/* 8030F0FC 0030C05C 38 60 FF FF */ li r3, -1 +/* 8030F100 0030C060 4E 80 00 20 */ blr + +.global TryReloadBitmapData__8CTextureCFR11CResFactory +TryReloadBitmapData__8CTextureCFR11CResFactory: +/* 8030F104 0030C064 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8030F108 0030C068 7C 08 02 A6 */ mflr r0 +/* 8030F10C 0030C06C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8030F110 0030C070 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8030F114 0030C074 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8030F118 0030C078 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8030F11C 0030C07C 7C 9D 23 78 */ mr r29, r4 +/* 8030F120 0030C080 93 81 00 10 */ stw r28, 0x10(r1) +/* 8030F124 0030C084 7C 7C 1B 78 */ mr r28, r3 +/* 8030F128 0030C088 80 63 00 14 */ lwz r3, 0x14(r3) +/* 8030F12C 0030C08C 28 03 00 00 */ cmplwi r3, 0 +/* 8030F130 0030C090 40 82 00 0C */ bne lbl_8030F13C +/* 8030F134 0030C094 38 60 00 01 */ li r3, 1 +/* 8030F138 0030C098 48 00 00 AC */ b lbl_8030F1E4 +lbl_8030F13C: +/* 8030F13C 0030C09C 4B FF FE 35 */ bl BeginReloadBitmapData__Q28CTexture25CDumpedBitmapDataReloaderFR11CResFactory +/* 8030F140 0030C0A0 80 7C 00 14 */ lwz r3, 0x14(r28) +/* 8030F144 0030C0A4 7F A4 EB 78 */ mr r4, r29 +/* 8030F148 0030C0A8 4B FF FB 31 */ bl TryBuildReloadedBitmapData__Q28CTexture25CDumpedBitmapDataReloaderFR11CResFactory +/* 8030F14C 0030C0AC 7C 7D 1B 79 */ or. r29, r3, r3 +/* 8030F150 0030C0B0 41 82 00 90 */ beq lbl_8030F1E0 +/* 8030F154 0030C0B4 83 DC 00 14 */ lwz r30, 0x14(r28) +/* 8030F158 0030C0B8 28 1E 00 00 */ cmplwi r30, 0 +/* 8030F15C 0030C0BC 8B FE 00 10 */ lbz r31, 0x10(r30) +/* 8030F160 0030C0C0 41 82 00 44 */ beq lbl_8030F1A4 +/* 8030F164 0030C0C4 34 1E 00 18 */ addic. r0, r30, 0x18 +/* 8030F168 0030C0C8 41 82 00 0C */ beq lbl_8030F174 +/* 8030F16C 0030C0CC 80 7E 00 18 */ lwz r3, 0x18(r30) +/* 8030F170 0030C0D0 48 00 67 C1 */ bl Free__7CMemoryFPCv +lbl_8030F174: +/* 8030F174 0030C0D4 34 1E 00 14 */ addic. r0, r30, 0x14 +/* 8030F178 0030C0D8 41 82 00 24 */ beq lbl_8030F19C +/* 8030F17C 0030C0DC 80 7E 00 14 */ lwz r3, 0x14(r30) +/* 8030F180 0030C0E0 28 03 00 00 */ cmplwi r3, 0 +/* 8030F184 0030C0E4 41 82 00 18 */ beq lbl_8030F19C +/* 8030F188 0030C0E8 81 83 00 00 */ lwz r12, 0(r3) +/* 8030F18C 0030C0EC 38 80 00 01 */ li r4, 1 +/* 8030F190 0030C0F0 81 8C 00 08 */ lwz r12, 8(r12) +/* 8030F194 0030C0F4 7D 89 03 A6 */ mtctr r12 +/* 8030F198 0030C0F8 4E 80 04 21 */ bctrl +lbl_8030F19C: +/* 8030F19C 0030C0FC 7F C3 F3 78 */ mr r3, r30 +/* 8030F1A0 0030C100 48 00 67 91 */ bl Free__7CMemoryFPCv +lbl_8030F1A4: +/* 8030F1A4 0030C104 38 00 00 00 */ li r0, 0 +/* 8030F1A8 0030C108 7F A4 EB 78 */ mr r4, r29 +/* 8030F1AC 0030C10C 90 1C 00 14 */ stw r0, 0x14(r28) +/* 8030F1B0 0030C110 38 7C 00 44 */ addi r3, r28, 0x44 +/* 8030F1B4 0030C114 38 C0 00 01 */ li r6, 1 +/* 8030F1B8 0030C118 80 BC 00 0C */ lwz r5, 0xc(r28) +/* 8030F1BC 0030C11C 48 04 97 19 */ bl PostConstruct__10CARAMTokenFPvUi +/* 8030F1C0 0030C120 7F 83 E3 78 */ mr r3, r28 +/* 8030F1C4 0030C124 48 00 06 6D */ bl InitTextureObjects__8CTextureFv +/* 8030F1C8 0030C128 28 1F 00 00 */ cmplwi r31, 0 +/* 8030F1CC 0030C12C 41 82 00 0C */ beq lbl_8030F1D8 +/* 8030F1D0 0030C130 7F 83 E3 78 */ mr r3, r28 +/* 8030F1D4 0030C134 4B FF F9 AD */ bl LoadToARAM__8CTextureCFv +lbl_8030F1D8: +/* 8030F1D8 0030C138 38 60 00 01 */ li r3, 1 +/* 8030F1DC 0030C13C 48 00 00 08 */ b lbl_8030F1E4 +lbl_8030F1E0: +/* 8030F1E0 0030C140 38 60 00 00 */ li r3, 0 +lbl_8030F1E4: +/* 8030F1E4 0030C144 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8030F1E8 0030C148 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8030F1EC 0030C14C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8030F1F0 0030C150 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8030F1F4 0030C154 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8030F1F8 0030C158 7C 08 03 A6 */ mtlr r0 +/* 8030F1FC 0030C15C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8030F200 0030C160 4E 80 00 20 */ blr + +.global UnloadBitmapData__8CTextureCFUi +UnloadBitmapData__8CTextureCFUi: +/* 8030F204 0030C164 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8030F208 0030C168 7C 08 02 A6 */ mflr r0 +/* 8030F20C 0030C16C 90 01 00 44 */ stw r0, 0x44(r1) +/* 8030F210 0030C170 BF 61 00 2C */ stmw r27, 0x2c(r1) +/* 8030F214 0030C174 7C 9B 23 78 */ mr r27, r4 +/* 8030F218 0030C178 7C 7F 1B 78 */ mr r31, r3 +/* 8030F21C 0030C17C 80 83 00 14 */ lwz r4, 0x14(r3) +/* 8030F220 0030C180 28 04 00 00 */ cmplwi r4, 0 +/* 8030F224 0030C184 41 82 00 8C */ beq lbl_8030F2B0 +/* 8030F228 0030C188 3C 60 80 3D */ lis r3, lbl_803D7400@ha +/* 8030F22C 0030C18C 8B C4 00 10 */ lbz r30, 0x10(r4) +/* 8030F230 0030C190 38 83 74 00 */ addi r4, r3, lbl_803D7400@l +/* 8030F234 0030C194 38 A0 00 00 */ li r5, 0 +/* 8030F238 0030C198 38 60 00 1C */ li r3, 0x1c +/* 8030F23C 0030C19C 48 00 66 31 */ bl __nw__FUlPCcPCc +/* 8030F240 0030C1A0 7C 7D 1B 79 */ or. r29, r3, r3 +/* 8030F244 0030C1A4 41 82 00 18 */ beq lbl_8030F25C +/* 8030F248 0030C1A8 80 BF 00 0C */ lwz r5, 0xc(r31) +/* 8030F24C 0030C1AC 7F 64 DB 78 */ mr r4, r27 +/* 8030F250 0030C1B0 7F C6 F3 78 */ mr r6, r30 +/* 8030F254 0030C1B4 4B FF FE 11 */ bl __ct__Q28CTexture25CDumpedBitmapDataReloaderFUiUib +/* 8030F258 0030C1B8 7C 7D 1B 78 */ mr r29, r3 +lbl_8030F25C: +/* 8030F25C 0030C1BC 83 DF 00 14 */ lwz r30, 0x14(r31) +/* 8030F260 0030C1C0 28 1E 00 00 */ cmplwi r30, 0 +/* 8030F264 0030C1C4 41 82 00 44 */ beq lbl_8030F2A8 +/* 8030F268 0030C1C8 34 1E 00 18 */ addic. r0, r30, 0x18 +/* 8030F26C 0030C1CC 41 82 00 0C */ beq lbl_8030F278 +/* 8030F270 0030C1D0 80 7E 00 18 */ lwz r3, 0x18(r30) +/* 8030F274 0030C1D4 48 00 66 BD */ bl Free__7CMemoryFPCv +lbl_8030F278: +/* 8030F278 0030C1D8 34 1E 00 14 */ addic. r0, r30, 0x14 +/* 8030F27C 0030C1DC 41 82 00 24 */ beq lbl_8030F2A0 +/* 8030F280 0030C1E0 80 7E 00 14 */ lwz r3, 0x14(r30) +/* 8030F284 0030C1E4 28 03 00 00 */ cmplwi r3, 0 +/* 8030F288 0030C1E8 41 82 00 18 */ beq lbl_8030F2A0 +/* 8030F28C 0030C1EC 81 83 00 00 */ lwz r12, 0(r3) +/* 8030F290 0030C1F0 38 80 00 01 */ li r4, 1 +/* 8030F294 0030C1F4 81 8C 00 08 */ lwz r12, 8(r12) +/* 8030F298 0030C1F8 7D 89 03 A6 */ mtctr r12 +/* 8030F29C 0030C1FC 4E 80 04 21 */ bctrl +lbl_8030F2A0: +/* 8030F2A0 0030C200 7F C3 F3 78 */ mr r3, r30 +/* 8030F2A4 0030C204 48 00 66 8D */ bl Free__7CMemoryFPCv +lbl_8030F2A8: +/* 8030F2A8 0030C208 93 BF 00 14 */ stw r29, 0x14(r31) +/* 8030F2AC 0030C20C 48 00 00 D8 */ b lbl_8030F384 +lbl_8030F2B0: +/* 8030F2B0 0030C210 80 7F 00 44 */ lwz r3, 0x44(r31) +/* 8030F2B4 0030C214 3B A0 00 01 */ li r29, 1 +/* 8030F2B8 0030C218 38 00 00 00 */ li r0, 0 +/* 8030F2BC 0030C21C 2C 03 00 00 */ cmpwi r3, 0 +/* 8030F2C0 0030C220 41 82 00 0C */ beq lbl_8030F2CC +/* 8030F2C4 0030C224 2C 03 00 02 */ cmpwi r3, 2 +/* 8030F2C8 0030C228 40 82 00 08 */ bne lbl_8030F2D0 +lbl_8030F2CC: +/* 8030F2CC 0030C22C 38 00 00 01 */ li r0, 1 +lbl_8030F2D0: +/* 8030F2D0 0030C230 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 8030F2D4 0030C234 40 82 00 10 */ bne lbl_8030F2E4 +/* 8030F2D8 0030C238 2C 03 00 05 */ cmpwi r3, 5 +/* 8030F2DC 0030C23C 41 82 00 08 */ beq lbl_8030F2E4 +/* 8030F2E0 0030C240 3B A0 00 00 */ li r29, 0 +lbl_8030F2E4: +/* 8030F2E4 0030C244 38 61 00 08 */ addi r3, r1, 8 +/* 8030F2E8 0030C248 48 04 98 15 */ bl __ct__10CARAMTokenFv +/* 8030F2EC 0030C24C 38 7F 00 44 */ addi r3, r31, 0x44 +/* 8030F2F0 0030C250 38 81 00 08 */ addi r4, r1, 8 +/* 8030F2F4 0030C254 48 04 95 81 */ bl __as__10CARAMTokenFRC10CARAMToken +/* 8030F2F8 0030C258 38 61 00 08 */ addi r3, r1, 8 +/* 8030F2FC 0030C25C 38 80 FF FF */ li r4, -1 +/* 8030F300 0030C260 48 04 96 45 */ bl __dt__10CARAMTokenFv +/* 8030F304 0030C264 3C 80 80 3D */ lis r4, lbl_803D7400@ha +/* 8030F308 0030C268 38 60 00 1C */ li r3, 0x1c +/* 8030F30C 0030C26C 38 84 74 00 */ addi r4, r4, lbl_803D7400@l +/* 8030F310 0030C270 38 A0 00 00 */ li r5, 0 +/* 8030F314 0030C274 48 00 65 59 */ bl __nw__FUlPCcPCc +/* 8030F318 0030C278 7C 7C 1B 79 */ or. r28, r3, r3 +/* 8030F31C 0030C27C 41 82 00 18 */ beq lbl_8030F334 +/* 8030F320 0030C280 80 BF 00 0C */ lwz r5, 0xc(r31) +/* 8030F324 0030C284 7F 64 DB 78 */ mr r4, r27 +/* 8030F328 0030C288 7F A6 EB 78 */ mr r6, r29 +/* 8030F32C 0030C28C 4B FF FD 39 */ bl __ct__Q28CTexture25CDumpedBitmapDataReloaderFUiUib +/* 8030F330 0030C290 7C 7C 1B 78 */ mr r28, r3 +lbl_8030F334: +/* 8030F334 0030C294 83 DF 00 14 */ lwz r30, 0x14(r31) +/* 8030F338 0030C298 28 1E 00 00 */ cmplwi r30, 0 +/* 8030F33C 0030C29C 41 82 00 44 */ beq lbl_8030F380 +/* 8030F340 0030C2A0 34 1E 00 18 */ addic. r0, r30, 0x18 +/* 8030F344 0030C2A4 41 82 00 0C */ beq lbl_8030F350 +/* 8030F348 0030C2A8 80 7E 00 18 */ lwz r3, 0x18(r30) +/* 8030F34C 0030C2AC 48 00 65 E5 */ bl Free__7CMemoryFPCv +lbl_8030F350: +/* 8030F350 0030C2B0 34 1E 00 14 */ addic. r0, r30, 0x14 +/* 8030F354 0030C2B4 41 82 00 24 */ beq lbl_8030F378 +/* 8030F358 0030C2B8 80 7E 00 14 */ lwz r3, 0x14(r30) +/* 8030F35C 0030C2BC 28 03 00 00 */ cmplwi r3, 0 +/* 8030F360 0030C2C0 41 82 00 18 */ beq lbl_8030F378 +/* 8030F364 0030C2C4 81 83 00 00 */ lwz r12, 0(r3) +/* 8030F368 0030C2C8 38 80 00 01 */ li r4, 1 +/* 8030F36C 0030C2CC 81 8C 00 08 */ lwz r12, 8(r12) +/* 8030F370 0030C2D0 7D 89 03 A6 */ mtctr r12 +/* 8030F374 0030C2D4 4E 80 04 21 */ bctrl +lbl_8030F378: +/* 8030F378 0030C2D8 7F C3 F3 78 */ mr r3, r30 +/* 8030F37C 0030C2DC 48 00 65 B5 */ bl Free__7CMemoryFPCv +lbl_8030F380: +/* 8030F380 0030C2E0 93 9F 00 14 */ stw r28, 0x14(r31) +lbl_8030F384: +/* 8030F384 0030C2E4 BB 61 00 2C */ lmw r27, 0x2c(r1) +/* 8030F388 0030C2E8 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8030F38C 0030C2EC 7C 08 03 A6 */ mtlr r0 +/* 8030F390 0030C2F0 38 21 00 40 */ addi r1, r1, 0x40 +/* 8030F394 0030C2F4 4E 80 00 20 */ blr + +.global LoadMipLevel__8CTextureCFi11_GXTexMapIDQ28CTexture10EClampMode +LoadMipLevel__8CTextureCFi11_GXTexMapIDQ28CTexture10EClampMode: +/* 8030F398 0030C2F8 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8030F39C 0030C2FC 7C 08 02 A6 */ mflr r0 +/* 8030F3A0 0030C300 90 01 00 44 */ stw r0, 0x44(r1) +/* 8030F3A4 0030C304 BF 61 00 2C */ stmw r27, 0x2c(r1) +/* 8030F3A8 0030C308 7C 7D 1B 78 */ mr r29, r3 +/* 8030F3AC 0030C30C 7C 9E 23 78 */ mr r30, r4 +/* 8030F3B0 0030C310 7C BF 2B 78 */ mr r31, r5 +/* 8030F3B4 0030C314 7C DB 33 78 */ mr r27, r6 +/* 8030F3B8 0030C318 38 7D 00 44 */ addi r3, r29, 0x44 +/* 8030F3BC 0030C31C 48 04 8F 79 */ bl GetMRAMSafe__10CARAMTokenFv +/* 8030F3C0 0030C320 80 BD 00 20 */ lwz r5, 0x20(r29) +/* 8030F3C4 0030C324 2C 1E 00 00 */ cmpwi r30, 0 +/* 8030F3C8 0030C328 80 DD 00 24 */ lwz r6, 0x24(r29) +/* 8030F3CC 0030C32C 7C 60 1B 78 */ mr r0, r3 +/* 8030F3D0 0030C330 83 9D 00 28 */ lwz r28, 0x28(r29) +/* 8030F3D4 0030C334 7F 68 DB 78 */ mr r8, r27 +/* 8030F3D8 0030C338 81 9D 00 2C */ lwz r12, 0x2c(r29) +/* 8030F3DC 0030C33C 38 80 00 00 */ li r4, 0 +/* 8030F3E0 0030C340 81 7D 00 30 */ lwz r11, 0x30(r29) +/* 8030F3E4 0030C344 38 E0 00 00 */ li r7, 0 +/* 8030F3E8 0030C348 81 5D 00 34 */ lwz r10, 0x34(r29) +/* 8030F3EC 0030C34C 81 3D 00 38 */ lwz r9, 0x38(r29) +/* 8030F3F0 0030C350 80 7D 00 3C */ lwz r3, 0x3c(r29) +/* 8030F3F4 0030C354 90 A1 00 08 */ stw r5, 8(r1) +/* 8030F3F8 0030C358 A8 BD 00 04 */ lha r5, 4(r29) +/* 8030F3FC 0030C35C 90 C1 00 0C */ stw r6, 0xc(r1) +/* 8030F400 0030C360 A8 DD 00 06 */ lha r6, 6(r29) +/* 8030F404 0030C364 93 81 00 10 */ stw r28, 0x10(r1) +/* 8030F408 0030C368 91 81 00 14 */ stw r12, 0x14(r1) +/* 8030F40C 0030C36C 91 61 00 18 */ stw r11, 0x18(r1) +/* 8030F410 0030C370 91 41 00 1C */ stw r10, 0x1c(r1) +/* 8030F414 0030C374 91 21 00 20 */ stw r9, 0x20(r1) +/* 8030F418 0030C378 90 61 00 24 */ stw r3, 0x24(r1) +/* 8030F41C 0030C37C 40 81 02 7C */ ble lbl_8030F698 +/* 8030F420 0030C380 2C 1E 00 08 */ cmpwi r30, 8 +/* 8030F424 0030C384 39 3E FF F8 */ addi r9, r30, -8 +/* 8030F428 0030C388 40 81 02 10 */ ble lbl_8030F638 +/* 8030F42C 0030C38C 38 69 00 07 */ addi r3, r9, 7 +/* 8030F430 0030C390 54 63 E8 FE */ srwi r3, r3, 3 +/* 8030F434 0030C394 7C 69 03 A6 */ mtctr r3 +/* 8030F438 0030C398 2C 09 00 00 */ cmpwi r9, 0 +/* 8030F43C 0030C39C 40 81 01 FC */ ble lbl_8030F638 +lbl_8030F440: +/* 8030F440 0030C3A0 38 65 00 03 */ addi r3, r5, 3 +/* 8030F444 0030C3A4 39 26 00 03 */ addi r9, r6, 3 +/* 8030F448 0030C3A8 54 6B 00 3A */ rlwinm r11, r3, 0, 0, 0x1d +/* 8030F44C 0030C3AC 88 7D 00 09 */ lbz r3, 9(r29) +/* 8030F450 0030C3B0 55 29 00 3A */ rlwinm r9, r9, 0, 0, 0x1d +/* 8030F454 0030C3B4 54 AA 0F FE */ srwi r10, r5, 0x1f +/* 8030F458 0030C3B8 7D 6B 49 D6 */ mullw r11, r11, r9 +/* 8030F45C 0030C3BC 7C 63 07 74 */ extsb r3, r3 +/* 8030F460 0030C3C0 54 C9 0F FE */ srwi r9, r6, 0x1f +/* 8030F464 0030C3C4 7D 4A 2A 14 */ add r10, r10, r5 +/* 8030F468 0030C3C8 7D 29 32 14 */ add r9, r9, r6 +/* 8030F46C 0030C3CC 7D 63 59 D6 */ mullw r11, r3, r11 +/* 8030F470 0030C3D0 7D 6B 1E 70 */ srawi r11, r11, 3 +/* 8030F474 0030C3D4 7D 6B 01 94 */ addze r11, r11 +/* 8030F478 0030C3D8 7D 4A 0E 70 */ srawi r10, r10, 1 +/* 8030F47C 0030C3DC 7D 29 0E 70 */ srawi r9, r9, 1 +/* 8030F480 0030C3E0 39 6B 00 1F */ addi r11, r11, 0x1f +/* 8030F484 0030C3E4 39 4A 00 03 */ addi r10, r10, 3 +/* 8030F488 0030C3E8 39 29 00 03 */ addi r9, r9, 3 +/* 8030F48C 0030C3EC 55 6B 00 34 */ rlwinm r11, r11, 0, 0, 0x1a +/* 8030F490 0030C3F0 55 4A 00 3A */ rlwinm r10, r10, 0, 0, 0x1d +/* 8030F494 0030C3F4 55 29 00 3A */ rlwinm r9, r9, 0, 0, 0x1d +/* 8030F498 0030C3F8 7C 84 5A 14 */ add r4, r4, r11 +/* 8030F49C 0030C3FC 7D 2A 49 D6 */ mullw r9, r10, r9 +/* 8030F4A0 0030C400 7D 23 49 D6 */ mullw r9, r3, r9 +/* 8030F4A4 0030C404 7D 29 1E 70 */ srawi r9, r9, 3 +/* 8030F4A8 0030C408 7D 69 01 94 */ addze r11, r9 +/* 8030F4AC 0030C40C 7C A9 16 70 */ srawi r9, r5, 2 +/* 8030F4B0 0030C410 7D 49 01 94 */ addze r10, r9 +/* 8030F4B4 0030C414 39 6B 00 1F */ addi r11, r11, 0x1f +/* 8030F4B8 0030C418 7C C9 16 70 */ srawi r9, r6, 2 +/* 8030F4BC 0030C41C 7D 29 01 94 */ addze r9, r9 +/* 8030F4C0 0030C420 39 4A 00 03 */ addi r10, r10, 3 +/* 8030F4C4 0030C424 39 29 00 03 */ addi r9, r9, 3 +/* 8030F4C8 0030C428 55 6B 00 34 */ rlwinm r11, r11, 0, 0, 0x1a +/* 8030F4CC 0030C42C 55 4A 00 3A */ rlwinm r10, r10, 0, 0, 0x1d +/* 8030F4D0 0030C430 55 29 00 3A */ rlwinm r9, r9, 0, 0, 0x1d +/* 8030F4D4 0030C434 7C 84 5A 14 */ add r4, r4, r11 +/* 8030F4D8 0030C438 7D 2A 49 D6 */ mullw r9, r10, r9 +/* 8030F4DC 0030C43C 7D 23 49 D6 */ mullw r9, r3, r9 +/* 8030F4E0 0030C440 7D 29 1E 70 */ srawi r9, r9, 3 +/* 8030F4E4 0030C444 7D 69 01 94 */ addze r11, r9 +/* 8030F4E8 0030C448 7C A9 1E 70 */ srawi r9, r5, 3 +/* 8030F4EC 0030C44C 7D 49 01 94 */ addze r10, r9 +/* 8030F4F0 0030C450 39 6B 00 1F */ addi r11, r11, 0x1f +/* 8030F4F4 0030C454 7C C9 1E 70 */ srawi r9, r6, 3 +/* 8030F4F8 0030C458 7D 29 01 94 */ addze r9, r9 +/* 8030F4FC 0030C45C 39 4A 00 03 */ addi r10, r10, 3 +/* 8030F500 0030C460 39 29 00 03 */ addi r9, r9, 3 +/* 8030F504 0030C464 55 6B 00 34 */ rlwinm r11, r11, 0, 0, 0x1a +/* 8030F508 0030C468 55 4A 00 3A */ rlwinm r10, r10, 0, 0, 0x1d +/* 8030F50C 0030C46C 55 29 00 3A */ rlwinm r9, r9, 0, 0, 0x1d +/* 8030F510 0030C470 7C 84 5A 14 */ add r4, r4, r11 +/* 8030F514 0030C474 7D 2A 49 D6 */ mullw r9, r10, r9 +/* 8030F518 0030C478 7D 23 49 D6 */ mullw r9, r3, r9 +/* 8030F51C 0030C47C 7D 29 1E 70 */ srawi r9, r9, 3 +/* 8030F520 0030C480 7D 69 01 94 */ addze r11, r9 +/* 8030F524 0030C484 7C A9 26 70 */ srawi r9, r5, 4 +/* 8030F528 0030C488 7D 49 01 94 */ addze r10, r9 +/* 8030F52C 0030C48C 39 6B 00 1F */ addi r11, r11, 0x1f +/* 8030F530 0030C490 7C C9 26 70 */ srawi r9, r6, 4 +/* 8030F534 0030C494 7D 29 01 94 */ addze r9, r9 +/* 8030F538 0030C498 39 4A 00 03 */ addi r10, r10, 3 +/* 8030F53C 0030C49C 39 29 00 03 */ addi r9, r9, 3 +/* 8030F540 0030C4A0 55 6B 00 34 */ rlwinm r11, r11, 0, 0, 0x1a +/* 8030F544 0030C4A4 55 4A 00 3A */ rlwinm r10, r10, 0, 0, 0x1d +/* 8030F548 0030C4A8 55 29 00 3A */ rlwinm r9, r9, 0, 0, 0x1d +/* 8030F54C 0030C4AC 7C 84 5A 14 */ add r4, r4, r11 +/* 8030F550 0030C4B0 7D 2A 49 D6 */ mullw r9, r10, r9 +/* 8030F554 0030C4B4 7D 23 49 D6 */ mullw r9, r3, r9 +/* 8030F558 0030C4B8 7D 29 1E 70 */ srawi r9, r9, 3 +/* 8030F55C 0030C4BC 7D 69 01 94 */ addze r11, r9 +/* 8030F560 0030C4C0 7C A9 2E 70 */ srawi r9, r5, 5 +/* 8030F564 0030C4C4 7D 49 01 94 */ addze r10, r9 +/* 8030F568 0030C4C8 39 6B 00 1F */ addi r11, r11, 0x1f +/* 8030F56C 0030C4CC 7C C9 2E 70 */ srawi r9, r6, 5 +/* 8030F570 0030C4D0 7D 29 01 94 */ addze r9, r9 +/* 8030F574 0030C4D4 39 4A 00 03 */ addi r10, r10, 3 +/* 8030F578 0030C4D8 39 29 00 03 */ addi r9, r9, 3 +/* 8030F57C 0030C4DC 55 6B 00 34 */ rlwinm r11, r11, 0, 0, 0x1a +/* 8030F580 0030C4E0 55 4A 00 3A */ rlwinm r10, r10, 0, 0, 0x1d +/* 8030F584 0030C4E4 55 29 00 3A */ rlwinm r9, r9, 0, 0, 0x1d +/* 8030F588 0030C4E8 7C 84 5A 14 */ add r4, r4, r11 +/* 8030F58C 0030C4EC 7D 2A 49 D6 */ mullw r9, r10, r9 +/* 8030F590 0030C4F0 7D 23 49 D6 */ mullw r9, r3, r9 +/* 8030F594 0030C4F4 7D 29 1E 70 */ srawi r9, r9, 3 +/* 8030F598 0030C4F8 7D 69 01 94 */ addze r11, r9 +/* 8030F59C 0030C4FC 7C A9 36 70 */ srawi r9, r5, 6 +/* 8030F5A0 0030C500 7D 49 01 94 */ addze r10, r9 +/* 8030F5A4 0030C504 39 6B 00 1F */ addi r11, r11, 0x1f +/* 8030F5A8 0030C508 7C C9 36 70 */ srawi r9, r6, 6 +/* 8030F5AC 0030C50C 7D 29 01 94 */ addze r9, r9 +/* 8030F5B0 0030C510 39 4A 00 03 */ addi r10, r10, 3 +/* 8030F5B4 0030C514 39 29 00 03 */ addi r9, r9, 3 +/* 8030F5B8 0030C518 55 6B 00 34 */ rlwinm r11, r11, 0, 0, 0x1a +/* 8030F5BC 0030C51C 55 4A 00 3A */ rlwinm r10, r10, 0, 0, 0x1d +/* 8030F5C0 0030C520 55 29 00 3A */ rlwinm r9, r9, 0, 0, 0x1d +/* 8030F5C4 0030C524 7C 84 5A 14 */ add r4, r4, r11 +/* 8030F5C8 0030C528 7D 2A 49 D6 */ mullw r9, r10, r9 +/* 8030F5CC 0030C52C 7D 23 49 D6 */ mullw r9, r3, r9 +/* 8030F5D0 0030C530 7D 29 1E 70 */ srawi r9, r9, 3 +/* 8030F5D4 0030C534 7D 29 01 94 */ addze r9, r9 +/* 8030F5D8 0030C538 39 29 00 1F */ addi r9, r9, 0x1f +/* 8030F5DC 0030C53C 55 29 00 34 */ rlwinm r9, r9, 0, 0, 0x1a +/* 8030F5E0 0030C540 7C 84 4A 14 */ add r4, r4, r9 +/* 8030F5E4 0030C544 7C A9 3E 70 */ srawi r9, r5, 7 +/* 8030F5E8 0030C548 38 E7 00 08 */ addi r7, r7, 8 +/* 8030F5EC 0030C54C 7D 49 01 94 */ addze r10, r9 +/* 8030F5F0 0030C550 7C C9 3E 70 */ srawi r9, r6, 7 +/* 8030F5F4 0030C554 7D 29 01 94 */ addze r9, r9 +/* 8030F5F8 0030C558 39 4A 00 03 */ addi r10, r10, 3 +/* 8030F5FC 0030C55C 39 29 00 03 */ addi r9, r9, 3 +/* 8030F600 0030C560 55 4A 00 3A */ rlwinm r10, r10, 0, 0, 0x1d +/* 8030F604 0030C564 55 29 00 3A */ rlwinm r9, r9, 0, 0, 0x1d +/* 8030F608 0030C568 7D 2A 49 D6 */ mullw r9, r10, r9 +/* 8030F60C 0030C56C 7C 63 49 D6 */ mullw r3, r3, r9 +/* 8030F610 0030C570 7C 63 1E 70 */ srawi r3, r3, 3 +/* 8030F614 0030C574 7D 23 01 94 */ addze r9, r3 +/* 8030F618 0030C578 7C A3 46 70 */ srawi r3, r5, 8 +/* 8030F61C 0030C57C 39 29 00 1F */ addi r9, r9, 0x1f +/* 8030F620 0030C580 7C A3 01 94 */ addze r5, r3 +/* 8030F624 0030C584 55 29 00 34 */ rlwinm r9, r9, 0, 0, 0x1a +/* 8030F628 0030C588 7C C3 46 70 */ srawi r3, r6, 8 +/* 8030F62C 0030C58C 7C 84 4A 14 */ add r4, r4, r9 +/* 8030F630 0030C590 7C C3 01 94 */ addze r6, r3 +/* 8030F634 0030C594 42 00 FE 0C */ bdnz lbl_8030F440 +lbl_8030F638: +/* 8030F638 0030C598 7C 67 F0 50 */ subf r3, r7, r30 +/* 8030F63C 0030C59C 7C 69 03 A6 */ mtctr r3 +/* 8030F640 0030C5A0 7C 07 F0 00 */ cmpw r7, r30 +/* 8030F644 0030C5A4 40 80 00 54 */ bge lbl_8030F698 +lbl_8030F648: +/* 8030F648 0030C5A8 38 E5 00 03 */ addi r7, r5, 3 +/* 8030F64C 0030C5AC 38 66 00 03 */ addi r3, r6, 3 +/* 8030F650 0030C5B0 54 E9 00 3A */ rlwinm r9, r7, 0, 0, 0x1d +/* 8030F654 0030C5B4 89 5D 00 09 */ lbz r10, 9(r29) +/* 8030F658 0030C5B8 54 63 00 3A */ rlwinm r3, r3, 0, 0, 0x1d +/* 8030F65C 0030C5BC 54 A7 0F FE */ srwi r7, r5, 0x1f +/* 8030F660 0030C5C0 7D 29 19 D6 */ mullw r9, r9, r3 +/* 8030F664 0030C5C4 7D 4A 07 74 */ extsb r10, r10 +/* 8030F668 0030C5C8 54 C3 0F FE */ srwi r3, r6, 0x1f +/* 8030F66C 0030C5CC 7C A7 2A 14 */ add r5, r7, r5 +/* 8030F670 0030C5D0 7C 63 32 14 */ add r3, r3, r6 +/* 8030F674 0030C5D4 7C CA 49 D6 */ mullw r6, r10, r9 +/* 8030F678 0030C5D8 7C C6 1E 70 */ srawi r6, r6, 3 +/* 8030F67C 0030C5DC 7C C6 01 94 */ addze r6, r6 +/* 8030F680 0030C5E0 38 C6 00 1F */ addi r6, r6, 0x1f +/* 8030F684 0030C5E4 7C A5 0E 70 */ srawi r5, r5, 1 +/* 8030F688 0030C5E8 54 C7 00 34 */ rlwinm r7, r6, 0, 0, 0x1a +/* 8030F68C 0030C5EC 7C 66 0E 70 */ srawi r6, r3, 1 +/* 8030F690 0030C5F0 7C 84 3A 14 */ add r4, r4, r7 +/* 8030F694 0030C5F4 42 00 FF B4 */ bdnz lbl_8030F648 +lbl_8030F698: +/* 8030F698 0030C5F8 80 FD 00 18 */ lwz r7, 0x18(r29) +/* 8030F69C 0030C5FC 7D 09 43 78 */ mr r9, r8 +/* 8030F6A0 0030C600 38 61 00 08 */ addi r3, r1, 8 +/* 8030F6A4 0030C604 7C 80 22 14 */ add r4, r0, r4 +/* 8030F6A8 0030C608 54 A5 04 3E */ clrlwi r5, r5, 0x10 +/* 8030F6AC 0030C60C 54 C6 04 3E */ clrlwi r6, r6, 0x10 +/* 8030F6B0 0030C610 39 40 00 00 */ li r10, 0 +/* 8030F6B4 0030C614 48 06 A7 B1 */ bl GXInitTexObj +/* 8030F6B8 0030C618 C0 22 C8 38 */ lfs f1, lbl_805AE558@sda21(r2) +/* 8030F6BC 0030C61C 38 61 00 08 */ addi r3, r1, 8 +/* 8030F6C0 0030C620 38 80 00 01 */ li r4, 1 +/* 8030F6C4 0030C624 38 A0 00 01 */ li r5, 1 +/* 8030F6C8 0030C628 FC 40 08 90 */ fmr f2, f1 +/* 8030F6CC 0030C62C 38 C0 00 00 */ li r6, 0 +/* 8030F6D0 0030C630 FC 60 08 90 */ fmr f3, f1 +/* 8030F6D4 0030C634 38 E0 00 00 */ li r7, 0 +/* 8030F6D8 0030C638 39 00 00 00 */ li r8, 0 +/* 8030F6DC 0030C63C 48 06 AA 45 */ bl GXInitTexObjLOD +/* 8030F6E0 0030C640 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 8030F6E4 0030C644 28 03 00 00 */ cmplwi r3, 0 +/* 8030F6E8 0030C648 41 82 00 18 */ beq lbl_8030F700 +/* 8030F6EC 0030C64C 4B FF E7 D9 */ bl Load__16CGraphicsPaletteCFv +/* 8030F6F0 0030C650 88 1D 00 0A */ lbz r0, 0xa(r29) +/* 8030F6F4 0030C654 38 60 00 00 */ li r3, 0 +/* 8030F6F8 0030C658 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 8030F6FC 0030C65C 98 1D 00 0A */ stb r0, 0xa(r29) +lbl_8030F700: +/* 8030F700 0030C660 7F E4 FB 78 */ mr r4, r31 +/* 8030F704 0030C664 38 61 00 08 */ addi r3, r1, 8 +/* 8030F708 0030C668 48 06 AD 8D */ bl GXLoadTexObj +/* 8030F70C 0030C66C 80 0D A8 70 */ lwz r0, lbl_805A9430@sda21(r13) +/* 8030F710 0030C670 3C 60 80 4C */ lis r3, lbl_804BFD10@ha +/* 8030F714 0030C674 57 E4 10 3A */ slwi r4, r31, 2 +/* 8030F718 0030C678 38 A0 00 00 */ li r5, 0 +/* 8030F71C 0030C67C 38 63 FD 10 */ addi r3, r3, lbl_804BFD10@l +/* 8030F720 0030C680 90 1D 00 64 */ stw r0, 0x64(r29) +/* 8030F724 0030C684 7C A3 21 2E */ stwx r5, r3, r4 +/* 8030F728 0030C688 BB 61 00 2C */ lmw r27, 0x2c(r1) +/* 8030F72C 0030C68C 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8030F730 0030C690 7C 08 03 A6 */ mtlr r0 +/* 8030F734 0030C694 38 21 00 40 */ addi r1, r1, 0x40 +/* 8030F738 0030C698 4E 80 00 20 */ blr + +.global Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode +Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode: +/* 8030F73C 0030C69C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8030F740 0030C6A0 7C 08 02 A6 */ mflr r0 +/* 8030F744 0030C6A4 90 01 00 24 */ stw r0, 0x24(r1) +/* 8030F748 0030C6A8 BF 41 00 08 */ stmw r26, 8(r1) +/* 8030F74C 0030C6AC 7C 9E 23 78 */ mr r30, r4 +/* 8030F750 0030C6B0 3C 80 80 4C */ lis r4, lbl_804BFD10@ha +/* 8030F754 0030C6B4 7C 7D 1B 78 */ mr r29, r3 +/* 8030F758 0030C6B8 57 DF 10 3A */ slwi r31, r30, 2 +/* 8030F75C 0030C6BC 7C BA 2B 78 */ mr r26, r5 +/* 8030F760 0030C6C0 3B 84 FD 10 */ addi r28, r4, lbl_804BFD10@l +/* 8030F764 0030C6C4 7C 1C F8 2E */ lwzx r0, r28, r31 +/* 8030F768 0030C6C8 7C 00 E8 40 */ cmplw r0, r29 +/* 8030F76C 0030C6CC 40 82 00 10 */ bne lbl_8030F77C +/* 8030F770 0030C6D0 88 1D 00 0A */ lbz r0, 0xa(r29) +/* 8030F774 0030C6D4 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 8030F778 0030C6D8 41 82 00 A4 */ beq lbl_8030F81C +lbl_8030F77C: +/* 8030F77C 0030C6DC 38 7D 00 44 */ addi r3, r29, 0x44 +/* 8030F780 0030C6E0 48 04 8B B5 */ bl GetMRAMSafe__10CARAMTokenFv +/* 8030F784 0030C6E4 7C 60 1B 78 */ mr r0, r3 +/* 8030F788 0030C6E8 7F A3 EB 78 */ mr r3, r29 +/* 8030F78C 0030C6EC 7C 1B 03 78 */ mr r27, r0 +/* 8030F790 0030C6F0 4B FF E9 FD */ bl CountMemory__8CTextureCFv +/* 8030F794 0030C6F4 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 8030F798 0030C6F8 28 03 00 00 */ cmplwi r3, 0 +/* 8030F79C 0030C6FC 41 82 00 18 */ beq lbl_8030F7B4 +/* 8030F7A0 0030C700 4B FF E7 25 */ bl Load__16CGraphicsPaletteCFv +/* 8030F7A4 0030C704 88 1D 00 0A */ lbz r0, 0xa(r29) +/* 8030F7A8 0030C708 38 60 00 00 */ li r3, 0 +/* 8030F7AC 0030C70C 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 8030F7B0 0030C710 98 1D 00 0A */ stb r0, 0xa(r29) +lbl_8030F7B4: +/* 8030F7B4 0030C714 88 1D 00 0A */ lbz r0, 0xa(r29) +/* 8030F7B8 0030C718 38 60 00 00 */ li r3, 0 +/* 8030F7BC 0030C71C 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 8030F7C0 0030C720 98 1D 00 0A */ stb r0, 0xa(r29) +/* 8030F7C4 0030C724 80 1D 00 40 */ lwz r0, 0x40(r29) +/* 8030F7C8 0030C728 7C 00 D0 00 */ cmpw r0, r26 +/* 8030F7CC 0030C72C 41 82 00 2C */ beq lbl_8030F7F8 +/* 8030F7D0 0030C730 88 1D 00 0A */ lbz r0, 0xa(r29) +/* 8030F7D4 0030C734 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 8030F7D8 0030C738 40 82 00 0C */ bne lbl_8030F7E4 +/* 8030F7DC 0030C73C 90 7D 00 40 */ stw r3, 0x40(r29) +/* 8030F7E0 0030C740 48 00 00 08 */ b lbl_8030F7E8 +lbl_8030F7E4: +/* 8030F7E4 0030C744 93 5D 00 40 */ stw r26, 0x40(r29) +lbl_8030F7E8: +/* 8030F7E8 0030C748 80 9D 00 40 */ lwz r4, 0x40(r29) +/* 8030F7EC 0030C74C 38 7D 00 20 */ addi r3, r29, 0x20 +/* 8030F7F0 0030C750 7C 85 23 78 */ mr r5, r4 +/* 8030F7F4 0030C754 48 06 AA D9 */ bl GXInitTexObjWrapMode +lbl_8030F7F8: +/* 8030F7F8 0030C758 7F 64 DB 78 */ mr r4, r27 +/* 8030F7FC 0030C75C 38 7D 00 20 */ addi r3, r29, 0x20 +/* 8030F800 0030C760 48 06 AA B5 */ bl GXInitTexObjData +/* 8030F804 0030C764 7F C4 F3 78 */ mr r4, r30 +/* 8030F808 0030C768 38 7D 00 20 */ addi r3, r29, 0x20 +/* 8030F80C 0030C76C 48 06 AC 89 */ bl GXLoadTexObj +/* 8030F810 0030C770 80 0D A8 70 */ lwz r0, lbl_805A9430@sda21(r13) +/* 8030F814 0030C774 7F BC F9 2E */ stwx r29, r28, r31 +/* 8030F818 0030C778 90 1D 00 64 */ stw r0, 0x64(r29) +lbl_8030F81C: +/* 8030F81C 0030C77C BB 41 00 08 */ lmw r26, 8(r1) +/* 8030F820 0030C780 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8030F824 0030C784 7C 08 03 A6 */ mtlr r0 +/* 8030F828 0030C788 38 21 00 20 */ addi r1, r1, 0x20 +/* 8030F82C 0030C78C 4E 80 00 20 */ blr + +.global InitTextureObjects__8CTextureFv +InitTextureObjects__8CTextureFv: +/* 8030F830 0030C790 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8030F834 0030C794 7C 08 02 A6 */ mflr r0 +/* 8030F838 0030C798 90 01 00 34 */ stw r0, 0x34(r1) +/* 8030F83C 0030C79C BF 41 00 18 */ stmw r26, 0x18(r1) +/* 8030F840 0030C7A0 7C 7F 1B 78 */ mr r31, r3 +/* 8030F844 0030C7A4 3B C0 00 00 */ li r30, 0 +/* 8030F848 0030C7A8 A8 63 00 04 */ lha r3, 4(r3) +/* 8030F84C 0030C7AC 48 00 54 0D */ bl FloorPowerOfTwo__5CMathFi +/* 8030F850 0030C7B0 A8 1F 00 04 */ lha r0, 4(r31) +/* 8030F854 0030C7B4 7C 00 18 00 */ cmpw r0, r3 +/* 8030F858 0030C7B8 40 82 00 1C */ bne lbl_8030F874 +/* 8030F85C 0030C7BC A8 7F 00 06 */ lha r3, 6(r31) +/* 8030F860 0030C7C0 48 00 53 F9 */ bl FloorPowerOfTwo__5CMathFi +/* 8030F864 0030C7C4 A8 1F 00 06 */ lha r0, 6(r31) +/* 8030F868 0030C7C8 7C 00 18 00 */ cmpw r0, r3 +/* 8030F86C 0030C7CC 40 82 00 08 */ bne lbl_8030F874 +/* 8030F870 0030C7D0 3B C0 00 01 */ li r30, 1 +lbl_8030F874: +/* 8030F874 0030C7D4 88 1F 00 0A */ lbz r0, 0xa(r31) +/* 8030F878 0030C7D8 53 C0 2E B4 */ rlwimi r0, r30, 5, 0x1a, 0x1a +/* 8030F87C 0030C7DC 98 1F 00 0A */ stb r0, 0xa(r31) +/* 8030F880 0030C7E0 88 1F 00 0A */ lbz r0, 0xa(r31) +/* 8030F884 0030C7E4 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 8030F888 0030C7E8 40 82 00 0C */ bne lbl_8030F894 +/* 8030F88C 0030C7EC 38 00 00 00 */ li r0, 0 +/* 8030F890 0030C7F0 90 1F 00 40 */ stw r0, 0x40(r31) +lbl_8030F894: +/* 8030F894 0030C7F4 88 9F 00 08 */ lbz r4, 8(r31) +/* 8030F898 0030C7F8 38 00 00 01 */ li r0, 1 +/* 8030F89C 0030C7FC 83 BF 00 40 */ lwz r29, 0x40(r31) +/* 8030F8A0 0030C800 38 7F 00 44 */ addi r3, r31, 0x44 +/* 8030F8A4 0030C804 7C 85 07 74 */ extsb r5, r4 +/* 8030F8A8 0030C808 AB 9F 00 04 */ lha r28, 4(r31) +/* 8030F8AC 0030C80C 7C A0 02 78 */ xor r0, r5, r0 +/* 8030F8B0 0030C810 AB 7F 00 06 */ lha r27, 6(r31) +/* 8030F8B4 0030C814 7C 04 0E 70 */ srawi r4, r0, 1 +/* 8030F8B8 0030C818 7C 00 28 38 */ and r0, r0, r5 +/* 8030F8BC 0030C81C 7C 00 20 50 */ subf r0, r0, r4 +/* 8030F8C0 0030C820 54 1E 0F FE */ srwi r30, r0, 0x1f +/* 8030F8C4 0030C824 48 04 8A 71 */ bl GetMRAMSafe__10CARAMTokenFv +/* 8030F8C8 0030C828 7C 60 1B 78 */ mr r0, r3 +/* 8030F8CC 0030C82C 7F E3 FB 78 */ mr r3, r31 +/* 8030F8D0 0030C830 7C 1A 03 78 */ mr r26, r0 +/* 8030F8D4 0030C834 4B FF E8 B9 */ bl CountMemory__8CTextureCFv +/* 8030F8D8 0030C838 80 1F 00 00 */ lwz r0, 0(r31) +/* 8030F8DC 0030C83C 2C 00 00 04 */ cmpwi r0, 4 +/* 8030F8E0 0030C840 40 82 00 0C */ bne lbl_8030F8EC +/* 8030F8E4 0030C844 38 00 00 01 */ li r0, 1 +/* 8030F8E8 0030C848 48 00 00 20 */ b lbl_8030F908 +lbl_8030F8EC: +/* 8030F8EC 0030C84C 2C 00 00 05 */ cmpwi r0, 5 +/* 8030F8F0 0030C850 40 82 00 0C */ bne lbl_8030F8FC +/* 8030F8F4 0030C854 38 00 00 01 */ li r0, 1 +/* 8030F8F8 0030C858 48 00 00 10 */ b lbl_8030F908 +lbl_8030F8FC: +/* 8030F8FC 0030C85C 20 00 00 06 */ subfic r0, r0, 6 +/* 8030F900 0030C860 7C 00 00 34 */ cntlzw r0, r0 +/* 8030F904 0030C864 54 00 D9 7E */ srwi r0, r0, 5 +lbl_8030F908: +/* 8030F908 0030C868 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 8030F90C 0030C86C 41 82 00 34 */ beq lbl_8030F940 +/* 8030F910 0030C870 38 00 00 00 */ li r0, 0 +/* 8030F914 0030C874 7F 44 D3 78 */ mr r4, r26 +/* 8030F918 0030C878 90 01 00 08 */ stw r0, 8(r1) +/* 8030F91C 0030C87C 7F A8 EB 78 */ mr r8, r29 +/* 8030F920 0030C880 7F A9 EB 78 */ mr r9, r29 +/* 8030F924 0030C884 7F CA F3 78 */ mr r10, r30 +/* 8030F928 0030C888 80 FF 00 1C */ lwz r7, 0x1c(r31) +/* 8030F92C 0030C88C 38 7F 00 20 */ addi r3, r31, 0x20 +/* 8030F930 0030C890 57 85 04 3E */ clrlwi r5, r28, 0x10 +/* 8030F934 0030C894 57 66 04 3E */ clrlwi r6, r27, 0x10 +/* 8030F938 0030C898 48 06 A7 A1 */ bl GXInitTexObjCI +/* 8030F93C 0030C89C 48 00 00 98 */ b lbl_8030F9D4 +lbl_8030F940: +/* 8030F940 0030C8A0 80 FF 00 18 */ lwz r7, 0x18(r31) +/* 8030F944 0030C8A4 7F 44 D3 78 */ mr r4, r26 +/* 8030F948 0030C8A8 7F A8 EB 78 */ mr r8, r29 +/* 8030F94C 0030C8AC 7F A9 EB 78 */ mr r9, r29 +/* 8030F950 0030C8B0 7F CA F3 78 */ mr r10, r30 +/* 8030F954 0030C8B4 38 7F 00 20 */ addi r3, r31, 0x20 +/* 8030F958 0030C8B8 57 85 04 3E */ clrlwi r5, r28, 0x10 +/* 8030F95C 0030C8BC 57 66 04 3E */ clrlwi r6, r27, 0x10 +/* 8030F960 0030C8C0 48 06 A5 05 */ bl GXInitTexObj +/* 8030F964 0030C8C4 88 BF 00 08 */ lbz r5, 8(r31) +/* 8030F968 0030C8C8 39 00 00 00 */ li r8, 0 +/* 8030F96C 0030C8CC 7C A0 07 74 */ extsb r0, r5 +/* 8030F970 0030C8D0 2C 00 00 01 */ cmpwi r0, 1 +/* 8030F974 0030C8D4 40 81 00 08 */ ble lbl_8030F97C +/* 8030F978 0030C8D8 39 00 00 02 */ li r8, 2 +lbl_8030F97C: +/* 8030F97C 0030C8DC 7C A0 07 74 */ extsb r0, r5 +/* 8030F980 0030C8E0 38 7F 00 20 */ addi r3, r31, 0x20 +/* 8030F984 0030C8E4 2C 00 00 01 */ cmpwi r0, 1 +/* 8030F988 0030C8E8 38 80 00 01 */ li r4, 1 +/* 8030F98C 0030C8EC 40 81 00 08 */ ble lbl_8030F994 +/* 8030F990 0030C8F0 38 80 00 05 */ li r4, 5 +lbl_8030F994: +/* 8030F994 0030C8F4 7C A5 07 74 */ extsb r5, r5 +/* 8030F998 0030C8F8 3C 00 43 30 */ lis r0, 0x4330 +/* 8030F99C 0030C8FC 6C A5 80 00 */ xoris r5, r5, 0x8000 +/* 8030F9A0 0030C900 C0 22 C8 38 */ lfs f1, lbl_805AE558@sda21(r2) +/* 8030F9A4 0030C904 90 A1 00 14 */ stw r5, 0x14(r1) +/* 8030F9A8 0030C908 38 A0 00 01 */ li r5, 1 +/* 8030F9AC 0030C90C C8 82 C8 40 */ lfd f4, lbl_805AE560@sda21(r2) +/* 8030F9B0 0030C910 FC 60 08 90 */ fmr f3, f1 +/* 8030F9B4 0030C914 90 01 00 10 */ stw r0, 0x10(r1) +/* 8030F9B8 0030C918 38 C0 00 00 */ li r6, 0 +/* 8030F9BC 0030C91C C0 02 C8 3C */ lfs f0, lbl_805AE55C@sda21(r2) +/* 8030F9C0 0030C920 38 E0 00 00 */ li r7, 0 +/* 8030F9C4 0030C924 C8 41 00 10 */ lfd f2, 0x10(r1) +/* 8030F9C8 0030C928 EC 42 20 28 */ fsubs f2, f2, f4 +/* 8030F9CC 0030C92C EC 42 00 28 */ fsubs f2, f2, f0 +/* 8030F9D0 0030C930 48 06 A7 51 */ bl GXInitTexObjLOD +lbl_8030F9D4: +/* 8030F9D4 0030C934 88 1F 00 0A */ lbz r0, 0xa(r31) +/* 8030F9D8 0030C938 38 60 00 01 */ li r3, 1 +/* 8030F9DC 0030C93C 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 8030F9E0 0030C940 98 1F 00 0A */ stb r0, 0xa(r31) +/* 8030F9E4 0030C944 BB 41 00 18 */ lmw r26, 0x18(r1) +/* 8030F9E8 0030C948 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8030F9EC 0030C94C 7C 08 03 A6 */ mtlr r0 +/* 8030F9F0 0030C950 38 21 00 30 */ addi r1, r1, 0x30 +/* 8030F9F4 0030C954 4E 80 00 20 */ blr + +.global __dt__8CTextureFv +__dt__8CTextureFv: +/* 8030F9F8 0030C958 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8030F9FC 0030C95C 7C 08 02 A6 */ mflr r0 +/* 8030FA00 0030C960 90 01 00 24 */ stw r0, 0x24(r1) +/* 8030FA04 0030C964 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8030FA08 0030C968 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8030FA0C 0030C96C 7C 9E 23 78 */ mr r30, r4 +/* 8030FA10 0030C970 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8030FA14 0030C974 7C 7D 1B 79 */ or. r29, r3, r3 +/* 8030FA18 0030C978 41 82 00 8C */ beq lbl_8030FAA4 +/* 8030FA1C 0030C97C 4B FF E7 45 */ bl UncountMemory__8CTextureCFv +/* 8030FA20 0030C980 38 7D 00 44 */ addi r3, r29, 0x44 +/* 8030FA24 0030C984 38 80 FF FF */ li r4, -1 +/* 8030FA28 0030C988 48 04 8F 1D */ bl __dt__10CARAMTokenFv +/* 8030FA2C 0030C98C 34 1D 00 14 */ addic. r0, r29, 0x14 +/* 8030FA30 0030C990 41 82 00 50 */ beq lbl_8030FA80 +/* 8030FA34 0030C994 83 FD 00 14 */ lwz r31, 0x14(r29) +/* 8030FA38 0030C998 28 1F 00 00 */ cmplwi r31, 0 +/* 8030FA3C 0030C99C 41 82 00 44 */ beq lbl_8030FA80 +/* 8030FA40 0030C9A0 34 1F 00 18 */ addic. r0, r31, 0x18 +/* 8030FA44 0030C9A4 41 82 00 0C */ beq lbl_8030FA50 +/* 8030FA48 0030C9A8 80 7F 00 18 */ lwz r3, 0x18(r31) +/* 8030FA4C 0030C9AC 48 00 5E E5 */ bl Free__7CMemoryFPCv +lbl_8030FA50: +/* 8030FA50 0030C9B0 34 1F 00 14 */ addic. r0, r31, 0x14 +/* 8030FA54 0030C9B4 41 82 00 24 */ beq lbl_8030FA78 +/* 8030FA58 0030C9B8 80 7F 00 14 */ lwz r3, 0x14(r31) +/* 8030FA5C 0030C9BC 28 03 00 00 */ cmplwi r3, 0 +/* 8030FA60 0030C9C0 41 82 00 18 */ beq lbl_8030FA78 +/* 8030FA64 0030C9C4 81 83 00 00 */ lwz r12, 0(r3) +/* 8030FA68 0030C9C8 38 80 00 01 */ li r4, 1 +/* 8030FA6C 0030C9CC 81 8C 00 08 */ lwz r12, 8(r12) +/* 8030FA70 0030C9D0 7D 89 03 A6 */ mtctr r12 +/* 8030FA74 0030C9D4 4E 80 04 21 */ bctrl +lbl_8030FA78: +/* 8030FA78 0030C9D8 7F E3 FB 78 */ mr r3, r31 +/* 8030FA7C 0030C9DC 48 00 5E B5 */ bl Free__7CMemoryFPCv +lbl_8030FA80: +/* 8030FA80 0030C9E0 34 1D 00 10 */ addic. r0, r29, 0x10 +/* 8030FA84 0030C9E4 41 82 00 10 */ beq lbl_8030FA94 +/* 8030FA88 0030C9E8 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 8030FA8C 0030C9EC 38 80 00 01 */ li r4, 1 +/* 8030FA90 0030C9F0 4B FF E4 71 */ bl __dt__16CGraphicsPaletteFv +lbl_8030FA94: +/* 8030FA94 0030C9F4 7F C0 07 35 */ extsh. r0, r30 +/* 8030FA98 0030C9F8 40 81 00 0C */ ble lbl_8030FAA4 +/* 8030FA9C 0030C9FC 7F A3 EB 78 */ mr r3, r29 +/* 8030FAA0 0030CA00 48 00 5E 91 */ bl Free__7CMemoryFPCv +lbl_8030FAA4: +/* 8030FAA4 0030CA04 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8030FAA8 0030CA08 7F A3 EB 78 */ mr r3, r29 +/* 8030FAAC 0030CA0C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8030FAB0 0030CA10 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8030FAB4 0030CA14 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8030FAB8 0030CA18 7C 08 03 A6 */ mtlr r0 +/* 8030FABC 0030CA1C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8030FAC0 0030CA20 4E 80 00 20 */ blr + +.global __ct__8CTextureFR12CInputStreamQ28CTexture11EAutoMipmapQ28CTexture9EBlackKey +__ct__8CTextureFR12CInputStreamQ28CTexture11EAutoMipmapQ28CTexture9EBlackKey: +/* 8030FAC4 0030CA24 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8030FAC8 0030CA28 7C 08 02 A6 */ mflr r0 +/* 8030FACC 0030CA2C 38 E0 00 00 */ li r7, 0 +/* 8030FAD0 0030CA30 38 C0 00 01 */ li r6, 1 +/* 8030FAD4 0030CA34 90 01 00 34 */ stw r0, 0x34(r1) +/* 8030FAD8 0030CA38 38 00 FF FF */ li r0, -1 +/* 8030FADC 0030CA3C 38 A0 00 04 */ li r5, 4 +/* 8030FAE0 0030CA40 BF 21 00 14 */ stmw r25, 0x14(r1) +/* 8030FAE4 0030CA44 7C 7D 1B 78 */ mr r29, r3 +/* 8030FAE8 0030CA48 7C 9E 23 78 */ mr r30, r4 +/* 8030FAEC 0030CA4C 90 03 00 00 */ stw r0, 0(r3) +/* 8030FAF0 0030CA50 38 00 00 09 */ li r0, 9 +/* 8030FAF4 0030CA54 B0 E3 00 04 */ sth r7, 4(r3) +/* 8030FAF8 0030CA58 38 7D 00 44 */ addi r3, r29, 0x44 +/* 8030FAFC 0030CA5C B0 FD 00 06 */ sth r7, 6(r29) +/* 8030FB00 0030CA60 98 FD 00 08 */ stb r7, 8(r29) +/* 8030FB04 0030CA64 98 FD 00 09 */ stb r7, 9(r29) +/* 8030FB08 0030CA68 88 9D 00 0A */ lbz r4, 0xa(r29) +/* 8030FB0C 0030CA6C 50 E4 3E 30 */ rlwimi r4, r7, 7, 0x18, 0x18 +/* 8030FB10 0030CA70 98 9D 00 0A */ stb r4, 0xa(r29) +/* 8030FB14 0030CA74 88 9D 00 0A */ lbz r4, 0xa(r29) +/* 8030FB18 0030CA78 50 E4 36 72 */ rlwimi r4, r7, 6, 0x19, 0x19 +/* 8030FB1C 0030CA7C 98 9D 00 0A */ stb r4, 0xa(r29) +/* 8030FB20 0030CA80 88 9D 00 0A */ lbz r4, 0xa(r29) +/* 8030FB24 0030CA84 50 E4 2E B4 */ rlwimi r4, r7, 5, 0x1a, 0x1a +/* 8030FB28 0030CA88 98 9D 00 0A */ stb r4, 0xa(r29) +/* 8030FB2C 0030CA8C 88 9D 00 0A */ lbz r4, 0xa(r29) +/* 8030FB30 0030CA90 50 C4 26 F6 */ rlwimi r4, r6, 4, 0x1b, 0x1b +/* 8030FB34 0030CA94 98 9D 00 0A */ stb r4, 0xa(r29) +/* 8030FB38 0030CA98 88 9D 00 0A */ lbz r4, 0xa(r29) +/* 8030FB3C 0030CA9C 50 E4 1F 38 */ rlwimi r4, r7, 3, 0x1c, 0x1c +/* 8030FB40 0030CAA0 98 9D 00 0A */ stb r4, 0xa(r29) +/* 8030FB44 0030CAA4 88 9D 00 0A */ lbz r4, 0xa(r29) +/* 8030FB48 0030CAA8 50 E4 17 7A */ rlwimi r4, r7, 2, 0x1d, 0x1d +/* 8030FB4C 0030CAAC 98 9D 00 0A */ stb r4, 0xa(r29) +/* 8030FB50 0030CAB0 90 FD 00 0C */ stw r7, 0xc(r29) +/* 8030FB54 0030CAB4 90 FD 00 10 */ stw r7, 0x10(r29) +/* 8030FB58 0030CAB8 90 FD 00 14 */ stw r7, 0x14(r29) +/* 8030FB5C 0030CABC 90 BD 00 18 */ stw r5, 0x18(r29) +/* 8030FB60 0030CAC0 90 1D 00 1C */ stw r0, 0x1c(r29) +/* 8030FB64 0030CAC4 90 DD 00 40 */ stw r6, 0x40(r29) +/* 8030FB68 0030CAC8 48 04 8F 95 */ bl __ct__10CARAMTokenFv +/* 8030FB6C 0030CACC 80 0D A8 70 */ lwz r0, lbl_805A9430@sda21(r13) +/* 8030FB70 0030CAD0 7F C3 F3 78 */ mr r3, r30 +/* 8030FB74 0030CAD4 90 1D 00 64 */ stw r0, 0x64(r29) +/* 8030FB78 0030CAD8 48 02 F1 0D */ bl ReadLong__12CInputStreamFv +/* 8030FB7C 0030CADC 90 7D 00 00 */ stw r3, 0(r29) +/* 8030FB80 0030CAE0 7F C3 F3 78 */ mr r3, r30 +/* 8030FB84 0030CAE4 48 02 F1 2D */ bl ReadShort__12CInputStreamFv +/* 8030FB88 0030CAE8 B0 7D 00 04 */ sth r3, 4(r29) +/* 8030FB8C 0030CAEC 7F C3 F3 78 */ mr r3, r30 +/* 8030FB90 0030CAF0 48 02 F1 21 */ bl ReadShort__12CInputStreamFv +/* 8030FB94 0030CAF4 B0 7D 00 06 */ sth r3, 6(r29) +/* 8030FB98 0030CAF8 7F C3 F3 78 */ mr r3, r30 +/* 8030FB9C 0030CAFC 48 02 F0 E9 */ bl ReadLong__12CInputStreamFv +/* 8030FBA0 0030CB00 98 7D 00 08 */ stb r3, 8(r29) +/* 8030FBA4 0030CB04 80 1D 00 00 */ lwz r0, 0(r29) +/* 8030FBA8 0030CB08 2C 00 00 04 */ cmpwi r0, 4 +/* 8030FBAC 0030CB0C 40 82 00 0C */ bne lbl_8030FBB8 +/* 8030FBB0 0030CB10 38 00 00 01 */ li r0, 1 +/* 8030FBB4 0030CB14 48 00 00 20 */ b lbl_8030FBD4 +lbl_8030FBB8: +/* 8030FBB8 0030CB18 2C 00 00 05 */ cmpwi r0, 5 +/* 8030FBBC 0030CB1C 40 82 00 0C */ bne lbl_8030FBC8 +/* 8030FBC0 0030CB20 38 00 00 01 */ li r0, 1 +/* 8030FBC4 0030CB24 48 00 00 10 */ b lbl_8030FBD4 +lbl_8030FBC8: +/* 8030FBC8 0030CB28 20 00 00 06 */ subfic r0, r0, 6 +/* 8030FBCC 0030CB2C 7C 00 00 34 */ cntlzw r0, r0 +/* 8030FBD0 0030CB30 54 00 D9 7E */ srwi r0, r0, 5 +lbl_8030FBD4: +/* 8030FBD4 0030CB34 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 8030FBD8 0030CB38 41 82 00 4C */ beq lbl_8030FC24 +/* 8030FBDC 0030CB3C 3C 80 80 3D */ lis r4, lbl_803D7400@ha +/* 8030FBE0 0030CB40 38 60 00 20 */ li r3, 0x20 +/* 8030FBE4 0030CB44 38 84 74 00 */ addi r4, r4, lbl_803D7400@l +/* 8030FBE8 0030CB48 38 A0 00 00 */ li r5, 0 +/* 8030FBEC 0030CB4C 48 00 5C 81 */ bl __nw__FUlPCcPCc +/* 8030FBF0 0030CB50 7C 7C 1B 79 */ or. r28, r3, r3 +/* 8030FBF4 0030CB54 41 82 00 10 */ beq lbl_8030FC04 +/* 8030FBF8 0030CB58 7F C4 F3 78 */ mr r4, r30 +/* 8030FBFC 0030CB5C 4B FF E3 8D */ bl __ct__16CGraphicsPaletteFR12CInputStream +/* 8030FC00 0030CB60 7C 7C 1B 78 */ mr r28, r3 +lbl_8030FC04: +/* 8030FC04 0030CB64 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 8030FC08 0030CB68 38 80 00 01 */ li r4, 1 +/* 8030FC0C 0030CB6C 4B FF E2 F5 */ bl __dt__16CGraphicsPaletteFv +/* 8030FC10 0030CB70 93 9D 00 10 */ stw r28, 0x10(r29) +/* 8030FC14 0030CB74 38 60 00 01 */ li r3, 1 +/* 8030FC18 0030CB78 88 1D 00 0A */ lbz r0, 0xa(r29) +/* 8030FC1C 0030CB7C 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 8030FC20 0030CB80 98 1D 00 0A */ stb r0, 0xa(r29) +lbl_8030FC24: +/* 8030FC24 0030CB84 80 7D 00 00 */ lwz r3, 0(r29) +/* 8030FC28 0030CB88 4B FF EE DD */ bl TexelFormatBitsPerPixel__8CTextureF12ETexelFormat +/* 8030FC2C 0030CB8C 98 7D 00 09 */ stb r3, 9(r29) +/* 8030FC30 0030CB90 7F A3 EB 78 */ mr r3, r29 +/* 8030FC34 0030CB94 88 FD 00 08 */ lbz r7, 8(r29) +/* 8030FC38 0030CB98 A8 BD 00 04 */ lha r5, 4(r29) +/* 8030FC3C 0030CB9C A8 DD 00 06 */ lha r6, 6(r29) +/* 8030FC40 0030CBA0 7C E7 07 74 */ extsb r7, r7 +/* 8030FC44 0030CBA4 80 9D 00 00 */ lwz r4, 0(r29) +/* 8030FC48 0030CBA8 4B FF ED 29 */ bl InitBitmapBuffers__8CTextureF12ETexelFormatssi +/* 8030FC4C 0030CBAC 89 1D 00 08 */ lbz r8, 8(r29) +/* 8030FC50 0030CBB0 3B E0 00 00 */ li r31, 0 +/* 8030FC54 0030CBB4 39 20 00 00 */ li r9, 0 +/* 8030FC58 0030CBB8 7D 08 07 75 */ extsb. r8, r8 +/* 8030FC5C 0030CBBC 40 81 01 20 */ ble lbl_8030FD7C +/* 8030FC60 0030CBC0 55 00 F0 BF */ rlwinm. r0, r8, 0x1e, 2, 0x1f +/* 8030FC64 0030CBC4 7C 09 03 A6 */ mtctr r0 +/* 8030FC68 0030CBC8 41 82 00 D0 */ beq lbl_8030FD38 +lbl_8030FC6C: +/* 8030FC6C 0030CBCC A8 FD 00 04 */ lha r7, 4(r29) +/* 8030FC70 0030CBD0 A8 BD 00 06 */ lha r5, 6(r29) +/* 8030FC74 0030CBD4 7C E6 4E 30 */ sraw r6, r7, r9 +/* 8030FC78 0030CBD8 88 1D 00 09 */ lbz r0, 9(r29) +/* 8030FC7C 0030CBDC 7C A4 4E 30 */ sraw r4, r5, r9 +/* 8030FC80 0030CBE0 39 29 00 01 */ addi r9, r9, 1 +/* 8030FC84 0030CBE4 7C 03 07 74 */ extsb r3, r0 +/* 8030FC88 0030CBE8 38 C6 00 03 */ addi r6, r6, 3 +/* 8030FC8C 0030CBEC 38 04 00 03 */ addi r0, r4, 3 +/* 8030FC90 0030CBF0 54 C4 00 3A */ rlwinm r4, r6, 0, 0, 0x1d +/* 8030FC94 0030CBF4 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d +/* 8030FC98 0030CBF8 7C 04 01 D6 */ mullw r0, r4, r0 +/* 8030FC9C 0030CBFC 7C 00 19 D6 */ mullw r0, r0, r3 +/* 8030FCA0 0030CC00 7C 00 1E 70 */ srawi r0, r0, 3 +/* 8030FCA4 0030CC04 7C E6 4E 30 */ sraw r6, r7, r9 +/* 8030FCA8 0030CC08 7C A4 4E 30 */ sraw r4, r5, r9 +/* 8030FCAC 0030CC0C 7F FF 02 14 */ add r31, r31, r0 +/* 8030FCB0 0030CC10 38 04 00 03 */ addi r0, r4, 3 +/* 8030FCB4 0030CC14 38 C6 00 03 */ addi r6, r6, 3 +/* 8030FCB8 0030CC18 54 C4 00 3A */ rlwinm r4, r6, 0, 0, 0x1d +/* 8030FCBC 0030CC1C 39 29 00 01 */ addi r9, r9, 1 +/* 8030FCC0 0030CC20 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d +/* 8030FCC4 0030CC24 7C 04 01 D6 */ mullw r0, r4, r0 +/* 8030FCC8 0030CC28 7C 00 19 D6 */ mullw r0, r0, r3 +/* 8030FCCC 0030CC2C 7C 00 1E 70 */ srawi r0, r0, 3 +/* 8030FCD0 0030CC30 7C E6 4E 30 */ sraw r6, r7, r9 +/* 8030FCD4 0030CC34 7C A4 4E 30 */ sraw r4, r5, r9 +/* 8030FCD8 0030CC38 7F FF 02 14 */ add r31, r31, r0 +/* 8030FCDC 0030CC3C 38 04 00 03 */ addi r0, r4, 3 +/* 8030FCE0 0030CC40 38 C6 00 03 */ addi r6, r6, 3 +/* 8030FCE4 0030CC44 54 C4 00 3A */ rlwinm r4, r6, 0, 0, 0x1d +/* 8030FCE8 0030CC48 39 29 00 01 */ addi r9, r9, 1 +/* 8030FCEC 0030CC4C 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d +/* 8030FCF0 0030CC50 7C 04 01 D6 */ mullw r0, r4, r0 +/* 8030FCF4 0030CC54 7C 00 19 D6 */ mullw r0, r0, r3 +/* 8030FCF8 0030CC58 7C 00 1E 70 */ srawi r0, r0, 3 +/* 8030FCFC 0030CC5C 7C E6 4E 30 */ sraw r6, r7, r9 +/* 8030FD00 0030CC60 7C A4 4E 30 */ sraw r4, r5, r9 +/* 8030FD04 0030CC64 7F FF 02 14 */ add r31, r31, r0 +/* 8030FD08 0030CC68 38 04 00 03 */ addi r0, r4, 3 +/* 8030FD0C 0030CC6C 38 C6 00 03 */ addi r6, r6, 3 +/* 8030FD10 0030CC70 54 C4 00 3A */ rlwinm r4, r6, 0, 0, 0x1d +/* 8030FD14 0030CC74 39 29 00 01 */ addi r9, r9, 1 +/* 8030FD18 0030CC78 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d +/* 8030FD1C 0030CC7C 7C 04 01 D6 */ mullw r0, r4, r0 +/* 8030FD20 0030CC80 7C 00 19 D6 */ mullw r0, r0, r3 +/* 8030FD24 0030CC84 7C 00 1E 70 */ srawi r0, r0, 3 +/* 8030FD28 0030CC88 7F FF 02 14 */ add r31, r31, r0 +/* 8030FD2C 0030CC8C 42 00 FF 40 */ bdnz lbl_8030FC6C +/* 8030FD30 0030CC90 71 08 00 03 */ andi. r8, r8, 3 +/* 8030FD34 0030CC94 41 82 00 48 */ beq lbl_8030FD7C +lbl_8030FD38: +/* 8030FD38 0030CC98 7D 09 03 A6 */ mtctr r8 +lbl_8030FD3C: +/* 8030FD3C 0030CC9C A8 FD 00 04 */ lha r7, 4(r29) +/* 8030FD40 0030CCA0 A8 BD 00 06 */ lha r5, 6(r29) +/* 8030FD44 0030CCA4 7C E6 4E 30 */ sraw r6, r7, r9 +/* 8030FD48 0030CCA8 88 1D 00 09 */ lbz r0, 9(r29) +/* 8030FD4C 0030CCAC 7C A4 4E 30 */ sraw r4, r5, r9 +/* 8030FD50 0030CCB0 39 29 00 01 */ addi r9, r9, 1 +/* 8030FD54 0030CCB4 7C 03 07 74 */ extsb r3, r0 +/* 8030FD58 0030CCB8 38 C6 00 03 */ addi r6, r6, 3 +/* 8030FD5C 0030CCBC 38 04 00 03 */ addi r0, r4, 3 +/* 8030FD60 0030CCC0 54 C4 00 3A */ rlwinm r4, r6, 0, 0, 0x1d +/* 8030FD64 0030CCC4 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d +/* 8030FD68 0030CCC8 7C 04 01 D6 */ mullw r0, r4, r0 +/* 8030FD6C 0030CCCC 7C 00 19 D6 */ mullw r0, r0, r3 +/* 8030FD70 0030CCD0 7C 00 1E 70 */ srawi r0, r0, 3 +/* 8030FD74 0030CCD4 7F FF 02 14 */ add r31, r31, r0 +/* 8030FD78 0030CCD8 42 00 FF C4 */ bdnz lbl_8030FD3C +lbl_8030FD7C: +/* 8030FD7C 0030CCDC 38 7D 00 44 */ addi r3, r29, 0x44 +/* 8030FD80 0030CCE0 48 04 85 B5 */ bl GetMRAMSafe__10CARAMTokenFv +/* 8030FD84 0030CCE4 7C 7C 1B 78 */ mr r28, r3 +/* 8030FD88 0030CCE8 3B 40 00 00 */ li r26, 0 +/* 8030FD8C 0030CCEC 48 00 00 3C */ b lbl_8030FDC8 +lbl_8030FD90: +/* 8030FD90 0030CCF0 7F 3A F8 50 */ subf r25, r26, r31 +/* 8030FD94 0030CCF4 2C 19 01 00 */ cmpwi r25, 0x100 +/* 8030FD98 0030CCF8 40 81 00 08 */ ble lbl_8030FDA0 +/* 8030FD9C 0030CCFC 3B 20 01 00 */ li r25, 0x100 +lbl_8030FDA0: +/* 8030FDA0 0030CD00 7F 7C D2 14 */ add r27, r28, r26 +/* 8030FDA4 0030CD04 7F C3 F3 78 */ mr r3, r30 +/* 8030FDA8 0030CD08 7F 64 DB 78 */ mr r4, r27 +/* 8030FDAC 0030CD0C 7F 25 CB 78 */ mr r5, r25 +/* 8030FDB0 0030CD10 48 02 F1 A5 */ bl Get__12CInputStreamFPvUl +/* 8030FDB4 0030CD14 38 19 00 1F */ addi r0, r25, 0x1f +/* 8030FDB8 0030CD18 7F 63 DB 78 */ mr r3, r27 +/* 8030FDBC 0030CD1C 54 04 00 34 */ rlwinm r4, r0, 0, 0, 0x1a +/* 8030FDC0 0030CD20 48 06 ED 51 */ bl DCFlushRangeNoSync +/* 8030FDC4 0030CD24 7F 5A CA 14 */ add r26, r26, r25 +lbl_8030FDC8: +/* 8030FDC8 0030CD28 7C 1A F8 00 */ cmpw r26, r31 +/* 8030FDCC 0030CD2C 41 80 FF C4 */ blt lbl_8030FD90 +/* 8030FDD0 0030CD30 88 0D A8 78 */ lbz r0, lbl_805A9438@sda21(r13) +/* 8030FDD4 0030CD34 28 00 00 00 */ cmplwi r0, 0 +/* 8030FDD8 0030CD38 41 82 00 30 */ beq lbl_8030FE08 +/* 8030FDDC 0030CD3C 7F BB EB 78 */ mr r27, r29 +/* 8030FDE0 0030CD40 3B 20 00 01 */ li r25, 1 +/* 8030FDE4 0030CD44 48 00 00 14 */ b lbl_8030FDF8 +lbl_8030FDE8: +/* 8030FDE8 0030CD48 7F 63 DB 78 */ mr r3, r27 +/* 8030FDEC 0030CD4C 7F 24 CB 78 */ mr r4, r25 +/* 8030FDF0 0030CD50 4B FF E3 E5 */ bl MangleMipmap__8CTextureFi +/* 8030FDF4 0030CD54 3B 39 00 01 */ addi r25, r25, 1 +lbl_8030FDF8: +/* 8030FDF8 0030CD58 88 1D 00 08 */ lbz r0, 8(r29) +/* 8030FDFC 0030CD5C 7C 00 07 74 */ extsb r0, r0 +/* 8030FE00 0030CD60 7C 19 00 00 */ cmpw r25, r0 +/* 8030FE04 0030CD64 41 80 FF E4 */ blt lbl_8030FDE8 +lbl_8030FE08: +/* 8030FE08 0030CD68 7F A3 EB 78 */ mr r3, r29 +/* 8030FE0C 0030CD6C 4B FF FA 25 */ bl InitTextureObjects__8CTextureFv +/* 8030FE10 0030CD70 48 05 F9 FD */ bl PPCSync +/* 8030FE14 0030CD74 7F A3 EB 78 */ mr r3, r29 +/* 8030FE18 0030CD78 BB 21 00 14 */ lmw r25, 0x14(r1) +/* 8030FE1C 0030CD7C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8030FE20 0030CD80 7C 08 03 A6 */ mtlr r0 +/* 8030FE24 0030CD84 38 21 00 30 */ addi r1, r1, 0x30 +/* 8030FE28 0030CD88 4E 80 00 20 */ blr + +.global __ct__8CTextureF12ETexelFormatssi +__ct__8CTextureF12ETexelFormatssi: +/* 8030FE2C 0030CD8C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8030FE30 0030CD90 7C 08 02 A6 */ mflr r0 +/* 8030FE34 0030CD94 90 01 00 24 */ stw r0, 0x24(r1) +/* 8030FE38 0030CD98 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 8030FE3C 0030CD9C 7C 9C 23 78 */ mr r28, r4 +/* 8030FE40 0030CDA0 7C BD 2B 78 */ mr r29, r5 +/* 8030FE44 0030CDA4 7C 7B 1B 78 */ mr r27, r3 +/* 8030FE48 0030CDA8 7C DE 33 78 */ mr r30, r6 +/* 8030FE4C 0030CDAC 7C FF 3B 78 */ mr r31, r7 +/* 8030FE50 0030CDB0 93 83 00 00 */ stw r28, 0(r3) +/* 8030FE54 0030CDB4 B3 A3 00 04 */ sth r29, 4(r3) +/* 8030FE58 0030CDB8 7F 83 E3 78 */ mr r3, r28 +/* 8030FE5C 0030CDBC B3 DB 00 06 */ sth r30, 6(r27) +/* 8030FE60 0030CDC0 9B FB 00 08 */ stb r31, 8(r27) +/* 8030FE64 0030CDC4 4B FF EC A1 */ bl TexelFormatBitsPerPixel__8CTextureF12ETexelFormat +/* 8030FE68 0030CDC8 98 7B 00 09 */ stb r3, 9(r27) +/* 8030FE6C 0030CDCC 38 E0 00 00 */ li r7, 0 +/* 8030FE70 0030CDD0 38 C0 00 01 */ li r6, 1 +/* 8030FE74 0030CDD4 38 80 00 04 */ li r4, 4 +/* 8030FE78 0030CDD8 88 7B 00 0A */ lbz r3, 0xa(r27) +/* 8030FE7C 0030CDDC 50 E3 3E 30 */ rlwimi r3, r7, 7, 0x18, 0x18 +/* 8030FE80 0030CDE0 38 00 00 09 */ li r0, 9 +/* 8030FE84 0030CDE4 98 7B 00 0A */ stb r3, 0xa(r27) +/* 8030FE88 0030CDE8 38 7B 00 44 */ addi r3, r27, 0x44 +/* 8030FE8C 0030CDEC 88 BB 00 0A */ lbz r5, 0xa(r27) +/* 8030FE90 0030CDF0 50 E5 36 72 */ rlwimi r5, r7, 6, 0x19, 0x19 +/* 8030FE94 0030CDF4 98 BB 00 0A */ stb r5, 0xa(r27) +/* 8030FE98 0030CDF8 88 BB 00 0A */ lbz r5, 0xa(r27) +/* 8030FE9C 0030CDFC 50 E5 2E B4 */ rlwimi r5, r7, 5, 0x1a, 0x1a +/* 8030FEA0 0030CE00 98 BB 00 0A */ stb r5, 0xa(r27) +/* 8030FEA4 0030CE04 88 BB 00 0A */ lbz r5, 0xa(r27) +/* 8030FEA8 0030CE08 50 C5 26 F6 */ rlwimi r5, r6, 4, 0x1b, 0x1b +/* 8030FEAC 0030CE0C 98 BB 00 0A */ stb r5, 0xa(r27) +/* 8030FEB0 0030CE10 88 BB 00 0A */ lbz r5, 0xa(r27) +/* 8030FEB4 0030CE14 50 E5 1F 38 */ rlwimi r5, r7, 3, 0x1c, 0x1c +/* 8030FEB8 0030CE18 98 BB 00 0A */ stb r5, 0xa(r27) +/* 8030FEBC 0030CE1C 88 BB 00 0A */ lbz r5, 0xa(r27) +/* 8030FEC0 0030CE20 50 E5 17 7A */ rlwimi r5, r7, 2, 0x1d, 0x1d +/* 8030FEC4 0030CE24 98 BB 00 0A */ stb r5, 0xa(r27) +/* 8030FEC8 0030CE28 90 FB 00 0C */ stw r7, 0xc(r27) +/* 8030FECC 0030CE2C 90 FB 00 10 */ stw r7, 0x10(r27) +/* 8030FED0 0030CE30 90 FB 00 14 */ stw r7, 0x14(r27) +/* 8030FED4 0030CE34 90 9B 00 18 */ stw r4, 0x18(r27) +/* 8030FED8 0030CE38 90 1B 00 1C */ stw r0, 0x1c(r27) +/* 8030FEDC 0030CE3C 90 DB 00 40 */ stw r6, 0x40(r27) +/* 8030FEE0 0030CE40 48 04 8C 1D */ bl __ct__10CARAMTokenFv +/* 8030FEE4 0030CE44 80 0D A8 70 */ lwz r0, lbl_805A9430@sda21(r13) +/* 8030FEE8 0030CE48 7F 63 DB 78 */ mr r3, r27 +/* 8030FEEC 0030CE4C 7F 84 E3 78 */ mr r4, r28 +/* 8030FEF0 0030CE50 7F A5 EB 78 */ mr r5, r29 +/* 8030FEF4 0030CE54 90 1B 00 64 */ stw r0, 0x64(r27) +/* 8030FEF8 0030CE58 7F C6 F3 78 */ mr r6, r30 +/* 8030FEFC 0030CE5C 7F E7 FB 78 */ mr r7, r31 +/* 8030FF00 0030CE60 4B FF EA 71 */ bl InitBitmapBuffers__8CTextureF12ETexelFormatssi +/* 8030FF04 0030CE64 7F 63 DB 78 */ mr r3, r27 +/* 8030FF08 0030CE68 4B FF F9 29 */ bl InitTextureObjects__8CTextureFv +/* 8030FF0C 0030CE6C 7F 63 DB 78 */ mr r3, r27 +/* 8030FF10 0030CE70 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 8030FF14 0030CE74 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8030FF18 0030CE78 7C 08 03 A6 */ mtlr r0 +/* 8030FF1C 0030CE7C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8030FF20 0030CE80 4E 80 00 20 */ blr diff --git a/asm/Kyoto/IObj.s b/asm/Kyoto/IObj.s new file mode 100644 index 00000000..10ee694c --- /dev/null +++ b/asm/Kyoto/IObj.s @@ -0,0 +1,92 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global Type2Text__10SObjectTagFUi +Type2Text__10SObjectTagFUi: +/* 80341004 0033DF64 54 60 46 3E */ srwi r0, r3, 0x18 +/* 80341008 0033DF68 2C 00 FF FF */ cmpwi r0, -1 +/* 8034100C 0033DF6C 40 82 00 0C */ bne lbl_80341018 +/* 80341010 0033DF70 38 00 FF FF */ li r0, -1 +/* 80341014 0033DF74 48 00 00 10 */ b lbl_80341024 +lbl_80341018: +/* 80341018 0033DF78 3C 80 80 3F */ lis r4, lbl_803F2C20@ha +/* 8034101C 0033DF7C 38 84 2C 20 */ addi r4, r4, lbl_803F2C20@l +/* 80341020 0033DF80 7C 04 00 AE */ lbzx r0, r4, r0 +lbl_80341024: +/* 80341024 0033DF84 54 65 86 3E */ rlwinm r5, r3, 0x10, 0x18, 0x1f +/* 80341028 0033DF88 98 0D A9 58 */ stb r0, lbl_805A9518@sda21(r13) +/* 8034102C 0033DF8C 2C 05 FF FF */ cmpwi r5, -1 +/* 80341030 0033DF90 40 82 00 0C */ bne lbl_8034103C +/* 80341034 0033DF94 38 00 FF FF */ li r0, -1 +/* 80341038 0033DF98 48 00 00 10 */ b lbl_80341048 +lbl_8034103C: +/* 8034103C 0033DF9C 3C 80 80 3F */ lis r4, lbl_803F2C20@ha +/* 80341040 0033DFA0 38 84 2C 20 */ addi r4, r4, lbl_803F2C20@l +/* 80341044 0033DFA4 7C 04 28 AE */ lbzx r0, r4, r5 +lbl_80341048: +/* 80341048 0033DFA8 54 65 C6 3E */ rlwinm r5, r3, 0x18, 0x18, 0x1f +/* 8034104C 0033DFAC 38 8D A9 58 */ addi r4, r13, lbl_805A9518@sda21 +/* 80341050 0033DFB0 2C 05 FF FF */ cmpwi r5, -1 +/* 80341054 0033DFB4 98 04 00 01 */ stb r0, 1(r4) +/* 80341058 0033DFB8 40 82 00 0C */ bne lbl_80341064 +/* 8034105C 0033DFBC 38 00 FF FF */ li r0, -1 +/* 80341060 0033DFC0 48 00 00 10 */ b lbl_80341070 +lbl_80341064: +/* 80341064 0033DFC4 3C 80 80 3F */ lis r4, lbl_803F2C20@ha +/* 80341068 0033DFC8 38 84 2C 20 */ addi r4, r4, lbl_803F2C20@l +/* 8034106C 0033DFCC 7C 04 28 AE */ lbzx r0, r4, r5 +lbl_80341070: +/* 80341070 0033DFD0 54 64 06 3E */ clrlwi r4, r3, 0x18 +/* 80341074 0033DFD4 38 6D A9 58 */ addi r3, r13, lbl_805A9518@sda21 +/* 80341078 0033DFD8 2C 04 FF FF */ cmpwi r4, -1 +/* 8034107C 0033DFDC 98 03 00 02 */ stb r0, 2(r3) +/* 80341080 0033DFE0 40 82 00 0C */ bne lbl_8034108C +/* 80341084 0033DFE4 38 60 FF FF */ li r3, -1 +/* 80341088 0033DFE8 48 00 00 10 */ b lbl_80341098 +lbl_8034108C: +/* 8034108C 0033DFEC 3C 60 80 3F */ lis r3, lbl_803F2C20@ha +/* 80341090 0033DFF0 38 63 2C 20 */ addi r3, r3, lbl_803F2C20@l +/* 80341094 0033DFF4 7C 63 20 AE */ lbzx r3, r3, r4 +lbl_80341098: +/* 80341098 0033DFF8 38 AD A9 58 */ addi r5, r13, lbl_805A9518@sda21 +/* 8034109C 0033DFFC 38 00 00 00 */ li r0, 0 +/* 803410A0 0033E000 98 65 00 03 */ stb r3, 3(r5) +/* 803410A4 0033E004 3C 60 80 3F */ lis r3, lbl_803F2A20@ha +/* 803410A8 0033E008 38 83 2A 20 */ addi r4, r3, lbl_803F2A20@l +/* 803410AC 0033E00C 98 05 00 04 */ stb r0, 4(r5) +/* 803410B0 0033E010 38 00 00 2D */ li r0, 0x2d +/* 803410B4 0033E014 88 6D A9 58 */ lbz r3, lbl_805A9518@sda21(r13) +/* 803410B8 0033E018 7C 64 18 AE */ lbzx r3, r4, r3 +/* 803410BC 0033E01C 70 63 00 DC */ andi. r3, r3, 0xdc +/* 803410C0 0033E020 40 82 00 08 */ bne lbl_803410C8 +/* 803410C4 0033E024 98 05 00 00 */ stb r0, 0(r5) +lbl_803410C8: +/* 803410C8 0033E028 8C 65 00 01 */ lbzu r3, 1(r5) +/* 803410CC 0033E02C 7C 64 18 AE */ lbzx r3, r4, r3 +/* 803410D0 0033E030 70 63 00 DC */ andi. r3, r3, 0xdc +/* 803410D4 0033E034 40 82 00 08 */ bne lbl_803410DC +/* 803410D8 0033E038 98 05 00 00 */ stb r0, 0(r5) +lbl_803410DC: +/* 803410DC 0033E03C 8C 65 00 01 */ lbzu r3, 1(r5) +/* 803410E0 0033E040 7C 64 18 AE */ lbzx r3, r4, r3 +/* 803410E4 0033E044 70 63 00 DC */ andi. r3, r3, 0xdc +/* 803410E8 0033E048 40 82 00 08 */ bne lbl_803410F0 +/* 803410EC 0033E04C 98 05 00 00 */ stb r0, 0(r5) +lbl_803410F0: +/* 803410F0 0033E050 8C 65 00 01 */ lbzu r3, 1(r5) +/* 803410F4 0033E054 7C 64 18 AE */ lbzx r3, r4, r3 +/* 803410F8 0033E058 70 63 00 DC */ andi. r3, r3, 0xdc +/* 803410FC 0033E05C 40 82 00 08 */ bne lbl_80341104 +/* 80341100 0033E060 98 05 00 00 */ stb r0, 0(r5) +lbl_80341104: +/* 80341104 0033E064 38 6D A9 58 */ addi r3, r13, lbl_805A9518@sda21 +/* 80341108 0033E068 4E 80 00 20 */ blr + +.global __sinit_IObj_cpp +__sinit_IObj_cpp: +/* 8034110C 0033E06C 38 00 FF FF */ li r0, -1 +/* 80341110 0033E070 38 6D A9 50 */ addi r3, r13, lbl_805A9510@sda21 +/* 80341114 0033E074 90 0D A9 50 */ stw r0, lbl_805A9510@sda21(r13) +/* 80341118 0033E078 90 03 00 04 */ stw r0, 4(r3) +/* 8034111C 0033E07C 4E 80 00 20 */ blr diff --git a/asm/Kyoto/Input/CDolphinController.s b/asm/Kyoto/Input/CDolphinController.s new file mode 100644 index 00000000..ee2594ff --- /dev/null +++ b/asm/Kyoto/Input/CDolphinController.s @@ -0,0 +1,630 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global GetAnalogStickMaxValue__18CDolphinControllerCF8EJoyAxis +GetAnalogStickMaxValue__18CDolphinControllerCF8EJoyAxis: +/* 8034F060 0034BFC0 2C 04 00 02 */ cmpwi r4, 2 +/* 8034F064 0034BFC4 40 80 00 10 */ bge lbl_8034F074 +/* 8034F068 0034BFC8 2C 04 00 00 */ cmpwi r4, 0 +/* 8034F06C 0034BFCC 40 80 00 14 */ bge lbl_8034F080 +/* 8034F070 0034BFD0 48 00 00 20 */ b lbl_8034F090 +lbl_8034F074: +/* 8034F074 0034BFD4 2C 04 00 04 */ cmpwi r4, 4 +/* 8034F078 0034BFD8 40 80 00 18 */ bge lbl_8034F090 +/* 8034F07C 0034BFDC 48 00 00 0C */ b lbl_8034F088 +lbl_8034F080: +/* 8034F080 0034BFE0 C0 22 CC 70 */ lfs f1, lbl_805AE990@sda21(r2) +/* 8034F084 0034BFE4 4E 80 00 20 */ blr +lbl_8034F088: +/* 8034F088 0034BFE8 C0 22 CC 74 */ lfs f1, lbl_805AE994@sda21(r2) +/* 8034F08C 0034BFEC 4E 80 00 20 */ blr +lbl_8034F090: +/* 8034F090 0034BFF0 C0 22 CC 78 */ lfs f1, lbl_805AE998@sda21(r2) +/* 8034F094 0034BFF4 4E 80 00 20 */ blr + +.global SetMotorState__18CDolphinControllerF7EIOPort11EMotorState +SetMotorState__18CDolphinControllerF7EIOPort11EMotorState: +/* 8034F098 0034BFF8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034F09C 0034BFFC 7C 08 02 A6 */ mflr r0 +/* 8034F0A0 0034C000 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034F0A4 0034C004 54 80 10 3A */ slwi r0, r4, 2 +/* 8034F0A8 0034C008 7C 83 02 14 */ add r4, r3, r0 +/* 8034F0AC 0034C00C 38 63 01 94 */ addi r3, r3, 0x194 +/* 8034F0B0 0034C010 90 A4 01 94 */ stw r5, 0x194(r4) +/* 8034F0B4 0034C014 48 03 7A 71 */ bl PADControlAllMotors +/* 8034F0B8 0034C018 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034F0BC 0034C01C 7C 08 03 A6 */ mtlr r0 +/* 8034F0C0 0034C020 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034F0C4 0034C024 4E 80 00 20 */ blr + +.global sub_8034f0c8 +sub_8034f0c8: +/* 8034F0C8 0034C028 54 80 10 3A */ slwi r0, r4, 2 +/* 8034F0CC 0034C02C 7C 63 02 14 */ add r3, r3, r0 +/* 8034F0D0 0034C030 80 63 01 A4 */ lwz r3, 0x1a4(r3) +/* 8034F0D4 0034C034 4E 80 00 20 */ blr + +.global GetGamepadData__18CDolphinControllerFi +GetGamepadData__18CDolphinControllerFi: +/* 8034F0D8 0034C038 1C 84 00 58 */ mulli r4, r4, 0x58 +/* 8034F0DC 0034C03C 7C 60 1B 78 */ mr r0, r3 +/* 8034F0E0 0034C040 38 64 00 34 */ addi r3, r4, 0x34 +/* 8034F0E4 0034C044 7C 60 1A 14 */ add r3, r0, r3 +/* 8034F0E8 0034C048 4E 80 00 20 */ blr + +.global GetDeviceCount__18CDolphinControllerCFv +GetDeviceCount__18CDolphinControllerCFv: +/* 8034F0EC 0034C04C 38 60 00 04 */ li r3, 4 +/* 8034F0F0 0034C050 4E 80 00 20 */ blr + +.global ProcessAnalogButton__18CDolphinControllerFfR15CControllerAxis +ProcessAnalogButton__18CDolphinControllerFfR15CControllerAxis: +/* 8034F0F4 0034C054 C0 02 CC 7C */ lfs f0, lbl_805AE99C@sda21(r2) +/* 8034F0F8 0034C058 C0 42 CC 54 */ lfs f2, lbl_805AE974@sda21(r2) +/* 8034F0FC 0034C05C EC 61 00 32 */ fmuls f3, f1, f0 +/* 8034F100 0034C060 FC 03 10 40 */ fcmpo cr0, f3, f2 +/* 8034F104 0034C064 40 81 00 08 */ ble lbl_8034F10C +/* 8034F108 0034C068 FC 60 10 90 */ fmr f3, f2 +lbl_8034F10C: +/* 8034F10C 0034C06C C0 04 00 04 */ lfs f0, 4(r4) +/* 8034F110 0034C070 C0 22 CC 5C */ lfs f1, lbl_805AE97C@sda21(r2) +/* 8034F114 0034C074 EC 03 00 28 */ fsubs f0, f3, f0 +/* 8034F118 0034C078 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 8034F11C 0034C07C 40 81 00 08 */ ble lbl_8034F124 +/* 8034F120 0034C080 FC 00 08 90 */ fmr f0, f1 +lbl_8034F124: +/* 8034F124 0034C084 D0 04 00 00 */ stfs f0, 0(r4) +/* 8034F128 0034C088 D0 64 00 04 */ stfs f3, 4(r4) +/* 8034F12C 0034C08C 4E 80 00 20 */ blr + +.global ProcessDigitalButton__18CDolphinControllerFiR17CControllerButtonUs +ProcessDigitalButton__18CDolphinControllerFiR17CControllerButtonUs: +/* 8034F130 0034C090 1C E4 00 0C */ mulli r7, r4, 0xc +/* 8034F134 0034C094 54 C4 04 3E */ clrlwi r4, r6, 0x10 +/* 8034F138 0034C098 88 05 00 00 */ lbz r0, 0(r5) +/* 8034F13C 0034C09C 7C 63 3A 14 */ add r3, r3, r7 +/* 8034F140 0034C0A0 A0 63 00 04 */ lhz r3, 4(r3) +/* 8034F144 0034C0A4 7C 64 20 38 */ and r4, r3, r4 +/* 8034F148 0034C0A8 7C 64 00 D0 */ neg r3, r4 +/* 8034F14C 0034C0AC 7C 63 23 78 */ or r3, r3, r4 +/* 8034F150 0034C0B0 54 63 0F FE */ srwi r3, r3, 0x1f +/* 8034F154 0034C0B4 7C 60 02 78 */ xor r0, r3, r0 +/* 8034F158 0034C0B8 7C 60 00 38 */ and r0, r3, r0 +/* 8034F15C 0034C0BC 7C 00 00 34 */ cntlzw r0, r0 +/* 8034F160 0034C0C0 54 00 DE 3E */ rlwinm r0, r0, 0x1b, 0x18, 0x1f +/* 8034F164 0034C0C4 7C 00 00 34 */ cntlzw r0, r0 +/* 8034F168 0034C0C8 54 00 DE 3E */ rlwinm r0, r0, 0x1b, 0x18, 0x1f +/* 8034F16C 0034C0CC 98 05 00 01 */ stb r0, 1(r5) +/* 8034F170 0034C0D0 88 85 00 00 */ lbz r4, 0(r5) +/* 8034F174 0034C0D4 7C 60 22 78 */ xor r0, r3, r4 +/* 8034F178 0034C0D8 7C 80 00 38 */ and r0, r4, r0 +/* 8034F17C 0034C0DC 7C 00 00 34 */ cntlzw r0, r0 +/* 8034F180 0034C0E0 54 00 DE 3E */ rlwinm r0, r0, 0x1b, 0x18, 0x1f +/* 8034F184 0034C0E4 7C 00 00 34 */ cntlzw r0, r0 +/* 8034F188 0034C0E8 54 00 DE 3E */ rlwinm r0, r0, 0x1b, 0x18, 0x1f +/* 8034F18C 0034C0EC 98 05 00 02 */ stb r0, 2(r5) +/* 8034F190 0034C0F0 98 65 00 00 */ stb r3, 0(r5) +/* 8034F194 0034C0F4 4E 80 00 20 */ blr + +.global ProcessButtons__18CDolphinControllerFi +ProcessButtons__18CDolphinControllerFi: +/* 8034F198 0034C0F8 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8034F19C 0034C0FC 7C 08 02 A6 */ mflr r0 +/* 8034F1A0 0034C100 3C A0 80 3F */ lis r5, lbl_803EF6A0@ha +/* 8034F1A4 0034C104 90 01 00 34 */ stw r0, 0x34(r1) +/* 8034F1A8 0034C108 BF 41 00 18 */ stmw r26, 0x18(r1) +/* 8034F1AC 0034C10C 7C 9B 23 78 */ mr r27, r4 +/* 8034F1B0 0034C110 1C 9B 00 58 */ mulli r4, r27, 0x58 +/* 8034F1B4 0034C114 7C 7A 1B 78 */ mr r26, r3 +/* 8034F1B8 0034C118 3B C5 F6 A0 */ addi r30, r5, lbl_803EF6A0@l +/* 8034F1BC 0034C11C 3B 80 00 00 */ li r28, 0 +/* 8034F1C0 0034C120 3B A4 00 34 */ addi r29, r4, 0x34 +/* 8034F1C4 0034C124 3B E0 00 00 */ li r31, 0 +/* 8034F1C8 0034C128 7F BA EA 14 */ add r29, r26, r29 +lbl_8034F1CC: +/* 8034F1CC 0034C12C 38 BF 00 34 */ addi r5, r31, 0x34 +/* 8034F1D0 0034C130 A0 DE 00 00 */ lhz r6, 0(r30) +/* 8034F1D4 0034C134 7F 43 D3 78 */ mr r3, r26 +/* 8034F1D8 0034C138 7F 64 DB 78 */ mr r4, r27 +/* 8034F1DC 0034C13C 7C BD 2A 14 */ add r5, r29, r5 +/* 8034F1E0 0034C140 4B FF FF 51 */ bl ProcessDigitalButton__18CDolphinControllerFiR17CControllerButtonUs +/* 8034F1E4 0034C144 3B 9C 00 01 */ addi r28, r28, 1 +/* 8034F1E8 0034C148 3B FF 00 03 */ addi r31, r31, 3 +/* 8034F1EC 0034C14C 2C 1C 00 0C */ cmpwi r28, 0xc +/* 8034F1F0 0034C150 3B DE 00 02 */ addi r30, r30, 2 +/* 8034F1F4 0034C154 41 80 FF D8 */ blt lbl_8034F1CC +/* 8034F1F8 0034C158 1F DB 00 0C */ mulli r30, r27, 0xc +/* 8034F1FC 0034C15C 3C 00 43 30 */ lis r0, 0x4330 +/* 8034F200 0034C160 90 01 00 08 */ stw r0, 8(r1) +/* 8034F204 0034C164 7F 43 D3 78 */ mr r3, r26 +/* 8034F208 0034C168 C8 22 CC 80 */ lfd f1, lbl_805AE9A0@sda21(r2) +/* 8034F20C 0034C16C 38 9D 00 24 */ addi r4, r29, 0x24 +/* 8034F210 0034C170 7C BA F2 14 */ add r5, r26, r30 +/* 8034F214 0034C174 88 05 00 0A */ lbz r0, 0xa(r5) +/* 8034F218 0034C178 90 01 00 0C */ stw r0, 0xc(r1) +/* 8034F21C 0034C17C C8 01 00 08 */ lfd f0, 8(r1) +/* 8034F220 0034C180 EC 20 08 28 */ fsubs f1, f0, f1 +/* 8034F224 0034C184 4B FF FE D1 */ bl ProcessAnalogButton__18CDolphinControllerFfR15CControllerAxis +/* 8034F228 0034C188 7C 7A F2 14 */ add r3, r26, r30 +/* 8034F22C 0034C18C 3C 00 43 30 */ lis r0, 0x4330 +/* 8034F230 0034C190 88 A3 00 0B */ lbz r5, 0xb(r3) +/* 8034F234 0034C194 7F 43 D3 78 */ mr r3, r26 +/* 8034F238 0034C198 90 01 00 10 */ stw r0, 0x10(r1) +/* 8034F23C 0034C19C 38 9D 00 2C */ addi r4, r29, 0x2c +/* 8034F240 0034C1A0 C8 22 CC 80 */ lfd f1, lbl_805AE9A0@sda21(r2) +/* 8034F244 0034C1A4 90 A1 00 14 */ stw r5, 0x14(r1) +/* 8034F248 0034C1A8 C8 01 00 10 */ lfd f0, 0x10(r1) +/* 8034F24C 0034C1AC EC 20 08 28 */ fsubs f1, f0, f1 +/* 8034F250 0034C1B0 4B FF FE A5 */ bl ProcessAnalogButton__18CDolphinControllerFfR15CControllerAxis +/* 8034F254 0034C1B4 BB 41 00 18 */ lmw r26, 0x18(r1) +/* 8034F258 0034C1B8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8034F25C 0034C1BC 7C 08 03 A6 */ mtlr r0 +/* 8034F260 0034C1C0 38 21 00 30 */ addi r1, r1, 0x30 +/* 8034F264 0034C1C4 4E 80 00 20 */ blr + +.global ProcessAxis__18CDolphinControllerFi8EJoyAxis +ProcessAxis__18CDolphinControllerFi8EJoyAxis: +/* 8034F268 0034C1C8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8034F26C 0034C1CC 7C 08 02 A6 */ mflr r0 +/* 8034F270 0034C1D0 90 01 00 24 */ stw r0, 0x24(r1) +/* 8034F274 0034C1D4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8034F278 0034C1D8 7C BF 2B 78 */ mr r31, r5 +/* 8034F27C 0034C1DC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8034F280 0034C1E0 7C 9E 23 78 */ mr r30, r4 +/* 8034F284 0034C1E4 7F E4 FB 78 */ mr r4, r31 +/* 8034F288 0034C1E8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8034F28C 0034C1EC 7C 7D 1B 78 */ mr r29, r3 +/* 8034F290 0034C1F0 4B FF FD D1 */ bl GetAnalogStickMaxValue__18CDolphinControllerCF8EJoyAxis +/* 8034F294 0034C1F4 C0 02 CC 88 */ lfs f0, lbl_805AE9A8@sda21(r2) +/* 8034F298 0034C1F8 1C 7E 00 58 */ mulli r3, r30, 0x58 +/* 8034F29C 0034C1FC 57 E0 18 38 */ slwi r0, r31, 3 +/* 8034F2A0 0034C200 C0 62 CC 78 */ lfs f3, lbl_805AE998@sda21(r2) +/* 8034F2A4 0034C204 EC 40 08 24 */ fdivs f2, f0, f1 +/* 8034F2A8 0034C208 2C 1F 00 02 */ cmpwi r31, 2 +/* 8034F2AC 0034C20C 38 63 00 34 */ addi r3, r3, 0x34 +/* 8034F2B0 0034C210 7C 63 02 14 */ add r3, r3, r0 +/* 8034F2B4 0034C214 38 83 00 04 */ addi r4, r3, 4 +/* 8034F2B8 0034C218 7C 9D 22 14 */ add r4, r29, r4 +/* 8034F2BC 0034C21C 41 82 00 84 */ beq lbl_8034F340 +/* 8034F2C0 0034C220 40 80 00 14 */ bge lbl_8034F2D4 +/* 8034F2C4 0034C224 2C 1F 00 00 */ cmpwi r31, 0 +/* 8034F2C8 0034C228 41 82 00 18 */ beq lbl_8034F2E0 +/* 8034F2CC 0034C22C 40 80 00 44 */ bge lbl_8034F310 +/* 8034F2D0 0034C230 48 00 00 CC */ b lbl_8034F39C +lbl_8034F2D4: +/* 8034F2D4 0034C234 2C 1F 00 04 */ cmpwi r31, 4 +/* 8034F2D8 0034C238 40 80 00 C4 */ bge lbl_8034F39C +/* 8034F2DC 0034C23C 48 00 00 94 */ b lbl_8034F370 +lbl_8034F2E0: +/* 8034F2E0 0034C240 1C 7E 00 0C */ mulli r3, r30, 0xc +/* 8034F2E4 0034C244 3C 00 43 30 */ lis r0, 0x4330 +/* 8034F2E8 0034C248 90 01 00 08 */ stw r0, 8(r1) +/* 8034F2EC 0034C24C C8 22 CC 90 */ lfd f1, lbl_805AE9B0@sda21(r2) +/* 8034F2F0 0034C250 7C 7D 1A 14 */ add r3, r29, r3 +/* 8034F2F4 0034C254 88 03 00 06 */ lbz r0, 6(r3) +/* 8034F2F8 0034C258 7C 00 07 74 */ extsb r0, r0 +/* 8034F2FC 0034C25C 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8034F300 0034C260 90 01 00 0C */ stw r0, 0xc(r1) +/* 8034F304 0034C264 C8 01 00 08 */ lfd f0, 8(r1) +/* 8034F308 0034C268 EC 60 08 28 */ fsubs f3, f0, f1 +/* 8034F30C 0034C26C 48 00 00 90 */ b lbl_8034F39C +lbl_8034F310: +/* 8034F310 0034C270 1C 7E 00 0C */ mulli r3, r30, 0xc +/* 8034F314 0034C274 3C 00 43 30 */ lis r0, 0x4330 +/* 8034F318 0034C278 90 01 00 08 */ stw r0, 8(r1) +/* 8034F31C 0034C27C C8 22 CC 90 */ lfd f1, lbl_805AE9B0@sda21(r2) +/* 8034F320 0034C280 7C 7D 1A 14 */ add r3, r29, r3 +/* 8034F324 0034C284 88 03 00 07 */ lbz r0, 7(r3) +/* 8034F328 0034C288 7C 00 07 74 */ extsb r0, r0 +/* 8034F32C 0034C28C 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8034F330 0034C290 90 01 00 0C */ stw r0, 0xc(r1) +/* 8034F334 0034C294 C8 01 00 08 */ lfd f0, 8(r1) +/* 8034F338 0034C298 EC 60 08 28 */ fsubs f3, f0, f1 +/* 8034F33C 0034C29C 48 00 00 60 */ b lbl_8034F39C +lbl_8034F340: +/* 8034F340 0034C2A0 1C 7E 00 0C */ mulli r3, r30, 0xc +/* 8034F344 0034C2A4 3C 00 43 30 */ lis r0, 0x4330 +/* 8034F348 0034C2A8 90 01 00 08 */ stw r0, 8(r1) +/* 8034F34C 0034C2AC C8 22 CC 90 */ lfd f1, lbl_805AE9B0@sda21(r2) +/* 8034F350 0034C2B0 7C 7D 1A 14 */ add r3, r29, r3 +/* 8034F354 0034C2B4 88 03 00 08 */ lbz r0, 8(r3) +/* 8034F358 0034C2B8 7C 00 07 74 */ extsb r0, r0 +/* 8034F35C 0034C2BC 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8034F360 0034C2C0 90 01 00 0C */ stw r0, 0xc(r1) +/* 8034F364 0034C2C4 C8 01 00 08 */ lfd f0, 8(r1) +/* 8034F368 0034C2C8 EC 60 08 28 */ fsubs f3, f0, f1 +/* 8034F36C 0034C2CC 48 00 00 30 */ b lbl_8034F39C +lbl_8034F370: +/* 8034F370 0034C2D0 1C 7E 00 0C */ mulli r3, r30, 0xc +/* 8034F374 0034C2D4 3C 00 43 30 */ lis r0, 0x4330 +/* 8034F378 0034C2D8 90 01 00 08 */ stw r0, 8(r1) +/* 8034F37C 0034C2DC C8 22 CC 90 */ lfd f1, lbl_805AE9B0@sda21(r2) +/* 8034F380 0034C2E0 7C 7D 1A 14 */ add r3, r29, r3 +/* 8034F384 0034C2E4 88 03 00 09 */ lbz r0, 9(r3) +/* 8034F388 0034C2E8 7C 00 07 74 */ extsb r0, r0 +/* 8034F38C 0034C2EC 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8034F390 0034C2F0 90 01 00 0C */ stw r0, 0xc(r1) +/* 8034F394 0034C2F4 C8 01 00 08 */ lfd f0, 8(r1) +/* 8034F398 0034C2F8 EC 60 08 28 */ fsubs f3, f0, f1 +lbl_8034F39C: +/* 8034F39C 0034C2FC EC 43 00 B2 */ fmuls f2, f3, f2 +/* 8034F3A0 0034C300 C0 02 CC 50 */ lfs f0, lbl_805AE970@sda21(r2) +/* 8034F3A4 0034C304 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8034F3A8 0034C308 40 80 00 0C */ bge lbl_8034F3B4 +/* 8034F3AC 0034C30C FC 40 00 90 */ fmr f2, f0 +/* 8034F3B0 0034C310 48 00 00 14 */ b lbl_8034F3C4 +lbl_8034F3B4: +/* 8034F3B4 0034C314 C0 02 CC 54 */ lfs f0, lbl_805AE974@sda21(r2) +/* 8034F3B8 0034C318 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8034F3BC 0034C31C 40 81 00 08 */ ble lbl_8034F3C4 +/* 8034F3C0 0034C320 FC 40 00 90 */ fmr f2, f0 +lbl_8034F3C4: +/* 8034F3C4 0034C324 C0 04 00 04 */ lfs f0, 4(r4) +/* 8034F3C8 0034C328 C0 22 CC 58 */ lfs f1, lbl_805AE978@sda21(r2) +/* 8034F3CC 0034C32C EC 62 00 28 */ fsubs f3, f2, f0 +/* 8034F3D0 0034C330 FC 03 08 40 */ fcmpo cr0, f3, f1 +/* 8034F3D4 0034C334 40 80 00 0C */ bge lbl_8034F3E0 +/* 8034F3D8 0034C338 FC 60 08 90 */ fmr f3, f1 +/* 8034F3DC 0034C33C 48 00 00 14 */ b lbl_8034F3F0 +lbl_8034F3E0: +/* 8034F3E0 0034C340 C0 02 CC 5C */ lfs f0, lbl_805AE97C@sda21(r2) +/* 8034F3E4 0034C344 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 8034F3E8 0034C348 40 81 00 08 */ ble lbl_8034F3F0 +/* 8034F3EC 0034C34C FC 60 00 90 */ fmr f3, f0 +lbl_8034F3F0: +/* 8034F3F0 0034C350 D0 64 00 00 */ stfs f3, 0(r4) +/* 8034F3F4 0034C354 D0 44 00 04 */ stfs f2, 4(r4) +/* 8034F3F8 0034C358 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8034F3FC 0034C35C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8034F400 0034C360 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8034F404 0034C364 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8034F408 0034C368 7C 08 03 A6 */ mtlr r0 +/* 8034F40C 0034C36C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8034F410 0034C370 4E 80 00 20 */ blr + +.global ProcessInputData__18CDolphinControllerFv +ProcessInputData__18CDolphinControllerFv: +/* 8034F414 0034C374 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8034F418 0034C378 7C 08 02 A6 */ mflr r0 +/* 8034F41C 0034C37C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8034F420 0034C380 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8034F424 0034C384 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8034F428 0034C388 3B C0 00 00 */ li r30, 0 +/* 8034F42C 0034C38C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8034F430 0034C390 7C 7D 1B 78 */ mr r29, r3 +/* 8034F434 0034C394 7F BF EB 78 */ mr r31, r29 +lbl_8034F438: +/* 8034F438 0034C398 88 1F 00 34 */ lbz r0, 0x34(r31) +/* 8034F43C 0034C39C 28 00 00 00 */ cmplwi r0, 0 +/* 8034F440 0034C3A0 41 82 00 50 */ beq lbl_8034F490 +/* 8034F444 0034C3A4 7F A3 EB 78 */ mr r3, r29 +/* 8034F448 0034C3A8 7F C4 F3 78 */ mr r4, r30 +/* 8034F44C 0034C3AC 38 A0 00 00 */ li r5, 0 +/* 8034F450 0034C3B0 4B FF FE 19 */ bl ProcessAxis__18CDolphinControllerFi8EJoyAxis +/* 8034F454 0034C3B4 7F A3 EB 78 */ mr r3, r29 +/* 8034F458 0034C3B8 7F C4 F3 78 */ mr r4, r30 +/* 8034F45C 0034C3BC 38 A0 00 01 */ li r5, 1 +/* 8034F460 0034C3C0 4B FF FE 09 */ bl ProcessAxis__18CDolphinControllerFi8EJoyAxis +/* 8034F464 0034C3C4 7F A3 EB 78 */ mr r3, r29 +/* 8034F468 0034C3C8 7F C4 F3 78 */ mr r4, r30 +/* 8034F46C 0034C3CC 38 A0 00 02 */ li r5, 2 +/* 8034F470 0034C3D0 4B FF FD F9 */ bl ProcessAxis__18CDolphinControllerFi8EJoyAxis +/* 8034F474 0034C3D4 7F A3 EB 78 */ mr r3, r29 +/* 8034F478 0034C3D8 7F C4 F3 78 */ mr r4, r30 +/* 8034F47C 0034C3DC 38 A0 00 03 */ li r5, 3 +/* 8034F480 0034C3E0 4B FF FD E9 */ bl ProcessAxis__18CDolphinControllerFi8EJoyAxis +/* 8034F484 0034C3E4 7F A3 EB 78 */ mr r3, r29 +/* 8034F488 0034C3E8 7F C4 F3 78 */ mr r4, r30 +/* 8034F48C 0034C3EC 4B FF FD 0D */ bl ProcessButtons__18CDolphinControllerFi +lbl_8034F490: +/* 8034F490 0034C3F0 3B DE 00 01 */ addi r30, r30, 1 +/* 8034F494 0034C3F4 3B FF 00 58 */ addi r31, r31, 0x58 +/* 8034F498 0034C3F8 2C 1E 00 04 */ cmpwi r30, 4 +/* 8034F49C 0034C3FC 41 80 FF 9C */ blt lbl_8034F438 +/* 8034F4A0 0034C400 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8034F4A4 0034C404 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8034F4A8 0034C408 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8034F4AC 0034C40C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8034F4B0 0034C410 7C 08 03 A6 */ mtlr r0 +/* 8034F4B4 0034C414 38 21 00 20 */ addi r1, r1, 0x20 +/* 8034F4B8 0034C418 4E 80 00 20 */ blr + +.global ReadDevices__18CDolphinControllerFv +ReadDevices__18CDolphinControllerFv: +/* 8034F4BC 0034C41C 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 8034F4C0 0034C420 7C 08 02 A6 */ mflr r0 +/* 8034F4C4 0034C424 90 01 00 54 */ stw r0, 0x54(r1) +/* 8034F4C8 0034C428 BF 41 00 38 */ stmw r26, 0x38(r1) +/* 8034F4CC 0034C42C 7C 7A 1B 78 */ mr r26, r3 +/* 8034F4D0 0034C430 38 61 00 08 */ addi r3, r1, 8 +/* 8034F4D4 0034C434 48 03 72 A5 */ bl PADRead +/* 8034F4D8 0034C438 88 61 00 12 */ lbz r3, 0x12(r1) +/* 8034F4DC 0034C43C 7C 60 07 75 */ extsb. r0, r3 +/* 8034F4E0 0034C440 40 82 00 20 */ bne lbl_8034F500 +/* 8034F4E4 0034C444 38 61 00 08 */ addi r3, r1, 8 +/* 8034F4E8 0034C448 48 03 65 01 */ bl PADClamp +/* 8034F4EC 0034C44C 38 7A 00 04 */ addi r3, r26, 4 +/* 8034F4F0 0034C450 38 81 00 08 */ addi r4, r1, 8 +/* 8034F4F4 0034C454 38 A0 00 30 */ li r5, 0x30 +/* 8034F4F8 0034C458 4B CB 3F 99 */ bl memcpy +/* 8034F4FC 0034C45C 48 00 00 20 */ b lbl_8034F51C +lbl_8034F500: +/* 8034F500 0034C460 98 7A 00 0E */ stb r3, 0xe(r26) +/* 8034F504 0034C464 88 01 00 1E */ lbz r0, 0x1e(r1) +/* 8034F508 0034C468 98 1A 00 1A */ stb r0, 0x1a(r26) +/* 8034F50C 0034C46C 88 01 00 2A */ lbz r0, 0x2a(r1) +/* 8034F510 0034C470 98 1A 00 26 */ stb r0, 0x26(r26) +/* 8034F514 0034C474 88 01 00 36 */ lbz r0, 0x36(r1) +/* 8034F518 0034C478 98 1A 00 32 */ stb r0, 0x32(r26) +lbl_8034F51C: +/* 8034F51C 0034C47C 7F 5E D3 78 */ mr r30, r26 +/* 8034F520 0034C480 7F 5D D3 78 */ mr r29, r26 +/* 8034F524 0034C484 7F 5C D3 78 */ mr r28, r26 +/* 8034F528 0034C488 3B 60 00 00 */ li r27, 0 +/* 8034F52C 0034C48C 3F E0 80 00 */ lis r31, 0x8000 +lbl_8034F530: +/* 8034F530 0034C490 88 1E 00 0E */ lbz r0, 0xe(r30) +/* 8034F534 0034C494 7F E4 DC 30 */ srw r4, r31, r27 +/* 8034F538 0034C498 7C 03 07 74 */ extsb r3, r0 +/* 8034F53C 0034C49C 2C 03 FF FE */ cmpwi r3, -2 +/* 8034F540 0034C4A0 41 82 00 34 */ beq lbl_8034F574 +/* 8034F544 0034C4A4 7C 00 07 75 */ extsb. r0, r0 +/* 8034F548 0034C4A8 40 82 00 10 */ bne lbl_8034F558 +/* 8034F54C 0034C4AC 38 00 00 01 */ li r0, 1 +/* 8034F550 0034C4B0 98 1D 00 34 */ stb r0, 0x34(r29) +/* 8034F554 0034C4B4 48 00 00 20 */ b lbl_8034F574 +lbl_8034F558: +/* 8034F558 0034C4B8 2C 03 FF FF */ cmpwi r3, -1 +/* 8034F55C 0034C4BC 40 82 00 18 */ bne lbl_8034F574 +/* 8034F560 0034C4C0 80 7A 01 C8 */ lwz r3, 0x1c8(r26) +/* 8034F564 0034C4C4 38 00 00 00 */ li r0, 0 +/* 8034F568 0034C4C8 7C 63 23 78 */ or r3, r3, r4 +/* 8034F56C 0034C4CC 90 7A 01 C8 */ stw r3, 0x1c8(r26) +/* 8034F570 0034C4D0 98 1D 00 34 */ stb r0, 0x34(r29) +lbl_8034F574: +/* 8034F574 0034C4D4 80 7C 01 B4 */ lwz r3, 0x1b4(r28) +/* 8034F578 0034C4D8 28 03 00 00 */ cmplwi r3, 0 +/* 8034F57C 0034C4DC 41 82 00 10 */ beq lbl_8034F58C +/* 8034F580 0034C4E0 38 03 FF FF */ addi r0, r3, -1 +/* 8034F584 0034C4E4 90 1C 01 B4 */ stw r0, 0x1b4(r28) +/* 8034F588 0034C4E8 48 00 00 78 */ b lbl_8034F600 +lbl_8034F58C: +/* 8034F58C 0034C4EC 7F 63 DB 78 */ mr r3, r27 +/* 8034F590 0034C4F0 48 07 09 59 */ bl SIProbe +/* 8034F594 0034C4F4 70 60 00 C8 */ andi. r0, r3, 0xc8 +/* 8034F598 0034C4F8 41 82 00 1C */ beq lbl_8034F5B4 +/* 8034F59C 0034C4FC 80 1C 01 B4 */ lwz r0, 0x1b4(r28) +/* 8034F5A0 0034C500 28 00 00 00 */ cmplwi r0, 0 +/* 8034F5A4 0034C504 40 82 00 5C */ bne lbl_8034F600 +/* 8034F5A8 0034C508 80 02 CC 60 */ lwz r0, lbl_805AE980@sda21(r2) +/* 8034F5AC 0034C50C 90 1C 01 A4 */ stw r0, 0x1a4(r28) +/* 8034F5B0 0034C510 48 00 00 50 */ b lbl_8034F600 +lbl_8034F5B4: +/* 8034F5B4 0034C514 3C 03 74 F0 */ addis r0, r3, 0x74f0 +/* 8034F5B8 0034C518 38 80 00 3C */ li r4, 0x3c +/* 8034F5BC 0034C51C 28 00 00 00 */ cmplwi r0, 0 +/* 8034F5C0 0034C520 90 9C 01 B4 */ stw r4, 0x1b4(r28) +/* 8034F5C4 0034C524 40 82 00 10 */ bne lbl_8034F5D4 +/* 8034F5C8 0034C528 80 02 CC 6C */ lwz r0, lbl_805AE98C@sda21(r2) +/* 8034F5CC 0034C52C 90 1C 01 A4 */ stw r0, 0x1a4(r28) +/* 8034F5D0 0034C530 48 00 00 30 */ b lbl_8034F600 +lbl_8034F5D4: +/* 8034F5D4 0034C534 3C 03 FF FC */ addis r0, r3, 0xfffc +/* 8034F5D8 0034C538 28 00 00 00 */ cmplwi r0, 0 +/* 8034F5DC 0034C53C 40 82 00 10 */ bne lbl_8034F5EC +/* 8034F5E0 0034C540 80 02 CC 68 */ lwz r0, lbl_805AE988@sda21(r2) +/* 8034F5E4 0034C544 90 1C 01 A4 */ stw r0, 0x1a4(r28) +/* 8034F5E8 0034C548 48 00 00 18 */ b lbl_8034F600 +lbl_8034F5EC: +/* 8034F5EC 0034C54C 3C 03 F7 00 */ addis r0, r3, 0xf700 +/* 8034F5F0 0034C550 28 00 00 00 */ cmplwi r0, 0 +/* 8034F5F4 0034C554 40 82 00 0C */ bne lbl_8034F600 +/* 8034F5F8 0034C558 80 02 CC 64 */ lwz r0, lbl_805AE984@sda21(r2) +/* 8034F5FC 0034C55C 90 1C 01 A4 */ stw r0, 0x1a4(r28) +lbl_8034F600: +/* 8034F600 0034C560 3B 7B 00 01 */ addi r27, r27, 1 +/* 8034F604 0034C564 3B BD 00 58 */ addi r29, r29, 0x58 +/* 8034F608 0034C568 2C 1B 00 04 */ cmpwi r27, 4 +/* 8034F60C 0034C56C 3B 9C 00 04 */ addi r28, r28, 4 +/* 8034F610 0034C570 3B DE 00 0C */ addi r30, r30, 0xc +/* 8034F614 0034C574 41 80 FF 1C */ blt lbl_8034F530 +/* 8034F618 0034C578 80 7A 01 C8 */ lwz r3, 0x1c8(r26) +/* 8034F61C 0034C57C 28 03 00 00 */ cmplwi r3, 0 +/* 8034F620 0034C580 41 82 00 18 */ beq lbl_8034F638 +/* 8034F624 0034C584 48 03 6D 39 */ bl PADReset +/* 8034F628 0034C588 2C 03 00 00 */ cmpwi r3, 0 +/* 8034F62C 0034C58C 41 82 00 0C */ beq lbl_8034F638 +/* 8034F630 0034C590 38 00 00 00 */ li r0, 0 +/* 8034F634 0034C594 90 1A 01 C8 */ stw r0, 0x1c8(r26) +lbl_8034F638: +/* 8034F638 0034C598 BB 41 00 38 */ lmw r26, 0x38(r1) +/* 8034F63C 0034C59C 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8034F640 0034C5A0 7C 08 03 A6 */ mtlr r0 +/* 8034F644 0034C5A4 38 21 00 50 */ addi r1, r1, 0x50 +/* 8034F648 0034C5A8 4E 80 00 20 */ blr + +.global Poll__18CDolphinControllerFv +Poll__18CDolphinControllerFv: +/* 8034F64C 0034C5AC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034F650 0034C5B0 7C 08 02 A6 */ mflr r0 +/* 8034F654 0034C5B4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034F658 0034C5B8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034F65C 0034C5BC 7C 7F 1B 78 */ mr r31, r3 +/* 8034F660 0034C5C0 4B FF FE 5D */ bl ReadDevices__18CDolphinControllerFv +/* 8034F664 0034C5C4 7F E3 FB 78 */ mr r3, r31 +/* 8034F668 0034C5C8 4B FF FD AD */ bl ProcessInputData__18CDolphinControllerFv +/* 8034F66C 0034C5CC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034F670 0034C5D0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034F674 0034C5D4 7C 08 03 A6 */ mtlr r0 +/* 8034F678 0034C5D8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034F67C 0034C5DC 4E 80 00 20 */ blr + +.global Initialize__18CDolphinControllerFv +Initialize__18CDolphinControllerFv: +/* 8034F680 0034C5E0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034F684 0034C5E4 7C 08 02 A6 */ mflr r0 +/* 8034F688 0034C5E8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034F68C 0034C5EC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034F690 0034C5F0 7C 7F 1B 78 */ mr r31, r3 +/* 8034F694 0034C5F4 48 07 9F B9 */ bl GBAInit +/* 8034F698 0034C5F8 38 7F 00 04 */ addi r3, r31, 4 +/* 8034F69C 0034C5FC 38 80 00 00 */ li r4, 0 +/* 8034F6A0 0034C600 38 A0 00 30 */ li r5, 0x30 +/* 8034F6A4 0034C604 4B CB 3D 05 */ bl memset +/* 8034F6A8 0034C608 38 A0 00 00 */ li r5, 0 +/* 8034F6AC 0034C60C 38 80 00 02 */ li r4, 2 +/* 8034F6B0 0034C610 98 BF 00 34 */ stb r5, 0x34(r31) +/* 8034F6B4 0034C614 38 7F 01 94 */ addi r3, r31, 0x194 +/* 8034F6B8 0034C618 80 02 CC 60 */ lwz r0, lbl_805AE980@sda21(r2) +/* 8034F6BC 0034C61C 90 9F 01 94 */ stw r4, 0x194(r31) +/* 8034F6C0 0034C620 90 BF 01 B4 */ stw r5, 0x1b4(r31) +/* 8034F6C4 0034C624 90 1F 01 A4 */ stw r0, 0x1a4(r31) +/* 8034F6C8 0034C628 98 BF 00 8C */ stb r5, 0x8c(r31) +/* 8034F6CC 0034C62C 90 9F 01 98 */ stw r4, 0x198(r31) +/* 8034F6D0 0034C630 90 BF 01 B8 */ stw r5, 0x1b8(r31) +/* 8034F6D4 0034C634 90 1F 01 A8 */ stw r0, 0x1a8(r31) +/* 8034F6D8 0034C638 98 BF 00 E4 */ stb r5, 0xe4(r31) +/* 8034F6DC 0034C63C 90 9F 01 9C */ stw r4, 0x19c(r31) +/* 8034F6E0 0034C640 90 BF 01 BC */ stw r5, 0x1bc(r31) +/* 8034F6E4 0034C644 90 1F 01 AC */ stw r0, 0x1ac(r31) +/* 8034F6E8 0034C648 98 BF 01 3C */ stb r5, 0x13c(r31) +/* 8034F6EC 0034C64C 90 9F 01 A0 */ stw r4, 0x1a0(r31) +/* 8034F6F0 0034C650 90 BF 01 C0 */ stw r5, 0x1c0(r31) +/* 8034F6F4 0034C654 90 1F 01 B0 */ stw r0, 0x1b0(r31) +/* 8034F6F8 0034C658 48 03 74 2D */ bl PADControlAllMotors +/* 8034F6FC 0034C65C 7F E3 FB 78 */ mr r3, r31 +/* 8034F700 0034C660 81 9F 00 00 */ lwz r12, 0(r31) +/* 8034F704 0034C664 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8034F708 0034C668 7D 89 03 A6 */ mtctr r12 +/* 8034F70C 0034C66C 4E 80 04 21 */ bctrl +/* 8034F710 0034C670 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034F714 0034C674 38 60 00 01 */ li r3, 1 +/* 8034F718 0034C678 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034F71C 0034C67C 7C 08 03 A6 */ mtlr r0 +/* 8034F720 0034C680 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034F724 0034C684 4E 80 00 20 */ blr + +.global __dt__18CDolphinControllerFv +__dt__18CDolphinControllerFv: +/* 8034F728 0034C688 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034F72C 0034C68C 7C 08 02 A6 */ mflr r0 +/* 8034F730 0034C690 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034F734 0034C694 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034F738 0034C698 7C 9F 23 78 */ mr r31, r4 +/* 8034F73C 0034C69C 93 C1 00 08 */ stw r30, 8(r1) +/* 8034F740 0034C6A0 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8034F744 0034C6A4 41 82 00 28 */ beq lbl_8034F76C +/* 8034F748 0034C6A8 3C A0 80 3F */ lis r5, lbl_803EF6B8@ha +/* 8034F74C 0034C6AC 38 80 00 00 */ li r4, 0 +/* 8034F750 0034C6B0 38 05 F6 B8 */ addi r0, r5, lbl_803EF6B8@l +/* 8034F754 0034C6B4 90 1E 00 00 */ stw r0, 0(r30) +/* 8034F758 0034C6B8 4B FF F8 B1 */ bl __dt__11IControllerFv +/* 8034F75C 0034C6BC 7F E0 07 35 */ extsh. r0, r31 +/* 8034F760 0034C6C0 40 81 00 0C */ ble lbl_8034F76C +/* 8034F764 0034C6C4 7F C3 F3 78 */ mr r3, r30 +/* 8034F768 0034C6C8 4B FC 61 C9 */ bl Free__7CMemoryFPCv +lbl_8034F76C: +/* 8034F76C 0034C6CC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034F770 0034C6D0 7F C3 F3 78 */ mr r3, r30 +/* 8034F774 0034C6D4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034F778 0034C6D8 83 C1 00 08 */ lwz r30, 8(r1) +/* 8034F77C 0034C6DC 7C 08 03 A6 */ mtlr r0 +/* 8034F780 0034C6E0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034F784 0034C6E4 4E 80 00 20 */ blr + +.global __ct__18CDolphinControllerFv +__ct__18CDolphinControllerFv: +/* 8034F788 0034C6E8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034F78C 0034C6EC 7C 08 02 A6 */ mflr r0 +/* 8034F790 0034C6F0 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034F794 0034C6F4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034F798 0034C6F8 7C 7F 1B 78 */ mr r31, r3 +/* 8034F79C 0034C6FC 4B FF F8 B5 */ bl __ct__11IControllerFv +/* 8034F7A0 0034C700 3C 60 80 3F */ lis r3, lbl_803EF6B8@ha +/* 8034F7A4 0034C704 3C 80 80 35 */ lis r4, __ct__22CControllerGamepadDataFv@ha +/* 8034F7A8 0034C708 38 03 F6 B8 */ addi r0, r3, lbl_803EF6B8@l +/* 8034F7AC 0034C70C 38 A0 00 00 */ li r5, 0 +/* 8034F7B0 0034C710 90 1F 00 00 */ stw r0, 0(r31) +/* 8034F7B4 0034C714 38 7F 00 34 */ addi r3, r31, 0x34 +/* 8034F7B8 0034C718 38 84 F8 2C */ addi r4, r4, __ct__22CControllerGamepadDataFv@l +/* 8034F7BC 0034C71C 38 C0 00 58 */ li r6, 0x58 +/* 8034F7C0 0034C720 38 E0 00 04 */ li r7, 4 +/* 8034F7C4 0034C724 48 03 9F 89 */ bl __construct_array +/* 8034F7C8 0034C728 3C 00 F0 00 */ lis r0, 0xf000 +/* 8034F7CC 0034C72C 38 60 00 00 */ li r3, 0 +/* 8034F7D0 0034C730 90 1F 01 C4 */ stw r0, 0x1c4(r31) +/* 8034F7D4 0034C734 90 7F 01 C8 */ stw r3, 0x1c8(r31) +/* 8034F7D8 0034C738 90 7F 01 CC */ stw r3, 0x1cc(r31) +/* 8034F7DC 0034C73C 88 0D AA 09 */ lbz r0, lbl_805A95C9@sda21(r13) +/* 8034F7E0 0034C740 7C 00 07 75 */ extsb. r0, r0 +/* 8034F7E4 0034C744 40 82 00 10 */ bne lbl_8034F7F4 +/* 8034F7E8 0034C748 38 00 00 01 */ li r0, 1 +/* 8034F7EC 0034C74C 98 6D AA 08 */ stb r3, lbl_805A95C8@sda21(r13) +/* 8034F7F0 0034C750 98 0D AA 09 */ stb r0, lbl_805A95C9@sda21(r13) +lbl_8034F7F4: +/* 8034F7F4 0034C754 88 0D AA 08 */ lbz r0, lbl_805A95C8@sda21(r13) +/* 8034F7F8 0034C758 28 00 00 00 */ cmplwi r0, 0 +/* 8034F7FC 0034C75C 40 82 00 18 */ bne lbl_8034F814 +/* 8034F800 0034C760 38 60 00 05 */ li r3, 5 +/* 8034F804 0034C764 48 03 74 7D */ bl PADSetSpec +/* 8034F808 0034C768 48 03 6D 59 */ bl PADInit +/* 8034F80C 0034C76C 38 00 00 01 */ li r0, 1 +/* 8034F810 0034C770 98 0D AA 08 */ stb r0, lbl_805A95C8@sda21(r13) +lbl_8034F814: +/* 8034F814 0034C774 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034F818 0034C778 7F E3 FB 78 */ mr r3, r31 +/* 8034F81C 0034C77C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034F820 0034C780 7C 08 03 A6 */ mtlr r0 +/* 8034F824 0034C784 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034F828 0034C788 4E 80 00 20 */ blr + +.global __ct__22CControllerGamepadDataFv +__ct__22CControllerGamepadDataFv: +/* 8034F82C 0034C78C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034F830 0034C790 7C 08 02 A6 */ mflr r0 +/* 8034F834 0034C794 3C 80 80 35 */ lis r4, __ct__15CControllerAxisFv@ha +/* 8034F838 0034C798 38 A0 00 00 */ li r5, 0 +/* 8034F83C 0034C79C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034F840 0034C7A0 38 84 F8 C0 */ addi r4, r4, __ct__15CControllerAxisFv@l +/* 8034F844 0034C7A4 38 C0 00 08 */ li r6, 8 +/* 8034F848 0034C7A8 38 E0 00 04 */ li r7, 4 +/* 8034F84C 0034C7AC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034F850 0034C7B0 7C 7F 1B 78 */ mr r31, r3 +/* 8034F854 0034C7B4 38 7F 00 04 */ addi r3, r31, 4 +/* 8034F858 0034C7B8 48 03 9E F5 */ bl __construct_array +/* 8034F85C 0034C7BC 3C 80 80 35 */ lis r4, __ct__15CControllerAxisFv@ha +/* 8034F860 0034C7C0 38 7F 00 24 */ addi r3, r31, 0x24 +/* 8034F864 0034C7C4 38 84 F8 C0 */ addi r4, r4, __ct__15CControllerAxisFv@l +/* 8034F868 0034C7C8 38 A0 00 00 */ li r5, 0 +/* 8034F86C 0034C7CC 38 C0 00 08 */ li r6, 8 +/* 8034F870 0034C7D0 38 E0 00 02 */ li r7, 2 +/* 8034F874 0034C7D4 48 03 9E D9 */ bl __construct_array +/* 8034F878 0034C7D8 3C 80 80 35 */ lis r4, __ct__17CControllerButtonFv@ha +/* 8034F87C 0034C7DC 38 7F 00 34 */ addi r3, r31, 0x34 +/* 8034F880 0034C7E0 38 84 F8 AC */ addi r4, r4, __ct__17CControllerButtonFv@l +/* 8034F884 0034C7E4 38 A0 00 00 */ li r5, 0 +/* 8034F888 0034C7E8 38 C0 00 03 */ li r6, 3 +/* 8034F88C 0034C7EC 38 E0 00 0C */ li r7, 0xc +/* 8034F890 0034C7F0 48 03 9E BD */ bl __construct_array +/* 8034F894 0034C7F4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034F898 0034C7F8 7F E3 FB 78 */ mr r3, r31 +/* 8034F89C 0034C7FC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034F8A0 0034C800 7C 08 03 A6 */ mtlr r0 +/* 8034F8A4 0034C804 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034F8A8 0034C808 4E 80 00 20 */ blr + +.global __ct__17CControllerButtonFv +__ct__17CControllerButtonFv: +/* 8034F8AC 0034C80C 38 00 00 00 */ li r0, 0 +/* 8034F8B0 0034C810 98 03 00 00 */ stb r0, 0(r3) +/* 8034F8B4 0034C814 98 03 00 01 */ stb r0, 1(r3) +/* 8034F8B8 0034C818 98 03 00 02 */ stb r0, 2(r3) +/* 8034F8BC 0034C81C 4E 80 00 20 */ blr + +.global __ct__15CControllerAxisFv +__ct__15CControllerAxisFv: +/* 8034F8C0 0034C820 C0 02 CC 78 */ lfs f0, lbl_805AE998@sda21(r2) +/* 8034F8C4 0034C824 D0 03 00 00 */ stfs f0, 0(r3) +/* 8034F8C8 0034C828 D0 03 00 04 */ stfs f0, 4(r3) +/* 8034F8CC 0034C82C 4E 80 00 20 */ blr diff --git a/asm/Kyoto/Input/CRumbleGenerator.s b/asm/Kyoto/Input/CRumbleGenerator.s new file mode 100644 index 00000000..22fc76a1 --- /dev/null +++ b/asm/Kyoto/Input/CRumbleGenerator.s @@ -0,0 +1,364 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global SetDisabled__14CRumbleManagerFb +SetDisabled__14CRumbleManagerFb: +/* 80369D00 00366C60 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80369D04 00366C64 7C 08 02 A6 */ mflr r0 +/* 80369D08 00366C68 90 01 00 14 */ stw r0, 0x14(r1) +/* 80369D0C 00366C6C 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 80369D10 00366C70 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80369D14 00366C74 7C 9F 23 78 */ mr r31, r4 +/* 80369D18 00366C78 93 C1 00 08 */ stw r30, 8(r1) +/* 80369D1C 00366C7C 7C 7E 1B 78 */ mr r30, r3 +/* 80369D20 00366C80 41 82 00 08 */ beq lbl_80369D28 +/* 80369D24 00366C84 48 00 00 29 */ bl HardStopAll__16CRumbleGeneratorFv +lbl_80369D28: +/* 80369D28 00366C88 88 1E 00 F0 */ lbz r0, 0xf0(r30) +/* 80369D2C 00366C8C 53 E0 3E 30 */ rlwimi r0, r31, 7, 0x18, 0x18 +/* 80369D30 00366C90 98 1E 00 F0 */ stb r0, 0xf0(r30) +/* 80369D34 00366C94 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80369D38 00366C98 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80369D3C 00366C9C 83 C1 00 08 */ lwz r30, 8(r1) +/* 80369D40 00366CA0 7C 08 03 A6 */ mtlr r0 +/* 80369D44 00366CA4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80369D48 00366CA8 4E 80 00 20 */ blr + +.global HardStopAll__16CRumbleGeneratorFv +HardStopAll__16CRumbleGeneratorFv: +/* 80369D4C 00366CAC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80369D50 00366CB0 7C 08 02 A6 */ mflr r0 +/* 80369D54 00366CB4 90 01 00 34 */ stw r0, 0x34(r1) +/* 80369D58 00366CB8 DB E1 00 20 */ stfd f31, 0x20(r1) +/* 80369D5C 00366CBC F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 80369D60 00366CC0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80369D64 00366CC4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80369D68 00366CC8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80369D6C 00366CCC 93 81 00 10 */ stw r28, 0x10(r1) +/* 80369D70 00366CD0 C3 E2 CD F0 */ lfs f31, lbl_805AEB10@sda21(r2) +/* 80369D74 00366CD4 7C 7E 1B 78 */ mr r30, r3 +/* 80369D78 00366CD8 3B 80 00 00 */ li r28, 0 +/* 80369D7C 00366CDC 7C 7D 1B 78 */ mr r29, r3 +/* 80369D80 00366CE0 3B E0 00 00 */ li r31, 0 +lbl_80369D84: +/* 80369D84 00366CE4 D3 FE 00 C0 */ stfs f31, 0xc0(r30) +/* 80369D88 00366CE8 7F A3 EB 78 */ mr r3, r29 +/* 80369D8C 00366CEC D3 FE 00 D0 */ stfs f31, 0xd0(r30) +/* 80369D90 00366CF0 93 FE 00 E0 */ stw r31, 0xe0(r30) +/* 80369D94 00366CF4 4B FF F9 35 */ bl HardReset__12CRumbleVoiceFv +/* 80369D98 00366CF8 3B 9C 00 01 */ addi r28, r28, 1 +/* 80369D9C 00366CFC 3B BD 00 30 */ addi r29, r29, 0x30 +/* 80369DA0 00366D00 2C 1C 00 04 */ cmpwi r28, 4 +/* 80369DA4 00366D04 3B DE 00 04 */ addi r30, r30, 4 +/* 80369DA8 00366D08 41 80 FF DC */ blt lbl_80369D84 +/* 80369DAC 00366D0C 3C 60 80 3E */ lis r3, lbl_803D8548@ha +/* 80369DB0 00366D10 38 63 85 48 */ addi r3, r3, lbl_803D8548@l +/* 80369DB4 00366D14 48 01 CD 71 */ bl PADControlAllMotors +/* 80369DB8 00366D18 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 80369DBC 00366D1C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80369DC0 00366D20 CB E1 00 20 */ lfd f31, 0x20(r1) +/* 80369DC4 00366D24 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80369DC8 00366D28 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80369DCC 00366D2C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80369DD0 00366D30 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80369DD4 00366D34 7C 08 03 A6 */ mtlr r0 +/* 80369DD8 00366D38 38 21 00 30 */ addi r1, r1, 0x30 +/* 80369DDC 00366D3C 4E 80 00 20 */ blr + +.global Update__16CRumbleGeneratorFf +Update__16CRumbleGeneratorFf: +/* 80369DE0 00366D40 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80369DE4 00366D44 7C 08 02 A6 */ mflr r0 +/* 80369DE8 00366D48 90 01 00 44 */ stw r0, 0x44(r1) +/* 80369DEC 00366D4C DB E1 00 30 */ stfd f31, 0x30(r1) +/* 80369DF0 00366D50 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 80369DF4 00366D54 DB C1 00 20 */ stfd f30, 0x20(r1) +/* 80369DF8 00366D58 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 +/* 80369DFC 00366D5C BF 61 00 0C */ stmw r27, 0xc(r1) +/* 80369E00 00366D60 88 03 00 F0 */ lbz r0, 0xf0(r3) +/* 80369E04 00366D64 FF C0 08 90 */ fmr f30, f1 +/* 80369E08 00366D68 7C 7B 1B 78 */ mr r27, r3 +/* 80369E0C 00366D6C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80369E10 00366D70 40 82 01 18 */ bne lbl_80369F28 +/* 80369E14 00366D74 7F 7F DB 78 */ mr r31, r27 +/* 80369E18 00366D78 7F 7E DB 78 */ mr r30, r27 +/* 80369E1C 00366D7C 3B A0 00 00 */ li r29, 0 +/* 80369E20 00366D80 3B 80 00 00 */ li r28, 0 +lbl_80369E24: +/* 80369E24 00366D84 7F E3 FB 78 */ mr r3, r31 +/* 80369E28 00366D88 4B FF F4 AD */ bl GetIntensity__12CRumbleVoiceCFv +/* 80369E2C 00366D8C FF E0 08 90 */ fmr f31, f1 +/* 80369E30 00366D90 7F E3 FB 78 */ mr r3, r31 +/* 80369E34 00366D94 FC 20 F0 90 */ fmr f1, f30 +/* 80369E38 00366D98 4B FF F5 29 */ bl Update__12CRumbleVoiceFf +/* 80369E3C 00366D9C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80369E40 00366DA0 41 82 00 14 */ beq lbl_80369E54 +/* 80369E44 00366DA4 C0 62 CD F0 */ lfs f3, lbl_805AEB10@sda21(r2) +/* 80369E48 00366DA8 FC 1F 18 40 */ fcmpo cr0, f31, f3 +/* 80369E4C 00366DAC 4C 40 13 82 */ cror 2, 0, 2 +/* 80369E50 00366DB0 40 82 00 2C */ bne lbl_80369E7C +lbl_80369E54: +/* 80369E54 00366DB4 C0 02 CD F0 */ lfs f0, lbl_805AEB10@sda21(r2) +/* 80369E58 00366DB8 D0 1E 00 C0 */ stfs f0, 0xc0(r30) +/* 80369E5C 00366DBC D0 1E 00 D0 */ stfs f0, 0xd0(r30) +/* 80369E60 00366DC0 80 1E 00 E0 */ lwz r0, 0xe0(r30) +/* 80369E64 00366DC4 2C 00 00 00 */ cmpwi r0, 0 +/* 80369E68 00366DC8 41 82 00 9C */ beq lbl_80369F04 +/* 80369E6C 00366DCC 38 00 00 00 */ li r0, 0 +/* 80369E70 00366DD0 3B A0 00 01 */ li r29, 1 +/* 80369E74 00366DD4 90 1E 00 E0 */ stw r0, 0xe0(r30) +/* 80369E78 00366DD8 48 00 00 8C */ b lbl_80369F04 +lbl_80369E7C: +/* 80369E7C 00366DDC C0 02 CD F8 */ lfs f0, lbl_805AEB18@sda21(r2) +/* 80369E80 00366DE0 C0 5E 00 C0 */ lfs f2, 0xc0(r30) +/* 80369E84 00366DE4 EC 00 07 F2 */ fmuls f0, f0, f31 +/* 80369E88 00366DE8 C0 22 CD F4 */ lfs f1, lbl_805AEB14@sda21(r2) +/* 80369E8C 00366DEC EC 42 F0 2A */ fadds f2, f2, f30 +/* 80369E90 00366DF0 EC 01 00 24 */ fdivs f0, f1, f0 +/* 80369E94 00366DF4 D0 5E 00 C0 */ stfs f2, 0xc0(r30) +/* 80369E98 00366DF8 C0 3E 00 C0 */ lfs f1, 0xc0(r30) +/* 80369E9C 00366DFC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80369EA0 00366E00 4C 41 13 82 */ cror 2, 1, 2 +/* 80369EA4 00366E04 40 82 00 24 */ bne lbl_80369EC8 +/* 80369EA8 00366E08 D0 7E 00 C0 */ stfs f3, 0xc0(r30) +/* 80369EAC 00366E0C 80 1E 00 E0 */ lwz r0, 0xe0(r30) +/* 80369EB0 00366E10 2C 00 00 01 */ cmpwi r0, 1 +/* 80369EB4 00366E14 41 82 00 50 */ beq lbl_80369F04 +/* 80369EB8 00366E18 38 00 00 01 */ li r0, 1 +/* 80369EBC 00366E1C 3B A0 00 01 */ li r29, 1 +/* 80369EC0 00366E20 90 1E 00 E0 */ stw r0, 0xe0(r30) +/* 80369EC4 00366E24 48 00 00 40 */ b lbl_80369F04 +lbl_80369EC8: +/* 80369EC8 00366E28 C0 3E 00 D0 */ lfs f1, 0xd0(r30) +/* 80369ECC 00366E2C C0 02 CD FC */ lfs f0, lbl_805AEB1C@sda21(r2) +/* 80369ED0 00366E30 EC 21 F0 2A */ fadds f1, f1, f30 +/* 80369ED4 00366E34 D0 3E 00 D0 */ stfs f1, 0xd0(r30) +/* 80369ED8 00366E38 C0 3E 00 D0 */ lfs f1, 0xd0(r30) +/* 80369EDC 00366E3C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80369EE0 00366E40 4C 41 13 82 */ cror 2, 1, 2 +/* 80369EE4 00366E44 40 82 00 20 */ bne lbl_80369F04 +/* 80369EE8 00366E48 D0 7E 00 D0 */ stfs f3, 0xd0(r30) +/* 80369EEC 00366E4C 80 1E 00 E0 */ lwz r0, 0xe0(r30) +/* 80369EF0 00366E50 2C 00 00 00 */ cmpwi r0, 0 +/* 80369EF4 00366E54 41 82 00 10 */ beq lbl_80369F04 +/* 80369EF8 00366E58 38 00 00 00 */ li r0, 0 +/* 80369EFC 00366E5C 3B A0 00 01 */ li r29, 1 +/* 80369F00 00366E60 90 1E 00 E0 */ stw r0, 0xe0(r30) +lbl_80369F04: +/* 80369F04 00366E64 3B 9C 00 01 */ addi r28, r28, 1 +/* 80369F08 00366E68 3B DE 00 04 */ addi r30, r30, 4 +/* 80369F0C 00366E6C 2C 1C 00 04 */ cmpwi r28, 4 +/* 80369F10 00366E70 3B FF 00 30 */ addi r31, r31, 0x30 +/* 80369F14 00366E74 41 80 FF 10 */ blt lbl_80369E24 +/* 80369F18 00366E78 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 80369F1C 00366E7C 41 82 00 0C */ beq lbl_80369F28 +/* 80369F20 00366E80 38 7B 00 E0 */ addi r3, r27, 0xe0 +/* 80369F24 00366E84 48 01 CC 01 */ bl PADControlAllMotors +lbl_80369F28: +/* 80369F28 00366E88 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 80369F2C 00366E8C CB E1 00 30 */ lfd f31, 0x30(r1) +/* 80369F30 00366E90 E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 +/* 80369F34 00366E94 CB C1 00 20 */ lfd f30, 0x20(r1) +/* 80369F38 00366E98 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 80369F3C 00366E9C 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80369F40 00366EA0 7C 08 03 A6 */ mtlr r0 +/* 80369F44 00366EA4 38 21 00 40 */ addi r1, r1, 0x40 +/* 80369F48 00366EA8 4E 80 00 20 */ blr + +.global Rumble__16CRumbleGeneratorFRC9SAdsrDataf15ERumblePriority7EIOPort +Rumble__16CRumbleGeneratorFRC9SAdsrDataf15ERumblePriority7EIOPort: +/* 80369F4C 00366EAC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80369F50 00366EB0 7C 08 02 A6 */ mflr r0 +/* 80369F54 00366EB4 90 01 00 34 */ stw r0, 0x34(r1) +/* 80369F58 00366EB8 DB E1 00 20 */ stfd f31, 0x20(r1) +/* 80369F5C 00366EBC F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 80369F60 00366EC0 BF 41 00 08 */ stmw r26, 8(r1) +/* 80369F64 00366EC4 7C DD 33 78 */ mr r29, r6 +/* 80369F68 00366EC8 7C 7A 1B 78 */ mr r26, r3 +/* 80369F6C 00366ECC 1F FD 00 30 */ mulli r31, r29, 0x30 +/* 80369F70 00366ED0 FF E0 08 90 */ fmr f31, f1 +/* 80369F74 00366ED4 7C 9B 23 78 */ mr r27, r4 +/* 80369F78 00366ED8 7C BC 2B 78 */ mr r28, r5 +/* 80369F7C 00366EDC 7F DA FA 14 */ add r30, r26, r31 +/* 80369F80 00366EE0 7F C3 F3 78 */ mr r3, r30 +/* 80369F84 00366EE4 4B FF F3 9D */ bl GetFreeChannel__12CRumbleVoiceCFv +/* 80369F88 00366EE8 54 60 04 3E */ clrlwi r0, r3, 0x10 +/* 80369F8C 00366EEC 7C 65 1B 78 */ mr r5, r3 +/* 80369F90 00366EF0 1C 60 00 24 */ mulli r3, r0, 0x24 +/* 80369F94 00366EF4 80 9E 00 1C */ lwz r4, 0x1c(r30) +/* 80369F98 00366EF8 38 03 00 1C */ addi r0, r3, 0x1c +/* 80369F9C 00366EFC 7C 04 00 2E */ lwzx r0, r4, r0 +/* 80369FA0 00366F00 7C 1C 00 00 */ cmpw r28, r0 +/* 80369FA4 00366F04 41 80 00 30 */ blt lbl_80369FD4 +/* 80369FA8 00366F08 57 A0 10 3A */ slwi r0, r29, 2 +/* 80369FAC 00366F0C C0 02 CD F0 */ lfs f0, lbl_805AEB10@sda21(r2) +/* 80369FB0 00366F10 7C DA 02 14 */ add r6, r26, r0 +/* 80369FB4 00366F14 FC 20 F8 90 */ fmr f1, f31 +/* 80369FB8 00366F18 D0 06 00 C0 */ stfs f0, 0xc0(r6) +/* 80369FBC 00366F1C 7F C3 F3 78 */ mr r3, r30 +/* 80369FC0 00366F20 7F 64 DB 78 */ mr r4, r27 +/* 80369FC4 00366F24 D0 06 00 D0 */ stfs f0, 0xd0(r6) +/* 80369FC8 00366F28 7F 86 E3 78 */ mr r6, r28 +/* 80369FCC 00366F2C 4B FF F8 41 */ bl Activate__12CRumbleVoiceFRC9SAdsrDatasf15ERumblePriority +/* 80369FD0 00366F30 48 00 00 08 */ b lbl_80369FD8 +lbl_80369FD4: +/* 80369FD4 00366F34 38 60 FF FF */ li r3, -1 +lbl_80369FD8: +/* 80369FD8 00366F38 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 80369FDC 00366F3C CB E1 00 20 */ lfd f31, 0x20(r1) +/* 80369FE0 00366F40 BB 41 00 08 */ lmw r26, 8(r1) +/* 80369FE4 00366F44 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80369FE8 00366F48 7C 08 03 A6 */ mtlr r0 +/* 80369FEC 00366F4C 38 21 00 30 */ addi r1, r1, 0x30 +/* 80369FF0 00366F50 4E 80 00 20 */ blr + +.global __dt__16CRumbleGeneratorFv +__dt__16CRumbleGeneratorFv: +/* 80369FF4 00366F54 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80369FF8 00366F58 7C 08 02 A6 */ mflr r0 +/* 80369FFC 00366F5C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8036A000 00366F60 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8036A004 00366F64 7C 9F 23 78 */ mr r31, r4 +/* 8036A008 00366F68 93 C1 00 08 */ stw r30, 8(r1) +/* 8036A00C 00366F6C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8036A010 00366F70 41 82 00 30 */ beq lbl_8036A040 +/* 8036A014 00366F74 4B FF FD 39 */ bl HardStopAll__16CRumbleGeneratorFv +/* 8036A018 00366F78 3C 80 80 37 */ lis r4, __dt__12CRumbleVoiceFv@ha +/* 8036A01C 00366F7C 7F C3 F3 78 */ mr r3, r30 +/* 8036A020 00366F80 38 84 A0 5C */ addi r4, r4, __dt__12CRumbleVoiceFv@l +/* 8036A024 00366F84 38 A0 00 30 */ li r5, 0x30 +/* 8036A028 00366F88 38 C0 00 04 */ li r6, 4 +/* 8036A02C 00366F8C 48 01 F6 A9 */ bl __destroy_arr +/* 8036A030 00366F90 7F E0 07 35 */ extsh. r0, r31 +/* 8036A034 00366F94 40 81 00 0C */ ble lbl_8036A040 +/* 8036A038 00366F98 7F C3 F3 78 */ mr r3, r30 +/* 8036A03C 00366F9C 4B FA B8 F5 */ bl Free__7CMemoryFPCv +lbl_8036A040: +/* 8036A040 00366FA0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8036A044 00366FA4 7F C3 F3 78 */ mr r3, r30 +/* 8036A048 00366FA8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8036A04C 00366FAC 83 C1 00 08 */ lwz r30, 8(r1) +/* 8036A050 00366FB0 7C 08 03 A6 */ mtlr r0 +/* 8036A054 00366FB4 38 21 00 10 */ addi r1, r1, 0x10 +/* 8036A058 00366FB8 4E 80 00 20 */ blr + +.global __dt__12CRumbleVoiceFv +__dt__12CRumbleVoiceFv: +/* 8036A05C 00366FBC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8036A060 00366FC0 7C 08 02 A6 */ mflr r0 +/* 8036A064 00366FC4 90 01 00 34 */ stw r0, 0x34(r1) +/* 8036A068 00366FC8 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8036A06C 00366FCC 7C 9F 23 78 */ mr r31, r4 +/* 8036A070 00366FD0 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8036A074 00366FD4 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8036A078 00366FD8 41 82 01 00 */ beq lbl_8036A178 +/* 8036A07C 00366FDC 34 1E 00 20 */ addic. r0, r30, 0x20 +/* 8036A080 00366FE0 41 82 00 58 */ beq lbl_8036A0D8 +/* 8036A084 00366FE4 80 BE 00 20 */ lwz r5, 0x20(r30) +/* 8036A088 00366FE8 38 60 00 00 */ li r3, 0 +/* 8036A08C 00366FEC 2C 05 00 00 */ cmpwi r5, 0 +/* 8036A090 00366FF0 40 81 00 40 */ ble lbl_8036A0D0 +/* 8036A094 00366FF4 2C 05 00 08 */ cmpwi r5, 8 +/* 8036A098 00366FF8 38 85 FF F8 */ addi r4, r5, -8 +/* 8036A09C 00366FFC 40 81 00 20 */ ble lbl_8036A0BC +/* 8036A0A0 00367000 38 04 00 07 */ addi r0, r4, 7 +/* 8036A0A4 00367004 54 00 E8 FE */ srwi r0, r0, 3 +/* 8036A0A8 00367008 7C 09 03 A6 */ mtctr r0 +/* 8036A0AC 0036700C 2C 04 00 00 */ cmpwi r4, 0 +/* 8036A0B0 00367010 40 81 00 0C */ ble lbl_8036A0BC +lbl_8036A0B4: +/* 8036A0B4 00367014 38 63 00 08 */ addi r3, r3, 8 +/* 8036A0B8 00367018 42 00 FF FC */ bdnz lbl_8036A0B4 +lbl_8036A0BC: +/* 8036A0BC 0036701C 7C 03 28 50 */ subf r0, r3, r5 +/* 8036A0C0 00367020 7C 09 03 A6 */ mtctr r0 +/* 8036A0C4 00367024 7C 03 28 00 */ cmpw r3, r5 +/* 8036A0C8 00367028 40 80 00 08 */ bge lbl_8036A0D0 +lbl_8036A0CC: +/* 8036A0CC 0036702C 42 00 00 00 */ bdnz lbl_8036A0CC +lbl_8036A0D0: +/* 8036A0D0 00367030 38 00 00 00 */ li r0, 0 +/* 8036A0D4 00367034 90 1E 00 20 */ stw r0, 0x20(r30) +lbl_8036A0D8: +/* 8036A0D8 00367038 34 1E 00 10 */ addic. r0, r30, 0x10 +/* 8036A0DC 0036703C 41 82 00 44 */ beq lbl_8036A120 +/* 8036A0E0 00367040 80 1E 00 14 */ lwz r0, 0x14(r30) +/* 8036A0E4 00367044 80 7E 00 1C */ lwz r3, 0x1c(r30) +/* 8036A0E8 00367048 1C 00 00 24 */ mulli r0, r0, 0x24 +/* 8036A0EC 0036704C 90 61 00 1C */ stw r3, 0x1c(r1) +/* 8036A0F0 00367050 7C 64 1B 78 */ mr r4, r3 +/* 8036A0F4 00367054 7C 03 02 14 */ add r0, r3, r0 +/* 8036A0F8 00367058 90 61 00 18 */ stw r3, 0x18(r1) +/* 8036A0FC 0036705C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8036A100 00367060 90 01 00 20 */ stw r0, 0x20(r1) +/* 8036A104 00367064 48 00 00 08 */ b lbl_8036A10C +lbl_8036A108: +/* 8036A108 00367068 38 84 00 24 */ addi r4, r4, 0x24 +lbl_8036A10C: +/* 8036A10C 0036706C 7C 04 00 40 */ cmplw r4, r0 +/* 8036A110 00367070 40 82 FF F8 */ bne lbl_8036A108 +/* 8036A114 00367074 28 03 00 00 */ cmplwi r3, 0 +/* 8036A118 00367078 41 82 00 08 */ beq lbl_8036A120 +/* 8036A11C 0036707C 4B FA B8 15 */ bl Free__7CMemoryFPCv +lbl_8036A120: +/* 8036A120 00367080 28 1E 00 00 */ cmplwi r30, 0 +/* 8036A124 00367084 41 82 00 44 */ beq lbl_8036A168 +/* 8036A128 00367088 80 1E 00 04 */ lwz r0, 4(r30) +/* 8036A12C 0036708C 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8036A130 00367090 1C 00 00 1C */ mulli r0, r0, 0x1c +/* 8036A134 00367094 90 61 00 0C */ stw r3, 0xc(r1) +/* 8036A138 00367098 7C 64 1B 78 */ mr r4, r3 +/* 8036A13C 0036709C 7C 03 02 14 */ add r0, r3, r0 +/* 8036A140 003670A0 90 61 00 08 */ stw r3, 8(r1) +/* 8036A144 003670A4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8036A148 003670A8 90 01 00 10 */ stw r0, 0x10(r1) +/* 8036A14C 003670AC 48 00 00 08 */ b lbl_8036A154 +lbl_8036A150: +/* 8036A150 003670B0 38 84 00 1C */ addi r4, r4, 0x1c +lbl_8036A154: +/* 8036A154 003670B4 7C 04 00 40 */ cmplw r4, r0 +/* 8036A158 003670B8 40 82 FF F8 */ bne lbl_8036A150 +/* 8036A15C 003670BC 28 03 00 00 */ cmplwi r3, 0 +/* 8036A160 003670C0 41 82 00 08 */ beq lbl_8036A168 +/* 8036A164 003670C4 4B FA B7 CD */ bl Free__7CMemoryFPCv +lbl_8036A168: +/* 8036A168 003670C8 7F E0 07 35 */ extsh. r0, r31 +/* 8036A16C 003670CC 40 81 00 0C */ ble lbl_8036A178 +/* 8036A170 003670D0 7F C3 F3 78 */ mr r3, r30 +/* 8036A174 003670D4 4B FA B7 BD */ bl Free__7CMemoryFPCv +lbl_8036A178: +/* 8036A178 003670D8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8036A17C 003670DC 7F C3 F3 78 */ mr r3, r30 +/* 8036A180 003670E0 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8036A184 003670E4 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8036A188 003670E8 7C 08 03 A6 */ mtlr r0 +/* 8036A18C 003670EC 38 21 00 30 */ addi r1, r1, 0x30 +/* 8036A190 003670F0 4E 80 00 20 */ blr + +.global __ct__16CRumbleGeneratorFv +__ct__16CRumbleGeneratorFv: +/* 8036A194 003670F4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8036A198 003670F8 7C 08 02 A6 */ mflr r0 +/* 8036A19C 003670FC 3C 80 80 37 */ lis r4, __ct__12CRumbleVoiceFv@ha +/* 8036A1A0 00367100 3C A0 80 37 */ lis r5, __dt__12CRumbleVoiceFv@ha +/* 8036A1A4 00367104 90 01 00 14 */ stw r0, 0x14(r1) +/* 8036A1A8 00367108 38 84 99 78 */ addi r4, r4, __ct__12CRumbleVoiceFv@l +/* 8036A1AC 0036710C 38 A5 A0 5C */ addi r5, r5, __dt__12CRumbleVoiceFv@l +/* 8036A1B0 00367110 38 C0 00 30 */ li r6, 0x30 +/* 8036A1B4 00367114 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8036A1B8 00367118 7C 7F 1B 78 */ mr r31, r3 +/* 8036A1BC 0036711C 38 E0 00 04 */ li r7, 4 +/* 8036A1C0 00367120 48 01 F5 8D */ bl __construct_array +/* 8036A1C4 00367124 88 1F 00 F0 */ lbz r0, 0xf0(r31) +/* 8036A1C8 00367128 38 60 00 00 */ li r3, 0 +/* 8036A1CC 0036712C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8036A1D0 00367130 7F E3 FB 78 */ mr r3, r31 +/* 8036A1D4 00367134 98 1F 00 F0 */ stb r0, 0xf0(r31) +/* 8036A1D8 00367138 4B FF FB 75 */ bl HardStopAll__16CRumbleGeneratorFv +/* 8036A1DC 0036713C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8036A1E0 00367140 7F E3 FB 78 */ mr r3, r31 +/* 8036A1E4 00367144 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8036A1E8 00367148 7C 08 03 A6 */ mtlr r0 +/* 8036A1EC 0036714C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8036A1F0 00367150 4E 80 00 20 */ blr diff --git a/asm/Kyoto/Input/CRumbleVoice.s b/asm/Kyoto/Input/CRumbleVoice.s new file mode 100644 index 00000000..5a3ac6d6 --- /dev/null +++ b/asm/Kyoto/Input/CRumbleVoice.s @@ -0,0 +1,694 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global CreateRumbleHandle__12CRumbleVoiceFs +CreateRumbleHandle__12CRumbleVoiceFs: +/* 80369250 003661B0 88 A3 00 2E */ lbz r5, 0x2e(r3) +/* 80369254 003661B4 38 05 00 01 */ addi r0, r5, 1 +/* 80369258 003661B8 98 03 00 2E */ stb r0, 0x2e(r3) +/* 8036925C 003661BC 88 03 00 2E */ lbz r0, 0x2e(r3) +/* 80369260 003661C0 28 00 00 00 */ cmplwi r0, 0 +/* 80369264 003661C4 40 82 00 0C */ bne lbl_80369270 +/* 80369268 003661C8 38 00 00 01 */ li r0, 1 +/* 8036926C 003661CC 98 03 00 2E */ stb r0, 0x2e(r3) +lbl_80369270: +/* 80369270 003661D0 54 85 0B FC */ rlwinm r5, r4, 1, 0xf, 0x1e +/* 80369274 003661D4 88 03 00 2E */ lbz r0, 0x2e(r3) +/* 80369278 003661D8 7C A3 2A 14 */ add r5, r3, r5 +/* 8036927C 003661DC 54 84 04 3E */ clrlwi r4, r4, 0x10 +/* 80369280 003661E0 B0 05 00 24 */ sth r0, 0x24(r5) +/* 80369284 003661E4 88 03 00 2E */ lbz r0, 0x2e(r3) +/* 80369288 003661E8 54 00 40 2E */ slwi r0, r0, 8 +/* 8036928C 003661EC 7C 00 23 78 */ or r0, r0, r4 +/* 80369290 003661F0 54 00 04 3E */ clrlwi r0, r0, 0x10 +/* 80369294 003661F4 7C 03 07 34 */ extsh r3, r0 +/* 80369298 003661F8 4E 80 00 20 */ blr + +.global OwnsSustained__12CRumbleVoiceCFs +OwnsSustained__12CRumbleVoiceCFs: +/* 8036929C 003661FC 7C 84 07 34 */ extsh r4, r4 +/* 803692A0 00366200 54 80 07 3E */ clrlwi r0, r4, 0x1c +/* 803692A4 00366204 28 00 00 04 */ cmplwi r0, 4 +/* 803692A8 00366208 54 84 C6 3E */ rlwinm r4, r4, 0x18, 0x18, 0x1f +/* 803692AC 0036620C 40 80 00 20 */ bge lbl_803692CC +/* 803692B0 00366210 54 00 0B FC */ rlwinm r0, r0, 1, 0xf, 0x1e +/* 803692B4 00366214 7C 63 02 14 */ add r3, r3, r0 +/* 803692B8 00366218 A0 03 00 24 */ lhz r0, 0x24(r3) +/* 803692BC 0036621C 7C 04 00 50 */ subf r0, r4, r0 +/* 803692C0 00366220 7C 00 00 34 */ cntlzw r0, r0 +/* 803692C4 00366224 54 03 D9 7E */ srwi r3, r0, 5 +/* 803692C8 00366228 4E 80 00 20 */ blr +lbl_803692CC: +/* 803692CC 0036622C 38 60 00 00 */ li r3, 0 +/* 803692D0 00366230 4E 80 00 20 */ blr + +.global GetIntensity__12CRumbleVoiceCFv +GetIntensity__12CRumbleVoiceCFv: +/* 803692D4 00366234 80 63 00 1C */ lwz r3, 0x1c(r3) +/* 803692D8 00366238 C0 43 00 00 */ lfs f2, 0(r3) +/* 803692DC 0036623C C0 03 00 24 */ lfs f0, 0x24(r3) +/* 803692E0 00366240 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 803692E4 00366244 40 80 00 08 */ bge lbl_803692EC +/* 803692E8 00366248 FC 40 00 90 */ fmr f2, f0 +lbl_803692EC: +/* 803692EC 0036624C C0 03 00 48 */ lfs f0, 0x48(r3) +/* 803692F0 00366250 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 803692F4 00366254 40 80 00 08 */ bge lbl_803692FC +/* 803692F8 00366258 FC 40 00 90 */ fmr f2, f0 +lbl_803692FC: +/* 803692FC 0036625C C0 03 00 6C */ lfs f0, 0x6c(r3) +/* 80369300 00366260 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80369304 00366264 40 80 00 08 */ bge lbl_8036930C +/* 80369308 00366268 FC 40 00 90 */ fmr f2, f0 +lbl_8036930C: +/* 8036930C 0036626C C0 22 CD D8 */ lfs f1, lbl_805AEAF8@sda21(r2) +/* 80369310 00366270 FC 02 08 40 */ fcmpo cr0, f2, f1 +/* 80369314 00366274 4D 81 00 20 */ bgtlr +/* 80369318 00366278 FC 20 10 90 */ fmr f1, f2 +/* 8036931C 0036627C 4E 80 00 20 */ blr + +.global GetFreeChannel__12CRumbleVoiceCFv +GetFreeChannel__12CRumbleVoiceCFv: +/* 80369320 00366280 38 E0 00 00 */ li r7, 0 +/* 80369324 00366284 38 A0 00 01 */ li r5, 1 +/* 80369328 00366288 48 00 00 24 */ b lbl_8036934C +lbl_8036932C: +/* 8036932C 0036628C 54 E4 04 3E */ clrlwi r4, r7, 0x10 +/* 80369330 00366290 A0 C3 00 2C */ lhz r6, 0x2c(r3) +/* 80369334 00366294 7C A0 20 30 */ slw r0, r5, r4 +/* 80369338 00366298 7C C0 00 39 */ and. r0, r6, r0 +/* 8036933C 0036629C 40 82 00 0C */ bne lbl_80369348 +/* 80369340 003662A0 7C 83 23 78 */ mr r3, r4 +/* 80369344 003662A4 4E 80 00 20 */ blr +lbl_80369348: +/* 80369348 003662A8 38 E7 00 01 */ addi r7, r7, 1 +lbl_8036934C: +/* 8036934C 003662AC 54 E0 04 3E */ clrlwi r0, r7, 0x10 +/* 80369350 003662B0 28 00 00 04 */ cmplwi r0, 4 +/* 80369354 003662B4 41 80 FF D8 */ blt lbl_8036932C +/* 80369358 003662B8 38 60 00 00 */ li r3, 0 +/* 8036935C 003662BC 4E 80 00 20 */ blr + +.global Update__12CRumbleVoiceFf +Update__12CRumbleVoiceFf: +/* 80369360 003662C0 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 80369364 003662C4 7C 08 02 A6 */ mflr r0 +/* 80369368 003662C8 90 01 00 54 */ stw r0, 0x54(r1) +/* 8036936C 003662CC DB E1 00 40 */ stfd f31, 0x40(r1) +/* 80369370 003662D0 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 +/* 80369374 003662D4 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80369378 003662D8 93 C1 00 38 */ stw r30, 0x38(r1) +/* 8036937C 003662DC 93 A1 00 34 */ stw r29, 0x34(r1) +/* 80369380 003662E0 93 81 00 30 */ stw r28, 0x30(r1) +/* 80369384 003662E4 7C 7E 1B 78 */ mr r30, r3 +/* 80369388 003662E8 FF E0 08 90 */ fmr f31, f1 +/* 8036938C 003662EC A0 03 00 2C */ lhz r0, 0x2c(r3) +/* 80369390 003662F0 28 00 00 00 */ cmplwi r0, 0 +/* 80369394 003662F4 41 82 00 CC */ beq lbl_80369460 +/* 80369398 003662F8 3B E0 00 00 */ li r31, 0 +/* 8036939C 003662FC 48 00 00 B0 */ b lbl_8036944C +lbl_803693A0: +/* 803693A0 00366300 57 E6 04 3E */ clrlwi r6, r31, 0x10 +/* 803693A4 00366304 38 00 00 01 */ li r0, 1 +/* 803693A8 00366308 A0 7E 00 2C */ lhz r3, 0x2c(r30) +/* 803693AC 0036630C 7C 1D 30 30 */ slw r29, r0, r6 +/* 803693B0 00366310 7C 60 E8 39 */ and. r0, r3, r29 +/* 803693B4 00366314 41 82 00 94 */ beq lbl_80369448 +/* 803693B8 00366318 1F 86 00 24 */ mulli r28, r6, 0x24 +/* 803693BC 0036631C 80 9E 00 1C */ lwz r4, 0x1c(r30) +/* 803693C0 00366320 FC 20 F8 90 */ fmr f1, f31 +/* 803693C4 00366324 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 803693C8 00366328 7F C3 F3 78 */ mr r3, r30 +/* 803693CC 0036632C 1C 06 00 1C */ mulli r0, r6, 0x1c +/* 803693D0 00366330 7C 84 E2 14 */ add r4, r4, r28 +/* 803693D4 00366334 7C A5 02 14 */ add r5, r5, r0 +/* 803693D8 00366338 48 00 00 B5 */ bl UpdateChannel__12CRumbleVoiceFR10SAdsrDeltaRC9SAdsrDataf +/* 803693DC 0036633C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 803693E0 00366340 41 82 00 68 */ beq lbl_80369448 +/* 803693E4 00366344 A0 1E 00 2C */ lhz r0, 0x2c(r30) +/* 803693E8 00366348 38 61 00 08 */ addi r3, r1, 8 +/* 803693EC 0036634C 7C 00 E8 78 */ andc r0, r0, r29 +/* 803693F0 00366350 B0 1E 00 2C */ sth r0, 0x2c(r30) +/* 803693F4 00366354 48 00 08 B5 */ bl Stopped__10SAdsrDeltaFv +/* 803693F8 00366358 80 1E 00 1C */ lwz r0, 0x1c(r30) +/* 803693FC 0036635C C0 01 00 08 */ lfs f0, 8(r1) +/* 80369400 00366360 7C 60 E2 14 */ add r3, r0, r28 +/* 80369404 00366364 D0 03 00 00 */ stfs f0, 0(r3) +/* 80369408 00366368 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 8036940C 0036636C D0 03 00 04 */ stfs f0, 4(r3) +/* 80369410 00366370 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 80369414 00366374 D0 03 00 08 */ stfs f0, 8(r3) +/* 80369418 00366378 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 8036941C 0036637C D0 03 00 0C */ stfs f0, 0xc(r3) +/* 80369420 00366380 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 80369424 00366384 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 80369428 00366388 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 8036942C 0036638C D0 03 00 14 */ stfs f0, 0x14(r3) +/* 80369430 00366390 C0 01 00 20 */ lfs f0, 0x20(r1) +/* 80369434 00366394 D0 03 00 18 */ stfs f0, 0x18(r3) +/* 80369438 00366398 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8036943C 0036639C 90 03 00 1C */ stw r0, 0x1c(r3) +/* 80369440 003663A0 80 01 00 28 */ lwz r0, 0x28(r1) +/* 80369444 003663A4 90 03 00 20 */ stw r0, 0x20(r3) +lbl_80369448: +/* 80369448 003663A8 3B FF 00 01 */ addi r31, r31, 1 +lbl_8036944C: +/* 8036944C 003663AC 57 E0 04 3E */ clrlwi r0, r31, 0x10 +/* 80369450 003663B0 28 00 00 04 */ cmplwi r0, 4 +/* 80369454 003663B4 41 80 FF 4C */ blt lbl_803693A0 +/* 80369458 003663B8 38 60 00 01 */ li r3, 1 +/* 8036945C 003663BC 48 00 00 08 */ b lbl_80369464 +lbl_80369460: +/* 80369460 003663C0 38 60 00 00 */ li r3, 0 +lbl_80369464: +/* 80369464 003663C4 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 +/* 80369468 003663C8 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8036946C 003663CC CB E1 00 40 */ lfd f31, 0x40(r1) +/* 80369470 003663D0 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80369474 003663D4 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 80369478 003663D8 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 8036947C 003663DC 83 81 00 30 */ lwz r28, 0x30(r1) +/* 80369480 003663E0 7C 08 03 A6 */ mtlr r0 +/* 80369484 003663E4 38 21 00 50 */ addi r1, r1, 0x50 +/* 80369488 003663E8 4E 80 00 20 */ blr + +.global UpdateChannel__12CRumbleVoiceFR10SAdsrDeltaRC9SAdsrDataf +UpdateChannel__12CRumbleVoiceFR10SAdsrDeltaRC9SAdsrDataf: +/* 8036948C 003663EC 80 04 00 20 */ lwz r0, 0x20(r4) +/* 80369490 003663F0 2C 00 00 03 */ cmpwi r0, 3 +/* 80369494 003663F4 41 82 00 A8 */ beq lbl_8036953C +/* 80369498 003663F8 40 80 00 14 */ bge lbl_803694AC +/* 8036949C 003663FC 2C 00 00 01 */ cmpwi r0, 1 +/* 803694A0 00366400 41 82 00 18 */ beq lbl_803694B8 +/* 803694A4 00366404 40 80 00 48 */ bge lbl_803694EC +/* 803694A8 00366408 48 00 01 DC */ b lbl_80369684 +lbl_803694AC: +/* 803694AC 0036640C 2C 00 00 05 */ cmpwi r0, 5 +/* 803694B0 00366410 41 82 01 54 */ beq lbl_80369604 +/* 803694B4 00366414 48 00 01 D0 */ b lbl_80369684 +lbl_803694B8: +/* 803694B8 00366418 C0 44 00 04 */ lfs f2, 4(r4) +/* 803694BC 0036641C C0 02 CD DC */ lfs f0, lbl_805AEAFC@sda21(r2) +/* 803694C0 00366420 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 803694C4 00366424 40 80 00 10 */ bge lbl_803694D4 +/* 803694C8 00366428 EC 02 08 2A */ fadds f0, f2, f1 +/* 803694CC 0036642C D0 04 00 04 */ stfs f0, 4(r4) +/* 803694D0 00366430 48 00 01 B4 */ b lbl_80369684 +lbl_803694D4: +/* 803694D4 00366434 38 00 00 02 */ li r0, 2 +/* 803694D8 00366438 C0 02 CD E0 */ lfs f0, lbl_805AEB00@sda21(r2) +/* 803694DC 0036643C 90 04 00 20 */ stw r0, 0x20(r4) +/* 803694E0 00366440 D0 04 00 00 */ stfs f0, 0(r4) +/* 803694E4 00366444 D0 04 00 04 */ stfs f0, 4(r4) +/* 803694E8 00366448 48 00 01 9C */ b lbl_80369684 +lbl_803694EC: +/* 803694EC 0036644C C0 05 00 08 */ lfs f0, 8(r5) +/* 803694F0 00366450 C0 44 00 04 */ lfs f2, 4(r4) +/* 803694F4 00366454 C0 A4 00 14 */ lfs f5, 0x14(r4) +/* 803694F8 00366458 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 803694FC 0036645C 40 80 00 30 */ bge lbl_8036952C +/* 80369500 00366460 EC 82 00 24 */ fdivs f4, f2, f0 +/* 80369504 00366464 C0 02 CD E4 */ lfs f0, lbl_805AEB04@sda21(r2) +/* 80369508 00366468 C0 62 CD E0 */ lfs f3, lbl_805AEB00@sda21(r2) +/* 8036950C 0036646C EC 40 20 28 */ fsubs f2, f0, f4 +/* 80369510 00366470 EC 05 01 32 */ fmuls f0, f5, f4 +/* 80369514 00366474 EC 03 00 BA */ fmadds f0, f3, f2, f0 +/* 80369518 00366478 D0 04 00 00 */ stfs f0, 0(r4) +/* 8036951C 0036647C C0 04 00 04 */ lfs f0, 4(r4) +/* 80369520 00366480 EC 00 08 2A */ fadds f0, f0, f1 +/* 80369524 00366484 D0 04 00 04 */ stfs f0, 4(r4) +/* 80369528 00366488 48 00 01 5C */ b lbl_80369684 +lbl_8036952C: +/* 8036952C 0036648C D0 A4 00 00 */ stfs f5, 0(r4) +/* 80369530 00366490 38 00 00 03 */ li r0, 3 +/* 80369534 00366494 90 04 00 20 */ stw r0, 0x20(r4) +/* 80369538 00366498 48 00 01 4C */ b lbl_80369684 +lbl_8036953C: +/* 8036953C 0036649C 88 05 00 18 */ lbz r0, 0x18(r5) +/* 80369540 003664A0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80369544 003664A4 41 82 00 54 */ beq lbl_80369598 +/* 80369548 003664A8 C0 05 00 0C */ lfs f0, 0xc(r5) +/* 8036954C 003664AC C0 44 00 08 */ lfs f2, 8(r4) +/* 80369550 003664B0 C0 A4 00 18 */ lfs f5, 0x18(r4) +/* 80369554 003664B4 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80369558 003664B8 C0 84 00 14 */ lfs f4, 0x14(r4) +/* 8036955C 003664BC 40 80 00 2C */ bge lbl_80369588 +/* 80369560 003664C0 EC 62 00 24 */ fdivs f3, f2, f0 +/* 80369564 003664C4 C0 02 CD E4 */ lfs f0, lbl_805AEB04@sda21(r2) +/* 80369568 003664C8 EC 40 18 28 */ fsubs f2, f0, f3 +/* 8036956C 003664CC EC 05 00 F2 */ fmuls f0, f5, f3 +/* 80369570 003664D0 EC 04 00 BA */ fmadds f0, f4, f2, f0 +/* 80369574 003664D4 D0 04 00 00 */ stfs f0, 0(r4) +/* 80369578 003664D8 C0 04 00 08 */ lfs f0, 8(r4) +/* 8036957C 003664DC EC 00 08 2A */ fadds f0, f0, f1 +/* 80369580 003664E0 D0 04 00 08 */ stfs f0, 8(r4) +/* 80369584 003664E4 48 00 01 00 */ b lbl_80369684 +lbl_80369588: +/* 80369588 003664E8 D0 A4 00 00 */ stfs f5, 0(r4) +/* 8036958C 003664EC 38 00 00 04 */ li r0, 4 +/* 80369590 003664F0 90 04 00 20 */ stw r0, 0x20(r4) +/* 80369594 003664F4 48 00 00 F0 */ b lbl_80369684 +lbl_80369598: +/* 80369598 003664F8 C0 05 00 0C */ lfs f0, 0xc(r5) +/* 8036959C 003664FC C0 44 00 08 */ lfs f2, 8(r4) +/* 803695A0 00366500 C0 84 00 14 */ lfs f4, 0x14(r4) +/* 803695A4 00366504 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 803695A8 00366508 40 80 00 30 */ bge lbl_803695D8 +/* 803695AC 0036650C EC 62 00 24 */ fdivs f3, f2, f0 +/* 803695B0 00366510 C0 42 CD E4 */ lfs f2, lbl_805AEB04@sda21(r2) +/* 803695B4 00366514 C0 02 CD E0 */ lfs f0, lbl_805AEB00@sda21(r2) +/* 803695B8 00366518 EC 42 18 28 */ fsubs f2, f2, f3 +/* 803695BC 0036651C EC 00 00 F2 */ fmuls f0, f0, f3 +/* 803695C0 00366520 EC 04 00 BA */ fmadds f0, f4, f2, f0 +/* 803695C4 00366524 D0 04 00 00 */ stfs f0, 0(r4) +/* 803695C8 00366528 C0 04 00 08 */ lfs f0, 8(r4) +/* 803695CC 0036652C EC 00 08 2A */ fadds f0, f0, f1 +/* 803695D0 00366530 D0 04 00 08 */ stfs f0, 8(r4) +/* 803695D4 00366534 48 00 00 14 */ b lbl_803695E8 +lbl_803695D8: +/* 803695D8 00366538 C0 02 CD E0 */ lfs f0, lbl_805AEB00@sda21(r2) +/* 803695DC 0036653C 38 00 00 00 */ li r0, 0 +/* 803695E0 00366540 D0 04 00 00 */ stfs f0, 0(r4) +/* 803695E4 00366544 90 04 00 20 */ stw r0, 0x20(r4) +lbl_803695E8: +/* 803695E8 00366548 80 04 00 20 */ lwz r0, 0x20(r4) +/* 803695EC 0036654C 2C 00 00 03 */ cmpwi r0, 3 +/* 803695F0 00366550 41 82 00 94 */ beq lbl_80369684 +/* 803695F4 00366554 38 00 00 00 */ li r0, 0 +/* 803695F8 00366558 38 60 00 01 */ li r3, 1 +/* 803695FC 0036655C 90 04 00 20 */ stw r0, 0x20(r4) +/* 80369600 00366560 4E 80 00 20 */ blr +lbl_80369604: +/* 80369604 00366564 88 05 00 18 */ lbz r0, 0x18(r5) +/* 80369608 00366568 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8036960C 0036656C 41 82 00 0C */ beq lbl_80369618 +/* 80369610 00366570 C0 84 00 18 */ lfs f4, 0x18(r4) +/* 80369614 00366574 48 00 00 08 */ b lbl_8036961C +lbl_80369618: +/* 80369618 00366578 C0 82 CD E0 */ lfs f4, lbl_805AEB00@sda21(r2) +lbl_8036961C: +/* 8036961C 0036657C C0 05 00 14 */ lfs f0, 0x14(r5) +/* 80369620 00366580 C0 44 00 0C */ lfs f2, 0xc(r4) +/* 80369624 00366584 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80369628 00366588 40 80 00 30 */ bge lbl_80369658 +/* 8036962C 0036658C EC 62 00 24 */ fdivs f3, f2, f0 +/* 80369630 00366590 C0 42 CD E4 */ lfs f2, lbl_805AEB04@sda21(r2) +/* 80369634 00366594 C0 02 CD E0 */ lfs f0, lbl_805AEB00@sda21(r2) +/* 80369638 00366598 EC 42 18 28 */ fsubs f2, f2, f3 +/* 8036963C 0036659C EC 00 00 F2 */ fmuls f0, f0, f3 +/* 80369640 003665A0 EC 04 00 BA */ fmadds f0, f4, f2, f0 +/* 80369644 003665A4 D0 04 00 00 */ stfs f0, 0(r4) +/* 80369648 003665A8 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 8036964C 003665AC EC 00 08 2A */ fadds f0, f0, f1 +/* 80369650 003665B0 D0 04 00 0C */ stfs f0, 0xc(r4) +/* 80369654 003665B4 48 00 00 14 */ b lbl_80369668 +lbl_80369658: +/* 80369658 003665B8 C0 02 CD E0 */ lfs f0, lbl_805AEB00@sda21(r2) +/* 8036965C 003665BC 38 00 00 00 */ li r0, 0 +/* 80369660 003665C0 D0 04 00 00 */ stfs f0, 0(r4) +/* 80369664 003665C4 90 04 00 20 */ stw r0, 0x20(r4) +lbl_80369668: +/* 80369668 003665C8 80 04 00 20 */ lwz r0, 0x20(r4) +/* 8036966C 003665CC 2C 00 00 05 */ cmpwi r0, 5 +/* 80369670 003665D0 41 82 00 14 */ beq lbl_80369684 +/* 80369674 003665D4 38 00 00 00 */ li r0, 0 +/* 80369678 003665D8 38 60 00 01 */ li r3, 1 +/* 8036967C 003665DC 90 04 00 20 */ stw r0, 0x20(r4) +/* 80369680 003665E0 4E 80 00 20 */ blr +lbl_80369684: +/* 80369684 003665E4 88 05 00 18 */ lbz r0, 0x18(r5) +/* 80369688 003665E8 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8036968C 003665EC 41 82 00 34 */ beq lbl_803696C0 +/* 80369690 003665F0 C0 44 00 10 */ lfs f2, 0x10(r4) +/* 80369694 003665F4 C0 05 00 04 */ lfs f0, 4(r5) +/* 80369698 003665F8 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8036969C 003665FC 40 80 00 10 */ bge lbl_803696AC +/* 803696A0 00366600 EC 02 08 2A */ fadds f0, f2, f1 +/* 803696A4 00366604 D0 04 00 10 */ stfs f0, 0x10(r4) +/* 803696A8 00366608 48 00 00 18 */ b lbl_803696C0 +lbl_803696AC: +/* 803696AC 0036660C 80 04 00 20 */ lwz r0, 0x20(r4) +/* 803696B0 00366610 2C 00 00 04 */ cmpwi r0, 4 +/* 803696B4 00366614 40 82 00 0C */ bne lbl_803696C0 +/* 803696B8 00366618 38 00 00 05 */ li r0, 5 +/* 803696BC 0036661C 90 04 00 20 */ stw r0, 0x20(r4) +lbl_803696C0: +/* 803696C0 00366620 38 60 00 00 */ li r3, 0 +/* 803696C4 00366624 4E 80 00 20 */ blr + +.global HardReset__12CRumbleVoiceFv +HardReset__12CRumbleVoiceFv: +/* 803696C8 00366628 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 803696CC 0036662C 7C 08 02 A6 */ mflr r0 +/* 803696D0 00366630 90 01 00 44 */ stw r0, 0x44(r1) +/* 803696D4 00366634 38 00 00 00 */ li r0, 0 +/* 803696D8 00366638 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 803696DC 0036663C 93 C1 00 38 */ stw r30, 0x38(r1) +/* 803696E0 00366640 3B C0 00 00 */ li r30, 0 +/* 803696E4 00366644 93 A1 00 34 */ stw r29, 0x34(r1) +/* 803696E8 00366648 7C 7D 1B 78 */ mr r29, r3 +/* 803696EC 0036664C 3B FD 00 24 */ addi r31, r29, 0x24 +/* 803696F0 00366650 B0 03 00 2C */ sth r0, 0x2c(r3) +/* 803696F4 00366654 48 00 00 74 */ b lbl_80369768 +lbl_803696F8: +/* 803696F8 00366658 38 61 00 08 */ addi r3, r1, 8 +/* 803696FC 0036665C 48 00 05 AD */ bl Stopped__10SAdsrDeltaFv +/* 80369700 00366660 57 C3 04 3E */ clrlwi r3, r30, 0x10 +/* 80369704 00366664 57 C0 0B FC */ rlwinm r0, r30, 1, 0xf, 0x1e +/* 80369708 00366668 1C 83 00 24 */ mulli r4, r3, 0x24 +/* 8036970C 0036666C 80 BD 00 1C */ lwz r5, 0x1c(r29) +/* 80369710 00366670 C0 01 00 08 */ lfs f0, 8(r1) +/* 80369714 00366674 38 60 00 00 */ li r3, 0 +/* 80369718 00366678 3B DE 00 01 */ addi r30, r30, 1 +/* 8036971C 0036667C 7C A5 22 14 */ add r5, r5, r4 +/* 80369720 00366680 D0 05 00 00 */ stfs f0, 0(r5) +/* 80369724 00366684 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 80369728 00366688 D0 05 00 04 */ stfs f0, 4(r5) +/* 8036972C 0036668C C0 01 00 10 */ lfs f0, 0x10(r1) +/* 80369730 00366690 D0 05 00 08 */ stfs f0, 8(r5) +/* 80369734 00366694 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 80369738 00366698 D0 05 00 0C */ stfs f0, 0xc(r5) +/* 8036973C 0036669C C0 01 00 18 */ lfs f0, 0x18(r1) +/* 80369740 003666A0 D0 05 00 10 */ stfs f0, 0x10(r5) +/* 80369744 003666A4 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 80369748 003666A8 D0 05 00 14 */ stfs f0, 0x14(r5) +/* 8036974C 003666AC C0 01 00 20 */ lfs f0, 0x20(r1) +/* 80369750 003666B0 D0 05 00 18 */ stfs f0, 0x18(r5) +/* 80369754 003666B4 80 81 00 24 */ lwz r4, 0x24(r1) +/* 80369758 003666B8 90 85 00 1C */ stw r4, 0x1c(r5) +/* 8036975C 003666BC 80 81 00 28 */ lwz r4, 0x28(r1) +/* 80369760 003666C0 90 85 00 20 */ stw r4, 0x20(r5) +/* 80369764 003666C4 7C 7F 03 2E */ sthx r3, r31, r0 +lbl_80369768: +/* 80369768 003666C8 57 C0 04 3E */ clrlwi r0, r30, 0x10 +/* 8036976C 003666CC 28 00 00 04 */ cmplwi r0, 4 +/* 80369770 003666D0 41 80 FF 88 */ blt lbl_803696F8 +/* 80369774 003666D4 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80369778 003666D8 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 8036977C 003666DC 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 80369780 003666E0 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 80369784 003666E4 7C 08 03 A6 */ mtlr r0 +/* 80369788 003666E8 38 21 00 40 */ addi r1, r1, 0x40 +/* 8036978C 003666EC 4E 80 00 20 */ blr + +.global Deactivate__12CRumbleVoiceFsb +Deactivate__12CRumbleVoiceFsb: +/* 80369790 003666F0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80369794 003666F4 7C 08 02 A6 */ mflr r0 +/* 80369798 003666F8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8036979C 003666FC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803697A0 00366700 7C 9F 23 78 */ mr r31, r4 +/* 803697A4 00366704 7F E0 07 34 */ extsh r0, r31 +/* 803697A8 00366708 2C 00 FF FF */ cmpwi r0, -1 +/* 803697AC 0036670C 93 C1 00 08 */ stw r30, 8(r1) +/* 803697B0 00366710 7C 7E 1B 78 */ mr r30, r3 +/* 803697B4 00366714 41 82 00 40 */ beq lbl_803697F4 +/* 803697B8 00366718 4B FF FA E5 */ bl OwnsSustained__12CRumbleVoiceCFs +/* 803697BC 0036671C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 803697C0 00366720 40 82 00 08 */ bne lbl_803697C8 +/* 803697C4 00366724 48 00 00 30 */ b lbl_803697F4 +lbl_803697C8: +/* 803697C8 00366728 57 E3 07 3E */ clrlwi r3, r31, 0x1c +/* 803697CC 0036672C 38 00 00 01 */ li r0, 1 +/* 803697D0 00366730 A0 9E 00 2C */ lhz r4, 0x2c(r30) +/* 803697D4 00366734 7C 00 18 30 */ slw r0, r0, r3 +/* 803697D8 00366738 7C 80 00 39 */ and. r0, r4, r0 +/* 803697DC 0036673C 41 82 00 18 */ beq lbl_803697F4 +/* 803697E0 00366740 1C 63 00 24 */ mulli r3, r3, 0x24 +/* 803697E4 00366744 80 9E 00 1C */ lwz r4, 0x1c(r30) +/* 803697E8 00366748 38 A0 00 05 */ li r5, 5 +/* 803697EC 0036674C 38 03 00 20 */ addi r0, r3, 0x20 +/* 803697F0 00366750 7C A4 01 2E */ stwx r5, r4, r0 +lbl_803697F4: +/* 803697F4 00366754 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803697F8 00366758 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803697FC 0036675C 83 C1 00 08 */ lwz r30, 8(r1) +/* 80369800 00366760 7C 08 03 A6 */ mtlr r0 +/* 80369804 00366764 38 21 00 10 */ addi r1, r1, 0x10 +/* 80369808 00366768 4E 80 00 20 */ blr + +.global Activate__12CRumbleVoiceFRC9SAdsrDatasf15ERumblePriority +Activate__12CRumbleVoiceFRC9SAdsrDatasf15ERumblePriority: +/* 8036980C 0036676C 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80369810 00366770 7C 08 02 A6 */ mflr r0 +/* 80369814 00366774 90 01 00 64 */ stw r0, 0x64(r1) +/* 80369818 00366778 DB E1 00 50 */ stfd f31, 0x50(r1) +/* 8036981C 0036677C F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 +/* 80369820 00366780 BF 61 00 3C */ stmw r27, 0x3c(r1) +/* 80369824 00366784 FF E0 08 90 */ fmr f31, f1 +/* 80369828 00366788 C0 02 CD E0 */ lfs f0, lbl_805AEB00@sda21(r2) +/* 8036982C 0036678C 7C 7C 1B 78 */ mr r28, r3 +/* 80369830 00366790 7C 9D 23 78 */ mr r29, r4 +/* 80369834 00366794 7C BE 2B 78 */ mr r30, r5 +/* 80369838 00366798 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 8036983C 0036679C 40 81 01 1C */ ble lbl_80369958 +/* 80369840 003667A0 57 DB 04 3E */ clrlwi r27, r30, 0x10 +/* 80369844 003667A4 80 1C 00 0C */ lwz r0, 0xc(r28) +/* 80369848 003667A8 1F FB 00 1C */ mulli r31, r27, 0x1c +/* 8036984C 003667AC C0 1D 00 00 */ lfs f0, 0(r29) +/* 80369850 003667B0 7C C4 33 78 */ mr r4, r6 +/* 80369854 003667B4 38 61 00 08 */ addi r3, r1, 8 +/* 80369858 003667B8 7C A0 FA 14 */ add r5, r0, r31 +/* 8036985C 003667BC D0 05 00 00 */ stfs f0, 0(r5) +/* 80369860 003667C0 C0 1D 00 04 */ lfs f0, 4(r29) +/* 80369864 003667C4 D0 05 00 04 */ stfs f0, 4(r5) +/* 80369868 003667C8 C0 1D 00 08 */ lfs f0, 8(r29) +/* 8036986C 003667CC D0 05 00 08 */ stfs f0, 8(r5) +/* 80369870 003667D0 C0 1D 00 0C */ lfs f0, 0xc(r29) +/* 80369874 003667D4 D0 05 00 0C */ stfs f0, 0xc(r5) +/* 80369878 003667D8 C0 1D 00 10 */ lfs f0, 0x10(r29) +/* 8036987C 003667DC D0 05 00 10 */ stfs f0, 0x10(r5) +/* 80369880 003667E0 C0 1D 00 14 */ lfs f0, 0x14(r29) +/* 80369884 003667E4 D0 05 00 14 */ stfs f0, 0x14(r5) +/* 80369888 003667E8 88 1D 00 18 */ lbz r0, 0x18(r29) +/* 8036988C 003667EC 98 05 00 18 */ stb r0, 0x18(r5) +/* 80369890 003667F0 A0 1C 00 2C */ lhz r0, 0x2c(r28) +/* 80369894 003667F4 7C 00 00 34 */ cntlzw r0, r0 +/* 80369898 003667F8 54 05 DE 3E */ rlwinm r5, r0, 0x1b, 0x18, 0x1f +/* 8036989C 003667FC 48 00 04 31 */ bl Start__10SAdsrDeltaF15ERumblePriorityb +/* 803698A0 00366800 1C DB 00 24 */ mulli r6, r27, 0x24 +/* 803698A4 00366804 80 7C 00 1C */ lwz r3, 0x1c(r28) +/* 803698A8 00366808 38 00 00 01 */ li r0, 1 +/* 803698AC 0036680C C0 01 00 08 */ lfs f0, 8(r1) +/* 803698B0 00366810 38 BF 00 10 */ addi r5, r31, 0x10 +/* 803698B4 00366814 7C E3 32 14 */ add r7, r3, r6 +/* 803698B8 00366818 D0 07 00 00 */ stfs f0, 0(r7) +/* 803698BC 0036681C 38 86 00 14 */ addi r4, r6, 0x14 +/* 803698C0 00366820 38 66 00 18 */ addi r3, r6, 0x18 +/* 803698C4 00366824 7C 00 D8 30 */ slw r0, r0, r27 +/* 803698C8 00366828 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 803698CC 0036682C D0 07 00 04 */ stfs f0, 4(r7) +/* 803698D0 00366830 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 803698D4 00366834 D0 07 00 08 */ stfs f0, 8(r7) +/* 803698D8 00366838 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 803698DC 0036683C D0 07 00 0C */ stfs f0, 0xc(r7) +/* 803698E0 00366840 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 803698E4 00366844 D0 07 00 10 */ stfs f0, 0x10(r7) +/* 803698E8 00366848 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 803698EC 0036684C D0 07 00 14 */ stfs f0, 0x14(r7) +/* 803698F0 00366850 C0 01 00 20 */ lfs f0, 0x20(r1) +/* 803698F4 00366854 D0 07 00 18 */ stfs f0, 0x18(r7) +/* 803698F8 00366858 80 C1 00 24 */ lwz r6, 0x24(r1) +/* 803698FC 0036685C 90 C7 00 1C */ stw r6, 0x1c(r7) +/* 80369900 00366860 80 C1 00 28 */ lwz r6, 0x28(r1) +/* 80369904 00366864 90 C7 00 20 */ stw r6, 0x20(r7) +/* 80369908 00366868 80 FC 00 0C */ lwz r7, 0xc(r28) +/* 8036990C 0036686C 80 DC 00 1C */ lwz r6, 0x1c(r28) +/* 80369910 00366870 7C 07 FC 2E */ lfsx f0, r7, r31 +/* 80369914 00366874 EC 1F 00 32 */ fmuls f0, f31, f0 +/* 80369918 00366878 7C 06 25 2E */ stfsx f0, r6, r4 +/* 8036991C 0036687C 80 DC 00 0C */ lwz r6, 0xc(r28) +/* 80369920 00366880 80 9C 00 1C */ lwz r4, 0x1c(r28) +/* 80369924 00366884 7C 06 2C 2E */ lfsx f0, r6, r5 +/* 80369928 00366888 EC 1F 00 32 */ fmuls f0, f31, f0 +/* 8036992C 0036688C 7C 04 1D 2E */ stfsx f0, r4, r3 +/* 80369930 00366890 A0 7C 00 2C */ lhz r3, 0x2c(r28) +/* 80369934 00366894 7C 60 03 78 */ or r0, r3, r0 +/* 80369938 00366898 B0 1C 00 2C */ sth r0, 0x2c(r28) +/* 8036993C 0036689C 88 1D 00 18 */ lbz r0, 0x18(r29) +/* 80369940 003668A0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80369944 003668A4 41 82 00 14 */ beq lbl_80369958 +/* 80369948 003668A8 7F 83 E3 78 */ mr r3, r28 +/* 8036994C 003668AC 7F C4 F3 78 */ mr r4, r30 +/* 80369950 003668B0 4B FF F9 01 */ bl CreateRumbleHandle__12CRumbleVoiceFs +/* 80369954 003668B4 48 00 00 08 */ b lbl_8036995C +lbl_80369958: +/* 80369958 003668B8 38 60 FF FF */ li r3, -1 +lbl_8036995C: +/* 8036995C 003668BC E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 +/* 80369960 003668C0 CB E1 00 50 */ lfd f31, 0x50(r1) +/* 80369964 003668C4 BB 61 00 3C */ lmw r27, 0x3c(r1) +/* 80369968 003668C8 80 01 00 64 */ lwz r0, 0x64(r1) +/* 8036996C 003668CC 7C 08 03 A6 */ mtlr r0 +/* 80369970 003668D0 38 21 00 60 */ addi r1, r1, 0x60 +/* 80369974 003668D4 4E 80 00 20 */ blr + +.global __ct__12CRumbleVoiceFv +__ct__12CRumbleVoiceFv: +/* 80369978 003668D8 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 8036997C 003668DC 7C 08 02 A6 */ mflr r0 +/* 80369980 003668E0 90 01 00 54 */ stw r0, 0x54(r1) +/* 80369984 003668E4 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 80369988 003668E8 7C 7F 1B 78 */ mr r31, r3 +/* 8036998C 003668EC 38 61 00 08 */ addi r3, r1, 8 +/* 80369990 003668F0 48 00 02 7D */ bl __ct__9SAdsrDataFv +/* 80369994 003668F4 38 00 00 04 */ li r0, 4 +/* 80369998 003668F8 90 1F 00 04 */ stw r0, 4(r31) +/* 8036999C 003668FC 90 1F 00 08 */ stw r0, 8(r31) +/* 803699A0 00366900 80 1F 00 04 */ lwz r0, 4(r31) +/* 803699A4 00366904 1C 60 00 1C */ mulli r3, r0, 0x1c +/* 803699A8 00366908 2C 03 00 00 */ cmpwi r3, 0 +/* 803699AC 0036690C 40 82 00 10 */ bne lbl_803699BC +/* 803699B0 00366910 38 00 00 00 */ li r0, 0 +/* 803699B4 00366914 90 1F 00 0C */ stw r0, 0xc(r31) +/* 803699B8 00366918 48 00 00 18 */ b lbl_803699D0 +lbl_803699BC: +/* 803699BC 0036691C 3C 80 80 3E */ lis r4, lbl_803D8540@ha +/* 803699C0 00366920 38 A0 00 00 */ li r5, 0 +/* 803699C4 00366924 38 84 85 40 */ addi r4, r4, lbl_803D8540@l +/* 803699C8 00366928 4B FA BE 51 */ bl __nwa__FUlPCcPCc +/* 803699CC 0036692C 90 7F 00 0C */ stw r3, 0xc(r31) +lbl_803699D0: +/* 803699D0 00366930 38 00 00 02 */ li r0, 2 +/* 803699D4 00366934 80 9F 00 0C */ lwz r4, 0xc(r31) +/* 803699D8 00366938 38 60 00 00 */ li r3, 0 +/* 803699DC 0036693C 7C 09 03 A6 */ mtctr r0 +lbl_803699E0: +/* 803699E0 00366940 28 04 00 00 */ cmplwi r4, 0 +/* 803699E4 00366944 41 82 00 3C */ beq lbl_80369A20 +/* 803699E8 00366948 C0 01 00 08 */ lfs f0, 8(r1) +/* 803699EC 0036694C D0 04 00 00 */ stfs f0, 0(r4) +/* 803699F0 00366950 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 803699F4 00366954 D0 04 00 04 */ stfs f0, 4(r4) +/* 803699F8 00366958 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 803699FC 0036695C D0 04 00 08 */ stfs f0, 8(r4) +/* 80369A00 00366960 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 80369A04 00366964 D0 04 00 0C */ stfs f0, 0xc(r4) +/* 80369A08 00366968 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 80369A0C 0036696C D0 04 00 10 */ stfs f0, 0x10(r4) +/* 80369A10 00366970 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 80369A14 00366974 D0 04 00 14 */ stfs f0, 0x14(r4) +/* 80369A18 00366978 88 01 00 20 */ lbz r0, 0x20(r1) +/* 80369A1C 0036697C 98 04 00 18 */ stb r0, 0x18(r4) +lbl_80369A20: +/* 80369A20 00366980 34 84 00 1C */ addic. r4, r4, 0x1c +/* 80369A24 00366984 41 82 00 3C */ beq lbl_80369A60 +/* 80369A28 00366988 C0 01 00 08 */ lfs f0, 8(r1) +/* 80369A2C 0036698C D0 04 00 00 */ stfs f0, 0(r4) +/* 80369A30 00366990 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 80369A34 00366994 D0 04 00 04 */ stfs f0, 4(r4) +/* 80369A38 00366998 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 80369A3C 0036699C D0 04 00 08 */ stfs f0, 8(r4) +/* 80369A40 003669A0 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 80369A44 003669A4 D0 04 00 0C */ stfs f0, 0xc(r4) +/* 80369A48 003669A8 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 80369A4C 003669AC D0 04 00 10 */ stfs f0, 0x10(r4) +/* 80369A50 003669B0 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 80369A54 003669B4 D0 04 00 14 */ stfs f0, 0x14(r4) +/* 80369A58 003669B8 88 01 00 20 */ lbz r0, 0x20(r1) +/* 80369A5C 003669BC 98 04 00 18 */ stb r0, 0x18(r4) +lbl_80369A60: +/* 80369A60 003669C0 38 63 00 01 */ addi r3, r3, 1 +/* 80369A64 003669C4 38 84 00 1C */ addi r4, r4, 0x1c +/* 80369A68 003669C8 42 00 FF 78 */ bdnz lbl_803699E0 +/* 80369A6C 003669CC 38 61 00 24 */ addi r3, r1, 0x24 +/* 80369A70 003669D0 48 00 02 39 */ bl Stopped__10SAdsrDeltaFv +/* 80369A74 003669D4 38 00 00 04 */ li r0, 4 +/* 80369A78 003669D8 90 1F 00 14 */ stw r0, 0x14(r31) +/* 80369A7C 003669DC 90 1F 00 18 */ stw r0, 0x18(r31) +/* 80369A80 003669E0 80 1F 00 14 */ lwz r0, 0x14(r31) +/* 80369A84 003669E4 1C 60 00 24 */ mulli r3, r0, 0x24 +/* 80369A88 003669E8 2C 03 00 00 */ cmpwi r3, 0 +/* 80369A8C 003669EC 40 82 00 10 */ bne lbl_80369A9C +/* 80369A90 003669F0 38 00 00 00 */ li r0, 0 +/* 80369A94 003669F4 90 1F 00 1C */ stw r0, 0x1c(r31) +/* 80369A98 003669F8 48 00 00 18 */ b lbl_80369AB0 +lbl_80369A9C: +/* 80369A9C 003669FC 3C 80 80 3E */ lis r4, lbl_803D8540@ha +/* 80369AA0 00366A00 38 A0 00 00 */ li r5, 0 +/* 80369AA4 00366A04 38 84 85 40 */ addi r4, r4, lbl_803D8540@l +/* 80369AA8 00366A08 4B FA BD 71 */ bl __nwa__FUlPCcPCc +/* 80369AAC 00366A0C 90 7F 00 1C */ stw r3, 0x1c(r31) +lbl_80369AB0: +/* 80369AB0 00366A10 38 00 00 02 */ li r0, 2 +/* 80369AB4 00366A14 80 9F 00 1C */ lwz r4, 0x1c(r31) +/* 80369AB8 00366A18 38 60 00 00 */ li r3, 0 +/* 80369ABC 00366A1C 7C 09 03 A6 */ mtctr r0 +lbl_80369AC0: +/* 80369AC0 00366A20 28 04 00 00 */ cmplwi r4, 0 +/* 80369AC4 00366A24 41 82 00 4C */ beq lbl_80369B10 +/* 80369AC8 00366A28 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 80369ACC 00366A2C D0 04 00 00 */ stfs f0, 0(r4) +/* 80369AD0 00366A30 C0 01 00 28 */ lfs f0, 0x28(r1) +/* 80369AD4 00366A34 D0 04 00 04 */ stfs f0, 4(r4) +/* 80369AD8 00366A38 C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 80369ADC 00366A3C D0 04 00 08 */ stfs f0, 8(r4) +/* 80369AE0 00366A40 C0 01 00 30 */ lfs f0, 0x30(r1) +/* 80369AE4 00366A44 D0 04 00 0C */ stfs f0, 0xc(r4) +/* 80369AE8 00366A48 C0 01 00 34 */ lfs f0, 0x34(r1) +/* 80369AEC 00366A4C D0 04 00 10 */ stfs f0, 0x10(r4) +/* 80369AF0 00366A50 C0 01 00 38 */ lfs f0, 0x38(r1) +/* 80369AF4 00366A54 D0 04 00 14 */ stfs f0, 0x14(r4) +/* 80369AF8 00366A58 C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 80369AFC 00366A5C D0 04 00 18 */ stfs f0, 0x18(r4) +/* 80369B00 00366A60 80 01 00 40 */ lwz r0, 0x40(r1) +/* 80369B04 00366A64 90 04 00 1C */ stw r0, 0x1c(r4) +/* 80369B08 00366A68 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80369B0C 00366A6C 90 04 00 20 */ stw r0, 0x20(r4) +lbl_80369B10: +/* 80369B10 00366A70 34 84 00 24 */ addic. r4, r4, 0x24 +/* 80369B14 00366A74 41 82 00 4C */ beq lbl_80369B60 +/* 80369B18 00366A78 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 80369B1C 00366A7C D0 04 00 00 */ stfs f0, 0(r4) +/* 80369B20 00366A80 C0 01 00 28 */ lfs f0, 0x28(r1) +/* 80369B24 00366A84 D0 04 00 04 */ stfs f0, 4(r4) +/* 80369B28 00366A88 C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 80369B2C 00366A8C D0 04 00 08 */ stfs f0, 8(r4) +/* 80369B30 00366A90 C0 01 00 30 */ lfs f0, 0x30(r1) +/* 80369B34 00366A94 D0 04 00 0C */ stfs f0, 0xc(r4) +/* 80369B38 00366A98 C0 01 00 34 */ lfs f0, 0x34(r1) +/* 80369B3C 00366A9C D0 04 00 10 */ stfs f0, 0x10(r4) +/* 80369B40 00366AA0 C0 01 00 38 */ lfs f0, 0x38(r1) +/* 80369B44 00366AA4 D0 04 00 14 */ stfs f0, 0x14(r4) +/* 80369B48 00366AA8 C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 80369B4C 00366AAC D0 04 00 18 */ stfs f0, 0x18(r4) +/* 80369B50 00366AB0 80 01 00 40 */ lwz r0, 0x40(r1) +/* 80369B54 00366AB4 90 04 00 1C */ stw r0, 0x1c(r4) +/* 80369B58 00366AB8 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80369B5C 00366ABC 90 04 00 20 */ stw r0, 0x20(r4) +lbl_80369B60: +/* 80369B60 00366AC0 38 63 00 01 */ addi r3, r3, 1 +/* 80369B64 00366AC4 38 84 00 24 */ addi r4, r4, 0x24 +/* 80369B68 00366AC8 42 00 FF 58 */ bdnz lbl_80369AC0 +/* 80369B6C 00366ACC 38 00 00 04 */ li r0, 4 +/* 80369B70 00366AD0 34 7F 00 24 */ addic. r3, r31, 0x24 +/* 80369B74 00366AD4 90 1F 00 20 */ stw r0, 0x20(r31) +/* 80369B78 00366AD8 41 82 00 0C */ beq lbl_80369B84 +/* 80369B7C 00366ADC A0 0D 9E A0 */ lhz r0, lbl_805A8A60@sda21(r13) +/* 80369B80 00366AE0 B0 03 00 00 */ sth r0, 0(r3) +lbl_80369B84: +/* 80369B84 00366AE4 34 63 00 02 */ addic. r3, r3, 2 +/* 80369B88 00366AE8 41 82 00 0C */ beq lbl_80369B94 +/* 80369B8C 00366AEC A0 0D 9E A0 */ lhz r0, lbl_805A8A60@sda21(r13) +/* 80369B90 00366AF0 B0 03 00 00 */ sth r0, 0(r3) +lbl_80369B94: +/* 80369B94 00366AF4 34 63 00 02 */ addic. r3, r3, 2 +/* 80369B98 00366AF8 41 82 00 0C */ beq lbl_80369BA4 +/* 80369B9C 00366AFC A0 0D 9E A0 */ lhz r0, lbl_805A8A60@sda21(r13) +/* 80369BA0 00366B00 B0 03 00 00 */ sth r0, 0(r3) +lbl_80369BA4: +/* 80369BA4 00366B04 34 63 00 02 */ addic. r3, r3, 2 +/* 80369BA8 00366B08 41 82 00 0C */ beq lbl_80369BB4 +/* 80369BAC 00366B0C A0 0D 9E A0 */ lhz r0, lbl_805A8A60@sda21(r13) +/* 80369BB0 00366B10 B0 03 00 00 */ sth r0, 0(r3) +lbl_80369BB4: +/* 80369BB4 00366B14 38 00 00 00 */ li r0, 0 +/* 80369BB8 00366B18 7F E3 FB 78 */ mr r3, r31 +/* 80369BBC 00366B1C B0 1F 00 2C */ sth r0, 0x2c(r31) +/* 80369BC0 00366B20 98 1F 00 2E */ stb r0, 0x2e(r31) +/* 80369BC4 00366B24 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 80369BC8 00366B28 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80369BCC 00366B2C 7C 08 03 A6 */ mtlr r0 +/* 80369BD0 00366B30 38 21 00 50 */ addi r1, r1, 0x50 +/* 80369BD4 00366B34 4E 80 00 20 */ blr diff --git a/asm/Kyoto/Input/DolphinIController.s b/asm/Kyoto/Input/DolphinIController.s new file mode 100644 index 00000000..b0046967 --- /dev/null +++ b/asm/Kyoto/Input/DolphinIController.s @@ -0,0 +1,57 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global Create__11IControllerFRC10COsContext +Create__11IControllerFRC10COsContext: +/* 8034EFB4 0034BF14 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034EFB8 0034BF18 7C 08 02 A6 */ mflr r0 +/* 8034EFBC 0034BF1C 3C 80 80 3E */ lis r4, lbl_803D8228@ha +/* 8034EFC0 0034BF20 38 60 01 D0 */ li r3, 0x1d0 +/* 8034EFC4 0034BF24 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034EFC8 0034BF28 38 84 82 28 */ addi r4, r4, lbl_803D8228@l +/* 8034EFCC 0034BF2C 38 A0 00 00 */ li r5, 0 +/* 8034EFD0 0034BF30 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034EFD4 0034BF34 4B FC 68 99 */ bl __nw__FUlPCcPCc +/* 8034EFD8 0034BF38 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8034EFDC 0034BF3C 41 82 00 0C */ beq lbl_8034EFE8 +/* 8034EFE0 0034BF40 48 00 07 A9 */ bl __ct__18CDolphinControllerFv +/* 8034EFE4 0034BF44 7C 7F 1B 78 */ mr r31, r3 +lbl_8034EFE8: +/* 8034EFE8 0034BF48 7F E3 FB 78 */ mr r3, r31 +/* 8034EFEC 0034BF4C 48 00 06 95 */ bl Initialize__18CDolphinControllerFv +/* 8034EFF0 0034BF50 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034EFF4 0034BF54 7F E3 FB 78 */ mr r3, r31 +/* 8034EFF8 0034BF58 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034EFFC 0034BF5C 7C 08 03 A6 */ mtlr r0 +/* 8034F000 0034BF60 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034F004 0034BF64 4E 80 00 20 */ blr + +.global __dt__11IControllerFv +__dt__11IControllerFv: +/* 8034F008 0034BF68 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034F00C 0034BF6C 7C 08 02 A6 */ mflr r0 +/* 8034F010 0034BF70 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034F014 0034BF74 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034F018 0034BF78 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8034F01C 0034BF7C 41 82 00 1C */ beq lbl_8034F038 +/* 8034F020 0034BF80 3C A0 80 3F */ lis r5, lbl_803EF680@ha +/* 8034F024 0034BF84 7C 80 07 35 */ extsh. r0, r4 +/* 8034F028 0034BF88 38 05 F6 80 */ addi r0, r5, lbl_803EF680@l +/* 8034F02C 0034BF8C 90 1F 00 00 */ stw r0, 0(r31) +/* 8034F030 0034BF90 40 81 00 08 */ ble lbl_8034F038 +/* 8034F034 0034BF94 4B FC 68 FD */ bl Free__7CMemoryFPCv +lbl_8034F038: +/* 8034F038 0034BF98 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8034F03C 0034BF9C 7F E3 FB 78 */ mr r3, r31 +/* 8034F040 0034BFA0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034F044 0034BFA4 7C 08 03 A6 */ mtlr r0 +/* 8034F048 0034BFA8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8034F04C 0034BFAC 4E 80 00 20 */ blr + +.global __ct__11IControllerFv +__ct__11IControllerFv: +/* 8034F050 0034BFB0 3C 80 80 3F */ lis r4, lbl_803EF680@ha +/* 8034F054 0034BFB4 38 04 F6 80 */ addi r0, r4, lbl_803EF680@l +/* 8034F058 0034BFB8 90 03 00 00 */ stw r0, 0(r3) +/* 8034F05C 0034BFBC 4E 80 00 20 */ blr diff --git a/asm/Kyoto/Input/RumbleAdsr.s b/asm/Kyoto/Input/RumbleAdsr.s new file mode 100644 index 00000000..1401dfc8 --- /dev/null +++ b/asm/Kyoto/Input/RumbleAdsr.s @@ -0,0 +1,98 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __ct__9SAdsrDataFffffffbb +__ct__9SAdsrDataFffffffbb: +/* 80369BD8 00366B38 D0 23 00 00 */ stfs f1, 0(r3) +/* 80369BDC 00366B3C D0 43 00 04 */ stfs f2, 4(r3) +/* 80369BE0 00366B40 D0 63 00 08 */ stfs f3, 8(r3) +/* 80369BE4 00366B44 D0 83 00 0C */ stfs f4, 0xc(r3) +/* 80369BE8 00366B48 D0 A3 00 10 */ stfs f5, 0x10(r3) +/* 80369BEC 00366B4C D0 C3 00 14 */ stfs f6, 0x14(r3) +/* 80369BF0 00366B50 88 03 00 18 */ lbz r0, 0x18(r3) +/* 80369BF4 00366B54 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 80369BF8 00366B58 98 03 00 18 */ stb r0, 0x18(r3) +/* 80369BFC 00366B5C 88 03 00 18 */ lbz r0, 0x18(r3) +/* 80369C00 00366B60 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 +/* 80369C04 00366B64 98 03 00 18 */ stb r0, 0x18(r3) +/* 80369C08 00366B68 4E 80 00 20 */ blr + +.global __ct__9SAdsrDataFv +__ct__9SAdsrDataFv: +/* 80369C0C 00366B6C C0 02 CD E8 */ lfs f0, lbl_805AEB08@sda21(r2) +/* 80369C10 00366B70 38 80 00 00 */ li r4, 0 +/* 80369C14 00366B74 D0 03 00 00 */ stfs f0, 0(r3) +/* 80369C18 00366B78 D0 03 00 04 */ stfs f0, 4(r3) +/* 80369C1C 00366B7C D0 03 00 08 */ stfs f0, 8(r3) +/* 80369C20 00366B80 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 80369C24 00366B84 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 80369C28 00366B88 D0 03 00 14 */ stfs f0, 0x14(r3) +/* 80369C2C 00366B8C 88 03 00 18 */ lbz r0, 0x18(r3) +/* 80369C30 00366B90 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 80369C34 00366B94 98 03 00 18 */ stb r0, 0x18(r3) +/* 80369C38 00366B98 88 03 00 18 */ lbz r0, 0x18(r3) +/* 80369C3C 00366B9C 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 80369C40 00366BA0 98 03 00 18 */ stb r0, 0x18(r3) +/* 80369C44 00366BA4 4E 80 00 20 */ blr + +.global __ct__10SAdsrDeltaFQ210SAdsrDelta6EPhase15ERumblePriority +__ct__10SAdsrDeltaFQ210SAdsrDelta6EPhase15ERumblePriority: +/* 80369C48 00366BA8 2C 04 00 01 */ cmpwi r4, 1 +/* 80369C4C 00366BAC 40 82 00 0C */ bne lbl_80369C58 +/* 80369C50 00366BB0 C0 02 CD EC */ lfs f0, lbl_805AEB0C@sda21(r2) +/* 80369C54 00366BB4 48 00 00 08 */ b lbl_80369C5C +lbl_80369C58: +/* 80369C58 00366BB8 C0 02 CD E8 */ lfs f0, lbl_805AEB08@sda21(r2) +lbl_80369C5C: +/* 80369C5C 00366BBC D0 03 00 00 */ stfs f0, 0(r3) +/* 80369C60 00366BC0 C0 02 CD E8 */ lfs f0, lbl_805AEB08@sda21(r2) +/* 80369C64 00366BC4 D0 03 00 04 */ stfs f0, 4(r3) +/* 80369C68 00366BC8 D0 03 00 08 */ stfs f0, 8(r3) +/* 80369C6C 00366BCC D0 03 00 0C */ stfs f0, 0xc(r3) +/* 80369C70 00366BD0 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 80369C74 00366BD4 90 A3 00 1C */ stw r5, 0x1c(r3) +/* 80369C78 00366BD8 90 83 00 20 */ stw r4, 0x20(r3) +/* 80369C7C 00366BDC 4E 80 00 20 */ blr + +.global __ct__10SAdsrDeltaFQ210SAdsrDelta6EPhase +__ct__10SAdsrDeltaFQ210SAdsrDelta6EPhase: +/* 80369C80 00366BE0 C0 02 CD E8 */ lfs f0, lbl_805AEB08@sda21(r2) +/* 80369C84 00366BE4 38 00 00 00 */ li r0, 0 +/* 80369C88 00366BE8 D0 03 00 00 */ stfs f0, 0(r3) +/* 80369C8C 00366BEC D0 03 00 04 */ stfs f0, 4(r3) +/* 80369C90 00366BF0 D0 03 00 08 */ stfs f0, 8(r3) +/* 80369C94 00366BF4 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 80369C98 00366BF8 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 80369C9C 00366BFC 90 03 00 1C */ stw r0, 0x1c(r3) +/* 80369CA0 00366C00 90 83 00 20 */ stw r4, 0x20(r3) +/* 80369CA4 00366C04 4E 80 00 20 */ blr + +.global Stopped__10SAdsrDeltaFv +Stopped__10SAdsrDeltaFv: +/* 80369CA8 00366C08 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80369CAC 00366C0C 7C 08 02 A6 */ mflr r0 +/* 80369CB0 00366C10 38 80 00 00 */ li r4, 0 +/* 80369CB4 00366C14 90 01 00 14 */ stw r0, 0x14(r1) +/* 80369CB8 00366C18 4B FF FF C9 */ bl __ct__10SAdsrDeltaFQ210SAdsrDelta6EPhase +/* 80369CBC 00366C1C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80369CC0 00366C20 7C 08 03 A6 */ mtlr r0 +/* 80369CC4 00366C24 38 21 00 10 */ addi r1, r1, 0x10 +/* 80369CC8 00366C28 4E 80 00 20 */ blr + +.global Start__10SAdsrDeltaF15ERumblePriorityb +Start__10SAdsrDeltaF15ERumblePriorityb: +/* 80369CCC 00366C2C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80369CD0 00366C30 7C 08 02 A6 */ mflr r0 +/* 80369CD4 00366C34 90 01 00 14 */ stw r0, 0x14(r1) +/* 80369CD8 00366C38 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 80369CDC 00366C3C 7C 85 23 78 */ mr r5, r4 +/* 80369CE0 00366C40 38 80 00 02 */ li r4, 2 +/* 80369CE4 00366C44 41 82 00 08 */ beq lbl_80369CEC +/* 80369CE8 00366C48 38 80 00 01 */ li r4, 1 +lbl_80369CEC: +/* 80369CEC 00366C4C 4B FF FF 5D */ bl __ct__10SAdsrDeltaFQ210SAdsrDelta6EPhase15ERumblePriority +/* 80369CF0 00366C50 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80369CF4 00366C54 7C 08 03 A6 */ mtlr r0 +/* 80369CF8 00366C58 38 21 00 10 */ addi r1, r1, 0x10 +/* 80369CFC 00366C5C 4E 80 00 20 */ blr diff --git a/asm/Kyoto/Math/CAABox.s b/asm/Kyoto/Math/CAABox.s new file mode 100644 index 00000000..75e8a2b5 --- /dev/null +++ b/asm/Kyoto/Math/CAABox.s @@ -0,0 +1,1395 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global ClosestPointAlongVector__6CAABoxCFRC9CVector3f +ClosestPointAlongVector__6CAABoxCFRC9CVector3f: +/* 803371DC 0033413C C0 05 00 00 */ lfs f0, 0(r5) +/* 803371E0 00334140 C0 24 00 00 */ lfs f1, 0(r4) +/* 803371E4 00334144 C0 64 00 0C */ lfs f3, 0xc(r4) +/* 803371E8 00334148 C0 45 00 04 */ lfs f2, 4(r5) +/* 803371EC 0033414C FC A0 18 6E */ fsel f5, f0, f1, f3 +/* 803371F0 00334150 C0 64 00 04 */ lfs f3, 4(r4) +/* 803371F4 00334154 C0 84 00 10 */ lfs f4, 0x10(r4) +/* 803371F8 00334158 C0 05 00 08 */ lfs f0, 8(r5) +/* 803371FC 0033415C C0 24 00 08 */ lfs f1, 8(r4) +/* 80337200 00334160 FC 62 20 EE */ fsel f3, f2, f3, f4 +/* 80337204 00334164 C0 44 00 14 */ lfs f2, 0x14(r4) +/* 80337208 00334168 D0 A3 00 00 */ stfs f5, 0(r3) +/* 8033720C 0033416C FC 00 10 6E */ fsel f0, f0, f1, f2 +/* 80337210 00334170 D0 63 00 04 */ stfs f3, 4(r3) +/* 80337214 00334174 D0 03 00 08 */ stfs f0, 8(r3) +/* 80337218 00334178 4E 80 00 20 */ blr + +.global FurthestPointAlongVector__6CAABoxCFRC9CVector3f +FurthestPointAlongVector__6CAABoxCFRC9CVector3f: +/* 8033721C 0033417C C0 05 00 00 */ lfs f0, 0(r5) +/* 80337220 00334180 C0 24 00 0C */ lfs f1, 0xc(r4) +/* 80337224 00334184 C0 64 00 00 */ lfs f3, 0(r4) +/* 80337228 00334188 C0 45 00 04 */ lfs f2, 4(r5) +/* 8033722C 0033418C FC A0 18 6E */ fsel f5, f0, f1, f3 +/* 80337230 00334190 C0 64 00 10 */ lfs f3, 0x10(r4) +/* 80337234 00334194 C0 84 00 04 */ lfs f4, 4(r4) +/* 80337238 00334198 C0 05 00 08 */ lfs f0, 8(r5) +/* 8033723C 0033419C C0 24 00 14 */ lfs f1, 0x14(r4) +/* 80337240 003341A0 FC 62 20 EE */ fsel f3, f2, f3, f4 +/* 80337244 003341A4 C0 44 00 08 */ lfs f2, 8(r4) +/* 80337248 003341A8 D0 A3 00 00 */ stfs f5, 0(r3) +/* 8033724C 003341AC FC 00 10 6E */ fsel f0, f0, f1, f2 +/* 80337250 003341B0 D0 63 00 04 */ stfs f3, 4(r3) +/* 80337254 003341B4 D0 03 00 08 */ stfs f0, 8(r3) +/* 80337258 003341B8 4E 80 00 20 */ blr + +.global DistanceBetween__6CAABoxFRC6CAABoxRC6CAABox +DistanceBetween__6CAABoxFRC6CAABoxRC6CAABox: +/* 8033725C 003341BC 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 80337260 003341C0 7C 08 02 A6 */ mflr r0 +/* 80337264 003341C4 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 80337268 003341C8 DB E1 00 90 */ stfd f31, 0x90(r1) +/* 8033726C 003341CC F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 +/* 80337270 003341D0 DB C1 00 80 */ stfd f30, 0x80(r1) +/* 80337274 003341D4 F3 C1 00 88 */ psq_st f30, 136(r1), 0, qr0 +/* 80337278 003341D8 DB A1 00 70 */ stfd f29, 0x70(r1) +/* 8033727C 003341DC F3 A1 00 78 */ psq_st f29, 120(r1), 0, qr0 +/* 80337280 003341E0 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 80337284 003341E4 C0 04 00 00 */ lfs f0, 0(r4) +/* 80337288 003341E8 C0 C3 00 0C */ lfs f6, 0xc(r3) +/* 8033728C 003341EC FC 06 00 40 */ fcmpo cr0, f6, f0 +/* 80337290 003341F0 7C 00 00 26 */ mfcr r0 +/* 80337294 003341F4 C0 23 00 00 */ lfs f1, 0(r3) +/* 80337298 003341F8 C0 E4 00 0C */ lfs f7, 0xc(r4) +/* 8033729C 003341FC 54 05 0F FE */ srwi r5, r0, 0x1f +/* 803372A0 00334200 FC 01 38 40 */ fcmpo cr0, f1, f7 +/* 803372A4 00334204 7C 00 00 26 */ mfcr r0 +/* 803372A8 00334208 C0 44 00 04 */ lfs f2, 4(r4) +/* 803372AC 0033420C C1 03 00 10 */ lfs f8, 0x10(r3) +/* 803372B0 00334210 54 06 17 FE */ rlwinm r6, r0, 2, 0x1f, 0x1f +/* 803372B4 00334214 FC 08 10 40 */ fcmpo cr0, f8, f2 +/* 803372B8 00334218 7C 00 00 26 */ mfcr r0 +/* 803372BC 0033421C C0 63 00 04 */ lfs f3, 4(r3) +/* 803372C0 00334220 C1 24 00 10 */ lfs f9, 0x10(r4) +/* 803372C4 00334224 54 07 0F FE */ srwi r7, r0, 0x1f +/* 803372C8 00334228 FC 03 48 40 */ fcmpo cr0, f3, f9 +/* 803372CC 0033422C 7C 00 00 26 */ mfcr r0 +/* 803372D0 00334230 C0 84 00 08 */ lfs f4, 8(r4) +/* 803372D4 00334234 C1 43 00 14 */ lfs f10, 0x14(r3) +/* 803372D8 00334238 54 08 17 FE */ rlwinm r8, r0, 2, 0x1f, 0x1f +/* 803372DC 0033423C FC 0A 20 40 */ fcmpo cr0, f10, f4 +/* 803372E0 00334240 7C 00 00 26 */ mfcr r0 +/* 803372E4 00334244 C0 A3 00 08 */ lfs f5, 8(r3) +/* 803372E8 00334248 C1 64 00 14 */ lfs f11, 0x14(r4) +/* 803372EC 0033424C 54 09 0F FE */ srwi r9, r0, 0x1f +/* 803372F0 00334250 FC 05 58 40 */ fcmpo cr0, f5, f11 +/* 803372F4 00334254 7C 00 00 26 */ mfcr r0 +/* 803372F8 00334258 28 05 00 00 */ cmplwi r5, 0 +/* 803372FC 0033425C 54 0A 17 FE */ rlwinm r10, r0, 2, 0x1f, 0x1f +/* 80337300 00334260 39 60 00 00 */ li r11, 0 +/* 80337304 00334264 38 00 00 00 */ li r0, 0 +/* 80337308 00334268 40 82 00 10 */ bne lbl_80337318 +/* 8033730C 0033426C 28 06 00 00 */ cmplwi r6, 0 +/* 80337310 00334270 40 82 00 08 */ bne lbl_80337318 +/* 80337314 00334274 38 00 00 01 */ li r0, 1 +lbl_80337318: +/* 80337318 00334278 28 07 00 00 */ cmplwi r7, 0 +/* 8033731C 0033427C 38 80 00 00 */ li r4, 0 +/* 80337320 00334280 40 82 00 10 */ bne lbl_80337330 +/* 80337324 00334284 28 08 00 00 */ cmplwi r8, 0 +/* 80337328 00334288 40 82 00 08 */ bne lbl_80337330 +/* 8033732C 0033428C 38 80 00 01 */ li r4, 1 +lbl_80337330: +/* 80337330 00334290 28 09 00 00 */ cmplwi r9, 0 +/* 80337334 00334294 38 60 00 00 */ li r3, 0 +/* 80337338 00334298 40 82 00 10 */ bne lbl_80337348 +/* 8033733C 0033429C 28 0A 00 00 */ cmplwi r10, 0 +/* 80337340 003342A0 40 82 00 08 */ bne lbl_80337348 +/* 80337344 003342A4 38 60 00 01 */ li r3, 1 +lbl_80337348: +/* 80337348 003342A8 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 8033734C 003342AC 41 82 00 08 */ beq lbl_80337354 +/* 80337350 003342B0 61 6B 00 01 */ ori r11, r11, 1 +lbl_80337354: +/* 80337354 003342B4 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 80337358 003342B8 41 82 00 08 */ beq lbl_80337360 +/* 8033735C 003342BC 61 6B 00 02 */ ori r11, r11, 2 +lbl_80337360: +/* 80337360 003342C0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80337364 003342C4 41 82 00 08 */ beq lbl_8033736C +/* 80337368 003342C8 61 6B 00 04 */ ori r11, r11, 4 +lbl_8033736C: +/* 8033736C 003342CC 28 05 00 00 */ cmplwi r5, 0 +/* 80337370 003342D0 41 82 00 10 */ beq lbl_80337380 +/* 80337374 003342D4 FF E0 30 90 */ fmr f31, f6 +/* 80337378 003342D8 FC 20 00 90 */ fmr f1, f0 +/* 8033737C 003342DC 48 00 00 0C */ b lbl_80337388 +lbl_80337380: +/* 80337380 003342E0 FF E0 08 90 */ fmr f31, f1 +/* 80337384 003342E4 FC 20 38 90 */ fmr f1, f7 +lbl_80337388: +/* 80337388 003342E8 28 07 00 00 */ cmplwi r7, 0 +/* 8033738C 003342EC 41 82 00 10 */ beq lbl_8033739C +/* 80337390 003342F0 FF C0 40 90 */ fmr f30, f8 +/* 80337394 003342F4 FC C0 10 90 */ fmr f6, f2 +/* 80337398 003342F8 48 00 00 0C */ b lbl_803373A4 +lbl_8033739C: +/* 8033739C 003342FC FF C0 18 90 */ fmr f30, f3 +/* 803373A0 00334300 FC C0 48 90 */ fmr f6, f9 +lbl_803373A4: +/* 803373A4 00334304 28 09 00 00 */ cmplwi r9, 0 +/* 803373A8 00334308 41 82 00 10 */ beq lbl_803373B8 +/* 803373AC 0033430C FF A0 50 90 */ fmr f29, f10 +/* 803373B0 00334310 FC 40 20 90 */ fmr f2, f4 +/* 803373B4 00334314 48 00 00 0C */ b lbl_803373C0 +lbl_803373B8: +/* 803373B8 00334318 FF A0 28 90 */ fmr f29, f5 +/* 803373BC 0033431C FC 40 58 90 */ fmr f2, f11 +lbl_803373C0: +/* 803373C0 00334320 28 0B 00 07 */ cmplwi r11, 7 +/* 803373C4 00334324 41 81 01 40 */ bgt lbl_80337504 +/* 803373C8 00334328 3C 60 80 3F */ lis r3, lbl_803EE318@ha +/* 803373CC 0033432C 55 60 10 3A */ slwi r0, r11, 2 +/* 803373D0 00334330 38 63 E3 18 */ addi r3, r3, lbl_803EE318@l +/* 803373D4 00334334 7C 03 00 2E */ lwzx r0, r3, r0 +/* 803373D8 00334338 7C 09 03 A6 */ mtctr r0 +/* 803373DC 0033433C 4E 80 04 20 */ bctr +/* 803373E0 00334340 FC 80 F0 18 */ frsp f4, f30 +/* 803373E4 00334344 D3 E1 00 50 */ stfs f31, 0x50(r1) +/* 803373E8 00334348 FC 60 E8 18 */ frsp f3, f29 +/* 803373EC 0033434C 38 61 00 5C */ addi r3, r1, 0x5c +/* 803373F0 00334350 FC 00 F8 18 */ frsp f0, f31 +/* 803373F4 00334354 D3 C1 00 54 */ stfs f30, 0x54(r1) +/* 803373F8 00334358 EC 84 30 28 */ fsubs f4, f4, f6 +/* 803373FC 0033435C D3 A1 00 58 */ stfs f29, 0x58(r1) +/* 80337400 00334360 EC 43 10 28 */ fsubs f2, f3, f2 +/* 80337404 00334364 EC 00 08 28 */ fsubs f0, f0, f1 +/* 80337408 00334368 D0 81 00 60 */ stfs f4, 0x60(r1) +/* 8033740C 0033436C D0 01 00 5C */ stfs f0, 0x5c(r1) +/* 80337410 00334370 D0 41 00 64 */ stfs f2, 0x64(r1) +/* 80337414 00334374 4B FD D4 A5 */ bl Magnitude__9CVector3fCFv +/* 80337418 00334378 48 00 00 F0 */ b lbl_80337508 +/* 8033741C 0033437C FC 20 30 90 */ fmr f1, f6 +/* 80337420 00334380 38 61 00 38 */ addi r3, r1, 0x38 +/* 80337424 00334384 4B FD CD DD */ bl __ct__9CVector2fFff +/* 80337428 00334388 FC 20 F0 90 */ fmr f1, f30 +/* 8033742C 0033438C 7C 7F 1B 78 */ mr r31, r3 +/* 80337430 00334390 FC 40 E8 90 */ fmr f2, f29 +/* 80337434 00334394 38 61 00 40 */ addi r3, r1, 0x40 +/* 80337438 00334398 4B FD CD C9 */ bl __ct__9CVector2fFff +/* 8033743C 0033439C 7C 64 1B 78 */ mr r4, r3 +/* 80337440 003343A0 7F E5 FB 78 */ mr r5, r31 +/* 80337444 003343A4 38 61 00 48 */ addi r3, r1, 0x48 +/* 80337448 003343A8 4B FD CA F1 */ bl __mi__FRC9CVector2fRC9CVector2f +/* 8033744C 003343AC 38 61 00 48 */ addi r3, r1, 0x48 +/* 80337450 003343B0 4B FD CC A5 */ bl Magnitude__9CVector2fCFv +/* 80337454 003343B4 48 00 00 B4 */ b lbl_80337508 +/* 80337458 003343B8 38 61 00 20 */ addi r3, r1, 0x20 +/* 8033745C 003343BC 4B FD CD A5 */ bl __ct__9CVector2fFff +/* 80337460 003343C0 FC 20 F8 90 */ fmr f1, f31 +/* 80337464 003343C4 7C 7F 1B 78 */ mr r31, r3 +/* 80337468 003343C8 FC 40 E8 90 */ fmr f2, f29 +/* 8033746C 003343CC 38 61 00 28 */ addi r3, r1, 0x28 +/* 80337470 003343D0 4B FD CD 91 */ bl __ct__9CVector2fFff +/* 80337474 003343D4 7C 64 1B 78 */ mr r4, r3 +/* 80337478 003343D8 7F E5 FB 78 */ mr r5, r31 +/* 8033747C 003343DC 38 61 00 30 */ addi r3, r1, 0x30 +/* 80337480 003343E0 4B FD CA B9 */ bl __mi__FRC9CVector2fRC9CVector2f +/* 80337484 003343E4 38 61 00 30 */ addi r3, r1, 0x30 +/* 80337488 003343E8 4B FD CC 6D */ bl Magnitude__9CVector2fCFv +/* 8033748C 003343EC 48 00 00 7C */ b lbl_80337508 +/* 80337490 003343F0 EC 1D 10 28 */ fsubs f0, f29, f2 +/* 80337494 003343F4 FC 00 02 10 */ fabs f0, f0 +/* 80337498 003343F8 FC 20 00 18 */ frsp f1, f0 +/* 8033749C 003343FC 48 00 00 6C */ b lbl_80337508 +/* 803374A0 00334400 FC 40 30 90 */ fmr f2, f6 +/* 803374A4 00334404 38 61 00 08 */ addi r3, r1, 8 +/* 803374A8 00334408 4B FD CD 59 */ bl __ct__9CVector2fFff +/* 803374AC 0033440C FC 20 F8 90 */ fmr f1, f31 +/* 803374B0 00334410 7C 7F 1B 78 */ mr r31, r3 +/* 803374B4 00334414 FC 40 F0 90 */ fmr f2, f30 +/* 803374B8 00334418 38 61 00 10 */ addi r3, r1, 0x10 +/* 803374BC 0033441C 4B FD CD 45 */ bl __ct__9CVector2fFff +/* 803374C0 00334420 7C 64 1B 78 */ mr r4, r3 +/* 803374C4 00334424 7F E5 FB 78 */ mr r5, r31 +/* 803374C8 00334428 38 61 00 18 */ addi r3, r1, 0x18 +/* 803374CC 0033442C 4B FD CA 6D */ bl __mi__FRC9CVector2fRC9CVector2f +/* 803374D0 00334430 38 61 00 18 */ addi r3, r1, 0x18 +/* 803374D4 00334434 4B FD CC 21 */ bl Magnitude__9CVector2fCFv +/* 803374D8 00334438 48 00 00 30 */ b lbl_80337508 +/* 803374DC 0033443C EC 1E 30 28 */ fsubs f0, f30, f6 +/* 803374E0 00334440 FC 00 02 10 */ fabs f0, f0 +/* 803374E4 00334444 FC 20 00 18 */ frsp f1, f0 +/* 803374E8 00334448 48 00 00 20 */ b lbl_80337508 +/* 803374EC 0033444C EC 1F 08 28 */ fsubs f0, f31, f1 +/* 803374F0 00334450 FC 00 02 10 */ fabs f0, f0 +/* 803374F4 00334454 FC 20 00 18 */ frsp f1, f0 +/* 803374F8 00334458 48 00 00 10 */ b lbl_80337508 +/* 803374FC 0033445C C0 22 CB 88 */ lfs f1, lbl_805AE8A8@sda21(r2) +/* 80337500 00334460 48 00 00 08 */ b lbl_80337508 +lbl_80337504: +/* 80337504 00334464 C0 22 CB 88 */ lfs f1, lbl_805AE8A8@sda21(r2) +lbl_80337508: +/* 80337508 00334468 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 +/* 8033750C 0033446C CB E1 00 90 */ lfd f31, 0x90(r1) +/* 80337510 00334470 E3 C1 00 88 */ psq_l f30, 136(r1), 0, qr0 +/* 80337514 00334474 CB C1 00 80 */ lfd f30, 0x80(r1) +/* 80337518 00334478 E3 A1 00 78 */ psq_l f29, 120(r1), 0, qr0 +/* 8033751C 0033447C CB A1 00 70 */ lfd f29, 0x70(r1) +/* 80337520 00334480 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 80337524 00334484 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 80337528 00334488 7C 08 03 A6 */ mtlr r0 +/* 8033752C 0033448C 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 80337530 00334490 4E 80 00 20 */ blr + +.global PointInside__6CAABoxCFRC9CVector3f +PointInside__6CAABoxCFRC9CVector3f: +/* 80337534 00334494 C0 24 00 00 */ lfs f1, 0(r4) +/* 80337538 00334498 38 00 00 00 */ li r0, 0 +/* 8033753C 0033449C C0 03 00 00 */ lfs f0, 0(r3) +/* 80337540 003344A0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80337544 003344A4 4C 41 13 82 */ cror 2, 1, 2 +/* 80337548 003344A8 40 82 00 60 */ bne lbl_803375A8 +/* 8033754C 003344AC C0 03 00 0C */ lfs f0, 0xc(r3) +/* 80337550 003344B0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80337554 003344B4 4C 40 13 82 */ cror 2, 0, 2 +/* 80337558 003344B8 40 82 00 50 */ bne lbl_803375A8 +/* 8033755C 003344BC C0 24 00 04 */ lfs f1, 4(r4) +/* 80337560 003344C0 C0 03 00 04 */ lfs f0, 4(r3) +/* 80337564 003344C4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80337568 003344C8 4C 41 13 82 */ cror 2, 1, 2 +/* 8033756C 003344CC 40 82 00 3C */ bne lbl_803375A8 +/* 80337570 003344D0 C0 03 00 10 */ lfs f0, 0x10(r3) +/* 80337574 003344D4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80337578 003344D8 4C 40 13 82 */ cror 2, 0, 2 +/* 8033757C 003344DC 40 82 00 2C */ bne lbl_803375A8 +/* 80337580 003344E0 C0 24 00 08 */ lfs f1, 8(r4) +/* 80337584 003344E4 C0 03 00 08 */ lfs f0, 8(r3) +/* 80337588 003344E8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8033758C 003344EC 4C 41 13 82 */ cror 2, 1, 2 +/* 80337590 003344F0 40 82 00 18 */ bne lbl_803375A8 +/* 80337594 003344F4 C0 03 00 14 */ lfs f0, 0x14(r3) +/* 80337598 003344F8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8033759C 003344FC 4C 40 13 82 */ cror 2, 0, 2 +/* 803375A0 00334500 40 82 00 08 */ bne lbl_803375A8 +/* 803375A4 00334504 38 00 00 01 */ li r0, 1 +lbl_803375A8: +/* 803375A8 00334508 7C 03 03 78 */ mr r3, r0 +/* 803375AC 0033450C 4E 80 00 20 */ blr + +.global GetPoint__6CAABoxCFi +GetPoint__6CAABoxCFi: +/* 803375B0 00334510 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803375B4 00334514 39 24 00 0C */ addi r9, r4, 0xc +/* 803375B8 00334518 54 A7 07 7A */ rlwinm r7, r5, 0, 0x1d, 0x1d +/* 803375BC 0033451C 54 A6 0F 7A */ rlwinm r6, r5, 1, 0x1d, 0x1d +/* 803375C0 00334520 80 02 D7 88 */ lwz r0, lbl_805AF4A8@sda21(r2) +/* 803375C4 00334524 39 01 00 08 */ addi r8, r1, 8 +/* 803375C8 00334528 81 42 D7 8C */ lwz r10, lbl_805AF4AC@sda21(r2) +/* 803375CC 0033452C 90 01 00 08 */ stw r0, 8(r1) +/* 803375D0 00334530 54 A0 17 7A */ rlwinm r0, r5, 2, 0x1d, 0x1d +/* 803375D4 00334534 91 41 00 0C */ stw r10, 0xc(r1) +/* 803375D8 00334538 90 81 00 08 */ stw r4, 8(r1) +/* 803375DC 0033453C 91 21 00 0C */ stw r9, 0xc(r1) +/* 803375E0 00334540 7C E8 38 2E */ lwzx r7, r8, r7 +/* 803375E4 00334544 7C A8 30 2E */ lwzx r5, r8, r6 +/* 803375E8 00334548 7C 88 00 2E */ lwzx r4, r8, r0 +/* 803375EC 0033454C C0 27 00 08 */ lfs f1, 8(r7) +/* 803375F0 00334550 C0 45 00 04 */ lfs f2, 4(r5) +/* 803375F4 00334554 C0 04 00 00 */ lfs f0, 0(r4) +/* 803375F8 00334558 D0 03 00 00 */ stfs f0, 0(r3) +/* 803375FC 0033455C D0 43 00 04 */ stfs f2, 4(r3) +/* 80337600 00334560 D0 23 00 08 */ stfs f1, 8(r3) +/* 80337604 00334564 38 21 00 10 */ addi r1, r1, 0x10 +/* 80337608 00334568 4E 80 00 20 */ blr + +.global GetCenterPoint__6CAABoxCFv +GetCenterPoint__6CAABoxCFv: +/* 8033760C 0033456C C0 24 00 00 */ lfs f1, 0(r4) +/* 80337610 00334570 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 80337614 00334574 C0 64 00 04 */ lfs f3, 4(r4) +/* 80337618 00334578 C0 44 00 10 */ lfs f2, 0x10(r4) +/* 8033761C 0033457C EC 01 00 2A */ fadds f0, f1, f0 +/* 80337620 00334580 C0 82 CB 8C */ lfs f4, lbl_805AE8AC@sda21(r2) +/* 80337624 00334584 EC 63 10 2A */ fadds f3, f3, f2 +/* 80337628 00334588 C0 44 00 08 */ lfs f2, 8(r4) +/* 8033762C 0033458C C0 24 00 14 */ lfs f1, 0x14(r4) +/* 80337630 00334590 EC 04 00 32 */ fmuls f0, f4, f0 +/* 80337634 00334594 EC 22 08 2A */ fadds f1, f2, f1 +/* 80337638 00334598 EC 44 00 F2 */ fmuls f2, f4, f3 +/* 8033763C 0033459C D0 03 00 00 */ stfs f0, 0(r3) +/* 80337640 003345A0 EC 04 00 72 */ fmuls f0, f4, f1 +/* 80337644 003345A4 D0 43 00 04 */ stfs f2, 4(r3) +/* 80337648 003345A8 D0 03 00 08 */ stfs f0, 8(r3) +/* 8033764C 003345AC 4E 80 00 20 */ blr + +.global GetVolume__6CAABoxCFv +GetVolume__6CAABoxCFv: +/* 80337650 003345B0 C0 63 00 0C */ lfs f3, 0xc(r3) +/* 80337654 003345B4 C0 43 00 00 */ lfs f2, 0(r3) +/* 80337658 003345B8 C0 23 00 10 */ lfs f1, 0x10(r3) +/* 8033765C 003345BC C0 03 00 04 */ lfs f0, 4(r3) +/* 80337660 003345C0 EC 43 10 28 */ fsubs f2, f3, f2 +/* 80337664 003345C4 C0 63 00 14 */ lfs f3, 0x14(r3) +/* 80337668 003345C8 EC 01 00 28 */ fsubs f0, f1, f0 +/* 8033766C 003345CC C0 23 00 08 */ lfs f1, 8(r3) +/* 80337670 003345D0 EC 23 08 28 */ fsubs f1, f3, f1 +/* 80337674 003345D4 EC 02 00 32 */ fmuls f0, f2, f0 +/* 80337678 003345D8 EC 21 00 32 */ fmuls f1, f1, f0 +/* 8033767C 003345DC 4E 80 00 20 */ blr + +.global Invalid__6CAABoxCFv +Invalid__6CAABoxCFv: +/* 80337680 003345E0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80337684 003345E4 7C 08 02 A6 */ mflr r0 +/* 80337688 003345E8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033768C 003345EC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80337690 003345F0 7C 7F 1B 78 */ mr r31, r3 +/* 80337694 003345F4 C0 23 00 00 */ lfs f1, 0(r3) +/* 80337698 003345F8 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 8033769C 003345FC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 803376A0 00334600 40 81 00 2C */ ble lbl_803376CC +/* 803376A4 00334604 C0 3F 00 04 */ lfs f1, 4(r31) +/* 803376A8 00334608 C0 1F 00 10 */ lfs f0, 0x10(r31) +/* 803376AC 0033460C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 803376B0 00334610 40 81 00 1C */ ble lbl_803376CC +/* 803376B4 00334614 C0 3F 00 08 */ lfs f1, 8(r31) +/* 803376B8 00334618 C0 1F 00 14 */ lfs f0, 0x14(r31) +/* 803376BC 0033461C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 803376C0 00334620 40 81 00 0C */ ble lbl_803376CC +/* 803376C4 00334624 38 60 00 01 */ li r3, 1 +/* 803376C8 00334628 48 00 00 48 */ b lbl_80337710 +lbl_803376CC: +/* 803376CC 0033462C 3C 60 80 5A */ lis r3, skZero3f@ha +/* 803376D0 00334630 C0 22 CB 90 */ lfs f1, lbl_805AE8B0@sda21(r2) +/* 803376D4 00334634 38 83 66 A0 */ addi r4, r3, skZero3f@l +/* 803376D8 00334638 7F E3 FB 78 */ mr r3, r31 +/* 803376DC 0033463C 4B FD CE D5 */ bl IsEqu__9CVector3fCFRC9CVector3ff +/* 803376E0 00334640 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 803376E4 00334644 41 82 00 28 */ beq lbl_8033770C +/* 803376E8 00334648 3C 60 80 5A */ lis r3, skZero3f@ha +/* 803376EC 0033464C C0 22 CB 90 */ lfs f1, lbl_805AE8B0@sda21(r2) +/* 803376F0 00334650 38 83 66 A0 */ addi r4, r3, skZero3f@l +/* 803376F4 00334654 38 7F 00 0C */ addi r3, r31, 0xc +/* 803376F8 00334658 4B FD CE B9 */ bl IsEqu__9CVector3fCFRC9CVector3ff +/* 803376FC 0033465C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80337700 00334660 41 82 00 0C */ beq lbl_8033770C +/* 80337704 00334664 38 60 00 01 */ li r3, 1 +/* 80337708 00334668 48 00 00 08 */ b lbl_80337710 +lbl_8033770C: +/* 8033770C 0033466C 38 60 00 00 */ li r3, 0 +lbl_80337710: +/* 80337710 00334670 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80337714 00334674 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80337718 00334678 7C 08 03 A6 */ mtlr r0 +/* 8033771C 0033467C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80337720 00334680 4E 80 00 20 */ blr + +.global GetBooleanIntersection__6CAABoxCFRC6CAABox +GetBooleanIntersection__6CAABoxCFRC6CAABox: +/* 80337724 00334684 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80337728 00334688 7C 08 02 A6 */ mflr r0 +/* 8033772C 0033468C 3C C0 80 5A */ lis r6, skZero3f@ha +/* 80337730 00334690 7C A7 2B 78 */ mr r7, r5 +/* 80337734 00334694 90 01 00 24 */ stw r0, 0x24(r1) +/* 80337738 00334698 38 00 00 03 */ li r0, 3 +/* 8033773C 0033469C 7C 88 23 78 */ mr r8, r4 +/* 80337740 003346A0 39 41 00 14 */ addi r10, r1, 0x14 +/* 80337744 003346A4 C4 06 66 A0 */ lfsu f0, skZero3f@l(r6) +/* 80337748 003346A8 39 61 00 08 */ addi r11, r1, 8 +/* 8033774C 003346AC 39 20 00 00 */ li r9, 0 +/* 80337750 003346B0 C0 26 00 04 */ lfs f1, 4(r6) +/* 80337754 003346B4 C0 46 00 08 */ lfs f2, 8(r6) +/* 80337758 003346B8 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 8033775C 003346BC D0 21 00 18 */ stfs f1, 0x18(r1) +/* 80337760 003346C0 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 80337764 003346C4 D0 01 00 08 */ stfs f0, 8(r1) +/* 80337768 003346C8 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 8033776C 003346CC D0 41 00 10 */ stfs f2, 0x10(r1) +/* 80337770 003346D0 7C 09 03 A6 */ mtctr r0 +lbl_80337774: +/* 80337774 003346D4 C0 68 00 00 */ lfs f3, 0(r8) +/* 80337778 003346D8 C0 47 00 00 */ lfs f2, 0(r7) +/* 8033777C 003346DC FC 03 10 40 */ fcmpo cr0, f3, f2 +/* 80337780 003346E0 4C 40 13 82 */ cror 2, 0, 2 +/* 80337784 003346E4 40 82 00 2C */ bne lbl_803377B0 +/* 80337788 003346E8 7C C4 4A 14 */ add r6, r4, r9 +/* 8033778C 003346EC 7D 85 4A 14 */ add r12, r5, r9 +/* 80337790 003346F0 C0 26 00 0C */ lfs f1, 0xc(r6) +/* 80337794 003346F4 C0 0C 00 0C */ lfs f0, 0xc(r12) +/* 80337798 003346F8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8033779C 003346FC 4C 41 13 82 */ cror 2, 1, 2 +/* 803377A0 00334700 40 82 00 10 */ bne lbl_803377B0 +/* 803377A4 00334704 D0 4A 00 00 */ stfs f2, 0(r10) +/* 803377A8 00334708 D0 0B 00 00 */ stfs f0, 0(r11) +/* 803377AC 0033470C 48 00 00 94 */ b lbl_80337840 +lbl_803377B0: +/* 803377B0 00334710 FC 02 18 40 */ fcmpo cr0, f2, f3 +/* 803377B4 00334714 4C 40 13 82 */ cror 2, 0, 2 +/* 803377B8 00334718 40 82 00 2C */ bne lbl_803377E4 +/* 803377BC 0033471C 7C C5 4A 14 */ add r6, r5, r9 +/* 803377C0 00334720 7D 84 4A 14 */ add r12, r4, r9 +/* 803377C4 00334724 C0 26 00 0C */ lfs f1, 0xc(r6) +/* 803377C8 00334728 C0 0C 00 0C */ lfs f0, 0xc(r12) +/* 803377CC 0033472C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 803377D0 00334730 4C 41 13 82 */ cror 2, 1, 2 +/* 803377D4 00334734 40 82 00 10 */ bne lbl_803377E4 +/* 803377D8 00334738 D0 6A 00 00 */ stfs f3, 0(r10) +/* 803377DC 0033473C D0 0B 00 00 */ stfs f0, 0(r11) +/* 803377E0 00334740 48 00 00 60 */ b lbl_80337840 +lbl_803377E4: +/* 803377E4 00334744 FC 02 18 40 */ fcmpo cr0, f2, f3 +/* 803377E8 00334748 4C 40 13 82 */ cror 2, 0, 2 +/* 803377EC 0033474C 40 82 00 24 */ bne lbl_80337810 +/* 803377F0 00334750 7C C5 4A 14 */ add r6, r5, r9 +/* 803377F4 00334754 C0 06 00 0C */ lfs f0, 0xc(r6) +/* 803377F8 00334758 FC 00 18 40 */ fcmpo cr0, f0, f3 +/* 803377FC 0033475C 4C 41 13 82 */ cror 2, 1, 2 +/* 80337800 00334760 40 82 00 10 */ bne lbl_80337810 +/* 80337804 00334764 D0 6A 00 00 */ stfs f3, 0(r10) +/* 80337808 00334768 D0 0B 00 00 */ stfs f0, 0(r11) +/* 8033780C 0033476C 48 00 00 34 */ b lbl_80337840 +lbl_80337810: +/* 80337810 00334770 7C C4 4A 14 */ add r6, r4, r9 +/* 80337814 00334774 C0 26 00 0C */ lfs f1, 0xc(r6) +/* 80337818 00334778 FC 02 08 40 */ fcmpo cr0, f2, f1 +/* 8033781C 0033477C 4C 40 13 82 */ cror 2, 0, 2 +/* 80337820 00334780 40 82 00 20 */ bne lbl_80337840 +/* 80337824 00334784 7C C5 4A 14 */ add r6, r5, r9 +/* 80337828 00334788 C0 06 00 0C */ lfs f0, 0xc(r6) +/* 8033782C 0033478C FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80337830 00334790 4C 41 13 82 */ cror 2, 1, 2 +/* 80337834 00334794 40 82 00 0C */ bne lbl_80337840 +/* 80337838 00334798 D0 4A 00 00 */ stfs f2, 0(r10) +/* 8033783C 0033479C D0 2B 00 00 */ stfs f1, 0(r11) +lbl_80337840: +/* 80337840 003347A0 38 E7 00 04 */ addi r7, r7, 4 +/* 80337844 003347A4 39 08 00 04 */ addi r8, r8, 4 +/* 80337848 003347A8 39 29 00 04 */ addi r9, r9, 4 +/* 8033784C 003347AC 39 4A 00 04 */ addi r10, r10, 4 +/* 80337850 003347B0 39 6B 00 04 */ addi r11, r11, 4 +/* 80337854 003347B4 42 00 FF 20 */ bdnz lbl_80337774 +/* 80337858 003347B8 38 81 00 14 */ addi r4, r1, 0x14 +/* 8033785C 003347BC 38 A1 00 08 */ addi r5, r1, 8 +/* 80337860 003347C0 48 00 0C A9 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 80337864 003347C4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80337868 003347C8 7C 08 03 A6 */ mtlr r0 +/* 8033786C 003347CC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80337870 003347D0 4E 80 00 20 */ blr + +.global ClampToBox__6CAABoxCFRC9CVector3f +ClampToBox__6CAABoxCFRC9CVector3f: +/* 80337874 003347D4 C0 05 00 08 */ lfs f0, 8(r5) +/* 80337878 003347D8 C0 24 00 08 */ lfs f1, 8(r4) +/* 8033787C 003347DC FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80337880 003347E0 40 80 00 08 */ bge lbl_80337888 +/* 80337884 003347E4 48 00 00 18 */ b lbl_8033789C +lbl_80337888: +/* 80337888 003347E8 C0 24 00 14 */ lfs f1, 0x14(r4) +/* 8033788C 003347EC FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80337890 003347F0 40 81 00 08 */ ble lbl_80337898 +/* 80337894 003347F4 48 00 00 08 */ b lbl_8033789C +lbl_80337898: +/* 80337898 003347F8 FC 20 00 90 */ fmr f1, f0 +lbl_8033789C: +/* 8033789C 003347FC C0 05 00 04 */ lfs f0, 4(r5) +/* 803378A0 00334800 C0 44 00 04 */ lfs f2, 4(r4) +/* 803378A4 00334804 FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 803378A8 00334808 40 80 00 08 */ bge lbl_803378B0 +/* 803378AC 0033480C 48 00 00 18 */ b lbl_803378C4 +lbl_803378B0: +/* 803378B0 00334810 C0 44 00 10 */ lfs f2, 0x10(r4) +/* 803378B4 00334814 FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 803378B8 00334818 40 81 00 08 */ ble lbl_803378C0 +/* 803378BC 0033481C 48 00 00 08 */ b lbl_803378C4 +lbl_803378C0: +/* 803378C0 00334820 FC 40 00 90 */ fmr f2, f0 +lbl_803378C4: +/* 803378C4 00334824 C0 05 00 00 */ lfs f0, 0(r5) +/* 803378C8 00334828 C0 64 00 00 */ lfs f3, 0(r4) +/* 803378CC 0033482C FC 00 18 40 */ fcmpo cr0, f0, f3 +/* 803378D0 00334830 40 80 00 08 */ bge lbl_803378D8 +/* 803378D4 00334834 48 00 00 18 */ b lbl_803378EC +lbl_803378D8: +/* 803378D8 00334838 C0 64 00 0C */ lfs f3, 0xc(r4) +/* 803378DC 0033483C FC 00 18 40 */ fcmpo cr0, f0, f3 +/* 803378E0 00334840 40 81 00 08 */ ble lbl_803378E8 +/* 803378E4 00334844 48 00 00 08 */ b lbl_803378EC +lbl_803378E8: +/* 803378E8 00334848 FC 60 00 90 */ fmr f3, f0 +lbl_803378EC: +/* 803378EC 0033484C D0 63 00 00 */ stfs f3, 0(r3) +/* 803378F0 00334850 D0 43 00 04 */ stfs f2, 4(r3) +/* 803378F4 00334854 D0 23 00 08 */ stfs f1, 8(r3) +/* 803378F8 00334858 4E 80 00 20 */ blr + +.global GetTransformedAABox__6CAABoxCFRC12CTransform4f +GetTransformedAABox__6CAABoxCFRC12CTransform4f: +/* 803378FC 0033485C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80337900 00334860 7C 08 02 A6 */ mflr r0 +/* 80337904 00334864 3C C0 80 5A */ lis r6, skIdentity4f@ha +/* 80337908 00334868 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033790C 0033486C 38 06 66 70 */ addi r0, r6, skIdentity4f@l +/* 80337910 00334870 7C 05 00 40 */ cmplw r5, r0 +/* 80337914 00334874 40 82 00 38 */ bne lbl_8033794C +/* 80337918 00334878 C0 04 00 00 */ lfs f0, 0(r4) +/* 8033791C 0033487C D0 03 00 00 */ stfs f0, 0(r3) +/* 80337920 00334880 C0 04 00 04 */ lfs f0, 4(r4) +/* 80337924 00334884 D0 03 00 04 */ stfs f0, 4(r3) +/* 80337928 00334888 C0 04 00 08 */ lfs f0, 8(r4) +/* 8033792C 0033488C D0 03 00 08 */ stfs f0, 8(r3) +/* 80337930 00334890 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 80337934 00334894 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 80337938 00334898 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 8033793C 0033489C D0 03 00 10 */ stfs f0, 0x10(r3) +/* 80337940 003348A0 C0 04 00 14 */ lfs f0, 0x14(r4) +/* 80337944 003348A4 D0 03 00 14 */ stfs f0, 0x14(r3) +/* 80337948 003348A8 48 00 00 CC */ b lbl_80337A14 +lbl_8033794C: +/* 8033794C 003348AC C0 45 00 2C */ lfs f2, 0x2c(r5) +/* 80337950 003348B0 39 21 00 14 */ addi r9, r1, 0x14 +/* 80337954 003348B4 C0 25 00 1C */ lfs f1, 0x1c(r5) +/* 80337958 003348B8 39 41 00 08 */ addi r10, r1, 8 +/* 8033795C 003348BC C0 05 00 0C */ lfs f0, 0xc(r5) +/* 80337960 003348C0 39 60 00 00 */ li r11, 0 +/* 80337964 003348C4 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 80337968 003348C8 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 8033796C 003348CC D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 80337970 003348D0 D0 01 00 08 */ stfs f0, 8(r1) +/* 80337974 003348D4 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 80337978 003348D8 D0 41 00 10 */ stfs f2, 0x10(r1) +lbl_8033797C: +/* 8033797C 003348DC 38 00 00 03 */ li r0, 3 +/* 80337980 003348E0 7C 86 23 78 */ mr r6, r4 +/* 80337984 003348E4 7C A7 2B 78 */ mr r7, r5 +/* 80337988 003348E8 39 04 00 0C */ addi r8, r4, 0xc +/* 8033798C 003348EC 7C 09 03 A6 */ mtctr r0 +lbl_80337990: +/* 80337990 003348F0 C0 47 00 00 */ lfs f2, 0(r7) +/* 80337994 003348F4 C0 26 00 00 */ lfs f1, 0(r6) +/* 80337998 003348F8 C0 08 00 00 */ lfs f0, 0(r8) +/* 8033799C 003348FC EC 62 00 72 */ fmuls f3, f2, f1 +/* 803379A0 00334900 EC 42 00 32 */ fmuls f2, f2, f0 +/* 803379A4 00334904 FC 03 10 40 */ fcmpo cr0, f3, f2 +/* 803379A8 00334908 40 80 00 20 */ bge lbl_803379C8 +/* 803379AC 0033490C C0 29 00 00 */ lfs f1, 0(r9) +/* 803379B0 00334910 C0 0A 00 00 */ lfs f0, 0(r10) +/* 803379B4 00334914 EC 21 18 2A */ fadds f1, f1, f3 +/* 803379B8 00334918 EC 00 10 2A */ fadds f0, f0, f2 +/* 803379BC 0033491C D0 29 00 00 */ stfs f1, 0(r9) +/* 803379C0 00334920 D0 0A 00 00 */ stfs f0, 0(r10) +/* 803379C4 00334924 48 00 00 1C */ b lbl_803379E0 +lbl_803379C8: +/* 803379C8 00334928 C0 29 00 00 */ lfs f1, 0(r9) +/* 803379CC 0033492C C0 0A 00 00 */ lfs f0, 0(r10) +/* 803379D0 00334930 EC 21 10 2A */ fadds f1, f1, f2 +/* 803379D4 00334934 EC 00 18 2A */ fadds f0, f0, f3 +/* 803379D8 00334938 D0 29 00 00 */ stfs f1, 0(r9) +/* 803379DC 0033493C D0 0A 00 00 */ stfs f0, 0(r10) +lbl_803379E0: +/* 803379E0 00334940 38 C6 00 04 */ addi r6, r6, 4 +/* 803379E4 00334944 38 E7 00 04 */ addi r7, r7, 4 +/* 803379E8 00334948 39 08 00 04 */ addi r8, r8, 4 +/* 803379EC 0033494C 42 00 FF A4 */ bdnz lbl_80337990 +/* 803379F0 00334950 39 6B 00 01 */ addi r11, r11, 1 +/* 803379F4 00334954 39 29 00 04 */ addi r9, r9, 4 +/* 803379F8 00334958 2C 0B 00 03 */ cmpwi r11, 3 +/* 803379FC 0033495C 39 4A 00 04 */ addi r10, r10, 4 +/* 80337A00 00334960 38 A5 00 10 */ addi r5, r5, 0x10 +/* 80337A04 00334964 41 80 FF 78 */ blt lbl_8033797C +/* 80337A08 00334968 38 81 00 14 */ addi r4, r1, 0x14 +/* 80337A0C 0033496C 38 A1 00 08 */ addi r5, r1, 8 +/* 80337A10 00334970 48 00 0A F9 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +lbl_80337A14: +/* 80337A14 00334974 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80337A18 00334978 7C 08 03 A6 */ mtlr r0 +/* 80337A1C 0033497C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80337A20 00334980 4E 80 00 20 */ blr + +.global InsidePlane__6CAABoxCFRC6CPlane +InsidePlane__6CAABoxCFRC6CPlane: +/* 80337A24 00334984 C0 64 00 04 */ lfs f3, 4(r4) +/* 80337A28 00334988 C0 03 00 04 */ lfs f0, 4(r3) +/* 80337A2C 0033498C C0 23 00 10 */ lfs f1, 0x10(r3) +/* 80337A30 00334990 C0 A4 00 00 */ lfs f5, 0(r4) +/* 80337A34 00334994 FC 03 08 2E */ fsel f0, f3, f0, f1 +/* 80337A38 00334998 C0 23 00 00 */ lfs f1, 0(r3) +/* 80337A3C 0033499C C0 43 00 0C */ lfs f2, 0xc(r3) +/* 80337A40 003349A0 C0 C4 00 08 */ lfs f6, 8(r4) +/* 80337A44 003349A4 FC 85 10 6E */ fsel f4, f5, f1, f2 +/* 80337A48 003349A8 C0 43 00 08 */ lfs f2, 8(r3) +/* 80337A4C 003349AC EC 23 00 32 */ fmuls f1, f3, f0 +/* 80337A50 003349B0 C0 63 00 14 */ lfs f3, 0x14(r3) +/* 80337A54 003349B4 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 80337A58 003349B8 FC 46 18 AE */ fsel f2, f6, f2, f3 +/* 80337A5C 003349BC EC 25 09 3A */ fmadds f1, f5, f4, f1 +/* 80337A60 003349C0 EC 26 08 BA */ fmadds f1, f6, f2, f1 +/* 80337A64 003349C4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80337A68 003349C8 4C 41 13 82 */ cror 2, 1, 2 +/* 80337A6C 003349CC 7C 00 00 26 */ mfcr r0 +/* 80337A70 003349D0 54 00 1F FE */ rlwinm r0, r0, 3, 0x1f, 0x1f +/* 80337A74 003349D4 7C 00 00 34 */ cntlzw r0, r0 +/* 80337A78 003349D8 54 03 D9 7E */ srwi r3, r0, 5 +/* 80337A7C 003349DC 4E 80 00 20 */ blr + +.global Inside__6CAABoxCFRC6CAABox +Inside__6CAABoxCFRC6CAABox: +/* 80337A80 003349E0 C0 23 00 00 */ lfs f1, 0(r3) +/* 80337A84 003349E4 C0 04 00 00 */ lfs f0, 0(r4) +/* 80337A88 003349E8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80337A8C 003349EC 4C 41 13 82 */ cror 2, 1, 2 +/* 80337A90 003349F0 40 82 00 70 */ bne lbl_80337B00 +/* 80337A94 003349F4 C0 23 00 0C */ lfs f1, 0xc(r3) +/* 80337A98 003349F8 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 80337A9C 003349FC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80337AA0 00334A00 4C 40 13 82 */ cror 2, 0, 2 +/* 80337AA4 00334A04 40 82 00 5C */ bne lbl_80337B00 +/* 80337AA8 00334A08 C0 23 00 04 */ lfs f1, 4(r3) +/* 80337AAC 00334A0C C0 04 00 04 */ lfs f0, 4(r4) +/* 80337AB0 00334A10 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80337AB4 00334A14 4C 41 13 82 */ cror 2, 1, 2 +/* 80337AB8 00334A18 40 82 00 48 */ bne lbl_80337B00 +/* 80337ABC 00334A1C C0 23 00 10 */ lfs f1, 0x10(r3) +/* 80337AC0 00334A20 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 80337AC4 00334A24 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80337AC8 00334A28 4C 40 13 82 */ cror 2, 0, 2 +/* 80337ACC 00334A2C 40 82 00 34 */ bne lbl_80337B00 +/* 80337AD0 00334A30 C0 23 00 08 */ lfs f1, 8(r3) +/* 80337AD4 00334A34 C0 04 00 08 */ lfs f0, 8(r4) +/* 80337AD8 00334A38 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80337ADC 00334A3C 4C 41 13 82 */ cror 2, 1, 2 +/* 80337AE0 00334A40 40 82 00 20 */ bne lbl_80337B00 +/* 80337AE4 00334A44 C0 23 00 14 */ lfs f1, 0x14(r3) +/* 80337AE8 00334A48 C0 04 00 14 */ lfs f0, 0x14(r4) +/* 80337AEC 00334A4C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80337AF0 00334A50 4C 40 13 82 */ cror 2, 0, 2 +/* 80337AF4 00334A54 40 82 00 0C */ bne lbl_80337B00 +/* 80337AF8 00334A58 38 60 00 01 */ li r3, 1 +/* 80337AFC 00334A5C 4E 80 00 20 */ blr +lbl_80337B00: +/* 80337B00 00334A60 38 60 00 00 */ li r3, 0 +/* 80337B04 00334A64 4E 80 00 20 */ blr + +.global AccumulateBounds__6CAABoxFRC9CVector3f +AccumulateBounds__6CAABoxFRC9CVector3f: +/* 80337B08 00334A68 C0 24 00 00 */ lfs f1, 0(r4) +/* 80337B0C 00334A6C C0 03 00 00 */ lfs f0, 0(r3) +/* 80337B10 00334A70 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80337B14 00334A74 40 80 00 08 */ bge lbl_80337B1C +/* 80337B18 00334A78 D0 23 00 00 */ stfs f1, 0(r3) +lbl_80337B1C: +/* 80337B1C 00334A7C C0 24 00 04 */ lfs f1, 4(r4) +/* 80337B20 00334A80 C0 03 00 04 */ lfs f0, 4(r3) +/* 80337B24 00334A84 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80337B28 00334A88 40 80 00 08 */ bge lbl_80337B30 +/* 80337B2C 00334A8C D0 23 00 04 */ stfs f1, 4(r3) +lbl_80337B30: +/* 80337B30 00334A90 C0 24 00 08 */ lfs f1, 8(r4) +/* 80337B34 00334A94 C0 03 00 08 */ lfs f0, 8(r3) +/* 80337B38 00334A98 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80337B3C 00334A9C 40 80 00 08 */ bge lbl_80337B44 +/* 80337B40 00334AA0 D0 23 00 08 */ stfs f1, 8(r3) +lbl_80337B44: +/* 80337B44 00334AA4 C0 24 00 00 */ lfs f1, 0(r4) +/* 80337B48 00334AA8 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 80337B4C 00334AAC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80337B50 00334AB0 40 81 00 08 */ ble lbl_80337B58 +/* 80337B54 00334AB4 D0 23 00 0C */ stfs f1, 0xc(r3) +lbl_80337B58: +/* 80337B58 00334AB8 C0 24 00 04 */ lfs f1, 4(r4) +/* 80337B5C 00334ABC C0 03 00 10 */ lfs f0, 0x10(r3) +/* 80337B60 00334AC0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80337B64 00334AC4 40 81 00 08 */ ble lbl_80337B6C +/* 80337B68 00334AC8 D0 23 00 10 */ stfs f1, 0x10(r3) +lbl_80337B6C: +/* 80337B6C 00334ACC C0 24 00 08 */ lfs f1, 8(r4) +/* 80337B70 00334AD0 C0 03 00 14 */ lfs f0, 0x14(r3) +/* 80337B74 00334AD4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80337B78 00334AD8 4C 81 00 20 */ blelr +/* 80337B7C 00334ADC D0 23 00 14 */ stfs f1, 0x14(r3) +/* 80337B80 00334AE0 4E 80 00 20 */ blr + +.global DoBoundsOverlap__6CAABoxCFRC6CAABox +DoBoundsOverlap__6CAABoxCFRC6CAABox: +/* 80337B84 00334AE4 C0 24 00 00 */ lfs f1, 0(r4) +/* 80337B88 00334AE8 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 80337B8C 00334AEC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80337B90 00334AF0 41 81 00 54 */ bgt lbl_80337BE4 +/* 80337B94 00334AF4 C0 23 00 00 */ lfs f1, 0(r3) +/* 80337B98 00334AF8 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 80337B9C 00334AFC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80337BA0 00334B00 41 81 00 44 */ bgt lbl_80337BE4 +/* 80337BA4 00334B04 C0 24 00 04 */ lfs f1, 4(r4) +/* 80337BA8 00334B08 C0 03 00 10 */ lfs f0, 0x10(r3) +/* 80337BAC 00334B0C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80337BB0 00334B10 41 81 00 34 */ bgt lbl_80337BE4 +/* 80337BB4 00334B14 C0 23 00 04 */ lfs f1, 4(r3) +/* 80337BB8 00334B18 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 80337BBC 00334B1C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80337BC0 00334B20 41 81 00 24 */ bgt lbl_80337BE4 +/* 80337BC4 00334B24 C0 24 00 08 */ lfs f1, 8(r4) +/* 80337BC8 00334B28 C0 03 00 14 */ lfs f0, 0x14(r3) +/* 80337BCC 00334B2C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80337BD0 00334B30 41 81 00 14 */ bgt lbl_80337BE4 +/* 80337BD4 00334B34 C0 23 00 08 */ lfs f1, 8(r3) +/* 80337BD8 00334B38 C0 04 00 14 */ lfs f0, 0x14(r4) +/* 80337BDC 00334B3C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80337BE0 00334B40 40 81 00 0C */ ble lbl_80337BEC +lbl_80337BE4: +/* 80337BE4 00334B44 38 60 00 00 */ li r3, 0 +/* 80337BE8 00334B48 4E 80 00 20 */ blr +lbl_80337BEC: +/* 80337BEC 00334B4C 38 60 00 01 */ li r3, 1 +/* 80337BF0 00334B50 4E 80 00 20 */ blr + +.global GetTri__6CAABoxCFQ26CAABox10EBoxFaceIdi +GetTri__6CAABoxCFQ26CAABox10EBoxFaceIdi: +/* 80337BF4 00334B54 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80337BF8 00334B58 7C 08 02 A6 */ mflr r0 +/* 80337BFC 00334B5C 2C 05 00 03 */ cmpwi r5, 3 +/* 80337C00 00334B60 90 01 00 64 */ stw r0, 0x64(r1) +/* 80337C04 00334B64 BF 21 00 44 */ stmw r25, 0x44(r1) +/* 80337C08 00334B68 7C 7F 1B 78 */ mr r31, r3 +/* 80337C0C 00334B6C C0 64 00 04 */ lfs f3, 4(r4) +/* 80337C10 00334B70 C0 44 00 14 */ lfs f2, 0x14(r4) +/* 80337C14 00334B74 C0 24 00 00 */ lfs f1, 0(r4) +/* 80337C18 00334B78 C0 84 00 08 */ lfs f4, 8(r4) +/* 80337C1C 00334B7C C0 04 00 0C */ lfs f0, 0xc(r4) +/* 80337C20 00334B80 D0 21 00 08 */ stfs f1, 8(r1) +/* 80337C24 00334B84 D0 61 00 0C */ stfs f3, 0xc(r1) +/* 80337C28 00334B88 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 80337C2C 00334B8C D0 21 00 14 */ stfs f1, 0x14(r1) +/* 80337C30 00334B90 D0 61 00 18 */ stfs f3, 0x18(r1) +/* 80337C34 00334B94 D0 81 00 1C */ stfs f4, 0x1c(r1) +/* 80337C38 00334B98 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 80337C3C 00334B9C D0 61 00 24 */ stfs f3, 0x24(r1) +/* 80337C40 00334BA0 D0 81 00 28 */ stfs f4, 0x28(r1) +/* 80337C44 00334BA4 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 80337C48 00334BA8 D0 61 00 30 */ stfs f3, 0x30(r1) +/* 80337C4C 00334BAC D0 41 00 34 */ stfs f2, 0x34(r1) +/* 80337C50 00334BB0 41 82 00 E0 */ beq lbl_80337D30 +/* 80337C54 00334BB4 40 80 00 14 */ bge lbl_80337C68 +/* 80337C58 00334BB8 2C 05 00 01 */ cmpwi r5, 1 +/* 80337C5C 00334BBC 41 82 00 64 */ beq lbl_80337CC0 +/* 80337C60 00334BC0 40 80 00 98 */ bge lbl_80337CF8 +/* 80337C64 00334BC4 48 00 00 14 */ b lbl_80337C78 +lbl_80337C68: +/* 80337C68 00334BC8 2C 05 00 05 */ cmpwi r5, 5 +/* 80337C6C 00334BCC 41 82 01 34 */ beq lbl_80337DA0 +/* 80337C70 00334BD0 40 80 00 08 */ bge lbl_80337C78 +/* 80337C74 00334BD4 48 00 00 F4 */ b lbl_80337D68 +lbl_80337C78: +/* 80337C78 00334BD8 C0 64 00 04 */ lfs f3, 4(r4) +/* 80337C7C 00334BDC C0 44 00 14 */ lfs f2, 0x14(r4) +/* 80337C80 00334BE0 C0 24 00 00 */ lfs f1, 0(r4) +/* 80337C84 00334BE4 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 80337C88 00334BE8 C0 84 00 08 */ lfs f4, 8(r4) +/* 80337C8C 00334BEC D0 21 00 08 */ stfs f1, 8(r1) +/* 80337C90 00334BF0 D0 61 00 0C */ stfs f3, 0xc(r1) +/* 80337C94 00334BF4 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 80337C98 00334BF8 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80337C9C 00334BFC D0 61 00 18 */ stfs f3, 0x18(r1) +/* 80337CA0 00334C00 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 80337CA4 00334C04 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 80337CA8 00334C08 D0 61 00 24 */ stfs f3, 0x24(r1) +/* 80337CAC 00334C0C D0 81 00 28 */ stfs f4, 0x28(r1) +/* 80337CB0 00334C10 D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 80337CB4 00334C14 D0 61 00 30 */ stfs f3, 0x30(r1) +/* 80337CB8 00334C18 D0 81 00 34 */ stfs f4, 0x34(r1) +/* 80337CBC 00334C1C 48 00 01 18 */ b lbl_80337DD4 +lbl_80337CC0: +/* 80337CC0 00334C20 C0 64 00 10 */ lfs f3, 0x10(r4) +/* 80337CC4 00334C24 D0 01 00 08 */ stfs f0, 8(r1) +/* 80337CC8 00334C28 D0 61 00 0C */ stfs f3, 0xc(r1) +/* 80337CCC 00334C2C D0 41 00 10 */ stfs f2, 0x10(r1) +/* 80337CD0 00334C30 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 80337CD4 00334C34 D0 61 00 18 */ stfs f3, 0x18(r1) +/* 80337CD8 00334C38 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 80337CDC 00334C3C D0 21 00 20 */ stfs f1, 0x20(r1) +/* 80337CE0 00334C40 D0 61 00 24 */ stfs f3, 0x24(r1) +/* 80337CE4 00334C44 D0 81 00 28 */ stfs f4, 0x28(r1) +/* 80337CE8 00334C48 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 80337CEC 00334C4C D0 61 00 30 */ stfs f3, 0x30(r1) +/* 80337CF0 00334C50 D0 81 00 34 */ stfs f4, 0x34(r1) +/* 80337CF4 00334C54 48 00 00 E0 */ b lbl_80337DD4 +lbl_80337CF8: +/* 80337CF8 00334C58 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 80337CFC 00334C5C D0 21 00 08 */ stfs f1, 8(r1) +/* 80337D00 00334C60 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 80337D04 00334C64 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 80337D08 00334C68 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 80337D0C 00334C6C D0 61 00 18 */ stfs f3, 0x18(r1) +/* 80337D10 00334C70 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 80337D14 00334C74 D0 21 00 20 */ stfs f1, 0x20(r1) +/* 80337D18 00334C78 D0 61 00 24 */ stfs f3, 0x24(r1) +/* 80337D1C 00334C7C D0 81 00 28 */ stfs f4, 0x28(r1) +/* 80337D20 00334C80 D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 80337D24 00334C84 D0 01 00 30 */ stfs f0, 0x30(r1) +/* 80337D28 00334C88 D0 81 00 34 */ stfs f4, 0x34(r1) +/* 80337D2C 00334C8C 48 00 00 A8 */ b lbl_80337DD4 +lbl_80337D30: +/* 80337D30 00334C90 C0 24 00 10 */ lfs f1, 0x10(r4) +/* 80337D34 00334C94 D0 01 00 08 */ stfs f0, 8(r1) +/* 80337D38 00334C98 D0 61 00 0C */ stfs f3, 0xc(r1) +/* 80337D3C 00334C9C D0 41 00 10 */ stfs f2, 0x10(r1) +/* 80337D40 00334CA0 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80337D44 00334CA4 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 80337D48 00334CA8 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 80337D4C 00334CAC D0 01 00 20 */ stfs f0, 0x20(r1) +/* 80337D50 00334CB0 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 80337D54 00334CB4 D0 81 00 28 */ stfs f4, 0x28(r1) +/* 80337D58 00334CB8 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 80337D5C 00334CBC D0 61 00 30 */ stfs f3, 0x30(r1) +/* 80337D60 00334CC0 D0 81 00 34 */ stfs f4, 0x34(r1) +/* 80337D64 00334CC4 48 00 00 70 */ b lbl_80337DD4 +lbl_80337D68: +/* 80337D68 00334CC8 C0 84 00 10 */ lfs f4, 0x10(r4) +/* 80337D6C 00334CCC D0 21 00 08 */ stfs f1, 8(r1) +/* 80337D70 00334CD0 D0 81 00 0C */ stfs f4, 0xc(r1) +/* 80337D74 00334CD4 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 80337D78 00334CD8 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80337D7C 00334CDC D0 81 00 18 */ stfs f4, 0x18(r1) +/* 80337D80 00334CE0 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 80337D84 00334CE4 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 80337D88 00334CE8 D0 61 00 24 */ stfs f3, 0x24(r1) +/* 80337D8C 00334CEC D0 41 00 28 */ stfs f2, 0x28(r1) +/* 80337D90 00334CF0 D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 80337D94 00334CF4 D0 61 00 30 */ stfs f3, 0x30(r1) +/* 80337D98 00334CF8 D0 41 00 34 */ stfs f2, 0x34(r1) +/* 80337D9C 00334CFC 48 00 00 38 */ b lbl_80337DD4 +lbl_80337DA0: +/* 80337DA0 00334D00 C0 44 00 10 */ lfs f2, 0x10(r4) +/* 80337DA4 00334D04 D0 21 00 08 */ stfs f1, 8(r1) +/* 80337DA8 00334D08 D0 61 00 0C */ stfs f3, 0xc(r1) +/* 80337DAC 00334D0C D0 81 00 10 */ stfs f4, 0x10(r1) +/* 80337DB0 00334D10 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80337DB4 00334D14 D0 61 00 18 */ stfs f3, 0x18(r1) +/* 80337DB8 00334D18 D0 81 00 1C */ stfs f4, 0x1c(r1) +/* 80337DBC 00334D1C D0 01 00 20 */ stfs f0, 0x20(r1) +/* 80337DC0 00334D20 D0 41 00 24 */ stfs f2, 0x24(r1) +/* 80337DC4 00334D24 D0 81 00 28 */ stfs f4, 0x28(r1) +/* 80337DC8 00334D28 D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 80337DCC 00334D2C D0 41 00 30 */ stfs f2, 0x30(r1) +/* 80337DD0 00334D30 D0 81 00 34 */ stfs f4, 0x34(r1) +lbl_80337DD4: +/* 80337DD4 00334D34 38 06 00 01 */ addi r0, r6, 1 +/* 80337DD8 00334D38 38 66 00 02 */ addi r3, r6, 2 +/* 80337DDC 00334D3C 54 05 F0 02 */ slwi r5, r0, 0x1e +/* 80337DE0 00334D40 3B C1 00 08 */ addi r30, r1, 8 +/* 80337DE4 00334D44 54 07 0F FE */ srwi r7, r0, 0x1f +/* 80337DE8 00334D48 54 60 F0 02 */ slwi r0, r3, 0x1e +/* 80337DEC 00334D4C 54 64 0F FE */ srwi r4, r3, 0x1f +/* 80337DF0 00334D50 7F DC F3 78 */ mr r28, r30 +/* 80337DF4 00334D54 7C A7 28 50 */ subf r5, r7, r5 +/* 80337DF8 00334D58 7F DA F3 78 */ mr r26, r30 +/* 80337DFC 00334D5C 7C 04 00 50 */ subf r0, r4, r0 +/* 80337E00 00334D60 7F E3 FB 78 */ mr r3, r31 +/* 80337E04 00334D64 54 A5 10 3E */ rotlwi r5, r5, 2 +/* 80337E08 00334D68 54 00 10 3E */ rotlwi r0, r0, 2 +/* 80337E0C 00334D6C 7C A5 3A 14 */ add r5, r5, r7 +/* 80337E10 00334D70 7C 00 22 14 */ add r0, r0, r4 +/* 80337E14 00334D74 1F A6 00 0C */ mulli r29, r6, 0xc +/* 80337E18 00334D78 1F 65 00 0C */ mulli r27, r5, 0xc +/* 80337E1C 00334D7C 7F DE EA 14 */ add r30, r30, r29 +/* 80337E20 00334D80 1F 20 00 0C */ mulli r25, r0, 0xc +/* 80337E24 00334D84 7F C4 F3 78 */ mr r4, r30 +/* 80337E28 00334D88 7F 9C DA 14 */ add r28, r28, r27 +/* 80337E2C 00334D8C 7F 5A CA 14 */ add r26, r26, r25 +/* 80337E30 00334D90 7F 85 E3 78 */ mr r5, r28 +/* 80337E34 00334D94 7F 46 D3 78 */ mr r6, r26 +/* 80337E38 00334D98 4B FF F2 71 */ bl __ct__6CPlaneFRC9CVector3fRC9CVector3fRC9CVector3f +/* 80337E3C 00334D9C C0 1E 00 00 */ lfs f0, 0(r30) +/* 80337E40 00334DA0 38 61 00 0C */ addi r3, r1, 0xc +/* 80337E44 00334DA4 38 81 00 10 */ addi r4, r1, 0x10 +/* 80337E48 00334DA8 D0 1F 00 10 */ stfs f0, 0x10(r31) +/* 80337E4C 00334DAC 7C 03 EC 2E */ lfsx f0, r3, r29 +/* 80337E50 00334DB0 D0 1F 00 14 */ stfs f0, 0x14(r31) +/* 80337E54 00334DB4 7C 04 EC 2E */ lfsx f0, r4, r29 +/* 80337E58 00334DB8 D0 1F 00 18 */ stfs f0, 0x18(r31) +/* 80337E5C 00334DBC C0 1C 00 00 */ lfs f0, 0(r28) +/* 80337E60 00334DC0 D0 1F 00 1C */ stfs f0, 0x1c(r31) +/* 80337E64 00334DC4 7C 03 DC 2E */ lfsx f0, r3, r27 +/* 80337E68 00334DC8 D0 1F 00 20 */ stfs f0, 0x20(r31) +/* 80337E6C 00334DCC 7C 04 DC 2E */ lfsx f0, r4, r27 +/* 80337E70 00334DD0 D0 1F 00 24 */ stfs f0, 0x24(r31) +/* 80337E74 00334DD4 C0 1A 00 00 */ lfs f0, 0(r26) +/* 80337E78 00334DD8 D0 1F 00 28 */ stfs f0, 0x28(r31) +/* 80337E7C 00334DDC 7C 03 CC 2E */ lfsx f0, r3, r25 +/* 80337E80 00334DE0 D0 1F 00 2C */ stfs f0, 0x2c(r31) +/* 80337E84 00334DE4 7C 04 CC 2E */ lfsx f0, r4, r25 +/* 80337E88 00334DE8 D0 1F 00 30 */ stfs f0, 0x30(r31) +/* 80337E8C 00334DEC BB 21 00 44 */ lmw r25, 0x44(r1) +/* 80337E90 00334DF0 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80337E94 00334DF4 7C 08 03 A6 */ mtlr r0 +/* 80337E98 00334DF8 38 21 00 60 */ addi r1, r1, 0x60 +/* 80337E9C 00334DFC 4E 80 00 20 */ blr + +.global GetEdge__6CAABoxCFQ26CAABox10EBoxEdgeId +GetEdge__6CAABoxCFQ26CAABox10EBoxEdgeId: +/* 80337EA0 00334E00 94 21 FD D0 */ stwu r1, -0x230(r1) +/* 80337EA4 00334E04 7C 08 02 A6 */ mflr r0 +/* 80337EA8 00334E08 90 01 02 34 */ stw r0, 0x234(r1) +/* 80337EAC 00334E0C DB E1 02 20 */ stfd f31, 0x220(r1) +/* 80337EB0 00334E10 F3 E1 02 28 */ psq_st f31, 552(r1), 0, qr0 +/* 80337EB4 00334E14 DB C1 02 10 */ stfd f30, 0x210(r1) +/* 80337EB8 00334E18 F3 C1 02 18 */ psq_st f30, 536(r1), 0, qr0 +/* 80337EBC 00334E1C DB A1 02 00 */ stfd f29, 0x200(r1) +/* 80337EC0 00334E20 F3 A1 02 08 */ psq_st f29, 520(r1), 0, qr0 +/* 80337EC4 00334E24 DB 81 01 F0 */ stfd f28, 0x1f0(r1) +/* 80337EC8 00334E28 F3 81 01 F8 */ psq_st f28, 504(r1), 0, qr0 +/* 80337ECC 00334E2C 93 E1 01 EC */ stw r31, 0x1ec(r1) +/* 80337ED0 00334E30 28 05 00 0B */ cmplwi r5, 0xb +/* 80337ED4 00334E34 7C 7F 1B 78 */ mr r31, r3 +/* 80337ED8 00334E38 41 81 05 8C */ bgt lbl_80338464 +/* 80337EDC 00334E3C 3C 60 80 3F */ lis r3, lbl_803EE338@ha +/* 80337EE0 00334E40 54 A0 10 3A */ slwi r0, r5, 2 +/* 80337EE4 00334E44 38 63 E3 38 */ addi r3, r3, lbl_803EE338@l +/* 80337EE8 00334E48 7C 03 00 2E */ lwzx r0, r3, r0 +/* 80337EEC 00334E4C 7C 09 03 A6 */ mtctr r0 +/* 80337EF0 00334E50 4E 80 04 20 */ bctr +/* 80337EF4 00334E54 C3 A4 00 04 */ lfs f29, 4(r4) +/* 80337EF8 00334E58 38 61 01 C4 */ addi r3, r1, 0x1c4 +/* 80337EFC 00334E5C C3 84 00 00 */ lfs f28, 0(r4) +/* 80337F00 00334E60 EC 3D E8 28 */ fsubs f1, f29, f29 +/* 80337F04 00334E64 C3 E4 00 08 */ lfs f31, 8(r4) +/* 80337F08 00334E68 C3 C4 00 14 */ lfs f30, 0x14(r4) +/* 80337F0C 00334E6C EC 5C E0 28 */ fsubs f2, f28, f28 +/* 80337F10 00334E70 38 81 01 D0 */ addi r4, r1, 0x1d0 +/* 80337F14 00334E74 EC 1F F0 28 */ fsubs f0, f31, f30 +/* 80337F18 00334E78 D0 41 01 D0 */ stfs f2, 0x1d0(r1) +/* 80337F1C 00334E7C D0 21 01 D4 */ stfs f1, 0x1d4(r1) +/* 80337F20 00334E80 D0 01 01 D8 */ stfs f0, 0x1d8(r1) +/* 80337F24 00334E84 4B FD C9 2D */ bl AsNormalized__9CVector3fCFv +/* 80337F28 00334E88 38 61 01 B8 */ addi r3, r1, 0x1b8 +/* 80337F2C 00334E8C 38 81 01 C4 */ addi r4, r1, 0x1c4 +/* 80337F30 00334E90 4B FD BE A1 */ bl __ct__13CUnitVector3fFRC9CVector3f +/* 80337F34 00334E94 D3 9F 00 00 */ stfs f28, 0(r31) +/* 80337F38 00334E98 D3 BF 00 04 */ stfs f29, 4(r31) +/* 80337F3C 00334E9C D3 DF 00 08 */ stfs f30, 8(r31) +/* 80337F40 00334EA0 C0 01 01 B8 */ lfs f0, 0x1b8(r1) +/* 80337F44 00334EA4 D0 1F 00 0C */ stfs f0, 0xc(r31) +/* 80337F48 00334EA8 C0 01 01 BC */ lfs f0, 0x1bc(r1) +/* 80337F4C 00334EAC D0 1F 00 10 */ stfs f0, 0x10(r31) +/* 80337F50 00334EB0 C0 01 01 C0 */ lfs f0, 0x1c0(r1) +/* 80337F54 00334EB4 D0 1F 00 14 */ stfs f0, 0x14(r31) +/* 80337F58 00334EB8 D3 9F 00 18 */ stfs f28, 0x18(r31) +/* 80337F5C 00334EBC D3 BF 00 1C */ stfs f29, 0x1c(r31) +/* 80337F60 00334EC0 D3 FF 00 20 */ stfs f31, 0x20(r31) +/* 80337F64 00334EC4 48 00 05 70 */ b lbl_803384D4 +/* 80337F68 00334EC8 C3 84 00 14 */ lfs f28, 0x14(r4) +/* 80337F6C 00334ECC 38 61 01 A0 */ addi r3, r1, 0x1a0 +/* 80337F70 00334ED0 C3 A4 00 00 */ lfs f29, 0(r4) +/* 80337F74 00334ED4 EC 1C E0 28 */ fsubs f0, f28, f28 +/* 80337F78 00334ED8 C3 C4 00 10 */ lfs f30, 0x10(r4) +/* 80337F7C 00334EDC C3 E4 00 04 */ lfs f31, 4(r4) +/* 80337F80 00334EE0 EC 5D E8 28 */ fsubs f2, f29, f29 +/* 80337F84 00334EE4 38 81 01 AC */ addi r4, r1, 0x1ac +/* 80337F88 00334EE8 EC 3E F8 28 */ fsubs f1, f30, f31 +/* 80337F8C 00334EEC D0 41 01 AC */ stfs f2, 0x1ac(r1) +/* 80337F90 00334EF0 D0 21 01 B0 */ stfs f1, 0x1b0(r1) +/* 80337F94 00334EF4 D0 01 01 B4 */ stfs f0, 0x1b4(r1) +/* 80337F98 00334EF8 4B FD C8 B9 */ bl AsNormalized__9CVector3fCFv +/* 80337F9C 00334EFC 38 61 01 94 */ addi r3, r1, 0x194 +/* 80337FA0 00334F00 38 81 01 A0 */ addi r4, r1, 0x1a0 +/* 80337FA4 00334F04 4B FD BE 2D */ bl __ct__13CUnitVector3fFRC9CVector3f +/* 80337FA8 00334F08 D3 BF 00 00 */ stfs f29, 0(r31) +/* 80337FAC 00334F0C D3 FF 00 04 */ stfs f31, 4(r31) +/* 80337FB0 00334F10 D3 9F 00 08 */ stfs f28, 8(r31) +/* 80337FB4 00334F14 C0 01 01 94 */ lfs f0, 0x194(r1) +/* 80337FB8 00334F18 D0 1F 00 0C */ stfs f0, 0xc(r31) +/* 80337FBC 00334F1C C0 01 01 98 */ lfs f0, 0x198(r1) +/* 80337FC0 00334F20 D0 1F 00 10 */ stfs f0, 0x10(r31) +/* 80337FC4 00334F24 C0 01 01 9C */ lfs f0, 0x19c(r1) +/* 80337FC8 00334F28 D0 1F 00 14 */ stfs f0, 0x14(r31) +/* 80337FCC 00334F2C D3 BF 00 18 */ stfs f29, 0x18(r31) +/* 80337FD0 00334F30 D3 DF 00 1C */ stfs f30, 0x1c(r31) +/* 80337FD4 00334F34 D3 9F 00 20 */ stfs f28, 0x20(r31) +/* 80337FD8 00334F38 48 00 04 FC */ b lbl_803384D4 +/* 80337FDC 00334F3C C3 84 00 08 */ lfs f28, 8(r4) +/* 80337FE0 00334F40 38 61 01 7C */ addi r3, r1, 0x17c +/* 80337FE4 00334F44 C3 A4 00 04 */ lfs f29, 4(r4) +/* 80337FE8 00334F48 EC 1C E0 28 */ fsubs f0, f28, f28 +/* 80337FEC 00334F4C C3 C4 00 0C */ lfs f30, 0xc(r4) +/* 80337FF0 00334F50 C3 E4 00 00 */ lfs f31, 0(r4) +/* 80337FF4 00334F54 EC 3D E8 28 */ fsubs f1, f29, f29 +/* 80337FF8 00334F58 38 81 01 88 */ addi r4, r1, 0x188 +/* 80337FFC 00334F5C EC 5E F8 28 */ fsubs f2, f30, f31 +/* 80338000 00334F60 D0 21 01 8C */ stfs f1, 0x18c(r1) +/* 80338004 00334F64 D0 41 01 88 */ stfs f2, 0x188(r1) +/* 80338008 00334F68 D0 01 01 90 */ stfs f0, 0x190(r1) +/* 8033800C 00334F6C 4B FD C8 45 */ bl AsNormalized__9CVector3fCFv +/* 80338010 00334F70 38 61 01 70 */ addi r3, r1, 0x170 +/* 80338014 00334F74 38 81 01 7C */ addi r4, r1, 0x17c +/* 80338018 00334F78 4B FD BD B9 */ bl __ct__13CUnitVector3fFRC9CVector3f +/* 8033801C 00334F7C D3 FF 00 00 */ stfs f31, 0(r31) +/* 80338020 00334F80 D3 BF 00 04 */ stfs f29, 4(r31) +/* 80338024 00334F84 D3 9F 00 08 */ stfs f28, 8(r31) +/* 80338028 00334F88 C0 01 01 70 */ lfs f0, 0x170(r1) +/* 8033802C 00334F8C D0 1F 00 0C */ stfs f0, 0xc(r31) +/* 80338030 00334F90 C0 01 01 74 */ lfs f0, 0x174(r1) +/* 80338034 00334F94 D0 1F 00 10 */ stfs f0, 0x10(r31) +/* 80338038 00334F98 C0 01 01 78 */ lfs f0, 0x178(r1) +/* 8033803C 00334F9C D0 1F 00 14 */ stfs f0, 0x14(r31) +/* 80338040 00334FA0 D3 DF 00 18 */ stfs f30, 0x18(r31) +/* 80338044 00334FA4 D3 BF 00 1C */ stfs f29, 0x1c(r31) +/* 80338048 00334FA8 D3 9F 00 20 */ stfs f28, 0x20(r31) +/* 8033804C 00334FAC 48 00 04 88 */ b lbl_803384D4 +/* 80338050 00334FB0 C3 84 00 08 */ lfs f28, 8(r4) +/* 80338054 00334FB4 38 61 01 58 */ addi r3, r1, 0x158 +/* 80338058 00334FB8 C3 A4 00 00 */ lfs f29, 0(r4) +/* 8033805C 00334FBC EC 1C E0 28 */ fsubs f0, f28, f28 +/* 80338060 00334FC0 C3 C4 00 10 */ lfs f30, 0x10(r4) +/* 80338064 00334FC4 C3 E4 00 04 */ lfs f31, 4(r4) +/* 80338068 00334FC8 EC 5D E8 28 */ fsubs f2, f29, f29 +/* 8033806C 00334FCC 38 81 01 64 */ addi r4, r1, 0x164 +/* 80338070 00334FD0 EC 3E F8 28 */ fsubs f1, f30, f31 +/* 80338074 00334FD4 D0 41 01 64 */ stfs f2, 0x164(r1) +/* 80338078 00334FD8 D0 21 01 68 */ stfs f1, 0x168(r1) +/* 8033807C 00334FDC D0 01 01 6C */ stfs f0, 0x16c(r1) +/* 80338080 00334FE0 4B FD C7 D1 */ bl AsNormalized__9CVector3fCFv +/* 80338084 00334FE4 38 61 01 4C */ addi r3, r1, 0x14c +/* 80338088 00334FE8 38 81 01 58 */ addi r4, r1, 0x158 +/* 8033808C 00334FEC 4B FD BD 45 */ bl __ct__13CUnitVector3fFRC9CVector3f +/* 80338090 00334FF0 D3 BF 00 00 */ stfs f29, 0(r31) +/* 80338094 00334FF4 D3 FF 00 04 */ stfs f31, 4(r31) +/* 80338098 00334FF8 D3 9F 00 08 */ stfs f28, 8(r31) +/* 8033809C 00334FFC C0 01 01 4C */ lfs f0, 0x14c(r1) +/* 803380A0 00335000 D0 1F 00 0C */ stfs f0, 0xc(r31) +/* 803380A4 00335004 C0 01 01 50 */ lfs f0, 0x150(r1) +/* 803380A8 00335008 D0 1F 00 10 */ stfs f0, 0x10(r31) +/* 803380AC 0033500C C0 01 01 54 */ lfs f0, 0x154(r1) +/* 803380B0 00335010 D0 1F 00 14 */ stfs f0, 0x14(r31) +/* 803380B4 00335014 D3 BF 00 18 */ stfs f29, 0x18(r31) +/* 803380B8 00335018 D3 DF 00 1C */ stfs f30, 0x1c(r31) +/* 803380BC 0033501C D3 9F 00 20 */ stfs f28, 0x20(r31) +/* 803380C0 00335020 48 00 04 14 */ b lbl_803384D4 +/* 803380C4 00335024 C3 84 00 04 */ lfs f28, 4(r4) +/* 803380C8 00335028 38 61 01 34 */ addi r3, r1, 0x134 +/* 803380CC 0033502C C3 A4 00 0C */ lfs f29, 0xc(r4) +/* 803380D0 00335030 EC 3C E0 28 */ fsubs f1, f28, f28 +/* 803380D4 00335034 C3 C4 00 14 */ lfs f30, 0x14(r4) +/* 803380D8 00335038 C3 E4 00 08 */ lfs f31, 8(r4) +/* 803380DC 0033503C EC 5D E8 28 */ fsubs f2, f29, f29 +/* 803380E0 00335040 38 81 01 40 */ addi r4, r1, 0x140 +/* 803380E4 00335044 EC 1E F8 28 */ fsubs f0, f30, f31 +/* 803380E8 00335048 D0 41 01 40 */ stfs f2, 0x140(r1) +/* 803380EC 0033504C D0 21 01 44 */ stfs f1, 0x144(r1) +/* 803380F0 00335050 D0 01 01 48 */ stfs f0, 0x148(r1) +/* 803380F4 00335054 4B FD C7 5D */ bl AsNormalized__9CVector3fCFv +/* 803380F8 00335058 38 61 01 28 */ addi r3, r1, 0x128 +/* 803380FC 0033505C 38 81 01 34 */ addi r4, r1, 0x134 +/* 80338100 00335060 4B FD BC D1 */ bl __ct__13CUnitVector3fFRC9CVector3f +/* 80338104 00335064 D3 BF 00 00 */ stfs f29, 0(r31) +/* 80338108 00335068 D3 9F 00 04 */ stfs f28, 4(r31) +/* 8033810C 0033506C D3 FF 00 08 */ stfs f31, 8(r31) +/* 80338110 00335070 C0 01 01 28 */ lfs f0, 0x128(r1) +/* 80338114 00335074 D0 1F 00 0C */ stfs f0, 0xc(r31) +/* 80338118 00335078 C0 01 01 2C */ lfs f0, 0x12c(r1) +/* 8033811C 0033507C D0 1F 00 10 */ stfs f0, 0x10(r31) +/* 80338120 00335080 C0 01 01 30 */ lfs f0, 0x130(r1) +/* 80338124 00335084 D0 1F 00 14 */ stfs f0, 0x14(r31) +/* 80338128 00335088 D3 BF 00 18 */ stfs f29, 0x18(r31) +/* 8033812C 0033508C D3 9F 00 1C */ stfs f28, 0x1c(r31) +/* 80338130 00335090 D3 DF 00 20 */ stfs f30, 0x20(r31) +/* 80338134 00335094 48 00 03 A0 */ b lbl_803384D4 +/* 80338138 00335098 C3 84 00 08 */ lfs f28, 8(r4) +/* 8033813C 0033509C 38 61 01 10 */ addi r3, r1, 0x110 +/* 80338140 003350A0 C3 A4 00 0C */ lfs f29, 0xc(r4) +/* 80338144 003350A4 EC 1C E0 28 */ fsubs f0, f28, f28 +/* 80338148 003350A8 C3 C4 00 10 */ lfs f30, 0x10(r4) +/* 8033814C 003350AC C3 E4 00 04 */ lfs f31, 4(r4) +/* 80338150 003350B0 EC 5D E8 28 */ fsubs f2, f29, f29 +/* 80338154 003350B4 38 81 01 1C */ addi r4, r1, 0x11c +/* 80338158 003350B8 EC 3E F8 28 */ fsubs f1, f30, f31 +/* 8033815C 003350BC D0 41 01 1C */ stfs f2, 0x11c(r1) +/* 80338160 003350C0 D0 21 01 20 */ stfs f1, 0x120(r1) +/* 80338164 003350C4 D0 01 01 24 */ stfs f0, 0x124(r1) +/* 80338168 003350C8 4B FD C6 E9 */ bl AsNormalized__9CVector3fCFv +/* 8033816C 003350CC 38 61 01 04 */ addi r3, r1, 0x104 +/* 80338170 003350D0 38 81 01 10 */ addi r4, r1, 0x110 +/* 80338174 003350D4 4B FD BC 5D */ bl __ct__13CUnitVector3fFRC9CVector3f +/* 80338178 003350D8 D3 BF 00 00 */ stfs f29, 0(r31) +/* 8033817C 003350DC D3 FF 00 04 */ stfs f31, 4(r31) +/* 80338180 003350E0 D3 9F 00 08 */ stfs f28, 8(r31) +/* 80338184 003350E4 C0 01 01 04 */ lfs f0, 0x104(r1) +/* 80338188 003350E8 D0 1F 00 0C */ stfs f0, 0xc(r31) +/* 8033818C 003350EC C0 01 01 08 */ lfs f0, 0x108(r1) +/* 80338190 003350F0 D0 1F 00 10 */ stfs f0, 0x10(r31) +/* 80338194 003350F4 C0 01 01 0C */ lfs f0, 0x10c(r1) +/* 80338198 003350F8 D0 1F 00 14 */ stfs f0, 0x14(r31) +/* 8033819C 003350FC D3 BF 00 18 */ stfs f29, 0x18(r31) +/* 803381A0 00335100 D3 DF 00 1C */ stfs f30, 0x1c(r31) +/* 803381A4 00335104 D3 9F 00 20 */ stfs f28, 0x20(r31) +/* 803381A8 00335108 48 00 03 2C */ b lbl_803384D4 +/* 803381AC 0033510C C3 84 00 14 */ lfs f28, 0x14(r4) +/* 803381B0 00335110 38 61 00 EC */ addi r3, r1, 0xec +/* 803381B4 00335114 C3 A4 00 04 */ lfs f29, 4(r4) +/* 803381B8 00335118 EC 1C E0 28 */ fsubs f0, f28, f28 +/* 803381BC 0033511C C3 C4 00 00 */ lfs f30, 0(r4) +/* 803381C0 00335120 C3 E4 00 0C */ lfs f31, 0xc(r4) +/* 803381C4 00335124 EC 3D E8 28 */ fsubs f1, f29, f29 +/* 803381C8 00335128 38 81 00 F8 */ addi r4, r1, 0xf8 +/* 803381CC 0033512C EC 5E F8 28 */ fsubs f2, f30, f31 +/* 803381D0 00335130 D0 21 00 FC */ stfs f1, 0xfc(r1) +/* 803381D4 00335134 D0 41 00 F8 */ stfs f2, 0xf8(r1) +/* 803381D8 00335138 D0 01 01 00 */ stfs f0, 0x100(r1) +/* 803381DC 0033513C 4B FD C6 75 */ bl AsNormalized__9CVector3fCFv +/* 803381E0 00335140 38 61 00 E0 */ addi r3, r1, 0xe0 +/* 803381E4 00335144 38 81 00 EC */ addi r4, r1, 0xec +/* 803381E8 00335148 4B FD BB E9 */ bl __ct__13CUnitVector3fFRC9CVector3f +/* 803381EC 0033514C D3 FF 00 00 */ stfs f31, 0(r31) +/* 803381F0 00335150 D3 BF 00 04 */ stfs f29, 4(r31) +/* 803381F4 00335154 D3 9F 00 08 */ stfs f28, 8(r31) +/* 803381F8 00335158 C0 01 00 E0 */ lfs f0, 0xe0(r1) +/* 803381FC 0033515C D0 1F 00 0C */ stfs f0, 0xc(r31) +/* 80338200 00335160 C0 01 00 E4 */ lfs f0, 0xe4(r1) +/* 80338204 00335164 D0 1F 00 10 */ stfs f0, 0x10(r31) +/* 80338208 00335168 C0 01 00 E8 */ lfs f0, 0xe8(r1) +/* 8033820C 0033516C D0 1F 00 14 */ stfs f0, 0x14(r31) +/* 80338210 00335170 D3 DF 00 18 */ stfs f30, 0x18(r31) +/* 80338214 00335174 D3 BF 00 1C */ stfs f29, 0x1c(r31) +/* 80338218 00335178 D3 9F 00 20 */ stfs f28, 0x20(r31) +/* 8033821C 0033517C 48 00 02 B8 */ b lbl_803384D4 +/* 80338220 00335180 C3 84 00 14 */ lfs f28, 0x14(r4) +/* 80338224 00335184 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 80338228 00335188 C3 A4 00 0C */ lfs f29, 0xc(r4) +/* 8033822C 0033518C EC 1C E0 28 */ fsubs f0, f28, f28 +/* 80338230 00335190 C3 C4 00 10 */ lfs f30, 0x10(r4) +/* 80338234 00335194 C3 E4 00 04 */ lfs f31, 4(r4) +/* 80338238 00335198 EC 5D E8 28 */ fsubs f2, f29, f29 +/* 8033823C 0033519C 38 81 00 D4 */ addi r4, r1, 0xd4 +/* 80338240 003351A0 EC 3E F8 28 */ fsubs f1, f30, f31 +/* 80338244 003351A4 D0 41 00 D4 */ stfs f2, 0xd4(r1) +/* 80338248 003351A8 D0 21 00 D8 */ stfs f1, 0xd8(r1) +/* 8033824C 003351AC D0 01 00 DC */ stfs f0, 0xdc(r1) +/* 80338250 003351B0 4B FD C6 01 */ bl AsNormalized__9CVector3fCFv +/* 80338254 003351B4 38 61 00 BC */ addi r3, r1, 0xbc +/* 80338258 003351B8 38 81 00 C8 */ addi r4, r1, 0xc8 +/* 8033825C 003351BC 4B FD BB 75 */ bl __ct__13CUnitVector3fFRC9CVector3f +/* 80338260 003351C0 D3 BF 00 00 */ stfs f29, 0(r31) +/* 80338264 003351C4 D3 FF 00 04 */ stfs f31, 4(r31) +/* 80338268 003351C8 D3 9F 00 08 */ stfs f28, 8(r31) +/* 8033826C 003351CC C0 01 00 BC */ lfs f0, 0xbc(r1) +/* 80338270 003351D0 D0 1F 00 0C */ stfs f0, 0xc(r31) +/* 80338274 003351D4 C0 01 00 C0 */ lfs f0, 0xc0(r1) +/* 80338278 003351D8 D0 1F 00 10 */ stfs f0, 0x10(r31) +/* 8033827C 003351DC C0 01 00 C4 */ lfs f0, 0xc4(r1) +/* 80338280 003351E0 D0 1F 00 14 */ stfs f0, 0x14(r31) +/* 80338284 003351E4 D3 BF 00 18 */ stfs f29, 0x18(r31) +/* 80338288 003351E8 D3 DF 00 1C */ stfs f30, 0x1c(r31) +/* 8033828C 003351EC D3 9F 00 20 */ stfs f28, 0x20(r31) +/* 80338290 003351F0 48 00 02 44 */ b lbl_803384D4 +/* 80338294 003351F4 C3 84 00 10 */ lfs f28, 0x10(r4) +/* 80338298 003351F8 38 61 00 A4 */ addi r3, r1, 0xa4 +/* 8033829C 003351FC C3 A4 00 0C */ lfs f29, 0xc(r4) +/* 803382A0 00335200 EC 3C E0 28 */ fsubs f1, f28, f28 +/* 803382A4 00335204 C3 C4 00 08 */ lfs f30, 8(r4) +/* 803382A8 00335208 C3 E4 00 14 */ lfs f31, 0x14(r4) +/* 803382AC 0033520C EC 5D E8 28 */ fsubs f2, f29, f29 +/* 803382B0 00335210 38 81 00 B0 */ addi r4, r1, 0xb0 +/* 803382B4 00335214 EC 1E F8 28 */ fsubs f0, f30, f31 +/* 803382B8 00335218 D0 41 00 B0 */ stfs f2, 0xb0(r1) +/* 803382BC 0033521C D0 21 00 B4 */ stfs f1, 0xb4(r1) +/* 803382C0 00335220 D0 01 00 B8 */ stfs f0, 0xb8(r1) +/* 803382C4 00335224 4B FD C5 8D */ bl AsNormalized__9CVector3fCFv +/* 803382C8 00335228 38 61 00 98 */ addi r3, r1, 0x98 +/* 803382CC 0033522C 38 81 00 A4 */ addi r4, r1, 0xa4 +/* 803382D0 00335230 4B FD BB 01 */ bl __ct__13CUnitVector3fFRC9CVector3f +/* 803382D4 00335234 D3 BF 00 00 */ stfs f29, 0(r31) +/* 803382D8 00335238 D3 9F 00 04 */ stfs f28, 4(r31) +/* 803382DC 0033523C D3 FF 00 08 */ stfs f31, 8(r31) +/* 803382E0 00335240 C0 01 00 98 */ lfs f0, 0x98(r1) +/* 803382E4 00335244 D0 1F 00 0C */ stfs f0, 0xc(r31) +/* 803382E8 00335248 C0 01 00 9C */ lfs f0, 0x9c(r1) +/* 803382EC 0033524C D0 1F 00 10 */ stfs f0, 0x10(r31) +/* 803382F0 00335250 C0 01 00 A0 */ lfs f0, 0xa0(r1) +/* 803382F4 00335254 D0 1F 00 14 */ stfs f0, 0x14(r31) +/* 803382F8 00335258 D3 BF 00 18 */ stfs f29, 0x18(r31) +/* 803382FC 0033525C D3 9F 00 1C */ stfs f28, 0x1c(r31) +/* 80338300 00335260 D3 DF 00 20 */ stfs f30, 0x20(r31) +/* 80338304 00335264 48 00 01 D0 */ b lbl_803384D4 +/* 80338308 00335268 C3 84 00 08 */ lfs f28, 8(r4) +/* 8033830C 0033526C 38 61 00 80 */ addi r3, r1, 0x80 +/* 80338310 00335270 C3 A4 00 10 */ lfs f29, 0x10(r4) +/* 80338314 00335274 EC 1C E0 28 */ fsubs f0, f28, f28 +/* 80338318 00335278 C3 C4 00 00 */ lfs f30, 0(r4) +/* 8033831C 0033527C C3 E4 00 0C */ lfs f31, 0xc(r4) +/* 80338320 00335280 EC 3D E8 28 */ fsubs f1, f29, f29 +/* 80338324 00335284 38 81 00 8C */ addi r4, r1, 0x8c +/* 80338328 00335288 EC 5E F8 28 */ fsubs f2, f30, f31 +/* 8033832C 0033528C D0 21 00 90 */ stfs f1, 0x90(r1) +/* 80338330 00335290 D0 41 00 8C */ stfs f2, 0x8c(r1) +/* 80338334 00335294 D0 01 00 94 */ stfs f0, 0x94(r1) +/* 80338338 00335298 4B FD C5 19 */ bl AsNormalized__9CVector3fCFv +/* 8033833C 0033529C 38 61 00 74 */ addi r3, r1, 0x74 +/* 80338340 003352A0 38 81 00 80 */ addi r4, r1, 0x80 +/* 80338344 003352A4 4B FD BA 8D */ bl __ct__13CUnitVector3fFRC9CVector3f +/* 80338348 003352A8 D3 FF 00 00 */ stfs f31, 0(r31) +/* 8033834C 003352AC D3 BF 00 04 */ stfs f29, 4(r31) +/* 80338350 003352B0 D3 9F 00 08 */ stfs f28, 8(r31) +/* 80338354 003352B4 C0 01 00 74 */ lfs f0, 0x74(r1) +/* 80338358 003352B8 D0 1F 00 0C */ stfs f0, 0xc(r31) +/* 8033835C 003352BC C0 01 00 78 */ lfs f0, 0x78(r1) +/* 80338360 003352C0 D0 1F 00 10 */ stfs f0, 0x10(r31) +/* 80338364 003352C4 C0 01 00 7C */ lfs f0, 0x7c(r1) +/* 80338368 003352C8 D0 1F 00 14 */ stfs f0, 0x14(r31) +/* 8033836C 003352CC D3 DF 00 18 */ stfs f30, 0x18(r31) +/* 80338370 003352D0 D3 BF 00 1C */ stfs f29, 0x1c(r31) +/* 80338374 003352D4 D3 9F 00 20 */ stfs f28, 0x20(r31) +/* 80338378 003352D8 48 00 01 5C */ b lbl_803384D4 +/* 8033837C 003352DC C3 84 00 10 */ lfs f28, 0x10(r4) +/* 80338380 003352E0 38 61 00 5C */ addi r3, r1, 0x5c +/* 80338384 003352E4 C3 A4 00 00 */ lfs f29, 0(r4) +/* 80338388 003352E8 EC 3C E0 28 */ fsubs f1, f28, f28 +/* 8033838C 003352EC C3 C4 00 14 */ lfs f30, 0x14(r4) +/* 80338390 003352F0 C3 E4 00 08 */ lfs f31, 8(r4) +/* 80338394 003352F4 EC 5D E8 28 */ fsubs f2, f29, f29 +/* 80338398 003352F8 38 81 00 68 */ addi r4, r1, 0x68 +/* 8033839C 003352FC EC 1E F8 28 */ fsubs f0, f30, f31 +/* 803383A0 00335300 D0 41 00 68 */ stfs f2, 0x68(r1) +/* 803383A4 00335304 D0 21 00 6C */ stfs f1, 0x6c(r1) +/* 803383A8 00335308 D0 01 00 70 */ stfs f0, 0x70(r1) +/* 803383AC 0033530C 4B FD C4 A5 */ bl AsNormalized__9CVector3fCFv +/* 803383B0 00335310 38 61 00 50 */ addi r3, r1, 0x50 +/* 803383B4 00335314 38 81 00 5C */ addi r4, r1, 0x5c +/* 803383B8 00335318 4B FD BA 19 */ bl __ct__13CUnitVector3fFRC9CVector3f +/* 803383BC 0033531C D3 BF 00 00 */ stfs f29, 0(r31) +/* 803383C0 00335320 D3 9F 00 04 */ stfs f28, 4(r31) +/* 803383C4 00335324 D3 FF 00 08 */ stfs f31, 8(r31) +/* 803383C8 00335328 C0 01 00 50 */ lfs f0, 0x50(r1) +/* 803383CC 0033532C D0 1F 00 0C */ stfs f0, 0xc(r31) +/* 803383D0 00335330 C0 01 00 54 */ lfs f0, 0x54(r1) +/* 803383D4 00335334 D0 1F 00 10 */ stfs f0, 0x10(r31) +/* 803383D8 00335338 C0 01 00 58 */ lfs f0, 0x58(r1) +/* 803383DC 0033533C D0 1F 00 14 */ stfs f0, 0x14(r31) +/* 803383E0 00335340 D3 BF 00 18 */ stfs f29, 0x18(r31) +/* 803383E4 00335344 D3 9F 00 1C */ stfs f28, 0x1c(r31) +/* 803383E8 00335348 D3 DF 00 20 */ stfs f30, 0x20(r31) +/* 803383EC 0033534C 48 00 00 E8 */ b lbl_803384D4 +/* 803383F0 00335350 C3 84 00 14 */ lfs f28, 0x14(r4) +/* 803383F4 00335354 38 61 00 38 */ addi r3, r1, 0x38 +/* 803383F8 00335358 C3 A4 00 10 */ lfs f29, 0x10(r4) +/* 803383FC 0033535C EC 1C E0 28 */ fsubs f0, f28, f28 +/* 80338400 00335360 C3 C4 00 0C */ lfs f30, 0xc(r4) +/* 80338404 00335364 C3 E4 00 00 */ lfs f31, 0(r4) +/* 80338408 00335368 EC 3D E8 28 */ fsubs f1, f29, f29 +/* 8033840C 0033536C 38 81 00 44 */ addi r4, r1, 0x44 +/* 80338410 00335370 EC 5E F8 28 */ fsubs f2, f30, f31 +/* 80338414 00335374 D0 21 00 48 */ stfs f1, 0x48(r1) +/* 80338418 00335378 D0 41 00 44 */ stfs f2, 0x44(r1) +/* 8033841C 0033537C D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 80338420 00335380 4B FD C4 31 */ bl AsNormalized__9CVector3fCFv +/* 80338424 00335384 38 61 00 2C */ addi r3, r1, 0x2c +/* 80338428 00335388 38 81 00 38 */ addi r4, r1, 0x38 +/* 8033842C 0033538C 4B FD B9 A5 */ bl __ct__13CUnitVector3fFRC9CVector3f +/* 80338430 00335390 D3 FF 00 00 */ stfs f31, 0(r31) +/* 80338434 00335394 D3 BF 00 04 */ stfs f29, 4(r31) +/* 80338438 00335398 D3 9F 00 08 */ stfs f28, 8(r31) +/* 8033843C 0033539C C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 80338440 003353A0 D0 1F 00 0C */ stfs f0, 0xc(r31) +/* 80338444 003353A4 C0 01 00 30 */ lfs f0, 0x30(r1) +/* 80338448 003353A8 D0 1F 00 10 */ stfs f0, 0x10(r31) +/* 8033844C 003353AC C0 01 00 34 */ lfs f0, 0x34(r1) +/* 80338450 003353B0 D0 1F 00 14 */ stfs f0, 0x14(r31) +/* 80338454 003353B4 D3 DF 00 18 */ stfs f30, 0x18(r31) +/* 80338458 003353B8 D3 BF 00 1C */ stfs f29, 0x1c(r31) +/* 8033845C 003353BC D3 9F 00 20 */ stfs f28, 0x20(r31) +/* 80338460 003353C0 48 00 00 74 */ b lbl_803384D4 +lbl_80338464: +/* 80338464 003353C4 C3 84 00 04 */ lfs f28, 4(r4) +/* 80338468 003353C8 38 61 00 14 */ addi r3, r1, 0x14 +/* 8033846C 003353CC C3 A4 00 00 */ lfs f29, 0(r4) +/* 80338470 003353D0 EC 3C E0 28 */ fsubs f1, f28, f28 +/* 80338474 003353D4 C3 C4 00 08 */ lfs f30, 8(r4) +/* 80338478 003353D8 C3 E4 00 14 */ lfs f31, 0x14(r4) +/* 8033847C 003353DC EC 5D E8 28 */ fsubs f2, f29, f29 +/* 80338480 003353E0 38 81 00 20 */ addi r4, r1, 0x20 +/* 80338484 003353E4 EC 1E F8 28 */ fsubs f0, f30, f31 +/* 80338488 003353E8 D0 41 00 20 */ stfs f2, 0x20(r1) +/* 8033848C 003353EC D0 21 00 24 */ stfs f1, 0x24(r1) +/* 80338490 003353F0 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 80338494 003353F4 4B FD C3 BD */ bl AsNormalized__9CVector3fCFv +/* 80338498 003353F8 38 61 00 08 */ addi r3, r1, 8 +/* 8033849C 003353FC 38 81 00 14 */ addi r4, r1, 0x14 +/* 803384A0 00335400 4B FD B9 31 */ bl __ct__13CUnitVector3fFRC9CVector3f +/* 803384A4 00335404 D3 BF 00 00 */ stfs f29, 0(r31) +/* 803384A8 00335408 D3 9F 00 04 */ stfs f28, 4(r31) +/* 803384AC 0033540C D3 FF 00 08 */ stfs f31, 8(r31) +/* 803384B0 00335410 C0 01 00 08 */ lfs f0, 8(r1) +/* 803384B4 00335414 D0 1F 00 0C */ stfs f0, 0xc(r31) +/* 803384B8 00335418 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 803384BC 0033541C D0 1F 00 10 */ stfs f0, 0x10(r31) +/* 803384C0 00335420 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 803384C4 00335424 D0 1F 00 14 */ stfs f0, 0x14(r31) +/* 803384C8 00335428 D3 BF 00 18 */ stfs f29, 0x18(r31) +/* 803384CC 0033542C D3 9F 00 1C */ stfs f28, 0x1c(r31) +/* 803384D0 00335430 D3 DF 00 20 */ stfs f30, 0x20(r31) +lbl_803384D4: +/* 803384D4 00335434 E3 E1 02 28 */ psq_l f31, 552(r1), 0, qr0 +/* 803384D8 00335438 CB E1 02 20 */ lfd f31, 0x220(r1) +/* 803384DC 0033543C E3 C1 02 18 */ psq_l f30, 536(r1), 0, qr0 +/* 803384E0 00335440 CB C1 02 10 */ lfd f30, 0x210(r1) +/* 803384E4 00335444 E3 A1 02 08 */ psq_l f29, 520(r1), 0, qr0 +/* 803384E8 00335448 CB A1 02 00 */ lfd f29, 0x200(r1) +/* 803384EC 0033544C E3 81 01 F8 */ psq_l f28, 504(r1), 0, qr0 +/* 803384F0 00335450 CB 81 01 F0 */ lfd f28, 0x1f0(r1) +/* 803384F4 00335454 80 01 02 34 */ lwz r0, 0x234(r1) +/* 803384F8 00335458 83 E1 01 EC */ lwz r31, 0x1ec(r1) +/* 803384FC 0033545C 7C 08 03 A6 */ mtlr r0 +/* 80338500 00335460 38 21 02 30 */ addi r1, r1, 0x230 +/* 80338504 00335464 4E 80 00 20 */ blr + +.global __ct__6CAABoxFRC9CVector3fRC9CVector3f +__ct__6CAABoxFRC9CVector3fRC9CVector3f: +/* 80338508 00335468 C0 04 00 00 */ lfs f0, 0(r4) +/* 8033850C 0033546C D0 03 00 00 */ stfs f0, 0(r3) +/* 80338510 00335470 C0 04 00 04 */ lfs f0, 4(r4) +/* 80338514 00335474 D0 03 00 04 */ stfs f0, 4(r3) +/* 80338518 00335478 C0 04 00 08 */ lfs f0, 8(r4) +/* 8033851C 0033547C D0 03 00 08 */ stfs f0, 8(r3) +/* 80338520 00335480 C0 05 00 00 */ lfs f0, 0(r5) +/* 80338524 00335484 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 80338528 00335488 C0 05 00 04 */ lfs f0, 4(r5) +/* 8033852C 0033548C D0 03 00 10 */ stfs f0, 0x10(r3) +/* 80338530 00335490 C0 05 00 08 */ lfs f0, 8(r5) +/* 80338534 00335494 D0 03 00 14 */ stfs f0, 0x14(r3) +/* 80338538 00335498 4E 80 00 20 */ blr + +.global __ct__6CAABoxFR12CInputStream +__ct__6CAABoxFR12CInputStream: +/* 8033853C 0033549C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80338540 003354A0 7C 08 02 A6 */ mflr r0 +/* 80338544 003354A4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80338548 003354A8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033854C 003354AC 7C 9F 23 78 */ mr r31, r4 +/* 80338550 003354B0 93 C1 00 08 */ stw r30, 8(r1) +/* 80338554 003354B4 7C 7E 1B 78 */ mr r30, r3 +/* 80338558 003354B8 4B FD C6 35 */ bl __ct__9CVector3fFR12CInputStream +/* 8033855C 003354BC 7F E4 FB 78 */ mr r4, r31 +/* 80338560 003354C0 38 7E 00 0C */ addi r3, r30, 0xc +/* 80338564 003354C4 4B FD C6 29 */ bl __ct__9CVector3fFR12CInputStream +/* 80338568 003354C8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033856C 003354CC 7F C3 F3 78 */ mr r3, r30 +/* 80338570 003354D0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80338574 003354D4 83 C1 00 08 */ lwz r30, 8(r1) +/* 80338578 003354D8 7C 08 03 A6 */ mtlr r0 +/* 8033857C 003354DC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80338580 003354E0 4E 80 00 20 */ blr + +.global __sinit_CAABox_cpp +__sinit_CAABox_cpp: +/* 80338584 003354E4 C0 42 CB 94 */ lfs f2, lbl_805AE8B4@sda21(r2) +/* 80338588 003354E8 3C 80 80 5A */ lis r4, lbl_805A6754@ha +/* 8033858C 003354EC C0 02 CB 88 */ lfs f0, lbl_805AE8A8@sda21(r2) +/* 80338590 003354F0 3C 60 80 5A */ lis r3, lbl_805A6784@ha +/* 80338594 003354F4 D4 44 67 54 */ stfsu f2, lbl_805A6754@l(r4) +/* 80338598 003354F8 C0 22 CB 98 */ lfs f1, lbl_805AE8B8@sda21(r2) +/* 8033859C 003354FC D4 03 67 84 */ stfsu f0, lbl_805A6784@l(r3) +/* 803385A0 00335500 D0 44 00 04 */ stfs f2, 4(r4) +/* 803385A4 00335504 D0 44 00 08 */ stfs f2, 8(r4) +/* 803385A8 00335508 D0 24 00 0C */ stfs f1, 0xc(r4) +/* 803385AC 0033550C D0 24 00 10 */ stfs f1, 0x10(r4) +/* 803385B0 00335510 D0 24 00 14 */ stfs f1, 0x14(r4) +/* 803385B4 00335514 D0 03 00 04 */ stfs f0, 4(r3) +/* 803385B8 00335518 D0 03 00 08 */ stfs f0, 8(r3) +/* 803385BC 0033551C D0 03 00 0C */ stfs f0, 0xc(r3) +/* 803385C0 00335520 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 803385C4 00335524 D0 03 00 14 */ stfs f0, 0x14(r3) +/* 803385C8 00335528 4E 80 00 20 */ blr diff --git a/asm/Kyoto/Math/CFrustumPlanes.s b/asm/Kyoto/Math/CFrustumPlanes.s new file mode 100644 index 00000000..58e1133a --- /dev/null +++ b/asm/Kyoto/Math/CFrustumPlanes.s @@ -0,0 +1,529 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global PointInFrustumPlanes__14CFrustumPlanesCFRC9CVector3f +PointInFrustumPlanes__14CFrustumPlanesCFRC9CVector3f: +/* 80344FCC 00341F2C 80 03 00 00 */ lwz r0, 0(r3) +/* 80344FD0 00341F30 38 63 00 04 */ addi r3, r3, 4 +/* 80344FD4 00341F34 7C 09 03 A6 */ mtctr r0 +/* 80344FD8 00341F38 2C 00 00 00 */ cmpwi r0, 0 +/* 80344FDC 00341F3C 40 81 00 48 */ ble lbl_80345024 +lbl_80344FE0: +/* 80344FE0 00341F40 C0 23 00 04 */ lfs f1, 4(r3) +/* 80344FE4 00341F44 C0 04 00 04 */ lfs f0, 4(r4) +/* 80344FE8 00341F48 C0 43 00 00 */ lfs f2, 0(r3) +/* 80344FEC 00341F4C EC 01 00 32 */ fmuls f0, f1, f0 +/* 80344FF0 00341F50 C0 24 00 00 */ lfs f1, 0(r4) +/* 80344FF4 00341F54 C0 83 00 08 */ lfs f4, 8(r3) +/* 80344FF8 00341F58 C0 64 00 08 */ lfs f3, 8(r4) +/* 80344FFC 00341F5C EC 22 00 7A */ fmadds f1, f2, f1, f0 +/* 80345000 00341F60 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 80345004 00341F64 EC 24 08 FA */ fmadds f1, f4, f3, f1 +/* 80345008 00341F68 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8034500C 00341F6C 4C 41 13 82 */ cror 2, 1, 2 +/* 80345010 00341F70 40 82 00 0C */ bne lbl_8034501C +/* 80345014 00341F74 38 60 00 00 */ li r3, 0 +/* 80345018 00341F78 4E 80 00 20 */ blr +lbl_8034501C: +/* 8034501C 00341F7C 38 63 00 10 */ addi r3, r3, 0x10 +/* 80345020 00341F80 42 00 FF C0 */ bdnz lbl_80344FE0 +lbl_80345024: +/* 80345024 00341F84 38 60 00 01 */ li r3, 1 +/* 80345028 00341F88 4E 80 00 20 */ blr + +.global SphereInFrustumPlanes__14CFrustumPlanesCFRC7CSphere +SphereInFrustumPlanes__14CFrustumPlanesCFRC7CSphere: +/* 8034502C 00341F8C 80 03 00 00 */ lwz r0, 0(r3) +/* 80345030 00341F90 38 63 00 04 */ addi r3, r3, 4 +/* 80345034 00341F94 C0 A4 00 0C */ lfs f5, 0xc(r4) +/* 80345038 00341F98 C0 C4 00 00 */ lfs f6, 0(r4) +/* 8034503C 00341F9C C0 E4 00 04 */ lfs f7, 4(r4) +/* 80345040 00341FA0 C1 04 00 08 */ lfs f8, 8(r4) +/* 80345044 00341FA4 C0 02 CB B0 */ lfs f0, lbl_805AE8D0@sda21(r2) +/* 80345048 00341FA8 7C 09 03 A6 */ mtctr r0 +/* 8034504C 00341FAC 2C 00 00 00 */ cmpwi r0, 0 +/* 80345050 00341FB0 40 81 00 40 */ ble lbl_80345090 +lbl_80345054: +/* 80345054 00341FB4 C0 23 00 04 */ lfs f1, 4(r3) +/* 80345058 00341FB8 C0 63 00 00 */ lfs f3, 0(r3) +/* 8034505C 00341FBC EC 41 01 F2 */ fmuls f2, f1, f7 +/* 80345060 00341FC0 C0 83 00 08 */ lfs f4, 8(r3) +/* 80345064 00341FC4 C0 23 00 0C */ lfs f1, 0xc(r3) +/* 80345068 00341FC8 EC 43 11 BA */ fmadds f2, f3, f6, f2 +/* 8034506C 00341FCC EC 44 12 3A */ fmadds f2, f4, f8, f2 +/* 80345070 00341FD0 EC 22 08 28 */ fsubs f1, f2, f1 +/* 80345074 00341FD4 EC 21 28 28 */ fsubs f1, f1, f5 +/* 80345078 00341FD8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8034507C 00341FDC 40 81 00 0C */ ble lbl_80345088 +/* 80345080 00341FE0 38 60 00 00 */ li r3, 0 +/* 80345084 00341FE4 4E 80 00 20 */ blr +lbl_80345088: +/* 80345088 00341FE8 38 63 00 10 */ addi r3, r3, 0x10 +/* 8034508C 00341FEC 42 00 FF C8 */ bdnz lbl_80345054 +lbl_80345090: +/* 80345090 00341FF0 38 60 00 01 */ li r3, 1 +/* 80345094 00341FF4 4E 80 00 20 */ blr + +.global sub_80345098 +sub_80345098: +/* 80345098 00341FF8 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8034509C 00341FFC 7C 08 02 A6 */ mflr r0 +/* 803450A0 00342000 90 01 00 44 */ stw r0, 0x44(r1) +/* 803450A4 00342004 BF 61 00 2C */ stmw r27, 0x2c(r1) +/* 803450A8 00342008 7C 7B 1B 78 */ mr r27, r3 +/* 803450AC 0034200C 7C 9C 23 78 */ mr r28, r4 +/* 803450B0 00342010 3B C0 00 01 */ li r30, 1 +/* 803450B4 00342014 3B FB 00 04 */ addi r31, r27, 4 +/* 803450B8 00342018 3B A0 00 00 */ li r29, 0 +/* 803450BC 0034201C 48 00 00 A8 */ b lbl_80345164 +lbl_803450C0: +/* 803450C0 00342020 7F 84 E3 78 */ mr r4, r28 +/* 803450C4 00342024 7F E5 FB 78 */ mr r5, r31 +/* 803450C8 00342028 38 61 00 14 */ addi r3, r1, 0x14 +/* 803450CC 0034202C 4B FF 21 11 */ bl ClosestPointAlongVector__6CAABoxCFRC9CVector3f +/* 803450D0 00342030 C0 3F 00 04 */ lfs f1, 4(r31) +/* 803450D4 00342034 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 803450D8 00342038 C0 5F 00 00 */ lfs f2, 0(r31) +/* 803450DC 0034203C EC 01 00 32 */ fmuls f0, f1, f0 +/* 803450E0 00342040 C0 21 00 14 */ lfs f1, 0x14(r1) +/* 803450E4 00342044 C0 9F 00 08 */ lfs f4, 8(r31) +/* 803450E8 00342048 C0 61 00 1C */ lfs f3, 0x1c(r1) +/* 803450EC 0034204C EC 22 00 7A */ fmadds f1, f2, f1, f0 +/* 803450F0 00342050 C0 1F 00 0C */ lfs f0, 0xc(r31) +/* 803450F4 00342054 EC 24 08 FA */ fmadds f1, f4, f3, f1 +/* 803450F8 00342058 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 803450FC 0034205C 4C 41 13 82 */ cror 2, 1, 2 +/* 80345100 00342060 40 82 00 0C */ bne lbl_8034510C +/* 80345104 00342064 38 60 00 00 */ li r3, 0 +/* 80345108 00342068 48 00 00 6C */ b lbl_80345174 +lbl_8034510C: +/* 8034510C 0034206C 2C 1E 00 01 */ cmpwi r30, 1 +/* 80345110 00342070 40 82 00 4C */ bne lbl_8034515C +/* 80345114 00342074 7F 84 E3 78 */ mr r4, r28 +/* 80345118 00342078 7F E5 FB 78 */ mr r5, r31 +/* 8034511C 0034207C 38 61 00 08 */ addi r3, r1, 8 +/* 80345120 00342080 4B FF 20 FD */ bl FurthestPointAlongVector__6CAABoxCFRC9CVector3f +/* 80345124 00342084 C0 3F 00 04 */ lfs f1, 4(r31) +/* 80345128 00342088 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 8034512C 0034208C C0 5F 00 00 */ lfs f2, 0(r31) +/* 80345130 00342090 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80345134 00342094 C0 21 00 08 */ lfs f1, 8(r1) +/* 80345138 00342098 C0 9F 00 08 */ lfs f4, 8(r31) +/* 8034513C 0034209C C0 61 00 10 */ lfs f3, 0x10(r1) +/* 80345140 003420A0 EC 22 00 7A */ fmadds f1, f2, f1, f0 +/* 80345144 003420A4 C0 1F 00 0C */ lfs f0, 0xc(r31) +/* 80345148 003420A8 EC 24 08 FA */ fmadds f1, f4, f3, f1 +/* 8034514C 003420AC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80345150 003420B0 4C 41 13 82 */ cror 2, 1, 2 +/* 80345154 003420B4 40 82 00 08 */ bne lbl_8034515C +/* 80345158 003420B8 3B C0 00 02 */ li r30, 2 +lbl_8034515C: +/* 8034515C 003420BC 3B FF 00 10 */ addi r31, r31, 0x10 +/* 80345160 003420C0 3B BD 00 01 */ addi r29, r29, 1 +lbl_80345164: +/* 80345164 003420C4 80 1B 00 00 */ lwz r0, 0(r27) +/* 80345168 003420C8 7C 1D 00 00 */ cmpw r29, r0 +/* 8034516C 003420CC 41 80 FF 54 */ blt lbl_803450C0 +/* 80345170 003420D0 7F C3 F3 78 */ mr r3, r30 +lbl_80345174: +/* 80345174 003420D4 BB 61 00 2C */ lmw r27, 0x2c(r1) +/* 80345178 003420D8 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8034517C 003420DC 7C 08 03 A6 */ mtlr r0 +/* 80345180 003420E0 38 21 00 40 */ addi r1, r1, 0x40 +/* 80345184 003420E4 4E 80 00 20 */ blr + +.global "BoxInFrustumPlanes__14CFrustumPlanesCFRCQ24rstl24optional_object<6CAABox>" +"BoxInFrustumPlanes__14CFrustumPlanesCFRCQ24rstl24optional_object<6CAABox>": +/* 80345188 003420E8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8034518C 003420EC 7C 08 02 A6 */ mflr r0 +/* 80345190 003420F0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80345194 003420F4 80 03 00 00 */ lwz r0, 0(r3) +/* 80345198 003420F8 2C 00 00 00 */ cmpwi r0, 0 +/* 8034519C 003420FC 40 82 00 0C */ bne lbl_803451A8 +/* 803451A0 00342100 38 60 00 01 */ li r3, 1 +/* 803451A4 00342104 48 00 00 1C */ b lbl_803451C0 +lbl_803451A8: +/* 803451A8 00342108 88 04 00 18 */ lbz r0, 0x18(r4) +/* 803451AC 0034210C 28 00 00 00 */ cmplwi r0, 0 +/* 803451B0 00342110 41 82 00 0C */ beq lbl_803451BC +/* 803451B4 00342114 48 00 00 1D */ bl BoxInFrustumPlanes__14CFrustumPlanesCFRC6CAABox +/* 803451B8 00342118 48 00 00 08 */ b lbl_803451C0 +lbl_803451BC: +/* 803451BC 0034211C 38 60 00 00 */ li r3, 0 +lbl_803451C0: +/* 803451C0 00342120 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803451C4 00342124 7C 08 03 A6 */ mtlr r0 +/* 803451C8 00342128 38 21 00 10 */ addi r1, r1, 0x10 +/* 803451CC 0034212C 4E 80 00 20 */ blr + +.global BoxInFrustumPlanes__14CFrustumPlanesCFRC6CAABox +BoxInFrustumPlanes__14CFrustumPlanesCFRC6CAABox: +/* 803451D0 00342130 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803451D4 00342134 7C 08 02 A6 */ mflr r0 +/* 803451D8 00342138 90 01 00 24 */ stw r0, 0x24(r1) +/* 803451DC 0034213C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 803451E0 00342140 93 C1 00 18 */ stw r30, 0x18(r1) +/* 803451E4 00342144 3B C0 00 00 */ li r30, 0 +/* 803451E8 00342148 93 A1 00 14 */ stw r29, 0x14(r1) +/* 803451EC 0034214C 7C 9D 23 78 */ mr r29, r4 +/* 803451F0 00342150 93 81 00 10 */ stw r28, 0x10(r1) +/* 803451F4 00342154 7C 7C 1B 78 */ mr r28, r3 +/* 803451F8 00342158 3B FC 00 04 */ addi r31, r28, 4 +/* 803451FC 0034215C 48 00 00 28 */ b lbl_80345224 +lbl_80345200: +/* 80345200 00342160 7F A3 EB 78 */ mr r3, r29 +/* 80345204 00342164 7F E4 FB 78 */ mr r4, r31 +/* 80345208 00342168 4B FF 28 1D */ bl InsidePlane__6CAABoxCFRC6CPlane +/* 8034520C 0034216C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80345210 00342170 40 82 00 0C */ bne lbl_8034521C +/* 80345214 00342174 38 60 00 00 */ li r3, 0 +/* 80345218 00342178 48 00 00 1C */ b lbl_80345234 +lbl_8034521C: +/* 8034521C 0034217C 3B FF 00 10 */ addi r31, r31, 0x10 +/* 80345220 00342180 3B DE 00 01 */ addi r30, r30, 1 +lbl_80345224: +/* 80345224 00342184 80 1C 00 00 */ lwz r0, 0(r28) +/* 80345228 00342188 7C 1E 00 00 */ cmpw r30, r0 +/* 8034522C 0034218C 41 80 FF D4 */ blt lbl_80345200 +/* 80345230 00342190 38 60 00 01 */ li r3, 1 +lbl_80345234: +/* 80345234 00342194 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80345238 00342198 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8034523C 0034219C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80345240 003421A0 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80345244 003421A4 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80345248 003421A8 7C 08 03 A6 */ mtlr r0 +/* 8034524C 003421AC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80345250 003421B0 4E 80 00 20 */ blr + +.global __ct__14CFrustumPlanesFRC12CTransform4ffffbf +__ct__14CFrustumPlanesFRC12CTransform4ffffbf: +/* 80345254 003421B4 94 21 FE 80 */ stwu r1, -0x180(r1) +/* 80345258 003421B8 7C 08 02 A6 */ mflr r0 +/* 8034525C 003421BC 90 01 01 84 */ stw r0, 0x184(r1) +/* 80345260 003421C0 DB E1 01 70 */ stfd f31, 0x170(r1) +/* 80345264 003421C4 F3 E1 01 78 */ psq_st f31, 376(r1), 0, qr0 +/* 80345268 003421C8 DB C1 01 60 */ stfd f30, 0x160(r1) +/* 8034526C 003421CC F3 C1 01 68 */ psq_st f30, 360(r1), 0, qr0 +/* 80345270 003421D0 DB A1 01 50 */ stfd f29, 0x150(r1) +/* 80345274 003421D4 F3 A1 01 58 */ psq_st f29, 344(r1), 0, qr0 +/* 80345278 003421D8 DB 81 01 40 */ stfd f28, 0x140(r1) +/* 8034527C 003421DC F3 81 01 48 */ psq_st f28, 328(r1), 0, qr0 +/* 80345280 003421E0 DB 61 01 30 */ stfd f27, 0x130(r1) +/* 80345284 003421E4 F3 61 01 38 */ psq_st f27, 312(r1), 0, qr0 +/* 80345288 003421E8 DB 41 01 20 */ stfd f26, 0x120(r1) +/* 8034528C 003421EC F3 41 01 28 */ psq_st f26, 296(r1), 0, qr0 +/* 80345290 003421F0 DB 21 01 10 */ stfd f25, 0x110(r1) +/* 80345294 003421F4 F3 21 01 18 */ psq_st f25, 280(r1), 0, qr0 +/* 80345298 003421F8 BF 61 00 FC */ stmw r27, 0xfc(r1) +/* 8034529C 003421FC C0 02 CB B4 */ lfs f0, lbl_805AE8D4@sda21(r2) +/* 803452A0 00342200 7C 7C 1B 78 */ mr r28, r3 +/* 803452A4 00342204 38 00 00 00 */ li r0, 0 +/* 803452A8 00342208 FF 40 10 90 */ fmr f26, f2 +/* 803452AC 0034220C EF 21 00 32 */ fmuls f25, f1, f0 +/* 803452B0 00342210 90 03 00 00 */ stw r0, 0(r3) +/* 803452B4 00342214 FF C0 18 90 */ fmr f30, f3 +/* 803452B8 00342218 7C 9B 23 78 */ mr r27, r4 +/* 803452BC 0034221C FF E0 20 90 */ fmr f31, f4 +/* 803452C0 00342220 FC 20 C8 90 */ fmr f1, f25 +/* 803452C4 00342224 7C BD 2B 78 */ mr r29, r5 +/* 803452C8 00342228 48 04 F1 29 */ bl cos +/* 803452CC 0034222C FF A0 08 90 */ fmr f29, f1 +/* 803452D0 00342230 FC 20 C8 90 */ fmr f1, f25 +/* 803452D4 00342234 48 04 F8 09 */ bl sin +/* 803452D8 00342238 FC 40 E8 18 */ frsp f2, f29 +/* 803452DC 0034223C FC 00 08 18 */ frsp f0, f1 +/* 803452E0 00342240 EF 39 06 B2 */ fmuls f25, f25, f26 +/* 803452E4 00342244 EC 5E 10 24 */ fdivs f2, f30, f2 +/* 803452E8 00342248 FC 20 C8 90 */ fmr f1, f25 +/* 803452EC 0034224C EF 42 00 32 */ fmuls f26, f2, f0 +/* 803452F0 00342250 48 04 F1 01 */ bl cos +/* 803452F4 00342254 FF A0 08 90 */ fmr f29, f1 +/* 803452F8 00342258 FC 20 C8 90 */ fmr f1, f25 +/* 803452FC 0034225C 48 04 F7 E1 */ bl sin +/* 80345300 00342260 FC 40 E8 18 */ frsp f2, f29 +/* 80345304 00342264 D3 C1 00 C0 */ stfs f30, 0xc0(r1) +/* 80345308 00342268 FC 60 D0 50 */ fneg f3, f26 +/* 8034530C 0034226C 7F 64 DB 78 */ mr r4, r27 +/* 80345310 00342270 FC 00 08 18 */ frsp f0, f1 +/* 80345314 00342274 D3 41 00 C4 */ stfs f26, 0xc4(r1) +/* 80345318 00342278 EC 3E 10 24 */ fdivs f1, f30, f2 +/* 8034531C 0034227C D3 C1 00 CC */ stfs f30, 0xcc(r1) +/* 80345320 00342280 38 61 00 80 */ addi r3, r1, 0x80 +/* 80345324 00342284 38 A1 00 BC */ addi r5, r1, 0xbc +/* 80345328 00342288 D0 61 00 D0 */ stfs f3, 0xd0(r1) +/* 8034532C 0034228C D3 C1 00 D8 */ stfs f30, 0xd8(r1) +/* 80345330 00342290 EC 21 00 32 */ fmuls f1, f1, f0 +/* 80345334 00342294 D0 61 00 DC */ stfs f3, 0xdc(r1) +/* 80345338 00342298 D3 C1 00 E4 */ stfs f30, 0xe4(r1) +/* 8034533C 0034229C FC 00 08 50 */ fneg f0, f1 +/* 80345340 003422A0 D0 21 00 BC */ stfs f1, 0xbc(r1) +/* 80345344 003422A4 D0 21 00 C8 */ stfs f1, 0xc8(r1) +/* 80345348 003422A8 D0 01 00 D4 */ stfs f0, 0xd4(r1) +/* 8034534C 003422AC D0 01 00 E0 */ stfs f0, 0xe0(r1) +/* 80345350 003422B0 D3 41 00 E8 */ stfs f26, 0xe8(r1) +/* 80345354 003422B4 4B FC D7 2D */ bl Rotate__12CTransform4fCFRC9CVector3f +/* 80345358 003422B8 C0 41 00 80 */ lfs f2, 0x80(r1) +/* 8034535C 003422BC 7F 64 DB 78 */ mr r4, r27 +/* 80345360 003422C0 C0 21 00 84 */ lfs f1, 0x84(r1) +/* 80345364 003422C4 38 61 00 74 */ addi r3, r1, 0x74 +/* 80345368 003422C8 C0 01 00 88 */ lfs f0, 0x88(r1) +/* 8034536C 003422CC 38 A1 00 C8 */ addi r5, r1, 0xc8 +/* 80345370 003422D0 D0 41 00 8C */ stfs f2, 0x8c(r1) +/* 80345374 003422D4 D0 21 00 90 */ stfs f1, 0x90(r1) +/* 80345378 003422D8 D0 01 00 94 */ stfs f0, 0x94(r1) +/* 8034537C 003422DC 4B FC D7 05 */ bl Rotate__12CTransform4fCFRC9CVector3f +/* 80345380 003422E0 C0 41 00 74 */ lfs f2, 0x74(r1) +/* 80345384 003422E4 7F 64 DB 78 */ mr r4, r27 +/* 80345388 003422E8 C0 21 00 78 */ lfs f1, 0x78(r1) +/* 8034538C 003422EC 38 61 00 68 */ addi r3, r1, 0x68 +/* 80345390 003422F0 C0 01 00 7C */ lfs f0, 0x7c(r1) +/* 80345394 003422F4 38 A1 00 D4 */ addi r5, r1, 0xd4 +/* 80345398 003422F8 D0 41 00 98 */ stfs f2, 0x98(r1) +/* 8034539C 003422FC D0 21 00 9C */ stfs f1, 0x9c(r1) +/* 803453A0 00342300 D0 01 00 A0 */ stfs f0, 0xa0(r1) +/* 803453A4 00342304 4B FC D6 DD */ bl Rotate__12CTransform4fCFRC9CVector3f +/* 803453A8 00342308 C0 41 00 68 */ lfs f2, 0x68(r1) +/* 803453AC 0034230C 7F 64 DB 78 */ mr r4, r27 +/* 803453B0 00342310 C0 21 00 6C */ lfs f1, 0x6c(r1) +/* 803453B4 00342314 38 61 00 5C */ addi r3, r1, 0x5c +/* 803453B8 00342318 C0 01 00 70 */ lfs f0, 0x70(r1) +/* 803453BC 0034231C 38 A1 00 E0 */ addi r5, r1, 0xe0 +/* 803453C0 00342320 D0 41 00 A4 */ stfs f2, 0xa4(r1) +/* 803453C4 00342324 D0 21 00 A8 */ stfs f1, 0xa8(r1) +/* 803453C8 00342328 D0 01 00 AC */ stfs f0, 0xac(r1) +/* 803453CC 0034232C 4B FC D6 B5 */ bl Rotate__12CTransform4fCFRC9CVector3f +/* 803453D0 00342330 C0 02 CB B0 */ lfs f0, lbl_805AE8D0@sda21(r2) +/* 803453D4 00342334 7F 64 DB 78 */ mr r4, r27 +/* 803453D8 00342338 C0 61 00 5C */ lfs f3, 0x5c(r1) +/* 803453DC 0034233C 38 61 00 50 */ addi r3, r1, 0x50 +/* 803453E0 00342340 C0 41 00 60 */ lfs f2, 0x60(r1) +/* 803453E4 00342344 38 A1 00 44 */ addi r5, r1, 0x44 +/* 803453E8 00342348 C0 21 00 64 */ lfs f1, 0x64(r1) +/* 803453EC 0034234C D0 61 00 B0 */ stfs f3, 0xb0(r1) +/* 803453F0 00342350 C3 7B 00 2C */ lfs f27, 0x2c(r27) +/* 803453F4 00342354 D0 41 00 B4 */ stfs f2, 0xb4(r1) +/* 803453F8 00342358 C3 9B 00 1C */ lfs f28, 0x1c(r27) +/* 803453FC 0034235C D0 21 00 B8 */ stfs f1, 0xb8(r1) +/* 80345400 00342360 C3 BB 00 0C */ lfs f29, 0xc(r27) +/* 80345404 00342364 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 80345408 00342368 D3 C1 00 48 */ stfs f30, 0x48(r1) +/* 8034540C 0034236C D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 80345410 00342370 4B FC D6 D9 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 80345414 00342374 3B C1 00 A4 */ addi r30, r1, 0xa4 +/* 80345418 00342378 3B E1 00 98 */ addi r31, r1, 0x98 +/* 8034541C 0034237C C3 C1 00 50 */ lfs f30, 0x50(r1) +/* 80345420 00342380 7F C5 F3 78 */ mr r5, r30 +/* 80345424 00342384 C3 41 00 54 */ lfs f26, 0x54(r1) +/* 80345428 00342388 7F E6 FB 78 */ mr r6, r31 +/* 8034542C 0034238C C3 21 00 58 */ lfs f25, 0x58(r1) +/* 80345430 00342390 38 61 00 38 */ addi r3, r1, 0x38 +/* 80345434 00342394 38 81 00 8C */ addi r4, r1, 0x8c +/* 80345438 00342398 48 00 02 79 */ bl sub_803456b0 +/* 8034543C 0034239C C0 21 00 3C */ lfs f1, 0x3c(r1) +/* 80345440 003423A0 80 1C 00 00 */ lwz r0, 0(r28) +/* 80345444 003423A4 EC 1A 00 72 */ fmuls f0, f26, f1 +/* 80345448 003423A8 C0 41 00 38 */ lfs f2, 0x38(r1) +/* 8034544C 003423AC 54 00 20 36 */ slwi r0, r0, 4 +/* 80345450 003423B0 C0 61 00 40 */ lfs f3, 0x40(r1) +/* 80345454 003423B4 7C 7C 02 14 */ add r3, r28, r0 +/* 80345458 003423B8 EC 1E 00 BA */ fmadds f0, f30, f2, f0 +/* 8034545C 003423BC 34 63 00 04 */ addic. r3, r3, 4 +/* 80345460 003423C0 EC 19 00 FA */ fmadds f0, f25, f3, f0 +/* 80345464 003423C4 41 82 00 14 */ beq lbl_80345478 +/* 80345468 003423C8 D0 43 00 00 */ stfs f2, 0(r3) +/* 8034546C 003423CC D0 23 00 04 */ stfs f1, 4(r3) +/* 80345470 003423D0 D0 63 00 08 */ stfs f3, 8(r3) +/* 80345474 003423D4 D0 03 00 0C */ stfs f0, 0xc(r3) +lbl_80345478: +/* 80345478 003423D8 80 DC 00 00 */ lwz r6, 0(r28) +/* 8034547C 003423DC 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80345480 003423E0 38 83 66 A0 */ addi r4, r3, skZero3f@l +/* 80345484 003423E4 7F E5 FB 78 */ mr r5, r31 +/* 80345488 003423E8 38 06 00 01 */ addi r0, r6, 1 +/* 8034548C 003423EC 38 61 00 2C */ addi r3, r1, 0x2c +/* 80345490 003423F0 90 1C 00 00 */ stw r0, 0(r28) +/* 80345494 003423F4 38 C1 00 8C */ addi r6, r1, 0x8c +/* 80345498 003423F8 48 00 02 19 */ bl sub_803456b0 +/* 8034549C 003423FC C0 21 00 30 */ lfs f1, 0x30(r1) +/* 803454A0 00342400 80 1C 00 00 */ lwz r0, 0(r28) +/* 803454A4 00342404 EC 1C 00 72 */ fmuls f0, f28, f1 +/* 803454A8 00342408 C0 41 00 2C */ lfs f2, 0x2c(r1) +/* 803454AC 0034240C 54 00 20 36 */ slwi r0, r0, 4 +/* 803454B0 00342410 C0 61 00 34 */ lfs f3, 0x34(r1) +/* 803454B4 00342414 7C 7C 02 14 */ add r3, r28, r0 +/* 803454B8 00342418 EC 1D 00 BA */ fmadds f0, f29, f2, f0 +/* 803454BC 0034241C 34 63 00 04 */ addic. r3, r3, 4 +/* 803454C0 00342420 EC 1B 00 FA */ fmadds f0, f27, f3, f0 +/* 803454C4 00342424 41 82 00 14 */ beq lbl_803454D8 +/* 803454C8 00342428 D0 43 00 00 */ stfs f2, 0(r3) +/* 803454CC 0034242C D0 23 00 04 */ stfs f1, 4(r3) +/* 803454D0 00342430 D0 63 00 08 */ stfs f3, 8(r3) +/* 803454D4 00342434 D0 03 00 0C */ stfs f0, 0xc(r3) +lbl_803454D8: +/* 803454D8 00342438 80 BC 00 00 */ lwz r5, 0(r28) +/* 803454DC 0034243C 3C 60 80 5A */ lis r3, skZero3f@ha +/* 803454E0 00342440 38 83 66 A0 */ addi r4, r3, skZero3f@l +/* 803454E4 00342444 3B 61 00 B0 */ addi r27, r1, 0xb0 +/* 803454E8 00342448 38 05 00 01 */ addi r0, r5, 1 +/* 803454EC 0034244C 7F C6 F3 78 */ mr r6, r30 +/* 803454F0 00342450 90 1C 00 00 */ stw r0, 0(r28) +/* 803454F4 00342454 7F 65 DB 78 */ mr r5, r27 +/* 803454F8 00342458 38 61 00 20 */ addi r3, r1, 0x20 +/* 803454FC 0034245C 48 00 01 B5 */ bl sub_803456b0 +/* 80345500 00342460 C0 21 00 24 */ lfs f1, 0x24(r1) +/* 80345504 00342464 80 1C 00 00 */ lwz r0, 0(r28) +/* 80345508 00342468 EC 1C 00 72 */ fmuls f0, f28, f1 +/* 8034550C 0034246C C0 41 00 20 */ lfs f2, 0x20(r1) +/* 80345510 00342470 54 00 20 36 */ slwi r0, r0, 4 +/* 80345514 00342474 C0 61 00 28 */ lfs f3, 0x28(r1) +/* 80345518 00342478 7C 7C 02 14 */ add r3, r28, r0 +/* 8034551C 0034247C EC 1D 00 BA */ fmadds f0, f29, f2, f0 +/* 80345520 00342480 34 63 00 04 */ addic. r3, r3, 4 +/* 80345524 00342484 EC 1B 00 FA */ fmadds f0, f27, f3, f0 +/* 80345528 00342488 41 82 00 14 */ beq lbl_8034553C +/* 8034552C 0034248C D0 43 00 00 */ stfs f2, 0(r3) +/* 80345530 00342490 D0 23 00 04 */ stfs f1, 4(r3) +/* 80345534 00342494 D0 63 00 08 */ stfs f3, 8(r3) +/* 80345538 00342498 D0 03 00 0C */ stfs f0, 0xc(r3) +lbl_8034553C: +/* 8034553C 0034249C 80 BC 00 00 */ lwz r5, 0(r28) +/* 80345540 003424A0 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80345544 003424A4 38 83 66 A0 */ addi r4, r3, skZero3f@l +/* 80345548 003424A8 7F 66 DB 78 */ mr r6, r27 +/* 8034554C 003424AC 38 05 00 01 */ addi r0, r5, 1 +/* 80345550 003424B0 38 61 00 14 */ addi r3, r1, 0x14 +/* 80345554 003424B4 90 1C 00 00 */ stw r0, 0(r28) +/* 80345558 003424B8 38 A1 00 8C */ addi r5, r1, 0x8c +/* 8034555C 003424BC 48 00 01 55 */ bl sub_803456b0 +/* 80345560 003424C0 C0 21 00 18 */ lfs f1, 0x18(r1) +/* 80345564 003424C4 80 1C 00 00 */ lwz r0, 0(r28) +/* 80345568 003424C8 EC 1C 00 72 */ fmuls f0, f28, f1 +/* 8034556C 003424CC C0 41 00 14 */ lfs f2, 0x14(r1) +/* 80345570 003424D0 54 00 20 36 */ slwi r0, r0, 4 +/* 80345574 003424D4 C0 61 00 1C */ lfs f3, 0x1c(r1) +/* 80345578 003424D8 7C 7C 02 14 */ add r3, r28, r0 +/* 8034557C 003424DC EC 1D 00 BA */ fmadds f0, f29, f2, f0 +/* 80345580 003424E0 34 63 00 04 */ addic. r3, r3, 4 +/* 80345584 003424E4 EC 1B 00 FA */ fmadds f0, f27, f3, f0 +/* 80345588 003424E8 41 82 00 14 */ beq lbl_8034559C +/* 8034558C 003424EC D0 43 00 00 */ stfs f2, 0(r3) +/* 80345590 003424F0 D0 23 00 04 */ stfs f1, 4(r3) +/* 80345594 003424F4 D0 63 00 08 */ stfs f3, 8(r3) +/* 80345598 003424F8 D0 03 00 0C */ stfs f0, 0xc(r3) +lbl_8034559C: +/* 8034559C 003424FC 80 DC 00 00 */ lwz r6, 0(r28) +/* 803455A0 00342500 3C 60 80 5A */ lis r3, skZero3f@ha +/* 803455A4 00342504 38 83 66 A0 */ addi r4, r3, skZero3f@l +/* 803455A8 00342508 7F C5 F3 78 */ mr r5, r30 +/* 803455AC 0034250C 38 06 00 01 */ addi r0, r6, 1 +/* 803455B0 00342510 7F E6 FB 78 */ mr r6, r31 +/* 803455B4 00342514 90 1C 00 00 */ stw r0, 0(r28) +/* 803455B8 00342518 38 61 00 08 */ addi r3, r1, 8 +/* 803455BC 0034251C 48 00 00 F5 */ bl sub_803456b0 +/* 803455C0 00342520 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 803455C4 00342524 80 1C 00 00 */ lwz r0, 0(r28) +/* 803455C8 00342528 EC 1C 00 72 */ fmuls f0, f28, f1 +/* 803455CC 0034252C C0 41 00 08 */ lfs f2, 8(r1) +/* 803455D0 00342530 54 00 20 36 */ slwi r0, r0, 4 +/* 803455D4 00342534 C0 61 00 10 */ lfs f3, 0x10(r1) +/* 803455D8 00342538 7C 7C 02 14 */ add r3, r28, r0 +/* 803455DC 0034253C EC 1D 00 BA */ fmadds f0, f29, f2, f0 +/* 803455E0 00342540 34 63 00 04 */ addic. r3, r3, 4 +/* 803455E4 00342544 EC 1B 00 FA */ fmadds f0, f27, f3, f0 +/* 803455E8 00342548 41 82 00 14 */ beq lbl_803455FC +/* 803455EC 0034254C D0 43 00 00 */ stfs f2, 0(r3) +/* 803455F0 00342550 D0 23 00 04 */ stfs f1, 4(r3) +/* 803455F4 00342554 D0 63 00 08 */ stfs f3, 8(r3) +/* 803455F8 00342558 D0 03 00 0C */ stfs f0, 0xc(r3) +lbl_803455FC: +/* 803455FC 0034255C 80 7C 00 00 */ lwz r3, 0(r28) +/* 80345600 00342560 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 80345604 00342564 38 03 00 01 */ addi r0, r3, 1 +/* 80345608 00342568 90 1C 00 00 */ stw r0, 0(r28) +/* 8034560C 0034256C 41 82 00 54 */ beq lbl_80345660 +/* 80345610 00342570 38 7C 00 04 */ addi r3, r28, 4 +/* 80345614 00342574 80 1C 00 00 */ lwz r0, 0(r28) +/* 80345618 00342578 C0 1C 00 04 */ lfs f0, 4(r28) +/* 8034561C 0034257C C0 5C 00 08 */ lfs f2, 8(r28) +/* 80345620 00342580 54 00 20 36 */ slwi r0, r0, 4 +/* 80345624 00342584 C0 3C 00 0C */ lfs f1, 0xc(r28) +/* 80345628 00342588 FC 60 00 50 */ fneg f3, f0 +/* 8034562C 0034258C C0 1C 00 10 */ lfs f0, 0x10(r28) +/* 80345630 00342590 FC 40 10 50 */ fneg f2, f2 +/* 80345634 00342594 FC 20 08 50 */ fneg f1, f1 +/* 80345638 00342598 7C 63 02 15 */ add. r3, r3, r0 +/* 8034563C 0034259C EC 1F 00 28 */ fsubs f0, f31, f0 +/* 80345640 003425A0 41 82 00 14 */ beq lbl_80345654 +/* 80345644 003425A4 D0 63 00 00 */ stfs f3, 0(r3) +/* 80345648 003425A8 D0 43 00 04 */ stfs f2, 4(r3) +/* 8034564C 003425AC D0 23 00 08 */ stfs f1, 8(r3) +/* 80345650 003425B0 D0 03 00 0C */ stfs f0, 0xc(r3) +lbl_80345654: +/* 80345654 003425B4 80 7C 00 00 */ lwz r3, 0(r28) +/* 80345658 003425B8 38 03 00 01 */ addi r0, r3, 1 +/* 8034565C 003425BC 90 1C 00 00 */ stw r0, 0(r28) +lbl_80345660: +/* 80345660 003425C0 7F 83 E3 78 */ mr r3, r28 +/* 80345664 003425C4 E3 E1 01 78 */ psq_l f31, 376(r1), 0, qr0 +/* 80345668 003425C8 CB E1 01 70 */ lfd f31, 0x170(r1) +/* 8034566C 003425CC E3 C1 01 68 */ psq_l f30, 360(r1), 0, qr0 +/* 80345670 003425D0 CB C1 01 60 */ lfd f30, 0x160(r1) +/* 80345674 003425D4 E3 A1 01 58 */ psq_l f29, 344(r1), 0, qr0 +/* 80345678 003425D8 CB A1 01 50 */ lfd f29, 0x150(r1) +/* 8034567C 003425DC E3 81 01 48 */ psq_l f28, 328(r1), 0, qr0 +/* 80345680 003425E0 CB 81 01 40 */ lfd f28, 0x140(r1) +/* 80345684 003425E4 E3 61 01 38 */ psq_l f27, 312(r1), 0, qr0 +/* 80345688 003425E8 CB 61 01 30 */ lfd f27, 0x130(r1) +/* 8034568C 003425EC E3 41 01 28 */ psq_l f26, 296(r1), 0, qr0 +/* 80345690 003425F0 CB 41 01 20 */ lfd f26, 0x120(r1) +/* 80345694 003425F4 E3 21 01 18 */ psq_l f25, 280(r1), 0, qr0 +/* 80345698 003425F8 CB 21 01 10 */ lfd f25, 0x110(r1) +/* 8034569C 003425FC BB 61 00 FC */ lmw r27, 0xfc(r1) +/* 803456A0 00342600 80 01 01 84 */ lwz r0, 0x184(r1) +/* 803456A4 00342604 7C 08 03 A6 */ mtlr r0 +/* 803456A8 00342608 38 21 01 80 */ addi r1, r1, 0x180 +/* 803456AC 0034260C 4E 80 00 20 */ blr + +.global sub_803456b0 +sub_803456b0: +/* 803456B0 00342610 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 803456B4 00342614 7C 08 02 A6 */ mflr r0 +/* 803456B8 00342618 90 01 00 34 */ stw r0, 0x34(r1) +/* 803456BC 0034261C C0 26 00 00 */ lfs f1, 0(r6) +/* 803456C0 00342620 C0 44 00 00 */ lfs f2, 0(r4) +/* 803456C4 00342624 C0 05 00 00 */ lfs f0, 0(r5) +/* 803456C8 00342628 ED 01 10 28 */ fsubs f8, f1, f2 +/* 803456CC 0034262C C0 26 00 04 */ lfs f1, 4(r6) +/* 803456D0 00342630 EC 60 10 28 */ fsubs f3, f0, f2 +/* 803456D4 00342634 C0 84 00 04 */ lfs f4, 4(r4) +/* 803456D8 00342638 C0 44 00 08 */ lfs f2, 8(r4) +/* 803456DC 0034263C 38 81 00 20 */ addi r4, r1, 0x20 +/* 803456E0 00342640 EC E1 20 28 */ fsubs f7, f1, f4 +/* 803456E4 00342644 C0 06 00 08 */ lfs f0, 8(r6) +/* 803456E8 00342648 C0 25 00 04 */ lfs f1, 4(r5) +/* 803456EC 0034264C EC C0 10 28 */ fsubs f6, f0, f2 +/* 803456F0 00342650 C0 05 00 08 */ lfs f0, 8(r5) +/* 803456F4 00342654 EC A1 20 28 */ fsubs f5, f1, f4 +/* 803456F8 00342658 EC 80 10 28 */ fsubs f4, f0, f2 +/* 803456FC 0034265C D1 01 00 08 */ stfs f8, 8(r1) +/* 80345700 00342660 EC 26 00 F2 */ fmuls f1, f6, f3 +/* 80345704 00342664 EC 08 01 72 */ fmuls f0, f8, f5 +/* 80345708 00342668 D0 E1 00 0C */ stfs f7, 0xc(r1) +/* 8034570C 0034266C EC 47 01 32 */ fmuls f2, f7, f4 +/* 80345710 00342670 EC 24 0A 38 */ fmsubs f1, f4, f8, f1 +/* 80345714 00342674 D0 C1 00 10 */ stfs f6, 0x10(r1) +/* 80345718 00342678 EC 03 01 F8 */ fmsubs f0, f3, f7, f0 +/* 8034571C 0034267C EC 45 11 B8 */ fmsubs f2, f5, f6, f2 +/* 80345720 00342680 D0 61 00 14 */ stfs f3, 0x14(r1) +/* 80345724 00342684 D0 A1 00 18 */ stfs f5, 0x18(r1) +/* 80345728 00342688 D0 81 00 1C */ stfs f4, 0x1c(r1) +/* 8034572C 0034268C D0 41 00 20 */ stfs f2, 0x20(r1) +/* 80345730 00342690 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 80345734 00342694 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 80345738 00342698 4B FC E6 99 */ bl __ct__13CUnitVector3fFRC9CVector3f +/* 8034573C 0034269C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80345740 003426A0 7C 08 03 A6 */ mtlr r0 +/* 80345744 003426A4 38 21 00 30 */ addi r1, r1, 0x30 +/* 80345748 003426A8 4E 80 00 20 */ blr diff --git a/asm/Kyoto/Math/CMatrix3f.s b/asm/Kyoto/Math/CMatrix3f.s new file mode 100644 index 00000000..1bc1cc89 --- /dev/null +++ b/asm/Kyoto/Math/CMatrix3f.s @@ -0,0 +1,500 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __as__9CMatrix3fFRC9CMatrix3f +__as__9CMatrix3fFRC9CMatrix3f: +/* 8030FFF8 0030CF58 C8 04 00 00 */ lfd f0, 0(r4) +/* 8030FFFC 0030CF5C C8 24 00 08 */ lfd f1, 8(r4) +/* 80310000 0030CF60 C8 44 00 10 */ lfd f2, 0x10(r4) +/* 80310004 0030CF64 D8 03 00 00 */ stfd f0, 0(r3) +/* 80310008 0030CF68 D8 23 00 08 */ stfd f1, 8(r3) +/* 8031000C 0030CF6C D8 43 00 10 */ stfd f2, 0x10(r3) +/* 80310010 0030CF70 C8 04 00 18 */ lfd f0, 0x18(r4) +/* 80310014 0030CF74 C0 24 00 20 */ lfs f1, 0x20(r4) +/* 80310018 0030CF78 D8 03 00 18 */ stfd f0, 0x18(r3) +/* 8031001C 0030CF7C D0 23 00 20 */ stfs f1, 0x20(r3) +/* 80310020 0030CF80 4E 80 00 20 */ blr + +.global __ct__9CMatrix3fFRC9CMatrix3f +__ct__9CMatrix3fFRC9CMatrix3f: +/* 80310024 0030CF84 C8 04 00 00 */ lfd f0, 0(r4) +/* 80310028 0030CF88 C8 24 00 08 */ lfd f1, 8(r4) +/* 8031002C 0030CF8C C8 44 00 10 */ lfd f2, 0x10(r4) +/* 80310030 0030CF90 D8 03 00 00 */ stfd f0, 0(r3) +/* 80310034 0030CF94 D8 23 00 08 */ stfd f1, 8(r3) +/* 80310038 0030CF98 D8 43 00 10 */ stfd f2, 0x10(r3) +/* 8031003C 0030CF9C C8 04 00 18 */ lfd f0, 0x18(r4) +/* 80310040 0030CFA0 C0 24 00 20 */ lfs f1, 0x20(r4) +/* 80310044 0030CFA4 D8 03 00 18 */ stfd f0, 0x18(r3) +/* 80310048 0030CFA8 D0 23 00 20 */ stfs f1, 0x20(r3) +/* 8031004C 0030CFAC 4E 80 00 20 */ blr + +.global AddScaledMatrix__9CMatrix3fFRC9CMatrix3ff +AddScaledMatrix__9CMatrix3fFRC9CMatrix3ff: +/* 80310050 0030CFB0 C0 44 00 00 */ lfs f2, 0(r4) +/* 80310054 0030CFB4 C0 03 00 00 */ lfs f0, 0(r3) +/* 80310058 0030CFB8 EC 02 00 7A */ fmadds f0, f2, f1, f0 +/* 8031005C 0030CFBC D0 03 00 00 */ stfs f0, 0(r3) +/* 80310060 0030CFC0 C0 44 00 04 */ lfs f2, 4(r4) +/* 80310064 0030CFC4 C0 03 00 04 */ lfs f0, 4(r3) +/* 80310068 0030CFC8 EC 02 00 7A */ fmadds f0, f2, f1, f0 +/* 8031006C 0030CFCC D0 03 00 04 */ stfs f0, 4(r3) +/* 80310070 0030CFD0 C0 44 00 08 */ lfs f2, 8(r4) +/* 80310074 0030CFD4 C0 03 00 08 */ lfs f0, 8(r3) +/* 80310078 0030CFD8 EC 02 00 7A */ fmadds f0, f2, f1, f0 +/* 8031007C 0030CFDC D0 03 00 08 */ stfs f0, 8(r3) +/* 80310080 0030CFE0 C0 44 00 0C */ lfs f2, 0xc(r4) +/* 80310084 0030CFE4 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 80310088 0030CFE8 EC 02 00 7A */ fmadds f0, f2, f1, f0 +/* 8031008C 0030CFEC D0 03 00 0C */ stfs f0, 0xc(r3) +/* 80310090 0030CFF0 C0 44 00 10 */ lfs f2, 0x10(r4) +/* 80310094 0030CFF4 C0 03 00 10 */ lfs f0, 0x10(r3) +/* 80310098 0030CFF8 EC 02 00 7A */ fmadds f0, f2, f1, f0 +/* 8031009C 0030CFFC D0 03 00 10 */ stfs f0, 0x10(r3) +/* 803100A0 0030D000 C0 44 00 14 */ lfs f2, 0x14(r4) +/* 803100A4 0030D004 C0 03 00 14 */ lfs f0, 0x14(r3) +/* 803100A8 0030D008 EC 02 00 7A */ fmadds f0, f2, f1, f0 +/* 803100AC 0030D00C D0 03 00 14 */ stfs f0, 0x14(r3) +/* 803100B0 0030D010 C0 44 00 18 */ lfs f2, 0x18(r4) +/* 803100B4 0030D014 C0 03 00 18 */ lfs f0, 0x18(r3) +/* 803100B8 0030D018 EC 02 00 7A */ fmadds f0, f2, f1, f0 +/* 803100BC 0030D01C D0 03 00 18 */ stfs f0, 0x18(r3) +/* 803100C0 0030D020 C0 44 00 1C */ lfs f2, 0x1c(r4) +/* 803100C4 0030D024 C0 03 00 1C */ lfs f0, 0x1c(r3) +/* 803100C8 0030D028 EC 02 00 7A */ fmadds f0, f2, f1, f0 +/* 803100CC 0030D02C D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 803100D0 0030D030 C0 44 00 20 */ lfs f2, 0x20(r4) +/* 803100D4 0030D034 C0 03 00 20 */ lfs f0, 0x20(r3) +/* 803100D8 0030D038 EC 02 00 7A */ fmadds f0, f2, f1, f0 +/* 803100DC 0030D03C D0 03 00 20 */ stfs f0, 0x20(r3) +/* 803100E0 0030D040 4E 80 00 20 */ blr + +.global Determinant__9CMatrix3fCFv +Determinant__9CMatrix3fCFv: +/* 803100E4 0030D044 C1 23 00 0C */ lfs f9, 0xc(r3) +/* 803100E8 0030D048 C0 C3 00 20 */ lfs f6, 0x20(r3) +/* 803100EC 0030D04C C0 83 00 18 */ lfs f4, 0x18(r3) +/* 803100F0 0030D050 EC 09 01 B2 */ fmuls f0, f9, f6 +/* 803100F4 0030D054 C0 63 00 14 */ lfs f3, 0x14(r3) +/* 803100F8 0030D058 C1 03 00 1C */ lfs f8, 0x1c(r3) +/* 803100FC 0030D05C C0 E3 00 10 */ lfs f7, 0x10(r3) +/* 80310100 0030D060 EC 43 02 32 */ fmuls f2, f3, f8 +/* 80310104 0030D064 C0 23 00 04 */ lfs f1, 4(r3) +/* 80310108 0030D068 EC 03 01 38 */ fmsubs f0, f3, f4, f0 +/* 8031010C 0030D06C C0 63 00 00 */ lfs f3, 0(r3) +/* 80310110 0030D070 EC 87 01 32 */ fmuls f4, f7, f4 +/* 80310114 0030D074 C0 A3 00 08 */ lfs f5, 8(r3) +/* 80310118 0030D078 EC 47 11 B8 */ fmsubs f2, f7, f6, f2 +/* 8031011C 0030D07C EC 01 00 32 */ fmuls f0, f1, f0 +/* 80310120 0030D080 EC 29 22 38 */ fmsubs f1, f9, f8, f4 +/* 80310124 0030D084 EC 03 00 BA */ fmadds f0, f3, f2, f0 +/* 80310128 0030D088 EC 25 00 7A */ fmadds f1, f5, f1, f0 +/* 8031012C 0030D08C 4E 80 00 20 */ blr + +.global __ml__9CMatrix3fCFRC9CMatrix3f +__ml__9CMatrix3fCFRC9CMatrix3f: +/* 80310130 0030D090 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 80310134 0030D094 DB E1 00 80 */ stfd f31, 0x80(r1) +/* 80310138 0030D098 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 +/* 8031013C 0030D09C DB C1 00 70 */ stfd f30, 0x70(r1) +/* 80310140 0030D0A0 F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 +/* 80310144 0030D0A4 DB A1 00 60 */ stfd f29, 0x60(r1) +/* 80310148 0030D0A8 F3 A1 00 68 */ psq_st f29, 104(r1), 0, qr0 +/* 8031014C 0030D0AC DB 81 00 50 */ stfd f28, 0x50(r1) +/* 80310150 0030D0B0 F3 81 00 58 */ psq_st f28, 88(r1), 0, qr0 +/* 80310154 0030D0B4 DB 61 00 40 */ stfd f27, 0x40(r1) +/* 80310158 0030D0B8 F3 61 00 48 */ psq_st f27, 72(r1), 0, qr0 +/* 8031015C 0030D0BC DB 41 00 30 */ stfd f26, 0x30(r1) +/* 80310160 0030D0C0 F3 41 00 38 */ psq_st f26, 56(r1), 0, qr0 +/* 80310164 0030D0C4 DB 21 00 20 */ stfd f25, 0x20(r1) +/* 80310168 0030D0C8 F3 21 00 28 */ psq_st f25, 40(r1), 0, qr0 +/* 8031016C 0030D0CC DB 01 00 10 */ stfd f24, 0x10(r1) +/* 80310170 0030D0D0 F3 01 00 18 */ psq_st f24, 24(r1), 0, qr0 +/* 80310174 0030D0D4 C3 05 00 0C */ lfs f24, 0xc(r5) +/* 80310178 0030D0D8 C0 C4 00 04 */ lfs f6, 4(r4) +/* 8031017C 0030D0DC C0 85 00 10 */ lfs f4, 0x10(r5) +/* 80310180 0030D0E0 EC 66 06 32 */ fmuls f3, f6, f24 +/* 80310184 0030D0E4 C0 25 00 00 */ lfs f1, 0(r5) +/* 80310188 0030D0E8 C3 44 00 00 */ lfs f26, 0(r4) +/* 8031018C 0030D0EC EC 06 01 32 */ fmuls f0, f6, f4 +/* 80310190 0030D0F0 C0 A5 00 14 */ lfs f5, 0x14(r5) +/* 80310194 0030D0F4 C1 04 00 10 */ lfs f8, 0x10(r4) +/* 80310198 0030D0F8 C0 45 00 04 */ lfs f2, 4(r5) +/* 8031019C 0030D0FC ED 7A 18 7A */ fmadds f11, f26, f1, f3 +/* 803101A0 0030D100 ED A6 01 72 */ fmuls f13, f6, f5 +/* 803101A4 0030D104 C0 65 00 08 */ lfs f3, 8(r5) +/* 803101A8 0030D108 C3 A4 00 1C */ lfs f29, 0x1c(r4) +/* 803101AC 0030D10C ED 9A 00 BA */ fmadds f12, f26, f2, f0 +/* 803101B0 0030D110 C0 C5 00 18 */ lfs f6, 0x18(r5) +/* 803101B4 0030D114 C3 24 00 08 */ lfs f25, 8(r4) +/* 803101B8 0030D118 C0 E5 00 1C */ lfs f7, 0x1c(r5) +/* 803101BC 0030D11C ED 48 06 32 */ fmuls f10, f8, f24 +/* 803101C0 0030D120 C3 64 00 0C */ lfs f27, 0xc(r4) +/* 803101C4 0030D124 ED 28 01 32 */ fmuls f9, f8, f4 +/* 803101C8 0030D128 EF C8 01 72 */ fmuls f30, f8, f5 +/* 803101CC 0030D12C C1 05 00 20 */ lfs f8, 0x20(r5) +/* 803101D0 0030D130 EF FA 68 FA */ fmadds f31, f26, f3, f13 +/* 803101D4 0030D134 ED B9 59 BA */ fmadds f13, f25, f6, f11 +/* 803101D8 0030D138 C0 04 00 20 */ lfs f0, 0x20(r4) +/* 803101DC 0030D13C C3 84 00 18 */ lfs f28, 0x18(r4) +/* 803101E0 0030D140 C3 44 00 14 */ lfs f26, 0x14(r4) +/* 803101E4 0030D144 ED 7B 50 7A */ fmadds f11, f27, f1, f10 +/* 803101E8 0030D148 ED 5B 48 BA */ fmadds f10, f27, f2, f9 +/* 803101EC 0030D14C ED 3D 06 32 */ fmuls f9, f29, f24 +/* 803101F0 0030D150 D1 A3 00 00 */ stfs f13, 0(r3) +/* 803101F4 0030D154 ED 99 61 FA */ fmadds f12, f25, f7, f12 +/* 803101F8 0030D158 ED BB F0 FA */ fmadds f13, f27, f3, f30 +/* 803101FC 0030D15C EC 9D 01 32 */ fmuls f4, f29, f4 +/* 80310200 0030D160 ED 3C 48 7A */ fmadds f9, f28, f1, f9 +/* 80310204 0030D164 D1 83 00 04 */ stfs f12, 4(r3) +/* 80310208 0030D168 ED 99 FA 3A */ fmadds f12, f25, f8, f31 +/* 8031020C 0030D16C EC BD 01 72 */ fmuls f5, f29, f5 +/* 80310210 0030D170 EC 3C 20 BA */ fmadds f1, f28, f2, f4 +/* 80310214 0030D174 EC 5A 59 BA */ fmadds f2, f26, f6, f11 +/* 80310218 0030D178 D1 83 00 08 */ stfs f12, 8(r3) +/* 8031021C 0030D17C EC 9C 28 FA */ fmadds f4, f28, f3, f5 +/* 80310220 0030D180 EC 7A 51 FA */ fmadds f3, f26, f7, f10 +/* 80310224 0030D184 D0 43 00 0C */ stfs f2, 0xc(r3) +/* 80310228 0030D188 EC BA 6A 3A */ fmadds f5, f26, f8, f13 +/* 8031022C 0030D18C EC 40 49 BA */ fmadds f2, f0, f6, f9 +/* 80310230 0030D190 D0 63 00 10 */ stfs f3, 0x10(r3) +/* 80310234 0030D194 EC 20 09 FA */ fmadds f1, f0, f7, f1 +/* 80310238 0030D198 EC 00 22 3A */ fmadds f0, f0, f8, f4 +/* 8031023C 0030D19C D0 A3 00 14 */ stfs f5, 0x14(r3) +/* 80310240 0030D1A0 D0 43 00 18 */ stfs f2, 0x18(r3) +/* 80310244 0030D1A4 D0 23 00 1C */ stfs f1, 0x1c(r3) +/* 80310248 0030D1A8 D0 03 00 20 */ stfs f0, 0x20(r3) +/* 8031024C 0030D1AC E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 +/* 80310250 0030D1B0 CB E1 00 80 */ lfd f31, 0x80(r1) +/* 80310254 0030D1B4 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 +/* 80310258 0030D1B8 CB C1 00 70 */ lfd f30, 0x70(r1) +/* 8031025C 0030D1BC E3 A1 00 68 */ psq_l f29, 104(r1), 0, qr0 +/* 80310260 0030D1C0 CB A1 00 60 */ lfd f29, 0x60(r1) +/* 80310264 0030D1C4 E3 81 00 58 */ psq_l f28, 88(r1), 0, qr0 +/* 80310268 0030D1C8 CB 81 00 50 */ lfd f28, 0x50(r1) +/* 8031026C 0030D1CC E3 61 00 48 */ psq_l f27, 72(r1), 0, qr0 +/* 80310270 0030D1D0 CB 61 00 40 */ lfd f27, 0x40(r1) +/* 80310274 0030D1D4 E3 41 00 38 */ psq_l f26, 56(r1), 0, qr0 +/* 80310278 0030D1D8 CB 41 00 30 */ lfd f26, 0x30(r1) +/* 8031027C 0030D1DC E3 21 00 28 */ psq_l f25, 40(r1), 0, qr0 +/* 80310280 0030D1E0 CB 21 00 20 */ lfd f25, 0x20(r1) +/* 80310284 0030D1E4 E3 01 00 18 */ psq_l f24, 24(r1), 0, qr0 +/* 80310288 0030D1E8 CB 01 00 10 */ lfd f24, 0x10(r1) +/* 8031028C 0030D1EC 38 21 00 90 */ addi r1, r1, 0x90 +/* 80310290 0030D1F0 4E 80 00 20 */ blr + +.global __ml__9CMatrix3fCFRC9CVector3f +__ml__9CMatrix3fCFRC9CVector3f: +/* 80310294 0030D1F4 C0 65 00 04 */ lfs f3, 4(r5) +/* 80310298 0030D1F8 C0 04 00 04 */ lfs f0, 4(r4) +/* 8031029C 0030D1FC C0 44 00 10 */ lfs f2, 0x10(r4) +/* 803102A0 0030D200 EC 03 00 32 */ fmuls f0, f3, f0 +/* 803102A4 0030D204 C0 E5 00 00 */ lfs f7, 0(r5) +/* 803102A8 0030D208 C0 24 00 00 */ lfs f1, 0(r4) +/* 803102AC 0030D20C EC 83 00 B2 */ fmuls f4, f3, f2 +/* 803102B0 0030D210 C0 44 00 1C */ lfs f2, 0x1c(r4) +/* 803102B4 0030D214 C0 A4 00 0C */ lfs f5, 0xc(r4) +/* 803102B8 0030D218 EC 07 00 7A */ fmadds f0, f7, f1, f0 +/* 803102BC 0030D21C C1 05 00 08 */ lfs f8, 8(r5) +/* 803102C0 0030D220 C0 24 00 08 */ lfs f1, 8(r4) +/* 803102C4 0030D224 EC 43 00 B2 */ fmuls f2, f3, f2 +/* 803102C8 0030D228 C0 64 00 18 */ lfs f3, 0x18(r4) +/* 803102CC 0030D22C EC A7 21 7A */ fmadds f5, f7, f5, f4 +/* 803102D0 0030D230 C0 C4 00 14 */ lfs f6, 0x14(r4) +/* 803102D4 0030D234 EC 08 00 7A */ fmadds f0, f8, f1, f0 +/* 803102D8 0030D238 C0 84 00 20 */ lfs f4, 0x20(r4) +/* 803102DC 0030D23C EC 27 10 FA */ fmadds f1, f7, f3, f2 +/* 803102E0 0030D240 EC 48 29 BA */ fmadds f2, f8, f6, f5 +/* 803102E4 0030D244 D0 03 00 00 */ stfs f0, 0(r3) +/* 803102E8 0030D248 EC 08 09 3A */ fmadds f0, f8, f4, f1 +/* 803102EC 0030D24C D0 43 00 04 */ stfs f2, 4(r3) +/* 803102F0 0030D250 D0 03 00 08 */ stfs f0, 8(r3) +/* 803102F4 0030D254 4E 80 00 20 */ blr + +.global Orthonormalized__9CMatrix3fCFv +Orthonormalized__9CMatrix3fCFv: +/* 803102F8 0030D258 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 803102FC 0030D25C 7C 08 02 A6 */ mflr r0 +/* 80310300 0030D260 90 01 00 44 */ stw r0, 0x44(r1) +/* 80310304 0030D264 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80310308 0030D268 7C 9F 23 78 */ mr r31, r4 +/* 8031030C 0030D26C 93 C1 00 38 */ stw r30, 0x38(r1) +/* 80310310 0030D270 7C 7E 1B 78 */ mr r30, r3 +/* 80310314 0030D274 38 61 00 20 */ addi r3, r1, 0x20 +/* 80310318 0030D278 C0 44 00 18 */ lfs f2, 0x18(r4) +/* 8031031C 0030D27C C0 24 00 0C */ lfs f1, 0xc(r4) +/* 80310320 0030D280 C0 04 00 00 */ lfs f0, 0(r4) +/* 80310324 0030D284 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 80310328 0030D288 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 8031032C 0030D28C D0 41 00 28 */ stfs f2, 0x28(r1) +/* 80310330 0030D290 48 00 45 C9 */ bl Normalize__9CVector3fFv +/* 80310334 0030D294 C0 5F 00 1C */ lfs f2, 0x1c(r31) +/* 80310338 0030D298 38 61 00 14 */ addi r3, r1, 0x14 +/* 8031033C 0030D29C C0 3F 00 10 */ lfs f1, 0x10(r31) +/* 80310340 0030D2A0 C0 1F 00 04 */ lfs f0, 4(r31) +/* 80310344 0030D2A4 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 80310348 0030D2A8 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 8031034C 0030D2AC D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 80310350 0030D2B0 48 00 45 A9 */ bl Normalize__9CVector3fFv +/* 80310354 0030D2B4 C0 61 00 24 */ lfs f3, 0x24(r1) +/* 80310358 0030D2B8 38 61 00 08 */ addi r3, r1, 8 +/* 8031035C 0030D2BC C0 E1 00 14 */ lfs f7, 0x14(r1) +/* 80310360 0030D2C0 C0 81 00 28 */ lfs f4, 0x28(r1) +/* 80310364 0030D2C4 C0 41 00 18 */ lfs f2, 0x18(r1) +/* 80310368 0030D2C8 EC 07 00 F2 */ fmuls f0, f7, f3 +/* 8031036C 0030D2CC C0 C1 00 20 */ lfs f6, 0x20(r1) +/* 80310370 0030D2D0 C0 A1 00 1C */ lfs f5, 0x1c(r1) +/* 80310374 0030D2D4 EC 22 01 32 */ fmuls f1, f2, f4 +/* 80310378 0030D2D8 EC 46 00 B8 */ fmsubs f2, f6, f2, f0 +/* 8031037C 0030D2DC EC 05 01 B2 */ fmuls f0, f5, f6 +/* 80310380 0030D2E0 EC 23 09 78 */ fmsubs f1, f3, f5, f1 +/* 80310384 0030D2E4 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 80310388 0030D2E8 EC 04 01 F8 */ fmsubs f0, f4, f7, f0 +/* 8031038C 0030D2EC D0 21 00 08 */ stfs f1, 8(r1) +/* 80310390 0030D2F0 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 80310394 0030D2F4 48 00 45 65 */ bl Normalize__9CVector3fFv +/* 80310398 0030D2F8 C0 61 00 0C */ lfs f3, 0xc(r1) +/* 8031039C 0030D2FC 38 61 00 14 */ addi r3, r1, 0x14 +/* 803103A0 0030D300 C0 E1 00 20 */ lfs f7, 0x20(r1) +/* 803103A4 0030D304 C0 81 00 10 */ lfs f4, 0x10(r1) +/* 803103A8 0030D308 C0 41 00 24 */ lfs f2, 0x24(r1) +/* 803103AC 0030D30C EC 07 00 F2 */ fmuls f0, f7, f3 +/* 803103B0 0030D310 C0 C1 00 08 */ lfs f6, 8(r1) +/* 803103B4 0030D314 C0 A1 00 28 */ lfs f5, 0x28(r1) +/* 803103B8 0030D318 EC 22 01 32 */ fmuls f1, f2, f4 +/* 803103BC 0030D31C EC 46 00 B8 */ fmsubs f2, f6, f2, f0 +/* 803103C0 0030D320 EC 05 01 B2 */ fmuls f0, f5, f6 +/* 803103C4 0030D324 EC 23 09 78 */ fmsubs f1, f3, f5, f1 +/* 803103C8 0030D328 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 803103CC 0030D32C EC 04 01 F8 */ fmsubs f0, f4, f7, f0 +/* 803103D0 0030D330 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 803103D4 0030D334 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 803103D8 0030D338 48 00 45 21 */ bl Normalize__9CVector3fFv +/* 803103DC 0030D33C 7F C3 F3 78 */ mr r3, r30 +/* 803103E0 0030D340 38 81 00 20 */ addi r4, r1, 0x20 +/* 803103E4 0030D344 38 A1 00 14 */ addi r5, r1, 0x14 +/* 803103E8 0030D348 38 C1 00 08 */ addi r6, r1, 8 +/* 803103EC 0030D34C 48 00 02 91 */ bl __ct__9CMatrix3fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 803103F0 0030D350 80 01 00 44 */ lwz r0, 0x44(r1) +/* 803103F4 0030D354 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 803103F8 0030D358 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 803103FC 0030D35C 7C 08 03 A6 */ mtlr r0 +/* 80310400 0030D360 38 21 00 40 */ addi r1, r1, 0x40 +/* 80310404 0030D364 4E 80 00 20 */ blr + +.global RotateZ__9CMatrix3fFRC9CRelAngle +RotateZ__9CMatrix3fFRC9CRelAngle: +/* 80310408 0030D368 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8031040C 0030D36C 7C 08 02 A6 */ mflr r0 +/* 80310410 0030D370 90 01 00 24 */ stw r0, 0x24(r1) +/* 80310414 0030D374 DB E1 00 10 */ stfd f31, 0x10(r1) +/* 80310418 0030D378 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 +/* 8031041C 0030D37C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80310420 0030D380 93 C1 00 08 */ stw r30, 8(r1) +/* 80310424 0030D384 7C 9F 23 78 */ mr r31, r4 +/* 80310428 0030D388 7C 7E 1B 78 */ mr r30, r3 +/* 8031042C 0030D38C C0 24 00 00 */ lfs f1, 0(r4) +/* 80310430 0030D390 48 08 46 AD */ bl sin +/* 80310434 0030D394 FF E0 08 18 */ frsp f31, f1 +/* 80310438 0030D398 C0 3F 00 00 */ lfs f1, 0(r31) +/* 8031043C 0030D39C 48 08 3F B5 */ bl cos +/* 80310440 0030D3A0 FC 60 08 18 */ frsp f3, f1 +/* 80310444 0030D3A4 C0 22 C8 50 */ lfs f1, lbl_805AE570@sda21(r2) +/* 80310448 0030D3A8 FC 40 F8 50 */ fneg f2, f31 +/* 8031044C 0030D3AC C0 02 C8 54 */ lfs f0, lbl_805AE574@sda21(r2) +/* 80310450 0030D3B0 D0 7E 00 00 */ stfs f3, 0(r30) +/* 80310454 0030D3B4 D0 5E 00 04 */ stfs f2, 4(r30) +/* 80310458 0030D3B8 D0 3E 00 08 */ stfs f1, 8(r30) +/* 8031045C 0030D3BC D3 FE 00 0C */ stfs f31, 0xc(r30) +/* 80310460 0030D3C0 D0 7E 00 10 */ stfs f3, 0x10(r30) +/* 80310464 0030D3C4 D0 3E 00 14 */ stfs f1, 0x14(r30) +/* 80310468 0030D3C8 D0 3E 00 18 */ stfs f1, 0x18(r30) +/* 8031046C 0030D3CC D0 3E 00 1C */ stfs f1, 0x1c(r30) +/* 80310470 0030D3D0 D0 1E 00 20 */ stfs f0, 0x20(r30) +/* 80310474 0030D3D4 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 +/* 80310478 0030D3D8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8031047C 0030D3DC CB E1 00 10 */ lfd f31, 0x10(r1) +/* 80310480 0030D3E0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80310484 0030D3E4 83 C1 00 08 */ lwz r30, 8(r1) +/* 80310488 0030D3E8 7C 08 03 A6 */ mtlr r0 +/* 8031048C 0030D3EC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80310490 0030D3F0 4E 80 00 20 */ blr + +.global RotateY__9CMatrix3fFRC9CRelAngle +RotateY__9CMatrix3fFRC9CRelAngle: +/* 80310494 0030D3F4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80310498 0030D3F8 7C 08 02 A6 */ mflr r0 +/* 8031049C 0030D3FC 90 01 00 24 */ stw r0, 0x24(r1) +/* 803104A0 0030D400 DB E1 00 10 */ stfd f31, 0x10(r1) +/* 803104A4 0030D404 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 +/* 803104A8 0030D408 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803104AC 0030D40C 93 C1 00 08 */ stw r30, 8(r1) +/* 803104B0 0030D410 7C 9F 23 78 */ mr r31, r4 +/* 803104B4 0030D414 7C 7E 1B 78 */ mr r30, r3 +/* 803104B8 0030D418 C0 24 00 00 */ lfs f1, 0(r4) +/* 803104BC 0030D41C 48 08 46 21 */ bl sin +/* 803104C0 0030D420 FF E0 08 18 */ frsp f31, f1 +/* 803104C4 0030D424 C0 3F 00 00 */ lfs f1, 0(r31) +/* 803104C8 0030D428 48 08 3F 29 */ bl cos +/* 803104CC 0030D42C FC 60 08 18 */ frsp f3, f1 +/* 803104D0 0030D430 C0 42 C8 50 */ lfs f2, lbl_805AE570@sda21(r2) +/* 803104D4 0030D434 C0 22 C8 54 */ lfs f1, lbl_805AE574@sda21(r2) +/* 803104D8 0030D438 FC 00 F8 50 */ fneg f0, f31 +/* 803104DC 0030D43C D0 7E 00 00 */ stfs f3, 0(r30) +/* 803104E0 0030D440 D0 5E 00 04 */ stfs f2, 4(r30) +/* 803104E4 0030D444 D3 FE 00 08 */ stfs f31, 8(r30) +/* 803104E8 0030D448 D0 5E 00 0C */ stfs f2, 0xc(r30) +/* 803104EC 0030D44C D0 3E 00 10 */ stfs f1, 0x10(r30) +/* 803104F0 0030D450 D0 5E 00 14 */ stfs f2, 0x14(r30) +/* 803104F4 0030D454 D0 1E 00 18 */ stfs f0, 0x18(r30) +/* 803104F8 0030D458 D0 5E 00 1C */ stfs f2, 0x1c(r30) +/* 803104FC 0030D45C D0 7E 00 20 */ stfs f3, 0x20(r30) +/* 80310500 0030D460 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 +/* 80310504 0030D464 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80310508 0030D468 CB E1 00 10 */ lfd f31, 0x10(r1) +/* 8031050C 0030D46C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80310510 0030D470 83 C1 00 08 */ lwz r30, 8(r1) +/* 80310514 0030D474 7C 08 03 A6 */ mtlr r0 +/* 80310518 0030D478 38 21 00 20 */ addi r1, r1, 0x20 +/* 8031051C 0030D47C 4E 80 00 20 */ blr + +.global __ct__9CMatrix3fFR12CInputStream +__ct__9CMatrix3fFR12CInputStream: +/* 80310520 0030D480 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80310524 0030D484 7C 08 02 A6 */ mflr r0 +/* 80310528 0030D488 90 01 00 14 */ stw r0, 0x14(r1) +/* 8031052C 0030D48C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80310530 0030D490 7C 9F 23 78 */ mr r31, r4 +/* 80310534 0030D494 93 C1 00 08 */ stw r30, 8(r1) +/* 80310538 0030D498 7C 7E 1B 78 */ mr r30, r3 +/* 8031053C 0030D49C 7F E3 FB 78 */ mr r3, r31 +/* 80310540 0030D4A0 48 02 E6 E9 */ bl ReadFloat__12CInputStreamFv +/* 80310544 0030D4A4 D0 3E 00 00 */ stfs f1, 0(r30) +/* 80310548 0030D4A8 7F E3 FB 78 */ mr r3, r31 +/* 8031054C 0030D4AC 48 02 E6 DD */ bl ReadFloat__12CInputStreamFv +/* 80310550 0030D4B0 D0 3E 00 04 */ stfs f1, 4(r30) +/* 80310554 0030D4B4 7F E3 FB 78 */ mr r3, r31 +/* 80310558 0030D4B8 48 02 E6 D1 */ bl ReadFloat__12CInputStreamFv +/* 8031055C 0030D4BC D0 3E 00 08 */ stfs f1, 8(r30) +/* 80310560 0030D4C0 7F E3 FB 78 */ mr r3, r31 +/* 80310564 0030D4C4 48 02 E6 C5 */ bl ReadFloat__12CInputStreamFv +/* 80310568 0030D4C8 D0 3E 00 0C */ stfs f1, 0xc(r30) +/* 8031056C 0030D4CC 7F E3 FB 78 */ mr r3, r31 +/* 80310570 0030D4D0 48 02 E6 B9 */ bl ReadFloat__12CInputStreamFv +/* 80310574 0030D4D4 D0 3E 00 10 */ stfs f1, 0x10(r30) +/* 80310578 0030D4D8 7F E3 FB 78 */ mr r3, r31 +/* 8031057C 0030D4DC 48 02 E6 AD */ bl ReadFloat__12CInputStreamFv +/* 80310580 0030D4E0 D0 3E 00 14 */ stfs f1, 0x14(r30) +/* 80310584 0030D4E4 7F E3 FB 78 */ mr r3, r31 +/* 80310588 0030D4E8 48 02 E6 A1 */ bl ReadFloat__12CInputStreamFv +/* 8031058C 0030D4EC D0 3E 00 18 */ stfs f1, 0x18(r30) +/* 80310590 0030D4F0 7F E3 FB 78 */ mr r3, r31 +/* 80310594 0030D4F4 48 02 E6 95 */ bl ReadFloat__12CInputStreamFv +/* 80310598 0030D4F8 D0 3E 00 1C */ stfs f1, 0x1c(r30) +/* 8031059C 0030D4FC 7F E3 FB 78 */ mr r3, r31 +/* 803105A0 0030D500 48 02 E6 89 */ bl ReadFloat__12CInputStreamFv +/* 803105A4 0030D504 D0 3E 00 20 */ stfs f1, 0x20(r30) +/* 803105A8 0030D508 7F C3 F3 78 */ mr r3, r30 +/* 803105AC 0030D50C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803105B0 0030D510 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803105B4 0030D514 83 C1 00 08 */ lwz r30, 8(r1) +/* 803105B8 0030D518 7C 08 03 A6 */ mtlr r0 +/* 803105BC 0030D51C 38 21 00 10 */ addi r1, r1, 0x10 +/* 803105C0 0030D520 4E 80 00 20 */ blr + +.global __ct__9CMatrix3fFRC9CMatrix3ffRC9CMatrix3ff +__ct__9CMatrix3fFRC9CMatrix3ffRC9CMatrix3ff: +/* 803105C4 0030D524 C0 05 00 00 */ lfs f0, 0(r5) +/* 803105C8 0030D528 C0 64 00 00 */ lfs f3, 0(r4) +/* 803105CC 0030D52C EC 00 00 B2 */ fmuls f0, f0, f2 +/* 803105D0 0030D530 EC 03 00 7A */ fmadds f0, f3, f1, f0 +/* 803105D4 0030D534 D0 03 00 00 */ stfs f0, 0(r3) +/* 803105D8 0030D538 C0 05 00 04 */ lfs f0, 4(r5) +/* 803105DC 0030D53C C0 64 00 04 */ lfs f3, 4(r4) +/* 803105E0 0030D540 EC 00 00 B2 */ fmuls f0, f0, f2 +/* 803105E4 0030D544 EC 03 00 7A */ fmadds f0, f3, f1, f0 +/* 803105E8 0030D548 D0 03 00 04 */ stfs f0, 4(r3) +/* 803105EC 0030D54C C0 05 00 08 */ lfs f0, 8(r5) +/* 803105F0 0030D550 C0 64 00 08 */ lfs f3, 8(r4) +/* 803105F4 0030D554 EC 00 00 B2 */ fmuls f0, f0, f2 +/* 803105F8 0030D558 EC 03 00 7A */ fmadds f0, f3, f1, f0 +/* 803105FC 0030D55C D0 03 00 08 */ stfs f0, 8(r3) +/* 80310600 0030D560 C0 05 00 0C */ lfs f0, 0xc(r5) +/* 80310604 0030D564 C0 64 00 0C */ lfs f3, 0xc(r4) +/* 80310608 0030D568 EC 00 00 B2 */ fmuls f0, f0, f2 +/* 8031060C 0030D56C EC 03 00 7A */ fmadds f0, f3, f1, f0 +/* 80310610 0030D570 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 80310614 0030D574 C0 05 00 10 */ lfs f0, 0x10(r5) +/* 80310618 0030D578 C0 64 00 10 */ lfs f3, 0x10(r4) +/* 8031061C 0030D57C EC 00 00 B2 */ fmuls f0, f0, f2 +/* 80310620 0030D580 EC 03 00 7A */ fmadds f0, f3, f1, f0 +/* 80310624 0030D584 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 80310628 0030D588 C0 05 00 14 */ lfs f0, 0x14(r5) +/* 8031062C 0030D58C C0 64 00 14 */ lfs f3, 0x14(r4) +/* 80310630 0030D590 EC 00 00 B2 */ fmuls f0, f0, f2 +/* 80310634 0030D594 EC 03 00 7A */ fmadds f0, f3, f1, f0 +/* 80310638 0030D598 D0 03 00 14 */ stfs f0, 0x14(r3) +/* 8031063C 0030D59C C0 05 00 18 */ lfs f0, 0x18(r5) +/* 80310640 0030D5A0 C0 64 00 18 */ lfs f3, 0x18(r4) +/* 80310644 0030D5A4 EC 00 00 B2 */ fmuls f0, f0, f2 +/* 80310648 0030D5A8 EC 03 00 7A */ fmadds f0, f3, f1, f0 +/* 8031064C 0030D5AC D0 03 00 18 */ stfs f0, 0x18(r3) +/* 80310650 0030D5B0 C0 05 00 1C */ lfs f0, 0x1c(r5) +/* 80310654 0030D5B4 C0 64 00 1C */ lfs f3, 0x1c(r4) +/* 80310658 0030D5B8 EC 00 00 B2 */ fmuls f0, f0, f2 +/* 8031065C 0030D5BC EC 03 00 7A */ fmadds f0, f3, f1, f0 +/* 80310660 0030D5C0 D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 80310664 0030D5C4 C0 05 00 20 */ lfs f0, 0x20(r5) +/* 80310668 0030D5C8 C0 64 00 20 */ lfs f3, 0x20(r4) +/* 8031066C 0030D5CC EC 00 00 B2 */ fmuls f0, f0, f2 +/* 80310670 0030D5D0 EC 03 00 7A */ fmadds f0, f3, f1, f0 +/* 80310674 0030D5D4 D0 03 00 20 */ stfs f0, 0x20(r3) +/* 80310678 0030D5D8 4E 80 00 20 */ blr + +.global __ct__9CMatrix3fFRC9CVector3fRC9CVector3fRC9CVector3f +__ct__9CMatrix3fFRC9CVector3fRC9CVector3fRC9CVector3f: +/* 8031067C 0030D5DC C0 04 00 00 */ lfs f0, 0(r4) +/* 80310680 0030D5E0 D0 03 00 00 */ stfs f0, 0(r3) +/* 80310684 0030D5E4 C0 04 00 04 */ lfs f0, 4(r4) +/* 80310688 0030D5E8 D0 03 00 04 */ stfs f0, 4(r3) +/* 8031068C 0030D5EC C0 04 00 08 */ lfs f0, 8(r4) +/* 80310690 0030D5F0 D0 03 00 08 */ stfs f0, 8(r3) +/* 80310694 0030D5F4 C0 05 00 00 */ lfs f0, 0(r5) +/* 80310698 0030D5F8 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 8031069C 0030D5FC C0 05 00 04 */ lfs f0, 4(r5) +/* 803106A0 0030D600 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 803106A4 0030D604 C0 05 00 08 */ lfs f0, 8(r5) +/* 803106A8 0030D608 D0 03 00 14 */ stfs f0, 0x14(r3) +/* 803106AC 0030D60C C0 06 00 00 */ lfs f0, 0(r6) +/* 803106B0 0030D610 D0 03 00 18 */ stfs f0, 0x18(r3) +/* 803106B4 0030D614 C0 06 00 04 */ lfs f0, 4(r6) +/* 803106B8 0030D618 D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 803106BC 0030D61C C0 06 00 08 */ lfs f0, 8(r6) +/* 803106C0 0030D620 D0 03 00 20 */ stfs f0, 0x20(r3) +/* 803106C4 0030D624 4E 80 00 20 */ blr + +.global __sinit_CMatrix3f_cpp +__sinit_CMatrix3f_cpp: +/* 803106C8 0030D628 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 803106CC 0030D62C 7C 08 02 A6 */ mflr r0 +/* 803106D0 0030D630 3C 60 80 5A */ lis r3, lbl_805A65FC@ha +/* 803106D4 0030D634 C0 02 C8 50 */ lfs f0, lbl_805AE570@sda21(r2) +/* 803106D8 0030D638 90 01 00 34 */ stw r0, 0x34(r1) +/* 803106DC 0030D63C 38 63 65 FC */ addi r3, r3, lbl_805A65FC@l +/* 803106E0 0030D640 C0 22 C8 54 */ lfs f1, lbl_805AE574@sda21(r2) +/* 803106E4 0030D644 38 81 00 08 */ addi r4, r1, 8 +/* 803106E8 0030D648 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 803106EC 0030D64C D0 21 00 08 */ stfs f1, 8(r1) +/* 803106F0 0030D650 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 803106F4 0030D654 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 803106F8 0030D658 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 803106FC 0030D65C D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 80310700 0030D660 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 80310704 0030D664 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 80310708 0030D668 D0 21 00 28 */ stfs f1, 0x28(r1) +/* 8031070C 0030D66C 4B FF F9 19 */ bl __ct__9CMatrix3fFRC9CMatrix3f +/* 80310710 0030D670 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80310714 0030D674 7C 08 03 A6 */ mtlr r0 +/* 80310718 0030D678 38 21 00 30 */ addi r1, r1, 0x30 +/* 8031071C 0030D67C 4E 80 00 20 */ blr diff --git a/asm/Kyoto/Math/CMatrix4f.s b/asm/Kyoto/Math/CMatrix4f.s new file mode 100644 index 00000000..de918387 --- /dev/null +++ b/asm/Kyoto/Math/CMatrix4f.s @@ -0,0 +1,196 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global MultiplyGetW__9CMatrix4fCFRC9CVector3f +MultiplyGetW__9CMatrix4fCFRC9CVector3f: +/* 80310720 0030D680 C0 24 00 04 */ lfs f1, 4(r4) +/* 80310724 0030D684 C0 03 00 34 */ lfs f0, 0x34(r3) +/* 80310728 0030D688 C0 44 00 00 */ lfs f2, 0(r4) +/* 8031072C 0030D68C EC 01 00 32 */ fmuls f0, f1, f0 +/* 80310730 0030D690 C0 23 00 30 */ lfs f1, 0x30(r3) +/* 80310734 0030D694 C0 84 00 08 */ lfs f4, 8(r4) +/* 80310738 0030D698 C0 63 00 38 */ lfs f3, 0x38(r3) +/* 8031073C 0030D69C EC 02 00 7A */ fmadds f0, f2, f1, f0 +/* 80310740 0030D6A0 C0 23 00 3C */ lfs f1, 0x3c(r3) +/* 80310744 0030D6A4 EC 04 00 FA */ fmadds f0, f4, f3, f0 +/* 80310748 0030D6A8 EC 21 00 2A */ fadds f1, f1, f0 +/* 8031074C 0030D6AC 4E 80 00 20 */ blr + +.global MultiplyOneOverW__9CMatrix4fCFRC9CVector3f +MultiplyOneOverW__9CMatrix4fCFRC9CVector3f: +/* 80310750 0030D6B0 C0 E5 00 04 */ lfs f7, 4(r5) +/* 80310754 0030D6B4 C0 04 00 34 */ lfs f0, 0x34(r4) +/* 80310758 0030D6B8 C0 44 00 04 */ lfs f2, 4(r4) +/* 8031075C 0030D6BC EC 07 00 32 */ fmuls f0, f7, f0 +/* 80310760 0030D6C0 C1 65 00 00 */ lfs f11, 0(r5) +/* 80310764 0030D6C4 C0 24 00 30 */ lfs f1, 0x30(r4) +/* 80310768 0030D6C8 EC A7 00 B2 */ fmuls f5, f7, f2 +/* 8031076C 0030D6CC C0 44 00 14 */ lfs f2, 0x14(r4) +/* 80310770 0030D6D0 EC 0B 00 7A */ fmadds f0, f11, f1, f0 +/* 80310774 0030D6D4 C1 85 00 08 */ lfs f12, 8(r5) +/* 80310778 0030D6D8 EC 87 00 B2 */ fmuls f4, f7, f2 +/* 8031077C 0030D6DC C0 24 00 38 */ lfs f1, 0x38(r4) +/* 80310780 0030D6E0 C0 44 00 3C */ lfs f2, 0x3c(r4) +/* 80310784 0030D6E4 EC 0C 00 7A */ fmadds f0, f12, f1, f0 +/* 80310788 0030D6E8 C0 C4 00 00 */ lfs f6, 0(r4) +/* 8031078C 0030D6EC C0 64 00 24 */ lfs f3, 0x24(r4) +/* 80310790 0030D6F0 C0 22 C8 58 */ lfs f1, lbl_805AE578@sda21(r2) +/* 80310794 0030D6F4 ED 0B 29 BA */ fmadds f8, f11, f6, f5 +/* 80310798 0030D6F8 EC 02 00 2A */ fadds f0, f2, f0 +/* 8031079C 0030D6FC C0 A4 00 10 */ lfs f5, 0x10(r4) +/* 803107A0 0030D700 EC 47 00 F2 */ fmuls f2, f7, f3 +/* 803107A4 0030D704 C1 24 00 08 */ lfs f9, 8(r4) +/* 803107A8 0030D708 ED A1 00 24 */ fdivs f13, f1, f0 +/* 803107AC 0030D70C C0 04 00 20 */ lfs f0, 0x20(r4) +/* 803107B0 0030D710 C0 C4 00 18 */ lfs f6, 0x18(r4) +/* 803107B4 0030D714 C1 44 00 0C */ lfs f10, 0xc(r4) +/* 803107B8 0030D718 C0 24 00 28 */ lfs f1, 0x28(r4) +/* 803107BC 0030D71C C0 E4 00 1C */ lfs f7, 0x1c(r4) +/* 803107C0 0030D720 EC 8B 21 7A */ fmadds f4, f11, f5, f4 +/* 803107C4 0030D724 C0 64 00 2C */ lfs f3, 0x2c(r4) +/* 803107C8 0030D728 EC AC 42 7A */ fmadds f5, f12, f9, f8 +/* 803107CC 0030D72C EC 0B 10 3A */ fmadds f0, f11, f0, f2 +/* 803107D0 0030D730 EC 4C 21 BA */ fmadds f2, f12, f6, f4 +/* 803107D4 0030D734 EC 8A 28 2A */ fadds f4, f10, f5 +/* 803107D8 0030D738 EC 0C 00 7A */ fmadds f0, f12, f1, f0 +/* 803107DC 0030D73C EC 27 10 2A */ fadds f1, f7, f2 +/* 803107E0 0030D740 EC 84 03 72 */ fmuls f4, f4, f13 +/* 803107E4 0030D744 EC 03 00 2A */ fadds f0, f3, f0 +/* 803107E8 0030D748 EC 21 03 72 */ fmuls f1, f1, f13 +/* 803107EC 0030D74C D0 83 00 00 */ stfs f4, 0(r3) +/* 803107F0 0030D750 EC 00 03 72 */ fmuls f0, f0, f13 +/* 803107F4 0030D754 D0 23 00 04 */ stfs f1, 4(r3) +/* 803107F8 0030D758 D0 03 00 08 */ stfs f0, 8(r3) +/* 803107FC 0030D75C 4E 80 00 20 */ blr + +.global __ml__9CMatrix4fCFRC9CVector3f +__ml__9CMatrix4fCFRC9CVector3f: +/* 80310800 0030D760 C0 65 00 04 */ lfs f3, 4(r5) +/* 80310804 0030D764 C0 04 00 04 */ lfs f0, 4(r4) +/* 80310808 0030D768 C0 44 00 14 */ lfs f2, 0x14(r4) +/* 8031080C 0030D76C EC 03 00 32 */ fmuls f0, f3, f0 +/* 80310810 0030D770 C0 C5 00 00 */ lfs f6, 0(r5) +/* 80310814 0030D774 C0 24 00 00 */ lfs f1, 0(r4) +/* 80310818 0030D778 EC 83 00 B2 */ fmuls f4, f3, f2 +/* 8031081C 0030D77C C0 44 00 24 */ lfs f2, 0x24(r4) +/* 80310820 0030D780 C0 A4 00 10 */ lfs f5, 0x10(r4) +/* 80310824 0030D784 EC 06 00 7A */ fmadds f0, f6, f1, f0 +/* 80310828 0030D788 C0 E5 00 08 */ lfs f7, 8(r5) +/* 8031082C 0030D78C C0 24 00 08 */ lfs f1, 8(r4) +/* 80310830 0030D790 EC 43 00 B2 */ fmuls f2, f3, f2 +/* 80310834 0030D794 C0 64 00 20 */ lfs f3, 0x20(r4) +/* 80310838 0030D798 EC 86 21 7A */ fmadds f4, f6, f5, f4 +/* 8031083C 0030D79C C0 A4 00 18 */ lfs f5, 0x18(r4) +/* 80310840 0030D7A0 EC 07 00 7A */ fmadds f0, f7, f1, f0 +/* 80310844 0030D7A4 C0 24 00 0C */ lfs f1, 0xc(r4) +/* 80310848 0030D7A8 EC 46 10 FA */ fmadds f2, f6, f3, f2 +/* 8031084C 0030D7AC C0 64 00 28 */ lfs f3, 0x28(r4) +/* 80310850 0030D7B0 EC A7 21 7A */ fmadds f5, f7, f5, f4 +/* 80310854 0030D7B4 C0 C4 00 1C */ lfs f6, 0x1c(r4) +/* 80310858 0030D7B8 EC 01 00 2A */ fadds f0, f1, f0 +/* 8031085C 0030D7BC C0 84 00 2C */ lfs f4, 0x2c(r4) +/* 80310860 0030D7C0 EC 27 10 FA */ fmadds f1, f7, f3, f2 +/* 80310864 0030D7C4 EC 46 28 2A */ fadds f2, f6, f5 +/* 80310868 0030D7C8 D0 03 00 00 */ stfs f0, 0(r3) +/* 8031086C 0030D7CC EC 04 08 2A */ fadds f0, f4, f1 +/* 80310870 0030D7D0 D0 43 00 04 */ stfs f2, 4(r3) +/* 80310874 0030D7D4 D0 03 00 08 */ stfs f0, 8(r3) +/* 80310878 0030D7D8 4E 80 00 20 */ blr + +.global __ct__9CMatrix4fFffffffffffffffff +__ct__9CMatrix4fFffffffffffffffff: +/* 8031087C 0030D7DC D0 23 00 00 */ stfs f1, 0(r3) +/* 80310880 0030D7E0 C1 61 00 08 */ lfs f11, 8(r1) +/* 80310884 0030D7E4 D0 43 00 04 */ stfs f2, 4(r3) +/* 80310888 0030D7E8 C1 41 00 0C */ lfs f10, 0xc(r1) +/* 8031088C 0030D7EC D0 63 00 08 */ stfs f3, 8(r3) +/* 80310890 0030D7F0 C1 21 00 10 */ lfs f9, 0x10(r1) +/* 80310894 0030D7F4 D0 83 00 0C */ stfs f4, 0xc(r3) +/* 80310898 0030D7F8 C0 81 00 14 */ lfs f4, 0x14(r1) +/* 8031089C 0030D7FC D0 A3 00 10 */ stfs f5, 0x10(r3) +/* 803108A0 0030D800 C0 61 00 18 */ lfs f3, 0x18(r1) +/* 803108A4 0030D804 D0 C3 00 14 */ stfs f6, 0x14(r3) +/* 803108A8 0030D808 C0 41 00 1C */ lfs f2, 0x1c(r1) +/* 803108AC 0030D80C D0 E3 00 18 */ stfs f7, 0x18(r3) +/* 803108B0 0030D810 C0 21 00 20 */ lfs f1, 0x20(r1) +/* 803108B4 0030D814 D1 03 00 1C */ stfs f8, 0x1c(r3) +/* 803108B8 0030D818 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 803108BC 0030D81C D1 63 00 20 */ stfs f11, 0x20(r3) +/* 803108C0 0030D820 D1 43 00 24 */ stfs f10, 0x24(r3) +/* 803108C4 0030D824 D1 23 00 28 */ stfs f9, 0x28(r3) +/* 803108C8 0030D828 D0 83 00 2C */ stfs f4, 0x2c(r3) +/* 803108CC 0030D82C D0 63 00 30 */ stfs f3, 0x30(r3) +/* 803108D0 0030D830 D0 43 00 34 */ stfs f2, 0x34(r3) +/* 803108D4 0030D834 D0 23 00 38 */ stfs f1, 0x38(r3) +/* 803108D8 0030D838 D0 03 00 3C */ stfs f0, 0x3c(r3) +/* 803108DC 0030D83C 4E 80 00 20 */ blr + +.global __sinit_CMatrix4f_cpp +__sinit_CMatrix4f_cpp: +/* 803108E0 0030D840 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 803108E4 0030D844 7C 08 02 A6 */ mflr r0 +/* 803108E8 0030D848 90 01 00 94 */ stw r0, 0x94(r1) +/* 803108EC 0030D84C DB E1 00 80 */ stfd f31, 0x80(r1) +/* 803108F0 0030D850 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 +/* 803108F4 0030D854 DB C1 00 70 */ stfd f30, 0x70(r1) +/* 803108F8 0030D858 F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 +/* 803108FC 0030D85C C0 42 C8 5C */ lfs f2, lbl_805AE57C@sda21(r2) +/* 80310900 0030D860 38 61 00 28 */ addi r3, r1, 0x28 +/* 80310904 0030D864 C0 22 C8 58 */ lfs f1, lbl_805AE578@sda21(r2) +/* 80310908 0030D868 D0 41 00 08 */ stfs f2, 8(r1) +/* 8031090C 0030D86C FC 60 10 90 */ fmr f3, f2 +/* 80310910 0030D870 FC 80 10 90 */ fmr f4, f2 +/* 80310914 0030D874 D0 41 00 0C */ stfs f2, 0xc(r1) +/* 80310918 0030D878 FC A0 10 90 */ fmr f5, f2 +/* 8031091C 0030D87C FC C0 08 90 */ fmr f6, f1 +/* 80310920 0030D880 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 80310924 0030D884 FC E0 10 90 */ fmr f7, f2 +/* 80310928 0030D888 FD 00 10 90 */ fmr f8, f2 +/* 8031092C 0030D88C D0 41 00 14 */ stfs f2, 0x14(r1) +/* 80310930 0030D890 D0 41 00 18 */ stfs f2, 0x18(r1) +/* 80310934 0030D894 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 80310938 0030D898 D0 41 00 20 */ stfs f2, 0x20(r1) +/* 8031093C 0030D89C D0 21 00 24 */ stfs f1, 0x24(r1) +/* 80310940 0030D8A0 4B FF FF 3D */ bl __ct__9CMatrix4fFffffffffffffffff +/* 80310944 0030D8A4 C3 C1 00 28 */ lfs f30, 0x28(r1) +/* 80310948 0030D8A8 3C 60 80 5A */ lis r3, lbl_805A6620@ha +/* 8031094C 0030D8AC C3 E1 00 2C */ lfs f31, 0x2c(r1) +/* 80310950 0030D8B0 D7 C3 66 20 */ stfsu f30, lbl_805A6620@l(r3) +/* 80310954 0030D8B4 C1 A1 00 30 */ lfs f13, 0x30(r1) +/* 80310958 0030D8B8 C1 81 00 34 */ lfs f12, 0x34(r1) +/* 8031095C 0030D8BC C1 61 00 38 */ lfs f11, 0x38(r1) +/* 80310960 0030D8C0 C1 41 00 3C */ lfs f10, 0x3c(r1) +/* 80310964 0030D8C4 C1 21 00 40 */ lfs f9, 0x40(r1) +/* 80310968 0030D8C8 C1 01 00 44 */ lfs f8, 0x44(r1) +/* 8031096C 0030D8CC C0 E1 00 48 */ lfs f7, 0x48(r1) +/* 80310970 0030D8D0 C0 C1 00 4C */ lfs f6, 0x4c(r1) +/* 80310974 0030D8D4 C0 A1 00 50 */ lfs f5, 0x50(r1) +/* 80310978 0030D8D8 C0 81 00 54 */ lfs f4, 0x54(r1) +/* 8031097C 0030D8DC C0 61 00 58 */ lfs f3, 0x58(r1) +/* 80310980 0030D8E0 C0 41 00 5C */ lfs f2, 0x5c(r1) +/* 80310984 0030D8E4 C0 21 00 60 */ lfs f1, 0x60(r1) +/* 80310988 0030D8E8 C0 01 00 64 */ lfs f0, 0x64(r1) +/* 8031098C 0030D8EC D3 E3 00 04 */ stfs f31, 4(r3) +/* 80310990 0030D8F0 D1 A3 00 08 */ stfs f13, 8(r3) +/* 80310994 0030D8F4 D1 83 00 0C */ stfs f12, 0xc(r3) +/* 80310998 0030D8F8 D1 63 00 10 */ stfs f11, 0x10(r3) +/* 8031099C 0030D8FC D1 43 00 14 */ stfs f10, 0x14(r3) +/* 803109A0 0030D900 D1 23 00 18 */ stfs f9, 0x18(r3) +/* 803109A4 0030D904 D1 03 00 1C */ stfs f8, 0x1c(r3) +/* 803109A8 0030D908 D0 E3 00 20 */ stfs f7, 0x20(r3) +/* 803109AC 0030D90C D0 C3 00 24 */ stfs f6, 0x24(r3) +/* 803109B0 0030D910 D0 A3 00 28 */ stfs f5, 0x28(r3) +/* 803109B4 0030D914 D0 83 00 2C */ stfs f4, 0x2c(r3) +/* 803109B8 0030D918 D0 63 00 30 */ stfs f3, 0x30(r3) +/* 803109BC 0030D91C D0 43 00 34 */ stfs f2, 0x34(r3) +/* 803109C0 0030D920 D0 23 00 38 */ stfs f1, 0x38(r3) +/* 803109C4 0030D924 D0 03 00 3C */ stfs f0, 0x3c(r3) +/* 803109C8 0030D928 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 +/* 803109CC 0030D92C CB E1 00 80 */ lfd f31, 0x80(r1) +/* 803109D0 0030D930 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 +/* 803109D4 0030D934 80 01 00 94 */ lwz r0, 0x94(r1) +/* 803109D8 0030D938 CB C1 00 70 */ lfd f30, 0x70(r1) +/* 803109DC 0030D93C 7C 08 03 A6 */ mtlr r0 +/* 803109E0 0030D940 38 21 00 90 */ addi r1, r1, 0x90 +/* 803109E4 0030D944 4E 80 00 20 */ blr diff --git a/asm/Kyoto/Math/CPlane.s b/asm/Kyoto/Math/CPlane.s new file mode 100644 index 00000000..cf01cef7 --- /dev/null +++ b/asm/Kyoto/Math/CPlane.s @@ -0,0 +1,107 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global ProjectedDeltaDist__RC6CPlaneRC9CVector3fRC9CVector3f +ProjectedDeltaDist__RC6CPlaneRC9CVector3fRC9CVector3f: +/* 8033700C 00333F6C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80337010 00333F70 C0 64 00 04 */ lfs f3, 4(r4) +/* 80337014 00333F74 C0 43 00 04 */ lfs f2, 4(r3) +/* 80337018 00333F78 C0 25 00 04 */ lfs f1, 4(r5) +/* 8033701C 00333F7C EC 03 00 B2 */ fmuls f0, f3, f2 +/* 80337020 00333F80 C0 84 00 00 */ lfs f4, 0(r4) +/* 80337024 00333F84 C0 E3 00 00 */ lfs f7, 0(r3) +/* 80337028 00333F88 EC A1 18 28 */ fsubs f5, f1, f3 +/* 8033702C 00333F8C C0 25 00 00 */ lfs f1, 0(r5) +/* 80337030 00333F90 EC 04 01 FA */ fmadds f0, f4, f7, f0 +/* 80337034 00333F94 C1 24 00 08 */ lfs f9, 8(r4) +/* 80337038 00333F98 EC C1 20 28 */ fsubs f6, f1, f4 +/* 8033703C 00333F9C EC 65 00 B2 */ fmuls f3, f5, f2 +/* 80337040 00333FA0 C1 03 00 08 */ lfs f8, 8(r3) +/* 80337044 00333FA4 C0 25 00 08 */ lfs f1, 8(r5) +/* 80337048 00333FA8 EC 49 02 3A */ fmadds f2, f9, f8, f0 +/* 8033704C 00333FAC C0 03 00 0C */ lfs f0, 0xc(r3) +/* 80337050 00333FB0 EC 81 48 28 */ fsubs f4, f1, f9 +/* 80337054 00333FB4 EC 66 19 FA */ fmadds f3, f6, f7, f3 +/* 80337058 00333FB8 C0 22 CB 80 */ lfs f1, lbl_805AE8A0@sda21(r2) +/* 8033705C 00333FBC EC 02 00 28 */ fsubs f0, f2, f0 +/* 80337060 00333FC0 D0 C1 00 08 */ stfs f6, 8(r1) +/* 80337064 00333FC4 EC 44 1A 3A */ fmadds f2, f4, f8, f3 +/* 80337068 00333FC8 FC 00 00 50 */ fneg f0, f0 +/* 8033706C 00333FCC D0 A1 00 0C */ stfs f5, 0xc(r1) +/* 80337070 00333FD0 D0 81 00 10 */ stfs f4, 0x10(r1) +/* 80337074 00333FD4 EC 00 10 24 */ fdivs f0, f0, f2 +/* 80337078 00333FD8 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 8033707C 00333FDC 4C 40 13 82 */ cror 2, 0, 2 +/* 80337080 00333FE0 40 82 00 08 */ bne lbl_80337088 +/* 80337084 00333FE4 48 00 00 1C */ b lbl_803370A0 +lbl_80337088: +/* 80337088 00333FE8 C0 22 CB 84 */ lfs f1, lbl_805AE8A4@sda21(r2) +/* 8033708C 00333FEC FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80337090 00333FF0 4C 41 13 82 */ cror 2, 1, 2 +/* 80337094 00333FF4 40 82 00 08 */ bne lbl_8033709C +/* 80337098 00333FF8 48 00 00 08 */ b lbl_803370A0 +lbl_8033709C: +/* 8033709C 00333FFC FC 20 00 90 */ fmr f1, f0 +lbl_803370A0: +/* 803370A0 00334000 38 21 00 20 */ addi r1, r1, 0x20 +/* 803370A4 00334004 4E 80 00 20 */ blr + +.global __ct__6CPlaneFRC9CVector3fRC9CVector3fRC9CVector3f +__ct__6CPlaneFRC9CVector3fRC9CVector3fRC9CVector3f: +/* 803370A8 00334008 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 803370AC 0033400C 7C 08 02 A6 */ mflr r0 +/* 803370B0 00334010 90 01 00 44 */ stw r0, 0x44(r1) +/* 803370B4 00334014 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 803370B8 00334018 7C 9F 23 78 */ mr r31, r4 +/* 803370BC 0033401C 93 C1 00 38 */ stw r30, 0x38(r1) +/* 803370C0 00334020 7C 7E 1B 78 */ mr r30, r3 +/* 803370C4 00334024 C0 44 00 00 */ lfs f2, 0(r4) +/* 803370C8 00334028 38 81 00 20 */ addi r4, r1, 0x20 +/* 803370CC 0033402C C0 26 00 00 */ lfs f1, 0(r6) +/* 803370D0 00334030 C0 05 00 00 */ lfs f0, 0(r5) +/* 803370D4 00334034 ED 01 10 28 */ fsubs f8, f1, f2 +/* 803370D8 00334038 C0 26 00 04 */ lfs f1, 4(r6) +/* 803370DC 0033403C EC 60 10 28 */ fsubs f3, f0, f2 +/* 803370E0 00334040 C0 9F 00 04 */ lfs f4, 4(r31) +/* 803370E4 00334044 C0 05 00 04 */ lfs f0, 4(r5) +/* 803370E8 00334048 EC E1 20 28 */ fsubs f7, f1, f4 +/* 803370EC 0033404C EC A0 20 28 */ fsubs f5, f0, f4 +/* 803370F0 00334050 C0 26 00 08 */ lfs f1, 8(r6) +/* 803370F4 00334054 C0 5F 00 08 */ lfs f2, 8(r31) +/* 803370F8 00334058 C0 05 00 08 */ lfs f0, 8(r5) +/* 803370FC 0033405C EC C1 10 28 */ fsubs f6, f1, f2 +/* 80337100 00334060 D1 01 00 08 */ stfs f8, 8(r1) +/* 80337104 00334064 EC 80 10 28 */ fsubs f4, f0, f2 +/* 80337108 00334068 EC 08 01 72 */ fmuls f0, f8, f5 +/* 8033710C 0033406C D0 E1 00 0C */ stfs f7, 0xc(r1) +/* 80337110 00334070 EC 26 00 F2 */ fmuls f1, f6, f3 +/* 80337114 00334074 EC 47 01 32 */ fmuls f2, f7, f4 +/* 80337118 00334078 D0 C1 00 10 */ stfs f6, 0x10(r1) +/* 8033711C 0033407C EC 03 01 F8 */ fmsubs f0, f3, f7, f0 +/* 80337120 00334080 EC 24 0A 38 */ fmsubs f1, f4, f8, f1 +/* 80337124 00334084 D0 61 00 14 */ stfs f3, 0x14(r1) +/* 80337128 00334088 EC 45 11 B8 */ fmsubs f2, f5, f6, f2 +/* 8033712C 0033408C D0 A1 00 18 */ stfs f5, 0x18(r1) +/* 80337130 00334090 D0 81 00 1C */ stfs f4, 0x1c(r1) +/* 80337134 00334094 D0 41 00 20 */ stfs f2, 0x20(r1) +/* 80337138 00334098 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 8033713C 0033409C D0 01 00 28 */ stfs f0, 0x28(r1) +/* 80337140 003340A0 4B FD CC 91 */ bl __ct__13CUnitVector3fFRC9CVector3f +/* 80337144 003340A4 C0 3E 00 04 */ lfs f1, 4(r30) +/* 80337148 003340A8 7F C3 F3 78 */ mr r3, r30 +/* 8033714C 003340AC C0 1F 00 04 */ lfs f0, 4(r31) +/* 80337150 003340B0 C0 5E 00 00 */ lfs f2, 0(r30) +/* 80337154 003340B4 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80337158 003340B8 C0 3F 00 00 */ lfs f1, 0(r31) +/* 8033715C 003340BC C0 9E 00 08 */ lfs f4, 8(r30) +/* 80337160 003340C0 C0 7F 00 08 */ lfs f3, 8(r31) +/* 80337164 003340C4 EC 02 00 7A */ fmadds f0, f2, f1, f0 +/* 80337168 003340C8 EC 04 00 FA */ fmadds f0, f4, f3, f0 +/* 8033716C 003340CC D0 1E 00 0C */ stfs f0, 0xc(r30) +/* 80337170 003340D0 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80337174 003340D4 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 80337178 003340D8 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8033717C 003340DC 7C 08 03 A6 */ mtlr r0 +/* 80337180 003340E0 38 21 00 40 */ addi r1, r1, 0x40 +/* 80337184 003340E4 4E 80 00 20 */ blr diff --git a/asm/Kyoto/Math/CQuaternion.s b/asm/Kyoto/Math/CQuaternion.s new file mode 100644 index 00000000..44d952a2 --- /dev/null +++ b/asm/Kyoto/Math/CQuaternion.s @@ -0,0 +1,1890 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global FromNUQuaternion__11CQuaternionFRC13CNUQuaternion +FromNUQuaternion__11CQuaternionFRC13CNUQuaternion: +/* 803109E8 0030D948 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803109EC 0030D94C 7C 08 02 A6 */ mflr r0 +/* 803109F0 0030D950 90 01 00 24 */ stw r0, 0x24(r1) +/* 803109F4 0030D954 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 803109F8 0030D958 7C 7F 1B 78 */ mr r31, r3 +/* 803109FC 0030D95C 38 61 00 08 */ addi r3, r1, 8 +/* 80310A00 0030D960 48 00 03 E9 */ bl AsNormalized__13CNUQuaternionCFv +/* 80310A04 0030D964 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 80310A08 0030D968 C0 41 00 10 */ lfs f2, 0x10(r1) +/* 80310A0C 0030D96C C0 61 00 14 */ lfs f3, 0x14(r1) +/* 80310A10 0030D970 C0 01 00 08 */ lfs f0, 8(r1) +/* 80310A14 0030D974 D0 1F 00 00 */ stfs f0, 0(r31) +/* 80310A18 0030D978 D0 3F 00 04 */ stfs f1, 4(r31) +/* 80310A1C 0030D97C D0 5F 00 08 */ stfs f2, 8(r31) +/* 80310A20 0030D980 D0 7F 00 0C */ stfs f3, 0xc(r31) +/* 80310A24 0030D984 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80310A28 0030D988 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80310A2C 0030D98C 7C 08 03 A6 */ mtlr r0 +/* 80310A30 0030D990 38 21 00 20 */ addi r1, r1, 0x20 +/* 80310A34 0030D994 4E 80 00 20 */ blr + +.global __ml__FfRC13CNUQuaternion +__ml__FfRC13CNUQuaternion: +/* 80310A38 0030D998 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80310A3C 0030D99C 7C 08 02 A6 */ mflr r0 +/* 80310A40 0030D9A0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80310A44 0030D9A4 C0 84 00 08 */ lfs f4, 8(r4) +/* 80310A48 0030D9A8 C0 64 00 0C */ lfs f3, 0xc(r4) +/* 80310A4C 0030D9AC C0 44 00 04 */ lfs f2, 4(r4) +/* 80310A50 0030D9B0 EC C1 01 32 */ fmuls f6, f1, f4 +/* 80310A54 0030D9B4 C0 04 00 00 */ lfs f0, 0(r4) +/* 80310A58 0030D9B8 EC A1 00 F2 */ fmuls f5, f1, f3 +/* 80310A5C 0030D9BC D0 41 00 08 */ stfs f2, 8(r1) +/* 80310A60 0030D9C0 EC 41 00 B2 */ fmuls f2, f1, f2 +/* 80310A64 0030D9C4 EC 21 00 32 */ fmuls f1, f1, f0 +/* 80310A68 0030D9C8 D0 81 00 0C */ stfs f4, 0xc(r1) +/* 80310A6C 0030D9CC 38 81 00 14 */ addi r4, r1, 0x14 +/* 80310A70 0030D9D0 D0 61 00 10 */ stfs f3, 0x10(r1) +/* 80310A74 0030D9D4 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 80310A78 0030D9D8 D0 C1 00 18 */ stfs f6, 0x18(r1) +/* 80310A7C 0030D9DC D0 A1 00 1C */ stfs f5, 0x1c(r1) +/* 80310A80 0030D9E0 48 00 05 81 */ bl __ct__13CNUQuaternionFfRC9CVector3f +/* 80310A84 0030D9E4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80310A88 0030D9E8 7C 08 03 A6 */ mtlr r0 +/* 80310A8C 0030D9EC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80310A90 0030D9F0 4E 80 00 20 */ blr + +.global __ml__FRC13CNUQuaternionf +__ml__FRC13CNUQuaternionf: +/* 80310A94 0030D9F4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80310A98 0030D9F8 7C 08 02 A6 */ mflr r0 +/* 80310A9C 0030D9FC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80310AA0 0030DA00 C0 84 00 08 */ lfs f4, 8(r4) +/* 80310AA4 0030DA04 C0 64 00 0C */ lfs f3, 0xc(r4) +/* 80310AA8 0030DA08 C0 44 00 04 */ lfs f2, 4(r4) +/* 80310AAC 0030DA0C EC C1 01 32 */ fmuls f6, f1, f4 +/* 80310AB0 0030DA10 C0 04 00 00 */ lfs f0, 0(r4) +/* 80310AB4 0030DA14 EC A1 00 F2 */ fmuls f5, f1, f3 +/* 80310AB8 0030DA18 D0 41 00 08 */ stfs f2, 8(r1) +/* 80310ABC 0030DA1C EC 41 00 B2 */ fmuls f2, f1, f2 +/* 80310AC0 0030DA20 EC 21 00 32 */ fmuls f1, f1, f0 +/* 80310AC4 0030DA24 D0 81 00 0C */ stfs f4, 0xc(r1) +/* 80310AC8 0030DA28 38 81 00 14 */ addi r4, r1, 0x14 +/* 80310ACC 0030DA2C D0 61 00 10 */ stfs f3, 0x10(r1) +/* 80310AD0 0030DA30 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 80310AD4 0030DA34 D0 C1 00 18 */ stfs f6, 0x18(r1) +/* 80310AD8 0030DA38 D0 A1 00 1C */ stfs f5, 0x1c(r1) +/* 80310ADC 0030DA3C 48 00 05 25 */ bl __ct__13CNUQuaternionFfRC9CVector3f +/* 80310AE0 0030DA40 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80310AE4 0030DA44 7C 08 03 A6 */ mtlr r0 +/* 80310AE8 0030DA48 38 21 00 20 */ addi r1, r1, 0x20 +/* 80310AEC 0030DA4C 4E 80 00 20 */ blr + +.global BuildFromMatrix3f__13CNUQuaternionFRC9CMatrix3f +BuildFromMatrix3f__13CNUQuaternionFRC9CMatrix3f: +/* 80310AF0 0030DA50 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80310AF4 0030DA54 7C 08 02 A6 */ mflr r0 +/* 80310AF8 0030DA58 C0 02 C8 60 */ lfs f0, lbl_805AE580@sda21(r2) +/* 80310AFC 0030DA5C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80310B00 0030DA60 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80310B04 0030DA64 7C 9F 23 78 */ mr r31, r4 +/* 80310B08 0030DA68 93 C1 00 08 */ stw r30, 8(r1) +/* 80310B0C 0030DA6C 7C 7E 1B 78 */ mr r30, r3 +/* 80310B10 0030DA70 C0 44 00 00 */ lfs f2, 0(r4) +/* 80310B14 0030DA74 C0 64 00 10 */ lfs f3, 0x10(r4) +/* 80310B18 0030DA78 C0 24 00 20 */ lfs f1, 0x20(r4) +/* 80310B1C 0030DA7C EC 82 18 2A */ fadds f4, f2, f3 +/* 80310B20 0030DA80 EC A1 20 2A */ fadds f5, f1, f4 +/* 80310B24 0030DA84 FC 05 00 40 */ fcmpo cr0, f5, f0 +/* 80310B28 0030DA88 4C 41 13 82 */ cror 2, 1, 2 +/* 80310B2C 0030DA8C 40 82 00 58 */ bne lbl_80310B84 +/* 80310B30 0030DA90 C0 02 C8 64 */ lfs f0, lbl_805AE584@sda21(r2) +/* 80310B34 0030DA94 EC 20 28 2A */ fadds f1, f0, f5 +/* 80310B38 0030DA98 48 00 49 C9 */ bl SqrtF__5CMathFf +/* 80310B3C 0030DA9C C0 E2 C8 68 */ lfs f7, lbl_805AE588@sda21(r2) +/* 80310B40 0030DAA0 7F C3 F3 78 */ mr r3, r30 +/* 80310B44 0030DAA4 C0 DF 00 1C */ lfs f6, 0x1c(r31) +/* 80310B48 0030DAA8 ED 07 08 24 */ fdivs f8, f7, f1 +/* 80310B4C 0030DAAC C0 BF 00 14 */ lfs f5, 0x14(r31) +/* 80310B50 0030DAB0 C0 9F 00 08 */ lfs f4, 8(r31) +/* 80310B54 0030DAB4 C0 7F 00 18 */ lfs f3, 0x18(r31) +/* 80310B58 0030DAB8 C0 5F 00 0C */ lfs f2, 0xc(r31) +/* 80310B5C 0030DABC C0 1F 00 04 */ lfs f0, 4(r31) +/* 80310B60 0030DAC0 EC 64 18 28 */ fsubs f3, f4, f3 +/* 80310B64 0030DAC4 EC 02 00 28 */ fsubs f0, f2, f0 +/* 80310B68 0030DAC8 EC A6 28 28 */ fsubs f5, f6, f5 +/* 80310B6C 0030DACC EC 27 00 72 */ fmuls f1, f7, f1 +/* 80310B70 0030DAD0 EC 68 00 F2 */ fmuls f3, f8, f3 +/* 80310B74 0030DAD4 EC 48 01 72 */ fmuls f2, f8, f5 +/* 80310B78 0030DAD8 EC 88 00 32 */ fmuls f4, f8, f0 +/* 80310B7C 0030DADC 48 00 04 71 */ bl __ct__13CNUQuaternionFffff +/* 80310B80 0030DAE0 48 00 01 7C */ b lbl_80310CFC +lbl_80310B84: +/* 80310B84 0030DAE4 FC 03 10 40 */ fcmpo cr0, f3, f2 +/* 80310B88 0030DAE8 38 00 00 00 */ li r0, 0 +/* 80310B8C 0030DAEC 40 81 00 18 */ ble lbl_80310BA4 +/* 80310B90 0030DAF0 FC 01 18 40 */ fcmpo cr0, f1, f3 +/* 80310B94 0030DAF4 38 00 00 01 */ li r0, 1 +/* 80310B98 0030DAF8 40 81 00 18 */ ble lbl_80310BB0 +/* 80310B9C 0030DAFC 38 00 00 02 */ li r0, 2 +/* 80310BA0 0030DB00 48 00 00 10 */ b lbl_80310BB0 +lbl_80310BA4: +/* 80310BA4 0030DB04 FC 01 10 40 */ fcmpo cr0, f1, f2 +/* 80310BA8 0030DB08 40 81 00 08 */ ble lbl_80310BB0 +/* 80310BAC 0030DB0C 38 00 00 02 */ li r0, 2 +lbl_80310BB0: +/* 80310BB0 0030DB10 2C 00 00 01 */ cmpwi r0, 1 +/* 80310BB4 0030DB14 41 82 00 7C */ beq lbl_80310C30 +/* 80310BB8 0030DB18 40 80 00 10 */ bge lbl_80310BC8 +/* 80310BBC 0030DB1C 2C 00 00 00 */ cmpwi r0, 0 +/* 80310BC0 0030DB20 40 80 00 14 */ bge lbl_80310BD4 +/* 80310BC4 0030DB24 48 00 01 20 */ b lbl_80310CE4 +lbl_80310BC8: +/* 80310BC8 0030DB28 2C 00 00 03 */ cmpwi r0, 3 +/* 80310BCC 0030DB2C 40 80 01 18 */ bge lbl_80310CE4 +/* 80310BD0 0030DB30 48 00 00 BC */ b lbl_80310C8C +lbl_80310BD4: +/* 80310BD4 0030DB34 EC 03 08 2A */ fadds f0, f3, f1 +/* 80310BD8 0030DB38 C0 22 C8 64 */ lfs f1, lbl_805AE584@sda21(r2) +/* 80310BDC 0030DB3C EC 02 00 28 */ fsubs f0, f2, f0 +/* 80310BE0 0030DB40 EC 21 00 2A */ fadds f1, f1, f0 +/* 80310BE4 0030DB44 48 00 49 1D */ bl SqrtF__5CMathFf +/* 80310BE8 0030DB48 C0 42 C8 68 */ lfs f2, lbl_805AE588@sda21(r2) +/* 80310BEC 0030DB4C 7F C3 F3 78 */ mr r3, r30 +/* 80310BF0 0030DB50 C0 FF 00 1C */ lfs f7, 0x1c(r31) +/* 80310BF4 0030DB54 ED 02 08 24 */ fdivs f8, f2, f1 +/* 80310BF8 0030DB58 C0 DF 00 14 */ lfs f6, 0x14(r31) +/* 80310BFC 0030DB5C C0 BF 00 04 */ lfs f5, 4(r31) +/* 80310C00 0030DB60 C0 9F 00 0C */ lfs f4, 0xc(r31) +/* 80310C04 0030DB64 C0 7F 00 18 */ lfs f3, 0x18(r31) +/* 80310C08 0030DB68 C0 1F 00 08 */ lfs f0, 8(r31) +/* 80310C0C 0030DB6C EC 42 00 72 */ fmuls f2, f2, f1 +/* 80310C10 0030DB70 EC 27 30 28 */ fsubs f1, f7, f6 +/* 80310C14 0030DB74 EC 85 20 2A */ fadds f4, f5, f4 +/* 80310C18 0030DB78 EC 03 00 2A */ fadds f0, f3, f0 +/* 80310C1C 0030DB7C EC 28 00 72 */ fmuls f1, f8, f1 +/* 80310C20 0030DB80 EC 68 01 32 */ fmuls f3, f8, f4 +/* 80310C24 0030DB84 EC 88 00 32 */ fmuls f4, f8, f0 +/* 80310C28 0030DB88 48 00 03 C5 */ bl __ct__13CNUQuaternionFffff +/* 80310C2C 0030DB8C 48 00 00 D0 */ b lbl_80310CFC +lbl_80310C30: +/* 80310C30 0030DB90 EC 01 10 2A */ fadds f0, f1, f2 +/* 80310C34 0030DB94 C0 22 C8 64 */ lfs f1, lbl_805AE584@sda21(r2) +/* 80310C38 0030DB98 EC 03 00 28 */ fsubs f0, f3, f0 +/* 80310C3C 0030DB9C EC 21 00 2A */ fadds f1, f1, f0 +/* 80310C40 0030DBA0 48 00 48 C1 */ bl SqrtF__5CMathFf +/* 80310C44 0030DBA4 C0 62 C8 68 */ lfs f3, lbl_805AE588@sda21(r2) +/* 80310C48 0030DBA8 7F C3 F3 78 */ mr r3, r30 +/* 80310C4C 0030DBAC C0 FF 00 08 */ lfs f7, 8(r31) +/* 80310C50 0030DBB0 ED 03 08 24 */ fdivs f8, f3, f1 +/* 80310C54 0030DBB4 C0 DF 00 18 */ lfs f6, 0x18(r31) +/* 80310C58 0030DBB8 C0 BF 00 04 */ lfs f5, 4(r31) +/* 80310C5C 0030DBBC C0 9F 00 0C */ lfs f4, 0xc(r31) +/* 80310C60 0030DBC0 C0 5F 00 14 */ lfs f2, 0x14(r31) +/* 80310C64 0030DBC4 C0 1F 00 1C */ lfs f0, 0x1c(r31) +/* 80310C68 0030DBC8 EC 63 00 72 */ fmuls f3, f3, f1 +/* 80310C6C 0030DBCC EC 27 30 28 */ fsubs f1, f7, f6 +/* 80310C70 0030DBD0 EC 85 20 2A */ fadds f4, f5, f4 +/* 80310C74 0030DBD4 EC 02 00 2A */ fadds f0, f2, f0 +/* 80310C78 0030DBD8 EC 28 00 72 */ fmuls f1, f8, f1 +/* 80310C7C 0030DBDC EC 48 01 32 */ fmuls f2, f8, f4 +/* 80310C80 0030DBE0 EC 88 00 32 */ fmuls f4, f8, f0 +/* 80310C84 0030DBE4 48 00 03 69 */ bl __ct__13CNUQuaternionFffff +/* 80310C88 0030DBE8 48 00 00 74 */ b lbl_80310CFC +lbl_80310C8C: +/* 80310C8C 0030DBEC EC 01 20 28 */ fsubs f0, f1, f4 +/* 80310C90 0030DBF0 C0 22 C8 64 */ lfs f1, lbl_805AE584@sda21(r2) +/* 80310C94 0030DBF4 EC 21 00 2A */ fadds f1, f1, f0 +/* 80310C98 0030DBF8 48 00 48 69 */ bl SqrtF__5CMathFf +/* 80310C9C 0030DBFC C0 82 C8 68 */ lfs f4, lbl_805AE588@sda21(r2) +/* 80310CA0 0030DC00 7F C3 F3 78 */ mr r3, r30 +/* 80310CA4 0030DC04 C0 FF 00 0C */ lfs f7, 0xc(r31) +/* 80310CA8 0030DC08 ED 04 08 24 */ fdivs f8, f4, f1 +/* 80310CAC 0030DC0C C0 DF 00 04 */ lfs f6, 4(r31) +/* 80310CB0 0030DC10 C0 BF 00 18 */ lfs f5, 0x18(r31) +/* 80310CB4 0030DC14 C0 7F 00 08 */ lfs f3, 8(r31) +/* 80310CB8 0030DC18 C0 5F 00 14 */ lfs f2, 0x14(r31) +/* 80310CBC 0030DC1C C0 1F 00 1C */ lfs f0, 0x1c(r31) +/* 80310CC0 0030DC20 EC 84 00 72 */ fmuls f4, f4, f1 +/* 80310CC4 0030DC24 EC 27 30 28 */ fsubs f1, f7, f6 +/* 80310CC8 0030DC28 EC 65 18 2A */ fadds f3, f5, f3 +/* 80310CCC 0030DC2C EC 02 00 2A */ fadds f0, f2, f0 +/* 80310CD0 0030DC30 EC 28 00 72 */ fmuls f1, f8, f1 +/* 80310CD4 0030DC34 EC 48 00 F2 */ fmuls f2, f8, f3 +/* 80310CD8 0030DC38 EC 68 00 32 */ fmuls f3, f8, f0 +/* 80310CDC 0030DC3C 48 00 03 11 */ bl __ct__13CNUQuaternionFffff +/* 80310CE0 0030DC40 48 00 00 1C */ b lbl_80310CFC +lbl_80310CE4: +/* 80310CE4 0030DC44 C0 22 C8 60 */ lfs f1, lbl_805AE580@sda21(r2) +/* 80310CE8 0030DC48 7F C3 F3 78 */ mr r3, r30 +/* 80310CEC 0030DC4C FC 40 08 90 */ fmr f2, f1 +/* 80310CF0 0030DC50 FC 60 08 90 */ fmr f3, f1 +/* 80310CF4 0030DC54 FC 80 08 90 */ fmr f4, f1 +/* 80310CF8 0030DC58 48 00 02 F5 */ bl __ct__13CNUQuaternionFffff +lbl_80310CFC: +/* 80310CFC 0030DC5C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80310D00 0030DC60 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80310D04 0030DC64 83 C1 00 08 */ lwz r30, 8(r1) +/* 80310D08 0030DC68 7C 08 03 A6 */ mtlr r0 +/* 80310D0C 0030DC6C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80310D10 0030DC70 4E 80 00 20 */ blr + +.global BuildFromQuaternion__13CNUQuaternionFRC11CQuaternion +BuildFromQuaternion__13CNUQuaternionFRC11CQuaternion: +/* 80310D14 0030DC74 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80310D18 0030DC78 7C 08 02 A6 */ mflr r0 +/* 80310D1C 0030DC7C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80310D20 0030DC80 C0 24 00 00 */ lfs f1, 0(r4) +/* 80310D24 0030DC84 38 84 00 04 */ addi r4, r4, 4 +/* 80310D28 0030DC88 48 00 02 D9 */ bl __ct__13CNUQuaternionFfRC9CVector3f +/* 80310D2C 0030DC8C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80310D30 0030DC90 7C 08 03 A6 */ mtlr r0 +/* 80310D34 0030DC94 38 21 00 10 */ addi r1, r1, 0x10 +/* 80310D38 0030DC98 4E 80 00 20 */ blr + +.global BuildFromAxisAngle__13CNUQuaternionFRC9CVector3ff +BuildFromAxisAngle__13CNUQuaternionFRC9CVector3ff: +/* 80310D3C 0030DC9C 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 80310D40 0030DCA0 7C 08 02 A6 */ mflr r0 +/* 80310D44 0030DCA4 90 01 00 54 */ stw r0, 0x54(r1) +/* 80310D48 0030DCA8 DB E1 00 40 */ stfd f31, 0x40(r1) +/* 80310D4C 0030DCAC F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 +/* 80310D50 0030DCB0 DB C1 00 30 */ stfd f30, 0x30(r1) +/* 80310D54 0030DCB4 F3 C1 00 38 */ psq_st f30, 56(r1), 0, qr0 +/* 80310D58 0030DCB8 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80310D5C 0030DCBC 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80310D60 0030DCC0 C0 02 C8 68 */ lfs f0, lbl_805AE588@sda21(r2) +/* 80310D64 0030DCC4 7C 7E 1B 78 */ mr r30, r3 +/* 80310D68 0030DCC8 7C 9F 23 78 */ mr r31, r4 +/* 80310D6C 0030DCCC EF C1 00 32 */ fmuls f30, f1, f0 +/* 80310D70 0030DCD0 FC 20 F0 90 */ fmr f1, f30 +/* 80310D74 0030DCD4 48 00 45 95 */ bl SlowSineR__5CMathFf +/* 80310D78 0030DCD8 FF E0 08 90 */ fmr f31, f1 +/* 80310D7C 0030DCDC 7F E4 FB 78 */ mr r4, r31 +/* 80310D80 0030DCE0 38 61 00 08 */ addi r3, r1, 8 +/* 80310D84 0030DCE4 48 00 3A CD */ bl AsNormalized__9CVector3fCFv +/* 80310D88 0030DCE8 C0 61 00 08 */ lfs f3, 8(r1) +/* 80310D8C 0030DCEC FC 20 F0 90 */ fmr f1, f30 +/* 80310D90 0030DCF0 C0 41 00 0C */ lfs f2, 0xc(r1) +/* 80310D94 0030DCF4 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 80310D98 0030DCF8 EC 7F 00 F2 */ fmuls f3, f31, f3 +/* 80310D9C 0030DCFC EC 5F 00 B2 */ fmuls f2, f31, f2 +/* 80310DA0 0030DD00 EC 1F 00 32 */ fmuls f0, f31, f0 +/* 80310DA4 0030DD04 D0 61 00 14 */ stfs f3, 0x14(r1) +/* 80310DA8 0030DD08 D0 41 00 18 */ stfs f2, 0x18(r1) +/* 80310DAC 0030DD0C D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 80310DB0 0030DD10 48 00 45 35 */ bl SlowCosineR__5CMathFf +/* 80310DB4 0030DD14 7F C3 F3 78 */ mr r3, r30 +/* 80310DB8 0030DD18 38 81 00 14 */ addi r4, r1, 0x14 +/* 80310DBC 0030DD1C 48 00 02 45 */ bl __ct__13CNUQuaternionFfRC9CVector3f +/* 80310DC0 0030DD20 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 +/* 80310DC4 0030DD24 CB E1 00 40 */ lfd f31, 0x40(r1) +/* 80310DC8 0030DD28 E3 C1 00 38 */ psq_l f30, 56(r1), 0, qr0 +/* 80310DCC 0030DD2C CB C1 00 30 */ lfd f30, 0x30(r1) +/* 80310DD0 0030DD30 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80310DD4 0030DD34 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80310DD8 0030DD38 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80310DDC 0030DD3C 7C 08 03 A6 */ mtlr r0 +/* 80310DE0 0030DD40 38 21 00 50 */ addi r1, r1, 0x50 +/* 80310DE4 0030DD44 4E 80 00 20 */ blr + +.global AsNormalized__13CNUQuaternionCFv +AsNormalized__13CNUQuaternionCFv: +/* 80310DE8 0030DD48 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80310DEC 0030DD4C 7C 08 02 A6 */ mflr r0 +/* 80310DF0 0030DD50 90 01 00 34 */ stw r0, 0x34(r1) +/* 80310DF4 0030DD54 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80310DF8 0030DD58 7C 9F 23 78 */ mr r31, r4 +/* 80310DFC 0030DD5C 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80310E00 0030DD60 7C 7E 1B 78 */ mr r30, r3 +/* 80310E04 0030DD64 C0 24 00 04 */ lfs f1, 4(r4) +/* 80310E08 0030DD68 C0 04 00 08 */ lfs f0, 8(r4) +/* 80310E0C 0030DD6C EC 21 00 72 */ fmuls f1, f1, f1 +/* 80310E10 0030DD70 C0 44 00 0C */ lfs f2, 0xc(r4) +/* 80310E14 0030DD74 EC 00 00 32 */ fmuls f0, f0, f0 +/* 80310E18 0030DD78 C0 64 00 00 */ lfs f3, 0(r4) +/* 80310E1C 0030DD7C EC 42 00 B2 */ fmuls f2, f2, f2 +/* 80310E20 0030DD80 EC 63 00 F2 */ fmuls f3, f3, f3 +/* 80310E24 0030DD84 EC 01 00 2A */ fadds f0, f1, f0 +/* 80310E28 0030DD88 EC 02 00 2A */ fadds f0, f2, f0 +/* 80310E2C 0030DD8C EC 23 00 2A */ fadds f1, f3, f0 +/* 80310E30 0030DD90 48 00 45 A9 */ bl InvSqrtF__5CMathFf +/* 80310E34 0030DD94 C0 BF 00 04 */ lfs f5, 4(r31) +/* 80310E38 0030DD98 7F C3 F3 78 */ mr r3, r30 +/* 80310E3C 0030DD9C C0 9F 00 08 */ lfs f4, 8(r31) +/* 80310E40 0030DDA0 38 81 00 14 */ addi r4, r1, 0x14 +/* 80310E44 0030DDA4 C0 7F 00 0C */ lfs f3, 0xc(r31) +/* 80310E48 0030DDA8 EC 41 01 72 */ fmuls f2, f1, f5 +/* 80310E4C 0030DDAC EC E1 01 32 */ fmuls f7, f1, f4 +/* 80310E50 0030DDB0 C0 1F 00 00 */ lfs f0, 0(r31) +/* 80310E54 0030DDB4 EC C1 00 F2 */ fmuls f6, f1, f3 +/* 80310E58 0030DDB8 D0 A1 00 08 */ stfs f5, 8(r1) +/* 80310E5C 0030DDBC EC 21 00 32 */ fmuls f1, f1, f0 +/* 80310E60 0030DDC0 D0 81 00 0C */ stfs f4, 0xc(r1) +/* 80310E64 0030DDC4 D0 61 00 10 */ stfs f3, 0x10(r1) +/* 80310E68 0030DDC8 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 80310E6C 0030DDCC D0 E1 00 18 */ stfs f7, 0x18(r1) +/* 80310E70 0030DDD0 D0 C1 00 1C */ stfs f6, 0x1c(r1) +/* 80310E74 0030DDD4 48 00 01 8D */ bl __ct__13CNUQuaternionFfRC9CVector3f +/* 80310E78 0030DDD8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80310E7C 0030DDDC 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80310E80 0030DDE0 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80310E84 0030DDE4 7C 08 03 A6 */ mtlr r0 +/* 80310E88 0030DDE8 38 21 00 30 */ addi r1, r1, 0x30 +/* 80310E8C 0030DDEC 4E 80 00 20 */ blr + +.global __apl__13CNUQuaternionFRC13CNUQuaternion +__apl__13CNUQuaternionFRC13CNUQuaternion: +/* 80310E90 0030DDF0 C0 23 00 00 */ lfs f1, 0(r3) +/* 80310E94 0030DDF4 C0 04 00 00 */ lfs f0, 0(r4) +/* 80310E98 0030DDF8 EC 01 00 2A */ fadds f0, f1, f0 +/* 80310E9C 0030DDFC D0 03 00 00 */ stfs f0, 0(r3) +/* 80310EA0 0030DE00 C0 23 00 04 */ lfs f1, 4(r3) +/* 80310EA4 0030DE04 C0 04 00 04 */ lfs f0, 4(r4) +/* 80310EA8 0030DE08 EC 01 00 2A */ fadds f0, f1, f0 +/* 80310EAC 0030DE0C D0 03 00 04 */ stfs f0, 4(r3) +/* 80310EB0 0030DE10 C0 23 00 08 */ lfs f1, 8(r3) +/* 80310EB4 0030DE14 C0 04 00 08 */ lfs f0, 8(r4) +/* 80310EB8 0030DE18 EC 01 00 2A */ fadds f0, f1, f0 +/* 80310EBC 0030DE1C D0 03 00 08 */ stfs f0, 8(r3) +/* 80310EC0 0030DE20 C0 23 00 0C */ lfs f1, 0xc(r3) +/* 80310EC4 0030DE24 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 80310EC8 0030DE28 EC 01 00 2A */ fadds f0, f1, f0 +/* 80310ECC 0030DE2C D0 03 00 0C */ stfs f0, 0xc(r3) +/* 80310ED0 0030DE30 4E 80 00 20 */ blr + +.global __ml__13CNUQuaternionCFRC13CNUQuaternion +__ml__13CNUQuaternionCFRC13CNUQuaternion: +/* 80310ED4 0030DE34 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 80310ED8 0030DE38 7C 08 02 A6 */ mflr r0 +/* 80310EDC 0030DE3C 90 01 00 94 */ stw r0, 0x94(r1) +/* 80310EE0 0030DE40 DB E1 00 80 */ stfd f31, 0x80(r1) +/* 80310EE4 0030DE44 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 +/* 80310EE8 0030DE48 DB C1 00 70 */ stfd f30, 0x70(r1) +/* 80310EEC 0030DE4C F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 +/* 80310EF0 0030DE50 DB A1 00 60 */ stfd f29, 0x60(r1) +/* 80310EF4 0030DE54 F3 A1 00 68 */ psq_st f29, 104(r1), 0, qr0 +/* 80310EF8 0030DE58 DB 81 00 50 */ stfd f28, 0x50(r1) +/* 80310EFC 0030DE5C F3 81 00 58 */ psq_st f28, 88(r1), 0, qr0 +/* 80310F00 0030DE60 C1 84 00 08 */ lfs f12, 8(r4) +/* 80310F04 0030DE64 C3 A5 00 08 */ lfs f29, 8(r5) +/* 80310F08 0030DE68 C3 E4 00 0C */ lfs f31, 0xc(r4) +/* 80310F0C 0030DE6C C1 65 00 00 */ lfs f11, 0(r5) +/* 80310F10 0030DE70 EC 0C 07 72 */ fmuls f0, f12, f29 +/* 80310F14 0030DE74 C1 A4 00 04 */ lfs f13, 4(r4) +/* 80310F18 0030DE78 ED 3D 07 F2 */ fmuls f9, f29, f31 +/* 80310F1C 0030DE7C C3 C5 00 04 */ lfs f30, 4(r5) +/* 80310F20 0030DE80 EC CB 03 32 */ fmuls f6, f11, f12 +/* 80310F24 0030DE84 C1 44 00 00 */ lfs f10, 0(r4) +/* 80310F28 0030DE88 C3 85 00 0C */ lfs f28, 0xc(r5) +/* 80310F2C 0030DE8C EC FE 03 32 */ fmuls f7, f30, f12 +/* 80310F30 0030DE90 EC 2A 07 72 */ fmuls f1, f10, f29 +/* 80310F34 0030DE94 D0 C1 00 18 */ stfs f6, 0x18(r1) +/* 80310F38 0030DE98 ED 1C 03 72 */ fmuls f8, f28, f13 +/* 80310F3C 0030DE9C 38 81 00 38 */ addi r4, r1, 0x38 +/* 80310F40 0030DEA0 EC 6B 03 72 */ fmuls f3, f11, f13 +/* 80310F44 0030DEA4 EC AA 07 B2 */ fmuls f5, f10, f30 +/* 80310F48 0030DEA8 EC 4B 07 F2 */ fmuls f2, f11, f31 +/* 80310F4C 0030DEAC D0 21 00 24 */ stfs f1, 0x24(r1) +/* 80310F50 0030DEB0 EC 8A 07 32 */ fmuls f4, f10, f28 +/* 80310F54 0030DEB4 EC 0D 07 BA */ fmadds f0, f13, f30, f0 +/* 80310F58 0030DEB8 D0 61 00 14 */ stfs f3, 0x14(r1) +/* 80310F5C 0030DEBC ED 2C 4F 38 */ fmsubs f9, f12, f28, f9 +/* 80310F60 0030DEC0 EC 65 18 2A */ fadds f3, f5, f3 +/* 80310F64 0030DEC4 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 80310F68 0030DEC8 ED 1F 47 B8 */ fmsubs f8, f31, f30, f8 +/* 80310F6C 0030DECC ED 81 30 2A */ fadds f12, f1, f6 +/* 80310F70 0030DED0 D1 21 00 08 */ stfs f9, 8(r1) +/* 80310F74 0030DED4 EC 2D 3F 78 */ fmsubs f1, f13, f29, f7 +/* 80310F78 0030DED8 EC C4 10 2A */ fadds f6, f4, f2 +/* 80310F7C 0030DEDC D1 01 00 0C */ stfs f8, 0xc(r1) +/* 80310F80 0030DEE0 EC 1F 07 3A */ fmadds f0, f31, f28, f0 +/* 80310F84 0030DEE4 ED 0C 40 2A */ fadds f8, f12, f8 +/* 80310F88 0030DEE8 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 80310F8C 0030DEEC EC E6 08 2A */ fadds f7, f6, f1 +/* 80310F90 0030DEF0 EC 43 48 2A */ fadds f2, f3, f9 +/* 80310F94 0030DEF4 D0 A1 00 20 */ stfs f5, 0x20(r1) +/* 80310F98 0030DEF8 EC 2A 02 F8 */ fmsubs f1, f10, f11, f0 +/* 80310F9C 0030DEFC D0 81 00 28 */ stfs f4, 0x28(r1) +/* 80310FA0 0030DF00 D0 61 00 2C */ stfs f3, 0x2c(r1) +/* 80310FA4 0030DF04 D1 81 00 30 */ stfs f12, 0x30(r1) +/* 80310FA8 0030DF08 D0 C1 00 34 */ stfs f6, 0x34(r1) +/* 80310FAC 0030DF0C D0 41 00 38 */ stfs f2, 0x38(r1) +/* 80310FB0 0030DF10 D1 01 00 3C */ stfs f8, 0x3c(r1) +/* 80310FB4 0030DF14 D0 E1 00 40 */ stfs f7, 0x40(r1) +/* 80310FB8 0030DF18 48 00 00 49 */ bl __ct__13CNUQuaternionFfRC9CVector3f +/* 80310FBC 0030DF1C E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 +/* 80310FC0 0030DF20 CB E1 00 80 */ lfd f31, 0x80(r1) +/* 80310FC4 0030DF24 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 +/* 80310FC8 0030DF28 CB C1 00 70 */ lfd f30, 0x70(r1) +/* 80310FCC 0030DF2C E3 A1 00 68 */ psq_l f29, 104(r1), 0, qr0 +/* 80310FD0 0030DF30 CB A1 00 60 */ lfd f29, 0x60(r1) +/* 80310FD4 0030DF34 E3 81 00 58 */ psq_l f28, 88(r1), 0, qr0 +/* 80310FD8 0030DF38 80 01 00 94 */ lwz r0, 0x94(r1) +/* 80310FDC 0030DF3C CB 81 00 50 */ lfd f28, 0x50(r1) +/* 80310FE0 0030DF40 7C 08 03 A6 */ mtlr r0 +/* 80310FE4 0030DF44 38 21 00 90 */ addi r1, r1, 0x90 +/* 80310FE8 0030DF48 4E 80 00 20 */ blr + +.global __ct__13CNUQuaternionFffff +__ct__13CNUQuaternionFffff: +/* 80310FEC 0030DF4C D0 23 00 00 */ stfs f1, 0(r3) +/* 80310FF0 0030DF50 D0 43 00 04 */ stfs f2, 4(r3) +/* 80310FF4 0030DF54 D0 63 00 08 */ stfs f3, 8(r3) +/* 80310FF8 0030DF58 D0 83 00 0C */ stfs f4, 0xc(r3) +/* 80310FFC 0030DF5C 4E 80 00 20 */ blr + +.global __ct__13CNUQuaternionFfRC9CVector3f +__ct__13CNUQuaternionFfRC9CVector3f: +/* 80311000 0030DF60 D0 23 00 00 */ stfs f1, 0(r3) +/* 80311004 0030DF64 C0 04 00 00 */ lfs f0, 0(r4) +/* 80311008 0030DF68 D0 03 00 04 */ stfs f0, 4(r3) +/* 8031100C 0030DF6C C0 04 00 04 */ lfs f0, 4(r4) +/* 80311010 0030DF70 D0 03 00 08 */ stfs f0, 8(r3) +/* 80311014 0030DF74 C0 04 00 08 */ lfs f0, 8(r4) +/* 80311018 0030DF78 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 8031101C 0030DF7C 4E 80 00 20 */ blr + +.global ClampedRotateTo__11CQuaternionFRC10UnitVectorRC10UnitVectorRC9CRelAngle +ClampedRotateTo__11CQuaternionFRC10UnitVectorRC10UnitVectorRC9CRelAngle: +/* 80311020 0030DF80 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80311024 0030DF84 7C 08 02 A6 */ mflr r0 +/* 80311028 0030DF88 90 01 00 64 */ stw r0, 0x64(r1) +/* 8031102C 0030DF8C DB E1 00 50 */ stfd f31, 0x50(r1) +/* 80311030 0030DF90 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 +/* 80311034 0030DF94 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 80311038 0030DF98 93 C1 00 48 */ stw r30, 0x48(r1) +/* 8031103C 0030DF9C 93 A1 00 44 */ stw r29, 0x44(r1) +/* 80311040 0030DFA0 7C 7D 1B 78 */ mr r29, r3 +/* 80311044 0030DFA4 7C DE 33 78 */ mr r30, r6 +/* 80311048 0030DFA8 38 61 00 14 */ addi r3, r1, 0x14 +/* 8031104C 0030DFAC 48 00 0A 6D */ bl ShortestRotationArc__11CQuaternionFRC9CVector3fRC9CVector3f +/* 80311050 0030DFB0 C0 21 00 14 */ lfs f1, 0x14(r1) +/* 80311054 0030DFB4 3B E1 00 28 */ addi r31, r1, 0x28 +/* 80311058 0030DFB8 C0 61 00 18 */ lfs f3, 0x18(r1) +/* 8031105C 0030DFBC C0 41 00 1C */ lfs f2, 0x1c(r1) +/* 80311060 0030DFC0 C0 01 00 20 */ lfs f0, 0x20(r1) +/* 80311064 0030DFC4 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 80311068 0030DFC8 C3 FE 00 00 */ lfs f31, 0(r30) +/* 8031106C 0030DFCC D0 61 00 28 */ stfs f3, 0x28(r1) +/* 80311070 0030DFD0 D0 41 00 2C */ stfs f2, 0x2c(r1) +/* 80311074 0030DFD4 D0 01 00 30 */ stfs f0, 0x30(r1) +/* 80311078 0030DFD8 48 08 3B B5 */ bl acos +/* 8031107C 0030DFDC FC 20 08 18 */ frsp f1, f1 +/* 80311080 0030DFE0 C0 02 C8 70 */ lfs f0, lbl_805AE590@sda21(r2) +/* 80311084 0030DFE4 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80311088 0030DFE8 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 8031108C 0030DFEC 4C 41 13 82 */ cror 2, 1, 2 +/* 80311090 0030DFF0 40 82 00 28 */ bne lbl_803110B8 +/* 80311094 0030DFF4 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 80311098 0030DFF8 D0 1D 00 00 */ stfs f0, 0(r29) +/* 8031109C 0030DFFC C0 01 00 28 */ lfs f0, 0x28(r1) +/* 803110A0 0030E000 D0 1D 00 04 */ stfs f0, 4(r29) +/* 803110A4 0030E004 C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 803110A8 0030E008 D0 1D 00 08 */ stfs f0, 8(r29) +/* 803110AC 0030E00C C0 01 00 30 */ lfs f0, 0x30(r1) +/* 803110B0 0030E010 D0 1D 00 0C */ stfs f0, 0xc(r29) +/* 803110B4 0030E014 48 00 00 20 */ b lbl_803110D4 +lbl_803110B8: +/* 803110B8 0030E018 7F E4 FB 78 */ mr r4, r31 +/* 803110BC 0030E01C 38 61 00 08 */ addi r3, r1, 8 +/* 803110C0 0030E020 48 00 2D 11 */ bl __ct__13CUnitVector3fFRC9CVector3f +/* 803110C4 0030E024 7C 64 1B 78 */ mr r4, r3 +/* 803110C8 0030E028 7F A3 EB 78 */ mr r3, r29 +/* 803110CC 0030E02C 7F C5 F3 78 */ mr r5, r30 +/* 803110D0 0030E030 48 00 02 25 */ bl AxisAngle__11CQuaternionFRC13CUnitVector3fRC9CRelAngle +lbl_803110D4: +/* 803110D4 0030E034 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 +/* 803110D8 0030E038 80 01 00 64 */ lwz r0, 0x64(r1) +/* 803110DC 0030E03C CB E1 00 50 */ lfd f31, 0x50(r1) +/* 803110E0 0030E040 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 803110E4 0030E044 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 803110E8 0030E048 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 803110EC 0030E04C 7C 08 03 A6 */ mtlr r0 +/* 803110F0 0030E050 38 21 00 60 */ addi r1, r1, 0x60 +/* 803110F4 0030E054 4E 80 00 20 */ blr + +.global ZRotation__11CQuaternionFRC9CRelAngle +ZRotation__11CQuaternionFRC9CRelAngle: +/* 803110F8 0030E058 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803110FC 0030E05C 7C 08 02 A6 */ mflr r0 +/* 80311100 0030E060 3C C0 80 4C */ lis r6, lbl_804BFD48@ha +/* 80311104 0030E064 7C 85 23 78 */ mr r5, r4 +/* 80311108 0030E068 90 01 00 14 */ stw r0, 0x14(r1) +/* 8031110C 0030E06C 38 86 FD 48 */ addi r4, r6, lbl_804BFD48@l +/* 80311110 0030E070 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80311114 0030E074 7C 7F 1B 78 */ mr r31, r3 +/* 80311118 0030E078 48 00 01 DD */ bl AxisAngle__11CQuaternionFRC13CUnitVector3fRC9CRelAngle +/* 8031111C 0030E07C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80311120 0030E080 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80311124 0030E084 7C 08 03 A6 */ mtlr r0 +/* 80311128 0030E088 38 21 00 10 */ addi r1, r1, 0x10 +/* 8031112C 0030E08C 4E 80 00 20 */ blr + +.global YRotation__11CQuaternionFRC9CRelAngle +YRotation__11CQuaternionFRC9CRelAngle: +/* 80311130 0030E090 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80311134 0030E094 7C 08 02 A6 */ mflr r0 +/* 80311138 0030E098 3C C0 80 4C */ lis r6, lbl_804BFD3C@ha +/* 8031113C 0030E09C 7C 85 23 78 */ mr r5, r4 +/* 80311140 0030E0A0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80311144 0030E0A4 38 86 FD 3C */ addi r4, r6, lbl_804BFD3C@l +/* 80311148 0030E0A8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8031114C 0030E0AC 7C 7F 1B 78 */ mr r31, r3 +/* 80311150 0030E0B0 48 00 01 A5 */ bl AxisAngle__11CQuaternionFRC13CUnitVector3fRC9CRelAngle +/* 80311154 0030E0B4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80311158 0030E0B8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8031115C 0030E0BC 7C 08 03 A6 */ mtlr r0 +/* 80311160 0030E0C0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80311164 0030E0C4 4E 80 00 20 */ blr + +.global XRotation__11CQuaternionFRC9CRelAngle +XRotation__11CQuaternionFRC9CRelAngle: +/* 80311168 0030E0C8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8031116C 0030E0CC 7C 08 02 A6 */ mflr r0 +/* 80311170 0030E0D0 3C C0 80 4C */ lis r6, lbl_804BFD30@ha +/* 80311174 0030E0D4 7C 85 23 78 */ mr r5, r4 +/* 80311178 0030E0D8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8031117C 0030E0DC 38 86 FD 30 */ addi r4, r6, lbl_804BFD30@l +/* 80311180 0030E0E0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80311184 0030E0E4 7C 7F 1B 78 */ mr r31, r3 +/* 80311188 0030E0E8 48 00 01 6D */ bl AxisAngle__11CQuaternionFRC13CUnitVector3fRC9CRelAngle +/* 8031118C 0030E0EC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80311190 0030E0F0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80311194 0030E0F4 7C 08 03 A6 */ mtlr r0 +/* 80311198 0030E0F8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8031119C 0030E0FC 4E 80 00 20 */ blr + +.global __ml__11CQuaternionCFRC11CQuaternion +__ml__11CQuaternionCFRC11CQuaternion: +/* 803111A0 0030E100 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 803111A4 0030E104 DB E1 00 30 */ stfd f31, 0x30(r1) +/* 803111A8 0030E108 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 803111AC 0030E10C DB C1 00 20 */ stfd f30, 0x20(r1) +/* 803111B0 0030E110 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 +/* 803111B4 0030E114 DB A1 00 10 */ stfd f29, 0x10(r1) +/* 803111B8 0030E118 F3 A1 00 18 */ psq_st f29, 24(r1), 0, qr0 +/* 803111BC 0030E11C C1 84 00 08 */ lfs f12, 8(r4) +/* 803111C0 0030E120 C3 C5 00 08 */ lfs f30, 8(r5) +/* 803111C4 0030E124 C3 E5 00 04 */ lfs f31, 4(r5) +/* 803111C8 0030E128 EC 2C 07 B2 */ fmuls f1, f12, f30 +/* 803111CC 0030E12C C1 64 00 04 */ lfs f11, 4(r4) +/* 803111D0 0030E130 C1 24 00 00 */ lfs f9, 0(r4) +/* 803111D4 0030E134 EC 1F 03 32 */ fmuls f0, f31, f12 +/* 803111D8 0030E138 C1 45 00 00 */ lfs f10, 0(r5) +/* 803111DC 0030E13C C1 A4 00 0C */ lfs f13, 0xc(r4) +/* 803111E0 0030E140 C3 A5 00 0C */ lfs f29, 0xc(r5) +/* 803111E4 0030E144 EC 4B 0F FA */ fmadds f2, f11, f31, f1 +/* 803111E8 0030E148 EC 3E 03 72 */ fmuls f1, f30, f13 +/* 803111EC 0030E14C EC 7D 02 F2 */ fmuls f3, f29, f11 +/* 803111F0 0030E150 EC 8D 17 7A */ fmadds f4, f13, f29, f2 +/* 803111F4 0030E154 EC C9 07 F2 */ fmuls f6, f9, f31 +/* 803111F8 0030E158 EC 4A 02 F2 */ fmuls f2, f10, f11 +/* 803111FC 0030E15C ED 09 22 B8 */ fmsubs f8, f9, f10, f4 +/* 80311200 0030E160 EC A9 07 B2 */ fmuls f5, f9, f30 +/* 80311204 0030E164 EC 8A 03 32 */ fmuls f4, f10, f12 +/* 80311208 0030E168 EC E6 10 2A */ fadds f7, f6, f2 +/* 8031120C 0030E16C D1 03 00 00 */ stfs f8, 0(r3) +/* 80311210 0030E170 EC CC 0F 78 */ fmsubs f6, f12, f29, f1 +/* 80311214 0030E174 EC 49 07 72 */ fmuls f2, f9, f29 +/* 80311218 0030E178 EC 2A 03 72 */ fmuls f1, f10, f13 +/* 8031121C 0030E17C EC C7 30 2A */ fadds f6, f7, f6 +/* 80311220 0030E180 EC 85 20 2A */ fadds f4, f5, f4 +/* 80311224 0030E184 EC 6D 1F F8 */ fmsubs f3, f13, f31, f3 +/* 80311228 0030E188 EC 22 08 2A */ fadds f1, f2, f1 +/* 8031122C 0030E18C D0 C3 00 04 */ stfs f6, 4(r3) +/* 80311230 0030E190 EC 0B 07 B8 */ fmsubs f0, f11, f30, f0 +/* 80311234 0030E194 EC 44 18 2A */ fadds f2, f4, f3 +/* 80311238 0030E198 EC 01 00 2A */ fadds f0, f1, f0 +/* 8031123C 0030E19C D0 43 00 08 */ stfs f2, 8(r3) +/* 80311240 0030E1A0 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 80311244 0030E1A4 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 80311248 0030E1A8 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 8031124C 0030E1AC E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 +/* 80311250 0030E1B0 CB C1 00 20 */ lfd f30, 0x20(r1) +/* 80311254 0030E1B4 E3 A1 00 18 */ psq_l f29, 24(r1), 0, qr0 +/* 80311258 0030E1B8 CB A1 00 10 */ lfd f29, 0x10(r1) +/* 8031125C 0030E1BC 38 21 00 40 */ addi r1, r1, 0x40 +/* 80311260 0030E1C0 4E 80 00 20 */ blr + +.global Transform__11CQuaternionCFRC9CVector3f +Transform__11CQuaternionCFRC9CVector3f: +/* 80311264 0030E1C4 C0 C4 00 08 */ lfs f6, 8(r4) +/* 80311268 0030E1C8 C0 85 00 04 */ lfs f4, 4(r5) +/* 8031126C 0030E1CC C1 04 00 04 */ lfs f8, 4(r4) +/* 80311270 0030E1D0 EC 06 01 32 */ fmuls f0, f6, f4 +/* 80311274 0030E1D4 C0 E5 00 00 */ lfs f7, 0(r5) +/* 80311278 0030E1D8 C1 24 00 0C */ lfs f9, 0xc(r4) +/* 8031127C 0030E1DC EC 48 01 32 */ fmuls f2, f8, f4 +/* 80311280 0030E1E0 C0 A5 00 08 */ lfs f5, 8(r5) +/* 80311284 0030E1E4 EC 68 01 FA */ fmadds f3, f8, f7, f0 +/* 80311288 0030E1E8 C1 44 00 00 */ lfs f10, 0(r4) +/* 8031128C 0030E1EC EC 06 01 72 */ fmuls f0, f6, f5 +/* 80311290 0030E1F0 EC 29 01 F2 */ fmuls f1, f9, f7 +/* 80311294 0030E1F4 EC 69 19 7A */ fmadds f3, f9, f5, f3 +/* 80311298 0030E1F8 EC 0A 01 FA */ fmadds f0, f10, f7, f0 +/* 8031129C 0030E1FC EC 2A 09 3A */ fmadds f1, f10, f4, f1 +/* 803112A0 0030E200 FD 60 18 50 */ fneg f11, f3 +/* 803112A4 0030E204 EC 6A 11 7A */ fmadds f3, f10, f5, f2 +/* 803112A8 0030E208 EC 84 02 7C */ fnmsubs f4, f4, f9, f0 +/* 803112AC 0030E20C EC 0B 02 32 */ fmuls f0, f11, f8 +/* 803112B0 0030E210 EC A5 0A 3C */ fnmsubs f5, f5, f8, f1 +/* 803112B4 0030E214 EC 2B 01 B2 */ fmuls f1, f11, f6 +/* 803112B8 0030E218 EC 4A 01 38 */ fmsubs f2, f10, f4, f0 +/* 803112BC 0030E21C EC 67 19 BC */ fnmsubs f3, f7, f6, f3 +/* 803112C0 0030E220 EC 0B 02 72 */ fmuls f0, f11, f9 +/* 803112C4 0030E224 EC 2A 09 78 */ fmsubs f1, f10, f5, f1 +/* 803112C8 0030E228 EC 45 12 7C */ fnmsubs f2, f5, f9, f2 +/* 803112CC 0030E22C EC 0A 00 F8 */ fmsubs f0, f10, f3, f0 +/* 803112D0 0030E230 EC 23 0A 3C */ fnmsubs f1, f3, f8, f1 +/* 803112D4 0030E234 EC 46 10 FA */ fmadds f2, f6, f3, f2 +/* 803112D8 0030E238 EC 04 01 BC */ fnmsubs f0, f4, f6, f0 +/* 803112DC 0030E23C EC 29 09 3A */ fmadds f1, f9, f4, f1 +/* 803112E0 0030E240 D0 43 00 00 */ stfs f2, 0(r3) +/* 803112E4 0030E244 EC 08 01 7A */ fmadds f0, f8, f5, f0 +/* 803112E8 0030E248 D0 23 00 04 */ stfs f1, 4(r3) +/* 803112EC 0030E24C D0 03 00 08 */ stfs f0, 8(r3) +/* 803112F0 0030E250 4E 80 00 20 */ blr + +.global AxisAngle__11CQuaternionFRC13CUnitVector3fRC9CRelAngle +AxisAngle__11CQuaternionFRC13CUnitVector3fRC9CRelAngle: +/* 803112F4 0030E254 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 803112F8 0030E258 7C 08 02 A6 */ mflr r0 +/* 803112FC 0030E25C 90 01 00 34 */ stw r0, 0x34(r1) +/* 80311300 0030E260 DB E1 00 20 */ stfd f31, 0x20(r1) +/* 80311304 0030E264 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 80311308 0030E268 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8031130C 0030E26C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80311310 0030E270 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80311314 0030E274 7C BF 2B 78 */ mr r31, r5 +/* 80311318 0030E278 C0 02 C8 7C */ lfs f0, lbl_805AE59C@sda21(r2) +/* 8031131C 0030E27C C0 25 00 00 */ lfs f1, 0(r5) +/* 80311320 0030E280 7C 7D 1B 78 */ mr r29, r3 +/* 80311324 0030E284 7C 9E 23 78 */ mr r30, r4 +/* 80311328 0030E288 EC 21 00 32 */ fmuls f1, f1, f0 +/* 8031132C 0030E28C 48 08 30 C5 */ bl cos +/* 80311330 0030E290 C0 5F 00 00 */ lfs f2, 0(r31) +/* 80311334 0030E294 FF E0 08 90 */ fmr f31, f1 +/* 80311338 0030E298 C0 02 C8 7C */ lfs f0, lbl_805AE59C@sda21(r2) +/* 8031133C 0030E29C EC 42 00 32 */ fmuls f2, f2, f0 +/* 80311340 0030E2A0 FC 20 10 90 */ fmr f1, f2 +/* 80311344 0030E2A4 48 08 37 99 */ bl sin +/* 80311348 0030E2A8 FC 80 08 18 */ frsp f4, f1 +/* 8031134C 0030E2AC C0 7E 00 00 */ lfs f3, 0(r30) +/* 80311350 0030E2B0 FC 00 F8 18 */ frsp f0, f31 +/* 80311354 0030E2B4 C0 5E 00 04 */ lfs f2, 4(r30) +/* 80311358 0030E2B8 C0 3E 00 08 */ lfs f1, 8(r30) +/* 8031135C 0030E2BC EC 64 00 F2 */ fmuls f3, f4, f3 +/* 80311360 0030E2C0 D0 1D 00 00 */ stfs f0, 0(r29) +/* 80311364 0030E2C4 EC 44 00 B2 */ fmuls f2, f4, f2 +/* 80311368 0030E2C8 EC 04 00 72 */ fmuls f0, f4, f1 +/* 8031136C 0030E2CC D0 7D 00 04 */ stfs f3, 4(r29) +/* 80311370 0030E2D0 D0 5D 00 08 */ stfs f2, 8(r29) +/* 80311374 0030E2D4 D0 1D 00 0C */ stfs f0, 0xc(r29) +/* 80311378 0030E2D8 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 8031137C 0030E2DC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80311380 0030E2E0 CB E1 00 20 */ lfd f31, 0x20(r1) +/* 80311384 0030E2E4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80311388 0030E2E8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8031138C 0030E2EC 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80311390 0030E2F0 7C 08 03 A6 */ mtlr r0 +/* 80311394 0030E2F4 38 21 00 30 */ addi r1, r1, 0x30 +/* 80311398 0030E2F8 4E 80 00 20 */ blr + +.global BuildNormalized__11CQuaternionCFv +BuildNormalized__11CQuaternionCFv: +/* 8031139C 0030E2FC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803113A0 0030E300 7C 08 02 A6 */ mflr r0 +/* 803113A4 0030E304 90 01 00 14 */ stw r0, 0x14(r1) +/* 803113A8 0030E308 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803113AC 0030E30C 7C 9F 23 78 */ mr r31, r4 +/* 803113B0 0030E310 93 C1 00 08 */ stw r30, 8(r1) +/* 803113B4 0030E314 7C 7E 1B 78 */ mr r30, r3 +/* 803113B8 0030E318 C0 24 00 04 */ lfs f1, 4(r4) +/* 803113BC 0030E31C C0 04 00 08 */ lfs f0, 8(r4) +/* 803113C0 0030E320 EC 21 00 72 */ fmuls f1, f1, f1 +/* 803113C4 0030E324 C0 44 00 0C */ lfs f2, 0xc(r4) +/* 803113C8 0030E328 EC 00 00 32 */ fmuls f0, f0, f0 +/* 803113CC 0030E32C C0 64 00 00 */ lfs f3, 0(r4) +/* 803113D0 0030E330 EC 42 00 B2 */ fmuls f2, f2, f2 +/* 803113D4 0030E334 EC 63 00 F2 */ fmuls f3, f3, f3 +/* 803113D8 0030E338 EC 01 00 2A */ fadds f0, f1, f0 +/* 803113DC 0030E33C EC 02 00 2A */ fadds f0, f2, f0 +/* 803113E0 0030E340 EC 23 00 2A */ fadds f1, f3, f0 +/* 803113E4 0030E344 48 00 3F F5 */ bl InvSqrtF__5CMathFf +/* 803113E8 0030E348 C0 1F 00 00 */ lfs f0, 0(r31) +/* 803113EC 0030E34C C0 9F 00 04 */ lfs f4, 4(r31) +/* 803113F0 0030E350 EC 01 00 32 */ fmuls f0, f1, f0 +/* 803113F4 0030E354 C0 7F 00 08 */ lfs f3, 8(r31) +/* 803113F8 0030E358 C0 5F 00 0C */ lfs f2, 0xc(r31) +/* 803113FC 0030E35C EC 81 01 32 */ fmuls f4, f1, f4 +/* 80311400 0030E360 EC 61 00 F2 */ fmuls f3, f1, f3 +/* 80311404 0030E364 D0 1E 00 00 */ stfs f0, 0(r30) +/* 80311408 0030E368 EC 01 00 B2 */ fmuls f0, f1, f2 +/* 8031140C 0030E36C D0 9E 00 04 */ stfs f4, 4(r30) +/* 80311410 0030E370 D0 7E 00 08 */ stfs f3, 8(r30) +/* 80311414 0030E374 D0 1E 00 0C */ stfs f0, 0xc(r30) +/* 80311418 0030E378 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8031141C 0030E37C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80311420 0030E380 83 C1 00 08 */ lwz r30, 8(r1) +/* 80311424 0030E384 7C 08 03 A6 */ mtlr r0 +/* 80311428 0030E388 38 21 00 10 */ addi r1, r1, 0x10 +/* 8031142C 0030E38C 4E 80 00 20 */ blr + +.global BuildEquivalent__11CQuaternionCFv +BuildEquivalent__11CQuaternionCFv: +/* 80311430 0030E390 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80311434 0030E394 7C 08 02 A6 */ mflr r0 +/* 80311438 0030E398 90 01 00 44 */ stw r0, 0x44(r1) +/* 8031143C 0030E39C DB E1 00 30 */ stfd f31, 0x30(r1) +/* 80311440 0030E3A0 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 80311444 0030E3A4 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80311448 0030E3A8 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8031144C 0030E3AC 7C 9F 23 78 */ mr r31, r4 +/* 80311450 0030E3B0 C0 0D 9C A0 */ lfs f0, lbl_805A8860@sda21(r13) +/* 80311454 0030E3B4 C0 24 00 00 */ lfs f1, 0(r4) +/* 80311458 0030E3B8 7C 7E 1B 78 */ mr r30, r3 +/* 8031145C 0030E3BC FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80311460 0030E3C0 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 80311464 0030E3C4 40 80 00 0C */ bge lbl_80311470 +/* 80311468 0030E3C8 38 6D 9C A0 */ addi r3, r13, lbl_805A8860@sda21 +/* 8031146C 0030E3CC 48 00 00 08 */ b lbl_80311474 +lbl_80311470: +/* 80311470 0030E3D0 38 61 00 0C */ addi r3, r1, 0xc +lbl_80311474: +/* 80311474 0030E3D4 C0 23 00 00 */ lfs f1, 0(r3) +/* 80311478 0030E3D8 C0 0D 9C A4 */ lfs f0, lbl_805A8864@sda21(r13) +/* 8031147C 0030E3DC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80311480 0030E3E0 40 80 00 08 */ bge lbl_80311488 +/* 80311484 0030E3E4 38 6D 9C A4 */ addi r3, r13, lbl_805A8864@sda21 +lbl_80311488: +/* 80311488 0030E3E8 C0 23 00 00 */ lfs f1, 0(r3) +/* 8031148C 0030E3EC 48 08 37 A1 */ bl acos +/* 80311490 0030E3F0 C8 02 C8 80 */ lfd f0, lbl_805AE5A0@sda21(r2) +/* 80311494 0030E3F4 C8 42 C8 90 */ lfd f2, lbl_805AE5B0@sda21(r2) +/* 80311498 0030E3F8 FC 80 00 72 */ fmul f4, f0, f1 +/* 8031149C 0030E3FC C8 62 C8 88 */ lfd f3, lbl_805AE5A8@sda21(r2) +/* 803114A0 0030E400 C8 02 C8 98 */ lfd f0, lbl_805AE5B8@sda21(r2) +/* 803114A4 0030E404 FC 24 10 28 */ fsub f1, f4, f2 +/* 803114A8 0030E408 FF E3 20 2A */ fadd f31, f3, f4 +/* 803114AC 0030E40C FC 20 0A 10 */ fabs f1, f1 +/* 803114B0 0030E410 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 803114B4 0030E414 40 80 00 2C */ bge lbl_803114E0 +/* 803114B8 0030E418 C0 02 C8 A0 */ lfs f0, lbl_805AE5C0@sda21(r2) +/* 803114BC 0030E41C 3C 60 80 5A */ lis r3, skZero3f@ha +/* 803114C0 0030E420 D0 1E 00 00 */ stfs f0, 0(r30) +/* 803114C4 0030E424 C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) +/* 803114C8 0030E428 D0 1E 00 04 */ stfs f0, 4(r30) +/* 803114CC 0030E42C C0 03 00 04 */ lfs f0, 4(r3) +/* 803114D0 0030E430 D0 1E 00 08 */ stfs f0, 8(r30) +/* 803114D4 0030E434 C0 03 00 08 */ lfs f0, 8(r3) +/* 803114D8 0030E438 D0 1E 00 0C */ stfs f0, 0xc(r30) +/* 803114DC 0030E43C 48 00 00 28 */ b lbl_80311504 +lbl_803114E0: +/* 803114E0 0030E440 38 61 00 10 */ addi r3, r1, 0x10 +/* 803114E4 0030E444 38 9F 00 04 */ addi r4, r31, 4 +/* 803114E8 0030E448 48 00 28 E9 */ bl __ct__13CUnitVector3fFRC9CVector3f +/* 803114EC 0030E44C FC 00 F8 18 */ frsp f0, f31 +/* 803114F0 0030E450 7F C3 F3 78 */ mr r3, r30 +/* 803114F4 0030E454 38 81 00 10 */ addi r4, r1, 0x10 +/* 803114F8 0030E458 38 A1 00 08 */ addi r5, r1, 8 +/* 803114FC 0030E45C D0 01 00 08 */ stfs f0, 8(r1) +/* 80311500 0030E460 4B FF FD F5 */ bl AxisAngle__11CQuaternionFRC13CUnitVector3fRC9CRelAngle +lbl_80311504: +/* 80311504 0030E464 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 80311508 0030E468 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8031150C 0030E46C CB E1 00 30 */ lfd f31, 0x30(r1) +/* 80311510 0030E470 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80311514 0030E474 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80311518 0030E478 7C 08 03 A6 */ mtlr r0 +/* 8031151C 0030E47C 38 21 00 40 */ addi r1, r1, 0x40 +/* 80311520 0030E480 4E 80 00 20 */ blr + +.global AngleFrom__11CQuaternionCFRC11CQuaternion +AngleFrom__11CQuaternionCFRC11CQuaternion: +/* 80311524 0030E484 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80311528 0030E488 7C 08 02 A6 */ mflr r0 +/* 8031152C 0030E48C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80311530 0030E490 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80311534 0030E494 7C 7F 1B 78 */ mr r31, r3 +/* 80311538 0030E498 C0 24 00 08 */ lfs f1, 8(r4) +/* 8031153C 0030E49C C0 05 00 08 */ lfs f0, 8(r5) +/* 80311540 0030E4A0 C0 44 00 04 */ lfs f2, 4(r4) +/* 80311544 0030E4A4 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80311548 0030E4A8 C0 25 00 04 */ lfs f1, 4(r5) +/* 8031154C 0030E4AC C0 84 00 0C */ lfs f4, 0xc(r4) +/* 80311550 0030E4B0 C0 65 00 0C */ lfs f3, 0xc(r5) +/* 80311554 0030E4B4 EC 22 00 7A */ fmadds f1, f2, f1, f0 +/* 80311558 0030E4B8 C0 A4 00 00 */ lfs f5, 0(r4) +/* 8031155C 0030E4BC C0 45 00 00 */ lfs f2, 0(r5) +/* 80311560 0030E4C0 C0 0D 9C 98 */ lfs f0, lbl_805A8858@sda21(r13) +/* 80311564 0030E4C4 EC 24 08 FA */ fmadds f1, f4, f3, f1 +/* 80311568 0030E4C8 EC 25 08 BA */ fmadds f1, f5, f2, f1 +/* 8031156C 0030E4CC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80311570 0030E4D0 D0 21 00 08 */ stfs f1, 8(r1) +/* 80311574 0030E4D4 40 80 00 0C */ bge lbl_80311580 +/* 80311578 0030E4D8 38 6D 9C 98 */ addi r3, r13, lbl_805A8858@sda21 +/* 8031157C 0030E4DC 48 00 00 08 */ b lbl_80311584 +lbl_80311580: +/* 80311580 0030E4E0 38 61 00 08 */ addi r3, r1, 8 +lbl_80311584: +/* 80311584 0030E4E4 C0 2D 9C 9C */ lfs f1, lbl_805A885C@sda21(r13) +/* 80311588 0030E4E8 C0 03 00 00 */ lfs f0, 0(r3) +/* 8031158C 0030E4EC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80311590 0030E4F0 40 80 00 08 */ bge lbl_80311598 +/* 80311594 0030E4F4 38 6D 9C 9C */ addi r3, r13, lbl_805A885C@sda21 +lbl_80311598: +/* 80311598 0030E4F8 C0 23 00 00 */ lfs f1, 0(r3) +/* 8031159C 0030E4FC 48 00 3D F5 */ bl ArcCosineR__5CMathFf +/* 803115A0 0030E500 D0 3F 00 00 */ stfs f1, 0(r31) +/* 803115A4 0030E504 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803115A8 0030E508 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803115AC 0030E50C 7C 08 03 A6 */ mtlr r0 +/* 803115B0 0030E510 38 21 00 20 */ addi r1, r1, 0x20 +/* 803115B4 0030E514 4E 80 00 20 */ blr + +.global SlerpLocal__11CQuaternionFRC11CQuaternionRC11CQuaternionf +SlerpLocal__11CQuaternionFRC11CQuaternionRC11CQuaternionf: +/* 803115B8 0030E518 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 803115BC 0030E51C 7C 08 02 A6 */ mflr r0 +/* 803115C0 0030E520 90 01 00 54 */ stw r0, 0x54(r1) +/* 803115C4 0030E524 DB E1 00 40 */ stfd f31, 0x40(r1) +/* 803115C8 0030E528 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 +/* 803115CC 0030E52C 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 803115D0 0030E530 93 C1 00 38 */ stw r30, 0x38(r1) +/* 803115D4 0030E534 C0 44 00 08 */ lfs f2, 8(r4) +/* 803115D8 0030E538 FF E0 08 90 */ fmr f31, f1 +/* 803115DC 0030E53C C0 05 00 08 */ lfs f0, 8(r5) +/* 803115E0 0030E540 7C 9F 23 78 */ mr r31, r4 +/* 803115E4 0030E544 C0 64 00 04 */ lfs f3, 4(r4) +/* 803115E8 0030E548 7C 7E 1B 78 */ mr r30, r3 +/* 803115EC 0030E54C EC 02 00 32 */ fmuls f0, f2, f0 +/* 803115F0 0030E550 C0 45 00 04 */ lfs f2, 4(r5) +/* 803115F4 0030E554 C0 A4 00 0C */ lfs f5, 0xc(r4) +/* 803115F8 0030E558 EC 43 00 BA */ fmadds f2, f3, f2, f0 +/* 803115FC 0030E55C C0 85 00 0C */ lfs f4, 0xc(r5) +/* 80311600 0030E560 C0 C4 00 00 */ lfs f6, 0(r4) +/* 80311604 0030E564 C0 65 00 00 */ lfs f3, 0(r5) +/* 80311608 0030E568 EC 45 11 3A */ fmadds f2, f5, f4, f2 +/* 8031160C 0030E56C C0 02 C8 78 */ lfs f0, lbl_805AE598@sda21(r2) +/* 80311610 0030E570 EC 46 10 FA */ fmadds f2, f6, f3, f2 +/* 80311614 0030E574 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80311618 0030E578 4C 41 13 82 */ cror 2, 1, 2 +/* 8031161C 0030E57C 40 82 00 14 */ bne lbl_80311630 +/* 80311620 0030E580 38 61 00 28 */ addi r3, r1, 0x28 +/* 80311624 0030E584 48 00 06 D5 */ bl Slerp__11CQuaternionFRC11CQuaternionRC11CQuaternionf +/* 80311628 0030E588 38 61 00 28 */ addi r3, r1, 0x28 +/* 8031162C 0030E58C 48 00 00 28 */ b lbl_80311654 +lbl_80311630: +/* 80311630 0030E590 7C A4 2B 78 */ mr r4, r5 +/* 80311634 0030E594 38 61 00 18 */ addi r3, r1, 0x18 +/* 80311638 0030E598 4B FF FD F9 */ bl BuildEquivalent__11CQuaternionCFv +/* 8031163C 0030E59C FC 20 F8 90 */ fmr f1, f31 +/* 80311640 0030E5A0 7F E4 FB 78 */ mr r4, r31 +/* 80311644 0030E5A4 38 61 00 08 */ addi r3, r1, 8 +/* 80311648 0030E5A8 38 A1 00 18 */ addi r5, r1, 0x18 +/* 8031164C 0030E5AC 48 00 06 AD */ bl Slerp__11CQuaternionFRC11CQuaternionRC11CQuaternionf +/* 80311650 0030E5B0 38 61 00 08 */ addi r3, r1, 8 +lbl_80311654: +/* 80311654 0030E5B4 C0 03 00 00 */ lfs f0, 0(r3) +/* 80311658 0030E5B8 D0 1E 00 00 */ stfs f0, 0(r30) +/* 8031165C 0030E5BC C0 03 00 04 */ lfs f0, 4(r3) +/* 80311660 0030E5C0 D0 1E 00 04 */ stfs f0, 4(r30) +/* 80311664 0030E5C4 C0 03 00 08 */ lfs f0, 8(r3) +/* 80311668 0030E5C8 D0 1E 00 08 */ stfs f0, 8(r30) +/* 8031166C 0030E5CC C0 03 00 0C */ lfs f0, 0xc(r3) +/* 80311670 0030E5D0 D0 1E 00 0C */ stfs f0, 0xc(r30) +/* 80311674 0030E5D4 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 +/* 80311678 0030E5D8 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8031167C 0030E5DC CB E1 00 40 */ lfd f31, 0x40(r1) +/* 80311680 0030E5E0 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80311684 0030E5E4 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 80311688 0030E5E8 7C 08 03 A6 */ mtlr r0 +/* 8031168C 0030E5EC 38 21 00 50 */ addi r1, r1, 0x50 +/* 80311690 0030E5F0 4E 80 00 20 */ blr + +.global LookAt__11CQuaternionFRC13CUnitVector3fRC13CUnitVector3fRC9CRelAngle +LookAt__11CQuaternionFRC13CUnitVector3fRC13CUnitVector3fRC9CRelAngle: +/* 80311694 0030E5F4 94 21 FE D0 */ stwu r1, -0x130(r1) +/* 80311698 0030E5F8 7C 08 02 A6 */ mflr r0 +/* 8031169C 0030E5FC 90 01 01 34 */ stw r0, 0x134(r1) +/* 803116A0 0030E600 DB E1 01 20 */ stfd f31, 0x120(r1) +/* 803116A4 0030E604 F3 E1 01 28 */ psq_st f31, 296(r1), 0, qr0 +/* 803116A8 0030E608 DB C1 01 10 */ stfd f30, 0x110(r1) +/* 803116AC 0030E60C F3 C1 01 18 */ psq_st f30, 280(r1), 0, qr0 +/* 803116B0 0030E610 DB A1 01 00 */ stfd f29, 0x100(r1) +/* 803116B4 0030E614 F3 A1 01 08 */ psq_st f29, 264(r1), 0, qr0 +/* 803116B8 0030E618 DB 81 00 F0 */ stfd f28, 0xf0(r1) +/* 803116BC 0030E61C F3 81 00 F8 */ psq_st f28, 248(r1), 0, qr0 +/* 803116C0 0030E620 93 E1 00 EC */ stw r31, 0xec(r1) +/* 803116C4 0030E624 93 C1 00 E8 */ stw r30, 0xe8(r1) +/* 803116C8 0030E628 93 A1 00 E4 */ stw r29, 0xe4(r1) +/* 803116CC 0030E62C 7C 9E 23 78 */ mr r30, r4 +/* 803116D0 0030E630 C1 04 00 00 */ lfs f8, 0(r4) +/* 803116D4 0030E634 C0 FE 00 04 */ lfs f7, 4(r30) +/* 803116D8 0030E638 3C 80 80 5A */ lis r4, lbl_805A6660@ha +/* 803116DC 0030E63C C1 65 00 00 */ lfs f11, 0(r5) +/* 803116E0 0030E640 EC 68 02 32 */ fmuls f3, f8, f8 +/* 803116E4 0030E644 C1 45 00 04 */ lfs f10, 4(r5) +/* 803116E8 0030E648 EC 47 01 F2 */ fmuls f2, f7, f7 +/* 803116EC 0030E64C C0 A2 C8 78 */ lfs f5, lbl_805AE598@sda21(r2) +/* 803116F0 0030E650 EC 2B 02 F2 */ fmuls f1, f11, f11 +/* 803116F4 0030E654 EC 0A 02 B2 */ fmuls f0, f10, f10 +/* 803116F8 0030E658 EC 85 01 72 */ fmuls f4, f5, f5 +/* 803116FC 0030E65C C1 25 00 08 */ lfs f9, 8(r5) +/* 80311700 0030E660 EC 43 10 2A */ fadds f2, f3, f2 +/* 80311704 0030E664 C5 84 66 60 */ lfsu f12, lbl_805A6660@l(r4) +/* 80311708 0030E668 EC 21 00 2A */ fadds f1, f1, f0 +/* 8031170C 0030E66C D1 21 00 DC */ stfs f9, 0xdc(r1) +/* 80311710 0030E670 ED 24 10 2A */ fadds f9, f4, f2 +/* 80311714 0030E674 C0 DE 00 08 */ lfs f6, 8(r30) +/* 80311718 0030E678 C0 02 C8 A4 */ lfs f0, lbl_805AE5C4@sda21(r2) +/* 8031171C 0030E67C EC 84 08 2A */ fadds f4, f4, f1 +/* 80311720 0030E680 D0 C1 00 D0 */ stfs f6, 0xd0(r1) +/* 80311724 0030E684 7C BF 2B 78 */ mr r31, r5 +/* 80311728 0030E688 C0 C6 00 00 */ lfs f6, 0(r6) +/* 8031172C 0030E68C FC 09 00 40 */ fcmpo cr0, f9, f0 +/* 80311730 0030E690 C0 64 00 04 */ lfs f3, 4(r4) +/* 80311734 0030E694 7C 7D 1B 78 */ mr r29, r3 +/* 80311738 0030E698 C0 44 00 08 */ lfs f2, 8(r4) +/* 8031173C 0030E69C C0 24 00 0C */ lfs f1, 0xc(r4) +/* 80311740 0030E6A0 D1 61 00 D4 */ stfs f11, 0xd4(r1) +/* 80311744 0030E6A4 D1 41 00 D8 */ stfs f10, 0xd8(r1) +/* 80311748 0030E6A8 D1 01 00 C8 */ stfs f8, 0xc8(r1) +/* 8031174C 0030E6AC D0 E1 00 CC */ stfs f7, 0xcc(r1) +/* 80311750 0030E6B0 D0 C1 00 20 */ stfs f6, 0x20(r1) +/* 80311754 0030E6B4 D0 A1 00 DC */ stfs f5, 0xdc(r1) +/* 80311758 0030E6B8 D0 A1 00 D0 */ stfs f5, 0xd0(r1) +/* 8031175C 0030E6BC D1 81 00 B8 */ stfs f12, 0xb8(r1) +/* 80311760 0030E6C0 D0 61 00 BC */ stfs f3, 0xbc(r1) +/* 80311764 0030E6C4 D0 41 00 C0 */ stfs f2, 0xc0(r1) +/* 80311768 0030E6C8 D0 21 00 C4 */ stfs f1, 0xc4(r1) +/* 8031176C 0030E6CC 40 81 01 80 */ ble lbl_803118EC +/* 80311770 0030E6D0 FC 04 00 40 */ fcmpo cr0, f4, f0 +/* 80311774 0030E6D4 40 81 01 78 */ ble lbl_803118EC +/* 80311778 0030E6D8 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 8031177C 0030E6DC 48 00 31 7D */ bl Normalize__9CVector3fFv +/* 80311780 0030E6E0 38 61 00 D4 */ addi r3, r1, 0xd4 +/* 80311784 0030E6E4 48 00 31 75 */ bl Normalize__9CVector3fFv +/* 80311788 0030E6E8 C0 21 00 C8 */ lfs f1, 0xc8(r1) +/* 8031178C 0030E6EC C0 41 00 CC */ lfs f2, 0xcc(r1) +/* 80311790 0030E6F0 48 08 34 DD */ bl atan2 +/* 80311794 0030E6F4 FF 80 08 18 */ frsp f28, f1 +/* 80311798 0030E6F8 C0 21 00 D4 */ lfs f1, 0xd4(r1) +/* 8031179C 0030E6FC C0 41 00 D8 */ lfs f2, 0xd8(r1) +/* 803117A0 0030E700 48 08 34 CD */ bl atan2 +/* 803117A4 0030E704 88 0D A8 8C */ lbz r0, lbl_805A944C@sda21(r13) +/* 803117A8 0030E708 FC 20 08 18 */ frsp f1, f1 +/* 803117AC 0030E70C 7C 00 07 75 */ extsb. r0, r0 +/* 803117B0 0030E710 40 82 00 14 */ bne lbl_803117C4 +/* 803117B4 0030E714 C0 02 C8 A8 */ lfs f0, lbl_805AE5C8@sda21(r2) +/* 803117B8 0030E718 38 00 00 01 */ li r0, 1 +/* 803117BC 0030E71C 98 0D A8 8C */ stb r0, lbl_805A944C@sda21(r13) +/* 803117C0 0030E720 D0 0D A8 88 */ stfs f0, lbl_805A9448@sda21(r13) +lbl_803117C4: +/* 803117C4 0030E724 EC 21 E0 28 */ fsubs f1, f1, f28 +/* 803117C8 0030E728 C0 4D A8 88 */ lfs f2, lbl_805A9448@sda21(r13) +/* 803117CC 0030E72C FC 01 10 40 */ fcmpo cr0, f1, f2 +/* 803117D0 0030E730 40 81 00 10 */ ble lbl_803117E0 +/* 803117D4 0030E734 C0 02 C8 70 */ lfs f0, lbl_805AE590@sda21(r2) +/* 803117D8 0030E738 EC 20 08 BC */ fnmsubs f1, f0, f2, f1 +/* 803117DC 0030E73C 48 00 00 18 */ b lbl_803117F4 +lbl_803117E0: +/* 803117E0 0030E740 FC 00 10 50 */ fneg f0, f2 +/* 803117E4 0030E744 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 803117E8 0030E748 40 80 00 0C */ bge lbl_803117F4 +/* 803117EC 0030E74C C0 02 C8 70 */ lfs f0, lbl_805AE590@sda21(r2) +/* 803117F0 0030E750 EC 20 08 BA */ fmadds f1, f0, f2, f1 +lbl_803117F4: +/* 803117F4 0030E754 C0 01 00 20 */ lfs f0, 0x20(r1) +/* 803117F8 0030E758 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 803117FC 0030E75C FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80311800 0030E760 40 80 00 0C */ bge lbl_8031180C +/* 80311804 0030E764 38 61 00 20 */ addi r3, r1, 0x20 +/* 80311808 0030E768 48 00 00 08 */ b lbl_80311810 +lbl_8031180C: +/* 8031180C 0030E76C 38 61 00 1C */ addi r3, r1, 0x1c +lbl_80311810: +/* 80311810 0030E770 FC 20 00 50 */ fneg f1, f0 +/* 80311814 0030E774 C0 43 00 00 */ lfs f2, 0(r3) +/* 80311818 0030E778 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 8031181C 0030E77C FC 00 08 18 */ frsp f0, f1 +/* 80311820 0030E780 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 80311824 0030E784 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80311828 0030E788 40 80 00 0C */ bge lbl_80311834 +/* 8031182C 0030E78C 38 61 00 14 */ addi r3, r1, 0x14 +/* 80311830 0030E790 48 00 00 08 */ b lbl_80311838 +lbl_80311834: +/* 80311834 0030E794 38 61 00 1C */ addi r3, r1, 0x1c +lbl_80311838: +/* 80311838 0030E798 C0 23 00 00 */ lfs f1, 0(r3) +/* 8031183C 0030E79C 38 61 00 98 */ addi r3, r1, 0x98 +/* 80311840 0030E7A0 38 81 00 10 */ addi r4, r1, 0x10 +/* 80311844 0030E7A4 FC 00 08 50 */ fneg f0, f1 +/* 80311848 0030E7A8 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 8031184C 0030E7AC D0 01 00 10 */ stfs f0, 0x10(r1) +/* 80311850 0030E7B0 4B FF F8 A9 */ bl ZRotation__11CQuaternionFRC9CRelAngle +/* 80311854 0030E7B4 80 E1 00 9C */ lwz r7, 0x9c(r1) +/* 80311858 0030E7B8 38 61 00 78 */ addi r3, r1, 0x78 +/* 8031185C 0030E7BC 80 C1 00 A0 */ lwz r6, 0xa0(r1) +/* 80311860 0030E7C0 38 81 00 B8 */ addi r4, r1, 0xb8 +/* 80311864 0030E7C4 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 80311868 0030E7C8 38 A1 00 68 */ addi r5, r1, 0x68 +/* 8031186C 0030E7CC 90 E1 00 BC */ stw r7, 0xbc(r1) +/* 80311870 0030E7D0 C0 81 00 98 */ lfs f4, 0x98(r1) +/* 80311874 0030E7D4 90 C1 00 C0 */ stw r6, 0xc0(r1) +/* 80311878 0030E7D8 C0 01 00 BC */ lfs f0, 0xbc(r1) +/* 8031187C 0030E7DC 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 80311880 0030E7E0 C0 21 00 C0 */ lfs f1, 0xc0(r1) +/* 80311884 0030E7E4 FC A0 00 50 */ fneg f5, f0 +/* 80311888 0030E7E8 C0 01 00 C4 */ lfs f0, 0xc4(r1) +/* 8031188C 0030E7EC FC C0 08 50 */ fneg f6, f1 +/* 80311890 0030E7F0 C0 62 C8 78 */ lfs f3, lbl_805AE598@sda21(r2) +/* 80311894 0030E7F4 FC E0 00 50 */ fneg f7, f0 +/* 80311898 0030E7F8 C0 41 00 C8 */ lfs f2, 0xc8(r1) +/* 8031189C 0030E7FC C0 21 00 CC */ lfs f1, 0xcc(r1) +/* 803118A0 0030E800 C0 01 00 D0 */ lfs f0, 0xd0(r1) +/* 803118A4 0030E804 D0 81 00 B8 */ stfs f4, 0xb8(r1) +/* 803118A8 0030E808 D0 81 00 58 */ stfs f4, 0x58(r1) +/* 803118AC 0030E80C D0 A1 00 5C */ stfs f5, 0x5c(r1) +/* 803118B0 0030E810 D0 C1 00 60 */ stfs f6, 0x60(r1) +/* 803118B4 0030E814 D0 E1 00 64 */ stfs f7, 0x64(r1) +/* 803118B8 0030E818 D0 61 00 68 */ stfs f3, 0x68(r1) +/* 803118BC 0030E81C D0 41 00 6C */ stfs f2, 0x6c(r1) +/* 803118C0 0030E820 D0 21 00 70 */ stfs f1, 0x70(r1) +/* 803118C4 0030E824 D0 01 00 74 */ stfs f0, 0x74(r1) +/* 803118C8 0030E828 4B FF F8 D9 */ bl __ml__11CQuaternionCFRC11CQuaternion +/* 803118CC 0030E82C 38 61 00 88 */ addi r3, r1, 0x88 +/* 803118D0 0030E830 38 81 00 78 */ addi r4, r1, 0x78 +/* 803118D4 0030E834 38 A1 00 58 */ addi r5, r1, 0x58 +/* 803118D8 0030E838 4B FF F8 C9 */ bl __ml__11CQuaternionCFRC11CQuaternion +/* 803118DC 0030E83C C0 C1 00 8C */ lfs f6, 0x8c(r1) +/* 803118E0 0030E840 C0 E1 00 90 */ lfs f7, 0x90(r1) +/* 803118E4 0030E844 C1 01 00 94 */ lfs f8, 0x94(r1) +/* 803118E8 0030E848 48 00 00 70 */ b lbl_80311958 +lbl_803118EC: +/* 803118EC 0030E84C C0 02 C8 A4 */ lfs f0, lbl_805AE5C4@sda21(r2) +/* 803118F0 0030E850 FC 09 00 40 */ fcmpo cr0, f9, f0 +/* 803118F4 0030E854 40 81 00 20 */ ble lbl_80311914 +/* 803118F8 0030E858 38 61 00 4C */ addi r3, r1, 0x4c +/* 803118FC 0030E85C 38 81 00 C8 */ addi r4, r1, 0xc8 +/* 80311900 0030E860 48 00 2F 51 */ bl AsNormalized__9CVector3fCFv +/* 80311904 0030E864 C0 C1 00 4C */ lfs f6, 0x4c(r1) +/* 80311908 0030E868 C0 E1 00 50 */ lfs f7, 0x50(r1) +/* 8031190C 0030E86C C1 01 00 54 */ lfs f8, 0x54(r1) +/* 80311910 0030E870 48 00 00 48 */ b lbl_80311958 +lbl_80311914: +/* 80311914 0030E874 FC 04 00 40 */ fcmpo cr0, f4, f0 +/* 80311918 0030E878 40 81 00 20 */ ble lbl_80311938 +/* 8031191C 0030E87C 38 61 00 40 */ addi r3, r1, 0x40 +/* 80311920 0030E880 38 81 00 D4 */ addi r4, r1, 0xd4 +/* 80311924 0030E884 48 00 2F 2D */ bl AsNormalized__9CVector3fCFv +/* 80311928 0030E888 C0 C1 00 40 */ lfs f6, 0x40(r1) +/* 8031192C 0030E88C C0 E1 00 44 */ lfs f7, 0x44(r1) +/* 80311930 0030E890 C1 01 00 48 */ lfs f8, 0x48(r1) +/* 80311934 0030E894 48 00 00 24 */ b lbl_80311958 +lbl_80311938: +/* 80311938 0030E898 D1 9D 00 00 */ stfs f12, 0(r29) +/* 8031193C 0030E89C C0 04 00 04 */ lfs f0, 4(r4) +/* 80311940 0030E8A0 D0 1D 00 04 */ stfs f0, 4(r29) +/* 80311944 0030E8A4 C0 04 00 08 */ lfs f0, 8(r4) +/* 80311948 0030E8A8 D0 1D 00 08 */ stfs f0, 8(r29) +/* 8031194C 0030E8AC C0 04 00 0C */ lfs f0, 0xc(r4) +/* 80311950 0030E8B0 D0 1D 00 0C */ stfs f0, 0xc(r29) +/* 80311954 0030E8B4 48 00 01 28 */ b lbl_80311A7C +lbl_80311958: +/* 80311958 0030E8B8 C0 A2 C8 78 */ lfs f5, lbl_805AE598@sda21(r2) +/* 8031195C 0030E8BC C0 62 C8 74 */ lfs f3, lbl_805AE594@sda21(r2) +/* 80311960 0030E8C0 EC 85 01 F2 */ fmuls f4, f5, f7 +/* 80311964 0030E8C4 C0 3F 00 08 */ lfs f1, 8(r31) +/* 80311968 0030E8C8 EC 43 01 B2 */ fmuls f2, f3, f6 +/* 8031196C 0030E8CC EC 05 02 32 */ fmuls f0, f5, f8 +/* 80311970 0030E8D0 EF E6 21 78 */ fmsubs f31, f6, f5, f4 +/* 80311974 0030E8D4 EF 88 11 78 */ fmsubs f28, f8, f5, f2 +/* 80311978 0030E8D8 EF A7 00 F8 */ fmsubs f29, f7, f3, f0 +/* 8031197C 0030E8DC 48 08 32 B1 */ bl acos +/* 80311980 0030E8E0 FF C0 08 18 */ frsp f30, f1 +/* 80311984 0030E8E4 C0 3E 00 08 */ lfs f1, 8(r30) +/* 80311988 0030E8E8 48 08 32 A5 */ bl acos +/* 8031198C 0030E8EC 88 0D A8 8C */ lbz r0, lbl_805A944C@sda21(r13) +/* 80311990 0030E8F0 FC 20 08 18 */ frsp f1, f1 +/* 80311994 0030E8F4 7C 00 07 75 */ extsb. r0, r0 +/* 80311998 0030E8F8 40 82 00 14 */ bne lbl_803119AC +/* 8031199C 0030E8FC C0 02 C8 A8 */ lfs f0, lbl_805AE5C8@sda21(r2) +/* 803119A0 0030E900 38 00 00 01 */ li r0, 1 +/* 803119A4 0030E904 98 0D A8 8C */ stb r0, lbl_805A944C@sda21(r13) +/* 803119A8 0030E908 D0 0D A8 88 */ stfs f0, lbl_805A9448@sda21(r13) +lbl_803119AC: +/* 803119AC 0030E90C EC 3E 08 28 */ fsubs f1, f30, f1 +/* 803119B0 0030E910 C0 4D A8 88 */ lfs f2, lbl_805A9448@sda21(r13) +/* 803119B4 0030E914 FC 01 10 40 */ fcmpo cr0, f1, f2 +/* 803119B8 0030E918 40 81 00 10 */ ble lbl_803119C8 +/* 803119BC 0030E91C C0 02 C8 70 */ lfs f0, lbl_805AE590@sda21(r2) +/* 803119C0 0030E920 EC 20 08 BC */ fnmsubs f1, f0, f2, f1 +/* 803119C4 0030E924 48 00 00 18 */ b lbl_803119DC +lbl_803119C8: +/* 803119C8 0030E928 FC 00 10 50 */ fneg f0, f2 +/* 803119CC 0030E92C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 803119D0 0030E930 40 80 00 0C */ bge lbl_803119DC +/* 803119D4 0030E934 C0 02 C8 70 */ lfs f0, lbl_805AE590@sda21(r2) +/* 803119D8 0030E938 EC 20 08 BA */ fmadds f1, f0, f2, f1 +lbl_803119DC: +/* 803119DC 0030E93C C0 01 00 20 */ lfs f0, 0x20(r1) +/* 803119E0 0030E940 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 803119E4 0030E944 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 803119E8 0030E948 40 80 00 0C */ bge lbl_803119F4 +/* 803119EC 0030E94C 38 61 00 20 */ addi r3, r1, 0x20 +/* 803119F0 0030E950 48 00 00 08 */ b lbl_803119F8 +lbl_803119F4: +/* 803119F4 0030E954 38 61 00 18 */ addi r3, r1, 0x18 +lbl_803119F8: +/* 803119F8 0030E958 FC 20 00 50 */ fneg f1, f0 +/* 803119FC 0030E95C C0 43 00 00 */ lfs f2, 0(r3) +/* 80311A00 0030E960 D0 41 00 18 */ stfs f2, 0x18(r1) +/* 80311A04 0030E964 FC 00 08 18 */ frsp f0, f1 +/* 80311A08 0030E968 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 80311A0C 0030E96C FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80311A10 0030E970 40 80 00 0C */ bge lbl_80311A1C +/* 80311A14 0030E974 38 61 00 0C */ addi r3, r1, 0xc +/* 80311A18 0030E978 48 00 00 08 */ b lbl_80311A20 +lbl_80311A1C: +/* 80311A1C 0030E97C 38 61 00 18 */ addi r3, r1, 0x18 +lbl_80311A20: +/* 80311A20 0030E980 C0 23 00 00 */ lfs f1, 0(r3) +/* 80311A24 0030E984 38 61 00 30 */ addi r3, r1, 0x30 +/* 80311A28 0030E988 38 81 00 24 */ addi r4, r1, 0x24 +/* 80311A2C 0030E98C 38 A1 00 08 */ addi r5, r1, 8 +/* 80311A30 0030E990 FC 00 08 50 */ fneg f0, f1 +/* 80311A34 0030E994 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 80311A38 0030E998 D3 A1 00 24 */ stfs f29, 0x24(r1) +/* 80311A3C 0030E99C D0 01 00 08 */ stfs f0, 8(r1) +/* 80311A40 0030E9A0 D3 81 00 28 */ stfs f28, 0x28(r1) +/* 80311A44 0030E9A4 D3 E1 00 2C */ stfs f31, 0x2c(r1) +/* 80311A48 0030E9A8 4B FF F8 AD */ bl AxisAngle__11CQuaternionFRC13CUnitVector3fRC9CRelAngle +/* 80311A4C 0030E9AC C0 61 00 30 */ lfs f3, 0x30(r1) +/* 80311A50 0030E9B0 7F A3 EB 78 */ mr r3, r29 +/* 80311A54 0030E9B4 C0 41 00 34 */ lfs f2, 0x34(r1) +/* 80311A58 0030E9B8 38 81 00 A8 */ addi r4, r1, 0xa8 +/* 80311A5C 0030E9BC C0 21 00 38 */ lfs f1, 0x38(r1) +/* 80311A60 0030E9C0 38 A1 00 B8 */ addi r5, r1, 0xb8 +/* 80311A64 0030E9C4 C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 80311A68 0030E9C8 D0 61 00 A8 */ stfs f3, 0xa8(r1) +/* 80311A6C 0030E9CC D0 41 00 AC */ stfs f2, 0xac(r1) +/* 80311A70 0030E9D0 D0 21 00 B0 */ stfs f1, 0xb0(r1) +/* 80311A74 0030E9D4 D0 01 00 B4 */ stfs f0, 0xb4(r1) +/* 80311A78 0030E9D8 4B FF F7 29 */ bl __ml__11CQuaternionCFRC11CQuaternion +lbl_80311A7C: +/* 80311A7C 0030E9DC E3 E1 01 28 */ psq_l f31, 296(r1), 0, qr0 +/* 80311A80 0030E9E0 CB E1 01 20 */ lfd f31, 0x120(r1) +/* 80311A84 0030E9E4 E3 C1 01 18 */ psq_l f30, 280(r1), 0, qr0 +/* 80311A88 0030E9E8 CB C1 01 10 */ lfd f30, 0x110(r1) +/* 80311A8C 0030E9EC E3 A1 01 08 */ psq_l f29, 264(r1), 0, qr0 +/* 80311A90 0030E9F0 CB A1 01 00 */ lfd f29, 0x100(r1) +/* 80311A94 0030E9F4 E3 81 00 F8 */ psq_l f28, 248(r1), 0, qr0 +/* 80311A98 0030E9F8 CB 81 00 F0 */ lfd f28, 0xf0(r1) +/* 80311A9C 0030E9FC 83 E1 00 EC */ lwz r31, 0xec(r1) +/* 80311AA0 0030EA00 83 C1 00 E8 */ lwz r30, 0xe8(r1) +/* 80311AA4 0030EA04 80 01 01 34 */ lwz r0, 0x134(r1) +/* 80311AA8 0030EA08 83 A1 00 E4 */ lwz r29, 0xe4(r1) +/* 80311AAC 0030EA0C 7C 08 03 A6 */ mtlr r0 +/* 80311AB0 0030EA10 38 21 01 30 */ addi r1, r1, 0x130 +/* 80311AB4 0030EA14 4E 80 00 20 */ blr + +.global ShortestRotationArc__11CQuaternionFRC9CVector3fRC9CVector3f +ShortestRotationArc__11CQuaternionFRC9CVector3fRC9CVector3f: +/* 80311AB8 0030EA18 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 80311ABC 0030EA1C 7C 08 02 A6 */ mflr r0 +/* 80311AC0 0030EA20 C0 02 C8 78 */ lfs f0, lbl_805AE598@sda21(r2) +/* 80311AC4 0030EA24 90 01 00 54 */ stw r0, 0x54(r1) +/* 80311AC8 0030EA28 38 00 00 00 */ li r0, 0 +/* 80311ACC 0030EA2C 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 80311AD0 0030EA30 7C 7F 1B 78 */ mr r31, r3 +/* 80311AD4 0030EA34 C0 C4 00 00 */ lfs f6, 0(r4) +/* 80311AD8 0030EA38 C0 A4 00 04 */ lfs f5, 4(r4) +/* 80311ADC 0030EA3C C0 84 00 08 */ lfs f4, 8(r4) +/* 80311AE0 0030EA40 FC 00 30 00 */ fcmpu cr0, f0, f6 +/* 80311AE4 0030EA44 C0 65 00 00 */ lfs f3, 0(r5) +/* 80311AE8 0030EA48 C0 45 00 04 */ lfs f2, 4(r5) +/* 80311AEC 0030EA4C C0 25 00 08 */ lfs f1, 8(r5) +/* 80311AF0 0030EA50 D0 C1 00 30 */ stfs f6, 0x30(r1) +/* 80311AF4 0030EA54 D0 A1 00 34 */ stfs f5, 0x34(r1) +/* 80311AF8 0030EA58 D0 81 00 38 */ stfs f4, 0x38(r1) +/* 80311AFC 0030EA5C D0 61 00 24 */ stfs f3, 0x24(r1) +/* 80311B00 0030EA60 D0 41 00 28 */ stfs f2, 0x28(r1) +/* 80311B04 0030EA64 D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 80311B08 0030EA68 40 82 00 14 */ bne lbl_80311B1C +/* 80311B0C 0030EA6C FC 00 28 00 */ fcmpu cr0, f0, f5 +/* 80311B10 0030EA70 40 82 00 0C */ bne lbl_80311B1C +/* 80311B14 0030EA74 FC 00 20 00 */ fcmpu cr0, f0, f4 +/* 80311B18 0030EA78 41 82 00 08 */ beq lbl_80311B20 +lbl_80311B1C: +/* 80311B1C 0030EA7C 38 00 00 01 */ li r0, 1 +lbl_80311B20: +/* 80311B20 0030EA80 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 80311B24 0030EA84 41 82 00 0C */ beq lbl_80311B30 +/* 80311B28 0030EA88 38 61 00 30 */ addi r3, r1, 0x30 +/* 80311B2C 0030EA8C 48 00 2D CD */ bl Normalize__9CVector3fFv +lbl_80311B30: +/* 80311B30 0030EA90 C0 22 C8 78 */ lfs f1, lbl_805AE598@sda21(r2) +/* 80311B34 0030EA94 38 00 00 00 */ li r0, 0 +/* 80311B38 0030EA98 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 80311B3C 0030EA9C FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80311B40 0030EAA0 40 82 00 1C */ bne lbl_80311B5C +/* 80311B44 0030EAA4 C0 01 00 28 */ lfs f0, 0x28(r1) +/* 80311B48 0030EAA8 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80311B4C 0030EAAC 40 82 00 10 */ bne lbl_80311B5C +/* 80311B50 0030EAB0 C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 80311B54 0030EAB4 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80311B58 0030EAB8 41 82 00 08 */ beq lbl_80311B60 +lbl_80311B5C: +/* 80311B5C 0030EABC 38 00 00 01 */ li r0, 1 +lbl_80311B60: +/* 80311B60 0030EAC0 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 80311B64 0030EAC4 41 82 00 0C */ beq lbl_80311B70 +/* 80311B68 0030EAC8 38 61 00 24 */ addi r3, r1, 0x24 +/* 80311B6C 0030EACC 48 00 2D 8D */ bl Normalize__9CVector3fFv +lbl_80311B70: +/* 80311B70 0030EAD0 C1 61 00 38 */ lfs f11, 0x38(r1) +/* 80311B74 0030EAD4 C1 01 00 28 */ lfs f8, 0x28(r1) +/* 80311B78 0030EAD8 C1 41 00 2C */ lfs f10, 0x2c(r1) +/* 80311B7C 0030EADC C0 C1 00 30 */ lfs f6, 0x30(r1) +/* 80311B80 0030EAE0 EC 08 02 F2 */ fmuls f0, f8, f11 +/* 80311B84 0030EAE4 C1 21 00 34 */ lfs f9, 0x34(r1) +/* 80311B88 0030EAE8 C0 E1 00 24 */ lfs f7, 0x24(r1) +/* 80311B8C 0030EAEC EC 2A 01 B2 */ fmuls f1, f10, f6 +/* 80311B90 0030EAF0 EC 89 02 B8 */ fmsubs f4, f9, f10, f0 +/* 80311B94 0030EAF4 C0 02 C8 AC */ lfs f0, lbl_805AE5CC@sda21(r2) +/* 80311B98 0030EAF8 EC A7 02 72 */ fmuls f5, f7, f9 +/* 80311B9C 0030EAFC EC 6B 09 F8 */ fmsubs f3, f11, f7, f1 +/* 80311BA0 0030EB00 EC 44 01 32 */ fmuls f2, f4, f4 +/* 80311BA4 0030EB04 D0 81 00 18 */ stfs f4, 0x18(r1) +/* 80311BA8 0030EB08 EC 86 2A 38 */ fmsubs f4, f6, f8, f5 +/* 80311BAC 0030EB0C EC 23 00 F2 */ fmuls f1, f3, f3 +/* 80311BB0 0030EB10 D0 61 00 1C */ stfs f3, 0x1c(r1) +/* 80311BB4 0030EB14 EC 64 01 32 */ fmuls f3, f4, f4 +/* 80311BB8 0030EB18 D0 81 00 20 */ stfs f4, 0x20(r1) +/* 80311BBC 0030EB1C EC 22 08 2A */ fadds f1, f2, f1 +/* 80311BC0 0030EB20 EC 23 08 2A */ fadds f1, f3, f1 +/* 80311BC4 0030EB24 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80311BC8 0030EB28 40 80 00 AC */ bge lbl_80311C74 +/* 80311BCC 0030EB2C EC 29 02 32 */ fmuls f1, f9, f8 +/* 80311BD0 0030EB30 C0 02 C8 78 */ lfs f0, lbl_805AE598@sda21(r2) +/* 80311BD4 0030EB34 EC 26 09 FA */ fmadds f1, f6, f7, f1 +/* 80311BD8 0030EB38 EC 2B 0A BA */ fmadds f1, f11, f10, f1 +/* 80311BDC 0030EB3C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80311BE0 0030EB40 40 81 00 2C */ ble lbl_80311C0C +/* 80311BE4 0030EB44 3C 60 80 5A */ lis r3, lbl_805A6660@ha +/* 80311BE8 0030EB48 C4 03 66 60 */ lfsu f0, lbl_805A6660@l(r3) +/* 80311BEC 0030EB4C D0 1F 00 00 */ stfs f0, 0(r31) +/* 80311BF0 0030EB50 C0 03 00 04 */ lfs f0, 4(r3) +/* 80311BF4 0030EB54 D0 1F 00 04 */ stfs f0, 4(r31) +/* 80311BF8 0030EB58 C0 03 00 08 */ lfs f0, 8(r3) +/* 80311BFC 0030EB5C D0 1F 00 08 */ stfs f0, 8(r31) +/* 80311C00 0030EB60 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 80311C04 0030EB64 D0 1F 00 0C */ stfs f0, 0xc(r31) +/* 80311C08 0030EB68 48 00 00 DC */ b lbl_80311CE4 +lbl_80311C0C: +/* 80311C0C 0030EB6C 38 61 00 18 */ addi r3, r1, 0x18 +/* 80311C10 0030EB70 48 00 2A E9 */ bl CanBeNormalized__9CVector3fCFv +/* 80311C14 0030EB74 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80311C18 0030EB78 41 82 00 34 */ beq lbl_80311C4C +/* 80311C1C 0030EB7C 38 61 00 0C */ addi r3, r1, 0xc +/* 80311C20 0030EB80 38 81 00 18 */ addi r4, r1, 0x18 +/* 80311C24 0030EB84 48 00 2C 2D */ bl AsNormalized__9CVector3fCFv +/* 80311C28 0030EB88 C0 02 C8 78 */ lfs f0, lbl_805AE598@sda21(r2) +/* 80311C2C 0030EB8C D0 1F 00 00 */ stfs f0, 0(r31) +/* 80311C30 0030EB90 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 80311C34 0030EB94 D0 1F 00 04 */ stfs f0, 4(r31) +/* 80311C38 0030EB98 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 80311C3C 0030EB9C D0 1F 00 08 */ stfs f0, 8(r31) +/* 80311C40 0030EBA0 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 80311C44 0030EBA4 D0 1F 00 0C */ stfs f0, 0xc(r31) +/* 80311C48 0030EBA8 48 00 00 9C */ b lbl_80311CE4 +lbl_80311C4C: +/* 80311C4C 0030EBAC 3C 60 80 5A */ lis r3, lbl_805A6660@ha +/* 80311C50 0030EBB0 C4 03 66 60 */ lfsu f0, lbl_805A6660@l(r3) +/* 80311C54 0030EBB4 D0 1F 00 00 */ stfs f0, 0(r31) +/* 80311C58 0030EBB8 C0 03 00 04 */ lfs f0, 4(r3) +/* 80311C5C 0030EBBC D0 1F 00 04 */ stfs f0, 4(r31) +/* 80311C60 0030EBC0 C0 03 00 08 */ lfs f0, 8(r3) +/* 80311C64 0030EBC4 D0 1F 00 08 */ stfs f0, 8(r31) +/* 80311C68 0030EBC8 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 80311C6C 0030EBCC D0 1F 00 0C */ stfs f0, 0xc(r31) +/* 80311C70 0030EBD0 48 00 00 74 */ b lbl_80311CE4 +lbl_80311C74: +/* 80311C74 0030EBD4 EC 09 02 32 */ fmuls f0, f9, f8 +/* 80311C78 0030EBD8 38 81 00 08 */ addi r4, r1, 8 +/* 80311C7C 0030EBDC 38 6D 9C 90 */ addi r3, r13, lbl_805A8850@sda21 +/* 80311C80 0030EBE0 38 AD 9C 94 */ addi r5, r13, lbl_805A8854@sda21 +/* 80311C84 0030EBE4 EC 06 01 FA */ fmadds f0, f6, f7, f0 +/* 80311C88 0030EBE8 EC 0B 02 BA */ fmadds f0, f11, f10, f0 +/* 80311C8C 0030EBEC D0 01 00 08 */ stfs f0, 8(r1) +/* 80311C90 0030EBF0 4B CF A6 25 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80311C94 0030EBF4 C0 43 00 00 */ lfs f2, 0(r3) +/* 80311C98 0030EBF8 C0 22 C8 74 */ lfs f1, lbl_805AE594@sda21(r2) +/* 80311C9C 0030EBFC C0 02 C8 70 */ lfs f0, lbl_805AE590@sda21(r2) +/* 80311CA0 0030EC00 EC 21 10 2A */ fadds f1, f1, f2 +/* 80311CA4 0030EC04 EC 20 00 72 */ fmuls f1, f0, f1 +/* 80311CA8 0030EC08 48 00 38 59 */ bl SqrtF__5CMathFf +/* 80311CAC 0030EC0C C0 42 C8 74 */ lfs f2, lbl_805AE594@sda21(r2) +/* 80311CB0 0030EC10 C0 02 C8 7C */ lfs f0, lbl_805AE59C@sda21(r2) +/* 80311CB4 0030EC14 EC A2 08 24 */ fdivs f5, f2, f1 +/* 80311CB8 0030EC18 C0 81 00 18 */ lfs f4, 0x18(r1) +/* 80311CBC 0030EC1C C0 61 00 1C */ lfs f3, 0x1c(r1) +/* 80311CC0 0030EC20 C0 41 00 20 */ lfs f2, 0x20(r1) +/* 80311CC4 0030EC24 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80311CC8 0030EC28 EC 85 01 32 */ fmuls f4, f5, f4 +/* 80311CCC 0030EC2C EC 25 00 F2 */ fmuls f1, f5, f3 +/* 80311CD0 0030EC30 D0 1F 00 00 */ stfs f0, 0(r31) +/* 80311CD4 0030EC34 EC 05 00 B2 */ fmuls f0, f5, f2 +/* 80311CD8 0030EC38 D0 9F 00 04 */ stfs f4, 4(r31) +/* 80311CDC 0030EC3C D0 3F 00 08 */ stfs f1, 8(r31) +/* 80311CE0 0030EC40 D0 1F 00 0C */ stfs f0, 0xc(r31) +lbl_80311CE4: +/* 80311CE4 0030EC44 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80311CE8 0030EC48 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 80311CEC 0030EC4C 7C 08 03 A6 */ mtlr r0 +/* 80311CF0 0030EC50 38 21 00 50 */ addi r1, r1, 0x50 +/* 80311CF4 0030EC54 4E 80 00 20 */ blr + +.global Slerp__11CQuaternionFRC11CQuaternionRC11CQuaternionf +Slerp__11CQuaternionFRC11CQuaternionRC11CQuaternionf: +/* 80311CF8 0030EC58 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80311CFC 0030EC5C 7C 08 02 A6 */ mflr r0 +/* 80311D00 0030EC60 90 01 00 64 */ stw r0, 0x64(r1) +/* 80311D04 0030EC64 DB E1 00 50 */ stfd f31, 0x50(r1) +/* 80311D08 0030EC68 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 +/* 80311D0C 0030EC6C DB C1 00 40 */ stfd f30, 0x40(r1) +/* 80311D10 0030EC70 F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 +/* 80311D14 0030EC74 DB A1 00 30 */ stfd f29, 0x30(r1) +/* 80311D18 0030EC78 F3 A1 00 38 */ psq_st f29, 56(r1), 0, qr0 +/* 80311D1C 0030EC7C DB 81 00 20 */ stfd f28, 0x20(r1) +/* 80311D20 0030EC80 F3 81 00 28 */ psq_st f28, 40(r1), 0, qr0 +/* 80311D24 0030EC84 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80311D28 0030EC88 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80311D2C 0030EC8C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80311D30 0030EC90 7C 9E 23 78 */ mr r30, r4 +/* 80311D34 0030EC94 7C BF 2B 78 */ mr r31, r5 +/* 80311D38 0030EC98 C0 44 00 08 */ lfs f2, 8(r4) +/* 80311D3C 0030EC9C FF C0 08 90 */ fmr f30, f1 +/* 80311D40 0030ECA0 C0 05 00 08 */ lfs f0, 8(r5) +/* 80311D44 0030ECA4 7C 7D 1B 78 */ mr r29, r3 +/* 80311D48 0030ECA8 C0 64 00 04 */ lfs f3, 4(r4) +/* 80311D4C 0030ECAC EC 02 00 32 */ fmuls f0, f2, f0 +/* 80311D50 0030ECB0 C0 25 00 04 */ lfs f1, 4(r5) +/* 80311D54 0030ECB4 C0 84 00 0C */ lfs f4, 0xc(r4) +/* 80311D58 0030ECB8 C0 45 00 0C */ lfs f2, 0xc(r5) +/* 80311D5C 0030ECBC EC 03 00 7A */ fmadds f0, f3, f1, f0 +/* 80311D60 0030ECC0 C0 64 00 00 */ lfs f3, 0(r4) +/* 80311D64 0030ECC4 C0 25 00 00 */ lfs f1, 0(r5) +/* 80311D68 0030ECC8 C3 E2 C8 74 */ lfs f31, lbl_805AE594@sda21(r2) +/* 80311D6C 0030ECCC EC 04 00 BA */ fmadds f0, f4, f2, f0 +/* 80311D70 0030ECD0 EC 03 00 7A */ fmadds f0, f3, f1, f0 +/* 80311D74 0030ECD4 FC 00 F8 40 */ fcmpo cr0, f0, f31 +/* 80311D78 0030ECD8 40 81 00 08 */ ble lbl_80311D80 +/* 80311D7C 0030ECDC 48 00 00 18 */ b lbl_80311D94 +lbl_80311D80: +/* 80311D80 0030ECE0 C3 E2 C8 A0 */ lfs f31, lbl_805AE5C0@sda21(r2) +/* 80311D84 0030ECE4 FC 00 F8 40 */ fcmpo cr0, f0, f31 +/* 80311D88 0030ECE8 40 80 00 08 */ bge lbl_80311D90 +/* 80311D8C 0030ECEC 48 00 00 08 */ b lbl_80311D94 +lbl_80311D90: +/* 80311D90 0030ECF0 FF E0 00 90 */ fmr f31, f0 +lbl_80311D94: +/* 80311D94 0030ECF4 FC 20 F8 90 */ fmr f1, f31 +/* 80311D98 0030ECF8 48 08 2E 95 */ bl acos +/* 80311D9C 0030ECFC FF 80 08 90 */ fmr f28, f1 +/* 80311DA0 0030ED00 48 08 2D 3D */ bl sin +/* 80311DA4 0030ED04 FF A0 08 90 */ fmr f29, f1 +/* 80311DA8 0030ED08 C8 02 C8 90 */ lfd f0, lbl_805AE5B0@sda21(r2) +/* 80311DAC 0030ED0C FC 00 E8 00 */ fcmpu cr0, f0, f29 +/* 80311DB0 0030ED10 40 82 00 34 */ bne lbl_80311DE4 +/* 80311DB4 0030ED14 C0 02 C8 78 */ lfs f0, lbl_805AE598@sda21(r2) +/* 80311DB8 0030ED18 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 80311DBC 0030ED1C 40 81 00 28 */ ble lbl_80311DE4 +/* 80311DC0 0030ED20 C0 1E 00 00 */ lfs f0, 0(r30) +/* 80311DC4 0030ED24 D0 1D 00 00 */ stfs f0, 0(r29) +/* 80311DC8 0030ED28 C0 1E 00 04 */ lfs f0, 4(r30) +/* 80311DCC 0030ED2C D0 1D 00 04 */ stfs f0, 4(r29) +/* 80311DD0 0030ED30 C0 1E 00 08 */ lfs f0, 8(r30) +/* 80311DD4 0030ED34 D0 1D 00 08 */ stfs f0, 8(r29) +/* 80311DD8 0030ED38 C0 1E 00 0C */ lfs f0, 0xc(r30) +/* 80311DDC 0030ED3C D0 1D 00 0C */ stfs f0, 0xc(r29) +/* 80311DE0 0030ED40 48 00 00 A0 */ b lbl_80311E80 +lbl_80311DE4: +/* 80311DE4 0030ED44 C0 02 C8 74 */ lfs f0, lbl_805AE594@sda21(r2) +/* 80311DE8 0030ED48 EC 00 F0 28 */ fsubs f0, f0, f30 +/* 80311DEC 0030ED4C FC 3C 00 32 */ fmul f1, f28, f0 +/* 80311DF0 0030ED50 48 08 2C ED */ bl sin +/* 80311DF4 0030ED54 FF E0 08 18 */ frsp f31, f1 +/* 80311DF8 0030ED58 FC 3C 07 B2 */ fmul f1, f28, f30 +/* 80311DFC 0030ED5C 48 08 2C E1 */ bl sin +/* 80311E00 0030ED60 C8 42 C8 B0 */ lfd f2, lbl_805AE5D0@sda21(r2) +/* 80311E04 0030ED64 FD 00 08 18 */ frsp f8, f1 +/* 80311E08 0030ED68 C0 1F 00 00 */ lfs f0, 0(r31) +/* 80311E0C 0030ED6C FD 22 E8 24 */ fdiv f9, f2, f29 +/* 80311E10 0030ED70 C0 FE 00 04 */ lfs f7, 4(r30) +/* 80311E14 0030ED74 C0 DF 00 04 */ lfs f6, 4(r31) +/* 80311E18 0030ED78 C0 BE 00 08 */ lfs f5, 8(r30) +/* 80311E1C 0030ED7C C0 7E 00 0C */ lfs f3, 0xc(r30) +/* 80311E20 0030ED80 C0 3E 00 00 */ lfs f1, 0(r30) +/* 80311E24 0030ED84 EC 08 00 32 */ fmuls f0, f8, f0 +/* 80311E28 0030ED88 C0 9F 00 08 */ lfs f4, 8(r31) +/* 80311E2C 0030ED8C EC FF 01 F2 */ fmuls f7, f31, f7 +/* 80311E30 0030ED90 C0 5F 00 0C */ lfs f2, 0xc(r31) +/* 80311E34 0030ED94 EC C8 01 B2 */ fmuls f6, f8, f6 +/* 80311E38 0030ED98 EC 1F 00 7A */ fmadds f0, f31, f1, f0 +/* 80311E3C 0030ED9C EC BF 01 72 */ fmuls f5, f31, f5 +/* 80311E40 0030EDA0 EC 28 01 32 */ fmuls f1, f8, f4 +/* 80311E44 0030EDA4 FC 09 00 32 */ fmul f0, f9, f0 +/* 80311E48 0030EDA8 EC 85 08 2A */ fadds f4, f5, f1 +/* 80311E4C 0030EDAC FD 20 48 18 */ frsp f9, f9 +/* 80311E50 0030EDB0 EC C7 30 2A */ fadds f6, f7, f6 +/* 80311E54 0030EDB4 FC 00 00 18 */ frsp f0, f0 +/* 80311E58 0030EDB8 EC 28 00 B2 */ fmuls f1, f8, f2 +/* 80311E5C 0030EDBC EC 7F 00 F2 */ fmuls f3, f31, f3 +/* 80311E60 0030EDC0 D0 1D 00 00 */ stfs f0, 0(r29) +/* 80311E64 0030EDC4 EC A9 01 B2 */ fmuls f5, f9, f6 +/* 80311E68 0030EDC8 EC 49 01 32 */ fmuls f2, f9, f4 +/* 80311E6C 0030EDCC EC 03 08 2A */ fadds f0, f3, f1 +/* 80311E70 0030EDD0 D0 BD 00 04 */ stfs f5, 4(r29) +/* 80311E74 0030EDD4 EC 09 00 32 */ fmuls f0, f9, f0 +/* 80311E78 0030EDD8 D0 5D 00 08 */ stfs f2, 8(r29) +/* 80311E7C 0030EDDC D0 1D 00 0C */ stfs f0, 0xc(r29) +lbl_80311E80: +/* 80311E80 0030EDE0 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 +/* 80311E84 0030EDE4 CB E1 00 50 */ lfd f31, 0x50(r1) +/* 80311E88 0030EDE8 E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 +/* 80311E8C 0030EDEC CB C1 00 40 */ lfd f30, 0x40(r1) +/* 80311E90 0030EDF0 E3 A1 00 38 */ psq_l f29, 56(r1), 0, qr0 +/* 80311E94 0030EDF4 CB A1 00 30 */ lfd f29, 0x30(r1) +/* 80311E98 0030EDF8 E3 81 00 28 */ psq_l f28, 40(r1), 0, qr0 +/* 80311E9C 0030EDFC CB 81 00 20 */ lfd f28, 0x20(r1) +/* 80311EA0 0030EE00 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80311EA4 0030EE04 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80311EA8 0030EE08 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80311EAC 0030EE0C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80311EB0 0030EE10 7C 08 03 A6 */ mtlr r0 +/* 80311EB4 0030EE14 38 21 00 60 */ addi r1, r1, 0x60 +/* 80311EB8 0030EE18 4E 80 00 20 */ blr + +.global BuildTransform4f__11CQuaternionCFRC9CVector3f +BuildTransform4f__11CQuaternionCFRC9CVector3f: +/* 80311EBC 0030EE1C 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 80311EC0 0030EE20 DB E1 00 40 */ stfd f31, 0x40(r1) +/* 80311EC4 0030EE24 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 +/* 80311EC8 0030EE28 DB C1 00 30 */ stfd f30, 0x30(r1) +/* 80311ECC 0030EE2C F3 C1 00 38 */ psq_st f30, 56(r1), 0, qr0 +/* 80311ED0 0030EE30 DB A1 00 20 */ stfd f29, 0x20(r1) +/* 80311ED4 0030EE34 F3 A1 00 28 */ psq_st f29, 40(r1), 0, qr0 +/* 80311ED8 0030EE38 DB 81 00 10 */ stfd f28, 0x10(r1) +/* 80311EDC 0030EE3C F3 81 00 18 */ psq_st f28, 24(r1), 0, qr0 +/* 80311EE0 0030EE40 C0 02 C8 70 */ lfs f0, lbl_805AE590@sda21(r2) +/* 80311EE4 0030EE44 C0 44 00 08 */ lfs f2, 8(r4) +/* 80311EE8 0030EE48 C1 04 00 0C */ lfs f8, 0xc(r4) +/* 80311EEC 0030EE4C ED 60 00 B2 */ fmuls f11, f0, f2 +/* 80311EF0 0030EE50 C0 24 00 04 */ lfs f1, 4(r4) +/* 80311EF4 0030EE54 ED 20 02 32 */ fmuls f9, f0, f8 +/* 80311EF8 0030EE58 C0 84 00 00 */ lfs f4, 0(r4) +/* 80311EFC 0030EE5C ED 40 00 72 */ fmuls f10, f0, f1 +/* 80311F00 0030EE60 C0 62 C8 74 */ lfs f3, lbl_805AE594@sda21(r2) +/* 80311F04 0030EE64 EF AB 00 B2 */ fmuls f29, f11, f2 +/* 80311F08 0030EE68 C0 A5 00 08 */ lfs f5, 8(r5) +/* 80311F0C 0030EE6C EF 89 02 32 */ fmuls f28, f9, f8 +/* 80311F10 0030EE70 C0 C5 00 04 */ lfs f6, 4(r5) +/* 80311F14 0030EE74 EC 0A 00 72 */ fmuls f0, f10, f1 +/* 80311F18 0030EE78 C0 E5 00 00 */ lfs f7, 0(r5) +/* 80311F1C 0030EE7C EC 23 E8 28 */ fsubs f1, f3, f29 +/* 80311F20 0030EE80 ED A4 02 72 */ fmuls f13, f4, f9 +/* 80311F24 0030EE84 EF EA 00 B2 */ fmuls f31, f10, f2 +/* 80311F28 0030EE88 EC 21 E0 28 */ fsubs f1, f1, f28 +/* 80311F2C 0030EE8C ED 84 02 F2 */ fmuls f12, f4, f11 +/* 80311F30 0030EE90 EF CA 02 32 */ fmuls f30, f10, f8 +/* 80311F34 0030EE94 EC 5F 68 28 */ fsubs f2, f31, f13 +/* 80311F38 0030EE98 D0 23 00 00 */ stfs f1, 0(r3) +/* 80311F3C 0030EE9C ED 23 00 28 */ fsubs f9, f3, f0 +/* 80311F40 0030EEA0 EC 3E 60 2A */ fadds f1, f30, f12 +/* 80311F44 0030EEA4 D0 43 00 04 */ stfs f2, 4(r3) +/* 80311F48 0030EEA8 EC 1F 68 2A */ fadds f0, f31, f13 +/* 80311F4C 0030EEAC ED 44 02 B2 */ fmuls f10, f4, f10 +/* 80311F50 0030EEB0 ED 0B 02 32 */ fmuls f8, f11, f8 +/* 80311F54 0030EEB4 D0 23 00 08 */ stfs f1, 8(r3) +/* 80311F58 0030EEB8 EC 89 E0 28 */ fsubs f4, f9, f28 +/* 80311F5C 0030EEBC D0 E3 00 0C */ stfs f7, 0xc(r3) +/* 80311F60 0030EEC0 EC 5E 60 28 */ fsubs f2, f30, f12 +/* 80311F64 0030EEC4 EC 68 50 28 */ fsubs f3, f8, f10 +/* 80311F68 0030EEC8 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 80311F6C 0030EECC EC 28 50 2A */ fadds f1, f8, f10 +/* 80311F70 0030EED0 EC 09 E8 28 */ fsubs f0, f9, f29 +/* 80311F74 0030EED4 D0 83 00 14 */ stfs f4, 0x14(r3) +/* 80311F78 0030EED8 D0 63 00 18 */ stfs f3, 0x18(r3) +/* 80311F7C 0030EEDC D0 C3 00 1C */ stfs f6, 0x1c(r3) +/* 80311F80 0030EEE0 D0 43 00 20 */ stfs f2, 0x20(r3) +/* 80311F84 0030EEE4 D0 23 00 24 */ stfs f1, 0x24(r3) +/* 80311F88 0030EEE8 D0 03 00 28 */ stfs f0, 0x28(r3) +/* 80311F8C 0030EEEC D0 A3 00 2C */ stfs f5, 0x2c(r3) +/* 80311F90 0030EEF0 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 +/* 80311F94 0030EEF4 CB E1 00 40 */ lfd f31, 0x40(r1) +/* 80311F98 0030EEF8 E3 C1 00 38 */ psq_l f30, 56(r1), 0, qr0 +/* 80311F9C 0030EEFC CB C1 00 30 */ lfd f30, 0x30(r1) +/* 80311FA0 0030EF00 E3 A1 00 28 */ psq_l f29, 40(r1), 0, qr0 +/* 80311FA4 0030EF04 CB A1 00 20 */ lfd f29, 0x20(r1) +/* 80311FA8 0030EF08 E3 81 00 18 */ psq_l f28, 24(r1), 0, qr0 +/* 80311FAC 0030EF0C CB 81 00 10 */ lfd f28, 0x10(r1) +/* 80311FB0 0030EF10 38 21 00 50 */ addi r1, r1, 0x50 +/* 80311FB4 0030EF14 4E 80 00 20 */ blr + +.global BuildTransform4f__11CQuaternionCFv +BuildTransform4f__11CQuaternionCFv: +/* 80311FB8 0030EF18 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80311FBC 0030EF1C DB E1 00 20 */ stfd f31, 0x20(r1) +/* 80311FC0 0030EF20 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 80311FC4 0030EF24 DB C1 00 10 */ stfd f30, 0x10(r1) +/* 80311FC8 0030EF28 F3 C1 00 18 */ psq_st f30, 24(r1), 0, qr0 +/* 80311FCC 0030EF2C C0 02 C8 70 */ lfs f0, lbl_805AE590@sda21(r2) +/* 80311FD0 0030EF30 C0 44 00 08 */ lfs f2, 8(r4) +/* 80311FD4 0030EF34 C0 C4 00 0C */ lfs f6, 0xc(r4) +/* 80311FD8 0030EF38 ED 20 00 B2 */ fmuls f9, f0, f2 +/* 80311FDC 0030EF3C C0 24 00 04 */ lfs f1, 4(r4) +/* 80311FE0 0030EF40 EC E0 01 B2 */ fmuls f7, f0, f6 +/* 80311FE4 0030EF44 C0 84 00 00 */ lfs f4, 0(r4) +/* 80311FE8 0030EF48 ED 00 00 72 */ fmuls f8, f0, f1 +/* 80311FEC 0030EF4C C0 62 C8 74 */ lfs f3, lbl_805AE594@sda21(r2) +/* 80311FF0 0030EF50 EF E9 00 B2 */ fmuls f31, f9, f2 +/* 80311FF4 0030EF54 C0 A2 C8 78 */ lfs f5, lbl_805AE598@sda21(r2) +/* 80311FF8 0030EF58 EF C7 01 B2 */ fmuls f30, f7, f6 +/* 80311FFC 0030EF5C EC 08 00 72 */ fmuls f0, f8, f1 +/* 80312000 0030EF60 EC 23 F8 28 */ fsubs f1, f3, f31 +/* 80312004 0030EF64 ED 64 01 F2 */ fmuls f11, f4, f7 +/* 80312008 0030EF68 ED 88 00 B2 */ fmuls f12, f8, f2 +/* 8031200C 0030EF6C EC 21 F0 28 */ fsubs f1, f1, f30 +/* 80312010 0030EF70 ED 44 02 72 */ fmuls f10, f4, f9 +/* 80312014 0030EF74 ED A8 01 B2 */ fmuls f13, f8, f6 +/* 80312018 0030EF78 EC 4C 58 28 */ fsubs f2, f12, f11 +/* 8031201C 0030EF7C D0 23 00 00 */ stfs f1, 0(r3) +/* 80312020 0030EF80 EC E3 00 28 */ fsubs f7, f3, f0 +/* 80312024 0030EF84 EC 2D 50 2A */ fadds f1, f13, f10 +/* 80312028 0030EF88 D0 43 00 04 */ stfs f2, 4(r3) +/* 8031202C 0030EF8C EC 0C 58 2A */ fadds f0, f12, f11 +/* 80312030 0030EF90 ED 04 02 32 */ fmuls f8, f4, f8 +/* 80312034 0030EF94 EC C9 01 B2 */ fmuls f6, f9, f6 +/* 80312038 0030EF98 D0 23 00 08 */ stfs f1, 8(r3) +/* 8031203C 0030EF9C EC 87 F0 28 */ fsubs f4, f7, f30 +/* 80312040 0030EFA0 D0 A3 00 0C */ stfs f5, 0xc(r3) +/* 80312044 0030EFA4 EC 4D 50 28 */ fsubs f2, f13, f10 +/* 80312048 0030EFA8 EC 66 40 28 */ fsubs f3, f6, f8 +/* 8031204C 0030EFAC D0 03 00 10 */ stfs f0, 0x10(r3) +/* 80312050 0030EFB0 EC 26 40 2A */ fadds f1, f6, f8 +/* 80312054 0030EFB4 EC 07 F8 28 */ fsubs f0, f7, f31 +/* 80312058 0030EFB8 D0 83 00 14 */ stfs f4, 0x14(r3) +/* 8031205C 0030EFBC D0 63 00 18 */ stfs f3, 0x18(r3) +/* 80312060 0030EFC0 D0 A3 00 1C */ stfs f5, 0x1c(r3) +/* 80312064 0030EFC4 D0 43 00 20 */ stfs f2, 0x20(r3) +/* 80312068 0030EFC8 D0 23 00 24 */ stfs f1, 0x24(r3) +/* 8031206C 0030EFCC D0 03 00 28 */ stfs f0, 0x28(r3) +/* 80312070 0030EFD0 D0 A3 00 2C */ stfs f5, 0x2c(r3) +/* 80312074 0030EFD4 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 80312078 0030EFD8 CB E1 00 20 */ lfd f31, 0x20(r1) +/* 8031207C 0030EFDC E3 C1 00 18 */ psq_l f30, 24(r1), 0, qr0 +/* 80312080 0030EFE0 CB C1 00 10 */ lfd f30, 0x10(r1) +/* 80312084 0030EFE4 38 21 00 30 */ addi r1, r1, 0x30 +/* 80312088 0030EFE8 4E 80 00 20 */ blr + +.global BuildTransform__11CQuaternionCFv +BuildTransform__11CQuaternionCFv: +/* 8031208C 0030EFEC C0 02 C8 70 */ lfs f0, lbl_805AE590@sda21(r2) +/* 80312090 0030EFF0 C0 84 00 08 */ lfs f4, 8(r4) +/* 80312094 0030EFF4 C0 A4 00 0C */ lfs f5, 0xc(r4) +/* 80312098 0030EFF8 EC E0 01 32 */ fmuls f7, f0, f4 +/* 8031209C 0030EFFC C0 24 00 04 */ lfs f1, 4(r4) +/* 803120A0 0030F000 ED 00 01 72 */ fmuls f8, f0, f5 +/* 803120A4 0030F004 C0 64 00 00 */ lfs f3, 0(r4) +/* 803120A8 0030F008 EC C0 00 72 */ fmuls f6, f0, f1 +/* 803120AC 0030F00C C0 42 C8 74 */ lfs f2, lbl_805AE594@sda21(r2) +/* 803120B0 0030F010 ED 87 01 32 */ fmuls f12, f7, f4 +/* 803120B4 0030F014 ED A8 01 72 */ fmuls f13, f8, f5 +/* 803120B8 0030F018 EC 06 00 72 */ fmuls f0, f6, f1 +/* 803120BC 0030F01C EC 22 60 28 */ fsubs f1, f2, f12 +/* 803120C0 0030F020 ED 23 02 32 */ fmuls f9, f3, f8 +/* 803120C4 0030F024 ED 46 01 32 */ fmuls f10, f6, f4 +/* 803120C8 0030F028 EC 21 68 28 */ fsubs f1, f1, f13 +/* 803120CC 0030F02C ED 03 01 F2 */ fmuls f8, f3, f7 +/* 803120D0 0030F030 ED 66 01 72 */ fmuls f11, f6, f5 +/* 803120D4 0030F034 EC 82 00 28 */ fsubs f4, f2, f0 +/* 803120D8 0030F038 D0 23 00 00 */ stfs f1, 0(r3) +/* 803120DC 0030F03C EC 4A 48 28 */ fsubs f2, f10, f9 +/* 803120E0 0030F040 EC 0B 40 2A */ fadds f0, f11, f8 +/* 803120E4 0030F044 EC 2A 48 2A */ fadds f1, f10, f9 +/* 803120E8 0030F048 D0 43 00 04 */ stfs f2, 4(r3) +/* 803120EC 0030F04C EC C3 01 B2 */ fmuls f6, f3, f6 +/* 803120F0 0030F050 EC A7 01 72 */ fmuls f5, f7, f5 +/* 803120F4 0030F054 D0 03 00 08 */ stfs f0, 8(r3) +/* 803120F8 0030F058 EC 04 68 28 */ fsubs f0, f4, f13 +/* 803120FC 0030F05C EC 4B 40 28 */ fsubs f2, f11, f8 +/* 80312100 0030F060 D0 23 00 0C */ stfs f1, 0xc(r3) +/* 80312104 0030F064 EC 65 30 28 */ fsubs f3, f5, f6 +/* 80312108 0030F068 EC 25 30 2A */ fadds f1, f5, f6 +/* 8031210C 0030F06C D0 03 00 10 */ stfs f0, 0x10(r3) +/* 80312110 0030F070 EC 04 60 28 */ fsubs f0, f4, f12 +/* 80312114 0030F074 D0 63 00 14 */ stfs f3, 0x14(r3) +/* 80312118 0030F078 D0 43 00 18 */ stfs f2, 0x18(r3) +/* 8031211C 0030F07C D0 23 00 1C */ stfs f1, 0x1c(r3) +/* 80312120 0030F080 D0 03 00 20 */ stfs f0, 0x20(r3) +/* 80312124 0030F084 4E 80 00 20 */ blr + +.global FromMatrix__11CQuaternionFRC12CTransform4f +FromMatrix__11CQuaternionFRC12CTransform4f: +/* 80312128 0030F088 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8031212C 0030F08C 7C 08 02 A6 */ mflr r0 +/* 80312130 0030F090 38 A4 00 10 */ addi r5, r4, 0x10 +/* 80312134 0030F094 38 C4 00 20 */ addi r6, r4, 0x20 +/* 80312138 0030F098 90 01 00 24 */ stw r0, 0x24(r1) +/* 8031213C 0030F09C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80312140 0030F0A0 7C 7F 1B 78 */ mr r31, r3 +/* 80312144 0030F0A4 38 61 00 08 */ addi r3, r1, 8 +/* 80312148 0030F0A8 48 00 00 91 */ bl FromMatrixRows__11CQuaternionFRC9CVector3fRC9CVector3fRC9CVector3f +/* 8031214C 0030F0AC C0 21 00 0C */ lfs f1, 0xc(r1) +/* 80312150 0030F0B0 C0 41 00 10 */ lfs f2, 0x10(r1) +/* 80312154 0030F0B4 C0 61 00 14 */ lfs f3, 0x14(r1) +/* 80312158 0030F0B8 C0 01 00 08 */ lfs f0, 8(r1) +/* 8031215C 0030F0BC D0 1F 00 00 */ stfs f0, 0(r31) +/* 80312160 0030F0C0 D0 3F 00 04 */ stfs f1, 4(r31) +/* 80312164 0030F0C4 D0 5F 00 08 */ stfs f2, 8(r31) +/* 80312168 0030F0C8 D0 7F 00 0C */ stfs f3, 0xc(r31) +/* 8031216C 0030F0CC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80312170 0030F0D0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80312174 0030F0D4 7C 08 03 A6 */ mtlr r0 +/* 80312178 0030F0D8 38 21 00 20 */ addi r1, r1, 0x20 +/* 8031217C 0030F0DC 4E 80 00 20 */ blr + +.global FromMatrix__11CQuaternionFRC9CMatrix3f +FromMatrix__11CQuaternionFRC9CMatrix3f: +/* 80312180 0030F0E0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80312184 0030F0E4 7C 08 02 A6 */ mflr r0 +/* 80312188 0030F0E8 38 A4 00 0C */ addi r5, r4, 0xc +/* 8031218C 0030F0EC 38 C4 00 18 */ addi r6, r4, 0x18 +/* 80312190 0030F0F0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80312194 0030F0F4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80312198 0030F0F8 7C 7F 1B 78 */ mr r31, r3 +/* 8031219C 0030F0FC 38 61 00 08 */ addi r3, r1, 8 +/* 803121A0 0030F100 48 00 00 39 */ bl FromMatrixRows__11CQuaternionFRC9CVector3fRC9CVector3fRC9CVector3f +/* 803121A4 0030F104 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 803121A8 0030F108 C0 41 00 10 */ lfs f2, 0x10(r1) +/* 803121AC 0030F10C C0 61 00 14 */ lfs f3, 0x14(r1) +/* 803121B0 0030F110 C0 01 00 08 */ lfs f0, 8(r1) +/* 803121B4 0030F114 D0 1F 00 00 */ stfs f0, 0(r31) +/* 803121B8 0030F118 D0 3F 00 04 */ stfs f1, 4(r31) +/* 803121BC 0030F11C D0 5F 00 08 */ stfs f2, 8(r31) +/* 803121C0 0030F120 D0 7F 00 0C */ stfs f3, 0xc(r31) +/* 803121C4 0030F124 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803121C8 0030F128 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803121CC 0030F12C 7C 08 03 A6 */ mtlr r0 +/* 803121D0 0030F130 38 21 00 20 */ addi r1, r1, 0x20 +/* 803121D4 0030F134 4E 80 00 20 */ blr + +.global FromMatrixRows__11CQuaternionFRC9CVector3fRC9CVector3fRC9CVector3f +FromMatrixRows__11CQuaternionFRC9CVector3fRC9CVector3fRC9CVector3f: +/* 803121D8 0030F138 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803121DC 0030F13C 7C 08 02 A6 */ mflr r0 +/* 803121E0 0030F140 C0 42 C8 74 */ lfs f2, lbl_805AE594@sda21(r2) +/* 803121E4 0030F144 90 01 00 24 */ stw r0, 0x24(r1) +/* 803121E8 0030F148 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 803121EC 0030F14C 7C DF 33 78 */ mr r31, r6 +/* 803121F0 0030F150 93 C1 00 18 */ stw r30, 0x18(r1) +/* 803121F4 0030F154 7C BE 2B 78 */ mr r30, r5 +/* 803121F8 0030F158 93 A1 00 14 */ stw r29, 0x14(r1) +/* 803121FC 0030F15C 7C 9D 23 78 */ mr r29, r4 +/* 80312200 0030F160 93 81 00 10 */ stw r28, 0x10(r1) +/* 80312204 0030F164 7C 7C 1B 78 */ mr r28, r3 +/* 80312208 0030F168 C0 64 00 00 */ lfs f3, 0(r4) +/* 8031220C 0030F16C C0 85 00 04 */ lfs f4, 4(r5) +/* 80312210 0030F170 EC 02 18 2A */ fadds f0, f2, f3 +/* 80312214 0030F174 C0 A6 00 08 */ lfs f5, 8(r6) +/* 80312218 0030F178 EC 00 20 2A */ fadds f0, f0, f4 +/* 8031221C 0030F17C EC 25 00 2A */ fadds f1, f5, f0 +/* 80312220 0030F180 FC 01 10 40 */ fcmpo cr0, f1, f2 +/* 80312224 0030F184 40 81 00 5C */ ble lbl_80312280 +/* 80312228 0030F188 48 00 32 D9 */ bl SqrtF__5CMathFf +/* 8031222C 0030F18C C0 42 C8 7C */ lfs f2, lbl_805AE59C@sda21(r2) +/* 80312230 0030F190 C0 02 C8 B8 */ lfs f0, lbl_805AE5D8@sda21(r2) +/* 80312234 0030F194 EC C1 00 B2 */ fmuls f6, f1, f2 +/* 80312238 0030F198 C0 BF 00 04 */ lfs f5, 4(r31) +/* 8031223C 0030F19C C0 9E 00 08 */ lfs f4, 8(r30) +/* 80312240 0030F1A0 C0 7D 00 08 */ lfs f3, 8(r29) +/* 80312244 0030F1A4 EC E0 30 24 */ fdivs f7, f0, f6 +/* 80312248 0030F1A8 C0 5F 00 00 */ lfs f2, 0(r31) +/* 8031224C 0030F1AC C0 3E 00 00 */ lfs f1, 0(r30) +/* 80312250 0030F1B0 C0 1D 00 04 */ lfs f0, 4(r29) +/* 80312254 0030F1B4 D0 DC 00 00 */ stfs f6, 0(r28) +/* 80312258 0030F1B8 EC 43 10 28 */ fsubs f2, f3, f2 +/* 8031225C 0030F1BC EC 01 00 28 */ fsubs f0, f1, f0 +/* 80312260 0030F1C0 EC 85 20 28 */ fsubs f4, f5, f4 +/* 80312264 0030F1C4 EC 47 00 B2 */ fmuls f2, f7, f2 +/* 80312268 0030F1C8 EC 07 00 32 */ fmuls f0, f7, f0 +/* 8031226C 0030F1CC EC 27 01 32 */ fmuls f1, f7, f4 +/* 80312270 0030F1D0 D0 3C 00 04 */ stfs f1, 4(r28) +/* 80312274 0030F1D4 D0 5C 00 08 */ stfs f2, 8(r28) +/* 80312278 0030F1D8 D0 1C 00 0C */ stfs f0, 0xc(r28) +/* 8031227C 0030F1DC 48 00 01 94 */ b lbl_80312410 +lbl_80312280: +/* 80312280 0030F1E0 FC 04 18 40 */ fcmpo cr0, f4, f3 +/* 80312284 0030F1E4 40 81 00 1C */ ble lbl_803122A0 +/* 80312288 0030F1E8 FC 05 20 40 */ fcmpo cr0, f5, f4 +/* 8031228C 0030F1EC 40 81 00 0C */ ble lbl_80312298 +/* 80312290 0030F1F0 38 00 00 02 */ li r0, 2 +/* 80312294 0030F1F4 48 00 00 20 */ b lbl_803122B4 +lbl_80312298: +/* 80312298 0030F1F8 38 00 00 01 */ li r0, 1 +/* 8031229C 0030F1FC 48 00 00 18 */ b lbl_803122B4 +lbl_803122A0: +/* 803122A0 0030F200 FC 05 18 40 */ fcmpo cr0, f5, f3 +/* 803122A4 0030F204 40 81 00 0C */ ble lbl_803122B0 +/* 803122A8 0030F208 38 00 00 02 */ li r0, 2 +/* 803122AC 0030F20C 48 00 00 08 */ b lbl_803122B4 +lbl_803122B0: +/* 803122B0 0030F210 38 00 00 00 */ li r0, 0 +lbl_803122B4: +/* 803122B4 0030F214 2C 00 00 00 */ cmpwi r0, 0 +/* 803122B8 0030F218 40 82 00 74 */ bne lbl_8031232C +/* 803122BC 0030F21C EC 03 20 28 */ fsubs f0, f3, f4 +/* 803122C0 0030F220 C0 22 C8 74 */ lfs f1, lbl_805AE594@sda21(r2) +/* 803122C4 0030F224 EC 00 28 28 */ fsubs f0, f0, f5 +/* 803122C8 0030F228 EC 21 00 2A */ fadds f1, f1, f0 +/* 803122CC 0030F22C 48 00 32 35 */ bl SqrtF__5CMathFf +/* 803122D0 0030F230 C0 02 C8 70 */ lfs f0, lbl_805AE590@sda21(r2) +/* 803122D4 0030F234 C0 62 C8 74 */ lfs f3, lbl_805AE594@sda21(r2) +/* 803122D8 0030F238 EC E0 00 72 */ fmuls f7, f0, f1 +/* 803122DC 0030F23C C0 02 C8 B8 */ lfs f0, lbl_805AE5D8@sda21(r2) +/* 803122E0 0030F240 C0 5F 00 04 */ lfs f2, 4(r31) +/* 803122E4 0030F244 C0 3E 00 08 */ lfs f1, 8(r30) +/* 803122E8 0030F248 ED 03 38 24 */ fdivs f8, f3, f7 +/* 803122EC 0030F24C C0 DD 00 04 */ lfs f6, 4(r29) +/* 803122F0 0030F250 C0 BE 00 00 */ lfs f5, 0(r30) +/* 803122F4 0030F254 C0 9D 00 08 */ lfs f4, 8(r29) +/* 803122F8 0030F258 C0 7F 00 00 */ lfs f3, 0(r31) +/* 803122FC 0030F25C EC 22 08 28 */ fsubs f1, f2, f1 +/* 80312300 0030F260 EC A6 28 2A */ fadds f5, f6, f5 +/* 80312304 0030F264 EC 07 00 32 */ fmuls f0, f7, f0 +/* 80312308 0030F268 EC 28 00 72 */ fmuls f1, f8, f1 +/* 8031230C 0030F26C EC 44 18 2A */ fadds f2, f4, f3 +/* 80312310 0030F270 EC 68 01 72 */ fmuls f3, f8, f5 +/* 80312314 0030F274 D0 3C 00 00 */ stfs f1, 0(r28) +/* 80312318 0030F278 EC 28 00 B2 */ fmuls f1, f8, f2 +/* 8031231C 0030F27C D0 1C 00 04 */ stfs f0, 4(r28) +/* 80312320 0030F280 D0 7C 00 08 */ stfs f3, 8(r28) +/* 80312324 0030F284 D0 3C 00 0C */ stfs f1, 0xc(r28) +/* 80312328 0030F288 48 00 00 E8 */ b lbl_80312410 +lbl_8031232C: +/* 8031232C 0030F28C 2C 00 00 01 */ cmpwi r0, 1 +/* 80312330 0030F290 40 82 00 74 */ bne lbl_803123A4 +/* 80312334 0030F294 EC 04 28 28 */ fsubs f0, f4, f5 +/* 80312338 0030F298 C0 22 C8 74 */ lfs f1, lbl_805AE594@sda21(r2) +/* 8031233C 0030F29C EC 00 18 28 */ fsubs f0, f0, f3 +/* 80312340 0030F2A0 EC 21 00 2A */ fadds f1, f1, f0 +/* 80312344 0030F2A4 48 00 31 BD */ bl SqrtF__5CMathFf +/* 80312348 0030F2A8 C0 02 C8 70 */ lfs f0, lbl_805AE590@sda21(r2) +/* 8031234C 0030F2AC C0 62 C8 74 */ lfs f3, lbl_805AE594@sda21(r2) +/* 80312350 0030F2B0 EC E0 00 72 */ fmuls f7, f0, f1 +/* 80312354 0030F2B4 C0 02 C8 B8 */ lfs f0, lbl_805AE5D8@sda21(r2) +/* 80312358 0030F2B8 C0 5D 00 08 */ lfs f2, 8(r29) +/* 8031235C 0030F2BC C0 3F 00 00 */ lfs f1, 0(r31) +/* 80312360 0030F2C0 ED 03 38 24 */ fdivs f8, f3, f7 +/* 80312364 0030F2C4 C0 9E 00 00 */ lfs f4, 0(r30) +/* 80312368 0030F2C8 C0 7D 00 04 */ lfs f3, 4(r29) +/* 8031236C 0030F2CC C0 DE 00 08 */ lfs f6, 8(r30) +/* 80312370 0030F2D0 C0 BF 00 04 */ lfs f5, 4(r31) +/* 80312374 0030F2D4 EC 22 08 28 */ fsubs f1, f2, f1 +/* 80312378 0030F2D8 EC 44 18 2A */ fadds f2, f4, f3 +/* 8031237C 0030F2DC EC 66 28 2A */ fadds f3, f6, f5 +/* 80312380 0030F2E0 EC 28 00 72 */ fmuls f1, f8, f1 +/* 80312384 0030F2E4 EC 48 00 B2 */ fmuls f2, f8, f2 +/* 80312388 0030F2E8 EC 07 00 32 */ fmuls f0, f7, f0 +/* 8031238C 0030F2EC D0 3C 00 00 */ stfs f1, 0(r28) +/* 80312390 0030F2F0 EC 28 00 F2 */ fmuls f1, f8, f3 +/* 80312394 0030F2F4 D0 5C 00 04 */ stfs f2, 4(r28) +/* 80312398 0030F2F8 D0 1C 00 08 */ stfs f0, 8(r28) +/* 8031239C 0030F2FC D0 3C 00 0C */ stfs f1, 0xc(r28) +/* 803123A0 0030F300 48 00 00 70 */ b lbl_80312410 +lbl_803123A4: +/* 803123A4 0030F304 EC 05 18 28 */ fsubs f0, f5, f3 +/* 803123A8 0030F308 C0 22 C8 74 */ lfs f1, lbl_805AE594@sda21(r2) +/* 803123AC 0030F30C EC 00 20 28 */ fsubs f0, f0, f4 +/* 803123B0 0030F310 EC 21 00 2A */ fadds f1, f1, f0 +/* 803123B4 0030F314 48 00 31 4D */ bl SqrtF__5CMathFf +/* 803123B8 0030F318 C0 02 C8 70 */ lfs f0, lbl_805AE590@sda21(r2) +/* 803123BC 0030F31C C0 62 C8 74 */ lfs f3, lbl_805AE594@sda21(r2) +/* 803123C0 0030F320 EC E0 00 72 */ fmuls f7, f0, f1 +/* 803123C4 0030F324 C0 02 C8 B8 */ lfs f0, lbl_805AE5D8@sda21(r2) +/* 803123C8 0030F328 C0 5E 00 00 */ lfs f2, 0(r30) +/* 803123CC 0030F32C C0 3D 00 04 */ lfs f1, 4(r29) +/* 803123D0 0030F330 ED 03 38 24 */ fdivs f8, f3, f7 +/* 803123D4 0030F334 C0 DF 00 00 */ lfs f6, 0(r31) +/* 803123D8 0030F338 C0 BD 00 08 */ lfs f5, 8(r29) +/* 803123DC 0030F33C C0 9F 00 04 */ lfs f4, 4(r31) +/* 803123E0 0030F340 C0 7E 00 08 */ lfs f3, 8(r30) +/* 803123E4 0030F344 EC 22 08 28 */ fsubs f1, f2, f1 +/* 803123E8 0030F348 EC 44 18 2A */ fadds f2, f4, f3 +/* 803123EC 0030F34C EC A6 28 2A */ fadds f5, f6, f5 +/* 803123F0 0030F350 EC 28 00 72 */ fmuls f1, f8, f1 +/* 803123F4 0030F354 EC 48 00 B2 */ fmuls f2, f8, f2 +/* 803123F8 0030F358 EC 68 01 72 */ fmuls f3, f8, f5 +/* 803123FC 0030F35C D0 3C 00 00 */ stfs f1, 0(r28) +/* 80312400 0030F360 EC 07 00 32 */ fmuls f0, f7, f0 +/* 80312404 0030F364 D0 7C 00 04 */ stfs f3, 4(r28) +/* 80312408 0030F368 D0 5C 00 08 */ stfs f2, 8(r28) +/* 8031240C 0030F36C D0 1C 00 0C */ stfs f0, 0xc(r28) +lbl_80312410: +/* 80312410 0030F370 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80312414 0030F374 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80312418 0030F378 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8031241C 0030F37C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80312420 0030F380 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80312424 0030F384 7C 08 03 A6 */ mtlr r0 +/* 80312428 0030F388 38 21 00 20 */ addi r1, r1, 0x20 +/* 8031242C 0030F38C 4E 80 00 20 */ blr + +.global __ct__11CQuaternionFR12CInputStream +__ct__11CQuaternionFR12CInputStream: +/* 80312430 0030F390 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80312434 0030F394 7C 08 02 A6 */ mflr r0 +/* 80312438 0030F398 90 01 00 14 */ stw r0, 0x14(r1) +/* 8031243C 0030F39C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80312440 0030F3A0 7C 9F 23 78 */ mr r31, r4 +/* 80312444 0030F3A4 93 C1 00 08 */ stw r30, 8(r1) +/* 80312448 0030F3A8 7C 7E 1B 78 */ mr r30, r3 +/* 8031244C 0030F3AC 7F E3 FB 78 */ mr r3, r31 +/* 80312450 0030F3B0 48 02 C7 D9 */ bl ReadFloat__12CInputStreamFv +/* 80312454 0030F3B4 D0 3E 00 00 */ stfs f1, 0(r30) +/* 80312458 0030F3B8 7F E4 FB 78 */ mr r4, r31 +/* 8031245C 0030F3BC 38 7E 00 04 */ addi r3, r30, 4 +/* 80312460 0030F3C0 48 00 27 2D */ bl __ct__9CVector3fFR12CInputStream +/* 80312464 0030F3C4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80312468 0030F3C8 7F C3 F3 78 */ mr r3, r30 +/* 8031246C 0030F3CC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80312470 0030F3D0 83 C1 00 08 */ lwz r30, 8(r1) +/* 80312474 0030F3D4 7C 08 03 A6 */ mtlr r0 +/* 80312478 0030F3D8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8031247C 0030F3DC 4E 80 00 20 */ blr + +.global __sinit_CQuaternion_cpp +__sinit_CQuaternion_cpp: +/* 80312480 0030F3E0 3C 80 80 4C */ lis r4, lbl_804BFD30@ha +/* 80312484 0030F3E4 3C 60 80 5A */ lis r3, lbl_805A6660@ha +/* 80312488 0030F3E8 38 E4 FD 30 */ addi r7, r4, lbl_804BFD30@l +/* 8031248C 0030F3EC C0 02 C8 78 */ lfs f0, lbl_805AE598@sda21(r2) +/* 80312490 0030F3F0 38 C3 66 60 */ addi r6, r3, lbl_805A6660@l +/* 80312494 0030F3F4 C0 22 C8 74 */ lfs f1, lbl_805AE594@sda21(r2) +/* 80312498 0030F3F8 38 A7 00 00 */ addi r5, r7, 0 +/* 8031249C 0030F3FC 38 87 00 0C */ addi r4, r7, 0xc +/* 803124A0 0030F400 38 67 00 18 */ addi r3, r7, 0x18 +/* 803124A4 0030F404 D0 26 00 00 */ stfs f1, 0(r6) +/* 803124A8 0030F408 D0 06 00 04 */ stfs f0, 4(r6) +/* 803124AC 0030F40C D0 06 00 08 */ stfs f0, 8(r6) +/* 803124B0 0030F410 D0 06 00 0C */ stfs f0, 0xc(r6) +/* 803124B4 0030F414 D0 27 00 00 */ stfs f1, 0(r7) +/* 803124B8 0030F418 D0 05 00 04 */ stfs f0, 4(r5) +/* 803124BC 0030F41C D0 05 00 08 */ stfs f0, 8(r5) +/* 803124C0 0030F420 D0 07 00 0C */ stfs f0, 0xc(r7) +/* 803124C4 0030F424 D0 24 00 04 */ stfs f1, 4(r4) +/* 803124C8 0030F428 D0 04 00 08 */ stfs f0, 8(r4) +/* 803124CC 0030F42C D0 07 00 18 */ stfs f0, 0x18(r7) +/* 803124D0 0030F430 D0 03 00 04 */ stfs f0, 4(r3) +/* 803124D4 0030F434 D0 23 00 08 */ stfs f1, 8(r3) +/* 803124D8 0030F438 4E 80 00 20 */ blr diff --git a/asm/Kyoto/Math/CSphere.s b/asm/Kyoto/Math/CSphere.s new file mode 100644 index 00000000..d168aae0 --- /dev/null +++ b/asm/Kyoto/Math/CSphere.s @@ -0,0 +1,27 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global GetSurfaceNormal__7CSphereCFRC9CVector3f +GetSurfaceNormal__7CSphereCFRC9CVector3f: +/* 80337188 003340E8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033718C 003340EC 7C 08 02 A6 */ mflr r0 +/* 80337190 003340F0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80337194 003340F4 C0 25 00 04 */ lfs f1, 4(r5) +/* 80337198 003340F8 C0 04 00 04 */ lfs f0, 4(r4) +/* 8033719C 003340FC C0 65 00 08 */ lfs f3, 8(r5) +/* 803371A0 00334100 EC 81 00 28 */ fsubs f4, f1, f0 +/* 803371A4 00334104 C0 44 00 08 */ lfs f2, 8(r4) +/* 803371A8 00334108 C0 04 00 00 */ lfs f0, 0(r4) +/* 803371AC 0033410C 38 81 00 08 */ addi r4, r1, 8 +/* 803371B0 00334110 C0 25 00 00 */ lfs f1, 0(r5) +/* 803371B4 00334114 EC 43 10 28 */ fsubs f2, f3, f2 +/* 803371B8 00334118 EC 01 00 28 */ fsubs f0, f1, f0 +/* 803371BC 0033411C D0 81 00 0C */ stfs f4, 0xc(r1) +/* 803371C0 00334120 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 803371C4 00334124 D0 01 00 08 */ stfs f0, 8(r1) +/* 803371C8 00334128 4B FD CC 09 */ bl __ct__13CUnitVector3fFRC9CVector3f +/* 803371CC 0033412C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803371D0 00334130 7C 08 03 A6 */ mtlr r0 +/* 803371D4 00334134 38 21 00 20 */ addi r1, r1, 0x20 +/* 803371D8 00334138 4E 80 00 20 */ blr diff --git a/asm/Kyoto/Math/CTransform4f.s b/asm/Kyoto/Math/CTransform4f.s new file mode 100644 index 00000000..599dc6ff --- /dev/null +++ b/asm/Kyoto/Math/CTransform4f.s @@ -0,0 +1,1582 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global GetInverse__12CTransform4fCFv +GetInverse__12CTransform4fCFv: +/* 803126E0 0030F640 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 803126E4 0030F644 DB E1 00 20 */ stfd f31, 0x20(r1) +/* 803126E8 0030F648 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 803126EC 0030F64C DB C1 00 10 */ stfd f30, 0x10(r1) +/* 803126F0 0030F650 F3 C1 00 18 */ psq_st f30, 24(r1), 0, qr0 +/* 803126F4 0030F654 C0 C4 00 10 */ lfs f6, 0x10(r4) +/* 803126F8 0030F658 C1 04 00 28 */ lfs f8, 0x28(r4) +/* 803126FC 0030F65C C0 44 00 0C */ lfs f2, 0xc(r4) +/* 80312700 0030F660 C0 E4 00 18 */ lfs f7, 0x18(r4) +/* 80312704 0030F664 EC 06 02 32 */ fmuls f0, f6, f8 +/* 80312708 0030F668 C0 84 00 20 */ lfs f4, 0x20(r4) +/* 8031270C 0030F66C EC 22 02 32 */ fmuls f1, f2, f8 +/* 80312710 0030F670 C1 44 00 24 */ lfs f10, 0x24(r4) +/* 80312714 0030F674 EC 42 01 F2 */ fmuls f2, f2, f7 +/* 80312718 0030F678 C1 24 00 14 */ lfs f9, 0x14(r4) +/* 8031271C 0030F67C EC 67 02 B2 */ fmuls f3, f7, f10 +/* 80312720 0030F680 C3 E4 00 04 */ lfs f31, 4(r4) +/* 80312724 0030F684 EC 07 01 38 */ fmsubs f0, f7, f4, f0 +/* 80312728 0030F688 C1 64 00 2C */ lfs f11, 0x2c(r4) +/* 8031272C 0030F68C EC A9 01 32 */ fmuls f5, f9, f4 +/* 80312730 0030F690 C0 84 00 00 */ lfs f4, 0(r4) +/* 80312734 0030F694 EC 69 1A 38 */ fmsubs f3, f9, f8, f3 +/* 80312738 0030F698 C1 84 00 08 */ lfs f12, 8(r4) +/* 8031273C 0030F69C EC 1F 00 32 */ fmuls f0, f31, f0 +/* 80312740 0030F6A0 C1 A4 00 1C */ lfs f13, 0x1c(r4) +/* 80312744 0030F6A4 EC A6 2A B8 */ fmsubs f5, f6, f10, f5 +/* 80312748 0030F6A8 C0 C2 C8 D0 */ lfs f6, lbl_805AE5F0@sda21(r2) +/* 8031274C 0030F6AC EC 04 00 FA */ fmadds f0, f4, f3, f0 +/* 80312750 0030F6B0 EC 6C 02 F2 */ fmuls f3, f12, f11 +/* 80312754 0030F6B4 EF CC 03 72 */ fmuls f30, f12, f13 +/* 80312758 0030F6B8 EC 0C 01 7A */ fmadds f0, f12, f5, f0 +/* 8031275C 0030F6BC EC E7 02 F2 */ fmuls f7, f7, f11 +/* 80312760 0030F6C0 ED 0D 02 32 */ fmuls f8, f13, f8 +/* 80312764 0030F6C4 EC 06 00 24 */ fdivs f0, f6, f0 +/* 80312768 0030F6C8 FC A0 38 50 */ fneg f5, f7 +/* 8031276C 0030F6CC EC 83 08 28 */ fsubs f4, f3, f1 +/* 80312770 0030F6D0 FC C0 F0 50 */ fneg f6, f30 +/* 80312774 0030F6D4 FC 60 18 50 */ fneg f3, f3 +/* 80312778 0030F6D8 EC A5 40 2A */ fadds f5, f5, f8 +/* 8031277C 0030F6DC EC 89 01 32 */ fmuls f4, f9, f4 +/* 80312780 0030F6E0 EC C6 10 2A */ fadds f6, f6, f2 +/* 80312784 0030F6E4 EC 23 08 2A */ fadds f1, f3, f1 +/* 80312788 0030F6E8 EC 9F 21 7A */ fmadds f4, f31, f5, f4 +/* 8031278C 0030F6EC EC 67 40 28 */ fsubs f3, f7, f8 +/* 80312790 0030F6F0 EC BE 10 28 */ fsubs f5, f30, f2 +/* 80312794 0030F6F4 EC 4A 21 BA */ fmadds f2, f10, f6, f4 +/* 80312798 0030F6F8 EC 40 00 B2 */ fmuls f2, f0, f2 +/* 8031279C 0030F6FC D0 43 00 0C */ stfs f2, 0xc(r3) +/* 803127A0 0030F700 C0 44 00 10 */ lfs f2, 0x10(r4) +/* 803127A4 0030F704 C0 84 00 00 */ lfs f4, 0(r4) +/* 803127A8 0030F708 EC 22 00 72 */ fmuls f1, f2, f1 +/* 803127AC 0030F70C C0 44 00 20 */ lfs f2, 0x20(r4) +/* 803127B0 0030F710 EC 24 08 FA */ fmadds f1, f4, f3, f1 +/* 803127B4 0030F714 EC 22 09 7A */ fmadds f1, f2, f5, f1 +/* 803127B8 0030F718 EC 20 00 72 */ fmuls f1, f0, f1 +/* 803127BC 0030F71C D0 23 00 1C */ stfs f1, 0x1c(r3) +/* 803127C0 0030F720 C0 24 00 14 */ lfs f1, 0x14(r4) +/* 803127C4 0030F724 C0 64 00 0C */ lfs f3, 0xc(r4) +/* 803127C8 0030F728 C0 44 00 24 */ lfs f2, 0x24(r4) +/* 803127CC 0030F72C FC 80 08 50 */ fneg f4, f1 +/* 803127D0 0030F730 C1 44 00 1C */ lfs f10, 0x1c(r4) +/* 803127D4 0030F734 EC C3 00 72 */ fmuls f6, f3, f1 +/* 803127D8 0030F738 C0 E4 00 04 */ lfs f7, 4(r4) +/* 803127DC 0030F73C EC 23 00 B2 */ fmuls f1, f3, f2 +/* 803127E0 0030F740 C1 24 00 2C */ lfs f9, 0x2c(r4) +/* 803127E4 0030F744 EC 6A 00 B2 */ fmuls f3, f10, f2 +/* 803127E8 0030F748 C0 44 00 10 */ lfs f2, 0x10(r4) +/* 803127EC 0030F74C EC 27 0A 78 */ fmsubs f1, f7, f9, f1 +/* 803127F0 0030F750 C0 A4 00 00 */ lfs f5, 0(r4) +/* 803127F4 0030F754 FC E0 38 50 */ fneg f7, f7 +/* 803127F8 0030F758 C1 04 00 20 */ lfs f8, 0x20(r4) +/* 803127FC 0030F75C EC 64 1A 7A */ fmadds f3, f4, f9, f3 +/* 80312800 0030F760 EC 22 00 72 */ fmuls f1, f2, f1 +/* 80312804 0030F764 EC 47 32 BA */ fmadds f2, f7, f10, f6 +/* 80312808 0030F768 EC 25 08 FA */ fmadds f1, f5, f3, f1 +/* 8031280C 0030F76C EC 28 08 BA */ fmadds f1, f8, f2, f1 +/* 80312810 0030F770 EC 20 00 72 */ fmuls f1, f0, f1 +/* 80312814 0030F774 D0 23 00 2C */ stfs f1, 0x2c(r3) +/* 80312818 0030F778 C0 44 00 18 */ lfs f2, 0x18(r4) +/* 8031281C 0030F77C C0 24 00 24 */ lfs f1, 0x24(r4) +/* 80312820 0030F780 C0 64 00 14 */ lfs f3, 0x14(r4) +/* 80312824 0030F784 EC 22 00 72 */ fmuls f1, f2, f1 +/* 80312828 0030F788 C0 44 00 28 */ lfs f2, 0x28(r4) +/* 8031282C 0030F78C EC 23 08 B8 */ fmsubs f1, f3, f2, f1 +/* 80312830 0030F790 EC 20 00 72 */ fmuls f1, f0, f1 +/* 80312834 0030F794 D0 23 00 00 */ stfs f1, 0(r3) +/* 80312838 0030F798 C0 44 00 04 */ lfs f2, 4(r4) +/* 8031283C 0030F79C C0 24 00 28 */ lfs f1, 0x28(r4) +/* 80312840 0030F7A0 C0 64 00 08 */ lfs f3, 8(r4) +/* 80312844 0030F7A4 EC 22 00 72 */ fmuls f1, f2, f1 +/* 80312848 0030F7A8 C0 44 00 24 */ lfs f2, 0x24(r4) +/* 8031284C 0030F7AC EC 23 08 B8 */ fmsubs f1, f3, f2, f1 +/* 80312850 0030F7B0 EC 20 00 72 */ fmuls f1, f0, f1 +/* 80312854 0030F7B4 D0 23 00 04 */ stfs f1, 4(r3) +/* 80312858 0030F7B8 C0 44 00 08 */ lfs f2, 8(r4) +/* 8031285C 0030F7BC C0 24 00 14 */ lfs f1, 0x14(r4) +/* 80312860 0030F7C0 C0 64 00 04 */ lfs f3, 4(r4) +/* 80312864 0030F7C4 EC 22 00 72 */ fmuls f1, f2, f1 +/* 80312868 0030F7C8 C0 44 00 18 */ lfs f2, 0x18(r4) +/* 8031286C 0030F7CC EC 23 08 B8 */ fmsubs f1, f3, f2, f1 +/* 80312870 0030F7D0 EC 20 00 72 */ fmuls f1, f0, f1 +/* 80312874 0030F7D4 D0 23 00 08 */ stfs f1, 8(r3) +/* 80312878 0030F7D8 C0 44 00 10 */ lfs f2, 0x10(r4) +/* 8031287C 0030F7DC C0 24 00 28 */ lfs f1, 0x28(r4) +/* 80312880 0030F7E0 C0 64 00 18 */ lfs f3, 0x18(r4) +/* 80312884 0030F7E4 EC 22 00 72 */ fmuls f1, f2, f1 +/* 80312888 0030F7E8 C0 44 00 20 */ lfs f2, 0x20(r4) +/* 8031288C 0030F7EC EC 23 08 B8 */ fmsubs f1, f3, f2, f1 +/* 80312890 0030F7F0 EC 20 00 72 */ fmuls f1, f0, f1 +/* 80312894 0030F7F4 D0 23 00 10 */ stfs f1, 0x10(r3) +/* 80312898 0030F7F8 C0 44 00 08 */ lfs f2, 8(r4) +/* 8031289C 0030F7FC C0 24 00 20 */ lfs f1, 0x20(r4) +/* 803128A0 0030F800 C0 64 00 00 */ lfs f3, 0(r4) +/* 803128A4 0030F804 EC 22 00 72 */ fmuls f1, f2, f1 +/* 803128A8 0030F808 C0 44 00 28 */ lfs f2, 0x28(r4) +/* 803128AC 0030F80C EC 23 08 B8 */ fmsubs f1, f3, f2, f1 +/* 803128B0 0030F810 EC 20 00 72 */ fmuls f1, f0, f1 +/* 803128B4 0030F814 D0 23 00 14 */ stfs f1, 0x14(r3) +/* 803128B8 0030F818 C0 44 00 00 */ lfs f2, 0(r4) +/* 803128BC 0030F81C C0 24 00 18 */ lfs f1, 0x18(r4) +/* 803128C0 0030F820 C0 64 00 08 */ lfs f3, 8(r4) +/* 803128C4 0030F824 EC 22 00 72 */ fmuls f1, f2, f1 +/* 803128C8 0030F828 C0 44 00 10 */ lfs f2, 0x10(r4) +/* 803128CC 0030F82C EC 23 08 B8 */ fmsubs f1, f3, f2, f1 +/* 803128D0 0030F830 EC 20 00 72 */ fmuls f1, f0, f1 +/* 803128D4 0030F834 D0 23 00 18 */ stfs f1, 0x18(r3) +/* 803128D8 0030F838 C0 44 00 14 */ lfs f2, 0x14(r4) +/* 803128DC 0030F83C C0 24 00 20 */ lfs f1, 0x20(r4) +/* 803128E0 0030F840 C0 64 00 10 */ lfs f3, 0x10(r4) +/* 803128E4 0030F844 EC 22 00 72 */ fmuls f1, f2, f1 +/* 803128E8 0030F848 C0 44 00 24 */ lfs f2, 0x24(r4) +/* 803128EC 0030F84C EC 23 08 B8 */ fmsubs f1, f3, f2, f1 +/* 803128F0 0030F850 EC 20 00 72 */ fmuls f1, f0, f1 +/* 803128F4 0030F854 D0 23 00 20 */ stfs f1, 0x20(r3) +/* 803128F8 0030F858 C0 44 00 00 */ lfs f2, 0(r4) +/* 803128FC 0030F85C C0 24 00 24 */ lfs f1, 0x24(r4) +/* 80312900 0030F860 C0 64 00 04 */ lfs f3, 4(r4) +/* 80312904 0030F864 EC 22 00 72 */ fmuls f1, f2, f1 +/* 80312908 0030F868 C0 44 00 20 */ lfs f2, 0x20(r4) +/* 8031290C 0030F86C EC 23 08 B8 */ fmsubs f1, f3, f2, f1 +/* 80312910 0030F870 EC 20 00 72 */ fmuls f1, f0, f1 +/* 80312914 0030F874 D0 23 00 24 */ stfs f1, 0x24(r3) +/* 80312918 0030F878 C0 44 00 04 */ lfs f2, 4(r4) +/* 8031291C 0030F87C C0 24 00 10 */ lfs f1, 0x10(r4) +/* 80312920 0030F880 C0 64 00 00 */ lfs f3, 0(r4) +/* 80312924 0030F884 EC 22 00 72 */ fmuls f1, f2, f1 +/* 80312928 0030F888 C0 44 00 14 */ lfs f2, 0x14(r4) +/* 8031292C 0030F88C EC 23 08 B8 */ fmsubs f1, f3, f2, f1 +/* 80312930 0030F890 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80312934 0030F894 D0 03 00 28 */ stfs f0, 0x28(r3) +/* 80312938 0030F898 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 8031293C 0030F89C CB E1 00 20 */ lfd f31, 0x20(r1) +/* 80312940 0030F8A0 E3 C1 00 18 */ psq_l f30, 24(r1), 0, qr0 +/* 80312944 0030F8A4 CB C1 00 10 */ lfd f30, 0x10(r1) +/* 80312948 0030F8A8 38 21 00 30 */ addi r1, r1, 0x30 +/* 8031294C 0030F8AC 4E 80 00 20 */ blr + +.global __ml__12CTransform4fCFRC12CTransform4f +__ml__12CTransform4fCFRC12CTransform4f: +/* 80312950 0030F8B0 E0 04 00 00 */ psq_l f0, 0(r4), 0, qr0 +/* 80312954 0030F8B4 E0 E5 00 08 */ psq_l f7, 8(r5), 0, qr0 +/* 80312958 0030F8B8 10 20 04 E0 */ ps_merge11 f1, f0, f0 +/* 8031295C 0030F8BC E0 85 00 00 */ psq_l f4, 0(r5), 0, qr0 +/* 80312960 0030F8C0 10 00 04 20 */ ps_merge00 f0, f0, f0 +/* 80312964 0030F8C4 C0 62 C8 D4 */ lfs f3, lbl_805AE5F4@sda21(r2) +/* 80312968 0030F8C8 E0 44 00 08 */ psq_l f2, 8(r4), 0, qr0 +/* 8031296C 0030F8CC E1 05 00 18 */ psq_l f8, 24(r5), 0, qr0 +/* 80312970 0030F8D0 11 40 01 F2 */ ps_mul f10, f0, f7 +/* 80312974 0030F8D4 E0 A5 00 10 */ psq_l f5, 16(r5), 0, qr0 +/* 80312978 0030F8D8 10 00 01 32 */ ps_mul f0, f0, f4 +/* 8031297C 0030F8DC E1 25 00 28 */ psq_l f9, 40(r5), 0, qr0 +/* 80312980 0030F8E0 10 63 14 60 */ ps_merge01 f3, f3, f2 +/* 80312984 0030F8E4 E0 C5 00 20 */ psq_l f6, 32(r5), 0, qr0 +/* 80312988 0030F8E8 10 42 14 20 */ ps_merge00 f2, f2, f2 +/* 8031298C 0030F8EC 11 41 52 3A */ ps_madd f10, f1, f8, f10 +/* 80312990 0030F8F0 10 01 01 7A */ ps_madd f0, f1, f5, f0 +/* 80312994 0030F8F4 11 42 52 7A */ ps_madd f10, f2, f9, f10 +/* 80312998 0030F8F8 10 02 01 BA */ ps_madd f0, f2, f6, f0 +/* 8031299C 0030F8FC 11 43 50 2A */ ps_add f10, f3, f10 +/* 803129A0 0030F900 F0 03 00 00 */ psq_st f0, 0(r3), 0, qr0 +/* 803129A4 0030F904 F1 43 00 08 */ psq_st f10, 8(r3), 0, qr0 +/* 803129A8 0030F908 E0 04 00 10 */ psq_l f0, 16(r4), 0, qr0 +/* 803129AC 0030F90C E0 44 00 18 */ psq_l f2, 24(r4), 0, qr0 +/* 803129B0 0030F910 10 20 04 E0 */ ps_merge11 f1, f0, f0 +/* 803129B4 0030F914 10 00 04 20 */ ps_merge00 f0, f0, f0 +/* 803129B8 0030F918 10 63 14 60 */ ps_merge01 f3, f3, f2 +/* 803129BC 0030F91C 10 42 14 20 */ ps_merge00 f2, f2, f2 +/* 803129C0 0030F920 11 40 01 F2 */ ps_mul f10, f0, f7 +/* 803129C4 0030F924 10 00 01 32 */ ps_mul f0, f0, f4 +/* 803129C8 0030F928 11 41 52 3A */ ps_madd f10, f1, f8, f10 +/* 803129CC 0030F92C 10 01 01 7A */ ps_madd f0, f1, f5, f0 +/* 803129D0 0030F930 11 42 52 7A */ ps_madd f10, f2, f9, f10 +/* 803129D4 0030F934 10 02 01 BA */ ps_madd f0, f2, f6, f0 +/* 803129D8 0030F938 11 43 50 2A */ ps_add f10, f3, f10 +/* 803129DC 0030F93C F0 03 00 10 */ psq_st f0, 16(r3), 0, qr0 +/* 803129E0 0030F940 F1 43 00 18 */ psq_st f10, 24(r3), 0, qr0 +/* 803129E4 0030F944 E0 04 00 20 */ psq_l f0, 32(r4), 0, qr0 +/* 803129E8 0030F948 E0 44 00 28 */ psq_l f2, 40(r4), 0, qr0 +/* 803129EC 0030F94C 10 20 04 E0 */ ps_merge11 f1, f0, f0 +/* 803129F0 0030F950 10 00 04 20 */ ps_merge00 f0, f0, f0 +/* 803129F4 0030F954 10 63 14 60 */ ps_merge01 f3, f3, f2 +/* 803129F8 0030F958 10 42 14 20 */ ps_merge00 f2, f2, f2 +/* 803129FC 0030F95C 11 40 01 F2 */ ps_mul f10, f0, f7 +/* 80312A00 0030F960 10 00 01 32 */ ps_mul f0, f0, f4 +/* 80312A04 0030F964 11 41 52 3A */ ps_madd f10, f1, f8, f10 +/* 80312A08 0030F968 10 01 01 7A */ ps_madd f0, f1, f5, f0 +/* 80312A0C 0030F96C 11 42 52 7A */ ps_madd f10, f2, f9, f10 +/* 80312A10 0030F970 10 02 01 BA */ ps_madd f0, f2, f6, f0 +/* 80312A14 0030F974 11 43 50 2A */ ps_add f10, f3, f10 +/* 80312A18 0030F978 F0 03 00 20 */ psq_st f0, 32(r3), 0, qr0 +/* 80312A1C 0030F97C F1 43 00 28 */ psq_st f10, 40(r3), 0, qr0 +/* 80312A20 0030F980 4E 80 00 20 */ blr + +.global TransposeRotate__12CTransform4fCFRC9CVector3f +TransposeRotate__12CTransform4fCFRC9CVector3f: +/* 80312A24 0030F984 C0 05 00 00 */ lfs f0, 0(r5) +/* 80312A28 0030F988 C0 25 00 04 */ lfs f1, 4(r5) +/* 80312A2C 0030F98C 10 60 04 20 */ ps_merge00 f3, f0, f0 +/* 80312A30 0030F990 E0 84 00 00 */ psq_l f4, 0(r4), 0, qr0 +/* 80312A34 0030F994 C0 45 00 08 */ lfs f2, 8(r5) +/* 80312A38 0030F998 10 21 0C 20 */ ps_merge00 f1, f1, f1 +/* 80312A3C 0030F99C C0 04 00 18 */ lfs f0, 0x18(r4) +/* 80312A40 0030F9A0 10 A4 00 F2 */ ps_mul f5, f4, f3 +/* 80312A44 0030F9A4 E0 C4 00 10 */ psq_l f6, 16(r4), 0, qr0 +/* 80312A48 0030F9A8 10 82 14 20 */ ps_merge00 f4, f2, f2 +/* 80312A4C 0030F9AC E0 E4 00 20 */ psq_l f7, 32(r4), 0, qr0 +/* 80312A50 0030F9B0 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80312A54 0030F9B4 10 A6 28 7A */ ps_madd f5, f6, f1, f5 +/* 80312A58 0030F9B8 C0 24 00 08 */ lfs f1, 8(r4) +/* 80312A5C 0030F9BC C0 44 00 28 */ lfs f2, 0x28(r4) +/* 80312A60 0030F9C0 10 A7 29 3A */ ps_madd f5, f7, f4, f5 +/* 80312A64 0030F9C4 EC 01 00 FA */ fmadds f0, f1, f3, f0 +/* 80312A68 0030F9C8 10 25 2C E0 */ ps_merge11 f1, f5, f5 +/* 80312A6C 0030F9CC D0 A3 00 00 */ stfs f5, 0(r3) +/* 80312A70 0030F9D0 EC 02 01 3A */ fmadds f0, f2, f4, f0 +/* 80312A74 0030F9D4 D0 23 00 04 */ stfs f1, 4(r3) +/* 80312A78 0030F9D8 D0 03 00 08 */ stfs f0, 8(r3) +/* 80312A7C 0030F9DC 4E 80 00 20 */ blr + +.global Rotate__12CTransform4fCFRC9CVector3f +Rotate__12CTransform4fCFRC9CVector3f: +/* 80312A80 0030F9E0 C0 E2 C8 D4 */ lfs f7, lbl_805AE5F4@sda21(r2) +/* 80312A84 0030F9E4 E0 A4 80 08 */ psq_l f5, 8(r4), 1, qr0 +/* 80312A88 0030F9E8 E0 45 00 00 */ psq_l f2, 0(r5), 0, qr0 +/* 80312A8C 0030F9EC E0 84 00 00 */ psq_l f4, 0(r4), 0, qr0 +/* 80312A90 0030F9F0 10 A5 3C 20 */ ps_merge00 f5, f5, f7 +/* 80312A94 0030F9F4 E0 65 80 08 */ psq_l f3, 8(r5), 1, qr0 +/* 80312A98 0030F9F8 10 04 00 B2 */ ps_mul f0, f4, f2 +/* 80312A9C 0030F9FC E0 84 00 10 */ psq_l f4, 16(r4), 0, qr0 +/* 80312AA0 0030FA00 C0 C2 C8 D0 */ lfs f6, lbl_805AE5F0@sda21(r2) +/* 80312AA4 0030FA04 10 24 00 B2 */ ps_mul f1, f4, f2 +/* 80312AA8 0030FA08 E0 84 00 20 */ psq_l f4, 32(r4), 0, qr0 +/* 80312AAC 0030FA0C 10 05 00 FA */ ps_madd f0, f5, f3, f0 +/* 80312AB0 0030FA10 E0 A4 80 18 */ psq_l f5, 24(r4), 1, qr0 +/* 80312AB4 0030FA14 10 44 00 B2 */ ps_mul f2, f4, f2 +/* 80312AB8 0030FA18 10 A5 3C 20 */ ps_merge00 f5, f5, f7 +/* 80312ABC 0030FA1C 10 06 00 1E */ ps_madds1 f0, f6, f0, f0 +/* 80312AC0 0030FA20 10 25 08 FA */ ps_madd f1, f5, f3, f1 +/* 80312AC4 0030FA24 E0 A4 80 28 */ psq_l f5, 40(r4), 1, qr0 +/* 80312AC8 0030FA28 10 A5 3C 20 */ ps_merge00 f5, f5, f7 +/* 80312ACC 0030FA2C D0 03 00 00 */ stfs f0, 0(r3) +/* 80312AD0 0030FA30 10 26 08 5E */ ps_madds1 f1, f6, f1, f1 +/* 80312AD4 0030FA34 10 45 10 FA */ ps_madd f2, f5, f3, f2 +/* 80312AD8 0030FA38 D0 23 00 04 */ stfs f1, 4(r3) +/* 80312ADC 0030FA3C 10 46 10 9E */ ps_madds1 f2, f6, f2, f2 +/* 80312AE0 0030FA40 D0 43 00 08 */ stfs f2, 8(r3) +/* 80312AE4 0030FA44 4E 80 00 20 */ blr + +.global __ml__12CTransform4fCFRC9CVector3f +__ml__12CTransform4fCFRC9CVector3f: +/* 80312AE8 0030FA48 E0 45 00 00 */ psq_l f2, 0(r5), 0, qr0 +/* 80312AEC 0030FA4C E0 84 00 00 */ psq_l f4, 0(r4), 0, qr0 +/* 80312AF0 0030FA50 E0 65 80 08 */ psq_l f3, 8(r5), 1, qr0 +/* 80312AF4 0030FA54 10 04 00 B2 */ ps_mul f0, f4, f2 +/* 80312AF8 0030FA58 E0 84 00 10 */ psq_l f4, 16(r4), 0, qr0 +/* 80312AFC 0030FA5C E0 A4 00 08 */ psq_l f5, 8(r4), 0, qr0 +/* 80312B00 0030FA60 10 24 00 B2 */ ps_mul f1, f4, f2 +/* 80312B04 0030FA64 E0 84 00 20 */ psq_l f4, 32(r4), 0, qr0 +/* 80312B08 0030FA68 10 05 00 FA */ ps_madd f0, f5, f3, f0 +/* 80312B0C 0030FA6C E0 A4 00 18 */ psq_l f5, 24(r4), 0, qr0 +/* 80312B10 0030FA70 10 44 00 B2 */ ps_mul f2, f4, f2 +/* 80312B14 0030FA74 C0 C2 C8 D0 */ lfs f6, lbl_805AE5F0@sda21(r2) +/* 80312B18 0030FA78 10 25 08 FA */ ps_madd f1, f5, f3, f1 +/* 80312B1C 0030FA7C E0 A4 00 28 */ psq_l f5, 40(r4), 0, qr0 +/* 80312B20 0030FA80 10 06 00 1E */ ps_madds1 f0, f6, f0, f0 +/* 80312B24 0030FA84 10 45 10 FA */ ps_madd f2, f5, f3, f2 +/* 80312B28 0030FA88 10 26 08 5E */ ps_madds1 f1, f6, f1, f1 +/* 80312B2C 0030FA8C D0 03 00 00 */ stfs f0, 0(r3) +/* 80312B30 0030FA90 10 46 10 9E */ ps_madds1 f2, f6, f2, f2 +/* 80312B34 0030FA94 D0 23 00 04 */ stfs f1, 4(r3) +/* 80312B38 0030FA98 D0 43 00 08 */ stfs f2, 8(r3) +/* 80312B3C 0030FA9C 4E 80 00 20 */ blr + +.global __as__12CTransform4fFRC12CTransform4f +__as__12CTransform4fFRC12CTransform4f: +/* 80312B40 0030FAA0 C8 04 00 00 */ lfd f0, 0(r4) +/* 80312B44 0030FAA4 C8 24 00 08 */ lfd f1, 8(r4) +/* 80312B48 0030FAA8 C8 44 00 10 */ lfd f2, 0x10(r4) +/* 80312B4C 0030FAAC D8 03 00 00 */ stfd f0, 0(r3) +/* 80312B50 0030FAB0 D8 23 00 08 */ stfd f1, 8(r3) +/* 80312B54 0030FAB4 D8 43 00 10 */ stfd f2, 0x10(r3) +/* 80312B58 0030FAB8 C8 04 00 18 */ lfd f0, 0x18(r4) +/* 80312B5C 0030FABC C8 24 00 20 */ lfd f1, 0x20(r4) +/* 80312B60 0030FAC0 C8 44 00 28 */ lfd f2, 0x28(r4) +/* 80312B64 0030FAC4 D8 03 00 18 */ stfd f0, 0x18(r3) +/* 80312B68 0030FAC8 D8 23 00 20 */ stfd f1, 0x20(r3) +/* 80312B6C 0030FACC D8 43 00 28 */ stfd f2, 0x28(r3) +/* 80312B70 0030FAD0 4E 80 00 20 */ blr + +.global __ct__12CTransform4fFRC12CTransform4f +__ct__12CTransform4fFRC12CTransform4f: +/* 80312B74 0030FAD4 C8 04 00 00 */ lfd f0, 0(r4) +/* 80312B78 0030FAD8 C8 24 00 08 */ lfd f1, 8(r4) +/* 80312B7C 0030FADC C8 44 00 10 */ lfd f2, 0x10(r4) +/* 80312B80 0030FAE0 D8 03 00 00 */ stfd f0, 0(r3) +/* 80312B84 0030FAE4 D8 23 00 08 */ stfd f1, 8(r3) +/* 80312B88 0030FAE8 D8 43 00 10 */ stfd f2, 0x10(r3) +/* 80312B8C 0030FAEC C8 04 00 18 */ lfd f0, 0x18(r4) +/* 80312B90 0030FAF0 C8 24 00 20 */ lfd f1, 0x20(r4) +/* 80312B94 0030FAF4 C8 44 00 28 */ lfd f2, 0x28(r4) +/* 80312B98 0030FAF8 D8 03 00 18 */ stfd f0, 0x18(r3) +/* 80312B9C 0030FAFC D8 23 00 20 */ stfd f1, 0x20(r3) +/* 80312BA0 0030FB00 D8 43 00 28 */ stfd f2, 0x28(r3) +/* 80312BA4 0030FB04 4E 80 00 20 */ blr + +.global SetRotation__12CTransform4fFRC12CTransform4f +SetRotation__12CTransform4fFRC12CTransform4f: +/* 80312BA8 0030FB08 C0 04 00 00 */ lfs f0, 0(r4) +/* 80312BAC 0030FB0C D0 03 00 00 */ stfs f0, 0(r3) +/* 80312BB0 0030FB10 C0 04 00 04 */ lfs f0, 4(r4) +/* 80312BB4 0030FB14 D0 03 00 04 */ stfs f0, 4(r3) +/* 80312BB8 0030FB18 C0 04 00 08 */ lfs f0, 8(r4) +/* 80312BBC 0030FB1C D0 03 00 08 */ stfs f0, 8(r3) +/* 80312BC0 0030FB20 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 80312BC4 0030FB24 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 80312BC8 0030FB28 C0 04 00 14 */ lfs f0, 0x14(r4) +/* 80312BCC 0030FB2C D0 03 00 14 */ stfs f0, 0x14(r3) +/* 80312BD0 0030FB30 C0 04 00 18 */ lfs f0, 0x18(r4) +/* 80312BD4 0030FB34 D0 03 00 18 */ stfs f0, 0x18(r3) +/* 80312BD8 0030FB38 C0 04 00 20 */ lfs f0, 0x20(r4) +/* 80312BDC 0030FB3C D0 03 00 20 */ stfs f0, 0x20(r3) +/* 80312BE0 0030FB40 C0 04 00 24 */ lfs f0, 0x24(r4) +/* 80312BE4 0030FB44 D0 03 00 24 */ stfs f0, 0x24(r3) +/* 80312BE8 0030FB48 C0 04 00 28 */ lfs f0, 0x28(r4) +/* 80312BEC 0030FB4C D0 03 00 28 */ stfs f0, 0x28(r3) +/* 80312BF0 0030FB50 4E 80 00 20 */ blr + +.global SetRotation__12CTransform4fFRC9CMatrix3f +SetRotation__12CTransform4fFRC9CMatrix3f: +/* 80312BF4 0030FB54 C0 04 00 00 */ lfs f0, 0(r4) +/* 80312BF8 0030FB58 D0 03 00 00 */ stfs f0, 0(r3) +/* 80312BFC 0030FB5C C0 04 00 04 */ lfs f0, 4(r4) +/* 80312C00 0030FB60 D0 03 00 04 */ stfs f0, 4(r3) +/* 80312C04 0030FB64 C0 04 00 08 */ lfs f0, 8(r4) +/* 80312C08 0030FB68 D0 03 00 08 */ stfs f0, 8(r3) +/* 80312C0C 0030FB6C C0 04 00 0C */ lfs f0, 0xc(r4) +/* 80312C10 0030FB70 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 80312C14 0030FB74 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 80312C18 0030FB78 D0 03 00 14 */ stfs f0, 0x14(r3) +/* 80312C1C 0030FB7C C0 04 00 14 */ lfs f0, 0x14(r4) +/* 80312C20 0030FB80 D0 03 00 18 */ stfs f0, 0x18(r3) +/* 80312C24 0030FB84 C0 04 00 18 */ lfs f0, 0x18(r4) +/* 80312C28 0030FB88 D0 03 00 20 */ stfs f0, 0x20(r3) +/* 80312C2C 0030FB8C C0 04 00 1C */ lfs f0, 0x1c(r4) +/* 80312C30 0030FB90 D0 03 00 24 */ stfs f0, 0x24(r3) +/* 80312C34 0030FB94 C0 04 00 20 */ lfs f0, 0x20(r4) +/* 80312C38 0030FB98 D0 03 00 28 */ stfs f0, 0x28(r3) +/* 80312C3C 0030FB9C 4E 80 00 20 */ blr + +.global GetRotation__12CTransform4fCFv +GetRotation__12CTransform4fCFv: +/* 80312C40 0030FBA0 C1 24 00 28 */ lfs f9, 0x28(r4) +/* 80312C44 0030FBA4 C1 04 00 24 */ lfs f8, 0x24(r4) +/* 80312C48 0030FBA8 C0 E4 00 20 */ lfs f7, 0x20(r4) +/* 80312C4C 0030FBAC C0 C4 00 18 */ lfs f6, 0x18(r4) +/* 80312C50 0030FBB0 C0 A4 00 14 */ lfs f5, 0x14(r4) +/* 80312C54 0030FBB4 C0 84 00 10 */ lfs f4, 0x10(r4) +/* 80312C58 0030FBB8 C0 64 00 08 */ lfs f3, 8(r4) +/* 80312C5C 0030FBBC C0 44 00 04 */ lfs f2, 4(r4) +/* 80312C60 0030FBC0 C0 24 00 00 */ lfs f1, 0(r4) +/* 80312C64 0030FBC4 C0 02 C8 D4 */ lfs f0, lbl_805AE5F4@sda21(r2) +/* 80312C68 0030FBC8 D0 23 00 00 */ stfs f1, 0(r3) +/* 80312C6C 0030FBCC D0 43 00 04 */ stfs f2, 4(r3) +/* 80312C70 0030FBD0 D0 63 00 08 */ stfs f3, 8(r3) +/* 80312C74 0030FBD4 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 80312C78 0030FBD8 D0 83 00 10 */ stfs f4, 0x10(r3) +/* 80312C7C 0030FBDC D0 A3 00 14 */ stfs f5, 0x14(r3) +/* 80312C80 0030FBE0 D0 C3 00 18 */ stfs f6, 0x18(r3) +/* 80312C84 0030FBE4 D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 80312C88 0030FBE8 D0 E3 00 20 */ stfs f7, 0x20(r3) +/* 80312C8C 0030FBEC D1 03 00 24 */ stfs f8, 0x24(r3) +/* 80312C90 0030FBF0 D1 23 00 28 */ stfs f9, 0x28(r3) +/* 80312C94 0030FBF4 D0 03 00 2C */ stfs f0, 0x2c(r3) +/* 80312C98 0030FBF8 4E 80 00 20 */ blr + +.global GetQuickInverse__12CTransform4fCFv +GetQuickInverse__12CTransform4fCFv: +/* 80312C9C 0030FBFC C0 04 00 0C */ lfs f0, 0xc(r4) +/* 80312CA0 0030FC00 C1 64 00 10 */ lfs f11, 0x10(r4) +/* 80312CA4 0030FC04 C0 64 00 1C */ lfs f3, 0x1c(r4) +/* 80312CA8 0030FC08 FC 80 00 50 */ fneg f4, f0 +/* 80312CAC 0030FC0C C1 04 00 14 */ lfs f8, 0x14(r4) +/* 80312CB0 0030FC10 C0 A4 00 18 */ lfs f5, 0x18(r4) +/* 80312CB4 0030FC14 EC 4B 00 F2 */ fmuls f2, f11, f3 +/* 80312CB8 0030FC18 C1 84 00 00 */ lfs f12, 0(r4) +/* 80312CBC 0030FC1C EC 28 00 F2 */ fmuls f1, f8, f3 +/* 80312CC0 0030FC20 C1 24 00 04 */ lfs f9, 4(r4) +/* 80312CC4 0030FC24 EC 05 00 F2 */ fmuls f0, f5, f3 +/* 80312CC8 0030FC28 C0 C4 00 08 */ lfs f6, 8(r4) +/* 80312CCC 0030FC2C C1 44 00 20 */ lfs f10, 0x20(r4) +/* 80312CD0 0030FC30 EC 4C 11 38 */ fmsubs f2, f12, f4, f2 +/* 80312CD4 0030FC34 C0 64 00 2C */ lfs f3, 0x2c(r4) +/* 80312CD8 0030FC38 EC 29 09 38 */ fmsubs f1, f9, f4, f1 +/* 80312CDC 0030FC3C C0 E4 00 24 */ lfs f7, 0x24(r4) +/* 80312CE0 0030FC40 EC 06 01 38 */ fmsubs f0, f6, f4, f0 +/* 80312CE4 0030FC44 C0 84 00 28 */ lfs f4, 0x28(r4) +/* 80312CE8 0030FC48 EC 4A 10 FC */ fnmsubs f2, f10, f3, f2 +/* 80312CEC 0030FC4C D1 83 00 00 */ stfs f12, 0(r3) +/* 80312CF0 0030FC50 EC 27 08 FC */ fnmsubs f1, f7, f3, f1 +/* 80312CF4 0030FC54 EC 04 00 FC */ fnmsubs f0, f4, f3, f0 +/* 80312CF8 0030FC58 D1 63 00 04 */ stfs f11, 4(r3) +/* 80312CFC 0030FC5C D1 43 00 08 */ stfs f10, 8(r3) +/* 80312D00 0030FC60 D0 43 00 0C */ stfs f2, 0xc(r3) +/* 80312D04 0030FC64 D1 23 00 10 */ stfs f9, 0x10(r3) +/* 80312D08 0030FC68 D1 03 00 14 */ stfs f8, 0x14(r3) +/* 80312D0C 0030FC6C D0 E3 00 18 */ stfs f7, 0x18(r3) +/* 80312D10 0030FC70 D0 23 00 1C */ stfs f1, 0x1c(r3) +/* 80312D14 0030FC74 D0 C3 00 20 */ stfs f6, 0x20(r3) +/* 80312D18 0030FC78 D0 A3 00 24 */ stfs f5, 0x24(r3) +/* 80312D1C 0030FC7C D0 83 00 28 */ stfs f4, 0x28(r3) +/* 80312D20 0030FC80 D0 03 00 2C */ stfs f0, 0x2c(r3) +/* 80312D24 0030FC84 4E 80 00 20 */ blr + +.global sub_80312d28 +sub_80312d28: +/* 80312D28 0030FC88 C0 23 00 00 */ lfs f1, 0(r3) +/* 80312D2C 0030FC8C 38 00 00 00 */ li r0, 0 +/* 80312D30 0030FC90 C0 04 00 00 */ lfs f0, 0(r4) +/* 80312D34 0030FC94 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80312D38 0030FC98 40 82 00 B8 */ bne lbl_80312DF0 +/* 80312D3C 0030FC9C C0 23 00 04 */ lfs f1, 4(r3) +/* 80312D40 0030FCA0 C0 04 00 04 */ lfs f0, 4(r4) +/* 80312D44 0030FCA4 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80312D48 0030FCA8 40 82 00 A8 */ bne lbl_80312DF0 +/* 80312D4C 0030FCAC C0 23 00 08 */ lfs f1, 8(r3) +/* 80312D50 0030FCB0 C0 04 00 08 */ lfs f0, 8(r4) +/* 80312D54 0030FCB4 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80312D58 0030FCB8 40 82 00 98 */ bne lbl_80312DF0 +/* 80312D5C 0030FCBC C0 23 00 0C */ lfs f1, 0xc(r3) +/* 80312D60 0030FCC0 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 80312D64 0030FCC4 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80312D68 0030FCC8 40 82 00 88 */ bne lbl_80312DF0 +/* 80312D6C 0030FCCC C0 23 00 10 */ lfs f1, 0x10(r3) +/* 80312D70 0030FCD0 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 80312D74 0030FCD4 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80312D78 0030FCD8 40 82 00 78 */ bne lbl_80312DF0 +/* 80312D7C 0030FCDC C0 23 00 14 */ lfs f1, 0x14(r3) +/* 80312D80 0030FCE0 C0 04 00 14 */ lfs f0, 0x14(r4) +/* 80312D84 0030FCE4 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80312D88 0030FCE8 40 82 00 68 */ bne lbl_80312DF0 +/* 80312D8C 0030FCEC C0 23 00 18 */ lfs f1, 0x18(r3) +/* 80312D90 0030FCF0 C0 04 00 18 */ lfs f0, 0x18(r4) +/* 80312D94 0030FCF4 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80312D98 0030FCF8 40 82 00 58 */ bne lbl_80312DF0 +/* 80312D9C 0030FCFC C0 23 00 1C */ lfs f1, 0x1c(r3) +/* 80312DA0 0030FD00 C0 04 00 1C */ lfs f0, 0x1c(r4) +/* 80312DA4 0030FD04 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80312DA8 0030FD08 40 82 00 48 */ bne lbl_80312DF0 +/* 80312DAC 0030FD0C C0 23 00 20 */ lfs f1, 0x20(r3) +/* 80312DB0 0030FD10 C0 04 00 20 */ lfs f0, 0x20(r4) +/* 80312DB4 0030FD14 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80312DB8 0030FD18 40 82 00 38 */ bne lbl_80312DF0 +/* 80312DBC 0030FD1C C0 23 00 24 */ lfs f1, 0x24(r3) +/* 80312DC0 0030FD20 C0 04 00 24 */ lfs f0, 0x24(r4) +/* 80312DC4 0030FD24 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80312DC8 0030FD28 40 82 00 28 */ bne lbl_80312DF0 +/* 80312DCC 0030FD2C C0 23 00 28 */ lfs f1, 0x28(r3) +/* 80312DD0 0030FD30 C0 04 00 28 */ lfs f0, 0x28(r4) +/* 80312DD4 0030FD34 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80312DD8 0030FD38 40 82 00 18 */ bne lbl_80312DF0 +/* 80312DDC 0030FD3C C0 23 00 2C */ lfs f1, 0x2c(r3) +/* 80312DE0 0030FD40 C0 04 00 2C */ lfs f0, 0x2c(r4) +/* 80312DE4 0030FD44 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80312DE8 0030FD48 40 82 00 08 */ bne lbl_80312DF0 +/* 80312DEC 0030FD4C 38 00 00 01 */ li r0, 1 +lbl_80312DF0: +/* 80312DF0 0030FD50 7C 03 03 78 */ mr r3, r0 +/* 80312DF4 0030FD54 4E 80 00 20 */ blr + +.global FromColumns__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f +FromColumns__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f: +/* 80312DF8 0030FD58 C0 27 00 08 */ lfs f1, 8(r7) +/* 80312DFC 0030FD5C C0 46 00 08 */ lfs f2, 8(r6) +/* 80312E00 0030FD60 C0 66 00 04 */ lfs f3, 4(r6) +/* 80312E04 0030FD64 C0 86 00 00 */ lfs f4, 0(r6) +/* 80312E08 0030FD68 C0 A7 00 04 */ lfs f5, 4(r7) +/* 80312E0C 0030FD6C C0 C5 00 08 */ lfs f6, 8(r5) +/* 80312E10 0030FD70 C0 E5 00 04 */ lfs f7, 4(r5) +/* 80312E14 0030FD74 C1 05 00 00 */ lfs f8, 0(r5) +/* 80312E18 0030FD78 C1 27 00 00 */ lfs f9, 0(r7) +/* 80312E1C 0030FD7C C1 44 00 08 */ lfs f10, 8(r4) +/* 80312E20 0030FD80 C1 64 00 04 */ lfs f11, 4(r4) +/* 80312E24 0030FD84 C0 04 00 00 */ lfs f0, 0(r4) +/* 80312E28 0030FD88 D0 03 00 00 */ stfs f0, 0(r3) +/* 80312E2C 0030FD8C D1 63 00 04 */ stfs f11, 4(r3) +/* 80312E30 0030FD90 D1 43 00 08 */ stfs f10, 8(r3) +/* 80312E34 0030FD94 D1 23 00 0C */ stfs f9, 0xc(r3) +/* 80312E38 0030FD98 D1 03 00 10 */ stfs f8, 0x10(r3) +/* 80312E3C 0030FD9C D0 E3 00 14 */ stfs f7, 0x14(r3) +/* 80312E40 0030FDA0 D0 C3 00 18 */ stfs f6, 0x18(r3) +/* 80312E44 0030FDA4 D0 A3 00 1C */ stfs f5, 0x1c(r3) +/* 80312E48 0030FDA8 D0 83 00 20 */ stfs f4, 0x20(r3) +/* 80312E4C 0030FDAC D0 63 00 24 */ stfs f3, 0x24(r3) +/* 80312E50 0030FDB0 D0 43 00 28 */ stfs f2, 0x28(r3) +/* 80312E54 0030FDB4 D0 23 00 2C */ stfs f1, 0x2c(r3) +/* 80312E58 0030FDB8 4E 80 00 20 */ blr + +.global __ct__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f_0 +__ct__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f_0: +/* 80312E5C 0030FDBC C0 27 00 08 */ lfs f1, 8(r7) +/* 80312E60 0030FDC0 C0 46 00 08 */ lfs f2, 8(r6) +/* 80312E64 0030FDC4 C0 65 00 08 */ lfs f3, 8(r5) +/* 80312E68 0030FDC8 C0 84 00 08 */ lfs f4, 8(r4) +/* 80312E6C 0030FDCC C0 A7 00 04 */ lfs f5, 4(r7) +/* 80312E70 0030FDD0 C0 C6 00 04 */ lfs f6, 4(r6) +/* 80312E74 0030FDD4 C0 E5 00 04 */ lfs f7, 4(r5) +/* 80312E78 0030FDD8 C1 04 00 04 */ lfs f8, 4(r4) +/* 80312E7C 0030FDDC C1 27 00 00 */ lfs f9, 0(r7) +/* 80312E80 0030FDE0 C1 46 00 00 */ lfs f10, 0(r6) +/* 80312E84 0030FDE4 C1 65 00 00 */ lfs f11, 0(r5) +/* 80312E88 0030FDE8 C0 04 00 00 */ lfs f0, 0(r4) +/* 80312E8C 0030FDEC D0 03 00 00 */ stfs f0, 0(r3) +/* 80312E90 0030FDF0 D1 63 00 04 */ stfs f11, 4(r3) +/* 80312E94 0030FDF4 D1 43 00 08 */ stfs f10, 8(r3) +/* 80312E98 0030FDF8 D1 23 00 0C */ stfs f9, 0xc(r3) +/* 80312E9C 0030FDFC D1 03 00 10 */ stfs f8, 0x10(r3) +/* 80312EA0 0030FE00 D0 E3 00 14 */ stfs f7, 0x14(r3) +/* 80312EA4 0030FE04 D0 C3 00 18 */ stfs f6, 0x18(r3) +/* 80312EA8 0030FE08 D0 A3 00 1C */ stfs f5, 0x1c(r3) +/* 80312EAC 0030FE0C D0 83 00 20 */ stfs f4, 0x20(r3) +/* 80312EB0 0030FE10 D0 63 00 24 */ stfs f3, 0x24(r3) +/* 80312EB4 0030FE14 D0 43 00 28 */ stfs f2, 0x28(r3) +/* 80312EB8 0030FE18 D0 23 00 2C */ stfs f1, 0x2c(r3) +/* 80312EBC 0030FE1C 4E 80 00 20 */ blr + +.global ScaleBy__12CTransform4fFf +ScaleBy__12CTransform4fFf: +/* 80312EC0 0030FE20 C0 03 00 00 */ lfs f0, 0(r3) +/* 80312EC4 0030FE24 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80312EC8 0030FE28 D0 03 00 00 */ stfs f0, 0(r3) +/* 80312ECC 0030FE2C C0 03 00 04 */ lfs f0, 4(r3) +/* 80312ED0 0030FE30 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80312ED4 0030FE34 D0 03 00 04 */ stfs f0, 4(r3) +/* 80312ED8 0030FE38 C0 03 00 08 */ lfs f0, 8(r3) +/* 80312EDC 0030FE3C EC 00 00 72 */ fmuls f0, f0, f1 +/* 80312EE0 0030FE40 D0 03 00 08 */ stfs f0, 8(r3) +/* 80312EE4 0030FE44 C0 03 00 10 */ lfs f0, 0x10(r3) +/* 80312EE8 0030FE48 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80312EEC 0030FE4C D0 03 00 10 */ stfs f0, 0x10(r3) +/* 80312EF0 0030FE50 C0 03 00 14 */ lfs f0, 0x14(r3) +/* 80312EF4 0030FE54 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80312EF8 0030FE58 D0 03 00 14 */ stfs f0, 0x14(r3) +/* 80312EFC 0030FE5C C0 03 00 18 */ lfs f0, 0x18(r3) +/* 80312F00 0030FE60 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80312F04 0030FE64 D0 03 00 18 */ stfs f0, 0x18(r3) +/* 80312F08 0030FE68 C0 03 00 20 */ lfs f0, 0x20(r3) +/* 80312F0C 0030FE6C EC 00 00 72 */ fmuls f0, f0, f1 +/* 80312F10 0030FE70 D0 03 00 20 */ stfs f0, 0x20(r3) +/* 80312F14 0030FE74 C0 03 00 24 */ lfs f0, 0x24(r3) +/* 80312F18 0030FE78 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80312F1C 0030FE7C D0 03 00 24 */ stfs f0, 0x24(r3) +/* 80312F20 0030FE80 C0 03 00 28 */ lfs f0, 0x28(r3) +/* 80312F24 0030FE84 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80312F28 0030FE88 D0 03 00 28 */ stfs f0, 0x28(r3) +/* 80312F2C 0030FE8C 4E 80 00 20 */ blr + +.global MultiplyIgnoreTranslation__12CTransform4fCFRC12CTransform4f +MultiplyIgnoreTranslation__12CTransform4fCFRC12CTransform4f: +/* 80312F30 0030FE90 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 80312F34 0030FE94 DB E1 00 B0 */ stfd f31, 0xb0(r1) +/* 80312F38 0030FE98 F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0 +/* 80312F3C 0030FE9C DB C1 00 A0 */ stfd f30, 0xa0(r1) +/* 80312F40 0030FEA0 F3 C1 00 A8 */ psq_st f30, 168(r1), 0, qr0 +/* 80312F44 0030FEA4 DB A1 00 90 */ stfd f29, 0x90(r1) +/* 80312F48 0030FEA8 F3 A1 00 98 */ psq_st f29, 152(r1), 0, qr0 +/* 80312F4C 0030FEAC DB 81 00 80 */ stfd f28, 0x80(r1) +/* 80312F50 0030FEB0 F3 81 00 88 */ psq_st f28, 136(r1), 0, qr0 +/* 80312F54 0030FEB4 DB 61 00 70 */ stfd f27, 0x70(r1) +/* 80312F58 0030FEB8 F3 61 00 78 */ psq_st f27, 120(r1), 0, qr0 +/* 80312F5C 0030FEBC DB 41 00 60 */ stfd f26, 0x60(r1) +/* 80312F60 0030FEC0 F3 41 00 68 */ psq_st f26, 104(r1), 0, qr0 +/* 80312F64 0030FEC4 DB 21 00 50 */ stfd f25, 0x50(r1) +/* 80312F68 0030FEC8 F3 21 00 58 */ psq_st f25, 88(r1), 0, qr0 +/* 80312F6C 0030FECC DB 01 00 40 */ stfd f24, 0x40(r1) +/* 80312F70 0030FED0 F3 01 00 48 */ psq_st f24, 72(r1), 0, qr0 +/* 80312F74 0030FED4 DA E1 00 30 */ stfd f23, 0x30(r1) +/* 80312F78 0030FED8 F2 E1 00 38 */ psq_st f23, 56(r1), 0, qr0 +/* 80312F7C 0030FEDC DA C1 00 20 */ stfd f22, 0x20(r1) +/* 80312F80 0030FEE0 F2 C1 00 28 */ psq_st f22, 40(r1), 0, qr0 +/* 80312F84 0030FEE4 DA A1 00 10 */ stfd f21, 0x10(r1) +/* 80312F88 0030FEE8 F2 A1 00 18 */ psq_st f21, 24(r1), 0, qr0 +/* 80312F8C 0030FEEC C1 25 00 10 */ lfs f9, 0x10(r5) +/* 80312F90 0030FEF0 C0 44 00 04 */ lfs f2, 4(r4) +/* 80312F94 0030FEF4 C2 C5 00 14 */ lfs f22, 0x14(r5) +/* 80312F98 0030FEF8 EC 22 02 72 */ fmuls f1, f2, f9 +/* 80312F9C 0030FEFC C1 45 00 00 */ lfs f10, 0(r5) +/* 80312FA0 0030FF00 C0 84 00 00 */ lfs f4, 0(r4) +/* 80312FA4 0030FF04 EC 02 05 B2 */ fmuls f0, f2, f22 +/* 80312FA8 0030FF08 C1 A5 00 18 */ lfs f13, 0x18(r5) +/* 80312FAC 0030FF0C C1 65 00 04 */ lfs f11, 4(r5) +/* 80312FB0 0030FF10 EC 24 0A BA */ fmadds f1, f4, f10, f1 +/* 80312FB4 0030FF14 C3 E5 00 20 */ lfs f31, 0x20(r5) +/* 80312FB8 0030FF18 C0 64 00 14 */ lfs f3, 0x14(r4) +/* 80312FBC 0030FF1C EC 42 03 72 */ fmuls f2, f2, f13 +/* 80312FC0 0030FF20 C0 A4 00 24 */ lfs f5, 0x24(r4) +/* 80312FC4 0030FF24 EC 04 02 FA */ fmadds f0, f4, f11, f0 +/* 80312FC8 0030FF28 C0 C4 00 08 */ lfs f6, 8(r4) +/* 80312FCC 0030FF2C EF 23 02 72 */ fmuls f25, f3, f9 +/* 80312FD0 0030FF30 C1 85 00 08 */ lfs f12, 8(r5) +/* 80312FD4 0030FF34 EF 43 05 B2 */ fmuls f26, f3, f22 +/* 80312FD8 0030FF38 C1 04 00 10 */ lfs f8, 0x10(r4) +/* 80312FDC 0030FF3C EE E6 0F FA */ fmadds f23, f6, f31, f1 +/* 80312FE0 0030FF40 C3 C5 00 24 */ lfs f30, 0x24(r5) +/* 80312FE4 0030FF44 EE A3 03 72 */ fmuls f21, f3, f13 +/* 80312FE8 0030FF48 C3 A5 00 28 */ lfs f29, 0x28(r5) +/* 80312FEC 0030FF4C EC 24 13 3A */ fmadds f1, f4, f12, f2 +/* 80312FF0 0030FF50 C0 65 00 2C */ lfs f3, 0x2c(r5) +/* 80312FF4 0030FF54 C0 44 00 2C */ lfs f2, 0x2c(r4) +/* 80312FF8 0030FF58 EF 06 07 BA */ fmadds f24, f6, f30, f0 +/* 80312FFC 0030FF5C C0 E4 00 28 */ lfs f7, 0x28(r4) +/* 80313000 0030FF60 EC 86 0F 7A */ fmadds f4, f6, f29, f1 +/* 80313004 0030FF64 C0 C4 00 20 */ lfs f6, 0x20(r4) +/* 80313008 0030FF68 ED 25 02 72 */ fmuls f9, f5, f9 +/* 8031300C 0030FF6C EF 85 05 B2 */ fmuls f28, f5, f22 +/* 80313010 0030FF70 C0 25 00 1C */ lfs f1, 0x1c(r5) +/* 80313014 0030FF74 C0 04 00 1C */ lfs f0, 0x1c(r4) +/* 80313018 0030FF78 EF 66 4A BA */ fmadds f27, f6, f10, f9 +/* 8031301C 0030FF7C C1 24 00 18 */ lfs f9, 0x18(r4) +/* 80313020 0030FF80 EF 28 CA BA */ fmadds f25, f8, f10, f25 +/* 80313024 0030FF84 ED 48 D2 FA */ fmadds f10, f8, f11, f26 +/* 80313028 0030FF88 C2 C5 00 0C */ lfs f22, 0xc(r5) +/* 8031302C 0030FF8C C3 44 00 0C */ lfs f26, 0xc(r4) +/* 80313030 0030FF90 ED 08 AB 3A */ fmadds f8, f8, f12, f21 +/* 80313034 0030FF94 D2 E3 00 00 */ stfs f23, 0(r3) +/* 80313038 0030FF98 ED A5 03 72 */ fmuls f13, f5, f13 +/* 8031303C 0030FF9C EC A6 E2 FA */ fmadds f5, f6, f11, f28 +/* 80313040 0030FFA0 D3 03 00 04 */ stfs f24, 4(r3) +/* 80313044 0030FFA4 EE B6 D0 2A */ fadds f21, f22, f26 +/* 80313048 0030FFA8 ED 66 6B 3A */ fmadds f11, f6, f12, f13 +/* 8031304C 0030FFAC D0 83 00 08 */ stfs f4, 8(r3) +/* 80313050 0030FFB0 EC C9 CF FA */ fmadds f6, f9, f31, f25 +/* 80313054 0030FFB4 EC 89 57 BA */ fmadds f4, f9, f30, f10 +/* 80313058 0030FFB8 D2 A3 00 0C */ stfs f21, 0xc(r3) +/* 8031305C 0030FFBC ED 09 47 7A */ fmadds f8, f9, f29, f8 +/* 80313060 0030FFC0 ED 21 00 2A */ fadds f9, f1, f0 +/* 80313064 0030FFC4 D0 C3 00 10 */ stfs f6, 0x10(r3) +/* 80313068 0030FFC8 EC 27 DF FA */ fmadds f1, f7, f31, f27 +/* 8031306C 0030FFCC EC 07 2F BA */ fmadds f0, f7, f30, f5 +/* 80313070 0030FFD0 D0 83 00 14 */ stfs f4, 0x14(r3) +/* 80313074 0030FFD4 EC 87 5F 7A */ fmadds f4, f7, f29, f11 +/* 80313078 0030FFD8 EC 43 10 2A */ fadds f2, f3, f2 +/* 8031307C 0030FFDC D1 03 00 18 */ stfs f8, 0x18(r3) +/* 80313080 0030FFE0 D1 23 00 1C */ stfs f9, 0x1c(r3) +/* 80313084 0030FFE4 D0 23 00 20 */ stfs f1, 0x20(r3) +/* 80313088 0030FFE8 D0 03 00 24 */ stfs f0, 0x24(r3) +/* 8031308C 0030FFEC D0 83 00 28 */ stfs f4, 0x28(r3) +/* 80313090 0030FFF0 D0 43 00 2C */ stfs f2, 0x2c(r3) +/* 80313094 0030FFF4 E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0 +/* 80313098 0030FFF8 CB E1 00 B0 */ lfd f31, 0xb0(r1) +/* 8031309C 0030FFFC E3 C1 00 A8 */ psq_l f30, 168(r1), 0, qr0 +/* 803130A0 00310000 CB C1 00 A0 */ lfd f30, 0xa0(r1) +/* 803130A4 00310004 E3 A1 00 98 */ psq_l f29, 152(r1), 0, qr0 +/* 803130A8 00310008 CB A1 00 90 */ lfd f29, 0x90(r1) +/* 803130AC 0031000C E3 81 00 88 */ psq_l f28, 136(r1), 0, qr0 +/* 803130B0 00310010 CB 81 00 80 */ lfd f28, 0x80(r1) +/* 803130B4 00310014 E3 61 00 78 */ psq_l f27, 120(r1), 0, qr0 +/* 803130B8 00310018 CB 61 00 70 */ lfd f27, 0x70(r1) +/* 803130BC 0031001C E3 41 00 68 */ psq_l f26, 104(r1), 0, qr0 +/* 803130C0 00310020 CB 41 00 60 */ lfd f26, 0x60(r1) +/* 803130C4 00310024 E3 21 00 58 */ psq_l f25, 88(r1), 0, qr0 +/* 803130C8 00310028 CB 21 00 50 */ lfd f25, 0x50(r1) +/* 803130CC 0031002C E3 01 00 48 */ psq_l f24, 72(r1), 0, qr0 +/* 803130D0 00310030 CB 01 00 40 */ lfd f24, 0x40(r1) +/* 803130D4 00310034 E2 E1 00 38 */ psq_l f23, 56(r1), 0, qr0 +/* 803130D8 00310038 CA E1 00 30 */ lfd f23, 0x30(r1) +/* 803130DC 0031003C E2 C1 00 28 */ psq_l f22, 40(r1), 0, qr0 +/* 803130E0 00310040 CA C1 00 20 */ lfd f22, 0x20(r1) +/* 803130E4 00310044 E2 A1 00 18 */ psq_l f21, 24(r1), 0, qr0 +/* 803130E8 00310048 CA A1 00 10 */ lfd f21, 0x10(r1) +/* 803130EC 0031004C 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 803130F0 00310050 4E 80 00 20 */ blr + +.global BuildMatrix3f__12CTransform4fCFv +BuildMatrix3f__12CTransform4fCFv: +/* 803130F4 00310054 C1 04 00 28 */ lfs f8, 0x28(r4) +/* 803130F8 00310058 C0 E4 00 24 */ lfs f7, 0x24(r4) +/* 803130FC 0031005C C0 C4 00 20 */ lfs f6, 0x20(r4) +/* 80313100 00310060 C0 A4 00 18 */ lfs f5, 0x18(r4) +/* 80313104 00310064 C0 84 00 14 */ lfs f4, 0x14(r4) +/* 80313108 00310068 C0 64 00 10 */ lfs f3, 0x10(r4) +/* 8031310C 0031006C C0 44 00 08 */ lfs f2, 8(r4) +/* 80313110 00310070 C0 24 00 04 */ lfs f1, 4(r4) +/* 80313114 00310074 C0 04 00 00 */ lfs f0, 0(r4) +/* 80313118 00310078 D0 03 00 00 */ stfs f0, 0(r3) +/* 8031311C 0031007C D0 23 00 04 */ stfs f1, 4(r3) +/* 80313120 00310080 D0 43 00 08 */ stfs f2, 8(r3) +/* 80313124 00310084 D0 63 00 0C */ stfs f3, 0xc(r3) +/* 80313128 00310088 D0 83 00 10 */ stfs f4, 0x10(r3) +/* 8031312C 0031008C D0 A3 00 14 */ stfs f5, 0x14(r3) +/* 80313130 00310090 D0 C3 00 18 */ stfs f6, 0x18(r3) +/* 80313134 00310094 D0 E3 00 1C */ stfs f7, 0x1c(r3) +/* 80313138 00310098 D1 03 00 20 */ stfs f8, 0x20(r3) +/* 8031313C 0031009C 4E 80 00 20 */ blr + +.global Translate__12CTransform4fFRC9CVector3f +Translate__12CTransform4fFRC9CVector3f: +/* 80313140 003100A0 C0 44 00 08 */ lfs f2, 8(r4) +/* 80313144 003100A4 C0 64 00 04 */ lfs f3, 4(r4) +/* 80313148 003100A8 C0 84 00 00 */ lfs f4, 0(r4) +/* 8031314C 003100AC C0 22 C8 D0 */ lfs f1, lbl_805AE5F0@sda21(r2) +/* 80313150 003100B0 C0 02 C8 D4 */ lfs f0, lbl_805AE5F4@sda21(r2) +/* 80313154 003100B4 D0 23 00 00 */ stfs f1, 0(r3) +/* 80313158 003100B8 D0 03 00 04 */ stfs f0, 4(r3) +/* 8031315C 003100BC D0 03 00 08 */ stfs f0, 8(r3) +/* 80313160 003100C0 D0 83 00 0C */ stfs f4, 0xc(r3) +/* 80313164 003100C4 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 80313168 003100C8 D0 23 00 14 */ stfs f1, 0x14(r3) +/* 8031316C 003100CC D0 03 00 18 */ stfs f0, 0x18(r3) +/* 80313170 003100D0 D0 63 00 1C */ stfs f3, 0x1c(r3) +/* 80313174 003100D4 D0 03 00 20 */ stfs f0, 0x20(r3) +/* 80313178 003100D8 D0 03 00 24 */ stfs f0, 0x24(r3) +/* 8031317C 003100DC D0 23 00 28 */ stfs f1, 0x28(r3) +/* 80313180 003100E0 D0 43 00 2C */ stfs f2, 0x2c(r3) +/* 80313184 003100E4 4E 80 00 20 */ blr + +.global Translate__12CTransform4fFfff +Translate__12CTransform4fFfff: +/* 80313188 003100E8 C0 82 C8 D0 */ lfs f4, lbl_805AE5F0@sda21(r2) +/* 8031318C 003100EC C0 02 C8 D4 */ lfs f0, lbl_805AE5F4@sda21(r2) +/* 80313190 003100F0 D0 83 00 00 */ stfs f4, 0(r3) +/* 80313194 003100F4 D0 03 00 04 */ stfs f0, 4(r3) +/* 80313198 003100F8 D0 03 00 08 */ stfs f0, 8(r3) +/* 8031319C 003100FC D0 23 00 0C */ stfs f1, 0xc(r3) +/* 803131A0 00310100 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 803131A4 00310104 D0 83 00 14 */ stfs f4, 0x14(r3) +/* 803131A8 00310108 D0 03 00 18 */ stfs f0, 0x18(r3) +/* 803131AC 0031010C D0 43 00 1C */ stfs f2, 0x1c(r3) +/* 803131B0 00310110 D0 03 00 20 */ stfs f0, 0x20(r3) +/* 803131B4 00310114 D0 03 00 24 */ stfs f0, 0x24(r3) +/* 803131B8 00310118 D0 83 00 28 */ stfs f4, 0x28(r3) +/* 803131BC 0031011C D0 63 00 2C */ stfs f3, 0x2c(r3) +/* 803131C0 00310120 4E 80 00 20 */ blr + +.global Scale__12CTransform4fFRC9CVector3f +Scale__12CTransform4fFRC9CVector3f: +/* 803131C4 00310124 C0 44 00 08 */ lfs f2, 8(r4) +/* 803131C8 00310128 C0 64 00 04 */ lfs f3, 4(r4) +/* 803131CC 0031012C C0 24 00 00 */ lfs f1, 0(r4) +/* 803131D0 00310130 C0 02 C8 D4 */ lfs f0, lbl_805AE5F4@sda21(r2) +/* 803131D4 00310134 D0 23 00 00 */ stfs f1, 0(r3) +/* 803131D8 00310138 D0 03 00 04 */ stfs f0, 4(r3) +/* 803131DC 0031013C D0 03 00 08 */ stfs f0, 8(r3) +/* 803131E0 00310140 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 803131E4 00310144 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 803131E8 00310148 D0 63 00 14 */ stfs f3, 0x14(r3) +/* 803131EC 0031014C D0 03 00 18 */ stfs f0, 0x18(r3) +/* 803131F0 00310150 D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 803131F4 00310154 D0 03 00 20 */ stfs f0, 0x20(r3) +/* 803131F8 00310158 D0 03 00 24 */ stfs f0, 0x24(r3) +/* 803131FC 0031015C D0 43 00 28 */ stfs f2, 0x28(r3) +/* 80313200 00310160 D0 03 00 2C */ stfs f0, 0x2c(r3) +/* 80313204 00310164 4E 80 00 20 */ blr + +.global Scale__12CTransform4fFfff +Scale__12CTransform4fFfff: +/* 80313208 00310168 D0 23 00 00 */ stfs f1, 0(r3) +/* 8031320C 0031016C C0 02 C8 D4 */ lfs f0, lbl_805AE5F4@sda21(r2) +/* 80313210 00310170 D0 03 00 04 */ stfs f0, 4(r3) +/* 80313214 00310174 D0 03 00 08 */ stfs f0, 8(r3) +/* 80313218 00310178 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 8031321C 0031017C D0 03 00 10 */ stfs f0, 0x10(r3) +/* 80313220 00310180 D0 43 00 14 */ stfs f2, 0x14(r3) +/* 80313224 00310184 D0 03 00 18 */ stfs f0, 0x18(r3) +/* 80313228 00310188 D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 8031322C 0031018C D0 03 00 20 */ stfs f0, 0x20(r3) +/* 80313230 00310190 D0 03 00 24 */ stfs f0, 0x24(r3) +/* 80313234 00310194 D0 63 00 28 */ stfs f3, 0x28(r3) +/* 80313238 00310198 D0 03 00 2C */ stfs f0, 0x2c(r3) +/* 8031323C 0031019C 4E 80 00 20 */ blr + +.global Scale__12CTransform4fFf +Scale__12CTransform4fFf: +/* 80313240 003101A0 D0 23 00 00 */ stfs f1, 0(r3) +/* 80313244 003101A4 C0 02 C8 D4 */ lfs f0, lbl_805AE5F4@sda21(r2) +/* 80313248 003101A8 D0 03 00 04 */ stfs f0, 4(r3) +/* 8031324C 003101AC D0 03 00 08 */ stfs f0, 8(r3) +/* 80313250 003101B0 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 80313254 003101B4 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 80313258 003101B8 D0 23 00 14 */ stfs f1, 0x14(r3) +/* 8031325C 003101BC D0 03 00 18 */ stfs f0, 0x18(r3) +/* 80313260 003101C0 D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 80313264 003101C4 D0 03 00 20 */ stfs f0, 0x20(r3) +/* 80313268 003101C8 D0 03 00 24 */ stfs f0, 0x24(r3) +/* 8031326C 003101CC D0 23 00 28 */ stfs f1, 0x28(r3) +/* 80313270 003101D0 D0 03 00 2C */ stfs f0, 0x2c(r3) +/* 80313274 003101D4 4E 80 00 20 */ blr + +.global __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f +__ct__12CTransform4fFRC9CMatrix3fRC9CVector3f: +/* 80313278 003101D8 C0 04 00 00 */ lfs f0, 0(r4) +/* 8031327C 003101DC D0 03 00 00 */ stfs f0, 0(r3) +/* 80313280 003101E0 C0 04 00 04 */ lfs f0, 4(r4) +/* 80313284 003101E4 D0 03 00 04 */ stfs f0, 4(r3) +/* 80313288 003101E8 C0 04 00 08 */ lfs f0, 8(r4) +/* 8031328C 003101EC D0 03 00 08 */ stfs f0, 8(r3) +/* 80313290 003101F0 C0 05 00 00 */ lfs f0, 0(r5) +/* 80313294 003101F4 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 80313298 003101F8 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 8031329C 003101FC D0 03 00 10 */ stfs f0, 0x10(r3) +/* 803132A0 00310200 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 803132A4 00310204 D0 03 00 14 */ stfs f0, 0x14(r3) +/* 803132A8 00310208 C0 04 00 14 */ lfs f0, 0x14(r4) +/* 803132AC 0031020C D0 03 00 18 */ stfs f0, 0x18(r3) +/* 803132B0 00310210 C0 05 00 04 */ lfs f0, 4(r5) +/* 803132B4 00310214 D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 803132B8 00310218 C0 04 00 18 */ lfs f0, 0x18(r4) +/* 803132BC 0031021C D0 03 00 20 */ stfs f0, 0x20(r3) +/* 803132C0 00310220 C0 04 00 1C */ lfs f0, 0x1c(r4) +/* 803132C4 00310224 D0 03 00 24 */ stfs f0, 0x24(r3) +/* 803132C8 00310228 C0 04 00 20 */ lfs f0, 0x20(r4) +/* 803132CC 0031022C D0 03 00 28 */ stfs f0, 0x28(r3) +/* 803132D0 00310230 C0 05 00 08 */ lfs f0, 8(r5) +/* 803132D4 00310234 D0 03 00 2C */ stfs f0, 0x2c(r3) +/* 803132D8 00310238 4E 80 00 20 */ blr + +.global __ct__12CTransform4fFR12CInputStream +__ct__12CTransform4fFR12CInputStream: +/* 803132DC 0031023C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803132E0 00310240 7C 08 02 A6 */ mflr r0 +/* 803132E4 00310244 90 01 00 14 */ stw r0, 0x14(r1) +/* 803132E8 00310248 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803132EC 0031024C 7C 9F 23 78 */ mr r31, r4 +/* 803132F0 00310250 93 C1 00 08 */ stw r30, 8(r1) +/* 803132F4 00310254 7C 7E 1B 78 */ mr r30, r3 +/* 803132F8 00310258 7F E3 FB 78 */ mr r3, r31 +/* 803132FC 0031025C 48 02 B9 2D */ bl ReadFloat__12CInputStreamFv +/* 80313300 00310260 D0 3E 00 00 */ stfs f1, 0(r30) +/* 80313304 00310264 7F E3 FB 78 */ mr r3, r31 +/* 80313308 00310268 48 02 B9 21 */ bl ReadFloat__12CInputStreamFv +/* 8031330C 0031026C D0 3E 00 04 */ stfs f1, 4(r30) +/* 80313310 00310270 7F E3 FB 78 */ mr r3, r31 +/* 80313314 00310274 48 02 B9 15 */ bl ReadFloat__12CInputStreamFv +/* 80313318 00310278 D0 3E 00 08 */ stfs f1, 8(r30) +/* 8031331C 0031027C 7F E3 FB 78 */ mr r3, r31 +/* 80313320 00310280 48 02 B9 09 */ bl ReadFloat__12CInputStreamFv +/* 80313324 00310284 D0 3E 00 0C */ stfs f1, 0xc(r30) +/* 80313328 00310288 7F E3 FB 78 */ mr r3, r31 +/* 8031332C 0031028C 48 02 B8 FD */ bl ReadFloat__12CInputStreamFv +/* 80313330 00310290 D0 3E 00 10 */ stfs f1, 0x10(r30) +/* 80313334 00310294 7F E3 FB 78 */ mr r3, r31 +/* 80313338 00310298 48 02 B8 F1 */ bl ReadFloat__12CInputStreamFv +/* 8031333C 0031029C D0 3E 00 14 */ stfs f1, 0x14(r30) +/* 80313340 003102A0 7F E3 FB 78 */ mr r3, r31 +/* 80313344 003102A4 48 02 B8 E5 */ bl ReadFloat__12CInputStreamFv +/* 80313348 003102A8 D0 3E 00 18 */ stfs f1, 0x18(r30) +/* 8031334C 003102AC 7F E3 FB 78 */ mr r3, r31 +/* 80313350 003102B0 48 02 B8 D9 */ bl ReadFloat__12CInputStreamFv +/* 80313354 003102B4 D0 3E 00 1C */ stfs f1, 0x1c(r30) +/* 80313358 003102B8 7F E3 FB 78 */ mr r3, r31 +/* 8031335C 003102BC 48 02 B8 CD */ bl ReadFloat__12CInputStreamFv +/* 80313360 003102C0 D0 3E 00 20 */ stfs f1, 0x20(r30) +/* 80313364 003102C4 7F E3 FB 78 */ mr r3, r31 +/* 80313368 003102C8 48 02 B8 C1 */ bl ReadFloat__12CInputStreamFv +/* 8031336C 003102CC D0 3E 00 24 */ stfs f1, 0x24(r30) +/* 80313370 003102D0 7F E3 FB 78 */ mr r3, r31 +/* 80313374 003102D4 48 02 B8 B5 */ bl ReadFloat__12CInputStreamFv +/* 80313378 003102D8 D0 3E 00 28 */ stfs f1, 0x28(r30) +/* 8031337C 003102DC 7F E3 FB 78 */ mr r3, r31 +/* 80313380 003102E0 48 02 B8 A9 */ bl ReadFloat__12CInputStreamFv +/* 80313384 003102E4 D0 3E 00 2C */ stfs f1, 0x2c(r30) +/* 80313388 003102E8 7F C3 F3 78 */ mr r3, r30 +/* 8031338C 003102EC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80313390 003102F0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80313394 003102F4 83 C1 00 08 */ lwz r30, 8(r1) +/* 80313398 003102F8 7C 08 03 A6 */ mtlr r0 +/* 8031339C 003102FC 38 21 00 10 */ addi r1, r1, 0x10 +/* 803133A0 00310300 4E 80 00 20 */ blr + +.global Orthonormalize__12CTransform4fFv +Orthonormalize__12CTransform4fFv: +/* 803133A4 00310304 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 803133A8 00310308 7C 08 02 A6 */ mflr r0 +/* 803133AC 0031030C 90 01 00 84 */ stw r0, 0x84(r1) +/* 803133B0 00310310 DB E1 00 70 */ stfd f31, 0x70(r1) +/* 803133B4 00310314 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 +/* 803133B8 00310318 DB C1 00 60 */ stfd f30, 0x60(r1) +/* 803133BC 0031031C F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 +/* 803133C0 00310320 DB A1 00 50 */ stfd f29, 0x50(r1) +/* 803133C4 00310324 F3 A1 00 58 */ psq_st f29, 88(r1), 0, qr0 +/* 803133C8 00310328 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 803133CC 0031032C 7C 7F 1B 78 */ mr r31, r3 +/* 803133D0 00310330 38 61 00 2C */ addi r3, r1, 0x2c +/* 803133D4 00310334 C0 5F 00 20 */ lfs f2, 0x20(r31) +/* 803133D8 00310338 38 81 00 20 */ addi r4, r1, 0x20 +/* 803133DC 0031033C C0 3F 00 10 */ lfs f1, 0x10(r31) +/* 803133E0 00310340 C0 1F 00 00 */ lfs f0, 0(r31) +/* 803133E4 00310344 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 803133E8 00310348 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 803133EC 0031034C D0 41 00 28 */ stfs f2, 0x28(r1) +/* 803133F0 00310350 48 00 14 61 */ bl AsNormalized__9CVector3fCFv +/* 803133F4 00310354 C0 BF 00 24 */ lfs f5, 0x24(r31) +/* 803133F8 00310358 38 61 00 08 */ addi r3, r1, 8 +/* 803133FC 0031035C C3 A1 00 2C */ lfs f29, 0x2c(r1) +/* 80313400 00310360 38 81 00 38 */ addi r4, r1, 0x38 +/* 80313404 00310364 C0 9F 00 14 */ lfs f4, 0x14(r31) +/* 80313408 00310368 C3 C1 00 34 */ lfs f30, 0x34(r1) +/* 8031340C 0031036C EC 05 07 72 */ fmuls f0, f5, f29 +/* 80313410 00310370 C0 7F 00 04 */ lfs f3, 4(r31) +/* 80313414 00310374 C3 E1 00 30 */ lfs f31, 0x30(r1) +/* 80313418 00310378 EC 44 07 B2 */ fmuls f2, f4, f30 +/* 8031341C 0031037C EC 3E 00 F8 */ fmsubs f1, f30, f3, f0 +/* 80313420 00310380 D0 61 00 14 */ stfs f3, 0x14(r1) +/* 80313424 00310384 EC 03 07 F2 */ fmuls f0, f3, f31 +/* 80313428 00310388 EC 5F 11 78 */ fmsubs f2, f31, f5, f2 +/* 8031342C 0031038C D0 81 00 18 */ stfs f4, 0x18(r1) +/* 80313430 00310390 EC 1D 01 38 */ fmsubs f0, f29, f4, f0 +/* 80313434 00310394 D0 A1 00 1C */ stfs f5, 0x1c(r1) +/* 80313438 00310398 D0 41 00 38 */ stfs f2, 0x38(r1) +/* 8031343C 0031039C D0 21 00 3C */ stfs f1, 0x3c(r1) +/* 80313440 003103A0 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 80313444 003103A4 48 00 14 0D */ bl AsNormalized__9CVector3fCFv +/* 80313448 003103A8 C0 A1 00 08 */ lfs f5, 8(r1) +/* 8031344C 003103AC C0 61 00 0C */ lfs f3, 0xc(r1) +/* 80313450 003103B0 C0 81 00 10 */ lfs f4, 0x10(r1) +/* 80313454 003103B4 EC 3E 01 72 */ fmuls f1, f30, f5 +/* 80313458 003103B8 EC 1D 00 F2 */ fmuls f0, f29, f3 +/* 8031345C 003103BC D3 BF 00 00 */ stfs f29, 0(r31) +/* 80313460 003103C0 EC 5F 01 32 */ fmuls f2, f31, f4 +/* 80313464 003103C4 EC 24 0F 78 */ fmsubs f1, f4, f29, f1 +/* 80313468 003103C8 D3 FF 00 10 */ stfs f31, 0x10(r31) +/* 8031346C 003103CC EC 05 07 F8 */ fmsubs f0, f5, f31, f0 +/* 80313470 003103D0 EC 43 17 B8 */ fmsubs f2, f3, f30, f2 +/* 80313474 003103D4 D3 DF 00 20 */ stfs f30, 0x20(r31) +/* 80313478 003103D8 D0 5F 00 04 */ stfs f2, 4(r31) +/* 8031347C 003103DC D0 3F 00 14 */ stfs f1, 0x14(r31) +/* 80313480 003103E0 D0 1F 00 24 */ stfs f0, 0x24(r31) +/* 80313484 003103E4 D0 BF 00 08 */ stfs f5, 8(r31) +/* 80313488 003103E8 D0 7F 00 18 */ stfs f3, 0x18(r31) +/* 8031348C 003103EC D0 9F 00 28 */ stfs f4, 0x28(r31) +/* 80313490 003103F0 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 +/* 80313494 003103F4 CB E1 00 70 */ lfd f31, 0x70(r1) +/* 80313498 003103F8 E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 +/* 8031349C 003103FC CB C1 00 60 */ lfd f30, 0x60(r1) +/* 803134A0 00310400 E3 A1 00 58 */ psq_l f29, 88(r1), 0, qr0 +/* 803134A4 00310404 CB A1 00 50 */ lfd f29, 0x50(r1) +/* 803134A8 00310408 80 01 00 84 */ lwz r0, 0x84(r1) +/* 803134AC 0031040C 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 803134B0 00310410 7C 08 03 A6 */ mtlr r0 +/* 803134B4 00310414 38 21 00 80 */ addi r1, r1, 0x80 +/* 803134B8 00310418 4E 80 00 20 */ blr + +.global RotateLocalZ__12CTransform4fFRC9CRelAngle +RotateLocalZ__12CTransform4fFRC9CRelAngle: +/* 803134BC 0031041C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803134C0 00310420 7C 08 02 A6 */ mflr r0 +/* 803134C4 00310424 90 01 00 24 */ stw r0, 0x24(r1) +/* 803134C8 00310428 DB E1 00 10 */ stfd f31, 0x10(r1) +/* 803134CC 0031042C F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 +/* 803134D0 00310430 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803134D4 00310434 93 C1 00 08 */ stw r30, 8(r1) +/* 803134D8 00310438 7C 9F 23 78 */ mr r31, r4 +/* 803134DC 0031043C 7C 7E 1B 78 */ mr r30, r3 +/* 803134E0 00310440 C0 24 00 00 */ lfs f1, 0(r4) +/* 803134E4 00310444 48 08 15 F9 */ bl sin +/* 803134E8 00310448 FF E0 08 18 */ frsp f31, f1 +/* 803134EC 0031044C C0 3F 00 00 */ lfs f1, 0(r31) +/* 803134F0 00310450 48 08 0F 01 */ bl cos +/* 803134F4 00310454 FC 20 08 18 */ frsp f1, f1 +/* 803134F8 00310458 C0 1E 00 00 */ lfs f0, 0(r30) +/* 803134FC 0031045C C0 5E 00 00 */ lfs f2, 0(r30) +/* 80313500 00310460 C0 7E 00 10 */ lfs f3, 0x10(r30) +/* 80313504 00310464 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80313508 00310468 C0 9E 00 20 */ lfs f4, 0x20(r30) +/* 8031350C 0031046C C0 BE 00 04 */ lfs f5, 4(r30) +/* 80313510 00310470 EC 42 07 F2 */ fmuls f2, f2, f31 +/* 80313514 00310474 C0 DE 00 14 */ lfs f6, 0x14(r30) +/* 80313518 00310478 EC 63 07 F2 */ fmuls f3, f3, f31 +/* 8031351C 0031047C C0 FE 00 24 */ lfs f7, 0x24(r30) +/* 80313520 00310480 EC A5 07 F2 */ fmuls f5, f5, f31 +/* 80313524 00310484 EC C6 07 F2 */ fmuls f6, f6, f31 +/* 80313528 00310488 D0 1E 00 00 */ stfs f0, 0(r30) +/* 8031352C 0031048C EC E7 07 F2 */ fmuls f7, f7, f31 +/* 80313530 00310490 EC 84 07 F2 */ fmuls f4, f4, f31 +/* 80313534 00310494 C0 1E 00 10 */ lfs f0, 0x10(r30) +/* 80313538 00310498 EC 00 00 72 */ fmuls f0, f0, f1 +/* 8031353C 0031049C D0 1E 00 10 */ stfs f0, 0x10(r30) +/* 80313540 003104A0 C0 1E 00 20 */ lfs f0, 0x20(r30) +/* 80313544 003104A4 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80313548 003104A8 D0 1E 00 20 */ stfs f0, 0x20(r30) +/* 8031354C 003104AC C0 1E 00 04 */ lfs f0, 4(r30) +/* 80313550 003104B0 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80313554 003104B4 D0 1E 00 04 */ stfs f0, 4(r30) +/* 80313558 003104B8 C0 1E 00 14 */ lfs f0, 0x14(r30) +/* 8031355C 003104BC EC 00 00 72 */ fmuls f0, f0, f1 +/* 80313560 003104C0 D0 1E 00 14 */ stfs f0, 0x14(r30) +/* 80313564 003104C4 C0 1E 00 24 */ lfs f0, 0x24(r30) +/* 80313568 003104C8 EC 00 00 72 */ fmuls f0, f0, f1 +/* 8031356C 003104CC D0 1E 00 24 */ stfs f0, 0x24(r30) +/* 80313570 003104D0 C0 1E 00 00 */ lfs f0, 0(r30) +/* 80313574 003104D4 EC 00 28 2A */ fadds f0, f0, f5 +/* 80313578 003104D8 D0 1E 00 00 */ stfs f0, 0(r30) +/* 8031357C 003104DC C0 1E 00 10 */ lfs f0, 0x10(r30) +/* 80313580 003104E0 EC 00 30 2A */ fadds f0, f0, f6 +/* 80313584 003104E4 D0 1E 00 10 */ stfs f0, 0x10(r30) +/* 80313588 003104E8 C0 1E 00 20 */ lfs f0, 0x20(r30) +/* 8031358C 003104EC EC 00 38 2A */ fadds f0, f0, f7 +/* 80313590 003104F0 D0 1E 00 20 */ stfs f0, 0x20(r30) +/* 80313594 003104F4 C0 1E 00 04 */ lfs f0, 4(r30) +/* 80313598 003104F8 EC 00 10 28 */ fsubs f0, f0, f2 +/* 8031359C 003104FC D0 1E 00 04 */ stfs f0, 4(r30) +/* 803135A0 00310500 C0 1E 00 14 */ lfs f0, 0x14(r30) +/* 803135A4 00310504 EC 00 18 28 */ fsubs f0, f0, f3 +/* 803135A8 00310508 D0 1E 00 14 */ stfs f0, 0x14(r30) +/* 803135AC 0031050C C0 1E 00 24 */ lfs f0, 0x24(r30) +/* 803135B0 00310510 EC 00 20 28 */ fsubs f0, f0, f4 +/* 803135B4 00310514 D0 1E 00 24 */ stfs f0, 0x24(r30) +/* 803135B8 00310518 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 +/* 803135BC 0031051C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803135C0 00310520 CB E1 00 10 */ lfd f31, 0x10(r1) +/* 803135C4 00310524 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803135C8 00310528 83 C1 00 08 */ lwz r30, 8(r1) +/* 803135CC 0031052C 7C 08 03 A6 */ mtlr r0 +/* 803135D0 00310530 38 21 00 20 */ addi r1, r1, 0x20 +/* 803135D4 00310534 4E 80 00 20 */ blr + +.global RotateLocalY__12CTransform4fFRC9CRelAngle +RotateLocalY__12CTransform4fFRC9CRelAngle: +/* 803135D8 00310538 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803135DC 0031053C 7C 08 02 A6 */ mflr r0 +/* 803135E0 00310540 90 01 00 24 */ stw r0, 0x24(r1) +/* 803135E4 00310544 DB E1 00 10 */ stfd f31, 0x10(r1) +/* 803135E8 00310548 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 +/* 803135EC 0031054C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803135F0 00310550 93 C1 00 08 */ stw r30, 8(r1) +/* 803135F4 00310554 7C 9F 23 78 */ mr r31, r4 +/* 803135F8 00310558 7C 7E 1B 78 */ mr r30, r3 +/* 803135FC 0031055C C0 24 00 00 */ lfs f1, 0(r4) +/* 80313600 00310560 48 08 14 DD */ bl sin +/* 80313604 00310564 FF E0 08 18 */ frsp f31, f1 +/* 80313608 00310568 C0 3F 00 00 */ lfs f1, 0(r31) +/* 8031360C 0031056C 48 08 0D E5 */ bl cos +/* 80313610 00310570 FC 20 08 18 */ frsp f1, f1 +/* 80313614 00310574 C0 1E 00 00 */ lfs f0, 0(r30) +/* 80313618 00310578 C0 5E 00 00 */ lfs f2, 0(r30) +/* 8031361C 0031057C C0 7E 00 10 */ lfs f3, 0x10(r30) +/* 80313620 00310580 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80313624 00310584 C0 9E 00 20 */ lfs f4, 0x20(r30) +/* 80313628 00310588 C0 BE 00 08 */ lfs f5, 8(r30) +/* 8031362C 0031058C EC 42 07 F2 */ fmuls f2, f2, f31 +/* 80313630 00310590 C0 DE 00 18 */ lfs f6, 0x18(r30) +/* 80313634 00310594 EC 63 07 F2 */ fmuls f3, f3, f31 +/* 80313638 00310598 C0 FE 00 28 */ lfs f7, 0x28(r30) +/* 8031363C 0031059C EC A5 07 F2 */ fmuls f5, f5, f31 +/* 80313640 003105A0 EC C6 07 F2 */ fmuls f6, f6, f31 +/* 80313644 003105A4 D0 1E 00 00 */ stfs f0, 0(r30) +/* 80313648 003105A8 EC E7 07 F2 */ fmuls f7, f7, f31 +/* 8031364C 003105AC EC 84 07 F2 */ fmuls f4, f4, f31 +/* 80313650 003105B0 C0 1E 00 10 */ lfs f0, 0x10(r30) +/* 80313654 003105B4 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80313658 003105B8 D0 1E 00 10 */ stfs f0, 0x10(r30) +/* 8031365C 003105BC C0 1E 00 20 */ lfs f0, 0x20(r30) +/* 80313660 003105C0 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80313664 003105C4 D0 1E 00 20 */ stfs f0, 0x20(r30) +/* 80313668 003105C8 C0 1E 00 08 */ lfs f0, 8(r30) +/* 8031366C 003105CC EC 00 00 72 */ fmuls f0, f0, f1 +/* 80313670 003105D0 D0 1E 00 08 */ stfs f0, 8(r30) +/* 80313674 003105D4 C0 1E 00 18 */ lfs f0, 0x18(r30) +/* 80313678 003105D8 EC 00 00 72 */ fmuls f0, f0, f1 +/* 8031367C 003105DC D0 1E 00 18 */ stfs f0, 0x18(r30) +/* 80313680 003105E0 C0 1E 00 28 */ lfs f0, 0x28(r30) +/* 80313684 003105E4 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80313688 003105E8 D0 1E 00 28 */ stfs f0, 0x28(r30) +/* 8031368C 003105EC C0 1E 00 00 */ lfs f0, 0(r30) +/* 80313690 003105F0 EC 00 28 28 */ fsubs f0, f0, f5 +/* 80313694 003105F4 D0 1E 00 00 */ stfs f0, 0(r30) +/* 80313698 003105F8 C0 1E 00 10 */ lfs f0, 0x10(r30) +/* 8031369C 003105FC EC 00 30 28 */ fsubs f0, f0, f6 +/* 803136A0 00310600 D0 1E 00 10 */ stfs f0, 0x10(r30) +/* 803136A4 00310604 C0 1E 00 20 */ lfs f0, 0x20(r30) +/* 803136A8 00310608 EC 00 38 28 */ fsubs f0, f0, f7 +/* 803136AC 0031060C D0 1E 00 20 */ stfs f0, 0x20(r30) +/* 803136B0 00310610 C0 1E 00 08 */ lfs f0, 8(r30) +/* 803136B4 00310614 EC 00 10 2A */ fadds f0, f0, f2 +/* 803136B8 00310618 D0 1E 00 08 */ stfs f0, 8(r30) +/* 803136BC 0031061C C0 1E 00 18 */ lfs f0, 0x18(r30) +/* 803136C0 00310620 EC 00 18 2A */ fadds f0, f0, f3 +/* 803136C4 00310624 D0 1E 00 18 */ stfs f0, 0x18(r30) +/* 803136C8 00310628 C0 1E 00 28 */ lfs f0, 0x28(r30) +/* 803136CC 0031062C EC 00 20 2A */ fadds f0, f0, f4 +/* 803136D0 00310630 D0 1E 00 28 */ stfs f0, 0x28(r30) +/* 803136D4 00310634 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 +/* 803136D8 00310638 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803136DC 0031063C CB E1 00 10 */ lfd f31, 0x10(r1) +/* 803136E0 00310640 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803136E4 00310644 83 C1 00 08 */ lwz r30, 8(r1) +/* 803136E8 00310648 7C 08 03 A6 */ mtlr r0 +/* 803136EC 0031064C 38 21 00 20 */ addi r1, r1, 0x20 +/* 803136F0 00310650 4E 80 00 20 */ blr + +.global RotateLocalX__12CTransform4fFRC9CRelAngle +RotateLocalX__12CTransform4fFRC9CRelAngle: +/* 803136F4 00310654 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803136F8 00310658 7C 08 02 A6 */ mflr r0 +/* 803136FC 0031065C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80313700 00310660 DB E1 00 10 */ stfd f31, 0x10(r1) +/* 80313704 00310664 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 +/* 80313708 00310668 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8031370C 0031066C 93 C1 00 08 */ stw r30, 8(r1) +/* 80313710 00310670 7C 9F 23 78 */ mr r31, r4 +/* 80313714 00310674 7C 7E 1B 78 */ mr r30, r3 +/* 80313718 00310678 C0 24 00 00 */ lfs f1, 0(r4) +/* 8031371C 0031067C 48 08 13 C1 */ bl sin +/* 80313720 00310680 FF E0 08 18 */ frsp f31, f1 +/* 80313724 00310684 C0 3F 00 00 */ lfs f1, 0(r31) +/* 80313728 00310688 48 08 0C C9 */ bl cos +/* 8031372C 0031068C FC 20 08 18 */ frsp f1, f1 +/* 80313730 00310690 C0 1E 00 04 */ lfs f0, 4(r30) +/* 80313734 00310694 C0 5E 00 04 */ lfs f2, 4(r30) +/* 80313738 00310698 C0 7E 00 14 */ lfs f3, 0x14(r30) +/* 8031373C 0031069C EC 00 00 72 */ fmuls f0, f0, f1 +/* 80313740 003106A0 C0 9E 00 24 */ lfs f4, 0x24(r30) +/* 80313744 003106A4 C0 BE 00 08 */ lfs f5, 8(r30) +/* 80313748 003106A8 EC 42 07 F2 */ fmuls f2, f2, f31 +/* 8031374C 003106AC C0 DE 00 18 */ lfs f6, 0x18(r30) +/* 80313750 003106B0 EC 63 07 F2 */ fmuls f3, f3, f31 +/* 80313754 003106B4 C0 FE 00 28 */ lfs f7, 0x28(r30) +/* 80313758 003106B8 EC A5 07 F2 */ fmuls f5, f5, f31 +/* 8031375C 003106BC EC C6 07 F2 */ fmuls f6, f6, f31 +/* 80313760 003106C0 D0 1E 00 04 */ stfs f0, 4(r30) +/* 80313764 003106C4 EC E7 07 F2 */ fmuls f7, f7, f31 +/* 80313768 003106C8 EC 84 07 F2 */ fmuls f4, f4, f31 +/* 8031376C 003106CC C0 1E 00 14 */ lfs f0, 0x14(r30) +/* 80313770 003106D0 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80313774 003106D4 D0 1E 00 14 */ stfs f0, 0x14(r30) +/* 80313778 003106D8 C0 1E 00 24 */ lfs f0, 0x24(r30) +/* 8031377C 003106DC EC 00 00 72 */ fmuls f0, f0, f1 +/* 80313780 003106E0 D0 1E 00 24 */ stfs f0, 0x24(r30) +/* 80313784 003106E4 C0 1E 00 08 */ lfs f0, 8(r30) +/* 80313788 003106E8 EC 00 00 72 */ fmuls f0, f0, f1 +/* 8031378C 003106EC D0 1E 00 08 */ stfs f0, 8(r30) +/* 80313790 003106F0 C0 1E 00 18 */ lfs f0, 0x18(r30) +/* 80313794 003106F4 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80313798 003106F8 D0 1E 00 18 */ stfs f0, 0x18(r30) +/* 8031379C 003106FC C0 1E 00 28 */ lfs f0, 0x28(r30) +/* 803137A0 00310700 EC 00 00 72 */ fmuls f0, f0, f1 +/* 803137A4 00310704 D0 1E 00 28 */ stfs f0, 0x28(r30) +/* 803137A8 00310708 C0 1E 00 04 */ lfs f0, 4(r30) +/* 803137AC 0031070C EC 00 28 2A */ fadds f0, f0, f5 +/* 803137B0 00310710 D0 1E 00 04 */ stfs f0, 4(r30) +/* 803137B4 00310714 C0 1E 00 14 */ lfs f0, 0x14(r30) +/* 803137B8 00310718 EC 00 30 2A */ fadds f0, f0, f6 +/* 803137BC 0031071C D0 1E 00 14 */ stfs f0, 0x14(r30) +/* 803137C0 00310720 C0 1E 00 24 */ lfs f0, 0x24(r30) +/* 803137C4 00310724 EC 00 38 2A */ fadds f0, f0, f7 +/* 803137C8 00310728 D0 1E 00 24 */ stfs f0, 0x24(r30) +/* 803137CC 0031072C C0 1E 00 08 */ lfs f0, 8(r30) +/* 803137D0 00310730 EC 00 10 28 */ fsubs f0, f0, f2 +/* 803137D4 00310734 D0 1E 00 08 */ stfs f0, 8(r30) +/* 803137D8 00310738 C0 1E 00 18 */ lfs f0, 0x18(r30) +/* 803137DC 0031073C EC 00 18 28 */ fsubs f0, f0, f3 +/* 803137E0 00310740 D0 1E 00 18 */ stfs f0, 0x18(r30) +/* 803137E4 00310744 C0 1E 00 28 */ lfs f0, 0x28(r30) +/* 803137E8 00310748 EC 00 20 28 */ fsubs f0, f0, f4 +/* 803137EC 0031074C D0 1E 00 28 */ stfs f0, 0x28(r30) +/* 803137F0 00310750 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 +/* 803137F4 00310754 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803137F8 00310758 CB E1 00 10 */ lfd f31, 0x10(r1) +/* 803137FC 0031075C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80313800 00310760 83 C1 00 08 */ lwz r30, 8(r1) +/* 80313804 00310764 7C 08 03 A6 */ mtlr r0 +/* 80313808 00310768 38 21 00 20 */ addi r1, r1, 0x20 +/* 8031380C 0031076C 4E 80 00 20 */ blr + +.global RotateZ__12CTransform4fFRC9CRelAngle +RotateZ__12CTransform4fFRC9CRelAngle: +/* 80313810 00310770 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80313814 00310774 7C 08 02 A6 */ mflr r0 +/* 80313818 00310778 90 01 00 24 */ stw r0, 0x24(r1) +/* 8031381C 0031077C DB E1 00 10 */ stfd f31, 0x10(r1) +/* 80313820 00310780 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 +/* 80313824 00310784 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80313828 00310788 93 C1 00 08 */ stw r30, 8(r1) +/* 8031382C 0031078C 7C 9F 23 78 */ mr r31, r4 +/* 80313830 00310790 7C 7E 1B 78 */ mr r30, r3 +/* 80313834 00310794 C0 24 00 00 */ lfs f1, 0(r4) +/* 80313838 00310798 48 08 12 A5 */ bl sin +/* 8031383C 0031079C FF E0 08 18 */ frsp f31, f1 +/* 80313840 003107A0 C0 3F 00 00 */ lfs f1, 0(r31) +/* 80313844 003107A4 48 08 0B AD */ bl cos +/* 80313848 003107A8 FC 60 08 18 */ frsp f3, f1 +/* 8031384C 003107AC C0 22 C8 D4 */ lfs f1, lbl_805AE5F4@sda21(r2) +/* 80313850 003107B0 FC 40 F8 50 */ fneg f2, f31 +/* 80313854 003107B4 C0 02 C8 D0 */ lfs f0, lbl_805AE5F0@sda21(r2) +/* 80313858 003107B8 D0 7E 00 00 */ stfs f3, 0(r30) +/* 8031385C 003107BC D0 5E 00 04 */ stfs f2, 4(r30) +/* 80313860 003107C0 D0 3E 00 08 */ stfs f1, 8(r30) +/* 80313864 003107C4 D0 3E 00 0C */ stfs f1, 0xc(r30) +/* 80313868 003107C8 D3 FE 00 10 */ stfs f31, 0x10(r30) +/* 8031386C 003107CC D0 7E 00 14 */ stfs f3, 0x14(r30) +/* 80313870 003107D0 D0 3E 00 18 */ stfs f1, 0x18(r30) +/* 80313874 003107D4 D0 3E 00 1C */ stfs f1, 0x1c(r30) +/* 80313878 003107D8 D0 3E 00 20 */ stfs f1, 0x20(r30) +/* 8031387C 003107DC D0 3E 00 24 */ stfs f1, 0x24(r30) +/* 80313880 003107E0 D0 1E 00 28 */ stfs f0, 0x28(r30) +/* 80313884 003107E4 D0 3E 00 2C */ stfs f1, 0x2c(r30) +/* 80313888 003107E8 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 +/* 8031388C 003107EC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80313890 003107F0 CB E1 00 10 */ lfd f31, 0x10(r1) +/* 80313894 003107F4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80313898 003107F8 83 C1 00 08 */ lwz r30, 8(r1) +/* 8031389C 003107FC 7C 08 03 A6 */ mtlr r0 +/* 803138A0 00310800 38 21 00 20 */ addi r1, r1, 0x20 +/* 803138A4 00310804 4E 80 00 20 */ blr + +.global RotateY__12CTransform4fFRC9CRelAngle +RotateY__12CTransform4fFRC9CRelAngle: +/* 803138A8 00310808 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803138AC 0031080C 7C 08 02 A6 */ mflr r0 +/* 803138B0 00310810 90 01 00 24 */ stw r0, 0x24(r1) +/* 803138B4 00310814 DB E1 00 10 */ stfd f31, 0x10(r1) +/* 803138B8 00310818 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 +/* 803138BC 0031081C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803138C0 00310820 93 C1 00 08 */ stw r30, 8(r1) +/* 803138C4 00310824 7C 9F 23 78 */ mr r31, r4 +/* 803138C8 00310828 7C 7E 1B 78 */ mr r30, r3 +/* 803138CC 0031082C C0 24 00 00 */ lfs f1, 0(r4) +/* 803138D0 00310830 48 08 12 0D */ bl sin +/* 803138D4 00310834 FF E0 08 18 */ frsp f31, f1 +/* 803138D8 00310838 C0 3F 00 00 */ lfs f1, 0(r31) +/* 803138DC 0031083C 48 08 0B 15 */ bl cos +/* 803138E0 00310840 FC 60 08 18 */ frsp f3, f1 +/* 803138E4 00310844 C0 42 C8 D4 */ lfs f2, lbl_805AE5F4@sda21(r2) +/* 803138E8 00310848 C0 22 C8 D0 */ lfs f1, lbl_805AE5F0@sda21(r2) +/* 803138EC 0031084C FC 00 F8 50 */ fneg f0, f31 +/* 803138F0 00310850 D0 7E 00 00 */ stfs f3, 0(r30) +/* 803138F4 00310854 D0 5E 00 04 */ stfs f2, 4(r30) +/* 803138F8 00310858 D3 FE 00 08 */ stfs f31, 8(r30) +/* 803138FC 0031085C D0 5E 00 0C */ stfs f2, 0xc(r30) +/* 80313900 00310860 D0 5E 00 10 */ stfs f2, 0x10(r30) +/* 80313904 00310864 D0 3E 00 14 */ stfs f1, 0x14(r30) +/* 80313908 00310868 D0 5E 00 18 */ stfs f2, 0x18(r30) +/* 8031390C 0031086C D0 5E 00 1C */ stfs f2, 0x1c(r30) +/* 80313910 00310870 D0 1E 00 20 */ stfs f0, 0x20(r30) +/* 80313914 00310874 D0 5E 00 24 */ stfs f2, 0x24(r30) +/* 80313918 00310878 D0 7E 00 28 */ stfs f3, 0x28(r30) +/* 8031391C 0031087C D0 5E 00 2C */ stfs f2, 0x2c(r30) +/* 80313920 00310880 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 +/* 80313924 00310884 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80313928 00310888 CB E1 00 10 */ lfd f31, 0x10(r1) +/* 8031392C 0031088C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80313930 00310890 83 C1 00 08 */ lwz r30, 8(r1) +/* 80313934 00310894 7C 08 03 A6 */ mtlr r0 +/* 80313938 00310898 38 21 00 20 */ addi r1, r1, 0x20 +/* 8031393C 0031089C 4E 80 00 20 */ blr + +.global RotateX__12CTransform4fFRC9CRelAngle +RotateX__12CTransform4fFRC9CRelAngle: +/* 80313940 003108A0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80313944 003108A4 7C 08 02 A6 */ mflr r0 +/* 80313948 003108A8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8031394C 003108AC DB E1 00 10 */ stfd f31, 0x10(r1) +/* 80313950 003108B0 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 +/* 80313954 003108B4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80313958 003108B8 93 C1 00 08 */ stw r30, 8(r1) +/* 8031395C 003108BC 7C 9F 23 78 */ mr r31, r4 +/* 80313960 003108C0 7C 7E 1B 78 */ mr r30, r3 +/* 80313964 003108C4 C0 24 00 00 */ lfs f1, 0(r4) +/* 80313968 003108C8 48 08 11 75 */ bl sin +/* 8031396C 003108CC FF E0 08 18 */ frsp f31, f1 +/* 80313970 003108D0 C0 3F 00 00 */ lfs f1, 0(r31) +/* 80313974 003108D4 48 08 0A 7D */ bl cos +/* 80313978 003108D8 C0 42 C8 D0 */ lfs f2, lbl_805AE5F0@sda21(r2) +/* 8031397C 003108DC FC 60 08 18 */ frsp f3, f1 +/* 80313980 003108E0 C0 22 C8 D4 */ lfs f1, lbl_805AE5F4@sda21(r2) +/* 80313984 003108E4 FC 00 F8 50 */ fneg f0, f31 +/* 80313988 003108E8 D0 5E 00 00 */ stfs f2, 0(r30) +/* 8031398C 003108EC D0 3E 00 04 */ stfs f1, 4(r30) +/* 80313990 003108F0 D0 3E 00 08 */ stfs f1, 8(r30) +/* 80313994 003108F4 D0 3E 00 0C */ stfs f1, 0xc(r30) +/* 80313998 003108F8 D0 3E 00 10 */ stfs f1, 0x10(r30) +/* 8031399C 003108FC D0 7E 00 14 */ stfs f3, 0x14(r30) +/* 803139A0 00310900 D0 1E 00 18 */ stfs f0, 0x18(r30) +/* 803139A4 00310904 D0 3E 00 1C */ stfs f1, 0x1c(r30) +/* 803139A8 00310908 D0 3E 00 20 */ stfs f1, 0x20(r30) +/* 803139AC 0031090C D3 FE 00 24 */ stfs f31, 0x24(r30) +/* 803139B0 00310910 D0 7E 00 28 */ stfs f3, 0x28(r30) +/* 803139B4 00310914 D0 3E 00 2C */ stfs f1, 0x2c(r30) +/* 803139B8 00310918 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 +/* 803139BC 0031091C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803139C0 00310920 CB E1 00 10 */ lfd f31, 0x10(r1) +/* 803139C4 00310924 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803139C8 00310928 83 C1 00 08 */ lwz r30, 8(r1) +/* 803139CC 0031092C 7C 08 03 A6 */ mtlr r0 +/* 803139D0 00310930 38 21 00 20 */ addi r1, r1, 0x20 +/* 803139D4 00310934 4E 80 00 20 */ blr + +.global MakeRotationsBasedOnY__12CTransform4fFRC13CUnitVector3f +MakeRotationsBasedOnY__12CTransform4fFRC13CUnitVector3f: +/* 803139D8 00310938 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 803139DC 0031093C 7C 08 02 A6 */ mflr r0 +/* 803139E0 00310940 90 01 00 44 */ stw r0, 0x44(r1) +/* 803139E4 00310944 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 803139E8 00310948 7C 9F 23 78 */ mr r31, r4 +/* 803139EC 0031094C 93 C1 00 38 */ stw r30, 0x38(r1) +/* 803139F0 00310950 7C 7E 1B 78 */ mr r30, r3 +/* 803139F4 00310954 C0 24 00 04 */ lfs f1, 4(r4) +/* 803139F8 00310958 C0 44 00 00 */ lfs f2, 0(r4) +/* 803139FC 0031095C FC 01 10 40 */ fcmpo cr0, f1, f2 +/* 80313A00 00310960 40 80 00 20 */ bge lbl_80313A20 +/* 80313A04 00310964 C0 1F 00 08 */ lfs f0, 8(r31) +/* 80313A08 00310968 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80313A0C 0031096C 40 80 00 0C */ bge lbl_80313A18 +/* 80313A10 00310970 38 00 00 02 */ li r0, 2 +/* 80313A14 00310974 48 00 00 24 */ b lbl_80313A38 +lbl_80313A18: +/* 80313A18 00310978 38 00 00 01 */ li r0, 1 +/* 80313A1C 0031097C 48 00 00 1C */ b lbl_80313A38 +lbl_80313A20: +/* 80313A20 00310980 C0 1F 00 08 */ lfs f0, 8(r31) +/* 80313A24 00310984 FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 80313A28 00310988 40 80 00 0C */ bge lbl_80313A34 +/* 80313A2C 0031098C 38 00 00 02 */ li r0, 2 +/* 80313A30 00310990 48 00 00 08 */ b lbl_80313A38 +lbl_80313A34: +/* 80313A34 00310994 38 00 00 01 */ li r0, 1 +lbl_80313A38: +/* 80313A38 00310998 C0 22 C8 D4 */ lfs f1, lbl_805AE5F4@sda21(r2) +/* 80313A3C 0031099C 54 00 10 3A */ slwi r0, r0, 2 +/* 80313A40 003109A0 C0 02 C8 D0 */ lfs f0, lbl_805AE5F0@sda21(r2) +/* 80313A44 003109A4 38 A1 00 2C */ addi r5, r1, 0x2c +/* 80313A48 003109A8 D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 80313A4C 003109AC 38 61 00 20 */ addi r3, r1, 0x20 +/* 80313A50 003109B0 C0 7F 00 00 */ lfs f3, 0(r31) +/* 80313A54 003109B4 38 81 00 14 */ addi r4, r1, 0x14 +/* 80313A58 003109B8 D0 21 00 30 */ stfs f1, 0x30(r1) +/* 80313A5C 003109BC C0 9F 00 04 */ lfs f4, 4(r31) +/* 80313A60 003109C0 D0 21 00 34 */ stfs f1, 0x34(r1) +/* 80313A64 003109C4 C0 BF 00 08 */ lfs f5, 8(r31) +/* 80313A68 003109C8 7C 05 05 2E */ stfsx f0, r5, r0 +/* 80313A6C 003109CC C0 C1 00 30 */ lfs f6, 0x30(r1) +/* 80313A70 003109D0 C0 E1 00 34 */ lfs f7, 0x34(r1) +/* 80313A74 003109D4 C1 01 00 2C */ lfs f8, 0x2c(r1) +/* 80313A78 003109D8 EC 46 01 72 */ fmuls f2, f6, f5 +/* 80313A7C 003109DC EC 27 00 F2 */ fmuls f1, f7, f3 +/* 80313A80 003109E0 EC 08 01 32 */ fmuls f0, f8, f4 +/* 80313A84 003109E4 EC 44 11 F8 */ fmsubs f2, f4, f7, f2 +/* 80313A88 003109E8 EC 25 0A 38 */ fmsubs f1, f5, f8, f1 +/* 80313A8C 003109EC EC 03 01 B8 */ fmsubs f0, f3, f6, f0 +/* 80313A90 003109F0 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 80313A94 003109F4 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 80313A98 003109F8 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 80313A9C 003109FC 48 00 03 35 */ bl __ct__13CUnitVector3fFRC9CVector3f +/* 80313AA0 00310A00 C0 61 00 24 */ lfs f3, 0x24(r1) +/* 80313AA4 00310A04 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80313AA8 00310A08 C0 BF 00 00 */ lfs f5, 0(r31) +/* 80313AAC 00310A0C 38 E3 66 A0 */ addi r7, r3, skZero3f@l +/* 80313AB0 00310A10 C0 81 00 28 */ lfs f4, 0x28(r1) +/* 80313AB4 00310A14 7F C3 F3 78 */ mr r3, r30 +/* 80313AB8 00310A18 C0 3F 00 04 */ lfs f1, 4(r31) +/* 80313ABC 00310A1C EC 05 00 F2 */ fmuls f0, f5, f3 +/* 80313AC0 00310A20 C0 E1 00 20 */ lfs f7, 0x20(r1) +/* 80313AC4 00310A24 7F E5 FB 78 */ mr r5, r31 +/* 80313AC8 00310A28 C0 DF 00 08 */ lfs f6, 8(r31) +/* 80313ACC 00310A2C EC 41 01 32 */ fmuls f2, f1, f4 +/* 80313AD0 00310A30 EC 07 00 78 */ fmsubs f0, f7, f1, f0 +/* 80313AD4 00310A34 EC 26 01 F2 */ fmuls f1, f6, f7 +/* 80313AD8 00310A38 38 81 00 20 */ addi r4, r1, 0x20 +/* 80313ADC 00310A3C EC 43 11 B8 */ fmsubs f2, f3, f6, f2 +/* 80313AE0 00310A40 38 C1 00 08 */ addi r6, r1, 8 +/* 80313AE4 00310A44 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 80313AE8 00310A48 EC 04 09 78 */ fmsubs f0, f4, f5, f1 +/* 80313AEC 00310A4C D0 41 00 08 */ stfs f2, 8(r1) +/* 80313AF0 00310A50 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 80313AF4 00310A54 4B FF F3 69 */ bl __ct__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f_0 +/* 80313AF8 00310A58 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80313AFC 00310A5C 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80313B00 00310A60 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 80313B04 00310A64 7C 08 03 A6 */ mtlr r0 +/* 80313B08 00310A68 38 21 00 40 */ addi r1, r1, 0x40 +/* 80313B0C 00310A6C 4E 80 00 20 */ blr + +.global LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f: +/* 80313B10 00310A70 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80313B14 00310A74 7C 08 02 A6 */ mflr r0 +/* 80313B18 00310A78 90 01 00 34 */ stw r0, 0x34(r1) +/* 80313B1C 00310A7C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80313B20 00310A80 7C DF 33 78 */ mr r31, r6 +/* 80313B24 00310A84 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80313B28 00310A88 7C 9E 23 78 */ mr r30, r4 +/* 80313B2C 00310A8C 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80313B30 00310A90 7C 7D 1B 78 */ mr r29, r3 +/* 80313B34 00310A94 38 61 00 14 */ addi r3, r1, 0x14 +/* 80313B38 00310A98 C0 25 00 04 */ lfs f1, 4(r5) +/* 80313B3C 00310A9C C0 04 00 04 */ lfs f0, 4(r4) +/* 80313B40 00310AA0 C0 65 00 08 */ lfs f3, 8(r5) +/* 80313B44 00310AA4 EC 81 00 28 */ fsubs f4, f1, f0 +/* 80313B48 00310AA8 C0 44 00 08 */ lfs f2, 8(r4) +/* 80313B4C 00310AAC C0 25 00 00 */ lfs f1, 0(r5) +/* 80313B50 00310AB0 C0 04 00 00 */ lfs f0, 0(r4) +/* 80313B54 00310AB4 EC 43 10 28 */ fsubs f2, f3, f2 +/* 80313B58 00310AB8 D0 81 00 18 */ stfs f4, 0x18(r1) +/* 80313B5C 00310ABC EC 01 00 28 */ fsubs f0, f1, f0 +/* 80313B60 00310AC0 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 80313B64 00310AC4 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80313B68 00310AC8 48 00 0D 51 */ bl Magnitude__9CVector3fCFv +/* 80313B6C 00310ACC C0 02 C8 D8 */ lfs f0, lbl_805AE5F8@sda21(r2) +/* 80313B70 00310AD0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80313B74 00310AD4 4C 40 13 82 */ cror 2, 0, 2 +/* 80313B78 00310AD8 40 82 00 1C */ bne lbl_80313B94 +/* 80313B7C 00310ADC C0 22 C8 D4 */ lfs f1, lbl_805AE5F4@sda21(r2) +/* 80313B80 00310AE0 C0 02 C8 D0 */ lfs f0, lbl_805AE5F0@sda21(r2) +/* 80313B84 00310AE4 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 80313B88 00310AE8 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 80313B8C 00310AEC D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 80313B90 00310AF0 48 00 00 30 */ b lbl_80313BC0 +lbl_80313B94: +/* 80313B94 00310AF4 C0 02 C8 D0 */ lfs f0, lbl_805AE5F0@sda21(r2) +/* 80313B98 00310AF8 C0 41 00 14 */ lfs f2, 0x14(r1) +/* 80313B9C 00310AFC EC 60 08 24 */ fdivs f3, f0, f1 +/* 80313BA0 00310B00 C0 21 00 18 */ lfs f1, 0x18(r1) +/* 80313BA4 00310B04 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 80313BA8 00310B08 EC 42 00 F2 */ fmuls f2, f2, f3 +/* 80313BAC 00310B0C EC 21 00 F2 */ fmuls f1, f1, f3 +/* 80313BB0 00310B10 EC 00 00 F2 */ fmuls f0, f0, f3 +/* 80313BB4 00310B14 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 80313BB8 00310B18 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 80313BBC 00310B1C D0 01 00 1C */ stfs f0, 0x1c(r1) +lbl_80313BC0: +/* 80313BC0 00310B20 C0 3F 00 04 */ lfs f1, 4(r31) +/* 80313BC4 00310B24 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 80313BC8 00310B28 C0 5F 00 00 */ lfs f2, 0(r31) +/* 80313BCC 00310B2C EC 01 00 32 */ fmuls f0, f1, f0 +/* 80313BD0 00310B30 C0 21 00 14 */ lfs f1, 0x14(r1) +/* 80313BD4 00310B34 C0 9F 00 08 */ lfs f4, 8(r31) +/* 80313BD8 00310B38 C0 61 00 1C */ lfs f3, 0x1c(r1) +/* 80313BDC 00310B3C EC 22 00 7A */ fmadds f1, f2, f1, f0 +/* 80313BE0 00310B40 C8 02 C8 E0 */ lfd f0, lbl_805AE600@sda21(r2) +/* 80313BE4 00310B44 EC C4 08 FA */ fmadds f6, f4, f3, f1 +/* 80313BE8 00310B48 FC 20 32 10 */ fabs f1, f6 +/* 80313BEC 00310B4C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80313BF0 00310B50 40 81 00 14 */ ble lbl_80313C04 +/* 80313BF4 00310B54 C0 02 C8 E8 */ lfs f0, lbl_805AE608@sda21(r2) +/* 80313BF8 00310B58 C0 22 C8 D0 */ lfs f1, lbl_805AE5F0@sda21(r2) +/* 80313BFC 00310B5C FC 06 00 6E */ fsel f0, f6, f1, f0 +/* 80313C00 00310B60 EC C1 00 32 */ fmuls f6, f1, f0 +lbl_80313C04: +/* 80313C04 00310B64 C0 41 00 18 */ lfs f2, 0x18(r1) +/* 80313C08 00310B68 38 61 00 08 */ addi r3, r1, 8 +/* 80313C0C 00310B6C C0 21 00 1C */ lfs f1, 0x1c(r1) +/* 80313C10 00310B70 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 80313C14 00310B74 EC 86 00 B2 */ fmuls f4, f6, f2 +/* 80313C18 00310B78 C0 BF 00 04 */ lfs f5, 4(r31) +/* 80313C1C 00310B7C EC 46 00 72 */ fmuls f2, f6, f1 +/* 80313C20 00310B80 C0 7F 00 08 */ lfs f3, 8(r31) +/* 80313C24 00310B84 EC 06 00 32 */ fmuls f0, f6, f0 +/* 80313C28 00310B88 C0 3F 00 00 */ lfs f1, 0(r31) +/* 80313C2C 00310B8C EC 85 20 28 */ fsubs f4, f5, f4 +/* 80313C30 00310B90 EC 43 10 28 */ fsubs f2, f3, f2 +/* 80313C34 00310B94 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80313C38 00310B98 D0 81 00 0C */ stfs f4, 0xc(r1) +/* 80313C3C 00310B9C D0 01 00 08 */ stfs f0, 8(r1) +/* 80313C40 00310BA0 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 80313C44 00310BA4 48 00 0C 75 */ bl Magnitude__9CVector3fCFv +/* 80313C48 00310BA8 C0 02 C8 D8 */ lfs f0, lbl_805AE5F8@sda21(r2) +/* 80313C4C 00310BAC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80313C50 00310BB0 4C 40 13 82 */ cror 2, 0, 2 +/* 80313C54 00310BB4 40 82 00 94 */ bne lbl_80313CE8 +/* 80313C58 00310BB8 C0 A1 00 1C */ lfs f5, 0x1c(r1) +/* 80313C5C 00310BBC 38 61 00 08 */ addi r3, r1, 8 +/* 80313C60 00310BC0 C0 61 00 18 */ lfs f3, 0x18(r1) +/* 80313C64 00310BC4 C0 41 00 14 */ lfs f2, 0x14(r1) +/* 80313C68 00310BC8 EC 05 01 72 */ fmuls f0, f5, f5 +/* 80313C6C 00310BCC C0 22 C8 D0 */ lfs f1, lbl_805AE5F0@sda21(r2) +/* 80313C70 00310BD0 EC 65 00 F2 */ fmuls f3, f5, f3 +/* 80313C74 00310BD4 C0 82 C8 D4 */ lfs f4, lbl_805AE5F4@sda21(r2) +/* 80313C78 00310BD8 EC 45 00 B2 */ fmuls f2, f5, f2 +/* 80313C7C 00310BDC EC 01 00 28 */ fsubs f0, f1, f0 +/* 80313C80 00310BE0 EC 64 18 28 */ fsubs f3, f4, f3 +/* 80313C84 00310BE4 EC 24 10 28 */ fsubs f1, f4, f2 +/* 80313C88 00310BE8 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 80313C8C 00310BEC D0 21 00 08 */ stfs f1, 8(r1) +/* 80313C90 00310BF0 D0 61 00 0C */ stfs f3, 0xc(r1) +/* 80313C94 00310BF4 48 00 0C 25 */ bl Magnitude__9CVector3fCFv +/* 80313C98 00310BF8 C0 02 C8 D8 */ lfs f0, lbl_805AE5F8@sda21(r2) +/* 80313C9C 00310BFC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80313CA0 00310C00 4C 40 13 82 */ cror 2, 0, 2 +/* 80313CA4 00310C04 40 82 00 44 */ bne lbl_80313CE8 +/* 80313CA8 00310C08 C0 A1 00 18 */ lfs f5, 0x18(r1) +/* 80313CAC 00310C0C 38 61 00 08 */ addi r3, r1, 8 +/* 80313CB0 00310C10 C0 61 00 1C */ lfs f3, 0x1c(r1) +/* 80313CB4 00310C14 C0 41 00 14 */ lfs f2, 0x14(r1) +/* 80313CB8 00310C18 EC 05 01 72 */ fmuls f0, f5, f5 +/* 80313CBC 00310C1C C0 22 C8 D0 */ lfs f1, lbl_805AE5F0@sda21(r2) +/* 80313CC0 00310C20 EC 65 00 F2 */ fmuls f3, f5, f3 +/* 80313CC4 00310C24 C0 82 C8 D4 */ lfs f4, lbl_805AE5F4@sda21(r2) +/* 80313CC8 00310C28 EC 45 00 B2 */ fmuls f2, f5, f2 +/* 80313CCC 00310C2C EC 01 00 28 */ fsubs f0, f1, f0 +/* 80313CD0 00310C30 EC 64 18 28 */ fsubs f3, f4, f3 +/* 80313CD4 00310C34 EC 24 10 28 */ fsubs f1, f4, f2 +/* 80313CD8 00310C38 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 80313CDC 00310C3C D0 21 00 08 */ stfs f1, 8(r1) +/* 80313CE0 00310C40 D0 61 00 10 */ stfs f3, 0x10(r1) +/* 80313CE4 00310C44 48 00 0B D5 */ bl Magnitude__9CVector3fCFv +lbl_80313CE8: +/* 80313CE8 00310C48 C0 02 C8 D0 */ lfs f0, lbl_805AE5F0@sda21(r2) +/* 80313CEC 00310C4C C0 41 00 0C */ lfs f2, 0xc(r1) +/* 80313CF0 00310C50 EC A0 08 24 */ fdivs f5, f0, f1 +/* 80313CF4 00310C54 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 80313CF8 00310C58 C0 21 00 08 */ lfs f1, 8(r1) +/* 80313CFC 00310C5C C1 41 00 1C */ lfs f10, 0x1c(r1) +/* 80313D00 00310C60 C1 61 00 18 */ lfs f11, 0x18(r1) +/* 80313D04 00310C64 C1 21 00 14 */ lfs f9, 0x14(r1) +/* 80313D08 00310C68 EC 82 01 72 */ fmuls f4, f2, f5 +/* 80313D0C 00310C6C C0 DE 00 08 */ lfs f6, 8(r30) +/* 80313D10 00310C70 EC 60 01 72 */ fmuls f3, f0, f5 +/* 80313D14 00310C74 C0 FE 00 04 */ lfs f7, 4(r30) +/* 80313D18 00310C78 EC A1 01 72 */ fmuls f5, f1, f5 +/* 80313D1C 00310C7C C1 1E 00 00 */ lfs f8, 0(r30) +/* 80313D20 00310C80 EC 24 02 B2 */ fmuls f1, f4, f10 +/* 80313D24 00310C84 D0 81 00 0C */ stfs f4, 0xc(r1) +/* 80313D28 00310C88 EC 03 02 72 */ fmuls f0, f3, f9 +/* 80313D2C 00310C8C D0 A1 00 08 */ stfs f5, 8(r1) +/* 80313D30 00310C90 EC 45 02 F2 */ fmuls f2, f5, f11 +/* 80313D34 00310C94 EC 2B 08 F8 */ fmsubs f1, f11, f3, f1 +/* 80313D38 00310C98 D0 61 00 10 */ stfs f3, 0x10(r1) +/* 80313D3C 00310C9C EC 0A 01 78 */ fmsubs f0, f10, f5, f0 +/* 80313D40 00310CA0 EC 49 11 38 */ fmsubs f2, f9, f4, f2 +/* 80313D44 00310CA4 D0 3D 00 00 */ stfs f1, 0(r29) +/* 80313D48 00310CA8 D1 3D 00 04 */ stfs f9, 4(r29) +/* 80313D4C 00310CAC D0 BD 00 08 */ stfs f5, 8(r29) +/* 80313D50 00310CB0 D1 1D 00 0C */ stfs f8, 0xc(r29) +/* 80313D54 00310CB4 D0 1D 00 10 */ stfs f0, 0x10(r29) +/* 80313D58 00310CB8 D1 7D 00 14 */ stfs f11, 0x14(r29) +/* 80313D5C 00310CBC D0 9D 00 18 */ stfs f4, 0x18(r29) +/* 80313D60 00310CC0 D0 FD 00 1C */ stfs f7, 0x1c(r29) +/* 80313D64 00310CC4 D0 5D 00 20 */ stfs f2, 0x20(r29) +/* 80313D68 00310CC8 D1 5D 00 24 */ stfs f10, 0x24(r29) +/* 80313D6C 00310CCC D0 7D 00 28 */ stfs f3, 0x28(r29) +/* 80313D70 00310CD0 D0 DD 00 2C */ stfs f6, 0x2c(r29) +/* 80313D74 00310CD4 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80313D78 00310CD8 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80313D7C 00310CDC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80313D80 00310CE0 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80313D84 00310CE4 7C 08 03 A6 */ mtlr r0 +/* 80313D88 00310CE8 38 21 00 30 */ addi r1, r1, 0x30 +/* 80313D8C 00310CEC 4E 80 00 20 */ blr + +.global __sinit_CTransform4f_cpp +__sinit_CTransform4f_cpp: +/* 80313D90 00310CF0 C0 22 C8 D0 */ lfs f1, lbl_805AE5F0@sda21(r2) +/* 80313D94 00310CF4 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 80313D98 00310CF8 C0 02 C8 D4 */ lfs f0, lbl_805AE5F4@sda21(r2) +/* 80313D9C 00310CFC D4 23 66 70 */ stfsu f1, skIdentity4f@l(r3) +/* 80313DA0 00310D00 D0 03 00 04 */ stfs f0, 4(r3) +/* 80313DA4 00310D04 D0 03 00 08 */ stfs f0, 8(r3) +/* 80313DA8 00310D08 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 80313DAC 00310D0C D0 03 00 10 */ stfs f0, 0x10(r3) +/* 80313DB0 00310D10 D0 23 00 14 */ stfs f1, 0x14(r3) +/* 80313DB4 00310D14 D0 03 00 18 */ stfs f0, 0x18(r3) +/* 80313DB8 00310D18 D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 80313DBC 00310D1C D0 03 00 20 */ stfs f0, 0x20(r3) +/* 80313DC0 00310D20 D0 03 00 24 */ stfs f0, 0x24(r3) +/* 80313DC4 00310D24 D0 23 00 28 */ stfs f1, 0x28(r3) +/* 80313DC8 00310D28 D0 03 00 2C */ stfs f0, 0x2c(r3) +/* 80313DCC 00310D2C 4E 80 00 20 */ blr diff --git a/asm/Kyoto/Math/CUnitVector3f.s b/asm/Kyoto/Math/CUnitVector3f.s new file mode 100644 index 00000000..710dfeb4 --- /dev/null +++ b/asm/Kyoto/Math/CUnitVector3f.s @@ -0,0 +1,47 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __ct__13CUnitVector3fFRC9CVector3f +__ct__13CUnitVector3fFRC9CVector3f: +/* 80313DD0 00310D30 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80313DD4 00310D34 7C 08 02 A6 */ mflr r0 +/* 80313DD8 00310D38 C0 22 C8 F0 */ lfs f1, lbl_805AE610@sda21(r2) +/* 80313DDC 00310D3C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80313DE0 00310D40 38 00 00 00 */ li r0, 0 +/* 80313DE4 00310D44 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80313DE8 00310D48 7C 7F 1B 78 */ mr r31, r3 +/* 80313DEC 00310D4C C0 04 00 00 */ lfs f0, 0(r4) +/* 80313DF0 00310D50 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80313DF4 00310D54 40 82 00 1C */ bne lbl_80313E10 +/* 80313DF8 00310D58 C0 04 00 04 */ lfs f0, 4(r4) +/* 80313DFC 00310D5C FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80313E00 00310D60 40 82 00 10 */ bne lbl_80313E10 +/* 80313E04 00310D64 C0 04 00 08 */ lfs f0, 8(r4) +/* 80313E08 00310D68 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80313E0C 00310D6C 41 82 00 08 */ beq lbl_80313E14 +lbl_80313E10: +/* 80313E10 00310D70 38 00 00 01 */ li r0, 1 +lbl_80313E14: +/* 80313E14 00310D74 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 80313E18 00310D78 41 82 00 14 */ beq lbl_80313E2C +/* 80313E1C 00310D7C 38 61 00 08 */ addi r3, r1, 8 +/* 80313E20 00310D80 48 00 0A 31 */ bl AsNormalized__9CVector3fCFv +/* 80313E24 00310D84 38 81 00 08 */ addi r4, r1, 8 +/* 80313E28 00310D88 48 00 00 0C */ b lbl_80313E34 +lbl_80313E2C: +/* 80313E2C 00310D8C 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80313E30 00310D90 38 83 66 A0 */ addi r4, r3, skZero3f@l +lbl_80313E34: +/* 80313E34 00310D94 C0 04 00 00 */ lfs f0, 0(r4) +/* 80313E38 00310D98 7F E3 FB 78 */ mr r3, r31 +/* 80313E3C 00310D9C D0 1F 00 00 */ stfs f0, 0(r31) +/* 80313E40 00310DA0 C0 04 00 04 */ lfs f0, 4(r4) +/* 80313E44 00310DA4 D0 1F 00 04 */ stfs f0, 4(r31) +/* 80313E48 00310DA8 C0 04 00 08 */ lfs f0, 8(r4) +/* 80313E4C 00310DAC D0 1F 00 08 */ stfs f0, 8(r31) +/* 80313E50 00310DB0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80313E54 00310DB4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80313E58 00310DB8 7C 08 03 A6 */ mtlr r0 +/* 80313E5C 00310DBC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80313E60 00310DC0 4E 80 00 20 */ blr diff --git a/asm/Kyoto/Math/CVector2f.s b/asm/Kyoto/Math/CVector2f.s new file mode 100644 index 00000000..2dfedcf6 --- /dev/null +++ b/asm/Kyoto/Math/CVector2f.s @@ -0,0 +1,311 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __dv__FRC9CVector2fRCf +__dv__FRC9CVector2fRCf: +/* 80313E64 00310DC4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80313E68 00310DC8 7C 08 02 A6 */ mflr r0 +/* 80313E6C 00310DCC C0 42 C8 F8 */ lfs f2, lbl_805AE618@sda21(r2) +/* 80313E70 00310DD0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80313E74 00310DD4 C0 05 00 00 */ lfs f0, 0(r5) +/* 80313E78 00310DD8 C0 24 00 00 */ lfs f1, 0(r4) +/* 80313E7C 00310DDC EC 42 00 24 */ fdivs f2, f2, f0 +/* 80313E80 00310DE0 C0 04 00 04 */ lfs f0, 4(r4) +/* 80313E84 00310DE4 EC 22 00 72 */ fmuls f1, f2, f1 +/* 80313E88 00310DE8 EC 42 00 32 */ fmuls f2, f2, f0 +/* 80313E8C 00310DEC 48 00 03 75 */ bl __ct__9CVector2fFff +/* 80313E90 00310DF0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80313E94 00310DF4 7C 08 03 A6 */ mtlr r0 +/* 80313E98 00310DF8 38 21 00 10 */ addi r1, r1, 0x10 +/* 80313E9C 00310DFC 4E 80 00 20 */ blr + +.global __ml__FRCfRC9CVector2f +__ml__FRCfRC9CVector2f: +/* 80313EA0 00310E00 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80313EA4 00310E04 7C 08 02 A6 */ mflr r0 +/* 80313EA8 00310E08 90 01 00 14 */ stw r0, 0x14(r1) +/* 80313EAC 00310E0C C0 44 00 00 */ lfs f2, 0(r4) +/* 80313EB0 00310E10 C0 25 00 00 */ lfs f1, 0(r5) +/* 80313EB4 00310E14 C0 05 00 04 */ lfs f0, 4(r5) +/* 80313EB8 00310E18 EC 22 00 72 */ fmuls f1, f2, f1 +/* 80313EBC 00310E1C EC 42 00 32 */ fmuls f2, f2, f0 +/* 80313EC0 00310E20 48 00 03 41 */ bl __ct__9CVector2fFff +/* 80313EC4 00310E24 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80313EC8 00310E28 7C 08 03 A6 */ mtlr r0 +/* 80313ECC 00310E2C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80313ED0 00310E30 4E 80 00 20 */ blr + +.global __ml__FRC9CVector2fRCf +__ml__FRC9CVector2fRCf: +/* 80313ED4 00310E34 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80313ED8 00310E38 7C 08 02 A6 */ mflr r0 +/* 80313EDC 00310E3C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80313EE0 00310E40 C0 45 00 00 */ lfs f2, 0(r5) +/* 80313EE4 00310E44 C0 24 00 00 */ lfs f1, 0(r4) +/* 80313EE8 00310E48 C0 04 00 04 */ lfs f0, 4(r4) +/* 80313EEC 00310E4C EC 22 00 72 */ fmuls f1, f2, f1 +/* 80313EF0 00310E50 EC 42 00 32 */ fmuls f2, f2, f0 +/* 80313EF4 00310E54 48 00 03 0D */ bl __ct__9CVector2fFff +/* 80313EF8 00310E58 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80313EFC 00310E5C 7C 08 03 A6 */ mtlr r0 +/* 80313F00 00310E60 38 21 00 10 */ addi r1, r1, 0x10 +/* 80313F04 00310E64 4E 80 00 20 */ blr + +.global __eq__FRC9CVector2fRC9CVector2f +__eq__FRC9CVector2fRC9CVector2f: +/* 80313F08 00310E68 C0 23 00 00 */ lfs f1, 0(r3) +/* 80313F0C 00310E6C 38 00 00 00 */ li r0, 0 +/* 80313F10 00310E70 C0 04 00 00 */ lfs f0, 0(r4) +/* 80313F14 00310E74 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80313F18 00310E78 40 82 00 18 */ bne lbl_80313F30 +/* 80313F1C 00310E7C C0 23 00 04 */ lfs f1, 4(r3) +/* 80313F20 00310E80 C0 04 00 04 */ lfs f0, 4(r4) +/* 80313F24 00310E84 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80313F28 00310E88 40 82 00 08 */ bne lbl_80313F30 +/* 80313F2C 00310E8C 38 00 00 01 */ li r0, 1 +lbl_80313F30: +/* 80313F30 00310E90 7C 03 03 78 */ mr r3, r0 +/* 80313F34 00310E94 4E 80 00 20 */ blr + +.global __mi__FRC9CVector2fRC9CVector2f +__mi__FRC9CVector2fRC9CVector2f: +/* 80313F38 00310E98 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80313F3C 00310E9C 7C 08 02 A6 */ mflr r0 +/* 80313F40 00310EA0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80313F44 00310EA4 C0 64 00 00 */ lfs f3, 0(r4) +/* 80313F48 00310EA8 C0 25 00 00 */ lfs f1, 0(r5) +/* 80313F4C 00310EAC C0 44 00 04 */ lfs f2, 4(r4) +/* 80313F50 00310EB0 C0 05 00 04 */ lfs f0, 4(r5) +/* 80313F54 00310EB4 EC 23 08 28 */ fsubs f1, f3, f1 +/* 80313F58 00310EB8 EC 42 00 28 */ fsubs f2, f2, f0 +/* 80313F5C 00310EBC 48 00 02 A5 */ bl __ct__9CVector2fFff +/* 80313F60 00310EC0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80313F64 00310EC4 7C 08 03 A6 */ mtlr r0 +/* 80313F68 00310EC8 38 21 00 10 */ addi r1, r1, 0x10 +/* 80313F6C 00310ECC 4E 80 00 20 */ blr + +.global __pl__FRC9CVector2fRC9CVector2f +__pl__FRC9CVector2fRC9CVector2f: +/* 80313F70 00310ED0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80313F74 00310ED4 7C 08 02 A6 */ mflr r0 +/* 80313F78 00310ED8 90 01 00 14 */ stw r0, 0x14(r1) +/* 80313F7C 00310EDC C0 64 00 00 */ lfs f3, 0(r4) +/* 80313F80 00310EE0 C0 25 00 00 */ lfs f1, 0(r5) +/* 80313F84 00310EE4 C0 44 00 04 */ lfs f2, 4(r4) +/* 80313F88 00310EE8 C0 05 00 04 */ lfs f0, 4(r5) +/* 80313F8C 00310EEC EC 23 08 2A */ fadds f1, f3, f1 +/* 80313F90 00310EF0 EC 42 00 2A */ fadds f2, f2, f0 +/* 80313F94 00310EF4 48 00 02 6D */ bl __ct__9CVector2fFff +/* 80313F98 00310EF8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80313F9C 00310EFC 7C 08 03 A6 */ mtlr r0 +/* 80313FA0 00310F00 38 21 00 10 */ addi r1, r1, 0x10 +/* 80313FA4 00310F04 4E 80 00 20 */ blr + +.global Dot__9CVector2fFRC9CVector2fRC9CVector2f +Dot__9CVector2fFRC9CVector2fRC9CVector2f: +/* 80313FA8 00310F08 C0 23 00 04 */ lfs f1, 4(r3) +/* 80313FAC 00310F0C C0 04 00 04 */ lfs f0, 4(r4) +/* 80313FB0 00310F10 C0 43 00 00 */ lfs f2, 0(r3) +/* 80313FB4 00310F14 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80313FB8 00310F18 C0 24 00 00 */ lfs f1, 0(r4) +/* 80313FBC 00310F1C EC 22 00 7A */ fmadds f1, f2, f1, f0 +/* 80313FC0 00310F20 4E 80 00 20 */ blr + +.global GetAngleDiff__9CVector2fFRC9CVector2fRC9CVector2f +GetAngleDiff__9CVector2fFRC9CVector2fRC9CVector2f: +/* 80313FC4 00310F24 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80313FC8 00310F28 7C 08 02 A6 */ mflr r0 +/* 80313FCC 00310F2C 90 01 00 34 */ stw r0, 0x34(r1) +/* 80313FD0 00310F30 DB E1 00 20 */ stfd f31, 0x20(r1) +/* 80313FD4 00310F34 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 80313FD8 00310F38 DB C1 00 10 */ stfd f30, 0x10(r1) +/* 80313FDC 00310F3C F3 C1 00 18 */ psq_st f30, 24(r1), 0, qr0 +/* 80313FE0 00310F40 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80313FE4 00310F44 93 C1 00 08 */ stw r30, 8(r1) +/* 80313FE8 00310F48 7C 7E 1B 78 */ mr r30, r3 +/* 80313FEC 00310F4C 7C 9F 23 78 */ mr r31, r4 +/* 80313FF0 00310F50 48 00 01 05 */ bl Magnitude__9CVector2fCFv +/* 80313FF4 00310F54 FF C0 08 90 */ fmr f30, f1 +/* 80313FF8 00310F58 7F E3 FB 78 */ mr r3, r31 +/* 80313FFC 00310F5C 48 00 00 F9 */ bl Magnitude__9CVector2fCFv +/* 80314000 00310F60 C0 02 C9 00 */ lfs f0, lbl_805AE620@sda21(r2) +/* 80314004 00310F64 FF E0 08 90 */ fmr f31, f1 +/* 80314008 00310F68 C0 22 C8 FC */ lfs f1, lbl_805AE61C@sda21(r2) +/* 8031400C 00310F6C FC 1E 00 40 */ fcmpo cr0, f30, f0 +/* 80314010 00310F70 40 81 00 48 */ ble lbl_80314058 +/* 80314014 00310F74 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 80314018 00310F78 40 81 00 40 */ ble lbl_80314058 +/* 8031401C 00310F7C 7F C3 F3 78 */ mr r3, r30 +/* 80314020 00310F80 7F E4 FB 78 */ mr r4, r31 +/* 80314024 00310F84 4B FF FF 85 */ bl Dot__9CVector2fFRC9CVector2fRC9CVector2f +/* 80314028 00310F88 EC 5E 07 F2 */ fmuls f2, f30, f31 +/* 8031402C 00310F8C C0 02 C9 04 */ lfs f0, lbl_805AE624@sda21(r2) +/* 80314030 00310F90 EC 21 10 24 */ fdivs f1, f1, f2 +/* 80314034 00310F94 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80314038 00310F98 40 80 00 0C */ bge lbl_80314044 +/* 8031403C 00310F9C FC 20 00 90 */ fmr f1, f0 +/* 80314040 00310FA0 48 00 00 14 */ b lbl_80314054 +lbl_80314044: +/* 80314044 00310FA4 C0 02 C8 F8 */ lfs f0, lbl_805AE618@sda21(r2) +/* 80314048 00310FA8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8031404C 00310FAC 40 81 00 08 */ ble lbl_80314054 +/* 80314050 00310FB0 FC 20 00 90 */ fmr f1, f0 +lbl_80314054: +/* 80314054 00310FB4 48 00 13 3D */ bl ArcCosineR__5CMathFf +lbl_80314058: +/* 80314058 00310FB8 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 8031405C 00310FBC CB E1 00 20 */ lfd f31, 0x20(r1) +/* 80314060 00310FC0 E3 C1 00 18 */ psq_l f30, 24(r1), 0, qr0 +/* 80314064 00310FC4 CB C1 00 10 */ lfd f30, 0x10(r1) +/* 80314068 00310FC8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8031406C 00310FCC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80314070 00310FD0 83 C1 00 08 */ lwz r30, 8(r1) +/* 80314074 00310FD4 7C 08 03 A6 */ mtlr r0 +/* 80314078 00310FD8 38 21 00 30 */ addi r1, r1, 0x30 +/* 8031407C 00310FDC 4E 80 00 20 */ blr + +.global AsNormalized__9CVector2fCFv +AsNormalized__9CVector2fCFv: +/* 80314080 00310FE0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80314084 00310FE4 7C 08 02 A6 */ mflr r0 +/* 80314088 00310FE8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8031408C 00310FEC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80314090 00310FF0 7C 9F 23 78 */ mr r31, r4 +/* 80314094 00310FF4 93 C1 00 08 */ stw r30, 8(r1) +/* 80314098 00310FF8 7C 7E 1B 78 */ mr r30, r3 +/* 8031409C 00310FFC 7F E3 FB 78 */ mr r3, r31 +/* 803140A0 00311000 48 00 00 55 */ bl Magnitude__9CVector2fCFv +/* 803140A4 00311004 C0 02 C8 F8 */ lfs f0, lbl_805AE618@sda21(r2) +/* 803140A8 00311008 7F C3 F3 78 */ mr r3, r30 +/* 803140AC 0031100C C0 5F 00 00 */ lfs f2, 0(r31) +/* 803140B0 00311010 EC 60 08 24 */ fdivs f3, f0, f1 +/* 803140B4 00311014 C0 1F 00 04 */ lfs f0, 4(r31) +/* 803140B8 00311018 EC 22 00 F2 */ fmuls f1, f2, f3 +/* 803140BC 0031101C EC 40 00 F2 */ fmuls f2, f0, f3 +/* 803140C0 00311020 48 00 01 41 */ bl __ct__9CVector2fFff +/* 803140C4 00311024 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803140C8 00311028 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803140CC 0031102C 83 C1 00 08 */ lwz r30, 8(r1) +/* 803140D0 00311030 7C 08 03 A6 */ mtlr r0 +/* 803140D4 00311034 38 21 00 10 */ addi r1, r1, 0x10 +/* 803140D8 00311038 4E 80 00 20 */ blr + +.global MagSquared__9CVector2fCFv +MagSquared__9CVector2fCFv: +/* 803140DC 0031103C C0 03 00 00 */ lfs f0, 0(r3) +/* 803140E0 00311040 C0 43 00 04 */ lfs f2, 4(r3) +/* 803140E4 00311044 EC 20 00 32 */ fmuls f1, f0, f0 +/* 803140E8 00311048 EC 02 00 B2 */ fmuls f0, f2, f2 +/* 803140EC 0031104C EC 21 00 2A */ fadds f1, f1, f0 +/* 803140F0 00311050 4E 80 00 20 */ blr + +.global Magnitude__9CVector2fCFv +Magnitude__9CVector2fCFv: +/* 803140F4 00311054 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803140F8 00311058 7C 08 02 A6 */ mflr r0 +/* 803140FC 0031105C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80314100 00311060 C0 03 00 00 */ lfs f0, 0(r3) +/* 80314104 00311064 C0 43 00 04 */ lfs f2, 4(r3) +/* 80314108 00311068 EC 20 00 32 */ fmuls f1, f0, f0 +/* 8031410C 0031106C EC 02 00 B2 */ fmuls f0, f2, f2 +/* 80314110 00311070 EC 21 00 2A */ fadds f1, f1, f0 +/* 80314114 00311074 48 00 13 ED */ bl SqrtF__5CMathFf +/* 80314118 00311078 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8031411C 0031107C 7C 08 03 A6 */ mtlr r0 +/* 80314120 00311080 38 21 00 10 */ addi r1, r1, 0x10 +/* 80314124 00311084 4E 80 00 20 */ blr + +.global sub_80314128 +sub_80314128: +/* 80314128 00311088 C0 42 C8 F8 */ lfs f2, lbl_805AE618@sda21(r2) +/* 8031412C 0031108C C0 03 00 00 */ lfs f0, 0(r3) +/* 80314130 00311090 EC 22 08 24 */ fdivs f1, f2, f1 +/* 80314134 00311094 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80314138 00311098 D0 03 00 00 */ stfs f0, 0(r3) +/* 8031413C 0031109C C0 03 00 04 */ lfs f0, 4(r3) +/* 80314140 003110A0 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80314144 003110A4 D0 03 00 04 */ stfs f0, 4(r3) +/* 80314148 003110A8 4E 80 00 20 */ blr + +.global __amu__9CVector2fFf +__amu__9CVector2fFf: +/* 8031414C 003110AC C0 03 00 00 */ lfs f0, 0(r3) +/* 80314150 003110B0 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80314154 003110B4 D0 03 00 00 */ stfs f0, 0(r3) +/* 80314158 003110B8 C0 03 00 04 */ lfs f0, 4(r3) +/* 8031415C 003110BC EC 00 00 72 */ fmuls f0, f0, f1 +/* 80314160 003110C0 D0 03 00 04 */ stfs f0, 4(r3) +/* 80314164 003110C4 4E 80 00 20 */ blr + +.global sub_80314168 +sub_80314168: +/* 80314168 003110C8 C0 23 00 00 */ lfs f1, 0(r3) +/* 8031416C 003110CC C0 04 00 00 */ lfs f0, 0(r4) +/* 80314170 003110D0 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80314174 003110D4 D0 03 00 00 */ stfs f0, 0(r3) +/* 80314178 003110D8 C0 23 00 04 */ lfs f1, 4(r3) +/* 8031417C 003110DC C0 04 00 04 */ lfs f0, 4(r4) +/* 80314180 003110E0 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80314184 003110E4 D0 03 00 04 */ stfs f0, 4(r3) +/* 80314188 003110E8 4E 80 00 20 */ blr + +.global __apl__9CVector2fFRC9CVector2f +__apl__9CVector2fFRC9CVector2f: +/* 8031418C 003110EC C0 23 00 00 */ lfs f1, 0(r3) +/* 80314190 003110F0 C0 04 00 00 */ lfs f0, 0(r4) +/* 80314194 003110F4 EC 01 00 2A */ fadds f0, f1, f0 +/* 80314198 003110F8 D0 03 00 00 */ stfs f0, 0(r3) +/* 8031419C 003110FC C0 23 00 04 */ lfs f1, 4(r3) +/* 803141A0 00311100 C0 04 00 04 */ lfs f0, 4(r4) +/* 803141A4 00311104 EC 01 00 2A */ fadds f0, f1, f0 +/* 803141A8 00311108 D0 03 00 04 */ stfs f0, 4(r3) +/* 803141AC 0031110C 4E 80 00 20 */ blr + +.global Normalize__9CVector2fFv +Normalize__9CVector2fFv: +/* 803141B0 00311110 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803141B4 00311114 7C 08 02 A6 */ mflr r0 +/* 803141B8 00311118 90 01 00 14 */ stw r0, 0x14(r1) +/* 803141BC 0031111C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803141C0 00311120 7C 7F 1B 78 */ mr r31, r3 +/* 803141C4 00311124 4B FF FF 31 */ bl Magnitude__9CVector2fCFv +/* 803141C8 00311128 C0 42 C8 F8 */ lfs f2, lbl_805AE618@sda21(r2) +/* 803141CC 0031112C 7F E3 FB 78 */ mr r3, r31 +/* 803141D0 00311130 C0 1F 00 00 */ lfs f0, 0(r31) +/* 803141D4 00311134 EC 22 08 24 */ fdivs f1, f2, f1 +/* 803141D8 00311138 EC 00 00 72 */ fmuls f0, f0, f1 +/* 803141DC 0031113C D0 1F 00 00 */ stfs f0, 0(r31) +/* 803141E0 00311140 C0 1F 00 04 */ lfs f0, 4(r31) +/* 803141E4 00311144 EC 00 00 72 */ fmuls f0, f0, f1 +/* 803141E8 00311148 D0 1F 00 04 */ stfs f0, 4(r31) +/* 803141EC 0031114C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803141F0 00311150 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803141F4 00311154 7C 08 03 A6 */ mtlr r0 +/* 803141F8 00311158 38 21 00 10 */ addi r1, r1, 0x10 +/* 803141FC 0031115C 4E 80 00 20 */ blr + +.global __ct__9CVector2fFff +__ct__9CVector2fFff: +/* 80314200 00311160 D0 23 00 00 */ stfs f1, 0(r3) +/* 80314204 00311164 D0 43 00 04 */ stfs f2, 4(r3) +/* 80314208 00311168 4E 80 00 20 */ blr + +.global __sinit_CVector2f_cpp +__sinit_CVector2f_cpp: +/* 8031420C 0031116C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80314210 00311170 7C 08 02 A6 */ mflr r0 +/* 80314214 00311174 C0 22 C8 FC */ lfs f1, lbl_805AE61C@sda21(r2) +/* 80314218 00311178 90 01 00 14 */ stw r0, 0x14(r1) +/* 8031421C 0031117C 38 61 00 08 */ addi r3, r1, 8 +/* 80314220 00311180 FC 40 08 90 */ fmr f2, f1 +/* 80314224 00311184 4B FF FF DD */ bl __ct__9CVector2fFff +/* 80314228 00311188 C0 21 00 08 */ lfs f1, 8(r1) +/* 8031422C 0031118C 38 6D A8 98 */ addi r3, r13, lbl_805A9458@sda21 +/* 80314230 00311190 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 80314234 00311194 D0 2D A8 98 */ stfs f1, lbl_805A9458@sda21(r13) +/* 80314238 00311198 D0 03 00 04 */ stfs f0, 4(r3) +/* 8031423C 0031119C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80314240 003111A0 7C 08 03 A6 */ mtlr r0 +/* 80314244 003111A4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80314248 003111A8 4E 80 00 20 */ blr diff --git a/asm/Kyoto/Math/CVector2i.s b/asm/Kyoto/Math/CVector2i.s new file mode 100644 index 00000000..1f4646d4 --- /dev/null +++ b/asm/Kyoto/Math/CVector2i.s @@ -0,0 +1,89 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __dv__FRC9CVector2ii +__dv__FRC9CVector2ii: +/* 8031424C 003111AC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80314250 003111B0 7C 08 02 A6 */ mflr r0 +/* 80314254 003111B4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80314258 003111B8 80 C4 00 00 */ lwz r6, 0(r4) +/* 8031425C 003111BC 80 04 00 04 */ lwz r0, 4(r4) +/* 80314260 003111C0 7C 86 2B D6 */ divw r4, r6, r5 +/* 80314264 003111C4 7C A0 2B D6 */ divw r5, r0, r5 +/* 80314268 003111C8 48 00 00 E5 */ bl __ct__9CVector2iFii +/* 8031426C 003111CC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80314270 003111D0 7C 08 03 A6 */ mtlr r0 +/* 80314274 003111D4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80314278 003111D8 4E 80 00 20 */ blr + +.global __ml__FRC9CVector2ii +__ml__FRC9CVector2ii: +/* 8031427C 003111DC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80314280 003111E0 7C 08 02 A6 */ mflr r0 +/* 80314284 003111E4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80314288 003111E8 80 C4 00 00 */ lwz r6, 0(r4) +/* 8031428C 003111EC 80 04 00 04 */ lwz r0, 4(r4) +/* 80314290 003111F0 7C 85 31 D6 */ mullw r4, r5, r6 +/* 80314294 003111F4 7C A5 01 D6 */ mullw r5, r5, r0 +/* 80314298 003111F8 48 00 00 B5 */ bl __ct__9CVector2iFii +/* 8031429C 003111FC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803142A0 00311200 7C 08 03 A6 */ mtlr r0 +/* 803142A4 00311204 38 21 00 10 */ addi r1, r1, 0x10 +/* 803142A8 00311208 4E 80 00 20 */ blr + +.global __eq__FRC9CVector2iRC9CVector2i +__eq__FRC9CVector2iRC9CVector2i: +/* 803142AC 0031120C 80 A3 00 00 */ lwz r5, 0(r3) +/* 803142B0 00311210 38 C0 00 00 */ li r6, 0 +/* 803142B4 00311214 80 04 00 00 */ lwz r0, 0(r4) +/* 803142B8 00311218 7C 05 00 00 */ cmpw r5, r0 +/* 803142BC 0031121C 40 82 00 18 */ bne lbl_803142D4 +/* 803142C0 00311220 80 63 00 04 */ lwz r3, 4(r3) +/* 803142C4 00311224 80 04 00 04 */ lwz r0, 4(r4) +/* 803142C8 00311228 7C 03 00 00 */ cmpw r3, r0 +/* 803142CC 0031122C 40 82 00 08 */ bne lbl_803142D4 +/* 803142D0 00311230 38 C0 00 01 */ li r6, 1 +lbl_803142D4: +/* 803142D4 00311234 7C C3 33 78 */ mr r3, r6 +/* 803142D8 00311238 4E 80 00 20 */ blr + +.global __mi__FRC9CVector2iRC9CVector2i +__mi__FRC9CVector2iRC9CVector2i: +/* 803142DC 0031123C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803142E0 00311240 7C 08 02 A6 */ mflr r0 +/* 803142E4 00311244 90 01 00 14 */ stw r0, 0x14(r1) +/* 803142E8 00311248 80 E5 00 00 */ lwz r7, 0(r5) +/* 803142EC 0031124C 80 C4 00 00 */ lwz r6, 0(r4) +/* 803142F0 00311250 80 04 00 04 */ lwz r0, 4(r4) +/* 803142F4 00311254 80 A5 00 04 */ lwz r5, 4(r5) +/* 803142F8 00311258 7C 87 30 50 */ subf r4, r7, r6 +/* 803142FC 0031125C 7C A5 00 50 */ subf r5, r5, r0 +/* 80314300 00311260 48 00 00 4D */ bl __ct__9CVector2iFii +/* 80314304 00311264 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80314308 00311268 7C 08 03 A6 */ mtlr r0 +/* 8031430C 0031126C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80314310 00311270 4E 80 00 20 */ blr + +.global __pl__FRC9CVector2iRC9CVector2i +__pl__FRC9CVector2iRC9CVector2i: +/* 80314314 00311274 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80314318 00311278 7C 08 02 A6 */ mflr r0 +/* 8031431C 0031127C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80314320 00311280 80 E5 00 00 */ lwz r7, 0(r5) +/* 80314324 00311284 81 04 00 00 */ lwz r8, 0(r4) +/* 80314328 00311288 80 C4 00 04 */ lwz r6, 4(r4) +/* 8031432C 0031128C 80 05 00 04 */ lwz r0, 4(r5) +/* 80314330 00311290 7C 88 3A 14 */ add r4, r8, r7 +/* 80314334 00311294 7C A6 02 14 */ add r5, r6, r0 +/* 80314338 00311298 48 00 00 15 */ bl __ct__9CVector2iFii +/* 8031433C 0031129C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80314340 003112A0 7C 08 03 A6 */ mtlr r0 +/* 80314344 003112A4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80314348 003112A8 4E 80 00 20 */ blr + +.global __ct__9CVector2iFii +__ct__9CVector2iFii: +/* 8031434C 003112AC 90 83 00 00 */ stw r4, 0(r3) +/* 80314350 003112B0 90 A3 00 04 */ stw r5, 4(r3) +/* 80314354 003112B4 4E 80 00 20 */ blr diff --git a/asm/Kyoto/Math/CVector3d.s b/asm/Kyoto/Math/CVector3d.s new file mode 100644 index 00000000..717238aa --- /dev/null +++ b/asm/Kyoto/Math/CVector3d.s @@ -0,0 +1,186 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __ml__FdRC9CVector3d +__ml__FdRC9CVector3d: +/* 80314358 003112B8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8031435C 003112BC 7C 08 02 A6 */ mflr r0 +/* 80314360 003112C0 FC 60 08 90 */ fmr f3, f1 +/* 80314364 003112C4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80314368 003112C8 C8 24 00 00 */ lfd f1, 0(r4) +/* 8031436C 003112CC C8 44 00 08 */ lfd f2, 8(r4) +/* 80314370 003112D0 C8 04 00 10 */ lfd f0, 0x10(r4) +/* 80314374 003112D4 FC 23 00 72 */ fmul f1, f3, f1 +/* 80314378 003112D8 FC 43 00 B2 */ fmul f2, f3, f2 +/* 8031437C 003112DC FC 63 00 32 */ fmul f3, f3, f0 +/* 80314380 003112E0 48 00 02 21 */ bl __ct__9CVector3dFddd +/* 80314384 003112E4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80314388 003112E8 7C 08 03 A6 */ mtlr r0 +/* 8031438C 003112EC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80314390 003112F0 4E 80 00 20 */ blr + +.global __mi__FRC9CVector3dRC9CVector3d +__mi__FRC9CVector3dRC9CVector3d: +/* 80314394 003112F4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80314398 003112F8 7C 08 02 A6 */ mflr r0 +/* 8031439C 003112FC 90 01 00 14 */ stw r0, 0x14(r1) +/* 803143A0 00311300 C8 24 00 00 */ lfd f1, 0(r4) +/* 803143A4 00311304 C8 05 00 00 */ lfd f0, 0(r5) +/* 803143A8 00311308 C8 84 00 08 */ lfd f4, 8(r4) +/* 803143AC 0031130C C8 45 00 08 */ lfd f2, 8(r5) +/* 803143B0 00311310 FC 21 00 28 */ fsub f1, f1, f0 +/* 803143B4 00311314 C8 64 00 10 */ lfd f3, 0x10(r4) +/* 803143B8 00311318 C8 05 00 10 */ lfd f0, 0x10(r5) +/* 803143BC 0031131C FC 44 10 28 */ fsub f2, f4, f2 +/* 803143C0 00311320 FC 63 00 28 */ fsub f3, f3, f0 +/* 803143C4 00311324 48 00 01 DD */ bl __ct__9CVector3dFddd +/* 803143C8 00311328 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803143CC 0031132C 7C 08 03 A6 */ mtlr r0 +/* 803143D0 00311330 38 21 00 10 */ addi r1, r1, 0x10 +/* 803143D4 00311334 4E 80 00 20 */ blr + +.global __pl__FRC9CVector3dRC9CVector3d +__pl__FRC9CVector3dRC9CVector3d: +/* 803143D8 00311338 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803143DC 0031133C 7C 08 02 A6 */ mflr r0 +/* 803143E0 00311340 90 01 00 14 */ stw r0, 0x14(r1) +/* 803143E4 00311344 C8 24 00 00 */ lfd f1, 0(r4) +/* 803143E8 00311348 C8 05 00 00 */ lfd f0, 0(r5) +/* 803143EC 0031134C C8 84 00 08 */ lfd f4, 8(r4) +/* 803143F0 00311350 C8 45 00 08 */ lfd f2, 8(r5) +/* 803143F4 00311354 FC 21 00 2A */ fadd f1, f1, f0 +/* 803143F8 00311358 C8 64 00 10 */ lfd f3, 0x10(r4) +/* 803143FC 0031135C C8 05 00 10 */ lfd f0, 0x10(r5) +/* 80314400 00311360 FC 44 10 2A */ fadd f2, f4, f2 +/* 80314404 00311364 FC 63 00 2A */ fadd f3, f3, f0 +/* 80314408 00311368 48 00 01 99 */ bl __ct__9CVector3dFddd +/* 8031440C 0031136C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80314410 00311370 7C 08 03 A6 */ mtlr r0 +/* 80314414 00311374 38 21 00 10 */ addi r1, r1, 0x10 +/* 80314418 00311378 4E 80 00 20 */ blr + +.global Cross__9CVector3dFRC9CVector3dRC9CVector3d +Cross__9CVector3dFRC9CVector3dRC9CVector3d: +/* 8031441C 0031137C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80314420 00311380 7C 08 02 A6 */ mflr r0 +/* 80314424 00311384 90 01 00 14 */ stw r0, 0x14(r1) +/* 80314428 00311388 C8 84 00 00 */ lfd f4, 0(r4) +/* 8031442C 0031138C C9 05 00 10 */ lfd f8, 0x10(r5) +/* 80314430 00311390 C8 A4 00 08 */ lfd f5, 8(r4) +/* 80314434 00311394 C8 C5 00 00 */ lfd f6, 0(r5) +/* 80314438 00311398 FC 28 01 32 */ fmul f1, f8, f4 +/* 8031443C 0031139C C8 44 00 10 */ lfd f2, 0x10(r4) +/* 80314440 003113A0 C8 E5 00 08 */ lfd f7, 8(r5) +/* 80314444 003113A4 FC 06 01 72 */ fmul f0, f6, f5 +/* 80314448 003113A8 FC 67 00 B2 */ fmul f3, f7, f2 +/* 8031444C 003113AC FC 42 09 B8 */ fmsub f2, f2, f6, f1 +/* 80314450 003113B0 FC 25 1A 38 */ fmsub f1, f5, f8, f3 +/* 80314454 003113B4 FC 64 01 F8 */ fmsub f3, f4, f7, f0 +/* 80314458 003113B8 48 00 01 49 */ bl __ct__9CVector3dFddd +/* 8031445C 003113BC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80314460 003113C0 7C 08 03 A6 */ mtlr r0 +/* 80314464 003113C4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80314468 003113C8 4E 80 00 20 */ blr + +.global Dot__9CVector3dFRC9CVector3dRC9CVector3d +Dot__9CVector3dFRC9CVector3dRC9CVector3d: +/* 8031446C 003113CC C8 23 00 00 */ lfd f1, 0(r3) +/* 80314470 003113D0 C8 04 00 00 */ lfd f0, 0(r4) +/* 80314474 003113D4 C8 83 00 08 */ lfd f4, 8(r3) +/* 80314478 003113D8 FC 21 00 32 */ fmul f1, f1, f0 +/* 8031447C 003113DC C8 64 00 08 */ lfd f3, 8(r4) +/* 80314480 003113E0 C8 43 00 10 */ lfd f2, 0x10(r3) +/* 80314484 003113E4 C8 04 00 10 */ lfd f0, 0x10(r4) +/* 80314488 003113E8 FC 24 08 FA */ fmadd f1, f4, f3, f1 +/* 8031448C 003113EC FC 22 08 3A */ fmadd f1, f2, f0, f1 +/* 80314490 003113F0 4E 80 00 20 */ blr + +.global AsCVector3f__9CVector3dCFv +AsCVector3f__9CVector3dCFv: +/* 80314494 003113F4 C8 04 00 00 */ lfd f0, 0(r4) +/* 80314498 003113F8 C8 44 00 08 */ lfd f2, 8(r4) +/* 8031449C 003113FC FC 00 00 18 */ frsp f0, f0 +/* 803144A0 00311400 C8 24 00 10 */ lfd f1, 0x10(r4) +/* 803144A4 00311404 FC 40 10 18 */ frsp f2, f2 +/* 803144A8 00311408 FC 20 08 18 */ frsp f1, f1 +/* 803144AC 0031140C D0 03 00 00 */ stfs f0, 0(r3) +/* 803144B0 00311410 D0 43 00 04 */ stfs f2, 4(r3) +/* 803144B4 00311414 D0 23 00 08 */ stfs f1, 8(r3) +/* 803144B8 00311418 4E 80 00 20 */ blr + +.global AsNormalized__9CVector3dCFv +AsNormalized__9CVector3dCFv: +/* 803144BC 0031141C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803144C0 00311420 7C 08 02 A6 */ mflr r0 +/* 803144C4 00311424 90 01 00 14 */ stw r0, 0x14(r1) +/* 803144C8 00311428 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803144CC 0031142C 7C 9F 23 78 */ mr r31, r4 +/* 803144D0 00311430 93 C1 00 08 */ stw r30, 8(r1) +/* 803144D4 00311434 7C 7E 1B 78 */ mr r30, r3 +/* 803144D8 00311438 7F E3 FB 78 */ mr r3, r31 +/* 803144DC 0031143C 48 00 00 69 */ bl Magnitude__9CVector3dCFv +/* 803144E0 00311440 C8 02 C9 08 */ lfd f0, lbl_805AE628@sda21(r2) +/* 803144E4 00311444 7F C3 F3 78 */ mr r3, r30 +/* 803144E8 00311448 C8 7F 00 00 */ lfd f3, 0(r31) +/* 803144EC 0031144C FC 80 08 24 */ fdiv f4, f0, f1 +/* 803144F0 00311450 C8 5F 00 08 */ lfd f2, 8(r31) +/* 803144F4 00311454 C8 1F 00 10 */ lfd f0, 0x10(r31) +/* 803144F8 00311458 FC 23 01 32 */ fmul f1, f3, f4 +/* 803144FC 0031145C FC 42 01 32 */ fmul f2, f2, f4 +/* 80314500 00311460 FC 60 01 32 */ fmul f3, f0, f4 +/* 80314504 00311464 48 00 00 9D */ bl __ct__9CVector3dFddd +/* 80314508 00311468 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8031450C 0031146C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80314510 00311470 83 C1 00 08 */ lwz r30, 8(r1) +/* 80314514 00311474 7C 08 03 A6 */ mtlr r0 +/* 80314518 00311478 38 21 00 10 */ addi r1, r1, 0x10 +/* 8031451C 0031147C 4E 80 00 20 */ blr + +.global MagSquared__9CVector3dCFv +MagSquared__9CVector3dCFv: +/* 80314520 00311480 C8 03 00 00 */ lfd f0, 0(r3) +/* 80314524 00311484 C8 43 00 08 */ lfd f2, 8(r3) +/* 80314528 00311488 FC 20 00 32 */ fmul f1, f0, f0 +/* 8031452C 0031148C C8 03 00 10 */ lfd f0, 0x10(r3) +/* 80314530 00311490 FC 42 00 B2 */ fmul f2, f2, f2 +/* 80314534 00311494 FC 00 00 32 */ fmul f0, f0, f0 +/* 80314538 00311498 FC 21 10 2A */ fadd f1, f1, f2 +/* 8031453C 0031149C FC 21 00 2A */ fadd f1, f1, f0 +/* 80314540 003114A0 4E 80 00 20 */ blr + +.global Magnitude__9CVector3dCFv +Magnitude__9CVector3dCFv: +/* 80314544 003114A4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80314548 003114A8 7C 08 02 A6 */ mflr r0 +/* 8031454C 003114AC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80314550 003114B0 C8 03 00 00 */ lfd f0, 0(r3) +/* 80314554 003114B4 C8 43 00 08 */ lfd f2, 8(r3) +/* 80314558 003114B8 FC 20 00 32 */ fmul f1, f0, f0 +/* 8031455C 003114BC C8 03 00 10 */ lfd f0, 0x10(r3) +/* 80314560 003114C0 FC 42 00 B2 */ fmul f2, f2, f2 +/* 80314564 003114C4 FC 00 00 32 */ fmul f0, f0, f0 +/* 80314568 003114C8 FC 21 10 2A */ fadd f1, f1, f2 +/* 8031456C 003114CC FC 21 00 2A */ fadd f1, f1, f0 +/* 80314570 003114D0 48 00 0F 01 */ bl SqrtD__5CMathFd +/* 80314574 003114D4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80314578 003114D8 7C 08 03 A6 */ mtlr r0 +/* 8031457C 003114DC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80314580 003114E0 4E 80 00 20 */ blr + +.global __ct__9CVector3dFRC9CVector3f +__ct__9CVector3dFRC9CVector3f: +/* 80314584 003114E4 C0 04 00 00 */ lfs f0, 0(r4) +/* 80314588 003114E8 D8 03 00 00 */ stfd f0, 0(r3) +/* 8031458C 003114EC C0 04 00 04 */ lfs f0, 4(r4) +/* 80314590 003114F0 D8 03 00 08 */ stfd f0, 8(r3) +/* 80314594 003114F4 C0 04 00 08 */ lfs f0, 8(r4) +/* 80314598 003114F8 D8 03 00 10 */ stfd f0, 0x10(r3) +/* 8031459C 003114FC 4E 80 00 20 */ blr + +.global __ct__9CVector3dFddd +__ct__9CVector3dFddd: +/* 803145A0 00311500 D8 23 00 00 */ stfd f1, 0(r3) +/* 803145A4 00311504 D8 43 00 08 */ stfd f2, 8(r3) +/* 803145A8 00311508 D8 63 00 10 */ stfd f3, 0x10(r3) +/* 803145AC 0031150C 4E 80 00 20 */ blr diff --git a/asm/Kyoto/Math/CVector3f.s b/asm/Kyoto/Math/CVector3f.s new file mode 100644 index 00000000..acc034a1 --- /dev/null +++ b/asm/Kyoto/Math/CVector3f.s @@ -0,0 +1,479 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global IsEqu__9CVector3fCFRC9CVector3ff +IsEqu__9CVector3fCFRC9CVector3ff: +/* 803145B0 00311510 C0 43 00 00 */ lfs f2, 0(r3) +/* 803145B4 00311514 38 A0 00 00 */ li r5, 0 +/* 803145B8 00311518 C0 04 00 00 */ lfs f0, 0(r4) +/* 803145BC 0031151C 7C A0 2B 78 */ mr r0, r5 +/* 803145C0 00311520 EC 02 00 28 */ fsubs f0, f2, f0 +/* 803145C4 00311524 FC 00 02 10 */ fabs f0, f0 +/* 803145C8 00311528 FC 00 00 18 */ frsp f0, f0 +/* 803145CC 0031152C FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 803145D0 00311530 4C 40 13 82 */ cror 2, 0, 2 +/* 803145D4 00311534 40 82 00 28 */ bne lbl_803145FC +/* 803145D8 00311538 C0 43 00 04 */ lfs f2, 4(r3) +/* 803145DC 0031153C C0 04 00 04 */ lfs f0, 4(r4) +/* 803145E0 00311540 EC 02 00 28 */ fsubs f0, f2, f0 +/* 803145E4 00311544 FC 00 02 10 */ fabs f0, f0 +/* 803145E8 00311548 FC 00 00 18 */ frsp f0, f0 +/* 803145EC 0031154C FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 803145F0 00311550 4C 40 13 82 */ cror 2, 0, 2 +/* 803145F4 00311554 40 82 00 08 */ bne lbl_803145FC +/* 803145F8 00311558 38 00 00 01 */ li r0, 1 +lbl_803145FC: +/* 803145FC 0031155C 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 80314600 00311560 41 82 00 28 */ beq lbl_80314628 +/* 80314604 00311564 C0 43 00 08 */ lfs f2, 8(r3) +/* 80314608 00311568 C0 04 00 08 */ lfs f0, 8(r4) +/* 8031460C 0031156C EC 02 00 28 */ fsubs f0, f2, f0 +/* 80314610 00311570 FC 00 02 10 */ fabs f0, f0 +/* 80314614 00311574 FC 00 00 18 */ frsp f0, f0 +/* 80314618 00311578 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 8031461C 0031157C 4C 40 13 82 */ cror 2, 0, 2 +/* 80314620 00311580 40 82 00 08 */ bne lbl_80314628 +/* 80314624 00311584 38 A0 00 01 */ li r5, 1 +lbl_80314628: +/* 80314628 00311588 7C A3 2B 78 */ mr r3, r5 +/* 8031462C 0031158C 4E 80 00 20 */ blr + +.global GetAngleDiff__9CVector3fFRC9CVector3fRC9CVector3f +GetAngleDiff__9CVector3fFRC9CVector3fRC9CVector3f: +/* 80314630 00311590 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80314634 00311594 7C 08 02 A6 */ mflr r0 +/* 80314638 00311598 90 01 00 24 */ stw r0, 0x24(r1) +/* 8031463C 0031159C DB E1 00 10 */ stfd f31, 0x10(r1) +/* 80314640 003115A0 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 +/* 80314644 003115A4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80314648 003115A8 93 C1 00 08 */ stw r30, 8(r1) +/* 8031464C 003115AC 7C 7E 1B 78 */ mr r30, r3 +/* 80314650 003115B0 7C 9F 23 78 */ mr r31, r4 +/* 80314654 003115B4 48 00 02 65 */ bl Magnitude__9CVector3fCFv +/* 80314658 003115B8 FF E0 08 90 */ fmr f31, f1 +/* 8031465C 003115BC 7F E3 FB 78 */ mr r3, r31 +/* 80314660 003115C0 48 00 02 59 */ bl Magnitude__9CVector3fCFv +/* 80314664 003115C4 C0 02 C9 14 */ lfs f0, lbl_805AE634@sda21(r2) +/* 80314668 003115C8 C0 42 C9 10 */ lfs f2, lbl_805AE630@sda21(r2) +/* 8031466C 003115CC FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 80314670 003115D0 40 81 00 64 */ ble lbl_803146D4 +/* 80314674 003115D4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80314678 003115D8 40 81 00 5C */ ble lbl_803146D4 +/* 8031467C 003115DC C0 5E 00 04 */ lfs f2, 4(r30) +/* 80314680 003115E0 EC 3F 00 72 */ fmuls f1, f31, f1 +/* 80314684 003115E4 C0 1F 00 04 */ lfs f0, 4(r31) +/* 80314688 003115E8 C0 7E 00 00 */ lfs f3, 0(r30) +/* 8031468C 003115EC EC 02 00 32 */ fmuls f0, f2, f0 +/* 80314690 003115F0 C0 5F 00 00 */ lfs f2, 0(r31) +/* 80314694 003115F4 C0 BE 00 08 */ lfs f5, 8(r30) +/* 80314698 003115F8 C0 9F 00 08 */ lfs f4, 8(r31) +/* 8031469C 003115FC EC 43 00 BA */ fmadds f2, f3, f2, f0 +/* 803146A0 00311600 C0 02 C9 18 */ lfs f0, lbl_805AE638@sda21(r2) +/* 803146A4 00311604 EC 45 11 3A */ fmadds f2, f5, f4, f2 +/* 803146A8 00311608 EC 22 08 24 */ fdivs f1, f2, f1 +/* 803146AC 0031160C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 803146B0 00311610 40 80 00 0C */ bge lbl_803146BC +/* 803146B4 00311614 FC 20 00 90 */ fmr f1, f0 +/* 803146B8 00311618 48 00 00 14 */ b lbl_803146CC +lbl_803146BC: +/* 803146BC 0031161C C0 02 C9 1C */ lfs f0, lbl_805AE63C@sda21(r2) +/* 803146C0 00311620 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 803146C4 00311624 40 81 00 08 */ ble lbl_803146CC +/* 803146C8 00311628 FC 20 00 90 */ fmr f1, f0 +lbl_803146CC: +/* 803146CC 0031162C 48 00 0C C5 */ bl ArcCosineR__5CMathFf +/* 803146D0 00311630 FC 40 08 90 */ fmr f2, f1 +lbl_803146D4: +/* 803146D4 00311634 FC 20 10 90 */ fmr f1, f2 +/* 803146D8 00311638 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 +/* 803146DC 0031163C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803146E0 00311640 CB E1 00 10 */ lfd f31, 0x10(r1) +/* 803146E4 00311644 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803146E8 00311648 83 C1 00 08 */ lwz r30, 8(r1) +/* 803146EC 0031164C 7C 08 03 A6 */ mtlr r0 +/* 803146F0 00311650 38 21 00 20 */ addi r1, r1, 0x20 +/* 803146F4 00311654 4E 80 00 20 */ blr + +.global CanBeNormalized__9CVector3fCFv +CanBeNormalized__9CVector3fCFv: +/* 803146F8 00311658 80 03 00 00 */ lwz r0, 0(r3) +/* 803146FC 0031165C 80 A3 00 04 */ lwz r5, 4(r3) +/* 80314700 00311660 54 04 00 50 */ rlwinm r4, r0, 0, 1, 8 +/* 80314704 00311664 80 C3 00 08 */ lwz r6, 8(r3) +/* 80314708 00311668 3C 04 80 80 */ addis r0, r4, 0x8080 +/* 8031470C 0031166C 28 00 00 00 */ cmplwi r0, 0 +/* 80314710 00311670 41 82 00 24 */ beq lbl_80314734 +/* 80314714 00311674 54 A4 00 50 */ rlwinm r4, r5, 0, 1, 8 +/* 80314718 00311678 3C 04 80 80 */ addis r0, r4, 0x8080 +/* 8031471C 0031167C 28 00 00 00 */ cmplwi r0, 0 +/* 80314720 00311680 41 82 00 14 */ beq lbl_80314734 +/* 80314724 00311684 54 C4 00 50 */ rlwinm r4, r6, 0, 1, 8 +/* 80314728 00311688 3C 04 80 80 */ addis r0, r4, 0x8080 +/* 8031472C 0031168C 28 00 00 00 */ cmplwi r0, 0 +/* 80314730 00311690 40 82 00 0C */ bne lbl_8031473C +lbl_80314734: +/* 80314734 00311694 38 60 00 00 */ li r3, 0 +/* 80314738 00311698 4E 80 00 20 */ blr +lbl_8031473C: +/* 8031473C 0031169C C0 03 00 00 */ lfs f0, 0(r3) +/* 80314740 003116A0 C0 22 C9 14 */ lfs f1, lbl_805AE634@sda21(r2) +/* 80314744 003116A4 FC 00 02 10 */ fabs f0, f0 +/* 80314748 003116A8 FC 00 00 18 */ frsp f0, f0 +/* 8031474C 003116AC FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80314750 003116B0 40 80 00 34 */ bge lbl_80314784 +/* 80314754 003116B4 C0 03 00 04 */ lfs f0, 4(r3) +/* 80314758 003116B8 FC 00 02 10 */ fabs f0, f0 +/* 8031475C 003116BC FC 00 00 18 */ frsp f0, f0 +/* 80314760 003116C0 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80314764 003116C4 40 80 00 20 */ bge lbl_80314784 +/* 80314768 003116C8 C0 03 00 08 */ lfs f0, 8(r3) +/* 8031476C 003116CC FC 00 02 10 */ fabs f0, f0 +/* 80314770 003116D0 FC 00 00 18 */ frsp f0, f0 +/* 80314774 003116D4 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80314778 003116D8 40 80 00 0C */ bge lbl_80314784 +/* 8031477C 003116DC 38 60 00 00 */ li r3, 0 +/* 80314780 003116E0 4E 80 00 20 */ blr +lbl_80314784: +/* 80314784 003116E4 38 60 00 01 */ li r3, 1 +/* 80314788 003116E8 4E 80 00 20 */ blr + +.global IsMagnitudeSafe__9CVector3fCFv +IsMagnitudeSafe__9CVector3fCFv: +/* 8031478C 003116EC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80314790 003116F0 7C 08 02 A6 */ mflr r0 +/* 80314794 003116F4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80314798 003116F8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8031479C 003116FC 3B E0 00 00 */ li r31, 0 +/* 803147A0 00311700 93 C1 00 08 */ stw r30, 8(r1) +/* 803147A4 00311704 7C 7E 1B 78 */ mr r30, r3 +/* 803147A8 00311708 48 00 00 5D */ bl IsNotInf__9CVector3fCFv +/* 803147AC 0031170C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 803147B0 00311710 41 82 00 38 */ beq lbl_803147E8 +/* 803147B4 00311714 C0 3E 00 00 */ lfs f1, 0(r30) +/* 803147B8 00311718 C0 1E 00 04 */ lfs f0, 4(r30) +/* 803147BC 0031171C EC 41 00 72 */ fmuls f2, f1, f1 +/* 803147C0 00311720 C0 7E 00 08 */ lfs f3, 8(r30) +/* 803147C4 00311724 EC 20 00 32 */ fmuls f1, f0, f0 +/* 803147C8 00311728 C0 02 C9 20 */ lfs f0, lbl_805AE640@sda21(r2) +/* 803147CC 0031172C EC 63 00 F2 */ fmuls f3, f3, f3 +/* 803147D0 00311730 EC 22 08 2A */ fadds f1, f2, f1 +/* 803147D4 00311734 EC 23 08 2A */ fadds f1, f3, f1 +/* 803147D8 00311738 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 803147DC 0031173C 4C 41 13 82 */ cror 2, 1, 2 +/* 803147E0 00311740 40 82 00 08 */ bne lbl_803147E8 +/* 803147E4 00311744 3B E0 00 01 */ li r31, 1 +lbl_803147E8: +/* 803147E8 00311748 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803147EC 0031174C 7F E3 FB 78 */ mr r3, r31 +/* 803147F0 00311750 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803147F4 00311754 83 C1 00 08 */ lwz r30, 8(r1) +/* 803147F8 00311758 7C 08 03 A6 */ mtlr r0 +/* 803147FC 0031175C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80314800 00311760 4E 80 00 20 */ blr + +.global IsNotInf__9CVector3fCFv +IsNotInf__9CVector3fCFv: +/* 80314804 00311764 80 03 00 00 */ lwz r0, 0(r3) +/* 80314808 00311768 80 A3 00 04 */ lwz r5, 4(r3) +/* 8031480C 0031176C 54 04 00 50 */ rlwinm r4, r0, 0, 1, 8 +/* 80314810 00311770 80 C3 00 08 */ lwz r6, 8(r3) +/* 80314814 00311774 3C 04 80 80 */ addis r0, r4, 0x8080 +/* 80314818 00311778 28 00 00 00 */ cmplwi r0, 0 +/* 8031481C 0031177C 41 82 00 24 */ beq lbl_80314840 +/* 80314820 00311780 54 A3 00 50 */ rlwinm r3, r5, 0, 1, 8 +/* 80314824 00311784 3C 03 80 80 */ addis r0, r3, 0x8080 +/* 80314828 00311788 28 00 00 00 */ cmplwi r0, 0 +/* 8031482C 0031178C 41 82 00 14 */ beq lbl_80314840 +/* 80314830 00311790 54 C3 00 50 */ rlwinm r3, r6, 0, 1, 8 +/* 80314834 00311794 3C 03 80 80 */ addis r0, r3, 0x8080 +/* 80314838 00311798 28 00 00 00 */ cmplwi r0, 0 +/* 8031483C 0031179C 40 82 00 0C */ bne lbl_80314848 +lbl_80314840: +/* 80314840 003117A0 38 60 00 00 */ li r3, 0 +/* 80314844 003117A4 4E 80 00 20 */ blr +lbl_80314848: +/* 80314848 003117A8 38 60 00 01 */ li r3, 1 +/* 8031484C 003117AC 4E 80 00 20 */ blr + +.global AsNormalized__9CVector3fCFv +AsNormalized__9CVector3fCFv: +/* 80314850 003117B0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80314854 003117B4 7C 08 02 A6 */ mflr r0 +/* 80314858 003117B8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8031485C 003117BC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80314860 003117C0 7C 9F 23 78 */ mr r31, r4 +/* 80314864 003117C4 93 C1 00 08 */ stw r30, 8(r1) +/* 80314868 003117C8 7C 7E 1B 78 */ mr r30, r3 +/* 8031486C 003117CC 7F E3 FB 78 */ mr r3, r31 +/* 80314870 003117D0 48 00 00 49 */ bl Magnitude__9CVector3fCFv +/* 80314874 003117D4 C0 42 C9 1C */ lfs f2, lbl_805AE63C@sda21(r2) +/* 80314878 003117D8 C0 1F 00 00 */ lfs f0, 0(r31) +/* 8031487C 003117DC EC 62 08 24 */ fdivs f3, f2, f1 +/* 80314880 003117E0 C0 5F 00 04 */ lfs f2, 4(r31) +/* 80314884 003117E4 C0 3F 00 08 */ lfs f1, 8(r31) +/* 80314888 003117E8 EC 00 00 F2 */ fmuls f0, f0, f3 +/* 8031488C 003117EC EC 42 00 F2 */ fmuls f2, f2, f3 +/* 80314890 003117F0 EC 21 00 F2 */ fmuls f1, f1, f3 +/* 80314894 003117F4 D0 1E 00 00 */ stfs f0, 0(r30) +/* 80314898 003117F8 D0 5E 00 04 */ stfs f2, 4(r30) +/* 8031489C 003117FC D0 3E 00 08 */ stfs f1, 8(r30) +/* 803148A0 00311800 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803148A4 00311804 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803148A8 00311808 83 C1 00 08 */ lwz r30, 8(r1) +/* 803148AC 0031180C 7C 08 03 A6 */ mtlr r0 +/* 803148B0 00311810 38 21 00 10 */ addi r1, r1, 0x10 +/* 803148B4 00311814 4E 80 00 20 */ blr + +.global Magnitude__9CVector3fCFv +Magnitude__9CVector3fCFv: +/* 803148B8 00311818 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803148BC 0031181C 7C 08 02 A6 */ mflr r0 +/* 803148C0 00311820 90 01 00 14 */ stw r0, 0x14(r1) +/* 803148C4 00311824 C0 03 00 00 */ lfs f0, 0(r3) +/* 803148C8 00311828 C0 43 00 04 */ lfs f2, 4(r3) +/* 803148CC 0031182C EC 20 00 32 */ fmuls f1, f0, f0 +/* 803148D0 00311830 C0 03 00 08 */ lfs f0, 8(r3) +/* 803148D4 00311834 EC 42 00 B2 */ fmuls f2, f2, f2 +/* 803148D8 00311838 EC 00 00 32 */ fmuls f0, f0, f0 +/* 803148DC 0031183C EC 21 10 2A */ fadds f1, f1, f2 +/* 803148E0 00311840 EC 21 00 2A */ fadds f1, f1, f0 +/* 803148E4 00311844 48 00 0C 1D */ bl SqrtF__5CMathFf +/* 803148E8 00311848 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803148EC 0031184C 7C 08 03 A6 */ mtlr r0 +/* 803148F0 00311850 38 21 00 10 */ addi r1, r1, 0x10 +/* 803148F4 00311854 4E 80 00 20 */ blr + +.global Normalize__9CVector3fFv +Normalize__9CVector3fFv: +/* 803148F8 00311858 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803148FC 0031185C 7C 08 02 A6 */ mflr r0 +/* 80314900 00311860 90 01 00 14 */ stw r0, 0x14(r1) +/* 80314904 00311864 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80314908 00311868 7C 7F 1B 78 */ mr r31, r3 +/* 8031490C 0031186C 4B FF FF AD */ bl Magnitude__9CVector3fCFv +/* 80314910 00311870 C0 42 C9 1C */ lfs f2, lbl_805AE63C@sda21(r2) +/* 80314914 00311874 7F E3 FB 78 */ mr r3, r31 +/* 80314918 00311878 C0 1F 00 00 */ lfs f0, 0(r31) +/* 8031491C 0031187C EC 22 08 24 */ fdivs f1, f2, f1 +/* 80314920 00311880 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80314924 00311884 D0 1F 00 00 */ stfs f0, 0(r31) +/* 80314928 00311888 C0 1F 00 04 */ lfs f0, 4(r31) +/* 8031492C 0031188C EC 00 00 72 */ fmuls f0, f0, f1 +/* 80314930 00311890 D0 1F 00 04 */ stfs f0, 4(r31) +/* 80314934 00311894 C0 1F 00 08 */ lfs f0, 8(r31) +/* 80314938 00311898 EC 00 00 72 */ fmuls f0, f0, f1 +/* 8031493C 0031189C D0 1F 00 08 */ stfs f0, 8(r31) +/* 80314940 003118A0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80314944 003118A4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80314948 003118A8 7C 08 03 A6 */ mtlr r0 +/* 8031494C 003118AC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80314950 003118B0 4E 80 00 20 */ blr + +.global Slerp__9CVector3fFRC9CVector3fRC9CVector3fRC9CRelAngle +Slerp__9CVector3fFRC9CVector3fRC9CVector3fRC9CRelAngle: +/* 80314954 003118B4 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 80314958 003118B8 7C 08 02 A6 */ mflr r0 +/* 8031495C 003118BC 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 80314960 003118C0 DB E1 00 A0 */ stfd f31, 0xa0(r1) +/* 80314964 003118C4 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 +/* 80314968 003118C8 DB C1 00 90 */ stfd f30, 0x90(r1) +/* 8031496C 003118CC F3 C1 00 98 */ psq_st f30, 152(r1), 0, qr0 +/* 80314970 003118D0 DB A1 00 80 */ stfd f29, 0x80(r1) +/* 80314974 003118D4 F3 A1 00 88 */ psq_st f29, 136(r1), 0, qr0 +/* 80314978 003118D8 DB 81 00 70 */ stfd f28, 0x70(r1) +/* 8031497C 003118DC F3 81 00 78 */ psq_st f28, 120(r1), 0, qr0 +/* 80314980 003118E0 DB 61 00 60 */ stfd f27, 0x60(r1) +/* 80314984 003118E4 F3 61 00 68 */ psq_st f27, 104(r1), 0, qr0 +/* 80314988 003118E8 DB 41 00 50 */ stfd f26, 0x50(r1) +/* 8031498C 003118EC F3 41 00 58 */ psq_st f26, 88(r1), 0, qr0 +/* 80314990 003118F0 DB 21 00 40 */ stfd f25, 0x40(r1) +/* 80314994 003118F4 F3 21 00 48 */ psq_st f25, 72(r1), 0, qr0 +/* 80314998 003118F8 DB 01 00 30 */ stfd f24, 0x30(r1) +/* 8031499C 003118FC F3 01 00 38 */ psq_st f24, 56(r1), 0, qr0 +/* 803149A0 00311900 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 803149A4 00311904 93 C1 00 28 */ stw r30, 0x28(r1) +/* 803149A8 00311908 93 A1 00 24 */ stw r29, 0x24(r1) +/* 803149AC 0031190C 7C 9E 23 78 */ mr r30, r4 +/* 803149B0 00311910 7C 7D 1B 78 */ mr r29, r3 +/* 803149B4 00311914 C0 64 00 00 */ lfs f3, 0(r4) +/* 803149B8 00311918 7C DF 33 78 */ mr r31, r6 +/* 803149BC 0031191C C0 E5 00 08 */ lfs f7, 8(r5) +/* 803149C0 00311920 38 61 00 14 */ addi r3, r1, 0x14 +/* 803149C4 00311924 C0 84 00 04 */ lfs f4, 4(r4) +/* 803149C8 00311928 38 81 00 08 */ addi r4, r1, 8 +/* 803149CC 0031192C C0 A5 00 00 */ lfs f5, 0(r5) +/* 803149D0 00311930 EC 27 00 F2 */ fmuls f1, f7, f3 +/* 803149D4 00311934 C0 5E 00 08 */ lfs f2, 8(r30) +/* 803149D8 00311938 C0 C5 00 04 */ lfs f6, 4(r5) +/* 803149DC 0031193C EC 05 01 32 */ fmuls f0, f5, f4 +/* 803149E0 00311940 EC 22 09 78 */ fmsubs f1, f2, f5, f1 +/* 803149E4 00311944 EC 46 00 B2 */ fmuls f2, f6, f2 +/* 803149E8 00311948 EC 03 01 B8 */ fmsubs f0, f3, f6, f0 +/* 803149EC 0031194C D0 21 00 0C */ stfs f1, 0xc(r1) +/* 803149F0 00311950 EC 24 11 F8 */ fmsubs f1, f4, f7, f2 +/* 803149F4 00311954 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 803149F8 00311958 D0 21 00 08 */ stfs f1, 8(r1) +/* 803149FC 0031195C 4B FF FE 55 */ bl AsNormalized__9CVector3fCFv +/* 80314A00 00311960 C3 41 00 18 */ lfs f26, 0x18(r1) +/* 80314A04 00311964 C3 DE 00 00 */ lfs f30, 0(r30) +/* 80314A08 00311968 C3 BE 00 04 */ lfs f29, 4(r30) +/* 80314A0C 0031196C EC 1E 06 B2 */ fmuls f0, f30, f26 +/* 80314A10 00311970 C3 01 00 14 */ lfs f24, 0x14(r1) +/* 80314A14 00311974 C3 21 00 1C */ lfs f25, 0x1c(r1) +/* 80314A18 00311978 C3 9E 00 08 */ lfs f28, 8(r30) +/* 80314A1C 0031197C EF F8 07 78 */ fmsubs f31, f24, f29, f0 +/* 80314A20 00311980 C0 3F 00 00 */ lfs f1, 0(r31) +/* 80314A24 00311984 48 08 00 B9 */ bl sin +/* 80314A28 00311988 FF 60 08 18 */ frsp f27, f1 +/* 80314A2C 0031198C C0 3F 00 00 */ lfs f1, 0(r31) +/* 80314A30 00311990 48 07 F9 C1 */ bl cos +/* 80314A34 00311994 EC 1D 06 72 */ fmuls f0, f29, f25 +/* 80314A38 00311998 C0 5E 00 00 */ lfs f2, 0(r30) +/* 80314A3C 0031199C EC 9C 06 32 */ fmuls f4, f28, f24 +/* 80314A40 003119A0 C0 BE 00 04 */ lfs f5, 4(r30) +/* 80314A44 003119A4 FC C0 08 18 */ frsp f6, f1 +/* 80314A48 003119A8 C0 7E 00 08 */ lfs f3, 8(r30) +/* 80314A4C 003119AC EC 1A 07 38 */ fmsubs f0, f26, f28, f0 +/* 80314A50 003119B0 EC 99 27 B8 */ fmsubs f4, f25, f30, f4 +/* 80314A54 003119B4 EC 26 00 B2 */ fmuls f1, f6, f2 +/* 80314A58 003119B8 EC 1B 00 32 */ fmuls f0, f27, f0 +/* 80314A5C 003119BC EC A6 01 72 */ fmuls f5, f6, f5 +/* 80314A60 003119C0 EC 9B 01 32 */ fmuls f4, f27, f4 +/* 80314A64 003119C4 EC 01 00 2A */ fadds f0, f1, f0 +/* 80314A68 003119C8 EC 46 00 F2 */ fmuls f2, f6, f3 +/* 80314A6C 003119CC EC 3B 07 F2 */ fmuls f1, f27, f31 +/* 80314A70 003119D0 D0 1D 00 00 */ stfs f0, 0(r29) +/* 80314A74 003119D4 EC 65 20 2A */ fadds f3, f5, f4 +/* 80314A78 003119D8 EC 02 08 2A */ fadds f0, f2, f1 +/* 80314A7C 003119DC D0 7D 00 04 */ stfs f3, 4(r29) +/* 80314A80 003119E0 D0 1D 00 08 */ stfs f0, 8(r29) +/* 80314A84 003119E4 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 +/* 80314A88 003119E8 CB E1 00 A0 */ lfd f31, 0xa0(r1) +/* 80314A8C 003119EC E3 C1 00 98 */ psq_l f30, 152(r1), 0, qr0 +/* 80314A90 003119F0 CB C1 00 90 */ lfd f30, 0x90(r1) +/* 80314A94 003119F4 E3 A1 00 88 */ psq_l f29, 136(r1), 0, qr0 +/* 80314A98 003119F8 CB A1 00 80 */ lfd f29, 0x80(r1) +/* 80314A9C 003119FC E3 81 00 78 */ psq_l f28, 120(r1), 0, qr0 +/* 80314AA0 00311A00 CB 81 00 70 */ lfd f28, 0x70(r1) +/* 80314AA4 00311A04 E3 61 00 68 */ psq_l f27, 104(r1), 0, qr0 +/* 80314AA8 00311A08 CB 61 00 60 */ lfd f27, 0x60(r1) +/* 80314AAC 00311A0C E3 41 00 58 */ psq_l f26, 88(r1), 0, qr0 +/* 80314AB0 00311A10 CB 41 00 50 */ lfd f26, 0x50(r1) +/* 80314AB4 00311A14 E3 21 00 48 */ psq_l f25, 72(r1), 0, qr0 +/* 80314AB8 00311A18 CB 21 00 40 */ lfd f25, 0x40(r1) +/* 80314ABC 00311A1C E3 01 00 38 */ psq_l f24, 56(r1), 0, qr0 +/* 80314AC0 00311A20 CB 01 00 30 */ lfd f24, 0x30(r1) +/* 80314AC4 00311A24 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80314AC8 00311A28 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80314ACC 00311A2C 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 80314AD0 00311A30 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80314AD4 00311A34 7C 08 03 A6 */ mtlr r0 +/* 80314AD8 00311A38 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 80314ADC 00311A3C 4E 80 00 20 */ blr + +.global PutTo__9CVector3fCFR13COutputStream +PutTo__9CVector3fCFR13COutputStream: +/* 80314AE0 00311A40 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80314AE4 00311A44 7C 08 02 A6 */ mflr r0 +/* 80314AE8 00311A48 90 01 00 34 */ stw r0, 0x34(r1) +/* 80314AEC 00311A4C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80314AF0 00311A50 7C 9F 23 78 */ mr r31, r4 +/* 80314AF4 00311A54 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80314AF8 00311A58 7C 7E 1B 78 */ mr r30, r3 +/* 80314AFC 00311A5C C0 03 00 00 */ lfs f0, 0(r3) +/* 80314B00 00311A60 7F E3 FB 78 */ mr r3, r31 +/* 80314B04 00311A64 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 80314B08 00311A68 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 80314B0C 00311A6C 90 01 00 10 */ stw r0, 0x10(r1) +/* 80314B10 00311A70 48 02 A9 A9 */ bl FlushShiftRegister__13COutputStreamFv +/* 80314B14 00311A74 7F E3 FB 78 */ mr r3, r31 +/* 80314B18 00311A78 38 81 00 10 */ addi r4, r1, 0x10 +/* 80314B1C 00311A7C 38 A0 00 04 */ li r5, 4 +/* 80314B20 00311A80 48 02 AA 89 */ bl DoPut__13COutputStreamFPCvUl +/* 80314B24 00311A84 C0 1E 00 04 */ lfs f0, 4(r30) +/* 80314B28 00311A88 7F E3 FB 78 */ mr r3, r31 +/* 80314B2C 00311A8C D0 01 00 18 */ stfs f0, 0x18(r1) +/* 80314B30 00311A90 80 01 00 18 */ lwz r0, 0x18(r1) +/* 80314B34 00311A94 90 01 00 0C */ stw r0, 0xc(r1) +/* 80314B38 00311A98 48 02 A9 81 */ bl FlushShiftRegister__13COutputStreamFv +/* 80314B3C 00311A9C 7F E3 FB 78 */ mr r3, r31 +/* 80314B40 00311AA0 38 81 00 0C */ addi r4, r1, 0xc +/* 80314B44 00311AA4 38 A0 00 04 */ li r5, 4 +/* 80314B48 00311AA8 48 02 AA 61 */ bl DoPut__13COutputStreamFPCvUl +/* 80314B4C 00311AAC C0 1E 00 08 */ lfs f0, 8(r30) +/* 80314B50 00311AB0 7F E3 FB 78 */ mr r3, r31 +/* 80314B54 00311AB4 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80314B58 00311AB8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80314B5C 00311ABC 90 01 00 08 */ stw r0, 8(r1) +/* 80314B60 00311AC0 48 02 A9 59 */ bl FlushShiftRegister__13COutputStreamFv +/* 80314B64 00311AC4 7F E3 FB 78 */ mr r3, r31 +/* 80314B68 00311AC8 38 81 00 08 */ addi r4, r1, 8 +/* 80314B6C 00311ACC 38 A0 00 04 */ li r5, 4 +/* 80314B70 00311AD0 48 02 AA 39 */ bl DoPut__13COutputStreamFPCvUl +/* 80314B74 00311AD4 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80314B78 00311AD8 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80314B7C 00311ADC 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80314B80 00311AE0 7C 08 03 A6 */ mtlr r0 +/* 80314B84 00311AE4 38 21 00 30 */ addi r1, r1, 0x30 +/* 80314B88 00311AE8 4E 80 00 20 */ blr + +.global __ct__9CVector3fFR12CInputStream +__ct__9CVector3fFR12CInputStream: +/* 80314B8C 00311AEC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80314B90 00311AF0 7C 08 02 A6 */ mflr r0 +/* 80314B94 00311AF4 38 A0 00 0C */ li r5, 0xc +/* 80314B98 00311AF8 90 01 00 14 */ stw r0, 0x14(r1) +/* 80314B9C 00311AFC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80314BA0 00311B00 7C 7F 1B 78 */ mr r31, r3 +/* 80314BA4 00311B04 7C 83 23 78 */ mr r3, r4 +/* 80314BA8 00311B08 7F E4 FB 78 */ mr r4, r31 +/* 80314BAC 00311B0C 48 02 A3 A9 */ bl Get__12CInputStreamFPvUl +/* 80314BB0 00311B10 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80314BB4 00311B14 7F E3 FB 78 */ mr r3, r31 +/* 80314BB8 00311B18 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80314BBC 00311B1C 7C 08 03 A6 */ mtlr r0 +/* 80314BC0 00311B20 38 21 00 10 */ addi r1, r1, 0x10 +/* 80314BC4 00311B24 4E 80 00 20 */ blr + +.global __sinit_CVector3f_cpp +__sinit_CVector3f_cpp: +/* 80314BC8 00311B28 C0 42 C9 10 */ lfs f2, lbl_805AE630@sda21(r2) +/* 80314BCC 00311B2C 3D 20 80 5A */ lis r9, skZero3f@ha +/* 80314BD0 00311B30 C0 02 C9 18 */ lfs f0, lbl_805AE638@sda21(r2) +/* 80314BD4 00311B34 3D 00 80 5A */ lis r8, lbl_805A66F4@ha +/* 80314BD8 00311B38 D4 49 66 A0 */ stfsu f2, skZero3f@l(r9) +/* 80314BDC 00311B3C 3C E0 80 5A */ lis r7, lbl_805A6700@ha +/* 80314BE0 00311B40 3C C0 80 5A */ lis r6, lbl_805A670C@ha +/* 80314BE4 00311B44 3C 80 80 5A */ lis r4, lbl_805A6724@ha +/* 80314BE8 00311B48 D4 47 67 00 */ stfsu f2, lbl_805A6700@l(r7) +/* 80314BEC 00311B4C 3C 60 80 5A */ lis r3, lbl_805A6730@ha +/* 80314BF0 00311B50 C0 22 C9 1C */ lfs f1, lbl_805AE63C@sda21(r2) +/* 80314BF4 00311B54 3C A0 80 5A */ lis r5, lbl_805A6718@ha +/* 80314BF8 00311B58 D4 48 66 F4 */ stfsu f2, lbl_805A66F4@l(r8) +/* 80314BFC 00311B5C D4 06 67 0C */ stfsu f0, lbl_805A670C@l(r6) +/* 80314C00 00311B60 D4 25 67 18 */ stfsu f1, lbl_805A6718@l(r5) +/* 80314C04 00311B64 D4 44 67 24 */ stfsu f2, lbl_805A6724@l(r4) +/* 80314C08 00311B68 D4 43 67 30 */ stfsu f2, lbl_805A6730@l(r3) +/* 80314C0C 00311B6C D0 49 00 04 */ stfs f2, 4(r9) +/* 80314C10 00311B70 D0 49 00 08 */ stfs f2, 8(r9) +/* 80314C14 00311B74 D0 48 00 04 */ stfs f2, 4(r8) +/* 80314C18 00311B78 D0 28 00 08 */ stfs f1, 8(r8) +/* 80314C1C 00311B7C D0 47 00 04 */ stfs f2, 4(r7) +/* 80314C20 00311B80 D0 07 00 08 */ stfs f0, 8(r7) +/* 80314C24 00311B84 D0 46 00 04 */ stfs f2, 4(r6) +/* 80314C28 00311B88 D0 46 00 08 */ stfs f2, 8(r6) +/* 80314C2C 00311B8C D0 45 00 04 */ stfs f2, 4(r5) +/* 80314C30 00311B90 D0 45 00 08 */ stfs f2, 8(r5) +/* 80314C34 00311B94 D0 24 00 04 */ stfs f1, 4(r4) +/* 80314C38 00311B98 D0 44 00 08 */ stfs f2, 8(r4) +/* 80314C3C 00311B9C D0 03 00 04 */ stfs f0, 4(r3) +/* 80314C40 00311BA0 D0 43 00 08 */ stfs f2, 8(r3) +/* 80314C44 00311BA4 4E 80 00 20 */ blr + +.global __ct__9CVector3iFiii +__ct__9CVector3iFiii: +/* 80314C48 00311BA8 90 83 00 00 */ stw r4, 0(r3) +/* 80314C4C 00311BAC 90 A3 00 04 */ stw r5, 4(r3) +/* 80314C50 00311BB0 90 C3 00 08 */ stw r6, 8(r3) +/* 80314C54 00311BB4 4E 80 00 20 */ blr diff --git a/asm/Kyoto/Math/CloseEnough.s b/asm/Kyoto/Math/CloseEnough.s new file mode 100644 index 00000000..a9299e7e --- /dev/null +++ b/asm/Kyoto/Math/CloseEnough.s @@ -0,0 +1,68 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global close_enough__FRC9CVector2fRC9CVector2ff +close_enough__FRC9CVector2fRC9CVector2ff: +/* 8030FF24 0030CE84 C0 43 00 00 */ lfs f2, 0(r3) +/* 8030FF28 0030CE88 38 00 00 00 */ li r0, 0 +/* 8030FF2C 0030CE8C C0 04 00 00 */ lfs f0, 0(r4) +/* 8030FF30 0030CE90 EC 02 00 28 */ fsubs f0, f2, f0 +/* 8030FF34 0030CE94 FC 00 02 10 */ fabs f0, f0 +/* 8030FF38 0030CE98 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 8030FF3C 0030CE9C 40 80 00 20 */ bge lbl_8030FF5C +/* 8030FF40 0030CEA0 C0 43 00 04 */ lfs f2, 4(r3) +/* 8030FF44 0030CEA4 C0 04 00 04 */ lfs f0, 4(r4) +/* 8030FF48 0030CEA8 EC 02 00 28 */ fsubs f0, f2, f0 +/* 8030FF4C 0030CEAC FC 00 02 10 */ fabs f0, f0 +/* 8030FF50 0030CEB0 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 8030FF54 0030CEB4 40 80 00 08 */ bge lbl_8030FF5C +/* 8030FF58 0030CEB8 38 00 00 01 */ li r0, 1 +lbl_8030FF5C: +/* 8030FF5C 0030CEBC 7C 03 03 78 */ mr r3, r0 +/* 8030FF60 0030CEC0 4E 80 00 20 */ blr + +.global close_enough__FRC9CVector3fRC9CVector3ff +close_enough__FRC9CVector3fRC9CVector3ff: +/* 8030FF64 0030CEC4 C0 43 00 00 */ lfs f2, 0(r3) +/* 8030FF68 0030CEC8 38 A0 00 00 */ li r5, 0 +/* 8030FF6C 0030CECC C0 04 00 00 */ lfs f0, 0(r4) +/* 8030FF70 0030CED0 7C A0 2B 78 */ mr r0, r5 +/* 8030FF74 0030CED4 EC 02 00 28 */ fsubs f0, f2, f0 +/* 8030FF78 0030CED8 FC 00 02 10 */ fabs f0, f0 +/* 8030FF7C 0030CEDC FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 8030FF80 0030CEE0 40 80 00 20 */ bge lbl_8030FFA0 +/* 8030FF84 0030CEE4 C0 43 00 04 */ lfs f2, 4(r3) +/* 8030FF88 0030CEE8 C0 04 00 04 */ lfs f0, 4(r4) +/* 8030FF8C 0030CEEC EC 02 00 28 */ fsubs f0, f2, f0 +/* 8030FF90 0030CEF0 FC 00 02 10 */ fabs f0, f0 +/* 8030FF94 0030CEF4 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 8030FF98 0030CEF8 40 80 00 08 */ bge lbl_8030FFA0 +/* 8030FF9C 0030CEFC 38 00 00 01 */ li r0, 1 +lbl_8030FFA0: +/* 8030FFA0 0030CF00 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 8030FFA4 0030CF04 41 82 00 20 */ beq lbl_8030FFC4 +/* 8030FFA8 0030CF08 C0 43 00 08 */ lfs f2, 8(r3) +/* 8030FFAC 0030CF0C C0 04 00 08 */ lfs f0, 8(r4) +/* 8030FFB0 0030CF10 EC 02 00 28 */ fsubs f0, f2, f0 +/* 8030FFB4 0030CF14 FC 00 02 10 */ fabs f0, f0 +/* 8030FFB8 0030CF18 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 8030FFBC 0030CF1C 40 80 00 08 */ bge lbl_8030FFC4 +/* 8030FFC0 0030CF20 38 A0 00 01 */ li r5, 1 +lbl_8030FFC4: +/* 8030FFC4 0030CF24 7C A3 2B 78 */ mr r3, r5 +/* 8030FFC8 0030CF28 4E 80 00 20 */ blr + +.global __sinit_CloseEnough_cpp +__sinit_CloseEnough_cpp: +/* 8030FFCC 0030CF2C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8030FFD0 0030CF30 7C 08 02 A6 */ mflr r0 +/* 8030FFD4 0030CF34 C0 22 C8 48 */ lfs f1, lbl_805AE568@sda21(r2) +/* 8030FFD8 0030CF38 38 6D A8 80 */ addi r3, r13, skZero2f@sda21 +/* 8030FFDC 0030CF3C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8030FFE0 0030CF40 FC 40 08 90 */ fmr f2, f1 +/* 8030FFE4 0030CF44 48 00 42 1D */ bl __ct__9CVector2fFff +/* 8030FFE8 0030CF48 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8030FFEC 0030CF4C 7C 08 03 A6 */ mtlr r0 +/* 8030FFF0 0030CF50 38 21 00 10 */ addi r1, r1, 0x10 +/* 8030FFF4 0030CF54 4E 80 00 20 */ blr diff --git a/asm/Kyoto/Math/RMathUtils.s b/asm/Kyoto/Math/RMathUtils.s new file mode 100644 index 00000000..b1809976 --- /dev/null +++ b/asm/Kyoto/Math/RMathUtils.s @@ -0,0 +1,679 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global FloorPowerOfTwo__5CMathFi +FloorPowerOfTwo__5CMathFi: +/* 80314C58 00311BB8 2C 03 00 00 */ cmpwi r3, 0 +/* 80314C5C 00311BBC 40 82 00 0C */ bne lbl_80314C68 +/* 80314C60 00311BC0 38 60 00 00 */ li r3, 0 +/* 80314C64 00311BC4 4E 80 00 20 */ blr +lbl_80314C68: +/* 80314C68 00311BC8 3C A0 00 01 */ lis r5, 0x0000FFFF@ha +/* 80314C6C 00311BCC 38 80 00 01 */ li r4, 1 +/* 80314C70 00311BD0 38 05 FF FF */ addi r0, r5, 0x0000FFFF@l +/* 80314C74 00311BD4 7C 03 00 50 */ subf r0, r3, r0 +/* 80314C78 00311BD8 54 05 2E F6 */ rlwinm r5, r0, 5, 0x1b, 0x1b +/* 80314C7C 00311BDC 7C 60 2C 30 */ srw r0, r3, r5 +/* 80314C80 00311BE0 54 03 04 3E */ clrlwi r3, r0, 0x10 +/* 80314C84 00311BE4 20 03 00 FF */ subfic r0, r3, 0xff +/* 80314C88 00311BE8 54 06 27 38 */ rlwinm r6, r0, 4, 0x1c, 0x1c +/* 80314C8C 00311BEC 7C 60 34 30 */ srw r0, r3, r6 +/* 80314C90 00311BF0 54 03 06 3E */ clrlwi r3, r0, 0x18 +/* 80314C94 00311BF4 20 03 00 0F */ subfic r0, r3, 0xf +/* 80314C98 00311BF8 54 07 1F 7A */ rlwinm r7, r0, 3, 0x1d, 0x1d +/* 80314C9C 00311BFC 7C 60 3C 30 */ srw r0, r3, r7 +/* 80314CA0 00311C00 54 08 07 3E */ clrlwi r8, r0, 0x1c +/* 80314CA4 00311C04 7C 06 3A 14 */ add r0, r6, r7 +/* 80314CA8 00311C08 20 68 00 03 */ subfic r3, r8, 3 +/* 80314CAC 00311C0C 54 66 17 BC */ rlwinm r6, r3, 2, 0x1e, 0x1e +/* 80314CB0 00311C10 7D 03 34 30 */ srw r3, r8, r6 +/* 80314CB4 00311C14 54 63 07 BE */ clrlwi r3, r3, 0x1e +/* 80314CB8 00311C18 7C 00 32 14 */ add r0, r0, r6 +/* 80314CBC 00311C1C 20 63 00 01 */ subfic r3, r3, 1 +/* 80314CC0 00311C20 54 63 0F FE */ srwi r3, r3, 0x1f +/* 80314CC4 00311C24 7C 00 1A 14 */ add r0, r0, r3 +/* 80314CC8 00311C28 7C 05 02 14 */ add r0, r5, r0 +/* 80314CCC 00311C2C 7C 83 00 30 */ slw r3, r4, r0 +/* 80314CD0 00311C30 4E 80 00 20 */ blr + +.global FastArcCosR__5CMathFf +FastArcCosR__5CMathFf: +/* 80314CD4 00311C34 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80314CD8 00311C38 7C 08 02 A6 */ mflr r0 +/* 80314CDC 00311C3C FC 40 0A 10 */ fabs f2, f1 +/* 80314CE0 00311C40 C8 02 C9 40 */ lfd f0, lbl_805AE660@sda21(r2) +/* 80314CE4 00311C44 90 01 00 14 */ stw r0, 0x14(r1) +/* 80314CE8 00311C48 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80314CEC 00311C4C 40 81 00 10 */ ble lbl_80314CFC +/* 80314CF0 00311C50 48 07 FF 3D */ bl acos +/* 80314CF4 00311C54 FC 20 08 18 */ frsp f1, f1 +/* 80314CF8 00311C58 48 00 00 3C */ b lbl_80314D34 +lbl_80314CFC: +/* 80314CFC 00311C5C EC 81 00 72 */ fmuls f4, f1, f1 +/* 80314D00 00311C60 C0 A2 C9 28 */ lfs f5, lbl_805AE648@sda21(r2) +/* 80314D04 00311C64 C0 02 C9 2C */ lfs f0, lbl_805AE64C@sda21(r2) +/* 80314D08 00311C68 C0 62 C9 30 */ lfs f3, lbl_805AE650@sda21(r2) +/* 80314D0C 00311C6C EC A1 28 3A */ fmadds f5, f1, f0, f5 +/* 80314D10 00311C70 C0 42 C9 34 */ lfs f2, lbl_805AE654@sda21(r2) +/* 80314D14 00311C74 EC 21 01 32 */ fmuls f1, f1, f4 +/* 80314D18 00311C78 C0 02 C9 38 */ lfs f0, lbl_805AE658@sda21(r2) +/* 80314D1C 00311C7C EC A1 28 FA */ fmadds f5, f1, f3, f5 +/* 80314D20 00311C80 EC 21 01 32 */ fmuls f1, f1, f4 +/* 80314D24 00311C84 EC A1 28 BA */ fmadds f5, f1, f2, f5 +/* 80314D28 00311C88 EC 21 01 32 */ fmuls f1, f1, f4 +/* 80314D2C 00311C8C EC A1 28 3A */ fmadds f5, f1, f0, f5 +/* 80314D30 00311C90 FC 20 28 90 */ fmr f1, f5 +lbl_80314D34: +/* 80314D34 00311C94 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80314D38 00311C98 7C 08 03 A6 */ mtlr r0 +/* 80314D3C 00311C9C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80314D40 00311CA0 4E 80 00 20 */ blr + +.global FastCosR__5CMathFf +FastCosR__5CMathFf: +/* 80314D44 00311CA4 FC 40 0A 10 */ fabs f2, f1 +/* 80314D48 00311CA8 C8 02 C9 60 */ lfd f0, lbl_805AE680@sda21(r2) +/* 80314D4C 00311CAC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80314D50 00311CB0 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80314D54 00311CB4 40 81 00 60 */ ble lbl_80314DB4 +/* 80314D58 00311CB8 C0 02 C9 68 */ lfs f0, lbl_805AE688@sda21(r2) +/* 80314D5C 00311CBC 3C 00 43 30 */ lis r0, 0x4330 +/* 80314D60 00311CC0 90 01 00 10 */ stw r0, 0x10(r1) +/* 80314D64 00311CC4 EC 61 00 32 */ fmuls f3, f1, f0 +/* 80314D68 00311CC8 C8 82 C9 78 */ lfd f4, lbl_805AE698@sda21(r2) +/* 80314D6C 00311CCC C0 42 C9 6C */ lfs f2, lbl_805AE68C@sda21(r2) +/* 80314D70 00311CD0 C0 02 C9 70 */ lfs f0, lbl_805AE690@sda21(r2) +/* 80314D74 00311CD4 FC 60 18 1E */ fctiwz f3, f3 +/* 80314D78 00311CD8 D8 61 00 08 */ stfd f3, 8(r1) +/* 80314D7C 00311CDC 80 01 00 0C */ lwz r0, 0xc(r1) +/* 80314D80 00311CE0 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 80314D84 00311CE4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80314D88 00311CE8 C8 61 00 10 */ lfd f3, 0x10(r1) +/* 80314D8C 00311CEC EC 63 20 28 */ fsubs f3, f3, f4 +/* 80314D90 00311CF0 EC 23 08 BC */ fnmsubs f1, f3, f2, f1 +/* 80314D94 00311CF4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80314D98 00311CF8 40 81 00 0C */ ble lbl_80314DA4 +/* 80314D9C 00311CFC EC 21 10 28 */ fsubs f1, f1, f2 +/* 80314DA0 00311D00 48 00 00 14 */ b lbl_80314DB4 +lbl_80314DA4: +/* 80314DA4 00311D04 C0 02 C9 74 */ lfs f0, lbl_805AE694@sda21(r2) +/* 80314DA8 00311D08 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80314DAC 00311D0C 40 80 00 08 */ bge lbl_80314DB4 +/* 80314DB0 00311D10 EC 22 08 2A */ fadds f1, f2, f1 +lbl_80314DB4: +/* 80314DB4 00311D14 EC 81 00 72 */ fmuls f4, f1, f1 +/* 80314DB8 00311D18 C0 22 C9 48 */ lfs f1, lbl_805AE668@sda21(r2) +/* 80314DBC 00311D1C C0 02 C9 4C */ lfs f0, lbl_805AE66C@sda21(r2) +/* 80314DC0 00311D20 C0 62 C9 50 */ lfs f3, lbl_805AE670@sda21(r2) +/* 80314DC4 00311D24 EC 24 08 3A */ fmadds f1, f4, f0, f1 +/* 80314DC8 00311D28 C0 42 C9 54 */ lfs f2, lbl_805AE674@sda21(r2) +/* 80314DCC 00311D2C EC A4 01 32 */ fmuls f5, f4, f4 +/* 80314DD0 00311D30 C0 02 C9 58 */ lfs f0, lbl_805AE678@sda21(r2) +/* 80314DD4 00311D34 EC 25 08 FA */ fmadds f1, f5, f3, f1 +/* 80314DD8 00311D38 EC A5 01 32 */ fmuls f5, f5, f4 +/* 80314DDC 00311D3C EC 25 08 BA */ fmadds f1, f5, f2, f1 +/* 80314DE0 00311D40 EC A5 01 32 */ fmuls f5, f5, f4 +/* 80314DE4 00311D44 EC 25 08 3A */ fmadds f1, f5, f0, f1 +/* 80314DE8 00311D48 38 21 00 20 */ addi r1, r1, 0x20 +/* 80314DEC 00311D4C 4E 80 00 20 */ blr + +.global FastSinR__5CMathFf +FastSinR__5CMathFf: +/* 80314DF0 00311D50 FC 40 0A 10 */ fabs f2, f1 +/* 80314DF4 00311D54 C8 02 C9 60 */ lfd f0, lbl_805AE680@sda21(r2) +/* 80314DF8 00311D58 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80314DFC 00311D5C FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80314E00 00311D60 40 81 00 60 */ ble lbl_80314E60 +/* 80314E04 00311D64 C0 02 C9 68 */ lfs f0, lbl_805AE688@sda21(r2) +/* 80314E08 00311D68 3C 00 43 30 */ lis r0, 0x4330 +/* 80314E0C 00311D6C 90 01 00 10 */ stw r0, 0x10(r1) +/* 80314E10 00311D70 EC 61 00 32 */ fmuls f3, f1, f0 +/* 80314E14 00311D74 C8 82 C9 78 */ lfd f4, lbl_805AE698@sda21(r2) +/* 80314E18 00311D78 C0 42 C9 6C */ lfs f2, lbl_805AE68C@sda21(r2) +/* 80314E1C 00311D7C C0 02 C9 70 */ lfs f0, lbl_805AE690@sda21(r2) +/* 80314E20 00311D80 FC 60 18 1E */ fctiwz f3, f3 +/* 80314E24 00311D84 D8 61 00 08 */ stfd f3, 8(r1) +/* 80314E28 00311D88 80 01 00 0C */ lwz r0, 0xc(r1) +/* 80314E2C 00311D8C 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 80314E30 00311D90 90 01 00 14 */ stw r0, 0x14(r1) +/* 80314E34 00311D94 C8 61 00 10 */ lfd f3, 0x10(r1) +/* 80314E38 00311D98 EC 63 20 28 */ fsubs f3, f3, f4 +/* 80314E3C 00311D9C EC 23 08 BC */ fnmsubs f1, f3, f2, f1 +/* 80314E40 00311DA0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80314E44 00311DA4 40 81 00 0C */ ble lbl_80314E50 +/* 80314E48 00311DA8 EC 21 10 28 */ fsubs f1, f1, f2 +/* 80314E4C 00311DAC 48 00 00 14 */ b lbl_80314E60 +lbl_80314E50: +/* 80314E50 00311DB0 C0 02 C9 74 */ lfs f0, lbl_805AE694@sda21(r2) +/* 80314E54 00311DB4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80314E58 00311DB8 40 80 00 08 */ bge lbl_80314E60 +/* 80314E5C 00311DBC EC 22 08 2A */ fadds f1, f2, f1 +lbl_80314E60: +/* 80314E60 00311DC0 EC 81 00 72 */ fmuls f4, f1, f1 +/* 80314E64 00311DC4 C0 02 C9 80 */ lfs f0, lbl_805AE6A0@sda21(r2) +/* 80314E68 00311DC8 C0 62 C9 84 */ lfs f3, lbl_805AE6A4@sda21(r2) +/* 80314E6C 00311DCC EC A1 00 32 */ fmuls f5, f1, f0 +/* 80314E70 00311DD0 C0 42 C9 88 */ lfs f2, lbl_805AE6A8@sda21(r2) +/* 80314E74 00311DD4 EC 21 01 32 */ fmuls f1, f1, f4 +/* 80314E78 00311DD8 C0 02 C9 8C */ lfs f0, lbl_805AE6AC@sda21(r2) +/* 80314E7C 00311DDC EC A1 28 FA */ fmadds f5, f1, f3, f5 +/* 80314E80 00311DE0 EC 21 01 32 */ fmuls f1, f1, f4 +/* 80314E84 00311DE4 EC A1 28 BA */ fmadds f5, f1, f2, f5 +/* 80314E88 00311DE8 EC 21 01 32 */ fmuls f1, f1, f4 +/* 80314E8C 00311DEC EC A1 28 3A */ fmadds f5, f1, f0, f5 +/* 80314E90 00311DF0 FC 20 28 90 */ fmr f1, f5 +/* 80314E94 00311DF4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80314E98 00311DF8 4E 80 00 20 */ blr + +.global BaryToWorld__5CMathFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f +BaryToWorld__5CMathFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f: +/* 80314E9C 00311DFC C0 A7 00 04 */ lfs f5, 4(r7) +/* 80314EA0 00311E00 C0 05 00 00 */ lfs f0, 0(r5) +/* 80314EA4 00311E04 C0 45 00 04 */ lfs f2, 4(r5) +/* 80314EA8 00311E08 C0 87 00 00 */ lfs f4, 0(r7) +/* 80314EAC 00311E0C EC 25 00 32 */ fmuls f1, f5, f0 +/* 80314EB0 00311E10 C0 04 00 00 */ lfs f0, 0(r4) +/* 80314EB4 00311E14 EC C5 00 B2 */ fmuls f6, f5, f2 +/* 80314EB8 00311E18 C0 64 00 04 */ lfs f3, 4(r4) +/* 80314EBC 00311E1C EC 44 00 32 */ fmuls f2, f4, f0 +/* 80314EC0 00311E20 C0 04 00 08 */ lfs f0, 8(r4) +/* 80314EC4 00311E24 EC E4 00 F2 */ fmuls f7, f4, f3 +/* 80314EC8 00311E28 C0 65 00 08 */ lfs f3, 8(r5) +/* 80314ECC 00311E2C C1 07 00 08 */ lfs f8, 8(r7) +/* 80314ED0 00311E30 EC 84 00 32 */ fmuls f4, f4, f0 +/* 80314ED4 00311E34 C0 06 00 00 */ lfs f0, 0(r6) +/* 80314ED8 00311E38 EC 65 00 F2 */ fmuls f3, f5, f3 +/* 80314EDC 00311E3C C0 A6 00 04 */ lfs f5, 4(r6) +/* 80314EE0 00311E40 EC 22 08 2A */ fadds f1, f2, f1 +/* 80314EE4 00311E44 EC 08 00 32 */ fmuls f0, f8, f0 +/* 80314EE8 00311E48 C0 46 00 08 */ lfs f2, 8(r6) +/* 80314EEC 00311E4C EC C7 30 2A */ fadds f6, f7, f6 +/* 80314EF0 00311E50 EC A8 01 72 */ fmuls f5, f8, f5 +/* 80314EF4 00311E54 EC 01 00 2A */ fadds f0, f1, f0 +/* 80314EF8 00311E58 EC 64 18 2A */ fadds f3, f4, f3 +/* 80314EFC 00311E5C EC 28 00 B2 */ fmuls f1, f8, f2 +/* 80314F00 00311E60 EC 46 28 2A */ fadds f2, f6, f5 +/* 80314F04 00311E64 D0 03 00 00 */ stfs f0, 0(r3) +/* 80314F08 00311E68 EC 03 08 2A */ fadds f0, f3, f1 +/* 80314F0C 00311E6C D0 43 00 04 */ stfs f2, 4(r3) +/* 80314F10 00311E70 D0 03 00 08 */ stfs f0, 8(r3) +/* 80314F14 00311E74 4E 80 00 20 */ blr + +.global GetBezierPoint__5CMathFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ff +GetBezierPoint__5CMathFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ff: +/* 80314F18 00311E78 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80314F1C 00311E7C DB E1 00 20 */ stfd f31, 0x20(r1) +/* 80314F20 00311E80 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 80314F24 00311E84 DB C1 00 10 */ stfd f30, 0x10(r1) +/* 80314F28 00311E88 F3 C1 00 18 */ psq_st f30, 24(r1), 0, qr0 +/* 80314F2C 00311E8C C0 02 C9 90 */ lfs f0, lbl_805AE6B0@sda21(r2) +/* 80314F30 00311E90 C0 47 00 00 */ lfs f2, 0(r7) +/* 80314F34 00311E94 C0 87 00 04 */ lfs f4, 4(r7) +/* 80314F38 00311E98 EC 00 08 28 */ fsubs f0, f0, f1 +/* 80314F3C 00311E9C C0 A6 00 00 */ lfs f5, 0(r6) +/* 80314F40 00311EA0 EC 42 00 72 */ fmuls f2, f2, f1 +/* 80314F44 00311EA4 C0 67 00 08 */ lfs f3, 8(r7) +/* 80314F48 00311EA8 EC 84 00 72 */ fmuls f4, f4, f1 +/* 80314F4C 00311EAC C1 26 00 04 */ lfs f9, 4(r6) +/* 80314F50 00311EB0 EC 45 10 3A */ fmadds f2, f5, f0, f2 +/* 80314F54 00311EB4 C0 E5 00 00 */ lfs f7, 0(r5) +/* 80314F58 00311EB8 EC C5 00 72 */ fmuls f6, f5, f1 +/* 80314F5C 00311EBC C3 E6 00 08 */ lfs f31, 8(r6) +/* 80314F60 00311EC0 EC 63 00 72 */ fmuls f3, f3, f1 +/* 80314F64 00311EC4 C1 05 00 04 */ lfs f8, 4(r5) +/* 80314F68 00311EC8 EC A9 00 72 */ fmuls f5, f9, f1 +/* 80314F6C 00311ECC C1 A5 00 08 */ lfs f13, 8(r5) +/* 80314F70 00311ED0 EC 89 20 3A */ fmadds f4, f9, f0, f4 +/* 80314F74 00311ED4 C1 84 00 00 */ lfs f12, 0(r4) +/* 80314F78 00311ED8 ED 67 00 72 */ fmuls f11, f7, f1 +/* 80314F7C 00311EDC C1 44 00 04 */ lfs f10, 4(r4) +/* 80314F80 00311EE0 EF C7 30 3A */ fmadds f30, f7, f0, f6 +/* 80314F84 00311EE4 C1 24 00 08 */ lfs f9, 8(r4) +/* 80314F88 00311EE8 EC 42 00 72 */ fmuls f2, f2, f1 +/* 80314F8C 00311EEC EC DF 00 72 */ fmuls f6, f31, f1 +/* 80314F90 00311EF0 EC 7F 18 3A */ fmadds f3, f31, f0, f3 +/* 80314F94 00311EF4 EC E8 00 72 */ fmuls f7, f8, f1 +/* 80314F98 00311EF8 EF E8 28 3A */ fmadds f31, f8, f0, f5 +/* 80314F9C 00311EFC EC A4 00 72 */ fmuls f5, f4, f1 +/* 80314FA0 00311F00 EC 5E 10 3A */ fmadds f2, f30, f0, f2 +/* 80314FA4 00311F04 ED 0D 00 72 */ fmuls f8, f13, f1 +/* 80314FA8 00311F08 ED AD 30 3A */ fmadds f13, f13, f0, f6 +/* 80314FAC 00311F0C EC 83 00 72 */ fmuls f4, f3, f1 +/* 80314FB0 00311F10 EC DF 28 3A */ fmadds f6, f31, f0, f5 +/* 80314FB4 00311F14 EC AC 58 3A */ fmadds f5, f12, f0, f11 +/* 80314FB8 00311F18 EC 7E 00 72 */ fmuls f3, f30, f1 +/* 80314FBC 00311F1C EC 8D 20 3A */ fmadds f4, f13, f0, f4 +/* 80314FC0 00311F20 ED 4A 38 3A */ fmadds f10, f10, f0, f7 +/* 80314FC4 00311F24 EC FF 00 72 */ fmuls f7, f31, f1 +/* 80314FC8 00311F28 EC 65 18 3A */ fmadds f3, f5, f0, f3 +/* 80314FCC 00311F2C EC 42 00 72 */ fmuls f2, f2, f1 +/* 80314FD0 00311F30 ED 09 40 3A */ fmadds f8, f9, f0, f8 +/* 80314FD4 00311F34 EC AD 00 72 */ fmuls f5, f13, f1 +/* 80314FD8 00311F38 EC 43 10 3A */ fmadds f2, f3, f0, f2 +/* 80314FDC 00311F3C EC EA 38 3A */ fmadds f7, f10, f0, f7 +/* 80314FE0 00311F40 EC C6 00 72 */ fmuls f6, f6, f1 +/* 80314FE4 00311F44 EC 68 28 3A */ fmadds f3, f8, f0, f5 +/* 80314FE8 00311F48 D0 43 00 00 */ stfs f2, 0(r3) +/* 80314FEC 00311F4C EC 24 00 72 */ fmuls f1, f4, f1 +/* 80314FF0 00311F50 EC 47 30 3A */ fmadds f2, f7, f0, f6 +/* 80314FF4 00311F54 EC 03 08 3A */ fmadds f0, f3, f0, f1 +/* 80314FF8 00311F58 D0 43 00 04 */ stfs f2, 4(r3) +/* 80314FFC 00311F5C D0 03 00 08 */ stfs f0, 8(r3) +/* 80315000 00311F60 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 80315004 00311F64 CB E1 00 20 */ lfd f31, 0x20(r1) +/* 80315008 00311F68 E3 C1 00 18 */ psq_l f30, 24(r1), 0, qr0 +/* 8031500C 00311F6C CB C1 00 10 */ lfd f30, 0x10(r1) +/* 80315010 00311F70 38 21 00 30 */ addi r1, r1, 0x30 +/* 80315014 00311F74 4E 80 00 20 */ blr + +.global GetCatmullRomSplinePoint__5CMathFfffff +GetCatmullRomSplinePoint__5CMathFfffff: +/* 80315018 00311F78 C0 02 C9 94 */ lfs f0, lbl_805AE6B4@sda21(r2) +/* 8031501C 00311F7C FC 05 00 40 */ fcmpo cr0, f5, f0 +/* 80315020 00311F80 4C 40 13 82 */ cror 2, 0, 2 +/* 80315024 00311F84 40 82 00 0C */ bne lbl_80315030 +/* 80315028 00311F88 FC 20 10 90 */ fmr f1, f2 +/* 8031502C 00311F8C 4E 80 00 20 */ blr +lbl_80315030: +/* 80315030 00311F90 C1 82 C9 90 */ lfs f12, lbl_805AE6B0@sda21(r2) +/* 80315034 00311F94 FC 05 60 40 */ fcmpo cr0, f5, f12 +/* 80315038 00311F98 4C 41 13 82 */ cror 2, 1, 2 +/* 8031503C 00311F9C 40 82 00 0C */ bne lbl_80315048 +/* 80315040 00311FA0 FC 20 18 90 */ fmr f1, f3 +/* 80315044 00311FA4 4E 80 00 20 */ blr +lbl_80315048: +/* 80315048 00311FA8 C0 C2 C9 A8 */ lfs f6, lbl_805AE6C8@sda21(r2) +/* 8031504C 00311FAC EC E5 01 72 */ fmuls f7, f5, f5 +/* 80315050 00311FB0 C0 02 C9 AC */ lfs f0, lbl_805AE6CC@sda21(r2) +/* 80315054 00311FB4 EC C6 01 72 */ fmuls f6, f6, f5 +/* 80315058 00311FB8 C1 02 C9 A4 */ lfs f8, lbl_805AE6C4@sda21(r2) +/* 8031505C 00311FBC EC 00 01 72 */ fmuls f0, f0, f5 +/* 80315060 00311FC0 C1 42 C9 9C */ lfs f10, lbl_805AE6BC@sda21(r2) +/* 80315064 00311FC4 ED 08 01 72 */ fmuls f8, f8, f5 +/* 80315068 00311FC8 C1 22 C9 A0 */ lfs f9, lbl_805AE6C0@sda21(r2) +/* 8031506C 00311FCC EC C6 01 72 */ fmuls f6, f6, f5 +/* 80315070 00311FD0 C1 62 C9 98 */ lfs f11, lbl_805AE6B8@sda21(r2) +/* 80315074 00311FD4 EC 00 01 72 */ fmuls f0, f0, f5 +/* 80315078 00311FD8 ED 4A 01 72 */ fmuls f10, f10, f5 +/* 8031507C 00311FDC ED 29 01 72 */ fmuls f9, f9, f5 +/* 80315080 00311FE0 ED 08 01 72 */ fmuls f8, f8, f5 +/* 80315084 00311FE4 EC 05 01 BA */ fmadds f0, f5, f6, f0 +/* 80315088 00311FE8 ED 6B 01 72 */ fmuls f11, f11, f5 +/* 8031508C 00311FEC EC C5 3A 3A */ fmadds f6, f5, f8, f7 +/* 80315090 00311FF0 EC 0C 00 2A */ fadds f0, f12, f0 +/* 80315094 00311FF4 ED 0A 01 72 */ fmuls f8, f10, f5 +/* 80315098 00311FF8 EC E9 01 72 */ fmuls f7, f9, f5 +/* 8031509C 00311FFC ED 2B 01 72 */ fmuls f9, f11, f5 +/* 803150A0 00312000 EC C6 58 28 */ fsubs f6, f6, f11 +/* 803150A4 00312004 EC E5 3A 3A */ fmadds f7, f5, f8, f7 +/* 803150A8 00312008 EC 02 00 32 */ fmuls f0, f2, f0 +/* 803150AC 0031200C EC A5 4A 78 */ fmsubs f5, f5, f9, f9 +/* 803150B0 00312010 EC 4B 38 2A */ fadds f2, f11, f7 +/* 803150B4 00312014 EC 01 01 BA */ fmadds f0, f1, f6, f0 +/* 803150B8 00312018 EC 03 00 BA */ fmadds f0, f3, f2, f0 +/* 803150BC 0031201C EC 24 01 7A */ fmadds f1, f4, f5, f0 +/* 803150C0 00312020 4E 80 00 20 */ blr + +.global GetCatmullRomSplinePoint__5CMathFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ff +GetCatmullRomSplinePoint__5CMathFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ff: +/* 803150C4 00312024 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 803150C8 00312028 DB E1 00 30 */ stfd f31, 0x30(r1) +/* 803150CC 0031202C F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 803150D0 00312030 DB C1 00 20 */ stfd f30, 0x20(r1) +/* 803150D4 00312034 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 +/* 803150D8 00312038 DB A1 00 10 */ stfd f29, 0x10(r1) +/* 803150DC 0031203C F3 A1 00 18 */ psq_st f29, 24(r1), 0, qr0 +/* 803150E0 00312040 C0 02 C9 94 */ lfs f0, lbl_805AE6B4@sda21(r2) +/* 803150E4 00312044 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 803150E8 00312048 4C 40 13 82 */ cror 2, 0, 2 +/* 803150EC 0031204C 40 82 00 20 */ bne lbl_8031510C +/* 803150F0 00312050 C0 05 00 00 */ lfs f0, 0(r5) +/* 803150F4 00312054 D0 03 00 00 */ stfs f0, 0(r3) +/* 803150F8 00312058 C0 05 00 04 */ lfs f0, 4(r5) +/* 803150FC 0031205C D0 03 00 04 */ stfs f0, 4(r3) +/* 80315100 00312060 C0 05 00 08 */ lfs f0, 8(r5) +/* 80315104 00312064 D0 03 00 08 */ stfs f0, 8(r3) +/* 80315108 00312068 48 00 01 28 */ b lbl_80315230 +lbl_8031510C: +/* 8031510C 0031206C C1 22 C9 90 */ lfs f9, lbl_805AE6B0@sda21(r2) +/* 80315110 00312070 FC 01 48 40 */ fcmpo cr0, f1, f9 +/* 80315114 00312074 4C 41 13 82 */ cror 2, 1, 2 +/* 80315118 00312078 40 82 00 20 */ bne lbl_80315138 +/* 8031511C 0031207C C0 06 00 00 */ lfs f0, 0(r6) +/* 80315120 00312080 D0 03 00 00 */ stfs f0, 0(r3) +/* 80315124 00312084 C0 06 00 04 */ lfs f0, 4(r6) +/* 80315128 00312088 D0 03 00 04 */ stfs f0, 4(r3) +/* 8031512C 0031208C C0 06 00 08 */ lfs f0, 8(r6) +/* 80315130 00312090 D0 03 00 08 */ stfs f0, 8(r3) +/* 80315134 00312094 48 00 00 FC */ b lbl_80315230 +lbl_80315138: +/* 80315138 00312098 C0 82 C9 A8 */ lfs f4, lbl_805AE6C8@sda21(r2) +/* 8031513C 0031209C EC 01 00 72 */ fmuls f0, f1, f1 +/* 80315140 003120A0 C0 62 C9 AC */ lfs f3, lbl_805AE6CC@sda21(r2) +/* 80315144 003120A4 C0 42 C9 A4 */ lfs f2, lbl_805AE6C4@sda21(r2) +/* 80315148 003120A8 EC 84 00 72 */ fmuls f4, f4, f1 +/* 8031514C 003120AC EC 63 00 72 */ fmuls f3, f3, f1 +/* 80315150 003120B0 C0 C2 C9 9C */ lfs f6, lbl_805AE6BC@sda21(r2) +/* 80315154 003120B4 EC 42 00 72 */ fmuls f2, f2, f1 +/* 80315158 003120B8 C0 A2 C9 A0 */ lfs f5, lbl_805AE6C0@sda21(r2) +/* 8031515C 003120BC ED 06 00 72 */ fmuls f8, f6, f1 +/* 80315160 003120C0 EC E5 00 72 */ fmuls f7, f5, f1 +/* 80315164 003120C4 EC 42 00 72 */ fmuls f2, f2, f1 +/* 80315168 003120C8 C0 A2 C9 98 */ lfs f5, lbl_805AE6B8@sda21(r2) +/* 8031516C 003120CC EC 84 00 72 */ fmuls f4, f4, f1 +/* 80315170 003120D0 C0 C5 00 00 */ lfs f6, 0(r5) +/* 80315174 003120D4 EC 63 00 72 */ fmuls f3, f3, f1 +/* 80315178 003120D8 ED 45 00 72 */ fmuls f10, f5, f1 +/* 8031517C 003120DC EC 01 00 BA */ fmadds f0, f1, f2, f0 +/* 80315180 003120E0 C0 A4 00 00 */ lfs f5, 0(r4) +/* 80315184 003120E4 EC 61 19 3A */ fmadds f3, f1, f4, f3 +/* 80315188 003120E8 C0 44 00 04 */ lfs f2, 4(r4) +/* 8031518C 003120EC ED 08 00 72 */ fmuls f8, f8, f1 +/* 80315190 003120F0 EF A0 50 28 */ fsubs f29, f0, f10 +/* 80315194 003120F4 EC E7 00 72 */ fmuls f7, f7, f1 +/* 80315198 003120F8 C0 05 00 04 */ lfs f0, 4(r5) +/* 8031519C 003120FC EF C9 18 2A */ fadds f30, f9, f3 +/* 803151A0 00312100 C0 84 00 08 */ lfs f4, 8(r4) +/* 803151A4 00312104 ED 2A 00 72 */ fmuls f9, f10, f1 +/* 803151A8 00312108 EC E1 3A 3A */ fmadds f7, f1, f8, f7 +/* 803151AC 0031210C C0 65 00 08 */ lfs f3, 8(r5) +/* 803151B0 00312110 ED 7E 01 B2 */ fmuls f11, f30, f6 +/* 803151B4 00312114 ED 9D 01 72 */ fmuls f12, f29, f5 +/* 803151B8 00312118 C0 A6 00 00 */ lfs f5, 0(r6) +/* 803151BC 0031211C EF EA 38 2A */ fadds f31, f10, f7 +/* 803151C0 00312120 C0 C6 00 04 */ lfs f6, 4(r6) +/* 803151C4 00312124 ED 1D 00 B2 */ fmuls f8, f29, f2 +/* 803151C8 00312128 EC FE 00 32 */ fmuls f7, f30, f0 +/* 803151CC 0031212C C0 46 00 08 */ lfs f2, 8(r6) +/* 803151D0 00312130 ED A1 4A 78 */ fmsubs f13, f1, f9, f9 +/* 803151D4 00312134 C1 27 00 00 */ lfs f9, 0(r7) +/* 803151D8 00312138 ED 5F 01 72 */ fmuls f10, f31, f5 +/* 803151DC 0031213C EC 0C 58 2A */ fadds f0, f12, f11 +/* 803151E0 00312140 C0 A7 00 04 */ lfs f5, 4(r7) +/* 803151E4 00312144 EC 9D 01 32 */ fmuls f4, f29, f4 +/* 803151E8 00312148 EC 7E 00 F2 */ fmuls f3, f30, f3 +/* 803151EC 0031214C C0 27 00 08 */ lfs f1, 8(r7) +/* 803151F0 00312150 EC E8 38 2A */ fadds f7, f8, f7 +/* 803151F4 00312154 EC DF 01 B2 */ fmuls f6, f31, f6 +/* 803151F8 00312158 ED 0D 02 72 */ fmuls f8, f13, f9 +/* 803151FC 0031215C EC 00 50 2A */ fadds f0, f0, f10 +/* 80315200 00312160 EC 64 18 2A */ fadds f3, f4, f3 +/* 80315204 00312164 EC 5F 00 B2 */ fmuls f2, f31, f2 +/* 80315208 00312168 EC 00 40 2A */ fadds f0, f0, f8 +/* 8031520C 0031216C EC C7 30 2A */ fadds f6, f7, f6 +/* 80315210 00312170 EC 8D 01 72 */ fmuls f4, f13, f5 +/* 80315214 00312174 EC 43 10 2A */ fadds f2, f3, f2 +/* 80315218 00312178 D0 03 00 00 */ stfs f0, 0(r3) +/* 8031521C 0031217C EC 0D 00 72 */ fmuls f0, f13, f1 +/* 80315220 00312180 EC 26 20 2A */ fadds f1, f6, f4 +/* 80315224 00312184 EC 02 00 2A */ fadds f0, f2, f0 +/* 80315228 00312188 D0 23 00 04 */ stfs f1, 4(r3) +/* 8031522C 0031218C D0 03 00 08 */ stfs f0, 8(r3) +lbl_80315230: +/* 80315230 00312190 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 80315234 00312194 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 80315238 00312198 E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 +/* 8031523C 0031219C CB C1 00 20 */ lfd f30, 0x20(r1) +/* 80315240 003121A0 E3 A1 00 18 */ psq_l f29, 24(r1), 0, qr0 +/* 80315244 003121A4 CB A1 00 10 */ lfd f29, 0x10(r1) +/* 80315248 003121A8 38 21 00 40 */ addi r1, r1, 0x40 +/* 8031524C 003121AC 4E 80 00 20 */ blr + +.global CeilingF__5CMathFf +CeilingF__5CMathFf: +/* 80315250 003121B0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80315254 003121B4 7C 08 02 A6 */ mflr r0 +/* 80315258 003121B8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8031525C 003121BC DB E1 00 10 */ stfd f31, 0x10(r1) +/* 80315260 003121C0 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 +/* 80315264 003121C4 FF E0 08 90 */ fmr f31, f1 +/* 80315268 003121C8 48 00 00 35 */ bl FloorF__5CMathFf +/* 8031526C 003121CC FC 01 F8 00 */ fcmpu cr0, f1, f31 +/* 80315270 003121D0 40 82 00 0C */ bne lbl_8031527C +/* 80315274 003121D4 FC 20 F8 90 */ fmr f1, f31 +/* 80315278 003121D8 48 00 00 0C */ b lbl_80315284 +lbl_8031527C: +/* 8031527C 003121DC C0 02 C9 90 */ lfs f0, lbl_805AE6B0@sda21(r2) +/* 80315280 003121E0 EC 20 08 2A */ fadds f1, f0, f1 +lbl_80315284: +/* 80315284 003121E4 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 +/* 80315288 003121E8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8031528C 003121EC CB E1 00 10 */ lfd f31, 0x10(r1) +/* 80315290 003121F0 7C 08 03 A6 */ mtlr r0 +/* 80315294 003121F4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80315298 003121F8 4E 80 00 20 */ blr + +.global FloorF__5CMathFf +FloorF__5CMathFf: +/* 8031529C 003121FC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803152A0 00312200 7C 08 02 A6 */ mflr r0 +/* 803152A4 00312204 90 01 00 14 */ stw r0, 0x14(r1) +/* 803152A8 00312208 48 07 F2 1D */ bl floor +/* 803152AC 0031220C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803152B0 00312210 FC 20 08 18 */ frsp f1, f1 +/* 803152B4 00312214 7C 08 03 A6 */ mtlr r0 +/* 803152B8 00312218 38 21 00 10 */ addi r1, r1, 0x10 +/* 803152BC 0031221C 4E 80 00 20 */ blr + +.global SlowTangentR__5CMathFf +SlowTangentR__5CMathFf: +/* 803152C0 00312220 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803152C4 00312224 7C 08 02 A6 */ mflr r0 +/* 803152C8 00312228 90 01 00 14 */ stw r0, 0x14(r1) +/* 803152CC 0031222C 48 07 F8 E9 */ bl tan +/* 803152D0 00312230 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803152D4 00312234 FC 20 08 18 */ frsp f1, f1 +/* 803152D8 00312238 7C 08 03 A6 */ mtlr r0 +/* 803152DC 0031223C 38 21 00 10 */ addi r1, r1, 0x10 +/* 803152E0 00312240 4E 80 00 20 */ blr + +.global SlowCosineR__5CMathFf +SlowCosineR__5CMathFf: +/* 803152E4 00312244 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803152E8 00312248 7C 08 02 A6 */ mflr r0 +/* 803152EC 0031224C 90 01 00 14 */ stw r0, 0x14(r1) +/* 803152F0 00312250 48 07 F1 01 */ bl cos +/* 803152F4 00312254 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803152F8 00312258 FC 20 08 18 */ frsp f1, f1 +/* 803152FC 0031225C 7C 08 03 A6 */ mtlr r0 +/* 80315300 00312260 38 21 00 10 */ addi r1, r1, 0x10 +/* 80315304 00312264 4E 80 00 20 */ blr + +.global SlowSineR__5CMathFf +SlowSineR__5CMathFf: +/* 80315308 00312268 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8031530C 0031226C 7C 08 02 A6 */ mflr r0 +/* 80315310 00312270 90 01 00 14 */ stw r0, 0x14(r1) +/* 80315314 00312274 48 07 F7 C9 */ bl sin +/* 80315318 00312278 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8031531C 0031227C FC 20 08 18 */ frsp f1, f1 +/* 80315320 00312280 7C 08 03 A6 */ mtlr r0 +/* 80315324 00312284 38 21 00 10 */ addi r1, r1, 0x10 +/* 80315328 00312288 4E 80 00 20 */ blr + +.global PowF__5CMathFff +PowF__5CMathFff: +/* 8031532C 0031228C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80315330 00312290 7C 08 02 A6 */ mflr r0 +/* 80315334 00312294 90 01 00 24 */ stw r0, 0x24(r1) +/* 80315338 00312298 DB E1 00 10 */ stfd f31, 0x10(r1) +/* 8031533C 0031229C F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 +/* 80315340 003122A0 FF E0 10 90 */ fmr f31, f2 +/* 80315344 003122A4 48 07 F9 89 */ bl log +/* 80315348 003122A8 FC 3F 00 72 */ fmul f1, f31, f1 +/* 8031534C 003122AC 48 07 F9 41 */ bl exp +/* 80315350 003122B0 FC 20 08 18 */ frsp f1, f1 +/* 80315354 003122B4 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 +/* 80315358 003122B8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8031535C 003122BC CB E1 00 10 */ lfd f31, 0x10(r1) +/* 80315360 003122C0 7C 08 03 A6 */ mtlr r0 +/* 80315364 003122C4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80315368 003122C8 4E 80 00 20 */ blr + +.global ArcTangentR__5CMathFf +ArcTangentR__5CMathFf: +/* 8031536C 003122CC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80315370 003122D0 7C 08 02 A6 */ mflr r0 +/* 80315374 003122D4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80315378 003122D8 48 07 EE 51 */ bl atan +/* 8031537C 003122DC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80315380 003122E0 FC 20 08 18 */ frsp f1, f1 +/* 80315384 003122E4 7C 08 03 A6 */ mtlr r0 +/* 80315388 003122E8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8031538C 003122EC 4E 80 00 20 */ blr + +.global ArcCosineR__5CMathFf +ArcCosineR__5CMathFf: +/* 80315390 003122F0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80315394 003122F4 7C 08 02 A6 */ mflr r0 +/* 80315398 003122F8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8031539C 003122FC 48 07 F8 91 */ bl acos +/* 803153A0 00312300 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803153A4 00312304 FC 20 08 18 */ frsp f1, f1 +/* 803153A8 00312308 7C 08 03 A6 */ mtlr r0 +/* 803153AC 0031230C 38 21 00 10 */ addi r1, r1, 0x10 +/* 803153B0 00312310 4E 80 00 20 */ blr + +.global ArcSineR__5CMathFf +ArcSineR__5CMathFf: +/* 803153B4 00312314 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803153B8 00312318 7C 08 02 A6 */ mflr r0 +/* 803153BC 0031231C 90 01 00 14 */ stw r0, 0x14(r1) +/* 803153C0 00312320 48 07 F8 8D */ bl asin +/* 803153C4 00312324 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803153C8 00312328 FC 20 08 18 */ frsp f1, f1 +/* 803153CC 0031232C 7C 08 03 A6 */ mtlr r0 +/* 803153D0 00312330 38 21 00 10 */ addi r1, r1, 0x10 +/* 803153D4 00312334 4E 80 00 20 */ blr + +.global InvSqrtF__5CMathFf +InvSqrtF__5CMathFf: +/* 803153D8 00312338 C8 42 C9 B0 */ lfd f2, lbl_805AE6D0@sda21(r2) +/* 803153DC 0031233C FC 01 10 40 */ fcmpo cr0, f1, f2 +/* 803153E0 00312340 40 81 00 58 */ ble lbl_80315438 +/* 803153E4 00312344 FC 40 08 34 */ frsqrte f2, f1 +/* 803153E8 00312348 C8 82 C9 B8 */ lfd f4, lbl_805AE6D8@sda21(r2) +/* 803153EC 0031234C C8 62 C9 C0 */ lfd f3, lbl_805AE6E0@sda21(r2) +/* 803153F0 00312350 FC 02 00 B2 */ fmul f0, f2, f2 +/* 803153F4 00312354 FC 44 00 B2 */ fmul f2, f4, f2 +/* 803153F8 00312358 FC 01 18 3C */ fnmsub f0, f1, f0, f3 +/* 803153FC 0031235C FC 42 00 32 */ fmul f2, f2, f0 +/* 80315400 00312360 FC 02 00 B2 */ fmul f0, f2, f2 +/* 80315404 00312364 FC 44 00 B2 */ fmul f2, f4, f2 +/* 80315408 00312368 FC 01 18 3C */ fnmsub f0, f1, f0, f3 +/* 8031540C 0031236C FC 42 00 32 */ fmul f2, f2, f0 +/* 80315410 00312370 FC 02 00 B2 */ fmul f0, f2, f2 +/* 80315414 00312374 FC 44 00 B2 */ fmul f2, f4, f2 +/* 80315418 00312378 FC 01 18 3C */ fnmsub f0, f1, f0, f3 +/* 8031541C 0031237C FC 42 00 32 */ fmul f2, f2, f0 +/* 80315420 00312380 FC 02 00 B2 */ fmul f0, f2, f2 +/* 80315424 00312384 FC 44 00 B2 */ fmul f2, f4, f2 +/* 80315428 00312388 FC 01 18 3C */ fnmsub f0, f1, f0, f3 +/* 8031542C 0031238C FC 02 00 32 */ fmul f0, f2, f0 +/* 80315430 00312390 FC 41 00 32 */ fmul f2, f1, f0 +/* 80315434 00312394 48 00 00 2C */ b lbl_80315460 +lbl_80315438: +/* 80315438 00312398 FC 02 08 00 */ fcmpu cr0, f2, f1 +/* 8031543C 0031239C 40 82 00 08 */ bne lbl_80315444 +/* 80315440 003123A0 48 00 00 20 */ b lbl_80315460 +lbl_80315444: +/* 80315444 003123A4 FC 01 10 00 */ fcmpu cr0, f1, f2 +/* 80315448 003123A8 41 82 00 10 */ beq lbl_80315458 +/* 8031544C 003123AC 3C 60 80 5B */ lis r3, lbl_805A8BA0@ha +/* 80315450 003123B0 C0 43 8B A0 */ lfs f2, lbl_805A8BA0@l(r3) +/* 80315454 003123B4 48 00 00 0C */ b lbl_80315460 +lbl_80315458: +/* 80315458 003123B8 3C 60 80 5B */ lis r3, lbl_805A8BA4@ha +/* 8031545C 003123BC C0 43 8B A4 */ lfs f2, lbl_805A8BA4@l(r3) +lbl_80315460: +/* 80315460 003123C0 C8 02 C9 C8 */ lfd f0, lbl_805AE6E8@sda21(r2) +/* 80315464 003123C4 FC 20 10 24 */ fdiv f1, f0, f2 +/* 80315468 003123C8 FC 20 08 18 */ frsp f1, f1 +/* 8031546C 003123CC 4E 80 00 20 */ blr + +.global SqrtD__5CMathFd +SqrtD__5CMathFd: +/* 80315470 003123D0 C8 02 C9 B0 */ lfd f0, lbl_805AE6D0@sda21(r2) +/* 80315474 003123D4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80315478 003123D8 40 81 00 58 */ ble lbl_803154D0 +/* 8031547C 003123DC FC 40 08 34 */ frsqrte f2, f1 +/* 80315480 003123E0 C8 82 C9 B8 */ lfd f4, lbl_805AE6D8@sda21(r2) +/* 80315484 003123E4 C8 62 C9 C0 */ lfd f3, lbl_805AE6E0@sda21(r2) +/* 80315488 003123E8 FC 02 00 B2 */ fmul f0, f2, f2 +/* 8031548C 003123EC FC 44 00 B2 */ fmul f2, f4, f2 +/* 80315490 003123F0 FC 01 18 3C */ fnmsub f0, f1, f0, f3 +/* 80315494 003123F4 FC 42 00 32 */ fmul f2, f2, f0 +/* 80315498 003123F8 FC 02 00 B2 */ fmul f0, f2, f2 +/* 8031549C 003123FC FC 44 00 B2 */ fmul f2, f4, f2 +/* 803154A0 00312400 FC 01 18 3C */ fnmsub f0, f1, f0, f3 +/* 803154A4 00312404 FC 42 00 32 */ fmul f2, f2, f0 +/* 803154A8 00312408 FC 02 00 B2 */ fmul f0, f2, f2 +/* 803154AC 0031240C FC 44 00 B2 */ fmul f2, f4, f2 +/* 803154B0 00312410 FC 01 18 3C */ fnmsub f0, f1, f0, f3 +/* 803154B4 00312414 FC 42 00 32 */ fmul f2, f2, f0 +/* 803154B8 00312418 FC 02 00 B2 */ fmul f0, f2, f2 +/* 803154BC 0031241C FC 44 00 B2 */ fmul f2, f4, f2 +/* 803154C0 00312420 FC 01 18 3C */ fnmsub f0, f1, f0, f3 +/* 803154C4 00312424 FC 02 00 32 */ fmul f0, f2, f0 +/* 803154C8 00312428 FC 01 00 32 */ fmul f0, f1, f0 +/* 803154CC 0031242C 48 00 00 2C */ b lbl_803154F8 +lbl_803154D0: +/* 803154D0 00312430 FC 00 08 00 */ fcmpu cr0, f0, f1 +/* 803154D4 00312434 40 82 00 08 */ bne lbl_803154DC +/* 803154D8 00312438 48 00 00 20 */ b lbl_803154F8 +lbl_803154DC: +/* 803154DC 0031243C FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 803154E0 00312440 41 82 00 10 */ beq lbl_803154F0 +/* 803154E4 00312444 3C 60 80 5B */ lis r3, lbl_805A8BA0@ha +/* 803154E8 00312448 C0 03 8B A0 */ lfs f0, lbl_805A8BA0@l(r3) +/* 803154EC 0031244C 48 00 00 0C */ b lbl_803154F8 +lbl_803154F0: +/* 803154F0 00312450 3C 60 80 5B */ lis r3, lbl_805A8BA4@ha +/* 803154F4 00312454 C0 03 8B A4 */ lfs f0, lbl_805A8BA4@l(r3) +lbl_803154F8: +/* 803154F8 00312458 FC 20 00 90 */ fmr f1, f0 +/* 803154FC 0031245C 4E 80 00 20 */ blr + +.global SqrtF__5CMathFf +SqrtF__5CMathFf: +/* 80315500 00312460 C8 02 C9 B0 */ lfd f0, lbl_805AE6D0@sda21(r2) +/* 80315504 00312464 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80315508 00312468 40 81 00 58 */ ble lbl_80315560 +/* 8031550C 0031246C FC 40 08 34 */ frsqrte f2, f1 +/* 80315510 00312470 C8 82 C9 B8 */ lfd f4, lbl_805AE6D8@sda21(r2) +/* 80315514 00312474 C8 62 C9 C0 */ lfd f3, lbl_805AE6E0@sda21(r2) +/* 80315518 00312478 FC 02 00 B2 */ fmul f0, f2, f2 +/* 8031551C 0031247C FC 44 00 B2 */ fmul f2, f4, f2 +/* 80315520 00312480 FC 01 18 3C */ fnmsub f0, f1, f0, f3 +/* 80315524 00312484 FC 42 00 32 */ fmul f2, f2, f0 +/* 80315528 00312488 FC 02 00 B2 */ fmul f0, f2, f2 +/* 8031552C 0031248C FC 44 00 B2 */ fmul f2, f4, f2 +/* 80315530 00312490 FC 01 18 3C */ fnmsub f0, f1, f0, f3 +/* 80315534 00312494 FC 42 00 32 */ fmul f2, f2, f0 +/* 80315538 00312498 FC 02 00 B2 */ fmul f0, f2, f2 +/* 8031553C 0031249C FC 44 00 B2 */ fmul f2, f4, f2 +/* 80315540 003124A0 FC 01 18 3C */ fnmsub f0, f1, f0, f3 +/* 80315544 003124A4 FC 42 00 32 */ fmul f2, f2, f0 +/* 80315548 003124A8 FC 02 00 B2 */ fmul f0, f2, f2 +/* 8031554C 003124AC FC 44 00 B2 */ fmul f2, f4, f2 +/* 80315550 003124B0 FC 01 18 3C */ fnmsub f0, f1, f0, f3 +/* 80315554 003124B4 FC 02 00 32 */ fmul f0, f2, f0 +/* 80315558 003124B8 FC 01 00 32 */ fmul f0, f1, f0 +/* 8031555C 003124BC 48 00 00 2C */ b lbl_80315588 +lbl_80315560: +/* 80315560 003124C0 FC 00 08 00 */ fcmpu cr0, f0, f1 +/* 80315564 003124C4 40 82 00 08 */ bne lbl_8031556C +/* 80315568 003124C8 48 00 00 20 */ b lbl_80315588 +lbl_8031556C: +/* 8031556C 003124CC FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80315570 003124D0 41 82 00 10 */ beq lbl_80315580 +/* 80315574 003124D4 3C 60 80 5B */ lis r3, lbl_805A8BA0@ha +/* 80315578 003124D8 C0 03 8B A0 */ lfs f0, lbl_805A8BA0@l(r3) +/* 8031557C 003124DC 48 00 00 0C */ b lbl_80315588 +lbl_80315580: +/* 80315580 003124E0 3C 60 80 5B */ lis r3, lbl_805A8BA4@ha +/* 80315584 003124E4 C0 03 8B A4 */ lfs f0, lbl_805A8BA4@l(r3) +lbl_80315588: +/* 80315588 003124E8 FC 20 00 18 */ frsp f1, f0 +/* 8031558C 003124EC 4E 80 00 20 */ blr diff --git a/asm/Kyoto/PVS/CPVSVisOctree.s b/asm/Kyoto/PVS/CPVSVisOctree.s new file mode 100644 index 00000000..709f5668 --- /dev/null +++ b/asm/Kyoto/PVS/CPVSVisOctree.s @@ -0,0 +1,159 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global GetNumChildren__13CPVSVisOctreeCFUc +GetNumChildren__13CPVSVisOctreeCFUc: +/* 80315D78 00312CD8 3C 60 80 3D */ lis r3, lbl_803D7820@ha +/* 80315D7C 00312CDC 54 80 16 FA */ rlwinm r0, r4, 2, 0x1b, 0x1d +/* 80315D80 00312CE0 38 63 78 20 */ addi r3, r3, lbl_803D7820@l +/* 80315D84 00312CE4 7C 63 00 2E */ lwzx r3, r3, r0 +/* 80315D88 00312CE8 4E 80 00 20 */ blr + +.global IterateSearch__13CPVSVisOctreeCFUcRC9CVector3f +IterateSearch__13CPVSVisOctreeCFUcRC9CVector3f: +/* 80315D8C 00312CEC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80315D90 00312CF0 54 80 07 7F */ clrlwi. r0, r4, 0x1d +/* 80315D94 00312CF4 54 84 06 3E */ clrlwi r4, r4, 0x18 +/* 80315D98 00312CF8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80315D9C 00312CFC 40 82 00 0C */ bne lbl_80315DA8 +/* 80315DA0 00312D00 38 60 FF FF */ li r3, -1 +/* 80315DA4 00312D04 48 00 01 C8 */ b lbl_80315F6C +lbl_80315DA8: +/* 80315DA8 00312D08 C0 23 00 38 */ lfs f1, 0x38(r3) +/* 80315DAC 00312D0C C0 63 00 2C */ lfs f3, 0x2c(r3) +/* 80315DB0 00312D10 C0 03 00 3C */ lfs f0, 0x3c(r3) +/* 80315DB4 00312D14 C0 E3 00 30 */ lfs f7, 0x30(r3) +/* 80315DB8 00312D18 EC 21 18 28 */ fsubs f1, f1, f3 +/* 80315DBC 00312D1C C0 82 C9 D0 */ lfs f4, lbl_805AE6F0@sda21(r2) +/* 80315DC0 00312D20 EC C0 38 28 */ fsubs f6, f0, f7 +/* 80315DC4 00312D24 C0 43 00 40 */ lfs f2, 0x40(r3) +/* 80315DC8 00312D28 C1 03 00 34 */ lfs f8, 0x34(r3) +/* 80315DCC 00312D2C EC 24 00 72 */ fmuls f1, f4, f1 +/* 80315DD0 00312D30 C0 05 00 00 */ lfs f0, 0(r5) +/* 80315DD4 00312D34 EC A2 40 28 */ fsubs f5, f2, f8 +/* 80315DD8 00312D38 EC 61 18 2A */ fadds f3, f1, f3 +/* 80315DDC 00312D3C EC 44 01 B2 */ fmuls f2, f4, f6 +/* 80315DE0 00312D40 EC 24 01 72 */ fmuls f1, f4, f5 +/* 80315DE4 00312D44 FC 00 18 40 */ fcmpo cr0, f0, f3 +/* 80315DE8 00312D48 D0 61 00 08 */ stfs f3, 8(r1) +/* 80315DEC 00312D4C EC 42 38 2A */ fadds f2, f2, f7 +/* 80315DF0 00312D50 EC 21 40 2A */ fadds f1, f1, f8 +/* 80315DF4 00312D54 D0 41 00 0C */ stfs f2, 0xc(r1) +/* 80315DF8 00312D58 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 80315DFC 00312D5C 40 81 00 10 */ ble lbl_80315E0C +/* 80315E00 00312D60 C0 83 00 38 */ lfs f4, 0x38(r3) +/* 80315E04 00312D64 39 60 00 01 */ li r11, 1 +/* 80315E08 00312D68 48 00 00 10 */ b lbl_80315E18 +lbl_80315E0C: +/* 80315E0C 00312D6C FC 80 18 90 */ fmr f4, f3 +/* 80315E10 00312D70 C0 63 00 2C */ lfs f3, 0x2c(r3) +/* 80315E14 00312D74 39 60 00 00 */ li r11, 0 +lbl_80315E18: +/* 80315E18 00312D78 C0 05 00 04 */ lfs f0, 4(r5) +/* 80315E1C 00312D7C C0 21 00 0C */ lfs f1, 0xc(r1) +/* 80315E20 00312D80 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80315E24 00312D84 40 81 00 14 */ ble lbl_80315E38 +/* 80315E28 00312D88 FC 40 08 90 */ fmr f2, f1 +/* 80315E2C 00312D8C C0 A3 00 3C */ lfs f5, 0x3c(r3) +/* 80315E30 00312D90 38 C0 00 01 */ li r6, 1 +/* 80315E34 00312D94 48 00 00 10 */ b lbl_80315E44 +lbl_80315E38: +/* 80315E38 00312D98 FC A0 08 90 */ fmr f5, f1 +/* 80315E3C 00312D9C C0 43 00 30 */ lfs f2, 0x30(r3) +/* 80315E40 00312DA0 38 C0 00 00 */ li r6, 0 +lbl_80315E44: +/* 80315E44 00312DA4 C0 05 00 08 */ lfs f0, 8(r5) +/* 80315E48 00312DA8 C0 21 00 10 */ lfs f1, 0x10(r1) +/* 80315E4C 00312DAC FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80315E50 00312DB0 40 81 00 14 */ ble lbl_80315E64 +/* 80315E54 00312DB4 FC 00 08 90 */ fmr f0, f1 +/* 80315E58 00312DB8 C0 C3 00 40 */ lfs f6, 0x40(r3) +/* 80315E5C 00312DBC 38 00 00 01 */ li r0, 1 +/* 80315E60 00312DC0 48 00 00 10 */ b lbl_80315E70 +lbl_80315E64: +/* 80315E64 00312DC4 FC C0 08 90 */ fmr f6, f1 +/* 80315E68 00312DC8 C0 03 00 34 */ lfs f0, 0x34(r3) +/* 80315E6C 00312DCC 38 00 00 00 */ li r0, 0 +lbl_80315E70: +/* 80315E70 00312DD0 54 89 07 FF */ clrlwi. r9, r4, 0x1f +/* 80315E74 00312DD4 39 80 00 01 */ li r12, 1 +/* 80315E78 00312DD8 3B E0 00 01 */ li r31, 1 +/* 80315E7C 00312DDC 41 82 00 08 */ beq lbl_80315E84 +/* 80315E80 00312DE0 39 80 00 02 */ li r12, 2 +lbl_80315E84: +/* 80315E84 00312DE4 54 88 07 BD */ rlwinm. r8, r4, 0, 0x1e, 0x1e +/* 80315E88 00312DE8 41 82 00 08 */ beq lbl_80315E90 +/* 80315E8C 00312DEC 3B E0 00 02 */ li r31, 2 +lbl_80315E90: +/* 80315E90 00312DF0 54 8A 07 7B */ rlwinm. r10, r4, 0, 0x1d, 0x1d +/* 80315E94 00312DF4 41 82 00 0C */ beq lbl_80315EA0 +/* 80315E98 00312DF8 FC 20 00 90 */ fmr f1, f0 +/* 80315E9C 00312DFC 48 00 00 08 */ b lbl_80315EA4 +lbl_80315EA0: +/* 80315EA0 00312E00 C0 23 00 34 */ lfs f1, 0x34(r3) +lbl_80315EA4: +/* 80315EA4 00312E04 2C 08 00 00 */ cmpwi r8, 0 +/* 80315EA8 00312E08 41 82 00 08 */ beq lbl_80315EB0 +/* 80315EAC 00312E0C 48 00 00 08 */ b lbl_80315EB4 +lbl_80315EB0: +/* 80315EB0 00312E10 C0 43 00 30 */ lfs f2, 0x30(r3) +lbl_80315EB4: +/* 80315EB4 00312E14 2C 09 00 00 */ cmpwi r9, 0 +/* 80315EB8 00312E18 41 82 00 0C */ beq lbl_80315EC4 +/* 80315EBC 00312E1C FC 00 18 90 */ fmr f0, f3 +/* 80315EC0 00312E20 48 00 00 08 */ b lbl_80315EC8 +lbl_80315EC4: +/* 80315EC4 00312E24 C0 03 00 2C */ lfs f0, 0x2c(r3) +lbl_80315EC8: +/* 80315EC8 00312E28 D0 03 00 2C */ stfs f0, 0x2c(r3) +/* 80315ECC 00312E2C 2C 0A 00 00 */ cmpwi r10, 0 +/* 80315ED0 00312E30 D0 43 00 30 */ stfs f2, 0x30(r3) +/* 80315ED4 00312E34 D0 23 00 34 */ stfs f1, 0x34(r3) +/* 80315ED8 00312E38 41 82 00 0C */ beq lbl_80315EE4 +/* 80315EDC 00312E3C FC 20 30 90 */ fmr f1, f6 +/* 80315EE0 00312E40 48 00 00 08 */ b lbl_80315EE8 +lbl_80315EE4: +/* 80315EE4 00312E44 C0 23 00 40 */ lfs f1, 0x40(r3) +lbl_80315EE8: +/* 80315EE8 00312E48 2C 08 00 00 */ cmpwi r8, 0 +/* 80315EEC 00312E4C 41 82 00 0C */ beq lbl_80315EF8 +/* 80315EF0 00312E50 FC 40 28 90 */ fmr f2, f5 +/* 80315EF4 00312E54 48 00 00 08 */ b lbl_80315EFC +lbl_80315EF8: +/* 80315EF8 00312E58 C0 43 00 3C */ lfs f2, 0x3c(r3) +lbl_80315EFC: +/* 80315EFC 00312E5C 2C 09 00 00 */ cmpwi r9, 0 +/* 80315F00 00312E60 41 82 00 0C */ beq lbl_80315F0C +/* 80315F04 00312E64 FC 00 20 90 */ fmr f0, f4 +/* 80315F08 00312E68 48 00 00 08 */ b lbl_80315F10 +lbl_80315F0C: +/* 80315F0C 00312E6C C0 03 00 38 */ lfs f0, 0x38(r3) +lbl_80315F10: +/* 80315F10 00312E70 54 00 06 3E */ clrlwi r0, r0, 0x18 +/* 80315F14 00312E74 54 C5 06 3E */ clrlwi r5, r6, 0x18 +/* 80315F18 00312E78 7C 00 61 D6 */ mullw r0, r0, r12 +/* 80315F1C 00312E7C 7C C8 00 D0 */ neg r6, r8 +/* 80315F20 00312E80 7C 8A 00 D0 */ neg r4, r10 +/* 80315F24 00312E84 D0 03 00 38 */ stfs f0, 0x38(r3) +/* 80315F28 00312E88 7C E9 00 D0 */ neg r7, r9 +/* 80315F2C 00312E8C 7C C6 43 78 */ or r6, r6, r8 +/* 80315F30 00312E90 7C A5 61 D6 */ mullw r5, r5, r12 +/* 80315F34 00312E94 7C 84 53 78 */ or r4, r4, r10 +/* 80315F38 00312E98 7C E7 4B 78 */ or r7, r7, r9 +/* 80315F3C 00312E9C D0 43 00 3C */ stfs f2, 0x3c(r3) +/* 80315F40 00312EA0 54 C6 0F FE */ srwi r6, r6, 0x1f +/* 80315F44 00312EA4 54 84 0F FE */ srwi r4, r4, 0x1f +/* 80315F48 00312EA8 7C 1F 01 D6 */ mullw r0, r31, r0 +/* 80315F4C 00312EAC 55 68 06 3E */ clrlwi r8, r11, 0x18 +/* 80315F50 00312EB0 54 E7 0F FE */ srwi r7, r7, 0x1f +/* 80315F54 00312EB4 D0 23 00 40 */ stfs f1, 0x40(r3) +/* 80315F58 00312EB8 7C 66 29 D6 */ mullw r3, r6, r5 +/* 80315F5C 00312EBC 7C 04 01 D6 */ mullw r0, r4, r0 +/* 80315F60 00312EC0 7C 88 39 D6 */ mullw r4, r8, r7 +/* 80315F64 00312EC4 7C 63 02 14 */ add r3, r3, r0 +/* 80315F68 00312EC8 7C 64 1A 14 */ add r3, r4, r3 +lbl_80315F6C: +/* 80315F6C 00312ECC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80315F70 00312ED0 38 21 00 20 */ addi r1, r1, 0x20 +/* 80315F74 00312ED4 4E 80 00 20 */ blr diff --git a/asm/Kyoto/PVS/CPVSVisSet.s b/asm/Kyoto/PVS/CPVSVisSet.s new file mode 100644 index 00000000..04fc936e --- /dev/null +++ b/asm/Kyoto/PVS/CPVSVisSet.s @@ -0,0 +1,315 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global SetTestPoint__10CPVSVisSetFRC13CPVSVisOctreeRC9CVector3f +SetTestPoint__10CPVSVisSetFRC13CPVSVisOctreeRC9CVector3f: +/* 80315F78 00312ED8 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80315F7C 00312EDC 7C 08 02 A6 */ mflr r0 +/* 80315F80 00312EE0 90 01 00 34 */ stw r0, 0x34(r1) +/* 80315F84 00312EE4 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 80315F88 00312EE8 7C 9C 23 78 */ mr r28, r4 +/* 80315F8C 00312EEC 7C BD 2B 78 */ mr r29, r5 +/* 80315F90 00312EF0 7C 7B 1B 78 */ mr r27, r3 +/* 80315F94 00312EF4 7F 83 E3 78 */ mr r3, r28 +/* 80315F98 00312EF8 7F A4 EB 78 */ mr r4, r29 +/* 80315F9C 00312EFC 48 02 15 99 */ bl PointInside__6CAABoxCFRC9CVector3f +/* 80315FA0 00312F00 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80315FA4 00312F04 40 82 00 14 */ bne lbl_80315FB8 +/* 80315FA8 00312F08 7F 63 DB 78 */ mr r3, r27 +/* 80315FAC 00312F0C 38 80 00 02 */ li r4, 2 +/* 80315FB0 00312F10 48 00 03 D1 */ bl Reset__10CPVSVisSetFi +/* 80315FB4 00312F14 48 00 01 DC */ b lbl_80316190 +lbl_80315FB8: +/* 80315FB8 00312F18 83 DC 00 24 */ lwz r30, 0x24(r28) +/* 80315FBC 00312F1C C0 1C 00 00 */ lfs f0, 0(r28) +/* 80315FC0 00312F20 D0 1C 00 2C */ stfs f0, 0x2c(r28) +/* 80315FC4 00312F24 C0 1C 00 04 */ lfs f0, 4(r28) +/* 80315FC8 00312F28 D0 1C 00 30 */ stfs f0, 0x30(r28) +/* 80315FCC 00312F2C C0 1C 00 08 */ lfs f0, 8(r28) +/* 80315FD0 00312F30 D0 1C 00 34 */ stfs f0, 0x34(r28) +/* 80315FD4 00312F34 C0 1C 00 0C */ lfs f0, 0xc(r28) +/* 80315FD8 00312F38 D0 1C 00 38 */ stfs f0, 0x38(r28) +/* 80315FDC 00312F3C C0 1C 00 10 */ lfs f0, 0x10(r28) +/* 80315FE0 00312F40 D0 1C 00 3C */ stfs f0, 0x3c(r28) +/* 80315FE4 00312F44 C0 1C 00 14 */ lfs f0, 0x14(r28) +/* 80315FE8 00312F48 D0 1C 00 40 */ stfs f0, 0x40(r28) +/* 80315FEC 00312F4C 48 00 00 C8 */ b lbl_803160B4 +lbl_80315FF0: +/* 80315FF0 00312F50 2C 03 00 00 */ cmpwi r3, 0 +/* 80315FF4 00312F54 41 82 00 64 */ beq lbl_80316058 +/* 80315FF8 00312F58 57 E0 06 75 */ rlwinm. r0, r31, 0, 0x19, 0x1a +/* 80315FFC 00312F5C 40 82 00 18 */ bne lbl_80316014 +/* 80316000 00312F60 38 03 FF FF */ addi r0, r3, -1 +/* 80316004 00312F64 54 00 08 3C */ slwi r0, r0, 1 +/* 80316008 00312F68 7C 1E 02 2E */ lhzx r0, r30, r0 +/* 8031600C 00312F6C 7F DE 02 14 */ add r30, r30, r0 +/* 80316010 00312F70 48 00 00 48 */ b lbl_80316058 +lbl_80316014: +/* 80316014 00312F74 57 E0 06 B5 */ rlwinm. r0, r31, 0, 0x1a, 0x1a +/* 80316018 00312F78 41 82 00 14 */ beq lbl_8031602C +/* 8031601C 00312F7C 7C 63 F2 14 */ add r3, r3, r30 +/* 80316020 00312F80 88 03 FF FF */ lbz r0, -1(r3) +/* 80316024 00312F84 7F DE 02 14 */ add r30, r30, r0 +/* 80316028 00312F88 48 00 00 30 */ b lbl_80316058 +lbl_8031602C: +/* 8031602C 00312F8C 38 03 FF FF */ addi r0, r3, -1 +/* 80316030 00312F90 1C 00 00 03 */ mulli r0, r0, 3 +/* 80316034 00312F94 7C 7E 02 14 */ add r3, r30, r0 +/* 80316038 00312F98 88 03 00 01 */ lbz r0, 1(r3) +/* 8031603C 00312F9C 88 83 00 02 */ lbz r4, 2(r3) +/* 80316040 00312FA0 54 00 40 2E */ slwi r0, r0, 8 +/* 80316044 00312FA4 88 63 00 00 */ lbz r3, 0(r3) +/* 80316048 00312FA8 7C 00 22 14 */ add r0, r0, r4 +/* 8031604C 00312FAC 54 63 80 1E */ slwi r3, r3, 0x10 +/* 80316050 00312FB0 7F C0 F2 14 */ add r30, r0, r30 +/* 80316054 00312FB4 7F C3 F2 14 */ add r30, r3, r30 +lbl_80316058: +/* 80316058 00312FB8 57 E0 06 75 */ rlwinm. r0, r31, 0, 0x19, 0x1a +/* 8031605C 00312FBC 40 82 00 20 */ bne lbl_8031607C +/* 80316060 00312FC0 7F 83 E3 78 */ mr r3, r28 +/* 80316064 00312FC4 7F E4 FB 78 */ mr r4, r31 +/* 80316068 00312FC8 4B FF FD 11 */ bl GetNumChildren__13CPVSVisOctreeCFUc +/* 8031606C 00312FCC 38 03 FF FF */ addi r0, r3, -1 +/* 80316070 00312FD0 54 00 08 3C */ slwi r0, r0, 1 +/* 80316074 00312FD4 7F DE 02 14 */ add r30, r30, r0 +/* 80316078 00312FD8 48 00 00 3C */ b lbl_803160B4 +lbl_8031607C: +/* 8031607C 00312FDC 57 E0 06 B5 */ rlwinm. r0, r31, 0, 0x1a, 0x1a +/* 80316080 00312FE0 41 82 00 1C */ beq lbl_8031609C +/* 80316084 00312FE4 7F 83 E3 78 */ mr r3, r28 +/* 80316088 00312FE8 7F E4 FB 78 */ mr r4, r31 +/* 8031608C 00312FEC 4B FF FC ED */ bl GetNumChildren__13CPVSVisOctreeCFUc +/* 80316090 00312FF0 7F C3 F2 14 */ add r30, r3, r30 +/* 80316094 00312FF4 3B DE FF FF */ addi r30, r30, -1 +/* 80316098 00312FF8 48 00 00 1C */ b lbl_803160B4 +lbl_8031609C: +/* 8031609C 00312FFC 7F 83 E3 78 */ mr r3, r28 +/* 803160A0 00313000 7F E4 FB 78 */ mr r4, r31 +/* 803160A4 00313004 4B FF FC D5 */ bl GetNumChildren__13CPVSVisOctreeCFUc +/* 803160A8 00313008 38 03 FF FF */ addi r0, r3, -1 +/* 803160AC 0031300C 1C 00 00 03 */ mulli r0, r0, 3 +/* 803160B0 00313010 7F DE 02 14 */ add r30, r30, r0 +lbl_803160B4: +/* 803160B4 00313014 8B FE 00 00 */ lbz r31, 0(r30) +/* 803160B8 00313018 7F 83 E3 78 */ mr r3, r28 +/* 803160BC 0031301C 7F A5 EB 78 */ mr r5, r29 +/* 803160C0 00313020 3B DE 00 01 */ addi r30, r30, 1 +/* 803160C4 00313024 7F E4 FB 78 */ mr r4, r31 +/* 803160C8 00313028 4B FF FC C5 */ bl IterateSearch__13CPVSVisOctreeCFUcRC9CVector3f +/* 803160CC 0031302C 2C 03 FF FF */ cmpwi r3, -1 +/* 803160D0 00313030 40 82 FF 20 */ bne lbl_80315FF0 +/* 803160D4 00313034 57 E0 06 F8 */ rlwinm r0, r31, 0, 0x1b, 0x1c +/* 803160D8 00313038 2C 00 00 10 */ cmpwi r0, 0x10 +/* 803160DC 0031303C 41 82 00 98 */ beq lbl_80316174 +/* 803160E0 00313040 40 80 00 10 */ bge lbl_803160F0 +/* 803160E4 00313044 2C 00 00 08 */ cmpwi r0, 8 +/* 803160E8 00313048 41 82 00 7C */ beq lbl_80316164 +/* 803160EC 0031304C 48 00 00 98 */ b lbl_80316184 +lbl_803160F0: +/* 803160F0 00313050 2C 00 00 18 */ cmpwi r0, 0x18 +/* 803160F4 00313054 41 82 00 08 */ beq lbl_803160FC +/* 803160F8 00313058 48 00 00 8C */ b lbl_80316184 +lbl_803160FC: +/* 803160FC 0031305C 7C 7E 00 D0 */ neg r3, r30 +/* 80316100 00313060 38 00 00 00 */ li r0, 0 +/* 80316104 00313064 7C 63 F3 78 */ or r3, r3, r30 +/* 80316108 00313068 93 C1 00 14 */ stw r30, 0x14(r1) +/* 8031610C 0031306C 54 63 0F FE */ srwi r3, r3, 0x1f +/* 80316110 00313070 80 9C 00 18 */ lwz r4, 0x18(r28) +/* 80316114 00313074 98 61 00 10 */ stb r3, 0x10(r1) +/* 80316118 00313078 7F 63 DB 78 */ mr r3, r27 +/* 8031611C 0031307C 80 BC 00 1C */ lwz r5, 0x1c(r28) +/* 80316120 00313080 38 C1 00 08 */ addi r6, r1, 8 +/* 80316124 00313084 98 01 00 10 */ stb r0, 0x10(r1) +/* 80316128 00313088 98 01 00 08 */ stb r0, 8(r1) +/* 8031612C 0031308C 93 C1 00 0C */ stw r30, 0xc(r1) +/* 80316130 00313090 98 01 00 10 */ stb r0, 0x10(r1) +/* 80316134 00313094 48 00 02 69 */ bl SetFromMemory__10CPVSVisSetFiiPCc +/* 80316138 00313098 88 01 00 08 */ lbz r0, 8(r1) +/* 8031613C 0031309C 28 00 00 00 */ cmplwi r0, 0 +/* 80316140 003130A0 41 82 00 0C */ beq lbl_8031614C +/* 80316144 003130A4 80 61 00 0C */ lwz r3, 0xc(r1) +/* 80316148 003130A8 4B FF F7 E9 */ bl Free__7CMemoryFPCv +lbl_8031614C: +/* 8031614C 003130AC 88 01 00 10 */ lbz r0, 0x10(r1) +/* 80316150 003130B0 28 00 00 00 */ cmplwi r0, 0 +/* 80316154 003130B4 41 82 00 3C */ beq lbl_80316190 +/* 80316158 003130B8 80 61 00 14 */ lwz r3, 0x14(r1) +/* 8031615C 003130BC 4B FF F7 D5 */ bl Free__7CMemoryFPCv +/* 80316160 003130C0 48 00 00 30 */ b lbl_80316190 +lbl_80316164: +/* 80316164 003130C4 7F 63 DB 78 */ mr r3, r27 +/* 80316168 003130C8 38 80 00 02 */ li r4, 2 +/* 8031616C 003130CC 48 00 02 15 */ bl Reset__10CPVSVisSetFi +/* 80316170 003130D0 48 00 00 20 */ b lbl_80316190 +lbl_80316174: +/* 80316174 003130D4 7F 63 DB 78 */ mr r3, r27 +/* 80316178 003130D8 38 80 00 00 */ li r4, 0 +/* 8031617C 003130DC 48 00 02 05 */ bl Reset__10CPVSVisSetFi +/* 80316180 003130E0 48 00 00 10 */ b lbl_80316190 +lbl_80316184: +/* 80316184 003130E4 7F 63 DB 78 */ mr r3, r27 +/* 80316188 003130E8 38 80 00 02 */ li r4, 2 +/* 8031618C 003130EC 48 00 01 F5 */ bl Reset__10CPVSVisSetFi +lbl_80316190: +/* 80316190 003130F0 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 80316194 003130F4 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80316198 003130F8 7C 08 03 A6 */ mtlr r0 +/* 8031619C 003130FC 38 21 00 30 */ addi r1, r1, 0x30 +/* 803161A0 00313100 4E 80 00 20 */ blr + +.global MakePVSVisOctree__13CPVSVisOctreeFPCci +MakePVSVisOctree__13CPVSVisOctreeFPCci: +/* 803161A4 00313104 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 803161A8 00313108 7C 08 02 A6 */ mflr r0 +/* 803161AC 0031310C 90 01 00 64 */ stw r0, 0x64(r1) +/* 803161B0 00313110 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 803161B4 00313114 93 C1 00 58 */ stw r30, 0x58(r1) +/* 803161B8 00313118 93 A1 00 54 */ stw r29, 0x54(r1) +/* 803161BC 0031311C 7C 9D 23 78 */ mr r29, r4 +/* 803161C0 00313120 93 81 00 50 */ stw r28, 0x50(r1) +/* 803161C4 00313124 7C 7C 1B 78 */ mr r28, r3 +/* 803161C8 00313128 38 61 00 20 */ addi r3, r1, 0x20 +/* 803161CC 0031312C 48 02 90 01 */ bl __ct__15CMemoryInStreamFPCvUl +/* 803161D0 00313130 38 61 00 08 */ addi r3, r1, 8 +/* 803161D4 00313134 38 81 00 20 */ addi r4, r1, 0x20 +/* 803161D8 00313138 48 02 23 65 */ bl __ct__6CAABoxFR12CInputStream +/* 803161DC 0031313C 38 61 00 20 */ addi r3, r1, 0x20 +/* 803161E0 00313140 48 02 8A A5 */ bl ReadLong__12CInputStreamFv +/* 803161E4 00313144 7C 7F 1B 78 */ mr r31, r3 +/* 803161E8 00313148 38 61 00 20 */ addi r3, r1, 0x20 +/* 803161EC 0031314C 48 02 8A 99 */ bl ReadLong__12CInputStreamFv +/* 803161F0 00313150 7C 7E 1B 78 */ mr r30, r3 +/* 803161F4 00313154 38 61 00 20 */ addi r3, r1, 0x20 +/* 803161F8 00313158 48 02 8A 8D */ bl ReadLong__12CInputStreamFv +/* 803161FC 0031315C 80 01 00 38 */ lwz r0, 0x38(r1) +/* 80316200 00313160 7F 83 E3 78 */ mr r3, r28 +/* 80316204 00313164 7F E5 FB 78 */ mr r5, r31 +/* 80316208 00313168 7F C6 F3 78 */ mr r6, r30 +/* 8031620C 0031316C 38 81 00 08 */ addi r4, r1, 8 +/* 80316210 00313170 7C FD 02 14 */ add r7, r29, r0 +/* 80316214 00313174 48 00 00 3D */ bl __ct__13CPVSVisOctreeFRC6CAABoxiiPCc +/* 80316218 00313178 3C 80 80 3F */ lis r4, __vt__15CMemoryInStream@ha +/* 8031621C 0031317C 38 61 00 20 */ addi r3, r1, 0x20 +/* 80316220 00313180 38 04 E3 98 */ addi r0, r4, __vt__15CMemoryInStream@l +/* 80316224 00313184 38 80 00 00 */ li r4, 0 +/* 80316228 00313188 90 01 00 20 */ stw r0, 0x20(r1) +/* 8031622C 0031318C 48 02 8E 81 */ bl __dt__12CInputStreamFv +/* 80316230 00313190 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80316234 00313194 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 80316238 00313198 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 8031623C 0031319C 83 A1 00 54 */ lwz r29, 0x54(r1) +/* 80316240 003131A0 83 81 00 50 */ lwz r28, 0x50(r1) +/* 80316244 003131A4 7C 08 03 A6 */ mtlr r0 +/* 80316248 003131A8 38 21 00 60 */ addi r1, r1, 0x60 +/* 8031624C 003131AC 4E 80 00 20 */ blr + +.global __ct__13CPVSVisOctreeFRC6CAABoxiiPCc +__ct__13CPVSVisOctreeFRC6CAABoxiiPCc: +/* 80316250 003131B0 C0 04 00 00 */ lfs f0, 0(r4) +/* 80316254 003131B4 7D 07 00 D0 */ neg r8, r7 +/* 80316258 003131B8 7D 08 3B 78 */ or r8, r8, r7 +/* 8031625C 003131BC 38 00 00 00 */ li r0, 0 +/* 80316260 003131C0 D0 03 00 00 */ stfs f0, 0(r3) +/* 80316264 003131C4 55 08 0F FE */ srwi r8, r8, 0x1f +/* 80316268 003131C8 C0 04 00 04 */ lfs f0, 4(r4) +/* 8031626C 003131CC D0 03 00 04 */ stfs f0, 4(r3) +/* 80316270 003131D0 C0 04 00 08 */ lfs f0, 8(r4) +/* 80316274 003131D4 D0 03 00 08 */ stfs f0, 8(r3) +/* 80316278 003131D8 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 8031627C 003131DC D0 03 00 0C */ stfs f0, 0xc(r3) +/* 80316280 003131E0 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 80316284 003131E4 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 80316288 003131E8 C0 04 00 14 */ lfs f0, 0x14(r4) +/* 8031628C 003131EC D0 03 00 14 */ stfs f0, 0x14(r3) +/* 80316290 003131F0 90 A3 00 18 */ stw r5, 0x18(r3) +/* 80316294 003131F4 90 C3 00 1C */ stw r6, 0x1c(r3) +/* 80316298 003131F8 99 03 00 20 */ stb r8, 0x20(r3) +/* 8031629C 003131FC 90 E3 00 24 */ stw r7, 0x24(r3) +/* 803162A0 00313200 C0 03 00 00 */ lfs f0, 0(r3) +/* 803162A4 00313204 D0 03 00 2C */ stfs f0, 0x2c(r3) +/* 803162A8 00313208 C0 03 00 04 */ lfs f0, 4(r3) +/* 803162AC 0031320C D0 03 00 30 */ stfs f0, 0x30(r3) +/* 803162B0 00313210 C0 03 00 08 */ lfs f0, 8(r3) +/* 803162B4 00313214 D0 03 00 34 */ stfs f0, 0x34(r3) +/* 803162B8 00313218 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 803162BC 0031321C D0 03 00 38 */ stfs f0, 0x38(r3) +/* 803162C0 00313220 C0 03 00 10 */ lfs f0, 0x10(r3) +/* 803162C4 00313224 D0 03 00 3C */ stfs f0, 0x3c(r3) +/* 803162C8 00313228 C0 03 00 14 */ lfs f0, 0x14(r3) +/* 803162CC 0031322C D0 03 00 40 */ stfs f0, 0x40(r3) +/* 803162D0 00313230 98 03 00 20 */ stb r0, 0x20(r3) +/* 803162D4 00313234 4E 80 00 20 */ blr + +.global GetVisible__10CPVSVisSetCFi +GetVisible__10CPVSVisSetCFi: +/* 803162D8 00313238 80 03 00 00 */ lwz r0, 0(r3) +/* 803162DC 0031323C 2C 00 00 01 */ cmpwi r0, 1 +/* 803162E0 00313240 41 82 00 0C */ beq lbl_803162EC +/* 803162E4 00313244 7C 03 03 78 */ mr r3, r0 +/* 803162E8 00313248 4E 80 00 20 */ blr +lbl_803162EC: +/* 803162EC 0031324C 80 A3 00 08 */ lwz r5, 8(r3) +/* 803162F0 00313250 80 03 00 04 */ lwz r0, 4(r3) +/* 803162F4 00313254 7C 05 00 50 */ subf r0, r5, r0 +/* 803162F8 00313258 7C 04 00 00 */ cmpw r4, r0 +/* 803162FC 0031325C 40 80 00 34 */ bge lbl_80316330 +/* 80316300 00313260 7C 80 1E 70 */ srawi r0, r4, 3 +/* 80316304 00313264 80 C3 00 10 */ lwz r6, 0x10(r3) +/* 80316308 00313268 7C A0 01 94 */ addze r5, r0 +/* 8031630C 0031326C 54 80 07 7E */ clrlwi r0, r4, 0x1d +/* 80316310 00313270 38 60 00 01 */ li r3, 1 +/* 80316314 00313274 7C 86 28 AE */ lbzx r4, r6, r5 +/* 80316318 00313278 7C 60 00 30 */ slw r0, r3, r0 +/* 8031631C 0031327C 38 60 00 00 */ li r3, 0 +/* 80316320 00313280 7C 80 00 39 */ and. r0, r4, r0 +/* 80316324 00313284 4D 82 00 20 */ beqlr +/* 80316328 00313288 38 60 00 02 */ li r3, 2 +/* 8031632C 0031328C 4E 80 00 20 */ blr +lbl_80316330: +/* 80316330 00313290 7C 00 20 50 */ subf r0, r0, r4 +/* 80316334 00313294 80 63 00 10 */ lwz r3, 0x10(r3) +/* 80316338 00313298 7C 04 02 14 */ add r0, r4, r0 +/* 8031633C 0031329C 54 04 07 7E */ clrlwi r4, r0, 0x1d +/* 80316340 003132A0 7C 00 1E 70 */ srawi r0, r0, 3 +/* 80316344 003132A4 7C 00 01 94 */ addze r0, r0 +/* 80316348 003132A8 2C 04 00 07 */ cmpwi r4, 7 +/* 8031634C 003132AC 7C 63 02 14 */ add r3, r3, r0 +/* 80316350 003132B0 40 80 00 1C */ bge lbl_8031636C +/* 80316354 003132B4 38 00 00 03 */ li r0, 3 +/* 80316358 003132B8 88 63 00 00 */ lbz r3, 0(r3) +/* 8031635C 003132BC 7C 00 20 30 */ slw r0, r0, r4 +/* 80316360 003132C0 7C 60 00 38 */ and r0, r3, r0 +/* 80316364 003132C4 7C 03 26 30 */ sraw r3, r0, r4 +/* 80316368 003132C8 4E 80 00 20 */ blr +lbl_8031636C: +/* 8031636C 003132CC 88 03 00 01 */ lbz r0, 1(r3) +/* 80316370 003132D0 88 83 00 00 */ lbz r4, 0(r3) +/* 80316374 003132D4 54 03 0F BC */ rlwinm r3, r0, 1, 0x1e, 0x1e +/* 80316378 003132D8 50 83 CF FE */ rlwimi r3, r4, 0x19, 0x1f, 0x1f +/* 8031637C 003132DC 4E 80 00 20 */ blr + +.global Reset__10CPVSVisSetFi +Reset__10CPVSVisSetFi: +/* 80316380 003132E0 90 83 00 00 */ stw r4, 0(r3) +/* 80316384 003132E4 38 00 00 00 */ li r0, 0 +/* 80316388 003132E8 90 03 00 04 */ stw r0, 4(r3) +/* 8031638C 003132EC 90 03 00 08 */ stw r0, 8(r3) +/* 80316390 003132F0 98 03 00 0C */ stb r0, 0xc(r3) +/* 80316394 003132F4 90 03 00 10 */ stw r0, 0x10(r3) +/* 80316398 003132F8 4E 80 00 20 */ blr + +.global SetFromMemory__10CPVSVisSetFiiPCc +SetFromMemory__10CPVSVisSetFiiPCc: +/* 8031639C 003132FC 38 00 00 01 */ li r0, 1 +/* 803163A0 00313300 90 03 00 00 */ stw r0, 0(r3) +/* 803163A4 00313304 38 00 00 00 */ li r0, 0 +/* 803163A8 00313308 90 83 00 04 */ stw r4, 4(r3) +/* 803163AC 0031330C 90 A3 00 08 */ stw r5, 8(r3) +/* 803163B0 00313310 88 86 00 00 */ lbz r4, 0(r6) +/* 803163B4 00313314 98 83 00 0C */ stb r4, 0xc(r3) +/* 803163B8 00313318 80 86 00 04 */ lwz r4, 4(r6) +/* 803163BC 0031331C 90 83 00 10 */ stw r4, 0x10(r3) +/* 803163C0 00313320 98 06 00 00 */ stb r0, 0(r6) +/* 803163C4 00313324 4E 80 00 20 */ blr diff --git a/asm/Kyoto/Particles/CColorElement.s b/asm/Kyoto/Particles/CColorElement.s new file mode 100644 index 00000000..77dd9846 --- /dev/null +++ b/asm/Kyoto/Particles/CColorElement.s @@ -0,0 +1,1322 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __dt__16CCEParticleColor +__dt__16CCEParticleColor: +/* 803163C8 00313328 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803163CC 0031332C 7C 08 02 A6 */ mflr r0 +/* 803163D0 00313330 90 01 00 14 */ stw r0, 0x14(r1) +/* 803163D4 00313334 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803163D8 00313338 7C 7F 1B 79 */ or. r31, r3, r3 +/* 803163DC 0031333C 41 82 00 44 */ beq lbl_80316420 +/* 803163E0 00313340 3C 60 80 3F */ lis r3, lbl_803EDA00@ha +/* 803163E4 00313344 38 03 DA 00 */ addi r0, r3, lbl_803EDA00@l +/* 803163E8 00313348 90 1F 00 00 */ stw r0, 0(r31) +/* 803163EC 0031334C 41 82 00 20 */ beq lbl_8031640C +/* 803163F0 00313350 3C 60 80 3F */ lis r3, lbl_803EC5B4@ha +/* 803163F4 00313354 38 03 C5 B4 */ addi r0, r3, lbl_803EC5B4@l +/* 803163F8 00313358 90 1F 00 00 */ stw r0, 0(r31) +/* 803163FC 0031335C 41 82 00 10 */ beq lbl_8031640C +/* 80316400 00313360 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80316404 00313364 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80316408 00313368 90 1F 00 00 */ stw r0, 0(r31) +lbl_8031640C: +/* 8031640C 0031336C 7C 80 07 35 */ extsh. r0, r4 +/* 80316410 00313370 40 81 00 10 */ ble lbl_80316420 +/* 80316414 00313374 7F E3 FB 78 */ mr r3, r31 +/* 80316418 00313378 38 80 00 04 */ li r4, 4 +/* 8031641C 0031337C 48 05 66 49 */ bl sub_8036ca64 +lbl_80316420: +/* 80316420 00313380 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80316424 00313384 7F E3 FB 78 */ mr r3, r31 +/* 80316428 00313388 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8031642C 0031338C 7C 08 03 A6 */ mtlr r0 +/* 80316430 00313390 38 21 00 10 */ addi r1, r1, 0x10 +/* 80316434 00313394 4E 80 00 20 */ blr + +.global GetValue__16CCEParticleColor +GetValue__16CCEParticleColor: +/* 80316438 00313398 80 8D A8 EC */ lwz r4, lbl_805A94AC@sda21(r13) +/* 8031643C 0031339C 38 60 00 00 */ li r3, 0 +/* 80316440 003133A0 80 04 00 34 */ lwz r0, 0x34(r4) +/* 80316444 003133A4 90 05 00 00 */ stw r0, 0(r5) +/* 80316448 003133A8 4E 80 00 20 */ blr + +.global GetValue__18CCEKeyframeEmitterCFiR6CColor +GetValue__18CCEKeyframeEmitterCFiR6CColor: +/* 8031644C 003133AC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80316450 003133B0 7C 08 02 A6 */ mflr r0 +/* 80316454 003133B4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80316458 003133B8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8031645C 003133BC 7C BF 2B 78 */ mr r31, r5 +/* 80316460 003133C0 80 03 00 04 */ lwz r0, 4(r3) +/* 80316464 003133C4 2C 00 00 00 */ cmpwi r0, 0 +/* 80316468 003133C8 40 82 00 A0 */ bne lbl_80316508 +/* 8031646C 003133CC 88 03 00 0C */ lbz r0, 0xc(r3) +/* 80316470 003133D0 80 ED A8 D8 */ lwz r7, lbl_805A9498@sda21(r13) +/* 80316474 003133D4 28 00 00 00 */ cmplwi r0, 0 +/* 80316478 003133D8 90 E1 00 10 */ stw r7, 0x10(r1) +/* 8031647C 003133DC 41 82 00 50 */ beq lbl_803164CC +/* 80316480 003133E0 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80316484 003133E4 7C 07 00 00 */ cmpw r7, r0 +/* 80316488 003133E8 41 80 00 2C */ blt lbl_803164B4 +/* 8031648C 003133EC 80 C3 00 14 */ lwz r6, 0x14(r3) +/* 80316490 003133F0 7C A6 38 50 */ subf r5, r6, r7 +/* 80316494 003133F4 7C 86 00 50 */ subf r4, r6, r0 +/* 80316498 003133F8 7C 05 23 D6 */ divw r0, r5, r4 +/* 8031649C 003133FC 90 A1 00 10 */ stw r5, 0x10(r1) +/* 803164A0 00313400 7C 00 21 D6 */ mullw r0, r0, r4 +/* 803164A4 00313404 7C 00 28 50 */ subf r0, r0, r5 +/* 803164A8 00313408 90 01 00 10 */ stw r0, 0x10(r1) +/* 803164AC 0031340C 7C 00 32 14 */ add r0, r0, r6 +/* 803164B0 00313410 90 01 00 10 */ stw r0, 0x10(r1) +lbl_803164B4: +/* 803164B4 00313414 80 01 00 10 */ lwz r0, 0x10(r1) +/* 803164B8 00313418 80 63 00 24 */ lwz r3, 0x24(r3) +/* 803164BC 0031341C 54 00 10 3A */ slwi r0, r0, 2 +/* 803164C0 00313420 7C 03 00 2E */ lwzx r0, r3, r0 +/* 803164C4 00313424 90 1F 00 00 */ stw r0, 0(r31) +/* 803164C8 00313428 48 00 00 38 */ b lbl_80316500 +lbl_803164CC: +/* 803164CC 0031342C 80 A3 00 10 */ lwz r5, 0x10(r3) +/* 803164D0 00313430 38 81 00 10 */ addi r4, r1, 0x10 +/* 803164D4 00313434 38 05 FF FF */ addi r0, r5, -1 +/* 803164D8 00313438 7C 00 38 00 */ cmpw r0, r7 +/* 803164DC 0031343C 90 01 00 0C */ stw r0, 0xc(r1) +/* 803164E0 00313440 40 80 00 08 */ bge lbl_803164E8 +/* 803164E4 00313444 38 81 00 0C */ addi r4, r1, 0xc +lbl_803164E8: +/* 803164E8 00313448 80 04 00 00 */ lwz r0, 0(r4) +/* 803164EC 0031344C 80 63 00 24 */ lwz r3, 0x24(r3) +/* 803164F0 00313450 90 01 00 10 */ stw r0, 0x10(r1) +/* 803164F4 00313454 54 00 10 3A */ slwi r0, r0, 2 +/* 803164F8 00313458 7C 03 00 2E */ lwzx r0, r3, r0 +/* 803164FC 0031345C 90 1F 00 00 */ stw r0, 0(r31) +lbl_80316500: +/* 80316500 00313460 38 60 00 00 */ li r3, 0 +/* 80316504 00313464 48 00 00 54 */ b lbl_80316558 +lbl_80316508: +/* 80316508 00313468 80 8D A8 E0 */ lwz r4, lbl_805A94A0@sda21(r13) +/* 8031650C 0031346C 2C 04 00 64 */ cmpwi r4, 0x64 +/* 80316510 00313470 40 82 00 18 */ bne lbl_80316528 +/* 80316514 00313474 80 63 00 24 */ lwz r3, 0x24(r3) +/* 80316518 00313478 54 80 10 3A */ slwi r0, r4, 2 +/* 8031651C 0031347C 7C 03 00 2E */ lwzx r0, r3, r0 +/* 80316520 00313480 90 1F 00 00 */ stw r0, 0(r31) +/* 80316524 00313484 48 00 00 30 */ b lbl_80316554 +lbl_80316528: +/* 80316528 00313488 38 04 00 01 */ addi r0, r4, 1 +/* 8031652C 0031348C 80 C3 00 24 */ lwz r6, 0x24(r3) +/* 80316530 00313490 54 03 10 3A */ slwi r3, r0, 2 +/* 80316534 00313494 C0 2D A8 E8 */ lfs f1, lbl_805A94A8@sda21(r13) +/* 80316538 00313498 54 80 10 3A */ slwi r0, r4, 2 +/* 8031653C 0031349C 7C A6 1A 14 */ add r5, r6, r3 +/* 80316540 003134A0 38 61 00 08 */ addi r3, r1, 8 +/* 80316544 003134A4 7C 86 02 14 */ add r4, r6, r0 +/* 80316548 003134A8 48 04 CD 65 */ bl Lerp__6CColorFRC6CColorRC6CColorf +/* 8031654C 003134AC 80 01 00 08 */ lwz r0, 8(r1) +/* 80316550 003134B0 90 1F 00 00 */ stw r0, 0(r31) +lbl_80316554: +/* 80316554 003134B4 38 60 00 00 */ li r3, 0 +lbl_80316558: +/* 80316558 003134B8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8031655C 003134BC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80316560 003134C0 7C 08 03 A6 */ mtlr r0 +/* 80316564 003134C4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80316568 003134C8 4E 80 00 20 */ blr + +.global __dt__18CCEKeyframeEmitterFv +__dt__18CCEKeyframeEmitterFv: +/* 8031656C 003134CC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80316570 003134D0 7C 08 02 A6 */ mflr r0 +/* 80316574 003134D4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80316578 003134D8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8031657C 003134DC 7C 9F 23 78 */ mr r31, r4 +/* 80316580 003134E0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80316584 003134E4 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80316588 003134E8 41 82 00 90 */ beq lbl_80316618 +/* 8031658C 003134EC 3C 60 80 3F */ lis r3, lbl_803EDA10@ha +/* 80316590 003134F0 34 1E 00 18 */ addic. r0, r30, 0x18 +/* 80316594 003134F4 38 03 DA 10 */ addi r0, r3, lbl_803EDA10@l +/* 80316598 003134F8 90 1E 00 00 */ stw r0, 0(r30) +/* 8031659C 003134FC 41 82 00 44 */ beq lbl_803165E0 +/* 803165A0 00313500 80 1E 00 1C */ lwz r0, 0x1c(r30) +/* 803165A4 00313504 80 7E 00 24 */ lwz r3, 0x24(r30) +/* 803165A8 00313508 54 00 10 3A */ slwi r0, r0, 2 +/* 803165AC 0031350C 7C 03 02 14 */ add r0, r3, r0 +/* 803165B0 00313510 90 61 00 0C */ stw r3, 0xc(r1) +/* 803165B4 00313514 7C 64 1B 78 */ mr r4, r3 +/* 803165B8 00313518 90 01 00 14 */ stw r0, 0x14(r1) +/* 803165BC 0031351C 90 01 00 10 */ stw r0, 0x10(r1) +/* 803165C0 00313520 90 61 00 08 */ stw r3, 8(r1) +/* 803165C4 00313524 48 00 00 08 */ b lbl_803165CC +lbl_803165C8: +/* 803165C8 00313528 38 84 00 04 */ addi r4, r4, 4 +lbl_803165CC: +/* 803165CC 0031352C 7C 04 00 40 */ cmplw r4, r0 +/* 803165D0 00313530 40 82 FF F8 */ bne lbl_803165C8 +/* 803165D4 00313534 28 03 00 00 */ cmplwi r3, 0 +/* 803165D8 00313538 41 82 00 08 */ beq lbl_803165E0 +/* 803165DC 0031353C 4B FF F3 55 */ bl Free__7CMemoryFPCv +lbl_803165E0: +/* 803165E0 00313540 28 1E 00 00 */ cmplwi r30, 0 +/* 803165E4 00313544 41 82 00 20 */ beq lbl_80316604 +/* 803165E8 00313548 3C 60 80 3F */ lis r3, lbl_803EC5B4@ha +/* 803165EC 0031354C 38 03 C5 B4 */ addi r0, r3, lbl_803EC5B4@l +/* 803165F0 00313550 90 1E 00 00 */ stw r0, 0(r30) +/* 803165F4 00313554 41 82 00 10 */ beq lbl_80316604 +/* 803165F8 00313558 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 803165FC 0031355C 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80316600 00313560 90 1E 00 00 */ stw r0, 0(r30) +lbl_80316604: +/* 80316604 00313564 7F E0 07 35 */ extsh. r0, r31 +/* 80316608 00313568 40 81 00 10 */ ble lbl_80316618 +/* 8031660C 0031356C 7F C3 F3 78 */ mr r3, r30 +/* 80316610 00313570 38 80 00 28 */ li r4, 0x28 +/* 80316614 00313574 48 05 64 51 */ bl sub_8036ca64 +lbl_80316618: +/* 80316618 00313578 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8031661C 0031357C 7F C3 F3 78 */ mr r3, r30 +/* 80316620 00313580 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80316624 00313584 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80316628 00313588 7C 08 03 A6 */ mtlr r0 +/* 8031662C 0031358C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80316630 00313590 4E 80 00 20 */ blr + +.global __ct__18CCEKeyframeEmitterFR12CInputStream +__ct__18CCEKeyframeEmitterFR12CInputStream: +/* 80316634 00313594 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80316638 00313598 7C 08 02 A6 */ mflr r0 +/* 8031663C 0031359C 3C A0 80 3F */ lis r5, lbl_803EC5B4@ha +/* 80316640 003135A0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80316644 003135A4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80316648 003135A8 7C 9F 23 78 */ mr r31, r4 +/* 8031664C 003135AC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80316650 003135B0 7C 7E 1B 78 */ mr r30, r3 +/* 80316654 003135B4 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80316658 003135B8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8031665C 003135BC 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80316660 003135C0 3C 60 80 3F */ lis r3, lbl_803EDA10@ha +/* 80316664 003135C4 7F C6 F3 78 */ mr r6, r30 +/* 80316668 003135C8 93 81 00 10 */ stw r28, 0x10(r1) +/* 8031666C 003135CC 90 1E 00 00 */ stw r0, 0(r30) +/* 80316670 003135D0 38 05 C5 B4 */ addi r0, r5, lbl_803EC5B4@l +/* 80316674 003135D4 90 1E 00 00 */ stw r0, 0(r30) +/* 80316678 003135D8 38 03 DA 10 */ addi r0, r3, lbl_803EDA10@l +/* 8031667C 003135DC 7F E3 FB 78 */ mr r3, r31 +/* 80316680 003135E0 90 1E 00 00 */ stw r0, 0(r30) +/* 80316684 003135E4 48 02 86 01 */ bl ReadLong__12CInputStreamFv +/* 80316688 003135E8 90 7E 00 04 */ stw r3, 4(r30) +/* 8031668C 003135EC 7F E3 FB 78 */ mr r3, r31 +/* 80316690 003135F0 48 02 85 F5 */ bl ReadLong__12CInputStreamFv +/* 80316694 003135F4 90 7E 00 08 */ stw r3, 8(r30) +/* 80316698 003135F8 7F E3 FB 78 */ mr r3, r31 +/* 8031669C 003135FC 48 02 86 41 */ bl ReadBool__12CInputStreamFv +/* 803166A0 00313600 98 7E 00 0C */ stb r3, 0xc(r30) +/* 803166A4 00313604 7F E3 FB 78 */ mr r3, r31 +/* 803166A8 00313608 48 02 86 35 */ bl ReadBool__12CInputStreamFv +/* 803166AC 0031360C 98 7E 00 0D */ stb r3, 0xd(r30) +/* 803166B0 00313610 7F E3 FB 78 */ mr r3, r31 +/* 803166B4 00313614 48 02 85 D1 */ bl ReadLong__12CInputStreamFv +/* 803166B8 00313618 90 7E 00 10 */ stw r3, 0x10(r30) +/* 803166BC 0031361C 7F E3 FB 78 */ mr r3, r31 +/* 803166C0 00313620 48 02 85 C5 */ bl ReadLong__12CInputStreamFv +/* 803166C4 00313624 90 7E 00 14 */ stw r3, 0x14(r30) +/* 803166C8 00313628 38 00 00 00 */ li r0, 0 +/* 803166CC 0031362C 7F E3 FB 78 */ mr r3, r31 +/* 803166D0 00313630 90 1E 00 1C */ stw r0, 0x1c(r30) +/* 803166D4 00313634 90 1E 00 20 */ stw r0, 0x20(r30) +/* 803166D8 00313638 90 1E 00 24 */ stw r0, 0x24(r30) +/* 803166DC 0031363C 48 02 85 A9 */ bl ReadLong__12CInputStreamFv +/* 803166E0 00313640 7C 7C 1B 78 */ mr r28, r3 +/* 803166E4 00313644 38 7E 00 18 */ addi r3, r30, 0x18 +/* 803166E8 00313648 7F 84 E3 78 */ mr r4, r28 +/* 803166EC 0031364C 48 00 0E 55 */ bl "reserve__Q24rstl42vector<6CColor,Q24rstl17rmemory_allocator>Fi" +/* 803166F0 00313650 3B A0 00 00 */ li r29, 0 +/* 803166F4 00313654 48 00 00 64 */ b lbl_80316758 +lbl_803166F8: +/* 803166F8 00313658 7F E4 FB 78 */ mr r4, r31 +/* 803166FC 0031365C 38 61 00 08 */ addi r3, r1, 8 +/* 80316700 00313660 48 04 CD 4D */ bl __ct__6CColorFR12CInputStream +/* 80316704 00313664 80 1E 00 1C */ lwz r0, 0x1c(r30) +/* 80316708 00313668 80 BE 00 20 */ lwz r5, 0x20(r30) +/* 8031670C 0031366C 7C 00 28 00 */ cmpw r0, r5 +/* 80316710 00313670 41 80 00 1C */ blt lbl_8031672C +/* 80316714 00313674 2C 05 00 00 */ cmpwi r5, 0 +/* 80316718 00313678 38 7E 00 18 */ addi r3, r30, 0x18 +/* 8031671C 0031367C 38 80 00 04 */ li r4, 4 +/* 80316720 00313680 41 82 00 08 */ beq lbl_80316728 +/* 80316724 00313684 54 A4 08 3C */ slwi r4, r5, 1 +lbl_80316728: +/* 80316728 00313688 48 00 0E 19 */ bl "reserve__Q24rstl42vector<6CColor,Q24rstl17rmemory_allocator>Fi" +lbl_8031672C: +/* 8031672C 0031368C 80 1E 00 1C */ lwz r0, 0x1c(r30) +/* 80316730 00313690 80 7E 00 24 */ lwz r3, 0x24(r30) +/* 80316734 00313694 54 00 10 3A */ slwi r0, r0, 2 +/* 80316738 00313698 7C 63 02 15 */ add. r3, r3, r0 +/* 8031673C 0031369C 41 82 00 0C */ beq lbl_80316748 +/* 80316740 003136A0 80 01 00 08 */ lwz r0, 8(r1) +/* 80316744 003136A4 90 03 00 00 */ stw r0, 0(r3) +lbl_80316748: +/* 80316748 003136A8 80 7E 00 1C */ lwz r3, 0x1c(r30) +/* 8031674C 003136AC 3B BD 00 01 */ addi r29, r29, 1 +/* 80316750 003136B0 38 03 00 01 */ addi r0, r3, 1 +/* 80316754 003136B4 90 1E 00 1C */ stw r0, 0x1c(r30) +lbl_80316758: +/* 80316758 003136B8 7C 1D E0 00 */ cmpw r29, r28 +/* 8031675C 003136BC 41 80 FF 9C */ blt lbl_803166F8 +/* 80316760 003136C0 80 7E 00 14 */ lwz r3, 0x14(r30) +/* 80316764 003136C4 80 1E 00 10 */ lwz r0, 0x10(r30) +/* 80316768 003136C8 7C 03 00 00 */ cmpw r3, r0 +/* 8031676C 003136CC 41 80 00 0C */ blt lbl_80316778 +/* 80316770 003136D0 38 00 00 00 */ li r0, 0 +/* 80316774 003136D4 90 1E 00 14 */ stw r0, 0x14(r30) +lbl_80316778: +/* 80316778 003136D8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8031677C 003136DC 7F C3 F3 78 */ mr r3, r30 +/* 80316780 003136E0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80316784 003136E4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80316788 003136E8 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8031678C 003136EC 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80316790 003136F0 7C 08 03 A6 */ mtlr r0 +/* 80316794 003136F4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80316798 003136F8 4E 80 00 20 */ blr + +.global GetValue__8CCEPulseCFiR6CColor +GetValue__8CCEPulseCFiR6CColor: +/* 8031679C 003136FC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803167A0 00313700 7C 08 02 A6 */ mflr r0 +/* 803167A4 00313704 90 01 00 24 */ stw r0, 0x24(r1) +/* 803167A8 00313708 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 803167AC 0031370C 7C BF 2B 78 */ mr r31, r5 +/* 803167B0 00313710 38 A1 00 0C */ addi r5, r1, 0xc +/* 803167B4 00313714 93 C1 00 18 */ stw r30, 0x18(r1) +/* 803167B8 00313718 7C 9E 23 78 */ mr r30, r4 +/* 803167BC 0031371C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 803167C0 00313720 7C 7D 1B 78 */ mr r29, r3 +/* 803167C4 00313724 80 63 00 04 */ lwz r3, 4(r3) +/* 803167C8 00313728 81 83 00 00 */ lwz r12, 0(r3) +/* 803167CC 0031372C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803167D0 00313730 7D 89 03 A6 */ mtctr r12 +/* 803167D4 00313734 4E 80 04 21 */ bctrl +/* 803167D8 00313738 80 7D 00 08 */ lwz r3, 8(r29) +/* 803167DC 0031373C 7F C4 F3 78 */ mr r4, r30 +/* 803167E0 00313740 38 A1 00 08 */ addi r5, r1, 8 +/* 803167E4 00313744 81 83 00 00 */ lwz r12, 0(r3) +/* 803167E8 00313748 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803167EC 0031374C 7D 89 03 A6 */ mtctr r12 +/* 803167F0 00313750 4E 80 04 21 */ bctrl +/* 803167F4 00313754 80 61 00 08 */ lwz r3, 8(r1) +/* 803167F8 00313758 80 81 00 0C */ lwz r4, 0xc(r1) +/* 803167FC 0031375C 38 A3 00 01 */ addi r5, r3, 1 +/* 80316800 00313760 7C A4 2A 15 */ add. r5, r4, r5 +/* 80316804 00313764 40 80 00 08 */ bge lbl_8031680C +/* 80316808 00313768 38 A0 00 01 */ li r5, 1 +lbl_8031680C: +/* 8031680C 0031376C 2C 03 00 01 */ cmpwi r3, 1 +/* 80316810 00313770 41 80 00 58 */ blt lbl_80316868 +/* 80316814 00313774 7C 1E 2B D6 */ divw r0, r30, r5 +/* 80316818 00313778 7C 00 29 D6 */ mullw r0, r0, r5 +/* 8031681C 0031377C 7C 00 F0 50 */ subf r0, r0, r30 +/* 80316820 00313780 7C 00 20 00 */ cmpw r0, r4 +/* 80316824 00313784 40 81 00 24 */ ble lbl_80316848 +/* 80316828 00313788 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 8031682C 0031378C 7F C4 F3 78 */ mr r4, r30 +/* 80316830 00313790 7F E5 FB 78 */ mr r5, r31 +/* 80316834 00313794 81 83 00 00 */ lwz r12, 0(r3) +/* 80316838 00313798 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031683C 0031379C 7D 89 03 A6 */ mtctr r12 +/* 80316840 003137A0 4E 80 04 21 */ bctrl +/* 80316844 003137A4 48 00 00 40 */ b lbl_80316884 +lbl_80316848: +/* 80316848 003137A8 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 8031684C 003137AC 7F C4 F3 78 */ mr r4, r30 +/* 80316850 003137B0 7F E5 FB 78 */ mr r5, r31 +/* 80316854 003137B4 81 83 00 00 */ lwz r12, 0(r3) +/* 80316858 003137B8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031685C 003137BC 7D 89 03 A6 */ mtctr r12 +/* 80316860 003137C0 4E 80 04 21 */ bctrl +/* 80316864 003137C4 48 00 00 20 */ b lbl_80316884 +lbl_80316868: +/* 80316868 003137C8 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 8031686C 003137CC 7F C4 F3 78 */ mr r4, r30 +/* 80316870 003137D0 7F E5 FB 78 */ mr r5, r31 +/* 80316874 003137D4 81 83 00 00 */ lwz r12, 0(r3) +/* 80316878 003137D8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031687C 003137DC 7D 89 03 A6 */ mtctr r12 +/* 80316880 003137E0 4E 80 04 21 */ bctrl +lbl_80316884: +/* 80316884 003137E4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80316888 003137E8 38 60 00 00 */ li r3, 0 +/* 8031688C 003137EC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80316890 003137F0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80316894 003137F4 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80316898 003137F8 7C 08 03 A6 */ mtlr r0 +/* 8031689C 003137FC 38 21 00 20 */ addi r1, r1, 0x20 +/* 803168A0 00313800 4E 80 00 20 */ blr + +.global __dt__8CCEPulseFv +__dt__8CCEPulseFv: +/* 803168A4 00313804 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803168A8 00313808 7C 08 02 A6 */ mflr r0 +/* 803168AC 0031380C 90 01 00 14 */ stw r0, 0x14(r1) +/* 803168B0 00313810 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803168B4 00313814 7C 9F 23 78 */ mr r31, r4 +/* 803168B8 00313818 93 C1 00 08 */ stw r30, 8(r1) +/* 803168BC 0031381C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 803168C0 00313820 41 82 00 C8 */ beq lbl_80316988 +/* 803168C4 00313824 3C 60 80 3F */ lis r3, lbl_803EDA20@ha +/* 803168C8 00313828 38 03 DA 20 */ addi r0, r3, lbl_803EDA20@l +/* 803168CC 0031382C 90 1E 00 00 */ stw r0, 0(r30) +/* 803168D0 00313830 80 7E 00 04 */ lwz r3, 4(r30) +/* 803168D4 00313834 28 03 00 00 */ cmplwi r3, 0 +/* 803168D8 00313838 41 82 00 18 */ beq lbl_803168F0 +/* 803168DC 0031383C 81 83 00 00 */ lwz r12, 0(r3) +/* 803168E0 00313840 38 80 00 01 */ li r4, 1 +/* 803168E4 00313844 81 8C 00 08 */ lwz r12, 8(r12) +/* 803168E8 00313848 7D 89 03 A6 */ mtctr r12 +/* 803168EC 0031384C 4E 80 04 21 */ bctrl +lbl_803168F0: +/* 803168F0 00313850 80 7E 00 08 */ lwz r3, 8(r30) +/* 803168F4 00313854 28 03 00 00 */ cmplwi r3, 0 +/* 803168F8 00313858 41 82 00 18 */ beq lbl_80316910 +/* 803168FC 0031385C 81 83 00 00 */ lwz r12, 0(r3) +/* 80316900 00313860 38 80 00 01 */ li r4, 1 +/* 80316904 00313864 81 8C 00 08 */ lwz r12, 8(r12) +/* 80316908 00313868 7D 89 03 A6 */ mtctr r12 +/* 8031690C 0031386C 4E 80 04 21 */ bctrl +lbl_80316910: +/* 80316910 00313870 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80316914 00313874 28 03 00 00 */ cmplwi r3, 0 +/* 80316918 00313878 41 82 00 18 */ beq lbl_80316930 +/* 8031691C 0031387C 81 83 00 00 */ lwz r12, 0(r3) +/* 80316920 00313880 38 80 00 01 */ li r4, 1 +/* 80316924 00313884 81 8C 00 08 */ lwz r12, 8(r12) +/* 80316928 00313888 7D 89 03 A6 */ mtctr r12 +/* 8031692C 0031388C 4E 80 04 21 */ bctrl +lbl_80316930: +/* 80316930 00313890 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 80316934 00313894 28 03 00 00 */ cmplwi r3, 0 +/* 80316938 00313898 41 82 00 18 */ beq lbl_80316950 +/* 8031693C 0031389C 81 83 00 00 */ lwz r12, 0(r3) +/* 80316940 003138A0 38 80 00 01 */ li r4, 1 +/* 80316944 003138A4 81 8C 00 08 */ lwz r12, 8(r12) +/* 80316948 003138A8 7D 89 03 A6 */ mtctr r12 +/* 8031694C 003138AC 4E 80 04 21 */ bctrl +lbl_80316950: +/* 80316950 003138B0 28 1E 00 00 */ cmplwi r30, 0 +/* 80316954 003138B4 41 82 00 20 */ beq lbl_80316974 +/* 80316958 003138B8 3C 60 80 3F */ lis r3, lbl_803EC5B4@ha +/* 8031695C 003138BC 38 03 C5 B4 */ addi r0, r3, lbl_803EC5B4@l +/* 80316960 003138C0 90 1E 00 00 */ stw r0, 0(r30) +/* 80316964 003138C4 41 82 00 10 */ beq lbl_80316974 +/* 80316968 003138C8 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 8031696C 003138CC 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80316970 003138D0 90 1E 00 00 */ stw r0, 0(r30) +lbl_80316974: +/* 80316974 003138D4 7F E0 07 35 */ extsh. r0, r31 +/* 80316978 003138D8 40 81 00 10 */ ble lbl_80316988 +/* 8031697C 003138DC 7F C3 F3 78 */ mr r3, r30 +/* 80316980 003138E0 38 80 00 14 */ li r4, 0x14 +/* 80316984 003138E4 48 05 60 E1 */ bl sub_8036ca64 +lbl_80316988: +/* 80316988 003138E8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8031698C 003138EC 7F C3 F3 78 */ mr r3, r30 +/* 80316990 003138F0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80316994 003138F4 83 C1 00 08 */ lwz r30, 8(r1) +/* 80316998 003138F8 7C 08 03 A6 */ mtlr r0 +/* 8031699C 003138FC 38 21 00 10 */ addi r1, r1, 0x10 +/* 803169A0 00313900 4E 80 00 20 */ blr + +.global __ct__8CCEPulseFP11CIntElementP11CIntElementP13CColorElementP13CColorElement +__ct__8CCEPulseFP11CIntElementP11CIntElementP13CColorElementP13CColorElement: +/* 803169A4 00313904 3D 40 80 3F */ lis r10, lbl_803EC5A8@ha +/* 803169A8 00313908 3D 20 80 3F */ lis r9, lbl_803EC5B4@ha +/* 803169AC 0031390C 38 0A C5 A8 */ addi r0, r10, lbl_803EC5A8@l +/* 803169B0 00313910 3D 00 80 3F */ lis r8, lbl_803EDA20@ha +/* 803169B4 00313914 90 03 00 00 */ stw r0, 0(r3) +/* 803169B8 00313918 39 29 C5 B4 */ addi r9, r9, lbl_803EC5B4@l +/* 803169BC 0031391C 38 08 DA 20 */ addi r0, r8, lbl_803EDA20@l +/* 803169C0 00313920 91 23 00 00 */ stw r9, 0(r3) +/* 803169C4 00313924 90 03 00 00 */ stw r0, 0(r3) +/* 803169C8 00313928 90 83 00 04 */ stw r4, 4(r3) +/* 803169CC 0031392C 90 A3 00 08 */ stw r5, 8(r3) +/* 803169D0 00313930 90 C3 00 0C */ stw r6, 0xc(r3) +/* 803169D4 00313934 90 E3 00 10 */ stw r7, 0x10(r3) +/* 803169D8 00313938 4E 80 00 20 */ blr + +.global GetValue__12CCETimeChainCFiR6CColor +GetValue__12CCETimeChainCFiR6CColor: +/* 803169DC 0031393C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803169E0 00313940 7C 08 02 A6 */ mflr r0 +/* 803169E4 00313944 90 01 00 24 */ stw r0, 0x24(r1) +/* 803169E8 00313948 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 803169EC 0031394C 7C BF 2B 78 */ mr r31, r5 +/* 803169F0 00313950 38 A1 00 08 */ addi r5, r1, 8 +/* 803169F4 00313954 93 C1 00 18 */ stw r30, 0x18(r1) +/* 803169F8 00313958 7C 9E 23 78 */ mr r30, r4 +/* 803169FC 0031395C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80316A00 00313960 7C 7D 1B 78 */ mr r29, r3 +/* 80316A04 00313964 80 63 00 0C */ lwz r3, 0xc(r3) +/* 80316A08 00313968 81 83 00 00 */ lwz r12, 0(r3) +/* 80316A0C 0031396C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80316A10 00313970 7D 89 03 A6 */ mtctr r12 +/* 80316A14 00313974 4E 80 04 21 */ bctrl +/* 80316A18 00313978 80 01 00 08 */ lwz r0, 8(r1) +/* 80316A1C 0031397C 7C 1E 00 00 */ cmpw r30, r0 +/* 80316A20 00313980 40 80 00 24 */ bge lbl_80316A44 +/* 80316A24 00313984 80 7D 00 04 */ lwz r3, 4(r29) +/* 80316A28 00313988 7F C4 F3 78 */ mr r4, r30 +/* 80316A2C 0031398C 7F E5 FB 78 */ mr r5, r31 +/* 80316A30 00313990 81 83 00 00 */ lwz r12, 0(r3) +/* 80316A34 00313994 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80316A38 00313998 7D 89 03 A6 */ mtctr r12 +/* 80316A3C 0031399C 4E 80 04 21 */ bctrl +/* 80316A40 003139A0 48 00 00 20 */ b lbl_80316A60 +lbl_80316A44: +/* 80316A44 003139A4 80 7D 00 08 */ lwz r3, 8(r29) +/* 80316A48 003139A8 7F E5 FB 78 */ mr r5, r31 +/* 80316A4C 003139AC 7C 80 F0 50 */ subf r4, r0, r30 +/* 80316A50 003139B0 81 83 00 00 */ lwz r12, 0(r3) +/* 80316A54 003139B4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80316A58 003139B8 7D 89 03 A6 */ mtctr r12 +/* 80316A5C 003139BC 4E 80 04 21 */ bctrl +lbl_80316A60: +/* 80316A60 003139C0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80316A64 003139C4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80316A68 003139C8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80316A6C 003139CC 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80316A70 003139D0 7C 08 03 A6 */ mtlr r0 +/* 80316A74 003139D4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80316A78 003139D8 4E 80 00 20 */ blr + +.global __dt__12CCETimeChainFv +__dt__12CCETimeChainFv: +/* 80316A7C 003139DC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80316A80 003139E0 7C 08 02 A6 */ mflr r0 +/* 80316A84 003139E4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80316A88 003139E8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80316A8C 003139EC 7C 9F 23 78 */ mr r31, r4 +/* 80316A90 003139F0 93 C1 00 08 */ stw r30, 8(r1) +/* 80316A94 003139F4 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80316A98 003139F8 41 82 00 A8 */ beq lbl_80316B40 +/* 80316A9C 003139FC 3C 60 80 3F */ lis r3, lbl_803EDA30@ha +/* 80316AA0 00313A00 38 03 DA 30 */ addi r0, r3, lbl_803EDA30@l +/* 80316AA4 00313A04 90 1E 00 00 */ stw r0, 0(r30) +/* 80316AA8 00313A08 80 7E 00 04 */ lwz r3, 4(r30) +/* 80316AAC 00313A0C 28 03 00 00 */ cmplwi r3, 0 +/* 80316AB0 00313A10 41 82 00 18 */ beq lbl_80316AC8 +/* 80316AB4 00313A14 81 83 00 00 */ lwz r12, 0(r3) +/* 80316AB8 00313A18 38 80 00 01 */ li r4, 1 +/* 80316ABC 00313A1C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80316AC0 00313A20 7D 89 03 A6 */ mtctr r12 +/* 80316AC4 00313A24 4E 80 04 21 */ bctrl +lbl_80316AC8: +/* 80316AC8 00313A28 80 7E 00 08 */ lwz r3, 8(r30) +/* 80316ACC 00313A2C 28 03 00 00 */ cmplwi r3, 0 +/* 80316AD0 00313A30 41 82 00 18 */ beq lbl_80316AE8 +/* 80316AD4 00313A34 81 83 00 00 */ lwz r12, 0(r3) +/* 80316AD8 00313A38 38 80 00 01 */ li r4, 1 +/* 80316ADC 00313A3C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80316AE0 00313A40 7D 89 03 A6 */ mtctr r12 +/* 80316AE4 00313A44 4E 80 04 21 */ bctrl +lbl_80316AE8: +/* 80316AE8 00313A48 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80316AEC 00313A4C 28 03 00 00 */ cmplwi r3, 0 +/* 80316AF0 00313A50 41 82 00 18 */ beq lbl_80316B08 +/* 80316AF4 00313A54 81 83 00 00 */ lwz r12, 0(r3) +/* 80316AF8 00313A58 38 80 00 01 */ li r4, 1 +/* 80316AFC 00313A5C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80316B00 00313A60 7D 89 03 A6 */ mtctr r12 +/* 80316B04 00313A64 4E 80 04 21 */ bctrl +lbl_80316B08: +/* 80316B08 00313A68 28 1E 00 00 */ cmplwi r30, 0 +/* 80316B0C 00313A6C 41 82 00 20 */ beq lbl_80316B2C +/* 80316B10 00313A70 3C 60 80 3F */ lis r3, lbl_803EC5B4@ha +/* 80316B14 00313A74 38 03 C5 B4 */ addi r0, r3, lbl_803EC5B4@l +/* 80316B18 00313A78 90 1E 00 00 */ stw r0, 0(r30) +/* 80316B1C 00313A7C 41 82 00 10 */ beq lbl_80316B2C +/* 80316B20 00313A80 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80316B24 00313A84 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80316B28 00313A88 90 1E 00 00 */ stw r0, 0(r30) +lbl_80316B2C: +/* 80316B2C 00313A8C 7F E0 07 35 */ extsh. r0, r31 +/* 80316B30 00313A90 40 81 00 10 */ ble lbl_80316B40 +/* 80316B34 00313A94 7F C3 F3 78 */ mr r3, r30 +/* 80316B38 00313A98 38 80 00 10 */ li r4, 0x10 +/* 80316B3C 00313A9C 48 05 5F 29 */ bl sub_8036ca64 +lbl_80316B40: +/* 80316B40 00313AA0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80316B44 00313AA4 7F C3 F3 78 */ mr r3, r30 +/* 80316B48 00313AA8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80316B4C 00313AAC 83 C1 00 08 */ lwz r30, 8(r1) +/* 80316B50 00313AB0 7C 08 03 A6 */ mtlr r0 +/* 80316B54 00313AB4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80316B58 00313AB8 4E 80 00 20 */ blr + +.global __ct__12CCETimeChainFP13CColorElementP13CColorElementP11CIntElement +__ct__12CCETimeChainFP13CColorElementP13CColorElementP11CIntElement: +/* 80316B5C 00313ABC 3D 20 80 3F */ lis r9, lbl_803EC5A8@ha +/* 80316B60 00313AC0 3D 00 80 3F */ lis r8, lbl_803EC5B4@ha +/* 80316B64 00313AC4 38 09 C5 A8 */ addi r0, r9, lbl_803EC5A8@l +/* 80316B68 00313AC8 3C E0 80 3F */ lis r7, lbl_803EDA30@ha +/* 80316B6C 00313ACC 90 03 00 00 */ stw r0, 0(r3) +/* 80316B70 00313AD0 39 08 C5 B4 */ addi r8, r8, lbl_803EC5B4@l +/* 80316B74 00313AD4 38 07 DA 30 */ addi r0, r7, lbl_803EDA30@l +/* 80316B78 00313AD8 91 03 00 00 */ stw r8, 0(r3) +/* 80316B7C 00313ADC 90 03 00 00 */ stw r0, 0(r3) +/* 80316B80 00313AE0 90 83 00 04 */ stw r4, 4(r3) +/* 80316B84 00313AE4 90 A3 00 08 */ stw r5, 8(r3) +/* 80316B88 00313AE8 90 C3 00 0C */ stw r6, 0xc(r3) +/* 80316B8C 00313AEC 4E 80 00 20 */ blr + +.global GetValue__10CCEFadeEndCFiR6CColor +GetValue__10CCEFadeEndCFiR6CColor: +/* 80316B90 00313AF0 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 80316B94 00313AF4 7C 08 02 A6 */ mflr r0 +/* 80316B98 00313AF8 90 01 00 74 */ stw r0, 0x74(r1) +/* 80316B9C 00313AFC DB E1 00 60 */ stfd f31, 0x60(r1) +/* 80316BA0 00313B00 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 +/* 80316BA4 00313B04 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 80316BA8 00313B08 93 C1 00 58 */ stw r30, 0x58(r1) +/* 80316BAC 00313B0C 93 A1 00 54 */ stw r29, 0x54(r1) +/* 80316BB0 00313B10 7C 7D 1B 78 */ mr r29, r3 +/* 80316BB4 00313B14 7C BF 2B 78 */ mr r31, r5 +/* 80316BB8 00313B18 80 63 00 0C */ lwz r3, 0xc(r3) +/* 80316BBC 00313B1C 7C 9E 23 78 */ mr r30, r4 +/* 80316BC0 00313B20 38 A1 00 38 */ addi r5, r1, 0x38 +/* 80316BC4 00313B24 81 83 00 00 */ lwz r12, 0(r3) +/* 80316BC8 00313B28 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80316BCC 00313B2C 7D 89 03 A6 */ mtctr r12 +/* 80316BD0 00313B30 4E 80 04 21 */ bctrl +/* 80316BD4 00313B34 6F C3 80 00 */ xoris r3, r30, 0x8000 +/* 80316BD8 00313B38 3C 00 43 30 */ lis r0, 0x4330 +/* 80316BDC 00313B3C 90 61 00 44 */ stw r3, 0x44(r1) +/* 80316BE0 00313B40 C8 42 C9 E0 */ lfd f2, lbl_805AE700@sda21(r2) +/* 80316BE4 00313B44 90 01 00 40 */ stw r0, 0x40(r1) +/* 80316BE8 00313B48 C0 01 00 38 */ lfs f0, 0x38(r1) +/* 80316BEC 00313B4C C8 21 00 40 */ lfd f1, 0x40(r1) +/* 80316BF0 00313B50 EF E1 10 28 */ fsubs f31, f1, f2 +/* 80316BF4 00313B54 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 80316BF8 00313B58 40 80 00 28 */ bge lbl_80316C20 +/* 80316BFC 00313B5C 80 7D 00 04 */ lwz r3, 4(r29) +/* 80316C00 00313B60 7F C4 F3 78 */ mr r4, r30 +/* 80316C04 00313B64 7F E5 FB 78 */ mr r5, r31 +/* 80316C08 00313B68 81 83 00 00 */ lwz r12, 0(r3) +/* 80316C0C 00313B6C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80316C10 00313B70 7D 89 03 A6 */ mtctr r12 +/* 80316C14 00313B74 4E 80 04 21 */ bctrl +/* 80316C18 00313B78 38 60 00 00 */ li r3, 0 +/* 80316C1C 00313B7C 48 00 01 20 */ b lbl_80316D3C +lbl_80316C20: +/* 80316C20 00313B80 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 80316C24 00313B84 7F C4 F3 78 */ mr r4, r30 +/* 80316C28 00313B88 38 A1 00 34 */ addi r5, r1, 0x34 +/* 80316C2C 00313B8C 81 83 00 00 */ lwz r12, 0(r3) +/* 80316C30 00313B90 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80316C34 00313B94 7D 89 03 A6 */ mtctr r12 +/* 80316C38 00313B98 4E 80 04 21 */ bctrl +/* 80316C3C 00313B9C 38 C0 00 FF */ li r6, 0xff +/* 80316C40 00313BA0 38 00 00 00 */ li r0, 0 +/* 80316C44 00313BA4 98 C1 00 30 */ stb r6, 0x30(r1) +/* 80316C48 00313BA8 7F C4 F3 78 */ mr r4, r30 +/* 80316C4C 00313BAC 80 7D 00 04 */ lwz r3, 4(r29) +/* 80316C50 00313BB0 38 A1 00 30 */ addi r5, r1, 0x30 +/* 80316C54 00313BB4 98 01 00 31 */ stb r0, 0x31(r1) +/* 80316C58 00313BB8 98 C1 00 32 */ stb r6, 0x32(r1) +/* 80316C5C 00313BBC 98 C1 00 33 */ stb r6, 0x33(r1) +/* 80316C60 00313BC0 98 C1 00 2C */ stb r6, 0x2c(r1) +/* 80316C64 00313BC4 98 01 00 2D */ stb r0, 0x2d(r1) +/* 80316C68 00313BC8 98 C1 00 2E */ stb r6, 0x2e(r1) +/* 80316C6C 00313BCC 98 C1 00 2F */ stb r6, 0x2f(r1) +/* 80316C70 00313BD0 81 83 00 00 */ lwz r12, 0(r3) +/* 80316C74 00313BD4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80316C78 00313BD8 7D 89 03 A6 */ mtctr r12 +/* 80316C7C 00313BDC 4E 80 04 21 */ bctrl +/* 80316C80 00313BE0 80 7D 00 08 */ lwz r3, 8(r29) +/* 80316C84 00313BE4 7F C4 F3 78 */ mr r4, r30 +/* 80316C88 00313BE8 38 A1 00 2C */ addi r5, r1, 0x2c +/* 80316C8C 00313BEC 81 83 00 00 */ lwz r12, 0(r3) +/* 80316C90 00313BF0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80316C94 00313BF4 7D 89 03 A6 */ mtctr r12 +/* 80316C98 00313BF8 4E 80 04 21 */ bctrl +/* 80316C9C 00313BFC 38 61 00 30 */ addi r3, r1, 0x30 +/* 80316CA0 00313C00 38 81 00 28 */ addi r4, r1, 0x28 +/* 80316CA4 00313C04 38 A1 00 24 */ addi r5, r1, 0x24 +/* 80316CA8 00313C08 38 C1 00 20 */ addi r6, r1, 0x20 +/* 80316CAC 00313C0C 38 E1 00 1C */ addi r7, r1, 0x1c +/* 80316CB0 00313C10 48 04 C6 B5 */ bl Get__6CColorCFRfRfRfRf +/* 80316CB4 00313C14 38 61 00 2C */ addi r3, r1, 0x2c +/* 80316CB8 00313C18 38 81 00 18 */ addi r4, r1, 0x18 +/* 80316CBC 00313C1C 38 A1 00 14 */ addi r5, r1, 0x14 +/* 80316CC0 00313C20 38 C1 00 10 */ addi r6, r1, 0x10 +/* 80316CC4 00313C24 38 E1 00 0C */ addi r7, r1, 0xc +/* 80316CC8 00313C28 48 04 C6 9D */ bl Get__6CColorCFRfRfRfRf +/* 80316CCC 00313C2C C0 21 00 38 */ lfs f1, 0x38(r1) +/* 80316CD0 00313C30 38 61 00 08 */ addi r3, r1, 8 +/* 80316CD4 00313C34 C0 01 00 34 */ lfs f0, 0x34(r1) +/* 80316CD8 00313C38 EC 9F 08 28 */ fsubs f4, f31, f1 +/* 80316CDC 00313C3C C0 E2 C9 D8 */ lfs f7, lbl_805AE6F8@sda21(r2) +/* 80316CE0 00313C40 EC 00 08 28 */ fsubs f0, f0, f1 +/* 80316CE4 00313C44 C0 61 00 18 */ lfs f3, 0x18(r1) +/* 80316CE8 00313C48 C0 41 00 14 */ lfs f2, 0x14(r1) +/* 80316CEC 00313C4C C0 21 00 10 */ lfs f1, 0x10(r1) +/* 80316CF0 00313C50 ED 24 00 24 */ fdivs f9, f4, f0 +/* 80316CF4 00313C54 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 80316CF8 00313C58 C1 01 00 28 */ lfs f8, 0x28(r1) +/* 80316CFC 00313C5C C0 C1 00 24 */ lfs f6, 0x24(r1) +/* 80316D00 00313C60 C0 A1 00 20 */ lfs f5, 0x20(r1) +/* 80316D04 00313C64 C0 81 00 1C */ lfs f4, 0x1c(r1) +/* 80316D08 00313C68 ED 47 48 28 */ fsubs f10, f7, f9 +/* 80316D0C 00313C6C EC E3 02 72 */ fmuls f7, f3, f9 +/* 80316D10 00313C70 EC 42 02 72 */ fmuls f2, f2, f9 +/* 80316D14 00313C74 EC 61 02 72 */ fmuls f3, f1, f9 +/* 80316D18 00313C78 EC 00 02 72 */ fmuls f0, f0, f9 +/* 80316D1C 00313C7C EC 28 3A BA */ fmadds f1, f8, f10, f7 +/* 80316D20 00313C80 EC 46 12 BA */ fmadds f2, f6, f10, f2 +/* 80316D24 00313C84 EC 65 1A BA */ fmadds f3, f5, f10, f3 +/* 80316D28 00313C88 EC 84 02 BA */ fmadds f4, f4, f10, f0 +/* 80316D2C 00313C8C 48 04 C6 C1 */ bl __ct__6CColorFffff +/* 80316D30 00313C90 80 01 00 08 */ lwz r0, 8(r1) +/* 80316D34 00313C94 38 60 00 00 */ li r3, 0 +/* 80316D38 00313C98 90 1F 00 00 */ stw r0, 0(r31) +lbl_80316D3C: +/* 80316D3C 00313C9C E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 +/* 80316D40 00313CA0 80 01 00 74 */ lwz r0, 0x74(r1) +/* 80316D44 00313CA4 CB E1 00 60 */ lfd f31, 0x60(r1) +/* 80316D48 00313CA8 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 80316D4C 00313CAC 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 80316D50 00313CB0 83 A1 00 54 */ lwz r29, 0x54(r1) +/* 80316D54 00313CB4 7C 08 03 A6 */ mtlr r0 +/* 80316D58 00313CB8 38 21 00 70 */ addi r1, r1, 0x70 +/* 80316D5C 00313CBC 4E 80 00 20 */ blr + +.global __dt__10CCEFadeEndFv +__dt__10CCEFadeEndFv: +/* 80316D60 00313CC0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80316D64 00313CC4 7C 08 02 A6 */ mflr r0 +/* 80316D68 00313CC8 90 01 00 14 */ stw r0, 0x14(r1) +/* 80316D6C 00313CCC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80316D70 00313CD0 7C 9F 23 78 */ mr r31, r4 +/* 80316D74 00313CD4 93 C1 00 08 */ stw r30, 8(r1) +/* 80316D78 00313CD8 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80316D7C 00313CDC 41 82 00 C8 */ beq lbl_80316E44 +/* 80316D80 00313CE0 3C 60 80 3F */ lis r3, lbl_803EDA40@ha +/* 80316D84 00313CE4 38 03 DA 40 */ addi r0, r3, lbl_803EDA40@l +/* 80316D88 00313CE8 90 1E 00 00 */ stw r0, 0(r30) +/* 80316D8C 00313CEC 80 7E 00 04 */ lwz r3, 4(r30) +/* 80316D90 00313CF0 28 03 00 00 */ cmplwi r3, 0 +/* 80316D94 00313CF4 41 82 00 18 */ beq lbl_80316DAC +/* 80316D98 00313CF8 81 83 00 00 */ lwz r12, 0(r3) +/* 80316D9C 00313CFC 38 80 00 01 */ li r4, 1 +/* 80316DA0 00313D00 81 8C 00 08 */ lwz r12, 8(r12) +/* 80316DA4 00313D04 7D 89 03 A6 */ mtctr r12 +/* 80316DA8 00313D08 4E 80 04 21 */ bctrl +lbl_80316DAC: +/* 80316DAC 00313D0C 80 7E 00 08 */ lwz r3, 8(r30) +/* 80316DB0 00313D10 28 03 00 00 */ cmplwi r3, 0 +/* 80316DB4 00313D14 41 82 00 18 */ beq lbl_80316DCC +/* 80316DB8 00313D18 81 83 00 00 */ lwz r12, 0(r3) +/* 80316DBC 00313D1C 38 80 00 01 */ li r4, 1 +/* 80316DC0 00313D20 81 8C 00 08 */ lwz r12, 8(r12) +/* 80316DC4 00313D24 7D 89 03 A6 */ mtctr r12 +/* 80316DC8 00313D28 4E 80 04 21 */ bctrl +lbl_80316DCC: +/* 80316DCC 00313D2C 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80316DD0 00313D30 28 03 00 00 */ cmplwi r3, 0 +/* 80316DD4 00313D34 41 82 00 18 */ beq lbl_80316DEC +/* 80316DD8 00313D38 81 83 00 00 */ lwz r12, 0(r3) +/* 80316DDC 00313D3C 38 80 00 01 */ li r4, 1 +/* 80316DE0 00313D40 81 8C 00 08 */ lwz r12, 8(r12) +/* 80316DE4 00313D44 7D 89 03 A6 */ mtctr r12 +/* 80316DE8 00313D48 4E 80 04 21 */ bctrl +lbl_80316DEC: +/* 80316DEC 00313D4C 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 80316DF0 00313D50 28 03 00 00 */ cmplwi r3, 0 +/* 80316DF4 00313D54 41 82 00 18 */ beq lbl_80316E0C +/* 80316DF8 00313D58 81 83 00 00 */ lwz r12, 0(r3) +/* 80316DFC 00313D5C 38 80 00 01 */ li r4, 1 +/* 80316E00 00313D60 81 8C 00 08 */ lwz r12, 8(r12) +/* 80316E04 00313D64 7D 89 03 A6 */ mtctr r12 +/* 80316E08 00313D68 4E 80 04 21 */ bctrl +lbl_80316E0C: +/* 80316E0C 00313D6C 28 1E 00 00 */ cmplwi r30, 0 +/* 80316E10 00313D70 41 82 00 20 */ beq lbl_80316E30 +/* 80316E14 00313D74 3C 60 80 3F */ lis r3, lbl_803EC5B4@ha +/* 80316E18 00313D78 38 03 C5 B4 */ addi r0, r3, lbl_803EC5B4@l +/* 80316E1C 00313D7C 90 1E 00 00 */ stw r0, 0(r30) +/* 80316E20 00313D80 41 82 00 10 */ beq lbl_80316E30 +/* 80316E24 00313D84 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80316E28 00313D88 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80316E2C 00313D8C 90 1E 00 00 */ stw r0, 0(r30) +lbl_80316E30: +/* 80316E30 00313D90 7F E0 07 35 */ extsh. r0, r31 +/* 80316E34 00313D94 40 81 00 10 */ ble lbl_80316E44 +/* 80316E38 00313D98 7F C3 F3 78 */ mr r3, r30 +/* 80316E3C 00313D9C 38 80 00 14 */ li r4, 0x14 +/* 80316E40 00313DA0 48 05 5C 25 */ bl sub_8036ca64 +lbl_80316E44: +/* 80316E44 00313DA4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80316E48 00313DA8 7F C3 F3 78 */ mr r3, r30 +/* 80316E4C 00313DAC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80316E50 00313DB0 83 C1 00 08 */ lwz r30, 8(r1) +/* 80316E54 00313DB4 7C 08 03 A6 */ mtlr r0 +/* 80316E58 00313DB8 38 21 00 10 */ addi r1, r1, 0x10 +/* 80316E5C 00313DBC 4E 80 00 20 */ blr + +.global __ct__10CCEFadeEndFP13CColorElementP13CColorElementP12CRealElementP12CRealElement +__ct__10CCEFadeEndFP13CColorElementP13CColorElementP12CRealElementP12CRealElement: +/* 80316E60 00313DC0 3D 40 80 3F */ lis r10, lbl_803EC5A8@ha +/* 80316E64 00313DC4 3D 20 80 3F */ lis r9, lbl_803EC5B4@ha +/* 80316E68 00313DC8 38 0A C5 A8 */ addi r0, r10, lbl_803EC5A8@l +/* 80316E6C 00313DCC 3D 00 80 3F */ lis r8, lbl_803EDA40@ha +/* 80316E70 00313DD0 90 03 00 00 */ stw r0, 0(r3) +/* 80316E74 00313DD4 39 29 C5 B4 */ addi r9, r9, lbl_803EC5B4@l +/* 80316E78 00313DD8 38 08 DA 40 */ addi r0, r8, lbl_803EDA40@l +/* 80316E7C 00313DDC 91 23 00 00 */ stw r9, 0(r3) +/* 80316E80 00313DE0 90 03 00 00 */ stw r0, 0(r3) +/* 80316E84 00313DE4 90 83 00 04 */ stw r4, 4(r3) +/* 80316E88 00313DE8 90 A3 00 08 */ stw r5, 8(r3) +/* 80316E8C 00313DEC 90 C3 00 0C */ stw r6, 0xc(r3) +/* 80316E90 00313DF0 90 E3 00 10 */ stw r7, 0x10(r3) +/* 80316E94 00313DF4 4E 80 00 20 */ blr + +.global GetValue__7CCEFadeCFiR6CColor +GetValue__7CCEFadeCFiR6CColor: +/* 80316E98 00313DF8 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80316E9C 00313DFC 7C 08 02 A6 */ mflr r0 +/* 80316EA0 00313E00 90 01 00 64 */ stw r0, 0x64(r1) +/* 80316EA4 00313E04 DB E1 00 50 */ stfd f31, 0x50(r1) +/* 80316EA8 00313E08 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 +/* 80316EAC 00313E0C 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 80316EB0 00313E10 93 C1 00 48 */ stw r30, 0x48(r1) +/* 80316EB4 00313E14 93 A1 00 44 */ stw r29, 0x44(r1) +/* 80316EB8 00313E18 7C 7D 1B 78 */ mr r29, r3 +/* 80316EBC 00313E1C 7C BF 2B 78 */ mr r31, r5 +/* 80316EC0 00313E20 80 63 00 0C */ lwz r3, 0xc(r3) +/* 80316EC4 00313E24 7C 9E 23 78 */ mr r30, r4 +/* 80316EC8 00313E28 38 A1 00 34 */ addi r5, r1, 0x34 +/* 80316ECC 00313E2C 81 83 00 00 */ lwz r12, 0(r3) +/* 80316ED0 00313E30 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80316ED4 00313E34 7D 89 03 A6 */ mtctr r12 +/* 80316ED8 00313E38 4E 80 04 21 */ bctrl +/* 80316EDC 00313E3C C0 22 C9 D8 */ lfs f1, lbl_805AE6F8@sda21(r2) +/* 80316EE0 00313E40 6F C3 80 00 */ xoris r3, r30, 0x8000 +/* 80316EE4 00313E44 C0 01 00 34 */ lfs f0, 0x34(r1) +/* 80316EE8 00313E48 3C 00 43 30 */ lis r0, 0x4330 +/* 80316EEC 00313E4C 90 61 00 3C */ stw r3, 0x3c(r1) +/* 80316EF0 00313E50 EC 01 00 24 */ fdivs f0, f1, f0 +/* 80316EF4 00313E54 C8 62 C9 E0 */ lfd f3, lbl_805AE700@sda21(r2) +/* 80316EF8 00313E58 90 01 00 38 */ stw r0, 0x38(r1) +/* 80316EFC 00313E5C C8 41 00 38 */ lfd f2, 0x38(r1) +/* 80316F00 00313E60 EC 42 18 28 */ fsubs f2, f2, f3 +/* 80316F04 00313E64 EF E2 00 32 */ fmuls f31, f2, f0 +/* 80316F08 00313E68 FC 1F 08 40 */ fcmpo cr0, f31, f1 +/* 80316F0C 00313E6C 4C 41 13 82 */ cror 2, 1, 2 +/* 80316F10 00313E70 40 82 00 24 */ bne lbl_80316F34 +/* 80316F14 00313E74 80 7D 00 08 */ lwz r3, 8(r29) +/* 80316F18 00313E78 7F C4 F3 78 */ mr r4, r30 +/* 80316F1C 00313E7C 7F E5 FB 78 */ mr r5, r31 +/* 80316F20 00313E80 81 83 00 00 */ lwz r12, 0(r3) +/* 80316F24 00313E84 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80316F28 00313E88 7D 89 03 A6 */ mtctr r12 +/* 80316F2C 00313E8C 4E 80 04 21 */ bctrl +/* 80316F30 00313E90 48 00 00 EC */ b lbl_8031701C +lbl_80316F34: +/* 80316F34 00313E94 38 C0 00 FF */ li r6, 0xff +/* 80316F38 00313E98 38 00 00 00 */ li r0, 0 +/* 80316F3C 00313E9C 98 C1 00 30 */ stb r6, 0x30(r1) +/* 80316F40 00313EA0 7F C4 F3 78 */ mr r4, r30 +/* 80316F44 00313EA4 80 7D 00 04 */ lwz r3, 4(r29) +/* 80316F48 00313EA8 38 A1 00 30 */ addi r5, r1, 0x30 +/* 80316F4C 00313EAC 98 01 00 31 */ stb r0, 0x31(r1) +/* 80316F50 00313EB0 98 C1 00 32 */ stb r6, 0x32(r1) +/* 80316F54 00313EB4 98 C1 00 33 */ stb r6, 0x33(r1) +/* 80316F58 00313EB8 98 C1 00 2C */ stb r6, 0x2c(r1) +/* 80316F5C 00313EBC 98 01 00 2D */ stb r0, 0x2d(r1) +/* 80316F60 00313EC0 98 C1 00 2E */ stb r6, 0x2e(r1) +/* 80316F64 00313EC4 98 C1 00 2F */ stb r6, 0x2f(r1) +/* 80316F68 00313EC8 81 83 00 00 */ lwz r12, 0(r3) +/* 80316F6C 00313ECC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80316F70 00313ED0 7D 89 03 A6 */ mtctr r12 +/* 80316F74 00313ED4 4E 80 04 21 */ bctrl +/* 80316F78 00313ED8 80 7D 00 08 */ lwz r3, 8(r29) +/* 80316F7C 00313EDC 7F C4 F3 78 */ mr r4, r30 +/* 80316F80 00313EE0 38 A1 00 2C */ addi r5, r1, 0x2c +/* 80316F84 00313EE4 81 83 00 00 */ lwz r12, 0(r3) +/* 80316F88 00313EE8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80316F8C 00313EEC 7D 89 03 A6 */ mtctr r12 +/* 80316F90 00313EF0 4E 80 04 21 */ bctrl +/* 80316F94 00313EF4 38 61 00 30 */ addi r3, r1, 0x30 +/* 80316F98 00313EF8 38 81 00 28 */ addi r4, r1, 0x28 +/* 80316F9C 00313EFC 38 A1 00 24 */ addi r5, r1, 0x24 +/* 80316FA0 00313F00 38 C1 00 20 */ addi r6, r1, 0x20 +/* 80316FA4 00313F04 38 E1 00 1C */ addi r7, r1, 0x1c +/* 80316FA8 00313F08 48 04 C3 BD */ bl Get__6CColorCFRfRfRfRf +/* 80316FAC 00313F0C 38 61 00 2C */ addi r3, r1, 0x2c +/* 80316FB0 00313F10 38 81 00 18 */ addi r4, r1, 0x18 +/* 80316FB4 00313F14 38 A1 00 14 */ addi r5, r1, 0x14 +/* 80316FB8 00313F18 38 C1 00 10 */ addi r6, r1, 0x10 +/* 80316FBC 00313F1C 38 E1 00 0C */ addi r7, r1, 0xc +/* 80316FC0 00313F20 48 04 C3 A5 */ bl Get__6CColorCFRfRfRfRf +/* 80316FC4 00313F24 C0 22 C9 D8 */ lfs f1, lbl_805AE6F8@sda21(r2) +/* 80316FC8 00313F28 38 61 00 08 */ addi r3, r1, 8 +/* 80316FCC 00313F2C C0 01 00 18 */ lfs f0, 0x18(r1) +/* 80316FD0 00313F30 C0 41 00 14 */ lfs f2, 0x14(r1) +/* 80316FD4 00313F34 ED 21 F8 28 */ fsubs f9, f1, f31 +/* 80316FD8 00313F38 C0 21 00 10 */ lfs f1, 0x10(r1) +/* 80316FDC 00313F3C EC E0 07 F2 */ fmuls f7, f0, f31 +/* 80316FE0 00313F40 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 80316FE4 00313F44 EC 42 07 F2 */ fmuls f2, f2, f31 +/* 80316FE8 00313F48 C1 01 00 28 */ lfs f8, 0x28(r1) +/* 80316FEC 00313F4C C0 C1 00 24 */ lfs f6, 0x24(r1) +/* 80316FF0 00313F50 EC 61 07 F2 */ fmuls f3, f1, f31 +/* 80316FF4 00313F54 C0 A1 00 20 */ lfs f5, 0x20(r1) +/* 80316FF8 00313F58 EC 00 07 F2 */ fmuls f0, f0, f31 +/* 80316FFC 00313F5C C0 81 00 1C */ lfs f4, 0x1c(r1) +/* 80317000 00313F60 EC 28 3A 7A */ fmadds f1, f8, f9, f7 +/* 80317004 00313F64 EC 46 12 7A */ fmadds f2, f6, f9, f2 +/* 80317008 00313F68 EC 65 1A 7A */ fmadds f3, f5, f9, f3 +/* 8031700C 00313F6C EC 84 02 7A */ fmadds f4, f4, f9, f0 +/* 80317010 00313F70 48 04 C3 DD */ bl __ct__6CColorFffff +/* 80317014 00313F74 80 01 00 08 */ lwz r0, 8(r1) +/* 80317018 00313F78 90 1F 00 00 */ stw r0, 0(r31) +lbl_8031701C: +/* 8031701C 00313F7C 38 60 00 00 */ li r3, 0 +/* 80317020 00313F80 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 +/* 80317024 00313F84 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80317028 00313F88 CB E1 00 50 */ lfd f31, 0x50(r1) +/* 8031702C 00313F8C 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 80317030 00313F90 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 80317034 00313F94 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 80317038 00313F98 7C 08 03 A6 */ mtlr r0 +/* 8031703C 00313F9C 38 21 00 60 */ addi r1, r1, 0x60 +/* 80317040 00313FA0 4E 80 00 20 */ blr + +.global __dt__7CCEFadeFv +__dt__7CCEFadeFv: +/* 80317044 00313FA4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80317048 00313FA8 7C 08 02 A6 */ mflr r0 +/* 8031704C 00313FAC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80317050 00313FB0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80317054 00313FB4 7C 9F 23 78 */ mr r31, r4 +/* 80317058 00313FB8 93 C1 00 08 */ stw r30, 8(r1) +/* 8031705C 00313FBC 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80317060 00313FC0 41 82 00 A8 */ beq lbl_80317108 +/* 80317064 00313FC4 3C 60 80 3F */ lis r3, lbl_803EDA50@ha +/* 80317068 00313FC8 38 03 DA 50 */ addi r0, r3, lbl_803EDA50@l +/* 8031706C 00313FCC 90 1E 00 00 */ stw r0, 0(r30) +/* 80317070 00313FD0 80 7E 00 04 */ lwz r3, 4(r30) +/* 80317074 00313FD4 28 03 00 00 */ cmplwi r3, 0 +/* 80317078 00313FD8 41 82 00 18 */ beq lbl_80317090 +/* 8031707C 00313FDC 81 83 00 00 */ lwz r12, 0(r3) +/* 80317080 00313FE0 38 80 00 01 */ li r4, 1 +/* 80317084 00313FE4 81 8C 00 08 */ lwz r12, 8(r12) +/* 80317088 00313FE8 7D 89 03 A6 */ mtctr r12 +/* 8031708C 00313FEC 4E 80 04 21 */ bctrl +lbl_80317090: +/* 80317090 00313FF0 80 7E 00 08 */ lwz r3, 8(r30) +/* 80317094 00313FF4 28 03 00 00 */ cmplwi r3, 0 +/* 80317098 00313FF8 41 82 00 18 */ beq lbl_803170B0 +/* 8031709C 00313FFC 81 83 00 00 */ lwz r12, 0(r3) +/* 803170A0 00314000 38 80 00 01 */ li r4, 1 +/* 803170A4 00314004 81 8C 00 08 */ lwz r12, 8(r12) +/* 803170A8 00314008 7D 89 03 A6 */ mtctr r12 +/* 803170AC 0031400C 4E 80 04 21 */ bctrl +lbl_803170B0: +/* 803170B0 00314010 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 803170B4 00314014 28 03 00 00 */ cmplwi r3, 0 +/* 803170B8 00314018 41 82 00 18 */ beq lbl_803170D0 +/* 803170BC 0031401C 81 83 00 00 */ lwz r12, 0(r3) +/* 803170C0 00314020 38 80 00 01 */ li r4, 1 +/* 803170C4 00314024 81 8C 00 08 */ lwz r12, 8(r12) +/* 803170C8 00314028 7D 89 03 A6 */ mtctr r12 +/* 803170CC 0031402C 4E 80 04 21 */ bctrl +lbl_803170D0: +/* 803170D0 00314030 28 1E 00 00 */ cmplwi r30, 0 +/* 803170D4 00314034 41 82 00 20 */ beq lbl_803170F4 +/* 803170D8 00314038 3C 60 80 3F */ lis r3, lbl_803EC5B4@ha +/* 803170DC 0031403C 38 03 C5 B4 */ addi r0, r3, lbl_803EC5B4@l +/* 803170E0 00314040 90 1E 00 00 */ stw r0, 0(r30) +/* 803170E4 00314044 41 82 00 10 */ beq lbl_803170F4 +/* 803170E8 00314048 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 803170EC 0031404C 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 803170F0 00314050 90 1E 00 00 */ stw r0, 0(r30) +lbl_803170F4: +/* 803170F4 00314054 7F E0 07 35 */ extsh. r0, r31 +/* 803170F8 00314058 40 81 00 10 */ ble lbl_80317108 +/* 803170FC 0031405C 7F C3 F3 78 */ mr r3, r30 +/* 80317100 00314060 38 80 00 10 */ li r4, 0x10 +/* 80317104 00314064 48 05 59 61 */ bl sub_8036ca64 +lbl_80317108: +/* 80317108 00314068 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8031710C 0031406C 7F C3 F3 78 */ mr r3, r30 +/* 80317110 00314070 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80317114 00314074 83 C1 00 08 */ lwz r30, 8(r1) +/* 80317118 00314078 7C 08 03 A6 */ mtlr r0 +/* 8031711C 0031407C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80317120 00314080 4E 80 00 20 */ blr + +.global __ct__7CCEFadeFP13CColorElementP13CColorElementP12CRealElement +__ct__7CCEFadeFP13CColorElementP13CColorElementP12CRealElement: +/* 80317124 00314084 3D 20 80 3F */ lis r9, lbl_803EC5A8@ha +/* 80317128 00314088 3D 00 80 3F */ lis r8, lbl_803EC5B4@ha +/* 8031712C 0031408C 38 09 C5 A8 */ addi r0, r9, lbl_803EC5A8@l +/* 80317130 00314090 3C E0 80 3F */ lis r7, lbl_803EDA50@ha +/* 80317134 00314094 90 03 00 00 */ stw r0, 0(r3) +/* 80317138 00314098 39 08 C5 B4 */ addi r8, r8, lbl_803EC5B4@l +/* 8031713C 0031409C 38 07 DA 50 */ addi r0, r7, lbl_803EDA50@l +/* 80317140 003140A0 91 03 00 00 */ stw r8, 0(r3) +/* 80317144 003140A4 90 03 00 00 */ stw r0, 0(r3) +/* 80317148 003140A8 90 83 00 04 */ stw r4, 4(r3) +/* 8031714C 003140AC 90 A3 00 08 */ stw r5, 8(r3) +/* 80317150 003140B0 90 C3 00 0C */ stw r6, 0xc(r3) +/* 80317154 003140B4 4E 80 00 20 */ blr + +.global GetValue__15CCEFastConstantCFiR6CColor +GetValue__15CCEFastConstantCFiR6CColor: +/* 80317158 003140B8 80 03 00 04 */ lwz r0, 4(r3) +/* 8031715C 003140BC 38 60 00 00 */ li r3, 0 +/* 80317160 003140C0 90 05 00 00 */ stw r0, 0(r5) +/* 80317164 003140C4 4E 80 00 20 */ blr + +.global __dt__15CCEFastConstantFv +__dt__15CCEFastConstantFv: +/* 80317168 003140C8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8031716C 003140CC 7C 08 02 A6 */ mflr r0 +/* 80317170 003140D0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80317174 003140D4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80317178 003140D8 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8031717C 003140DC 41 82 00 44 */ beq lbl_803171C0 +/* 80317180 003140E0 3C 60 80 3F */ lis r3, lbl_803EDA60@ha +/* 80317184 003140E4 38 03 DA 60 */ addi r0, r3, lbl_803EDA60@l +/* 80317188 003140E8 90 1F 00 00 */ stw r0, 0(r31) +/* 8031718C 003140EC 41 82 00 20 */ beq lbl_803171AC +/* 80317190 003140F0 3C 60 80 3F */ lis r3, lbl_803EC5B4@ha +/* 80317194 003140F4 38 03 C5 B4 */ addi r0, r3, lbl_803EC5B4@l +/* 80317198 003140F8 90 1F 00 00 */ stw r0, 0(r31) +/* 8031719C 003140FC 41 82 00 10 */ beq lbl_803171AC +/* 803171A0 00314100 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 803171A4 00314104 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 803171A8 00314108 90 1F 00 00 */ stw r0, 0(r31) +lbl_803171AC: +/* 803171AC 0031410C 7C 80 07 35 */ extsh. r0, r4 +/* 803171B0 00314110 40 81 00 10 */ ble lbl_803171C0 +/* 803171B4 00314114 7F E3 FB 78 */ mr r3, r31 +/* 803171B8 00314118 38 80 00 08 */ li r4, 8 +/* 803171BC 0031411C 48 05 58 A9 */ bl sub_8036ca64 +lbl_803171C0: +/* 803171C0 00314120 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803171C4 00314124 7F E3 FB 78 */ mr r3, r31 +/* 803171C8 00314128 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803171CC 0031412C 7C 08 03 A6 */ mtlr r0 +/* 803171D0 00314130 38 21 00 10 */ addi r1, r1, 0x10 +/* 803171D4 00314134 4E 80 00 20 */ blr + +.global __ct__15CCEFastConstantFffff +__ct__15CCEFastConstantFffff: +/* 803171D8 00314138 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 803171DC 0031413C 7C 08 02 A6 */ mflr r0 +/* 803171E0 00314140 90 01 00 54 */ stw r0, 0x54(r1) +/* 803171E4 00314144 DB E1 00 40 */ stfd f31, 0x40(r1) +/* 803171E8 00314148 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 +/* 803171EC 0031414C DB C1 00 30 */ stfd f30, 0x30(r1) +/* 803171F0 00314150 F3 C1 00 38 */ psq_st f30, 56(r1), 0, qr0 +/* 803171F4 00314154 DB A1 00 20 */ stfd f29, 0x20(r1) +/* 803171F8 00314158 F3 A1 00 28 */ psq_st f29, 40(r1), 0, qr0 +/* 803171FC 0031415C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80317200 00314160 7C 7F 1B 78 */ mr r31, r3 +/* 80317204 00314164 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80317208 00314168 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 8031720C 0031416C 3C 80 80 3F */ lis r4, lbl_803EC5B4@ha +/* 80317210 00314170 90 1F 00 00 */ stw r0, 0(r31) +/* 80317214 00314174 38 04 C5 B4 */ addi r0, r4, lbl_803EC5B4@l +/* 80317218 00314178 3C 60 80 3F */ lis r3, lbl_803EDA60@ha +/* 8031721C 0031417C 38 C0 00 FF */ li r6, 0xff +/* 80317220 00314180 90 1F 00 00 */ stw r0, 0(r31) +/* 80317224 00314184 38 63 DA 60 */ addi r3, r3, lbl_803EDA60@l +/* 80317228 00314188 38 00 00 00 */ li r0, 0 +/* 8031722C 0031418C 38 81 00 08 */ addi r4, r1, 8 +/* 80317230 00314190 90 7F 00 00 */ stw r3, 0(r31) +/* 80317234 00314194 38 6D 9C D0 */ addi r3, r13, lbl_805A8890@sda21 +/* 80317238 00314198 38 AD 9C D4 */ addi r5, r13, lbl_805A8894@sda21 +/* 8031723C 0031419C 98 DF 00 04 */ stb r6, 4(r31) +/* 80317240 003141A0 98 1F 00 05 */ stb r0, 5(r31) +/* 80317244 003141A4 98 DF 00 06 */ stb r6, 6(r31) +/* 80317248 003141A8 D0 21 00 08 */ stfs f1, 8(r1) +/* 8031724C 003141AC D0 41 00 0C */ stfs f2, 0xc(r1) +/* 80317250 003141B0 D0 61 00 10 */ stfs f3, 0x10(r1) +/* 80317254 003141B4 D0 81 00 14 */ stfs f4, 0x14(r1) +/* 80317258 003141B8 98 DF 00 07 */ stb r6, 7(r31) +/* 8031725C 003141BC 4B CF 50 59 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80317260 003141C0 C3 E3 00 00 */ lfs f31, 0(r3) +/* 80317264 003141C4 38 81 00 0C */ addi r4, r1, 0xc +/* 80317268 003141C8 38 6D 9C D8 */ addi r3, r13, lbl_805A8898@sda21 +/* 8031726C 003141CC 38 AD 9C DC */ addi r5, r13, lbl_805A889C@sda21 +/* 80317270 003141D0 4B CF 50 45 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80317274 003141D4 C3 C3 00 00 */ lfs f30, 0(r3) +/* 80317278 003141D8 38 81 00 10 */ addi r4, r1, 0x10 +/* 8031727C 003141DC 38 6D 9C E0 */ addi r3, r13, lbl_805A88A0@sda21 +/* 80317280 003141E0 38 AD 9C E4 */ addi r5, r13, lbl_805A88A4@sda21 +/* 80317284 003141E4 4B CF 50 31 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80317288 003141E8 C3 A3 00 00 */ lfs f29, 0(r3) +/* 8031728C 003141EC 38 81 00 14 */ addi r4, r1, 0x14 +/* 80317290 003141F0 38 6D 9C E8 */ addi r3, r13, lbl_805A88A8@sda21 +/* 80317294 003141F4 38 AD 9C EC */ addi r5, r13, lbl_805A88AC@sda21 +/* 80317298 003141F8 4B CF 50 1D */ bl "Clamp__5CMathFRCfRCfRCf" +/* 8031729C 003141FC FC 20 F8 90 */ fmr f1, f31 +/* 803172A0 00314200 C0 83 00 00 */ lfs f4, 0(r3) +/* 803172A4 00314204 FC 40 F0 90 */ fmr f2, f30 +/* 803172A8 00314208 38 7F 00 04 */ addi r3, r31, 4 +/* 803172AC 0031420C FC 60 E8 90 */ fmr f3, f29 +/* 803172B0 00314210 48 04 C0 ED */ bl Set__6CColorFffff +/* 803172B4 00314214 7F E3 FB 78 */ mr r3, r31 +/* 803172B8 00314218 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 +/* 803172BC 0031421C CB E1 00 40 */ lfd f31, 0x40(r1) +/* 803172C0 00314220 E3 C1 00 38 */ psq_l f30, 56(r1), 0, qr0 +/* 803172C4 00314224 CB C1 00 30 */ lfd f30, 0x30(r1) +/* 803172C8 00314228 E3 A1 00 28 */ psq_l f29, 40(r1), 0, qr0 +/* 803172CC 0031422C CB A1 00 20 */ lfd f29, 0x20(r1) +/* 803172D0 00314230 80 01 00 54 */ lwz r0, 0x54(r1) +/* 803172D4 00314234 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803172D8 00314238 7C 08 03 A6 */ mtlr r0 +/* 803172DC 0031423C 38 21 00 50 */ addi r1, r1, 0x50 +/* 803172E0 00314240 4E 80 00 20 */ blr + +.global GetValue__11CCEConstantCFiR6CColor +GetValue__11CCEConstantCFiR6CColor: +/* 803172E4 00314244 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 803172E8 00314248 7C 08 02 A6 */ mflr r0 +/* 803172EC 0031424C 90 01 00 34 */ stw r0, 0x34(r1) +/* 803172F0 00314250 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 803172F4 00314254 7C BF 2B 78 */ mr r31, r5 +/* 803172F8 00314258 38 A1 00 14 */ addi r5, r1, 0x14 +/* 803172FC 0031425C 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80317300 00314260 7C 9E 23 78 */ mr r30, r4 +/* 80317304 00314264 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80317308 00314268 7C 7D 1B 78 */ mr r29, r3 +/* 8031730C 0031426C 80 63 00 04 */ lwz r3, 4(r3) +/* 80317310 00314270 81 83 00 00 */ lwz r12, 0(r3) +/* 80317314 00314274 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80317318 00314278 7D 89 03 A6 */ mtctr r12 +/* 8031731C 0031427C 4E 80 04 21 */ bctrl +/* 80317320 00314280 38 81 00 14 */ addi r4, r1, 0x14 +/* 80317324 00314284 38 6D 9C B0 */ addi r3, r13, lbl_805A8870@sda21 +/* 80317328 00314288 38 AD 9C B4 */ addi r5, r13, lbl_805A8874@sda21 +/* 8031732C 0031428C 4B CF 4F 89 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80317330 00314290 C0 03 00 00 */ lfs f0, 0(r3) +/* 80317334 00314294 7F C4 F3 78 */ mr r4, r30 +/* 80317338 00314298 80 7D 00 08 */ lwz r3, 8(r29) +/* 8031733C 0031429C 38 A1 00 10 */ addi r5, r1, 0x10 +/* 80317340 003142A0 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80317344 003142A4 81 83 00 00 */ lwz r12, 0(r3) +/* 80317348 003142A8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031734C 003142AC 7D 89 03 A6 */ mtctr r12 +/* 80317350 003142B0 4E 80 04 21 */ bctrl +/* 80317354 003142B4 38 81 00 10 */ addi r4, r1, 0x10 +/* 80317358 003142B8 38 6D 9C B8 */ addi r3, r13, lbl_805A8878@sda21 +/* 8031735C 003142BC 38 AD 9C BC */ addi r5, r13, lbl_805A887C@sda21 +/* 80317360 003142C0 4B CF 4F 55 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80317364 003142C4 C0 03 00 00 */ lfs f0, 0(r3) +/* 80317368 003142C8 7F C4 F3 78 */ mr r4, r30 +/* 8031736C 003142CC 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 80317370 003142D0 38 A1 00 0C */ addi r5, r1, 0xc +/* 80317374 003142D4 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 80317378 003142D8 81 83 00 00 */ lwz r12, 0(r3) +/* 8031737C 003142DC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80317380 003142E0 7D 89 03 A6 */ mtctr r12 +/* 80317384 003142E4 4E 80 04 21 */ bctrl +/* 80317388 003142E8 38 81 00 0C */ addi r4, r1, 0xc +/* 8031738C 003142EC 38 6D 9C C0 */ addi r3, r13, lbl_805A8880@sda21 +/* 80317390 003142F0 38 AD 9C C4 */ addi r5, r13, lbl_805A8884@sda21 +/* 80317394 003142F4 4B CF 4F 21 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80317398 003142F8 C0 03 00 00 */ lfs f0, 0(r3) +/* 8031739C 003142FC 7F C4 F3 78 */ mr r4, r30 +/* 803173A0 00314300 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 803173A4 00314304 38 A1 00 08 */ addi r5, r1, 8 +/* 803173A8 00314308 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 803173AC 0031430C 81 83 00 00 */ lwz r12, 0(r3) +/* 803173B0 00314310 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803173B4 00314314 7D 89 03 A6 */ mtctr r12 +/* 803173B8 00314318 4E 80 04 21 */ bctrl +/* 803173BC 0031431C 38 81 00 08 */ addi r4, r1, 8 +/* 803173C0 00314320 38 6D 9C C8 */ addi r3, r13, lbl_805A8888@sda21 +/* 803173C4 00314324 38 AD 9C CC */ addi r5, r13, lbl_805A888C@sda21 +/* 803173C8 00314328 4B CF 4E ED */ bl "Clamp__5CMathFRCfRCfRCf" +/* 803173CC 0031432C C0 83 00 00 */ lfs f4, 0(r3) +/* 803173D0 00314330 7F E3 FB 78 */ mr r3, r31 +/* 803173D4 00314334 C0 21 00 14 */ lfs f1, 0x14(r1) +/* 803173D8 00314338 D0 81 00 08 */ stfs f4, 8(r1) +/* 803173DC 0031433C C0 41 00 10 */ lfs f2, 0x10(r1) +/* 803173E0 00314340 C0 61 00 0C */ lfs f3, 0xc(r1) +/* 803173E4 00314344 48 04 BF B9 */ bl Set__6CColorFffff +/* 803173E8 00314348 80 01 00 34 */ lwz r0, 0x34(r1) +/* 803173EC 0031434C 38 60 00 00 */ li r3, 0 +/* 803173F0 00314350 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 803173F4 00314354 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 803173F8 00314358 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 803173FC 0031435C 7C 08 03 A6 */ mtlr r0 +/* 80317400 00314360 38 21 00 30 */ addi r1, r1, 0x30 +/* 80317404 00314364 4E 80 00 20 */ blr + +.global __dt__11CCEConstantFv +__dt__11CCEConstantFv: +/* 80317408 00314368 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8031740C 0031436C 7C 08 02 A6 */ mflr r0 +/* 80317410 00314370 90 01 00 14 */ stw r0, 0x14(r1) +/* 80317414 00314374 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80317418 00314378 7C 9F 23 78 */ mr r31, r4 +/* 8031741C 0031437C 93 C1 00 08 */ stw r30, 8(r1) +/* 80317420 00314380 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80317424 00314384 41 82 00 C8 */ beq lbl_803174EC +/* 80317428 00314388 3C 60 80 3F */ lis r3, lbl_803EDA70@ha +/* 8031742C 0031438C 38 03 DA 70 */ addi r0, r3, lbl_803EDA70@l +/* 80317430 00314390 90 1E 00 00 */ stw r0, 0(r30) +/* 80317434 00314394 80 7E 00 04 */ lwz r3, 4(r30) +/* 80317438 00314398 28 03 00 00 */ cmplwi r3, 0 +/* 8031743C 0031439C 41 82 00 18 */ beq lbl_80317454 +/* 80317440 003143A0 81 83 00 00 */ lwz r12, 0(r3) +/* 80317444 003143A4 38 80 00 01 */ li r4, 1 +/* 80317448 003143A8 81 8C 00 08 */ lwz r12, 8(r12) +/* 8031744C 003143AC 7D 89 03 A6 */ mtctr r12 +/* 80317450 003143B0 4E 80 04 21 */ bctrl +lbl_80317454: +/* 80317454 003143B4 80 7E 00 08 */ lwz r3, 8(r30) +/* 80317458 003143B8 28 03 00 00 */ cmplwi r3, 0 +/* 8031745C 003143BC 41 82 00 18 */ beq lbl_80317474 +/* 80317460 003143C0 81 83 00 00 */ lwz r12, 0(r3) +/* 80317464 003143C4 38 80 00 01 */ li r4, 1 +/* 80317468 003143C8 81 8C 00 08 */ lwz r12, 8(r12) +/* 8031746C 003143CC 7D 89 03 A6 */ mtctr r12 +/* 80317470 003143D0 4E 80 04 21 */ bctrl +lbl_80317474: +/* 80317474 003143D4 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80317478 003143D8 28 03 00 00 */ cmplwi r3, 0 +/* 8031747C 003143DC 41 82 00 18 */ beq lbl_80317494 +/* 80317480 003143E0 81 83 00 00 */ lwz r12, 0(r3) +/* 80317484 003143E4 38 80 00 01 */ li r4, 1 +/* 80317488 003143E8 81 8C 00 08 */ lwz r12, 8(r12) +/* 8031748C 003143EC 7D 89 03 A6 */ mtctr r12 +/* 80317490 003143F0 4E 80 04 21 */ bctrl +lbl_80317494: +/* 80317494 003143F4 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 80317498 003143F8 28 03 00 00 */ cmplwi r3, 0 +/* 8031749C 003143FC 41 82 00 18 */ beq lbl_803174B4 +/* 803174A0 00314400 81 83 00 00 */ lwz r12, 0(r3) +/* 803174A4 00314404 38 80 00 01 */ li r4, 1 +/* 803174A8 00314408 81 8C 00 08 */ lwz r12, 8(r12) +/* 803174AC 0031440C 7D 89 03 A6 */ mtctr r12 +/* 803174B0 00314410 4E 80 04 21 */ bctrl +lbl_803174B4: +/* 803174B4 00314414 28 1E 00 00 */ cmplwi r30, 0 +/* 803174B8 00314418 41 82 00 20 */ beq lbl_803174D8 +/* 803174BC 0031441C 3C 60 80 3F */ lis r3, lbl_803EC5B4@ha +/* 803174C0 00314420 38 03 C5 B4 */ addi r0, r3, lbl_803EC5B4@l +/* 803174C4 00314424 90 1E 00 00 */ stw r0, 0(r30) +/* 803174C8 00314428 41 82 00 10 */ beq lbl_803174D8 +/* 803174CC 0031442C 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 803174D0 00314430 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 803174D4 00314434 90 1E 00 00 */ stw r0, 0(r30) +lbl_803174D8: +/* 803174D8 00314438 7F E0 07 35 */ extsh. r0, r31 +/* 803174DC 0031443C 40 81 00 10 */ ble lbl_803174EC +/* 803174E0 00314440 7F C3 F3 78 */ mr r3, r30 +/* 803174E4 00314444 38 80 00 14 */ li r4, 0x14 +/* 803174E8 00314448 48 05 55 7D */ bl sub_8036ca64 +lbl_803174EC: +/* 803174EC 0031444C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803174F0 00314450 7F C3 F3 78 */ mr r3, r30 +/* 803174F4 00314454 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803174F8 00314458 83 C1 00 08 */ lwz r30, 8(r1) +/* 803174FC 0031445C 7C 08 03 A6 */ mtlr r0 +/* 80317500 00314460 38 21 00 10 */ addi r1, r1, 0x10 +/* 80317504 00314464 4E 80 00 20 */ blr + +.global __ct__11CCEConstantFP12CRealElementP12CRealElementP12CRealElementP12CRealElement +__ct__11CCEConstantFP12CRealElementP12CRealElementP12CRealElementP12CRealElement: +/* 80317508 00314468 3D 40 80 3F */ lis r10, lbl_803EC5A8@ha +/* 8031750C 0031446C 3D 20 80 3F */ lis r9, lbl_803EC5B4@ha +/* 80317510 00314470 38 0A C5 A8 */ addi r0, r10, lbl_803EC5A8@l +/* 80317514 00314474 3D 00 80 3F */ lis r8, lbl_803EDA70@ha +/* 80317518 00314478 90 03 00 00 */ stw r0, 0(r3) +/* 8031751C 0031447C 39 29 C5 B4 */ addi r9, r9, lbl_803EC5B4@l +/* 80317520 00314480 38 08 DA 70 */ addi r0, r8, lbl_803EDA70@l +/* 80317524 00314484 91 23 00 00 */ stw r9, 0(r3) +/* 80317528 00314488 90 03 00 00 */ stw r0, 0(r3) +/* 8031752C 0031448C 90 83 00 04 */ stw r4, 4(r3) +/* 80317530 00314490 90 A3 00 08 */ stw r5, 8(r3) +/* 80317534 00314494 90 C3 00 0C */ stw r6, 0xc(r3) +/* 80317538 00314498 90 E3 00 10 */ stw r7, 0x10(r3) +/* 8031753C 0031449C 4E 80 00 20 */ blr + +.global "reserve__Q24rstl42vector<6CColor,Q24rstl17rmemory_allocator>Fi" +"reserve__Q24rstl42vector<6CColor,Q24rstl17rmemory_allocator>Fi": +/* 80317540 003144A0 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80317544 003144A4 7C 08 02 A6 */ mflr r0 +/* 80317548 003144A8 90 01 00 34 */ stw r0, 0x34(r1) +/* 8031754C 003144AC 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80317550 003144B0 7C 9F 23 78 */ mr r31, r4 +/* 80317554 003144B4 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80317558 003144B8 7C 7E 1B 78 */ mr r30, r3 +/* 8031755C 003144BC 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80317560 003144C0 80 03 00 08 */ lwz r0, 8(r3) +/* 80317564 003144C4 7C 1F 00 00 */ cmpw r31, r0 +/* 80317568 003144C8 40 81 00 A8 */ ble lbl_80317610 +/* 8031756C 003144CC 57 E3 10 3B */ rlwinm. r3, r31, 2, 0, 0x1d +/* 80317570 003144D0 40 82 00 0C */ bne lbl_8031757C +/* 80317574 003144D4 3B A0 00 00 */ li r29, 0 +/* 80317578 003144D8 48 00 00 18 */ b lbl_80317590 +lbl_8031757C: +/* 8031757C 003144DC 3C 80 80 3D */ lis r4, lbl_803D7840@ha +/* 80317580 003144E0 38 A0 00 00 */ li r5, 0 +/* 80317584 003144E4 38 84 78 40 */ addi r4, r4, lbl_803D7840@l +/* 80317588 003144E8 4B FF E2 91 */ bl __nwa__FUlPCcPCc +/* 8031758C 003144EC 7C 7D 1B 78 */ mr r29, r3 +lbl_80317590: +/* 80317590 003144F0 80 1E 00 04 */ lwz r0, 4(r30) +/* 80317594 003144F4 7F A4 EB 78 */ mr r4, r29 +/* 80317598 003144F8 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 8031759C 003144FC 54 00 10 3A */ slwi r0, r0, 2 +/* 803175A0 00314500 7C 65 02 14 */ add r3, r5, r0 +/* 803175A4 00314504 90 A1 00 10 */ stw r5, 0x10(r1) +/* 803175A8 00314508 90 61 00 08 */ stw r3, 8(r1) +/* 803175AC 0031450C 90 61 00 0C */ stw r3, 0xc(r1) +/* 803175B0 00314510 90 A1 00 14 */ stw r5, 0x14(r1) +/* 803175B4 00314514 48 00 00 1C */ b lbl_803175D0 +lbl_803175B8: +/* 803175B8 00314518 28 04 00 00 */ cmplwi r4, 0 +/* 803175BC 0031451C 41 82 00 0C */ beq lbl_803175C8 +/* 803175C0 00314520 80 05 00 00 */ lwz r0, 0(r5) +/* 803175C4 00314524 90 04 00 00 */ stw r0, 0(r4) +lbl_803175C8: +/* 803175C8 00314528 38 84 00 04 */ addi r4, r4, 4 +/* 803175CC 0031452C 38 A5 00 04 */ addi r5, r5, 4 +lbl_803175D0: +/* 803175D0 00314530 7C 05 18 40 */ cmplw r5, r3 +/* 803175D4 00314534 40 82 FF E4 */ bne lbl_803175B8 +/* 803175D8 00314538 80 1E 00 04 */ lwz r0, 4(r30) +/* 803175DC 0031453C 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 803175E0 00314540 54 00 10 3A */ slwi r0, r0, 2 +/* 803175E4 00314544 7C 64 1B 78 */ mr r4, r3 +/* 803175E8 00314548 7C 03 02 14 */ add r0, r3, r0 +/* 803175EC 0031454C 48 00 00 08 */ b lbl_803175F4 +lbl_803175F0: +/* 803175F0 00314550 38 84 00 04 */ addi r4, r4, 4 +lbl_803175F4: +/* 803175F4 00314554 7C 04 00 40 */ cmplw r4, r0 +/* 803175F8 00314558 40 82 FF F8 */ bne lbl_803175F0 +/* 803175FC 0031455C 28 03 00 00 */ cmplwi r3, 0 +/* 80317600 00314560 41 82 00 08 */ beq lbl_80317608 +/* 80317604 00314564 4B FF E3 2D */ bl Free__7CMemoryFPCv +lbl_80317608: +/* 80317608 00314568 93 BE 00 0C */ stw r29, 0xc(r30) +/* 8031760C 0031456C 93 FE 00 08 */ stw r31, 8(r30) +lbl_80317610: +/* 80317610 00314570 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80317614 00314574 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80317618 00314578 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8031761C 0031457C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80317620 00314580 7C 08 03 A6 */ mtlr r0 +/* 80317624 00314584 38 21 00 30 */ addi r1, r1, 0x30 +/* 80317628 00314588 4E 80 00 20 */ blr diff --git a/asm/Kyoto/Particles/CEffectComponent.s b/asm/Kyoto/Particles/CEffectComponent.s new file mode 100644 index 00000000..110be327 --- /dev/null +++ b/asm/Kyoto/Particles/CEffectComponent.s @@ -0,0 +1,68 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global GetSObjectTagFromStream__16CEffectComponentFR12CInputStream +GetSObjectTagFromStream__16CEffectComponentFR12CInputStream: +/* 80357318 00354278 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8035731C 0035427C 7C 08 02 A6 */ mflr r0 +/* 80357320 00354280 90 01 00 24 */ stw r0, 0x24(r1) +/* 80357324 00354284 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80357328 00354288 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8035732C 0035428C 7C BE 2B 78 */ mr r30, r5 +/* 80357330 00354290 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80357334 00354294 7C 7D 1B 78 */ mr r29, r3 +/* 80357338 00354298 7F C3 F3 78 */ mr r3, r30 +/* 8035733C 0035429C 4B FE 79 49 */ bl ReadLong__12CInputStreamFv +/* 80357340 003542A0 7C 7F 1B 78 */ mr r31, r3 +/* 80357344 003542A4 7F C3 F3 78 */ mr r3, r30 +/* 80357348 003542A8 4B FE 79 3D */ bl ReadLong__12CInputStreamFv +/* 8035734C 003542AC 93 FD 00 00 */ stw r31, 0(r29) +/* 80357350 003542B0 90 7D 00 04 */ stw r3, 4(r29) +/* 80357354 003542B4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80357358 003542B8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8035735C 003542BC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80357360 003542C0 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80357364 003542C4 7C 08 03 A6 */ mtlr r0 +/* 80357368 003542C8 38 21 00 20 */ addi r1, r1, 0x20 +/* 8035736C 003542CC 4E 80 00 20 */ blr + +.global __ct__16CEffectComponentFR12CInputStream +__ct__16CEffectComponentFR12CInputStream: +/* 80357370 003542D0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80357374 003542D4 7C 08 02 A6 */ mflr r0 +/* 80357378 003542D8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8035737C 003542DC 38 A1 00 0C */ addi r5, r1, 0xc +/* 80357380 003542E0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80357384 003542E4 7C 9F 23 78 */ mr r31, r4 +/* 80357388 003542E8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8035738C 003542EC 7C 7E 1B 78 */ mr r30, r3 +/* 80357390 003542F0 4B FE 6F 69 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 80357394 003542F4 7F C4 F3 78 */ mr r4, r30 +/* 80357398 003542F8 7F E5 FB 78 */ mr r5, r31 +/* 8035739C 003542FC 38 61 00 10 */ addi r3, r1, 0x10 +/* 803573A0 00354300 4B FF FF 79 */ bl GetSObjectTagFromStream__16CEffectComponentFR12CInputStream +/* 803573A4 00354304 80 01 00 10 */ lwz r0, 0x10(r1) +/* 803573A8 00354308 7F E4 FB 78 */ mr r4, r31 +/* 803573AC 0035430C 38 7E 00 18 */ addi r3, r30, 0x18 +/* 803573B0 00354310 38 A1 00 08 */ addi r5, r1, 8 +/* 803573B4 00354314 90 1E 00 10 */ stw r0, 0x10(r30) +/* 803573B8 00354318 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803573BC 0035431C 90 1E 00 14 */ stw r0, 0x14(r30) +/* 803573C0 00354320 4B FE 6F 39 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 803573C4 00354324 7F E3 FB 78 */ mr r3, r31 +/* 803573C8 00354328 4B FE 78 61 */ bl ReadFloat__12CInputStreamFv +/* 803573CC 0035432C D0 3E 00 28 */ stfs f1, 0x28(r30) +/* 803573D0 00354330 7F E3 FB 78 */ mr r3, r31 +/* 803573D4 00354334 4B FE 78 B1 */ bl ReadLong__12CInputStreamFv +/* 803573D8 00354338 90 7E 00 2C */ stw r3, 0x2c(r30) +/* 803573DC 0035433C 7F E3 FB 78 */ mr r3, r31 +/* 803573E0 00354340 4B FE 78 A5 */ bl ReadLong__12CInputStreamFv +/* 803573E4 00354344 90 7E 00 30 */ stw r3, 0x30(r30) +/* 803573E8 00354348 7F C3 F3 78 */ mr r3, r30 +/* 803573EC 0035434C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803573F0 00354350 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803573F4 00354354 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 803573F8 00354358 7C 08 03 A6 */ mtlr r0 +/* 803573FC 0035435C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80357400 00354360 4E 80 00 20 */ blr diff --git a/asm/Kyoto/Particles/CElectricDescription.s b/asm/Kyoto/Particles/CElectricDescription.s new file mode 100644 index 00000000..fd6326a6 --- /dev/null +++ b/asm/Kyoto/Particles/CElectricDescription.s @@ -0,0 +1,240 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __dt__20CElectricDescriptionFv +__dt__20CElectricDescriptionFv: +/* 803667B8 00363718 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803667BC 0036371C 7C 08 02 A6 */ mflr r0 +/* 803667C0 00363720 90 01 00 14 */ stw r0, 0x14(r1) +/* 803667C4 00363724 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803667C8 00363728 7C 7F 1B 79 */ or. r31, r3, r3 +/* 803667CC 0036372C 93 C1 00 08 */ stw r30, 8(r1) +/* 803667D0 00363730 7C 9E 23 78 */ mr r30, r4 +/* 803667D4 00363734 41 82 02 B0 */ beq lbl_80366A84 +/* 803667D8 00363738 80 7F 00 00 */ lwz r3, 0(r31) +/* 803667DC 0036373C 28 03 00 00 */ cmplwi r3, 0 +/* 803667E0 00363740 41 82 00 18 */ beq lbl_803667F8 +/* 803667E4 00363744 81 83 00 00 */ lwz r12, 0(r3) +/* 803667E8 00363748 38 80 00 01 */ li r4, 1 +/* 803667EC 0036374C 81 8C 00 08 */ lwz r12, 8(r12) +/* 803667F0 00363750 7D 89 03 A6 */ mtctr r12 +/* 803667F4 00363754 4E 80 04 21 */ bctrl +lbl_803667F8: +/* 803667F8 00363758 80 7F 00 04 */ lwz r3, 4(r31) +/* 803667FC 0036375C 28 03 00 00 */ cmplwi r3, 0 +/* 80366800 00363760 41 82 00 18 */ beq lbl_80366818 +/* 80366804 00363764 81 83 00 00 */ lwz r12, 0(r3) +/* 80366808 00363768 38 80 00 01 */ li r4, 1 +/* 8036680C 0036376C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80366810 00363770 7D 89 03 A6 */ mtctr r12 +/* 80366814 00363774 4E 80 04 21 */ bctrl +lbl_80366818: +/* 80366818 00363778 80 7F 00 08 */ lwz r3, 8(r31) +/* 8036681C 0036377C 28 03 00 00 */ cmplwi r3, 0 +/* 80366820 00363780 41 82 00 18 */ beq lbl_80366838 +/* 80366824 00363784 81 83 00 00 */ lwz r12, 0(r3) +/* 80366828 00363788 38 80 00 01 */ li r4, 1 +/* 8036682C 0036378C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80366830 00363790 7D 89 03 A6 */ mtctr r12 +/* 80366834 00363794 4E 80 04 21 */ bctrl +lbl_80366838: +/* 80366838 00363798 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 8036683C 0036379C 28 03 00 00 */ cmplwi r3, 0 +/* 80366840 003637A0 41 82 00 18 */ beq lbl_80366858 +/* 80366844 003637A4 81 83 00 00 */ lwz r12, 0(r3) +/* 80366848 003637A8 38 80 00 01 */ li r4, 1 +/* 8036684C 003637AC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80366850 003637B0 7D 89 03 A6 */ mtctr r12 +/* 80366854 003637B4 4E 80 04 21 */ bctrl +lbl_80366858: +/* 80366858 003637B8 80 7F 00 10 */ lwz r3, 0x10(r31) +/* 8036685C 003637BC 28 03 00 00 */ cmplwi r3, 0 +/* 80366860 003637C0 41 82 00 18 */ beq lbl_80366878 +/* 80366864 003637C4 81 83 00 00 */ lwz r12, 0(r3) +/* 80366868 003637C8 38 80 00 01 */ li r4, 1 +/* 8036686C 003637CC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80366870 003637D0 7D 89 03 A6 */ mtctr r12 +/* 80366874 003637D4 4E 80 04 21 */ bctrl +lbl_80366878: +/* 80366878 003637D8 80 7F 00 14 */ lwz r3, 0x14(r31) +/* 8036687C 003637DC 28 03 00 00 */ cmplwi r3, 0 +/* 80366880 003637E0 41 82 00 18 */ beq lbl_80366898 +/* 80366884 003637E4 81 83 00 00 */ lwz r12, 0(r3) +/* 80366888 003637E8 38 80 00 01 */ li r4, 1 +/* 8036688C 003637EC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80366890 003637F0 7D 89 03 A6 */ mtctr r12 +/* 80366894 003637F4 4E 80 04 21 */ bctrl +lbl_80366898: +/* 80366898 003637F8 80 7F 00 18 */ lwz r3, 0x18(r31) +/* 8036689C 003637FC 28 03 00 00 */ cmplwi r3, 0 +/* 803668A0 00363800 41 82 00 18 */ beq lbl_803668B8 +/* 803668A4 00363804 81 83 00 00 */ lwz r12, 0(r3) +/* 803668A8 00363808 38 80 00 01 */ li r4, 1 +/* 803668AC 0036380C 81 8C 00 08 */ lwz r12, 8(r12) +/* 803668B0 00363810 7D 89 03 A6 */ mtctr r12 +/* 803668B4 00363814 4E 80 04 21 */ bctrl +lbl_803668B8: +/* 803668B8 00363818 80 7F 00 1C */ lwz r3, 0x1c(r31) +/* 803668BC 0036381C 28 03 00 00 */ cmplwi r3, 0 +/* 803668C0 00363820 41 82 00 18 */ beq lbl_803668D8 +/* 803668C4 00363824 81 83 00 00 */ lwz r12, 0(r3) +/* 803668C8 00363828 38 80 00 01 */ li r4, 1 +/* 803668CC 0036382C 81 8C 00 08 */ lwz r12, 8(r12) +/* 803668D0 00363830 7D 89 03 A6 */ mtctr r12 +/* 803668D4 00363834 4E 80 04 21 */ bctrl +lbl_803668D8: +/* 803668D8 00363838 80 7F 00 20 */ lwz r3, 0x20(r31) +/* 803668DC 0036383C 28 03 00 00 */ cmplwi r3, 0 +/* 803668E0 00363840 41 82 00 18 */ beq lbl_803668F8 +/* 803668E4 00363844 81 83 00 00 */ lwz r12, 0(r3) +/* 803668E8 00363848 38 80 00 01 */ li r4, 1 +/* 803668EC 0036384C 81 8C 00 08 */ lwz r12, 8(r12) +/* 803668F0 00363850 7D 89 03 A6 */ mtctr r12 +/* 803668F4 00363854 4E 80 04 21 */ bctrl +lbl_803668F8: +/* 803668F8 00363858 80 7F 00 24 */ lwz r3, 0x24(r31) +/* 803668FC 0036385C 28 03 00 00 */ cmplwi r3, 0 +/* 80366900 00363860 41 82 00 18 */ beq lbl_80366918 +/* 80366904 00363864 81 83 00 00 */ lwz r12, 0(r3) +/* 80366908 00363868 38 80 00 01 */ li r4, 1 +/* 8036690C 0036386C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80366910 00363870 7D 89 03 A6 */ mtctr r12 +/* 80366914 00363874 4E 80 04 21 */ bctrl +lbl_80366918: +/* 80366918 00363878 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8036691C 0036387C 28 03 00 00 */ cmplwi r3, 0 +/* 80366920 00363880 41 82 00 18 */ beq lbl_80366938 +/* 80366924 00363884 81 83 00 00 */ lwz r12, 0(r3) +/* 80366928 00363888 38 80 00 01 */ li r4, 1 +/* 8036692C 0036388C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80366930 00363890 7D 89 03 A6 */ mtctr r12 +/* 80366934 00363894 4E 80 04 21 */ bctrl +lbl_80366938: +/* 80366938 00363898 80 7F 00 2C */ lwz r3, 0x2c(r31) +/* 8036693C 0036389C 28 03 00 00 */ cmplwi r3, 0 +/* 80366940 003638A0 41 82 00 18 */ beq lbl_80366958 +/* 80366944 003638A4 81 83 00 00 */ lwz r12, 0(r3) +/* 80366948 003638A8 38 80 00 01 */ li r4, 1 +/* 8036694C 003638AC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80366950 003638B0 7D 89 03 A6 */ mtctr r12 +/* 80366954 003638B4 4E 80 04 21 */ bctrl +lbl_80366958: +/* 80366958 003638B8 80 7F 00 30 */ lwz r3, 0x30(r31) +/* 8036695C 003638BC 28 03 00 00 */ cmplwi r3, 0 +/* 80366960 003638C0 41 82 00 18 */ beq lbl_80366978 +/* 80366964 003638C4 81 83 00 00 */ lwz r12, 0(r3) +/* 80366968 003638C8 38 80 00 01 */ li r4, 1 +/* 8036696C 003638CC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80366970 003638D0 7D 89 03 A6 */ mtctr r12 +/* 80366974 003638D4 4E 80 04 21 */ bctrl +lbl_80366978: +/* 80366978 003638D8 80 7F 00 34 */ lwz r3, 0x34(r31) +/* 8036697C 003638DC 28 03 00 00 */ cmplwi r3, 0 +/* 80366980 003638E0 41 82 00 18 */ beq lbl_80366998 +/* 80366984 003638E4 81 83 00 00 */ lwz r12, 0(r3) +/* 80366988 003638E8 38 80 00 01 */ li r4, 1 +/* 8036698C 003638EC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80366990 003638F0 7D 89 03 A6 */ mtctr r12 +/* 80366994 003638F4 4E 80 04 21 */ bctrl +lbl_80366998: +/* 80366998 003638F8 80 7F 00 38 */ lwz r3, 0x38(r31) +/* 8036699C 003638FC 28 03 00 00 */ cmplwi r3, 0 +/* 803669A0 00363900 41 82 00 18 */ beq lbl_803669B8 +/* 803669A4 00363904 81 83 00 00 */ lwz r12, 0(r3) +/* 803669A8 00363908 38 80 00 01 */ li r4, 1 +/* 803669AC 0036390C 81 8C 00 08 */ lwz r12, 8(r12) +/* 803669B0 00363910 7D 89 03 A6 */ mtctr r12 +/* 803669B4 00363914 4E 80 04 21 */ bctrl +lbl_803669B8: +/* 803669B8 00363918 80 7F 00 3C */ lwz r3, 0x3c(r31) +/* 803669BC 0036391C 28 03 00 00 */ cmplwi r3, 0 +/* 803669C0 00363920 41 82 00 18 */ beq lbl_803669D8 +/* 803669C4 00363924 81 83 00 00 */ lwz r12, 0(r3) +/* 803669C8 00363928 38 80 00 01 */ li r4, 1 +/* 803669CC 0036392C 81 8C 00 08 */ lwz r12, 8(r12) +/* 803669D0 00363930 7D 89 03 A6 */ mtctr r12 +/* 803669D4 00363934 4E 80 04 21 */ bctrl +lbl_803669D8: +/* 803669D8 00363938 34 1F 00 60 */ addic. r0, r31, 0x60 +/* 803669DC 0036393C 41 82 00 30 */ beq lbl_80366A0C +/* 803669E0 00363940 88 1F 00 6C */ lbz r0, 0x6c(r31) +/* 803669E4 00363944 28 00 00 00 */ cmplwi r0, 0 +/* 803669E8 00363948 41 82 00 1C */ beq lbl_80366A04 +/* 803669EC 0036394C 34 7F 00 60 */ addic. r3, r31, 0x60 +/* 803669F0 00363950 41 82 00 14 */ beq lbl_80366A04 +/* 803669F4 00363954 28 03 00 00 */ cmplwi r3, 0 +/* 803669F8 00363958 41 82 00 0C */ beq lbl_80366A04 +/* 803669FC 0036395C 38 80 00 00 */ li r4, 0 +/* 80366A00 00363960 4B FD A4 41 */ bl __dt__6CTokenFv +lbl_80366A04: +/* 80366A04 00363964 38 00 00 00 */ li r0, 0 +/* 80366A08 00363968 98 1F 00 6C */ stb r0, 0x6c(r31) +lbl_80366A0C: +/* 80366A0C 0036396C 34 1F 00 50 */ addic. r0, r31, 0x50 +/* 80366A10 00363970 41 82 00 30 */ beq lbl_80366A40 +/* 80366A14 00363974 88 1F 00 5C */ lbz r0, 0x5c(r31) +/* 80366A18 00363978 28 00 00 00 */ cmplwi r0, 0 +/* 80366A1C 0036397C 41 82 00 1C */ beq lbl_80366A38 +/* 80366A20 00363980 34 7F 00 50 */ addic. r3, r31, 0x50 +/* 80366A24 00363984 41 82 00 14 */ beq lbl_80366A38 +/* 80366A28 00363988 28 03 00 00 */ cmplwi r3, 0 +/* 80366A2C 0036398C 41 82 00 0C */ beq lbl_80366A38 +/* 80366A30 00363990 38 80 00 00 */ li r4, 0 +/* 80366A34 00363994 4B FD A4 0D */ bl __dt__6CTokenFv +lbl_80366A38: +/* 80366A38 00363998 38 00 00 00 */ li r0, 0 +/* 80366A3C 0036399C 98 1F 00 5C */ stb r0, 0x5c(r31) +lbl_80366A40: +/* 80366A40 003639A0 34 1F 00 40 */ addic. r0, r31, 0x40 +/* 80366A44 003639A4 41 82 00 30 */ beq lbl_80366A74 +/* 80366A48 003639A8 88 1F 00 4C */ lbz r0, 0x4c(r31) +/* 80366A4C 003639AC 28 00 00 00 */ cmplwi r0, 0 +/* 80366A50 003639B0 41 82 00 1C */ beq lbl_80366A6C +/* 80366A54 003639B4 34 7F 00 40 */ addic. r3, r31, 0x40 +/* 80366A58 003639B8 41 82 00 14 */ beq lbl_80366A6C +/* 80366A5C 003639BC 28 03 00 00 */ cmplwi r3, 0 +/* 80366A60 003639C0 41 82 00 0C */ beq lbl_80366A6C +/* 80366A64 003639C4 38 80 00 00 */ li r4, 0 +/* 80366A68 003639C8 4B FD A3 D9 */ bl __dt__6CTokenFv +lbl_80366A6C: +/* 80366A6C 003639CC 38 00 00 00 */ li r0, 0 +/* 80366A70 003639D0 98 1F 00 4C */ stb r0, 0x4c(r31) +lbl_80366A74: +/* 80366A74 003639D4 7F C0 07 35 */ extsh. r0, r30 +/* 80366A78 003639D8 40 81 00 0C */ ble lbl_80366A84 +/* 80366A7C 003639DC 7F E3 FB 78 */ mr r3, r31 +/* 80366A80 003639E0 4B FA EE B1 */ bl Free__7CMemoryFPCv +lbl_80366A84: +/* 80366A84 003639E4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80366A88 003639E8 7F E3 FB 78 */ mr r3, r31 +/* 80366A8C 003639EC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80366A90 003639F0 83 C1 00 08 */ lwz r30, 8(r1) +/* 80366A94 003639F4 7C 08 03 A6 */ mtlr r0 +/* 80366A98 003639F8 38 21 00 10 */ addi r1, r1, 0x10 +/* 80366A9C 003639FC 4E 80 00 20 */ blr + +.global __ct__20CElectricDescriptionFv +__ct__20CElectricDescriptionFv: +/* 80366AA0 00363A00 38 00 00 00 */ li r0, 0 +/* 80366AA4 00363A04 90 03 00 00 */ stw r0, 0(r3) +/* 80366AA8 00363A08 90 03 00 04 */ stw r0, 4(r3) +/* 80366AAC 00363A0C 90 03 00 08 */ stw r0, 8(r3) +/* 80366AB0 00363A10 90 03 00 0C */ stw r0, 0xc(r3) +/* 80366AB4 00363A14 90 03 00 10 */ stw r0, 0x10(r3) +/* 80366AB8 00363A18 90 03 00 14 */ stw r0, 0x14(r3) +/* 80366ABC 00363A1C 90 03 00 18 */ stw r0, 0x18(r3) +/* 80366AC0 00363A20 90 03 00 1C */ stw r0, 0x1c(r3) +/* 80366AC4 00363A24 90 03 00 20 */ stw r0, 0x20(r3) +/* 80366AC8 00363A28 90 03 00 24 */ stw r0, 0x24(r3) +/* 80366ACC 00363A2C 90 03 00 28 */ stw r0, 0x28(r3) +/* 80366AD0 00363A30 90 03 00 2C */ stw r0, 0x2c(r3) +/* 80366AD4 00363A34 90 03 00 30 */ stw r0, 0x30(r3) +/* 80366AD8 00363A38 90 03 00 34 */ stw r0, 0x34(r3) +/* 80366ADC 00363A3C 90 03 00 38 */ stw r0, 0x38(r3) +/* 80366AE0 00363A40 90 03 00 3C */ stw r0, 0x3c(r3) +/* 80366AE4 00363A44 98 03 00 4C */ stb r0, 0x4c(r3) +/* 80366AE8 00363A48 98 03 00 5C */ stb r0, 0x5c(r3) +/* 80366AEC 00363A4C 98 03 00 6C */ stb r0, 0x6c(r3) +/* 80366AF0 00363A50 98 03 00 70 */ stb r0, 0x70(r3) +/* 80366AF4 00363A54 4E 80 00 20 */ blr diff --git a/asm/Kyoto/Particles/CElementGen.s b/asm/Kyoto/Particles/CElementGen.s new file mode 100644 index 00000000..dc858857 --- /dev/null +++ b/asm/Kyoto/Particles/CElementGen.s @@ -0,0 +1,21373 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global GetGlobalTranslation__11CElementGenCFv +GetGlobalTranslation__11CElementGenCFv: +/* 8031762C 0031458C 38 63 00 E8 */ addi r3, r3, 0xe8 +/* 80317630 00314590 4E 80 00 20 */ blr + +.global GetGlobalOrientation__11CElementGenCFv +GetGlobalOrientation__11CElementGenCFv: +/* 80317634 00314594 38 63 02 2C */ addi r3, r3, 0x22c +/* 80317638 00314598 4E 80 00 20 */ blr + +.global GetParticleEmission__11CElementGenCFv +GetParticleEmission__11CElementGenCFv: +/* 8031763C 0031459C 88 63 00 88 */ lbz r3, 0x88(r3) +/* 80317640 003145A0 4E 80 00 20 */ blr + +.global IsIndirectTextured__11CElementGenCFv +IsIndirectTextured__11CElementGenCFv: +/* 80317644 003145A4 80 83 00 28 */ lwz r4, 0x28(r3) +/* 80317648 003145A8 38 60 00 00 */ li r3, 0 +/* 8031764C 003145AC 80 04 00 40 */ lwz r0, 0x40(r4) +/* 80317650 003145B0 28 00 00 00 */ cmplwi r0, 0 +/* 80317654 003145B4 4D 82 00 20 */ beqlr +/* 80317658 003145B8 80 04 00 44 */ lwz r0, 0x44(r4) +/* 8031765C 003145BC 28 00 00 00 */ cmplwi r0, 0 +/* 80317660 003145C0 4D 82 00 20 */ beqlr +/* 80317664 003145C4 38 60 00 01 */ li r3, 1 +/* 80317668 003145C8 4E 80 00 20 */ blr + +.global GetCEXTValue__11CElementGenCFi +GetCEXTValue__11CElementGenCFi: +/* 8031766C 003145CC 54 80 10 3A */ slwi r0, r4, 2 +/* 80317670 003145D0 7C 63 02 14 */ add r3, r3, r0 +/* 80317674 003145D4 C0 23 00 9C */ lfs f1, 0x9c(r3) +/* 80317678 003145D8 4E 80 00 20 */ blr + +.global SetCEXTValue__11CElementGenFif +SetCEXTValue__11CElementGenFif: +/* 8031767C 003145DC 54 80 10 3A */ slwi r0, r4, 2 +/* 80317680 003145E0 7C 63 02 14 */ add r3, r3, r0 +/* 80317684 003145E4 D0 23 00 9C */ stfs f1, 0x9c(r3) +/* 80317688 003145E8 4E 80 00 20 */ blr + +.global GetActiveChildParticle__11CElementGenCFi +GetActiveChildParticle__11CElementGenCFi: +/* 8031768C 003145EC 80 63 02 9C */ lwz r3, 0x29c(r3) +/* 80317690 003145F0 54 80 10 3A */ slwi r0, r4, 2 +/* 80317694 003145F4 7C 63 00 2E */ lwzx r3, r3, r0 +/* 80317698 003145F8 4E 80 00 20 */ blr + +.global GetNumActiveChildParticles__11CElementGenCFv +GetNumActiveChildParticles__11CElementGenCFv: +/* 8031769C 003145FC 80 63 02 94 */ lwz r3, 0x294(r3) +/* 803176A0 00314600 4E 80 00 20 */ blr + +.global Get4CharId__11CElementGenCF +Get4CharId__11CElementGenCF: +/* 803176A4 00314604 3C 60 50 41 */ lis r3, 0x50415254@ha +/* 803176A8 00314608 38 63 52 54 */ addi r3, r3, 0x50415254@l +/* 803176AC 0031460C 4E 80 00 20 */ blr + +.global GetGeneratorRate__11CElementGenCFv +GetGeneratorRate__11CElementGenCFv: +/* 803176B0 00314610 C0 23 00 98 */ lfs f1, 0x98(r3) +/* 803176B4 00314614 4E 80 00 20 */ blr + +.global SetGeneratorRate__11CElementGenFf +SetGeneratorRate__11CElementGenFf: +/* 803176B8 00314618 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803176BC 0031461C 7C 08 02 A6 */ mflr r0 +/* 803176C0 00314620 FC 40 08 18 */ frsp f2, f1 +/* 803176C4 00314624 90 01 00 24 */ stw r0, 0x24(r1) +/* 803176C8 00314628 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 803176CC 0031462C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 803176D0 00314630 93 A1 00 14 */ stw r29, 0x14(r1) +/* 803176D4 00314634 7C 7D 1B 78 */ mr r29, r3 +/* 803176D8 00314638 C0 0D 9D 10 */ lfs f0, lbl_805A88D0@sda21(r13) +/* 803176DC 0031463C D0 21 00 08 */ stfs f1, 8(r1) +/* 803176E0 00314640 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 803176E4 00314644 40 80 00 0C */ bge lbl_803176F0 +/* 803176E8 00314648 38 6D 9D 10 */ addi r3, r13, lbl_805A88D0@sda21 +/* 803176EC 0031464C 48 00 00 08 */ b lbl_803176F4 +lbl_803176F0: +/* 803176F0 00314650 38 61 00 08 */ addi r3, r1, 8 +lbl_803176F4: +/* 803176F4 00314654 C0 03 00 00 */ lfs f0, 0(r3) +/* 803176F8 00314658 D0 1D 00 98 */ stfs f0, 0x98(r29) +/* 803176FC 0031465C 83 FD 02 9C */ lwz r31, 0x29c(r29) +/* 80317700 00314660 48 00 00 44 */ b lbl_80317744 +lbl_80317704: +/* 80317704 00314664 83 DF 00 00 */ lwz r30, 0(r31) +/* 80317708 00314668 7F C3 F3 78 */ mr r3, r30 +/* 8031770C 0031466C 81 9E 00 00 */ lwz r12, 0(r30) +/* 80317710 00314670 81 8C 00 74 */ lwz r12, 0x74(r12) +/* 80317714 00314674 7D 89 03 A6 */ mtctr r12 +/* 80317718 00314678 4E 80 04 21 */ bctrl +/* 8031771C 0031467C 3C 03 AF BF */ addis r0, r3, 0xafbf +/* 80317720 00314680 28 00 52 54 */ cmplwi r0, 0x5254 +/* 80317724 00314684 40 82 00 1C */ bne lbl_80317740 +/* 80317728 00314688 7F C3 F3 78 */ mr r3, r30 +/* 8031772C 0031468C C0 3D 00 98 */ lfs f1, 0x98(r29) +/* 80317730 00314690 81 9E 00 00 */ lwz r12, 0(r30) +/* 80317734 00314694 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 80317738 00314698 7D 89 03 A6 */ mtctr r12 +/* 8031773C 0031469C 4E 80 04 21 */ bctrl +lbl_80317740: +/* 80317740 003146A0 3B FF 00 04 */ addi r31, r31, 4 +lbl_80317744: +/* 80317744 003146A4 80 1D 02 94 */ lwz r0, 0x294(r29) +/* 80317748 003146A8 80 7D 02 9C */ lwz r3, 0x29c(r29) +/* 8031774C 003146AC 54 00 10 3A */ slwi r0, r0, 2 +/* 80317750 003146B0 7C 03 02 14 */ add r0, r3, r0 +/* 80317754 003146B4 7C 1F 00 40 */ cmplw r31, r0 +/* 80317758 003146B8 40 82 FF AC */ bne lbl_80317704 +/* 8031775C 003146BC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80317760 003146C0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80317764 003146C4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80317768 003146C8 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8031776C 003146CC 7C 08 03 A6 */ mtlr r0 +/* 80317770 003146D0 38 21 00 20 */ addi r1, r1, 0x20 +/* 80317774 003146D4 4E 80 00 20 */ blr + +.global GetLight__11CElementGenCFv +GetLight__11CElementGenCFv: +/* 80317778 003146D8 94 21 FF 10 */ stwu r1, -0xf0(r1) +/* 8031777C 003146DC 7C 08 02 A6 */ mflr r0 +/* 80317780 003146E0 90 01 00 F4 */ stw r0, 0xf4(r1) +/* 80317784 003146E4 93 E1 00 EC */ stw r31, 0xec(r1) +/* 80317788 003146E8 93 C1 00 E8 */ stw r30, 0xe8(r1) +/* 8031778C 003146EC 7C 9E 23 78 */ mr r30, r4 +/* 80317790 003146F0 93 A1 00 E4 */ stw r29, 0xe4(r1) +/* 80317794 003146F4 7C 7D 1B 78 */ mr r29, r3 +/* 80317798 003146F8 80 04 03 08 */ lwz r0, 0x308(r4) +/* 8031779C 003146FC 2C 00 00 03 */ cmpwi r0, 3 +/* 803177A0 00314700 41 82 00 78 */ beq lbl_80317818 +/* 803177A4 00314704 40 80 01 40 */ bge lbl_803178E4 +/* 803177A8 00314708 2C 00 00 02 */ cmpwi r0, 2 +/* 803177AC 0031470C 40 80 00 08 */ bge lbl_803177B4 +/* 803177B0 00314710 48 00 01 34 */ b lbl_803178E4 +lbl_803177B4: +/* 803177B4 00314714 E0 3E A3 0C */ psq_l f1, 780(r30), 1, qr2 +/* 803177B8 00314718 E0 5E A3 0D */ psq_l f2, 781(r30), 1, qr2 +/* 803177BC 0031471C E0 7E A3 0E */ psq_l f3, 782(r30), 1, qr2 +/* 803177C0 00314720 E0 9E A3 0F */ psq_l f4, 783(r30), 1, qr2 +/* 803177C4 00314724 38 61 00 0C */ addi r3, r1, 0xc +/* 803177C8 00314728 C0 02 C9 EC */ lfs f0, lbl_805AE70C@sda21(r2) +/* 803177CC 0031472C C0 BE 03 10 */ lfs f5, 0x310(r30) +/* 803177D0 00314730 EC 20 00 72 */ fmuls f1, f0, f1 +/* 803177D4 00314734 EC 40 00 B2 */ fmuls f2, f0, f2 +/* 803177D8 00314738 EC 60 00 F2 */ fmuls f3, f0, f3 +/* 803177DC 0031473C EC 00 01 32 */ fmuls f0, f0, f4 +/* 803177E0 00314740 EC 25 00 72 */ fmuls f1, f5, f1 +/* 803177E4 00314744 EC 45 00 B2 */ fmuls f2, f5, f2 +/* 803177E8 00314748 EC 65 00 F2 */ fmuls f3, f5, f3 +/* 803177EC 0031474C EC 85 00 32 */ fmuls f4, f5, f0 +/* 803177F0 00314750 48 04 BB FD */ bl __ct__6CColorFffff +/* 803177F4 00314754 7C 7F 1B 78 */ mr r31, r3 +/* 803177F8 00314758 38 61 00 28 */ addi r3, r1, 0x28 +/* 803177FC 0031475C 38 9E 03 20 */ addi r4, r30, 0x320 +/* 80317800 00314760 4B FF D0 51 */ bl AsNormalized__9CVector3fCFv +/* 80317804 00314764 7F A3 EB 78 */ mr r3, r29 +/* 80317808 00314768 7F E5 FB 78 */ mr r5, r31 +/* 8031780C 0031476C 38 81 00 28 */ addi r4, r1, 0x28 +/* 80317810 00314770 4B FE EC 5D */ bl BuildDirectional__6CLightFRC9CVector3fRC6CColor +/* 80317814 00314774 48 00 01 40 */ b lbl_80317954 +lbl_80317818: +/* 80317818 00314778 E0 3E A3 0C */ psq_l f1, 780(r30), 1, qr2 +/* 8031781C 0031477C E0 5E A3 0D */ psq_l f2, 781(r30), 1, qr2 +/* 80317820 00314780 E0 7E A3 0E */ psq_l f3, 782(r30), 1, qr2 +/* 80317824 00314784 E0 9E A3 0F */ psq_l f4, 783(r30), 1, qr2 +/* 80317828 00314788 38 61 00 08 */ addi r3, r1, 8 +/* 8031782C 0031478C C0 02 C9 EC */ lfs f0, lbl_805AE70C@sda21(r2) +/* 80317830 00314790 C0 BE 03 10 */ lfs f5, 0x310(r30) +/* 80317834 00314794 EC 20 00 72 */ fmuls f1, f0, f1 +/* 80317838 00314798 EC 40 00 B2 */ fmuls f2, f0, f2 +/* 8031783C 0031479C EC 60 00 F2 */ fmuls f3, f0, f3 +/* 80317840 003147A0 EC 00 01 32 */ fmuls f0, f0, f4 +/* 80317844 003147A4 EC 25 00 72 */ fmuls f1, f5, f1 +/* 80317848 003147A8 EC 45 00 B2 */ fmuls f2, f5, f2 +/* 8031784C 003147AC EC 65 00 F2 */ fmuls f3, f5, f3 +/* 80317850 003147B0 EC 85 00 32 */ fmuls f4, f5, f0 +/* 80317854 003147B4 48 04 BB 99 */ bl __ct__6CColorFffff +/* 80317858 003147B8 7C 7F 1B 78 */ mr r31, r3 +/* 8031785C 003147BC 38 61 00 1C */ addi r3, r1, 0x1c +/* 80317860 003147C0 38 9E 03 20 */ addi r4, r30, 0x320 +/* 80317864 003147C4 4B FF CF ED */ bl AsNormalized__9CVector3fCFv +/* 80317868 003147C8 C0 3E 03 34 */ lfs f1, 0x334(r30) +/* 8031786C 003147CC 7F E6 FB 78 */ mr r6, r31 +/* 80317870 003147D0 38 61 00 34 */ addi r3, r1, 0x34 +/* 80317874 003147D4 38 9E 03 14 */ addi r4, r30, 0x314 +/* 80317878 003147D8 38 A1 00 1C */ addi r5, r1, 0x1c +/* 8031787C 003147DC 4B FE EB 81 */ bl BuildSpot__6CLightFRC9CVector3fRC9CVector3fRC6CColorf +/* 80317880 003147E0 38 61 00 84 */ addi r3, r1, 0x84 +/* 80317884 003147E4 38 81 00 34 */ addi r4, r1, 0x34 +/* 80317888 003147E8 4B D2 3C E9 */ bl __ct__6CLightFCR6CLight +/* 8031788C 003147EC 80 1E 03 2C */ lwz r0, 0x32c(r30) +/* 80317890 003147F0 2C 00 00 02 */ cmpwi r0, 2 +/* 80317894 003147F4 40 82 00 0C */ bne lbl_803178A0 +/* 80317898 003147F8 C0 7E 03 30 */ lfs f3, 0x330(r30) +/* 8031789C 003147FC 48 00 00 08 */ b lbl_803178A4 +lbl_803178A0: +/* 803178A0 00314800 C0 62 C9 E8 */ lfs f3, lbl_805AE708@sda21(r2) +lbl_803178A4: +/* 803178A4 00314804 2C 00 00 01 */ cmpwi r0, 1 +/* 803178A8 00314808 40 82 00 0C */ bne lbl_803178B4 +/* 803178AC 0031480C C0 5E 03 30 */ lfs f2, 0x330(r30) +/* 803178B0 00314810 48 00 00 08 */ b lbl_803178B8 +lbl_803178B4: +/* 803178B4 00314814 C0 42 C9 E8 */ lfs f2, lbl_805AE708@sda21(r2) +lbl_803178B8: +/* 803178B8 00314818 2C 00 00 00 */ cmpwi r0, 0 +/* 803178BC 0031481C 38 61 00 84 */ addi r3, r1, 0x84 +/* 803178C0 00314820 40 82 00 0C */ bne lbl_803178CC +/* 803178C4 00314824 C0 22 C9 F0 */ lfs f1, lbl_805AE710@sda21(r2) +/* 803178C8 00314828 48 00 00 08 */ b lbl_803178D0 +lbl_803178CC: +/* 803178CC 0031482C C0 22 C9 E8 */ lfs f1, lbl_805AE708@sda21(r2) +lbl_803178D0: +/* 803178D0 00314830 4B FE EA E1 */ bl SetAttenuation__6CLightFfff +/* 803178D4 00314834 7F A3 EB 78 */ mr r3, r29 +/* 803178D8 00314838 38 81 00 84 */ addi r4, r1, 0x84 +/* 803178DC 0031483C 4B D2 3C 95 */ bl __ct__6CLightFCR6CLight +/* 803178E0 00314840 48 00 00 74 */ b lbl_80317954 +lbl_803178E4: +/* 803178E4 00314844 80 1E 03 2C */ lwz r0, 0x32c(r30) +/* 803178E8 00314848 2C 00 00 02 */ cmpwi r0, 2 +/* 803178EC 0031484C 40 82 00 0C */ bne lbl_803178F8 +/* 803178F0 00314850 C0 7E 03 30 */ lfs f3, 0x330(r30) +/* 803178F4 00314854 48 00 00 08 */ b lbl_803178FC +lbl_803178F8: +/* 803178F8 00314858 C0 62 C9 E8 */ lfs f3, lbl_805AE708@sda21(r2) +lbl_803178FC: +/* 803178FC 0031485C 2C 00 00 01 */ cmpwi r0, 1 +/* 80317900 00314860 40 82 00 0C */ bne lbl_8031790C +/* 80317904 00314864 C0 5E 03 30 */ lfs f2, 0x330(r30) +/* 80317908 00314868 48 00 00 08 */ b lbl_80317910 +lbl_8031790C: +/* 8031790C 0031486C C0 42 C9 E8 */ lfs f2, lbl_805AE708@sda21(r2) +lbl_80317910: +/* 80317910 00314870 2C 00 00 00 */ cmpwi r0, 0 +/* 80317914 00314874 40 82 00 0C */ bne lbl_80317920 +/* 80317918 00314878 C0 22 C9 F0 */ lfs f1, lbl_805AE710@sda21(r2) +/* 8031791C 0031487C 48 00 00 08 */ b lbl_80317924 +lbl_80317920: +/* 80317920 00314880 C0 22 C9 E8 */ lfs f1, lbl_805AE708@sda21(r2) +lbl_80317924: +/* 80317924 00314884 C0 A2 C9 E8 */ lfs f5, lbl_805AE708@sda21(r2) +/* 80317928 00314888 7F A3 EB 78 */ mr r3, r29 +/* 8031792C 0031488C C0 02 C9 F0 */ lfs f0, lbl_805AE710@sda21(r2) +/* 80317930 00314890 38 9E 03 14 */ addi r4, r30, 0x314 +/* 80317934 00314894 FC C0 28 90 */ fmr f6, f5 +/* 80317938 00314898 D0 A1 00 14 */ stfs f5, 0x14(r1) +/* 8031793C 0031489C C0 9E 03 10 */ lfs f4, 0x310(r30) +/* 80317940 003148A0 38 A1 00 10 */ addi r5, r1, 0x10 +/* 80317944 003148A4 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 80317948 003148A8 38 DE 03 0C */ addi r6, r30, 0x30c +/* 8031794C 003148AC D0 A1 00 18 */ stfs f5, 0x18(r1) +/* 80317950 003148B0 4B FE EA 8D */ bl BuildCustom__6CLightFRC9CVector3fRC9CVector3fRC6CColorffffff +lbl_80317954: +/* 80317954 003148B4 80 01 00 F4 */ lwz r0, 0xf4(r1) +/* 80317958 003148B8 83 E1 00 EC */ lwz r31, 0xec(r1) +/* 8031795C 003148BC 83 C1 00 E8 */ lwz r30, 0xe8(r1) +/* 80317960 003148C0 83 A1 00 E4 */ lwz r29, 0xe4(r1) +/* 80317964 003148C4 7C 08 03 A6 */ mtlr r0 +/* 80317968 003148C8 38 21 00 F0 */ addi r1, r1, 0xf0 +/* 8031796C 003148CC 4E 80 00 20 */ blr + +.global SystemHasLight__11CElementGenCFv +SystemHasLight__11CElementGenCFv: +/* 80317970 003148D0 80 63 03 08 */ lwz r3, 0x308(r3) +/* 80317974 003148D4 7C 03 00 D0 */ neg r0, r3 +/* 80317978 003148D8 7C 00 1B 78 */ or r0, r0, r3 +/* 8031797C 003148DC 54 03 0F FE */ srwi r3, r0, 0x1f +/* 80317980 003148E0 4E 80 00 20 */ blr + +.global GetEmitterTime__11CElementGenFv +GetEmitterTime__11CElementGenFv: +/* 80317984 003148E4 80 63 00 74 */ lwz r3, 0x74(r3) +/* 80317988 003148E8 4E 80 00 20 */ blr + +.global GetBounds__11CElementGenCFv +GetBounds__11CElementGenCFv: +/* 8031798C 003148EC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80317990 003148F0 7C 08 02 A6 */ mflr r0 +/* 80317994 003148F4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80317998 003148F8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8031799C 003148FC 7C 9F 23 78 */ mr r31, r4 +/* 803179A0 00314900 93 C1 00 08 */ stw r30, 8(r1) +/* 803179A4 00314904 7C 7E 1B 78 */ mr r30, r3 +/* 803179A8 00314908 7F E3 FB 78 */ mr r3, r31 +/* 803179AC 0031490C 48 00 05 41 */ bl GetParticleCountAll__11CElementGenCFv +/* 803179B0 00314910 2C 03 00 00 */ cmpwi r3, 0 +/* 803179B4 00314914 41 81 00 10 */ bgt lbl_803179C4 +/* 803179B8 00314918 38 00 00 00 */ li r0, 0 +/* 803179BC 0031491C 98 1E 00 18 */ stb r0, 0x18(r30) +/* 803179C0 00314920 48 00 00 44 */ b lbl_80317A04 +lbl_803179C4: +/* 803179C4 00314924 38 00 00 01 */ li r0, 1 +/* 803179C8 00314928 28 1E 00 00 */ cmplwi r30, 0 +/* 803179CC 0031492C 98 1E 00 18 */ stb r0, 0x18(r30) +/* 803179D0 00314930 41 82 00 34 */ beq lbl_80317A04 +/* 803179D4 00314934 C0 1F 02 F0 */ lfs f0, 0x2f0(r31) +/* 803179D8 00314938 D0 1E 00 00 */ stfs f0, 0(r30) +/* 803179DC 0031493C C0 1F 02 F4 */ lfs f0, 0x2f4(r31) +/* 803179E0 00314940 D0 1E 00 04 */ stfs f0, 4(r30) +/* 803179E4 00314944 C0 1F 02 F8 */ lfs f0, 0x2f8(r31) +/* 803179E8 00314948 D0 1E 00 08 */ stfs f0, 8(r30) +/* 803179EC 0031494C C0 1F 02 FC */ lfs f0, 0x2fc(r31) +/* 803179F0 00314950 D0 1E 00 0C */ stfs f0, 0xc(r30) +/* 803179F4 00314954 C0 1F 03 00 */ lfs f0, 0x300(r31) +/* 803179F8 00314958 D0 1E 00 10 */ stfs f0, 0x10(r30) +/* 803179FC 0031495C C0 1F 03 04 */ lfs f0, 0x304(r31) +/* 80317A00 00314960 D0 1E 00 14 */ stfs f0, 0x14(r30) +lbl_80317A04: +/* 80317A04 00314964 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80317A08 00314968 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80317A0C 0031496C 83 C1 00 08 */ lwz r30, 8(r1) +/* 80317A10 00314970 7C 08 03 A6 */ mtlr r0 +/* 80317A14 00314974 38 21 00 10 */ addi r1, r1, 0x10 +/* 80317A18 00314978 4E 80 00 20 */ blr + +.global BuildParticleSystemBounds__11CElementGenFv +BuildParticleSystemBounds__11CElementGenFv: +/* 80317A1C 0031497C 94 21 FE 80 */ stwu r1, -0x180(r1) +/* 80317A20 00314980 7C 08 02 A6 */ mflr r0 +/* 80317A24 00314984 90 01 01 84 */ stw r0, 0x184(r1) +/* 80317A28 00314988 DB E1 01 70 */ stfd f31, 0x170(r1) +/* 80317A2C 0031498C F3 E1 01 78 */ psq_st f31, 376(r1), 0, qr0 +/* 80317A30 00314990 DB C1 01 60 */ stfd f30, 0x160(r1) +/* 80317A34 00314994 F3 C1 01 68 */ psq_st f30, 360(r1), 0, qr0 +/* 80317A38 00314998 DB A1 01 50 */ stfd f29, 0x150(r1) +/* 80317A3C 0031499C F3 A1 01 58 */ psq_st f29, 344(r1), 0, qr0 +/* 80317A40 003149A0 BF 41 01 38 */ stmw r26, 0x138(r1) +/* 80317A44 003149A4 3C 80 80 5A */ lis r4, lbl_805A6754@ha +/* 80317A48 003149A8 7C 7C 1B 78 */ mr r28, r3 +/* 80317A4C 003149AC 3B E4 67 54 */ addi r31, r4, lbl_805A6754@l +/* 80317A50 003149B0 3B C1 00 C4 */ addi r30, r1, 0xc4 +/* 80317A54 003149B4 C0 BF 00 00 */ lfs f5, 0(r31) +/* 80317A58 003149B8 3B A0 00 00 */ li r29, 0 +/* 80317A5C 003149BC C0 9F 00 04 */ lfs f4, 4(r31) +/* 80317A60 003149C0 C0 7F 00 08 */ lfs f3, 8(r31) +/* 80317A64 003149C4 C0 5F 00 0C */ lfs f2, 0xc(r31) +/* 80317A68 003149C8 C0 3F 00 10 */ lfs f1, 0x10(r31) +/* 80317A6C 003149CC C0 1F 00 14 */ lfs f0, 0x14(r31) +/* 80317A70 003149D0 D0 A1 00 B8 */ stfs f5, 0xb8(r1) +/* 80317A74 003149D4 D0 81 00 BC */ stfs f4, 0xbc(r1) +/* 80317A78 003149D8 D0 61 00 C0 */ stfs f3, 0xc0(r1) +/* 80317A7C 003149DC D0 41 00 C4 */ stfs f2, 0xc4(r1) +/* 80317A80 003149E0 D0 21 00 C8 */ stfs f1, 0xc8(r1) +/* 80317A84 003149E4 D0 01 00 CC */ stfs f0, 0xcc(r1) +/* 80317A88 003149E8 83 43 02 9C */ lwz r26, 0x29c(r3) +/* 80317A8C 003149EC 48 00 00 A4 */ b lbl_80317B30 +lbl_80317A90: +/* 80317A90 003149F0 80 9A 00 00 */ lwz r4, 0(r26) +/* 80317A94 003149F4 38 61 00 80 */ addi r3, r1, 0x80 +/* 80317A98 003149F8 81 84 00 00 */ lwz r12, 0(r4) +/* 80317A9C 003149FC 81 8C 00 5C */ lwz r12, 0x5c(r12) +/* 80317AA0 00314A00 7D 89 03 A6 */ mtctr r12 +/* 80317AA4 00314A04 4E 80 04 21 */ bctrl +/* 80317AA8 00314A08 88 01 00 98 */ lbz r0, 0x98(r1) +/* 80317AAC 00314A0C 28 00 00 00 */ cmplwi r0, 0 +/* 80317AB0 00314A10 98 01 00 B4 */ stb r0, 0xb4(r1) +/* 80317AB4 00314A14 41 82 00 3C */ beq lbl_80317AF0 +/* 80317AB8 00314A18 34 61 00 9C */ addic. r3, r1, 0x9c +/* 80317ABC 00314A1C 41 82 00 34 */ beq lbl_80317AF0 +/* 80317AC0 00314A20 C0 01 00 80 */ lfs f0, 0x80(r1) +/* 80317AC4 00314A24 D0 03 00 00 */ stfs f0, 0(r3) +/* 80317AC8 00314A28 C0 01 00 84 */ lfs f0, 0x84(r1) +/* 80317ACC 00314A2C D0 03 00 04 */ stfs f0, 4(r3) +/* 80317AD0 00314A30 C0 01 00 88 */ lfs f0, 0x88(r1) +/* 80317AD4 00314A34 D0 03 00 08 */ stfs f0, 8(r3) +/* 80317AD8 00314A38 C0 01 00 8C */ lfs f0, 0x8c(r1) +/* 80317ADC 00314A3C D0 03 00 0C */ stfs f0, 0xc(r3) +/* 80317AE0 00314A40 C0 01 00 90 */ lfs f0, 0x90(r1) +/* 80317AE4 00314A44 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 80317AE8 00314A48 C0 01 00 94 */ lfs f0, 0x94(r1) +/* 80317AEC 00314A4C D0 03 00 14 */ stfs f0, 0x14(r3) +lbl_80317AF0: +/* 80317AF0 00314A50 88 01 00 B4 */ lbz r0, 0xb4(r1) +/* 80317AF4 00314A54 38 60 00 00 */ li r3, 0 +/* 80317AF8 00314A58 98 61 00 98 */ stb r3, 0x98(r1) +/* 80317AFC 00314A5C 28 00 00 00 */ cmplwi r0, 0 +/* 80317B00 00314A60 41 82 00 24 */ beq lbl_80317B24 +/* 80317B04 00314A64 3B 61 00 9C */ addi r27, r1, 0x9c +/* 80317B08 00314A68 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 80317B0C 00314A6C 7F 64 DB 78 */ mr r4, r27 +/* 80317B10 00314A70 3B A0 00 01 */ li r29, 1 +/* 80317B14 00314A74 48 01 FF F5 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 80317B18 00314A78 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 80317B1C 00314A7C 38 9B 00 0C */ addi r4, r27, 0xc +/* 80317B20 00314A80 48 01 FF E9 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +lbl_80317B24: +/* 80317B24 00314A84 38 00 00 00 */ li r0, 0 +/* 80317B28 00314A88 3B 5A 00 04 */ addi r26, r26, 4 +/* 80317B2C 00314A8C 98 01 00 B4 */ stb r0, 0xb4(r1) +lbl_80317B30: +/* 80317B30 00314A90 80 1C 02 94 */ lwz r0, 0x294(r28) +/* 80317B34 00314A94 80 7C 02 9C */ lwz r3, 0x29c(r28) +/* 80317B38 00314A98 54 00 10 3A */ slwi r0, r0, 2 +/* 80317B3C 00314A9C 7C 03 02 14 */ add r0, r3, r0 +/* 80317B40 00314AA0 7C 1A 00 40 */ cmplw r26, r0 +/* 80317B44 00314AA4 40 82 FF 4C */ bne lbl_80317A90 +/* 80317B48 00314AA8 7F 83 E3 78 */ mr r3, r28 +/* 80317B4C 00314AAC 48 00 03 05 */ bl GetParticleCountAllInternal__11CElementGenCFv +/* 80317B50 00314AB0 90 7C 02 64 */ stw r3, 0x264(r28) +/* 80317B54 00314AB4 7F 83 E3 78 */ mr r3, r28 +/* 80317B58 00314AB8 81 9C 00 00 */ lwz r12, 0(r28) +/* 80317B5C 00314ABC 81 8C 00 60 */ lwz r12, 0x60(r12) +/* 80317B60 00314AC0 7D 89 03 A6 */ mtctr r12 +/* 80317B64 00314AC4 4E 80 04 21 */ bctrl +/* 80317B68 00314AC8 2C 03 00 00 */ cmpwi r3, 0 +/* 80317B6C 00314ACC 40 81 01 28 */ ble lbl_80317C94 +/* 80317B70 00314AD0 C0 7C 02 EC */ lfs f3, 0x2ec(r28) +/* 80317B74 00314AD4 38 61 00 D0 */ addi r3, r1, 0xd0 +/* 80317B78 00314AD8 C0 5C 01 08 */ lfs f2, 0x108(r28) +/* 80317B7C 00314ADC 38 9C 01 0C */ addi r4, r28, 0x10c +/* 80317B80 00314AE0 C0 3C 01 04 */ lfs f1, 0x104(r28) +/* 80317B84 00314AE4 38 BC 02 2C */ addi r5, r28, 0x22c +/* 80317B88 00314AE8 C0 1C 01 00 */ lfs f0, 0x100(r28) +/* 80317B8C 00314AEC EF A3 00 B2 */ fmuls f29, f3, f2 +/* 80317B90 00314AF0 EF C3 00 72 */ fmuls f30, f3, f1 +/* 80317B94 00314AF4 EF E3 00 32 */ fmuls f31, f3, f0 +/* 80317B98 00314AF8 4B FF AD B9 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80317B9C 00314AFC 38 61 01 00 */ addi r3, r1, 0x100 +/* 80317BA0 00314B00 38 81 00 D0 */ addi r4, r1, 0xd0 +/* 80317BA4 00314B04 38 BC 01 78 */ addi r5, r28, 0x178 +/* 80317BA8 00314B08 4B FF AD A9 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80317BAC 00314B0C 38 61 00 50 */ addi r3, r1, 0x50 +/* 80317BB0 00314B10 38 9C 02 D4 */ addi r4, r28, 0x2d4 +/* 80317BB4 00314B14 38 BC 02 E0 */ addi r5, r28, 0x2e0 +/* 80317BB8 00314B18 48 02 09 51 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 80317BBC 00314B1C 7C 64 1B 78 */ mr r4, r3 +/* 80317BC0 00314B20 38 61 00 68 */ addi r3, r1, 0x68 +/* 80317BC4 00314B24 38 A1 01 00 */ addi r5, r1, 0x100 +/* 80317BC8 00314B28 48 01 FD 35 */ bl GetTransformedAABox__6CAABoxCFRC12CTransform4f +/* 80317BCC 00314B2C C0 41 00 6C */ lfs f2, 0x6c(r1) +/* 80317BD0 00314B30 38 61 00 38 */ addi r3, r1, 0x38 +/* 80317BD4 00314B34 C0 1C 00 EC */ lfs f0, 0xec(r28) +/* 80317BD8 00314B38 38 81 00 2C */ addi r4, r1, 0x2c +/* 80317BDC 00314B3C C0 21 00 78 */ lfs f1, 0x78(r1) +/* 80317BE0 00314B40 38 A1 00 14 */ addi r5, r1, 0x14 +/* 80317BE4 00314B44 EC A2 00 2A */ fadds f5, f2, f0 +/* 80317BE8 00314B48 C0 41 00 70 */ lfs f2, 0x70(r1) +/* 80317BEC 00314B4C EC C1 00 2A */ fadds f6, f1, f0 +/* 80317BF0 00314B50 C0 1C 00 F0 */ lfs f0, 0xf0(r28) +/* 80317BF4 00314B54 C0 21 00 7C */ lfs f1, 0x7c(r1) +/* 80317BF8 00314B58 EC 82 00 2A */ fadds f4, f2, f0 +/* 80317BFC 00314B5C EC E1 00 2A */ fadds f7, f1, f0 +/* 80317C00 00314B60 C0 41 00 74 */ lfs f2, 0x74(r1) +/* 80317C04 00314B64 C0 3C 00 E8 */ lfs f1, 0xe8(r28) +/* 80317C08 00314B68 ED 26 F0 2A */ fadds f9, f6, f30 +/* 80317C0C 00314B6C C0 01 00 68 */ lfs f0, 0x68(r1) +/* 80317C10 00314B70 EC 62 08 2A */ fadds f3, f2, f1 +/* 80317C14 00314B74 EC 20 08 2A */ fadds f1, f0, f1 +/* 80317C18 00314B78 D0 C1 00 0C */ stfs f6, 0xc(r1) +/* 80317C1C 00314B7C ED 07 E8 2A */ fadds f8, f7, f29 +/* 80317C20 00314B80 EC 43 F8 2A */ fadds f2, f3, f31 +/* 80317C24 00314B84 D0 61 00 08 */ stfs f3, 8(r1) +/* 80317C28 00314B88 EC C5 F0 28 */ fsubs f6, f5, f30 +/* 80317C2C 00314B8C EC 64 E8 28 */ fsubs f3, f4, f29 +/* 80317C30 00314B90 D0 E1 00 10 */ stfs f7, 0x10(r1) +/* 80317C34 00314B94 EC 01 F8 28 */ fsubs f0, f1, f31 +/* 80317C38 00314B98 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 80317C3C 00314B9C D1 21 00 18 */ stfs f9, 0x18(r1) +/* 80317C40 00314BA0 D1 01 00 1C */ stfs f8, 0x1c(r1) +/* 80317C44 00314BA4 D0 21 00 20 */ stfs f1, 0x20(r1) +/* 80317C48 00314BA8 D0 A1 00 24 */ stfs f5, 0x24(r1) +/* 80317C4C 00314BAC D0 81 00 28 */ stfs f4, 0x28(r1) +/* 80317C50 00314BB0 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 80317C54 00314BB4 D0 C1 00 30 */ stfs f6, 0x30(r1) +/* 80317C58 00314BB8 D0 61 00 34 */ stfs f3, 0x34(r1) +/* 80317C5C 00314BBC 48 02 08 AD */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 80317C60 00314BC0 80 61 00 38 */ lwz r3, 0x38(r1) +/* 80317C64 00314BC4 80 01 00 3C */ lwz r0, 0x3c(r1) +/* 80317C68 00314BC8 90 7C 02 F0 */ stw r3, 0x2f0(r28) +/* 80317C6C 00314BCC 90 1C 02 F4 */ stw r0, 0x2f4(r28) +/* 80317C70 00314BD0 80 01 00 40 */ lwz r0, 0x40(r1) +/* 80317C74 00314BD4 90 1C 02 F8 */ stw r0, 0x2f8(r28) +/* 80317C78 00314BD8 80 61 00 44 */ lwz r3, 0x44(r1) +/* 80317C7C 00314BDC 80 01 00 48 */ lwz r0, 0x48(r1) +/* 80317C80 00314BE0 90 7C 02 FC */ stw r3, 0x2fc(r28) +/* 80317C84 00314BE4 90 1C 03 00 */ stw r0, 0x300(r28) +/* 80317C88 00314BE8 80 01 00 4C */ lwz r0, 0x4c(r1) +/* 80317C8C 00314BEC 90 1C 03 04 */ stw r0, 0x304(r28) +/* 80317C90 00314BF0 48 00 00 3C */ b lbl_80317CCC +lbl_80317C94: +/* 80317C94 00314BF4 3C 60 80 5A */ lis r3, lbl_805A6754@ha +/* 80317C98 00314BF8 38 83 67 54 */ addi r4, r3, lbl_805A6754@l +/* 80317C9C 00314BFC 80 64 00 00 */ lwz r3, 0(r4) +/* 80317CA0 00314C00 80 04 00 04 */ lwz r0, 4(r4) +/* 80317CA4 00314C04 90 7C 02 F0 */ stw r3, 0x2f0(r28) +/* 80317CA8 00314C08 90 1C 02 F4 */ stw r0, 0x2f4(r28) +/* 80317CAC 00314C0C 80 04 00 08 */ lwz r0, 8(r4) +/* 80317CB0 00314C10 90 1C 02 F8 */ stw r0, 0x2f8(r28) +/* 80317CB4 00314C14 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 80317CB8 00314C18 80 1F 00 10 */ lwz r0, 0x10(r31) +/* 80317CBC 00314C1C 90 7C 02 FC */ stw r3, 0x2fc(r28) +/* 80317CC0 00314C20 90 1C 03 00 */ stw r0, 0x300(r28) +/* 80317CC4 00314C24 80 1F 00 14 */ lwz r0, 0x14(r31) +/* 80317CC8 00314C28 90 1C 03 04 */ stw r0, 0x304(r28) +lbl_80317CCC: +/* 80317CCC 00314C2C 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 80317CD0 00314C30 41 82 00 1C */ beq lbl_80317CEC +/* 80317CD4 00314C34 38 7C 02 F0 */ addi r3, r28, 0x2f0 +/* 80317CD8 00314C38 38 81 00 B8 */ addi r4, r1, 0xb8 +/* 80317CDC 00314C3C 48 01 FE 2D */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 80317CE0 00314C40 7F C4 F3 78 */ mr r4, r30 +/* 80317CE4 00314C44 38 7C 02 F0 */ addi r3, r28, 0x2f0 +/* 80317CE8 00314C48 48 01 FE 21 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +lbl_80317CEC: +/* 80317CEC 00314C4C E3 E1 01 78 */ psq_l f31, 376(r1), 0, qr0 +/* 80317CF0 00314C50 CB E1 01 70 */ lfd f31, 0x170(r1) +/* 80317CF4 00314C54 E3 C1 01 68 */ psq_l f30, 360(r1), 0, qr0 +/* 80317CF8 00314C58 CB C1 01 60 */ lfd f30, 0x160(r1) +/* 80317CFC 00314C5C E3 A1 01 58 */ psq_l f29, 344(r1), 0, qr0 +/* 80317D00 00314C60 CB A1 01 50 */ lfd f29, 0x150(r1) +/* 80317D04 00314C64 BB 41 01 38 */ lmw r26, 0x138(r1) +/* 80317D08 00314C68 80 01 01 84 */ lwz r0, 0x184(r1) +/* 80317D0C 00314C6C 7C 08 03 A6 */ mtlr r0 +/* 80317D10 00314C70 38 21 01 80 */ addi r1, r1, 0x180 +/* 80317D14 00314C74 4E 80 00 20 */ blr + +.global AccumulateBounds__11CElementGenFRC9CVector3ff +AccumulateBounds__11CElementGenFRC9CVector3ff: +/* 80317D18 00314C78 C0 44 00 00 */ lfs f2, 0(r4) +/* 80317D1C 00314C7C C0 03 02 E0 */ lfs f0, 0x2e0(r3) +/* 80317D20 00314C80 C0 64 00 04 */ lfs f3, 4(r4) +/* 80317D24 00314C84 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80317D28 00314C88 C0 84 00 08 */ lfs f4, 8(r4) +/* 80317D2C 00314C8C 40 81 00 08 */ ble lbl_80317D34 +/* 80317D30 00314C90 D0 43 02 E0 */ stfs f2, 0x2e0(r3) +lbl_80317D34: +/* 80317D34 00314C94 C0 03 02 D4 */ lfs f0, 0x2d4(r3) +/* 80317D38 00314C98 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80317D3C 00314C9C 40 80 00 08 */ bge lbl_80317D44 +/* 80317D40 00314CA0 D0 43 02 D4 */ stfs f2, 0x2d4(r3) +lbl_80317D44: +/* 80317D44 00314CA4 C0 03 02 E4 */ lfs f0, 0x2e4(r3) +/* 80317D48 00314CA8 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 80317D4C 00314CAC 40 81 00 08 */ ble lbl_80317D54 +/* 80317D50 00314CB0 D0 63 02 E4 */ stfs f3, 0x2e4(r3) +lbl_80317D54: +/* 80317D54 00314CB4 C0 03 02 D8 */ lfs f0, 0x2d8(r3) +/* 80317D58 00314CB8 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 80317D5C 00314CBC 40 80 00 08 */ bge lbl_80317D64 +/* 80317D60 00314CC0 D0 63 02 D8 */ stfs f3, 0x2d8(r3) +lbl_80317D64: +/* 80317D64 00314CC4 C0 03 02 E8 */ lfs f0, 0x2e8(r3) +/* 80317D68 00314CC8 FC 04 00 40 */ fcmpo cr0, f4, f0 +/* 80317D6C 00314CCC 40 81 00 08 */ ble lbl_80317D74 +/* 80317D70 00314CD0 D0 83 02 E8 */ stfs f4, 0x2e8(r3) +lbl_80317D74: +/* 80317D74 00314CD4 C0 03 02 DC */ lfs f0, 0x2dc(r3) +/* 80317D78 00314CD8 FC 04 00 40 */ fcmpo cr0, f4, f0 +/* 80317D7C 00314CDC 40 80 00 08 */ bge lbl_80317D84 +/* 80317D80 00314CE0 D0 83 02 DC */ stfs f4, 0x2dc(r3) +lbl_80317D84: +/* 80317D84 00314CE4 C0 03 02 EC */ lfs f0, 0x2ec(r3) +/* 80317D88 00314CE8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80317D8C 00314CEC 4C 81 00 20 */ blelr +/* 80317D90 00314CF0 D0 23 02 EC */ stfs f1, 0x2ec(r3) +/* 80317D94 00314CF4 4E 80 00 20 */ blr + +.global GetSystemCount__11CElementGenFv +GetSystemCount__11CElementGenFv: +/* 80317D98 00314CF8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80317D9C 00314CFC 7C 08 02 A6 */ mflr r0 +/* 80317DA0 00314D00 90 01 00 24 */ stw r0, 0x24(r1) +/* 80317DA4 00314D04 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80317DA8 00314D08 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80317DAC 00314D0C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80317DB0 00314D10 93 81 00 10 */ stw r28, 0x10(r1) +/* 80317DB4 00314D14 7C 7C 1B 78 */ mr r28, r3 +/* 80317DB8 00314D18 80 63 02 5C */ lwz r3, 0x25c(r3) +/* 80317DBC 00314D1C 83 FC 02 9C */ lwz r31, 0x29c(r28) +/* 80317DC0 00314D20 7C 03 00 D0 */ neg r0, r3 +/* 80317DC4 00314D24 7C 00 18 78 */ andc r0, r0, r3 +/* 80317DC8 00314D28 54 00 0F FE */ srwi r0, r0, 0x1f +/* 80317DCC 00314D2C 7C 1E 03 78 */ mr r30, r0 +/* 80317DD0 00314D30 48 00 00 44 */ b lbl_80317E14 +lbl_80317DD4: +/* 80317DD4 00314D34 83 BF 00 00 */ lwz r29, 0(r31) +/* 80317DD8 00314D38 7F A3 EB 78 */ mr r3, r29 +/* 80317DDC 00314D3C 81 9D 00 00 */ lwz r12, 0(r29) +/* 80317DE0 00314D40 81 8C 00 74 */ lwz r12, 0x74(r12) +/* 80317DE4 00314D44 7D 89 03 A6 */ mtctr r12 +/* 80317DE8 00314D48 4E 80 04 21 */ bctrl +/* 80317DEC 00314D4C 3C 03 AF BF */ addis r0, r3, 0xafbf +/* 80317DF0 00314D50 28 00 52 54 */ cmplwi r0, 0x5254 +/* 80317DF4 00314D54 40 82 00 14 */ bne lbl_80317E08 +/* 80317DF8 00314D58 7F A3 EB 78 */ mr r3, r29 +/* 80317DFC 00314D5C 4B FF FF 9D */ bl GetSystemCount__11CElementGenFv +/* 80317E00 00314D60 7C 1E 1A 14 */ add r0, r30, r3 +/* 80317E04 00314D64 48 00 00 08 */ b lbl_80317E0C +lbl_80317E08: +/* 80317E08 00314D68 38 1E 00 01 */ addi r0, r30, 1 +lbl_80317E0C: +/* 80317E0C 00314D6C 7C 1E 03 78 */ mr r30, r0 +/* 80317E10 00314D70 3B FF 00 04 */ addi r31, r31, 4 +lbl_80317E14: +/* 80317E14 00314D74 80 1C 02 94 */ lwz r0, 0x294(r28) +/* 80317E18 00314D78 80 7C 02 9C */ lwz r3, 0x29c(r28) +/* 80317E1C 00314D7C 54 00 10 3A */ slwi r0, r0, 2 +/* 80317E20 00314D80 7C 03 02 14 */ add r0, r3, r0 +/* 80317E24 00314D84 7C 1F 00 40 */ cmplw r31, r0 +/* 80317E28 00314D88 40 82 FF AC */ bne lbl_80317DD4 +/* 80317E2C 00314D8C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80317E30 00314D90 7F C3 F3 78 */ mr r3, r30 +/* 80317E34 00314D94 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80317E38 00314D98 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80317E3C 00314D9C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80317E40 00314DA0 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80317E44 00314DA4 7C 08 03 A6 */ mtlr r0 +/* 80317E48 00314DA8 38 21 00 20 */ addi r1, r1, 0x20 +/* 80317E4C 00314DAC 4E 80 00 20 */ blr + +.global GetParticleCountAllInternal__11CElementGenCFv +GetParticleCountAllInternal__11CElementGenCFv: +/* 80317E50 00314DB0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80317E54 00314DB4 7C 08 02 A6 */ mflr r0 +/* 80317E58 00314DB8 90 01 00 24 */ stw r0, 0x24(r1) +/* 80317E5C 00314DBC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80317E60 00314DC0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80317E64 00314DC4 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80317E68 00314DC8 93 81 00 10 */ stw r28, 0x10(r1) +/* 80317E6C 00314DCC 7C 7C 1B 78 */ mr r28, r3 +/* 80317E70 00314DD0 83 C3 02 5C */ lwz r30, 0x25c(r3) +/* 80317E74 00314DD4 83 E3 02 9C */ lwz r31, 0x29c(r3) +/* 80317E78 00314DD8 48 00 00 38 */ b lbl_80317EB0 +lbl_80317E7C: +/* 80317E7C 00314DDC 83 BF 00 00 */ lwz r29, 0(r31) +/* 80317E80 00314DE0 7F A3 EB 78 */ mr r3, r29 +/* 80317E84 00314DE4 81 9D 00 00 */ lwz r12, 0(r29) +/* 80317E88 00314DE8 81 8C 00 74 */ lwz r12, 0x74(r12) +/* 80317E8C 00314DEC 7D 89 03 A6 */ mtctr r12 +/* 80317E90 00314DF0 4E 80 04 21 */ bctrl +/* 80317E94 00314DF4 3C 03 AF BF */ addis r0, r3, 0xafbf +/* 80317E98 00314DF8 28 00 52 54 */ cmplwi r0, 0x5254 +/* 80317E9C 00314DFC 40 82 00 10 */ bne lbl_80317EAC +/* 80317EA0 00314E00 7F A3 EB 78 */ mr r3, r29 +/* 80317EA4 00314E04 48 00 00 49 */ bl GetParticleCountAll__11CElementGenCFv +/* 80317EA8 00314E08 7F DE 1A 14 */ add r30, r30, r3 +lbl_80317EAC: +/* 80317EAC 00314E0C 3B FF 00 04 */ addi r31, r31, 4 +lbl_80317EB0: +/* 80317EB0 00314E10 80 1C 02 94 */ lwz r0, 0x294(r28) +/* 80317EB4 00314E14 80 7C 02 9C */ lwz r3, 0x29c(r28) +/* 80317EB8 00314E18 54 00 10 3A */ slwi r0, r0, 2 +/* 80317EBC 00314E1C 7C 03 02 14 */ add r0, r3, r0 +/* 80317EC0 00314E20 7C 1F 00 40 */ cmplw r31, r0 +/* 80317EC4 00314E24 40 82 FF B8 */ bne lbl_80317E7C +/* 80317EC8 00314E28 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80317ECC 00314E2C 7F C3 F3 78 */ mr r3, r30 +/* 80317ED0 00314E30 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80317ED4 00314E34 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80317ED8 00314E38 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80317EDC 00314E3C 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80317EE0 00314E40 7C 08 03 A6 */ mtlr r0 +/* 80317EE4 00314E44 38 21 00 20 */ addi r1, r1, 0x20 +/* 80317EE8 00314E48 4E 80 00 20 */ blr + +.global GetParticleCountAll__11CElementGenCFv +GetParticleCountAll__11CElementGenCFv: +/* 80317EEC 00314E4C 80 63 02 64 */ lwz r3, 0x264(r3) +/* 80317EF0 00314E50 4E 80 00 20 */ blr + +.global RenderModels__11CElementGenFv +RenderModels__11CElementGenFv: +/* 80317EF4 00314E54 94 21 FA C0 */ stwu r1, -0x540(r1) +/* 80317EF8 00314E58 7C 08 02 A6 */ mflr r0 +/* 80317EFC 00314E5C 90 01 05 44 */ stw r0, 0x544(r1) +/* 80317F00 00314E60 DB E1 05 30 */ stfd f31, 0x530(r1) +/* 80317F04 00314E64 F3 E1 05 38 */ psq_st f31, 1336(r1), 0, qr0 +/* 80317F08 00314E68 DB C1 05 20 */ stfd f30, 0x520(r1) +/* 80317F0C 00314E6C F3 C1 05 28 */ psq_st f30, 1320(r1), 0, qr0 +/* 80317F10 00314E70 DB A1 05 10 */ stfd f29, 0x510(r1) +/* 80317F14 00314E74 F3 A1 05 18 */ psq_st f29, 1304(r1), 0, qr0 +/* 80317F18 00314E78 BE 81 04 E0 */ stmw r20, 0x4e0(r1) +/* 80317F1C 00314E7C 38 00 00 00 */ li r0, 0 +/* 80317F20 00314E80 7C 7E 1B 78 */ mr r30, r3 +/* 80317F24 00314E84 90 0D A8 F0 */ stw r0, lbl_805A94B0@sda21(r13) +/* 80317F28 00314E88 88 03 02 6D */ lbz r0, 0x26d(r3) +/* 80317F2C 00314E8C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80317F30 00314E90 41 82 00 10 */ beq lbl_80317F40 +/* 80317F34 00314E94 88 7E 02 74 */ lbz r3, 0x274(r30) +/* 80317F38 00314E98 4B FF 49 99 */ bl SetLightState__9CGraphicsFUc +/* 80317F3C 00314E9C 48 00 00 0C */ b lbl_80317F48 +lbl_80317F40: +/* 80317F40 00314EA0 48 03 20 6D */ bl White__6CColorFv +/* 80317F44 00314EA4 4B FF 40 D9 */ bl SetAmbientColor__9CGraphicsFRC6CColor +lbl_80317F48: +/* 80317F48 00314EA8 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 80317F4C 00314EAC 38 9E 02 7C */ addi r4, r30, 0x27c +/* 80317F50 00314EB0 3B E0 00 00 */ li r31, 0 +/* 80317F54 00314EB4 4B FF A7 2D */ bl __ct__13CGlobalRandomFR9CRandom16 +/* 80317F58 00314EB8 C0 22 C9 E8 */ lfs f1, lbl_805AE708@sda21(r2) +/* 80317F5C 00314EBC C0 02 C9 F0 */ lfs f0, lbl_805AE710@sda21(r2) +/* 80317F60 00314EC0 D0 21 01 04 */ stfs f1, 0x104(r1) +/* 80317F64 00314EC4 D0 01 01 0C */ stfs f0, 0x10c(r1) +/* 80317F68 00314EC8 D0 21 01 08 */ stfs f1, 0x108(r1) +/* 80317F6C 00314ECC D0 01 01 10 */ stfs f0, 0x110(r1) +/* 80317F70 00314ED0 80 9E 00 28 */ lwz r4, 0x28(r30) +/* 80317F74 00314ED4 88 64 00 31 */ lbz r3, 0x31(r4) +/* 80317F78 00314ED8 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f +/* 80317F7C 00314EDC 41 82 02 A8 */ beq lbl_80318224 +/* 80317F80 00314EE0 88 0D A8 B8 */ lbz r0, lbl_805A9478@sda21(r13) +/* 80317F84 00314EE4 3A 80 00 00 */ li r20, 0 +/* 80317F88 00314EE8 28 00 00 00 */ cmplwi r0, 0 +/* 80317F8C 00314EEC 41 82 00 1C */ beq lbl_80317FA8 +/* 80317F90 00314EF0 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f +/* 80317F94 00314EF4 41 82 00 14 */ beq lbl_80317FA8 +/* 80317F98 00314EF8 80 04 00 40 */ lwz r0, 0x40(r4) +/* 80317F9C 00314EFC 28 00 00 00 */ cmplwi r0, 0 +/* 80317FA0 00314F00 41 82 00 08 */ beq lbl_80317FA8 +/* 80317FA4 00314F04 3A 80 00 01 */ li r20, 1 +lbl_80317FA8: +/* 80317FA8 00314F08 88 04 00 31 */ lbz r0, 0x31(r4) +/* 80317FAC 00314F0C 7E 9F A3 78 */ mr r31, r20 +/* 80317FB0 00314F10 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80317FB4 00314F14 41 82 00 64 */ beq lbl_80318018 +/* 80317FB8 00314F18 38 60 00 01 */ li r3, 1 +/* 80317FBC 00314F1C 38 80 00 03 */ li r4, 3 +/* 80317FC0 00314F20 38 A0 00 00 */ li r5, 0 +/* 80317FC4 00314F24 4B FF 3A D1 */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb +/* 80317FC8 00314F28 56 80 06 3F */ clrlwi. r0, r20, 0x18 +/* 80317FCC 00314F2C 41 82 00 1C */ beq lbl_80317FE8 +/* 80317FD0 00314F30 38 60 00 01 */ li r3, 1 +/* 80317FD4 00314F34 38 80 00 01 */ li r4, 1 +/* 80317FD8 00314F38 38 A0 00 01 */ li r5, 1 +/* 80317FDC 00314F3C 38 C0 00 00 */ li r6, 0 +/* 80317FE0 00314F40 4B FF 3A 71 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +/* 80317FE4 00314F44 48 00 00 70 */ b lbl_80318054 +lbl_80317FE8: +/* 80317FE8 00314F48 38 60 00 01 */ li r3, 1 +/* 80317FEC 00314F4C 38 80 00 04 */ li r4, 4 +/* 80317FF0 00314F50 38 A0 00 01 */ li r5, 1 +/* 80317FF4 00314F54 38 C0 00 00 */ li r6, 0 +/* 80317FF8 00314F58 4B FF 3A 59 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +/* 80317FFC 00314F5C 38 60 00 04 */ li r3, 4 +/* 80318000 00314F60 38 80 00 00 */ li r4, 0 +/* 80318004 00314F64 38 A0 00 00 */ li r5, 0 +/* 80318008 00314F68 38 C0 00 07 */ li r6, 7 +/* 8031800C 00314F6C 38 E0 00 00 */ li r7, 0 +/* 80318010 00314F70 4B FF 3A 19 */ bl SetAlphaCompare__9CGraphicsF13ERglAlphaFuncUc11ERglAlphaOp13ERglAlphaFuncUc +/* 80318014 00314F74 48 00 00 40 */ b lbl_80318054 +lbl_80318018: +/* 80318018 00314F78 38 60 00 01 */ li r3, 1 +/* 8031801C 00314F7C 38 80 00 03 */ li r4, 3 +/* 80318020 00314F80 38 A0 00 01 */ li r5, 1 +/* 80318024 00314F84 4B FF 3A 71 */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb +/* 80318028 00314F88 38 60 00 01 */ li r3, 1 +/* 8031802C 00314F8C 38 80 00 04 */ li r4, 4 +/* 80318030 00314F90 38 A0 00 05 */ li r5, 5 +/* 80318034 00314F94 38 C0 00 00 */ li r6, 0 +/* 80318038 00314F98 4B FF 3A 19 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +/* 8031803C 00314F9C 38 60 00 04 */ li r3, 4 +/* 80318040 00314FA0 38 80 00 00 */ li r4, 0 +/* 80318044 00314FA4 38 A0 00 00 */ li r5, 0 +/* 80318048 00314FA8 38 C0 00 07 */ li r6, 7 +/* 8031804C 00314FAC 38 E0 00 00 */ li r7, 0 +/* 80318050 00314FB0 4B FF 39 D9 */ bl SetAlphaCompare__9CGraphicsF13ERglAlphaFuncUc11ERglAlphaOp13ERglAlphaFuncUc +lbl_80318054: +/* 80318054 00314FB4 38 60 00 00 */ li r3, 0 +/* 80318058 00314FB8 4B FF 3A 19 */ bl SetCullMode__9CGraphicsF12ERglCullMode +/* 8031805C 00314FBC 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 80318060 00314FC0 80 83 00 40 */ lwz r4, 0x40(r3) +/* 80318064 00314FC4 28 04 00 00 */ cmplwi r4, 0 +/* 80318068 00314FC8 41 82 01 A4 */ beq lbl_8031820C +/* 8031806C 00314FCC 80 BE 00 3C */ lwz r5, 0x3c(r30) +/* 80318070 00314FD0 38 61 00 BC */ addi r3, r1, 0xbc +/* 80318074 00314FD4 81 84 00 00 */ lwz r12, 0(r4) +/* 80318078 00314FD8 80 A5 00 28 */ lwz r5, 0x28(r5) +/* 8031807C 00314FDC 80 1E 00 74 */ lwz r0, 0x74(r30) +/* 80318080 00314FE0 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 80318084 00314FE4 7C A5 00 50 */ subf r5, r5, r0 +/* 80318088 00314FE8 7D 89 03 A6 */ mtctr r12 +/* 8031808C 00314FEC 4E 80 04 21 */ bctrl +/* 80318090 00314FF0 38 61 00 60 */ addi r3, r1, 0x60 +/* 80318094 00314FF4 38 81 00 BC */ addi r4, r1, 0xbc +/* 80318098 00314FF8 48 02 8E 11 */ bl __ct__6CTokenFRC6CToken +/* 8031809C 00314FFC 38 61 00 BC */ addi r3, r1, 0xbc +/* 803180A0 00315000 38 80 00 00 */ li r4, 0 +/* 803180A4 00315004 48 02 8D 9D */ bl __dt__6CTokenFv +/* 803180A8 00315008 38 61 00 60 */ addi r3, r1, 0x60 +/* 803180AC 0031500C 48 02 8D 61 */ bl GetObj__6CTokenFv +/* 803180B0 00315010 80 63 00 04 */ lwz r3, 4(r3) +/* 803180B4 00315014 38 80 00 00 */ li r4, 0 +/* 803180B8 00315018 38 A0 00 01 */ li r5, 1 +/* 803180BC 0031501C 4B FF 76 81 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode +/* 803180C0 00315020 3C 80 80 5A */ lis r4, lbl_805A5EBC@ha +/* 803180C4 00315024 38 60 00 00 */ li r3, 0 +/* 803180C8 00315028 38 84 5E BC */ addi r4, r4, lbl_805A5EBC@l +/* 803180CC 0031502C 4B FF 21 ED */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +/* 803180D0 00315030 56 80 06 3F */ clrlwi. r0, r20, 0x18 +/* 803180D4 00315034 41 82 00 D8 */ beq lbl_803181AC +/* 803180D8 00315038 38 60 00 01 */ li r3, 1 +/* 803180DC 0031503C 38 80 00 0F */ li r4, 0xf +/* 803180E0 00315040 38 A0 00 00 */ li r5, 0 +/* 803180E4 00315044 38 C0 00 01 */ li r6, 1 +/* 803180E8 00315048 38 E0 00 0F */ li r7, 0xf +/* 803180EC 0031504C 4B FF 0B 01 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg +/* 803180F0 00315050 38 60 00 01 */ li r3, 1 +/* 803180F4 00315054 38 80 00 07 */ li r4, 7 +/* 803180F8 00315058 38 A0 00 04 */ li r5, 4 +/* 803180FC 0031505C 38 C0 00 00 */ li r6, 0 +/* 80318100 00315060 38 E0 00 07 */ li r7, 7 +/* 80318104 00315064 4B FF 0A 91 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg +/* 80318108 00315068 38 60 00 01 */ li r3, 1 +/* 8031810C 0031506C 4B FE FB 45 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID +/* 80318110 00315070 38 60 00 01 */ li r3, 1 +/* 80318114 00315074 38 80 00 00 */ li r4, 0 +/* 80318118 00315078 38 A0 00 00 */ li r5, 0 +/* 8031811C 0031507C 38 C0 00 FF */ li r6, 0xff +/* 80318120 00315080 4B FF 08 2D */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 80318124 00315084 38 60 00 01 */ li r3, 1 +/* 80318128 00315088 38 80 00 00 */ li r4, 0 +/* 8031812C 0031508C 38 A0 00 01 */ li r5, 1 +/* 80318130 00315090 48 06 37 01 */ bl GXSetTevSwapMode +/* 80318134 00315094 38 60 00 02 */ li r3, 2 +/* 80318138 00315098 4B FF 0B 59 */ bl SetNumTevStages__3CGXFUc +/* 8031813C 0031509C 3C 60 80 3D */ lis r3, lbl_803D78F0@ha +/* 80318140 003150A0 38 63 78 F0 */ addi r3, r3, lbl_803D78F0@l +/* 80318144 003150A4 4B FE FC E5 */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList +/* 80318148 003150A8 38 60 00 00 */ li r3, 0 +/* 8031814C 003150AC 38 80 00 00 */ li r4, 0 +/* 80318150 003150B0 38 A0 00 00 */ li r5, 0 +/* 80318154 003150B4 38 C0 00 01 */ li r6, 1 +/* 80318158 003150B8 38 E0 00 00 */ li r7, 0 +/* 8031815C 003150BC 39 00 00 00 */ li r8, 0 +/* 80318160 003150C0 39 20 00 02 */ li r9, 2 +/* 80318164 003150C4 4B FF 0B 69 */ bl SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn +/* 80318168 003150C8 38 60 00 01 */ li r3, 1 +/* 8031816C 003150CC 4B FF 0C E5 */ bl SetNumChans__3CGXFUc +/* 80318170 003150D0 38 60 00 00 */ li r3, 0 +/* 80318174 003150D4 38 80 00 01 */ li r4, 1 +/* 80318178 003150D8 38 A0 00 04 */ li r5, 4 +/* 8031817C 003150DC 38 C0 00 3C */ li r6, 0x3c +/* 80318180 003150E0 38 E0 00 00 */ li r7, 0 +/* 80318184 003150E4 39 00 00 7D */ li r8, 0x7d +/* 80318188 003150E8 4B FF 05 45 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 8031818C 003150EC 38 60 00 00 */ li r3, 0 +/* 80318190 003150F0 38 80 00 00 */ li r4, 0 +/* 80318194 003150F4 38 A0 00 00 */ li r5, 0 +/* 80318198 003150F8 38 C0 00 04 */ li r6, 4 +/* 8031819C 003150FC 4B FF 07 B1 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 803181A0 00315100 38 60 00 01 */ li r3, 1 +/* 803181A4 00315104 4B FF 0C 71 */ bl SetNumTexGens__3CGXFUc +/* 803181A8 00315108 48 00 00 10 */ b lbl_803181B8 +lbl_803181AC: +/* 803181AC 0031510C 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) +/* 803181B0 00315110 38 60 00 01 */ li r3, 1 +/* 803181B4 00315114 4B FF 21 05 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +lbl_803181B8: +/* 803181B8 00315118 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 803181BC 0031511C 38 A1 01 04 */ addi r5, r1, 0x104 +/* 803181C0 00315120 80 9E 00 3C */ lwz r4, 0x3c(r30) +/* 803181C4 00315124 80 63 00 40 */ lwz r3, 0x40(r3) +/* 803181C8 00315128 80 84 00 28 */ lwz r4, 0x28(r4) +/* 803181CC 0031512C 81 83 00 00 */ lwz r12, 0(r3) +/* 803181D0 00315130 80 1E 00 74 */ lwz r0, 0x74(r30) +/* 803181D4 00315134 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803181D8 00315138 7C 84 00 50 */ subf r4, r4, r0 +/* 803181DC 0031513C 7D 89 03 A6 */ mtctr r12 +/* 803181E0 00315140 4E 80 04 21 */ bctrl +/* 803181E4 00315144 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 803181E8 00315148 80 63 00 40 */ lwz r3, 0x40(r3) +/* 803181EC 0031514C 81 83 00 00 */ lwz r12, 0(r3) +/* 803181F0 00315150 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 803181F4 00315154 7D 89 03 A6 */ mtctr r12 +/* 803181F8 00315158 4E 80 04 21 */ bctrl +/* 803181FC 0031515C 38 61 00 60 */ addi r3, r1, 0x60 +/* 80318200 00315160 38 80 00 00 */ li r4, 0 +/* 80318204 00315164 48 02 8C 3D */ bl __dt__6CTokenFv +/* 80318208 00315168 48 00 00 1C */ b lbl_80318224 +lbl_8031820C: +/* 8031820C 0031516C 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) +/* 80318210 00315170 38 60 00 00 */ li r3, 0 +/* 80318214 00315174 4B FF 20 A5 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +/* 80318218 00315178 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) +/* 8031821C 0031517C 38 60 00 01 */ li r3, 1 +/* 80318220 00315180 4B FF 20 99 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +lbl_80318224: +/* 80318224 00315184 C0 02 C9 E8 */ lfs f0, lbl_805AE708@sda21(r2) +/* 80318228 00315188 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 8031822C 0031518C 38 83 66 70 */ addi r4, r3, skIdentity4f@l +/* 80318230 00315190 D0 01 00 EC */ stfs f0, 0xec(r1) +/* 80318234 00315194 38 61 04 A4 */ addi r3, r1, 0x4a4 +/* 80318238 00315198 D0 01 00 F0 */ stfs f0, 0xf0(r1) +/* 8031823C 0031519C D0 01 00 F4 */ stfs f0, 0xf4(r1) +/* 80318240 003151A0 4B FF A9 35 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80318244 003151A4 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 80318248 003151A8 88 03 00 31 */ lbz r0, 0x31(r3) +/* 8031824C 003151AC 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 80318250 003151B0 40 82 00 10 */ bne lbl_80318260 +/* 80318254 003151B4 38 61 04 A4 */ addi r3, r1, 0x4a4 +/* 80318258 003151B8 38 9E 01 D8 */ addi r4, r30, 0x1d8 +/* 8031825C 003151BC 4B FF A8 E5 */ bl __as__12CTransform4fFRC12CTransform4f +lbl_80318260: +/* 80318260 003151C0 38 61 03 E4 */ addi r3, r1, 0x3e4 +/* 80318264 003151C4 38 81 04 A4 */ addi r4, r1, 0x4a4 +/* 80318268 003151C8 38 BE 02 2C */ addi r5, r30, 0x22c +/* 8031826C 003151CC 4B FF A6 E5 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80318270 003151D0 38 61 04 A4 */ addi r3, r1, 0x4a4 +/* 80318274 003151D4 38 81 03 E4 */ addi r4, r1, 0x3e4 +/* 80318278 003151D8 4B FF A8 C9 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8031827C 003151DC 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 80318280 003151E0 3B A0 00 00 */ li r29, 0 +/* 80318284 003151E4 80 63 00 5C */ lwz r3, 0x5c(r3) +/* 80318288 003151E8 28 03 00 00 */ cmplwi r3, 0 +/* 8031828C 003151EC 41 82 00 20 */ beq lbl_803182AC +/* 80318290 003151F0 81 83 00 00 */ lwz r12, 0(r3) +/* 80318294 003151F4 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 80318298 003151F8 7D 89 03 A6 */ mtctr r12 +/* 8031829C 003151FC 4E 80 04 21 */ bctrl +/* 803182A0 00315200 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 803182A4 00315204 41 82 00 08 */ beq lbl_803182AC +/* 803182A8 00315208 3B A0 00 01 */ li r29, 1 +lbl_803182AC: +/* 803182AC 0031520C 38 61 03 B4 */ addi r3, r1, 0x3b4 +/* 803182B0 00315210 38 9E 01 3C */ addi r4, r30, 0x13c +/* 803182B4 00315214 38 BE 01 A8 */ addi r5, r30, 0x1a8 +/* 803182B8 00315218 4B FF A6 99 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 803182BC 0031521C 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 803182C0 00315220 38 81 03 B4 */ addi r4, r1, 0x3b4 +/* 803182C4 00315224 38 BE 00 E8 */ addi r5, r30, 0xe8 +/* 803182C8 00315228 4B FF A8 21 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 803182CC 0031522C 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 803182D0 00315230 C3 E1 00 B0 */ lfs f31, 0xb0(r1) +/* 803182D4 00315234 38 83 66 70 */ addi r4, r3, skIdentity4f@l +/* 803182D8 00315238 C3 C1 00 B4 */ lfs f30, 0xb4(r1) +/* 803182DC 0031523C C3 A1 00 B8 */ lfs f29, 0xb8(r1) +/* 803182E0 00315240 38 61 04 74 */ addi r3, r1, 0x474 +/* 803182E4 00315244 4B FF A8 91 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 803182E8 00315248 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 803182EC 0031524C 41 82 00 94 */ beq lbl_80318380 +/* 803182F0 00315250 C0 02 C9 E8 */ lfs f0, lbl_805AE708@sda21(r2) +/* 803182F4 00315254 38 A1 00 E0 */ addi r5, r1, 0xe0 +/* 803182F8 00315258 D0 01 00 E0 */ stfs f0, 0xe0(r1) +/* 803182FC 0031525C D0 01 00 E4 */ stfs f0, 0xe4(r1) +/* 80318300 00315260 D0 01 00 E8 */ stfs f0, 0xe8(r1) +/* 80318304 00315264 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 80318308 00315268 80 9E 00 74 */ lwz r4, 0x74(r30) +/* 8031830C 0031526C 80 63 00 5C */ lwz r3, 0x5c(r3) +/* 80318310 00315270 81 83 00 00 */ lwz r12, 0(r3) +/* 80318314 00315274 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80318318 00315278 7D 89 03 A6 */ mtctr r12 +/* 8031831C 0031527C 4E 80 04 21 */ bctrl +/* 80318320 00315280 C0 22 C9 F4 */ lfs f1, lbl_805AE714@sda21(r2) +/* 80318324 00315284 38 61 03 84 */ addi r3, r1, 0x384 +/* 80318328 00315288 C0 01 00 E8 */ lfs f0, 0xe8(r1) +/* 8031832C 0031528C 38 81 00 20 */ addi r4, r1, 0x20 +/* 80318330 00315290 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80318334 00315294 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 80318338 00315298 4B FF B4 D9 */ bl RotateZ__12CTransform4fFRC9CRelAngle +/* 8031833C 0031529C 38 61 04 74 */ addi r3, r1, 0x474 +/* 80318340 003152A0 38 81 03 84 */ addi r4, r1, 0x384 +/* 80318344 003152A4 4B FF A7 FD */ bl __as__12CTransform4fFRC12CTransform4f +/* 80318348 003152A8 C0 22 C9 F4 */ lfs f1, lbl_805AE714@sda21(r2) +/* 8031834C 003152AC 38 61 04 74 */ addi r3, r1, 0x474 +/* 80318350 003152B0 C0 01 00 E4 */ lfs f0, 0xe4(r1) +/* 80318354 003152B4 38 81 00 1C */ addi r4, r1, 0x1c +/* 80318358 003152B8 EC 01 00 32 */ fmuls f0, f1, f0 +/* 8031835C 003152BC D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 80318360 003152C0 4B FF B2 79 */ bl RotateLocalY__12CTransform4fFRC9CRelAngle +/* 80318364 003152C4 C0 22 C9 F4 */ lfs f1, lbl_805AE714@sda21(r2) +/* 80318368 003152C8 38 61 04 74 */ addi r3, r1, 0x474 +/* 8031836C 003152CC C0 01 00 E0 */ lfs f0, 0xe0(r1) +/* 80318370 003152D0 38 81 00 18 */ addi r4, r1, 0x18 +/* 80318374 003152D4 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80318378 003152D8 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 8031837C 003152DC 4B FF B3 79 */ bl RotateLocalX__12CTransform4fFRC9CRelAngle +lbl_80318380: +/* 80318380 003152E0 38 61 03 54 */ addi r3, r1, 0x354 +/* 80318384 003152E4 38 81 04 A4 */ addi r4, r1, 0x4a4 +/* 80318388 003152E8 38 A1 04 74 */ addi r5, r1, 0x474 +/* 8031838C 003152EC 4B FF A5 C5 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80318390 003152F0 38 61 04 74 */ addi r3, r1, 0x474 +/* 80318394 003152F4 38 81 03 54 */ addi r4, r1, 0x354 +/* 80318398 003152F8 4B FF A7 A9 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8031839C 003152FC 80 7E 00 74 */ lwz r3, 0x74(r30) +/* 803183A0 00315300 48 01 23 A9 */ bl SetEmitterTime__16CParticleGlobalsFi +/* 803183A4 00315304 80 1E 03 38 */ lwz r0, 0x338(r30) +/* 803183A8 00315308 3B 60 00 00 */ li r27, 0 +/* 803183AC 0031530C 7F 7A DB 78 */ mr r26, r27 +/* 803183B0 00315310 3B 01 00 54 */ addi r24, r1, 0x54 +/* 803183B4 00315314 90 01 00 24 */ stw r0, 0x24(r1) +/* 803183B8 00315318 7F 79 DB 78 */ mr r25, r27 +/* 803183BC 0031531C 3A E1 00 3C */ addi r23, r1, 0x3c +/* 803183C0 00315320 3A C1 00 2C */ addi r22, r1, 0x2c +/* 803183C4 00315324 3A A0 00 00 */ li r21, 0 +/* 803183C8 00315328 48 00 06 94 */ b lbl_80318A5C +lbl_803183CC: +/* 803183CC 0031532C 80 1E 00 3C */ lwz r0, 0x3c(r30) +/* 803183D0 00315330 7F 80 DA 14 */ add r28, r0, r27 +/* 803183D4 00315334 80 7C 00 00 */ lwz r3, 0(r28) +/* 803183D8 00315338 2C 03 FF FF */ cmpwi r3, -1 +/* 803183DC 0031533C 41 82 06 70 */ beq lbl_80318A4C +/* 803183E0 00315340 80 9C 00 28 */ lwz r4, 0x28(r28) +/* 803183E4 00315344 80 1E 00 74 */ lwz r0, 0x74(r30) +/* 803183E8 00315348 7C 64 18 50 */ subf r3, r4, r3 +/* 803183EC 0031534C 7C 84 00 50 */ subf r4, r4, r0 +/* 803183F0 00315350 3A 84 FF FF */ addi r20, r4, -1 +/* 803183F4 00315354 48 01 23 85 */ bl SetParticleLifetime__16CParticleGlobalsFi +/* 803183F8 00315358 7E 83 A3 78 */ mr r3, r20 +/* 803183FC 0031535C 48 01 22 81 */ bl UpdateParticleLifetimeTweenValues__16CParticleGlobalsFi +/* 80318400 00315360 93 8D A8 EC */ stw r28, lbl_805A94AC@sda21(r13) +/* 80318404 00315364 88 1E 02 6D */ lbz r0, 0x26d(r30) +/* 80318408 00315368 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 8031840C 0031536C 41 82 00 10 */ beq lbl_8031841C +/* 80318410 00315370 80 1E 00 6C */ lwz r0, 0x6c(r30) +/* 80318414 00315374 7C 00 D2 14 */ add r0, r0, r26 +/* 80318418 00315378 90 0D A8 F0 */ stw r0, lbl_805A94B0@sda21(r13) +lbl_8031841C: +/* 8031841C 0031537C 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 80318420 00315380 80 63 00 58 */ lwz r3, 0x58(r3) +/* 80318424 00315384 28 03 00 00 */ cmplwi r3, 0 +/* 80318428 00315388 41 82 00 1C */ beq lbl_80318444 +/* 8031842C 0031538C 81 83 00 00 */ lwz r12, 0(r3) +/* 80318430 00315390 7E 84 A3 78 */ mr r4, r20 +/* 80318434 00315394 38 A1 00 EC */ addi r5, r1, 0xec +/* 80318438 00315398 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031843C 0031539C 7D 89 03 A6 */ mtctr r12 +/* 80318440 003153A0 4E 80 04 21 */ bctrl +lbl_80318444: +/* 80318444 003153A4 C0 3C 00 08 */ lfs f1, 8(r28) +/* 80318448 003153A8 38 61 03 24 */ addi r3, r1, 0x324 +/* 8031844C 003153AC C0 9C 00 14 */ lfs f4, 0x14(r28) +/* 80318450 003153B0 38 81 00 A4 */ addi r4, r1, 0xa4 +/* 80318454 003153B4 C0 1C 00 0C */ lfs f0, 0xc(r28) +/* 80318458 003153B8 C0 7C 00 18 */ lfs f3, 0x18(r28) +/* 8031845C 003153BC EC 21 20 28 */ fsubs f1, f1, f4 +/* 80318460 003153C0 C1 1E 00 80 */ lfs f8, 0x80(r30) +/* 80318464 003153C4 EC A0 18 28 */ fsubs f5, f0, f3 +/* 80318468 003153C8 C0 1C 00 04 */ lfs f0, 4(r28) +/* 8031846C 003153CC EC E8 00 72 */ fmuls f7, f8, f1 +/* 80318470 003153D0 C0 5C 00 10 */ lfs f2, 0x10(r28) +/* 80318474 003153D4 D0 21 00 84 */ stfs f1, 0x84(r1) +/* 80318478 003153D8 EC 20 10 28 */ fsubs f1, f0, f2 +/* 8031847C 003153DC EC C8 01 72 */ fmuls f6, f8, f5 +/* 80318480 003153E0 D0 A1 00 88 */ stfs f5, 0x88(r1) +/* 80318484 003153E4 EC 87 20 2A */ fadds f4, f7, f4 +/* 80318488 003153E8 EC 08 00 72 */ fmuls f0, f8, f1 +/* 8031848C 003153EC D0 21 00 80 */ stfs f1, 0x80(r1) +/* 80318490 003153F0 EC 66 18 2A */ fadds f3, f6, f3 +/* 80318494 003153F4 EC BE 20 2A */ fadds f5, f30, f4 +/* 80318498 003153F8 D0 E1 00 90 */ stfs f7, 0x90(r1) +/* 8031849C 003153FC EC 20 10 2A */ fadds f1, f0, f2 +/* 803184A0 00315400 EC 5D 18 2A */ fadds f2, f29, f3 +/* 803184A4 00315404 D0 01 00 8C */ stfs f0, 0x8c(r1) +/* 803184A8 00315408 EC 1F 08 2A */ fadds f0, f31, f1 +/* 803184AC 0031540C D0 C1 00 94 */ stfs f6, 0x94(r1) +/* 803184B0 00315410 D0 21 00 98 */ stfs f1, 0x98(r1) +/* 803184B4 00315414 D0 81 00 9C */ stfs f4, 0x9c(r1) +/* 803184B8 00315418 D0 61 00 A0 */ stfs f3, 0xa0(r1) +/* 803184BC 0031541C D0 01 00 A4 */ stfs f0, 0xa4(r1) +/* 803184C0 00315420 D0 A1 00 A8 */ stfs f5, 0xa8(r1) +/* 803184C4 00315424 D0 41 00 AC */ stfs f2, 0xac(r1) +/* 803184C8 00315428 4B FF AC 79 */ bl Translate__12CTransform4fFRC9CVector3f +/* 803184CC 0031542C 38 61 04 44 */ addi r3, r1, 0x444 +/* 803184D0 00315430 38 81 03 24 */ addi r4, r1, 0x324 +/* 803184D4 00315434 4B FF A6 A1 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 803184D8 00315438 80 1E 00 2C */ lwz r0, 0x2c(r30) +/* 803184DC 0031543C 2C 00 00 01 */ cmpwi r0, 1 +/* 803184E0 00315440 40 82 00 8C */ bne lbl_8031856C +/* 803184E4 00315444 80 1E 00 5C */ lwz r0, 0x5c(r30) +/* 803184E8 00315448 3C 60 80 5A */ lis r3, skZero3f@ha +/* 803184EC 0031544C 38 A3 66 A0 */ addi r5, r3, skZero3f@l +/* 803184F0 00315450 38 61 04 14 */ addi r3, r1, 0x414 +/* 803184F4 00315454 7C 80 CA 14 */ add r4, r0, r25 +/* 803184F8 00315458 4B FF AD 81 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f +/* 803184FC 0031545C 38 61 02 F4 */ addi r3, r1, 0x2f4 +/* 80318500 00315460 38 81 04 A4 */ addi r4, r1, 0x4a4 +/* 80318504 00315464 38 A1 04 14 */ addi r5, r1, 0x414 +/* 80318508 00315468 4B FF A4 49 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8031850C 0031546C 38 61 00 74 */ addi r3, r1, 0x74 +/* 80318510 00315470 38 81 02 F4 */ addi r4, r1, 0x2f4 +/* 80318514 00315474 38 A1 00 EC */ addi r5, r1, 0xec +/* 80318518 00315478 4B FF A5 D1 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8031851C 0031547C C0 21 04 50 */ lfs f1, 0x450(r1) +/* 80318520 00315480 38 61 01 D4 */ addi r3, r1, 0x1d4 +/* 80318524 00315484 C0 01 00 74 */ lfs f0, 0x74(r1) +/* 80318528 00315488 38 81 04 44 */ addi r4, r1, 0x444 +/* 8031852C 0031548C C0 61 04 60 */ lfs f3, 0x460(r1) +/* 80318530 00315490 38 A1 04 14 */ addi r5, r1, 0x414 +/* 80318534 00315494 C0 41 00 78 */ lfs f2, 0x78(r1) +/* 80318538 00315498 EC 81 00 2A */ fadds f4, f1, f0 +/* 8031853C 0031549C C0 21 04 70 */ lfs f1, 0x470(r1) +/* 80318540 003154A0 C0 01 00 7C */ lfs f0, 0x7c(r1) +/* 80318544 003154A4 EC 43 10 2A */ fadds f2, f3, f2 +/* 80318548 003154A8 D0 81 04 50 */ stfs f4, 0x450(r1) +/* 8031854C 003154AC EC 01 00 2A */ fadds f0, f1, f0 +/* 80318550 003154B0 D0 41 04 60 */ stfs f2, 0x460(r1) +/* 80318554 003154B4 D0 01 04 70 */ stfs f0, 0x470(r1) +/* 80318558 003154B8 4B FF A3 F9 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8031855C 003154BC 38 61 04 44 */ addi r3, r1, 0x444 +/* 80318560 003154C0 38 81 01 D4 */ addi r4, r1, 0x1d4 +/* 80318564 003154C4 4B FF A5 DD */ bl __as__12CTransform4fFRC12CTransform4f +/* 80318568 003154C8 48 00 00 44 */ b lbl_803185AC +lbl_8031856C: +/* 8031856C 003154CC 38 61 00 68 */ addi r3, r1, 0x68 +/* 80318570 003154D0 38 81 04 A4 */ addi r4, r1, 0x4a4 +/* 80318574 003154D4 38 A1 00 EC */ addi r5, r1, 0xec +/* 80318578 003154D8 4B FF A5 71 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8031857C 003154DC C0 21 04 50 */ lfs f1, 0x450(r1) +/* 80318580 003154E0 C0 01 00 68 */ lfs f0, 0x68(r1) +/* 80318584 003154E4 C0 61 04 60 */ lfs f3, 0x460(r1) +/* 80318588 003154E8 C0 41 00 6C */ lfs f2, 0x6c(r1) +/* 8031858C 003154EC EC 81 00 2A */ fadds f4, f1, f0 +/* 80318590 003154F0 C0 21 04 70 */ lfs f1, 0x470(r1) +/* 80318594 003154F4 C0 01 00 70 */ lfs f0, 0x70(r1) +/* 80318598 003154F8 EC 43 10 2A */ fadds f2, f3, f2 +/* 8031859C 003154FC D0 81 04 50 */ stfs f4, 0x450(r1) +/* 803185A0 00315500 EC 01 00 2A */ fadds f0, f1, f0 +/* 803185A4 00315504 D0 41 04 60 */ stfs f2, 0x460(r1) +/* 803185A8 00315508 D0 01 04 70 */ stfs f0, 0x470(r1) +lbl_803185AC: +/* 803185AC 0031550C 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 803185B0 00315510 41 82 00 24 */ beq lbl_803185D4 +/* 803185B4 00315514 38 61 01 A4 */ addi r3, r1, 0x1a4 +/* 803185B8 00315518 38 81 04 44 */ addi r4, r1, 0x444 +/* 803185BC 0031551C 38 A1 04 74 */ addi r5, r1, 0x474 +/* 803185C0 00315520 4B FF A3 91 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 803185C4 00315524 38 61 04 44 */ addi r3, r1, 0x444 +/* 803185C8 00315528 38 81 01 A4 */ addi r4, r1, 0x1a4 +/* 803185CC 0031552C 4B FF A5 75 */ bl __as__12CTransform4fFRC12CTransform4f +/* 803185D0 00315530 48 00 00 E8 */ b lbl_803186B8 +lbl_803185D4: +/* 803185D4 00315534 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 803185D8 00315538 80 63 00 5C */ lwz r3, 0x5c(r3) +/* 803185DC 0031553C 28 03 00 00 */ cmplwi r3, 0 +/* 803185E0 00315540 41 82 00 BC */ beq lbl_8031869C +/* 803185E4 00315544 C0 02 C9 E8 */ lfs f0, lbl_805AE708@sda21(r2) +/* 803185E8 00315548 7E 84 A3 78 */ mr r4, r20 +/* 803185EC 0031554C 38 A1 00 D4 */ addi r5, r1, 0xd4 +/* 803185F0 00315550 D0 01 00 D4 */ stfs f0, 0xd4(r1) +/* 803185F4 00315554 D0 01 00 D8 */ stfs f0, 0xd8(r1) +/* 803185F8 00315558 D0 01 00 DC */ stfs f0, 0xdc(r1) +/* 803185FC 0031555C 81 83 00 00 */ lwz r12, 0(r3) +/* 80318600 00315560 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80318604 00315564 7D 89 03 A6 */ mtctr r12 +/* 80318608 00315568 4E 80 04 21 */ bctrl +/* 8031860C 0031556C C0 22 C9 F4 */ lfs f1, lbl_805AE714@sda21(r2) +/* 80318610 00315570 38 61 02 C4 */ addi r3, r1, 0x2c4 +/* 80318614 00315574 C0 01 00 DC */ lfs f0, 0xdc(r1) +/* 80318618 00315578 38 81 00 14 */ addi r4, r1, 0x14 +/* 8031861C 0031557C EC 01 00 32 */ fmuls f0, f1, f0 +/* 80318620 00315580 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80318624 00315584 4B FF B1 ED */ bl RotateZ__12CTransform4fFRC9CRelAngle +/* 80318628 00315588 38 61 04 74 */ addi r3, r1, 0x474 +/* 8031862C 0031558C 38 81 02 C4 */ addi r4, r1, 0x2c4 +/* 80318630 00315590 4B FF A5 11 */ bl __as__12CTransform4fFRC12CTransform4f +/* 80318634 00315594 C0 22 C9 F4 */ lfs f1, lbl_805AE714@sda21(r2) +/* 80318638 00315598 38 61 04 74 */ addi r3, r1, 0x474 +/* 8031863C 0031559C C0 01 00 D8 */ lfs f0, 0xd8(r1) +/* 80318640 003155A0 38 81 00 10 */ addi r4, r1, 0x10 +/* 80318644 003155A4 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80318648 003155A8 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 8031864C 003155AC 4B FF AF 8D */ bl RotateLocalY__12CTransform4fFRC9CRelAngle +/* 80318650 003155B0 C0 22 C9 F4 */ lfs f1, lbl_805AE714@sda21(r2) +/* 80318654 003155B4 38 61 04 74 */ addi r3, r1, 0x474 +/* 80318658 003155B8 C0 01 00 D4 */ lfs f0, 0xd4(r1) +/* 8031865C 003155BC 38 81 00 0C */ addi r4, r1, 0xc +/* 80318660 003155C0 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80318664 003155C4 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 80318668 003155C8 4B FF B0 8D */ bl RotateLocalX__12CTransform4fFRC9CRelAngle +/* 8031866C 003155CC 38 61 02 94 */ addi r3, r1, 0x294 +/* 80318670 003155D0 38 81 04 A4 */ addi r4, r1, 0x4a4 +/* 80318674 003155D4 38 A1 04 74 */ addi r5, r1, 0x474 +/* 80318678 003155D8 4B FF A2 D9 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8031867C 003155DC 38 61 01 74 */ addi r3, r1, 0x174 +/* 80318680 003155E0 38 81 04 44 */ addi r4, r1, 0x444 +/* 80318684 003155E4 38 A1 02 94 */ addi r5, r1, 0x294 +/* 80318688 003155E8 4B FF A2 C9 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8031868C 003155EC 38 61 04 44 */ addi r3, r1, 0x444 +/* 80318690 003155F0 38 81 01 74 */ addi r4, r1, 0x174 +/* 80318694 003155F4 4B FF A4 AD */ bl __as__12CTransform4fFRC12CTransform4f +/* 80318698 003155F8 48 00 00 20 */ b lbl_803186B8 +lbl_8031869C: +/* 8031869C 003155FC 38 61 01 44 */ addi r3, r1, 0x144 +/* 803186A0 00315600 38 81 04 44 */ addi r4, r1, 0x444 +/* 803186A4 00315604 38 A1 04 74 */ addi r5, r1, 0x474 +/* 803186A8 00315608 4B FF A2 A9 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 803186AC 0031560C 38 61 04 44 */ addi r3, r1, 0x444 +/* 803186B0 00315610 38 81 01 44 */ addi r4, r1, 0x144 +/* 803186B4 00315614 4B FF A4 8D */ bl __as__12CTransform4fFRC12CTransform4f +lbl_803186B8: +/* 803186B8 00315618 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 803186BC 0031561C 80 63 00 60 */ lwz r3, 0x60(r3) +/* 803186C0 00315620 28 03 00 00 */ cmplwi r3, 0 +/* 803186C4 00315624 41 82 00 5C */ beq lbl_80318720 +/* 803186C8 00315628 C0 02 C9 E8 */ lfs f0, lbl_805AE708@sda21(r2) +/* 803186CC 0031562C 7E 84 A3 78 */ mr r4, r20 +/* 803186D0 00315630 38 A1 00 C8 */ addi r5, r1, 0xc8 +/* 803186D4 00315634 D0 01 00 C8 */ stfs f0, 0xc8(r1) +/* 803186D8 00315638 D0 01 00 CC */ stfs f0, 0xcc(r1) +/* 803186DC 0031563C D0 01 00 D0 */ stfs f0, 0xd0(r1) +/* 803186E0 00315640 81 83 00 00 */ lwz r12, 0(r3) +/* 803186E4 00315644 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803186E8 00315648 7D 89 03 A6 */ mtctr r12 +/* 803186EC 0031564C 4E 80 04 21 */ bctrl +/* 803186F0 00315650 C0 21 00 C8 */ lfs f1, 0xc8(r1) +/* 803186F4 00315654 38 61 02 64 */ addi r3, r1, 0x264 +/* 803186F8 00315658 C0 41 00 CC */ lfs f2, 0xcc(r1) +/* 803186FC 0031565C C0 61 00 D0 */ lfs f3, 0xd0(r1) +/* 80318700 00315660 4B FF AB 09 */ bl Scale__12CTransform4fFfff +/* 80318704 00315664 38 61 01 14 */ addi r3, r1, 0x114 +/* 80318708 00315668 38 81 04 44 */ addi r4, r1, 0x444 +/* 8031870C 0031566C 38 A1 02 64 */ addi r5, r1, 0x264 +/* 80318710 00315670 4B FF A2 41 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80318714 00315674 38 61 04 44 */ addi r3, r1, 0x444 +/* 80318718 00315678 38 81 01 14 */ addi r4, r1, 0x114 +/* 8031871C 0031567C 4B FF A4 25 */ bl __as__12CTransform4fFRC12CTransform4f +lbl_80318720: +/* 80318720 00315680 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 80318724 00315684 80 63 00 64 */ lwz r3, 0x64(r3) +/* 80318728 00315688 28 03 00 00 */ cmplwi r3, 0 +/* 8031872C 0031568C 41 82 00 34 */ beq lbl_80318760 +/* 80318730 00315690 81 83 00 00 */ lwz r12, 0(r3) +/* 80318734 00315694 7E 84 A3 78 */ mr r4, r20 +/* 80318738 00315698 38 A1 00 24 */ addi r5, r1, 0x24 +/* 8031873C 0031569C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80318740 003156A0 7D 89 03 A6 */ mtctr r12 +/* 80318744 003156A4 4E 80 04 21 */ bctrl +/* 80318748 003156A8 38 61 00 08 */ addi r3, r1, 8 +/* 8031874C 003156AC 38 81 00 24 */ addi r4, r1, 0x24 +/* 80318750 003156B0 38 BE 03 38 */ addi r5, r30, 0x338 +/* 80318754 003156B4 48 04 AA 25 */ bl Modulate__6CColorFRC6CColorRC6CColor +/* 80318758 003156B8 80 01 00 08 */ lwz r0, 8(r1) +/* 8031875C 003156BC 90 01 00 24 */ stw r0, 0x24(r1) +lbl_80318760: +/* 80318760 003156C0 38 61 02 04 */ addi r3, r1, 0x204 +/* 80318764 003156C4 38 9E 01 0C */ addi r4, r30, 0x10c +/* 80318768 003156C8 38 A1 04 44 */ addi r5, r1, 0x444 +/* 8031876C 003156CC 4B FF A1 E5 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80318770 003156D0 38 61 02 34 */ addi r3, r1, 0x234 +/* 80318774 003156D4 38 81 02 04 */ addi r4, r1, 0x204 +/* 80318778 003156D8 38 BE 01 78 */ addi r5, r30, 0x178 +/* 8031877C 003156DC 4B FF A1 D5 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80318780 003156E0 38 61 02 34 */ addi r3, r1, 0x234 +/* 80318784 003156E4 4B FF 3E 5D */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 80318788 003156E8 80 9E 00 28 */ lwz r4, 0x28(r30) +/* 8031878C 003156EC 88 64 00 31 */ lbz r3, 0x31(r4) +/* 80318790 003156F0 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f +/* 80318794 003156F4 41 82 01 3C */ beq lbl_803188D0 +/* 80318798 003156F8 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 8031879C 003156FC 41 82 00 AC */ beq lbl_80318848 +/* 803187A0 00315700 38 60 00 80 */ li r3, 0x80 +/* 803187A4 00315704 38 80 00 00 */ li r4, 0 +/* 803187A8 00315708 38 A0 00 04 */ li r5, 4 +/* 803187AC 0031570C 4B FE FD D9 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 803187B0 00315710 C0 62 C9 F8 */ lfs f3, lbl_805AE718@sda21(r2) +/* 803187B4 00315714 3C 60 CC 01 */ lis r3, 0xCC008000@ha +/* 803187B8 00315718 C0 42 C9 E8 */ lfs f2, lbl_805AE708@sda21(r2) +/* 803187BC 0031571C D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) +/* 803187C0 00315720 C0 22 C9 FC */ lfs f1, lbl_805AE71C@sda21(r2) +/* 803187C4 00315724 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 803187C8 00315728 D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) +/* 803187CC 0031572C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803187D0 00315730 90 03 80 00 */ stw r0, 0xCC008000@l(r3) +/* 803187D4 00315734 C0 01 01 0C */ lfs f0, 0x10c(r1) +/* 803187D8 00315738 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 803187DC 0031573C C0 01 01 10 */ lfs f0, 0x110(r1) +/* 803187E0 00315740 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 803187E4 00315744 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 803187E8 00315748 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 803187EC 0031574C D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) +/* 803187F0 00315750 90 03 80 00 */ stw r0, 0xCC008000@l(r3) +/* 803187F4 00315754 C0 81 01 04 */ lfs f4, 0x104(r1) +/* 803187F8 00315758 D0 83 80 00 */ stfs f4, 0xCC008000@l(r3) +/* 803187FC 0031575C C0 01 01 10 */ lfs f0, 0x110(r1) +/* 80318800 00315760 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 80318804 00315764 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 80318808 00315768 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8031880C 0031576C D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 80318810 00315770 90 03 80 00 */ stw r0, 0xCC008000@l(r3) +/* 80318814 00315774 D0 83 80 00 */ stfs f4, 0xCC008000@l(r3) +/* 80318818 00315778 C0 01 01 08 */ lfs f0, 0x108(r1) +/* 8031881C 0031577C D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 80318820 00315780 D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) +/* 80318824 00315784 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 80318828 00315788 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8031882C 0031578C 90 03 80 00 */ stw r0, 0xCC008000@l(r3) +/* 80318830 00315790 C0 01 01 0C */ lfs f0, 0x10c(r1) +/* 80318834 00315794 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 80318838 00315798 C0 01 01 08 */ lfs f0, 0x108(r1) +/* 8031883C 0031579C D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 80318840 003157A0 4B FE FD 41 */ bl End__3CGXFv +/* 80318844 003157A4 48 00 02 08 */ b lbl_80318A4C +lbl_80318848: +/* 80318848 003157A8 38 60 00 80 */ li r3, 0x80 +/* 8031884C 003157AC 4B FF 2E 1D */ bl StreamBegin__9CGraphicsF13ERglPrimitive +/* 80318850 003157B0 80 61 00 24 */ lwz r3, 0x24(r1) +/* 80318854 003157B4 4B FF 2D 19 */ bl StreamColor__9CGraphicsFUi +/* 80318858 003157B8 C0 21 01 0C */ lfs f1, 0x10c(r1) +/* 8031885C 003157BC C0 41 01 10 */ lfs f2, 0x110(r1) +/* 80318860 003157C0 4B FF 2C 05 */ bl StreamTexcoord__9CGraphicsFff +/* 80318864 003157C4 C0 22 C9 F8 */ lfs f1, lbl_805AE718@sda21(r2) +/* 80318868 003157C8 C0 42 C9 E8 */ lfs f2, lbl_805AE708@sda21(r2) +/* 8031886C 003157CC FC 60 08 90 */ fmr f3, f1 +/* 80318870 003157D0 4B FF 2D C9 */ bl StreamVertex__9CGraphicsFfff +/* 80318874 003157D4 C0 21 01 04 */ lfs f1, 0x104(r1) +/* 80318878 003157D8 C0 41 01 10 */ lfs f2, 0x110(r1) +/* 8031887C 003157DC 4B FF 2B E9 */ bl StreamTexcoord__9CGraphicsFff +/* 80318880 003157E0 C0 22 C9 FC */ lfs f1, lbl_805AE71C@sda21(r2) +/* 80318884 003157E4 C0 42 C9 E8 */ lfs f2, lbl_805AE708@sda21(r2) +/* 80318888 003157E8 C0 62 C9 F8 */ lfs f3, lbl_805AE718@sda21(r2) +/* 8031888C 003157EC 4B FF 2D AD */ bl StreamVertex__9CGraphicsFfff +/* 80318890 003157F0 C0 21 01 04 */ lfs f1, 0x104(r1) +/* 80318894 003157F4 C0 41 01 08 */ lfs f2, 0x108(r1) +/* 80318898 003157F8 4B FF 2B CD */ bl StreamTexcoord__9CGraphicsFff +/* 8031889C 003157FC C0 22 C9 FC */ lfs f1, lbl_805AE71C@sda21(r2) +/* 803188A0 00315800 C0 42 C9 E8 */ lfs f2, lbl_805AE708@sda21(r2) +/* 803188A4 00315804 FC 60 08 90 */ fmr f3, f1 +/* 803188A8 00315808 4B FF 2D 91 */ bl StreamVertex__9CGraphicsFfff +/* 803188AC 0031580C C0 21 01 0C */ lfs f1, 0x10c(r1) +/* 803188B0 00315810 C0 41 01 08 */ lfs f2, 0x108(r1) +/* 803188B4 00315814 4B FF 2B B1 */ bl StreamTexcoord__9CGraphicsFff +/* 803188B8 00315818 C0 22 C9 F8 */ lfs f1, lbl_805AE718@sda21(r2) +/* 803188BC 0031581C C0 42 C9 E8 */ lfs f2, lbl_805AE708@sda21(r2) +/* 803188C0 00315820 C0 62 C9 FC */ lfs f3, lbl_805AE71C@sda21(r2) +/* 803188C4 00315824 4B FF 2D 75 */ bl StreamVertex__9CGraphicsFfff +/* 803188C8 00315828 4B FF 2B 49 */ bl StreamEnd__9CGraphicsFv +/* 803188CC 0031582C 48 00 01 80 */ b lbl_80318A4C +lbl_803188D0: +/* 803188D0 00315830 88 0D A8 B9 */ lbz r0, lbl_805A9479@sda21(r13) +/* 803188D4 00315834 83 84 00 50 */ lwz r28, 0x50(r4) +/* 803188D8 00315838 28 00 00 00 */ cmplwi r0, 0 +/* 803188DC 0031583C 41 82 00 6C */ beq lbl_80318948 +/* 803188E0 00315840 C0 22 C9 F0 */ lfs f1, lbl_805AE710@sda21(r2) +/* 803188E4 00315844 38 80 00 05 */ li r4, 5 +/* 803188E8 00315848 38 60 00 00 */ li r3, 0 +/* 803188EC 0031584C 38 00 00 03 */ li r0, 3 +/* 803188F0 00315850 FC 40 08 90 */ fmr f2, f1 +/* 803188F4 00315854 98 81 00 50 */ stb r4, 0x50(r1) +/* 803188F8 00315858 FC 60 08 90 */ fmr f3, f1 +/* 803188FC 0031585C C0 82 C9 F8 */ lfs f4, lbl_805AE718@sda21(r2) +/* 80318900 00315860 98 61 00 51 */ stb r3, 0x51(r1) +/* 80318904 00315864 7F 03 C3 78 */ mr r3, r24 +/* 80318908 00315868 B0 01 00 52 */ sth r0, 0x52(r1) +/* 8031890C 0031586C 48 04 AA E1 */ bl __ct__6CColorFffff +/* 80318910 00315870 A0 01 00 52 */ lhz r0, 0x52(r1) +/* 80318914 00315874 7F 83 E3 78 */ mr r3, r28 +/* 80318918 00315878 88 E1 00 50 */ lbz r7, 0x50(r1) +/* 8031891C 0031587C 38 81 00 58 */ addi r4, r1, 0x58 +/* 80318920 00315880 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d +/* 80318924 00315884 88 C1 00 51 */ lbz r6, 0x51(r1) +/* 80318928 00315888 60 05 00 01 */ ori r5, r0, 1 +/* 8031892C 0031588C 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80318930 00315890 98 E1 00 58 */ stb r7, 0x58(r1) +/* 80318934 00315894 98 C1 00 59 */ stb r6, 0x59(r1) +/* 80318938 00315898 B0 A1 00 5A */ sth r5, 0x5a(r1) +/* 8031893C 0031589C 90 01 00 5C */ stw r0, 0x5c(r1) +/* 80318940 003158A0 48 03 D2 95 */ bl Draw__6CModelCFRC11CModelFlags +/* 80318944 003158A4 48 00 01 08 */ b lbl_80318A4C +lbl_80318948: +/* 80318948 003158A8 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f +/* 8031894C 003158AC 41 82 00 4C */ beq lbl_80318998 +/* 80318950 003158B0 38 C0 00 03 */ li r6, 3 +/* 80318954 003158B4 80 A1 00 24 */ lwz r5, 0x24(r1) +/* 80318958 003158B8 54 C0 00 3A */ rlwinm r0, r6, 0, 0, 0x1d +/* 8031895C 003158BC 39 00 00 07 */ li r8, 7 +/* 80318960 003158C0 38 E0 00 00 */ li r7, 0 +/* 80318964 003158C4 99 01 00 40 */ stb r8, 0x40(r1) +/* 80318968 003158C8 60 00 00 01 */ ori r0, r0, 1 +/* 8031896C 003158CC 7F 83 E3 78 */ mr r3, r28 +/* 80318970 003158D0 98 E1 00 41 */ stb r7, 0x41(r1) +/* 80318974 003158D4 38 81 00 48 */ addi r4, r1, 0x48 +/* 80318978 003158D8 B0 C1 00 42 */ sth r6, 0x42(r1) +/* 8031897C 003158DC 90 A1 00 44 */ stw r5, 0x44(r1) +/* 80318980 003158E0 99 01 00 48 */ stb r8, 0x48(r1) +/* 80318984 003158E4 98 E1 00 49 */ stb r7, 0x49(r1) +/* 80318988 003158E8 B0 01 00 4A */ sth r0, 0x4a(r1) +/* 8031898C 003158EC 90 A1 00 4C */ stw r5, 0x4c(r1) +/* 80318990 003158F0 48 03 D2 45 */ bl Draw__6CModelCFRC11CModelFlags +/* 80318994 003158F4 48 00 00 B8 */ b lbl_80318A4C +lbl_80318998: +/* 80318998 003158F8 E0 01 A0 27 */ psq_l f0, 39(r1), 1, qr2 +/* 8031899C 003158FC C0 82 C9 EC */ lfs f4, lbl_805AE70C@sda21(r2) +/* 803189A0 00315900 C0 22 C9 F0 */ lfs f1, lbl_805AE710@sda21(r2) +/* 803189A4 00315904 EC 04 00 32 */ fmuls f0, f4, f0 +/* 803189A8 00315908 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 803189AC 0031590C 40 82 00 3C */ bne lbl_803189E8 +/* 803189B0 00315910 38 80 00 00 */ li r4, 0 +/* 803189B4 00315914 38 00 00 03 */ li r0, 3 +/* 803189B8 00315918 FC 40 08 90 */ fmr f2, f1 +/* 803189BC 0031591C 98 81 00 38 */ stb r4, 0x38(r1) +/* 803189C0 00315920 FC 60 08 90 */ fmr f3, f1 +/* 803189C4 00315924 7E E3 BB 78 */ mr r3, r23 +/* 803189C8 00315928 FC 80 08 90 */ fmr f4, f1 +/* 803189CC 0031592C 98 81 00 39 */ stb r4, 0x39(r1) +/* 803189D0 00315930 B0 01 00 3A */ sth r0, 0x3a(r1) +/* 803189D4 00315934 48 04 AA 19 */ bl __ct__6CColorFffff +/* 803189D8 00315938 7F 83 E3 78 */ mr r3, r28 +/* 803189DC 0031593C 38 81 00 38 */ addi r4, r1, 0x38 +/* 803189E0 00315940 48 03 D1 F5 */ bl Draw__6CModelCFRC11CModelFlags +/* 803189E4 00315944 48 00 00 68 */ b lbl_80318A4C +lbl_803189E8: +/* 803189E8 00315948 E0 01 A0 27 */ psq_l f0, 39(r1), 1, qr2 +/* 803189EC 0031594C 38 60 00 05 */ li r3, 5 +/* 803189F0 00315950 38 80 00 00 */ li r4, 0 +/* 803189F4 00315954 38 00 00 03 */ li r0, 3 +/* 803189F8 00315958 FC 40 08 90 */ fmr f2, f1 +/* 803189FC 0031595C 98 61 00 28 */ stb r3, 0x28(r1) +/* 80318A00 00315960 FC 60 08 90 */ fmr f3, f1 +/* 80318A04 00315964 7E C3 B3 78 */ mr r3, r22 +/* 80318A08 00315968 EC 84 00 32 */ fmuls f4, f4, f0 +/* 80318A0C 0031596C 98 81 00 29 */ stb r4, 0x29(r1) +/* 80318A10 00315970 B0 01 00 2A */ sth r0, 0x2a(r1) +/* 80318A14 00315974 48 04 A9 D9 */ bl __ct__6CColorFffff +/* 80318A18 00315978 A0 01 00 2A */ lhz r0, 0x2a(r1) +/* 80318A1C 0031597C 7F 83 E3 78 */ mr r3, r28 +/* 80318A20 00315980 88 E1 00 28 */ lbz r7, 0x28(r1) +/* 80318A24 00315984 38 81 00 30 */ addi r4, r1, 0x30 +/* 80318A28 00315988 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d +/* 80318A2C 0031598C 88 C1 00 29 */ lbz r6, 0x29(r1) +/* 80318A30 00315990 60 05 00 01 */ ori r5, r0, 1 +/* 80318A34 00315994 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 80318A38 00315998 98 E1 00 30 */ stb r7, 0x30(r1) +/* 80318A3C 0031599C 98 C1 00 31 */ stb r6, 0x31(r1) +/* 80318A40 003159A0 B0 A1 00 32 */ sth r5, 0x32(r1) +/* 80318A44 003159A4 90 01 00 34 */ stw r0, 0x34(r1) +/* 80318A48 003159A8 48 03 D1 8D */ bl Draw__6CModelCFRC11CModelFlags +lbl_80318A4C: +/* 80318A4C 003159AC 3B 7B 00 38 */ addi r27, r27, 0x38 +/* 80318A50 003159B0 3B 5A 00 20 */ addi r26, r26, 0x20 +/* 80318A54 003159B4 3B 39 00 24 */ addi r25, r25, 0x24 +/* 80318A58 003159B8 3A B5 00 01 */ addi r21, r21, 1 +lbl_80318A5C: +/* 80318A5C 003159BC 80 1E 00 34 */ lwz r0, 0x34(r30) +/* 80318A60 003159C0 7C 15 00 00 */ cmpw r21, r0 +/* 80318A64 003159C4 41 80 F9 68 */ blt lbl_803183CC +/* 80318A68 003159C8 88 1E 02 6D */ lbz r0, 0x26d(r30) +/* 80318A6C 003159CC 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80318A70 003159D0 41 82 00 08 */ beq lbl_80318A78 +/* 80318A74 003159D4 4B FF 3F 09 */ bl DisableAllLights__9CGraphicsFv +lbl_80318A78: +/* 80318A78 003159D8 38 60 00 01 */ li r3, 1 +/* 80318A7C 003159DC 4B FF 2F F5 */ bl SetCullMode__9CGraphicsF12ERglCullMode +/* 80318A80 003159E0 4B FF 04 29 */ bl ResetStates__13CTevCombinersFv +/* 80318A84 003159E4 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 80318A88 003159E8 41 82 00 14 */ beq lbl_80318A9C +/* 80318A8C 003159EC 38 60 00 01 */ li r3, 1 +/* 80318A90 003159F0 38 80 00 00 */ li r4, 0 +/* 80318A94 003159F4 38 A0 00 00 */ li r5, 0 +/* 80318A98 003159F8 48 06 2D 99 */ bl GXSetTevSwapMode +lbl_80318A9C: +/* 80318A9C 003159FC 38 60 00 07 */ li r3, 7 +/* 80318AA0 00315A00 38 80 00 00 */ li r4, 0 +/* 80318AA4 00315A04 38 A0 00 00 */ li r5, 0 +/* 80318AA8 00315A08 38 C0 00 07 */ li r6, 7 +/* 80318AAC 00315A0C 38 E0 00 00 */ li r7, 0 +/* 80318AB0 00315A10 4B FF 2F 79 */ bl SetAlphaCompare__9CGraphicsF13ERglAlphaFuncUc11ERglAlphaOp13ERglAlphaFuncUc +/* 80318AB4 00315A14 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 80318AB8 00315A18 38 80 FF FF */ li r4, -1 +/* 80318ABC 00315A1C 4B FF 9B 49 */ bl __dt__13CGlobalRandomFv +/* 80318AC0 00315A20 E3 E1 05 38 */ psq_l f31, 1336(r1), 0, qr0 +/* 80318AC4 00315A24 CB E1 05 30 */ lfd f31, 0x530(r1) +/* 80318AC8 00315A28 E3 C1 05 28 */ psq_l f30, 1320(r1), 0, qr0 +/* 80318ACC 00315A2C CB C1 05 20 */ lfd f30, 0x520(r1) +/* 80318AD0 00315A30 E3 A1 05 18 */ psq_l f29, 1304(r1), 0, qr0 +/* 80318AD4 00315A34 CB A1 05 10 */ lfd f29, 0x510(r1) +/* 80318AD8 00315A38 BA 81 04 E0 */ lmw r20, 0x4e0(r1) +/* 80318ADC 00315A3C 80 01 05 44 */ lwz r0, 0x544(r1) +/* 80318AE0 00315A40 7C 08 03 A6 */ mtlr r0 +/* 80318AE4 00315A44 38 21 05 40 */ addi r1, r1, 0x540 +/* 80318AE8 00315A48 4E 80 00 20 */ blr + +.global RenderLines__11CElementGenFv +RenderLines__11CElementGenFv: +/* 80318AEC 00315A4C 94 21 FD 00 */ stwu r1, -0x300(r1) +/* 80318AF0 00315A50 7C 08 02 A6 */ mflr r0 +/* 80318AF4 00315A54 90 01 03 04 */ stw r0, 0x304(r1) +/* 80318AF8 00315A58 DB E1 02 F0 */ stfd f31, 0x2f0(r1) +/* 80318AFC 00315A5C F3 E1 02 F8 */ psq_st f31, 760(r1), 0, qr0 +/* 80318B00 00315A60 DB C1 02 E0 */ stfd f30, 0x2e0(r1) +/* 80318B04 00315A64 F3 C1 02 E8 */ psq_st f30, 744(r1), 0, qr0 +/* 80318B08 00315A68 DB A1 02 D0 */ stfd f29, 0x2d0(r1) +/* 80318B0C 00315A6C F3 A1 02 D8 */ psq_st f29, 728(r1), 0, qr0 +/* 80318B10 00315A70 DB 81 02 C0 */ stfd f28, 0x2c0(r1) +/* 80318B14 00315A74 F3 81 02 C8 */ psq_st f28, 712(r1), 0, qr0 +/* 80318B18 00315A78 DB 61 02 B0 */ stfd f27, 0x2b0(r1) +/* 80318B1C 00315A7C F3 61 02 B8 */ psq_st f27, 696(r1), 0, qr0 +/* 80318B20 00315A80 DB 41 02 A0 */ stfd f26, 0x2a0(r1) +/* 80318B24 00315A84 F3 41 02 A8 */ psq_st f26, 680(r1), 0, qr0 +/* 80318B28 00315A88 DB 21 02 90 */ stfd f25, 0x290(r1) +/* 80318B2C 00315A8C F3 21 02 98 */ psq_st f25, 664(r1), 0, qr0 +/* 80318B30 00315A90 BF 21 02 74 */ stmw r25, 0x274(r1) +/* 80318B34 00315A94 7C 7C 1B 78 */ mr r28, r3 +/* 80318B38 00315A98 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 80318B3C 00315A9C 80 DC 03 38 */ lwz r6, 0x338(r28) +/* 80318B40 00315AA0 38 9C 02 7C */ addi r4, r28, 0x27c +/* 80318B44 00315AA4 20 A6 FF FF */ subfic r5, r6, -1 +/* 80318B48 00315AA8 38 06 00 01 */ addi r0, r6, 1 +/* 80318B4C 00315AAC 7C A0 03 78 */ or r0, r5, r0 +/* 80318B50 00315AB0 54 1E 0F FE */ srwi r30, r0, 0x1f +/* 80318B54 00315AB4 4B FF 9B 2D */ bl __ct__13CGlobalRandomFR9CRandom16 +/* 80318B58 00315AB8 3C 80 80 5A */ lis r4, lbl_805A61D4@ha +/* 80318B5C 00315ABC 38 61 02 34 */ addi r3, r1, 0x234 +/* 80318B60 00315AC0 38 84 61 D4 */ addi r4, r4, lbl_805A61D4@l +/* 80318B64 00315AC4 4B FF A0 11 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80318B68 00315AC8 3C 80 80 5A */ lis r4, skZero3f@ha +/* 80318B6C 00315ACC 38 61 01 A4 */ addi r3, r1, 0x1a4 +/* 80318B70 00315AD0 38 A4 66 A0 */ addi r5, r4, skZero3f@l +/* 80318B74 00315AD4 38 81 02 34 */ addi r4, r1, 0x234 +/* 80318B78 00315AD8 C0 45 00 00 */ lfs f2, 0(r5) +/* 80318B7C 00315ADC C0 25 00 04 */ lfs f1, 4(r5) +/* 80318B80 00315AE0 C0 05 00 08 */ lfs f0, 8(r5) +/* 80318B84 00315AE4 D0 41 02 40 */ stfs f2, 0x240(r1) +/* 80318B88 00315AE8 D0 21 02 50 */ stfs f1, 0x250(r1) +/* 80318B8C 00315AEC D0 01 02 60 */ stfs f0, 0x260(r1) +/* 80318B90 00315AF0 4B FF A1 0D */ bl GetQuickInverse__12CTransform4fCFv +/* 80318B94 00315AF4 38 61 01 D4 */ addi r3, r1, 0x1d4 +/* 80318B98 00315AF8 38 81 01 A4 */ addi r4, r1, 0x1a4 +/* 80318B9C 00315AFC 38 BC 02 2C */ addi r5, r28, 0x22c +/* 80318BA0 00315B00 4B FF 9D B1 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80318BA4 00315B04 38 61 02 04 */ addi r3, r1, 0x204 +/* 80318BA8 00315B08 38 81 01 D4 */ addi r4, r1, 0x1d4 +/* 80318BAC 00315B0C 4B FF 9F C9 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80318BB0 00315B10 38 61 00 E4 */ addi r3, r1, 0xe4 +/* 80318BB4 00315B14 38 9C 00 E8 */ addi r4, r28, 0xe8 +/* 80318BB8 00315B18 4B FF A5 89 */ bl Translate__12CTransform4fFRC9CVector3f +/* 80318BBC 00315B1C 38 61 01 14 */ addi r3, r1, 0x114 +/* 80318BC0 00315B20 38 81 00 E4 */ addi r4, r1, 0xe4 +/* 80318BC4 00315B24 38 BC 01 0C */ addi r5, r28, 0x10c +/* 80318BC8 00315B28 4B FF 9D 89 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80318BCC 00315B2C 38 61 01 44 */ addi r3, r1, 0x144 +/* 80318BD0 00315B30 38 81 01 14 */ addi r4, r1, 0x114 +/* 80318BD4 00315B34 38 A1 02 34 */ addi r5, r1, 0x234 +/* 80318BD8 00315B38 4B FF 9D 79 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80318BDC 00315B3C 38 61 01 74 */ addi r3, r1, 0x174 +/* 80318BE0 00315B40 38 81 01 44 */ addi r4, r1, 0x144 +/* 80318BE4 00315B44 38 BC 01 78 */ addi r5, r28, 0x178 +/* 80318BE8 00315B48 4B FF 9D 69 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80318BEC 00315B4C 38 61 02 34 */ addi r3, r1, 0x234 +/* 80318BF0 00315B50 38 81 01 74 */ addi r4, r1, 0x174 +/* 80318BF4 00315B54 4B FF 9F 4D */ bl __as__12CTransform4fFRC12CTransform4f +/* 80318BF8 00315B58 38 61 02 34 */ addi r3, r1, 0x234 +/* 80318BFC 00315B5C 4B FF 39 E5 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 80318C00 00315B60 38 60 00 07 */ li r3, 7 +/* 80318C04 00315B64 38 80 00 00 */ li r4, 0 +/* 80318C08 00315B68 38 A0 00 00 */ li r5, 0 +/* 80318C0C 00315B6C 38 C0 00 07 */ li r6, 7 +/* 80318C10 00315B70 38 E0 00 00 */ li r7, 0 +/* 80318C14 00315B74 4B FF 2E 15 */ bl SetAlphaCompare__9CGraphicsF13ERglAlphaFuncUc11ERglAlphaOp13ERglAlphaFuncUc +/* 80318C18 00315B78 88 1C 02 6C */ lbz r0, 0x26c(r28) +/* 80318C1C 00315B7C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80318C20 00315B80 41 82 00 2C */ beq lbl_80318C4C +/* 80318C24 00315B84 38 60 00 01 */ li r3, 1 +/* 80318C28 00315B88 38 80 00 03 */ li r4, 3 +/* 80318C2C 00315B8C 38 A0 00 00 */ li r5, 0 +/* 80318C30 00315B90 4B FF 2E 65 */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb +/* 80318C34 00315B94 38 60 00 01 */ li r3, 1 +/* 80318C38 00315B98 38 80 00 04 */ li r4, 4 +/* 80318C3C 00315B9C 38 A0 00 01 */ li r5, 1 +/* 80318C40 00315BA0 38 C0 00 00 */ li r6, 0 +/* 80318C44 00315BA4 4B FF 2E 0D */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +/* 80318C48 00315BA8 48 00 00 28 */ b lbl_80318C70 +lbl_80318C4C: +/* 80318C4C 00315BAC 38 60 00 01 */ li r3, 1 +/* 80318C50 00315BB0 38 80 00 03 */ li r4, 3 +/* 80318C54 00315BB4 38 A0 00 01 */ li r5, 1 +/* 80318C58 00315BB8 4B FF 2E 3D */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb +/* 80318C5C 00315BBC 38 60 00 01 */ li r3, 1 +/* 80318C60 00315BC0 38 80 00 04 */ li r4, 4 +/* 80318C64 00315BC4 38 A0 00 05 */ li r5, 5 +/* 80318C68 00315BC8 38 C0 00 00 */ li r6, 0 +/* 80318C6C 00315BCC 4B FF 2D E5 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +lbl_80318C70: +/* 80318C70 00315BD0 C0 22 C9 E8 */ lfs f1, lbl_805AE708@sda21(r2) +/* 80318C74 00315BD4 3B 20 00 01 */ li r25, 1 +/* 80318C78 00315BD8 C0 02 C9 F0 */ lfs f0, lbl_805AE710@sda21(r2) +/* 80318C7C 00315BDC 3B E0 00 00 */ li r31, 0 +/* 80318C80 00315BE0 D0 21 00 A0 */ stfs f1, 0xa0(r1) +/* 80318C84 00315BE4 D0 01 00 A8 */ stfs f0, 0xa8(r1) +/* 80318C88 00315BE8 D0 21 00 A4 */ stfs f1, 0xa4(r1) +/* 80318C8C 00315BEC D0 01 00 AC */ stfs f0, 0xac(r1) +/* 80318C90 00315BF0 80 7C 00 28 */ lwz r3, 0x28(r28) +/* 80318C94 00315BF4 80 63 00 18 */ lwz r3, 0x18(r3) +/* 80318C98 00315BF8 28 03 00 00 */ cmplwi r3, 0 +/* 80318C9C 00315BFC 41 82 00 20 */ beq lbl_80318CBC +/* 80318CA0 00315C00 81 83 00 00 */ lwz r12, 0(r3) +/* 80318CA4 00315C04 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 80318CA8 00315C08 7D 89 03 A6 */ mtctr r12 +/* 80318CAC 00315C0C 4E 80 04 21 */ bctrl +/* 80318CB0 00315C10 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80318CB4 00315C14 41 82 00 08 */ beq lbl_80318CBC +/* 80318CB8 00315C18 3B E0 00 01 */ li r31, 1 +lbl_80318CBC: +/* 80318CBC 00315C1C 80 7C 00 28 */ lwz r3, 0x28(r28) +/* 80318CC0 00315C20 80 83 00 40 */ lwz r4, 0x40(r3) +/* 80318CC4 00315C24 28 04 00 00 */ cmplwi r4, 0 +/* 80318CC8 00315C28 41 82 01 EC */ beq lbl_80318EB4 +/* 80318CCC 00315C2C 80 BC 00 3C */ lwz r5, 0x3c(r28) +/* 80318CD0 00315C30 38 61 00 88 */ addi r3, r1, 0x88 +/* 80318CD4 00315C34 81 84 00 00 */ lwz r12, 0(r4) +/* 80318CD8 00315C38 80 A5 00 28 */ lwz r5, 0x28(r5) +/* 80318CDC 00315C3C 80 1C 00 74 */ lwz r0, 0x74(r28) +/* 80318CE0 00315C40 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 80318CE4 00315C44 7C A5 00 50 */ subf r5, r5, r0 +/* 80318CE8 00315C48 7D 89 03 A6 */ mtctr r12 +/* 80318CEC 00315C4C 4E 80 04 21 */ bctrl +/* 80318CF0 00315C50 38 61 00 30 */ addi r3, r1, 0x30 +/* 80318CF4 00315C54 38 81 00 88 */ addi r4, r1, 0x88 +/* 80318CF8 00315C58 48 02 81 B1 */ bl __ct__6CTokenFRC6CToken +/* 80318CFC 00315C5C 38 61 00 88 */ addi r3, r1, 0x88 +/* 80318D00 00315C60 38 80 00 00 */ li r4, 0 +/* 80318D04 00315C64 48 02 81 3D */ bl __dt__6CTokenFv +/* 80318D08 00315C68 38 61 00 30 */ addi r3, r1, 0x30 +/* 80318D0C 00315C6C 48 02 81 01 */ bl GetObj__6CTokenFv +/* 80318D10 00315C70 80 63 00 04 */ lwz r3, 4(r3) +/* 80318D14 00315C74 38 80 00 00 */ li r4, 0 +/* 80318D18 00315C78 38 A0 00 01 */ li r5, 1 +/* 80318D1C 00315C7C 4B FF 6A 21 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode +/* 80318D20 00315C80 3C 80 80 5A */ lis r4, lbl_805A5EBC@ha +/* 80318D24 00315C84 38 60 00 00 */ li r3, 0 +/* 80318D28 00315C88 38 84 5E BC */ addi r4, r4, lbl_805A5EBC@l +/* 80318D2C 00315C8C 4B FF 15 8D */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +/* 80318D30 00315C90 28 1E 00 00 */ cmplwi r30, 0 +/* 80318D34 00315C94 41 82 01 18 */ beq lbl_80318E4C +/* 80318D38 00315C98 88 0D A8 C5 */ lbz r0, lbl_805A9485@sda21(r13) +/* 80318D3C 00315C9C 7C 00 07 75 */ extsb. r0, r0 +/* 80318D40 00315CA0 40 82 00 F8 */ bne lbl_80318E38 +/* 80318D44 00315CA4 38 00 00 00 */ li r0, 0 +/* 80318D48 00315CA8 38 A0 00 01 */ li r5, 1 +/* 80318D4C 00315CAC 98 A1 00 BC */ stb r5, 0xbc(r1) +/* 80318D50 00315CB0 38 61 00 0C */ addi r3, r1, 0xc +/* 80318D54 00315CB4 38 80 00 07 */ li r4, 7 +/* 80318D58 00315CB8 90 01 00 C0 */ stw r0, 0xc0(r1) +/* 80318D5C 00315CBC 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 80318D60 00315CC0 90 01 00 C8 */ stw r0, 0xc8(r1) +/* 80318D64 00315CC4 90 01 00 CC */ stw r0, 0xcc(r1) +/* 80318D68 00315CC8 98 A1 00 D0 */ stb r5, 0xd0(r1) +/* 80318D6C 00315CCC 90 01 00 D4 */ stw r0, 0xd4(r1) +/* 80318D70 00315CD0 90 01 00 D8 */ stw r0, 0xd8(r1) +/* 80318D74 00315CD4 90 01 00 DC */ stw r0, 0xdc(r1) +/* 80318D78 00315CD8 90 01 00 E0 */ stw r0, 0xe0(r1) +/* 80318D7C 00315CDC 4B FF 03 B1 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 80318D80 00315CE0 38 61 00 10 */ addi r3, r1, 0x10 +/* 80318D84 00315CE4 38 80 00 05 */ li r4, 5 +/* 80318D88 00315CE8 4B FF 03 A5 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 80318D8C 00315CEC 38 61 00 14 */ addi r3, r1, 0x14 +/* 80318D90 00315CF0 38 80 00 00 */ li r4, 0 +/* 80318D94 00315CF4 4B FF 03 99 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 80318D98 00315CF8 38 61 00 18 */ addi r3, r1, 0x18 +/* 80318D9C 00315CFC 38 80 00 07 */ li r4, 7 +/* 80318DA0 00315D00 4B FF 03 8D */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 80318DA4 00315D04 80 E1 00 18 */ lwz r7, 0x18(r1) +/* 80318DA8 00315D08 38 61 00 1C */ addi r3, r1, 0x1c +/* 80318DAC 00315D0C 80 C1 00 14 */ lwz r6, 0x14(r1) +/* 80318DB0 00315D10 38 80 00 0F */ li r4, 0xf +/* 80318DB4 00315D14 80 A1 00 10 */ lwz r5, 0x10(r1) +/* 80318DB8 00315D18 80 01 00 0C */ lwz r0, 0xc(r1) +/* 80318DBC 00315D1C 90 E1 00 68 */ stw r7, 0x68(r1) +/* 80318DC0 00315D20 90 C1 00 6C */ stw r6, 0x6c(r1) +/* 80318DC4 00315D24 90 A1 00 70 */ stw r5, 0x70(r1) +/* 80318DC8 00315D28 90 01 00 74 */ stw r0, 0x74(r1) +/* 80318DCC 00315D2C 4B FF 03 59 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 80318DD0 00315D30 38 61 00 20 */ addi r3, r1, 0x20 +/* 80318DD4 00315D34 38 80 00 0A */ li r4, 0xa +/* 80318DD8 00315D38 4B FF 03 4D */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 80318DDC 00315D3C 38 61 00 24 */ addi r3, r1, 0x24 +/* 80318DE0 00315D40 38 80 00 00 */ li r4, 0 +/* 80318DE4 00315D44 4B FF 03 41 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 80318DE8 00315D48 38 61 00 28 */ addi r3, r1, 0x28 +/* 80318DEC 00315D4C 38 80 00 0F */ li r4, 0xf +/* 80318DF0 00315D50 4B FF 03 35 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 80318DF4 00315D54 80 A1 00 28 */ lwz r5, 0x28(r1) +/* 80318DF8 00315D58 3C 60 80 4C */ lis r3, lbl_804BFEB4@ha +/* 80318DFC 00315D5C 81 21 00 24 */ lwz r9, 0x24(r1) +/* 80318E00 00315D60 38 63 FE B4 */ addi r3, r3, lbl_804BFEB4@l +/* 80318E04 00315D64 81 01 00 20 */ lwz r8, 0x20(r1) +/* 80318E08 00315D68 38 81 00 78 */ addi r4, r1, 0x78 +/* 80318E0C 00315D6C 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 80318E10 00315D70 38 C1 00 D0 */ addi r6, r1, 0xd0 +/* 80318E14 00315D74 90 A1 00 78 */ stw r5, 0x78(r1) +/* 80318E18 00315D78 38 A1 00 68 */ addi r5, r1, 0x68 +/* 80318E1C 00315D7C 38 E1 00 BC */ addi r7, r1, 0xbc +/* 80318E20 00315D80 91 21 00 7C */ stw r9, 0x7c(r1) +/* 80318E24 00315D84 91 01 00 80 */ stw r8, 0x80(r1) +/* 80318E28 00315D88 90 01 00 84 */ stw r0, 0x84(r1) +/* 80318E2C 00315D8C 4B FF 04 29 */ bl sub_80309254 +/* 80318E30 00315D90 38 00 00 01 */ li r0, 1 +/* 80318E34 00315D94 98 0D A8 C5 */ stb r0, lbl_805A9485@sda21(r13) +lbl_80318E38: +/* 80318E38 00315D98 3C 80 80 4C */ lis r4, lbl_804BFEB4@ha +/* 80318E3C 00315D9C 38 60 00 01 */ li r3, 1 +/* 80318E40 00315DA0 38 84 FE B4 */ addi r4, r4, lbl_804BFEB4@l +/* 80318E44 00315DA4 4B FF 14 75 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +/* 80318E48 00315DA8 48 00 00 10 */ b lbl_80318E58 +lbl_80318E4C: +/* 80318E4C 00315DAC 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) +/* 80318E50 00315DB0 38 60 00 01 */ li r3, 1 +/* 80318E54 00315DB4 4B FF 14 65 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +lbl_80318E58: +/* 80318E58 00315DB8 80 7C 00 28 */ lwz r3, 0x28(r28) +/* 80318E5C 00315DBC 38 A1 00 A0 */ addi r5, r1, 0xa0 +/* 80318E60 00315DC0 80 9C 00 3C */ lwz r4, 0x3c(r28) +/* 80318E64 00315DC4 80 63 00 40 */ lwz r3, 0x40(r3) +/* 80318E68 00315DC8 80 84 00 28 */ lwz r4, 0x28(r4) +/* 80318E6C 00315DCC 81 83 00 00 */ lwz r12, 0(r3) +/* 80318E70 00315DD0 80 1C 00 74 */ lwz r0, 0x74(r28) +/* 80318E74 00315DD4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80318E78 00315DD8 7C 84 00 50 */ subf r4, r4, r0 +/* 80318E7C 00315DDC 7D 89 03 A6 */ mtctr r12 +/* 80318E80 00315DE0 4E 80 04 21 */ bctrl +/* 80318E84 00315DE4 80 7C 00 28 */ lwz r3, 0x28(r28) +/* 80318E88 00315DE8 80 63 00 40 */ lwz r3, 0x40(r3) +/* 80318E8C 00315DEC 81 83 00 00 */ lwz r12, 0(r3) +/* 80318E90 00315DF0 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 80318E94 00315DF4 7D 89 03 A6 */ mtctr r12 +/* 80318E98 00315DF8 4E 80 04 21 */ bctrl +/* 80318E9C 00315DFC 7C 60 1B 78 */ mr r0, r3 +/* 80318EA0 00315E00 38 61 00 30 */ addi r3, r1, 0x30 +/* 80318EA4 00315E04 7C 19 03 78 */ mr r25, r0 +/* 80318EA8 00315E08 38 80 00 00 */ li r4, 0 +/* 80318EAC 00315E0C 48 02 7F 95 */ bl __dt__6CTokenFv +/* 80318EB0 00315E10 48 00 00 1C */ b lbl_80318ECC +lbl_80318EB4: +/* 80318EB4 00315E14 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) +/* 80318EB8 00315E18 38 60 00 00 */ li r3, 0 +/* 80318EBC 00315E1C 4B FF 13 FD */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +/* 80318EC0 00315E20 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) +/* 80318EC4 00315E24 38 60 00 01 */ li r3, 1 +/* 80318EC8 00315E28 4B FF 13 F1 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +lbl_80318ECC: +/* 80318ECC 00315E2C 3C 60 80 3D */ lis r3, lbl_803D78D0@ha +/* 80318ED0 00315E30 38 63 78 D0 */ addi r3, r3, lbl_803D78D0@l +/* 80318ED4 00315E34 4B FE EF 55 */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList +/* 80318ED8 00315E38 28 1E 00 00 */ cmplwi r30, 0 +/* 80318EDC 00315E3C 41 82 00 50 */ beq lbl_80318F2C +/* 80318EE0 00315E40 38 60 00 02 */ li r3, 2 +/* 80318EE4 00315E44 4B FE FF 6D */ bl SetNumChans__3CGXFUc +/* 80318EE8 00315E48 38 60 00 01 */ li r3, 1 +/* 80318EEC 00315E4C 38 80 00 FF */ li r4, 0xff +/* 80318EF0 00315E50 38 A0 00 FF */ li r5, 0xff +/* 80318EF4 00315E54 38 C0 00 05 */ li r6, 5 +/* 80318EF8 00315E58 4B FE FA 55 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 80318EFC 00315E5C 38 9C 03 38 */ addi r4, r28, 0x338 +/* 80318F00 00315E60 38 60 00 01 */ li r3, 1 +/* 80318F04 00315E64 4B FE FE 59 */ bl SetChanMatColor__3CGXFQ23CGX10EChannelIdRC8_GXColor +/* 80318F08 00315E68 38 60 00 01 */ li r3, 1 +/* 80318F0C 00315E6C 38 80 00 00 */ li r4, 0 +/* 80318F10 00315E70 38 A0 00 00 */ li r5, 0 +/* 80318F14 00315E74 38 C0 00 00 */ li r6, 0 +/* 80318F18 00315E78 38 E0 00 00 */ li r7, 0 +/* 80318F1C 00315E7C 39 00 00 00 */ li r8, 0 +/* 80318F20 00315E80 39 20 00 02 */ li r9, 2 +/* 80318F24 00315E84 4B FE FD A9 */ bl SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn +/* 80318F28 00315E88 48 00 00 0C */ b lbl_80318F34 +lbl_80318F2C: +/* 80318F2C 00315E8C 38 60 00 01 */ li r3, 1 +/* 80318F30 00315E90 4B FE FF 21 */ bl SetNumChans__3CGXFUc +lbl_80318F34: +/* 80318F34 00315E94 38 60 00 01 */ li r3, 1 +/* 80318F38 00315E98 4B FE FE DD */ bl SetNumTexGens__3CGXFUc +/* 80318F3C 00315E9C 38 60 00 00 */ li r3, 0 +/* 80318F40 00315EA0 38 80 00 00 */ li r4, 0 +/* 80318F44 00315EA4 38 A0 00 00 */ li r5, 0 +/* 80318F48 00315EA8 38 C0 00 04 */ li r6, 4 +/* 80318F4C 00315EAC 4B FE FA 01 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 80318F50 00315EB0 38 60 00 00 */ li r3, 0 +/* 80318F54 00315EB4 38 80 00 00 */ li r4, 0 +/* 80318F58 00315EB8 38 A0 00 00 */ li r5, 0 +/* 80318F5C 00315EBC 38 C0 00 01 */ li r6, 1 +/* 80318F60 00315EC0 38 E0 00 00 */ li r7, 0 +/* 80318F64 00315EC4 39 00 00 00 */ li r8, 0 +/* 80318F68 00315EC8 39 20 00 02 */ li r9, 2 +/* 80318F6C 00315ECC 4B FE FD 61 */ bl SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn +/* 80318F70 00315ED0 38 60 00 00 */ li r3, 0 +/* 80318F74 00315ED4 38 80 00 01 */ li r4, 1 +/* 80318F78 00315ED8 38 A0 00 04 */ li r5, 4 +/* 80318F7C 00315EDC 38 C0 00 3C */ li r6, 0x3c +/* 80318F80 00315EE0 38 E0 00 00 */ li r7, 0 +/* 80318F84 00315EE4 39 00 00 7D */ li r8, 0x7d +/* 80318F88 00315EE8 4B FE F7 45 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 80318F8C 00315EEC 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 80318F90 00315EF0 41 82 00 84 */ beq lbl_80319014 +/* 80318F94 00315EF4 C0 02 C9 F0 */ lfs f0, lbl_805AE710@sda21(r2) +/* 80318F98 00315EF8 38 A1 00 2C */ addi r5, r1, 0x2c +/* 80318F9C 00315EFC 38 80 00 00 */ li r4, 0 +/* 80318FA0 00315F00 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 80318FA4 00315F04 80 7C 00 28 */ lwz r3, 0x28(r28) +/* 80318FA8 00315F08 80 63 00 18 */ lwz r3, 0x18(r3) +/* 80318FAC 00315F0C 81 83 00 00 */ lwz r12, 0(r3) +/* 80318FB0 00315F10 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80318FB4 00315F14 7D 89 03 A6 */ mtctr r12 +/* 80318FB8 00315F18 4E 80 04 21 */ bctrl +/* 80318FBC 00315F1C C0 21 00 2C */ lfs f1, 0x2c(r1) +/* 80318FC0 00315F20 C0 02 C9 E8 */ lfs f0, lbl_805AE708@sda21(r2) +/* 80318FC4 00315F24 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80318FC8 00315F28 40 80 00 0C */ bge lbl_80318FD4 +/* 80318FCC 00315F2C D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 80318FD0 00315F30 48 00 00 14 */ b lbl_80318FE4 +lbl_80318FD4: +/* 80318FD4 00315F34 C0 02 CA 00 */ lfs f0, lbl_805AE720@sda21(r2) +/* 80318FD8 00315F38 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80318FDC 00315F3C 40 81 00 08 */ ble lbl_80318FE4 +/* 80318FE0 00315F40 D0 01 00 2C */ stfs f0, 0x2c(r1) +lbl_80318FE4: +/* 80318FE4 00315F44 C0 22 CA 04 */ lfs f1, lbl_805AE724@sda21(r2) +/* 80318FE8 00315F48 C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 80318FEC 00315F4C EF C1 00 32 */ fmuls f30, f1, f0 +/* 80318FF0 00315F50 F3 C1 A0 09 */ psq_st f30, 9(r1), 1, qr2 +/* 80318FF4 00315F54 38 80 00 00 */ li r4, 0 +/* 80318FF8 00315F58 88 61 00 09 */ lbz r3, 9(r1) +/* 80318FFC 00315F5C 4B FE F4 BD */ bl SetLineWidth__3CGXFUc12_GXTexOffset +/* 80319000 00315F60 80 1C 00 34 */ lwz r0, 0x34(r28) +/* 80319004 00315F64 38 60 00 A8 */ li r3, 0xa8 +/* 80319008 00315F68 38 80 00 00 */ li r4, 0 +/* 8031900C 00315F6C 54 05 0C 3C */ rlwinm r5, r0, 1, 0x10, 0x1e +/* 80319010 00315F70 4B FE F5 75 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +lbl_80319014: +/* 80319014 00315F74 57 3A 06 3E */ clrlwi r26, r25, 0x18 +/* 80319018 00315F78 57 FB 06 3E */ clrlwi r27, r31, 0x18 +/* 8031901C 00315F7C 3B A0 00 00 */ li r29, 0 +/* 80319020 00315F80 3B C0 00 00 */ li r30, 0 +/* 80319024 00315F84 48 00 02 34 */ b lbl_80319258 +lbl_80319028: +/* 80319028 00315F88 80 1C 00 3C */ lwz r0, 0x3c(r28) +/* 8031902C 00315F8C 28 1A 00 00 */ cmplwi r26, 0 +/* 80319030 00315F90 7F 20 F2 14 */ add r25, r0, r30 +/* 80319034 00315F94 40 82 00 2C */ bne lbl_80319060 +/* 80319038 00315F98 80 7C 00 28 */ lwz r3, 0x28(r28) +/* 8031903C 00315F9C 38 A1 00 A0 */ addi r5, r1, 0xa0 +/* 80319040 00315FA0 80 99 00 28 */ lwz r4, 0x28(r25) +/* 80319044 00315FA4 80 63 00 40 */ lwz r3, 0x40(r3) +/* 80319048 00315FA8 80 1C 00 74 */ lwz r0, 0x74(r28) +/* 8031904C 00315FAC 81 83 00 00 */ lwz r12, 0(r3) +/* 80319050 00315FB0 7C 84 00 50 */ subf r4, r4, r0 +/* 80319054 00315FB4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80319058 00315FB8 7D 89 03 A6 */ mtctr r12 +/* 8031905C 00315FBC 4E 80 04 21 */ bctrl +lbl_80319060: +/* 80319060 00315FC0 C0 39 00 08 */ lfs f1, 8(r25) +/* 80319064 00315FC4 C0 19 00 14 */ lfs f0, 0x14(r25) +/* 80319068 00315FC8 C0 79 00 0C */ lfs f3, 0xc(r25) +/* 8031906C 00315FCC EC 81 00 28 */ fsubs f4, f1, f0 +/* 80319070 00315FD0 C0 59 00 18 */ lfs f2, 0x18(r25) +/* 80319074 00315FD4 C0 39 00 04 */ lfs f1, 4(r25) +/* 80319078 00315FD8 C0 19 00 10 */ lfs f0, 0x10(r25) +/* 8031907C 00315FDC EC 43 10 28 */ fsubs f2, f3, f2 +/* 80319080 00315FE0 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80319084 00315FE4 D0 81 00 98 */ stfs f4, 0x98(r1) +/* 80319088 00315FE8 D0 41 00 9C */ stfs f2, 0x9c(r1) +/* 8031908C 00315FEC D0 01 00 94 */ stfs f0, 0x94(r1) +/* 80319090 00315FF0 88 1C 02 6D */ lbz r0, 0x26d(r28) +/* 80319094 00315FF4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80319098 00315FF8 41 82 00 44 */ beq lbl_803190DC +/* 8031909C 00315FFC 38 61 00 94 */ addi r3, r1, 0x94 +/* 803190A0 00316000 4B FF B8 19 */ bl Magnitude__9CVector3fCFv +/* 803190A4 00316004 C0 02 C9 E8 */ lfs f0, lbl_805AE708@sda21(r2) +/* 803190A8 00316008 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 803190AC 0031600C 40 81 00 30 */ ble lbl_803190DC +/* 803190B0 00316010 C0 02 C9 F0 */ lfs f0, lbl_805AE710@sda21(r2) +/* 803190B4 00316014 C0 41 00 94 */ lfs f2, 0x94(r1) +/* 803190B8 00316018 EC 60 08 24 */ fdivs f3, f0, f1 +/* 803190BC 0031601C C0 21 00 98 */ lfs f1, 0x98(r1) +/* 803190C0 00316020 C0 01 00 9C */ lfs f0, 0x9c(r1) +/* 803190C4 00316024 EC 42 00 F2 */ fmuls f2, f2, f3 +/* 803190C8 00316028 EC 21 00 F2 */ fmuls f1, f1, f3 +/* 803190CC 0031602C EC 00 00 F2 */ fmuls f0, f0, f3 +/* 803190D0 00316030 D0 41 00 94 */ stfs f2, 0x94(r1) +/* 803190D4 00316034 D0 21 00 98 */ stfs f1, 0x98(r1) +/* 803190D8 00316038 D0 01 00 9C */ stfs f0, 0x9c(r1) +lbl_803190DC: +/* 803190DC 0031603C 38 61 00 5C */ addi r3, r1, 0x5c +/* 803190E0 00316040 38 81 02 04 */ addi r4, r1, 0x204 +/* 803190E4 00316044 38 B9 00 04 */ addi r5, r25, 4 +/* 803190E8 00316048 4B FF 9A 01 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 803190EC 0031604C C0 79 00 2C */ lfs f3, 0x2c(r25) +/* 803190F0 00316050 38 61 00 50 */ addi r3, r1, 0x50 +/* 803190F4 00316054 C0 41 00 98 */ lfs f2, 0x98(r1) +/* 803190F8 00316058 38 81 02 04 */ addi r4, r1, 0x204 +/* 803190FC 0031605C C0 21 00 9C */ lfs f1, 0x9c(r1) +/* 80319100 00316060 38 A1 00 44 */ addi r5, r1, 0x44 +/* 80319104 00316064 C0 01 00 94 */ lfs f0, 0x94(r1) +/* 80319108 00316068 EC A3 00 B2 */ fmuls f5, f3, f2 +/* 8031910C 0031606C EC 83 00 72 */ fmuls f4, f3, f1 +/* 80319110 00316070 C0 59 00 08 */ lfs f2, 8(r25) +/* 80319114 00316074 EC 63 00 32 */ fmuls f3, f3, f0 +/* 80319118 00316078 C0 39 00 0C */ lfs f1, 0xc(r25) +/* 8031911C 0031607C C0 19 00 04 */ lfs f0, 4(r25) +/* 80319120 00316080 EC 42 28 2A */ fadds f2, f2, f5 +/* 80319124 00316084 EC 21 20 2A */ fadds f1, f1, f4 +/* 80319128 00316088 D0 61 00 38 */ stfs f3, 0x38(r1) +/* 8031912C 0031608C EC 00 18 2A */ fadds f0, f0, f3 +/* 80319130 00316090 C3 C1 00 5C */ lfs f30, 0x5c(r1) +/* 80319134 00316094 D0 A1 00 3C */ stfs f5, 0x3c(r1) +/* 80319138 00316098 C3 A1 00 60 */ lfs f29, 0x60(r1) +/* 8031913C 0031609C D0 81 00 40 */ stfs f4, 0x40(r1) +/* 80319140 003160A0 C3 81 00 64 */ lfs f28, 0x64(r1) +/* 80319144 003160A4 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 80319148 003160A8 D0 41 00 48 */ stfs f2, 0x48(r1) +/* 8031914C 003160AC D0 21 00 4C */ stfs f1, 0x4c(r1) +/* 80319150 003160B0 4B FF 99 99 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 80319154 003160B4 28 1B 00 00 */ cmplwi r27, 0 +/* 80319158 003160B8 C3 61 00 50 */ lfs f27, 0x50(r1) +/* 8031915C 003160BC C3 41 00 54 */ lfs f26, 0x54(r1) +/* 80319160 003160C0 C3 21 00 58 */ lfs f25, 0x58(r1) +/* 80319164 003160C4 41 82 00 50 */ beq lbl_803191B4 +/* 80319168 003160C8 80 19 00 34 */ lwz r0, 0x34(r25) +/* 8031916C 003160CC 3C 60 CC 01 */ lis r3, 0xCC008000@ha +/* 80319170 003160D0 D3 C3 80 00 */ stfs f30, 0xCC008000@l(r3) +/* 80319174 003160D4 D3 A3 80 00 */ stfs f29, 0xCC008000@l(r3) +/* 80319178 003160D8 D3 83 80 00 */ stfs f28, 0xCC008000@l(r3) +/* 8031917C 003160DC 90 03 80 00 */ stw r0, 0xCC008000@l(r3) +/* 80319180 003160E0 C0 01 00 A0 */ lfs f0, 0xa0(r1) +/* 80319184 003160E4 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 80319188 003160E8 C0 01 00 A4 */ lfs f0, 0xa4(r1) +/* 8031918C 003160EC D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 80319190 003160F0 D3 63 80 00 */ stfs f27, 0xCC008000@l(r3) +/* 80319194 003160F4 D3 43 80 00 */ stfs f26, 0xCC008000@l(r3) +/* 80319198 003160F8 D3 23 80 00 */ stfs f25, 0xCC008000@l(r3) +/* 8031919C 003160FC 90 03 80 00 */ stw r0, 0xCC008000@l(r3) +/* 803191A0 00316100 C0 01 00 A8 */ lfs f0, 0xa8(r1) +/* 803191A4 00316104 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 803191A8 00316108 C0 01 00 AC */ lfs f0, 0xac(r1) +/* 803191AC 0031610C D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 803191B0 00316110 48 00 00 A0 */ b lbl_80319250 +lbl_803191B4: +/* 803191B4 00316114 C0 39 00 30 */ lfs f1, 0x30(r25) +/* 803191B8 00316118 C0 02 C9 E8 */ lfs f0, lbl_805AE708@sda21(r2) +/* 803191BC 0031611C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 803191C0 00316120 40 80 00 0C */ bge lbl_803191CC +/* 803191C4 00316124 FC 20 00 90 */ fmr f1, f0 +/* 803191C8 00316128 48 00 00 14 */ b lbl_803191DC +lbl_803191CC: +/* 803191CC 0031612C C0 02 CA 00 */ lfs f0, lbl_805AE720@sda21(r2) +/* 803191D0 00316130 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 803191D4 00316134 40 81 00 08 */ ble lbl_803191DC +/* 803191D8 00316138 FC 20 00 90 */ fmr f1, f0 +lbl_803191DC: +/* 803191DC 0031613C C0 02 CA 04 */ lfs f0, lbl_805AE724@sda21(r2) +/* 803191E0 00316140 EF E0 00 72 */ fmuls f31, f0, f1 +/* 803191E4 00316144 F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2 +/* 803191E8 00316148 38 80 00 00 */ li r4, 0 +/* 803191EC 0031614C 88 61 00 08 */ lbz r3, 8(r1) +/* 803191F0 00316150 4B FE F2 C9 */ bl SetLineWidth__3CGXFUc12_GXTexOffset +/* 803191F4 00316154 38 60 00 A8 */ li r3, 0xa8 +/* 803191F8 00316158 38 80 00 00 */ li r4, 0 +/* 803191FC 0031615C 38 A0 00 02 */ li r5, 2 +/* 80319200 00316160 4B FE F3 85 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 80319204 00316164 80 19 00 34 */ lwz r0, 0x34(r25) +/* 80319208 00316168 3C 60 CC 01 */ lis r3, 0xCC008000@ha +/* 8031920C 0031616C D3 C3 80 00 */ stfs f30, 0xCC008000@l(r3) +/* 80319210 00316170 D3 A3 80 00 */ stfs f29, 0xCC008000@l(r3) +/* 80319214 00316174 D3 83 80 00 */ stfs f28, 0xCC008000@l(r3) +/* 80319218 00316178 90 03 80 00 */ stw r0, 0xCC008000@l(r3) +/* 8031921C 0031617C C0 01 00 A0 */ lfs f0, 0xa0(r1) +/* 80319220 00316180 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 80319224 00316184 C0 01 00 A4 */ lfs f0, 0xa4(r1) +/* 80319228 00316188 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8031922C 0031618C D3 63 80 00 */ stfs f27, 0xCC008000@l(r3) +/* 80319230 00316190 D3 43 80 00 */ stfs f26, 0xCC008000@l(r3) +/* 80319234 00316194 D3 23 80 00 */ stfs f25, 0xCC008000@l(r3) +/* 80319238 00316198 90 03 80 00 */ stw r0, 0xCC008000@l(r3) +/* 8031923C 0031619C C0 01 00 A8 */ lfs f0, 0xa8(r1) +/* 80319240 003161A0 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 80319244 003161A4 C0 01 00 AC */ lfs f0, 0xac(r1) +/* 80319248 003161A8 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8031924C 003161AC 4B FE F3 35 */ bl End__3CGXFv +lbl_80319250: +/* 80319250 003161B0 3B DE 00 38 */ addi r30, r30, 0x38 +/* 80319254 003161B4 3B BD 00 01 */ addi r29, r29, 1 +lbl_80319258: +/* 80319258 003161B8 80 1C 00 34 */ lwz r0, 0x34(r28) +/* 8031925C 003161BC 7C 1D 00 00 */ cmpw r29, r0 +/* 80319260 003161C0 41 80 FD C8 */ blt lbl_80319028 +/* 80319264 003161C4 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 80319268 003161C8 41 82 00 08 */ beq lbl_80319270 +/* 8031926C 003161CC 4B FE F3 15 */ bl End__3CGXFv +lbl_80319270: +/* 80319270 003161D0 C0 22 C9 F0 */ lfs f1, lbl_805AE710@sda21(r2) +/* 80319274 003161D4 38 60 00 00 */ li r3, 0 +/* 80319278 003161D8 4B FF 21 61 */ bl SetLineWidth__9CGraphicsFf13ERglTexOffset +/* 8031927C 003161DC 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 80319280 003161E0 38 80 FF FF */ li r4, -1 +/* 80319284 003161E4 4B FF 93 81 */ bl __dt__13CGlobalRandomFv +/* 80319288 003161E8 E3 E1 02 F8 */ psq_l f31, 760(r1), 0, qr0 +/* 8031928C 003161EC CB E1 02 F0 */ lfd f31, 0x2f0(r1) +/* 80319290 003161F0 E3 C1 02 E8 */ psq_l f30, 744(r1), 0, qr0 +/* 80319294 003161F4 CB C1 02 E0 */ lfd f30, 0x2e0(r1) +/* 80319298 003161F8 E3 A1 02 D8 */ psq_l f29, 728(r1), 0, qr0 +/* 8031929C 003161FC CB A1 02 D0 */ lfd f29, 0x2d0(r1) +/* 803192A0 00316200 E3 81 02 C8 */ psq_l f28, 712(r1), 0, qr0 +/* 803192A4 00316204 CB 81 02 C0 */ lfd f28, 0x2c0(r1) +/* 803192A8 00316208 E3 61 02 B8 */ psq_l f27, 696(r1), 0, qr0 +/* 803192AC 0031620C CB 61 02 B0 */ lfd f27, 0x2b0(r1) +/* 803192B0 00316210 E3 41 02 A8 */ psq_l f26, 680(r1), 0, qr0 +/* 803192B4 00316214 CB 41 02 A0 */ lfd f26, 0x2a0(r1) +/* 803192B8 00316218 E3 21 02 98 */ psq_l f25, 664(r1), 0, qr0 +/* 803192BC 0031621C CB 21 02 90 */ lfd f25, 0x290(r1) +/* 803192C0 00316220 BB 21 02 74 */ lmw r25, 0x274(r1) +/* 803192C4 00316224 80 01 03 04 */ lwz r0, 0x304(r1) +/* 803192C8 00316228 7C 08 03 A6 */ mtlr r0 +/* 803192CC 0031622C 38 21 03 00 */ addi r1, r1, 0x300 +/* 803192D0 00316230 4E 80 00 20 */ blr + +.global RenderParticlesIndirectTexture__11CElementGenFv +RenderParticlesIndirectTexture__11CElementGenFv: +/* 803192D4 00316234 94 21 FC 50 */ stwu r1, -0x3b0(r1) +/* 803192D8 00316238 7C 08 02 A6 */ mflr r0 +/* 803192DC 0031623C 90 01 03 B4 */ stw r0, 0x3b4(r1) +/* 803192E0 00316240 DB E1 03 A0 */ stfd f31, 0x3a0(r1) +/* 803192E4 00316244 F3 E1 03 A8 */ psq_st f31, 936(r1), 0, qr0 +/* 803192E8 00316248 DB C1 03 90 */ stfd f30, 0x390(r1) +/* 803192EC 0031624C F3 C1 03 98 */ psq_st f30, 920(r1), 0, qr0 +/* 803192F0 00316250 DB A1 03 80 */ stfd f29, 0x380(r1) +/* 803192F4 00316254 F3 A1 03 88 */ psq_st f29, 904(r1), 0, qr0 +/* 803192F8 00316258 DB 81 03 70 */ stfd f28, 0x370(r1) +/* 803192FC 0031625C F3 81 03 78 */ psq_st f28, 888(r1), 0, qr0 +/* 80319300 00316260 DB 61 03 60 */ stfd f27, 0x360(r1) +/* 80319304 00316264 F3 61 03 68 */ psq_st f27, 872(r1), 0, qr0 +/* 80319308 00316268 DB 41 03 50 */ stfd f26, 0x350(r1) +/* 8031930C 0031626C F3 41 03 58 */ psq_st f26, 856(r1), 0, qr0 +/* 80319310 00316270 DB 21 03 40 */ stfd f25, 0x340(r1) +/* 80319314 00316274 F3 21 03 48 */ psq_st f25, 840(r1), 0, qr0 +/* 80319318 00316278 DB 01 03 30 */ stfd f24, 0x330(r1) +/* 8031931C 0031627C F3 01 03 38 */ psq_st f24, 824(r1), 0, qr0 +/* 80319320 00316280 DA E1 03 20 */ stfd f23, 0x320(r1) +/* 80319324 00316284 F2 E1 03 28 */ psq_st f23, 808(r1), 0, qr0 +/* 80319328 00316288 DA C1 03 10 */ stfd f22, 0x310(r1) +/* 8031932C 0031628C F2 C1 03 18 */ psq_st f22, 792(r1), 0, qr0 +/* 80319330 00316290 BD C1 02 C8 */ stmw r14, 0x2c8(r1) +/* 80319334 00316294 7C 3F 0B 78 */ mr r31, r1 +/* 80319338 00316298 3C 80 80 5A */ lis r4, lbl_805A61D4@ha +/* 8031933C 0031629C 7C 7E 1B 78 */ mr r30, r3 +/* 80319340 003162A0 38 84 61 D4 */ addi r4, r4, lbl_805A61D4@l +/* 80319344 003162A4 38 7F 02 8C */ addi r3, r31, 0x28c +/* 80319348 003162A8 4B FF 98 2D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8031934C 003162AC 3C 80 80 5A */ lis r4, skZero3f@ha +/* 80319350 003162B0 38 7F 01 FC */ addi r3, r31, 0x1fc +/* 80319354 003162B4 38 A4 66 A0 */ addi r5, r4, skZero3f@l +/* 80319358 003162B8 38 9F 02 8C */ addi r4, r31, 0x28c +/* 8031935C 003162BC C0 45 00 00 */ lfs f2, 0(r5) +/* 80319360 003162C0 C0 25 00 04 */ lfs f1, 4(r5) +/* 80319364 003162C4 C0 05 00 08 */ lfs f0, 8(r5) +/* 80319368 003162C8 D0 5F 02 98 */ stfs f2, 0x298(r31) +/* 8031936C 003162CC D0 3F 02 A8 */ stfs f1, 0x2a8(r31) +/* 80319370 003162D0 D0 1F 02 B8 */ stfs f0, 0x2b8(r31) +/* 80319374 003162D4 4B FF 99 29 */ bl GetQuickInverse__12CTransform4fCFv +/* 80319378 003162D8 38 7F 02 2C */ addi r3, r31, 0x22c +/* 8031937C 003162DC 38 9F 01 FC */ addi r4, r31, 0x1fc +/* 80319380 003162E0 38 BE 02 2C */ addi r5, r30, 0x22c +/* 80319384 003162E4 4B FF 95 CD */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80319388 003162E8 38 7F 02 5C */ addi r3, r31, 0x25c +/* 8031938C 003162EC 38 9F 02 2C */ addi r4, r31, 0x22c +/* 80319390 003162F0 4B FF 97 E5 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80319394 003162F4 38 7F 01 3C */ addi r3, r31, 0x13c +/* 80319398 003162F8 38 9E 00 E8 */ addi r4, r30, 0xe8 +/* 8031939C 003162FC 4B FF 9D A5 */ bl Translate__12CTransform4fFRC9CVector3f +/* 803193A0 00316300 38 7F 01 6C */ addi r3, r31, 0x16c +/* 803193A4 00316304 38 9F 01 3C */ addi r4, r31, 0x13c +/* 803193A8 00316308 38 BE 01 0C */ addi r5, r30, 0x10c +/* 803193AC 0031630C 4B FF 95 A5 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 803193B0 00316310 38 7F 01 9C */ addi r3, r31, 0x19c +/* 803193B4 00316314 38 9F 01 6C */ addi r4, r31, 0x16c +/* 803193B8 00316318 38 BF 02 8C */ addi r5, r31, 0x28c +/* 803193BC 0031631C 4B FF 95 95 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 803193C0 00316320 38 7F 01 CC */ addi r3, r31, 0x1cc +/* 803193C4 00316324 38 9F 01 9C */ addi r4, r31, 0x19c +/* 803193C8 00316328 38 BE 01 78 */ addi r5, r30, 0x178 +/* 803193CC 0031632C 4B FF 95 85 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 803193D0 00316330 38 7F 02 8C */ addi r3, r31, 0x28c +/* 803193D4 00316334 38 9F 01 CC */ addi r4, r31, 0x1cc +/* 803193D8 00316338 4B FF 97 69 */ bl __as__12CTransform4fFRC12CTransform4f +/* 803193DC 0031633C 38 7F 02 8C */ addi r3, r31, 0x28c +/* 803193E0 00316340 4B FF 32 01 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 803193E4 00316344 38 60 00 07 */ li r3, 7 +/* 803193E8 00316348 38 80 00 00 */ li r4, 0 +/* 803193EC 0031634C 38 A0 00 00 */ li r5, 0 +/* 803193F0 00316350 38 C0 00 07 */ li r6, 7 +/* 803193F4 00316354 38 E0 00 00 */ li r7, 0 +/* 803193F8 00316358 4B FE F4 1D */ bl SetAlphaCompare__3CGXF10_GXCompareUc10_GXAlphaOp10_GXCompareUc +/* 803193FC 0031635C 88 7E 02 6C */ lbz r3, 0x26c(r30) +/* 80319400 00316360 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f +/* 80319404 00316364 41 82 00 2C */ beq lbl_80319430 +/* 80319408 00316368 38 60 00 01 */ li r3, 1 +/* 8031940C 0031636C 38 80 00 03 */ li r4, 3 +/* 80319410 00316370 38 A0 00 00 */ li r5, 0 +/* 80319414 00316374 4B FE F4 69 */ bl SetZMode__3CGXFb10_GXCompareb +/* 80319418 00316378 38 60 00 01 */ li r3, 1 +/* 8031941C 0031637C 38 80 00 04 */ li r4, 4 +/* 80319420 00316380 38 A0 00 01 */ li r5, 1 +/* 80319424 00316384 38 C0 00 00 */ li r6, 0 +/* 80319428 00316388 4B FE F4 A9 */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp +/* 8031942C 0031638C 48 00 00 28 */ b lbl_80319454 +lbl_80319430: +/* 80319430 00316390 54 65 E7 FE */ rlwinm r5, r3, 0x1c, 0x1f, 0x1f +/* 80319434 00316394 38 60 00 01 */ li r3, 1 +/* 80319438 00316398 38 80 00 03 */ li r4, 3 +/* 8031943C 0031639C 4B FE F4 41 */ bl SetZMode__3CGXFb10_GXCompareb +/* 80319440 003163A0 38 60 00 01 */ li r3, 1 +/* 80319444 003163A4 38 80 00 04 */ li r4, 4 +/* 80319448 003163A8 38 A0 00 05 */ li r5, 5 +/* 8031944C 003163AC 38 C0 00 00 */ li r6, 0 +/* 80319450 003163B0 4B FE F4 81 */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp +lbl_80319454: +/* 80319454 003163B4 C0 22 C9 E8 */ lfs f1, lbl_805AE708@sda21(r2) +/* 80319458 003163B8 38 7F 00 D0 */ addi r3, r31, 0xd0 +/* 8031945C 003163BC C0 02 C9 F0 */ lfs f0, lbl_805AE710@sda21(r2) +/* 80319460 003163C0 D0 3F 00 EC */ stfs f1, 0xec(r31) +/* 80319464 003163C4 D0 1F 00 F4 */ stfs f0, 0xf4(r31) +/* 80319468 003163C8 D0 3F 00 F0 */ stfs f1, 0xf0(r31) +/* 8031946C 003163CC D0 1F 00 F8 */ stfs f0, 0xf8(r31) +/* 80319470 003163D0 D0 3F 00 DC */ stfs f1, 0xdc(r31) +/* 80319474 003163D4 D0 1F 00 E4 */ stfs f0, 0xe4(r31) +/* 80319478 003163D8 D0 3F 00 E0 */ stfs f1, 0xe0(r31) +/* 8031947C 003163DC D0 1F 00 E8 */ stfs f0, 0xe8(r31) +/* 80319480 003163E0 80 9E 00 28 */ lwz r4, 0x28(r30) +/* 80319484 003163E4 80 BE 00 3C */ lwz r5, 0x3c(r30) +/* 80319488 003163E8 80 84 00 40 */ lwz r4, 0x40(r4) +/* 8031948C 003163EC 80 A5 00 28 */ lwz r5, 0x28(r5) +/* 80319490 003163F0 81 84 00 00 */ lwz r12, 0(r4) +/* 80319494 003163F4 80 1E 00 74 */ lwz r0, 0x74(r30) +/* 80319498 003163F8 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 8031949C 003163FC 7C A5 00 50 */ subf r5, r5, r0 +/* 803194A0 00316400 7D 89 03 A6 */ mtctr r12 +/* 803194A4 00316404 4E 80 04 21 */ bctrl +/* 803194A8 00316408 38 7F 00 2C */ addi r3, r31, 0x2c +/* 803194AC 0031640C 38 9F 00 D0 */ addi r4, r31, 0xd0 +/* 803194B0 00316410 48 02 79 F9 */ bl __ct__6CTokenFRC6CToken +/* 803194B4 00316414 38 7F 00 D0 */ addi r3, r31, 0xd0 +/* 803194B8 00316418 38 80 00 00 */ li r4, 0 +/* 803194BC 0031641C 48 02 79 85 */ bl __dt__6CTokenFv +/* 803194C0 00316420 38 7F 00 2C */ addi r3, r31, 0x2c +/* 803194C4 00316424 48 02 79 49 */ bl GetObj__6CTokenFv +/* 803194C8 00316428 80 63 00 04 */ lwz r3, 4(r3) +/* 803194CC 0031642C 38 80 00 00 */ li r4, 0 +/* 803194D0 00316430 38 A0 00 01 */ li r5, 1 +/* 803194D4 00316434 4B FF 62 69 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode +/* 803194D8 00316438 38 7F 00 2C */ addi r3, r31, 0x2c +/* 803194DC 0031643C 48 02 79 31 */ bl GetObj__6CTokenFv +/* 803194E0 00316440 80 9E 00 28 */ lwz r4, 0x28(r30) +/* 803194E4 00316444 82 63 00 04 */ lwz r19, 4(r3) +/* 803194E8 00316448 80 64 00 40 */ lwz r3, 0x40(r4) +/* 803194EC 0031644C 81 83 00 00 */ lwz r12, 0(r3) +/* 803194F0 00316450 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 803194F4 00316454 7D 89 03 A6 */ mtctr r12 +/* 803194F8 00316458 4E 80 04 21 */ bctrl +/* 803194FC 0031645C 80 DE 00 28 */ lwz r6, 0x28(r30) +/* 80319500 00316460 7C 74 1B 78 */ mr r20, r3 +/* 80319504 00316464 80 9E 00 3C */ lwz r4, 0x3c(r30) +/* 80319508 00316468 38 BF 00 EC */ addi r5, r31, 0xec +/* 8031950C 0031646C 80 66 00 40 */ lwz r3, 0x40(r6) +/* 80319510 00316470 80 84 00 28 */ lwz r4, 0x28(r4) +/* 80319514 00316474 81 83 00 00 */ lwz r12, 0(r3) +/* 80319518 00316478 80 1E 00 74 */ lwz r0, 0x74(r30) +/* 8031951C 0031647C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80319520 00316480 7C 84 00 50 */ subf r4, r4, r0 +/* 80319524 00316484 7D 89 03 A6 */ mtctr r12 +/* 80319528 00316488 4E 80 04 21 */ bctrl +/* 8031952C 0031648C 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 80319530 00316490 80 63 00 40 */ lwz r3, 0x40(r3) +/* 80319534 00316494 81 83 00 00 */ lwz r12, 0(r3) +/* 80319538 00316498 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 8031953C 0031649C 7D 89 03 A6 */ mtctr r12 +/* 80319540 003164A0 4E 80 04 21 */ bctrl +/* 80319544 003164A4 80 9E 00 28 */ lwz r4, 0x28(r30) +/* 80319548 003164A8 7C 70 1B 78 */ mr r16, r3 +/* 8031954C 003164AC 80 BE 00 3C */ lwz r5, 0x3c(r30) +/* 80319550 003164B0 38 7F 00 C4 */ addi r3, r31, 0xc4 +/* 80319554 003164B4 80 84 00 44 */ lwz r4, 0x44(r4) +/* 80319558 003164B8 80 A5 00 28 */ lwz r5, 0x28(r5) +/* 8031955C 003164BC 81 84 00 00 */ lwz r12, 0(r4) +/* 80319560 003164C0 80 1E 00 74 */ lwz r0, 0x74(r30) +/* 80319564 003164C4 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 80319568 003164C8 7C A5 00 50 */ subf r5, r5, r0 +/* 8031956C 003164CC 7D 89 03 A6 */ mtctr r12 +/* 80319570 003164D0 4E 80 04 21 */ bctrl +/* 80319574 003164D4 38 7F 00 24 */ addi r3, r31, 0x24 +/* 80319578 003164D8 38 9F 00 C4 */ addi r4, r31, 0xc4 +/* 8031957C 003164DC 48 02 79 2D */ bl __ct__6CTokenFRC6CToken +/* 80319580 003164E0 38 7F 00 C4 */ addi r3, r31, 0xc4 +/* 80319584 003164E4 38 80 00 00 */ li r4, 0 +/* 80319588 003164E8 48 02 78 B9 */ bl __dt__6CTokenFv +/* 8031958C 003164EC 38 7F 00 24 */ addi r3, r31, 0x24 +/* 80319590 003164F0 48 02 78 7D */ bl GetObj__6CTokenFv +/* 80319594 003164F4 80 63 00 04 */ lwz r3, 4(r3) +/* 80319598 003164F8 38 80 00 02 */ li r4, 2 +/* 8031959C 003164FC 38 A0 00 01 */ li r5, 1 +/* 803195A0 00316500 4B FF 61 9D */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode +/* 803195A4 00316504 38 7F 00 24 */ addi r3, r31, 0x24 +/* 803195A8 00316508 48 02 78 65 */ bl GetObj__6CTokenFv +/* 803195AC 0031650C 80 9E 00 28 */ lwz r4, 0x28(r30) +/* 803195B0 00316510 82 43 00 04 */ lwz r18, 4(r3) +/* 803195B4 00316514 80 64 00 44 */ lwz r3, 0x44(r4) +/* 803195B8 00316518 81 83 00 00 */ lwz r12, 0(r3) +/* 803195BC 0031651C 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 803195C0 00316520 7D 89 03 A6 */ mtctr r12 +/* 803195C4 00316524 4E 80 04 21 */ bctrl +/* 803195C8 00316528 80 9E 00 28 */ lwz r4, 0x28(r30) +/* 803195CC 0031652C 7C 6F 1B 78 */ mr r15, r3 +/* 803195D0 00316530 80 64 00 44 */ lwz r3, 0x44(r4) +/* 803195D4 00316534 81 83 00 00 */ lwz r12, 0(r3) +/* 803195D8 00316538 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 803195DC 0031653C 7D 89 03 A6 */ mtctr r12 +/* 803195E0 00316540 4E 80 04 21 */ bctrl +/* 803195E4 00316544 80 DE 00 28 */ lwz r6, 0x28(r30) +/* 803195E8 00316548 7C 6E 1B 78 */ mr r14, r3 +/* 803195EC 0031654C 80 9E 00 3C */ lwz r4, 0x3c(r30) +/* 803195F0 00316550 38 BF 00 DC */ addi r5, r31, 0xdc +/* 803195F4 00316554 80 66 00 44 */ lwz r3, 0x44(r6) +/* 803195F8 00316558 80 84 00 28 */ lwz r4, 0x28(r4) +/* 803195FC 0031655C 81 83 00 00 */ lwz r12, 0(r3) +/* 80319600 00316560 80 1E 00 74 */ lwz r0, 0x74(r30) +/* 80319604 00316564 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80319608 00316568 7C 84 00 50 */ subf r4, r4, r0 +/* 8031960C 0031656C 7D 89 03 A6 */ mtctr r12 +/* 80319610 00316570 4E 80 04 21 */ bctrl +/* 80319614 00316574 38 60 00 03 */ li r3, 3 +/* 80319618 00316578 4B FE F7 FD */ bl SetNumTexGens__3CGXFUc +/* 8031961C 0031657C 38 60 00 00 */ li r3, 0 +/* 80319620 00316580 38 80 00 01 */ li r4, 1 +/* 80319624 00316584 38 A0 00 04 */ li r5, 4 +/* 80319628 00316588 38 C0 00 3C */ li r6, 0x3c +/* 8031962C 0031658C 38 E0 00 00 */ li r7, 0 +/* 80319630 00316590 39 00 00 7D */ li r8, 0x7d +/* 80319634 00316594 4B FE F0 99 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 80319638 00316598 38 60 00 01 */ li r3, 1 +/* 8031963C 0031659C 38 80 00 01 */ li r4, 1 +/* 80319640 003165A0 38 A0 00 05 */ li r5, 5 +/* 80319644 003165A4 38 C0 00 3C */ li r6, 0x3c +/* 80319648 003165A8 38 E0 00 00 */ li r7, 0 +/* 8031964C 003165AC 39 00 00 7D */ li r8, 0x7d +/* 80319650 003165B0 4B FE F0 7D */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 80319654 003165B4 38 60 00 02 */ li r3, 2 +/* 80319658 003165B8 38 80 00 01 */ li r4, 1 +/* 8031965C 003165BC 38 A0 00 06 */ li r5, 6 +/* 80319660 003165C0 38 C0 00 3C */ li r6, 0x3c +/* 80319664 003165C4 38 E0 00 00 */ li r7, 0 +/* 80319668 003165C8 39 00 00 7D */ li r8, 0x7d +/* 8031966C 003165CC 4B FE F0 61 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 80319670 003165D0 3C 60 80 3D */ lis r3, lbl_803D7888@ha +/* 80319674 003165D4 38 9F 00 FC */ addi r4, r31, 0xfc +/* 80319678 003165D8 39 63 78 88 */ addi r11, r3, lbl_803D7888@l +/* 8031967C 003165DC 38 60 00 01 */ li r3, 1 +/* 80319680 003165E0 81 4B 00 00 */ lwz r10, 0(r11) +/* 80319684 003165E4 38 A0 00 01 */ li r5, 1 +/* 80319688 003165E8 81 2B 00 04 */ lwz r9, 4(r11) +/* 8031968C 003165EC 81 0B 00 08 */ lwz r8, 8(r11) +/* 80319690 003165F0 80 EB 00 0C */ lwz r7, 0xc(r11) +/* 80319694 003165F4 80 CB 00 10 */ lwz r6, 0x10(r11) +/* 80319698 003165F8 80 0B 00 14 */ lwz r0, 0x14(r11) +/* 8031969C 003165FC 91 5F 00 FC */ stw r10, 0xfc(r31) +/* 803196A0 00316600 91 3F 01 00 */ stw r9, 0x100(r31) +/* 803196A4 00316604 91 1F 01 04 */ stw r8, 0x104(r31) +/* 803196A8 00316608 90 FF 01 08 */ stw r7, 0x108(r31) +/* 803196AC 0031660C 90 DF 01 0C */ stw r6, 0x10c(r31) +/* 803196B0 00316610 90 1F 01 10 */ stw r0, 0x110(r31) +/* 803196B4 00316614 48 06 18 15 */ bl GXSetIndTexMtx +/* 803196B8 00316618 38 60 00 00 */ li r3, 0 +/* 803196BC 0031661C 38 80 00 02 */ li r4, 2 +/* 803196C0 00316620 38 A0 00 02 */ li r5, 2 +/* 803196C4 00316624 48 06 1A E1 */ bl GXSetIndTexOrder +/* 803196C8 00316628 38 00 00 00 */ li r0, 0 +/* 803196CC 0031662C 38 60 00 01 */ li r3, 1 +/* 803196D0 00316630 90 01 00 08 */ stw r0, 8(r1) +/* 803196D4 00316634 38 80 00 00 */ li r4, 0 +/* 803196D8 00316638 38 A0 00 00 */ li r5, 0 +/* 803196DC 0031663C 38 C0 00 07 */ li r6, 7 +/* 803196E0 00316640 90 01 00 0C */ stw r0, 0xc(r1) +/* 803196E4 00316644 38 E0 00 01 */ li r7, 1 +/* 803196E8 00316648 39 00 00 00 */ li r8, 0 +/* 803196EC 0031664C 39 20 00 00 */ li r9, 0 +/* 803196F0 00316650 39 40 00 00 */ li r10, 0 +/* 803196F4 00316654 4B FE F0 99 */ bl SetTevIndirect__3CGXF13_GXTevStageID16_GXIndTexStageID15_GXIndTexFormat16_GXIndTexBiasSel14_GXIndTexMtxID13_GXIndTexWrap13_GXIndTexWrapUcUc17_GXIndTexAlphaSel +/* 803196F8 00316658 38 60 00 01 */ li r3, 1 +/* 803196FC 0031665C 4B FE EF 95 */ bl SetNumIndStages__3CGXFUc +/* 80319700 00316660 38 60 00 00 */ li r3, 0 +/* 80319704 00316664 38 80 00 00 */ li r4, 0 +/* 80319708 00316668 38 A0 00 00 */ li r5, 0 +/* 8031970C 0031666C 38 C0 00 04 */ li r6, 4 +/* 80319710 00316670 4B FE F2 3D */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 80319714 00316674 80 A2 C7 A8 */ lwz r5, lbl_805AE4C8@sda21(r2) +/* 80319718 00316678 38 60 00 01 */ li r3, 1 +/* 8031971C 0031667C 38 80 00 01 */ li r4, 1 +/* 80319720 00316680 38 C0 00 04 */ li r6, 4 +/* 80319724 00316684 4B FE F2 29 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 80319728 00316688 38 60 00 02 */ li r3, 2 +/* 8031972C 0031668C 4B FE F5 65 */ bl SetNumTevStages__3CGXFUc +/* 80319730 00316690 38 60 00 00 */ li r3, 0 +/* 80319734 00316694 38 80 00 00 */ li r4, 0 +/* 80319738 00316698 4B FE F2 65 */ bl SetTevKAlphaSel__3CGXF13_GXTevStageID15_GXTevKAlphaSel +/* 8031973C 0031669C 38 60 00 01 */ li r3, 1 +/* 80319740 003166A0 38 80 00 00 */ li r4, 0 +/* 80319744 003166A4 4B FE F2 59 */ bl SetTevKAlphaSel__3CGXF13_GXTevStageID15_GXTevKAlphaSel +/* 80319748 003166A8 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 8031974C 003166AC 88 03 00 32 */ lbz r0, 0x32(r3) +/* 80319750 003166B0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80319754 003166B4 40 82 00 38 */ bne lbl_8031978C +/* 80319758 003166B8 38 60 00 00 */ li r3, 0 +/* 8031975C 003166BC 38 80 00 0F */ li r4, 0xf +/* 80319760 003166C0 38 A0 00 08 */ li r5, 8 +/* 80319764 003166C4 38 C0 00 0C */ li r6, 0xc +/* 80319768 003166C8 38 E0 00 0F */ li r7, 0xf +/* 8031976C 003166CC 4B FE F4 81 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg +/* 80319770 003166D0 38 60 00 01 */ li r3, 1 +/* 80319774 003166D4 38 80 00 0F */ li r4, 0xf +/* 80319778 003166D8 38 A0 00 08 */ li r5, 8 +/* 8031977C 003166DC 38 C0 00 0A */ li r6, 0xa +/* 80319780 003166E0 38 E0 00 00 */ li r7, 0 +/* 80319784 003166E4 4B FE F4 69 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg +/* 80319788 003166E8 48 00 00 34 */ b lbl_803197BC +lbl_8031978C: +/* 8031978C 003166EC 38 60 00 00 */ li r3, 0 +/* 80319790 003166F0 38 80 00 0F */ li r4, 0xf +/* 80319794 003166F4 38 A0 00 08 */ li r5, 8 +/* 80319798 003166F8 38 C0 00 0A */ li r6, 0xa +/* 8031979C 003166FC 38 E0 00 0F */ li r7, 0xf +/* 803197A0 00316700 4B FE F4 4D */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg +/* 803197A4 00316704 38 60 00 01 */ li r3, 1 +/* 803197A8 00316708 38 80 00 0F */ li r4, 0xf +/* 803197AC 0031670C 38 A0 00 08 */ li r5, 8 +/* 803197B0 00316710 38 C0 00 00 */ li r6, 0 +/* 803197B4 00316714 38 E0 00 0F */ li r7, 0xf +/* 803197B8 00316718 4B FE F4 35 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg +lbl_803197BC: +/* 803197BC 0031671C 38 60 00 00 */ li r3, 0 +/* 803197C0 00316720 38 80 00 07 */ li r4, 7 +/* 803197C4 00316724 38 A0 00 04 */ li r5, 4 +/* 803197C8 00316728 38 C0 00 06 */ li r6, 6 +/* 803197CC 0031672C 38 E0 00 07 */ li r7, 7 +/* 803197D0 00316730 4B FE F3 C5 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg +/* 803197D4 00316734 38 60 00 00 */ li r3, 0 +/* 803197D8 00316738 4B FE E4 79 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID +/* 803197DC 0031673C 38 60 00 01 */ li r3, 1 +/* 803197E0 00316740 4B FE E4 71 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID +/* 803197E4 00316744 38 60 00 01 */ li r3, 1 +/* 803197E8 00316748 38 80 00 07 */ li r4, 7 +/* 803197EC 0031674C 38 A0 00 00 */ li r5, 0 +/* 803197F0 00316750 38 C0 00 05 */ li r6, 5 +/* 803197F4 00316754 38 E0 00 07 */ li r7, 7 +/* 803197F8 00316758 4B FE F3 9D */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg +/* 803197FC 0031675C 38 60 00 01 */ li r3, 1 +/* 80319800 00316760 38 80 00 04 */ li r4, 4 +/* 80319804 00316764 38 A0 00 05 */ li r5, 5 +/* 80319808 00316768 38 C0 00 00 */ li r6, 0 +/* 8031980C 0031676C 4B FE F0 C5 */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp +/* 80319810 00316770 38 60 00 01 */ li r3, 1 +/* 80319814 00316774 4B FE F6 3D */ bl SetNumChans__3CGXFUc +/* 80319818 00316778 38 60 00 00 */ li r3, 0 +/* 8031981C 0031677C 38 80 00 00 */ li r4, 0 +/* 80319820 00316780 38 A0 00 00 */ li r5, 0 +/* 80319824 00316784 38 C0 00 01 */ li r6, 1 +/* 80319828 00316788 38 E0 00 00 */ li r7, 0 +/* 8031982C 0031678C 39 00 00 00 */ li r8, 0 +/* 80319830 00316790 39 20 00 02 */ li r9, 2 +/* 80319834 00316794 4B FE F4 99 */ bl SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn +/* 80319838 00316798 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 8031983C 0031679C 3A A0 00 00 */ li r21, 0 +/* 80319840 003167A0 83 5E 00 34 */ lwz r26, 0x34(r30) +/* 80319844 003167A4 88 03 00 30 */ lbz r0, 0x30(r3) +/* 80319848 003167A8 54 11 EF FF */ rlwinm. r17, r0, 0x1d, 0x1f, 0x1f +/* 8031984C 003167AC 41 82 00 F4 */ beq lbl_80319940 +/* 80319850 003167B0 57 43 20 36 */ slwi r3, r26, 4 +/* 80319854 003167B4 80 01 00 00 */ lwz r0, 0(r1) +/* 80319858 003167B8 7E A3 00 D0 */ neg r21, r3 +/* 8031985C 003167BC 56 B5 00 38 */ rlwinm r21, r21, 0, 0, 0x1c +/* 80319860 003167C0 7C 01 A9 6E */ stwux r0, r1, r21 +/* 80319864 003167C4 3B 00 00 00 */ li r24, 0 +/* 80319868 003167C8 3A C0 00 00 */ li r22, 0 +/* 8031986C 003167CC 3A A1 00 10 */ addi r21, r1, 0x10 +/* 80319870 003167D0 7E B7 AB 78 */ mr r23, r21 +/* 80319874 003167D4 48 00 00 A8 */ b lbl_8031991C +lbl_80319878: +/* 80319878 003167D8 80 1E 00 3C */ lwz r0, 0x3c(r30) +/* 8031987C 003167DC 38 7F 00 B8 */ addi r3, r31, 0xb8 +/* 80319880 003167E0 C0 FE 00 80 */ lfs f7, 0x80(r30) +/* 80319884 003167E4 38 9F 02 5C */ addi r4, r31, 0x25c +/* 80319888 003167E8 7C C0 B2 14 */ add r6, r0, r22 +/* 8031988C 003167EC 38 BF 00 AC */ addi r5, r31, 0xac +/* 80319890 003167F0 C0 06 00 08 */ lfs f0, 8(r6) +/* 80319894 003167F4 C0 86 00 14 */ lfs f4, 0x14(r6) +/* 80319898 003167F8 C0 26 00 0C */ lfs f1, 0xc(r6) +/* 8031989C 003167FC EC A0 20 28 */ fsubs f5, f0, f4 +/* 803198A0 00316800 C0 66 00 18 */ lfs f3, 0x18(r6) +/* 803198A4 00316804 C0 06 00 04 */ lfs f0, 4(r6) +/* 803198A8 00316808 EC 21 18 28 */ fsubs f1, f1, f3 +/* 803198AC 0031680C C0 46 00 10 */ lfs f2, 0x10(r6) +/* 803198B0 00316810 EC C7 01 72 */ fmuls f6, f7, f5 +/* 803198B4 00316814 EC 00 10 28 */ fsubs f0, f0, f2 +/* 803198B8 00316818 D0 BF 00 98 */ stfs f5, 0x98(r31) +/* 803198BC 0031681C EC A7 00 72 */ fmuls f5, f7, f1 +/* 803198C0 00316820 EC 86 20 2A */ fadds f4, f6, f4 +/* 803198C4 00316824 D0 3F 00 9C */ stfs f1, 0x9c(r31) +/* 803198C8 00316828 EC 27 00 32 */ fmuls f1, f7, f0 +/* 803198CC 0031682C EC 65 18 2A */ fadds f3, f5, f3 +/* 803198D0 00316830 D0 1F 00 94 */ stfs f0, 0x94(r31) +/* 803198D4 00316834 EC 01 10 2A */ fadds f0, f1, f2 +/* 803198D8 00316838 D0 3F 00 A0 */ stfs f1, 0xa0(r31) +/* 803198DC 0031683C D0 DF 00 A4 */ stfs f6, 0xa4(r31) +/* 803198E0 00316840 D0 BF 00 A8 */ stfs f5, 0xa8(r31) +/* 803198E4 00316844 D0 1F 00 AC */ stfs f0, 0xac(r31) +/* 803198E8 00316848 D0 9F 00 B0 */ stfs f4, 0xb0(r31) +/* 803198EC 0031684C D0 7F 00 B4 */ stfs f3, 0xb4(r31) +/* 803198F0 00316850 4B FF 91 F9 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 803198F4 00316854 C0 1F 00 B8 */ lfs f0, 0xb8(r31) +/* 803198F8 00316858 3A D6 00 38 */ addi r22, r22, 0x38 +/* 803198FC 0031685C D0 17 00 04 */ stfs f0, 4(r23) +/* 80319900 00316860 C0 1F 00 BC */ lfs f0, 0xbc(r31) +/* 80319904 00316864 D0 17 00 08 */ stfs f0, 8(r23) +/* 80319908 00316868 C0 1F 00 C0 */ lfs f0, 0xc0(r31) +/* 8031990C 0031686C D0 17 00 0C */ stfs f0, 0xc(r23) +/* 80319910 00316870 B3 17 00 00 */ sth r24, 0(r23) +/* 80319914 00316874 3A F7 00 10 */ addi r23, r23, 0x10 +/* 80319918 00316878 3B 18 00 01 */ addi r24, r24, 1 +lbl_8031991C: +/* 8031991C 0031687C 7C 18 D0 00 */ cmpw r24, r26 +/* 80319920 00316880 41 80 FF 58 */ blt lbl_80319878 +/* 80319924 00316884 88 8D A8 C4 */ lbz r4, lbl_805A9484@sda21(r13) +/* 80319928 00316888 57 40 20 36 */ slwi r0, r26, 4 +/* 8031992C 0031688C 7E A3 AB 78 */ mr r3, r21 +/* 80319930 00316890 38 BF 00 10 */ addi r5, r31, 0x10 +/* 80319934 00316894 98 9F 00 10 */ stb r4, 0x10(r31) +/* 80319938 00316898 7C 95 02 14 */ add r4, r21, r0 +/* 8031993C 0031689C 48 00 67 A9 */ bl sub_803200e4 +lbl_80319940: +/* 80319940 003168A0 3C 60 80 3D */ lis r3, lbl_803D78A0@ha +/* 80319944 003168A4 38 63 78 A0 */ addi r3, r3, lbl_803D78A0@l +/* 80319948 003168A8 4B FE E4 E1 */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList +/* 8031994C 003168AC C3 E2 C9 F8 */ lfs f31, lbl_805AE718@sda21(r2) +/* 80319950 003168B0 56 9B 06 3E */ clrlwi r27, r20, 0x18 +/* 80319954 003168B4 56 1D 06 3E */ clrlwi r29, r16, 0x18 +/* 80319958 003168B8 55 FC 06 3E */ clrlwi r28, r15, 0x18 +/* 8031995C 003168BC 55 CE 06 3E */ clrlwi r14, r14, 0x18 +/* 80319960 003168C0 3A 00 00 00 */ li r16, 0 +/* 80319964 003168C4 3A 80 00 00 */ li r20, 0 +/* 80319968 003168C8 48 00 04 38 */ b lbl_80319DA0 +lbl_8031996C: +/* 8031996C 003168CC 28 11 00 00 */ cmplwi r17, 0 +/* 80319970 003168D0 41 82 00 18 */ beq lbl_80319988 +/* 80319974 003168D4 A0 15 00 00 */ lhz r0, 0(r21) +/* 80319978 003168D8 80 7E 00 3C */ lwz r3, 0x3c(r30) +/* 8031997C 003168DC 1C 00 00 38 */ mulli r0, r0, 0x38 +/* 80319980 003168E0 7F 23 02 14 */ add r25, r3, r0 +/* 80319984 003168E4 48 00 00 0C */ b lbl_80319990 +lbl_80319988: +/* 80319988 003168E8 80 1E 00 3C */ lwz r0, 0x3c(r30) +/* 8031998C 003168EC 7F 20 A2 14 */ add r25, r0, r20 +lbl_80319990: +/* 80319990 003168F0 C0 59 00 08 */ lfs f2, 8(r25) +/* 80319994 003168F4 38 7F 00 88 */ addi r3, r31, 0x88 +/* 80319998 003168F8 C0 39 00 14 */ lfs f1, 0x14(r25) +/* 8031999C 003168FC 38 9F 02 5C */ addi r4, r31, 0x25c +/* 803199A0 00316900 C0 19 00 0C */ lfs f0, 0xc(r25) +/* 803199A4 00316904 38 BF 00 7C */ addi r5, r31, 0x7c +/* 803199A8 00316908 C0 79 00 18 */ lfs f3, 0x18(r25) +/* 803199AC 0031690C EC A2 08 28 */ fsubs f5, f2, f1 +/* 803199B0 00316910 C0 FE 00 80 */ lfs f7, 0x80(r30) +/* 803199B4 00316914 EC 80 18 28 */ fsubs f4, f0, f3 +/* 803199B8 00316918 C0 19 00 04 */ lfs f0, 4(r25) +/* 803199BC 0031691C EC C7 01 72 */ fmuls f6, f7, f5 +/* 803199C0 00316920 C0 59 00 10 */ lfs f2, 0x10(r25) +/* 803199C4 00316924 D0 BF 00 68 */ stfs f5, 0x68(r31) +/* 803199C8 00316928 EC 00 10 28 */ fsubs f0, f0, f2 +/* 803199CC 0031692C EC A7 01 32 */ fmuls f5, f7, f4 +/* 803199D0 00316930 D0 9F 00 6C */ stfs f4, 0x6c(r31) +/* 803199D4 00316934 EC 86 08 2A */ fadds f4, f6, f1 +/* 803199D8 00316938 EC 27 00 32 */ fmuls f1, f7, f0 +/* 803199DC 0031693C D0 1F 00 64 */ stfs f0, 0x64(r31) +/* 803199E0 00316940 EC 65 18 2A */ fadds f3, f5, f3 +/* 803199E4 00316944 D0 DF 00 74 */ stfs f6, 0x74(r31) +/* 803199E8 00316948 EC 01 10 2A */ fadds f0, f1, f2 +/* 803199EC 0031694C D0 3F 00 70 */ stfs f1, 0x70(r31) +/* 803199F0 00316950 D0 BF 00 78 */ stfs f5, 0x78(r31) +/* 803199F4 00316954 D0 1F 00 7C */ stfs f0, 0x7c(r31) +/* 803199F8 00316958 D0 9F 00 80 */ stfs f4, 0x80(r31) +/* 803199FC 0031695C D0 7F 00 84 */ stfs f3, 0x84(r31) +/* 80319A00 00316960 4B FF 90 E9 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 80319A04 00316964 28 1B 00 00 */ cmplwi r27, 0 +/* 80319A08 00316968 C3 DF 00 88 */ lfs f30, 0x88(r31) +/* 80319A0C 0031696C C3 BF 00 8C */ lfs f29, 0x8c(r31) +/* 80319A10 00316970 C3 9F 00 90 */ lfs f28, 0x90(r31) +/* 80319A14 00316974 40 82 00 88 */ bne lbl_80319A9C +/* 80319A18 00316978 80 9E 00 28 */ lwz r4, 0x28(r30) +/* 80319A1C 0031697C 38 7F 00 58 */ addi r3, r31, 0x58 +/* 80319A20 00316980 80 B9 00 28 */ lwz r5, 0x28(r25) +/* 80319A24 00316984 80 84 00 40 */ lwz r4, 0x40(r4) +/* 80319A28 00316988 80 1E 00 74 */ lwz r0, 0x74(r30) +/* 80319A2C 0031698C 81 84 00 00 */ lwz r12, 0(r4) +/* 80319A30 00316990 7C A5 00 50 */ subf r5, r5, r0 +/* 80319A34 00316994 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 80319A38 00316998 7D 89 03 A6 */ mtctr r12 +/* 80319A3C 0031699C 4E 80 04 21 */ bctrl +/* 80319A40 003169A0 38 7F 00 1C */ addi r3, r31, 0x1c +/* 80319A44 003169A4 38 9F 00 58 */ addi r4, r31, 0x58 +/* 80319A48 003169A8 48 02 74 61 */ bl __ct__6CTokenFRC6CToken +/* 80319A4C 003169AC 38 7F 00 58 */ addi r3, r31, 0x58 +/* 80319A50 003169B0 38 80 00 00 */ li r4, 0 +/* 80319A54 003169B4 48 02 73 ED */ bl __dt__6CTokenFv +/* 80319A58 003169B8 38 7F 00 1C */ addi r3, r31, 0x1c +/* 80319A5C 003169BC 48 02 73 B1 */ bl GetObj__6CTokenFv +/* 80319A60 003169C0 80 03 00 04 */ lwz r0, 4(r3) +/* 80319A64 003169C4 7C 00 98 40 */ cmplw r0, r19 +/* 80319A68 003169C8 41 82 00 28 */ beq lbl_80319A90 +/* 80319A6C 003169CC 38 7F 00 1C */ addi r3, r31, 0x1c +/* 80319A70 003169D0 48 02 73 9D */ bl GetObj__6CTokenFv +/* 80319A74 003169D4 80 63 00 04 */ lwz r3, 4(r3) +/* 80319A78 003169D8 38 80 00 00 */ li r4, 0 +/* 80319A7C 003169DC 38 A0 00 01 */ li r5, 1 +/* 80319A80 003169E0 4B FF 5C BD */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode +/* 80319A84 003169E4 38 7F 00 1C */ addi r3, r31, 0x1c +/* 80319A88 003169E8 48 02 73 85 */ bl GetObj__6CTokenFv +/* 80319A8C 003169EC 82 63 00 04 */ lwz r19, 4(r3) +lbl_80319A90: +/* 80319A90 003169F0 38 7F 00 1C */ addi r3, r31, 0x1c +/* 80319A94 003169F4 38 80 00 00 */ li r4, 0 +/* 80319A98 003169F8 48 02 73 A9 */ bl __dt__6CTokenFv +lbl_80319A9C: +/* 80319A9C 003169FC 28 1C 00 00 */ cmplwi r28, 0 +/* 80319AA0 00316A00 40 82 00 88 */ bne lbl_80319B28 +/* 80319AA4 00316A04 80 9E 00 28 */ lwz r4, 0x28(r30) +/* 80319AA8 00316A08 38 7F 00 4C */ addi r3, r31, 0x4c +/* 80319AAC 00316A0C 80 B9 00 28 */ lwz r5, 0x28(r25) +/* 80319AB0 00316A10 80 84 00 44 */ lwz r4, 0x44(r4) +/* 80319AB4 00316A14 80 1E 00 74 */ lwz r0, 0x74(r30) +/* 80319AB8 00316A18 81 84 00 00 */ lwz r12, 0(r4) +/* 80319ABC 00316A1C 7C A5 00 50 */ subf r5, r5, r0 +/* 80319AC0 00316A20 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 80319AC4 00316A24 7D 89 03 A6 */ mtctr r12 +/* 80319AC8 00316A28 4E 80 04 21 */ bctrl +/* 80319ACC 00316A2C 38 7F 00 14 */ addi r3, r31, 0x14 +/* 80319AD0 00316A30 38 9F 00 4C */ addi r4, r31, 0x4c +/* 80319AD4 00316A34 48 02 73 D5 */ bl __ct__6CTokenFRC6CToken +/* 80319AD8 00316A38 38 7F 00 4C */ addi r3, r31, 0x4c +/* 80319ADC 00316A3C 38 80 00 00 */ li r4, 0 +/* 80319AE0 00316A40 48 02 73 61 */ bl __dt__6CTokenFv +/* 80319AE4 00316A44 38 7F 00 14 */ addi r3, r31, 0x14 +/* 80319AE8 00316A48 48 02 73 25 */ bl GetObj__6CTokenFv +/* 80319AEC 00316A4C 80 03 00 04 */ lwz r0, 4(r3) +/* 80319AF0 00316A50 7C 00 90 40 */ cmplw r0, r18 +/* 80319AF4 00316A54 41 82 00 28 */ beq lbl_80319B1C +/* 80319AF8 00316A58 38 7F 00 14 */ addi r3, r31, 0x14 +/* 80319AFC 00316A5C 48 02 73 11 */ bl GetObj__6CTokenFv +/* 80319B00 00316A60 80 63 00 04 */ lwz r3, 4(r3) +/* 80319B04 00316A64 38 80 00 02 */ li r4, 2 +/* 80319B08 00316A68 38 A0 00 01 */ li r5, 1 +/* 80319B0C 00316A6C 4B FF 5C 31 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode +/* 80319B10 00316A70 38 7F 00 14 */ addi r3, r31, 0x14 +/* 80319B14 00316A74 48 02 72 F9 */ bl GetObj__6CTokenFv +/* 80319B18 00316A78 82 43 00 04 */ lwz r18, 4(r3) +lbl_80319B1C: +/* 80319B1C 00316A7C 38 7F 00 14 */ addi r3, r31, 0x14 +/* 80319B20 00316A80 38 80 00 00 */ li r4, 0 +/* 80319B24 00316A84 48 02 73 1D */ bl __dt__6CTokenFv +lbl_80319B28: +/* 80319B28 00316A88 28 1D 00 00 */ cmplwi r29, 0 +/* 80319B2C 00316A8C 40 82 00 34 */ bne lbl_80319B60 +/* 80319B30 00316A90 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 80319B34 00316A94 38 14 00 28 */ addi r0, r20, 0x28 +/* 80319B38 00316A98 80 9E 00 3C */ lwz r4, 0x3c(r30) +/* 80319B3C 00316A9C 38 BF 00 EC */ addi r5, r31, 0xec +/* 80319B40 00316AA0 80 63 00 40 */ lwz r3, 0x40(r3) +/* 80319B44 00316AA4 7C 84 00 2E */ lwzx r4, r4, r0 +/* 80319B48 00316AA8 81 83 00 00 */ lwz r12, 0(r3) +/* 80319B4C 00316AAC 80 1E 00 74 */ lwz r0, 0x74(r30) +/* 80319B50 00316AB0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80319B54 00316AB4 7C 84 00 50 */ subf r4, r4, r0 +/* 80319B58 00316AB8 7D 89 03 A6 */ mtctr r12 +/* 80319B5C 00316ABC 4E 80 04 21 */ bctrl +lbl_80319B60: +/* 80319B60 00316AC0 28 0E 00 00 */ cmplwi r14, 0 +/* 80319B64 00316AC4 40 82 00 34 */ bne lbl_80319B98 +/* 80319B68 00316AC8 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 80319B6C 00316ACC 38 14 00 28 */ addi r0, r20, 0x28 +/* 80319B70 00316AD0 80 9E 00 3C */ lwz r4, 0x3c(r30) +/* 80319B74 00316AD4 38 BF 00 DC */ addi r5, r31, 0xdc +/* 80319B78 00316AD8 80 63 00 44 */ lwz r3, 0x44(r3) +/* 80319B7C 00316ADC 7C 84 00 2E */ lwzx r4, r4, r0 +/* 80319B80 00316AE0 81 83 00 00 */ lwz r12, 0(r3) +/* 80319B84 00316AE4 80 1E 00 74 */ lwz r0, 0x74(r30) +/* 80319B88 00316AE8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80319B8C 00316AEC 7C 84 00 50 */ subf r4, r4, r0 +/* 80319B90 00316AF0 7D 89 03 A6 */ mtctr r12 +/* 80319B94 00316AF4 4E 80 04 21 */ bctrl +lbl_80319B98: +/* 80319B98 00316AF8 C0 19 00 2C */ lfs f0, 0x2c(r25) +/* 80319B9C 00316AFC 38 7F 01 14 */ addi r3, r31, 0x114 +/* 80319BA0 00316B00 38 9F 00 40 */ addi r4, r31, 0x40 +/* 80319BA4 00316B04 38 BF 00 34 */ addi r5, r31, 0x34 +/* 80319BA8 00316B08 EC 1F 00 32 */ fmuls f0, f31, f0 +/* 80319BAC 00316B0C D3 BF 00 38 */ stfs f29, 0x38(r31) +/* 80319BB0 00316B10 38 C0 00 07 */ li r6, 7 +/* 80319BB4 00316B14 D3 BF 00 44 */ stfs f29, 0x44(r31) +/* 80319BB8 00316B18 EF 20 F0 2A */ fadds f25, f0, f30 +/* 80319BBC 00316B1C EF 00 E0 2A */ fadds f24, f0, f28 +/* 80319BC0 00316B20 EE FE 00 28 */ fsubs f23, f30, f0 +/* 80319BC4 00316B24 EE DC 00 28 */ fsubs f22, f28, f0 +/* 80319BC8 00316B28 D3 3F 00 34 */ stfs f25, 0x34(r31) +/* 80319BCC 00316B2C D3 1F 00 3C */ stfs f24, 0x3c(r31) +/* 80319BD0 00316B30 D2 FF 00 40 */ stfs f23, 0x40(r31) +/* 80319BD4 00316B34 D2 DF 00 48 */ stfs f22, 0x48(r31) +/* 80319BD8 00316B38 4B FE FC D5 */ bl ClipScreenRectFromMS__9CGraphicsFRC9CVector3fRC9CVector3f12ETexelFormat +/* 80319BDC 00316B3C 88 1F 01 14 */ lbz r0, 0x114(r31) +/* 80319BE0 00316B40 80 7F 01 18 */ lwz r3, 0x118(r31) +/* 80319BE4 00316B44 28 00 00 00 */ cmplwi r0, 0 +/* 80319BE8 00316B48 80 1F 01 1C */ lwz r0, 0x11c(r31) +/* 80319BEC 00316B4C 80 BF 01 20 */ lwz r5, 0x120(r31) +/* 80319BF0 00316B50 82 FF 01 24 */ lwz r23, 0x124(r31) +/* 80319BF4 00316B54 82 DF 01 28 */ lwz r22, 0x128(r31) +/* 80319BF8 00316B58 C3 9F 01 2C */ lfs f28, 0x12c(r31) +/* 80319BFC 00316B5C C3 DF 01 30 */ lfs f30, 0x130(r31) +/* 80319C00 00316B60 C3 7F 01 34 */ lfs f27, 0x134(r31) +/* 80319C04 00316B64 C3 5F 01 38 */ lfs f26, 0x138(r31) +/* 80319C08 00316B68 41 82 01 8C */ beq lbl_80319D94 +/* 80319C0C 00316B6C 81 ED A8 28 */ lwz r15, lbl_805A93E8@sda21(r13) +/* 80319C10 00316B70 54 63 04 3E */ clrlwi r3, r3, 0x10 +/* 80319C14 00316B74 54 04 04 3E */ clrlwi r4, r0, 0x10 +/* 80319C18 00316B78 54 A5 04 3E */ clrlwi r5, r5, 0x10 +/* 80319C1C 00316B7C 56 E6 04 3E */ clrlwi r6, r23, 0x10 +/* 80319C20 00316B80 48 05 F1 95 */ bl GXSetTexCopySrc +/* 80319C24 00316B84 56 C3 04 3E */ clrlwi r3, r22, 0x10 +/* 80319C28 00316B88 56 E4 04 3E */ clrlwi r4, r23, 0x10 +/* 80319C2C 00316B8C 38 A0 00 04 */ li r5, 4 +/* 80319C30 00316B90 38 C0 00 00 */ li r6, 0 +/* 80319C34 00316B94 48 05 F2 4D */ bl GXSetTexCopyDst +/* 80319C38 00316B98 83 0D A8 24 */ lwz r24, lbl_805A93E4@sda21(r13) +/* 80319C3C 00316B9C 56 C3 04 3E */ clrlwi r3, r22, 0x10 +/* 80319C40 00316BA0 56 E4 04 3E */ clrlwi r4, r23, 0x10 +/* 80319C44 00316BA4 38 A0 00 04 */ li r5, 4 +/* 80319C48 00316BA8 38 C0 00 00 */ li r6, 0 +/* 80319C4C 00316BAC 38 E0 00 00 */ li r7, 0 +/* 80319C50 00316BB0 48 05 FF F1 */ bl GXGetTexBufferSize +/* 80319C54 00316BB4 7C 03 C0 40 */ cmplw r3, r24 +/* 80319C58 00316BB8 41 81 01 3C */ bgt lbl_80319D94 +/* 80319C5C 00316BBC 4B FE FB A9 */ bl GetUseVideoFilter__9CGraphicsFv +/* 80319C60 00316BC0 7C 60 1B 78 */ mr r0, r3 +/* 80319C64 00316BC4 38 60 00 00 */ li r3, 0 +/* 80319C68 00316BC8 7C 18 03 78 */ mr r24, r0 +/* 80319C6C 00316BCC 4B FE FB A1 */ bl SetUseVideoFilter__9CGraphicsFb +/* 80319C70 00316BD0 7D E3 7B 78 */ mr r3, r15 +/* 80319C74 00316BD4 38 80 00 00 */ li r4, 0 +/* 80319C78 00316BD8 48 05 F8 BD */ bl GXCopyTex +/* 80319C7C 00316BDC 7F 03 C3 78 */ mr r3, r24 +/* 80319C80 00316BE0 4B FE FB 8D */ bl SetUseVideoFilter__9CGraphicsFb +/* 80319C84 00316BE4 48 05 E8 E1 */ bl GXPixModeSync +/* 80319C88 00316BE8 80 E2 C7 A8 */ lwz r7, lbl_805AE4C8@sda21(r2) +/* 80319C8C 00316BEC 7E C3 B3 78 */ mr r3, r22 +/* 80319C90 00316BF0 7E E4 BB 78 */ mr r4, r23 +/* 80319C94 00316BF4 38 A0 00 04 */ li r5, 4 +/* 80319C98 00316BF8 38 C0 00 00 */ li r6, 0 +/* 80319C9C 00316BFC 4B FF 03 85 */ bl LoadDolphinSpareTexture__9CGraphicsFii9_GXTexFmtPv11_GXTexMapID +/* 80319CA0 00316C00 81 F9 00 34 */ lwz r15, 0x34(r25) +/* 80319CA4 00316C04 38 60 00 80 */ li r3, 0x80 +/* 80319CA8 00316C08 38 80 00 00 */ li r4, 0 +/* 80319CAC 00316C0C 38 A0 00 04 */ li r5, 4 +/* 80319CB0 00316C10 4B FE E8 D5 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 80319CB4 00316C14 3C 60 CC 01 */ lis r3, 0xCC008000@ha +/* 80319CB8 00316C18 D3 23 80 00 */ stfs f25, 0xCC008000@l(r3) +/* 80319CBC 00316C1C D3 A3 80 00 */ stfs f29, 0xCC008000@l(r3) +/* 80319CC0 00316C20 D3 03 80 00 */ stfs f24, 0xCC008000@l(r3) +/* 80319CC4 00316C24 91 E3 80 00 */ stw r15, 0xCC008000@l(r3) +/* 80319CC8 00316C28 C0 1F 00 F4 */ lfs f0, 0xf4(r31) +/* 80319CCC 00316C2C D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 80319CD0 00316C30 C0 1F 00 F8 */ lfs f0, 0xf8(r31) +/* 80319CD4 00316C34 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 80319CD8 00316C38 D3 C3 80 00 */ stfs f30, 0xCC008000@l(r3) +/* 80319CDC 00316C3C D3 63 80 00 */ stfs f27, 0xCC008000@l(r3) +/* 80319CE0 00316C40 C0 1F 00 E4 */ lfs f0, 0xe4(r31) +/* 80319CE4 00316C44 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 80319CE8 00316C48 C0 1F 00 E8 */ lfs f0, 0xe8(r31) +/* 80319CEC 00316C4C D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 80319CF0 00316C50 D2 E3 80 00 */ stfs f23, 0xCC008000@l(r3) +/* 80319CF4 00316C54 D3 A3 80 00 */ stfs f29, 0xCC008000@l(r3) +/* 80319CF8 00316C58 D3 03 80 00 */ stfs f24, 0xCC008000@l(r3) +/* 80319CFC 00316C5C 91 E3 80 00 */ stw r15, 0xCC008000@l(r3) +/* 80319D00 00316C60 C0 3F 00 EC */ lfs f1, 0xec(r31) +/* 80319D04 00316C64 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 80319D08 00316C68 C0 1F 00 F8 */ lfs f0, 0xf8(r31) +/* 80319D0C 00316C6C D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 80319D10 00316C70 D3 83 80 00 */ stfs f28, 0xCC008000@l(r3) +/* 80319D14 00316C74 D3 63 80 00 */ stfs f27, 0xCC008000@l(r3) +/* 80319D18 00316C78 C0 5F 00 DC */ lfs f2, 0xdc(r31) +/* 80319D1C 00316C7C D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 80319D20 00316C80 C0 1F 00 E8 */ lfs f0, 0xe8(r31) +/* 80319D24 00316C84 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 80319D28 00316C88 D2 E3 80 00 */ stfs f23, 0xCC008000@l(r3) +/* 80319D2C 00316C8C D3 A3 80 00 */ stfs f29, 0xCC008000@l(r3) +/* 80319D30 00316C90 D2 C3 80 00 */ stfs f22, 0xCC008000@l(r3) +/* 80319D34 00316C94 91 E3 80 00 */ stw r15, 0xCC008000@l(r3) +/* 80319D38 00316C98 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 80319D3C 00316C9C C0 1F 00 F0 */ lfs f0, 0xf0(r31) +/* 80319D40 00316CA0 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 80319D44 00316CA4 D3 83 80 00 */ stfs f28, 0xCC008000@l(r3) +/* 80319D48 00316CA8 D3 43 80 00 */ stfs f26, 0xCC008000@l(r3) +/* 80319D4C 00316CAC D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 80319D50 00316CB0 C0 1F 00 E0 */ lfs f0, 0xe0(r31) +/* 80319D54 00316CB4 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 80319D58 00316CB8 D3 23 80 00 */ stfs f25, 0xCC008000@l(r3) +/* 80319D5C 00316CBC D3 A3 80 00 */ stfs f29, 0xCC008000@l(r3) +/* 80319D60 00316CC0 D2 C3 80 00 */ stfs f22, 0xCC008000@l(r3) +/* 80319D64 00316CC4 91 E3 80 00 */ stw r15, 0xCC008000@l(r3) +/* 80319D68 00316CC8 C0 1F 00 F4 */ lfs f0, 0xf4(r31) +/* 80319D6C 00316CCC D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 80319D70 00316CD0 C0 1F 00 F0 */ lfs f0, 0xf0(r31) +/* 80319D74 00316CD4 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 80319D78 00316CD8 D3 C3 80 00 */ stfs f30, 0xCC008000@l(r3) +/* 80319D7C 00316CDC D3 43 80 00 */ stfs f26, 0xCC008000@l(r3) +/* 80319D80 00316CE0 C0 1F 00 E4 */ lfs f0, 0xe4(r31) +/* 80319D84 00316CE4 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 80319D88 00316CE8 C0 1F 00 E0 */ lfs f0, 0xe0(r31) +/* 80319D8C 00316CEC D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 80319D90 00316CF0 4B FE E7 F1 */ bl End__3CGXFv +lbl_80319D94: +/* 80319D94 00316CF4 3A B5 00 10 */ addi r21, r21, 0x10 +/* 80319D98 00316CF8 3A 94 00 38 */ addi r20, r20, 0x38 +/* 80319D9C 00316CFC 3A 10 00 01 */ addi r16, r16, 1 +lbl_80319DA0: +/* 80319DA0 00316D00 7C 10 D0 00 */ cmpw r16, r26 +/* 80319DA4 00316D04 41 80 FB C8 */ blt lbl_8031996C +/* 80319DA8 00316D08 38 60 00 00 */ li r3, 0 +/* 80319DAC 00316D0C 4B FE E8 E5 */ bl SetNumIndStages__3CGXFUc +/* 80319DB0 00316D10 38 60 00 01 */ li r3, 1 +/* 80319DB4 00316D14 4B FE E9 91 */ bl SetTevDirect__3CGXF13_GXTevStageID +/* 80319DB8 00316D18 38 7F 00 24 */ addi r3, r31, 0x24 +/* 80319DBC 00316D1C 38 80 00 00 */ li r4, 0 +/* 80319DC0 00316D20 48 02 70 81 */ bl __dt__6CTokenFv +/* 80319DC4 00316D24 38 7F 00 2C */ addi r3, r31, 0x2c +/* 80319DC8 00316D28 38 80 00 00 */ li r4, 0 +/* 80319DCC 00316D2C 48 02 70 75 */ bl __dt__6CTokenFv +/* 80319DD0 00316D30 7F EA FB 78 */ mr r10, r31 +/* 80319DD4 00316D34 E3 EA 03 A8 */ psq_l f31, 936(r10), 0, qr0 +/* 80319DD8 00316D38 CB FF 03 A0 */ lfd f31, 0x3a0(r31) +/* 80319DDC 00316D3C E3 CA 03 98 */ psq_l f30, 920(r10), 0, qr0 +/* 80319DE0 00316D40 CB DF 03 90 */ lfd f30, 0x390(r31) +/* 80319DE4 00316D44 E3 AA 03 88 */ psq_l f29, 904(r10), 0, qr0 +/* 80319DE8 00316D48 CB BF 03 80 */ lfd f29, 0x380(r31) +/* 80319DEC 00316D4C E3 8A 03 78 */ psq_l f28, 888(r10), 0, qr0 +/* 80319DF0 00316D50 CB 9F 03 70 */ lfd f28, 0x370(r31) +/* 80319DF4 00316D54 E3 6A 03 68 */ psq_l f27, 872(r10), 0, qr0 +/* 80319DF8 00316D58 CB 7F 03 60 */ lfd f27, 0x360(r31) +/* 80319DFC 00316D5C E3 4A 03 58 */ psq_l f26, 856(r10), 0, qr0 +/* 80319E00 00316D60 CB 5F 03 50 */ lfd f26, 0x350(r31) +/* 80319E04 00316D64 E3 2A 03 48 */ psq_l f25, 840(r10), 0, qr0 +/* 80319E08 00316D68 CB 3F 03 40 */ lfd f25, 0x340(r31) +/* 80319E0C 00316D6C E3 0A 03 38 */ psq_l f24, 824(r10), 0, qr0 +/* 80319E10 00316D70 CB 1F 03 30 */ lfd f24, 0x330(r31) +/* 80319E14 00316D74 E2 EA 03 28 */ psq_l f23, 808(r10), 0, qr0 +/* 80319E18 00316D78 CA FF 03 20 */ lfd f23, 0x320(r31) +/* 80319E1C 00316D7C E2 CA 03 18 */ psq_l f22, 792(r10), 0, qr0 +/* 80319E20 00316D80 CA DF 03 10 */ lfd f22, 0x310(r31) +/* 80319E24 00316D84 B9 CA 02 C8 */ lmw r14, 0x2c8(r10) +/* 80319E28 00316D88 81 41 00 00 */ lwz r10, 0(r1) +/* 80319E2C 00316D8C 80 0A 00 04 */ lwz r0, 4(r10) +/* 80319E30 00316D90 7D 41 53 78 */ mr r1, r10 +/* 80319E34 00316D94 7C 08 03 A6 */ mtlr r0 +/* 80319E38 00316D98 4E 80 00 20 */ blr + +.global sub_80319e3c +sub_80319e3c: +/* 80319E3C 00316D9C 94 21 FE 40 */ stwu r1, -0x1c0(r1) +/* 80319E40 00316DA0 7C 08 02 A6 */ mflr r0 +/* 80319E44 00316DA4 90 01 01 C4 */ stw r0, 0x1c4(r1) +/* 80319E48 00316DA8 DB E1 01 B0 */ stfd f31, 0x1b0(r1) +/* 80319E4C 00316DAC F3 E1 01 B8 */ psq_st f31, 440(r1), 0, qr0 +/* 80319E50 00316DB0 DB C1 01 A0 */ stfd f30, 0x1a0(r1) +/* 80319E54 00316DB4 F3 C1 01 A8 */ psq_st f30, 424(r1), 0, qr0 +/* 80319E58 00316DB8 DB A1 01 90 */ stfd f29, 0x190(r1) +/* 80319E5C 00316DBC F3 A1 01 98 */ psq_st f29, 408(r1), 0, qr0 +/* 80319E60 00316DC0 DB 81 01 80 */ stfd f28, 0x180(r1) +/* 80319E64 00316DC4 F3 81 01 88 */ psq_st f28, 392(r1), 0, qr0 +/* 80319E68 00316DC8 DB 61 01 70 */ stfd f27, 0x170(r1) +/* 80319E6C 00316DCC F3 61 01 78 */ psq_st f27, 376(r1), 0, qr0 +/* 80319E70 00316DD0 BE 01 01 30 */ stmw r16, 0x130(r1) +/* 80319E74 00316DD4 7C 3F 0B 78 */ mr r31, r1 +/* 80319E78 00316DD8 3C A0 80 5A */ lis r5, lbl_805A61D4@ha +/* 80319E7C 00316DDC 7C 7E 1B 78 */ mr r30, r3 +/* 80319E80 00316DE0 38 05 61 D4 */ addi r0, r5, lbl_805A61D4@l +/* 80319E84 00316DE4 7C 93 23 78 */ mr r19, r4 +/* 80319E88 00316DE8 7C 04 03 78 */ mr r4, r0 +/* 80319E8C 00316DEC 38 7F 00 F4 */ addi r3, r31, 0xf4 +/* 80319E90 00316DF0 4B FF 8C E5 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80319E94 00316DF4 38 7F 00 C4 */ addi r3, r31, 0xc4 +/* 80319E98 00316DF8 38 9F 00 F4 */ addi r4, r31, 0xf4 +/* 80319E9C 00316DFC 4B FF 8C D9 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80319EA0 00316E00 3C 80 80 5A */ lis r4, skZero3f@ha +/* 80319EA4 00316E04 38 7F 00 64 */ addi r3, r31, 0x64 +/* 80319EA8 00316E08 38 A4 66 A0 */ addi r5, r4, skZero3f@l +/* 80319EAC 00316E0C 38 9F 00 C4 */ addi r4, r31, 0xc4 +/* 80319EB0 00316E10 C0 45 00 00 */ lfs f2, 0(r5) +/* 80319EB4 00316E14 C0 25 00 04 */ lfs f1, 4(r5) +/* 80319EB8 00316E18 C0 05 00 08 */ lfs f0, 8(r5) +/* 80319EBC 00316E1C D0 5F 00 D0 */ stfs f2, 0xd0(r31) +/* 80319EC0 00316E20 D0 3F 00 E0 */ stfs f1, 0xe0(r31) +/* 80319EC4 00316E24 D0 1F 00 F0 */ stfs f0, 0xf0(r31) +/* 80319EC8 00316E28 4B FF 8D D5 */ bl GetQuickInverse__12CTransform4fCFv +/* 80319ECC 00316E2C 38 7F 00 94 */ addi r3, r31, 0x94 +/* 80319ED0 00316E30 38 9F 00 64 */ addi r4, r31, 0x64 +/* 80319ED4 00316E34 4B FF 8C A1 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80319ED8 00316E38 38 7F 00 C4 */ addi r3, r31, 0xc4 +/* 80319EDC 00316E3C 4B FF 27 05 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 80319EE0 00316E40 38 60 00 00 */ li r3, 0 +/* 80319EE4 00316E44 4B FF 1B 8D */ bl SetCullMode__9CGraphicsF12ERglCullMode +/* 80319EE8 00316E48 38 60 00 01 */ li r3, 1 +/* 80319EEC 00316E4C 38 80 00 03 */ li r4, 3 +/* 80319EF0 00316E50 38 A0 00 00 */ li r5, 0 +/* 80319EF4 00316E54 4B FF 1B A1 */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb +/* 80319EF8 00316E58 38 60 00 04 */ li r3, 4 +/* 80319EFC 00316E5C 38 80 00 00 */ li r4, 0 +/* 80319F00 00316E60 38 A0 00 00 */ li r5, 0 +/* 80319F04 00316E64 38 C0 00 07 */ li r6, 7 +/* 80319F08 00316E68 38 E0 00 00 */ li r7, 0 +/* 80319F0C 00316E6C 4B FF 1B 1D */ bl SetAlphaCompare__9CGraphicsF13ERglAlphaFuncUc11ERglAlphaOp13ERglAlphaFuncUc +/* 80319F10 00316E70 3C 80 80 5A */ lis r4, lbl_805A5EBC@ha +/* 80319F14 00316E74 38 60 00 00 */ li r3, 0 +/* 80319F18 00316E78 38 84 5E BC */ addi r4, r4, lbl_805A5EBC@l +/* 80319F1C 00316E7C 4B FF 03 9D */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +/* 80319F20 00316E80 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) +/* 80319F24 00316E84 38 60 00 01 */ li r3, 1 +/* 80319F28 00316E88 4B FF 03 91 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +/* 80319F2C 00316E8C 8B AD A8 B8 */ lbz r29, lbl_805A9478@sda21(r13) +/* 80319F30 00316E90 7F D0 F3 78 */ mr r16, r30 +/* 80319F34 00316E94 3A 20 00 00 */ li r17, 0 +/* 80319F38 00316E98 48 00 00 4C */ b lbl_80319F84 +lbl_80319F3C: +/* 80319F3C 00316E9C 80 90 00 00 */ lwz r4, 0(r16) +/* 80319F40 00316EA0 38 7F 00 48 */ addi r3, r31, 0x48 +/* 80319F44 00316EA4 38 A0 00 00 */ li r5, 0 +/* 80319F48 00316EA8 80 84 00 28 */ lwz r4, 0x28(r4) +/* 80319F4C 00316EAC 80 84 00 40 */ lwz r4, 0x40(r4) +/* 80319F50 00316EB0 81 84 00 00 */ lwz r12, 0(r4) +/* 80319F54 00316EB4 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 80319F58 00316EB8 7D 89 03 A6 */ mtctr r12 +/* 80319F5C 00316EBC 4E 80 04 21 */ bctrl +/* 80319F60 00316EC0 80 7F 00 50 */ lwz r3, 0x50(r31) +/* 80319F64 00316EC4 7E 24 8B 78 */ mr r4, r17 +/* 80319F68 00316EC8 38 A0 00 01 */ li r5, 1 +/* 80319F6C 00316ECC 4B FF 57 D1 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode +/* 80319F70 00316ED0 38 7F 00 48 */ addi r3, r31, 0x48 +/* 80319F74 00316ED4 38 80 00 00 */ li r4, 0 +/* 80319F78 00316ED8 48 02 6E C9 */ bl __dt__6CTokenFv +/* 80319F7C 00316EDC 3A 10 00 04 */ addi r16, r16, 4 +/* 80319F80 00316EE0 3A 31 00 01 */ addi r17, r17, 1 +lbl_80319F84: +/* 80319F84 00316EE4 7C 11 98 00 */ cmpw r17, r19 +/* 80319F88 00316EE8 41 80 FF B4 */ blt lbl_80319F3C +/* 80319F8C 00316EEC 3C 60 80 3D */ lis r3, lbl_803D7868@ha +/* 80319F90 00316EF0 38 63 78 68 */ addi r3, r3, lbl_803D7868@l +/* 80319F94 00316EF4 4B FE DE 95 */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList +/* 80319F98 00316EF8 3A 00 00 01 */ li r16, 1 +/* 80319F9C 00316EFC 38 60 00 01 */ li r3, 1 +/* 80319FA0 00316F00 4B FE EE B1 */ bl SetNumChans__3CGXFUc +/* 80319FA4 00316F04 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 80319FA8 00316F08 3B 00 00 00 */ li r24, 0 +/* 80319FAC 00316F0C 41 82 00 68 */ beq lbl_8031A014 +/* 80319FB0 00316F10 38 60 00 01 */ li r3, 1 +/* 80319FB4 00316F14 38 80 00 01 */ li r4, 1 +/* 80319FB8 00316F18 38 A0 00 01 */ li r5, 1 +/* 80319FBC 00316F1C 38 C0 00 00 */ li r6, 0 +/* 80319FC0 00316F20 4B FF 1A 91 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +/* 80319FC4 00316F24 3B 00 00 01 */ li r24, 1 +/* 80319FC8 00316F28 38 60 00 01 */ li r3, 1 +/* 80319FCC 00316F2C 38 80 00 0F */ li r4, 0xf +/* 80319FD0 00316F30 38 A0 00 00 */ li r5, 0 +/* 80319FD4 00316F34 38 C0 00 01 */ li r6, 1 +/* 80319FD8 00316F38 38 E0 00 0F */ li r7, 0xf +/* 80319FDC 00316F3C 4B FE EC 11 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg +/* 80319FE0 00316F40 38 60 00 01 */ li r3, 1 +/* 80319FE4 00316F44 38 80 00 07 */ li r4, 7 +/* 80319FE8 00316F48 38 A0 00 04 */ li r5, 4 +/* 80319FEC 00316F4C 38 C0 00 00 */ li r6, 0 +/* 80319FF0 00316F50 38 E0 00 07 */ li r7, 7 +/* 80319FF4 00316F54 4B FE EB A1 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg +/* 80319FF8 00316F58 38 60 00 01 */ li r3, 1 +/* 80319FFC 00316F5C 4B FE DC 55 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID +/* 8031A000 00316F60 38 60 00 01 */ li r3, 1 +/* 8031A004 00316F64 38 80 00 00 */ li r4, 0 +/* 8031A008 00316F68 38 A0 00 01 */ li r5, 1 +/* 8031A00C 00316F6C 48 06 18 25 */ bl GXSetTevSwapMode +/* 8031A010 00316F70 3A 00 00 02 */ li r16, 2 +lbl_8031A014: +/* 8031A014 00316F74 56 03 06 3E */ clrlwi r3, r16, 0x18 +/* 8031A018 00316F78 4B FE EC 79 */ bl SetNumTevStages__3CGXFUc +/* 8031A01C 00316F7C 38 60 00 01 */ li r3, 1 +/* 8031A020 00316F80 4B FE ED F5 */ bl SetNumTexGens__3CGXFUc +/* 8031A024 00316F84 38 60 00 00 */ li r3, 0 +/* 8031A028 00316F88 38 80 00 00 */ li r4, 0 +/* 8031A02C 00316F8C 38 A0 00 00 */ li r5, 0 +/* 8031A030 00316F90 38 C0 00 01 */ li r6, 1 +/* 8031A034 00316F94 38 E0 00 00 */ li r7, 0 +/* 8031A038 00316F98 39 00 00 00 */ li r8, 0 +/* 8031A03C 00316F9C 39 20 00 02 */ li r9, 2 +/* 8031A040 00316FA0 4B FE EC 8D */ bl SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn +/* 8031A044 00316FA4 38 60 00 00 */ li r3, 0 +/* 8031A048 00316FA8 38 80 00 01 */ li r4, 1 +/* 8031A04C 00316FAC 38 A0 00 04 */ li r5, 4 +/* 8031A050 00316FB0 38 C0 00 3C */ li r6, 0x3c +/* 8031A054 00316FB4 38 E0 00 00 */ li r7, 0 +/* 8031A058 00316FB8 39 00 00 7D */ li r8, 0x7d +/* 8031A05C 00316FBC 4B FE E6 71 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 8031A060 00316FC0 38 60 00 06 */ li r3, 6 +/* 8031A064 00316FC4 38 80 00 09 */ li r4, 9 +/* 8031A068 00316FC8 38 A0 00 01 */ li r5, 1 +/* 8031A06C 00316FCC 38 C0 00 04 */ li r6, 4 +/* 8031A070 00316FD0 38 E0 00 00 */ li r7, 0 +/* 8031A074 00316FD4 48 05 D7 19 */ bl GXSetVtxAttrFmt +/* 8031A078 00316FD8 38 60 00 06 */ li r3, 6 +/* 8031A07C 00316FDC 38 80 00 0B */ li r4, 0xb +/* 8031A080 00316FE0 38 A0 00 01 */ li r5, 1 +/* 8031A084 00316FE4 38 C0 00 05 */ li r6, 5 +/* 8031A088 00316FE8 38 E0 00 00 */ li r7, 0 +/* 8031A08C 00316FEC 48 05 D7 01 */ bl GXSetVtxAttrFmt +/* 8031A090 00316FF0 38 60 00 06 */ li r3, 6 +/* 8031A094 00316FF4 38 80 00 0D */ li r4, 0xd +/* 8031A098 00316FF8 38 A0 00 01 */ li r5, 1 +/* 8031A09C 00316FFC 38 C0 00 04 */ li r6, 4 +/* 8031A0A0 00317000 38 E0 00 00 */ li r7, 0 +/* 8031A0A4 00317004 48 05 D6 E9 */ bl GXSetVtxAttrFmt +/* 8031A0A8 00317008 7F D0 F3 78 */ mr r16, r30 +/* 8031A0AC 0031700C 3A 20 00 00 */ li r17, 0 +/* 8031A0B0 00317010 3A 40 00 00 */ li r18, 0 +/* 8031A0B4 00317014 48 00 00 24 */ b lbl_8031A0D8 +lbl_8031A0B8: +/* 8031A0B8 00317018 80 70 00 00 */ lwz r3, 0(r16) +/* 8031A0BC 0031701C 81 83 00 00 */ lwz r12, 0(r3) +/* 8031A0C0 00317020 81 8C 00 60 */ lwz r12, 0x60(r12) +/* 8031A0C4 00317024 7D 89 03 A6 */ mtctr r12 +/* 8031A0C8 00317028 4E 80 04 21 */ bctrl +/* 8031A0CC 0031702C 7E 31 1A 14 */ add r17, r17, r3 +/* 8031A0D0 00317030 3A 10 00 04 */ addi r16, r16, 4 +/* 8031A0D4 00317034 3A 52 00 01 */ addi r18, r18, 1 +lbl_8031A0D8: +/* 8031A0D8 00317038 7C 12 98 00 */ cmpw r18, r19 +/* 8031A0DC 0031703C 41 80 FF DC */ blt lbl_8031A0B8 +/* 8031A0E0 00317040 56 23 20 36 */ slwi r3, r17, 4 +/* 8031A0E4 00317044 80 01 00 00 */ lwz r0, 0(r1) +/* 8031A0E8 00317048 7E E3 00 D0 */ neg r23, r3 +/* 8031A0EC 0031704C 56 F7 00 38 */ rlwinm r23, r23, 0, 0, 0x1c +/* 8031A0F0 00317050 7C 01 B9 6E */ stwux r0, r1, r23 +/* 8031A0F4 00317054 7F DB F3 78 */ mr r27, r30 +/* 8031A0F8 00317058 3B 20 00 00 */ li r25, 0 +/* 8031A0FC 0031705C 3A C0 00 00 */ li r22, 0 +/* 8031A100 00317060 3A E1 00 08 */ addi r23, r1, 8 +/* 8031A104 00317064 7E FA BB 78 */ mr r26, r23 +/* 8031A108 00317068 48 00 01 24 */ b lbl_8031A22C +lbl_8031A10C: +/* 8031A10C 0031706C 82 BB 00 00 */ lwz r21, 0(r27) +/* 8031A110 00317070 7E A3 AB 78 */ mr r3, r21 +/* 8031A114 00317074 81 95 00 00 */ lwz r12, 0(r21) +/* 8031A118 00317078 81 8C 00 60 */ lwz r12, 0x60(r12) +/* 8031A11C 0031707C 7D 89 03 A6 */ mtctr r12 +/* 8031A120 00317080 4E 80 04 21 */ bctrl +/* 8031A124 00317084 C3 D5 00 80 */ lfs f30, 0x80(r21) +/* 8031A128 00317088 7C 71 1B 78 */ mr r17, r3 +/* 8031A12C 0031708C 7F 5C D3 78 */ mr r28, r26 +/* 8031A130 00317090 3A 80 00 00 */ li r20, 0 +/* 8031A134 00317094 3A 40 00 00 */ li r18, 0 +/* 8031A138 00317098 48 00 00 E4 */ b lbl_8031A21C +lbl_8031A13C: +/* 8031A13C 0031709C 80 15 00 3C */ lwz r0, 0x3c(r21) +/* 8031A140 003170A0 7E 00 92 14 */ add r16, r0, r18 +/* 8031A144 003170A4 80 10 00 00 */ lwz r0, 0(r16) +/* 8031A148 003170A8 2C 00 FF FF */ cmpwi r0, -1 +/* 8031A14C 003170AC 41 82 00 C8 */ beq lbl_8031A214 +/* 8031A150 003170B0 38 7F 00 3C */ addi r3, r31, 0x3c +/* 8031A154 003170B4 38 9F 00 94 */ addi r4, r31, 0x94 +/* 8031A158 003170B8 38 B0 00 04 */ addi r5, r16, 4 +/* 8031A15C 003170BC 4B FF 89 8D */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8031A160 003170C0 C0 1F 00 3C */ lfs f0, 0x3c(r31) +/* 8031A164 003170C4 38 7F 00 30 */ addi r3, r31, 0x30 +/* 8031A168 003170C8 38 9F 00 94 */ addi r4, r31, 0x94 +/* 8031A16C 003170CC 38 BF 00 24 */ addi r5, r31, 0x24 +/* 8031A170 003170D0 D0 1C 00 04 */ stfs f0, 4(r28) +/* 8031A174 003170D4 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 8031A178 003170D8 D0 1C 00 08 */ stfs f0, 8(r28) +/* 8031A17C 003170DC C0 1F 00 44 */ lfs f0, 0x44(r31) +/* 8031A180 003170E0 D0 1C 00 0C */ stfs f0, 0xc(r28) +/* 8031A184 003170E4 C0 10 00 08 */ lfs f0, 8(r16) +/* 8031A188 003170E8 C0 90 00 14 */ lfs f4, 0x14(r16) +/* 8031A18C 003170EC C0 30 00 0C */ lfs f1, 0xc(r16) +/* 8031A190 003170F0 EC A0 20 28 */ fsubs f5, f0, f4 +/* 8031A194 003170F4 C0 70 00 18 */ lfs f3, 0x18(r16) +/* 8031A198 003170F8 C0 10 00 04 */ lfs f0, 4(r16) +/* 8031A19C 003170FC EC 21 18 28 */ fsubs f1, f1, f3 +/* 8031A1A0 00317100 C0 50 00 10 */ lfs f2, 0x10(r16) +/* 8031A1A4 00317104 EC DE 01 72 */ fmuls f6, f30, f5 +/* 8031A1A8 00317108 EC 00 10 28 */ fsubs f0, f0, f2 +/* 8031A1AC 0031710C D0 BF 00 10 */ stfs f5, 0x10(r31) +/* 8031A1B0 00317110 EC BE 00 72 */ fmuls f5, f30, f1 +/* 8031A1B4 00317114 EC 86 20 2A */ fadds f4, f6, f4 +/* 8031A1B8 00317118 D0 3F 00 14 */ stfs f1, 0x14(r31) +/* 8031A1BC 0031711C EC 3E 00 32 */ fmuls f1, f30, f0 +/* 8031A1C0 00317120 EC 65 18 2A */ fadds f3, f5, f3 +/* 8031A1C4 00317124 D0 1F 00 0C */ stfs f0, 0xc(r31) +/* 8031A1C8 00317128 EC 01 10 2A */ fadds f0, f1, f2 +/* 8031A1CC 0031712C D0 3F 00 18 */ stfs f1, 0x18(r31) +/* 8031A1D0 00317130 D0 DF 00 1C */ stfs f6, 0x1c(r31) +/* 8031A1D4 00317134 D0 BF 00 20 */ stfs f5, 0x20(r31) +/* 8031A1D8 00317138 D0 1F 00 24 */ stfs f0, 0x24(r31) +/* 8031A1DC 0031713C D0 9F 00 28 */ stfs f4, 0x28(r31) +/* 8031A1E0 00317140 D0 7F 00 2C */ stfs f3, 0x2c(r31) +/* 8031A1E4 00317144 4B FF 89 05 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8031A1E8 00317148 C0 1F 00 30 */ lfs f0, 0x30(r31) +/* 8031A1EC 0031714C 3B 5A 00 10 */ addi r26, r26, 0x10 +/* 8031A1F0 00317150 3B 39 00 01 */ addi r25, r25, 1 +/* 8031A1F4 00317154 D0 1C 00 04 */ stfs f0, 4(r28) +/* 8031A1F8 00317158 C0 1F 00 34 */ lfs f0, 0x34(r31) +/* 8031A1FC 0031715C D0 1C 00 08 */ stfs f0, 8(r28) +/* 8031A200 00317160 C0 1F 00 38 */ lfs f0, 0x38(r31) +/* 8031A204 00317164 D0 1C 00 0C */ stfs f0, 0xc(r28) +/* 8031A208 00317168 B2 DC 00 00 */ sth r22, 0(r28) +/* 8031A20C 0031716C B2 9C 00 02 */ sth r20, 2(r28) +/* 8031A210 00317170 3B 9C 00 10 */ addi r28, r28, 0x10 +lbl_8031A214: +/* 8031A214 00317174 3A 94 00 01 */ addi r20, r20, 1 +/* 8031A218 00317178 3A 52 00 38 */ addi r18, r18, 0x38 +lbl_8031A21C: +/* 8031A21C 0031717C 7C 14 88 00 */ cmpw r20, r17 +/* 8031A220 00317180 41 80 FF 1C */ blt lbl_8031A13C +/* 8031A224 00317184 3B 7B 00 04 */ addi r27, r27, 4 +/* 8031A228 00317188 3A D6 00 01 */ addi r22, r22, 1 +lbl_8031A22C: +/* 8031A22C 0031718C 7C 16 98 00 */ cmpw r22, r19 +/* 8031A230 00317190 41 80 FE DC */ blt lbl_8031A10C +/* 8031A234 00317194 88 8D A8 C0 */ lbz r4, lbl_805A9480@sda21(r13) +/* 8031A238 00317198 57 20 20 36 */ slwi r0, r25, 4 +/* 8031A23C 0031719C 7E E3 BB 78 */ mr r3, r23 +/* 8031A240 003171A0 38 BF 00 08 */ addi r5, r31, 8 +/* 8031A244 003171A4 98 9F 00 08 */ stb r4, 8(r31) +/* 8031A248 003171A8 7C 97 02 14 */ add r4, r23, r0 +/* 8031A24C 003171AC 48 00 5F FD */ bl sub_80320248 +/* 8031A250 003171B0 3C 60 00 01 */ lis r3, 0x0000FFFF@ha +/* 8031A254 003171B4 C3 C2 C9 F8 */ lfs f30, lbl_805AE718@sda21(r2) +/* 8031A258 003171B8 C3 E2 C9 F4 */ lfs f31, lbl_805AE714@sda21(r2) +/* 8031A25C 003171BC 7E FA BB 78 */ mr r26, r23 +/* 8031A260 003171C0 3A 83 FF FF */ addi r20, r3, 0x0000FFFF@l +/* 8031A264 003171C4 3A A0 00 00 */ li r21, 0 +/* 8031A268 003171C8 3A C0 00 00 */ li r22, 0 +/* 8031A26C 003171CC 3A E0 00 00 */ li r23, 0 +/* 8031A270 003171D0 3B 60 00 00 */ li r27, 0 +/* 8031A274 003171D4 3E 40 CC 01 */ lis r18, 0xcc01 +/* 8031A278 003171D8 48 00 02 20 */ b lbl_8031A498 +lbl_8031A27C: +/* 8031A27C 003171DC A3 9A 00 00 */ lhz r28, 0(r26) +/* 8031A280 003171E0 56 80 04 3E */ clrlwi r0, r20, 0x10 +/* 8031A284 003171E4 7C 00 E0 40 */ cmplw r0, r28 +/* 8031A288 003171E8 41 82 00 94 */ beq lbl_8031A31C +/* 8031A28C 003171EC 57 93 13 BA */ rlwinm r19, r28, 2, 0xe, 0x1d +/* 8031A290 003171F0 7E BE 98 2E */ lwzx r21, r30, r19 +/* 8031A294 003171F4 7E A3 AB 78 */ mr r3, r21 +/* 8031A298 003171F8 4B FF D6 ED */ bl GetEmitterTime__11CElementGenFv +/* 8031A29C 003171FC 7C 9E 98 2E */ lwzx r4, r30, r19 +/* 8031A2A0 00317200 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 8031A2A4 00317204 7C 77 1B 78 */ mr r23, r3 +/* 8031A2A8 00317208 80 84 00 28 */ lwz r4, 0x28(r4) +/* 8031A2AC 0031720C 7C 96 23 78 */ mr r22, r4 +/* 8031A2B0 00317210 40 82 00 40 */ bne lbl_8031A2F0 +/* 8031A2B4 00317214 88 04 00 30 */ lbz r0, 0x30(r4) +/* 8031A2B8 00317218 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 8031A2BC 0031721C 41 82 00 1C */ beq lbl_8031A2D8 +/* 8031A2C0 00317220 38 60 00 01 */ li r3, 1 +/* 8031A2C4 00317224 38 80 00 04 */ li r4, 4 +/* 8031A2C8 00317228 38 A0 00 01 */ li r5, 1 +/* 8031A2CC 0031722C 38 C0 00 00 */ li r6, 0 +/* 8031A2D0 00317230 4B FF 17 81 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +/* 8031A2D4 00317234 48 00 00 30 */ b lbl_8031A304 +lbl_8031A2D8: +/* 8031A2D8 00317238 38 60 00 01 */ li r3, 1 +/* 8031A2DC 0031723C 38 80 00 04 */ li r4, 4 +/* 8031A2E0 00317240 38 A0 00 05 */ li r5, 5 +/* 8031A2E4 00317244 38 C0 00 00 */ li r6, 0 +/* 8031A2E8 00317248 4B FF 17 69 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +/* 8031A2EC 0031724C 48 00 00 18 */ b lbl_8031A304 +lbl_8031A2F0: +/* 8031A2F0 00317250 7F 03 C3 78 */ mr r3, r24 +/* 8031A2F4 00317254 7F 85 E3 78 */ mr r5, r28 +/* 8031A2F8 00317258 38 80 00 00 */ li r4, 0 +/* 8031A2FC 0031725C 38 C0 00 FF */ li r6, 0xff +/* 8031A300 00317260 4B FE E6 4D */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +lbl_8031A304: +/* 8031A304 00317264 7F 85 E3 78 */ mr r5, r28 +/* 8031A308 00317268 38 60 00 00 */ li r3, 0 +/* 8031A30C 0031726C 38 80 00 00 */ li r4, 0 +/* 8031A310 00317270 38 C0 00 04 */ li r6, 4 +/* 8031A314 00317274 4B FE E6 39 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 8031A318 00317278 7F 94 E3 78 */ mr r20, r28 +lbl_8031A31C: +/* 8031A31C 0031727C A0 1A 00 02 */ lhz r0, 2(r26) +/* 8031A320 00317280 80 75 00 3C */ lwz r3, 0x3c(r21) +/* 8031A324 00317284 1C 00 00 38 */ mulli r0, r0, 0x38 +/* 8031A328 00317288 7E 03 02 14 */ add r16, r3, r0 +/* 8031A32C 0031728C 80 90 00 28 */ lwz r4, 0x28(r16) +/* 8031A330 00317290 80 10 00 00 */ lwz r0, 0(r16) +/* 8031A334 00317294 7C 64 B8 50 */ subf r3, r4, r23 +/* 8031A338 00317298 3A 23 FF FF */ addi r17, r3, -1 +/* 8031A33C 0031729C 7C 64 00 50 */ subf r3, r4, r0 +/* 8031A340 003172A0 48 01 04 39 */ bl SetParticleLifetime__16CParticleGlobalsFi +/* 8031A344 003172A4 7E 23 8B 78 */ mr r3, r17 +/* 8031A348 003172A8 48 01 03 35 */ bl UpdateParticleLifetimeTweenValues__16CParticleGlobalsFi +/* 8031A34C 003172AC 80 76 00 40 */ lwz r3, 0x40(r22) +/* 8031A350 003172B0 7E 24 8B 78 */ mr r4, r17 +/* 8031A354 003172B4 38 BF 00 54 */ addi r5, r31, 0x54 +/* 8031A358 003172B8 81 83 00 00 */ lwz r12, 0(r3) +/* 8031A35C 003172BC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031A360 003172C0 7D 89 03 A6 */ mtctr r12 +/* 8031A364 003172C4 4E 80 04 21 */ bctrl +/* 8031A368 003172C8 38 60 00 80 */ li r3, 0x80 +/* 8031A36C 003172CC 38 80 00 06 */ li r4, 6 +/* 8031A370 003172D0 38 A0 00 04 */ li r5, 4 +/* 8031A374 003172D4 4B FE E2 11 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 8031A378 003172D8 C0 10 00 30 */ lfs f0, 0x30(r16) +/* 8031A37C 003172DC C0 30 00 2C */ lfs f1, 0x2c(r16) +/* 8031A380 003172E0 EF 9F 00 32 */ fmuls f28, f31, f0 +/* 8031A384 003172E4 82 10 00 34 */ lwz r16, 0x34(r16) +/* 8031A388 003172E8 EF BE 00 72 */ fmuls f29, f30, f1 +/* 8031A38C 003172EC FC 20 E0 90 */ fmr f1, f28 +/* 8031A390 003172F0 4B FF AA 61 */ bl FastSinR__5CMathFf +/* 8031A394 003172F4 EF 7D 00 72 */ fmuls f27, f29, f1 +/* 8031A398 003172F8 FC 20 E0 90 */ fmr f1, f28 +/* 8031A39C 003172FC 4B FF A9 A9 */ bl FastCosR__5CMathFf +/* 8031A3A0 00317300 ED 3D 00 72 */ fmuls f9, f29, f1 +/* 8031A3A4 00317304 C0 3A 00 04 */ lfs f1, 4(r26) +/* 8031A3A8 00317308 FC 00 D8 50 */ fneg f0, f27 +/* 8031A3AC 0031730C C0 7A 00 0C */ lfs f3, 0xc(r26) +/* 8031A3B0 00317310 C0 DA 00 08 */ lfs f6, 8(r26) +/* 8031A3B4 00317314 ED 1B 48 2A */ fadds f8, f27, f9 +/* 8031A3B8 00317318 EC E9 D8 28 */ fsubs f7, f9, f27 +/* 8031A3BC 0031731C FC 40 48 50 */ fneg f2, f9 +/* 8031A3C0 00317320 EC 28 08 2A */ fadds f1, f8, f1 +/* 8031A3C4 00317324 EC A7 18 2A */ fadds f5, f7, f3 +/* 8031A3C8 00317328 EC 9B 48 28 */ fsubs f4, f27, f9 +/* 8031A3CC 0031732C D0 32 80 00 */ stfs f1, 0xCC008000@l(r18) +/* 8031A3D0 00317330 EC 20 48 2A */ fadds f1, f0, f9 +/* 8031A3D4 00317334 EC 62 D8 28 */ fsubs f3, f2, f27 +/* 8031A3D8 00317338 D0 D2 80 00 */ stfs f6, 0xCC008000@l(r18) +/* 8031A3DC 0031733C D0 B2 80 00 */ stfs f5, 0xCC008000@l(r18) +/* 8031A3E0 00317340 92 12 80 00 */ stw r16, 0xCC008000@l(r18) +/* 8031A3E4 00317344 C0 1F 00 5C */ lfs f0, 0x5c(r31) +/* 8031A3E8 00317348 D0 12 80 00 */ stfs f0, 0xCC008000@l(r18) +/* 8031A3EC 0031734C C0 1F 00 60 */ lfs f0, 0x60(r31) +/* 8031A3F0 00317350 D0 12 80 00 */ stfs f0, 0xCC008000@l(r18) +/* 8031A3F4 00317354 C0 1A 00 04 */ lfs f0, 4(r26) +/* 8031A3F8 00317358 C0 5A 00 0C */ lfs f2, 0xc(r26) +/* 8031A3FC 0031735C EC 04 00 2A */ fadds f0, f4, f0 +/* 8031A400 00317360 C0 9A 00 08 */ lfs f4, 8(r26) +/* 8031A404 00317364 EC 48 10 2A */ fadds f2, f8, f2 +/* 8031A408 00317368 D0 12 80 00 */ stfs f0, 0xCC008000@l(r18) +/* 8031A40C 0031736C D0 92 80 00 */ stfs f4, 0xCC008000@l(r18) +/* 8031A410 00317370 D0 52 80 00 */ stfs f2, 0xCC008000@l(r18) +/* 8031A414 00317374 92 12 80 00 */ stw r16, 0xCC008000@l(r18) +/* 8031A418 00317378 C0 BF 00 54 */ lfs f5, 0x54(r31) +/* 8031A41C 0031737C D0 B2 80 00 */ stfs f5, 0xCC008000@l(r18) +/* 8031A420 00317380 C0 1F 00 60 */ lfs f0, 0x60(r31) +/* 8031A424 00317384 D0 12 80 00 */ stfs f0, 0xCC008000@l(r18) +/* 8031A428 00317388 C0 1A 00 04 */ lfs f0, 4(r26) +/* 8031A42C 0031738C C0 5A 00 0C */ lfs f2, 0xc(r26) +/* 8031A430 00317390 EC 00 40 28 */ fsubs f0, f0, f8 +/* 8031A434 00317394 C0 9A 00 08 */ lfs f4, 8(r26) +/* 8031A438 00317398 EC 42 38 28 */ fsubs f2, f2, f7 +/* 8031A43C 0031739C D0 12 80 00 */ stfs f0, 0xCC008000@l(r18) +/* 8031A440 003173A0 D0 92 80 00 */ stfs f4, 0xCC008000@l(r18) +/* 8031A444 003173A4 D0 52 80 00 */ stfs f2, 0xCC008000@l(r18) +/* 8031A448 003173A8 92 12 80 00 */ stw r16, 0xCC008000@l(r18) +/* 8031A44C 003173AC D0 B2 80 00 */ stfs f5, 0xCC008000@l(r18) +/* 8031A450 003173B0 C0 1F 00 58 */ lfs f0, 0x58(r31) +/* 8031A454 003173B4 D0 12 80 00 */ stfs f0, 0xCC008000@l(r18) +/* 8031A458 003173B8 C0 1A 00 04 */ lfs f0, 4(r26) +/* 8031A45C 003173BC C0 5A 00 0C */ lfs f2, 0xc(r26) +/* 8031A460 003173C0 EC 01 00 2A */ fadds f0, f1, f0 +/* 8031A464 003173C4 C0 9A 00 08 */ lfs f4, 8(r26) +/* 8031A468 003173C8 EC 23 10 2A */ fadds f1, f3, f2 +/* 8031A46C 003173CC D0 12 80 00 */ stfs f0, 0xCC008000@l(r18) +/* 8031A470 003173D0 D0 92 80 00 */ stfs f4, 0xCC008000@l(r18) +/* 8031A474 003173D4 D0 32 80 00 */ stfs f1, 0xCC008000@l(r18) +/* 8031A478 003173D8 92 12 80 00 */ stw r16, 0xCC008000@l(r18) +/* 8031A47C 003173DC C0 1F 00 5C */ lfs f0, 0x5c(r31) +/* 8031A480 003173E0 D0 12 80 00 */ stfs f0, 0xCC008000@l(r18) +/* 8031A484 003173E4 C0 1F 00 58 */ lfs f0, 0x58(r31) +/* 8031A488 003173E8 D0 12 80 00 */ stfs f0, 0xCC008000@l(r18) +/* 8031A48C 003173EC 4B FE E0 F5 */ bl End__3CGXFv +/* 8031A490 003173F0 3B 5A 00 10 */ addi r26, r26, 0x10 +/* 8031A494 003173F4 3B 7B 00 01 */ addi r27, r27, 1 +lbl_8031A498: +/* 8031A498 003173F8 7C 1B C8 00 */ cmpw r27, r25 +/* 8031A49C 003173FC 41 80 FD E0 */ blt lbl_8031A27C +/* 8031A4A0 00317400 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 8031A4A4 00317404 41 82 00 14 */ beq lbl_8031A4B8 +/* 8031A4A8 00317408 7F 03 C3 78 */ mr r3, r24 +/* 8031A4AC 0031740C 38 80 00 00 */ li r4, 0 +/* 8031A4B0 00317410 38 A0 00 00 */ li r5, 0 +/* 8031A4B4 00317414 48 06 13 7D */ bl GXSetTevSwapMode +lbl_8031A4B8: +/* 8031A4B8 00317418 38 60 00 01 */ li r3, 1 +/* 8031A4BC 0031741C 4B FF 15 B5 */ bl SetCullMode__9CGraphicsF12ERglCullMode +/* 8031A4C0 00317420 38 60 00 07 */ li r3, 7 +/* 8031A4C4 00317424 38 80 00 00 */ li r4, 0 +/* 8031A4C8 00317428 38 A0 00 00 */ li r5, 0 +/* 8031A4CC 0031742C 38 C0 00 07 */ li r6, 7 +/* 8031A4D0 00317430 38 E0 00 00 */ li r7, 0 +/* 8031A4D4 00317434 4B FF 15 55 */ bl SetAlphaCompare__9CGraphicsF13ERglAlphaFuncUc11ERglAlphaOp13ERglAlphaFuncUc +/* 8031A4D8 00317438 7F EA FB 78 */ mr r10, r31 +/* 8031A4DC 0031743C E3 EA 01 B8 */ psq_l f31, 440(r10), 0, qr0 +/* 8031A4E0 00317440 CB FF 01 B0 */ lfd f31, 0x1b0(r31) +/* 8031A4E4 00317444 E3 CA 01 A8 */ psq_l f30, 424(r10), 0, qr0 +/* 8031A4E8 00317448 CB DF 01 A0 */ lfd f30, 0x1a0(r31) +/* 8031A4EC 0031744C E3 AA 01 98 */ psq_l f29, 408(r10), 0, qr0 +/* 8031A4F0 00317450 CB BF 01 90 */ lfd f29, 0x190(r31) +/* 8031A4F4 00317454 E3 8A 01 88 */ psq_l f28, 392(r10), 0, qr0 +/* 8031A4F8 00317458 CB 9F 01 80 */ lfd f28, 0x180(r31) +/* 8031A4FC 0031745C E3 6A 01 78 */ psq_l f27, 376(r10), 0, qr0 +/* 8031A500 00317460 CB 7F 01 70 */ lfd f27, 0x170(r31) +/* 8031A504 00317464 BA 0A 01 30 */ lmw r16, 0x130(r10) +/* 8031A508 00317468 81 41 00 00 */ lwz r10, 0(r1) +/* 8031A50C 0031746C 80 0A 00 04 */ lwz r0, 4(r10) +/* 8031A510 00317470 7D 41 53 78 */ mr r1, r10 +/* 8031A514 00317474 7C 08 03 A6 */ mtlr r0 +/* 8031A518 00317478 4E 80 00 20 */ blr + +.global RenderParticles__11CElementGenFv +RenderParticles__11CElementGenFv: +/* 8031A51C 0031747C 94 21 FB 60 */ stwu r1, -0x4a0(r1) +/* 8031A520 00317480 7C 08 02 A6 */ mflr r0 +/* 8031A524 00317484 90 01 04 A4 */ stw r0, 0x4a4(r1) +/* 8031A528 00317488 DB E1 04 90 */ stfd f31, 0x490(r1) +/* 8031A52C 0031748C F3 E1 04 98 */ psq_st f31, 1176(r1), 0, qr0 +/* 8031A530 00317490 DB C1 04 80 */ stfd f30, 0x480(r1) +/* 8031A534 00317494 F3 C1 04 88 */ psq_st f30, 1160(r1), 0, qr0 +/* 8031A538 00317498 DB A1 04 70 */ stfd f29, 0x470(r1) +/* 8031A53C 0031749C F3 A1 04 78 */ psq_st f29, 1144(r1), 0, qr0 +/* 8031A540 003174A0 DB 81 04 60 */ stfd f28, 0x460(r1) +/* 8031A544 003174A4 F3 81 04 68 */ psq_st f28, 1128(r1), 0, qr0 +/* 8031A548 003174A8 DB 61 04 50 */ stfd f27, 0x450(r1) +/* 8031A54C 003174AC F3 61 04 58 */ psq_st f27, 1112(r1), 0, qr0 +/* 8031A550 003174B0 DB 41 04 40 */ stfd f26, 0x440(r1) +/* 8031A554 003174B4 F3 41 04 48 */ psq_st f26, 1096(r1), 0, qr0 +/* 8031A558 003174B8 DB 21 04 30 */ stfd f25, 0x430(r1) +/* 8031A55C 003174BC F3 21 04 38 */ psq_st f25, 1080(r1), 0, qr0 +/* 8031A560 003174C0 DB 01 04 20 */ stfd f24, 0x420(r1) +/* 8031A564 003174C4 F3 01 04 28 */ psq_st f24, 1064(r1), 0, qr0 +/* 8031A568 003174C8 DA E1 04 10 */ stfd f23, 0x410(r1) +/* 8031A56C 003174CC F2 E1 04 18 */ psq_st f23, 1048(r1), 0, qr0 +/* 8031A570 003174D0 DA C1 04 00 */ stfd f22, 0x400(r1) +/* 8031A574 003174D4 F2 C1 04 08 */ psq_st f22, 1032(r1), 0, qr0 +/* 8031A578 003174D8 DA A1 03 F0 */ stfd f21, 0x3f0(r1) +/* 8031A57C 003174DC F2 A1 03 F8 */ psq_st f21, 1016(r1), 0, qr0 +/* 8031A580 003174E0 DA 81 03 E0 */ stfd f20, 0x3e0(r1) +/* 8031A584 003174E4 F2 81 03 E8 */ psq_st f20, 1000(r1), 0, qr0 +/* 8031A588 003174E8 DA 61 03 D0 */ stfd f19, 0x3d0(r1) +/* 8031A58C 003174EC F2 61 03 D8 */ psq_st f19, 984(r1), 0, qr0 +/* 8031A590 003174F0 DA 41 03 C0 */ stfd f18, 0x3c0(r1) +/* 8031A594 003174F4 F2 41 03 C8 */ psq_st f18, 968(r1), 0, qr0 +/* 8031A598 003174F8 DA 21 03 B0 */ stfd f17, 0x3b0(r1) +/* 8031A59C 003174FC F2 21 03 B8 */ psq_st f17, 952(r1), 0, qr0 +/* 8031A5A0 00317500 BE 41 03 78 */ stmw r18, 0x378(r1) +/* 8031A5A4 00317504 7C 3F 0B 78 */ mr r31, r1 +/* 8031A5A8 00317508 7C 7E 1B 78 */ mr r30, r3 +/* 8031A5AC 0031750C 38 7F 01 50 */ addi r3, r31, 0x150 +/* 8031A5B0 00317510 38 9E 02 7C */ addi r4, r30, 0x27c +/* 8031A5B4 00317514 4B FF 80 CD */ bl __ct__13CGlobalRandomFR9CRandom16 +/* 8031A5B8 00317518 7F C3 F3 78 */ mr r3, r30 +/* 8031A5BC 0031751C 4B FF D0 89 */ bl IsIndirectTextured__11CElementGenCFv +/* 8031A5C0 00317520 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8031A5C4 00317524 41 82 00 1C */ beq lbl_8031A5E0 +/* 8031A5C8 00317528 7F C3 F3 78 */ mr r3, r30 +/* 8031A5CC 0031752C 4B FF ED 09 */ bl RenderParticlesIndirectTexture__11CElementGenFv +/* 8031A5D0 00317530 38 7F 01 50 */ addi r3, r31, 0x150 +/* 8031A5D4 00317534 38 80 FF FF */ li r4, -1 +/* 8031A5D8 00317538 4B FF 80 2D */ bl __dt__13CGlobalRandomFv +/* 8031A5DC 0031753C 48 00 18 8C */ b lbl_8031BE68 +lbl_8031A5E0: +/* 8031A5E0 00317540 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 8031A5E4 00317544 80 63 00 38 */ lwz r3, 0x38(r3) +/* 8031A5E8 00317548 28 03 00 00 */ cmplwi r3, 0 +/* 8031A5EC 0031754C 41 82 00 9C */ beq lbl_8031A688 +/* 8031A5F0 00317550 81 83 00 00 */ lwz r12, 0(r3) +/* 8031A5F4 00317554 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 8031A5F8 00317558 7D 89 03 A6 */ mtctr r12 +/* 8031A5FC 0031755C 4E 80 04 21 */ bctrl +/* 8031A600 00317560 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8031A604 00317564 41 82 00 84 */ beq lbl_8031A688 +/* 8031A608 00317568 C0 02 C9 F0 */ lfs f0, lbl_805AE710@sda21(r2) +/* 8031A60C 0031756C 38 BF 00 3C */ addi r5, r31, 0x3c +/* 8031A610 00317570 38 80 00 00 */ li r4, 0 +/* 8031A614 00317574 D0 1F 00 3C */ stfs f0, 0x3c(r31) +/* 8031A618 00317578 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 8031A61C 0031757C 80 63 00 38 */ lwz r3, 0x38(r3) +/* 8031A620 00317580 81 83 00 00 */ lwz r12, 0(r3) +/* 8031A624 00317584 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031A628 00317588 7D 89 03 A6 */ mtctr r12 +/* 8031A62C 0031758C 4E 80 04 21 */ bctrl +/* 8031A630 00317590 C0 22 C9 E8 */ lfs f1, lbl_805AE708@sda21(r2) +/* 8031A634 00317594 C0 1F 00 3C */ lfs f0, 0x3c(r31) +/* 8031A638 00317598 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 8031A63C 0031759C 40 82 00 4C */ bne lbl_8031A688 +/* 8031A640 003175A0 C0 02 C9 F0 */ lfs f0, lbl_805AE710@sda21(r2) +/* 8031A644 003175A4 38 BF 00 3C */ addi r5, r31, 0x3c +/* 8031A648 003175A8 38 80 00 01 */ li r4, 1 +/* 8031A64C 003175AC D0 1F 00 3C */ stfs f0, 0x3c(r31) +/* 8031A650 003175B0 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 8031A654 003175B4 80 63 00 38 */ lwz r3, 0x38(r3) +/* 8031A658 003175B8 81 83 00 00 */ lwz r12, 0(r3) +/* 8031A65C 003175BC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031A660 003175C0 7D 89 03 A6 */ mtctr r12 +/* 8031A664 003175C4 4E 80 04 21 */ bctrl +/* 8031A668 003175C8 C0 22 C9 E8 */ lfs f1, lbl_805AE708@sda21(r2) +/* 8031A66C 003175CC C0 1F 00 3C */ lfs f0, 0x3c(r31) +/* 8031A670 003175D0 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 8031A674 003175D4 40 82 00 14 */ bne lbl_8031A688 +/* 8031A678 003175D8 38 7F 01 50 */ addi r3, r31, 0x150 +/* 8031A67C 003175DC 38 80 FF FF */ li r4, -1 +/* 8031A680 003175E0 4B FF 7F 85 */ bl __dt__13CGlobalRandomFv +/* 8031A684 003175E4 48 00 17 E4 */ b lbl_8031BE68 +lbl_8031A688: +/* 8031A688 003175E8 38 60 00 00 */ li r3, 0 +/* 8031A68C 003175EC 4B FF 13 E5 */ bl SetCullMode__9CGraphicsF12ERglCullMode +/* 8031A690 003175F0 80 DE 03 38 */ lwz r6, 0x338(r30) +/* 8031A694 003175F4 3C 60 80 5A */ lis r3, lbl_805A61D4@ha +/* 8031A698 003175F8 38 83 61 D4 */ addi r4, r3, lbl_805A61D4@l +/* 8031A69C 003175FC 20 A6 FF FF */ subfic r5, r6, -1 +/* 8031A6A0 00317600 38 06 00 01 */ addi r0, r6, 1 +/* 8031A6A4 00317604 7C A0 03 78 */ or r0, r5, r0 +/* 8031A6A8 00317608 38 7F 03 34 */ addi r3, r31, 0x334 +/* 8031A6AC 0031760C 54 14 0F FE */ srwi r20, r0, 0x1f +/* 8031A6B0 00317610 4B FF 84 C5 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8031A6B4 00317614 38 7F 03 04 */ addi r3, r31, 0x304 +/* 8031A6B8 00317618 38 9F 03 34 */ addi r4, r31, 0x334 +/* 8031A6BC 0031761C 4B FF 84 B9 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8031A6C0 00317620 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8031A6C4 00317624 38 7F 02 74 */ addi r3, r31, 0x274 +/* 8031A6C8 00317628 38 A4 66 A0 */ addi r5, r4, skZero3f@l +/* 8031A6CC 0031762C 38 9F 03 04 */ addi r4, r31, 0x304 +/* 8031A6D0 00317630 C0 45 00 00 */ lfs f2, 0(r5) +/* 8031A6D4 00317634 C0 25 00 04 */ lfs f1, 4(r5) +/* 8031A6D8 00317638 C0 05 00 08 */ lfs f0, 8(r5) +/* 8031A6DC 0031763C D0 5F 03 10 */ stfs f2, 0x310(r31) +/* 8031A6E0 00317640 D0 3F 03 20 */ stfs f1, 0x320(r31) +/* 8031A6E4 00317644 D0 1F 03 30 */ stfs f0, 0x330(r31) +/* 8031A6E8 00317648 4B FF 85 B5 */ bl GetQuickInverse__12CTransform4fCFv +/* 8031A6EC 0031764C 38 7F 02 A4 */ addi r3, r31, 0x2a4 +/* 8031A6F0 00317650 38 9F 02 74 */ addi r4, r31, 0x274 +/* 8031A6F4 00317654 38 BE 02 2C */ addi r5, r30, 0x22c +/* 8031A6F8 00317658 4B FF 82 59 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8031A6FC 0031765C 38 7F 02 D4 */ addi r3, r31, 0x2d4 +/* 8031A700 00317660 38 9F 02 A4 */ addi r4, r31, 0x2a4 +/* 8031A704 00317664 4B FF 84 71 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8031A708 00317668 38 7F 01 B4 */ addi r3, r31, 0x1b4 +/* 8031A70C 0031766C 38 9E 00 E8 */ addi r4, r30, 0xe8 +/* 8031A710 00317670 4B FF 8A 31 */ bl Translate__12CTransform4fFRC9CVector3f +/* 8031A714 00317674 38 7F 01 E4 */ addi r3, r31, 0x1e4 +/* 8031A718 00317678 38 9F 01 B4 */ addi r4, r31, 0x1b4 +/* 8031A71C 0031767C 38 BE 01 0C */ addi r5, r30, 0x10c +/* 8031A720 00317680 4B FF 82 31 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8031A724 00317684 38 7F 02 14 */ addi r3, r31, 0x214 +/* 8031A728 00317688 38 9F 01 E4 */ addi r4, r31, 0x1e4 +/* 8031A72C 0031768C 38 BF 03 04 */ addi r5, r31, 0x304 +/* 8031A730 00317690 4B FF 82 21 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8031A734 00317694 38 7F 02 44 */ addi r3, r31, 0x244 +/* 8031A738 00317698 38 9F 02 14 */ addi r4, r31, 0x214 +/* 8031A73C 0031769C 38 BE 01 78 */ addi r5, r30, 0x178 +/* 8031A740 003176A0 4B FF 82 11 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8031A744 003176A4 38 7F 03 04 */ addi r3, r31, 0x304 +/* 8031A748 003176A8 38 9F 02 44 */ addi r4, r31, 0x244 +/* 8031A74C 003176AC 4B FF 83 F5 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8031A750 003176B0 88 1E 02 6C */ lbz r0, 0x26c(r30) +/* 8031A754 003176B4 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 8031A758 003176B8 41 82 00 20 */ beq lbl_8031A778 +/* 8031A75C 003176BC 38 7F 01 84 */ addi r3, r31, 0x184 +/* 8031A760 003176C0 38 9F 03 04 */ addi r4, r31, 0x304 +/* 8031A764 003176C4 38 BF 02 D4 */ addi r5, r31, 0x2d4 +/* 8031A768 003176C8 4B FF 81 E9 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8031A76C 003176CC 38 7F 01 84 */ addi r3, r31, 0x184 +/* 8031A770 003176D0 4B FF 1E 71 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 8031A774 003176D4 48 00 00 0C */ b lbl_8031A780 +lbl_8031A778: +/* 8031A778 003176D8 38 7F 03 04 */ addi r3, r31, 0x304 +/* 8031A77C 003176DC 4B FF 1E 65 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +lbl_8031A780: +/* 8031A780 003176E0 38 60 00 04 */ li r3, 4 +/* 8031A784 003176E4 38 80 00 00 */ li r4, 0 +/* 8031A788 003176E8 38 A0 00 00 */ li r5, 0 +/* 8031A78C 003176EC 38 C0 00 07 */ li r6, 7 +/* 8031A790 003176F0 38 E0 00 00 */ li r7, 0 +/* 8031A794 003176F4 4B FF 12 95 */ bl SetAlphaCompare__9CGraphicsF13ERglAlphaFuncUc11ERglAlphaOp13ERglAlphaFuncUc +/* 8031A798 003176F8 C0 22 C9 E8 */ lfs f1, lbl_805AE708@sda21(r2) +/* 8031A79C 003176FC 3B 80 00 01 */ li r28, 1 +/* 8031A7A0 00317700 C0 02 C9 F0 */ lfs f0, lbl_805AE710@sda21(r2) +/* 8031A7A4 00317704 D0 3F 01 40 */ stfs f1, 0x140(r31) +/* 8031A7A8 00317708 D0 1F 01 48 */ stfs f0, 0x148(r31) +/* 8031A7AC 0031770C D0 3F 01 44 */ stfs f1, 0x144(r31) +/* 8031A7B0 00317710 D0 1F 01 4C */ stfs f0, 0x14c(r31) +/* 8031A7B4 00317714 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 8031A7B8 00317718 80 63 00 3C */ lwz r3, 0x3c(r3) +/* 8031A7BC 0031771C 7C 60 00 34 */ cntlzw r0, r3 +/* 8031A7C0 00317720 28 03 00 00 */ cmplwi r3, 0 +/* 8031A7C4 00317724 54 1D D9 7E */ srwi r29, r0, 5 +/* 8031A7C8 00317728 41 82 00 90 */ beq lbl_8031A858 +/* 8031A7CC 0031772C 81 83 00 00 */ lwz r12, 0(r3) +/* 8031A7D0 00317730 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 8031A7D4 00317734 7D 89 03 A6 */ mtctr r12 +/* 8031A7D8 00317738 4E 80 04 21 */ bctrl +/* 8031A7DC 0031773C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8031A7E0 00317740 41 82 00 78 */ beq lbl_8031A858 +/* 8031A7E4 00317744 C0 02 C9 F0 */ lfs f0, lbl_805AE710@sda21(r2) +/* 8031A7E8 00317748 38 BF 00 38 */ addi r5, r31, 0x38 +/* 8031A7EC 0031774C 38 80 00 00 */ li r4, 0 +/* 8031A7F0 00317750 D0 1F 00 38 */ stfs f0, 0x38(r31) +/* 8031A7F4 00317754 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 8031A7F8 00317758 80 63 00 3C */ lwz r3, 0x3c(r3) +/* 8031A7FC 0031775C 81 83 00 00 */ lwz r12, 0(r3) +/* 8031A800 00317760 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031A804 00317764 7D 89 03 A6 */ mtctr r12 +/* 8031A808 00317768 4E 80 04 21 */ bctrl +/* 8031A80C 0031776C C0 22 C9 E8 */ lfs f1, lbl_805AE708@sda21(r2) +/* 8031A810 00317770 C0 1F 00 38 */ lfs f0, 0x38(r31) +/* 8031A814 00317774 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 8031A818 00317778 40 82 00 40 */ bne lbl_8031A858 +/* 8031A81C 0031777C C0 02 C9 F0 */ lfs f0, lbl_805AE710@sda21(r2) +/* 8031A820 00317780 38 BF 00 38 */ addi r5, r31, 0x38 +/* 8031A824 00317784 38 80 00 01 */ li r4, 1 +/* 8031A828 00317788 D0 1F 00 38 */ stfs f0, 0x38(r31) +/* 8031A82C 0031778C 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 8031A830 00317790 80 63 00 3C */ lwz r3, 0x3c(r3) +/* 8031A834 00317794 81 83 00 00 */ lwz r12, 0(r3) +/* 8031A838 00317798 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031A83C 0031779C 7D 89 03 A6 */ mtctr r12 +/* 8031A840 003177A0 4E 80 04 21 */ bctrl +/* 8031A844 003177A4 C0 22 C9 E8 */ lfs f1, lbl_805AE708@sda21(r2) +/* 8031A848 003177A8 C0 1F 00 38 */ lfs f0, 0x38(r31) +/* 8031A84C 003177AC FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 8031A850 003177B0 40 82 00 08 */ bne lbl_8031A858 +/* 8031A854 003177B4 3B A0 00 01 */ li r29, 1 +lbl_8031A858: +/* 8031A858 003177B8 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 8031A85C 003177BC 80 83 00 40 */ lwz r4, 0x40(r3) +/* 8031A860 003177C0 28 04 00 00 */ cmplwi r4, 0 +/* 8031A864 003177C4 41 82 01 EC */ beq lbl_8031AA50 +/* 8031A868 003177C8 80 BE 00 3C */ lwz r5, 0x3c(r30) +/* 8031A86C 003177CC 38 7F 01 1C */ addi r3, r31, 0x11c +/* 8031A870 003177D0 81 84 00 00 */ lwz r12, 0(r4) +/* 8031A874 003177D4 80 A5 00 28 */ lwz r5, 0x28(r5) +/* 8031A878 003177D8 80 1E 00 74 */ lwz r0, 0x74(r30) +/* 8031A87C 003177DC 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 8031A880 003177E0 7C A5 00 50 */ subf r5, r5, r0 +/* 8031A884 003177E4 7D 89 03 A6 */ mtctr r12 +/* 8031A888 003177E8 4E 80 04 21 */ bctrl +/* 8031A88C 003177EC 38 7F 00 40 */ addi r3, r31, 0x40 +/* 8031A890 003177F0 38 9F 01 1C */ addi r4, r31, 0x11c +/* 8031A894 003177F4 48 02 66 15 */ bl __ct__6CTokenFRC6CToken +/* 8031A898 003177F8 38 7F 01 1C */ addi r3, r31, 0x11c +/* 8031A89C 003177FC 38 80 00 00 */ li r4, 0 +/* 8031A8A0 00317800 48 02 65 A1 */ bl __dt__6CTokenFv +/* 8031A8A4 00317804 38 7F 00 40 */ addi r3, r31, 0x40 +/* 8031A8A8 00317808 48 02 65 65 */ bl GetObj__6CTokenFv +/* 8031A8AC 0031780C 80 63 00 04 */ lwz r3, 4(r3) +/* 8031A8B0 00317810 38 80 00 00 */ li r4, 0 +/* 8031A8B4 00317814 38 A0 00 01 */ li r5, 1 +/* 8031A8B8 00317818 4B FF 4E 85 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode +/* 8031A8BC 0031781C 3C 80 80 5A */ lis r4, lbl_805A5EBC@ha +/* 8031A8C0 00317820 38 60 00 00 */ li r3, 0 +/* 8031A8C4 00317824 38 84 5E BC */ addi r4, r4, lbl_805A5EBC@l +/* 8031A8C8 00317828 4B FE F9 F1 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +/* 8031A8CC 0031782C 28 14 00 00 */ cmplwi r20, 0 +/* 8031A8D0 00317830 41 82 01 18 */ beq lbl_8031A9E8 +/* 8031A8D4 00317834 88 0D A8 BB */ lbz r0, lbl_805A947B@sda21(r13) +/* 8031A8D8 00317838 7C 00 07 75 */ extsb. r0, r0 +/* 8031A8DC 0031783C 40 82 00 F8 */ bne lbl_8031A9D4 +/* 8031A8E0 00317840 38 00 00 00 */ li r0, 0 +/* 8031A8E4 00317844 38 A0 00 01 */ li r5, 1 +/* 8031A8E8 00317848 98 BF 01 5C */ stb r5, 0x15c(r31) +/* 8031A8EC 0031784C 38 7F 00 14 */ addi r3, r31, 0x14 +/* 8031A8F0 00317850 38 80 00 07 */ li r4, 7 +/* 8031A8F4 00317854 90 1F 01 60 */ stw r0, 0x160(r31) +/* 8031A8F8 00317858 90 1F 01 64 */ stw r0, 0x164(r31) +/* 8031A8FC 0031785C 90 1F 01 68 */ stw r0, 0x168(r31) +/* 8031A900 00317860 90 1F 01 6C */ stw r0, 0x16c(r31) +/* 8031A904 00317864 98 BF 01 70 */ stb r5, 0x170(r31) +/* 8031A908 00317868 90 1F 01 74 */ stw r0, 0x174(r31) +/* 8031A90C 0031786C 90 1F 01 78 */ stw r0, 0x178(r31) +/* 8031A910 00317870 90 1F 01 7C */ stw r0, 0x17c(r31) +/* 8031A914 00317874 90 1F 01 80 */ stw r0, 0x180(r31) +/* 8031A918 00317878 4B FE E8 15 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8031A91C 0031787C 38 7F 00 18 */ addi r3, r31, 0x18 +/* 8031A920 00317880 38 80 00 05 */ li r4, 5 +/* 8031A924 00317884 4B FE E8 09 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8031A928 00317888 38 7F 00 1C */ addi r3, r31, 0x1c +/* 8031A92C 0031788C 38 80 00 00 */ li r4, 0 +/* 8031A930 00317890 4B FE E7 FD */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8031A934 00317894 38 7F 00 20 */ addi r3, r31, 0x20 +/* 8031A938 00317898 38 80 00 07 */ li r4, 7 +/* 8031A93C 0031789C 4B FE E7 F1 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc +/* 8031A940 003178A0 80 FF 00 20 */ lwz r7, 0x20(r31) +/* 8031A944 003178A4 38 7F 00 24 */ addi r3, r31, 0x24 +/* 8031A948 003178A8 80 DF 00 1C */ lwz r6, 0x1c(r31) +/* 8031A94C 003178AC 38 80 00 0F */ li r4, 0xf +/* 8031A950 003178B0 80 BF 00 18 */ lwz r5, 0x18(r31) +/* 8031A954 003178B4 80 1F 00 14 */ lwz r0, 0x14(r31) +/* 8031A958 003178B8 90 FF 00 FC */ stw r7, 0xfc(r31) +/* 8031A95C 003178BC 90 DF 01 00 */ stw r6, 0x100(r31) +/* 8031A960 003178C0 90 BF 01 04 */ stw r5, 0x104(r31) +/* 8031A964 003178C4 90 1F 01 08 */ stw r0, 0x108(r31) +/* 8031A968 003178C8 4B FE E7 BD */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8031A96C 003178CC 38 7F 00 28 */ addi r3, r31, 0x28 +/* 8031A970 003178D0 38 80 00 0A */ li r4, 0xa +/* 8031A974 003178D4 4B FE E7 B1 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8031A978 003178D8 38 7F 00 2C */ addi r3, r31, 0x2c +/* 8031A97C 003178DC 38 80 00 00 */ li r4, 0 +/* 8031A980 003178E0 4B FE E7 A5 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8031A984 003178E4 38 7F 00 30 */ addi r3, r31, 0x30 +/* 8031A988 003178E8 38 80 00 0F */ li r4, 0xf +/* 8031A98C 003178EC 4B FE E7 99 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc +/* 8031A990 003178F0 80 BF 00 30 */ lwz r5, 0x30(r31) +/* 8031A994 003178F4 3C 60 80 4C */ lis r3, lbl_804BFE68@ha +/* 8031A998 003178F8 81 3F 00 2C */ lwz r9, 0x2c(r31) +/* 8031A99C 003178FC 38 63 FE 68 */ addi r3, r3, lbl_804BFE68@l +/* 8031A9A0 00317900 81 1F 00 28 */ lwz r8, 0x28(r31) +/* 8031A9A4 00317904 38 9F 01 0C */ addi r4, r31, 0x10c +/* 8031A9A8 00317908 80 1F 00 24 */ lwz r0, 0x24(r31) +/* 8031A9AC 0031790C 38 DF 01 70 */ addi r6, r31, 0x170 +/* 8031A9B0 00317910 90 BF 01 0C */ stw r5, 0x10c(r31) +/* 8031A9B4 00317914 38 BF 00 FC */ addi r5, r31, 0xfc +/* 8031A9B8 00317918 38 FF 01 5C */ addi r7, r31, 0x15c +/* 8031A9BC 0031791C 91 3F 01 10 */ stw r9, 0x110(r31) +/* 8031A9C0 00317920 91 1F 01 14 */ stw r8, 0x114(r31) +/* 8031A9C4 00317924 90 1F 01 18 */ stw r0, 0x118(r31) +/* 8031A9C8 00317928 4B FE E8 8D */ bl sub_80309254 +/* 8031A9CC 0031792C 38 00 00 01 */ li r0, 1 +/* 8031A9D0 00317930 98 0D A8 BB */ stb r0, lbl_805A947B@sda21(r13) +lbl_8031A9D4: +/* 8031A9D4 00317934 3C 80 80 4C */ lis r4, lbl_804BFE68@ha +/* 8031A9D8 00317938 38 60 00 01 */ li r3, 1 +/* 8031A9DC 0031793C 38 84 FE 68 */ addi r4, r4, lbl_804BFE68@l +/* 8031A9E0 00317940 4B FE F8 D9 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +/* 8031A9E4 00317944 48 00 00 10 */ b lbl_8031A9F4 +lbl_8031A9E8: +/* 8031A9E8 00317948 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) +/* 8031A9EC 0031794C 38 60 00 01 */ li r3, 1 +/* 8031A9F0 00317950 4B FE F8 C9 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +lbl_8031A9F4: +/* 8031A9F4 00317954 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 8031A9F8 00317958 38 BF 01 40 */ addi r5, r31, 0x140 +/* 8031A9FC 0031795C 80 9E 00 3C */ lwz r4, 0x3c(r30) +/* 8031AA00 00317960 80 63 00 40 */ lwz r3, 0x40(r3) +/* 8031AA04 00317964 80 84 00 28 */ lwz r4, 0x28(r4) +/* 8031AA08 00317968 81 83 00 00 */ lwz r12, 0(r3) +/* 8031AA0C 0031796C 80 1E 00 74 */ lwz r0, 0x74(r30) +/* 8031AA10 00317970 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031AA14 00317974 7C 84 00 50 */ subf r4, r4, r0 +/* 8031AA18 00317978 7D 89 03 A6 */ mtctr r12 +/* 8031AA1C 0031797C 4E 80 04 21 */ bctrl +/* 8031AA20 00317980 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 8031AA24 00317984 80 63 00 40 */ lwz r3, 0x40(r3) +/* 8031AA28 00317988 81 83 00 00 */ lwz r12, 0(r3) +/* 8031AA2C 0031798C 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 8031AA30 00317990 7D 89 03 A6 */ mtctr r12 +/* 8031AA34 00317994 4E 80 04 21 */ bctrl +/* 8031AA38 00317998 7C 60 1B 78 */ mr r0, r3 +/* 8031AA3C 0031799C 38 7F 00 40 */ addi r3, r31, 0x40 +/* 8031AA40 003179A0 7C 1C 03 78 */ mr r28, r0 +/* 8031AA44 003179A4 38 80 00 00 */ li r4, 0 +/* 8031AA48 003179A8 48 02 63 F9 */ bl __dt__6CTokenFv +/* 8031AA4C 003179AC 48 00 00 1C */ b lbl_8031AA68 +lbl_8031AA50: +/* 8031AA50 003179B0 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) +/* 8031AA54 003179B4 38 60 00 00 */ li r3, 0 +/* 8031AA58 003179B8 4B FE F8 61 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +/* 8031AA5C 003179BC 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) +/* 8031AA60 003179C0 38 60 00 01 */ li r3, 1 +/* 8031AA64 003179C4 4B FE F8 55 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +lbl_8031AA68: +/* 8031AA68 003179C8 3C 60 80 3D */ lis r3, lbl_803D7848@ha +/* 8031AA6C 003179CC 38 63 78 48 */ addi r3, r3, lbl_803D7848@l +/* 8031AA70 003179D0 4B FE D3 B9 */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList +/* 8031AA74 003179D4 28 14 00 00 */ cmplwi r20, 0 +/* 8031AA78 003179D8 41 82 00 78 */ beq lbl_8031AAF0 +/* 8031AA7C 003179DC 38 60 00 02 */ li r3, 2 +/* 8031AA80 003179E0 4B FE E3 D1 */ bl SetNumChans__3CGXFUc +/* 8031AA84 003179E4 3B 60 00 02 */ li r27, 2 +/* 8031AA88 003179E8 38 60 00 01 */ li r3, 1 +/* 8031AA8C 003179EC 38 80 00 FF */ li r4, 0xff +/* 8031AA90 003179F0 38 A0 00 FF */ li r5, 0xff +/* 8031AA94 003179F4 38 C0 00 05 */ li r6, 5 +/* 8031AA98 003179F8 4B FE DE B5 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 8031AA9C 003179FC C0 22 C9 E8 */ lfs f1, lbl_805AE708@sda21(r2) +/* 8031AAA0 00317A00 38 7F 00 10 */ addi r3, r31, 0x10 +/* 8031AAA4 00317A04 C0 82 C9 F0 */ lfs f4, lbl_805AE710@sda21(r2) +/* 8031AAA8 00317A08 FC 40 08 90 */ fmr f2, f1 +/* 8031AAAC 00317A0C FC 60 08 90 */ fmr f3, f1 +/* 8031AAB0 00317A10 48 04 89 3D */ bl __ct__6CColorFffff +/* 8031AAB4 00317A14 7C 64 1B 78 */ mr r4, r3 +/* 8031AAB8 00317A18 38 60 00 01 */ li r3, 1 +/* 8031AABC 00317A1C 4B FE E3 09 */ bl SetChanAmbColor__3CGXFQ23CGX10EChannelIdRC8_GXColor +/* 8031AAC0 00317A20 38 9E 03 38 */ addi r4, r30, 0x338 +/* 8031AAC4 00317A24 38 60 00 01 */ li r3, 1 +/* 8031AAC8 00317A28 4B FE E2 95 */ bl SetChanMatColor__3CGXFQ23CGX10EChannelIdRC8_GXColor +/* 8031AACC 00317A2C 38 60 00 01 */ li r3, 1 +/* 8031AAD0 00317A30 38 80 00 00 */ li r4, 0 +/* 8031AAD4 00317A34 38 A0 00 00 */ li r5, 0 +/* 8031AAD8 00317A38 38 C0 00 00 */ li r6, 0 +/* 8031AADC 00317A3C 38 E0 00 00 */ li r7, 0 +/* 8031AAE0 00317A40 39 00 00 00 */ li r8, 0 +/* 8031AAE4 00317A44 39 20 00 02 */ li r9, 2 +/* 8031AAE8 00317A48 4B FE E1 E5 */ bl SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn +/* 8031AAEC 00317A4C 48 00 00 10 */ b lbl_8031AAFC +lbl_8031AAF0: +/* 8031AAF0 00317A50 38 60 00 01 */ li r3, 1 +/* 8031AAF4 00317A54 4B FE E3 5D */ bl SetNumChans__3CGXFUc +/* 8031AAF8 00317A58 3B 60 00 01 */ li r27, 1 +lbl_8031AAFC: +/* 8031AAFC 00317A5C 88 0D A8 B9 */ lbz r0, lbl_805A9479@sda21(r13) +/* 8031AB00 00317A60 8B 4D A8 B8 */ lbz r26, lbl_805A9478@sda21(r13) +/* 8031AB04 00317A64 28 00 00 00 */ cmplwi r0, 0 +/* 8031AB08 00317A68 41 82 00 98 */ beq lbl_8031ABA0 +/* 8031AB0C 00317A6C 88 1E 02 6C */ lbz r0, 0x26c(r30) +/* 8031AB10 00317A70 38 80 00 03 */ li r4, 3 +/* 8031AB14 00317A74 38 A0 00 00 */ li r5, 0 +/* 8031AB18 00317A78 54 03 EF FE */ rlwinm r3, r0, 0x1d, 0x1f, 0x1f +/* 8031AB1C 00317A7C 4B FF 0F 79 */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb +/* 8031AB20 00317A80 38 60 00 03 */ li r3, 3 +/* 8031AB24 00317A84 38 80 00 01 */ li r4, 1 +/* 8031AB28 00317A88 38 A0 00 00 */ li r5, 0 +/* 8031AB2C 00317A8C 38 C0 00 00 */ li r6, 0 +/* 8031AB30 00317A90 4B FE DD A1 */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp +/* 8031AB34 00317A94 28 1A 00 00 */ cmplwi r26, 0 +/* 8031AB38 00317A98 41 82 01 54 */ beq lbl_8031AC8C +/* 8031AB3C 00317A9C 7F 63 DB 78 */ mr r3, r27 +/* 8031AB40 00317AA0 38 80 00 0F */ li r4, 0xf +/* 8031AB44 00317AA4 38 A0 00 00 */ li r5, 0 +/* 8031AB48 00317AA8 38 C0 00 01 */ li r6, 1 +/* 8031AB4C 00317AAC 38 E0 00 0F */ li r7, 0xf +/* 8031AB50 00317AB0 4B FE E0 9D */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg +/* 8031AB54 00317AB4 7F 63 DB 78 */ mr r3, r27 +/* 8031AB58 00317AB8 38 80 00 07 */ li r4, 7 +/* 8031AB5C 00317ABC 38 A0 00 04 */ li r5, 4 +/* 8031AB60 00317AC0 38 C0 00 00 */ li r6, 0 +/* 8031AB64 00317AC4 38 E0 00 07 */ li r7, 7 +/* 8031AB68 00317AC8 4B FE E0 2D */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg +/* 8031AB6C 00317ACC 7F 63 DB 78 */ mr r3, r27 +/* 8031AB70 00317AD0 4B FE D0 E1 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID +/* 8031AB74 00317AD4 7F 63 DB 78 */ mr r3, r27 +/* 8031AB78 00317AD8 38 80 00 00 */ li r4, 0 +/* 8031AB7C 00317ADC 38 A0 00 00 */ li r5, 0 +/* 8031AB80 00317AE0 38 C0 00 FF */ li r6, 0xff +/* 8031AB84 00317AE4 4B FE DD C9 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 8031AB88 00317AE8 7F 63 DB 78 */ mr r3, r27 +/* 8031AB8C 00317AEC 38 80 00 00 */ li r4, 0 +/* 8031AB90 00317AF0 38 A0 00 01 */ li r5, 1 +/* 8031AB94 00317AF4 48 06 0C 9D */ bl GXSetTevSwapMode +/* 8031AB98 00317AF8 3B 7B 00 01 */ addi r27, r27, 1 +/* 8031AB9C 00317AFC 48 00 00 F0 */ b lbl_8031AC8C +lbl_8031ABA0: +/* 8031ABA0 00317B00 28 1A 00 00 */ cmplwi r26, 0 +/* 8031ABA4 00317B04 41 82 00 90 */ beq lbl_8031AC34 +/* 8031ABA8 00317B08 88 1E 02 6C */ lbz r0, 0x26c(r30) +/* 8031ABAC 00317B0C 38 80 00 03 */ li r4, 3 +/* 8031ABB0 00317B10 38 A0 00 00 */ li r5, 0 +/* 8031ABB4 00317B14 54 03 EF FE */ rlwinm r3, r0, 0x1d, 0x1f, 0x1f +/* 8031ABB8 00317B18 4B FF 0E DD */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb +/* 8031ABBC 00317B1C 38 60 00 01 */ li r3, 1 +/* 8031ABC0 00317B20 38 80 00 01 */ li r4, 1 +/* 8031ABC4 00317B24 38 A0 00 01 */ li r5, 1 +/* 8031ABC8 00317B28 38 C0 00 00 */ li r6, 0 +/* 8031ABCC 00317B2C 4B FF 0E 85 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +/* 8031ABD0 00317B30 7F 63 DB 78 */ mr r3, r27 +/* 8031ABD4 00317B34 38 80 00 0F */ li r4, 0xf +/* 8031ABD8 00317B38 38 A0 00 00 */ li r5, 0 +/* 8031ABDC 00317B3C 38 C0 00 01 */ li r6, 1 +/* 8031ABE0 00317B40 38 E0 00 0F */ li r7, 0xf +/* 8031ABE4 00317B44 4B FE E0 09 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg +/* 8031ABE8 00317B48 7F 63 DB 78 */ mr r3, r27 +/* 8031ABEC 00317B4C 38 80 00 07 */ li r4, 7 +/* 8031ABF0 00317B50 38 A0 00 04 */ li r5, 4 +/* 8031ABF4 00317B54 38 C0 00 00 */ li r6, 0 +/* 8031ABF8 00317B58 38 E0 00 07 */ li r7, 7 +/* 8031ABFC 00317B5C 4B FE DF 99 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg +/* 8031AC00 00317B60 7F 63 DB 78 */ mr r3, r27 +/* 8031AC04 00317B64 4B FE D0 4D */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID +/* 8031AC08 00317B68 7F 63 DB 78 */ mr r3, r27 +/* 8031AC0C 00317B6C 38 80 00 00 */ li r4, 0 +/* 8031AC10 00317B70 38 A0 00 00 */ li r5, 0 +/* 8031AC14 00317B74 38 C0 00 FF */ li r6, 0xff +/* 8031AC18 00317B78 4B FE DD 35 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 8031AC1C 00317B7C 7F 63 DB 78 */ mr r3, r27 +/* 8031AC20 00317B80 38 80 00 00 */ li r4, 0 +/* 8031AC24 00317B84 38 A0 00 01 */ li r5, 1 +/* 8031AC28 00317B88 48 06 0C 09 */ bl GXSetTevSwapMode +/* 8031AC2C 00317B8C 3B 7B 00 01 */ addi r27, r27, 1 +/* 8031AC30 00317B90 48 00 00 5C */ b lbl_8031AC8C +lbl_8031AC34: +/* 8031AC34 00317B94 88 9E 02 6C */ lbz r4, 0x26c(r30) +/* 8031AC38 00317B98 54 80 DF FF */ rlwinm. r0, r4, 0x1b, 0x1f, 0x1f +/* 8031AC3C 00317B9C 41 82 00 2C */ beq lbl_8031AC68 +/* 8031AC40 00317BA0 54 83 EF FE */ rlwinm r3, r4, 0x1d, 0x1f, 0x1f +/* 8031AC44 00317BA4 38 80 00 03 */ li r4, 3 +/* 8031AC48 00317BA8 38 A0 00 00 */ li r5, 0 +/* 8031AC4C 00317BAC 4B FF 0E 49 */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb +/* 8031AC50 00317BB0 38 60 00 01 */ li r3, 1 +/* 8031AC54 00317BB4 38 80 00 04 */ li r4, 4 +/* 8031AC58 00317BB8 38 A0 00 01 */ li r5, 1 +/* 8031AC5C 00317BBC 38 C0 00 00 */ li r6, 0 +/* 8031AC60 00317BC0 4B FF 0D F1 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +/* 8031AC64 00317BC4 48 00 00 28 */ b lbl_8031AC8C +lbl_8031AC68: +/* 8031AC68 00317BC8 54 83 EF FE */ rlwinm r3, r4, 0x1d, 0x1f, 0x1f +/* 8031AC6C 00317BCC 54 85 E7 FE */ rlwinm r5, r4, 0x1c, 0x1f, 0x1f +/* 8031AC70 00317BD0 38 80 00 03 */ li r4, 3 +/* 8031AC74 00317BD4 4B FF 0E 21 */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb +/* 8031AC78 00317BD8 38 60 00 01 */ li r3, 1 +/* 8031AC7C 00317BDC 38 80 00 04 */ li r4, 4 +/* 8031AC80 00317BE0 38 A0 00 05 */ li r5, 5 +/* 8031AC84 00317BE4 38 C0 00 00 */ li r6, 0 +/* 8031AC88 00317BE8 4B FF 0D C9 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +lbl_8031AC8C: +/* 8031AC8C 00317BEC 57 63 06 3E */ clrlwi r3, r27, 0x18 +/* 8031AC90 00317BF0 4B FE E0 01 */ bl SetNumTevStages__3CGXFUc +/* 8031AC94 00317BF4 38 60 00 01 */ li r3, 1 +/* 8031AC98 00317BF8 4B FE E1 7D */ bl SetNumTexGens__3CGXFUc +/* 8031AC9C 00317BFC 38 60 00 00 */ li r3, 0 +/* 8031ACA0 00317C00 38 80 00 00 */ li r4, 0 +/* 8031ACA4 00317C04 38 A0 00 00 */ li r5, 0 +/* 8031ACA8 00317C08 38 C0 00 04 */ li r6, 4 +/* 8031ACAC 00317C0C 4B FE DC A1 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 8031ACB0 00317C10 38 60 00 00 */ li r3, 0 +/* 8031ACB4 00317C14 38 80 00 00 */ li r4, 0 +/* 8031ACB8 00317C18 38 A0 00 00 */ li r5, 0 +/* 8031ACBC 00317C1C 38 C0 00 01 */ li r6, 1 +/* 8031ACC0 00317C20 38 E0 00 00 */ li r7, 0 +/* 8031ACC4 00317C24 39 00 00 00 */ li r8, 0 +/* 8031ACC8 00317C28 39 20 00 02 */ li r9, 2 +/* 8031ACCC 00317C2C 4B FE E0 01 */ bl SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn +/* 8031ACD0 00317C30 38 60 00 00 */ li r3, 0 +/* 8031ACD4 00317C34 38 80 00 01 */ li r4, 1 +/* 8031ACD8 00317C38 38 A0 00 04 */ li r5, 4 +/* 8031ACDC 00317C3C 38 C0 00 3C */ li r6, 0x3c +/* 8031ACE0 00317C40 38 E0 00 00 */ li r7, 0 +/* 8031ACE4 00317C44 39 00 00 7D */ li r8, 0x7d +/* 8031ACE8 00317C48 4B FE D9 E5 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 8031ACEC 00317C4C 38 60 00 06 */ li r3, 6 +/* 8031ACF0 00317C50 38 80 00 09 */ li r4, 9 +/* 8031ACF4 00317C54 38 A0 00 01 */ li r5, 1 +/* 8031ACF8 00317C58 38 C0 00 04 */ li r6, 4 +/* 8031ACFC 00317C5C 38 E0 00 00 */ li r7, 0 +/* 8031AD00 00317C60 48 05 CA 8D */ bl GXSetVtxAttrFmt +/* 8031AD04 00317C64 38 60 00 06 */ li r3, 6 +/* 8031AD08 00317C68 38 80 00 0B */ li r4, 0xb +/* 8031AD0C 00317C6C 38 A0 00 01 */ li r5, 1 +/* 8031AD10 00317C70 38 C0 00 05 */ li r6, 5 +/* 8031AD14 00317C74 38 E0 00 00 */ li r7, 0 +/* 8031AD18 00317C78 48 05 CA 75 */ bl GXSetVtxAttrFmt +/* 8031AD1C 00317C7C 57 80 06 3F */ clrlwi. r0, r28, 0x18 +/* 8031AD20 00317C80 41 82 00 20 */ beq lbl_8031AD40 +/* 8031AD24 00317C84 38 60 00 06 */ li r3, 6 +/* 8031AD28 00317C88 38 80 00 0D */ li r4, 0xd +/* 8031AD2C 00317C8C 38 A0 00 01 */ li r5, 1 +/* 8031AD30 00317C90 38 C0 00 01 */ li r6, 1 +/* 8031AD34 00317C94 38 E0 00 01 */ li r7, 1 +/* 8031AD38 00317C98 48 05 CA 55 */ bl GXSetVtxAttrFmt +/* 8031AD3C 00317C9C 48 00 00 1C */ b lbl_8031AD58 +lbl_8031AD40: +/* 8031AD40 00317CA0 38 60 00 06 */ li r3, 6 +/* 8031AD44 00317CA4 38 80 00 0D */ li r4, 0xd +/* 8031AD48 00317CA8 38 A0 00 01 */ li r5, 1 +/* 8031AD4C 00317CAC 38 C0 00 04 */ li r6, 4 +/* 8031AD50 00317CB0 38 E0 00 00 */ li r7, 0 +/* 8031AD54 00317CB4 48 05 CA 39 */ bl GXSetVtxAttrFmt +lbl_8031AD58: +/* 8031AD58 00317CB8 80 6D 9D 0C */ lwz r3, lbl_805A88CC@sda21(r13) +/* 8031AD5C 00317CBC 80 1E 02 70 */ lwz r0, 0x270(r30) +/* 8031AD60 00317CC0 82 FE 00 34 */ lwz r23, 0x34(r30) +/* 8031AD64 00317CC4 7C 03 00 00 */ cmpw r3, r0 +/* 8031AD68 00317CC8 40 80 00 0C */ bge lbl_8031AD74 +/* 8031AD6C 00317CCC 38 7E 02 70 */ addi r3, r30, 0x270 +/* 8031AD70 00317CD0 48 00 00 08 */ b lbl_8031AD78 +lbl_8031AD74: +/* 8031AD74 00317CD4 38 6D 9D 0C */ addi r3, r13, lbl_805A88CC@sda21 +lbl_8031AD78: +/* 8031AD78 00317CD8 88 1E 02 6C */ lbz r0, 0x26c(r30) +/* 8031AD7C 00317CDC 82 A3 00 00 */ lwz r21, 0(r3) +/* 8031AD80 00317CE0 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f +/* 8031AD84 00317CE4 40 82 00 18 */ bne lbl_8031AD9C +/* 8031AD88 00317CE8 56 E5 14 3A */ rlwinm r5, r23, 2, 0x10, 0x1d +/* 8031AD8C 00317CEC 38 60 00 80 */ li r3, 0x80 +/* 8031AD90 00317CF0 38 80 00 06 */ li r4, 6 +/* 8031AD94 00317CF4 4B FE D7 F1 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 8031AD98 00317CF8 48 00 00 1C */ b lbl_8031ADB4 +lbl_8031AD9C: +/* 8031AD9C 00317CFC 56 E0 10 3A */ slwi r0, r23, 2 +/* 8031ADA0 00317D00 38 60 00 80 */ li r3, 0x80 +/* 8031ADA4 00317D04 7C 15 01 D6 */ mullw r0, r21, r0 +/* 8031ADA8 00317D08 38 80 00 06 */ li r4, 6 +/* 8031ADAC 00317D0C 54 05 04 3E */ clrlwi r5, r0, 0x10 +/* 8031ADB0 00317D10 4B FE D7 D5 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +lbl_8031ADB4: +/* 8031ADB4 00317D14 C0 5E 00 80 */ lfs f2, 0x80(r30) +/* 8031ADB8 00317D18 C0 22 C9 F0 */ lfs f1, lbl_805AE710@sda21(r2) +/* 8031ADBC 00317D1C C8 02 CA 08 */ lfd f0, lbl_805AE728@sda21(r2) +/* 8031ADC0 00317D20 EC 22 08 28 */ fsubs f1, f2, f1 +/* 8031ADC4 00317D24 FC 20 0A 10 */ fabs f1, f1 +/* 8031ADC8 00317D28 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8031ADCC 00317D2C 7C 00 00 26 */ mfcr r0 +/* 8031ADD0 00317D30 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 8031ADD4 00317D34 54 04 0F FE */ srwi r4, r0, 0x1f +/* 8031ADD8 00317D38 3A 80 00 00 */ li r20, 0 +/* 8031ADDC 00317D3C 88 03 00 30 */ lbz r0, 0x30(r3) +/* 8031ADE0 00317D40 7C 83 00 34 */ cntlzw r3, r4 +/* 8031ADE4 00317D44 54 78 D9 7E */ srwi r24, r3, 5 +/* 8031ADE8 00317D48 54 19 EF FF */ rlwinm. r25, r0, 0x1d, 0x1f, 0x1f +/* 8031ADEC 00317D4C 41 82 00 F4 */ beq lbl_8031AEE0 +/* 8031ADF0 00317D50 56 E3 20 36 */ slwi r3, r23, 4 +/* 8031ADF4 00317D54 80 01 00 00 */ lwz r0, 0(r1) +/* 8031ADF8 00317D58 7E 83 00 D0 */ neg r20, r3 +/* 8031ADFC 00317D5C 56 94 00 38 */ rlwinm r20, r20, 0, 0, 0x1c +/* 8031AE00 00317D60 7C 01 A1 6E */ stwux r0, r1, r20 +/* 8031AE04 00317D64 3A C0 00 00 */ li r22, 0 +/* 8031AE08 00317D68 3A 40 00 00 */ li r18, 0 +/* 8031AE0C 00317D6C 3A 81 00 08 */ addi r20, r1, 8 +/* 8031AE10 00317D70 7E 93 A3 78 */ mr r19, r20 +/* 8031AE14 00317D74 48 00 00 A8 */ b lbl_8031AEBC +lbl_8031AE18: +/* 8031AE18 00317D78 80 1E 00 3C */ lwz r0, 0x3c(r30) +/* 8031AE1C 00317D7C 38 7F 00 F0 */ addi r3, r31, 0xf0 +/* 8031AE20 00317D80 C0 FE 00 80 */ lfs f7, 0x80(r30) +/* 8031AE24 00317D84 38 9F 02 D4 */ addi r4, r31, 0x2d4 +/* 8031AE28 00317D88 7C C0 92 14 */ add r6, r0, r18 +/* 8031AE2C 00317D8C 38 BF 00 E4 */ addi r5, r31, 0xe4 +/* 8031AE30 00317D90 C0 06 00 08 */ lfs f0, 8(r6) +/* 8031AE34 00317D94 C0 86 00 14 */ lfs f4, 0x14(r6) +/* 8031AE38 00317D98 C0 26 00 0C */ lfs f1, 0xc(r6) +/* 8031AE3C 00317D9C EC A0 20 28 */ fsubs f5, f0, f4 +/* 8031AE40 00317DA0 C0 66 00 18 */ lfs f3, 0x18(r6) +/* 8031AE44 00317DA4 C0 06 00 04 */ lfs f0, 4(r6) +/* 8031AE48 00317DA8 EC 21 18 28 */ fsubs f1, f1, f3 +/* 8031AE4C 00317DAC C0 46 00 10 */ lfs f2, 0x10(r6) +/* 8031AE50 00317DB0 EC C7 01 72 */ fmuls f6, f7, f5 +/* 8031AE54 00317DB4 EC 00 10 28 */ fsubs f0, f0, f2 +/* 8031AE58 00317DB8 D0 BF 00 D0 */ stfs f5, 0xd0(r31) +/* 8031AE5C 00317DBC EC A7 00 72 */ fmuls f5, f7, f1 +/* 8031AE60 00317DC0 EC 86 20 2A */ fadds f4, f6, f4 +/* 8031AE64 00317DC4 D0 3F 00 D4 */ stfs f1, 0xd4(r31) +/* 8031AE68 00317DC8 EC 27 00 32 */ fmuls f1, f7, f0 +/* 8031AE6C 00317DCC EC 65 18 2A */ fadds f3, f5, f3 +/* 8031AE70 00317DD0 D0 1F 00 CC */ stfs f0, 0xcc(r31) +/* 8031AE74 00317DD4 EC 01 10 2A */ fadds f0, f1, f2 +/* 8031AE78 00317DD8 D0 3F 00 D8 */ stfs f1, 0xd8(r31) +/* 8031AE7C 00317DDC D0 DF 00 DC */ stfs f6, 0xdc(r31) +/* 8031AE80 00317DE0 D0 BF 00 E0 */ stfs f5, 0xe0(r31) +/* 8031AE84 00317DE4 D0 1F 00 E4 */ stfs f0, 0xe4(r31) +/* 8031AE88 00317DE8 D0 9F 00 E8 */ stfs f4, 0xe8(r31) +/* 8031AE8C 00317DEC D0 7F 00 EC */ stfs f3, 0xec(r31) +/* 8031AE90 00317DF0 4B FF 7C 59 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8031AE94 00317DF4 C0 1F 00 F0 */ lfs f0, 0xf0(r31) +/* 8031AE98 00317DF8 3A 52 00 38 */ addi r18, r18, 0x38 +/* 8031AE9C 00317DFC D0 13 00 04 */ stfs f0, 4(r19) +/* 8031AEA0 00317E00 C0 1F 00 F4 */ lfs f0, 0xf4(r31) +/* 8031AEA4 00317E04 D0 13 00 08 */ stfs f0, 8(r19) +/* 8031AEA8 00317E08 C0 1F 00 F8 */ lfs f0, 0xf8(r31) +/* 8031AEAC 00317E0C D0 13 00 0C */ stfs f0, 0xc(r19) +/* 8031AEB0 00317E10 B2 D3 00 00 */ sth r22, 0(r19) +/* 8031AEB4 00317E14 3A 73 00 10 */ addi r19, r19, 0x10 +/* 8031AEB8 00317E18 3A D6 00 01 */ addi r22, r22, 1 +lbl_8031AEBC: +/* 8031AEBC 00317E1C 7C 16 B8 00 */ cmpw r22, r23 +/* 8031AEC0 00317E20 41 80 FF 58 */ blt lbl_8031AE18 +/* 8031AEC4 00317E24 88 8D A8 BC */ lbz r4, lbl_805A947C@sda21(r13) +/* 8031AEC8 00317E28 56 E0 20 36 */ slwi r0, r23, 4 +/* 8031AECC 00317E2C 7E 83 A3 78 */ mr r3, r20 +/* 8031AED0 00317E30 38 BF 00 0C */ addi r5, r31, 0xc +/* 8031AED4 00317E34 98 9F 00 0C */ stb r4, 0xc(r31) +/* 8031AED8 00317E38 7C 94 02 14 */ add r4, r20, r0 +/* 8031AEDC 00317E3C 48 00 52 09 */ bl sub_803200e4 +lbl_8031AEE0: +/* 8031AEE0 00317E40 80 7E 00 74 */ lwz r3, 0x74(r30) +/* 8031AEE4 00317E44 48 00 F8 65 */ bl SetEmitterTime__16CParticleGlobalsFi +/* 8031AEE8 00317E48 88 7E 02 6C */ lbz r3, 0x26c(r30) +/* 8031AEEC 00317E4C 54 60 FF FF */ rlwinm. r0, r3, 0x1f, 0x1f, 0x1f +/* 8031AEF0 00317E50 40 82 09 C0 */ bne lbl_8031B8B0 +/* 8031AEF4 00317E54 28 19 00 00 */ cmplwi r25, 0 +/* 8031AEF8 00317E58 40 82 00 6C */ bne lbl_8031AF64 +/* 8031AEFC 00317E5C 57 80 06 3F */ clrlwi. r0, r28, 0x18 +/* 8031AF00 00317E60 41 82 00 64 */ beq lbl_8031AF64 +/* 8031AF04 00317E64 54 60 F7 FF */ rlwinm. r0, r3, 0x1e, 0x1f, 0x1f +/* 8031AF08 00317E68 40 82 00 5C */ bne lbl_8031AF64 +/* 8031AF0C 00317E6C 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 8031AF10 00317E70 41 82 00 2C */ beq lbl_8031AF3C +/* 8031AF14 00317E74 57 00 06 3F */ clrlwi. r0, r24, 0x18 +/* 8031AF18 00317E78 41 82 00 14 */ beq lbl_8031AF2C +/* 8031AF1C 00317E7C 7F C3 F3 78 */ mr r3, r30 +/* 8031AF20 00317E80 38 9F 02 D4 */ addi r4, r31, 0x2d4 +/* 8031AF24 00317E84 48 00 11 ED */ bl RenderBasicParticlesNoRotNoTS__11CElementGenFRC10CTransform +/* 8031AF28 00317E88 48 00 0E F8 */ b lbl_8031BE20 +lbl_8031AF2C: +/* 8031AF2C 00317E8C 7F C3 F3 78 */ mr r3, r30 +/* 8031AF30 00317E90 38 9F 02 D4 */ addi r4, r31, 0x2d4 +/* 8031AF34 00317E94 48 00 15 05 */ bl RenderBasicParticlesNoRotTS__11CElementGenFRC10CTransform +/* 8031AF38 00317E98 48 00 0E E8 */ b lbl_8031BE20 +lbl_8031AF3C: +/* 8031AF3C 00317E9C 57 00 06 3F */ clrlwi. r0, r24, 0x18 +/* 8031AF40 00317EA0 41 82 00 14 */ beq lbl_8031AF54 +/* 8031AF44 00317EA4 7F C3 F3 78 */ mr r3, r30 +/* 8031AF48 00317EA8 38 9F 02 D4 */ addi r4, r31, 0x2d4 +/* 8031AF4C 00317EAC 48 00 0F B1 */ bl RenderBasicParticlesRotNoTS__11CElementGenFRC10CTransform +/* 8031AF50 00317EB0 48 00 0E D0 */ b lbl_8031BE20 +lbl_8031AF54: +/* 8031AF54 00317EB4 7F C3 F3 78 */ mr r3, r30 +/* 8031AF58 00317EB8 38 9F 02 D4 */ addi r4, r31, 0x2d4 +/* 8031AF5C 00317EBC 48 00 13 2D */ bl RenderBasicParticlesRotTS__11CElementGenFRC10CTransform +/* 8031AF60 00317EC0 48 00 0E C0 */ b lbl_8031BE20 +lbl_8031AF64: +/* 8031AF64 00317EC4 88 1E 02 6C */ lbz r0, 0x26c(r30) +/* 8031AF68 00317EC8 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 8031AF6C 00317ECC 40 82 04 24 */ bne lbl_8031B390 +/* 8031AF70 00317ED0 7E 95 A3 78 */ mr r21, r20 +/* 8031AF74 00317ED4 57 9C 06 3E */ clrlwi r28, r28, 0x18 +/* 8031AF78 00317ED8 3A 60 00 00 */ li r19, 0 +/* 8031AF7C 00317EDC 3A 80 00 00 */ li r20, 0 +/* 8031AF80 00317EE0 48 00 04 04 */ b lbl_8031B384 +lbl_8031AF84: +/* 8031AF84 00317EE4 28 19 00 00 */ cmplwi r25, 0 +/* 8031AF88 00317EE8 41 82 00 18 */ beq lbl_8031AFA0 +/* 8031AF8C 00317EEC A0 15 00 00 */ lhz r0, 0(r21) +/* 8031AF90 00317EF0 80 7E 00 3C */ lwz r3, 0x3c(r30) +/* 8031AF94 00317EF4 1C 00 00 38 */ mulli r0, r0, 0x38 +/* 8031AF98 00317EF8 7F 03 02 14 */ add r24, r3, r0 +/* 8031AF9C 00317EFC 48 00 00 0C */ b lbl_8031AFA8 +lbl_8031AFA0: +/* 8031AFA0 00317F00 80 1E 00 3C */ lwz r0, 0x3c(r30) +/* 8031AFA4 00317F04 7F 00 A2 14 */ add r24, r0, r20 +lbl_8031AFA8: +/* 8031AFA8 00317F08 C0 58 00 08 */ lfs f2, 8(r24) +/* 8031AFAC 00317F0C 38 7F 00 C0 */ addi r3, r31, 0xc0 +/* 8031AFB0 00317F10 C0 38 00 14 */ lfs f1, 0x14(r24) +/* 8031AFB4 00317F14 38 9F 02 D4 */ addi r4, r31, 0x2d4 +/* 8031AFB8 00317F18 C0 18 00 0C */ lfs f0, 0xc(r24) +/* 8031AFBC 00317F1C 38 BF 00 B4 */ addi r5, r31, 0xb4 +/* 8031AFC0 00317F20 C0 78 00 18 */ lfs f3, 0x18(r24) +/* 8031AFC4 00317F24 EC A2 08 28 */ fsubs f5, f2, f1 +/* 8031AFC8 00317F28 C0 FE 00 80 */ lfs f7, 0x80(r30) +/* 8031AFCC 00317F2C EC 80 18 28 */ fsubs f4, f0, f3 +/* 8031AFD0 00317F30 C0 18 00 04 */ lfs f0, 4(r24) +/* 8031AFD4 00317F34 EC C7 01 72 */ fmuls f6, f7, f5 +/* 8031AFD8 00317F38 C0 58 00 10 */ lfs f2, 0x10(r24) +/* 8031AFDC 00317F3C D0 BF 00 A0 */ stfs f5, 0xa0(r31) +/* 8031AFE0 00317F40 EC 00 10 28 */ fsubs f0, f0, f2 +/* 8031AFE4 00317F44 EC A7 01 32 */ fmuls f5, f7, f4 +/* 8031AFE8 00317F48 D0 9F 00 A4 */ stfs f4, 0xa4(r31) +/* 8031AFEC 00317F4C EC 86 08 2A */ fadds f4, f6, f1 +/* 8031AFF0 00317F50 EC 27 00 32 */ fmuls f1, f7, f0 +/* 8031AFF4 00317F54 D0 1F 00 9C */ stfs f0, 0x9c(r31) +/* 8031AFF8 00317F58 EC 65 18 2A */ fadds f3, f5, f3 +/* 8031AFFC 00317F5C D0 DF 00 AC */ stfs f6, 0xac(r31) +/* 8031B000 00317F60 EC 01 10 2A */ fadds f0, f1, f2 +/* 8031B004 00317F64 D0 3F 00 A8 */ stfs f1, 0xa8(r31) +/* 8031B008 00317F68 D0 BF 00 B0 */ stfs f5, 0xb0(r31) +/* 8031B00C 00317F6C D0 1F 00 B4 */ stfs f0, 0xb4(r31) +/* 8031B010 00317F70 D0 9F 00 B8 */ stfs f4, 0xb8(r31) +/* 8031B014 00317F74 D0 7F 00 BC */ stfs f3, 0xbc(r31) +/* 8031B018 00317F78 4B FF 7A D1 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8031B01C 00317F7C 28 1C 00 00 */ cmplwi r28, 0 +/* 8031B020 00317F80 C3 7F 00 C0 */ lfs f27, 0xc0(r31) +/* 8031B024 00317F84 C3 9F 00 C4 */ lfs f28, 0xc4(r31) +/* 8031B028 00317F88 C3 BF 00 C8 */ lfs f29, 0xc8(r31) +/* 8031B02C 00317F8C 82 D8 00 34 */ lwz r22, 0x34(r24) +/* 8031B030 00317F90 40 82 01 F0 */ bne lbl_8031B220 +/* 8031B034 00317F94 80 98 00 28 */ lwz r4, 0x28(r24) +/* 8031B038 00317F98 80 7E 00 74 */ lwz r3, 0x74(r30) +/* 8031B03C 00317F9C 80 18 00 00 */ lwz r0, 0(r24) +/* 8031B040 00317FA0 7C 64 18 50 */ subf r3, r4, r3 +/* 8031B044 00317FA4 3A 43 FF FF */ addi r18, r3, -1 +/* 8031B048 00317FA8 7C 64 00 50 */ subf r3, r4, r0 +/* 8031B04C 00317FAC 48 00 F7 2D */ bl SetParticleLifetime__16CParticleGlobalsFi +/* 8031B050 00317FB0 7E 43 93 78 */ mr r3, r18 +/* 8031B054 00317FB4 48 00 F6 29 */ bl UpdateParticleLifetimeTweenValues__16CParticleGlobalsFi +/* 8031B058 00317FB8 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 8031B05C 00317FBC 7E 44 93 78 */ mr r4, r18 +/* 8031B060 00317FC0 38 BF 01 40 */ addi r5, r31, 0x140 +/* 8031B064 00317FC4 80 63 00 40 */ lwz r3, 0x40(r3) +/* 8031B068 00317FC8 81 83 00 00 */ lwz r12, 0(r3) +/* 8031B06C 00317FCC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031B070 00317FD0 7D 89 03 A6 */ mtctr r12 +/* 8031B074 00317FD4 4E 80 04 21 */ bctrl +/* 8031B078 00317FD8 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 8031B07C 00317FDC 41 82 00 B4 */ beq lbl_8031B130 +/* 8031B080 00317FE0 C0 22 C9 F8 */ lfs f1, lbl_805AE718@sda21(r2) +/* 8031B084 00317FE4 3C 60 CC 01 */ lis r3, 0xCC008000@ha +/* 8031B088 00317FE8 C0 18 00 2C */ lfs f0, 0x2c(r24) +/* 8031B08C 00317FEC EC 01 00 32 */ fmuls f0, f1, f0 +/* 8031B090 00317FF0 EC 40 D8 2A */ fadds f2, f0, f27 +/* 8031B094 00317FF4 EC 60 E8 2A */ fadds f3, f0, f29 +/* 8031B098 00317FF8 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8031B09C 00317FFC D3 83 80 00 */ stfs f28, 0xCC008000@l(r3) +/* 8031B0A0 00318000 D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) +/* 8031B0A4 00318004 92 C3 80 00 */ stw r22, 0xCC008000@l(r3) +/* 8031B0A8 00318008 C0 1F 01 48 */ lfs f0, 0x148(r31) +/* 8031B0AC 0031800C D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8031B0B0 00318010 C0 1F 01 4C */ lfs f0, 0x14c(r31) +/* 8031B0B4 00318014 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8031B0B8 00318018 C0 18 00 2C */ lfs f0, 0x2c(r24) +/* 8031B0BC 0031801C EC 42 00 28 */ fsubs f2, f2, f0 +/* 8031B0C0 00318020 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8031B0C4 00318024 D3 83 80 00 */ stfs f28, 0xCC008000@l(r3) +/* 8031B0C8 00318028 D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) +/* 8031B0CC 0031802C 92 C3 80 00 */ stw r22, 0xCC008000@l(r3) +/* 8031B0D0 00318030 C0 3F 01 40 */ lfs f1, 0x140(r31) +/* 8031B0D4 00318034 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8031B0D8 00318038 C0 1F 01 4C */ lfs f0, 0x14c(r31) +/* 8031B0DC 0031803C D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8031B0E0 00318040 C0 18 00 2C */ lfs f0, 0x2c(r24) +/* 8031B0E4 00318044 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8031B0E8 00318048 EC 63 00 28 */ fsubs f3, f3, f0 +/* 8031B0EC 0031804C D3 83 80 00 */ stfs f28, 0xCC008000@l(r3) +/* 8031B0F0 00318050 D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) +/* 8031B0F4 00318054 92 C3 80 00 */ stw r22, 0xCC008000@l(r3) +/* 8031B0F8 00318058 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8031B0FC 0031805C C0 1F 01 44 */ lfs f0, 0x144(r31) +/* 8031B100 00318060 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8031B104 00318064 C0 18 00 2C */ lfs f0, 0x2c(r24) +/* 8031B108 00318068 EC 42 00 2A */ fadds f2, f2, f0 +/* 8031B10C 0031806C D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8031B110 00318070 D3 83 80 00 */ stfs f28, 0xCC008000@l(r3) +/* 8031B114 00318074 D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) +/* 8031B118 00318078 92 C3 80 00 */ stw r22, 0xCC008000@l(r3) +/* 8031B11C 0031807C C0 1F 01 48 */ lfs f0, 0x148(r31) +/* 8031B120 00318080 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8031B124 00318084 C0 1F 01 44 */ lfs f0, 0x144(r31) +/* 8031B128 00318088 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8031B12C 0031808C 48 00 02 4C */ b lbl_8031B378 +lbl_8031B130: +/* 8031B130 00318090 C0 22 C9 F4 */ lfs f1, lbl_805AE714@sda21(r2) +/* 8031B134 00318094 C0 18 00 30 */ lfs f0, 0x30(r24) +/* 8031B138 00318098 C0 42 C9 F8 */ lfs f2, lbl_805AE718@sda21(r2) +/* 8031B13C 0031809C EE 41 00 32 */ fmuls f18, f1, f0 +/* 8031B140 003180A0 C0 18 00 2C */ lfs f0, 0x2c(r24) +/* 8031B144 003180A4 EE 22 00 32 */ fmuls f17, f2, f0 +/* 8031B148 003180A8 FC 20 90 90 */ fmr f1, f18 +/* 8031B14C 003180AC 4B FF 9C A5 */ bl FastSinR__5CMathFf +/* 8031B150 003180B0 EE 71 00 72 */ fmuls f19, f17, f1 +/* 8031B154 003180B4 FC 20 90 90 */ fmr f1, f18 +/* 8031B158 003180B8 4B FF 9B ED */ bl FastCosR__5CMathFf +/* 8031B15C 003180BC EC 91 00 72 */ fmuls f4, f17, f1 +/* 8031B160 003180C0 3C 60 CC 01 */ lis r3, 0xCC008000@ha +/* 8031B164 003180C4 FC 00 98 50 */ fneg f0, f19 +/* 8031B168 003180C8 EC D3 20 2A */ fadds f6, f19, f4 +/* 8031B16C 003180CC EC E4 98 28 */ fsubs f7, f4, f19 +/* 8031B170 003180D0 EC 53 20 28 */ fsubs f2, f19, f4 +/* 8031B174 003180D4 EC 66 D8 2A */ fadds f3, f6, f27 +/* 8031B178 003180D8 EC 20 20 2A */ fadds f1, f0, f4 +/* 8031B17C 003180DC FC 00 20 50 */ fneg f0, f4 +/* 8031B180 003180E0 D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) +/* 8031B184 003180E4 EC 67 E8 2A */ fadds f3, f7, f29 +/* 8031B188 003180E8 EC A2 D8 2A */ fadds f5, f2, f27 +/* 8031B18C 003180EC D3 83 80 00 */ stfs f28, 0xCC008000@l(r3) +/* 8031B190 003180F0 EC 00 98 28 */ fsubs f0, f0, f19 +/* 8031B194 003180F4 EC 86 E8 2A */ fadds f4, f6, f29 +/* 8031B198 003180F8 D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) +/* 8031B19C 003180FC EC 7B 30 28 */ fsubs f3, f27, f6 +/* 8031B1A0 00318100 EC 5D 38 28 */ fsubs f2, f29, f7 +/* 8031B1A4 00318104 92 C3 80 00 */ stw r22, 0xCC008000@l(r3) +/* 8031B1A8 00318108 EC 21 D8 2A */ fadds f1, f1, f27 +/* 8031B1AC 0031810C EC 00 E8 2A */ fadds f0, f0, f29 +/* 8031B1B0 00318110 C0 DF 01 48 */ lfs f6, 0x148(r31) +/* 8031B1B4 00318114 D0 C3 80 00 */ stfs f6, 0xCC008000@l(r3) +/* 8031B1B8 00318118 C0 DF 01 4C */ lfs f6, 0x14c(r31) +/* 8031B1BC 0031811C D0 C3 80 00 */ stfs f6, 0xCC008000@l(r3) +/* 8031B1C0 00318120 D0 A3 80 00 */ stfs f5, 0xCC008000@l(r3) +/* 8031B1C4 00318124 D3 83 80 00 */ stfs f28, 0xCC008000@l(r3) +/* 8031B1C8 00318128 D0 83 80 00 */ stfs f4, 0xCC008000@l(r3) +/* 8031B1CC 0031812C 92 C3 80 00 */ stw r22, 0xCC008000@l(r3) +/* 8031B1D0 00318130 C0 BF 01 40 */ lfs f5, 0x140(r31) +/* 8031B1D4 00318134 D0 A3 80 00 */ stfs f5, 0xCC008000@l(r3) +/* 8031B1D8 00318138 C0 9F 01 4C */ lfs f4, 0x14c(r31) +/* 8031B1DC 0031813C D0 83 80 00 */ stfs f4, 0xCC008000@l(r3) +/* 8031B1E0 00318140 D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) +/* 8031B1E4 00318144 D3 83 80 00 */ stfs f28, 0xCC008000@l(r3) +/* 8031B1E8 00318148 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8031B1EC 0031814C 92 C3 80 00 */ stw r22, 0xCC008000@l(r3) +/* 8031B1F0 00318150 D0 A3 80 00 */ stfs f5, 0xCC008000@l(r3) +/* 8031B1F4 00318154 C0 5F 01 44 */ lfs f2, 0x144(r31) +/* 8031B1F8 00318158 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8031B1FC 0031815C D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8031B200 00318160 D3 83 80 00 */ stfs f28, 0xCC008000@l(r3) +/* 8031B204 00318164 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8031B208 00318168 92 C3 80 00 */ stw r22, 0xCC008000@l(r3) +/* 8031B20C 0031816C C0 1F 01 48 */ lfs f0, 0x148(r31) +/* 8031B210 00318170 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8031B214 00318174 C0 1F 01 44 */ lfs f0, 0x144(r31) +/* 8031B218 00318178 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8031B21C 0031817C 48 00 01 5C */ b lbl_8031B378 +lbl_8031B220: +/* 8031B220 00318180 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 8031B224 00318184 41 82 00 98 */ beq lbl_8031B2BC +/* 8031B228 00318188 C0 22 C9 F8 */ lfs f1, lbl_805AE718@sda21(r2) +/* 8031B22C 0031818C 3C C0 CC 01 */ lis r6, 0xCC008000@ha +/* 8031B230 00318190 C0 18 00 2C */ lfs f0, 0x2c(r24) +/* 8031B234 00318194 38 A0 02 02 */ li r5, 0x202 +/* 8031B238 00318198 38 80 00 02 */ li r4, 2 +/* 8031B23C 0031819C 38 60 00 00 */ li r3, 0 +/* 8031B240 003181A0 EC 01 00 32 */ fmuls f0, f1, f0 +/* 8031B244 003181A4 38 00 02 00 */ li r0, 0x200 +/* 8031B248 003181A8 EC 20 D8 2A */ fadds f1, f0, f27 +/* 8031B24C 003181AC EC 40 E8 2A */ fadds f2, f0, f29 +/* 8031B250 003181B0 D0 26 80 00 */ stfs f1, 0xCC008000@l(r6) +/* 8031B254 003181B4 D3 86 80 00 */ stfs f28, 0xCC008000@l(r6) +/* 8031B258 003181B8 D0 46 80 00 */ stfs f2, 0xCC008000@l(r6) +/* 8031B25C 003181BC 92 C6 80 00 */ stw r22, 0xCC008000@l(r6) +/* 8031B260 003181C0 B0 A6 80 00 */ sth r5, 0xCC008000@l(r6) +/* 8031B264 003181C4 C0 18 00 2C */ lfs f0, 0x2c(r24) +/* 8031B268 003181C8 EC 21 00 28 */ fsubs f1, f1, f0 +/* 8031B26C 003181CC D0 26 80 00 */ stfs f1, 0xCC008000@l(r6) +/* 8031B270 003181D0 D3 86 80 00 */ stfs f28, 0xCC008000@l(r6) +/* 8031B274 003181D4 D0 46 80 00 */ stfs f2, 0xCC008000@l(r6) +/* 8031B278 003181D8 92 C6 80 00 */ stw r22, 0xCC008000@l(r6) +/* 8031B27C 003181DC B0 86 80 00 */ sth r4, 0xCC008000@l(r6) +/* 8031B280 003181E0 C0 18 00 2C */ lfs f0, 0x2c(r24) +/* 8031B284 003181E4 D0 26 80 00 */ stfs f1, 0xCC008000@l(r6) +/* 8031B288 003181E8 EC 42 00 28 */ fsubs f2, f2, f0 +/* 8031B28C 003181EC D3 86 80 00 */ stfs f28, 0xCC008000@l(r6) +/* 8031B290 003181F0 D0 46 80 00 */ stfs f2, 0xCC008000@l(r6) +/* 8031B294 003181F4 92 C6 80 00 */ stw r22, 0xCC008000@l(r6) +/* 8031B298 003181F8 B0 66 80 00 */ sth r3, 0xCC008000@l(r6) +/* 8031B29C 003181FC C0 18 00 2C */ lfs f0, 0x2c(r24) +/* 8031B2A0 00318200 EC 21 00 2A */ fadds f1, f1, f0 +/* 8031B2A4 00318204 D0 26 80 00 */ stfs f1, 0xCC008000@l(r6) +/* 8031B2A8 00318208 D3 86 80 00 */ stfs f28, 0xCC008000@l(r6) +/* 8031B2AC 0031820C D0 46 80 00 */ stfs f2, 0xCC008000@l(r6) +/* 8031B2B0 00318210 92 C6 80 00 */ stw r22, 0xCC008000@l(r6) +/* 8031B2B4 00318214 B0 06 80 00 */ sth r0, 0xCC008000@l(r6) +/* 8031B2B8 00318218 48 00 00 C0 */ b lbl_8031B378 +lbl_8031B2BC: +/* 8031B2BC 0031821C C0 22 C9 F4 */ lfs f1, lbl_805AE714@sda21(r2) +/* 8031B2C0 00318220 C0 18 00 30 */ lfs f0, 0x30(r24) +/* 8031B2C4 00318224 C0 42 C9 F8 */ lfs f2, lbl_805AE718@sda21(r2) +/* 8031B2C8 00318228 EE 41 00 32 */ fmuls f18, f1, f0 +/* 8031B2CC 0031822C C0 18 00 2C */ lfs f0, 0x2c(r24) +/* 8031B2D0 00318230 EE 22 00 32 */ fmuls f17, f2, f0 +/* 8031B2D4 00318234 FC 20 90 90 */ fmr f1, f18 +/* 8031B2D8 00318238 4B FF 9B 19 */ bl FastSinR__5CMathFf +/* 8031B2DC 0031823C EE 71 00 72 */ fmuls f19, f17, f1 +/* 8031B2E0 00318240 FC 20 90 90 */ fmr f1, f18 +/* 8031B2E4 00318244 4B FF 9A 61 */ bl FastCosR__5CMathFf +/* 8031B2E8 00318248 EC 11 00 72 */ fmuls f0, f17, f1 +/* 8031B2EC 0031824C 3C C0 CC 01 */ lis r6, 0xCC008000@ha +/* 8031B2F0 00318250 38 A0 02 02 */ li r5, 0x202 +/* 8031B2F4 00318254 38 80 00 02 */ li r4, 2 +/* 8031B2F8 00318258 38 60 00 00 */ li r3, 0 +/* 8031B2FC 0031825C 38 00 02 00 */ li r0, 0x200 +/* 8031B300 00318260 EC D3 00 2A */ fadds f6, f19, f0 +/* 8031B304 00318264 EC F3 00 28 */ fsubs f7, f19, f0 +/* 8031B308 00318268 EC 3B 30 2A */ fadds f1, f27, f6 +/* 8031B30C 0031826C EC 1D 38 28 */ fsubs f0, f29, f7 +/* 8031B310 00318270 EC BB 38 2A */ fadds f5, f27, f7 +/* 8031B314 00318274 D0 26 80 00 */ stfs f1, 0xCC008000@l(r6) +/* 8031B318 00318278 EC 9D 30 2A */ fadds f4, f29, f6 +/* 8031B31C 0031827C EC 7B 30 28 */ fsubs f3, f27, f6 +/* 8031B320 00318280 D3 86 80 00 */ stfs f28, 0xCC008000@l(r6) +/* 8031B324 00318284 EC 5D 38 2A */ fadds f2, f29, f7 +/* 8031B328 00318288 EC 3B 38 28 */ fsubs f1, f27, f7 +/* 8031B32C 0031828C D0 06 80 00 */ stfs f0, 0xCC008000@l(r6) +/* 8031B330 00318290 EC 1D 30 28 */ fsubs f0, f29, f6 +/* 8031B334 00318294 92 C6 80 00 */ stw r22, 0xCC008000@l(r6) +/* 8031B338 00318298 B0 A6 80 00 */ sth r5, 0xCC008000@l(r6) +/* 8031B33C 0031829C D0 A6 80 00 */ stfs f5, 0xCC008000@l(r6) +/* 8031B340 003182A0 D3 86 80 00 */ stfs f28, 0xCC008000@l(r6) +/* 8031B344 003182A4 D0 86 80 00 */ stfs f4, 0xCC008000@l(r6) +/* 8031B348 003182A8 92 C6 80 00 */ stw r22, 0xCC008000@l(r6) +/* 8031B34C 003182AC B0 86 80 00 */ sth r4, 0xCC008000@l(r6) +/* 8031B350 003182B0 D0 66 80 00 */ stfs f3, 0xCC008000@l(r6) +/* 8031B354 003182B4 D3 86 80 00 */ stfs f28, 0xCC008000@l(r6) +/* 8031B358 003182B8 D0 46 80 00 */ stfs f2, 0xCC008000@l(r6) +/* 8031B35C 003182BC 92 C6 80 00 */ stw r22, 0xCC008000@l(r6) +/* 8031B360 003182C0 B0 66 80 00 */ sth r3, 0xCC008000@l(r6) +/* 8031B364 003182C4 D0 26 80 00 */ stfs f1, 0xCC008000@l(r6) +/* 8031B368 003182C8 D3 86 80 00 */ stfs f28, 0xCC008000@l(r6) +/* 8031B36C 003182CC D0 06 80 00 */ stfs f0, 0xCC008000@l(r6) +/* 8031B370 003182D0 92 C6 80 00 */ stw r22, 0xCC008000@l(r6) +/* 8031B374 003182D4 B0 06 80 00 */ sth r0, 0xCC008000@l(r6) +lbl_8031B378: +/* 8031B378 003182D8 3A B5 00 10 */ addi r21, r21, 0x10 +/* 8031B37C 003182DC 3A 94 00 38 */ addi r20, r20, 0x38 +/* 8031B380 003182E0 3A 73 00 01 */ addi r19, r19, 1 +lbl_8031B384: +/* 8031B384 003182E4 7C 13 B8 00 */ cmpw r19, r23 +/* 8031B388 003182E8 41 80 FB FC */ blt lbl_8031AF84 +/* 8031B38C 003182EC 48 00 0A 94 */ b lbl_8031BE20 +lbl_8031B390: +/* 8031B390 003182F0 C3 5F 03 38 */ lfs f26, 0x338(r31) +/* 8031B394 003182F4 57 9C 06 3E */ clrlwi r28, r28, 0x18 +/* 8031B398 003182F8 C3 3F 03 48 */ lfs f25, 0x348(r31) +/* 8031B39C 003182FC 3A 60 00 00 */ li r19, 0 +/* 8031B3A0 00318300 C3 1F 03 58 */ lfs f24, 0x358(r31) +/* 8031B3A4 00318304 3A A0 00 00 */ li r21, 0 +/* 8031B3A8 00318308 C2 FF 03 40 */ lfs f23, 0x340(r31) +/* 8031B3AC 0031830C C2 DF 03 50 */ lfs f22, 0x350(r31) +/* 8031B3B0 00318310 C2 BF 03 60 */ lfs f21, 0x360(r31) +/* 8031B3B4 00318314 C3 82 CA 10 */ lfs f28, lbl_805AE730@sda21(r2) +/* 8031B3B8 00318318 48 00 04 EC */ b lbl_8031B8A4 +lbl_8031B3BC: +/* 8031B3BC 0031831C 28 19 00 00 */ cmplwi r25, 0 +/* 8031B3C0 00318320 41 82 00 18 */ beq lbl_8031B3D8 +/* 8031B3C4 00318324 A0 14 00 00 */ lhz r0, 0(r20) +/* 8031B3C8 00318328 80 7E 00 3C */ lwz r3, 0x3c(r30) +/* 8031B3CC 0031832C 1C 00 00 38 */ mulli r0, r0, 0x38 +/* 8031B3D0 00318330 7E C3 02 14 */ add r22, r3, r0 +/* 8031B3D4 00318334 48 00 00 0C */ b lbl_8031B3E0 +lbl_8031B3D8: +/* 8031B3D8 00318338 80 1E 00 3C */ lwz r0, 0x3c(r30) +/* 8031B3DC 0031833C 7E C0 AA 14 */ add r22, r0, r21 +lbl_8031B3E0: +/* 8031B3E0 00318340 C0 36 00 04 */ lfs f1, 4(r22) +/* 8031B3E4 00318344 C0 B6 00 10 */ lfs f5, 0x10(r22) +/* 8031B3E8 00318348 C0 16 00 08 */ lfs f0, 8(r22) +/* 8031B3EC 0031834C C0 D6 00 14 */ lfs f6, 0x14(r22) +/* 8031B3F0 00318350 EC 81 28 28 */ fsubs f4, f1, f5 +/* 8031B3F4 00318354 C0 7E 00 80 */ lfs f3, 0x80(r30) +/* 8031B3F8 00318358 EC 40 30 28 */ fsubs f2, f0, f6 +/* 8031B3FC 0031835C C0 36 00 0C */ lfs f1, 0xc(r22) +/* 8031B400 00318360 C0 F6 00 18 */ lfs f7, 0x18(r22) +/* 8031B404 00318364 EC 03 01 32 */ fmuls f0, f3, f4 +/* 8031B408 00318368 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 8031B40C 0031836C EC 81 38 28 */ fsubs f4, f1, f7 +/* 8031B410 00318370 EC 23 00 B2 */ fmuls f1, f3, f2 +/* 8031B414 00318374 80 03 00 3C */ lwz r0, 0x3c(r3) +/* 8031B418 00318378 EC 40 28 2A */ fadds f2, f0, f5 +/* 8031B41C 0031837C 83 16 00 34 */ lwz r24, 0x34(r22) +/* 8031B420 00318380 EC 03 01 32 */ fmuls f0, f3, f4 +/* 8031B424 00318384 EC 21 30 2A */ fadds f1, f1, f6 +/* 8031B428 00318388 28 00 00 00 */ cmplwi r0, 0 +/* 8031B42C 0031838C D0 5F 01 34 */ stfs f2, 0x134(r31) +/* 8031B430 00318390 EC 00 38 2A */ fadds f0, f0, f7 +/* 8031B434 00318394 D0 3F 01 38 */ stfs f1, 0x138(r31) +/* 8031B438 00318398 D0 1F 01 3C */ stfs f0, 0x13c(r31) +/* 8031B43C 0031839C 40 82 00 0C */ bne lbl_8031B448 +/* 8031B440 003183A0 C3 62 C9 F0 */ lfs f27, lbl_805AE710@sda21(r2) +/* 8031B444 003183A4 48 00 00 08 */ b lbl_8031B44C +lbl_8031B448: +/* 8031B448 003183A8 C3 76 00 30 */ lfs f27, 0x30(r22) +lbl_8031B44C: +/* 8031B44C 003183AC C0 96 00 1C */ lfs f4, 0x1c(r22) +/* 8031B450 003183B0 C0 76 00 20 */ lfs f3, 0x20(r22) +/* 8031B454 003183B4 EC 24 01 32 */ fmuls f1, f4, f4 +/* 8031B458 003183B8 C0 B6 00 24 */ lfs f5, 0x24(r22) +/* 8031B45C 003183BC EC 03 00 F2 */ fmuls f0, f3, f3 +/* 8031B460 003183C0 EC 45 01 72 */ fmuls f2, f5, f5 +/* 8031B464 003183C4 EC 01 00 2A */ fadds f0, f1, f0 +/* 8031B468 003183C8 EC 02 00 2A */ fadds f0, f2, f0 +/* 8031B46C 003183CC FC 00 E0 40 */ fcmpo cr0, f0, f28 +/* 8031B470 003183D0 40 81 00 1C */ ble lbl_8031B48C +/* 8031B474 003183D4 FC 00 00 34 */ frsqrte f0, f0 +/* 8031B478 003183D8 FC 00 00 18 */ frsp f0, f0 +/* 8031B47C 003183DC EE 80 01 32 */ fmuls f20, f0, f4 +/* 8031B480 003183E0 EE 60 00 F2 */ fmuls f19, f0, f3 +/* 8031B484 003183E4 EE 40 01 72 */ fmuls f18, f0, f5 +/* 8031B488 003183E8 48 00 00 74 */ b lbl_8031B4FC +lbl_8031B48C: +/* 8031B48C 003183EC C0 56 00 08 */ lfs f2, 8(r22) +/* 8031B490 003183F0 C0 16 00 14 */ lfs f0, 0x14(r22) +/* 8031B494 003183F4 C0 36 00 04 */ lfs f1, 4(r22) +/* 8031B498 003183F8 EC A2 00 28 */ fsubs f5, f2, f0 +/* 8031B49C 003183FC C0 16 00 10 */ lfs f0, 0x10(r22) +/* 8031B4A0 00318400 C0 56 00 0C */ lfs f2, 0xc(r22) +/* 8031B4A4 00318404 EC 61 00 28 */ fsubs f3, f1, f0 +/* 8031B4A8 00318408 C0 36 00 18 */ lfs f1, 0x18(r22) +/* 8031B4AC 0031840C EC 05 01 72 */ fmuls f0, f5, f5 +/* 8031B4B0 00318410 EC 82 08 28 */ fsubs f4, f2, f1 +/* 8031B4B4 00318414 D0 BF 00 94 */ stfs f5, 0x94(r31) +/* 8031B4B8 00318418 EC 23 00 F2 */ fmuls f1, f3, f3 +/* 8031B4BC 0031841C D0 7F 00 90 */ stfs f3, 0x90(r31) +/* 8031B4C0 00318420 EC 44 01 32 */ fmuls f2, f4, f4 +/* 8031B4C4 00318424 EC 01 00 2A */ fadds f0, f1, f0 +/* 8031B4C8 00318428 D0 9F 00 98 */ stfs f4, 0x98(r31) +/* 8031B4CC 0031842C EC 02 00 2A */ fadds f0, f2, f0 +/* 8031B4D0 00318430 FC 00 E0 40 */ fcmpo cr0, f0, f28 +/* 8031B4D4 00318434 40 81 00 1C */ ble lbl_8031B4F0 +/* 8031B4D8 00318438 FC 00 00 34 */ frsqrte f0, f0 +/* 8031B4DC 0031843C FC 00 00 18 */ frsp f0, f0 +/* 8031B4E0 00318440 EE 80 00 F2 */ fmuls f20, f0, f3 +/* 8031B4E4 00318444 EE 60 01 72 */ fmuls f19, f0, f5 +/* 8031B4E8 00318448 EE 40 01 32 */ fmuls f18, f0, f4 +/* 8031B4EC 0031844C 48 00 00 10 */ b lbl_8031B4FC +lbl_8031B4F0: +/* 8031B4F0 00318450 C2 82 C9 E8 */ lfs f20, lbl_805AE708@sda21(r2) +/* 8031B4F4 00318454 C2 42 C9 F0 */ lfs f18, lbl_805AE710@sda21(r2) +/* 8031B4F8 00318458 FE 60 A0 90 */ fmr f19, f20 +lbl_8031B4FC: +/* 8031B4FC 0031845C 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 8031B500 00318460 C0 96 00 2C */ lfs f4, 0x2c(r22) +/* 8031B504 00318464 88 03 00 30 */ lbz r0, 0x30(r3) +/* 8031B508 00318468 EF E4 05 32 */ fmuls f31, f4, f20 +/* 8031B50C 0031846C 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 8031B510 00318470 EF C4 04 F2 */ fmuls f30, f4, f19 +/* 8031B514 00318474 EF A4 04 B2 */ fmuls f29, f4, f18 +/* 8031B518 00318478 41 82 00 E4 */ beq lbl_8031B5FC +/* 8031B51C 0031847C EC 58 05 32 */ fmuls f2, f24, f20 +/* 8031B520 00318480 C0 02 CA 10 */ lfs f0, lbl_805AE730@sda21(r2) +/* 8031B524 00318484 EC 39 04 B2 */ fmuls f1, f25, f18 +/* 8031B528 00318488 EC 7A 04 F2 */ fmuls f3, f26, f19 +/* 8031B52C 0031848C EC B2 16 B8 */ fmsubs f5, f18, f26, f2 +/* 8031B530 00318490 EC 53 0E 38 */ fmsubs f2, f19, f24, f1 +/* 8031B534 00318494 EC 74 1E 78 */ fmsubs f3, f20, f25, f3 +/* 8031B538 00318498 EC 25 01 72 */ fmuls f1, f5, f5 +/* 8031B53C 0031849C EC 22 08 BA */ fmadds f1, f2, f2, f1 +/* 8031B540 003184A0 EC 23 08 FA */ fmadds f1, f3, f3, f1 +/* 8031B544 003184A4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8031B548 003184A8 40 81 00 24 */ ble lbl_8031B56C +/* 8031B54C 003184AC FC 20 08 34 */ frsqrte f1, f1 +/* 8031B550 003184B0 EC 04 06 F2 */ fmuls f0, f4, f27 +/* 8031B554 003184B4 FC 20 08 18 */ frsp f1, f1 +/* 8031B558 003184B8 EC 00 00 72 */ fmuls f0, f0, f1 +/* 8031B55C 003184BC EE 42 00 32 */ fmuls f18, f2, f0 +/* 8031B560 003184C0 EE 25 00 32 */ fmuls f17, f5, f0 +/* 8031B564 003184C4 EE 63 00 32 */ fmuls f19, f3, f0 +/* 8031B568 003184C8 48 00 00 B8 */ b lbl_8031B620 +lbl_8031B56C: +/* 8031B56C 003184CC C0 56 00 08 */ lfs f2, 8(r22) +/* 8031B570 003184D0 38 7F 00 84 */ addi r3, r31, 0x84 +/* 8031B574 003184D4 C0 36 00 0C */ lfs f1, 0xc(r22) +/* 8031B578 003184D8 38 9F 00 78 */ addi r4, r31, 0x78 +/* 8031B57C 003184DC C0 16 00 04 */ lfs f0, 4(r22) +/* 8031B580 003184E0 EC 56 10 28 */ fsubs f2, f22, f2 +/* 8031B584 003184E4 EC 35 08 28 */ fsubs f1, f21, f1 +/* 8031B588 003184E8 EC 17 00 28 */ fsubs f0, f23, f0 +/* 8031B58C 003184EC D0 5F 00 7C */ stfs f2, 0x7c(r31) +/* 8031B590 003184F0 D0 1F 00 78 */ stfs f0, 0x78(r31) +/* 8031B594 003184F4 D0 3F 00 80 */ stfs f1, 0x80(r31) +/* 8031B598 003184F8 4B FF 92 B9 */ bl AsNormalized__9CVector3fCFv +/* 8031B59C 003184FC C0 BF 00 8C */ lfs f5, 0x8c(r31) +/* 8031B5A0 00318500 C0 9F 00 88 */ lfs f4, 0x88(r31) +/* 8031B5A4 00318504 EC 45 05 32 */ fmuls f2, f5, f20 +/* 8031B5A8 00318508 C0 DF 00 84 */ lfs f6, 0x84(r31) +/* 8031B5AC 0031850C EC 24 04 B2 */ fmuls f1, f4, f18 +/* 8031B5B0 00318510 C0 02 CA 10 */ lfs f0, lbl_805AE730@sda21(r2) +/* 8031B5B4 00318514 EC 66 04 F2 */ fmuls f3, f6, f19 +/* 8031B5B8 00318518 EE 32 11 B8 */ fmsubs f17, f18, f6, f2 +/* 8031B5BC 0031851C EE 53 09 78 */ fmsubs f18, f19, f5, f1 +/* 8031B5C0 00318520 EE 74 19 38 */ fmsubs f19, f20, f4, f3 +/* 8031B5C4 00318524 EC 31 04 72 */ fmuls f1, f17, f17 +/* 8031B5C8 00318528 EC 32 0C BA */ fmadds f1, f18, f18, f1 +/* 8031B5CC 0031852C EC 33 0C FA */ fmadds f1, f19, f19, f1 +/* 8031B5D0 00318530 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8031B5D4 00318534 40 81 00 4C */ ble lbl_8031B620 +/* 8031B5D8 00318538 FC 20 08 34 */ frsqrte f1, f1 +/* 8031B5DC 0031853C C0 16 00 2C */ lfs f0, 0x2c(r22) +/* 8031B5E0 00318540 EC 00 06 F2 */ fmuls f0, f0, f27 +/* 8031B5E4 00318544 FC 20 08 18 */ frsp f1, f1 +/* 8031B5E8 00318548 EC 00 00 72 */ fmuls f0, f0, f1 +/* 8031B5EC 0031854C EE 52 00 32 */ fmuls f18, f18, f0 +/* 8031B5F0 00318550 EE 31 00 32 */ fmuls f17, f17, f0 +/* 8031B5F4 00318554 EE 73 00 32 */ fmuls f19, f19, f0 +/* 8031B5F8 00318558 48 00 00 28 */ b lbl_8031B620 +lbl_8031B5FC: +/* 8031B5FC 0031855C EC 59 07 72 */ fmuls f2, f25, f29 +/* 8031B600 00318560 EC 38 07 F2 */ fmuls f1, f24, f31 +/* 8031B604 00318564 EC 1A 07 B2 */ fmuls f0, f26, f30 +/* 8031B608 00318568 EC 5E 16 38 */ fmsubs f2, f30, f24, f2 +/* 8031B60C 0031856C EC 3D 0E B8 */ fmsubs f1, f29, f26, f1 +/* 8031B610 00318570 EC 1F 06 78 */ fmsubs f0, f31, f25, f0 +/* 8031B614 00318574 EE 5B 00 B2 */ fmuls f18, f27, f2 +/* 8031B618 00318578 EE 3B 00 72 */ fmuls f17, f27, f1 +/* 8031B61C 0031857C EE 7B 00 32 */ fmuls f19, f27, f0 +lbl_8031B620: +/* 8031B620 00318580 28 1C 00 00 */ cmplwi r28, 0 +/* 8031B624 00318584 40 82 01 70 */ bne lbl_8031B794 +/* 8031B628 00318588 80 96 00 28 */ lwz r4, 0x28(r22) +/* 8031B62C 0031858C 80 7E 00 74 */ lwz r3, 0x74(r30) +/* 8031B630 00318590 80 16 00 00 */ lwz r0, 0(r22) +/* 8031B634 00318594 7C 64 18 50 */ subf r3, r4, r3 +/* 8031B638 00318598 3A 43 FF FF */ addi r18, r3, -1 +/* 8031B63C 0031859C 7C 64 00 50 */ subf r3, r4, r0 +/* 8031B640 003185A0 48 00 F1 39 */ bl SetParticleLifetime__16CParticleGlobalsFi +/* 8031B644 003185A4 7E 43 93 78 */ mr r3, r18 +/* 8031B648 003185A8 48 00 F0 35 */ bl UpdateParticleLifetimeTweenValues__16CParticleGlobalsFi +/* 8031B64C 003185AC 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 8031B650 003185B0 7E 44 93 78 */ mr r4, r18 +/* 8031B654 003185B4 38 BF 01 40 */ addi r5, r31, 0x140 +/* 8031B658 003185B8 80 63 00 40 */ lwz r3, 0x40(r3) +/* 8031B65C 003185BC 81 83 00 00 */ lwz r12, 0(r3) +/* 8031B660 003185C0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031B664 003185C4 7D 89 03 A6 */ mtctr r12 +/* 8031B668 003185C8 4E 80 04 21 */ bctrl +/* 8031B66C 003185CC C0 C2 C9 F8 */ lfs f6, lbl_805AE718@sda21(r2) +/* 8031B670 003185D0 3C 60 CC 01 */ lis r3, 0xCC008000@ha +/* 8031B674 003185D4 C0 BF 01 34 */ lfs f5, 0x134(r31) +/* 8031B678 003185D8 EC 26 04 B2 */ fmuls f1, f6, f18 +/* 8031B67C 003185DC C0 9F 01 38 */ lfs f4, 0x138(r31) +/* 8031B680 003185E0 EC 06 04 72 */ fmuls f0, f6, f17 +/* 8031B684 003185E4 C0 7F 01 3C */ lfs f3, 0x13c(r31) +/* 8031B688 003185E8 EC 46 04 F2 */ fmuls f2, f6, f19 +/* 8031B68C 003185EC EC A5 08 2A */ fadds f5, f5, f1 +/* 8031B690 003185F0 EC 26 07 F2 */ fmuls f1, f6, f31 +/* 8031B694 003185F4 EC 84 00 2A */ fadds f4, f4, f0 +/* 8031B698 003185F8 EC 06 07 B2 */ fmuls f0, f6, f30 +/* 8031B69C 003185FC D0 BF 01 34 */ stfs f5, 0x134(r31) +/* 8031B6A0 00318600 EC 25 08 2A */ fadds f1, f5, f1 +/* 8031B6A4 00318604 EC 43 10 2A */ fadds f2, f3, f2 +/* 8031B6A8 00318608 D0 9F 01 38 */ stfs f4, 0x138(r31) +/* 8031B6AC 0031860C ED 64 00 2A */ fadds f11, f4, f0 +/* 8031B6B0 00318610 EC 06 07 72 */ fmuls f0, f6, f29 +/* 8031B6B4 00318614 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8031B6B8 00318618 ED 21 F8 28 */ fsubs f9, f1, f31 +/* 8031B6BC 0031861C D1 63 80 00 */ stfs f11, 0xCC008000@l(r3) +/* 8031B6C0 00318620 ED 0B F0 28 */ fsubs f8, f11, f30 +/* 8031B6C4 00318624 ED 42 00 2A */ fadds f10, f2, f0 +/* 8031B6C8 00318628 EC C9 90 28 */ fsubs f6, f9, f18 +/* 8031B6CC 0031862C D0 5F 01 3C */ stfs f2, 0x13c(r31) +/* 8031B6D0 00318630 EC A8 88 28 */ fsubs f5, f8, f17 +/* 8031B6D4 00318634 D1 43 80 00 */ stfs f10, 0xCC008000@l(r3) +/* 8031B6D8 00318638 EC EA E8 28 */ fsubs f7, f10, f29 +/* 8031B6DC 0031863C EC 66 F8 2A */ fadds f3, f6, f31 +/* 8031B6E0 00318640 93 03 80 00 */ stw r24, 0xCC008000@l(r3) +/* 8031B6E4 00318644 EC 45 F0 2A */ fadds f2, f5, f30 +/* 8031B6E8 00318648 EC 87 98 28 */ fsubs f4, f7, f19 +/* 8031B6EC 0031864C C0 1F 01 48 */ lfs f0, 0x148(r31) +/* 8031B6F0 00318650 D0 3F 01 34 */ stfs f1, 0x134(r31) +/* 8031B6F4 00318654 EC 24 E8 2A */ fadds f1, f4, f29 +/* 8031B6F8 00318658 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8031B6FC 0031865C C0 1F 01 4C */ lfs f0, 0x14c(r31) +/* 8031B700 00318660 D1 7F 01 38 */ stfs f11, 0x138(r31) +/* 8031B704 00318664 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8031B708 00318668 D1 23 80 00 */ stfs f9, 0xCC008000@l(r3) +/* 8031B70C 0031866C D1 03 80 00 */ stfs f8, 0xCC008000@l(r3) +/* 8031B710 00318670 D0 E3 80 00 */ stfs f7, 0xCC008000@l(r3) +/* 8031B714 00318674 93 03 80 00 */ stw r24, 0xCC008000@l(r3) +/* 8031B718 00318678 C0 1F 01 40 */ lfs f0, 0x140(r31) +/* 8031B71C 0031867C D1 5F 01 3C */ stfs f10, 0x13c(r31) +/* 8031B720 00318680 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8031B724 00318684 C0 1F 01 4C */ lfs f0, 0x14c(r31) +/* 8031B728 00318688 D1 3F 01 34 */ stfs f9, 0x134(r31) +/* 8031B72C 0031868C D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8031B730 00318690 D0 C3 80 00 */ stfs f6, 0xCC008000@l(r3) +/* 8031B734 00318694 D0 A3 80 00 */ stfs f5, 0xCC008000@l(r3) +/* 8031B738 00318698 D0 83 80 00 */ stfs f4, 0xCC008000@l(r3) +/* 8031B73C 0031869C 93 03 80 00 */ stw r24, 0xCC008000@l(r3) +/* 8031B740 003186A0 C0 1F 01 40 */ lfs f0, 0x140(r31) +/* 8031B744 003186A4 D1 1F 01 38 */ stfs f8, 0x138(r31) +/* 8031B748 003186A8 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8031B74C 003186AC C0 1F 01 44 */ lfs f0, 0x144(r31) +/* 8031B750 003186B0 D0 FF 01 3C */ stfs f7, 0x13c(r31) +/* 8031B754 003186B4 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8031B758 003186B8 D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) +/* 8031B75C 003186BC D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8031B760 003186C0 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8031B764 003186C4 93 03 80 00 */ stw r24, 0xCC008000@l(r3) +/* 8031B768 003186C8 C0 1F 01 48 */ lfs f0, 0x148(r31) +/* 8031B76C 003186CC D0 DF 01 34 */ stfs f6, 0x134(r31) +/* 8031B770 003186D0 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8031B774 003186D4 D0 BF 01 38 */ stfs f5, 0x138(r31) +/* 8031B778 003186D8 C0 1F 01 44 */ lfs f0, 0x144(r31) +/* 8031B77C 003186DC D0 9F 01 3C */ stfs f4, 0x13c(r31) +/* 8031B780 003186E0 D0 7F 01 34 */ stfs f3, 0x134(r31) +/* 8031B784 003186E4 D0 5F 01 38 */ stfs f2, 0x138(r31) +/* 8031B788 003186E8 D0 3F 01 3C */ stfs f1, 0x13c(r31) +/* 8031B78C 003186EC D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8031B790 003186F0 48 00 01 08 */ b lbl_8031B898 +lbl_8031B794: +/* 8031B794 003186F4 C0 C2 C9 F8 */ lfs f6, lbl_805AE718@sda21(r2) +/* 8031B798 003186F8 3C C0 CC 01 */ lis r6, 0xCC008000@ha +/* 8031B79C 003186FC C0 BF 01 34 */ lfs f5, 0x134(r31) +/* 8031B7A0 00318700 38 A0 02 02 */ li r5, 0x202 +/* 8031B7A4 00318704 EC 06 04 B2 */ fmuls f0, f6, f18 +/* 8031B7A8 00318708 C0 9F 01 38 */ lfs f4, 0x138(r31) +/* 8031B7AC 0031870C EC 26 04 72 */ fmuls f1, f6, f17 +/* 8031B7B0 00318710 C0 7F 01 3C */ lfs f3, 0x13c(r31) +/* 8031B7B4 00318714 EC 46 04 F2 */ fmuls f2, f6, f19 +/* 8031B7B8 00318718 38 80 00 02 */ li r4, 2 +/* 8031B7BC 0031871C EC A5 00 2A */ fadds f5, f5, f0 +/* 8031B7C0 00318720 38 60 00 00 */ li r3, 0 +/* 8031B7C4 00318724 EC 06 07 F2 */ fmuls f0, f6, f31 +/* 8031B7C8 00318728 38 00 02 00 */ li r0, 0x200 +/* 8031B7CC 0031872C EC 84 08 2A */ fadds f4, f4, f1 +/* 8031B7D0 00318730 EC 26 07 B2 */ fmuls f1, f6, f30 +/* 8031B7D4 00318734 ED 65 00 2A */ fadds f11, f5, f0 +/* 8031B7D8 00318738 D0 BF 01 34 */ stfs f5, 0x134(r31) +/* 8031B7DC 0031873C ED 83 10 2A */ fadds f12, f3, f2 +/* 8031B7E0 00318740 EC 06 07 72 */ fmuls f0, f6, f29 +/* 8031B7E4 00318744 D0 9F 01 38 */ stfs f4, 0x138(r31) +/* 8031B7E8 00318748 ED 44 08 2A */ fadds f10, f4, f1 +/* 8031B7EC 0031874C D1 66 80 00 */ stfs f11, 0xCC008000@l(r6) +/* 8031B7F0 00318750 ED 0B F8 28 */ fsubs f8, f11, f31 +/* 8031B7F4 00318754 ED 2C 00 2A */ fadds f9, f12, f0 +/* 8031B7F8 00318758 D1 46 80 00 */ stfs f10, 0xCC008000@l(r6) +/* 8031B7FC 0031875C EC EA F0 28 */ fsubs f7, f10, f30 +/* 8031B800 00318760 EC A8 90 28 */ fsubs f5, f8, f18 +/* 8031B804 00318764 D1 26 80 00 */ stfs f9, 0xCC008000@l(r6) +/* 8031B808 00318768 EC C9 E8 28 */ fsubs f6, f9, f29 +/* 8031B80C 0031876C EC 87 88 28 */ fsubs f4, f7, f17 +/* 8031B810 00318770 93 06 80 00 */ stw r24, 0xCC008000@l(r6) +/* 8031B814 00318774 EC 45 F8 2A */ fadds f2, f5, f31 +/* 8031B818 00318778 EC 66 98 28 */ fsubs f3, f6, f19 +/* 8031B81C 0031877C B0 A6 80 00 */ sth r5, 0xCC008000@l(r6) +/* 8031B820 00318780 EC 24 F0 2A */ fadds f1, f4, f30 +/* 8031B824 00318784 D1 06 80 00 */ stfs f8, 0xCC008000@l(r6) +/* 8031B828 00318788 EC 03 E8 2A */ fadds f0, f3, f29 +/* 8031B82C 0031878C D0 E6 80 00 */ stfs f7, 0xCC008000@l(r6) +/* 8031B830 00318790 D0 C6 80 00 */ stfs f6, 0xCC008000@l(r6) +/* 8031B834 00318794 93 06 80 00 */ stw r24, 0xCC008000@l(r6) +/* 8031B838 00318798 B0 86 80 00 */ sth r4, 0xCC008000@l(r6) +/* 8031B83C 0031879C D0 A6 80 00 */ stfs f5, 0xCC008000@l(r6) +/* 8031B840 003187A0 D0 86 80 00 */ stfs f4, 0xCC008000@l(r6) +/* 8031B844 003187A4 D0 66 80 00 */ stfs f3, 0xCC008000@l(r6) +/* 8031B848 003187A8 93 06 80 00 */ stw r24, 0xCC008000@l(r6) +/* 8031B84C 003187AC B0 66 80 00 */ sth r3, 0xCC008000@l(r6) +/* 8031B850 003187B0 D1 9F 01 3C */ stfs f12, 0x13c(r31) +/* 8031B854 003187B4 D0 46 80 00 */ stfs f2, 0xCC008000@l(r6) +/* 8031B858 003187B8 D1 7F 01 34 */ stfs f11, 0x134(r31) +/* 8031B85C 003187BC D1 5F 01 38 */ stfs f10, 0x138(r31) +/* 8031B860 003187C0 D1 3F 01 3C */ stfs f9, 0x13c(r31) +/* 8031B864 003187C4 D0 26 80 00 */ stfs f1, 0xCC008000@l(r6) +/* 8031B868 003187C8 D1 1F 01 34 */ stfs f8, 0x134(r31) +/* 8031B86C 003187CC D0 FF 01 38 */ stfs f7, 0x138(r31) +/* 8031B870 003187D0 D0 DF 01 3C */ stfs f6, 0x13c(r31) +/* 8031B874 003187D4 D0 06 80 00 */ stfs f0, 0xCC008000@l(r6) +/* 8031B878 003187D8 D0 BF 01 34 */ stfs f5, 0x134(r31) +/* 8031B87C 003187DC D0 9F 01 38 */ stfs f4, 0x138(r31) +/* 8031B880 003187E0 D0 7F 01 3C */ stfs f3, 0x13c(r31) +/* 8031B884 003187E4 93 06 80 00 */ stw r24, 0xCC008000@l(r6) +/* 8031B888 003187E8 D0 5F 01 34 */ stfs f2, 0x134(r31) +/* 8031B88C 003187EC D0 3F 01 38 */ stfs f1, 0x138(r31) +/* 8031B890 003187F0 D0 1F 01 3C */ stfs f0, 0x13c(r31) +/* 8031B894 003187F4 B0 06 80 00 */ sth r0, 0xCC008000@l(r6) +lbl_8031B898: +/* 8031B898 003187F8 3A 94 00 10 */ addi r20, r20, 0x10 +/* 8031B89C 003187FC 3A B5 00 38 */ addi r21, r21, 0x38 +/* 8031B8A0 00318800 3A 73 00 01 */ addi r19, r19, 1 +lbl_8031B8A4: +/* 8031B8A4 00318804 7C 13 B8 00 */ cmpw r19, r23 +/* 8031B8A8 00318808 41 80 FB 14 */ blt lbl_8031B3BC +/* 8031B8AC 0031880C 48 00 05 74 */ b lbl_8031BE20 +lbl_8031B8B0: +/* 8031B8B0 00318810 6E A3 80 00 */ xoris r3, r21, 0x8000 +/* 8031B8B4 00318814 3C 00 43 30 */ lis r0, 0x4330 +/* 8031B8B8 00318818 90 7F 03 6C */ stw r3, 0x36c(r31) +/* 8031B8BC 0031881C 57 9C 06 3E */ clrlwi r28, r28, 0x18 +/* 8031B8C0 00318820 C8 22 CA 18 */ lfd f1, lbl_805AE738@sda21(r2) +/* 8031B8C4 00318824 3A 60 00 00 */ li r19, 0 +/* 8031B8C8 00318828 90 1F 03 68 */ stw r0, 0x368(r31) +/* 8031B8CC 0031882C 3A 80 00 00 */ li r20, 0 +/* 8031B8D0 00318830 C0 42 C9 F0 */ lfs f2, lbl_805AE710@sda21(r2) +/* 8031B8D4 00318834 C8 1F 03 68 */ lfd f0, 0x368(r31) +/* 8031B8D8 00318838 C3 82 CA 14 */ lfs f28, lbl_805AE734@sda21(r2) +/* 8031B8DC 0031883C EC 00 08 28 */ fsubs f0, f0, f1 +/* 8031B8E0 00318840 C3 A2 C9 EC */ lfs f29, lbl_805AE70C@sda21(r2) +/* 8031B8E4 00318844 EE E2 00 24 */ fdivs f23, f2, f0 +/* 8031B8E8 00318848 48 00 05 30 */ b lbl_8031BE18 +lbl_8031B8EC: +/* 8031B8EC 0031884C 80 1E 00 3C */ lwz r0, 0x3c(r30) +/* 8031B8F0 00318850 C0 7E 00 80 */ lfs f3, 0x80(r30) +/* 8031B8F4 00318854 7E C0 A2 14 */ add r22, r0, r20 +/* 8031B8F8 00318858 C0 36 00 04 */ lfs f1, 4(r22) +/* 8031B8FC 0031885C C0 56 00 10 */ lfs f2, 0x10(r22) +/* 8031B900 00318860 C0 16 00 08 */ lfs f0, 8(r22) +/* 8031B904 00318864 EC 81 10 28 */ fsubs f4, f1, f2 +/* 8031B908 00318868 C0 F6 00 14 */ lfs f7, 0x14(r22) +/* 8031B90C 0031886C C0 36 00 0C */ lfs f1, 0xc(r22) +/* 8031B910 00318870 EC A0 38 28 */ fsubs f5, f0, f7 +/* 8031B914 00318874 C1 16 00 18 */ lfs f8, 0x18(r22) +/* 8031B918 00318878 EC 03 01 32 */ fmuls f0, f3, f4 +/* 8031B91C 0031887C EC C1 40 28 */ fsubs f6, f1, f8 +/* 8031B920 00318880 EC 23 01 72 */ fmuls f1, f3, f5 +/* 8031B924 00318884 EC 40 10 2A */ fadds f2, f0, f2 +/* 8031B928 00318888 EC 03 01 B2 */ fmuls f0, f3, f6 +/* 8031B92C 0031888C EC 21 38 2A */ fadds f1, f1, f7 +/* 8031B930 00318890 D0 5F 01 28 */ stfs f2, 0x128(r31) +/* 8031B934 00318894 EE 37 01 32 */ fmuls f17, f23, f4 +/* 8031B938 00318898 EC 00 40 2A */ fadds f0, f0, f8 +/* 8031B93C 0031889C D0 3F 01 2C */ stfs f1, 0x12c(r31) +/* 8031B940 003188A0 EE 57 01 72 */ fmuls f18, f23, f5 +/* 8031B944 003188A4 EE 77 01 B2 */ fmuls f19, f23, f6 +/* 8031B948 003188A8 D0 1F 01 30 */ stfs f0, 0x130(r31) +/* 8031B94C 003188AC 80 16 00 34 */ lwz r0, 0x34(r22) +/* 8031B950 003188B0 90 1F 00 34 */ stw r0, 0x34(r31) +/* 8031B954 003188B4 E0 1F A0 37 */ psq_l f0, 55(r31), 1, qr2 +/* 8031B958 003188B8 EC 1D 00 32 */ fmuls f0, f29, f0 +/* 8031B95C 003188BC EC 17 00 32 */ fmuls f0, f23, f0 +/* 8031B960 003188C0 EF 7C 00 32 */ fmuls f27, f28, f0 +/* 8031B964 003188C4 F3 7F A0 08 */ psq_st f27, 8(r31), 1, qr2 +/* 8031B968 003188C8 28 1C 00 00 */ cmplwi r28, 0 +/* 8031B96C 003188CC 88 1F 00 08 */ lbz r0, 8(r31) +/* 8031B970 003188D0 98 1F 00 37 */ stb r0, 0x37(r31) +/* 8031B974 003188D4 83 1F 00 34 */ lwz r24, 0x34(r31) +/* 8031B978 003188D8 40 82 02 98 */ bne lbl_8031BC10 +/* 8031B97C 003188DC 80 96 00 28 */ lwz r4, 0x28(r22) +/* 8031B980 003188E0 80 7E 00 74 */ lwz r3, 0x74(r30) +/* 8031B984 003188E4 80 16 00 00 */ lwz r0, 0(r22) +/* 8031B988 003188E8 7C 64 18 50 */ subf r3, r4, r3 +/* 8031B98C 003188EC 3A 43 FF FF */ addi r18, r3, -1 +/* 8031B990 003188F0 7C 64 00 50 */ subf r3, r4, r0 +/* 8031B994 003188F4 48 00 ED E5 */ bl SetParticleLifetime__16CParticleGlobalsFi +/* 8031B998 003188F8 7E 43 93 78 */ mr r3, r18 +/* 8031B99C 003188FC 48 00 EC E1 */ bl UpdateParticleLifetimeTweenValues__16CParticleGlobalsFi +/* 8031B9A0 00318900 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 8031B9A4 00318904 7E 44 93 78 */ mr r4, r18 +/* 8031B9A8 00318908 38 BF 01 40 */ addi r5, r31, 0x140 +/* 8031B9AC 0031890C 80 63 00 40 */ lwz r3, 0x40(r3) +/* 8031B9B0 00318910 81 83 00 00 */ lwz r12, 0(r3) +/* 8031B9B4 00318914 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031B9B8 00318918 7D 89 03 A6 */ mtctr r12 +/* 8031B9BC 0031891C 4E 80 04 21 */ bctrl +/* 8031B9C0 00318920 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 8031B9C4 00318924 41 82 01 08 */ beq lbl_8031BACC +/* 8031B9C8 00318928 C3 C2 C9 F8 */ lfs f30, lbl_805AE718@sda21(r2) +/* 8031B9CC 0031892C 3B 20 00 00 */ li r25, 0 +/* 8031B9D0 00318930 3E 40 CC 01 */ lis r18, 0xcc01 +/* 8031B9D4 00318934 48 00 00 EC */ b lbl_8031BAC0 +lbl_8031B9D8: +/* 8031B9D8 00318938 C0 5F 01 28 */ lfs f2, 0x128(r31) +/* 8031B9DC 0031893C 38 7F 00 6C */ addi r3, r31, 0x6c +/* 8031B9E0 00318940 C0 3F 01 2C */ lfs f1, 0x12c(r31) +/* 8031B9E4 00318944 38 9F 02 D4 */ addi r4, r31, 0x2d4 +/* 8031B9E8 00318948 C0 1F 01 30 */ lfs f0, 0x130(r31) +/* 8031B9EC 0031894C EC 42 88 2A */ fadds f2, f2, f17 +/* 8031B9F0 00318950 EC 21 90 2A */ fadds f1, f1, f18 +/* 8031B9F4 00318954 38 BF 01 28 */ addi r5, r31, 0x128 +/* 8031B9F8 00318958 EC 00 98 2A */ fadds f0, f0, f19 +/* 8031B9FC 0031895C D0 5F 01 28 */ stfs f2, 0x128(r31) +/* 8031BA00 00318960 D0 3F 01 2C */ stfs f1, 0x12c(r31) +/* 8031BA04 00318964 D0 1F 01 30 */ stfs f0, 0x130(r31) +/* 8031BA08 00318968 4B FF 70 E1 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8031BA0C 0031896C C0 16 00 2C */ lfs f0, 0x2c(r22) +/* 8031BA10 00318970 3B 39 00 01 */ addi r25, r25, 1 +/* 8031BA14 00318974 C0 3F 00 6C */ lfs f1, 0x6c(r31) +/* 8031BA18 00318978 EC 7E 00 32 */ fmuls f3, f30, f0 +/* 8031BA1C 0031897C C0 1F 00 74 */ lfs f0, 0x74(r31) +/* 8031BA20 00318980 C0 5F 00 70 */ lfs f2, 0x70(r31) +/* 8031BA24 00318984 EC 83 08 2A */ fadds f4, f3, f1 +/* 8031BA28 00318988 EC 63 00 2A */ fadds f3, f3, f0 +/* 8031BA2C 0031898C D0 92 80 00 */ stfs f4, 0xCC008000@l(r18) +/* 8031BA30 00318990 D0 52 80 00 */ stfs f2, 0xCC008000@l(r18) +/* 8031BA34 00318994 D0 72 80 00 */ stfs f3, 0xCC008000@l(r18) +/* 8031BA38 00318998 93 12 80 00 */ stw r24, 0xCC008000@l(r18) +/* 8031BA3C 0031899C C0 1F 01 48 */ lfs f0, 0x148(r31) +/* 8031BA40 003189A0 D0 12 80 00 */ stfs f0, 0xCC008000@l(r18) +/* 8031BA44 003189A4 C0 1F 01 4C */ lfs f0, 0x14c(r31) +/* 8031BA48 003189A8 D0 12 80 00 */ stfs f0, 0xCC008000@l(r18) +/* 8031BA4C 003189AC C0 16 00 2C */ lfs f0, 0x2c(r22) +/* 8031BA50 003189B0 EC 84 00 28 */ fsubs f4, f4, f0 +/* 8031BA54 003189B4 D0 92 80 00 */ stfs f4, 0xCC008000@l(r18) +/* 8031BA58 003189B8 D0 52 80 00 */ stfs f2, 0xCC008000@l(r18) +/* 8031BA5C 003189BC D0 72 80 00 */ stfs f3, 0xCC008000@l(r18) +/* 8031BA60 003189C0 93 12 80 00 */ stw r24, 0xCC008000@l(r18) +/* 8031BA64 003189C4 C0 3F 01 40 */ lfs f1, 0x140(r31) +/* 8031BA68 003189C8 D0 32 80 00 */ stfs f1, 0xCC008000@l(r18) +/* 8031BA6C 003189CC C0 1F 01 4C */ lfs f0, 0x14c(r31) +/* 8031BA70 003189D0 D0 12 80 00 */ stfs f0, 0xCC008000@l(r18) +/* 8031BA74 003189D4 C0 16 00 2C */ lfs f0, 0x2c(r22) +/* 8031BA78 003189D8 D0 92 80 00 */ stfs f4, 0xCC008000@l(r18) +/* 8031BA7C 003189DC EC 63 00 28 */ fsubs f3, f3, f0 +/* 8031BA80 003189E0 D0 52 80 00 */ stfs f2, 0xCC008000@l(r18) +/* 8031BA84 003189E4 D0 72 80 00 */ stfs f3, 0xCC008000@l(r18) +/* 8031BA88 003189E8 93 12 80 00 */ stw r24, 0xCC008000@l(r18) +/* 8031BA8C 003189EC D0 32 80 00 */ stfs f1, 0xCC008000@l(r18) +/* 8031BA90 003189F0 C0 1F 01 44 */ lfs f0, 0x144(r31) +/* 8031BA94 003189F4 D0 12 80 00 */ stfs f0, 0xCC008000@l(r18) +/* 8031BA98 003189F8 C0 16 00 2C */ lfs f0, 0x2c(r22) +/* 8031BA9C 003189FC EC 84 00 2A */ fadds f4, f4, f0 +/* 8031BAA0 00318A00 D0 92 80 00 */ stfs f4, 0xCC008000@l(r18) +/* 8031BAA4 00318A04 D0 52 80 00 */ stfs f2, 0xCC008000@l(r18) +/* 8031BAA8 00318A08 D0 72 80 00 */ stfs f3, 0xCC008000@l(r18) +/* 8031BAAC 00318A0C 93 12 80 00 */ stw r24, 0xCC008000@l(r18) +/* 8031BAB0 00318A10 C0 1F 01 48 */ lfs f0, 0x148(r31) +/* 8031BAB4 00318A14 D0 12 80 00 */ stfs f0, 0xCC008000@l(r18) +/* 8031BAB8 00318A18 C0 1F 01 44 */ lfs f0, 0x144(r31) +/* 8031BABC 00318A1C D0 12 80 00 */ stfs f0, 0xCC008000@l(r18) +lbl_8031BAC0: +/* 8031BAC0 00318A20 7C 19 A8 00 */ cmpw r25, r21 +/* 8031BAC4 00318A24 41 80 FF 14 */ blt lbl_8031B9D8 +/* 8031BAC8 00318A28 48 00 03 48 */ b lbl_8031BE10 +lbl_8031BACC: +/* 8031BACC 00318A2C C3 E2 C9 F8 */ lfs f31, lbl_805AE718@sda21(r2) +/* 8031BAD0 00318A30 3B 20 00 00 */ li r25, 0 +/* 8031BAD4 00318A34 C3 C2 C9 F4 */ lfs f30, lbl_805AE714@sda21(r2) +/* 8031BAD8 00318A38 3E 40 CC 01 */ lis r18, 0xcc01 +/* 8031BADC 00318A3C 48 00 01 28 */ b lbl_8031BC04 +lbl_8031BAE0: +/* 8031BAE0 00318A40 C0 5F 01 28 */ lfs f2, 0x128(r31) +/* 8031BAE4 00318A44 38 7F 00 60 */ addi r3, r31, 0x60 +/* 8031BAE8 00318A48 C0 3F 01 2C */ lfs f1, 0x12c(r31) +/* 8031BAEC 00318A4C 38 9F 02 D4 */ addi r4, r31, 0x2d4 +/* 8031BAF0 00318A50 C0 1F 01 30 */ lfs f0, 0x130(r31) +/* 8031BAF4 00318A54 EC 42 88 2A */ fadds f2, f2, f17 +/* 8031BAF8 00318A58 EC 21 90 2A */ fadds f1, f1, f18 +/* 8031BAFC 00318A5C 38 BF 01 28 */ addi r5, r31, 0x128 +/* 8031BB00 00318A60 EC 00 98 2A */ fadds f0, f0, f19 +/* 8031BB04 00318A64 D0 5F 01 28 */ stfs f2, 0x128(r31) +/* 8031BB08 00318A68 D0 3F 01 2C */ stfs f1, 0x12c(r31) +/* 8031BB0C 00318A6C D0 1F 01 30 */ stfs f0, 0x130(r31) +/* 8031BB10 00318A70 4B FF 6F D9 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8031BB14 00318A74 C0 16 00 30 */ lfs f0, 0x30(r22) +/* 8031BB18 00318A78 C0 36 00 2C */ lfs f1, 0x2c(r22) +/* 8031BB1C 00318A7C EF 5E 00 32 */ fmuls f26, f30, f0 +/* 8031BB20 00318A80 C2 9F 00 60 */ lfs f20, 0x60(r31) +/* 8031BB24 00318A84 EF 3F 00 72 */ fmuls f25, f31, f1 +/* 8031BB28 00318A88 C2 BF 00 64 */ lfs f21, 0x64(r31) +/* 8031BB2C 00318A8C C2 DF 00 68 */ lfs f22, 0x68(r31) +/* 8031BB30 00318A90 FC 20 D0 90 */ fmr f1, f26 +/* 8031BB34 00318A94 4B FF 92 BD */ bl FastSinR__5CMathFf +/* 8031BB38 00318A98 EF 19 00 72 */ fmuls f24, f25, f1 +/* 8031BB3C 00318A9C FC 20 D0 90 */ fmr f1, f26 +/* 8031BB40 00318AA0 4B FF 92 05 */ bl FastCosR__5CMathFf +/* 8031BB44 00318AA4 EC 99 00 72 */ fmuls f4, f25, f1 +/* 8031BB48 00318AA8 3B 39 00 01 */ addi r25, r25, 1 +/* 8031BB4C 00318AAC FC 00 C0 50 */ fneg f0, f24 +/* 8031BB50 00318AB0 EC D8 20 2A */ fadds f6, f24, f4 +/* 8031BB54 00318AB4 EC 20 20 2A */ fadds f1, f0, f4 +/* 8031BB58 00318AB8 EC 58 20 28 */ fsubs f2, f24, f4 +/* 8031BB5C 00318ABC EC 66 A0 2A */ fadds f3, f6, f20 +/* 8031BB60 00318AC0 EC E4 C0 28 */ fsubs f7, f4, f24 +/* 8031BB64 00318AC4 FC 00 20 50 */ fneg f0, f4 +/* 8031BB68 00318AC8 D0 72 80 00 */ stfs f3, 0xCC008000@l(r18) +/* 8031BB6C 00318ACC EC A2 A0 2A */ fadds f5, f2, f20 +/* 8031BB70 00318AD0 EC 67 B0 2A */ fadds f3, f7, f22 +/* 8031BB74 00318AD4 D2 B2 80 00 */ stfs f21, 0xCC008000@l(r18) +/* 8031BB78 00318AD8 EC 00 C0 28 */ fsubs f0, f0, f24 +/* 8031BB7C 00318ADC EC 86 B0 2A */ fadds f4, f6, f22 +/* 8031BB80 00318AE0 D0 72 80 00 */ stfs f3, 0xCC008000@l(r18) +/* 8031BB84 00318AE4 EC 74 30 28 */ fsubs f3, f20, f6 +/* 8031BB88 00318AE8 EC 56 38 28 */ fsubs f2, f22, f7 +/* 8031BB8C 00318AEC 93 12 80 00 */ stw r24, 0xCC008000@l(r18) +/* 8031BB90 00318AF0 EC 21 A0 2A */ fadds f1, f1, f20 +/* 8031BB94 00318AF4 EC 00 B0 2A */ fadds f0, f0, f22 +/* 8031BB98 00318AF8 C0 DF 01 48 */ lfs f6, 0x148(r31) +/* 8031BB9C 00318AFC D0 D2 80 00 */ stfs f6, 0xCC008000@l(r18) +/* 8031BBA0 00318B00 C0 DF 01 4C */ lfs f6, 0x14c(r31) +/* 8031BBA4 00318B04 D0 D2 80 00 */ stfs f6, 0xCC008000@l(r18) +/* 8031BBA8 00318B08 D0 B2 80 00 */ stfs f5, 0xCC008000@l(r18) +/* 8031BBAC 00318B0C D2 B2 80 00 */ stfs f21, 0xCC008000@l(r18) +/* 8031BBB0 00318B10 D0 92 80 00 */ stfs f4, 0xCC008000@l(r18) +/* 8031BBB4 00318B14 93 12 80 00 */ stw r24, 0xCC008000@l(r18) +/* 8031BBB8 00318B18 C0 BF 01 40 */ lfs f5, 0x140(r31) +/* 8031BBBC 00318B1C D0 B2 80 00 */ stfs f5, 0xCC008000@l(r18) +/* 8031BBC0 00318B20 C0 9F 01 4C */ lfs f4, 0x14c(r31) +/* 8031BBC4 00318B24 D0 92 80 00 */ stfs f4, 0xCC008000@l(r18) +/* 8031BBC8 00318B28 D0 72 80 00 */ stfs f3, 0xCC008000@l(r18) +/* 8031BBCC 00318B2C D2 B2 80 00 */ stfs f21, 0xCC008000@l(r18) +/* 8031BBD0 00318B30 D0 52 80 00 */ stfs f2, 0xCC008000@l(r18) +/* 8031BBD4 00318B34 93 12 80 00 */ stw r24, 0xCC008000@l(r18) +/* 8031BBD8 00318B38 D0 B2 80 00 */ stfs f5, 0xCC008000@l(r18) +/* 8031BBDC 00318B3C C0 5F 01 44 */ lfs f2, 0x144(r31) +/* 8031BBE0 00318B40 D0 52 80 00 */ stfs f2, 0xCC008000@l(r18) +/* 8031BBE4 00318B44 D0 32 80 00 */ stfs f1, 0xCC008000@l(r18) +/* 8031BBE8 00318B48 D2 B2 80 00 */ stfs f21, 0xCC008000@l(r18) +/* 8031BBEC 00318B4C D0 12 80 00 */ stfs f0, 0xCC008000@l(r18) +/* 8031BBF0 00318B50 93 12 80 00 */ stw r24, 0xCC008000@l(r18) +/* 8031BBF4 00318B54 C0 1F 01 48 */ lfs f0, 0x148(r31) +/* 8031BBF8 00318B58 D0 12 80 00 */ stfs f0, 0xCC008000@l(r18) +/* 8031BBFC 00318B5C C0 1F 01 44 */ lfs f0, 0x144(r31) +/* 8031BC00 00318B60 D0 12 80 00 */ stfs f0, 0xCC008000@l(r18) +lbl_8031BC04: +/* 8031BC04 00318B64 7C 19 A8 00 */ cmpw r25, r21 +/* 8031BC08 00318B68 41 80 FE D8 */ blt lbl_8031BAE0 +/* 8031BC0C 00318B6C 48 00 02 04 */ b lbl_8031BE10 +lbl_8031BC10: +/* 8031BC10 00318B70 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 8031BC14 00318B74 41 82 00 EC */ beq lbl_8031BD00 +/* 8031BC18 00318B78 C2 82 C9 F8 */ lfs f20, lbl_805AE718@sda21(r2) +/* 8031BC1C 00318B7C 3A 40 00 00 */ li r18, 0 +/* 8031BC20 00318B80 3F 20 CC 01 */ lis r25, 0xcc01 +/* 8031BC24 00318B84 48 00 00 D0 */ b lbl_8031BCF4 +lbl_8031BC28: +/* 8031BC28 00318B88 C0 5F 01 28 */ lfs f2, 0x128(r31) +/* 8031BC2C 00318B8C 38 7F 00 54 */ addi r3, r31, 0x54 +/* 8031BC30 00318B90 C0 3F 01 2C */ lfs f1, 0x12c(r31) +/* 8031BC34 00318B94 38 9F 02 D4 */ addi r4, r31, 0x2d4 +/* 8031BC38 00318B98 C0 1F 01 30 */ lfs f0, 0x130(r31) +/* 8031BC3C 00318B9C EC 42 88 2A */ fadds f2, f2, f17 +/* 8031BC40 00318BA0 EC 21 90 2A */ fadds f1, f1, f18 +/* 8031BC44 00318BA4 38 BF 01 28 */ addi r5, r31, 0x128 +/* 8031BC48 00318BA8 EC 00 98 2A */ fadds f0, f0, f19 +/* 8031BC4C 00318BAC D0 5F 01 28 */ stfs f2, 0x128(r31) +/* 8031BC50 00318BB0 D0 3F 01 2C */ stfs f1, 0x12c(r31) +/* 8031BC54 00318BB4 D0 1F 01 30 */ stfs f0, 0x130(r31) +/* 8031BC58 00318BB8 4B FF 6E 91 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8031BC5C 00318BBC C0 16 00 2C */ lfs f0, 0x2c(r22) +/* 8031BC60 00318BC0 38 A0 02 02 */ li r5, 0x202 +/* 8031BC64 00318BC4 C0 3F 00 54 */ lfs f1, 0x54(r31) +/* 8031BC68 00318BC8 38 80 00 02 */ li r4, 2 +/* 8031BC6C 00318BCC EC 74 00 32 */ fmuls f3, f20, f0 +/* 8031BC70 00318BD0 C0 1F 00 5C */ lfs f0, 0x5c(r31) +/* 8031BC74 00318BD4 C0 5F 00 58 */ lfs f2, 0x58(r31) +/* 8031BC78 00318BD8 38 60 00 00 */ li r3, 0 +/* 8031BC7C 00318BDC 38 00 02 00 */ li r0, 0x200 +/* 8031BC80 00318BE0 3A 52 00 01 */ addi r18, r18, 1 +/* 8031BC84 00318BE4 EC 23 08 2A */ fadds f1, f3, f1 +/* 8031BC88 00318BE8 EC 63 00 2A */ fadds f3, f3, f0 +/* 8031BC8C 00318BEC D0 39 80 00 */ stfs f1, 0xCC008000@l(r25) +/* 8031BC90 00318BF0 D0 59 80 00 */ stfs f2, 0xCC008000@l(r25) +/* 8031BC94 00318BF4 D0 79 80 00 */ stfs f3, 0xCC008000@l(r25) +/* 8031BC98 00318BF8 93 19 80 00 */ stw r24, 0xCC008000@l(r25) +/* 8031BC9C 00318BFC B0 B9 80 00 */ sth r5, 0xCC008000@l(r25) +/* 8031BCA0 00318C00 C0 16 00 2C */ lfs f0, 0x2c(r22) +/* 8031BCA4 00318C04 EC 21 00 28 */ fsubs f1, f1, f0 +/* 8031BCA8 00318C08 D0 39 80 00 */ stfs f1, 0xCC008000@l(r25) +/* 8031BCAC 00318C0C D0 59 80 00 */ stfs f2, 0xCC008000@l(r25) +/* 8031BCB0 00318C10 D0 79 80 00 */ stfs f3, 0xCC008000@l(r25) +/* 8031BCB4 00318C14 93 19 80 00 */ stw r24, 0xCC008000@l(r25) +/* 8031BCB8 00318C18 B0 99 80 00 */ sth r4, 0xCC008000@l(r25) +/* 8031BCBC 00318C1C C0 16 00 2C */ lfs f0, 0x2c(r22) +/* 8031BCC0 00318C20 D0 39 80 00 */ stfs f1, 0xCC008000@l(r25) +/* 8031BCC4 00318C24 EC 63 00 28 */ fsubs f3, f3, f0 +/* 8031BCC8 00318C28 D0 59 80 00 */ stfs f2, 0xCC008000@l(r25) +/* 8031BCCC 00318C2C D0 79 80 00 */ stfs f3, 0xCC008000@l(r25) +/* 8031BCD0 00318C30 93 19 80 00 */ stw r24, 0xCC008000@l(r25) +/* 8031BCD4 00318C34 B0 79 80 00 */ sth r3, 0xCC008000@l(r25) +/* 8031BCD8 00318C38 C0 16 00 2C */ lfs f0, 0x2c(r22) +/* 8031BCDC 00318C3C EC 21 00 2A */ fadds f1, f1, f0 +/* 8031BCE0 00318C40 D0 39 80 00 */ stfs f1, 0xCC008000@l(r25) +/* 8031BCE4 00318C44 D0 59 80 00 */ stfs f2, 0xCC008000@l(r25) +/* 8031BCE8 00318C48 D0 79 80 00 */ stfs f3, 0xCC008000@l(r25) +/* 8031BCEC 00318C4C 93 19 80 00 */ stw r24, 0xCC008000@l(r25) +/* 8031BCF0 00318C50 B0 19 80 00 */ sth r0, 0xCC008000@l(r25) +lbl_8031BCF4: +/* 8031BCF4 00318C54 7C 12 A8 00 */ cmpw r18, r21 +/* 8031BCF8 00318C58 41 80 FF 30 */ blt lbl_8031BC28 +/* 8031BCFC 00318C5C 48 00 01 14 */ b lbl_8031BE10 +lbl_8031BD00: +/* 8031BD00 00318C60 C3 C2 C9 F8 */ lfs f30, lbl_805AE718@sda21(r2) +/* 8031BD04 00318C64 3A 40 00 00 */ li r18, 0 +/* 8031BD08 00318C68 C3 E2 C9 F4 */ lfs f31, lbl_805AE714@sda21(r2) +/* 8031BD0C 00318C6C 3F 20 CC 01 */ lis r25, 0xcc01 +/* 8031BD10 00318C70 48 00 00 F8 */ b lbl_8031BE08 +lbl_8031BD14: +/* 8031BD14 00318C74 C0 5F 01 28 */ lfs f2, 0x128(r31) +/* 8031BD18 00318C78 38 7F 00 48 */ addi r3, r31, 0x48 +/* 8031BD1C 00318C7C C0 3F 01 2C */ lfs f1, 0x12c(r31) +/* 8031BD20 00318C80 38 9F 02 D4 */ addi r4, r31, 0x2d4 +/* 8031BD24 00318C84 C0 1F 01 30 */ lfs f0, 0x130(r31) +/* 8031BD28 00318C88 EC 42 88 2A */ fadds f2, f2, f17 +/* 8031BD2C 00318C8C EC 21 90 2A */ fadds f1, f1, f18 +/* 8031BD30 00318C90 38 BF 01 28 */ addi r5, r31, 0x128 +/* 8031BD34 00318C94 EC 00 98 2A */ fadds f0, f0, f19 +/* 8031BD38 00318C98 D0 5F 01 28 */ stfs f2, 0x128(r31) +/* 8031BD3C 00318C9C D0 3F 01 2C */ stfs f1, 0x12c(r31) +/* 8031BD40 00318CA0 D0 1F 01 30 */ stfs f0, 0x130(r31) +/* 8031BD44 00318CA4 4B FF 6D A5 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8031BD48 00318CA8 C0 16 00 30 */ lfs f0, 0x30(r22) +/* 8031BD4C 00318CAC C0 36 00 2C */ lfs f1, 0x2c(r22) +/* 8031BD50 00318CB0 EF 3F 00 32 */ fmuls f25, f31, f0 +/* 8031BD54 00318CB4 C2 9F 00 48 */ lfs f20, 0x48(r31) +/* 8031BD58 00318CB8 EF 1E 00 72 */ fmuls f24, f30, f1 +/* 8031BD5C 00318CBC C2 BF 00 4C */ lfs f21, 0x4c(r31) +/* 8031BD60 00318CC0 C2 DF 00 50 */ lfs f22, 0x50(r31) +/* 8031BD64 00318CC4 FC 20 C8 90 */ fmr f1, f25 +/* 8031BD68 00318CC8 4B FF 90 89 */ bl FastSinR__5CMathFf +/* 8031BD6C 00318CCC EF 58 00 72 */ fmuls f26, f24, f1 +/* 8031BD70 00318CD0 FC 20 C8 90 */ fmr f1, f25 +/* 8031BD74 00318CD4 4B FF 8F D1 */ bl FastCosR__5CMathFf +/* 8031BD78 00318CD8 EC 18 00 72 */ fmuls f0, f24, f1 +/* 8031BD7C 00318CDC 38 A0 02 02 */ li r5, 0x202 +/* 8031BD80 00318CE0 38 80 00 02 */ li r4, 2 +/* 8031BD84 00318CE4 38 60 00 00 */ li r3, 0 +/* 8031BD88 00318CE8 38 00 02 00 */ li r0, 0x200 +/* 8031BD8C 00318CEC 3A 52 00 01 */ addi r18, r18, 1 +/* 8031BD90 00318CF0 EC DA 00 2A */ fadds f6, f26, f0 +/* 8031BD94 00318CF4 EC FA 00 28 */ fsubs f7, f26, f0 +/* 8031BD98 00318CF8 EC 34 30 2A */ fadds f1, f20, f6 +/* 8031BD9C 00318CFC EC 16 38 28 */ fsubs f0, f22, f7 +/* 8031BDA0 00318D00 EC B4 38 2A */ fadds f5, f20, f7 +/* 8031BDA4 00318D04 D0 39 80 00 */ stfs f1, 0xCC008000@l(r25) +/* 8031BDA8 00318D08 EC 96 30 2A */ fadds f4, f22, f6 +/* 8031BDAC 00318D0C EC 74 30 28 */ fsubs f3, f20, f6 +/* 8031BDB0 00318D10 D2 B9 80 00 */ stfs f21, 0xCC008000@l(r25) +/* 8031BDB4 00318D14 EC 56 38 2A */ fadds f2, f22, f7 +/* 8031BDB8 00318D18 EC 34 38 28 */ fsubs f1, f20, f7 +/* 8031BDBC 00318D1C D0 19 80 00 */ stfs f0, 0xCC008000@l(r25) +/* 8031BDC0 00318D20 EC 16 30 28 */ fsubs f0, f22, f6 +/* 8031BDC4 00318D24 93 19 80 00 */ stw r24, 0xCC008000@l(r25) +/* 8031BDC8 00318D28 B0 B9 80 00 */ sth r5, 0xCC008000@l(r25) +/* 8031BDCC 00318D2C D0 B9 80 00 */ stfs f5, 0xCC008000@l(r25) +/* 8031BDD0 00318D30 D2 B9 80 00 */ stfs f21, 0xCC008000@l(r25) +/* 8031BDD4 00318D34 D0 99 80 00 */ stfs f4, 0xCC008000@l(r25) +/* 8031BDD8 00318D38 93 19 80 00 */ stw r24, 0xCC008000@l(r25) +/* 8031BDDC 00318D3C B0 99 80 00 */ sth r4, 0xCC008000@l(r25) +/* 8031BDE0 00318D40 D0 79 80 00 */ stfs f3, 0xCC008000@l(r25) +/* 8031BDE4 00318D44 D2 B9 80 00 */ stfs f21, 0xCC008000@l(r25) +/* 8031BDE8 00318D48 D0 59 80 00 */ stfs f2, 0xCC008000@l(r25) +/* 8031BDEC 00318D4C 93 19 80 00 */ stw r24, 0xCC008000@l(r25) +/* 8031BDF0 00318D50 B0 79 80 00 */ sth r3, 0xCC008000@l(r25) +/* 8031BDF4 00318D54 D0 39 80 00 */ stfs f1, 0xCC008000@l(r25) +/* 8031BDF8 00318D58 D2 B9 80 00 */ stfs f21, 0xCC008000@l(r25) +/* 8031BDFC 00318D5C D0 19 80 00 */ stfs f0, 0xCC008000@l(r25) +/* 8031BE00 00318D60 93 19 80 00 */ stw r24, 0xCC008000@l(r25) +/* 8031BE04 00318D64 B0 19 80 00 */ sth r0, 0xCC008000@l(r25) +lbl_8031BE08: +/* 8031BE08 00318D68 7C 12 A8 00 */ cmpw r18, r21 +/* 8031BE0C 00318D6C 41 80 FF 08 */ blt lbl_8031BD14 +lbl_8031BE10: +/* 8031BE10 00318D70 3A 94 00 38 */ addi r20, r20, 0x38 +/* 8031BE14 00318D74 3A 73 00 01 */ addi r19, r19, 1 +lbl_8031BE18: +/* 8031BE18 00318D78 7C 13 B8 00 */ cmpw r19, r23 +/* 8031BE1C 00318D7C 41 80 FA D0 */ blt lbl_8031B8EC +lbl_8031BE20: +/* 8031BE20 00318D80 4B FE C7 61 */ bl End__3CGXFv +/* 8031BE24 00318D84 28 1A 00 00 */ cmplwi r26, 0 +/* 8031BE28 00318D88 41 82 00 14 */ beq lbl_8031BE3C +/* 8031BE2C 00318D8C 38 7B FF FF */ addi r3, r27, -1 +/* 8031BE30 00318D90 38 80 00 00 */ li r4, 0 +/* 8031BE34 00318D94 38 A0 00 00 */ li r5, 0 +/* 8031BE38 00318D98 48 05 F9 F9 */ bl GXSetTevSwapMode +lbl_8031BE3C: +/* 8031BE3C 00318D9C 38 60 00 01 */ li r3, 1 +/* 8031BE40 00318DA0 4B FE FC 31 */ bl SetCullMode__9CGraphicsF12ERglCullMode +/* 8031BE44 00318DA4 38 60 00 07 */ li r3, 7 +/* 8031BE48 00318DA8 38 80 00 00 */ li r4, 0 +/* 8031BE4C 00318DAC 38 A0 00 00 */ li r5, 0 +/* 8031BE50 00318DB0 38 C0 00 07 */ li r6, 7 +/* 8031BE54 00318DB4 38 E0 00 00 */ li r7, 0 +/* 8031BE58 00318DB8 4B FE FB D1 */ bl SetAlphaCompare__9CGraphicsF13ERglAlphaFuncUc11ERglAlphaOp13ERglAlphaFuncUc +/* 8031BE5C 00318DBC 38 7F 01 50 */ addi r3, r31, 0x150 +/* 8031BE60 00318DC0 38 80 FF FF */ li r4, -1 +/* 8031BE64 00318DC4 4B FF 67 A1 */ bl __dt__13CGlobalRandomFv +lbl_8031BE68: +/* 8031BE68 00318DC8 7F EA FB 78 */ mr r10, r31 +/* 8031BE6C 00318DCC E3 EA 04 98 */ psq_l f31, 1176(r10), 0, qr0 +/* 8031BE70 00318DD0 CB FF 04 90 */ lfd f31, 0x490(r31) +/* 8031BE74 00318DD4 E3 CA 04 88 */ psq_l f30, 1160(r10), 0, qr0 +/* 8031BE78 00318DD8 CB DF 04 80 */ lfd f30, 0x480(r31) +/* 8031BE7C 00318DDC E3 AA 04 78 */ psq_l f29, 1144(r10), 0, qr0 +/* 8031BE80 00318DE0 CB BF 04 70 */ lfd f29, 0x470(r31) +/* 8031BE84 00318DE4 E3 8A 04 68 */ psq_l f28, 1128(r10), 0, qr0 +/* 8031BE88 00318DE8 CB 9F 04 60 */ lfd f28, 0x460(r31) +/* 8031BE8C 00318DEC E3 6A 04 58 */ psq_l f27, 1112(r10), 0, qr0 +/* 8031BE90 00318DF0 CB 7F 04 50 */ lfd f27, 0x450(r31) +/* 8031BE94 00318DF4 E3 4A 04 48 */ psq_l f26, 1096(r10), 0, qr0 +/* 8031BE98 00318DF8 CB 5F 04 40 */ lfd f26, 0x440(r31) +/* 8031BE9C 00318DFC E3 2A 04 38 */ psq_l f25, 1080(r10), 0, qr0 +/* 8031BEA0 00318E00 CB 3F 04 30 */ lfd f25, 0x430(r31) +/* 8031BEA4 00318E04 E3 0A 04 28 */ psq_l f24, 1064(r10), 0, qr0 +/* 8031BEA8 00318E08 CB 1F 04 20 */ lfd f24, 0x420(r31) +/* 8031BEAC 00318E0C E2 EA 04 18 */ psq_l f23, 1048(r10), 0, qr0 +/* 8031BEB0 00318E10 CA FF 04 10 */ lfd f23, 0x410(r31) +/* 8031BEB4 00318E14 E2 CA 04 08 */ psq_l f22, 1032(r10), 0, qr0 +/* 8031BEB8 00318E18 CA DF 04 00 */ lfd f22, 0x400(r31) +/* 8031BEBC 00318E1C E2 AA 03 F8 */ psq_l f21, 1016(r10), 0, qr0 +/* 8031BEC0 00318E20 CA BF 03 F0 */ lfd f21, 0x3f0(r31) +/* 8031BEC4 00318E24 E2 8A 03 E8 */ psq_l f20, 1000(r10), 0, qr0 +/* 8031BEC8 00318E28 CA 9F 03 E0 */ lfd f20, 0x3e0(r31) +/* 8031BECC 00318E2C E2 6A 03 D8 */ psq_l f19, 984(r10), 0, qr0 +/* 8031BED0 00318E30 CA 7F 03 D0 */ lfd f19, 0x3d0(r31) +/* 8031BED4 00318E34 E2 4A 03 C8 */ psq_l f18, 968(r10), 0, qr0 +/* 8031BED8 00318E38 CA 5F 03 C0 */ lfd f18, 0x3c0(r31) +/* 8031BEDC 00318E3C E2 2A 03 B8 */ psq_l f17, 952(r10), 0, qr0 +/* 8031BEE0 00318E40 CA 3F 03 B0 */ lfd f17, 0x3b0(r31) +/* 8031BEE4 00318E44 BA 4A 03 78 */ lmw r18, 0x378(r10) +/* 8031BEE8 00318E48 81 41 00 00 */ lwz r10, 0(r1) +/* 8031BEEC 00318E4C 80 0A 00 04 */ lwz r0, 4(r10) +/* 8031BEF0 00318E50 7D 41 53 78 */ mr r1, r10 +/* 8031BEF4 00318E54 7C 08 03 A6 */ mtlr r0 +/* 8031BEF8 00318E58 4E 80 00 20 */ blr + +.global RenderBasicParticlesRotNoTS__11CElementGenFRC10CTransform +RenderBasicParticlesRotNoTS__11CElementGenFRC10CTransform: +/* 8031BEFC 00318E5C 94 21 FF 30 */ stwu r1, -0xd0(r1) +/* 8031BF00 00318E60 7C 08 02 A6 */ mflr r0 +/* 8031BF04 00318E64 90 01 00 D4 */ stw r0, 0xd4(r1) +/* 8031BF08 00318E68 DB E1 00 C0 */ stfd f31, 0xc0(r1) +/* 8031BF0C 00318E6C F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 +/* 8031BF10 00318E70 DB C1 00 B0 */ stfd f30, 0xb0(r1) +/* 8031BF14 00318E74 F3 C1 00 B8 */ psq_st f30, 184(r1), 0, qr0 +/* 8031BF18 00318E78 DB A1 00 A0 */ stfd f29, 0xa0(r1) +/* 8031BF1C 00318E7C F3 A1 00 A8 */ psq_st f29, 168(r1), 0, qr0 +/* 8031BF20 00318E80 DB 81 00 90 */ stfd f28, 0x90(r1) +/* 8031BF24 00318E84 F3 81 00 98 */ psq_st f28, 152(r1), 0, qr0 +/* 8031BF28 00318E88 DB 61 00 80 */ stfd f27, 0x80(r1) +/* 8031BF2C 00318E8C F3 61 00 88 */ psq_st f27, 136(r1), 0, qr0 +/* 8031BF30 00318E90 DB 41 00 70 */ stfd f26, 0x70(r1) +/* 8031BF34 00318E94 F3 41 00 78 */ psq_st f26, 120(r1), 0, qr0 +/* 8031BF38 00318E98 DB 21 00 60 */ stfd f25, 0x60(r1) +/* 8031BF3C 00318E9C F3 21 00 68 */ psq_st f25, 104(r1), 0, qr0 +/* 8031BF40 00318EA0 DB 01 00 50 */ stfd f24, 0x50(r1) +/* 8031BF44 00318EA4 F3 01 00 58 */ psq_st f24, 88(r1), 0, qr0 +/* 8031BF48 00318EA8 BF 41 00 38 */ stmw r26, 0x38(r1) +/* 8031BF4C 00318EAC C3 C2 C9 F8 */ lfs f30, lbl_805AE718@sda21(r2) +/* 8031BF50 00318EB0 7C 7A 1B 78 */ mr r26, r3 +/* 8031BF54 00318EB4 C3 E2 C9 F4 */ lfs f31, lbl_805AE714@sda21(r2) +/* 8031BF58 00318EB8 7C 9B 23 78 */ mr r27, r4 +/* 8031BF5C 00318EBC 3B 80 00 00 */ li r28, 0 +/* 8031BF60 00318EC0 3B A0 00 00 */ li r29, 0 +/* 8031BF64 00318EC4 3F E0 CC 01 */ lis r31, 0xcc01 +/* 8031BF68 00318EC8 48 00 01 48 */ b lbl_8031C0B0 +lbl_8031BF6C: +/* 8031BF6C 00318ECC 80 1A 00 3C */ lwz r0, 0x3c(r26) +/* 8031BF70 00318ED0 7F 64 DB 78 */ mr r4, r27 +/* 8031BF74 00318ED4 C0 FA 00 80 */ lfs f7, 0x80(r26) +/* 8031BF78 00318ED8 38 61 00 2C */ addi r3, r1, 0x2c +/* 8031BF7C 00318EDC 7F C0 EA 14 */ add r30, r0, r29 +/* 8031BF80 00318EE0 38 A1 00 20 */ addi r5, r1, 0x20 +/* 8031BF84 00318EE4 C0 1E 00 08 */ lfs f0, 8(r30) +/* 8031BF88 00318EE8 C0 9E 00 14 */ lfs f4, 0x14(r30) +/* 8031BF8C 00318EEC C0 3E 00 0C */ lfs f1, 0xc(r30) +/* 8031BF90 00318EF0 EC A0 20 28 */ fsubs f5, f0, f4 +/* 8031BF94 00318EF4 C0 7E 00 18 */ lfs f3, 0x18(r30) +/* 8031BF98 00318EF8 C0 1E 00 04 */ lfs f0, 4(r30) +/* 8031BF9C 00318EFC EC 21 18 28 */ fsubs f1, f1, f3 +/* 8031BFA0 00318F00 C0 5E 00 10 */ lfs f2, 0x10(r30) +/* 8031BFA4 00318F04 EC C7 01 72 */ fmuls f6, f7, f5 +/* 8031BFA8 00318F08 EC 00 10 28 */ fsubs f0, f0, f2 +/* 8031BFAC 00318F0C D0 A1 00 0C */ stfs f5, 0xc(r1) +/* 8031BFB0 00318F10 EC A7 00 72 */ fmuls f5, f7, f1 +/* 8031BFB4 00318F14 EC 86 20 2A */ fadds f4, f6, f4 +/* 8031BFB8 00318F18 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 8031BFBC 00318F1C EC 27 00 32 */ fmuls f1, f7, f0 +/* 8031BFC0 00318F20 EC 65 18 2A */ fadds f3, f5, f3 +/* 8031BFC4 00318F24 D0 01 00 08 */ stfs f0, 8(r1) +/* 8031BFC8 00318F28 EC 01 10 2A */ fadds f0, f1, f2 +/* 8031BFCC 00318F2C D0 21 00 14 */ stfs f1, 0x14(r1) +/* 8031BFD0 00318F30 D0 C1 00 18 */ stfs f6, 0x18(r1) +/* 8031BFD4 00318F34 D0 A1 00 1C */ stfs f5, 0x1c(r1) +/* 8031BFD8 00318F38 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 8031BFDC 00318F3C D0 81 00 24 */ stfs f4, 0x24(r1) +/* 8031BFE0 00318F40 D0 61 00 28 */ stfs f3, 0x28(r1) +/* 8031BFE4 00318F44 4B FF 6B 05 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8031BFE8 00318F48 C0 1E 00 30 */ lfs f0, 0x30(r30) +/* 8031BFEC 00318F4C C0 3E 00 2C */ lfs f1, 0x2c(r30) +/* 8031BFF0 00318F50 EF 3F 00 32 */ fmuls f25, f31, f0 +/* 8031BFF4 00318F54 C3 A1 00 2C */ lfs f29, 0x2c(r1) +/* 8031BFF8 00318F58 EF 5E 00 72 */ fmuls f26, f30, f1 +/* 8031BFFC 00318F5C C3 81 00 30 */ lfs f28, 0x30(r1) +/* 8031C000 00318F60 C3 61 00 34 */ lfs f27, 0x34(r1) +/* 8031C004 00318F64 FC 20 C8 90 */ fmr f1, f25 +/* 8031C008 00318F68 83 DE 00 34 */ lwz r30, 0x34(r30) +/* 8031C00C 00318F6C 4B FF 8D E5 */ bl FastSinR__5CMathFf +/* 8031C010 00318F70 EF 1A 00 72 */ fmuls f24, f26, f1 +/* 8031C014 00318F74 FC 20 C8 90 */ fmr f1, f25 +/* 8031C018 00318F78 4B FF 8D 2D */ bl FastCosR__5CMathFf +/* 8031C01C 00318F7C EC 1A 00 72 */ fmuls f0, f26, f1 +/* 8031C020 00318F80 38 A0 02 02 */ li r5, 0x202 +/* 8031C024 00318F84 38 80 00 02 */ li r4, 2 +/* 8031C028 00318F88 38 60 00 00 */ li r3, 0 +/* 8031C02C 00318F8C 38 00 02 00 */ li r0, 0x200 +/* 8031C030 00318F90 3B BD 00 38 */ addi r29, r29, 0x38 +/* 8031C034 00318F94 EC D8 00 2A */ fadds f6, f24, f0 +/* 8031C038 00318F98 3B 9C 00 01 */ addi r28, r28, 1 +/* 8031C03C 00318F9C EC F8 00 28 */ fsubs f7, f24, f0 +/* 8031C040 00318FA0 EC 3D 30 2A */ fadds f1, f29, f6 +/* 8031C044 00318FA4 EC 1B 38 28 */ fsubs f0, f27, f7 +/* 8031C048 00318FA8 EC BD 38 2A */ fadds f5, f29, f7 +/* 8031C04C 00318FAC D0 3F 80 00 */ stfs f1, 0xCC008000@l(r31) +/* 8031C050 00318FB0 EC 9B 30 2A */ fadds f4, f27, f6 +/* 8031C054 00318FB4 EC 7D 30 28 */ fsubs f3, f29, f6 +/* 8031C058 00318FB8 D3 9F 80 00 */ stfs f28, 0xCC008000@l(r31) +/* 8031C05C 00318FBC EC 5B 38 2A */ fadds f2, f27, f7 +/* 8031C060 00318FC0 EC 3D 38 28 */ fsubs f1, f29, f7 +/* 8031C064 00318FC4 D0 1F 80 00 */ stfs f0, 0xCC008000@l(r31) +/* 8031C068 00318FC8 EC 1B 30 28 */ fsubs f0, f27, f6 +/* 8031C06C 00318FCC 93 DF 80 00 */ stw r30, 0xCC008000@l(r31) +/* 8031C070 00318FD0 B0 BF 80 00 */ sth r5, 0xCC008000@l(r31) +/* 8031C074 00318FD4 D0 BF 80 00 */ stfs f5, 0xCC008000@l(r31) +/* 8031C078 00318FD8 D3 9F 80 00 */ stfs f28, 0xCC008000@l(r31) +/* 8031C07C 00318FDC D0 9F 80 00 */ stfs f4, 0xCC008000@l(r31) +/* 8031C080 00318FE0 93 DF 80 00 */ stw r30, 0xCC008000@l(r31) +/* 8031C084 00318FE4 B0 9F 80 00 */ sth r4, 0xCC008000@l(r31) +/* 8031C088 00318FE8 D0 7F 80 00 */ stfs f3, 0xCC008000@l(r31) +/* 8031C08C 00318FEC D3 9F 80 00 */ stfs f28, 0xCC008000@l(r31) +/* 8031C090 00318FF0 D0 5F 80 00 */ stfs f2, 0xCC008000@l(r31) +/* 8031C094 00318FF4 93 DF 80 00 */ stw r30, 0xCC008000@l(r31) +/* 8031C098 00318FF8 B0 7F 80 00 */ sth r3, 0xCC008000@l(r31) +/* 8031C09C 00318FFC D0 3F 80 00 */ stfs f1, 0xCC008000@l(r31) +/* 8031C0A0 00319000 D3 9F 80 00 */ stfs f28, 0xCC008000@l(r31) +/* 8031C0A4 00319004 D0 1F 80 00 */ stfs f0, 0xCC008000@l(r31) +/* 8031C0A8 00319008 93 DF 80 00 */ stw r30, 0xCC008000@l(r31) +/* 8031C0AC 0031900C B0 1F 80 00 */ sth r0, 0xCC008000@l(r31) +lbl_8031C0B0: +/* 8031C0B0 00319010 80 1A 00 34 */ lwz r0, 0x34(r26) +/* 8031C0B4 00319014 7C 1C 00 00 */ cmpw r28, r0 +/* 8031C0B8 00319018 41 80 FE B4 */ blt lbl_8031BF6C +/* 8031C0BC 0031901C E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 +/* 8031C0C0 00319020 CB E1 00 C0 */ lfd f31, 0xc0(r1) +/* 8031C0C4 00319024 E3 C1 00 B8 */ psq_l f30, 184(r1), 0, qr0 +/* 8031C0C8 00319028 CB C1 00 B0 */ lfd f30, 0xb0(r1) +/* 8031C0CC 0031902C E3 A1 00 A8 */ psq_l f29, 168(r1), 0, qr0 +/* 8031C0D0 00319030 CB A1 00 A0 */ lfd f29, 0xa0(r1) +/* 8031C0D4 00319034 E3 81 00 98 */ psq_l f28, 152(r1), 0, qr0 +/* 8031C0D8 00319038 CB 81 00 90 */ lfd f28, 0x90(r1) +/* 8031C0DC 0031903C E3 61 00 88 */ psq_l f27, 136(r1), 0, qr0 +/* 8031C0E0 00319040 CB 61 00 80 */ lfd f27, 0x80(r1) +/* 8031C0E4 00319044 E3 41 00 78 */ psq_l f26, 120(r1), 0, qr0 +/* 8031C0E8 00319048 CB 41 00 70 */ lfd f26, 0x70(r1) +/* 8031C0EC 0031904C E3 21 00 68 */ psq_l f25, 104(r1), 0, qr0 +/* 8031C0F0 00319050 CB 21 00 60 */ lfd f25, 0x60(r1) +/* 8031C0F4 00319054 E3 01 00 58 */ psq_l f24, 88(r1), 0, qr0 +/* 8031C0F8 00319058 CB 01 00 50 */ lfd f24, 0x50(r1) +/* 8031C0FC 0031905C BB 41 00 38 */ lmw r26, 0x38(r1) +/* 8031C100 00319060 80 01 00 D4 */ lwz r0, 0xd4(r1) +/* 8031C104 00319064 7C 08 03 A6 */ mtlr r0 +/* 8031C108 00319068 38 21 00 D0 */ addi r1, r1, 0xd0 +/* 8031C10C 0031906C 4E 80 00 20 */ blr + +.global RenderBasicParticlesNoRotNoTS__11CElementGenFRC10CTransform +RenderBasicParticlesNoRotNoTS__11CElementGenFRC10CTransform: +/* 8031C110 00319070 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 8031C114 00319074 7C 08 02 A6 */ mflr r0 +/* 8031C118 00319078 90 01 00 64 */ stw r0, 0x64(r1) +/* 8031C11C 0031907C DB E1 00 50 */ stfd f31, 0x50(r1) +/* 8031C120 00319080 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 +/* 8031C124 00319084 BF 41 00 38 */ stmw r26, 0x38(r1) +/* 8031C128 00319088 C3 E2 C9 F8 */ lfs f31, lbl_805AE718@sda21(r2) +/* 8031C12C 0031908C 7C 7A 1B 78 */ mr r26, r3 +/* 8031C130 00319090 7C 9B 23 78 */ mr r27, r4 +/* 8031C134 00319094 3B 80 00 00 */ li r28, 0 +/* 8031C138 00319098 3B A0 00 00 */ li r29, 0 +/* 8031C13C 0031909C 3F E0 CC 01 */ lis r31, 0xcc01 +/* 8031C140 003190A0 48 00 01 20 */ b lbl_8031C260 +lbl_8031C144: +/* 8031C144 003190A4 80 1A 00 3C */ lwz r0, 0x3c(r26) +/* 8031C148 003190A8 7F 64 DB 78 */ mr r4, r27 +/* 8031C14C 003190AC C0 FA 00 80 */ lfs f7, 0x80(r26) +/* 8031C150 003190B0 38 61 00 2C */ addi r3, r1, 0x2c +/* 8031C154 003190B4 7F C0 EA 14 */ add r30, r0, r29 +/* 8031C158 003190B8 38 A1 00 20 */ addi r5, r1, 0x20 +/* 8031C15C 003190BC C0 1E 00 08 */ lfs f0, 8(r30) +/* 8031C160 003190C0 C0 9E 00 14 */ lfs f4, 0x14(r30) +/* 8031C164 003190C4 C0 3E 00 0C */ lfs f1, 0xc(r30) +/* 8031C168 003190C8 EC A0 20 28 */ fsubs f5, f0, f4 +/* 8031C16C 003190CC C0 7E 00 18 */ lfs f3, 0x18(r30) +/* 8031C170 003190D0 C0 1E 00 04 */ lfs f0, 4(r30) +/* 8031C174 003190D4 EC 21 18 28 */ fsubs f1, f1, f3 +/* 8031C178 003190D8 C0 5E 00 10 */ lfs f2, 0x10(r30) +/* 8031C17C 003190DC EC C7 01 72 */ fmuls f6, f7, f5 +/* 8031C180 003190E0 EC 00 10 28 */ fsubs f0, f0, f2 +/* 8031C184 003190E4 D0 A1 00 0C */ stfs f5, 0xc(r1) +/* 8031C188 003190E8 EC A7 00 72 */ fmuls f5, f7, f1 +/* 8031C18C 003190EC EC 86 20 2A */ fadds f4, f6, f4 +/* 8031C190 003190F0 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 8031C194 003190F4 EC 27 00 32 */ fmuls f1, f7, f0 +/* 8031C198 003190F8 EC 65 18 2A */ fadds f3, f5, f3 +/* 8031C19C 003190FC D0 01 00 08 */ stfs f0, 8(r1) +/* 8031C1A0 00319100 EC 01 10 2A */ fadds f0, f1, f2 +/* 8031C1A4 00319104 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 8031C1A8 00319108 D0 C1 00 18 */ stfs f6, 0x18(r1) +/* 8031C1AC 0031910C D0 A1 00 1C */ stfs f5, 0x1c(r1) +/* 8031C1B0 00319110 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 8031C1B4 00319114 D0 81 00 24 */ stfs f4, 0x24(r1) +/* 8031C1B8 00319118 D0 61 00 28 */ stfs f3, 0x28(r1) +/* 8031C1BC 0031911C 4B FF 69 2D */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8031C1C0 00319120 C0 1E 00 2C */ lfs f0, 0x2c(r30) +/* 8031C1C4 00319124 38 A0 02 02 */ li r5, 0x202 +/* 8031C1C8 00319128 C0 21 00 2C */ lfs f1, 0x2c(r1) +/* 8031C1CC 0031912C 38 80 00 02 */ li r4, 2 +/* 8031C1D0 00319130 EC 7F 00 32 */ fmuls f3, f31, f0 +/* 8031C1D4 00319134 C0 01 00 34 */ lfs f0, 0x34(r1) +/* 8031C1D8 00319138 C0 41 00 30 */ lfs f2, 0x30(r1) +/* 8031C1DC 0031913C 38 60 00 00 */ li r3, 0 +/* 8031C1E0 00319140 80 DE 00 34 */ lwz r6, 0x34(r30) +/* 8031C1E4 00319144 38 00 02 00 */ li r0, 0x200 +/* 8031C1E8 00319148 EC 23 08 2A */ fadds f1, f3, f1 +/* 8031C1EC 0031914C 3B BD 00 38 */ addi r29, r29, 0x38 +/* 8031C1F0 00319150 EC 63 00 2A */ fadds f3, f3, f0 +/* 8031C1F4 00319154 3B 9C 00 01 */ addi r28, r28, 1 +/* 8031C1F8 00319158 D0 3F 80 00 */ stfs f1, 0xCC008000@l(r31) +/* 8031C1FC 0031915C D0 5F 80 00 */ stfs f2, 0xCC008000@l(r31) +/* 8031C200 00319160 D0 7F 80 00 */ stfs f3, 0xCC008000@l(r31) +/* 8031C204 00319164 90 DF 80 00 */ stw r6, 0xCC008000@l(r31) +/* 8031C208 00319168 B0 BF 80 00 */ sth r5, 0xCC008000@l(r31) +/* 8031C20C 0031916C C0 1E 00 2C */ lfs f0, 0x2c(r30) +/* 8031C210 00319170 EC 21 00 28 */ fsubs f1, f1, f0 +/* 8031C214 00319174 D0 3F 80 00 */ stfs f1, 0xCC008000@l(r31) +/* 8031C218 00319178 D0 5F 80 00 */ stfs f2, 0xCC008000@l(r31) +/* 8031C21C 0031917C D0 7F 80 00 */ stfs f3, 0xCC008000@l(r31) +/* 8031C220 00319180 90 DF 80 00 */ stw r6, 0xCC008000@l(r31) +/* 8031C224 00319184 B0 9F 80 00 */ sth r4, 0xCC008000@l(r31) +/* 8031C228 00319188 C0 1E 00 2C */ lfs f0, 0x2c(r30) +/* 8031C22C 0031918C D0 3F 80 00 */ stfs f1, 0xCC008000@l(r31) +/* 8031C230 00319190 EC 63 00 28 */ fsubs f3, f3, f0 +/* 8031C234 00319194 D0 5F 80 00 */ stfs f2, 0xCC008000@l(r31) +/* 8031C238 00319198 D0 7F 80 00 */ stfs f3, 0xCC008000@l(r31) +/* 8031C23C 0031919C 90 DF 80 00 */ stw r6, 0xCC008000@l(r31) +/* 8031C240 003191A0 B0 7F 80 00 */ sth r3, 0xCC008000@l(r31) +/* 8031C244 003191A4 C0 1E 00 2C */ lfs f0, 0x2c(r30) +/* 8031C248 003191A8 EC 21 00 2A */ fadds f1, f1, f0 +/* 8031C24C 003191AC D0 3F 80 00 */ stfs f1, 0xCC008000@l(r31) +/* 8031C250 003191B0 D0 5F 80 00 */ stfs f2, 0xCC008000@l(r31) +/* 8031C254 003191B4 D0 7F 80 00 */ stfs f3, 0xCC008000@l(r31) +/* 8031C258 003191B8 90 DF 80 00 */ stw r6, 0xCC008000@l(r31) +/* 8031C25C 003191BC B0 1F 80 00 */ sth r0, 0xCC008000@l(r31) +lbl_8031C260: +/* 8031C260 003191C0 80 1A 00 34 */ lwz r0, 0x34(r26) +/* 8031C264 003191C4 7C 1C 00 00 */ cmpw r28, r0 +/* 8031C268 003191C8 41 80 FE DC */ blt lbl_8031C144 +/* 8031C26C 003191CC E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 +/* 8031C270 003191D0 CB E1 00 50 */ lfd f31, 0x50(r1) +/* 8031C274 003191D4 BB 41 00 38 */ lmw r26, 0x38(r1) +/* 8031C278 003191D8 80 01 00 64 */ lwz r0, 0x64(r1) +/* 8031C27C 003191DC 7C 08 03 A6 */ mtlr r0 +/* 8031C280 003191E0 38 21 00 60 */ addi r1, r1, 0x60 +/* 8031C284 003191E4 4E 80 00 20 */ blr + +.global RenderBasicParticlesRotTS__11CElementGenFRC10CTransform +RenderBasicParticlesRotTS__11CElementGenFRC10CTransform: +/* 8031C288 003191E8 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 8031C28C 003191EC 7C 08 02 A6 */ mflr r0 +/* 8031C290 003191F0 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 8031C294 003191F4 DB E1 00 A0 */ stfd f31, 0xa0(r1) +/* 8031C298 003191F8 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 +/* 8031C29C 003191FC DB C1 00 90 */ stfd f30, 0x90(r1) +/* 8031C2A0 00319200 F3 C1 00 98 */ psq_st f30, 152(r1), 0, qr0 +/* 8031C2A4 00319204 DB A1 00 80 */ stfd f29, 0x80(r1) +/* 8031C2A8 00319208 F3 A1 00 88 */ psq_st f29, 136(r1), 0, qr0 +/* 8031C2AC 0031920C DB 81 00 70 */ stfd f28, 0x70(r1) +/* 8031C2B0 00319210 F3 81 00 78 */ psq_st f28, 120(r1), 0, qr0 +/* 8031C2B4 00319214 DB 61 00 60 */ stfd f27, 0x60(r1) +/* 8031C2B8 00319218 F3 61 00 68 */ psq_st f27, 104(r1), 0, qr0 +/* 8031C2BC 0031921C DB 41 00 50 */ stfd f26, 0x50(r1) +/* 8031C2C0 00319220 F3 41 00 58 */ psq_st f26, 88(r1), 0, qr0 +/* 8031C2C4 00319224 DB 21 00 40 */ stfd f25, 0x40(r1) +/* 8031C2C8 00319228 F3 21 00 48 */ psq_st f25, 72(r1), 0, qr0 +/* 8031C2CC 0031922C DB 01 00 30 */ stfd f24, 0x30(r1) +/* 8031C2D0 00319230 F3 01 00 38 */ psq_st f24, 56(r1), 0, qr0 +/* 8031C2D4 00319234 BF 41 00 18 */ stmw r26, 0x18(r1) +/* 8031C2D8 00319238 C3 C2 C9 F8 */ lfs f30, lbl_805AE718@sda21(r2) +/* 8031C2DC 0031923C 7C 7A 1B 78 */ mr r26, r3 +/* 8031C2E0 00319240 C3 E2 C9 F4 */ lfs f31, lbl_805AE714@sda21(r2) +/* 8031C2E4 00319244 7C 9B 23 78 */ mr r27, r4 +/* 8031C2E8 00319248 3B 80 00 00 */ li r28, 0 +/* 8031C2EC 0031924C 3B A0 00 00 */ li r29, 0 +/* 8031C2F0 00319250 3F E0 CC 01 */ lis r31, 0xcc01 +/* 8031C2F4 00319254 48 00 00 E4 */ b lbl_8031C3D8 +lbl_8031C2F8: +/* 8031C2F8 00319258 80 1A 00 3C */ lwz r0, 0x3c(r26) +/* 8031C2FC 0031925C 7F 64 DB 78 */ mr r4, r27 +/* 8031C300 00319260 38 61 00 08 */ addi r3, r1, 8 +/* 8031C304 00319264 7F C0 EA 14 */ add r30, r0, r29 +/* 8031C308 00319268 38 BE 00 04 */ addi r5, r30, 4 +/* 8031C30C 0031926C 4B FF 67 DD */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8031C310 00319270 C0 1E 00 30 */ lfs f0, 0x30(r30) +/* 8031C314 00319274 C0 3E 00 2C */ lfs f1, 0x2c(r30) +/* 8031C318 00319278 EF 3F 00 32 */ fmuls f25, f31, f0 +/* 8031C31C 0031927C C3 A1 00 08 */ lfs f29, 8(r1) +/* 8031C320 00319280 EF 5E 00 72 */ fmuls f26, f30, f1 +/* 8031C324 00319284 C3 81 00 0C */ lfs f28, 0xc(r1) +/* 8031C328 00319288 C3 61 00 10 */ lfs f27, 0x10(r1) +/* 8031C32C 0031928C FC 20 C8 90 */ fmr f1, f25 +/* 8031C330 00319290 83 DE 00 34 */ lwz r30, 0x34(r30) +/* 8031C334 00319294 4B FF 8A BD */ bl FastSinR__5CMathFf +/* 8031C338 00319298 EF 1A 00 72 */ fmuls f24, f26, f1 +/* 8031C33C 0031929C FC 20 C8 90 */ fmr f1, f25 +/* 8031C340 003192A0 4B FF 8A 05 */ bl FastCosR__5CMathFf +/* 8031C344 003192A4 EC 1A 00 72 */ fmuls f0, f26, f1 +/* 8031C348 003192A8 38 A0 02 02 */ li r5, 0x202 +/* 8031C34C 003192AC 38 80 00 02 */ li r4, 2 +/* 8031C350 003192B0 38 60 00 00 */ li r3, 0 +/* 8031C354 003192B4 38 00 02 00 */ li r0, 0x200 +/* 8031C358 003192B8 3B BD 00 38 */ addi r29, r29, 0x38 +/* 8031C35C 003192BC EC D8 00 2A */ fadds f6, f24, f0 +/* 8031C360 003192C0 3B 9C 00 01 */ addi r28, r28, 1 +/* 8031C364 003192C4 EC F8 00 28 */ fsubs f7, f24, f0 +/* 8031C368 003192C8 EC 3D 30 2A */ fadds f1, f29, f6 +/* 8031C36C 003192CC EC 1B 38 28 */ fsubs f0, f27, f7 +/* 8031C370 003192D0 EC BD 38 2A */ fadds f5, f29, f7 +/* 8031C374 003192D4 D0 3F 80 00 */ stfs f1, 0xCC008000@l(r31) +/* 8031C378 003192D8 EC 9B 30 2A */ fadds f4, f27, f6 +/* 8031C37C 003192DC EC 7D 30 28 */ fsubs f3, f29, f6 +/* 8031C380 003192E0 D3 9F 80 00 */ stfs f28, 0xCC008000@l(r31) +/* 8031C384 003192E4 EC 5B 38 2A */ fadds f2, f27, f7 +/* 8031C388 003192E8 EC 3D 38 28 */ fsubs f1, f29, f7 +/* 8031C38C 003192EC D0 1F 80 00 */ stfs f0, 0xCC008000@l(r31) +/* 8031C390 003192F0 EC 1B 30 28 */ fsubs f0, f27, f6 +/* 8031C394 003192F4 93 DF 80 00 */ stw r30, 0xCC008000@l(r31) +/* 8031C398 003192F8 B0 BF 80 00 */ sth r5, 0xCC008000@l(r31) +/* 8031C39C 003192FC D0 BF 80 00 */ stfs f5, 0xCC008000@l(r31) +/* 8031C3A0 00319300 D3 9F 80 00 */ stfs f28, 0xCC008000@l(r31) +/* 8031C3A4 00319304 D0 9F 80 00 */ stfs f4, 0xCC008000@l(r31) +/* 8031C3A8 00319308 93 DF 80 00 */ stw r30, 0xCC008000@l(r31) +/* 8031C3AC 0031930C B0 9F 80 00 */ sth r4, 0xCC008000@l(r31) +/* 8031C3B0 00319310 D0 7F 80 00 */ stfs f3, 0xCC008000@l(r31) +/* 8031C3B4 00319314 D3 9F 80 00 */ stfs f28, 0xCC008000@l(r31) +/* 8031C3B8 00319318 D0 5F 80 00 */ stfs f2, 0xCC008000@l(r31) +/* 8031C3BC 0031931C 93 DF 80 00 */ stw r30, 0xCC008000@l(r31) +/* 8031C3C0 00319320 B0 7F 80 00 */ sth r3, 0xCC008000@l(r31) +/* 8031C3C4 00319324 D0 3F 80 00 */ stfs f1, 0xCC008000@l(r31) +/* 8031C3C8 00319328 D3 9F 80 00 */ stfs f28, 0xCC008000@l(r31) +/* 8031C3CC 0031932C D0 1F 80 00 */ stfs f0, 0xCC008000@l(r31) +/* 8031C3D0 00319330 93 DF 80 00 */ stw r30, 0xCC008000@l(r31) +/* 8031C3D4 00319334 B0 1F 80 00 */ sth r0, 0xCC008000@l(r31) +lbl_8031C3D8: +/* 8031C3D8 00319338 80 1A 00 34 */ lwz r0, 0x34(r26) +/* 8031C3DC 0031933C 7C 1C 00 00 */ cmpw r28, r0 +/* 8031C3E0 00319340 41 80 FF 18 */ blt lbl_8031C2F8 +/* 8031C3E4 00319344 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 +/* 8031C3E8 00319348 CB E1 00 A0 */ lfd f31, 0xa0(r1) +/* 8031C3EC 0031934C E3 C1 00 98 */ psq_l f30, 152(r1), 0, qr0 +/* 8031C3F0 00319350 CB C1 00 90 */ lfd f30, 0x90(r1) +/* 8031C3F4 00319354 E3 A1 00 88 */ psq_l f29, 136(r1), 0, qr0 +/* 8031C3F8 00319358 CB A1 00 80 */ lfd f29, 0x80(r1) +/* 8031C3FC 0031935C E3 81 00 78 */ psq_l f28, 120(r1), 0, qr0 +/* 8031C400 00319360 CB 81 00 70 */ lfd f28, 0x70(r1) +/* 8031C404 00319364 E3 61 00 68 */ psq_l f27, 104(r1), 0, qr0 +/* 8031C408 00319368 CB 61 00 60 */ lfd f27, 0x60(r1) +/* 8031C40C 0031936C E3 41 00 58 */ psq_l f26, 88(r1), 0, qr0 +/* 8031C410 00319370 CB 41 00 50 */ lfd f26, 0x50(r1) +/* 8031C414 00319374 E3 21 00 48 */ psq_l f25, 72(r1), 0, qr0 +/* 8031C418 00319378 CB 21 00 40 */ lfd f25, 0x40(r1) +/* 8031C41C 0031937C E3 01 00 38 */ psq_l f24, 56(r1), 0, qr0 +/* 8031C420 00319380 CB 01 00 30 */ lfd f24, 0x30(r1) +/* 8031C424 00319384 BB 41 00 18 */ lmw r26, 0x18(r1) +/* 8031C428 00319388 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 8031C42C 0031938C 7C 08 03 A6 */ mtlr r0 +/* 8031C430 00319390 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 8031C434 00319394 4E 80 00 20 */ blr + +.global RenderBasicParticlesNoRotTS__11CElementGenFRC10CTransform +RenderBasicParticlesNoRotTS__11CElementGenFRC10CTransform: +/* 8031C438 00319398 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8031C43C 0031939C 7C 08 02 A6 */ mflr r0 +/* 8031C440 003193A0 90 01 00 44 */ stw r0, 0x44(r1) +/* 8031C444 003193A4 DB E1 00 30 */ stfd f31, 0x30(r1) +/* 8031C448 003193A8 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 8031C44C 003193AC BF 41 00 18 */ stmw r26, 0x18(r1) +/* 8031C450 003193B0 C3 E2 C9 F8 */ lfs f31, lbl_805AE718@sda21(r2) +/* 8031C454 003193B4 7C 7A 1B 78 */ mr r26, r3 +/* 8031C458 003193B8 7C 9B 23 78 */ mr r27, r4 +/* 8031C45C 003193BC 3B 80 00 00 */ li r28, 0 +/* 8031C460 003193C0 3B A0 00 00 */ li r29, 0 +/* 8031C464 003193C4 3F E0 CC 01 */ lis r31, 0xcc01 +/* 8031C468 003193C8 48 00 00 BC */ b lbl_8031C524 +lbl_8031C46C: +/* 8031C46C 003193CC 80 1A 00 3C */ lwz r0, 0x3c(r26) +/* 8031C470 003193D0 7F 64 DB 78 */ mr r4, r27 +/* 8031C474 003193D4 38 61 00 08 */ addi r3, r1, 8 +/* 8031C478 003193D8 7F C0 EA 14 */ add r30, r0, r29 +/* 8031C47C 003193DC 38 BE 00 04 */ addi r5, r30, 4 +/* 8031C480 003193E0 4B FF 66 69 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8031C484 003193E4 C0 1E 00 2C */ lfs f0, 0x2c(r30) +/* 8031C488 003193E8 38 A0 02 02 */ li r5, 0x202 +/* 8031C48C 003193EC C0 21 00 08 */ lfs f1, 8(r1) +/* 8031C490 003193F0 38 80 00 02 */ li r4, 2 +/* 8031C494 003193F4 EC 7F 00 32 */ fmuls f3, f31, f0 +/* 8031C498 003193F8 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 8031C49C 003193FC C0 41 00 0C */ lfs f2, 0xc(r1) +/* 8031C4A0 00319400 38 60 00 00 */ li r3, 0 +/* 8031C4A4 00319404 80 DE 00 34 */ lwz r6, 0x34(r30) +/* 8031C4A8 00319408 38 00 02 00 */ li r0, 0x200 +/* 8031C4AC 0031940C EC 23 08 2A */ fadds f1, f3, f1 +/* 8031C4B0 00319410 3B BD 00 38 */ addi r29, r29, 0x38 +/* 8031C4B4 00319414 EC 63 00 2A */ fadds f3, f3, f0 +/* 8031C4B8 00319418 3B 9C 00 01 */ addi r28, r28, 1 +/* 8031C4BC 0031941C D0 3F 80 00 */ stfs f1, 0xCC008000@l(r31) +/* 8031C4C0 00319420 D0 5F 80 00 */ stfs f2, 0xCC008000@l(r31) +/* 8031C4C4 00319424 D0 7F 80 00 */ stfs f3, 0xCC008000@l(r31) +/* 8031C4C8 00319428 90 DF 80 00 */ stw r6, 0xCC008000@l(r31) +/* 8031C4CC 0031942C B0 BF 80 00 */ sth r5, 0xCC008000@l(r31) +/* 8031C4D0 00319430 C0 1E 00 2C */ lfs f0, 0x2c(r30) +/* 8031C4D4 00319434 EC 21 00 28 */ fsubs f1, f1, f0 +/* 8031C4D8 00319438 D0 3F 80 00 */ stfs f1, 0xCC008000@l(r31) +/* 8031C4DC 0031943C D0 5F 80 00 */ stfs f2, 0xCC008000@l(r31) +/* 8031C4E0 00319440 D0 7F 80 00 */ stfs f3, 0xCC008000@l(r31) +/* 8031C4E4 00319444 90 DF 80 00 */ stw r6, 0xCC008000@l(r31) +/* 8031C4E8 00319448 B0 9F 80 00 */ sth r4, 0xCC008000@l(r31) +/* 8031C4EC 0031944C C0 1E 00 2C */ lfs f0, 0x2c(r30) +/* 8031C4F0 00319450 D0 3F 80 00 */ stfs f1, 0xCC008000@l(r31) +/* 8031C4F4 00319454 EC 63 00 28 */ fsubs f3, f3, f0 +/* 8031C4F8 00319458 D0 5F 80 00 */ stfs f2, 0xCC008000@l(r31) +/* 8031C4FC 0031945C D0 7F 80 00 */ stfs f3, 0xCC008000@l(r31) +/* 8031C500 00319460 90 DF 80 00 */ stw r6, 0xCC008000@l(r31) +/* 8031C504 00319464 B0 7F 80 00 */ sth r3, 0xCC008000@l(r31) +/* 8031C508 00319468 C0 1E 00 2C */ lfs f0, 0x2c(r30) +/* 8031C50C 0031946C EC 21 00 2A */ fadds f1, f1, f0 +/* 8031C510 00319470 D0 3F 80 00 */ stfs f1, 0xCC008000@l(r31) +/* 8031C514 00319474 D0 5F 80 00 */ stfs f2, 0xCC008000@l(r31) +/* 8031C518 00319478 D0 7F 80 00 */ stfs f3, 0xCC008000@l(r31) +/* 8031C51C 0031947C 90 DF 80 00 */ stw r6, 0xCC008000@l(r31) +/* 8031C520 00319480 B0 1F 80 00 */ sth r0, 0xCC008000@l(r31) +lbl_8031C524: +/* 8031C524 00319484 80 1A 00 34 */ lwz r0, 0x34(r26) +/* 8031C528 00319488 7C 1C 00 00 */ cmpw r28, r0 +/* 8031C52C 0031948C 41 80 FF 40 */ blt lbl_8031C46C +/* 8031C530 00319490 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 8031C534 00319494 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 8031C538 00319498 BB 41 00 18 */ lmw r26, 0x18(r1) +/* 8031C53C 0031949C 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8031C540 003194A0 7C 08 03 A6 */ mtlr r0 +/* 8031C544 003194A4 38 21 00 40 */ addi r1, r1, 0x40 +/* 8031C548 003194A8 4E 80 00 20 */ blr + +.global Render__11CElementGenFv +Render__11CElementGenFv: +/* 8031C54C 003194AC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8031C550 003194B0 7C 08 02 A6 */ mflr r0 +/* 8031C554 003194B4 90 01 00 34 */ stw r0, 0x34(r1) +/* 8031C558 003194B8 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8031C55C 003194BC 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8031C560 003194C0 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8031C564 003194C4 7C 7D 1B 78 */ mr r29, r3 +/* 8031C568 003194C8 93 81 00 20 */ stw r28, 0x20(r1) +/* 8031C56C 003194CC 48 06 8E 3D */ bl OSGetTime +/* 8031C570 003194D0 88 0D A8 16 */ lbz r0, lbl_805A93D6@sda21(r13) +/* 8031C574 003194D4 7C 9E 23 78 */ mr r30, r4 +/* 8031C578 003194D8 7C 7F 1B 78 */ mr r31, r3 +/* 8031C57C 003194DC 98 1D 02 74 */ stb r0, 0x274(r29) +/* 8031C580 003194E0 4B FF 03 FD */ bl DisableAllLights__9CGraphicsFv +/* 8031C584 003194E4 83 9D 02 9C */ lwz r28, 0x29c(r29) +/* 8031C588 003194E8 48 00 00 1C */ b lbl_8031C5A4 +lbl_8031C58C: +/* 8031C58C 003194EC 80 7C 00 00 */ lwz r3, 0(r28) +/* 8031C590 003194F0 81 83 00 00 */ lwz r12, 0(r3) +/* 8031C594 003194F4 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 8031C598 003194F8 7D 89 03 A6 */ mtctr r12 +/* 8031C59C 003194FC 4E 80 04 21 */ bctrl +/* 8031C5A0 00319500 3B 9C 00 04 */ addi r28, r28, 4 +lbl_8031C5A4: +/* 8031C5A4 00319504 80 1D 02 94 */ lwz r0, 0x294(r29) +/* 8031C5A8 00319508 80 7D 02 9C */ lwz r3, 0x29c(r29) +/* 8031C5AC 0031950C 54 00 10 3A */ slwi r0, r0, 2 +/* 8031C5B0 00319510 7C 03 02 14 */ add r0, r3, r0 +/* 8031C5B4 00319514 7C 1C 00 40 */ cmplw r28, r0 +/* 8031C5B8 00319518 40 82 FF D4 */ bne lbl_8031C58C +/* 8031C5BC 0031951C 80 6D A8 F4 */ lwz r3, lbl_805A94B4@sda21(r13) +/* 8031C5C0 00319520 3C 80 50 41 */ lis r4, 0x50415254@ha +/* 8031C5C4 00319524 38 84 52 54 */ addi r4, r4, 0x50415254@l +/* 8031C5C8 00319528 38 01 00 08 */ addi r0, r1, 8 +/* 8031C5CC 0031952C 90 81 00 08 */ stw r4, 8(r1) +/* 8031C5D0 00319530 93 A1 00 0C */ stw r29, 0xc(r1) +/* 8031C5D4 00319534 90 61 00 10 */ stw r3, 0x10(r1) +/* 8031C5D8 00319538 90 0D A8 F4 */ stw r0, lbl_805A94B4@sda21(r13) +/* 8031C5DC 0031953C 80 1D 00 34 */ lwz r0, 0x34(r29) +/* 8031C5E0 00319540 2C 00 00 00 */ cmpwi r0, 0 +/* 8031C5E4 00319544 40 81 00 48 */ ble lbl_8031C62C +/* 8031C5E8 00319548 80 7D 00 28 */ lwz r3, 0x28(r29) +/* 8031C5EC 0031954C 88 03 00 54 */ lbz r0, 0x54(r3) +/* 8031C5F0 00319550 28 00 00 00 */ cmplwi r0, 0 +/* 8031C5F4 00319554 40 82 00 10 */ bne lbl_8031C604 +/* 8031C5F8 00319558 88 03 00 31 */ lbz r0, 0x31(r3) +/* 8031C5FC 0031955C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 8031C600 00319560 41 82 00 0C */ beq lbl_8031C60C +lbl_8031C604: +/* 8031C604 00319564 7F A3 EB 78 */ mr r3, r29 +/* 8031C608 00319568 4B FF B8 ED */ bl RenderModels__11CElementGenFv +lbl_8031C60C: +/* 8031C60C 0031956C 88 1D 02 6C */ lbz r0, 0x26c(r29) +/* 8031C610 00319570 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 8031C614 00319574 41 82 00 10 */ beq lbl_8031C624 +/* 8031C618 00319578 7F A3 EB 78 */ mr r3, r29 +/* 8031C61C 0031957C 4B FF C4 D1 */ bl RenderLines__11CElementGenFv +/* 8031C620 00319580 48 00 00 0C */ b lbl_8031C62C +lbl_8031C624: +/* 8031C624 00319584 7F A3 EB 78 */ mr r3, r29 +/* 8031C628 00319588 4B FF DE F5 */ bl RenderParticles__11CElementGenFv +lbl_8031C62C: +/* 8031C62C 0031958C 48 06 8D 7D */ bl OSGetTime +/* 8031C630 00319590 7C 9E 20 10 */ subfc r4, r30, r4 +/* 8031C634 00319594 7C 7F 19 10 */ subfe r3, r31, r3 +/* 8031C638 00319598 48 06 D9 2D */ bl __cvt_sll_flt +/* 8031C63C 0031959C 3C 60 80 5A */ lis r3, mData__10CStopwatch@ha +/* 8031C640 003195A0 34 01 00 08 */ addic. r0, r1, 8 +/* 8031C644 003195A4 38 63 FD 30 */ addi r3, r3, mData__10CStopwatch@l +/* 8031C648 003195A8 C0 03 00 10 */ lfs f0, 0x10(r3) +/* 8031C64C 003195AC EC 01 00 32 */ fmuls f0, f1, f0 +/* 8031C650 003195B0 D0 1D 02 D0 */ stfs f0, 0x2d0(r29) +/* 8031C654 003195B4 41 82 00 0C */ beq lbl_8031C660 +/* 8031C658 003195B8 80 01 00 10 */ lwz r0, 0x10(r1) +/* 8031C65C 003195BC 90 0D A8 F4 */ stw r0, lbl_805A94B4@sda21(r13) +lbl_8031C660: +/* 8031C660 003195C0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8031C664 003195C4 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8031C668 003195C8 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8031C66C 003195CC 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8031C670 003195D0 83 81 00 20 */ lwz r28, 0x20(r1) +/* 8031C674 003195D4 7C 08 03 A6 */ mtlr r0 +/* 8031C678 003195D8 38 21 00 30 */ addi r1, r1, 0x30 +/* 8031C67C 003195DC 4E 80 00 20 */ blr + +.global IsSystemDeletable__11CElementGenCFv +IsSystemDeletable__11CElementGenCFv: +/* 8031C680 003195E0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8031C684 003195E4 7C 08 02 A6 */ mflr r0 +/* 8031C688 003195E8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8031C68C 003195EC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8031C690 003195F0 93 C1 00 08 */ stw r30, 8(r1) +/* 8031C694 003195F4 7C 7E 1B 78 */ mr r30, r3 +/* 8031C698 003195F8 83 E3 02 9C */ lwz r31, 0x29c(r3) +/* 8031C69C 003195FC 48 00 00 2C */ b lbl_8031C6C8 +lbl_8031C6A0: +/* 8031C6A0 00319600 80 7F 00 00 */ lwz r3, 0(r31) +/* 8031C6A4 00319604 81 83 00 00 */ lwz r12, 0(r3) +/* 8031C6A8 00319608 81 8C 00 58 */ lwz r12, 0x58(r12) +/* 8031C6AC 0031960C 7D 89 03 A6 */ mtctr r12 +/* 8031C6B0 00319610 4E 80 04 21 */ bctrl +/* 8031C6B4 00319614 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8031C6B8 00319618 40 82 00 0C */ bne lbl_8031C6C4 +/* 8031C6BC 0031961C 38 60 00 00 */ li r3, 0 +/* 8031C6C0 00319620 48 00 00 48 */ b lbl_8031C708 +lbl_8031C6C4: +/* 8031C6C4 00319624 3B FF 00 04 */ addi r31, r31, 4 +lbl_8031C6C8: +/* 8031C6C8 00319628 80 1E 02 94 */ lwz r0, 0x294(r30) +/* 8031C6CC 0031962C 80 7E 02 9C */ lwz r3, 0x29c(r30) +/* 8031C6D0 00319630 54 00 10 3A */ slwi r0, r0, 2 +/* 8031C6D4 00319634 7C 03 02 14 */ add r0, r3, r0 +/* 8031C6D8 00319638 7C 1F 00 40 */ cmplw r31, r0 +/* 8031C6DC 0031963C 40 82 FF C4 */ bne lbl_8031C6A0 +/* 8031C6E0 00319640 80 7E 02 68 */ lwz r3, 0x268(r30) +/* 8031C6E4 00319644 80 1E 00 74 */ lwz r0, 0x74(r30) +/* 8031C6E8 00319648 7C 03 00 00 */ cmpw r3, r0 +/* 8031C6EC 0031964C 40 80 00 18 */ bge lbl_8031C704 +/* 8031C6F0 00319650 80 1E 02 5C */ lwz r0, 0x25c(r30) +/* 8031C6F4 00319654 2C 00 00 00 */ cmpwi r0, 0 +/* 8031C6F8 00319658 40 82 00 0C */ bne lbl_8031C704 +/* 8031C6FC 0031965C 38 60 00 01 */ li r3, 1 +/* 8031C700 00319660 48 00 00 08 */ b lbl_8031C708 +lbl_8031C704: +/* 8031C704 00319664 38 60 00 00 */ li r3, 0 +lbl_8031C708: +/* 8031C708 00319668 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8031C70C 0031966C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8031C710 00319670 83 C1 00 08 */ lwz r30, 8(r1) +/* 8031C714 00319674 7C 08 03 A6 */ mtlr r0 +/* 8031C718 00319678 38 21 00 10 */ addi r1, r1, 0x10 +/* 8031C71C 0031967C 4E 80 00 20 */ blr + +.global DestroyParticles__11CElementGenFv +DestroyParticles__11CElementGenFv: +/* 8031C720 00319680 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8031C724 00319684 7C 08 02 A6 */ mflr r0 +/* 8031C728 00319688 90 01 00 34 */ stw r0, 0x34(r1) +/* 8031C72C 0031968C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8031C730 00319690 7C 7F 1B 78 */ mr r31, r3 +/* 8031C734 00319694 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8031C738 00319698 80 0D A8 B0 */ lwz r0, lbl_805A9470@sda21(r13) +/* 8031C73C 0031969C 80 63 00 34 */ lwz r3, 0x34(r3) +/* 8031C740 003196A0 7C 03 00 50 */ subf r0, r3, r0 +/* 8031C744 003196A4 90 0D A8 B0 */ stw r0, lbl_805A9470@sda21(r13) +/* 8031C748 003196A8 80 1F 00 34 */ lwz r0, 0x34(r31) +/* 8031C74C 003196AC 80 7F 00 3C */ lwz r3, 0x3c(r31) +/* 8031C750 003196B0 1C 00 00 38 */ mulli r0, r0, 0x38 +/* 8031C754 003196B4 90 61 00 1C */ stw r3, 0x1c(r1) +/* 8031C758 003196B8 7C 03 02 14 */ add r0, r3, r0 +/* 8031C75C 003196BC 90 61 00 18 */ stw r3, 0x18(r1) +/* 8031C760 003196C0 90 01 00 24 */ stw r0, 0x24(r1) +/* 8031C764 003196C4 90 01 00 20 */ stw r0, 0x20(r1) +/* 8031C768 003196C8 48 00 00 08 */ b lbl_8031C770 +lbl_8031C76C: +/* 8031C76C 003196CC 38 63 00 38 */ addi r3, r3, 0x38 +lbl_8031C770: +/* 8031C770 003196D0 7C 03 00 40 */ cmplw r3, r0 +/* 8031C774 003196D4 40 82 FF F8 */ bne lbl_8031C76C +/* 8031C778 003196D8 38 00 00 00 */ li r0, 0 +/* 8031C77C 003196DC 90 1F 00 34 */ stw r0, 0x34(r31) +/* 8031C780 003196E0 80 1F 00 2C */ lwz r0, 0x2c(r31) +/* 8031C784 003196E4 2C 00 00 01 */ cmpwi r0, 1 +/* 8031C788 003196E8 40 82 00 3C */ bne lbl_8031C7C4 +/* 8031C78C 003196EC 80 1F 00 54 */ lwz r0, 0x54(r31) +/* 8031C790 003196F0 80 7F 00 5C */ lwz r3, 0x5c(r31) +/* 8031C794 003196F4 1C 00 00 24 */ mulli r0, r0, 0x24 +/* 8031C798 003196F8 90 61 00 0C */ stw r3, 0xc(r1) +/* 8031C79C 003196FC 7C 03 02 14 */ add r0, r3, r0 +/* 8031C7A0 00319700 90 61 00 08 */ stw r3, 8(r1) +/* 8031C7A4 00319704 90 01 00 14 */ stw r0, 0x14(r1) +/* 8031C7A8 00319708 90 01 00 10 */ stw r0, 0x10(r1) +/* 8031C7AC 0031970C 48 00 00 08 */ b lbl_8031C7B4 +lbl_8031C7B0: +/* 8031C7B0 00319710 38 63 00 24 */ addi r3, r3, 0x24 +lbl_8031C7B4: +/* 8031C7B4 00319714 7C 03 00 40 */ cmplw r3, r0 +/* 8031C7B8 00319718 40 82 FF F8 */ bne lbl_8031C7B0 +/* 8031C7BC 0031971C 38 00 00 00 */ li r0, 0 +/* 8031C7C0 00319720 90 1F 00 54 */ stw r0, 0x54(r31) +lbl_8031C7C4: +/* 8031C7C4 00319724 83 DF 02 9C */ lwz r30, 0x29c(r31) +/* 8031C7C8 00319728 48 00 00 1C */ b lbl_8031C7E4 +lbl_8031C7CC: +/* 8031C7CC 0031972C 80 7E 00 00 */ lwz r3, 0(r30) +/* 8031C7D0 00319730 81 83 00 00 */ lwz r12, 0(r3) +/* 8031C7D4 00319734 81 8C 00 6C */ lwz r12, 0x6c(r12) +/* 8031C7D8 00319738 7D 89 03 A6 */ mtctr r12 +/* 8031C7DC 0031973C 4E 80 04 21 */ bctrl +/* 8031C7E0 00319740 3B DE 00 04 */ addi r30, r30, 4 +lbl_8031C7E4: +/* 8031C7E4 00319744 80 1F 02 94 */ lwz r0, 0x294(r31) +/* 8031C7E8 00319748 80 7F 02 9C */ lwz r3, 0x29c(r31) +/* 8031C7EC 0031974C 54 00 10 3A */ slwi r0, r0, 2 +/* 8031C7F0 00319750 7C 03 02 14 */ add r0, r3, r0 +/* 8031C7F4 00319754 7C 1E 00 40 */ cmplw r30, r0 +/* 8031C7F8 00319758 40 82 FF D4 */ bne lbl_8031C7CC +/* 8031C7FC 0031975C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8031C800 00319760 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8031C804 00319764 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8031C808 00319768 7C 08 03 A6 */ mtlr r0 +/* 8031C80C 0031976C 38 21 00 30 */ addi r1, r1, 0x30 +/* 8031C810 00319770 4E 80 00 20 */ blr + +.global EndLifetime__11CElementGenFv +EndLifetime__11CElementGenFv: +/* 8031C814 00319774 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8031C818 00319778 7C 08 02 A6 */ mflr r0 +/* 8031C81C 0031977C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8031C820 00319780 38 00 00 00 */ li r0, 0 +/* 8031C824 00319784 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8031C828 00319788 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8031C82C 0031978C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8031C830 00319790 7C 7D 1B 78 */ mr r29, r3 +/* 8031C834 00319794 90 03 02 68 */ stw r0, 0x268(r3) +/* 8031C838 00319798 83 E3 02 9C */ lwz r31, 0x29c(r3) +/* 8031C83C 0031979C 48 00 00 50 */ b lbl_8031C88C +lbl_8031C840: +/* 8031C840 003197A0 83 DF 00 00 */ lwz r30, 0(r31) +/* 8031C844 003197A4 7F C3 F3 78 */ mr r3, r30 +/* 8031C848 003197A8 81 9E 00 00 */ lwz r12, 0(r30) +/* 8031C84C 003197AC 81 8C 00 74 */ lwz r12, 0x74(r12) +/* 8031C850 003197B0 7D 89 03 A6 */ mtctr r12 +/* 8031C854 003197B4 4E 80 04 21 */ bctrl +/* 8031C858 003197B8 3C 03 AF BF */ addis r0, r3, 0xafbf +/* 8031C85C 003197BC 28 00 52 54 */ cmplwi r0, 0x5254 +/* 8031C860 003197C0 40 82 00 10 */ bne lbl_8031C870 +/* 8031C864 003197C4 7F C3 F3 78 */ mr r3, r30 +/* 8031C868 003197C8 4B FF FF AD */ bl EndLifetime__11CElementGenFv +/* 8031C86C 003197CC 48 00 00 1C */ b lbl_8031C888 +lbl_8031C870: +/* 8031C870 003197D0 7F C3 F3 78 */ mr r3, r30 +/* 8031C874 003197D4 38 80 00 00 */ li r4, 0 +/* 8031C878 003197D8 81 9E 00 00 */ lwz r12, 0(r30) +/* 8031C87C 003197DC 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 8031C880 003197E0 7D 89 03 A6 */ mtctr r12 +/* 8031C884 003197E4 4E 80 04 21 */ bctrl +lbl_8031C888: +/* 8031C888 003197E8 3B FF 00 04 */ addi r31, r31, 4 +lbl_8031C88C: +/* 8031C88C 003197EC 80 1D 02 94 */ lwz r0, 0x294(r29) +/* 8031C890 003197F0 80 7D 02 9C */ lwz r3, 0x29c(r29) +/* 8031C894 003197F4 54 00 10 3A */ slwi r0, r0, 2 +/* 8031C898 003197F8 7C 03 02 14 */ add r0, r3, r0 +/* 8031C89C 003197FC 7C 1F 00 40 */ cmplw r31, r0 +/* 8031C8A0 00319800 40 82 FF A0 */ bne lbl_8031C840 +/* 8031C8A4 00319804 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8031C8A8 00319808 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8031C8AC 0031980C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8031C8B0 00319810 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8031C8B4 00319814 7C 08 03 A6 */ mtlr r0 +/* 8031C8B8 00319818 38 21 00 20 */ addi r1, r1, 0x20 +/* 8031C8BC 0031981C 4E 80 00 20 */ blr + +.global ForceParticleCreation__11CElementGenFi +ForceParticleCreation__11CElementGenFi: +/* 8031C8C0 00319820 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8031C8C4 00319824 7C 08 02 A6 */ mflr r0 +/* 8031C8C8 00319828 3C C0 50 41 */ lis r6, 0x50415254@ha +/* 8031C8CC 0031982C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8031C8D0 00319830 38 01 00 08 */ addi r0, r1, 8 +/* 8031C8D4 00319834 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8031C8D8 00319838 7C 9F 23 78 */ mr r31, r4 +/* 8031C8DC 0031983C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8031C8E0 00319840 7C 7E 1B 78 */ mr r30, r3 +/* 8031C8E4 00319844 38 66 52 54 */ addi r3, r6, 0x50415254@l +/* 8031C8E8 00319848 80 AD A8 F4 */ lwz r5, lbl_805A94B4@sda21(r13) +/* 8031C8EC 0031984C 93 C1 00 0C */ stw r30, 0xc(r1) +/* 8031C8F0 00319850 90 61 00 08 */ stw r3, 8(r1) +/* 8031C8F4 00319854 90 A1 00 10 */ stw r5, 0x10(r1) +/* 8031C8F8 00319858 90 0D A8 F4 */ stw r0, lbl_805A94B4@sda21(r13) +/* 8031C8FC 0031985C 80 7E 00 74 */ lwz r3, 0x74(r30) +/* 8031C900 00319860 48 00 DE 49 */ bl SetEmitterTime__16CParticleGlobalsFi +/* 8031C904 00319864 7F C3 F3 78 */ mr r3, r30 +/* 8031C908 00319868 7F E4 FB 78 */ mr r4, r31 +/* 8031C90C 0031986C 48 00 0D D9 */ bl CreateNewParticles__11CElementGenFi +/* 8031C910 00319870 34 01 00 08 */ addic. r0, r1, 8 +/* 8031C914 00319874 41 82 00 0C */ beq lbl_8031C920 +/* 8031C918 00319878 80 01 00 10 */ lwz r0, 0x10(r1) +/* 8031C91C 0031987C 90 0D A8 F4 */ stw r0, lbl_805A94B4@sda21(r13) +lbl_8031C920: +/* 8031C920 00319880 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8031C924 00319884 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8031C928 00319888 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8031C92C 0031988C 7C 08 03 A6 */ mtlr r0 +/* 8031C930 00319890 38 21 00 20 */ addi r1, r1, 0x20 +/* 8031C934 00319894 4E 80 00 20 */ blr + +.global SetParticleEmission__11CElementGenFb +SetParticleEmission__11CElementGenFb: +/* 8031C938 00319898 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8031C93C 0031989C 7C 08 02 A6 */ mflr r0 +/* 8031C940 003198A0 90 01 00 24 */ stw r0, 0x24(r1) +/* 8031C944 003198A4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8031C948 003198A8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8031C94C 003198AC 7C 9E 23 78 */ mr r30, r4 +/* 8031C950 003198B0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8031C954 003198B4 7C 7D 1B 78 */ mr r29, r3 +/* 8031C958 003198B8 9B C3 00 88 */ stb r30, 0x88(r3) +/* 8031C95C 003198BC 83 E3 02 9C */ lwz r31, 0x29c(r3) +/* 8031C960 003198C0 48 00 00 20 */ b lbl_8031C980 +lbl_8031C964: +/* 8031C964 003198C4 80 7F 00 00 */ lwz r3, 0(r31) +/* 8031C968 003198C8 7F C4 F3 78 */ mr r4, r30 +/* 8031C96C 003198CC 81 83 00 00 */ lwz r12, 0(r3) +/* 8031C970 003198D0 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 8031C974 003198D4 7D 89 03 A6 */ mtctr r12 +/* 8031C978 003198D8 4E 80 04 21 */ bctrl +/* 8031C97C 003198DC 3B FF 00 04 */ addi r31, r31, 4 +lbl_8031C980: +/* 8031C980 003198E0 80 1D 02 94 */ lwz r0, 0x294(r29) +/* 8031C984 003198E4 80 7D 02 9C */ lwz r3, 0x29c(r29) +/* 8031C988 003198E8 54 00 10 3A */ slwi r0, r0, 2 +/* 8031C98C 003198EC 7C 03 02 14 */ add r0, r3, r0 +/* 8031C990 003198F0 7C 1F 00 40 */ cmplw r31, r0 +/* 8031C994 003198F4 40 82 FF D0 */ bne lbl_8031C964 +/* 8031C998 003198F8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8031C99C 003198FC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8031C9A0 00319900 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8031C9A4 00319904 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8031C9A8 00319908 7C 08 03 A6 */ mtlr r0 +/* 8031C9AC 0031990C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8031C9B0 00319910 4E 80 00 20 */ blr + +.global UpdateChildParticleSystems__11CElementGenFd +UpdateChildParticleSystems__11CElementGenFd: +/* 8031C9B4 00319914 94 21 FF 20 */ stwu r1, -0xe0(r1) +/* 8031C9B8 00319918 7C 08 02 A6 */ mflr r0 +/* 8031C9BC 0031991C 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 8031C9C0 00319920 DB E1 00 D0 */ stfd f31, 0xd0(r1) +/* 8031C9C4 00319924 F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 +/* 8031C9C8 00319928 BF 01 00 B0 */ stmw r24, 0xb0(r1) +/* 8031C9CC 0031992C FF E0 08 90 */ fmr f31, f1 +/* 8031C9D0 00319930 C8 22 CA 20 */ lfd f1, lbl_805AE740@sda21(r2) +/* 8031C9D4 00319934 C8 02 CA 28 */ lfd f0, lbl_805AE748@sda21(r2) +/* 8031C9D8 00319938 7C 7F 1B 78 */ mr r31, r3 +/* 8031C9DC 0031993C FC 3F 08 28 */ fsub f1, f31, f1 +/* 8031C9E0 00319940 FC 20 0A 10 */ fabs f1, f1 +/* 8031C9E4 00319944 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8031C9E8 00319948 41 80 09 74 */ blt lbl_8031D35C +/* 8031C9EC 0031994C 38 61 00 A0 */ addi r3, r1, 0xa0 +/* 8031C9F0 00319950 38 9F 02 7C */ addi r4, r31, 0x27c +/* 8031C9F4 00319954 4B FF 5C 8D */ bl __ct__13CGlobalRandomFR9CRandom16 +/* 8031C9F8 00319958 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031C9FC 0031995C 88 03 00 84 */ lbz r0, 0x84(r3) +/* 8031CA00 00319960 28 00 00 00 */ cmplwi r0, 0 +/* 8031CA04 00319964 41 82 01 4C */ beq lbl_8031CB50 +/* 8031CA08 00319968 80 1F 00 84 */ lwz r0, 0x84(r31) +/* 8031CA0C 0031996C 80 7F 00 74 */ lwz r3, 0x74(r31) +/* 8031CA10 00319970 7C 00 18 00 */ cmpw r0, r3 +/* 8031CA14 00319974 41 82 01 3C */ beq lbl_8031CB50 +/* 8031CA18 00319978 80 1F 02 A0 */ lwz r0, 0x2a0(r31) +/* 8031CA1C 0031997C 7C 03 00 00 */ cmpw r3, r0 +/* 8031CA20 00319980 40 82 01 30 */ bne lbl_8031CB50 +/* 8031CA24 00319984 38 00 00 01 */ li r0, 1 +/* 8031CA28 00319988 90 01 00 18 */ stw r0, 0x18(r1) +/* 8031CA2C 0031998C 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031CA30 00319990 80 63 00 88 */ lwz r3, 0x88(r3) +/* 8031CA34 00319994 28 03 00 00 */ cmplwi r3, 0 +/* 8031CA38 00319998 41 82 00 1C */ beq lbl_8031CA54 +/* 8031CA3C 0031999C 81 83 00 00 */ lwz r12, 0(r3) +/* 8031CA40 003199A0 38 A1 00 18 */ addi r5, r1, 0x18 +/* 8031CA44 003199A4 80 9F 00 74 */ lwz r4, 0x74(r31) +/* 8031CA48 003199A8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031CA4C 003199AC 7D 89 03 A6 */ mtctr r12 +/* 8031CA50 003199B0 4E 80 04 21 */ bctrl +lbl_8031CA54: +/* 8031CA54 003199B4 80 81 00 18 */ lwz r4, 0x18(r1) +/* 8031CA58 003199B8 38 7F 02 90 */ addi r3, r31, 0x290 +/* 8031CA5C 003199BC 80 1F 02 94 */ lwz r0, 0x294(r31) +/* 8031CA60 003199C0 7C 84 02 14 */ add r4, r4, r0 +/* 8031CA64 003199C4 48 00 3C DD */ bl sub_80320740 +/* 8031CA68 003199C8 3B 41 00 94 */ addi r26, r1, 0x94 +/* 8031CA6C 003199CC 3B 60 00 00 */ li r27, 0 +/* 8031CA70 003199D0 48 00 00 D4 */ b lbl_8031CB44 +lbl_8031CA74: +/* 8031CA74 003199D4 80 9F 00 28 */ lwz r4, 0x28(r31) +/* 8031CA78 003199D8 7F 43 D3 78 */ mr r3, r26 +/* 8031CA7C 003199DC 38 84 00 78 */ addi r4, r4, 0x78 +/* 8031CA80 003199E0 48 02 44 29 */ bl __ct__6CTokenFRC6CToken +/* 8031CA84 003199E4 7F 43 D3 78 */ mr r3, r26 +/* 8031CA88 003199E8 48 02 43 85 */ bl GetObj__6CTokenFv +/* 8031CA8C 003199EC 80 63 00 04 */ lwz r3, 4(r3) +/* 8031CA90 003199F0 90 61 00 9C */ stw r3, 0x9c(r1) +/* 8031CA94 003199F4 88 1F 02 6D */ lbz r0, 0x26d(r31) +/* 8031CA98 003199F8 88 63 00 32 */ lbz r3, 0x32(r3) +/* 8031CA9C 003199FC 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 8031CAA0 00319A00 54 60 D7 FE */ rlwinm r0, r3, 0x1a, 0x1f, 0x1f +/* 8031CAA4 00319A04 41 82 00 1C */ beq lbl_8031CAC0 +/* 8031CAA8 00319A08 28 00 00 00 */ cmplwi r0, 0 +/* 8031CAAC 00319A0C 41 82 00 14 */ beq lbl_8031CAC0 +/* 8031CAB0 00319A10 38 61 00 94 */ addi r3, r1, 0x94 +/* 8031CAB4 00319A14 38 80 00 00 */ li r4, 0 +/* 8031CAB8 00319A18 48 02 43 89 */ bl __dt__6CTokenFv +/* 8031CABC 00319A1C 48 00 00 94 */ b lbl_8031CB50 +lbl_8031CAC0: +/* 8031CAC0 00319A20 38 61 00 44 */ addi r3, r1, 0x44 +/* 8031CAC4 00319A24 38 81 00 94 */ addi r4, r1, 0x94 +/* 8031CAC8 00319A28 48 02 43 E1 */ bl __ct__6CTokenFRC6CToken +/* 8031CACC 00319A2C 7F E3 FB 78 */ mr r3, r31 +/* 8031CAD0 00319A30 38 81 00 44 */ addi r4, r1, 0x44 +/* 8031CAD4 00319A34 48 00 09 C5 */ bl "ConstructChildParticleSystem__11CElementGenCF25TToken<15CGenDescription>" +/* 8031CAD8 00319A38 80 1F 02 94 */ lwz r0, 0x294(r31) +/* 8031CADC 00319A3C 7C 78 1B 78 */ mr r24, r3 +/* 8031CAE0 00319A40 80 BF 02 98 */ lwz r5, 0x298(r31) +/* 8031CAE4 00319A44 7C 00 28 00 */ cmpw r0, r5 +/* 8031CAE8 00319A48 41 80 00 1C */ blt lbl_8031CB04 +/* 8031CAEC 00319A4C 2C 05 00 00 */ cmpwi r5, 0 +/* 8031CAF0 00319A50 38 7F 02 90 */ addi r3, r31, 0x290 +/* 8031CAF4 00319A54 38 80 00 04 */ li r4, 4 +/* 8031CAF8 00319A58 41 82 00 08 */ beq lbl_8031CB00 +/* 8031CAFC 00319A5C 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8031CB00: +/* 8031CB00 00319A60 48 00 3C 41 */ bl sub_80320740 +lbl_8031CB04: +/* 8031CB04 00319A64 80 1F 02 94 */ lwz r0, 0x294(r31) +/* 8031CB08 00319A68 80 7F 02 9C */ lwz r3, 0x29c(r31) +/* 8031CB0C 00319A6C 54 00 10 3A */ slwi r0, r0, 2 +/* 8031CB10 00319A70 7C 63 02 15 */ add. r3, r3, r0 +/* 8031CB14 00319A74 41 82 00 08 */ beq lbl_8031CB1C +/* 8031CB18 00319A78 93 03 00 00 */ stw r24, 0(r3) +lbl_8031CB1C: +/* 8031CB1C 00319A7C 80 BF 02 94 */ lwz r5, 0x294(r31) +/* 8031CB20 00319A80 38 61 00 44 */ addi r3, r1, 0x44 +/* 8031CB24 00319A84 38 80 00 00 */ li r4, 0 +/* 8031CB28 00319A88 38 05 00 01 */ addi r0, r5, 1 +/* 8031CB2C 00319A8C 90 1F 02 94 */ stw r0, 0x294(r31) +/* 8031CB30 00319A90 48 02 43 11 */ bl __dt__6CTokenFv +/* 8031CB34 00319A94 38 61 00 94 */ addi r3, r1, 0x94 +/* 8031CB38 00319A98 38 80 00 00 */ li r4, 0 +/* 8031CB3C 00319A9C 48 02 43 05 */ bl __dt__6CTokenFv +/* 8031CB40 00319AA0 3B 7B 00 01 */ addi r27, r27, 1 +lbl_8031CB44: +/* 8031CB44 00319AA4 80 01 00 18 */ lwz r0, 0x18(r1) +/* 8031CB48 00319AA8 7C 1B 00 00 */ cmpw r27, r0 +/* 8031CB4C 00319AAC 41 80 FF 28 */ blt lbl_8031CA74 +lbl_8031CB50: +/* 8031CB50 00319AB0 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031CB54 00319AB4 38 83 00 A4 */ addi r4, r3, 0xa4 +/* 8031CB58 00319AB8 88 03 00 B0 */ lbz r0, 0xb0(r3) +/* 8031CB5C 00319ABC 28 00 00 00 */ cmplwi r0, 0 +/* 8031CB60 00319AC0 41 82 01 18 */ beq lbl_8031CC78 +/* 8031CB64 00319AC4 80 1F 00 84 */ lwz r0, 0x84(r31) +/* 8031CB68 00319AC8 80 BF 00 74 */ lwz r5, 0x74(r31) +/* 8031CB6C 00319ACC 7C 00 28 00 */ cmpw r0, r5 +/* 8031CB70 00319AD0 41 82 01 08 */ beq lbl_8031CC78 +/* 8031CB74 00319AD4 80 1F 02 68 */ lwz r0, 0x268(r31) +/* 8031CB78 00319AD8 7C 05 00 00 */ cmpw r5, r0 +/* 8031CB7C 00319ADC 40 80 00 FC */ bge lbl_8031CC78 +/* 8031CB80 00319AE0 88 1F 00 88 */ lbz r0, 0x88(r31) +/* 8031CB84 00319AE4 28 00 00 01 */ cmplwi r0, 1 +/* 8031CB88 00319AE8 40 82 00 F0 */ bne lbl_8031CC78 +/* 8031CB8C 00319AEC 80 1F 02 A4 */ lwz r0, 0x2a4(r31) +/* 8031CB90 00319AF0 7C 05 00 00 */ cmpw r5, r0 +/* 8031CB94 00319AF4 41 80 00 E4 */ blt lbl_8031CC78 +/* 8031CB98 00319AF8 80 7F 02 A8 */ lwz r3, 0x2a8(r31) +/* 8031CB9C 00319AFC 7C A0 28 50 */ subf r5, r0, r5 +/* 8031CBA0 00319B00 7C 05 1B D6 */ divw r0, r5, r3 +/* 8031CBA4 00319B04 7C 00 19 D6 */ mullw r0, r0, r3 +/* 8031CBA8 00319B08 7C 00 28 51 */ subf. r0, r0, r5 +/* 8031CBAC 00319B0C 40 82 00 CC */ bne lbl_8031CC78 +/* 8031CBB0 00319B10 3B 01 00 88 */ addi r24, r1, 0x88 +/* 8031CBB4 00319B14 7F 03 C3 78 */ mr r3, r24 +/* 8031CBB8 00319B18 48 02 42 F1 */ bl __ct__6CTokenFRC6CToken +/* 8031CBBC 00319B1C 7F 03 C3 78 */ mr r3, r24 +/* 8031CBC0 00319B20 48 02 42 4D */ bl GetObj__6CTokenFv +/* 8031CBC4 00319B24 80 63 00 04 */ lwz r3, 4(r3) +/* 8031CBC8 00319B28 90 61 00 90 */ stw r3, 0x90(r1) +/* 8031CBCC 00319B2C 88 1F 02 6D */ lbz r0, 0x26d(r31) +/* 8031CBD0 00319B30 88 63 00 32 */ lbz r3, 0x32(r3) +/* 8031CBD4 00319B34 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 8031CBD8 00319B38 54 60 D7 FE */ rlwinm r0, r3, 0x1a, 0x1f, 0x1f +/* 8031CBDC 00319B3C 41 82 00 0C */ beq lbl_8031CBE8 +/* 8031CBE0 00319B40 28 00 00 00 */ cmplwi r0, 0 +/* 8031CBE4 00319B44 40 82 00 88 */ bne lbl_8031CC6C +lbl_8031CBE8: +/* 8031CBE8 00319B48 80 9F 02 94 */ lwz r4, 0x294(r31) +/* 8031CBEC 00319B4C 38 7F 02 90 */ addi r3, r31, 0x290 +/* 8031CBF0 00319B50 38 84 00 01 */ addi r4, r4, 1 +/* 8031CBF4 00319B54 48 00 3B 4D */ bl sub_80320740 +/* 8031CBF8 00319B58 38 61 00 3C */ addi r3, r1, 0x3c +/* 8031CBFC 00319B5C 38 81 00 88 */ addi r4, r1, 0x88 +/* 8031CC00 00319B60 48 02 42 A9 */ bl __ct__6CTokenFRC6CToken +/* 8031CC04 00319B64 7F E3 FB 78 */ mr r3, r31 +/* 8031CC08 00319B68 38 81 00 3C */ addi r4, r1, 0x3c +/* 8031CC0C 00319B6C 48 00 08 8D */ bl "ConstructChildParticleSystem__11CElementGenCF25TToken<15CGenDescription>" +/* 8031CC10 00319B70 80 1F 02 94 */ lwz r0, 0x294(r31) +/* 8031CC14 00319B74 7C 78 1B 78 */ mr r24, r3 +/* 8031CC18 00319B78 80 BF 02 98 */ lwz r5, 0x298(r31) +/* 8031CC1C 00319B7C 7C 00 28 00 */ cmpw r0, r5 +/* 8031CC20 00319B80 41 80 00 1C */ blt lbl_8031CC3C +/* 8031CC24 00319B84 2C 05 00 00 */ cmpwi r5, 0 +/* 8031CC28 00319B88 38 7F 02 90 */ addi r3, r31, 0x290 +/* 8031CC2C 00319B8C 38 80 00 04 */ li r4, 4 +/* 8031CC30 00319B90 41 82 00 08 */ beq lbl_8031CC38 +/* 8031CC34 00319B94 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8031CC38: +/* 8031CC38 00319B98 48 00 3B 09 */ bl sub_80320740 +lbl_8031CC3C: +/* 8031CC3C 00319B9C 80 1F 02 94 */ lwz r0, 0x294(r31) +/* 8031CC40 00319BA0 80 7F 02 9C */ lwz r3, 0x29c(r31) +/* 8031CC44 00319BA4 54 00 10 3A */ slwi r0, r0, 2 +/* 8031CC48 00319BA8 7C 63 02 15 */ add. r3, r3, r0 +/* 8031CC4C 00319BAC 41 82 00 08 */ beq lbl_8031CC54 +/* 8031CC50 00319BB0 93 03 00 00 */ stw r24, 0(r3) +lbl_8031CC54: +/* 8031CC54 00319BB4 80 BF 02 94 */ lwz r5, 0x294(r31) +/* 8031CC58 00319BB8 38 61 00 3C */ addi r3, r1, 0x3c +/* 8031CC5C 00319BBC 38 80 00 00 */ li r4, 0 +/* 8031CC60 00319BC0 38 05 00 01 */ addi r0, r5, 1 +/* 8031CC64 00319BC4 90 1F 02 94 */ stw r0, 0x294(r31) +/* 8031CC68 00319BC8 48 02 41 D9 */ bl __dt__6CTokenFv +lbl_8031CC6C: +/* 8031CC6C 00319BCC 38 61 00 88 */ addi r3, r1, 0x88 +/* 8031CC70 00319BD0 38 80 00 00 */ li r4, 0 +/* 8031CC74 00319BD4 48 02 41 CD */ bl __dt__6CTokenFv +lbl_8031CC78: +/* 8031CC78 00319BD8 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031CC7C 00319BDC 80 63 00 BC */ lwz r3, 0xbc(r3) +/* 8031CC80 00319BE0 28 03 00 00 */ cmplwi r3, 0 +/* 8031CC84 00319BE4 41 82 01 70 */ beq lbl_8031CDF4 +/* 8031CC88 00319BE8 80 1F 00 84 */ lwz r0, 0x84(r31) +/* 8031CC8C 00319BEC 80 9F 00 74 */ lwz r4, 0x74(r31) +/* 8031CC90 00319BF0 7C 00 20 00 */ cmpw r0, r4 +/* 8031CC94 00319BF4 41 82 01 60 */ beq lbl_8031CDF4 +/* 8031CC98 00319BF8 80 1F 02 68 */ lwz r0, 0x268(r31) +/* 8031CC9C 00319BFC 7C 04 00 00 */ cmpw r4, r0 +/* 8031CCA0 00319C00 40 80 01 54 */ bge lbl_8031CDF4 +/* 8031CCA4 00319C04 A3 AD 9C F8 */ lhz r29, lbl_805A88B8@sda21(r13) +/* 8031CCA8 00319C08 48 01 68 5D */ bl sub_80333504 +/* 8031CCAC 00319C0C 7C 7E 1B 78 */ mr r30, r3 +/* 8031CCB0 00319C10 80 1F 02 94 */ lwz r0, 0x294(r31) +/* 8031CCB4 00319C14 80 83 00 04 */ lwz r4, 4(r3) +/* 8031CCB8 00319C18 38 7F 02 90 */ addi r3, r31, 0x290 +/* 8031CCBC 00319C1C 7C 84 02 14 */ add r4, r4, r0 +/* 8031CCC0 00319C20 48 00 3A 81 */ bl sub_80320740 +/* 8031CCC4 00319C24 57 BB 04 3E */ clrlwi r27, r29, 0x10 +/* 8031CCC8 00319C28 3B 21 00 7C */ addi r25, r1, 0x7c +/* 8031CCCC 00319C2C 3B 40 00 00 */ li r26, 0 +/* 8031CCD0 00319C30 3B 80 00 00 */ li r28, 0 +/* 8031CCD4 00319C34 48 00 01 10 */ b lbl_8031CDE4 +lbl_8031CCD8: +/* 8031CCD8 00319C38 80 1E 00 0C */ lwz r0, 0xc(r30) +/* 8031CCDC 00319C3C 38 61 00 64 */ addi r3, r1, 0x64 +/* 8031CCE0 00319C40 7C 80 E2 14 */ add r4, r0, r28 +/* 8031CCE4 00319C44 48 00 07 75 */ bl sub_8031d458 +/* 8031CCE8 00319C48 7F 23 CB 78 */ mr r3, r25 +/* 8031CCEC 00319C4C 38 81 00 64 */ addi r4, r1, 0x64 +/* 8031CCF0 00319C50 48 02 41 B9 */ bl __ct__6CTokenFRC6CToken +/* 8031CCF4 00319C54 7F 23 CB 78 */ mr r3, r25 +/* 8031CCF8 00319C58 48 02 41 15 */ bl GetObj__6CTokenFv +/* 8031CCFC 00319C5C 88 01 00 6C */ lbz r0, 0x6c(r1) +/* 8031CD00 00319C60 80 63 00 04 */ lwz r3, 4(r3) +/* 8031CD04 00319C64 28 00 00 00 */ cmplwi r0, 0 +/* 8031CD08 00319C68 90 61 00 84 */ stw r3, 0x84(r1) +/* 8031CD0C 00319C6C 41 82 00 10 */ beq lbl_8031CD1C +/* 8031CD10 00319C70 38 61 00 64 */ addi r3, r1, 0x64 +/* 8031CD14 00319C74 38 80 FF FF */ li r4, -1 +/* 8031CD18 00319C78 48 02 41 29 */ bl __dt__6CTokenFv +lbl_8031CD1C: +/* 8031CD1C 00319C7C 38 00 00 00 */ li r0, 0 +/* 8031CD20 00319C80 80 61 00 84 */ lwz r3, 0x84(r1) +/* 8031CD24 00319C84 98 01 00 6C */ stb r0, 0x6c(r1) +/* 8031CD28 00319C88 88 1F 02 6D */ lbz r0, 0x26d(r31) +/* 8031CD2C 00319C8C 88 63 00 32 */ lbz r3, 0x32(r3) +/* 8031CD30 00319C90 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 8031CD34 00319C94 54 60 D7 FE */ rlwinm r0, r3, 0x1a, 0x1f, 0x1f +/* 8031CD38 00319C98 41 82 00 1C */ beq lbl_8031CD54 +/* 8031CD3C 00319C9C 28 00 00 00 */ cmplwi r0, 0 +/* 8031CD40 00319CA0 41 82 00 14 */ beq lbl_8031CD54 +/* 8031CD44 00319CA4 38 61 00 7C */ addi r3, r1, 0x7c +/* 8031CD48 00319CA8 38 80 00 00 */ li r4, 0 +/* 8031CD4C 00319CAC 48 02 40 F5 */ bl __dt__6CTokenFv +/* 8031CD50 00319CB0 48 00 00 88 */ b lbl_8031CDD8 +lbl_8031CD54: +/* 8031CD54 00319CB4 B3 6D 9C F8 */ sth r27, lbl_805A88B8@sda21(r13) +/* 8031CD58 00319CB8 38 61 00 34 */ addi r3, r1, 0x34 +/* 8031CD5C 00319CBC 38 81 00 7C */ addi r4, r1, 0x7c +/* 8031CD60 00319CC0 48 02 41 49 */ bl __ct__6CTokenFRC6CToken +/* 8031CD64 00319CC4 7F E3 FB 78 */ mr r3, r31 +/* 8031CD68 00319CC8 38 81 00 34 */ addi r4, r1, 0x34 +/* 8031CD6C 00319CCC 48 00 07 2D */ bl "ConstructChildParticleSystem__11CElementGenCF25TToken<15CGenDescription>" +/* 8031CD70 00319CD0 80 1F 02 94 */ lwz r0, 0x294(r31) +/* 8031CD74 00319CD4 7C 78 1B 78 */ mr r24, r3 +/* 8031CD78 00319CD8 80 BF 02 98 */ lwz r5, 0x298(r31) +/* 8031CD7C 00319CDC 7C 00 28 00 */ cmpw r0, r5 +/* 8031CD80 00319CE0 41 80 00 1C */ blt lbl_8031CD9C +/* 8031CD84 00319CE4 2C 05 00 00 */ cmpwi r5, 0 +/* 8031CD88 00319CE8 38 7F 02 90 */ addi r3, r31, 0x290 +/* 8031CD8C 00319CEC 38 80 00 04 */ li r4, 4 +/* 8031CD90 00319CF0 41 82 00 08 */ beq lbl_8031CD98 +/* 8031CD94 00319CF4 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8031CD98: +/* 8031CD98 00319CF8 48 00 39 A9 */ bl sub_80320740 +lbl_8031CD9C: +/* 8031CD9C 00319CFC 80 1F 02 94 */ lwz r0, 0x294(r31) +/* 8031CDA0 00319D00 80 7F 02 9C */ lwz r3, 0x29c(r31) +/* 8031CDA4 00319D04 54 00 10 3A */ slwi r0, r0, 2 +/* 8031CDA8 00319D08 7C 63 02 15 */ add. r3, r3, r0 +/* 8031CDAC 00319D0C 41 82 00 08 */ beq lbl_8031CDB4 +/* 8031CDB0 00319D10 93 03 00 00 */ stw r24, 0(r3) +lbl_8031CDB4: +/* 8031CDB4 00319D14 80 BF 02 94 */ lwz r5, 0x294(r31) +/* 8031CDB8 00319D18 38 61 00 34 */ addi r3, r1, 0x34 +/* 8031CDBC 00319D1C 38 80 00 00 */ li r4, 0 +/* 8031CDC0 00319D20 38 05 00 01 */ addi r0, r5, 1 +/* 8031CDC4 00319D24 90 1F 02 94 */ stw r0, 0x294(r31) +/* 8031CDC8 00319D28 48 02 40 79 */ bl __dt__6CTokenFv +/* 8031CDCC 00319D2C 38 61 00 7C */ addi r3, r1, 0x7c +/* 8031CDD0 00319D30 38 80 00 00 */ li r4, 0 +/* 8031CDD4 00319D34 48 02 40 6D */ bl __dt__6CTokenFv +lbl_8031CDD8: +/* 8031CDD8 00319D38 3B 9C 00 1C */ addi r28, r28, 0x1c +/* 8031CDDC 00319D3C 3B 7B 00 01 */ addi r27, r27, 1 +/* 8031CDE0 00319D40 3B 5A 00 01 */ addi r26, r26, 1 +lbl_8031CDE4: +/* 8031CDE4 00319D44 80 1E 00 04 */ lwz r0, 4(r30) +/* 8031CDE8 00319D48 7C 1A 00 00 */ cmpw r26, r0 +/* 8031CDEC 00319D4C 41 80 FE EC */ blt lbl_8031CCD8 +/* 8031CDF0 00319D50 B3 AD 9C F8 */ sth r29, lbl_805A88B8@sda21(r13) +lbl_8031CDF4: +/* 8031CDF4 00319D54 80 7F 00 74 */ lwz r3, 0x74(r31) +/* 8031CDF8 00319D58 80 1F 02 68 */ lwz r0, 0x268(r31) +/* 8031CDFC 00319D5C 7C 03 00 00 */ cmpw r3, r0 +/* 8031CE00 00319D60 40 82 01 4C */ bne lbl_8031CF4C +/* 8031CE04 00319D64 80 1F 00 84 */ lwz r0, 0x84(r31) +/* 8031CE08 00319D68 7C 00 18 00 */ cmpw r0, r3 +/* 8031CE0C 00319D6C 41 82 01 40 */ beq lbl_8031CF4C +/* 8031CE10 00319D70 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031CE14 00319D74 88 03 00 9C */ lbz r0, 0x9c(r3) +/* 8031CE18 00319D78 28 00 00 00 */ cmplwi r0, 0 +/* 8031CE1C 00319D7C 41 82 01 30 */ beq lbl_8031CF4C +/* 8031CE20 00319D80 38 00 00 01 */ li r0, 1 +/* 8031CE24 00319D84 90 01 00 14 */ stw r0, 0x14(r1) +/* 8031CE28 00319D88 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031CE2C 00319D8C 80 63 00 A0 */ lwz r3, 0xa0(r3) +/* 8031CE30 00319D90 28 03 00 00 */ cmplwi r3, 0 +/* 8031CE34 00319D94 41 82 00 1C */ beq lbl_8031CE50 +/* 8031CE38 00319D98 81 83 00 00 */ lwz r12, 0(r3) +/* 8031CE3C 00319D9C 38 A1 00 14 */ addi r5, r1, 0x14 +/* 8031CE40 00319DA0 38 80 00 00 */ li r4, 0 +/* 8031CE44 00319DA4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031CE48 00319DA8 7D 89 03 A6 */ mtctr r12 +/* 8031CE4C 00319DAC 4E 80 04 21 */ bctrl +lbl_8031CE50: +/* 8031CE50 00319DB0 80 81 00 14 */ lwz r4, 0x14(r1) +/* 8031CE54 00319DB4 38 7F 02 90 */ addi r3, r31, 0x290 +/* 8031CE58 00319DB8 80 1F 02 94 */ lwz r0, 0x294(r31) +/* 8031CE5C 00319DBC 7C 84 02 14 */ add r4, r4, r0 +/* 8031CE60 00319DC0 48 00 38 E1 */ bl sub_80320740 +/* 8031CE64 00319DC4 3B 21 00 70 */ addi r25, r1, 0x70 +/* 8031CE68 00319DC8 3B 40 00 00 */ li r26, 0 +/* 8031CE6C 00319DCC 48 00 00 D4 */ b lbl_8031CF40 +lbl_8031CE70: +/* 8031CE70 00319DD0 80 9F 00 28 */ lwz r4, 0x28(r31) +/* 8031CE74 00319DD4 7F 23 CB 78 */ mr r3, r25 +/* 8031CE78 00319DD8 38 84 00 90 */ addi r4, r4, 0x90 +/* 8031CE7C 00319DDC 48 02 40 2D */ bl __ct__6CTokenFRC6CToken +/* 8031CE80 00319DE0 7F 23 CB 78 */ mr r3, r25 +/* 8031CE84 00319DE4 48 02 3F 89 */ bl GetObj__6CTokenFv +/* 8031CE88 00319DE8 80 63 00 04 */ lwz r3, 4(r3) +/* 8031CE8C 00319DEC 90 61 00 78 */ stw r3, 0x78(r1) +/* 8031CE90 00319DF0 88 1F 02 6D */ lbz r0, 0x26d(r31) +/* 8031CE94 00319DF4 88 63 00 32 */ lbz r3, 0x32(r3) +/* 8031CE98 00319DF8 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 8031CE9C 00319DFC 54 60 D7 FE */ rlwinm r0, r3, 0x1a, 0x1f, 0x1f +/* 8031CEA0 00319E00 41 82 00 1C */ beq lbl_8031CEBC +/* 8031CEA4 00319E04 28 00 00 00 */ cmplwi r0, 0 +/* 8031CEA8 00319E08 41 82 00 14 */ beq lbl_8031CEBC +/* 8031CEAC 00319E0C 38 61 00 70 */ addi r3, r1, 0x70 +/* 8031CEB0 00319E10 38 80 00 00 */ li r4, 0 +/* 8031CEB4 00319E14 48 02 3F 8D */ bl __dt__6CTokenFv +/* 8031CEB8 00319E18 48 00 00 94 */ b lbl_8031CF4C +lbl_8031CEBC: +/* 8031CEBC 00319E1C 38 61 00 2C */ addi r3, r1, 0x2c +/* 8031CEC0 00319E20 38 81 00 70 */ addi r4, r1, 0x70 +/* 8031CEC4 00319E24 48 02 3F E5 */ bl __ct__6CTokenFRC6CToken +/* 8031CEC8 00319E28 7F E3 FB 78 */ mr r3, r31 +/* 8031CECC 00319E2C 38 81 00 2C */ addi r4, r1, 0x2c +/* 8031CED0 00319E30 48 00 05 C9 */ bl "ConstructChildParticleSystem__11CElementGenCF25TToken<15CGenDescription>" +/* 8031CED4 00319E34 80 1F 02 94 */ lwz r0, 0x294(r31) +/* 8031CED8 00319E38 7C 7B 1B 78 */ mr r27, r3 +/* 8031CEDC 00319E3C 80 BF 02 98 */ lwz r5, 0x298(r31) +/* 8031CEE0 00319E40 7C 00 28 00 */ cmpw r0, r5 +/* 8031CEE4 00319E44 41 80 00 1C */ blt lbl_8031CF00 +/* 8031CEE8 00319E48 2C 05 00 00 */ cmpwi r5, 0 +/* 8031CEEC 00319E4C 38 7F 02 90 */ addi r3, r31, 0x290 +/* 8031CEF0 00319E50 38 80 00 04 */ li r4, 4 +/* 8031CEF4 00319E54 41 82 00 08 */ beq lbl_8031CEFC +/* 8031CEF8 00319E58 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8031CEFC: +/* 8031CEFC 00319E5C 48 00 38 45 */ bl sub_80320740 +lbl_8031CF00: +/* 8031CF00 00319E60 80 1F 02 94 */ lwz r0, 0x294(r31) +/* 8031CF04 00319E64 80 7F 02 9C */ lwz r3, 0x29c(r31) +/* 8031CF08 00319E68 54 00 10 3A */ slwi r0, r0, 2 +/* 8031CF0C 00319E6C 7C 63 02 15 */ add. r3, r3, r0 +/* 8031CF10 00319E70 41 82 00 08 */ beq lbl_8031CF18 +/* 8031CF14 00319E74 93 63 00 00 */ stw r27, 0(r3) +lbl_8031CF18: +/* 8031CF18 00319E78 80 BF 02 94 */ lwz r5, 0x294(r31) +/* 8031CF1C 00319E7C 38 61 00 2C */ addi r3, r1, 0x2c +/* 8031CF20 00319E80 38 80 00 00 */ li r4, 0 +/* 8031CF24 00319E84 38 05 00 01 */ addi r0, r5, 1 +/* 8031CF28 00319E88 90 1F 02 94 */ stw r0, 0x294(r31) +/* 8031CF2C 00319E8C 48 02 3F 15 */ bl __dt__6CTokenFv +/* 8031CF30 00319E90 38 61 00 70 */ addi r3, r1, 0x70 +/* 8031CF34 00319E94 38 80 00 00 */ li r4, 0 +/* 8031CF38 00319E98 48 02 3F 09 */ bl __dt__6CTokenFv +/* 8031CF3C 00319E9C 3B 5A 00 01 */ addi r26, r26, 1 +lbl_8031CF40: +/* 8031CF40 00319EA0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8031CF44 00319EA4 7C 1A 00 00 */ cmpw r26, r0 +/* 8031CF48 00319EA8 41 80 FF 28 */ blt lbl_8031CE70 +lbl_8031CF4C: +/* 8031CF4C 00319EAC 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031CF50 00319EB0 88 03 00 CC */ lbz r0, 0xcc(r3) +/* 8031CF54 00319EB4 28 00 00 00 */ cmplwi r0, 0 +/* 8031CF58 00319EB8 41 82 01 98 */ beq lbl_8031D0F0 +/* 8031CF5C 00319EBC 80 1F 00 84 */ lwz r0, 0x84(r31) +/* 8031CF60 00319EC0 80 7F 00 74 */ lwz r3, 0x74(r31) +/* 8031CF64 00319EC4 7C 00 18 00 */ cmpw r0, r3 +/* 8031CF68 00319EC8 41 82 01 88 */ beq lbl_8031D0F0 +/* 8031CF6C 00319ECC 80 1F 02 AC */ lwz r0, 0x2ac(r31) +/* 8031CF70 00319ED0 7C 03 00 00 */ cmpw r3, r0 +/* 8031CF74 00319ED4 40 82 01 7C */ bne lbl_8031D0F0 +/* 8031CF78 00319ED8 3C 60 80 3D */ lis r3, lbl_803D7910@ha +/* 8031CF7C 00319EDC 3B 20 00 00 */ li r25, 0 +/* 8031CF80 00319EE0 38 83 79 10 */ addi r4, r3, lbl_803D7910@l +/* 8031CF84 00319EE4 38 A0 00 00 */ li r5, 0 +/* 8031CF88 00319EE8 38 60 02 10 */ li r3, 0x210 +/* 8031CF8C 00319EEC 4B FF 88 E1 */ bl __nw__FUlPCcPCc +/* 8031CF90 00319EF0 7C 78 1B 79 */ or. r24, r3, r3 +/* 8031CF94 00319EF4 41 82 00 2C */ beq lbl_8031CFC0 +/* 8031CF98 00319EF8 80 9F 00 28 */ lwz r4, 0x28(r31) +/* 8031CF9C 00319EFC 38 61 00 24 */ addi r3, r1, 0x24 +/* 8031CFA0 00319F00 38 84 00 C0 */ addi r4, r4, 0xc0 +/* 8031CFA4 00319F04 48 02 3F 05 */ bl __ct__6CTokenFRC6CToken +/* 8031CFA8 00319F08 7F 03 C3 78 */ mr r3, r24 +/* 8031CFAC 00319F0C 38 81 00 24 */ addi r4, r1, 0x24 +/* 8031CFB0 00319F10 3B 20 00 01 */ li r25, 1 +/* 8031CFB4 00319F14 38 A0 00 00 */ li r5, 0 +/* 8031CFB8 00319F18 48 01 1E 2D */ bl "__ct__15CParticleSwooshF28TToken<18CSwooshDescription>i" +/* 8031CFBC 00319F1C 7C 78 1B 78 */ mr r24, r3 +lbl_8031CFC0: +/* 8031CFC0 00319F20 7F 20 07 75 */ extsb. r0, r25 +/* 8031CFC4 00319F24 41 82 00 10 */ beq lbl_8031CFD4 +/* 8031CFC8 00319F28 38 61 00 24 */ addi r3, r1, 0x24 +/* 8031CFCC 00319F2C 38 80 00 00 */ li r4, 0 +/* 8031CFD0 00319F30 48 02 3E 71 */ bl __dt__6CTokenFv +lbl_8031CFD4: +/* 8031CFD4 00319F34 7F 03 C3 78 */ mr r3, r24 +/* 8031CFD8 00319F38 38 9F 00 E8 */ addi r4, r31, 0xe8 +/* 8031CFDC 00319F3C 81 98 00 00 */ lwz r12, 0(r24) +/* 8031CFE0 00319F40 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 8031CFE4 00319F44 7D 89 03 A6 */ mtctr r12 +/* 8031CFE8 00319F48 4E 80 04 21 */ bctrl +/* 8031CFEC 00319F4C 7F 03 C3 78 */ mr r3, r24 +/* 8031CFF0 00319F50 38 9F 01 00 */ addi r4, r31, 0x100 +/* 8031CFF4 00319F54 81 98 00 00 */ lwz r12, 0(r24) +/* 8031CFF8 00319F58 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 8031CFFC 00319F5C 7D 89 03 A6 */ mtctr r12 +/* 8031D000 00319F60 4E 80 04 21 */ bctrl +/* 8031D004 00319F64 7F 03 C3 78 */ mr r3, r24 +/* 8031D008 00319F68 38 9F 01 6C */ addi r4, r31, 0x16c +/* 8031D00C 00319F6C 81 98 00 00 */ lwz r12, 0(r24) +/* 8031D010 00319F70 81 8C 00 28 */ lwz r12, 0x28(r12) +/* 8031D014 00319F74 7D 89 03 A6 */ mtctr r12 +/* 8031D018 00319F78 4E 80 04 21 */ bctrl +/* 8031D01C 00319F7C C0 3F 00 E0 */ lfs f1, 0xe0(r31) +/* 8031D020 00319F80 7F 03 C3 78 */ mr r3, r24 +/* 8031D024 00319F84 C0 1F 02 B4 */ lfs f0, 0x2b4(r31) +/* 8031D028 00319F88 38 81 00 58 */ addi r4, r1, 0x58 +/* 8031D02C 00319F8C C0 7F 00 E4 */ lfs f3, 0xe4(r31) +/* 8031D030 00319F90 C0 5F 02 B8 */ lfs f2, 0x2b8(r31) +/* 8031D034 00319F94 EC 81 00 2A */ fadds f4, f1, f0 +/* 8031D038 00319F98 C0 3F 00 DC */ lfs f1, 0xdc(r31) +/* 8031D03C 00319F9C C0 1F 02 B0 */ lfs f0, 0x2b0(r31) +/* 8031D040 00319FA0 EC 43 10 2A */ fadds f2, f3, f2 +/* 8031D044 00319FA4 EC 01 00 2A */ fadds f0, f1, f0 +/* 8031D048 00319FA8 D0 81 00 5C */ stfs f4, 0x5c(r1) +/* 8031D04C 00319FAC D0 41 00 60 */ stfs f2, 0x60(r1) +/* 8031D050 00319FB0 D0 01 00 58 */ stfs f0, 0x58(r1) +/* 8031D054 00319FB4 81 98 00 00 */ lwz r12, 0(r24) +/* 8031D058 00319FB8 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 8031D05C 00319FBC 7D 89 03 A6 */ mtctr r12 +/* 8031D060 00319FC0 4E 80 04 21 */ bctrl +/* 8031D064 00319FC4 7F 03 C3 78 */ mr r3, r24 +/* 8031D068 00319FC8 38 9F 01 D8 */ addi r4, r31, 0x1d8 +/* 8031D06C 00319FCC 81 98 00 00 */ lwz r12, 0(r24) +/* 8031D070 00319FD0 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 8031D074 00319FD4 7D 89 03 A6 */ mtctr r12 +/* 8031D078 00319FD8 4E 80 04 21 */ bctrl +/* 8031D07C 00319FDC 81 98 00 00 */ lwz r12, 0(r24) +/* 8031D080 00319FE0 7F 03 C3 78 */ mr r3, r24 +/* 8031D084 00319FE4 88 9F 00 88 */ lbz r4, 0x88(r31) +/* 8031D088 00319FE8 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 8031D08C 00319FEC 7D 89 03 A6 */ mtctr r12 +/* 8031D090 00319FF0 4E 80 04 21 */ bctrl +/* 8031D094 00319FF4 80 9F 02 94 */ lwz r4, 0x294(r31) +/* 8031D098 00319FF8 38 7F 02 90 */ addi r3, r31, 0x290 +/* 8031D09C 00319FFC 38 84 00 01 */ addi r4, r4, 1 +/* 8031D0A0 0031A000 48 00 36 A1 */ bl sub_80320740 +/* 8031D0A4 0031A004 80 1F 02 94 */ lwz r0, 0x294(r31) +/* 8031D0A8 0031A008 80 BF 02 98 */ lwz r5, 0x298(r31) +/* 8031D0AC 0031A00C 7C 00 28 00 */ cmpw r0, r5 +/* 8031D0B0 0031A010 41 80 00 1C */ blt lbl_8031D0CC +/* 8031D0B4 0031A014 2C 05 00 00 */ cmpwi r5, 0 +/* 8031D0B8 0031A018 38 7F 02 90 */ addi r3, r31, 0x290 +/* 8031D0BC 0031A01C 38 80 00 04 */ li r4, 4 +/* 8031D0C0 0031A020 41 82 00 08 */ beq lbl_8031D0C8 +/* 8031D0C4 0031A024 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8031D0C8: +/* 8031D0C8 0031A028 48 00 36 79 */ bl sub_80320740 +lbl_8031D0CC: +/* 8031D0CC 0031A02C 80 1F 02 94 */ lwz r0, 0x294(r31) +/* 8031D0D0 0031A030 80 7F 02 9C */ lwz r3, 0x29c(r31) +/* 8031D0D4 0031A034 54 00 10 3A */ slwi r0, r0, 2 +/* 8031D0D8 0031A038 7C 63 02 15 */ add. r3, r3, r0 +/* 8031D0DC 0031A03C 41 82 00 08 */ beq lbl_8031D0E4 +/* 8031D0E0 0031A040 93 03 00 00 */ stw r24, 0(r3) +lbl_8031D0E4: +/* 8031D0E4 0031A044 80 7F 02 94 */ lwz r3, 0x294(r31) +/* 8031D0E8 0031A048 38 03 00 01 */ addi r0, r3, 1 +/* 8031D0EC 0031A04C 90 1F 02 94 */ stw r0, 0x294(r31) +lbl_8031D0F0: +/* 8031D0F0 0031A050 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031D0F4 0031A054 88 03 00 E0 */ lbz r0, 0xe0(r3) +/* 8031D0F8 0031A058 28 00 00 00 */ cmplwi r0, 0 +/* 8031D0FC 0031A05C 41 82 01 94 */ beq lbl_8031D290 +/* 8031D100 0031A060 80 1F 00 84 */ lwz r0, 0x84(r31) +/* 8031D104 0031A064 80 7F 00 74 */ lwz r3, 0x74(r31) +/* 8031D108 0031A068 7C 00 18 00 */ cmpw r0, r3 +/* 8031D10C 0031A06C 41 82 01 84 */ beq lbl_8031D290 +/* 8031D110 0031A070 80 1F 02 BC */ lwz r0, 0x2bc(r31) +/* 8031D114 0031A074 7C 03 00 00 */ cmpw r3, r0 +/* 8031D118 0031A078 40 82 01 78 */ bne lbl_8031D290 +/* 8031D11C 0031A07C 3C 60 80 3D */ lis r3, lbl_803D7910@ha +/* 8031D120 0031A080 3B 20 00 00 */ li r25, 0 +/* 8031D124 0031A084 38 83 79 10 */ addi r4, r3, lbl_803D7910@l +/* 8031D128 0031A088 38 A0 00 00 */ li r5, 0 +/* 8031D12C 0031A08C 38 60 04 58 */ li r3, 0x458 +/* 8031D130 0031A090 4B FF 87 3D */ bl __nw__FUlPCcPCc +/* 8031D134 0031A094 7C 78 1B 79 */ or. r24, r3, r3 +/* 8031D138 0031A098 41 82 00 28 */ beq lbl_8031D160 +/* 8031D13C 0031A09C 80 9F 00 28 */ lwz r4, 0x28(r31) +/* 8031D140 0031A0A0 38 61 00 1C */ addi r3, r1, 0x1c +/* 8031D144 0031A0A4 38 84 00 D8 */ addi r4, r4, 0xd8 +/* 8031D148 0031A0A8 48 02 3D 61 */ bl __ct__6CTokenFRC6CToken +/* 8031D14C 0031A0AC 7F 03 C3 78 */ mr r3, r24 +/* 8031D150 0031A0B0 38 81 00 1C */ addi r4, r1, 0x1c +/* 8031D154 0031A0B4 3B 20 00 01 */ li r25, 1 +/* 8031D158 0031A0B8 48 04 50 19 */ bl "__ct__17CParticleElectricF30TToken<20CElectricDescription>" +/* 8031D15C 0031A0BC 7C 78 1B 78 */ mr r24, r3 +lbl_8031D160: +/* 8031D160 0031A0C0 7F 20 07 75 */ extsb. r0, r25 +/* 8031D164 0031A0C4 41 82 00 10 */ beq lbl_8031D174 +/* 8031D168 0031A0C8 38 61 00 1C */ addi r3, r1, 0x1c +/* 8031D16C 0031A0CC 38 80 00 00 */ li r4, 0 +/* 8031D170 0031A0D0 48 02 3C D1 */ bl __dt__6CTokenFv +lbl_8031D174: +/* 8031D174 0031A0D4 7F 03 C3 78 */ mr r3, r24 +/* 8031D178 0031A0D8 38 9F 00 E8 */ addi r4, r31, 0xe8 +/* 8031D17C 0031A0DC 81 98 00 00 */ lwz r12, 0(r24) +/* 8031D180 0031A0E0 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 8031D184 0031A0E4 7D 89 03 A6 */ mtctr r12 +/* 8031D188 0031A0E8 4E 80 04 21 */ bctrl +/* 8031D18C 0031A0EC 7F 03 C3 78 */ mr r3, r24 +/* 8031D190 0031A0F0 38 9F 01 00 */ addi r4, r31, 0x100 +/* 8031D194 0031A0F4 81 98 00 00 */ lwz r12, 0(r24) +/* 8031D198 0031A0F8 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 8031D19C 0031A0FC 7D 89 03 A6 */ mtctr r12 +/* 8031D1A0 0031A100 4E 80 04 21 */ bctrl +/* 8031D1A4 0031A104 7F 03 C3 78 */ mr r3, r24 +/* 8031D1A8 0031A108 38 9F 01 6C */ addi r4, r31, 0x16c +/* 8031D1AC 0031A10C 81 98 00 00 */ lwz r12, 0(r24) +/* 8031D1B0 0031A110 81 8C 00 28 */ lwz r12, 0x28(r12) +/* 8031D1B4 0031A114 7D 89 03 A6 */ mtctr r12 +/* 8031D1B8 0031A118 4E 80 04 21 */ bctrl +/* 8031D1BC 0031A11C C0 3F 00 E0 */ lfs f1, 0xe0(r31) +/* 8031D1C0 0031A120 7F 03 C3 78 */ mr r3, r24 +/* 8031D1C4 0031A124 C0 1F 02 C4 */ lfs f0, 0x2c4(r31) +/* 8031D1C8 0031A128 38 81 00 4C */ addi r4, r1, 0x4c +/* 8031D1CC 0031A12C C0 7F 00 E4 */ lfs f3, 0xe4(r31) +/* 8031D1D0 0031A130 C0 5F 02 C8 */ lfs f2, 0x2c8(r31) +/* 8031D1D4 0031A134 EC 81 00 2A */ fadds f4, f1, f0 +/* 8031D1D8 0031A138 C0 3F 00 DC */ lfs f1, 0xdc(r31) +/* 8031D1DC 0031A13C C0 1F 02 C0 */ lfs f0, 0x2c0(r31) +/* 8031D1E0 0031A140 EC 43 10 2A */ fadds f2, f3, f2 +/* 8031D1E4 0031A144 EC 01 00 2A */ fadds f0, f1, f0 +/* 8031D1E8 0031A148 D0 81 00 50 */ stfs f4, 0x50(r1) +/* 8031D1EC 0031A14C D0 41 00 54 */ stfs f2, 0x54(r1) +/* 8031D1F0 0031A150 D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 8031D1F4 0031A154 81 98 00 00 */ lwz r12, 0(r24) +/* 8031D1F8 0031A158 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 8031D1FC 0031A15C 7D 89 03 A6 */ mtctr r12 +/* 8031D200 0031A160 4E 80 04 21 */ bctrl +/* 8031D204 0031A164 7F 03 C3 78 */ mr r3, r24 +/* 8031D208 0031A168 38 9F 01 D8 */ addi r4, r31, 0x1d8 +/* 8031D20C 0031A16C 81 98 00 00 */ lwz r12, 0(r24) +/* 8031D210 0031A170 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 8031D214 0031A174 7D 89 03 A6 */ mtctr r12 +/* 8031D218 0031A178 4E 80 04 21 */ bctrl +/* 8031D21C 0031A17C 81 98 00 00 */ lwz r12, 0(r24) +/* 8031D220 0031A180 7F 03 C3 78 */ mr r3, r24 +/* 8031D224 0031A184 88 9F 00 88 */ lbz r4, 0x88(r31) +/* 8031D228 0031A188 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 8031D22C 0031A18C 7D 89 03 A6 */ mtctr r12 +/* 8031D230 0031A190 4E 80 04 21 */ bctrl +/* 8031D234 0031A194 80 9F 02 94 */ lwz r4, 0x294(r31) +/* 8031D238 0031A198 38 7F 02 90 */ addi r3, r31, 0x290 +/* 8031D23C 0031A19C 38 84 00 01 */ addi r4, r4, 1 +/* 8031D240 0031A1A0 48 00 35 01 */ bl sub_80320740 +/* 8031D244 0031A1A4 80 1F 02 94 */ lwz r0, 0x294(r31) +/* 8031D248 0031A1A8 80 BF 02 98 */ lwz r5, 0x298(r31) +/* 8031D24C 0031A1AC 7C 00 28 00 */ cmpw r0, r5 +/* 8031D250 0031A1B0 41 80 00 1C */ blt lbl_8031D26C +/* 8031D254 0031A1B4 2C 05 00 00 */ cmpwi r5, 0 +/* 8031D258 0031A1B8 38 7F 02 90 */ addi r3, r31, 0x290 +/* 8031D25C 0031A1BC 38 80 00 04 */ li r4, 4 +/* 8031D260 0031A1C0 41 82 00 08 */ beq lbl_8031D268 +/* 8031D264 0031A1C4 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8031D268: +/* 8031D268 0031A1C8 48 00 34 D9 */ bl sub_80320740 +lbl_8031D26C: +/* 8031D26C 0031A1CC 80 1F 02 94 */ lwz r0, 0x294(r31) +/* 8031D270 0031A1D0 80 7F 02 9C */ lwz r3, 0x29c(r31) +/* 8031D274 0031A1D4 54 00 10 3A */ slwi r0, r0, 2 +/* 8031D278 0031A1D8 7C 63 02 15 */ add. r3, r3, r0 +/* 8031D27C 0031A1DC 41 82 00 08 */ beq lbl_8031D284 +/* 8031D280 0031A1E0 93 03 00 00 */ stw r24, 0(r3) +lbl_8031D284: +/* 8031D284 0031A1E4 80 7F 02 94 */ lwz r3, 0x294(r31) +/* 8031D288 0031A1E8 38 03 00 01 */ addi r0, r3, 1 +/* 8031D28C 0031A1EC 90 1F 02 94 */ stw r0, 0x294(r31) +lbl_8031D290: +/* 8031D290 0031A1F0 80 1F 02 9C */ lwz r0, 0x29c(r31) +/* 8031D294 0031A1F4 90 01 00 10 */ stw r0, 0x10(r1) +/* 8031D298 0031A1F8 48 00 00 94 */ b lbl_8031D32C +lbl_8031D29C: +/* 8031D29C 0031A1FC 80 61 00 10 */ lwz r3, 0x10(r1) +/* 8031D2A0 0031A200 FC 20 F8 90 */ fmr f1, f31 +/* 8031D2A4 0031A204 83 03 00 00 */ lwz r24, 0(r3) +/* 8031D2A8 0031A208 7F 03 C3 78 */ mr r3, r24 +/* 8031D2AC 0031A20C 81 98 00 00 */ lwz r12, 0(r24) +/* 8031D2B0 0031A210 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031D2B4 0031A214 7D 89 03 A6 */ mtctr r12 +/* 8031D2B8 0031A218 4E 80 04 21 */ bctrl +/* 8031D2BC 0031A21C 7F 03 C3 78 */ mr r3, r24 +/* 8031D2C0 0031A220 81 98 00 00 */ lwz r12, 0(r24) +/* 8031D2C4 0031A224 81 8C 00 58 */ lwz r12, 0x58(r12) +/* 8031D2C8 0031A228 7D 89 03 A6 */ mtctr r12 +/* 8031D2CC 0031A22C 4E 80 04 21 */ bctrl +/* 8031D2D0 0031A230 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 8031D2D4 0031A234 28 00 00 01 */ cmplwi r0, 1 +/* 8031D2D8 0031A238 40 82 00 48 */ bne lbl_8031D320 +/* 8031D2DC 0031A23C 28 18 00 00 */ cmplwi r24, 0 +/* 8031D2E0 0031A240 41 82 00 1C */ beq lbl_8031D2FC +/* 8031D2E4 0031A244 7F 03 C3 78 */ mr r3, r24 +/* 8031D2E8 0031A248 38 80 00 01 */ li r4, 1 +/* 8031D2EC 0031A24C 81 98 00 00 */ lwz r12, 0(r24) +/* 8031D2F0 0031A250 81 8C 00 08 */ lwz r12, 8(r12) +/* 8031D2F4 0031A254 7D 89 03 A6 */ mtctr r12 +/* 8031D2F8 0031A258 4E 80 04 21 */ bctrl +lbl_8031D2FC: +/* 8031D2FC 0031A25C 80 01 00 10 */ lwz r0, 0x10(r1) +/* 8031D300 0031A260 38 61 00 0C */ addi r3, r1, 0xc +/* 8031D304 0031A264 38 9F 02 90 */ addi r4, r31, 0x290 +/* 8031D308 0031A268 38 A1 00 08 */ addi r5, r1, 8 +/* 8031D30C 0031A26C 90 01 00 08 */ stw r0, 8(r1) +/* 8031D310 0031A270 48 00 00 69 */ bl sub_8031d378 +/* 8031D314 0031A274 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8031D318 0031A278 90 01 00 10 */ stw r0, 0x10(r1) +/* 8031D31C 0031A27C 48 00 00 10 */ b lbl_8031D32C +lbl_8031D320: +/* 8031D320 0031A280 80 61 00 10 */ lwz r3, 0x10(r1) +/* 8031D324 0031A284 38 03 00 04 */ addi r0, r3, 4 +/* 8031D328 0031A288 90 01 00 10 */ stw r0, 0x10(r1) +lbl_8031D32C: +/* 8031D32C 0031A28C 80 1F 02 94 */ lwz r0, 0x294(r31) +/* 8031D330 0031A290 80 7F 02 9C */ lwz r3, 0x29c(r31) +/* 8031D334 0031A294 54 00 10 3A */ slwi r0, r0, 2 +/* 8031D338 0031A298 80 81 00 10 */ lwz r4, 0x10(r1) +/* 8031D33C 0031A29C 7C 03 02 14 */ add r0, r3, r0 +/* 8031D340 0031A2A0 7C 04 00 40 */ cmplw r4, r0 +/* 8031D344 0031A2A4 40 82 FF 58 */ bne lbl_8031D29C +/* 8031D348 0031A2A8 80 1F 00 74 */ lwz r0, 0x74(r31) +/* 8031D34C 0031A2AC 38 61 00 A0 */ addi r3, r1, 0xa0 +/* 8031D350 0031A2B0 38 80 FF FF */ li r4, -1 +/* 8031D354 0031A2B4 90 1F 00 84 */ stw r0, 0x84(r31) +/* 8031D358 0031A2B8 4B FF 52 AD */ bl __dt__13CGlobalRandomFv +lbl_8031D35C: +/* 8031D35C 0031A2BC E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 +/* 8031D360 0031A2C0 CB E1 00 D0 */ lfd f31, 0xd0(r1) +/* 8031D364 0031A2C4 BB 01 00 B0 */ lmw r24, 0xb0(r1) +/* 8031D368 0031A2C8 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 8031D36C 0031A2CC 7C 08 03 A6 */ mtlr r0 +/* 8031D370 0031A2D0 38 21 00 E0 */ addi r1, r1, 0xe0 +/* 8031D374 0031A2D4 4E 80 00 20 */ blr + +.global sub_8031d378 +sub_8031d378: +/* 8031D378 0031A2D8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8031D37C 0031A2DC 7C 08 02 A6 */ mflr r0 +/* 8031D380 0031A2E0 90 01 00 24 */ stw r0, 0x24(r1) +/* 8031D384 0031A2E4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8031D388 0031A2E8 7C 7F 1B 78 */ mr r31, r3 +/* 8031D38C 0031A2EC 80 C5 00 00 */ lwz r6, 0(r5) +/* 8031D390 0031A2F0 80 05 00 00 */ lwz r0, 0(r5) +/* 8031D394 0031A2F4 38 A1 00 10 */ addi r5, r1, 0x10 +/* 8031D398 0031A2F8 38 E6 00 04 */ addi r7, r6, 4 +/* 8031D39C 0031A2FC 38 C1 00 0C */ addi r6, r1, 0xc +/* 8031D3A0 0031A300 90 E1 00 08 */ stw r7, 8(r1) +/* 8031D3A4 0031A304 90 E1 00 0C */ stw r7, 0xc(r1) +/* 8031D3A8 0031A308 90 01 00 10 */ stw r0, 0x10(r1) +/* 8031D3AC 0031A30C 48 00 00 19 */ bl sub_8031d3c4 +/* 8031D3B0 0031A310 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8031D3B4 0031A314 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8031D3B8 0031A318 7C 08 03 A6 */ mtlr r0 +/* 8031D3BC 0031A31C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8031D3C0 0031A320 4E 80 00 20 */ blr + +.global sub_8031d3c4 +sub_8031d3c4: +/* 8031D3C4 0031A324 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8031D3C8 0031A328 80 E5 00 00 */ lwz r7, 0(r5) +/* 8031D3CC 0031A32C 80 06 00 00 */ lwz r0, 0(r6) +/* 8031D3D0 0031A330 90 E1 00 0C */ stw r7, 0xc(r1) +/* 8031D3D4 0031A334 90 01 00 08 */ stw r0, 8(r1) +/* 8031D3D8 0031A338 48 00 00 08 */ b lbl_8031D3E0 +lbl_8031D3DC: +/* 8031D3DC 0031A33C 38 E7 00 04 */ addi r7, r7, 4 +lbl_8031D3E0: +/* 8031D3E0 0031A340 7C 07 00 40 */ cmplw r7, r0 +/* 8031D3E4 0031A344 40 82 FF F8 */ bne lbl_8031D3DC +/* 8031D3E8 0031A348 81 04 00 0C */ lwz r8, 0xc(r4) +/* 8031D3EC 0031A34C 80 05 00 00 */ lwz r0, 0(r5) +/* 8031D3F0 0031A350 80 E6 00 00 */ lwz r7, 0(r6) +/* 8031D3F4 0031A354 7C 08 00 50 */ subf r0, r8, r0 +/* 8031D3F8 0031A358 7C 00 16 70 */ srawi r0, r0, 2 +/* 8031D3FC 0031A35C 7C C0 01 94 */ addze r6, r0 +/* 8031D400 0031A360 54 C0 10 3A */ slwi r0, r6, 2 +/* 8031D404 0031A364 7C C9 33 78 */ mr r9, r6 +/* 8031D408 0031A368 7D 08 02 14 */ add r8, r8, r0 +/* 8031D40C 0031A36C 48 00 00 20 */ b lbl_8031D42C +lbl_8031D410: +/* 8031D410 0031A370 28 08 00 00 */ cmplwi r8, 0 +/* 8031D414 0031A374 41 82 00 0C */ beq lbl_8031D420 +/* 8031D418 0031A378 80 07 00 00 */ lwz r0, 0(r7) +/* 8031D41C 0031A37C 90 08 00 00 */ stw r0, 0(r8) +lbl_8031D420: +/* 8031D420 0031A380 39 08 00 04 */ addi r8, r8, 4 +/* 8031D424 0031A384 39 29 00 01 */ addi r9, r9, 1 +/* 8031D428 0031A388 38 E7 00 04 */ addi r7, r7, 4 +lbl_8031D42C: +/* 8031D42C 0031A38C 80 04 00 04 */ lwz r0, 4(r4) +/* 8031D430 0031A390 80 C4 00 0C */ lwz r6, 0xc(r4) +/* 8031D434 0031A394 54 00 10 3A */ slwi r0, r0, 2 +/* 8031D438 0031A398 7C 06 02 14 */ add r0, r6, r0 +/* 8031D43C 0031A39C 7C 07 00 40 */ cmplw r7, r0 +/* 8031D440 0031A3A0 40 82 FF D0 */ bne lbl_8031D410 +/* 8031D444 0031A3A4 91 24 00 04 */ stw r9, 4(r4) +/* 8031D448 0031A3A8 80 05 00 00 */ lwz r0, 0(r5) +/* 8031D44C 0031A3AC 90 03 00 00 */ stw r0, 0(r3) +/* 8031D450 0031A3B0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8031D454 0031A3B4 4E 80 00 20 */ blr + +.global sub_8031d458 +sub_8031d458: +/* 8031D458 0031A3B8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8031D45C 0031A3BC 7C 08 02 A6 */ mflr r0 +/* 8031D460 0031A3C0 90 01 00 14 */ stw r0, 0x14(r1) +/* 8031D464 0031A3C4 88 04 00 18 */ lbz r0, 0x18(r4) +/* 8031D468 0031A3C8 98 03 00 08 */ stb r0, 8(r3) +/* 8031D46C 0031A3CC 88 04 00 18 */ lbz r0, 0x18(r4) +/* 8031D470 0031A3D0 28 00 00 00 */ cmplwi r0, 0 +/* 8031D474 0031A3D4 41 82 00 14 */ beq lbl_8031D488 +/* 8031D478 0031A3D8 28 03 00 00 */ cmplwi r3, 0 +/* 8031D47C 0031A3DC 38 84 00 10 */ addi r4, r4, 0x10 +/* 8031D480 0031A3E0 41 82 00 08 */ beq lbl_8031D488 +/* 8031D484 0031A3E4 48 02 3A 25 */ bl __ct__6CTokenFRC6CToken +lbl_8031D488: +/* 8031D488 0031A3E8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8031D48C 0031A3EC 7C 08 03 A6 */ mtlr r0 +/* 8031D490 0031A3F0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8031D494 0031A3F4 4E 80 00 20 */ blr + +.global "ConstructChildParticleSystem__11CElementGenCF25TToken<15CGenDescription>" +"ConstructChildParticleSystem__11CElementGenCF25TToken<15CGenDescription>": +/* 8031D498 0031A3F8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8031D49C 0031A3FC 7C 08 02 A6 */ mflr r0 +/* 8031D4A0 0031A400 3C A0 80 3D */ lis r5, lbl_803D7910@ha +/* 8031D4A4 0031A404 90 01 00 24 */ stw r0, 0x24(r1) +/* 8031D4A8 0031A408 38 05 79 10 */ addi r0, r5, lbl_803D7910@l +/* 8031D4AC 0031A40C 38 A0 00 00 */ li r5, 0 +/* 8031D4B0 0031A410 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8031D4B4 0031A414 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8031D4B8 0031A418 7C 9E 23 78 */ mr r30, r4 +/* 8031D4BC 0031A41C 7C 04 03 78 */ mr r4, r0 +/* 8031D4C0 0031A420 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8031D4C4 0031A424 7C 7D 1B 78 */ mr r29, r3 +/* 8031D4C8 0031A428 38 60 03 40 */ li r3, 0x340 +/* 8031D4CC 0031A42C 93 81 00 10 */ stw r28, 0x10(r1) +/* 8031D4D0 0031A430 3B 80 00 00 */ li r28, 0 +/* 8031D4D4 0031A434 4B FF 83 99 */ bl __nw__FUlPCcPCc +/* 8031D4D8 0031A438 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8031D4DC 0031A43C 41 82 00 3C */ beq lbl_8031D518 +/* 8031D4E0 0031A440 7F C4 F3 78 */ mr r4, r30 +/* 8031D4E4 0031A444 38 61 00 08 */ addi r3, r1, 8 +/* 8031D4E8 0031A448 48 02 39 C1 */ bl __ct__6CTokenFRC6CToken +/* 8031D4EC 0031A44C 88 1D 02 6D */ lbz r0, 0x26d(r29) +/* 8031D4F0 0031A450 7F E3 FB 78 */ mr r3, r31 +/* 8031D4F4 0031A454 38 81 00 08 */ addi r4, r1, 8 +/* 8031D4F8 0031A458 3B 80 00 01 */ li r28, 1 +/* 8031D4FC 0031A45C 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 8031D500 0031A460 38 A0 00 00 */ li r5, 0 +/* 8031D504 0031A464 38 C0 00 01 */ li r6, 1 +/* 8031D508 0031A468 41 82 00 08 */ beq lbl_8031D510 +/* 8031D50C 0031A46C 38 C0 00 02 */ li r6, 2 +lbl_8031D510: +/* 8031D510 0031A470 48 00 1E D1 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +/* 8031D514 0031A474 7C 7F 1B 78 */ mr r31, r3 +lbl_8031D518: +/* 8031D518 0031A478 7F 80 07 75 */ extsb. r0, r28 +/* 8031D51C 0031A47C 41 82 00 10 */ beq lbl_8031D52C +/* 8031D520 0031A480 38 61 00 08 */ addi r3, r1, 8 +/* 8031D524 0031A484 38 80 00 00 */ li r4, 0 +/* 8031D528 0031A488 48 02 39 19 */ bl __dt__6CTokenFv +lbl_8031D52C: +/* 8031D52C 0031A48C 88 BD 02 6D */ lbz r5, 0x26d(r29) +/* 8031D530 0031A490 7F E3 FB 78 */ mr r3, r31 +/* 8031D534 0031A494 88 1F 02 6D */ lbz r0, 0x26d(r31) +/* 8031D538 0031A498 38 9D 00 E8 */ addi r4, r29, 0xe8 +/* 8031D53C 0031A49C 50 A0 06 B4 */ rlwimi r0, r5, 0, 0x1a, 0x1a +/* 8031D540 0031A4A0 98 1F 02 6D */ stb r0, 0x26d(r31) +/* 8031D544 0031A4A4 81 9F 00 00 */ lwz r12, 0(r31) +/* 8031D548 0031A4A8 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 8031D54C 0031A4AC 7D 89 03 A6 */ mtctr r12 +/* 8031D550 0031A4B0 4E 80 04 21 */ bctrl +/* 8031D554 0031A4B4 7F E3 FB 78 */ mr r3, r31 +/* 8031D558 0031A4B8 38 9D 02 2C */ addi r4, r29, 0x22c +/* 8031D55C 0031A4BC 81 9F 00 00 */ lwz r12, 0(r31) +/* 8031D560 0031A4C0 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 8031D564 0031A4C4 7D 89 03 A6 */ mtctr r12 +/* 8031D568 0031A4C8 4E 80 04 21 */ bctrl +/* 8031D56C 0031A4CC 7F E3 FB 78 */ mr r3, r31 +/* 8031D570 0031A4D0 38 9D 01 00 */ addi r4, r29, 0x100 +/* 8031D574 0031A4D4 81 9F 00 00 */ lwz r12, 0(r31) +/* 8031D578 0031A4D8 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 8031D57C 0031A4DC 7D 89 03 A6 */ mtctr r12 +/* 8031D580 0031A4E0 4E 80 04 21 */ bctrl +/* 8031D584 0031A4E4 7F E3 FB 78 */ mr r3, r31 +/* 8031D588 0031A4E8 38 9D 01 6C */ addi r4, r29, 0x16c +/* 8031D58C 0031A4EC 81 9F 00 00 */ lwz r12, 0(r31) +/* 8031D590 0031A4F0 81 8C 00 28 */ lwz r12, 0x28(r12) +/* 8031D594 0031A4F4 7D 89 03 A6 */ mtctr r12 +/* 8031D598 0031A4F8 4E 80 04 21 */ bctrl +/* 8031D59C 0031A4FC 7F E3 FB 78 */ mr r3, r31 +/* 8031D5A0 0031A500 38 9D 00 DC */ addi r4, r29, 0xdc +/* 8031D5A4 0031A504 81 9F 00 00 */ lwz r12, 0(r31) +/* 8031D5A8 0031A508 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 8031D5AC 0031A50C 7D 89 03 A6 */ mtctr r12 +/* 8031D5B0 0031A510 4E 80 04 21 */ bctrl +/* 8031D5B4 0031A514 7F E3 FB 78 */ mr r3, r31 +/* 8031D5B8 0031A518 38 9D 01 D8 */ addi r4, r29, 0x1d8 +/* 8031D5BC 0031A51C 81 9F 00 00 */ lwz r12, 0(r31) +/* 8031D5C0 0031A520 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 8031D5C4 0031A524 7D 89 03 A6 */ mtctr r12 +/* 8031D5C8 0031A528 4E 80 04 21 */ bctrl +/* 8031D5CC 0031A52C 7F E3 FB 78 */ mr r3, r31 +/* 8031D5D0 0031A530 88 9D 00 88 */ lbz r4, 0x88(r29) +/* 8031D5D4 0031A534 81 9F 00 00 */ lwz r12, 0(r31) +/* 8031D5D8 0031A538 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 8031D5DC 0031A53C 7D 89 03 A6 */ mtctr r12 +/* 8031D5E0 0031A540 4E 80 04 21 */ bctrl +/* 8031D5E4 0031A544 7F E3 FB 78 */ mr r3, r31 +/* 8031D5E8 0031A548 38 9D 03 38 */ addi r4, r29, 0x338 +/* 8031D5EC 0031A54C 81 9F 00 00 */ lwz r12, 0(r31) +/* 8031D5F0 0031A550 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 8031D5F4 0031A554 7D 89 03 A6 */ mtctr r12 +/* 8031D5F8 0031A558 4E 80 04 21 */ bctrl +/* 8031D5FC 0031A55C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8031D600 0031A560 7F E3 FB 78 */ mr r3, r31 +/* 8031D604 0031A564 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8031D608 0031A568 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8031D60C 0031A56C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8031D610 0031A570 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8031D614 0031A574 7C 08 03 A6 */ mtlr r0 +/* 8031D618 0031A578 38 21 00 20 */ addi r1, r1, 0x20 +/* 8031D61C 0031A57C 4E 80 00 20 */ blr + +.global UpdatePSTranslationAndOrientation__11CElementGenFv +UpdatePSTranslationAndOrientation__11CElementGenFv: +/* 8031D620 0031A580 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8031D624 0031A584 7C 08 02 A6 */ mflr r0 +/* 8031D628 0031A588 90 01 00 24 */ stw r0, 0x24(r1) +/* 8031D62C 0031A58C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8031D630 0031A590 7C 7F 1B 78 */ mr r31, r3 +/* 8031D634 0031A594 38 61 00 08 */ addi r3, r1, 8 +/* 8031D638 0031A598 38 9F 02 7C */ addi r4, r31, 0x27c +/* 8031D63C 0031A59C 4B FF 50 45 */ bl __ct__13CGlobalRandomFR9CRandom16 +/* 8031D640 0031A5A0 80 1F 02 68 */ lwz r0, 0x268(r31) +/* 8031D644 0031A5A4 80 9F 00 74 */ lwz r4, 0x74(r31) +/* 8031D648 0031A5A8 7C 00 20 00 */ cmpw r0, r4 +/* 8031D64C 0031A5AC 41 80 00 78 */ blt lbl_8031D6C4 +/* 8031D650 0031A5B0 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031D654 0031A5B4 80 63 00 0C */ lwz r3, 0xc(r3) +/* 8031D658 0031A5B8 28 03 00 00 */ cmplwi r3, 0 +/* 8031D65C 0031A5BC 41 82 00 18 */ beq lbl_8031D674 +/* 8031D660 0031A5C0 81 83 00 00 */ lwz r12, 0(r3) +/* 8031D664 0031A5C4 38 BF 00 F4 */ addi r5, r31, 0xf4 +/* 8031D668 0031A5C8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031D66C 0031A5CC 7D 89 03 A6 */ mtctr r12 +/* 8031D670 0031A5D0 4E 80 04 21 */ bctrl +lbl_8031D674: +/* 8031D674 0031A5D4 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031D678 0031A5D8 80 63 00 D4 */ lwz r3, 0xd4(r3) +/* 8031D67C 0031A5DC 28 03 00 00 */ cmplwi r3, 0 +/* 8031D680 0031A5E0 41 82 00 1C */ beq lbl_8031D69C +/* 8031D684 0031A5E4 81 83 00 00 */ lwz r12, 0(r3) +/* 8031D688 0031A5E8 38 BF 02 B0 */ addi r5, r31, 0x2b0 +/* 8031D68C 0031A5EC 80 9F 00 74 */ lwz r4, 0x74(r31) +/* 8031D690 0031A5F0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031D694 0031A5F4 7D 89 03 A6 */ mtctr r12 +/* 8031D698 0031A5F8 4E 80 04 21 */ bctrl +lbl_8031D69C: +/* 8031D69C 0031A5FC 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031D6A0 0031A600 80 63 00 E8 */ lwz r3, 0xe8(r3) +/* 8031D6A4 0031A604 28 03 00 00 */ cmplwi r3, 0 +/* 8031D6A8 0031A608 41 82 00 1C */ beq lbl_8031D6C4 +/* 8031D6AC 0031A60C 81 83 00 00 */ lwz r12, 0(r3) +/* 8031D6B0 0031A610 38 BF 02 C0 */ addi r5, r31, 0x2c0 +/* 8031D6B4 0031A614 80 9F 00 74 */ lwz r4, 0x74(r31) +/* 8031D6B8 0031A618 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031D6BC 0031A61C 7D 89 03 A6 */ mtctr r12 +/* 8031D6C0 0031A620 4E 80 04 21 */ bctrl +lbl_8031D6C4: +/* 8031D6C4 0031A624 38 61 00 08 */ addi r3, r1, 8 +/* 8031D6C8 0031A628 38 80 FF FF */ li r4, -1 +/* 8031D6CC 0031A62C 4B FF 4F 39 */ bl __dt__13CGlobalRandomFv +/* 8031D6D0 0031A630 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8031D6D4 0031A634 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8031D6D8 0031A638 7C 08 03 A6 */ mtlr r0 +/* 8031D6DC 0031A63C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8031D6E0 0031A640 4E 80 00 20 */ blr + +.global CreateNewParticles__11CElementGenFi +CreateNewParticles__11CElementGenFi: +/* 8031D6E4 0031A644 94 21 FE C0 */ stwu r1, -0x140(r1) +/* 8031D6E8 0031A648 7C 08 02 A6 */ mflr r0 +/* 8031D6EC 0031A64C 90 01 01 44 */ stw r0, 0x144(r1) +/* 8031D6F0 0031A650 BF 41 01 28 */ stmw r26, 0x128(r1) +/* 8031D6F4 0031A654 7C 7A 1B 78 */ mr r26, r3 +/* 8031D6F8 0031A658 7C 9B 23 78 */ mr r27, r4 +/* 8031D6FC 0031A65C 88 0D A8 BA */ lbz r0, lbl_805A947A@sda21(r13) +/* 8031D700 0031A660 28 00 00 00 */ cmplwi r0, 0 +/* 8031D704 0031A664 40 82 00 08 */ bne lbl_8031D70C +/* 8031D708 0031A668 48 00 1A 61 */ bl Initialize__11CElementGenFv +lbl_8031D70C: +/* 8031D70C 0031A66C 80 7A 00 34 */ lwz r3, 0x34(r26) +/* 8031D710 0031A670 7F 7D DB 78 */ mr r29, r27 +/* 8031D714 0031A674 80 9A 00 90 */ lwz r4, 0x90(r26) +/* 8031D718 0031A678 7C 03 20 00 */ cmpw r3, r4 +/* 8031D71C 0031A67C 40 80 05 54 */ bge lbl_8031DC70 +/* 8031D720 0031A680 7C 1B 1A 14 */ add r0, r27, r3 +/* 8031D724 0031A684 7C 00 20 00 */ cmpw r0, r4 +/* 8031D728 0031A688 40 81 00 08 */ ble lbl_8031D730 +/* 8031D72C 0031A68C 7F A3 20 50 */ subf r29, r3, r4 +lbl_8031D730: +/* 8031D730 0031A690 80 6D A8 B0 */ lwz r3, lbl_805A9470@sda21(r13) +/* 8031D734 0031A694 7C 1D 1A 14 */ add r0, r29, r3 +/* 8031D738 0031A698 2C 00 0A 00 */ cmpwi r0, 0xa00 +/* 8031D73C 0031A69C 40 81 00 08 */ ble lbl_8031D744 +/* 8031D740 0031A6A0 23 A3 0A 00 */ subfic r29, r3, 0xa00 +lbl_8031D744: +/* 8031D744 0031A6A4 38 61 00 3C */ addi r3, r1, 0x3c +/* 8031D748 0031A6A8 38 9A 02 7C */ addi r4, r26, 0x27c +/* 8031D74C 0031A6AC 4B FF 4F 35 */ bl __ct__13CGlobalRandomFR9CRandom16 +/* 8031D750 0031A6B0 80 1A 00 34 */ lwz r0, 0x34(r26) +/* 8031D754 0031A6B4 38 7A 00 30 */ addi r3, r26, 0x30 +/* 8031D758 0031A6B8 7C 9D 02 14 */ add r4, r29, r0 +/* 8031D75C 0031A6BC 48 00 2C 65 */ bl sub_803203c0 +/* 8031D760 0031A6C0 88 1A 02 6D */ lbz r0, 0x26d(r26) +/* 8031D764 0031A6C4 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 8031D768 0031A6C8 41 82 01 28 */ beq lbl_8031D890 +/* 8031D76C 0031A6CC 80 1A 00 34 */ lwz r0, 0x34(r26) +/* 8031D770 0031A6D0 80 7A 00 68 */ lwz r3, 0x68(r26) +/* 8031D774 0031A6D4 7C 1D 02 14 */ add r0, r29, r0 +/* 8031D778 0031A6D8 7C 03 00 00 */ cmpw r3, r0 +/* 8031D77C 0031A6DC 40 80 01 14 */ bge lbl_8031D890 +/* 8031D780 0031A6E0 54 63 08 3C */ slwi r3, r3, 1 +/* 8031D784 0031A6E4 90 61 00 08 */ stw r3, 8(r1) +/* 8031D788 0031A6E8 80 1A 00 90 */ lwz r0, 0x90(r26) +/* 8031D78C 0031A6EC 7C 03 00 00 */ cmpw r3, r0 +/* 8031D790 0031A6F0 40 80 00 0C */ bge lbl_8031D79C +/* 8031D794 0031A6F4 38 61 00 08 */ addi r3, r1, 8 +/* 8031D798 0031A6F8 48 00 00 08 */ b lbl_8031D7A0 +lbl_8031D79C: +/* 8031D79C 0031A6FC 38 7A 00 90 */ addi r3, r26, 0x90 +lbl_8031D7A0: +/* 8031D7A0 0031A700 80 83 00 00 */ lwz r4, 0(r3) +/* 8031D7A4 0031A704 38 7A 00 60 */ addi r3, r26, 0x60 +/* 8031D7A8 0031A708 48 00 2E 75 */ bl "reserve__Q24rstl69vectorFi" +/* 8031D7AC 0031A70C 3C 60 80 4C */ lis r3, lbl_804BFE48@ha +/* 8031D7B0 0031A710 3B E3 FE 48 */ addi r31, r3, lbl_804BFE48@l +/* 8031D7B4 0031A714 48 00 00 CC */ b lbl_8031D880 +lbl_8031D7B8: +/* 8031D7B8 0031A718 80 1A 00 64 */ lwz r0, 0x64(r26) +/* 8031D7BC 0031A71C 81 5A 00 68 */ lwz r10, 0x68(r26) +/* 8031D7C0 0031A720 81 3F 00 00 */ lwz r9, 0(r31) +/* 8031D7C4 0031A724 81 1F 00 04 */ lwz r8, 4(r31) +/* 8031D7C8 0031A728 7C 00 50 00 */ cmpw r0, r10 +/* 8031D7CC 0031A72C 80 FF 00 08 */ lwz r7, 8(r31) +/* 8031D7D0 0031A730 80 DF 00 0C */ lwz r6, 0xc(r31) +/* 8031D7D4 0031A734 80 BF 00 10 */ lwz r5, 0x10(r31) +/* 8031D7D8 0031A738 80 9F 00 14 */ lwz r4, 0x14(r31) +/* 8031D7DC 0031A73C 80 7F 00 18 */ lwz r3, 0x18(r31) +/* 8031D7E0 0031A740 80 1F 00 1C */ lwz r0, 0x1c(r31) +/* 8031D7E4 0031A744 91 21 00 48 */ stw r9, 0x48(r1) +/* 8031D7E8 0031A748 91 01 00 4C */ stw r8, 0x4c(r1) +/* 8031D7EC 0031A74C 90 E1 00 50 */ stw r7, 0x50(r1) +/* 8031D7F0 0031A750 90 C1 00 54 */ stw r6, 0x54(r1) +/* 8031D7F4 0031A754 90 A1 00 58 */ stw r5, 0x58(r1) +/* 8031D7F8 0031A758 90 81 00 5C */ stw r4, 0x5c(r1) +/* 8031D7FC 0031A75C 90 61 00 60 */ stw r3, 0x60(r1) +/* 8031D800 0031A760 90 01 00 64 */ stw r0, 0x64(r1) +/* 8031D804 0031A764 41 80 00 1C */ blt lbl_8031D820 +/* 8031D808 0031A768 2C 0A 00 00 */ cmpwi r10, 0 +/* 8031D80C 0031A76C 38 7A 00 60 */ addi r3, r26, 0x60 +/* 8031D810 0031A770 38 80 00 04 */ li r4, 4 +/* 8031D814 0031A774 41 82 00 08 */ beq lbl_8031D81C +/* 8031D818 0031A778 55 44 08 3C */ slwi r4, r10, 1 +lbl_8031D81C: +/* 8031D81C 0031A77C 48 00 2E 01 */ bl "reserve__Q24rstl69vectorFi" +lbl_8031D820: +/* 8031D820 0031A780 80 1A 00 64 */ lwz r0, 0x64(r26) +/* 8031D824 0031A784 80 7A 00 6C */ lwz r3, 0x6c(r26) +/* 8031D828 0031A788 54 00 28 34 */ slwi r0, r0, 5 +/* 8031D82C 0031A78C 7C 83 02 15 */ add. r4, r3, r0 +/* 8031D830 0031A790 41 82 00 44 */ beq lbl_8031D874 +/* 8031D834 0031A794 80 61 00 48 */ lwz r3, 0x48(r1) +/* 8031D838 0031A798 80 01 00 4C */ lwz r0, 0x4c(r1) +/* 8031D83C 0031A79C 90 64 00 00 */ stw r3, 0(r4) +/* 8031D840 0031A7A0 80 61 00 50 */ lwz r3, 0x50(r1) +/* 8031D844 0031A7A4 90 04 00 04 */ stw r0, 4(r4) +/* 8031D848 0031A7A8 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8031D84C 0031A7AC 90 64 00 08 */ stw r3, 8(r4) +/* 8031D850 0031A7B0 80 61 00 58 */ lwz r3, 0x58(r1) +/* 8031D854 0031A7B4 90 04 00 0C */ stw r0, 0xc(r4) +/* 8031D858 0031A7B8 80 01 00 5C */ lwz r0, 0x5c(r1) +/* 8031D85C 0031A7BC 90 64 00 10 */ stw r3, 0x10(r4) +/* 8031D860 0031A7C0 80 61 00 60 */ lwz r3, 0x60(r1) +/* 8031D864 0031A7C4 90 04 00 14 */ stw r0, 0x14(r4) +/* 8031D868 0031A7C8 80 01 00 64 */ lwz r0, 0x64(r1) +/* 8031D86C 0031A7CC 90 64 00 18 */ stw r3, 0x18(r4) +/* 8031D870 0031A7D0 90 04 00 1C */ stw r0, 0x1c(r4) +lbl_8031D874: +/* 8031D874 0031A7D4 80 7A 00 64 */ lwz r3, 0x64(r26) +/* 8031D878 0031A7D8 38 03 00 01 */ addi r0, r3, 1 +/* 8031D87C 0031A7DC 90 1A 00 64 */ stw r0, 0x64(r26) +lbl_8031D880: +/* 8031D880 0031A7E0 80 7A 00 64 */ lwz r3, 0x64(r26) +/* 8031D884 0031A7E4 80 1A 00 68 */ lwz r0, 0x68(r26) +/* 8031D888 0031A7E8 7C 03 00 00 */ cmpw r3, r0 +/* 8031D88C 0031A7EC 41 80 FF 2C */ blt lbl_8031D7B8 +lbl_8031D890: +/* 8031D890 0031A7F0 38 00 00 00 */ li r0, 0 +/* 8031D894 0031A7F4 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8031D898 0031A7F8 90 0D A8 F0 */ stw r0, lbl_805A94B0@sda21(r13) +/* 8031D89C 0031A7FC 3B E3 66 A0 */ addi r31, r3, skZero3f@l +/* 8031D8A0 0031A800 3B 80 00 00 */ li r28, 0 +/* 8031D8A4 0031A804 48 00 03 B8 */ b lbl_8031DC5C +lbl_8031D8A8: +/* 8031D8A8 0031A808 C0 BF 00 00 */ lfs f5, 0(r31) +/* 8031D8AC 0031A80C 38 A0 00 FF */ li r5, 0xff +/* 8031D8B0 0031A810 C0 9F 00 04 */ lfs f4, 4(r31) +/* 8031D8B4 0031A814 38 00 00 00 */ li r0, 0 +/* 8031D8B8 0031A818 C0 7F 00 08 */ lfs f3, 8(r31) +/* 8031D8BC 0031A81C FC 40 28 18 */ frsp f2, f5 +/* 8031D8C0 0031A820 FC 20 20 18 */ frsp f1, f4 +/* 8031D8C4 0031A824 D0 A1 00 F0 */ stfs f5, 0xf0(r1) +/* 8031D8C8 0031A828 FC 00 18 18 */ frsp f0, f3 +/* 8031D8CC 0031A82C 38 7A 00 30 */ addi r3, r26, 0x30 +/* 8031D8D0 0031A830 D0 81 00 F4 */ stfs f4, 0xf4(r1) +/* 8031D8D4 0031A834 38 81 00 EC */ addi r4, r1, 0xec +/* 8031D8D8 0031A838 D0 61 00 F8 */ stfs f3, 0xf8(r1) +/* 8031D8DC 0031A83C D0 A1 00 FC */ stfs f5, 0xfc(r1) +/* 8031D8E0 0031A840 D0 81 01 00 */ stfs f4, 0x100(r1) +/* 8031D8E4 0031A844 D0 61 01 04 */ stfs f3, 0x104(r1) +/* 8031D8E8 0031A848 D0 41 01 08 */ stfs f2, 0x108(r1) +/* 8031D8EC 0031A84C D0 21 01 0C */ stfs f1, 0x10c(r1) +/* 8031D8F0 0031A850 D0 01 01 10 */ stfs f0, 0x110(r1) +/* 8031D8F4 0031A854 98 A1 01 20 */ stb r5, 0x120(r1) +/* 8031D8F8 0031A858 98 01 01 21 */ stb r0, 0x121(r1) +/* 8031D8FC 0031A85C 98 A1 01 22 */ stb r5, 0x122(r1) +/* 8031D900 0031A860 98 A1 01 23 */ stb r5, 0x123(r1) +/* 8031D904 0031A864 48 00 03 81 */ bl sub_8031dc84 +/* 8031D908 0031A868 80 6D A8 B0 */ lwz r3, lbl_805A9470@sda21(r13) +/* 8031D90C 0031A86C 80 9A 00 34 */ lwz r4, 0x34(r26) +/* 8031D910 0031A870 38 03 00 01 */ addi r0, r3, 1 +/* 8031D914 0031A874 90 0D A8 B0 */ stw r0, lbl_805A9470@sda21(r13) +/* 8031D918 0031A878 3B 64 FF FF */ addi r27, r4, -1 +/* 8031D91C 0031A87C 80 7A 02 5C */ lwz r3, 0x25c(r26) +/* 8031D920 0031A880 38 03 00 01 */ addi r0, r3, 1 +/* 8031D924 0031A884 90 1A 02 5C */ stw r0, 0x25c(r26) +/* 8031D928 0031A888 80 7A 02 60 */ lwz r3, 0x260(r26) +/* 8031D92C 0031A88C 38 03 00 01 */ addi r0, r3, 1 +/* 8031D930 0031A890 90 1A 02 60 */ stw r0, 0x260(r26) +/* 8031D934 0031A894 80 1A 00 2C */ lwz r0, 0x2c(r26) +/* 8031D938 0031A898 2C 00 00 01 */ cmpwi r0, 1 +/* 8031D93C 0031A89C 40 82 00 28 */ bne lbl_8031D964 +/* 8031D940 0031A8A0 1C 1B 00 24 */ mulli r0, r27, 0x24 +/* 8031D944 0031A8A4 80 BA 00 5C */ lwz r5, 0x5c(r26) +/* 8031D948 0031A8A8 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 8031D94C 0031A8AC 38 9A 01 D8 */ addi r4, r26, 0x1d8 +/* 8031D950 0031A8B0 7F C5 02 14 */ add r30, r5, r0 +/* 8031D954 0031A8B4 4B FF 57 A1 */ bl BuildMatrix3f__12CTransform4fCFv +/* 8031D958 0031A8B8 7F C3 F3 78 */ mr r3, r30 +/* 8031D95C 0031A8BC 38 81 00 C8 */ addi r4, r1, 0xc8 +/* 8031D960 0031A8C0 4B FF 26 99 */ bl __as__9CMatrix3fFRC9CMatrix3f +lbl_8031D964: +/* 8031D964 0031A8C4 1C 7B 00 38 */ mulli r3, r27, 0x38 +/* 8031D968 0031A8C8 80 9A 00 3C */ lwz r4, 0x3c(r26) +/* 8031D96C 0031A8CC 80 1A 00 74 */ lwz r0, 0x74(r26) +/* 8031D970 0031A8D0 7F C4 1A 14 */ add r30, r4, r3 +/* 8031D974 0031A8D4 90 1E 00 28 */ stw r0, 0x28(r30) +/* 8031D978 0031A8D8 80 7A 00 28 */ lwz r3, 0x28(r26) +/* 8031D97C 0031A8DC 80 63 00 28 */ lwz r3, 0x28(r3) +/* 8031D980 0031A8E0 28 03 00 00 */ cmplwi r3, 0 +/* 8031D984 0031A8E4 41 82 00 1C */ beq lbl_8031D9A0 +/* 8031D988 0031A8E8 81 83 00 00 */ lwz r12, 0(r3) +/* 8031D98C 0031A8EC 7F C5 F3 78 */ mr r5, r30 +/* 8031D990 0031A8F0 38 80 00 00 */ li r4, 0 +/* 8031D994 0031A8F4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031D998 0031A8F8 7D 89 03 A6 */ mtctr r12 +/* 8031D99C 0031A8FC 4E 80 04 21 */ bctrl +lbl_8031D9A0: +/* 8031D9A0 0031A900 80 7E 00 00 */ lwz r3, 0(r30) +/* 8031D9A4 0031A904 48 00 CD D5 */ bl SetParticleLifetime__16CParticleGlobalsFi +/* 8031D9A8 0031A908 38 60 00 00 */ li r3, 0 +/* 8031D9AC 0031A90C 48 00 CC D1 */ bl UpdateParticleLifetimeTweenValues__16CParticleGlobalsFi +/* 8031D9B0 0031A910 93 CD A8 EC */ stw r30, lbl_805A94AC@sda21(r13) +/* 8031D9B4 0031A914 88 1A 02 6D */ lbz r0, 0x26d(r26) +/* 8031D9B8 0031A918 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 8031D9BC 0031A91C 41 82 00 14 */ beq lbl_8031D9D0 +/* 8031D9C0 0031A920 7F 43 D3 78 */ mr r3, r26 +/* 8031D9C4 0031A924 7F 64 DB 78 */ mr r4, r27 +/* 8031D9C8 0031A928 38 A0 00 00 */ li r5, 0 +/* 8031D9CC 0031A92C 48 00 09 E5 */ bl UpdateAdvanceAccessParameters__11CElementGenFii +lbl_8031D9D0: +/* 8031D9D0 0031A930 80 7E 00 00 */ lwz r3, 0(r30) +/* 8031D9D4 0031A934 80 1A 00 74 */ lwz r0, 0x74(r26) +/* 8031D9D8 0031A938 7C 03 02 14 */ add r0, r3, r0 +/* 8031D9DC 0031A93C 90 1E 00 00 */ stw r0, 0(r30) +/* 8031D9E0 0031A940 80 7A 00 28 */ lwz r3, 0x28(r26) +/* 8031D9E4 0031A944 80 63 00 24 */ lwz r3, 0x24(r3) +/* 8031D9E8 0031A948 28 03 00 00 */ cmplwi r3, 0 +/* 8031D9EC 0031A94C 41 82 00 20 */ beq lbl_8031DA0C +/* 8031D9F0 0031A950 81 83 00 00 */ lwz r12, 0(r3) +/* 8031D9F4 0031A954 38 BE 00 34 */ addi r5, r30, 0x34 +/* 8031D9F8 0031A958 38 80 00 00 */ li r4, 0 +/* 8031D9FC 0031A95C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031DA00 0031A960 7D 89 03 A6 */ mtctr r12 +/* 8031DA04 0031A964 4E 80 04 21 */ bctrl +/* 8031DA08 0031A968 48 00 00 0C */ b lbl_8031DA14 +lbl_8031DA0C: +/* 8031DA0C 0031A96C 38 00 FF FF */ li r0, -1 +/* 8031DA10 0031A970 90 1E 00 34 */ stw r0, 0x34(r30) +lbl_8031DA14: +/* 8031DA14 0031A974 80 7A 00 28 */ lwz r3, 0x28(r26) +/* 8031DA18 0031A978 80 63 00 2C */ lwz r3, 0x2c(r3) +/* 8031DA1C 0031A97C 28 03 00 00 */ cmplwi r3, 0 +/* 8031DA20 0031A980 41 82 00 C4 */ beq lbl_8031DAE4 +/* 8031DA24 0031A984 81 83 00 00 */ lwz r12, 0(r3) +/* 8031DA28 0031A988 38 BE 00 04 */ addi r5, r30, 4 +/* 8031DA2C 0031A98C 38 DE 00 1C */ addi r6, r30, 0x1c +/* 8031DA30 0031A990 80 9A 00 74 */ lwz r4, 0x74(r26) +/* 8031DA34 0031A994 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031DA38 0031A998 7D 89 03 A6 */ mtctr r12 +/* 8031DA3C 0031A99C 4E 80 04 21 */ bctrl +/* 8031DA40 0031A9A0 38 61 00 98 */ addi r3, r1, 0x98 +/* 8031DA44 0031A9A4 38 9A 01 3C */ addi r4, r26, 0x13c +/* 8031DA48 0031A9A8 38 BA 01 A8 */ addi r5, r26, 0x1a8 +/* 8031DA4C 0031A9AC 4B FF 4F 05 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8031DA50 0031A9B0 38 61 00 24 */ addi r3, r1, 0x24 +/* 8031DA54 0031A9B4 38 81 00 98 */ addi r4, r1, 0x98 +/* 8031DA58 0031A9B8 38 BA 00 DC */ addi r5, r26, 0xdc +/* 8031DA5C 0031A9BC 4B FF 50 8D */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8031DA60 0031A9C0 38 61 00 30 */ addi r3, r1, 0x30 +/* 8031DA64 0031A9C4 38 9A 01 D8 */ addi r4, r26, 0x1d8 +/* 8031DA68 0031A9C8 38 BE 00 04 */ addi r5, r30, 4 +/* 8031DA6C 0031A9CC 4B FF 50 15 */ bl Rotate__12CTransform4fCFRC9CVector3f +/* 8031DA70 0031A9D0 C0 21 00 30 */ lfs f1, 0x30(r1) +/* 8031DA74 0031A9D4 38 61 00 18 */ addi r3, r1, 0x18 +/* 8031DA78 0031A9D8 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 8031DA7C 0031A9DC 38 9A 01 D8 */ addi r4, r26, 0x1d8 +/* 8031DA80 0031A9E0 C0 61 00 34 */ lfs f3, 0x34(r1) +/* 8031DA84 0031A9E4 38 BE 00 1C */ addi r5, r30, 0x1c +/* 8031DA88 0031A9E8 C0 41 00 28 */ lfs f2, 0x28(r1) +/* 8031DA8C 0031A9EC EC 21 00 2A */ fadds f1, f1, f0 +/* 8031DA90 0031A9F0 C0 1A 00 F4 */ lfs f0, 0xf4(r26) +/* 8031DA94 0031A9F4 EC A3 10 2A */ fadds f5, f3, f2 +/* 8031DA98 0031A9F8 C0 9A 00 F8 */ lfs f4, 0xf8(r26) +/* 8031DA9C 0031A9FC C0 61 00 38 */ lfs f3, 0x38(r1) +/* 8031DAA0 0031AA00 EC 01 00 2A */ fadds f0, f1, f0 +/* 8031DAA4 0031AA04 C0 41 00 2C */ lfs f2, 0x2c(r1) +/* 8031DAA8 0031AA08 C0 3A 00 FC */ lfs f1, 0xfc(r26) +/* 8031DAAC 0031AA0C EC 43 10 2A */ fadds f2, f3, f2 +/* 8031DAB0 0031AA10 EC 65 20 2A */ fadds f3, f5, f4 +/* 8031DAB4 0031AA14 D0 1E 00 04 */ stfs f0, 4(r30) +/* 8031DAB8 0031AA18 EC 02 08 2A */ fadds f0, f2, f1 +/* 8031DABC 0031AA1C D0 7E 00 08 */ stfs f3, 8(r30) +/* 8031DAC0 0031AA20 D0 1E 00 0C */ stfs f0, 0xc(r30) +/* 8031DAC4 0031AA24 4B FF 4F BD */ bl Rotate__12CTransform4fCFRC9CVector3f +/* 8031DAC8 0031AA28 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 8031DACC 0031AA2C D0 1E 00 1C */ stfs f0, 0x1c(r30) +/* 8031DAD0 0031AA30 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 8031DAD4 0031AA34 D0 1E 00 20 */ stfs f0, 0x20(r30) +/* 8031DAD8 0031AA38 C0 01 00 20 */ lfs f0, 0x20(r1) +/* 8031DADC 0031AA3C D0 1E 00 24 */ stfs f0, 0x24(r30) +/* 8031DAE0 0031AA40 48 00 00 70 */ b lbl_8031DB50 +lbl_8031DAE4: +/* 8031DAE4 0031AA44 38 61 00 68 */ addi r3, r1, 0x68 +/* 8031DAE8 0031AA48 38 9A 01 3C */ addi r4, r26, 0x13c +/* 8031DAEC 0031AA4C 38 BA 01 A8 */ addi r5, r26, 0x1a8 +/* 8031DAF0 0031AA50 4B FF 4E 61 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8031DAF4 0031AA54 38 61 00 0C */ addi r3, r1, 0xc +/* 8031DAF8 0031AA58 38 81 00 68 */ addi r4, r1, 0x68 +/* 8031DAFC 0031AA5C 38 BA 00 DC */ addi r5, r26, 0xdc +/* 8031DB00 0031AA60 4B FF 4F E9 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8031DB04 0031AA64 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 8031DB08 0031AA68 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8031DB0C 0031AA6C C0 1A 00 F4 */ lfs f0, 0xf4(r26) +/* 8031DB10 0031AA70 C0 81 00 10 */ lfs f4, 0x10(r1) +/* 8031DB14 0031AA74 C0 7A 00 F8 */ lfs f3, 0xf8(r26) +/* 8031DB18 0031AA78 EC 01 00 2A */ fadds f0, f1, f0 +/* 8031DB1C 0031AA7C C0 41 00 14 */ lfs f2, 0x14(r1) +/* 8031DB20 0031AA80 C0 3A 00 FC */ lfs f1, 0xfc(r26) +/* 8031DB24 0031AA84 EC 64 18 2A */ fadds f3, f4, f3 +/* 8031DB28 0031AA88 D0 1E 00 04 */ stfs f0, 4(r30) +/* 8031DB2C 0031AA8C EC 02 08 2A */ fadds f0, f2, f1 +/* 8031DB30 0031AA90 D0 7E 00 08 */ stfs f3, 8(r30) +/* 8031DB34 0031AA94 D0 1E 00 0C */ stfs f0, 0xc(r30) +/* 8031DB38 0031AA98 C0 03 66 A0 */ lfs f0, skZero3f@l(r3) +/* 8031DB3C 0031AA9C D0 1E 00 1C */ stfs f0, 0x1c(r30) +/* 8031DB40 0031AAA0 C0 1F 00 04 */ lfs f0, 4(r31) +/* 8031DB44 0031AAA4 D0 1E 00 20 */ stfs f0, 0x20(r30) +/* 8031DB48 0031AAA8 C0 1F 00 08 */ lfs f0, 8(r31) +/* 8031DB4C 0031AAAC D0 1E 00 24 */ stfs f0, 0x24(r30) +lbl_8031DB50: +/* 8031DB50 0031AAB0 C0 1E 00 04 */ lfs f0, 4(r30) +/* 8031DB54 0031AAB4 D0 1E 00 10 */ stfs f0, 0x10(r30) +/* 8031DB58 0031AAB8 C0 1E 00 08 */ lfs f0, 8(r30) +/* 8031DB5C 0031AABC D0 1E 00 14 */ stfs f0, 0x14(r30) +/* 8031DB60 0031AAC0 C0 1E 00 0C */ lfs f0, 0xc(r30) +/* 8031DB64 0031AAC4 D0 1E 00 18 */ stfs f0, 0x18(r30) +/* 8031DB68 0031AAC8 88 1A 02 6C */ lbz r0, 0x26c(r26) +/* 8031DB6C 0031AACC 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 8031DB70 0031AAD0 41 82 00 70 */ beq lbl_8031DBE0 +/* 8031DB74 0031AAD4 80 7A 00 28 */ lwz r3, 0x28(r26) +/* 8031DB78 0031AAD8 80 63 00 14 */ lwz r3, 0x14(r3) +/* 8031DB7C 0031AADC 28 03 00 00 */ cmplwi r3, 0 +/* 8031DB80 0031AAE0 41 82 00 20 */ beq lbl_8031DBA0 +/* 8031DB84 0031AAE4 81 83 00 00 */ lwz r12, 0(r3) +/* 8031DB88 0031AAE8 38 BE 00 2C */ addi r5, r30, 0x2c +/* 8031DB8C 0031AAEC 38 80 00 00 */ li r4, 0 +/* 8031DB90 0031AAF0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031DB94 0031AAF4 7D 89 03 A6 */ mtctr r12 +/* 8031DB98 0031AAF8 4E 80 04 21 */ bctrl +/* 8031DB9C 0031AAFC 48 00 00 0C */ b lbl_8031DBA8 +lbl_8031DBA0: +/* 8031DBA0 0031AB00 C0 02 C9 F0 */ lfs f0, lbl_805AE710@sda21(r2) +/* 8031DBA4 0031AB04 D0 1E 00 2C */ stfs f0, 0x2c(r30) +lbl_8031DBA8: +/* 8031DBA8 0031AB08 80 7A 00 28 */ lwz r3, 0x28(r26) +/* 8031DBAC 0031AB0C 80 63 00 18 */ lwz r3, 0x18(r3) +/* 8031DBB0 0031AB10 28 03 00 00 */ cmplwi r3, 0 +/* 8031DBB4 0031AB14 41 82 00 20 */ beq lbl_8031DBD4 +/* 8031DBB8 0031AB18 81 83 00 00 */ lwz r12, 0(r3) +/* 8031DBBC 0031AB1C 38 BE 00 30 */ addi r5, r30, 0x30 +/* 8031DBC0 0031AB20 38 80 00 00 */ li r4, 0 +/* 8031DBC4 0031AB24 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031DBC8 0031AB28 7D 89 03 A6 */ mtctr r12 +/* 8031DBCC 0031AB2C 4E 80 04 21 */ bctrl +/* 8031DBD0 0031AB30 48 00 00 78 */ b lbl_8031DC48 +lbl_8031DBD4: +/* 8031DBD4 0031AB34 C0 02 C9 F0 */ lfs f0, lbl_805AE710@sda21(r2) +/* 8031DBD8 0031AB38 D0 1E 00 30 */ stfs f0, 0x30(r30) +/* 8031DBDC 0031AB3C 48 00 00 6C */ b lbl_8031DC48 +lbl_8031DBE0: +/* 8031DBE0 0031AB40 80 7A 00 28 */ lwz r3, 0x28(r26) +/* 8031DBE4 0031AB44 80 63 00 3C */ lwz r3, 0x3c(r3) +/* 8031DBE8 0031AB48 28 03 00 00 */ cmplwi r3, 0 +/* 8031DBEC 0031AB4C 41 82 00 20 */ beq lbl_8031DC0C +/* 8031DBF0 0031AB50 81 83 00 00 */ lwz r12, 0(r3) +/* 8031DBF4 0031AB54 38 BE 00 30 */ addi r5, r30, 0x30 +/* 8031DBF8 0031AB58 38 80 00 00 */ li r4, 0 +/* 8031DBFC 0031AB5C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031DC00 0031AB60 7D 89 03 A6 */ mtctr r12 +/* 8031DC04 0031AB64 4E 80 04 21 */ bctrl +/* 8031DC08 0031AB68 48 00 00 0C */ b lbl_8031DC14 +lbl_8031DC0C: +/* 8031DC0C 0031AB6C C0 02 C9 E8 */ lfs f0, lbl_805AE708@sda21(r2) +/* 8031DC10 0031AB70 D0 1E 00 30 */ stfs f0, 0x30(r30) +lbl_8031DC14: +/* 8031DC14 0031AB74 80 7A 00 28 */ lwz r3, 0x28(r26) +/* 8031DC18 0031AB78 80 63 00 38 */ lwz r3, 0x38(r3) +/* 8031DC1C 0031AB7C 28 03 00 00 */ cmplwi r3, 0 +/* 8031DC20 0031AB80 41 82 00 20 */ beq lbl_8031DC40 +/* 8031DC24 0031AB84 81 83 00 00 */ lwz r12, 0(r3) +/* 8031DC28 0031AB88 38 BE 00 2C */ addi r5, r30, 0x2c +/* 8031DC2C 0031AB8C 38 80 00 00 */ li r4, 0 +/* 8031DC30 0031AB90 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031DC34 0031AB94 7D 89 03 A6 */ mtctr r12 +/* 8031DC38 0031AB98 4E 80 04 21 */ bctrl +/* 8031DC3C 0031AB9C 48 00 00 0C */ b lbl_8031DC48 +lbl_8031DC40: +/* 8031DC40 0031ABA0 C0 02 CA 30 */ lfs f0, lbl_805AE750@sda21(r2) +/* 8031DC44 0031ABA4 D0 1E 00 2C */ stfs f0, 0x2c(r30) +lbl_8031DC48: +/* 8031DC48 0031ABA8 C0 3E 00 2C */ lfs f1, 0x2c(r30) +/* 8031DC4C 0031ABAC 7F 43 D3 78 */ mr r3, r26 +/* 8031DC50 0031ABB0 38 9E 00 04 */ addi r4, r30, 4 +/* 8031DC54 0031ABB4 4B FF A0 C5 */ bl AccumulateBounds__11CElementGenFRC9CVector3ff +/* 8031DC58 0031ABB8 3B 9C 00 01 */ addi r28, r28, 1 +lbl_8031DC5C: +/* 8031DC5C 0031ABBC 7C 1C E8 00 */ cmpw r28, r29 +/* 8031DC60 0031ABC0 41 80 FC 48 */ blt lbl_8031D8A8 +/* 8031DC64 0031ABC4 38 61 00 3C */ addi r3, r1, 0x3c +/* 8031DC68 0031ABC8 38 80 FF FF */ li r4, -1 +/* 8031DC6C 0031ABCC 4B FF 49 99 */ bl __dt__13CGlobalRandomFv +lbl_8031DC70: +/* 8031DC70 0031ABD0 BB 41 01 28 */ lmw r26, 0x128(r1) +/* 8031DC74 0031ABD4 80 01 01 44 */ lwz r0, 0x144(r1) +/* 8031DC78 0031ABD8 7C 08 03 A6 */ mtlr r0 +/* 8031DC7C 0031ABDC 38 21 01 40 */ addi r1, r1, 0x140 +/* 8031DC80 0031ABE0 4E 80 00 20 */ blr + +.global sub_8031dc84 +sub_8031dc84: +/* 8031DC84 0031ABE4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8031DC88 0031ABE8 7C 08 02 A6 */ mflr r0 +/* 8031DC8C 0031ABEC 90 01 00 14 */ stw r0, 0x14(r1) +/* 8031DC90 0031ABF0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8031DC94 0031ABF4 7C 9F 23 78 */ mr r31, r4 +/* 8031DC98 0031ABF8 93 C1 00 08 */ stw r30, 8(r1) +/* 8031DC9C 0031ABFC 7C 7E 1B 78 */ mr r30, r3 +/* 8031DCA0 0031AC00 80 03 00 04 */ lwz r0, 4(r3) +/* 8031DCA4 0031AC04 80 A3 00 08 */ lwz r5, 8(r3) +/* 8031DCA8 0031AC08 7C 00 28 00 */ cmpw r0, r5 +/* 8031DCAC 0031AC0C 41 80 00 18 */ blt lbl_8031DCC4 +/* 8031DCB0 0031AC10 2C 05 00 00 */ cmpwi r5, 0 +/* 8031DCB4 0031AC14 38 80 00 04 */ li r4, 4 +/* 8031DCB8 0031AC18 41 82 00 08 */ beq lbl_8031DCC0 +/* 8031DCBC 0031AC1C 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8031DCC0: +/* 8031DCC0 0031AC20 48 00 27 01 */ bl sub_803203c0 +lbl_8031DCC4: +/* 8031DCC4 0031AC24 80 1E 00 04 */ lwz r0, 4(r30) +/* 8031DCC8 0031AC28 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8031DCCC 0031AC2C 1C 00 00 38 */ mulli r0, r0, 0x38 +/* 8031DCD0 0031AC30 7C 63 02 15 */ add. r3, r3, r0 +/* 8031DCD4 0031AC34 41 82 00 74 */ beq lbl_8031DD48 +/* 8031DCD8 0031AC38 80 1F 00 00 */ lwz r0, 0(r31) +/* 8031DCDC 0031AC3C 90 03 00 00 */ stw r0, 0(r3) +/* 8031DCE0 0031AC40 C0 1F 00 04 */ lfs f0, 4(r31) +/* 8031DCE4 0031AC44 D0 03 00 04 */ stfs f0, 4(r3) +/* 8031DCE8 0031AC48 C0 1F 00 08 */ lfs f0, 8(r31) +/* 8031DCEC 0031AC4C D0 03 00 08 */ stfs f0, 8(r3) +/* 8031DCF0 0031AC50 C0 1F 00 0C */ lfs f0, 0xc(r31) +/* 8031DCF4 0031AC54 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 8031DCF8 0031AC58 C0 1F 00 10 */ lfs f0, 0x10(r31) +/* 8031DCFC 0031AC5C D0 03 00 10 */ stfs f0, 0x10(r3) +/* 8031DD00 0031AC60 C0 1F 00 14 */ lfs f0, 0x14(r31) +/* 8031DD04 0031AC64 D0 03 00 14 */ stfs f0, 0x14(r3) +/* 8031DD08 0031AC68 C0 1F 00 18 */ lfs f0, 0x18(r31) +/* 8031DD0C 0031AC6C D0 03 00 18 */ stfs f0, 0x18(r3) +/* 8031DD10 0031AC70 C0 1F 00 1C */ lfs f0, 0x1c(r31) +/* 8031DD14 0031AC74 D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 8031DD18 0031AC78 C0 1F 00 20 */ lfs f0, 0x20(r31) +/* 8031DD1C 0031AC7C D0 03 00 20 */ stfs f0, 0x20(r3) +/* 8031DD20 0031AC80 C0 1F 00 24 */ lfs f0, 0x24(r31) +/* 8031DD24 0031AC84 D0 03 00 24 */ stfs f0, 0x24(r3) +/* 8031DD28 0031AC88 80 1F 00 28 */ lwz r0, 0x28(r31) +/* 8031DD2C 0031AC8C 90 03 00 28 */ stw r0, 0x28(r3) +/* 8031DD30 0031AC90 C0 1F 00 2C */ lfs f0, 0x2c(r31) +/* 8031DD34 0031AC94 D0 03 00 2C */ stfs f0, 0x2c(r3) +/* 8031DD38 0031AC98 C0 1F 00 30 */ lfs f0, 0x30(r31) +/* 8031DD3C 0031AC9C D0 03 00 30 */ stfs f0, 0x30(r3) +/* 8031DD40 0031ACA0 80 1F 00 34 */ lwz r0, 0x34(r31) +/* 8031DD44 0031ACA4 90 03 00 34 */ stw r0, 0x34(r3) +lbl_8031DD48: +/* 8031DD48 0031ACA8 80 7E 00 04 */ lwz r3, 4(r30) +/* 8031DD4C 0031ACAC 38 03 00 01 */ addi r0, r3, 1 +/* 8031DD50 0031ACB0 90 1E 00 04 */ stw r0, 4(r30) +/* 8031DD54 0031ACB4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8031DD58 0031ACB8 83 C1 00 08 */ lwz r30, 8(r1) +/* 8031DD5C 0031ACBC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8031DD60 0031ACC0 7C 08 03 A6 */ mtlr r0 +/* 8031DD64 0031ACC4 38 21 00 10 */ addi r1, r1, 0x10 +/* 8031DD68 0031ACC8 4E 80 00 20 */ blr + +.global UpdateExistingParticles__11CElementGenFv +UpdateExistingParticles__11CElementGenFv: +/* 8031DD6C 0031ACCC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8031DD70 0031ACD0 7C 08 02 A6 */ mflr r0 +/* 8031DD74 0031ACD4 90 01 00 24 */ stw r0, 0x24(r1) +/* 8031DD78 0031ACD8 38 00 00 00 */ li r0, 0 +/* 8031DD7C 0031ACDC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8031DD80 0031ACE0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8031DD84 0031ACE4 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8031DD88 0031ACE8 7C 7D 1B 78 */ mr r29, r3 +/* 8031DD8C 0031ACEC 83 E3 00 3C */ lwz r31, 0x3c(r3) +/* 8031DD90 0031ACF0 90 03 02 5C */ stw r0, 0x25c(r3) +/* 8031DD94 0031ACF4 80 63 00 74 */ lwz r3, 0x74(r3) +/* 8031DD98 0031ACF8 48 00 C9 B1 */ bl SetEmitterTime__16CParticleGlobalsFi +/* 8031DD9C 0031ACFC 38 00 00 00 */ li r0, 0 +/* 8031DDA0 0031AD00 90 0D A8 F0 */ stw r0, lbl_805A94B0@sda21(r13) +/* 8031DDA4 0031AD04 48 00 03 98 */ b lbl_8031E13C +lbl_8031DDA8: +/* 8031DDA8 0031AD08 80 7F 00 00 */ lwz r3, 0(r31) +/* 8031DDAC 0031AD0C 80 1D 00 74 */ lwz r0, 0x74(r29) +/* 8031DDB0 0031AD10 7C 03 00 00 */ cmpw r3, r0 +/* 8031DDB4 0031AD14 40 80 01 84 */ bge lbl_8031DF38 +/* 8031DDB8 0031AD18 80 6D A8 B0 */ lwz r3, lbl_805A9470@sda21(r13) +/* 8031DDBC 0031AD1C 38 1F 00 38 */ addi r0, r31, 0x38 +/* 8031DDC0 0031AD20 38 63 FF FF */ addi r3, r3, -1 +/* 8031DDC4 0031AD24 90 6D A8 B0 */ stw r3, lbl_805A9470@sda21(r13) +/* 8031DDC8 0031AD28 80 9D 00 34 */ lwz r4, 0x34(r29) +/* 8031DDCC 0031AD2C 80 BD 00 3C */ lwz r5, 0x3c(r29) +/* 8031DDD0 0031AD30 1C 64 00 38 */ mulli r3, r4, 0x38 +/* 8031DDD4 0031AD34 7C 65 1A 14 */ add r3, r5, r3 +/* 8031DDD8 0031AD38 7C 00 18 40 */ cmplw r0, r3 +/* 8031DDDC 0031AD3C 40 82 00 10 */ bne lbl_8031DDEC +/* 8031DDE0 0031AD40 38 04 FF FF */ addi r0, r4, -1 +/* 8031DDE4 0031AD44 90 1D 00 34 */ stw r0, 0x34(r29) +/* 8031DDE8 0031AD48 48 00 03 6C */ b lbl_8031E154 +lbl_8031DDEC: +/* 8031DDEC 0031AD4C 38 04 FF FF */ addi r0, r4, -1 +/* 8031DDF0 0031AD50 1C 00 00 38 */ mulli r0, r0, 0x38 +/* 8031DDF4 0031AD54 7C 85 02 14 */ add r4, r5, r0 +/* 8031DDF8 0031AD58 80 04 00 00 */ lwz r0, 0(r4) +/* 8031DDFC 0031AD5C 90 1F 00 00 */ stw r0, 0(r31) +/* 8031DE00 0031AD60 80 64 00 04 */ lwz r3, 4(r4) +/* 8031DE04 0031AD64 80 04 00 08 */ lwz r0, 8(r4) +/* 8031DE08 0031AD68 90 7F 00 04 */ stw r3, 4(r31) +/* 8031DE0C 0031AD6C 90 1F 00 08 */ stw r0, 8(r31) +/* 8031DE10 0031AD70 80 04 00 0C */ lwz r0, 0xc(r4) +/* 8031DE14 0031AD74 90 1F 00 0C */ stw r0, 0xc(r31) +/* 8031DE18 0031AD78 80 64 00 10 */ lwz r3, 0x10(r4) +/* 8031DE1C 0031AD7C 80 04 00 14 */ lwz r0, 0x14(r4) +/* 8031DE20 0031AD80 90 7F 00 10 */ stw r3, 0x10(r31) +/* 8031DE24 0031AD84 90 1F 00 14 */ stw r0, 0x14(r31) +/* 8031DE28 0031AD88 80 04 00 18 */ lwz r0, 0x18(r4) +/* 8031DE2C 0031AD8C 90 1F 00 18 */ stw r0, 0x18(r31) +/* 8031DE30 0031AD90 80 64 00 1C */ lwz r3, 0x1c(r4) +/* 8031DE34 0031AD94 80 04 00 20 */ lwz r0, 0x20(r4) +/* 8031DE38 0031AD98 90 7F 00 1C */ stw r3, 0x1c(r31) +/* 8031DE3C 0031AD9C 90 1F 00 20 */ stw r0, 0x20(r31) +/* 8031DE40 0031ADA0 80 04 00 24 */ lwz r0, 0x24(r4) +/* 8031DE44 0031ADA4 90 1F 00 24 */ stw r0, 0x24(r31) +/* 8031DE48 0031ADA8 80 04 00 28 */ lwz r0, 0x28(r4) +/* 8031DE4C 0031ADAC 90 1F 00 28 */ stw r0, 0x28(r31) +/* 8031DE50 0031ADB0 C0 04 00 2C */ lfs f0, 0x2c(r4) +/* 8031DE54 0031ADB4 D0 1F 00 2C */ stfs f0, 0x2c(r31) +/* 8031DE58 0031ADB8 C0 04 00 30 */ lfs f0, 0x30(r4) +/* 8031DE5C 0031ADBC D0 1F 00 30 */ stfs f0, 0x30(r31) +/* 8031DE60 0031ADC0 80 04 00 34 */ lwz r0, 0x34(r4) +/* 8031DE64 0031ADC4 90 1F 00 34 */ stw r0, 0x34(r31) +/* 8031DE68 0031ADC8 80 1D 00 2C */ lwz r0, 0x2c(r29) +/* 8031DE6C 0031ADCC 2C 00 00 01 */ cmpwi r0, 1 +/* 8031DE70 0031ADD0 40 82 00 28 */ bne lbl_8031DE98 +/* 8031DE74 0031ADD4 80 7D 00 34 */ lwz r3, 0x34(r29) +/* 8031DE78 0031ADD8 80 1D 02 5C */ lwz r0, 0x25c(r29) +/* 8031DE7C 0031ADDC 38 63 FF FF */ addi r3, r3, -1 +/* 8031DE80 0031ADE0 80 BD 00 5C */ lwz r5, 0x5c(r29) +/* 8031DE84 0031ADE4 1C 63 00 24 */ mulli r3, r3, 0x24 +/* 8031DE88 0031ADE8 1C 00 00 24 */ mulli r0, r0, 0x24 +/* 8031DE8C 0031ADEC 7C 85 1A 14 */ add r4, r5, r3 +/* 8031DE90 0031ADF0 7C 65 02 14 */ add r3, r5, r0 +/* 8031DE94 0031ADF4 4B FF 21 65 */ bl __as__9CMatrix3fFRC9CMatrix3f +lbl_8031DE98: +/* 8031DE98 0031ADF8 88 1D 02 6D */ lbz r0, 0x26d(r29) +/* 8031DE9C 0031ADFC 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 8031DEA0 0031AE00 41 82 00 64 */ beq lbl_8031DF04 +/* 8031DEA4 0031AE04 80 7D 00 34 */ lwz r3, 0x34(r29) +/* 8031DEA8 0031AE08 80 1D 02 5C */ lwz r0, 0x25c(r29) +/* 8031DEAC 0031AE0C 38 63 FF FF */ addi r3, r3, -1 +/* 8031DEB0 0031AE10 80 9D 00 6C */ lwz r4, 0x6c(r29) +/* 8031DEB4 0031AE14 54 63 28 34 */ slwi r3, r3, 5 +/* 8031DEB8 0031AE18 54 00 28 34 */ slwi r0, r0, 5 +/* 8031DEBC 0031AE1C 7C A4 1A 14 */ add r5, r4, r3 +/* 8031DEC0 0031AE20 80 65 00 00 */ lwz r3, 0(r5) +/* 8031DEC4 0031AE24 7C 84 02 14 */ add r4, r4, r0 +/* 8031DEC8 0031AE28 80 05 00 04 */ lwz r0, 4(r5) +/* 8031DECC 0031AE2C 90 64 00 00 */ stw r3, 0(r4) +/* 8031DED0 0031AE30 90 04 00 04 */ stw r0, 4(r4) +/* 8031DED4 0031AE34 80 65 00 08 */ lwz r3, 8(r5) +/* 8031DED8 0031AE38 80 05 00 0C */ lwz r0, 0xc(r5) +/* 8031DEDC 0031AE3C 90 64 00 08 */ stw r3, 8(r4) +/* 8031DEE0 0031AE40 90 04 00 0C */ stw r0, 0xc(r4) +/* 8031DEE4 0031AE44 80 65 00 10 */ lwz r3, 0x10(r5) +/* 8031DEE8 0031AE48 80 05 00 14 */ lwz r0, 0x14(r5) +/* 8031DEEC 0031AE4C 90 64 00 10 */ stw r3, 0x10(r4) +/* 8031DEF0 0031AE50 90 04 00 14 */ stw r0, 0x14(r4) +/* 8031DEF4 0031AE54 80 65 00 18 */ lwz r3, 0x18(r5) +/* 8031DEF8 0031AE58 80 05 00 1C */ lwz r0, 0x1c(r5) +/* 8031DEFC 0031AE5C 90 64 00 18 */ stw r3, 0x18(r4) +/* 8031DF00 0031AE60 90 04 00 1C */ stw r0, 0x1c(r4) +lbl_8031DF04: +/* 8031DF04 0031AE64 80 7D 00 34 */ lwz r3, 0x34(r29) +/* 8031DF08 0031AE68 38 03 FF FF */ addi r0, r3, -1 +/* 8031DF0C 0031AE6C 90 1D 00 34 */ stw r0, 0x34(r29) +/* 8031DF10 0031AE70 80 1D 00 34 */ lwz r0, 0x34(r29) +/* 8031DF14 0031AE74 80 7D 00 3C */ lwz r3, 0x3c(r29) +/* 8031DF18 0031AE78 1C 00 00 38 */ mulli r0, r0, 0x38 +/* 8031DF1C 0031AE7C 7C 03 02 14 */ add r0, r3, r0 +/* 8031DF20 0031AE80 7C 1F 00 40 */ cmplw r31, r0 +/* 8031DF24 0031AE84 41 82 00 14 */ beq lbl_8031DF38 +/* 8031DF28 0031AE88 80 7F 00 00 */ lwz r3, 0(r31) +/* 8031DF2C 0031AE8C 80 1D 00 74 */ lwz r0, 0x74(r29) +/* 8031DF30 0031AE90 7C 03 00 00 */ cmpw r3, r0 +/* 8031DF34 0031AE94 41 80 02 08 */ blt lbl_8031E13C +lbl_8031DF38: +/* 8031DF38 0031AE98 C0 1F 00 04 */ lfs f0, 4(r31) +/* 8031DF3C 0031AE9C D0 1F 00 10 */ stfs f0, 0x10(r31) +/* 8031DF40 0031AEA0 C0 1F 00 08 */ lfs f0, 8(r31) +/* 8031DF44 0031AEA4 D0 1F 00 14 */ stfs f0, 0x14(r31) +/* 8031DF48 0031AEA8 C0 1F 00 0C */ lfs f0, 0xc(r31) +/* 8031DF4C 0031AEAC D0 1F 00 18 */ stfs f0, 0x18(r31) +/* 8031DF50 0031AEB0 C0 3F 00 04 */ lfs f1, 4(r31) +/* 8031DF54 0031AEB4 C0 1F 00 1C */ lfs f0, 0x1c(r31) +/* 8031DF58 0031AEB8 EC 01 00 2A */ fadds f0, f1, f0 +/* 8031DF5C 0031AEBC D0 1F 00 04 */ stfs f0, 4(r31) +/* 8031DF60 0031AEC0 C0 3F 00 08 */ lfs f1, 8(r31) +/* 8031DF64 0031AEC4 C0 1F 00 20 */ lfs f0, 0x20(r31) +/* 8031DF68 0031AEC8 EC 01 00 2A */ fadds f0, f1, f0 +/* 8031DF6C 0031AECC D0 1F 00 08 */ stfs f0, 8(r31) +/* 8031DF70 0031AED0 C0 3F 00 0C */ lfs f1, 0xc(r31) +/* 8031DF74 0031AED4 C0 1F 00 24 */ lfs f0, 0x24(r31) +/* 8031DF78 0031AED8 EC 01 00 2A */ fadds f0, f1, f0 +/* 8031DF7C 0031AEDC D0 1F 00 0C */ stfs f0, 0xc(r31) +/* 8031DF80 0031AEE0 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031DF84 0031AEE4 80 1D 00 74 */ lwz r0, 0x74(r29) +/* 8031DF88 0031AEE8 93 ED A8 EC */ stw r31, lbl_805A94AC@sda21(r13) +/* 8031DF8C 0031AEEC 7F C3 00 50 */ subf r30, r3, r0 +/* 8031DF90 0031AEF0 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031DF94 0031AEF4 80 1F 00 00 */ lwz r0, 0(r31) +/* 8031DF98 0031AEF8 7C 63 00 50 */ subf r3, r3, r0 +/* 8031DF9C 0031AEFC 48 00 C7 DD */ bl SetParticleLifetime__16CParticleGlobalsFi +/* 8031DFA0 0031AF00 7F C3 F3 78 */ mr r3, r30 +/* 8031DFA4 0031AF04 48 00 C6 D9 */ bl UpdateParticleLifetimeTweenValues__16CParticleGlobalsFi +/* 8031DFA8 0031AF08 88 1D 02 6D */ lbz r0, 0x26d(r29) +/* 8031DFAC 0031AF0C 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 8031DFB0 0031AF10 41 82 00 14 */ beq lbl_8031DFC4 +/* 8031DFB4 0031AF14 80 9D 02 5C */ lwz r4, 0x25c(r29) +/* 8031DFB8 0031AF18 7F A3 EB 78 */ mr r3, r29 +/* 8031DFBC 0031AF1C 7F C5 F3 78 */ mr r5, r30 +/* 8031DFC0 0031AF20 48 00 03 F1 */ bl UpdateAdvanceAccessParameters__11CElementGenFii +lbl_8031DFC4: +/* 8031DFC4 0031AF24 80 7D 02 5C */ lwz r3, 0x25c(r29) +/* 8031DFC8 0031AF28 38 03 00 01 */ addi r0, r3, 1 +/* 8031DFCC 0031AF2C 90 1D 02 5C */ stw r0, 0x25c(r29) +/* 8031DFD0 0031AF30 80 1D 02 80 */ lwz r0, 0x280(r29) +/* 8031DFD4 0031AF34 28 00 00 00 */ cmplwi r0, 0 +/* 8031DFD8 0031AF38 41 82 00 78 */ beq lbl_8031E050 +/* 8031DFDC 0031AF3C 7F A3 EB 78 */ mr r3, r29 +/* 8031DFE0 0031AF40 7F C5 F3 78 */ mr r5, r30 +/* 8031DFE4 0031AF44 7F E6 FB 78 */ mr r6, r31 +/* 8031DFE8 0031AF48 38 80 00 00 */ li r4, 0 +/* 8031DFEC 0031AF4C 48 00 02 05 */ bl UpdateVelocitySource__11CElementGenFiiRQ211CElementGen9CParticle +/* 8031DFF0 0031AF50 80 1D 02 84 */ lwz r0, 0x284(r29) +/* 8031DFF4 0031AF54 28 00 00 00 */ cmplwi r0, 0 +/* 8031DFF8 0031AF58 41 82 00 58 */ beq lbl_8031E050 +/* 8031DFFC 0031AF5C 7F A3 EB 78 */ mr r3, r29 +/* 8031E000 0031AF60 7F C5 F3 78 */ mr r5, r30 +/* 8031E004 0031AF64 7F E6 FB 78 */ mr r6, r31 +/* 8031E008 0031AF68 38 80 00 01 */ li r4, 1 +/* 8031E00C 0031AF6C 48 00 01 E5 */ bl UpdateVelocitySource__11CElementGenFiiRQ211CElementGen9CParticle +/* 8031E010 0031AF70 80 1D 02 88 */ lwz r0, 0x288(r29) +/* 8031E014 0031AF74 28 00 00 00 */ cmplwi r0, 0 +/* 8031E018 0031AF78 41 82 00 38 */ beq lbl_8031E050 +/* 8031E01C 0031AF7C 7F A3 EB 78 */ mr r3, r29 +/* 8031E020 0031AF80 7F C5 F3 78 */ mr r5, r30 +/* 8031E024 0031AF84 7F E6 FB 78 */ mr r6, r31 +/* 8031E028 0031AF88 38 80 00 02 */ li r4, 2 +/* 8031E02C 0031AF8C 48 00 01 C5 */ bl UpdateVelocitySource__11CElementGenFiiRQ211CElementGen9CParticle +/* 8031E030 0031AF90 80 1D 02 8C */ lwz r0, 0x28c(r29) +/* 8031E034 0031AF94 28 00 00 00 */ cmplwi r0, 0 +/* 8031E038 0031AF98 41 82 00 18 */ beq lbl_8031E050 +/* 8031E03C 0031AF9C 7F A3 EB 78 */ mr r3, r29 +/* 8031E040 0031AFA0 7F C5 F3 78 */ mr r5, r30 +/* 8031E044 0031AFA4 7F E6 FB 78 */ mr r6, r31 +/* 8031E048 0031AFA8 38 80 00 03 */ li r4, 3 +/* 8031E04C 0031AFAC 48 00 01 A5 */ bl UpdateVelocitySource__11CElementGenFiiRQ211CElementGen9CParticle +lbl_8031E050: +/* 8031E050 0031AFB0 88 1D 02 6C */ lbz r0, 0x26c(r29) +/* 8031E054 0031AFB4 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 8031E058 0031AFB8 41 82 00 58 */ beq lbl_8031E0B0 +/* 8031E05C 0031AFBC 80 7D 00 28 */ lwz r3, 0x28(r29) +/* 8031E060 0031AFC0 80 63 00 14 */ lwz r3, 0x14(r3) +/* 8031E064 0031AFC4 28 03 00 00 */ cmplwi r3, 0 +/* 8031E068 0031AFC8 41 82 00 1C */ beq lbl_8031E084 +/* 8031E06C 0031AFCC 81 83 00 00 */ lwz r12, 0(r3) +/* 8031E070 0031AFD0 7F C4 F3 78 */ mr r4, r30 +/* 8031E074 0031AFD4 38 BF 00 2C */ addi r5, r31, 0x2c +/* 8031E078 0031AFD8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031E07C 0031AFDC 7D 89 03 A6 */ mtctr r12 +/* 8031E080 0031AFE0 4E 80 04 21 */ bctrl +lbl_8031E084: +/* 8031E084 0031AFE4 80 7D 00 28 */ lwz r3, 0x28(r29) +/* 8031E088 0031AFE8 80 63 00 18 */ lwz r3, 0x18(r3) +/* 8031E08C 0031AFEC 28 03 00 00 */ cmplwi r3, 0 +/* 8031E090 0031AFF0 41 82 00 70 */ beq lbl_8031E100 +/* 8031E094 0031AFF4 81 83 00 00 */ lwz r12, 0(r3) +/* 8031E098 0031AFF8 7F C4 F3 78 */ mr r4, r30 +/* 8031E09C 0031AFFC 38 BF 00 30 */ addi r5, r31, 0x30 +/* 8031E0A0 0031B000 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031E0A4 0031B004 7D 89 03 A6 */ mtctr r12 +/* 8031E0A8 0031B008 4E 80 04 21 */ bctrl +/* 8031E0AC 0031B00C 48 00 00 54 */ b lbl_8031E100 +lbl_8031E0B0: +/* 8031E0B0 0031B010 80 7D 00 28 */ lwz r3, 0x28(r29) +/* 8031E0B4 0031B014 80 63 00 3C */ lwz r3, 0x3c(r3) +/* 8031E0B8 0031B018 28 03 00 00 */ cmplwi r3, 0 +/* 8031E0BC 0031B01C 41 82 00 1C */ beq lbl_8031E0D8 +/* 8031E0C0 0031B020 81 83 00 00 */ lwz r12, 0(r3) +/* 8031E0C4 0031B024 7F C4 F3 78 */ mr r4, r30 +/* 8031E0C8 0031B028 38 BF 00 30 */ addi r5, r31, 0x30 +/* 8031E0CC 0031B02C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031E0D0 0031B030 7D 89 03 A6 */ mtctr r12 +/* 8031E0D4 0031B034 4E 80 04 21 */ bctrl +lbl_8031E0D8: +/* 8031E0D8 0031B038 80 7D 00 28 */ lwz r3, 0x28(r29) +/* 8031E0DC 0031B03C 80 63 00 38 */ lwz r3, 0x38(r3) +/* 8031E0E0 0031B040 28 03 00 00 */ cmplwi r3, 0 +/* 8031E0E4 0031B044 41 82 00 1C */ beq lbl_8031E100 +/* 8031E0E8 0031B048 81 83 00 00 */ lwz r12, 0(r3) +/* 8031E0EC 0031B04C 7F C4 F3 78 */ mr r4, r30 +/* 8031E0F0 0031B050 38 BF 00 2C */ addi r5, r31, 0x2c +/* 8031E0F4 0031B054 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031E0F8 0031B058 7D 89 03 A6 */ mtctr r12 +/* 8031E0FC 0031B05C 4E 80 04 21 */ bctrl +lbl_8031E100: +/* 8031E100 0031B060 80 7D 00 28 */ lwz r3, 0x28(r29) +/* 8031E104 0031B064 80 63 00 24 */ lwz r3, 0x24(r3) +/* 8031E108 0031B068 28 03 00 00 */ cmplwi r3, 0 +/* 8031E10C 0031B06C 41 82 00 1C */ beq lbl_8031E128 +/* 8031E110 0031B070 81 83 00 00 */ lwz r12, 0(r3) +/* 8031E114 0031B074 7F C4 F3 78 */ mr r4, r30 +/* 8031E118 0031B078 38 BF 00 34 */ addi r5, r31, 0x34 +/* 8031E11C 0031B07C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031E120 0031B080 7D 89 03 A6 */ mtctr r12 +/* 8031E124 0031B084 4E 80 04 21 */ bctrl +lbl_8031E128: +/* 8031E128 0031B088 C0 3F 00 2C */ lfs f1, 0x2c(r31) +/* 8031E12C 0031B08C 7F A3 EB 78 */ mr r3, r29 +/* 8031E130 0031B090 38 9F 00 04 */ addi r4, r31, 4 +/* 8031E134 0031B094 4B FF 9B E5 */ bl AccumulateBounds__11CElementGenFRC9CVector3ff +/* 8031E138 0031B098 3B FF 00 38 */ addi r31, r31, 0x38 +lbl_8031E13C: +/* 8031E13C 0031B09C 80 1D 00 34 */ lwz r0, 0x34(r29) +/* 8031E140 0031B0A0 80 7D 00 3C */ lwz r3, 0x3c(r29) +/* 8031E144 0031B0A4 1C 00 00 38 */ mulli r0, r0, 0x38 +/* 8031E148 0031B0A8 7C 03 02 14 */ add r0, r3, r0 +/* 8031E14C 0031B0AC 7C 1F 00 40 */ cmplw r31, r0 +/* 8031E150 0031B0B0 40 82 FC 58 */ bne lbl_8031DDA8 +lbl_8031E154: +/* 8031E154 0031B0B4 80 1D 00 34 */ lwz r0, 0x34(r29) +/* 8031E158 0031B0B8 2C 00 00 00 */ cmpwi r0, 0 +/* 8031E15C 0031B0BC 40 81 00 78 */ ble lbl_8031E1D4 +/* 8031E160 0031B0C0 83 DD 00 08 */ lwz r30, 8(r29) +/* 8031E164 0031B0C4 83 FD 00 0C */ lwz r31, 0xc(r29) +/* 8031E168 0031B0C8 48 00 00 64 */ b lbl_8031E1CC +lbl_8031E16C: +/* 8031E16C 0031B0CC 80 7E 00 08 */ lwz r3, 8(r30) +/* 8031E170 0031B0D0 81 83 00 00 */ lwz r12, 0(r3) +/* 8031E174 0031B0D4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031E178 0031B0D8 7D 89 03 A6 */ mtctr r12 +/* 8031E17C 0031B0DC 4E 80 04 21 */ bctrl +/* 8031E180 0031B0E0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8031E184 0031B0E4 41 82 00 44 */ beq lbl_8031E1C8 +/* 8031E188 0031B0E8 80 DD 00 3C */ lwz r6, 0x3c(r29) +/* 8031E18C 0031B0EC 38 A0 00 38 */ li r5, 0x38 +/* 8031E190 0031B0F0 38 66 00 2C */ addi r3, r6, 0x2c +/* 8031E194 0031B0F4 38 06 00 30 */ addi r0, r6, 0x30 +/* 8031E198 0031B0F8 90 61 00 08 */ stw r3, 8(r1) +/* 8031E19C 0031B0FC 38 E6 00 10 */ addi r7, r6, 0x10 +/* 8031E1A0 0031B100 39 06 00 04 */ addi r8, r6, 4 +/* 8031E1A4 0031B104 39 26 00 1C */ addi r9, r6, 0x1c +/* 8031E1A8 0031B108 90 01 00 0C */ stw r0, 0xc(r1) +/* 8031E1AC 0031B10C 39 46 00 34 */ addi r10, r6, 0x34 +/* 8031E1B0 0031B110 80 7E 00 08 */ lwz r3, 8(r30) +/* 8031E1B4 0031B114 80 9D 00 34 */ lwz r4, 0x34(r29) +/* 8031E1B8 0031B118 81 83 00 00 */ lwz r12, 0(r3) +/* 8031E1BC 0031B11C 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 8031E1C0 0031B120 7D 89 03 A6 */ mtctr r12 +/* 8031E1C4 0031B124 4E 80 04 21 */ bctrl +lbl_8031E1C8: +/* 8031E1C8 0031B128 83 DE 00 04 */ lwz r30, 4(r30) +lbl_8031E1CC: +/* 8031E1CC 0031B12C 7C 1E F8 40 */ cmplw r30, r31 +/* 8031E1D0 0031B130 40 82 FF 9C */ bne lbl_8031E16C +lbl_8031E1D4: +/* 8031E1D4 0031B134 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8031E1D8 0031B138 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8031E1DC 0031B13C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8031E1E0 0031B140 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8031E1E4 0031B144 7C 08 03 A6 */ mtlr r0 +/* 8031E1E8 0031B148 38 21 00 20 */ addi r1, r1, 0x20 +/* 8031E1EC 0031B14C 4E 80 00 20 */ blr + +.global UpdateVelocitySource__11CElementGenFiiRQ211CElementGen9CParticle +UpdateVelocitySource__11CElementGenFiiRQ211CElementGen9CParticle: +/* 8031E1F0 0031B150 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 8031E1F4 0031B154 7C 08 02 A6 */ mflr r0 +/* 8031E1F8 0031B158 90 01 00 74 */ stw r0, 0x74(r1) +/* 8031E1FC 0031B15C 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 8031E200 0031B160 7C BF 2B 78 */ mr r31, r5 +/* 8031E204 0031B164 93 C1 00 68 */ stw r30, 0x68(r1) +/* 8031E208 0031B168 7C DE 33 78 */ mr r30, r6 +/* 8031E20C 0031B16C 93 A1 00 64 */ stw r29, 0x64(r1) +/* 8031E210 0031B170 7C 9D 23 78 */ mr r29, r4 +/* 8031E214 0031B174 93 81 00 60 */ stw r28, 0x60(r1) +/* 8031E218 0031B178 7C 7C 1B 78 */ mr r28, r3 +/* 8031E21C 0031B17C 7C 7C EA 14 */ add r3, r28, r29 +/* 8031E220 0031B180 88 03 02 78 */ lbz r0, 0x278(r3) +/* 8031E224 0031B184 28 00 00 00 */ cmplwi r0, 0 +/* 8031E228 0031B188 41 82 01 20 */ beq lbl_8031E348 +/* 8031E22C 0031B18C 38 61 00 38 */ addi r3, r1, 0x38 +/* 8031E230 0031B190 38 9C 02 08 */ addi r4, r28, 0x208 +/* 8031E234 0031B194 38 BE 00 1C */ addi r5, r30, 0x1c +/* 8031E238 0031B198 4B FF 20 5D */ bl __ml__9CMatrix3fCFRC9CVector3f +/* 8031E23C 0031B19C C0 41 00 38 */ lfs f2, 0x38(r1) +/* 8031E240 0031B1A0 38 61 00 2C */ addi r3, r1, 0x2c +/* 8031E244 0031B1A4 C0 21 00 3C */ lfs f1, 0x3c(r1) +/* 8031E248 0031B1A8 38 9C 02 08 */ addi r4, r28, 0x208 +/* 8031E24C 0031B1AC C0 01 00 40 */ lfs f0, 0x40(r1) +/* 8031E250 0031B1B0 38 A1 00 20 */ addi r5, r1, 0x20 +/* 8031E254 0031B1B4 D0 41 00 50 */ stfs f2, 0x50(r1) +/* 8031E258 0031B1B8 D0 21 00 54 */ stfs f1, 0x54(r1) +/* 8031E25C 0031B1BC D0 01 00 58 */ stfs f0, 0x58(r1) +/* 8031E260 0031B1C0 C0 3E 00 08 */ lfs f1, 8(r30) +/* 8031E264 0031B1C4 C0 1C 00 E0 */ lfs f0, 0xe0(r28) +/* 8031E268 0031B1C8 C0 7E 00 0C */ lfs f3, 0xc(r30) +/* 8031E26C 0031B1CC C0 5C 00 E4 */ lfs f2, 0xe4(r28) +/* 8031E270 0031B1D0 EC 81 00 28 */ fsubs f4, f1, f0 +/* 8031E274 0031B1D4 C0 3E 00 04 */ lfs f1, 4(r30) +/* 8031E278 0031B1D8 C0 1C 00 DC */ lfs f0, 0xdc(r28) +/* 8031E27C 0031B1DC EC 43 10 28 */ fsubs f2, f3, f2 +/* 8031E280 0031B1E0 EC 01 00 28 */ fsubs f0, f1, f0 +/* 8031E284 0031B1E4 D0 81 00 24 */ stfs f4, 0x24(r1) +/* 8031E288 0031B1E8 D0 41 00 28 */ stfs f2, 0x28(r1) +/* 8031E28C 0031B1EC D0 01 00 20 */ stfs f0, 0x20(r1) +/* 8031E290 0031B1F0 4B FF 20 05 */ bl __ml__9CMatrix3fCFRC9CVector3f +/* 8031E294 0031B1F4 C0 41 00 2C */ lfs f2, 0x2c(r1) +/* 8031E298 0031B1F8 57 A0 10 3A */ slwi r0, r29, 2 +/* 8031E29C 0031B1FC C0 21 00 30 */ lfs f1, 0x30(r1) +/* 8031E2A0 0031B200 7C 7C 02 14 */ add r3, r28, r0 +/* 8031E2A4 0031B204 C0 01 00 34 */ lfs f0, 0x34(r1) +/* 8031E2A8 0031B208 7F E4 FB 78 */ mr r4, r31 +/* 8031E2AC 0031B20C D0 41 00 44 */ stfs f2, 0x44(r1) +/* 8031E2B0 0031B210 38 A1 00 50 */ addi r5, r1, 0x50 +/* 8031E2B4 0031B214 38 C1 00 44 */ addi r6, r1, 0x44 +/* 8031E2B8 0031B218 D0 21 00 48 */ stfs f1, 0x48(r1) +/* 8031E2BC 0031B21C D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 8031E2C0 0031B220 80 63 02 80 */ lwz r3, 0x280(r3) +/* 8031E2C4 0031B224 81 83 00 00 */ lwz r12, 0(r3) +/* 8031E2C8 0031B228 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031E2CC 0031B22C 7D 89 03 A6 */ mtctr r12 +/* 8031E2D0 0031B230 4E 80 04 21 */ bctrl +/* 8031E2D4 0031B234 7C 60 1B 78 */ mr r0, r3 +/* 8031E2D8 0031B238 38 61 00 14 */ addi r3, r1, 0x14 +/* 8031E2DC 0031B23C 7C 1F 03 78 */ mr r31, r0 +/* 8031E2E0 0031B240 38 9C 01 D8 */ addi r4, r28, 0x1d8 +/* 8031E2E4 0031B244 38 A1 00 50 */ addi r5, r1, 0x50 +/* 8031E2E8 0031B248 4B FF 47 99 */ bl Rotate__12CTransform4fCFRC9CVector3f +/* 8031E2EC 0031B24C C0 01 00 14 */ lfs f0, 0x14(r1) +/* 8031E2F0 0031B250 38 61 00 08 */ addi r3, r1, 8 +/* 8031E2F4 0031B254 38 9C 01 D8 */ addi r4, r28, 0x1d8 +/* 8031E2F8 0031B258 38 A1 00 44 */ addi r5, r1, 0x44 +/* 8031E2FC 0031B25C D0 1E 00 1C */ stfs f0, 0x1c(r30) +/* 8031E300 0031B260 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 8031E304 0031B264 D0 1E 00 20 */ stfs f0, 0x20(r30) +/* 8031E308 0031B268 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 8031E30C 0031B26C D0 1E 00 24 */ stfs f0, 0x24(r30) +/* 8031E310 0031B270 4B FF 47 71 */ bl Rotate__12CTransform4fCFRC9CVector3f +/* 8031E314 0031B274 C0 21 00 08 */ lfs f1, 8(r1) +/* 8031E318 0031B278 C0 1C 00 DC */ lfs f0, 0xdc(r28) +/* 8031E31C 0031B27C C0 81 00 0C */ lfs f4, 0xc(r1) +/* 8031E320 0031B280 C0 7C 00 E0 */ lfs f3, 0xe0(r28) +/* 8031E324 0031B284 EC 01 00 2A */ fadds f0, f1, f0 +/* 8031E328 0031B288 C0 41 00 10 */ lfs f2, 0x10(r1) +/* 8031E32C 0031B28C C0 3C 00 E4 */ lfs f1, 0xe4(r28) +/* 8031E330 0031B290 EC 64 18 2A */ fadds f3, f4, f3 +/* 8031E334 0031B294 D0 1E 00 04 */ stfs f0, 4(r30) +/* 8031E338 0031B298 EC 02 08 2A */ fadds f0, f2, f1 +/* 8031E33C 0031B29C D0 7E 00 08 */ stfs f3, 8(r30) +/* 8031E340 0031B2A0 D0 1E 00 0C */ stfs f0, 0xc(r30) +/* 8031E344 0031B2A4 48 00 00 30 */ b lbl_8031E374 +lbl_8031E348: +/* 8031E348 0031B2A8 57 A0 10 3A */ slwi r0, r29, 2 +/* 8031E34C 0031B2AC 7F E4 FB 78 */ mr r4, r31 +/* 8031E350 0031B2B0 7C 7C 02 14 */ add r3, r28, r0 +/* 8031E354 0031B2B4 38 BE 00 1C */ addi r5, r30, 0x1c +/* 8031E358 0031B2B8 80 63 02 80 */ lwz r3, 0x280(r3) +/* 8031E35C 0031B2BC 38 DE 00 04 */ addi r6, r30, 4 +/* 8031E360 0031B2C0 81 83 00 00 */ lwz r12, 0(r3) +/* 8031E364 0031B2C4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031E368 0031B2C8 7D 89 03 A6 */ mtctr r12 +/* 8031E36C 0031B2CC 4E 80 04 21 */ bctrl +/* 8031E370 0031B2D0 7C 7F 1B 78 */ mr r31, r3 +lbl_8031E374: +/* 8031E374 0031B2D4 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 8031E378 0031B2D8 41 82 00 14 */ beq lbl_8031E38C +/* 8031E37C 0031B2DC 38 00 FF FF */ li r0, -1 +/* 8031E380 0031B2E0 38 60 00 01 */ li r3, 1 +/* 8031E384 0031B2E4 90 1E 00 00 */ stw r0, 0(r30) +/* 8031E388 0031B2E8 48 00 00 08 */ b lbl_8031E390 +lbl_8031E38C: +/* 8031E38C 0031B2EC 38 60 00 00 */ li r3, 0 +lbl_8031E390: +/* 8031E390 0031B2F0 80 01 00 74 */ lwz r0, 0x74(r1) +/* 8031E394 0031B2F4 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 8031E398 0031B2F8 83 C1 00 68 */ lwz r30, 0x68(r1) +/* 8031E39C 0031B2FC 83 A1 00 64 */ lwz r29, 0x64(r1) +/* 8031E3A0 0031B300 83 81 00 60 */ lwz r28, 0x60(r1) +/* 8031E3A4 0031B304 7C 08 03 A6 */ mtlr r0 +/* 8031E3A8 0031B308 38 21 00 70 */ addi r1, r1, 0x70 +/* 8031E3AC 0031B30C 4E 80 00 20 */ blr + +.global UpdateAdvanceAccessParameters__11CElementGenFii +UpdateAdvanceAccessParameters__11CElementGenFii: +/* 8031E3B0 0031B310 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8031E3B4 0031B314 7C 08 02 A6 */ mflr r0 +/* 8031E3B8 0031B318 90 01 00 24 */ stw r0, 0x24(r1) +/* 8031E3BC 0031B31C 54 80 28 34 */ slwi r0, r4, 5 +/* 8031E3C0 0031B320 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8031E3C4 0031B324 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8031E3C8 0031B328 7C BE 2B 78 */ mr r30, r5 +/* 8031E3CC 0031B32C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8031E3D0 0031B330 7C 7D 1B 78 */ mr r29, r3 +/* 8031E3D4 0031B334 80 63 00 6C */ lwz r3, 0x6c(r3) +/* 8031E3D8 0031B338 7F E3 02 14 */ add r31, r3, r0 +/* 8031E3DC 0031B33C 93 ED A8 F0 */ stw r31, lbl_805A94B0@sda21(r13) +/* 8031E3E0 0031B340 80 7D 00 28 */ lwz r3, 0x28(r29) +/* 8031E3E4 0031B344 80 63 01 0C */ lwz r3, 0x10c(r3) +/* 8031E3E8 0031B348 28 03 00 00 */ cmplwi r3, 0 +/* 8031E3EC 0031B34C 41 82 00 1C */ beq lbl_8031E408 +/* 8031E3F0 0031B350 81 83 00 00 */ lwz r12, 0(r3) +/* 8031E3F4 0031B354 7F C4 F3 78 */ mr r4, r30 +/* 8031E3F8 0031B358 7F E5 FB 78 */ mr r5, r31 +/* 8031E3FC 0031B35C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031E400 0031B360 7D 89 03 A6 */ mtctr r12 +/* 8031E404 0031B364 4E 80 04 21 */ bctrl +lbl_8031E408: +/* 8031E408 0031B368 80 7D 00 28 */ lwz r3, 0x28(r29) +/* 8031E40C 0031B36C 80 63 01 10 */ lwz r3, 0x110(r3) +/* 8031E410 0031B370 28 03 00 00 */ cmplwi r3, 0 +/* 8031E414 0031B374 41 82 00 1C */ beq lbl_8031E430 +/* 8031E418 0031B378 81 83 00 00 */ lwz r12, 0(r3) +/* 8031E41C 0031B37C 7F C4 F3 78 */ mr r4, r30 +/* 8031E420 0031B380 38 BF 00 04 */ addi r5, r31, 4 +/* 8031E424 0031B384 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031E428 0031B388 7D 89 03 A6 */ mtctr r12 +/* 8031E42C 0031B38C 4E 80 04 21 */ bctrl +lbl_8031E430: +/* 8031E430 0031B390 80 7D 00 28 */ lwz r3, 0x28(r29) +/* 8031E434 0031B394 80 63 01 14 */ lwz r3, 0x114(r3) +/* 8031E438 0031B398 28 03 00 00 */ cmplwi r3, 0 +/* 8031E43C 0031B39C 41 82 00 1C */ beq lbl_8031E458 +/* 8031E440 0031B3A0 81 83 00 00 */ lwz r12, 0(r3) +/* 8031E444 0031B3A4 7F C4 F3 78 */ mr r4, r30 +/* 8031E448 0031B3A8 38 BF 00 08 */ addi r5, r31, 8 +/* 8031E44C 0031B3AC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031E450 0031B3B0 7D 89 03 A6 */ mtctr r12 +/* 8031E454 0031B3B4 4E 80 04 21 */ bctrl +lbl_8031E458: +/* 8031E458 0031B3B8 80 7D 00 28 */ lwz r3, 0x28(r29) +/* 8031E45C 0031B3BC 80 63 01 18 */ lwz r3, 0x118(r3) +/* 8031E460 0031B3C0 28 03 00 00 */ cmplwi r3, 0 +/* 8031E464 0031B3C4 41 82 00 1C */ beq lbl_8031E480 +/* 8031E468 0031B3C8 81 83 00 00 */ lwz r12, 0(r3) +/* 8031E46C 0031B3CC 7F C4 F3 78 */ mr r4, r30 +/* 8031E470 0031B3D0 38 BF 00 0C */ addi r5, r31, 0xc +/* 8031E474 0031B3D4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031E478 0031B3D8 7D 89 03 A6 */ mtctr r12 +/* 8031E47C 0031B3DC 4E 80 04 21 */ bctrl +lbl_8031E480: +/* 8031E480 0031B3E0 80 7D 00 28 */ lwz r3, 0x28(r29) +/* 8031E484 0031B3E4 80 63 01 1C */ lwz r3, 0x11c(r3) +/* 8031E488 0031B3E8 28 03 00 00 */ cmplwi r3, 0 +/* 8031E48C 0031B3EC 41 82 00 1C */ beq lbl_8031E4A8 +/* 8031E490 0031B3F0 81 83 00 00 */ lwz r12, 0(r3) +/* 8031E494 0031B3F4 7F C4 F3 78 */ mr r4, r30 +/* 8031E498 0031B3F8 38 BF 00 10 */ addi r5, r31, 0x10 +/* 8031E49C 0031B3FC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031E4A0 0031B400 7D 89 03 A6 */ mtctr r12 +/* 8031E4A4 0031B404 4E 80 04 21 */ bctrl +lbl_8031E4A8: +/* 8031E4A8 0031B408 80 7D 00 28 */ lwz r3, 0x28(r29) +/* 8031E4AC 0031B40C 80 63 01 20 */ lwz r3, 0x120(r3) +/* 8031E4B0 0031B410 28 03 00 00 */ cmplwi r3, 0 +/* 8031E4B4 0031B414 41 82 00 1C */ beq lbl_8031E4D0 +/* 8031E4B8 0031B418 81 83 00 00 */ lwz r12, 0(r3) +/* 8031E4BC 0031B41C 7F C4 F3 78 */ mr r4, r30 +/* 8031E4C0 0031B420 38 BF 00 14 */ addi r5, r31, 0x14 +/* 8031E4C4 0031B424 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031E4C8 0031B428 7D 89 03 A6 */ mtctr r12 +/* 8031E4CC 0031B42C 4E 80 04 21 */ bctrl +lbl_8031E4D0: +/* 8031E4D0 0031B430 80 7D 00 28 */ lwz r3, 0x28(r29) +/* 8031E4D4 0031B434 80 63 01 24 */ lwz r3, 0x124(r3) +/* 8031E4D8 0031B438 28 03 00 00 */ cmplwi r3, 0 +/* 8031E4DC 0031B43C 41 82 00 1C */ beq lbl_8031E4F8 +/* 8031E4E0 0031B440 81 83 00 00 */ lwz r12, 0(r3) +/* 8031E4E4 0031B444 7F C4 F3 78 */ mr r4, r30 +/* 8031E4E8 0031B448 38 BF 00 18 */ addi r5, r31, 0x18 +/* 8031E4EC 0031B44C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031E4F0 0031B450 7D 89 03 A6 */ mtctr r12 +/* 8031E4F4 0031B454 4E 80 04 21 */ bctrl +lbl_8031E4F8: +/* 8031E4F8 0031B458 80 7D 00 28 */ lwz r3, 0x28(r29) +/* 8031E4FC 0031B45C 80 63 01 28 */ lwz r3, 0x128(r3) +/* 8031E500 0031B460 28 03 00 00 */ cmplwi r3, 0 +/* 8031E504 0031B464 41 82 00 1C */ beq lbl_8031E520 +/* 8031E508 0031B468 81 83 00 00 */ lwz r12, 0(r3) +/* 8031E50C 0031B46C 7F C4 F3 78 */ mr r4, r30 +/* 8031E510 0031B470 38 BF 00 1C */ addi r5, r31, 0x1c +/* 8031E514 0031B474 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031E518 0031B478 7D 89 03 A6 */ mtctr r12 +/* 8031E51C 0031B47C 4E 80 04 21 */ bctrl +lbl_8031E520: +/* 8031E520 0031B480 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8031E524 0031B484 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8031E528 0031B488 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8031E52C 0031B48C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8031E530 0031B490 7C 08 03 A6 */ mtlr r0 +/* 8031E534 0031B494 38 21 00 20 */ addi r1, r1, 0x20 +/* 8031E538 0031B498 4E 80 00 20 */ blr + +.global UpdateLightParameters__11CElementGenFv +UpdateLightParameters__11CElementGenFv: +/* 8031E53C 0031B49C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8031E540 0031B4A0 7C 08 02 A6 */ mflr r0 +/* 8031E544 0031B4A4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8031E548 0031B4A8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8031E54C 0031B4AC 7C 7F 1B 78 */ mr r31, r3 +/* 8031E550 0031B4B0 38 BF 03 0C */ addi r5, r31, 0x30c +/* 8031E554 0031B4B4 80 63 00 28 */ lwz r3, 0x28(r3) +/* 8031E558 0031B4B8 80 9F 00 74 */ lwz r4, 0x74(r31) +/* 8031E55C 0031B4BC 80 63 00 F0 */ lwz r3, 0xf0(r3) +/* 8031E560 0031B4C0 81 83 00 00 */ lwz r12, 0(r3) +/* 8031E564 0031B4C4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031E568 0031B4C8 7D 89 03 A6 */ mtctr r12 +/* 8031E56C 0031B4CC 4E 80 04 21 */ bctrl +/* 8031E570 0031B4D0 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031E574 0031B4D4 38 BF 03 10 */ addi r5, r31, 0x310 +/* 8031E578 0031B4D8 80 9F 00 74 */ lwz r4, 0x74(r31) +/* 8031E57C 0031B4DC 80 63 00 F4 */ lwz r3, 0xf4(r3) +/* 8031E580 0031B4E0 81 83 00 00 */ lwz r12, 0(r3) +/* 8031E584 0031B4E4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031E588 0031B4E8 7D 89 03 A6 */ mtctr r12 +/* 8031E58C 0031B4EC 4E 80 04 21 */ bctrl +/* 8031E590 0031B4F0 80 1F 03 08 */ lwz r0, 0x308(r31) +/* 8031E594 0031B4F4 2C 00 00 02 */ cmpwi r0, 2 +/* 8031E598 0031B4F8 41 82 00 70 */ beq lbl_8031E608 +/* 8031E59C 0031B4FC 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031E5A0 0031B500 38 BF 03 14 */ addi r5, r31, 0x314 +/* 8031E5A4 0031B504 80 9F 00 74 */ lwz r4, 0x74(r31) +/* 8031E5A8 0031B508 80 63 00 F8 */ lwz r3, 0xf8(r3) +/* 8031E5AC 0031B50C 81 83 00 00 */ lwz r12, 0(r3) +/* 8031E5B0 0031B510 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031E5B4 0031B514 7D 89 03 A6 */ mtctr r12 +/* 8031E5B8 0031B518 4E 80 04 21 */ bctrl +/* 8031E5BC 0031B51C 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031E5C0 0031B520 38 BF 03 30 */ addi r5, r31, 0x330 +/* 8031E5C4 0031B524 80 9F 00 74 */ lwz r4, 0x74(r31) +/* 8031E5C8 0031B528 80 63 01 04 */ lwz r3, 0x104(r3) +/* 8031E5CC 0031B52C 81 83 00 00 */ lwz r12, 0(r3) +/* 8031E5D0 0031B530 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031E5D4 0031B534 7D 89 03 A6 */ mtctr r12 +/* 8031E5D8 0031B538 4E 80 04 21 */ bctrl +/* 8031E5DC 0031B53C 80 1F 03 08 */ lwz r0, 0x308(r31) +/* 8031E5E0 0031B540 2C 00 00 03 */ cmpwi r0, 3 +/* 8031E5E4 0031B544 40 82 00 24 */ bne lbl_8031E608 +/* 8031E5E8 0031B548 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031E5EC 0031B54C 38 BF 03 34 */ addi r5, r31, 0x334 +/* 8031E5F0 0031B550 80 9F 00 74 */ lwz r4, 0x74(r31) +/* 8031E5F4 0031B554 80 63 01 08 */ lwz r3, 0x108(r3) +/* 8031E5F8 0031B558 81 83 00 00 */ lwz r12, 0(r3) +/* 8031E5FC 0031B55C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031E600 0031B560 7D 89 03 A6 */ mtctr r12 +/* 8031E604 0031B564 4E 80 04 21 */ bctrl +lbl_8031E608: +/* 8031E608 0031B568 80 1F 03 08 */ lwz r0, 0x308(r31) +/* 8031E60C 0031B56C 2C 00 00 01 */ cmpwi r0, 1 +/* 8031E610 0031B570 41 82 00 24 */ beq lbl_8031E634 +/* 8031E614 0031B574 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031E618 0031B578 38 BF 03 20 */ addi r5, r31, 0x320 +/* 8031E61C 0031B57C 80 9F 00 74 */ lwz r4, 0x74(r31) +/* 8031E620 0031B580 80 63 00 FC */ lwz r3, 0xfc(r3) +/* 8031E624 0031B584 81 83 00 00 */ lwz r12, 0(r3) +/* 8031E628 0031B588 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031E62C 0031B58C 7D 89 03 A6 */ mtctr r12 +/* 8031E630 0031B590 4E 80 04 21 */ bctrl +lbl_8031E634: +/* 8031E634 0031B594 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8031E638 0031B598 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8031E63C 0031B59C 7C 08 03 A6 */ mtlr r0 +/* 8031E640 0031B5A0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8031E644 0031B5A4 4E 80 00 20 */ blr + +.global InternalUpdate__11CElementGenFd +InternalUpdate__11CElementGenFd: +/* 8031E648 0031B5A8 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 8031E64C 0031B5AC 7C 08 02 A6 */ mflr r0 +/* 8031E650 0031B5B0 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 8031E654 0031B5B4 DB E1 00 B0 */ stfd f31, 0xb0(r1) +/* 8031E658 0031B5B8 F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0 +/* 8031E65C 0031B5BC DB C1 00 A0 */ stfd f30, 0xa0(r1) +/* 8031E660 0031B5C0 F3 C1 00 A8 */ psq_st f30, 168(r1), 0, qr0 +/* 8031E664 0031B5C4 DB A1 00 90 */ stfd f29, 0x90(r1) +/* 8031E668 0031B5C8 F3 A1 00 98 */ psq_st f29, 152(r1), 0, qr0 +/* 8031E66C 0031B5CC DB 81 00 80 */ stfd f28, 0x80(r1) +/* 8031E670 0031B5D0 F3 81 00 88 */ psq_st f28, 136(r1), 0, qr0 +/* 8031E674 0031B5D4 DB 61 00 70 */ stfd f27, 0x70(r1) +/* 8031E678 0031B5D8 F3 61 00 78 */ psq_st f27, 120(r1), 0, qr0 +/* 8031E67C 0031B5DC BF 61 00 5C */ stmw r27, 0x5c(r1) +/* 8031E680 0031B5E0 7C 7C 1B 78 */ mr r28, r3 +/* 8031E684 0031B5E4 FF A0 08 90 */ fmr f29, f1 +/* 8031E688 0031B5E8 48 06 6D 21 */ bl OSGetTime +/* 8031E68C 0031B5EC 7C 9E 23 78 */ mr r30, r4 +/* 8031E690 0031B5F0 7C 7F 1B 78 */ mr r31, r3 +/* 8031E694 0031B5F4 38 61 00 30 */ addi r3, r1, 0x30 +/* 8031E698 0031B5F8 38 9C 02 7C */ addi r4, r28, 0x27c +/* 8031E69C 0031B5FC 4B FF 3F E5 */ bl __ct__13CGlobalRandomFR9CRandom16 +/* 8031E6A0 0031B600 80 7C 00 74 */ lwz r3, 0x74(r28) +/* 8031E6A4 0031B604 3C 00 43 30 */ lis r0, 0x4330 +/* 8031E6A8 0031B608 C8 AD 9C F0 */ lfd f5, lbl_805A88B0@sda21(r13) +/* 8031E6AC 0031B60C 3B A0 00 00 */ li r29, 0 +/* 8031E6B0 0031B610 6C 63 80 00 */ xoris r3, r3, 0x8000 +/* 8031E6B4 0031B614 90 01 00 40 */ stw r0, 0x40(r1) +/* 8031E6B8 0031B618 FC 3D 28 28 */ fsub f1, f29, f5 +/* 8031E6BC 0031B61C C8 62 CA 18 */ lfd f3, lbl_805AE738@sda21(r2) +/* 8031E6C0 0031B620 90 61 00 44 */ stw r3, 0x44(r1) +/* 8031E6C4 0031B624 C8 02 CA 38 */ lfd f0, lbl_805AE758@sda21(r2) +/* 8031E6C8 0031B628 C8 41 00 40 */ lfd f2, 0x40(r1) +/* 8031E6CC 0031B62C FC 80 0A 10 */ fabs f4, f1 +/* 8031E6D0 0031B630 FC 22 18 28 */ fsub f1, f2, f3 +/* 8031E6D4 0031B634 FC 04 00 40 */ fcmpo cr0, f4, f0 +/* 8031E6D8 0031B638 FF 81 01 72 */ fmul f28, f1, f5 +/* 8031E6DC 0031B63C 40 80 00 08 */ bge lbl_8031E6E4 +/* 8031E6E0 0031B640 48 00 00 08 */ b lbl_8031E6E8 +lbl_8031E6E4: +/* 8031E6E4 0031B644 FC A0 E8 90 */ fmr f5, f29 +lbl_8031E6E8: +/* 8031E6E8 0031B648 D8 A1 00 28 */ stfd f5, 0x28(r1) +/* 8031E6EC 0031B64C 80 7C 00 74 */ lwz r3, 0x74(r28) +/* 8031E6F0 0031B650 48 00 C0 59 */ bl SetEmitterTime__16CParticleGlobalsFi +/* 8031E6F4 0031B654 80 7C 00 28 */ lwz r3, 0x28(r28) +/* 8031E6F8 0031B658 80 03 00 08 */ lwz r0, 8(r3) +/* 8031E6FC 0031B65C 28 00 00 00 */ cmplwi r0, 0 +/* 8031E700 0031B660 41 82 00 5C */ beq lbl_8031E75C +/* 8031E704 0031B664 C0 02 C9 F0 */ lfs f0, lbl_805AE710@sda21(r2) +/* 8031E708 0031B668 38 A1 00 20 */ addi r5, r1, 0x20 +/* 8031E70C 0031B66C D0 01 00 20 */ stfs f0, 0x20(r1) +/* 8031E710 0031B670 80 7C 00 28 */ lwz r3, 0x28(r28) +/* 8031E714 0031B674 80 9C 00 74 */ lwz r4, 0x74(r28) +/* 8031E718 0031B678 80 63 00 08 */ lwz r3, 8(r3) +/* 8031E71C 0031B67C 81 83 00 00 */ lwz r12, 0(r3) +/* 8031E720 0031B680 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031E724 0031B684 7D 89 03 A6 */ mtctr r12 +/* 8031E728 0031B688 4E 80 04 21 */ bctrl +/* 8031E72C 0031B68C C8 41 00 28 */ lfd f2, 0x28(r1) +/* 8031E730 0031B690 C0 21 00 20 */ lfs f1, 0x20(r1) +/* 8031E734 0031B694 C8 0D 9D 00 */ lfd f0, lbl_805A88C0@sda21(r13) +/* 8031E738 0031B698 FC 22 00 72 */ fmul f1, f2, f1 +/* 8031E73C 0031B69C FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 8031E740 0031B6A0 D8 21 00 28 */ stfd f1, 0x28(r1) +/* 8031E744 0031B6A4 40 80 00 0C */ bge lbl_8031E750 +/* 8031E748 0031B6A8 38 61 00 28 */ addi r3, r1, 0x28 +/* 8031E74C 0031B6AC 48 00 00 08 */ b lbl_8031E754 +lbl_8031E750: +/* 8031E750 0031B6B0 38 6D 9D 00 */ addi r3, r13, lbl_805A88C0@sda21 +lbl_8031E754: +/* 8031E754 0031B6B4 C8 03 00 00 */ lfd f0, 0(r3) +/* 8031E758 0031B6B8 D8 01 00 28 */ stfd f0, 0x28(r1) +lbl_8031E75C: +/* 8031E75C 0031B6BC C8 3C 00 78 */ lfd f1, 0x78(r28) +/* 8031E760 0031B6C0 C8 01 00 28 */ lfd f0, 0x28(r1) +/* 8031E764 0031B6C4 FC 01 00 2A */ fadd f0, f1, f0 +/* 8031E768 0031B6C8 D8 1C 00 78 */ stfd f0, 0x78(r28) +/* 8031E76C 0031B6CC 88 1C 02 6C */ lbz r0, 0x26c(r28) +/* 8031E770 0031B6D0 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f +/* 8031E774 0031B6D4 41 82 00 38 */ beq lbl_8031E7AC +/* 8031E778 0031B6D8 C8 02 CA 20 */ lfd f0, lbl_805AE740@sda21(r2) +/* 8031E77C 0031B6DC FC 1D 00 40 */ fcmpo cr0, f29, f0 +/* 8031E780 0031B6E0 40 81 00 2C */ ble lbl_8031E7AC +/* 8031E784 0031B6E4 80 7C 00 28 */ lwz r3, 0x28(r28) +/* 8031E788 0031B6E8 80 63 00 34 */ lwz r3, 0x34(r3) +/* 8031E78C 0031B6EC 28 03 00 00 */ cmplwi r3, 0 +/* 8031E790 0031B6F0 41 82 00 1C */ beq lbl_8031E7AC +/* 8031E794 0031B6F4 81 83 00 00 */ lwz r12, 0(r3) +/* 8031E798 0031B6F8 38 BC 02 70 */ addi r5, r28, 0x270 +/* 8031E79C 0031B6FC 80 9C 00 74 */ lwz r4, 0x74(r28) +/* 8031E7A0 0031B700 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031E7A4 0031B704 7D 89 03 A6 */ mtctr r12 +/* 8031E7A8 0031B708 4E 80 04 21 */ bctrl +lbl_8031E7AC: +/* 8031E7AC 0031B70C CB 62 CA 38 */ lfd f27, lbl_805AE758@sda21(r2) +/* 8031E7B0 0031B710 C3 A2 CA 40 */ lfs f29, lbl_805AE760@sda21(r2) +/* 8031E7B4 0031B714 C3 C2 CA 44 */ lfs f30, lbl_805AE764@sda21(r2) +/* 8031E7B8 0031B718 C3 E2 C9 E8 */ lfs f31, lbl_805AE708@sda21(r2) +/* 8031E7BC 0031B71C 48 00 01 C8 */ b lbl_8031E984 +lbl_8031E7C0: +/* 8031E7C0 0031B720 D3 BC 02 D4 */ stfs f29, 0x2d4(r28) +/* 8031E7C4 0031B724 D3 BC 02 D8 */ stfs f29, 0x2d8(r28) +/* 8031E7C8 0031B728 D3 BC 02 DC */ stfs f29, 0x2dc(r28) +/* 8031E7CC 0031B72C D3 DC 02 E0 */ stfs f30, 0x2e0(r28) +/* 8031E7D0 0031B730 D3 DC 02 E4 */ stfs f30, 0x2e4(r28) +/* 8031E7D4 0031B734 D3 DC 02 E8 */ stfs f30, 0x2e8(r28) +/* 8031E7D8 0031B738 D3 FC 02 EC */ stfs f31, 0x2ec(r28) +/* 8031E7DC 0031B73C 80 7C 00 74 */ lwz r3, 0x74(r28) +/* 8031E7E0 0031B740 48 00 BF 69 */ bl SetEmitterTime__16CParticleGlobalsFi +/* 8031E7E4 0031B744 7F 83 E3 78 */ mr r3, r28 +/* 8031E7E8 0031B748 4B FF F5 85 */ bl UpdateExistingParticles__11CElementGenFv +/* 8031E7EC 0031B74C 80 7C 02 68 */ lwz r3, 0x268(r28) +/* 8031E7F0 0031B750 48 00 BF 89 */ bl SetParticleLifetime__16CParticleGlobalsFi +/* 8031E7F4 0031B754 80 7C 00 74 */ lwz r3, 0x74(r28) +/* 8031E7F8 0031B758 80 1C 02 68 */ lwz r0, 0x268(r28) +/* 8031E7FC 0031B75C 7C 03 00 00 */ cmpw r3, r0 +/* 8031E800 0031B760 40 80 01 38 */ bge lbl_8031E938 +/* 8031E804 0031B764 88 1C 00 88 */ lbz r0, 0x88(r28) +/* 8031E808 0031B768 28 00 00 00 */ cmplwi r0, 0 +/* 8031E80C 0031B76C 41 82 01 2C */ beq lbl_8031E938 +/* 8031E810 0031B770 C0 02 C9 E8 */ lfs f0, lbl_805AE708@sda21(r2) +/* 8031E814 0031B774 38 A1 00 1C */ addi r5, r1, 0x1c +/* 8031E818 0031B778 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 8031E81C 0031B77C 80 7C 00 28 */ lwz r3, 0x28(r28) +/* 8031E820 0031B780 80 9C 00 74 */ lwz r4, 0x74(r28) +/* 8031E824 0031B784 80 63 00 20 */ lwz r3, 0x20(r3) +/* 8031E828 0031B788 81 83 00 00 */ lwz r12, 0(r3) +/* 8031E82C 0031B78C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031E830 0031B790 7D 89 03 A6 */ mtctr r12 +/* 8031E834 0031B794 4E 80 04 21 */ bctrl +/* 8031E838 0031B798 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8031E83C 0031B79C 41 82 00 50 */ beq lbl_8031E88C +/* 8031E840 0031B7A0 80 1C 00 34 */ lwz r0, 0x34(r28) +/* 8031E844 0031B7A4 80 7C 00 3C */ lwz r3, 0x3c(r28) +/* 8031E848 0031B7A8 1C 00 00 38 */ mulli r0, r0, 0x38 +/* 8031E84C 0031B7AC 90 61 00 0C */ stw r3, 0xc(r1) +/* 8031E850 0031B7B0 7C 03 02 14 */ add r0, r3, r0 +/* 8031E854 0031B7B4 90 61 00 08 */ stw r3, 8(r1) +/* 8031E858 0031B7B8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8031E85C 0031B7BC 90 01 00 10 */ stw r0, 0x10(r1) +/* 8031E860 0031B7C0 48 00 00 08 */ b lbl_8031E868 +lbl_8031E864: +/* 8031E864 0031B7C4 38 63 00 38 */ addi r3, r3, 0x38 +lbl_8031E868: +/* 8031E868 0031B7C8 7C 03 00 40 */ cmplw r3, r0 +/* 8031E86C 0031B7CC 40 82 FF F8 */ bne lbl_8031E864 +/* 8031E870 0031B7D0 38 00 00 00 */ li r0, 0 +/* 8031E874 0031B7D4 38 61 00 30 */ addi r3, r1, 0x30 +/* 8031E878 0031B7D8 90 1C 00 34 */ stw r0, 0x34(r28) +/* 8031E87C 0031B7DC 38 80 FF FF */ li r4, -1 +/* 8031E880 0031B7E0 4B FF 3D 85 */ bl __dt__13CGlobalRandomFv +/* 8031E884 0031B7E4 38 60 00 01 */ li r3, 1 +/* 8031E888 0031B7E8 48 00 01 CC */ b lbl_8031EA54 +lbl_8031E88C: +/* 8031E88C 0031B7EC C0 41 00 1C */ lfs f2, 0x1c(r1) +/* 8031E890 0031B7F0 C0 3C 00 98 */ lfs f1, 0x98(r28) +/* 8031E894 0031B7F4 C0 0D 9D 08 */ lfs f0, lbl_805A88C8@sda21(r13) +/* 8031E898 0031B7F8 EC 22 00 72 */ fmuls f1, f2, f1 +/* 8031E89C 0031B7FC FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 8031E8A0 0031B800 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 8031E8A4 0031B804 40 80 00 0C */ bge lbl_8031E8B0 +/* 8031E8A8 0031B808 38 61 00 18 */ addi r3, r1, 0x18 +/* 8031E8AC 0031B80C 48 00 00 08 */ b lbl_8031E8B4 +lbl_8031E8B0: +/* 8031E8B0 0031B810 38 6D 9D 08 */ addi r3, r13, lbl_805A88C8@sda21 +lbl_8031E8B4: +/* 8031E8B4 0031B814 C0 23 00 00 */ lfs f1, 0(r3) +/* 8031E8B8 0031B818 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 8031E8BC 0031B81C C0 1C 00 8C */ lfs f0, 0x8c(r28) +/* 8031E8C0 0031B820 EC 00 08 2A */ fadds f0, f0, f1 +/* 8031E8C4 0031B824 D0 1C 00 8C */ stfs f0, 0x8c(r28) +/* 8031E8C8 0031B828 C0 3C 00 8C */ lfs f1, 0x8c(r28) +/* 8031E8CC 0031B82C 48 07 5B F9 */ bl floor +/* 8031E8D0 0031B830 FC 00 08 1E */ fctiwz f0, f1 +/* 8031E8D4 0031B834 3C 00 43 30 */ lis r0, 0x4330 +/* 8031E8D8 0031B838 90 01 00 48 */ stw r0, 0x48(r1) +/* 8031E8DC 0031B83C C8 22 CA 18 */ lfd f1, lbl_805AE738@sda21(r2) +/* 8031E8E0 0031B840 D8 01 00 40 */ stfd f0, 0x40(r1) +/* 8031E8E4 0031B844 C0 5C 00 8C */ lfs f2, 0x8c(r28) +/* 8031E8E8 0031B848 83 61 00 44 */ lwz r27, 0x44(r1) +/* 8031E8EC 0031B84C 6F 60 80 00 */ xoris r0, r27, 0x8000 +/* 8031E8F0 0031B850 90 01 00 4C */ stw r0, 0x4c(r1) +/* 8031E8F4 0031B854 C8 01 00 48 */ lfd f0, 0x48(r1) +/* 8031E8F8 0031B858 EC 00 08 28 */ fsubs f0, f0, f1 +/* 8031E8FC 0031B85C EC 02 00 28 */ fsubs f0, f2, f0 +/* 8031E900 0031B860 D0 1C 00 8C */ stfs f0, 0x8c(r28) +/* 8031E904 0031B864 80 7C 00 28 */ lwz r3, 0x28(r28) +/* 8031E908 0031B868 80 63 00 1C */ lwz r3, 0x1c(r3) +/* 8031E90C 0031B86C 28 03 00 00 */ cmplwi r3, 0 +/* 8031E910 0031B870 41 82 00 1C */ beq lbl_8031E92C +/* 8031E914 0031B874 81 83 00 00 */ lwz r12, 0(r3) +/* 8031E918 0031B878 38 BC 00 90 */ addi r5, r28, 0x90 +/* 8031E91C 0031B87C 80 9C 00 74 */ lwz r4, 0x74(r28) +/* 8031E920 0031B880 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031E924 0031B884 7D 89 03 A6 */ mtctr r12 +/* 8031E928 0031B888 4E 80 04 21 */ bctrl +lbl_8031E92C: +/* 8031E92C 0031B88C 7F 83 E3 78 */ mr r3, r28 +/* 8031E930 0031B890 7F 64 DB 78 */ mr r4, r27 +/* 8031E934 0031B894 4B FF ED B1 */ bl CreateNewParticles__11CElementGenFi +lbl_8031E938: +/* 8031E938 0031B898 88 1C 02 6C */ lbz r0, 0x26c(r28) +/* 8031E93C 0031B89C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8031E940 0031B8A0 41 82 00 0C */ beq lbl_8031E94C +/* 8031E944 0031B8A4 7F 83 E3 78 */ mr r3, r28 +/* 8031E948 0031B8A8 4B FF EC D9 */ bl UpdatePSTranslationAndOrientation__11CElementGenFv +lbl_8031E94C: +/* 8031E94C 0031B8AC 80 1C 03 08 */ lwz r0, 0x308(r28) +/* 8031E950 0031B8B0 2C 00 00 00 */ cmpwi r0, 0 +/* 8031E954 0031B8B4 41 82 00 0C */ beq lbl_8031E960 +/* 8031E958 0031B8B8 7F 83 E3 78 */ mr r3, r28 +/* 8031E95C 0031B8BC 4B FF FB E1 */ bl UpdateLightParameters__11CElementGenFv +lbl_8031E960: +/* 8031E960 0031B8C0 C8 2D 9C F0 */ lfd f1, lbl_805A88B0@sda21(r13) +/* 8031E964 0031B8C4 7F 83 E3 78 */ mr r3, r28 +/* 8031E968 0031B8C8 4B FF E0 4D */ bl UpdateChildParticleSystems__11CElementGenFd +/* 8031E96C 0031B8CC C8 0D 9C F0 */ lfd f0, lbl_805A88B0@sda21(r13) +/* 8031E970 0031B8D0 3B BD 00 01 */ addi r29, r29, 1 +/* 8031E974 0031B8D4 80 7C 00 74 */ lwz r3, 0x74(r28) +/* 8031E978 0031B8D8 FF 9C 00 2A */ fadd f28, f28, f0 +/* 8031E97C 0031B8DC 38 03 00 01 */ addi r0, r3, 1 +/* 8031E980 0031B8E0 90 1C 00 74 */ stw r0, 0x74(r28) +lbl_8031E984: +/* 8031E984 0031B8E4 C8 1C 00 78 */ lfd f0, 0x78(r28) +/* 8031E988 0031B8E8 FC 1C 00 40 */ fcmpo cr0, f28, f0 +/* 8031E98C 0031B8EC 40 80 00 14 */ bge lbl_8031E9A0 +/* 8031E990 0031B8F0 FC 1C 00 28 */ fsub f0, f28, f0 +/* 8031E994 0031B8F4 FC 00 02 10 */ fabs f0, f0 +/* 8031E998 0031B8F8 FC 00 D8 40 */ fcmpo cr0, f0, f27 +/* 8031E99C 0031B8FC 40 80 FE 24 */ bge lbl_8031E7C0 +lbl_8031E9A0: +/* 8031E9A0 0031B900 C8 3C 00 78 */ lfd f1, 0x78(r28) +/* 8031E9A4 0031B904 C8 02 CA 38 */ lfd f0, lbl_805AE758@sda21(r2) +/* 8031E9A8 0031B908 FC 3C 08 28 */ fsub f1, f28, f1 +/* 8031E9AC 0031B90C FC 20 0A 10 */ fabs f1, f1 +/* 8031E9B0 0031B910 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8031E9B4 0031B914 40 80 00 14 */ bge lbl_8031E9C8 +/* 8031E9B8 0031B918 DB 9C 00 78 */ stfd f28, 0x78(r28) +/* 8031E9BC 0031B91C C0 02 C9 F0 */ lfs f0, lbl_805AE710@sda21(r2) +/* 8031E9C0 0031B920 D0 1C 00 80 */ stfs f0, 0x80(r28) +/* 8031E9C4 0031B924 48 00 00 54 */ b lbl_8031EA18 +lbl_8031E9C8: +/* 8031E9C8 0031B928 6F A3 80 00 */ xoris r3, r29, 0x8000 +/* 8031E9CC 0031B92C 3C 00 43 30 */ lis r0, 0x4330 +/* 8031E9D0 0031B930 90 61 00 4C */ stw r3, 0x4c(r1) +/* 8031E9D4 0031B934 7F 83 E3 78 */ mr r3, r28 +/* 8031E9D8 0031B938 C8 62 CA 18 */ lfd f3, lbl_805AE738@sda21(r2) +/* 8031E9DC 0031B93C 90 01 00 48 */ stw r0, 0x48(r1) +/* 8031E9E0 0031B940 C8 2D 9C F0 */ lfd f1, lbl_805A88B0@sda21(r13) +/* 8031E9E4 0031B944 C8 41 00 48 */ lfd f2, 0x48(r1) +/* 8031E9E8 0031B948 C8 01 00 28 */ lfd f0, 0x28(r1) +/* 8031E9EC 0031B94C FC 42 18 28 */ fsub f2, f2, f3 +/* 8031E9F0 0031B950 FC 22 00 7C */ fnmsub f1, f2, f1, f0 +/* 8031E9F4 0031B954 4B FF DF C1 */ bl UpdateChildParticleSystems__11CElementGenFd +/* 8031E9F8 0031B958 C8 3C 00 78 */ lfd f1, 0x78(r28) +/* 8031E9FC 0031B95C C8 0D 9C F0 */ lfd f0, lbl_805A88B0@sda21(r13) +/* 8031EA00 0031B960 FC 3C 08 28 */ fsub f1, f28, f1 +/* 8031EA04 0031B964 C0 42 C9 F0 */ lfs f2, lbl_805AE710@sda21(r2) +/* 8031EA08 0031B968 FC 01 00 24 */ fdiv f0, f1, f0 +/* 8031EA0C 0031B96C FC 00 00 18 */ frsp f0, f0 +/* 8031EA10 0031B970 EC 02 00 28 */ fsubs f0, f2, f0 +/* 8031EA14 0031B974 D0 1C 00 80 */ stfs f0, 0x80(r28) +lbl_8031EA18: +/* 8031EA18 0031B978 7F 83 E3 78 */ mr r3, r28 +/* 8031EA1C 0031B97C 4B FF 90 01 */ bl BuildParticleSystemBounds__11CElementGenFv +/* 8031EA20 0031B980 48 06 69 89 */ bl OSGetTime +/* 8031EA24 0031B984 7C 9E 20 10 */ subfc r4, r30, r4 +/* 8031EA28 0031B988 7C 7F 19 10 */ subfe r3, r31, r3 +/* 8031EA2C 0031B98C 48 06 B5 39 */ bl __cvt_sll_flt +/* 8031EA30 0031B990 3C 80 80 5A */ lis r4, mData__10CStopwatch@ha +/* 8031EA34 0031B994 38 61 00 30 */ addi r3, r1, 0x30 +/* 8031EA38 0031B998 38 A4 FD 30 */ addi r5, r4, mData__10CStopwatch@l +/* 8031EA3C 0031B99C 38 80 FF FF */ li r4, -1 +/* 8031EA40 0031B9A0 C0 05 00 10 */ lfs f0, 0x10(r5) +/* 8031EA44 0031B9A4 EC 01 00 32 */ fmuls f0, f1, f0 +/* 8031EA48 0031B9A8 D0 1C 02 CC */ stfs f0, 0x2cc(r28) +/* 8031EA4C 0031B9AC 4B FF 3B B9 */ bl __dt__13CGlobalRandomFv +/* 8031EA50 0031B9B0 38 60 00 00 */ li r3, 0 +lbl_8031EA54: +/* 8031EA54 0031B9B4 E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0 +/* 8031EA58 0031B9B8 CB E1 00 B0 */ lfd f31, 0xb0(r1) +/* 8031EA5C 0031B9BC E3 C1 00 A8 */ psq_l f30, 168(r1), 0, qr0 +/* 8031EA60 0031B9C0 CB C1 00 A0 */ lfd f30, 0xa0(r1) +/* 8031EA64 0031B9C4 E3 A1 00 98 */ psq_l f29, 152(r1), 0, qr0 +/* 8031EA68 0031B9C8 CB A1 00 90 */ lfd f29, 0x90(r1) +/* 8031EA6C 0031B9CC E3 81 00 88 */ psq_l f28, 136(r1), 0, qr0 +/* 8031EA70 0031B9D0 CB 81 00 80 */ lfd f28, 0x80(r1) +/* 8031EA74 0031B9D4 E3 61 00 78 */ psq_l f27, 120(r1), 0, qr0 +/* 8031EA78 0031B9D8 CB 61 00 70 */ lfd f27, 0x70(r1) +/* 8031EA7C 0031B9DC BB 61 00 5C */ lmw r27, 0x5c(r1) +/* 8031EA80 0031B9E0 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 8031EA84 0031B9E4 7C 08 03 A6 */ mtlr r0 +/* 8031EA88 0031B9E8 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 8031EA8C 0031B9EC 4E 80 00 20 */ blr + +.global Update__11CElementGenFd +Update__11CElementGenFd: +/* 8031EA90 0031B9F0 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8031EA94 0031B9F4 7C 08 02 A6 */ mflr r0 +/* 8031EA98 0031B9F8 3C A0 50 41 */ lis r5, 0x50415254@ha +/* 8031EA9C 0031B9FC 90 01 00 34 */ stw r0, 0x34(r1) +/* 8031EAA0 0031BA00 38 01 00 0C */ addi r0, r1, 0xc +/* 8031EAA4 0031BA04 DB E1 00 28 */ stfd f31, 0x28(r1) +/* 8031EAA8 0031BA08 FF E0 08 90 */ fmr f31, f1 +/* 8031EAAC 0031BA0C 93 E1 00 24 */ stw r31, 0x24(r1) +/* 8031EAB0 0031BA10 7C 7F 1B 78 */ mr r31, r3 +/* 8031EAB4 0031BA14 38 65 52 54 */ addi r3, r5, 0x50415254@l +/* 8031EAB8 0031BA18 80 8D A8 F4 */ lwz r4, lbl_805A94B4@sda21(r13) +/* 8031EABC 0031BA1C 93 E1 00 10 */ stw r31, 0x10(r1) +/* 8031EAC0 0031BA20 90 61 00 0C */ stw r3, 0xc(r1) +/* 8031EAC4 0031BA24 90 81 00 14 */ stw r4, 0x14(r1) +/* 8031EAC8 0031BA28 90 0D A8 F4 */ stw r0, lbl_805A94B4@sda21(r13) +/* 8031EACC 0031BA2C 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031EAD0 0031BA30 80 03 00 04 */ lwz r0, 4(r3) +/* 8031EAD4 0031BA34 28 00 00 00 */ cmplwi r0, 0 +/* 8031EAD8 0031BA38 41 82 00 78 */ beq lbl_8031EB50 +/* 8031EADC 0031BA3C 88 1F 02 6D */ lbz r0, 0x26d(r31) +/* 8031EAE0 0031BA40 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8031EAE4 0031BA44 40 82 00 6C */ bne lbl_8031EB50 +/* 8031EAE8 0031BA48 38 00 00 00 */ li r0, 0 +/* 8031EAEC 0031BA4C 38 A1 00 08 */ addi r5, r1, 8 +/* 8031EAF0 0031BA50 90 01 00 08 */ stw r0, 8(r1) +/* 8031EAF4 0031BA54 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031EAF8 0031BA58 80 9F 00 74 */ lwz r4, 0x74(r31) +/* 8031EAFC 0031BA5C 80 63 00 04 */ lwz r3, 4(r3) +/* 8031EB00 0031BA60 81 83 00 00 */ lwz r12, 0(r3) +/* 8031EB04 0031BA64 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031EB08 0031BA68 7D 89 03 A6 */ mtctr r12 +/* 8031EB0C 0031BA6C 4E 80 04 21 */ bctrl +/* 8031EB10 0031BA70 80 81 00 08 */ lwz r4, 8(r1) +/* 8031EB14 0031BA74 3C 00 43 30 */ lis r0, 0x4330 +/* 8031EB18 0031BA78 90 01 00 18 */ stw r0, 0x18(r1) +/* 8031EB1C 0031BA7C 7F E3 FB 78 */ mr r3, r31 +/* 8031EB20 0031BA80 6C 80 80 00 */ xoris r0, r4, 0x8000 +/* 8031EB24 0031BA84 C8 22 CA 18 */ lfd f1, lbl_805AE738@sda21(r2) +/* 8031EB28 0031BA88 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8031EB2C 0031BA8C C8 4D 9C F0 */ lfd f2, lbl_805A88B0@sda21(r13) +/* 8031EB30 0031BA90 C8 01 00 18 */ lfd f0, 0x18(r1) +/* 8031EB34 0031BA94 FC 00 08 28 */ fsub f0, f0, f1 +/* 8031EB38 0031BA98 FC 22 00 32 */ fmul f1, f2, f0 +/* 8031EB3C 0031BA9C 4B FF FB 0D */ bl InternalUpdate__11CElementGenFd +/* 8031EB40 0031BAA0 88 1F 02 6D */ lbz r0, 0x26d(r31) +/* 8031EB44 0031BAA4 38 60 00 01 */ li r3, 1 +/* 8031EB48 0031BAA8 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 8031EB4C 0031BAAC 98 1F 02 6D */ stb r0, 0x26d(r31) +lbl_8031EB50: +/* 8031EB50 0031BAB0 FC 20 F8 90 */ fmr f1, f31 +/* 8031EB54 0031BAB4 7F E3 FB 78 */ mr r3, r31 +/* 8031EB58 0031BAB8 4B FF FA F1 */ bl InternalUpdate__11CElementGenFd +/* 8031EB5C 0031BABC 34 01 00 0C */ addic. r0, r1, 0xc +/* 8031EB60 0031BAC0 41 82 00 0C */ beq lbl_8031EB6C +/* 8031EB64 0031BAC4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8031EB68 0031BAC8 90 0D A8 F4 */ stw r0, lbl_805A94B4@sda21(r13) +lbl_8031EB6C: +/* 8031EB6C 0031BACC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8031EB70 0031BAD0 CB E1 00 28 */ lfd f31, 0x28(r1) +/* 8031EB74 0031BAD4 83 E1 00 24 */ lwz r31, 0x24(r1) +/* 8031EB78 0031BAD8 7C 08 03 A6 */ mtlr r0 +/* 8031EB7C 0031BADC 38 21 00 30 */ addi r1, r1, 0x30 +/* 8031EB80 0031BAE0 4E 80 00 20 */ blr + +.global SetGlobalOrientAndTrans__11CElementGenFRC12CTransform4f +SetGlobalOrientAndTrans__11CElementGenFRC12CTransform4f: +/* 8031EB84 0031BAE4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8031EB88 0031BAE8 7C 08 02 A6 */ mflr r0 +/* 8031EB8C 0031BAEC 90 01 00 24 */ stw r0, 0x24(r1) +/* 8031EB90 0031BAF0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8031EB94 0031BAF4 7C 9F 23 78 */ mr r31, r4 +/* 8031EB98 0031BAF8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8031EB9C 0031BAFC 7C 7E 1B 78 */ mr r30, r3 +/* 8031EBA0 0031BB00 81 83 00 00 */ lwz r12, 0(r3) +/* 8031EBA4 0031BB04 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 8031EBA8 0031BB08 7D 89 03 A6 */ mtctr r12 +/* 8031EBAC 0031BB0C 4E 80 04 21 */ bctrl +/* 8031EBB0 0031BB10 C0 5F 00 2C */ lfs f2, 0x2c(r31) +/* 8031EBB4 0031BB14 7F C3 F3 78 */ mr r3, r30 +/* 8031EBB8 0031BB18 C0 3F 00 1C */ lfs f1, 0x1c(r31) +/* 8031EBBC 0031BB1C 38 81 00 08 */ addi r4, r1, 8 +/* 8031EBC0 0031BB20 C0 1F 00 0C */ lfs f0, 0xc(r31) +/* 8031EBC4 0031BB24 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 8031EBC8 0031BB28 D0 01 00 08 */ stfs f0, 8(r1) +/* 8031EBCC 0031BB2C D0 41 00 10 */ stfs f2, 0x10(r1) +/* 8031EBD0 0031BB30 81 9E 00 00 */ lwz r12, 0(r30) +/* 8031EBD4 0031BB34 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 8031EBD8 0031BB38 7D 89 03 A6 */ mtctr r12 +/* 8031EBDC 0031BB3C 4E 80 04 21 */ bctrl +/* 8031EBE0 0031BB40 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8031EBE4 0031BB44 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8031EBE8 0031BB48 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8031EBEC 0031BB4C 7C 08 03 A6 */ mtlr r0 +/* 8031EBF0 0031BB50 38 21 00 20 */ addi r1, r1, 0x20 +/* 8031EBF4 0031BB54 4E 80 00 20 */ blr + +.global SetGlobalOrientation__11CElementGenFRC12CTransform4f +SetGlobalOrientation__11CElementGenFRC12CTransform4f: +/* 8031EBF8 0031BB58 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8031EBFC 0031BB5C 7C 08 02 A6 */ mflr r0 +/* 8031EC00 0031BB60 90 01 00 14 */ stw r0, 0x14(r1) +/* 8031EC04 0031BB64 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8031EC08 0031BB68 93 C1 00 08 */ stw r30, 8(r1) +/* 8031EC0C 0031BB6C 7C 7E 1B 78 */ mr r30, r3 +/* 8031EC10 0031BB70 38 7E 02 2C */ addi r3, r30, 0x22c +/* 8031EC14 0031BB74 4B FF 3F 95 */ bl SetRotation__12CTransform4fFRC12CTransform4f +/* 8031EC18 0031BB78 83 FE 02 9C */ lwz r31, 0x29c(r30) +/* 8031EC1C 0031BB7C 48 00 00 20 */ b lbl_8031EC3C +lbl_8031EC20: +/* 8031EC20 0031BB80 80 7F 00 00 */ lwz r3, 0(r31) +/* 8031EC24 0031BB84 38 9E 02 2C */ addi r4, r30, 0x22c +/* 8031EC28 0031BB88 81 83 00 00 */ lwz r12, 0(r3) +/* 8031EC2C 0031BB8C 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 8031EC30 0031BB90 7D 89 03 A6 */ mtctr r12 +/* 8031EC34 0031BB94 4E 80 04 21 */ bctrl +/* 8031EC38 0031BB98 3B FF 00 04 */ addi r31, r31, 4 +lbl_8031EC3C: +/* 8031EC3C 0031BB9C 80 1E 02 94 */ lwz r0, 0x294(r30) +/* 8031EC40 0031BBA0 80 7E 02 9C */ lwz r3, 0x29c(r30) +/* 8031EC44 0031BBA4 54 00 10 3A */ slwi r0, r0, 2 +/* 8031EC48 0031BBA8 7C 03 02 14 */ add r0, r3, r0 +/* 8031EC4C 0031BBAC 7C 1F 00 40 */ cmplw r31, r0 +/* 8031EC50 0031BBB0 40 82 FF D0 */ bne lbl_8031EC20 +/* 8031EC54 0031BBB4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8031EC58 0031BBB8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8031EC5C 0031BBBC 83 C1 00 08 */ lwz r30, 8(r1) +/* 8031EC60 0031BBC0 7C 08 03 A6 */ mtlr r0 +/* 8031EC64 0031BBC4 38 21 00 10 */ addi r1, r1, 0x10 +/* 8031EC68 0031BBC8 4E 80 00 20 */ blr + +.global SetOrientation__11CElementGenFRC12CTransform4f +SetOrientation__11CElementGenFRC12CTransform4f: +/* 8031EC6C 0031BBCC 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 8031EC70 0031BBD0 7C 08 02 A6 */ mflr r0 +/* 8031EC74 0031BBD4 90 01 00 74 */ stw r0, 0x74(r1) +/* 8031EC78 0031BBD8 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 8031EC7C 0031BBDC 93 C1 00 68 */ stw r30, 0x68(r1) +/* 8031EC80 0031BBE0 7C 9E 23 78 */ mr r30, r4 +/* 8031EC84 0031BBE4 93 A1 00 64 */ stw r29, 0x64(r1) +/* 8031EC88 0031BBE8 7C 7D 1B 78 */ mr r29, r3 +/* 8031EC8C 0031BBEC 38 7D 01 D8 */ addi r3, r29, 0x1d8 +/* 8031EC90 0031BBF0 4B FF 3E B1 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8031EC94 0031BBF4 38 61 00 08 */ addi r3, r1, 8 +/* 8031EC98 0031BBF8 38 9D 01 D8 */ addi r4, r29, 0x1d8 +/* 8031EC9C 0031BBFC 4B FF 40 01 */ bl GetQuickInverse__12CTransform4fCFv +/* 8031ECA0 0031BC00 38 61 00 38 */ addi r3, r1, 0x38 +/* 8031ECA4 0031BC04 38 81 00 08 */ addi r4, r1, 8 +/* 8031ECA8 0031BC08 4B FF 44 4D */ bl BuildMatrix3f__12CTransform4fCFv +/* 8031ECAC 0031BC0C 38 7D 02 08 */ addi r3, r29, 0x208 +/* 8031ECB0 0031BC10 38 81 00 38 */ addi r4, r1, 0x38 +/* 8031ECB4 0031BC14 4B FF 13 45 */ bl __as__9CMatrix3fFRC9CMatrix3f +/* 8031ECB8 0031BC18 83 FD 02 9C */ lwz r31, 0x29c(r29) +/* 8031ECBC 0031BC1C 48 00 00 20 */ b lbl_8031ECDC +lbl_8031ECC0: +/* 8031ECC0 0031BC20 80 7F 00 00 */ lwz r3, 0(r31) +/* 8031ECC4 0031BC24 7F C4 F3 78 */ mr r4, r30 +/* 8031ECC8 0031BC28 81 83 00 00 */ lwz r12, 0(r3) +/* 8031ECCC 0031BC2C 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 8031ECD0 0031BC30 7D 89 03 A6 */ mtctr r12 +/* 8031ECD4 0031BC34 4E 80 04 21 */ bctrl +/* 8031ECD8 0031BC38 3B FF 00 04 */ addi r31, r31, 4 +lbl_8031ECDC: +/* 8031ECDC 0031BC3C 80 1D 02 94 */ lwz r0, 0x294(r29) +/* 8031ECE0 0031BC40 80 7D 02 9C */ lwz r3, 0x29c(r29) +/* 8031ECE4 0031BC44 54 00 10 3A */ slwi r0, r0, 2 +/* 8031ECE8 0031BC48 7C 03 02 14 */ add r0, r3, r0 +/* 8031ECEC 0031BC4C 7C 1F 00 40 */ cmplw r31, r0 +/* 8031ECF0 0031BC50 40 82 FF D0 */ bne lbl_8031ECC0 +/* 8031ECF4 0031BC54 80 01 00 74 */ lwz r0, 0x74(r1) +/* 8031ECF8 0031BC58 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 8031ECFC 0031BC5C 83 C1 00 68 */ lwz r30, 0x68(r1) +/* 8031ED00 0031BC60 83 A1 00 64 */ lwz r29, 0x64(r1) +/* 8031ED04 0031BC64 7C 08 03 A6 */ mtlr r0 +/* 8031ED08 0031BC68 38 21 00 70 */ addi r1, r1, 0x70 +/* 8031ED0C 0031BC6C 4E 80 00 20 */ blr + +.global SetLocalScale__11CElementGenFRC9CVector3f +SetLocalScale__11CElementGenFRC9CVector3f: +/* 8031ED10 0031BC70 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 8031ED14 0031BC74 7C 08 02 A6 */ mflr r0 +/* 8031ED18 0031BC78 90 01 00 84 */ stw r0, 0x84(r1) +/* 8031ED1C 0031BC7C 93 E1 00 7C */ stw r31, 0x7c(r1) +/* 8031ED20 0031BC80 93 C1 00 78 */ stw r30, 0x78(r1) +/* 8031ED24 0031BC84 7C 9E 23 78 */ mr r30, r4 +/* 8031ED28 0031BC88 93 A1 00 74 */ stw r29, 0x74(r1) +/* 8031ED2C 0031BC8C 7C 7D 1B 78 */ mr r29, r3 +/* 8031ED30 0031BC90 38 61 00 38 */ addi r3, r1, 0x38 +/* 8031ED34 0031BC94 C0 04 00 00 */ lfs f0, 0(r4) +/* 8031ED38 0031BC98 D0 1D 01 6C */ stfs f0, 0x16c(r29) +/* 8031ED3C 0031BC9C C0 04 00 04 */ lfs f0, 4(r4) +/* 8031ED40 0031BCA0 D0 1D 01 70 */ stfs f0, 0x170(r29) +/* 8031ED44 0031BCA4 C0 04 00 08 */ lfs f0, 8(r4) +/* 8031ED48 0031BCA8 D0 1D 01 74 */ stfs f0, 0x174(r29) +/* 8031ED4C 0031BCAC C0 3D 01 6C */ lfs f1, 0x16c(r29) +/* 8031ED50 0031BCB0 C0 5D 01 70 */ lfs f2, 0x170(r29) +/* 8031ED54 0031BCB4 C0 7D 01 74 */ lfs f3, 0x174(r29) +/* 8031ED58 0031BCB8 4B FF 44 B1 */ bl Scale__12CTransform4fFfff +/* 8031ED5C 0031BCBC 38 7D 01 78 */ addi r3, r29, 0x178 +/* 8031ED60 0031BCC0 38 81 00 38 */ addi r4, r1, 0x38 +/* 8031ED64 0031BCC4 4B FF 3D DD */ bl __as__12CTransform4fFRC12CTransform4f +/* 8031ED68 0031BCC8 C0 62 C9 F0 */ lfs f3, lbl_805AE710@sda21(r2) +/* 8031ED6C 0031BCCC 38 61 00 08 */ addi r3, r1, 8 +/* 8031ED70 0031BCD0 C0 3D 01 6C */ lfs f1, 0x16c(r29) +/* 8031ED74 0031BCD4 C0 5D 01 70 */ lfs f2, 0x170(r29) +/* 8031ED78 0031BCD8 C0 1D 01 74 */ lfs f0, 0x174(r29) +/* 8031ED7C 0031BCDC EC 23 08 24 */ fdivs f1, f3, f1 +/* 8031ED80 0031BCE0 EC 43 10 24 */ fdivs f2, f3, f2 +/* 8031ED84 0031BCE4 EC 63 00 24 */ fdivs f3, f3, f0 +/* 8031ED88 0031BCE8 4B FF 44 81 */ bl Scale__12CTransform4fFfff +/* 8031ED8C 0031BCEC 38 7D 01 A8 */ addi r3, r29, 0x1a8 +/* 8031ED90 0031BCF0 38 81 00 08 */ addi r4, r1, 8 +/* 8031ED94 0031BCF4 4B FF 3D AD */ bl __as__12CTransform4fFRC12CTransform4f +/* 8031ED98 0031BCF8 83 FD 02 9C */ lwz r31, 0x29c(r29) +/* 8031ED9C 0031BCFC 48 00 00 20 */ b lbl_8031EDBC +lbl_8031EDA0: +/* 8031EDA0 0031BD00 80 7F 00 00 */ lwz r3, 0(r31) +/* 8031EDA4 0031BD04 7F C4 F3 78 */ mr r4, r30 +/* 8031EDA8 0031BD08 81 83 00 00 */ lwz r12, 0(r3) +/* 8031EDAC 0031BD0C 81 8C 00 28 */ lwz r12, 0x28(r12) +/* 8031EDB0 0031BD10 7D 89 03 A6 */ mtctr r12 +/* 8031EDB4 0031BD14 4E 80 04 21 */ bctrl +/* 8031EDB8 0031BD18 3B FF 00 04 */ addi r31, r31, 4 +lbl_8031EDBC: +/* 8031EDBC 0031BD1C 80 1D 02 94 */ lwz r0, 0x294(r29) +/* 8031EDC0 0031BD20 80 7D 02 9C */ lwz r3, 0x29c(r29) +/* 8031EDC4 0031BD24 54 00 10 3A */ slwi r0, r0, 2 +/* 8031EDC8 0031BD28 7C 03 02 14 */ add r0, r3, r0 +/* 8031EDCC 0031BD2C 7C 1F 00 40 */ cmplw r31, r0 +/* 8031EDD0 0031BD30 40 82 FF D0 */ bne lbl_8031EDA0 +/* 8031EDD4 0031BD34 80 01 00 84 */ lwz r0, 0x84(r1) +/* 8031EDD8 0031BD38 83 E1 00 7C */ lwz r31, 0x7c(r1) +/* 8031EDDC 0031BD3C 83 C1 00 78 */ lwz r30, 0x78(r1) +/* 8031EDE0 0031BD40 83 A1 00 74 */ lwz r29, 0x74(r1) +/* 8031EDE4 0031BD44 7C 08 03 A6 */ mtlr r0 +/* 8031EDE8 0031BD48 38 21 00 80 */ addi r1, r1, 0x80 +/* 8031EDEC 0031BD4C 4E 80 00 20 */ blr + +.global SetGlobalScale__11CElementGenFRC9CVector3f +SetGlobalScale__11CElementGenFRC9CVector3f: +/* 8031EDF0 0031BD50 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 8031EDF4 0031BD54 7C 08 02 A6 */ mflr r0 +/* 8031EDF8 0031BD58 90 01 00 84 */ stw r0, 0x84(r1) +/* 8031EDFC 0031BD5C 93 E1 00 7C */ stw r31, 0x7c(r1) +/* 8031EE00 0031BD60 93 C1 00 78 */ stw r30, 0x78(r1) +/* 8031EE04 0031BD64 7C 9E 23 78 */ mr r30, r4 +/* 8031EE08 0031BD68 93 A1 00 74 */ stw r29, 0x74(r1) +/* 8031EE0C 0031BD6C 7C 7D 1B 78 */ mr r29, r3 +/* 8031EE10 0031BD70 38 61 00 38 */ addi r3, r1, 0x38 +/* 8031EE14 0031BD74 C0 04 00 00 */ lfs f0, 0(r4) +/* 8031EE18 0031BD78 D0 1D 01 00 */ stfs f0, 0x100(r29) +/* 8031EE1C 0031BD7C C0 04 00 04 */ lfs f0, 4(r4) +/* 8031EE20 0031BD80 D0 1D 01 04 */ stfs f0, 0x104(r29) +/* 8031EE24 0031BD84 C0 04 00 08 */ lfs f0, 8(r4) +/* 8031EE28 0031BD88 D0 1D 01 08 */ stfs f0, 0x108(r29) +/* 8031EE2C 0031BD8C C0 3D 01 00 */ lfs f1, 0x100(r29) +/* 8031EE30 0031BD90 C0 5D 01 04 */ lfs f2, 0x104(r29) +/* 8031EE34 0031BD94 C0 7D 01 08 */ lfs f3, 0x108(r29) +/* 8031EE38 0031BD98 4B FF 43 D1 */ bl Scale__12CTransform4fFfff +/* 8031EE3C 0031BD9C 38 7D 01 0C */ addi r3, r29, 0x10c +/* 8031EE40 0031BDA0 38 81 00 38 */ addi r4, r1, 0x38 +/* 8031EE44 0031BDA4 4B FF 3C FD */ bl __as__12CTransform4fFRC12CTransform4f +/* 8031EE48 0031BDA8 C0 62 C9 F0 */ lfs f3, lbl_805AE710@sda21(r2) +/* 8031EE4C 0031BDAC 38 61 00 08 */ addi r3, r1, 8 +/* 8031EE50 0031BDB0 C0 3D 01 00 */ lfs f1, 0x100(r29) +/* 8031EE54 0031BDB4 C0 5D 01 04 */ lfs f2, 0x104(r29) +/* 8031EE58 0031BDB8 C0 1D 01 08 */ lfs f0, 0x108(r29) +/* 8031EE5C 0031BDBC EC 23 08 24 */ fdivs f1, f3, f1 +/* 8031EE60 0031BDC0 EC 43 10 24 */ fdivs f2, f3, f2 +/* 8031EE64 0031BDC4 EC 63 00 24 */ fdivs f3, f3, f0 +/* 8031EE68 0031BDC8 4B FF 43 A1 */ bl Scale__12CTransform4fFfff +/* 8031EE6C 0031BDCC 38 7D 01 3C */ addi r3, r29, 0x13c +/* 8031EE70 0031BDD0 38 81 00 08 */ addi r4, r1, 8 +/* 8031EE74 0031BDD4 4B FF 3C CD */ bl __as__12CTransform4fFRC12CTransform4f +/* 8031EE78 0031BDD8 83 FD 02 9C */ lwz r31, 0x29c(r29) +/* 8031EE7C 0031BDDC 48 00 00 20 */ b lbl_8031EE9C +lbl_8031EE80: +/* 8031EE80 0031BDE0 80 7F 00 00 */ lwz r3, 0(r31) +/* 8031EE84 0031BDE4 7F C4 F3 78 */ mr r4, r30 +/* 8031EE88 0031BDE8 81 83 00 00 */ lwz r12, 0(r3) +/* 8031EE8C 0031BDEC 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 8031EE90 0031BDF0 7D 89 03 A6 */ mtctr r12 +/* 8031EE94 0031BDF4 4E 80 04 21 */ bctrl +/* 8031EE98 0031BDF8 3B FF 00 04 */ addi r31, r31, 4 +lbl_8031EE9C: +/* 8031EE9C 0031BDFC 80 1D 02 94 */ lwz r0, 0x294(r29) +/* 8031EEA0 0031BE00 80 7D 02 9C */ lwz r3, 0x29c(r29) +/* 8031EEA4 0031BE04 54 00 10 3A */ slwi r0, r0, 2 +/* 8031EEA8 0031BE08 7C 03 02 14 */ add r0, r3, r0 +/* 8031EEAC 0031BE0C 7C 1F 00 40 */ cmplw r31, r0 +/* 8031EEB0 0031BE10 40 82 FF D0 */ bne lbl_8031EE80 +/* 8031EEB4 0031BE14 80 01 00 84 */ lwz r0, 0x84(r1) +/* 8031EEB8 0031BE18 83 E1 00 7C */ lwz r31, 0x7c(r1) +/* 8031EEBC 0031BE1C 83 C1 00 78 */ lwz r30, 0x78(r1) +/* 8031EEC0 0031BE20 83 A1 00 74 */ lwz r29, 0x74(r1) +/* 8031EEC4 0031BE24 7C 08 03 A6 */ mtlr r0 +/* 8031EEC8 0031BE28 38 21 00 80 */ addi r1, r1, 0x80 +/* 8031EECC 0031BE2C 4E 80 00 20 */ blr + +.global GetModulationColor__11CElementGenCFv +GetModulationColor__11CElementGenCFv: +/* 8031EED0 0031BE30 38 63 03 38 */ addi r3, r3, 0x338 +/* 8031EED4 0031BE34 4E 80 00 20 */ blr + +.global SetModulationColor__11CElementGenFRC6CColor +SetModulationColor__11CElementGenFRC6CColor: +/* 8031EED8 0031BE38 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8031EEDC 0031BE3C 7C 08 02 A6 */ mflr r0 +/* 8031EEE0 0031BE40 90 01 00 24 */ stw r0, 0x24(r1) +/* 8031EEE4 0031BE44 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8031EEE8 0031BE48 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8031EEEC 0031BE4C 7C 9E 23 78 */ mr r30, r4 +/* 8031EEF0 0031BE50 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8031EEF4 0031BE54 7C 7D 1B 78 */ mr r29, r3 +/* 8031EEF8 0031BE58 80 04 00 00 */ lwz r0, 0(r4) +/* 8031EEFC 0031BE5C 90 03 03 38 */ stw r0, 0x338(r3) +/* 8031EF00 0031BE60 83 E3 02 9C */ lwz r31, 0x29c(r3) +/* 8031EF04 0031BE64 48 00 00 20 */ b lbl_8031EF24 +lbl_8031EF08: +/* 8031EF08 0031BE68 80 7F 00 00 */ lwz r3, 0(r31) +/* 8031EF0C 0031BE6C 7F C4 F3 78 */ mr r4, r30 +/* 8031EF10 0031BE70 81 83 00 00 */ lwz r12, 0(r3) +/* 8031EF14 0031BE74 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 8031EF18 0031BE78 7D 89 03 A6 */ mtctr r12 +/* 8031EF1C 0031BE7C 4E 80 04 21 */ bctrl +/* 8031EF20 0031BE80 3B FF 00 04 */ addi r31, r31, 4 +lbl_8031EF24: +/* 8031EF24 0031BE84 80 1D 02 94 */ lwz r0, 0x294(r29) +/* 8031EF28 0031BE88 80 7D 02 9C */ lwz r3, 0x29c(r29) +/* 8031EF2C 0031BE8C 54 00 10 3A */ slwi r0, r0, 2 +/* 8031EF30 0031BE90 7C 03 02 14 */ add r0, r3, r0 +/* 8031EF34 0031BE94 7C 1F 00 40 */ cmplw r31, r0 +/* 8031EF38 0031BE98 40 82 FF D0 */ bne lbl_8031EF08 +/* 8031EF3C 0031BE9C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8031EF40 0031BEA0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8031EF44 0031BEA4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8031EF48 0031BEA8 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8031EF4C 0031BEAC 7C 08 03 A6 */ mtlr r0 +/* 8031EF50 0031BEB0 38 21 00 20 */ addi r1, r1, 0x20 +/* 8031EF54 0031BEB4 4E 80 00 20 */ blr + +.global SetGlobalTranslation__11CElementGenFRC9CVector3f +SetGlobalTranslation__11CElementGenFRC9CVector3f: +/* 8031EF58 0031BEB8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8031EF5C 0031BEBC 7C 08 02 A6 */ mflr r0 +/* 8031EF60 0031BEC0 90 01 00 24 */ stw r0, 0x24(r1) +/* 8031EF64 0031BEC4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8031EF68 0031BEC8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8031EF6C 0031BECC 7C 9E 23 78 */ mr r30, r4 +/* 8031EF70 0031BED0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8031EF74 0031BED4 7C 7D 1B 78 */ mr r29, r3 +/* 8031EF78 0031BED8 C0 04 00 00 */ lfs f0, 0(r4) +/* 8031EF7C 0031BEDC D0 03 00 E8 */ stfs f0, 0xe8(r3) +/* 8031EF80 0031BEE0 C0 04 00 04 */ lfs f0, 4(r4) +/* 8031EF84 0031BEE4 D0 03 00 EC */ stfs f0, 0xec(r3) +/* 8031EF88 0031BEE8 C0 04 00 08 */ lfs f0, 8(r4) +/* 8031EF8C 0031BEEC D0 03 00 F0 */ stfs f0, 0xf0(r3) +/* 8031EF90 0031BEF0 83 E3 02 9C */ lwz r31, 0x29c(r3) +/* 8031EF94 0031BEF4 48 00 00 20 */ b lbl_8031EFB4 +lbl_8031EF98: +/* 8031EF98 0031BEF8 80 7F 00 00 */ lwz r3, 0(r31) +/* 8031EF9C 0031BEFC 7F C4 F3 78 */ mr r4, r30 +/* 8031EFA0 0031BF00 81 83 00 00 */ lwz r12, 0(r3) +/* 8031EFA4 0031BF04 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 8031EFA8 0031BF08 7D 89 03 A6 */ mtctr r12 +/* 8031EFAC 0031BF0C 4E 80 04 21 */ bctrl +/* 8031EFB0 0031BF10 3B FF 00 04 */ addi r31, r31, 4 +lbl_8031EFB4: +/* 8031EFB4 0031BF14 80 1D 02 94 */ lwz r0, 0x294(r29) +/* 8031EFB8 0031BF18 80 7D 02 9C */ lwz r3, 0x29c(r29) +/* 8031EFBC 0031BF1C 54 00 10 3A */ slwi r0, r0, 2 +/* 8031EFC0 0031BF20 7C 03 02 14 */ add r0, r3, r0 +/* 8031EFC4 0031BF24 7C 1F 00 40 */ cmplw r31, r0 +/* 8031EFC8 0031BF28 40 82 FF D0 */ bne lbl_8031EF98 +/* 8031EFCC 0031BF2C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8031EFD0 0031BF30 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8031EFD4 0031BF34 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8031EFD8 0031BF38 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8031EFDC 0031BF3C 7C 08 03 A6 */ mtlr r0 +/* 8031EFE0 0031BF40 38 21 00 20 */ addi r1, r1, 0x20 +/* 8031EFE4 0031BF44 4E 80 00 20 */ blr + +.global SetTranslation__11CElementGenFRC9CVector3f +SetTranslation__11CElementGenFRC9CVector3f: +/* 8031EFE8 0031BF48 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8031EFEC 0031BF4C 7C 08 02 A6 */ mflr r0 +/* 8031EFF0 0031BF50 90 01 00 34 */ stw r0, 0x34(r1) +/* 8031EFF4 0031BF54 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8031EFF8 0031BF58 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8031EFFC 0031BF5C 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8031F000 0031BF60 7C 9D 23 78 */ mr r29, r4 +/* 8031F004 0031BF64 93 81 00 20 */ stw r28, 0x20(r1) +/* 8031F008 0031BF68 7C 7C 1B 78 */ mr r28, r3 +/* 8031F00C 0031BF6C C0 04 00 00 */ lfs f0, 0(r4) +/* 8031F010 0031BF70 D0 03 00 DC */ stfs f0, 0xdc(r3) +/* 8031F014 0031BF74 C0 04 00 04 */ lfs f0, 4(r4) +/* 8031F018 0031BF78 D0 03 00 E0 */ stfs f0, 0xe0(r3) +/* 8031F01C 0031BF7C C0 04 00 08 */ lfs f0, 8(r4) +/* 8031F020 0031BF80 D0 03 00 E4 */ stfs f0, 0xe4(r3) +/* 8031F024 0031BF84 83 E3 02 9C */ lwz r31, 0x29c(r3) +/* 8031F028 0031BF88 48 00 00 FC */ b lbl_8031F124 +lbl_8031F02C: +/* 8031F02C 0031BF8C 83 DF 00 00 */ lwz r30, 0(r31) +/* 8031F030 0031BF90 7F C3 F3 78 */ mr r3, r30 +/* 8031F034 0031BF94 81 9E 00 00 */ lwz r12, 0(r30) +/* 8031F038 0031BF98 81 8C 00 74 */ lwz r12, 0x74(r12) +/* 8031F03C 0031BF9C 7D 89 03 A6 */ mtctr r12 +/* 8031F040 0031BFA0 4E 80 04 21 */ bctrl +/* 8031F044 0031BFA4 3C 03 BA B4 */ addis r0, r3, 0xbab4 +/* 8031F048 0031BFA8 28 00 53 43 */ cmplwi r0, 0x5343 +/* 8031F04C 0031BFAC 40 82 00 50 */ bne lbl_8031F09C +/* 8031F050 0031BFB0 C0 3D 00 04 */ lfs f1, 4(r29) +/* 8031F054 0031BFB4 7F C3 F3 78 */ mr r3, r30 +/* 8031F058 0031BFB8 C0 1C 02 C4 */ lfs f0, 0x2c4(r28) +/* 8031F05C 0031BFBC 38 81 00 14 */ addi r4, r1, 0x14 +/* 8031F060 0031BFC0 C0 7D 00 08 */ lfs f3, 8(r29) +/* 8031F064 0031BFC4 C0 5C 02 C8 */ lfs f2, 0x2c8(r28) +/* 8031F068 0031BFC8 EC 81 00 2A */ fadds f4, f1, f0 +/* 8031F06C 0031BFCC C0 1C 02 C0 */ lfs f0, 0x2c0(r28) +/* 8031F070 0031BFD0 C0 3D 00 00 */ lfs f1, 0(r29) +/* 8031F074 0031BFD4 EC 43 10 2A */ fadds f2, f3, f2 +/* 8031F078 0031BFD8 D0 81 00 18 */ stfs f4, 0x18(r1) +/* 8031F07C 0031BFDC EC 01 00 2A */ fadds f0, f1, f0 +/* 8031F080 0031BFE0 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 8031F084 0031BFE4 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 8031F088 0031BFE8 81 9E 00 00 */ lwz r12, 0(r30) +/* 8031F08C 0031BFEC 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 8031F090 0031BFF0 7D 89 03 A6 */ mtctr r12 +/* 8031F094 0031BFF4 4E 80 04 21 */ bctrl +/* 8031F098 0031BFF8 48 00 00 88 */ b lbl_8031F120 +lbl_8031F09C: +/* 8031F09C 0031BFFC 7F C3 F3 78 */ mr r3, r30 +/* 8031F0A0 0031C000 81 9E 00 00 */ lwz r12, 0(r30) +/* 8031F0A4 0031C004 81 8C 00 74 */ lwz r12, 0x74(r12) +/* 8031F0A8 0031C008 7D 89 03 A6 */ mtctr r12 +/* 8031F0AC 0031C00C 4E 80 04 21 */ bctrl +/* 8031F0B0 0031C010 3C 03 AC A9 */ addis r0, r3, 0xaca9 +/* 8031F0B4 0031C014 28 00 48 43 */ cmplwi r0, 0x4843 +/* 8031F0B8 0031C018 40 82 00 50 */ bne lbl_8031F108 +/* 8031F0BC 0031C01C C0 3D 00 04 */ lfs f1, 4(r29) +/* 8031F0C0 0031C020 7F C3 F3 78 */ mr r3, r30 +/* 8031F0C4 0031C024 C0 1C 02 B4 */ lfs f0, 0x2b4(r28) +/* 8031F0C8 0031C028 38 81 00 08 */ addi r4, r1, 8 +/* 8031F0CC 0031C02C C0 7D 00 08 */ lfs f3, 8(r29) +/* 8031F0D0 0031C030 C0 5C 02 B8 */ lfs f2, 0x2b8(r28) +/* 8031F0D4 0031C034 EC 81 00 2A */ fadds f4, f1, f0 +/* 8031F0D8 0031C038 C0 1C 02 B0 */ lfs f0, 0x2b0(r28) +/* 8031F0DC 0031C03C C0 3D 00 00 */ lfs f1, 0(r29) +/* 8031F0E0 0031C040 EC 43 10 2A */ fadds f2, f3, f2 +/* 8031F0E4 0031C044 D0 81 00 0C */ stfs f4, 0xc(r1) +/* 8031F0E8 0031C048 EC 01 00 2A */ fadds f0, f1, f0 +/* 8031F0EC 0031C04C D0 41 00 10 */ stfs f2, 0x10(r1) +/* 8031F0F0 0031C050 D0 01 00 08 */ stfs f0, 8(r1) +/* 8031F0F4 0031C054 81 9E 00 00 */ lwz r12, 0(r30) +/* 8031F0F8 0031C058 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 8031F0FC 0031C05C 7D 89 03 A6 */ mtctr r12 +/* 8031F100 0031C060 4E 80 04 21 */ bctrl +/* 8031F104 0031C064 48 00 00 1C */ b lbl_8031F120 +lbl_8031F108: +/* 8031F108 0031C068 7F C3 F3 78 */ mr r3, r30 +/* 8031F10C 0031C06C 7F A4 EB 78 */ mr r4, r29 +/* 8031F110 0031C070 81 9E 00 00 */ lwz r12, 0(r30) +/* 8031F114 0031C074 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 8031F118 0031C078 7D 89 03 A6 */ mtctr r12 +/* 8031F11C 0031C07C 4E 80 04 21 */ bctrl +lbl_8031F120: +/* 8031F120 0031C080 3B FF 00 04 */ addi r31, r31, 4 +lbl_8031F124: +/* 8031F124 0031C084 80 1C 02 94 */ lwz r0, 0x294(r28) +/* 8031F128 0031C088 80 7C 02 9C */ lwz r3, 0x29c(r28) +/* 8031F12C 0031C08C 54 00 10 3A */ slwi r0, r0, 2 +/* 8031F130 0031C090 7C 03 02 14 */ add r0, r3, r0 +/* 8031F134 0031C094 7C 1F 00 40 */ cmplw r31, r0 +/* 8031F138 0031C098 40 82 FE F4 */ bne lbl_8031F02C +/* 8031F13C 0031C09C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8031F140 0031C0A0 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8031F144 0031C0A4 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8031F148 0031C0A8 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8031F14C 0031C0AC 83 81 00 20 */ lwz r28, 0x20(r1) +/* 8031F150 0031C0B0 7C 08 03 A6 */ mtlr r0 +/* 8031F154 0031C0B4 38 21 00 30 */ addi r1, r1, 0x30 +/* 8031F158 0031C0B8 4E 80 00 20 */ blr + +.global ShutDown__11CElementGenFv +ShutDown__11CElementGenFv: +/* 8031F15C 0031C0BC 38 00 00 00 */ li r0, 0 +/* 8031F160 0031C0C0 98 0D A8 BA */ stb r0, lbl_805A947A@sda21(r13) +/* 8031F164 0031C0C4 4E 80 00 20 */ blr + +.global Initialize__11CElementGenFv +Initialize__11CElementGenFv: +/* 8031F168 0031C0C8 88 0D A8 BA */ lbz r0, lbl_805A947A@sda21(r13) +/* 8031F16C 0031C0CC 28 00 00 00 */ cmplwi r0, 0 +/* 8031F170 0031C0D0 4C 82 00 20 */ bnelr +/* 8031F174 0031C0D4 38 60 00 00 */ li r3, 0 +/* 8031F178 0031C0D8 38 00 00 01 */ li r0, 1 +/* 8031F17C 0031C0DC 90 6D A8 B0 */ stw r3, lbl_805A9470@sda21(r13) +/* 8031F180 0031C0E0 90 6D A8 B4 */ stw r3, lbl_805A9474@sda21(r13) +/* 8031F184 0031C0E4 98 0D A8 BA */ stb r0, lbl_805A947A@sda21(r13) +/* 8031F188 0031C0E8 4E 80 00 20 */ blr + +.global __dt__11CElementGenFv +__dt__11CElementGenFv: +/* 8031F18C 0031C0EC 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 8031F190 0031C0F0 7C 08 02 A6 */ mflr r0 +/* 8031F194 0031C0F4 90 01 00 74 */ stw r0, 0x74(r1) +/* 8031F198 0031C0F8 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 8031F19C 0031C0FC 7C 9F 23 78 */ mr r31, r4 +/* 8031F1A0 0031C100 93 C1 00 68 */ stw r30, 0x68(r1) +/* 8031F1A4 0031C104 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8031F1A8 0031C108 93 A1 00 64 */ stw r29, 0x64(r1) +/* 8031F1AC 0031C10C 41 82 02 14 */ beq lbl_8031F3C0 +/* 8031F1B0 0031C110 3C 60 80 3F */ lis r3, lbl_803EDA80@ha +/* 8031F1B4 0031C114 38 03 DA 80 */ addi r0, r3, lbl_803EDA80@l +/* 8031F1B8 0031C118 90 1E 00 00 */ stw r0, 0(r30) +/* 8031F1BC 0031C11C 80 6D A8 B4 */ lwz r3, lbl_805A9474@sda21(r13) +/* 8031F1C0 0031C120 80 0D A8 B0 */ lwz r0, lbl_805A9470@sda21(r13) +/* 8031F1C4 0031C124 38 63 FF FF */ addi r3, r3, -1 +/* 8031F1C8 0031C128 90 6D A8 B4 */ stw r3, lbl_805A9474@sda21(r13) +/* 8031F1CC 0031C12C 80 7E 00 34 */ lwz r3, 0x34(r30) +/* 8031F1D0 0031C130 7C 03 00 50 */ subf r0, r3, r0 +/* 8031F1D4 0031C134 90 0D A8 B0 */ stw r0, lbl_805A9470@sda21(r13) +/* 8031F1D8 0031C138 83 BE 02 9C */ lwz r29, 0x29c(r30) +/* 8031F1DC 0031C13C 48 00 00 28 */ b lbl_8031F204 +lbl_8031F1E0: +/* 8031F1E0 0031C140 80 7D 00 00 */ lwz r3, 0(r29) +/* 8031F1E4 0031C144 28 03 00 00 */ cmplwi r3, 0 +/* 8031F1E8 0031C148 41 82 00 18 */ beq lbl_8031F200 +/* 8031F1EC 0031C14C 81 83 00 00 */ lwz r12, 0(r3) +/* 8031F1F0 0031C150 38 80 00 01 */ li r4, 1 +/* 8031F1F4 0031C154 81 8C 00 08 */ lwz r12, 8(r12) +/* 8031F1F8 0031C158 7D 89 03 A6 */ mtctr r12 +/* 8031F1FC 0031C15C 4E 80 04 21 */ bctrl +lbl_8031F200: +/* 8031F200 0031C160 3B BD 00 04 */ addi r29, r29, 4 +lbl_8031F204: +/* 8031F204 0031C164 80 1E 02 94 */ lwz r0, 0x294(r30) +/* 8031F208 0031C168 80 7E 02 9C */ lwz r3, 0x29c(r30) +/* 8031F20C 0031C16C 54 00 10 3A */ slwi r0, r0, 2 +/* 8031F210 0031C170 7C A3 02 14 */ add r5, r3, r0 +/* 8031F214 0031C174 7C 1D 28 40 */ cmplw r29, r5 +/* 8031F218 0031C178 40 82 FF C8 */ bne lbl_8031F1E0 +/* 8031F21C 0031C17C 34 1E 02 90 */ addic. r0, r30, 0x290 +/* 8031F220 0031C180 41 82 00 34 */ beq lbl_8031F254 +/* 8031F224 0031C184 90 A1 00 54 */ stw r5, 0x54(r1) +/* 8031F228 0031C188 7C 64 1B 78 */ mr r4, r3 +/* 8031F22C 0031C18C 90 A1 00 50 */ stw r5, 0x50(r1) +/* 8031F230 0031C190 90 61 00 4C */ stw r3, 0x4c(r1) +/* 8031F234 0031C194 90 61 00 48 */ stw r3, 0x48(r1) +/* 8031F238 0031C198 48 00 00 08 */ b lbl_8031F240 +lbl_8031F23C: +/* 8031F23C 0031C19C 38 84 00 04 */ addi r4, r4, 4 +lbl_8031F240: +/* 8031F240 0031C1A0 7C 04 28 40 */ cmplw r4, r5 +/* 8031F244 0031C1A4 40 82 FF F8 */ bne lbl_8031F23C +/* 8031F248 0031C1A8 28 03 00 00 */ cmplwi r3, 0 +/* 8031F24C 0031C1AC 41 82 00 08 */ beq lbl_8031F254 +/* 8031F250 0031C1B0 4B FF 66 E1 */ bl Free__7CMemoryFPCv +lbl_8031F254: +/* 8031F254 0031C1B4 34 1E 00 60 */ addic. r0, r30, 0x60 +/* 8031F258 0031C1B8 41 82 00 44 */ beq lbl_8031F29C +/* 8031F25C 0031C1BC 80 1E 00 64 */ lwz r0, 0x64(r30) +/* 8031F260 0031C1C0 80 7E 00 6C */ lwz r3, 0x6c(r30) +/* 8031F264 0031C1C4 54 00 28 34 */ slwi r0, r0, 5 +/* 8031F268 0031C1C8 7C 03 02 14 */ add r0, r3, r0 +/* 8031F26C 0031C1CC 90 61 00 3C */ stw r3, 0x3c(r1) +/* 8031F270 0031C1D0 7C 64 1B 78 */ mr r4, r3 +/* 8031F274 0031C1D4 90 01 00 44 */ stw r0, 0x44(r1) +/* 8031F278 0031C1D8 90 01 00 40 */ stw r0, 0x40(r1) +/* 8031F27C 0031C1DC 90 61 00 38 */ stw r3, 0x38(r1) +/* 8031F280 0031C1E0 48 00 00 08 */ b lbl_8031F288 +lbl_8031F284: +/* 8031F284 0031C1E4 38 84 00 20 */ addi r4, r4, 0x20 +lbl_8031F288: +/* 8031F288 0031C1E8 7C 04 00 40 */ cmplw r4, r0 +/* 8031F28C 0031C1EC 40 82 FF F8 */ bne lbl_8031F284 +/* 8031F290 0031C1F0 28 03 00 00 */ cmplwi r3, 0 +/* 8031F294 0031C1F4 41 82 00 08 */ beq lbl_8031F29C +/* 8031F298 0031C1F8 4B FF 66 99 */ bl Free__7CMemoryFPCv +lbl_8031F29C: +/* 8031F29C 0031C1FC 34 1E 00 50 */ addic. r0, r30, 0x50 +/* 8031F2A0 0031C200 41 82 00 44 */ beq lbl_8031F2E4 +/* 8031F2A4 0031C204 80 1E 00 54 */ lwz r0, 0x54(r30) +/* 8031F2A8 0031C208 80 7E 00 5C */ lwz r3, 0x5c(r30) +/* 8031F2AC 0031C20C 1C 00 00 24 */ mulli r0, r0, 0x24 +/* 8031F2B0 0031C210 90 61 00 2C */ stw r3, 0x2c(r1) +/* 8031F2B4 0031C214 7C 64 1B 78 */ mr r4, r3 +/* 8031F2B8 0031C218 7C 03 02 14 */ add r0, r3, r0 +/* 8031F2BC 0031C21C 90 61 00 28 */ stw r3, 0x28(r1) +/* 8031F2C0 0031C220 90 01 00 34 */ stw r0, 0x34(r1) +/* 8031F2C4 0031C224 90 01 00 30 */ stw r0, 0x30(r1) +/* 8031F2C8 0031C228 48 00 00 08 */ b lbl_8031F2D0 +lbl_8031F2CC: +/* 8031F2CC 0031C22C 38 84 00 24 */ addi r4, r4, 0x24 +lbl_8031F2D0: +/* 8031F2D0 0031C230 7C 04 00 40 */ cmplw r4, r0 +/* 8031F2D4 0031C234 40 82 FF F8 */ bne lbl_8031F2CC +/* 8031F2D8 0031C238 28 03 00 00 */ cmplwi r3, 0 +/* 8031F2DC 0031C23C 41 82 00 08 */ beq lbl_8031F2E4 +/* 8031F2E0 0031C240 4B FF 66 51 */ bl Free__7CMemoryFPCv +lbl_8031F2E4: +/* 8031F2E4 0031C244 34 1E 00 40 */ addic. r0, r30, 0x40 +/* 8031F2E8 0031C248 41 82 00 44 */ beq lbl_8031F32C +/* 8031F2EC 0031C24C 80 1E 00 44 */ lwz r0, 0x44(r30) +/* 8031F2F0 0031C250 80 7E 00 4C */ lwz r3, 0x4c(r30) +/* 8031F2F4 0031C254 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8031F2F8 0031C258 90 61 00 1C */ stw r3, 0x1c(r1) +/* 8031F2FC 0031C25C 7C 64 1B 78 */ mr r4, r3 +/* 8031F300 0031C260 7C 03 02 14 */ add r0, r3, r0 +/* 8031F304 0031C264 90 61 00 18 */ stw r3, 0x18(r1) +/* 8031F308 0031C268 90 01 00 24 */ stw r0, 0x24(r1) +/* 8031F30C 0031C26C 90 01 00 20 */ stw r0, 0x20(r1) +/* 8031F310 0031C270 48 00 00 08 */ b lbl_8031F318 +lbl_8031F314: +/* 8031F314 0031C274 38 84 00 0C */ addi r4, r4, 0xc +lbl_8031F318: +/* 8031F318 0031C278 7C 04 00 40 */ cmplw r4, r0 +/* 8031F31C 0031C27C 40 82 FF F8 */ bne lbl_8031F314 +/* 8031F320 0031C280 28 03 00 00 */ cmplwi r3, 0 +/* 8031F324 0031C284 41 82 00 08 */ beq lbl_8031F32C +/* 8031F328 0031C288 4B FF 66 09 */ bl Free__7CMemoryFPCv +lbl_8031F32C: +/* 8031F32C 0031C28C 34 1E 00 30 */ addic. r0, r30, 0x30 +/* 8031F330 0031C290 41 82 00 44 */ beq lbl_8031F374 +/* 8031F334 0031C294 80 1E 00 34 */ lwz r0, 0x34(r30) +/* 8031F338 0031C298 80 7E 00 3C */ lwz r3, 0x3c(r30) +/* 8031F33C 0031C29C 1C 00 00 38 */ mulli r0, r0, 0x38 +/* 8031F340 0031C2A0 90 61 00 0C */ stw r3, 0xc(r1) +/* 8031F344 0031C2A4 7C 64 1B 78 */ mr r4, r3 +/* 8031F348 0031C2A8 7C 03 02 14 */ add r0, r3, r0 +/* 8031F34C 0031C2AC 90 61 00 08 */ stw r3, 8(r1) +/* 8031F350 0031C2B0 90 01 00 14 */ stw r0, 0x14(r1) +/* 8031F354 0031C2B4 90 01 00 10 */ stw r0, 0x10(r1) +/* 8031F358 0031C2B8 48 00 00 08 */ b lbl_8031F360 +lbl_8031F35C: +/* 8031F35C 0031C2BC 38 84 00 38 */ addi r4, r4, 0x38 +lbl_8031F360: +/* 8031F360 0031C2C0 7C 04 00 40 */ cmplw r4, r0 +/* 8031F364 0031C2C4 40 82 FF F8 */ bne lbl_8031F35C +/* 8031F368 0031C2C8 28 03 00 00 */ cmplwi r3, 0 +/* 8031F36C 0031C2CC 41 82 00 08 */ beq lbl_8031F374 +/* 8031F370 0031C2D0 4B FF 65 C1 */ bl Free__7CMemoryFPCv +lbl_8031F374: +/* 8031F374 0031C2D4 34 1E 00 1C */ addic. r0, r30, 0x1c +/* 8031F378 0031C2D8 41 82 00 18 */ beq lbl_8031F390 +/* 8031F37C 0031C2DC 34 1E 00 1C */ addic. r0, r30, 0x1c +/* 8031F380 0031C2E0 41 82 00 10 */ beq lbl_8031F390 +/* 8031F384 0031C2E4 38 7E 00 1C */ addi r3, r30, 0x1c +/* 8031F388 0031C2E8 38 80 00 00 */ li r4, 0 +/* 8031F38C 0031C2EC 48 02 1A B5 */ bl __dt__6CTokenFv +lbl_8031F390: +/* 8031F390 0031C2F0 28 1E 00 00 */ cmplwi r30, 0 +/* 8031F394 0031C2F4 41 82 00 1C */ beq lbl_8031F3B0 +/* 8031F398 0031C2F8 3C 80 80 3F */ lis r4, lbl_803EDD08@ha +/* 8031F39C 0031C2FC 38 7E 00 04 */ addi r3, r30, 4 +/* 8031F3A0 0031C300 38 04 DD 08 */ addi r0, r4, lbl_803EDD08@l +/* 8031F3A4 0031C304 38 80 FF FF */ li r4, -1 +/* 8031F3A8 0031C308 90 1E 00 00 */ stw r0, 0(r30) +/* 8031F3AC 0031C30C 4B D3 B9 25 */ bl __dt__12CParticleGenFv +lbl_8031F3B0: +/* 8031F3B0 0031C310 7F E0 07 35 */ extsh. r0, r31 +/* 8031F3B4 0031C314 40 81 00 0C */ ble lbl_8031F3C0 +/* 8031F3B8 0031C318 7F C3 F3 78 */ mr r3, r30 +/* 8031F3BC 0031C31C 4B FF 65 75 */ bl Free__7CMemoryFPCv +lbl_8031F3C0: +/* 8031F3C0 0031C320 80 01 00 74 */ lwz r0, 0x74(r1) +/* 8031F3C4 0031C324 7F C3 F3 78 */ mr r3, r30 +/* 8031F3C8 0031C328 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 8031F3CC 0031C32C 83 C1 00 68 */ lwz r30, 0x68(r1) +/* 8031F3D0 0031C330 83 A1 00 64 */ lwz r29, 0x64(r1) +/* 8031F3D4 0031C334 7C 08 03 A6 */ mtlr r0 +/* 8031F3D8 0031C338 38 21 00 70 */ addi r1, r1, 0x70 +/* 8031F3DC 0031C33C 4E 80 00 20 */ blr + +.global "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +"__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags": +/* 8031F3E0 0031C340 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 8031F3E4 0031C344 7C 08 02 A6 */ mflr r0 +/* 8031F3E8 0031C348 3C E0 80 3F */ lis r7, lbl_803EDD08@ha +/* 8031F3EC 0031C34C 90 01 00 54 */ stw r0, 0x54(r1) +/* 8031F3F0 0031C350 38 07 DD 08 */ addi r0, r7, lbl_803EDD08@l +/* 8031F3F4 0031C354 38 E0 00 00 */ li r7, 0 +/* 8031F3F8 0031C358 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 8031F3FC 0031C35C 7C 7F 1B 78 */ mr r31, r3 +/* 8031F400 0031C360 39 1F 00 10 */ addi r8, r31, 0x10 +/* 8031F404 0031C364 3C 60 80 3F */ lis r3, lbl_803EDA80@ha +/* 8031F408 0031C368 93 C1 00 48 */ stw r30, 0x48(r1) +/* 8031F40C 0031C36C 3B DF 00 1C */ addi r30, r31, 0x1c +/* 8031F410 0031C370 93 A1 00 44 */ stw r29, 0x44(r1) +/* 8031F414 0031C374 7C DD 33 78 */ mr r29, r6 +/* 8031F418 0031C378 93 81 00 40 */ stw r28, 0x40(r1) +/* 8031F41C 0031C37C 7C BC 2B 78 */ mr r28, r5 +/* 8031F420 0031C380 90 1F 00 00 */ stw r0, 0(r31) +/* 8031F424 0031C384 38 03 DA 80 */ addi r0, r3, lbl_803EDA80@l +/* 8031F428 0031C388 7F C3 F3 78 */ mr r3, r30 +/* 8031F42C 0031C38C 91 1F 00 08 */ stw r8, 8(r31) +/* 8031F430 0031C390 91 1F 00 0C */ stw r8, 0xc(r31) +/* 8031F434 0031C394 91 1F 00 10 */ stw r8, 0x10(r31) +/* 8031F438 0031C398 91 1F 00 14 */ stw r8, 0x14(r31) +/* 8031F43C 0031C39C 90 FF 00 18 */ stw r7, 0x18(r31) +/* 8031F440 0031C3A0 90 1F 00 00 */ stw r0, 0(r31) +/* 8031F444 0031C3A4 48 02 1A 65 */ bl __ct__6CTokenFRC6CToken +/* 8031F448 0031C3A8 7F C3 F3 78 */ mr r3, r30 +/* 8031F44C 0031C3AC 48 02 19 C1 */ bl GetObj__6CTokenFv +/* 8031F450 0031C3B0 80 03 00 04 */ lwz r0, 4(r3) +/* 8031F454 0031C3B4 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 8031F458 0031C3B8 38 83 66 70 */ addi r4, r3, skIdentity4f@l +/* 8031F45C 0031C3BC 38 E0 00 00 */ li r7, 0 +/* 8031F460 0031C3C0 90 1E 00 08 */ stw r0, 8(r30) +/* 8031F464 0031C3C4 3C A0 80 5A */ lis r5, skZero3f@ha +/* 8031F468 0031C3C8 C8 42 CA 20 */ lfd f2, lbl_805AE740@sda21(r2) +/* 8031F46C 0031C3CC 38 C0 FF FF */ li r6, -1 +/* 8031F470 0031C3D0 80 7F 00 24 */ lwz r3, 0x24(r31) +/* 8031F474 0031C3D4 38 00 00 01 */ li r0, 1 +/* 8031F478 0031C3D8 C0 02 C9 E8 */ lfs f0, lbl_805AE708@sda21(r2) +/* 8031F47C 0031C3DC 3B C5 66 A0 */ addi r30, r5, skZero3f@l +/* 8031F480 0031C3E0 90 7F 00 28 */ stw r3, 0x28(r31) +/* 8031F484 0031C3E4 38 7F 01 0C */ addi r3, r31, 0x10c +/* 8031F488 0031C3E8 C0 22 C9 F0 */ lfs f1, lbl_805AE710@sda21(r2) +/* 8031F48C 0031C3EC 93 9F 00 2C */ stw r28, 0x2c(r31) +/* 8031F490 0031C3F0 90 FF 00 34 */ stw r7, 0x34(r31) +/* 8031F494 0031C3F4 90 FF 00 38 */ stw r7, 0x38(r31) +/* 8031F498 0031C3F8 90 FF 00 3C */ stw r7, 0x3c(r31) +/* 8031F49C 0031C3FC 90 FF 00 44 */ stw r7, 0x44(r31) +/* 8031F4A0 0031C400 90 FF 00 48 */ stw r7, 0x48(r31) +/* 8031F4A4 0031C404 90 FF 00 4C */ stw r7, 0x4c(r31) +/* 8031F4A8 0031C408 90 FF 00 54 */ stw r7, 0x54(r31) +/* 8031F4AC 0031C40C 90 FF 00 58 */ stw r7, 0x58(r31) +/* 8031F4B0 0031C410 90 FF 00 5C */ stw r7, 0x5c(r31) +/* 8031F4B4 0031C414 90 FF 00 64 */ stw r7, 0x64(r31) +/* 8031F4B8 0031C418 90 FF 00 68 */ stw r7, 0x68(r31) +/* 8031F4BC 0031C41C 90 FF 00 6C */ stw r7, 0x6c(r31) +/* 8031F4C0 0031C420 90 FF 00 70 */ stw r7, 0x70(r31) +/* 8031F4C4 0031C424 90 FF 00 74 */ stw r7, 0x74(r31) +/* 8031F4C8 0031C428 D8 5F 00 78 */ stfd f2, 0x78(r31) +/* 8031F4CC 0031C42C 90 DF 00 84 */ stw r6, 0x84(r31) +/* 8031F4D0 0031C430 98 1F 00 88 */ stb r0, 0x88(r31) +/* 8031F4D4 0031C434 D0 1F 00 8C */ stfs f0, 0x8c(r31) +/* 8031F4D8 0031C438 90 FF 00 90 */ stw r7, 0x90(r31) +/* 8031F4DC 0031C43C A0 0D 9C F8 */ lhz r0, lbl_805A88B8@sda21(r13) +/* 8031F4E0 0031C440 B0 1F 00 94 */ sth r0, 0x94(r31) +/* 8031F4E4 0031C444 D0 3F 00 98 */ stfs f1, 0x98(r31) +/* 8031F4E8 0031C448 C0 1E 00 00 */ lfs f0, 0(r30) +/* 8031F4EC 0031C44C D0 1F 00 DC */ stfs f0, 0xdc(r31) +/* 8031F4F0 0031C450 C0 1E 00 04 */ lfs f0, 4(r30) +/* 8031F4F4 0031C454 D0 1F 00 E0 */ stfs f0, 0xe0(r31) +/* 8031F4F8 0031C458 C0 1E 00 08 */ lfs f0, 8(r30) +/* 8031F4FC 0031C45C D0 1F 00 E4 */ stfs f0, 0xe4(r31) +/* 8031F500 0031C460 C0 1E 00 00 */ lfs f0, 0(r30) +/* 8031F504 0031C464 D0 1F 00 E8 */ stfs f0, 0xe8(r31) +/* 8031F508 0031C468 C0 1E 00 04 */ lfs f0, 4(r30) +/* 8031F50C 0031C46C D0 1F 00 EC */ stfs f0, 0xec(r31) +/* 8031F510 0031C470 C0 1E 00 08 */ lfs f0, 8(r30) +/* 8031F514 0031C474 D0 1F 00 F0 */ stfs f0, 0xf0(r31) +/* 8031F518 0031C478 C0 1E 00 00 */ lfs f0, 0(r30) +/* 8031F51C 0031C47C D0 1F 00 F4 */ stfs f0, 0xf4(r31) +/* 8031F520 0031C480 C0 1E 00 04 */ lfs f0, 4(r30) +/* 8031F524 0031C484 D0 1F 00 F8 */ stfs f0, 0xf8(r31) +/* 8031F528 0031C488 C0 1E 00 08 */ lfs f0, 8(r30) +/* 8031F52C 0031C48C D0 1F 00 FC */ stfs f0, 0xfc(r31) +/* 8031F530 0031C490 D0 3F 01 00 */ stfs f1, 0x100(r31) +/* 8031F534 0031C494 D0 3F 01 04 */ stfs f1, 0x104(r31) +/* 8031F538 0031C498 D0 3F 01 08 */ stfs f1, 0x108(r31) +/* 8031F53C 0031C49C 4B FF 36 39 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8031F540 0031C4A0 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 8031F544 0031C4A4 38 7F 01 3C */ addi r3, r31, 0x13c +/* 8031F548 0031C4A8 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 8031F54C 0031C4AC 4B FF 36 29 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8031F550 0031C4B0 C0 02 C9 F0 */ lfs f0, lbl_805AE710@sda21(r2) +/* 8031F554 0031C4B4 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 8031F558 0031C4B8 38 83 66 70 */ addi r4, r3, skIdentity4f@l +/* 8031F55C 0031C4BC D0 1F 01 6C */ stfs f0, 0x16c(r31) +/* 8031F560 0031C4C0 38 7F 01 78 */ addi r3, r31, 0x178 +/* 8031F564 0031C4C4 D0 1F 01 70 */ stfs f0, 0x170(r31) +/* 8031F568 0031C4C8 D0 1F 01 74 */ stfs f0, 0x174(r31) +/* 8031F56C 0031C4CC 4B FF 36 09 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8031F570 0031C4D0 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 8031F574 0031C4D4 38 7F 01 A8 */ addi r3, r31, 0x1a8 +/* 8031F578 0031C4D8 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 8031F57C 0031C4DC 4B FF 35 F9 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8031F580 0031C4E0 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 8031F584 0031C4E4 38 7F 01 D8 */ addi r3, r31, 0x1d8 +/* 8031F588 0031C4E8 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 8031F58C 0031C4EC 4B FF 35 E9 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8031F590 0031C4F0 3C 80 80 5A */ lis r4, lbl_805A65FC@ha +/* 8031F594 0031C4F4 38 7F 02 08 */ addi r3, r31, 0x208 +/* 8031F598 0031C4F8 38 84 65 FC */ addi r4, r4, lbl_805A65FC@l +/* 8031F59C 0031C4FC 4B FF 0A 89 */ bl __ct__9CMatrix3fFRC9CMatrix3f +/* 8031F5A0 0031C500 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 8031F5A4 0031C504 38 7F 02 2C */ addi r3, r31, 0x22c +/* 8031F5A8 0031C508 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 8031F5AC 0031C50C 4B FF 35 C9 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8031F5B0 0031C510 38 C0 00 00 */ li r6, 0 +/* 8031F5B4 0031C514 38 A0 00 01 */ li r5, 1 +/* 8031F5B8 0031C518 90 DF 02 5C */ stw r6, 0x25c(r31) +/* 8031F5BC 0031C51C 38 7F 02 7C */ addi r3, r31, 0x27c +/* 8031F5C0 0031C520 90 DF 02 60 */ stw r6, 0x260(r31) +/* 8031F5C4 0031C524 90 DF 02 64 */ stw r6, 0x264(r31) +/* 8031F5C8 0031C528 88 1F 02 6C */ lbz r0, 0x26c(r31) +/* 8031F5CC 0031C52C 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 +/* 8031F5D0 0031C530 98 1F 02 6C */ stb r0, 0x26c(r31) +/* 8031F5D4 0031C534 88 1F 02 6C */ lbz r0, 0x26c(r31) +/* 8031F5D8 0031C538 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c +/* 8031F5DC 0031C53C 98 1F 02 6C */ stb r0, 0x26c(r31) +/* 8031F5E0 0031C540 88 1F 02 6C */ lbz r0, 0x26c(r31) +/* 8031F5E4 0031C544 50 C0 17 7A */ rlwimi r0, r6, 2, 0x1d, 0x1d +/* 8031F5E8 0031C548 98 1F 02 6C */ stb r0, 0x26c(r31) +/* 8031F5EC 0031C54C 88 1F 02 6D */ lbz r0, 0x26d(r31) +/* 8031F5F0 0031C550 50 C0 36 72 */ rlwimi r0, r6, 6, 0x19, 0x19 +/* 8031F5F4 0031C554 98 1F 02 6D */ stb r0, 0x26d(r31) +/* 8031F5F8 0031C558 88 1F 02 6D */ lbz r0, 0x26d(r31) +/* 8031F5FC 0031C55C 50 C0 2E B4 */ rlwimi r0, r6, 5, 0x1a, 0x1a +/* 8031F600 0031C560 98 1F 02 6D */ stb r0, 0x26d(r31) +/* 8031F604 0031C564 88 1F 02 6D */ lbz r0, 0x26d(r31) +/* 8031F608 0031C568 53 A0 1E F6 */ rlwimi r0, r29, 3, 0x1b, 0x1b +/* 8031F60C 0031C56C 98 1F 02 6D */ stb r0, 0x26d(r31) +/* 8031F610 0031C570 88 1F 02 6D */ lbz r0, 0x26d(r31) +/* 8031F614 0031C574 50 C0 1F 38 */ rlwimi r0, r6, 3, 0x1c, 0x1c +/* 8031F618 0031C578 98 1F 02 6D */ stb r0, 0x26d(r31) +/* 8031F61C 0031C57C 98 DF 02 74 */ stb r6, 0x274(r31) +/* 8031F620 0031C580 A8 9F 00 94 */ lha r4, 0x94(r31) +/* 8031F624 0031C584 4B FF 2F C9 */ bl __ct__9CRandom16FUi +/* 8031F628 0031C588 38 00 00 00 */ li r0, 0 +/* 8031F62C 0031C58C 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8031F630 0031C590 90 1F 02 94 */ stw r0, 0x294(r31) +/* 8031F634 0031C594 3C 60 80 5A */ lis r3, lbl_805A6754@ha +/* 8031F638 0031C598 C0 22 C9 E8 */ lfs f1, lbl_805AE708@sda21(r2) +/* 8031F63C 0031C59C 90 1F 02 98 */ stw r0, 0x298(r31) +/* 8031F640 0031C5A0 90 1F 02 9C */ stw r0, 0x29c(r31) +/* 8031F644 0031C5A4 C4 04 66 A0 */ lfsu f0, skZero3f@l(r4) +/* 8031F648 0031C5A8 D0 1F 02 B0 */ stfs f0, 0x2b0(r31) +/* 8031F64C 0031C5AC C0 1E 00 04 */ lfs f0, 4(r30) +/* 8031F650 0031C5B0 D0 1F 02 B4 */ stfs f0, 0x2b4(r31) +/* 8031F654 0031C5B4 C0 1E 00 08 */ lfs f0, 8(r30) +/* 8031F658 0031C5B8 D0 1F 02 B8 */ stfs f0, 0x2b8(r31) +/* 8031F65C 0031C5BC C0 04 00 00 */ lfs f0, 0(r4) +/* 8031F660 0031C5C0 D0 1F 02 C0 */ stfs f0, 0x2c0(r31) +/* 8031F664 0031C5C4 C0 1E 00 04 */ lfs f0, 4(r30) +/* 8031F668 0031C5C8 D0 1F 02 C4 */ stfs f0, 0x2c4(r31) +/* 8031F66C 0031C5CC C0 1E 00 08 */ lfs f0, 8(r30) +/* 8031F670 0031C5D0 D0 1F 02 C8 */ stfs f0, 0x2c8(r31) +/* 8031F674 0031C5D4 D0 3F 02 CC */ stfs f1, 0x2cc(r31) +/* 8031F678 0031C5D8 D0 3F 02 D0 */ stfs f1, 0x2d0(r31) +/* 8031F67C 0031C5DC C0 04 00 00 */ lfs f0, 0(r4) +/* 8031F680 0031C5E0 D0 1F 02 D4 */ stfs f0, 0x2d4(r31) +/* 8031F684 0031C5E4 C0 1E 00 04 */ lfs f0, 4(r30) +/* 8031F688 0031C5E8 D0 1F 02 D8 */ stfs f0, 0x2d8(r31) +/* 8031F68C 0031C5EC C0 1E 00 08 */ lfs f0, 8(r30) +/* 8031F690 0031C5F0 D0 1F 02 DC */ stfs f0, 0x2dc(r31) +/* 8031F694 0031C5F4 C0 04 00 00 */ lfs f0, 0(r4) +/* 8031F698 0031C5F8 D0 1F 02 E0 */ stfs f0, 0x2e0(r31) +/* 8031F69C 0031C5FC C0 1E 00 04 */ lfs f0, 4(r30) +/* 8031F6A0 0031C600 D0 1F 02 E4 */ stfs f0, 0x2e4(r31) +/* 8031F6A4 0031C604 C0 1E 00 08 */ lfs f0, 8(r30) +/* 8031F6A8 0031C608 D0 1F 02 E8 */ stfs f0, 0x2e8(r31) +/* 8031F6AC 0031C60C D0 3F 02 EC */ stfs f1, 0x2ec(r31) +/* 8031F6B0 0031C610 C4 03 67 54 */ lfsu f0, lbl_805A6754@l(r3) +/* 8031F6B4 0031C614 D0 1F 02 F0 */ stfs f0, 0x2f0(r31) +/* 8031F6B8 0031C618 C0 03 00 04 */ lfs f0, 4(r3) +/* 8031F6BC 0031C61C D0 1F 02 F4 */ stfs f0, 0x2f4(r31) +/* 8031F6C0 0031C620 C0 03 00 08 */ lfs f0, 8(r3) +/* 8031F6C4 0031C624 D0 1F 02 F8 */ stfs f0, 0x2f8(r31) +/* 8031F6C8 0031C628 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 8031F6CC 0031C62C D0 1F 02 FC */ stfs f0, 0x2fc(r31) +/* 8031F6D0 0031C630 C0 03 00 10 */ lfs f0, 0x10(r3) +/* 8031F6D4 0031C634 D0 1F 03 00 */ stfs f0, 0x300(r31) +/* 8031F6D8 0031C638 C0 03 00 14 */ lfs f0, 0x14(r3) +/* 8031F6DC 0031C63C D0 1F 03 04 */ stfs f0, 0x304(r31) +/* 8031F6E0 0031C640 90 1F 03 08 */ stw r0, 0x308(r31) +/* 8031F6E4 0031C644 48 02 A8 C9 */ bl White__6CColorFv +/* 8031F6E8 0031C648 80 03 00 00 */ lwz r0, 0(r3) +/* 8031F6EC 0031C64C 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8031F6F0 0031C650 C0 62 C9 F0 */ lfs f3, lbl_805AE710@sda21(r2) +/* 8031F6F4 0031C654 38 C3 66 A0 */ addi r6, r3, skZero3f@l +/* 8031F6F8 0031C658 90 1F 03 0C */ stw r0, 0x30c(r31) +/* 8031F6FC 0031C65C 38 A0 00 01 */ li r5, 1 +/* 8031F700 0031C660 C0 22 C9 E8 */ lfs f1, lbl_805AE708@sda21(r2) +/* 8031F704 0031C664 38 00 FF FF */ li r0, -1 +/* 8031F708 0031C668 D0 7F 03 10 */ stfs f3, 0x310(r31) +/* 8031F70C 0031C66C 38 61 00 14 */ addi r3, r1, 0x14 +/* 8031F710 0031C670 C0 02 CA 48 */ lfs f0, lbl_805AE768@sda21(r2) +/* 8031F714 0031C674 38 9F 02 7C */ addi r4, r31, 0x27c +/* 8031F718 0031C678 C0 46 00 00 */ lfs f2, 0(r6) +/* 8031F71C 0031C67C D0 5F 03 14 */ stfs f2, 0x314(r31) +/* 8031F720 0031C680 C0 5E 00 04 */ lfs f2, 4(r30) +/* 8031F724 0031C684 D0 5F 03 18 */ stfs f2, 0x318(r31) +/* 8031F728 0031C688 C0 5E 00 08 */ lfs f2, 8(r30) +/* 8031F72C 0031C68C D0 5F 03 1C */ stfs f2, 0x31c(r31) +/* 8031F730 0031C690 D0 7F 03 20 */ stfs f3, 0x320(r31) +/* 8031F734 0031C694 D0 3F 03 24 */ stfs f1, 0x324(r31) +/* 8031F738 0031C698 D0 3F 03 28 */ stfs f1, 0x328(r31) +/* 8031F73C 0031C69C 90 BF 03 2C */ stw r5, 0x32c(r31) +/* 8031F740 0031C6A0 D0 7F 03 30 */ stfs f3, 0x330(r31) +/* 8031F744 0031C6A4 D0 1F 03 34 */ stfs f0, 0x334(r31) +/* 8031F748 0031C6A8 90 1F 03 38 */ stw r0, 0x338(r31) +/* 8031F74C 0031C6AC 4B FF 2F 35 */ bl __ct__13CGlobalRandomFR9CRandom16 +/* 8031F750 0031C6B0 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031F754 0031C6B4 80 63 00 10 */ lwz r3, 0x10(r3) +/* 8031F758 0031C6B8 28 03 00 00 */ cmplwi r3, 0 +/* 8031F75C 0031C6BC 41 82 00 24 */ beq lbl_8031F780 +/* 8031F760 0031C6C0 81 83 00 00 */ lwz r12, 0(r3) +/* 8031F764 0031C6C4 38 A1 00 10 */ addi r5, r1, 0x10 +/* 8031F768 0031C6C8 80 9F 00 74 */ lwz r4, 0x74(r31) +/* 8031F76C 0031C6CC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031F770 0031C6D0 7D 89 03 A6 */ mtctr r12 +/* 8031F774 0031C6D4 4E 80 04 21 */ bctrl +/* 8031F778 0031C6D8 80 01 00 10 */ lwz r0, 0x10(r1) +/* 8031F77C 0031C6DC B0 1F 00 94 */ sth r0, 0x94(r31) +lbl_8031F780: +/* 8031F780 0031C6E0 A8 9F 00 94 */ lha r4, 0x94(r31) +/* 8031F784 0031C6E4 38 7F 02 7C */ addi r3, r31, 0x27c +/* 8031F788 0031C6E8 4B FF 2E 5D */ bl SetSeed__9CRandom16FUi +/* 8031F78C 0031C6EC 80 6D A8 B4 */ lwz r3, lbl_805A9474@sda21(r13) +/* 8031F790 0031C6F0 38 03 00 01 */ addi r0, r3, 1 +/* 8031F794 0031C6F4 90 0D A8 B4 */ stw r0, lbl_805A9474@sda21(r13) +/* 8031F798 0031C6F8 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031F79C 0031C6FC 88 1F 02 6C */ lbz r0, 0x26c(r31) +/* 8031F7A0 0031C700 88 63 00 30 */ lbz r3, 0x30(r3) +/* 8031F7A4 0031C704 50 60 26 72 */ rlwimi r0, r3, 4, 0x19, 0x19 +/* 8031F7A8 0031C708 98 1F 02 6C */ stb r0, 0x26c(r31) +/* 8031F7AC 0031C70C 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031F7B0 0031C710 88 1F 02 6C */ lbz r0, 0x26c(r31) +/* 8031F7B4 0031C714 88 63 00 30 */ lbz r3, 0x30(r3) +/* 8031F7B8 0031C718 50 60 06 B4 */ rlwimi r0, r3, 0, 0x1a, 0x1a +/* 8031F7BC 0031C71C 98 1F 02 6C */ stb r0, 0x26c(r31) +/* 8031F7C0 0031C720 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031F7C4 0031C724 88 1F 02 6C */ lbz r0, 0x26c(r31) +/* 8031F7C8 0031C728 88 63 00 30 */ lbz r3, 0x30(r3) +/* 8031F7CC 0031C72C 50 60 06 F6 */ rlwimi r0, r3, 0, 0x1b, 0x1b +/* 8031F7D0 0031C730 98 1F 02 6C */ stb r0, 0x26c(r31) +/* 8031F7D4 0031C734 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031F7D8 0031C738 88 1F 02 6C */ lbz r0, 0x26c(r31) +/* 8031F7DC 0031C73C 88 63 00 30 */ lbz r3, 0x30(r3) +/* 8031F7E0 0031C740 50 60 0F 7A */ rlwimi r0, r3, 1, 0x1d, 0x1d +/* 8031F7E4 0031C744 98 1F 02 6C */ stb r0, 0x26c(r31) +/* 8031F7E8 0031C748 88 1F 02 6C */ lbz r0, 0x26c(r31) +/* 8031F7EC 0031C74C 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 8031F7F0 0031C750 41 82 00 0C */ beq lbl_8031F7FC +/* 8031F7F4 0031C754 38 60 00 00 */ li r3, 0 +/* 8031F7F8 0031C758 48 00 00 10 */ b lbl_8031F808 +lbl_8031F7FC: +/* 8031F7FC 0031C75C 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031F800 0031C760 88 03 00 31 */ lbz r0, 0x31(r3) +/* 8031F804 0031C764 54 03 CF FE */ rlwinm r3, r0, 0x19, 0x1f, 0x1f +lbl_8031F808: +/* 8031F808 0031C768 88 1F 02 6C */ lbz r0, 0x26c(r31) +/* 8031F80C 0031C76C 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e +/* 8031F810 0031C770 98 1F 02 6C */ stb r0, 0x26c(r31) +/* 8031F814 0031C774 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031F818 0031C778 80 63 00 34 */ lwz r3, 0x34(r3) +/* 8031F81C 0031C77C 28 03 00 00 */ cmplwi r3, 0 +/* 8031F820 0031C780 41 82 00 1C */ beq lbl_8031F83C +/* 8031F824 0031C784 81 83 00 00 */ lwz r12, 0(r3) +/* 8031F828 0031C788 38 BF 02 70 */ addi r5, r31, 0x270 +/* 8031F82C 0031C78C 80 9F 00 74 */ lwz r4, 0x74(r31) +/* 8031F830 0031C790 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031F834 0031C794 7D 89 03 A6 */ mtctr r12 +/* 8031F838 0031C798 4E 80 04 21 */ bctrl +lbl_8031F83C: +/* 8031F83C 0031C79C 80 9F 00 28 */ lwz r4, 0x28(r31) +/* 8031F840 0031C7A0 38 60 00 00 */ li r3, 0 +/* 8031F844 0031C7A4 80 04 00 68 */ lwz r0, 0x68(r4) +/* 8031F848 0031C7A8 28 00 00 00 */ cmplwi r0, 0 +/* 8031F84C 0031C7AC 41 82 00 1C */ beq lbl_8031F868 +/* 8031F850 0031C7B0 90 1F 02 80 */ stw r0, 0x280(r31) +/* 8031F854 0031C7B4 38 60 00 01 */ li r3, 1 +/* 8031F858 0031C7B8 80 9F 00 28 */ lwz r4, 0x28(r31) +/* 8031F85C 0031C7BC 88 04 00 31 */ lbz r0, 0x31(r4) +/* 8031F860 0031C7C0 54 00 EF FE */ rlwinm r0, r0, 0x1d, 0x1f, 0x1f +/* 8031F864 0031C7C4 98 1F 02 78 */ stb r0, 0x278(r31) +lbl_8031F868: +/* 8031F868 0031C7C8 80 9F 00 28 */ lwz r4, 0x28(r31) +/* 8031F86C 0031C7CC 80 C4 00 6C */ lwz r6, 0x6c(r4) +/* 8031F870 0031C7D0 28 06 00 00 */ cmplwi r6, 0 +/* 8031F874 0031C7D4 41 82 00 28 */ beq lbl_8031F89C +/* 8031F878 0031C7D8 54 60 10 3A */ slwi r0, r3, 2 +/* 8031F87C 0031C7DC 7C 9F 1A 14 */ add r4, r31, r3 +/* 8031F880 0031C7E0 7C BF 02 14 */ add r5, r31, r0 +/* 8031F884 0031C7E4 38 63 00 01 */ addi r3, r3, 1 +/* 8031F888 0031C7E8 90 C5 02 80 */ stw r6, 0x280(r5) +/* 8031F88C 0031C7EC 80 BF 00 28 */ lwz r5, 0x28(r31) +/* 8031F890 0031C7F0 88 05 00 31 */ lbz r0, 0x31(r5) +/* 8031F894 0031C7F4 54 00 F7 FE */ rlwinm r0, r0, 0x1e, 0x1f, 0x1f +/* 8031F898 0031C7F8 98 04 02 78 */ stb r0, 0x278(r4) +lbl_8031F89C: +/* 8031F89C 0031C7FC 80 9F 00 28 */ lwz r4, 0x28(r31) +/* 8031F8A0 0031C800 80 C4 00 70 */ lwz r6, 0x70(r4) +/* 8031F8A4 0031C804 28 06 00 00 */ cmplwi r6, 0 +/* 8031F8A8 0031C808 41 82 00 28 */ beq lbl_8031F8D0 +/* 8031F8AC 0031C80C 54 60 10 3A */ slwi r0, r3, 2 +/* 8031F8B0 0031C810 7C 9F 1A 14 */ add r4, r31, r3 +/* 8031F8B4 0031C814 7C BF 02 14 */ add r5, r31, r0 +/* 8031F8B8 0031C818 38 63 00 01 */ addi r3, r3, 1 +/* 8031F8BC 0031C81C 90 C5 02 80 */ stw r6, 0x280(r5) +/* 8031F8C0 0031C820 80 BF 00 28 */ lwz r5, 0x28(r31) +/* 8031F8C4 0031C824 88 05 00 31 */ lbz r0, 0x31(r5) +/* 8031F8C8 0031C828 54 00 FF FE */ rlwinm r0, r0, 0x1f, 0x1f, 0x1f +/* 8031F8CC 0031C82C 98 04 02 78 */ stb r0, 0x278(r4) +lbl_8031F8D0: +/* 8031F8D0 0031C830 80 9F 00 28 */ lwz r4, 0x28(r31) +/* 8031F8D4 0031C834 80 C4 00 74 */ lwz r6, 0x74(r4) +/* 8031F8D8 0031C838 28 06 00 00 */ cmplwi r6, 0 +/* 8031F8DC 0031C83C 41 82 00 28 */ beq lbl_8031F904 +/* 8031F8E0 0031C840 54 60 10 3A */ slwi r0, r3, 2 +/* 8031F8E4 0031C844 7C 9F 1A 14 */ add r4, r31, r3 +/* 8031F8E8 0031C848 7C BF 02 14 */ add r5, r31, r0 +/* 8031F8EC 0031C84C 38 63 00 01 */ addi r3, r3, 1 +/* 8031F8F0 0031C850 90 C5 02 80 */ stw r6, 0x280(r5) +/* 8031F8F4 0031C854 80 BF 00 28 */ lwz r5, 0x28(r31) +/* 8031F8F8 0031C858 88 05 00 31 */ lbz r0, 0x31(r5) +/* 8031F8FC 0031C85C 54 00 07 FE */ clrlwi r0, r0, 0x1f +/* 8031F900 0031C860 98 04 02 78 */ stb r0, 0x278(r4) +lbl_8031F904: +/* 8031F904 0031C864 2C 03 00 04 */ cmpwi r3, 4 +/* 8031F908 0031C868 54 65 10 3A */ slwi r5, r3, 2 +/* 8031F90C 0031C86C 20 63 00 04 */ subfic r3, r3, 4 +/* 8031F910 0031C870 38 80 00 00 */ li r4, 0 +/* 8031F914 0031C874 40 80 00 74 */ bge lbl_8031F988 +/* 8031F918 0031C878 54 60 E8 FF */ rlwinm. r0, r3, 0x1d, 3, 0x1f +/* 8031F91C 0031C87C 7C 09 03 A6 */ mtctr r0 +/* 8031F920 0031C880 41 82 00 54 */ beq lbl_8031F974 +lbl_8031F924: +/* 8031F924 0031C884 38 05 02 80 */ addi r0, r5, 0x280 +/* 8031F928 0031C888 7C 9F 01 2E */ stwx r4, r31, r0 +/* 8031F92C 0031C88C 38 05 02 84 */ addi r0, r5, 0x284 +/* 8031F930 0031C890 7C 9F 01 2E */ stwx r4, r31, r0 +/* 8031F934 0031C894 38 05 02 88 */ addi r0, r5, 0x288 +/* 8031F938 0031C898 7C 9F 01 2E */ stwx r4, r31, r0 +/* 8031F93C 0031C89C 38 05 02 8C */ addi r0, r5, 0x28c +/* 8031F940 0031C8A0 7C 9F 01 2E */ stwx r4, r31, r0 +/* 8031F944 0031C8A4 38 05 02 90 */ addi r0, r5, 0x290 +/* 8031F948 0031C8A8 7C 9F 01 2E */ stwx r4, r31, r0 +/* 8031F94C 0031C8AC 38 05 02 94 */ addi r0, r5, 0x294 +/* 8031F950 0031C8B0 7C 9F 01 2E */ stwx r4, r31, r0 +/* 8031F954 0031C8B4 38 05 02 98 */ addi r0, r5, 0x298 +/* 8031F958 0031C8B8 7C 9F 01 2E */ stwx r4, r31, r0 +/* 8031F95C 0031C8BC 38 05 02 9C */ addi r0, r5, 0x29c +/* 8031F960 0031C8C0 38 A5 00 20 */ addi r5, r5, 0x20 +/* 8031F964 0031C8C4 7C 9F 01 2E */ stwx r4, r31, r0 +/* 8031F968 0031C8C8 42 00 FF BC */ bdnz lbl_8031F924 +/* 8031F96C 0031C8CC 70 63 00 07 */ andi. r3, r3, 7 +/* 8031F970 0031C8D0 41 82 00 18 */ beq lbl_8031F988 +lbl_8031F974: +/* 8031F974 0031C8D4 7C 69 03 A6 */ mtctr r3 +lbl_8031F978: +/* 8031F978 0031C8D8 38 05 02 80 */ addi r0, r5, 0x280 +/* 8031F97C 0031C8DC 38 A5 00 04 */ addi r5, r5, 4 +/* 8031F980 0031C8E0 7C 9F 01 2E */ stwx r4, r31, r0 +/* 8031F984 0031C8E4 42 00 FF F4 */ bdnz lbl_8031F978 +lbl_8031F988: +/* 8031F988 0031C8E8 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031F98C 0031C8EC 80 03 01 0C */ lwz r0, 0x10c(r3) +/* 8031F990 0031C8F0 28 00 00 00 */ cmplwi r0, 0 +/* 8031F994 0031C8F4 40 82 00 58 */ bne lbl_8031F9EC +/* 8031F998 0031C8F8 80 03 01 10 */ lwz r0, 0x110(r3) +/* 8031F99C 0031C8FC 28 00 00 00 */ cmplwi r0, 0 +/* 8031F9A0 0031C900 40 82 00 4C */ bne lbl_8031F9EC +/* 8031F9A4 0031C904 80 03 01 14 */ lwz r0, 0x114(r3) +/* 8031F9A8 0031C908 28 00 00 00 */ cmplwi r0, 0 +/* 8031F9AC 0031C90C 40 82 00 40 */ bne lbl_8031F9EC +/* 8031F9B0 0031C910 80 03 01 18 */ lwz r0, 0x118(r3) +/* 8031F9B4 0031C914 28 00 00 00 */ cmplwi r0, 0 +/* 8031F9B8 0031C918 40 82 00 34 */ bne lbl_8031F9EC +/* 8031F9BC 0031C91C 80 03 01 1C */ lwz r0, 0x11c(r3) +/* 8031F9C0 0031C920 28 00 00 00 */ cmplwi r0, 0 +/* 8031F9C4 0031C924 40 82 00 28 */ bne lbl_8031F9EC +/* 8031F9C8 0031C928 80 03 01 20 */ lwz r0, 0x120(r3) +/* 8031F9CC 0031C92C 28 00 00 00 */ cmplwi r0, 0 +/* 8031F9D0 0031C930 40 82 00 1C */ bne lbl_8031F9EC +/* 8031F9D4 0031C934 80 03 01 24 */ lwz r0, 0x124(r3) +/* 8031F9D8 0031C938 28 00 00 00 */ cmplwi r0, 0 +/* 8031F9DC 0031C93C 40 82 00 10 */ bne lbl_8031F9EC +/* 8031F9E0 0031C940 80 03 01 28 */ lwz r0, 0x128(r3) +/* 8031F9E4 0031C944 28 00 00 00 */ cmplwi r0, 0 +/* 8031F9E8 0031C948 41 82 00 14 */ beq lbl_8031F9FC +lbl_8031F9EC: +/* 8031F9EC 0031C94C 88 1F 02 6D */ lbz r0, 0x26d(r31) +/* 8031F9F0 0031C950 38 60 00 01 */ li r3, 1 +/* 8031F9F4 0031C954 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 8031F9F8 0031C958 98 1F 02 6D */ stb r0, 0x26d(r31) +lbl_8031F9FC: +/* 8031F9FC 0031C95C C0 02 C9 E8 */ lfs f0, lbl_805AE708@sda21(r2) +/* 8031FA00 0031C960 38 00 00 00 */ li r0, 0 +/* 8031FA04 0031C964 D0 1F 00 9C */ stfs f0, 0x9c(r31) +/* 8031FA08 0031C968 D0 1F 00 A0 */ stfs f0, 0xa0(r31) +/* 8031FA0C 0031C96C D0 1F 00 A4 */ stfs f0, 0xa4(r31) +/* 8031FA10 0031C970 D0 1F 00 A8 */ stfs f0, 0xa8(r31) +/* 8031FA14 0031C974 D0 1F 00 AC */ stfs f0, 0xac(r31) +/* 8031FA18 0031C978 D0 1F 00 B0 */ stfs f0, 0xb0(r31) +/* 8031FA1C 0031C97C D0 1F 00 B4 */ stfs f0, 0xb4(r31) +/* 8031FA20 0031C980 D0 1F 00 B8 */ stfs f0, 0xb8(r31) +/* 8031FA24 0031C984 D0 1F 00 BC */ stfs f0, 0xbc(r31) +/* 8031FA28 0031C988 D0 1F 00 C0 */ stfs f0, 0xc0(r31) +/* 8031FA2C 0031C98C D0 1F 00 C4 */ stfs f0, 0xc4(r31) +/* 8031FA30 0031C990 D0 1F 00 C8 */ stfs f0, 0xc8(r31) +/* 8031FA34 0031C994 D0 1F 00 CC */ stfs f0, 0xcc(r31) +/* 8031FA38 0031C998 D0 1F 00 D0 */ stfs f0, 0xd0(r31) +/* 8031FA3C 0031C99C D0 1F 00 D4 */ stfs f0, 0xd4(r31) +/* 8031FA40 0031C9A0 D0 1F 00 D8 */ stfs f0, 0xd8(r31) +/* 8031FA44 0031C9A4 90 1F 02 A0 */ stw r0, 0x2a0(r31) +/* 8031FA48 0031C9A8 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031FA4C 0031C9AC 80 63 00 8C */ lwz r3, 0x8c(r3) +/* 8031FA50 0031C9B0 28 03 00 00 */ cmplwi r3, 0 +/* 8031FA54 0031C9B4 41 82 00 1C */ beq lbl_8031FA70 +/* 8031FA58 0031C9B8 81 83 00 00 */ lwz r12, 0(r3) +/* 8031FA5C 0031C9BC 38 BF 02 A0 */ addi r5, r31, 0x2a0 +/* 8031FA60 0031C9C0 38 80 00 00 */ li r4, 0 +/* 8031FA64 0031C9C4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031FA68 0031C9C8 7D 89 03 A6 */ mtctr r12 +/* 8031FA6C 0031C9CC 4E 80 04 21 */ bctrl +lbl_8031FA70: +/* 8031FA70 0031C9D0 38 00 00 10 */ li r0, 0x10 +/* 8031FA74 0031C9D4 90 1F 02 A8 */ stw r0, 0x2a8(r31) +/* 8031FA78 0031C9D8 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031FA7C 0031C9DC 80 63 00 B4 */ lwz r3, 0xb4(r3) +/* 8031FA80 0031C9E0 28 03 00 00 */ cmplwi r3, 0 +/* 8031FA84 0031C9E4 41 82 00 30 */ beq lbl_8031FAB4 +/* 8031FA88 0031C9E8 81 83 00 00 */ lwz r12, 0(r3) +/* 8031FA8C 0031C9EC 38 BF 02 A8 */ addi r5, r31, 0x2a8 +/* 8031FA90 0031C9F0 38 80 00 00 */ li r4, 0 +/* 8031FA94 0031C9F4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031FA98 0031C9F8 7D 89 03 A6 */ mtctr r12 +/* 8031FA9C 0031C9FC 4E 80 04 21 */ bctrl +/* 8031FAA0 0031CA00 80 1F 02 A8 */ lwz r0, 0x2a8(r31) +/* 8031FAA4 0031CA04 2C 00 00 00 */ cmpwi r0, 0 +/* 8031FAA8 0031CA08 41 81 00 0C */ bgt lbl_8031FAB4 +/* 8031FAAC 0031CA0C 38 00 00 01 */ li r0, 1 +/* 8031FAB0 0031CA10 90 1F 02 A8 */ stw r0, 0x2a8(r31) +lbl_8031FAB4: +/* 8031FAB4 0031CA14 38 00 00 10 */ li r0, 0x10 +/* 8031FAB8 0031CA18 90 1F 02 A4 */ stw r0, 0x2a4(r31) +/* 8031FABC 0031CA1C 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031FAC0 0031CA20 80 63 00 B8 */ lwz r3, 0xb8(r3) +/* 8031FAC4 0031CA24 28 03 00 00 */ cmplwi r3, 0 +/* 8031FAC8 0031CA28 41 82 00 1C */ beq lbl_8031FAE4 +/* 8031FACC 0031CA2C 81 83 00 00 */ lwz r12, 0(r3) +/* 8031FAD0 0031CA30 38 BF 02 A4 */ addi r5, r31, 0x2a4 +/* 8031FAD4 0031CA34 38 80 00 00 */ li r4, 0 +/* 8031FAD8 0031CA38 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031FADC 0031CA3C 7D 89 03 A6 */ mtctr r12 +/* 8031FAE0 0031CA40 4E 80 04 21 */ bctrl +lbl_8031FAE4: +/* 8031FAE4 0031CA44 38 00 00 00 */ li r0, 0 +/* 8031FAE8 0031CA48 90 1F 02 AC */ stw r0, 0x2ac(r31) +/* 8031FAEC 0031CA4C 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031FAF0 0031CA50 80 63 00 D0 */ lwz r3, 0xd0(r3) +/* 8031FAF4 0031CA54 28 03 00 00 */ cmplwi r3, 0 +/* 8031FAF8 0031CA58 41 82 00 1C */ beq lbl_8031FB14 +/* 8031FAFC 0031CA5C 81 83 00 00 */ lwz r12, 0(r3) +/* 8031FB00 0031CA60 38 BF 02 AC */ addi r5, r31, 0x2ac +/* 8031FB04 0031CA64 38 80 00 00 */ li r4, 0 +/* 8031FB08 0031CA68 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031FB0C 0031CA6C 7D 89 03 A6 */ mtctr r12 +/* 8031FB10 0031CA70 4E 80 04 21 */ bctrl +lbl_8031FB14: +/* 8031FB14 0031CA74 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031FB18 0031CA78 80 63 00 D4 */ lwz r3, 0xd4(r3) +/* 8031FB1C 0031CA7C 28 03 00 00 */ cmplwi r3, 0 +/* 8031FB20 0031CA80 41 82 00 4C */ beq lbl_8031FB6C +/* 8031FB24 0031CA84 81 83 00 00 */ lwz r12, 0(r3) +/* 8031FB28 0031CA88 38 BF 02 B0 */ addi r5, r31, 0x2b0 +/* 8031FB2C 0031CA8C 38 80 00 00 */ li r4, 0 +/* 8031FB30 0031CA90 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031FB34 0031CA94 7D 89 03 A6 */ mtctr r12 +/* 8031FB38 0031CA98 4E 80 04 21 */ bctrl +/* 8031FB3C 0031CA9C 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031FB40 0031CAA0 80 63 00 D4 */ lwz r3, 0xd4(r3) +/* 8031FB44 0031CAA4 81 83 00 00 */ lwz r12, 0(r3) +/* 8031FB48 0031CAA8 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 8031FB4C 0031CAAC 7D 89 03 A6 */ mtctr r12 +/* 8031FB50 0031CAB0 4E 80 04 21 */ bctrl +/* 8031FB54 0031CAB4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8031FB58 0031CAB8 40 82 00 14 */ bne lbl_8031FB6C +/* 8031FB5C 0031CABC 88 1F 02 6C */ lbz r0, 0x26c(r31) +/* 8031FB60 0031CAC0 38 60 00 01 */ li r3, 1 +/* 8031FB64 0031CAC4 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8031FB68 0031CAC8 98 1F 02 6C */ stb r0, 0x26c(r31) +lbl_8031FB6C: +/* 8031FB6C 0031CACC 38 00 00 00 */ li r0, 0 +/* 8031FB70 0031CAD0 90 1F 02 BC */ stw r0, 0x2bc(r31) +/* 8031FB74 0031CAD4 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031FB78 0031CAD8 80 63 00 E4 */ lwz r3, 0xe4(r3) +/* 8031FB7C 0031CADC 28 03 00 00 */ cmplwi r3, 0 +/* 8031FB80 0031CAE0 41 82 00 1C */ beq lbl_8031FB9C +/* 8031FB84 0031CAE4 81 83 00 00 */ lwz r12, 0(r3) +/* 8031FB88 0031CAE8 38 BF 02 BC */ addi r5, r31, 0x2bc +/* 8031FB8C 0031CAEC 38 80 00 00 */ li r4, 0 +/* 8031FB90 0031CAF0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031FB94 0031CAF4 7D 89 03 A6 */ mtctr r12 +/* 8031FB98 0031CAF8 4E 80 04 21 */ bctrl +lbl_8031FB9C: +/* 8031FB9C 0031CAFC 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031FBA0 0031CB00 80 63 00 E8 */ lwz r3, 0xe8(r3) +/* 8031FBA4 0031CB04 28 03 00 00 */ cmplwi r3, 0 +/* 8031FBA8 0031CB08 41 82 00 4C */ beq lbl_8031FBF4 +/* 8031FBAC 0031CB0C 81 83 00 00 */ lwz r12, 0(r3) +/* 8031FBB0 0031CB10 38 BF 02 C0 */ addi r5, r31, 0x2c0 +/* 8031FBB4 0031CB14 38 80 00 00 */ li r4, 0 +/* 8031FBB8 0031CB18 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031FBBC 0031CB1C 7D 89 03 A6 */ mtctr r12 +/* 8031FBC0 0031CB20 4E 80 04 21 */ bctrl +/* 8031FBC4 0031CB24 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031FBC8 0031CB28 80 63 00 E8 */ lwz r3, 0xe8(r3) +/* 8031FBCC 0031CB2C 81 83 00 00 */ lwz r12, 0(r3) +/* 8031FBD0 0031CB30 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 8031FBD4 0031CB34 7D 89 03 A6 */ mtctr r12 +/* 8031FBD8 0031CB38 4E 80 04 21 */ bctrl +/* 8031FBDC 0031CB3C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8031FBE0 0031CB40 40 82 00 14 */ bne lbl_8031FBF4 +/* 8031FBE4 0031CB44 88 1F 02 6C */ lbz r0, 0x26c(r31) +/* 8031FBE8 0031CB48 38 60 00 01 */ li r3, 1 +/* 8031FBEC 0031CB4C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8031FBF0 0031CB50 98 1F 02 6C */ stb r0, 0x26c(r31) +lbl_8031FBF4: +/* 8031FBF4 0031CB54 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031FBF8 0031CB58 80 63 00 0C */ lwz r3, 0xc(r3) +/* 8031FBFC 0031CB5C 28 03 00 00 */ cmplwi r3, 0 +/* 8031FC00 0031CB60 41 82 00 4C */ beq lbl_8031FC4C +/* 8031FC04 0031CB64 81 83 00 00 */ lwz r12, 0(r3) +/* 8031FC08 0031CB68 38 BF 00 F4 */ addi r5, r31, 0xf4 +/* 8031FC0C 0031CB6C 80 9F 00 74 */ lwz r4, 0x74(r31) +/* 8031FC10 0031CB70 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031FC14 0031CB74 7D 89 03 A6 */ mtctr r12 +/* 8031FC18 0031CB78 4E 80 04 21 */ bctrl +/* 8031FC1C 0031CB7C 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031FC20 0031CB80 80 63 00 0C */ lwz r3, 0xc(r3) +/* 8031FC24 0031CB84 81 83 00 00 */ lwz r12, 0(r3) +/* 8031FC28 0031CB88 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 8031FC2C 0031CB8C 7D 89 03 A6 */ mtctr r12 +/* 8031FC30 0031CB90 4E 80 04 21 */ bctrl +/* 8031FC34 0031CB94 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8031FC38 0031CB98 40 82 00 14 */ bne lbl_8031FC4C +/* 8031FC3C 0031CB9C 88 1F 02 6C */ lbz r0, 0x26c(r31) +/* 8031FC40 0031CBA0 38 60 00 01 */ li r3, 1 +/* 8031FC44 0031CBA4 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8031FC48 0031CBA8 98 1F 02 6C */ stb r0, 0x26c(r31) +lbl_8031FC4C: +/* 8031FC4C 0031CBAC 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031FC50 0031CBB0 80 63 00 00 */ lwz r3, 0(r3) +/* 8031FC54 0031CBB4 28 03 00 00 */ cmplwi r3, 0 +/* 8031FC58 0031CBB8 41 82 00 20 */ beq lbl_8031FC78 +/* 8031FC5C 0031CBBC 81 83 00 00 */ lwz r12, 0(r3) +/* 8031FC60 0031CBC0 38 BF 02 68 */ addi r5, r31, 0x268 +/* 8031FC64 0031CBC4 38 80 00 00 */ li r4, 0 +/* 8031FC68 0031CBC8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031FC6C 0031CBCC 7D 89 03 A6 */ mtctr r12 +/* 8031FC70 0031CBD0 4E 80 04 21 */ bctrl +/* 8031FC74 0031CBD4 48 00 00 10 */ b lbl_8031FC84 +lbl_8031FC78: +/* 8031FC78 0031CBD8 3C 60 00 80 */ lis r3, 0x007FFFFF@ha +/* 8031FC7C 0031CBDC 38 03 FF FF */ addi r0, r3, 0x007FFFFF@l +/* 8031FC80 0031CBE0 90 1F 02 68 */ stw r0, 0x268(r31) +lbl_8031FC84: +/* 8031FC84 0031CBE4 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031FC88 0031CBE8 80 63 00 1C */ lwz r3, 0x1c(r3) +/* 8031FC8C 0031CBEC 28 03 00 00 */ cmplwi r3, 0 +/* 8031FC90 0031CBF0 41 82 00 1C */ beq lbl_8031FCAC +/* 8031FC94 0031CBF4 81 83 00 00 */ lwz r12, 0(r3) +/* 8031FC98 0031CBF8 38 BF 00 90 */ addi r5, r31, 0x90 +/* 8031FC9C 0031CBFC 80 9F 00 74 */ lwz r4, 0x74(r31) +/* 8031FCA0 0031CC00 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031FCA4 0031CC04 7D 89 03 A6 */ mtctr r12 +/* 8031FCA8 0031CC08 4E 80 04 21 */ bctrl +lbl_8031FCAC: +/* 8031FCAC 0031CC0C 83 DF 00 90 */ lwz r30, 0x90(r31) +/* 8031FCB0 0031CC10 2C 1E 01 00 */ cmpwi r30, 0x100 +/* 8031FCB4 0031CC14 40 81 00 08 */ ble lbl_8031FCBC +/* 8031FCB8 0031CC18 3B C0 01 00 */ li r30, 0x100 +lbl_8031FCBC: +/* 8031FCBC 0031CC1C 7F C4 F3 78 */ mr r4, r30 +/* 8031FCC0 0031CC20 38 7F 00 30 */ addi r3, r31, 0x30 +/* 8031FCC4 0031CC24 48 00 06 FD */ bl sub_803203c0 +/* 8031FCC8 0031CC28 88 1F 02 6D */ lbz r0, 0x26d(r31) +/* 8031FCCC 0031CC2C 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 8031FCD0 0031CC30 41 82 00 5C */ beq lbl_8031FD2C +/* 8031FCD4 0031CC34 3C 60 80 4C */ lis r3, lbl_804BFE28@ha +/* 8031FCD8 0031CC38 38 A1 00 20 */ addi r5, r1, 0x20 +/* 8031FCDC 0031CC3C 3B A3 FE 28 */ addi r29, r3, lbl_804BFE28@l +/* 8031FCE0 0031CC40 7F C4 F3 78 */ mr r4, r30 +/* 8031FCE4 0031CC44 81 9D 00 00 */ lwz r12, 0(r29) +/* 8031FCE8 0031CC48 38 7F 00 60 */ addi r3, r31, 0x60 +/* 8031FCEC 0031CC4C 81 7D 00 04 */ lwz r11, 4(r29) +/* 8031FCF0 0031CC50 81 5D 00 08 */ lwz r10, 8(r29) +/* 8031FCF4 0031CC54 81 3D 00 0C */ lwz r9, 0xc(r29) +/* 8031FCF8 0031CC58 81 1D 00 10 */ lwz r8, 0x10(r29) +/* 8031FCFC 0031CC5C 80 FD 00 14 */ lwz r7, 0x14(r29) +/* 8031FD00 0031CC60 80 DD 00 18 */ lwz r6, 0x18(r29) +/* 8031FD04 0031CC64 80 1D 00 1C */ lwz r0, 0x1c(r29) +/* 8031FD08 0031CC68 91 81 00 20 */ stw r12, 0x20(r1) +/* 8031FD0C 0031CC6C 91 61 00 24 */ stw r11, 0x24(r1) +/* 8031FD10 0031CC70 91 41 00 28 */ stw r10, 0x28(r1) +/* 8031FD14 0031CC74 91 21 00 2C */ stw r9, 0x2c(r1) +/* 8031FD18 0031CC78 91 01 00 30 */ stw r8, 0x30(r1) +/* 8031FD1C 0031CC7C 90 E1 00 34 */ stw r7, 0x34(r1) +/* 8031FD20 0031CC80 90 C1 00 38 */ stw r6, 0x38(r1) +/* 8031FD24 0031CC84 90 01 00 3C */ stw r0, 0x3c(r1) +/* 8031FD28 0031CC88 48 00 02 95 */ bl sub_8031ffbc +lbl_8031FD2C: +/* 8031FD2C 0031CC8C 80 1F 00 2C */ lwz r0, 0x2c(r31) +/* 8031FD30 0031CC90 2C 00 00 01 */ cmpwi r0, 1 +/* 8031FD34 0031CC94 40 82 00 18 */ bne lbl_8031FD4C +/* 8031FD38 0031CC98 3C 60 80 5A */ lis r3, lbl_805A65FC@ha +/* 8031FD3C 0031CC9C 80 9F 00 90 */ lwz r4, 0x90(r31) +/* 8031FD40 0031CCA0 38 A3 65 FC */ addi r5, r3, lbl_805A65FC@l +/* 8031FD44 0031CCA4 38 7F 00 50 */ addi r3, r31, 0x50 +/* 8031FD48 0031CCA8 48 00 01 85 */ bl sub_8031fecc +lbl_8031FD4C: +/* 8031FD4C 0031CCAC 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031FD50 0031CCB0 88 1F 02 6C */ lbz r0, 0x26c(r31) +/* 8031FD54 0031CCB4 88 63 00 30 */ lbz r3, 0x30(r3) +/* 8031FD58 0031CCB8 50 60 CF FE */ rlwimi r0, r3, 0x19, 0x1f, 0x1f +/* 8031FD5C 0031CCBC 98 1F 02 6C */ stb r0, 0x26c(r31) +/* 8031FD60 0031CCC0 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031FD64 0031CCC4 88 1F 02 6D */ lbz r0, 0x26d(r31) +/* 8031FD68 0031CCC8 88 63 00 30 */ lbz r3, 0x30(r3) +/* 8031FD6C 0031CCCC 50 60 0E 30 */ rlwimi r0, r3, 1, 0x18, 0x18 +/* 8031FD70 0031CCD0 98 1F 02 6D */ stb r0, 0x26d(r31) +/* 8031FD74 0031CCD4 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031FD78 0031CCD8 80 03 00 EC */ lwz r0, 0xec(r3) +/* 8031FD7C 0031CCDC 28 00 00 00 */ cmplwi r0, 0 +/* 8031FD80 0031CCE0 41 82 01 1C */ beq lbl_8031FE9C +/* 8031FD84 0031CCE4 38 00 00 00 */ li r0, 0 +/* 8031FD88 0031CCE8 38 A1 00 0C */ addi r5, r1, 0xc +/* 8031FD8C 0031CCEC 90 01 00 0C */ stw r0, 0xc(r1) +/* 8031FD90 0031CCF0 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031FD94 0031CCF4 80 9F 00 74 */ lwz r4, 0x74(r31) +/* 8031FD98 0031CCF8 80 63 00 EC */ lwz r3, 0xec(r3) +/* 8031FD9C 0031CCFC 81 83 00 00 */ lwz r12, 0(r3) +/* 8031FDA0 0031CD00 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031FDA4 0031CD04 7D 89 03 A6 */ mtctr r12 +/* 8031FDA8 0031CD08 4E 80 04 21 */ bctrl +/* 8031FDAC 0031CD0C 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8031FDB0 0031CD10 2C 00 00 02 */ cmpwi r0, 2 +/* 8031FDB4 0031CD14 41 82 00 3C */ beq lbl_8031FDF0 +/* 8031FDB8 0031CD18 40 80 00 14 */ bge lbl_8031FDCC +/* 8031FDBC 0031CD1C 2C 00 00 00 */ cmpwi r0, 0 +/* 8031FDC0 0031CD20 41 82 00 18 */ beq lbl_8031FDD8 +/* 8031FDC4 0031CD24 40 80 00 20 */ bge lbl_8031FDE4 +/* 8031FDC8 0031CD28 48 00 00 40 */ b lbl_8031FE08 +lbl_8031FDCC: +/* 8031FDCC 0031CD2C 2C 00 00 04 */ cmpwi r0, 4 +/* 8031FDD0 0031CD30 40 80 00 38 */ bge lbl_8031FE08 +/* 8031FDD4 0031CD34 48 00 00 28 */ b lbl_8031FDFC +lbl_8031FDD8: +/* 8031FDD8 0031CD38 38 00 00 00 */ li r0, 0 +/* 8031FDDC 0031CD3C 90 1F 03 08 */ stw r0, 0x308(r31) +/* 8031FDE0 0031CD40 48 00 00 30 */ b lbl_8031FE10 +lbl_8031FDE4: +/* 8031FDE4 0031CD44 38 00 00 01 */ li r0, 1 +/* 8031FDE8 0031CD48 90 1F 03 08 */ stw r0, 0x308(r31) +/* 8031FDEC 0031CD4C 48 00 00 24 */ b lbl_8031FE10 +lbl_8031FDF0: +/* 8031FDF0 0031CD50 38 00 00 02 */ li r0, 2 +/* 8031FDF4 0031CD54 90 1F 03 08 */ stw r0, 0x308(r31) +/* 8031FDF8 0031CD58 48 00 00 18 */ b lbl_8031FE10 +lbl_8031FDFC: +/* 8031FDFC 0031CD5C 38 00 00 03 */ li r0, 3 +/* 8031FE00 0031CD60 90 1F 03 08 */ stw r0, 0x308(r31) +/* 8031FE04 0031CD64 48 00 00 0C */ b lbl_8031FE10 +lbl_8031FE08: +/* 8031FE08 0031CD68 38 00 00 00 */ li r0, 0 +/* 8031FE0C 0031CD6C 90 1F 03 08 */ stw r0, 0x308(r31) +lbl_8031FE10: +/* 8031FE10 0031CD70 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031FE14 0031CD74 80 03 01 00 */ lwz r0, 0x100(r3) +/* 8031FE18 0031CD78 28 00 00 00 */ cmplwi r0, 0 +/* 8031FE1C 0031CD7C 41 82 00 80 */ beq lbl_8031FE9C +/* 8031FE20 0031CD80 38 00 00 01 */ li r0, 1 +/* 8031FE24 0031CD84 38 A1 00 08 */ addi r5, r1, 8 +/* 8031FE28 0031CD88 90 01 00 08 */ stw r0, 8(r1) +/* 8031FE2C 0031CD8C 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8031FE30 0031CD90 80 9F 00 74 */ lwz r4, 0x74(r31) +/* 8031FE34 0031CD94 80 63 01 00 */ lwz r3, 0x100(r3) +/* 8031FE38 0031CD98 81 83 00 00 */ lwz r12, 0(r3) +/* 8031FE3C 0031CD9C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8031FE40 0031CDA0 7D 89 03 A6 */ mtctr r12 +/* 8031FE44 0031CDA4 4E 80 04 21 */ bctrl +/* 8031FE48 0031CDA8 80 01 00 08 */ lwz r0, 8(r1) +/* 8031FE4C 0031CDAC 2C 00 00 01 */ cmpwi r0, 1 +/* 8031FE50 0031CDB0 41 82 00 2C */ beq lbl_8031FE7C +/* 8031FE54 0031CDB4 40 80 00 10 */ bge lbl_8031FE64 +/* 8031FE58 0031CDB8 2C 00 00 00 */ cmpwi r0, 0 +/* 8031FE5C 0031CDBC 40 80 00 14 */ bge lbl_8031FE70 +/* 8031FE60 0031CDC0 48 00 00 34 */ b lbl_8031FE94 +lbl_8031FE64: +/* 8031FE64 0031CDC4 2C 00 00 03 */ cmpwi r0, 3 +/* 8031FE68 0031CDC8 40 80 00 2C */ bge lbl_8031FE94 +/* 8031FE6C 0031CDCC 48 00 00 1C */ b lbl_8031FE88 +lbl_8031FE70: +/* 8031FE70 0031CDD0 38 00 00 00 */ li r0, 0 +/* 8031FE74 0031CDD4 90 1F 03 2C */ stw r0, 0x32c(r31) +/* 8031FE78 0031CDD8 48 00 00 24 */ b lbl_8031FE9C +lbl_8031FE7C: +/* 8031FE7C 0031CDDC 38 00 00 01 */ li r0, 1 +/* 8031FE80 0031CDE0 90 1F 03 2C */ stw r0, 0x32c(r31) +/* 8031FE84 0031CDE4 48 00 00 18 */ b lbl_8031FE9C +lbl_8031FE88: +/* 8031FE88 0031CDE8 38 00 00 02 */ li r0, 2 +/* 8031FE8C 0031CDEC 90 1F 03 2C */ stw r0, 0x32c(r31) +/* 8031FE90 0031CDF0 48 00 00 0C */ b lbl_8031FE9C +lbl_8031FE94: +/* 8031FE94 0031CDF4 38 00 00 01 */ li r0, 1 +/* 8031FE98 0031CDF8 90 1F 03 2C */ stw r0, 0x32c(r31) +lbl_8031FE9C: +/* 8031FE9C 0031CDFC 38 61 00 14 */ addi r3, r1, 0x14 +/* 8031FEA0 0031CE00 38 80 FF FF */ li r4, -1 +/* 8031FEA4 0031CE04 4B FF 27 61 */ bl __dt__13CGlobalRandomFv +/* 8031FEA8 0031CE08 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8031FEAC 0031CE0C 7F E3 FB 78 */ mr r3, r31 +/* 8031FEB0 0031CE10 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 8031FEB4 0031CE14 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 8031FEB8 0031CE18 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 8031FEBC 0031CE1C 83 81 00 40 */ lwz r28, 0x40(r1) +/* 8031FEC0 0031CE20 7C 08 03 A6 */ mtlr r0 +/* 8031FEC4 0031CE24 38 21 00 50 */ addi r1, r1, 0x50 +/* 8031FEC8 0031CE28 4E 80 00 20 */ blr + +.global sub_8031fecc +sub_8031fecc: +/* 8031FECC 0031CE2C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8031FED0 0031CE30 7C 08 02 A6 */ mflr r0 +/* 8031FED4 0031CE34 90 01 00 34 */ stw r0, 0x34(r1) +/* 8031FED8 0031CE38 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8031FEDC 0031CE3C 7C BF 2B 78 */ mr r31, r5 +/* 8031FEE0 0031CE40 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8031FEE4 0031CE44 7C 9E 23 78 */ mr r30, r4 +/* 8031FEE8 0031CE48 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8031FEEC 0031CE4C 7C 7D 1B 78 */ mr r29, r3 +/* 8031FEF0 0031CE50 93 81 00 20 */ stw r28, 0x20(r1) +/* 8031FEF4 0031CE54 80 03 00 04 */ lwz r0, 4(r3) +/* 8031FEF8 0031CE58 80 63 00 0C */ lwz r3, 0xc(r3) +/* 8031FEFC 0031CE5C 1C 00 00 24 */ mulli r0, r0, 0x24 +/* 8031FF00 0031CE60 90 61 00 0C */ stw r3, 0xc(r1) +/* 8031FF04 0031CE64 7C 03 02 14 */ add r0, r3, r0 +/* 8031FF08 0031CE68 90 61 00 08 */ stw r3, 8(r1) +/* 8031FF0C 0031CE6C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8031FF10 0031CE70 90 01 00 10 */ stw r0, 0x10(r1) +/* 8031FF14 0031CE74 48 00 00 08 */ b lbl_8031FF1C +lbl_8031FF18: +/* 8031FF18 0031CE78 38 63 00 24 */ addi r3, r3, 0x24 +lbl_8031FF1C: +/* 8031FF1C 0031CE7C 7C 03 00 40 */ cmplw r3, r0 +/* 8031FF20 0031CE80 40 82 FF F8 */ bne lbl_8031FF18 +/* 8031FF24 0031CE84 38 00 00 00 */ li r0, 0 +/* 8031FF28 0031CE88 7F A3 EB 78 */ mr r3, r29 +/* 8031FF2C 0031CE8C 90 1D 00 04 */ stw r0, 4(r29) +/* 8031FF30 0031CE90 7F C4 F3 78 */ mr r4, r30 +/* 8031FF34 0031CE94 48 00 06 05 */ bl sub_80320538 +/* 8031FF38 0031CE98 3B 80 00 00 */ li r28, 0 +/* 8031FF3C 0031CE9C 48 00 00 58 */ b lbl_8031FF94 +lbl_8031FF40: +/* 8031FF40 0031CEA0 80 1D 00 04 */ lwz r0, 4(r29) +/* 8031FF44 0031CEA4 80 BD 00 08 */ lwz r5, 8(r29) +/* 8031FF48 0031CEA8 7C 00 28 00 */ cmpw r0, r5 +/* 8031FF4C 0031CEAC 41 80 00 1C */ blt lbl_8031FF68 +/* 8031FF50 0031CEB0 2C 05 00 00 */ cmpwi r5, 0 +/* 8031FF54 0031CEB4 7F A3 EB 78 */ mr r3, r29 +/* 8031FF58 0031CEB8 38 80 00 04 */ li r4, 4 +/* 8031FF5C 0031CEBC 41 82 00 08 */ beq lbl_8031FF64 +/* 8031FF60 0031CEC0 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8031FF64: +/* 8031FF64 0031CEC4 48 00 05 D5 */ bl sub_80320538 +lbl_8031FF68: +/* 8031FF68 0031CEC8 80 1D 00 04 */ lwz r0, 4(r29) +/* 8031FF6C 0031CECC 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 8031FF70 0031CED0 1C 00 00 24 */ mulli r0, r0, 0x24 +/* 8031FF74 0031CED4 7C 63 02 15 */ add. r3, r3, r0 +/* 8031FF78 0031CED8 41 82 00 0C */ beq lbl_8031FF84 +/* 8031FF7C 0031CEDC 7F E4 FB 78 */ mr r4, r31 +/* 8031FF80 0031CEE0 4B FF 00 A5 */ bl __ct__9CMatrix3fFRC9CMatrix3f +lbl_8031FF84: +/* 8031FF84 0031CEE4 80 7D 00 04 */ lwz r3, 4(r29) +/* 8031FF88 0031CEE8 3B 9C 00 01 */ addi r28, r28, 1 +/* 8031FF8C 0031CEEC 38 03 00 01 */ addi r0, r3, 1 +/* 8031FF90 0031CEF0 90 1D 00 04 */ stw r0, 4(r29) +lbl_8031FF94: +/* 8031FF94 0031CEF4 7C 1C F0 00 */ cmpw r28, r30 +/* 8031FF98 0031CEF8 41 80 FF A8 */ blt lbl_8031FF40 +/* 8031FF9C 0031CEFC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8031FFA0 0031CF00 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8031FFA4 0031CF04 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8031FFA8 0031CF08 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8031FFAC 0031CF0C 83 81 00 20 */ lwz r28, 0x20(r1) +/* 8031FFB0 0031CF10 7C 08 03 A6 */ mtlr r0 +/* 8031FFB4 0031CF14 38 21 00 30 */ addi r1, r1, 0x30 +/* 8031FFB8 0031CF18 4E 80 00 20 */ blr + +.global sub_8031ffbc +sub_8031ffbc: +/* 8031FFBC 0031CF1C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8031FFC0 0031CF20 7C 08 02 A6 */ mflr r0 +/* 8031FFC4 0031CF24 90 01 00 34 */ stw r0, 0x34(r1) +/* 8031FFC8 0031CF28 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8031FFCC 0031CF2C 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8031FFD0 0031CF30 7C BE 2B 78 */ mr r30, r5 +/* 8031FFD4 0031CF34 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8031FFD8 0031CF38 7C 9D 23 78 */ mr r29, r4 +/* 8031FFDC 0031CF3C 93 81 00 20 */ stw r28, 0x20(r1) +/* 8031FFE0 0031CF40 7C 7C 1B 78 */ mr r28, r3 +/* 8031FFE4 0031CF44 80 03 00 04 */ lwz r0, 4(r3) +/* 8031FFE8 0031CF48 80 63 00 0C */ lwz r3, 0xc(r3) +/* 8031FFEC 0031CF4C 54 00 28 34 */ slwi r0, r0, 5 +/* 8031FFF0 0031CF50 7C 03 02 14 */ add r0, r3, r0 +/* 8031FFF4 0031CF54 90 61 00 0C */ stw r3, 0xc(r1) +/* 8031FFF8 0031CF58 90 01 00 14 */ stw r0, 0x14(r1) +/* 8031FFFC 0031CF5C 90 01 00 10 */ stw r0, 0x10(r1) +/* 80320000 0031CF60 90 61 00 08 */ stw r3, 8(r1) +/* 80320004 0031CF64 48 00 00 08 */ b lbl_8032000C +lbl_80320008: +/* 80320008 0031CF68 38 63 00 20 */ addi r3, r3, 0x20 +lbl_8032000C: +/* 8032000C 0031CF6C 7C 03 00 40 */ cmplw r3, r0 +/* 80320010 0031CF70 40 82 FF F8 */ bne lbl_80320008 +/* 80320014 0031CF74 38 00 00 00 */ li r0, 0 +/* 80320018 0031CF78 7F 83 E3 78 */ mr r3, r28 +/* 8032001C 0031CF7C 90 1C 00 04 */ stw r0, 4(r28) +/* 80320020 0031CF80 7F A4 EB 78 */ mr r4, r29 +/* 80320024 0031CF84 48 00 05 F9 */ bl "reserve__Q24rstl69vectorFi" +/* 80320028 0031CF88 3B E0 00 00 */ li r31, 0 +/* 8032002C 0031CF8C 48 00 00 90 */ b lbl_803200BC +lbl_80320030: +/* 80320030 0031CF90 80 1C 00 04 */ lwz r0, 4(r28) +/* 80320034 0031CF94 80 BC 00 08 */ lwz r5, 8(r28) +/* 80320038 0031CF98 7C 00 28 00 */ cmpw r0, r5 +/* 8032003C 0031CF9C 41 80 00 1C */ blt lbl_80320058 +/* 80320040 0031CFA0 2C 05 00 00 */ cmpwi r5, 0 +/* 80320044 0031CFA4 7F 83 E3 78 */ mr r3, r28 +/* 80320048 0031CFA8 38 80 00 04 */ li r4, 4 +/* 8032004C 0031CFAC 41 82 00 08 */ beq lbl_80320054 +/* 80320050 0031CFB0 54 A4 08 3C */ slwi r4, r5, 1 +lbl_80320054: +/* 80320054 0031CFB4 48 00 05 C9 */ bl "reserve__Q24rstl69vectorFi" +lbl_80320058: +/* 80320058 0031CFB8 80 1C 00 04 */ lwz r0, 4(r28) +/* 8032005C 0031CFBC 80 7C 00 0C */ lwz r3, 0xc(r28) +/* 80320060 0031CFC0 54 00 28 34 */ slwi r0, r0, 5 +/* 80320064 0031CFC4 7C 83 02 15 */ add. r4, r3, r0 +/* 80320068 0031CFC8 41 82 00 44 */ beq lbl_803200AC +/* 8032006C 0031CFCC 80 7E 00 00 */ lwz r3, 0(r30) +/* 80320070 0031CFD0 80 1E 00 04 */ lwz r0, 4(r30) +/* 80320074 0031CFD4 90 64 00 00 */ stw r3, 0(r4) +/* 80320078 0031CFD8 90 04 00 04 */ stw r0, 4(r4) +/* 8032007C 0031CFDC 80 7E 00 08 */ lwz r3, 8(r30) +/* 80320080 0031CFE0 80 1E 00 0C */ lwz r0, 0xc(r30) +/* 80320084 0031CFE4 90 64 00 08 */ stw r3, 8(r4) +/* 80320088 0031CFE8 90 04 00 0C */ stw r0, 0xc(r4) +/* 8032008C 0031CFEC 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 80320090 0031CFF0 80 1E 00 14 */ lwz r0, 0x14(r30) +/* 80320094 0031CFF4 90 64 00 10 */ stw r3, 0x10(r4) +/* 80320098 0031CFF8 90 04 00 14 */ stw r0, 0x14(r4) +/* 8032009C 0031CFFC 80 7E 00 18 */ lwz r3, 0x18(r30) +/* 803200A0 0031D000 80 1E 00 1C */ lwz r0, 0x1c(r30) +/* 803200A4 0031D004 90 64 00 18 */ stw r3, 0x18(r4) +/* 803200A8 0031D008 90 04 00 1C */ stw r0, 0x1c(r4) +lbl_803200AC: +/* 803200AC 0031D00C 80 7C 00 04 */ lwz r3, 4(r28) +/* 803200B0 0031D010 3B FF 00 01 */ addi r31, r31, 1 +/* 803200B4 0031D014 38 03 00 01 */ addi r0, r3, 1 +/* 803200B8 0031D018 90 1C 00 04 */ stw r0, 4(r28) +lbl_803200BC: +/* 803200BC 0031D01C 7C 1F E8 00 */ cmpw r31, r29 +/* 803200C0 0031D020 41 80 FF 70 */ blt lbl_80320030 +/* 803200C4 0031D024 80 01 00 34 */ lwz r0, 0x34(r1) +/* 803200C8 0031D028 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 803200CC 0031D02C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 803200D0 0031D030 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 803200D4 0031D034 83 81 00 20 */ lwz r28, 0x20(r1) +/* 803200D8 0031D038 7C 08 03 A6 */ mtlr r0 +/* 803200DC 0031D03C 38 21 00 30 */ addi r1, r1, 0x30 +/* 803200E0 0031D040 4E 80 00 20 */ blr + +.global sub_803200e4 +sub_803200e4: +/* 803200E4 0031D044 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 803200E8 0031D048 7C 08 02 A6 */ mflr r0 +/* 803200EC 0031D04C 90 01 00 44 */ stw r0, 0x44(r1) +/* 803200F0 0031D050 BF 61 00 2C */ stmw r27, 0x2c(r1) +/* 803200F4 0031D054 7C 7D 1B 78 */ mr r29, r3 +/* 803200F8 0031D058 7C 9E 23 78 */ mr r30, r4 +/* 803200FC 0031D05C 7C BF 2B 78 */ mr r31, r5 +/* 80320100 0031D060 7C 1D F0 50 */ subf r0, r29, r30 +/* 80320104 0031D064 7C 00 26 70 */ srawi r0, r0, 4 +/* 80320108 0031D068 7C A0 01 94 */ addze r5, r0 +/* 8032010C 0031D06C 2C 05 00 01 */ cmpwi r5, 1 +/* 80320110 0031D070 40 81 01 24 */ ble lbl_80320234 +/* 80320114 0031D074 2C 05 00 14 */ cmpwi r5, 0x14 +/* 80320118 0031D078 41 81 00 18 */ bgt lbl_80320130 +/* 8032011C 0031D07C 88 1F 00 00 */ lbz r0, 0(r31) +/* 80320120 0031D080 38 A1 00 14 */ addi r5, r1, 0x14 +/* 80320124 0031D084 98 01 00 14 */ stb r0, 0x14(r1) +/* 80320128 0031D088 48 00 07 05 */ bl sub_8032082c +/* 8032012C 0031D08C 48 00 01 08 */ b lbl_80320234 +lbl_80320130: +/* 80320130 0031D090 54 A4 0F FE */ srwi r4, r5, 0x1f +/* 80320134 0031D094 88 1F 00 00 */ lbz r0, 0(r31) +/* 80320138 0031D098 7C 84 2A 14 */ add r4, r4, r5 +/* 8032013C 0031D09C 3B 7E FF F0 */ addi r27, r30, -16 +/* 80320140 0031D0A0 7C 84 0E 70 */ srawi r4, r4, 1 +/* 80320144 0031D0A4 98 01 00 10 */ stb r0, 0x10(r1) +/* 80320148 0031D0A8 54 80 20 36 */ slwi r0, r4, 4 +/* 8032014C 0031D0AC 7F 65 DB 78 */ mr r5, r27 +/* 80320150 0031D0B0 7F 9D 02 14 */ add r28, r29, r0 +/* 80320154 0031D0B4 38 C1 00 10 */ addi r6, r1, 0x10 +/* 80320158 0031D0B8 7F 84 E3 78 */ mr r4, r28 +/* 8032015C 0031D0BC 48 00 09 DD */ bl sub_80320b38 +/* 80320160 0031D0C0 C0 7C 00 08 */ lfs f3, 8(r28) +/* 80320164 0031D0C4 3B 9D 00 10 */ addi r28, r29, 0x10 +/* 80320168 0031D0C8 3B 7B FF F0 */ addi r27, r27, -16 +/* 8032016C 0031D0CC 48 00 00 08 */ b lbl_80320174 +lbl_80320170: +/* 80320170 0031D0D0 3B 9C 00 10 */ addi r28, r28, 0x10 +lbl_80320174: +/* 80320174 0031D0D4 C0 1C 00 08 */ lfs f0, 8(r28) +/* 80320178 0031D0D8 FC 00 18 40 */ fcmpo cr0, f0, f3 +/* 8032017C 0031D0DC 41 81 FF F4 */ bgt lbl_80320170 +/* 80320180 0031D0E0 48 00 00 08 */ b lbl_80320188 +lbl_80320184: +/* 80320184 0031D0E4 3B 7B FF F0 */ addi r27, r27, -16 +lbl_80320188: +/* 80320188 0031D0E8 C0 1B 00 08 */ lfs f0, 8(r27) +/* 8032018C 0031D0EC FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 80320190 0031D0F0 41 81 FF F4 */ bgt lbl_80320184 +/* 80320194 0031D0F4 7C 1C D8 40 */ cmplw r28, r27 +/* 80320198 0031D0F8 40 80 00 6C */ bge lbl_80320204 +/* 8032019C 0031D0FC A0 BC 00 00 */ lhz r5, 0(r28) +/* 803201A0 0031D100 C0 5C 00 04 */ lfs f2, 4(r28) +/* 803201A4 0031D104 C0 3C 00 08 */ lfs f1, 8(r28) +/* 803201A8 0031D108 C0 1C 00 0C */ lfs f0, 0xc(r28) +/* 803201AC 0031D10C A0 1B 00 00 */ lhz r0, 0(r27) +/* 803201B0 0031D110 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 803201B4 0031D114 B0 1C 00 00 */ sth r0, 0(r28) +/* 803201B8 0031D118 80 81 00 1C */ lwz r4, 0x1c(r1) +/* 803201BC 0031D11C 80 7B 00 04 */ lwz r3, 4(r27) +/* 803201C0 0031D120 80 1B 00 08 */ lwz r0, 8(r27) +/* 803201C4 0031D124 D0 21 00 20 */ stfs f1, 0x20(r1) +/* 803201C8 0031D128 90 7C 00 04 */ stw r3, 4(r28) +/* 803201CC 0031D12C 80 61 00 20 */ lwz r3, 0x20(r1) +/* 803201D0 0031D130 90 1C 00 08 */ stw r0, 8(r28) +/* 803201D4 0031D134 80 1B 00 0C */ lwz r0, 0xc(r27) +/* 803201D8 0031D138 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 803201DC 0031D13C 90 1C 00 0C */ stw r0, 0xc(r28) +/* 803201E0 0031D140 3B 9C 00 10 */ addi r28, r28, 0x10 +/* 803201E4 0031D144 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803201E8 0031D148 B0 BB 00 00 */ sth r5, 0(r27) +/* 803201EC 0031D14C 90 9B 00 04 */ stw r4, 4(r27) +/* 803201F0 0031D150 90 7B 00 08 */ stw r3, 8(r27) +/* 803201F4 0031D154 90 1B 00 0C */ stw r0, 0xc(r27) +/* 803201F8 0031D158 3B 7B FF F0 */ addi r27, r27, -16 +/* 803201FC 0031D15C B0 A1 00 18 */ sth r5, 0x18(r1) +/* 80320200 0031D160 4B FF FF 74 */ b lbl_80320174 +lbl_80320204: +/* 80320204 0031D164 88 1F 00 00 */ lbz r0, 0(r31) +/* 80320208 0031D168 7F A3 EB 78 */ mr r3, r29 +/* 8032020C 0031D16C 7F 84 E3 78 */ mr r4, r28 +/* 80320210 0031D170 38 A1 00 0C */ addi r5, r1, 0xc +/* 80320214 0031D174 98 01 00 0C */ stb r0, 0xc(r1) +/* 80320218 0031D178 4B FF FE CD */ bl sub_803200e4 +/* 8032021C 0031D17C 88 1F 00 00 */ lbz r0, 0(r31) +/* 80320220 0031D180 7F 83 E3 78 */ mr r3, r28 +/* 80320224 0031D184 7F C4 F3 78 */ mr r4, r30 +/* 80320228 0031D188 38 A1 00 08 */ addi r5, r1, 8 +/* 8032022C 0031D18C 98 01 00 08 */ stb r0, 8(r1) +/* 80320230 0031D190 4B FF FE B5 */ bl sub_803200e4 +lbl_80320234: +/* 80320234 0031D194 BB 61 00 2C */ lmw r27, 0x2c(r1) +/* 80320238 0031D198 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8032023C 0031D19C 7C 08 03 A6 */ mtlr r0 +/* 80320240 0031D1A0 38 21 00 40 */ addi r1, r1, 0x40 +/* 80320244 0031D1A4 4E 80 00 20 */ blr + +.global sub_80320248 +sub_80320248: +/* 80320248 0031D1A8 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8032024C 0031D1AC 7C 08 02 A6 */ mflr r0 +/* 80320250 0031D1B0 90 01 00 44 */ stw r0, 0x44(r1) +/* 80320254 0031D1B4 BF 61 00 2C */ stmw r27, 0x2c(r1) +/* 80320258 0031D1B8 7C 7C 1B 78 */ mr r28, r3 +/* 8032025C 0031D1BC 7C 9D 23 78 */ mr r29, r4 +/* 80320260 0031D1C0 7C BE 2B 78 */ mr r30, r5 +/* 80320264 0031D1C4 7C 1C E8 50 */ subf r0, r28, r29 +/* 80320268 0031D1C8 7C 00 26 70 */ srawi r0, r0, 4 +/* 8032026C 0031D1CC 7C A0 01 94 */ addze r5, r0 +/* 80320270 0031D1D0 2C 05 00 01 */ cmpwi r5, 1 +/* 80320274 0031D1D4 40 81 01 38 */ ble lbl_803203AC +/* 80320278 0031D1D8 2C 05 00 14 */ cmpwi r5, 0x14 +/* 8032027C 0031D1DC 41 81 00 18 */ bgt lbl_80320294 +/* 80320280 0031D1E0 88 1E 00 00 */ lbz r0, 0(r30) +/* 80320284 0031D1E4 38 A1 00 14 */ addi r5, r1, 0x14 +/* 80320288 0031D1E8 98 01 00 14 */ stb r0, 0x14(r1) +/* 8032028C 0031D1EC 48 00 06 59 */ bl sub_803208e4 +/* 80320290 0031D1F0 48 00 01 1C */ b lbl_803203AC +lbl_80320294: +/* 80320294 0031D1F4 54 A4 0F FE */ srwi r4, r5, 0x1f +/* 80320298 0031D1F8 88 1E 00 00 */ lbz r0, 0(r30) +/* 8032029C 0031D1FC 7C 84 2A 14 */ add r4, r4, r5 +/* 803202A0 0031D200 3B FD FF F0 */ addi r31, r29, -16 +/* 803202A4 0031D204 7C 84 0E 70 */ srawi r4, r4, 1 +/* 803202A8 0031D208 98 01 00 10 */ stb r0, 0x10(r1) +/* 803202AC 0031D20C 54 80 20 36 */ slwi r0, r4, 4 +/* 803202B0 0031D210 7F E5 FB 78 */ mr r5, r31 +/* 803202B4 0031D214 7F 7C 02 14 */ add r27, r28, r0 +/* 803202B8 0031D218 38 C1 00 10 */ addi r6, r1, 0x10 +/* 803202BC 0031D21C 7F 64 DB 78 */ mr r4, r27 +/* 803202C0 0031D220 48 00 06 F5 */ bl sub_803209b4 +/* 803202C4 0031D224 C0 7B 00 08 */ lfs f3, 8(r27) +/* 803202C8 0031D228 3B 7C 00 10 */ addi r27, r28, 0x10 +/* 803202CC 0031D22C 3B FF FF F0 */ addi r31, r31, -16 +/* 803202D0 0031D230 48 00 00 08 */ b lbl_803202D8 +lbl_803202D4: +/* 803202D4 0031D234 3B 7B 00 10 */ addi r27, r27, 0x10 +lbl_803202D8: +/* 803202D8 0031D238 C0 1B 00 08 */ lfs f0, 8(r27) +/* 803202DC 0031D23C FC 00 18 40 */ fcmpo cr0, f0, f3 +/* 803202E0 0031D240 41 81 FF F4 */ bgt lbl_803202D4 +/* 803202E4 0031D244 48 00 00 08 */ b lbl_803202EC +lbl_803202E8: +/* 803202E8 0031D248 3B FF FF F0 */ addi r31, r31, -16 +lbl_803202EC: +/* 803202EC 0031D24C C0 1F 00 08 */ lfs f0, 8(r31) +/* 803202F0 0031D250 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 803202F4 0031D254 41 81 FF F4 */ bgt lbl_803202E8 +/* 803202F8 0031D258 7C 1B F8 40 */ cmplw r27, r31 +/* 803202FC 0031D25C 40 80 00 80 */ bge lbl_8032037C +/* 80320300 0031D260 A0 FB 00 00 */ lhz r7, 0(r27) +/* 80320304 0031D264 A0 DB 00 02 */ lhz r6, 2(r27) +/* 80320308 0031D268 C0 5B 00 04 */ lfs f2, 4(r27) +/* 8032030C 0031D26C C0 3B 00 08 */ lfs f1, 8(r27) +/* 80320310 0031D270 C0 1B 00 0C */ lfs f0, 0xc(r27) +/* 80320314 0031D274 A0 1F 00 00 */ lhz r0, 0(r31) +/* 80320318 0031D278 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 8032031C 0031D27C B0 1B 00 00 */ sth r0, 0(r27) +/* 80320320 0031D280 80 81 00 1C */ lwz r4, 0x1c(r1) +/* 80320324 0031D284 A0 1F 00 02 */ lhz r0, 2(r31) +/* 80320328 0031D288 D0 21 00 20 */ stfs f1, 0x20(r1) +/* 8032032C 0031D28C B0 1B 00 02 */ sth r0, 2(r27) +/* 80320330 0031D290 80 61 00 20 */ lwz r3, 0x20(r1) +/* 80320334 0031D294 80 1F 00 04 */ lwz r0, 4(r31) +/* 80320338 0031D298 80 BF 00 08 */ lwz r5, 8(r31) +/* 8032033C 0031D29C D0 01 00 24 */ stfs f0, 0x24(r1) +/* 80320340 0031D2A0 90 1B 00 04 */ stw r0, 4(r27) +/* 80320344 0031D2A4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80320348 0031D2A8 90 BB 00 08 */ stw r5, 8(r27) +/* 8032034C 0031D2AC 80 BF 00 0C */ lwz r5, 0xc(r31) +/* 80320350 0031D2B0 B0 E1 00 18 */ sth r7, 0x18(r1) +/* 80320354 0031D2B4 90 BB 00 0C */ stw r5, 0xc(r27) +/* 80320358 0031D2B8 3B 7B 00 10 */ addi r27, r27, 0x10 +/* 8032035C 0031D2BC B0 FF 00 00 */ sth r7, 0(r31) +/* 80320360 0031D2C0 B0 DF 00 02 */ sth r6, 2(r31) +/* 80320364 0031D2C4 90 9F 00 04 */ stw r4, 4(r31) +/* 80320368 0031D2C8 90 7F 00 08 */ stw r3, 8(r31) +/* 8032036C 0031D2CC 90 1F 00 0C */ stw r0, 0xc(r31) +/* 80320370 0031D2D0 3B FF FF F0 */ addi r31, r31, -16 +/* 80320374 0031D2D4 B0 C1 00 1A */ sth r6, 0x1a(r1) +/* 80320378 0031D2D8 4B FF FF 60 */ b lbl_803202D8 +lbl_8032037C: +/* 8032037C 0031D2DC 88 1E 00 00 */ lbz r0, 0(r30) +/* 80320380 0031D2E0 7F 83 E3 78 */ mr r3, r28 +/* 80320384 0031D2E4 7F 64 DB 78 */ mr r4, r27 +/* 80320388 0031D2E8 38 A1 00 0C */ addi r5, r1, 0xc +/* 8032038C 0031D2EC 98 01 00 0C */ stb r0, 0xc(r1) +/* 80320390 0031D2F0 4B FF FE B9 */ bl sub_80320248 +/* 80320394 0031D2F4 88 1E 00 00 */ lbz r0, 0(r30) +/* 80320398 0031D2F8 7F 63 DB 78 */ mr r3, r27 +/* 8032039C 0031D2FC 7F A4 EB 78 */ mr r4, r29 +/* 803203A0 0031D300 38 A1 00 08 */ addi r5, r1, 8 +/* 803203A4 0031D304 98 01 00 08 */ stb r0, 8(r1) +/* 803203A8 0031D308 4B FF FE A1 */ bl sub_80320248 +lbl_803203AC: +/* 803203AC 0031D30C BB 61 00 2C */ lmw r27, 0x2c(r1) +/* 803203B0 0031D310 80 01 00 44 */ lwz r0, 0x44(r1) +/* 803203B4 0031D314 7C 08 03 A6 */ mtlr r0 +/* 803203B8 0031D318 38 21 00 40 */ addi r1, r1, 0x40 +/* 803203BC 0031D31C 4E 80 00 20 */ blr + +.global sub_803203c0 +sub_803203c0: +/* 803203C0 0031D320 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 803203C4 0031D324 7C 08 02 A6 */ mflr r0 +/* 803203C8 0031D328 90 01 00 34 */ stw r0, 0x34(r1) +/* 803203CC 0031D32C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 803203D0 0031D330 7C 9F 23 78 */ mr r31, r4 +/* 803203D4 0031D334 93 C1 00 28 */ stw r30, 0x28(r1) +/* 803203D8 0031D338 7C 7E 1B 78 */ mr r30, r3 +/* 803203DC 0031D33C 93 A1 00 24 */ stw r29, 0x24(r1) +/* 803203E0 0031D340 80 03 00 08 */ lwz r0, 8(r3) +/* 803203E4 0031D344 7C 1F 00 00 */ cmpw r31, r0 +/* 803203E8 0031D348 40 81 00 98 */ ble lbl_80320480 +/* 803203EC 0031D34C 1C 7F 00 38 */ mulli r3, r31, 0x38 +/* 803203F0 0031D350 2C 03 00 00 */ cmpwi r3, 0 +/* 803203F4 0031D354 40 82 00 0C */ bne lbl_80320400 +/* 803203F8 0031D358 3B A0 00 00 */ li r29, 0 +/* 803203FC 0031D35C 48 00 00 18 */ b lbl_80320414 +lbl_80320400: +/* 80320400 0031D360 3C 80 80 3D */ lis r4, lbl_803D7910@ha +/* 80320404 0031D364 38 A0 00 00 */ li r5, 0 +/* 80320408 0031D368 38 84 79 10 */ addi r4, r4, lbl_803D7910@l +/* 8032040C 0031D36C 4B FF 54 0D */ bl __nwa__FUlPCcPCc +/* 80320410 0031D370 7C 7D 1B 78 */ mr r29, r3 +lbl_80320414: +/* 80320414 0031D374 80 1E 00 04 */ lwz r0, 4(r30) +/* 80320418 0031D378 7F A5 EB 78 */ mr r5, r29 +/* 8032041C 0031D37C 80 DE 00 0C */ lwz r6, 0xc(r30) +/* 80320420 0031D380 38 61 00 14 */ addi r3, r1, 0x14 +/* 80320424 0031D384 1C 00 00 38 */ mulli r0, r0, 0x38 +/* 80320428 0031D388 38 81 00 0C */ addi r4, r1, 0xc +/* 8032042C 0031D38C 7C C6 02 14 */ add r6, r6, r0 +/* 80320430 0031D390 90 C1 00 0C */ stw r6, 0xc(r1) +/* 80320434 0031D394 80 1E 00 0C */ lwz r0, 0xc(r30) +/* 80320438 0031D398 90 C1 00 08 */ stw r6, 8(r1) +/* 8032043C 0031D39C 90 01 00 10 */ stw r0, 0x10(r1) +/* 80320440 0031D3A0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80320444 0031D3A4 48 00 00 59 */ bl sub_8032049c +/* 80320448 0031D3A8 80 1E 00 04 */ lwz r0, 4(r30) +/* 8032044C 0031D3AC 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80320450 0031D3B0 1C 00 00 38 */ mulli r0, r0, 0x38 +/* 80320454 0031D3B4 7C 64 1B 78 */ mr r4, r3 +/* 80320458 0031D3B8 7C 03 02 14 */ add r0, r3, r0 +/* 8032045C 0031D3BC 48 00 00 08 */ b lbl_80320464 +lbl_80320460: +/* 80320460 0031D3C0 38 84 00 38 */ addi r4, r4, 0x38 +lbl_80320464: +/* 80320464 0031D3C4 7C 04 00 40 */ cmplw r4, r0 +/* 80320468 0031D3C8 40 82 FF F8 */ bne lbl_80320460 +/* 8032046C 0031D3CC 28 03 00 00 */ cmplwi r3, 0 +/* 80320470 0031D3D0 41 82 00 08 */ beq lbl_80320478 +/* 80320474 0031D3D4 4B FF 54 BD */ bl Free__7CMemoryFPCv +lbl_80320478: +/* 80320478 0031D3D8 93 BE 00 0C */ stw r29, 0xc(r30) +/* 8032047C 0031D3DC 93 FE 00 08 */ stw r31, 8(r30) +lbl_80320480: +/* 80320480 0031D3E0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80320484 0031D3E4 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80320488 0031D3E8 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8032048C 0031D3EC 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80320490 0031D3F0 7C 08 03 A6 */ mtlr r0 +/* 80320494 0031D3F4 38 21 00 30 */ addi r1, r1, 0x30 +/* 80320498 0031D3F8 4E 80 00 20 */ blr + +.global sub_8032049c +sub_8032049c: +/* 8032049C 0031D3FC 80 63 00 00 */ lwz r3, 0(r3) +/* 803204A0 0031D400 48 00 00 84 */ b lbl_80320524 +lbl_803204A4: +/* 803204A4 0031D404 28 05 00 00 */ cmplwi r5, 0 +/* 803204A8 0031D408 41 82 00 74 */ beq lbl_8032051C +/* 803204AC 0031D40C 80 03 00 00 */ lwz r0, 0(r3) +/* 803204B0 0031D410 90 05 00 00 */ stw r0, 0(r5) +/* 803204B4 0031D414 C0 03 00 04 */ lfs f0, 4(r3) +/* 803204B8 0031D418 D0 05 00 04 */ stfs f0, 4(r5) +/* 803204BC 0031D41C C0 03 00 08 */ lfs f0, 8(r3) +/* 803204C0 0031D420 D0 05 00 08 */ stfs f0, 8(r5) +/* 803204C4 0031D424 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 803204C8 0031D428 D0 05 00 0C */ stfs f0, 0xc(r5) +/* 803204CC 0031D42C C0 03 00 10 */ lfs f0, 0x10(r3) +/* 803204D0 0031D430 D0 05 00 10 */ stfs f0, 0x10(r5) +/* 803204D4 0031D434 C0 03 00 14 */ lfs f0, 0x14(r3) +/* 803204D8 0031D438 D0 05 00 14 */ stfs f0, 0x14(r5) +/* 803204DC 0031D43C C0 03 00 18 */ lfs f0, 0x18(r3) +/* 803204E0 0031D440 D0 05 00 18 */ stfs f0, 0x18(r5) +/* 803204E4 0031D444 C0 03 00 1C */ lfs f0, 0x1c(r3) +/* 803204E8 0031D448 D0 05 00 1C */ stfs f0, 0x1c(r5) +/* 803204EC 0031D44C C0 03 00 20 */ lfs f0, 0x20(r3) +/* 803204F0 0031D450 D0 05 00 20 */ stfs f0, 0x20(r5) +/* 803204F4 0031D454 C0 03 00 24 */ lfs f0, 0x24(r3) +/* 803204F8 0031D458 D0 05 00 24 */ stfs f0, 0x24(r5) +/* 803204FC 0031D45C 80 03 00 28 */ lwz r0, 0x28(r3) +/* 80320500 0031D460 90 05 00 28 */ stw r0, 0x28(r5) +/* 80320504 0031D464 C0 03 00 2C */ lfs f0, 0x2c(r3) +/* 80320508 0031D468 D0 05 00 2C */ stfs f0, 0x2c(r5) +/* 8032050C 0031D46C C0 03 00 30 */ lfs f0, 0x30(r3) +/* 80320510 0031D470 D0 05 00 30 */ stfs f0, 0x30(r5) +/* 80320514 0031D474 80 03 00 34 */ lwz r0, 0x34(r3) +/* 80320518 0031D478 90 05 00 34 */ stw r0, 0x34(r5) +lbl_8032051C: +/* 8032051C 0031D47C 38 A5 00 38 */ addi r5, r5, 0x38 +/* 80320520 0031D480 38 63 00 38 */ addi r3, r3, 0x38 +lbl_80320524: +/* 80320524 0031D484 80 04 00 00 */ lwz r0, 0(r4) +/* 80320528 0031D488 7C 03 00 40 */ cmplw r3, r0 +/* 8032052C 0031D48C 40 82 FF 78 */ bne lbl_803204A4 +/* 80320530 0031D490 7C A3 2B 78 */ mr r3, r5 +/* 80320534 0031D494 4E 80 00 20 */ blr + +.global sub_80320538 +sub_80320538: +/* 80320538 0031D498 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8032053C 0031D49C 7C 08 02 A6 */ mflr r0 +/* 80320540 0031D4A0 90 01 00 34 */ stw r0, 0x34(r1) +/* 80320544 0031D4A4 BF 41 00 18 */ stmw r26, 0x18(r1) +/* 80320548 0031D4A8 7C 9F 23 78 */ mr r31, r4 +/* 8032054C 0031D4AC 7C 7E 1B 78 */ mr r30, r3 +/* 80320550 0031D4B0 80 03 00 08 */ lwz r0, 8(r3) +/* 80320554 0031D4B4 7C 1F 00 00 */ cmpw r31, r0 +/* 80320558 0031D4B8 40 81 00 B0 */ ble lbl_80320608 +/* 8032055C 0031D4BC 1C 7F 00 24 */ mulli r3, r31, 0x24 +/* 80320560 0031D4C0 2C 03 00 00 */ cmpwi r3, 0 +/* 80320564 0031D4C4 40 82 00 0C */ bne lbl_80320570 +/* 80320568 0031D4C8 3B 80 00 00 */ li r28, 0 +/* 8032056C 0031D4CC 48 00 00 18 */ b lbl_80320584 +lbl_80320570: +/* 80320570 0031D4D0 3C 80 80 3D */ lis r4, lbl_803D7910@ha +/* 80320574 0031D4D4 38 A0 00 00 */ li r5, 0 +/* 80320578 0031D4D8 38 84 79 10 */ addi r4, r4, lbl_803D7910@l +/* 8032057C 0031D4DC 4B FF 52 9D */ bl __nwa__FUlPCcPCc +/* 80320580 0031D4E0 7C 7C 1B 78 */ mr r28, r3 +lbl_80320584: +/* 80320584 0031D4E4 80 1E 00 04 */ lwz r0, 4(r30) +/* 80320588 0031D4E8 7F 9B E3 78 */ mr r27, r28 +/* 8032058C 0031D4EC 83 5E 00 0C */ lwz r26, 0xc(r30) +/* 80320590 0031D4F0 1C 00 00 24 */ mulli r0, r0, 0x24 +/* 80320594 0031D4F4 93 41 00 10 */ stw r26, 0x10(r1) +/* 80320598 0031D4F8 7F BA 02 14 */ add r29, r26, r0 +/* 8032059C 0031D4FC 93 41 00 14 */ stw r26, 0x14(r1) +/* 803205A0 0031D500 93 A1 00 08 */ stw r29, 8(r1) +/* 803205A4 0031D504 93 A1 00 0C */ stw r29, 0xc(r1) +/* 803205A8 0031D508 48 00 00 20 */ b lbl_803205C8 +lbl_803205AC: +/* 803205AC 0031D50C 28 1B 00 00 */ cmplwi r27, 0 +/* 803205B0 0031D510 41 82 00 10 */ beq lbl_803205C0 +/* 803205B4 0031D514 7F 63 DB 78 */ mr r3, r27 +/* 803205B8 0031D518 7F 44 D3 78 */ mr r4, r26 +/* 803205BC 0031D51C 4B FE FA 69 */ bl __ct__9CMatrix3fFRC9CMatrix3f +lbl_803205C0: +/* 803205C0 0031D520 3B 7B 00 24 */ addi r27, r27, 0x24 +/* 803205C4 0031D524 3B 5A 00 24 */ addi r26, r26, 0x24 +lbl_803205C8: +/* 803205C8 0031D528 7C 1A E8 40 */ cmplw r26, r29 +/* 803205CC 0031D52C 40 82 FF E0 */ bne lbl_803205AC +/* 803205D0 0031D530 80 1E 00 04 */ lwz r0, 4(r30) +/* 803205D4 0031D534 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 803205D8 0031D538 1C 00 00 24 */ mulli r0, r0, 0x24 +/* 803205DC 0031D53C 7C 64 1B 78 */ mr r4, r3 +/* 803205E0 0031D540 7C 03 02 14 */ add r0, r3, r0 +/* 803205E4 0031D544 48 00 00 08 */ b lbl_803205EC +lbl_803205E8: +/* 803205E8 0031D548 38 84 00 24 */ addi r4, r4, 0x24 +lbl_803205EC: +/* 803205EC 0031D54C 7C 04 00 40 */ cmplw r4, r0 +/* 803205F0 0031D550 40 82 FF F8 */ bne lbl_803205E8 +/* 803205F4 0031D554 28 03 00 00 */ cmplwi r3, 0 +/* 803205F8 0031D558 41 82 00 08 */ beq lbl_80320600 +/* 803205FC 0031D55C 4B FF 53 35 */ bl Free__7CMemoryFPCv +lbl_80320600: +/* 80320600 0031D560 93 9E 00 0C */ stw r28, 0xc(r30) +/* 80320604 0031D564 93 FE 00 08 */ stw r31, 8(r30) +lbl_80320608: +/* 80320608 0031D568 BB 41 00 18 */ lmw r26, 0x18(r1) +/* 8032060C 0031D56C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80320610 0031D570 7C 08 03 A6 */ mtlr r0 +/* 80320614 0031D574 38 21 00 30 */ addi r1, r1, 0x30 +/* 80320618 0031D578 4E 80 00 20 */ blr + +.global "reserve__Q24rstl69vectorFi" +"reserve__Q24rstl69vectorFi": +/* 8032061C 0031D57C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80320620 0031D580 7C 08 02 A6 */ mflr r0 +/* 80320624 0031D584 90 01 00 34 */ stw r0, 0x34(r1) +/* 80320628 0031D588 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8032062C 0031D58C 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80320630 0031D590 7C 9E 23 78 */ mr r30, r4 +/* 80320634 0031D594 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80320638 0031D598 7C 7D 1B 78 */ mr r29, r3 +/* 8032063C 0031D59C 80 03 00 08 */ lwz r0, 8(r3) +/* 80320640 0031D5A0 7C 1E 00 00 */ cmpw r30, r0 +/* 80320644 0031D5A4 40 81 00 E0 */ ble lbl_80320724 +/* 80320648 0031D5A8 57 C3 28 35 */ rlwinm. r3, r30, 5, 0, 0x1a +/* 8032064C 0031D5AC 40 82 00 0C */ bne lbl_80320658 +/* 80320650 0031D5B0 3B E0 00 00 */ li r31, 0 +/* 80320654 0031D5B4 48 00 00 18 */ b lbl_8032066C +lbl_80320658: +/* 80320658 0031D5B8 3C 80 80 3D */ lis r4, lbl_803D7910@ha +/* 8032065C 0031D5BC 38 A0 00 00 */ li r5, 0 +/* 80320660 0031D5C0 38 84 79 10 */ addi r4, r4, lbl_803D7910@l +/* 80320664 0031D5C4 4B FF 51 B5 */ bl __nwa__FUlPCcPCc +/* 80320668 0031D5C8 7C 7F 1B 78 */ mr r31, r3 +lbl_8032066C: +/* 8032066C 0031D5CC 80 1D 00 04 */ lwz r0, 4(r29) +/* 80320670 0031D5D0 7F E5 FB 78 */ mr r5, r31 +/* 80320674 0031D5D4 80 DD 00 0C */ lwz r6, 0xc(r29) +/* 80320678 0031D5D8 54 00 28 34 */ slwi r0, r0, 5 +/* 8032067C 0031D5DC 7C 86 02 14 */ add r4, r6, r0 +/* 80320680 0031D5E0 90 C1 00 10 */ stw r6, 0x10(r1) +/* 80320684 0031D5E4 90 81 00 08 */ stw r4, 8(r1) +/* 80320688 0031D5E8 90 81 00 0C */ stw r4, 0xc(r1) +/* 8032068C 0031D5EC 90 C1 00 14 */ stw r6, 0x14(r1) +/* 80320690 0031D5F0 48 00 00 54 */ b lbl_803206E4 +lbl_80320694: +/* 80320694 0031D5F4 28 05 00 00 */ cmplwi r5, 0 +/* 80320698 0031D5F8 41 82 00 44 */ beq lbl_803206DC +/* 8032069C 0031D5FC 80 66 00 00 */ lwz r3, 0(r6) +/* 803206A0 0031D600 80 06 00 04 */ lwz r0, 4(r6) +/* 803206A4 0031D604 90 65 00 00 */ stw r3, 0(r5) +/* 803206A8 0031D608 90 05 00 04 */ stw r0, 4(r5) +/* 803206AC 0031D60C 80 66 00 08 */ lwz r3, 8(r6) +/* 803206B0 0031D610 80 06 00 0C */ lwz r0, 0xc(r6) +/* 803206B4 0031D614 90 65 00 08 */ stw r3, 8(r5) +/* 803206B8 0031D618 90 05 00 0C */ stw r0, 0xc(r5) +/* 803206BC 0031D61C 80 66 00 10 */ lwz r3, 0x10(r6) +/* 803206C0 0031D620 80 06 00 14 */ lwz r0, 0x14(r6) +/* 803206C4 0031D624 90 65 00 10 */ stw r3, 0x10(r5) +/* 803206C8 0031D628 90 05 00 14 */ stw r0, 0x14(r5) +/* 803206CC 0031D62C 80 66 00 18 */ lwz r3, 0x18(r6) +/* 803206D0 0031D630 80 06 00 1C */ lwz r0, 0x1c(r6) +/* 803206D4 0031D634 90 65 00 18 */ stw r3, 0x18(r5) +/* 803206D8 0031D638 90 05 00 1C */ stw r0, 0x1c(r5) +lbl_803206DC: +/* 803206DC 0031D63C 38 A5 00 20 */ addi r5, r5, 0x20 +/* 803206E0 0031D640 38 C6 00 20 */ addi r6, r6, 0x20 +lbl_803206E4: +/* 803206E4 0031D644 7C 06 20 40 */ cmplw r6, r4 +/* 803206E8 0031D648 40 82 FF AC */ bne lbl_80320694 +/* 803206EC 0031D64C 80 1D 00 04 */ lwz r0, 4(r29) +/* 803206F0 0031D650 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 803206F4 0031D654 54 00 28 34 */ slwi r0, r0, 5 +/* 803206F8 0031D658 7C 64 1B 78 */ mr r4, r3 +/* 803206FC 0031D65C 7C 03 02 14 */ add r0, r3, r0 +/* 80320700 0031D660 48 00 00 08 */ b lbl_80320708 +lbl_80320704: +/* 80320704 0031D664 38 84 00 20 */ addi r4, r4, 0x20 +lbl_80320708: +/* 80320708 0031D668 7C 04 00 40 */ cmplw r4, r0 +/* 8032070C 0031D66C 40 82 FF F8 */ bne lbl_80320704 +/* 80320710 0031D670 28 03 00 00 */ cmplwi r3, 0 +/* 80320714 0031D674 41 82 00 08 */ beq lbl_8032071C +/* 80320718 0031D678 4B FF 52 19 */ bl Free__7CMemoryFPCv +lbl_8032071C: +/* 8032071C 0031D67C 93 FD 00 0C */ stw r31, 0xc(r29) +/* 80320720 0031D680 93 DD 00 08 */ stw r30, 8(r29) +lbl_80320724: +/* 80320724 0031D684 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80320728 0031D688 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8032072C 0031D68C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80320730 0031D690 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80320734 0031D694 7C 08 03 A6 */ mtlr r0 +/* 80320738 0031D698 38 21 00 30 */ addi r1, r1, 0x30 +/* 8032073C 0031D69C 4E 80 00 20 */ blr + +.global sub_80320740 +sub_80320740: +/* 80320740 0031D6A0 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80320744 0031D6A4 7C 08 02 A6 */ mflr r0 +/* 80320748 0031D6A8 90 01 00 34 */ stw r0, 0x34(r1) +/* 8032074C 0031D6AC 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80320750 0031D6B0 7C 9F 23 78 */ mr r31, r4 +/* 80320754 0031D6B4 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80320758 0031D6B8 7C 7E 1B 78 */ mr r30, r3 +/* 8032075C 0031D6BC 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80320760 0031D6C0 80 03 00 08 */ lwz r0, 8(r3) +/* 80320764 0031D6C4 7C 1F 00 00 */ cmpw r31, r0 +/* 80320768 0031D6C8 40 81 00 A8 */ ble lbl_80320810 +/* 8032076C 0031D6CC 57 E3 10 3B */ rlwinm. r3, r31, 2, 0, 0x1d +/* 80320770 0031D6D0 40 82 00 0C */ bne lbl_8032077C +/* 80320774 0031D6D4 3B A0 00 00 */ li r29, 0 +/* 80320778 0031D6D8 48 00 00 18 */ b lbl_80320790 +lbl_8032077C: +/* 8032077C 0031D6DC 3C 80 80 3D */ lis r4, lbl_803D7910@ha +/* 80320780 0031D6E0 38 A0 00 00 */ li r5, 0 +/* 80320784 0031D6E4 38 84 79 10 */ addi r4, r4, lbl_803D7910@l +/* 80320788 0031D6E8 4B FF 50 91 */ bl __nwa__FUlPCcPCc +/* 8032078C 0031D6EC 7C 7D 1B 78 */ mr r29, r3 +lbl_80320790: +/* 80320790 0031D6F0 80 1E 00 04 */ lwz r0, 4(r30) +/* 80320794 0031D6F4 7F A4 EB 78 */ mr r4, r29 +/* 80320798 0031D6F8 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 8032079C 0031D6FC 54 00 10 3A */ slwi r0, r0, 2 +/* 803207A0 0031D700 7C 65 02 14 */ add r3, r5, r0 +/* 803207A4 0031D704 90 A1 00 10 */ stw r5, 0x10(r1) +/* 803207A8 0031D708 90 61 00 08 */ stw r3, 8(r1) +/* 803207AC 0031D70C 90 61 00 0C */ stw r3, 0xc(r1) +/* 803207B0 0031D710 90 A1 00 14 */ stw r5, 0x14(r1) +/* 803207B4 0031D714 48 00 00 1C */ b lbl_803207D0 +lbl_803207B8: +/* 803207B8 0031D718 28 04 00 00 */ cmplwi r4, 0 +/* 803207BC 0031D71C 41 82 00 0C */ beq lbl_803207C8 +/* 803207C0 0031D720 80 05 00 00 */ lwz r0, 0(r5) +/* 803207C4 0031D724 90 04 00 00 */ stw r0, 0(r4) +lbl_803207C8: +/* 803207C8 0031D728 38 84 00 04 */ addi r4, r4, 4 +/* 803207CC 0031D72C 38 A5 00 04 */ addi r5, r5, 4 +lbl_803207D0: +/* 803207D0 0031D730 7C 05 18 40 */ cmplw r5, r3 +/* 803207D4 0031D734 40 82 FF E4 */ bne lbl_803207B8 +/* 803207D8 0031D738 80 1E 00 04 */ lwz r0, 4(r30) +/* 803207DC 0031D73C 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 803207E0 0031D740 54 00 10 3A */ slwi r0, r0, 2 +/* 803207E4 0031D744 7C 64 1B 78 */ mr r4, r3 +/* 803207E8 0031D748 7C 03 02 14 */ add r0, r3, r0 +/* 803207EC 0031D74C 48 00 00 08 */ b lbl_803207F4 +lbl_803207F0: +/* 803207F0 0031D750 38 84 00 04 */ addi r4, r4, 4 +lbl_803207F4: +/* 803207F4 0031D754 7C 04 00 40 */ cmplw r4, r0 +/* 803207F8 0031D758 40 82 FF F8 */ bne lbl_803207F0 +/* 803207FC 0031D75C 28 03 00 00 */ cmplwi r3, 0 +/* 80320800 0031D760 41 82 00 08 */ beq lbl_80320808 +/* 80320804 0031D764 4B FF 51 2D */ bl Free__7CMemoryFPCv +lbl_80320808: +/* 80320808 0031D768 93 BE 00 0C */ stw r29, 0xc(r30) +/* 8032080C 0031D76C 93 FE 00 08 */ stw r31, 8(r30) +lbl_80320810: +/* 80320810 0031D770 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80320814 0031D774 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80320818 0031D778 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8032081C 0031D77C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80320820 0031D780 7C 08 03 A6 */ mtlr r0 +/* 80320824 0031D784 38 21 00 30 */ addi r1, r1, 0x30 +/* 80320828 0031D788 4E 80 00 20 */ blr + +.global sub_8032082c +sub_8032082c: +/* 8032082C 0031D78C 38 A3 00 10 */ addi r5, r3, 0x10 +/* 80320830 0031D790 38 04 00 0F */ addi r0, r4, 0xf +/* 80320834 0031D794 7C 05 00 50 */ subf r0, r5, r0 +/* 80320838 0031D798 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8032083C 0031D79C 54 00 E1 3E */ srwi r0, r0, 4 +/* 80320840 0031D7A0 7C 09 03 A6 */ mtctr r0 +/* 80320844 0031D7A4 7C 05 20 40 */ cmplw r5, r4 +/* 80320848 0031D7A8 40 80 00 94 */ bge lbl_803208DC +lbl_8032084C: +/* 8032084C 0031D7AC A0 05 00 00 */ lhz r0, 0(r5) +/* 80320850 0031D7B0 7C A7 2B 78 */ mr r7, r5 +/* 80320854 0031D7B4 C0 45 00 04 */ lfs f2, 4(r5) +/* 80320858 0031D7B8 38 C5 FF F0 */ addi r6, r5, -16 +/* 8032085C 0031D7BC C0 25 00 08 */ lfs f1, 8(r5) +/* 80320860 0031D7C0 C0 05 00 0C */ lfs f0, 0xc(r5) +/* 80320864 0031D7C4 B0 01 00 08 */ sth r0, 8(r1) +/* 80320868 0031D7C8 D0 41 00 0C */ stfs f2, 0xc(r1) +/* 8032086C 0031D7CC D0 21 00 10 */ stfs f1, 0x10(r1) +/* 80320870 0031D7D0 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80320874 0031D7D4 48 00 00 2C */ b lbl_803208A0 +lbl_80320878: +/* 80320878 0031D7D8 A0 06 00 00 */ lhz r0, 0(r6) +/* 8032087C 0031D7DC B0 07 00 00 */ sth r0, 0(r7) +/* 80320880 0031D7E0 80 86 00 04 */ lwz r4, 4(r6) +/* 80320884 0031D7E4 80 06 00 08 */ lwz r0, 8(r6) +/* 80320888 0031D7E8 90 87 00 04 */ stw r4, 4(r7) +/* 8032088C 0031D7EC 90 07 00 08 */ stw r0, 8(r7) +/* 80320890 0031D7F0 80 06 00 0C */ lwz r0, 0xc(r6) +/* 80320894 0031D7F4 38 C6 FF F0 */ addi r6, r6, -16 +/* 80320898 0031D7F8 90 07 00 0C */ stw r0, 0xc(r7) +/* 8032089C 0031D7FC 38 E7 FF F0 */ addi r7, r7, -16 +lbl_803208A0: +/* 803208A0 0031D800 7C 03 38 40 */ cmplw r3, r7 +/* 803208A4 0031D804 40 80 00 10 */ bge lbl_803208B4 +/* 803208A8 0031D808 C0 06 00 08 */ lfs f0, 8(r6) +/* 803208AC 0031D80C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 803208B0 0031D810 41 81 FF C8 */ bgt lbl_80320878 +lbl_803208B4: +/* 803208B4 0031D814 A0 81 00 08 */ lhz r4, 8(r1) +/* 803208B8 0031D818 38 A5 00 10 */ addi r5, r5, 0x10 +/* 803208BC 0031D81C 80 01 00 0C */ lwz r0, 0xc(r1) +/* 803208C0 0031D820 B0 87 00 00 */ sth r4, 0(r7) +/* 803208C4 0031D824 80 81 00 10 */ lwz r4, 0x10(r1) +/* 803208C8 0031D828 90 07 00 04 */ stw r0, 4(r7) +/* 803208CC 0031D82C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803208D0 0031D830 90 87 00 08 */ stw r4, 8(r7) +/* 803208D4 0031D834 90 07 00 0C */ stw r0, 0xc(r7) +/* 803208D8 0031D838 42 00 FF 74 */ bdnz lbl_8032084C +lbl_803208DC: +/* 803208DC 0031D83C 38 21 00 20 */ addi r1, r1, 0x20 +/* 803208E0 0031D840 4E 80 00 20 */ blr + +.global sub_803208e4 +sub_803208e4: +/* 803208E4 0031D844 38 A3 00 10 */ addi r5, r3, 0x10 +/* 803208E8 0031D848 38 04 00 0F */ addi r0, r4, 0xf +/* 803208EC 0031D84C 7C 05 00 50 */ subf r0, r5, r0 +/* 803208F0 0031D850 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803208F4 0031D854 54 00 E1 3E */ srwi r0, r0, 4 +/* 803208F8 0031D858 7C 09 03 A6 */ mtctr r0 +/* 803208FC 0031D85C 7C 05 20 40 */ cmplw r5, r4 +/* 80320900 0031D860 40 80 00 AC */ bge lbl_803209AC +lbl_80320904: +/* 80320904 0031D864 A0 85 00 00 */ lhz r4, 0(r5) +/* 80320908 0031D868 7C A7 2B 78 */ mr r7, r5 +/* 8032090C 0031D86C A0 05 00 02 */ lhz r0, 2(r5) +/* 80320910 0031D870 38 C5 FF F0 */ addi r6, r5, -16 +/* 80320914 0031D874 C0 45 00 04 */ lfs f2, 4(r5) +/* 80320918 0031D878 C0 25 00 08 */ lfs f1, 8(r5) +/* 8032091C 0031D87C C0 05 00 0C */ lfs f0, 0xc(r5) +/* 80320920 0031D880 B0 81 00 08 */ sth r4, 8(r1) +/* 80320924 0031D884 B0 01 00 0A */ sth r0, 0xa(r1) +/* 80320928 0031D888 D0 41 00 0C */ stfs f2, 0xc(r1) +/* 8032092C 0031D88C D0 21 00 10 */ stfs f1, 0x10(r1) +/* 80320930 0031D890 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80320934 0031D894 48 00 00 34 */ b lbl_80320968 +lbl_80320938: +/* 80320938 0031D898 A0 06 00 00 */ lhz r0, 0(r6) +/* 8032093C 0031D89C B0 07 00 00 */ sth r0, 0(r7) +/* 80320940 0031D8A0 A0 06 00 02 */ lhz r0, 2(r6) +/* 80320944 0031D8A4 B0 07 00 02 */ sth r0, 2(r7) +/* 80320948 0031D8A8 80 86 00 04 */ lwz r4, 4(r6) +/* 8032094C 0031D8AC 80 06 00 08 */ lwz r0, 8(r6) +/* 80320950 0031D8B0 90 87 00 04 */ stw r4, 4(r7) +/* 80320954 0031D8B4 90 07 00 08 */ stw r0, 8(r7) +/* 80320958 0031D8B8 80 06 00 0C */ lwz r0, 0xc(r6) +/* 8032095C 0031D8BC 38 C6 FF F0 */ addi r6, r6, -16 +/* 80320960 0031D8C0 90 07 00 0C */ stw r0, 0xc(r7) +/* 80320964 0031D8C4 38 E7 FF F0 */ addi r7, r7, -16 +lbl_80320968: +/* 80320968 0031D8C8 7C 03 38 40 */ cmplw r3, r7 +/* 8032096C 0031D8CC 40 80 00 10 */ bge lbl_8032097C +/* 80320970 0031D8D0 C0 06 00 08 */ lfs f0, 8(r6) +/* 80320974 0031D8D4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80320978 0031D8D8 41 81 FF C0 */ bgt lbl_80320938 +lbl_8032097C: +/* 8032097C 0031D8DC A0 01 00 08 */ lhz r0, 8(r1) +/* 80320980 0031D8E0 38 A5 00 10 */ addi r5, r5, 0x10 +/* 80320984 0031D8E4 A0 81 00 0A */ lhz r4, 0xa(r1) +/* 80320988 0031D8E8 B0 07 00 00 */ sth r0, 0(r7) +/* 8032098C 0031D8EC 80 01 00 0C */ lwz r0, 0xc(r1) +/* 80320990 0031D8F0 B0 87 00 02 */ sth r4, 2(r7) +/* 80320994 0031D8F4 80 81 00 10 */ lwz r4, 0x10(r1) +/* 80320998 0031D8F8 90 07 00 04 */ stw r0, 4(r7) +/* 8032099C 0031D8FC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803209A0 0031D900 90 87 00 08 */ stw r4, 8(r7) +/* 803209A4 0031D904 90 07 00 0C */ stw r0, 0xc(r7) +/* 803209A8 0031D908 42 00 FF 5C */ bdnz lbl_80320904 +lbl_803209AC: +/* 803209AC 0031D90C 38 21 00 20 */ addi r1, r1, 0x20 +/* 803209B0 0031D910 4E 80 00 20 */ blr + +.global sub_803209b4 +sub_803209b4: +/* 803209B4 0031D914 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 803209B8 0031D918 C0 04 00 08 */ lfs f0, 8(r4) +/* 803209BC 0031D91C C0 43 00 08 */ lfs f2, 8(r3) +/* 803209C0 0031D920 FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 803209C4 0031D924 40 81 00 0C */ ble lbl_803209D0 +/* 803209C8 0031D928 38 00 00 01 */ li r0, 1 +/* 803209CC 0031D92C 48 00 00 08 */ b lbl_803209D4 +lbl_803209D0: +/* 803209D0 0031D930 38 00 00 00 */ li r0, 0 +lbl_803209D4: +/* 803209D4 0031D934 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 803209D8 0031D938 41 82 00 70 */ beq lbl_80320A48 +/* 803209DC 0031D93C A1 43 00 00 */ lhz r10, 0(r3) +/* 803209E0 0031D940 A1 23 00 02 */ lhz r9, 2(r3) +/* 803209E4 0031D944 C0 23 00 04 */ lfs f1, 4(r3) +/* 803209E8 0031D948 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 803209EC 0031D94C A0 04 00 00 */ lhz r0, 0(r4) +/* 803209F0 0031D950 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 803209F4 0031D954 B0 03 00 00 */ sth r0, 0(r3) +/* 803209F8 0031D958 80 E1 00 0C */ lwz r7, 0xc(r1) +/* 803209FC 0031D95C A0 04 00 02 */ lhz r0, 2(r4) +/* 80320A00 0031D960 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 80320A04 0031D964 B0 03 00 02 */ sth r0, 2(r3) +/* 80320A08 0031D968 80 C1 00 10 */ lwz r6, 0x10(r1) +/* 80320A0C 0031D96C 80 04 00 04 */ lwz r0, 4(r4) +/* 80320A10 0031D970 81 04 00 08 */ lwz r8, 8(r4) +/* 80320A14 0031D974 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80320A18 0031D978 90 03 00 04 */ stw r0, 4(r3) +/* 80320A1C 0031D97C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80320A20 0031D980 91 03 00 08 */ stw r8, 8(r3) +/* 80320A24 0031D984 81 04 00 0C */ lwz r8, 0xc(r4) +/* 80320A28 0031D988 B1 41 00 08 */ sth r10, 8(r1) +/* 80320A2C 0031D98C 91 03 00 0C */ stw r8, 0xc(r3) +/* 80320A30 0031D990 B1 44 00 00 */ sth r10, 0(r4) +/* 80320A34 0031D994 B1 24 00 02 */ sth r9, 2(r4) +/* 80320A38 0031D998 90 E4 00 04 */ stw r7, 4(r4) +/* 80320A3C 0031D99C 90 C4 00 08 */ stw r6, 8(r4) +/* 80320A40 0031D9A0 B1 21 00 0A */ sth r9, 0xa(r1) +/* 80320A44 0031D9A4 90 04 00 0C */ stw r0, 0xc(r4) +lbl_80320A48: +/* 80320A48 0031D9A8 C0 45 00 08 */ lfs f2, 8(r5) +/* 80320A4C 0031D9AC C0 04 00 08 */ lfs f0, 8(r4) +/* 80320A50 0031D9B0 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80320A54 0031D9B4 40 81 00 0C */ ble lbl_80320A60 +/* 80320A58 0031D9B8 38 00 00 01 */ li r0, 1 +/* 80320A5C 0031D9BC 48 00 00 08 */ b lbl_80320A64 +lbl_80320A60: +/* 80320A60 0031D9C0 38 00 00 00 */ li r0, 0 +lbl_80320A64: +/* 80320A64 0031D9C4 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 80320A68 0031D9C8 41 82 00 C8 */ beq lbl_80320B30 +/* 80320A6C 0031D9CC A1 45 00 00 */ lhz r10, 0(r5) +/* 80320A70 0031D9D0 A1 25 00 02 */ lhz r9, 2(r5) +/* 80320A74 0031D9D4 C0 05 00 04 */ lfs f0, 4(r5) +/* 80320A78 0031D9D8 C0 25 00 0C */ lfs f1, 0xc(r5) +/* 80320A7C 0031D9DC A0 04 00 00 */ lhz r0, 0(r4) +/* 80320A80 0031D9E0 B1 41 00 18 */ sth r10, 0x18(r1) +/* 80320A84 0031D9E4 B0 05 00 00 */ sth r0, 0(r5) +/* 80320A88 0031D9E8 A0 04 00 02 */ lhz r0, 2(r4) +/* 80320A8C 0031D9EC B1 21 00 1A */ sth r9, 0x1a(r1) +/* 80320A90 0031D9F0 B0 05 00 02 */ sth r0, 2(r5) +/* 80320A94 0031D9F4 80 C4 00 04 */ lwz r6, 4(r4) +/* 80320A98 0031D9F8 80 04 00 08 */ lwz r0, 8(r4) +/* 80320A9C 0031D9FC D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 80320AA0 0031DA00 90 C5 00 04 */ stw r6, 4(r5) +/* 80320AA4 0031DA04 90 05 00 08 */ stw r0, 8(r5) +/* 80320AA8 0031DA08 80 04 00 0C */ lwz r0, 0xc(r4) +/* 80320AAC 0031DA0C D0 41 00 20 */ stfs f2, 0x20(r1) +/* 80320AB0 0031DA10 90 05 00 0C */ stw r0, 0xc(r5) +/* 80320AB4 0031DA14 C0 03 00 08 */ lfs f0, 8(r3) +/* 80320AB8 0031DA18 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 80320ABC 0031DA1C FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80320AC0 0031DA20 40 81 00 50 */ ble lbl_80320B10 +/* 80320AC4 0031DA24 A0 03 00 00 */ lhz r0, 0(r3) +/* 80320AC8 0031DA28 80 C1 00 1C */ lwz r6, 0x1c(r1) +/* 80320ACC 0031DA2C B0 04 00 00 */ sth r0, 0(r4) +/* 80320AD0 0031DA30 80 A1 00 20 */ lwz r5, 0x20(r1) +/* 80320AD4 0031DA34 A0 E3 00 02 */ lhz r7, 2(r3) +/* 80320AD8 0031DA38 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80320ADC 0031DA3C B0 E4 00 02 */ sth r7, 2(r4) +/* 80320AE0 0031DA40 81 03 00 04 */ lwz r8, 4(r3) +/* 80320AE4 0031DA44 80 E3 00 08 */ lwz r7, 8(r3) +/* 80320AE8 0031DA48 91 04 00 04 */ stw r8, 4(r4) +/* 80320AEC 0031DA4C 90 E4 00 08 */ stw r7, 8(r4) +/* 80320AF0 0031DA50 80 E3 00 0C */ lwz r7, 0xc(r3) +/* 80320AF4 0031DA54 90 E4 00 0C */ stw r7, 0xc(r4) +/* 80320AF8 0031DA58 B1 43 00 00 */ sth r10, 0(r3) +/* 80320AFC 0031DA5C B1 23 00 02 */ sth r9, 2(r3) +/* 80320B00 0031DA60 90 C3 00 04 */ stw r6, 4(r3) +/* 80320B04 0031DA64 90 A3 00 08 */ stw r5, 8(r3) +/* 80320B08 0031DA68 90 03 00 0C */ stw r0, 0xc(r3) +/* 80320B0C 0031DA6C 48 00 00 24 */ b lbl_80320B30 +lbl_80320B10: +/* 80320B10 0031DA70 B1 44 00 00 */ sth r10, 0(r4) +/* 80320B14 0031DA74 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 80320B18 0031DA78 B1 24 00 02 */ sth r9, 2(r4) +/* 80320B1C 0031DA7C 80 61 00 20 */ lwz r3, 0x20(r1) +/* 80320B20 0031DA80 90 04 00 04 */ stw r0, 4(r4) +/* 80320B24 0031DA84 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80320B28 0031DA88 90 64 00 08 */ stw r3, 8(r4) +/* 80320B2C 0031DA8C 90 04 00 0C */ stw r0, 0xc(r4) +lbl_80320B30: +/* 80320B30 0031DA90 38 21 00 30 */ addi r1, r1, 0x30 +/* 80320B34 0031DA94 4E 80 00 20 */ blr + +.global sub_80320b38 +sub_80320b38: +/* 80320B38 0031DA98 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80320B3C 0031DA9C C0 04 00 08 */ lfs f0, 8(r4) +/* 80320B40 0031DAA0 C0 43 00 08 */ lfs f2, 8(r3) +/* 80320B44 0031DAA4 FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 80320B48 0031DAA8 40 81 00 0C */ ble lbl_80320B54 +/* 80320B4C 0031DAAC 38 00 00 01 */ li r0, 1 +/* 80320B50 0031DAB0 48 00 00 08 */ b lbl_80320B58 +lbl_80320B54: +/* 80320B54 0031DAB4 38 00 00 00 */ li r0, 0 +lbl_80320B58: +/* 80320B58 0031DAB8 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 80320B5C 0031DABC 41 82 00 5C */ beq lbl_80320BB8 +/* 80320B60 0031DAC0 A1 03 00 00 */ lhz r8, 0(r3) +/* 80320B64 0031DAC4 C0 23 00 04 */ lfs f1, 4(r3) +/* 80320B68 0031DAC8 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 80320B6C 0031DACC A0 04 00 00 */ lhz r0, 0(r4) +/* 80320B70 0031DAD0 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 80320B74 0031DAD4 B0 03 00 00 */ sth r0, 0(r3) +/* 80320B78 0031DAD8 80 E1 00 0C */ lwz r7, 0xc(r1) +/* 80320B7C 0031DADC 80 C4 00 04 */ lwz r6, 4(r4) +/* 80320B80 0031DAE0 80 04 00 08 */ lwz r0, 8(r4) +/* 80320B84 0031DAE4 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 80320B88 0031DAE8 90 C3 00 04 */ stw r6, 4(r3) +/* 80320B8C 0031DAEC 80 C1 00 10 */ lwz r6, 0x10(r1) +/* 80320B90 0031DAF0 90 03 00 08 */ stw r0, 8(r3) +/* 80320B94 0031DAF4 80 04 00 0C */ lwz r0, 0xc(r4) +/* 80320B98 0031DAF8 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80320B9C 0031DAFC 90 03 00 0C */ stw r0, 0xc(r3) +/* 80320BA0 0031DB00 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80320BA4 0031DB04 B1 04 00 00 */ sth r8, 0(r4) +/* 80320BA8 0031DB08 90 E4 00 04 */ stw r7, 4(r4) +/* 80320BAC 0031DB0C 90 C4 00 08 */ stw r6, 8(r4) +/* 80320BB0 0031DB10 B1 01 00 08 */ sth r8, 8(r1) +/* 80320BB4 0031DB14 90 04 00 0C */ stw r0, 0xc(r4) +lbl_80320BB8: +/* 80320BB8 0031DB18 C0 45 00 08 */ lfs f2, 8(r5) +/* 80320BBC 0031DB1C C0 04 00 08 */ lfs f0, 8(r4) +/* 80320BC0 0031DB20 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80320BC4 0031DB24 40 81 00 0C */ ble lbl_80320BD0 +/* 80320BC8 0031DB28 38 00 00 01 */ li r0, 1 +/* 80320BCC 0031DB2C 48 00 00 08 */ b lbl_80320BD4 +lbl_80320BD0: +/* 80320BD0 0031DB30 38 00 00 00 */ li r0, 0 +lbl_80320BD4: +/* 80320BD4 0031DB34 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 80320BD8 0031DB38 41 82 00 A8 */ beq lbl_80320C80 +/* 80320BDC 0031DB3C A1 25 00 00 */ lhz r9, 0(r5) +/* 80320BE0 0031DB40 C0 05 00 04 */ lfs f0, 4(r5) +/* 80320BE4 0031DB44 C0 25 00 0C */ lfs f1, 0xc(r5) +/* 80320BE8 0031DB48 A0 04 00 00 */ lhz r0, 0(r4) +/* 80320BEC 0031DB4C B1 21 00 18 */ sth r9, 0x18(r1) +/* 80320BF0 0031DB50 B0 05 00 00 */ sth r0, 0(r5) +/* 80320BF4 0031DB54 80 C4 00 04 */ lwz r6, 4(r4) +/* 80320BF8 0031DB58 80 04 00 08 */ lwz r0, 8(r4) +/* 80320BFC 0031DB5C D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 80320C00 0031DB60 90 C5 00 04 */ stw r6, 4(r5) +/* 80320C04 0031DB64 90 05 00 08 */ stw r0, 8(r5) +/* 80320C08 0031DB68 80 04 00 0C */ lwz r0, 0xc(r4) +/* 80320C0C 0031DB6C D0 41 00 20 */ stfs f2, 0x20(r1) +/* 80320C10 0031DB70 90 05 00 0C */ stw r0, 0xc(r5) +/* 80320C14 0031DB74 C0 03 00 08 */ lfs f0, 8(r3) +/* 80320C18 0031DB78 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 80320C1C 0031DB7C FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80320C20 0031DB80 40 81 00 44 */ ble lbl_80320C64 +/* 80320C24 0031DB84 A0 03 00 00 */ lhz r0, 0(r3) +/* 80320C28 0031DB88 80 C1 00 1C */ lwz r6, 0x1c(r1) +/* 80320C2C 0031DB8C B0 04 00 00 */ sth r0, 0(r4) +/* 80320C30 0031DB90 80 A1 00 20 */ lwz r5, 0x20(r1) +/* 80320C34 0031DB94 81 03 00 04 */ lwz r8, 4(r3) +/* 80320C38 0031DB98 80 E3 00 08 */ lwz r7, 8(r3) +/* 80320C3C 0031DB9C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80320C40 0031DBA0 91 04 00 04 */ stw r8, 4(r4) +/* 80320C44 0031DBA4 90 E4 00 08 */ stw r7, 8(r4) +/* 80320C48 0031DBA8 80 E3 00 0C */ lwz r7, 0xc(r3) +/* 80320C4C 0031DBAC 90 E4 00 0C */ stw r7, 0xc(r4) +/* 80320C50 0031DBB0 B1 23 00 00 */ sth r9, 0(r3) +/* 80320C54 0031DBB4 90 C3 00 04 */ stw r6, 4(r3) +/* 80320C58 0031DBB8 90 A3 00 08 */ stw r5, 8(r3) +/* 80320C5C 0031DBBC 90 03 00 0C */ stw r0, 0xc(r3) +/* 80320C60 0031DBC0 48 00 00 20 */ b lbl_80320C80 +lbl_80320C64: +/* 80320C64 0031DBC4 B1 24 00 00 */ sth r9, 0(r4) +/* 80320C68 0031DBC8 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 80320C6C 0031DBCC 80 61 00 20 */ lwz r3, 0x20(r1) +/* 80320C70 0031DBD0 90 04 00 04 */ stw r0, 4(r4) +/* 80320C74 0031DBD4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80320C78 0031DBD8 90 64 00 08 */ stw r3, 8(r4) +/* 80320C7C 0031DBDC 90 04 00 0C */ stw r0, 0xc(r4) +lbl_80320C80: +/* 80320C80 0031DBE0 38 21 00 30 */ addi r1, r1, 0x30 +/* 80320C84 0031DBE4 4E 80 00 20 */ blr + +.global __dt__7CIEGEMT +__dt__7CIEGEMT: +/* 80320C88 0031DBE8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80320C8C 0031DBEC 7C 08 02 A6 */ mflr r0 +/* 80320C90 0031DBF0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80320C94 0031DBF4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80320C98 0031DBF8 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80320C9C 0031DBFC 41 82 00 44 */ beq lbl_80320CE0 +/* 80320CA0 0031DC00 3C 60 80 3F */ lis r3, lbl_803EDAF8@ha +/* 80320CA4 0031DC04 38 03 DA F8 */ addi r0, r3, lbl_803EDAF8@l +/* 80320CA8 0031DC08 90 1F 00 00 */ stw r0, 0(r31) +/* 80320CAC 0031DC0C 41 82 00 20 */ beq lbl_80320CCC +/* 80320CB0 0031DC10 3C 60 80 3F */ lis r3, lbl_803EC584@ha +/* 80320CB4 0031DC14 38 03 C5 84 */ addi r0, r3, lbl_803EC584@l +/* 80320CB8 0031DC18 90 1F 00 00 */ stw r0, 0(r31) +/* 80320CBC 0031DC1C 41 82 00 10 */ beq lbl_80320CCC +/* 80320CC0 0031DC20 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80320CC4 0031DC24 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80320CC8 0031DC28 90 1F 00 00 */ stw r0, 0(r31) +lbl_80320CCC: +/* 80320CCC 0031DC2C 7C 80 07 35 */ extsh. r0, r4 +/* 80320CD0 0031DC30 40 81 00 10 */ ble lbl_80320CE0 +/* 80320CD4 0031DC34 7F E3 FB 78 */ mr r3, r31 +/* 80320CD8 0031DC38 38 80 00 04 */ li r4, 4 +/* 80320CDC 0031DC3C 48 04 BD 89 */ bl sub_8036ca64 +lbl_80320CE0: +/* 80320CE0 0031DC40 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80320CE4 0031DC44 7F E3 FB 78 */ mr r3, r31 +/* 80320CE8 0031DC48 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80320CEC 0031DC4C 7C 08 03 A6 */ mtlr r0 +/* 80320CF0 0031DC50 38 21 00 10 */ addi r1, r1, 0x10 +/* 80320CF4 0031DC54 4E 80 00 20 */ blr + +.global GetValue__7CIEGEMTCFiRi +GetValue__7CIEGEMTCFiRi: +/* 80320CF8 0031DC58 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80320CFC 0031DC5C 7C 08 02 A6 */ mflr r0 +/* 80320D00 0031DC60 90 01 00 14 */ stw r0, 0x14(r1) +/* 80320D04 0031DC64 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80320D08 0031DC68 7C BF 2B 78 */ mr r31, r5 +/* 80320D0C 0031DC6C 80 6D A8 F4 */ lwz r3, lbl_805A94B4@sda21(r13) +/* 80320D10 0031DC70 80 63 00 04 */ lwz r3, 4(r3) +/* 80320D14 0031DC74 4B FF 6C 71 */ bl GetEmitterTime__11CElementGenFv +/* 80320D18 0031DC78 90 7F 00 00 */ stw r3, 0(r31) +/* 80320D1C 0031DC7C 38 60 00 00 */ li r3, 0 +/* 80320D20 0031DC80 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80320D24 0031DC84 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80320D28 0031DC88 7C 08 03 A6 */ mtlr r0 +/* 80320D2C 0031DC8C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80320D30 0031DC90 4E 80 00 20 */ blr + +.global GetValue__7CIEGAPCCFiRi +GetValue__7CIEGAPCCFiRi: +/* 80320D34 0031DC94 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80320D38 0031DC98 7C 08 02 A6 */ mflr r0 +/* 80320D3C 0031DC9C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80320D40 0031DCA0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80320D44 0031DCA4 7C BF 2B 78 */ mr r31, r5 +/* 80320D48 0031DCA8 80 6D A8 F4 */ lwz r3, lbl_805A94B4@sda21(r13) +/* 80320D4C 0031DCAC 80 63 00 04 */ lwz r3, 4(r3) +/* 80320D50 0031DCB0 81 83 00 00 */ lwz r12, 0(r3) +/* 80320D54 0031DCB4 81 8C 00 60 */ lwz r12, 0x60(r12) +/* 80320D58 0031DCB8 7D 89 03 A6 */ mtctr r12 +/* 80320D5C 0031DCBC 4E 80 04 21 */ bctrl +/* 80320D60 0031DCC0 90 7F 00 00 */ stw r3, 0(r31) +/* 80320D64 0031DCC4 38 60 00 00 */ li r3, 0 +/* 80320D68 0031DCC8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80320D6C 0031DCCC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80320D70 0031DCD0 7C 08 03 A6 */ mtlr r0 +/* 80320D74 0031DCD4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80320D78 0031DCD8 4E 80 00 20 */ blr + +.global GetValue__7CIEGTCPCFiRi +GetValue__7CIEGTCPCFiRi: +/* 80320D7C 0031DCDC 80 8D A8 F4 */ lwz r4, lbl_805A94B4@sda21(r13) +/* 80320D80 0031DCE0 38 60 00 00 */ li r3, 0 +/* 80320D84 0031DCE4 80 84 00 04 */ lwz r4, 4(r4) +/* 80320D88 0031DCE8 80 04 02 60 */ lwz r0, 0x260(r4) +/* 80320D8C 0031DCEC 90 05 00 00 */ stw r0, 0(r5) +/* 80320D90 0031DCF0 4E 80 00 20 */ blr + +.global GetValue__12CIERealToIntCFiRi +GetValue__12CIERealToIntCFiRi: +/* 80320D94 0031DCF4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80320D98 0031DCF8 7C 08 02 A6 */ mflr r0 +/* 80320D9C 0031DCFC C0 22 CA 50 */ lfs f1, lbl_805AE770@sda21(r2) +/* 80320DA0 0031DD00 90 01 00 34 */ stw r0, 0x34(r1) +/* 80320DA4 0031DD04 C0 02 CA 54 */ lfs f0, lbl_805AE774@sda21(r2) +/* 80320DA8 0031DD08 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80320DAC 0031DD0C 7C BF 2B 78 */ mr r31, r5 +/* 80320DB0 0031DD10 38 A1 00 08 */ addi r5, r1, 8 +/* 80320DB4 0031DD14 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80320DB8 0031DD18 7C 9E 23 78 */ mr r30, r4 +/* 80320DBC 0031DD1C 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80320DC0 0031DD20 7C 7D 1B 78 */ mr r29, r3 +/* 80320DC4 0031DD24 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 80320DC8 0031DD28 80 63 00 08 */ lwz r3, 8(r3) +/* 80320DCC 0031DD2C D0 01 00 08 */ stfs f0, 8(r1) +/* 80320DD0 0031DD30 81 83 00 00 */ lwz r12, 0(r3) +/* 80320DD4 0031DD34 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80320DD8 0031DD38 7D 89 03 A6 */ mtctr r12 +/* 80320DDC 0031DD3C 4E 80 04 21 */ bctrl +/* 80320DE0 0031DD40 80 7D 00 04 */ lwz r3, 4(r29) +/* 80320DE4 0031DD44 7F C4 F3 78 */ mr r4, r30 +/* 80320DE8 0031DD48 38 A1 00 0C */ addi r5, r1, 0xc +/* 80320DEC 0031DD4C 81 83 00 00 */ lwz r12, 0(r3) +/* 80320DF0 0031DD50 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80320DF4 0031DD54 7D 89 03 A6 */ mtctr r12 +/* 80320DF8 0031DD58 4E 80 04 21 */ bctrl +/* 80320DFC 0031DD5C C0 21 00 0C */ lfs f1, 0xc(r1) +/* 80320E00 0031DD60 38 60 00 00 */ li r3, 0 +/* 80320E04 0031DD64 C0 01 00 08 */ lfs f0, 8(r1) +/* 80320E08 0031DD68 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80320E0C 0031DD6C FC 00 00 1E */ fctiwz f0, f0 +/* 80320E10 0031DD70 D8 01 00 10 */ stfd f0, 0x10(r1) +/* 80320E14 0031DD74 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80320E18 0031DD78 90 1F 00 00 */ stw r0, 0(r31) +/* 80320E1C 0031DD7C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80320E20 0031DD80 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80320E24 0031DD84 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80320E28 0031DD88 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80320E2C 0031DD8C 7C 08 03 A6 */ mtlr r0 +/* 80320E30 0031DD90 38 21 00 30 */ addi r1, r1, 0x30 +/* 80320E34 0031DD94 4E 80 00 20 */ blr + +.global __dt__12CIERealToInt +__dt__12CIERealToInt: +/* 80320E38 0031DD98 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80320E3C 0031DD9C 7C 08 02 A6 */ mflr r0 +/* 80320E40 0031DDA0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80320E44 0031DDA4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80320E48 0031DDA8 7C 9F 23 78 */ mr r31, r4 +/* 80320E4C 0031DDAC 93 C1 00 08 */ stw r30, 8(r1) +/* 80320E50 0031DDB0 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80320E54 0031DDB4 41 82 00 88 */ beq lbl_80320EDC +/* 80320E58 0031DDB8 3C 60 80 3F */ lis r3, lbl_803EDB28@ha +/* 80320E5C 0031DDBC 38 03 DB 28 */ addi r0, r3, lbl_803EDB28@l +/* 80320E60 0031DDC0 90 1E 00 00 */ stw r0, 0(r30) +/* 80320E64 0031DDC4 80 7E 00 04 */ lwz r3, 4(r30) +/* 80320E68 0031DDC8 28 03 00 00 */ cmplwi r3, 0 +/* 80320E6C 0031DDCC 41 82 00 18 */ beq lbl_80320E84 +/* 80320E70 0031DDD0 81 83 00 00 */ lwz r12, 0(r3) +/* 80320E74 0031DDD4 38 80 00 01 */ li r4, 1 +/* 80320E78 0031DDD8 81 8C 00 08 */ lwz r12, 8(r12) +/* 80320E7C 0031DDDC 7D 89 03 A6 */ mtctr r12 +/* 80320E80 0031DDE0 4E 80 04 21 */ bctrl +lbl_80320E84: +/* 80320E84 0031DDE4 80 7E 00 08 */ lwz r3, 8(r30) +/* 80320E88 0031DDE8 28 03 00 00 */ cmplwi r3, 0 +/* 80320E8C 0031DDEC 41 82 00 18 */ beq lbl_80320EA4 +/* 80320E90 0031DDF0 81 83 00 00 */ lwz r12, 0(r3) +/* 80320E94 0031DDF4 38 80 00 01 */ li r4, 1 +/* 80320E98 0031DDF8 81 8C 00 08 */ lwz r12, 8(r12) +/* 80320E9C 0031DDFC 7D 89 03 A6 */ mtctr r12 +/* 80320EA0 0031DE00 4E 80 04 21 */ bctrl +lbl_80320EA4: +/* 80320EA4 0031DE04 28 1E 00 00 */ cmplwi r30, 0 +/* 80320EA8 0031DE08 41 82 00 20 */ beq lbl_80320EC8 +/* 80320EAC 0031DE0C 3C 60 80 3F */ lis r3, lbl_803EC584@ha +/* 80320EB0 0031DE10 38 03 C5 84 */ addi r0, r3, lbl_803EC584@l +/* 80320EB4 0031DE14 90 1E 00 00 */ stw r0, 0(r30) +/* 80320EB8 0031DE18 41 82 00 10 */ beq lbl_80320EC8 +/* 80320EBC 0031DE1C 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80320EC0 0031DE20 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80320EC4 0031DE24 90 1E 00 00 */ stw r0, 0(r30) +lbl_80320EC8: +/* 80320EC8 0031DE28 7F E0 07 35 */ extsh. r0, r31 +/* 80320ECC 0031DE2C 40 81 00 10 */ ble lbl_80320EDC +/* 80320ED0 0031DE30 7F C3 F3 78 */ mr r3, r30 +/* 80320ED4 0031DE34 38 80 00 0C */ li r4, 0xc +/* 80320ED8 0031DE38 48 04 BB 8D */ bl sub_8036ca64 +lbl_80320EDC: +/* 80320EDC 0031DE3C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80320EE0 0031DE40 7F C3 F3 78 */ mr r3, r30 +/* 80320EE4 0031DE44 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80320EE8 0031DE48 83 C1 00 08 */ lwz r30, 8(r1) +/* 80320EEC 0031DE4C 7C 08 03 A6 */ mtlr r0 +/* 80320EF0 0031DE50 38 21 00 10 */ addi r1, r1, 0x10 +/* 80320EF4 0031DE54 4E 80 00 20 */ blr + +.global __ct__12CIERealToIntFP12CRealElementP12CRealElement +__ct__12CIERealToIntFP12CRealElementP12CRealElement: +/* 80320EF8 0031DE58 3D 00 80 3F */ lis r8, lbl_803EC5A8@ha +/* 80320EFC 0031DE5C 3C E0 80 3F */ lis r7, lbl_803EC584@ha +/* 80320F00 0031DE60 38 08 C5 A8 */ addi r0, r8, lbl_803EC5A8@l +/* 80320F04 0031DE64 3C C0 80 3F */ lis r6, lbl_803EDB28@ha +/* 80320F08 0031DE68 90 03 00 00 */ stw r0, 0(r3) +/* 80320F0C 0031DE6C 38 E7 C5 84 */ addi r7, r7, lbl_803EC584@l +/* 80320F10 0031DE70 38 06 DB 28 */ addi r0, r6, lbl_803EDB28@l +/* 80320F14 0031DE74 90 E3 00 00 */ stw r7, 0(r3) +/* 80320F18 0031DE78 90 03 00 00 */ stw r0, 0(r3) +/* 80320F1C 0031DE7C 90 83 00 04 */ stw r4, 4(r3) +/* 80320F20 0031DE80 90 A3 00 08 */ stw r5, 8(r3) +/* 80320F24 0031DE84 4E 80 00 20 */ blr + +.global GetValue__11CIESubtractCFiRi +GetValue__11CIESubtractCFiRi: +/* 80320F28 0031DE88 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80320F2C 0031DE8C 7C 08 02 A6 */ mflr r0 +/* 80320F30 0031DE90 90 01 00 24 */ stw r0, 0x24(r1) +/* 80320F34 0031DE94 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80320F38 0031DE98 7C BF 2B 78 */ mr r31, r5 +/* 80320F3C 0031DE9C 38 A1 00 0C */ addi r5, r1, 0xc +/* 80320F40 0031DEA0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80320F44 0031DEA4 7C 9E 23 78 */ mr r30, r4 +/* 80320F48 0031DEA8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80320F4C 0031DEAC 7C 7D 1B 78 */ mr r29, r3 +/* 80320F50 0031DEB0 80 63 00 04 */ lwz r3, 4(r3) +/* 80320F54 0031DEB4 81 83 00 00 */ lwz r12, 0(r3) +/* 80320F58 0031DEB8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80320F5C 0031DEBC 7D 89 03 A6 */ mtctr r12 +/* 80320F60 0031DEC0 4E 80 04 21 */ bctrl +/* 80320F64 0031DEC4 80 7D 00 08 */ lwz r3, 8(r29) +/* 80320F68 0031DEC8 7F C4 F3 78 */ mr r4, r30 +/* 80320F6C 0031DECC 38 A1 00 08 */ addi r5, r1, 8 +/* 80320F70 0031DED0 81 83 00 00 */ lwz r12, 0(r3) +/* 80320F74 0031DED4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80320F78 0031DED8 7D 89 03 A6 */ mtctr r12 +/* 80320F7C 0031DEDC 4E 80 04 21 */ bctrl +/* 80320F80 0031DEE0 80 81 00 08 */ lwz r4, 8(r1) +/* 80320F84 0031DEE4 38 60 00 00 */ li r3, 0 +/* 80320F88 0031DEE8 80 01 00 0C */ lwz r0, 0xc(r1) +/* 80320F8C 0031DEEC 7C 04 00 50 */ subf r0, r4, r0 +/* 80320F90 0031DEF0 90 1F 00 00 */ stw r0, 0(r31) +/* 80320F94 0031DEF4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80320F98 0031DEF8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80320F9C 0031DEFC 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80320FA0 0031DF00 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80320FA4 0031DF04 7C 08 03 A6 */ mtlr r0 +/* 80320FA8 0031DF08 38 21 00 20 */ addi r1, r1, 0x20 +/* 80320FAC 0031DF0C 4E 80 00 20 */ blr + +.global __dt__11CIESubtract +__dt__11CIESubtract: +/* 80320FB0 0031DF10 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80320FB4 0031DF14 7C 08 02 A6 */ mflr r0 +/* 80320FB8 0031DF18 90 01 00 14 */ stw r0, 0x14(r1) +/* 80320FBC 0031DF1C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80320FC0 0031DF20 7C 9F 23 78 */ mr r31, r4 +/* 80320FC4 0031DF24 93 C1 00 08 */ stw r30, 8(r1) +/* 80320FC8 0031DF28 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80320FCC 0031DF2C 41 82 00 88 */ beq lbl_80321054 +/* 80320FD0 0031DF30 3C 60 80 3F */ lis r3, lbl_803EDB38@ha +/* 80320FD4 0031DF34 38 03 DB 38 */ addi r0, r3, lbl_803EDB38@l +/* 80320FD8 0031DF38 90 1E 00 00 */ stw r0, 0(r30) +/* 80320FDC 0031DF3C 80 7E 00 04 */ lwz r3, 4(r30) +/* 80320FE0 0031DF40 28 03 00 00 */ cmplwi r3, 0 +/* 80320FE4 0031DF44 41 82 00 18 */ beq lbl_80320FFC +/* 80320FE8 0031DF48 81 83 00 00 */ lwz r12, 0(r3) +/* 80320FEC 0031DF4C 38 80 00 01 */ li r4, 1 +/* 80320FF0 0031DF50 81 8C 00 08 */ lwz r12, 8(r12) +/* 80320FF4 0031DF54 7D 89 03 A6 */ mtctr r12 +/* 80320FF8 0031DF58 4E 80 04 21 */ bctrl +lbl_80320FFC: +/* 80320FFC 0031DF5C 80 7E 00 08 */ lwz r3, 8(r30) +/* 80321000 0031DF60 28 03 00 00 */ cmplwi r3, 0 +/* 80321004 0031DF64 41 82 00 18 */ beq lbl_8032101C +/* 80321008 0031DF68 81 83 00 00 */ lwz r12, 0(r3) +/* 8032100C 0031DF6C 38 80 00 01 */ li r4, 1 +/* 80321010 0031DF70 81 8C 00 08 */ lwz r12, 8(r12) +/* 80321014 0031DF74 7D 89 03 A6 */ mtctr r12 +/* 80321018 0031DF78 4E 80 04 21 */ bctrl +lbl_8032101C: +/* 8032101C 0031DF7C 28 1E 00 00 */ cmplwi r30, 0 +/* 80321020 0031DF80 41 82 00 20 */ beq lbl_80321040 +/* 80321024 0031DF84 3C 60 80 3F */ lis r3, lbl_803EC584@ha +/* 80321028 0031DF88 38 03 C5 84 */ addi r0, r3, lbl_803EC584@l +/* 8032102C 0031DF8C 90 1E 00 00 */ stw r0, 0(r30) +/* 80321030 0031DF90 41 82 00 10 */ beq lbl_80321040 +/* 80321034 0031DF94 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80321038 0031DF98 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 8032103C 0031DF9C 90 1E 00 00 */ stw r0, 0(r30) +lbl_80321040: +/* 80321040 0031DFA0 7F E0 07 35 */ extsh. r0, r31 +/* 80321044 0031DFA4 40 81 00 10 */ ble lbl_80321054 +/* 80321048 0031DFA8 7F C3 F3 78 */ mr r3, r30 +/* 8032104C 0031DFAC 38 80 00 0C */ li r4, 0xc +/* 80321050 0031DFB0 48 04 BA 15 */ bl sub_8036ca64 +lbl_80321054: +/* 80321054 0031DFB4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80321058 0031DFB8 7F C3 F3 78 */ mr r3, r30 +/* 8032105C 0031DFBC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80321060 0031DFC0 83 C1 00 08 */ lwz r30, 8(r1) +/* 80321064 0031DFC4 7C 08 03 A6 */ mtlr r0 +/* 80321068 0031DFC8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8032106C 0031DFCC 4E 80 00 20 */ blr + +.global __ct__11CIESubtractFP11CIntElementP11CIntElement +__ct__11CIESubtractFP11CIntElementP11CIntElement: +/* 80321070 0031DFD0 3D 00 80 3F */ lis r8, lbl_803EC5A8@ha +/* 80321074 0031DFD4 3C E0 80 3F */ lis r7, lbl_803EC584@ha +/* 80321078 0031DFD8 38 08 C5 A8 */ addi r0, r8, lbl_803EC5A8@l +/* 8032107C 0031DFDC 3C C0 80 3F */ lis r6, lbl_803EDB38@ha +/* 80321080 0031DFE0 90 03 00 00 */ stw r0, 0(r3) +/* 80321084 0031DFE4 38 E7 C5 84 */ addi r7, r7, lbl_803EC584@l +/* 80321088 0031DFE8 38 06 DB 38 */ addi r0, r6, lbl_803EDB38@l +/* 8032108C 0031DFEC 90 E3 00 00 */ stw r7, 0(r3) +/* 80321090 0031DFF0 90 03 00 00 */ stw r0, 0(r3) +/* 80321094 0031DFF4 90 83 00 04 */ stw r4, 4(r3) +/* 80321098 0031DFF8 90 A3 00 08 */ stw r5, 8(r3) +/* 8032109C 0031DFFC 4E 80 00 20 */ blr + +.global GetValue__18CIEKeyframeEmitterCFiRi +GetValue__18CIEKeyframeEmitterCFiRi: +/* 803210A0 0031E000 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 803210A4 0031E004 80 03 00 04 */ lwz r0, 4(r3) +/* 803210A8 0031E008 2C 00 00 00 */ cmpwi r0, 0 +/* 803210AC 0031E00C 40 82 00 A0 */ bne lbl_8032114C +/* 803210B0 0031E010 88 03 00 0C */ lbz r0, 0xc(r3) +/* 803210B4 0031E014 81 0D A8 D8 */ lwz r8, lbl_805A9498@sda21(r13) +/* 803210B8 0031E018 28 00 00 00 */ cmplwi r0, 0 +/* 803210BC 0031E01C 91 01 00 0C */ stw r8, 0xc(r1) +/* 803210C0 0031E020 41 82 00 50 */ beq lbl_80321110 +/* 803210C4 0031E024 80 03 00 10 */ lwz r0, 0x10(r3) +/* 803210C8 0031E028 7C 08 00 00 */ cmpw r8, r0 +/* 803210CC 0031E02C 41 80 00 2C */ blt lbl_803210F8 +/* 803210D0 0031E030 80 E3 00 14 */ lwz r7, 0x14(r3) +/* 803210D4 0031E034 7C C7 40 50 */ subf r6, r7, r8 +/* 803210D8 0031E038 7C 87 00 50 */ subf r4, r7, r0 +/* 803210DC 0031E03C 7C 06 23 D6 */ divw r0, r6, r4 +/* 803210E0 0031E040 90 C1 00 0C */ stw r6, 0xc(r1) +/* 803210E4 0031E044 7C 00 21 D6 */ mullw r0, r0, r4 +/* 803210E8 0031E048 7C 00 30 50 */ subf r0, r0, r6 +/* 803210EC 0031E04C 90 01 00 0C */ stw r0, 0xc(r1) +/* 803210F0 0031E050 7C 00 3A 14 */ add r0, r0, r7 +/* 803210F4 0031E054 90 01 00 0C */ stw r0, 0xc(r1) +lbl_803210F8: +/* 803210F8 0031E058 80 01 00 0C */ lwz r0, 0xc(r1) +/* 803210FC 0031E05C 80 63 00 24 */ lwz r3, 0x24(r3) +/* 80321100 0031E060 54 00 10 3A */ slwi r0, r0, 2 +/* 80321104 0031E064 7C 03 00 2E */ lwzx r0, r3, r0 +/* 80321108 0031E068 90 05 00 00 */ stw r0, 0(r5) +/* 8032110C 0031E06C 48 00 00 38 */ b lbl_80321144 +lbl_80321110: +/* 80321110 0031E070 80 C3 00 10 */ lwz r6, 0x10(r3) +/* 80321114 0031E074 38 81 00 0C */ addi r4, r1, 0xc +/* 80321118 0031E078 38 06 FF FF */ addi r0, r6, -1 +/* 8032111C 0031E07C 7C 00 40 00 */ cmpw r0, r8 +/* 80321120 0031E080 90 01 00 08 */ stw r0, 8(r1) +/* 80321124 0031E084 40 80 00 08 */ bge lbl_8032112C +/* 80321128 0031E088 38 81 00 08 */ addi r4, r1, 8 +lbl_8032112C: +/* 8032112C 0031E08C 80 04 00 00 */ lwz r0, 0(r4) +/* 80321130 0031E090 80 63 00 24 */ lwz r3, 0x24(r3) +/* 80321134 0031E094 90 01 00 0C */ stw r0, 0xc(r1) +/* 80321138 0031E098 54 00 10 3A */ slwi r0, r0, 2 +/* 8032113C 0031E09C 7C 03 00 2E */ lwzx r0, r3, r0 +/* 80321140 0031E0A0 90 05 00 00 */ stw r0, 0(r5) +lbl_80321144: +/* 80321144 0031E0A4 38 60 00 00 */ li r3, 0 +/* 80321148 0031E0A8 48 00 00 94 */ b lbl_803211DC +lbl_8032114C: +/* 8032114C 0031E0AC 80 8D A8 E0 */ lwz r4, lbl_805A94A0@sda21(r13) +/* 80321150 0031E0B0 2C 04 00 64 */ cmpwi r4, 0x64 +/* 80321154 0031E0B4 40 82 00 18 */ bne lbl_8032116C +/* 80321158 0031E0B8 80 63 00 24 */ lwz r3, 0x24(r3) +/* 8032115C 0031E0BC 54 80 10 3A */ slwi r0, r4, 2 +/* 80321160 0031E0C0 7C 03 00 2E */ lwzx r0, r3, r0 +/* 80321164 0031E0C4 90 05 00 00 */ stw r0, 0(r5) +/* 80321168 0031E0C8 48 00 00 70 */ b lbl_803211D8 +lbl_8032116C: +/* 8032116C 0031E0CC 38 04 00 01 */ addi r0, r4, 1 +/* 80321170 0031E0D0 80 C3 00 24 */ lwz r6, 0x24(r3) +/* 80321174 0031E0D4 54 00 10 3A */ slwi r0, r0, 2 +/* 80321178 0031E0D8 3C 60 43 30 */ lis r3, 0x4330 +/* 8032117C 0031E0DC 7C 06 00 2E */ lwzx r0, r6, r0 +/* 80321180 0031E0E0 54 84 10 3A */ slwi r4, r4, 2 +/* 80321184 0031E0E4 7C 86 20 2E */ lwzx r4, r6, r4 +/* 80321188 0031E0E8 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8032118C 0031E0EC 90 61 00 18 */ stw r3, 0x18(r1) +/* 80321190 0031E0F0 6C 84 80 00 */ xoris r4, r4, 0x8000 +/* 80321194 0031E0F4 C8 42 CA 58 */ lfd f2, lbl_805AE778@sda21(r2) +/* 80321198 0031E0F8 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8032119C 0031E0FC C0 8D A8 E8 */ lfs f4, lbl_805A94A8@sda21(r13) +/* 803211A0 0031E100 C8 01 00 18 */ lfd f0, 0x18(r1) +/* 803211A4 0031E104 90 81 00 14 */ stw r4, 0x14(r1) +/* 803211A8 0031E108 EC 00 10 28 */ fsubs f0, f0, f2 +/* 803211AC 0031E10C C0 22 CA 54 */ lfs f1, lbl_805AE774@sda21(r2) +/* 803211B0 0031E110 90 61 00 10 */ stw r3, 0x10(r1) +/* 803211B4 0031E114 EC 61 20 28 */ fsubs f3, f1, f4 +/* 803211B8 0031E118 C8 21 00 10 */ lfd f1, 0x10(r1) +/* 803211BC 0031E11C EC 04 00 32 */ fmuls f0, f4, f0 +/* 803211C0 0031E120 EC 21 10 28 */ fsubs f1, f1, f2 +/* 803211C4 0031E124 EC 03 00 7A */ fmadds f0, f3, f1, f0 +/* 803211C8 0031E128 FC 00 00 1E */ fctiwz f0, f0 +/* 803211CC 0031E12C D8 01 00 20 */ stfd f0, 0x20(r1) +/* 803211D0 0031E130 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803211D4 0031E134 90 05 00 00 */ stw r0, 0(r5) +lbl_803211D8: +/* 803211D8 0031E138 38 60 00 00 */ li r3, 0 +lbl_803211DC: +/* 803211DC 0031E13C 38 21 00 30 */ addi r1, r1, 0x30 +/* 803211E0 0031E140 4E 80 00 20 */ blr + +.global __dt__18CIEKeyframeEmitter +__dt__18CIEKeyframeEmitter: +/* 803211E4 0031E144 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803211E8 0031E148 7C 08 02 A6 */ mflr r0 +/* 803211EC 0031E14C 90 01 00 24 */ stw r0, 0x24(r1) +/* 803211F0 0031E150 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 803211F4 0031E154 7C 9F 23 78 */ mr r31, r4 +/* 803211F8 0031E158 93 C1 00 18 */ stw r30, 0x18(r1) +/* 803211FC 0031E15C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80321200 0031E160 41 82 00 90 */ beq lbl_80321290 +/* 80321204 0031E164 3C 60 80 3F */ lis r3, lbl_803EDB48@ha +/* 80321208 0031E168 34 1E 00 18 */ addic. r0, r30, 0x18 +/* 8032120C 0031E16C 38 03 DB 48 */ addi r0, r3, lbl_803EDB48@l +/* 80321210 0031E170 90 1E 00 00 */ stw r0, 0(r30) +/* 80321214 0031E174 41 82 00 44 */ beq lbl_80321258 +/* 80321218 0031E178 80 1E 00 1C */ lwz r0, 0x1c(r30) +/* 8032121C 0031E17C 80 7E 00 24 */ lwz r3, 0x24(r30) +/* 80321220 0031E180 54 00 10 3A */ slwi r0, r0, 2 +/* 80321224 0031E184 7C 03 02 14 */ add r0, r3, r0 +/* 80321228 0031E188 90 61 00 0C */ stw r3, 0xc(r1) +/* 8032122C 0031E18C 7C 64 1B 78 */ mr r4, r3 +/* 80321230 0031E190 90 01 00 14 */ stw r0, 0x14(r1) +/* 80321234 0031E194 90 01 00 10 */ stw r0, 0x10(r1) +/* 80321238 0031E198 90 61 00 08 */ stw r3, 8(r1) +/* 8032123C 0031E19C 48 00 00 08 */ b lbl_80321244 +lbl_80321240: +/* 80321240 0031E1A0 38 84 00 04 */ addi r4, r4, 4 +lbl_80321244: +/* 80321244 0031E1A4 7C 04 00 40 */ cmplw r4, r0 +/* 80321248 0031E1A8 40 82 FF F8 */ bne lbl_80321240 +/* 8032124C 0031E1AC 28 03 00 00 */ cmplwi r3, 0 +/* 80321250 0031E1B0 41 82 00 08 */ beq lbl_80321258 +/* 80321254 0031E1B4 4B FF 46 DD */ bl Free__7CMemoryFPCv +lbl_80321258: +/* 80321258 0031E1B8 28 1E 00 00 */ cmplwi r30, 0 +/* 8032125C 0031E1BC 41 82 00 20 */ beq lbl_8032127C +/* 80321260 0031E1C0 3C 60 80 3F */ lis r3, lbl_803EC584@ha +/* 80321264 0031E1C4 38 03 C5 84 */ addi r0, r3, lbl_803EC584@l +/* 80321268 0031E1C8 90 1E 00 00 */ stw r0, 0(r30) +/* 8032126C 0031E1CC 41 82 00 10 */ beq lbl_8032127C +/* 80321270 0031E1D0 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80321274 0031E1D4 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80321278 0031E1D8 90 1E 00 00 */ stw r0, 0(r30) +lbl_8032127C: +/* 8032127C 0031E1DC 7F E0 07 35 */ extsh. r0, r31 +/* 80321280 0031E1E0 40 81 00 10 */ ble lbl_80321290 +/* 80321284 0031E1E4 7F C3 F3 78 */ mr r3, r30 +/* 80321288 0031E1E8 38 80 00 28 */ li r4, 0x28 +/* 8032128C 0031E1EC 48 04 B7 D9 */ bl sub_8036ca64 +lbl_80321290: +/* 80321290 0031E1F0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80321294 0031E1F4 7F C3 F3 78 */ mr r3, r30 +/* 80321298 0031E1F8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8032129C 0031E1FC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 803212A0 0031E200 7C 08 03 A6 */ mtlr r0 +/* 803212A4 0031E204 38 21 00 20 */ addi r1, r1, 0x20 +/* 803212A8 0031E208 4E 80 00 20 */ blr + +.global __ct__18CIEKeyframeEmitterFR12CInputStream +__ct__18CIEKeyframeEmitterFR12CInputStream: +/* 803212AC 0031E20C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803212B0 0031E210 7C 08 02 A6 */ mflr r0 +/* 803212B4 0031E214 3C A0 80 3F */ lis r5, lbl_803EC584@ha +/* 803212B8 0031E218 90 01 00 24 */ stw r0, 0x24(r1) +/* 803212BC 0031E21C BF 61 00 0C */ stmw r27, 0xc(r1) +/* 803212C0 0031E220 7C 7E 1B 78 */ mr r30, r3 +/* 803212C4 0031E224 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 803212C8 0031E228 7C 9F 23 78 */ mr r31, r4 +/* 803212CC 0031E22C 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 803212D0 0031E230 7F C6 F3 78 */ mr r6, r30 +/* 803212D4 0031E234 3C 60 80 3F */ lis r3, lbl_803EDB48@ha +/* 803212D8 0031E238 90 1E 00 00 */ stw r0, 0(r30) +/* 803212DC 0031E23C 38 05 C5 84 */ addi r0, r5, lbl_803EC584@l +/* 803212E0 0031E240 90 1E 00 00 */ stw r0, 0(r30) +/* 803212E4 0031E244 38 03 DB 48 */ addi r0, r3, lbl_803EDB48@l +/* 803212E8 0031E248 7F E3 FB 78 */ mr r3, r31 +/* 803212EC 0031E24C 90 1E 00 00 */ stw r0, 0(r30) +/* 803212F0 0031E250 48 01 D9 95 */ bl ReadLong__12CInputStreamFv +/* 803212F4 0031E254 90 7E 00 04 */ stw r3, 4(r30) +/* 803212F8 0031E258 7F E3 FB 78 */ mr r3, r31 +/* 803212FC 0031E25C 48 01 D9 89 */ bl ReadLong__12CInputStreamFv +/* 80321300 0031E260 90 7E 00 08 */ stw r3, 8(r30) +/* 80321304 0031E264 7F E3 FB 78 */ mr r3, r31 +/* 80321308 0031E268 48 01 D9 D5 */ bl ReadBool__12CInputStreamFv +/* 8032130C 0031E26C 98 7E 00 0C */ stb r3, 0xc(r30) +/* 80321310 0031E270 7F E3 FB 78 */ mr r3, r31 +/* 80321314 0031E274 48 01 D9 C9 */ bl ReadBool__12CInputStreamFv +/* 80321318 0031E278 98 7E 00 0D */ stb r3, 0xd(r30) +/* 8032131C 0031E27C 7F E3 FB 78 */ mr r3, r31 +/* 80321320 0031E280 48 01 D9 65 */ bl ReadLong__12CInputStreamFv +/* 80321324 0031E284 90 7E 00 10 */ stw r3, 0x10(r30) +/* 80321328 0031E288 7F E3 FB 78 */ mr r3, r31 +/* 8032132C 0031E28C 48 01 D9 59 */ bl ReadLong__12CInputStreamFv +/* 80321330 0031E290 90 7E 00 14 */ stw r3, 0x14(r30) +/* 80321334 0031E294 38 00 00 00 */ li r0, 0 +/* 80321338 0031E298 7F E3 FB 78 */ mr r3, r31 +/* 8032133C 0031E29C 90 1E 00 1C */ stw r0, 0x1c(r30) +/* 80321340 0031E2A0 90 1E 00 20 */ stw r0, 0x20(r30) +/* 80321344 0031E2A4 90 1E 00 24 */ stw r0, 0x24(r30) +/* 80321348 0031E2A8 48 01 D9 3D */ bl ReadLong__12CInputStreamFv +/* 8032134C 0031E2AC 7C 7B 1B 78 */ mr r27, r3 +/* 80321350 0031E2B0 38 7E 00 18 */ addi r3, r30, 0x18 +/* 80321354 0031E2B4 7F 64 DB 78 */ mr r4, r27 +/* 80321358 0031E2B8 4B D3 89 51 */ bl "reserve__Q24rstl36vectorFi" +/* 8032135C 0031E2BC 3B 80 00 00 */ li r28, 0 +/* 80321360 0031E2C0 48 00 00 60 */ b lbl_803213C0 +lbl_80321364: +/* 80321364 0031E2C4 7F E3 FB 78 */ mr r3, r31 +/* 80321368 0031E2C8 48 01 D9 1D */ bl ReadLong__12CInputStreamFv +/* 8032136C 0031E2CC 80 1E 00 1C */ lwz r0, 0x1c(r30) +/* 80321370 0031E2D0 7C 7D 1B 78 */ mr r29, r3 +/* 80321374 0031E2D4 80 BE 00 20 */ lwz r5, 0x20(r30) +/* 80321378 0031E2D8 7C 00 28 00 */ cmpw r0, r5 +/* 8032137C 0031E2DC 41 80 00 1C */ blt lbl_80321398 +/* 80321380 0031E2E0 2C 05 00 00 */ cmpwi r5, 0 +/* 80321384 0031E2E4 38 7E 00 18 */ addi r3, r30, 0x18 +/* 80321388 0031E2E8 38 80 00 04 */ li r4, 4 +/* 8032138C 0031E2EC 41 82 00 08 */ beq lbl_80321394 +/* 80321390 0031E2F0 54 A4 08 3C */ slwi r4, r5, 1 +lbl_80321394: +/* 80321394 0031E2F4 4B D3 89 15 */ bl "reserve__Q24rstl36vectorFi" +lbl_80321398: +/* 80321398 0031E2F8 80 1E 00 1C */ lwz r0, 0x1c(r30) +/* 8032139C 0031E2FC 80 7E 00 24 */ lwz r3, 0x24(r30) +/* 803213A0 0031E300 54 00 10 3A */ slwi r0, r0, 2 +/* 803213A4 0031E304 7C 63 02 15 */ add. r3, r3, r0 +/* 803213A8 0031E308 41 82 00 08 */ beq lbl_803213B0 +/* 803213AC 0031E30C 93 A3 00 00 */ stw r29, 0(r3) +lbl_803213B0: +/* 803213B0 0031E310 80 7E 00 1C */ lwz r3, 0x1c(r30) +/* 803213B4 0031E314 3B 9C 00 01 */ addi r28, r28, 1 +/* 803213B8 0031E318 38 03 00 01 */ addi r0, r3, 1 +/* 803213BC 0031E31C 90 1E 00 1C */ stw r0, 0x1c(r30) +lbl_803213C0: +/* 803213C0 0031E320 7C 1C D8 00 */ cmpw r28, r27 +/* 803213C4 0031E324 41 80 FF A0 */ blt lbl_80321364 +/* 803213C8 0031E328 7F C3 F3 78 */ mr r3, r30 +/* 803213CC 0031E32C BB 61 00 0C */ lmw r27, 0xc(r1) +/* 803213D0 0031E330 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803213D4 0031E334 7C 08 03 A6 */ mtlr r0 +/* 803213D8 0031E338 38 21 00 20 */ addi r1, r1, 0x20 +/* 803213DC 0031E33C 4E 80 00 20 */ blr + +.global GetValue__18CIELifetimePercentCFiRi +GetValue__18CIELifetimePercentCFiRi: +/* 803213E0 0031E340 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 803213E4 0031E344 7C 08 02 A6 */ mflr r0 +/* 803213E8 0031E348 90 01 00 34 */ stw r0, 0x34(r1) +/* 803213EC 0031E34C 38 00 00 00 */ li r0, 0 +/* 803213F0 0031E350 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 803213F4 0031E354 7C BF 2B 78 */ mr r31, r5 +/* 803213F8 0031E358 38 A1 00 08 */ addi r5, r1, 8 +/* 803213FC 0031E35C 90 01 00 08 */ stw r0, 8(r1) +/* 80321400 0031E360 80 63 00 04 */ lwz r3, 4(r3) +/* 80321404 0031E364 81 83 00 00 */ lwz r12, 0(r3) +/* 80321408 0031E368 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8032140C 0031E36C 7D 89 03 A6 */ mtctr r12 +/* 80321410 0031E370 4E 80 04 21 */ bctrl +/* 80321414 0031E374 80 01 00 08 */ lwz r0, 8(r1) +/* 80321418 0031E378 2C 00 00 00 */ cmpwi r0, 0 +/* 8032141C 0031E37C 40 80 00 0C */ bge lbl_80321428 +/* 80321420 0031E380 38 00 00 00 */ li r0, 0 +/* 80321424 0031E384 90 01 00 08 */ stw r0, 8(r1) +lbl_80321428: +/* 80321428 0031E388 80 81 00 08 */ lwz r4, 8(r1) +/* 8032142C 0031E38C 3C 00 43 30 */ lis r0, 0x4330 +/* 80321430 0031E390 90 01 00 10 */ stw r0, 0x10(r1) +/* 80321434 0031E394 38 60 00 00 */ li r3, 0 +/* 80321438 0031E398 6C 80 80 00 */ xoris r0, r4, 0x8000 +/* 8032143C 0031E39C C8 62 CA 58 */ lfd f3, lbl_805AE778@sda21(r2) +/* 80321440 0031E3A0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80321444 0031E3A4 C0 42 CA 64 */ lfs f2, lbl_805AE784@sda21(r2) +/* 80321448 0031E3A8 C8 01 00 10 */ lfd f0, 0x10(r1) +/* 8032144C 0031E3AC C0 2D A8 D4 */ lfs f1, lbl_805A9494@sda21(r13) +/* 80321450 0031E3B0 EC 60 18 28 */ fsubs f3, f0, f3 +/* 80321454 0031E3B4 C0 02 CA 60 */ lfs f0, lbl_805AE780@sda21(r2) +/* 80321458 0031E3B8 EC 43 10 24 */ fdivs f2, f3, f2 +/* 8032145C 0031E3BC EC 02 00 7A */ fmadds f0, f2, f1, f0 +/* 80321460 0031E3C0 FC 00 00 1E */ fctiwz f0, f0 +/* 80321464 0031E3C4 D8 01 00 18 */ stfd f0, 0x18(r1) +/* 80321468 0031E3C8 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 8032146C 0031E3CC 90 1F 00 00 */ stw r0, 0(r31) +/* 80321470 0031E3D0 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80321474 0031E3D4 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80321478 0031E3D8 7C 08 03 A6 */ mtlr r0 +/* 8032147C 0031E3DC 38 21 00 30 */ addi r1, r1, 0x30 +/* 80321480 0031E3E0 4E 80 00 20 */ blr + +.global __dt__18CIELifetimePercent +__dt__18CIELifetimePercent: +/* 80321484 0031E3E4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80321488 0031E3E8 7C 08 02 A6 */ mflr r0 +/* 8032148C 0031E3EC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80321490 0031E3F0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80321494 0031E3F4 7C 9F 23 78 */ mr r31, r4 +/* 80321498 0031E3F8 93 C1 00 08 */ stw r30, 8(r1) +/* 8032149C 0031E3FC 7C 7E 1B 79 */ or. r30, r3, r3 +/* 803214A0 0031E400 41 82 00 68 */ beq lbl_80321508 +/* 803214A4 0031E404 3C 60 80 3F */ lis r3, lbl_803EDB58@ha +/* 803214A8 0031E408 38 03 DB 58 */ addi r0, r3, lbl_803EDB58@l +/* 803214AC 0031E40C 90 1E 00 00 */ stw r0, 0(r30) +/* 803214B0 0031E410 80 7E 00 04 */ lwz r3, 4(r30) +/* 803214B4 0031E414 28 03 00 00 */ cmplwi r3, 0 +/* 803214B8 0031E418 41 82 00 18 */ beq lbl_803214D0 +/* 803214BC 0031E41C 81 83 00 00 */ lwz r12, 0(r3) +/* 803214C0 0031E420 38 80 00 01 */ li r4, 1 +/* 803214C4 0031E424 81 8C 00 08 */ lwz r12, 8(r12) +/* 803214C8 0031E428 7D 89 03 A6 */ mtctr r12 +/* 803214CC 0031E42C 4E 80 04 21 */ bctrl +lbl_803214D0: +/* 803214D0 0031E430 28 1E 00 00 */ cmplwi r30, 0 +/* 803214D4 0031E434 41 82 00 20 */ beq lbl_803214F4 +/* 803214D8 0031E438 3C 60 80 3F */ lis r3, lbl_803EC584@ha +/* 803214DC 0031E43C 38 03 C5 84 */ addi r0, r3, lbl_803EC584@l +/* 803214E0 0031E440 90 1E 00 00 */ stw r0, 0(r30) +/* 803214E4 0031E444 41 82 00 10 */ beq lbl_803214F4 +/* 803214E8 0031E448 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 803214EC 0031E44C 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 803214F0 0031E450 90 1E 00 00 */ stw r0, 0(r30) +lbl_803214F4: +/* 803214F4 0031E454 7F E0 07 35 */ extsh. r0, r31 +/* 803214F8 0031E458 40 81 00 10 */ ble lbl_80321508 +/* 803214FC 0031E45C 7F C3 F3 78 */ mr r3, r30 +/* 80321500 0031E460 38 80 00 08 */ li r4, 8 +/* 80321504 0031E464 48 04 B5 61 */ bl sub_8036ca64 +lbl_80321508: +/* 80321508 0031E468 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8032150C 0031E46C 7F C3 F3 78 */ mr r3, r30 +/* 80321510 0031E470 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80321514 0031E474 83 C1 00 08 */ lwz r30, 8(r1) +/* 80321518 0031E478 7C 08 03 A6 */ mtlr r0 +/* 8032151C 0031E47C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80321520 0031E480 4E 80 00 20 */ blr + +.global __ct__18CIELifetimePercentFP11CIntElement +__ct__18CIELifetimePercentFP11CIntElement: +/* 80321524 0031E484 3C E0 80 3F */ lis r7, lbl_803EC5A8@ha +/* 80321528 0031E488 3C C0 80 3F */ lis r6, lbl_803EC584@ha +/* 8032152C 0031E48C 38 07 C5 A8 */ addi r0, r7, lbl_803EC5A8@l +/* 80321530 0031E490 3C A0 80 3F */ lis r5, lbl_803EDB58@ha +/* 80321534 0031E494 90 03 00 00 */ stw r0, 0(r3) +/* 80321538 0031E498 38 C6 C5 84 */ addi r6, r6, lbl_803EC584@l +/* 8032153C 0031E49C 38 05 DB 58 */ addi r0, r5, lbl_803EDB58@l +/* 80321540 0031E4A0 90 C3 00 00 */ stw r6, 0(r3) +/* 80321544 0031E4A4 90 03 00 00 */ stw r0, 0(r3) +/* 80321548 0031E4A8 90 83 00 04 */ stw r4, 4(r3) +/* 8032154C 0031E4AC 4E 80 00 20 */ blr + +.global GetValue__8CIEPulseCFiRi +GetValue__8CIEPulseCFiRi: +/* 80321550 0031E4B0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80321554 0031E4B4 7C 08 02 A6 */ mflr r0 +/* 80321558 0031E4B8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8032155C 0031E4BC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80321560 0031E4C0 7C BF 2B 78 */ mr r31, r5 +/* 80321564 0031E4C4 38 A1 00 0C */ addi r5, r1, 0xc +/* 80321568 0031E4C8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8032156C 0031E4CC 7C 9E 23 78 */ mr r30, r4 +/* 80321570 0031E4D0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80321574 0031E4D4 7C 7D 1B 78 */ mr r29, r3 +/* 80321578 0031E4D8 80 63 00 04 */ lwz r3, 4(r3) +/* 8032157C 0031E4DC 81 83 00 00 */ lwz r12, 0(r3) +/* 80321580 0031E4E0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80321584 0031E4E4 7D 89 03 A6 */ mtctr r12 +/* 80321588 0031E4E8 4E 80 04 21 */ bctrl +/* 8032158C 0031E4EC 80 7D 00 08 */ lwz r3, 8(r29) +/* 80321590 0031E4F0 7F C4 F3 78 */ mr r4, r30 +/* 80321594 0031E4F4 38 A1 00 08 */ addi r5, r1, 8 +/* 80321598 0031E4F8 81 83 00 00 */ lwz r12, 0(r3) +/* 8032159C 0031E4FC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803215A0 0031E500 7D 89 03 A6 */ mtctr r12 +/* 803215A4 0031E504 4E 80 04 21 */ bctrl +/* 803215A8 0031E508 80 61 00 08 */ lwz r3, 8(r1) +/* 803215AC 0031E50C 80 81 00 0C */ lwz r4, 0xc(r1) +/* 803215B0 0031E510 38 A3 00 01 */ addi r5, r3, 1 +/* 803215B4 0031E514 7C A4 2A 15 */ add. r5, r4, r5 +/* 803215B8 0031E518 40 80 00 08 */ bge lbl_803215C0 +/* 803215BC 0031E51C 38 A0 00 01 */ li r5, 1 +lbl_803215C0: +/* 803215C0 0031E520 2C 03 00 01 */ cmpwi r3, 1 +/* 803215C4 0031E524 41 80 00 58 */ blt lbl_8032161C +/* 803215C8 0031E528 7C 1E 2B D6 */ divw r0, r30, r5 +/* 803215CC 0031E52C 7C 00 29 D6 */ mullw r0, r0, r5 +/* 803215D0 0031E530 7C 00 F0 50 */ subf r0, r0, r30 +/* 803215D4 0031E534 7C 00 20 00 */ cmpw r0, r4 +/* 803215D8 0031E538 40 81 00 24 */ ble lbl_803215FC +/* 803215DC 0031E53C 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 803215E0 0031E540 7F C4 F3 78 */ mr r4, r30 +/* 803215E4 0031E544 7F E5 FB 78 */ mr r5, r31 +/* 803215E8 0031E548 81 83 00 00 */ lwz r12, 0(r3) +/* 803215EC 0031E54C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803215F0 0031E550 7D 89 03 A6 */ mtctr r12 +/* 803215F4 0031E554 4E 80 04 21 */ bctrl +/* 803215F8 0031E558 48 00 00 40 */ b lbl_80321638 +lbl_803215FC: +/* 803215FC 0031E55C 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 80321600 0031E560 7F C4 F3 78 */ mr r4, r30 +/* 80321604 0031E564 7F E5 FB 78 */ mr r5, r31 +/* 80321608 0031E568 81 83 00 00 */ lwz r12, 0(r3) +/* 8032160C 0031E56C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80321610 0031E570 7D 89 03 A6 */ mtctr r12 +/* 80321614 0031E574 4E 80 04 21 */ bctrl +/* 80321618 0031E578 48 00 00 20 */ b lbl_80321638 +lbl_8032161C: +/* 8032161C 0031E57C 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 80321620 0031E580 7F C4 F3 78 */ mr r4, r30 +/* 80321624 0031E584 7F E5 FB 78 */ mr r5, r31 +/* 80321628 0031E588 81 83 00 00 */ lwz r12, 0(r3) +/* 8032162C 0031E58C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80321630 0031E590 7D 89 03 A6 */ mtctr r12 +/* 80321634 0031E594 4E 80 04 21 */ bctrl +lbl_80321638: +/* 80321638 0031E598 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8032163C 0031E59C 38 60 00 00 */ li r3, 0 +/* 80321640 0031E5A0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80321644 0031E5A4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80321648 0031E5A8 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8032164C 0031E5AC 7C 08 03 A6 */ mtlr r0 +/* 80321650 0031E5B0 38 21 00 20 */ addi r1, r1, 0x20 +/* 80321654 0031E5B4 4E 80 00 20 */ blr + +.global __dt__8CIEPulse +__dt__8CIEPulse: +/* 80321658 0031E5B8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8032165C 0031E5BC 7C 08 02 A6 */ mflr r0 +/* 80321660 0031E5C0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80321664 0031E5C4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80321668 0031E5C8 7C 9F 23 78 */ mr r31, r4 +/* 8032166C 0031E5CC 93 C1 00 08 */ stw r30, 8(r1) +/* 80321670 0031E5D0 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80321674 0031E5D4 41 82 00 C8 */ beq lbl_8032173C +/* 80321678 0031E5D8 3C 60 80 3F */ lis r3, lbl_803EDB68@ha +/* 8032167C 0031E5DC 38 03 DB 68 */ addi r0, r3, lbl_803EDB68@l +/* 80321680 0031E5E0 90 1E 00 00 */ stw r0, 0(r30) +/* 80321684 0031E5E4 80 7E 00 04 */ lwz r3, 4(r30) +/* 80321688 0031E5E8 28 03 00 00 */ cmplwi r3, 0 +/* 8032168C 0031E5EC 41 82 00 18 */ beq lbl_803216A4 +/* 80321690 0031E5F0 81 83 00 00 */ lwz r12, 0(r3) +/* 80321694 0031E5F4 38 80 00 01 */ li r4, 1 +/* 80321698 0031E5F8 81 8C 00 08 */ lwz r12, 8(r12) +/* 8032169C 0031E5FC 7D 89 03 A6 */ mtctr r12 +/* 803216A0 0031E600 4E 80 04 21 */ bctrl +lbl_803216A4: +/* 803216A4 0031E604 80 7E 00 08 */ lwz r3, 8(r30) +/* 803216A8 0031E608 28 03 00 00 */ cmplwi r3, 0 +/* 803216AC 0031E60C 41 82 00 18 */ beq lbl_803216C4 +/* 803216B0 0031E610 81 83 00 00 */ lwz r12, 0(r3) +/* 803216B4 0031E614 38 80 00 01 */ li r4, 1 +/* 803216B8 0031E618 81 8C 00 08 */ lwz r12, 8(r12) +/* 803216BC 0031E61C 7D 89 03 A6 */ mtctr r12 +/* 803216C0 0031E620 4E 80 04 21 */ bctrl +lbl_803216C4: +/* 803216C4 0031E624 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 803216C8 0031E628 28 03 00 00 */ cmplwi r3, 0 +/* 803216CC 0031E62C 41 82 00 18 */ beq lbl_803216E4 +/* 803216D0 0031E630 81 83 00 00 */ lwz r12, 0(r3) +/* 803216D4 0031E634 38 80 00 01 */ li r4, 1 +/* 803216D8 0031E638 81 8C 00 08 */ lwz r12, 8(r12) +/* 803216DC 0031E63C 7D 89 03 A6 */ mtctr r12 +/* 803216E0 0031E640 4E 80 04 21 */ bctrl +lbl_803216E4: +/* 803216E4 0031E644 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 803216E8 0031E648 28 03 00 00 */ cmplwi r3, 0 +/* 803216EC 0031E64C 41 82 00 18 */ beq lbl_80321704 +/* 803216F0 0031E650 81 83 00 00 */ lwz r12, 0(r3) +/* 803216F4 0031E654 38 80 00 01 */ li r4, 1 +/* 803216F8 0031E658 81 8C 00 08 */ lwz r12, 8(r12) +/* 803216FC 0031E65C 7D 89 03 A6 */ mtctr r12 +/* 80321700 0031E660 4E 80 04 21 */ bctrl +lbl_80321704: +/* 80321704 0031E664 28 1E 00 00 */ cmplwi r30, 0 +/* 80321708 0031E668 41 82 00 20 */ beq lbl_80321728 +/* 8032170C 0031E66C 3C 60 80 3F */ lis r3, lbl_803EC584@ha +/* 80321710 0031E670 38 03 C5 84 */ addi r0, r3, lbl_803EC584@l +/* 80321714 0031E674 90 1E 00 00 */ stw r0, 0(r30) +/* 80321718 0031E678 41 82 00 10 */ beq lbl_80321728 +/* 8032171C 0031E67C 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80321720 0031E680 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80321724 0031E684 90 1E 00 00 */ stw r0, 0(r30) +lbl_80321728: +/* 80321728 0031E688 7F E0 07 35 */ extsh. r0, r31 +/* 8032172C 0031E68C 40 81 00 10 */ ble lbl_8032173C +/* 80321730 0031E690 7F C3 F3 78 */ mr r3, r30 +/* 80321734 0031E694 38 80 00 14 */ li r4, 0x14 +/* 80321738 0031E698 48 04 B3 2D */ bl sub_8036ca64 +lbl_8032173C: +/* 8032173C 0031E69C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80321740 0031E6A0 7F C3 F3 78 */ mr r3, r30 +/* 80321744 0031E6A4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80321748 0031E6A8 83 C1 00 08 */ lwz r30, 8(r1) +/* 8032174C 0031E6AC 7C 08 03 A6 */ mtlr r0 +/* 80321750 0031E6B0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80321754 0031E6B4 4E 80 00 20 */ blr + +.global __ct__8CIEPulseFP11CIntElementP11CIntElementP11CIntElementP11CIntElement +__ct__8CIEPulseFP11CIntElementP11CIntElementP11CIntElementP11CIntElement: +/* 80321758 0031E6B8 3D 40 80 3F */ lis r10, lbl_803EC5A8@ha +/* 8032175C 0031E6BC 3D 20 80 3F */ lis r9, lbl_803EC584@ha +/* 80321760 0031E6C0 38 0A C5 A8 */ addi r0, r10, lbl_803EC5A8@l +/* 80321764 0031E6C4 3D 00 80 3F */ lis r8, lbl_803EDB68@ha +/* 80321768 0031E6C8 90 03 00 00 */ stw r0, 0(r3) +/* 8032176C 0031E6CC 39 29 C5 84 */ addi r9, r9, lbl_803EC584@l +/* 80321770 0031E6D0 38 08 DB 68 */ addi r0, r8, lbl_803EDB68@l +/* 80321774 0031E6D4 91 23 00 00 */ stw r9, 0(r3) +/* 80321778 0031E6D8 90 03 00 00 */ stw r0, 0(r3) +/* 8032177C 0031E6DC 90 83 00 04 */ stw r4, 4(r3) +/* 80321780 0031E6E0 90 A3 00 08 */ stw r5, 8(r3) +/* 80321784 0031E6E4 90 C3 00 0C */ stw r6, 0xc(r3) +/* 80321788 0031E6E8 90 E3 00 10 */ stw r7, 0x10(r3) +/* 8032178C 0031E6EC 4E 80 00 20 */ blr + +.global GetValue__8CIEClampCFiRi +GetValue__8CIEClampCFiRi: +/* 80321790 0031E6F0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80321794 0031E6F4 7C 08 02 A6 */ mflr r0 +/* 80321798 0031E6F8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8032179C 0031E6FC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 803217A0 0031E700 7C BF 2B 78 */ mr r31, r5 +/* 803217A4 0031E704 38 A1 00 0C */ addi r5, r1, 0xc +/* 803217A8 0031E708 93 C1 00 18 */ stw r30, 0x18(r1) +/* 803217AC 0031E70C 7C 9E 23 78 */ mr r30, r4 +/* 803217B0 0031E710 93 A1 00 14 */ stw r29, 0x14(r1) +/* 803217B4 0031E714 7C 7D 1B 78 */ mr r29, r3 +/* 803217B8 0031E718 80 63 00 04 */ lwz r3, 4(r3) +/* 803217BC 0031E71C 81 83 00 00 */ lwz r12, 0(r3) +/* 803217C0 0031E720 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803217C4 0031E724 7D 89 03 A6 */ mtctr r12 +/* 803217C8 0031E728 4E 80 04 21 */ bctrl +/* 803217CC 0031E72C 80 7D 00 08 */ lwz r3, 8(r29) +/* 803217D0 0031E730 7F C4 F3 78 */ mr r4, r30 +/* 803217D4 0031E734 38 A1 00 08 */ addi r5, r1, 8 +/* 803217D8 0031E738 81 83 00 00 */ lwz r12, 0(r3) +/* 803217DC 0031E73C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803217E0 0031E740 7D 89 03 A6 */ mtctr r12 +/* 803217E4 0031E744 4E 80 04 21 */ bctrl +/* 803217E8 0031E748 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 803217EC 0031E74C 7F C4 F3 78 */ mr r4, r30 +/* 803217F0 0031E750 7F E5 FB 78 */ mr r5, r31 +/* 803217F4 0031E754 81 83 00 00 */ lwz r12, 0(r3) +/* 803217F8 0031E758 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803217FC 0031E75C 7D 89 03 A6 */ mtctr r12 +/* 80321800 0031E760 4E 80 04 21 */ bctrl +/* 80321804 0031E764 80 1F 00 00 */ lwz r0, 0(r31) +/* 80321808 0031E768 80 61 00 08 */ lwz r3, 8(r1) +/* 8032180C 0031E76C 7C 00 18 00 */ cmpw r0, r3 +/* 80321810 0031E770 40 81 00 08 */ ble lbl_80321818 +/* 80321814 0031E774 90 7F 00 00 */ stw r3, 0(r31) +lbl_80321818: +/* 80321818 0031E778 80 1F 00 00 */ lwz r0, 0(r31) +/* 8032181C 0031E77C 80 61 00 0C */ lwz r3, 0xc(r1) +/* 80321820 0031E780 7C 00 18 00 */ cmpw r0, r3 +/* 80321824 0031E784 40 80 00 08 */ bge lbl_8032182C +/* 80321828 0031E788 90 7F 00 00 */ stw r3, 0(r31) +lbl_8032182C: +/* 8032182C 0031E78C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80321830 0031E790 38 60 00 00 */ li r3, 0 +/* 80321834 0031E794 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80321838 0031E798 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8032183C 0031E79C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80321840 0031E7A0 7C 08 03 A6 */ mtlr r0 +/* 80321844 0031E7A4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80321848 0031E7A8 4E 80 00 20 */ blr + +.global __dt__8CIEClamp +__dt__8CIEClamp: +/* 8032184C 0031E7AC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80321850 0031E7B0 7C 08 02 A6 */ mflr r0 +/* 80321854 0031E7B4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80321858 0031E7B8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8032185C 0031E7BC 7C 9F 23 78 */ mr r31, r4 +/* 80321860 0031E7C0 93 C1 00 08 */ stw r30, 8(r1) +/* 80321864 0031E7C4 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80321868 0031E7C8 41 82 00 A8 */ beq lbl_80321910 +/* 8032186C 0031E7CC 3C 60 80 3F */ lis r3, lbl_803EDB78@ha +/* 80321870 0031E7D0 38 03 DB 78 */ addi r0, r3, lbl_803EDB78@l +/* 80321874 0031E7D4 90 1E 00 00 */ stw r0, 0(r30) +/* 80321878 0031E7D8 80 7E 00 04 */ lwz r3, 4(r30) +/* 8032187C 0031E7DC 28 03 00 00 */ cmplwi r3, 0 +/* 80321880 0031E7E0 41 82 00 18 */ beq lbl_80321898 +/* 80321884 0031E7E4 81 83 00 00 */ lwz r12, 0(r3) +/* 80321888 0031E7E8 38 80 00 01 */ li r4, 1 +/* 8032188C 0031E7EC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80321890 0031E7F0 7D 89 03 A6 */ mtctr r12 +/* 80321894 0031E7F4 4E 80 04 21 */ bctrl +lbl_80321898: +/* 80321898 0031E7F8 80 7E 00 08 */ lwz r3, 8(r30) +/* 8032189C 0031E7FC 28 03 00 00 */ cmplwi r3, 0 +/* 803218A0 0031E800 41 82 00 18 */ beq lbl_803218B8 +/* 803218A4 0031E804 81 83 00 00 */ lwz r12, 0(r3) +/* 803218A8 0031E808 38 80 00 01 */ li r4, 1 +/* 803218AC 0031E80C 81 8C 00 08 */ lwz r12, 8(r12) +/* 803218B0 0031E810 7D 89 03 A6 */ mtctr r12 +/* 803218B4 0031E814 4E 80 04 21 */ bctrl +lbl_803218B8: +/* 803218B8 0031E818 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 803218BC 0031E81C 28 03 00 00 */ cmplwi r3, 0 +/* 803218C0 0031E820 41 82 00 18 */ beq lbl_803218D8 +/* 803218C4 0031E824 81 83 00 00 */ lwz r12, 0(r3) +/* 803218C8 0031E828 38 80 00 01 */ li r4, 1 +/* 803218CC 0031E82C 81 8C 00 08 */ lwz r12, 8(r12) +/* 803218D0 0031E830 7D 89 03 A6 */ mtctr r12 +/* 803218D4 0031E834 4E 80 04 21 */ bctrl +lbl_803218D8: +/* 803218D8 0031E838 28 1E 00 00 */ cmplwi r30, 0 +/* 803218DC 0031E83C 41 82 00 20 */ beq lbl_803218FC +/* 803218E0 0031E840 3C 60 80 3F */ lis r3, lbl_803EC584@ha +/* 803218E4 0031E844 38 03 C5 84 */ addi r0, r3, lbl_803EC584@l +/* 803218E8 0031E848 90 1E 00 00 */ stw r0, 0(r30) +/* 803218EC 0031E84C 41 82 00 10 */ beq lbl_803218FC +/* 803218F0 0031E850 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 803218F4 0031E854 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 803218F8 0031E858 90 1E 00 00 */ stw r0, 0(r30) +lbl_803218FC: +/* 803218FC 0031E85C 7F E0 07 35 */ extsh. r0, r31 +/* 80321900 0031E860 40 81 00 10 */ ble lbl_80321910 +/* 80321904 0031E864 7F C3 F3 78 */ mr r3, r30 +/* 80321908 0031E868 38 80 00 10 */ li r4, 0x10 +/* 8032190C 0031E86C 48 04 B1 59 */ bl sub_8036ca64 +lbl_80321910: +/* 80321910 0031E870 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80321914 0031E874 7F C3 F3 78 */ mr r3, r30 +/* 80321918 0031E878 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8032191C 0031E87C 83 C1 00 08 */ lwz r30, 8(r1) +/* 80321920 0031E880 7C 08 03 A6 */ mtlr r0 +/* 80321924 0031E884 38 21 00 10 */ addi r1, r1, 0x10 +/* 80321928 0031E888 4E 80 00 20 */ blr + +.global __ct__8CIEClampFP11CIntElementP11CIntElementP11CIntElement +__ct__8CIEClampFP11CIntElementP11CIntElementP11CIntElement: +/* 8032192C 0031E88C 3D 20 80 3F */ lis r9, lbl_803EC5A8@ha +/* 80321930 0031E890 3D 00 80 3F */ lis r8, lbl_803EC584@ha +/* 80321934 0031E894 38 09 C5 A8 */ addi r0, r9, lbl_803EC5A8@l +/* 80321938 0031E898 3C E0 80 3F */ lis r7, lbl_803EDB78@ha +/* 8032193C 0031E89C 90 03 00 00 */ stw r0, 0(r3) +/* 80321940 0031E8A0 39 08 C5 84 */ addi r8, r8, lbl_803EC584@l +/* 80321944 0031E8A4 38 07 DB 78 */ addi r0, r7, lbl_803EDB78@l +/* 80321948 0031E8A8 91 03 00 00 */ stw r8, 0(r3) +/* 8032194C 0031E8AC 90 03 00 00 */ stw r0, 0(r3) +/* 80321950 0031E8B0 90 83 00 04 */ stw r4, 4(r3) +/* 80321954 0031E8B4 90 A3 00 08 */ stw r5, 8(r3) +/* 80321958 0031E8B8 90 C3 00 0C */ stw r6, 0xc(r3) +/* 8032195C 0031E8BC 4E 80 00 20 */ blr + +.global GetValue__12CIETimeChainCFiRi +GetValue__12CIETimeChainCFiRi: +/* 80321960 0031E8C0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80321964 0031E8C4 7C 08 02 A6 */ mflr r0 +/* 80321968 0031E8C8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8032196C 0031E8CC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80321970 0031E8D0 7C BF 2B 78 */ mr r31, r5 +/* 80321974 0031E8D4 38 A1 00 08 */ addi r5, r1, 8 +/* 80321978 0031E8D8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8032197C 0031E8DC 7C 9E 23 78 */ mr r30, r4 +/* 80321980 0031E8E0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80321984 0031E8E4 7C 7D 1B 78 */ mr r29, r3 +/* 80321988 0031E8E8 80 63 00 0C */ lwz r3, 0xc(r3) +/* 8032198C 0031E8EC 81 83 00 00 */ lwz r12, 0(r3) +/* 80321990 0031E8F0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80321994 0031E8F4 7D 89 03 A6 */ mtctr r12 +/* 80321998 0031E8F8 4E 80 04 21 */ bctrl +/* 8032199C 0031E8FC 80 01 00 08 */ lwz r0, 8(r1) +/* 803219A0 0031E900 7C 1E 00 00 */ cmpw r30, r0 +/* 803219A4 0031E904 40 80 00 24 */ bge lbl_803219C8 +/* 803219A8 0031E908 80 7D 00 04 */ lwz r3, 4(r29) +/* 803219AC 0031E90C 7F C4 F3 78 */ mr r4, r30 +/* 803219B0 0031E910 7F E5 FB 78 */ mr r5, r31 +/* 803219B4 0031E914 81 83 00 00 */ lwz r12, 0(r3) +/* 803219B8 0031E918 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803219BC 0031E91C 7D 89 03 A6 */ mtctr r12 +/* 803219C0 0031E920 4E 80 04 21 */ bctrl +/* 803219C4 0031E924 48 00 00 20 */ b lbl_803219E4 +lbl_803219C8: +/* 803219C8 0031E928 80 7D 00 08 */ lwz r3, 8(r29) +/* 803219CC 0031E92C 7F E5 FB 78 */ mr r5, r31 +/* 803219D0 0031E930 7C 80 F0 50 */ subf r4, r0, r30 +/* 803219D4 0031E934 81 83 00 00 */ lwz r12, 0(r3) +/* 803219D8 0031E938 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803219DC 0031E93C 7D 89 03 A6 */ mtctr r12 +/* 803219E0 0031E940 4E 80 04 21 */ bctrl +lbl_803219E4: +/* 803219E4 0031E944 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803219E8 0031E948 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803219EC 0031E94C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 803219F0 0031E950 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 803219F4 0031E954 7C 08 03 A6 */ mtlr r0 +/* 803219F8 0031E958 38 21 00 20 */ addi r1, r1, 0x20 +/* 803219FC 0031E95C 4E 80 00 20 */ blr + +.global __dt__12CIETimeChain +__dt__12CIETimeChain: +/* 80321A00 0031E960 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80321A04 0031E964 7C 08 02 A6 */ mflr r0 +/* 80321A08 0031E968 90 01 00 14 */ stw r0, 0x14(r1) +/* 80321A0C 0031E96C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80321A10 0031E970 7C 9F 23 78 */ mr r31, r4 +/* 80321A14 0031E974 93 C1 00 08 */ stw r30, 8(r1) +/* 80321A18 0031E978 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80321A1C 0031E97C 41 82 00 A8 */ beq lbl_80321AC4 +/* 80321A20 0031E980 3C 60 80 3F */ lis r3, lbl_803EDB88@ha +/* 80321A24 0031E984 38 03 DB 88 */ addi r0, r3, lbl_803EDB88@l +/* 80321A28 0031E988 90 1E 00 00 */ stw r0, 0(r30) +/* 80321A2C 0031E98C 80 7E 00 04 */ lwz r3, 4(r30) +/* 80321A30 0031E990 28 03 00 00 */ cmplwi r3, 0 +/* 80321A34 0031E994 41 82 00 18 */ beq lbl_80321A4C +/* 80321A38 0031E998 81 83 00 00 */ lwz r12, 0(r3) +/* 80321A3C 0031E99C 38 80 00 01 */ li r4, 1 +/* 80321A40 0031E9A0 81 8C 00 08 */ lwz r12, 8(r12) +/* 80321A44 0031E9A4 7D 89 03 A6 */ mtctr r12 +/* 80321A48 0031E9A8 4E 80 04 21 */ bctrl +lbl_80321A4C: +/* 80321A4C 0031E9AC 80 7E 00 08 */ lwz r3, 8(r30) +/* 80321A50 0031E9B0 28 03 00 00 */ cmplwi r3, 0 +/* 80321A54 0031E9B4 41 82 00 18 */ beq lbl_80321A6C +/* 80321A58 0031E9B8 81 83 00 00 */ lwz r12, 0(r3) +/* 80321A5C 0031E9BC 38 80 00 01 */ li r4, 1 +/* 80321A60 0031E9C0 81 8C 00 08 */ lwz r12, 8(r12) +/* 80321A64 0031E9C4 7D 89 03 A6 */ mtctr r12 +/* 80321A68 0031E9C8 4E 80 04 21 */ bctrl +lbl_80321A6C: +/* 80321A6C 0031E9CC 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80321A70 0031E9D0 28 03 00 00 */ cmplwi r3, 0 +/* 80321A74 0031E9D4 41 82 00 18 */ beq lbl_80321A8C +/* 80321A78 0031E9D8 81 83 00 00 */ lwz r12, 0(r3) +/* 80321A7C 0031E9DC 38 80 00 01 */ li r4, 1 +/* 80321A80 0031E9E0 81 8C 00 08 */ lwz r12, 8(r12) +/* 80321A84 0031E9E4 7D 89 03 A6 */ mtctr r12 +/* 80321A88 0031E9E8 4E 80 04 21 */ bctrl +lbl_80321A8C: +/* 80321A8C 0031E9EC 28 1E 00 00 */ cmplwi r30, 0 +/* 80321A90 0031E9F0 41 82 00 20 */ beq lbl_80321AB0 +/* 80321A94 0031E9F4 3C 60 80 3F */ lis r3, lbl_803EC584@ha +/* 80321A98 0031E9F8 38 03 C5 84 */ addi r0, r3, lbl_803EC584@l +/* 80321A9C 0031E9FC 90 1E 00 00 */ stw r0, 0(r30) +/* 80321AA0 0031EA00 41 82 00 10 */ beq lbl_80321AB0 +/* 80321AA4 0031EA04 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80321AA8 0031EA08 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80321AAC 0031EA0C 90 1E 00 00 */ stw r0, 0(r30) +lbl_80321AB0: +/* 80321AB0 0031EA10 7F E0 07 35 */ extsh. r0, r31 +/* 80321AB4 0031EA14 40 81 00 10 */ ble lbl_80321AC4 +/* 80321AB8 0031EA18 7F C3 F3 78 */ mr r3, r30 +/* 80321ABC 0031EA1C 38 80 00 10 */ li r4, 0x10 +/* 80321AC0 0031EA20 48 04 AF A5 */ bl sub_8036ca64 +lbl_80321AC4: +/* 80321AC4 0031EA24 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80321AC8 0031EA28 7F C3 F3 78 */ mr r3, r30 +/* 80321ACC 0031EA2C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80321AD0 0031EA30 83 C1 00 08 */ lwz r30, 8(r1) +/* 80321AD4 0031EA34 7C 08 03 A6 */ mtlr r0 +/* 80321AD8 0031EA38 38 21 00 10 */ addi r1, r1, 0x10 +/* 80321ADC 0031EA3C 4E 80 00 20 */ blr + +.global __ct__12CIETimeChainFP11CIntElementP11CIntElementP11CIntElement +__ct__12CIETimeChainFP11CIntElementP11CIntElementP11CIntElement: +/* 80321AE0 0031EA40 3D 20 80 3F */ lis r9, lbl_803EC5A8@ha +/* 80321AE4 0031EA44 3D 00 80 3F */ lis r8, lbl_803EC584@ha +/* 80321AE8 0031EA48 38 09 C5 A8 */ addi r0, r9, lbl_803EC5A8@l +/* 80321AEC 0031EA4C 3C E0 80 3F */ lis r7, lbl_803EDB88@ha +/* 80321AF0 0031EA50 90 03 00 00 */ stw r0, 0(r3) +/* 80321AF4 0031EA54 39 08 C5 84 */ addi r8, r8, lbl_803EC584@l +/* 80321AF8 0031EA58 38 07 DB 88 */ addi r0, r7, lbl_803EDB88@l +/* 80321AFC 0031EA5C 91 03 00 00 */ stw r8, 0(r3) +/* 80321B00 0031EA60 90 03 00 00 */ stw r0, 0(r3) +/* 80321B04 0031EA64 90 83 00 04 */ stw r4, 4(r3) +/* 80321B08 0031EA68 90 A3 00 08 */ stw r5, 8(r3) +/* 80321B0C 0031EA6C 90 C3 00 0C */ stw r6, 0xc(r3) +/* 80321B10 0031EA70 4E 80 00 20 */ blr + +.global GetValue__16CIEInitialRandomCFiRi +GetValue__16CIEInitialRandomCFiRi: +/* 80321B14 0031EA74 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80321B18 0031EA78 7C 08 02 A6 */ mflr r0 +/* 80321B1C 0031EA7C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80321B20 0031EA80 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80321B24 0031EA84 7C BF 2B 78 */ mr r31, r5 +/* 80321B28 0031EA88 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80321B2C 0031EA8C 7C 9E 23 79 */ or. r30, r4, r4 +/* 80321B30 0031EA90 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80321B34 0031EA94 7C 7D 1B 78 */ mr r29, r3 +/* 80321B38 0031EA98 40 82 00 4C */ bne lbl_80321B84 +/* 80321B3C 0031EA9C 80 7D 00 04 */ lwz r3, 4(r29) +/* 80321B40 0031EAA0 38 A1 00 0C */ addi r5, r1, 0xc +/* 80321B44 0031EAA4 81 83 00 00 */ lwz r12, 0(r3) +/* 80321B48 0031EAA8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80321B4C 0031EAAC 7D 89 03 A6 */ mtctr r12 +/* 80321B50 0031EAB0 4E 80 04 21 */ bctrl +/* 80321B54 0031EAB4 80 7D 00 08 */ lwz r3, 8(r29) +/* 80321B58 0031EAB8 7F C4 F3 78 */ mr r4, r30 +/* 80321B5C 0031EABC 38 A1 00 08 */ addi r5, r1, 8 +/* 80321B60 0031EAC0 81 83 00 00 */ lwz r12, 0(r3) +/* 80321B64 0031EAC4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80321B68 0031EAC8 7D 89 03 A6 */ mtctr r12 +/* 80321B6C 0031EACC 4E 80 04 21 */ bctrl +/* 80321B70 0031EAD0 4B FF 0A 8D */ bl GetRandomNumber__9CRandom16Fv +/* 80321B74 0031EAD4 80 81 00 0C */ lwz r4, 0xc(r1) +/* 80321B78 0031EAD8 80 A1 00 08 */ lwz r5, 8(r1) +/* 80321B7C 0031EADC 4B FF 0A 19 */ bl Range__9CRandom16Fii +/* 80321B80 0031EAE0 90 7F 00 00 */ stw r3, 0(r31) +lbl_80321B84: +/* 80321B84 0031EAE4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80321B88 0031EAE8 38 60 00 00 */ li r3, 0 +/* 80321B8C 0031EAEC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80321B90 0031EAF0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80321B94 0031EAF4 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80321B98 0031EAF8 7C 08 03 A6 */ mtlr r0 +/* 80321B9C 0031EAFC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80321BA0 0031EB00 4E 80 00 20 */ blr + +.global __dt__16CIEInitialRandom +__dt__16CIEInitialRandom: +/* 80321BA4 0031EB04 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80321BA8 0031EB08 7C 08 02 A6 */ mflr r0 +/* 80321BAC 0031EB0C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80321BB0 0031EB10 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80321BB4 0031EB14 7C 9F 23 78 */ mr r31, r4 +/* 80321BB8 0031EB18 93 C1 00 08 */ stw r30, 8(r1) +/* 80321BBC 0031EB1C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80321BC0 0031EB20 41 82 00 88 */ beq lbl_80321C48 +/* 80321BC4 0031EB24 3C 60 80 3F */ lis r3, lbl_803EDB98@ha +/* 80321BC8 0031EB28 38 03 DB 98 */ addi r0, r3, lbl_803EDB98@l +/* 80321BCC 0031EB2C 90 1E 00 00 */ stw r0, 0(r30) +/* 80321BD0 0031EB30 80 7E 00 04 */ lwz r3, 4(r30) +/* 80321BD4 0031EB34 28 03 00 00 */ cmplwi r3, 0 +/* 80321BD8 0031EB38 41 82 00 18 */ beq lbl_80321BF0 +/* 80321BDC 0031EB3C 81 83 00 00 */ lwz r12, 0(r3) +/* 80321BE0 0031EB40 38 80 00 01 */ li r4, 1 +/* 80321BE4 0031EB44 81 8C 00 08 */ lwz r12, 8(r12) +/* 80321BE8 0031EB48 7D 89 03 A6 */ mtctr r12 +/* 80321BEC 0031EB4C 4E 80 04 21 */ bctrl +lbl_80321BF0: +/* 80321BF0 0031EB50 80 7E 00 08 */ lwz r3, 8(r30) +/* 80321BF4 0031EB54 28 03 00 00 */ cmplwi r3, 0 +/* 80321BF8 0031EB58 41 82 00 18 */ beq lbl_80321C10 +/* 80321BFC 0031EB5C 81 83 00 00 */ lwz r12, 0(r3) +/* 80321C00 0031EB60 38 80 00 01 */ li r4, 1 +/* 80321C04 0031EB64 81 8C 00 08 */ lwz r12, 8(r12) +/* 80321C08 0031EB68 7D 89 03 A6 */ mtctr r12 +/* 80321C0C 0031EB6C 4E 80 04 21 */ bctrl +lbl_80321C10: +/* 80321C10 0031EB70 28 1E 00 00 */ cmplwi r30, 0 +/* 80321C14 0031EB74 41 82 00 20 */ beq lbl_80321C34 +/* 80321C18 0031EB78 3C 60 80 3F */ lis r3, lbl_803EC584@ha +/* 80321C1C 0031EB7C 38 03 C5 84 */ addi r0, r3, lbl_803EC584@l +/* 80321C20 0031EB80 90 1E 00 00 */ stw r0, 0(r30) +/* 80321C24 0031EB84 41 82 00 10 */ beq lbl_80321C34 +/* 80321C28 0031EB88 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80321C2C 0031EB8C 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80321C30 0031EB90 90 1E 00 00 */ stw r0, 0(r30) +lbl_80321C34: +/* 80321C34 0031EB94 7F E0 07 35 */ extsh. r0, r31 +/* 80321C38 0031EB98 40 81 00 10 */ ble lbl_80321C48 +/* 80321C3C 0031EB9C 7F C3 F3 78 */ mr r3, r30 +/* 80321C40 0031EBA0 38 80 00 0C */ li r4, 0xc +/* 80321C44 0031EBA4 48 04 AE 21 */ bl sub_8036ca64 +lbl_80321C48: +/* 80321C48 0031EBA8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80321C4C 0031EBAC 7F C3 F3 78 */ mr r3, r30 +/* 80321C50 0031EBB0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80321C54 0031EBB4 83 C1 00 08 */ lwz r30, 8(r1) +/* 80321C58 0031EBB8 7C 08 03 A6 */ mtlr r0 +/* 80321C5C 0031EBBC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80321C60 0031EBC0 4E 80 00 20 */ blr + +.global __ct__16CIEInitialRandomFP11CIntElementP11CIntElement +__ct__16CIEInitialRandomFP11CIntElementP11CIntElement: +/* 80321C64 0031EBC4 3D 00 80 3F */ lis r8, lbl_803EC5A8@ha +/* 80321C68 0031EBC8 3C E0 80 3F */ lis r7, lbl_803EC584@ha +/* 80321C6C 0031EBCC 38 08 C5 A8 */ addi r0, r8, lbl_803EC5A8@l +/* 80321C70 0031EBD0 3C C0 80 3F */ lis r6, lbl_803EDB98@ha +/* 80321C74 0031EBD4 90 03 00 00 */ stw r0, 0(r3) +/* 80321C78 0031EBD8 38 E7 C5 84 */ addi r7, r7, lbl_803EC584@l +/* 80321C7C 0031EBDC 38 06 DB 98 */ addi r0, r6, lbl_803EDB98@l +/* 80321C80 0031EBE0 90 E3 00 00 */ stw r7, 0(r3) +/* 80321C84 0031EBE4 90 03 00 00 */ stw r0, 0(r3) +/* 80321C88 0031EBE8 90 83 00 04 */ stw r4, 4(r3) +/* 80321C8C 0031EBEC 90 A3 00 08 */ stw r5, 8(r3) +/* 80321C90 0031EBF0 4E 80 00 20 */ blr + +.global GetValue__12CIETimescaleCFiRi +GetValue__12CIETimescaleCFiRi: +/* 80321C94 0031EBF4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80321C98 0031EBF8 7C 08 02 A6 */ mflr r0 +/* 80321C9C 0031EBFC 90 01 00 34 */ stw r0, 0x34(r1) +/* 80321CA0 0031EC00 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80321CA4 0031EC04 7C BF 2B 78 */ mr r31, r5 +/* 80321CA8 0031EC08 38 A1 00 08 */ addi r5, r1, 8 +/* 80321CAC 0031EC0C 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80321CB0 0031EC10 7C 9E 23 78 */ mr r30, r4 +/* 80321CB4 0031EC14 80 63 00 04 */ lwz r3, 4(r3) +/* 80321CB8 0031EC18 81 83 00 00 */ lwz r12, 0(r3) +/* 80321CBC 0031EC1C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80321CC0 0031EC20 7D 89 03 A6 */ mtctr r12 +/* 80321CC4 0031EC24 4E 80 04 21 */ bctrl +/* 80321CC8 0031EC28 6F C3 80 00 */ xoris r3, r30, 0x8000 +/* 80321CCC 0031EC2C 3C 00 43 30 */ lis r0, 0x4330 +/* 80321CD0 0031EC30 90 61 00 14 */ stw r3, 0x14(r1) +/* 80321CD4 0031EC34 38 60 00 00 */ li r3, 0 +/* 80321CD8 0031EC38 C8 42 CA 58 */ lfd f2, lbl_805AE778@sda21(r2) +/* 80321CDC 0031EC3C 90 01 00 10 */ stw r0, 0x10(r1) +/* 80321CE0 0031EC40 C0 01 00 08 */ lfs f0, 8(r1) +/* 80321CE4 0031EC44 C8 21 00 10 */ lfd f1, 0x10(r1) +/* 80321CE8 0031EC48 EC 21 10 28 */ fsubs f1, f1, f2 +/* 80321CEC 0031EC4C EC 01 00 32 */ fmuls f0, f1, f0 +/* 80321CF0 0031EC50 FC 00 00 1E */ fctiwz f0, f0 +/* 80321CF4 0031EC54 D8 01 00 18 */ stfd f0, 0x18(r1) +/* 80321CF8 0031EC58 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 80321CFC 0031EC5C 90 1F 00 00 */ stw r0, 0(r31) +/* 80321D00 0031EC60 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80321D04 0031EC64 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80321D08 0031EC68 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80321D0C 0031EC6C 7C 08 03 A6 */ mtlr r0 +/* 80321D10 0031EC70 38 21 00 30 */ addi r1, r1, 0x30 +/* 80321D14 0031EC74 4E 80 00 20 */ blr + +.global __dt__12CIETimeScale +__dt__12CIETimeScale: +/* 80321D18 0031EC78 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80321D1C 0031EC7C 7C 08 02 A6 */ mflr r0 +/* 80321D20 0031EC80 90 01 00 14 */ stw r0, 0x14(r1) +/* 80321D24 0031EC84 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80321D28 0031EC88 7C 9F 23 78 */ mr r31, r4 +/* 80321D2C 0031EC8C 93 C1 00 08 */ stw r30, 8(r1) +/* 80321D30 0031EC90 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80321D34 0031EC94 41 82 00 68 */ beq lbl_80321D9C +/* 80321D38 0031EC98 3C 60 80 3F */ lis r3, lbl_803EDBA8@ha +/* 80321D3C 0031EC9C 38 03 DB A8 */ addi r0, r3, lbl_803EDBA8@l +/* 80321D40 0031ECA0 90 1E 00 00 */ stw r0, 0(r30) +/* 80321D44 0031ECA4 80 7E 00 04 */ lwz r3, 4(r30) +/* 80321D48 0031ECA8 28 03 00 00 */ cmplwi r3, 0 +/* 80321D4C 0031ECAC 41 82 00 18 */ beq lbl_80321D64 +/* 80321D50 0031ECB0 81 83 00 00 */ lwz r12, 0(r3) +/* 80321D54 0031ECB4 38 80 00 01 */ li r4, 1 +/* 80321D58 0031ECB8 81 8C 00 08 */ lwz r12, 8(r12) +/* 80321D5C 0031ECBC 7D 89 03 A6 */ mtctr r12 +/* 80321D60 0031ECC0 4E 80 04 21 */ bctrl +lbl_80321D64: +/* 80321D64 0031ECC4 28 1E 00 00 */ cmplwi r30, 0 +/* 80321D68 0031ECC8 41 82 00 20 */ beq lbl_80321D88 +/* 80321D6C 0031ECCC 3C 60 80 3F */ lis r3, lbl_803EC584@ha +/* 80321D70 0031ECD0 38 03 C5 84 */ addi r0, r3, lbl_803EC584@l +/* 80321D74 0031ECD4 90 1E 00 00 */ stw r0, 0(r30) +/* 80321D78 0031ECD8 41 82 00 10 */ beq lbl_80321D88 +/* 80321D7C 0031ECDC 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80321D80 0031ECE0 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80321D84 0031ECE4 90 1E 00 00 */ stw r0, 0(r30) +lbl_80321D88: +/* 80321D88 0031ECE8 7F E0 07 35 */ extsh. r0, r31 +/* 80321D8C 0031ECEC 40 81 00 10 */ ble lbl_80321D9C +/* 80321D90 0031ECF0 7F C3 F3 78 */ mr r3, r30 +/* 80321D94 0031ECF4 38 80 00 08 */ li r4, 8 +/* 80321D98 0031ECF8 48 04 AC CD */ bl sub_8036ca64 +lbl_80321D9C: +/* 80321D9C 0031ECFC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80321DA0 0031ED00 7F C3 F3 78 */ mr r3, r30 +/* 80321DA4 0031ED04 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80321DA8 0031ED08 83 C1 00 08 */ lwz r30, 8(r1) +/* 80321DAC 0031ED0C 7C 08 03 A6 */ mtlr r0 +/* 80321DB0 0031ED10 38 21 00 10 */ addi r1, r1, 0x10 +/* 80321DB4 0031ED14 4E 80 00 20 */ blr + +.global __ct__12CIETimescaleFP12CRealElement +__ct__12CIETimescaleFP12CRealElement: +/* 80321DB8 0031ED18 3C E0 80 3F */ lis r7, lbl_803EC5A8@ha +/* 80321DBC 0031ED1C 3C C0 80 3F */ lis r6, lbl_803EC584@ha +/* 80321DC0 0031ED20 38 07 C5 A8 */ addi r0, r7, lbl_803EC5A8@l +/* 80321DC4 0031ED24 3C A0 80 3F */ lis r5, lbl_803EDBA8@ha +/* 80321DC8 0031ED28 90 03 00 00 */ stw r0, 0(r3) +/* 80321DCC 0031ED2C 38 C6 C5 84 */ addi r6, r6, lbl_803EC584@l +/* 80321DD0 0031ED30 38 05 DB A8 */ addi r0, r5, lbl_803EDBA8@l +/* 80321DD4 0031ED34 90 C3 00 00 */ stw r6, 0(r3) +/* 80321DD8 0031ED38 90 03 00 00 */ stw r0, 0(r3) +/* 80321DDC 0031ED3C 90 83 00 04 */ stw r4, 4(r3) +/* 80321DE0 0031ED40 4E 80 00 20 */ blr + +.global GetValue__10CIEImpulseCFiRi +GetValue__10CIEImpulseCFiRi: +/* 80321DE4 0031ED44 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80321DE8 0031ED48 7C 08 02 A6 */ mflr r0 +/* 80321DEC 0031ED4C 2C 04 00 00 */ cmpwi r4, 0 +/* 80321DF0 0031ED50 90 01 00 14 */ stw r0, 0x14(r1) +/* 80321DF4 0031ED54 40 82 00 1C */ bne lbl_80321E10 +/* 80321DF8 0031ED58 80 63 00 04 */ lwz r3, 4(r3) +/* 80321DFC 0031ED5C 81 83 00 00 */ lwz r12, 0(r3) +/* 80321E00 0031ED60 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80321E04 0031ED64 7D 89 03 A6 */ mtctr r12 +/* 80321E08 0031ED68 4E 80 04 21 */ bctrl +/* 80321E0C 0031ED6C 48 00 00 0C */ b lbl_80321E18 +lbl_80321E10: +/* 80321E10 0031ED70 38 00 00 00 */ li r0, 0 +/* 80321E14 0031ED74 90 05 00 00 */ stw r0, 0(r5) +lbl_80321E18: +/* 80321E18 0031ED78 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80321E1C 0031ED7C 38 60 00 00 */ li r3, 0 +/* 80321E20 0031ED80 7C 08 03 A6 */ mtlr r0 +/* 80321E24 0031ED84 38 21 00 10 */ addi r1, r1, 0x10 +/* 80321E28 0031ED88 4E 80 00 20 */ blr + +.global __dt__10CIEImpulse +__dt__10CIEImpulse: +/* 80321E2C 0031ED8C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80321E30 0031ED90 7C 08 02 A6 */ mflr r0 +/* 80321E34 0031ED94 90 01 00 14 */ stw r0, 0x14(r1) +/* 80321E38 0031ED98 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80321E3C 0031ED9C 7C 9F 23 78 */ mr r31, r4 +/* 80321E40 0031EDA0 93 C1 00 08 */ stw r30, 8(r1) +/* 80321E44 0031EDA4 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80321E48 0031EDA8 41 82 00 68 */ beq lbl_80321EB0 +/* 80321E4C 0031EDAC 3C 60 80 3F */ lis r3, lbl_803EDBB8@ha +/* 80321E50 0031EDB0 38 03 DB B8 */ addi r0, r3, lbl_803EDBB8@l +/* 80321E54 0031EDB4 90 1E 00 00 */ stw r0, 0(r30) +/* 80321E58 0031EDB8 80 7E 00 04 */ lwz r3, 4(r30) +/* 80321E5C 0031EDBC 28 03 00 00 */ cmplwi r3, 0 +/* 80321E60 0031EDC0 41 82 00 18 */ beq lbl_80321E78 +/* 80321E64 0031EDC4 81 83 00 00 */ lwz r12, 0(r3) +/* 80321E68 0031EDC8 38 80 00 01 */ li r4, 1 +/* 80321E6C 0031EDCC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80321E70 0031EDD0 7D 89 03 A6 */ mtctr r12 +/* 80321E74 0031EDD4 4E 80 04 21 */ bctrl +lbl_80321E78: +/* 80321E78 0031EDD8 28 1E 00 00 */ cmplwi r30, 0 +/* 80321E7C 0031EDDC 41 82 00 20 */ beq lbl_80321E9C +/* 80321E80 0031EDE0 3C 60 80 3F */ lis r3, lbl_803EC584@ha +/* 80321E84 0031EDE4 38 03 C5 84 */ addi r0, r3, lbl_803EC584@l +/* 80321E88 0031EDE8 90 1E 00 00 */ stw r0, 0(r30) +/* 80321E8C 0031EDEC 41 82 00 10 */ beq lbl_80321E9C +/* 80321E90 0031EDF0 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80321E94 0031EDF4 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80321E98 0031EDF8 90 1E 00 00 */ stw r0, 0(r30) +lbl_80321E9C: +/* 80321E9C 0031EDFC 7F E0 07 35 */ extsh. r0, r31 +/* 80321EA0 0031EE00 40 81 00 10 */ ble lbl_80321EB0 +/* 80321EA4 0031EE04 7F C3 F3 78 */ mr r3, r30 +/* 80321EA8 0031EE08 38 80 00 08 */ li r4, 8 +/* 80321EAC 0031EE0C 48 04 AB B9 */ bl sub_8036ca64 +lbl_80321EB0: +/* 80321EB0 0031EE10 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80321EB4 0031EE14 7F C3 F3 78 */ mr r3, r30 +/* 80321EB8 0031EE18 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80321EBC 0031EE1C 83 C1 00 08 */ lwz r30, 8(r1) +/* 80321EC0 0031EE20 7C 08 03 A6 */ mtlr r0 +/* 80321EC4 0031EE24 38 21 00 10 */ addi r1, r1, 0x10 +/* 80321EC8 0031EE28 4E 80 00 20 */ blr + +.global __ct__10CIEImpulseFP11CIntElement +__ct__10CIEImpulseFP11CIntElement: +/* 80321ECC 0031EE2C 3C E0 80 3F */ lis r7, lbl_803EC5A8@ha +/* 80321ED0 0031EE30 3C C0 80 3F */ lis r6, lbl_803EC584@ha +/* 80321ED4 0031EE34 38 07 C5 A8 */ addi r0, r7, lbl_803EC5A8@l +/* 80321ED8 0031EE38 3C A0 80 3F */ lis r5, lbl_803EDBB8@ha +/* 80321EDC 0031EE3C 90 03 00 00 */ stw r0, 0(r3) +/* 80321EE0 0031EE40 38 C6 C5 84 */ addi r6, r6, lbl_803EC584@l +/* 80321EE4 0031EE44 38 05 DB B8 */ addi r0, r5, lbl_803EDBB8@l +/* 80321EE8 0031EE48 90 C3 00 00 */ stw r6, 0(r3) +/* 80321EEC 0031EE4C 90 03 00 00 */ stw r0, 0(r3) +/* 80321EF0 0031EE50 90 83 00 04 */ stw r4, 4(r3) +/* 80321EF4 0031EE54 4E 80 00 20 */ blr + +.global GetValue__16CIESampleAndHoldCFiRi +GetValue__16CIESampleAndHoldCFiRi: +/* 80321EF8 0031EE58 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80321EFC 0031EE5C 7C 08 02 A6 */ mflr r0 +/* 80321F00 0031EE60 90 01 00 24 */ stw r0, 0x24(r1) +/* 80321F04 0031EE64 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80321F08 0031EE68 7C BF 2B 78 */ mr r31, r5 +/* 80321F0C 0031EE6C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80321F10 0031EE70 7C 9E 23 78 */ mr r30, r4 +/* 80321F14 0031EE74 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80321F18 0031EE78 7C 7D 1B 78 */ mr r29, r3 +/* 80321F1C 0031EE7C 80 03 00 08 */ lwz r0, 8(r3) +/* 80321F20 0031EE80 7C 00 F0 00 */ cmpw r0, r30 +/* 80321F24 0031EE84 40 80 00 78 */ bge lbl_80321F9C +/* 80321F28 0031EE88 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 80321F2C 0031EE8C 38 A1 00 0C */ addi r5, r1, 0xc +/* 80321F30 0031EE90 81 83 00 00 */ lwz r12, 0(r3) +/* 80321F34 0031EE94 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80321F38 0031EE98 7D 89 03 A6 */ mtctr r12 +/* 80321F3C 0031EE9C 4E 80 04 21 */ bctrl +/* 80321F40 0031EEA0 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 80321F44 0031EEA4 7F C4 F3 78 */ mr r4, r30 +/* 80321F48 0031EEA8 38 A1 00 08 */ addi r5, r1, 8 +/* 80321F4C 0031EEAC 81 83 00 00 */ lwz r12, 0(r3) +/* 80321F50 0031EEB0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80321F54 0031EEB4 7D 89 03 A6 */ mtctr r12 +/* 80321F58 0031EEB8 4E 80 04 21 */ bctrl +/* 80321F5C 0031EEBC 4B FF 06 A1 */ bl GetRandomNumber__9CRandom16Fv +/* 80321F60 0031EEC0 80 81 00 0C */ lwz r4, 0xc(r1) +/* 80321F64 0031EEC4 80 A1 00 08 */ lwz r5, 8(r1) +/* 80321F68 0031EEC8 4B FF 06 2D */ bl Range__9CRandom16Fii +/* 80321F6C 0031EECC 7C 1E 1A 14 */ add r0, r30, r3 +/* 80321F70 0031EED0 7F C4 F3 78 */ mr r4, r30 +/* 80321F74 0031EED4 90 1D 00 08 */ stw r0, 8(r29) +/* 80321F78 0031EED8 7F E5 FB 78 */ mr r5, r31 +/* 80321F7C 0031EEDC 80 7D 00 04 */ lwz r3, 4(r29) +/* 80321F80 0031EEE0 81 83 00 00 */ lwz r12, 0(r3) +/* 80321F84 0031EEE4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80321F88 0031EEE8 7D 89 03 A6 */ mtctr r12 +/* 80321F8C 0031EEEC 4E 80 04 21 */ bctrl +/* 80321F90 0031EEF0 80 1F 00 00 */ lwz r0, 0(r31) +/* 80321F94 0031EEF4 90 1D 00 14 */ stw r0, 0x14(r29) +/* 80321F98 0031EEF8 48 00 00 10 */ b lbl_80321FA8 +lbl_80321F9C: +/* 80321F9C 0031EEFC 80 1D 00 14 */ lwz r0, 0x14(r29) +/* 80321FA0 0031EF00 38 60 00 00 */ li r3, 0 +/* 80321FA4 0031EF04 90 1F 00 00 */ stw r0, 0(r31) +lbl_80321FA8: +/* 80321FA8 0031EF08 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80321FAC 0031EF0C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80321FB0 0031EF10 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80321FB4 0031EF14 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80321FB8 0031EF18 7C 08 03 A6 */ mtlr r0 +/* 80321FBC 0031EF1C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80321FC0 0031EF20 4E 80 00 20 */ blr + +.global __dt__16CIESampleAndHold +__dt__16CIESampleAndHold: +/* 80321FC4 0031EF24 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80321FC8 0031EF28 7C 08 02 A6 */ mflr r0 +/* 80321FCC 0031EF2C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80321FD0 0031EF30 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80321FD4 0031EF34 7C 9F 23 78 */ mr r31, r4 +/* 80321FD8 0031EF38 93 C1 00 08 */ stw r30, 8(r1) +/* 80321FDC 0031EF3C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80321FE0 0031EF40 41 82 00 A8 */ beq lbl_80322088 +/* 80321FE4 0031EF44 3C 60 80 3F */ lis r3, lbl_803EDBC8@ha +/* 80321FE8 0031EF48 38 03 DB C8 */ addi r0, r3, lbl_803EDBC8@l +/* 80321FEC 0031EF4C 90 1E 00 00 */ stw r0, 0(r30) +/* 80321FF0 0031EF50 80 7E 00 04 */ lwz r3, 4(r30) +/* 80321FF4 0031EF54 28 03 00 00 */ cmplwi r3, 0 +/* 80321FF8 0031EF58 41 82 00 18 */ beq lbl_80322010 +/* 80321FFC 0031EF5C 81 83 00 00 */ lwz r12, 0(r3) +/* 80322000 0031EF60 38 80 00 01 */ li r4, 1 +/* 80322004 0031EF64 81 8C 00 08 */ lwz r12, 8(r12) +/* 80322008 0031EF68 7D 89 03 A6 */ mtctr r12 +/* 8032200C 0031EF6C 4E 80 04 21 */ bctrl +lbl_80322010: +/* 80322010 0031EF70 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80322014 0031EF74 28 03 00 00 */ cmplwi r3, 0 +/* 80322018 0031EF78 41 82 00 18 */ beq lbl_80322030 +/* 8032201C 0031EF7C 81 83 00 00 */ lwz r12, 0(r3) +/* 80322020 0031EF80 38 80 00 01 */ li r4, 1 +/* 80322024 0031EF84 81 8C 00 08 */ lwz r12, 8(r12) +/* 80322028 0031EF88 7D 89 03 A6 */ mtctr r12 +/* 8032202C 0031EF8C 4E 80 04 21 */ bctrl +lbl_80322030: +/* 80322030 0031EF90 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 80322034 0031EF94 28 03 00 00 */ cmplwi r3, 0 +/* 80322038 0031EF98 41 82 00 18 */ beq lbl_80322050 +/* 8032203C 0031EF9C 81 83 00 00 */ lwz r12, 0(r3) +/* 80322040 0031EFA0 38 80 00 01 */ li r4, 1 +/* 80322044 0031EFA4 81 8C 00 08 */ lwz r12, 8(r12) +/* 80322048 0031EFA8 7D 89 03 A6 */ mtctr r12 +/* 8032204C 0031EFAC 4E 80 04 21 */ bctrl +lbl_80322050: +/* 80322050 0031EFB0 28 1E 00 00 */ cmplwi r30, 0 +/* 80322054 0031EFB4 41 82 00 20 */ beq lbl_80322074 +/* 80322058 0031EFB8 3C 60 80 3F */ lis r3, lbl_803EC584@ha +/* 8032205C 0031EFBC 38 03 C5 84 */ addi r0, r3, lbl_803EC584@l +/* 80322060 0031EFC0 90 1E 00 00 */ stw r0, 0(r30) +/* 80322064 0031EFC4 41 82 00 10 */ beq lbl_80322074 +/* 80322068 0031EFC8 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 8032206C 0031EFCC 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80322070 0031EFD0 90 1E 00 00 */ stw r0, 0(r30) +lbl_80322074: +/* 80322074 0031EFD4 7F E0 07 35 */ extsh. r0, r31 +/* 80322078 0031EFD8 40 81 00 10 */ ble lbl_80322088 +/* 8032207C 0031EFDC 7F C3 F3 78 */ mr r3, r30 +/* 80322080 0031EFE0 38 80 00 18 */ li r4, 0x18 +/* 80322084 0031EFE4 48 04 A9 E1 */ bl sub_8036ca64 +lbl_80322088: +/* 80322088 0031EFE8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8032208C 0031EFEC 7F C3 F3 78 */ mr r3, r30 +/* 80322090 0031EFF0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80322094 0031EFF4 83 C1 00 08 */ lwz r30, 8(r1) +/* 80322098 0031EFF8 7C 08 03 A6 */ mtlr r0 +/* 8032209C 0031EFFC 38 21 00 10 */ addi r1, r1, 0x10 +/* 803220A0 0031F000 4E 80 00 20 */ blr + +.global __ct__16CIESampleAndHoldFP11CIntElementP11CIntElementP11CIntElement +__ct__16CIESampleAndHoldFP11CIntElementP11CIntElementP11CIntElement: +/* 803220A4 0031F004 3D 20 80 3F */ lis r9, lbl_803EC5A8@ha +/* 803220A8 0031F008 3D 00 80 3F */ lis r8, lbl_803EC584@ha +/* 803220AC 0031F00C 38 09 C5 A8 */ addi r0, r9, lbl_803EC5A8@l +/* 803220B0 0031F010 3C E0 80 3F */ lis r7, lbl_803EDBC8@ha +/* 803220B4 0031F014 90 03 00 00 */ stw r0, 0(r3) +/* 803220B8 0031F018 39 08 C5 84 */ addi r8, r8, lbl_803EC584@l +/* 803220BC 0031F01C 38 E7 DB C8 */ addi r7, r7, lbl_803EDBC8@l +/* 803220C0 0031F020 38 00 00 00 */ li r0, 0 +/* 803220C4 0031F024 91 03 00 00 */ stw r8, 0(r3) +/* 803220C8 0031F028 90 E3 00 00 */ stw r7, 0(r3) +/* 803220CC 0031F02C 90 83 00 04 */ stw r4, 4(r3) +/* 803220D0 0031F030 90 03 00 08 */ stw r0, 8(r3) +/* 803220D4 0031F034 90 A3 00 0C */ stw r5, 0xc(r3) +/* 803220D8 0031F038 90 C3 00 10 */ stw r6, 0x10(r3) +/* 803220DC 0031F03C 4E 80 00 20 */ blr + +.global GetValue__9CIERandomCFiRi +GetValue__9CIERandomCFiRi: +/* 803220E0 0031F040 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803220E4 0031F044 7C 08 02 A6 */ mflr r0 +/* 803220E8 0031F048 90 01 00 24 */ stw r0, 0x24(r1) +/* 803220EC 0031F04C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 803220F0 0031F050 7C 9F 23 78 */ mr r31, r4 +/* 803220F4 0031F054 93 C1 00 18 */ stw r30, 0x18(r1) +/* 803220F8 0031F058 7C BE 2B 78 */ mr r30, r5 +/* 803220FC 0031F05C 38 A1 00 0C */ addi r5, r1, 0xc +/* 80322100 0031F060 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80322104 0031F064 7C 7D 1B 78 */ mr r29, r3 +/* 80322108 0031F068 80 63 00 04 */ lwz r3, 4(r3) +/* 8032210C 0031F06C 81 83 00 00 */ lwz r12, 0(r3) +/* 80322110 0031F070 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80322114 0031F074 7D 89 03 A6 */ mtctr r12 +/* 80322118 0031F078 4E 80 04 21 */ bctrl +/* 8032211C 0031F07C 80 7D 00 08 */ lwz r3, 8(r29) +/* 80322120 0031F080 7F E4 FB 78 */ mr r4, r31 +/* 80322124 0031F084 38 A1 00 08 */ addi r5, r1, 8 +/* 80322128 0031F088 81 83 00 00 */ lwz r12, 0(r3) +/* 8032212C 0031F08C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80322130 0031F090 7D 89 03 A6 */ mtctr r12 +/* 80322134 0031F094 4E 80 04 21 */ bctrl +/* 80322138 0031F098 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8032213C 0031F09C 2C 1F 00 00 */ cmpwi r31, 0 +/* 80322140 0031F0A0 40 81 00 1C */ ble lbl_8032215C +/* 80322144 0031F0A4 4B FF 04 B9 */ bl GetRandomNumber__9CRandom16Fv +/* 80322148 0031F0A8 80 A1 00 08 */ lwz r5, 8(r1) +/* 8032214C 0031F0AC 7F E4 FB 78 */ mr r4, r31 +/* 80322150 0031F0B0 4B FF 04 45 */ bl Range__9CRandom16Fii +/* 80322154 0031F0B4 90 7E 00 00 */ stw r3, 0(r30) +/* 80322158 0031F0B8 48 00 00 10 */ b lbl_80322168 +lbl_8032215C: +/* 8032215C 0031F0BC 4B FF 04 A1 */ bl GetRandomNumber__9CRandom16Fv +/* 80322160 0031F0C0 4B FF 03 C1 */ bl Next__9CRandom16Fv +/* 80322164 0031F0C4 90 7E 00 00 */ stw r3, 0(r30) +lbl_80322168: +/* 80322168 0031F0C8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8032216C 0031F0CC 38 60 00 00 */ li r3, 0 +/* 80322170 0031F0D0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80322174 0031F0D4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80322178 0031F0D8 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8032217C 0031F0DC 7C 08 03 A6 */ mtlr r0 +/* 80322180 0031F0E0 38 21 00 20 */ addi r1, r1, 0x20 +/* 80322184 0031F0E4 4E 80 00 20 */ blr + +.global __dt__9CIERandom +__dt__9CIERandom: +/* 80322188 0031F0E8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8032218C 0031F0EC 7C 08 02 A6 */ mflr r0 +/* 80322190 0031F0F0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80322194 0031F0F4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80322198 0031F0F8 7C 9F 23 78 */ mr r31, r4 +/* 8032219C 0031F0FC 93 C1 00 08 */ stw r30, 8(r1) +/* 803221A0 0031F100 7C 7E 1B 79 */ or. r30, r3, r3 +/* 803221A4 0031F104 41 82 00 88 */ beq lbl_8032222C +/* 803221A8 0031F108 3C 60 80 3F */ lis r3, lbl_803EDBD8@ha +/* 803221AC 0031F10C 38 03 DB D8 */ addi r0, r3, lbl_803EDBD8@l +/* 803221B0 0031F110 90 1E 00 00 */ stw r0, 0(r30) +/* 803221B4 0031F114 80 7E 00 04 */ lwz r3, 4(r30) +/* 803221B8 0031F118 28 03 00 00 */ cmplwi r3, 0 +/* 803221BC 0031F11C 41 82 00 18 */ beq lbl_803221D4 +/* 803221C0 0031F120 81 83 00 00 */ lwz r12, 0(r3) +/* 803221C4 0031F124 38 80 00 01 */ li r4, 1 +/* 803221C8 0031F128 81 8C 00 08 */ lwz r12, 8(r12) +/* 803221CC 0031F12C 7D 89 03 A6 */ mtctr r12 +/* 803221D0 0031F130 4E 80 04 21 */ bctrl +lbl_803221D4: +/* 803221D4 0031F134 80 7E 00 08 */ lwz r3, 8(r30) +/* 803221D8 0031F138 28 03 00 00 */ cmplwi r3, 0 +/* 803221DC 0031F13C 41 82 00 18 */ beq lbl_803221F4 +/* 803221E0 0031F140 81 83 00 00 */ lwz r12, 0(r3) +/* 803221E4 0031F144 38 80 00 01 */ li r4, 1 +/* 803221E8 0031F148 81 8C 00 08 */ lwz r12, 8(r12) +/* 803221EC 0031F14C 7D 89 03 A6 */ mtctr r12 +/* 803221F0 0031F150 4E 80 04 21 */ bctrl +lbl_803221F4: +/* 803221F4 0031F154 28 1E 00 00 */ cmplwi r30, 0 +/* 803221F8 0031F158 41 82 00 20 */ beq lbl_80322218 +/* 803221FC 0031F15C 3C 60 80 3F */ lis r3, lbl_803EC584@ha +/* 80322200 0031F160 38 03 C5 84 */ addi r0, r3, lbl_803EC584@l +/* 80322204 0031F164 90 1E 00 00 */ stw r0, 0(r30) +/* 80322208 0031F168 41 82 00 10 */ beq lbl_80322218 +/* 8032220C 0031F16C 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80322210 0031F170 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80322214 0031F174 90 1E 00 00 */ stw r0, 0(r30) +lbl_80322218: +/* 80322218 0031F178 7F E0 07 35 */ extsh. r0, r31 +/* 8032221C 0031F17C 40 81 00 10 */ ble lbl_8032222C +/* 80322220 0031F180 7F C3 F3 78 */ mr r3, r30 +/* 80322224 0031F184 38 80 00 0C */ li r4, 0xc +/* 80322228 0031F188 48 04 A8 3D */ bl sub_8036ca64 +lbl_8032222C: +/* 8032222C 0031F18C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80322230 0031F190 7F C3 F3 78 */ mr r3, r30 +/* 80322234 0031F194 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80322238 0031F198 83 C1 00 08 */ lwz r30, 8(r1) +/* 8032223C 0031F19C 7C 08 03 A6 */ mtlr r0 +/* 80322240 0031F1A0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80322244 0031F1A4 4E 80 00 20 */ blr + +.global __ct__9CIERandomFP11CIntElementP11CIntElement +__ct__9CIERandomFP11CIntElementP11CIntElement: +/* 80322248 0031F1A8 3D 00 80 3F */ lis r8, lbl_803EC5A8@ha +/* 8032224C 0031F1AC 3C E0 80 3F */ lis r7, lbl_803EC584@ha +/* 80322250 0031F1B0 38 08 C5 A8 */ addi r0, r8, lbl_803EC5A8@l +/* 80322254 0031F1B4 3C C0 80 3F */ lis r6, lbl_803EDBD8@ha +/* 80322258 0031F1B8 90 03 00 00 */ stw r0, 0(r3) +/* 8032225C 0031F1BC 38 E7 C5 84 */ addi r7, r7, lbl_803EC584@l +/* 80322260 0031F1C0 38 06 DB D8 */ addi r0, r6, lbl_803EDBD8@l +/* 80322264 0031F1C4 90 E3 00 00 */ stw r7, 0(r3) +/* 80322268 0031F1C8 90 03 00 00 */ stw r0, 0(r3) +/* 8032226C 0031F1CC 90 83 00 04 */ stw r4, 4(r3) +/* 80322270 0031F1D0 90 A3 00 08 */ stw r5, 8(r3) +/* 80322274 0031F1D4 4E 80 00 20 */ blr + +.global GetValue__9CIEModuloCFiRi +GetValue__9CIEModuloCFiRi: +/* 80322278 0031F1D8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8032227C 0031F1DC 7C 08 02 A6 */ mflr r0 +/* 80322280 0031F1E0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80322284 0031F1E4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80322288 0031F1E8 7C BF 2B 78 */ mr r31, r5 +/* 8032228C 0031F1EC 38 A1 00 0C */ addi r5, r1, 0xc +/* 80322290 0031F1F0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80322294 0031F1F4 7C 9E 23 78 */ mr r30, r4 +/* 80322298 0031F1F8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8032229C 0031F1FC 7C 7D 1B 78 */ mr r29, r3 +/* 803222A0 0031F200 80 63 00 04 */ lwz r3, 4(r3) +/* 803222A4 0031F204 81 83 00 00 */ lwz r12, 0(r3) +/* 803222A8 0031F208 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803222AC 0031F20C 7D 89 03 A6 */ mtctr r12 +/* 803222B0 0031F210 4E 80 04 21 */ bctrl +/* 803222B4 0031F214 80 7D 00 08 */ lwz r3, 8(r29) +/* 803222B8 0031F218 7F C4 F3 78 */ mr r4, r30 +/* 803222BC 0031F21C 38 A1 00 08 */ addi r5, r1, 8 +/* 803222C0 0031F220 81 83 00 00 */ lwz r12, 0(r3) +/* 803222C4 0031F224 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803222C8 0031F228 7D 89 03 A6 */ mtctr r12 +/* 803222CC 0031F22C 4E 80 04 21 */ bctrl +/* 803222D0 0031F230 80 81 00 08 */ lwz r4, 8(r1) +/* 803222D4 0031F234 2C 04 00 00 */ cmpwi r4, 0 +/* 803222D8 0031F238 41 82 00 1C */ beq lbl_803222F4 +/* 803222DC 0031F23C 80 61 00 0C */ lwz r3, 0xc(r1) +/* 803222E0 0031F240 7C 03 23 D6 */ divw r0, r3, r4 +/* 803222E4 0031F244 7C 00 21 D6 */ mullw r0, r0, r4 +/* 803222E8 0031F248 7C 00 18 50 */ subf r0, r0, r3 +/* 803222EC 0031F24C 90 1F 00 00 */ stw r0, 0(r31) +/* 803222F0 0031F250 48 00 00 0C */ b lbl_803222FC +lbl_803222F4: +/* 803222F4 0031F254 80 01 00 0C */ lwz r0, 0xc(r1) +/* 803222F8 0031F258 90 1F 00 00 */ stw r0, 0(r31) +lbl_803222FC: +/* 803222FC 0031F25C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80322300 0031F260 38 60 00 00 */ li r3, 0 +/* 80322304 0031F264 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80322308 0031F268 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8032230C 0031F26C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80322310 0031F270 7C 08 03 A6 */ mtlr r0 +/* 80322314 0031F274 38 21 00 20 */ addi r1, r1, 0x20 +/* 80322318 0031F278 4E 80 00 20 */ blr + +.global __dt__9CIEModulo +__dt__9CIEModulo: +/* 8032231C 0031F27C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80322320 0031F280 7C 08 02 A6 */ mflr r0 +/* 80322324 0031F284 90 01 00 14 */ stw r0, 0x14(r1) +/* 80322328 0031F288 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8032232C 0031F28C 7C 9F 23 78 */ mr r31, r4 +/* 80322330 0031F290 93 C1 00 08 */ stw r30, 8(r1) +/* 80322334 0031F294 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80322338 0031F298 41 82 00 88 */ beq lbl_803223C0 +/* 8032233C 0031F29C 3C 60 80 3F */ lis r3, lbl_803EDBE8@ha +/* 80322340 0031F2A0 38 03 DB E8 */ addi r0, r3, lbl_803EDBE8@l +/* 80322344 0031F2A4 90 1E 00 00 */ stw r0, 0(r30) +/* 80322348 0031F2A8 80 7E 00 04 */ lwz r3, 4(r30) +/* 8032234C 0031F2AC 28 03 00 00 */ cmplwi r3, 0 +/* 80322350 0031F2B0 41 82 00 18 */ beq lbl_80322368 +/* 80322354 0031F2B4 81 83 00 00 */ lwz r12, 0(r3) +/* 80322358 0031F2B8 38 80 00 01 */ li r4, 1 +/* 8032235C 0031F2BC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80322360 0031F2C0 7D 89 03 A6 */ mtctr r12 +/* 80322364 0031F2C4 4E 80 04 21 */ bctrl +lbl_80322368: +/* 80322368 0031F2C8 80 7E 00 08 */ lwz r3, 8(r30) +/* 8032236C 0031F2CC 28 03 00 00 */ cmplwi r3, 0 +/* 80322370 0031F2D0 41 82 00 18 */ beq lbl_80322388 +/* 80322374 0031F2D4 81 83 00 00 */ lwz r12, 0(r3) +/* 80322378 0031F2D8 38 80 00 01 */ li r4, 1 +/* 8032237C 0031F2DC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80322380 0031F2E0 7D 89 03 A6 */ mtctr r12 +/* 80322384 0031F2E4 4E 80 04 21 */ bctrl +lbl_80322388: +/* 80322388 0031F2E8 28 1E 00 00 */ cmplwi r30, 0 +/* 8032238C 0031F2EC 41 82 00 20 */ beq lbl_803223AC +/* 80322390 0031F2F0 3C 60 80 3F */ lis r3, lbl_803EC584@ha +/* 80322394 0031F2F4 38 03 C5 84 */ addi r0, r3, lbl_803EC584@l +/* 80322398 0031F2F8 90 1E 00 00 */ stw r0, 0(r30) +/* 8032239C 0031F2FC 41 82 00 10 */ beq lbl_803223AC +/* 803223A0 0031F300 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 803223A4 0031F304 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 803223A8 0031F308 90 1E 00 00 */ stw r0, 0(r30) +lbl_803223AC: +/* 803223AC 0031F30C 7F E0 07 35 */ extsh. r0, r31 +/* 803223B0 0031F310 40 81 00 10 */ ble lbl_803223C0 +/* 803223B4 0031F314 7F C3 F3 78 */ mr r3, r30 +/* 803223B8 0031F318 38 80 00 0C */ li r4, 0xc +/* 803223BC 0031F31C 48 04 A6 A9 */ bl sub_8036ca64 +lbl_803223C0: +/* 803223C0 0031F320 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803223C4 0031F324 7F C3 F3 78 */ mr r3, r30 +/* 803223C8 0031F328 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803223CC 0031F32C 83 C1 00 08 */ lwz r30, 8(r1) +/* 803223D0 0031F330 7C 08 03 A6 */ mtlr r0 +/* 803223D4 0031F334 38 21 00 10 */ addi r1, r1, 0x10 +/* 803223D8 0031F338 4E 80 00 20 */ blr + +.global __ct__9CIEModuloFP11CIntElementP11CIntElement +__ct__9CIEModuloFP11CIntElementP11CIntElement: +/* 803223DC 0031F33C 3D 00 80 3F */ lis r8, lbl_803EC5A8@ha +/* 803223E0 0031F340 3C E0 80 3F */ lis r7, lbl_803EC584@ha +/* 803223E4 0031F344 38 08 C5 A8 */ addi r0, r8, lbl_803EC5A8@l +/* 803223E8 0031F348 3C C0 80 3F */ lis r6, lbl_803EDBE8@ha +/* 803223EC 0031F34C 90 03 00 00 */ stw r0, 0(r3) +/* 803223F0 0031F350 38 E7 C5 84 */ addi r7, r7, lbl_803EC584@l +/* 803223F4 0031F354 38 06 DB E8 */ addi r0, r6, lbl_803EDBE8@l +/* 803223F8 0031F358 90 E3 00 00 */ stw r7, 0(r3) +/* 803223FC 0031F35C 90 03 00 00 */ stw r0, 0(r3) +/* 80322400 0031F360 90 83 00 04 */ stw r4, 4(r3) +/* 80322404 0031F364 90 A3 00 08 */ stw r5, 8(r3) +/* 80322408 0031F368 4E 80 00 20 */ blr + +.global GetValue__11CIEMultiplyCFiRi +GetValue__11CIEMultiplyCFiRi: +/* 8032240C 0031F36C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80322410 0031F370 7C 08 02 A6 */ mflr r0 +/* 80322414 0031F374 90 01 00 24 */ stw r0, 0x24(r1) +/* 80322418 0031F378 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8032241C 0031F37C 7C BF 2B 78 */ mr r31, r5 +/* 80322420 0031F380 38 A1 00 0C */ addi r5, r1, 0xc +/* 80322424 0031F384 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80322428 0031F388 7C 9E 23 78 */ mr r30, r4 +/* 8032242C 0031F38C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80322430 0031F390 7C 7D 1B 78 */ mr r29, r3 +/* 80322434 0031F394 80 63 00 04 */ lwz r3, 4(r3) +/* 80322438 0031F398 81 83 00 00 */ lwz r12, 0(r3) +/* 8032243C 0031F39C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80322440 0031F3A0 7D 89 03 A6 */ mtctr r12 +/* 80322444 0031F3A4 4E 80 04 21 */ bctrl +/* 80322448 0031F3A8 80 7D 00 08 */ lwz r3, 8(r29) +/* 8032244C 0031F3AC 7F C4 F3 78 */ mr r4, r30 +/* 80322450 0031F3B0 38 A1 00 08 */ addi r5, r1, 8 +/* 80322454 0031F3B4 81 83 00 00 */ lwz r12, 0(r3) +/* 80322458 0031F3B8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8032245C 0031F3BC 7D 89 03 A6 */ mtctr r12 +/* 80322460 0031F3C0 4E 80 04 21 */ bctrl +/* 80322464 0031F3C4 80 81 00 0C */ lwz r4, 0xc(r1) +/* 80322468 0031F3C8 38 60 00 00 */ li r3, 0 +/* 8032246C 0031F3CC 80 01 00 08 */ lwz r0, 8(r1) +/* 80322470 0031F3D0 7C 04 01 D6 */ mullw r0, r4, r0 +/* 80322474 0031F3D4 90 1F 00 00 */ stw r0, 0(r31) +/* 80322478 0031F3D8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8032247C 0031F3DC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80322480 0031F3E0 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80322484 0031F3E4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80322488 0031F3E8 7C 08 03 A6 */ mtlr r0 +/* 8032248C 0031F3EC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80322490 0031F3F0 4E 80 00 20 */ blr + +.global __dt__11CIEMultiply +__dt__11CIEMultiply: +/* 80322494 0031F3F4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80322498 0031F3F8 7C 08 02 A6 */ mflr r0 +/* 8032249C 0031F3FC 90 01 00 14 */ stw r0, 0x14(r1) +/* 803224A0 0031F400 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803224A4 0031F404 7C 9F 23 78 */ mr r31, r4 +/* 803224A8 0031F408 93 C1 00 08 */ stw r30, 8(r1) +/* 803224AC 0031F40C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 803224B0 0031F410 41 82 00 88 */ beq lbl_80322538 +/* 803224B4 0031F414 3C 60 80 3F */ lis r3, lbl_803EDBF8@ha +/* 803224B8 0031F418 38 03 DB F8 */ addi r0, r3, lbl_803EDBF8@l +/* 803224BC 0031F41C 90 1E 00 00 */ stw r0, 0(r30) +/* 803224C0 0031F420 80 7E 00 04 */ lwz r3, 4(r30) +/* 803224C4 0031F424 28 03 00 00 */ cmplwi r3, 0 +/* 803224C8 0031F428 41 82 00 18 */ beq lbl_803224E0 +/* 803224CC 0031F42C 81 83 00 00 */ lwz r12, 0(r3) +/* 803224D0 0031F430 38 80 00 01 */ li r4, 1 +/* 803224D4 0031F434 81 8C 00 08 */ lwz r12, 8(r12) +/* 803224D8 0031F438 7D 89 03 A6 */ mtctr r12 +/* 803224DC 0031F43C 4E 80 04 21 */ bctrl +lbl_803224E0: +/* 803224E0 0031F440 80 7E 00 08 */ lwz r3, 8(r30) +/* 803224E4 0031F444 28 03 00 00 */ cmplwi r3, 0 +/* 803224E8 0031F448 41 82 00 18 */ beq lbl_80322500 +/* 803224EC 0031F44C 81 83 00 00 */ lwz r12, 0(r3) +/* 803224F0 0031F450 38 80 00 01 */ li r4, 1 +/* 803224F4 0031F454 81 8C 00 08 */ lwz r12, 8(r12) +/* 803224F8 0031F458 7D 89 03 A6 */ mtctr r12 +/* 803224FC 0031F45C 4E 80 04 21 */ bctrl +lbl_80322500: +/* 80322500 0031F460 28 1E 00 00 */ cmplwi r30, 0 +/* 80322504 0031F464 41 82 00 20 */ beq lbl_80322524 +/* 80322508 0031F468 3C 60 80 3F */ lis r3, lbl_803EC584@ha +/* 8032250C 0031F46C 38 03 C5 84 */ addi r0, r3, lbl_803EC584@l +/* 80322510 0031F470 90 1E 00 00 */ stw r0, 0(r30) +/* 80322514 0031F474 41 82 00 10 */ beq lbl_80322524 +/* 80322518 0031F478 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 8032251C 0031F47C 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80322520 0031F480 90 1E 00 00 */ stw r0, 0(r30) +lbl_80322524: +/* 80322524 0031F484 7F E0 07 35 */ extsh. r0, r31 +/* 80322528 0031F488 40 81 00 10 */ ble lbl_80322538 +/* 8032252C 0031F48C 7F C3 F3 78 */ mr r3, r30 +/* 80322530 0031F490 38 80 00 0C */ li r4, 0xc +/* 80322534 0031F494 48 04 A5 31 */ bl sub_8036ca64 +lbl_80322538: +/* 80322538 0031F498 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8032253C 0031F49C 7F C3 F3 78 */ mr r3, r30 +/* 80322540 0031F4A0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80322544 0031F4A4 83 C1 00 08 */ lwz r30, 8(r1) +/* 80322548 0031F4A8 7C 08 03 A6 */ mtlr r0 +/* 8032254C 0031F4AC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80322550 0031F4B0 4E 80 00 20 */ blr + +.global __ct__11CIEMultiplyFP11CIntElementP11CIntElement +__ct__11CIEMultiplyFP11CIntElementP11CIntElement: +/* 80322554 0031F4B4 3D 00 80 3F */ lis r8, lbl_803EC5A8@ha +/* 80322558 0031F4B8 3C E0 80 3F */ lis r7, lbl_803EC584@ha +/* 8032255C 0031F4BC 38 08 C5 A8 */ addi r0, r8, lbl_803EC5A8@l +/* 80322560 0031F4C0 3C C0 80 3F */ lis r6, lbl_803EDBF8@ha +/* 80322564 0031F4C4 90 03 00 00 */ stw r0, 0(r3) +/* 80322568 0031F4C8 38 E7 C5 84 */ addi r7, r7, lbl_803EC584@l +/* 8032256C 0031F4CC 38 06 DB F8 */ addi r0, r6, lbl_803EDBF8@l +/* 80322570 0031F4D0 90 E3 00 00 */ stw r7, 0(r3) +/* 80322574 0031F4D4 90 03 00 00 */ stw r0, 0(r3) +/* 80322578 0031F4D8 90 83 00 04 */ stw r4, 4(r3) +/* 8032257C 0031F4DC 90 A3 00 08 */ stw r5, 8(r3) +/* 80322580 0031F4E0 4E 80 00 20 */ blr + +.global GetValue__6CIEAddCFiRi +GetValue__6CIEAddCFiRi: +/* 80322584 0031F4E4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80322588 0031F4E8 7C 08 02 A6 */ mflr r0 +/* 8032258C 0031F4EC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80322590 0031F4F0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80322594 0031F4F4 7C BF 2B 78 */ mr r31, r5 +/* 80322598 0031F4F8 38 A1 00 0C */ addi r5, r1, 0xc +/* 8032259C 0031F4FC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 803225A0 0031F500 7C 9E 23 78 */ mr r30, r4 +/* 803225A4 0031F504 93 A1 00 14 */ stw r29, 0x14(r1) +/* 803225A8 0031F508 7C 7D 1B 78 */ mr r29, r3 +/* 803225AC 0031F50C 80 63 00 04 */ lwz r3, 4(r3) +/* 803225B0 0031F510 81 83 00 00 */ lwz r12, 0(r3) +/* 803225B4 0031F514 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803225B8 0031F518 7D 89 03 A6 */ mtctr r12 +/* 803225BC 0031F51C 4E 80 04 21 */ bctrl +/* 803225C0 0031F520 80 7D 00 08 */ lwz r3, 8(r29) +/* 803225C4 0031F524 7F C4 F3 78 */ mr r4, r30 +/* 803225C8 0031F528 38 A1 00 08 */ addi r5, r1, 8 +/* 803225CC 0031F52C 81 83 00 00 */ lwz r12, 0(r3) +/* 803225D0 0031F530 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803225D4 0031F534 7D 89 03 A6 */ mtctr r12 +/* 803225D8 0031F538 4E 80 04 21 */ bctrl +/* 803225DC 0031F53C 80 81 00 0C */ lwz r4, 0xc(r1) +/* 803225E0 0031F540 38 60 00 00 */ li r3, 0 +/* 803225E4 0031F544 80 01 00 08 */ lwz r0, 8(r1) +/* 803225E8 0031F548 7C 04 02 14 */ add r0, r4, r0 +/* 803225EC 0031F54C 90 1F 00 00 */ stw r0, 0(r31) +/* 803225F0 0031F550 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803225F4 0031F554 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 803225F8 0031F558 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 803225FC 0031F55C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80322600 0031F560 7C 08 03 A6 */ mtlr r0 +/* 80322604 0031F564 38 21 00 20 */ addi r1, r1, 0x20 +/* 80322608 0031F568 4E 80 00 20 */ blr + +.global __dt__6CIEAdd +__dt__6CIEAdd: +/* 8032260C 0031F56C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80322610 0031F570 7C 08 02 A6 */ mflr r0 +/* 80322614 0031F574 90 01 00 14 */ stw r0, 0x14(r1) +/* 80322618 0031F578 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8032261C 0031F57C 7C 9F 23 78 */ mr r31, r4 +/* 80322620 0031F580 93 C1 00 08 */ stw r30, 8(r1) +/* 80322624 0031F584 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80322628 0031F588 41 82 00 88 */ beq lbl_803226B0 +/* 8032262C 0031F58C 3C 60 80 3F */ lis r3, lbl_803EDC08@ha +/* 80322630 0031F590 38 03 DC 08 */ addi r0, r3, lbl_803EDC08@l +/* 80322634 0031F594 90 1E 00 00 */ stw r0, 0(r30) +/* 80322638 0031F598 80 7E 00 04 */ lwz r3, 4(r30) +/* 8032263C 0031F59C 28 03 00 00 */ cmplwi r3, 0 +/* 80322640 0031F5A0 41 82 00 18 */ beq lbl_80322658 +/* 80322644 0031F5A4 81 83 00 00 */ lwz r12, 0(r3) +/* 80322648 0031F5A8 38 80 00 01 */ li r4, 1 +/* 8032264C 0031F5AC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80322650 0031F5B0 7D 89 03 A6 */ mtctr r12 +/* 80322654 0031F5B4 4E 80 04 21 */ bctrl +lbl_80322658: +/* 80322658 0031F5B8 80 7E 00 08 */ lwz r3, 8(r30) +/* 8032265C 0031F5BC 28 03 00 00 */ cmplwi r3, 0 +/* 80322660 0031F5C0 41 82 00 18 */ beq lbl_80322678 +/* 80322664 0031F5C4 81 83 00 00 */ lwz r12, 0(r3) +/* 80322668 0031F5C8 38 80 00 01 */ li r4, 1 +/* 8032266C 0031F5CC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80322670 0031F5D0 7D 89 03 A6 */ mtctr r12 +/* 80322674 0031F5D4 4E 80 04 21 */ bctrl +lbl_80322678: +/* 80322678 0031F5D8 28 1E 00 00 */ cmplwi r30, 0 +/* 8032267C 0031F5DC 41 82 00 20 */ beq lbl_8032269C +/* 80322680 0031F5E0 3C 60 80 3F */ lis r3, lbl_803EC584@ha +/* 80322684 0031F5E4 38 03 C5 84 */ addi r0, r3, lbl_803EC584@l +/* 80322688 0031F5E8 90 1E 00 00 */ stw r0, 0(r30) +/* 8032268C 0031F5EC 41 82 00 10 */ beq lbl_8032269C +/* 80322690 0031F5F0 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80322694 0031F5F4 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80322698 0031F5F8 90 1E 00 00 */ stw r0, 0(r30) +lbl_8032269C: +/* 8032269C 0031F5FC 7F E0 07 35 */ extsh. r0, r31 +/* 803226A0 0031F600 40 81 00 10 */ ble lbl_803226B0 +/* 803226A4 0031F604 7F C3 F3 78 */ mr r3, r30 +/* 803226A8 0031F608 38 80 00 0C */ li r4, 0xc +/* 803226AC 0031F60C 48 04 A3 B9 */ bl sub_8036ca64 +lbl_803226B0: +/* 803226B0 0031F610 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803226B4 0031F614 7F C3 F3 78 */ mr r3, r30 +/* 803226B8 0031F618 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803226BC 0031F61C 83 C1 00 08 */ lwz r30, 8(r1) +/* 803226C0 0031F620 7C 08 03 A6 */ mtlr r0 +/* 803226C4 0031F624 38 21 00 10 */ addi r1, r1, 0x10 +/* 803226C8 0031F628 4E 80 00 20 */ blr + +.global __ct__6CIEAddFP11CIntElementP11CIntElement +__ct__6CIEAddFP11CIntElementP11CIntElement: +/* 803226CC 0031F62C 3D 00 80 3F */ lis r8, lbl_803EC5A8@ha +/* 803226D0 0031F630 3C E0 80 3F */ lis r7, lbl_803EC584@ha +/* 803226D4 0031F634 38 08 C5 A8 */ addi r0, r8, lbl_803EC5A8@l +/* 803226D8 0031F638 3C C0 80 3F */ lis r6, lbl_803EDC08@ha +/* 803226DC 0031F63C 90 03 00 00 */ stw r0, 0(r3) +/* 803226E0 0031F640 38 E7 C5 84 */ addi r7, r7, lbl_803EC584@l +/* 803226E4 0031F644 38 06 DC 08 */ addi r0, r6, lbl_803EDC08@l +/* 803226E8 0031F648 90 E3 00 00 */ stw r7, 0(r3) +/* 803226EC 0031F64C 90 03 00 00 */ stw r0, 0(r3) +/* 803226F0 0031F650 90 83 00 04 */ stw r4, 4(r3) +/* 803226F4 0031F654 90 A3 00 08 */ stw r5, 8(r3) +/* 803226F8 0031F658 4E 80 00 20 */ blr + +.global GetValue__8CIEDeathCFiRi +GetValue__8CIEDeathCFiRi: +/* 803226FC 0031F65C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80322700 0031F660 7C 08 02 A6 */ mflr r0 +/* 80322704 0031F664 90 01 00 24 */ stw r0, 0x24(r1) +/* 80322708 0031F668 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8032270C 0031F66C 7C 9F 23 78 */ mr r31, r4 +/* 80322710 0031F670 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80322714 0031F674 7C 7E 1B 78 */ mr r30, r3 +/* 80322718 0031F678 80 63 00 04 */ lwz r3, 4(r3) +/* 8032271C 0031F67C 81 83 00 00 */ lwz r12, 0(r3) +/* 80322720 0031F680 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80322724 0031F684 7D 89 03 A6 */ mtctr r12 +/* 80322728 0031F688 4E 80 04 21 */ bctrl +/* 8032272C 0031F68C 80 7E 00 08 */ lwz r3, 8(r30) +/* 80322730 0031F690 7F E4 FB 78 */ mr r4, r31 +/* 80322734 0031F694 38 A1 00 08 */ addi r5, r1, 8 +/* 80322738 0031F698 81 83 00 00 */ lwz r12, 0(r3) +/* 8032273C 0031F69C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80322740 0031F6A0 7D 89 03 A6 */ mtctr r12 +/* 80322744 0031F6A4 4E 80 04 21 */ bctrl +/* 80322748 0031F6A8 80 01 00 08 */ lwz r0, 8(r1) +/* 8032274C 0031F6AC 7F E4 FE 70 */ srawi r4, r31, 0x1f +/* 80322750 0031F6B0 54 03 0F FE */ srwi r3, r0, 0x1f +/* 80322754 0031F6B4 7C 00 F8 10 */ subfc r0, r0, r31 +/* 80322758 0031F6B8 7C 04 19 14 */ adde r0, r4, r3 +/* 8032275C 0031F6BC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80322760 0031F6C0 54 03 06 3E */ clrlwi r3, r0, 0x18 +/* 80322764 0031F6C4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80322768 0031F6C8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8032276C 0031F6CC 7C 08 03 A6 */ mtlr r0 +/* 80322770 0031F6D0 38 21 00 20 */ addi r1, r1, 0x20 +/* 80322774 0031F6D4 4E 80 00 20 */ blr + +.global __dt__8CIEDeath +__dt__8CIEDeath: +/* 80322778 0031F6D8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8032277C 0031F6DC 7C 08 02 A6 */ mflr r0 +/* 80322780 0031F6E0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80322784 0031F6E4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80322788 0031F6E8 7C 9F 23 78 */ mr r31, r4 +/* 8032278C 0031F6EC 93 C1 00 08 */ stw r30, 8(r1) +/* 80322790 0031F6F0 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80322794 0031F6F4 41 82 00 88 */ beq lbl_8032281C +/* 80322798 0031F6F8 3C 60 80 3F */ lis r3, lbl_803EDC18@ha +/* 8032279C 0031F6FC 38 03 DC 18 */ addi r0, r3, lbl_803EDC18@l +/* 803227A0 0031F700 90 1E 00 00 */ stw r0, 0(r30) +/* 803227A4 0031F704 80 7E 00 04 */ lwz r3, 4(r30) +/* 803227A8 0031F708 28 03 00 00 */ cmplwi r3, 0 +/* 803227AC 0031F70C 41 82 00 18 */ beq lbl_803227C4 +/* 803227B0 0031F710 81 83 00 00 */ lwz r12, 0(r3) +/* 803227B4 0031F714 38 80 00 01 */ li r4, 1 +/* 803227B8 0031F718 81 8C 00 08 */ lwz r12, 8(r12) +/* 803227BC 0031F71C 7D 89 03 A6 */ mtctr r12 +/* 803227C0 0031F720 4E 80 04 21 */ bctrl +lbl_803227C4: +/* 803227C4 0031F724 80 7E 00 08 */ lwz r3, 8(r30) +/* 803227C8 0031F728 28 03 00 00 */ cmplwi r3, 0 +/* 803227CC 0031F72C 41 82 00 18 */ beq lbl_803227E4 +/* 803227D0 0031F730 81 83 00 00 */ lwz r12, 0(r3) +/* 803227D4 0031F734 38 80 00 01 */ li r4, 1 +/* 803227D8 0031F738 81 8C 00 08 */ lwz r12, 8(r12) +/* 803227DC 0031F73C 7D 89 03 A6 */ mtctr r12 +/* 803227E0 0031F740 4E 80 04 21 */ bctrl +lbl_803227E4: +/* 803227E4 0031F744 28 1E 00 00 */ cmplwi r30, 0 +/* 803227E8 0031F748 41 82 00 20 */ beq lbl_80322808 +/* 803227EC 0031F74C 3C 60 80 3F */ lis r3, lbl_803EC584@ha +/* 803227F0 0031F750 38 03 C5 84 */ addi r0, r3, lbl_803EC584@l +/* 803227F4 0031F754 90 1E 00 00 */ stw r0, 0(r30) +/* 803227F8 0031F758 41 82 00 10 */ beq lbl_80322808 +/* 803227FC 0031F75C 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80322800 0031F760 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80322804 0031F764 90 1E 00 00 */ stw r0, 0(r30) +lbl_80322808: +/* 80322808 0031F768 7F E0 07 35 */ extsh. r0, r31 +/* 8032280C 0031F76C 40 81 00 10 */ ble lbl_8032281C +/* 80322810 0031F770 7F C3 F3 78 */ mr r3, r30 +/* 80322814 0031F774 38 80 00 0C */ li r4, 0xc +/* 80322818 0031F778 48 04 A2 4D */ bl sub_8036ca64 +lbl_8032281C: +/* 8032281C 0031F77C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80322820 0031F780 7F C3 F3 78 */ mr r3, r30 +/* 80322824 0031F784 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80322828 0031F788 83 C1 00 08 */ lwz r30, 8(r1) +/* 8032282C 0031F78C 7C 08 03 A6 */ mtlr r0 +/* 80322830 0031F790 38 21 00 10 */ addi r1, r1, 0x10 +/* 80322834 0031F794 4E 80 00 20 */ blr + +.global __ct__8CIEDeathFP11CIntElementP11CIntElement +__ct__8CIEDeathFP11CIntElementP11CIntElement: +/* 80322838 0031F798 3D 00 80 3F */ lis r8, lbl_803EC5A8@ha +/* 8032283C 0031F79C 3C E0 80 3F */ lis r7, lbl_803EC584@ha +/* 80322840 0031F7A0 38 08 C5 A8 */ addi r0, r8, lbl_803EC5A8@l +/* 80322844 0031F7A4 3C C0 80 3F */ lis r6, lbl_803EDC18@ha +/* 80322848 0031F7A8 90 03 00 00 */ stw r0, 0(r3) +/* 8032284C 0031F7AC 38 E7 C5 84 */ addi r7, r7, lbl_803EC584@l +/* 80322850 0031F7B0 38 06 DC 18 */ addi r0, r6, lbl_803EDC18@l +/* 80322854 0031F7B4 90 E3 00 00 */ stw r7, 0(r3) +/* 80322858 0031F7B8 90 03 00 00 */ stw r0, 0(r3) +/* 8032285C 0031F7BC 90 83 00 04 */ stw r4, 4(r3) +/* 80322860 0031F7C0 90 A3 00 08 */ stw r5, 8(r3) +/* 80322864 0031F7C4 4E 80 00 20 */ blr + +.global sub_80322868 +sub_80322868: +/* 80322868 0031F7C8 80 03 00 04 */ lwz r0, 4(r3) +/* 8032286C 0031F7CC 38 60 00 00 */ li r3, 0 +/* 80322870 0031F7D0 90 05 00 00 */ stw r0, 0(r5) +/* 80322874 0031F7D4 4E 80 00 20 */ blr + +.global __dt__11CIEConstant +__dt__11CIEConstant: +/* 80322878 0031F7D8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8032287C 0031F7DC 7C 08 02 A6 */ mflr r0 +/* 80322880 0031F7E0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80322884 0031F7E4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80322888 0031F7E8 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8032288C 0031F7EC 41 82 00 44 */ beq lbl_803228D0 +/* 80322890 0031F7F0 3C 60 80 3F */ lis r3, lbl_803EDC28@ha +/* 80322894 0031F7F4 38 03 DC 28 */ addi r0, r3, lbl_803EDC28@l +/* 80322898 0031F7F8 90 1F 00 00 */ stw r0, 0(r31) +/* 8032289C 0031F7FC 41 82 00 20 */ beq lbl_803228BC +/* 803228A0 0031F800 3C 60 80 3F */ lis r3, lbl_803EC584@ha +/* 803228A4 0031F804 38 03 C5 84 */ addi r0, r3, lbl_803EC584@l +/* 803228A8 0031F808 90 1F 00 00 */ stw r0, 0(r31) +/* 803228AC 0031F80C 41 82 00 10 */ beq lbl_803228BC +/* 803228B0 0031F810 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 803228B4 0031F814 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 803228B8 0031F818 90 1F 00 00 */ stw r0, 0(r31) +lbl_803228BC: +/* 803228BC 0031F81C 7C 80 07 35 */ extsh. r0, r4 +/* 803228C0 0031F820 40 81 00 10 */ ble lbl_803228D0 +/* 803228C4 0031F824 7F E3 FB 78 */ mr r3, r31 +/* 803228C8 0031F828 38 80 00 08 */ li r4, 8 +/* 803228CC 0031F82C 48 04 A1 99 */ bl sub_8036ca64 +lbl_803228D0: +/* 803228D0 0031F830 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803228D4 0031F834 7F E3 FB 78 */ mr r3, r31 +/* 803228D8 0031F838 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803228DC 0031F83C 7C 08 03 A6 */ mtlr r0 +/* 803228E0 0031F840 38 21 00 10 */ addi r1, r1, 0x10 +/* 803228E4 0031F844 4E 80 00 20 */ blr + +.global __ct__11CIEConstantFi +__ct__11CIEConstantFi: +/* 803228E8 0031F848 3C E0 80 3F */ lis r7, lbl_803EC5A8@ha +/* 803228EC 0031F84C 3C C0 80 3F */ lis r6, lbl_803EC584@ha +/* 803228F0 0031F850 38 07 C5 A8 */ addi r0, r7, lbl_803EC5A8@l +/* 803228F4 0031F854 3C A0 80 3F */ lis r5, lbl_803EDC28@ha +/* 803228F8 0031F858 90 03 00 00 */ stw r0, 0(r3) +/* 803228FC 0031F85C 38 C6 C5 84 */ addi r6, r6, lbl_803EC584@l +/* 80322900 0031F860 38 05 DC 28 */ addi r0, r5, lbl_803EDC28@l +/* 80322904 0031F864 90 C3 00 00 */ stw r6, 0(r3) +/* 80322908 0031F868 90 03 00 00 */ stw r0, 0(r3) +/* 8032290C 0031F86C 90 83 00 04 */ stw r4, 4(r3) +/* 80322910 0031F870 4E 80 00 20 */ blr + +.global __dt__7CIEGAPC +__dt__7CIEGAPC: +/* 80322914 0031F874 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80322918 0031F878 7C 08 02 A6 */ mflr r0 +/* 8032291C 0031F87C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80322920 0031F880 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80322924 0031F884 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80322928 0031F888 41 82 00 44 */ beq lbl_8032296C +/* 8032292C 0031F88C 3C 60 80 3F */ lis r3, lbl_803EDB08@ha +/* 80322930 0031F890 38 03 DB 08 */ addi r0, r3, lbl_803EDB08@l +/* 80322934 0031F894 90 1F 00 00 */ stw r0, 0(r31) +/* 80322938 0031F898 41 82 00 20 */ beq lbl_80322958 +/* 8032293C 0031F89C 3C 60 80 3F */ lis r3, lbl_803EC584@ha +/* 80322940 0031F8A0 38 03 C5 84 */ addi r0, r3, lbl_803EC584@l +/* 80322944 0031F8A4 90 1F 00 00 */ stw r0, 0(r31) +/* 80322948 0031F8A8 41 82 00 10 */ beq lbl_80322958 +/* 8032294C 0031F8AC 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80322950 0031F8B0 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80322954 0031F8B4 90 1F 00 00 */ stw r0, 0(r31) +lbl_80322958: +/* 80322958 0031F8B8 7C 80 07 35 */ extsh. r0, r4 +/* 8032295C 0031F8BC 40 81 00 10 */ ble lbl_8032296C +/* 80322960 0031F8C0 7F E3 FB 78 */ mr r3, r31 +/* 80322964 0031F8C4 38 80 00 04 */ li r4, 4 +/* 80322968 0031F8C8 48 04 A0 FD */ bl sub_8036ca64 +lbl_8032296C: +/* 8032296C 0031F8CC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80322970 0031F8D0 7F E3 FB 78 */ mr r3, r31 +/* 80322974 0031F8D4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80322978 0031F8D8 7C 08 03 A6 */ mtlr r0 +/* 8032297C 0031F8DC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80322980 0031F8E0 4E 80 00 20 */ blr + +.global __dt__7CIEGTCP +__dt__7CIEGTCP: +/* 80322984 0031F8E4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80322988 0031F8E8 7C 08 02 A6 */ mflr r0 +/* 8032298C 0031F8EC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80322990 0031F8F0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80322994 0031F8F4 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80322998 0031F8F8 41 82 00 44 */ beq lbl_803229DC +/* 8032299C 0031F8FC 3C 60 80 3F */ lis r3, lbl_803EDB18@ha +/* 803229A0 0031F900 38 03 DB 18 */ addi r0, r3, lbl_803EDB18@l +/* 803229A4 0031F904 90 1F 00 00 */ stw r0, 0(r31) +/* 803229A8 0031F908 41 82 00 20 */ beq lbl_803229C8 +/* 803229AC 0031F90C 3C 60 80 3F */ lis r3, lbl_803EC584@ha +/* 803229B0 0031F910 38 03 C5 84 */ addi r0, r3, lbl_803EC584@l +/* 803229B4 0031F914 90 1F 00 00 */ stw r0, 0(r31) +/* 803229B8 0031F918 41 82 00 10 */ beq lbl_803229C8 +/* 803229BC 0031F91C 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 803229C0 0031F920 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 803229C4 0031F924 90 1F 00 00 */ stw r0, 0(r31) +lbl_803229C8: +/* 803229C8 0031F928 7C 80 07 35 */ extsh. r0, r4 +/* 803229CC 0031F92C 40 81 00 10 */ ble lbl_803229DC +/* 803229D0 0031F930 7F E3 FB 78 */ mr r3, r31 +/* 803229D4 0031F934 38 80 00 04 */ li r4, 4 +/* 803229D8 0031F938 48 04 A0 8D */ bl sub_8036ca64 +lbl_803229DC: +/* 803229DC 0031F93C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803229E0 0031F940 7F E3 FB 78 */ mr r3, r31 +/* 803229E4 0031F944 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803229E8 0031F948 7C 08 03 A6 */ mtlr r0 +/* 803229EC 0031F94C 38 21 00 10 */ addi r1, r1, 0x10 +/* 803229F0 0031F950 4E 80 00 20 */ blr + +.global GetValue__15CMVESetPositionCFiR9CVector3fR9CVector3f +GetValue__15CMVESetPositionCFiR9CVector3fR9CVector3f: +/* 803229F4 0031F954 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803229F8 0031F958 7C 08 02 A6 */ mflr r0 +/* 803229FC 0031F95C 7C C5 33 78 */ mr r5, r6 +/* 80322A00 0031F960 90 01 00 14 */ stw r0, 0x14(r1) +/* 80322A04 0031F964 80 63 00 04 */ lwz r3, 4(r3) +/* 80322A08 0031F968 81 83 00 00 */ lwz r12, 0(r3) +/* 80322A0C 0031F96C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80322A10 0031F970 7D 89 03 A6 */ mtctr r12 +/* 80322A14 0031F974 4E 80 04 21 */ bctrl +/* 80322A18 0031F978 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80322A1C 0031F97C 38 60 00 00 */ li r3, 0 +/* 80322A20 0031F980 7C 08 03 A6 */ mtlr r0 +/* 80322A24 0031F984 38 21 00 10 */ addi r1, r1, 0x10 +/* 80322A28 0031F988 4E 80 00 20 */ blr + +.global __dt__15CMVESetPositionFv +__dt__15CMVESetPositionFv: +/* 80322A2C 0031F98C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80322A30 0031F990 7C 08 02 A6 */ mflr r0 +/* 80322A34 0031F994 90 01 00 14 */ stw r0, 0x14(r1) +/* 80322A38 0031F998 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80322A3C 0031F99C 7C 9F 23 78 */ mr r31, r4 +/* 80322A40 0031F9A0 93 C1 00 08 */ stw r30, 8(r1) +/* 80322A44 0031F9A4 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80322A48 0031F9A8 41 82 00 68 */ beq lbl_80322AB0 +/* 80322A4C 0031F9AC 3C 60 80 3F */ lis r3, lbl_803EDC38@ha +/* 80322A50 0031F9B0 38 03 DC 38 */ addi r0, r3, lbl_803EDC38@l +/* 80322A54 0031F9B4 90 1E 00 00 */ stw r0, 0(r30) +/* 80322A58 0031F9B8 80 7E 00 04 */ lwz r3, 4(r30) +/* 80322A5C 0031F9BC 28 03 00 00 */ cmplwi r3, 0 +/* 80322A60 0031F9C0 41 82 00 18 */ beq lbl_80322A78 +/* 80322A64 0031F9C4 81 83 00 00 */ lwz r12, 0(r3) +/* 80322A68 0031F9C8 38 80 00 01 */ li r4, 1 +/* 80322A6C 0031F9CC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80322A70 0031F9D0 7D 89 03 A6 */ mtctr r12 +/* 80322A74 0031F9D4 4E 80 04 21 */ bctrl +lbl_80322A78: +/* 80322A78 0031F9D8 28 1E 00 00 */ cmplwi r30, 0 +/* 80322A7C 0031F9DC 41 82 00 20 */ beq lbl_80322A9C +/* 80322A80 0031F9E0 3C 60 80 3F */ lis r3, lbl_803EC5C8@ha +/* 80322A84 0031F9E4 38 03 C5 C8 */ addi r0, r3, lbl_803EC5C8@l +/* 80322A88 0031F9E8 90 1E 00 00 */ stw r0, 0(r30) +/* 80322A8C 0031F9EC 41 82 00 10 */ beq lbl_80322A9C +/* 80322A90 0031F9F0 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80322A94 0031F9F4 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80322A98 0031F9F8 90 1E 00 00 */ stw r0, 0(r30) +lbl_80322A9C: +/* 80322A9C 0031F9FC 7F E0 07 35 */ extsh. r0, r31 +/* 80322AA0 0031FA00 40 81 00 10 */ ble lbl_80322AB0 +/* 80322AA4 0031FA04 7F C3 F3 78 */ mr r3, r30 +/* 80322AA8 0031FA08 38 80 00 08 */ li r4, 8 +/* 80322AAC 0031FA0C 48 04 9F B9 */ bl sub_8036ca64 +lbl_80322AB0: +/* 80322AB0 0031FA10 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80322AB4 0031FA14 7F C3 F3 78 */ mr r3, r30 +/* 80322AB8 0031FA18 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80322ABC 0031FA1C 83 C1 00 08 */ lwz r30, 8(r1) +/* 80322AC0 0031FA20 7C 08 03 A6 */ mtlr r0 +/* 80322AC4 0031FA24 38 21 00 10 */ addi r1, r1, 0x10 +/* 80322AC8 0031FA28 4E 80 00 20 */ blr + +.global __ct__15CMVESetPositionFP14CVectorElement +__ct__15CMVESetPositionFP14CVectorElement: +/* 80322ACC 0031FA2C 3C E0 80 3F */ lis r7, lbl_803EC5A8@ha +/* 80322AD0 0031FA30 3C C0 80 3F */ lis r6, lbl_803EC5C8@ha +/* 80322AD4 0031FA34 38 07 C5 A8 */ addi r0, r7, lbl_803EC5A8@l +/* 80322AD8 0031FA38 3C A0 80 3F */ lis r5, lbl_803EDC38@ha +/* 80322ADC 0031FA3C 90 03 00 00 */ stw r0, 0(r3) +/* 80322AE0 0031FA40 38 C6 C5 C8 */ addi r6, r6, lbl_803EC5C8@l +/* 80322AE4 0031FA44 38 05 DC 38 */ addi r0, r5, lbl_803EDC38@l +/* 80322AE8 0031FA48 90 C3 00 00 */ stw r6, 0(r3) +/* 80322AEC 0031FA4C 90 03 00 00 */ stw r0, 0(r3) +/* 80322AF0 0031FA50 90 83 00 04 */ stw r4, 4(r3) +/* 80322AF4 0031FA54 4E 80 00 20 */ blr + +.global GetValue__10CMVEBounceCFiR9CVector3fR9CVector3f +GetValue__10CMVEBounceCFiR9CVector3fR9CVector3f: +/* 80322AF8 0031FA58 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80322AFC 0031FA5C 7C 08 02 A6 */ mflr r0 +/* 80322B00 0031FA60 90 01 00 64 */ stw r0, 0x64(r1) +/* 80322B04 0031FA64 DB E1 00 50 */ stfd f31, 0x50(r1) +/* 80322B08 0031FA68 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 +/* 80322B0C 0031FA6C DB C1 00 40 */ stfd f30, 0x40(r1) +/* 80322B10 0031FA70 F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 +/* 80322B14 0031FA74 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80322B18 0031FA78 93 C1 00 38 */ stw r30, 0x38(r1) +/* 80322B1C 0031FA7C 93 A1 00 34 */ stw r29, 0x34(r1) +/* 80322B20 0031FA80 93 81 00 30 */ stw r28, 0x30(r1) +/* 80322B24 0031FA84 7C 7C 1B 78 */ mr r28, r3 +/* 80322B28 0031FA88 7C 9D 23 78 */ mr r29, r4 +/* 80322B2C 0031FA8C 88 03 00 14 */ lbz r0, 0x14(r3) +/* 80322B30 0031FA90 7C BE 2B 78 */ mr r30, r5 +/* 80322B34 0031FA94 7C DF 33 78 */ mr r31, r6 +/* 80322B38 0031FA98 28 00 00 00 */ cmplwi r0, 0 +/* 80322B3C 0031FA9C 40 82 00 78 */ bne lbl_80322BB4 +/* 80322B40 0031FAA0 80 7C 00 08 */ lwz r3, 8(r28) +/* 80322B44 0031FAA4 38 BC 00 18 */ addi r5, r28, 0x18 +/* 80322B48 0031FAA8 81 83 00 00 */ lwz r12, 0(r3) +/* 80322B4C 0031FAAC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80322B50 0031FAB0 7D 89 03 A6 */ mtctr r12 +/* 80322B54 0031FAB4 4E 80 04 21 */ bctrl +/* 80322B58 0031FAB8 38 7C 00 18 */ addi r3, r28, 0x18 +/* 80322B5C 0031FABC 4B FF 1D 9D */ bl Normalize__9CVector3fFv +/* 80322B60 0031FAC0 C0 02 CA 68 */ lfs f0, lbl_805AE788@sda21(r2) +/* 80322B64 0031FAC4 7F A4 EB 78 */ mr r4, r29 +/* 80322B68 0031FAC8 80 7C 00 04 */ lwz r3, 4(r28) +/* 80322B6C 0031FACC 38 A1 00 1C */ addi r5, r1, 0x1c +/* 80322B70 0031FAD0 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 80322B74 0031FAD4 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 80322B78 0031FAD8 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 80322B7C 0031FADC 81 83 00 00 */ lwz r12, 0(r3) +/* 80322B80 0031FAE0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80322B84 0031FAE4 7D 89 03 A6 */ mtctr r12 +/* 80322B88 0031FAE8 4E 80 04 21 */ bctrl +/* 80322B8C 0031FAEC C0 3C 00 1C */ lfs f1, 0x1c(r28) +/* 80322B90 0031FAF0 C0 01 00 20 */ lfs f0, 0x20(r1) +/* 80322B94 0031FAF4 C0 5C 00 18 */ lfs f2, 0x18(r28) +/* 80322B98 0031FAF8 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80322B9C 0031FAFC C0 21 00 1C */ lfs f1, 0x1c(r1) +/* 80322BA0 0031FB00 C0 9C 00 20 */ lfs f4, 0x20(r28) +/* 80322BA4 0031FB04 C0 61 00 24 */ lfs f3, 0x24(r1) +/* 80322BA8 0031FB08 EC 02 00 7A */ fmadds f0, f2, f1, f0 +/* 80322BAC 0031FB0C EC 04 00 FA */ fmadds f0, f4, f3, f0 +/* 80322BB0 0031FB10 D0 1C 00 24 */ stfs f0, 0x24(r28) +lbl_80322BB4: +/* 80322BB4 0031FB14 C0 7C 00 1C */ lfs f3, 0x1c(r28) +/* 80322BB8 0031FB18 C1 BF 00 04 */ lfs f13, 4(r31) +/* 80322BBC 0031FB1C C1 1C 00 18 */ lfs f8, 0x18(r28) +/* 80322BC0 0031FB20 EC 23 03 72 */ fmuls f1, f3, f13 +/* 80322BC4 0031FB24 C1 7F 00 00 */ lfs f11, 0(r31) +/* 80322BC8 0031FB28 C1 3C 00 20 */ lfs f9, 0x20(r28) +/* 80322BCC 0031FB2C C0 1F 00 08 */ lfs f0, 8(r31) +/* 80322BD0 0031FB30 EC 28 0A FA */ fmadds f1, f8, f11, f1 +/* 80322BD4 0031FB34 C3 DC 00 24 */ lfs f30, 0x24(r28) +/* 80322BD8 0031FB38 C0 E2 CA 68 */ lfs f7, lbl_805AE788@sda21(r2) +/* 80322BDC 0031FB3C EC 29 08 3A */ fmadds f1, f9, f0, f1 +/* 80322BE0 0031FB40 EC 21 F0 28 */ fsubs f1, f1, f30 +/* 80322BE4 0031FB44 FC 01 38 40 */ fcmpo cr0, f1, f7 +/* 80322BE8 0031FB48 40 81 00 0C */ ble lbl_80322BF4 +/* 80322BEC 0031FB4C 38 60 00 00 */ li r3, 0 +/* 80322BF0 0031FB50 48 00 01 88 */ b lbl_80322D78 +lbl_80322BF4: +/* 80322BF4 0031FB54 88 1C 00 15 */ lbz r0, 0x15(r28) +/* 80322BF8 0031FB58 28 00 00 00 */ cmplwi r0, 0 +/* 80322BFC 0031FB5C 41 82 00 0C */ beq lbl_80322C08 +/* 80322C00 0031FB60 38 60 00 01 */ li r3, 1 +/* 80322C04 0031FB64 48 00 01 74 */ b lbl_80322D78 +lbl_80322C08: +/* 80322C08 0031FB68 C1 9E 00 04 */ lfs f12, 4(r30) +/* 80322C0C 0031FB6C C1 5E 00 00 */ lfs f10, 0(r30) +/* 80322C10 0031FB70 EC 43 03 32 */ fmuls f2, f3, f12 +/* 80322C14 0031FB74 C3 FE 00 08 */ lfs f31, 8(r30) +/* 80322C18 0031FB78 EC 28 12 BA */ fmadds f1, f8, f10, f2 +/* 80322C1C 0031FB7C EC 29 0F FA */ fmadds f1, f9, f31, f1 +/* 80322C20 0031FB80 FC 01 38 40 */ fcmpo cr0, f1, f7 +/* 80322C24 0031FB84 40 80 01 50 */ bge lbl_80322D74 +/* 80322C28 0031FB88 EC AD 60 28 */ fsubs f5, f13, f12 +/* 80322C2C 0031FB8C C0 22 CA 6C */ lfs f1, lbl_805AE78C@sda21(r2) +/* 80322C30 0031FB90 EC CB 50 28 */ fsubs f6, f11, f10 +/* 80322C34 0031FB94 7F A4 EB 78 */ mr r4, r29 +/* 80322C38 0031FB98 EC 80 F8 28 */ fsubs f4, f0, f31 +/* 80322C3C 0031FB9C 38 A1 00 0C */ addi r5, r1, 0xc +/* 80322C40 0031FBA0 EC 65 00 F2 */ fmuls f3, f5, f3 +/* 80322C44 0031FBA4 D0 C1 00 10 */ stfs f6, 0x10(r1) +/* 80322C48 0031FBA8 EC 4A 12 3A */ fmadds f2, f10, f8, f2 +/* 80322C4C 0031FBAC D0 A1 00 14 */ stfs f5, 0x14(r1) +/* 80322C50 0031FBB0 EC 66 1A 3A */ fmadds f3, f6, f8, f3 +/* 80322C54 0031FBB4 EC 5F 12 7A */ fmadds f2, f31, f9, f2 +/* 80322C58 0031FBB8 D0 81 00 18 */ stfs f4, 0x18(r1) +/* 80322C5C 0031FBBC EC 64 1A 7A */ fmadds f3, f4, f9, f3 +/* 80322C60 0031FBC0 EC 63 F0 28 */ fsubs f3, f3, f30 +/* 80322C64 0031FBC4 FC 60 18 50 */ fneg f3, f3 +/* 80322C68 0031FBC8 EC 43 10 24 */ fdivs f2, f3, f2 +/* 80322C6C 0031FBCC EC 22 08 28 */ fsubs f1, f2, f1 +/* 80322C70 0031FBD0 EC 61 02 B2 */ fmuls f3, f1, f10 +/* 80322C74 0031FBD4 EC 41 03 32 */ fmuls f2, f1, f12 +/* 80322C78 0031FBD8 EC 21 07 F2 */ fmuls f1, f1, f31 +/* 80322C7C 0031FBDC EC 6B 18 2A */ fadds f3, f11, f3 +/* 80322C80 0031FBE0 EC 4D 10 2A */ fadds f2, f13, f2 +/* 80322C84 0031FBE4 EC 00 08 2A */ fadds f0, f0, f1 +/* 80322C88 0031FBE8 D0 7F 00 00 */ stfs f3, 0(r31) +/* 80322C8C 0031FBEC D0 5F 00 04 */ stfs f2, 4(r31) +/* 80322C90 0031FBF0 D0 1F 00 08 */ stfs f0, 8(r31) +/* 80322C94 0031FBF4 D0 E1 00 0C */ stfs f7, 0xc(r1) +/* 80322C98 0031FBF8 80 7C 00 10 */ lwz r3, 0x10(r28) +/* 80322C9C 0031FBFC 81 83 00 00 */ lwz r12, 0(r3) +/* 80322CA0 0031FC00 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80322CA4 0031FC04 7D 89 03 A6 */ mtctr r12 +/* 80322CA8 0031FC08 4E 80 04 21 */ bctrl +/* 80322CAC 0031FC0C C0 A1 00 0C */ lfs f5, 0xc(r1) +/* 80322CB0 0031FC10 7F A4 EB 78 */ mr r4, r29 +/* 80322CB4 0031FC14 C0 1E 00 00 */ lfs f0, 0(r30) +/* 80322CB8 0031FC18 38 A1 00 08 */ addi r5, r1, 8 +/* 80322CBC 0031FC1C C0 9E 00 04 */ lfs f4, 4(r30) +/* 80322CC0 0031FC20 EC 25 00 32 */ fmuls f1, f5, f0 +/* 80322CC4 0031FC24 C0 5E 00 00 */ lfs f2, 0(r30) +/* 80322CC8 0031FC28 C0 7E 00 08 */ lfs f3, 8(r30) +/* 80322CCC 0031FC2C EC 85 01 32 */ fmuls f4, f5, f4 +/* 80322CD0 0031FC30 C0 02 CA 68 */ lfs f0, lbl_805AE788@sda21(r2) +/* 80322CD4 0031FC34 EC 22 08 28 */ fsubs f1, f2, f1 +/* 80322CD8 0031FC38 EC 45 00 F2 */ fmuls f2, f5, f3 +/* 80322CDC 0031FC3C D0 3E 00 00 */ stfs f1, 0(r30) +/* 80322CE0 0031FC40 C0 3E 00 04 */ lfs f1, 4(r30) +/* 80322CE4 0031FC44 EC 21 20 28 */ fsubs f1, f1, f4 +/* 80322CE8 0031FC48 D0 3E 00 04 */ stfs f1, 4(r30) +/* 80322CEC 0031FC4C C0 3E 00 08 */ lfs f1, 8(r30) +/* 80322CF0 0031FC50 EC 21 10 28 */ fsubs f1, f1, f2 +/* 80322CF4 0031FC54 D0 3E 00 08 */ stfs f1, 8(r30) +/* 80322CF8 0031FC58 D0 01 00 08 */ stfs f0, 8(r1) +/* 80322CFC 0031FC5C 80 7C 00 0C */ lwz r3, 0xc(r28) +/* 80322D00 0031FC60 81 83 00 00 */ lwz r12, 0(r3) +/* 80322D04 0031FC64 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80322D08 0031FC68 7D 89 03 A6 */ mtctr r12 +/* 80322D0C 0031FC6C 4E 80 04 21 */ bctrl +/* 80322D10 0031FC70 C0 BC 00 1C */ lfs f5, 0x1c(r28) +/* 80322D14 0031FC74 C0 1E 00 04 */ lfs f0, 4(r30) +/* 80322D18 0031FC78 C0 9C 00 18 */ lfs f4, 0x18(r28) +/* 80322D1C 0031FC7C EC 05 00 32 */ fmuls f0, f5, f0 +/* 80322D20 0031FC80 C0 3E 00 00 */ lfs f1, 0(r30) +/* 80322D24 0031FC84 C0 62 CA 6C */ lfs f3, lbl_805AE78C@sda21(r2) +/* 80322D28 0031FC88 C0 41 00 08 */ lfs f2, 8(r1) +/* 80322D2C 0031FC8C EC 04 00 7A */ fmadds f0, f4, f1, f0 +/* 80322D30 0031FC90 C0 DC 00 20 */ lfs f6, 0x20(r28) +/* 80322D34 0031FC94 C0 3E 00 08 */ lfs f1, 8(r30) +/* 80322D38 0031FC98 EC 43 10 2A */ fadds f2, f3, f2 +/* 80322D3C 0031FC9C C0 7E 00 00 */ lfs f3, 0(r30) +/* 80322D40 0031FCA0 EC 06 00 7A */ fmadds f0, f6, f1, f0 +/* 80322D44 0031FCA4 EC 02 00 32 */ fmuls f0, f2, f0 +/* 80322D48 0031FCA8 EC 40 01 32 */ fmuls f2, f0, f4 +/* 80322D4C 0031FCAC EC 20 01 72 */ fmuls f1, f0, f5 +/* 80322D50 0031FCB0 EC 00 01 B2 */ fmuls f0, f0, f6 +/* 80322D54 0031FCB4 EC 43 10 28 */ fsubs f2, f3, f2 +/* 80322D58 0031FCB8 D0 5E 00 00 */ stfs f2, 0(r30) +/* 80322D5C 0031FCBC C0 5E 00 04 */ lfs f2, 4(r30) +/* 80322D60 0031FCC0 EC 22 08 28 */ fsubs f1, f2, f1 +/* 80322D64 0031FCC4 D0 3E 00 04 */ stfs f1, 4(r30) +/* 80322D68 0031FCC8 C0 3E 00 08 */ lfs f1, 8(r30) +/* 80322D6C 0031FCCC EC 01 00 28 */ fsubs f0, f1, f0 +/* 80322D70 0031FCD0 D0 1E 00 08 */ stfs f0, 8(r30) +lbl_80322D74: +/* 80322D74 0031FCD4 38 60 00 00 */ li r3, 0 +lbl_80322D78: +/* 80322D78 0031FCD8 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 +/* 80322D7C 0031FCDC CB E1 00 50 */ lfd f31, 0x50(r1) +/* 80322D80 0031FCE0 E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 +/* 80322D84 0031FCE4 CB C1 00 40 */ lfd f30, 0x40(r1) +/* 80322D88 0031FCE8 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80322D8C 0031FCEC 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 80322D90 0031FCF0 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 80322D94 0031FCF4 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80322D98 0031FCF8 83 81 00 30 */ lwz r28, 0x30(r1) +/* 80322D9C 0031FCFC 7C 08 03 A6 */ mtlr r0 +/* 80322DA0 0031FD00 38 21 00 60 */ addi r1, r1, 0x60 +/* 80322DA4 0031FD04 4E 80 00 20 */ blr + +.global __dt__10CMVEBounceFv +__dt__10CMVEBounceFv: +/* 80322DA8 0031FD08 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80322DAC 0031FD0C 7C 08 02 A6 */ mflr r0 +/* 80322DB0 0031FD10 90 01 00 14 */ stw r0, 0x14(r1) +/* 80322DB4 0031FD14 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80322DB8 0031FD18 7C 9F 23 78 */ mr r31, r4 +/* 80322DBC 0031FD1C 93 C1 00 08 */ stw r30, 8(r1) +/* 80322DC0 0031FD20 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80322DC4 0031FD24 41 82 00 C8 */ beq lbl_80322E8C +/* 80322DC8 0031FD28 3C 60 80 3F */ lis r3, lbl_803EDC48@ha +/* 80322DCC 0031FD2C 38 03 DC 48 */ addi r0, r3, lbl_803EDC48@l +/* 80322DD0 0031FD30 90 1E 00 00 */ stw r0, 0(r30) +/* 80322DD4 0031FD34 80 7E 00 04 */ lwz r3, 4(r30) +/* 80322DD8 0031FD38 28 03 00 00 */ cmplwi r3, 0 +/* 80322DDC 0031FD3C 41 82 00 18 */ beq lbl_80322DF4 +/* 80322DE0 0031FD40 81 83 00 00 */ lwz r12, 0(r3) +/* 80322DE4 0031FD44 38 80 00 01 */ li r4, 1 +/* 80322DE8 0031FD48 81 8C 00 08 */ lwz r12, 8(r12) +/* 80322DEC 0031FD4C 7D 89 03 A6 */ mtctr r12 +/* 80322DF0 0031FD50 4E 80 04 21 */ bctrl +lbl_80322DF4: +/* 80322DF4 0031FD54 80 7E 00 08 */ lwz r3, 8(r30) +/* 80322DF8 0031FD58 28 03 00 00 */ cmplwi r3, 0 +/* 80322DFC 0031FD5C 41 82 00 18 */ beq lbl_80322E14 +/* 80322E00 0031FD60 81 83 00 00 */ lwz r12, 0(r3) +/* 80322E04 0031FD64 38 80 00 01 */ li r4, 1 +/* 80322E08 0031FD68 81 8C 00 08 */ lwz r12, 8(r12) +/* 80322E0C 0031FD6C 7D 89 03 A6 */ mtctr r12 +/* 80322E10 0031FD70 4E 80 04 21 */ bctrl +lbl_80322E14: +/* 80322E14 0031FD74 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80322E18 0031FD78 28 03 00 00 */ cmplwi r3, 0 +/* 80322E1C 0031FD7C 41 82 00 18 */ beq lbl_80322E34 +/* 80322E20 0031FD80 81 83 00 00 */ lwz r12, 0(r3) +/* 80322E24 0031FD84 38 80 00 01 */ li r4, 1 +/* 80322E28 0031FD88 81 8C 00 08 */ lwz r12, 8(r12) +/* 80322E2C 0031FD8C 7D 89 03 A6 */ mtctr r12 +/* 80322E30 0031FD90 4E 80 04 21 */ bctrl +lbl_80322E34: +/* 80322E34 0031FD94 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 80322E38 0031FD98 28 03 00 00 */ cmplwi r3, 0 +/* 80322E3C 0031FD9C 41 82 00 18 */ beq lbl_80322E54 +/* 80322E40 0031FDA0 81 83 00 00 */ lwz r12, 0(r3) +/* 80322E44 0031FDA4 38 80 00 01 */ li r4, 1 +/* 80322E48 0031FDA8 81 8C 00 08 */ lwz r12, 8(r12) +/* 80322E4C 0031FDAC 7D 89 03 A6 */ mtctr r12 +/* 80322E50 0031FDB0 4E 80 04 21 */ bctrl +lbl_80322E54: +/* 80322E54 0031FDB4 28 1E 00 00 */ cmplwi r30, 0 +/* 80322E58 0031FDB8 41 82 00 20 */ beq lbl_80322E78 +/* 80322E5C 0031FDBC 3C 60 80 3F */ lis r3, lbl_803EC5C8@ha +/* 80322E60 0031FDC0 38 03 C5 C8 */ addi r0, r3, lbl_803EC5C8@l +/* 80322E64 0031FDC4 90 1E 00 00 */ stw r0, 0(r30) +/* 80322E68 0031FDC8 41 82 00 10 */ beq lbl_80322E78 +/* 80322E6C 0031FDCC 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80322E70 0031FDD0 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80322E74 0031FDD4 90 1E 00 00 */ stw r0, 0(r30) +lbl_80322E78: +/* 80322E78 0031FDD8 7F E0 07 35 */ extsh. r0, r31 +/* 80322E7C 0031FDDC 40 81 00 10 */ ble lbl_80322E8C +/* 80322E80 0031FDE0 7F C3 F3 78 */ mr r3, r30 +/* 80322E84 0031FDE4 38 80 00 28 */ li r4, 0x28 +/* 80322E88 0031FDE8 48 04 9B DD */ bl sub_8036ca64 +lbl_80322E8C: +/* 80322E8C 0031FDEC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80322E90 0031FDF0 7F C3 F3 78 */ mr r3, r30 +/* 80322E94 0031FDF4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80322E98 0031FDF8 83 C1 00 08 */ lwz r30, 8(r1) +/* 80322E9C 0031FDFC 7C 08 03 A6 */ mtlr r0 +/* 80322EA0 0031FE00 38 21 00 10 */ addi r1, r1, 0x10 +/* 80322EA4 0031FE04 4E 80 00 20 */ blr + +.global __ct__10CMVEBounceFP14CVectorElementP14CVectorElementP12CRealElementP12CRealElementb +__ct__10CMVEBounceFP14CVectorElementP14CVectorElementP12CRealElementP12CRealElementb: +/* 80322EA8 0031FE08 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80322EAC 0031FE0C 7C 08 02 A6 */ mflr r0 +/* 80322EB0 0031FE10 3D 20 80 3F */ lis r9, lbl_803EC5C8@ha +/* 80322EB4 0031FE14 C0 02 CA 68 */ lfs f0, lbl_805AE788@sda21(r2) +/* 80322EB8 0031FE18 90 01 00 34 */ stw r0, 0x34(r1) +/* 80322EBC 0031FE1C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80322EC0 0031FE20 7C BF 2B 78 */ mr r31, r5 +/* 80322EC4 0031FE24 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80322EC8 0031FE28 7C 9E 23 79 */ or. r30, r4, r4 +/* 80322ECC 0031FE2C 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80322ED0 0031FE30 7C 7D 1B 78 */ mr r29, r3 +/* 80322ED4 0031FE34 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80322ED8 0031FE38 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80322EDC 0031FE3C 7F AA EB 78 */ mr r10, r29 +/* 80322EE0 0031FE40 90 1D 00 00 */ stw r0, 0(r29) +/* 80322EE4 0031FE44 38 09 C5 C8 */ addi r0, r9, lbl_803EC5C8@l +/* 80322EE8 0031FE48 3C 60 80 3F */ lis r3, lbl_803EDC48@ha +/* 80322EEC 0031FE4C 90 1D 00 00 */ stw r0, 0(r29) +/* 80322EF0 0031FE50 38 63 DC 48 */ addi r3, r3, lbl_803EDC48@l +/* 80322EF4 0031FE54 38 00 00 00 */ li r0, 0 +/* 80322EF8 0031FE58 90 7D 00 00 */ stw r3, 0(r29) +/* 80322EFC 0031FE5C 93 DD 00 04 */ stw r30, 4(r29) +/* 80322F00 0031FE60 93 FD 00 08 */ stw r31, 8(r29) +/* 80322F04 0031FE64 90 DD 00 0C */ stw r6, 0xc(r29) +/* 80322F08 0031FE68 90 FD 00 10 */ stw r7, 0x10(r29) +/* 80322F0C 0031FE6C 98 1D 00 14 */ stb r0, 0x14(r29) +/* 80322F10 0031FE70 99 1D 00 15 */ stb r8, 0x15(r29) +/* 80322F14 0031FE74 D0 1D 00 18 */ stfs f0, 0x18(r29) +/* 80322F18 0031FE78 D0 1D 00 1C */ stfs f0, 0x1c(r29) +/* 80322F1C 0031FE7C D0 1D 00 20 */ stfs f0, 0x20(r29) +/* 80322F20 0031FE80 D0 1D 00 24 */ stfs f0, 0x24(r29) +/* 80322F24 0031FE84 41 82 00 F0 */ beq lbl_80323014 +/* 80322F28 0031FE88 28 1F 00 00 */ cmplwi r31, 0 +/* 80322F2C 0031FE8C 41 82 00 E8 */ beq lbl_80323014 +/* 80322F30 0031FE90 7F C3 F3 78 */ mr r3, r30 +/* 80322F34 0031FE94 81 9E 00 00 */ lwz r12, 0(r30) +/* 80322F38 0031FE98 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 80322F3C 0031FE9C 7D 89 03 A6 */ mtctr r12 +/* 80322F40 0031FEA0 4E 80 04 21 */ bctrl +/* 80322F44 0031FEA4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80322F48 0031FEA8 41 82 00 CC */ beq lbl_80323014 +/* 80322F4C 0031FEAC 7F E3 FB 78 */ mr r3, r31 +/* 80322F50 0031FEB0 81 9F 00 00 */ lwz r12, 0(r31) +/* 80322F54 0031FEB4 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 80322F58 0031FEB8 7D 89 03 A6 */ mtctr r12 +/* 80322F5C 0031FEBC 4E 80 04 21 */ bctrl +/* 80322F60 0031FEC0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80322F64 0031FEC4 41 82 00 B0 */ beq lbl_80323014 +/* 80322F68 0031FEC8 38 00 00 01 */ li r0, 1 +/* 80322F6C 0031FECC 7F E3 FB 78 */ mr r3, r31 +/* 80322F70 0031FED0 98 1D 00 14 */ stb r0, 0x14(r29) +/* 80322F74 0031FED4 38 BD 00 18 */ addi r5, r29, 0x18 +/* 80322F78 0031FED8 38 80 00 00 */ li r4, 0 +/* 80322F7C 0031FEDC 81 9F 00 00 */ lwz r12, 0(r31) +/* 80322F80 0031FEE0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80322F84 0031FEE4 7D 89 03 A6 */ mtctr r12 +/* 80322F88 0031FEE8 4E 80 04 21 */ bctrl +/* 80322F8C 0031FEEC 38 7D 00 18 */ addi r3, r29, 0x18 +/* 80322F90 0031FEF0 C0 1D 00 1C */ lfs f0, 0x1c(r29) +/* 80322F94 0031FEF4 C0 5D 00 18 */ lfs f2, 0x18(r29) +/* 80322F98 0031FEF8 C0 7D 00 20 */ lfs f3, 0x20(r29) +/* 80322F9C 0031FEFC EC 20 00 32 */ fmuls f1, f0, f0 +/* 80322FA0 0031FF00 EC 42 00 B2 */ fmuls f2, f2, f2 +/* 80322FA4 0031FF04 C0 02 CA 68 */ lfs f0, lbl_805AE788@sda21(r2) +/* 80322FA8 0031FF08 EC 63 00 F2 */ fmuls f3, f3, f3 +/* 80322FAC 0031FF0C EC 22 08 2A */ fadds f1, f2, f1 +/* 80322FB0 0031FF10 EC 23 08 2A */ fadds f1, f3, f1 +/* 80322FB4 0031FF14 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80322FB8 0031FF18 40 81 00 08 */ ble lbl_80322FC0 +/* 80322FBC 0031FF1C 4B FF 19 3D */ bl Normalize__9CVector3fFv +lbl_80322FC0: +/* 80322FC0 0031FF20 C0 02 CA 68 */ lfs f0, lbl_805AE788@sda21(r2) +/* 80322FC4 0031FF24 7F C3 F3 78 */ mr r3, r30 +/* 80322FC8 0031FF28 38 A1 00 08 */ addi r5, r1, 8 +/* 80322FCC 0031FF2C 38 80 00 00 */ li r4, 0 +/* 80322FD0 0031FF30 D0 01 00 08 */ stfs f0, 8(r1) +/* 80322FD4 0031FF34 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 80322FD8 0031FF38 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 80322FDC 0031FF3C 81 9E 00 00 */ lwz r12, 0(r30) +/* 80322FE0 0031FF40 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80322FE4 0031FF44 7D 89 03 A6 */ mtctr r12 +/* 80322FE8 0031FF48 4E 80 04 21 */ bctrl +/* 80322FEC 0031FF4C C0 3D 00 1C */ lfs f1, 0x1c(r29) +/* 80322FF0 0031FF50 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 80322FF4 0031FF54 C0 5D 00 18 */ lfs f2, 0x18(r29) +/* 80322FF8 0031FF58 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80322FFC 0031FF5C C0 21 00 08 */ lfs f1, 8(r1) +/* 80323000 0031FF60 C0 9D 00 20 */ lfs f4, 0x20(r29) +/* 80323004 0031FF64 C0 61 00 10 */ lfs f3, 0x10(r1) +/* 80323008 0031FF68 EC 02 00 7A */ fmadds f0, f2, f1, f0 +/* 8032300C 0031FF6C EC 04 00 FA */ fmadds f0, f4, f3, f0 +/* 80323010 0031FF70 D0 1D 00 24 */ stfs f0, 0x24(r29) +lbl_80323014: +/* 80323014 0031FF74 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80323018 0031FF78 7F A3 EB 78 */ mr r3, r29 +/* 8032301C 0031FF7C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80323020 0031FF80 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80323024 0031FF84 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80323028 0031FF88 7C 08 03 A6 */ mtlr r0 +/* 8032302C 0031FF8C 38 21 00 30 */ addi r1, r1, 0x30 +/* 80323030 0031FF90 4E 80 00 20 */ blr + +.global GetValue__9CMVESwirlCFiR9CVector3fR9CVector3f +GetValue__9CMVESwirlCFiR9CVector3fR9CVector3f: +/* 80323034 0031FF94 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 80323038 0031FF98 7C 08 02 A6 */ mflr r0 +/* 8032303C 0031FF9C 90 01 00 74 */ stw r0, 0x74(r1) +/* 80323040 0031FFA0 DB E1 00 60 */ stfd f31, 0x60(r1) +/* 80323044 0031FFA4 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 +/* 80323048 0031FFA8 DB C1 00 50 */ stfd f30, 0x50(r1) +/* 8032304C 0031FFAC F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 +/* 80323050 0031FFB0 DB A1 00 40 */ stfd f29, 0x40(r1) +/* 80323054 0031FFB4 F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0 +/* 80323058 0031FFB8 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 8032305C 0031FFBC 93 C1 00 38 */ stw r30, 0x38(r1) +/* 80323060 0031FFC0 93 A1 00 34 */ stw r29, 0x34(r1) +/* 80323064 0031FFC4 93 81 00 30 */ stw r28, 0x30(r1) +/* 80323068 0031FFC8 C0 02 CA 68 */ lfs f0, lbl_805AE788@sda21(r2) +/* 8032306C 0031FFCC 7C 7C 1B 78 */ mr r28, r3 +/* 80323070 0031FFD0 7C BE 2B 78 */ mr r30, r5 +/* 80323074 0031FFD4 80 63 00 04 */ lwz r3, 4(r3) +/* 80323078 0031FFD8 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 8032307C 0031FFDC 7C 9D 23 78 */ mr r29, r4 +/* 80323080 0031FFE0 7C DF 33 78 */ mr r31, r6 +/* 80323084 0031FFE4 38 A1 00 1C */ addi r5, r1, 0x1c +/* 80323088 0031FFE8 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 8032308C 0031FFEC D0 01 00 24 */ stfs f0, 0x24(r1) +/* 80323090 0031FFF0 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 80323094 0031FFF4 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80323098 0031FFF8 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 8032309C 0031FFFC 81 83 00 00 */ lwz r12, 0(r3) +/* 803230A0 00320000 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803230A4 00320004 7D 89 03 A6 */ mtctr r12 +/* 803230A8 00320008 4E 80 04 21 */ bctrl +/* 803230AC 0032000C 80 7C 00 08 */ lwz r3, 8(r28) +/* 803230B0 00320010 7F A4 EB 78 */ mr r4, r29 +/* 803230B4 00320014 38 A1 00 10 */ addi r5, r1, 0x10 +/* 803230B8 00320018 81 83 00 00 */ lwz r12, 0(r3) +/* 803230BC 0032001C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803230C0 00320020 7D 89 03 A6 */ mtctr r12 +/* 803230C4 00320024 4E 80 04 21 */ bctrl +/* 803230C8 00320028 C0 21 00 20 */ lfs f1, 0x20(r1) +/* 803230CC 0032002C 7F A4 EB 78 */ mr r4, r29 +/* 803230D0 00320030 C0 1F 00 04 */ lfs f0, 4(r31) +/* 803230D4 00320034 38 A1 00 0C */ addi r5, r1, 0xc +/* 803230D8 00320038 C0 61 00 1C */ lfs f3, 0x1c(r1) +/* 803230DC 0032003C C0 5F 00 00 */ lfs f2, 0(r31) +/* 803230E0 00320040 EC 81 00 28 */ fsubs f4, f1, f0 +/* 803230E4 00320044 C1 01 00 14 */ lfs f8, 0x14(r1) +/* 803230E8 00320048 EC A3 10 28 */ fsubs f5, f3, f2 +/* 803230EC 0032004C C0 41 00 24 */ lfs f2, 0x24(r1) +/* 803230F0 00320050 C0 3F 00 08 */ lfs f1, 8(r31) +/* 803230F4 00320054 EC 04 02 32 */ fmuls f0, f4, f8 +/* 803230F8 00320058 C0 E1 00 10 */ lfs f7, 0x10(r1) +/* 803230FC 0032005C EC 62 08 28 */ fsubs f3, f2, f1 +/* 80323100 00320060 EC 25 01 FA */ fmadds f1, f5, f7, f0 +/* 80323104 00320064 C1 21 00 18 */ lfs f9, 0x18(r1) +/* 80323108 00320068 C0 02 CA 68 */ lfs f0, lbl_805AE788@sda21(r2) +/* 8032310C 0032006C 80 7C 00 0C */ lwz r3, 0xc(r28) +/* 80323110 00320070 EC C3 0A 7A */ fmadds f6, f3, f9, f1 +/* 80323114 00320074 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 80323118 00320078 D0 01 00 08 */ stfs f0, 8(r1) +/* 8032311C 0032007C EC 46 01 F2 */ fmuls f2, f6, f7 +/* 80323120 00320080 EC 26 02 32 */ fmuls f1, f6, f8 +/* 80323124 00320084 81 83 00 00 */ lwz r12, 0(r3) +/* 80323128 00320088 EC 06 02 72 */ fmuls f0, f6, f9 +/* 8032312C 0032008C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80323130 00320090 EF A5 10 28 */ fsubs f29, f5, f2 +/* 80323134 00320094 EF C4 08 28 */ fsubs f30, f4, f1 +/* 80323138 00320098 EF E3 00 28 */ fsubs f31, f3, f0 +/* 8032313C 0032009C 7D 89 03 A6 */ mtctr r12 +/* 80323140 003200A0 4E 80 04 21 */ bctrl +/* 80323144 003200A4 80 7C 00 10 */ lwz r3, 0x10(r28) +/* 80323148 003200A8 7F A4 EB 78 */ mr r4, r29 +/* 8032314C 003200AC 38 A1 00 08 */ addi r5, r1, 8 +/* 80323150 003200B0 81 83 00 00 */ lwz r12, 0(r3) +/* 80323154 003200B4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80323158 003200B8 7D 89 03 A6 */ mtctr r12 +/* 8032315C 003200BC 4E 80 04 21 */ bctrl +/* 80323160 003200C0 C0 E1 00 14 */ lfs f7, 0x14(r1) +/* 80323164 003200C4 38 60 00 00 */ li r3, 0 +/* 80323168 003200C8 C1 7E 00 04 */ lfs f11, 4(r30) +/* 8032316C 003200CC C1 A1 00 18 */ lfs f13, 0x18(r1) +/* 80323170 003200D0 EC 9D 01 F2 */ fmuls f4, f29, f7 +/* 80323174 003200D4 C0 A1 00 10 */ lfs f5, 0x10(r1) +/* 80323178 003200D8 EC 07 02 F2 */ fmuls f0, f7, f11 +/* 8032317C 003200DC C1 9E 00 00 */ lfs f12, 0(r30) +/* 80323180 003200E0 EC 5E 03 72 */ fmuls f2, f30, f13 +/* 80323184 003200E4 EC 3F 01 72 */ fmuls f1, f31, f5 +/* 80323188 003200E8 EC 65 03 3A */ fmadds f3, f5, f12, f0 +/* 8032318C 003200EC C0 1E 00 08 */ lfs f0, 8(r30) +/* 80323190 003200F0 EC 47 17 F8 */ fmsubs f2, f7, f31, f2 +/* 80323194 003200F4 C0 C1 00 08 */ lfs f6, 8(r1) +/* 80323198 003200F8 EC 2D 0F 78 */ fmsubs f1, f13, f29, f1 +/* 8032319C 003200FC ED 2D 18 3A */ fmadds f9, f13, f0, f3 +/* 803231A0 00320100 ED 05 27 B8 */ fmsubs f8, f5, f30, f4 +/* 803231A4 00320104 C0 62 CA 6C */ lfs f3, lbl_805AE78C@sda21(r2) +/* 803231A8 00320108 EC 46 00 B2 */ fmuls f2, f6, f2 +/* 803231AC 0032010C C1 41 00 0C */ lfs f10, 0xc(r1) +/* 803231B0 00320110 EC A9 01 72 */ fmuls f5, f9, f5 +/* 803231B4 00320114 EC 89 01 F2 */ fmuls f4, f9, f7 +/* 803231B8 00320118 EC E3 50 28 */ fsubs f7, f3, f10 +/* 803231BC 0032011C EC 66 00 72 */ fmuls f3, f6, f1 +/* 803231C0 00320120 EC A5 10 2A */ fadds f5, f5, f2 +/* 803231C4 00320124 EC 49 03 72 */ fmuls f2, f9, f13 +/* 803231C8 00320128 EC 26 02 32 */ fmuls f1, f6, f8 +/* 803231CC 0032012C EC 64 18 2A */ fadds f3, f4, f3 +/* 803231D0 00320130 EC C7 03 32 */ fmuls f6, f7, f12 +/* 803231D4 00320134 EC 8A 01 72 */ fmuls f4, f10, f5 +/* 803231D8 00320138 EC 22 08 2A */ fadds f1, f2, f1 +/* 803231DC 0032013C EC A7 02 F2 */ fmuls f5, f7, f11 +/* 803231E0 00320140 EC 4A 00 F2 */ fmuls f2, f10, f3 +/* 803231E4 00320144 EC 64 30 2A */ fadds f3, f4, f6 +/* 803231E8 00320148 EC 87 00 32 */ fmuls f4, f7, f0 +/* 803231EC 0032014C EC 0A 00 72 */ fmuls f0, f10, f1 +/* 803231F0 00320150 EC 22 28 2A */ fadds f1, f2, f5 +/* 803231F4 00320154 D0 7E 00 00 */ stfs f3, 0(r30) +/* 803231F8 00320158 EC 00 20 2A */ fadds f0, f0, f4 +/* 803231FC 0032015C D0 3E 00 04 */ stfs f1, 4(r30) +/* 80323200 00320160 D0 1E 00 08 */ stfs f0, 8(r30) +/* 80323204 00320164 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 +/* 80323208 00320168 CB E1 00 60 */ lfd f31, 0x60(r1) +/* 8032320C 0032016C E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 +/* 80323210 00320170 CB C1 00 50 */ lfd f30, 0x50(r1) +/* 80323214 00320174 E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0 +/* 80323218 00320178 CB A1 00 40 */ lfd f29, 0x40(r1) +/* 8032321C 0032017C 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80323220 00320180 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 80323224 00320184 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 80323228 00320188 80 01 00 74 */ lwz r0, 0x74(r1) +/* 8032322C 0032018C 83 81 00 30 */ lwz r28, 0x30(r1) +/* 80323230 00320190 7C 08 03 A6 */ mtlr r0 +/* 80323234 00320194 38 21 00 70 */ addi r1, r1, 0x70 +/* 80323238 00320198 4E 80 00 20 */ blr + +.global __dt__9CMVESwirlFv +__dt__9CMVESwirlFv: +/* 8032323C 0032019C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80323240 003201A0 7C 08 02 A6 */ mflr r0 +/* 80323244 003201A4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80323248 003201A8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8032324C 003201AC 7C 9F 23 78 */ mr r31, r4 +/* 80323250 003201B0 93 C1 00 08 */ stw r30, 8(r1) +/* 80323254 003201B4 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80323258 003201B8 41 82 00 C8 */ beq lbl_80323320 +/* 8032325C 003201BC 3C 60 80 3F */ lis r3, lbl_803EDC58@ha +/* 80323260 003201C0 38 03 DC 58 */ addi r0, r3, lbl_803EDC58@l +/* 80323264 003201C4 90 1E 00 00 */ stw r0, 0(r30) +/* 80323268 003201C8 80 7E 00 04 */ lwz r3, 4(r30) +/* 8032326C 003201CC 28 03 00 00 */ cmplwi r3, 0 +/* 80323270 003201D0 41 82 00 18 */ beq lbl_80323288 +/* 80323274 003201D4 81 83 00 00 */ lwz r12, 0(r3) +/* 80323278 003201D8 38 80 00 01 */ li r4, 1 +/* 8032327C 003201DC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80323280 003201E0 7D 89 03 A6 */ mtctr r12 +/* 80323284 003201E4 4E 80 04 21 */ bctrl +lbl_80323288: +/* 80323288 003201E8 80 7E 00 08 */ lwz r3, 8(r30) +/* 8032328C 003201EC 28 03 00 00 */ cmplwi r3, 0 +/* 80323290 003201F0 41 82 00 18 */ beq lbl_803232A8 +/* 80323294 003201F4 81 83 00 00 */ lwz r12, 0(r3) +/* 80323298 003201F8 38 80 00 01 */ li r4, 1 +/* 8032329C 003201FC 81 8C 00 08 */ lwz r12, 8(r12) +/* 803232A0 00320200 7D 89 03 A6 */ mtctr r12 +/* 803232A4 00320204 4E 80 04 21 */ bctrl +lbl_803232A8: +/* 803232A8 00320208 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 803232AC 0032020C 28 03 00 00 */ cmplwi r3, 0 +/* 803232B0 00320210 41 82 00 18 */ beq lbl_803232C8 +/* 803232B4 00320214 81 83 00 00 */ lwz r12, 0(r3) +/* 803232B8 00320218 38 80 00 01 */ li r4, 1 +/* 803232BC 0032021C 81 8C 00 08 */ lwz r12, 8(r12) +/* 803232C0 00320220 7D 89 03 A6 */ mtctr r12 +/* 803232C4 00320224 4E 80 04 21 */ bctrl +lbl_803232C8: +/* 803232C8 00320228 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 803232CC 0032022C 28 03 00 00 */ cmplwi r3, 0 +/* 803232D0 00320230 41 82 00 18 */ beq lbl_803232E8 +/* 803232D4 00320234 81 83 00 00 */ lwz r12, 0(r3) +/* 803232D8 00320238 38 80 00 01 */ li r4, 1 +/* 803232DC 0032023C 81 8C 00 08 */ lwz r12, 8(r12) +/* 803232E0 00320240 7D 89 03 A6 */ mtctr r12 +/* 803232E4 00320244 4E 80 04 21 */ bctrl +lbl_803232E8: +/* 803232E8 00320248 28 1E 00 00 */ cmplwi r30, 0 +/* 803232EC 0032024C 41 82 00 20 */ beq lbl_8032330C +/* 803232F0 00320250 3C 60 80 3F */ lis r3, lbl_803EC5C8@ha +/* 803232F4 00320254 38 03 C5 C8 */ addi r0, r3, lbl_803EC5C8@l +/* 803232F8 00320258 90 1E 00 00 */ stw r0, 0(r30) +/* 803232FC 0032025C 41 82 00 10 */ beq lbl_8032330C +/* 80323300 00320260 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80323304 00320264 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80323308 00320268 90 1E 00 00 */ stw r0, 0(r30) +lbl_8032330C: +/* 8032330C 0032026C 7F E0 07 35 */ extsh. r0, r31 +/* 80323310 00320270 40 81 00 10 */ ble lbl_80323320 +/* 80323314 00320274 7F C3 F3 78 */ mr r3, r30 +/* 80323318 00320278 38 80 00 14 */ li r4, 0x14 +/* 8032331C 0032027C 48 04 97 49 */ bl sub_8036ca64 +lbl_80323320: +/* 80323320 00320280 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80323324 00320284 7F C3 F3 78 */ mr r3, r30 +/* 80323328 00320288 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8032332C 0032028C 83 C1 00 08 */ lwz r30, 8(r1) +/* 80323330 00320290 7C 08 03 A6 */ mtlr r0 +/* 80323334 00320294 38 21 00 10 */ addi r1, r1, 0x10 +/* 80323338 00320298 4E 80 00 20 */ blr + +.global __ct__9CMVESwirlFP14CVectorElementP14CVectorElementP12CRealElementP12CRealElement +__ct__9CMVESwirlFP14CVectorElementP14CVectorElementP12CRealElementP12CRealElement: +/* 8032333C 0032029C 3D 40 80 3F */ lis r10, lbl_803EC5A8@ha +/* 80323340 003202A0 3D 20 80 3F */ lis r9, lbl_803EC5C8@ha +/* 80323344 003202A4 38 0A C5 A8 */ addi r0, r10, lbl_803EC5A8@l +/* 80323348 003202A8 3D 00 80 3F */ lis r8, lbl_803EDC58@ha +/* 8032334C 003202AC 90 03 00 00 */ stw r0, 0(r3) +/* 80323350 003202B0 39 29 C5 C8 */ addi r9, r9, lbl_803EC5C8@l +/* 80323354 003202B4 38 08 DC 58 */ addi r0, r8, lbl_803EDC58@l +/* 80323358 003202B8 91 23 00 00 */ stw r9, 0(r3) +/* 8032335C 003202BC 90 03 00 00 */ stw r0, 0(r3) +/* 80323360 003202C0 90 83 00 04 */ stw r4, 4(r3) +/* 80323364 003202C4 90 A3 00 08 */ stw r5, 8(r3) +/* 80323368 003202C8 90 C3 00 0C */ stw r6, 0xc(r3) +/* 8032336C 003202CC 90 E3 00 10 */ stw r7, 0x10(r3) +/* 80323370 003202D0 4E 80 00 20 */ blr + +.global GetValue__24CMVEExponentialImplosionCFiR9CVector3fR9CVector3f +GetValue__24CMVEExponentialImplosionCFiR9CVector3fR9CVector3f: +/* 80323374 003202D4 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 80323378 003202D8 7C 08 02 A6 */ mflr r0 +/* 8032337C 003202DC 90 01 00 84 */ stw r0, 0x84(r1) +/* 80323380 003202E0 DB E1 00 70 */ stfd f31, 0x70(r1) +/* 80323384 003202E4 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 +/* 80323388 003202E8 DB C1 00 60 */ stfd f30, 0x60(r1) +/* 8032338C 003202EC F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 +/* 80323390 003202F0 DB A1 00 50 */ stfd f29, 0x50(r1) +/* 80323394 003202F4 F3 A1 00 58 */ psq_st f29, 88(r1), 0, qr0 +/* 80323398 003202F8 DB 81 00 40 */ stfd f28, 0x40(r1) +/* 8032339C 003202FC F3 81 00 48 */ psq_st f28, 72(r1), 0, qr0 +/* 803233A0 00320300 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 803233A4 00320304 93 C1 00 38 */ stw r30, 0x38(r1) +/* 803233A8 00320308 93 A1 00 34 */ stw r29, 0x34(r1) +/* 803233AC 0032030C 93 81 00 30 */ stw r28, 0x30(r1) +/* 803233B0 00320310 C0 02 CA 68 */ lfs f0, lbl_805AE788@sda21(r2) +/* 803233B4 00320314 7C 7C 1B 78 */ mr r28, r3 +/* 803233B8 00320318 7C BE 2B 78 */ mr r30, r5 +/* 803233BC 0032031C 80 63 00 04 */ lwz r3, 4(r3) +/* 803233C0 00320320 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 803233C4 00320324 7C 9D 23 78 */ mr r29, r4 +/* 803233C8 00320328 7C DF 33 78 */ mr r31, r6 +/* 803233CC 0032032C 38 A1 00 20 */ addi r5, r1, 0x20 +/* 803233D0 00320330 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 803233D4 00320334 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 803233D8 00320338 81 83 00 00 */ lwz r12, 0(r3) +/* 803233DC 0032033C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803233E0 00320340 7D 89 03 A6 */ mtctr r12 +/* 803233E4 00320344 4E 80 04 21 */ bctrl +/* 803233E8 00320348 C0 21 00 24 */ lfs f1, 0x24(r1) +/* 803233EC 0032034C 38 61 00 14 */ addi r3, r1, 0x14 +/* 803233F0 00320350 C0 1F 00 04 */ lfs f0, 4(r31) +/* 803233F4 00320354 C0 61 00 28 */ lfs f3, 0x28(r1) +/* 803233F8 00320358 C0 5F 00 08 */ lfs f2, 8(r31) +/* 803233FC 0032035C EC 81 00 28 */ fsubs f4, f1, f0 +/* 80323400 00320360 C0 1F 00 00 */ lfs f0, 0(r31) +/* 80323404 00320364 C0 21 00 20 */ lfs f1, 0x20(r1) +/* 80323408 00320368 EC 43 10 28 */ fsubs f2, f3, f2 +/* 8032340C 0032036C D0 81 00 18 */ stfs f4, 0x18(r1) +/* 80323410 00320370 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80323414 00320374 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 80323418 00320378 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 8032341C 0032037C 4B FF 14 9D */ bl Magnitude__9CVector3fCFv +/* 80323420 00320380 80 7C 00 0C */ lwz r3, 0xc(r28) +/* 80323424 00320384 FF E0 08 90 */ fmr f31, f1 +/* 80323428 00320388 7F A4 EB 78 */ mr r4, r29 +/* 8032342C 0032038C 38 A1 00 10 */ addi r5, r1, 0x10 +/* 80323430 00320390 81 83 00 00 */ lwz r12, 0(r3) +/* 80323434 00320394 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80323438 00320398 7D 89 03 A6 */ mtctr r12 +/* 8032343C 0032039C 4E 80 04 21 */ bctrl +/* 80323440 003203A0 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 80323444 003203A4 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 80323448 003203A8 40 81 00 0C */ ble lbl_80323454 +/* 8032344C 003203AC 38 60 00 00 */ li r3, 0 +/* 80323450 003203B0 48 00 00 D4 */ b lbl_80323524 +lbl_80323454: +/* 80323454 003203B4 80 7C 00 10 */ lwz r3, 0x10(r28) +/* 80323458 003203B8 7F A4 EB 78 */ mr r4, r29 +/* 8032345C 003203BC 38 A1 00 0C */ addi r5, r1, 0xc +/* 80323460 003203C0 81 83 00 00 */ lwz r12, 0(r3) +/* 80323464 003203C4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80323468 003203C8 7D 89 03 A6 */ mtctr r12 +/* 8032346C 003203CC 4E 80 04 21 */ bctrl +/* 80323470 003203D0 88 1C 00 14 */ lbz r0, 0x14(r28) +/* 80323474 003203D4 28 00 00 00 */ cmplwi r0, 0 +/* 80323478 003203D8 41 82 00 18 */ beq lbl_80323490 +/* 8032347C 003203DC C0 01 00 0C */ lfs f0, 0xc(r1) +/* 80323480 003203E0 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 80323484 003203E4 40 80 00 0C */ bge lbl_80323490 +/* 80323488 003203E8 38 60 00 01 */ li r3, 1 +/* 8032348C 003203EC 48 00 00 98 */ b lbl_80323524 +lbl_80323490: +/* 80323490 003203F0 C0 02 CA 68 */ lfs f0, lbl_805AE788@sda21(r2) +/* 80323494 003203F4 FC 00 F8 00 */ fcmpu cr0, f0, f31 +/* 80323498 003203F8 40 82 00 0C */ bne lbl_803234A4 +/* 8032349C 003203FC 38 60 00 00 */ li r3, 0 +/* 803234A0 00320400 48 00 00 84 */ b lbl_80323524 +lbl_803234A4: +/* 803234A4 00320404 C0 02 CA 6C */ lfs f0, lbl_805AE78C@sda21(r2) +/* 803234A8 00320408 7F A4 EB 78 */ mr r4, r29 +/* 803234AC 0032040C 80 7C 00 08 */ lwz r3, 8(r28) +/* 803234B0 00320410 38 A1 00 08 */ addi r5, r1, 8 +/* 803234B4 00320414 EC 60 F8 24 */ fdivs f3, f0, f31 +/* 803234B8 00320418 C0 41 00 14 */ lfs f2, 0x14(r1) +/* 803234BC 0032041C 81 83 00 00 */ lwz r12, 0(r3) +/* 803234C0 00320420 C0 21 00 18 */ lfs f1, 0x18(r1) +/* 803234C4 00320424 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 803234C8 00320428 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803234CC 0032042C EF 83 00 B2 */ fmuls f28, f3, f2 +/* 803234D0 00320430 EF A3 00 72 */ fmuls f29, f3, f1 +/* 803234D4 00320434 EF C3 00 32 */ fmuls f30, f3, f0 +/* 803234D8 00320438 7D 89 03 A6 */ mtctr r12 +/* 803234DC 0032043C 4E 80 04 21 */ bctrl +/* 803234E0 00320440 C0 01 00 08 */ lfs f0, 8(r1) +/* 803234E4 00320444 38 60 00 00 */ li r3, 0 +/* 803234E8 00320448 C0 7E 00 00 */ lfs f3, 0(r30) +/* 803234EC 0032044C EC 40 07 32 */ fmuls f2, f0, f28 +/* 803234F0 00320450 EC 20 07 72 */ fmuls f1, f0, f29 +/* 803234F4 00320454 EC 00 07 B2 */ fmuls f0, f0, f30 +/* 803234F8 00320458 EC 5F 00 B2 */ fmuls f2, f31, f2 +/* 803234FC 0032045C EC 3F 00 72 */ fmuls f1, f31, f1 +/* 80323500 00320460 EC 1F 00 32 */ fmuls f0, f31, f0 +/* 80323504 00320464 EC 43 10 2A */ fadds f2, f3, f2 +/* 80323508 00320468 D0 5E 00 00 */ stfs f2, 0(r30) +/* 8032350C 0032046C C0 5E 00 04 */ lfs f2, 4(r30) +/* 80323510 00320470 EC 22 08 2A */ fadds f1, f2, f1 +/* 80323514 00320474 D0 3E 00 04 */ stfs f1, 4(r30) +/* 80323518 00320478 C0 3E 00 08 */ lfs f1, 8(r30) +/* 8032351C 0032047C EC 01 00 2A */ fadds f0, f1, f0 +/* 80323520 00320480 D0 1E 00 08 */ stfs f0, 8(r30) +lbl_80323524: +/* 80323524 00320484 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 +/* 80323528 00320488 CB E1 00 70 */ lfd f31, 0x70(r1) +/* 8032352C 0032048C E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 +/* 80323530 00320490 CB C1 00 60 */ lfd f30, 0x60(r1) +/* 80323534 00320494 E3 A1 00 58 */ psq_l f29, 88(r1), 0, qr0 +/* 80323538 00320498 CB A1 00 50 */ lfd f29, 0x50(r1) +/* 8032353C 0032049C E3 81 00 48 */ psq_l f28, 72(r1), 0, qr0 +/* 80323540 003204A0 CB 81 00 40 */ lfd f28, 0x40(r1) +/* 80323544 003204A4 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80323548 003204A8 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 8032354C 003204AC 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 80323550 003204B0 80 01 00 84 */ lwz r0, 0x84(r1) +/* 80323554 003204B4 83 81 00 30 */ lwz r28, 0x30(r1) +/* 80323558 003204B8 7C 08 03 A6 */ mtlr r0 +/* 8032355C 003204BC 38 21 00 80 */ addi r1, r1, 0x80 +/* 80323560 003204C0 4E 80 00 20 */ blr + +.global __dt__24CMVEExponentialImplosionFv +__dt__24CMVEExponentialImplosionFv: +/* 80323564 003204C4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80323568 003204C8 7C 08 02 A6 */ mflr r0 +/* 8032356C 003204CC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80323570 003204D0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80323574 003204D4 7C 9F 23 78 */ mr r31, r4 +/* 80323578 003204D8 93 C1 00 08 */ stw r30, 8(r1) +/* 8032357C 003204DC 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80323580 003204E0 41 82 00 C8 */ beq lbl_80323648 +/* 80323584 003204E4 3C 60 80 3F */ lis r3, lbl_803EDC68@ha +/* 80323588 003204E8 38 03 DC 68 */ addi r0, r3, lbl_803EDC68@l +/* 8032358C 003204EC 90 1E 00 00 */ stw r0, 0(r30) +/* 80323590 003204F0 80 7E 00 04 */ lwz r3, 4(r30) +/* 80323594 003204F4 28 03 00 00 */ cmplwi r3, 0 +/* 80323598 003204F8 41 82 00 18 */ beq lbl_803235B0 +/* 8032359C 003204FC 81 83 00 00 */ lwz r12, 0(r3) +/* 803235A0 00320500 38 80 00 01 */ li r4, 1 +/* 803235A4 00320504 81 8C 00 08 */ lwz r12, 8(r12) +/* 803235A8 00320508 7D 89 03 A6 */ mtctr r12 +/* 803235AC 0032050C 4E 80 04 21 */ bctrl +lbl_803235B0: +/* 803235B0 00320510 80 7E 00 08 */ lwz r3, 8(r30) +/* 803235B4 00320514 28 03 00 00 */ cmplwi r3, 0 +/* 803235B8 00320518 41 82 00 18 */ beq lbl_803235D0 +/* 803235BC 0032051C 81 83 00 00 */ lwz r12, 0(r3) +/* 803235C0 00320520 38 80 00 01 */ li r4, 1 +/* 803235C4 00320524 81 8C 00 08 */ lwz r12, 8(r12) +/* 803235C8 00320528 7D 89 03 A6 */ mtctr r12 +/* 803235CC 0032052C 4E 80 04 21 */ bctrl +lbl_803235D0: +/* 803235D0 00320530 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 803235D4 00320534 28 03 00 00 */ cmplwi r3, 0 +/* 803235D8 00320538 41 82 00 18 */ beq lbl_803235F0 +/* 803235DC 0032053C 81 83 00 00 */ lwz r12, 0(r3) +/* 803235E0 00320540 38 80 00 01 */ li r4, 1 +/* 803235E4 00320544 81 8C 00 08 */ lwz r12, 8(r12) +/* 803235E8 00320548 7D 89 03 A6 */ mtctr r12 +/* 803235EC 0032054C 4E 80 04 21 */ bctrl +lbl_803235F0: +/* 803235F0 00320550 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 803235F4 00320554 28 03 00 00 */ cmplwi r3, 0 +/* 803235F8 00320558 41 82 00 18 */ beq lbl_80323610 +/* 803235FC 0032055C 81 83 00 00 */ lwz r12, 0(r3) +/* 80323600 00320560 38 80 00 01 */ li r4, 1 +/* 80323604 00320564 81 8C 00 08 */ lwz r12, 8(r12) +/* 80323608 00320568 7D 89 03 A6 */ mtctr r12 +/* 8032360C 0032056C 4E 80 04 21 */ bctrl +lbl_80323610: +/* 80323610 00320570 28 1E 00 00 */ cmplwi r30, 0 +/* 80323614 00320574 41 82 00 20 */ beq lbl_80323634 +/* 80323618 00320578 3C 60 80 3F */ lis r3, lbl_803EC5C8@ha +/* 8032361C 0032057C 38 03 C5 C8 */ addi r0, r3, lbl_803EC5C8@l +/* 80323620 00320580 90 1E 00 00 */ stw r0, 0(r30) +/* 80323624 00320584 41 82 00 10 */ beq lbl_80323634 +/* 80323628 00320588 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 8032362C 0032058C 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80323630 00320590 90 1E 00 00 */ stw r0, 0(r30) +lbl_80323634: +/* 80323634 00320594 7F E0 07 35 */ extsh. r0, r31 +/* 80323638 00320598 40 81 00 10 */ ble lbl_80323648 +/* 8032363C 0032059C 7F C3 F3 78 */ mr r3, r30 +/* 80323640 003205A0 38 80 00 18 */ li r4, 0x18 +/* 80323644 003205A4 48 04 94 21 */ bl sub_8036ca64 +lbl_80323648: +/* 80323648 003205A8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8032364C 003205AC 7F C3 F3 78 */ mr r3, r30 +/* 80323650 003205B0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80323654 003205B4 83 C1 00 08 */ lwz r30, 8(r1) +/* 80323658 003205B8 7C 08 03 A6 */ mtlr r0 +/* 8032365C 003205BC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80323660 003205C0 4E 80 00 20 */ blr + +.global __ct__24CMVEExponentialImplosionFP14CVectorElementP12CRealElementP12CRealElementP12CRealElementb +__ct__24CMVEExponentialImplosionFP14CVectorElementP12CRealElementP12CRealElementP12CRealElementb: +/* 80323664 003205C4 3D 60 80 3F */ lis r11, lbl_803EC5A8@ha +/* 80323668 003205C8 3D 40 80 3F */ lis r10, lbl_803EC5C8@ha +/* 8032366C 003205CC 38 0B C5 A8 */ addi r0, r11, lbl_803EC5A8@l +/* 80323670 003205D0 3D 20 80 3F */ lis r9, lbl_803EDC68@ha +/* 80323674 003205D4 90 03 00 00 */ stw r0, 0(r3) +/* 80323678 003205D8 39 4A C5 C8 */ addi r10, r10, lbl_803EC5C8@l +/* 8032367C 003205DC 38 09 DC 68 */ addi r0, r9, lbl_803EDC68@l +/* 80323680 003205E0 91 43 00 00 */ stw r10, 0(r3) +/* 80323684 003205E4 90 03 00 00 */ stw r0, 0(r3) +/* 80323688 003205E8 90 83 00 04 */ stw r4, 4(r3) +/* 8032368C 003205EC 90 A3 00 08 */ stw r5, 8(r3) +/* 80323690 003205F0 90 C3 00 0C */ stw r6, 0xc(r3) +/* 80323694 003205F4 90 E3 00 10 */ stw r7, 0x10(r3) +/* 80323698 003205F8 99 03 00 14 */ stb r8, 0x14(r3) +/* 8032369C 003205FC 4E 80 00 20 */ blr + +.global GetValue__19CMVELinearImplosionCFiR9CVector3fR9CVector3f +GetValue__19CMVELinearImplosionCFiR9CVector3fR9CVector3f: +/* 803236A0 00320600 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 803236A4 00320604 7C 08 02 A6 */ mflr r0 +/* 803236A8 00320608 90 01 00 74 */ stw r0, 0x74(r1) +/* 803236AC 0032060C DB E1 00 60 */ stfd f31, 0x60(r1) +/* 803236B0 00320610 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 +/* 803236B4 00320614 DB C1 00 50 */ stfd f30, 0x50(r1) +/* 803236B8 00320618 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 +/* 803236BC 0032061C DB A1 00 40 */ stfd f29, 0x40(r1) +/* 803236C0 00320620 F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0 +/* 803236C4 00320624 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 803236C8 00320628 93 C1 00 38 */ stw r30, 0x38(r1) +/* 803236CC 0032062C 93 A1 00 34 */ stw r29, 0x34(r1) +/* 803236D0 00320630 93 81 00 30 */ stw r28, 0x30(r1) +/* 803236D4 00320634 C0 02 CA 68 */ lfs f0, lbl_805AE788@sda21(r2) +/* 803236D8 00320638 7C 7C 1B 78 */ mr r28, r3 +/* 803236DC 0032063C 7C BE 2B 78 */ mr r30, r5 +/* 803236E0 00320640 80 63 00 04 */ lwz r3, 4(r3) +/* 803236E4 00320644 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 803236E8 00320648 7C 9D 23 78 */ mr r29, r4 +/* 803236EC 0032064C 7C DF 33 78 */ mr r31, r6 +/* 803236F0 00320650 38 A1 00 20 */ addi r5, r1, 0x20 +/* 803236F4 00320654 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 803236F8 00320658 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 803236FC 0032065C 81 83 00 00 */ lwz r12, 0(r3) +/* 80323700 00320660 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80323704 00320664 7D 89 03 A6 */ mtctr r12 +/* 80323708 00320668 4E 80 04 21 */ bctrl +/* 8032370C 0032066C C0 21 00 24 */ lfs f1, 0x24(r1) +/* 80323710 00320670 38 61 00 14 */ addi r3, r1, 0x14 +/* 80323714 00320674 C0 1F 00 04 */ lfs f0, 4(r31) +/* 80323718 00320678 C0 61 00 28 */ lfs f3, 0x28(r1) +/* 8032371C 0032067C C0 5F 00 08 */ lfs f2, 8(r31) +/* 80323720 00320680 EC 81 00 28 */ fsubs f4, f1, f0 +/* 80323724 00320684 C0 1F 00 00 */ lfs f0, 0(r31) +/* 80323728 00320688 C0 21 00 20 */ lfs f1, 0x20(r1) +/* 8032372C 0032068C EC 43 10 28 */ fsubs f2, f3, f2 +/* 80323730 00320690 D0 81 00 18 */ stfs f4, 0x18(r1) +/* 80323734 00320694 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80323738 00320698 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 8032373C 0032069C D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80323740 003206A0 4B FF 11 79 */ bl Magnitude__9CVector3fCFv +/* 80323744 003206A4 80 7C 00 0C */ lwz r3, 0xc(r28) +/* 80323748 003206A8 FF E0 08 90 */ fmr f31, f1 +/* 8032374C 003206AC 7F A4 EB 78 */ mr r4, r29 +/* 80323750 003206B0 38 A1 00 10 */ addi r5, r1, 0x10 +/* 80323754 003206B4 81 83 00 00 */ lwz r12, 0(r3) +/* 80323758 003206B8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8032375C 003206BC 7D 89 03 A6 */ mtctr r12 +/* 80323760 003206C0 4E 80 04 21 */ bctrl +/* 80323764 003206C4 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 80323768 003206C8 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 8032376C 003206CC 40 81 00 0C */ ble lbl_80323778 +/* 80323770 003206D0 38 60 00 00 */ li r3, 0 +/* 80323774 003206D4 48 00 00 B0 */ b lbl_80323824 +lbl_80323778: +/* 80323778 003206D8 80 7C 00 10 */ lwz r3, 0x10(r28) +/* 8032377C 003206DC 7F A4 EB 78 */ mr r4, r29 +/* 80323780 003206E0 38 A1 00 0C */ addi r5, r1, 0xc +/* 80323784 003206E4 81 83 00 00 */ lwz r12, 0(r3) +/* 80323788 003206E8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8032378C 003206EC 7D 89 03 A6 */ mtctr r12 +/* 80323790 003206F0 4E 80 04 21 */ bctrl +/* 80323794 003206F4 88 1C 00 14 */ lbz r0, 0x14(r28) +/* 80323798 003206F8 28 00 00 00 */ cmplwi r0, 0 +/* 8032379C 003206FC 41 82 00 18 */ beq lbl_803237B4 +/* 803237A0 00320700 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 803237A4 00320704 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 803237A8 00320708 40 80 00 0C */ bge lbl_803237B4 +/* 803237AC 0032070C 38 60 00 01 */ li r3, 1 +/* 803237B0 00320710 48 00 00 74 */ b lbl_80323824 +lbl_803237B4: +/* 803237B4 00320714 C0 02 CA 68 */ lfs f0, lbl_805AE788@sda21(r2) +/* 803237B8 00320718 FC 00 F8 00 */ fcmpu cr0, f0, f31 +/* 803237BC 0032071C 40 82 00 0C */ bne lbl_803237C8 +/* 803237C0 00320720 38 60 00 00 */ li r3, 0 +/* 803237C4 00320724 48 00 00 60 */ b lbl_80323824 +lbl_803237C8: +/* 803237C8 00320728 C0 02 CA 6C */ lfs f0, lbl_805AE78C@sda21(r2) +/* 803237CC 0032072C 7F A4 EB 78 */ mr r4, r29 +/* 803237D0 00320730 80 7C 00 08 */ lwz r3, 8(r28) +/* 803237D4 00320734 38 A1 00 08 */ addi r5, r1, 8 +/* 803237D8 00320738 EC 60 F8 24 */ fdivs f3, f0, f31 +/* 803237DC 0032073C C0 41 00 14 */ lfs f2, 0x14(r1) +/* 803237E0 00320740 81 83 00 00 */ lwz r12, 0(r3) +/* 803237E4 00320744 C0 21 00 18 */ lfs f1, 0x18(r1) +/* 803237E8 00320748 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 803237EC 0032074C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803237F0 00320750 EF A3 00 B2 */ fmuls f29, f3, f2 +/* 803237F4 00320754 EF C3 00 72 */ fmuls f30, f3, f1 +/* 803237F8 00320758 EF E3 00 32 */ fmuls f31, f3, f0 +/* 803237FC 0032075C 7D 89 03 A6 */ mtctr r12 +/* 80323800 00320760 4E 80 04 21 */ bctrl +/* 80323804 00320764 C0 01 00 08 */ lfs f0, 8(r1) +/* 80323808 00320768 38 60 00 00 */ li r3, 0 +/* 8032380C 0032076C EC 40 07 72 */ fmuls f2, f0, f29 +/* 80323810 00320770 EC 20 07 B2 */ fmuls f1, f0, f30 +/* 80323814 00320774 EC 00 07 F2 */ fmuls f0, f0, f31 +/* 80323818 00320778 D0 5E 00 00 */ stfs f2, 0(r30) +/* 8032381C 0032077C D0 3E 00 04 */ stfs f1, 4(r30) +/* 80323820 00320780 D0 1E 00 08 */ stfs f0, 8(r30) +lbl_80323824: +/* 80323824 00320784 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 +/* 80323828 00320788 CB E1 00 60 */ lfd f31, 0x60(r1) +/* 8032382C 0032078C E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 +/* 80323830 00320790 CB C1 00 50 */ lfd f30, 0x50(r1) +/* 80323834 00320794 E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0 +/* 80323838 00320798 CB A1 00 40 */ lfd f29, 0x40(r1) +/* 8032383C 0032079C 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80323840 003207A0 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 80323844 003207A4 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 80323848 003207A8 80 01 00 74 */ lwz r0, 0x74(r1) +/* 8032384C 003207AC 83 81 00 30 */ lwz r28, 0x30(r1) +/* 80323850 003207B0 7C 08 03 A6 */ mtlr r0 +/* 80323854 003207B4 38 21 00 70 */ addi r1, r1, 0x70 +/* 80323858 003207B8 4E 80 00 20 */ blr + +.global __dt__19CMVELinearImplosionFv +__dt__19CMVELinearImplosionFv: +/* 8032385C 003207BC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80323860 003207C0 7C 08 02 A6 */ mflr r0 +/* 80323864 003207C4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80323868 003207C8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8032386C 003207CC 7C 9F 23 78 */ mr r31, r4 +/* 80323870 003207D0 93 C1 00 08 */ stw r30, 8(r1) +/* 80323874 003207D4 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80323878 003207D8 41 82 00 C8 */ beq lbl_80323940 +/* 8032387C 003207DC 3C 60 80 3F */ lis r3, lbl_803EDC78@ha +/* 80323880 003207E0 38 03 DC 78 */ addi r0, r3, lbl_803EDC78@l +/* 80323884 003207E4 90 1E 00 00 */ stw r0, 0(r30) +/* 80323888 003207E8 80 7E 00 04 */ lwz r3, 4(r30) +/* 8032388C 003207EC 28 03 00 00 */ cmplwi r3, 0 +/* 80323890 003207F0 41 82 00 18 */ beq lbl_803238A8 +/* 80323894 003207F4 81 83 00 00 */ lwz r12, 0(r3) +/* 80323898 003207F8 38 80 00 01 */ li r4, 1 +/* 8032389C 003207FC 81 8C 00 08 */ lwz r12, 8(r12) +/* 803238A0 00320800 7D 89 03 A6 */ mtctr r12 +/* 803238A4 00320804 4E 80 04 21 */ bctrl +lbl_803238A8: +/* 803238A8 00320808 80 7E 00 08 */ lwz r3, 8(r30) +/* 803238AC 0032080C 28 03 00 00 */ cmplwi r3, 0 +/* 803238B0 00320810 41 82 00 18 */ beq lbl_803238C8 +/* 803238B4 00320814 81 83 00 00 */ lwz r12, 0(r3) +/* 803238B8 00320818 38 80 00 01 */ li r4, 1 +/* 803238BC 0032081C 81 8C 00 08 */ lwz r12, 8(r12) +/* 803238C0 00320820 7D 89 03 A6 */ mtctr r12 +/* 803238C4 00320824 4E 80 04 21 */ bctrl +lbl_803238C8: +/* 803238C8 00320828 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 803238CC 0032082C 28 03 00 00 */ cmplwi r3, 0 +/* 803238D0 00320830 41 82 00 18 */ beq lbl_803238E8 +/* 803238D4 00320834 81 83 00 00 */ lwz r12, 0(r3) +/* 803238D8 00320838 38 80 00 01 */ li r4, 1 +/* 803238DC 0032083C 81 8C 00 08 */ lwz r12, 8(r12) +/* 803238E0 00320840 7D 89 03 A6 */ mtctr r12 +/* 803238E4 00320844 4E 80 04 21 */ bctrl +lbl_803238E8: +/* 803238E8 00320848 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 803238EC 0032084C 28 03 00 00 */ cmplwi r3, 0 +/* 803238F0 00320850 41 82 00 18 */ beq lbl_80323908 +/* 803238F4 00320854 81 83 00 00 */ lwz r12, 0(r3) +/* 803238F8 00320858 38 80 00 01 */ li r4, 1 +/* 803238FC 0032085C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80323900 00320860 7D 89 03 A6 */ mtctr r12 +/* 80323904 00320864 4E 80 04 21 */ bctrl +lbl_80323908: +/* 80323908 00320868 28 1E 00 00 */ cmplwi r30, 0 +/* 8032390C 0032086C 41 82 00 20 */ beq lbl_8032392C +/* 80323910 00320870 3C 60 80 3F */ lis r3, lbl_803EC5C8@ha +/* 80323914 00320874 38 03 C5 C8 */ addi r0, r3, lbl_803EC5C8@l +/* 80323918 00320878 90 1E 00 00 */ stw r0, 0(r30) +/* 8032391C 0032087C 41 82 00 10 */ beq lbl_8032392C +/* 80323920 00320880 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80323924 00320884 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80323928 00320888 90 1E 00 00 */ stw r0, 0(r30) +lbl_8032392C: +/* 8032392C 0032088C 7F E0 07 35 */ extsh. r0, r31 +/* 80323930 00320890 40 81 00 10 */ ble lbl_80323940 +/* 80323934 00320894 7F C3 F3 78 */ mr r3, r30 +/* 80323938 00320898 38 80 00 18 */ li r4, 0x18 +/* 8032393C 0032089C 48 04 91 29 */ bl sub_8036ca64 +lbl_80323940: +/* 80323940 003208A0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80323944 003208A4 7F C3 F3 78 */ mr r3, r30 +/* 80323948 003208A8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8032394C 003208AC 83 C1 00 08 */ lwz r30, 8(r1) +/* 80323950 003208B0 7C 08 03 A6 */ mtlr r0 +/* 80323954 003208B4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80323958 003208B8 4E 80 00 20 */ blr + +.global __ct__19CMVELinearImplosionFP14CVectorElementP12CRealElementP12CRealElementP12CRealElementb +__ct__19CMVELinearImplosionFP14CVectorElementP12CRealElementP12CRealElementP12CRealElementb: +/* 8032395C 003208BC 3D 60 80 3F */ lis r11, lbl_803EC5A8@ha +/* 80323960 003208C0 3D 40 80 3F */ lis r10, lbl_803EC5C8@ha +/* 80323964 003208C4 38 0B C5 A8 */ addi r0, r11, lbl_803EC5A8@l +/* 80323968 003208C8 3D 20 80 3F */ lis r9, lbl_803EDC78@ha +/* 8032396C 003208CC 90 03 00 00 */ stw r0, 0(r3) +/* 80323970 003208D0 39 4A C5 C8 */ addi r10, r10, lbl_803EC5C8@l +/* 80323974 003208D4 38 09 DC 78 */ addi r0, r9, lbl_803EDC78@l +/* 80323978 003208D8 91 43 00 00 */ stw r10, 0(r3) +/* 8032397C 003208DC 90 03 00 00 */ stw r0, 0(r3) +/* 80323980 003208E0 90 83 00 04 */ stw r4, 4(r3) +/* 80323984 003208E4 90 A3 00 08 */ stw r5, 8(r3) +/* 80323988 003208E8 90 C3 00 0C */ stw r6, 0xc(r3) +/* 8032398C 003208EC 90 E3 00 10 */ stw r7, 0x10(r3) +/* 80323990 003208F0 99 03 00 14 */ stb r8, 0x14(r3) +/* 80323994 003208F4 4E 80 00 20 */ blr + +.global GetValue__13CMVEImplosionCFiR9CVector3fR9CVector3f +GetValue__13CMVEImplosionCFiR9CVector3fR9CVector3f: +/* 80323998 003208F8 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 8032399C 003208FC 7C 08 02 A6 */ mflr r0 +/* 803239A0 00320900 90 01 00 74 */ stw r0, 0x74(r1) +/* 803239A4 00320904 DB E1 00 60 */ stfd f31, 0x60(r1) +/* 803239A8 00320908 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 +/* 803239AC 0032090C DB C1 00 50 */ stfd f30, 0x50(r1) +/* 803239B0 00320910 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 +/* 803239B4 00320914 DB A1 00 40 */ stfd f29, 0x40(r1) +/* 803239B8 00320918 F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0 +/* 803239BC 0032091C 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 803239C0 00320920 93 C1 00 38 */ stw r30, 0x38(r1) +/* 803239C4 00320924 93 A1 00 34 */ stw r29, 0x34(r1) +/* 803239C8 00320928 93 81 00 30 */ stw r28, 0x30(r1) +/* 803239CC 0032092C C0 02 CA 68 */ lfs f0, lbl_805AE788@sda21(r2) +/* 803239D0 00320930 7C 7C 1B 78 */ mr r28, r3 +/* 803239D4 00320934 7C BE 2B 78 */ mr r30, r5 +/* 803239D8 00320938 80 63 00 04 */ lwz r3, 4(r3) +/* 803239DC 0032093C D0 01 00 20 */ stfs f0, 0x20(r1) +/* 803239E0 00320940 7C 9D 23 78 */ mr r29, r4 +/* 803239E4 00320944 7C DF 33 78 */ mr r31, r6 +/* 803239E8 00320948 38 A1 00 20 */ addi r5, r1, 0x20 +/* 803239EC 0032094C D0 01 00 24 */ stfs f0, 0x24(r1) +/* 803239F0 00320950 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 803239F4 00320954 81 83 00 00 */ lwz r12, 0(r3) +/* 803239F8 00320958 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803239FC 0032095C 7D 89 03 A6 */ mtctr r12 +/* 80323A00 00320960 4E 80 04 21 */ bctrl +/* 80323A04 00320964 C0 21 00 24 */ lfs f1, 0x24(r1) +/* 80323A08 00320968 38 61 00 14 */ addi r3, r1, 0x14 +/* 80323A0C 0032096C C0 1F 00 04 */ lfs f0, 4(r31) +/* 80323A10 00320970 C0 61 00 28 */ lfs f3, 0x28(r1) +/* 80323A14 00320974 C0 5F 00 08 */ lfs f2, 8(r31) +/* 80323A18 00320978 EC 81 00 28 */ fsubs f4, f1, f0 +/* 80323A1C 0032097C C0 1F 00 00 */ lfs f0, 0(r31) +/* 80323A20 00320980 C0 21 00 20 */ lfs f1, 0x20(r1) +/* 80323A24 00320984 EC 43 10 28 */ fsubs f2, f3, f2 +/* 80323A28 00320988 D0 81 00 18 */ stfs f4, 0x18(r1) +/* 80323A2C 0032098C EC 01 00 28 */ fsubs f0, f1, f0 +/* 80323A30 00320990 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 80323A34 00320994 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80323A38 00320998 4B FF 0E 81 */ bl Magnitude__9CVector3fCFv +/* 80323A3C 0032099C 80 7C 00 0C */ lwz r3, 0xc(r28) +/* 80323A40 003209A0 FF E0 08 90 */ fmr f31, f1 +/* 80323A44 003209A4 7F A4 EB 78 */ mr r4, r29 +/* 80323A48 003209A8 38 A1 00 10 */ addi r5, r1, 0x10 +/* 80323A4C 003209AC 81 83 00 00 */ lwz r12, 0(r3) +/* 80323A50 003209B0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80323A54 003209B4 7D 89 03 A6 */ mtctr r12 +/* 80323A58 003209B8 4E 80 04 21 */ bctrl +/* 80323A5C 003209BC C0 01 00 10 */ lfs f0, 0x10(r1) +/* 80323A60 003209C0 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 80323A64 003209C4 40 81 00 0C */ ble lbl_80323A70 +/* 80323A68 003209C8 38 60 00 00 */ li r3, 0 +/* 80323A6C 003209CC 48 00 00 C8 */ b lbl_80323B34 +lbl_80323A70: +/* 80323A70 003209D0 80 7C 00 10 */ lwz r3, 0x10(r28) +/* 80323A74 003209D4 7F A4 EB 78 */ mr r4, r29 +/* 80323A78 003209D8 38 A1 00 0C */ addi r5, r1, 0xc +/* 80323A7C 003209DC 81 83 00 00 */ lwz r12, 0(r3) +/* 80323A80 003209E0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80323A84 003209E4 7D 89 03 A6 */ mtctr r12 +/* 80323A88 003209E8 4E 80 04 21 */ bctrl +/* 80323A8C 003209EC 88 1C 00 14 */ lbz r0, 0x14(r28) +/* 80323A90 003209F0 28 00 00 00 */ cmplwi r0, 0 +/* 80323A94 003209F4 41 82 00 18 */ beq lbl_80323AAC +/* 80323A98 003209F8 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 80323A9C 003209FC FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 80323AA0 00320A00 40 80 00 0C */ bge lbl_80323AAC +/* 80323AA4 00320A04 38 60 00 01 */ li r3, 1 +/* 80323AA8 00320A08 48 00 00 8C */ b lbl_80323B34 +lbl_80323AAC: +/* 80323AAC 00320A0C C0 02 CA 68 */ lfs f0, lbl_805AE788@sda21(r2) +/* 80323AB0 00320A10 FC 00 F8 00 */ fcmpu cr0, f0, f31 +/* 80323AB4 00320A14 40 82 00 0C */ bne lbl_80323AC0 +/* 80323AB8 00320A18 38 60 00 00 */ li r3, 0 +/* 80323ABC 00320A1C 48 00 00 78 */ b lbl_80323B34 +lbl_80323AC0: +/* 80323AC0 00320A20 C0 02 CA 6C */ lfs f0, lbl_805AE78C@sda21(r2) +/* 80323AC4 00320A24 7F A4 EB 78 */ mr r4, r29 +/* 80323AC8 00320A28 80 7C 00 08 */ lwz r3, 8(r28) +/* 80323ACC 00320A2C 38 A1 00 08 */ addi r5, r1, 8 +/* 80323AD0 00320A30 EC 60 F8 24 */ fdivs f3, f0, f31 +/* 80323AD4 00320A34 C0 41 00 14 */ lfs f2, 0x14(r1) +/* 80323AD8 00320A38 81 83 00 00 */ lwz r12, 0(r3) +/* 80323ADC 00320A3C C0 21 00 18 */ lfs f1, 0x18(r1) +/* 80323AE0 00320A40 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 80323AE4 00320A44 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80323AE8 00320A48 EF A3 00 B2 */ fmuls f29, f3, f2 +/* 80323AEC 00320A4C EF C3 00 72 */ fmuls f30, f3, f1 +/* 80323AF0 00320A50 EF E3 00 32 */ fmuls f31, f3, f0 +/* 80323AF4 00320A54 7D 89 03 A6 */ mtctr r12 +/* 80323AF8 00320A58 4E 80 04 21 */ bctrl +/* 80323AFC 00320A5C C0 01 00 08 */ lfs f0, 8(r1) +/* 80323B00 00320A60 38 60 00 00 */ li r3, 0 +/* 80323B04 00320A64 C0 7E 00 00 */ lfs f3, 0(r30) +/* 80323B08 00320A68 EC 40 07 72 */ fmuls f2, f0, f29 +/* 80323B0C 00320A6C EC 20 07 B2 */ fmuls f1, f0, f30 +/* 80323B10 00320A70 EC 00 07 F2 */ fmuls f0, f0, f31 +/* 80323B14 00320A74 EC 43 10 2A */ fadds f2, f3, f2 +/* 80323B18 00320A78 D0 5E 00 00 */ stfs f2, 0(r30) +/* 80323B1C 00320A7C C0 5E 00 04 */ lfs f2, 4(r30) +/* 80323B20 00320A80 EC 22 08 2A */ fadds f1, f2, f1 +/* 80323B24 00320A84 D0 3E 00 04 */ stfs f1, 4(r30) +/* 80323B28 00320A88 C0 3E 00 08 */ lfs f1, 8(r30) +/* 80323B2C 00320A8C EC 01 00 2A */ fadds f0, f1, f0 +/* 80323B30 00320A90 D0 1E 00 08 */ stfs f0, 8(r30) +lbl_80323B34: +/* 80323B34 00320A94 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 +/* 80323B38 00320A98 CB E1 00 60 */ lfd f31, 0x60(r1) +/* 80323B3C 00320A9C E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 +/* 80323B40 00320AA0 CB C1 00 50 */ lfd f30, 0x50(r1) +/* 80323B44 00320AA4 E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0 +/* 80323B48 00320AA8 CB A1 00 40 */ lfd f29, 0x40(r1) +/* 80323B4C 00320AAC 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80323B50 00320AB0 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 80323B54 00320AB4 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 80323B58 00320AB8 80 01 00 74 */ lwz r0, 0x74(r1) +/* 80323B5C 00320ABC 83 81 00 30 */ lwz r28, 0x30(r1) +/* 80323B60 00320AC0 7C 08 03 A6 */ mtlr r0 +/* 80323B64 00320AC4 38 21 00 70 */ addi r1, r1, 0x70 +/* 80323B68 00320AC8 4E 80 00 20 */ blr + +.global __dt__13CMVEImplosionFv +__dt__13CMVEImplosionFv: +/* 80323B6C 00320ACC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80323B70 00320AD0 7C 08 02 A6 */ mflr r0 +/* 80323B74 00320AD4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80323B78 00320AD8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80323B7C 00320ADC 7C 9F 23 78 */ mr r31, r4 +/* 80323B80 00320AE0 93 C1 00 08 */ stw r30, 8(r1) +/* 80323B84 00320AE4 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80323B88 00320AE8 41 82 00 C8 */ beq lbl_80323C50 +/* 80323B8C 00320AEC 3C 60 80 3F */ lis r3, lbl_803EDC88@ha +/* 80323B90 00320AF0 38 03 DC 88 */ addi r0, r3, lbl_803EDC88@l +/* 80323B94 00320AF4 90 1E 00 00 */ stw r0, 0(r30) +/* 80323B98 00320AF8 80 7E 00 04 */ lwz r3, 4(r30) +/* 80323B9C 00320AFC 28 03 00 00 */ cmplwi r3, 0 +/* 80323BA0 00320B00 41 82 00 18 */ beq lbl_80323BB8 +/* 80323BA4 00320B04 81 83 00 00 */ lwz r12, 0(r3) +/* 80323BA8 00320B08 38 80 00 01 */ li r4, 1 +/* 80323BAC 00320B0C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80323BB0 00320B10 7D 89 03 A6 */ mtctr r12 +/* 80323BB4 00320B14 4E 80 04 21 */ bctrl +lbl_80323BB8: +/* 80323BB8 00320B18 80 7E 00 08 */ lwz r3, 8(r30) +/* 80323BBC 00320B1C 28 03 00 00 */ cmplwi r3, 0 +/* 80323BC0 00320B20 41 82 00 18 */ beq lbl_80323BD8 +/* 80323BC4 00320B24 81 83 00 00 */ lwz r12, 0(r3) +/* 80323BC8 00320B28 38 80 00 01 */ li r4, 1 +/* 80323BCC 00320B2C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80323BD0 00320B30 7D 89 03 A6 */ mtctr r12 +/* 80323BD4 00320B34 4E 80 04 21 */ bctrl +lbl_80323BD8: +/* 80323BD8 00320B38 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80323BDC 00320B3C 28 03 00 00 */ cmplwi r3, 0 +/* 80323BE0 00320B40 41 82 00 18 */ beq lbl_80323BF8 +/* 80323BE4 00320B44 81 83 00 00 */ lwz r12, 0(r3) +/* 80323BE8 00320B48 38 80 00 01 */ li r4, 1 +/* 80323BEC 00320B4C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80323BF0 00320B50 7D 89 03 A6 */ mtctr r12 +/* 80323BF4 00320B54 4E 80 04 21 */ bctrl +lbl_80323BF8: +/* 80323BF8 00320B58 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 80323BFC 00320B5C 28 03 00 00 */ cmplwi r3, 0 +/* 80323C00 00320B60 41 82 00 18 */ beq lbl_80323C18 +/* 80323C04 00320B64 81 83 00 00 */ lwz r12, 0(r3) +/* 80323C08 00320B68 38 80 00 01 */ li r4, 1 +/* 80323C0C 00320B6C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80323C10 00320B70 7D 89 03 A6 */ mtctr r12 +/* 80323C14 00320B74 4E 80 04 21 */ bctrl +lbl_80323C18: +/* 80323C18 00320B78 28 1E 00 00 */ cmplwi r30, 0 +/* 80323C1C 00320B7C 41 82 00 20 */ beq lbl_80323C3C +/* 80323C20 00320B80 3C 60 80 3F */ lis r3, lbl_803EC5C8@ha +/* 80323C24 00320B84 38 03 C5 C8 */ addi r0, r3, lbl_803EC5C8@l +/* 80323C28 00320B88 90 1E 00 00 */ stw r0, 0(r30) +/* 80323C2C 00320B8C 41 82 00 10 */ beq lbl_80323C3C +/* 80323C30 00320B90 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80323C34 00320B94 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80323C38 00320B98 90 1E 00 00 */ stw r0, 0(r30) +lbl_80323C3C: +/* 80323C3C 00320B9C 7F E0 07 35 */ extsh. r0, r31 +/* 80323C40 00320BA0 40 81 00 10 */ ble lbl_80323C50 +/* 80323C44 00320BA4 7F C3 F3 78 */ mr r3, r30 +/* 80323C48 00320BA8 38 80 00 18 */ li r4, 0x18 +/* 80323C4C 00320BAC 48 04 8E 19 */ bl sub_8036ca64 +lbl_80323C50: +/* 80323C50 00320BB0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80323C54 00320BB4 7F C3 F3 78 */ mr r3, r30 +/* 80323C58 00320BB8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80323C5C 00320BBC 83 C1 00 08 */ lwz r30, 8(r1) +/* 80323C60 00320BC0 7C 08 03 A6 */ mtlr r0 +/* 80323C64 00320BC4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80323C68 00320BC8 4E 80 00 20 */ blr + +.global __ct__13CMVEImplosionFP14CVectorElementP12CRealElementP12CRealElementP12CRealElementb +__ct__13CMVEImplosionFP14CVectorElementP12CRealElementP12CRealElementP12CRealElementb: +/* 80323C6C 00320BCC 3D 60 80 3F */ lis r11, lbl_803EC5A8@ha +/* 80323C70 00320BD0 3D 40 80 3F */ lis r10, lbl_803EC5C8@ha +/* 80323C74 00320BD4 38 0B C5 A8 */ addi r0, r11, lbl_803EC5A8@l +/* 80323C78 00320BD8 3D 20 80 3F */ lis r9, lbl_803EDC88@ha +/* 80323C7C 00320BDC 90 03 00 00 */ stw r0, 0(r3) +/* 80323C80 00320BE0 39 4A C5 C8 */ addi r10, r10, lbl_803EC5C8@l +/* 80323C84 00320BE4 38 09 DC 88 */ addi r0, r9, lbl_803EDC88@l +/* 80323C88 00320BE8 91 43 00 00 */ stw r10, 0(r3) +/* 80323C8C 00320BEC 90 03 00 00 */ stw r0, 0(r3) +/* 80323C90 00320BF0 90 83 00 04 */ stw r4, 4(r3) +/* 80323C94 00320BF4 90 A3 00 08 */ stw r5, 8(r3) +/* 80323C98 00320BF8 90 C3 00 0C */ stw r6, 0xc(r3) +/* 80323C9C 00320BFC 90 E3 00 10 */ stw r7, 0x10(r3) +/* 80323CA0 00320C00 99 03 00 14 */ stb r8, 0x14(r3) +/* 80323CA4 00320C04 4E 80 00 20 */ blr + +.global GetValue__9CMVEPulseCFiR9CVector3fR9CVector3f +GetValue__9CMVEPulseCFiR9CVector3fR9CVector3f: +/* 80323CA8 00320C08 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80323CAC 00320C0C 7C 08 02 A6 */ mflr r0 +/* 80323CB0 00320C10 90 01 00 24 */ stw r0, 0x24(r1) +/* 80323CB4 00320C14 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80323CB8 00320C18 7C DF 33 78 */ mr r31, r6 +/* 80323CBC 00320C1C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80323CC0 00320C20 7C BE 2B 78 */ mr r30, r5 +/* 80323CC4 00320C24 38 A1 00 0C */ addi r5, r1, 0xc +/* 80323CC8 00320C28 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80323CCC 00320C2C 7C 9D 23 78 */ mr r29, r4 +/* 80323CD0 00320C30 93 81 00 10 */ stw r28, 0x10(r1) +/* 80323CD4 00320C34 7C 7C 1B 78 */ mr r28, r3 +/* 80323CD8 00320C38 80 63 00 04 */ lwz r3, 4(r3) +/* 80323CDC 00320C3C 81 83 00 00 */ lwz r12, 0(r3) +/* 80323CE0 00320C40 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80323CE4 00320C44 7D 89 03 A6 */ mtctr r12 +/* 80323CE8 00320C48 4E 80 04 21 */ bctrl +/* 80323CEC 00320C4C 80 7C 00 08 */ lwz r3, 8(r28) +/* 80323CF0 00320C50 7F A4 EB 78 */ mr r4, r29 +/* 80323CF4 00320C54 38 A1 00 08 */ addi r5, r1, 8 +/* 80323CF8 00320C58 81 83 00 00 */ lwz r12, 0(r3) +/* 80323CFC 00320C5C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80323D00 00320C60 7D 89 03 A6 */ mtctr r12 +/* 80323D04 00320C64 4E 80 04 21 */ bctrl +/* 80323D08 00320C68 80 61 00 08 */ lwz r3, 8(r1) +/* 80323D0C 00320C6C 80 81 00 0C */ lwz r4, 0xc(r1) +/* 80323D10 00320C70 38 A3 00 01 */ addi r5, r3, 1 +/* 80323D14 00320C74 7C A4 2A 15 */ add. r5, r4, r5 +/* 80323D18 00320C78 40 80 00 08 */ bge lbl_80323D20 +/* 80323D1C 00320C7C 38 A0 00 01 */ li r5, 1 +lbl_80323D20: +/* 80323D20 00320C80 2C 03 00 01 */ cmpwi r3, 1 +/* 80323D24 00320C84 41 80 00 60 */ blt lbl_80323D84 +/* 80323D28 00320C88 7C 1D 2B D6 */ divw r0, r29, r5 +/* 80323D2C 00320C8C 7C 00 29 D6 */ mullw r0, r0, r5 +/* 80323D30 00320C90 7C 00 E8 50 */ subf r0, r0, r29 +/* 80323D34 00320C94 7C 00 20 00 */ cmpw r0, r4 +/* 80323D38 00320C98 40 81 00 28 */ ble lbl_80323D60 +/* 80323D3C 00320C9C 80 7C 00 10 */ lwz r3, 0x10(r28) +/* 80323D40 00320CA0 7F A4 EB 78 */ mr r4, r29 +/* 80323D44 00320CA4 7F C5 F3 78 */ mr r5, r30 +/* 80323D48 00320CA8 7F E6 FB 78 */ mr r6, r31 +/* 80323D4C 00320CAC 81 83 00 00 */ lwz r12, 0(r3) +/* 80323D50 00320CB0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80323D54 00320CB4 7D 89 03 A6 */ mtctr r12 +/* 80323D58 00320CB8 4E 80 04 21 */ bctrl +/* 80323D5C 00320CBC 48 00 00 48 */ b lbl_80323DA4 +lbl_80323D60: +/* 80323D60 00320CC0 80 7C 00 0C */ lwz r3, 0xc(r28) +/* 80323D64 00320CC4 7F A4 EB 78 */ mr r4, r29 +/* 80323D68 00320CC8 7F C5 F3 78 */ mr r5, r30 +/* 80323D6C 00320CCC 7F E6 FB 78 */ mr r6, r31 +/* 80323D70 00320CD0 81 83 00 00 */ lwz r12, 0(r3) +/* 80323D74 00320CD4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80323D78 00320CD8 7D 89 03 A6 */ mtctr r12 +/* 80323D7C 00320CDC 4E 80 04 21 */ bctrl +/* 80323D80 00320CE0 48 00 00 24 */ b lbl_80323DA4 +lbl_80323D84: +/* 80323D84 00320CE4 80 7C 00 0C */ lwz r3, 0xc(r28) +/* 80323D88 00320CE8 7F A4 EB 78 */ mr r4, r29 +/* 80323D8C 00320CEC 7F C5 F3 78 */ mr r5, r30 +/* 80323D90 00320CF0 7F E6 FB 78 */ mr r6, r31 +/* 80323D94 00320CF4 81 83 00 00 */ lwz r12, 0(r3) +/* 80323D98 00320CF8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80323D9C 00320CFC 7D 89 03 A6 */ mtctr r12 +/* 80323DA0 00320D00 4E 80 04 21 */ bctrl +lbl_80323DA4: +/* 80323DA4 00320D04 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80323DA8 00320D08 38 60 00 00 */ li r3, 0 +/* 80323DAC 00320D0C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80323DB0 00320D10 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80323DB4 00320D14 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80323DB8 00320D18 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80323DBC 00320D1C 7C 08 03 A6 */ mtlr r0 +/* 80323DC0 00320D20 38 21 00 20 */ addi r1, r1, 0x20 +/* 80323DC4 00320D24 4E 80 00 20 */ blr + +.global __dt__9CMVEPulseFv +__dt__9CMVEPulseFv: +/* 80323DC8 00320D28 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80323DCC 00320D2C 7C 08 02 A6 */ mflr r0 +/* 80323DD0 00320D30 90 01 00 14 */ stw r0, 0x14(r1) +/* 80323DD4 00320D34 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80323DD8 00320D38 7C 9F 23 78 */ mr r31, r4 +/* 80323DDC 00320D3C 93 C1 00 08 */ stw r30, 8(r1) +/* 80323DE0 00320D40 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80323DE4 00320D44 41 82 00 C8 */ beq lbl_80323EAC +/* 80323DE8 00320D48 3C 60 80 3F */ lis r3, lbl_803EDC98@ha +/* 80323DEC 00320D4C 38 03 DC 98 */ addi r0, r3, lbl_803EDC98@l +/* 80323DF0 00320D50 90 1E 00 00 */ stw r0, 0(r30) +/* 80323DF4 00320D54 80 7E 00 04 */ lwz r3, 4(r30) +/* 80323DF8 00320D58 28 03 00 00 */ cmplwi r3, 0 +/* 80323DFC 00320D5C 41 82 00 18 */ beq lbl_80323E14 +/* 80323E00 00320D60 81 83 00 00 */ lwz r12, 0(r3) +/* 80323E04 00320D64 38 80 00 01 */ li r4, 1 +/* 80323E08 00320D68 81 8C 00 08 */ lwz r12, 8(r12) +/* 80323E0C 00320D6C 7D 89 03 A6 */ mtctr r12 +/* 80323E10 00320D70 4E 80 04 21 */ bctrl +lbl_80323E14: +/* 80323E14 00320D74 80 7E 00 08 */ lwz r3, 8(r30) +/* 80323E18 00320D78 28 03 00 00 */ cmplwi r3, 0 +/* 80323E1C 00320D7C 41 82 00 18 */ beq lbl_80323E34 +/* 80323E20 00320D80 81 83 00 00 */ lwz r12, 0(r3) +/* 80323E24 00320D84 38 80 00 01 */ li r4, 1 +/* 80323E28 00320D88 81 8C 00 08 */ lwz r12, 8(r12) +/* 80323E2C 00320D8C 7D 89 03 A6 */ mtctr r12 +/* 80323E30 00320D90 4E 80 04 21 */ bctrl +lbl_80323E34: +/* 80323E34 00320D94 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80323E38 00320D98 28 03 00 00 */ cmplwi r3, 0 +/* 80323E3C 00320D9C 41 82 00 18 */ beq lbl_80323E54 +/* 80323E40 00320DA0 81 83 00 00 */ lwz r12, 0(r3) +/* 80323E44 00320DA4 38 80 00 01 */ li r4, 1 +/* 80323E48 00320DA8 81 8C 00 08 */ lwz r12, 8(r12) +/* 80323E4C 00320DAC 7D 89 03 A6 */ mtctr r12 +/* 80323E50 00320DB0 4E 80 04 21 */ bctrl +lbl_80323E54: +/* 80323E54 00320DB4 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 80323E58 00320DB8 28 03 00 00 */ cmplwi r3, 0 +/* 80323E5C 00320DBC 41 82 00 18 */ beq lbl_80323E74 +/* 80323E60 00320DC0 81 83 00 00 */ lwz r12, 0(r3) +/* 80323E64 00320DC4 38 80 00 01 */ li r4, 1 +/* 80323E68 00320DC8 81 8C 00 08 */ lwz r12, 8(r12) +/* 80323E6C 00320DCC 7D 89 03 A6 */ mtctr r12 +/* 80323E70 00320DD0 4E 80 04 21 */ bctrl +lbl_80323E74: +/* 80323E74 00320DD4 28 1E 00 00 */ cmplwi r30, 0 +/* 80323E78 00320DD8 41 82 00 20 */ beq lbl_80323E98 +/* 80323E7C 00320DDC 3C 60 80 3F */ lis r3, lbl_803EC5C8@ha +/* 80323E80 00320DE0 38 03 C5 C8 */ addi r0, r3, lbl_803EC5C8@l +/* 80323E84 00320DE4 90 1E 00 00 */ stw r0, 0(r30) +/* 80323E88 00320DE8 41 82 00 10 */ beq lbl_80323E98 +/* 80323E8C 00320DEC 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80323E90 00320DF0 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80323E94 00320DF4 90 1E 00 00 */ stw r0, 0(r30) +lbl_80323E98: +/* 80323E98 00320DF8 7F E0 07 35 */ extsh. r0, r31 +/* 80323E9C 00320DFC 40 81 00 10 */ ble lbl_80323EAC +/* 80323EA0 00320E00 7F C3 F3 78 */ mr r3, r30 +/* 80323EA4 00320E04 38 80 00 14 */ li r4, 0x14 +/* 80323EA8 00320E08 48 04 8B BD */ bl sub_8036ca64 +lbl_80323EAC: +/* 80323EAC 00320E0C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80323EB0 00320E10 7F C3 F3 78 */ mr r3, r30 +/* 80323EB4 00320E14 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80323EB8 00320E18 83 C1 00 08 */ lwz r30, 8(r1) +/* 80323EBC 00320E1C 7C 08 03 A6 */ mtlr r0 +/* 80323EC0 00320E20 38 21 00 10 */ addi r1, r1, 0x10 +/* 80323EC4 00320E24 4E 80 00 20 */ blr + +.global __ct__9CMVEPulseFP11CIntElementP11CIntElementP17CModVectorElementP17CModVectorElement +__ct__9CMVEPulseFP11CIntElementP11CIntElementP17CModVectorElementP17CModVectorElement: +/* 80323EC8 00320E28 3D 40 80 3F */ lis r10, lbl_803EC5A8@ha +/* 80323ECC 00320E2C 3D 20 80 3F */ lis r9, lbl_803EC5C8@ha +/* 80323ED0 00320E30 38 0A C5 A8 */ addi r0, r10, lbl_803EC5A8@l +/* 80323ED4 00320E34 3D 00 80 3F */ lis r8, lbl_803EDC98@ha +/* 80323ED8 00320E38 90 03 00 00 */ stw r0, 0(r3) +/* 80323EDC 00320E3C 39 29 C5 C8 */ addi r9, r9, lbl_803EC5C8@l +/* 80323EE0 00320E40 38 08 DC 98 */ addi r0, r8, lbl_803EDC98@l +/* 80323EE4 00320E44 91 23 00 00 */ stw r9, 0(r3) +/* 80323EE8 00320E48 90 03 00 00 */ stw r0, 0(r3) +/* 80323EEC 00320E4C 90 83 00 04 */ stw r4, 4(r3) +/* 80323EF0 00320E50 90 A3 00 08 */ stw r5, 8(r3) +/* 80323EF4 00320E54 90 C3 00 0C */ stw r6, 0xc(r3) +/* 80323EF8 00320E58 90 E3 00 10 */ stw r7, 0x10(r3) +/* 80323EFC 00320E5C 4E 80 00 20 */ blr + +.global GetValue__13CMVETimeChainCFiR9CVector3fR9CVector3f +GetValue__13CMVETimeChainCFiR9CVector3fR9CVector3f: +/* 80323F00 00320E60 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80323F04 00320E64 7C 08 02 A6 */ mflr r0 +/* 80323F08 00320E68 90 01 00 24 */ stw r0, 0x24(r1) +/* 80323F0C 00320E6C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80323F10 00320E70 7C DF 33 78 */ mr r31, r6 +/* 80323F14 00320E74 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80323F18 00320E78 7C BE 2B 78 */ mr r30, r5 +/* 80323F1C 00320E7C 38 A1 00 08 */ addi r5, r1, 8 +/* 80323F20 00320E80 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80323F24 00320E84 7C 9D 23 78 */ mr r29, r4 +/* 80323F28 00320E88 93 81 00 10 */ stw r28, 0x10(r1) +/* 80323F2C 00320E8C 7C 7C 1B 78 */ mr r28, r3 +/* 80323F30 00320E90 80 63 00 0C */ lwz r3, 0xc(r3) +/* 80323F34 00320E94 81 83 00 00 */ lwz r12, 0(r3) +/* 80323F38 00320E98 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80323F3C 00320E9C 7D 89 03 A6 */ mtctr r12 +/* 80323F40 00320EA0 4E 80 04 21 */ bctrl +/* 80323F44 00320EA4 80 01 00 08 */ lwz r0, 8(r1) +/* 80323F48 00320EA8 7C 1D 00 00 */ cmpw r29, r0 +/* 80323F4C 00320EAC 40 80 00 28 */ bge lbl_80323F74 +/* 80323F50 00320EB0 80 7C 00 04 */ lwz r3, 4(r28) +/* 80323F54 00320EB4 7F A4 EB 78 */ mr r4, r29 +/* 80323F58 00320EB8 7F C5 F3 78 */ mr r5, r30 +/* 80323F5C 00320EBC 7F E6 FB 78 */ mr r6, r31 +/* 80323F60 00320EC0 81 83 00 00 */ lwz r12, 0(r3) +/* 80323F64 00320EC4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80323F68 00320EC8 7D 89 03 A6 */ mtctr r12 +/* 80323F6C 00320ECC 4E 80 04 21 */ bctrl +/* 80323F70 00320ED0 48 00 00 24 */ b lbl_80323F94 +lbl_80323F74: +/* 80323F74 00320ED4 80 7C 00 08 */ lwz r3, 8(r28) +/* 80323F78 00320ED8 7F C5 F3 78 */ mr r5, r30 +/* 80323F7C 00320EDC 7F E6 FB 78 */ mr r6, r31 +/* 80323F80 00320EE0 7C 80 E8 50 */ subf r4, r0, r29 +/* 80323F84 00320EE4 81 83 00 00 */ lwz r12, 0(r3) +/* 80323F88 00320EE8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80323F8C 00320EEC 7D 89 03 A6 */ mtctr r12 +/* 80323F90 00320EF0 4E 80 04 21 */ bctrl +lbl_80323F94: +/* 80323F94 00320EF4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80323F98 00320EF8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80323F9C 00320EFC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80323FA0 00320F00 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80323FA4 00320F04 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80323FA8 00320F08 7C 08 03 A6 */ mtlr r0 +/* 80323FAC 00320F0C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80323FB0 00320F10 4E 80 00 20 */ blr + +.global __dt__13CMVETimeChainFv +__dt__13CMVETimeChainFv: +/* 80323FB4 00320F14 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80323FB8 00320F18 7C 08 02 A6 */ mflr r0 +/* 80323FBC 00320F1C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80323FC0 00320F20 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80323FC4 00320F24 7C 9F 23 78 */ mr r31, r4 +/* 80323FC8 00320F28 93 C1 00 08 */ stw r30, 8(r1) +/* 80323FCC 00320F2C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80323FD0 00320F30 41 82 00 A8 */ beq lbl_80324078 +/* 80323FD4 00320F34 3C 60 80 3F */ lis r3, lbl_803EDCA8@ha +/* 80323FD8 00320F38 38 03 DC A8 */ addi r0, r3, lbl_803EDCA8@l +/* 80323FDC 00320F3C 90 1E 00 00 */ stw r0, 0(r30) +/* 80323FE0 00320F40 80 7E 00 04 */ lwz r3, 4(r30) +/* 80323FE4 00320F44 28 03 00 00 */ cmplwi r3, 0 +/* 80323FE8 00320F48 41 82 00 18 */ beq lbl_80324000 +/* 80323FEC 00320F4C 81 83 00 00 */ lwz r12, 0(r3) +/* 80323FF0 00320F50 38 80 00 01 */ li r4, 1 +/* 80323FF4 00320F54 81 8C 00 08 */ lwz r12, 8(r12) +/* 80323FF8 00320F58 7D 89 03 A6 */ mtctr r12 +/* 80323FFC 00320F5C 4E 80 04 21 */ bctrl +lbl_80324000: +/* 80324000 00320F60 80 7E 00 08 */ lwz r3, 8(r30) +/* 80324004 00320F64 28 03 00 00 */ cmplwi r3, 0 +/* 80324008 00320F68 41 82 00 18 */ beq lbl_80324020 +/* 8032400C 00320F6C 81 83 00 00 */ lwz r12, 0(r3) +/* 80324010 00320F70 38 80 00 01 */ li r4, 1 +/* 80324014 00320F74 81 8C 00 08 */ lwz r12, 8(r12) +/* 80324018 00320F78 7D 89 03 A6 */ mtctr r12 +/* 8032401C 00320F7C 4E 80 04 21 */ bctrl +lbl_80324020: +/* 80324020 00320F80 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80324024 00320F84 28 03 00 00 */ cmplwi r3, 0 +/* 80324028 00320F88 41 82 00 18 */ beq lbl_80324040 +/* 8032402C 00320F8C 81 83 00 00 */ lwz r12, 0(r3) +/* 80324030 00320F90 38 80 00 01 */ li r4, 1 +/* 80324034 00320F94 81 8C 00 08 */ lwz r12, 8(r12) +/* 80324038 00320F98 7D 89 03 A6 */ mtctr r12 +/* 8032403C 00320F9C 4E 80 04 21 */ bctrl +lbl_80324040: +/* 80324040 00320FA0 28 1E 00 00 */ cmplwi r30, 0 +/* 80324044 00320FA4 41 82 00 20 */ beq lbl_80324064 +/* 80324048 00320FA8 3C 60 80 3F */ lis r3, lbl_803EC5C8@ha +/* 8032404C 00320FAC 38 03 C5 C8 */ addi r0, r3, lbl_803EC5C8@l +/* 80324050 00320FB0 90 1E 00 00 */ stw r0, 0(r30) +/* 80324054 00320FB4 41 82 00 10 */ beq lbl_80324064 +/* 80324058 00320FB8 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 8032405C 00320FBC 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80324060 00320FC0 90 1E 00 00 */ stw r0, 0(r30) +lbl_80324064: +/* 80324064 00320FC4 7F E0 07 35 */ extsh. r0, r31 +/* 80324068 00320FC8 40 81 00 10 */ ble lbl_80324078 +/* 8032406C 00320FCC 7F C3 F3 78 */ mr r3, r30 +/* 80324070 00320FD0 38 80 00 10 */ li r4, 0x10 +/* 80324074 00320FD4 48 04 89 F1 */ bl sub_8036ca64 +lbl_80324078: +/* 80324078 00320FD8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8032407C 00320FDC 7F C3 F3 78 */ mr r3, r30 +/* 80324080 00320FE0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80324084 00320FE4 83 C1 00 08 */ lwz r30, 8(r1) +/* 80324088 00320FE8 7C 08 03 A6 */ mtlr r0 +/* 8032408C 00320FEC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80324090 00320FF0 4E 80 00 20 */ blr + +.global __ct__13CMVETimeChainFP17CModVectorElementP17CModVectorElementP11CIntElement +__ct__13CMVETimeChainFP17CModVectorElementP17CModVectorElementP11CIntElement: +/* 80324094 00320FF4 3D 20 80 3F */ lis r9, lbl_803EC5A8@ha +/* 80324098 00320FF8 3D 00 80 3F */ lis r8, lbl_803EC5C8@ha +/* 8032409C 00320FFC 38 09 C5 A8 */ addi r0, r9, lbl_803EC5A8@l +/* 803240A0 00321000 3C E0 80 3F */ lis r7, lbl_803EDCA8@ha +/* 803240A4 00321004 90 03 00 00 */ stw r0, 0(r3) +/* 803240A8 00321008 39 08 C5 C8 */ addi r8, r8, lbl_803EC5C8@l +/* 803240AC 0032100C 38 07 DC A8 */ addi r0, r7, lbl_803EDCA8@l +/* 803240B0 00321010 91 03 00 00 */ stw r8, 0(r3) +/* 803240B4 00321014 90 03 00 00 */ stw r0, 0(r3) +/* 803240B8 00321018 90 83 00 04 */ stw r4, 4(r3) +/* 803240BC 0032101C 90 A3 00 08 */ stw r5, 8(r3) +/* 803240C0 00321020 90 C3 00 0C */ stw r6, 0xc(r3) +/* 803240C4 00321024 4E 80 00 20 */ blr + +.global GetValue__11CMVEExplodeCFiR9CVector3fR9CVector3f +GetValue__11CMVEExplodeCFiR9CVector3fR9CVector3f: +/* 803240C8 00321028 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 803240CC 0032102C 7C 08 02 A6 */ mflr r0 +/* 803240D0 00321030 90 01 00 84 */ stw r0, 0x84(r1) +/* 803240D4 00321034 DB E1 00 70 */ stfd f31, 0x70(r1) +/* 803240D8 00321038 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 +/* 803240DC 0032103C DB C1 00 60 */ stfd f30, 0x60(r1) +/* 803240E0 00321040 F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 +/* 803240E4 00321044 DB A1 00 50 */ stfd f29, 0x50(r1) +/* 803240E8 00321048 F3 A1 00 58 */ psq_st f29, 88(r1), 0, qr0 +/* 803240EC 0032104C DB 81 00 40 */ stfd f28, 0x40(r1) +/* 803240F0 00321050 F3 81 00 48 */ psq_st f28, 72(r1), 0, qr0 +/* 803240F4 00321054 DB 61 00 30 */ stfd f27, 0x30(r1) +/* 803240F8 00321058 F3 61 00 38 */ psq_st f27, 56(r1), 0, qr0 +/* 803240FC 0032105C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80324100 00321060 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80324104 00321064 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80324108 00321068 7C 9E 23 79 */ or. r30, r4, r4 +/* 8032410C 0032106C 7C 7D 1B 78 */ mr r29, r3 +/* 80324110 00321070 7C BF 2B 78 */ mr r31, r5 +/* 80324114 00321074 40 82 00 B4 */ bne lbl_803241C8 +/* 80324118 00321078 C3 C2 CA 70 */ lfs f30, lbl_805AE790@sda21(r2) +/* 8032411C 0032107C C3 E2 CA 6C */ lfs f31, lbl_805AE78C@sda21(r2) +lbl_80324120: +/* 80324120 00321080 4B FE E4 DD */ bl GetRandomNumber__9CRandom16Fv +/* 80324124 00321084 4B FE E3 B9 */ bl Float__9CRandom16Fv +/* 80324128 00321088 EF A1 F0 28 */ fsubs f29, f1, f30 +/* 8032412C 0032108C 4B FE E4 D1 */ bl GetRandomNumber__9CRandom16Fv +/* 80324130 00321090 4B FE E3 AD */ bl Float__9CRandom16Fv +/* 80324134 00321094 EF 81 F0 28 */ fsubs f28, f1, f30 +/* 80324138 00321098 4B FE E4 C5 */ bl GetRandomNumber__9CRandom16Fv +/* 8032413C 0032109C 4B FE E3 A1 */ bl Float__9CRandom16Fv +/* 80324140 003210A0 EC 1C 07 32 */ fmuls f0, f28, f28 +/* 80324144 003210A4 EF 61 F0 28 */ fsubs f27, f1, f30 +/* 80324148 003210A8 EC 1D 07 7A */ fmadds f0, f29, f29, f0 +/* 8032414C 003210AC EC 1B 06 FA */ fmadds f0, f27, f27, f0 +/* 80324150 003210B0 FC 00 F8 40 */ fcmpo cr0, f0, f31 +/* 80324154 003210B4 41 81 FF CC */ bgt lbl_80324120 +/* 80324158 003210B8 80 7D 00 04 */ lwz r3, 4(r29) +/* 8032415C 003210BC 7F C4 F3 78 */ mr r4, r30 +/* 80324160 003210C0 38 A1 00 0C */ addi r5, r1, 0xc +/* 80324164 003210C4 81 83 00 00 */ lwz r12, 0(r3) +/* 80324168 003210C8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8032416C 003210CC 7D 89 03 A6 */ mtctr r12 +/* 80324170 003210D0 4E 80 04 21 */ bctrl +/* 80324174 003210D4 D3 A1 00 10 */ stfs f29, 0x10(r1) +/* 80324178 003210D8 38 61 00 10 */ addi r3, r1, 0x10 +/* 8032417C 003210DC D3 81 00 14 */ stfs f28, 0x14(r1) +/* 80324180 003210E0 D3 61 00 18 */ stfs f27, 0x18(r1) +/* 80324184 003210E4 4B FF 07 75 */ bl Normalize__9CVector3fFv +/* 80324188 003210E8 C0 61 00 0C */ lfs f3, 0xc(r1) +/* 8032418C 003210EC C0 41 00 10 */ lfs f2, 0x10(r1) +/* 80324190 003210F0 C0 21 00 14 */ lfs f1, 0x14(r1) +/* 80324194 003210F4 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 80324198 003210F8 EC 42 00 F2 */ fmuls f2, f2, f3 +/* 8032419C 003210FC EC 21 00 F2 */ fmuls f1, f1, f3 +/* 803241A0 00321100 EC 00 00 F2 */ fmuls f0, f0, f3 +/* 803241A4 00321104 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 803241A8 00321108 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 803241AC 0032110C D0 01 00 18 */ stfs f0, 0x18(r1) +/* 803241B0 00321110 D0 5F 00 00 */ stfs f2, 0(r31) +/* 803241B4 00321114 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 803241B8 00321118 D0 1F 00 04 */ stfs f0, 4(r31) +/* 803241BC 0032111C C0 01 00 18 */ lfs f0, 0x18(r1) +/* 803241C0 00321120 D0 1F 00 08 */ stfs f0, 8(r31) +/* 803241C4 00321124 48 00 00 44 */ b lbl_80324208 +lbl_803241C8: +/* 803241C8 00321128 80 7D 00 08 */ lwz r3, 8(r29) +/* 803241CC 0032112C 38 A1 00 08 */ addi r5, r1, 8 +/* 803241D0 00321130 81 83 00 00 */ lwz r12, 0(r3) +/* 803241D4 00321134 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803241D8 00321138 7D 89 03 A6 */ mtctr r12 +/* 803241DC 0032113C 4E 80 04 21 */ bctrl +/* 803241E0 00321140 C0 21 00 08 */ lfs f1, 8(r1) +/* 803241E4 00321144 C0 1F 00 00 */ lfs f0, 0(r31) +/* 803241E8 00321148 EC 00 00 72 */ fmuls f0, f0, f1 +/* 803241EC 0032114C D0 1F 00 00 */ stfs f0, 0(r31) +/* 803241F0 00321150 C0 1F 00 04 */ lfs f0, 4(r31) +/* 803241F4 00321154 EC 00 00 72 */ fmuls f0, f0, f1 +/* 803241F8 00321158 D0 1F 00 04 */ stfs f0, 4(r31) +/* 803241FC 0032115C C0 1F 00 08 */ lfs f0, 8(r31) +/* 80324200 00321160 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80324204 00321164 D0 1F 00 08 */ stfs f0, 8(r31) +lbl_80324208: +/* 80324208 00321168 38 60 00 00 */ li r3, 0 +/* 8032420C 0032116C E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 +/* 80324210 00321170 CB E1 00 70 */ lfd f31, 0x70(r1) +/* 80324214 00321174 E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 +/* 80324218 00321178 CB C1 00 60 */ lfd f30, 0x60(r1) +/* 8032421C 0032117C E3 A1 00 58 */ psq_l f29, 88(r1), 0, qr0 +/* 80324220 00321180 CB A1 00 50 */ lfd f29, 0x50(r1) +/* 80324224 00321184 E3 81 00 48 */ psq_l f28, 72(r1), 0, qr0 +/* 80324228 00321188 CB 81 00 40 */ lfd f28, 0x40(r1) +/* 8032422C 0032118C E3 61 00 38 */ psq_l f27, 56(r1), 0, qr0 +/* 80324230 00321190 CB 61 00 30 */ lfd f27, 0x30(r1) +/* 80324234 00321194 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80324238 00321198 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8032423C 0032119C 80 01 00 84 */ lwz r0, 0x84(r1) +/* 80324240 003211A0 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80324244 003211A4 7C 08 03 A6 */ mtlr r0 +/* 80324248 003211A8 38 21 00 80 */ addi r1, r1, 0x80 +/* 8032424C 003211AC 4E 80 00 20 */ blr + +.global __dt__11CMVEExplodeFv +__dt__11CMVEExplodeFv: +/* 80324250 003211B0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80324254 003211B4 7C 08 02 A6 */ mflr r0 +/* 80324258 003211B8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8032425C 003211BC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80324260 003211C0 7C 9F 23 78 */ mr r31, r4 +/* 80324264 003211C4 93 C1 00 08 */ stw r30, 8(r1) +/* 80324268 003211C8 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8032426C 003211CC 41 82 00 88 */ beq lbl_803242F4 +/* 80324270 003211D0 3C 60 80 3F */ lis r3, lbl_803EDCB8@ha +/* 80324274 003211D4 38 03 DC B8 */ addi r0, r3, lbl_803EDCB8@l +/* 80324278 003211D8 90 1E 00 00 */ stw r0, 0(r30) +/* 8032427C 003211DC 80 7E 00 04 */ lwz r3, 4(r30) +/* 80324280 003211E0 28 03 00 00 */ cmplwi r3, 0 +/* 80324284 003211E4 41 82 00 18 */ beq lbl_8032429C +/* 80324288 003211E8 81 83 00 00 */ lwz r12, 0(r3) +/* 8032428C 003211EC 38 80 00 01 */ li r4, 1 +/* 80324290 003211F0 81 8C 00 08 */ lwz r12, 8(r12) +/* 80324294 003211F4 7D 89 03 A6 */ mtctr r12 +/* 80324298 003211F8 4E 80 04 21 */ bctrl +lbl_8032429C: +/* 8032429C 003211FC 80 7E 00 08 */ lwz r3, 8(r30) +/* 803242A0 00321200 28 03 00 00 */ cmplwi r3, 0 +/* 803242A4 00321204 41 82 00 18 */ beq lbl_803242BC +/* 803242A8 00321208 81 83 00 00 */ lwz r12, 0(r3) +/* 803242AC 0032120C 38 80 00 01 */ li r4, 1 +/* 803242B0 00321210 81 8C 00 08 */ lwz r12, 8(r12) +/* 803242B4 00321214 7D 89 03 A6 */ mtctr r12 +/* 803242B8 00321218 4E 80 04 21 */ bctrl +lbl_803242BC: +/* 803242BC 0032121C 28 1E 00 00 */ cmplwi r30, 0 +/* 803242C0 00321220 41 82 00 20 */ beq lbl_803242E0 +/* 803242C4 00321224 3C 60 80 3F */ lis r3, lbl_803EC5C8@ha +/* 803242C8 00321228 38 03 C5 C8 */ addi r0, r3, lbl_803EC5C8@l +/* 803242CC 0032122C 90 1E 00 00 */ stw r0, 0(r30) +/* 803242D0 00321230 41 82 00 10 */ beq lbl_803242E0 +/* 803242D4 00321234 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 803242D8 00321238 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 803242DC 0032123C 90 1E 00 00 */ stw r0, 0(r30) +lbl_803242E0: +/* 803242E0 00321240 7F E0 07 35 */ extsh. r0, r31 +/* 803242E4 00321244 40 81 00 10 */ ble lbl_803242F4 +/* 803242E8 00321248 7F C3 F3 78 */ mr r3, r30 +/* 803242EC 0032124C 38 80 00 0C */ li r4, 0xc +/* 803242F0 00321250 48 04 87 75 */ bl sub_8036ca64 +lbl_803242F4: +/* 803242F4 00321254 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803242F8 00321258 7F C3 F3 78 */ mr r3, r30 +/* 803242FC 0032125C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80324300 00321260 83 C1 00 08 */ lwz r30, 8(r1) +/* 80324304 00321264 7C 08 03 A6 */ mtlr r0 +/* 80324308 00321268 38 21 00 10 */ addi r1, r1, 0x10 +/* 8032430C 0032126C 4E 80 00 20 */ blr + +.global __ct__11CMVEExplodeFP12CRealElementP12CRealElement +__ct__11CMVEExplodeFP12CRealElementP12CRealElement: +/* 80324310 00321270 3D 00 80 3F */ lis r8, lbl_803EC5A8@ha +/* 80324314 00321274 3C E0 80 3F */ lis r7, lbl_803EC5C8@ha +/* 80324318 00321278 38 08 C5 A8 */ addi r0, r8, lbl_803EC5A8@l +/* 8032431C 0032127C 3C C0 80 3F */ lis r6, lbl_803EDCB8@ha +/* 80324320 00321280 90 03 00 00 */ stw r0, 0(r3) +/* 80324324 00321284 38 E7 C5 C8 */ addi r7, r7, lbl_803EC5C8@l +/* 80324328 00321288 38 06 DC B8 */ addi r0, r6, lbl_803EDCB8@l +/* 8032432C 0032128C 90 E3 00 00 */ stw r7, 0(r3) +/* 80324330 00321290 90 03 00 00 */ stw r0, 0(r3) +/* 80324334 00321294 90 83 00 04 */ stw r4, 4(r3) +/* 80324338 00321298 90 A3 00 08 */ stw r5, 8(r3) +/* 8032433C 0032129C 4E 80 00 20 */ blr + +.global GetValue__8CMVEWindCFiR9CVector3fR9CVector3f +GetValue__8CMVEWindCFiR9CVector3fR9CVector3f: +/* 80324340 003212A0 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80324344 003212A4 7C 08 02 A6 */ mflr r0 +/* 80324348 003212A8 90 01 00 64 */ stw r0, 0x64(r1) +/* 8032434C 003212AC DB E1 00 50 */ stfd f31, 0x50(r1) +/* 80324350 003212B0 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 +/* 80324354 003212B4 DB C1 00 40 */ stfd f30, 0x40(r1) +/* 80324358 003212B8 F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 +/* 8032435C 003212BC DB A1 00 30 */ stfd f29, 0x30(r1) +/* 80324360 003212C0 F3 A1 00 38 */ psq_st f29, 56(r1), 0, qr0 +/* 80324364 003212C4 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80324368 003212C8 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8032436C 003212CC 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80324370 003212D0 C0 02 CA 68 */ lfs f0, lbl_805AE788@sda21(r2) +/* 80324374 003212D4 7C 7D 1B 78 */ mr r29, r3 +/* 80324378 003212D8 7C BF 2B 78 */ mr r31, r5 +/* 8032437C 003212DC 80 63 00 04 */ lwz r3, 4(r3) +/* 80324380 003212E0 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 80324384 003212E4 7C 9E 23 78 */ mr r30, r4 +/* 80324388 003212E8 38 A1 00 0C */ addi r5, r1, 0xc +/* 8032438C 003212EC D0 01 00 10 */ stfs f0, 0x10(r1) +/* 80324390 003212F0 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80324394 003212F4 81 83 00 00 */ lwz r12, 0(r3) +/* 80324398 003212F8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8032439C 003212FC 7D 89 03 A6 */ mtctr r12 +/* 803243A0 00321300 4E 80 04 21 */ bctrl +/* 803243A4 00321304 80 7D 00 08 */ lwz r3, 8(r29) +/* 803243A8 00321308 7F C4 F3 78 */ mr r4, r30 +/* 803243AC 0032130C C0 21 00 0C */ lfs f1, 0xc(r1) +/* 803243B0 00321310 38 A1 00 08 */ addi r5, r1, 8 +/* 803243B4 00321314 81 83 00 00 */ lwz r12, 0(r3) +/* 803243B8 00321318 C0 1F 00 00 */ lfs f0, 0(r31) +/* 803243BC 0032131C C0 61 00 10 */ lfs f3, 0x10(r1) +/* 803243C0 00321320 C0 5F 00 04 */ lfs f2, 4(r31) +/* 803243C4 00321324 EF E1 00 28 */ fsubs f31, f1, f0 +/* 803243C8 00321328 C0 21 00 14 */ lfs f1, 0x14(r1) +/* 803243CC 0032132C C0 1F 00 08 */ lfs f0, 8(r31) +/* 803243D0 00321330 EF C3 10 28 */ fsubs f30, f3, f2 +/* 803243D4 00321334 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803243D8 00321338 EF A1 00 28 */ fsubs f29, f1, f0 +/* 803243DC 0032133C 7D 89 03 A6 */ mtctr r12 +/* 803243E0 00321340 4E 80 04 21 */ bctrl +/* 803243E4 00321344 C0 21 00 08 */ lfs f1, 8(r1) +/* 803243E8 00321348 38 60 00 00 */ li r3, 0 +/* 803243EC 0032134C C0 1F 00 00 */ lfs f0, 0(r31) +/* 803243F0 00321350 EF FF 00 72 */ fmuls f31, f31, f1 +/* 803243F4 00321354 EF DE 00 72 */ fmuls f30, f30, f1 +/* 803243F8 00321358 EF BD 00 72 */ fmuls f29, f29, f1 +/* 803243FC 0032135C EC 00 F8 2A */ fadds f0, f0, f31 +/* 80324400 00321360 D0 1F 00 00 */ stfs f0, 0(r31) +/* 80324404 00321364 C0 1F 00 04 */ lfs f0, 4(r31) +/* 80324408 00321368 EC 00 F0 2A */ fadds f0, f0, f30 +/* 8032440C 0032136C D0 1F 00 04 */ stfs f0, 4(r31) +/* 80324410 00321370 C0 1F 00 08 */ lfs f0, 8(r31) +/* 80324414 00321374 EC 00 E8 2A */ fadds f0, f0, f29 +/* 80324418 00321378 D0 1F 00 08 */ stfs f0, 8(r31) +/* 8032441C 0032137C E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 +/* 80324420 00321380 CB E1 00 50 */ lfd f31, 0x50(r1) +/* 80324424 00321384 E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 +/* 80324428 00321388 CB C1 00 40 */ lfd f30, 0x40(r1) +/* 8032442C 0032138C E3 A1 00 38 */ psq_l f29, 56(r1), 0, qr0 +/* 80324430 00321390 CB A1 00 30 */ lfd f29, 0x30(r1) +/* 80324434 00321394 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80324438 00321398 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8032443C 0032139C 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80324440 003213A0 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80324444 003213A4 7C 08 03 A6 */ mtlr r0 +/* 80324448 003213A8 38 21 00 60 */ addi r1, r1, 0x60 +/* 8032444C 003213AC 4E 80 00 20 */ blr + +.global __dt__8CMVEWindFv +__dt__8CMVEWindFv: +/* 80324450 003213B0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80324454 003213B4 7C 08 02 A6 */ mflr r0 +/* 80324458 003213B8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8032445C 003213BC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80324460 003213C0 7C 9F 23 78 */ mr r31, r4 +/* 80324464 003213C4 93 C1 00 08 */ stw r30, 8(r1) +/* 80324468 003213C8 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8032446C 003213CC 41 82 00 88 */ beq lbl_803244F4 +/* 80324470 003213D0 3C 60 80 3F */ lis r3, lbl_803EDCC8@ha +/* 80324474 003213D4 38 03 DC C8 */ addi r0, r3, lbl_803EDCC8@l +/* 80324478 003213D8 90 1E 00 00 */ stw r0, 0(r30) +/* 8032447C 003213DC 80 7E 00 04 */ lwz r3, 4(r30) +/* 80324480 003213E0 28 03 00 00 */ cmplwi r3, 0 +/* 80324484 003213E4 41 82 00 18 */ beq lbl_8032449C +/* 80324488 003213E8 81 83 00 00 */ lwz r12, 0(r3) +/* 8032448C 003213EC 38 80 00 01 */ li r4, 1 +/* 80324490 003213F0 81 8C 00 08 */ lwz r12, 8(r12) +/* 80324494 003213F4 7D 89 03 A6 */ mtctr r12 +/* 80324498 003213F8 4E 80 04 21 */ bctrl +lbl_8032449C: +/* 8032449C 003213FC 80 7E 00 08 */ lwz r3, 8(r30) +/* 803244A0 00321400 28 03 00 00 */ cmplwi r3, 0 +/* 803244A4 00321404 41 82 00 18 */ beq lbl_803244BC +/* 803244A8 00321408 81 83 00 00 */ lwz r12, 0(r3) +/* 803244AC 0032140C 38 80 00 01 */ li r4, 1 +/* 803244B0 00321410 81 8C 00 08 */ lwz r12, 8(r12) +/* 803244B4 00321414 7D 89 03 A6 */ mtctr r12 +/* 803244B8 00321418 4E 80 04 21 */ bctrl +lbl_803244BC: +/* 803244BC 0032141C 28 1E 00 00 */ cmplwi r30, 0 +/* 803244C0 00321420 41 82 00 20 */ beq lbl_803244E0 +/* 803244C4 00321424 3C 60 80 3F */ lis r3, lbl_803EC5C8@ha +/* 803244C8 00321428 38 03 C5 C8 */ addi r0, r3, lbl_803EC5C8@l +/* 803244CC 0032142C 90 1E 00 00 */ stw r0, 0(r30) +/* 803244D0 00321430 41 82 00 10 */ beq lbl_803244E0 +/* 803244D4 00321434 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 803244D8 00321438 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 803244DC 0032143C 90 1E 00 00 */ stw r0, 0(r30) +lbl_803244E0: +/* 803244E0 00321440 7F E0 07 35 */ extsh. r0, r31 +/* 803244E4 00321444 40 81 00 10 */ ble lbl_803244F4 +/* 803244E8 00321448 7F C3 F3 78 */ mr r3, r30 +/* 803244EC 0032144C 38 80 00 0C */ li r4, 0xc +/* 803244F0 00321450 48 04 85 75 */ bl sub_8036ca64 +lbl_803244F4: +/* 803244F4 00321454 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803244F8 00321458 7F C3 F3 78 */ mr r3, r30 +/* 803244FC 0032145C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80324500 00321460 83 C1 00 08 */ lwz r30, 8(r1) +/* 80324504 00321464 7C 08 03 A6 */ mtlr r0 +/* 80324508 00321468 38 21 00 10 */ addi r1, r1, 0x10 +/* 8032450C 0032146C 4E 80 00 20 */ blr + +.global __ct__8CMVEWindFP14CVectorElementP12CRealElement +__ct__8CMVEWindFP14CVectorElementP12CRealElement: +/* 80324510 00321470 3D 00 80 3F */ lis r8, lbl_803EC5A8@ha +/* 80324514 00321474 3C E0 80 3F */ lis r7, lbl_803EC5C8@ha +/* 80324518 00321478 38 08 C5 A8 */ addi r0, r8, lbl_803EC5A8@l +/* 8032451C 0032147C 3C C0 80 3F */ lis r6, lbl_803EDCC8@ha +/* 80324520 00321480 90 03 00 00 */ stw r0, 0(r3) +/* 80324524 00321484 38 E7 C5 C8 */ addi r7, r7, lbl_803EC5C8@l +/* 80324528 00321488 38 06 DC C8 */ addi r0, r6, lbl_803EDCC8@l +/* 8032452C 0032148C 90 E3 00 00 */ stw r7, 0(r3) +/* 80324530 00321490 90 03 00 00 */ stw r0, 0(r3) +/* 80324534 00321494 90 83 00 04 */ stw r4, 4(r3) +/* 80324538 00321498 90 A3 00 08 */ stw r5, 8(r3) +/* 8032453C 0032149C 4E 80 00 20 */ blr + +.global GetValue__11CMVEGravityCFiR9CVector3fR9CVector3f +GetValue__11CMVEGravityCFiR9CVector3fR9CVector3f: +/* 80324540 003214A0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80324544 003214A4 7C 08 02 A6 */ mflr r0 +/* 80324548 003214A8 C0 02 CA 68 */ lfs f0, lbl_805AE788@sda21(r2) +/* 8032454C 003214AC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80324550 003214B0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80324554 003214B4 7C BF 2B 78 */ mr r31, r5 +/* 80324558 003214B8 38 A1 00 08 */ addi r5, r1, 8 +/* 8032455C 003214BC 80 63 00 04 */ lwz r3, 4(r3) +/* 80324560 003214C0 D0 01 00 08 */ stfs f0, 8(r1) +/* 80324564 003214C4 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 80324568 003214C8 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 8032456C 003214CC 81 83 00 00 */ lwz r12, 0(r3) +/* 80324570 003214D0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80324574 003214D4 7D 89 03 A6 */ mtctr r12 +/* 80324578 003214D8 4E 80 04 21 */ bctrl +/* 8032457C 003214DC C0 3F 00 00 */ lfs f1, 0(r31) +/* 80324580 003214E0 38 60 00 00 */ li r3, 0 +/* 80324584 003214E4 C0 01 00 08 */ lfs f0, 8(r1) +/* 80324588 003214E8 EC 01 00 2A */ fadds f0, f1, f0 +/* 8032458C 003214EC D0 1F 00 00 */ stfs f0, 0(r31) +/* 80324590 003214F0 C0 3F 00 04 */ lfs f1, 4(r31) +/* 80324594 003214F4 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 80324598 003214F8 EC 01 00 2A */ fadds f0, f1, f0 +/* 8032459C 003214FC D0 1F 00 04 */ stfs f0, 4(r31) +/* 803245A0 00321500 C0 3F 00 08 */ lfs f1, 8(r31) +/* 803245A4 00321504 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 803245A8 00321508 EC 01 00 2A */ fadds f0, f1, f0 +/* 803245AC 0032150C D0 1F 00 08 */ stfs f0, 8(r31) +/* 803245B0 00321510 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803245B4 00321514 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803245B8 00321518 7C 08 03 A6 */ mtlr r0 +/* 803245BC 0032151C 38 21 00 20 */ addi r1, r1, 0x20 +/* 803245C0 00321520 4E 80 00 20 */ blr + +.global __dt__11CMVEGravityFv +__dt__11CMVEGravityFv: +/* 803245C4 00321524 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803245C8 00321528 7C 08 02 A6 */ mflr r0 +/* 803245CC 0032152C 90 01 00 14 */ stw r0, 0x14(r1) +/* 803245D0 00321530 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803245D4 00321534 7C 9F 23 78 */ mr r31, r4 +/* 803245D8 00321538 93 C1 00 08 */ stw r30, 8(r1) +/* 803245DC 0032153C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 803245E0 00321540 41 82 00 68 */ beq lbl_80324648 +/* 803245E4 00321544 3C 60 80 3F */ lis r3, lbl_803EDCD8@ha +/* 803245E8 00321548 38 03 DC D8 */ addi r0, r3, lbl_803EDCD8@l +/* 803245EC 0032154C 90 1E 00 00 */ stw r0, 0(r30) +/* 803245F0 00321550 80 7E 00 04 */ lwz r3, 4(r30) +/* 803245F4 00321554 28 03 00 00 */ cmplwi r3, 0 +/* 803245F8 00321558 41 82 00 18 */ beq lbl_80324610 +/* 803245FC 0032155C 81 83 00 00 */ lwz r12, 0(r3) +/* 80324600 00321560 38 80 00 01 */ li r4, 1 +/* 80324604 00321564 81 8C 00 08 */ lwz r12, 8(r12) +/* 80324608 00321568 7D 89 03 A6 */ mtctr r12 +/* 8032460C 0032156C 4E 80 04 21 */ bctrl +lbl_80324610: +/* 80324610 00321570 28 1E 00 00 */ cmplwi r30, 0 +/* 80324614 00321574 41 82 00 20 */ beq lbl_80324634 +/* 80324618 00321578 3C 60 80 3F */ lis r3, lbl_803EC5C8@ha +/* 8032461C 0032157C 38 03 C5 C8 */ addi r0, r3, lbl_803EC5C8@l +/* 80324620 00321580 90 1E 00 00 */ stw r0, 0(r30) +/* 80324624 00321584 41 82 00 10 */ beq lbl_80324634 +/* 80324628 00321588 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 8032462C 0032158C 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80324630 00321590 90 1E 00 00 */ stw r0, 0(r30) +lbl_80324634: +/* 80324634 00321594 7F E0 07 35 */ extsh. r0, r31 +/* 80324638 00321598 40 81 00 10 */ ble lbl_80324648 +/* 8032463C 0032159C 7F C3 F3 78 */ mr r3, r30 +/* 80324640 003215A0 38 80 00 08 */ li r4, 8 +/* 80324644 003215A4 48 04 84 21 */ bl sub_8036ca64 +lbl_80324648: +/* 80324648 003215A8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8032464C 003215AC 7F C3 F3 78 */ mr r3, r30 +/* 80324650 003215B0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80324654 003215B4 83 C1 00 08 */ lwz r30, 8(r1) +/* 80324658 003215B8 7C 08 03 A6 */ mtlr r0 +/* 8032465C 003215BC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80324660 003215C0 4E 80 00 20 */ blr + +.global __ct__11CMVEGravityFP14CVectorElement +__ct__11CMVEGravityFP14CVectorElement: +/* 80324664 003215C4 3C E0 80 3F */ lis r7, lbl_803EC5A8@ha +/* 80324668 003215C8 3C C0 80 3F */ lis r6, lbl_803EC5C8@ha +/* 8032466C 003215CC 38 07 C5 A8 */ addi r0, r7, lbl_803EC5A8@l +/* 80324670 003215D0 3C A0 80 3F */ lis r5, lbl_803EDCD8@ha +/* 80324674 003215D4 90 03 00 00 */ stw r0, 0(r3) +/* 80324678 003215D8 38 C6 C5 C8 */ addi r6, r6, lbl_803EC5C8@l +/* 8032467C 003215DC 38 05 DC D8 */ addi r0, r5, lbl_803EDCD8@l +/* 80324680 003215E0 90 C3 00 00 */ stw r6, 0(r3) +/* 80324684 003215E4 90 03 00 00 */ stw r0, 0(r3) +/* 80324688 003215E8 90 83 00 04 */ stw r4, 4(r3) +/* 8032468C 003215EC 4E 80 00 20 */ blr + +.global GetValue__16CMVEFastConstantCFiR9CVector3fR9CVector3f +GetValue__16CMVEFastConstantCFiR9CVector3fR9CVector3f: +/* 80324690 003215F0 C0 03 00 04 */ lfs f0, 4(r3) +/* 80324694 003215F4 D0 05 00 00 */ stfs f0, 0(r5) +/* 80324698 003215F8 C0 03 00 08 */ lfs f0, 8(r3) +/* 8032469C 003215FC D0 05 00 04 */ stfs f0, 4(r5) +/* 803246A0 00321600 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 803246A4 00321604 38 60 00 00 */ li r3, 0 +/* 803246A8 00321608 D0 05 00 08 */ stfs f0, 8(r5) +/* 803246AC 0032160C 4E 80 00 20 */ blr + +.global __dt__16CMVEFastConstantFv +__dt__16CMVEFastConstantFv: +/* 803246B0 00321610 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803246B4 00321614 7C 08 02 A6 */ mflr r0 +/* 803246B8 00321618 90 01 00 14 */ stw r0, 0x14(r1) +/* 803246BC 0032161C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803246C0 00321620 7C 7F 1B 79 */ or. r31, r3, r3 +/* 803246C4 00321624 41 82 00 44 */ beq lbl_80324708 +/* 803246C8 00321628 3C 60 80 3F */ lis r3, lbl_803EDCE8@ha +/* 803246CC 0032162C 38 03 DC E8 */ addi r0, r3, lbl_803EDCE8@l +/* 803246D0 00321630 90 1F 00 00 */ stw r0, 0(r31) +/* 803246D4 00321634 41 82 00 20 */ beq lbl_803246F4 +/* 803246D8 00321638 3C 60 80 3F */ lis r3, lbl_803EC5C8@ha +/* 803246DC 0032163C 38 03 C5 C8 */ addi r0, r3, lbl_803EC5C8@l +/* 803246E0 00321640 90 1F 00 00 */ stw r0, 0(r31) +/* 803246E4 00321644 41 82 00 10 */ beq lbl_803246F4 +/* 803246E8 00321648 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 803246EC 0032164C 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 803246F0 00321650 90 1F 00 00 */ stw r0, 0(r31) +lbl_803246F4: +/* 803246F4 00321654 7C 80 07 35 */ extsh. r0, r4 +/* 803246F8 00321658 40 81 00 10 */ ble lbl_80324708 +/* 803246FC 0032165C 7F E3 FB 78 */ mr r3, r31 +/* 80324700 00321660 38 80 00 10 */ li r4, 0x10 +/* 80324704 00321664 48 04 83 61 */ bl sub_8036ca64 +lbl_80324708: +/* 80324708 00321668 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8032470C 0032166C 7F E3 FB 78 */ mr r3, r31 +/* 80324710 00321670 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80324714 00321674 7C 08 03 A6 */ mtlr r0 +/* 80324718 00321678 38 21 00 10 */ addi r1, r1, 0x10 +/* 8032471C 0032167C 4E 80 00 20 */ blr + +.global __ct__16CMVEFastConstantFfff +__ct__16CMVEFastConstantFfff: +/* 80324720 00321680 3C C0 80 3F */ lis r6, lbl_803EC5A8@ha +/* 80324724 00321684 3C A0 80 3F */ lis r5, lbl_803EC5C8@ha +/* 80324728 00321688 38 06 C5 A8 */ addi r0, r6, lbl_803EC5A8@l +/* 8032472C 0032168C 3C 80 80 3F */ lis r4, lbl_803EDCE8@ha +/* 80324730 00321690 90 03 00 00 */ stw r0, 0(r3) +/* 80324734 00321694 38 A5 C5 C8 */ addi r5, r5, lbl_803EC5C8@l +/* 80324738 00321698 38 04 DC E8 */ addi r0, r4, lbl_803EDCE8@l +/* 8032473C 0032169C 90 A3 00 00 */ stw r5, 0(r3) +/* 80324740 003216A0 90 03 00 00 */ stw r0, 0(r3) +/* 80324744 003216A4 D0 23 00 04 */ stfs f1, 4(r3) +/* 80324748 003216A8 D0 43 00 08 */ stfs f2, 8(r3) +/* 8032474C 003216AC D0 63 00 0C */ stfs f3, 0xc(r3) +/* 80324750 003216B0 4E 80 00 20 */ blr + +.global GetValue__12CMVEConstantCFiR9CVector3fR9CVector3f +GetValue__12CMVEConstantCFiR9CVector3fR9CVector3f: +/* 80324754 003216B4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80324758 003216B8 7C 08 02 A6 */ mflr r0 +/* 8032475C 003216BC 90 01 00 34 */ stw r0, 0x34(r1) +/* 80324760 003216C0 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80324764 003216C4 7C BF 2B 78 */ mr r31, r5 +/* 80324768 003216C8 38 A1 00 10 */ addi r5, r1, 0x10 +/* 8032476C 003216CC 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80324770 003216D0 7C 9E 23 78 */ mr r30, r4 +/* 80324774 003216D4 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80324778 003216D8 7C 7D 1B 78 */ mr r29, r3 +/* 8032477C 003216DC 80 63 00 04 */ lwz r3, 4(r3) +/* 80324780 003216E0 81 83 00 00 */ lwz r12, 0(r3) +/* 80324784 003216E4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80324788 003216E8 7D 89 03 A6 */ mtctr r12 +/* 8032478C 003216EC 4E 80 04 21 */ bctrl +/* 80324790 003216F0 80 7D 00 08 */ lwz r3, 8(r29) +/* 80324794 003216F4 7F C4 F3 78 */ mr r4, r30 +/* 80324798 003216F8 38 A1 00 0C */ addi r5, r1, 0xc +/* 8032479C 003216FC 81 83 00 00 */ lwz r12, 0(r3) +/* 803247A0 00321700 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803247A4 00321704 7D 89 03 A6 */ mtctr r12 +/* 803247A8 00321708 4E 80 04 21 */ bctrl +/* 803247AC 0032170C 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 803247B0 00321710 7F C4 F3 78 */ mr r4, r30 +/* 803247B4 00321714 38 A1 00 08 */ addi r5, r1, 8 +/* 803247B8 00321718 81 83 00 00 */ lwz r12, 0(r3) +/* 803247BC 0032171C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803247C0 00321720 7D 89 03 A6 */ mtctr r12 +/* 803247C4 00321724 4E 80 04 21 */ bctrl +/* 803247C8 00321728 C0 41 00 08 */ lfs f2, 8(r1) +/* 803247CC 0032172C 38 60 00 00 */ li r3, 0 +/* 803247D0 00321730 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 803247D4 00321734 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 803247D8 00321738 D0 1F 00 00 */ stfs f0, 0(r31) +/* 803247DC 0032173C D0 3F 00 04 */ stfs f1, 4(r31) +/* 803247E0 00321740 D0 5F 00 08 */ stfs f2, 8(r31) +/* 803247E4 00321744 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 803247E8 00321748 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 803247EC 0032174C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 803247F0 00321750 80 01 00 34 */ lwz r0, 0x34(r1) +/* 803247F4 00321754 7C 08 03 A6 */ mtlr r0 +/* 803247F8 00321758 38 21 00 30 */ addi r1, r1, 0x30 +/* 803247FC 0032175C 4E 80 00 20 */ blr + +.global __dt__12CMVEConstantFv +__dt__12CMVEConstantFv: +/* 80324800 00321760 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80324804 00321764 7C 08 02 A6 */ mflr r0 +/* 80324808 00321768 90 01 00 14 */ stw r0, 0x14(r1) +/* 8032480C 0032176C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80324810 00321770 7C 9F 23 78 */ mr r31, r4 +/* 80324814 00321774 93 C1 00 08 */ stw r30, 8(r1) +/* 80324818 00321778 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8032481C 0032177C 41 82 00 A8 */ beq lbl_803248C4 +/* 80324820 00321780 3C 60 80 3F */ lis r3, lbl_803EDCF8@ha +/* 80324824 00321784 38 03 DC F8 */ addi r0, r3, lbl_803EDCF8@l +/* 80324828 00321788 90 1E 00 00 */ stw r0, 0(r30) +/* 8032482C 0032178C 80 7E 00 04 */ lwz r3, 4(r30) +/* 80324830 00321790 28 03 00 00 */ cmplwi r3, 0 +/* 80324834 00321794 41 82 00 18 */ beq lbl_8032484C +/* 80324838 00321798 81 83 00 00 */ lwz r12, 0(r3) +/* 8032483C 0032179C 38 80 00 01 */ li r4, 1 +/* 80324840 003217A0 81 8C 00 08 */ lwz r12, 8(r12) +/* 80324844 003217A4 7D 89 03 A6 */ mtctr r12 +/* 80324848 003217A8 4E 80 04 21 */ bctrl +lbl_8032484C: +/* 8032484C 003217AC 80 7E 00 08 */ lwz r3, 8(r30) +/* 80324850 003217B0 28 03 00 00 */ cmplwi r3, 0 +/* 80324854 003217B4 41 82 00 18 */ beq lbl_8032486C +/* 80324858 003217B8 81 83 00 00 */ lwz r12, 0(r3) +/* 8032485C 003217BC 38 80 00 01 */ li r4, 1 +/* 80324860 003217C0 81 8C 00 08 */ lwz r12, 8(r12) +/* 80324864 003217C4 7D 89 03 A6 */ mtctr r12 +/* 80324868 003217C8 4E 80 04 21 */ bctrl +lbl_8032486C: +/* 8032486C 003217CC 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80324870 003217D0 28 03 00 00 */ cmplwi r3, 0 +/* 80324874 003217D4 41 82 00 18 */ beq lbl_8032488C +/* 80324878 003217D8 81 83 00 00 */ lwz r12, 0(r3) +/* 8032487C 003217DC 38 80 00 01 */ li r4, 1 +/* 80324880 003217E0 81 8C 00 08 */ lwz r12, 8(r12) +/* 80324884 003217E4 7D 89 03 A6 */ mtctr r12 +/* 80324888 003217E8 4E 80 04 21 */ bctrl +lbl_8032488C: +/* 8032488C 003217EC 28 1E 00 00 */ cmplwi r30, 0 +/* 80324890 003217F0 41 82 00 20 */ beq lbl_803248B0 +/* 80324894 003217F4 3C 60 80 3F */ lis r3, lbl_803EC5C8@ha +/* 80324898 003217F8 38 03 C5 C8 */ addi r0, r3, lbl_803EC5C8@l +/* 8032489C 003217FC 90 1E 00 00 */ stw r0, 0(r30) +/* 803248A0 00321800 41 82 00 10 */ beq lbl_803248B0 +/* 803248A4 00321804 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 803248A8 00321808 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 803248AC 0032180C 90 1E 00 00 */ stw r0, 0(r30) +lbl_803248B0: +/* 803248B0 00321810 7F E0 07 35 */ extsh. r0, r31 +/* 803248B4 00321814 40 81 00 10 */ ble lbl_803248C4 +/* 803248B8 00321818 7F C3 F3 78 */ mr r3, r30 +/* 803248BC 0032181C 38 80 00 10 */ li r4, 0x10 +/* 803248C0 00321820 48 04 81 A5 */ bl sub_8036ca64 +lbl_803248C4: +/* 803248C4 00321824 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803248C8 00321828 7F C3 F3 78 */ mr r3, r30 +/* 803248CC 0032182C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803248D0 00321830 83 C1 00 08 */ lwz r30, 8(r1) +/* 803248D4 00321834 7C 08 03 A6 */ mtlr r0 +/* 803248D8 00321838 38 21 00 10 */ addi r1, r1, 0x10 +/* 803248DC 0032183C 4E 80 00 20 */ blr + +.global __ct__12CMVEConstantFP12CRealElementP12CRealElementP12CRealElement +__ct__12CMVEConstantFP12CRealElementP12CRealElementP12CRealElement: +/* 803248E0 00321840 3D 20 80 3F */ lis r9, lbl_803EC5A8@ha +/* 803248E4 00321844 3D 00 80 3F */ lis r8, lbl_803EC5C8@ha +/* 803248E8 00321848 38 09 C5 A8 */ addi r0, r9, lbl_803EC5A8@l +/* 803248EC 0032184C 3C E0 80 3F */ lis r7, lbl_803EDCF8@ha +/* 803248F0 00321850 90 03 00 00 */ stw r0, 0(r3) +/* 803248F4 00321854 39 08 C5 C8 */ addi r8, r8, lbl_803EC5C8@l +/* 803248F8 00321858 38 07 DC F8 */ addi r0, r7, lbl_803EDCF8@l +/* 803248FC 0032185C 91 03 00 00 */ stw r8, 0(r3) +/* 80324900 00321860 90 03 00 00 */ stw r0, 0(r3) +/* 80324904 00321864 90 83 00 04 */ stw r4, 4(r3) +/* 80324908 00321868 90 A3 00 08 */ stw r5, 8(r3) +/* 8032490C 0032186C 90 C3 00 0C */ stw r6, 0xc(r3) +/* 80324910 00321870 4E 80 00 20 */ blr + +.global CreateTexture__Fi +CreateTexture__Fi: +/* 80324914 00321874 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80324918 00321878 7C 08 02 A6 */ mflr r0 +/* 8032491C 0032187C 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80324920 00321880 38 A0 00 00 */ li r5, 0 +/* 80324924 00321884 90 01 00 14 */ stw r0, 0x14(r1) +/* 80324928 00321888 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 8032492C 0032188C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80324930 00321890 93 C1 00 08 */ stw r30, 8(r1) +/* 80324934 00321894 7C 7E 1B 78 */ mr r30, r3 +/* 80324938 00321898 38 60 00 68 */ li r3, 0x68 +/* 8032493C 0032189C 4B FF 0F 31 */ bl __nw__FUlPCcPCc +/* 80324940 003218A0 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80324944 003218A4 41 82 00 1C */ beq lbl_80324960 +/* 80324948 003218A8 38 80 00 09 */ li r4, 9 +/* 8032494C 003218AC 38 A0 00 04 */ li r5, 4 +/* 80324950 003218B0 38 C0 00 04 */ li r6, 4 +/* 80324954 003218B4 38 E0 00 01 */ li r7, 1 +/* 80324958 003218B8 4B FE B4 D5 */ bl __ct__8CTextureF12ETexelFormatssi +/* 8032495C 003218BC 7C 7F 1B 78 */ mr r31, r3 +lbl_80324960: +/* 80324960 003218C0 88 1F 00 0A */ lbz r0, 0xa(r31) +/* 80324964 003218C4 38 60 00 01 */ li r3, 1 +/* 80324968 003218C8 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8032496C 003218CC 7F E3 FB 78 */ mr r3, r31 +/* 80324970 003218D0 98 1F 00 0A */ stb r0, 0xa(r31) +/* 80324974 003218D4 38 80 00 00 */ li r4, 0 +/* 80324978 003218D8 4B FE 9C 5D */ bl GetBitMapData__8CTextureFi +/* 8032497C 003218DC 93 C3 00 00 */ stw r30, 0(r3) +/* 80324980 003218E0 93 C3 00 04 */ stw r30, 4(r3) +/* 80324984 003218E4 93 C3 00 08 */ stw r30, 8(r3) +/* 80324988 003218E8 93 C3 00 0C */ stw r30, 0xc(r3) +/* 8032498C 003218EC 93 C3 00 10 */ stw r30, 0x10(r3) +/* 80324990 003218F0 93 C3 00 14 */ stw r30, 0x14(r3) +/* 80324994 003218F4 93 C3 00 18 */ stw r30, 0x18(r3) +/* 80324998 003218F8 93 C3 00 1C */ stw r30, 0x1c(r3) +/* 8032499C 003218FC 93 C3 00 20 */ stw r30, 0x20(r3) +/* 803249A0 00321900 93 C3 00 24 */ stw r30, 0x24(r3) +/* 803249A4 00321904 93 C3 00 28 */ stw r30, 0x28(r3) +/* 803249A8 00321908 93 C3 00 2C */ stw r30, 0x2c(r3) +/* 803249AC 0032190C 93 C3 00 30 */ stw r30, 0x30(r3) +/* 803249B0 00321910 93 C3 00 34 */ stw r30, 0x34(r3) +/* 803249B4 00321914 93 C3 00 38 */ stw r30, 0x38(r3) +/* 803249B8 00321918 93 C3 00 3C */ stw r30, 0x3c(r3) +/* 803249BC 0032191C 7F E3 FB 78 */ mr r3, r31 +/* 803249C0 00321920 4B FE 9F 5D */ bl UnLock__8CTextureFv +/* 803249C4 00321924 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803249C8 00321928 7F E3 FB 78 */ mr r3, r31 +/* 803249CC 0032192C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803249D0 00321930 83 C1 00 08 */ lwz r30, 8(r1) +/* 803249D4 00321934 7C 08 03 A6 */ mtlr r0 +/* 803249D8 00321938 38 21 00 10 */ addi r1, r1, 0x10 +/* 803249DC 0032193C 4E 80 00 20 */ blr + +.global GetModel__20CParticleDataFactoryFR12CInputStreamP11CSimplePool +GetModel__20CParticleDataFactoryFR12CInputStreamP11CSimplePool: +/* 803249E0 00321940 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 803249E4 00321944 7C 08 02 A6 */ mflr r0 +/* 803249E8 00321948 90 01 00 34 */ stw r0, 0x34(r1) +/* 803249EC 0032194C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 803249F0 00321950 7C BF 2B 78 */ mr r31, r5 +/* 803249F4 00321954 93 C1 00 28 */ stw r30, 0x28(r1) +/* 803249F8 00321958 7C 9E 23 78 */ mr r30, r4 +/* 803249FC 0032195C 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80324A00 00321960 7C 7D 1B 78 */ mr r29, r3 +/* 80324A04 00321964 7F C3 F3 78 */ mr r3, r30 +/* 80324A08 00321968 48 00 3A 55 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream +/* 80324A0C 0032196C 3C 03 B1 B1 */ addis r0, r3, 0xb1b1 +/* 80324A10 00321970 28 00 4E 45 */ cmplwi r0, 0x4e45 +/* 80324A14 00321974 41 82 00 10 */ beq lbl_80324A24 +/* 80324A18 00321978 7F C3 F3 78 */ mr r3, r30 +/* 80324A1C 0032197C 48 01 A2 69 */ bl ReadLong__12CInputStreamFv +/* 80324A20 00321980 48 00 00 10 */ b lbl_80324A30 +lbl_80324A24: +/* 80324A24 00321984 38 00 00 00 */ li r0, 0 +/* 80324A28 00321988 98 1D 00 08 */ stb r0, 8(r29) +/* 80324A2C 0032198C 48 00 00 84 */ b lbl_80324AB0 +lbl_80324A30: +/* 80324A30 00321990 28 03 00 00 */ cmplwi r3, 0 +/* 80324A34 00321994 40 82 00 10 */ bne lbl_80324A44 +/* 80324A38 00321998 38 00 00 00 */ li r0, 0 +/* 80324A3C 0032199C 98 1D 00 08 */ stb r0, 8(r29) +/* 80324A40 003219A0 48 00 00 70 */ b lbl_80324AB0 +lbl_80324A44: +/* 80324A44 003219A4 3C 80 43 4D */ lis r4, 0x434D444C@ha +/* 80324A48 003219A8 90 61 00 1C */ stw r3, 0x1c(r1) +/* 80324A4C 003219AC 38 04 44 4C */ addi r0, r4, 0x434D444C@l +/* 80324A50 003219B0 7F E4 FB 78 */ mr r4, r31 +/* 80324A54 003219B4 90 01 00 18 */ stw r0, 0x18(r1) +/* 80324A58 003219B8 38 61 00 10 */ addi r3, r1, 0x10 +/* 80324A5C 003219BC 38 A1 00 18 */ addi r5, r1, 0x18 +/* 80324A60 003219C0 81 9F 00 00 */ lwz r12, 0(r31) +/* 80324A64 003219C4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80324A68 003219C8 7D 89 03 A6 */ mtctr r12 +/* 80324A6C 003219CC 4E 80 04 21 */ bctrl +/* 80324A70 003219D0 38 61 00 08 */ addi r3, r1, 8 +/* 80324A74 003219D4 38 81 00 10 */ addi r4, r1, 0x10 +/* 80324A78 003219D8 48 01 C4 31 */ bl __ct__6CTokenFRC6CToken +/* 80324A7C 003219DC 38 00 00 01 */ li r0, 1 +/* 80324A80 003219E0 28 1D 00 00 */ cmplwi r29, 0 +/* 80324A84 003219E4 98 1D 00 08 */ stb r0, 8(r29) +/* 80324A88 003219E8 41 82 00 10 */ beq lbl_80324A98 +/* 80324A8C 003219EC 7F A3 EB 78 */ mr r3, r29 +/* 80324A90 003219F0 38 81 00 08 */ addi r4, r1, 8 +/* 80324A94 003219F4 48 01 C4 15 */ bl __ct__6CTokenFRC6CToken +lbl_80324A98: +/* 80324A98 003219F8 38 61 00 08 */ addi r3, r1, 8 +/* 80324A9C 003219FC 38 80 00 00 */ li r4, 0 +/* 80324AA0 00321A00 48 01 C3 A1 */ bl __dt__6CTokenFv +/* 80324AA4 00321A04 38 61 00 10 */ addi r3, r1, 0x10 +/* 80324AA8 00321A08 38 80 FF FF */ li r4, -1 +/* 80324AAC 00321A0C 48 01 C3 95 */ bl __dt__6CTokenFv +lbl_80324AB0: +/* 80324AB0 00321A10 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80324AB4 00321A14 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80324AB8 00321A18 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80324ABC 00321A1C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80324AC0 00321A20 7C 08 03 A6 */ mtlr r0 +/* 80324AC4 00321A24 38 21 00 30 */ addi r1, r1, 0x30 +/* 80324AC8 00321A28 4E 80 00 20 */ blr + +.global GetElectricGeneratorDesc__20CParticleDataFactoryFR12CInputStreamP11CSimplePool +GetElectricGeneratorDesc__20CParticleDataFactoryFR12CInputStreamP11CSimplePool: +/* 80324ACC 00321A2C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80324AD0 00321A30 7C 08 02 A6 */ mflr r0 +/* 80324AD4 00321A34 90 01 00 34 */ stw r0, 0x34(r1) +/* 80324AD8 00321A38 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80324ADC 00321A3C 7C BF 2B 78 */ mr r31, r5 +/* 80324AE0 00321A40 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80324AE4 00321A44 7C 9E 23 78 */ mr r30, r4 +/* 80324AE8 00321A48 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80324AEC 00321A4C 7C 7D 1B 78 */ mr r29, r3 +/* 80324AF0 00321A50 7F C3 F3 78 */ mr r3, r30 +/* 80324AF4 00321A54 48 00 39 69 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream +/* 80324AF8 00321A58 3C 03 B1 B1 */ addis r0, r3, 0xb1b1 +/* 80324AFC 00321A5C 28 00 4E 45 */ cmplwi r0, 0x4e45 +/* 80324B00 00321A60 41 82 00 10 */ beq lbl_80324B10 +/* 80324B04 00321A64 7F C3 F3 78 */ mr r3, r30 +/* 80324B08 00321A68 48 01 A1 7D */ bl ReadLong__12CInputStreamFv +/* 80324B0C 00321A6C 48 00 00 10 */ b lbl_80324B1C +lbl_80324B10: +/* 80324B10 00321A70 38 00 00 00 */ li r0, 0 +/* 80324B14 00321A74 98 1D 00 08 */ stb r0, 8(r29) +/* 80324B18 00321A78 48 00 00 84 */ b lbl_80324B9C +lbl_80324B1C: +/* 80324B1C 00321A7C 28 03 00 00 */ cmplwi r3, 0 +/* 80324B20 00321A80 40 82 00 10 */ bne lbl_80324B30 +/* 80324B24 00321A84 38 00 00 00 */ li r0, 0 +/* 80324B28 00321A88 98 1D 00 08 */ stb r0, 8(r29) +/* 80324B2C 00321A8C 48 00 00 70 */ b lbl_80324B9C +lbl_80324B30: +/* 80324B30 00321A90 3C 80 45 4C */ lis r4, 0x454C5343@ha +/* 80324B34 00321A94 90 61 00 1C */ stw r3, 0x1c(r1) +/* 80324B38 00321A98 38 04 53 43 */ addi r0, r4, 0x454C5343@l +/* 80324B3C 00321A9C 7F E4 FB 78 */ mr r4, r31 +/* 80324B40 00321AA0 90 01 00 18 */ stw r0, 0x18(r1) +/* 80324B44 00321AA4 38 61 00 10 */ addi r3, r1, 0x10 +/* 80324B48 00321AA8 38 A1 00 18 */ addi r5, r1, 0x18 +/* 80324B4C 00321AAC 81 9F 00 00 */ lwz r12, 0(r31) +/* 80324B50 00321AB0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80324B54 00321AB4 7D 89 03 A6 */ mtctr r12 +/* 80324B58 00321AB8 4E 80 04 21 */ bctrl +/* 80324B5C 00321ABC 38 61 00 08 */ addi r3, r1, 8 +/* 80324B60 00321AC0 38 81 00 10 */ addi r4, r1, 0x10 +/* 80324B64 00321AC4 48 01 C3 45 */ bl __ct__6CTokenFRC6CToken +/* 80324B68 00321AC8 38 00 00 01 */ li r0, 1 +/* 80324B6C 00321ACC 28 1D 00 00 */ cmplwi r29, 0 +/* 80324B70 00321AD0 98 1D 00 08 */ stb r0, 8(r29) +/* 80324B74 00321AD4 41 82 00 10 */ beq lbl_80324B84 +/* 80324B78 00321AD8 7F A3 EB 78 */ mr r3, r29 +/* 80324B7C 00321ADC 38 81 00 08 */ addi r4, r1, 8 +/* 80324B80 00321AE0 48 01 C3 29 */ bl __ct__6CTokenFRC6CToken +lbl_80324B84: +/* 80324B84 00321AE4 38 61 00 08 */ addi r3, r1, 8 +/* 80324B88 00321AE8 38 80 00 00 */ li r4, 0 +/* 80324B8C 00321AEC 48 01 C2 B5 */ bl __dt__6CTokenFv +/* 80324B90 00321AF0 38 61 00 10 */ addi r3, r1, 0x10 +/* 80324B94 00321AF4 38 80 FF FF */ li r4, -1 +/* 80324B98 00321AF8 48 01 C2 A9 */ bl __dt__6CTokenFv +lbl_80324B9C: +/* 80324B9C 00321AFC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80324BA0 00321B00 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80324BA4 00321B04 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80324BA8 00321B08 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80324BAC 00321B0C 7C 08 03 A6 */ mtlr r0 +/* 80324BB0 00321B10 38 21 00 30 */ addi r1, r1, 0x30 +/* 80324BB4 00321B14 4E 80 00 20 */ blr + +.global GetSwooshGeneratorDesc__20CParticleDataFactoryFR12CInputStreamP11CSimplePool +GetSwooshGeneratorDesc__20CParticleDataFactoryFR12CInputStreamP11CSimplePool: +/* 80324BB8 00321B18 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80324BBC 00321B1C 7C 08 02 A6 */ mflr r0 +/* 80324BC0 00321B20 90 01 00 34 */ stw r0, 0x34(r1) +/* 80324BC4 00321B24 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80324BC8 00321B28 7C BF 2B 78 */ mr r31, r5 +/* 80324BCC 00321B2C 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80324BD0 00321B30 7C 9E 23 78 */ mr r30, r4 +/* 80324BD4 00321B34 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80324BD8 00321B38 7C 7D 1B 78 */ mr r29, r3 +/* 80324BDC 00321B3C 7F C3 F3 78 */ mr r3, r30 +/* 80324BE0 00321B40 48 00 38 7D */ bl GetClassID__20CParticleDataFactoryFR12CInputStream +/* 80324BE4 00321B44 3C 03 B1 B1 */ addis r0, r3, 0xb1b1 +/* 80324BE8 00321B48 28 00 4E 45 */ cmplwi r0, 0x4e45 +/* 80324BEC 00321B4C 41 82 00 10 */ beq lbl_80324BFC +/* 80324BF0 00321B50 7F C3 F3 78 */ mr r3, r30 +/* 80324BF4 00321B54 48 01 A0 91 */ bl ReadLong__12CInputStreamFv +/* 80324BF8 00321B58 48 00 00 10 */ b lbl_80324C08 +lbl_80324BFC: +/* 80324BFC 00321B5C 38 00 00 00 */ li r0, 0 +/* 80324C00 00321B60 98 1D 00 08 */ stb r0, 8(r29) +/* 80324C04 00321B64 48 00 00 84 */ b lbl_80324C88 +lbl_80324C08: +/* 80324C08 00321B68 28 03 00 00 */ cmplwi r3, 0 +/* 80324C0C 00321B6C 40 82 00 10 */ bne lbl_80324C1C +/* 80324C10 00321B70 38 00 00 00 */ li r0, 0 +/* 80324C14 00321B74 98 1D 00 08 */ stb r0, 8(r29) +/* 80324C18 00321B78 48 00 00 70 */ b lbl_80324C88 +lbl_80324C1C: +/* 80324C1C 00321B7C 3C 80 53 57 */ lis r4, 0x53574843@ha +/* 80324C20 00321B80 90 61 00 1C */ stw r3, 0x1c(r1) +/* 80324C24 00321B84 38 04 48 43 */ addi r0, r4, 0x53574843@l +/* 80324C28 00321B88 7F E4 FB 78 */ mr r4, r31 +/* 80324C2C 00321B8C 90 01 00 18 */ stw r0, 0x18(r1) +/* 80324C30 00321B90 38 61 00 10 */ addi r3, r1, 0x10 +/* 80324C34 00321B94 38 A1 00 18 */ addi r5, r1, 0x18 +/* 80324C38 00321B98 81 9F 00 00 */ lwz r12, 0(r31) +/* 80324C3C 00321B9C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80324C40 00321BA0 7D 89 03 A6 */ mtctr r12 +/* 80324C44 00321BA4 4E 80 04 21 */ bctrl +/* 80324C48 00321BA8 38 61 00 08 */ addi r3, r1, 8 +/* 80324C4C 00321BAC 38 81 00 10 */ addi r4, r1, 0x10 +/* 80324C50 00321BB0 48 01 C2 59 */ bl __ct__6CTokenFRC6CToken +/* 80324C54 00321BB4 38 00 00 01 */ li r0, 1 +/* 80324C58 00321BB8 28 1D 00 00 */ cmplwi r29, 0 +/* 80324C5C 00321BBC 98 1D 00 08 */ stb r0, 8(r29) +/* 80324C60 00321BC0 41 82 00 10 */ beq lbl_80324C70 +/* 80324C64 00321BC4 7F A3 EB 78 */ mr r3, r29 +/* 80324C68 00321BC8 38 81 00 08 */ addi r4, r1, 8 +/* 80324C6C 00321BCC 48 01 C2 3D */ bl __ct__6CTokenFRC6CToken +lbl_80324C70: +/* 80324C70 00321BD0 38 61 00 08 */ addi r3, r1, 8 +/* 80324C74 00321BD4 38 80 00 00 */ li r4, 0 +/* 80324C78 00321BD8 48 01 C1 C9 */ bl __dt__6CTokenFv +/* 80324C7C 00321BDC 38 61 00 10 */ addi r3, r1, 0x10 +/* 80324C80 00321BE0 38 80 FF FF */ li r4, -1 +/* 80324C84 00321BE4 48 01 C1 BD */ bl __dt__6CTokenFv +lbl_80324C88: +/* 80324C88 00321BE8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80324C8C 00321BEC 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80324C90 00321BF0 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80324C94 00321BF4 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80324C98 00321BF8 7C 08 03 A6 */ mtlr r0 +/* 80324C9C 00321BFC 38 21 00 30 */ addi r1, r1, 0x30 +/* 80324CA0 00321C00 4E 80 00 20 */ blr + +.global "GetChildGeneratorDesc__20CParticleDataFactoryFUiP11CSimplePoolRCQ24rstl37vector" +"GetChildGeneratorDesc__20CParticleDataFactoryFUiP11CSimplePoolRCQ24rstl37vector": +/* 80324CA4 00321C04 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80324CA8 00321C08 7C 08 02 A6 */ mflr r0 +/* 80324CAC 00321C0C 90 01 00 44 */ stw r0, 0x44(r1) +/* 80324CB0 00321C10 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80324CB4 00321C14 7C BF 2B 78 */ mr r31, r5 +/* 80324CB8 00321C18 38 A1 00 08 */ addi r5, r1, 8 +/* 80324CBC 00321C1C 93 C1 00 38 */ stw r30, 0x38(r1) +/* 80324CC0 00321C20 7C 7E 1B 78 */ mr r30, r3 +/* 80324CC4 00321C24 38 61 00 18 */ addi r3, r1, 0x18 +/* 80324CC8 00321C28 80 06 00 04 */ lwz r0, 4(r6) +/* 80324CCC 00321C2C 80 C6 00 0C */ lwz r6, 0xc(r6) +/* 80324CD0 00321C30 54 00 10 3A */ slwi r0, r0, 2 +/* 80324CD4 00321C34 90 81 00 08 */ stw r4, 8(r1) +/* 80324CD8 00321C38 7C 06 02 14 */ add r0, r6, r0 +/* 80324CDC 00321C3C 38 81 00 10 */ addi r4, r1, 0x10 +/* 80324CE0 00321C40 90 01 00 0C */ stw r0, 0xc(r1) +/* 80324CE4 00321C44 90 01 00 10 */ stw r0, 0x10(r1) +/* 80324CE8 00321C48 90 C1 00 14 */ stw r6, 0x14(r1) +/* 80324CEC 00321C4C 90 C1 00 18 */ stw r6, 0x18(r1) +/* 80324CF0 00321C50 48 00 57 59 */ bl "count,Q24rstl17rmemory_allocator>,Ui>__4rstlFQ24rstl100const_pointer_iterator,Q24rstl17rmemory_allocator>Q24rstl100const_pointer_iterator,Q24rstl17rmemory_allocator>RCUi" +/* 80324CF4 00321C54 2C 03 00 00 */ cmpwi r3, 0 +/* 80324CF8 00321C58 40 82 00 78 */ bne lbl_80324D70 +/* 80324CFC 00321C5C 80 01 00 08 */ lwz r0, 8(r1) +/* 80324D00 00321C60 3C 60 50 41 */ lis r3, 0x50415254@ha +/* 80324D04 00321C64 38 63 52 54 */ addi r3, r3, 0x50415254@l +/* 80324D08 00321C68 7F E4 FB 78 */ mr r4, r31 +/* 80324D0C 00321C6C 90 61 00 2C */ stw r3, 0x2c(r1) +/* 80324D10 00321C70 38 61 00 24 */ addi r3, r1, 0x24 +/* 80324D14 00321C74 38 A1 00 2C */ addi r5, r1, 0x2c +/* 80324D18 00321C78 90 01 00 30 */ stw r0, 0x30(r1) +/* 80324D1C 00321C7C 81 9F 00 00 */ lwz r12, 0(r31) +/* 80324D20 00321C80 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80324D24 00321C84 7D 89 03 A6 */ mtctr r12 +/* 80324D28 00321C88 4E 80 04 21 */ bctrl +/* 80324D2C 00321C8C 38 61 00 1C */ addi r3, r1, 0x1c +/* 80324D30 00321C90 38 81 00 24 */ addi r4, r1, 0x24 +/* 80324D34 00321C94 48 01 C1 75 */ bl __ct__6CTokenFRC6CToken +/* 80324D38 00321C98 38 00 00 01 */ li r0, 1 +/* 80324D3C 00321C9C 28 1E 00 00 */ cmplwi r30, 0 +/* 80324D40 00321CA0 98 1E 00 08 */ stb r0, 8(r30) +/* 80324D44 00321CA4 41 82 00 10 */ beq lbl_80324D54 +/* 80324D48 00321CA8 7F C3 F3 78 */ mr r3, r30 +/* 80324D4C 00321CAC 38 81 00 1C */ addi r4, r1, 0x1c +/* 80324D50 00321CB0 48 01 C1 59 */ bl __ct__6CTokenFRC6CToken +lbl_80324D54: +/* 80324D54 00321CB4 38 61 00 1C */ addi r3, r1, 0x1c +/* 80324D58 00321CB8 38 80 00 00 */ li r4, 0 +/* 80324D5C 00321CBC 48 01 C0 E5 */ bl __dt__6CTokenFv +/* 80324D60 00321CC0 38 61 00 24 */ addi r3, r1, 0x24 +/* 80324D64 00321CC4 38 80 FF FF */ li r4, -1 +/* 80324D68 00321CC8 48 01 C0 D9 */ bl __dt__6CTokenFv +/* 80324D6C 00321CCC 48 00 00 0C */ b lbl_80324D78 +lbl_80324D70: +/* 80324D70 00321CD0 38 00 00 00 */ li r0, 0 +/* 80324D74 00321CD4 98 1E 00 08 */ stb r0, 8(r30) +lbl_80324D78: +/* 80324D78 00321CD8 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80324D7C 00321CDC 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80324D80 00321CE0 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 80324D84 00321CE4 7C 08 03 A6 */ mtlr r0 +/* 80324D88 00321CE8 38 21 00 40 */ addi r1, r1, 0x40 +/* 80324D8C 00321CEC 4E 80 00 20 */ blr + +.global "GetChildGeneratorDesc__20CParticleDataFactoryFR12CInputStreamP11CSimplePoolRCQ24rstl37vector" +"GetChildGeneratorDesc__20CParticleDataFactoryFR12CInputStreamP11CSimplePoolRCQ24rstl37vector": +/* 80324D90 00321CF0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80324D94 00321CF4 7C 08 02 A6 */ mflr r0 +/* 80324D98 00321CF8 90 01 00 24 */ stw r0, 0x24(r1) +/* 80324D9C 00321CFC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80324DA0 00321D00 7C DF 33 78 */ mr r31, r6 +/* 80324DA4 00321D04 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80324DA8 00321D08 7C BE 2B 78 */ mr r30, r5 +/* 80324DAC 00321D0C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80324DB0 00321D10 7C 9D 23 78 */ mr r29, r4 +/* 80324DB4 00321D14 93 81 00 10 */ stw r28, 0x10(r1) +/* 80324DB8 00321D18 7C 7C 1B 78 */ mr r28, r3 +/* 80324DBC 00321D1C 7F A3 EB 78 */ mr r3, r29 +/* 80324DC0 00321D20 48 00 36 9D */ bl GetClassID__20CParticleDataFactoryFR12CInputStream +/* 80324DC4 00321D24 3C 03 B1 B1 */ addis r0, r3, 0xb1b1 +/* 80324DC8 00321D28 28 00 4E 45 */ cmplwi r0, 0x4e45 +/* 80324DCC 00321D2C 41 82 00 14 */ beq lbl_80324DE0 +/* 80324DD0 00321D30 7F A3 EB 78 */ mr r3, r29 +/* 80324DD4 00321D34 48 01 9E B1 */ bl ReadLong__12CInputStreamFv +/* 80324DD8 00321D38 7C 64 1B 78 */ mr r4, r3 +/* 80324DDC 00321D3C 48 00 00 10 */ b lbl_80324DEC +lbl_80324DE0: +/* 80324DE0 00321D40 38 00 00 00 */ li r0, 0 +/* 80324DE4 00321D44 98 1C 00 08 */ stb r0, 8(r28) +/* 80324DE8 00321D48 48 00 00 28 */ b lbl_80324E10 +lbl_80324DEC: +/* 80324DEC 00321D4C 28 04 00 00 */ cmplwi r4, 0 +/* 80324DF0 00321D50 40 82 00 10 */ bne lbl_80324E00 +/* 80324DF4 00321D54 38 00 00 00 */ li r0, 0 +/* 80324DF8 00321D58 98 1C 00 08 */ stb r0, 8(r28) +/* 80324DFC 00321D5C 48 00 00 14 */ b lbl_80324E10 +lbl_80324E00: +/* 80324E00 00321D60 7F 83 E3 78 */ mr r3, r28 +/* 80324E04 00321D64 7F C5 F3 78 */ mr r5, r30 +/* 80324E08 00321D68 7F E6 FB 78 */ mr r6, r31 +/* 80324E0C 00321D6C 4B FF FE 99 */ bl "GetChildGeneratorDesc__20CParticleDataFactoryFUiP11CSimplePoolRCQ24rstl37vector" +lbl_80324E10: +/* 80324E10 00321D70 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80324E14 00321D74 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80324E18 00321D78 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80324E1C 00321D7C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80324E20 00321D80 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80324E24 00321D84 7C 08 03 A6 */ mtlr r0 +/* 80324E28 00321D88 38 21 00 20 */ addi r1, r1, 0x20 +/* 80324E2C 00321D8C 4E 80 00 20 */ blr + +.global GetTextureElement__20CParticleDataFactoryFR12CInputStreamP11CSimplePool +GetTextureElement__20CParticleDataFactoryFR12CInputStreamP11CSimplePool: +/* 80324E30 00321D90 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 80324E34 00321D94 7C 08 02 A6 */ mflr r0 +/* 80324E38 00321D98 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 80324E3C 00321D9C BF 01 00 80 */ stmw r24, 0x80(r1) +/* 80324E40 00321DA0 7C 7A 1B 78 */ mr r26, r3 +/* 80324E44 00321DA4 7C 99 23 78 */ mr r25, r4 +/* 80324E48 00321DA8 48 00 36 15 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream +/* 80324E4C 00321DAC 3C 80 43 4E */ lis r4, 0x434E5354@ha +/* 80324E50 00321DB0 38 04 53 54 */ addi r0, r4, 0x434E5354@l +/* 80324E54 00321DB4 7C 03 00 00 */ cmpw r3, r0 +/* 80324E58 00321DB8 41 82 00 38 */ beq lbl_80324E90 +/* 80324E5C 00321DBC 40 80 00 18 */ bge lbl_80324E74 +/* 80324E60 00321DC0 3C 80 41 54 */ lis r4, 0x41544558@ha +/* 80324E64 00321DC4 38 04 45 58 */ addi r0, r4, 0x41544558@l +/* 80324E68 00321DC8 7C 03 00 00 */ cmpw r3, r0 +/* 80324E6C 00321DCC 41 82 01 B4 */ beq lbl_80325020 +/* 80324E70 00321DD0 48 00 03 CC */ b lbl_8032523C +lbl_80324E74: +/* 80324E74 00321DD4 3C 80 4E 4F */ lis r4, 0x4E4F4E45@ha +/* 80324E78 00321DD8 38 04 4E 45 */ addi r0, r4, 0x4E4F4E45@l +/* 80324E7C 00321DDC 7C 03 00 00 */ cmpw r3, r0 +/* 80324E80 00321DE0 41 82 00 08 */ beq lbl_80324E88 +/* 80324E84 00321DE4 48 00 03 B8 */ b lbl_8032523C +lbl_80324E88: +/* 80324E88 00321DE8 3B 20 00 00 */ li r25, 0 +/* 80324E8C 00321DEC 48 00 03 B8 */ b lbl_80325244 +lbl_80324E90: +/* 80324E90 00321DF0 7F 43 D3 78 */ mr r3, r26 +/* 80324E94 00321DF4 3B 60 00 00 */ li r27, 0 +/* 80324E98 00321DF8 48 00 35 C5 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream +/* 80324E9C 00321DFC 3C 03 B1 B1 */ addis r0, r3, 0xb1b1 +/* 80324EA0 00321E00 28 00 4E 45 */ cmplwi r0, 0x4e45 +/* 80324EA4 00321E04 41 82 00 10 */ beq lbl_80324EB4 +/* 80324EA8 00321E08 7F 43 D3 78 */ mr r3, r26 +/* 80324EAC 00321E0C 48 01 9D D9 */ bl ReadLong__12CInputStreamFv +/* 80324EB0 00321E10 7C 7B 1B 78 */ mr r27, r3 +lbl_80324EB4: +/* 80324EB4 00321E14 28 1B 00 00 */ cmplwi r27, 0 +/* 80324EB8 00321E18 40 82 00 C0 */ bne lbl_80324F78 +/* 80324EBC 00321E1C 38 60 FF FF */ li r3, -1 +/* 80324EC0 00321E20 4B FF FA 55 */ bl CreateTexture__Fi +/* 80324EC4 00321E24 7C 64 1B 78 */ mr r4, r3 +/* 80324EC8 00321E28 3B 01 00 70 */ addi r24, r1, 0x70 +/* 80324ECC 00321E2C 38 61 00 10 */ addi r3, r1, 0x10 +/* 80324ED0 00321E30 4B CE 2B 5D */ bl "GetNewDerivedObject__35TObjOwnerDerivedFromIObj<8CTexture>FP8CTexture" +/* 80324ED4 00321E34 38 00 00 00 */ li r0, 0 +/* 80324ED8 00321E38 80 81 00 14 */ lwz r4, 0x14(r1) +/* 80324EDC 00321E3C 98 01 00 10 */ stb r0, 0x10(r1) +/* 80324EE0 00321E40 7F 03 C3 78 */ mr r3, r24 +/* 80324EE4 00321E44 48 01 C0 21 */ bl __ct__6CTokenFP4IObj +/* 80324EE8 00321E48 88 01 00 10 */ lbz r0, 0x10(r1) +/* 80324EEC 00321E4C 28 00 00 00 */ cmplwi r0, 0 +/* 80324EF0 00321E50 41 82 00 24 */ beq lbl_80324F14 +/* 80324EF4 00321E54 80 61 00 14 */ lwz r3, 0x14(r1) +/* 80324EF8 00321E58 28 03 00 00 */ cmplwi r3, 0 +/* 80324EFC 00321E5C 41 82 00 18 */ beq lbl_80324F14 +/* 80324F00 00321E60 81 83 00 00 */ lwz r12, 0(r3) +/* 80324F04 00321E64 38 80 00 01 */ li r4, 1 +/* 80324F08 00321E68 81 8C 00 08 */ lwz r12, 8(r12) +/* 80324F0C 00321E6C 7D 89 03 A6 */ mtctr r12 +/* 80324F10 00321E70 4E 80 04 21 */ bctrl +lbl_80324F14: +/* 80324F14 00321E74 3C 60 80 3D */ lis r3, lbl_803D7918@ha +/* 80324F18 00321E78 3B 00 00 00 */ li r24, 0 +/* 80324F1C 00321E7C 38 83 79 18 */ addi r4, r3, lbl_803D7918@l +/* 80324F20 00321E80 38 A0 00 00 */ li r5, 0 +/* 80324F24 00321E84 38 60 00 10 */ li r3, 0x10 +/* 80324F28 00321E88 48 04 7B 5D */ bl __nw__FUlPCcPCc_0 +/* 80324F2C 00321E8C 7C 79 1B 79 */ or. r25, r3, r3 +/* 80324F30 00321E90 41 82 00 24 */ beq lbl_80324F54 +/* 80324F34 00321E94 38 61 00 50 */ addi r3, r1, 0x50 +/* 80324F38 00321E98 38 81 00 70 */ addi r4, r1, 0x70 +/* 80324F3C 00321E9C 48 01 BF 6D */ bl __ct__6CTokenFRC6CToken +/* 80324F40 00321EA0 7F 23 CB 78 */ mr r3, r25 +/* 80324F44 00321EA4 38 81 00 50 */ addi r4, r1, 0x50 +/* 80324F48 00321EA8 3B 00 00 01 */ li r24, 1 +/* 80324F4C 00321EAC 48 00 F7 A1 */ bl "__ct__12CUVEConstantF17TToken<8CTexture>" +/* 80324F50 00321EB0 7C 79 1B 78 */ mr r25, r3 +lbl_80324F54: +/* 80324F54 00321EB4 7F 00 07 75 */ extsb. r0, r24 +/* 80324F58 00321EB8 41 82 00 10 */ beq lbl_80324F68 +/* 80324F5C 00321EBC 38 61 00 50 */ addi r3, r1, 0x50 +/* 80324F60 00321EC0 38 80 00 00 */ li r4, 0 +/* 80324F64 00321EC4 48 01 BE DD */ bl __dt__6CTokenFv +lbl_80324F68: +/* 80324F68 00321EC8 38 61 00 70 */ addi r3, r1, 0x70 +/* 80324F6C 00321ECC 38 80 00 00 */ li r4, 0 +/* 80324F70 00321ED0 48 01 BE D1 */ bl __dt__6CTokenFv +/* 80324F74 00321ED4 48 00 02 D0 */ b lbl_80325244 +lbl_80324F78: +/* 80324F78 00321ED8 3C 60 54 58 */ lis r3, 0x54585452@ha +/* 80324F7C 00321EDC 93 61 00 4C */ stw r27, 0x4c(r1) +/* 80324F80 00321EE0 38 03 54 52 */ addi r0, r3, 0x54585452@l +/* 80324F84 00321EE4 7F 24 CB 78 */ mr r4, r25 +/* 80324F88 00321EE8 90 01 00 48 */ stw r0, 0x48(r1) +/* 80324F8C 00321EEC 38 61 00 40 */ addi r3, r1, 0x40 +/* 80324F90 00321EF0 38 A1 00 48 */ addi r5, r1, 0x48 +/* 80324F94 00321EF4 81 99 00 00 */ lwz r12, 0(r25) +/* 80324F98 00321EF8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80324F9C 00321EFC 7D 89 03 A6 */ mtctr r12 +/* 80324FA0 00321F00 4E 80 04 21 */ bctrl +/* 80324FA4 00321F04 38 61 00 68 */ addi r3, r1, 0x68 +/* 80324FA8 00321F08 38 81 00 40 */ addi r4, r1, 0x40 +/* 80324FAC 00321F0C 48 01 BE FD */ bl __ct__6CTokenFRC6CToken +/* 80324FB0 00321F10 38 61 00 40 */ addi r3, r1, 0x40 +/* 80324FB4 00321F14 38 80 FF FF */ li r4, -1 +/* 80324FB8 00321F18 48 01 BE 89 */ bl __dt__6CTokenFv +/* 80324FBC 00321F1C 3C 60 80 3D */ lis r3, lbl_803D7918@ha +/* 80324FC0 00321F20 3B 00 00 00 */ li r24, 0 +/* 80324FC4 00321F24 38 83 79 18 */ addi r4, r3, lbl_803D7918@l +/* 80324FC8 00321F28 38 A0 00 00 */ li r5, 0 +/* 80324FCC 00321F2C 38 60 00 10 */ li r3, 0x10 +/* 80324FD0 00321F30 48 04 7A B5 */ bl __nw__FUlPCcPCc_0 +/* 80324FD4 00321F34 7C 79 1B 79 */ or. r25, r3, r3 +/* 80324FD8 00321F38 41 82 00 24 */ beq lbl_80324FFC +/* 80324FDC 00321F3C 38 61 00 38 */ addi r3, r1, 0x38 +/* 80324FE0 00321F40 38 81 00 68 */ addi r4, r1, 0x68 +/* 80324FE4 00321F44 48 01 BE C5 */ bl __ct__6CTokenFRC6CToken +/* 80324FE8 00321F48 7F 23 CB 78 */ mr r3, r25 +/* 80324FEC 00321F4C 38 81 00 38 */ addi r4, r1, 0x38 +/* 80324FF0 00321F50 3B 00 00 01 */ li r24, 1 +/* 80324FF4 00321F54 48 00 F6 F9 */ bl "__ct__12CUVEConstantF17TToken<8CTexture>" +/* 80324FF8 00321F58 7C 79 1B 78 */ mr r25, r3 +lbl_80324FFC: +/* 80324FFC 00321F5C 7F 00 07 75 */ extsb. r0, r24 +/* 80325000 00321F60 41 82 00 10 */ beq lbl_80325010 +/* 80325004 00321F64 38 61 00 38 */ addi r3, r1, 0x38 +/* 80325008 00321F68 38 80 00 00 */ li r4, 0 +/* 8032500C 00321F6C 48 01 BE 35 */ bl __dt__6CTokenFv +lbl_80325010: +/* 80325010 00321F70 38 61 00 68 */ addi r3, r1, 0x68 +/* 80325014 00321F74 38 80 00 00 */ li r4, 0 +/* 80325018 00321F78 48 01 BE 29 */ bl __dt__6CTokenFv +/* 8032501C 00321F7C 48 00 02 28 */ b lbl_80325244 +lbl_80325020: +/* 80325020 00321F80 7F 43 D3 78 */ mr r3, r26 +/* 80325024 00321F84 3B 00 00 00 */ li r24, 0 +/* 80325028 00321F88 48 00 34 35 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream +/* 8032502C 00321F8C 3C 03 B1 B1 */ addis r0, r3, 0xb1b1 +/* 80325030 00321F90 28 00 4E 45 */ cmplwi r0, 0x4e45 +/* 80325034 00321F94 41 82 00 10 */ beq lbl_80325044 +/* 80325038 00321F98 7F 43 D3 78 */ mr r3, r26 +/* 8032503C 00321F9C 48 01 9C 49 */ bl ReadLong__12CInputStreamFv +/* 80325040 00321FA0 7C 78 1B 78 */ mr r24, r3 +lbl_80325044: +/* 80325044 00321FA4 7F 43 D3 78 */ mr r3, r26 +/* 80325048 00321FA8 48 00 2B 5D */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 8032504C 00321FAC 7C 60 1B 78 */ mr r0, r3 +/* 80325050 00321FB0 7F 43 D3 78 */ mr r3, r26 +/* 80325054 00321FB4 7C 1F 03 78 */ mr r31, r0 +/* 80325058 00321FB8 48 00 2B 4D */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 8032505C 00321FBC 7C 60 1B 78 */ mr r0, r3 +/* 80325060 00321FC0 7F 43 D3 78 */ mr r3, r26 +/* 80325064 00321FC4 7C 1E 03 78 */ mr r30, r0 +/* 80325068 00321FC8 48 00 2B 3D */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 8032506C 00321FCC 7C 60 1B 78 */ mr r0, r3 +/* 80325070 00321FD0 7F 43 D3 78 */ mr r3, r26 +/* 80325074 00321FD4 7C 1D 03 78 */ mr r29, r0 +/* 80325078 00321FD8 48 00 2B 2D */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 8032507C 00321FDC 7C 60 1B 78 */ mr r0, r3 +/* 80325080 00321FE0 7F 43 D3 78 */ mr r3, r26 +/* 80325084 00321FE4 7C 1C 03 78 */ mr r28, r0 +/* 80325088 00321FE8 48 00 2B 1D */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 8032508C 00321FEC 7C 60 1B 78 */ mr r0, r3 +/* 80325090 00321FF0 7F 43 D3 78 */ mr r3, r26 +/* 80325094 00321FF4 7C 1B 03 78 */ mr r27, r0 +/* 80325098 00321FF8 48 00 33 91 */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 8032509C 00321FFC 28 18 00 00 */ cmplwi r24, 0 +/* 803250A0 00322000 7C 7A 1B 78 */ mr r26, r3 +/* 803250A4 00322004 40 82 00 D8 */ bne lbl_8032517C +/* 803250A8 00322008 38 60 FF FF */ li r3, -1 +/* 803250AC 0032200C 4B FF F8 69 */ bl CreateTexture__Fi +/* 803250B0 00322010 7C 64 1B 78 */ mr r4, r3 +/* 803250B4 00322014 3B 01 00 60 */ addi r24, r1, 0x60 +/* 803250B8 00322018 38 61 00 08 */ addi r3, r1, 8 +/* 803250BC 0032201C 4B CE 29 71 */ bl "GetNewDerivedObject__35TObjOwnerDerivedFromIObj<8CTexture>FP8CTexture" +/* 803250C0 00322020 38 00 00 00 */ li r0, 0 +/* 803250C4 00322024 80 81 00 0C */ lwz r4, 0xc(r1) +/* 803250C8 00322028 98 01 00 08 */ stb r0, 8(r1) +/* 803250CC 0032202C 7F 03 C3 78 */ mr r3, r24 +/* 803250D0 00322030 48 01 BE 35 */ bl __ct__6CTokenFP4IObj +/* 803250D4 00322034 88 01 00 08 */ lbz r0, 8(r1) +/* 803250D8 00322038 28 00 00 00 */ cmplwi r0, 0 +/* 803250DC 0032203C 41 82 00 24 */ beq lbl_80325100 +/* 803250E0 00322040 80 61 00 0C */ lwz r3, 0xc(r1) +/* 803250E4 00322044 28 03 00 00 */ cmplwi r3, 0 +/* 803250E8 00322048 41 82 00 18 */ beq lbl_80325100 +/* 803250EC 0032204C 81 83 00 00 */ lwz r12, 0(r3) +/* 803250F0 00322050 38 80 00 01 */ li r4, 1 +/* 803250F4 00322054 81 8C 00 08 */ lwz r12, 8(r12) +/* 803250F8 00322058 7D 89 03 A6 */ mtctr r12 +/* 803250FC 0032205C 4E 80 04 21 */ bctrl +lbl_80325100: +/* 80325100 00322060 3C 60 80 3D */ lis r3, lbl_803D7918@ha +/* 80325104 00322064 3B 00 00 00 */ li r24, 0 +/* 80325108 00322068 38 83 79 18 */ addi r4, r3, lbl_803D7918@l +/* 8032510C 0032206C 38 A0 00 00 */ li r5, 0 +/* 80325110 00322070 38 60 00 3C */ li r3, 0x3c +/* 80325114 00322074 48 04 79 71 */ bl __nw__FUlPCcPCc_0 +/* 80325118 00322078 7C 79 1B 79 */ or. r25, r3, r3 +/* 8032511C 0032207C 41 82 00 3C */ beq lbl_80325158 +/* 80325120 00322080 38 61 00 30 */ addi r3, r1, 0x30 +/* 80325124 00322084 38 81 00 60 */ addi r4, r1, 0x60 +/* 80325128 00322088 48 01 BD 81 */ bl __ct__6CTokenFRC6CToken +/* 8032512C 0032208C 7F 23 CB 78 */ mr r3, r25 +/* 80325130 00322090 7F E5 FB 78 */ mr r5, r31 +/* 80325134 00322094 7F C6 F3 78 */ mr r6, r30 +/* 80325138 00322098 7F A7 EB 78 */ mr r7, r29 +/* 8032513C 0032209C 7F 88 E3 78 */ mr r8, r28 +/* 80325140 003220A0 7F 69 DB 78 */ mr r9, r27 +/* 80325144 003220A4 7F 4A D3 78 */ mr r10, r26 +/* 80325148 003220A8 38 81 00 30 */ addi r4, r1, 0x30 +/* 8032514C 003220AC 3B 00 00 01 */ li r24, 1 +/* 80325150 003220B0 48 00 F1 05 */ bl "__ct__15CUVEAnimTextureF17TToken<8CTexture>P11CIntElementP11CIntElementP11CIntElementP11CIntElementP11CIntElementb" +/* 80325154 003220B4 7C 79 1B 78 */ mr r25, r3 +lbl_80325158: +/* 80325158 003220B8 7F 00 07 75 */ extsb. r0, r24 +/* 8032515C 003220BC 41 82 00 10 */ beq lbl_8032516C +/* 80325160 003220C0 38 61 00 30 */ addi r3, r1, 0x30 +/* 80325164 003220C4 38 80 00 00 */ li r4, 0 +/* 80325168 003220C8 48 01 BC D9 */ bl __dt__6CTokenFv +lbl_8032516C: +/* 8032516C 003220CC 38 61 00 60 */ addi r3, r1, 0x60 +/* 80325170 003220D0 38 80 00 00 */ li r4, 0 +/* 80325174 003220D4 48 01 BC CD */ bl __dt__6CTokenFv +/* 80325178 003220D8 48 00 00 CC */ b lbl_80325244 +lbl_8032517C: +/* 8032517C 003220DC 3C 60 54 58 */ lis r3, 0x54585452@ha +/* 80325180 003220E0 93 01 00 2C */ stw r24, 0x2c(r1) +/* 80325184 003220E4 38 03 54 52 */ addi r0, r3, 0x54585452@l +/* 80325188 003220E8 7F 24 CB 78 */ mr r4, r25 +/* 8032518C 003220EC 90 01 00 28 */ stw r0, 0x28(r1) +/* 80325190 003220F0 38 61 00 20 */ addi r3, r1, 0x20 +/* 80325194 003220F4 38 A1 00 28 */ addi r5, r1, 0x28 +/* 80325198 003220F8 81 99 00 00 */ lwz r12, 0(r25) +/* 8032519C 003220FC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803251A0 00322100 7D 89 03 A6 */ mtctr r12 +/* 803251A4 00322104 4E 80 04 21 */ bctrl +/* 803251A8 00322108 38 61 00 58 */ addi r3, r1, 0x58 +/* 803251AC 0032210C 38 81 00 20 */ addi r4, r1, 0x20 +/* 803251B0 00322110 48 01 BC F9 */ bl __ct__6CTokenFRC6CToken +/* 803251B4 00322114 38 61 00 20 */ addi r3, r1, 0x20 +/* 803251B8 00322118 38 80 FF FF */ li r4, -1 +/* 803251BC 0032211C 48 01 BC 85 */ bl __dt__6CTokenFv +/* 803251C0 00322120 3C 60 80 3D */ lis r3, lbl_803D7918@ha +/* 803251C4 00322124 3B 00 00 00 */ li r24, 0 +/* 803251C8 00322128 38 83 79 18 */ addi r4, r3, lbl_803D7918@l +/* 803251CC 0032212C 38 A0 00 00 */ li r5, 0 +/* 803251D0 00322130 38 60 00 3C */ li r3, 0x3c +/* 803251D4 00322134 48 04 78 B1 */ bl __nw__FUlPCcPCc_0 +/* 803251D8 00322138 7C 79 1B 79 */ or. r25, r3, r3 +/* 803251DC 0032213C 41 82 00 3C */ beq lbl_80325218 +/* 803251E0 00322140 38 61 00 18 */ addi r3, r1, 0x18 +/* 803251E4 00322144 38 81 00 58 */ addi r4, r1, 0x58 +/* 803251E8 00322148 48 01 BC C1 */ bl __ct__6CTokenFRC6CToken +/* 803251EC 0032214C 7F 23 CB 78 */ mr r3, r25 +/* 803251F0 00322150 7F E5 FB 78 */ mr r5, r31 +/* 803251F4 00322154 7F C6 F3 78 */ mr r6, r30 +/* 803251F8 00322158 7F A7 EB 78 */ mr r7, r29 +/* 803251FC 0032215C 7F 88 E3 78 */ mr r8, r28 +/* 80325200 00322160 7F 69 DB 78 */ mr r9, r27 +/* 80325204 00322164 7F 4A D3 78 */ mr r10, r26 +/* 80325208 00322168 38 81 00 18 */ addi r4, r1, 0x18 +/* 8032520C 0032216C 3B 00 00 01 */ li r24, 1 +/* 80325210 00322170 48 00 F0 45 */ bl "__ct__15CUVEAnimTextureF17TToken<8CTexture>P11CIntElementP11CIntElementP11CIntElementP11CIntElementP11CIntElementb" +/* 80325214 00322174 7C 79 1B 78 */ mr r25, r3 +lbl_80325218: +/* 80325218 00322178 7F 00 07 75 */ extsb. r0, r24 +/* 8032521C 0032217C 41 82 00 10 */ beq lbl_8032522C +/* 80325220 00322180 38 61 00 18 */ addi r3, r1, 0x18 +/* 80325224 00322184 38 80 00 00 */ li r4, 0 +/* 80325228 00322188 48 01 BC 19 */ bl __dt__6CTokenFv +lbl_8032522C: +/* 8032522C 0032218C 38 61 00 58 */ addi r3, r1, 0x58 +/* 80325230 00322190 38 80 00 00 */ li r4, 0 +/* 80325234 00322194 48 01 BC 0D */ bl __dt__6CTokenFv +/* 80325238 00322198 48 00 00 0C */ b lbl_80325244 +lbl_8032523C: +/* 8032523C 0032219C 38 60 00 00 */ li r3, 0 +/* 80325240 003221A0 48 00 00 08 */ b lbl_80325248 +lbl_80325244: +/* 80325244 003221A4 7F 23 CB 78 */ mr r3, r25 +lbl_80325248: +/* 80325248 003221A8 BB 01 00 80 */ lmw r24, 0x80(r1) +/* 8032524C 003221AC 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 80325250 003221B0 7C 08 03 A6 */ mtlr r0 +/* 80325254 003221B4 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 80325258 003221B8 4E 80 00 20 */ blr + +.global GetColorElement__20CParticleDataFactoryFR12CInputStream +GetColorElement__20CParticleDataFactoryFR12CInputStream: +/* 8032525C 003221BC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80325260 003221C0 7C 08 02 A6 */ mflr r0 +/* 80325264 003221C4 90 01 00 34 */ stw r0, 0x34(r1) +/* 80325268 003221C8 BF 41 00 18 */ stmw r26, 0x18(r1) +/* 8032526C 003221CC 7C 7F 1B 78 */ mr r31, r3 +/* 80325270 003221D0 48 00 31 ED */ bl GetClassID__20CParticleDataFactoryFR12CInputStream +/* 80325274 003221D4 3C A0 4B 45 */ lis r5, 0x4B455945@ha +/* 80325278 003221D8 38 05 59 45 */ addi r0, r5, 0x4B455945@l +/* 8032527C 003221DC 7C 03 00 00 */ cmpw r3, r0 +/* 80325280 003221E0 41 82 03 20 */ beq lbl_803255A0 +/* 80325284 003221E4 40 80 00 54 */ bge lbl_803252D8 +/* 80325288 003221E8 3C 80 43 4E */ lis r4, 0x434E5354@ha +/* 8032528C 003221EC 38 04 53 54 */ addi r0, r4, 0x434E5354@l +/* 80325290 003221F0 7C 03 00 00 */ cmpw r3, r0 +/* 80325294 003221F4 41 82 00 90 */ beq lbl_80325324 +/* 80325298 003221F8 40 80 00 2C */ bge lbl_803252C4 +/* 8032529C 003221FC 3C 80 43 48 */ lis r4, 0x4348414E@ha +/* 803252A0 00322200 38 04 41 4E */ addi r0, r4, 0x4348414E@l +/* 803252A4 00322204 7C 03 00 00 */ cmpw r3, r0 +/* 803252A8 00322208 41 82 04 0C */ beq lbl_803256B4 +/* 803252AC 0032220C 40 80 05 38 */ bge lbl_803257E4 +/* 803252B0 00322210 3C 80 43 46 */ lis r4, 0x43464445@ha +/* 803252B4 00322214 38 04 44 45 */ addi r0, r4, 0x43464445@l +/* 803252B8 00322218 7C 03 00 00 */ cmpw r3, r0 +/* 803252BC 0032221C 41 82 03 7C */ beq lbl_80325638 +/* 803252C0 00322220 48 00 05 24 */ b lbl_803257E4 +lbl_803252C4: +/* 803252C4 00322224 3C 80 46 41 */ lis r4, 0x46414445@ha +/* 803252C8 00322228 38 04 44 45 */ addi r0, r4, 0x46414445@l +/* 803252CC 0032222C 7C 03 00 00 */ cmpw r3, r0 +/* 803252D0 00322230 41 82 03 00 */ beq lbl_803255D0 +/* 803252D4 00322234 48 00 05 10 */ b lbl_803257E4 +lbl_803252D8: +/* 803252D8 00322238 3C 80 50 43 */ lis r4, 0x50434F4C@ha +/* 803252DC 0032223C 38 04 4F 4C */ addi r0, r4, 0x50434F4C@l +/* 803252E0 00322240 7C 03 00 00 */ cmpw r3, r0 +/* 803252E4 00322244 41 82 04 B4 */ beq lbl_80325798 +/* 803252E8 00322248 40 80 00 28 */ bge lbl_80325310 +/* 803252EC 0032224C 3C 80 4E 4F */ lis r4, 0x4E4F4E45@ha +/* 803252F0 00322250 38 04 4E 45 */ addi r0, r4, 0x4E4F4E45@l +/* 803252F4 00322254 7C 03 00 00 */ cmpw r3, r0 +/* 803252F8 00322258 41 82 04 E4 */ beq lbl_803257DC +/* 803252FC 0032225C 40 80 04 E8 */ bge lbl_803257E4 +/* 80325300 00322260 38 05 59 50 */ addi r0, r5, 0x5950 +/* 80325304 00322264 7C 03 00 00 */ cmpw r3, r0 +/* 80325308 00322268 41 82 02 98 */ beq lbl_803255A0 +/* 8032530C 0032226C 48 00 04 D8 */ b lbl_803257E4 +lbl_80325310: +/* 80325310 00322270 3C 80 50 55 */ lis r4, 0x50554C53@ha +/* 80325314 00322274 38 04 4C 53 */ addi r0, r4, 0x50554C53@l +/* 80325318 00322278 7C 03 00 00 */ cmpw r3, r0 +/* 8032531C 0032227C 41 82 04 00 */ beq lbl_8032571C +/* 80325320 00322280 48 00 04 C4 */ b lbl_803257E4 +lbl_80325324: +/* 80325324 00322284 83 AD A8 C8 */ lwz r29, lbl_805A9488@sda21(r13) +/* 80325328 00322288 28 1D 00 00 */ cmplwi r29, 0 +/* 8032532C 0032228C 41 82 00 14 */ beq lbl_80325340 +/* 80325330 00322290 7F A3 EB 78 */ mr r3, r29 +/* 80325334 00322294 48 04 77 79 */ bl sub_8036caac +/* 80325338 00322298 7C 7E 1B 78 */ mr r30, r3 +/* 8032533C 0032229C 48 00 00 08 */ b lbl_80325344 +lbl_80325340: +/* 80325340 003222A0 3B C0 00 00 */ li r30, 0 +lbl_80325344: +/* 80325344 003222A4 7F E3 FB 78 */ mr r3, r31 +/* 80325348 003222A8 48 00 19 49 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 8032534C 003222AC 7C 60 1B 78 */ mr r0, r3 +/* 80325350 003222B0 7F E3 FB 78 */ mr r3, r31 +/* 80325354 003222B4 7C 1C 03 78 */ mr r28, r0 +/* 80325358 003222B8 48 00 19 39 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 8032535C 003222BC 7C 60 1B 78 */ mr r0, r3 +/* 80325360 003222C0 7F E3 FB 78 */ mr r3, r31 +/* 80325364 003222C4 7C 1B 03 78 */ mr r27, r0 +/* 80325368 003222C8 48 00 19 29 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 8032536C 003222CC 7C 60 1B 78 */ mr r0, r3 +/* 80325370 003222D0 7F E3 FB 78 */ mr r3, r31 +/* 80325374 003222D4 7C 1F 03 78 */ mr r31, r0 +/* 80325378 003222D8 48 00 19 19 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 8032537C 003222DC 28 1C 00 00 */ cmplwi r28, 0 +/* 80325380 003222E0 7C 7A 1B 78 */ mr r26, r3 +/* 80325384 003222E4 41 82 01 E0 */ beq lbl_80325564 +/* 80325388 003222E8 28 1B 00 00 */ cmplwi r27, 0 +/* 8032538C 003222EC 41 82 01 D8 */ beq lbl_80325564 +/* 80325390 003222F0 28 1F 00 00 */ cmplwi r31, 0 +/* 80325394 003222F4 41 82 01 D0 */ beq lbl_80325564 +/* 80325398 003222F8 28 1A 00 00 */ cmplwi r26, 0 +/* 8032539C 003222FC 41 82 01 C8 */ beq lbl_80325564 +/* 803253A0 00322300 7F 83 E3 78 */ mr r3, r28 +/* 803253A4 00322304 81 9C 00 00 */ lwz r12, 0(r28) +/* 803253A8 00322308 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 803253AC 0032230C 7D 89 03 A6 */ mtctr r12 +/* 803253B0 00322310 4E 80 04 21 */ bctrl +/* 803253B4 00322314 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 803253B8 00322318 41 82 01 AC */ beq lbl_80325564 +/* 803253BC 0032231C 7F 63 DB 78 */ mr r3, r27 +/* 803253C0 00322320 81 9B 00 00 */ lwz r12, 0(r27) +/* 803253C4 00322324 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 803253C8 00322328 7D 89 03 A6 */ mtctr r12 +/* 803253CC 0032232C 4E 80 04 21 */ bctrl +/* 803253D0 00322330 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 803253D4 00322334 41 82 01 90 */ beq lbl_80325564 +/* 803253D8 00322338 7F E3 FB 78 */ mr r3, r31 +/* 803253DC 0032233C 81 9F 00 00 */ lwz r12, 0(r31) +/* 803253E0 00322340 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 803253E4 00322344 7D 89 03 A6 */ mtctr r12 +/* 803253E8 00322348 4E 80 04 21 */ bctrl +/* 803253EC 0032234C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 803253F0 00322350 41 82 01 74 */ beq lbl_80325564 +/* 803253F4 00322354 7F 43 D3 78 */ mr r3, r26 +/* 803253F8 00322358 81 9A 00 00 */ lwz r12, 0(r26) +/* 803253FC 0032235C 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 80325400 00322360 7D 89 03 A6 */ mtctr r12 +/* 80325404 00322364 4E 80 04 21 */ bctrl +/* 80325408 00322368 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8032540C 0032236C 41 82 01 58 */ beq lbl_80325564 +/* 80325410 00322370 7F 83 E3 78 */ mr r3, r28 +/* 80325414 00322374 38 A1 00 14 */ addi r5, r1, 0x14 +/* 80325418 00322378 81 9C 00 00 */ lwz r12, 0(r28) +/* 8032541C 0032237C 38 80 00 00 */ li r4, 0 +/* 80325420 00322380 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80325424 00322384 7D 89 03 A6 */ mtctr r12 +/* 80325428 00322388 4E 80 04 21 */ bctrl +/* 8032542C 0032238C 7F 63 DB 78 */ mr r3, r27 +/* 80325430 00322390 38 A1 00 10 */ addi r5, r1, 0x10 +/* 80325434 00322394 81 9B 00 00 */ lwz r12, 0(r27) +/* 80325438 00322398 38 80 00 00 */ li r4, 0 +/* 8032543C 0032239C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80325440 003223A0 7D 89 03 A6 */ mtctr r12 +/* 80325444 003223A4 4E 80 04 21 */ bctrl +/* 80325448 003223A8 7F E3 FB 78 */ mr r3, r31 +/* 8032544C 003223AC 38 A1 00 0C */ addi r5, r1, 0xc +/* 80325450 003223B0 81 9F 00 00 */ lwz r12, 0(r31) +/* 80325454 003223B4 38 80 00 00 */ li r4, 0 +/* 80325458 003223B8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8032545C 003223BC 7D 89 03 A6 */ mtctr r12 +/* 80325460 003223C0 4E 80 04 21 */ bctrl +/* 80325464 003223C4 7F 43 D3 78 */ mr r3, r26 +/* 80325468 003223C8 38 A1 00 08 */ addi r5, r1, 8 +/* 8032546C 003223CC 81 9A 00 00 */ lwz r12, 0(r26) +/* 80325470 003223D0 38 80 00 00 */ li r4, 0 +/* 80325474 003223D4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80325478 003223D8 7D 89 03 A6 */ mtctr r12 +/* 8032547C 003223DC 4E 80 04 21 */ bctrl +/* 80325480 003223E0 28 1C 00 00 */ cmplwi r28, 0 +/* 80325484 003223E4 41 82 00 1C */ beq lbl_803254A0 +/* 80325488 003223E8 7F 83 E3 78 */ mr r3, r28 +/* 8032548C 003223EC 38 80 00 01 */ li r4, 1 +/* 80325490 003223F0 81 9C 00 00 */ lwz r12, 0(r28) +/* 80325494 003223F4 81 8C 00 08 */ lwz r12, 8(r12) +/* 80325498 003223F8 7D 89 03 A6 */ mtctr r12 +/* 8032549C 003223FC 4E 80 04 21 */ bctrl +lbl_803254A0: +/* 803254A0 00322400 28 1B 00 00 */ cmplwi r27, 0 +/* 803254A4 00322404 41 82 00 1C */ beq lbl_803254C0 +/* 803254A8 00322408 7F 63 DB 78 */ mr r3, r27 +/* 803254AC 0032240C 38 80 00 01 */ li r4, 1 +/* 803254B0 00322410 81 9B 00 00 */ lwz r12, 0(r27) +/* 803254B4 00322414 81 8C 00 08 */ lwz r12, 8(r12) +/* 803254B8 00322418 7D 89 03 A6 */ mtctr r12 +/* 803254BC 0032241C 4E 80 04 21 */ bctrl +lbl_803254C0: +/* 803254C0 00322420 28 1F 00 00 */ cmplwi r31, 0 +/* 803254C4 00322424 41 82 00 1C */ beq lbl_803254E0 +/* 803254C8 00322428 7F E3 FB 78 */ mr r3, r31 +/* 803254CC 0032242C 38 80 00 01 */ li r4, 1 +/* 803254D0 00322430 81 9F 00 00 */ lwz r12, 0(r31) +/* 803254D4 00322434 81 8C 00 08 */ lwz r12, 8(r12) +/* 803254D8 00322438 7D 89 03 A6 */ mtctr r12 +/* 803254DC 0032243C 4E 80 04 21 */ bctrl +lbl_803254E0: +/* 803254E0 00322440 28 1A 00 00 */ cmplwi r26, 0 +/* 803254E4 00322444 41 82 00 1C */ beq lbl_80325500 +/* 803254E8 00322448 7F 43 D3 78 */ mr r3, r26 +/* 803254EC 0032244C 38 80 00 01 */ li r4, 1 +/* 803254F0 00322450 81 9A 00 00 */ lwz r12, 0(r26) +/* 803254F4 00322454 81 8C 00 08 */ lwz r12, 8(r12) +/* 803254F8 00322458 7D 89 03 A6 */ mtctr r12 +/* 803254FC 0032245C 4E 80 04 21 */ bctrl +lbl_80325500: +/* 80325500 00322460 28 1D 00 00 */ cmplwi r29, 0 +/* 80325504 00322464 41 82 00 24 */ beq lbl_80325528 +/* 80325508 00322468 80 0D A8 C8 */ lwz r0, lbl_805A9488@sda21(r13) +/* 8032550C 0032246C 7C 1D 00 40 */ cmplw r29, r0 +/* 80325510 00322470 40 82 00 18 */ bne lbl_80325528 +/* 80325514 00322474 7F A3 EB 78 */ mr r3, r29 +/* 80325518 00322478 48 04 75 95 */ bl sub_8036caac +/* 8032551C 0032247C 7C 9E 18 50 */ subf r4, r30, r3 +/* 80325520 00322480 7F A3 EB 78 */ mr r3, r29 +/* 80325524 00322484 48 04 75 95 */ bl sub_8036cab8 +lbl_80325528: +/* 80325528 00322488 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 8032552C 0032248C 38 60 00 08 */ li r3, 8 +/* 80325530 00322490 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80325534 00322494 38 A0 00 00 */ li r5, 0 +/* 80325538 00322498 48 04 75 4D */ bl __nw__FUlPCcPCc_0 +/* 8032553C 0032249C 7C 60 1B 79 */ or. r0, r3, r3 +/* 80325540 003224A0 41 82 00 1C */ beq lbl_8032555C +/* 80325544 003224A4 C0 21 00 14 */ lfs f1, 0x14(r1) +/* 80325548 003224A8 C0 41 00 10 */ lfs f2, 0x10(r1) +/* 8032554C 003224AC C0 61 00 0C */ lfs f3, 0xc(r1) +/* 80325550 003224B0 C0 81 00 08 */ lfs f4, 8(r1) +/* 80325554 003224B4 4B FF 1C 85 */ bl __ct__15CCEFastConstantFffff +/* 80325558 003224B8 7C 60 1B 78 */ mr r0, r3 +lbl_8032555C: +/* 8032555C 003224BC 7C 03 03 78 */ mr r3, r0 +/* 80325560 003224C0 48 00 02 88 */ b lbl_803257E8 +lbl_80325564: +/* 80325564 003224C4 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80325568 003224C8 38 60 00 14 */ li r3, 0x14 +/* 8032556C 003224CC 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80325570 003224D0 38 A0 00 00 */ li r5, 0 +/* 80325574 003224D4 48 04 75 11 */ bl __nw__FUlPCcPCc_0 +/* 80325578 003224D8 7C 60 1B 79 */ or. r0, r3, r3 +/* 8032557C 003224DC 41 82 00 1C */ beq lbl_80325598 +/* 80325580 003224E0 7F 84 E3 78 */ mr r4, r28 +/* 80325584 003224E4 7F 65 DB 78 */ mr r5, r27 +/* 80325588 003224E8 7F E6 FB 78 */ mr r6, r31 +/* 8032558C 003224EC 7F 47 D3 78 */ mr r7, r26 +/* 80325590 003224F0 4B FF 1F 79 */ bl __ct__11CCEConstantFP12CRealElementP12CRealElementP12CRealElementP12CRealElement +/* 80325594 003224F4 7C 60 1B 78 */ mr r0, r3 +lbl_80325598: +/* 80325598 003224F8 7C 03 03 78 */ mr r3, r0 +/* 8032559C 003224FC 48 00 02 4C */ b lbl_803257E8 +lbl_803255A0: +/* 803255A0 00322500 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 803255A4 00322504 38 60 00 28 */ li r3, 0x28 +/* 803255A8 00322508 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 803255AC 0032250C 38 A0 00 00 */ li r5, 0 +/* 803255B0 00322510 48 04 74 D5 */ bl __nw__FUlPCcPCc_0 +/* 803255B4 00322514 7C 60 1B 79 */ or. r0, r3, r3 +/* 803255B8 00322518 41 82 00 10 */ beq lbl_803255C8 +/* 803255BC 0032251C 7F E4 FB 78 */ mr r4, r31 +/* 803255C0 00322520 4B FF 10 75 */ bl __ct__18CCEKeyframeEmitterFR12CInputStream +/* 803255C4 00322524 7C 60 1B 78 */ mr r0, r3 +lbl_803255C8: +/* 803255C8 00322528 7C 03 03 78 */ mr r3, r0 +/* 803255CC 0032252C 48 00 02 1C */ b lbl_803257E8 +lbl_803255D0: +/* 803255D0 00322530 7F E3 FB 78 */ mr r3, r31 +/* 803255D4 00322534 4B FF FC 89 */ bl GetColorElement__20CParticleDataFactoryFR12CInputStream +/* 803255D8 00322538 7C 60 1B 78 */ mr r0, r3 +/* 803255DC 0032253C 7F E3 FB 78 */ mr r3, r31 +/* 803255E0 00322540 7C 1A 03 78 */ mr r26, r0 +/* 803255E4 00322544 4B FF FC 79 */ bl GetColorElement__20CParticleDataFactoryFR12CInputStream +/* 803255E8 00322548 7C 60 1B 78 */ mr r0, r3 +/* 803255EC 0032254C 7F E3 FB 78 */ mr r3, r31 +/* 803255F0 00322550 7C 1B 03 78 */ mr r27, r0 +/* 803255F4 00322554 48 00 16 9D */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 803255F8 00322558 7C 60 1B 78 */ mr r0, r3 +/* 803255FC 0032255C 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80325600 00322560 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80325604 00322564 38 60 00 10 */ li r3, 0x10 +/* 80325608 00322568 7C 1C 03 78 */ mr r28, r0 +/* 8032560C 0032256C 38 A0 00 00 */ li r5, 0 +/* 80325610 00322570 48 04 74 75 */ bl __nw__FUlPCcPCc_0 +/* 80325614 00322574 7C 60 1B 79 */ or. r0, r3, r3 +/* 80325618 00322578 41 82 00 18 */ beq lbl_80325630 +/* 8032561C 0032257C 7F 44 D3 78 */ mr r4, r26 +/* 80325620 00322580 7F 65 DB 78 */ mr r5, r27 +/* 80325624 00322584 7F 86 E3 78 */ mr r6, r28 +/* 80325628 00322588 4B FF 1A FD */ bl __ct__7CCEFadeFP13CColorElementP13CColorElementP12CRealElement +/* 8032562C 0032258C 7C 60 1B 78 */ mr r0, r3 +lbl_80325630: +/* 80325630 00322590 7C 03 03 78 */ mr r3, r0 +/* 80325634 00322594 48 00 01 B4 */ b lbl_803257E8 +lbl_80325638: +/* 80325638 00322598 7F E3 FB 78 */ mr r3, r31 +/* 8032563C 0032259C 4B FF FC 21 */ bl GetColorElement__20CParticleDataFactoryFR12CInputStream +/* 80325640 003225A0 7C 60 1B 78 */ mr r0, r3 +/* 80325644 003225A4 7F E3 FB 78 */ mr r3, r31 +/* 80325648 003225A8 7C 1A 03 78 */ mr r26, r0 +/* 8032564C 003225AC 4B FF FC 11 */ bl GetColorElement__20CParticleDataFactoryFR12CInputStream +/* 80325650 003225B0 7C 60 1B 78 */ mr r0, r3 +/* 80325654 003225B4 7F E3 FB 78 */ mr r3, r31 +/* 80325658 003225B8 7C 1B 03 78 */ mr r27, r0 +/* 8032565C 003225BC 48 00 16 35 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80325660 003225C0 7C 60 1B 78 */ mr r0, r3 +/* 80325664 003225C4 7F E3 FB 78 */ mr r3, r31 +/* 80325668 003225C8 7C 1C 03 78 */ mr r28, r0 +/* 8032566C 003225CC 48 00 16 25 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80325670 003225D0 7C 60 1B 78 */ mr r0, r3 +/* 80325674 003225D4 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80325678 003225D8 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 8032567C 003225DC 38 60 00 14 */ li r3, 0x14 +/* 80325680 003225E0 7C 1D 03 78 */ mr r29, r0 +/* 80325684 003225E4 38 A0 00 00 */ li r5, 0 +/* 80325688 003225E8 48 04 73 FD */ bl __nw__FUlPCcPCc_0 +/* 8032568C 003225EC 7C 60 1B 79 */ or. r0, r3, r3 +/* 80325690 003225F0 41 82 00 1C */ beq lbl_803256AC +/* 80325694 003225F4 7F 44 D3 78 */ mr r4, r26 +/* 80325698 003225F8 7F 65 DB 78 */ mr r5, r27 +/* 8032569C 003225FC 7F 86 E3 78 */ mr r6, r28 +/* 803256A0 00322600 7F A7 EB 78 */ mr r7, r29 +/* 803256A4 00322604 4B FF 17 BD */ bl __ct__10CCEFadeEndFP13CColorElementP13CColorElementP12CRealElementP12CRealElement +/* 803256A8 00322608 7C 60 1B 78 */ mr r0, r3 +lbl_803256AC: +/* 803256AC 0032260C 7C 03 03 78 */ mr r3, r0 +/* 803256B0 00322610 48 00 01 38 */ b lbl_803257E8 +lbl_803256B4: +/* 803256B4 00322614 7F E3 FB 78 */ mr r3, r31 +/* 803256B8 00322618 4B FF FB A5 */ bl GetColorElement__20CParticleDataFactoryFR12CInputStream +/* 803256BC 0032261C 7C 60 1B 78 */ mr r0, r3 +/* 803256C0 00322620 7F E3 FB 78 */ mr r3, r31 +/* 803256C4 00322624 7C 1A 03 78 */ mr r26, r0 +/* 803256C8 00322628 4B FF FB 95 */ bl GetColorElement__20CParticleDataFactoryFR12CInputStream +/* 803256CC 0032262C 7C 60 1B 78 */ mr r0, r3 +/* 803256D0 00322630 7F E3 FB 78 */ mr r3, r31 +/* 803256D4 00322634 7C 1B 03 78 */ mr r27, r0 +/* 803256D8 00322638 48 00 24 CD */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 803256DC 0032263C 7C 60 1B 78 */ mr r0, r3 +/* 803256E0 00322640 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 803256E4 00322644 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 803256E8 00322648 38 60 00 10 */ li r3, 0x10 +/* 803256EC 0032264C 7C 1C 03 78 */ mr r28, r0 +/* 803256F0 00322650 38 A0 00 00 */ li r5, 0 +/* 803256F4 00322654 48 04 73 91 */ bl __nw__FUlPCcPCc_0 +/* 803256F8 00322658 7C 60 1B 79 */ or. r0, r3, r3 +/* 803256FC 0032265C 41 82 00 18 */ beq lbl_80325714 +/* 80325700 00322660 7F 44 D3 78 */ mr r4, r26 +/* 80325704 00322664 7F 65 DB 78 */ mr r5, r27 +/* 80325708 00322668 7F 86 E3 78 */ mr r6, r28 +/* 8032570C 0032266C 4B FF 14 51 */ bl __ct__12CCETimeChainFP13CColorElementP13CColorElementP11CIntElement +/* 80325710 00322670 7C 60 1B 78 */ mr r0, r3 +lbl_80325714: +/* 80325714 00322674 7C 03 03 78 */ mr r3, r0 +/* 80325718 00322678 48 00 00 D0 */ b lbl_803257E8 +lbl_8032571C: +/* 8032571C 0032267C 7F E3 FB 78 */ mr r3, r31 +/* 80325720 00322680 48 00 24 85 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 80325724 00322684 7C 60 1B 78 */ mr r0, r3 +/* 80325728 00322688 7F E3 FB 78 */ mr r3, r31 +/* 8032572C 0032268C 7C 1A 03 78 */ mr r26, r0 +/* 80325730 00322690 48 00 24 75 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 80325734 00322694 7C 60 1B 78 */ mr r0, r3 +/* 80325738 00322698 7F E3 FB 78 */ mr r3, r31 +/* 8032573C 0032269C 7C 1B 03 78 */ mr r27, r0 +/* 80325740 003226A0 4B FF FB 1D */ bl GetColorElement__20CParticleDataFactoryFR12CInputStream +/* 80325744 003226A4 7C 60 1B 78 */ mr r0, r3 +/* 80325748 003226A8 7F E3 FB 78 */ mr r3, r31 +/* 8032574C 003226AC 7C 1C 03 78 */ mr r28, r0 +/* 80325750 003226B0 4B FF FB 0D */ bl GetColorElement__20CParticleDataFactoryFR12CInputStream +/* 80325754 003226B4 7C 60 1B 78 */ mr r0, r3 +/* 80325758 003226B8 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 8032575C 003226BC 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80325760 003226C0 38 60 00 14 */ li r3, 0x14 +/* 80325764 003226C4 7C 1D 03 78 */ mr r29, r0 +/* 80325768 003226C8 38 A0 00 00 */ li r5, 0 +/* 8032576C 003226CC 48 04 73 19 */ bl __nw__FUlPCcPCc_0 +/* 80325770 003226D0 7C 60 1B 79 */ or. r0, r3, r3 +/* 80325774 003226D4 41 82 00 1C */ beq lbl_80325790 +/* 80325778 003226D8 7F 44 D3 78 */ mr r4, r26 +/* 8032577C 003226DC 7F 65 DB 78 */ mr r5, r27 +/* 80325780 003226E0 7F 86 E3 78 */ mr r6, r28 +/* 80325784 003226E4 7F A7 EB 78 */ mr r7, r29 +/* 80325788 003226E8 4B FF 12 1D */ bl __ct__8CCEPulseFP11CIntElementP11CIntElementP13CColorElementP13CColorElement +/* 8032578C 003226EC 7C 60 1B 78 */ mr r0, r3 +lbl_80325790: +/* 80325790 003226F0 7C 03 03 78 */ mr r3, r0 +/* 80325794 003226F4 48 00 00 54 */ b lbl_803257E8 +lbl_80325798: +/* 80325798 003226F8 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 8032579C 003226FC 38 60 00 04 */ li r3, 4 +/* 803257A0 00322700 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 803257A4 00322704 38 A0 00 00 */ li r5, 0 +/* 803257A8 00322708 48 04 72 DD */ bl __nw__FUlPCcPCc_0 +/* 803257AC 0032270C 28 03 00 00 */ cmplwi r3, 0 +/* 803257B0 00322710 41 82 00 38 */ beq lbl_803257E8 +/* 803257B4 00322714 3C 80 80 3F */ lis r4, lbl_803EC5A8@ha +/* 803257B8 00322718 3C A0 80 3F */ lis r5, lbl_803EC5B4@ha +/* 803257BC 0032271C 38 04 C5 A8 */ addi r0, r4, lbl_803EC5A8@l +/* 803257C0 00322720 3C 80 80 3F */ lis r4, lbl_803EDA00@ha +/* 803257C4 00322724 90 03 00 00 */ stw r0, 0(r3) +/* 803257C8 00322728 38 A5 C5 B4 */ addi r5, r5, lbl_803EC5B4@l +/* 803257CC 0032272C 38 04 DA 00 */ addi r0, r4, lbl_803EDA00@l +/* 803257D0 00322730 90 A3 00 00 */ stw r5, 0(r3) +/* 803257D4 00322734 90 03 00 00 */ stw r0, 0(r3) +/* 803257D8 00322738 48 00 00 10 */ b lbl_803257E8 +lbl_803257DC: +/* 803257DC 0032273C 38 60 00 00 */ li r3, 0 +/* 803257E0 00322740 48 00 00 08 */ b lbl_803257E8 +lbl_803257E4: +/* 803257E4 00322744 38 60 00 00 */ li r3, 0 +lbl_803257E8: +/* 803257E8 00322748 BB 41 00 18 */ lmw r26, 0x18(r1) +/* 803257EC 0032274C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 803257F0 00322750 7C 08 03 A6 */ mtlr r0 +/* 803257F4 00322754 38 21 00 30 */ addi r1, r1, 0x30 +/* 803257F8 00322758 4E 80 00 20 */ blr + +.global GetModVectorElement__20CParticleDataFactoryFR12CInputStream +GetModVectorElement__20CParticleDataFactoryFR12CInputStream: +/* 803257FC 0032275C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80325800 00322760 7C 08 02 A6 */ mflr r0 +/* 80325804 00322764 90 01 00 34 */ stw r0, 0x34(r1) +/* 80325808 00322768 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 8032580C 0032276C 7C 7F 1B 78 */ mr r31, r3 +/* 80325810 00322770 48 00 2C 4D */ bl GetClassID__20CParticleDataFactoryFR12CInputStream +/* 80325814 00322774 3C 80 49 4D */ lis r4, 0x494D504C@ha +/* 80325818 00322778 38 04 50 4C */ addi r0, r4, 0x494D504C@l +/* 8032581C 0032277C 7C 03 00 00 */ cmpw r3, r0 +/* 80325820 00322780 41 82 04 80 */ beq lbl_80325CA0 +/* 80325824 00322784 40 80 00 7C */ bge lbl_803258A0 +/* 80325828 00322788 3C 80 45 4D */ lis r4, 0x454D504C@ha +/* 8032582C 0032278C 38 04 50 4C */ addi r0, r4, 0x454D504C@l +/* 80325830 00322790 7C 03 00 00 */ cmpw r3, r0 +/* 80325834 00322794 41 82 05 8C */ beq lbl_80325DC0 +/* 80325838 00322798 40 80 00 40 */ bge lbl_80325878 +/* 8032583C 0032279C 3C 80 43 48 */ lis r4, 0x4348414E@ha +/* 80325840 003227A0 38 04 41 4E */ addi r0, r4, 0x4348414E@l +/* 80325844 003227A4 7C 03 00 00 */ cmpw r3, r0 +/* 80325848 003227A8 41 82 03 74 */ beq lbl_80325BBC +/* 8032584C 003227AC 40 80 00 18 */ bge lbl_80325864 +/* 80325850 003227B0 3C 80 42 4E */ lis r4, 0x424E4345@ha +/* 80325854 003227B4 38 04 43 45 */ addi r0, r4, 0x424E4345@l +/* 80325858 003227B8 7C 03 00 00 */ cmpw r3, r0 +/* 8032585C 003227BC 41 82 06 70 */ beq lbl_80325ECC +/* 80325860 003227C0 48 00 07 30 */ b lbl_80325F90 +lbl_80325864: +/* 80325864 003227C4 3C 80 43 4E */ lis r4, 0x434E5354@ha +/* 80325868 003227C8 38 04 53 54 */ addi r0, r4, 0x434E5354@l +/* 8032586C 003227CC 7C 03 00 00 */ cmpw r3, r0 +/* 80325870 003227D0 41 82 00 B0 */ beq lbl_80325920 +/* 80325874 003227D4 48 00 07 1C */ b lbl_80325F90 +lbl_80325878: +/* 80325878 003227D8 3C 80 47 52 */ lis r4, 0x47524156@ha +/* 8032587C 003227DC 38 04 41 56 */ addi r0, r4, 0x47524156@l +/* 80325880 003227E0 7C 03 00 00 */ cmpw r3, r0 +/* 80325884 003227E4 41 82 02 58 */ beq lbl_80325ADC +/* 80325888 003227E8 40 80 07 08 */ bge lbl_80325F90 +/* 8032588C 003227EC 3C 80 45 58 */ lis r4, 0x4558504C@ha +/* 80325890 003227F0 38 04 50 4C */ addi r0, r4, 0x4558504C@l +/* 80325894 003227F4 7C 03 00 00 */ cmpw r3, r0 +/* 80325898 003227F8 41 82 02 D0 */ beq lbl_80325B68 +/* 8032589C 003227FC 48 00 06 F4 */ b lbl_80325F90 +lbl_803258A0: +/* 803258A0 00322800 3C 80 53 50 */ lis r4, 0x53504F53@ha +/* 803258A4 00322804 38 04 4F 53 */ addi r0, r4, 0x53504F53@l +/* 803258A8 00322808 7C 03 00 00 */ cmpw r3, r0 +/* 803258AC 0032280C 41 82 06 AC */ beq lbl_80325F58 +/* 803258B0 00322810 40 80 00 40 */ bge lbl_803258F0 +/* 803258B4 00322814 3C 80 4E 4F */ lis r4, 0x4E4F4E45@ha +/* 803258B8 00322818 38 04 4E 45 */ addi r0, r4, 0x4E4F4E45@l +/* 803258BC 0032281C 7C 03 00 00 */ cmpw r3, r0 +/* 803258C0 00322820 41 82 00 58 */ beq lbl_80325918 +/* 803258C4 00322824 40 80 00 18 */ bge lbl_803258DC +/* 803258C8 00322828 3C 80 4C 4D */ lis r4, 0x4C4D504C@ha +/* 803258CC 0032282C 38 04 50 4C */ addi r0, r4, 0x4C4D504C@l +/* 803258D0 00322830 7C 03 00 00 */ cmpw r3, r0 +/* 803258D4 00322834 41 82 04 5C */ beq lbl_80325D30 +/* 803258D8 00322838 48 00 06 B8 */ b lbl_80325F90 +lbl_803258DC: +/* 803258DC 0032283C 3C 80 50 55 */ lis r4, 0x50554C53@ha +/* 803258E0 00322840 38 04 4C 53 */ addi r0, r4, 0x50554C53@l +/* 803258E4 00322844 7C 03 00 00 */ cmpw r3, r0 +/* 803258E8 00322848 41 82 03 3C */ beq lbl_80325C24 +/* 803258EC 0032284C 48 00 06 A4 */ b lbl_80325F90 +lbl_803258F0: +/* 803258F0 00322850 3C 80 57 49 */ lis r4, 0x57494E44@ha +/* 803258F4 00322854 38 04 4E 44 */ addi r0, r4, 0x57494E44@l +/* 803258F8 00322858 7C 03 00 00 */ cmpw r3, r0 +/* 803258FC 0032285C 41 82 02 18 */ beq lbl_80325B14 +/* 80325900 00322860 40 80 06 90 */ bge lbl_80325F90 +/* 80325904 00322864 3C 80 53 57 */ lis r4, 0x5357524C@ha +/* 80325908 00322868 38 04 52 4C */ addi r0, r4, 0x5357524C@l +/* 8032590C 0032286C 7C 03 00 00 */ cmpw r3, r0 +/* 80325910 00322870 41 82 05 40 */ beq lbl_80325E50 +/* 80325914 00322874 48 00 06 7C */ b lbl_80325F90 +lbl_80325918: +/* 80325918 00322878 3B C0 00 00 */ li r30, 0 +/* 8032591C 0032287C 48 00 06 7C */ b lbl_80325F98 +lbl_80325920: +/* 80325920 00322880 7F E3 FB 78 */ mr r3, r31 +/* 80325924 00322884 48 00 13 6D */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80325928 00322888 7C 60 1B 78 */ mr r0, r3 +/* 8032592C 0032288C 7F E3 FB 78 */ mr r3, r31 +/* 80325930 00322890 7C 1D 03 78 */ mr r29, r0 +/* 80325934 00322894 48 00 13 5D */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80325938 00322898 7C 60 1B 78 */ mr r0, r3 +/* 8032593C 0032289C 7F E3 FB 78 */ mr r3, r31 +/* 80325940 003228A0 7C 1F 03 78 */ mr r31, r0 +/* 80325944 003228A4 48 00 13 4D */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80325948 003228A8 28 1D 00 00 */ cmplwi r29, 0 +/* 8032594C 003228AC 7C 7C 1B 78 */ mr r28, r3 +/* 80325950 003228B0 41 82 01 54 */ beq lbl_80325AA4 +/* 80325954 003228B4 28 1F 00 00 */ cmplwi r31, 0 +/* 80325958 003228B8 41 82 01 4C */ beq lbl_80325AA4 +/* 8032595C 003228BC 28 1C 00 00 */ cmplwi r28, 0 +/* 80325960 003228C0 41 82 01 44 */ beq lbl_80325AA4 +/* 80325964 003228C4 7F A3 EB 78 */ mr r3, r29 +/* 80325968 003228C8 81 9D 00 00 */ lwz r12, 0(r29) +/* 8032596C 003228CC 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 80325970 003228D0 7D 89 03 A6 */ mtctr r12 +/* 80325974 003228D4 4E 80 04 21 */ bctrl +/* 80325978 003228D8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8032597C 003228DC 41 82 01 28 */ beq lbl_80325AA4 +/* 80325980 003228E0 7F E3 FB 78 */ mr r3, r31 +/* 80325984 003228E4 81 9F 00 00 */ lwz r12, 0(r31) +/* 80325988 003228E8 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 8032598C 003228EC 7D 89 03 A6 */ mtctr r12 +/* 80325990 003228F0 4E 80 04 21 */ bctrl +/* 80325994 003228F4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80325998 003228F8 41 82 01 0C */ beq lbl_80325AA4 +/* 8032599C 003228FC 7F 83 E3 78 */ mr r3, r28 +/* 803259A0 00322900 81 9C 00 00 */ lwz r12, 0(r28) +/* 803259A4 00322904 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 803259A8 00322908 7D 89 03 A6 */ mtctr r12 +/* 803259AC 0032290C 4E 80 04 21 */ bctrl +/* 803259B0 00322910 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 803259B4 00322914 41 82 00 F0 */ beq lbl_80325AA4 +/* 803259B8 00322918 7F A3 EB 78 */ mr r3, r29 +/* 803259BC 0032291C 38 A1 00 10 */ addi r5, r1, 0x10 +/* 803259C0 00322920 81 9D 00 00 */ lwz r12, 0(r29) +/* 803259C4 00322924 38 80 00 00 */ li r4, 0 +/* 803259C8 00322928 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803259CC 0032292C 7D 89 03 A6 */ mtctr r12 +/* 803259D0 00322930 4E 80 04 21 */ bctrl +/* 803259D4 00322934 7F A3 EB 78 */ mr r3, r29 +/* 803259D8 00322938 38 A1 00 0C */ addi r5, r1, 0xc +/* 803259DC 0032293C 81 9D 00 00 */ lwz r12, 0(r29) +/* 803259E0 00322940 38 80 00 00 */ li r4, 0 +/* 803259E4 00322944 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803259E8 00322948 7D 89 03 A6 */ mtctr r12 +/* 803259EC 0032294C 4E 80 04 21 */ bctrl +/* 803259F0 00322950 7F A3 EB 78 */ mr r3, r29 +/* 803259F4 00322954 38 A1 00 08 */ addi r5, r1, 8 +/* 803259F8 00322958 81 9D 00 00 */ lwz r12, 0(r29) +/* 803259FC 0032295C 38 80 00 00 */ li r4, 0 +/* 80325A00 00322960 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80325A04 00322964 7D 89 03 A6 */ mtctr r12 +/* 80325A08 00322968 4E 80 04 21 */ bctrl +/* 80325A0C 0032296C 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80325A10 00322970 38 60 00 10 */ li r3, 0x10 +/* 80325A14 00322974 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80325A18 00322978 38 A0 00 00 */ li r5, 0 +/* 80325A1C 0032297C 48 04 70 69 */ bl __nw__FUlPCcPCc_0 +/* 80325A20 00322980 7C 60 1B 79 */ or. r0, r3, r3 +/* 80325A24 00322984 41 82 00 18 */ beq lbl_80325A3C +/* 80325A28 00322988 C0 21 00 10 */ lfs f1, 0x10(r1) +/* 80325A2C 0032298C C0 41 00 0C */ lfs f2, 0xc(r1) +/* 80325A30 00322990 C0 61 00 08 */ lfs f3, 8(r1) +/* 80325A34 00322994 4B FF EC ED */ bl __ct__16CMVEFastConstantFfff +/* 80325A38 00322998 7C 60 1B 78 */ mr r0, r3 +lbl_80325A3C: +/* 80325A3C 0032299C 28 1D 00 00 */ cmplwi r29, 0 +/* 80325A40 003229A0 7C 1E 03 78 */ mr r30, r0 +/* 80325A44 003229A4 41 82 00 1C */ beq lbl_80325A60 +/* 80325A48 003229A8 7F A3 EB 78 */ mr r3, r29 +/* 80325A4C 003229AC 38 80 00 01 */ li r4, 1 +/* 80325A50 003229B0 81 9D 00 00 */ lwz r12, 0(r29) +/* 80325A54 003229B4 81 8C 00 08 */ lwz r12, 8(r12) +/* 80325A58 003229B8 7D 89 03 A6 */ mtctr r12 +/* 80325A5C 003229BC 4E 80 04 21 */ bctrl +lbl_80325A60: +/* 80325A60 003229C0 28 1F 00 00 */ cmplwi r31, 0 +/* 80325A64 003229C4 41 82 00 1C */ beq lbl_80325A80 +/* 80325A68 003229C8 7F E3 FB 78 */ mr r3, r31 +/* 80325A6C 003229CC 38 80 00 01 */ li r4, 1 +/* 80325A70 003229D0 81 9F 00 00 */ lwz r12, 0(r31) +/* 80325A74 003229D4 81 8C 00 08 */ lwz r12, 8(r12) +/* 80325A78 003229D8 7D 89 03 A6 */ mtctr r12 +/* 80325A7C 003229DC 4E 80 04 21 */ bctrl +lbl_80325A80: +/* 80325A80 003229E0 28 1C 00 00 */ cmplwi r28, 0 +/* 80325A84 003229E4 41 82 05 14 */ beq lbl_80325F98 +/* 80325A88 003229E8 7F 83 E3 78 */ mr r3, r28 +/* 80325A8C 003229EC 38 80 00 01 */ li r4, 1 +/* 80325A90 003229F0 81 9C 00 00 */ lwz r12, 0(r28) +/* 80325A94 003229F4 81 8C 00 08 */ lwz r12, 8(r12) +/* 80325A98 003229F8 7D 89 03 A6 */ mtctr r12 +/* 80325A9C 003229FC 4E 80 04 21 */ bctrl +/* 80325AA0 00322A00 48 00 04 F8 */ b lbl_80325F98 +lbl_80325AA4: +/* 80325AA4 00322A04 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80325AA8 00322A08 38 60 00 10 */ li r3, 0x10 +/* 80325AAC 00322A0C 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80325AB0 00322A10 38 A0 00 00 */ li r5, 0 +/* 80325AB4 00322A14 48 04 6F D1 */ bl __nw__FUlPCcPCc_0 +/* 80325AB8 00322A18 7C 60 1B 79 */ or. r0, r3, r3 +/* 80325ABC 00322A1C 41 82 00 18 */ beq lbl_80325AD4 +/* 80325AC0 00322A20 7F A4 EB 78 */ mr r4, r29 +/* 80325AC4 00322A24 7F E5 FB 78 */ mr r5, r31 +/* 80325AC8 00322A28 7F 86 E3 78 */ mr r6, r28 +/* 80325ACC 00322A2C 4B FF EE 15 */ bl __ct__12CMVEConstantFP12CRealElementP12CRealElementP12CRealElement +/* 80325AD0 00322A30 7C 60 1B 78 */ mr r0, r3 +lbl_80325AD4: +/* 80325AD4 00322A34 7C 1E 03 78 */ mr r30, r0 +/* 80325AD8 00322A38 48 00 04 C0 */ b lbl_80325F98 +lbl_80325ADC: +/* 80325ADC 00322A3C 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80325AE0 00322A40 38 60 00 08 */ li r3, 8 +/* 80325AE4 00322A44 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80325AE8 00322A48 38 A0 00 00 */ li r5, 0 +/* 80325AEC 00322A4C 48 04 6F 99 */ bl __nw__FUlPCcPCc_0 +/* 80325AF0 00322A50 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80325AF4 00322A54 41 82 04 A4 */ beq lbl_80325F98 +/* 80325AF8 00322A58 7F E3 FB 78 */ mr r3, r31 +/* 80325AFC 00322A5C 48 00 07 59 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80325B00 00322A60 7C 64 1B 78 */ mr r4, r3 +/* 80325B04 00322A64 7F C3 F3 78 */ mr r3, r30 +/* 80325B08 00322A68 4B FF EB 5D */ bl __ct__11CMVEGravityFP14CVectorElement +/* 80325B0C 00322A6C 7C 7E 1B 78 */ mr r30, r3 +/* 80325B10 00322A70 48 00 04 88 */ b lbl_80325F98 +lbl_80325B14: +/* 80325B14 00322A74 7F E3 FB 78 */ mr r3, r31 +/* 80325B18 00322A78 48 00 07 3D */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80325B1C 00322A7C 7C 60 1B 78 */ mr r0, r3 +/* 80325B20 00322A80 7F E3 FB 78 */ mr r3, r31 +/* 80325B24 00322A84 7C 1C 03 78 */ mr r28, r0 +/* 80325B28 00322A88 48 00 11 69 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80325B2C 00322A8C 7C 60 1B 78 */ mr r0, r3 +/* 80325B30 00322A90 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80325B34 00322A94 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80325B38 00322A98 38 60 00 0C */ li r3, 0xc +/* 80325B3C 00322A9C 7C 1D 03 78 */ mr r29, r0 +/* 80325B40 00322AA0 38 A0 00 00 */ li r5, 0 +/* 80325B44 00322AA4 48 04 6F 41 */ bl __nw__FUlPCcPCc_0 +/* 80325B48 00322AA8 7C 60 1B 79 */ or. r0, r3, r3 +/* 80325B4C 00322AAC 41 82 00 14 */ beq lbl_80325B60 +/* 80325B50 00322AB0 7F 84 E3 78 */ mr r4, r28 +/* 80325B54 00322AB4 7F A5 EB 78 */ mr r5, r29 +/* 80325B58 00322AB8 4B FF E9 B9 */ bl __ct__8CMVEWindFP14CVectorElementP12CRealElement +/* 80325B5C 00322ABC 7C 60 1B 78 */ mr r0, r3 +lbl_80325B60: +/* 80325B60 00322AC0 7C 1E 03 78 */ mr r30, r0 +/* 80325B64 00322AC4 48 00 04 34 */ b lbl_80325F98 +lbl_80325B68: +/* 80325B68 00322AC8 7F E3 FB 78 */ mr r3, r31 +/* 80325B6C 00322ACC 48 00 11 25 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80325B70 00322AD0 7C 60 1B 78 */ mr r0, r3 +/* 80325B74 00322AD4 7F E3 FB 78 */ mr r3, r31 +/* 80325B78 00322AD8 7C 1C 03 78 */ mr r28, r0 +/* 80325B7C 00322ADC 48 00 11 15 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80325B80 00322AE0 7C 60 1B 78 */ mr r0, r3 +/* 80325B84 00322AE4 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80325B88 00322AE8 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80325B8C 00322AEC 38 60 00 0C */ li r3, 0xc +/* 80325B90 00322AF0 7C 1D 03 78 */ mr r29, r0 +/* 80325B94 00322AF4 38 A0 00 00 */ li r5, 0 +/* 80325B98 00322AF8 48 04 6E ED */ bl __nw__FUlPCcPCc_0 +/* 80325B9C 00322AFC 7C 60 1B 79 */ or. r0, r3, r3 +/* 80325BA0 00322B00 41 82 00 14 */ beq lbl_80325BB4 +/* 80325BA4 00322B04 7F 84 E3 78 */ mr r4, r28 +/* 80325BA8 00322B08 7F A5 EB 78 */ mr r5, r29 +/* 80325BAC 00322B0C 4B FF E7 65 */ bl __ct__11CMVEExplodeFP12CRealElementP12CRealElement +/* 80325BB0 00322B10 7C 60 1B 78 */ mr r0, r3 +lbl_80325BB4: +/* 80325BB4 00322B14 7C 1E 03 78 */ mr r30, r0 +/* 80325BB8 00322B18 48 00 03 E0 */ b lbl_80325F98 +lbl_80325BBC: +/* 80325BBC 00322B1C 7F E3 FB 78 */ mr r3, r31 +/* 80325BC0 00322B20 4B FF FC 3D */ bl GetModVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80325BC4 00322B24 7C 60 1B 78 */ mr r0, r3 +/* 80325BC8 00322B28 7F E3 FB 78 */ mr r3, r31 +/* 80325BCC 00322B2C 7C 1C 03 78 */ mr r28, r0 +/* 80325BD0 00322B30 4B FF FC 2D */ bl GetModVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80325BD4 00322B34 7C 60 1B 78 */ mr r0, r3 +/* 80325BD8 00322B38 7F E3 FB 78 */ mr r3, r31 +/* 80325BDC 00322B3C 7C 1D 03 78 */ mr r29, r0 +/* 80325BE0 00322B40 48 00 1F C5 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 80325BE4 00322B44 7C 60 1B 78 */ mr r0, r3 +/* 80325BE8 00322B48 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80325BEC 00322B4C 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80325BF0 00322B50 38 60 00 10 */ li r3, 0x10 +/* 80325BF4 00322B54 7C 1E 03 78 */ mr r30, r0 +/* 80325BF8 00322B58 38 A0 00 00 */ li r5, 0 +/* 80325BFC 00322B5C 48 04 6E 89 */ bl __nw__FUlPCcPCc_0 +/* 80325C00 00322B60 7C 60 1B 79 */ or. r0, r3, r3 +/* 80325C04 00322B64 41 82 00 18 */ beq lbl_80325C1C +/* 80325C08 00322B68 7F 84 E3 78 */ mr r4, r28 +/* 80325C0C 00322B6C 7F A5 EB 78 */ mr r5, r29 +/* 80325C10 00322B70 7F C6 F3 78 */ mr r6, r30 +/* 80325C14 00322B74 4B FF E4 81 */ bl __ct__13CMVETimeChainFP17CModVectorElementP17CModVectorElementP11CIntElement +/* 80325C18 00322B78 7C 60 1B 78 */ mr r0, r3 +lbl_80325C1C: +/* 80325C1C 00322B7C 7C 1E 03 78 */ mr r30, r0 +/* 80325C20 00322B80 48 00 03 78 */ b lbl_80325F98 +lbl_80325C24: +/* 80325C24 00322B84 7F E3 FB 78 */ mr r3, r31 +/* 80325C28 00322B88 48 00 1F 7D */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 80325C2C 00322B8C 7C 60 1B 78 */ mr r0, r3 +/* 80325C30 00322B90 7F E3 FB 78 */ mr r3, r31 +/* 80325C34 00322B94 7C 1C 03 78 */ mr r28, r0 +/* 80325C38 00322B98 48 00 1F 6D */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 80325C3C 00322B9C 7C 60 1B 78 */ mr r0, r3 +/* 80325C40 00322BA0 7F E3 FB 78 */ mr r3, r31 +/* 80325C44 00322BA4 7C 1D 03 78 */ mr r29, r0 +/* 80325C48 00322BA8 4B FF FB B5 */ bl GetModVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80325C4C 00322BAC 7C 60 1B 78 */ mr r0, r3 +/* 80325C50 00322BB0 7F E3 FB 78 */ mr r3, r31 +/* 80325C54 00322BB4 7C 1E 03 78 */ mr r30, r0 +/* 80325C58 00322BB8 4B FF FB A5 */ bl GetModVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80325C5C 00322BBC 7C 60 1B 78 */ mr r0, r3 +/* 80325C60 00322BC0 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80325C64 00322BC4 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80325C68 00322BC8 38 60 00 14 */ li r3, 0x14 +/* 80325C6C 00322BCC 7C 1F 03 78 */ mr r31, r0 +/* 80325C70 00322BD0 38 A0 00 00 */ li r5, 0 +/* 80325C74 00322BD4 48 04 6E 11 */ bl __nw__FUlPCcPCc_0 +/* 80325C78 00322BD8 7C 60 1B 79 */ or. r0, r3, r3 +/* 80325C7C 00322BDC 41 82 00 1C */ beq lbl_80325C98 +/* 80325C80 00322BE0 7F 84 E3 78 */ mr r4, r28 +/* 80325C84 00322BE4 7F A5 EB 78 */ mr r5, r29 +/* 80325C88 00322BE8 7F C6 F3 78 */ mr r6, r30 +/* 80325C8C 00322BEC 7F E7 FB 78 */ mr r7, r31 +/* 80325C90 00322BF0 4B FF E2 39 */ bl __ct__9CMVEPulseFP11CIntElementP11CIntElementP17CModVectorElementP17CModVectorElement +/* 80325C94 00322BF4 7C 60 1B 78 */ mr r0, r3 +lbl_80325C98: +/* 80325C98 00322BF8 7C 1E 03 78 */ mr r30, r0 +/* 80325C9C 00322BFC 48 00 02 FC */ b lbl_80325F98 +lbl_80325CA0: +/* 80325CA0 00322C00 7F E3 FB 78 */ mr r3, r31 +/* 80325CA4 00322C04 48 00 05 B1 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80325CA8 00322C08 7C 60 1B 78 */ mr r0, r3 +/* 80325CAC 00322C0C 7F E3 FB 78 */ mr r3, r31 +/* 80325CB0 00322C10 7C 1C 03 78 */ mr r28, r0 +/* 80325CB4 00322C14 48 00 0F DD */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80325CB8 00322C18 7C 60 1B 78 */ mr r0, r3 +/* 80325CBC 00322C1C 7F E3 FB 78 */ mr r3, r31 +/* 80325CC0 00322C20 7C 1D 03 78 */ mr r29, r0 +/* 80325CC4 00322C24 48 00 0F CD */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80325CC8 00322C28 7C 60 1B 78 */ mr r0, r3 +/* 80325CCC 00322C2C 7F E3 FB 78 */ mr r3, r31 +/* 80325CD0 00322C30 7C 1E 03 78 */ mr r30, r0 +/* 80325CD4 00322C34 48 00 0F BD */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80325CD8 00322C38 7C 60 1B 78 */ mr r0, r3 +/* 80325CDC 00322C3C 7F E3 FB 78 */ mr r3, r31 +/* 80325CE0 00322C40 7C 1F 03 78 */ mr r31, r0 +/* 80325CE4 00322C44 48 00 27 45 */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 80325CE8 00322C48 7C 60 1B 78 */ mr r0, r3 +/* 80325CEC 00322C4C 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80325CF0 00322C50 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80325CF4 00322C54 38 60 00 18 */ li r3, 0x18 +/* 80325CF8 00322C58 7C 1B 03 78 */ mr r27, r0 +/* 80325CFC 00322C5C 38 A0 00 00 */ li r5, 0 +/* 80325D00 00322C60 48 04 6D 85 */ bl __nw__FUlPCcPCc_0 +/* 80325D04 00322C64 7C 60 1B 79 */ or. r0, r3, r3 +/* 80325D08 00322C68 41 82 00 20 */ beq lbl_80325D28 +/* 80325D0C 00322C6C 7F 84 E3 78 */ mr r4, r28 +/* 80325D10 00322C70 7F A5 EB 78 */ mr r5, r29 +/* 80325D14 00322C74 7F C6 F3 78 */ mr r6, r30 +/* 80325D18 00322C78 7F E7 FB 78 */ mr r7, r31 +/* 80325D1C 00322C7C 7F 68 DB 78 */ mr r8, r27 +/* 80325D20 00322C80 4B FF DF 4D */ bl __ct__13CMVEImplosionFP14CVectorElementP12CRealElementP12CRealElementP12CRealElementb +/* 80325D24 00322C84 7C 60 1B 78 */ mr r0, r3 +lbl_80325D28: +/* 80325D28 00322C88 7C 1E 03 78 */ mr r30, r0 +/* 80325D2C 00322C8C 48 00 02 6C */ b lbl_80325F98 +lbl_80325D30: +/* 80325D30 00322C90 7F E3 FB 78 */ mr r3, r31 +/* 80325D34 00322C94 48 00 05 21 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80325D38 00322C98 7C 60 1B 78 */ mr r0, r3 +/* 80325D3C 00322C9C 7F E3 FB 78 */ mr r3, r31 +/* 80325D40 00322CA0 7C 1B 03 78 */ mr r27, r0 +/* 80325D44 00322CA4 48 00 0F 4D */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80325D48 00322CA8 7C 60 1B 78 */ mr r0, r3 +/* 80325D4C 00322CAC 7F E3 FB 78 */ mr r3, r31 +/* 80325D50 00322CB0 7C 1C 03 78 */ mr r28, r0 +/* 80325D54 00322CB4 48 00 0F 3D */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80325D58 00322CB8 7C 60 1B 78 */ mr r0, r3 +/* 80325D5C 00322CBC 7F E3 FB 78 */ mr r3, r31 +/* 80325D60 00322CC0 7C 1D 03 78 */ mr r29, r0 +/* 80325D64 00322CC4 48 00 0F 2D */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80325D68 00322CC8 7C 60 1B 78 */ mr r0, r3 +/* 80325D6C 00322CCC 7F E3 FB 78 */ mr r3, r31 +/* 80325D70 00322CD0 7C 1E 03 78 */ mr r30, r0 +/* 80325D74 00322CD4 48 00 26 B5 */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 80325D78 00322CD8 7C 60 1B 78 */ mr r0, r3 +/* 80325D7C 00322CDC 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80325D80 00322CE0 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80325D84 00322CE4 38 60 00 18 */ li r3, 0x18 +/* 80325D88 00322CE8 7C 1F 03 78 */ mr r31, r0 +/* 80325D8C 00322CEC 38 A0 00 00 */ li r5, 0 +/* 80325D90 00322CF0 48 04 6C F5 */ bl __nw__FUlPCcPCc_0 +/* 80325D94 00322CF4 7C 60 1B 79 */ or. r0, r3, r3 +/* 80325D98 00322CF8 41 82 00 20 */ beq lbl_80325DB8 +/* 80325D9C 00322CFC 7F 64 DB 78 */ mr r4, r27 +/* 80325DA0 00322D00 7F 85 E3 78 */ mr r5, r28 +/* 80325DA4 00322D04 7F A6 EB 78 */ mr r6, r29 +/* 80325DA8 00322D08 7F C7 F3 78 */ mr r7, r30 +/* 80325DAC 00322D0C 7F E8 FB 78 */ mr r8, r31 +/* 80325DB0 00322D10 4B FF DB AD */ bl __ct__19CMVELinearImplosionFP14CVectorElementP12CRealElementP12CRealElementP12CRealElementb +/* 80325DB4 00322D14 7C 60 1B 78 */ mr r0, r3 +lbl_80325DB8: +/* 80325DB8 00322D18 7C 1E 03 78 */ mr r30, r0 +/* 80325DBC 00322D1C 48 00 01 DC */ b lbl_80325F98 +lbl_80325DC0: +/* 80325DC0 00322D20 7F E3 FB 78 */ mr r3, r31 +/* 80325DC4 00322D24 48 00 04 91 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80325DC8 00322D28 7C 60 1B 78 */ mr r0, r3 +/* 80325DCC 00322D2C 7F E3 FB 78 */ mr r3, r31 +/* 80325DD0 00322D30 7C 1B 03 78 */ mr r27, r0 +/* 80325DD4 00322D34 48 00 0E BD */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80325DD8 00322D38 7C 60 1B 78 */ mr r0, r3 +/* 80325DDC 00322D3C 7F E3 FB 78 */ mr r3, r31 +/* 80325DE0 00322D40 7C 1C 03 78 */ mr r28, r0 +/* 80325DE4 00322D44 48 00 0E AD */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80325DE8 00322D48 7C 60 1B 78 */ mr r0, r3 +/* 80325DEC 00322D4C 7F E3 FB 78 */ mr r3, r31 +/* 80325DF0 00322D50 7C 1D 03 78 */ mr r29, r0 +/* 80325DF4 00322D54 48 00 0E 9D */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80325DF8 00322D58 7C 60 1B 78 */ mr r0, r3 +/* 80325DFC 00322D5C 7F E3 FB 78 */ mr r3, r31 +/* 80325E00 00322D60 7C 1E 03 78 */ mr r30, r0 +/* 80325E04 00322D64 48 00 26 25 */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 80325E08 00322D68 7C 60 1B 78 */ mr r0, r3 +/* 80325E0C 00322D6C 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80325E10 00322D70 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80325E14 00322D74 38 60 00 18 */ li r3, 0x18 +/* 80325E18 00322D78 7C 1F 03 78 */ mr r31, r0 +/* 80325E1C 00322D7C 38 A0 00 00 */ li r5, 0 +/* 80325E20 00322D80 48 04 6C 65 */ bl __nw__FUlPCcPCc_0 +/* 80325E24 00322D84 7C 60 1B 79 */ or. r0, r3, r3 +/* 80325E28 00322D88 41 82 00 20 */ beq lbl_80325E48 +/* 80325E2C 00322D8C 7F 64 DB 78 */ mr r4, r27 +/* 80325E30 00322D90 7F 85 E3 78 */ mr r5, r28 +/* 80325E34 00322D94 7F A6 EB 78 */ mr r6, r29 +/* 80325E38 00322D98 7F C7 F3 78 */ mr r7, r30 +/* 80325E3C 00322D9C 7F E8 FB 78 */ mr r8, r31 +/* 80325E40 00322DA0 4B FF D8 25 */ bl __ct__24CMVEExponentialImplosionFP14CVectorElementP12CRealElementP12CRealElementP12CRealElementb +/* 80325E44 00322DA4 7C 60 1B 78 */ mr r0, r3 +lbl_80325E48: +/* 80325E48 00322DA8 7C 1E 03 78 */ mr r30, r0 +/* 80325E4C 00322DAC 48 00 01 4C */ b lbl_80325F98 +lbl_80325E50: +/* 80325E50 00322DB0 7F E3 FB 78 */ mr r3, r31 +/* 80325E54 00322DB4 48 00 04 01 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80325E58 00322DB8 7C 60 1B 78 */ mr r0, r3 +/* 80325E5C 00322DBC 7F E3 FB 78 */ mr r3, r31 +/* 80325E60 00322DC0 7C 1B 03 78 */ mr r27, r0 +/* 80325E64 00322DC4 48 00 03 F1 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80325E68 00322DC8 7C 60 1B 78 */ mr r0, r3 +/* 80325E6C 00322DCC 7F E3 FB 78 */ mr r3, r31 +/* 80325E70 00322DD0 7C 1C 03 78 */ mr r28, r0 +/* 80325E74 00322DD4 48 00 0E 1D */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80325E78 00322DD8 7C 60 1B 78 */ mr r0, r3 +/* 80325E7C 00322DDC 7F E3 FB 78 */ mr r3, r31 +/* 80325E80 00322DE0 7C 1D 03 78 */ mr r29, r0 +/* 80325E84 00322DE4 48 00 0E 0D */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80325E88 00322DE8 7C 60 1B 78 */ mr r0, r3 +/* 80325E8C 00322DEC 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80325E90 00322DF0 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80325E94 00322DF4 38 60 00 14 */ li r3, 0x14 +/* 80325E98 00322DF8 7C 1E 03 78 */ mr r30, r0 +/* 80325E9C 00322DFC 38 A0 00 00 */ li r5, 0 +/* 80325EA0 00322E00 48 04 6B E5 */ bl __nw__FUlPCcPCc_0 +/* 80325EA4 00322E04 7C 60 1B 79 */ or. r0, r3, r3 +/* 80325EA8 00322E08 41 82 00 1C */ beq lbl_80325EC4 +/* 80325EAC 00322E0C 7F 64 DB 78 */ mr r4, r27 +/* 80325EB0 00322E10 7F 85 E3 78 */ mr r5, r28 +/* 80325EB4 00322E14 7F A6 EB 78 */ mr r6, r29 +/* 80325EB8 00322E18 7F C7 F3 78 */ mr r7, r30 +/* 80325EBC 00322E1C 4B FF D4 81 */ bl __ct__9CMVESwirlFP14CVectorElementP14CVectorElementP12CRealElementP12CRealElement +/* 80325EC0 00322E20 7C 60 1B 78 */ mr r0, r3 +lbl_80325EC4: +/* 80325EC4 00322E24 7C 1E 03 78 */ mr r30, r0 +/* 80325EC8 00322E28 48 00 00 D0 */ b lbl_80325F98 +lbl_80325ECC: +/* 80325ECC 00322E2C 7F E3 FB 78 */ mr r3, r31 +/* 80325ED0 00322E30 48 00 03 85 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80325ED4 00322E34 7C 60 1B 78 */ mr r0, r3 +/* 80325ED8 00322E38 7F E3 FB 78 */ mr r3, r31 +/* 80325EDC 00322E3C 7C 1B 03 78 */ mr r27, r0 +/* 80325EE0 00322E40 48 00 03 75 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80325EE4 00322E44 7C 60 1B 78 */ mr r0, r3 +/* 80325EE8 00322E48 7F E3 FB 78 */ mr r3, r31 +/* 80325EEC 00322E4C 7C 1C 03 78 */ mr r28, r0 +/* 80325EF0 00322E50 48 00 0D A1 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80325EF4 00322E54 7C 60 1B 78 */ mr r0, r3 +/* 80325EF8 00322E58 7F E3 FB 78 */ mr r3, r31 +/* 80325EFC 00322E5C 7C 1D 03 78 */ mr r29, r0 +/* 80325F00 00322E60 48 00 0D 91 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80325F04 00322E64 7C 60 1B 78 */ mr r0, r3 +/* 80325F08 00322E68 7F E3 FB 78 */ mr r3, r31 +/* 80325F0C 00322E6C 7C 1E 03 78 */ mr r30, r0 +/* 80325F10 00322E70 48 00 25 19 */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 80325F14 00322E74 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80325F18 00322E78 7C 7F 1B 78 */ mr r31, r3 +/* 80325F1C 00322E7C 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80325F20 00322E80 38 60 00 28 */ li r3, 0x28 +/* 80325F24 00322E84 38 A0 00 00 */ li r5, 0 +/* 80325F28 00322E88 48 04 6B 5D */ bl __nw__FUlPCcPCc_0 +/* 80325F2C 00322E8C 7C 60 1B 79 */ or. r0, r3, r3 +/* 80325F30 00322E90 41 82 00 20 */ beq lbl_80325F50 +/* 80325F34 00322E94 7F 64 DB 78 */ mr r4, r27 +/* 80325F38 00322E98 7F 85 E3 78 */ mr r5, r28 +/* 80325F3C 00322E9C 7F A6 EB 78 */ mr r6, r29 +/* 80325F40 00322EA0 7F C7 F3 78 */ mr r7, r30 +/* 80325F44 00322EA4 57 E8 06 3E */ clrlwi r8, r31, 0x18 +/* 80325F48 00322EA8 4B FF CF 61 */ bl __ct__10CMVEBounceFP14CVectorElementP14CVectorElementP12CRealElementP12CRealElementb +/* 80325F4C 00322EAC 7C 60 1B 78 */ mr r0, r3 +lbl_80325F50: +/* 80325F50 00322EB0 7C 1E 03 78 */ mr r30, r0 +/* 80325F54 00322EB4 48 00 00 44 */ b lbl_80325F98 +lbl_80325F58: +/* 80325F58 00322EB8 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80325F5C 00322EBC 38 60 00 08 */ li r3, 8 +/* 80325F60 00322EC0 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80325F64 00322EC4 38 A0 00 00 */ li r5, 0 +/* 80325F68 00322EC8 48 04 6B 1D */ bl __nw__FUlPCcPCc_0 +/* 80325F6C 00322ECC 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80325F70 00322ED0 41 82 00 28 */ beq lbl_80325F98 +/* 80325F74 00322ED4 7F E3 FB 78 */ mr r3, r31 +/* 80325F78 00322ED8 48 00 02 DD */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80325F7C 00322EDC 7C 64 1B 78 */ mr r4, r3 +/* 80325F80 00322EE0 7F C3 F3 78 */ mr r3, r30 +/* 80325F84 00322EE4 4B FF CB 49 */ bl __ct__15CMVESetPositionFP14CVectorElement +/* 80325F88 00322EE8 7C 7E 1B 78 */ mr r30, r3 +/* 80325F8C 00322EEC 48 00 00 0C */ b lbl_80325F98 +lbl_80325F90: +/* 80325F90 00322EF0 38 60 00 00 */ li r3, 0 +/* 80325F94 00322EF4 48 00 00 08 */ b lbl_80325F9C +lbl_80325F98: +/* 80325F98 00322EF8 7F C3 F3 78 */ mr r3, r30 +lbl_80325F9C: +/* 80325F9C 00322EFC BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 80325FA0 00322F00 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80325FA4 00322F04 7C 08 03 A6 */ mtlr r0 +/* 80325FA8 00322F08 38 21 00 30 */ addi r1, r1, 0x30 +/* 80325FAC 00322F0C 4E 80 00 20 */ blr + +.global GetEmitterElement__20CParticleDataFactoryFR12CInputStream +GetEmitterElement__20CParticleDataFactoryFR12CInputStream: +/* 80325FB0 00322F10 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80325FB4 00322F14 7C 08 02 A6 */ mflr r0 +/* 80325FB8 00322F18 90 01 00 34 */ stw r0, 0x34(r1) +/* 80325FBC 00322F1C BF 21 00 14 */ stmw r25, 0x14(r1) +/* 80325FC0 00322F20 7C 7F 1B 78 */ mr r31, r3 +/* 80325FC4 00322F24 48 00 24 99 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream +/* 80325FC8 00322F28 3C A0 53 45 */ lis r5, 0x53454D52@ha +/* 80325FCC 00322F2C 38 05 4D 52 */ addi r0, r5, 0x53454D52@l +/* 80325FD0 00322F30 7C 03 00 00 */ cmpw r3, r0 +/* 80325FD4 00322F34 41 82 00 F4 */ beq lbl_803260C8 +/* 80325FD8 00322F38 40 80 00 2C */ bge lbl_80326004 +/* 80325FDC 00322F3C 3C 80 4E 4F */ lis r4, 0x4E4F4E45@ha +/* 80325FE0 00322F40 38 04 4E 45 */ addi r0, r4, 0x4E4F4E45@l +/* 80325FE4 00322F44 7C 03 00 00 */ cmpw r3, r0 +/* 80325FE8 00322F48 41 82 00 40 */ beq lbl_80326028 +/* 80325FEC 00322F4C 40 80 02 50 */ bge lbl_8032623C +/* 80325FF0 00322F50 3C 80 41 53 */ lis r4, 0x41535048@ha +/* 80325FF4 00322F54 38 04 50 48 */ addi r0, r4, 0x41535048@l +/* 80325FF8 00322F58 7C 03 00 00 */ cmpw r3, r0 +/* 80325FFC 00322F5C 41 82 01 88 */ beq lbl_80326184 +/* 80326000 00322F60 48 00 02 3C */ b lbl_8032623C +lbl_80326004: +/* 80326004 00322F64 3C 80 53 50 */ lis r4, 0x53504845@ha +/* 80326008 00322F68 38 04 48 45 */ addi r0, r4, 0x53504845@l +/* 8032600C 00322F6C 7C 03 00 00 */ cmpw r3, r0 +/* 80326010 00322F70 41 82 01 0C */ beq lbl_8032611C +/* 80326014 00322F74 40 80 02 28 */ bge lbl_8032623C +/* 80326018 00322F78 38 05 54 52 */ addi r0, r5, 0x5452 +/* 8032601C 00322F7C 7C 03 00 00 */ cmpw r3, r0 +/* 80326020 00322F80 41 82 00 10 */ beq lbl_80326030 +/* 80326024 00322F84 48 00 02 18 */ b lbl_8032623C +lbl_80326028: +/* 80326028 00322F88 38 60 00 00 */ li r3, 0 +/* 8032602C 00322F8C 48 00 02 14 */ b lbl_80326240 +lbl_80326030: +/* 80326030 00322F90 7F E3 FB 78 */ mr r3, r31 +/* 80326034 00322F94 48 00 24 29 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream +/* 80326038 00322F98 3C 03 B6 B4 */ addis r0, r3, 0xb6b4 +/* 8032603C 00322F9C 3B C0 00 00 */ li r30, 0 +/* 80326040 00322FA0 28 00 4F 43 */ cmplwi r0, 0x4f43 +/* 80326044 00322FA4 3B A0 00 00 */ li r29, 0 +/* 80326048 00322FA8 3B 80 00 00 */ li r28, 0 +/* 8032604C 00322FAC 40 82 00 38 */ bne lbl_80326084 +/* 80326050 00322FB0 7F E3 FB 78 */ mr r3, r31 +/* 80326054 00322FB4 48 00 02 01 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80326058 00322FB8 7C 60 1B 78 */ mr r0, r3 +/* 8032605C 00322FBC 7F E3 FB 78 */ mr r3, r31 +/* 80326060 00322FC0 7C 1E 03 78 */ mr r30, r0 +/* 80326064 00322FC4 48 00 23 F9 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream +/* 80326068 00322FC8 3C 03 B6 AA */ addis r0, r3, 0xb6aa +/* 8032606C 00322FCC 28 00 45 43 */ cmplwi r0, 0x4543 +/* 80326070 00322FD0 40 82 00 14 */ bne lbl_80326084 +/* 80326074 00322FD4 7F E3 FB 78 */ mr r3, r31 +/* 80326078 00322FD8 48 00 01 DD */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 8032607C 00322FDC 3B 80 00 01 */ li r28, 1 +/* 80326080 00322FE0 7C 7D 1B 78 */ mr r29, r3 +lbl_80326084: +/* 80326084 00322FE4 57 80 06 3F */ clrlwi. r0, r28, 0x18 +/* 80326088 00322FE8 41 82 00 34 */ beq lbl_803260BC +/* 8032608C 00322FEC 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80326090 00322FF0 38 60 00 0C */ li r3, 0xc +/* 80326094 00322FF4 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80326098 00322FF8 38 A0 00 00 */ li r5, 0 +/* 8032609C 00322FFC 48 04 69 E9 */ bl __nw__FUlPCcPCc_0 +/* 803260A0 00323000 7C 60 1B 79 */ or. r0, r3, r3 +/* 803260A4 00323004 41 82 00 1C */ beq lbl_803260C0 +/* 803260A8 00323008 7F C4 F3 78 */ mr r4, r30 +/* 803260AC 0032300C 7F A5 EB 78 */ mr r5, r29 +/* 803260B0 00323010 48 03 12 39 */ bl __ct__16CEESimpleEmitterFP14CVectorElementP14CVectorElement +/* 803260B4 00323014 7C 60 1B 78 */ mr r0, r3 +/* 803260B8 00323018 48 00 00 08 */ b lbl_803260C0 +lbl_803260BC: +/* 803260BC 0032301C 38 00 00 00 */ li r0, 0 +lbl_803260C0: +/* 803260C0 00323020 7C 03 03 78 */ mr r3, r0 +/* 803260C4 00323024 48 00 01 7C */ b lbl_80326240 +lbl_803260C8: +/* 803260C8 00323028 7F E3 FB 78 */ mr r3, r31 +/* 803260CC 0032302C 48 00 01 89 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 803260D0 00323030 7C 60 1B 78 */ mr r0, r3 +/* 803260D4 00323034 7F E3 FB 78 */ mr r3, r31 +/* 803260D8 00323038 7C 1C 03 78 */ mr r28, r0 +/* 803260DC 0032303C 48 00 01 79 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 803260E0 00323040 7C 60 1B 78 */ mr r0, r3 +/* 803260E4 00323044 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 803260E8 00323048 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 803260EC 0032304C 38 60 00 0C */ li r3, 0xc +/* 803260F0 00323050 7C 1D 03 78 */ mr r29, r0 +/* 803260F4 00323054 38 A0 00 00 */ li r5, 0 +/* 803260F8 00323058 48 04 69 8D */ bl __nw__FUlPCcPCc_0 +/* 803260FC 0032305C 7C 60 1B 79 */ or. r0, r3, r3 +/* 80326100 00323060 41 82 00 14 */ beq lbl_80326114 +/* 80326104 00323064 7F 84 E3 78 */ mr r4, r28 +/* 80326108 00323068 7F A5 EB 78 */ mr r5, r29 +/* 8032610C 0032306C 48 03 11 DD */ bl __ct__16CEESimpleEmitterFP14CVectorElementP14CVectorElement +/* 80326110 00323070 7C 60 1B 78 */ mr r0, r3 +lbl_80326114: +/* 80326114 00323074 7C 03 03 78 */ mr r3, r0 +/* 80326118 00323078 48 00 01 28 */ b lbl_80326240 +lbl_8032611C: +/* 8032611C 0032307C 7F E3 FB 78 */ mr r3, r31 +/* 80326120 00323080 48 00 01 35 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80326124 00323084 7C 60 1B 78 */ mr r0, r3 +/* 80326128 00323088 7F E3 FB 78 */ mr r3, r31 +/* 8032612C 0032308C 7C 1C 03 78 */ mr r28, r0 +/* 80326130 00323090 48 00 0B 61 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80326134 00323094 7C 60 1B 78 */ mr r0, r3 +/* 80326138 00323098 7F E3 FB 78 */ mr r3, r31 +/* 8032613C 0032309C 7C 1D 03 78 */ mr r29, r0 +/* 80326140 003230A0 48 00 0B 51 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80326144 003230A4 7C 60 1B 78 */ mr r0, r3 +/* 80326148 003230A8 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 8032614C 003230AC 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80326150 003230B0 38 60 00 10 */ li r3, 0x10 +/* 80326154 003230B4 7C 1E 03 78 */ mr r30, r0 +/* 80326158 003230B8 38 A0 00 00 */ li r5, 0 +/* 8032615C 003230BC 48 04 69 29 */ bl __nw__FUlPCcPCc_0 +/* 80326160 003230C0 7C 60 1B 79 */ or. r0, r3, r3 +/* 80326164 003230C4 41 82 00 18 */ beq lbl_8032617C +/* 80326168 003230C8 7F 84 E3 78 */ mr r4, r28 +/* 8032616C 003230CC 7F A5 EB 78 */ mr r5, r29 +/* 80326170 003230D0 7F C6 F3 78 */ mr r6, r30 +/* 80326174 003230D4 48 03 0F E5 */ bl __ct__9CVESphereFP14CVectorElementP12CRealElementP12CRealElement +/* 80326178 003230D8 7C 60 1B 78 */ mr r0, r3 +lbl_8032617C: +/* 8032617C 003230DC 7C 03 03 78 */ mr r3, r0 +/* 80326180 003230E0 48 00 00 C0 */ b lbl_80326240 +lbl_80326184: +/* 80326184 003230E4 7F E3 FB 78 */ mr r3, r31 +/* 80326188 003230E8 48 00 00 CD */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 8032618C 003230EC 7C 60 1B 78 */ mr r0, r3 +/* 80326190 003230F0 7F E3 FB 78 */ mr r3, r31 +/* 80326194 003230F4 7C 1C 03 78 */ mr r28, r0 +/* 80326198 003230F8 48 00 0A F9 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 8032619C 003230FC 7C 60 1B 78 */ mr r0, r3 +/* 803261A0 00323100 7F E3 FB 78 */ mr r3, r31 +/* 803261A4 00323104 7C 1D 03 78 */ mr r29, r0 +/* 803261A8 00323108 48 00 0A E9 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 803261AC 0032310C 7C 60 1B 78 */ mr r0, r3 +/* 803261B0 00323110 7F E3 FB 78 */ mr r3, r31 +/* 803261B4 00323114 7C 1E 03 78 */ mr r30, r0 +/* 803261B8 00323118 48 00 0A D9 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 803261BC 0032311C 7C 60 1B 78 */ mr r0, r3 +/* 803261C0 00323120 7F E3 FB 78 */ mr r3, r31 +/* 803261C4 00323124 7C 1B 03 78 */ mr r27, r0 +/* 803261C8 00323128 48 00 0A C9 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 803261CC 0032312C 7C 60 1B 78 */ mr r0, r3 +/* 803261D0 00323130 7F E3 FB 78 */ mr r3, r31 +/* 803261D4 00323134 7C 1A 03 78 */ mr r26, r0 +/* 803261D8 00323138 48 00 0A B9 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 803261DC 0032313C 7C 60 1B 78 */ mr r0, r3 +/* 803261E0 00323140 7F E3 FB 78 */ mr r3, r31 +/* 803261E4 00323144 7C 1F 03 78 */ mr r31, r0 +/* 803261E8 00323148 48 00 0A A9 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 803261EC 0032314C 7C 60 1B 78 */ mr r0, r3 +/* 803261F0 00323150 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 803261F4 00323154 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 803261F8 00323158 38 60 00 20 */ li r3, 0x20 +/* 803261FC 0032315C 7C 19 03 78 */ mr r25, r0 +/* 80326200 00323160 38 A0 00 00 */ li r5, 0 +/* 80326204 00323164 48 04 68 81 */ bl __nw__FUlPCcPCc_0 +/* 80326208 00323168 7C 60 1B 79 */ or. r0, r3, r3 +/* 8032620C 0032316C 41 82 00 28 */ beq lbl_80326234 +/* 80326210 00323170 7F 84 E3 78 */ mr r4, r28 +/* 80326214 00323174 7F E5 FB 78 */ mr r5, r31 +/* 80326218 00323178 7F 26 CB 78 */ mr r6, r25 +/* 8032621C 0032317C 7F A7 EB 78 */ mr r7, r29 +/* 80326220 00323180 7F C8 F3 78 */ mr r8, r30 +/* 80326224 00323184 7F 69 DB 78 */ mr r9, r27 +/* 80326228 00323188 7F 4A D3 78 */ mr r10, r26 +/* 8032622C 0032318C 48 03 0A D5 */ bl __ct__14CVEAngleSphereFP14CVectorElementP12CRealElementP12CRealElementP12CRealElementP12CRealElementP12CRealElementP12CRealElement +/* 80326230 00323190 7C 60 1B 78 */ mr r0, r3 +lbl_80326234: +/* 80326234 00323194 7C 03 03 78 */ mr r3, r0 +/* 80326238 00323198 48 00 00 08 */ b lbl_80326240 +lbl_8032623C: +/* 8032623C 0032319C 38 60 00 00 */ li r3, 0 +lbl_80326240: +/* 80326240 003231A0 BB 21 00 14 */ lmw r25, 0x14(r1) +/* 80326244 003231A4 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80326248 003231A8 7C 08 03 A6 */ mtlr r0 +/* 8032624C 003231AC 38 21 00 30 */ addi r1, r1, 0x30 +/* 80326250 003231B0 4E 80 00 20 */ blr + +.global GetVectorElement__20CParticleDataFactoryFR12CInputStream +GetVectorElement__20CParticleDataFactoryFR12CInputStream: +/* 80326254 003231B4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80326258 003231B8 7C 08 02 A6 */ mflr r0 +/* 8032625C 003231BC 90 01 00 34 */ stw r0, 0x34(r1) +/* 80326260 003231C0 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 80326264 003231C4 7C 7F 1B 78 */ mr r31, r3 +/* 80326268 003231C8 48 00 21 F5 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream +/* 8032626C 003231CC 3C 80 4E 4F */ lis r4, 0x4E4F4E45@ha +/* 80326270 003231D0 38 04 4E 45 */ addi r0, r4, 0x4E4F4E45@l +/* 80326274 003231D4 7C 03 00 00 */ cmpw r3, r0 +/* 80326278 003231D8 41 82 01 98 */ beq lbl_80326410 +/* 8032627C 003231DC 40 80 00 DC */ bge lbl_80326358 +/* 80326280 003231E0 3C 80 43 4E */ lis r4, 0x434E5354@ha +/* 80326284 003231E4 38 04 53 54 */ addi r0, r4, 0x434E5354@l +/* 80326288 003231E8 7C 03 00 00 */ cmpw r3, r0 +/* 8032628C 003231EC 41 82 01 8C */ beq lbl_80326418 +/* 80326290 003231F0 40 80 00 68 */ bge lbl_803262F8 +/* 80326294 003231F4 3C 80 43 43 */ lis r4, 0x43434C55@ha +/* 80326298 003231F8 38 04 4C 55 */ addi r0, r4, 0x43434C55@l +/* 8032629C 003231FC 7C 03 00 00 */ cmpw r3, r0 +/* 803262A0 00323200 41 82 05 20 */ beq lbl_803267C0 +/* 803262A4 00323204 40 80 00 2C */ bge lbl_803262D0 +/* 803262A8 00323208 3C 80 41 4E */ lis r4, 0x414E4743@ha +/* 803262AC 0032320C 38 04 47 43 */ addi r0, r4, 0x414E4743@l +/* 803262B0 00323210 7C 03 00 00 */ cmpw r3, r0 +/* 803262B4 00323214 41 82 03 98 */ beq lbl_8032664C +/* 803262B8 00323218 40 80 09 C0 */ bge lbl_80326C78 +/* 803262BC 0032321C 3C 80 41 44 */ lis r4, 0x4144445F@ha +/* 803262C0 00323220 38 04 44 5F */ addi r0, r4, 0x4144445F@l +/* 803262C4 00323224 7C 03 00 00 */ cmpw r3, r0 +/* 803262C8 00323228 41 82 05 74 */ beq lbl_8032683C +/* 803262CC 0032322C 48 00 09 AC */ b lbl_80326C78 +lbl_803262D0: +/* 803262D0 00323230 3C 80 43 49 */ lis r4, 0x43495243@ha +/* 803262D4 00323234 38 04 52 43 */ addi r0, r4, 0x43495243@l +/* 803262D8 00323238 7C 03 00 00 */ cmpw r3, r0 +/* 803262DC 0032323C 41 82 04 54 */ beq lbl_80326730 +/* 803262E0 00323240 40 80 09 98 */ bge lbl_80326C78 +/* 803262E4 00323244 3C 80 43 48 */ lis r4, 0x4348414E@ha +/* 803262E8 00323248 38 04 41 4E */ addi r0, r4, 0x4348414E@l +/* 803262EC 0032324C 7C 03 00 00 */ cmpw r3, r0 +/* 803262F0 00323250 41 82 05 F4 */ beq lbl_803268E4 +/* 803262F4 00323254 48 00 09 84 */ b lbl_80326C78 +lbl_803262F8: +/* 803262F8 00323258 3C A0 4B 45 */ lis r5, 0x4B455945@ha +/* 803262FC 0032325C 38 05 59 45 */ addi r0, r5, 0x4B455945@l +/* 80326300 00323260 7C 03 00 00 */ cmpw r3, r0 +/* 80326304 00323264 41 82 03 18 */ beq lbl_8032661C +/* 80326308 00323268 40 80 00 2C */ bge lbl_80326334 +/* 8032630C 0032326C 3C 80 43 54 */ lis r4, 0x43545643@ha +/* 80326310 00323270 38 04 56 43 */ addi r0, r4, 0x43545643@l +/* 80326314 00323274 7C 03 00 00 */ cmpw r3, r0 +/* 80326318 00323278 41 82 09 20 */ beq lbl_80326C38 +/* 8032631C 0032327C 40 80 09 5C */ bge lbl_80326C78 +/* 80326320 00323280 3C 80 43 4F */ lis r4, 0x434F4E45@ha +/* 80326324 00323284 38 04 4E 45 */ addi r0, r4, 0x434F4E45@l +/* 80326328 00323288 7C 03 00 00 */ cmpw r3, r0 +/* 8032632C 0032328C 41 82 03 B0 */ beq lbl_803266DC +/* 80326330 00323290 48 00 09 48 */ b lbl_80326C78 +lbl_80326334: +/* 80326334 00323294 3C 80 4D 55 */ lis r4, 0x4D554C54@ha +/* 80326338 00323298 38 04 4C 54 */ addi r0, r4, 0x4D554C54@l +/* 8032633C 0032329C 7C 03 00 00 */ cmpw r3, r0 +/* 80326340 003232A0 41 82 05 50 */ beq lbl_80326890 +/* 80326344 003232A4 40 80 09 34 */ bge lbl_80326C78 +/* 80326348 003232A8 38 05 59 50 */ addi r0, r5, 0x5950 +/* 8032634C 003232AC 7C 03 00 00 */ cmpw r3, r0 +/* 80326350 003232B0 41 82 02 CC */ beq lbl_8032661C +/* 80326354 003232B4 48 00 09 24 */ b lbl_80326C78 +lbl_80326358: +/* 80326358 003232B8 3C 80 50 53 */ lis r4, 0x50535452@ha +/* 8032635C 003232BC 38 04 54 52 */ addi r0, r4, 0x50535452@l +/* 80326360 003232C0 7C 03 00 00 */ cmpw r3, r0 +/* 80326364 003232C4 41 82 08 3C */ beq lbl_80326BA0 +/* 80326368 003232C8 40 80 00 58 */ bge lbl_803263C0 +/* 8032636C 003232CC 38 04 4F 46 */ addi r0, r4, 0x4f46 +/* 80326370 003232D0 7C 03 00 00 */ cmpw r3, r0 +/* 80326374 003232D4 41 82 07 60 */ beq lbl_80326AD4 +/* 80326378 003232D8 40 80 00 28 */ bge lbl_803263A0 +/* 8032637C 003232DC 3C 80 50 4C */ lis r4, 0x504C4F43@ha +/* 80326380 003232E0 38 04 4F 43 */ addi r0, r4, 0x504C4F43@l +/* 80326384 003232E4 7C 03 00 00 */ cmpw r3, r0 +/* 80326388 003232E8 41 82 06 80 */ beq lbl_80326A08 +/* 8032638C 003232EC 40 80 08 EC */ bge lbl_80326C78 +/* 80326390 003232F0 38 04 43 4F */ addi r0, r4, 0x434f +/* 80326394 003232F4 7C 03 00 00 */ cmpw r3, r0 +/* 80326398 003232F8 41 82 06 B4 */ beq lbl_80326A4C +/* 8032639C 003232FC 48 00 08 DC */ b lbl_80326C78 +lbl_803263A0: +/* 803263A0 00323300 38 04 4F 55 */ addi r0, r4, 0x4f55 +/* 803263A4 00323304 7C 03 00 00 */ cmpw r3, r0 +/* 803263A8 00323308 41 82 07 70 */ beq lbl_80326B18 +/* 803263AC 0032330C 40 80 08 CC */ bge lbl_80326C78 +/* 803263B0 00323310 38 04 4F 52 */ addi r0, r4, 0x4f52 +/* 803263B4 00323314 7C 03 00 00 */ cmpw r3, r0 +/* 803263B8 00323318 41 82 07 A4 */ beq lbl_80326B5C +/* 803263BC 0032331C 48 00 08 BC */ b lbl_80326C78 +lbl_803263C0: +/* 803263C0 00323320 3C 80 52 54 */ lis r4, 0x52544F56@ha +/* 803263C4 00323324 38 04 4F 56 */ addi r0, r4, 0x52544F56@l +/* 803263C8 00323328 7C 03 00 00 */ cmpw r3, r0 +/* 803263CC 0032332C 41 82 05 FC */ beq lbl_803269C8 +/* 803263D0 00323330 40 80 00 2C */ bge lbl_803263FC +/* 803263D4 00323334 3C 80 50 56 */ lis r4, 0x5056454C@ha +/* 803263D8 00323338 38 04 45 4C */ addi r0, r4, 0x5056454C@l +/* 803263DC 0032333C 7C 03 00 00 */ cmpw r3, r0 +/* 803263E0 00323340 41 82 06 B0 */ beq lbl_80326A90 +/* 803263E4 00323344 40 80 08 94 */ bge lbl_80326C78 +/* 803263E8 00323348 3C 80 50 55 */ lis r4, 0x50554C53@ha +/* 803263EC 0032334C 38 04 4C 53 */ addi r0, r4, 0x50554C53@l +/* 803263F0 00323350 7C 03 00 00 */ cmpw r3, r0 +/* 803263F4 00323354 41 82 05 58 */ beq lbl_8032694C +/* 803263F8 00323358 48 00 08 80 */ b lbl_80326C78 +lbl_803263FC: +/* 803263FC 0032335C 3C 80 53 55 */ lis r4, 0x5355425F@ha +/* 80326400 00323360 38 04 42 5F */ addi r0, r4, 0x5355425F@l +/* 80326404 00323364 7C 03 00 00 */ cmpw r3, r0 +/* 80326408 00323368 41 82 07 DC */ beq lbl_80326BE4 +/* 8032640C 0032336C 48 00 08 6C */ b lbl_80326C78 +lbl_80326410: +/* 80326410 00323370 38 60 00 00 */ li r3, 0 +/* 80326414 00323374 48 00 08 68 */ b lbl_80326C7C +lbl_80326418: +/* 80326418 00323378 83 AD A8 C8 */ lwz r29, lbl_805A9488@sda21(r13) +/* 8032641C 0032337C 28 1D 00 00 */ cmplwi r29, 0 +/* 80326420 00323380 41 82 00 14 */ beq lbl_80326434 +/* 80326424 00323384 7F A3 EB 78 */ mr r3, r29 +/* 80326428 00323388 48 04 66 85 */ bl sub_8036caac +/* 8032642C 0032338C 7C 7E 1B 78 */ mr r30, r3 +/* 80326430 00323390 48 00 00 08 */ b lbl_80326438 +lbl_80326434: +/* 80326434 00323394 3B C0 00 00 */ li r30, 0 +lbl_80326438: +/* 80326438 00323398 7F E3 FB 78 */ mr r3, r31 +/* 8032643C 0032339C 48 00 08 55 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80326440 003233A0 7C 60 1B 78 */ mr r0, r3 +/* 80326444 003233A4 7F E3 FB 78 */ mr r3, r31 +/* 80326448 003233A8 7C 1C 03 78 */ mr r28, r0 +/* 8032644C 003233AC 48 00 08 45 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80326450 003233B0 7C 60 1B 78 */ mr r0, r3 +/* 80326454 003233B4 7F E3 FB 78 */ mr r3, r31 +/* 80326458 003233B8 7C 1F 03 78 */ mr r31, r0 +/* 8032645C 003233BC 48 00 08 35 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80326460 003233C0 28 1C 00 00 */ cmplwi r28, 0 +/* 80326464 003233C4 7C 7B 1B 78 */ mr r27, r3 +/* 80326468 003233C8 41 82 01 7C */ beq lbl_803265E4 +/* 8032646C 003233CC 28 1F 00 00 */ cmplwi r31, 0 +/* 80326470 003233D0 41 82 01 74 */ beq lbl_803265E4 +/* 80326474 003233D4 28 1B 00 00 */ cmplwi r27, 0 +/* 80326478 003233D8 41 82 01 6C */ beq lbl_803265E4 +/* 8032647C 003233DC 7F 83 E3 78 */ mr r3, r28 +/* 80326480 003233E0 81 9C 00 00 */ lwz r12, 0(r28) +/* 80326484 003233E4 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 80326488 003233E8 7D 89 03 A6 */ mtctr r12 +/* 8032648C 003233EC 4E 80 04 21 */ bctrl +/* 80326490 003233F0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80326494 003233F4 41 82 01 50 */ beq lbl_803265E4 +/* 80326498 003233F8 7F E3 FB 78 */ mr r3, r31 +/* 8032649C 003233FC 81 9F 00 00 */ lwz r12, 0(r31) +/* 803264A0 00323400 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 803264A4 00323404 7D 89 03 A6 */ mtctr r12 +/* 803264A8 00323408 4E 80 04 21 */ bctrl +/* 803264AC 0032340C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 803264B0 00323410 41 82 01 34 */ beq lbl_803265E4 +/* 803264B4 00323414 7F 63 DB 78 */ mr r3, r27 +/* 803264B8 00323418 81 9B 00 00 */ lwz r12, 0(r27) +/* 803264BC 0032341C 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 803264C0 00323420 7D 89 03 A6 */ mtctr r12 +/* 803264C4 00323424 4E 80 04 21 */ bctrl +/* 803264C8 00323428 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 803264CC 0032342C 41 82 01 18 */ beq lbl_803265E4 +/* 803264D0 00323430 7F 83 E3 78 */ mr r3, r28 +/* 803264D4 00323434 38 A1 00 10 */ addi r5, r1, 0x10 +/* 803264D8 00323438 81 9C 00 00 */ lwz r12, 0(r28) +/* 803264DC 0032343C 38 80 00 00 */ li r4, 0 +/* 803264E0 00323440 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803264E4 00323444 7D 89 03 A6 */ mtctr r12 +/* 803264E8 00323448 4E 80 04 21 */ bctrl +/* 803264EC 0032344C 7F E3 FB 78 */ mr r3, r31 +/* 803264F0 00323450 38 A1 00 0C */ addi r5, r1, 0xc +/* 803264F4 00323454 81 9F 00 00 */ lwz r12, 0(r31) +/* 803264F8 00323458 38 80 00 00 */ li r4, 0 +/* 803264FC 0032345C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80326500 00323460 7D 89 03 A6 */ mtctr r12 +/* 80326504 00323464 4E 80 04 21 */ bctrl +/* 80326508 00323468 7F 63 DB 78 */ mr r3, r27 +/* 8032650C 0032346C 38 A1 00 08 */ addi r5, r1, 8 +/* 80326510 00323470 81 9B 00 00 */ lwz r12, 0(r27) +/* 80326514 00323474 38 80 00 00 */ li r4, 0 +/* 80326518 00323478 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8032651C 0032347C 7D 89 03 A6 */ mtctr r12 +/* 80326520 00323480 4E 80 04 21 */ bctrl +/* 80326524 00323484 28 1C 00 00 */ cmplwi r28, 0 +/* 80326528 00323488 41 82 00 1C */ beq lbl_80326544 +/* 8032652C 0032348C 7F 83 E3 78 */ mr r3, r28 +/* 80326530 00323490 38 80 00 01 */ li r4, 1 +/* 80326534 00323494 81 9C 00 00 */ lwz r12, 0(r28) +/* 80326538 00323498 81 8C 00 08 */ lwz r12, 8(r12) +/* 8032653C 0032349C 7D 89 03 A6 */ mtctr r12 +/* 80326540 003234A0 4E 80 04 21 */ bctrl +lbl_80326544: +/* 80326544 003234A4 28 1F 00 00 */ cmplwi r31, 0 +/* 80326548 003234A8 41 82 00 1C */ beq lbl_80326564 +/* 8032654C 003234AC 7F E3 FB 78 */ mr r3, r31 +/* 80326550 003234B0 38 80 00 01 */ li r4, 1 +/* 80326554 003234B4 81 9F 00 00 */ lwz r12, 0(r31) +/* 80326558 003234B8 81 8C 00 08 */ lwz r12, 8(r12) +/* 8032655C 003234BC 7D 89 03 A6 */ mtctr r12 +/* 80326560 003234C0 4E 80 04 21 */ bctrl +lbl_80326564: +/* 80326564 003234C4 28 1B 00 00 */ cmplwi r27, 0 +/* 80326568 003234C8 41 82 00 1C */ beq lbl_80326584 +/* 8032656C 003234CC 7F 63 DB 78 */ mr r3, r27 +/* 80326570 003234D0 38 80 00 01 */ li r4, 1 +/* 80326574 003234D4 81 9B 00 00 */ lwz r12, 0(r27) +/* 80326578 003234D8 81 8C 00 08 */ lwz r12, 8(r12) +/* 8032657C 003234DC 7D 89 03 A6 */ mtctr r12 +/* 80326580 003234E0 4E 80 04 21 */ bctrl +lbl_80326584: +/* 80326584 003234E4 28 1D 00 00 */ cmplwi r29, 0 +/* 80326588 003234E8 41 82 00 24 */ beq lbl_803265AC +/* 8032658C 003234EC 80 0D A8 C8 */ lwz r0, lbl_805A9488@sda21(r13) +/* 80326590 003234F0 7C 1D 00 40 */ cmplw r29, r0 +/* 80326594 003234F4 40 82 00 18 */ bne lbl_803265AC +/* 80326598 003234F8 7F A3 EB 78 */ mr r3, r29 +/* 8032659C 003234FC 48 04 65 11 */ bl sub_8036caac +/* 803265A0 00323500 7C 9E 18 50 */ subf r4, r30, r3 +/* 803265A4 00323504 7F A3 EB 78 */ mr r3, r29 +/* 803265A8 00323508 48 04 65 11 */ bl sub_8036cab8 +lbl_803265AC: +/* 803265AC 0032350C 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 803265B0 00323510 38 60 00 10 */ li r3, 0x10 +/* 803265B4 00323514 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 803265B8 00323518 38 A0 00 00 */ li r5, 0 +/* 803265BC 0032351C 48 04 64 C9 */ bl __nw__FUlPCcPCc_0 +/* 803265C0 00323520 7C 60 1B 79 */ or. r0, r3, r3 +/* 803265C4 00323524 41 82 00 18 */ beq lbl_803265DC +/* 803265C8 00323528 C0 21 00 10 */ lfs f1, 0x10(r1) +/* 803265CC 0032352C C0 41 00 0C */ lfs f2, 0xc(r1) +/* 803265D0 00323530 C0 61 00 08 */ lfs f3, 8(r1) +/* 803265D4 00323534 48 01 04 E5 */ bl __ct__15CVEFastConstantFfff +/* 803265D8 00323538 7C 60 1B 78 */ mr r0, r3 +lbl_803265DC: +/* 803265DC 0032353C 7C 03 03 78 */ mr r3, r0 +/* 803265E0 00323540 48 00 06 9C */ b lbl_80326C7C +lbl_803265E4: +/* 803265E4 00323544 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 803265E8 00323548 38 60 00 10 */ li r3, 0x10 +/* 803265EC 0032354C 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 803265F0 00323550 38 A0 00 00 */ li r5, 0 +/* 803265F4 00323554 48 04 64 91 */ bl __nw__FUlPCcPCc_0 +/* 803265F8 00323558 7C 60 1B 79 */ or. r0, r3, r3 +/* 803265FC 0032355C 41 82 00 18 */ beq lbl_80326614 +/* 80326600 00323560 7F 84 E3 78 */ mr r4, r28 +/* 80326604 00323564 7F E5 FB 78 */ mr r5, r31 +/* 80326608 00323568 7F 66 DB 78 */ mr r6, r27 +/* 8032660C 0032356C 48 01 06 6D */ bl __ct__11CVEConstantFP12CRealElementP12CRealElementP12CRealElement +/* 80326610 00323570 7C 60 1B 78 */ mr r0, r3 +lbl_80326614: +/* 80326614 00323574 7C 03 03 78 */ mr r3, r0 +/* 80326618 00323578 48 00 06 64 */ b lbl_80326C7C +lbl_8032661C: +/* 8032661C 0032357C 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80326620 00323580 38 60 00 28 */ li r3, 0x28 +/* 80326624 00323584 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80326628 00323588 38 A0 00 00 */ li r5, 0 +/* 8032662C 0032358C 48 04 64 59 */ bl __nw__FUlPCcPCc_0 +/* 80326630 00323590 7C 60 1B 79 */ or. r0, r3, r3 +/* 80326634 00323594 41 82 00 10 */ beq lbl_80326644 +/* 80326638 00323598 7F E4 FB 78 */ mr r4, r31 +/* 8032663C 0032359C 48 00 EA AD */ bl __ct__18CVEKeyframeEmitterFR12CInputStream +/* 80326640 003235A0 7C 60 1B 78 */ mr r0, r3 +lbl_80326644: +/* 80326644 003235A4 7C 03 03 78 */ mr r3, r0 +/* 80326648 003235A8 48 00 06 34 */ b lbl_80326C7C +lbl_8032664C: +/* 8032664C 003235AC 7F E3 FB 78 */ mr r3, r31 +/* 80326650 003235B0 48 00 06 41 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80326654 003235B4 7C 60 1B 78 */ mr r0, r3 +/* 80326658 003235B8 7F E3 FB 78 */ mr r3, r31 +/* 8032665C 003235BC 7C 1B 03 78 */ mr r27, r0 +/* 80326660 003235C0 48 00 06 31 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80326664 003235C4 7C 60 1B 78 */ mr r0, r3 +/* 80326668 003235C8 7F E3 FB 78 */ mr r3, r31 +/* 8032666C 003235CC 7C 1C 03 78 */ mr r28, r0 +/* 80326670 003235D0 48 00 06 21 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80326674 003235D4 7C 60 1B 78 */ mr r0, r3 +/* 80326678 003235D8 7F E3 FB 78 */ mr r3, r31 +/* 8032667C 003235DC 7C 1D 03 78 */ mr r29, r0 +/* 80326680 003235E0 48 00 06 11 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80326684 003235E4 7C 60 1B 78 */ mr r0, r3 +/* 80326688 003235E8 7F E3 FB 78 */ mr r3, r31 +/* 8032668C 003235EC 7C 1E 03 78 */ mr r30, r0 +/* 80326690 003235F0 48 00 06 01 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80326694 003235F4 7C 60 1B 78 */ mr r0, r3 +/* 80326698 003235F8 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 8032669C 003235FC 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 803266A0 00323600 38 60 00 18 */ li r3, 0x18 +/* 803266A4 00323604 7C 1F 03 78 */ mr r31, r0 +/* 803266A8 00323608 38 A0 00 00 */ li r5, 0 +/* 803266AC 0032360C 48 04 63 D9 */ bl __nw__FUlPCcPCc_0 +/* 803266B0 00323610 7C 60 1B 79 */ or. r0, r3, r3 +/* 803266B4 00323614 41 82 00 20 */ beq lbl_803266D4 +/* 803266B8 00323618 7F 64 DB 78 */ mr r4, r27 +/* 803266BC 0032361C 7F 85 E3 78 */ mr r5, r28 +/* 803266C0 00323620 7F A6 EB 78 */ mr r6, r29 +/* 803266C4 00323624 7F C7 F3 78 */ mr r7, r30 +/* 803266C8 00323628 7F E8 FB 78 */ mr r8, r31 +/* 803266CC 0032362C 48 00 FF 45 */ bl __ct__12CVEAngleConeFP12CRealElementP12CRealElementP12CRealElementP12CRealElementP12CRealElement +/* 803266D0 00323630 7C 60 1B 78 */ mr r0, r3 +lbl_803266D4: +/* 803266D4 00323634 7C 03 03 78 */ mr r3, r0 +/* 803266D8 00323638 48 00 05 A4 */ b lbl_80326C7C +lbl_803266DC: +/* 803266DC 0032363C 7F E3 FB 78 */ mr r3, r31 +/* 803266E0 00323640 4B FF FB 75 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 803266E4 00323644 7C 60 1B 78 */ mr r0, r3 +/* 803266E8 00323648 7F E3 FB 78 */ mr r3, r31 +/* 803266EC 0032364C 7C 1B 03 78 */ mr r27, r0 +/* 803266F0 00323650 48 00 05 A1 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 803266F4 00323654 7C 60 1B 78 */ mr r0, r3 +/* 803266F8 00323658 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 803266FC 0032365C 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80326700 00323660 38 60 00 24 */ li r3, 0x24 +/* 80326704 00323664 7C 1C 03 78 */ mr r28, r0 +/* 80326708 00323668 38 A0 00 00 */ li r5, 0 +/* 8032670C 0032366C 48 04 63 79 */ bl __nw__FUlPCcPCc_0 +/* 80326710 00323670 7C 60 1B 79 */ or. r0, r3, r3 +/* 80326714 00323674 41 82 00 14 */ beq lbl_80326728 +/* 80326718 00323678 7F 64 DB 78 */ mr r4, r27 +/* 8032671C 0032367C 7F 85 E3 78 */ mr r5, r28 +/* 80326720 00323680 48 01 01 85 */ bl __ct__7CVEConeFP14CVectorElementP12CRealElement +/* 80326724 00323684 7C 60 1B 78 */ mr r0, r3 +lbl_80326728: +/* 80326728 00323688 7C 03 03 78 */ mr r3, r0 +/* 8032672C 0032368C 48 00 05 50 */ b lbl_80326C7C +lbl_80326730: +/* 80326730 00323690 7F E3 FB 78 */ mr r3, r31 +/* 80326734 00323694 4B FF FB 21 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80326738 00323698 7C 60 1B 78 */ mr r0, r3 +/* 8032673C 0032369C 7F E3 FB 78 */ mr r3, r31 +/* 80326740 003236A0 7C 1B 03 78 */ mr r27, r0 +/* 80326744 003236A4 4B FF FB 11 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80326748 003236A8 7C 60 1B 78 */ mr r0, r3 +/* 8032674C 003236AC 7F E3 FB 78 */ mr r3, r31 +/* 80326750 003236B0 7C 1C 03 78 */ mr r28, r0 +/* 80326754 003236B4 48 00 05 3D */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80326758 003236B8 7C 60 1B 78 */ mr r0, r3 +/* 8032675C 003236BC 7F E3 FB 78 */ mr r3, r31 +/* 80326760 003236C0 7C 1D 03 78 */ mr r29, r0 +/* 80326764 003236C4 48 00 05 2D */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80326768 003236C8 7C 60 1B 78 */ mr r0, r3 +/* 8032676C 003236CC 7F E3 FB 78 */ mr r3, r31 +/* 80326770 003236D0 7C 1E 03 78 */ mr r30, r0 +/* 80326774 003236D4 48 00 05 1D */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80326778 003236D8 7C 60 1B 78 */ mr r0, r3 +/* 8032677C 003236DC 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80326780 003236E0 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80326784 003236E4 38 60 00 2C */ li r3, 0x2c +/* 80326788 003236E8 7C 1F 03 78 */ mr r31, r0 +/* 8032678C 003236EC 38 A0 00 00 */ li r5, 0 +/* 80326790 003236F0 48 04 62 F5 */ bl __nw__FUlPCcPCc_0 +/* 80326794 003236F4 7C 60 1B 79 */ or. r0, r3, r3 +/* 80326798 003236F8 41 82 00 20 */ beq lbl_803267B8 +/* 8032679C 003236FC 7F 64 DB 78 */ mr r4, r27 +/* 803267A0 00323700 7F 85 E3 78 */ mr r5, r28 +/* 803267A4 00323704 7F A6 EB 78 */ mr r6, r29 +/* 803267A8 00323708 7F C7 F3 78 */ mr r7, r30 +/* 803267AC 0032370C 7F E8 FB 78 */ mr r8, r31 +/* 803267B0 00323710 48 00 F9 DD */ bl __ct__9CVECircleFP14CVectorElementP14CVectorElementP12CRealElementP12CRealElementP12CRealElement +/* 803267B4 00323714 7C 60 1B 78 */ mr r0, r3 +lbl_803267B8: +/* 803267B8 00323718 7C 03 03 78 */ mr r3, r0 +/* 803267BC 0032371C 48 00 04 C0 */ b lbl_80326C7C +lbl_803267C0: +/* 803267C0 00323720 7F E3 FB 78 */ mr r3, r31 +/* 803267C4 00323724 4B FF FA 91 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 803267C8 00323728 7C 60 1B 78 */ mr r0, r3 +/* 803267CC 0032372C 7F E3 FB 78 */ mr r3, r31 +/* 803267D0 00323730 7C 1B 03 78 */ mr r27, r0 +/* 803267D4 00323734 4B FF FA 81 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 803267D8 00323738 7C 60 1B 78 */ mr r0, r3 +/* 803267DC 0032373C 7F E3 FB 78 */ mr r3, r31 +/* 803267E0 00323740 7C 1C 03 78 */ mr r28, r0 +/* 803267E4 00323744 48 00 13 C1 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 803267E8 00323748 7C 60 1B 78 */ mr r0, r3 +/* 803267EC 0032374C 7F E3 FB 78 */ mr r3, r31 +/* 803267F0 00323750 7C 1D 03 78 */ mr r29, r0 +/* 803267F4 00323754 48 00 04 9D */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 803267F8 00323758 7C 60 1B 78 */ mr r0, r3 +/* 803267FC 0032375C 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80326800 00323760 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80326804 00323764 38 60 00 28 */ li r3, 0x28 +/* 80326808 00323768 7C 1E 03 78 */ mr r30, r0 +/* 8032680C 0032376C 38 A0 00 00 */ li r5, 0 +/* 80326810 00323770 48 04 62 75 */ bl __nw__FUlPCcPCc_0 +/* 80326814 00323774 7C 60 1B 79 */ or. r0, r3, r3 +/* 80326818 00323778 41 82 00 1C */ beq lbl_80326834 +/* 8032681C 0032377C 7F 64 DB 78 */ mr r4, r27 +/* 80326820 00323780 7F 85 E3 78 */ mr r5, r28 +/* 80326824 00323784 7F A6 EB 78 */ mr r6, r29 +/* 80326828 00323788 7F C7 F3 78 */ mr r7, r30 +/* 8032682C 0032378C 48 00 F2 51 */ bl __ct__16CVECircleClusterFP14CVectorElementP14CVectorElementP11CIntElementP12CRealElement +/* 80326830 00323790 7C 60 1B 78 */ mr r0, r3 +lbl_80326834: +/* 80326834 00323794 7C 03 03 78 */ mr r3, r0 +/* 80326838 00323798 48 00 04 44 */ b lbl_80326C7C +lbl_8032683C: +/* 8032683C 0032379C 7F E3 FB 78 */ mr r3, r31 +/* 80326840 003237A0 4B FF FA 15 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80326844 003237A4 7C 60 1B 78 */ mr r0, r3 +/* 80326848 003237A8 7F E3 FB 78 */ mr r3, r31 +/* 8032684C 003237AC 7C 1B 03 78 */ mr r27, r0 +/* 80326850 003237B0 4B FF FA 05 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80326854 003237B4 7C 60 1B 78 */ mr r0, r3 +/* 80326858 003237B8 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 8032685C 003237BC 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80326860 003237C0 38 60 00 0C */ li r3, 0xc +/* 80326864 003237C4 7C 1C 03 78 */ mr r28, r0 +/* 80326868 003237C8 38 A0 00 00 */ li r5, 0 +/* 8032686C 003237CC 48 04 62 19 */ bl __nw__FUlPCcPCc_0 +/* 80326870 003237D0 7C 60 1B 79 */ or. r0, r3, r3 +/* 80326874 003237D4 41 82 00 14 */ beq lbl_80326888 +/* 80326878 003237D8 7F 64 DB 78 */ mr r4, r27 +/* 8032687C 003237DC 7F 85 E3 78 */ mr r5, r28 +/* 80326880 003237E0 48 00 EF 61 */ bl __ct__6CVEAddFP14CVectorElementP14CVectorElement +/* 80326884 003237E4 7C 60 1B 78 */ mr r0, r3 +lbl_80326888: +/* 80326888 003237E8 7C 03 03 78 */ mr r3, r0 +/* 8032688C 003237EC 48 00 03 F0 */ b lbl_80326C7C +lbl_80326890: +/* 80326890 003237F0 7F E3 FB 78 */ mr r3, r31 +/* 80326894 003237F4 4B FF F9 C1 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80326898 003237F8 7C 60 1B 78 */ mr r0, r3 +/* 8032689C 003237FC 7F E3 FB 78 */ mr r3, r31 +/* 803268A0 00323800 7C 1B 03 78 */ mr r27, r0 +/* 803268A4 00323804 4B FF F9 B1 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 803268A8 00323808 7C 60 1B 78 */ mr r0, r3 +/* 803268AC 0032380C 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 803268B0 00323810 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 803268B4 00323814 38 60 00 0C */ li r3, 0xc +/* 803268B8 00323818 7C 1C 03 78 */ mr r28, r0 +/* 803268BC 0032381C 38 A0 00 00 */ li r5, 0 +/* 803268C0 00323820 48 04 61 C5 */ bl __nw__FUlPCcPCc_0 +/* 803268C4 00323824 7C 60 1B 79 */ or. r0, r3, r3 +/* 803268C8 00323828 41 82 00 14 */ beq lbl_803268DC +/* 803268CC 0032382C 7F 64 DB 78 */ mr r4, r27 +/* 803268D0 00323830 7F 85 E3 78 */ mr r5, r28 +/* 803268D4 00323834 48 00 ED 49 */ bl __ct__11CVEMultiplyFP14CVectorElementP14CVectorElement +/* 803268D8 00323838 7C 60 1B 78 */ mr r0, r3 +lbl_803268DC: +/* 803268DC 0032383C 7C 03 03 78 */ mr r3, r0 +/* 803268E0 00323840 48 00 03 9C */ b lbl_80326C7C +lbl_803268E4: +/* 803268E4 00323844 7F E3 FB 78 */ mr r3, r31 +/* 803268E8 00323848 4B FF F9 6D */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 803268EC 0032384C 7C 60 1B 78 */ mr r0, r3 +/* 803268F0 00323850 7F E3 FB 78 */ mr r3, r31 +/* 803268F4 00323854 7C 1B 03 78 */ mr r27, r0 +/* 803268F8 00323858 4B FF F9 5D */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 803268FC 0032385C 7C 60 1B 78 */ mr r0, r3 +/* 80326900 00323860 7F E3 FB 78 */ mr r3, r31 +/* 80326904 00323864 7C 1C 03 78 */ mr r28, r0 +/* 80326908 00323868 48 00 12 9D */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 8032690C 0032386C 7C 60 1B 78 */ mr r0, r3 +/* 80326910 00323870 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80326914 00323874 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80326918 00323878 38 60 00 10 */ li r3, 0x10 +/* 8032691C 0032387C 7C 1D 03 78 */ mr r29, r0 +/* 80326920 00323880 38 A0 00 00 */ li r5, 0 +/* 80326924 00323884 48 04 61 61 */ bl __nw__FUlPCcPCc_0 +/* 80326928 00323888 7C 60 1B 79 */ or. r0, r3, r3 +/* 8032692C 0032388C 41 82 00 18 */ beq lbl_80326944 +/* 80326930 00323890 7F 64 DB 78 */ mr r4, r27 +/* 80326934 00323894 7F 85 E3 78 */ mr r5, r28 +/* 80326938 00323898 7F A6 EB 78 */ mr r6, r29 +/* 8032693C 0032389C 48 00 F5 65 */ bl __ct__12CVETimeChainFP14CVectorElementP14CVectorElementP11CIntElement +/* 80326940 003238A0 7C 60 1B 78 */ mr r0, r3 +lbl_80326944: +/* 80326944 003238A4 7C 03 03 78 */ mr r3, r0 +/* 80326948 003238A8 48 00 03 34 */ b lbl_80326C7C +lbl_8032694C: +/* 8032694C 003238AC 7F E3 FB 78 */ mr r3, r31 +/* 80326950 003238B0 48 00 12 55 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 80326954 003238B4 7C 60 1B 78 */ mr r0, r3 +/* 80326958 003238B8 7F E3 FB 78 */ mr r3, r31 +/* 8032695C 003238BC 7C 1B 03 78 */ mr r27, r0 +/* 80326960 003238C0 48 00 12 45 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 80326964 003238C4 7C 60 1B 78 */ mr r0, r3 +/* 80326968 003238C8 7F E3 FB 78 */ mr r3, r31 +/* 8032696C 003238CC 7C 1C 03 78 */ mr r28, r0 +/* 80326970 003238D0 4B FF F8 E5 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80326974 003238D4 7C 60 1B 78 */ mr r0, r3 +/* 80326978 003238D8 7F E3 FB 78 */ mr r3, r31 +/* 8032697C 003238DC 7C 1D 03 78 */ mr r29, r0 +/* 80326980 003238E0 4B FF F8 D5 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80326984 003238E4 7C 60 1B 78 */ mr r0, r3 +/* 80326988 003238E8 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 8032698C 003238EC 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80326990 003238F0 38 60 00 14 */ li r3, 0x14 +/* 80326994 003238F4 7C 1E 03 78 */ mr r30, r0 +/* 80326998 003238F8 38 A0 00 00 */ li r5, 0 +/* 8032699C 003238FC 48 04 60 E9 */ bl __nw__FUlPCcPCc_0 +/* 803269A0 00323900 7C 60 1B 79 */ or. r0, r3, r3 +/* 803269A4 00323904 41 82 00 1C */ beq lbl_803269C0 +/* 803269A8 00323908 7F 64 DB 78 */ mr r4, r27 +/* 803269AC 0032390C 7F 85 E3 78 */ mr r5, r28 +/* 803269B0 00323910 7F A6 EB 78 */ mr r6, r29 +/* 803269B4 00323914 7F C7 F3 78 */ mr r7, r30 +/* 803269B8 00323918 48 00 EA 99 */ bl __ct__8CVEPulseFP11CIntElementP11CIntElementP14CVectorElementP14CVectorElement +/* 803269BC 0032391C 7C 60 1B 78 */ mr r0, r3 +lbl_803269C0: +/* 803269C0 00323920 7C 03 03 78 */ mr r3, r0 +/* 803269C4 00323924 48 00 02 B8 */ b lbl_80326C7C +lbl_803269C8: +/* 803269C8 00323928 7F E3 FB 78 */ mr r3, r31 +/* 803269CC 0032392C 48 00 02 C5 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 803269D0 00323930 7C 60 1B 78 */ mr r0, r3 +/* 803269D4 00323934 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 803269D8 00323938 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 803269DC 0032393C 38 60 00 08 */ li r3, 8 +/* 803269E0 00323940 7C 1B 03 78 */ mr r27, r0 +/* 803269E4 00323944 38 A0 00 00 */ li r5, 0 +/* 803269E8 00323948 48 04 60 9D */ bl __nw__FUlPCcPCc_0 +/* 803269EC 0032394C 7C 60 1B 79 */ or. r0, r3, r3 +/* 803269F0 00323950 41 82 00 10 */ beq lbl_80326A00 +/* 803269F4 00323954 7F 64 DB 78 */ mr r4, r27 +/* 803269F8 00323958 48 00 E4 7D */ bl __ct__15CVERealToVectorFP12CRealElement +/* 803269FC 0032395C 7C 60 1B 78 */ mr r0, r3 +lbl_80326A00: +/* 80326A00 00323960 7C 03 03 78 */ mr r3, r0 +/* 80326A04 00323964 48 00 02 78 */ b lbl_80326C7C +lbl_80326A08: +/* 80326A08 00323968 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80326A0C 0032396C 38 60 00 04 */ li r3, 4 +/* 80326A10 00323970 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80326A14 00323974 38 A0 00 00 */ li r5, 0 +/* 80326A18 00323978 48 04 60 6D */ bl __nw__FUlPCcPCc_0 +/* 80326A1C 0032397C 28 03 00 00 */ cmplwi r3, 0 +/* 80326A20 00323980 41 82 02 5C */ beq lbl_80326C7C +/* 80326A24 00323984 3C 80 80 3F */ lis r4, lbl_803EC5A8@ha +/* 80326A28 00323988 3C A0 80 3F */ lis r5, lbl_803EC594@ha +/* 80326A2C 0032398C 38 04 C5 A8 */ addi r0, r4, lbl_803EC5A8@l +/* 80326A30 00323990 3C 80 80 3F */ lis r4, lbl_803EE1F0@ha +/* 80326A34 00323994 90 03 00 00 */ stw r0, 0(r3) +/* 80326A38 00323998 38 A5 C5 94 */ addi r5, r5, lbl_803EC594@l +/* 80326A3C 0032399C 38 04 E1 F0 */ addi r0, r4, lbl_803EE1F0@l +/* 80326A40 003239A0 90 A3 00 00 */ stw r5, 0(r3) +/* 80326A44 003239A4 90 03 00 00 */ stw r0, 0(r3) +/* 80326A48 003239A8 48 00 02 34 */ b lbl_80326C7C +lbl_80326A4C: +/* 80326A4C 003239AC 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80326A50 003239B0 38 60 00 04 */ li r3, 4 +/* 80326A54 003239B4 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80326A58 003239B8 38 A0 00 00 */ li r5, 0 +/* 80326A5C 003239BC 48 04 60 29 */ bl __nw__FUlPCcPCc_0 +/* 80326A60 003239C0 28 03 00 00 */ cmplwi r3, 0 +/* 80326A64 003239C4 41 82 02 18 */ beq lbl_80326C7C +/* 80326A68 003239C8 3C 80 80 3F */ lis r4, lbl_803EC5A8@ha +/* 80326A6C 003239CC 3C A0 80 3F */ lis r5, lbl_803EC594@ha +/* 80326A70 003239D0 38 04 C5 A8 */ addi r0, r4, lbl_803EC5A8@l +/* 80326A74 003239D4 3C 80 80 3F */ lis r4, lbl_803EE1DC@ha +/* 80326A78 003239D8 90 03 00 00 */ stw r0, 0(r3) +/* 80326A7C 003239DC 38 A5 C5 94 */ addi r5, r5, lbl_803EC594@l +/* 80326A80 003239E0 38 04 E1 DC */ addi r0, r4, lbl_803EE1DC@l +/* 80326A84 003239E4 90 A3 00 00 */ stw r5, 0(r3) +/* 80326A88 003239E8 90 03 00 00 */ stw r0, 0(r3) +/* 80326A8C 003239EC 48 00 01 F0 */ b lbl_80326C7C +lbl_80326A90: +/* 80326A90 003239F0 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80326A94 003239F4 38 60 00 04 */ li r3, 4 +/* 80326A98 003239F8 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80326A9C 003239FC 38 A0 00 00 */ li r5, 0 +/* 80326AA0 00323A00 48 04 5F E5 */ bl __nw__FUlPCcPCc_0 +/* 80326AA4 00323A04 28 03 00 00 */ cmplwi r3, 0 +/* 80326AA8 00323A08 41 82 01 D4 */ beq lbl_80326C7C +/* 80326AAC 00323A0C 3C 80 80 3F */ lis r4, lbl_803EC5A8@ha +/* 80326AB0 00323A10 3C A0 80 3F */ lis r5, lbl_803EC594@ha +/* 80326AB4 00323A14 38 04 C5 A8 */ addi r0, r4, lbl_803EC5A8@l +/* 80326AB8 00323A18 3C 80 80 3F */ lis r4, lbl_803EE1C8@ha +/* 80326ABC 00323A1C 90 03 00 00 */ stw r0, 0(r3) +/* 80326AC0 00323A20 38 A5 C5 94 */ addi r5, r5, lbl_803EC594@l +/* 80326AC4 00323A24 38 04 E1 C8 */ addi r0, r4, lbl_803EE1C8@l +/* 80326AC8 00323A28 90 A3 00 00 */ stw r5, 0(r3) +/* 80326ACC 00323A2C 90 03 00 00 */ stw r0, 0(r3) +/* 80326AD0 00323A30 48 00 01 AC */ b lbl_80326C7C +lbl_80326AD4: +/* 80326AD4 00323A34 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80326AD8 00323A38 38 60 00 04 */ li r3, 4 +/* 80326ADC 00323A3C 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80326AE0 00323A40 38 A0 00 00 */ li r5, 0 +/* 80326AE4 00323A44 48 04 5F A1 */ bl __nw__FUlPCcPCc_0 +/* 80326AE8 00323A48 28 03 00 00 */ cmplwi r3, 0 +/* 80326AEC 00323A4C 41 82 01 90 */ beq lbl_80326C7C +/* 80326AF0 00323A50 3C 80 80 3F */ lis r4, lbl_803EC5A8@ha +/* 80326AF4 00323A54 3C A0 80 3F */ lis r5, lbl_803EC594@ha +/* 80326AF8 00323A58 38 04 C5 A8 */ addi r0, r4, lbl_803EC5A8@l +/* 80326AFC 00323A5C 3C 80 80 3F */ lis r4, lbl_803EE1B4@ha +/* 80326B00 00323A60 90 03 00 00 */ stw r0, 0(r3) +/* 80326B04 00323A64 38 A5 C5 94 */ addi r5, r5, lbl_803EC594@l +/* 80326B08 00323A68 38 04 E1 B4 */ addi r0, r4, lbl_803EE1B4@l +/* 80326B0C 00323A6C 90 A3 00 00 */ stw r5, 0(r3) +/* 80326B10 00323A70 90 03 00 00 */ stw r0, 0(r3) +/* 80326B14 00323A74 48 00 01 68 */ b lbl_80326C7C +lbl_80326B18: +/* 80326B18 00323A78 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80326B1C 00323A7C 38 60 00 04 */ li r3, 4 +/* 80326B20 00323A80 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80326B24 00323A84 38 A0 00 00 */ li r5, 0 +/* 80326B28 00323A88 48 04 5F 5D */ bl __nw__FUlPCcPCc_0 +/* 80326B2C 00323A8C 28 03 00 00 */ cmplwi r3, 0 +/* 80326B30 00323A90 41 82 01 4C */ beq lbl_80326C7C +/* 80326B34 00323A94 3C 80 80 3F */ lis r4, lbl_803EC5A8@ha +/* 80326B38 00323A98 3C A0 80 3F */ lis r5, lbl_803EC594@ha +/* 80326B3C 00323A9C 38 04 C5 A8 */ addi r0, r4, lbl_803EC5A8@l +/* 80326B40 00323AA0 3C 80 80 3F */ lis r4, lbl_803EE1A0@ha +/* 80326B44 00323AA4 90 03 00 00 */ stw r0, 0(r3) +/* 80326B48 00323AA8 38 A5 C5 94 */ addi r5, r5, lbl_803EC594@l +/* 80326B4C 00323AAC 38 04 E1 A0 */ addi r0, r4, lbl_803EE1A0@l +/* 80326B50 00323AB0 90 A3 00 00 */ stw r5, 0(r3) +/* 80326B54 00323AB4 90 03 00 00 */ stw r0, 0(r3) +/* 80326B58 00323AB8 48 00 01 24 */ b lbl_80326C7C +lbl_80326B5C: +/* 80326B5C 00323ABC 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80326B60 00323AC0 38 60 00 04 */ li r3, 4 +/* 80326B64 00323AC4 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80326B68 00323AC8 38 A0 00 00 */ li r5, 0 +/* 80326B6C 00323ACC 48 04 5F 19 */ bl __nw__FUlPCcPCc_0 +/* 80326B70 00323AD0 28 03 00 00 */ cmplwi r3, 0 +/* 80326B74 00323AD4 41 82 01 08 */ beq lbl_80326C7C +/* 80326B78 00323AD8 3C 80 80 3F */ lis r4, lbl_803EC5A8@ha +/* 80326B7C 00323ADC 3C A0 80 3F */ lis r5, lbl_803EC594@ha +/* 80326B80 00323AE0 38 04 C5 A8 */ addi r0, r4, lbl_803EC5A8@l +/* 80326B84 00323AE4 3C 80 80 3F */ lis r4, lbl_803EE18C@ha +/* 80326B88 00323AE8 90 03 00 00 */ stw r0, 0(r3) +/* 80326B8C 00323AEC 38 A5 C5 94 */ addi r5, r5, lbl_803EC594@l +/* 80326B90 00323AF0 38 04 E1 8C */ addi r0, r4, lbl_803EE18C@l +/* 80326B94 00323AF4 90 A3 00 00 */ stw r5, 0(r3) +/* 80326B98 00323AF8 90 03 00 00 */ stw r0, 0(r3) +/* 80326B9C 00323AFC 48 00 00 E0 */ b lbl_80326C7C +lbl_80326BA0: +/* 80326BA0 00323B00 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80326BA4 00323B04 38 60 00 04 */ li r3, 4 +/* 80326BA8 00323B08 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80326BAC 00323B0C 38 A0 00 00 */ li r5, 0 +/* 80326BB0 00323B10 48 04 5E D5 */ bl __nw__FUlPCcPCc_0 +/* 80326BB4 00323B14 28 03 00 00 */ cmplwi r3, 0 +/* 80326BB8 00323B18 41 82 00 C4 */ beq lbl_80326C7C +/* 80326BBC 00323B1C 3C 80 80 3F */ lis r4, lbl_803EC5A8@ha +/* 80326BC0 00323B20 3C A0 80 3F */ lis r5, lbl_803EC594@ha +/* 80326BC4 00323B24 38 04 C5 A8 */ addi r0, r4, lbl_803EC5A8@l +/* 80326BC8 00323B28 3C 80 80 3F */ lis r4, lbl_803EE178@ha +/* 80326BCC 00323B2C 90 03 00 00 */ stw r0, 0(r3) +/* 80326BD0 00323B30 38 A5 C5 94 */ addi r5, r5, lbl_803EC594@l +/* 80326BD4 00323B34 38 04 E1 78 */ addi r0, r4, lbl_803EE178@l +/* 80326BD8 00323B38 90 A3 00 00 */ stw r5, 0(r3) +/* 80326BDC 00323B3C 90 03 00 00 */ stw r0, 0(r3) +/* 80326BE0 00323B40 48 00 00 9C */ b lbl_80326C7C +lbl_80326BE4: +/* 80326BE4 00323B44 7F E3 FB 78 */ mr r3, r31 +/* 80326BE8 00323B48 4B FF F6 6D */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80326BEC 00323B4C 7C 60 1B 78 */ mr r0, r3 +/* 80326BF0 00323B50 7F E3 FB 78 */ mr r3, r31 +/* 80326BF4 00323B54 7C 1B 03 78 */ mr r27, r0 +/* 80326BF8 00323B58 4B FF F6 5D */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80326BFC 00323B5C 7C 60 1B 78 */ mr r0, r3 +/* 80326C00 00323B60 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80326C04 00323B64 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80326C08 00323B68 38 60 00 0C */ li r3, 0xc +/* 80326C0C 00323B6C 7C 1C 03 78 */ mr r28, r0 +/* 80326C10 00323B70 38 A0 00 00 */ li r5, 0 +/* 80326C14 00323B74 48 04 5E 71 */ bl __nw__FUlPCcPCc_0 +/* 80326C18 00323B78 7C 60 1B 79 */ or. r0, r3, r3 +/* 80326C1C 00323B7C 41 82 00 14 */ beq lbl_80326C30 +/* 80326C20 00323B80 7F 64 DB 78 */ mr r4, r27 +/* 80326C24 00323B84 7F 85 E3 78 */ mr r5, r28 +/* 80326C28 00323B88 48 00 DF 45 */ bl __ct__10CVESubractFP14CVectorElementP14CVectorElement +/* 80326C2C 00323B8C 7C 60 1B 78 */ mr r0, r3 +lbl_80326C30: +/* 80326C30 00323B90 7C 03 03 78 */ mr r3, r0 +/* 80326C34 00323B94 48 00 00 48 */ b lbl_80326C7C +lbl_80326C38: +/* 80326C38 00323B98 7F E3 FB 78 */ mr r3, r31 +/* 80326C3C 00323B9C 4B FF E6 21 */ bl GetColorElement__20CParticleDataFactoryFR12CInputStream +/* 80326C40 00323BA0 7C 60 1B 78 */ mr r0, r3 +/* 80326C44 00323BA4 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80326C48 00323BA8 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80326C4C 00323BAC 38 60 00 08 */ li r3, 8 +/* 80326C50 00323BB0 7C 1B 03 78 */ mr r27, r0 +/* 80326C54 00323BB4 38 A0 00 00 */ li r5, 0 +/* 80326C58 00323BB8 48 04 5E 2D */ bl __nw__FUlPCcPCc_0 +/* 80326C5C 00323BBC 7C 60 1B 79 */ or. r0, r3, r3 +/* 80326C60 00323BC0 41 82 00 10 */ beq lbl_80326C70 +/* 80326C64 00323BC4 7F 64 DB 78 */ mr r4, r27 +/* 80326C68 00323BC8 48 00 DD 45 */ bl __ct__7CVECTVCFP13CColorElement +/* 80326C6C 00323BCC 7C 60 1B 78 */ mr r0, r3 +lbl_80326C70: +/* 80326C70 00323BD0 7C 03 03 78 */ mr r3, r0 +/* 80326C74 00323BD4 48 00 00 08 */ b lbl_80326C7C +lbl_80326C78: +/* 80326C78 00323BD8 38 60 00 00 */ li r3, 0 +lbl_80326C7C: +/* 80326C7C 00323BDC BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 80326C80 00323BE0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80326C84 00323BE4 7C 08 03 A6 */ mtlr r0 +/* 80326C88 00323BE8 38 21 00 30 */ addi r1, r1, 0x30 +/* 80326C8C 00323BEC 4E 80 00 20 */ blr + +.global GetRealElement__20CParticleDataFactoryFR12CInputStream +GetRealElement__20CParticleDataFactoryFR12CInputStream: +/* 80326C90 00323BF0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80326C94 00323BF4 7C 08 02 A6 */ mflr r0 +/* 80326C98 00323BF8 90 01 00 24 */ stw r0, 0x24(r1) +/* 80326C9C 00323BFC BF 61 00 0C */ stmw r27, 0xc(r1) +/* 80326CA0 00323C00 7C 7F 1B 78 */ mr r31, r3 +/* 80326CA4 00323C04 48 00 17 B9 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream +/* 80326CA8 00323C08 3C 80 4D 55 */ lis r4, 0x4D554C54@ha +/* 80326CAC 00323C0C 38 04 4C 54 */ addi r0, r4, 0x4D554C54@l +/* 80326CB0 00323C10 7C 03 00 00 */ cmpw r3, r0 +/* 80326CB4 00323C14 41 82 04 3C */ beq lbl_803270F0 +/* 80326CB8 00323C18 40 80 01 68 */ bge lbl_80326E20 +/* 80326CBC 00323C1C 3C A0 47 54 */ lis r5, 0x47544341@ha +/* 80326CC0 00323C20 38 05 43 41 */ addi r0, r5, 0x47544341@l +/* 80326CC4 00323C24 7C 03 00 00 */ cmpw r3, r0 +/* 80326CC8 00323C28 41 82 0E 84 */ beq lbl_80327B4C +/* 80326CCC 00323C2C 40 80 00 B0 */ bge lbl_80326D7C +/* 80326CD0 00323C30 3C A0 43 4C */ lis r5, 0x434C4D50@ha +/* 80326CD4 00323C34 38 05 4D 50 */ addi r0, r5, 0x434C4D50@l +/* 80326CD8 00323C38 7C 03 00 00 */ cmpw r3, r0 +/* 80326CDC 00323C3C 41 82 05 CC */ beq lbl_803272A8 +/* 80326CE0 00323C40 40 80 00 50 */ bge lbl_80326D30 +/* 80326CE4 00323C44 3C 80 43 45 */ lis r4, 0x43455854@ha +/* 80326CE8 00323C48 38 04 58 54 */ addi r0, r4, 0x43455854@l +/* 80326CEC 00323C4C 7C 03 00 00 */ cmpw r3, r0 +/* 80326CF0 00323C50 41 82 0C B4 */ beq lbl_803279A4 +/* 80326CF4 00323C54 40 80 00 28 */ bge lbl_80326D1C +/* 80326CF8 00323C58 38 04 51 4C */ addi r0, r4, 0x514c +/* 80326CFC 00323C5C 7C 03 00 00 */ cmpw r3, r0 +/* 80326D00 00323C60 41 82 0B 98 */ beq lbl_80327898 +/* 80326D04 00323C64 40 80 0E 88 */ bge lbl_80327B8C +/* 80326D08 00323C68 3C 80 41 44 */ lis r4, 0x4144445F@ha +/* 80326D0C 00323C6C 38 04 44 5F */ addi r0, r4, 0x4144445F@l +/* 80326D10 00323C70 7C 03 00 00 */ cmpw r3, r0 +/* 80326D14 00323C74 41 82 03 88 */ beq lbl_8032709C +/* 80326D18 00323C78 48 00 0E 74 */ b lbl_80327B8C +lbl_80326D1C: +/* 80326D1C 00323C7C 3C 80 43 48 */ lis r4, 0x4348414E@ha +/* 80326D20 00323C80 38 04 41 4E */ addi r0, r4, 0x4348414E@l +/* 80326D24 00323C84 7C 03 00 00 */ cmpw r3, r0 +/* 80326D28 00323C88 41 82 05 18 */ beq lbl_80327240 +/* 80326D2C 00323C8C 48 00 0E 60 */ b lbl_80327B8C +lbl_80326D30: +/* 80326D30 00323C90 3C 80 43 52 */ lis r4, 0x43524E47@ha +/* 80326D34 00323C94 38 04 4E 47 */ addi r0, r4, 0x43524E47@l +/* 80326D38 00323C98 7C 03 00 00 */ cmpw r3, r0 +/* 80326D3C 00323C9C 41 82 0B D8 */ beq lbl_80327914 +/* 80326D40 00323CA0 40 80 00 28 */ bge lbl_80326D68 +/* 80326D44 00323CA4 3C 80 43 4E */ lis r4, 0x434E5354@ha +/* 80326D48 00323CA8 38 04 53 54 */ addi r0, r4, 0x434E5354@l +/* 80326D4C 00323CAC 7C 03 00 00 */ cmpw r3, r0 +/* 80326D50 00323CB0 41 82 02 38 */ beq lbl_80326F88 +/* 80326D54 00323CB4 40 80 0E 38 */ bge lbl_80327B8C +/* 80326D58 00323CB8 38 05 54 4E */ addi r0, r5, 0x544e +/* 80326D5C 00323CBC 7C 03 00 00 */ cmpw r3, r0 +/* 80326D60 00323CC0 41 82 0A BC */ beq lbl_8032781C +/* 80326D64 00323CC4 48 00 0E 28 */ b lbl_80327B8C +lbl_80326D68: +/* 80326D68 00323CC8 3C 80 44 4F */ lis r4, 0x444F5450@ha +/* 80326D6C 00323CCC 38 04 54 50 */ addi r0, r4, 0x444F5450@l +/* 80326D70 00323CD0 7C 03 00 00 */ cmpw r3, r0 +/* 80326D74 00323CD4 41 82 03 D0 */ beq lbl_80327144 +/* 80326D78 00323CD8 48 00 0E 14 */ b lbl_80327B8C +lbl_80326D7C: +/* 80326D7C 00323CDC 3C 80 49 53 */ lis r4, 0x49535754@ha +/* 80326D80 00323CE0 38 04 57 54 */ addi r0, r4, 0x49535754@l +/* 80326D84 00323CE4 7C 03 00 00 */ cmpw r3, r0 +/* 80326D88 00323CE8 41 82 0A 40 */ beq lbl_803277C8 +/* 80326D8C 00323CEC 40 80 00 48 */ bge lbl_80326DD4 +/* 80326D90 00323CF0 38 05 43 52 */ addi r0, r5, 0x4352 +/* 80326D94 00323CF4 7C 03 00 00 */ cmpw r3, r0 +/* 80326D98 00323CF8 41 82 0C F4 */ beq lbl_80327A8C +/* 80326D9C 00323CFC 40 80 00 24 */ bge lbl_80326DC0 +/* 80326DA0 00323D00 38 05 43 47 */ addi r0, r5, 0x4347 +/* 80326DA4 00323D04 7C 03 00 00 */ cmpw r3, r0 +/* 80326DA8 00323D08 41 82 0D 24 */ beq lbl_80327ACC +/* 80326DAC 00323D0C 40 80 0D E0 */ bge lbl_80327B8C +/* 80326DB0 00323D10 38 05 43 43 */ addi r0, r5, 0x4343 +/* 80326DB4 00323D14 7C 03 00 00 */ cmpw r3, r0 +/* 80326DB8 00323D18 40 80 0D D4 */ bge lbl_80327B8C +/* 80326DBC 00323D1C 48 00 0D 50 */ b lbl_80327B0C +lbl_80326DC0: +/* 80326DC0 00323D20 3C 80 49 52 */ lis r4, 0x49524E44@ha +/* 80326DC4 00323D24 38 04 4E 44 */ addi r0, r4, 0x49524E44@l +/* 80326DC8 00323D28 7C 03 00 00 */ cmpw r3, r0 +/* 80326DCC 00323D2C 41 82 04 20 */ beq lbl_803271EC +/* 80326DD0 00323D30 48 00 0D BC */ b lbl_80327B8C +lbl_80326DD4: +/* 80326DD4 00323D34 3C 80 4B 45 */ lis r4, 0x4B455950@ha +/* 80326DD8 00323D38 38 04 59 50 */ addi r0, r4, 0x4B455950@l +/* 80326DDC 00323D3C 7C 03 00 00 */ cmpw r3, r0 +/* 80326DE0 00323D40 41 82 01 E8 */ beq lbl_80326FC8 +/* 80326DE4 00323D44 40 80 00 28 */ bge lbl_80326E0C +/* 80326DE8 00323D48 38 04 59 45 */ addi r0, r4, 0x5945 +/* 80326DEC 00323D4C 7C 03 00 00 */ cmpw r3, r0 +/* 80326DF0 00323D50 41 82 01 D8 */ beq lbl_80326FC8 +/* 80326DF4 00323D54 40 80 0D 98 */ bge lbl_80327B8C +/* 80326DF8 00323D58 3C 80 49 54 */ lis r4, 0x4954524C@ha +/* 80326DFC 00323D5C 38 04 52 4C */ addi r0, r4, 0x4954524C@l +/* 80326E00 00323D60 7C 03 00 00 */ cmpw r3, r0 +/* 80326E04 00323D64 41 82 0B E0 */ beq lbl_803279E4 +/* 80326E08 00323D68 48 00 0D 84 */ b lbl_80327B8C +lbl_80326E0C: +/* 80326E0C 00323D6C 3C 80 4C 46 */ lis r4, 0x4C465457@ha +/* 80326E10 00323D70 38 04 54 57 */ addi r0, r4, 0x4C465457@l +/* 80326E14 00323D74 7C 03 00 00 */ cmpw r3, r0 +/* 80326E18 00323D78 41 82 05 B4 */ beq lbl_803273CC +/* 80326E1C 00323D7C 48 00 0D 70 */ b lbl_80327B8C +lbl_80326E20: +/* 80326E20 00323D80 3C 80 52 41 */ lis r4, 0x52414E44@ha +/* 80326E24 00323D84 38 04 4E 44 */ addi r0, r4, 0x52414E44@l +/* 80326E28 00323D88 7C 03 00 00 */ cmpw r3, r0 +/* 80326E2C 00323D8C 41 82 03 6C */ beq lbl_80327198 +/* 80326E30 00323D90 40 80 00 B8 */ bge lbl_80326EE8 +/* 80326E34 00323D94 3C A0 50 41 */ lis r5, 0x50415037@ha +/* 80326E38 00323D98 38 05 50 37 */ addi r0, r5, 0x50415037@l +/* 80326E3C 00323D9C 7C 03 00 00 */ cmpw r3, r0 +/* 80326E40 00323DA0 41 82 08 00 */ beq lbl_80327640 +/* 80326E44 00323DA4 40 80 00 58 */ bge lbl_80326E9C +/* 80326E48 00323DA8 38 05 50 32 */ addi r0, r5, 0x5032 +/* 80326E4C 00323DAC 7C 03 00 00 */ cmpw r3, r0 +/* 80326E50 00323DB0 41 82 06 9C */ beq lbl_803274EC +/* 80326E54 00323DB4 40 80 00 28 */ bge lbl_80326E7C +/* 80326E58 00323DB8 3C 80 4E 4F */ lis r4, 0x4E4F4E45@ha +/* 80326E5C 00323DBC 38 04 4E 45 */ addi r0, r4, 0x4E4F4E45@l +/* 80326E60 00323DC0 7C 03 00 00 */ cmpw r3, r0 +/* 80326E64 00323DC4 41 82 01 5C */ beq lbl_80326FC0 +/* 80326E68 00323DC8 41 80 0D 24 */ blt lbl_80327B8C +/* 80326E6C 00323DCC 38 05 50 31 */ addi r0, r5, 0x5031 +/* 80326E70 00323DD0 7C 03 00 00 */ cmpw r3, r0 +/* 80326E74 00323DD4 40 80 06 34 */ bge lbl_803274A8 +/* 80326E78 00323DD8 48 00 0D 14 */ b lbl_80327B8C +lbl_80326E7C: +/* 80326E7C 00323DDC 38 05 50 35 */ addi r0, r5, 0x5035 +/* 80326E80 00323DE0 7C 03 00 00 */ cmpw r3, r0 +/* 80326E84 00323DE4 41 82 07 34 */ beq lbl_803275B8 +/* 80326E88 00323DE8 40 80 07 74 */ bge lbl_803275FC +/* 80326E8C 00323DEC 38 05 50 34 */ addi r0, r5, 0x5034 +/* 80326E90 00323DF0 7C 03 00 00 */ cmpw r3, r0 +/* 80326E94 00323DF4 40 80 06 E0 */ bge lbl_80327574 +/* 80326E98 00323DF8 48 00 06 98 */ b lbl_80327530 +lbl_80326E9C: +/* 80326E9C 00323DFC 3C 80 50 53 */ lis r4, 0x50534C4C@ha +/* 80326EA0 00323E00 38 04 4C 4C */ addi r0, r4, 0x50534C4C@l +/* 80326EA4 00323E04 7C 03 00 00 */ cmpw r3, r0 +/* 80326EA8 00323E08 41 82 05 BC */ beq lbl_80327464 +/* 80326EAC 00323E0C 40 80 00 28 */ bge lbl_80326ED4 +/* 80326EB0 00323E10 3C 80 50 52 */ lis r4, 0x50524C57@ha +/* 80326EB4 00323E14 38 04 4C 57 */ addi r0, r4, 0x50524C57@l +/* 80326EB8 00323E18 7C 03 00 00 */ cmpw r3, r0 +/* 80326EBC 00323E1C 41 82 05 64 */ beq lbl_80327420 +/* 80326EC0 00323E20 40 80 0C CC */ bge lbl_80327B8C +/* 80326EC4 00323E24 38 05 50 39 */ addi r0, r5, 0x5039 +/* 80326EC8 00323E28 7C 03 00 00 */ cmpw r3, r0 +/* 80326ECC 00323E2C 40 80 0C C0 */ bge lbl_80327B8C +/* 80326ED0 00323E30 48 00 07 B4 */ b lbl_80327684 +lbl_80326ED4: +/* 80326ED4 00323E34 3C 80 50 55 */ lis r4, 0x50554C53@ha +/* 80326ED8 00323E38 38 04 4C 53 */ addi r0, r4, 0x50554C53@l +/* 80326EDC 00323E3C 7C 03 00 00 */ cmpw r3, r0 +/* 80326EE0 00323E40 41 82 04 30 */ beq lbl_80327310 +/* 80326EE4 00323E44 48 00 0C A8 */ b lbl_80327B8C +lbl_80326EE8: +/* 80326EE8 00323E48 3C 80 56 4D */ lis r4, 0x564D4147@ha +/* 80326EEC 00323E4C 38 04 41 47 */ addi r0, r4, 0x564D4147@l +/* 80326EF0 00323E50 7C 03 00 00 */ cmpw r3, r0 +/* 80326EF4 00323E54 41 82 08 94 */ beq lbl_80327788 +/* 80326EF8 00323E58 40 80 00 54 */ bge lbl_80326F4C +/* 80326EFC 00323E5C 3C 80 53 49 */ lis r4, 0x53494E45@ha +/* 80326F00 00323E60 38 04 4E 45 */ addi r0, r4, 0x53494E45@l +/* 80326F04 00323E64 7C 03 00 00 */ cmpw r3, r0 +/* 80326F08 00323E68 41 82 01 2C */ beq lbl_80327034 +/* 80326F0C 00323E6C 40 80 00 2C */ bge lbl_80326F38 +/* 80326F10 00323E70 3C 80 53 43 */ lis r4, 0x5343414C@ha +/* 80326F14 00323E74 38 04 41 4C */ addi r0, r4, 0x5343414C@l +/* 80326F18 00323E78 7C 03 00 00 */ cmpw r3, r0 +/* 80326F1C 00323E7C 41 82 00 DC */ beq lbl_80326FF8 +/* 80326F20 00323E80 40 80 0C 6C */ bge lbl_80327B8C +/* 80326F24 00323E84 3C 80 52 4C */ lis r4, 0x524C5054@ha +/* 80326F28 00323E88 38 04 50 54 */ addi r0, r4, 0x524C5054@l +/* 80326F2C 00323E8C 7C 03 00 00 */ cmpw r3, r0 +/* 80326F30 00323E90 41 82 04 5C */ beq lbl_8032738C +/* 80326F34 00323E94 48 00 0C 58 */ b lbl_80327B8C +lbl_80326F38: +/* 80326F38 00323E98 3C 80 53 55 */ lis r4, 0x5355425F@ha +/* 80326F3C 00323E9C 38 04 42 5F */ addi r0, r4, 0x5355425F@l +/* 80326F40 00323EA0 7C 03 00 00 */ cmpw r3, r0 +/* 80326F44 00323EA4 41 82 0A F4 */ beq lbl_80327A38 +/* 80326F48 00323EA8 48 00 0C 44 */ b lbl_80327B8C +lbl_80326F4C: +/* 80326F4C 00323EAC 3C 80 56 59 */ lis r4, 0x56595452@ha +/* 80326F50 00323EB0 38 04 54 52 */ addi r0, r4, 0x56595452@l +/* 80326F54 00323EB4 7C 03 00 00 */ cmpw r3, r0 +/* 80326F58 00323EB8 41 82 07 B0 */ beq lbl_80327708 +/* 80326F5C 00323EBC 40 80 00 18 */ bge lbl_80326F74 +/* 80326F60 00323EC0 3C 80 56 58 */ lis r4, 0x56585452@ha +/* 80326F64 00323EC4 38 04 54 52 */ addi r0, r4, 0x56585452@l +/* 80326F68 00323EC8 7C 03 00 00 */ cmpw r3, r0 +/* 80326F6C 00323ECC 41 82 07 5C */ beq lbl_803276C8 +/* 80326F70 00323ED0 48 00 0C 1C */ b lbl_80327B8C +lbl_80326F74: +/* 80326F74 00323ED4 3C 80 56 5A */ lis r4, 0x565A5452@ha +/* 80326F78 00323ED8 38 04 54 52 */ addi r0, r4, 0x565A5452@l +/* 80326F7C 00323EDC 7C 03 00 00 */ cmpw r3, r0 +/* 80326F80 00323EE0 41 82 07 C8 */ beq lbl_80327748 +/* 80326F84 00323EE4 48 00 0C 08 */ b lbl_80327B8C +lbl_80326F88: +/* 80326F88 00323EE8 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80326F8C 00323EEC 38 60 00 08 */ li r3, 8 +/* 80326F90 00323EF0 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80326F94 00323EF4 38 A0 00 00 */ li r5, 0 +/* 80326F98 00323EF8 48 04 5A ED */ bl __nw__FUlPCcPCc_0 +/* 80326F9C 00323EFC 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80326FA0 00323F00 41 82 00 18 */ beq lbl_80326FB8 +/* 80326FA4 00323F04 7F E3 FB 78 */ mr r3, r31 +/* 80326FA8 00323F08 48 00 14 41 */ bl GetReal__20CParticleDataFactoryFR12CInputStream +/* 80326FAC 00323F0C 7F C3 F3 78 */ mr r3, r30 +/* 80326FB0 00323F10 48 00 C0 1D */ bl __ct__11CREConstantFf +/* 80326FB4 00323F14 7C 7E 1B 78 */ mr r30, r3 +lbl_80326FB8: +/* 80326FB8 00323F18 7F C3 F3 78 */ mr r3, r30 +/* 80326FBC 00323F1C 48 00 0B D4 */ b lbl_80327B90 +lbl_80326FC0: +/* 80326FC0 00323F20 38 60 00 00 */ li r3, 0 +/* 80326FC4 00323F24 48 00 0B CC */ b lbl_80327B90 +lbl_80326FC8: +/* 80326FC8 00323F28 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80326FCC 00323F2C 38 60 00 28 */ li r3, 0x28 +/* 80326FD0 00323F30 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80326FD4 00323F34 38 A0 00 00 */ li r5, 0 +/* 80326FD8 00323F38 48 04 5A AD */ bl __nw__FUlPCcPCc_0 +/* 80326FDC 00323F3C 7C 60 1B 79 */ or. r0, r3, r3 +/* 80326FE0 00323F40 41 82 00 10 */ beq lbl_80326FF0 +/* 80326FE4 00323F44 7F E4 FB 78 */ mr r4, r31 +/* 80326FE8 00323F48 48 00 AA 49 */ bl __ct__18CREKeyframeEmitterFR12CInputStream +/* 80326FEC 00323F4C 7C 60 1B 78 */ mr r0, r3 +lbl_80326FF0: +/* 80326FF0 00323F50 7C 03 03 78 */ mr r3, r0 +/* 80326FF4 00323F54 48 00 0B 9C */ b lbl_80327B90 +lbl_80326FF8: +/* 80326FF8 00323F58 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80326FFC 00323F5C 38 60 00 08 */ li r3, 8 +/* 80327000 00323F60 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80327004 00323F64 38 A0 00 00 */ li r5, 0 +/* 80327008 00323F68 48 04 5A 7D */ bl __nw__FUlPCcPCc_0 +/* 8032700C 00323F6C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80327010 00323F70 41 82 00 1C */ beq lbl_8032702C +/* 80327014 00323F74 7F E3 FB 78 */ mr r3, r31 +/* 80327018 00323F78 4B FF FC 79 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 8032701C 00323F7C 7C 64 1B 78 */ mr r4, r3 +/* 80327020 00323F80 7F C3 F3 78 */ mr r3, r30 +/* 80327024 00323F84 48 00 BD 11 */ bl __ct__12CRETimeScaleFP12CRealElement +/* 80327028 00323F88 7C 7E 1B 78 */ mr r30, r3 +lbl_8032702C: +/* 8032702C 00323F8C 7F C3 F3 78 */ mr r3, r30 +/* 80327030 00323F90 48 00 0B 60 */ b lbl_80327B90 +lbl_80327034: +/* 80327034 00323F94 7F E3 FB 78 */ mr r3, r31 +/* 80327038 00323F98 4B FF FC 59 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 8032703C 00323F9C 7C 60 1B 78 */ mr r0, r3 +/* 80327040 00323FA0 7F E3 FB 78 */ mr r3, r31 +/* 80327044 00323FA4 7C 1E 03 78 */ mr r30, r0 +/* 80327048 00323FA8 4B FF FC 49 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 8032704C 00323FAC 7C 60 1B 78 */ mr r0, r3 +/* 80327050 00323FB0 7F E3 FB 78 */ mr r3, r31 +/* 80327054 00323FB4 7C 1F 03 78 */ mr r31, r0 +/* 80327058 00323FB8 4B FF FC 39 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 8032705C 00323FBC 7C 60 1B 78 */ mr r0, r3 +/* 80327060 00323FC0 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80327064 00323FC4 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80327068 00323FC8 38 60 00 10 */ li r3, 0x10 +/* 8032706C 00323FCC 7C 1D 03 78 */ mr r29, r0 +/* 80327070 00323FD0 38 A0 00 00 */ li r5, 0 +/* 80327074 00323FD4 48 04 5A 11 */ bl __nw__FUlPCcPCc_0 +/* 80327078 00323FD8 7C 60 1B 79 */ or. r0, r3, r3 +/* 8032707C 00323FDC 41 82 00 18 */ beq lbl_80327094 +/* 80327080 00323FE0 7F A4 EB 78 */ mr r4, r29 +/* 80327084 00323FE4 7F C5 F3 78 */ mr r5, r30 +/* 80327088 00323FE8 7F E6 FB 78 */ mr r6, r31 +/* 8032708C 00323FEC 48 00 BE 8D */ bl __ct__11CRESineWaveFP12CRealElementP12CRealElementP12CRealElement +/* 80327090 00323FF0 7C 60 1B 78 */ mr r0, r3 +lbl_80327094: +/* 80327094 00323FF4 7C 03 03 78 */ mr r3, r0 +/* 80327098 00323FF8 48 00 0A F8 */ b lbl_80327B90 +lbl_8032709C: +/* 8032709C 00323FFC 7F E3 FB 78 */ mr r3, r31 +/* 803270A0 00324000 4B FF FB F1 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 803270A4 00324004 7C 60 1B 78 */ mr r0, r3 +/* 803270A8 00324008 7F E3 FB 78 */ mr r3, r31 +/* 803270AC 0032400C 7C 1D 03 78 */ mr r29, r0 +/* 803270B0 00324010 4B FF FB E1 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 803270B4 00324014 7C 60 1B 78 */ mr r0, r3 +/* 803270B8 00324018 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 803270BC 0032401C 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 803270C0 00324020 38 60 00 0C */ li r3, 0xc +/* 803270C4 00324024 7C 1E 03 78 */ mr r30, r0 +/* 803270C8 00324028 38 A0 00 00 */ li r5, 0 +/* 803270CC 0032402C 48 04 59 B9 */ bl __nw__FUlPCcPCc_0 +/* 803270D0 00324030 7C 60 1B 79 */ or. r0, r3, r3 +/* 803270D4 00324034 41 82 00 14 */ beq lbl_803270E8 +/* 803270D8 00324038 7F A4 EB 78 */ mr r4, r29 +/* 803270DC 0032403C 7F C5 F3 78 */ mr r5, r30 +/* 803270E0 00324040 48 00 BB 0D */ bl __ct__6CREAddFP12CRealElementP12CRealElement +/* 803270E4 00324044 7C 60 1B 78 */ mr r0, r3 +lbl_803270E8: +/* 803270E8 00324048 7C 03 03 78 */ mr r3, r0 +/* 803270EC 0032404C 48 00 0A A4 */ b lbl_80327B90 +lbl_803270F0: +/* 803270F0 00324050 7F E3 FB 78 */ mr r3, r31 +/* 803270F4 00324054 4B FF FB 9D */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 803270F8 00324058 7C 60 1B 78 */ mr r0, r3 +/* 803270FC 0032405C 7F E3 FB 78 */ mr r3, r31 +/* 80327100 00324060 7C 1D 03 78 */ mr r29, r0 +/* 80327104 00324064 4B FF FB 8D */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80327108 00324068 7C 60 1B 78 */ mr r0, r3 +/* 8032710C 0032406C 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80327110 00324070 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80327114 00324074 38 60 00 0C */ li r3, 0xc +/* 80327118 00324078 7C 1E 03 78 */ mr r30, r0 +/* 8032711C 0032407C 38 A0 00 00 */ li r5, 0 +/* 80327120 00324080 48 04 59 65 */ bl __nw__FUlPCcPCc_0 +/* 80327124 00324084 7C 60 1B 79 */ or. r0, r3, r3 +/* 80327128 00324088 41 82 00 14 */ beq lbl_8032713C +/* 8032712C 0032408C 7F A4 EB 78 */ mr r4, r29 +/* 80327130 00324090 7F C5 F3 78 */ mr r5, r30 +/* 80327134 00324094 48 00 B9 41 */ bl __ct__11CREMultiplyFP12CRealElementP12CRealElement +/* 80327138 00324098 7C 60 1B 78 */ mr r0, r3 +lbl_8032713C: +/* 8032713C 0032409C 7C 03 03 78 */ mr r3, r0 +/* 80327140 003240A0 48 00 0A 50 */ b lbl_80327B90 +lbl_80327144: +/* 80327144 003240A4 7F E3 FB 78 */ mr r3, r31 +/* 80327148 003240A8 4B FF F1 0D */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 8032714C 003240AC 7C 60 1B 78 */ mr r0, r3 +/* 80327150 003240B0 7F E3 FB 78 */ mr r3, r31 +/* 80327154 003240B4 7C 1D 03 78 */ mr r29, r0 +/* 80327158 003240B8 4B FF F0 FD */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 8032715C 003240BC 7C 60 1B 78 */ mr r0, r3 +/* 80327160 003240C0 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80327164 003240C4 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80327168 003240C8 38 60 00 0C */ li r3, 0xc +/* 8032716C 003240CC 7C 1E 03 78 */ mr r30, r0 +/* 80327170 003240D0 38 A0 00 00 */ li r5, 0 +/* 80327174 003240D4 48 04 59 11 */ bl __nw__FUlPCcPCc_0 +/* 80327178 003240D8 7C 60 1B 79 */ or. r0, r3, r3 +/* 8032717C 003240DC 41 82 00 14 */ beq lbl_80327190 +/* 80327180 003240E0 7F A4 EB 78 */ mr r4, r29 +/* 80327184 003240E4 7F C5 F3 78 */ mr r5, r30 +/* 80327188 003240E8 48 00 B7 75 */ bl __ct__13CREDotProductFP14CVectorElementP14CVectorElement +/* 8032718C 003240EC 7C 60 1B 78 */ mr r0, r3 +lbl_80327190: +/* 80327190 003240F0 7C 03 03 78 */ mr r3, r0 +/* 80327194 003240F4 48 00 09 FC */ b lbl_80327B90 +lbl_80327198: +/* 80327198 003240F8 7F E3 FB 78 */ mr r3, r31 +/* 8032719C 003240FC 4B FF FA F5 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 803271A0 00324100 7C 60 1B 78 */ mr r0, r3 +/* 803271A4 00324104 7F E3 FB 78 */ mr r3, r31 +/* 803271A8 00324108 7C 1D 03 78 */ mr r29, r0 +/* 803271AC 0032410C 4B FF FA E5 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 803271B0 00324110 7C 60 1B 78 */ mr r0, r3 +/* 803271B4 00324114 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 803271B8 00324118 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 803271BC 0032411C 38 60 00 0C */ li r3, 0xc +/* 803271C0 00324120 7C 1E 03 78 */ mr r30, r0 +/* 803271C4 00324124 38 A0 00 00 */ li r5, 0 +/* 803271C8 00324128 48 04 58 BD */ bl __nw__FUlPCcPCc_0 +/* 803271CC 0032412C 7C 60 1B 79 */ or. r0, r3, r3 +/* 803271D0 00324130 41 82 00 14 */ beq lbl_803271E4 +/* 803271D4 00324134 7F A4 EB 78 */ mr r4, r29 +/* 803271D8 00324138 7F C5 F3 78 */ mr r5, r30 +/* 803271DC 0032413C 48 00 B5 65 */ bl __ct__9CRERandomFP12CRealElementP12CRealElement +/* 803271E0 00324140 7C 60 1B 78 */ mr r0, r3 +lbl_803271E4: +/* 803271E4 00324144 7C 03 03 78 */ mr r3, r0 +/* 803271E8 00324148 48 00 09 A8 */ b lbl_80327B90 +lbl_803271EC: +/* 803271EC 0032414C 7F E3 FB 78 */ mr r3, r31 +/* 803271F0 00324150 4B FF FA A1 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 803271F4 00324154 7C 60 1B 78 */ mr r0, r3 +/* 803271F8 00324158 7F E3 FB 78 */ mr r3, r31 +/* 803271FC 0032415C 7C 1D 03 78 */ mr r29, r0 +/* 80327200 00324160 4B FF FA 91 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80327204 00324164 7C 60 1B 78 */ mr r0, r3 +/* 80327208 00324168 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 8032720C 0032416C 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80327210 00324170 38 60 00 0C */ li r3, 0xc +/* 80327214 00324174 7C 1E 03 78 */ mr r30, r0 +/* 80327218 00324178 38 A0 00 00 */ li r5, 0 +/* 8032721C 0032417C 48 04 58 69 */ bl __nw__FUlPCcPCc_0 +/* 80327220 00324180 7C 60 1B 79 */ or. r0, r3, r3 +/* 80327224 00324184 41 82 00 14 */ beq lbl_80327238 +/* 80327228 00324188 7F A4 EB 78 */ mr r4, r29 +/* 8032722C 0032418C 7F C5 F3 78 */ mr r5, r30 +/* 80327230 00324190 48 00 B3 7D */ bl __ct__16CREInitialRandomFC12CRealElementC12CRealElement +/* 80327234 00324194 7C 60 1B 78 */ mr r0, r3 +lbl_80327238: +/* 80327238 00324198 7C 03 03 78 */ mr r3, r0 +/* 8032723C 0032419C 48 00 09 54 */ b lbl_80327B90 +lbl_80327240: +/* 80327240 003241A0 7F E3 FB 78 */ mr r3, r31 +/* 80327244 003241A4 4B FF FA 4D */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80327248 003241A8 7C 60 1B 78 */ mr r0, r3 +/* 8032724C 003241AC 7F E3 FB 78 */ mr r3, r31 +/* 80327250 003241B0 7C 1D 03 78 */ mr r29, r0 +/* 80327254 003241B4 4B FF FA 3D */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80327258 003241B8 7C 60 1B 78 */ mr r0, r3 +/* 8032725C 003241BC 7F E3 FB 78 */ mr r3, r31 +/* 80327260 003241C0 7C 1E 03 78 */ mr r30, r0 +/* 80327264 003241C4 48 00 09 41 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 80327268 003241C8 7C 60 1B 78 */ mr r0, r3 +/* 8032726C 003241CC 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80327270 003241D0 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80327274 003241D4 38 60 00 10 */ li r3, 0x10 +/* 80327278 003241D8 7C 1F 03 78 */ mr r31, r0 +/* 8032727C 003241DC 38 A0 00 00 */ li r5, 0 +/* 80327280 003241E0 48 04 58 05 */ bl __nw__FUlPCcPCc_0 +/* 80327284 003241E4 7C 60 1B 79 */ or. r0, r3, r3 +/* 80327288 003241E8 41 82 00 18 */ beq lbl_803272A0 +/* 8032728C 003241EC 7F A4 EB 78 */ mr r4, r29 +/* 80327290 003241F0 7F C5 F3 78 */ mr r5, r30 +/* 80327294 003241F4 7F E6 FB 78 */ mr r6, r31 +/* 80327298 003241F8 48 00 B1 79 */ bl __ct__12CRETimeChainFP12CRealElementP12CRealElementP11CIntElement +/* 8032729C 003241FC 7C 60 1B 78 */ mr r0, r3 +lbl_803272A0: +/* 803272A0 00324200 7C 03 03 78 */ mr r3, r0 +/* 803272A4 00324204 48 00 08 EC */ b lbl_80327B90 +lbl_803272A8: +/* 803272A8 00324208 7F E3 FB 78 */ mr r3, r31 +/* 803272AC 0032420C 4B FF F9 E5 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 803272B0 00324210 7C 60 1B 78 */ mr r0, r3 +/* 803272B4 00324214 7F E3 FB 78 */ mr r3, r31 +/* 803272B8 00324218 7C 1D 03 78 */ mr r29, r0 +/* 803272BC 0032421C 4B FF F9 D5 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 803272C0 00324220 7C 60 1B 78 */ mr r0, r3 +/* 803272C4 00324224 7F E3 FB 78 */ mr r3, r31 +/* 803272C8 00324228 7C 1E 03 78 */ mr r30, r0 +/* 803272CC 0032422C 4B FF F9 C5 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 803272D0 00324230 7C 60 1B 78 */ mr r0, r3 +/* 803272D4 00324234 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 803272D8 00324238 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 803272DC 0032423C 38 60 00 10 */ li r3, 0x10 +/* 803272E0 00324240 7C 1F 03 78 */ mr r31, r0 +/* 803272E4 00324244 38 A0 00 00 */ li r5, 0 +/* 803272E8 00324248 48 04 57 9D */ bl __nw__FUlPCcPCc_0 +/* 803272EC 0032424C 7C 60 1B 79 */ or. r0, r3, r3 +/* 803272F0 00324250 41 82 00 18 */ beq lbl_80327308 +/* 803272F4 00324254 7F A4 EB 78 */ mr r4, r29 +/* 803272F8 00324258 7F C5 F3 78 */ mr r5, r30 +/* 803272FC 0032425C 7F E6 FB 78 */ mr r6, r31 +/* 80327300 00324260 48 00 AF 5D */ bl __ct__8CREClampFP12CRealElementP12CRealElementP12CRealElement +/* 80327304 00324264 7C 60 1B 78 */ mr r0, r3 +lbl_80327308: +/* 80327308 00324268 7C 03 03 78 */ mr r3, r0 +/* 8032730C 0032426C 48 00 08 84 */ b lbl_80327B90 +lbl_80327310: +/* 80327310 00324270 7F E3 FB 78 */ mr r3, r31 +/* 80327314 00324274 48 00 08 91 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 80327318 00324278 7C 60 1B 78 */ mr r0, r3 +/* 8032731C 0032427C 7F E3 FB 78 */ mr r3, r31 +/* 80327320 00324280 7C 1D 03 78 */ mr r29, r0 +/* 80327324 00324284 48 00 08 81 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 80327328 00324288 7C 60 1B 78 */ mr r0, r3 +/* 8032732C 0032428C 7F E3 FB 78 */ mr r3, r31 +/* 80327330 00324290 7C 1E 03 78 */ mr r30, r0 +/* 80327334 00324294 4B FF F9 5D */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80327338 00324298 7C 60 1B 78 */ mr r0, r3 +/* 8032733C 0032429C 7F E3 FB 78 */ mr r3, r31 +/* 80327340 003242A0 7C 1F 03 78 */ mr r31, r0 +/* 80327344 003242A4 4B FF F9 4D */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80327348 003242A8 7C 60 1B 78 */ mr r0, r3 +/* 8032734C 003242AC 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80327350 003242B0 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80327354 003242B4 38 60 00 14 */ li r3, 0x14 +/* 80327358 003242B8 7C 1C 03 78 */ mr r28, r0 +/* 8032735C 003242BC 38 A0 00 00 */ li r5, 0 +/* 80327360 003242C0 48 04 57 25 */ bl __nw__FUlPCcPCc_0 +/* 80327364 003242C4 7C 60 1B 79 */ or. r0, r3, r3 +/* 80327368 003242C8 41 82 00 1C */ beq lbl_80327384 +/* 8032736C 003242CC 7F A4 EB 78 */ mr r4, r29 +/* 80327370 003242D0 7F C5 F3 78 */ mr r5, r30 +/* 80327374 003242D4 7F E6 FB 78 */ mr r6, r31 +/* 80327378 003242D8 7F 87 E3 78 */ mr r7, r28 +/* 8032737C 003242DC 48 00 AD 0D */ bl __ct__8CREPulseFP11CIntElementP11CIntElementP12CRealElementP12CRealElement +/* 80327380 003242E0 7C 60 1B 78 */ mr r0, r3 +lbl_80327384: +/* 80327384 003242E4 7C 03 03 78 */ mr r3, r0 +/* 80327388 003242E8 48 00 08 08 */ b lbl_80327B90 +lbl_8032738C: +/* 8032738C 003242EC 7F E3 FB 78 */ mr r3, r31 +/* 80327390 003242F0 4B FF F9 01 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80327394 003242F4 7C 60 1B 78 */ mr r0, r3 +/* 80327398 003242F8 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 8032739C 003242FC 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 803273A0 00324300 38 60 00 08 */ li r3, 8 +/* 803273A4 00324304 7C 1C 03 78 */ mr r28, r0 +/* 803273A8 00324308 38 A0 00 00 */ li r5, 0 +/* 803273AC 0032430C 48 04 56 D9 */ bl __nw__FUlPCcPCc_0 +/* 803273B0 00324310 7C 60 1B 79 */ or. r0, r3, r3 +/* 803273B4 00324314 41 82 00 10 */ beq lbl_803273C4 +/* 803273B8 00324318 7F 84 E3 78 */ mr r4, r28 +/* 803273BC 0032431C 48 00 AA 99 */ bl __ct__18CRELifetimePercentFP12CRealElement +/* 803273C0 00324320 7C 60 1B 78 */ mr r0, r3 +lbl_803273C4: +/* 803273C4 00324324 7C 03 03 78 */ mr r3, r0 +/* 803273C8 00324328 48 00 07 C8 */ b lbl_80327B90 +lbl_803273CC: +/* 803273CC 0032432C 7F E3 FB 78 */ mr r3, r31 +/* 803273D0 00324330 4B FF F8 C1 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 803273D4 00324334 7C 60 1B 78 */ mr r0, r3 +/* 803273D8 00324338 7F E3 FB 78 */ mr r3, r31 +/* 803273DC 0032433C 7C 1C 03 78 */ mr r28, r0 +/* 803273E0 00324340 4B FF F8 B1 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 803273E4 00324344 7C 60 1B 78 */ mr r0, r3 +/* 803273E8 00324348 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 803273EC 0032434C 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 803273F0 00324350 38 60 00 0C */ li r3, 0xc +/* 803273F4 00324354 7C 1D 03 78 */ mr r29, r0 +/* 803273F8 00324358 38 A0 00 00 */ li r5, 0 +/* 803273FC 0032435C 48 04 56 89 */ bl __nw__FUlPCcPCc_0 +/* 80327400 00324360 7C 60 1B 79 */ or. r0, r3, r3 +/* 80327404 00324364 41 82 00 14 */ beq lbl_80327418 +/* 80327408 00324368 7F 84 E3 78 */ mr r4, r28 +/* 8032740C 0032436C 7F A5 EB 78 */ mr r5, r29 +/* 80327410 00324370 48 00 A8 FD */ bl __ct__16CRELifetimeTweenFP12CRealElementP12CRealElement +/* 80327414 00324374 7C 60 1B 78 */ mr r0, r3 +lbl_80327418: +/* 80327418 00324378 7C 03 03 78 */ mr r3, r0 +/* 8032741C 0032437C 48 00 07 74 */ b lbl_80327B90 +lbl_80327420: +/* 80327420 00324380 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80327424 00324384 38 60 00 04 */ li r3, 4 +/* 80327428 00324388 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 8032742C 0032438C 38 A0 00 00 */ li r5, 0 +/* 80327430 00324390 48 04 56 55 */ bl __nw__FUlPCcPCc_0 +/* 80327434 00324394 28 03 00 00 */ cmplwi r3, 0 +/* 80327438 00324398 41 82 07 58 */ beq lbl_80327B90 +/* 8032743C 0032439C 3C 80 80 3F */ lis r4, lbl_803EC5A8@ha +/* 80327440 003243A0 3C A0 80 3F */ lis r5, lbl_803EC554@ha +/* 80327444 003243A4 38 04 C5 A8 */ addi r0, r4, lbl_803EC5A8@l +/* 80327448 003243A8 3C 80 80 3F */ lis r4, lbl_803EDF34@ha +/* 8032744C 003243AC 90 03 00 00 */ stw r0, 0(r3) +/* 80327450 003243B0 38 A5 C5 54 */ addi r5, r5, lbl_803EC554@l +/* 80327454 003243B4 38 04 DF 34 */ addi r0, r4, lbl_803EDF34@l +/* 80327458 003243B8 90 A3 00 00 */ stw r5, 0(r3) +/* 8032745C 003243BC 90 03 00 00 */ stw r0, 0(r3) +/* 80327460 003243C0 48 00 07 30 */ b lbl_80327B90 +lbl_80327464: +/* 80327464 003243C4 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80327468 003243C8 38 60 00 04 */ li r3, 4 +/* 8032746C 003243CC 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80327470 003243D0 38 A0 00 00 */ li r5, 0 +/* 80327474 003243D4 48 04 56 11 */ bl __nw__FUlPCcPCc_0 +/* 80327478 003243D8 28 03 00 00 */ cmplwi r3, 0 +/* 8032747C 003243DC 41 82 07 14 */ beq lbl_80327B90 +/* 80327480 003243E0 3C 80 80 3F */ lis r4, lbl_803EC5A8@ha +/* 80327484 003243E4 3C A0 80 3F */ lis r5, lbl_803EC554@ha +/* 80327488 003243E8 38 04 C5 A8 */ addi r0, r4, lbl_803EC5A8@l +/* 8032748C 003243EC 3C 80 80 3F */ lis r4, lbl_803EDF48@ha +/* 80327490 003243F0 90 03 00 00 */ stw r0, 0(r3) +/* 80327494 003243F4 38 A5 C5 54 */ addi r5, r5, lbl_803EC554@l +/* 80327498 003243F8 38 04 DF 48 */ addi r0, r4, lbl_803EDF48@l +/* 8032749C 003243FC 90 A3 00 00 */ stw r5, 0(r3) +/* 803274A0 00324400 90 03 00 00 */ stw r0, 0(r3) +/* 803274A4 00324404 48 00 06 EC */ b lbl_80327B90 +lbl_803274A8: +/* 803274A8 00324408 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 803274AC 0032440C 38 60 00 04 */ li r3, 4 +/* 803274B0 00324410 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 803274B4 00324414 38 A0 00 00 */ li r5, 0 +/* 803274B8 00324418 48 04 55 CD */ bl __nw__FUlPCcPCc_0 +/* 803274BC 0032441C 28 03 00 00 */ cmplwi r3, 0 +/* 803274C0 00324420 41 82 06 D0 */ beq lbl_80327B90 +/* 803274C4 00324424 3C 80 80 3F */ lis r4, lbl_803EC5A8@ha +/* 803274C8 00324428 3C A0 80 3F */ lis r5, lbl_803EC554@ha +/* 803274CC 0032442C 38 04 C5 A8 */ addi r0, r4, lbl_803EC5A8@l +/* 803274D0 00324430 3C 80 80 3F */ lis r4, lbl_803EDFE8@ha +/* 803274D4 00324434 90 03 00 00 */ stw r0, 0(r3) +/* 803274D8 00324438 38 A5 C5 54 */ addi r5, r5, lbl_803EC554@l +/* 803274DC 0032443C 38 04 DF E8 */ addi r0, r4, lbl_803EDFE8@l +/* 803274E0 00324440 90 A3 00 00 */ stw r5, 0(r3) +/* 803274E4 00324444 90 03 00 00 */ stw r0, 0(r3) +/* 803274E8 00324448 48 00 06 A8 */ b lbl_80327B90 +lbl_803274EC: +/* 803274EC 0032444C 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 803274F0 00324450 38 60 00 04 */ li r3, 4 +/* 803274F4 00324454 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 803274F8 00324458 38 A0 00 00 */ li r5, 0 +/* 803274FC 0032445C 48 04 55 89 */ bl __nw__FUlPCcPCc_0 +/* 80327500 00324460 28 03 00 00 */ cmplwi r3, 0 +/* 80327504 00324464 41 82 06 8C */ beq lbl_80327B90 +/* 80327508 00324468 3C 80 80 3F */ lis r4, lbl_803EC5A8@ha +/* 8032750C 0032446C 3C A0 80 3F */ lis r5, lbl_803EC554@ha +/* 80327510 00324470 38 04 C5 A8 */ addi r0, r4, lbl_803EC5A8@l +/* 80327514 00324474 3C 80 80 3F */ lis r4, lbl_803EDFD4@ha +/* 80327518 00324478 90 03 00 00 */ stw r0, 0(r3) +/* 8032751C 0032447C 38 A5 C5 54 */ addi r5, r5, lbl_803EC554@l +/* 80327520 00324480 38 04 DF D4 */ addi r0, r4, lbl_803EDFD4@l +/* 80327524 00324484 90 A3 00 00 */ stw r5, 0(r3) +/* 80327528 00324488 90 03 00 00 */ stw r0, 0(r3) +/* 8032752C 0032448C 48 00 06 64 */ b lbl_80327B90 +lbl_80327530: +/* 80327530 00324490 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80327534 00324494 38 60 00 04 */ li r3, 4 +/* 80327538 00324498 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 8032753C 0032449C 38 A0 00 00 */ li r5, 0 +/* 80327540 003244A0 48 04 55 45 */ bl __nw__FUlPCcPCc_0 +/* 80327544 003244A4 28 03 00 00 */ cmplwi r3, 0 +/* 80327548 003244A8 41 82 06 48 */ beq lbl_80327B90 +/* 8032754C 003244AC 3C 80 80 3F */ lis r4, lbl_803EC5A8@ha +/* 80327550 003244B0 3C A0 80 3F */ lis r5, lbl_803EC554@ha +/* 80327554 003244B4 38 04 C5 A8 */ addi r0, r4, lbl_803EC5A8@l +/* 80327558 003244B8 3C 80 80 3F */ lis r4, lbl_803EDFC0@ha +/* 8032755C 003244BC 90 03 00 00 */ stw r0, 0(r3) +/* 80327560 003244C0 38 A5 C5 54 */ addi r5, r5, lbl_803EC554@l +/* 80327564 003244C4 38 04 DF C0 */ addi r0, r4, lbl_803EDFC0@l +/* 80327568 003244C8 90 A3 00 00 */ stw r5, 0(r3) +/* 8032756C 003244CC 90 03 00 00 */ stw r0, 0(r3) +/* 80327570 003244D0 48 00 06 20 */ b lbl_80327B90 +lbl_80327574: +/* 80327574 003244D4 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80327578 003244D8 38 60 00 04 */ li r3, 4 +/* 8032757C 003244DC 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80327580 003244E0 38 A0 00 00 */ li r5, 0 +/* 80327584 003244E4 48 04 55 01 */ bl __nw__FUlPCcPCc_0 +/* 80327588 003244E8 28 03 00 00 */ cmplwi r3, 0 +/* 8032758C 003244EC 41 82 06 04 */ beq lbl_80327B90 +/* 80327590 003244F0 3C 80 80 3F */ lis r4, lbl_803EC5A8@ha +/* 80327594 003244F4 3C A0 80 3F */ lis r5, lbl_803EC554@ha +/* 80327598 003244F8 38 04 C5 A8 */ addi r0, r4, lbl_803EC5A8@l +/* 8032759C 003244FC 3C 80 80 3F */ lis r4, lbl_803EDFAC@ha +/* 803275A0 00324500 90 03 00 00 */ stw r0, 0(r3) +/* 803275A4 00324504 38 A5 C5 54 */ addi r5, r5, lbl_803EC554@l +/* 803275A8 00324508 38 04 DF AC */ addi r0, r4, lbl_803EDFAC@l +/* 803275AC 0032450C 90 A3 00 00 */ stw r5, 0(r3) +/* 803275B0 00324510 90 03 00 00 */ stw r0, 0(r3) +/* 803275B4 00324514 48 00 05 DC */ b lbl_80327B90 +lbl_803275B8: +/* 803275B8 00324518 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 803275BC 0032451C 38 60 00 04 */ li r3, 4 +/* 803275C0 00324520 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 803275C4 00324524 38 A0 00 00 */ li r5, 0 +/* 803275C8 00324528 48 04 54 BD */ bl __nw__FUlPCcPCc_0 +/* 803275CC 0032452C 28 03 00 00 */ cmplwi r3, 0 +/* 803275D0 00324530 41 82 05 C0 */ beq lbl_80327B90 +/* 803275D4 00324534 3C 80 80 3F */ lis r4, lbl_803EC5A8@ha +/* 803275D8 00324538 3C A0 80 3F */ lis r5, lbl_803EC554@ha +/* 803275DC 0032453C 38 04 C5 A8 */ addi r0, r4, lbl_803EC5A8@l +/* 803275E0 00324540 3C 80 80 3F */ lis r4, lbl_803EDF98@ha +/* 803275E4 00324544 90 03 00 00 */ stw r0, 0(r3) +/* 803275E8 00324548 38 A5 C5 54 */ addi r5, r5, lbl_803EC554@l +/* 803275EC 0032454C 38 04 DF 98 */ addi r0, r4, lbl_803EDF98@l +/* 803275F0 00324550 90 A3 00 00 */ stw r5, 0(r3) +/* 803275F4 00324554 90 03 00 00 */ stw r0, 0(r3) +/* 803275F8 00324558 48 00 05 98 */ b lbl_80327B90 +lbl_803275FC: +/* 803275FC 0032455C 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80327600 00324560 38 60 00 04 */ li r3, 4 +/* 80327604 00324564 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80327608 00324568 38 A0 00 00 */ li r5, 0 +/* 8032760C 0032456C 48 04 54 79 */ bl __nw__FUlPCcPCc_0 +/* 80327610 00324570 28 03 00 00 */ cmplwi r3, 0 +/* 80327614 00324574 41 82 05 7C */ beq lbl_80327B90 +/* 80327618 00324578 3C 80 80 3F */ lis r4, lbl_803EC5A8@ha +/* 8032761C 0032457C 3C A0 80 3F */ lis r5, lbl_803EC554@ha +/* 80327620 00324580 38 04 C5 A8 */ addi r0, r4, lbl_803EC5A8@l +/* 80327624 00324584 3C 80 80 3F */ lis r4, lbl_803EDF84@ha +/* 80327628 00324588 90 03 00 00 */ stw r0, 0(r3) +/* 8032762C 0032458C 38 A5 C5 54 */ addi r5, r5, lbl_803EC554@l +/* 80327630 00324590 38 04 DF 84 */ addi r0, r4, lbl_803EDF84@l +/* 80327634 00324594 90 A3 00 00 */ stw r5, 0(r3) +/* 80327638 00324598 90 03 00 00 */ stw r0, 0(r3) +/* 8032763C 0032459C 48 00 05 54 */ b lbl_80327B90 +lbl_80327640: +/* 80327640 003245A0 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80327644 003245A4 38 60 00 04 */ li r3, 4 +/* 80327648 003245A8 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 8032764C 003245AC 38 A0 00 00 */ li r5, 0 +/* 80327650 003245B0 48 04 54 35 */ bl __nw__FUlPCcPCc_0 +/* 80327654 003245B4 28 03 00 00 */ cmplwi r3, 0 +/* 80327658 003245B8 41 82 05 38 */ beq lbl_80327B90 +/* 8032765C 003245BC 3C 80 80 3F */ lis r4, lbl_803EC5A8@ha +/* 80327660 003245C0 3C A0 80 3F */ lis r5, lbl_803EC554@ha +/* 80327664 003245C4 38 04 C5 A8 */ addi r0, r4, lbl_803EC5A8@l +/* 80327668 003245C8 3C 80 80 3F */ lis r4, lbl_803EDF70@ha +/* 8032766C 003245CC 90 03 00 00 */ stw r0, 0(r3) +/* 80327670 003245D0 38 A5 C5 54 */ addi r5, r5, lbl_803EC554@l +/* 80327674 003245D4 38 04 DF 70 */ addi r0, r4, lbl_803EDF70@l +/* 80327678 003245D8 90 A3 00 00 */ stw r5, 0(r3) +/* 8032767C 003245DC 90 03 00 00 */ stw r0, 0(r3) +/* 80327680 003245E0 48 00 05 10 */ b lbl_80327B90 +lbl_80327684: +/* 80327684 003245E4 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80327688 003245E8 38 60 00 04 */ li r3, 4 +/* 8032768C 003245EC 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80327690 003245F0 38 A0 00 00 */ li r5, 0 +/* 80327694 003245F4 48 04 53 F1 */ bl __nw__FUlPCcPCc_0 +/* 80327698 003245F8 28 03 00 00 */ cmplwi r3, 0 +/* 8032769C 003245FC 41 82 04 F4 */ beq lbl_80327B90 +/* 803276A0 00324600 3C 80 80 3F */ lis r4, lbl_803EC5A8@ha +/* 803276A4 00324604 3C A0 80 3F */ lis r5, lbl_803EC554@ha +/* 803276A8 00324608 38 04 C5 A8 */ addi r0, r4, lbl_803EC5A8@l +/* 803276AC 0032460C 3C 80 80 3F */ lis r4, lbl_803EDF5C@ha +/* 803276B0 00324610 90 03 00 00 */ stw r0, 0(r3) +/* 803276B4 00324614 38 A5 C5 54 */ addi r5, r5, lbl_803EC554@l +/* 803276B8 00324618 38 04 DF 5C */ addi r0, r4, lbl_803EDF5C@l +/* 803276BC 0032461C 90 A3 00 00 */ stw r5, 0(r3) +/* 803276C0 00324620 90 03 00 00 */ stw r0, 0(r3) +/* 803276C4 00324624 48 00 04 CC */ b lbl_80327B90 +lbl_803276C8: +/* 803276C8 00324628 7F E3 FB 78 */ mr r3, r31 +/* 803276CC 0032462C 4B FF EB 89 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 803276D0 00324630 7C 60 1B 78 */ mr r0, r3 +/* 803276D4 00324634 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 803276D8 00324638 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 803276DC 0032463C 38 60 00 08 */ li r3, 8 +/* 803276E0 00324640 7C 1C 03 78 */ mr r28, r0 +/* 803276E4 00324644 38 A0 00 00 */ li r5, 0 +/* 803276E8 00324648 48 04 53 9D */ bl __nw__FUlPCcPCc_0 +/* 803276EC 0032464C 7C 60 1B 79 */ or. r0, r3, r3 +/* 803276F0 00324650 41 82 00 10 */ beq lbl_80327700 +/* 803276F4 00324654 7F 84 E3 78 */ mr r4, r28 +/* 803276F8 00324658 48 00 A0 75 */ bl __ct__16CREVectorXToRealFP14CVectorElement +/* 803276FC 0032465C 7C 60 1B 78 */ mr r0, r3 +lbl_80327700: +/* 80327700 00324660 7C 03 03 78 */ mr r3, r0 +/* 80327704 00324664 48 00 04 8C */ b lbl_80327B90 +lbl_80327708: +/* 80327708 00324668 7F E3 FB 78 */ mr r3, r31 +/* 8032770C 0032466C 4B FF EB 49 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80327710 00324670 7C 60 1B 78 */ mr r0, r3 +/* 80327714 00324674 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80327718 00324678 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 8032771C 0032467C 38 60 00 08 */ li r3, 8 +/* 80327720 00324680 7C 1C 03 78 */ mr r28, r0 +/* 80327724 00324684 38 A0 00 00 */ li r5, 0 +/* 80327728 00324688 48 04 53 5D */ bl __nw__FUlPCcPCc_0 +/* 8032772C 0032468C 7C 60 1B 79 */ or. r0, r3, r3 +/* 80327730 00324690 41 82 00 10 */ beq lbl_80327740 +/* 80327734 00324694 7F 84 E3 78 */ mr r4, r28 +/* 80327738 00324698 48 00 9F 01 */ bl __ct__16CREVectorYToRealFP14CVectorElement +/* 8032773C 0032469C 7C 60 1B 78 */ mr r0, r3 +lbl_80327740: +/* 80327740 003246A0 7C 03 03 78 */ mr r3, r0 +/* 80327744 003246A4 48 00 04 4C */ b lbl_80327B90 +lbl_80327748: +/* 80327748 003246A8 7F E3 FB 78 */ mr r3, r31 +/* 8032774C 003246AC 4B FF EB 09 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80327750 003246B0 7C 60 1B 78 */ mr r0, r3 +/* 80327754 003246B4 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80327758 003246B8 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 8032775C 003246BC 38 60 00 08 */ li r3, 8 +/* 80327760 003246C0 7C 1C 03 78 */ mr r28, r0 +/* 80327764 003246C4 38 A0 00 00 */ li r5, 0 +/* 80327768 003246C8 48 04 53 1D */ bl __nw__FUlPCcPCc_0 +/* 8032776C 003246CC 7C 60 1B 79 */ or. r0, r3, r3 +/* 80327770 003246D0 41 82 00 10 */ beq lbl_80327780 +/* 80327774 003246D4 7F 84 E3 78 */ mr r4, r28 +/* 80327778 003246D8 48 00 9D 8D */ bl __ct__16CREVectorZToRealFP14CVectorElement +/* 8032777C 003246DC 7C 60 1B 78 */ mr r0, r3 +lbl_80327780: +/* 80327780 003246E0 7C 03 03 78 */ mr r3, r0 +/* 80327784 003246E4 48 00 04 0C */ b lbl_80327B90 +lbl_80327788: +/* 80327788 003246E8 7F E3 FB 78 */ mr r3, r31 +/* 8032778C 003246EC 4B FF EA C9 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80327790 003246F0 7C 60 1B 78 */ mr r0, r3 +/* 80327794 003246F4 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80327798 003246F8 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 8032779C 003246FC 38 60 00 08 */ li r3, 8 +/* 803277A0 00324700 7C 1C 03 78 */ mr r28, r0 +/* 803277A4 00324704 38 A0 00 00 */ li r5, 0 +/* 803277A8 00324708 48 04 52 DD */ bl __nw__FUlPCcPCc_0 +/* 803277AC 0032470C 7C 60 1B 79 */ or. r0, r3, r3 +/* 803277B0 00324710 41 82 00 10 */ beq lbl_803277C0 +/* 803277B4 00324714 7F 84 E3 78 */ mr r4, r28 +/* 803277B8 00324718 48 00 9C 19 */ bl __ct__18CREVectorMagnitudeFP14CVectorElement +/* 803277BC 0032471C 7C 60 1B 78 */ mr r0, r3 +lbl_803277C0: +/* 803277C0 00324720 7C 03 03 78 */ mr r3, r0 +/* 803277C4 00324724 48 00 03 CC */ b lbl_80327B90 +lbl_803277C8: +/* 803277C8 00324728 7F E3 FB 78 */ mr r3, r31 +/* 803277CC 0032472C 4B FF F4 C5 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 803277D0 00324730 7C 60 1B 78 */ mr r0, r3 +/* 803277D4 00324734 7F E3 FB 78 */ mr r3, r31 +/* 803277D8 00324738 7C 1C 03 78 */ mr r28, r0 +/* 803277DC 0032473C 4B FF F4 B5 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 803277E0 00324740 7C 60 1B 78 */ mr r0, r3 +/* 803277E4 00324744 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 803277E8 00324748 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 803277EC 0032474C 38 60 00 0C */ li r3, 0xc +/* 803277F0 00324750 7C 1D 03 78 */ mr r29, r0 +/* 803277F4 00324754 38 A0 00 00 */ li r5, 0 +/* 803277F8 00324758 48 04 52 8D */ bl __nw__FUlPCcPCc_0 +/* 803277FC 0032475C 7C 60 1B 79 */ or. r0, r3, r3 +/* 80327800 00324760 41 82 00 14 */ beq lbl_80327814 +/* 80327804 00324764 7F 84 E3 78 */ mr r4, r28 +/* 80327808 00324768 7F A5 EB 78 */ mr r5, r29 +/* 8032780C 0032476C 48 00 9A 89 */ bl __ct__7CREISWTFP12CRealElementP12CRealElement +/* 80327810 00324770 7C 60 1B 78 */ mr r0, r3 +lbl_80327814: +/* 80327814 00324774 7C 03 03 78 */ mr r3, r0 +/* 80327818 00324778 48 00 03 78 */ b lbl_80327B90 +lbl_8032781C: +/* 8032781C 0032477C 7F E3 FB 78 */ mr r3, r31 +/* 80327820 00324780 4B FF F4 71 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80327824 00324784 7C 60 1B 78 */ mr r0, r3 +/* 80327828 00324788 7F E3 FB 78 */ mr r3, r31 +/* 8032782C 0032478C 7C 1C 03 78 */ mr r28, r0 +/* 80327830 00324790 4B FF F4 61 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80327834 00324794 7C 60 1B 78 */ mr r0, r3 +/* 80327838 00324798 7F E3 FB 78 */ mr r3, r31 +/* 8032783C 0032479C 7C 1D 03 78 */ mr r29, r0 +/* 80327840 003247A0 4B FF F4 51 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80327844 003247A4 7C 60 1B 78 */ mr r0, r3 +/* 80327848 003247A8 7F E3 FB 78 */ mr r3, r31 +/* 8032784C 003247AC 7C 1E 03 78 */ mr r30, r0 +/* 80327850 003247B0 4B FF F4 41 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80327854 003247B4 7C 60 1B 78 */ mr r0, r3 +/* 80327858 003247B8 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 8032785C 003247BC 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80327860 003247C0 38 60 00 14 */ li r3, 0x14 +/* 80327864 003247C4 7C 1F 03 78 */ mr r31, r0 +/* 80327868 003247C8 38 A0 00 00 */ li r5, 0 +/* 8032786C 003247CC 48 04 52 19 */ bl __nw__FUlPCcPCc_0 +/* 80327870 003247D0 7C 60 1B 79 */ or. r0, r3, r3 +/* 80327874 003247D4 41 82 00 1C */ beq lbl_80327890 +/* 80327878 003247D8 7F 84 E3 78 */ mr r4, r28 +/* 8032787C 003247DC 7F A5 EB 78 */ mr r5, r29 +/* 80327880 003247E0 7F C6 F3 78 */ mr r6, r30 +/* 80327884 003247E4 7F E7 FB 78 */ mr r7, r31 +/* 80327888 003247E8 48 00 98 B9 */ bl __ct__18CRECompareLessThanFP12CRealElementP12CRealElementP12CRealElementP12CRealElement +/* 8032788C 003247EC 7C 60 1B 78 */ mr r0, r3 +lbl_80327890: +/* 80327890 003247F0 7C 03 03 78 */ mr r3, r0 +/* 80327894 003247F4 48 00 02 FC */ b lbl_80327B90 +lbl_80327898: +/* 80327898 003247F8 7F E3 FB 78 */ mr r3, r31 +/* 8032789C 003247FC 4B FF F3 F5 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 803278A0 00324800 7C 60 1B 78 */ mr r0, r3 +/* 803278A4 00324804 7F E3 FB 78 */ mr r3, r31 +/* 803278A8 00324808 7C 1C 03 78 */ mr r28, r0 +/* 803278AC 0032480C 4B FF F3 E5 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 803278B0 00324810 7C 60 1B 78 */ mr r0, r3 +/* 803278B4 00324814 7F E3 FB 78 */ mr r3, r31 +/* 803278B8 00324818 7C 1D 03 78 */ mr r29, r0 +/* 803278BC 0032481C 4B FF F3 D5 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 803278C0 00324820 7C 60 1B 78 */ mr r0, r3 +/* 803278C4 00324824 7F E3 FB 78 */ mr r3, r31 +/* 803278C8 00324828 7C 1E 03 78 */ mr r30, r0 +/* 803278CC 0032482C 4B FF F3 C5 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 803278D0 00324830 7C 60 1B 78 */ mr r0, r3 +/* 803278D4 00324834 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 803278D8 00324838 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 803278DC 0032483C 38 60 00 14 */ li r3, 0x14 +/* 803278E0 00324840 7C 1F 03 78 */ mr r31, r0 +/* 803278E4 00324844 38 A0 00 00 */ li r5, 0 +/* 803278E8 00324848 48 04 51 9D */ bl __nw__FUlPCcPCc_0 +/* 803278EC 0032484C 7C 60 1B 79 */ or. r0, r3, r3 +/* 803278F0 00324850 41 82 00 1C */ beq lbl_8032790C +/* 803278F4 00324854 7F 84 E3 78 */ mr r4, r28 +/* 803278F8 00324858 7F A5 EB 78 */ mr r5, r29 +/* 803278FC 0032485C 7F C6 F3 78 */ mr r6, r30 +/* 80327900 00324860 7F E7 FB 78 */ mr r7, r31 +/* 80327904 00324864 48 00 96 41 */ bl __ct__15CRECompareEqualFP12CRealElementP12CRealElementP12CRealElementP12CRealElement +/* 80327908 00324868 7C 60 1B 78 */ mr r0, r3 +lbl_8032790C: +/* 8032790C 0032486C 7C 03 03 78 */ mr r3, r0 +/* 80327910 00324870 48 00 02 80 */ b lbl_80327B90 +lbl_80327914: +/* 80327914 00324874 7F E3 FB 78 */ mr r3, r31 +/* 80327918 00324878 4B FF F3 79 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 8032791C 0032487C 7C 60 1B 78 */ mr r0, r3 +/* 80327920 00324880 7F E3 FB 78 */ mr r3, r31 +/* 80327924 00324884 7C 1C 03 78 */ mr r28, r0 +/* 80327928 00324888 4B FF F3 69 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 8032792C 0032488C 7C 60 1B 78 */ mr r0, r3 +/* 80327930 00324890 7F E3 FB 78 */ mr r3, r31 +/* 80327934 00324894 7C 1D 03 78 */ mr r29, r0 +/* 80327938 00324898 4B FF F3 59 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 8032793C 0032489C 7C 60 1B 78 */ mr r0, r3 +/* 80327940 003248A0 7F E3 FB 78 */ mr r3, r31 +/* 80327944 003248A4 7C 1E 03 78 */ mr r30, r0 +/* 80327948 003248A8 4B FF F3 49 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 8032794C 003248AC 7C 60 1B 78 */ mr r0, r3 +/* 80327950 003248B0 7F E3 FB 78 */ mr r3, r31 +/* 80327954 003248B4 7C 1F 03 78 */ mr r31, r0 +/* 80327958 003248B8 4B FF F3 39 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 8032795C 003248BC 7C 60 1B 78 */ mr r0, r3 +/* 80327960 003248C0 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80327964 003248C4 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80327968 003248C8 38 60 00 18 */ li r3, 0x18 +/* 8032796C 003248CC 7C 1B 03 78 */ mr r27, r0 +/* 80327970 003248D0 38 A0 00 00 */ li r5, 0 +/* 80327974 003248D4 48 04 51 11 */ bl __nw__FUlPCcPCc_0 +/* 80327978 003248D8 7C 60 1B 79 */ or. r0, r3, r3 +/* 8032797C 003248DC 41 82 00 20 */ beq lbl_8032799C +/* 80327980 003248E0 7F 84 E3 78 */ mr r4, r28 +/* 80327984 003248E4 7F A5 EB 78 */ mr r5, r29 +/* 80327988 003248E8 7F C6 F3 78 */ mr r6, r30 +/* 8032798C 003248EC 7F E7 FB 78 */ mr r7, r31 +/* 80327990 003248F0 7F 68 DB 78 */ mr r8, r27 +/* 80327994 003248F4 48 00 93 A5 */ bl __ct__16CREConstantRangeFP12CRealElementP12CRealElementP12CRealElementP12CRealElementP12CRealElement +/* 80327998 003248F8 7C 60 1B 78 */ mr r0, r3 +lbl_8032799C: +/* 8032799C 003248FC 7C 03 03 78 */ mr r3, r0 +/* 803279A0 00324900 48 00 01 F0 */ b lbl_80327B90 +lbl_803279A4: +/* 803279A4 00324904 7F E3 FB 78 */ mr r3, r31 +/* 803279A8 00324908 48 00 01 FD */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 803279AC 0032490C 7C 60 1B 78 */ mr r0, r3 +/* 803279B0 00324910 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 803279B4 00324914 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 803279B8 00324918 38 60 00 08 */ li r3, 8 +/* 803279BC 0032491C 7C 1B 03 78 */ mr r27, r0 +/* 803279C0 00324920 38 A0 00 00 */ li r5, 0 +/* 803279C4 00324924 48 04 50 C1 */ bl __nw__FUlPCcPCc_0 +/* 803279C8 00324928 7C 60 1B 79 */ or. r0, r3, r3 +/* 803279CC 0032492C 41 82 00 10 */ beq lbl_803279DC +/* 803279D0 00324930 7F 64 DB 78 */ mr r4, r27 +/* 803279D4 00324934 48 00 91 2D */ bl __ct__7CRECEXTFP11CIntElement +/* 803279D8 00324938 7C 60 1B 78 */ mr r0, r3 +lbl_803279DC: +/* 803279DC 0032493C 7C 03 03 78 */ mr r3, r0 +/* 803279E0 00324940 48 00 01 B0 */ b lbl_80327B90 +lbl_803279E4: +/* 803279E4 00324944 7F E3 FB 78 */ mr r3, r31 +/* 803279E8 00324948 48 00 01 BD */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 803279EC 0032494C 7C 60 1B 78 */ mr r0, r3 +/* 803279F0 00324950 7F E3 FB 78 */ mr r3, r31 +/* 803279F4 00324954 7C 1B 03 78 */ mr r27, r0 +/* 803279F8 00324958 4B FF F2 99 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 803279FC 0032495C 7C 60 1B 78 */ mr r0, r3 +/* 80327A00 00324960 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80327A04 00324964 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80327A08 00324968 38 60 00 0C */ li r3, 0xc +/* 80327A0C 0032496C 7C 1C 03 78 */ mr r28, r0 +/* 80327A10 00324970 38 A0 00 00 */ li r5, 0 +/* 80327A14 00324974 48 04 50 71 */ bl __nw__FUlPCcPCc_0 +/* 80327A18 00324978 7C 60 1B 79 */ or. r0, r3, r3 +/* 80327A1C 0032497C 41 82 00 14 */ beq lbl_80327A30 +/* 80327A20 00324980 7F 64 DB 78 */ mr r4, r27 +/* 80327A24 00324984 7F 85 E3 78 */ mr r5, r28 +/* 80327A28 00324988 48 00 88 D1 */ bl __ct__15CREIntTimesRealFP12CRealElementP11CIntElement +/* 80327A2C 0032498C 7C 60 1B 78 */ mr r0, r3 +lbl_80327A30: +/* 80327A30 00324990 7C 03 03 78 */ mr r3, r0 +/* 80327A34 00324994 48 00 01 5C */ b lbl_80327B90 +lbl_80327A38: +/* 80327A38 00324998 7F E3 FB 78 */ mr r3, r31 +/* 80327A3C 0032499C 4B FF F2 55 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80327A40 003249A0 7C 60 1B 78 */ mr r0, r3 +/* 80327A44 003249A4 7F E3 FB 78 */ mr r3, r31 +/* 80327A48 003249A8 7C 1B 03 78 */ mr r27, r0 +/* 80327A4C 003249AC 4B FF F2 45 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80327A50 003249B0 7C 60 1B 78 */ mr r0, r3 +/* 80327A54 003249B4 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80327A58 003249B8 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80327A5C 003249BC 38 60 00 0C */ li r3, 0xc +/* 80327A60 003249C0 7C 1C 03 78 */ mr r28, r0 +/* 80327A64 003249C4 38 A0 00 00 */ li r5, 0 +/* 80327A68 003249C8 48 04 50 1D */ bl __nw__FUlPCcPCc_0 +/* 80327A6C 003249CC 7C 60 1B 79 */ or. r0, r3, r3 +/* 80327A70 003249D0 41 82 00 14 */ beq lbl_80327A84 +/* 80327A74 003249D4 7F 64 DB 78 */ mr r4, r27 +/* 80327A78 003249D8 7F 85 E3 78 */ mr r5, r28 +/* 80327A7C 003249DC 48 00 8F 21 */ bl __ct__11CRESubtractFP12CRealElementP12CRealElement +/* 80327A80 003249E0 7C 60 1B 78 */ mr r0, r3 +lbl_80327A84: +/* 80327A84 003249E4 7C 03 03 78 */ mr r3, r0 +/* 80327A88 003249E8 48 00 01 08 */ b lbl_80327B90 +lbl_80327A8C: +/* 80327A8C 003249EC 7F E3 FB 78 */ mr r3, r31 +/* 80327A90 003249F0 4B FF D7 CD */ bl GetColorElement__20CParticleDataFactoryFR12CInputStream +/* 80327A94 003249F4 7C 60 1B 78 */ mr r0, r3 +/* 80327A98 003249F8 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80327A9C 003249FC 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80327AA0 00324A00 38 60 00 08 */ li r3, 8 +/* 80327AA4 00324A04 7C 1B 03 78 */ mr r27, r0 +/* 80327AA8 00324A08 38 A0 00 00 */ li r5, 0 +/* 80327AAC 00324A0C 48 04 4F D9 */ bl __nw__FUlPCcPCc_0 +/* 80327AB0 00324A10 7C 60 1B 79 */ or. r0, r3, r3 +/* 80327AB4 00324A14 41 82 00 10 */ beq lbl_80327AC4 +/* 80327AB8 00324A18 7F 64 DB 78 */ mr r4, r27 +/* 80327ABC 00324A1C 48 00 8D 61 */ bl __ct__18CREGetComponentRedFP13CColorElement +/* 80327AC0 00324A20 7C 60 1B 78 */ mr r0, r3 +lbl_80327AC4: +/* 80327AC4 00324A24 7C 03 03 78 */ mr r3, r0 +/* 80327AC8 00324A28 48 00 00 C8 */ b lbl_80327B90 +lbl_80327ACC: +/* 80327ACC 00324A2C 7F E3 FB 78 */ mr r3, r31 +/* 80327AD0 00324A30 4B FF D7 8D */ bl GetColorElement__20CParticleDataFactoryFR12CInputStream +/* 80327AD4 00324A34 7C 60 1B 78 */ mr r0, r3 +/* 80327AD8 00324A38 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80327ADC 00324A3C 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80327AE0 00324A40 38 60 00 08 */ li r3, 8 +/* 80327AE4 00324A44 7C 1B 03 78 */ mr r27, r0 +/* 80327AE8 00324A48 38 A0 00 00 */ li r5, 0 +/* 80327AEC 00324A4C 48 04 4F 99 */ bl __nw__FUlPCcPCc_0 +/* 80327AF0 00324A50 7C 60 1B 79 */ or. r0, r3, r3 +/* 80327AF4 00324A54 41 82 00 10 */ beq lbl_80327B04 +/* 80327AF8 00324A58 7F 64 DB 78 */ mr r4, r27 +/* 80327AFC 00324A5C 48 00 8B D9 */ bl __ct__20CREGetComponentGreenFP13CColorElement +/* 80327B00 00324A60 7C 60 1B 78 */ mr r0, r3 +lbl_80327B04: +/* 80327B04 00324A64 7C 03 03 78 */ mr r3, r0 +/* 80327B08 00324A68 48 00 00 88 */ b lbl_80327B90 +lbl_80327B0C: +/* 80327B0C 00324A6C 7F E3 FB 78 */ mr r3, r31 +/* 80327B10 00324A70 4B FF D7 4D */ bl GetColorElement__20CParticleDataFactoryFR12CInputStream +/* 80327B14 00324A74 7C 60 1B 78 */ mr r0, r3 +/* 80327B18 00324A78 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80327B1C 00324A7C 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80327B20 00324A80 38 60 00 08 */ li r3, 8 +/* 80327B24 00324A84 7C 1B 03 78 */ mr r27, r0 +/* 80327B28 00324A88 38 A0 00 00 */ li r5, 0 +/* 80327B2C 00324A8C 48 04 4F 59 */ bl __nw__FUlPCcPCc_0 +/* 80327B30 00324A90 7C 60 1B 79 */ or. r0, r3, r3 +/* 80327B34 00324A94 41 82 00 10 */ beq lbl_80327B44 +/* 80327B38 00324A98 7F 64 DB 78 */ mr r4, r27 +/* 80327B3C 00324A9C 48 00 8A 51 */ bl __ct__19CREGetComponentBlueFP13CColorElement +/* 80327B40 00324AA0 7C 60 1B 78 */ mr r0, r3 +lbl_80327B44: +/* 80327B44 00324AA4 7C 03 03 78 */ mr r3, r0 +/* 80327B48 00324AA8 48 00 00 48 */ b lbl_80327B90 +lbl_80327B4C: +/* 80327B4C 00324AAC 7F E3 FB 78 */ mr r3, r31 +/* 80327B50 00324AB0 4B FF D7 0D */ bl GetColorElement__20CParticleDataFactoryFR12CInputStream +/* 80327B54 00324AB4 7C 60 1B 78 */ mr r0, r3 +/* 80327B58 00324AB8 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80327B5C 00324ABC 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80327B60 00324AC0 38 60 00 08 */ li r3, 8 +/* 80327B64 00324AC4 7C 1B 03 78 */ mr r27, r0 +/* 80327B68 00324AC8 38 A0 00 00 */ li r5, 0 +/* 80327B6C 00324ACC 48 04 4F 19 */ bl __nw__FUlPCcPCc_0 +/* 80327B70 00324AD0 7C 60 1B 79 */ or. r0, r3, r3 +/* 80327B74 00324AD4 41 82 00 10 */ beq lbl_80327B84 +/* 80327B78 00324AD8 7F 64 DB 78 */ mr r4, r27 +/* 80327B7C 00324ADC 48 00 88 C9 */ bl __ct__20CREGetComponentAlphaFP13CColorElement +/* 80327B80 00324AE0 7C 60 1B 78 */ mr r0, r3 +lbl_80327B84: +/* 80327B84 00324AE4 7C 03 03 78 */ mr r3, r0 +/* 80327B88 00324AE8 48 00 00 08 */ b lbl_80327B90 +lbl_80327B8C: +/* 80327B8C 00324AEC 38 60 00 00 */ li r3, 0 +lbl_80327B90: +/* 80327B90 00324AF0 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 80327B94 00324AF4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80327B98 00324AF8 7C 08 03 A6 */ mtlr r0 +/* 80327B9C 00324AFC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80327BA0 00324B00 4E 80 00 20 */ blr + +.global GetIntElement__20CParticleDataFactoryFR12CInputStream +GetIntElement__20CParticleDataFactoryFR12CInputStream: +/* 80327BA4 00324B04 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80327BA8 00324B08 7C 08 02 A6 */ mflr r0 +/* 80327BAC 00324B0C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80327BB0 00324B10 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80327BB4 00324B14 7C 7F 1B 78 */ mr r31, r3 +/* 80327BB8 00324B18 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80327BBC 00324B1C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80327BC0 00324B20 93 81 00 10 */ stw r28, 0x10(r1) +/* 80327BC4 00324B24 48 00 08 99 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream +/* 80327BC8 00324B28 3C A0 4B 45 */ lis r5, 0x4B455945@ha +/* 80327BCC 00324B2C 38 05 59 45 */ addi r0, r5, 0x4B455945@l +/* 80327BD0 00324B30 7C 03 00 00 */ cmpw r3, r0 +/* 80327BD4 00324B34 41 82 01 E4 */ beq lbl_80327DB8 +/* 80327BD8 00324B38 40 80 00 E0 */ bge lbl_80327CB8 +/* 80327BDC 00324B3C 3C 80 47 41 */ lis r4, 0x47415043@ha +/* 80327BE0 00324B40 38 04 50 43 */ addi r0, r4, 0x47415043@l +/* 80327BE4 00324B44 7C 03 00 00 */ cmpw r3, r0 +/* 80327BE8 00324B48 41 82 07 54 */ beq lbl_8032833C +/* 80327BEC 00324B4C 40 80 00 68 */ bge lbl_80327C54 +/* 80327BF0 00324B50 3C 80 43 4C */ lis r4, 0x434C4D50@ha +/* 80327BF4 00324B54 38 04 4D 50 */ addi r0, r4, 0x434C4D50@l +/* 80327BF8 00324B58 7C 03 00 00 */ cmpw r3, r0 +/* 80327BFC 00324B5C 41 82 05 68 */ beq lbl_80328164 +/* 80327C00 00324B60 40 80 00 2C */ bge lbl_80327C2C +/* 80327C04 00324B64 3C 80 43 48 */ lis r4, 0x4348414E@ha +/* 80327C08 00324B68 38 04 41 4E */ addi r0, r4, 0x4348414E@l +/* 80327C0C 00324B6C 7C 03 00 00 */ cmpw r3, r0 +/* 80327C10 00324B70 41 82 02 68 */ beq lbl_80327E78 +/* 80327C14 00324B74 40 80 07 B0 */ bge lbl_803283C4 +/* 80327C18 00324B78 3C 80 41 44 */ lis r4, 0x4144445F@ha +/* 80327C1C 00324B7C 38 04 44 5F */ addi r0, r4, 0x4144445F@l +/* 80327C20 00324B80 7C 03 00 00 */ cmpw r3, r0 +/* 80327C24 00324B84 41 82 02 BC */ beq lbl_80327EE0 +/* 80327C28 00324B88 48 00 07 9C */ b lbl_803283C4 +lbl_80327C2C: +/* 80327C2C 00324B8C 3C 80 44 45 */ lis r4, 0x44455448@ha +/* 80327C30 00324B90 38 04 54 48 */ addi r0, r4, 0x44455448@l +/* 80327C34 00324B94 7C 03 00 00 */ cmpw r3, r0 +/* 80327C38 00324B98 41 82 01 EC */ beq lbl_80327E24 +/* 80327C3C 00324B9C 40 80 07 88 */ bge lbl_803283C4 +/* 80327C40 00324BA0 3C 80 43 4E */ lis r4, 0x434E5354@ha +/* 80327C44 00324BA4 38 04 53 54 */ addi r0, r4, 0x434E5354@l +/* 80327C48 00324BA8 7C 03 00 00 */ cmpw r3, r0 +/* 80327C4C 00324BAC 41 82 01 30 */ beq lbl_80327D7C +/* 80327C50 00324BB0 48 00 07 74 */ b lbl_803283C4 +lbl_80327C54: +/* 80327C54 00324BB4 3C 80 49 4C */ lis r4, 0x494C5054@ha +/* 80327C58 00324BB8 38 04 50 54 */ addi r0, r4, 0x494C5054@l +/* 80327C5C 00324BBC 7C 03 00 00 */ cmpw r3, r0 +/* 80327C60 00324BC0 41 82 04 0C */ beq lbl_8032806C +/* 80327C64 00324BC4 40 80 00 2C */ bge lbl_80327C90 +/* 80327C68 00324BC8 3C 80 47 54 */ lis r4, 0x47544350@ha +/* 80327C6C 00324BCC 38 04 43 50 */ addi r0, r4, 0x47544350@l +/* 80327C70 00324BD0 7C 03 00 00 */ cmpw r3, r0 +/* 80327C74 00324BD4 41 82 06 84 */ beq lbl_803282F8 +/* 80327C78 00324BD8 40 80 07 4C */ bge lbl_803283C4 +/* 80327C7C 00324BDC 3C 80 47 45 */ lis r4, 0x47454D54@ha +/* 80327C80 00324BE0 38 04 4D 54 */ addi r0, r4, 0x47454D54@l +/* 80327C84 00324BE4 7C 03 00 00 */ cmpw r3, r0 +/* 80327C88 00324BE8 41 82 06 F8 */ beq lbl_80328380 +/* 80327C8C 00324BEC 48 00 07 38 */ b lbl_803283C4 +lbl_80327C90: +/* 80327C90 00324BF0 3C 80 49 52 */ lis r4, 0x49524E44@ha +/* 80327C94 00324BF4 38 04 4E 44 */ addi r0, r4, 0x49524E44@l +/* 80327C98 00324BF8 7C 03 00 00 */ cmpw r3, r0 +/* 80327C9C 00324BFC 41 82 04 74 */ beq lbl_80328110 +/* 80327CA0 00324C00 40 80 07 24 */ bge lbl_803283C4 +/* 80327CA4 00324C04 3C 80 49 4D */ lis r4, 0x494D504C@ha +/* 80327CA8 00324C08 38 04 50 4C */ addi r0, r4, 0x494D504C@l +/* 80327CAC 00324C0C 7C 03 00 00 */ cmpw r3, r0 +/* 80327CB0 00324C10 41 82 03 80 */ beq lbl_80328030 +/* 80327CB4 00324C14 48 00 07 10 */ b lbl_803283C4 +lbl_80327CB8: +/* 80327CB8 00324C18 3C 80 52 41 */ lis r4, 0x52414E44@ha +/* 80327CBC 00324C1C 38 04 4E 44 */ addi r0, r4, 0x52414E44@l +/* 80327CC0 00324C20 7C 03 00 00 */ cmpw r3, r0 +/* 80327CC4 00324C24 41 82 03 18 */ beq lbl_80327FDC +/* 80327CC8 00324C28 40 80 00 64 */ bge lbl_80327D2C +/* 80327CCC 00324C2C 3C 80 4D 55 */ lis r4, 0x4D554C54@ha +/* 80327CD0 00324C30 38 04 4C 54 */ addi r0, r4, 0x4D554C54@l +/* 80327CD4 00324C34 7C 03 00 00 */ cmpw r3, r0 +/* 80327CD8 00324C38 41 82 02 5C */ beq lbl_80327F34 +/* 80327CDC 00324C3C 40 80 00 28 */ bge lbl_80327D04 +/* 80327CE0 00324C40 3C 80 4D 4F */ lis r4, 0x4D4F4455@ha +/* 80327CE4 00324C44 38 04 44 55 */ addi r0, r4, 0x4D4F4455@l +/* 80327CE8 00324C48 7C 03 00 00 */ cmpw r3, r0 +/* 80327CEC 00324C4C 41 82 02 9C */ beq lbl_80327F88 +/* 80327CF0 00324C50 40 80 06 D4 */ bge lbl_803283C4 +/* 80327CF4 00324C54 38 05 59 50 */ addi r0, r5, 0x5950 +/* 80327CF8 00324C58 7C 03 00 00 */ cmpw r3, r0 +/* 80327CFC 00324C5C 41 82 00 BC */ beq lbl_80327DB8 +/* 80327D00 00324C60 48 00 06 C4 */ b lbl_803283C4 +lbl_80327D04: +/* 80327D04 00324C64 3C 80 50 55 */ lis r4, 0x50554C53@ha +/* 80327D08 00324C68 38 04 4C 53 */ addi r0, r4, 0x50554C53@l +/* 80327D0C 00324C6C 7C 03 00 00 */ cmpw r3, r0 +/* 80327D10 00324C70 41 82 04 BC */ beq lbl_803281CC +/* 80327D14 00324C74 40 80 06 B0 */ bge lbl_803283C4 +/* 80327D18 00324C78 3C 80 4E 4F */ lis r4, 0x4E4F4E45@ha +/* 80327D1C 00324C7C 38 04 4E 45 */ addi r0, r4, 0x4E4F4E45@l +/* 80327D20 00324C80 7C 03 00 00 */ cmpw r3, r0 +/* 80327D24 00324C84 41 82 05 24 */ beq lbl_80328248 +/* 80327D28 00324C88 48 00 06 9C */ b lbl_803283C4 +lbl_80327D2C: +/* 80327D2C 00324C8C 3C 80 53 55 */ lis r4, 0x5355425F@ha +/* 80327D30 00324C90 38 04 42 5F */ addi r0, r4, 0x5355425F@l +/* 80327D34 00324C94 7C 03 00 00 */ cmpw r3, r0 +/* 80327D38 00324C98 41 82 05 6C */ beq lbl_803282A4 +/* 80327D3C 00324C9C 40 80 00 2C */ bge lbl_80327D68 +/* 80327D40 00324CA0 3C 80 53 50 */ lis r4, 0x53504148@ha +/* 80327D44 00324CA4 38 04 41 48 */ addi r0, r4, 0x53504148@l +/* 80327D48 00324CA8 7C 03 00 00 */ cmpw r3, r0 +/* 80327D4C 00324CAC 41 82 03 5C */ beq lbl_803280A8 +/* 80327D50 00324CB0 40 80 06 74 */ bge lbl_803283C4 +/* 80327D54 00324CB4 3C 80 52 54 */ lis r4, 0x52544F49@ha +/* 80327D58 00324CB8 38 04 4F 49 */ addi r0, r4, 0x52544F49@l +/* 80327D5C 00324CBC 7C 03 00 00 */ cmpw r3, r0 +/* 80327D60 00324CC0 41 82 04 F0 */ beq lbl_80328250 +/* 80327D64 00324CC4 48 00 06 60 */ b lbl_803283C4 +lbl_80327D68: +/* 80327D68 00324CC8 3C 80 54 53 */ lis r4, 0x5453434C@ha +/* 80327D6C 00324CCC 38 04 43 4C */ addi r0, r4, 0x5453434C@l +/* 80327D70 00324CD0 7C 03 00 00 */ cmpw r3, r0 +/* 80327D74 00324CD4 41 82 00 74 */ beq lbl_80327DE8 +/* 80327D78 00324CD8 48 00 06 4C */ b lbl_803283C4 +lbl_80327D7C: +/* 80327D7C 00324CDC 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80327D80 00324CE0 38 60 00 08 */ li r3, 8 +/* 80327D84 00324CE4 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80327D88 00324CE8 38 A0 00 00 */ li r5, 0 +/* 80327D8C 00324CEC 48 04 4C F9 */ bl __nw__FUlPCcPCc_0 +/* 80327D90 00324CF0 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80327D94 00324CF4 41 82 00 1C */ beq lbl_80327DB0 +/* 80327D98 00324CF8 7F E3 FB 78 */ mr r3, r31 +/* 80327D9C 00324CFC 48 00 06 6D */ bl GetInt__20CParticleDataFactoryFR12CInputStream +/* 80327DA0 00324D00 7C 64 1B 78 */ mr r4, r3 +/* 80327DA4 00324D04 7F C3 F3 78 */ mr r3, r30 +/* 80327DA8 00324D08 4B FF AB 41 */ bl __ct__11CIEConstantFi +/* 80327DAC 00324D0C 7C 7E 1B 78 */ mr r30, r3 +lbl_80327DB0: +/* 80327DB0 00324D10 7F C3 F3 78 */ mr r3, r30 +/* 80327DB4 00324D14 48 00 06 14 */ b lbl_803283C8 +lbl_80327DB8: +/* 80327DB8 00324D18 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80327DBC 00324D1C 38 60 00 28 */ li r3, 0x28 +/* 80327DC0 00324D20 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80327DC4 00324D24 38 A0 00 00 */ li r5, 0 +/* 80327DC8 00324D28 48 04 4C BD */ bl __nw__FUlPCcPCc_0 +/* 80327DCC 00324D2C 7C 60 1B 79 */ or. r0, r3, r3 +/* 80327DD0 00324D30 41 82 00 10 */ beq lbl_80327DE0 +/* 80327DD4 00324D34 7F E4 FB 78 */ mr r4, r31 +/* 80327DD8 00324D38 4B FF 94 D5 */ bl __ct__18CIEKeyframeEmitterFR12CInputStream +/* 80327DDC 00324D3C 7C 60 1B 78 */ mr r0, r3 +lbl_80327DE0: +/* 80327DE0 00324D40 7C 03 03 78 */ mr r3, r0 +/* 80327DE4 00324D44 48 00 05 E4 */ b lbl_803283C8 +lbl_80327DE8: +/* 80327DE8 00324D48 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80327DEC 00324D4C 38 60 00 08 */ li r3, 8 +/* 80327DF0 00324D50 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80327DF4 00324D54 38 A0 00 00 */ li r5, 0 +/* 80327DF8 00324D58 48 04 4C 8D */ bl __nw__FUlPCcPCc_0 +/* 80327DFC 00324D5C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80327E00 00324D60 41 82 00 1C */ beq lbl_80327E1C +/* 80327E04 00324D64 7F E3 FB 78 */ mr r3, r31 +/* 80327E08 00324D68 4B FF EE 89 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80327E0C 00324D6C 7C 64 1B 78 */ mr r4, r3 +/* 80327E10 00324D70 7F C3 F3 78 */ mr r3, r30 +/* 80327E14 00324D74 4B FF 9F A5 */ bl __ct__12CIETimescaleFP12CRealElement +/* 80327E18 00324D78 7C 7E 1B 78 */ mr r30, r3 +lbl_80327E1C: +/* 80327E1C 00324D7C 7F C3 F3 78 */ mr r3, r30 +/* 80327E20 00324D80 48 00 05 A8 */ b lbl_803283C8 +lbl_80327E24: +/* 80327E24 00324D84 7F E3 FB 78 */ mr r3, r31 +/* 80327E28 00324D88 4B FF FD 7D */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 80327E2C 00324D8C 7C 60 1B 78 */ mr r0, r3 +/* 80327E30 00324D90 7F E3 FB 78 */ mr r3, r31 +/* 80327E34 00324D94 7C 1E 03 78 */ mr r30, r0 +/* 80327E38 00324D98 4B FF FD 6D */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 80327E3C 00324D9C 7C 60 1B 78 */ mr r0, r3 +/* 80327E40 00324DA0 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80327E44 00324DA4 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80327E48 00324DA8 38 60 00 0C */ li r3, 0xc +/* 80327E4C 00324DAC 7C 1F 03 78 */ mr r31, r0 +/* 80327E50 00324DB0 38 A0 00 00 */ li r5, 0 +/* 80327E54 00324DB4 48 04 4C 31 */ bl __nw__FUlPCcPCc_0 +/* 80327E58 00324DB8 7C 60 1B 79 */ or. r0, r3, r3 +/* 80327E5C 00324DBC 41 82 00 14 */ beq lbl_80327E70 +/* 80327E60 00324DC0 7F C4 F3 78 */ mr r4, r30 +/* 80327E64 00324DC4 7F E5 FB 78 */ mr r5, r31 +/* 80327E68 00324DC8 4B FF A9 D1 */ bl __ct__8CIEDeathFP11CIntElementP11CIntElement +/* 80327E6C 00324DCC 7C 60 1B 78 */ mr r0, r3 +lbl_80327E70: +/* 80327E70 00324DD0 7C 03 03 78 */ mr r3, r0 +/* 80327E74 00324DD4 48 00 05 54 */ b lbl_803283C8 +lbl_80327E78: +/* 80327E78 00324DD8 7F E3 FB 78 */ mr r3, r31 +/* 80327E7C 00324DDC 4B FF FD 29 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 80327E80 00324DE0 7C 60 1B 78 */ mr r0, r3 +/* 80327E84 00324DE4 7F E3 FB 78 */ mr r3, r31 +/* 80327E88 00324DE8 7C 1E 03 78 */ mr r30, r0 +/* 80327E8C 00324DEC 4B FF FD 19 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 80327E90 00324DF0 7C 60 1B 78 */ mr r0, r3 +/* 80327E94 00324DF4 7F E3 FB 78 */ mr r3, r31 +/* 80327E98 00324DF8 7C 1F 03 78 */ mr r31, r0 +/* 80327E9C 00324DFC 4B FF FD 09 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 80327EA0 00324E00 7C 60 1B 78 */ mr r0, r3 +/* 80327EA4 00324E04 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80327EA8 00324E08 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80327EAC 00324E0C 38 60 00 10 */ li r3, 0x10 +/* 80327EB0 00324E10 7C 1D 03 78 */ mr r29, r0 +/* 80327EB4 00324E14 38 A0 00 00 */ li r5, 0 +/* 80327EB8 00324E18 48 04 4B CD */ bl __nw__FUlPCcPCc_0 +/* 80327EBC 00324E1C 7C 60 1B 79 */ or. r0, r3, r3 +/* 80327EC0 00324E20 41 82 00 18 */ beq lbl_80327ED8 +/* 80327EC4 00324E24 7F C4 F3 78 */ mr r4, r30 +/* 80327EC8 00324E28 7F E5 FB 78 */ mr r5, r31 +/* 80327ECC 00324E2C 7F A6 EB 78 */ mr r6, r29 +/* 80327ED0 00324E30 4B FF 9C 11 */ bl __ct__12CIETimeChainFP11CIntElementP11CIntElementP11CIntElement +/* 80327ED4 00324E34 7C 60 1B 78 */ mr r0, r3 +lbl_80327ED8: +/* 80327ED8 00324E38 7C 03 03 78 */ mr r3, r0 +/* 80327EDC 00324E3C 48 00 04 EC */ b lbl_803283C8 +lbl_80327EE0: +/* 80327EE0 00324E40 7F E3 FB 78 */ mr r3, r31 +/* 80327EE4 00324E44 4B FF FC C1 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 80327EE8 00324E48 7C 60 1B 78 */ mr r0, r3 +/* 80327EEC 00324E4C 7F E3 FB 78 */ mr r3, r31 +/* 80327EF0 00324E50 7C 1D 03 78 */ mr r29, r0 +/* 80327EF4 00324E54 4B FF FC B1 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 80327EF8 00324E58 7C 60 1B 78 */ mr r0, r3 +/* 80327EFC 00324E5C 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80327F00 00324E60 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80327F04 00324E64 38 60 00 0C */ li r3, 0xc +/* 80327F08 00324E68 7C 1E 03 78 */ mr r30, r0 +/* 80327F0C 00324E6C 38 A0 00 00 */ li r5, 0 +/* 80327F10 00324E70 48 04 4B 75 */ bl __nw__FUlPCcPCc_0 +/* 80327F14 00324E74 7C 60 1B 79 */ or. r0, r3, r3 +/* 80327F18 00324E78 41 82 00 14 */ beq lbl_80327F2C +/* 80327F1C 00324E7C 7F A4 EB 78 */ mr r4, r29 +/* 80327F20 00324E80 7F C5 F3 78 */ mr r5, r30 +/* 80327F24 00324E84 4B FF A7 A9 */ bl __ct__6CIEAddFP11CIntElementP11CIntElement +/* 80327F28 00324E88 7C 60 1B 78 */ mr r0, r3 +lbl_80327F2C: +/* 80327F2C 00324E8C 7C 03 03 78 */ mr r3, r0 +/* 80327F30 00324E90 48 00 04 98 */ b lbl_803283C8 +lbl_80327F34: +/* 80327F34 00324E94 7F E3 FB 78 */ mr r3, r31 +/* 80327F38 00324E98 4B FF FC 6D */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 80327F3C 00324E9C 7C 60 1B 78 */ mr r0, r3 +/* 80327F40 00324EA0 7F E3 FB 78 */ mr r3, r31 +/* 80327F44 00324EA4 7C 1D 03 78 */ mr r29, r0 +/* 80327F48 00324EA8 4B FF FC 5D */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 80327F4C 00324EAC 7C 60 1B 78 */ mr r0, r3 +/* 80327F50 00324EB0 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80327F54 00324EB4 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80327F58 00324EB8 38 60 00 0C */ li r3, 0xc +/* 80327F5C 00324EBC 7C 1E 03 78 */ mr r30, r0 +/* 80327F60 00324EC0 38 A0 00 00 */ li r5, 0 +/* 80327F64 00324EC4 48 04 4B 21 */ bl __nw__FUlPCcPCc_0 +/* 80327F68 00324EC8 7C 60 1B 79 */ or. r0, r3, r3 +/* 80327F6C 00324ECC 41 82 00 14 */ beq lbl_80327F80 +/* 80327F70 00324ED0 7F A4 EB 78 */ mr r4, r29 +/* 80327F74 00324ED4 7F C5 F3 78 */ mr r5, r30 +/* 80327F78 00324ED8 4B FF A5 DD */ bl __ct__11CIEMultiplyFP11CIntElementP11CIntElement +/* 80327F7C 00324EDC 7C 60 1B 78 */ mr r0, r3 +lbl_80327F80: +/* 80327F80 00324EE0 7C 03 03 78 */ mr r3, r0 +/* 80327F84 00324EE4 48 00 04 44 */ b lbl_803283C8 +lbl_80327F88: +/* 80327F88 00324EE8 7F E3 FB 78 */ mr r3, r31 +/* 80327F8C 00324EEC 4B FF FC 19 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 80327F90 00324EF0 7C 60 1B 78 */ mr r0, r3 +/* 80327F94 00324EF4 7F E3 FB 78 */ mr r3, r31 +/* 80327F98 00324EF8 7C 1D 03 78 */ mr r29, r0 +/* 80327F9C 00324EFC 4B FF FC 09 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 80327FA0 00324F00 7C 60 1B 78 */ mr r0, r3 +/* 80327FA4 00324F04 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80327FA8 00324F08 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80327FAC 00324F0C 38 60 00 0C */ li r3, 0xc +/* 80327FB0 00324F10 7C 1E 03 78 */ mr r30, r0 +/* 80327FB4 00324F14 38 A0 00 00 */ li r5, 0 +/* 80327FB8 00324F18 48 04 4A CD */ bl __nw__FUlPCcPCc_0 +/* 80327FBC 00324F1C 7C 60 1B 79 */ or. r0, r3, r3 +/* 80327FC0 00324F20 41 82 00 14 */ beq lbl_80327FD4 +/* 80327FC4 00324F24 7F A4 EB 78 */ mr r4, r29 +/* 80327FC8 00324F28 7F C5 F3 78 */ mr r5, r30 +/* 80327FCC 00324F2C 4B FF A4 11 */ bl __ct__9CIEModuloFP11CIntElementP11CIntElement +/* 80327FD0 00324F30 7C 60 1B 78 */ mr r0, r3 +lbl_80327FD4: +/* 80327FD4 00324F34 7C 03 03 78 */ mr r3, r0 +/* 80327FD8 00324F38 48 00 03 F0 */ b lbl_803283C8 +lbl_80327FDC: +/* 80327FDC 00324F3C 7F E3 FB 78 */ mr r3, r31 +/* 80327FE0 00324F40 4B FF FB C5 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 80327FE4 00324F44 7C 60 1B 78 */ mr r0, r3 +/* 80327FE8 00324F48 7F E3 FB 78 */ mr r3, r31 +/* 80327FEC 00324F4C 7C 1D 03 78 */ mr r29, r0 +/* 80327FF0 00324F50 4B FF FB B5 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 80327FF4 00324F54 7C 60 1B 78 */ mr r0, r3 +/* 80327FF8 00324F58 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80327FFC 00324F5C 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80328000 00324F60 38 60 00 0C */ li r3, 0xc +/* 80328004 00324F64 7C 1E 03 78 */ mr r30, r0 +/* 80328008 00324F68 38 A0 00 00 */ li r5, 0 +/* 8032800C 00324F6C 48 04 4A 79 */ bl __nw__FUlPCcPCc_0 +/* 80328010 00324F70 7C 60 1B 79 */ or. r0, r3, r3 +/* 80328014 00324F74 41 82 00 14 */ beq lbl_80328028 +/* 80328018 00324F78 7F A4 EB 78 */ mr r4, r29 +/* 8032801C 00324F7C 7F C5 F3 78 */ mr r5, r30 +/* 80328020 00324F80 4B FF A2 29 */ bl __ct__9CIERandomFP11CIntElementP11CIntElement +/* 80328024 00324F84 7C 60 1B 78 */ mr r0, r3 +lbl_80328028: +/* 80328028 00324F88 7C 03 03 78 */ mr r3, r0 +/* 8032802C 00324F8C 48 00 03 9C */ b lbl_803283C8 +lbl_80328030: +/* 80328030 00324F90 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80328034 00324F94 38 60 00 08 */ li r3, 8 +/* 80328038 00324F98 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 8032803C 00324F9C 38 A0 00 00 */ li r5, 0 +/* 80328040 00324FA0 48 04 4A 45 */ bl __nw__FUlPCcPCc_0 +/* 80328044 00324FA4 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80328048 00324FA8 41 82 00 1C */ beq lbl_80328064 +/* 8032804C 00324FAC 7F E3 FB 78 */ mr r3, r31 +/* 80328050 00324FB0 4B FF FB 55 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 80328054 00324FB4 7C 64 1B 78 */ mr r4, r3 +/* 80328058 00324FB8 7F C3 F3 78 */ mr r3, r30 +/* 8032805C 00324FBC 4B FF 9E 71 */ bl __ct__10CIEImpulseFP11CIntElement +/* 80328060 00324FC0 7C 7E 1B 78 */ mr r30, r3 +lbl_80328064: +/* 80328064 00324FC4 7F C3 F3 78 */ mr r3, r30 +/* 80328068 00324FC8 48 00 03 60 */ b lbl_803283C8 +lbl_8032806C: +/* 8032806C 00324FCC 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80328070 00324FD0 38 60 00 08 */ li r3, 8 +/* 80328074 00324FD4 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80328078 00324FD8 38 A0 00 00 */ li r5, 0 +/* 8032807C 00324FDC 48 04 4A 09 */ bl __nw__FUlPCcPCc_0 +/* 80328080 00324FE0 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80328084 00324FE4 41 82 00 1C */ beq lbl_803280A0 +/* 80328088 00324FE8 7F E3 FB 78 */ mr r3, r31 +/* 8032808C 00324FEC 4B FF FB 19 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 80328090 00324FF0 7C 64 1B 78 */ mr r4, r3 +/* 80328094 00324FF4 7F C3 F3 78 */ mr r3, r30 +/* 80328098 00324FF8 4B FF 94 8D */ bl __ct__18CIELifetimePercentFP11CIntElement +/* 8032809C 00324FFC 7C 7E 1B 78 */ mr r30, r3 +lbl_803280A0: +/* 803280A0 00325000 7F C3 F3 78 */ mr r3, r30 +/* 803280A4 00325004 48 00 03 24 */ b lbl_803283C8 +lbl_803280A8: +/* 803280A8 00325008 7F E3 FB 78 */ mr r3, r31 +/* 803280AC 0032500C 4B FF FA F9 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 803280B0 00325010 7C 60 1B 78 */ mr r0, r3 +/* 803280B4 00325014 7F E3 FB 78 */ mr r3, r31 +/* 803280B8 00325018 7C 1D 03 78 */ mr r29, r0 +/* 803280BC 0032501C 4B FF FA E9 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 803280C0 00325020 7C 60 1B 78 */ mr r0, r3 +/* 803280C4 00325024 7F E3 FB 78 */ mr r3, r31 +/* 803280C8 00325028 7C 1E 03 78 */ mr r30, r0 +/* 803280CC 0032502C 4B FF FA D9 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 803280D0 00325030 7C 60 1B 78 */ mr r0, r3 +/* 803280D4 00325034 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 803280D8 00325038 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 803280DC 0032503C 38 60 00 18 */ li r3, 0x18 +/* 803280E0 00325040 7C 1F 03 78 */ mr r31, r0 +/* 803280E4 00325044 38 A0 00 00 */ li r5, 0 +/* 803280E8 00325048 48 04 49 9D */ bl __nw__FUlPCcPCc_0 +/* 803280EC 0032504C 7C 60 1B 79 */ or. r0, r3, r3 +/* 803280F0 00325050 41 82 00 18 */ beq lbl_80328108 +/* 803280F4 00325054 7F E4 FB 78 */ mr r4, r31 +/* 803280F8 00325058 7F A5 EB 78 */ mr r5, r29 +/* 803280FC 0032505C 7F C6 F3 78 */ mr r6, r30 +/* 80328100 00325060 4B FF 9F A5 */ bl __ct__16CIESampleAndHoldFP11CIntElementP11CIntElementP11CIntElement +/* 80328104 00325064 7C 60 1B 78 */ mr r0, r3 +lbl_80328108: +/* 80328108 00325068 7C 03 03 78 */ mr r3, r0 +/* 8032810C 0032506C 48 00 02 BC */ b lbl_803283C8 +lbl_80328110: +/* 80328110 00325070 7F E3 FB 78 */ mr r3, r31 +/* 80328114 00325074 4B FF FA 91 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 80328118 00325078 7C 60 1B 78 */ mr r0, r3 +/* 8032811C 0032507C 7F E3 FB 78 */ mr r3, r31 +/* 80328120 00325080 7C 1D 03 78 */ mr r29, r0 +/* 80328124 00325084 4B FF FA 81 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 80328128 00325088 7C 60 1B 78 */ mr r0, r3 +/* 8032812C 0032508C 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80328130 00325090 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80328134 00325094 38 60 00 0C */ li r3, 0xc +/* 80328138 00325098 7C 1E 03 78 */ mr r30, r0 +/* 8032813C 0032509C 38 A0 00 00 */ li r5, 0 +/* 80328140 003250A0 48 04 49 45 */ bl __nw__FUlPCcPCc_0 +/* 80328144 003250A4 7C 60 1B 79 */ or. r0, r3, r3 +/* 80328148 003250A8 41 82 00 14 */ beq lbl_8032815C +/* 8032814C 003250AC 7F A4 EB 78 */ mr r4, r29 +/* 80328150 003250B0 7F C5 F3 78 */ mr r5, r30 +/* 80328154 003250B4 4B FF 9B 11 */ bl __ct__16CIEInitialRandomFP11CIntElementP11CIntElement +/* 80328158 003250B8 7C 60 1B 78 */ mr r0, r3 +lbl_8032815C: +/* 8032815C 003250BC 7C 03 03 78 */ mr r3, r0 +/* 80328160 003250C0 48 00 02 68 */ b lbl_803283C8 +lbl_80328164: +/* 80328164 003250C4 7F E3 FB 78 */ mr r3, r31 +/* 80328168 003250C8 4B FF FA 3D */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 8032816C 003250CC 7C 60 1B 78 */ mr r0, r3 +/* 80328170 003250D0 7F E3 FB 78 */ mr r3, r31 +/* 80328174 003250D4 7C 1D 03 78 */ mr r29, r0 +/* 80328178 003250D8 4B FF FA 2D */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 8032817C 003250DC 7C 60 1B 78 */ mr r0, r3 +/* 80328180 003250E0 7F E3 FB 78 */ mr r3, r31 +/* 80328184 003250E4 7C 1E 03 78 */ mr r30, r0 +/* 80328188 003250E8 4B FF FA 1D */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 8032818C 003250EC 7C 60 1B 78 */ mr r0, r3 +/* 80328190 003250F0 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80328194 003250F4 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80328198 003250F8 38 60 00 10 */ li r3, 0x10 +/* 8032819C 003250FC 7C 1F 03 78 */ mr r31, r0 +/* 803281A0 00325100 38 A0 00 00 */ li r5, 0 +/* 803281A4 00325104 48 04 48 E1 */ bl __nw__FUlPCcPCc_0 +/* 803281A8 00325108 7C 60 1B 79 */ or. r0, r3, r3 +/* 803281AC 0032510C 41 82 00 18 */ beq lbl_803281C4 +/* 803281B0 00325110 7F A4 EB 78 */ mr r4, r29 +/* 803281B4 00325114 7F C5 F3 78 */ mr r5, r30 +/* 803281B8 00325118 7F E6 FB 78 */ mr r6, r31 +/* 803281BC 0032511C 4B FF 97 71 */ bl __ct__8CIEClampFP11CIntElementP11CIntElementP11CIntElement +/* 803281C0 00325120 7C 60 1B 78 */ mr r0, r3 +lbl_803281C4: +/* 803281C4 00325124 7C 03 03 78 */ mr r3, r0 +/* 803281C8 00325128 48 00 02 00 */ b lbl_803283C8 +lbl_803281CC: +/* 803281CC 0032512C 7F E3 FB 78 */ mr r3, r31 +/* 803281D0 00325130 4B FF F9 D5 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 803281D4 00325134 7C 60 1B 78 */ mr r0, r3 +/* 803281D8 00325138 7F E3 FB 78 */ mr r3, r31 +/* 803281DC 0032513C 7C 1D 03 78 */ mr r29, r0 +/* 803281E0 00325140 4B FF F9 C5 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 803281E4 00325144 7C 60 1B 78 */ mr r0, r3 +/* 803281E8 00325148 7F E3 FB 78 */ mr r3, r31 +/* 803281EC 0032514C 7C 1E 03 78 */ mr r30, r0 +/* 803281F0 00325150 4B FF F9 B5 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 803281F4 00325154 7C 60 1B 78 */ mr r0, r3 +/* 803281F8 00325158 7F E3 FB 78 */ mr r3, r31 +/* 803281FC 0032515C 7C 1F 03 78 */ mr r31, r0 +/* 80328200 00325160 4B FF F9 A5 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 80328204 00325164 7C 60 1B 78 */ mr r0, r3 +/* 80328208 00325168 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 8032820C 0032516C 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80328210 00325170 38 60 00 14 */ li r3, 0x14 +/* 80328214 00325174 7C 1C 03 78 */ mr r28, r0 +/* 80328218 00325178 38 A0 00 00 */ li r5, 0 +/* 8032821C 0032517C 48 04 48 69 */ bl __nw__FUlPCcPCc_0 +/* 80328220 00325180 7C 60 1B 79 */ or. r0, r3, r3 +/* 80328224 00325184 41 82 00 1C */ beq lbl_80328240 +/* 80328228 00325188 7F A4 EB 78 */ mr r4, r29 +/* 8032822C 0032518C 7F C5 F3 78 */ mr r5, r30 +/* 80328230 00325190 7F E6 FB 78 */ mr r6, r31 +/* 80328234 00325194 7F 87 E3 78 */ mr r7, r28 +/* 80328238 00325198 4B FF 95 21 */ bl __ct__8CIEPulseFP11CIntElementP11CIntElementP11CIntElementP11CIntElement +/* 8032823C 0032519C 7C 60 1B 78 */ mr r0, r3 +lbl_80328240: +/* 80328240 003251A0 7C 03 03 78 */ mr r3, r0 +/* 80328244 003251A4 48 00 01 84 */ b lbl_803283C8 +lbl_80328248: +/* 80328248 003251A8 38 60 00 00 */ li r3, 0 +/* 8032824C 003251AC 48 00 01 7C */ b lbl_803283C8 +lbl_80328250: +/* 80328250 003251B0 7F E3 FB 78 */ mr r3, r31 +/* 80328254 003251B4 4B FF EA 3D */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80328258 003251B8 7C 60 1B 78 */ mr r0, r3 +/* 8032825C 003251BC 7F E3 FB 78 */ mr r3, r31 +/* 80328260 003251C0 7C 1C 03 78 */ mr r28, r0 +/* 80328264 003251C4 4B FF EA 2D */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80328268 003251C8 7C 60 1B 78 */ mr r0, r3 +/* 8032826C 003251CC 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80328270 003251D0 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80328274 003251D4 38 60 00 0C */ li r3, 0xc +/* 80328278 003251D8 7C 1D 03 78 */ mr r29, r0 +/* 8032827C 003251DC 38 A0 00 00 */ li r5, 0 +/* 80328280 003251E0 48 04 48 05 */ bl __nw__FUlPCcPCc_0 +/* 80328284 003251E4 7C 60 1B 79 */ or. r0, r3, r3 +/* 80328288 003251E8 41 82 00 14 */ beq lbl_8032829C +/* 8032828C 003251EC 7F 84 E3 78 */ mr r4, r28 +/* 80328290 003251F0 7F A5 EB 78 */ mr r5, r29 +/* 80328294 003251F4 4B FF 8C 65 */ bl __ct__12CIERealToIntFP12CRealElementP12CRealElement +/* 80328298 003251F8 7C 60 1B 78 */ mr r0, r3 +lbl_8032829C: +/* 8032829C 003251FC 7C 03 03 78 */ mr r3, r0 +/* 803282A0 00325200 48 00 01 28 */ b lbl_803283C8 +lbl_803282A4: +/* 803282A4 00325204 7F E3 FB 78 */ mr r3, r31 +/* 803282A8 00325208 4B FF F8 FD */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 803282AC 0032520C 7C 60 1B 78 */ mr r0, r3 +/* 803282B0 00325210 7F E3 FB 78 */ mr r3, r31 +/* 803282B4 00325214 7C 1C 03 78 */ mr r28, r0 +/* 803282B8 00325218 4B FF F8 ED */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 803282BC 0032521C 7C 60 1B 78 */ mr r0, r3 +/* 803282C0 00325220 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 803282C4 00325224 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 803282C8 00325228 38 60 00 0C */ li r3, 0xc +/* 803282CC 0032522C 7C 1D 03 78 */ mr r29, r0 +/* 803282D0 00325230 38 A0 00 00 */ li r5, 0 +/* 803282D4 00325234 48 04 47 B1 */ bl __nw__FUlPCcPCc_0 +/* 803282D8 00325238 7C 60 1B 79 */ or. r0, r3, r3 +/* 803282DC 0032523C 41 82 00 14 */ beq lbl_803282F0 +/* 803282E0 00325240 7F 84 E3 78 */ mr r4, r28 +/* 803282E4 00325244 7F A5 EB 78 */ mr r5, r29 +/* 803282E8 00325248 4B FF 8D 89 */ bl __ct__11CIESubtractFP11CIntElementP11CIntElement +/* 803282EC 0032524C 7C 60 1B 78 */ mr r0, r3 +lbl_803282F0: +/* 803282F0 00325250 7C 03 03 78 */ mr r3, r0 +/* 803282F4 00325254 48 00 00 D4 */ b lbl_803283C8 +lbl_803282F8: +/* 803282F8 00325258 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 803282FC 0032525C 38 60 00 04 */ li r3, 4 +/* 80328300 00325260 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80328304 00325264 38 A0 00 00 */ li r5, 0 +/* 80328308 00325268 48 04 47 7D */ bl __nw__FUlPCcPCc_0 +/* 8032830C 0032526C 28 03 00 00 */ cmplwi r3, 0 +/* 80328310 00325270 41 82 00 B8 */ beq lbl_803283C8 +/* 80328314 00325274 3C 80 80 3F */ lis r4, lbl_803EC5A8@ha +/* 80328318 00325278 3C A0 80 3F */ lis r5, lbl_803EC584@ha +/* 8032831C 0032527C 38 04 C5 A8 */ addi r0, r4, lbl_803EC5A8@l +/* 80328320 00325280 3C 80 80 3F */ lis r4, lbl_803EDB18@ha +/* 80328324 00325284 90 03 00 00 */ stw r0, 0(r3) +/* 80328328 00325288 38 A5 C5 84 */ addi r5, r5, lbl_803EC584@l +/* 8032832C 0032528C 38 04 DB 18 */ addi r0, r4, lbl_803EDB18@l +/* 80328330 00325290 90 A3 00 00 */ stw r5, 0(r3) +/* 80328334 00325294 90 03 00 00 */ stw r0, 0(r3) +/* 80328338 00325298 48 00 00 90 */ b lbl_803283C8 +lbl_8032833C: +/* 8032833C 0032529C 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80328340 003252A0 38 60 00 04 */ li r3, 4 +/* 80328344 003252A4 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80328348 003252A8 38 A0 00 00 */ li r5, 0 +/* 8032834C 003252AC 48 04 47 39 */ bl __nw__FUlPCcPCc_0 +/* 80328350 003252B0 28 03 00 00 */ cmplwi r3, 0 +/* 80328354 003252B4 41 82 00 74 */ beq lbl_803283C8 +/* 80328358 003252B8 3C 80 80 3F */ lis r4, lbl_803EC5A8@ha +/* 8032835C 003252BC 3C A0 80 3F */ lis r5, lbl_803EC584@ha +/* 80328360 003252C0 38 04 C5 A8 */ addi r0, r4, lbl_803EC5A8@l +/* 80328364 003252C4 3C 80 80 3F */ lis r4, lbl_803EDB08@ha +/* 80328368 003252C8 90 03 00 00 */ stw r0, 0(r3) +/* 8032836C 003252CC 38 A5 C5 84 */ addi r5, r5, lbl_803EC584@l +/* 80328370 003252D0 38 04 DB 08 */ addi r0, r4, lbl_803EDB08@l +/* 80328374 003252D4 90 A3 00 00 */ stw r5, 0(r3) +/* 80328378 003252D8 90 03 00 00 */ stw r0, 0(r3) +/* 8032837C 003252DC 48 00 00 4C */ b lbl_803283C8 +lbl_80328380: +/* 80328380 003252E0 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80328384 003252E4 38 60 00 04 */ li r3, 4 +/* 80328388 003252E8 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 8032838C 003252EC 38 A0 00 00 */ li r5, 0 +/* 80328390 003252F0 48 04 46 F5 */ bl __nw__FUlPCcPCc_0 +/* 80328394 003252F4 28 03 00 00 */ cmplwi r3, 0 +/* 80328398 003252F8 41 82 00 30 */ beq lbl_803283C8 +/* 8032839C 003252FC 3C 80 80 3F */ lis r4, lbl_803EC5A8@ha +/* 803283A0 00325300 3C A0 80 3F */ lis r5, lbl_803EC584@ha +/* 803283A4 00325304 38 04 C5 A8 */ addi r0, r4, lbl_803EC5A8@l +/* 803283A8 00325308 3C 80 80 3F */ lis r4, lbl_803EDAF8@ha +/* 803283AC 0032530C 90 03 00 00 */ stw r0, 0(r3) +/* 803283B0 00325310 38 A5 C5 84 */ addi r5, r5, lbl_803EC584@l +/* 803283B4 00325314 38 04 DA F8 */ addi r0, r4, lbl_803EDAF8@l +/* 803283B8 00325318 90 A3 00 00 */ stw r5, 0(r3) +/* 803283BC 0032531C 90 03 00 00 */ stw r0, 0(r3) +/* 803283C0 00325320 48 00 00 08 */ b lbl_803283C8 +lbl_803283C4: +/* 803283C4 00325324 38 60 00 00 */ li r3, 0 +lbl_803283C8: +/* 803283C8 00325328 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803283CC 0032532C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803283D0 00325330 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 803283D4 00325334 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 803283D8 00325338 83 81 00 10 */ lwz r28, 0x10(r1) +/* 803283DC 0032533C 7C 08 03 A6 */ mtlr r0 +/* 803283E0 00325340 38 21 00 20 */ addi r1, r1, 0x20 +/* 803283E4 00325344 4E 80 00 20 */ blr + +.global GetReal__20CParticleDataFactoryFR12CInputStream +GetReal__20CParticleDataFactoryFR12CInputStream: +/* 803283E8 00325348 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803283EC 0032534C 7C 08 02 A6 */ mflr r0 +/* 803283F0 00325350 90 01 00 14 */ stw r0, 0x14(r1) +/* 803283F4 00325354 48 01 68 35 */ bl ReadFloat__12CInputStreamFv +/* 803283F8 00325358 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803283FC 0032535C 7C 08 03 A6 */ mtlr r0 +/* 80328400 00325360 38 21 00 10 */ addi r1, r1, 0x10 +/* 80328404 00325364 4E 80 00 20 */ blr + +.global GetInt__20CParticleDataFactoryFR12CInputStream +GetInt__20CParticleDataFactoryFR12CInputStream: +/* 80328408 00325368 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8032840C 0032536C 7C 08 02 A6 */ mflr r0 +/* 80328410 00325370 90 01 00 14 */ stw r0, 0x14(r1) +/* 80328414 00325374 48 01 68 71 */ bl ReadLong__12CInputStreamFv +/* 80328418 00325378 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8032841C 0032537C 7C 08 03 A6 */ mtlr r0 +/* 80328420 00325380 38 21 00 10 */ addi r1, r1, 0x10 +/* 80328424 00325384 4E 80 00 20 */ blr + +.global GetBool__20CParticleDataFactoryFR12CInputStream +GetBool__20CParticleDataFactoryFR12CInputStream: +/* 80328428 00325388 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8032842C 0032538C 7C 08 02 A6 */ mflr r0 +/* 80328430 00325390 90 01 00 14 */ stw r0, 0x14(r1) +/* 80328434 00325394 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80328438 00325398 7C 7F 1B 78 */ mr r31, r3 +/* 8032843C 0032539C 48 00 00 21 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream +/* 80328440 003253A0 7F E3 FB 78 */ mr r3, r31 +/* 80328444 003253A4 48 01 68 99 */ bl ReadBool__12CInputStreamFv +/* 80328448 003253A8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8032844C 003253AC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80328450 003253B0 7C 08 03 A6 */ mtlr r0 +/* 80328454 003253B4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80328458 003253B8 4E 80 00 20 */ blr + +.global GetClassID__20CParticleDataFactoryFR12CInputStream +GetClassID__20CParticleDataFactoryFR12CInputStream: +/* 8032845C 003253BC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80328460 003253C0 7C 08 02 A6 */ mflr r0 +/* 80328464 003253C4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80328468 003253C8 48 01 68 1D */ bl ReadLong__12CInputStreamFv +/* 8032846C 003253CC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80328470 003253D0 7C 08 03 A6 */ mtlr r0 +/* 80328474 003253D4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80328478 003253D8 4E 80 00 20 */ blr + +.global "CreateGPSM__20CParticleDataFactoryFP15CGenDescriptionR12CInputStreamRQ24rstl37vectorP11CSimplePool" +"CreateGPSM__20CParticleDataFactoryFP15CGenDescriptionR12CInputStreamRQ24rstl37vectorP11CSimplePool": +/* 8032847C 003253DC 94 21 FE A0 */ stwu r1, -0x160(r1) +/* 80328480 003253E0 7C 08 02 A6 */ mflr r0 +/* 80328484 003253E4 90 01 01 64 */ stw r0, 0x164(r1) +/* 80328488 003253E8 BF 21 01 44 */ stmw r25, 0x144(r1) +/* 8032848C 003253EC 7C 7F 1B 78 */ mr r31, r3 +/* 80328490 003253F0 7C 9E 23 78 */ mr r30, r4 +/* 80328494 003253F4 7C BC 2B 78 */ mr r28, r5 +/* 80328498 003253F8 7C DD 33 78 */ mr r29, r6 +/* 8032849C 003253FC 38 61 00 08 */ addi r3, r1, 8 +/* 803284A0 00325400 3B 60 00 00 */ li r27, 0 +/* 803284A4 00325404 38 80 00 63 */ li r4, 0x63 +/* 803284A8 00325408 4B FE A1 45 */ bl __ct__9CRandom16FUi +/* 803284AC 0032540C 38 61 01 34 */ addi r3, r1, 0x134 +/* 803284B0 00325410 38 81 00 08 */ addi r4, r1, 8 +/* 803284B4 00325414 4B FE A1 CD */ bl __ct__13CGlobalRandomFR9CRandom16 +/* 803284B8 00325418 48 00 15 58 */ b lbl_80329A10 +lbl_803284BC: +/* 803284BC 0032541C 7F C3 F3 78 */ mr r3, r30 +/* 803284C0 00325420 4B FF FF 9D */ bl GetClassID__20CParticleDataFactoryFR12CInputStream +/* 803284C4 00325424 7C 03 D0 00 */ cmpw r3, r26 +/* 803284C8 00325428 41 82 10 40 */ beq lbl_80329508 +/* 803284CC 0032542C 40 80 02 D4 */ bge lbl_803287A0 +/* 803284D0 00325430 3C 80 4C 43 */ lis r4, 0x4C434C52@ha +/* 803284D4 00325434 38 04 4C 52 */ addi r0, r4, 0x4C434C52@l +/* 803284D8 00325438 7C 03 00 00 */ cmpw r3, r0 +/* 803284DC 0032543C 41 82 14 10 */ beq lbl_803298EC +/* 803284E0 00325440 40 80 01 6C */ bge lbl_8032864C +/* 803284E4 00325444 3C 80 45 4D */ lis r4, 0x454D5452@ha +/* 803284E8 00325448 38 04 54 52 */ addi r0, r4, 0x454D5452@l +/* 803284EC 0032544C 7C 03 00 00 */ cmpw r3, r0 +/* 803284F0 00325450 41 82 07 24 */ beq lbl_80328C14 +/* 803284F4 00325454 40 80 00 B8 */ bge lbl_803285AC +/* 803284F8 00325458 3C A0 41 44 */ lis r5, 0x41445637@ha +/* 803284FC 0032545C 38 05 56 37 */ addi r0, r5, 0x41445637@l +/* 80328500 00325460 7C 03 00 00 */ cmpw r3, r0 +/* 80328504 00325464 41 82 14 D0 */ beq lbl_803299D4 +/* 80328508 00325468 40 80 00 58 */ bge lbl_80328560 +/* 8032850C 0032546C 38 05 56 32 */ addi r0, r5, 0x5632 +/* 80328510 00325470 7C 03 00 00 */ cmpw r3, r0 +/* 80328514 00325474 41 82 14 70 */ beq lbl_80329984 +/* 80328518 00325478 40 80 00 28 */ bge lbl_80328540 +/* 8032851C 0032547C 3C 80 41 41 */ lis r4, 0x41415048@ha +/* 80328520 00325480 38 04 50 48 */ addi r0, r4, 0x41415048@l +/* 80328524 00325484 7C 03 00 00 */ cmpw r3, r0 +/* 80328528 00325488 41 82 06 0C */ beq lbl_80328B34 +/* 8032852C 0032548C 41 80 14 D0 */ blt lbl_803299FC +/* 80328530 00325490 38 05 56 31 */ addi r0, r5, 0x5631 +/* 80328534 00325494 7C 03 00 00 */ cmpw r3, r0 +/* 80328538 00325498 40 80 14 3C */ bge lbl_80329974 +/* 8032853C 0032549C 48 00 14 C0 */ b lbl_803299FC +lbl_80328540: +/* 80328540 003254A0 38 05 56 35 */ addi r0, r5, 0x5635 +/* 80328544 003254A4 7C 03 00 00 */ cmpw r3, r0 +/* 80328548 003254A8 41 82 14 6C */ beq lbl_803299B4 +/* 8032854C 003254AC 40 80 14 78 */ bge lbl_803299C4 +/* 80328550 003254B0 38 05 56 34 */ addi r0, r5, 0x5634 +/* 80328554 003254B4 7C 03 00 00 */ cmpw r3, r0 +/* 80328558 003254B8 40 80 14 4C */ bge lbl_803299A4 +/* 8032855C 003254BC 48 00 14 38 */ b lbl_80329994 +lbl_80328560: +/* 80328560 003254C0 3C 80 43 4F */ lis r4, 0x434F4C52@ha +/* 80328564 003254C4 38 04 4C 52 */ addi r0, r4, 0x434F4C52@l +/* 80328568 003254C8 7C 03 00 00 */ cmpw r3, r0 +/* 8032856C 003254CC 41 82 06 C8 */ beq lbl_80328C34 +/* 80328570 003254D0 40 80 00 28 */ bge lbl_80328598 +/* 80328574 003254D4 3C 80 43 49 */ lis r4, 0x43494E44@ha +/* 80328578 003254D8 38 04 4E 44 */ addi r0, r4, 0x43494E44@l +/* 8032857C 003254DC 7C 03 00 00 */ cmpw r3, r0 +/* 80328580 003254E0 41 82 07 DC */ beq lbl_80328D5C +/* 80328584 003254E4 40 80 14 78 */ bge lbl_803299FC +/* 80328588 003254E8 38 05 56 39 */ addi r0, r5, 0x5639 +/* 8032858C 003254EC 7C 03 00 00 */ cmpw r3, r0 +/* 80328590 003254F0 40 80 14 6C */ bge lbl_803299FC +/* 80328594 003254F4 48 00 14 50 */ b lbl_803299E4 +lbl_80328598: +/* 80328598 003254F8 3C 80 43 53 */ lis r4, 0x43535344@ha +/* 8032859C 003254FC 38 04 53 44 */ addi r0, r4, 0x43535344@l +/* 803285A0 00325500 7C 03 00 00 */ cmpw r3, r0 +/* 803285A4 00325504 41 82 0B DC */ beq lbl_80329180 +/* 803285A8 00325508 48 00 14 54 */ b lbl_803299FC +lbl_803285AC: +/* 803285AC 0032550C 3C 80 49 49 */ lis r4, 0x49495453@ha +/* 803285B0 00325510 38 04 54 53 */ addi r0, r4, 0x49495453@l +/* 803285B4 00325514 7C 03 00 00 */ cmpw r3, r0 +/* 803285B8 00325518 41 82 0D 9C */ beq lbl_80329354 +/* 803285BC 0032551C 40 80 00 54 */ bge lbl_80328610 +/* 803285C0 00325520 3C 80 49 43 */ lis r4, 0x49435453@ha +/* 803285C4 00325524 38 04 54 53 */ addi r0, r4, 0x49435453@l +/* 803285C8 00325528 7C 03 00 00 */ cmpw r3, r0 +/* 803285CC 0032552C 41 82 09 F0 */ beq lbl_80328FBC +/* 803285D0 00325530 40 80 00 2C */ bge lbl_803285FC +/* 803285D4 00325534 3C 80 47 52 */ lis r4, 0x47525445@ha +/* 803285D8 00325538 38 04 54 45 */ addi r0, r4, 0x47525445@l +/* 803285DC 0032553C 7C 03 00 00 */ cmpw r3, r0 +/* 803285E0 00325540 41 82 05 D4 */ beq lbl_80328BB4 +/* 803285E4 00325544 40 80 14 18 */ bge lbl_803299FC +/* 803285E8 00325548 3C 80 46 58 */ lis r4, 0x46584C4C@ha +/* 803285EC 0032554C 38 04 4C 4C */ addi r0, r4, 0x46584C4C@l +/* 803285F0 00325550 7C 03 00 00 */ cmpw r3, r0 +/* 803285F4 00325554 41 82 12 D0 */ beq lbl_803298C4 +/* 803285F8 00325558 48 00 14 04 */ b lbl_803299FC +lbl_803285FC: +/* 803285FC 0032555C 3C 80 49 44 */ lis r4, 0x49445453@ha +/* 80328600 00325560 38 04 54 53 */ addi r0, r4, 0x49445453@l +/* 80328604 00325564 7C 03 00 00 */ cmpw r3, r0 +/* 80328608 00325568 41 82 0B 88 */ beq lbl_80329190 +/* 8032860C 0032556C 48 00 13 F0 */ b lbl_803299FC +lbl_80328610: +/* 80328610 00325570 3C 80 49 56 */ lis r4, 0x49564543@ha +/* 80328614 00325574 38 04 45 43 */ addi r0, r4, 0x49564543@l +/* 80328618 00325578 7C 03 00 00 */ cmpw r3, r0 +/* 8032861C 0032557C 41 82 05 D0 */ beq lbl_80328BEC +/* 80328620 00325580 40 80 00 18 */ bge lbl_80328638 +/* 80328624 00325584 3C 80 49 4C */ lis r4, 0x494C4F43@ha +/* 80328628 00325588 38 04 4F 43 */ addi r0, r4, 0x494C4F43@l +/* 8032862C 0032558C 7C 03 00 00 */ cmpw r3, r0 +/* 80328630 00325590 41 82 05 94 */ beq lbl_80328BC4 +/* 80328634 00325594 48 00 13 C8 */ b lbl_803299FC +lbl_80328638: +/* 80328638 00325598 3C 80 4B 53 */ lis r4, 0x4B53534D@ha +/* 8032863C 0032559C 38 04 53 4D */ addi r0, r4, 0x4B53534D@l +/* 80328640 003255A0 7C 03 00 00 */ cmpw r3, r0 +/* 80328644 003255A4 41 82 12 14 */ beq lbl_80329858 +/* 80328648 003255A8 48 00 13 B4 */ b lbl_803299FC +lbl_8032864C: +/* 8032864C 003255AC 3C A0 4C 54 */ lis r5, 0x4C544D45@ha +/* 80328650 003255B0 38 05 4D 45 */ addi r0, r5, 0x4C544D45@l +/* 80328654 003255B4 7C 03 00 00 */ cmpw r3, r0 +/* 80328658 003255B8 41 82 06 9C */ beq lbl_80328CF4 +/* 8032865C 003255BC 40 80 00 AC */ bge lbl_80328708 +/* 80328660 003255C0 3C A0 4C 49 */ lis r5, 0x4C494E45@ha +/* 80328664 003255C4 38 05 4E 45 */ addi r0, r5, 0x4C494E45@l +/* 80328668 003255C8 7C 03 00 00 */ cmpw r3, r0 +/* 8032866C 003255CC 41 82 12 40 */ beq lbl_803298AC +/* 80328670 003255D0 40 80 00 50 */ bge lbl_803286C0 +/* 80328674 003255D4 3C 80 4C 46 */ lis r4, 0x4C464F52@ha +/* 80328678 003255D8 38 04 4F 52 */ addi r0, r4, 0x4C464F52@l +/* 8032867C 003255DC 7C 03 00 00 */ cmpw r3, r0 +/* 80328680 003255E0 41 82 12 BC */ beq lbl_8032993C +/* 80328684 003255E4 40 80 00 2C */ bge lbl_803286B0 +/* 80328688 003255E8 3C 80 4C 45 */ lis r4, 0x4C454E47@ha +/* 8032868C 003255EC 38 04 4E 47 */ addi r0, r4, 0x4C454E47@l +/* 80328690 003255F0 7C 03 00 00 */ cmpw r3, r0 +/* 80328694 003255F4 41 82 06 80 */ beq lbl_80328D14 +/* 80328698 003255F8 40 80 13 64 */ bge lbl_803299FC +/* 8032869C 003255FC 3C 80 4C 44 */ lis r4, 0x4C444952@ha +/* 803286A0 00325600 38 04 49 52 */ addi r0, r4, 0x4C444952@l +/* 803286A4 00325604 7C 03 00 00 */ cmpw r3, r0 +/* 803286A8 00325608 41 82 12 74 */ beq lbl_8032991C +/* 803286AC 0032560C 48 00 13 50 */ b lbl_803299FC +lbl_803286B0: +/* 803286B0 00325610 38 04 4F 54 */ addi r0, r4, 0x4f54 +/* 803286B4 00325614 7C 03 00 00 */ cmpw r3, r0 +/* 803286B8 00325618 41 82 12 74 */ beq lbl_8032992C +/* 803286BC 0032561C 48 00 13 40 */ b lbl_803299FC +lbl_803286C0: +/* 803286C0 00325620 3C 80 4C 4F */ lis r4, 0x4C4F4646@ha +/* 803286C4 00325624 38 04 46 46 */ addi r0, r4, 0x4C4F4646@l +/* 803286C8 00325628 7C 03 00 00 */ cmpw r3, r0 +/* 803286CC 0032562C 41 82 12 40 */ beq lbl_8032990C +/* 803286D0 00325630 40 80 00 24 */ bge lbl_803286F4 +/* 803286D4 00325634 38 05 54 5F */ addi r0, r5, 0x545f +/* 803286D8 00325638 7C 03 00 00 */ cmpw r3, r0 +/* 803286DC 0032563C 41 82 04 10 */ beq lbl_80328AEC +/* 803286E0 00325640 40 80 13 1C */ bge lbl_803299FC +/* 803286E4 00325644 38 05 4E 54 */ addi r0, r5, 0x4e54 +/* 803286E8 00325648 7C 03 00 00 */ cmpw r3, r0 +/* 803286EC 0032564C 41 82 12 10 */ beq lbl_803298FC +/* 803286F0 00325650 48 00 13 0C */ b lbl_803299FC +lbl_803286F4: +/* 803286F4 00325654 3C 80 4C 53 */ lis r4, 0x4C534C41@ha +/* 803286F8 00325658 38 04 4C 41 */ addi r0, r4, 0x4C534C41@l +/* 803286FC 0032565C 7C 03 00 00 */ cmpw r3, r0 +/* 80328700 00325660 41 82 12 4C */ beq lbl_8032994C +/* 80328704 00325664 48 00 12 F8 */ b lbl_803299FC +lbl_80328708: +/* 80328708 00325668 3C 80 4E 43 */ lis r4, 0x4E435359@ha +/* 8032870C 0032566C 38 04 53 59 */ addi r0, r4, 0x4E435359@l +/* 80328710 00325670 7C 03 00 00 */ cmpw r3, r0 +/* 80328714 00325674 41 82 0A 5C */ beq lbl_80329170 +/* 80328718 00325678 40 80 00 4C */ bge lbl_80328764 +/* 8032871C 0032567C 3C 80 4D 42 */ lis r4, 0x4D424C52@ha +/* 80328720 00325680 38 04 4C 52 */ addi r0, r4, 0x4D424C52@l +/* 80328724 00325684 7C 03 00 00 */ cmpw r3, r0 +/* 80328728 00325688 41 82 04 54 */ beq lbl_80328B7C +/* 8032872C 0032568C 40 80 00 28 */ bge lbl_80328754 +/* 80328730 00325690 3C 80 4D 41 */ lis r4, 0x4D415850@ha +/* 80328734 00325694 38 04 58 50 */ addi r0, r4, 0x4D415850@l +/* 80328738 00325698 7C 03 00 00 */ cmpw r3, r0 +/* 8032873C 0032569C 41 82 04 68 */ beq lbl_80328BA4 +/* 80328740 003256A0 40 80 12 BC */ bge lbl_803299FC +/* 80328744 003256A4 38 05 59 50 */ addi r0, r5, 0x5950 +/* 80328748 003256A8 7C 03 00 00 */ cmpw r3, r0 +/* 8032874C 003256AC 41 82 11 90 */ beq lbl_803298DC +/* 80328750 003256B0 48 00 12 AC */ b lbl_803299FC +lbl_80328754: +/* 80328754 003256B4 38 04 53 50 */ addi r0, r4, 0x5350 +/* 80328758 003256B8 7C 03 00 00 */ cmpw r3, r0 +/* 8032875C 003256BC 41 82 04 38 */ beq lbl_80328B94 +/* 80328760 003256C0 48 00 12 9C */ b lbl_803299FC +lbl_80328764: +/* 80328764 003256C4 3C 80 4F 50 */ lis r4, 0x4F505453@ha +/* 80328768 003256C8 38 04 54 53 */ addi r0, r4, 0x4F505453@l +/* 8032876C 003256CC 7C 03 00 00 */ cmpw r3, r0 +/* 80328770 003256D0 41 82 11 EC */ beq lbl_8032995C +/* 80328774 003256D4 40 80 00 18 */ bge lbl_8032878C +/* 80328778 003256D8 3C 80 4E 44 */ lis r4, 0x4E445359@ha +/* 8032877C 003256DC 38 04 53 59 */ addi r0, r4, 0x4E445359@l +/* 80328780 003256E0 7C 03 00 00 */ cmpw r3, r0 +/* 80328784 003256E4 41 82 0B C0 */ beq lbl_80329344 +/* 80328788 003256E8 48 00 12 74 */ b lbl_803299FC +lbl_8032878C: +/* 8032878C 003256EC 3C 80 4F 52 */ lis r4, 0x4F524E54@ha +/* 80328790 003256F0 38 04 4E 54 */ addi r0, r4, 0x4F524E54@l +/* 80328794 003256F4 7C 03 00 00 */ cmpw r3, r0 +/* 80328798 003256F8 41 82 03 6C */ beq lbl_80328B04 +/* 8032879C 003256FC 48 00 12 60 */ b lbl_803299FC +lbl_803287A0: +/* 803287A0 00325700 3C A0 53 45 */ lis r5, 0x53454C43@ha +/* 803287A4 00325704 38 05 4C 43 */ addi r0, r5, 0x53454C43@l +/* 803287A8 00325708 7C 03 00 00 */ cmpw r3, r0 +/* 803287AC 0032570C 41 82 0F 4C */ beq lbl_803296F8 +/* 803287B0 00325710 40 80 01 38 */ bge lbl_803288E8 +/* 803287B4 00325714 3C 80 50 53 */ lis r4, 0x50534956@ha +/* 803287B8 00325718 38 04 49 56 */ addi r0, r4, 0x50534956@l +/* 803287BC 0032571C 7C 03 00 00 */ cmpw r3, r0 +/* 803287C0 00325720 41 82 02 84 */ beq lbl_80328A44 +/* 803287C4 00325724 40 80 00 9C */ bge lbl_80328860 +/* 803287C8 00325728 3C 80 50 4D */ lis r4, 0x504D4F50@ha +/* 803287CC 0032572C 38 04 4F 50 */ addi r0, r4, 0x504D4F50@l +/* 803287D0 00325730 7C 03 00 00 */ cmpw r3, r0 +/* 803287D4 00325734 41 82 07 50 */ beq lbl_80328F24 +/* 803287D8 00325738 40 80 00 44 */ bge lbl_8032881C +/* 803287DC 0032573C 38 04 43 4C */ addi r0, r4, 0x434c +/* 803287E0 00325740 7C 03 00 00 */ cmpw r3, r0 +/* 803287E4 00325744 41 82 07 70 */ beq lbl_80328F54 +/* 803287E8 00325748 40 80 00 14 */ bge lbl_803287FC +/* 803287EC 0032574C 38 04 41 42 */ addi r0, r4, 0x4142 +/* 803287F0 00325750 7C 03 00 00 */ cmpw r3, r0 +/* 803287F4 00325754 41 82 07 70 */ beq lbl_80328F64 +/* 803287F8 00325758 48 00 12 04 */ b lbl_803299FC +lbl_803287FC: +/* 803287FC 0032575C 38 04 44 4C */ addi r0, r4, 0x444c +/* 80328800 00325760 7C 03 00 00 */ cmpw r3, r0 +/* 80328804 00325764 41 82 05 70 */ beq lbl_80328D74 +/* 80328808 00325768 41 80 11 F4 */ blt lbl_803299FC +/* 8032880C 0032576C 38 04 4F 4F */ addi r0, r4, 0x4f4f +/* 80328810 00325770 7C 03 00 00 */ cmpw r3, r0 +/* 80328814 00325774 40 80 07 80 */ bge lbl_80328F94 +/* 80328818 00325778 48 00 11 E4 */ b lbl_803299FC +lbl_8032881C: +/* 8032881C 0032577C 38 04 55 53 */ addi r0, r4, 0x5553 +/* 80328820 00325780 7C 03 00 00 */ cmpw r3, r0 +/* 80328824 00325784 41 82 07 58 */ beq lbl_80328F7C +/* 80328828 00325788 40 80 00 24 */ bge lbl_8032884C +/* 8032882C 0032578C 38 04 53 43 */ addi r0, r4, 0x5343 +/* 80328830 00325790 7C 03 00 00 */ cmpw r3, r0 +/* 80328834 00325794 41 82 07 10 */ beq lbl_80328F44 +/* 80328838 00325798 40 80 11 C4 */ bge lbl_803299FC +/* 8032883C 0032579C 38 04 52 54 */ addi r0, r4, 0x5254 +/* 80328840 003257A0 7C 03 00 00 */ cmpw r3, r0 +/* 80328844 003257A4 41 82 06 F0 */ beq lbl_80328F34 +/* 80328848 003257A8 48 00 11 B4 */ b lbl_803299FC +lbl_8032884C: +/* 8032884C 003257AC 3C 80 50 4F */ lis r4, 0x504F4653@ha +/* 80328850 003257B0 38 04 46 53 */ addi r0, r4, 0x504F4653@l +/* 80328854 003257B4 7C 03 00 00 */ cmpw r3, r0 +/* 80328858 003257B8 41 82 03 EC */ beq lbl_80328C44 +/* 8032885C 003257BC 48 00 11 A0 */ b lbl_803299FC +lbl_80328860: +/* 80328860 003257C0 38 04 57 54 */ addi r0, r4, 0x5754 +/* 80328864 003257C4 7C 03 00 00 */ cmpw r3, r0 +/* 80328868 003257C8 41 82 02 74 */ beq lbl_80328ADC +/* 8032886C 003257CC 40 80 00 44 */ bge lbl_803288B0 +/* 80328870 003257D0 38 04 54 53 */ addi r0, r4, 0x5453 +/* 80328874 003257D4 7C 03 00 00 */ cmpw r3, r0 +/* 80328878 003257D8 41 82 02 44 */ beq lbl_80328ABC +/* 8032887C 003257DC 40 80 00 24 */ bge lbl_803288A0 +/* 80328880 003257E0 38 04 4F 56 */ addi r0, r4, 0x4f56 +/* 80328884 003257E4 7C 03 00 00 */ cmpw r3, r0 +/* 80328888 003257E8 41 82 02 0C */ beq lbl_80328A94 +/* 8032888C 003257EC 40 80 11 70 */ bge lbl_803299FC +/* 80328890 003257F0 38 04 4C 54 */ addi r0, r4, 0x4c54 +/* 80328894 003257F4 7C 03 00 00 */ cmpw r3, r0 +/* 80328898 003257F8 41 82 02 34 */ beq lbl_80328ACC +/* 8032889C 003257FC 48 00 11 60 */ b lbl_803299FC +lbl_803288A0: +/* 803288A0 00325800 38 04 56 4D */ addi r0, r4, 0x564d +/* 803288A4 00325804 7C 03 00 00 */ cmpw r3, r0 +/* 803288A8 00325808 41 82 01 C4 */ beq lbl_80328A6C +/* 803288AC 0032580C 48 00 11 50 */ b lbl_803299FC +lbl_803288B0: +/* 803288B0 00325810 3C 80 52 53 */ lis r4, 0x52534F50@ha +/* 803288B4 00325814 38 04 4F 50 */ addi r0, r4, 0x52534F50@l +/* 803288B8 00325818 7C 03 00 00 */ cmpw r3, r0 +/* 803288BC 0032581C 41 82 02 60 */ beq lbl_80328B1C +/* 803288C0 00325820 40 80 00 18 */ bge lbl_803288D8 +/* 803288C4 00325824 3C 80 52 4F */ lis r4, 0x524F5441@ha +/* 803288C8 00325828 38 04 54 41 */ addi r0, r4, 0x524F5441@l +/* 803288CC 0032582C 7C 03 00 00 */ cmpw r3, r0 +/* 803288D0 00325830 41 82 04 34 */ beq lbl_80328D04 +/* 803288D4 00325834 48 00 11 28 */ b lbl_803299FC +lbl_803288D8: +/* 803288D8 00325838 38 05 45 44 */ addi r0, r5, 0x4544 +/* 803288DC 0032583C 7C 03 00 00 */ cmpw r3, r0 +/* 803288E0 00325840 41 82 06 CC */ beq lbl_80328FAC +/* 803288E4 00325844 48 00 11 18 */ b lbl_803299FC +lbl_803288E8: +/* 803288E8 00325848 3C 80 54 49 */ lis r4, 0x54494E44@ha +/* 803288EC 0032584C 38 04 4E 44 */ addi r0, r4, 0x54494E44@l +/* 803288F0 00325850 7C 03 00 00 */ cmpw r3, r0 +/* 803288F4 00325854 41 82 04 54 */ beq lbl_80328D48 +/* 803288F8 00325858 40 80 00 A4 */ bge lbl_8032899C +/* 803288FC 0032585C 3C 80 53 4F */ lis r4, 0x534F5254@ha +/* 80328900 00325860 38 04 52 54 */ addi r0, r4, 0x534F5254@l +/* 80328904 00325864 7C 03 00 00 */ cmpw r3, r0 +/* 80328908 00325868 41 82 02 5C */ beq lbl_80328B64 +/* 8032890C 0032586C 40 80 00 48 */ bge lbl_80328954 +/* 80328910 00325870 3C 80 53 49 */ lis r4, 0x53495359@ha +/* 80328914 00325874 38 04 53 59 */ addi r0, r4, 0x53495359@l +/* 80328918 00325878 7C 03 00 00 */ cmpw r3, r0 +/* 8032891C 0032587C 41 82 0B FC */ beq lbl_80329518 +/* 80328920 00325880 40 80 00 24 */ bge lbl_80328944 +/* 80328924 00325884 38 05 53 44 */ addi r0, r5, 0x5344 +/* 80328928 00325888 7C 03 00 00 */ cmpw r3, r0 +/* 8032892C 0032588C 41 82 0F 0C */ beq lbl_80329838 +/* 80328930 00325890 40 80 10 CC */ bge lbl_803299FC +/* 80328934 00325894 38 05 50 4F */ addi r0, r5, 0x504f +/* 80328938 00325898 7C 03 00 00 */ cmpw r3, r0 +/* 8032893C 0032589C 41 82 0F 0C */ beq lbl_80329848 +/* 80328940 003258A0 48 00 10 BC */ b lbl_803299FC +lbl_80328944: +/* 80328944 003258A4 38 04 5A 45 */ addi r0, r4, 0x5a45 +/* 80328948 003258A8 7C 03 00 00 */ cmpw r3, r0 +/* 8032894C 003258AC 41 82 02 D8 */ beq lbl_80328C24 +/* 80328950 003258B0 48 00 10 AC */ b lbl_803299FC +lbl_80328954: +/* 80328954 003258B4 3C 80 53 53 */ lis r4, 0x53535748@ha +/* 80328958 003258B8 38 04 57 48 */ addi r0, r4, 0x53535748@l +/* 8032895C 003258BC 7C 03 00 00 */ cmpw r3, r0 +/* 80328960 003258C0 41 82 0B C8 */ beq lbl_80329528 +/* 80328964 003258C4 40 80 00 24 */ bge lbl_80328988 +/* 80328968 003258C8 38 04 53 44 */ addi r0, r4, 0x5344 +/* 8032896C 003258CC 7C 03 00 00 */ cmpw r3, r0 +/* 80328970 003258D0 41 82 0D 68 */ beq lbl_803296D8 +/* 80328974 003258D4 40 80 10 88 */ bge lbl_803299FC +/* 80328978 003258D8 38 04 50 4F */ addi r0, r4, 0x504f +/* 8032897C 003258DC 7C 03 00 00 */ cmpw r3, r0 +/* 80328980 003258E0 41 82 0D 68 */ beq lbl_803296E8 +/* 80328984 003258E4 48 00 10 78 */ b lbl_803299FC +lbl_80328988: +/* 80328988 003258E8 3C 80 54 45 */ lis r4, 0x54455852@ha +/* 8032898C 003258EC 38 04 58 52 */ addi r0, r4, 0x54455852@l +/* 80328990 003258F0 7C 03 00 00 */ cmpw r3, r0 +/* 80328994 003258F4 41 82 03 A0 */ beq lbl_80328D34 +/* 80328998 003258F8 48 00 10 64 */ b lbl_803299FC +lbl_8032899C: +/* 8032899C 003258FC 3C A0 56 4D */ lis r5, 0x564D4433@ha +/* 803289A0 00325900 38 05 44 33 */ addi r0, r5, 0x564D4433@l +/* 803289A4 00325904 7C 03 00 00 */ cmpw r3, r0 +/* 803289A8 00325908 41 82 02 DC */ beq lbl_80328C84 +/* 803289AC 0032590C 40 80 00 4C */ bge lbl_803289F8 +/* 803289B0 00325910 3C 80 56 45 */ lis r4, 0x56454C34@ha +/* 803289B4 00325914 38 04 4C 34 */ addi r0, r4, 0x56454C34@l +/* 803289B8 00325918 7C 03 00 00 */ cmpw r3, r0 +/* 803289BC 0032591C 41 82 03 28 */ beq lbl_80328CE4 +/* 803289C0 00325920 40 80 00 24 */ bge lbl_803289E4 +/* 803289C4 00325924 38 04 4C 32 */ addi r0, r4, 0x4c32 +/* 803289C8 00325928 7C 03 00 00 */ cmpw r3, r0 +/* 803289CC 0032592C 41 82 02 F8 */ beq lbl_80328CC4 +/* 803289D0 00325930 40 80 03 04 */ bge lbl_80328CD4 +/* 803289D4 00325934 38 04 4C 31 */ addi r0, r4, 0x4c31 +/* 803289D8 00325938 7C 03 00 00 */ cmpw r3, r0 +/* 803289DC 0032593C 40 80 02 D8 */ bge lbl_80328CB4 +/* 803289E0 00325940 48 00 10 1C */ b lbl_803299FC +lbl_803289E4: +/* 803289E4 00325944 38 05 44 31 */ addi r0, r5, 0x4431 +/* 803289E8 00325948 7C 03 00 00 */ cmpw r3, r0 +/* 803289EC 0032594C 41 82 02 68 */ beq lbl_80328C54 +/* 803289F0 00325950 40 80 02 7C */ bge lbl_80328C6C +/* 803289F4 00325954 48 00 10 08 */ b lbl_803299FC +lbl_803289F8: +/* 803289F8 00325958 3C 80 5A 42 */ lis r4, 0x5A425546@ha +/* 803289FC 0032595C 38 04 55 46 */ addi r0, r4, 0x5A425546@l +/* 80328A00 00325960 7C 03 00 00 */ cmpw r3, r0 +/* 80328A04 00325964 41 82 01 48 */ beq lbl_80328B4C +/* 80328A08 00325968 40 80 00 28 */ bge lbl_80328A30 +/* 80328A0C 0032596C 3C 80 57 49 */ lis r4, 0x57494454@ha +/* 80328A10 00325970 38 04 44 54 */ addi r0, r4, 0x57494454@l +/* 80328A14 00325974 7C 03 00 00 */ cmpw r3, r0 +/* 80328A18 00325978 41 82 03 0C */ beq lbl_80328D24 +/* 80328A1C 0032597C 40 80 0F E0 */ bge lbl_803299FC +/* 80328A20 00325980 38 05 44 35 */ addi r0, r5, 0x4435 +/* 80328A24 00325984 7C 03 00 00 */ cmpw r3, r0 +/* 80328A28 00325988 40 80 0F D4 */ bge lbl_803299FC +/* 80328A2C 0032598C 48 00 02 70 */ b lbl_80328C9C +lbl_80328A30: +/* 80328A30 00325990 3C 80 5F 45 */ lis r4, 0x5F454E44@ha +/* 80328A34 00325994 38 04 4E 44 */ addi r0, r4, 0x5F454E44@l +/* 80328A38 00325998 7C 03 00 00 */ cmpw r3, r0 +/* 80328A3C 0032599C 41 82 0F B8 */ beq lbl_803299F4 +/* 80328A40 003259A0 48 00 0F BC */ b lbl_803299FC +lbl_80328A44: +/* 80328A44 003259A4 7F C3 F3 78 */ mr r3, r30 +/* 80328A48 003259A8 4B FF D8 0D */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80328A4C 003259AC 28 03 00 00 */ cmplwi r3, 0 +/* 80328A50 003259B0 41 82 0F C8 */ beq lbl_80329A18 +/* 80328A54 003259B4 81 83 00 00 */ lwz r12, 0(r3) +/* 80328A58 003259B8 38 80 00 01 */ li r4, 1 +/* 80328A5C 003259BC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80328A60 003259C0 7D 89 03 A6 */ mtctr r12 +/* 80328A64 003259C4 4E 80 04 21 */ bctrl +/* 80328A68 003259C8 48 00 0F B0 */ b lbl_80329A18 +lbl_80328A6C: +/* 80328A6C 003259CC 7F C3 F3 78 */ mr r3, r30 +/* 80328A70 003259D0 4B FF CD 8D */ bl GetModVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80328A74 003259D4 28 03 00 00 */ cmplwi r3, 0 +/* 80328A78 003259D8 41 82 0F A0 */ beq lbl_80329A18 +/* 80328A7C 003259DC 81 83 00 00 */ lwz r12, 0(r3) +/* 80328A80 003259E0 38 80 00 01 */ li r4, 1 +/* 80328A84 003259E4 81 8C 00 08 */ lwz r12, 8(r12) +/* 80328A88 003259E8 7D 89 03 A6 */ mtctr r12 +/* 80328A8C 003259EC 4E 80 04 21 */ bctrl +/* 80328A90 003259F0 48 00 0F 88 */ b lbl_80329A18 +lbl_80328A94: +/* 80328A94 003259F4 7F C3 F3 78 */ mr r3, r30 +/* 80328A98 003259F8 4B FF D7 BD */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80328A9C 003259FC 28 03 00 00 */ cmplwi r3, 0 +/* 80328AA0 00325A00 41 82 0F 78 */ beq lbl_80329A18 +/* 80328AA4 00325A04 81 83 00 00 */ lwz r12, 0(r3) +/* 80328AA8 00325A08 38 80 00 01 */ li r4, 1 +/* 80328AAC 00325A0C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80328AB0 00325A10 7D 89 03 A6 */ mtctr r12 +/* 80328AB4 00325A14 4E 80 04 21 */ bctrl +/* 80328AB8 00325A18 48 00 0F 60 */ b lbl_80329A18 +lbl_80328ABC: +/* 80328ABC 00325A1C 7F C3 F3 78 */ mr r3, r30 +/* 80328AC0 00325A20 4B FF E1 D1 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80328AC4 00325A24 90 7F 00 08 */ stw r3, 8(r31) +/* 80328AC8 00325A28 48 00 0F 50 */ b lbl_80329A18 +lbl_80328ACC: +/* 80328ACC 00325A2C 7F C3 F3 78 */ mr r3, r30 +/* 80328AD0 00325A30 4B FF F0 D5 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 80328AD4 00325A34 90 7F 00 00 */ stw r3, 0(r31) +/* 80328AD8 00325A38 48 00 0F 40 */ b lbl_80329A18 +lbl_80328ADC: +/* 80328ADC 00325A3C 7F C3 F3 78 */ mr r3, r30 +/* 80328AE0 00325A40 4B FF F0 C5 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 80328AE4 00325A44 90 7F 00 04 */ stw r3, 4(r31) +/* 80328AE8 00325A48 48 00 0F 30 */ b lbl_80329A18 +lbl_80328AEC: +/* 80328AEC 00325A4C 7F C3 F3 78 */ mr r3, r30 +/* 80328AF0 00325A50 4B FF F9 39 */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 80328AF4 00325A54 88 1F 00 30 */ lbz r0, 0x30(r31) +/* 80328AF8 00325A58 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 80328AFC 00325A5C 98 1F 00 30 */ stb r0, 0x30(r31) +/* 80328B00 00325A60 48 00 0F 18 */ b lbl_80329A18 +lbl_80328B04: +/* 80328B04 00325A64 7F C3 F3 78 */ mr r3, r30 +/* 80328B08 00325A68 4B FF F9 21 */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 80328B0C 00325A6C 88 1F 00 30 */ lbz r0, 0x30(r31) +/* 80328B10 00325A70 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e +/* 80328B14 00325A74 98 1F 00 30 */ stb r0, 0x30(r31) +/* 80328B18 00325A78 48 00 0F 00 */ b lbl_80329A18 +lbl_80328B1C: +/* 80328B1C 00325A7C 7F C3 F3 78 */ mr r3, r30 +/* 80328B20 00325A80 4B FF F9 09 */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 80328B24 00325A84 88 1F 00 30 */ lbz r0, 0x30(r31) +/* 80328B28 00325A88 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f +/* 80328B2C 00325A8C 98 1F 00 30 */ stb r0, 0x30(r31) +/* 80328B30 00325A90 48 00 0E E8 */ b lbl_80329A18 +lbl_80328B34: +/* 80328B34 00325A94 7F C3 F3 78 */ mr r3, r30 +/* 80328B38 00325A98 4B FF F8 F1 */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 80328B3C 00325A9C 88 1F 00 30 */ lbz r0, 0x30(r31) +/* 80328B40 00325AA0 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 80328B44 00325AA4 98 1F 00 30 */ stb r0, 0x30(r31) +/* 80328B48 00325AA8 48 00 0E D0 */ b lbl_80329A18 +lbl_80328B4C: +/* 80328B4C 00325AAC 7F C3 F3 78 */ mr r3, r30 +/* 80328B50 00325AB0 4B FF F8 D9 */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 80328B54 00325AB4 88 1F 00 30 */ lbz r0, 0x30(r31) +/* 80328B58 00325AB8 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 80328B5C 00325ABC 98 1F 00 30 */ stb r0, 0x30(r31) +/* 80328B60 00325AC0 48 00 0E B8 */ b lbl_80329A18 +lbl_80328B64: +/* 80328B64 00325AC4 7F C3 F3 78 */ mr r3, r30 +/* 80328B68 00325AC8 4B FF F8 C1 */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 80328B6C 00325ACC 88 1F 00 30 */ lbz r0, 0x30(r31) +/* 80328B70 00325AD0 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 80328B74 00325AD4 98 1F 00 30 */ stb r0, 0x30(r31) +/* 80328B78 00325AD8 48 00 0E A0 */ b lbl_80329A18 +lbl_80328B7C: +/* 80328B7C 00325ADC 7F C3 F3 78 */ mr r3, r30 +/* 80328B80 00325AE0 4B FF F8 A9 */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 80328B84 00325AE4 88 1F 00 31 */ lbz r0, 0x31(r31) +/* 80328B88 00325AE8 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80328B8C 00325AEC 98 1F 00 31 */ stb r0, 0x31(r31) +/* 80328B90 00325AF0 48 00 0E 88 */ b lbl_80329A18 +lbl_80328B94: +/* 80328B94 00325AF4 7F C3 F3 78 */ mr r3, r30 +/* 80328B98 00325AF8 4B FF F0 0D */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 80328B9C 00325AFC 90 7F 00 34 */ stw r3, 0x34(r31) +/* 80328BA0 00325B00 48 00 0E 78 */ b lbl_80329A18 +lbl_80328BA4: +/* 80328BA4 00325B04 7F C3 F3 78 */ mr r3, r30 +/* 80328BA8 00325B08 4B FF EF FD */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 80328BAC 00325B0C 90 7F 00 1C */ stw r3, 0x1c(r31) +/* 80328BB0 00325B10 48 00 0E 68 */ b lbl_80329A18 +lbl_80328BB4: +/* 80328BB4 00325B14 7F C3 F3 78 */ mr r3, r30 +/* 80328BB8 00325B18 4B FF E0 D9 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80328BBC 00325B1C 90 7F 00 20 */ stw r3, 0x20(r31) +/* 80328BC0 00325B20 48 00 0E 58 */ b lbl_80329A18 +lbl_80328BC4: +/* 80328BC4 00325B24 7F C3 F3 78 */ mr r3, r30 +/* 80328BC8 00325B28 4B FF D6 8D */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80328BCC 00325B2C 28 03 00 00 */ cmplwi r3, 0 +/* 80328BD0 00325B30 41 82 0E 48 */ beq lbl_80329A18 +/* 80328BD4 00325B34 81 83 00 00 */ lwz r12, 0(r3) +/* 80328BD8 00325B38 38 80 00 01 */ li r4, 1 +/* 80328BDC 00325B3C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80328BE0 00325B40 7D 89 03 A6 */ mtctr r12 +/* 80328BE4 00325B44 4E 80 04 21 */ bctrl +/* 80328BE8 00325B48 48 00 0E 30 */ b lbl_80329A18 +lbl_80328BEC: +/* 80328BEC 00325B4C 7F C3 F3 78 */ mr r3, r30 +/* 80328BF0 00325B50 4B FF D6 65 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80328BF4 00325B54 28 03 00 00 */ cmplwi r3, 0 +/* 80328BF8 00325B58 41 82 0E 20 */ beq lbl_80329A18 +/* 80328BFC 00325B5C 81 83 00 00 */ lwz r12, 0(r3) +/* 80328C00 00325B60 38 80 00 01 */ li r4, 1 +/* 80328C04 00325B64 81 8C 00 08 */ lwz r12, 8(r12) +/* 80328C08 00325B68 7D 89 03 A6 */ mtctr r12 +/* 80328C0C 00325B6C 4E 80 04 21 */ bctrl +/* 80328C10 00325B70 48 00 0E 08 */ b lbl_80329A18 +lbl_80328C14: +/* 80328C14 00325B74 7F C3 F3 78 */ mr r3, r30 +/* 80328C18 00325B78 4B FF D3 99 */ bl GetEmitterElement__20CParticleDataFactoryFR12CInputStream +/* 80328C1C 00325B7C 90 7F 00 2C */ stw r3, 0x2c(r31) +/* 80328C20 00325B80 48 00 0D F8 */ b lbl_80329A18 +lbl_80328C24: +/* 80328C24 00325B84 7F C3 F3 78 */ mr r3, r30 +/* 80328C28 00325B88 4B FF E0 69 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80328C2C 00325B8C 90 7F 00 38 */ stw r3, 0x38(r31) +/* 80328C30 00325B90 48 00 0D E8 */ b lbl_80329A18 +lbl_80328C34: +/* 80328C34 00325B94 7F C3 F3 78 */ mr r3, r30 +/* 80328C38 00325B98 4B FF C6 25 */ bl GetColorElement__20CParticleDataFactoryFR12CInputStream +/* 80328C3C 00325B9C 90 7F 00 24 */ stw r3, 0x24(r31) +/* 80328C40 00325BA0 48 00 0D D8 */ b lbl_80329A18 +lbl_80328C44: +/* 80328C44 00325BA4 7F C3 F3 78 */ mr r3, r30 +/* 80328C48 00325BA8 4B FF D6 0D */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80328C4C 00325BAC 90 7F 00 0C */ stw r3, 0xc(r31) +/* 80328C50 00325BB0 48 00 0D C8 */ b lbl_80329A18 +lbl_80328C54: +/* 80328C54 00325BB4 7F C3 F3 78 */ mr r3, r30 +/* 80328C58 00325BB8 4B FF F7 D1 */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 80328C5C 00325BBC 88 1F 00 31 */ lbz r0, 0x31(r31) +/* 80328C60 00325BC0 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 80328C64 00325BC4 98 1F 00 31 */ stb r0, 0x31(r31) +/* 80328C68 00325BC8 48 00 0D B0 */ b lbl_80329A18 +lbl_80328C6C: +/* 80328C6C 00325BCC 7F C3 F3 78 */ mr r3, r30 +/* 80328C70 00325BD0 4B FF F7 B9 */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 80328C74 00325BD4 88 1F 00 31 */ lbz r0, 0x31(r31) +/* 80328C78 00325BD8 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 80328C7C 00325BDC 98 1F 00 31 */ stb r0, 0x31(r31) +/* 80328C80 00325BE0 48 00 0D 98 */ b lbl_80329A18 +lbl_80328C84: +/* 80328C84 00325BE4 7F C3 F3 78 */ mr r3, r30 +/* 80328C88 00325BE8 4B FF F7 A1 */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 80328C8C 00325BEC 88 1F 00 31 */ lbz r0, 0x31(r31) +/* 80328C90 00325BF0 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e +/* 80328C94 00325BF4 98 1F 00 31 */ stb r0, 0x31(r31) +/* 80328C98 00325BF8 48 00 0D 80 */ b lbl_80329A18 +lbl_80328C9C: +/* 80328C9C 00325BFC 7F C3 F3 78 */ mr r3, r30 +/* 80328CA0 00325C00 4B FF F7 89 */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 80328CA4 00325C04 88 1F 00 31 */ lbz r0, 0x31(r31) +/* 80328CA8 00325C08 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f +/* 80328CAC 00325C0C 98 1F 00 31 */ stb r0, 0x31(r31) +/* 80328CB0 00325C10 48 00 0D 68 */ b lbl_80329A18 +lbl_80328CB4: +/* 80328CB4 00325C14 7F C3 F3 78 */ mr r3, r30 +/* 80328CB8 00325C18 4B FF CB 45 */ bl GetModVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80328CBC 00325C1C 90 7F 00 68 */ stw r3, 0x68(r31) +/* 80328CC0 00325C20 48 00 0D 58 */ b lbl_80329A18 +lbl_80328CC4: +/* 80328CC4 00325C24 7F C3 F3 78 */ mr r3, r30 +/* 80328CC8 00325C28 4B FF CB 35 */ bl GetModVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80328CCC 00325C2C 90 7F 00 6C */ stw r3, 0x6c(r31) +/* 80328CD0 00325C30 48 00 0D 48 */ b lbl_80329A18 +lbl_80328CD4: +/* 80328CD4 00325C34 7F C3 F3 78 */ mr r3, r30 +/* 80328CD8 00325C38 4B FF CB 25 */ bl GetModVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80328CDC 00325C3C 90 7F 00 70 */ stw r3, 0x70(r31) +/* 80328CE0 00325C40 48 00 0D 38 */ b lbl_80329A18 +lbl_80328CE4: +/* 80328CE4 00325C44 7F C3 F3 78 */ mr r3, r30 +/* 80328CE8 00325C48 4B FF CB 15 */ bl GetModVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80328CEC 00325C4C 90 7F 00 74 */ stw r3, 0x74(r31) +/* 80328CF0 00325C50 48 00 0D 28 */ b lbl_80329A18 +lbl_80328CF4: +/* 80328CF4 00325C54 7F C3 F3 78 */ mr r3, r30 +/* 80328CF8 00325C58 4B FF EE AD */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 80328CFC 00325C5C 90 7F 00 28 */ stw r3, 0x28(r31) +/* 80328D00 00325C60 48 00 0D 18 */ b lbl_80329A18 +lbl_80328D04: +/* 80328D04 00325C64 7F C3 F3 78 */ mr r3, r30 +/* 80328D08 00325C68 4B FF DF 89 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80328D0C 00325C6C 90 7F 00 3C */ stw r3, 0x3c(r31) +/* 80328D10 00325C70 48 00 0D 08 */ b lbl_80329A18 +lbl_80328D14: +/* 80328D14 00325C74 7F C3 F3 78 */ mr r3, r30 +/* 80328D18 00325C78 4B FF DF 79 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80328D1C 00325C7C 90 7F 00 14 */ stw r3, 0x14(r31) +/* 80328D20 00325C80 48 00 0C F8 */ b lbl_80329A18 +lbl_80328D24: +/* 80328D24 00325C84 7F C3 F3 78 */ mr r3, r30 +/* 80328D28 00325C88 4B FF DF 69 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80328D2C 00325C8C 90 7F 00 18 */ stw r3, 0x18(r31) +/* 80328D30 00325C90 48 00 0C E8 */ b lbl_80329A18 +lbl_80328D34: +/* 80328D34 00325C94 7F C3 F3 78 */ mr r3, r30 +/* 80328D38 00325C98 7F A4 EB 78 */ mr r4, r29 +/* 80328D3C 00325C9C 4B FF C0 F5 */ bl GetTextureElement__20CParticleDataFactoryFR12CInputStreamP11CSimplePool +/* 80328D40 00325CA0 90 7F 00 40 */ stw r3, 0x40(r31) +/* 80328D44 00325CA4 48 00 0C D4 */ b lbl_80329A18 +lbl_80328D48: +/* 80328D48 00325CA8 7F C3 F3 78 */ mr r3, r30 +/* 80328D4C 00325CAC 7F A4 EB 78 */ mr r4, r29 +/* 80328D50 00325CB0 4B FF C0 E1 */ bl GetTextureElement__20CParticleDataFactoryFR12CInputStreamP11CSimplePool +/* 80328D54 00325CB4 90 7F 00 44 */ stw r3, 0x44(r31) +/* 80328D58 00325CB8 48 00 0C C0 */ b lbl_80329A18 +lbl_80328D5C: +/* 80328D5C 00325CBC 7F C3 F3 78 */ mr r3, r30 +/* 80328D60 00325CC0 4B FF F6 C9 */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 80328D64 00325CC4 88 1F 00 32 */ lbz r0, 0x32(r31) +/* 80328D68 00325CC8 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80328D6C 00325CCC 98 1F 00 32 */ stb r0, 0x32(r31) +/* 80328D70 00325CD0 48 00 0C A8 */ b lbl_80329A18 +lbl_80328D74: +/* 80328D74 00325CD4 7F C4 F3 78 */ mr r4, r30 +/* 80328D78 00325CD8 7F A5 EB 78 */ mr r5, r29 +/* 80328D7C 00325CDC 38 61 00 E0 */ addi r3, r1, 0xe0 +/* 80328D80 00325CE0 4B FF BC 61 */ bl GetModel__20CParticleDataFactoryFR12CInputStreamP11CSimplePool +/* 80328D84 00325CE4 88 01 00 E8 */ lbz r0, 0xe8(r1) +/* 80328D88 00325CE8 28 00 00 00 */ cmplwi r0, 0 +/* 80328D8C 00325CEC 98 01 01 30 */ stb r0, 0x130(r1) +/* 80328D90 00325CF0 41 82 00 14 */ beq lbl_80328DA4 +/* 80328D94 00325CF4 34 61 01 28 */ addic. r3, r1, 0x128 +/* 80328D98 00325CF8 38 81 00 E0 */ addi r4, r1, 0xe0 +/* 80328D9C 00325CFC 41 82 00 08 */ beq lbl_80328DA4 +/* 80328DA0 00325D00 48 01 81 09 */ bl __ct__6CTokenFRC6CToken +lbl_80328DA4: +/* 80328DA4 00325D04 88 01 00 E8 */ lbz r0, 0xe8(r1) +/* 80328DA8 00325D08 28 00 00 00 */ cmplwi r0, 0 +/* 80328DAC 00325D0C 41 82 00 14 */ beq lbl_80328DC0 +/* 80328DB0 00325D10 34 61 00 E0 */ addic. r3, r1, 0xe0 +/* 80328DB4 00325D14 41 82 00 0C */ beq lbl_80328DC0 +/* 80328DB8 00325D18 38 80 00 00 */ li r4, 0 +/* 80328DBC 00325D1C 48 01 80 85 */ bl __dt__6CTokenFv +lbl_80328DC0: +/* 80328DC0 00325D20 88 01 01 30 */ lbz r0, 0x130(r1) +/* 80328DC4 00325D24 38 60 00 00 */ li r3, 0 +/* 80328DC8 00325D28 98 61 00 E8 */ stb r3, 0xe8(r1) +/* 80328DCC 00325D2C 28 00 00 00 */ cmplwi r0, 0 +/* 80328DD0 00325D30 41 82 00 74 */ beq lbl_80328E44 +/* 80328DD4 00325D34 38 61 00 D4 */ addi r3, r1, 0xd4 +/* 80328DD8 00325D38 38 81 01 28 */ addi r4, r1, 0x128 +/* 80328DDC 00325D3C 48 01 80 CD */ bl __ct__6CTokenFRC6CToken +/* 80328DE0 00325D40 38 00 00 00 */ li r0, 0 +/* 80328DE4 00325D44 90 01 00 DC */ stw r0, 0xdc(r1) +/* 80328DE8 00325D48 88 1F 00 54 */ lbz r0, 0x54(r31) +/* 80328DEC 00325D4C 28 00 00 00 */ cmplwi r0, 0 +/* 80328DF0 00325D50 40 82 00 2C */ bne lbl_80328E1C +/* 80328DF4 00325D54 37 3F 00 48 */ addic. r25, r31, 0x48 +/* 80328DF8 00325D58 41 82 00 18 */ beq lbl_80328E10 +/* 80328DFC 00325D5C 7F 23 CB 78 */ mr r3, r25 +/* 80328E00 00325D60 38 81 00 D4 */ addi r4, r1, 0xd4 +/* 80328E04 00325D64 48 01 80 A5 */ bl __ct__6CTokenFRC6CToken +/* 80328E08 00325D68 80 01 00 DC */ lwz r0, 0xdc(r1) +/* 80328E0C 00325D6C 90 19 00 08 */ stw r0, 8(r25) +lbl_80328E10: +/* 80328E10 00325D70 38 00 00 01 */ li r0, 1 +/* 80328E14 00325D74 98 1F 00 54 */ stb r0, 0x54(r31) +/* 80328E18 00325D78 48 00 00 1C */ b lbl_80328E34 +lbl_80328E1C: +/* 80328E1C 00325D7C 3B 3F 00 48 */ addi r25, r31, 0x48 +/* 80328E20 00325D80 38 81 00 D4 */ addi r4, r1, 0xd4 +/* 80328E24 00325D84 7F 23 CB 78 */ mr r3, r25 +/* 80328E28 00325D88 48 01 7E 9D */ bl __as__6CTokenFRC6CToken +/* 80328E2C 00325D8C 80 01 00 DC */ lwz r0, 0xdc(r1) +/* 80328E30 00325D90 90 19 00 08 */ stw r0, 8(r25) +lbl_80328E34: +/* 80328E34 00325D94 38 61 00 D4 */ addi r3, r1, 0xd4 +/* 80328E38 00325D98 38 80 00 00 */ li r4, 0 +/* 80328E3C 00325D9C 48 01 80 05 */ bl __dt__6CTokenFv +/* 80328E40 00325DA0 48 00 00 BC */ b lbl_80328EFC +lbl_80328E44: +/* 80328E44 00325DA4 3B 3F 00 48 */ addi r25, r31, 0x48 +/* 80328E48 00325DA8 38 81 00 C4 */ addi r4, r1, 0xc4 +/* 80328E4C 00325DAC 7C 19 20 40 */ cmplw r25, r4 +/* 80328E50 00325DB0 98 61 00 D0 */ stb r3, 0xd0(r1) +/* 80328E54 00325DB4 41 82 00 7C */ beq lbl_80328ED0 +/* 80328E58 00325DB8 28 03 00 00 */ cmplwi r3, 0 +/* 80328E5C 00325DBC 41 82 00 48 */ beq lbl_80328EA4 +/* 80328E60 00325DC0 88 1F 00 54 */ lbz r0, 0x54(r31) +/* 80328E64 00325DC4 28 00 00 00 */ cmplwi r0, 0 +/* 80328E68 00325DC8 40 82 00 28 */ bne lbl_80328E90 +/* 80328E6C 00325DCC 37 3F 00 48 */ addic. r25, r31, 0x48 +/* 80328E70 00325DD0 41 82 00 14 */ beq lbl_80328E84 +/* 80328E74 00325DD4 7F 23 CB 78 */ mr r3, r25 +/* 80328E78 00325DD8 48 01 80 31 */ bl __ct__6CTokenFRC6CToken +/* 80328E7C 00325DDC 80 01 00 CC */ lwz r0, 0xcc(r1) +/* 80328E80 00325DE0 90 19 00 08 */ stw r0, 8(r25) +lbl_80328E84: +/* 80328E84 00325DE4 38 00 00 01 */ li r0, 1 +/* 80328E88 00325DE8 98 1F 00 54 */ stb r0, 0x54(r31) +/* 80328E8C 00325DEC 48 00 00 44 */ b lbl_80328ED0 +lbl_80328E90: +/* 80328E90 00325DF0 7F 23 CB 78 */ mr r3, r25 +/* 80328E94 00325DF4 48 01 7E 31 */ bl __as__6CTokenFRC6CToken +/* 80328E98 00325DF8 80 01 00 CC */ lwz r0, 0xcc(r1) +/* 80328E9C 00325DFC 90 19 00 08 */ stw r0, 8(r25) +/* 80328EA0 00325E00 48 00 00 30 */ b lbl_80328ED0 +lbl_80328EA4: +/* 80328EA4 00325E04 88 1F 00 54 */ lbz r0, 0x54(r31) +/* 80328EA8 00325E08 28 00 00 00 */ cmplwi r0, 0 +/* 80328EAC 00325E0C 41 82 00 1C */ beq lbl_80328EC8 +/* 80328EB0 00325E10 34 7F 00 48 */ addic. r3, r31, 0x48 +/* 80328EB4 00325E14 41 82 00 14 */ beq lbl_80328EC8 +/* 80328EB8 00325E18 28 03 00 00 */ cmplwi r3, 0 +/* 80328EBC 00325E1C 41 82 00 0C */ beq lbl_80328EC8 +/* 80328EC0 00325E20 38 80 00 00 */ li r4, 0 +/* 80328EC4 00325E24 48 01 7F 7D */ bl __dt__6CTokenFv +lbl_80328EC8: +/* 80328EC8 00325E28 38 00 00 00 */ li r0, 0 +/* 80328ECC 00325E2C 98 1F 00 54 */ stb r0, 0x54(r31) +lbl_80328ED0: +/* 80328ED0 00325E30 88 01 00 D0 */ lbz r0, 0xd0(r1) +/* 80328ED4 00325E34 28 00 00 00 */ cmplwi r0, 0 +/* 80328ED8 00325E38 41 82 00 1C */ beq lbl_80328EF4 +/* 80328EDC 00325E3C 34 61 00 C4 */ addic. r3, r1, 0xc4 +/* 80328EE0 00325E40 41 82 00 14 */ beq lbl_80328EF4 +/* 80328EE4 00325E44 28 03 00 00 */ cmplwi r3, 0 +/* 80328EE8 00325E48 41 82 00 0C */ beq lbl_80328EF4 +/* 80328EEC 00325E4C 38 80 00 00 */ li r4, 0 +/* 80328EF0 00325E50 48 01 7F 51 */ bl __dt__6CTokenFv +lbl_80328EF4: +/* 80328EF4 00325E54 38 00 00 00 */ li r0, 0 +/* 80328EF8 00325E58 98 01 00 D0 */ stb r0, 0xd0(r1) +lbl_80328EFC: +/* 80328EFC 00325E5C 88 01 01 30 */ lbz r0, 0x130(r1) +/* 80328F00 00325E60 28 00 00 00 */ cmplwi r0, 0 +/* 80328F04 00325E64 41 82 00 14 */ beq lbl_80328F18 +/* 80328F08 00325E68 34 61 01 28 */ addic. r3, r1, 0x128 +/* 80328F0C 00325E6C 41 82 00 0C */ beq lbl_80328F18 +/* 80328F10 00325E70 38 80 00 00 */ li r4, 0 +/* 80328F14 00325E74 48 01 7F 2D */ bl __dt__6CTokenFv +lbl_80328F18: +/* 80328F18 00325E78 38 00 00 00 */ li r0, 0 +/* 80328F1C 00325E7C 98 01 01 30 */ stb r0, 0x130(r1) +/* 80328F20 00325E80 48 00 0A F8 */ b lbl_80329A18 +lbl_80328F24: +/* 80328F24 00325E84 7F C3 F3 78 */ mr r3, r30 +/* 80328F28 00325E88 4B FF D3 2D */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80328F2C 00325E8C 90 7F 00 58 */ stw r3, 0x58(r31) +/* 80328F30 00325E90 48 00 0A E8 */ b lbl_80329A18 +lbl_80328F34: +/* 80328F34 00325E94 7F C3 F3 78 */ mr r3, r30 +/* 80328F38 00325E98 4B FF D3 1D */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80328F3C 00325E9C 90 7F 00 5C */ stw r3, 0x5c(r31) +/* 80328F40 00325EA0 48 00 0A D8 */ b lbl_80329A18 +lbl_80328F44: +/* 80328F44 00325EA4 7F C3 F3 78 */ mr r3, r30 +/* 80328F48 00325EA8 4B FF D3 0D */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80328F4C 00325EAC 90 7F 00 60 */ stw r3, 0x60(r31) +/* 80328F50 00325EB0 48 00 0A C8 */ b lbl_80329A18 +lbl_80328F54: +/* 80328F54 00325EB4 7F C3 F3 78 */ mr r3, r30 +/* 80328F58 00325EB8 4B FF C3 05 */ bl GetColorElement__20CParticleDataFactoryFR12CInputStream +/* 80328F5C 00325EBC 90 7F 00 64 */ stw r3, 0x64(r31) +/* 80328F60 00325EC0 48 00 0A B8 */ b lbl_80329A18 +lbl_80328F64: +/* 80328F64 00325EC4 7F C3 F3 78 */ mr r3, r30 +/* 80328F68 00325EC8 4B FF F4 C1 */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 80328F6C 00325ECC 88 1F 00 31 */ lbz r0, 0x31(r31) +/* 80328F70 00325ED0 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 80328F74 00325ED4 98 1F 00 31 */ stb r0, 0x31(r31) +/* 80328F78 00325ED8 48 00 0A A0 */ b lbl_80329A18 +lbl_80328F7C: +/* 80328F7C 00325EDC 7F C3 F3 78 */ mr r3, r30 +/* 80328F80 00325EE0 4B FF F4 A9 */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 80328F84 00325EE4 88 1F 00 31 */ lbz r0, 0x31(r31) +/* 80328F88 00325EE8 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 80328F8C 00325EEC 98 1F 00 31 */ stb r0, 0x31(r31) +/* 80328F90 00325EF0 48 00 0A 88 */ b lbl_80329A18 +lbl_80328F94: +/* 80328F94 00325EF4 7F C3 F3 78 */ mr r3, r30 +/* 80328F98 00325EF8 4B FF F4 91 */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 80328F9C 00325EFC 88 1F 00 31 */ lbz r0, 0x31(r31) +/* 80328FA0 00325F00 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 80328FA4 00325F04 98 1F 00 31 */ stb r0, 0x31(r31) +/* 80328FA8 00325F08 48 00 0A 70 */ b lbl_80329A18 +lbl_80328FAC: +/* 80328FAC 00325F0C 7F C3 F3 78 */ mr r3, r30 +/* 80328FB0 00325F10 4B FF EB F5 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 80328FB4 00325F14 90 7F 00 10 */ stw r3, 0x10(r31) +/* 80328FB8 00325F18 48 00 0A 60 */ b lbl_80329A18 +lbl_80328FBC: +/* 80328FBC 00325F1C 7F C4 F3 78 */ mr r4, r30 +/* 80328FC0 00325F20 7F A5 EB 78 */ mr r5, r29 +/* 80328FC4 00325F24 7F 86 E3 78 */ mr r6, r28 +/* 80328FC8 00325F28 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 80328FCC 00325F2C 4B FF BD C5 */ bl "GetChildGeneratorDesc__20CParticleDataFactoryFR12CInputStreamP11CSimplePoolRCQ24rstl37vector" +/* 80328FD0 00325F30 88 01 00 C0 */ lbz r0, 0xc0(r1) +/* 80328FD4 00325F34 28 00 00 00 */ cmplwi r0, 0 +/* 80328FD8 00325F38 98 01 01 24 */ stb r0, 0x124(r1) +/* 80328FDC 00325F3C 41 82 00 14 */ beq lbl_80328FF0 +/* 80328FE0 00325F40 34 61 01 1C */ addic. r3, r1, 0x11c +/* 80328FE4 00325F44 38 81 00 B8 */ addi r4, r1, 0xb8 +/* 80328FE8 00325F48 41 82 00 08 */ beq lbl_80328FF0 +/* 80328FEC 00325F4C 48 01 7E BD */ bl __ct__6CTokenFRC6CToken +lbl_80328FF0: +/* 80328FF0 00325F50 88 01 00 C0 */ lbz r0, 0xc0(r1) +/* 80328FF4 00325F54 28 00 00 00 */ cmplwi r0, 0 +/* 80328FF8 00325F58 41 82 00 14 */ beq lbl_8032900C +/* 80328FFC 00325F5C 34 61 00 B8 */ addic. r3, r1, 0xb8 +/* 80329000 00325F60 41 82 00 0C */ beq lbl_8032900C +/* 80329004 00325F64 38 80 00 00 */ li r4, 0 +/* 80329008 00325F68 48 01 7E 39 */ bl __dt__6CTokenFv +lbl_8032900C: +/* 8032900C 00325F6C 88 01 01 24 */ lbz r0, 0x124(r1) +/* 80329010 00325F70 38 60 00 00 */ li r3, 0 +/* 80329014 00325F74 98 61 00 C0 */ stb r3, 0xc0(r1) +/* 80329018 00325F78 28 00 00 00 */ cmplwi r0, 0 +/* 8032901C 00325F7C 41 82 00 74 */ beq lbl_80329090 +/* 80329020 00325F80 38 61 00 AC */ addi r3, r1, 0xac +/* 80329024 00325F84 38 81 01 1C */ addi r4, r1, 0x11c +/* 80329028 00325F88 48 01 7E 81 */ bl __ct__6CTokenFRC6CToken +/* 8032902C 00325F8C 38 00 00 00 */ li r0, 0 +/* 80329030 00325F90 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 80329034 00325F94 88 1F 00 84 */ lbz r0, 0x84(r31) +/* 80329038 00325F98 28 00 00 00 */ cmplwi r0, 0 +/* 8032903C 00325F9C 40 82 00 2C */ bne lbl_80329068 +/* 80329040 00325FA0 37 3F 00 78 */ addic. r25, r31, 0x78 +/* 80329044 00325FA4 41 82 00 18 */ beq lbl_8032905C +/* 80329048 00325FA8 7F 23 CB 78 */ mr r3, r25 +/* 8032904C 00325FAC 38 81 00 AC */ addi r4, r1, 0xac +/* 80329050 00325FB0 48 01 7E 59 */ bl __ct__6CTokenFRC6CToken +/* 80329054 00325FB4 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 80329058 00325FB8 90 19 00 08 */ stw r0, 8(r25) +lbl_8032905C: +/* 8032905C 00325FBC 38 00 00 01 */ li r0, 1 +/* 80329060 00325FC0 98 1F 00 84 */ stb r0, 0x84(r31) +/* 80329064 00325FC4 48 00 00 1C */ b lbl_80329080 +lbl_80329068: +/* 80329068 00325FC8 3B 3F 00 78 */ addi r25, r31, 0x78 +/* 8032906C 00325FCC 38 81 00 AC */ addi r4, r1, 0xac +/* 80329070 00325FD0 7F 23 CB 78 */ mr r3, r25 +/* 80329074 00325FD4 48 01 7C 51 */ bl __as__6CTokenFRC6CToken +/* 80329078 00325FD8 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 8032907C 00325FDC 90 19 00 08 */ stw r0, 8(r25) +lbl_80329080: +/* 80329080 00325FE0 38 61 00 AC */ addi r3, r1, 0xac +/* 80329084 00325FE4 38 80 00 00 */ li r4, 0 +/* 80329088 00325FE8 48 01 7D B9 */ bl __dt__6CTokenFv +/* 8032908C 00325FEC 48 00 00 BC */ b lbl_80329148 +lbl_80329090: +/* 80329090 00325FF0 3B 3F 00 78 */ addi r25, r31, 0x78 +/* 80329094 00325FF4 38 81 00 9C */ addi r4, r1, 0x9c +/* 80329098 00325FF8 7C 19 20 40 */ cmplw r25, r4 +/* 8032909C 00325FFC 98 61 00 A8 */ stb r3, 0xa8(r1) +/* 803290A0 00326000 41 82 00 7C */ beq lbl_8032911C +/* 803290A4 00326004 28 03 00 00 */ cmplwi r3, 0 +/* 803290A8 00326008 41 82 00 48 */ beq lbl_803290F0 +/* 803290AC 0032600C 88 1F 00 84 */ lbz r0, 0x84(r31) +/* 803290B0 00326010 28 00 00 00 */ cmplwi r0, 0 +/* 803290B4 00326014 40 82 00 28 */ bne lbl_803290DC +/* 803290B8 00326018 37 3F 00 78 */ addic. r25, r31, 0x78 +/* 803290BC 0032601C 41 82 00 14 */ beq lbl_803290D0 +/* 803290C0 00326020 7F 23 CB 78 */ mr r3, r25 +/* 803290C4 00326024 48 01 7D E5 */ bl __ct__6CTokenFRC6CToken +/* 803290C8 00326028 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 803290CC 0032602C 90 19 00 08 */ stw r0, 8(r25) +lbl_803290D0: +/* 803290D0 00326030 38 00 00 01 */ li r0, 1 +/* 803290D4 00326034 98 1F 00 84 */ stb r0, 0x84(r31) +/* 803290D8 00326038 48 00 00 44 */ b lbl_8032911C +lbl_803290DC: +/* 803290DC 0032603C 7F 23 CB 78 */ mr r3, r25 +/* 803290E0 00326040 48 01 7B E5 */ bl __as__6CTokenFRC6CToken +/* 803290E4 00326044 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 803290E8 00326048 90 19 00 08 */ stw r0, 8(r25) +/* 803290EC 0032604C 48 00 00 30 */ b lbl_8032911C +lbl_803290F0: +/* 803290F0 00326050 88 1F 00 84 */ lbz r0, 0x84(r31) +/* 803290F4 00326054 28 00 00 00 */ cmplwi r0, 0 +/* 803290F8 00326058 41 82 00 1C */ beq lbl_80329114 +/* 803290FC 0032605C 34 7F 00 78 */ addic. r3, r31, 0x78 +/* 80329100 00326060 41 82 00 14 */ beq lbl_80329114 +/* 80329104 00326064 28 03 00 00 */ cmplwi r3, 0 +/* 80329108 00326068 41 82 00 0C */ beq lbl_80329114 +/* 8032910C 0032606C 38 80 00 00 */ li r4, 0 +/* 80329110 00326070 48 01 7D 31 */ bl __dt__6CTokenFv +lbl_80329114: +/* 80329114 00326074 38 00 00 00 */ li r0, 0 +/* 80329118 00326078 98 1F 00 84 */ stb r0, 0x84(r31) +lbl_8032911C: +/* 8032911C 0032607C 88 01 00 A8 */ lbz r0, 0xa8(r1) +/* 80329120 00326080 28 00 00 00 */ cmplwi r0, 0 +/* 80329124 00326084 41 82 00 1C */ beq lbl_80329140 +/* 80329128 00326088 34 61 00 9C */ addic. r3, r1, 0x9c +/* 8032912C 0032608C 41 82 00 14 */ beq lbl_80329140 +/* 80329130 00326090 28 03 00 00 */ cmplwi r3, 0 +/* 80329134 00326094 41 82 00 0C */ beq lbl_80329140 +/* 80329138 00326098 38 80 00 00 */ li r4, 0 +/* 8032913C 0032609C 48 01 7D 05 */ bl __dt__6CTokenFv +lbl_80329140: +/* 80329140 003260A0 38 00 00 00 */ li r0, 0 +/* 80329144 003260A4 98 01 00 A8 */ stb r0, 0xa8(r1) +lbl_80329148: +/* 80329148 003260A8 88 01 01 24 */ lbz r0, 0x124(r1) +/* 8032914C 003260AC 28 00 00 00 */ cmplwi r0, 0 +/* 80329150 003260B0 41 82 00 14 */ beq lbl_80329164 +/* 80329154 003260B4 34 61 01 1C */ addic. r3, r1, 0x11c +/* 80329158 003260B8 41 82 00 0C */ beq lbl_80329164 +/* 8032915C 003260BC 38 80 00 00 */ li r4, 0 +/* 80329160 003260C0 48 01 7C E1 */ bl __dt__6CTokenFv +lbl_80329164: +/* 80329164 003260C4 38 00 00 00 */ li r0, 0 +/* 80329168 003260C8 98 01 01 24 */ stb r0, 0x124(r1) +/* 8032916C 003260CC 48 00 08 AC */ b lbl_80329A18 +lbl_80329170: +/* 80329170 003260D0 7F C3 F3 78 */ mr r3, r30 +/* 80329174 003260D4 4B FF EA 31 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 80329178 003260D8 90 7F 00 88 */ stw r3, 0x88(r31) +/* 8032917C 003260DC 48 00 08 9C */ b lbl_80329A18 +lbl_80329180: +/* 80329180 003260E0 7F C3 F3 78 */ mr r3, r30 +/* 80329184 003260E4 4B FF EA 21 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 80329188 003260E8 90 7F 00 8C */ stw r3, 0x8c(r31) +/* 8032918C 003260EC 48 00 08 8C */ b lbl_80329A18 +lbl_80329190: +/* 80329190 003260F0 7F C4 F3 78 */ mr r4, r30 +/* 80329194 003260F4 7F A5 EB 78 */ mr r5, r29 +/* 80329198 003260F8 7F 86 E3 78 */ mr r6, r28 +/* 8032919C 003260FC 38 61 00 90 */ addi r3, r1, 0x90 +/* 803291A0 00326100 4B FF BB F1 */ bl "GetChildGeneratorDesc__20CParticleDataFactoryFR12CInputStreamP11CSimplePoolRCQ24rstl37vector" +/* 803291A4 00326104 88 01 00 98 */ lbz r0, 0x98(r1) +/* 803291A8 00326108 28 00 00 00 */ cmplwi r0, 0 +/* 803291AC 0032610C 98 01 01 18 */ stb r0, 0x118(r1) +/* 803291B0 00326110 41 82 00 14 */ beq lbl_803291C4 +/* 803291B4 00326114 34 61 01 10 */ addic. r3, r1, 0x110 +/* 803291B8 00326118 38 81 00 90 */ addi r4, r1, 0x90 +/* 803291BC 0032611C 41 82 00 08 */ beq lbl_803291C4 +/* 803291C0 00326120 48 01 7C E9 */ bl __ct__6CTokenFRC6CToken +lbl_803291C4: +/* 803291C4 00326124 88 01 00 98 */ lbz r0, 0x98(r1) +/* 803291C8 00326128 28 00 00 00 */ cmplwi r0, 0 +/* 803291CC 0032612C 41 82 00 14 */ beq lbl_803291E0 +/* 803291D0 00326130 34 61 00 90 */ addic. r3, r1, 0x90 +/* 803291D4 00326134 41 82 00 0C */ beq lbl_803291E0 +/* 803291D8 00326138 38 80 00 00 */ li r4, 0 +/* 803291DC 0032613C 48 01 7C 65 */ bl __dt__6CTokenFv +lbl_803291E0: +/* 803291E0 00326140 88 01 01 18 */ lbz r0, 0x118(r1) +/* 803291E4 00326144 38 60 00 00 */ li r3, 0 +/* 803291E8 00326148 98 61 00 98 */ stb r3, 0x98(r1) +/* 803291EC 0032614C 28 00 00 00 */ cmplwi r0, 0 +/* 803291F0 00326150 41 82 00 74 */ beq lbl_80329264 +/* 803291F4 00326154 38 61 00 84 */ addi r3, r1, 0x84 +/* 803291F8 00326158 38 81 01 10 */ addi r4, r1, 0x110 +/* 803291FC 0032615C 48 01 7C AD */ bl __ct__6CTokenFRC6CToken +/* 80329200 00326160 38 00 00 00 */ li r0, 0 +/* 80329204 00326164 90 01 00 8C */ stw r0, 0x8c(r1) +/* 80329208 00326168 88 1F 00 9C */ lbz r0, 0x9c(r31) +/* 8032920C 0032616C 28 00 00 00 */ cmplwi r0, 0 +/* 80329210 00326170 40 82 00 2C */ bne lbl_8032923C +/* 80329214 00326174 37 3F 00 90 */ addic. r25, r31, 0x90 +/* 80329218 00326178 41 82 00 18 */ beq lbl_80329230 +/* 8032921C 0032617C 7F 23 CB 78 */ mr r3, r25 +/* 80329220 00326180 38 81 00 84 */ addi r4, r1, 0x84 +/* 80329224 00326184 48 01 7C 85 */ bl __ct__6CTokenFRC6CToken +/* 80329228 00326188 80 01 00 8C */ lwz r0, 0x8c(r1) +/* 8032922C 0032618C 90 19 00 08 */ stw r0, 8(r25) +lbl_80329230: +/* 80329230 00326190 38 00 00 01 */ li r0, 1 +/* 80329234 00326194 98 1F 00 9C */ stb r0, 0x9c(r31) +/* 80329238 00326198 48 00 00 1C */ b lbl_80329254 +lbl_8032923C: +/* 8032923C 0032619C 3B 3F 00 90 */ addi r25, r31, 0x90 +/* 80329240 003261A0 38 81 00 84 */ addi r4, r1, 0x84 +/* 80329244 003261A4 7F 23 CB 78 */ mr r3, r25 +/* 80329248 003261A8 48 01 7A 7D */ bl __as__6CTokenFRC6CToken +/* 8032924C 003261AC 80 01 00 8C */ lwz r0, 0x8c(r1) +/* 80329250 003261B0 90 19 00 08 */ stw r0, 8(r25) +lbl_80329254: +/* 80329254 003261B4 38 61 00 84 */ addi r3, r1, 0x84 +/* 80329258 003261B8 38 80 00 00 */ li r4, 0 +/* 8032925C 003261BC 48 01 7B E5 */ bl __dt__6CTokenFv +/* 80329260 003261C0 48 00 00 BC */ b lbl_8032931C +lbl_80329264: +/* 80329264 003261C4 3B 3F 00 90 */ addi r25, r31, 0x90 +/* 80329268 003261C8 38 81 00 74 */ addi r4, r1, 0x74 +/* 8032926C 003261CC 7C 19 20 40 */ cmplw r25, r4 +/* 80329270 003261D0 98 61 00 80 */ stb r3, 0x80(r1) +/* 80329274 003261D4 41 82 00 7C */ beq lbl_803292F0 +/* 80329278 003261D8 28 03 00 00 */ cmplwi r3, 0 +/* 8032927C 003261DC 41 82 00 48 */ beq lbl_803292C4 +/* 80329280 003261E0 88 1F 00 9C */ lbz r0, 0x9c(r31) +/* 80329284 003261E4 28 00 00 00 */ cmplwi r0, 0 +/* 80329288 003261E8 40 82 00 28 */ bne lbl_803292B0 +/* 8032928C 003261EC 37 3F 00 90 */ addic. r25, r31, 0x90 +/* 80329290 003261F0 41 82 00 14 */ beq lbl_803292A4 +/* 80329294 003261F4 7F 23 CB 78 */ mr r3, r25 +/* 80329298 003261F8 48 01 7C 11 */ bl __ct__6CTokenFRC6CToken +/* 8032929C 003261FC 80 01 00 7C */ lwz r0, 0x7c(r1) +/* 803292A0 00326200 90 19 00 08 */ stw r0, 8(r25) +lbl_803292A4: +/* 803292A4 00326204 38 00 00 01 */ li r0, 1 +/* 803292A8 00326208 98 1F 00 9C */ stb r0, 0x9c(r31) +/* 803292AC 0032620C 48 00 00 44 */ b lbl_803292F0 +lbl_803292B0: +/* 803292B0 00326210 7F 23 CB 78 */ mr r3, r25 +/* 803292B4 00326214 48 01 7A 11 */ bl __as__6CTokenFRC6CToken +/* 803292B8 00326218 80 01 00 7C */ lwz r0, 0x7c(r1) +/* 803292BC 0032621C 90 19 00 08 */ stw r0, 8(r25) +/* 803292C0 00326220 48 00 00 30 */ b lbl_803292F0 +lbl_803292C4: +/* 803292C4 00326224 88 1F 00 9C */ lbz r0, 0x9c(r31) +/* 803292C8 00326228 28 00 00 00 */ cmplwi r0, 0 +/* 803292CC 0032622C 41 82 00 1C */ beq lbl_803292E8 +/* 803292D0 00326230 34 7F 00 90 */ addic. r3, r31, 0x90 +/* 803292D4 00326234 41 82 00 14 */ beq lbl_803292E8 +/* 803292D8 00326238 28 03 00 00 */ cmplwi r3, 0 +/* 803292DC 0032623C 41 82 00 0C */ beq lbl_803292E8 +/* 803292E0 00326240 38 80 00 00 */ li r4, 0 +/* 803292E4 00326244 48 01 7B 5D */ bl __dt__6CTokenFv +lbl_803292E8: +/* 803292E8 00326248 38 00 00 00 */ li r0, 0 +/* 803292EC 0032624C 98 1F 00 9C */ stb r0, 0x9c(r31) +lbl_803292F0: +/* 803292F0 00326250 88 01 00 80 */ lbz r0, 0x80(r1) +/* 803292F4 00326254 28 00 00 00 */ cmplwi r0, 0 +/* 803292F8 00326258 41 82 00 1C */ beq lbl_80329314 +/* 803292FC 0032625C 34 61 00 74 */ addic. r3, r1, 0x74 +/* 80329300 00326260 41 82 00 14 */ beq lbl_80329314 +/* 80329304 00326264 28 03 00 00 */ cmplwi r3, 0 +/* 80329308 00326268 41 82 00 0C */ beq lbl_80329314 +/* 8032930C 0032626C 38 80 00 00 */ li r4, 0 +/* 80329310 00326270 48 01 7B 31 */ bl __dt__6CTokenFv +lbl_80329314: +/* 80329314 00326274 38 00 00 00 */ li r0, 0 +/* 80329318 00326278 98 01 00 80 */ stb r0, 0x80(r1) +lbl_8032931C: +/* 8032931C 0032627C 88 01 01 18 */ lbz r0, 0x118(r1) +/* 80329320 00326280 28 00 00 00 */ cmplwi r0, 0 +/* 80329324 00326284 41 82 00 14 */ beq lbl_80329338 +/* 80329328 00326288 34 61 01 10 */ addic. r3, r1, 0x110 +/* 8032932C 0032628C 41 82 00 0C */ beq lbl_80329338 +/* 80329330 00326290 38 80 00 00 */ li r4, 0 +/* 80329334 00326294 48 01 7B 0D */ bl __dt__6CTokenFv +lbl_80329338: +/* 80329338 00326298 38 00 00 00 */ li r0, 0 +/* 8032933C 0032629C 98 01 01 18 */ stb r0, 0x118(r1) +/* 80329340 003262A0 48 00 06 D8 */ b lbl_80329A18 +lbl_80329344: +/* 80329344 003262A4 7F C3 F3 78 */ mr r3, r30 +/* 80329348 003262A8 4B FF E8 5D */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 8032934C 003262AC 90 7F 00 A0 */ stw r3, 0xa0(r31) +/* 80329350 003262B0 48 00 06 C8 */ b lbl_80329A18 +lbl_80329354: +/* 80329354 003262B4 7F C4 F3 78 */ mr r4, r30 +/* 80329358 003262B8 7F A5 EB 78 */ mr r5, r29 +/* 8032935C 003262BC 7F 86 E3 78 */ mr r6, r28 +/* 80329360 003262C0 38 61 00 68 */ addi r3, r1, 0x68 +/* 80329364 003262C4 4B FF BA 2D */ bl "GetChildGeneratorDesc__20CParticleDataFactoryFR12CInputStreamP11CSimplePoolRCQ24rstl37vector" +/* 80329368 003262C8 88 01 00 70 */ lbz r0, 0x70(r1) +/* 8032936C 003262CC 28 00 00 00 */ cmplwi r0, 0 +/* 80329370 003262D0 98 01 01 0C */ stb r0, 0x10c(r1) +/* 80329374 003262D4 41 82 00 14 */ beq lbl_80329388 +/* 80329378 003262D8 34 61 01 04 */ addic. r3, r1, 0x104 +/* 8032937C 003262DC 38 81 00 68 */ addi r4, r1, 0x68 +/* 80329380 003262E0 41 82 00 08 */ beq lbl_80329388 +/* 80329384 003262E4 48 01 7B 25 */ bl __ct__6CTokenFRC6CToken +lbl_80329388: +/* 80329388 003262E8 88 01 00 70 */ lbz r0, 0x70(r1) +/* 8032938C 003262EC 28 00 00 00 */ cmplwi r0, 0 +/* 80329390 003262F0 41 82 00 14 */ beq lbl_803293A4 +/* 80329394 003262F4 34 61 00 68 */ addic. r3, r1, 0x68 +/* 80329398 003262F8 41 82 00 0C */ beq lbl_803293A4 +/* 8032939C 003262FC 38 80 00 00 */ li r4, 0 +/* 803293A0 00326300 48 01 7A A1 */ bl __dt__6CTokenFv +lbl_803293A4: +/* 803293A4 00326304 88 01 01 0C */ lbz r0, 0x10c(r1) +/* 803293A8 00326308 38 60 00 00 */ li r3, 0 +/* 803293AC 0032630C 98 61 00 70 */ stb r3, 0x70(r1) +/* 803293B0 00326310 28 00 00 00 */ cmplwi r0, 0 +/* 803293B4 00326314 41 82 00 74 */ beq lbl_80329428 +/* 803293B8 00326318 38 61 00 5C */ addi r3, r1, 0x5c +/* 803293BC 0032631C 38 81 01 04 */ addi r4, r1, 0x104 +/* 803293C0 00326320 48 01 7A E9 */ bl __ct__6CTokenFRC6CToken +/* 803293C4 00326324 38 00 00 00 */ li r0, 0 +/* 803293C8 00326328 90 01 00 64 */ stw r0, 0x64(r1) +/* 803293CC 0032632C 88 1F 00 B0 */ lbz r0, 0xb0(r31) +/* 803293D0 00326330 28 00 00 00 */ cmplwi r0, 0 +/* 803293D4 00326334 40 82 00 2C */ bne lbl_80329400 +/* 803293D8 00326338 37 3F 00 A4 */ addic. r25, r31, 0xa4 +/* 803293DC 0032633C 41 82 00 18 */ beq lbl_803293F4 +/* 803293E0 00326340 7F 23 CB 78 */ mr r3, r25 +/* 803293E4 00326344 38 81 00 5C */ addi r4, r1, 0x5c +/* 803293E8 00326348 48 01 7A C1 */ bl __ct__6CTokenFRC6CToken +/* 803293EC 0032634C 80 01 00 64 */ lwz r0, 0x64(r1) +/* 803293F0 00326350 90 19 00 08 */ stw r0, 8(r25) +lbl_803293F4: +/* 803293F4 00326354 38 00 00 01 */ li r0, 1 +/* 803293F8 00326358 98 1F 00 B0 */ stb r0, 0xb0(r31) +/* 803293FC 0032635C 48 00 00 1C */ b lbl_80329418 +lbl_80329400: +/* 80329400 00326360 3B 3F 00 A4 */ addi r25, r31, 0xa4 +/* 80329404 00326364 38 81 00 5C */ addi r4, r1, 0x5c +/* 80329408 00326368 7F 23 CB 78 */ mr r3, r25 +/* 8032940C 0032636C 48 01 78 B9 */ bl __as__6CTokenFRC6CToken +/* 80329410 00326370 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80329414 00326374 90 19 00 08 */ stw r0, 8(r25) +lbl_80329418: +/* 80329418 00326378 38 61 00 5C */ addi r3, r1, 0x5c +/* 8032941C 0032637C 38 80 00 00 */ li r4, 0 +/* 80329420 00326380 48 01 7A 21 */ bl __dt__6CTokenFv +/* 80329424 00326384 48 00 00 BC */ b lbl_803294E0 +lbl_80329428: +/* 80329428 00326388 3B 3F 00 A4 */ addi r25, r31, 0xa4 +/* 8032942C 0032638C 38 81 00 4C */ addi r4, r1, 0x4c +/* 80329430 00326390 7C 19 20 40 */ cmplw r25, r4 +/* 80329434 00326394 98 61 00 58 */ stb r3, 0x58(r1) +/* 80329438 00326398 41 82 00 7C */ beq lbl_803294B4 +/* 8032943C 0032639C 28 03 00 00 */ cmplwi r3, 0 +/* 80329440 003263A0 41 82 00 48 */ beq lbl_80329488 +/* 80329444 003263A4 88 1F 00 B0 */ lbz r0, 0xb0(r31) +/* 80329448 003263A8 28 00 00 00 */ cmplwi r0, 0 +/* 8032944C 003263AC 40 82 00 28 */ bne lbl_80329474 +/* 80329450 003263B0 37 3F 00 A4 */ addic. r25, r31, 0xa4 +/* 80329454 003263B4 41 82 00 14 */ beq lbl_80329468 +/* 80329458 003263B8 7F 23 CB 78 */ mr r3, r25 +/* 8032945C 003263BC 48 01 7A 4D */ bl __ct__6CTokenFRC6CToken +/* 80329460 003263C0 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80329464 003263C4 90 19 00 08 */ stw r0, 8(r25) +lbl_80329468: +/* 80329468 003263C8 38 00 00 01 */ li r0, 1 +/* 8032946C 003263CC 98 1F 00 B0 */ stb r0, 0xb0(r31) +/* 80329470 003263D0 48 00 00 44 */ b lbl_803294B4 +lbl_80329474: +/* 80329474 003263D4 7F 23 CB 78 */ mr r3, r25 +/* 80329478 003263D8 48 01 78 4D */ bl __as__6CTokenFRC6CToken +/* 8032947C 003263DC 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80329480 003263E0 90 19 00 08 */ stw r0, 8(r25) +/* 80329484 003263E4 48 00 00 30 */ b lbl_803294B4 +lbl_80329488: +/* 80329488 003263E8 88 1F 00 B0 */ lbz r0, 0xb0(r31) +/* 8032948C 003263EC 28 00 00 00 */ cmplwi r0, 0 +/* 80329490 003263F0 41 82 00 1C */ beq lbl_803294AC +/* 80329494 003263F4 34 7F 00 A4 */ addic. r3, r31, 0xa4 +/* 80329498 003263F8 41 82 00 14 */ beq lbl_803294AC +/* 8032949C 003263FC 28 03 00 00 */ cmplwi r3, 0 +/* 803294A0 00326400 41 82 00 0C */ beq lbl_803294AC +/* 803294A4 00326404 38 80 00 00 */ li r4, 0 +/* 803294A8 00326408 48 01 79 99 */ bl __dt__6CTokenFv +lbl_803294AC: +/* 803294AC 0032640C 38 00 00 00 */ li r0, 0 +/* 803294B0 00326410 98 1F 00 B0 */ stb r0, 0xb0(r31) +lbl_803294B4: +/* 803294B4 00326414 88 01 00 58 */ lbz r0, 0x58(r1) +/* 803294B8 00326418 28 00 00 00 */ cmplwi r0, 0 +/* 803294BC 0032641C 41 82 00 1C */ beq lbl_803294D8 +/* 803294C0 00326420 34 61 00 4C */ addic. r3, r1, 0x4c +/* 803294C4 00326424 41 82 00 14 */ beq lbl_803294D8 +/* 803294C8 00326428 28 03 00 00 */ cmplwi r3, 0 +/* 803294CC 0032642C 41 82 00 0C */ beq lbl_803294D8 +/* 803294D0 00326430 38 80 00 00 */ li r4, 0 +/* 803294D4 00326434 48 01 79 6D */ bl __dt__6CTokenFv +lbl_803294D8: +/* 803294D8 00326438 38 00 00 00 */ li r0, 0 +/* 803294DC 0032643C 98 01 00 58 */ stb r0, 0x58(r1) +lbl_803294E0: +/* 803294E0 00326440 88 01 01 0C */ lbz r0, 0x10c(r1) +/* 803294E4 00326444 28 00 00 00 */ cmplwi r0, 0 +/* 803294E8 00326448 41 82 00 14 */ beq lbl_803294FC +/* 803294EC 0032644C 34 61 01 04 */ addic. r3, r1, 0x104 +/* 803294F0 00326450 41 82 00 0C */ beq lbl_803294FC +/* 803294F4 00326454 38 80 00 00 */ li r4, 0 +/* 803294F8 00326458 48 01 79 49 */ bl __dt__6CTokenFv +lbl_803294FC: +/* 803294FC 0032645C 38 00 00 00 */ li r0, 0 +/* 80329500 00326460 98 01 01 0C */ stb r0, 0x10c(r1) +/* 80329504 00326464 48 00 05 14 */ b lbl_80329A18 +lbl_80329508: +/* 80329508 00326468 7F C3 F3 78 */ mr r3, r30 +/* 8032950C 0032646C 4B FF E6 99 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 80329510 00326470 90 7F 00 B4 */ stw r3, 0xb4(r31) +/* 80329514 00326474 48 00 05 04 */ b lbl_80329A18 +lbl_80329518: +/* 80329518 00326478 7F C3 F3 78 */ mr r3, r30 +/* 8032951C 0032647C 4B FF E6 89 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 80329520 00326480 90 7F 00 B8 */ stw r3, 0xb8(r31) +/* 80329524 00326484 48 00 04 F4 */ b lbl_80329A18 +lbl_80329528: +/* 80329528 00326488 7F C4 F3 78 */ mr r4, r30 +/* 8032952C 0032648C 7F A5 EB 78 */ mr r5, r29 +/* 80329530 00326490 38 61 00 40 */ addi r3, r1, 0x40 +/* 80329534 00326494 4B FF B6 85 */ bl GetSwooshGeneratorDesc__20CParticleDataFactoryFR12CInputStreamP11CSimplePool +/* 80329538 00326498 88 01 00 48 */ lbz r0, 0x48(r1) +/* 8032953C 0032649C 28 00 00 00 */ cmplwi r0, 0 +/* 80329540 003264A0 98 01 01 00 */ stb r0, 0x100(r1) +/* 80329544 003264A4 41 82 00 14 */ beq lbl_80329558 +/* 80329548 003264A8 34 61 00 F8 */ addic. r3, r1, 0xf8 +/* 8032954C 003264AC 38 81 00 40 */ addi r4, r1, 0x40 +/* 80329550 003264B0 41 82 00 08 */ beq lbl_80329558 +/* 80329554 003264B4 48 01 79 55 */ bl __ct__6CTokenFRC6CToken +lbl_80329558: +/* 80329558 003264B8 88 01 00 48 */ lbz r0, 0x48(r1) +/* 8032955C 003264BC 28 00 00 00 */ cmplwi r0, 0 +/* 80329560 003264C0 41 82 00 14 */ beq lbl_80329574 +/* 80329564 003264C4 34 61 00 40 */ addic. r3, r1, 0x40 +/* 80329568 003264C8 41 82 00 0C */ beq lbl_80329574 +/* 8032956C 003264CC 38 80 00 00 */ li r4, 0 +/* 80329570 003264D0 48 01 78 D1 */ bl __dt__6CTokenFv +lbl_80329574: +/* 80329574 003264D4 88 01 01 00 */ lbz r0, 0x100(r1) +/* 80329578 003264D8 38 60 00 00 */ li r3, 0 +/* 8032957C 003264DC 98 61 00 48 */ stb r3, 0x48(r1) +/* 80329580 003264E0 28 00 00 00 */ cmplwi r0, 0 +/* 80329584 003264E4 41 82 00 74 */ beq lbl_803295F8 +/* 80329588 003264E8 38 61 00 34 */ addi r3, r1, 0x34 +/* 8032958C 003264EC 38 81 00 F8 */ addi r4, r1, 0xf8 +/* 80329590 003264F0 48 01 79 19 */ bl __ct__6CTokenFRC6CToken +/* 80329594 003264F4 38 00 00 00 */ li r0, 0 +/* 80329598 003264F8 90 01 00 3C */ stw r0, 0x3c(r1) +/* 8032959C 003264FC 88 1F 00 CC */ lbz r0, 0xcc(r31) +/* 803295A0 00326500 28 00 00 00 */ cmplwi r0, 0 +/* 803295A4 00326504 40 82 00 2C */ bne lbl_803295D0 +/* 803295A8 00326508 37 3F 00 C0 */ addic. r25, r31, 0xc0 +/* 803295AC 0032650C 41 82 00 18 */ beq lbl_803295C4 +/* 803295B0 00326510 7F 23 CB 78 */ mr r3, r25 +/* 803295B4 00326514 38 81 00 34 */ addi r4, r1, 0x34 +/* 803295B8 00326518 48 01 78 F1 */ bl __ct__6CTokenFRC6CToken +/* 803295BC 0032651C 80 01 00 3C */ lwz r0, 0x3c(r1) +/* 803295C0 00326520 90 19 00 08 */ stw r0, 8(r25) +lbl_803295C4: +/* 803295C4 00326524 38 00 00 01 */ li r0, 1 +/* 803295C8 00326528 98 1F 00 CC */ stb r0, 0xcc(r31) +/* 803295CC 0032652C 48 00 00 1C */ b lbl_803295E8 +lbl_803295D0: +/* 803295D0 00326530 3B 3F 00 C0 */ addi r25, r31, 0xc0 +/* 803295D4 00326534 38 81 00 34 */ addi r4, r1, 0x34 +/* 803295D8 00326538 7F 23 CB 78 */ mr r3, r25 +/* 803295DC 0032653C 48 01 76 E9 */ bl __as__6CTokenFRC6CToken +/* 803295E0 00326540 80 01 00 3C */ lwz r0, 0x3c(r1) +/* 803295E4 00326544 90 19 00 08 */ stw r0, 8(r25) +lbl_803295E8: +/* 803295E8 00326548 38 61 00 34 */ addi r3, r1, 0x34 +/* 803295EC 0032654C 38 80 00 00 */ li r4, 0 +/* 803295F0 00326550 48 01 78 51 */ bl __dt__6CTokenFv +/* 803295F4 00326554 48 00 00 BC */ b lbl_803296B0 +lbl_803295F8: +/* 803295F8 00326558 3B 3F 00 C0 */ addi r25, r31, 0xc0 +/* 803295FC 0032655C 38 81 00 24 */ addi r4, r1, 0x24 +/* 80329600 00326560 7C 19 20 40 */ cmplw r25, r4 +/* 80329604 00326564 98 61 00 30 */ stb r3, 0x30(r1) +/* 80329608 00326568 41 82 00 7C */ beq lbl_80329684 +/* 8032960C 0032656C 28 03 00 00 */ cmplwi r3, 0 +/* 80329610 00326570 41 82 00 48 */ beq lbl_80329658 +/* 80329614 00326574 88 1F 00 CC */ lbz r0, 0xcc(r31) +/* 80329618 00326578 28 00 00 00 */ cmplwi r0, 0 +/* 8032961C 0032657C 40 82 00 28 */ bne lbl_80329644 +/* 80329620 00326580 37 3F 00 C0 */ addic. r25, r31, 0xc0 +/* 80329624 00326584 41 82 00 14 */ beq lbl_80329638 +/* 80329628 00326588 7F 23 CB 78 */ mr r3, r25 +/* 8032962C 0032658C 48 01 78 7D */ bl __ct__6CTokenFRC6CToken +/* 80329630 00326590 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 80329634 00326594 90 19 00 08 */ stw r0, 8(r25) +lbl_80329638: +/* 80329638 00326598 38 00 00 01 */ li r0, 1 +/* 8032963C 0032659C 98 1F 00 CC */ stb r0, 0xcc(r31) +/* 80329640 003265A0 48 00 00 44 */ b lbl_80329684 +lbl_80329644: +/* 80329644 003265A4 7F 23 CB 78 */ mr r3, r25 +/* 80329648 003265A8 48 01 76 7D */ bl __as__6CTokenFRC6CToken +/* 8032964C 003265AC 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 80329650 003265B0 90 19 00 08 */ stw r0, 8(r25) +/* 80329654 003265B4 48 00 00 30 */ b lbl_80329684 +lbl_80329658: +/* 80329658 003265B8 88 1F 00 CC */ lbz r0, 0xcc(r31) +/* 8032965C 003265BC 28 00 00 00 */ cmplwi r0, 0 +/* 80329660 003265C0 41 82 00 1C */ beq lbl_8032967C +/* 80329664 003265C4 34 7F 00 C0 */ addic. r3, r31, 0xc0 +/* 80329668 003265C8 41 82 00 14 */ beq lbl_8032967C +/* 8032966C 003265CC 28 03 00 00 */ cmplwi r3, 0 +/* 80329670 003265D0 41 82 00 0C */ beq lbl_8032967C +/* 80329674 003265D4 38 80 00 00 */ li r4, 0 +/* 80329678 003265D8 48 01 77 C9 */ bl __dt__6CTokenFv +lbl_8032967C: +/* 8032967C 003265DC 38 00 00 00 */ li r0, 0 +/* 80329680 003265E0 98 1F 00 CC */ stb r0, 0xcc(r31) +lbl_80329684: +/* 80329684 003265E4 88 01 00 30 */ lbz r0, 0x30(r1) +/* 80329688 003265E8 28 00 00 00 */ cmplwi r0, 0 +/* 8032968C 003265EC 41 82 00 1C */ beq lbl_803296A8 +/* 80329690 003265F0 34 61 00 24 */ addic. r3, r1, 0x24 +/* 80329694 003265F4 41 82 00 14 */ beq lbl_803296A8 +/* 80329698 003265F8 28 03 00 00 */ cmplwi r3, 0 +/* 8032969C 003265FC 41 82 00 0C */ beq lbl_803296A8 +/* 803296A0 00326600 38 80 00 00 */ li r4, 0 +/* 803296A4 00326604 48 01 77 9D */ bl __dt__6CTokenFv +lbl_803296A8: +/* 803296A8 00326608 38 00 00 00 */ li r0, 0 +/* 803296AC 0032660C 98 01 00 30 */ stb r0, 0x30(r1) +lbl_803296B0: +/* 803296B0 00326610 88 01 01 00 */ lbz r0, 0x100(r1) +/* 803296B4 00326614 28 00 00 00 */ cmplwi r0, 0 +/* 803296B8 00326618 41 82 00 14 */ beq lbl_803296CC +/* 803296BC 0032661C 34 61 00 F8 */ addic. r3, r1, 0xf8 +/* 803296C0 00326620 41 82 00 0C */ beq lbl_803296CC +/* 803296C4 00326624 38 80 00 00 */ li r4, 0 +/* 803296C8 00326628 48 01 77 79 */ bl __dt__6CTokenFv +lbl_803296CC: +/* 803296CC 0032662C 38 00 00 00 */ li r0, 0 +/* 803296D0 00326630 98 01 01 00 */ stb r0, 0x100(r1) +/* 803296D4 00326634 48 00 03 44 */ b lbl_80329A18 +lbl_803296D8: +/* 803296D8 00326638 7F C3 F3 78 */ mr r3, r30 +/* 803296DC 0032663C 4B FF E4 C9 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 803296E0 00326640 90 7F 00 D0 */ stw r3, 0xd0(r31) +/* 803296E4 00326644 48 00 03 34 */ b lbl_80329A18 +lbl_803296E8: +/* 803296E8 00326648 7F C3 F3 78 */ mr r3, r30 +/* 803296EC 0032664C 4B FF CB 69 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 803296F0 00326650 90 7F 00 D4 */ stw r3, 0xd4(r31) +/* 803296F4 00326654 48 00 03 24 */ b lbl_80329A18 +lbl_803296F8: +/* 803296F8 00326658 7F C4 F3 78 */ mr r4, r30 +/* 803296FC 0032665C 7F A5 EB 78 */ mr r5, r29 +/* 80329700 00326660 38 61 00 18 */ addi r3, r1, 0x18 +/* 80329704 00326664 4B FF B3 C9 */ bl GetElectricGeneratorDesc__20CParticleDataFactoryFR12CInputStreamP11CSimplePool +/* 80329708 00326668 88 01 00 20 */ lbz r0, 0x20(r1) +/* 8032970C 0032666C 28 00 00 00 */ cmplwi r0, 0 +/* 80329710 00326670 98 01 00 F4 */ stb r0, 0xf4(r1) +/* 80329714 00326674 41 82 00 14 */ beq lbl_80329728 +/* 80329718 00326678 34 61 00 EC */ addic. r3, r1, 0xec +/* 8032971C 0032667C 38 81 00 18 */ addi r4, r1, 0x18 +/* 80329720 00326680 41 82 00 08 */ beq lbl_80329728 +/* 80329724 00326684 48 01 77 85 */ bl __ct__6CTokenFRC6CToken +lbl_80329728: +/* 80329728 00326688 88 01 00 20 */ lbz r0, 0x20(r1) +/* 8032972C 0032668C 28 00 00 00 */ cmplwi r0, 0 +/* 80329730 00326690 41 82 00 14 */ beq lbl_80329744 +/* 80329734 00326694 34 61 00 18 */ addic. r3, r1, 0x18 +/* 80329738 00326698 41 82 00 0C */ beq lbl_80329744 +/* 8032973C 0032669C 38 80 00 00 */ li r4, 0 +/* 80329740 003266A0 48 01 77 01 */ bl __dt__6CTokenFv +lbl_80329744: +/* 80329744 003266A4 88 01 00 F4 */ lbz r0, 0xf4(r1) +/* 80329748 003266A8 38 A0 00 00 */ li r5, 0 +/* 8032974C 003266AC 98 A1 00 20 */ stb r5, 0x20(r1) +/* 80329750 003266B0 28 00 00 00 */ cmplwi r0, 0 +/* 80329754 003266B4 41 82 00 38 */ beq lbl_8032978C +/* 80329758 003266B8 88 1F 00 E0 */ lbz r0, 0xe0(r31) +/* 8032975C 003266BC 38 81 00 EC */ addi r4, r1, 0xec +/* 80329760 003266C0 28 00 00 00 */ cmplwi r0, 0 +/* 80329764 003266C4 40 82 00 1C */ bne lbl_80329780 +/* 80329768 003266C8 34 7F 00 D8 */ addic. r3, r31, 0xd8 +/* 8032976C 003266CC 41 82 00 08 */ beq lbl_80329774 +/* 80329770 003266D0 48 01 77 39 */ bl __ct__6CTokenFRC6CToken +lbl_80329774: +/* 80329774 003266D4 38 00 00 01 */ li r0, 1 +/* 80329778 003266D8 98 1F 00 E0 */ stb r0, 0xe0(r31) +/* 8032977C 003266DC 48 00 00 94 */ b lbl_80329810 +lbl_80329780: +/* 80329780 003266E0 38 7F 00 D8 */ addi r3, r31, 0xd8 +/* 80329784 003266E4 48 01 75 41 */ bl __as__6CTokenFRC6CToken +/* 80329788 003266E8 48 00 00 88 */ b lbl_80329810 +lbl_8032978C: +/* 8032978C 003266EC 38 7F 00 D8 */ addi r3, r31, 0xd8 +/* 80329790 003266F0 38 81 00 0C */ addi r4, r1, 0xc +/* 80329794 003266F4 7C 03 20 40 */ cmplw r3, r4 +/* 80329798 003266F8 98 A1 00 14 */ stb r5, 0x14(r1) +/* 8032979C 003266FC 41 82 00 54 */ beq lbl_803297F0 +/* 803297A0 00326700 28 05 00 00 */ cmplwi r5, 0 +/* 803297A4 00326704 41 82 00 30 */ beq lbl_803297D4 +/* 803297A8 00326708 88 1F 00 E0 */ lbz r0, 0xe0(r31) +/* 803297AC 0032670C 28 00 00 00 */ cmplwi r0, 0 +/* 803297B0 00326710 40 82 00 1C */ bne lbl_803297CC +/* 803297B4 00326714 34 7F 00 D8 */ addic. r3, r31, 0xd8 +/* 803297B8 00326718 41 82 00 08 */ beq lbl_803297C0 +/* 803297BC 0032671C 48 01 76 ED */ bl __ct__6CTokenFRC6CToken +lbl_803297C0: +/* 803297C0 00326720 38 00 00 01 */ li r0, 1 +/* 803297C4 00326724 98 1F 00 E0 */ stb r0, 0xe0(r31) +/* 803297C8 00326728 48 00 00 28 */ b lbl_803297F0 +lbl_803297CC: +/* 803297CC 0032672C 48 01 74 F9 */ bl __as__6CTokenFRC6CToken +/* 803297D0 00326730 48 00 00 20 */ b lbl_803297F0 +lbl_803297D4: +/* 803297D4 00326734 88 1F 00 E0 */ lbz r0, 0xe0(r31) +/* 803297D8 00326738 28 00 00 00 */ cmplwi r0, 0 +/* 803297DC 0032673C 41 82 00 0C */ beq lbl_803297E8 +/* 803297E0 00326740 38 80 FF FF */ li r4, -1 +/* 803297E4 00326744 48 01 76 5D */ bl __dt__6CTokenFv +lbl_803297E8: +/* 803297E8 00326748 38 00 00 00 */ li r0, 0 +/* 803297EC 0032674C 98 1F 00 E0 */ stb r0, 0xe0(r31) +lbl_803297F0: +/* 803297F0 00326750 88 01 00 14 */ lbz r0, 0x14(r1) +/* 803297F4 00326754 28 00 00 00 */ cmplwi r0, 0 +/* 803297F8 00326758 41 82 00 10 */ beq lbl_80329808 +/* 803297FC 0032675C 38 61 00 0C */ addi r3, r1, 0xc +/* 80329800 00326760 38 80 FF FF */ li r4, -1 +/* 80329804 00326764 48 01 76 3D */ bl __dt__6CTokenFv +lbl_80329808: +/* 80329808 00326768 38 00 00 00 */ li r0, 0 +/* 8032980C 0032676C 98 01 00 14 */ stb r0, 0x14(r1) +lbl_80329810: +/* 80329810 00326770 88 01 00 F4 */ lbz r0, 0xf4(r1) +/* 80329814 00326774 28 00 00 00 */ cmplwi r0, 0 +/* 80329818 00326778 41 82 00 14 */ beq lbl_8032982C +/* 8032981C 0032677C 34 61 00 EC */ addic. r3, r1, 0xec +/* 80329820 00326780 41 82 00 0C */ beq lbl_8032982C +/* 80329824 00326784 38 80 00 00 */ li r4, 0 +/* 80329828 00326788 48 01 76 19 */ bl __dt__6CTokenFv +lbl_8032982C: +/* 8032982C 0032678C 38 00 00 00 */ li r0, 0 +/* 80329830 00326790 98 01 00 F4 */ stb r0, 0xf4(r1) +/* 80329834 00326794 48 00 01 E4 */ b lbl_80329A18 +lbl_80329838: +/* 80329838 00326798 7F C3 F3 78 */ mr r3, r30 +/* 8032983C 0032679C 4B FF E3 69 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 80329840 003267A0 90 7F 00 E4 */ stw r3, 0xe4(r31) +/* 80329844 003267A4 48 00 01 D4 */ b lbl_80329A18 +lbl_80329848: +/* 80329848 003267A8 7F C3 F3 78 */ mr r3, r30 +/* 8032984C 003267AC 4B FF CA 09 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80329850 003267B0 90 7F 00 E8 */ stw r3, 0xe8(r31) +/* 80329854 003267B4 48 00 01 C4 */ b lbl_80329A18 +lbl_80329858: +/* 80329858 003267B8 7F C3 F3 78 */ mr r3, r30 +/* 8032985C 003267BC 4B FF EC 01 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream +/* 80329860 003267C0 3C 03 BC B2 */ addis r0, r3, 0xbcb2 +/* 80329864 003267C4 28 00 53 54 */ cmplwi r0, 0x5354 +/* 80329868 003267C8 40 82 01 B0 */ bne lbl_80329A18 +/* 8032986C 003267CC 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80329870 003267D0 38 60 00 20 */ li r3, 0x20 +/* 80329874 003267D4 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80329878 003267D8 38 A0 00 00 */ li r5, 0 +/* 8032987C 003267DC 4B FE BF F1 */ bl __nw__FUlPCcPCc +/* 80329880 003267E0 7C 64 1B 79 */ or. r4, r3, r3 +/* 80329884 003267E4 41 82 00 10 */ beq lbl_80329894 +/* 80329888 003267E8 7F C4 F3 78 */ mr r4, r30 +/* 8032988C 003267EC 48 00 9E E5 */ bl __ct__24CSpawnSystemKeyframeDataFR12CInputStream +/* 80329890 003267F0 7C 64 1B 78 */ mr r4, r3 +lbl_80329894: +/* 80329894 003267F4 38 7F 00 BC */ addi r3, r31, 0xbc +/* 80329898 003267F8 48 00 01 AD */ bl __dt__24CSpawnSystemKeyframeDataFv +/* 8032989C 003267FC 80 7F 00 BC */ lwz r3, 0xbc(r31) +/* 803298A0 00326800 7F A4 EB 78 */ mr r4, r29 +/* 803298A4 00326804 48 00 9E 49 */ bl LoadAllSpawnedSystemTokens__24CSpawnSystemKeyframeDataFP11CSimplePool +/* 803298A8 00326808 48 00 01 70 */ b lbl_80329A18 +lbl_803298AC: +/* 803298AC 0032680C 7F C3 F3 78 */ mr r3, r30 +/* 803298B0 00326810 4B FF EB 79 */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 803298B4 00326814 88 1F 00 30 */ lbz r0, 0x30(r31) +/* 803298B8 00326818 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 803298BC 0032681C 98 1F 00 30 */ stb r0, 0x30(r31) +/* 803298C0 00326820 48 00 01 58 */ b lbl_80329A18 +lbl_803298C4: +/* 803298C4 00326824 7F C3 F3 78 */ mr r3, r30 +/* 803298C8 00326828 4B FF EB 61 */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 803298CC 0032682C 88 1F 00 30 */ lbz r0, 0x30(r31) +/* 803298D0 00326830 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 803298D4 00326834 98 1F 00 30 */ stb r0, 0x30(r31) +/* 803298D8 00326838 48 00 01 40 */ b lbl_80329A18 +lbl_803298DC: +/* 803298DC 0032683C 7F C3 F3 78 */ mr r3, r30 +/* 803298E0 00326840 4B FF E2 C5 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 803298E4 00326844 90 7F 00 EC */ stw r3, 0xec(r31) +/* 803298E8 00326848 48 00 01 30 */ b lbl_80329A18 +lbl_803298EC: +/* 803298EC 0032684C 7F C3 F3 78 */ mr r3, r30 +/* 803298F0 00326850 4B FF B9 6D */ bl GetColorElement__20CParticleDataFactoryFR12CInputStream +/* 803298F4 00326854 90 7F 00 F0 */ stw r3, 0xf0(r31) +/* 803298F8 00326858 48 00 01 20 */ b lbl_80329A18 +lbl_803298FC: +/* 803298FC 0032685C 7F C3 F3 78 */ mr r3, r30 +/* 80329900 00326860 4B FF D3 91 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80329904 00326864 90 7F 00 F4 */ stw r3, 0xf4(r31) +/* 80329908 00326868 48 00 01 10 */ b lbl_80329A18 +lbl_8032990C: +/* 8032990C 0032686C 7F C3 F3 78 */ mr r3, r30 +/* 80329910 00326870 4B FF C9 45 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80329914 00326874 90 7F 00 F8 */ stw r3, 0xf8(r31) +/* 80329918 00326878 48 00 01 00 */ b lbl_80329A18 +lbl_8032991C: +/* 8032991C 0032687C 7F C3 F3 78 */ mr r3, r30 +/* 80329920 00326880 4B FF C9 35 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 80329924 00326884 90 7F 00 FC */ stw r3, 0xfc(r31) +/* 80329928 00326888 48 00 00 F0 */ b lbl_80329A18 +lbl_8032992C: +/* 8032992C 0032688C 7F C3 F3 78 */ mr r3, r30 +/* 80329930 00326890 4B FF E2 75 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 80329934 00326894 90 7F 01 00 */ stw r3, 0x100(r31) +/* 80329938 00326898 48 00 00 E0 */ b lbl_80329A18 +lbl_8032993C: +/* 8032993C 0032689C 7F C3 F3 78 */ mr r3, r30 +/* 80329940 003268A0 4B FF D3 51 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80329944 003268A4 90 7F 01 04 */ stw r3, 0x104(r31) +/* 80329948 003268A8 48 00 00 D0 */ b lbl_80329A18 +lbl_8032994C: +/* 8032994C 003268AC 7F C3 F3 78 */ mr r3, r30 +/* 80329950 003268B0 4B FF D3 41 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 80329954 003268B4 90 7F 01 08 */ stw r3, 0x108(r31) +/* 80329958 003268B8 48 00 00 C0 */ b lbl_80329A18 +lbl_8032995C: +/* 8032995C 003268BC 7F C3 F3 78 */ mr r3, r30 +/* 80329960 003268C0 4B FF EA C9 */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 80329964 003268C4 88 1F 00 32 */ lbz r0, 0x32(r31) +/* 80329968 003268C8 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 8032996C 003268CC 98 1F 00 32 */ stb r0, 0x32(r31) +/* 80329970 003268D0 48 00 00 A8 */ b lbl_80329A18 +lbl_80329974: +/* 80329974 003268D4 7F C3 F3 78 */ mr r3, r30 +/* 80329978 003268D8 4B FF D3 19 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 8032997C 003268DC 90 7F 01 0C */ stw r3, 0x10c(r31) +/* 80329980 003268E0 48 00 00 98 */ b lbl_80329A18 +lbl_80329984: +/* 80329984 003268E4 7F C3 F3 78 */ mr r3, r30 +/* 80329988 003268E8 4B FF D3 09 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 8032998C 003268EC 90 7F 01 10 */ stw r3, 0x110(r31) +/* 80329990 003268F0 48 00 00 88 */ b lbl_80329A18 +lbl_80329994: +/* 80329994 003268F4 7F C3 F3 78 */ mr r3, r30 +/* 80329998 003268F8 4B FF D2 F9 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 8032999C 003268FC 90 7F 01 14 */ stw r3, 0x114(r31) +/* 803299A0 00326900 48 00 00 78 */ b lbl_80329A18 +lbl_803299A4: +/* 803299A4 00326904 7F C3 F3 78 */ mr r3, r30 +/* 803299A8 00326908 4B FF D2 E9 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 803299AC 0032690C 90 7F 01 18 */ stw r3, 0x118(r31) +/* 803299B0 00326910 48 00 00 68 */ b lbl_80329A18 +lbl_803299B4: +/* 803299B4 00326914 7F C3 F3 78 */ mr r3, r30 +/* 803299B8 00326918 4B FF D2 D9 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 803299BC 0032691C 90 7F 01 1C */ stw r3, 0x11c(r31) +/* 803299C0 00326920 48 00 00 58 */ b lbl_80329A18 +lbl_803299C4: +/* 803299C4 00326924 7F C3 F3 78 */ mr r3, r30 +/* 803299C8 00326928 4B FF D2 C9 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 803299CC 0032692C 90 7F 01 20 */ stw r3, 0x120(r31) +/* 803299D0 00326930 48 00 00 48 */ b lbl_80329A18 +lbl_803299D4: +/* 803299D4 00326934 7F C3 F3 78 */ mr r3, r30 +/* 803299D8 00326938 4B FF D2 B9 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 803299DC 0032693C 90 7F 01 24 */ stw r3, 0x124(r31) +/* 803299E0 00326940 48 00 00 38 */ b lbl_80329A18 +lbl_803299E4: +/* 803299E4 00326944 7F C3 F3 78 */ mr r3, r30 +/* 803299E8 00326948 4B FF D2 A9 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 803299EC 0032694C 90 7F 01 28 */ stw r3, 0x128(r31) +/* 803299F0 00326950 48 00 00 28 */ b lbl_80329A18 +lbl_803299F4: +/* 803299F4 00326954 3B 60 00 01 */ li r27, 1 +/* 803299F8 00326958 48 00 00 20 */ b lbl_80329A18 +lbl_803299FC: +/* 803299FC 0032695C 38 61 01 34 */ addi r3, r1, 0x134 +/* 80329A00 00326960 38 80 FF FF */ li r4, -1 +/* 80329A04 00326964 4B FE 8C 01 */ bl __dt__13CGlobalRandomFv +/* 80329A08 00326968 38 60 00 00 */ li r3, 0 +/* 80329A0C 0032696C 48 00 00 24 */ b lbl_80329A30 +lbl_80329A10: +/* 80329A10 00326970 3C 60 50 49 */ lis r3, 0x50495359@ha +/* 80329A14 00326974 3B 43 53 59 */ addi r26, r3, 0x50495359@l +lbl_80329A18: +/* 80329A18 00326978 57 60 06 3F */ clrlwi. r0, r27, 0x18 +/* 80329A1C 0032697C 41 82 EA A0 */ beq lbl_803284BC +/* 80329A20 00326980 38 61 01 34 */ addi r3, r1, 0x134 +/* 80329A24 00326984 38 80 FF FF */ li r4, -1 +/* 80329A28 00326988 4B FE 8B DD */ bl __dt__13CGlobalRandomFv +/* 80329A2C 0032698C 38 60 00 01 */ li r3, 1 +lbl_80329A30: +/* 80329A30 00326990 BB 21 01 44 */ lmw r25, 0x144(r1) +/* 80329A34 00326994 80 01 01 64 */ lwz r0, 0x164(r1) +/* 80329A38 00326998 7C 08 03 A6 */ mtlr r0 +/* 80329A3C 0032699C 38 21 01 60 */ addi r1, r1, 0x160 +/* 80329A40 003269A0 4E 80 00 20 */ blr + +.global __dt__24CSpawnSystemKeyframeDataFv +__dt__24CSpawnSystemKeyframeDataFv: +/* 80329A44 003269A4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80329A48 003269A8 7C 08 02 A6 */ mflr r0 +/* 80329A4C 003269AC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80329A50 003269B0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80329A54 003269B4 7C 9F 23 78 */ mr r31, r4 +/* 80329A58 003269B8 38 80 00 01 */ li r4, 1 +/* 80329A5C 003269BC 93 C1 00 08 */ stw r30, 8(r1) +/* 80329A60 003269C0 7C 7E 1B 78 */ mr r30, r3 +/* 80329A64 003269C4 80 63 00 00 */ lwz r3, 0(r3) +/* 80329A68 003269C8 48 00 00 25 */ bl sub_80329a8c +/* 80329A6C 003269CC 93 FE 00 00 */ stw r31, 0(r30) +/* 80329A70 003269D0 7F C3 F3 78 */ mr r3, r30 +/* 80329A74 003269D4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80329A78 003269D8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80329A7C 003269DC 83 C1 00 08 */ lwz r30, 8(r1) +/* 80329A80 003269E0 7C 08 03 A6 */ mtlr r0 +/* 80329A84 003269E4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80329A88 003269E8 4E 80 00 20 */ blr + +.global sub_80329a8c +sub_80329a8c: +/* 80329A8C 003269EC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80329A90 003269F0 7C 08 02 A6 */ mflr r0 +/* 80329A94 003269F4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80329A98 003269F8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80329A9C 003269FC 7C 9F 23 78 */ mr r31, r4 +/* 80329AA0 00326A00 93 C1 00 08 */ stw r30, 8(r1) +/* 80329AA4 00326A04 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80329AA8 00326A08 41 82 00 20 */ beq lbl_80329AC8 +/* 80329AAC 00326A0C 38 7E 00 10 */ addi r3, r30, 0x10 +/* 80329AB0 00326A10 38 80 FF FF */ li r4, -1 +/* 80329AB4 00326A14 48 00 00 31 */ bl sub_80329ae4 +/* 80329AB8 00326A18 7F E0 07 35 */ extsh. r0, r31 +/* 80329ABC 00326A1C 40 81 00 0C */ ble lbl_80329AC8 +/* 80329AC0 00326A20 7F C3 F3 78 */ mr r3, r30 +/* 80329AC4 00326A24 4B FE BE 6D */ bl Free__7CMemoryFPCv +lbl_80329AC8: +/* 80329AC8 00326A28 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80329ACC 00326A2C 7F C3 F3 78 */ mr r3, r30 +/* 80329AD0 00326A30 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80329AD4 00326A34 83 C1 00 08 */ lwz r30, 8(r1) +/* 80329AD8 00326A38 7C 08 03 A6 */ mtlr r0 +/* 80329ADC 00326A3C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80329AE0 00326A40 4E 80 00 20 */ blr + +.global sub_80329ae4 +sub_80329ae4: +/* 80329AE4 00326A44 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80329AE8 00326A48 7C 08 02 A6 */ mflr r0 +/* 80329AEC 00326A4C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80329AF0 00326A50 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80329AF4 00326A54 7C 9F 23 78 */ mr r31, r4 +/* 80329AF8 00326A58 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80329AFC 00326A5C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80329B00 00326A60 41 82 00 54 */ beq lbl_80329B54 +/* 80329B04 00326A64 80 1E 00 04 */ lwz r0, 4(r30) +/* 80329B08 00326A68 38 61 00 14 */ addi r3, r1, 0x14 +/* 80329B0C 00326A6C 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 80329B10 00326A70 38 81 00 0C */ addi r4, r1, 0xc +/* 80329B14 00326A74 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 80329B18 00326A78 7C A5 02 14 */ add r5, r5, r0 +/* 80329B1C 00326A7C 90 A1 00 0C */ stw r5, 0xc(r1) +/* 80329B20 00326A80 80 1E 00 0C */ lwz r0, 0xc(r30) +/* 80329B24 00326A84 90 A1 00 08 */ stw r5, 8(r1) +/* 80329B28 00326A88 90 01 00 10 */ stw r0, 0x10(r1) +/* 80329B2C 00326A8C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80329B30 00326A90 48 00 00 41 */ bl sub_80329b70 +/* 80329B34 00326A94 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80329B38 00326A98 28 03 00 00 */ cmplwi r3, 0 +/* 80329B3C 00326A9C 41 82 00 08 */ beq lbl_80329B44 +/* 80329B40 00326AA0 4B FE BD F1 */ bl Free__7CMemoryFPCv +lbl_80329B44: +/* 80329B44 00326AA4 7F E0 07 35 */ extsh. r0, r31 +/* 80329B48 00326AA8 40 81 00 0C */ ble lbl_80329B54 +/* 80329B4C 00326AAC 7F C3 F3 78 */ mr r3, r30 +/* 80329B50 00326AB0 4B FE BD E1 */ bl Free__7CMemoryFPCv +lbl_80329B54: +/* 80329B54 00326AB4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80329B58 00326AB8 7F C3 F3 78 */ mr r3, r30 +/* 80329B5C 00326ABC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80329B60 00326AC0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80329B64 00326AC4 7C 08 03 A6 */ mtlr r0 +/* 80329B68 00326AC8 38 21 00 20 */ addi r1, r1, 0x20 +/* 80329B6C 00326ACC 4E 80 00 20 */ blr + +.global sub_80329b70 +sub_80329b70: +/* 80329B70 00326AD0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80329B74 00326AD4 7C 08 02 A6 */ mflr r0 +/* 80329B78 00326AD8 90 01 00 14 */ stw r0, 0x14(r1) +/* 80329B7C 00326ADC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80329B80 00326AE0 93 C1 00 08 */ stw r30, 8(r1) +/* 80329B84 00326AE4 7C 9E 23 78 */ mr r30, r4 +/* 80329B88 00326AE8 83 E3 00 00 */ lwz r31, 0(r3) +/* 80329B8C 00326AEC 48 00 00 10 */ b lbl_80329B9C +lbl_80329B90: +/* 80329B90 00326AF0 7F E3 FB 78 */ mr r3, r31 +/* 80329B94 00326AF4 48 00 00 2D */ bl sub_80329bc0 +/* 80329B98 00326AF8 3B FF 00 14 */ addi r31, r31, 0x14 +lbl_80329B9C: +/* 80329B9C 00326AFC 80 1E 00 00 */ lwz r0, 0(r30) +/* 80329BA0 00326B00 7C 1F 00 40 */ cmplw r31, r0 +/* 80329BA4 00326B04 40 82 FF EC */ bne lbl_80329B90 +/* 80329BA8 00326B08 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80329BAC 00326B0C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80329BB0 00326B10 83 C1 00 08 */ lwz r30, 8(r1) +/* 80329BB4 00326B14 7C 08 03 A6 */ mtlr r0 +/* 80329BB8 00326B18 38 21 00 10 */ addi r1, r1, 0x10 +/* 80329BBC 00326B1C 4E 80 00 20 */ blr + +.global sub_80329bc0 +sub_80329bc0: +/* 80329BC0 00326B20 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80329BC4 00326B24 7C 08 02 A6 */ mflr r0 +/* 80329BC8 00326B28 38 80 FF FF */ li r4, -1 +/* 80329BCC 00326B2C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80329BD0 00326B30 48 00 00 15 */ bl sub_80329be4 +/* 80329BD4 00326B34 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80329BD8 00326B38 7C 08 03 A6 */ mtlr r0 +/* 80329BDC 00326B3C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80329BE0 00326B40 4E 80 00 20 */ blr + +.global sub_80329be4 +sub_80329be4: +/* 80329BE4 00326B44 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80329BE8 00326B48 7C 08 02 A6 */ mflr r0 +/* 80329BEC 00326B4C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80329BF0 00326B50 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80329BF4 00326B54 7C 9F 23 78 */ mr r31, r4 +/* 80329BF8 00326B58 93 C1 00 08 */ stw r30, 8(r1) +/* 80329BFC 00326B5C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80329C00 00326B60 41 82 00 20 */ beq lbl_80329C20 +/* 80329C04 00326B64 38 7E 00 04 */ addi r3, r30, 4 +/* 80329C08 00326B68 38 80 FF FF */ li r4, -1 +/* 80329C0C 00326B6C 48 00 00 31 */ bl sub_80329c3c +/* 80329C10 00326B70 7F E0 07 35 */ extsh. r0, r31 +/* 80329C14 00326B74 40 81 00 0C */ ble lbl_80329C20 +/* 80329C18 00326B78 7F C3 F3 78 */ mr r3, r30 +/* 80329C1C 00326B7C 4B FE BD 15 */ bl Free__7CMemoryFPCv +lbl_80329C20: +/* 80329C20 00326B80 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80329C24 00326B84 7F C3 F3 78 */ mr r3, r30 +/* 80329C28 00326B88 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80329C2C 00326B8C 83 C1 00 08 */ lwz r30, 8(r1) +/* 80329C30 00326B90 7C 08 03 A6 */ mtlr r0 +/* 80329C34 00326B94 38 21 00 10 */ addi r1, r1, 0x10 +/* 80329C38 00326B98 4E 80 00 20 */ blr + +.global sub_80329c3c +sub_80329c3c: +/* 80329C3C 00326B9C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80329C40 00326BA0 7C 08 02 A6 */ mflr r0 +/* 80329C44 00326BA4 90 01 00 34 */ stw r0, 0x34(r1) +/* 80329C48 00326BA8 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 80329C4C 00326BAC 7C 7B 1B 79 */ or. r27, r3, r3 +/* 80329C50 00326BB0 7C 9C 23 78 */ mr r28, r4 +/* 80329C54 00326BB4 41 82 00 98 */ beq lbl_80329CEC +/* 80329C58 00326BB8 80 1B 00 04 */ lwz r0, 4(r27) +/* 80329C5C 00326BBC 3B E0 00 00 */ li r31, 0 +/* 80329C60 00326BC0 83 BB 00 0C */ lwz r29, 0xc(r27) +/* 80329C64 00326BC4 1C 00 00 1C */ mulli r0, r0, 0x1c +/* 80329C68 00326BC8 93 A1 00 10 */ stw r29, 0x10(r1) +/* 80329C6C 00326BCC 7F DD 02 14 */ add r30, r29, r0 +/* 80329C70 00326BD0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80329C74 00326BD4 93 C1 00 08 */ stw r30, 8(r1) +/* 80329C78 00326BD8 93 C1 00 0C */ stw r30, 0xc(r1) +/* 80329C7C 00326BDC 48 00 00 48 */ b lbl_80329CC4 +lbl_80329C80: +/* 80329C80 00326BE0 28 1D 00 00 */ cmplwi r29, 0 +/* 80329C84 00326BE4 41 82 00 3C */ beq lbl_80329CC0 +/* 80329C88 00326BE8 88 1D 00 18 */ lbz r0, 0x18(r29) +/* 80329C8C 00326BEC 28 00 00 00 */ cmplwi r0, 0 +/* 80329C90 00326BF0 41 82 00 0C */ beq lbl_80329C9C +/* 80329C94 00326BF4 38 7D 00 10 */ addi r3, r29, 0x10 +/* 80329C98 00326BF8 48 01 70 A9 */ bl Unlock__6CTokenFv +lbl_80329C9C: +/* 80329C9C 00326BFC 34 1D 00 10 */ addic. r0, r29, 0x10 +/* 80329CA0 00326C00 41 82 00 20 */ beq lbl_80329CC0 +/* 80329CA4 00326C04 88 1D 00 18 */ lbz r0, 0x18(r29) +/* 80329CA8 00326C08 28 00 00 00 */ cmplwi r0, 0 +/* 80329CAC 00326C0C 41 82 00 10 */ beq lbl_80329CBC +/* 80329CB0 00326C10 38 7D 00 10 */ addi r3, r29, 0x10 +/* 80329CB4 00326C14 38 80 FF FF */ li r4, -1 +/* 80329CB8 00326C18 48 01 71 89 */ bl __dt__6CTokenFv +lbl_80329CBC: +/* 80329CBC 00326C1C 9B FD 00 18 */ stb r31, 0x18(r29) +lbl_80329CC0: +/* 80329CC0 00326C20 3B BD 00 1C */ addi r29, r29, 0x1c +lbl_80329CC4: +/* 80329CC4 00326C24 7C 1D F0 40 */ cmplw r29, r30 +/* 80329CC8 00326C28 40 82 FF B8 */ bne lbl_80329C80 +/* 80329CCC 00326C2C 80 7B 00 0C */ lwz r3, 0xc(r27) +/* 80329CD0 00326C30 28 03 00 00 */ cmplwi r3, 0 +/* 80329CD4 00326C34 41 82 00 08 */ beq lbl_80329CDC +/* 80329CD8 00326C38 4B FE BC 59 */ bl Free__7CMemoryFPCv +lbl_80329CDC: +/* 80329CDC 00326C3C 7F 80 07 35 */ extsh. r0, r28 +/* 80329CE0 00326C40 40 81 00 0C */ ble lbl_80329CEC +/* 80329CE4 00326C44 7F 63 DB 78 */ mr r3, r27 +/* 80329CE8 00326C48 4B FE BC 49 */ bl Free__7CMemoryFPCv +lbl_80329CEC: +/* 80329CEC 00326C4C 7F 63 DB 78 */ mr r3, r27 +/* 80329CF0 00326C50 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 80329CF4 00326C54 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80329CF8 00326C58 7C 08 03 A6 */ mtlr r0 +/* 80329CFC 00326C5C 38 21 00 30 */ addi r1, r1, 0x30 +/* 80329D00 00326C60 4E 80 00 20 */ blr + +.global LoadGPSMTokens__20CParticleDataFactoryFP15CGenDescription +LoadGPSMTokens__20CParticleDataFactoryFP15CGenDescription: +/* 80329D04 00326C64 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80329D08 00326C68 7C 08 02 A6 */ mflr r0 +/* 80329D0C 00326C6C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80329D10 00326C70 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80329D14 00326C74 93 C1 00 08 */ stw r30, 8(r1) +/* 80329D18 00326C78 7C 7E 1B 78 */ mr r30, r3 +/* 80329D1C 00326C7C 88 03 00 54 */ lbz r0, 0x54(r3) +/* 80329D20 00326C80 28 00 00 00 */ cmplwi r0, 0 +/* 80329D24 00326C84 41 82 00 24 */ beq lbl_80329D48 +/* 80329D28 00326C88 3B FE 00 48 */ addi r31, r30, 0x48 +/* 80329D2C 00326C8C 80 1E 00 50 */ lwz r0, 0x50(r30) +/* 80329D30 00326C90 28 00 00 00 */ cmplwi r0, 0 +/* 80329D34 00326C94 40 82 00 14 */ bne lbl_80329D48 +/* 80329D38 00326C98 7F E3 FB 78 */ mr r3, r31 +/* 80329D3C 00326C9C 48 01 70 D1 */ bl GetObj__6CTokenFv +/* 80329D40 00326CA0 80 03 00 04 */ lwz r0, 4(r3) +/* 80329D44 00326CA4 90 1F 00 08 */ stw r0, 8(r31) +lbl_80329D48: +/* 80329D48 00326CA8 88 1E 00 84 */ lbz r0, 0x84(r30) +/* 80329D4C 00326CAC 28 00 00 00 */ cmplwi r0, 0 +/* 80329D50 00326CB0 41 82 00 24 */ beq lbl_80329D74 +/* 80329D54 00326CB4 3B FE 00 78 */ addi r31, r30, 0x78 +/* 80329D58 00326CB8 80 1E 00 80 */ lwz r0, 0x80(r30) +/* 80329D5C 00326CBC 28 00 00 00 */ cmplwi r0, 0 +/* 80329D60 00326CC0 40 82 00 14 */ bne lbl_80329D74 +/* 80329D64 00326CC4 7F E3 FB 78 */ mr r3, r31 +/* 80329D68 00326CC8 48 01 70 A5 */ bl GetObj__6CTokenFv +/* 80329D6C 00326CCC 80 03 00 04 */ lwz r0, 4(r3) +/* 80329D70 00326CD0 90 1F 00 08 */ stw r0, 8(r31) +lbl_80329D74: +/* 80329D74 00326CD4 88 1E 00 9C */ lbz r0, 0x9c(r30) +/* 80329D78 00326CD8 28 00 00 00 */ cmplwi r0, 0 +/* 80329D7C 00326CDC 41 82 00 24 */ beq lbl_80329DA0 +/* 80329D80 00326CE0 3B FE 00 90 */ addi r31, r30, 0x90 +/* 80329D84 00326CE4 80 1E 00 98 */ lwz r0, 0x98(r30) +/* 80329D88 00326CE8 28 00 00 00 */ cmplwi r0, 0 +/* 80329D8C 00326CEC 40 82 00 14 */ bne lbl_80329DA0 +/* 80329D90 00326CF0 7F E3 FB 78 */ mr r3, r31 +/* 80329D94 00326CF4 48 01 70 79 */ bl GetObj__6CTokenFv +/* 80329D98 00326CF8 80 03 00 04 */ lwz r0, 4(r3) +/* 80329D9C 00326CFC 90 1F 00 08 */ stw r0, 8(r31) +lbl_80329DA0: +/* 80329DA0 00326D00 88 1E 00 B0 */ lbz r0, 0xb0(r30) +/* 80329DA4 00326D04 28 00 00 00 */ cmplwi r0, 0 +/* 80329DA8 00326D08 41 82 00 24 */ beq lbl_80329DCC +/* 80329DAC 00326D0C 3B FE 00 A4 */ addi r31, r30, 0xa4 +/* 80329DB0 00326D10 80 1E 00 AC */ lwz r0, 0xac(r30) +/* 80329DB4 00326D14 28 00 00 00 */ cmplwi r0, 0 +/* 80329DB8 00326D18 40 82 00 14 */ bne lbl_80329DCC +/* 80329DBC 00326D1C 7F E3 FB 78 */ mr r3, r31 +/* 80329DC0 00326D20 48 01 70 4D */ bl GetObj__6CTokenFv +/* 80329DC4 00326D24 80 03 00 04 */ lwz r0, 4(r3) +/* 80329DC8 00326D28 90 1F 00 08 */ stw r0, 8(r31) +lbl_80329DCC: +/* 80329DCC 00326D2C 88 1E 00 CC */ lbz r0, 0xcc(r30) +/* 80329DD0 00326D30 28 00 00 00 */ cmplwi r0, 0 +/* 80329DD4 00326D34 41 82 00 24 */ beq lbl_80329DF8 +/* 80329DD8 00326D38 3B FE 00 C0 */ addi r31, r30, 0xc0 +/* 80329DDC 00326D3C 80 1E 00 C8 */ lwz r0, 0xc8(r30) +/* 80329DE0 00326D40 28 00 00 00 */ cmplwi r0, 0 +/* 80329DE4 00326D44 40 82 00 14 */ bne lbl_80329DF8 +/* 80329DE8 00326D48 7F E3 FB 78 */ mr r3, r31 +/* 80329DEC 00326D4C 48 01 70 21 */ bl GetObj__6CTokenFv +/* 80329DF0 00326D50 80 03 00 04 */ lwz r0, 4(r3) +/* 80329DF4 00326D54 90 1F 00 08 */ stw r0, 8(r31) +lbl_80329DF8: +/* 80329DF8 00326D58 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80329DFC 00326D5C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80329E00 00326D60 83 C1 00 08 */ lwz r30, 8(r1) +/* 80329E04 00326D64 7C 08 03 A6 */ mtlr r0 +/* 80329E08 00326D68 38 21 00 10 */ addi r1, r1, 0x10 +/* 80329E0C 00326D6C 4E 80 00 20 */ blr + +.global "CreateGeneratorDescription__20CParticleDataFactoryFR12CInputStreamRQ24rstl37vectorUiP11CSimplePool" +"CreateGeneratorDescription__20CParticleDataFactoryFR12CInputStreamRQ24rstl37vectorUiP11CSimplePool": +/* 80329E10 00326D70 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80329E14 00326D74 7C 08 02 A6 */ mflr r0 +/* 80329E18 00326D78 90 01 00 34 */ stw r0, 0x34(r1) +/* 80329E1C 00326D7C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80329E20 00326D80 7C DF 33 78 */ mr r31, r6 +/* 80329E24 00326D84 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80329E28 00326D88 7C 9E 23 78 */ mr r30, r4 +/* 80329E2C 00326D8C 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80329E30 00326D90 7C 7D 1B 78 */ mr r29, r3 +/* 80329E34 00326D94 38 61 00 18 */ addi r3, r1, 0x18 +/* 80329E38 00326D98 93 81 00 20 */ stw r28, 0x20(r1) +/* 80329E3C 00326D9C 80 04 00 04 */ lwz r0, 4(r4) +/* 80329E40 00326DA0 80 84 00 0C */ lwz r4, 0xc(r4) +/* 80329E44 00326DA4 54 00 10 3A */ slwi r0, r0, 2 +/* 80329E48 00326DA8 90 A1 00 08 */ stw r5, 8(r1) +/* 80329E4C 00326DAC 7C C4 02 14 */ add r6, r4, r0 +/* 80329E50 00326DB0 38 81 00 10 */ addi r4, r1, 0x10 +/* 80329E54 00326DB4 90 C1 00 10 */ stw r6, 0x10(r1) +/* 80329E58 00326DB8 38 A1 00 08 */ addi r5, r1, 8 +/* 80329E5C 00326DBC 80 1E 00 0C */ lwz r0, 0xc(r30) +/* 80329E60 00326DC0 90 C1 00 0C */ stw r6, 0xc(r1) +/* 80329E64 00326DC4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80329E68 00326DC8 90 01 00 18 */ stw r0, 0x18(r1) +/* 80329E6C 00326DCC 48 00 05 9D */ bl "count,Q24rstl17rmemory_allocator>,Ui>__4rstlFQ24rstl94pointer_iterator,Q24rstl17rmemory_allocator>Q24rstl94pointer_iterator,Q24rstl17rmemory_allocator>RCUi" +/* 80329E70 00326DD0 2C 03 00 00 */ cmpwi r3, 0 +/* 80329E74 00326DD4 41 82 00 0C */ beq lbl_80329E80 +/* 80329E78 00326DD8 38 60 00 00 */ li r3, 0 +/* 80329E7C 00326DDC 48 00 00 B4 */ b lbl_80329F30 +lbl_80329E80: +/* 80329E80 00326DE0 80 1E 00 04 */ lwz r0, 4(r30) +/* 80329E84 00326DE4 80 BE 00 08 */ lwz r5, 8(r30) +/* 80329E88 00326DE8 7C 00 28 00 */ cmpw r0, r5 +/* 80329E8C 00326DEC 41 80 00 1C */ blt lbl_80329EA8 +/* 80329E90 00326DF0 2C 05 00 00 */ cmpwi r5, 0 +/* 80329E94 00326DF4 7F C3 F3 78 */ mr r3, r30 +/* 80329E98 00326DF8 38 80 00 04 */ li r4, 4 +/* 80329E9C 00326DFC 41 82 00 08 */ beq lbl_80329EA4 +/* 80329EA0 00326E00 54 A4 08 3C */ slwi r4, r5, 1 +lbl_80329EA4: +/* 80329EA4 00326E04 4B D3 9C 81 */ bl "reserve__Q24rstl37vectorFi" +lbl_80329EA8: +/* 80329EA8 00326E08 80 1E 00 04 */ lwz r0, 4(r30) +/* 80329EAC 00326E0C 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80329EB0 00326E10 54 00 10 3A */ slwi r0, r0, 2 +/* 80329EB4 00326E14 7C 63 02 15 */ add. r3, r3, r0 +/* 80329EB8 00326E18 41 82 00 0C */ beq lbl_80329EC4 +/* 80329EBC 00326E1C 80 01 00 08 */ lwz r0, 8(r1) +/* 80329EC0 00326E20 90 03 00 00 */ stw r0, 0(r3) +lbl_80329EC4: +/* 80329EC4 00326E24 80 9E 00 04 */ lwz r4, 4(r30) +/* 80329EC8 00326E28 7F A3 EB 78 */ mr r3, r29 +/* 80329ECC 00326E2C 38 04 00 01 */ addi r0, r4, 1 +/* 80329ED0 00326E30 90 1E 00 04 */ stw r0, 4(r30) +/* 80329ED4 00326E34 4B FF E5 89 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream +/* 80329ED8 00326E38 3C 03 B8 B0 */ addis r0, r3, 0xb8b0 +/* 80329EDC 00326E3C 28 00 53 4D */ cmplwi r0, 0x534d +/* 80329EE0 00326E40 41 82 00 0C */ beq lbl_80329EEC +/* 80329EE4 00326E44 38 60 00 00 */ li r3, 0 +/* 80329EE8 00326E48 48 00 00 48 */ b lbl_80329F30 +lbl_80329EEC: +/* 80329EEC 00326E4C 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 80329EF0 00326E50 38 60 01 2C */ li r3, 0x12c +/* 80329EF4 00326E54 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 80329EF8 00326E58 38 A0 00 00 */ li r5, 0 +/* 80329EFC 00326E5C 4B FE B9 71 */ bl __nw__FUlPCcPCc +/* 80329F00 00326E60 7C 7C 1B 79 */ or. r28, r3, r3 +/* 80329F04 00326E64 41 82 00 0C */ beq lbl_80329F10 +/* 80329F08 00326E68 48 03 D1 65 */ bl __ct__15CGenDescriptionFv +/* 80329F0C 00326E6C 7C 7C 1B 78 */ mr r28, r3 +lbl_80329F10: +/* 80329F10 00326E70 7F 83 E3 78 */ mr r3, r28 +/* 80329F14 00326E74 7F A4 EB 78 */ mr r4, r29 +/* 80329F18 00326E78 7F C5 F3 78 */ mr r5, r30 +/* 80329F1C 00326E7C 7F E6 FB 78 */ mr r6, r31 +/* 80329F20 00326E80 4B FF E5 5D */ bl "CreateGPSM__20CParticleDataFactoryFP15CGenDescriptionR12CInputStreamRQ24rstl37vectorP11CSimplePool" +/* 80329F24 00326E84 7F 83 E3 78 */ mr r3, r28 +/* 80329F28 00326E88 4B FF FD DD */ bl LoadGPSMTokens__20CParticleDataFactoryFP15CGenDescription +/* 80329F2C 00326E8C 7F 83 E3 78 */ mr r3, r28 +lbl_80329F30: +/* 80329F30 00326E90 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80329F34 00326E94 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80329F38 00326E98 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80329F3C 00326E9C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80329F40 00326EA0 83 81 00 20 */ lwz r28, 0x20(r1) +/* 80329F44 00326EA4 7C 08 03 A6 */ mtlr r0 +/* 80329F48 00326EA8 38 21 00 30 */ addi r1, r1, 0x30 +/* 80329F4C 00326EAC 4E 80 00 20 */ blr + +.global GetGeneratorDesc__20CParticleDataFactoryFR12CInputStreamP11CSimplePool +GetGeneratorDesc__20CParticleDataFactoryFR12CInputStreamP11CSimplePool: +/* 80329F50 00326EB0 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80329F54 00326EB4 7C 08 02 A6 */ mflr r0 +/* 80329F58 00326EB8 90 01 00 44 */ stw r0, 0x44(r1) +/* 80329F5C 00326EBC 38 00 00 00 */ li r0, 0 +/* 80329F60 00326EC0 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80329F64 00326EC4 7C BF 2B 78 */ mr r31, r5 +/* 80329F68 00326EC8 93 C1 00 38 */ stw r30, 0x38(r1) +/* 80329F6C 00326ECC 7C 9E 23 78 */ mr r30, r4 +/* 80329F70 00326ED0 38 80 00 08 */ li r4, 8 +/* 80329F74 00326ED4 93 A1 00 34 */ stw r29, 0x34(r1) +/* 80329F78 00326ED8 7C 7D 1B 78 */ mr r29, r3 +/* 80329F7C 00326EDC 38 61 00 18 */ addi r3, r1, 0x18 +/* 80329F80 00326EE0 90 01 00 1C */ stw r0, 0x1c(r1) +/* 80329F84 00326EE4 90 01 00 20 */ stw r0, 0x20(r1) +/* 80329F88 00326EE8 90 01 00 24 */ stw r0, 0x24(r1) +/* 80329F8C 00326EEC 4B D3 9B 99 */ bl "reserve__Q24rstl37vectorFi" +/* 80329F90 00326EF0 7F A3 EB 78 */ mr r3, r29 +/* 80329F94 00326EF4 7F E5 FB 78 */ mr r5, r31 +/* 80329F98 00326EF8 7F C6 F3 78 */ mr r6, r30 +/* 80329F9C 00326EFC 38 81 00 18 */ addi r4, r1, 0x18 +/* 80329FA0 00326F00 4B FF FE 71 */ bl "CreateGeneratorDescription__20CParticleDataFactoryFR12CInputStreamRQ24rstl37vectorUiP11CSimplePool" +/* 80329FA4 00326F04 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 80329FA8 00326F08 7C 7F 1B 78 */ mr r31, r3 +/* 80329FAC 00326F0C 80 81 00 24 */ lwz r4, 0x24(r1) +/* 80329FB0 00326F10 54 00 10 3A */ slwi r0, r0, 2 +/* 80329FB4 00326F14 7C 04 02 14 */ add r0, r4, r0 +/* 80329FB8 00326F18 90 81 00 0C */ stw r4, 0xc(r1) +/* 80329FBC 00326F1C 7C 83 23 78 */ mr r3, r4 +/* 80329FC0 00326F20 90 01 00 14 */ stw r0, 0x14(r1) +/* 80329FC4 00326F24 90 01 00 10 */ stw r0, 0x10(r1) +/* 80329FC8 00326F28 90 81 00 08 */ stw r4, 8(r1) +/* 80329FCC 00326F2C 48 00 00 08 */ b lbl_80329FD4 +lbl_80329FD0: +/* 80329FD0 00326F30 38 63 00 04 */ addi r3, r3, 4 +lbl_80329FD4: +/* 80329FD4 00326F34 7C 03 00 40 */ cmplw r3, r0 +/* 80329FD8 00326F38 40 82 FF F8 */ bne lbl_80329FD0 +/* 80329FDC 00326F3C 28 04 00 00 */ cmplwi r4, 0 +/* 80329FE0 00326F40 41 82 00 0C */ beq lbl_80329FEC +/* 80329FE4 00326F44 7C 83 23 78 */ mr r3, r4 +/* 80329FE8 00326F48 4B FE B9 49 */ bl Free__7CMemoryFPCv +lbl_80329FEC: +/* 80329FEC 00326F4C 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80329FF0 00326F50 7F E3 FB 78 */ mr r3, r31 +/* 80329FF4 00326F54 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80329FF8 00326F58 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 80329FFC 00326F5C 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 8032A000 00326F60 7C 08 03 A6 */ mtlr r0 +/* 8032A004 00326F64 38 21 00 40 */ addi r1, r1, 0x40 +/* 8032A008 00326F68 4E 80 00 20 */ blr + +.global FParticleFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer +FParticleFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer: +/* 8032A00C 00326F6C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8032A010 00326F70 7C 08 02 A6 */ mflr r0 +/* 8032A014 00326F74 90 01 00 34 */ stw r0, 0x34(r1) +/* 8032A018 00326F78 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8032A01C 00326F7C 7C 7F 1B 78 */ mr r31, r3 +/* 8032A020 00326F80 7C A3 2B 78 */ mr r3, r5 +/* 8032A024 00326F84 80 C6 00 00 */ lwz r6, 0(r6) +/* 8032A028 00326F88 90 C1 00 08 */ stw r6, 8(r1) +/* 8032A02C 00326F8C 80 A6 00 04 */ lwz r5, 4(r6) +/* 8032A030 00326F90 38 05 00 01 */ addi r0, r5, 1 +/* 8032A034 00326F94 90 06 00 04 */ stw r0, 4(r6) +/* 8032A038 00326F98 80 C1 00 08 */ lwz r6, 8(r1) +/* 8032A03C 00326F9C 80 A4 00 04 */ lwz r5, 4(r4) +/* 8032A040 00326FA0 80 86 00 00 */ lwz r4, 0(r6) +/* 8032A044 00326FA4 80 84 00 04 */ lwz r4, 4(r4) +/* 8032A048 00326FA8 4B FF FF 09 */ bl GetGeneratorDesc__20CParticleDataFactoryFR12CInputStreamP11CSimplePool +/* 8032A04C 00326FAC 7C 03 00 D0 */ neg r0, r3 +/* 8032A050 00326FB0 90 61 00 10 */ stw r3, 0x10(r1) +/* 8032A054 00326FB4 7C 00 1B 78 */ or r0, r0, r3 +/* 8032A058 00326FB8 38 61 00 14 */ addi r3, r1, 0x14 +/* 8032A05C 00326FBC 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8032A060 00326FC0 38 81 00 0C */ addi r4, r1, 0xc +/* 8032A064 00326FC4 98 01 00 0C */ stb r0, 0xc(r1) +/* 8032A068 00326FC8 48 00 00 85 */ bl "GetIObjObjectFor__25TToken<15CGenDescription>FRCQ24rstl27auto_ptr<15CGenDescription>" +/* 8032A06C 00326FCC 80 61 00 18 */ lwz r3, 0x18(r1) +/* 8032A070 00326FD0 38 00 00 00 */ li r0, 0 +/* 8032A074 00326FD4 98 01 00 14 */ stb r0, 0x14(r1) +/* 8032A078 00326FD8 7C 03 00 D0 */ neg r0, r3 +/* 8032A07C 00326FDC 7C 00 1B 78 */ or r0, r0, r3 +/* 8032A080 00326FE0 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8032A084 00326FE4 98 1F 00 00 */ stb r0, 0(r31) +/* 8032A088 00326FE8 90 7F 00 04 */ stw r3, 4(r31) +/* 8032A08C 00326FEC 88 01 00 14 */ lbz r0, 0x14(r1) +/* 8032A090 00326FF0 28 00 00 00 */ cmplwi r0, 0 +/* 8032A094 00326FF4 41 82 00 24 */ beq lbl_8032A0B8 +/* 8032A098 00326FF8 80 61 00 18 */ lwz r3, 0x18(r1) +/* 8032A09C 00326FFC 28 03 00 00 */ cmplwi r3, 0 +/* 8032A0A0 00327000 41 82 00 18 */ beq lbl_8032A0B8 +/* 8032A0A4 00327004 81 83 00 00 */ lwz r12, 0(r3) +/* 8032A0A8 00327008 38 80 00 01 */ li r4, 1 +/* 8032A0AC 0032700C 81 8C 00 08 */ lwz r12, 8(r12) +/* 8032A0B0 00327010 7D 89 03 A6 */ mtctr r12 +/* 8032A0B4 00327014 4E 80 04 21 */ bctrl +lbl_8032A0B8: +/* 8032A0B8 00327018 88 01 00 0C */ lbz r0, 0xc(r1) +/* 8032A0BC 0032701C 28 00 00 00 */ cmplwi r0, 0 +/* 8032A0C0 00327020 41 82 00 10 */ beq lbl_8032A0D0 +/* 8032A0C4 00327024 80 61 00 10 */ lwz r3, 0x10(r1) +/* 8032A0C8 00327028 38 80 00 01 */ li r4, 1 +/* 8032A0CC 0032702C 48 03 CD 6D */ bl __dt__15CGenDescriptionFv +lbl_8032A0D0: +/* 8032A0D0 00327030 38 61 00 08 */ addi r3, r1, 8 +/* 8032A0D4 00327034 4B D0 A2 31 */ bl sub_80034304 +/* 8032A0D8 00327038 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8032A0DC 0032703C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8032A0E0 00327040 7C 08 03 A6 */ mtlr r0 +/* 8032A0E4 00327044 38 21 00 30 */ addi r1, r1, 0x30 +/* 8032A0E8 00327048 4E 80 00 20 */ blr + +.global "GetIObjObjectFor__25TToken<15CGenDescription>FRCQ24rstl27auto_ptr<15CGenDescription>" +"GetIObjObjectFor__25TToken<15CGenDescription>FRCQ24rstl27auto_ptr<15CGenDescription>": +/* 8032A0EC 0032704C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8032A0F0 00327050 7C 08 02 A6 */ mflr r0 +/* 8032A0F4 00327054 90 01 00 14 */ stw r0, 0x14(r1) +/* 8032A0F8 00327058 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8032A0FC 0032705C 7C 7F 1B 78 */ mr r31, r3 +/* 8032A100 00327060 48 00 00 19 */ bl "GetNewDerivedObject__43TObjOwnerDerivedFromIObj<15CGenDescription>FRCQ24rstl27auto_ptr<15CGenDescription>" +/* 8032A104 00327064 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8032A108 00327068 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8032A10C 0032706C 7C 08 03 A6 */ mtlr r0 +/* 8032A110 00327070 38 21 00 10 */ addi r1, r1, 0x10 +/* 8032A114 00327074 4E 80 00 20 */ blr + +.global "GetNewDerivedObject__43TObjOwnerDerivedFromIObj<15CGenDescription>FRCQ24rstl27auto_ptr<15CGenDescription>" +"GetNewDerivedObject__43TObjOwnerDerivedFromIObj<15CGenDescription>FRCQ24rstl27auto_ptr<15CGenDescription>": +/* 8032A118 00327078 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8032A11C 0032707C 7C 08 02 A6 */ mflr r0 +/* 8032A120 00327080 3C A0 80 3D */ lis r5, lbl_803D7918@ha +/* 8032A124 00327084 90 01 00 14 */ stw r0, 0x14(r1) +/* 8032A128 00327088 38 05 79 18 */ addi r0, r5, lbl_803D7918@l +/* 8032A12C 0032708C 38 A0 00 00 */ li r5, 0 +/* 8032A130 00327090 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8032A134 00327094 7C 9F 23 78 */ mr r31, r4 +/* 8032A138 00327098 7C 04 03 78 */ mr r4, r0 +/* 8032A13C 0032709C 93 C1 00 08 */ stw r30, 8(r1) +/* 8032A140 003270A0 7C 7E 1B 78 */ mr r30, r3 +/* 8032A144 003270A4 38 60 00 08 */ li r3, 8 +/* 8032A148 003270A8 4B FE B7 25 */ bl __nw__FUlPCcPCc +/* 8032A14C 003270AC 28 03 00 00 */ cmplwi r3, 0 +/* 8032A150 003270B0 41 82 00 38 */ beq lbl_8032A188 +/* 8032A154 003270B4 3C 80 80 3E */ lis r4, lbl_803D8D6C@ha +/* 8032A158 003270B8 3C A0 80 3E */ lis r5, lbl_803D8D78@ha +/* 8032A15C 003270BC 38 04 8D 6C */ addi r0, r4, lbl_803D8D6C@l +/* 8032A160 003270C0 3C 80 80 3E */ lis r4, lbl_803DACB0@ha +/* 8032A164 003270C4 90 03 00 00 */ stw r0, 0(r3) +/* 8032A168 003270C8 38 C5 8D 78 */ addi r6, r5, lbl_803D8D78@l +/* 8032A16C 003270CC 38 A0 00 00 */ li r5, 0 +/* 8032A170 003270D0 38 04 AC B0 */ addi r0, r4, lbl_803DACB0@l +/* 8032A174 003270D4 90 C3 00 00 */ stw r6, 0(r3) +/* 8032A178 003270D8 98 BF 00 00 */ stb r5, 0(r31) +/* 8032A17C 003270DC 80 9F 00 04 */ lwz r4, 4(r31) +/* 8032A180 003270E0 90 83 00 04 */ stw r4, 4(r3) +/* 8032A184 003270E4 90 03 00 00 */ stw r0, 0(r3) +lbl_8032A188: +/* 8032A188 003270E8 7C 03 00 D0 */ neg r0, r3 +/* 8032A18C 003270EC 7C 00 1B 78 */ or r0, r0, r3 +/* 8032A190 003270F0 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8032A194 003270F4 98 1E 00 00 */ stb r0, 0(r30) +/* 8032A198 003270F8 90 7E 00 04 */ stw r3, 4(r30) +/* 8032A19C 003270FC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8032A1A0 00327100 83 C1 00 08 */ lwz r30, 8(r1) +/* 8032A1A4 00327104 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8032A1A8 00327108 7C 08 03 A6 */ mtlr r0 +/* 8032A1AC 0032710C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8032A1B0 00327110 4E 80 00 20 */ blr + +.global sub_8032a1b4 +sub_8032a1b4: +/* 8032A1B4 00327114 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8032A1B8 00327118 7C 08 02 A6 */ mflr r0 +/* 8032A1BC 0032711C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8032A1C0 00327120 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8032A1C4 00327124 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8032A1C8 00327128 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8032A1CC 0032712C 7C 7D 1B 79 */ or. r29, r3, r3 +/* 8032A1D0 00327130 41 82 00 E4 */ beq lbl_8032A2B4 +/* 8032A1D4 00327134 80 6D A8 CC */ lwz r3, lbl_805A948C@sda21(r13) +/* 8032A1D8 00327138 28 03 00 00 */ cmplwi r3, 0 +/* 8032A1DC 0032713C 41 82 00 14 */ beq lbl_8032A1F0 +/* 8032A1E0 00327140 7F A4 EB 78 */ mr r4, r29 +/* 8032A1E4 00327144 48 04 29 45 */ bl sub_8036cb28 +/* 8032A1E8 00327148 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8032A1EC 0032714C 40 82 00 4C */ bne lbl_8032A238 +lbl_8032A1F0: +/* 8032A1F0 00327150 3C 60 80 5A */ lis r3, lbl_805A673C@ha +/* 8032A1F4 00327154 38 00 00 00 */ li r0, 0 +/* 8032A1F8 00327158 3B E3 67 3C */ addi r31, r3, lbl_805A673C@l +/* 8032A1FC 0032715C 90 0D A8 CC */ stw r0, lbl_805A948C@sda21(r13) +/* 8032A200 00327160 83 DF 00 04 */ lwz r30, 4(r31) +/* 8032A204 00327164 48 00 00 28 */ b lbl_8032A22C +lbl_8032A208: +/* 8032A208 00327168 7F A4 EB 78 */ mr r4, r29 +/* 8032A20C 0032716C 38 7E 00 08 */ addi r3, r30, 8 +/* 8032A210 00327170 48 04 29 19 */ bl sub_8036cb28 +/* 8032A214 00327174 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8032A218 00327178 41 82 00 10 */ beq lbl_8032A228 +/* 8032A21C 0032717C 38 1E 00 08 */ addi r0, r30, 8 +/* 8032A220 00327180 90 0D A8 CC */ stw r0, lbl_805A948C@sda21(r13) +/* 8032A224 00327184 48 00 00 14 */ b lbl_8032A238 +lbl_8032A228: +/* 8032A228 00327188 83 DE 00 04 */ lwz r30, 4(r30) +lbl_8032A22C: +/* 8032A22C 0032718C 80 1F 00 08 */ lwz r0, 8(r31) +/* 8032A230 00327190 7C 1E 00 40 */ cmplw r30, r0 +/* 8032A234 00327194 40 82 FF D4 */ bne lbl_8032A208 +lbl_8032A238: +/* 8032A238 00327198 80 6D A8 CC */ lwz r3, lbl_805A948C@sda21(r13) +/* 8032A23C 0032719C 7F A4 EB 78 */ mr r4, r29 +/* 8032A240 003271A0 48 04 28 A5 */ bl sub_8036cae4 +/* 8032A244 003271A4 80 6D A8 CC */ lwz r3, lbl_805A948C@sda21(r13) +/* 8032A248 003271A8 48 04 28 5D */ bl sub_8036caa4 +/* 8032A24C 003271AC 28 03 00 00 */ cmplwi r3, 0 +/* 8032A250 003271B0 40 82 00 64 */ bne lbl_8032A2B4 +/* 8032A254 003271B4 3C 60 80 5A */ lis r3, lbl_805A673C@ha +/* 8032A258 003271B8 80 AD A8 CC */ lwz r5, lbl_805A948C@sda21(r13) +/* 8032A25C 003271BC 38 63 67 3C */ addi r3, r3, lbl_805A673C@l +/* 8032A260 003271C0 80 83 00 04 */ lwz r4, 4(r3) +/* 8032A264 003271C4 80 63 00 08 */ lwz r3, 8(r3) +/* 8032A268 003271C8 48 00 00 3C */ b lbl_8032A2A4 +lbl_8032A26C: +/* 8032A26C 003271CC 38 04 00 08 */ addi r0, r4, 8 +/* 8032A270 003271D0 7C 00 28 40 */ cmplw r0, r5 +/* 8032A274 003271D4 40 82 00 2C */ bne lbl_8032A2A0 +/* 8032A278 003271D8 3C 60 80 5A */ lis r3, lbl_805A673C@ha +/* 8032A27C 003271DC 38 63 67 3C */ addi r3, r3, lbl_805A673C@l +/* 8032A280 003271E0 48 00 02 09 */ bl sub_8032a488 +/* 8032A284 003271E4 80 6D A8 C8 */ lwz r3, lbl_805A9488@sda21(r13) +/* 8032A288 003271E8 80 0D A8 CC */ lwz r0, lbl_805A948C@sda21(r13) +/* 8032A28C 003271EC 7C 03 00 40 */ cmplw r3, r0 +/* 8032A290 003271F0 40 82 00 1C */ bne lbl_8032A2AC +/* 8032A294 003271F4 38 00 00 00 */ li r0, 0 +/* 8032A298 003271F8 90 0D A8 C8 */ stw r0, lbl_805A9488@sda21(r13) +/* 8032A29C 003271FC 48 00 00 10 */ b lbl_8032A2AC +lbl_8032A2A0: +/* 8032A2A0 00327200 80 84 00 04 */ lwz r4, 4(r4) +lbl_8032A2A4: +/* 8032A2A4 00327204 7C 04 18 40 */ cmplw r4, r3 +/* 8032A2A8 00327208 40 82 FF C4 */ bne lbl_8032A26C +lbl_8032A2AC: +/* 8032A2AC 0032720C 38 00 00 00 */ li r0, 0 +/* 8032A2B0 00327210 90 0D A8 CC */ stw r0, lbl_805A948C@sda21(r13) +lbl_8032A2B4: +/* 8032A2B4 00327214 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8032A2B8 00327218 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8032A2BC 0032721C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8032A2C0 00327220 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8032A2C4 00327224 7C 08 03 A6 */ mtlr r0 +/* 8032A2C8 00327228 38 21 00 20 */ addi r1, r1, 0x20 +/* 8032A2CC 0032722C 4E 80 00 20 */ blr + +.global sub_8032a2d0 +sub_8032a2d0: +/* 8032A2D0 00327230 94 21 FB D0 */ stwu r1, -0x430(r1) +/* 8032A2D4 00327234 7C 08 02 A6 */ mflr r0 +/* 8032A2D8 00327238 90 01 04 34 */ stw r0, 0x434(r1) +/* 8032A2DC 0032723C 93 E1 04 2C */ stw r31, 0x42c(r1) +/* 8032A2E0 00327240 93 C1 04 28 */ stw r30, 0x428(r1) +/* 8032A2E4 00327244 7C 7E 1B 78 */ mr r30, r3 +/* 8032A2E8 00327248 93 A1 04 24 */ stw r29, 0x424(r1) +/* 8032A2EC 0032724C 93 81 04 20 */ stw r28, 0x420(r1) +/* 8032A2F0 00327250 80 0D A8 C8 */ lwz r0, lbl_805A9488@sda21(r13) +/* 8032A2F4 00327254 28 00 00 00 */ cmplwi r0, 0 +/* 8032A2F8 00327258 41 82 00 18 */ beq lbl_8032A310 +/* 8032A2FC 0032725C 7C 03 03 78 */ mr r3, r0 +/* 8032A300 00327260 7F C4 F3 78 */ mr r4, r30 +/* 8032A304 00327264 48 04 28 4D */ bl sub_8036cb50 +/* 8032A308 00327268 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8032A30C 0032726C 40 82 00 D0 */ bne lbl_8032A3DC +lbl_8032A310: +/* 8032A310 00327270 38 61 00 08 */ addi r3, r1, 8 +/* 8032A314 00327274 48 04 28 65 */ bl sub_8036cb78 +/* 8032A318 00327278 3C 60 80 5A */ lis r3, lbl_805A673C@ha +/* 8032A31C 0032727C 3C 80 80 3D */ lis r4, lbl_803D7918@ha +/* 8032A320 00327280 3B E3 67 3C */ addi r31, r3, lbl_805A673C@l +/* 8032A324 00327284 38 A0 00 00 */ li r5, 0 +/* 8032A328 00327288 83 BF 00 08 */ lwz r29, 8(r31) +/* 8032A32C 0032728C 38 60 04 14 */ li r3, 0x414 +/* 8032A330 00327290 38 84 79 18 */ addi r4, r4, lbl_803D7918@l +/* 8032A334 00327294 83 9D 00 00 */ lwz r28, 0(r29) +/* 8032A338 00327298 4B FE B4 E1 */ bl __nwa__FUlPCcPCc +/* 8032A33C 0032729C 28 03 00 00 */ cmplwi r3, 0 +/* 8032A340 003272A0 41 82 00 0C */ beq lbl_8032A34C +/* 8032A344 003272A4 93 83 00 00 */ stw r28, 0(r3) +/* 8032A348 003272A8 93 A3 00 04 */ stw r29, 4(r3) +lbl_8032A34C: +/* 8032A34C 003272AC 34 E3 00 08 */ addic. r7, r3, 8 +/* 8032A350 003272B0 41 82 00 40 */ beq lbl_8032A390 +/* 8032A354 003272B4 80 81 00 08 */ lwz r4, 8(r1) +/* 8032A358 003272B8 38 00 00 80 */ li r0, 0x80 +/* 8032A35C 003272BC 38 C7 00 08 */ addi r6, r7, 8 +/* 8032A360 003272C0 38 A1 00 10 */ addi r5, r1, 0x10 +/* 8032A364 003272C4 90 87 00 00 */ stw r4, 0(r7) +/* 8032A368 003272C8 80 81 00 0C */ lwz r4, 0xc(r1) +/* 8032A36C 003272CC 90 87 00 04 */ stw r4, 4(r7) +/* 8032A370 003272D0 80 81 00 10 */ lwz r4, 0x10(r1) +/* 8032A374 003272D4 90 87 00 08 */ stw r4, 8(r7) +/* 8032A378 003272D8 7C 09 03 A6 */ mtctr r0 +lbl_8032A37C: +/* 8032A37C 003272DC 80 85 00 04 */ lwz r4, 4(r5) +/* 8032A380 003272E0 84 05 00 08 */ lwzu r0, 8(r5) +/* 8032A384 003272E4 90 86 00 04 */ stw r4, 4(r6) +/* 8032A388 003272E8 94 06 00 08 */ stwu r0, 8(r6) +/* 8032A38C 003272EC 42 00 FF F0 */ bdnz lbl_8032A37C +lbl_8032A390: +/* 8032A390 003272F0 3C 80 80 5A */ lis r4, lbl_805A673C@ha +/* 8032A394 003272F4 38 84 67 3C */ addi r4, r4, lbl_805A673C@l +/* 8032A398 003272F8 80 04 00 04 */ lwz r0, 4(r4) +/* 8032A39C 003272FC 7C 1D 00 40 */ cmplw r29, r0 +/* 8032A3A0 00327300 40 82 00 08 */ bne lbl_8032A3A8 +/* 8032A3A4 00327304 90 64 00 04 */ stw r3, 4(r4) +lbl_8032A3A8: +/* 8032A3A8 00327308 80 C3 00 00 */ lwz r6, 0(r3) +/* 8032A3AC 0032730C 3C 80 80 5A */ lis r4, lbl_805A673C@ha +/* 8032A3B0 00327310 38 A4 67 3C */ addi r5, r4, lbl_805A673C@l +/* 8032A3B4 00327314 90 66 00 04 */ stw r3, 4(r6) +/* 8032A3B8 00327318 80 83 00 04 */ lwz r4, 4(r3) +/* 8032A3BC 0032731C 90 64 00 00 */ stw r3, 0(r4) +/* 8032A3C0 00327320 80 85 00 14 */ lwz r4, 0x14(r5) +/* 8032A3C4 00327324 80 7F 00 08 */ lwz r3, 8(r31) +/* 8032A3C8 00327328 38 04 00 01 */ addi r0, r4, 1 +/* 8032A3CC 0032732C 90 05 00 14 */ stw r0, 0x14(r5) +/* 8032A3D0 00327330 80 63 00 00 */ lwz r3, 0(r3) +/* 8032A3D4 00327334 38 03 00 08 */ addi r0, r3, 8 +/* 8032A3D8 00327338 90 0D A8 C8 */ stw r0, lbl_805A9488@sda21(r13) +lbl_8032A3DC: +/* 8032A3DC 0032733C 80 6D A8 C8 */ lwz r3, lbl_805A9488@sda21(r13) +/* 8032A3E0 00327340 7F C4 F3 78 */ mr r4, r30 +/* 8032A3E4 00327344 48 04 27 11 */ bl sub_8036caf4 +/* 8032A3E8 00327348 80 01 04 34 */ lwz r0, 0x434(r1) +/* 8032A3EC 0032734C 83 E1 04 2C */ lwz r31, 0x42c(r1) +/* 8032A3F0 00327350 83 C1 04 28 */ lwz r30, 0x428(r1) +/* 8032A3F4 00327354 83 A1 04 24 */ lwz r29, 0x424(r1) +/* 8032A3F8 00327358 83 81 04 20 */ lwz r28, 0x420(r1) +/* 8032A3FC 0032735C 7C 08 03 A6 */ mtlr r0 +/* 8032A400 00327360 38 21 04 30 */ addi r1, r1, 0x430 +/* 8032A404 00327364 4E 80 00 20 */ blr + +.global "count,Q24rstl17rmemory_allocator>,Ui>__4rstlFQ24rstl94pointer_iterator,Q24rstl17rmemory_allocator>Q24rstl94pointer_iterator,Q24rstl17rmemory_allocator>RCUi" +"count,Q24rstl17rmemory_allocator>,Ui>__4rstlFQ24rstl94pointer_iterator,Q24rstl17rmemory_allocator>Q24rstl94pointer_iterator,Q24rstl17rmemory_allocator>RCUi": +/* 8032A408 00327368 39 00 00 00 */ li r8, 0 +/* 8032A40C 0032736C 48 00 00 24 */ b lbl_8032A430 +lbl_8032A410: +/* 8032A410 00327370 80 C5 00 00 */ lwz r6, 0(r5) +/* 8032A414 00327374 80 07 00 00 */ lwz r0, 0(r7) +/* 8032A418 00327378 7C 06 00 40 */ cmplw r6, r0 +/* 8032A41C 0032737C 40 82 00 08 */ bne lbl_8032A424 +/* 8032A420 00327380 39 08 00 01 */ addi r8, r8, 1 +lbl_8032A424: +/* 8032A424 00327384 80 C3 00 00 */ lwz r6, 0(r3) +/* 8032A428 00327388 38 06 00 04 */ addi r0, r6, 4 +/* 8032A42C 0032738C 90 03 00 00 */ stw r0, 0(r3) +lbl_8032A430: +/* 8032A430 00327390 80 E3 00 00 */ lwz r7, 0(r3) +/* 8032A434 00327394 80 04 00 00 */ lwz r0, 0(r4) +/* 8032A438 00327398 7C 07 00 40 */ cmplw r7, r0 +/* 8032A43C 0032739C 40 82 FF D4 */ bne lbl_8032A410 +/* 8032A440 003273A0 7D 03 43 78 */ mr r3, r8 +/* 8032A444 003273A4 4E 80 00 20 */ blr + +.global "count,Q24rstl17rmemory_allocator>,Ui>__4rstlFQ24rstl100const_pointer_iterator,Q24rstl17rmemory_allocator>Q24rstl100const_pointer_iterator,Q24rstl17rmemory_allocator>RCUi" +"count,Q24rstl17rmemory_allocator>,Ui>__4rstlFQ24rstl100const_pointer_iterator,Q24rstl17rmemory_allocator>Q24rstl100const_pointer_iterator,Q24rstl17rmemory_allocator>RCUi": +/* 8032A448 003273A8 39 00 00 00 */ li r8, 0 +/* 8032A44C 003273AC 48 00 00 24 */ b lbl_8032A470 +lbl_8032A450: +/* 8032A450 003273B0 80 C5 00 00 */ lwz r6, 0(r5) +/* 8032A454 003273B4 80 07 00 00 */ lwz r0, 0(r7) +/* 8032A458 003273B8 7C 06 00 40 */ cmplw r6, r0 +/* 8032A45C 003273BC 40 82 00 08 */ bne lbl_8032A464 +/* 8032A460 003273C0 39 08 00 01 */ addi r8, r8, 1 +lbl_8032A464: +/* 8032A464 003273C4 80 C3 00 00 */ lwz r6, 0(r3) +/* 8032A468 003273C8 38 06 00 04 */ addi r0, r6, 4 +/* 8032A46C 003273CC 90 03 00 00 */ stw r0, 0(r3) +lbl_8032A470: +/* 8032A470 003273D0 80 E3 00 00 */ lwz r7, 0(r3) +/* 8032A474 003273D4 80 04 00 00 */ lwz r0, 0(r4) +/* 8032A478 003273D8 7C 07 00 40 */ cmplw r7, r0 +/* 8032A47C 003273DC 40 82 FF D4 */ bne lbl_8032A450 +/* 8032A480 003273E0 7D 03 43 78 */ mr r3, r8 +/* 8032A484 003273E4 4E 80 00 20 */ blr + +.global sub_8032a488 +sub_8032a488: +/* 8032A488 003273E8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8032A48C 003273EC 7C 08 02 A6 */ mflr r0 +/* 8032A490 003273F0 90 01 00 14 */ stw r0, 0x14(r1) +/* 8032A494 003273F4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8032A498 003273F8 93 C1 00 08 */ stw r30, 8(r1) +/* 8032A49C 003273FC 7C 7E 1B 78 */ mr r30, r3 +/* 8032A4A0 00327400 80 03 00 04 */ lwz r0, 4(r3) +/* 8032A4A4 00327404 83 E4 00 04 */ lwz r31, 4(r4) +/* 8032A4A8 00327408 7C 04 00 40 */ cmplw r4, r0 +/* 8032A4AC 0032740C 40 82 00 08 */ bne lbl_8032A4B4 +/* 8032A4B0 00327410 93 FE 00 04 */ stw r31, 4(r30) +lbl_8032A4B4: +/* 8032A4B4 00327414 80 04 00 04 */ lwz r0, 4(r4) +/* 8032A4B8 00327418 28 04 00 00 */ cmplwi r4, 0 +/* 8032A4BC 0032741C 80 64 00 00 */ lwz r3, 0(r4) +/* 8032A4C0 00327420 90 03 00 04 */ stw r0, 4(r3) +/* 8032A4C4 00327424 80 04 00 00 */ lwz r0, 0(r4) +/* 8032A4C8 00327428 80 64 00 04 */ lwz r3, 4(r4) +/* 8032A4CC 0032742C 90 03 00 00 */ stw r0, 0(r3) +/* 8032A4D0 00327430 41 82 00 0C */ beq lbl_8032A4DC +/* 8032A4D4 00327434 7C 83 23 78 */ mr r3, r4 +/* 8032A4D8 00327438 4B FE B4 59 */ bl Free__7CMemoryFPCv +lbl_8032A4DC: +/* 8032A4DC 0032743C 80 9E 00 14 */ lwz r4, 0x14(r30) +/* 8032A4E0 00327440 7F E3 FB 78 */ mr r3, r31 +/* 8032A4E4 00327444 38 04 FF FF */ addi r0, r4, -1 +/* 8032A4E8 00327448 90 1E 00 14 */ stw r0, 0x14(r30) +/* 8032A4EC 0032744C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8032A4F0 00327450 83 C1 00 08 */ lwz r30, 8(r1) +/* 8032A4F4 00327454 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8032A4F8 00327458 7C 08 03 A6 */ mtlr r0 +/* 8032A4FC 0032745C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8032A500 00327460 4E 80 00 20 */ blr + +.global __sinit_CElementGen_cpp +__sinit_CElementGen_cpp: +/* 8032A504 00327464 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8032A508 00327468 7C 08 02 A6 */ mflr r0 +/* 8032A50C 0032746C 3C 60 80 5A */ lis r3, lbl_805A673C@ha +/* 8032A510 00327470 3C 80 80 33 */ lis r4, sub_8032a558@ha +/* 8032A514 00327474 90 01 00 14 */ stw r0, 0x14(r1) +/* 8032A518 00327478 38 63 67 3C */ addi r3, r3, lbl_805A673C@l +/* 8032A51C 0032747C 38 C3 00 0C */ addi r6, r3, 0xc +/* 8032A520 00327480 38 00 00 00 */ li r0, 0 +/* 8032A524 00327484 3C A0 80 4C */ lis r5, lbl_804BFF00@ha +/* 8032A528 00327488 90 C3 00 04 */ stw r6, 4(r3) +/* 8032A52C 0032748C 38 84 A5 58 */ addi r4, r4, sub_8032a558@l +/* 8032A530 00327490 90 C3 00 08 */ stw r6, 8(r3) +/* 8032A534 00327494 38 A5 FF 00 */ addi r5, r5, lbl_804BFF00@l +/* 8032A538 00327498 90 C6 00 00 */ stw r6, 0(r6) +/* 8032A53C 0032749C 90 C3 00 10 */ stw r6, 0x10(r3) +/* 8032A540 003274A0 90 03 00 14 */ stw r0, 0x14(r3) +/* 8032A544 003274A4 48 05 F1 49 */ bl __register_global_object +/* 8032A548 003274A8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8032A54C 003274AC 7C 08 03 A6 */ mtlr r0 +/* 8032A550 003274B0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8032A554 003274B4 4E 80 00 20 */ blr + +.global sub_8032a558 +sub_8032a558: +/* 8032A558 003274B8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8032A55C 003274BC 7C 08 02 A6 */ mflr r0 +/* 8032A560 003274C0 90 01 00 24 */ stw r0, 0x24(r1) +/* 8032A564 003274C4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8032A568 003274C8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8032A56C 003274CC 7C 9E 23 78 */ mr r30, r4 +/* 8032A570 003274D0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8032A574 003274D4 7C 7D 1B 79 */ or. r29, r3, r3 +/* 8032A578 003274D8 41 82 00 38 */ beq lbl_8032A5B0 +/* 8032A57C 003274DC 83 FD 00 04 */ lwz r31, 4(r29) +/* 8032A580 003274E0 48 00 00 14 */ b lbl_8032A594 +lbl_8032A584: +/* 8032A584 003274E4 7F E3 FB 79 */ or. r3, r31, r31 +/* 8032A588 003274E8 83 FF 00 04 */ lwz r31, 4(r31) +/* 8032A58C 003274EC 41 82 00 08 */ beq lbl_8032A594 +/* 8032A590 003274F0 4B FE B3 A1 */ bl Free__7CMemoryFPCv +lbl_8032A594: +/* 8032A594 003274F4 80 1D 00 08 */ lwz r0, 8(r29) +/* 8032A598 003274F8 7C 1F 00 40 */ cmplw r31, r0 +/* 8032A59C 003274FC 40 82 FF E8 */ bne lbl_8032A584 +/* 8032A5A0 00327500 7F C0 07 35 */ extsh. r0, r30 +/* 8032A5A4 00327504 40 81 00 0C */ ble lbl_8032A5B0 +/* 8032A5A8 00327508 7F A3 EB 78 */ mr r3, r29 +/* 8032A5AC 0032750C 4B FE B3 85 */ bl Free__7CMemoryFPCv +lbl_8032A5B0: +/* 8032A5B0 00327510 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8032A5B4 00327514 7F A3 EB 78 */ mr r3, r29 +/* 8032A5B8 00327518 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8032A5BC 0032751C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8032A5C0 00327520 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8032A5C4 00327524 7C 08 03 A6 */ mtlr r0 +/* 8032A5C8 00327528 38 21 00 20 */ addi r1, r1, 0x20 +/* 8032A5CC 0032752C 4E 80 00 20 */ blr diff --git a/asm/Kyoto/Particles/CEmitterElement.s b/asm/Kyoto/Particles/CEmitterElement.s new file mode 100644 index 00000000..246df73b --- /dev/null +++ b/asm/Kyoto/Particles/CEmitterElement.s @@ -0,0 +1,702 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global GetValue__14CVEAngleSphereCFiR9CVector3fR9CVector3f +GetValue__14CVEAngleSphereCFiR9CVector3fR9CVector3f: +/* 8035690C 0035386C 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 80356910 00353870 7C 08 02 A6 */ mflr r0 +/* 80356914 00353874 90 01 00 94 */ stw r0, 0x94(r1) +/* 80356918 00353878 DB E1 00 80 */ stfd f31, 0x80(r1) +/* 8035691C 0035387C F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 +/* 80356920 00353880 DB C1 00 70 */ stfd f30, 0x70(r1) +/* 80356924 00353884 F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 +/* 80356928 00353888 DB A1 00 60 */ stfd f29, 0x60(r1) +/* 8035692C 0035388C F3 A1 00 68 */ psq_st f29, 104(r1), 0, qr0 +/* 80356930 00353890 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 80356934 00353894 93 C1 00 58 */ stw r30, 0x58(r1) +/* 80356938 00353898 93 A1 00 54 */ stw r29, 0x54(r1) +/* 8035693C 0035389C 93 81 00 50 */ stw r28, 0x50(r1) +/* 80356940 003538A0 3C E0 80 5A */ lis r7, skZero3f@ha +/* 80356944 003538A4 7C 7C 1B 78 */ mr r28, r3 +/* 80356948 003538A8 38 67 66 A0 */ addi r3, r7, skZero3f@l +/* 8035694C 003538AC 7C BE 2B 78 */ mr r30, r5 +/* 80356950 003538B0 C0 43 00 00 */ lfs f2, 0(r3) +/* 80356954 003538B4 7C 9D 23 78 */ mr r29, r4 +/* 80356958 003538B8 C0 23 00 04 */ lfs f1, 4(r3) +/* 8035695C 003538BC 7C DF 33 78 */ mr r31, r6 +/* 80356960 003538C0 C0 03 00 08 */ lfs f0, 8(r3) +/* 80356964 003538C4 38 A1 00 38 */ addi r5, r1, 0x38 +/* 80356968 003538C8 D0 41 00 38 */ stfs f2, 0x38(r1) +/* 8035696C 003538CC 80 7C 00 04 */ lwz r3, 4(r28) +/* 80356970 003538D0 D0 21 00 3C */ stfs f1, 0x3c(r1) +/* 80356974 003538D4 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 80356978 003538D8 81 83 00 00 */ lwz r12, 0(r3) +/* 8035697C 003538DC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80356980 003538E0 7D 89 03 A6 */ mtctr r12 +/* 80356984 003538E4 4E 80 04 21 */ bctrl +/* 80356988 003538E8 80 7C 00 08 */ lwz r3, 8(r28) +/* 8035698C 003538EC 7F A4 EB 78 */ mr r4, r29 +/* 80356990 003538F0 38 A1 00 1C */ addi r5, r1, 0x1c +/* 80356994 003538F4 81 83 00 00 */ lwz r12, 0(r3) +/* 80356998 003538F8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8035699C 003538FC 7D 89 03 A6 */ mtctr r12 +/* 803569A0 00353900 4E 80 04 21 */ bctrl +/* 803569A4 00353904 80 7C 00 10 */ lwz r3, 0x10(r28) +/* 803569A8 00353908 7F A4 EB 78 */ mr r4, r29 +/* 803569AC 0035390C 38 A1 00 14 */ addi r5, r1, 0x14 +/* 803569B0 00353910 81 83 00 00 */ lwz r12, 0(r3) +/* 803569B4 00353914 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803569B8 00353918 7D 89 03 A6 */ mtctr r12 +/* 803569BC 0035391C 4E 80 04 21 */ bctrl +/* 803569C0 00353920 80 7C 00 14 */ lwz r3, 0x14(r28) +/* 803569C4 00353924 7F A4 EB 78 */ mr r4, r29 +/* 803569C8 00353928 38 A1 00 0C */ addi r5, r1, 0xc +/* 803569CC 0035392C 81 83 00 00 */ lwz r12, 0(r3) +/* 803569D0 00353930 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803569D4 00353934 7D 89 03 A6 */ mtctr r12 +/* 803569D8 00353938 4E 80 04 21 */ bctrl +/* 803569DC 0035393C 80 7C 00 18 */ lwz r3, 0x18(r28) +/* 803569E0 00353940 7F A4 EB 78 */ mr r4, r29 +/* 803569E4 00353944 38 A1 00 10 */ addi r5, r1, 0x10 +/* 803569E8 00353948 81 83 00 00 */ lwz r12, 0(r3) +/* 803569EC 0035394C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803569F0 00353950 7D 89 03 A6 */ mtctr r12 +/* 803569F4 00353954 4E 80 04 21 */ bctrl +/* 803569F8 00353958 80 7C 00 1C */ lwz r3, 0x1c(r28) +/* 803569FC 0035395C 7F A4 EB 78 */ mr r4, r29 +/* 80356A00 00353960 38 A1 00 08 */ addi r5, r1, 8 +/* 80356A04 00353964 81 83 00 00 */ lwz r12, 0(r3) +/* 80356A08 00353968 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80356A0C 0035396C 7D 89 03 A6 */ mtctr r12 +/* 80356A10 00353970 4E 80 04 21 */ bctrl +/* 80356A14 00353974 C3 A1 00 10 */ lfs f29, 0x10(r1) +/* 80356A18 00353978 4B FB BB E5 */ bl GetRandomNumber__9CRandom16Fv +/* 80356A1C 0035397C 4B FB BA C1 */ bl Float__9CRandom16Fv +/* 80356A20 00353980 EC 7D 00 72 */ fmuls f3, f29, f1 +/* 80356A24 00353984 C0 42 CC A8 */ lfs f2, lbl_805AE9C8@sda21(r2) +/* 80356A28 00353988 C0 21 00 14 */ lfs f1, 0x14(r1) +/* 80356A2C 0035398C C0 02 CC AC */ lfs f0, lbl_805AE9CC@sda21(r2) +/* 80356A30 00353990 EC 42 1F 78 */ fmsubs f2, f2, f29, f3 +/* 80356A34 00353994 C3 A1 00 08 */ lfs f29, 8(r1) +/* 80356A38 00353998 EC 21 10 2A */ fadds f1, f1, f2 +/* 80356A3C 0035399C EC 01 00 32 */ fmuls f0, f1, f0 +/* 80356A40 003539A0 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 80356A44 003539A4 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80356A48 003539A8 4B FB BB B5 */ bl GetRandomNumber__9CRandom16Fv +/* 80356A4C 003539AC 4B FB BA 91 */ bl Float__9CRandom16Fv +/* 80356A50 003539B0 EC 7D 00 72 */ fmuls f3, f29, f1 +/* 80356A54 003539B4 C0 42 CC A8 */ lfs f2, lbl_805AE9C8@sda21(r2) +/* 80356A58 003539B8 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 80356A5C 003539BC C0 02 CC AC */ lfs f0, lbl_805AE9CC@sda21(r2) +/* 80356A60 003539C0 EC 42 1F 78 */ fmsubs f2, f2, f29, f3 +/* 80356A64 003539C4 EC 41 10 2A */ fadds f2, f1, f2 +/* 80356A68 003539C8 EC 22 00 32 */ fmuls f1, f2, f0 +/* 80356A6C 003539CC D0 41 00 0C */ stfs f2, 0xc(r1) +/* 80356A70 003539D0 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 80356A74 003539D4 4B FB E2 D1 */ bl FastCosR__5CMathFf +/* 80356A78 003539D8 FF C0 08 90 */ fmr f30, f1 +/* 80356A7C 003539DC C0 21 00 14 */ lfs f1, 0x14(r1) +/* 80356A80 003539E0 4B FB E2 C5 */ bl FastCosR__5CMathFf +/* 80356A84 003539E4 EF A1 07 B2 */ fmuls f29, f1, f30 +/* 80356A88 003539E8 C0 21 00 14 */ lfs f1, 0x14(r1) +/* 80356A8C 003539EC 4B FB E3 65 */ bl FastSinR__5CMathFf +/* 80356A90 003539F0 FF C0 08 90 */ fmr f30, f1 +/* 80356A94 003539F4 C0 21 00 14 */ lfs f1, 0x14(r1) +/* 80356A98 003539F8 4B FB E2 AD */ bl FastCosR__5CMathFf +/* 80356A9C 003539FC FF E0 08 90 */ fmr f31, f1 +/* 80356AA0 00353A00 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 80356AA4 00353A04 4B FB E3 4D */ bl FastSinR__5CMathFf +/* 80356AA8 00353A08 FC 40 08 50 */ fneg f2, f1 +/* 80356AAC 00353A0C C0 C1 00 1C */ lfs f6, 0x1c(r1) +/* 80356AB0 00353A10 C0 21 00 38 */ lfs f1, 0x38(r1) +/* 80356AB4 00353A14 38 61 00 2C */ addi r3, r1, 0x2c +/* 80356AB8 00353A18 EC 06 07 B2 */ fmuls f0, f6, f30 +/* 80356ABC 00353A1C C0 81 00 3C */ lfs f4, 0x3c(r1) +/* 80356AC0 00353A20 EC A2 07 F2 */ fmuls f5, f2, f31 +/* 80356AC4 00353A24 C0 61 00 40 */ lfs f3, 0x40(r1) +/* 80356AC8 00353A28 EC 46 07 72 */ fmuls f2, f6, f29 +/* 80356ACC 00353A2C 38 81 00 20 */ addi r4, r1, 0x20 +/* 80356AD0 00353A30 EC 84 00 2A */ fadds f4, f4, f0 +/* 80356AD4 00353A34 EC 06 01 72 */ fmuls f0, f6, f5 +/* 80356AD8 00353A38 EC 43 10 2A */ fadds f2, f3, f2 +/* 80356ADC 00353A3C EC 01 00 2A */ fadds f0, f1, f0 +/* 80356AE0 00353A40 D0 1E 00 00 */ stfs f0, 0(r30) +/* 80356AE4 00353A44 D0 9E 00 04 */ stfs f4, 4(r30) +/* 80356AE8 00353A48 D0 5E 00 08 */ stfs f2, 8(r30) +/* 80356AEC 00353A4C C0 3E 00 04 */ lfs f1, 4(r30) +/* 80356AF0 00353A50 C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 80356AF4 00353A54 C0 7E 00 08 */ lfs f3, 8(r30) +/* 80356AF8 00353A58 C0 41 00 40 */ lfs f2, 0x40(r1) +/* 80356AFC 00353A5C EC 81 00 28 */ fsubs f4, f1, f0 +/* 80356B00 00353A60 C0 3E 00 00 */ lfs f1, 0(r30) +/* 80356B04 00353A64 C0 01 00 38 */ lfs f0, 0x38(r1) +/* 80356B08 00353A68 EC 43 10 28 */ fsubs f2, f3, f2 +/* 80356B0C 00353A6C D0 81 00 24 */ stfs f4, 0x24(r1) +/* 80356B10 00353A70 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80356B14 00353A74 D0 41 00 28 */ stfs f2, 0x28(r1) +/* 80356B18 00353A78 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 80356B1C 00353A7C 4B FB DD 35 */ bl AsNormalized__9CVector3fCFv +/* 80356B20 00353A80 80 7C 00 0C */ lwz r3, 0xc(r28) +/* 80356B24 00353A84 7F A4 EB 78 */ mr r4, r29 +/* 80356B28 00353A88 38 A1 00 18 */ addi r5, r1, 0x18 +/* 80356B2C 00353A8C C3 A1 00 2C */ lfs f29, 0x2c(r1) +/* 80356B30 00353A90 81 83 00 00 */ lwz r12, 0(r3) +/* 80356B34 00353A94 C3 C1 00 30 */ lfs f30, 0x30(r1) +/* 80356B38 00353A98 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80356B3C 00353A9C C3 E1 00 34 */ lfs f31, 0x34(r1) +/* 80356B40 00353AA0 7D 89 03 A6 */ mtctr r12 +/* 80356B44 00353AA4 4E 80 04 21 */ bctrl +/* 80356B48 00353AA8 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 80356B4C 00353AAC 38 60 00 00 */ li r3, 0 +/* 80356B50 00353AB0 EC 40 07 72 */ fmuls f2, f0, f29 +/* 80356B54 00353AB4 EC 20 07 B2 */ fmuls f1, f0, f30 +/* 80356B58 00353AB8 EC 00 07 F2 */ fmuls f0, f0, f31 +/* 80356B5C 00353ABC D0 5F 00 00 */ stfs f2, 0(r31) +/* 80356B60 00353AC0 D0 3F 00 04 */ stfs f1, 4(r31) +/* 80356B64 00353AC4 D0 1F 00 08 */ stfs f0, 8(r31) +/* 80356B68 00353AC8 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 +/* 80356B6C 00353ACC CB E1 00 80 */ lfd f31, 0x80(r1) +/* 80356B70 00353AD0 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 +/* 80356B74 00353AD4 CB C1 00 70 */ lfd f30, 0x70(r1) +/* 80356B78 00353AD8 E3 A1 00 68 */ psq_l f29, 104(r1), 0, qr0 +/* 80356B7C 00353ADC CB A1 00 60 */ lfd f29, 0x60(r1) +/* 80356B80 00353AE0 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 80356B84 00353AE4 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 80356B88 00353AE8 83 A1 00 54 */ lwz r29, 0x54(r1) +/* 80356B8C 00353AEC 80 01 00 94 */ lwz r0, 0x94(r1) +/* 80356B90 00353AF0 83 81 00 50 */ lwz r28, 0x50(r1) +/* 80356B94 00353AF4 7C 08 03 A6 */ mtlr r0 +/* 80356B98 00353AF8 38 21 00 90 */ addi r1, r1, 0x90 +/* 80356B9C 00353AFC 4E 80 00 20 */ blr + +.global __dt__14CVEAngleSphereFv +__dt__14CVEAngleSphereFv: +/* 80356BA0 00353B00 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80356BA4 00353B04 7C 08 02 A6 */ mflr r0 +/* 80356BA8 00353B08 90 01 00 14 */ stw r0, 0x14(r1) +/* 80356BAC 00353B0C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80356BB0 00353B10 7C 9F 23 78 */ mr r31, r4 +/* 80356BB4 00353B14 93 C1 00 08 */ stw r30, 8(r1) +/* 80356BB8 00353B18 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80356BBC 00353B1C 41 82 01 28 */ beq lbl_80356CE4 +/* 80356BC0 00353B20 3C 60 80 3F */ lis r3, lbl_803EF748@ha +/* 80356BC4 00353B24 38 03 F7 48 */ addi r0, r3, lbl_803EF748@l +/* 80356BC8 00353B28 90 1E 00 00 */ stw r0, 0(r30) +/* 80356BCC 00353B2C 80 7E 00 04 */ lwz r3, 4(r30) +/* 80356BD0 00353B30 28 03 00 00 */ cmplwi r3, 0 +/* 80356BD4 00353B34 41 82 00 18 */ beq lbl_80356BEC +/* 80356BD8 00353B38 81 83 00 00 */ lwz r12, 0(r3) +/* 80356BDC 00353B3C 38 80 00 01 */ li r4, 1 +/* 80356BE0 00353B40 81 8C 00 08 */ lwz r12, 8(r12) +/* 80356BE4 00353B44 7D 89 03 A6 */ mtctr r12 +/* 80356BE8 00353B48 4E 80 04 21 */ bctrl +lbl_80356BEC: +/* 80356BEC 00353B4C 80 7E 00 08 */ lwz r3, 8(r30) +/* 80356BF0 00353B50 28 03 00 00 */ cmplwi r3, 0 +/* 80356BF4 00353B54 41 82 00 18 */ beq lbl_80356C0C +/* 80356BF8 00353B58 81 83 00 00 */ lwz r12, 0(r3) +/* 80356BFC 00353B5C 38 80 00 01 */ li r4, 1 +/* 80356C00 00353B60 81 8C 00 08 */ lwz r12, 8(r12) +/* 80356C04 00353B64 7D 89 03 A6 */ mtctr r12 +/* 80356C08 00353B68 4E 80 04 21 */ bctrl +lbl_80356C0C: +/* 80356C0C 00353B6C 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80356C10 00353B70 28 03 00 00 */ cmplwi r3, 0 +/* 80356C14 00353B74 41 82 00 18 */ beq lbl_80356C2C +/* 80356C18 00353B78 81 83 00 00 */ lwz r12, 0(r3) +/* 80356C1C 00353B7C 38 80 00 01 */ li r4, 1 +/* 80356C20 00353B80 81 8C 00 08 */ lwz r12, 8(r12) +/* 80356C24 00353B84 7D 89 03 A6 */ mtctr r12 +/* 80356C28 00353B88 4E 80 04 21 */ bctrl +lbl_80356C2C: +/* 80356C2C 00353B8C 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 80356C30 00353B90 28 03 00 00 */ cmplwi r3, 0 +/* 80356C34 00353B94 41 82 00 18 */ beq lbl_80356C4C +/* 80356C38 00353B98 81 83 00 00 */ lwz r12, 0(r3) +/* 80356C3C 00353B9C 38 80 00 01 */ li r4, 1 +/* 80356C40 00353BA0 81 8C 00 08 */ lwz r12, 8(r12) +/* 80356C44 00353BA4 7D 89 03 A6 */ mtctr r12 +/* 80356C48 00353BA8 4E 80 04 21 */ bctrl +lbl_80356C4C: +/* 80356C4C 00353BAC 80 7E 00 14 */ lwz r3, 0x14(r30) +/* 80356C50 00353BB0 28 03 00 00 */ cmplwi r3, 0 +/* 80356C54 00353BB4 41 82 00 18 */ beq lbl_80356C6C +/* 80356C58 00353BB8 81 83 00 00 */ lwz r12, 0(r3) +/* 80356C5C 00353BBC 38 80 00 01 */ li r4, 1 +/* 80356C60 00353BC0 81 8C 00 08 */ lwz r12, 8(r12) +/* 80356C64 00353BC4 7D 89 03 A6 */ mtctr r12 +/* 80356C68 00353BC8 4E 80 04 21 */ bctrl +lbl_80356C6C: +/* 80356C6C 00353BCC 80 7E 00 18 */ lwz r3, 0x18(r30) +/* 80356C70 00353BD0 28 03 00 00 */ cmplwi r3, 0 +/* 80356C74 00353BD4 41 82 00 18 */ beq lbl_80356C8C +/* 80356C78 00353BD8 81 83 00 00 */ lwz r12, 0(r3) +/* 80356C7C 00353BDC 38 80 00 01 */ li r4, 1 +/* 80356C80 00353BE0 81 8C 00 08 */ lwz r12, 8(r12) +/* 80356C84 00353BE4 7D 89 03 A6 */ mtctr r12 +/* 80356C88 00353BE8 4E 80 04 21 */ bctrl +lbl_80356C8C: +/* 80356C8C 00353BEC 80 7E 00 1C */ lwz r3, 0x1c(r30) +/* 80356C90 00353BF0 28 03 00 00 */ cmplwi r3, 0 +/* 80356C94 00353BF4 41 82 00 18 */ beq lbl_80356CAC +/* 80356C98 00353BF8 81 83 00 00 */ lwz r12, 0(r3) +/* 80356C9C 00353BFC 38 80 00 01 */ li r4, 1 +/* 80356CA0 00353C00 81 8C 00 08 */ lwz r12, 8(r12) +/* 80356CA4 00353C04 7D 89 03 A6 */ mtctr r12 +/* 80356CA8 00353C08 4E 80 04 21 */ bctrl +lbl_80356CAC: +/* 80356CAC 00353C0C 28 1E 00 00 */ cmplwi r30, 0 +/* 80356CB0 00353C10 41 82 00 20 */ beq lbl_80356CD0 +/* 80356CB4 00353C14 3C 60 80 3F */ lis r3, lbl_803EF758@ha +/* 80356CB8 00353C18 38 03 F7 58 */ addi r0, r3, lbl_803EF758@l +/* 80356CBC 00353C1C 90 1E 00 00 */ stw r0, 0(r30) +/* 80356CC0 00353C20 41 82 00 10 */ beq lbl_80356CD0 +/* 80356CC4 00353C24 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80356CC8 00353C28 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80356CCC 00353C2C 90 1E 00 00 */ stw r0, 0(r30) +lbl_80356CD0: +/* 80356CD0 00353C30 7F E0 07 35 */ extsh. r0, r31 +/* 80356CD4 00353C34 40 81 00 10 */ ble lbl_80356CE4 +/* 80356CD8 00353C38 7F C3 F3 78 */ mr r3, r30 +/* 80356CDC 00353C3C 38 80 00 20 */ li r4, 0x20 +/* 80356CE0 00353C40 48 01 5D 85 */ bl sub_8036ca64 +lbl_80356CE4: +/* 80356CE4 00353C44 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80356CE8 00353C48 7F C3 F3 78 */ mr r3, r30 +/* 80356CEC 00353C4C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80356CF0 00353C50 83 C1 00 08 */ lwz r30, 8(r1) +/* 80356CF4 00353C54 7C 08 03 A6 */ mtlr r0 +/* 80356CF8 00353C58 38 21 00 10 */ addi r1, r1, 0x10 +/* 80356CFC 00353C5C 4E 80 00 20 */ blr + +.global __ct__14CVEAngleSphereFP14CVectorElementP12CRealElementP12CRealElementP12CRealElementP12CRealElementP12CRealElementP12CRealElement +__ct__14CVEAngleSphereFP14CVectorElementP12CRealElementP12CRealElementP12CRealElementP12CRealElementP12CRealElementP12CRealElement: +/* 80356D00 00353C60 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80356D04 00353C64 3D 80 80 3F */ lis r12, lbl_803EF758@ha +/* 80356D08 00353C68 39 8C F7 58 */ addi r12, r12, lbl_803EF758@l +/* 80356D0C 00353C6C 3D 60 80 3F */ lis r11, lbl_803EF748@ha +/* 80356D10 00353C70 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80356D14 00353C74 3F E0 80 3F */ lis r31, lbl_803EC5A8@ha +/* 80356D18 00353C78 38 1F C5 A8 */ addi r0, r31, lbl_803EC5A8@l +/* 80356D1C 00353C7C 90 03 00 00 */ stw r0, 0(r3) +/* 80356D20 00353C80 38 0B F7 48 */ addi r0, r11, lbl_803EF748@l +/* 80356D24 00353C84 91 83 00 00 */ stw r12, 0(r3) +/* 80356D28 00353C88 90 03 00 00 */ stw r0, 0(r3) +/* 80356D2C 00353C8C 90 83 00 04 */ stw r4, 4(r3) +/* 80356D30 00353C90 90 A3 00 08 */ stw r5, 8(r3) +/* 80356D34 00353C94 90 C3 00 0C */ stw r6, 0xc(r3) +/* 80356D38 00353C98 90 E3 00 10 */ stw r7, 0x10(r3) +/* 80356D3C 00353C9C 91 03 00 14 */ stw r8, 0x14(r3) +/* 80356D40 00353CA0 91 23 00 18 */ stw r9, 0x18(r3) +/* 80356D44 00353CA4 91 43 00 1C */ stw r10, 0x1c(r3) +/* 80356D48 00353CA8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80356D4C 00353CAC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80356D50 00353CB0 4E 80 00 20 */ blr + +.global __dt__15CEmitterElement +__dt__15CEmitterElement: +/* 80356D54 00353CB4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80356D58 00353CB8 7C 08 02 A6 */ mflr r0 +/* 80356D5C 00353CBC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80356D60 00353CC0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80356D64 00353CC4 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80356D68 00353CC8 41 82 00 34 */ beq lbl_80356D9C +/* 80356D6C 00353CCC 3C 60 80 3F */ lis r3, lbl_803EF758@ha +/* 80356D70 00353CD0 38 03 F7 58 */ addi r0, r3, lbl_803EF758@l +/* 80356D74 00353CD4 90 1F 00 00 */ stw r0, 0(r31) +/* 80356D78 00353CD8 41 82 00 10 */ beq lbl_80356D88 +/* 80356D7C 00353CDC 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80356D80 00353CE0 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80356D84 00353CE4 90 1F 00 00 */ stw r0, 0(r31) +lbl_80356D88: +/* 80356D88 00353CE8 7C 80 07 35 */ extsh. r0, r4 +/* 80356D8C 00353CEC 40 81 00 10 */ ble lbl_80356D9C +/* 80356D90 00353CF0 7F E3 FB 78 */ mr r3, r31 +/* 80356D94 00353CF4 38 80 00 04 */ li r4, 4 +/* 80356D98 00353CF8 48 01 5C CD */ bl sub_8036ca64 +lbl_80356D9C: +/* 80356D9C 00353CFC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80356DA0 00353D00 7F E3 FB 78 */ mr r3, r31 +/* 80356DA4 00353D04 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80356DA8 00353D08 7C 08 03 A6 */ mtlr r0 +/* 80356DAC 00353D0C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80356DB0 00353D10 4E 80 00 20 */ blr + +.global GetValue__9CVESphereCFiR9CVector3fR9CVector3f +GetValue__9CVESphereCFiR9CVector3fR9CVector3f: +/* 80356DB4 00353D14 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 80356DB8 00353D18 7C 08 02 A6 */ mflr r0 +/* 80356DBC 00353D1C 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 80356DC0 00353D20 DB E1 00 B0 */ stfd f31, 0xb0(r1) +/* 80356DC4 00353D24 F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0 +/* 80356DC8 00353D28 DB C1 00 A0 */ stfd f30, 0xa0(r1) +/* 80356DCC 00353D2C F3 C1 00 A8 */ psq_st f30, 168(r1), 0, qr0 +/* 80356DD0 00353D30 DB A1 00 90 */ stfd f29, 0x90(r1) +/* 80356DD4 00353D34 F3 A1 00 98 */ psq_st f29, 152(r1), 0, qr0 +/* 80356DD8 00353D38 93 E1 00 8C */ stw r31, 0x8c(r1) +/* 80356DDC 00353D3C 93 C1 00 88 */ stw r30, 0x88(r1) +/* 80356DE0 00353D40 93 A1 00 84 */ stw r29, 0x84(r1) +/* 80356DE4 00353D44 93 81 00 80 */ stw r28, 0x80(r1) +/* 80356DE8 00353D48 3C E0 80 5A */ lis r7, skZero3f@ha +/* 80356DEC 00353D4C 7C 7C 1B 78 */ mr r28, r3 +/* 80356DF0 00353D50 38 67 66 A0 */ addi r3, r7, skZero3f@l +/* 80356DF4 00353D54 7C BE 2B 78 */ mr r30, r5 +/* 80356DF8 00353D58 C0 43 00 00 */ lfs f2, 0(r3) +/* 80356DFC 00353D5C 7C 9D 23 78 */ mr r29, r4 +/* 80356E00 00353D60 C0 23 00 04 */ lfs f1, 4(r3) +/* 80356E04 00353D64 7C DF 33 78 */ mr r31, r6 +/* 80356E08 00353D68 C0 03 00 08 */ lfs f0, 8(r3) +/* 80356E0C 00353D6C 38 A1 00 58 */ addi r5, r1, 0x58 +/* 80356E10 00353D70 D0 41 00 58 */ stfs f2, 0x58(r1) +/* 80356E14 00353D74 80 7C 00 04 */ lwz r3, 4(r28) +/* 80356E18 00353D78 D0 21 00 5C */ stfs f1, 0x5c(r1) +/* 80356E1C 00353D7C D0 01 00 60 */ stfs f0, 0x60(r1) +/* 80356E20 00353D80 81 83 00 00 */ lwz r12, 0(r3) +/* 80356E24 00353D84 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80356E28 00353D88 7D 89 03 A6 */ mtctr r12 +/* 80356E2C 00353D8C 4E 80 04 21 */ bctrl +/* 80356E30 00353D90 80 7C 00 08 */ lwz r3, 8(r28) +/* 80356E34 00353D94 7F A4 EB 78 */ mr r4, r29 +/* 80356E38 00353D98 38 A1 00 0C */ addi r5, r1, 0xc +/* 80356E3C 00353D9C 81 83 00 00 */ lwz r12, 0(r3) +/* 80356E40 00353DA0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80356E44 00353DA4 7D 89 03 A6 */ mtctr r12 +/* 80356E48 00353DA8 4E 80 04 21 */ bctrl +/* 80356E4C 00353DAC 4B FB B7 B1 */ bl GetRandomNumber__9CRandom16Fv +/* 80356E50 00353DB0 38 80 FF 9C */ li r4, -100 +/* 80356E54 00353DB4 38 A0 00 64 */ li r5, 0x64 +/* 80356E58 00353DB8 4B FB B7 3D */ bl Range__9CRandom16Fii +/* 80356E5C 00353DBC 6C 63 80 00 */ xoris r3, r3, 0x8000 +/* 80356E60 00353DC0 3C 00 43 30 */ lis r0, 0x4330 +/* 80356E64 00353DC4 90 61 00 6C */ stw r3, 0x6c(r1) +/* 80356E68 00353DC8 C8 22 CC B8 */ lfd f1, lbl_805AE9D8@sda21(r2) +/* 80356E6C 00353DCC 90 01 00 68 */ stw r0, 0x68(r1) +/* 80356E70 00353DD0 C8 01 00 68 */ lfd f0, 0x68(r1) +/* 80356E74 00353DD4 EF C0 08 28 */ fsubs f30, f0, f1 +/* 80356E78 00353DD8 4B FB B7 85 */ bl GetRandomNumber__9CRandom16Fv +/* 80356E7C 00353DDC 38 80 FF 9C */ li r4, -100 +/* 80356E80 00353DE0 38 A0 00 64 */ li r5, 0x64 +/* 80356E84 00353DE4 4B FB B7 11 */ bl Range__9CRandom16Fii +/* 80356E88 00353DE8 6C 63 80 00 */ xoris r3, r3, 0x8000 +/* 80356E8C 00353DEC 3C 00 43 30 */ lis r0, 0x4330 +/* 80356E90 00353DF0 90 61 00 74 */ stw r3, 0x74(r1) +/* 80356E94 00353DF4 C8 22 CC B8 */ lfd f1, lbl_805AE9D8@sda21(r2) +/* 80356E98 00353DF8 90 01 00 70 */ stw r0, 0x70(r1) +/* 80356E9C 00353DFC C8 01 00 70 */ lfd f0, 0x70(r1) +/* 80356EA0 00353E00 EF E0 08 28 */ fsubs f31, f0, f1 +/* 80356EA4 00353E04 4B FB B7 59 */ bl GetRandomNumber__9CRandom16Fv +/* 80356EA8 00353E08 38 80 FF 9C */ li r4, -100 +/* 80356EAC 00353E0C 38 A0 00 64 */ li r5, 0x64 +/* 80356EB0 00353E10 4B FB B6 E5 */ bl Range__9CRandom16Fii +/* 80356EB4 00353E14 6C 63 80 00 */ xoris r3, r3, 0x8000 +/* 80356EB8 00353E18 3C 00 43 30 */ lis r0, 0x4330 +/* 80356EBC 00353E1C 90 61 00 7C */ stw r3, 0x7c(r1) +/* 80356EC0 00353E20 38 61 00 4C */ addi r3, r1, 0x4c +/* 80356EC4 00353E24 C8 22 CC B8 */ lfd f1, lbl_805AE9D8@sda21(r2) +/* 80356EC8 00353E28 90 01 00 78 */ stw r0, 0x78(r1) +/* 80356ECC 00353E2C C8 01 00 78 */ lfd f0, 0x78(r1) +/* 80356ED0 00353E30 D3 E1 00 50 */ stfs f31, 0x50(r1) +/* 80356ED4 00353E34 EC 00 08 28 */ fsubs f0, f0, f1 +/* 80356ED8 00353E38 D3 C1 00 54 */ stfs f30, 0x54(r1) +/* 80356EDC 00353E3C D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 80356EE0 00353E40 4B FB D8 19 */ bl CanBeNormalized__9CVector3fCFv +/* 80356EE4 00353E44 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80356EE8 00353E48 41 82 00 40 */ beq lbl_80356F28 +/* 80356EEC 00353E4C C0 62 CC B0 */ lfs f3, lbl_805AE9D0@sda21(r2) +/* 80356EF0 00353E50 38 61 00 28 */ addi r3, r1, 0x28 +/* 80356EF4 00353E54 C0 41 00 50 */ lfs f2, 0x50(r1) +/* 80356EF8 00353E58 38 81 00 34 */ addi r4, r1, 0x34 +/* 80356EFC 00353E5C C0 21 00 54 */ lfs f1, 0x54(r1) +/* 80356F00 00353E60 C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 80356F04 00353E64 EC 43 00 B2 */ fmuls f2, f3, f2 +/* 80356F08 00353E68 EC 23 00 72 */ fmuls f1, f3, f1 +/* 80356F0C 00353E6C EC 03 00 32 */ fmuls f0, f3, f0 +/* 80356F10 00353E70 D0 41 00 38 */ stfs f2, 0x38(r1) +/* 80356F14 00353E74 D0 01 00 34 */ stfs f0, 0x34(r1) +/* 80356F18 00353E78 D0 21 00 3C */ stfs f1, 0x3c(r1) +/* 80356F1C 00353E7C 4B FB D9 35 */ bl AsNormalized__9CVector3fCFv +/* 80356F20 00353E80 38 81 00 28 */ addi r4, r1, 0x28 +/* 80356F24 00353E84 48 00 00 30 */ b lbl_80356F54 +lbl_80356F28: +/* 80356F28 00353E88 C0 62 CC B0 */ lfs f3, lbl_805AE9D0@sda21(r2) +/* 80356F2C 00353E8C 38 81 00 1C */ addi r4, r1, 0x1c +/* 80356F30 00353E90 C0 41 00 50 */ lfs f2, 0x50(r1) +/* 80356F34 00353E94 C0 21 00 54 */ lfs f1, 0x54(r1) +/* 80356F38 00353E98 C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 80356F3C 00353E9C EC 43 00 B2 */ fmuls f2, f3, f2 +/* 80356F40 00353EA0 EC 23 00 72 */ fmuls f1, f3, f1 +/* 80356F44 00353EA4 EC 03 00 32 */ fmuls f0, f3, f0 +/* 80356F48 00353EA8 D0 41 00 20 */ stfs f2, 0x20(r1) +/* 80356F4C 00353EAC D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 80356F50 00353EB0 D0 21 00 24 */ stfs f1, 0x24(r1) +lbl_80356F54: +/* 80356F54 00353EB4 C0 04 00 00 */ lfs f0, 0(r4) +/* 80356F58 00353EB8 38 61 00 40 */ addi r3, r1, 0x40 +/* 80356F5C 00353EBC C0 A1 00 0C */ lfs f5, 0xc(r1) +/* 80356F60 00353EC0 D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 80356F64 00353EC4 EC 05 00 32 */ fmuls f0, f5, f0 +/* 80356F68 00353EC8 C0 21 00 58 */ lfs f1, 0x58(r1) +/* 80356F6C 00353ECC C0 44 00 04 */ lfs f2, 4(r4) +/* 80356F70 00353ED0 C0 81 00 5C */ lfs f4, 0x5c(r1) +/* 80356F74 00353ED4 D0 41 00 50 */ stfs f2, 0x50(r1) +/* 80356F78 00353ED8 EC 65 00 B2 */ fmuls f3, f5, f2 +/* 80356F7C 00353EDC EC 01 00 2A */ fadds f0, f1, f0 +/* 80356F80 00353EE0 C0 41 00 60 */ lfs f2, 0x60(r1) +/* 80356F84 00353EE4 C0 24 00 08 */ lfs f1, 8(r4) +/* 80356F88 00353EE8 EC 64 18 2A */ fadds f3, f4, f3 +/* 80356F8C 00353EEC D0 21 00 54 */ stfs f1, 0x54(r1) +/* 80356F90 00353EF0 EC 25 00 72 */ fmuls f1, f5, f1 +/* 80356F94 00353EF4 D0 1E 00 00 */ stfs f0, 0(r30) +/* 80356F98 00353EF8 EC 02 08 2A */ fadds f0, f2, f1 +/* 80356F9C 00353EFC D0 7E 00 04 */ stfs f3, 4(r30) +/* 80356FA0 00353F00 D0 1E 00 08 */ stfs f0, 8(r30) +/* 80356FA4 00353F04 C0 3E 00 04 */ lfs f1, 4(r30) +/* 80356FA8 00353F08 C0 01 00 5C */ lfs f0, 0x5c(r1) +/* 80356FAC 00353F0C C0 7E 00 08 */ lfs f3, 8(r30) +/* 80356FB0 00353F10 C0 41 00 60 */ lfs f2, 0x60(r1) +/* 80356FB4 00353F14 EC 81 00 28 */ fsubs f4, f1, f0 +/* 80356FB8 00353F18 C0 3E 00 00 */ lfs f1, 0(r30) +/* 80356FBC 00353F1C C0 01 00 58 */ lfs f0, 0x58(r1) +/* 80356FC0 00353F20 EC 43 10 28 */ fsubs f2, f3, f2 +/* 80356FC4 00353F24 D0 81 00 44 */ stfs f4, 0x44(r1) +/* 80356FC8 00353F28 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80356FCC 00353F2C D0 41 00 48 */ stfs f2, 0x48(r1) +/* 80356FD0 00353F30 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 80356FD4 00353F34 4B FB D7 25 */ bl CanBeNormalized__9CVector3fCFv +/* 80356FD8 00353F38 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80356FDC 00353F3C 41 82 00 18 */ beq lbl_80356FF4 +/* 80356FE0 00353F40 38 61 00 10 */ addi r3, r1, 0x10 +/* 80356FE4 00353F44 38 81 00 40 */ addi r4, r1, 0x40 +/* 80356FE8 00353F48 4B FB D8 69 */ bl AsNormalized__9CVector3fCFv +/* 80356FEC 00353F4C 38 C1 00 10 */ addi r6, r1, 0x10 +/* 80356FF0 00353F50 48 00 00 08 */ b lbl_80356FF8 +lbl_80356FF4: +/* 80356FF4 00353F54 38 C1 00 40 */ addi r6, r1, 0x40 +lbl_80356FF8: +/* 80356FF8 00353F58 80 7C 00 0C */ lwz r3, 0xc(r28) +/* 80356FFC 00353F5C 7F A4 EB 78 */ mr r4, r29 +/* 80357000 00353F60 38 A1 00 08 */ addi r5, r1, 8 +/* 80357004 00353F64 C3 C6 00 00 */ lfs f30, 0(r6) +/* 80357008 00353F68 81 83 00 00 */ lwz r12, 0(r3) +/* 8035700C 00353F6C C3 E6 00 04 */ lfs f31, 4(r6) +/* 80357010 00353F70 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80357014 00353F74 C3 A6 00 08 */ lfs f29, 8(r6) +/* 80357018 00353F78 7D 89 03 A6 */ mtctr r12 +/* 8035701C 00353F7C 4E 80 04 21 */ bctrl +/* 80357020 00353F80 C0 01 00 08 */ lfs f0, 8(r1) +/* 80357024 00353F84 38 60 00 00 */ li r3, 0 +/* 80357028 00353F88 EC 40 07 B2 */ fmuls f2, f0, f30 +/* 8035702C 00353F8C EC 20 07 F2 */ fmuls f1, f0, f31 +/* 80357030 00353F90 EC 00 07 72 */ fmuls f0, f0, f29 +/* 80357034 00353F94 D0 5F 00 00 */ stfs f2, 0(r31) +/* 80357038 00353F98 D0 3F 00 04 */ stfs f1, 4(r31) +/* 8035703C 00353F9C D0 1F 00 08 */ stfs f0, 8(r31) +/* 80357040 00353FA0 E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0 +/* 80357044 00353FA4 CB E1 00 B0 */ lfd f31, 0xb0(r1) +/* 80357048 00353FA8 E3 C1 00 A8 */ psq_l f30, 168(r1), 0, qr0 +/* 8035704C 00353FAC CB C1 00 A0 */ lfd f30, 0xa0(r1) +/* 80357050 00353FB0 E3 A1 00 98 */ psq_l f29, 152(r1), 0, qr0 +/* 80357054 00353FB4 CB A1 00 90 */ lfd f29, 0x90(r1) +/* 80357058 00353FB8 83 E1 00 8C */ lwz r31, 0x8c(r1) +/* 8035705C 00353FBC 83 C1 00 88 */ lwz r30, 0x88(r1) +/* 80357060 00353FC0 83 A1 00 84 */ lwz r29, 0x84(r1) +/* 80357064 00353FC4 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 80357068 00353FC8 83 81 00 80 */ lwz r28, 0x80(r1) +/* 8035706C 00353FCC 7C 08 03 A6 */ mtlr r0 +/* 80357070 00353FD0 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 80357074 00353FD4 4E 80 00 20 */ blr + +.global __dt__9CVESphereFv +__dt__9CVESphereFv: +/* 80357078 00353FD8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8035707C 00353FDC 7C 08 02 A6 */ mflr r0 +/* 80357080 00353FE0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80357084 00353FE4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80357088 00353FE8 7C 9F 23 78 */ mr r31, r4 +/* 8035708C 00353FEC 93 C1 00 08 */ stw r30, 8(r1) +/* 80357090 00353FF0 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80357094 00353FF4 41 82 00 A8 */ beq lbl_8035713C +/* 80357098 00353FF8 3C 60 80 3F */ lis r3, lbl_803EF768@ha +/* 8035709C 00353FFC 38 03 F7 68 */ addi r0, r3, lbl_803EF768@l +/* 803570A0 00354000 90 1E 00 00 */ stw r0, 0(r30) +/* 803570A4 00354004 80 7E 00 04 */ lwz r3, 4(r30) +/* 803570A8 00354008 28 03 00 00 */ cmplwi r3, 0 +/* 803570AC 0035400C 41 82 00 18 */ beq lbl_803570C4 +/* 803570B0 00354010 81 83 00 00 */ lwz r12, 0(r3) +/* 803570B4 00354014 38 80 00 01 */ li r4, 1 +/* 803570B8 00354018 81 8C 00 08 */ lwz r12, 8(r12) +/* 803570BC 0035401C 7D 89 03 A6 */ mtctr r12 +/* 803570C0 00354020 4E 80 04 21 */ bctrl +lbl_803570C4: +/* 803570C4 00354024 80 7E 00 08 */ lwz r3, 8(r30) +/* 803570C8 00354028 28 03 00 00 */ cmplwi r3, 0 +/* 803570CC 0035402C 41 82 00 18 */ beq lbl_803570E4 +/* 803570D0 00354030 81 83 00 00 */ lwz r12, 0(r3) +/* 803570D4 00354034 38 80 00 01 */ li r4, 1 +/* 803570D8 00354038 81 8C 00 08 */ lwz r12, 8(r12) +/* 803570DC 0035403C 7D 89 03 A6 */ mtctr r12 +/* 803570E0 00354040 4E 80 04 21 */ bctrl +lbl_803570E4: +/* 803570E4 00354044 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 803570E8 00354048 28 03 00 00 */ cmplwi r3, 0 +/* 803570EC 0035404C 41 82 00 18 */ beq lbl_80357104 +/* 803570F0 00354050 81 83 00 00 */ lwz r12, 0(r3) +/* 803570F4 00354054 38 80 00 01 */ li r4, 1 +/* 803570F8 00354058 81 8C 00 08 */ lwz r12, 8(r12) +/* 803570FC 0035405C 7D 89 03 A6 */ mtctr r12 +/* 80357100 00354060 4E 80 04 21 */ bctrl +lbl_80357104: +/* 80357104 00354064 28 1E 00 00 */ cmplwi r30, 0 +/* 80357108 00354068 41 82 00 20 */ beq lbl_80357128 +/* 8035710C 0035406C 3C 60 80 3F */ lis r3, lbl_803EF758@ha +/* 80357110 00354070 38 03 F7 58 */ addi r0, r3, lbl_803EF758@l +/* 80357114 00354074 90 1E 00 00 */ stw r0, 0(r30) +/* 80357118 00354078 41 82 00 10 */ beq lbl_80357128 +/* 8035711C 0035407C 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80357120 00354080 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80357124 00354084 90 1E 00 00 */ stw r0, 0(r30) +lbl_80357128: +/* 80357128 00354088 7F E0 07 35 */ extsh. r0, r31 +/* 8035712C 0035408C 40 81 00 10 */ ble lbl_8035713C +/* 80357130 00354090 7F C3 F3 78 */ mr r3, r30 +/* 80357134 00354094 38 80 00 10 */ li r4, 0x10 +/* 80357138 00354098 48 01 59 2D */ bl sub_8036ca64 +lbl_8035713C: +/* 8035713C 0035409C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80357140 003540A0 7F C3 F3 78 */ mr r3, r30 +/* 80357144 003540A4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80357148 003540A8 83 C1 00 08 */ lwz r30, 8(r1) +/* 8035714C 003540AC 7C 08 03 A6 */ mtlr r0 +/* 80357150 003540B0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80357154 003540B4 4E 80 00 20 */ blr + +.global __ct__9CVESphereFP14CVectorElementP12CRealElementP12CRealElement +__ct__9CVESphereFP14CVectorElementP12CRealElementP12CRealElement: +/* 80357158 003540B8 3D 20 80 3F */ lis r9, lbl_803EC5A8@ha +/* 8035715C 003540BC 3D 00 80 3F */ lis r8, lbl_803EF758@ha +/* 80357160 003540C0 38 09 C5 A8 */ addi r0, r9, lbl_803EC5A8@l +/* 80357164 003540C4 3C E0 80 3F */ lis r7, lbl_803EF768@ha +/* 80357168 003540C8 90 03 00 00 */ stw r0, 0(r3) +/* 8035716C 003540CC 39 08 F7 58 */ addi r8, r8, lbl_803EF758@l +/* 80357170 003540D0 38 07 F7 68 */ addi r0, r7, lbl_803EF768@l +/* 80357174 003540D4 91 03 00 00 */ stw r8, 0(r3) +/* 80357178 003540D8 90 03 00 00 */ stw r0, 0(r3) +/* 8035717C 003540DC 90 83 00 04 */ stw r4, 4(r3) +/* 80357180 003540E0 90 A3 00 08 */ stw r5, 8(r3) +/* 80357184 003540E4 90 C3 00 0C */ stw r6, 0xc(r3) +/* 80357188 003540E8 4E 80 00 20 */ blr + +.global GetValue__16CEESimpleEmitterCFiR9CVector3fR9CVector3f +GetValue__16CEESimpleEmitterCFiR9CVector3fR9CVector3f: +/* 8035718C 003540EC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80357190 003540F0 7C 08 02 A6 */ mflr r0 +/* 80357194 003540F4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80357198 003540F8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8035719C 003540FC 7C DF 33 78 */ mr r31, r6 +/* 803571A0 00354100 93 C1 00 18 */ stw r30, 0x18(r1) +/* 803571A4 00354104 7C 9E 23 78 */ mr r30, r4 +/* 803571A8 00354108 93 A1 00 14 */ stw r29, 0x14(r1) +/* 803571AC 0035410C 7C 7D 1B 78 */ mr r29, r3 +/* 803571B0 00354110 80 63 00 04 */ lwz r3, 4(r3) +/* 803571B4 00354114 81 83 00 00 */ lwz r12, 0(r3) +/* 803571B8 00354118 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803571BC 0035411C 7D 89 03 A6 */ mtctr r12 +/* 803571C0 00354120 4E 80 04 21 */ bctrl +/* 803571C4 00354124 80 7D 00 08 */ lwz r3, 8(r29) +/* 803571C8 00354128 28 03 00 00 */ cmplwi r3, 0 +/* 803571CC 0035412C 41 82 00 20 */ beq lbl_803571EC +/* 803571D0 00354130 81 83 00 00 */ lwz r12, 0(r3) +/* 803571D4 00354134 7F C4 F3 78 */ mr r4, r30 +/* 803571D8 00354138 7F E5 FB 78 */ mr r5, r31 +/* 803571DC 0035413C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803571E0 00354140 7D 89 03 A6 */ mtctr r12 +/* 803571E4 00354144 4E 80 04 21 */ bctrl +/* 803571E8 00354148 48 00 00 20 */ b lbl_80357208 +lbl_803571EC: +/* 803571EC 0035414C 3C 60 80 5A */ lis r3, skZero3f@ha +/* 803571F0 00354150 C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) +/* 803571F4 00354154 D0 1F 00 00 */ stfs f0, 0(r31) +/* 803571F8 00354158 C0 03 00 04 */ lfs f0, 4(r3) +/* 803571FC 0035415C D0 1F 00 04 */ stfs f0, 4(r31) +/* 80357200 00354160 C0 03 00 08 */ lfs f0, 8(r3) +/* 80357204 00354164 D0 1F 00 08 */ stfs f0, 8(r31) +lbl_80357208: +/* 80357208 00354168 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8035720C 0035416C 38 60 00 00 */ li r3, 0 +/* 80357210 00354170 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80357214 00354174 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80357218 00354178 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8035721C 0035417C 7C 08 03 A6 */ mtlr r0 +/* 80357220 00354180 38 21 00 20 */ addi r1, r1, 0x20 +/* 80357224 00354184 4E 80 00 20 */ blr + +.global __dt__16CEESimpleEmitterFv +__dt__16CEESimpleEmitterFv: +/* 80357228 00354188 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8035722C 0035418C 7C 08 02 A6 */ mflr r0 +/* 80357230 00354190 90 01 00 14 */ stw r0, 0x14(r1) +/* 80357234 00354194 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80357238 00354198 7C 9F 23 78 */ mr r31, r4 +/* 8035723C 0035419C 93 C1 00 08 */ stw r30, 8(r1) +/* 80357240 003541A0 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80357244 003541A4 41 82 00 88 */ beq lbl_803572CC +/* 80357248 003541A8 3C 60 80 3F */ lis r3, lbl_803EF778@ha +/* 8035724C 003541AC 38 03 F7 78 */ addi r0, r3, lbl_803EF778@l +/* 80357250 003541B0 90 1E 00 00 */ stw r0, 0(r30) +/* 80357254 003541B4 80 7E 00 04 */ lwz r3, 4(r30) +/* 80357258 003541B8 28 03 00 00 */ cmplwi r3, 0 +/* 8035725C 003541BC 41 82 00 18 */ beq lbl_80357274 +/* 80357260 003541C0 81 83 00 00 */ lwz r12, 0(r3) +/* 80357264 003541C4 38 80 00 01 */ li r4, 1 +/* 80357268 003541C8 81 8C 00 08 */ lwz r12, 8(r12) +/* 8035726C 003541CC 7D 89 03 A6 */ mtctr r12 +/* 80357270 003541D0 4E 80 04 21 */ bctrl +lbl_80357274: +/* 80357274 003541D4 80 7E 00 08 */ lwz r3, 8(r30) +/* 80357278 003541D8 28 03 00 00 */ cmplwi r3, 0 +/* 8035727C 003541DC 41 82 00 18 */ beq lbl_80357294 +/* 80357280 003541E0 81 83 00 00 */ lwz r12, 0(r3) +/* 80357284 003541E4 38 80 00 01 */ li r4, 1 +/* 80357288 003541E8 81 8C 00 08 */ lwz r12, 8(r12) +/* 8035728C 003541EC 7D 89 03 A6 */ mtctr r12 +/* 80357290 003541F0 4E 80 04 21 */ bctrl +lbl_80357294: +/* 80357294 003541F4 28 1E 00 00 */ cmplwi r30, 0 +/* 80357298 003541F8 41 82 00 20 */ beq lbl_803572B8 +/* 8035729C 003541FC 3C 60 80 3F */ lis r3, lbl_803EF758@ha +/* 803572A0 00354200 38 03 F7 58 */ addi r0, r3, lbl_803EF758@l +/* 803572A4 00354204 90 1E 00 00 */ stw r0, 0(r30) +/* 803572A8 00354208 41 82 00 10 */ beq lbl_803572B8 +/* 803572AC 0035420C 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 803572B0 00354210 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 803572B4 00354214 90 1E 00 00 */ stw r0, 0(r30) +lbl_803572B8: +/* 803572B8 00354218 7F E0 07 35 */ extsh. r0, r31 +/* 803572BC 0035421C 40 81 00 10 */ ble lbl_803572CC +/* 803572C0 00354220 7F C3 F3 78 */ mr r3, r30 +/* 803572C4 00354224 38 80 00 0C */ li r4, 0xc +/* 803572C8 00354228 48 01 57 9D */ bl sub_8036ca64 +lbl_803572CC: +/* 803572CC 0035422C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803572D0 00354230 7F C3 F3 78 */ mr r3, r30 +/* 803572D4 00354234 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803572D8 00354238 83 C1 00 08 */ lwz r30, 8(r1) +/* 803572DC 0035423C 7C 08 03 A6 */ mtlr r0 +/* 803572E0 00354240 38 21 00 10 */ addi r1, r1, 0x10 +/* 803572E4 00354244 4E 80 00 20 */ blr + +.global __ct__16CEESimpleEmitterFP14CVectorElementP14CVectorElement +__ct__16CEESimpleEmitterFP14CVectorElementP14CVectorElement: +/* 803572E8 00354248 3D 00 80 3F */ lis r8, lbl_803EC5A8@ha +/* 803572EC 0035424C 3C E0 80 3F */ lis r7, lbl_803EF758@ha +/* 803572F0 00354250 38 08 C5 A8 */ addi r0, r8, lbl_803EC5A8@l +/* 803572F4 00354254 3C C0 80 3F */ lis r6, lbl_803EF778@ha +/* 803572F8 00354258 90 03 00 00 */ stw r0, 0(r3) +/* 803572FC 0035425C 38 E7 F7 58 */ addi r7, r7, lbl_803EF758@l +/* 80357300 00354260 38 06 F7 78 */ addi r0, r6, lbl_803EF778@l +/* 80357304 00354264 90 E3 00 00 */ stw r7, 0(r3) +/* 80357308 00354268 90 03 00 00 */ stw r0, 0(r3) +/* 8035730C 0035426C 90 83 00 04 */ stw r4, 4(r3) +/* 80357310 00354270 90 A3 00 08 */ stw r5, 8(r3) +/* 80357314 00354274 4E 80 00 20 */ blr diff --git a/asm/Kyoto/Particles/CGenDescription.s b/asm/Kyoto/Particles/CGenDescription.s new file mode 100644 index 00000000..efb89ffa --- /dev/null +++ b/asm/Kyoto/Particles/CGenDescription.s @@ -0,0 +1,288 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __dt__15CGenDescriptionFv +__dt__15CGenDescriptionFv: +/* 80366E38 00363D98 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80366E3C 00363D9C 7C 08 02 A6 */ mflr r0 +/* 80366E40 00363DA0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80366E44 00363DA4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80366E48 00363DA8 7C 9F 23 78 */ mr r31, r4 +/* 80366E4C 00363DAC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80366E50 00363DB0 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80366E54 00363DB4 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80366E58 00363DB8 93 81 00 10 */ stw r28, 0x10(r1) +/* 80366E5C 00363DBC 41 82 01 94 */ beq lbl_80366FF0 +/* 80366E60 00363DC0 3C 60 80 3E */ lis r3, lbl_803D8418@ha +/* 80366E64 00363DC4 3B 80 00 00 */ li r28, 0 +/* 80366E68 00363DC8 3B A3 84 18 */ addi r29, r3, lbl_803D8418@l +lbl_80366E6C: +/* 80366E6C 00363DCC 80 9D 00 00 */ lwz r4, 0(r29) +/* 80366E70 00363DD0 7F C3 F3 78 */ mr r3, r30 +/* 80366E74 00363DD4 48 00 03 C1 */ bl element_from_desc__FP15CGenDescriptioni +/* 80366E78 00363DD8 80 63 00 00 */ lwz r3, 0(r3) +/* 80366E7C 00363DDC 28 03 00 00 */ cmplwi r3, 0 +/* 80366E80 00363DE0 41 82 00 18 */ beq lbl_80366E98 +/* 80366E84 00363DE4 81 83 00 00 */ lwz r12, 0(r3) +/* 80366E88 00363DE8 38 80 00 01 */ li r4, 1 +/* 80366E8C 00363DEC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80366E90 00363DF0 7D 89 03 A6 */ mtctr r12 +/* 80366E94 00363DF4 4E 80 04 21 */ bctrl +lbl_80366E98: +/* 80366E98 00363DF8 3B 9C 00 01 */ addi r28, r28, 1 +/* 80366E9C 00363DFC 3B BD 00 04 */ addi r29, r29, 4 +/* 80366EA0 00363E00 2C 1C 00 32 */ cmpwi r28, 0x32 +/* 80366EA4 00363E04 41 80 FF C8 */ blt lbl_80366E6C +/* 80366EA8 00363E08 34 1E 00 D8 */ addic. r0, r30, 0xd8 +/* 80366EAC 00363E0C 41 82 00 24 */ beq lbl_80366ED0 +/* 80366EB0 00363E10 88 1E 00 E0 */ lbz r0, 0xe0(r30) +/* 80366EB4 00363E14 28 00 00 00 */ cmplwi r0, 0 +/* 80366EB8 00363E18 41 82 00 10 */ beq lbl_80366EC8 +/* 80366EBC 00363E1C 38 7E 00 D8 */ addi r3, r30, 0xd8 +/* 80366EC0 00363E20 38 80 FF FF */ li r4, -1 +/* 80366EC4 00363E24 4B FD 9F 7D */ bl __dt__6CTokenFv +lbl_80366EC8: +/* 80366EC8 00363E28 38 00 00 00 */ li r0, 0 +/* 80366ECC 00363E2C 98 1E 00 E0 */ stb r0, 0xe0(r30) +lbl_80366ED0: +/* 80366ED0 00363E30 34 1E 00 C0 */ addic. r0, r30, 0xc0 +/* 80366ED4 00363E34 41 82 00 30 */ beq lbl_80366F04 +/* 80366ED8 00363E38 88 1E 00 CC */ lbz r0, 0xcc(r30) +/* 80366EDC 00363E3C 28 00 00 00 */ cmplwi r0, 0 +/* 80366EE0 00363E40 41 82 00 1C */ beq lbl_80366EFC +/* 80366EE4 00363E44 34 7E 00 C0 */ addic. r3, r30, 0xc0 +/* 80366EE8 00363E48 41 82 00 14 */ beq lbl_80366EFC +/* 80366EEC 00363E4C 28 03 00 00 */ cmplwi r3, 0 +/* 80366EF0 00363E50 41 82 00 0C */ beq lbl_80366EFC +/* 80366EF4 00363E54 38 80 00 00 */ li r4, 0 +/* 80366EF8 00363E58 4B FD 9F 49 */ bl __dt__6CTokenFv +lbl_80366EFC: +/* 80366EFC 00363E5C 38 00 00 00 */ li r0, 0 +/* 80366F00 00363E60 98 1E 00 CC */ stb r0, 0xcc(r30) +lbl_80366F04: +/* 80366F04 00363E64 38 7E 00 BC */ addi r3, r30, 0xbc +/* 80366F08 00363E68 38 80 FF FF */ li r4, -1 +/* 80366F0C 00363E6C 48 00 01 09 */ bl "__dt__Q24rstl38single_ptr<24CSpawnSystemKeyframeData>Fv" +/* 80366F10 00363E70 34 1E 00 A4 */ addic. r0, r30, 0xa4 +/* 80366F14 00363E74 41 82 00 30 */ beq lbl_80366F44 +/* 80366F18 00363E78 88 1E 00 B0 */ lbz r0, 0xb0(r30) +/* 80366F1C 00363E7C 28 00 00 00 */ cmplwi r0, 0 +/* 80366F20 00363E80 41 82 00 1C */ beq lbl_80366F3C +/* 80366F24 00363E84 34 7E 00 A4 */ addic. r3, r30, 0xa4 +/* 80366F28 00363E88 41 82 00 14 */ beq lbl_80366F3C +/* 80366F2C 00363E8C 28 03 00 00 */ cmplwi r3, 0 +/* 80366F30 00363E90 41 82 00 0C */ beq lbl_80366F3C +/* 80366F34 00363E94 38 80 00 00 */ li r4, 0 +/* 80366F38 00363E98 4B FD 9F 09 */ bl __dt__6CTokenFv +lbl_80366F3C: +/* 80366F3C 00363E9C 38 00 00 00 */ li r0, 0 +/* 80366F40 00363EA0 98 1E 00 B0 */ stb r0, 0xb0(r30) +lbl_80366F44: +/* 80366F44 00363EA4 34 1E 00 90 */ addic. r0, r30, 0x90 +/* 80366F48 00363EA8 41 82 00 30 */ beq lbl_80366F78 +/* 80366F4C 00363EAC 88 1E 00 9C */ lbz r0, 0x9c(r30) +/* 80366F50 00363EB0 28 00 00 00 */ cmplwi r0, 0 +/* 80366F54 00363EB4 41 82 00 1C */ beq lbl_80366F70 +/* 80366F58 00363EB8 34 7E 00 90 */ addic. r3, r30, 0x90 +/* 80366F5C 00363EBC 41 82 00 14 */ beq lbl_80366F70 +/* 80366F60 00363EC0 28 03 00 00 */ cmplwi r3, 0 +/* 80366F64 00363EC4 41 82 00 0C */ beq lbl_80366F70 +/* 80366F68 00363EC8 38 80 00 00 */ li r4, 0 +/* 80366F6C 00363ECC 4B FD 9E D5 */ bl __dt__6CTokenFv +lbl_80366F70: +/* 80366F70 00363ED0 38 00 00 00 */ li r0, 0 +/* 80366F74 00363ED4 98 1E 00 9C */ stb r0, 0x9c(r30) +lbl_80366F78: +/* 80366F78 00363ED8 34 1E 00 78 */ addic. r0, r30, 0x78 +/* 80366F7C 00363EDC 41 82 00 30 */ beq lbl_80366FAC +/* 80366F80 00363EE0 88 1E 00 84 */ lbz r0, 0x84(r30) +/* 80366F84 00363EE4 28 00 00 00 */ cmplwi r0, 0 +/* 80366F88 00363EE8 41 82 00 1C */ beq lbl_80366FA4 +/* 80366F8C 00363EEC 34 7E 00 78 */ addic. r3, r30, 0x78 +/* 80366F90 00363EF0 41 82 00 14 */ beq lbl_80366FA4 +/* 80366F94 00363EF4 28 03 00 00 */ cmplwi r3, 0 +/* 80366F98 00363EF8 41 82 00 0C */ beq lbl_80366FA4 +/* 80366F9C 00363EFC 38 80 00 00 */ li r4, 0 +/* 80366FA0 00363F00 4B FD 9E A1 */ bl __dt__6CTokenFv +lbl_80366FA4: +/* 80366FA4 00363F04 38 00 00 00 */ li r0, 0 +/* 80366FA8 00363F08 98 1E 00 84 */ stb r0, 0x84(r30) +lbl_80366FAC: +/* 80366FAC 00363F0C 34 1E 00 48 */ addic. r0, r30, 0x48 +/* 80366FB0 00363F10 41 82 00 30 */ beq lbl_80366FE0 +/* 80366FB4 00363F14 88 1E 00 54 */ lbz r0, 0x54(r30) +/* 80366FB8 00363F18 28 00 00 00 */ cmplwi r0, 0 +/* 80366FBC 00363F1C 41 82 00 1C */ beq lbl_80366FD8 +/* 80366FC0 00363F20 34 7E 00 48 */ addic. r3, r30, 0x48 +/* 80366FC4 00363F24 41 82 00 14 */ beq lbl_80366FD8 +/* 80366FC8 00363F28 28 03 00 00 */ cmplwi r3, 0 +/* 80366FCC 00363F2C 41 82 00 0C */ beq lbl_80366FD8 +/* 80366FD0 00363F30 38 80 00 00 */ li r4, 0 +/* 80366FD4 00363F34 4B FD 9E 6D */ bl __dt__6CTokenFv +lbl_80366FD8: +/* 80366FD8 00363F38 38 00 00 00 */ li r0, 0 +/* 80366FDC 00363F3C 98 1E 00 54 */ stb r0, 0x54(r30) +lbl_80366FE0: +/* 80366FE0 00363F40 7F E0 07 35 */ extsh. r0, r31 +/* 80366FE4 00363F44 40 81 00 0C */ ble lbl_80366FF0 +/* 80366FE8 00363F48 7F C3 F3 78 */ mr r3, r30 +/* 80366FEC 00363F4C 4B FA E9 45 */ bl Free__7CMemoryFPCv +lbl_80366FF0: +/* 80366FF0 00363F50 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80366FF4 00363F54 7F C3 F3 78 */ mr r3, r30 +/* 80366FF8 00363F58 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80366FFC 00363F5C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80367000 00363F60 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80367004 00363F64 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80367008 00363F68 7C 08 03 A6 */ mtlr r0 +/* 8036700C 00363F6C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80367010 00363F70 4E 80 00 20 */ blr + +.global "__dt__Q24rstl38single_ptr<24CSpawnSystemKeyframeData>Fv" +"__dt__Q24rstl38single_ptr<24CSpawnSystemKeyframeData>Fv": +/* 80367014 00363F74 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80367018 00363F78 7C 08 02 A6 */ mflr r0 +/* 8036701C 00363F7C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80367020 00363F80 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80367024 00363F84 7C 9F 23 78 */ mr r31, r4 +/* 80367028 00363F88 93 C1 00 08 */ stw r30, 8(r1) +/* 8036702C 00363F8C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80367030 00363F90 41 82 00 20 */ beq lbl_80367050 +/* 80367034 00363F94 80 7E 00 00 */ lwz r3, 0(r30) +/* 80367038 00363F98 38 80 00 01 */ li r4, 1 +/* 8036703C 00363F9C 4B FC 2A 51 */ bl sub_80329a8c +/* 80367040 00363FA0 7F E0 07 35 */ extsh. r0, r31 +/* 80367044 00363FA4 40 81 00 0C */ ble lbl_80367050 +/* 80367048 00363FA8 7F C3 F3 78 */ mr r3, r30 +/* 8036704C 00363FAC 4B FA E8 E5 */ bl Free__7CMemoryFPCv +lbl_80367050: +/* 80367050 00363FB0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80367054 00363FB4 7F C3 F3 78 */ mr r3, r30 +/* 80367058 00363FB8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8036705C 00363FBC 83 C1 00 08 */ lwz r30, 8(r1) +/* 80367060 00363FC0 7C 08 03 A6 */ mtlr r0 +/* 80367064 00363FC4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80367068 00363FC8 4E 80 00 20 */ blr + +.global __ct__15CGenDescriptionFv +__ct__15CGenDescriptionFv: +/* 8036706C 00363FCC 38 A0 00 00 */ li r5, 0 +/* 80367070 00363FD0 38 80 00 01 */ li r4, 1 +/* 80367074 00363FD4 90 A3 00 00 */ stw r5, 0(r3) +/* 80367078 00363FD8 90 A3 00 04 */ stw r5, 4(r3) +/* 8036707C 00363FDC 90 A3 00 08 */ stw r5, 8(r3) +/* 80367080 00363FE0 90 A3 00 0C */ stw r5, 0xc(r3) +/* 80367084 00363FE4 90 A3 00 10 */ stw r5, 0x10(r3) +/* 80367088 00363FE8 90 A3 00 14 */ stw r5, 0x14(r3) +/* 8036708C 00363FEC 90 A3 00 18 */ stw r5, 0x18(r3) +/* 80367090 00363FF0 90 A3 00 1C */ stw r5, 0x1c(r3) +/* 80367094 00363FF4 90 A3 00 20 */ stw r5, 0x20(r3) +/* 80367098 00363FF8 90 A3 00 24 */ stw r5, 0x24(r3) +/* 8036709C 00363FFC 90 A3 00 28 */ stw r5, 0x28(r3) +/* 803670A0 00364000 90 A3 00 2C */ stw r5, 0x2c(r3) +/* 803670A4 00364004 88 03 00 30 */ lbz r0, 0x30(r3) +/* 803670A8 00364008 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 803670AC 0036400C 98 03 00 30 */ stb r0, 0x30(r3) +/* 803670B0 00364010 88 03 00 30 */ lbz r0, 0x30(r3) +/* 803670B4 00364014 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 +/* 803670B8 00364018 98 03 00 30 */ stb r0, 0x30(r3) +/* 803670BC 0036401C 88 03 00 30 */ lbz r0, 0x30(r3) +/* 803670C0 00364020 50 A0 2E B4 */ rlwimi r0, r5, 5, 0x1a, 0x1a +/* 803670C4 00364024 98 03 00 30 */ stb r0, 0x30(r3) +/* 803670C8 00364028 88 03 00 30 */ lbz r0, 0x30(r3) +/* 803670CC 0036402C 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b +/* 803670D0 00364030 98 03 00 30 */ stb r0, 0x30(r3) +/* 803670D4 00364034 88 03 00 30 */ lbz r0, 0x30(r3) +/* 803670D8 00364038 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c +/* 803670DC 0036403C 98 03 00 30 */ stb r0, 0x30(r3) +/* 803670E0 00364040 88 03 00 30 */ lbz r0, 0x30(r3) +/* 803670E4 00364044 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d +/* 803670E8 00364048 98 03 00 30 */ stb r0, 0x30(r3) +/* 803670EC 0036404C 88 03 00 30 */ lbz r0, 0x30(r3) +/* 803670F0 00364050 50 A0 0F BC */ rlwimi r0, r5, 1, 0x1e, 0x1e +/* 803670F4 00364054 98 03 00 30 */ stb r0, 0x30(r3) +/* 803670F8 00364058 88 03 00 30 */ lbz r0, 0x30(r3) +/* 803670FC 0036405C 50 A0 07 FE */ rlwimi r0, r5, 0, 0x1f, 0x1f +/* 80367100 00364060 98 03 00 30 */ stb r0, 0x30(r3) +/* 80367104 00364064 88 03 00 31 */ lbz r0, 0x31(r3) +/* 80367108 00364068 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 8036710C 0036406C 98 03 00 31 */ stb r0, 0x31(r3) +/* 80367110 00364070 88 03 00 31 */ lbz r0, 0x31(r3) +/* 80367114 00364074 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 +/* 80367118 00364078 98 03 00 31 */ stb r0, 0x31(r3) +/* 8036711C 0036407C 88 03 00 31 */ lbz r0, 0x31(r3) +/* 80367120 00364080 50 A0 2E B4 */ rlwimi r0, r5, 5, 0x1a, 0x1a +/* 80367124 00364084 98 03 00 31 */ stb r0, 0x31(r3) +/* 80367128 00364088 88 03 00 31 */ lbz r0, 0x31(r3) +/* 8036712C 0036408C 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b +/* 80367130 00364090 98 03 00 31 */ stb r0, 0x31(r3) +/* 80367134 00364094 88 03 00 31 */ lbz r0, 0x31(r3) +/* 80367138 00364098 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c +/* 8036713C 0036409C 98 03 00 31 */ stb r0, 0x31(r3) +/* 80367140 003640A0 88 03 00 31 */ lbz r0, 0x31(r3) +/* 80367144 003640A4 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d +/* 80367148 003640A8 98 03 00 31 */ stb r0, 0x31(r3) +/* 8036714C 003640AC 88 03 00 31 */ lbz r0, 0x31(r3) +/* 80367150 003640B0 50 A0 0F BC */ rlwimi r0, r5, 1, 0x1e, 0x1e +/* 80367154 003640B4 98 03 00 31 */ stb r0, 0x31(r3) +/* 80367158 003640B8 88 03 00 31 */ lbz r0, 0x31(r3) +/* 8036715C 003640BC 50 A0 07 FE */ rlwimi r0, r5, 0, 0x1f, 0x1f +/* 80367160 003640C0 98 03 00 31 */ stb r0, 0x31(r3) +/* 80367164 003640C4 88 03 00 32 */ lbz r0, 0x32(r3) +/* 80367168 003640C8 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 8036716C 003640CC 98 03 00 32 */ stb r0, 0x32(r3) +/* 80367170 003640D0 88 03 00 32 */ lbz r0, 0x32(r3) +/* 80367174 003640D4 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 +/* 80367178 003640D8 98 03 00 32 */ stb r0, 0x32(r3) +/* 8036717C 003640DC 90 A3 00 34 */ stw r5, 0x34(r3) +/* 80367180 003640E0 90 A3 00 38 */ stw r5, 0x38(r3) +/* 80367184 003640E4 90 A3 00 3C */ stw r5, 0x3c(r3) +/* 80367188 003640E8 90 A3 00 40 */ stw r5, 0x40(r3) +/* 8036718C 003640EC 90 A3 00 44 */ stw r5, 0x44(r3) +/* 80367190 003640F0 98 A3 00 54 */ stb r5, 0x54(r3) +/* 80367194 003640F4 90 A3 00 58 */ stw r5, 0x58(r3) +/* 80367198 003640F8 90 A3 00 5C */ stw r5, 0x5c(r3) +/* 8036719C 003640FC 90 A3 00 60 */ stw r5, 0x60(r3) +/* 803671A0 00364100 90 A3 00 64 */ stw r5, 0x64(r3) +/* 803671A4 00364104 90 A3 00 68 */ stw r5, 0x68(r3) +/* 803671A8 00364108 90 A3 00 6C */ stw r5, 0x6c(r3) +/* 803671AC 0036410C 90 A3 00 70 */ stw r5, 0x70(r3) +/* 803671B0 00364110 90 A3 00 74 */ stw r5, 0x74(r3) +/* 803671B4 00364114 98 A3 00 84 */ stb r5, 0x84(r3) +/* 803671B8 00364118 90 A3 00 88 */ stw r5, 0x88(r3) +/* 803671BC 0036411C 90 A3 00 8C */ stw r5, 0x8c(r3) +/* 803671C0 00364120 98 A3 00 9C */ stb r5, 0x9c(r3) +/* 803671C4 00364124 90 A3 00 A0 */ stw r5, 0xa0(r3) +/* 803671C8 00364128 98 A3 00 B0 */ stb r5, 0xb0(r3) +/* 803671CC 0036412C 90 A3 00 B4 */ stw r5, 0xb4(r3) +/* 803671D0 00364130 90 A3 00 B8 */ stw r5, 0xb8(r3) +/* 803671D4 00364134 90 A3 00 BC */ stw r5, 0xbc(r3) +/* 803671D8 00364138 98 A3 00 CC */ stb r5, 0xcc(r3) +/* 803671DC 0036413C 90 A3 00 D0 */ stw r5, 0xd0(r3) +/* 803671E0 00364140 90 A3 00 D4 */ stw r5, 0xd4(r3) +/* 803671E4 00364144 98 A3 00 E0 */ stb r5, 0xe0(r3) +/* 803671E8 00364148 90 A3 00 E4 */ stw r5, 0xe4(r3) +/* 803671EC 0036414C 90 A3 00 E8 */ stw r5, 0xe8(r3) +/* 803671F0 00364150 90 A3 00 EC */ stw r5, 0xec(r3) +/* 803671F4 00364154 90 A3 00 F0 */ stw r5, 0xf0(r3) +/* 803671F8 00364158 90 A3 00 F4 */ stw r5, 0xf4(r3) +/* 803671FC 0036415C 90 A3 00 F8 */ stw r5, 0xf8(r3) +/* 80367200 00364160 90 A3 00 FC */ stw r5, 0xfc(r3) +/* 80367204 00364164 90 A3 01 00 */ stw r5, 0x100(r3) +/* 80367208 00364168 90 A3 01 04 */ stw r5, 0x104(r3) +/* 8036720C 0036416C 90 A3 01 08 */ stw r5, 0x108(r3) +/* 80367210 00364170 90 A3 01 0C */ stw r5, 0x10c(r3) +/* 80367214 00364174 90 A3 01 10 */ stw r5, 0x110(r3) +/* 80367218 00364178 90 A3 01 14 */ stw r5, 0x114(r3) +/* 8036721C 0036417C 90 A3 01 18 */ stw r5, 0x118(r3) +/* 80367220 00364180 90 A3 01 1C */ stw r5, 0x11c(r3) +/* 80367224 00364184 90 A3 01 20 */ stw r5, 0x120(r3) +/* 80367228 00364188 90 A3 01 24 */ stw r5, 0x124(r3) +/* 8036722C 0036418C 90 A3 01 28 */ stw r5, 0x128(r3) +/* 80367230 00364190 4E 80 00 20 */ blr + +.global element_from_desc__FP15CGenDescriptioni +element_from_desc__FP15CGenDescriptioni: +/* 80367234 00364194 7C 63 22 14 */ add r3, r3, r4 +/* 80367238 00364198 4E 80 00 20 */ blr diff --git a/asm/Kyoto/Particles/CParticleData.s b/asm/Kyoto/Particles/CParticleData.s new file mode 100644 index 00000000..c707035e --- /dev/null +++ b/asm/Kyoto/Particles/CParticleData.s @@ -0,0 +1,64 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __ct__13CParticleDataFR12CInputStream +__ct__13CParticleDataFR12CInputStream: +/* 80357404 00354364 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80357408 00354368 7C 08 02 A6 */ mflr r0 +/* 8035740C 0035436C 90 01 00 34 */ stw r0, 0x34(r1) +/* 80357410 00354370 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80357414 00354374 7C 9F 23 78 */ mr r31, r4 +/* 80357418 00354378 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8035741C 0035437C 7C 7E 1B 78 */ mr r30, r3 +/* 80357420 00354380 7F E3 FB 78 */ mr r3, r31 +/* 80357424 00354384 4B FE 78 61 */ bl ReadLong__12CInputStreamFv +/* 80357428 00354388 90 7E 00 00 */ stw r3, 0(r30) +/* 8035742C 0035438C 7F E3 FB 78 */ mr r3, r31 +/* 80357430 00354390 4B FE 78 55 */ bl ReadLong__12CInputStreamFv +/* 80357434 00354394 90 7E 00 04 */ stw r3, 4(r30) +/* 80357438 00354398 7F E3 FB 78 */ mr r3, r31 +/* 8035743C 0035439C 4B FE 78 49 */ bl ReadLong__12CInputStreamFv +/* 80357440 003543A0 90 7E 00 08 */ stw r3, 8(r30) +/* 80357444 003543A4 7F E4 FB 78 */ mr r4, r31 +/* 80357448 003543A8 38 61 00 0C */ addi r3, r1, 0xc +/* 8035744C 003543AC 38 A1 00 08 */ addi r5, r1, 8 +/* 80357450 003543B0 88 0D AA 90 */ lbz r0, lbl_805A9650@sda21(r13) +/* 80357454 003543B4 98 01 00 08 */ stb r0, 8(r1) +/* 80357458 003543B8 48 00 00 4D */ bl "Get,Q24rstl17rmemory_allocator>>__12CInputStreamFRC82TType,Q24rstl17rmemory_allocator>>" +/* 8035745C 003543BC 38 7E 00 0C */ addi r3, r30, 0xc +/* 80357460 003543C0 38 81 00 0C */ addi r4, r1, 0xc +/* 80357464 003543C4 4B FE 6C FD */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80357468 003543C8 38 61 00 0C */ addi r3, r1, 0xc +/* 8035746C 003543CC 4B FE 66 75 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80357470 003543D0 7F E3 FB 78 */ mr r3, r31 +/* 80357474 003543D4 4B FE 77 B5 */ bl ReadFloat__12CInputStreamFv +/* 80357478 003543D8 D0 3E 00 1C */ stfs f1, 0x1c(r30) +/* 8035747C 003543DC 7F E3 FB 78 */ mr r3, r31 +/* 80357480 003543E0 4B FE 78 05 */ bl ReadLong__12CInputStreamFv +/* 80357484 003543E4 90 7E 00 20 */ stw r3, 0x20(r30) +/* 80357488 003543E8 7F C3 F3 78 */ mr r3, r30 +/* 8035748C 003543EC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80357490 003543F0 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80357494 003543F4 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80357498 003543F8 7C 08 03 A6 */ mtlr r0 +/* 8035749C 003543FC 38 21 00 30 */ addi r1, r1, 0x30 +/* 803574A0 00354400 4E 80 00 20 */ blr + +.global "Get,Q24rstl17rmemory_allocator>>__12CInputStreamFRC82TType,Q24rstl17rmemory_allocator>>" +"Get,Q24rstl17rmemory_allocator>>__12CInputStreamFRC82TType,Q24rstl17rmemory_allocator>>": +/* 803574A4 00354404 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803574A8 00354408 7C 08 02 A6 */ mflr r0 +/* 803574AC 0035440C 7C 85 23 78 */ mr r5, r4 +/* 803574B0 00354410 90 01 00 24 */ stw r0, 0x24(r1) +/* 803574B4 00354414 38 81 00 08 */ addi r4, r1, 8 +/* 803574B8 00354418 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 803574BC 0035441C 7C 7F 1B 78 */ mr r31, r3 +/* 803574C0 00354420 88 0D AA 94 */ lbz r0, lbl_805A9654@sda21(r13) +/* 803574C4 00354424 98 01 00 08 */ stb r0, 8(r1) +/* 803574C8 00354428 4B D0 20 31 */ bl sub_800594f8 +/* 803574CC 0035442C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803574D0 00354430 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803574D4 00354434 7C 08 03 A6 */ mtlr r0 +/* 803574D8 00354438 38 21 00 20 */ addi r1, r1, 0x20 +/* 803574DC 0035443C 4E 80 00 20 */ blr diff --git a/asm/Kyoto/Particles/CParticleElectric.s b/asm/Kyoto/Particles/CParticleElectric.s new file mode 100644 index 00000000..8a67d9bb --- /dev/null +++ b/asm/Kyoto/Particles/CParticleElectric.s @@ -0,0 +1,5112 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global GetTranslation__17CParticleElectricCFv +GetTranslation__17CParticleElectricCFv: +/* 8035E8D8 0035B838 38 63 00 38 */ addi r3, r3, 0x38 +/* 8035E8DC 0035B83C 4E 80 00 20 */ blr + +.global GetOrientation__17CParticleElectricCFv +GetOrientation__17CParticleElectricCFv: +/* 8035E8E0 0035B840 38 63 00 44 */ addi r3, r3, 0x44 +/* 8035E8E4 0035B844 4E 80 00 20 */ blr + +.global GetGlobalTranslation__17CParticleElectricCFv +GetGlobalTranslation__17CParticleElectricCFv: +/* 8035E8E8 0035B848 38 63 00 A4 */ addi r3, r3, 0xa4 +/* 8035E8EC 0035B84C 4E 80 00 20 */ blr + +.global GetGlobalOrientation__17CParticleElectricCFv +GetGlobalOrientation__17CParticleElectricCFv: +/* 8035E8F0 0035B850 38 63 00 B0 */ addi r3, r3, 0xb0 +/* 8035E8F4 0035B854 4E 80 00 20 */ blr + +.global DestroyParticles__17CParticleElectricFv +DestroyParticles__17CParticleElectricFv: +/* 8035E8F8 0035B858 4E 80 00 20 */ blr + +.global Get4CharId__17CParticleElectricFv +Get4CharId__17CParticleElectricFv: +/* 8035E8FC 0035B85C 3C 60 45 4C */ lis r3, 0x454C5343@ha +/* 8035E900 0035B860 38 63 53 43 */ addi r3, r3, 0x454C5343@l +/* 8035E904 0035B864 4E 80 00 20 */ blr + +.global SetParticleEmission__17CParticleElectricFb +SetParticleEmission__17CParticleElectricFb: +/* 8035E908 0035B868 88 03 04 50 */ lbz r0, 0x450(r3) +/* 8035E90C 0035B86C 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 8035E910 0035B870 98 03 04 50 */ stb r0, 0x450(r3) +/* 8035E914 0035B874 4E 80 00 20 */ blr + +.global GetLight__17CParticleElectricFv +GetLight__17CParticleElectricFv: +/* 8035E918 0035B878 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8035E91C 0035B87C 7C 08 02 A6 */ mflr r0 +/* 8035E920 0035B880 90 01 00 24 */ stw r0, 0x24(r1) +/* 8035E924 0035B884 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8035E928 0035B888 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8035E92C 0035B88C 7C 9E 23 78 */ mr r30, r4 +/* 8035E930 0035B890 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8035E934 0035B894 7C 7D 1B 78 */ mr r29, r3 +/* 8035E938 0035B898 88 84 04 50 */ lbz r4, 0x450(r4) +/* 8035E93C 0035B89C 54 80 D7 FF */ rlwinm. r0, r4, 0x1a, 0x1f, 0x1f +/* 8035E940 0035B8A0 41 82 00 20 */ beq lbl_8035E960 +/* 8035E944 0035B8A4 80 9E 04 0C */ lwz r4, 0x40c(r30) +/* 8035E948 0035B8A8 80 84 00 04 */ lwz r4, 4(r4) +/* 8035E94C 0035B8AC 81 84 00 00 */ lwz r12, 0(r4) +/* 8035E950 0035B8B0 81 8C 00 68 */ lwz r12, 0x68(r12) +/* 8035E954 0035B8B4 7D 89 03 A6 */ mtctr r12 +/* 8035E958 0035B8B8 4E 80 04 21 */ bctrl +/* 8035E95C 0035B8BC 48 00 00 54 */ b lbl_8035E9B0 +lbl_8035E960: +/* 8035E960 0035B8C0 54 80 DF FF */ rlwinm. r0, r4, 0x1b, 0x1f, 0x1f +/* 8035E964 0035B8C4 41 82 00 20 */ beq lbl_8035E984 +/* 8035E968 0035B8C8 80 9E 04 1C */ lwz r4, 0x41c(r30) +/* 8035E96C 0035B8CC 80 84 00 04 */ lwz r4, 4(r4) +/* 8035E970 0035B8D0 81 84 00 00 */ lwz r12, 0(r4) +/* 8035E974 0035B8D4 81 8C 00 68 */ lwz r12, 0x68(r12) +/* 8035E978 0035B8D8 7D 89 03 A6 */ mtctr r12 +/* 8035E97C 0035B8DC 4E 80 04 21 */ bctrl +/* 8035E980 0035B8E0 48 00 00 30 */ b lbl_8035E9B0 +lbl_8035E984: +/* 8035E984 0035B8E4 4B FE B6 01 */ bl Orange__6CColorFv +/* 8035E988 0035B8E8 7C 7F 1B 78 */ mr r31, r3 +/* 8035E98C 0035B8EC 7F C3 F3 78 */ mr r3, r30 +/* 8035E990 0035B8F0 81 9E 00 00 */ lwz r12, 0(r30) +/* 8035E994 0035B8F4 81 8C 00 44 */ lwz r12, 0x44(r12) +/* 8035E998 0035B8F8 7D 89 03 A6 */ mtctr r12 +/* 8035E99C 0035B8FC 4E 80 04 21 */ bctrl +/* 8035E9A0 0035B900 7C 64 1B 78 */ mr r4, r3 +/* 8035E9A4 0035B904 7F A3 EB 78 */ mr r3, r29 +/* 8035E9A8 0035B908 7F E5 FB 78 */ mr r5, r31 +/* 8035E9AC 0035B90C 4B FA 7A F9 */ bl BuildLocalAmbient__6CLightFRC9CVector3fRC6CColor +lbl_8035E9B0: +/* 8035E9B0 0035B910 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8035E9B4 0035B914 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8035E9B8 0035B918 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8035E9BC 0035B91C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8035E9C0 0035B920 7C 08 03 A6 */ mtlr r0 +/* 8035E9C4 0035B924 38 21 00 20 */ addi r1, r1, 0x20 +/* 8035E9C8 0035B928 4E 80 00 20 */ blr + +.global SystemHasLight__17CParticleElectricFv +SystemHasLight__17CParticleElectricFv: +/* 8035E9CC 0035B92C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8035E9D0 0035B930 7C 08 02 A6 */ mflr r0 +/* 8035E9D4 0035B934 90 01 00 14 */ stw r0, 0x14(r1) +/* 8035E9D8 0035B938 88 83 04 50 */ lbz r4, 0x450(r3) +/* 8035E9DC 0035B93C 54 80 D7 FF */ rlwinm. r0, r4, 0x1a, 0x1f, 0x1f +/* 8035E9E0 0035B940 41 82 00 20 */ beq lbl_8035EA00 +/* 8035E9E4 0035B944 80 63 04 0C */ lwz r3, 0x40c(r3) +/* 8035E9E8 0035B948 80 63 00 04 */ lwz r3, 4(r3) +/* 8035E9EC 0035B94C 81 83 00 00 */ lwz r12, 0(r3) +/* 8035E9F0 0035B950 81 8C 00 64 */ lwz r12, 0x64(r12) +/* 8035E9F4 0035B954 7D 89 03 A6 */ mtctr r12 +/* 8035E9F8 0035B958 4E 80 04 21 */ bctrl +/* 8035E9FC 0035B95C 48 00 00 2C */ b lbl_8035EA28 +lbl_8035EA00: +/* 8035EA00 0035B960 54 80 DF FF */ rlwinm. r0, r4, 0x1b, 0x1f, 0x1f +/* 8035EA04 0035B964 41 82 00 20 */ beq lbl_8035EA24 +/* 8035EA08 0035B968 80 63 04 1C */ lwz r3, 0x41c(r3) +/* 8035EA0C 0035B96C 80 63 00 04 */ lwz r3, 4(r3) +/* 8035EA10 0035B970 81 83 00 00 */ lwz r12, 0(r3) +/* 8035EA14 0035B974 81 8C 00 64 */ lwz r12, 0x64(r12) +/* 8035EA18 0035B978 7D 89 03 A6 */ mtctr r12 +/* 8035EA1C 0035B97C 4E 80 04 21 */ bctrl +/* 8035EA20 0035B980 48 00 00 08 */ b lbl_8035EA28 +lbl_8035EA24: +/* 8035EA24 0035B984 38 60 00 00 */ li r3, 0 +lbl_8035EA28: +/* 8035EA28 0035B988 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8035EA2C 0035B98C 7C 08 03 A6 */ mtlr r0 +/* 8035EA30 0035B990 38 21 00 10 */ addi r1, r1, 0x10 +/* 8035EA34 0035B994 4E 80 00 20 */ blr + +.global UpdateCachedTransform__17CParticleElectricFv +UpdateCachedTransform__17CParticleElectricFv: +/* 8035EA38 0035B998 94 21 FF 00 */ stwu r1, -0x100(r1) +/* 8035EA3C 0035B99C 7C 08 02 A6 */ mflr r0 +/* 8035EA40 0035B9A0 90 01 01 04 */ stw r0, 0x104(r1) +/* 8035EA44 0035B9A4 93 E1 00 FC */ stw r31, 0xfc(r1) +/* 8035EA48 0035B9A8 7C 7F 1B 78 */ mr r31, r3 +/* 8035EA4C 0035B9AC 38 61 00 08 */ addi r3, r1, 8 +/* 8035EA50 0035B9B0 38 9F 00 38 */ addi r4, r31, 0x38 +/* 8035EA54 0035B9B4 4B FB 46 ED */ bl Translate__12CTransform4fFRC9CVector3f +/* 8035EA58 0035B9B8 38 61 00 38 */ addi r3, r1, 0x38 +/* 8035EA5C 0035B9BC 38 9F 00 A4 */ addi r4, r31, 0xa4 +/* 8035EA60 0035B9C0 4B FB 46 E1 */ bl Translate__12CTransform4fFRC9CVector3f +/* 8035EA64 0035B9C4 38 61 00 68 */ addi r3, r1, 0x68 +/* 8035EA68 0035B9C8 38 81 00 38 */ addi r4, r1, 0x38 +/* 8035EA6C 0035B9CC 38 BF 00 B0 */ addi r5, r31, 0xb0 +/* 8035EA70 0035B9D0 4B FB 3E E1 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8035EA74 0035B9D4 38 61 00 98 */ addi r3, r1, 0x98 +/* 8035EA78 0035B9D8 38 81 00 68 */ addi r4, r1, 0x68 +/* 8035EA7C 0035B9DC 38 A1 00 08 */ addi r5, r1, 8 +/* 8035EA80 0035B9E0 4B FB 3E D1 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8035EA84 0035B9E4 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 8035EA88 0035B9E8 38 81 00 98 */ addi r4, r1, 0x98 +/* 8035EA8C 0035B9EC 38 BF 00 44 */ addi r5, r31, 0x44 +/* 8035EA90 0035B9F0 4B FB 3E C1 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8035EA94 0035B9F4 38 7F 00 F8 */ addi r3, r31, 0xf8 +/* 8035EA98 0035B9F8 38 81 00 C8 */ addi r4, r1, 0xc8 +/* 8035EA9C 0035B9FC 4B FB 40 A5 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8035EAA0 0035BA00 88 1F 04 50 */ lbz r0, 0x450(r31) +/* 8035EAA4 0035BA04 38 60 00 00 */ li r3, 0 +/* 8035EAA8 0035BA08 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 8035EAAC 0035BA0C 98 1F 04 50 */ stb r0, 0x450(r31) +/* 8035EAB0 0035BA10 83 E1 00 FC */ lwz r31, 0xfc(r1) +/* 8035EAB4 0035BA14 80 01 01 04 */ lwz r0, 0x104(r1) +/* 8035EAB8 0035BA18 7C 08 03 A6 */ mtlr r0 +/* 8035EABC 0035BA1C 38 21 01 00 */ addi r1, r1, 0x100 +/* 8035EAC0 0035BA20 4E 80 00 20 */ blr + +.global SetLocalScale__17CParticleElectricFRC9CVector3f +SetLocalScale__17CParticleElectricFRC9CVector3f: +/* 8035EAC4 0035BA24 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8035EAC8 0035BA28 7C 08 02 A6 */ mflr r0 +/* 8035EACC 0035BA2C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8035EAD0 0035BA30 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8035EAD4 0035BA34 7C 7F 1B 78 */ mr r31, r3 +/* 8035EAD8 0035BA38 38 60 00 01 */ li r3, 1 +/* 8035EADC 0035BA3C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8035EAE0 0035BA40 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8035EAE4 0035BA44 C0 04 00 00 */ lfs f0, 0(r4) +/* 8035EAE8 0035BA48 D0 1F 00 EC */ stfs f0, 0xec(r31) +/* 8035EAEC 0035BA4C C0 04 00 04 */ lfs f0, 4(r4) +/* 8035EAF0 0035BA50 D0 1F 00 F0 */ stfs f0, 0xf0(r31) +/* 8035EAF4 0035BA54 C0 04 00 08 */ lfs f0, 8(r4) +/* 8035EAF8 0035BA58 D0 1F 00 F4 */ stfs f0, 0xf4(r31) +/* 8035EAFC 0035BA5C 88 1F 04 50 */ lbz r0, 0x450(r31) +/* 8035EB00 0035BA60 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 8035EB04 0035BA64 98 1F 04 50 */ stb r0, 0x450(r31) +/* 8035EB08 0035BA68 88 1F 04 50 */ lbz r0, 0x450(r31) +/* 8035EB0C 0035BA6C 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 8035EB10 0035BA70 41 82 00 44 */ beq lbl_8035EB54 +/* 8035EB14 0035BA74 83 DF 03 EC */ lwz r30, 0x3ec(r31) +/* 8035EB18 0035BA78 3B BF 01 E4 */ addi r29, r31, 0x1e4 +/* 8035EB1C 0035BA7C 48 00 00 2C */ b lbl_8035EB48 +lbl_8035EB20: +/* 8035EB20 0035BA80 80 1E 00 08 */ lwz r0, 8(r30) +/* 8035EB24 0035BA84 38 9F 00 EC */ addi r4, r31, 0xec +/* 8035EB28 0035BA88 54 03 18 38 */ slwi r3, r0, 3 +/* 8035EB2C 0035BA8C 38 03 00 04 */ addi r0, r3, 4 +/* 8035EB30 0035BA90 7C 7D 00 2E */ lwzx r3, r29, r0 +/* 8035EB34 0035BA94 81 83 00 00 */ lwz r12, 0(r3) +/* 8035EB38 0035BA98 81 8C 00 28 */ lwz r12, 0x28(r12) +/* 8035EB3C 0035BA9C 7D 89 03 A6 */ mtctr r12 +/* 8035EB40 0035BAA0 4E 80 04 21 */ bctrl +/* 8035EB44 0035BAA4 83 DE 00 04 */ lwz r30, 4(r30) +lbl_8035EB48: +/* 8035EB48 0035BAA8 80 1F 03 F0 */ lwz r0, 0x3f0(r31) +/* 8035EB4C 0035BAAC 7C 1E 00 40 */ cmplw r30, r0 +/* 8035EB50 0035BAB0 40 82 FF D0 */ bne lbl_8035EB20 +lbl_8035EB54: +/* 8035EB54 0035BAB4 88 1F 04 50 */ lbz r0, 0x450(r31) +/* 8035EB58 0035BAB8 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8035EB5C 0035BABC 41 82 00 44 */ beq lbl_8035EBA0 +/* 8035EB60 0035BAC0 3B C0 00 00 */ li r30, 0 +/* 8035EB64 0035BAC4 3B A0 00 00 */ li r29, 0 +/* 8035EB68 0035BAC8 48 00 00 2C */ b lbl_8035EB94 +lbl_8035EB6C: +/* 8035EB6C 0035BACC 80 7F 04 0C */ lwz r3, 0x40c(r31) +/* 8035EB70 0035BAD0 38 1D 00 04 */ addi r0, r29, 4 +/* 8035EB74 0035BAD4 38 9F 00 EC */ addi r4, r31, 0xec +/* 8035EB78 0035BAD8 7C 63 00 2E */ lwzx r3, r3, r0 +/* 8035EB7C 0035BADC 81 83 00 00 */ lwz r12, 0(r3) +/* 8035EB80 0035BAE0 81 8C 00 28 */ lwz r12, 0x28(r12) +/* 8035EB84 0035BAE4 7D 89 03 A6 */ mtctr r12 +/* 8035EB88 0035BAE8 4E 80 04 21 */ bctrl +/* 8035EB8C 0035BAEC 3B BD 00 08 */ addi r29, r29, 8 +/* 8035EB90 0035BAF0 3B DE 00 01 */ addi r30, r30, 1 +lbl_8035EB94: +/* 8035EB94 0035BAF4 80 1F 01 54 */ lwz r0, 0x154(r31) +/* 8035EB98 0035BAF8 7C 1E 00 00 */ cmpw r30, r0 +/* 8035EB9C 0035BAFC 41 80 FF D0 */ blt lbl_8035EB6C +lbl_8035EBA0: +/* 8035EBA0 0035BB00 88 1F 04 50 */ lbz r0, 0x450(r31) +/* 8035EBA4 0035BB04 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 8035EBA8 0035BB08 41 82 00 44 */ beq lbl_8035EBEC +/* 8035EBAC 0035BB0C 3B C0 00 00 */ li r30, 0 +/* 8035EBB0 0035BB10 3B A0 00 00 */ li r29, 0 +/* 8035EBB4 0035BB14 48 00 00 2C */ b lbl_8035EBE0 +lbl_8035EBB8: +/* 8035EBB8 0035BB18 80 7F 04 1C */ lwz r3, 0x41c(r31) +/* 8035EBBC 0035BB1C 38 1D 00 04 */ addi r0, r29, 4 +/* 8035EBC0 0035BB20 38 9F 00 EC */ addi r4, r31, 0xec +/* 8035EBC4 0035BB24 7C 63 00 2E */ lwzx r3, r3, r0 +/* 8035EBC8 0035BB28 81 83 00 00 */ lwz r12, 0(r3) +/* 8035EBCC 0035BB2C 81 8C 00 28 */ lwz r12, 0x28(r12) +/* 8035EBD0 0035BB30 7D 89 03 A6 */ mtctr r12 +/* 8035EBD4 0035BB34 4E 80 04 21 */ bctrl +/* 8035EBD8 0035BB38 3B BD 00 08 */ addi r29, r29, 8 +/* 8035EBDC 0035BB3C 3B DE 00 01 */ addi r30, r30, 1 +lbl_8035EBE0: +/* 8035EBE0 0035BB40 80 1F 01 54 */ lwz r0, 0x154(r31) +/* 8035EBE4 0035BB44 7C 1E 00 00 */ cmpw r30, r0 +/* 8035EBE8 0035BB48 41 80 FF D0 */ blt lbl_8035EBB8 +lbl_8035EBEC: +/* 8035EBEC 0035BB4C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8035EBF0 0035BB50 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8035EBF4 0035BB54 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8035EBF8 0035BB58 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8035EBFC 0035BB5C 7C 08 03 A6 */ mtlr r0 +/* 8035EC00 0035BB60 38 21 00 20 */ addi r1, r1, 0x20 +/* 8035EC04 0035BB64 4E 80 00 20 */ blr + +.global SetGlobalScale__17CParticleElectricFRC9CVector3f +SetGlobalScale__17CParticleElectricFRC9CVector3f: +/* 8035EC08 0035BB68 C0 04 00 00 */ lfs f0, 0(r4) +/* 8035EC0C 0035BB6C 38 A0 00 01 */ li r5, 1 +/* 8035EC10 0035BB70 D0 03 00 E0 */ stfs f0, 0xe0(r3) +/* 8035EC14 0035BB74 C0 04 00 04 */ lfs f0, 4(r4) +/* 8035EC18 0035BB78 D0 03 00 E4 */ stfs f0, 0xe4(r3) +/* 8035EC1C 0035BB7C C0 04 00 08 */ lfs f0, 8(r4) +/* 8035EC20 0035BB80 D0 03 00 E8 */ stfs f0, 0xe8(r3) +/* 8035EC24 0035BB84 88 03 04 50 */ lbz r0, 0x450(r3) +/* 8035EC28 0035BB88 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d +/* 8035EC2C 0035BB8C 98 03 04 50 */ stb r0, 0x450(r3) +/* 8035EC30 0035BB90 4E 80 00 20 */ blr + +.global SetGlobalOrientation__17CParticleElectricFRC12CTransform4f +SetGlobalOrientation__17CParticleElectricFRC12CTransform4f: +/* 8035EC34 0035BB94 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 8035EC38 0035BB98 7C 08 02 A6 */ mflr r0 +/* 8035EC3C 0035BB9C 90 01 00 54 */ stw r0, 0x54(r1) +/* 8035EC40 0035BBA0 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 8035EC44 0035BBA4 7C 7F 1B 78 */ mr r31, r3 +/* 8035EC48 0035BBA8 38 61 00 08 */ addi r3, r1, 8 +/* 8035EC4C 0035BBAC 93 C1 00 48 */ stw r30, 0x48(r1) +/* 8035EC50 0035BBB0 93 A1 00 44 */ stw r29, 0x44(r1) +/* 8035EC54 0035BBB4 4B FB 3F ED */ bl GetRotation__12CTransform4fCFv +/* 8035EC58 0035BBB8 38 7F 00 B0 */ addi r3, r31, 0xb0 +/* 8035EC5C 0035BBBC 38 81 00 08 */ addi r4, r1, 8 +/* 8035EC60 0035BBC0 4B FB 3E E1 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8035EC64 0035BBC4 88 1F 04 50 */ lbz r0, 0x450(r31) +/* 8035EC68 0035BBC8 38 60 00 01 */ li r3, 1 +/* 8035EC6C 0035BBCC 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 8035EC70 0035BBD0 98 1F 04 50 */ stb r0, 0x450(r31) +/* 8035EC74 0035BBD4 88 1F 04 50 */ lbz r0, 0x450(r31) +/* 8035EC78 0035BBD8 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 8035EC7C 0035BBDC 41 82 00 44 */ beq lbl_8035ECC0 +/* 8035EC80 0035BBE0 83 DF 03 EC */ lwz r30, 0x3ec(r31) +/* 8035EC84 0035BBE4 3B BF 01 E4 */ addi r29, r31, 0x1e4 +/* 8035EC88 0035BBE8 48 00 00 2C */ b lbl_8035ECB4 +lbl_8035EC8C: +/* 8035EC8C 0035BBEC 80 1E 00 08 */ lwz r0, 8(r30) +/* 8035EC90 0035BBF0 38 9F 00 B0 */ addi r4, r31, 0xb0 +/* 8035EC94 0035BBF4 54 03 18 38 */ slwi r3, r0, 3 +/* 8035EC98 0035BBF8 38 03 00 04 */ addi r0, r3, 4 +/* 8035EC9C 0035BBFC 7C 7D 00 2E */ lwzx r3, r29, r0 +/* 8035ECA0 0035BC00 81 83 00 00 */ lwz r12, 0(r3) +/* 8035ECA4 0035BC04 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 8035ECA8 0035BC08 7D 89 03 A6 */ mtctr r12 +/* 8035ECAC 0035BC0C 4E 80 04 21 */ bctrl +/* 8035ECB0 0035BC10 83 DE 00 04 */ lwz r30, 4(r30) +lbl_8035ECB4: +/* 8035ECB4 0035BC14 80 1F 03 F0 */ lwz r0, 0x3f0(r31) +/* 8035ECB8 0035BC18 7C 1E 00 40 */ cmplw r30, r0 +/* 8035ECBC 0035BC1C 40 82 FF D0 */ bne lbl_8035EC8C +lbl_8035ECC0: +/* 8035ECC0 0035BC20 88 1F 04 50 */ lbz r0, 0x450(r31) +/* 8035ECC4 0035BC24 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8035ECC8 0035BC28 41 82 00 44 */ beq lbl_8035ED0C +/* 8035ECCC 0035BC2C 3B C0 00 00 */ li r30, 0 +/* 8035ECD0 0035BC30 3B A0 00 00 */ li r29, 0 +/* 8035ECD4 0035BC34 48 00 00 2C */ b lbl_8035ED00 +lbl_8035ECD8: +/* 8035ECD8 0035BC38 80 7F 04 0C */ lwz r3, 0x40c(r31) +/* 8035ECDC 0035BC3C 38 1D 00 04 */ addi r0, r29, 4 +/* 8035ECE0 0035BC40 38 9F 00 B0 */ addi r4, r31, 0xb0 +/* 8035ECE4 0035BC44 7C 63 00 2E */ lwzx r3, r3, r0 +/* 8035ECE8 0035BC48 81 83 00 00 */ lwz r12, 0(r3) +/* 8035ECEC 0035BC4C 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 8035ECF0 0035BC50 7D 89 03 A6 */ mtctr r12 +/* 8035ECF4 0035BC54 4E 80 04 21 */ bctrl +/* 8035ECF8 0035BC58 3B BD 00 08 */ addi r29, r29, 8 +/* 8035ECFC 0035BC5C 3B DE 00 01 */ addi r30, r30, 1 +lbl_8035ED00: +/* 8035ED00 0035BC60 80 1F 01 54 */ lwz r0, 0x154(r31) +/* 8035ED04 0035BC64 7C 1E 00 00 */ cmpw r30, r0 +/* 8035ED08 0035BC68 41 80 FF D0 */ blt lbl_8035ECD8 +lbl_8035ED0C: +/* 8035ED0C 0035BC6C 88 1F 04 50 */ lbz r0, 0x450(r31) +/* 8035ED10 0035BC70 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 8035ED14 0035BC74 41 82 00 44 */ beq lbl_8035ED58 +/* 8035ED18 0035BC78 3B C0 00 00 */ li r30, 0 +/* 8035ED1C 0035BC7C 3B A0 00 00 */ li r29, 0 +/* 8035ED20 0035BC80 48 00 00 2C */ b lbl_8035ED4C +lbl_8035ED24: +/* 8035ED24 0035BC84 80 7F 04 1C */ lwz r3, 0x41c(r31) +/* 8035ED28 0035BC88 38 1D 00 04 */ addi r0, r29, 4 +/* 8035ED2C 0035BC8C 38 9F 00 B0 */ addi r4, r31, 0xb0 +/* 8035ED30 0035BC90 7C 63 00 2E */ lwzx r3, r3, r0 +/* 8035ED34 0035BC94 81 83 00 00 */ lwz r12, 0(r3) +/* 8035ED38 0035BC98 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 8035ED3C 0035BC9C 7D 89 03 A6 */ mtctr r12 +/* 8035ED40 0035BCA0 4E 80 04 21 */ bctrl +/* 8035ED44 0035BCA4 3B BD 00 08 */ addi r29, r29, 8 +/* 8035ED48 0035BCA8 3B DE 00 01 */ addi r30, r30, 1 +lbl_8035ED4C: +/* 8035ED4C 0035BCAC 80 1F 01 54 */ lwz r0, 0x154(r31) +/* 8035ED50 0035BCB0 7C 1E 00 00 */ cmpw r30, r0 +/* 8035ED54 0035BCB4 41 80 FF D0 */ blt lbl_8035ED24 +lbl_8035ED58: +/* 8035ED58 0035BCB8 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8035ED5C 0035BCBC 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 8035ED60 0035BCC0 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 8035ED64 0035BCC4 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 8035ED68 0035BCC8 7C 08 03 A6 */ mtlr r0 +/* 8035ED6C 0035BCCC 38 21 00 50 */ addi r1, r1, 0x50 +/* 8035ED70 0035BCD0 4E 80 00 20 */ blr + +.global SetGlobalTranslation__17CParticleElectricFRC9CVector3f +SetGlobalTranslation__17CParticleElectricFRC9CVector3f: +/* 8035ED74 0035BCD4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8035ED78 0035BCD8 7C 08 02 A6 */ mflr r0 +/* 8035ED7C 0035BCDC 90 01 00 24 */ stw r0, 0x24(r1) +/* 8035ED80 0035BCE0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8035ED84 0035BCE4 7C 7F 1B 78 */ mr r31, r3 +/* 8035ED88 0035BCE8 38 60 00 01 */ li r3, 1 +/* 8035ED8C 0035BCEC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8035ED90 0035BCF0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8035ED94 0035BCF4 C0 04 00 00 */ lfs f0, 0(r4) +/* 8035ED98 0035BCF8 D0 1F 00 A4 */ stfs f0, 0xa4(r31) +/* 8035ED9C 0035BCFC C0 04 00 04 */ lfs f0, 4(r4) +/* 8035EDA0 0035BD00 D0 1F 00 A8 */ stfs f0, 0xa8(r31) +/* 8035EDA4 0035BD04 C0 04 00 08 */ lfs f0, 8(r4) +/* 8035EDA8 0035BD08 D0 1F 00 AC */ stfs f0, 0xac(r31) +/* 8035EDAC 0035BD0C 88 1F 04 50 */ lbz r0, 0x450(r31) +/* 8035EDB0 0035BD10 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 8035EDB4 0035BD14 98 1F 04 50 */ stb r0, 0x450(r31) +/* 8035EDB8 0035BD18 88 1F 04 50 */ lbz r0, 0x450(r31) +/* 8035EDBC 0035BD1C 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 8035EDC0 0035BD20 41 82 00 44 */ beq lbl_8035EE04 +/* 8035EDC4 0035BD24 83 DF 03 EC */ lwz r30, 0x3ec(r31) +/* 8035EDC8 0035BD28 3B BF 01 E4 */ addi r29, r31, 0x1e4 +/* 8035EDCC 0035BD2C 48 00 00 2C */ b lbl_8035EDF8 +lbl_8035EDD0: +/* 8035EDD0 0035BD30 80 1E 00 08 */ lwz r0, 8(r30) +/* 8035EDD4 0035BD34 38 9F 00 A4 */ addi r4, r31, 0xa4 +/* 8035EDD8 0035BD38 54 03 18 38 */ slwi r3, r0, 3 +/* 8035EDDC 0035BD3C 38 03 00 04 */ addi r0, r3, 4 +/* 8035EDE0 0035BD40 7C 7D 00 2E */ lwzx r3, r29, r0 +/* 8035EDE4 0035BD44 81 83 00 00 */ lwz r12, 0(r3) +/* 8035EDE8 0035BD48 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 8035EDEC 0035BD4C 7D 89 03 A6 */ mtctr r12 +/* 8035EDF0 0035BD50 4E 80 04 21 */ bctrl +/* 8035EDF4 0035BD54 83 DE 00 04 */ lwz r30, 4(r30) +lbl_8035EDF8: +/* 8035EDF8 0035BD58 80 1F 03 F0 */ lwz r0, 0x3f0(r31) +/* 8035EDFC 0035BD5C 7C 1E 00 40 */ cmplw r30, r0 +/* 8035EE00 0035BD60 40 82 FF D0 */ bne lbl_8035EDD0 +lbl_8035EE04: +/* 8035EE04 0035BD64 88 1F 04 50 */ lbz r0, 0x450(r31) +/* 8035EE08 0035BD68 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8035EE0C 0035BD6C 41 82 00 44 */ beq lbl_8035EE50 +/* 8035EE10 0035BD70 3B C0 00 00 */ li r30, 0 +/* 8035EE14 0035BD74 3B A0 00 00 */ li r29, 0 +/* 8035EE18 0035BD78 48 00 00 2C */ b lbl_8035EE44 +lbl_8035EE1C: +/* 8035EE1C 0035BD7C 80 7F 04 0C */ lwz r3, 0x40c(r31) +/* 8035EE20 0035BD80 38 1D 00 04 */ addi r0, r29, 4 +/* 8035EE24 0035BD84 38 9F 00 A4 */ addi r4, r31, 0xa4 +/* 8035EE28 0035BD88 7C 63 00 2E */ lwzx r3, r3, r0 +/* 8035EE2C 0035BD8C 81 83 00 00 */ lwz r12, 0(r3) +/* 8035EE30 0035BD90 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 8035EE34 0035BD94 7D 89 03 A6 */ mtctr r12 +/* 8035EE38 0035BD98 4E 80 04 21 */ bctrl +/* 8035EE3C 0035BD9C 3B BD 00 08 */ addi r29, r29, 8 +/* 8035EE40 0035BDA0 3B DE 00 01 */ addi r30, r30, 1 +lbl_8035EE44: +/* 8035EE44 0035BDA4 80 1F 01 54 */ lwz r0, 0x154(r31) +/* 8035EE48 0035BDA8 7C 1E 00 00 */ cmpw r30, r0 +/* 8035EE4C 0035BDAC 41 80 FF D0 */ blt lbl_8035EE1C +lbl_8035EE50: +/* 8035EE50 0035BDB0 88 1F 04 50 */ lbz r0, 0x450(r31) +/* 8035EE54 0035BDB4 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 8035EE58 0035BDB8 41 82 00 44 */ beq lbl_8035EE9C +/* 8035EE5C 0035BDBC 3B C0 00 00 */ li r30, 0 +/* 8035EE60 0035BDC0 3B A0 00 00 */ li r29, 0 +/* 8035EE64 0035BDC4 48 00 00 2C */ b lbl_8035EE90 +lbl_8035EE68: +/* 8035EE68 0035BDC8 80 7F 04 1C */ lwz r3, 0x41c(r31) +/* 8035EE6C 0035BDCC 38 1D 00 04 */ addi r0, r29, 4 +/* 8035EE70 0035BDD0 38 9F 00 A4 */ addi r4, r31, 0xa4 +/* 8035EE74 0035BDD4 7C 63 00 2E */ lwzx r3, r3, r0 +/* 8035EE78 0035BDD8 81 83 00 00 */ lwz r12, 0(r3) +/* 8035EE7C 0035BDDC 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 8035EE80 0035BDE0 7D 89 03 A6 */ mtctr r12 +/* 8035EE84 0035BDE4 4E 80 04 21 */ bctrl +/* 8035EE88 0035BDE8 3B BD 00 08 */ addi r29, r29, 8 +/* 8035EE8C 0035BDEC 3B DE 00 01 */ addi r30, r30, 1 +lbl_8035EE90: +/* 8035EE90 0035BDF0 80 1F 01 54 */ lwz r0, 0x154(r31) +/* 8035EE94 0035BDF4 7C 1E 00 00 */ cmpw r30, r0 +/* 8035EE98 0035BDF8 41 80 FF D0 */ blt lbl_8035EE68 +lbl_8035EE9C: +/* 8035EE9C 0035BDFC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8035EEA0 0035BE00 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8035EEA4 0035BE04 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8035EEA8 0035BE08 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8035EEAC 0035BE0C 7C 08 03 A6 */ mtlr r0 +/* 8035EEB0 0035BE10 38 21 00 20 */ addi r1, r1, 0x20 +/* 8035EEB4 0035BE14 4E 80 00 20 */ blr + +.global SetOrientation__17CParticleElectricFRC12CTransform4f +SetOrientation__17CParticleElectricFRC12CTransform4f: +/* 8035EEB8 0035BE18 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8035EEBC 0035BE1C 7C 08 02 A6 */ mflr r0 +/* 8035EEC0 0035BE20 90 01 00 44 */ stw r0, 0x44(r1) +/* 8035EEC4 0035BE24 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 8035EEC8 0035BE28 7C 7F 1B 78 */ mr r31, r3 +/* 8035EECC 0035BE2C 38 7F 00 44 */ addi r3, r31, 0x44 +/* 8035EED0 0035BE30 4B FB 3C 71 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8035EED4 0035BE34 38 61 00 08 */ addi r3, r1, 8 +/* 8035EED8 0035BE38 38 9F 00 44 */ addi r4, r31, 0x44 +/* 8035EEDC 0035BE3C 4B FB 3D C1 */ bl GetQuickInverse__12CTransform4fCFv +/* 8035EEE0 0035BE40 38 7F 00 74 */ addi r3, r31, 0x74 +/* 8035EEE4 0035BE44 38 81 00 08 */ addi r4, r1, 8 +/* 8035EEE8 0035BE48 4B FB 3C 59 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8035EEEC 0035BE4C 88 1F 04 50 */ lbz r0, 0x450(r31) +/* 8035EEF0 0035BE50 38 60 00 01 */ li r3, 1 +/* 8035EEF4 0035BE54 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 8035EEF8 0035BE58 98 1F 04 50 */ stb r0, 0x450(r31) +/* 8035EEFC 0035BE5C 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 8035EF00 0035BE60 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8035EF04 0035BE64 7C 08 03 A6 */ mtlr r0 +/* 8035EF08 0035BE68 38 21 00 40 */ addi r1, r1, 0x40 +/* 8035EF0C 0035BE6C 4E 80 00 20 */ blr + +.global SetTranslation__17CParticleElectricFRC9CVector3f +SetTranslation__17CParticleElectricFRC9CVector3f: +/* 8035EF10 0035BE70 C0 04 00 00 */ lfs f0, 0(r4) +/* 8035EF14 0035BE74 38 A0 00 01 */ li r5, 1 +/* 8035EF18 0035BE78 D0 03 00 38 */ stfs f0, 0x38(r3) +/* 8035EF1C 0035BE7C C0 04 00 04 */ lfs f0, 4(r4) +/* 8035EF20 0035BE80 D0 03 00 3C */ stfs f0, 0x3c(r3) +/* 8035EF24 0035BE84 C0 04 00 08 */ lfs f0, 8(r4) +/* 8035EF28 0035BE88 D0 03 00 40 */ stfs f0, 0x40(r3) +/* 8035EF2C 0035BE8C 88 03 04 50 */ lbz r0, 0x450(r3) +/* 8035EF30 0035BE90 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d +/* 8035EF34 0035BE94 98 03 04 50 */ stb r0, 0x450(r3) +/* 8035EF38 0035BE98 4E 80 00 20 */ blr + +.global ForceParticleCreation__17CParticleElectricFi +ForceParticleCreation__17CParticleElectricFi: +/* 8035EF3C 0035BE9C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8035EF40 0035BEA0 7C 08 02 A6 */ mflr r0 +/* 8035EF44 0035BEA4 90 01 00 24 */ stw r0, 0x24(r1) +/* 8035EF48 0035BEA8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8035EF4C 0035BEAC 7C 9F 23 78 */ mr r31, r4 +/* 8035EF50 0035BEB0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8035EF54 0035BEB4 7C 7E 1B 78 */ mr r30, r3 +/* 8035EF58 0035BEB8 38 61 00 08 */ addi r3, r1, 8 +/* 8035EF5C 0035BEBC 38 9E 01 4C */ addi r4, r30, 0x14c +/* 8035EF60 0035BEC0 4B FB 37 21 */ bl __ct__13CGlobalRandomFR9CRandom16 +/* 8035EF64 0035BEC4 7F C3 F3 78 */ mr r3, r30 +/* 8035EF68 0035BEC8 7F E4 FB 78 */ mr r4, r31 +/* 8035EF6C 0035BECC 48 00 0A 5D */ bl CreateNewParticles__17CParticleElectricFi +/* 8035EF70 0035BED0 38 61 00 08 */ addi r3, r1, 8 +/* 8035EF74 0035BED4 38 80 FF FF */ li r4, -1 +/* 8035EF78 0035BED8 4B FB 36 8D */ bl __dt__13CGlobalRandomFv +/* 8035EF7C 0035BEDC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8035EF80 0035BEE0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8035EF84 0035BEE4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8035EF88 0035BEE8 7C 08 03 A6 */ mtlr r0 +/* 8035EF8C 0035BEEC 38 21 00 20 */ addi r1, r1, 0x20 +/* 8035EF90 0035BEF0 4E 80 00 20 */ blr + +.global GetParticleCount__17CParticleElectricFv +GetParticleCount__17CParticleElectricFv: +/* 8035EF94 0035BEF4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8035EF98 0035BEF8 7C 08 02 A6 */ mflr r0 +/* 8035EF9C 0035BEFC 90 01 00 24 */ stw r0, 0x24(r1) +/* 8035EFA0 0035BF00 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8035EFA4 0035BF04 3B E0 00 00 */ li r31, 0 +/* 8035EFA8 0035BF08 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8035EFAC 0035BF0C 7C 7E 1B 78 */ mr r30, r3 +/* 8035EFB0 0035BF10 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8035EFB4 0035BF14 93 81 00 10 */ stw r28, 0x10(r1) +/* 8035EFB8 0035BF18 80 03 03 FC */ lwz r0, 0x3fc(r3) +/* 8035EFBC 0035BF1C 2C 00 00 00 */ cmpwi r0, 0 +/* 8035EFC0 0035BF20 41 82 00 64 */ beq lbl_8035F024 +/* 8035EFC4 0035BF24 83 BE 03 EC */ lwz r29, 0x3ec(r30) +/* 8035EFC8 0035BF28 3B 9E 01 E4 */ addi r28, r30, 0x1e4 +/* 8035EFCC 0035BF2C 48 00 00 4C */ b lbl_8035F018 +lbl_8035EFD0: +/* 8035EFD0 0035BF30 88 1E 04 50 */ lbz r0, 0x450(r30) +/* 8035EFD4 0035BF34 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 8035EFD8 0035BF38 41 82 00 28 */ beq lbl_8035F000 +/* 8035EFDC 0035BF3C 80 1D 00 08 */ lwz r0, 8(r29) +/* 8035EFE0 0035BF40 54 03 18 38 */ slwi r3, r0, 3 +/* 8035EFE4 0035BF44 38 03 00 04 */ addi r0, r3, 4 +/* 8035EFE8 0035BF48 7C 7C 00 2E */ lwzx r3, r28, r0 +/* 8035EFEC 0035BF4C 81 83 00 00 */ lwz r12, 0(r3) +/* 8035EFF0 0035BF50 81 8C 00 60 */ lwz r12, 0x60(r12) +/* 8035EFF4 0035BF54 7D 89 03 A6 */ mtctr r12 +/* 8035EFF8 0035BF58 4E 80 04 21 */ bctrl +/* 8035EFFC 0035BF5C 7F FF 1A 14 */ add r31, r31, r3 +lbl_8035F000: +/* 8035F000 0035BF60 88 1E 04 50 */ lbz r0, 0x450(r30) +/* 8035F004 0035BF64 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 8035F008 0035BF68 41 82 00 0C */ beq lbl_8035F014 +/* 8035F00C 0035BF6C 80 1E 01 50 */ lwz r0, 0x150(r30) +/* 8035F010 0035BF70 7F FF 02 14 */ add r31, r31, r0 +lbl_8035F014: +/* 8035F014 0035BF74 83 BD 00 04 */ lwz r29, 4(r29) +lbl_8035F018: +/* 8035F018 0035BF78 80 1E 03 F0 */ lwz r0, 0x3f0(r30) +/* 8035F01C 0035BF7C 7C 1D 00 40 */ cmplw r29, r0 +/* 8035F020 0035BF80 40 82 FF B0 */ bne lbl_8035EFD0 +lbl_8035F024: +/* 8035F024 0035BF84 88 1E 04 50 */ lbz r0, 0x450(r30) +/* 8035F028 0035BF88 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8035F02C 0035BF8C 41 82 00 44 */ beq lbl_8035F070 +/* 8035F030 0035BF90 3B A0 00 00 */ li r29, 0 +/* 8035F034 0035BF94 3B 80 00 00 */ li r28, 0 +/* 8035F038 0035BF98 48 00 00 2C */ b lbl_8035F064 +lbl_8035F03C: +/* 8035F03C 0035BF9C 80 7E 04 0C */ lwz r3, 0x40c(r30) +/* 8035F040 0035BFA0 38 1C 00 04 */ addi r0, r28, 4 +/* 8035F044 0035BFA4 7C 63 00 2E */ lwzx r3, r3, r0 +/* 8035F048 0035BFA8 81 83 00 00 */ lwz r12, 0(r3) +/* 8035F04C 0035BFAC 81 8C 00 60 */ lwz r12, 0x60(r12) +/* 8035F050 0035BFB0 7D 89 03 A6 */ mtctr r12 +/* 8035F054 0035BFB4 4E 80 04 21 */ bctrl +/* 8035F058 0035BFB8 7F FF 1A 14 */ add r31, r31, r3 +/* 8035F05C 0035BFBC 3B 9C 00 08 */ addi r28, r28, 8 +/* 8035F060 0035BFC0 3B BD 00 01 */ addi r29, r29, 1 +lbl_8035F064: +/* 8035F064 0035BFC4 80 1E 01 54 */ lwz r0, 0x154(r30) +/* 8035F068 0035BFC8 7C 1D 00 00 */ cmpw r29, r0 +/* 8035F06C 0035BFCC 41 80 FF D0 */ blt lbl_8035F03C +lbl_8035F070: +/* 8035F070 0035BFD0 88 1E 04 50 */ lbz r0, 0x450(r30) +/* 8035F074 0035BFD4 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 8035F078 0035BFD8 41 82 00 44 */ beq lbl_8035F0BC +/* 8035F07C 0035BFDC 3B A0 00 00 */ li r29, 0 +/* 8035F080 0035BFE0 3B 80 00 00 */ li r28, 0 +/* 8035F084 0035BFE4 48 00 00 2C */ b lbl_8035F0B0 +lbl_8035F088: +/* 8035F088 0035BFE8 80 7E 04 1C */ lwz r3, 0x41c(r30) +/* 8035F08C 0035BFEC 38 1C 00 04 */ addi r0, r28, 4 +/* 8035F090 0035BFF0 7C 63 00 2E */ lwzx r3, r3, r0 +/* 8035F094 0035BFF4 81 83 00 00 */ lwz r12, 0(r3) +/* 8035F098 0035BFF8 81 8C 00 60 */ lwz r12, 0x60(r12) +/* 8035F09C 0035BFFC 7D 89 03 A6 */ mtctr r12 +/* 8035F0A0 0035C000 4E 80 04 21 */ bctrl +/* 8035F0A4 0035C004 7F FF 1A 14 */ add r31, r31, r3 +/* 8035F0A8 0035C008 3B 9C 00 08 */ addi r28, r28, 8 +/* 8035F0AC 0035C00C 3B BD 00 01 */ addi r29, r29, 1 +lbl_8035F0B0: +/* 8035F0B0 0035C010 80 1E 01 54 */ lwz r0, 0x154(r30) +/* 8035F0B4 0035C014 7C 1D 00 00 */ cmpw r29, r0 +/* 8035F0B8 0035C018 41 80 FF D0 */ blt lbl_8035F088 +lbl_8035F0BC: +/* 8035F0BC 0035C01C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8035F0C0 0035C020 7F E3 FB 78 */ mr r3, r31 +/* 8035F0C4 0035C024 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8035F0C8 0035C028 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8035F0CC 0035C02C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8035F0D0 0035C030 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8035F0D4 0035C034 7C 08 03 A6 */ mtlr r0 +/* 8035F0D8 0035C038 38 21 00 20 */ addi r1, r1, 0x20 +/* 8035F0DC 0035C03C 4E 80 00 20 */ blr + +.global IsSystemDeletable__17CParticleElectricFv +IsSystemDeletable__17CParticleElectricFv: +/* 8035F0E0 0035C040 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8035F0E4 0035C044 7C 08 02 A6 */ mflr r0 +/* 8035F0E8 0035C048 90 01 00 24 */ stw r0, 0x24(r1) +/* 8035F0EC 0035C04C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8035F0F0 0035C050 7C 7F 1B 78 */ mr r31, r3 +/* 8035F0F4 0035C054 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8035F0F8 0035C058 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8035F0FC 0035C05C 88 03 04 50 */ lbz r0, 0x450(r3) +/* 8035F100 0035C060 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8035F104 0035C064 41 82 00 1C */ beq lbl_8035F120 +/* 8035F108 0035C068 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8035F10C 0035C06C 80 1F 00 2C */ lwz r0, 0x2c(r31) +/* 8035F110 0035C070 7C 03 00 00 */ cmpw r3, r0 +/* 8035F114 0035C074 40 80 00 0C */ bge lbl_8035F120 +/* 8035F118 0035C078 38 60 00 00 */ li r3, 0 +/* 8035F11C 0035C07C 48 00 00 CC */ b lbl_8035F1E8 +lbl_8035F120: +/* 8035F120 0035C080 80 1F 03 FC */ lwz r0, 0x3fc(r31) +/* 8035F124 0035C084 2C 00 00 00 */ cmpwi r0, 0 +/* 8035F128 0035C088 41 82 00 0C */ beq lbl_8035F134 +/* 8035F12C 0035C08C 38 60 00 00 */ li r3, 0 +/* 8035F130 0035C090 48 00 00 B8 */ b lbl_8035F1E8 +lbl_8035F134: +/* 8035F134 0035C094 88 1F 04 50 */ lbz r0, 0x450(r31) +/* 8035F138 0035C098 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8035F13C 0035C09C 41 82 00 50 */ beq lbl_8035F18C +/* 8035F140 0035C0A0 3B A0 00 00 */ li r29, 0 +/* 8035F144 0035C0A4 3B C0 00 00 */ li r30, 0 +/* 8035F148 0035C0A8 48 00 00 38 */ b lbl_8035F180 +lbl_8035F14C: +/* 8035F14C 0035C0AC 80 7F 04 0C */ lwz r3, 0x40c(r31) +/* 8035F150 0035C0B0 38 1E 00 04 */ addi r0, r30, 4 +/* 8035F154 0035C0B4 7C 63 00 2E */ lwzx r3, r3, r0 +/* 8035F158 0035C0B8 81 83 00 00 */ lwz r12, 0(r3) +/* 8035F15C 0035C0BC 81 8C 00 58 */ lwz r12, 0x58(r12) +/* 8035F160 0035C0C0 7D 89 03 A6 */ mtctr r12 +/* 8035F164 0035C0C4 4E 80 04 21 */ bctrl +/* 8035F168 0035C0C8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8035F16C 0035C0CC 40 82 00 0C */ bne lbl_8035F178 +/* 8035F170 0035C0D0 38 60 00 00 */ li r3, 0 +/* 8035F174 0035C0D4 48 00 00 74 */ b lbl_8035F1E8 +lbl_8035F178: +/* 8035F178 0035C0D8 3B DE 00 08 */ addi r30, r30, 8 +/* 8035F17C 0035C0DC 3B BD 00 01 */ addi r29, r29, 1 +lbl_8035F180: +/* 8035F180 0035C0E0 80 1F 01 54 */ lwz r0, 0x154(r31) +/* 8035F184 0035C0E4 7C 1D 00 00 */ cmpw r29, r0 +/* 8035F188 0035C0E8 41 80 FF C4 */ blt lbl_8035F14C +lbl_8035F18C: +/* 8035F18C 0035C0EC 88 1F 04 50 */ lbz r0, 0x450(r31) +/* 8035F190 0035C0F0 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 8035F194 0035C0F4 41 82 00 50 */ beq lbl_8035F1E4 +/* 8035F198 0035C0F8 3B A0 00 00 */ li r29, 0 +/* 8035F19C 0035C0FC 3B C0 00 00 */ li r30, 0 +/* 8035F1A0 0035C100 48 00 00 38 */ b lbl_8035F1D8 +lbl_8035F1A4: +/* 8035F1A4 0035C104 80 7F 04 1C */ lwz r3, 0x41c(r31) +/* 8035F1A8 0035C108 38 1E 00 04 */ addi r0, r30, 4 +/* 8035F1AC 0035C10C 7C 63 00 2E */ lwzx r3, r3, r0 +/* 8035F1B0 0035C110 81 83 00 00 */ lwz r12, 0(r3) +/* 8035F1B4 0035C114 81 8C 00 58 */ lwz r12, 0x58(r12) +/* 8035F1B8 0035C118 7D 89 03 A6 */ mtctr r12 +/* 8035F1BC 0035C11C 4E 80 04 21 */ bctrl +/* 8035F1C0 0035C120 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8035F1C4 0035C124 40 82 00 0C */ bne lbl_8035F1D0 +/* 8035F1C8 0035C128 38 60 00 00 */ li r3, 0 +/* 8035F1CC 0035C12C 48 00 00 1C */ b lbl_8035F1E8 +lbl_8035F1D0: +/* 8035F1D0 0035C130 3B DE 00 08 */ addi r30, r30, 8 +/* 8035F1D4 0035C134 3B BD 00 01 */ addi r29, r29, 1 +lbl_8035F1D8: +/* 8035F1D8 0035C138 80 1F 01 54 */ lwz r0, 0x154(r31) +/* 8035F1DC 0035C13C 7C 1D 00 00 */ cmpw r29, r0 +/* 8035F1E0 0035C140 41 80 FF C4 */ blt lbl_8035F1A4 +lbl_8035F1E4: +/* 8035F1E4 0035C144 38 60 00 01 */ li r3, 1 +lbl_8035F1E8: +/* 8035F1E8 0035C148 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8035F1EC 0035C14C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8035F1F0 0035C150 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8035F1F4 0035C154 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8035F1F8 0035C158 7C 08 03 A6 */ mtlr r0 +/* 8035F1FC 0035C15C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8035F200 0035C160 4E 80 00 20 */ blr + +.global SetModulationColor__17CParticleElectricFRC6CColor +SetModulationColor__17CParticleElectricFRC6CColor: +/* 8035F204 0035C164 80 04 00 00 */ lwz r0, 0(r4) +/* 8035F208 0035C168 90 03 01 B8 */ stw r0, 0x1b8(r3) +/* 8035F20C 0035C16C 4E 80 00 20 */ blr + +.global GetBounds__17CParticleElectricFv +GetBounds__17CParticleElectricFv: +/* 8035F210 0035C170 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8035F214 0035C174 7C 08 02 A6 */ mflr r0 +/* 8035F218 0035C178 90 01 00 14 */ stw r0, 0x14(r1) +/* 8035F21C 0035C17C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8035F220 0035C180 7C 9F 23 78 */ mr r31, r4 +/* 8035F224 0035C184 93 C1 00 08 */ stw r30, 8(r1) +/* 8035F228 0035C188 7C 7E 1B 78 */ mr r30, r3 +/* 8035F22C 0035C18C 7F E3 FB 78 */ mr r3, r31 +/* 8035F230 0035C190 81 9F 00 00 */ lwz r12, 0(r31) +/* 8035F234 0035C194 81 8C 00 60 */ lwz r12, 0x60(r12) +/* 8035F238 0035C198 7D 89 03 A6 */ mtctr r12 +/* 8035F23C 0035C19C 4E 80 04 21 */ bctrl +/* 8035F240 0035C1A0 2C 03 00 00 */ cmpwi r3, 0 +/* 8035F244 0035C1A4 41 81 00 10 */ bgt lbl_8035F254 +/* 8035F248 0035C1A8 38 00 00 00 */ li r0, 0 +/* 8035F24C 0035C1AC 98 1E 00 18 */ stb r0, 0x18(r30) +/* 8035F250 0035C1B0 48 00 00 44 */ b lbl_8035F294 +lbl_8035F254: +/* 8035F254 0035C1B4 38 00 00 01 */ li r0, 1 +/* 8035F258 0035C1B8 28 1E 00 00 */ cmplwi r30, 0 +/* 8035F25C 0035C1BC 98 1E 00 18 */ stb r0, 0x18(r30) +/* 8035F260 0035C1C0 41 82 00 34 */ beq lbl_8035F294 +/* 8035F264 0035C1C4 C0 1F 01 60 */ lfs f0, 0x160(r31) +/* 8035F268 0035C1C8 D0 1E 00 00 */ stfs f0, 0(r30) +/* 8035F26C 0035C1CC C0 1F 01 64 */ lfs f0, 0x164(r31) +/* 8035F270 0035C1D0 D0 1E 00 04 */ stfs f0, 4(r30) +/* 8035F274 0035C1D4 C0 1F 01 68 */ lfs f0, 0x168(r31) +/* 8035F278 0035C1D8 D0 1E 00 08 */ stfs f0, 8(r30) +/* 8035F27C 0035C1DC C0 1F 01 6C */ lfs f0, 0x16c(r31) +/* 8035F280 0035C1E0 D0 1E 00 0C */ stfs f0, 0xc(r30) +/* 8035F284 0035C1E4 C0 1F 01 70 */ lfs f0, 0x170(r31) +/* 8035F288 0035C1E8 D0 1E 00 10 */ stfs f0, 0x10(r30) +/* 8035F28C 0035C1EC C0 1F 01 74 */ lfs f0, 0x174(r31) +/* 8035F290 0035C1F0 D0 1E 00 14 */ stfs f0, 0x14(r30) +lbl_8035F294: +/* 8035F294 0035C1F4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8035F298 0035C1F8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8035F29C 0035C1FC 83 C1 00 08 */ lwz r30, 8(r1) +/* 8035F2A0 0035C200 7C 08 03 A6 */ mtlr r0 +/* 8035F2A4 0035C204 38 21 00 10 */ addi r1, r1, 0x10 +/* 8035F2A8 0035C208 4E 80 00 20 */ blr + +.global BuildBounds__17CParticleElectricFv +BuildBounds__17CParticleElectricFv: +/* 8035F2AC 0035C20C 94 21 FD C0 */ stwu r1, -0x240(r1) +/* 8035F2B0 0035C210 7C 08 02 A6 */ mflr r0 +/* 8035F2B4 0035C214 90 01 02 44 */ stw r0, 0x244(r1) +/* 8035F2B8 0035C218 93 E1 02 3C */ stw r31, 0x23c(r1) +/* 8035F2BC 0035C21C 7C 7F 1B 78 */ mr r31, r3 +/* 8035F2C0 0035C220 93 C1 02 38 */ stw r30, 0x238(r1) +/* 8035F2C4 0035C224 93 A1 02 34 */ stw r29, 0x234(r1) +/* 8035F2C8 0035C228 93 81 02 30 */ stw r28, 0x230(r1) +/* 8035F2CC 0035C22C 81 83 00 00 */ lwz r12, 0(r3) +/* 8035F2D0 0035C230 81 8C 00 60 */ lwz r12, 0x60(r12) +/* 8035F2D4 0035C234 7D 89 03 A6 */ mtctr r12 +/* 8035F2D8 0035C238 4E 80 04 21 */ bctrl +/* 8035F2DC 0035C23C 2C 03 00 00 */ cmpwi r3, 0 +/* 8035F2E0 0035C240 41 81 00 40 */ bgt lbl_8035F320 +/* 8035F2E4 0035C244 3C 60 80 5A */ lis r3, lbl_805A6754@ha +/* 8035F2E8 0035C248 38 83 67 54 */ addi r4, r3, lbl_805A6754@l +/* 8035F2EC 0035C24C 80 64 00 00 */ lwz r3, 0(r4) +/* 8035F2F0 0035C250 80 04 00 04 */ lwz r0, 4(r4) +/* 8035F2F4 0035C254 90 7F 01 60 */ stw r3, 0x160(r31) +/* 8035F2F8 0035C258 90 1F 01 64 */ stw r0, 0x164(r31) +/* 8035F2FC 0035C25C 80 04 00 08 */ lwz r0, 8(r4) +/* 8035F300 0035C260 90 1F 01 68 */ stw r0, 0x168(r31) +/* 8035F304 0035C264 80 64 00 0C */ lwz r3, 0xc(r4) +/* 8035F308 0035C268 80 04 00 10 */ lwz r0, 0x10(r4) +/* 8035F30C 0035C26C 90 7F 01 6C */ stw r3, 0x16c(r31) +/* 8035F310 0035C270 90 1F 01 70 */ stw r0, 0x170(r31) +/* 8035F314 0035C274 80 04 00 14 */ lwz r0, 0x14(r4) +/* 8035F318 0035C278 90 1F 01 74 */ stw r0, 0x174(r31) +/* 8035F31C 0035C27C 48 00 03 C0 */ b lbl_8035F6DC +lbl_8035F320: +/* 8035F320 0035C280 3C 60 80 5A */ lis r3, lbl_805A6754@ha +/* 8035F324 0035C284 38 83 67 54 */ addi r4, r3, lbl_805A6754@l +/* 8035F328 0035C288 80 64 00 00 */ lwz r3, 0(r4) +/* 8035F32C 0035C28C 80 04 00 04 */ lwz r0, 4(r4) +/* 8035F330 0035C290 90 7F 01 60 */ stw r3, 0x160(r31) +/* 8035F334 0035C294 90 1F 01 64 */ stw r0, 0x164(r31) +/* 8035F338 0035C298 80 04 00 08 */ lwz r0, 8(r4) +/* 8035F33C 0035C29C 90 1F 01 68 */ stw r0, 0x168(r31) +/* 8035F340 0035C2A0 80 64 00 0C */ lwz r3, 0xc(r4) +/* 8035F344 0035C2A4 80 04 00 10 */ lwz r0, 0x10(r4) +/* 8035F348 0035C2A8 90 7F 01 6C */ stw r3, 0x16c(r31) +/* 8035F34C 0035C2AC 90 1F 01 70 */ stw r0, 0x170(r31) +/* 8035F350 0035C2B0 80 04 00 14 */ lwz r0, 0x14(r4) +/* 8035F354 0035C2B4 90 1F 01 74 */ stw r0, 0x174(r31) +/* 8035F358 0035C2B8 88 7F 04 50 */ lbz r3, 0x450(r31) +/* 8035F35C 0035C2BC 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f +/* 8035F360 0035C2C0 41 82 00 C8 */ beq lbl_8035F428 +/* 8035F364 0035C2C4 83 BF 03 EC */ lwz r29, 0x3ec(r31) +/* 8035F368 0035C2C8 3B 9F 01 E4 */ addi r28, r31, 0x1e4 +/* 8035F36C 0035C2CC 48 00 00 AC */ b lbl_8035F418 +lbl_8035F370: +/* 8035F370 0035C2D0 80 1D 00 08 */ lwz r0, 8(r29) +/* 8035F374 0035C2D4 38 61 00 58 */ addi r3, r1, 0x58 +/* 8035F378 0035C2D8 54 04 18 38 */ slwi r4, r0, 3 +/* 8035F37C 0035C2DC 38 04 00 04 */ addi r0, r4, 4 +/* 8035F380 0035C2E0 7C 9C 00 2E */ lwzx r4, r28, r0 +/* 8035F384 0035C2E4 81 84 00 00 */ lwz r12, 0(r4) +/* 8035F388 0035C2E8 81 8C 00 5C */ lwz r12, 0x5c(r12) +/* 8035F38C 0035C2EC 7D 89 03 A6 */ mtctr r12 +/* 8035F390 0035C2F0 4E 80 04 21 */ bctrl +/* 8035F394 0035C2F4 88 01 00 70 */ lbz r0, 0x70(r1) +/* 8035F398 0035C2F8 28 00 00 00 */ cmplwi r0, 0 +/* 8035F39C 0035C2FC 98 01 00 DC */ stb r0, 0xdc(r1) +/* 8035F3A0 0035C300 41 82 00 3C */ beq lbl_8035F3DC +/* 8035F3A4 0035C304 34 61 00 C4 */ addic. r3, r1, 0xc4 +/* 8035F3A8 0035C308 41 82 00 34 */ beq lbl_8035F3DC +/* 8035F3AC 0035C30C C0 01 00 58 */ lfs f0, 0x58(r1) +/* 8035F3B0 0035C310 D0 03 00 00 */ stfs f0, 0(r3) +/* 8035F3B4 0035C314 C0 01 00 5C */ lfs f0, 0x5c(r1) +/* 8035F3B8 0035C318 D0 03 00 04 */ stfs f0, 4(r3) +/* 8035F3BC 0035C31C C0 01 00 60 */ lfs f0, 0x60(r1) +/* 8035F3C0 0035C320 D0 03 00 08 */ stfs f0, 8(r3) +/* 8035F3C4 0035C324 C0 01 00 64 */ lfs f0, 0x64(r1) +/* 8035F3C8 0035C328 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 8035F3CC 0035C32C C0 01 00 68 */ lfs f0, 0x68(r1) +/* 8035F3D0 0035C330 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 8035F3D4 0035C334 C0 01 00 6C */ lfs f0, 0x6c(r1) +/* 8035F3D8 0035C338 D0 03 00 14 */ stfs f0, 0x14(r3) +lbl_8035F3DC: +/* 8035F3DC 0035C33C 88 01 00 DC */ lbz r0, 0xdc(r1) +/* 8035F3E0 0035C340 38 60 00 00 */ li r3, 0 +/* 8035F3E4 0035C344 98 61 00 70 */ stb r3, 0x70(r1) +/* 8035F3E8 0035C348 28 00 00 00 */ cmplwi r0, 0 +/* 8035F3EC 0035C34C 41 82 00 20 */ beq lbl_8035F40C +/* 8035F3F0 0035C350 3B C1 00 C4 */ addi r30, r1, 0xc4 +/* 8035F3F4 0035C354 38 7F 01 60 */ addi r3, r31, 0x160 +/* 8035F3F8 0035C358 7F C4 F3 78 */ mr r4, r30 +/* 8035F3FC 0035C35C 4B FD 87 0D */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 8035F400 0035C360 38 7F 01 60 */ addi r3, r31, 0x160 +/* 8035F404 0035C364 38 9E 00 0C */ addi r4, r30, 0xc +/* 8035F408 0035C368 4B FD 87 01 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +lbl_8035F40C: +/* 8035F40C 0035C36C 38 00 00 00 */ li r0, 0 +/* 8035F410 0035C370 98 01 00 DC */ stb r0, 0xdc(r1) +/* 8035F414 0035C374 83 BD 00 04 */ lwz r29, 4(r29) +lbl_8035F418: +/* 8035F418 0035C378 80 1F 03 F0 */ lwz r0, 0x3f0(r31) +/* 8035F41C 0035C37C 7C 1D 00 40 */ cmplw r29, r0 +/* 8035F420 0035C380 40 82 FF 50 */ bne lbl_8035F370 +/* 8035F424 0035C384 48 00 01 20 */ b lbl_8035F544 +lbl_8035F428: +/* 8035F428 0035C388 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f +/* 8035F42C 0035C38C 41 82 01 18 */ beq lbl_8035F544 +/* 8035F430 0035C390 C0 A4 00 00 */ lfs f5, 0(r4) +/* 8035F434 0035C394 3B 9F 02 E8 */ addi r28, r31, 0x2e8 +/* 8035F438 0035C398 C0 84 00 04 */ lfs f4, 4(r4) +/* 8035F43C 0035C39C C0 64 00 08 */ lfs f3, 8(r4) +/* 8035F440 0035C3A0 C0 44 00 0C */ lfs f2, 0xc(r4) +/* 8035F444 0035C3A4 C0 24 00 10 */ lfs f1, 0x10(r4) +/* 8035F448 0035C3A8 C0 04 00 14 */ lfs f0, 0x14(r4) +/* 8035F44C 0035C3AC D0 A1 00 AC */ stfs f5, 0xac(r1) +/* 8035F450 0035C3B0 D0 81 00 B0 */ stfs f4, 0xb0(r1) +/* 8035F454 0035C3B4 D0 61 00 B4 */ stfs f3, 0xb4(r1) +/* 8035F458 0035C3B8 D0 41 00 B8 */ stfs f2, 0xb8(r1) +/* 8035F45C 0035C3BC D0 21 00 BC */ stfs f1, 0xbc(r1) +/* 8035F460 0035C3C0 D0 01 00 C0 */ stfs f0, 0xc0(r1) +/* 8035F464 0035C3C4 83 BF 03 EC */ lwz r29, 0x3ec(r31) +/* 8035F468 0035C3C8 48 00 00 34 */ b lbl_8035F49C +lbl_8035F46C: +/* 8035F46C 0035C3CC 80 1D 00 08 */ lwz r0, 8(r29) +/* 8035F470 0035C3D0 38 61 00 AC */ addi r3, r1, 0xac +/* 8035F474 0035C3D4 54 04 18 38 */ slwi r4, r0, 3 +/* 8035F478 0035C3D8 38 04 00 04 */ addi r0, r4, 4 +/* 8035F47C 0035C3DC 7C 9C 00 2E */ lwzx r4, r28, r0 +/* 8035F480 0035C3E0 3B C4 00 28 */ addi r30, r4, 0x28 +/* 8035F484 0035C3E4 7F C4 F3 78 */ mr r4, r30 +/* 8035F488 0035C3E8 4B FD 86 81 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 8035F48C 0035C3EC 38 61 00 AC */ addi r3, r1, 0xac +/* 8035F490 0035C3F0 38 9E 00 0C */ addi r4, r30, 0xc +/* 8035F494 0035C3F4 4B FD 86 75 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 8035F498 0035C3F8 83 BD 00 04 */ lwz r29, 4(r29) +lbl_8035F49C: +/* 8035F49C 0035C3FC 80 1F 03 F0 */ lwz r0, 0x3f0(r31) +/* 8035F4A0 0035C400 7C 1D 00 40 */ cmplw r29, r0 +/* 8035F4A4 0035C404 40 82 FF C8 */ bne lbl_8035F46C +/* 8035F4A8 0035C408 38 61 00 AC */ addi r3, r1, 0xac +/* 8035F4AC 0035C40C 4B FD 81 D5 */ bl Invalid__6CAABoxCFv +/* 8035F4B0 0035C410 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8035F4B4 0035C414 40 82 00 90 */ bne lbl_8035F544 +/* 8035F4B8 0035C418 38 61 00 E0 */ addi r3, r1, 0xe0 +/* 8035F4BC 0035C41C 38 9F 00 E0 */ addi r4, r31, 0xe0 +/* 8035F4C0 0035C420 4B FB 3D 05 */ bl Scale__12CTransform4fFRC9CVector3f +/* 8035F4C4 0035C424 38 61 01 10 */ addi r3, r1, 0x110 +/* 8035F4C8 0035C428 38 9F 00 38 */ addi r4, r31, 0x38 +/* 8035F4CC 0035C42C 4B FB 3C 75 */ bl Translate__12CTransform4fFRC9CVector3f +/* 8035F4D0 0035C430 38 61 01 40 */ addi r3, r1, 0x140 +/* 8035F4D4 0035C434 38 9F 00 A4 */ addi r4, r31, 0xa4 +/* 8035F4D8 0035C438 4B FB 3C 69 */ bl Translate__12CTransform4fFRC9CVector3f +/* 8035F4DC 0035C43C 38 61 01 70 */ addi r3, r1, 0x170 +/* 8035F4E0 0035C440 38 81 01 40 */ addi r4, r1, 0x140 +/* 8035F4E4 0035C444 38 BF 00 B0 */ addi r5, r31, 0xb0 +/* 8035F4E8 0035C448 4B FB 34 69 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8035F4EC 0035C44C 38 61 01 A0 */ addi r3, r1, 0x1a0 +/* 8035F4F0 0035C450 38 81 01 70 */ addi r4, r1, 0x170 +/* 8035F4F4 0035C454 38 A1 01 10 */ addi r5, r1, 0x110 +/* 8035F4F8 0035C458 4B FB 34 59 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8035F4FC 0035C45C 38 61 01 D0 */ addi r3, r1, 0x1d0 +/* 8035F500 0035C460 38 81 01 A0 */ addi r4, r1, 0x1a0 +/* 8035F504 0035C464 38 BF 00 44 */ addi r5, r31, 0x44 +/* 8035F508 0035C468 4B FB 34 49 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8035F50C 0035C46C 38 61 02 00 */ addi r3, r1, 0x200 +/* 8035F510 0035C470 38 81 01 D0 */ addi r4, r1, 0x1d0 +/* 8035F514 0035C474 38 A1 00 E0 */ addi r5, r1, 0xe0 +/* 8035F518 0035C478 4B FB 34 39 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8035F51C 0035C47C 38 61 00 40 */ addi r3, r1, 0x40 +/* 8035F520 0035C480 38 81 00 AC */ addi r4, r1, 0xac +/* 8035F524 0035C484 38 A1 02 00 */ addi r5, r1, 0x200 +/* 8035F528 0035C488 4B FD 83 D5 */ bl GetTransformedAABox__6CAABoxCFRC12CTransform4f +/* 8035F52C 0035C48C 38 7F 01 60 */ addi r3, r31, 0x160 +/* 8035F530 0035C490 38 81 00 40 */ addi r4, r1, 0x40 +/* 8035F534 0035C494 4B FD 85 D5 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 8035F538 0035C498 38 7F 01 60 */ addi r3, r31, 0x160 +/* 8035F53C 0035C49C 38 81 00 4C */ addi r4, r1, 0x4c +/* 8035F540 0035C4A0 4B FD 85 C9 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +lbl_8035F544: +/* 8035F544 0035C4A4 88 1F 04 50 */ lbz r0, 0x450(r31) +/* 8035F548 0035C4A8 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8035F54C 0035C4AC 41 82 00 C4 */ beq lbl_8035F610 +/* 8035F550 0035C4B0 3B A0 00 00 */ li r29, 0 +/* 8035F554 0035C4B4 3B 80 00 00 */ li r28, 0 +/* 8035F558 0035C4B8 48 00 00 AC */ b lbl_8035F604 +lbl_8035F55C: +/* 8035F55C 0035C4BC 80 9F 04 0C */ lwz r4, 0x40c(r31) +/* 8035F560 0035C4C0 38 1C 00 04 */ addi r0, r28, 4 +/* 8035F564 0035C4C4 38 61 00 24 */ addi r3, r1, 0x24 +/* 8035F568 0035C4C8 7C 84 00 2E */ lwzx r4, r4, r0 +/* 8035F56C 0035C4CC 81 84 00 00 */ lwz r12, 0(r4) +/* 8035F570 0035C4D0 81 8C 00 5C */ lwz r12, 0x5c(r12) +/* 8035F574 0035C4D4 7D 89 03 A6 */ mtctr r12 +/* 8035F578 0035C4D8 4E 80 04 21 */ bctrl +/* 8035F57C 0035C4DC 88 01 00 3C */ lbz r0, 0x3c(r1) +/* 8035F580 0035C4E0 28 00 00 00 */ cmplwi r0, 0 +/* 8035F584 0035C4E4 98 01 00 A8 */ stb r0, 0xa8(r1) +/* 8035F588 0035C4E8 41 82 00 3C */ beq lbl_8035F5C4 +/* 8035F58C 0035C4EC 34 61 00 90 */ addic. r3, r1, 0x90 +/* 8035F590 0035C4F0 41 82 00 34 */ beq lbl_8035F5C4 +/* 8035F594 0035C4F4 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 8035F598 0035C4F8 D0 03 00 00 */ stfs f0, 0(r3) +/* 8035F59C 0035C4FC C0 01 00 28 */ lfs f0, 0x28(r1) +/* 8035F5A0 0035C500 D0 03 00 04 */ stfs f0, 4(r3) +/* 8035F5A4 0035C504 C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 8035F5A8 0035C508 D0 03 00 08 */ stfs f0, 8(r3) +/* 8035F5AC 0035C50C C0 01 00 30 */ lfs f0, 0x30(r1) +/* 8035F5B0 0035C510 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 8035F5B4 0035C514 C0 01 00 34 */ lfs f0, 0x34(r1) +/* 8035F5B8 0035C518 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 8035F5BC 0035C51C C0 01 00 38 */ lfs f0, 0x38(r1) +/* 8035F5C0 0035C520 D0 03 00 14 */ stfs f0, 0x14(r3) +lbl_8035F5C4: +/* 8035F5C4 0035C524 88 01 00 A8 */ lbz r0, 0xa8(r1) +/* 8035F5C8 0035C528 38 60 00 00 */ li r3, 0 +/* 8035F5CC 0035C52C 98 61 00 3C */ stb r3, 0x3c(r1) +/* 8035F5D0 0035C530 28 00 00 00 */ cmplwi r0, 0 +/* 8035F5D4 0035C534 41 82 00 20 */ beq lbl_8035F5F4 +/* 8035F5D8 0035C538 3B C1 00 90 */ addi r30, r1, 0x90 +/* 8035F5DC 0035C53C 38 7F 01 60 */ addi r3, r31, 0x160 +/* 8035F5E0 0035C540 7F C4 F3 78 */ mr r4, r30 +/* 8035F5E4 0035C544 4B FD 85 25 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 8035F5E8 0035C548 38 7F 01 60 */ addi r3, r31, 0x160 +/* 8035F5EC 0035C54C 38 9E 00 0C */ addi r4, r30, 0xc +/* 8035F5F0 0035C550 4B FD 85 19 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +lbl_8035F5F4: +/* 8035F5F4 0035C554 38 00 00 00 */ li r0, 0 +/* 8035F5F8 0035C558 3B BD 00 01 */ addi r29, r29, 1 +/* 8035F5FC 0035C55C 98 01 00 A8 */ stb r0, 0xa8(r1) +/* 8035F600 0035C560 3B 9C 00 08 */ addi r28, r28, 8 +lbl_8035F604: +/* 8035F604 0035C564 80 1F 01 54 */ lwz r0, 0x154(r31) +/* 8035F608 0035C568 7C 1D 00 00 */ cmpw r29, r0 +/* 8035F60C 0035C56C 41 80 FF 50 */ blt lbl_8035F55C +lbl_8035F610: +/* 8035F610 0035C570 88 1F 04 50 */ lbz r0, 0x450(r31) +/* 8035F614 0035C574 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 8035F618 0035C578 41 82 00 C4 */ beq lbl_8035F6DC +/* 8035F61C 0035C57C 3B A0 00 00 */ li r29, 0 +/* 8035F620 0035C580 3B 80 00 00 */ li r28, 0 +/* 8035F624 0035C584 48 00 00 AC */ b lbl_8035F6D0 +lbl_8035F628: +/* 8035F628 0035C588 80 9F 04 1C */ lwz r4, 0x41c(r31) +/* 8035F62C 0035C58C 38 1C 00 04 */ addi r0, r28, 4 +/* 8035F630 0035C590 38 61 00 08 */ addi r3, r1, 8 +/* 8035F634 0035C594 7C 84 00 2E */ lwzx r4, r4, r0 +/* 8035F638 0035C598 81 84 00 00 */ lwz r12, 0(r4) +/* 8035F63C 0035C59C 81 8C 00 5C */ lwz r12, 0x5c(r12) +/* 8035F640 0035C5A0 7D 89 03 A6 */ mtctr r12 +/* 8035F644 0035C5A4 4E 80 04 21 */ bctrl +/* 8035F648 0035C5A8 88 01 00 20 */ lbz r0, 0x20(r1) +/* 8035F64C 0035C5AC 28 00 00 00 */ cmplwi r0, 0 +/* 8035F650 0035C5B0 98 01 00 8C */ stb r0, 0x8c(r1) +/* 8035F654 0035C5B4 41 82 00 3C */ beq lbl_8035F690 +/* 8035F658 0035C5B8 34 61 00 74 */ addic. r3, r1, 0x74 +/* 8035F65C 0035C5BC 41 82 00 34 */ beq lbl_8035F690 +/* 8035F660 0035C5C0 C0 01 00 08 */ lfs f0, 8(r1) +/* 8035F664 0035C5C4 D0 03 00 00 */ stfs f0, 0(r3) +/* 8035F668 0035C5C8 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 8035F66C 0035C5CC D0 03 00 04 */ stfs f0, 4(r3) +/* 8035F670 0035C5D0 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 8035F674 0035C5D4 D0 03 00 08 */ stfs f0, 8(r3) +/* 8035F678 0035C5D8 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 8035F67C 0035C5DC D0 03 00 0C */ stfs f0, 0xc(r3) +/* 8035F680 0035C5E0 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 8035F684 0035C5E4 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 8035F688 0035C5E8 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 8035F68C 0035C5EC D0 03 00 14 */ stfs f0, 0x14(r3) +lbl_8035F690: +/* 8035F690 0035C5F0 88 01 00 8C */ lbz r0, 0x8c(r1) +/* 8035F694 0035C5F4 38 60 00 00 */ li r3, 0 +/* 8035F698 0035C5F8 98 61 00 20 */ stb r3, 0x20(r1) +/* 8035F69C 0035C5FC 28 00 00 00 */ cmplwi r0, 0 +/* 8035F6A0 0035C600 41 82 00 20 */ beq lbl_8035F6C0 +/* 8035F6A4 0035C604 3B C1 00 74 */ addi r30, r1, 0x74 +/* 8035F6A8 0035C608 38 7F 01 60 */ addi r3, r31, 0x160 +/* 8035F6AC 0035C60C 7F C4 F3 78 */ mr r4, r30 +/* 8035F6B0 0035C610 4B FD 84 59 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 8035F6B4 0035C614 38 7F 01 60 */ addi r3, r31, 0x160 +/* 8035F6B8 0035C618 38 9E 00 0C */ addi r4, r30, 0xc +/* 8035F6BC 0035C61C 4B FD 84 4D */ bl AccumulateBounds__6CAABoxFRC9CVector3f +lbl_8035F6C0: +/* 8035F6C0 0035C620 38 00 00 00 */ li r0, 0 +/* 8035F6C4 0035C624 3B BD 00 01 */ addi r29, r29, 1 +/* 8035F6C8 0035C628 98 01 00 8C */ stb r0, 0x8c(r1) +/* 8035F6CC 0035C62C 3B 9C 00 08 */ addi r28, r28, 8 +lbl_8035F6D0: +/* 8035F6D0 0035C630 80 1F 01 54 */ lwz r0, 0x154(r31) +/* 8035F6D4 0035C634 7C 1D 00 00 */ cmpw r29, r0 +/* 8035F6D8 0035C638 41 80 FF 50 */ blt lbl_8035F628 +lbl_8035F6DC: +/* 8035F6DC 0035C63C 80 01 02 44 */ lwz r0, 0x244(r1) +/* 8035F6E0 0035C640 83 E1 02 3C */ lwz r31, 0x23c(r1) +/* 8035F6E4 0035C644 83 C1 02 38 */ lwz r30, 0x238(r1) +/* 8035F6E8 0035C648 83 A1 02 34 */ lwz r29, 0x234(r1) +/* 8035F6EC 0035C64C 83 81 02 30 */ lwz r28, 0x230(r1) +/* 8035F6F0 0035C650 7C 08 03 A6 */ mtlr r0 +/* 8035F6F4 0035C654 38 21 02 40 */ addi r1, r1, 0x240 +/* 8035F6F8 0035C658 4E 80 00 20 */ blr + +.global UpdateLine__17CParticleElectricFii +UpdateLine__17CParticleElectricFii: +/* 8035F6FC 0035C65C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8035F700 0035C660 7C 08 02 A6 */ mflr r0 +/* 8035F704 0035C664 90 01 00 24 */ stw r0, 0x24(r1) +/* 8035F708 0035C668 54 80 18 38 */ slwi r0, r4, 3 +/* 8035F70C 0035C66C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8035F710 0035C670 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8035F714 0035C674 7C BE 2B 78 */ mr r30, r5 +/* 8035F718 0035C678 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8035F71C 0035C67C 7C 7D 1B 78 */ mr r29, r3 +/* 8035F720 0035C680 80 83 00 24 */ lwz r4, 0x24(r3) +/* 8035F724 0035C684 7C 7D 02 14 */ add r3, r29, r0 +/* 8035F728 0035C688 83 E3 02 EC */ lwz r31, 0x2ec(r3) +/* 8035F72C 0035C68C 80 64 00 34 */ lwz r3, 0x34(r4) +/* 8035F730 0035C690 28 03 00 00 */ cmplwi r3, 0 +/* 8035F734 0035C694 41 82 00 1C */ beq lbl_8035F750 +/* 8035F738 0035C698 81 83 00 00 */ lwz r12, 0(r3) +/* 8035F73C 0035C69C 7F C4 F3 78 */ mr r4, r30 +/* 8035F740 0035C6A0 38 BF 00 1C */ addi r5, r31, 0x1c +/* 8035F744 0035C6A4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8035F748 0035C6A8 7D 89 03 A6 */ mtctr r12 +/* 8035F74C 0035C6AC 4E 80 04 21 */ bctrl +lbl_8035F750: +/* 8035F750 0035C6B0 80 7D 00 24 */ lwz r3, 0x24(r29) +/* 8035F754 0035C6B4 80 63 00 38 */ lwz r3, 0x38(r3) +/* 8035F758 0035C6B8 28 03 00 00 */ cmplwi r3, 0 +/* 8035F75C 0035C6BC 41 82 00 1C */ beq lbl_8035F778 +/* 8035F760 0035C6C0 81 83 00 00 */ lwz r12, 0(r3) +/* 8035F764 0035C6C4 7F C4 F3 78 */ mr r4, r30 +/* 8035F768 0035C6C8 38 BF 00 20 */ addi r5, r31, 0x20 +/* 8035F76C 0035C6CC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8035F770 0035C6D0 7D 89 03 A6 */ mtctr r12 +/* 8035F774 0035C6D4 4E 80 04 21 */ bctrl +lbl_8035F778: +/* 8035F778 0035C6D8 80 7D 00 24 */ lwz r3, 0x24(r29) +/* 8035F77C 0035C6DC 80 63 00 3C */ lwz r3, 0x3c(r3) +/* 8035F780 0035C6E0 28 03 00 00 */ cmplwi r3, 0 +/* 8035F784 0035C6E4 41 82 00 1C */ beq lbl_8035F7A0 +/* 8035F788 0035C6E8 81 83 00 00 */ lwz r12, 0(r3) +/* 8035F78C 0035C6EC 7F C4 F3 78 */ mr r4, r30 +/* 8035F790 0035C6F0 38 BF 00 24 */ addi r5, r31, 0x24 +/* 8035F794 0035C6F4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8035F798 0035C6F8 7D 89 03 A6 */ mtctr r12 +/* 8035F79C 0035C6FC 4E 80 04 21 */ bctrl +lbl_8035F7A0: +/* 8035F7A0 0035C700 80 7D 00 24 */ lwz r3, 0x24(r29) +/* 8035F7A4 0035C704 80 63 00 28 */ lwz r3, 0x28(r3) +/* 8035F7A8 0035C708 28 03 00 00 */ cmplwi r3, 0 +/* 8035F7AC 0035C70C 41 82 00 1C */ beq lbl_8035F7C8 +/* 8035F7B0 0035C710 81 83 00 00 */ lwz r12, 0(r3) +/* 8035F7B4 0035C714 7F C4 F3 78 */ mr r4, r30 +/* 8035F7B8 0035C718 38 BF 00 10 */ addi r5, r31, 0x10 +/* 8035F7BC 0035C71C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8035F7C0 0035C720 7D 89 03 A6 */ mtctr r12 +/* 8035F7C4 0035C724 4E 80 04 21 */ bctrl +lbl_8035F7C8: +/* 8035F7C8 0035C728 80 7D 00 24 */ lwz r3, 0x24(r29) +/* 8035F7CC 0035C72C 80 63 00 2C */ lwz r3, 0x2c(r3) +/* 8035F7D0 0035C730 28 03 00 00 */ cmplwi r3, 0 +/* 8035F7D4 0035C734 41 82 00 1C */ beq lbl_8035F7F0 +/* 8035F7D8 0035C738 81 83 00 00 */ lwz r12, 0(r3) +/* 8035F7DC 0035C73C 7F C4 F3 78 */ mr r4, r30 +/* 8035F7E0 0035C740 38 BF 00 14 */ addi r5, r31, 0x14 +/* 8035F7E4 0035C744 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8035F7E8 0035C748 7D 89 03 A6 */ mtctr r12 +/* 8035F7EC 0035C74C 4E 80 04 21 */ bctrl +lbl_8035F7F0: +/* 8035F7F0 0035C750 80 7D 00 24 */ lwz r3, 0x24(r29) +/* 8035F7F4 0035C754 80 63 00 30 */ lwz r3, 0x30(r3) +/* 8035F7F8 0035C758 28 03 00 00 */ cmplwi r3, 0 +/* 8035F7FC 0035C75C 41 82 00 1C */ beq lbl_8035F818 +/* 8035F800 0035C760 81 83 00 00 */ lwz r12, 0(r3) +/* 8035F804 0035C764 7F C4 F3 78 */ mr r4, r30 +/* 8035F808 0035C768 38 BF 00 18 */ addi r5, r31, 0x18 +/* 8035F80C 0035C76C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8035F810 0035C770 7D 89 03 A6 */ mtctr r12 +/* 8035F814 0035C774 4E 80 04 21 */ bctrl +lbl_8035F818: +/* 8035F818 0035C778 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8035F81C 0035C77C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8035F820 0035C780 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8035F824 0035C784 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8035F828 0035C788 7C 08 03 A6 */ mtlr r0 +/* 8035F82C 0035C78C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8035F830 0035C790 4E 80 00 20 */ blr + +.global UpdateElectricalEffects__17CParticleElectricFv +UpdateElectricalEffects__17CParticleElectricFv: +/* 8035F834 0035C794 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8035F838 0035C798 7C 08 02 A6 */ mflr r0 +/* 8035F83C 0035C79C 90 01 00 34 */ stw r0, 0x34(r1) +/* 8035F840 0035C7A0 BF 41 00 18 */ stmw r26, 0x18(r1) +/* 8035F844 0035C7A4 7C 7B 1B 78 */ mr r27, r3 +/* 8035F848 0035C7A8 3B DB 01 C0 */ addi r30, r27, 0x1c0 +/* 8035F84C 0035C7AC 3B BB 01 E4 */ addi r29, r27, 0x1e4 +/* 8035F850 0035C7B0 83 E3 03 EC */ lwz r31, 0x3ec(r3) +/* 8035F854 0035C7B4 48 00 01 54 */ b lbl_8035F9A8 +lbl_8035F858: +/* 8035F858 0035C7B8 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 8035F85C 0035C7BC 28 00 00 01 */ cmplwi r0, 1 +/* 8035F860 0035C7C0 41 81 00 84 */ bgt lbl_8035F8E4 +/* 8035F864 0035C7C4 80 1F 00 08 */ lwz r0, 8(r31) +/* 8035F868 0035C7C8 38 60 00 00 */ li r3, 0 +/* 8035F86C 0035C7CC 7C 7E 01 AE */ stbx r3, r30, r0 +/* 8035F870 0035C7D0 80 1F 00 18 */ lwz r0, 0x18(r31) +/* 8035F874 0035C7D4 2C 00 FF FF */ cmpwi r0, -1 +/* 8035F878 0035C7D8 41 82 00 28 */ beq lbl_8035F8A0 +/* 8035F87C 0035C7DC 54 03 18 38 */ slwi r3, r0, 3 +/* 8035F880 0035C7E0 80 BB 04 0C */ lwz r5, 0x40c(r27) +/* 8035F884 0035C7E4 38 03 00 04 */ addi r0, r3, 4 +/* 8035F888 0035C7E8 38 80 00 00 */ li r4, 0 +/* 8035F88C 0035C7EC 7C 65 00 2E */ lwzx r3, r5, r0 +/* 8035F890 0035C7F0 81 83 00 00 */ lwz r12, 0(r3) +/* 8035F894 0035C7F4 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 8035F898 0035C7F8 7D 89 03 A6 */ mtctr r12 +/* 8035F89C 0035C7FC 4E 80 04 21 */ bctrl +lbl_8035F8A0: +/* 8035F8A0 0035C800 80 1F 00 1C */ lwz r0, 0x1c(r31) +/* 8035F8A4 0035C804 2C 00 FF FF */ cmpwi r0, -1 +/* 8035F8A8 0035C808 41 82 00 28 */ beq lbl_8035F8D0 +/* 8035F8AC 0035C80C 54 03 18 38 */ slwi r3, r0, 3 +/* 8035F8B0 0035C810 80 BB 04 1C */ lwz r5, 0x41c(r27) +/* 8035F8B4 0035C814 38 03 00 04 */ addi r0, r3, 4 +/* 8035F8B8 0035C818 38 80 00 00 */ li r4, 0 +/* 8035F8BC 0035C81C 7C 65 00 2E */ lwzx r3, r5, r0 +/* 8035F8C0 0035C820 81 83 00 00 */ lwz r12, 0(r3) +/* 8035F8C4 0035C824 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 8035F8C8 0035C828 7D 89 03 A6 */ mtctr r12 +/* 8035F8CC 0035C82C 4E 80 04 21 */ bctrl +lbl_8035F8D0: +/* 8035F8D0 0035C830 7F E4 FB 78 */ mr r4, r31 +/* 8035F8D4 0035C834 38 7B 03 E8 */ addi r3, r27, 0x3e8 +/* 8035F8D8 0035C838 48 00 34 65 */ bl sub_80362d3c +/* 8035F8DC 0035C83C 7C 7F 1B 78 */ mr r31, r3 +/* 8035F8E0 0035C840 48 00 00 C8 */ b lbl_8035F9A8 +lbl_8035F8E4: +/* 8035F8E4 0035C844 80 9F 00 10 */ lwz r4, 0x10(r31) +/* 8035F8E8 0035C848 80 7B 00 28 */ lwz r3, 0x28(r27) +/* 8035F8EC 0035C84C 80 1F 00 14 */ lwz r0, 0x14(r31) +/* 8035F8F0 0035C850 7F 84 18 50 */ subf r28, r4, r3 +/* 8035F8F4 0035C854 7C 64 00 50 */ subf r3, r4, r0 +/* 8035F8F8 0035C858 4B FC AE 81 */ bl SetParticleLifetime__16CParticleGlobalsFi +/* 8035F8FC 0035C85C 7F 83 E3 78 */ mr r3, r28 +/* 8035F900 0035C860 4B FC AD 7D */ bl UpdateParticleLifetimeTweenValues__16CParticleGlobalsFi +/* 8035F904 0035C864 88 1B 04 50 */ lbz r0, 0x450(r27) +/* 8035F908 0035C868 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 8035F90C 0035C86C 41 82 00 70 */ beq lbl_8035F97C +/* 8035F910 0035C870 80 1F 00 08 */ lwz r0, 8(r31) +/* 8035F914 0035C874 54 03 18 38 */ slwi r3, r0, 3 +/* 8035F918 0035C878 38 03 00 04 */ addi r0, r3, 4 +/* 8035F91C 0035C87C 7F 5D 00 2E */ lwzx r26, r29, r0 +/* 8035F920 0035C880 4B FE A6 8D */ bl White__6CColorFv +/* 8035F924 0035C884 80 03 00 00 */ lwz r0, 0(r3) +/* 8035F928 0035C888 90 01 00 0C */ stw r0, 0xc(r1) +/* 8035F92C 0035C88C 80 7B 00 24 */ lwz r3, 0x24(r27) +/* 8035F930 0035C890 80 63 00 14 */ lwz r3, 0x14(r3) +/* 8035F934 0035C894 28 03 00 00 */ cmplwi r3, 0 +/* 8035F938 0035C898 41 82 00 1C */ beq lbl_8035F954 +/* 8035F93C 0035C89C 81 83 00 00 */ lwz r12, 0(r3) +/* 8035F940 0035C8A0 7F 84 E3 78 */ mr r4, r28 +/* 8035F944 0035C8A4 38 A1 00 0C */ addi r5, r1, 0xc +/* 8035F948 0035C8A8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8035F94C 0035C8AC 7D 89 03 A6 */ mtctr r12 +/* 8035F950 0035C8B0 4E 80 04 21 */ bctrl +lbl_8035F954: +/* 8035F954 0035C8B4 38 61 00 08 */ addi r3, r1, 8 +/* 8035F958 0035C8B8 38 81 00 0C */ addi r4, r1, 0xc +/* 8035F95C 0035C8BC 38 BB 01 B8 */ addi r5, r27, 0x1b8 +/* 8035F960 0035C8C0 48 00 38 19 */ bl Modulate__6CColorFRC6CColorRC6CColor +/* 8035F964 0035C8C4 7F 43 D3 78 */ mr r3, r26 +/* 8035F968 0035C8C8 38 81 00 08 */ addi r4, r1, 8 +/* 8035F96C 0035C8CC 81 9A 00 00 */ lwz r12, 0(r26) +/* 8035F970 0035C8D0 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 8035F974 0035C8D4 7D 89 03 A6 */ mtctr r12 +/* 8035F978 0035C8D8 4E 80 04 21 */ bctrl +lbl_8035F97C: +/* 8035F97C 0035C8DC 88 1B 04 50 */ lbz r0, 0x450(r27) +/* 8035F980 0035C8E0 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 8035F984 0035C8E4 41 82 00 14 */ beq lbl_8035F998 +/* 8035F988 0035C8E8 80 9F 00 08 */ lwz r4, 8(r31) +/* 8035F98C 0035C8EC 7F 63 DB 78 */ mr r3, r27 +/* 8035F990 0035C8F0 7F 85 E3 78 */ mr r5, r28 +/* 8035F994 0035C8F4 4B FF FD 69 */ bl UpdateLine__17CParticleElectricFii +lbl_8035F998: +/* 8035F998 0035C8F8 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 8035F99C 0035C8FC 38 03 FF FF */ addi r0, r3, -1 +/* 8035F9A0 0035C900 90 1F 00 0C */ stw r0, 0xc(r31) +/* 8035F9A4 0035C904 83 FF 00 04 */ lwz r31, 4(r31) +lbl_8035F9A8: +/* 8035F9A8 0035C908 80 1B 03 F0 */ lwz r0, 0x3f0(r27) +/* 8035F9AC 0035C90C 7C 1F 00 40 */ cmplw r31, r0 +/* 8035F9B0 0035C910 40 82 FE A8 */ bne lbl_8035F858 +/* 8035F9B4 0035C914 BB 41 00 18 */ lmw r26, 0x18(r1) +/* 8035F9B8 0035C918 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8035F9BC 0035C91C 7C 08 03 A6 */ mtlr r0 +/* 8035F9C0 0035C920 38 21 00 30 */ addi r1, r1, 0x30 +/* 8035F9C4 0035C924 4E 80 00 20 */ blr + +.global CreateNewParticles__17CParticleElectricFi +CreateNewParticles__17CParticleElectricFi: +/* 8035F9C8 0035C928 94 21 FD 50 */ stwu r1, -0x2b0(r1) +/* 8035F9CC 0035C92C 7C 08 02 A6 */ mflr r0 +/* 8035F9D0 0035C930 90 01 02 B4 */ stw r0, 0x2b4(r1) +/* 8035F9D4 0035C934 BE A1 02 84 */ stmw r21, 0x284(r1) +/* 8035F9D8 0035C938 7C 76 1B 78 */ mr r22, r3 +/* 8035F9DC 0035C93C 7C 97 23 78 */ mr r23, r4 +/* 8035F9E0 0035C940 3B 40 00 00 */ li r26, 0 +/* 8035F9E4 0035C944 3B B6 01 C0 */ addi r29, r22, 0x1c0 +/* 8035F9E8 0035C948 3B 96 01 E4 */ addi r28, r22, 0x1e4 +/* 8035F9EC 0035C94C 3B 76 02 E8 */ addi r27, r22, 0x2e8 +/* 8035F9F0 0035C950 3B 20 00 00 */ li r25, 0 +/* 8035F9F4 0035C954 48 00 06 04 */ b lbl_8035FFF8 +lbl_8035F9F8: +/* 8035F9F8 0035C958 80 76 03 FC */ lwz r3, 0x3fc(r22) +/* 8035F9FC 0035C95C 80 16 01 54 */ lwz r0, 0x154(r22) +/* 8035FA00 0035C960 7C 03 00 00 */ cmpw r3, r0 +/* 8035FA04 0035C964 40 80 05 FC */ bge lbl_80360000 +/* 8035FA08 0035C968 38 61 01 B8 */ addi r3, r1, 0x1b8 +/* 8035FA0C 0035C96C 38 96 00 F8 */ addi r4, r22, 0xf8 +/* 8035FA10 0035C970 4B FB 32 31 */ bl GetRotation__12CTransform4fCFv +/* 8035FA14 0035C974 38 61 02 48 */ addi r3, r1, 0x248 +/* 8035FA18 0035C978 38 81 01 B8 */ addi r4, r1, 0x1b8 +/* 8035FA1C 0035C97C 4B FB 31 59 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8035FA20 0035C980 C0 56 01 24 */ lfs f2, 0x124(r22) +/* 8035FA24 0035C984 7F A3 EB 78 */ mr r3, r29 +/* 8035FA28 0035C988 C0 36 01 14 */ lfs f1, 0x114(r22) +/* 8035FA2C 0035C98C C0 16 01 04 */ lfs f0, 0x104(r22) +/* 8035FA30 0035C990 D0 01 00 5C */ stfs f0, 0x5c(r1) +/* 8035FA34 0035C994 D0 21 00 60 */ stfs f1, 0x60(r1) +/* 8035FA38 0035C998 D0 41 00 64 */ stfs f2, 0x64(r1) +/* 8035FA3C 0035C99C 80 96 01 BC */ lwz r4, 0x1bc(r22) +/* 8035FA40 0035C9A0 7C 1A 20 50 */ subf r0, r26, r4 +/* 8035FA44 0035C9A4 7C 09 03 A6 */ mtctr r0 +/* 8035FA48 0035C9A8 7C 1A 20 00 */ cmpw r26, r4 +/* 8035FA4C 0035C9AC 40 80 05 A8 */ bge lbl_8035FFF4 +lbl_8035FA50: +/* 8035FA50 0035C9B0 88 03 00 00 */ lbz r0, 0(r3) +/* 8035FA54 0035C9B4 28 00 00 00 */ cmplwi r0, 0 +/* 8035FA58 0035C9B8 40 82 05 84 */ bne lbl_8035FFDC +/* 8035FA5C 0035C9BC 38 00 00 01 */ li r0, 1 +/* 8035FA60 0035C9C0 98 1D 00 00 */ stb r0, 0(r29) +/* 8035FA64 0035C9C4 90 01 00 40 */ stw r0, 0x40(r1) +/* 8035FA68 0035C9C8 80 76 00 24 */ lwz r3, 0x24(r22) +/* 8035FA6C 0035C9CC 80 63 00 04 */ lwz r3, 4(r3) +/* 8035FA70 0035C9D0 28 03 00 00 */ cmplwi r3, 0 +/* 8035FA74 0035C9D4 41 82 00 1C */ beq lbl_8035FA90 +/* 8035FA78 0035C9D8 81 83 00 00 */ lwz r12, 0(r3) +/* 8035FA7C 0035C9DC 38 A1 00 40 */ addi r5, r1, 0x40 +/* 8035FA80 0035C9E0 80 96 00 28 */ lwz r4, 0x28(r22) +/* 8035FA84 0035C9E4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8035FA88 0035C9E8 7D 89 03 A6 */ mtctr r12 +/* 8035FA8C 0035C9EC 4E 80 04 21 */ bctrl +lbl_8035FA90: +/* 8035FA90 0035C9F0 80 F6 00 28 */ lwz r7, 0x28(r22) +/* 8035FA94 0035C9F4 38 00 FF FF */ li r0, -1 +/* 8035FA98 0035C9F8 80 C1 00 40 */ lwz r6, 0x40(r1) +/* 8035FA9C 0035C9FC 38 76 03 E8 */ addi r3, r22, 0x3e8 +/* 8035FAA0 0035CA00 93 41 00 80 */ stw r26, 0x80(r1) +/* 8035FAA4 0035CA04 38 81 00 80 */ addi r4, r1, 0x80 +/* 8035FAA8 0035CA08 7C A7 32 14 */ add r5, r7, r6 +/* 8035FAAC 0035CA0C 90 C1 00 84 */ stw r6, 0x84(r1) +/* 8035FAB0 0035CA10 90 E1 00 88 */ stw r7, 0x88(r1) +/* 8035FAB4 0035CA14 90 A1 00 8C */ stw r5, 0x8c(r1) +/* 8035FAB8 0035CA18 90 01 00 90 */ stw r0, 0x90(r1) +/* 8035FABC 0035CA1C 90 01 00 94 */ stw r0, 0x94(r1) +/* 8035FAC0 0035CA20 48 00 06 51 */ bl sub_80360110 +/* 8035FAC4 0035CA24 80 96 03 F0 */ lwz r4, 0x3f0(r22) +/* 8035FAC8 0035CA28 80 76 00 28 */ lwz r3, 0x28(r22) +/* 8035FACC 0035CA2C 83 E4 00 00 */ lwz r31, 0(r4) +/* 8035FAD0 0035CA30 80 9F 00 10 */ lwz r4, 0x10(r31) +/* 8035FAD4 0035CA34 80 1F 00 14 */ lwz r0, 0x14(r31) +/* 8035FAD8 0035CA38 7E A4 18 50 */ subf r21, r4, r3 +/* 8035FADC 0035CA3C 7C 64 00 50 */ subf r3, r4, r0 +/* 8035FAE0 0035CA40 4B FC AC 99 */ bl SetParticleLifetime__16CParticleGlobalsFi +/* 8035FAE4 0035CA44 7E A3 AB 78 */ mr r3, r21 +/* 8035FAE8 0035CA48 4B FC AB 95 */ bl UpdateParticleLifetimeTweenValues__16CParticleGlobalsFi +/* 8035FAEC 0035CA4C 7E C3 B3 78 */ mr r3, r22 +/* 8035FAF0 0035CA50 48 00 15 A5 */ bl CalculatePoints__17CParticleElectricFv +/* 8035FAF4 0035CA54 88 16 04 50 */ lbz r0, 0x450(r22) +/* 8035FAF8 0035CA58 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 8035FAFC 0035CA5C 41 82 01 3C */ beq lbl_8035FC38 +/* 8035FB00 0035CA60 83 1C 00 04 */ lwz r24, 4(r28) +/* 8035FB04 0035CA64 38 80 00 01 */ li r4, 1 +/* 8035FB08 0035CA68 7F 03 C3 78 */ mr r3, r24 +/* 8035FB0C 0035CA6C 81 98 00 00 */ lwz r12, 0(r24) +/* 8035FB10 0035CA70 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 8035FB14 0035CA74 7D 89 03 A6 */ mtctr r12 +/* 8035FB18 0035CA78 4E 80 04 21 */ bctrl +/* 8035FB1C 0035CA7C 7F 03 C3 78 */ mr r3, r24 +/* 8035FB20 0035CA80 38 81 00 5C */ addi r4, r1, 0x5c +/* 8035FB24 0035CA84 81 98 00 00 */ lwz r12, 0(r24) +/* 8035FB28 0035CA88 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 8035FB2C 0035CA8C 7D 89 03 A6 */ mtctr r12 +/* 8035FB30 0035CA90 4E 80 04 21 */ bctrl +/* 8035FB34 0035CA94 7F 03 C3 78 */ mr r3, r24 +/* 8035FB38 0035CA98 38 81 02 48 */ addi r4, r1, 0x248 +/* 8035FB3C 0035CA9C 81 98 00 00 */ lwz r12, 0(r24) +/* 8035FB40 0035CAA0 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 8035FB44 0035CAA4 7D 89 03 A6 */ mtctr r12 +/* 8035FB48 0035CAA8 4E 80 04 21 */ bctrl +/* 8035FB4C 0035CAAC 7F 03 C3 78 */ mr r3, r24 +/* 8035FB50 0035CAB0 38 96 00 E0 */ addi r4, r22, 0xe0 +/* 8035FB54 0035CAB4 81 98 00 00 */ lwz r12, 0(r24) +/* 8035FB58 0035CAB8 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 8035FB5C 0035CABC 7D 89 03 A6 */ mtctr r12 +/* 8035FB60 0035CAC0 4E 80 04 21 */ bctrl +/* 8035FB64 0035CAC4 7F 03 C3 78 */ mr r3, r24 +/* 8035FB68 0035CAC8 38 96 00 EC */ addi r4, r22, 0xec +/* 8035FB6C 0035CACC 81 98 00 00 */ lwz r12, 0(r24) +/* 8035FB70 0035CAD0 81 8C 00 28 */ lwz r12, 0x28(r12) +/* 8035FB74 0035CAD4 7D 89 03 A6 */ mtctr r12 +/* 8035FB78 0035CAD8 4E 80 04 21 */ bctrl +/* 8035FB7C 0035CADC 4B FE A4 31 */ bl White__6CColorFv +/* 8035FB80 0035CAE0 80 03 00 00 */ lwz r0, 0(r3) +/* 8035FB84 0035CAE4 90 01 00 3C */ stw r0, 0x3c(r1) +/* 8035FB88 0035CAE8 80 76 00 24 */ lwz r3, 0x24(r22) +/* 8035FB8C 0035CAEC 80 63 00 14 */ lwz r3, 0x14(r3) +/* 8035FB90 0035CAF0 28 03 00 00 */ cmplwi r3, 0 +/* 8035FB94 0035CAF4 41 82 00 1C */ beq lbl_8035FBB0 +/* 8035FB98 0035CAF8 81 83 00 00 */ lwz r12, 0(r3) +/* 8035FB9C 0035CAFC 7E A4 AB 78 */ mr r4, r21 +/* 8035FBA0 0035CB00 38 A1 00 3C */ addi r5, r1, 0x3c +/* 8035FBA4 0035CB04 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8035FBA8 0035CB08 7D 89 03 A6 */ mtctr r12 +/* 8035FBAC 0035CB0C 4E 80 04 21 */ bctrl +lbl_8035FBB0: +/* 8035FBB0 0035CB10 38 61 00 38 */ addi r3, r1, 0x38 +/* 8035FBB4 0035CB14 38 81 00 3C */ addi r4, r1, 0x3c +/* 8035FBB8 0035CB18 38 B6 01 B8 */ addi r5, r22, 0x1b8 +/* 8035FBBC 0035CB1C 48 00 35 BD */ bl Modulate__6CColorFRC6CColorRC6CColor +/* 8035FBC0 0035CB20 7F 03 C3 78 */ mr r3, r24 +/* 8035FBC4 0035CB24 38 81 00 38 */ addi r4, r1, 0x38 +/* 8035FBC8 0035CB28 81 98 00 00 */ lwz r12, 0(r24) +/* 8035FBCC 0035CB2C 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 8035FBD0 0035CB30 7D 89 03 A6 */ mtctr r12 +/* 8035FBD4 0035CB34 4E 80 04 21 */ bctrl +/* 8035FBD8 0035CB38 80 98 01 58 */ lwz r4, 0x158(r24) +/* 8035FBDC 0035CB3C 39 20 00 00 */ li r9, 0 +/* 8035FBE0 0035CB40 38 E0 00 00 */ li r7, 0 +/* 8035FBE4 0035CB44 48 00 00 48 */ b lbl_8035FC2C +lbl_8035FBE8: +/* 8035FBE8 0035CB48 38 A4 00 01 */ addi r5, r4, 1 +/* 8035FBEC 0035CB4C 80 16 04 2C */ lwz r0, 0x42c(r22) +/* 8035FBF0 0035CB50 7C 85 43 D6 */ divw r4, r5, r8 +/* 8035FBF4 0035CB54 80 78 01 68 */ lwz r3, 0x168(r24) +/* 8035FBF8 0035CB58 7C C0 3A 14 */ add r6, r0, r7 +/* 8035FBFC 0035CB5C C0 06 00 00 */ lfs f0, 0(r6) +/* 8035FC00 0035CB60 38 E7 00 0C */ addi r7, r7, 0xc +/* 8035FC04 0035CB64 39 29 00 01 */ addi r9, r9, 1 +/* 8035FC08 0035CB68 7C 04 41 D6 */ mullw r0, r4, r8 +/* 8035FC0C 0035CB6C 7C 80 28 50 */ subf r4, r0, r5 +/* 8035FC10 0035CB70 54 80 38 30 */ slwi r0, r4, 7 +/* 8035FC14 0035CB74 7C 63 02 14 */ add r3, r3, r0 +/* 8035FC18 0035CB78 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 8035FC1C 0035CB7C C0 06 00 04 */ lfs f0, 4(r6) +/* 8035FC20 0035CB80 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 8035FC24 0035CB84 C0 06 00 08 */ lfs f0, 8(r6) +/* 8035FC28 0035CB88 D0 03 00 14 */ stfs f0, 0x14(r3) +lbl_8035FC2C: +/* 8035FC2C 0035CB8C 81 18 01 60 */ lwz r8, 0x160(r24) +/* 8035FC30 0035CB90 7C 09 40 00 */ cmpw r9, r8 +/* 8035FC34 0035CB94 41 80 FF B4 */ blt lbl_8035FBE8 +lbl_8035FC38: +/* 8035FC38 0035CB98 88 16 04 50 */ lbz r0, 0x450(r22) +/* 8035FC3C 0035CB9C 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 8035FC40 0035CBA0 41 82 01 C0 */ beq lbl_8035FE00 +/* 8035FC44 0035CBA4 83 DB 00 04 */ lwz r30, 4(r27) +/* 8035FC48 0035CBA8 38 96 04 20 */ addi r4, r22, 0x420 +/* 8035FC4C 0035CBAC 7F C3 F3 78 */ mr r3, r30 +/* 8035FC50 0035CBB0 48 00 03 C5 */ bl sub_80360014 +/* 8035FC54 0035CBB4 7E C3 B3 78 */ mr r3, r22 +/* 8035FC58 0035CBB8 7F 44 D3 78 */ mr r4, r26 +/* 8035FC5C 0035CBBC 38 A0 00 00 */ li r5, 0 +/* 8035FC60 0035CBC0 4B FF FA 9D */ bl UpdateLine__17CParticleElectricFii +/* 8035FC64 0035CBC4 88 16 04 50 */ lbz r0, 0x450(r22) +/* 8035FC68 0035CBC8 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 8035FC6C 0035CBCC 40 82 01 94 */ bne lbl_8035FE00 +/* 8035FC70 0035CBD0 C0 22 CD 4C */ lfs f1, lbl_805AEA6C@sda21(r2) +/* 8035FC74 0035CBD4 38 C0 00 00 */ li r6, 0 +/* 8035FC78 0035CBD8 C0 02 CD 50 */ lfs f0, lbl_805AEA70@sda21(r2) +/* 8035FC7C 0035CBDC 38 A0 00 00 */ li r5, 0 +/* 8035FC80 0035CBE0 D0 36 01 30 */ stfs f1, 0x130(r22) +/* 8035FC84 0035CBE4 D0 36 01 34 */ stfs f1, 0x134(r22) +/* 8035FC88 0035CBE8 D0 36 01 38 */ stfs f1, 0x138(r22) +/* 8035FC8C 0035CBEC D0 16 01 3C */ stfs f0, 0x13c(r22) +/* 8035FC90 0035CBF0 D0 16 01 40 */ stfs f0, 0x140(r22) +/* 8035FC94 0035CBF4 D0 16 01 44 */ stfs f0, 0x144(r22) +/* 8035FC98 0035CBF8 48 00 01 1C */ b lbl_8035FDB4 +lbl_8035FC9C: +/* 8035FC9C 0035CBFC 80 16 04 2C */ lwz r0, 0x42c(r22) +/* 8035FCA0 0035CC00 C0 16 01 44 */ lfs f0, 0x144(r22) +/* 8035FCA4 0035CC04 7C 60 2A 14 */ add r3, r0, r5 +/* 8035FCA8 0035CC08 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 8035FCAC 0035CC0C C0 23 00 08 */ lfs f1, 8(r3) +/* 8035FCB0 0035CC10 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8035FCB4 0035CC14 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 8035FCB8 0035CC18 40 80 00 0C */ bge lbl_8035FCC4 +/* 8035FCBC 0035CC1C 38 81 00 20 */ addi r4, r1, 0x20 +/* 8035FCC0 0035CC20 48 00 00 08 */ b lbl_8035FCC8 +lbl_8035FCC4: +/* 8035FCC4 0035CC24 38 81 00 24 */ addi r4, r1, 0x24 +lbl_8035FCC8: +/* 8035FCC8 0035CC28 C0 44 00 00 */ lfs f2, 0(r4) +/* 8035FCCC 0035CC2C C0 16 01 40 */ lfs f0, 0x140(r22) +/* 8035FCD0 0035CC30 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 8035FCD4 0035CC34 C0 23 00 04 */ lfs f1, 4(r3) +/* 8035FCD8 0035CC38 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8035FCDC 0035CC3C D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 8035FCE0 0035CC40 40 80 00 0C */ bge lbl_8035FCEC +/* 8035FCE4 0035CC44 38 81 00 28 */ addi r4, r1, 0x28 +/* 8035FCE8 0035CC48 48 00 00 08 */ b lbl_8035FCF0 +lbl_8035FCEC: +/* 8035FCEC 0035CC4C 38 81 00 2C */ addi r4, r1, 0x2c +lbl_8035FCF0: +/* 8035FCF0 0035CC50 C0 24 00 00 */ lfs f1, 0(r4) +/* 8035FCF4 0035CC54 C0 16 01 3C */ lfs f0, 0x13c(r22) +/* 8035FCF8 0035CC58 D0 01 00 30 */ stfs f0, 0x30(r1) +/* 8035FCFC 0035CC5C C0 63 00 00 */ lfs f3, 0(r3) +/* 8035FD00 0035CC60 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 8035FD04 0035CC64 D0 61 00 34 */ stfs f3, 0x34(r1) +/* 8035FD08 0035CC68 40 80 00 0C */ bge lbl_8035FD14 +/* 8035FD0C 0035CC6C 38 81 00 30 */ addi r4, r1, 0x30 +/* 8035FD10 0035CC70 48 00 00 08 */ b lbl_8035FD18 +lbl_8035FD14: +/* 8035FD14 0035CC74 38 81 00 34 */ addi r4, r1, 0x34 +lbl_8035FD18: +/* 8035FD18 0035CC78 C0 04 00 00 */ lfs f0, 0(r4) +/* 8035FD1C 0035CC7C D0 16 01 3C */ stfs f0, 0x13c(r22) +/* 8035FD20 0035CC80 D0 36 01 40 */ stfs f1, 0x140(r22) +/* 8035FD24 0035CC84 D0 56 01 44 */ stfs f2, 0x144(r22) +/* 8035FD28 0035CC88 C0 16 01 38 */ lfs f0, 0x138(r22) +/* 8035FD2C 0035CC8C D0 01 00 08 */ stfs f0, 8(r1) +/* 8035FD30 0035CC90 C0 23 00 08 */ lfs f1, 8(r3) +/* 8035FD34 0035CC94 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 8035FD38 0035CC98 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 8035FD3C 0035CC9C 40 80 00 0C */ bge lbl_8035FD48 +/* 8035FD40 0035CCA0 38 81 00 08 */ addi r4, r1, 8 +/* 8035FD44 0035CCA4 48 00 00 08 */ b lbl_8035FD4C +lbl_8035FD48: +/* 8035FD48 0035CCA8 38 81 00 0C */ addi r4, r1, 0xc +lbl_8035FD4C: +/* 8035FD4C 0035CCAC C0 44 00 00 */ lfs f2, 0(r4) +/* 8035FD50 0035CCB0 C0 16 01 34 */ lfs f0, 0x134(r22) +/* 8035FD54 0035CCB4 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 8035FD58 0035CCB8 C0 23 00 04 */ lfs f1, 4(r3) +/* 8035FD5C 0035CCBC FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 8035FD60 0035CCC0 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 8035FD64 0035CCC4 40 80 00 0C */ bge lbl_8035FD70 +/* 8035FD68 0035CCC8 38 81 00 10 */ addi r4, r1, 0x10 +/* 8035FD6C 0035CCCC 48 00 00 08 */ b lbl_8035FD74 +lbl_8035FD70: +/* 8035FD70 0035CCD0 38 81 00 14 */ addi r4, r1, 0x14 +lbl_8035FD74: +/* 8035FD74 0035CCD4 C0 24 00 00 */ lfs f1, 0(r4) +/* 8035FD78 0035CCD8 C0 16 01 30 */ lfs f0, 0x130(r22) +/* 8035FD7C 0035CCDC D0 01 00 18 */ stfs f0, 0x18(r1) +/* 8035FD80 0035CCE0 C0 63 00 00 */ lfs f3, 0(r3) +/* 8035FD84 0035CCE4 FC 00 18 40 */ fcmpo cr0, f0, f3 +/* 8035FD88 0035CCE8 D0 61 00 1C */ stfs f3, 0x1c(r1) +/* 8035FD8C 0035CCEC 40 80 00 0C */ bge lbl_8035FD98 +/* 8035FD90 0035CCF0 38 61 00 18 */ addi r3, r1, 0x18 +/* 8035FD94 0035CCF4 48 00 00 08 */ b lbl_8035FD9C +lbl_8035FD98: +/* 8035FD98 0035CCF8 38 61 00 1C */ addi r3, r1, 0x1c +lbl_8035FD9C: +/* 8035FD9C 0035CCFC C0 03 00 00 */ lfs f0, 0(r3) +/* 8035FDA0 0035CD00 38 A5 00 0C */ addi r5, r5, 0xc +/* 8035FDA4 0035CD04 38 C6 00 01 */ addi r6, r6, 1 +/* 8035FDA8 0035CD08 D0 16 01 30 */ stfs f0, 0x130(r22) +/* 8035FDAC 0035CD0C D0 36 01 34 */ stfs f1, 0x134(r22) +/* 8035FDB0 0035CD10 D0 56 01 38 */ stfs f2, 0x138(r22) +lbl_8035FDB4: +/* 8035FDB4 0035CD14 80 16 04 24 */ lwz r0, 0x424(r22) +/* 8035FDB8 0035CD18 7C 06 00 00 */ cmpw r6, r0 +/* 8035FDBC 0035CD1C 41 80 FE E0 */ blt lbl_8035FC9C +/* 8035FDC0 0035CD20 38 61 00 68 */ addi r3, r1, 0x68 +/* 8035FDC4 0035CD24 38 96 01 30 */ addi r4, r22, 0x130 +/* 8035FDC8 0035CD28 38 B6 01 3C */ addi r5, r22, 0x13c +/* 8035FDCC 0035CD2C 4B FD 87 3D */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 8035FDD0 0035CD30 80 61 00 68 */ lwz r3, 0x68(r1) +/* 8035FDD4 0035CD34 80 01 00 6C */ lwz r0, 0x6c(r1) +/* 8035FDD8 0035CD38 90 7E 00 28 */ stw r3, 0x28(r30) +/* 8035FDDC 0035CD3C 90 1E 00 2C */ stw r0, 0x2c(r30) +/* 8035FDE0 0035CD40 80 01 00 70 */ lwz r0, 0x70(r1) +/* 8035FDE4 0035CD44 90 1E 00 30 */ stw r0, 0x30(r30) +/* 8035FDE8 0035CD48 80 61 00 74 */ lwz r3, 0x74(r1) +/* 8035FDEC 0035CD4C 80 01 00 78 */ lwz r0, 0x78(r1) +/* 8035FDF0 0035CD50 90 7E 00 34 */ stw r3, 0x34(r30) +/* 8035FDF4 0035CD54 90 1E 00 38 */ stw r0, 0x38(r30) +/* 8035FDF8 0035CD58 80 01 00 7C */ lwz r0, 0x7c(r1) +/* 8035FDFC 0035CD5C 90 1E 00 3C */ stw r0, 0x3c(r30) +lbl_8035FE00: +/* 8035FE00 0035CD60 88 16 04 50 */ lbz r0, 0x450(r22) +/* 8035FE04 0035CD64 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8035FE08 0035CD68 41 82 00 DC */ beq lbl_8035FEE4 +/* 8035FE0C 0035CD6C 3B C0 00 00 */ li r30, 0 +/* 8035FE10 0035CD70 3A A0 00 00 */ li r21, 0 +/* 8035FE14 0035CD74 48 00 00 C4 */ b lbl_8035FED8 +lbl_8035FE18: +/* 8035FE18 0035CD78 80 76 04 0C */ lwz r3, 0x40c(r22) +/* 8035FE1C 0035CD7C 38 15 00 04 */ addi r0, r21, 4 +/* 8035FE20 0035CD80 7C 63 00 2E */ lwzx r3, r3, r0 +/* 8035FE24 0035CD84 81 83 00 00 */ lwz r12, 0(r3) +/* 8035FE28 0035CD88 81 8C 00 4C */ lwz r12, 0x4c(r12) +/* 8035FE2C 0035CD8C 7D 89 03 A6 */ mtctr r12 +/* 8035FE30 0035CD90 4E 80 04 21 */ bctrl +/* 8035FE34 0035CD94 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8035FE38 0035CD98 40 82 00 98 */ bne lbl_8035FED0 +/* 8035FE3C 0035CD9C 38 61 01 28 */ addi r3, r1, 0x128 +/* 8035FE40 0035CDA0 38 96 00 EC */ addi r4, r22, 0xec +/* 8035FE44 0035CDA4 4B FB 33 81 */ bl Scale__12CTransform4fFRC9CVector3f +/* 8035FE48 0035CDA8 38 61 01 58 */ addi r3, r1, 0x158 +/* 8035FE4C 0035CDAC 38 96 00 E0 */ addi r4, r22, 0xe0 +/* 8035FE50 0035CDB0 4B FB 33 75 */ bl Scale__12CTransform4fFRC9CVector3f +/* 8035FE54 0035CDB4 38 61 01 88 */ addi r3, r1, 0x188 +/* 8035FE58 0035CDB8 38 81 01 58 */ addi r4, r1, 0x158 +/* 8035FE5C 0035CDBC 38 A1 01 28 */ addi r5, r1, 0x128 +/* 8035FE60 0035CDC0 4B FB 2A F1 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8035FE64 0035CDC4 38 61 02 18 */ addi r3, r1, 0x218 +/* 8035FE68 0035CDC8 38 81 01 88 */ addi r4, r1, 0x188 +/* 8035FE6C 0035CDCC 4B FB 2D 09 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8035FE70 0035CDD0 80 16 04 0C */ lwz r0, 0x40c(r22) +/* 8035FE74 0035CDD4 57 D5 18 38 */ slwi r21, r30, 3 +/* 8035FE78 0035CDD8 80 B6 04 2C */ lwz r5, 0x42c(r22) +/* 8035FE7C 0035CDDC 38 61 00 50 */ addi r3, r1, 0x50 +/* 8035FE80 0035CDE0 7C C0 AA 14 */ add r6, r0, r21 +/* 8035FE84 0035CDE4 38 81 02 18 */ addi r4, r1, 0x218 +/* 8035FE88 0035CDE8 83 06 00 04 */ lwz r24, 4(r6) +/* 8035FE8C 0035CDEC 4B FB 2C 5D */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8035FE90 0035CDF0 7F 03 C3 78 */ mr r3, r24 +/* 8035FE94 0035CDF4 38 81 00 50 */ addi r4, r1, 0x50 +/* 8035FE98 0035CDF8 81 98 00 00 */ lwz r12, 0(r24) +/* 8035FE9C 0035CDFC 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 8035FEA0 0035CE00 7D 89 03 A6 */ mtctr r12 +/* 8035FEA4 0035CE04 4E 80 04 21 */ bctrl +/* 8035FEA8 0035CE08 80 76 04 0C */ lwz r3, 0x40c(r22) +/* 8035FEAC 0035CE0C 38 15 00 04 */ addi r0, r21, 4 +/* 8035FEB0 0035CE10 38 80 00 01 */ li r4, 1 +/* 8035FEB4 0035CE14 7C 63 00 2E */ lwzx r3, r3, r0 +/* 8035FEB8 0035CE18 81 83 00 00 */ lwz r12, 0(r3) +/* 8035FEBC 0035CE1C 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 8035FEC0 0035CE20 7D 89 03 A6 */ mtctr r12 +/* 8035FEC4 0035CE24 4E 80 04 21 */ bctrl +/* 8035FEC8 0035CE28 93 DF 00 18 */ stw r30, 0x18(r31) +/* 8035FECC 0035CE2C 48 00 00 18 */ b lbl_8035FEE4 +lbl_8035FED0: +/* 8035FED0 0035CE30 3A B5 00 08 */ addi r21, r21, 8 +/* 8035FED4 0035CE34 3B DE 00 01 */ addi r30, r30, 1 +lbl_8035FED8: +/* 8035FED8 0035CE38 80 16 01 54 */ lwz r0, 0x154(r22) +/* 8035FEDC 0035CE3C 7C 1E 00 00 */ cmpw r30, r0 +/* 8035FEE0 0035CE40 41 80 FF 38 */ blt lbl_8035FE18 +lbl_8035FEE4: +/* 8035FEE4 0035CE44 88 16 04 50 */ lbz r0, 0x450(r22) +/* 8035FEE8 0035CE48 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 8035FEEC 0035CE4C 41 82 01 08 */ beq lbl_8035FFF4 +/* 8035FEF0 0035CE50 3B 00 00 00 */ li r24, 0 +/* 8035FEF4 0035CE54 3A A0 00 00 */ li r21, 0 +/* 8035FEF8 0035CE58 48 00 00 D4 */ b lbl_8035FFCC +lbl_8035FEFC: +/* 8035FEFC 0035CE5C 80 76 04 1C */ lwz r3, 0x41c(r22) +/* 8035FF00 0035CE60 38 15 00 04 */ addi r0, r21, 4 +/* 8035FF04 0035CE64 7C 63 00 2E */ lwzx r3, r3, r0 +/* 8035FF08 0035CE68 81 83 00 00 */ lwz r12, 0(r3) +/* 8035FF0C 0035CE6C 81 8C 00 4C */ lwz r12, 0x4c(r12) +/* 8035FF10 0035CE70 7D 89 03 A6 */ mtctr r12 +/* 8035FF14 0035CE74 4E 80 04 21 */ bctrl +/* 8035FF18 0035CE78 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8035FF1C 0035CE7C 40 82 00 A8 */ bne lbl_8035FFC4 +/* 8035FF20 0035CE80 38 61 00 98 */ addi r3, r1, 0x98 +/* 8035FF24 0035CE84 38 96 00 EC */ addi r4, r22, 0xec +/* 8035FF28 0035CE88 4B FB 32 9D */ bl Scale__12CTransform4fFRC9CVector3f +/* 8035FF2C 0035CE8C 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 8035FF30 0035CE90 38 96 00 E0 */ addi r4, r22, 0xe0 +/* 8035FF34 0035CE94 4B FB 32 91 */ bl Scale__12CTransform4fFRC9CVector3f +/* 8035FF38 0035CE98 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 8035FF3C 0035CE9C 38 81 00 C8 */ addi r4, r1, 0xc8 +/* 8035FF40 0035CEA0 38 A1 00 98 */ addi r5, r1, 0x98 +/* 8035FF44 0035CEA4 4B FB 2A 0D */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8035FF48 0035CEA8 38 61 01 E8 */ addi r3, r1, 0x1e8 +/* 8035FF4C 0035CEAC 38 81 00 F8 */ addi r4, r1, 0xf8 +/* 8035FF50 0035CEB0 4B FB 2C 25 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8035FF54 0035CEB4 80 96 04 24 */ lwz r4, 0x424(r22) +/* 8035FF58 0035CEB8 57 1E 18 38 */ slwi r30, r24, 3 +/* 8035FF5C 0035CEBC 80 D6 04 1C */ lwz r6, 0x41c(r22) +/* 8035FF60 0035CEC0 38 61 00 44 */ addi r3, r1, 0x44 +/* 8035FF64 0035CEC4 38 04 FF FF */ addi r0, r4, -1 +/* 8035FF68 0035CEC8 80 B6 04 2C */ lwz r5, 0x42c(r22) +/* 8035FF6C 0035CECC 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8035FF70 0035CED0 7C 86 F2 14 */ add r4, r6, r30 +/* 8035FF74 0035CED4 82 A4 00 04 */ lwz r21, 4(r4) +/* 8035FF78 0035CED8 38 81 01 E8 */ addi r4, r1, 0x1e8 +/* 8035FF7C 0035CEDC 7C A5 02 14 */ add r5, r5, r0 +/* 8035FF80 0035CEE0 4B FB 2B 69 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8035FF84 0035CEE4 7E A3 AB 78 */ mr r3, r21 +/* 8035FF88 0035CEE8 38 81 00 44 */ addi r4, r1, 0x44 +/* 8035FF8C 0035CEEC 81 95 00 00 */ lwz r12, 0(r21) +/* 8035FF90 0035CEF0 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 8035FF94 0035CEF4 7D 89 03 A6 */ mtctr r12 +/* 8035FF98 0035CEF8 4E 80 04 21 */ bctrl +/* 8035FF9C 0035CEFC 80 76 04 1C */ lwz r3, 0x41c(r22) +/* 8035FFA0 0035CF00 38 1E 00 04 */ addi r0, r30, 4 +/* 8035FFA4 0035CF04 38 80 00 01 */ li r4, 1 +/* 8035FFA8 0035CF08 7C 63 00 2E */ lwzx r3, r3, r0 +/* 8035FFAC 0035CF0C 81 83 00 00 */ lwz r12, 0(r3) +/* 8035FFB0 0035CF10 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 8035FFB4 0035CF14 7D 89 03 A6 */ mtctr r12 +/* 8035FFB8 0035CF18 4E 80 04 21 */ bctrl +/* 8035FFBC 0035CF1C 93 1F 00 1C */ stw r24, 0x1c(r31) +/* 8035FFC0 0035CF20 48 00 00 34 */ b lbl_8035FFF4 +lbl_8035FFC4: +/* 8035FFC4 0035CF24 3A B5 00 08 */ addi r21, r21, 8 +/* 8035FFC8 0035CF28 3B 18 00 01 */ addi r24, r24, 1 +lbl_8035FFCC: +/* 8035FFCC 0035CF2C 80 16 01 54 */ lwz r0, 0x154(r22) +/* 8035FFD0 0035CF30 7C 18 00 00 */ cmpw r24, r0 +/* 8035FFD4 0035CF34 41 80 FF 28 */ blt lbl_8035FEFC +/* 8035FFD8 0035CF38 48 00 00 1C */ b lbl_8035FFF4 +lbl_8035FFDC: +/* 8035FFDC 0035CF3C 38 63 00 01 */ addi r3, r3, 1 +/* 8035FFE0 0035CF40 3B BD 00 01 */ addi r29, r29, 1 +/* 8035FFE4 0035CF44 3B 9C 00 08 */ addi r28, r28, 8 +/* 8035FFE8 0035CF48 3B 7B 00 08 */ addi r27, r27, 8 +/* 8035FFEC 0035CF4C 3B 5A 00 01 */ addi r26, r26, 1 +/* 8035FFF0 0035CF50 42 00 FA 60 */ bdnz lbl_8035FA50 +lbl_8035FFF4: +/* 8035FFF4 0035CF54 3B 39 00 01 */ addi r25, r25, 1 +lbl_8035FFF8: +/* 8035FFF8 0035CF58 7C 19 B8 00 */ cmpw r25, r23 +/* 8035FFFC 0035CF5C 41 80 F9 FC */ blt lbl_8035F9F8 +lbl_80360000: +/* 80360000 0035CF60 BA A1 02 84 */ lmw r21, 0x284(r1) +/* 80360004 0035CF64 80 01 02 B4 */ lwz r0, 0x2b4(r1) +/* 80360008 0035CF68 7C 08 03 A6 */ mtlr r0 +/* 8036000C 0035CF6C 38 21 02 B0 */ addi r1, r1, 0x2b0 +/* 80360010 0035CF70 4E 80 00 20 */ blr + +.global sub_80360014 +sub_80360014: +/* 80360014 0035CF74 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80360018 0035CF78 7C 08 02 A6 */ mflr r0 +/* 8036001C 0035CF7C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80360020 0035CF80 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80360024 0035CF84 7C 9F 23 78 */ mr r31, r4 +/* 80360028 0035CF88 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8036002C 0035CF8C 7C 7E 1B 78 */ mr r30, r3 +/* 80360030 0035CF90 7C 1E F8 40 */ cmplw r30, r31 +/* 80360034 0035CF94 40 82 00 08 */ bne lbl_8036003C +/* 80360038 0035CF98 48 00 00 C0 */ b lbl_803600F8 +lbl_8036003C: +/* 8036003C 0035CF9C 80 1E 00 04 */ lwz r0, 4(r30) +/* 80360040 0035CFA0 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80360044 0035CFA4 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80360048 0035CFA8 90 61 00 0C */ stw r3, 0xc(r1) +/* 8036004C 0035CFAC 7C 03 02 14 */ add r0, r3, r0 +/* 80360050 0035CFB0 90 61 00 08 */ stw r3, 8(r1) +/* 80360054 0035CFB4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80360058 0035CFB8 90 01 00 10 */ stw r0, 0x10(r1) +/* 8036005C 0035CFBC 48 00 00 08 */ b lbl_80360064 +lbl_80360060: +/* 80360060 0035CFC0 38 63 00 0C */ addi r3, r3, 0xc +lbl_80360064: +/* 80360064 0035CFC4 7C 03 00 40 */ cmplw r3, r0 +/* 80360068 0035CFC8 40 82 FF F8 */ bne lbl_80360060 +/* 8036006C 0035CFCC 38 00 00 00 */ li r0, 0 +/* 80360070 0035CFD0 90 1E 00 04 */ stw r0, 4(r30) +/* 80360074 0035CFD4 80 9F 00 04 */ lwz r4, 4(r31) +/* 80360078 0035CFD8 2C 04 00 00 */ cmpwi r4, 0 +/* 8036007C 0035CFDC 40 82 00 20 */ bne lbl_8036009C +/* 80360080 0035CFE0 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80360084 0035CFE4 4B FB 58 AD */ bl Free__7CMemoryFPCv +/* 80360088 0035CFE8 38 00 00 00 */ li r0, 0 +/* 8036008C 0035CFEC 90 1E 00 04 */ stw r0, 4(r30) +/* 80360090 0035CFF0 90 1E 00 08 */ stw r0, 8(r30) +/* 80360094 0035CFF4 90 1E 00 0C */ stw r0, 0xc(r30) +/* 80360098 0035CFF8 48 00 00 5C */ b lbl_803600F4 +lbl_8036009C: +/* 8036009C 0035CFFC 7F C3 F3 78 */ mr r3, r30 +/* 803600A0 0035D000 48 00 2D 91 */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17aligned_allocator>Fi" +/* 803600A4 0035D004 80 1F 00 04 */ lwz r0, 4(r31) +/* 803600A8 0035D008 80 9F 00 0C */ lwz r4, 0xc(r31) +/* 803600AC 0035D00C 1C 00 00 0C */ mulli r0, r0, 0xc +/* 803600B0 0035D010 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 803600B4 0035D014 7C 04 02 14 */ add r0, r4, r0 +/* 803600B8 0035D018 48 00 00 2C */ b lbl_803600E4 +lbl_803600BC: +/* 803600BC 0035D01C 28 03 00 00 */ cmplwi r3, 0 +/* 803600C0 0035D020 41 82 00 1C */ beq lbl_803600DC +/* 803600C4 0035D024 C0 04 00 00 */ lfs f0, 0(r4) +/* 803600C8 0035D028 D0 03 00 00 */ stfs f0, 0(r3) +/* 803600CC 0035D02C C0 04 00 04 */ lfs f0, 4(r4) +/* 803600D0 0035D030 D0 03 00 04 */ stfs f0, 4(r3) +/* 803600D4 0035D034 C0 04 00 08 */ lfs f0, 8(r4) +/* 803600D8 0035D038 D0 03 00 08 */ stfs f0, 8(r3) +lbl_803600DC: +/* 803600DC 0035D03C 38 63 00 0C */ addi r3, r3, 0xc +/* 803600E0 0035D040 38 84 00 0C */ addi r4, r4, 0xc +lbl_803600E4: +/* 803600E4 0035D044 7C 04 00 40 */ cmplw r4, r0 +/* 803600E8 0035D048 40 82 FF D4 */ bne lbl_803600BC +/* 803600EC 0035D04C 80 1F 00 04 */ lwz r0, 4(r31) +/* 803600F0 0035D050 90 1E 00 04 */ stw r0, 4(r30) +lbl_803600F4: +/* 803600F4 0035D054 7F C3 F3 78 */ mr r3, r30 +lbl_803600F8: +/* 803600F8 0035D058 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803600FC 0035D05C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80360100 0035D060 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80360104 0035D064 7C 08 03 A6 */ mtlr r0 +/* 80360108 0035D068 38 21 00 20 */ addi r1, r1, 0x20 +/* 8036010C 0035D06C 4E 80 00 20 */ blr + +.global sub_80360110 +sub_80360110: +/* 80360110 0035D070 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80360114 0035D074 7C 08 02 A6 */ mflr r0 +/* 80360118 0035D078 7C 85 23 78 */ mr r5, r4 +/* 8036011C 0035D07C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80360120 0035D080 80 83 00 08 */ lwz r4, 8(r3) +/* 80360124 0035D084 48 00 00 15 */ bl sub_80360138 +/* 80360128 0035D088 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8036012C 0035D08C 7C 08 03 A6 */ mtlr r0 +/* 80360130 0035D090 38 21 00 10 */ addi r1, r1, 0x10 +/* 80360134 0035D094 4E 80 00 20 */ blr + +.global sub_80360138 +sub_80360138: +/* 80360138 0035D098 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8036013C 0035D09C 7C 08 02 A6 */ mflr r0 +/* 80360140 0035D0A0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80360144 0035D0A4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80360148 0035D0A8 7C 7F 1B 78 */ mr r31, r3 +/* 8036014C 0035D0AC 38 60 00 20 */ li r3, 0x20 +/* 80360150 0035D0B0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80360154 0035D0B4 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80360158 0035D0B8 7C BD 2B 78 */ mr r29, r5 +/* 8036015C 0035D0BC 38 A0 00 00 */ li r5, 0 +/* 80360160 0035D0C0 93 81 00 10 */ stw r28, 0x10(r1) +/* 80360164 0035D0C4 7C 9C 23 78 */ mr r28, r4 +/* 80360168 0035D0C8 3C 80 80 3E */ lis r4, lbl_803D83F8@ha +/* 8036016C 0035D0CC 83 DC 00 00 */ lwz r30, 0(r28) +/* 80360170 0035D0D0 38 84 83 F8 */ addi r4, r4, lbl_803D83F8@l +/* 80360174 0035D0D4 4B FB 56 A5 */ bl __nwa__FUlPCcPCc +/* 80360178 0035D0D8 28 03 00 00 */ cmplwi r3, 0 +/* 8036017C 0035D0DC 41 82 00 0C */ beq lbl_80360188 +/* 80360180 0035D0E0 93 C3 00 00 */ stw r30, 0(r3) +/* 80360184 0035D0E4 93 83 00 04 */ stw r28, 4(r3) +lbl_80360188: +/* 80360188 0035D0E8 34 83 00 08 */ addic. r4, r3, 8 +/* 8036018C 0035D0EC 41 82 00 34 */ beq lbl_803601C0 +/* 80360190 0035D0F0 80 1D 00 00 */ lwz r0, 0(r29) +/* 80360194 0035D0F4 90 04 00 00 */ stw r0, 0(r4) +/* 80360198 0035D0F8 80 1D 00 04 */ lwz r0, 4(r29) +/* 8036019C 0035D0FC 90 04 00 04 */ stw r0, 4(r4) +/* 803601A0 0035D100 80 1D 00 08 */ lwz r0, 8(r29) +/* 803601A4 0035D104 90 04 00 08 */ stw r0, 8(r4) +/* 803601A8 0035D108 80 1D 00 0C */ lwz r0, 0xc(r29) +/* 803601AC 0035D10C 90 04 00 0C */ stw r0, 0xc(r4) +/* 803601B0 0035D110 80 1D 00 10 */ lwz r0, 0x10(r29) +/* 803601B4 0035D114 90 04 00 10 */ stw r0, 0x10(r4) +/* 803601B8 0035D118 80 1D 00 14 */ lwz r0, 0x14(r29) +/* 803601BC 0035D11C 90 04 00 14 */ stw r0, 0x14(r4) +lbl_803601C0: +/* 803601C0 0035D120 80 1F 00 04 */ lwz r0, 4(r31) +/* 803601C4 0035D124 7C 1C 00 40 */ cmplw r28, r0 +/* 803601C8 0035D128 40 82 00 08 */ bne lbl_803601D0 +/* 803601CC 0035D12C 90 7F 00 04 */ stw r3, 4(r31) +lbl_803601D0: +/* 803601D0 0035D130 80 83 00 00 */ lwz r4, 0(r3) +/* 803601D4 0035D134 90 64 00 04 */ stw r3, 4(r4) +/* 803601D8 0035D138 80 83 00 04 */ lwz r4, 4(r3) +/* 803601DC 0035D13C 90 64 00 00 */ stw r3, 0(r4) +/* 803601E0 0035D140 80 9F 00 14 */ lwz r4, 0x14(r31) +/* 803601E4 0035D144 38 04 00 01 */ addi r0, r4, 1 +/* 803601E8 0035D148 90 1F 00 14 */ stw r0, 0x14(r31) +/* 803601EC 0035D14C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803601F0 0035D150 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803601F4 0035D154 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 803601F8 0035D158 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 803601FC 0035D15C 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80360200 0035D160 7C 08 03 A6 */ mtlr r0 +/* 80360204 0035D164 38 21 00 20 */ addi r1, r1, 0x20 +/* 80360208 0035D168 4E 80 00 20 */ blr + +.global AddElectricalEffects__17CParticleElectricFv +AddElectricalEffects__17CParticleElectricFv: +/* 8036020C 0035D16C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80360210 0035D170 7C 08 02 A6 */ mflr r0 +/* 80360214 0035D174 C0 02 CD 54 */ lfs f0, lbl_805AEA74@sda21(r2) +/* 80360218 0035D178 90 01 00 34 */ stw r0, 0x34(r1) +/* 8036021C 0035D17C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80360220 0035D180 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80360224 0035D184 7C 7E 1B 78 */ mr r30, r3 +/* 80360228 0035D188 D0 01 00 08 */ stfs f0, 8(r1) +/* 8036022C 0035D18C 80 63 00 24 */ lwz r3, 0x24(r3) +/* 80360230 0035D190 80 63 00 08 */ lwz r3, 8(r3) +/* 80360234 0035D194 28 03 00 00 */ cmplwi r3, 0 +/* 80360238 0035D198 41 82 00 94 */ beq lbl_803602CC +/* 8036023C 0035D19C 81 83 00 00 */ lwz r12, 0(r3) +/* 80360240 0035D1A0 38 A1 00 08 */ addi r5, r1, 8 +/* 80360244 0035D1A4 80 9E 00 28 */ lwz r4, 0x28(r30) +/* 80360248 0035D1A8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8036024C 0035D1AC 7D 89 03 A6 */ mtctr r12 +/* 80360250 0035D1B0 4E 80 04 21 */ bctrl +/* 80360254 0035D1B4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80360258 0035D1B8 41 82 00 50 */ beq lbl_803602A8 +/* 8036025C 0035D1BC 83 FE 03 F0 */ lwz r31, 0x3f0(r30) +/* 80360260 0035D1C0 80 9E 03 EC */ lwz r4, 0x3ec(r30) +/* 80360264 0035D1C4 48 00 00 10 */ b lbl_80360274 +lbl_80360268: +/* 80360268 0035D1C8 38 7E 03 E8 */ addi r3, r30, 0x3e8 +/* 8036026C 0035D1CC 48 00 2A D1 */ bl sub_80362d3c +/* 80360270 0035D1D0 7C 64 1B 78 */ mr r4, r3 +lbl_80360274: +/* 80360274 0035D1D4 7C 04 F8 40 */ cmplw r4, r31 +/* 80360278 0035D1D8 40 82 FF F0 */ bne lbl_80360268 +/* 8036027C 0035D1DC 38 9E 01 C0 */ addi r4, r30, 0x1c0 +/* 80360280 0035D1E0 38 A0 00 00 */ li r5, 0 +/* 80360284 0035D1E4 38 60 00 00 */ li r3, 0 +/* 80360288 0035D1E8 48 00 00 10 */ b lbl_80360298 +lbl_8036028C: +/* 8036028C 0035D1EC 98 64 00 00 */ stb r3, 0(r4) +/* 80360290 0035D1F0 38 84 00 01 */ addi r4, r4, 1 +/* 80360294 0035D1F4 38 A5 00 01 */ addi r5, r5, 1 +lbl_80360298: +/* 80360298 0035D1F8 80 1E 01 BC */ lwz r0, 0x1bc(r30) +/* 8036029C 0035D1FC 7C 05 00 00 */ cmpw r5, r0 +/* 803602A0 0035D200 41 80 FF EC */ blt lbl_8036028C +/* 803602A4 0035D204 48 00 00 7C */ b lbl_80360320 +lbl_803602A8: +/* 803602A8 0035D208 C0 2D 9E 58 */ lfs f1, lbl_805A8A18@sda21(r13) +/* 803602AC 0035D20C C0 01 00 08 */ lfs f0, 8(r1) +/* 803602B0 0035D210 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 803602B4 0035D214 40 80 00 0C */ bge lbl_803602C0 +/* 803602B8 0035D218 38 61 00 08 */ addi r3, r1, 8 +/* 803602BC 0035D21C 48 00 00 08 */ b lbl_803602C4 +lbl_803602C0: +/* 803602C0 0035D220 38 6D 9E 58 */ addi r3, r13, lbl_805A8A18@sda21 +lbl_803602C4: +/* 803602C4 0035D224 C0 03 00 00 */ lfs f0, 0(r3) +/* 803602C8 0035D228 D0 01 00 08 */ stfs f0, 8(r1) +lbl_803602CC: +/* 803602CC 0035D22C C0 3E 01 5C */ lfs f1, 0x15c(r30) +/* 803602D0 0035D230 C0 01 00 08 */ lfs f0, 8(r1) +/* 803602D4 0035D234 EC 01 00 2A */ fadds f0, f1, f0 +/* 803602D8 0035D238 D0 1E 01 5C */ stfs f0, 0x15c(r30) +/* 803602DC 0035D23C C0 3E 01 5C */ lfs f1, 0x15c(r30) +/* 803602E0 0035D240 48 03 41 E5 */ bl floor +/* 803602E4 0035D244 FC 00 08 1E */ fctiwz f0, f1 +/* 803602E8 0035D248 3C 00 43 30 */ lis r0, 0x4330 +/* 803602EC 0035D24C 90 01 00 18 */ stw r0, 0x18(r1) +/* 803602F0 0035D250 7F C3 F3 78 */ mr r3, r30 +/* 803602F4 0035D254 C8 22 CD 58 */ lfd f1, lbl_805AEA78@sda21(r2) +/* 803602F8 0035D258 D8 01 00 10 */ stfd f0, 0x10(r1) +/* 803602FC 0035D25C C0 5E 01 5C */ lfs f2, 0x15c(r30) +/* 80360300 0035D260 80 81 00 14 */ lwz r4, 0x14(r1) +/* 80360304 0035D264 6C 80 80 00 */ xoris r0, r4, 0x8000 +/* 80360308 0035D268 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8036030C 0035D26C C8 01 00 18 */ lfd f0, 0x18(r1) +/* 80360310 0035D270 EC 00 08 28 */ fsubs f0, f0, f1 +/* 80360314 0035D274 EC 02 00 28 */ fsubs f0, f2, f0 +/* 80360318 0035D278 D0 1E 01 5C */ stfs f0, 0x15c(r30) +/* 8036031C 0035D27C 4B FF F6 AD */ bl CreateNewParticles__17CParticleElectricFi +lbl_80360320: +/* 80360320 0035D280 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80360324 0035D284 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80360328 0035D288 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8036032C 0035D28C 7C 08 03 A6 */ mtlr r0 +/* 80360330 0035D290 38 21 00 30 */ addi r1, r1, 0x30 +/* 80360334 0035D294 4E 80 00 20 */ blr + +.global "DrawLineStrip__17CParticleElectricFRCQ24rstl45vector<9CVector3f,Q24rstl17aligned_allocator>fRC6CColor" +"DrawLineStrip__17CParticleElectricFRCQ24rstl45vector<9CVector3f,Q24rstl17aligned_allocator>fRC6CColor": +/* 80360338 0035D298 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8036033C 0035D29C 7C 08 02 A6 */ mflr r0 +/* 80360340 0035D2A0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80360344 0035D2A4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80360348 0035D2A8 7C 9F 23 78 */ mr r31, r4 +/* 8036034C 0035D2AC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80360350 0035D2B0 7C BE 2B 78 */ mr r30, r5 +/* 80360354 0035D2B4 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80360358 0035D2B8 7C 7D 1B 78 */ mr r29, r3 +/* 8036035C 0035D2BC 38 60 00 00 */ li r3, 0 +/* 80360360 0035D2C0 4B FA B0 79 */ bl SetLineWidth__9CGraphicsFf13ERglTexOffset +/* 80360364 0035D2C4 7F A3 EB 78 */ mr r3, r29 +/* 80360368 0035D2C8 81 9D 00 00 */ lwz r12, 0(r29) +/* 8036036C 0035D2CC 81 8C 00 50 */ lwz r12, 0x50(r12) +/* 80360370 0035D2D0 7D 89 03 A6 */ mtctr r12 +/* 80360374 0035D2D4 4E 80 04 21 */ bctrl +/* 80360378 0035D2D8 7C 64 1B 78 */ mr r4, r3 +/* 8036037C 0035D2DC 7F C5 F3 78 */ mr r5, r30 +/* 80360380 0035D2E0 38 61 00 08 */ addi r3, r1, 8 +/* 80360384 0035D2E4 48 00 2D F5 */ bl Modulate__6CColorFRC6CColorRC6CColor +/* 80360388 0035D2E8 38 81 00 08 */ addi r4, r1, 8 +/* 8036038C 0035D2EC 38 60 00 00 */ li r3, 0 +/* 80360390 0035D2F0 4B FA 88 B5 */ bl SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor +/* 80360394 0035D2F4 83 DF 00 04 */ lwz r30, 4(r31) +/* 80360398 0035D2F8 38 60 00 B0 */ li r3, 0xb0 +/* 8036039C 0035D2FC 38 80 00 00 */ li r4, 0 +/* 803603A0 0035D300 57 C5 04 3E */ clrlwi r5, r30, 0x10 +/* 803603A4 0035D304 4B FA 81 E1 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 803603A8 0035D308 2C 1E 00 00 */ cmpwi r30, 0 +/* 803603AC 0035D30C 39 80 00 00 */ li r12, 0 +/* 803603B0 0035D310 40 81 01 94 */ ble lbl_80360544 +/* 803603B4 0035D314 2C 1E 00 08 */ cmpwi r30, 8 +/* 803603B8 0035D318 38 9E FF F8 */ addi r4, r30, -8 +/* 803603BC 0035D31C 40 81 01 48 */ ble lbl_80360504 +/* 803603C0 0035D320 38 04 00 07 */ addi r0, r4, 7 +/* 803603C4 0035D324 38 A0 00 00 */ li r5, 0 +/* 803603C8 0035D328 54 00 E8 FE */ srwi r0, r0, 3 +/* 803603CC 0035D32C 3C 60 CC 01 */ lis r3, 0xcc01 +/* 803603D0 0035D330 7C 09 03 A6 */ mtctr r0 +/* 803603D4 0035D334 2C 04 00 00 */ cmpwi r4, 0 +/* 803603D8 0035D338 40 81 01 2C */ ble lbl_80360504 +lbl_803603DC: +/* 803603DC 0035D33C 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 803603E0 0035D340 39 65 00 0C */ addi r11, r5, 0xc +/* 803603E4 0035D344 39 45 00 18 */ addi r10, r5, 0x18 +/* 803603E8 0035D348 39 25 00 24 */ addi r9, r5, 0x24 +/* 803603EC 0035D34C 7C 80 2A 14 */ add r4, r0, r5 +/* 803603F0 0035D350 39 05 00 30 */ addi r8, r5, 0x30 +/* 803603F4 0035D354 C0 44 00 08 */ lfs f2, 8(r4) +/* 803603F8 0035D358 38 E5 00 3C */ addi r7, r5, 0x3c +/* 803603FC 0035D35C C0 24 00 04 */ lfs f1, 4(r4) +/* 80360400 0035D360 38 C5 00 48 */ addi r6, r5, 0x48 +/* 80360404 0035D364 C0 04 00 00 */ lfs f0, 0(r4) +/* 80360408 0035D368 38 85 00 54 */ addi r4, r5, 0x54 +/* 8036040C 0035D36C 38 A5 00 60 */ addi r5, r5, 0x60 +/* 80360410 0035D370 39 8C 00 08 */ addi r12, r12, 8 +/* 80360414 0035D374 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 80360418 0035D378 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8036041C 0035D37C D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 80360420 0035D380 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 80360424 0035D384 7D 60 5A 14 */ add r11, r0, r11 +/* 80360428 0035D388 C0 2B 00 08 */ lfs f1, 8(r11) +/* 8036042C 0035D38C C0 4B 00 04 */ lfs f2, 4(r11) +/* 80360430 0035D390 C0 0B 00 00 */ lfs f0, 0(r11) +/* 80360434 0035D394 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 80360438 0035D398 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8036043C 0035D39C D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 80360440 0035D3A0 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 80360444 0035D3A4 7D 40 52 14 */ add r10, r0, r10 +/* 80360448 0035D3A8 C0 2A 00 08 */ lfs f1, 8(r10) +/* 8036044C 0035D3AC C0 4A 00 04 */ lfs f2, 4(r10) +/* 80360450 0035D3B0 C0 0A 00 00 */ lfs f0, 0(r10) +/* 80360454 0035D3B4 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 80360458 0035D3B8 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8036045C 0035D3BC D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 80360460 0035D3C0 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 80360464 0035D3C4 7D 20 4A 14 */ add r9, r0, r9 +/* 80360468 0035D3C8 C0 29 00 08 */ lfs f1, 8(r9) +/* 8036046C 0035D3CC C0 49 00 04 */ lfs f2, 4(r9) +/* 80360470 0035D3D0 C0 09 00 00 */ lfs f0, 0(r9) +/* 80360474 0035D3D4 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 80360478 0035D3D8 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8036047C 0035D3DC D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 80360480 0035D3E0 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 80360484 0035D3E4 7D 00 42 14 */ add r8, r0, r8 +/* 80360488 0035D3E8 C0 28 00 08 */ lfs f1, 8(r8) +/* 8036048C 0035D3EC C0 48 00 04 */ lfs f2, 4(r8) +/* 80360490 0035D3F0 C0 08 00 00 */ lfs f0, 0(r8) +/* 80360494 0035D3F4 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 80360498 0035D3F8 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8036049C 0035D3FC D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 803604A0 0035D400 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 803604A4 0035D404 7C E0 3A 14 */ add r7, r0, r7 +/* 803604A8 0035D408 C0 27 00 08 */ lfs f1, 8(r7) +/* 803604AC 0035D40C C0 47 00 04 */ lfs f2, 4(r7) +/* 803604B0 0035D410 C0 07 00 00 */ lfs f0, 0(r7) +/* 803604B4 0035D414 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 803604B8 0035D418 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 803604BC 0035D41C D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 803604C0 0035D420 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 803604C4 0035D424 7C C0 32 14 */ add r6, r0, r6 +/* 803604C8 0035D428 C0 26 00 08 */ lfs f1, 8(r6) +/* 803604CC 0035D42C C0 46 00 04 */ lfs f2, 4(r6) +/* 803604D0 0035D430 C0 06 00 00 */ lfs f0, 0(r6) +/* 803604D4 0035D434 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 803604D8 0035D438 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 803604DC 0035D43C D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 803604E0 0035D440 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 803604E4 0035D444 7C 80 22 14 */ add r4, r0, r4 +/* 803604E8 0035D448 C0 24 00 08 */ lfs f1, 8(r4) +/* 803604EC 0035D44C C0 44 00 04 */ lfs f2, 4(r4) +/* 803604F0 0035D450 C0 04 00 00 */ lfs f0, 0(r4) +/* 803604F4 0035D454 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 803604F8 0035D458 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 803604FC 0035D45C D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 80360500 0035D460 42 00 FE DC */ bdnz lbl_803603DC +lbl_80360504: +/* 80360504 0035D464 7C 0C F0 50 */ subf r0, r12, r30 +/* 80360508 0035D468 3C 60 CC 01 */ lis r3, 0xcc01 +/* 8036050C 0035D46C 1C 8C 00 0C */ mulli r4, r12, 0xc +/* 80360510 0035D470 7C 09 03 A6 */ mtctr r0 +/* 80360514 0035D474 7C 0C F0 00 */ cmpw r12, r30 +/* 80360518 0035D478 40 80 00 2C */ bge lbl_80360544 +lbl_8036051C: +/* 8036051C 0035D47C 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 80360520 0035D480 7C A0 22 14 */ add r5, r0, r4 +/* 80360524 0035D484 38 84 00 0C */ addi r4, r4, 0xc +/* 80360528 0035D488 C0 25 00 08 */ lfs f1, 8(r5) +/* 8036052C 0035D48C C0 45 00 04 */ lfs f2, 4(r5) +/* 80360530 0035D490 C0 05 00 00 */ lfs f0, 0(r5) +/* 80360534 0035D494 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 80360538 0035D498 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8036053C 0035D49C D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 80360540 0035D4A0 42 00 FF DC */ bdnz lbl_8036051C +lbl_80360544: +/* 80360544 0035D4A4 4B FA 80 3D */ bl End__3CGXFv +/* 80360548 0035D4A8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8036054C 0035D4AC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80360550 0035D4B0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80360554 0035D4B4 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80360558 0035D4B8 7C 08 03 A6 */ mtlr r0 +/* 8036055C 0035D4BC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80360560 0035D4C0 4E 80 00 20 */ blr + +.global SetupLineGXMaterial__17CParticleElectricFv +SetupLineGXMaterial__17CParticleElectricFv: +/* 80360564 0035D4C4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80360568 0035D4C8 7C 08 02 A6 */ mflr r0 +/* 8036056C 0035D4CC 3C 60 80 3E */ lis r3, lbl_803D83E8@ha +/* 80360570 0035D4D0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80360574 0035D4D4 38 63 83 E8 */ addi r3, r3, lbl_803D83E8@l +/* 80360578 0035D4D8 4B FA 78 B1 */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList +/* 8036057C 0035D4DC 38 60 00 01 */ li r3, 1 +/* 80360580 0035D4E0 4B FA 88 D1 */ bl SetNumChans__3CGXFUc +/* 80360584 0035D4E4 38 60 00 00 */ li r3, 0 +/* 80360588 0035D4E8 4B FA 88 8D */ bl SetNumTexGens__3CGXFUc +/* 8036058C 0035D4EC 38 60 00 01 */ li r3, 1 +/* 80360590 0035D4F0 4B FA 87 01 */ bl SetNumTevStages__3CGXFUc +/* 80360594 0035D4F4 38 60 00 00 */ li r3, 0 +/* 80360598 0035D4F8 38 80 00 00 */ li r4, 0 +/* 8036059C 0035D4FC 38 A0 00 00 */ li r5, 0 +/* 803605A0 0035D500 38 C0 00 00 */ li r6, 0 +/* 803605A4 0035D504 38 E0 00 00 */ li r7, 0 +/* 803605A8 0035D508 39 00 00 00 */ li r8, 0 +/* 803605AC 0035D50C 39 20 00 02 */ li r9, 2 +/* 803605B0 0035D510 4B FA 87 1D */ bl SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn +/* 803605B4 0035D514 38 60 00 00 */ li r3, 0 +/* 803605B8 0035D518 38 80 00 0F */ li r4, 0xf +/* 803605BC 0035D51C 38 A0 00 0F */ li r5, 0xf +/* 803605C0 0035D520 38 C0 00 0F */ li r6, 0xf +/* 803605C4 0035D524 38 E0 00 0E */ li r7, 0xe +/* 803605C8 0035D528 4B FA 86 25 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg +/* 803605CC 0035D52C 38 60 00 00 */ li r3, 0 +/* 803605D0 0035D530 38 80 00 07 */ li r4, 7 +/* 803605D4 0035D534 38 A0 00 07 */ li r5, 7 +/* 803605D8 0035D538 38 C0 00 07 */ li r6, 7 +/* 803605DC 0035D53C 38 E0 00 06 */ li r7, 6 +/* 803605E0 0035D540 4B FA 85 B5 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg +/* 803605E4 0035D544 38 60 00 00 */ li r3, 0 +/* 803605E8 0035D548 4B FA 76 69 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID +/* 803605EC 0035D54C 38 60 00 00 */ li r3, 0 +/* 803605F0 0035D550 38 80 00 0C */ li r4, 0xc +/* 803605F4 0035D554 4B FA 83 ED */ bl SetTevKColorSel__3CGXF13_GXTevStageID15_GXTevKColorSel +/* 803605F8 0035D558 38 60 00 00 */ li r3, 0 +/* 803605FC 0035D55C 38 80 00 1C */ li r4, 0x1c +/* 80360600 0035D560 4B FA 83 9D */ bl SetTevKAlphaSel__3CGXF13_GXTevStageID15_GXTevKAlphaSel +/* 80360604 0035D564 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80360608 0035D568 7C 08 03 A6 */ mtlr r0 +/* 8036060C 0035D56C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80360610 0035D570 4E 80 00 20 */ blr + +.global RenderLines__17CParticleElectricFv +RenderLines__17CParticleElectricFv: +/* 80360614 0035D574 94 21 FE 30 */ stwu r1, -0x1d0(r1) +/* 80360618 0035D578 7C 08 02 A6 */ mflr r0 +/* 8036061C 0035D57C 90 01 01 D4 */ stw r0, 0x1d4(r1) +/* 80360620 0035D580 93 E1 01 CC */ stw r31, 0x1cc(r1) +/* 80360624 0035D584 93 C1 01 C8 */ stw r30, 0x1c8(r1) +/* 80360628 0035D588 93 A1 01 C4 */ stw r29, 0x1c4(r1) +/* 8036062C 0035D58C 93 81 01 C0 */ stw r28, 0x1c0(r1) +/* 80360630 0035D590 7C 7C 1B 78 */ mr r28, r3 +/* 80360634 0035D594 4B FA C3 49 */ bl DisableAllLights__9CGraphicsFv +/* 80360638 0035D598 38 60 00 01 */ li r3, 1 +/* 8036063C 0035D59C 38 80 00 03 */ li r4, 3 +/* 80360640 0035D5A0 38 A0 00 00 */ li r5, 0 +/* 80360644 0035D5A4 4B FA B4 51 */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb +/* 80360648 0035D5A8 38 60 00 01 */ li r3, 1 +/* 8036064C 0035D5AC 38 80 00 04 */ li r4, 4 +/* 80360650 0035D5B0 38 A0 00 01 */ li r5, 1 +/* 80360654 0035D5B4 38 C0 00 00 */ li r6, 0 +/* 80360658 0035D5B8 4B FA B3 F9 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +/* 8036065C 0035D5BC 38 61 00 08 */ addi r3, r1, 8 +/* 80360660 0035D5C0 38 9C 00 EC */ addi r4, r28, 0xec +/* 80360664 0035D5C4 4B FB 2B 61 */ bl Scale__12CTransform4fFRC9CVector3f +/* 80360668 0035D5C8 38 61 00 38 */ addi r3, r1, 0x38 +/* 8036066C 0035D5CC 38 9C 00 E0 */ addi r4, r28, 0xe0 +/* 80360670 0035D5D0 4B FB 2B 55 */ bl Scale__12CTransform4fFRC9CVector3f +/* 80360674 0035D5D4 38 61 00 68 */ addi r3, r1, 0x68 +/* 80360678 0035D5D8 38 9C 00 38 */ addi r4, r28, 0x38 +/* 8036067C 0035D5DC 4B FB 2A C5 */ bl Translate__12CTransform4fFRC9CVector3f +/* 80360680 0035D5E0 38 61 00 98 */ addi r3, r1, 0x98 +/* 80360684 0035D5E4 38 9C 00 A4 */ addi r4, r28, 0xa4 +/* 80360688 0035D5E8 4B FB 2A B9 */ bl Translate__12CTransform4fFRC9CVector3f +/* 8036068C 0035D5EC 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 80360690 0035D5F0 38 81 00 98 */ addi r4, r1, 0x98 +/* 80360694 0035D5F4 38 BC 00 B0 */ addi r5, r28, 0xb0 +/* 80360698 0035D5F8 4B FB 22 B9 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8036069C 0035D5FC 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 803606A0 0035D600 38 81 00 C8 */ addi r4, r1, 0xc8 +/* 803606A4 0035D604 38 A1 00 68 */ addi r5, r1, 0x68 +/* 803606A8 0035D608 4B FB 22 A9 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 803606AC 0035D60C 38 61 01 28 */ addi r3, r1, 0x128 +/* 803606B0 0035D610 38 81 00 F8 */ addi r4, r1, 0xf8 +/* 803606B4 0035D614 38 BC 00 44 */ addi r5, r28, 0x44 +/* 803606B8 0035D618 4B FB 22 99 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 803606BC 0035D61C 38 61 01 58 */ addi r3, r1, 0x158 +/* 803606C0 0035D620 38 81 01 28 */ addi r4, r1, 0x128 +/* 803606C4 0035D624 38 A1 00 38 */ addi r5, r1, 0x38 +/* 803606C8 0035D628 4B FB 22 89 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 803606CC 0035D62C 38 61 01 88 */ addi r3, r1, 0x188 +/* 803606D0 0035D630 38 81 01 58 */ addi r4, r1, 0x158 +/* 803606D4 0035D634 38 A1 00 08 */ addi r5, r1, 8 +/* 803606D8 0035D638 4B FB 22 79 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 803606DC 0035D63C 38 61 01 88 */ addi r3, r1, 0x188 +/* 803606E0 0035D640 4B FA BF 01 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 803606E4 0035D644 38 60 00 00 */ li r3, 0 +/* 803606E8 0035D648 4B FA B3 89 */ bl SetCullMode__9CGraphicsF12ERglCullMode +/* 803606EC 0035D64C 7F 83 E3 78 */ mr r3, r28 +/* 803606F0 0035D650 4B FF FE 75 */ bl SetupLineGXMaterial__17CParticleElectricFv +/* 803606F4 0035D654 83 DC 03 EC */ lwz r30, 0x3ec(r28) +/* 803606F8 0035D658 3B BC 02 E8 */ addi r29, r28, 0x2e8 +/* 803606FC 0035D65C 48 00 00 84 */ b lbl_80360780 +lbl_80360700: +/* 80360700 0035D660 80 7C 00 24 */ lwz r3, 0x24(r28) +/* 80360704 0035D664 80 9E 00 08 */ lwz r4, 8(r30) +/* 80360708 0035D668 80 03 00 28 */ lwz r0, 0x28(r3) +/* 8036070C 0035D66C 54 83 18 38 */ slwi r3, r4, 3 +/* 80360710 0035D670 38 63 00 04 */ addi r3, r3, 4 +/* 80360714 0035D674 28 00 00 00 */ cmplwi r0, 0 +/* 80360718 0035D678 7F FD 18 2E */ lwzx r31, r29, r3 +/* 8036071C 0035D67C 41 82 00 18 */ beq lbl_80360734 +/* 80360720 0035D680 C0 3F 00 10 */ lfs f1, 0x10(r31) +/* 80360724 0035D684 7F 83 E3 78 */ mr r3, r28 +/* 80360728 0035D688 7F E4 FB 78 */ mr r4, r31 +/* 8036072C 0035D68C 38 BF 00 1C */ addi r5, r31, 0x1c +/* 80360730 0035D690 4B FF FC 09 */ bl "DrawLineStrip__17CParticleElectricFRCQ24rstl45vector<9CVector3f,Q24rstl17aligned_allocator>fRC6CColor" +lbl_80360734: +/* 80360734 0035D694 80 7C 00 24 */ lwz r3, 0x24(r28) +/* 80360738 0035D698 80 03 00 2C */ lwz r0, 0x2c(r3) +/* 8036073C 0035D69C 28 00 00 00 */ cmplwi r0, 0 +/* 80360740 0035D6A0 41 82 00 18 */ beq lbl_80360758 +/* 80360744 0035D6A4 C0 3F 00 14 */ lfs f1, 0x14(r31) +/* 80360748 0035D6A8 7F 83 E3 78 */ mr r3, r28 +/* 8036074C 0035D6AC 7F E4 FB 78 */ mr r4, r31 +/* 80360750 0035D6B0 38 BF 00 20 */ addi r5, r31, 0x20 +/* 80360754 0035D6B4 4B FF FB E5 */ bl "DrawLineStrip__17CParticleElectricFRCQ24rstl45vector<9CVector3f,Q24rstl17aligned_allocator>fRC6CColor" +lbl_80360758: +/* 80360758 0035D6B8 80 7C 00 24 */ lwz r3, 0x24(r28) +/* 8036075C 0035D6BC 80 03 00 30 */ lwz r0, 0x30(r3) +/* 80360760 0035D6C0 28 00 00 00 */ cmplwi r0, 0 +/* 80360764 0035D6C4 41 82 00 18 */ beq lbl_8036077C +/* 80360768 0035D6C8 C0 3F 00 18 */ lfs f1, 0x18(r31) +/* 8036076C 0035D6CC 7F 83 E3 78 */ mr r3, r28 +/* 80360770 0035D6D0 7F E4 FB 78 */ mr r4, r31 +/* 80360774 0035D6D4 38 BF 00 24 */ addi r5, r31, 0x24 +/* 80360778 0035D6D8 4B FF FB C1 */ bl "DrawLineStrip__17CParticleElectricFRCQ24rstl45vector<9CVector3f,Q24rstl17aligned_allocator>fRC6CColor" +lbl_8036077C: +/* 8036077C 0035D6DC 83 DE 00 04 */ lwz r30, 4(r30) +lbl_80360780: +/* 80360780 0035D6E0 80 1C 03 F0 */ lwz r0, 0x3f0(r28) +/* 80360784 0035D6E4 7C 1E 00 40 */ cmplw r30, r0 +/* 80360788 0035D6E8 40 82 FF 78 */ bne lbl_80360700 +/* 8036078C 0035D6EC 38 60 00 01 */ li r3, 1 +/* 80360790 0035D6F0 4B FA B2 E1 */ bl SetCullMode__9CGraphicsF12ERglCullMode +/* 80360794 0035D6F4 C0 22 CD 48 */ lfs f1, lbl_805AEA68@sda21(r2) +/* 80360798 0035D6F8 38 60 00 00 */ li r3, 0 +/* 8036079C 0035D6FC 4B FA AC 3D */ bl SetLineWidth__9CGraphicsFf13ERglTexOffset +/* 803607A0 0035D700 80 01 01 D4 */ lwz r0, 0x1d4(r1) +/* 803607A4 0035D704 83 E1 01 CC */ lwz r31, 0x1cc(r1) +/* 803607A8 0035D708 83 C1 01 C8 */ lwz r30, 0x1c8(r1) +/* 803607AC 0035D70C 83 A1 01 C4 */ lwz r29, 0x1c4(r1) +/* 803607B0 0035D710 83 81 01 C0 */ lwz r28, 0x1c0(r1) +/* 803607B4 0035D714 7C 08 03 A6 */ mtlr r0 +/* 803607B8 0035D718 38 21 01 D0 */ addi r1, r1, 0x1d0 +/* 803607BC 0035D71C 4E 80 00 20 */ blr + +.global RenderSwooshes__17CParticleElectricFv +RenderSwooshes__17CParticleElectricFv: +/* 803607C0 0035D720 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803607C4 0035D724 7C 08 02 A6 */ mflr r0 +/* 803607C8 0035D728 90 01 00 24 */ stw r0, 0x24(r1) +/* 803607CC 0035D72C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 803607D0 0035D730 93 C1 00 18 */ stw r30, 0x18(r1) +/* 803607D4 0035D734 93 A1 00 14 */ stw r29, 0x14(r1) +/* 803607D8 0035D738 7C 7D 1B 78 */ mr r29, r3 +/* 803607DC 0035D73C 3B DD 01 E4 */ addi r30, r29, 0x1e4 +/* 803607E0 0035D740 83 E3 03 EC */ lwz r31, 0x3ec(r3) +/* 803607E4 0035D744 48 00 00 28 */ b lbl_8036080C +lbl_803607E8: +/* 803607E8 0035D748 80 1F 00 08 */ lwz r0, 8(r31) +/* 803607EC 0035D74C 54 03 18 38 */ slwi r3, r0, 3 +/* 803607F0 0035D750 38 03 00 04 */ addi r0, r3, 4 +/* 803607F4 0035D754 7C 7E 00 2E */ lwzx r3, r30, r0 +/* 803607F8 0035D758 81 83 00 00 */ lwz r12, 0(r3) +/* 803607FC 0035D75C 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 80360800 0035D760 7D 89 03 A6 */ mtctr r12 +/* 80360804 0035D764 4E 80 04 21 */ bctrl +/* 80360808 0035D768 83 FF 00 04 */ lwz r31, 4(r31) +lbl_8036080C: +/* 8036080C 0035D76C 80 1D 03 F0 */ lwz r0, 0x3f0(r29) +/* 80360810 0035D770 7C 1F 00 40 */ cmplw r31, r0 +/* 80360814 0035D774 40 82 FF D4 */ bne lbl_803607E8 +/* 80360818 0035D778 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8036081C 0035D77C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80360820 0035D780 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80360824 0035D784 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80360828 0035D788 7C 08 03 A6 */ mtlr r0 +/* 8036082C 0035D78C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80360830 0035D790 4E 80 00 20 */ blr + +.global Render__17CParticleElectricFv +Render__17CParticleElectricFv: +/* 80360834 0035D794 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80360838 0035D798 7C 08 02 A6 */ mflr r0 +/* 8036083C 0035D79C 90 01 00 34 */ stw r0, 0x34(r1) +/* 80360840 0035D7A0 DB E1 00 20 */ stfd f31, 0x20(r1) +/* 80360844 0035D7A4 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 80360848 0035D7A8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8036084C 0035D7AC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80360850 0035D7B0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80360854 0035D7B4 93 81 00 10 */ stw r28, 0x10(r1) +/* 80360858 0035D7B8 7C 7E 1B 78 */ mr r30, r3 +/* 8036085C 0035D7BC 48 02 4B 4D */ bl OSGetTime +/* 80360860 0035D7C0 80 AD A6 7C */ lwz r5, lbl_805A923C@sda21(r13) +/* 80360864 0035D7C4 80 0D A6 78 */ lwz r0, lbl_805A9238@sda21(r13) +/* 80360868 0035D7C8 7C 85 20 10 */ subfc r4, r5, r4 +/* 8036086C 0035D7CC 7C 60 19 10 */ subfe r3, r0, r3 +/* 80360870 0035D7D0 48 02 96 F5 */ bl __cvt_sll_flt +/* 80360874 0035D7D4 3C 60 80 5A */ lis r3, mData__10CStopwatch@ha +/* 80360878 0035D7D8 80 1E 03 FC */ lwz r0, 0x3fc(r30) +/* 8036087C 0035D7DC 3B E3 FD 30 */ addi r31, r3, mData__10CStopwatch@l +/* 80360880 0035D7E0 C0 1F 00 10 */ lfs f0, 0x10(r31) +/* 80360884 0035D7E4 2C 00 00 00 */ cmpwi r0, 0 +/* 80360888 0035D7E8 EF E1 00 32 */ fmuls f31, f1, f0 +/* 8036088C 0035D7EC 41 82 00 40 */ beq lbl_803608CC +/* 80360890 0035D7F0 88 1E 04 50 */ lbz r0, 0x450(r30) +/* 80360894 0035D7F4 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 80360898 0035D7F8 41 82 00 0C */ beq lbl_803608A4 +/* 8036089C 0035D7FC 7F C3 F3 78 */ mr r3, r30 +/* 803608A0 0035D800 4B FF E1 99 */ bl UpdateCachedTransform__17CParticleElectricFv +lbl_803608A4: +/* 803608A4 0035D804 88 1E 04 50 */ lbz r0, 0x450(r30) +/* 803608A8 0035D808 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 803608AC 0035D80C 41 82 00 0C */ beq lbl_803608B8 +/* 803608B0 0035D810 7F C3 F3 78 */ mr r3, r30 +/* 803608B4 0035D814 4B FF FF 0D */ bl RenderSwooshes__17CParticleElectricFv +lbl_803608B8: +/* 803608B8 0035D818 88 1E 04 50 */ lbz r0, 0x450(r30) +/* 803608BC 0035D81C 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 803608C0 0035D820 41 82 00 0C */ beq lbl_803608CC +/* 803608C4 0035D824 7F C3 F3 78 */ mr r3, r30 +/* 803608C8 0035D828 4B FF FD 4D */ bl RenderLines__17CParticleElectricFv +lbl_803608CC: +/* 803608CC 0035D82C 88 1E 04 50 */ lbz r0, 0x450(r30) +/* 803608D0 0035D830 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 803608D4 0035D834 41 82 00 40 */ beq lbl_80360914 +/* 803608D8 0035D838 3B 80 00 00 */ li r28, 0 +/* 803608DC 0035D83C 3B A0 00 00 */ li r29, 0 +/* 803608E0 0035D840 48 00 00 28 */ b lbl_80360908 +lbl_803608E4: +/* 803608E4 0035D844 80 7E 04 0C */ lwz r3, 0x40c(r30) +/* 803608E8 0035D848 38 1D 00 04 */ addi r0, r29, 4 +/* 803608EC 0035D84C 7C 63 00 2E */ lwzx r3, r3, r0 +/* 803608F0 0035D850 81 83 00 00 */ lwz r12, 0(r3) +/* 803608F4 0035D854 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 803608F8 0035D858 7D 89 03 A6 */ mtctr r12 +/* 803608FC 0035D85C 4E 80 04 21 */ bctrl +/* 80360900 0035D860 3B BD 00 08 */ addi r29, r29, 8 +/* 80360904 0035D864 3B 9C 00 01 */ addi r28, r28, 1 +lbl_80360908: +/* 80360908 0035D868 80 1E 01 54 */ lwz r0, 0x154(r30) +/* 8036090C 0035D86C 7C 1C 00 00 */ cmpw r28, r0 +/* 80360910 0035D870 41 80 FF D4 */ blt lbl_803608E4 +lbl_80360914: +/* 80360914 0035D874 88 1E 04 50 */ lbz r0, 0x450(r30) +/* 80360918 0035D878 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 8036091C 0035D87C 41 82 00 40 */ beq lbl_8036095C +/* 80360920 0035D880 3B 80 00 00 */ li r28, 0 +/* 80360924 0035D884 3B A0 00 00 */ li r29, 0 +/* 80360928 0035D888 48 00 00 28 */ b lbl_80360950 +lbl_8036092C: +/* 8036092C 0035D88C 80 7E 04 1C */ lwz r3, 0x41c(r30) +/* 80360930 0035D890 38 1D 00 04 */ addi r0, r29, 4 +/* 80360934 0035D894 7C 63 00 2E */ lwzx r3, r3, r0 +/* 80360938 0035D898 81 83 00 00 */ lwz r12, 0(r3) +/* 8036093C 0035D89C 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 80360940 0035D8A0 7D 89 03 A6 */ mtctr r12 +/* 80360944 0035D8A4 4E 80 04 21 */ bctrl +/* 80360948 0035D8A8 3B BD 00 08 */ addi r29, r29, 8 +/* 8036094C 0035D8AC 3B 9C 00 01 */ addi r28, r28, 1 +lbl_80360950: +/* 80360950 0035D8B0 80 1E 01 54 */ lwz r0, 0x154(r30) +/* 80360954 0035D8B4 7C 1C 00 00 */ cmpw r28, r0 +/* 80360958 0035D8B8 41 80 FF D4 */ blt lbl_8036092C +lbl_8036095C: +/* 8036095C 0035D8BC 48 02 4A 4D */ bl OSGetTime +/* 80360960 0035D8C0 80 AD A6 7C */ lwz r5, lbl_805A923C@sda21(r13) +/* 80360964 0035D8C4 80 0D A6 78 */ lwz r0, lbl_805A9238@sda21(r13) +/* 80360968 0035D8C8 7C 85 20 10 */ subfc r4, r5, r4 +/* 8036096C 0035D8CC 7C 60 19 10 */ subfe r3, r0, r3 +/* 80360970 0035D8D0 48 02 95 F5 */ bl __cvt_sll_flt +/* 80360974 0035D8D4 C0 1F 00 10 */ lfs f0, 0x10(r31) +/* 80360978 0035D8D8 EC 01 00 32 */ fmuls f0, f1, f0 +/* 8036097C 0035D8DC EC 00 F8 28 */ fsubs f0, f0, f31 +/* 80360980 0035D8E0 D0 1E 01 2C */ stfs f0, 0x12c(r30) +/* 80360984 0035D8E4 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 80360988 0035D8E8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8036098C 0035D8EC CB E1 00 20 */ lfd f31, 0x20(r1) +/* 80360990 0035D8F0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80360994 0035D8F4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80360998 0035D8F8 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8036099C 0035D8FC 83 81 00 10 */ lwz r28, 0x10(r1) +/* 803609A0 0035D900 7C 08 03 A6 */ mtlr r0 +/* 803609A4 0035D904 38 21 00 30 */ addi r1, r1, 0x30 +/* 803609A8 0035D908 4E 80 00 20 */ blr + +.global Update__17CParticleElectricFd +Update__17CParticleElectricFd: +/* 803609AC 0035D90C 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 803609B0 0035D910 7C 08 02 A6 */ mflr r0 +/* 803609B4 0035D914 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 803609B8 0035D918 DB E1 00 B0 */ stfd f31, 0xb0(r1) +/* 803609BC 0035D91C F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0 +/* 803609C0 0035D920 DB C1 00 A0 */ stfd f30, 0xa0(r1) +/* 803609C4 0035D924 F3 C1 00 A8 */ psq_st f30, 168(r1), 0, qr0 +/* 803609C8 0035D928 93 E1 00 9C */ stw r31, 0x9c(r1) +/* 803609CC 0035D92C 93 C1 00 98 */ stw r30, 0x98(r1) +/* 803609D0 0035D930 93 A1 00 94 */ stw r29, 0x94(r1) +/* 803609D4 0035D934 93 81 00 90 */ stw r28, 0x90(r1) +/* 803609D8 0035D938 FF C0 08 90 */ fmr f30, f1 +/* 803609DC 0035D93C 7C 7D 1B 78 */ mr r29, r3 +/* 803609E0 0035D940 38 61 00 14 */ addi r3, r1, 0x14 +/* 803609E4 0035D944 38 9D 01 4C */ addi r4, r29, 0x14c +/* 803609E8 0035D948 4B FB 1C 99 */ bl __ct__13CGlobalRandomFR9CRandom16 +/* 803609EC 0035D94C 88 1D 04 50 */ lbz r0, 0x450(r29) +/* 803609F0 0035D950 3B C0 00 00 */ li r30, 0 +/* 803609F4 0035D954 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 803609F8 0035D958 41 82 00 48 */ beq lbl_80360A40 +/* 803609FC 0035D95C 3B 80 00 00 */ li r28, 0 +/* 80360A00 0035D960 3B E0 00 00 */ li r31, 0 +/* 80360A04 0035D964 48 00 00 30 */ b lbl_80360A34 +lbl_80360A08: +/* 80360A08 0035D968 80 7D 04 0C */ lwz r3, 0x40c(r29) +/* 80360A0C 0035D96C 38 1F 00 04 */ addi r0, r31, 4 +/* 80360A10 0035D970 7C 63 00 2E */ lwzx r3, r3, r0 +/* 80360A14 0035D974 81 83 00 00 */ lwz r12, 0(r3) +/* 80360A18 0035D978 81 8C 00 58 */ lwz r12, 0x58(r12) +/* 80360A1C 0035D97C 7D 89 03 A6 */ mtctr r12 +/* 80360A20 0035D980 4E 80 04 21 */ bctrl +/* 80360A24 0035D984 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80360A28 0035D988 41 82 00 18 */ beq lbl_80360A40 +/* 80360A2C 0035D98C 3B FF 00 08 */ addi r31, r31, 8 +/* 80360A30 0035D990 3B 9C 00 01 */ addi r28, r28, 1 +lbl_80360A34: +/* 80360A34 0035D994 80 1D 01 54 */ lwz r0, 0x154(r29) +/* 80360A38 0035D998 7C 1C 00 00 */ cmpw r28, r0 +/* 80360A3C 0035D99C 41 80 FF CC */ blt lbl_80360A08 +lbl_80360A40: +/* 80360A40 0035D9A0 88 1D 04 50 */ lbz r0, 0x450(r29) +/* 80360A44 0035D9A4 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80360A48 0035D9A8 41 82 00 48 */ beq lbl_80360A90 +/* 80360A4C 0035D9AC 3B 80 00 00 */ li r28, 0 +/* 80360A50 0035D9B0 3B E0 00 00 */ li r31, 0 +/* 80360A54 0035D9B4 48 00 00 30 */ b lbl_80360A84 +lbl_80360A58: +/* 80360A58 0035D9B8 80 7D 04 1C */ lwz r3, 0x41c(r29) +/* 80360A5C 0035D9BC 38 1F 00 04 */ addi r0, r31, 4 +/* 80360A60 0035D9C0 7C 63 00 2E */ lwzx r3, r3, r0 +/* 80360A64 0035D9C4 81 83 00 00 */ lwz r12, 0(r3) +/* 80360A68 0035D9C8 81 8C 00 58 */ lwz r12, 0x58(r12) +/* 80360A6C 0035D9CC 7D 89 03 A6 */ mtctr r12 +/* 80360A70 0035D9D0 4E 80 04 21 */ bctrl +/* 80360A74 0035D9D4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80360A78 0035D9D8 41 82 00 18 */ beq lbl_80360A90 +/* 80360A7C 0035D9DC 3B FF 00 08 */ addi r31, r31, 8 +/* 80360A80 0035D9E0 3B 9C 00 01 */ addi r28, r28, 1 +lbl_80360A84: +/* 80360A84 0035D9E4 80 1D 01 54 */ lwz r0, 0x154(r29) +/* 80360A88 0035D9E8 7C 1C 00 00 */ cmpw r28, r0 +/* 80360A8C 0035D9EC 41 80 FF CC */ blt lbl_80360A58 +lbl_80360A90: +/* 80360A90 0035D9F0 88 1D 04 50 */ lbz r0, 0x450(r29) +/* 80360A94 0035D9F4 3B E0 00 00 */ li r31, 0 +/* 80360A98 0035D9F8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80360A9C 0035D9FC 41 82 00 18 */ beq lbl_80360AB4 +/* 80360AA0 0035DA00 80 7D 00 28 */ lwz r3, 0x28(r29) +/* 80360AA4 0035DA04 80 1D 00 2C */ lwz r0, 0x2c(r29) +/* 80360AA8 0035DA08 7C 03 00 00 */ cmpw r3, r0 +/* 80360AAC 0035DA0C 40 80 00 08 */ bge lbl_80360AB4 +/* 80360AB0 0035DA10 3B E0 00 01 */ li r31, 1 +lbl_80360AB4: +/* 80360AB4 0035DA14 80 7D 00 28 */ lwz r3, 0x28(r29) +/* 80360AB8 0035DA18 3C 00 43 30 */ lis r0, 0x4330 +/* 80360ABC 0035DA1C C8 1D 00 30 */ lfd f0, 0x30(r29) +/* 80360AC0 0035DA20 6C 63 80 00 */ xoris r3, r3, 0x8000 +/* 80360AC4 0035DA24 90 01 00 80 */ stw r0, 0x80(r1) +/* 80360AC8 0035DA28 FC 00 F0 2A */ fadd f0, f0, f30 +/* 80360ACC 0035DA2C C8 42 CD 58 */ lfd f2, lbl_805AEA78@sda21(r2) +/* 80360AD0 0035DA30 90 61 00 84 */ stw r3, 0x84(r1) +/* 80360AD4 0035DA34 C8 62 CD 60 */ lfd f3, lbl_805AEA80@sda21(r2) +/* 80360AD8 0035DA38 C8 21 00 80 */ lfd f1, 0x80(r1) +/* 80360ADC 0035DA3C D8 1D 00 30 */ stfd f0, 0x30(r29) +/* 80360AE0 0035DA40 FC 01 10 28 */ fsub f0, f1, f2 +/* 80360AE4 0035DA44 88 1D 04 50 */ lbz r0, 0x450(r29) +/* 80360AE8 0035DA48 FF C3 00 32 */ fmul f30, f3, f0 +/* 80360AEC 0035DA4C 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 80360AF0 0035DA50 41 82 02 50 */ beq lbl_80360D40 +/* 80360AF4 0035DA54 7F A3 EB 78 */ mr r3, r29 +/* 80360AF8 0035DA58 4B FF DF 41 */ bl UpdateCachedTransform__17CParticleElectricFv +/* 80360AFC 0035DA5C 38 61 00 20 */ addi r3, r1, 0x20 +/* 80360B00 0035DA60 38 9D 00 F8 */ addi r4, r29, 0xf8 +/* 80360B04 0035DA64 4B FB 21 3D */ bl GetRotation__12CTransform4fCFv +/* 80360B08 0035DA68 38 61 00 50 */ addi r3, r1, 0x50 +/* 80360B0C 0035DA6C 38 81 00 20 */ addi r4, r1, 0x20 +/* 80360B10 0035DA70 4B FB 20 65 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80360B14 0035DA74 C0 5D 01 24 */ lfs f2, 0x124(r29) +/* 80360B18 0035DA78 C0 3D 01 14 */ lfs f1, 0x114(r29) +/* 80360B1C 0035DA7C C0 1D 01 04 */ lfs f0, 0x104(r29) +/* 80360B20 0035DA80 D0 01 00 08 */ stfs f0, 8(r1) +/* 80360B24 0035DA84 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 80360B28 0035DA88 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 80360B2C 0035DA8C 88 1D 04 50 */ lbz r0, 0x450(r29) +/* 80360B30 0035DA90 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 80360B34 0035DA94 41 82 00 B0 */ beq lbl_80360BE4 +/* 80360B38 0035DA98 83 DD 03 EC */ lwz r30, 0x3ec(r29) +/* 80360B3C 0035DA9C 3B 9D 01 E4 */ addi r28, r29, 0x1e4 +/* 80360B40 0035DAA0 48 00 00 98 */ b lbl_80360BD8 +lbl_80360B44: +/* 80360B44 0035DAA4 80 1E 00 08 */ lwz r0, 8(r30) +/* 80360B48 0035DAA8 38 81 00 08 */ addi r4, r1, 8 +/* 80360B4C 0035DAAC 54 03 18 38 */ slwi r3, r0, 3 +/* 80360B50 0035DAB0 38 03 00 04 */ addi r0, r3, 4 +/* 80360B54 0035DAB4 7C 7C 00 2E */ lwzx r3, r28, r0 +/* 80360B58 0035DAB8 81 83 00 00 */ lwz r12, 0(r3) +/* 80360B5C 0035DABC 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 80360B60 0035DAC0 7D 89 03 A6 */ mtctr r12 +/* 80360B64 0035DAC4 4E 80 04 21 */ bctrl +/* 80360B68 0035DAC8 80 1E 00 08 */ lwz r0, 8(r30) +/* 80360B6C 0035DACC 38 81 00 50 */ addi r4, r1, 0x50 +/* 80360B70 0035DAD0 54 03 18 38 */ slwi r3, r0, 3 +/* 80360B74 0035DAD4 38 03 00 04 */ addi r0, r3, 4 +/* 80360B78 0035DAD8 7C 7C 00 2E */ lwzx r3, r28, r0 +/* 80360B7C 0035DADC 81 83 00 00 */ lwz r12, 0(r3) +/* 80360B80 0035DAE0 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 80360B84 0035DAE4 7D 89 03 A6 */ mtctr r12 +/* 80360B88 0035DAE8 4E 80 04 21 */ bctrl +/* 80360B8C 0035DAEC 80 1E 00 08 */ lwz r0, 8(r30) +/* 80360B90 0035DAF0 38 9D 00 E0 */ addi r4, r29, 0xe0 +/* 80360B94 0035DAF4 54 03 18 38 */ slwi r3, r0, 3 +/* 80360B98 0035DAF8 38 03 00 04 */ addi r0, r3, 4 +/* 80360B9C 0035DAFC 7C 7C 00 2E */ lwzx r3, r28, r0 +/* 80360BA0 0035DB00 81 83 00 00 */ lwz r12, 0(r3) +/* 80360BA4 0035DB04 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 80360BA8 0035DB08 7D 89 03 A6 */ mtctr r12 +/* 80360BAC 0035DB0C 4E 80 04 21 */ bctrl +/* 80360BB0 0035DB10 80 1E 00 08 */ lwz r0, 8(r30) +/* 80360BB4 0035DB14 38 9D 00 EC */ addi r4, r29, 0xec +/* 80360BB8 0035DB18 54 03 18 38 */ slwi r3, r0, 3 +/* 80360BBC 0035DB1C 38 03 00 04 */ addi r0, r3, 4 +/* 80360BC0 0035DB20 7C 7C 00 2E */ lwzx r3, r28, r0 +/* 80360BC4 0035DB24 81 83 00 00 */ lwz r12, 0(r3) +/* 80360BC8 0035DB28 81 8C 00 28 */ lwz r12, 0x28(r12) +/* 80360BCC 0035DB2C 7D 89 03 A6 */ mtctr r12 +/* 80360BD0 0035DB30 4E 80 04 21 */ bctrl +/* 80360BD4 0035DB34 83 DE 00 04 */ lwz r30, 4(r30) +lbl_80360BD8: +/* 80360BD8 0035DB38 80 1D 03 F0 */ lwz r0, 0x3f0(r29) +/* 80360BDC 0035DB3C 7C 1E 00 40 */ cmplw r30, r0 +/* 80360BE0 0035DB40 40 82 FF 64 */ bne lbl_80360B44 +lbl_80360BE4: +/* 80360BE4 0035DB44 88 1D 04 50 */ lbz r0, 0x450(r29) +/* 80360BE8 0035DB48 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80360BEC 0035DB4C 41 82 00 A4 */ beq lbl_80360C90 +/* 80360BF0 0035DB50 3B C0 00 00 */ li r30, 0 +/* 80360BF4 0035DB54 3B 80 00 00 */ li r28, 0 +/* 80360BF8 0035DB58 48 00 00 8C */ b lbl_80360C84 +lbl_80360BFC: +/* 80360BFC 0035DB5C 80 7D 04 0C */ lwz r3, 0x40c(r29) +/* 80360C00 0035DB60 38 1C 00 04 */ addi r0, r28, 4 +/* 80360C04 0035DB64 38 81 00 08 */ addi r4, r1, 8 +/* 80360C08 0035DB68 7C 63 00 2E */ lwzx r3, r3, r0 +/* 80360C0C 0035DB6C 81 83 00 00 */ lwz r12, 0(r3) +/* 80360C10 0035DB70 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 80360C14 0035DB74 7D 89 03 A6 */ mtctr r12 +/* 80360C18 0035DB78 4E 80 04 21 */ bctrl +/* 80360C1C 0035DB7C 80 7D 04 0C */ lwz r3, 0x40c(r29) +/* 80360C20 0035DB80 38 1C 00 04 */ addi r0, r28, 4 +/* 80360C24 0035DB84 38 81 00 50 */ addi r4, r1, 0x50 +/* 80360C28 0035DB88 7C 63 00 2E */ lwzx r3, r3, r0 +/* 80360C2C 0035DB8C 81 83 00 00 */ lwz r12, 0(r3) +/* 80360C30 0035DB90 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 80360C34 0035DB94 7D 89 03 A6 */ mtctr r12 +/* 80360C38 0035DB98 4E 80 04 21 */ bctrl +/* 80360C3C 0035DB9C 80 7D 04 0C */ lwz r3, 0x40c(r29) +/* 80360C40 0035DBA0 38 1C 00 04 */ addi r0, r28, 4 +/* 80360C44 0035DBA4 38 9D 00 E0 */ addi r4, r29, 0xe0 +/* 80360C48 0035DBA8 7C 63 00 2E */ lwzx r3, r3, r0 +/* 80360C4C 0035DBAC 81 83 00 00 */ lwz r12, 0(r3) +/* 80360C50 0035DBB0 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 80360C54 0035DBB4 7D 89 03 A6 */ mtctr r12 +/* 80360C58 0035DBB8 4E 80 04 21 */ bctrl +/* 80360C5C 0035DBBC 80 7D 04 0C */ lwz r3, 0x40c(r29) +/* 80360C60 0035DBC0 38 1C 00 04 */ addi r0, r28, 4 +/* 80360C64 0035DBC4 38 9D 00 EC */ addi r4, r29, 0xec +/* 80360C68 0035DBC8 7C 63 00 2E */ lwzx r3, r3, r0 +/* 80360C6C 0035DBCC 81 83 00 00 */ lwz r12, 0(r3) +/* 80360C70 0035DBD0 81 8C 00 28 */ lwz r12, 0x28(r12) +/* 80360C74 0035DBD4 7D 89 03 A6 */ mtctr r12 +/* 80360C78 0035DBD8 4E 80 04 21 */ bctrl +/* 80360C7C 0035DBDC 3B 9C 00 08 */ addi r28, r28, 8 +/* 80360C80 0035DBE0 3B DE 00 01 */ addi r30, r30, 1 +lbl_80360C84: +/* 80360C84 0035DBE4 80 1D 01 54 */ lwz r0, 0x154(r29) +/* 80360C88 0035DBE8 7C 1E 00 00 */ cmpw r30, r0 +/* 80360C8C 0035DBEC 41 80 FF 70 */ blt lbl_80360BFC +lbl_80360C90: +/* 80360C90 0035DBF0 88 1D 04 50 */ lbz r0, 0x450(r29) +/* 80360C94 0035DBF4 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80360C98 0035DBF8 41 82 00 A4 */ beq lbl_80360D3C +/* 80360C9C 0035DBFC 3B C0 00 00 */ li r30, 0 +/* 80360CA0 0035DC00 3B 80 00 00 */ li r28, 0 +/* 80360CA4 0035DC04 48 00 00 8C */ b lbl_80360D30 +lbl_80360CA8: +/* 80360CA8 0035DC08 80 7D 04 1C */ lwz r3, 0x41c(r29) +/* 80360CAC 0035DC0C 38 1C 00 04 */ addi r0, r28, 4 +/* 80360CB0 0035DC10 38 81 00 08 */ addi r4, r1, 8 +/* 80360CB4 0035DC14 7C 63 00 2E */ lwzx r3, r3, r0 +/* 80360CB8 0035DC18 81 83 00 00 */ lwz r12, 0(r3) +/* 80360CBC 0035DC1C 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 80360CC0 0035DC20 7D 89 03 A6 */ mtctr r12 +/* 80360CC4 0035DC24 4E 80 04 21 */ bctrl +/* 80360CC8 0035DC28 80 7D 04 1C */ lwz r3, 0x41c(r29) +/* 80360CCC 0035DC2C 38 1C 00 04 */ addi r0, r28, 4 +/* 80360CD0 0035DC30 38 81 00 50 */ addi r4, r1, 0x50 +/* 80360CD4 0035DC34 7C 63 00 2E */ lwzx r3, r3, r0 +/* 80360CD8 0035DC38 81 83 00 00 */ lwz r12, 0(r3) +/* 80360CDC 0035DC3C 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 80360CE0 0035DC40 7D 89 03 A6 */ mtctr r12 +/* 80360CE4 0035DC44 4E 80 04 21 */ bctrl +/* 80360CE8 0035DC48 80 7D 04 1C */ lwz r3, 0x41c(r29) +/* 80360CEC 0035DC4C 38 1C 00 04 */ addi r0, r28, 4 +/* 80360CF0 0035DC50 38 9D 00 E0 */ addi r4, r29, 0xe0 +/* 80360CF4 0035DC54 7C 63 00 2E */ lwzx r3, r3, r0 +/* 80360CF8 0035DC58 81 83 00 00 */ lwz r12, 0(r3) +/* 80360CFC 0035DC5C 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 80360D00 0035DC60 7D 89 03 A6 */ mtctr r12 +/* 80360D04 0035DC64 4E 80 04 21 */ bctrl +/* 80360D08 0035DC68 80 7D 04 1C */ lwz r3, 0x41c(r29) +/* 80360D0C 0035DC6C 38 1C 00 04 */ addi r0, r28, 4 +/* 80360D10 0035DC70 38 9D 00 EC */ addi r4, r29, 0xec +/* 80360D14 0035DC74 7C 63 00 2E */ lwzx r3, r3, r0 +/* 80360D18 0035DC78 81 83 00 00 */ lwz r12, 0(r3) +/* 80360D1C 0035DC7C 81 8C 00 28 */ lwz r12, 0x28(r12) +/* 80360D20 0035DC80 7D 89 03 A6 */ mtctr r12 +/* 80360D24 0035DC84 4E 80 04 21 */ bctrl +/* 80360D28 0035DC88 3B 9C 00 08 */ addi r28, r28, 8 +/* 80360D2C 0035DC8C 3B DE 00 01 */ addi r30, r30, 1 +lbl_80360D30: +/* 80360D30 0035DC90 80 1D 01 54 */ lwz r0, 0x154(r29) +/* 80360D34 0035DC94 7C 1E 00 00 */ cmpw r30, r0 +/* 80360D38 0035DC98 41 80 FF 70 */ blt lbl_80360CA8 +lbl_80360D3C: +/* 80360D3C 0035DC9C 3B C0 00 01 */ li r30, 1 +lbl_80360D40: +/* 80360D40 0035DCA0 CB E2 CD 60 */ lfd f31, lbl_805AEA80@sda21(r2) +/* 80360D44 0035DCA4 57 FF 06 3E */ clrlwi r31, r31, 0x18 +/* 80360D48 0035DCA8 48 00 01 50 */ b lbl_80360E98 +lbl_80360D4C: +/* 80360D4C 0035DCAC 80 7D 00 28 */ lwz r3, 0x28(r29) +/* 80360D50 0035DCB0 4B FC 99 F9 */ bl SetEmitterTime__16CParticleGlobalsFi +/* 80360D54 0035DCB4 7F A3 EB 78 */ mr r3, r29 +/* 80360D58 0035DCB8 4B FF EA DD */ bl UpdateElectricalEffects__17CParticleElectricFv +/* 80360D5C 0035DCBC 28 1F 00 00 */ cmplwi r31, 0 +/* 80360D60 0035DCC0 41 82 00 0C */ beq lbl_80360D6C +/* 80360D64 0035DCC4 7F A3 EB 78 */ mr r3, r29 +/* 80360D68 0035DCC8 4B FF F4 A5 */ bl AddElectricalEffects__17CParticleElectricFv +lbl_80360D6C: +/* 80360D6C 0035DCCC 88 1D 04 50 */ lbz r0, 0x450(r29) +/* 80360D70 0035DCD0 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80360D74 0035DCD4 41 82 00 84 */ beq lbl_80360DF8 +/* 80360D78 0035DCD8 80 7D 00 28 */ lwz r3, 0x28(r29) +/* 80360D7C 0035DCDC 80 1D 00 2C */ lwz r0, 0x2c(r29) +/* 80360D80 0035DCE0 7C 03 00 00 */ cmpw r3, r0 +/* 80360D84 0035DCE4 41 80 00 34 */ blt lbl_80360DB8 +/* 80360D88 0035DCE8 3B C0 00 00 */ li r30, 0 +/* 80360D8C 0035DCEC 3B 80 00 00 */ li r28, 0 +/* 80360D90 0035DCF0 48 00 00 1C */ b lbl_80360DAC +lbl_80360D94: +/* 80360D94 0035DCF4 80 7D 04 0C */ lwz r3, 0x40c(r29) +/* 80360D98 0035DCF8 38 1C 00 04 */ addi r0, r28, 4 +/* 80360D9C 0035DCFC 7C 63 00 2E */ lwzx r3, r3, r0 +/* 80360DA0 0035DD00 4B FB BA 75 */ bl EndLifetime__11CElementGenFv +/* 80360DA4 0035DD04 3B 9C 00 08 */ addi r28, r28, 8 +/* 80360DA8 0035DD08 3B DE 00 01 */ addi r30, r30, 1 +lbl_80360DAC: +/* 80360DAC 0035DD0C 80 1D 01 54 */ lwz r0, 0x154(r29) +/* 80360DB0 0035DD10 7C 1E 00 00 */ cmpw r30, r0 +/* 80360DB4 0035DD14 41 80 FF E0 */ blt lbl_80360D94 +lbl_80360DB8: +/* 80360DB8 0035DD18 3B C0 00 00 */ li r30, 0 +/* 80360DBC 0035DD1C 3B 80 00 00 */ li r28, 0 +/* 80360DC0 0035DD20 48 00 00 2C */ b lbl_80360DEC +lbl_80360DC4: +/* 80360DC4 0035DD24 80 7D 04 0C */ lwz r3, 0x40c(r29) +/* 80360DC8 0035DD28 38 1C 00 04 */ addi r0, r28, 4 +/* 80360DCC 0035DD2C C8 22 CD 60 */ lfd f1, lbl_805AEA80@sda21(r2) +/* 80360DD0 0035DD30 7C 63 00 2E */ lwzx r3, r3, r0 +/* 80360DD4 0035DD34 81 83 00 00 */ lwz r12, 0(r3) +/* 80360DD8 0035DD38 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80360DDC 0035DD3C 7D 89 03 A6 */ mtctr r12 +/* 80360DE0 0035DD40 4E 80 04 21 */ bctrl +/* 80360DE4 0035DD44 3B 9C 00 08 */ addi r28, r28, 8 +/* 80360DE8 0035DD48 3B DE 00 01 */ addi r30, r30, 1 +lbl_80360DEC: +/* 80360DEC 0035DD4C 80 1D 01 54 */ lwz r0, 0x154(r29) +/* 80360DF0 0035DD50 7C 1E 00 00 */ cmpw r30, r0 +/* 80360DF4 0035DD54 41 80 FF D0 */ blt lbl_80360DC4 +lbl_80360DF8: +/* 80360DF8 0035DD58 88 1D 04 50 */ lbz r0, 0x450(r29) +/* 80360DFC 0035DD5C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80360E00 0035DD60 41 82 00 84 */ beq lbl_80360E84 +/* 80360E04 0035DD64 80 7D 00 28 */ lwz r3, 0x28(r29) +/* 80360E08 0035DD68 80 1D 00 2C */ lwz r0, 0x2c(r29) +/* 80360E0C 0035DD6C 7C 03 00 00 */ cmpw r3, r0 +/* 80360E10 0035DD70 41 80 00 34 */ blt lbl_80360E44 +/* 80360E14 0035DD74 3B C0 00 00 */ li r30, 0 +/* 80360E18 0035DD78 3B 80 00 00 */ li r28, 0 +/* 80360E1C 0035DD7C 48 00 00 1C */ b lbl_80360E38 +lbl_80360E20: +/* 80360E20 0035DD80 80 7D 04 1C */ lwz r3, 0x41c(r29) +/* 80360E24 0035DD84 38 1C 00 04 */ addi r0, r28, 4 +/* 80360E28 0035DD88 7C 63 00 2E */ lwzx r3, r3, r0 +/* 80360E2C 0035DD8C 4B FB B9 E9 */ bl EndLifetime__11CElementGenFv +/* 80360E30 0035DD90 3B 9C 00 08 */ addi r28, r28, 8 +/* 80360E34 0035DD94 3B DE 00 01 */ addi r30, r30, 1 +lbl_80360E38: +/* 80360E38 0035DD98 80 1D 01 54 */ lwz r0, 0x154(r29) +/* 80360E3C 0035DD9C 7C 1E 00 00 */ cmpw r30, r0 +/* 80360E40 0035DDA0 41 80 FF E0 */ blt lbl_80360E20 +lbl_80360E44: +/* 80360E44 0035DDA4 3B C0 00 00 */ li r30, 0 +/* 80360E48 0035DDA8 3B 80 00 00 */ li r28, 0 +/* 80360E4C 0035DDAC 48 00 00 2C */ b lbl_80360E78 +lbl_80360E50: +/* 80360E50 0035DDB0 80 7D 04 1C */ lwz r3, 0x41c(r29) +/* 80360E54 0035DDB4 38 1C 00 04 */ addi r0, r28, 4 +/* 80360E58 0035DDB8 C8 22 CD 60 */ lfd f1, lbl_805AEA80@sda21(r2) +/* 80360E5C 0035DDBC 7C 63 00 2E */ lwzx r3, r3, r0 +/* 80360E60 0035DDC0 81 83 00 00 */ lwz r12, 0(r3) +/* 80360E64 0035DDC4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80360E68 0035DDC8 7D 89 03 A6 */ mtctr r12 +/* 80360E6C 0035DDCC 4E 80 04 21 */ bctrl +/* 80360E70 0035DDD0 3B 9C 00 08 */ addi r28, r28, 8 +/* 80360E74 0035DDD4 3B DE 00 01 */ addi r30, r30, 1 +lbl_80360E78: +/* 80360E78 0035DDD8 80 1D 01 54 */ lwz r0, 0x154(r29) +/* 80360E7C 0035DDDC 7C 1E 00 00 */ cmpw r30, r0 +/* 80360E80 0035DDE0 41 80 FF D0 */ blt lbl_80360E50 +lbl_80360E84: +/* 80360E84 0035DDE4 80 7D 00 28 */ lwz r3, 0x28(r29) +/* 80360E88 0035DDE8 FF DE F8 2A */ fadd f30, f30, f31 +/* 80360E8C 0035DDEC 3B C0 00 01 */ li r30, 1 +/* 80360E90 0035DDF0 38 03 00 01 */ addi r0, r3, 1 +/* 80360E94 0035DDF4 90 1D 00 28 */ stw r0, 0x28(r29) +lbl_80360E98: +/* 80360E98 0035DDF8 C8 1D 00 30 */ lfd f0, 0x30(r29) +/* 80360E9C 0035DDFC FC 1E 00 40 */ fcmpo cr0, f30, f0 +/* 80360EA0 0035DE00 41 80 FE AC */ blt lbl_80360D4C +/* 80360EA4 0035DE04 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 80360EA8 0035DE08 41 82 00 0C */ beq lbl_80360EB4 +/* 80360EAC 0035DE0C 7F A3 EB 78 */ mr r3, r29 +/* 80360EB0 0035DE10 4B FF E3 FD */ bl BuildBounds__17CParticleElectricFv +lbl_80360EB4: +/* 80360EB4 0035DE14 38 61 00 14 */ addi r3, r1, 0x14 +/* 80360EB8 0035DE18 38 80 FF FF */ li r4, -1 +/* 80360EBC 0035DE1C 4B FB 17 49 */ bl __dt__13CGlobalRandomFv +/* 80360EC0 0035DE20 57 C3 06 3E */ clrlwi r3, r30, 0x18 +/* 80360EC4 0035DE24 E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0 +/* 80360EC8 0035DE28 CB E1 00 B0 */ lfd f31, 0xb0(r1) +/* 80360ECC 0035DE2C E3 C1 00 A8 */ psq_l f30, 168(r1), 0, qr0 +/* 80360ED0 0035DE30 CB C1 00 A0 */ lfd f30, 0xa0(r1) +/* 80360ED4 0035DE34 83 E1 00 9C */ lwz r31, 0x9c(r1) +/* 80360ED8 0035DE38 83 C1 00 98 */ lwz r30, 0x98(r1) +/* 80360EDC 0035DE3C 83 A1 00 94 */ lwz r29, 0x94(r1) +/* 80360EE0 0035DE40 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 80360EE4 0035DE44 83 81 00 90 */ lwz r28, 0x90(r1) +/* 80360EE8 0035DE48 7C 08 03 A6 */ mtlr r0 +/* 80360EEC 0035DE4C 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 80360EF0 0035DE50 4E 80 00 20 */ blr + +.global CalculateFractal__17CParticleElectricFiiff +CalculateFractal__17CParticleElectricFiiff: +/* 80360EF4 0035DE54 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 80360EF8 0035DE58 7C 08 02 A6 */ mflr r0 +/* 80360EFC 0035DE5C 90 01 00 94 */ stw r0, 0x94(r1) +/* 80360F00 0035DE60 DB E1 00 80 */ stfd f31, 0x80(r1) +/* 80360F04 0035DE64 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 +/* 80360F08 0035DE68 DB C1 00 70 */ stfd f30, 0x70(r1) +/* 80360F0C 0035DE6C F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 +/* 80360F10 0035DE70 DB A1 00 60 */ stfd f29, 0x60(r1) +/* 80360F14 0035DE74 F3 A1 00 68 */ psq_st f29, 104(r1), 0, qr0 +/* 80360F18 0035DE78 DB 81 00 50 */ stfd f28, 0x50(r1) +/* 80360F1C 0035DE7C F3 81 00 58 */ psq_st f28, 88(r1), 0, qr0 +/* 80360F20 0035DE80 DB 61 00 40 */ stfd f27, 0x40(r1) +/* 80360F24 0035DE84 F3 61 00 48 */ psq_st f27, 72(r1), 0, qr0 +/* 80360F28 0035DE88 BF 01 00 20 */ stmw r24, 0x20(r1) +/* 80360F2C 0035DE8C 7C 7D 1B 78 */ mr r29, r3 +/* 80360F30 0035DE90 3C 60 43 30 */ lis r3, 0x4330 +/* 80360F34 0035DE94 7C 9E 23 78 */ mr r30, r4 +/* 80360F38 0035DE98 7C BF 2B 78 */ mr r31, r5 +/* 80360F3C 0035DE9C 80 1D 04 34 */ lwz r0, 0x434(r29) +/* 80360F40 0035DEA0 7C 9E F8 50 */ subf r4, r30, r31 +/* 80360F44 0035DEA4 6C 84 80 00 */ xoris r4, r4, 0x8000 +/* 80360F48 0035DEA8 7F 5E FA 14 */ add r26, r30, r31 +/* 80360F4C 0035DEAC 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 80360F50 0035DEB0 90 81 00 0C */ stw r4, 0xc(r1) +/* 80360F54 0035DEB4 57 44 0F FE */ srwi r4, r26, 0x1f +/* 80360F58 0035DEB8 C8 62 CD 58 */ lfd f3, lbl_805AEA78@sda21(r2) +/* 80360F5C 0035DEBC 90 61 00 08 */ stw r3, 8(r1) +/* 80360F60 0035DEC0 7C 84 D2 14 */ add r4, r4, r26 +/* 80360F64 0035DEC4 FF C0 08 90 */ fmr f30, f1 +/* 80360F68 0035DEC8 80 DD 04 3C */ lwz r6, 0x43c(r29) +/* 80360F6C 0035DECC C8 01 00 08 */ lfd f0, 8(r1) +/* 80360F70 0035DED0 57 C5 10 3A */ slwi r5, r30, 2 +/* 80360F74 0035DED4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80360F78 0035DED8 57 F9 10 3A */ slwi r25, r31, 2 +/* 80360F7C 0035DEDC 90 61 00 10 */ stw r3, 0x10(r1) +/* 80360F80 0035DEE0 EC 20 18 28 */ fsubs f1, f0, f3 +/* 80360F84 0035DEE4 FF E0 10 90 */ fmr f31, f2 +/* 80360F88 0035DEE8 7F 86 2C 2E */ lfsx f28, r6, r5 +/* 80360F8C 0035DEEC C8 01 00 10 */ lfd f0, 0x10(r1) +/* 80360F90 0035DEF0 7C 98 0E 70 */ srawi r24, r4, 1 +/* 80360F94 0035DEF4 7F 66 CC 2E */ lfsx f27, r6, r25 +/* 80360F98 0035DEF8 EC 00 18 28 */ fsubs f0, f0, f3 +/* 80360F9C 0035DEFC 38 7D 01 4C */ addi r3, r29, 0x14c +/* 80360FA0 0035DF00 EC 01 00 24 */ fdivs f0, f1, f0 +/* 80360FA4 0035DF04 EF A0 07 B2 */ fmuls f29, f0, f30 +/* 80360FA8 0035DF08 4B FB 15 35 */ bl Float__9CRandom16Fv +/* 80360FAC 0035DF0C EC 5D 00 72 */ fmuls f2, f29, f1 +/* 80360FB0 0035DF10 C0 22 CD 68 */ lfs f1, lbl_805AEA88@sda21(r2) +/* 80360FB4 0035DF14 EC 1C D8 2A */ fadds f0, f28, f27 +/* 80360FB8 0035DF18 83 7D 04 3C */ lwz r27, 0x43c(r29) +/* 80360FBC 0035DF1C 57 1C 10 3A */ slwi r28, r24, 2 +/* 80360FC0 0035DF20 38 7D 01 4C */ addi r3, r29, 0x14c +/* 80360FC4 0035DF24 EC 00 10 7A */ fmadds f0, f0, f1, f2 +/* 80360FC8 0035DF28 EF 7D 00 7C */ fnmsubs f27, f29, f1, f0 +/* 80360FCC 0035DF2C 4B FB 15 11 */ bl Float__9CRandom16Fv +/* 80360FD0 0035DF30 C0 02 CD 68 */ lfs f0, lbl_805AEA88@sda21(r2) +/* 80360FD4 0035DF34 57 43 0F FE */ srwi r3, r26, 0x1f +/* 80360FD8 0035DF38 57 40 07 FE */ clrlwi r0, r26, 0x1f +/* 80360FDC 0035DF3C EC 1F 00 32 */ fmuls f0, f31, f0 +/* 80360FE0 0035DF40 7C 00 1A 78 */ xor r0, r0, r3 +/* 80360FE4 0035DF44 7C 03 00 50 */ subf r0, r3, r0 +/* 80360FE8 0035DF48 2C 00 00 01 */ cmpwi r0, 1 +/* 80360FEC 0035DF4C EC 1F 00 78 */ fmsubs f0, f31, f1, f0 +/* 80360FF0 0035DF50 EC 1B 00 2A */ fadds f0, f27, f0 +/* 80360FF4 0035DF54 7C 1B E5 2E */ stfsx f0, r27, r28 +/* 80360FF8 0035DF58 40 82 00 18 */ bne lbl_80361010 +/* 80360FFC 0035DF5C 80 7D 04 3C */ lwz r3, 0x43c(r29) +/* 80361000 0035DF60 38 1F FF FF */ addi r0, r31, -1 +/* 80361004 0035DF64 54 00 10 3A */ slwi r0, r0, 2 +/* 80361008 0035DF68 7C 03 CC 2E */ lfsx f0, r3, r25 +/* 8036100C 0035DF6C 7C 03 05 2E */ stfsx f0, r3, r0 +lbl_80361010: +/* 80361010 0035DF70 7C 1E C0 50 */ subf r0, r30, r24 +/* 80361014 0035DF74 2C 00 00 01 */ cmpwi r0, 1 +/* 80361018 0035DF78 40 81 00 1C */ ble lbl_80361034 +/* 8036101C 0035DF7C FC 20 F0 90 */ fmr f1, f30 +/* 80361020 0035DF80 7F A3 EB 78 */ mr r3, r29 +/* 80361024 0035DF84 FC 40 F8 90 */ fmr f2, f31 +/* 80361028 0035DF88 7F C4 F3 78 */ mr r4, r30 +/* 8036102C 0035DF8C 7F 05 C3 78 */ mr r5, r24 +/* 80361030 0035DF90 4B FF FE C5 */ bl CalculateFractal__17CParticleElectricFiiff +lbl_80361034: +/* 80361034 0035DF94 7C 18 F8 50 */ subf r0, r24, r31 +/* 80361038 0035DF98 2C 00 00 01 */ cmpwi r0, 1 +/* 8036103C 0035DF9C 40 81 00 1C */ ble lbl_80361058 +/* 80361040 0035DFA0 FC 20 F0 90 */ fmr f1, f30 +/* 80361044 0035DFA4 7F A3 EB 78 */ mr r3, r29 +/* 80361048 0035DFA8 FC 40 F8 90 */ fmr f2, f31 +/* 8036104C 0035DFAC 7F 04 C3 78 */ mr r4, r24 +/* 80361050 0035DFB0 7F E5 FB 78 */ mr r5, r31 +/* 80361054 0035DFB4 4B FF FE A1 */ bl CalculateFractal__17CParticleElectricFiiff +lbl_80361058: +/* 80361058 0035DFB8 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 +/* 8036105C 0035DFBC CB E1 00 80 */ lfd f31, 0x80(r1) +/* 80361060 0035DFC0 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 +/* 80361064 0035DFC4 CB C1 00 70 */ lfd f30, 0x70(r1) +/* 80361068 0035DFC8 E3 A1 00 68 */ psq_l f29, 104(r1), 0, qr0 +/* 8036106C 0035DFCC CB A1 00 60 */ lfd f29, 0x60(r1) +/* 80361070 0035DFD0 E3 81 00 58 */ psq_l f28, 88(r1), 0, qr0 +/* 80361074 0035DFD4 CB 81 00 50 */ lfd f28, 0x50(r1) +/* 80361078 0035DFD8 E3 61 00 48 */ psq_l f27, 72(r1), 0, qr0 +/* 8036107C 0035DFDC CB 61 00 40 */ lfd f27, 0x40(r1) +/* 80361080 0035DFE0 BB 01 00 20 */ lmw r24, 0x20(r1) +/* 80361084 0035DFE4 80 01 00 94 */ lwz r0, 0x94(r1) +/* 80361088 0035DFE8 7C 08 03 A6 */ mtlr r0 +/* 8036108C 0035DFEC 38 21 00 90 */ addi r1, r1, 0x90 +/* 80361090 0035DFF0 4E 80 00 20 */ blr + +.global CalculatePoints__17CParticleElectricFv +CalculatePoints__17CParticleElectricFv: +/* 80361094 0035DFF4 94 21 FE 10 */ stwu r1, -0x1f0(r1) +/* 80361098 0035DFF8 7C 08 02 A6 */ mflr r0 +/* 8036109C 0035DFFC 90 01 01 F4 */ stw r0, 0x1f4(r1) +/* 803610A0 0035E000 DB E1 01 E0 */ stfd f31, 0x1e0(r1) +/* 803610A4 0035E004 F3 E1 01 E8 */ psq_st f31, 488(r1), 0, qr0 +/* 803610A8 0035E008 DB C1 01 D0 */ stfd f30, 0x1d0(r1) +/* 803610AC 0035E00C F3 C1 01 D8 */ psq_st f30, 472(r1), 0, qr0 +/* 803610B0 0035E010 DB A1 01 C0 */ stfd f29, 0x1c0(r1) +/* 803610B4 0035E014 F3 A1 01 C8 */ psq_st f29, 456(r1), 0, qr0 +/* 803610B8 0035E018 DB 81 01 B0 */ stfd f28, 0x1b0(r1) +/* 803610BC 0035E01C F3 81 01 B8 */ psq_st f28, 440(r1), 0, qr0 +/* 803610C0 0035E020 DB 61 01 A0 */ stfd f27, 0x1a0(r1) +/* 803610C4 0035E024 F3 61 01 A8 */ psq_st f27, 424(r1), 0, qr0 +/* 803610C8 0035E028 DB 41 01 90 */ stfd f26, 0x190(r1) +/* 803610CC 0035E02C F3 41 01 98 */ psq_st f26, 408(r1), 0, qr0 +/* 803610D0 0035E030 BF 01 01 70 */ stmw r24, 0x170(r1) +/* 803610D4 0035E034 3C 80 80 5A */ lis r4, skZero3f@ha +/* 803610D8 0035E038 38 00 00 00 */ li r0, 0 +/* 803610DC 0035E03C 3B E4 66 A0 */ addi r31, r4, skZero3f@l +/* 803610E0 0035E040 90 01 01 30 */ stw r0, 0x130(r1) +/* 803610E4 0035E044 C0 1F 00 00 */ lfs f0, 0(r31) +/* 803610E8 0035E048 7C 7E 1B 78 */ mr r30, r3 +/* 803610EC 0035E04C C0 3F 00 04 */ lfs f1, 4(r31) +/* 803610F0 0035E050 C0 5F 00 08 */ lfs f2, 8(r31) +/* 803610F4 0035E054 D0 01 00 C4 */ stfs f0, 0xc4(r1) +/* 803610F8 0035E058 D0 21 00 C8 */ stfs f1, 0xc8(r1) +/* 803610FC 0035E05C D0 41 00 CC */ stfs f2, 0xcc(r1) +/* 80361100 0035E060 D0 01 00 B8 */ stfs f0, 0xb8(r1) +/* 80361104 0035E064 D0 21 00 BC */ stfs f1, 0xbc(r1) +/* 80361108 0035E068 D0 41 00 C0 */ stfs f2, 0xc0(r1) +/* 8036110C 0035E06C 80 63 00 24 */ lwz r3, 0x24(r3) +/* 80361110 0035E070 80 63 00 18 */ lwz r3, 0x18(r3) +/* 80361114 0035E074 28 03 00 00 */ cmplwi r3, 0 +/* 80361118 0035E078 41 82 00 20 */ beq lbl_80361138 +/* 8036111C 0035E07C 81 83 00 00 */ lwz r12, 0(r3) +/* 80361120 0035E080 38 A1 00 C4 */ addi r5, r1, 0xc4 +/* 80361124 0035E084 38 C1 00 B8 */ addi r6, r1, 0xb8 +/* 80361128 0035E088 80 9E 00 28 */ lwz r4, 0x28(r30) +/* 8036112C 0035E08C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80361130 0035E090 7D 89 03 A6 */ mtctr r12 +/* 80361134 0035E094 4E 80 04 21 */ bctrl +lbl_80361138: +/* 80361138 0035E098 88 1E 01 84 */ lbz r0, 0x184(r30) +/* 8036113C 0035E09C 28 00 00 00 */ cmplwi r0, 0 +/* 80361140 0035E0A0 41 82 00 1C */ beq lbl_8036115C +/* 80361144 0035E0A4 C0 1E 01 78 */ lfs f0, 0x178(r30) +/* 80361148 0035E0A8 D0 01 00 C4 */ stfs f0, 0xc4(r1) +/* 8036114C 0035E0AC C0 1E 01 7C */ lfs f0, 0x17c(r30) +/* 80361150 0035E0B0 D0 01 00 C8 */ stfs f0, 0xc8(r1) +/* 80361154 0035E0B4 C0 1E 01 80 */ lfs f0, 0x180(r30) +/* 80361158 0035E0B8 D0 01 00 CC */ stfs f0, 0xcc(r1) +lbl_8036115C: +/* 8036115C 0035E0BC 88 1E 01 94 */ lbz r0, 0x194(r30) +/* 80361160 0035E0C0 28 00 00 00 */ cmplwi r0, 0 +/* 80361164 0035E0C4 41 82 00 1C */ beq lbl_80361180 +/* 80361168 0035E0C8 C0 1E 01 88 */ lfs f0, 0x188(r30) +/* 8036116C 0035E0CC D0 01 00 B8 */ stfs f0, 0xb8(r1) +/* 80361170 0035E0D0 C0 1E 01 8C */ lfs f0, 0x18c(r30) +/* 80361174 0035E0D4 D0 01 00 BC */ stfs f0, 0xbc(r1) +/* 80361178 0035E0D8 C0 1E 01 90 */ lfs f0, 0x190(r30) +/* 8036117C 0035E0DC D0 01 00 C0 */ stfs f0, 0xc0(r1) +lbl_80361180: +/* 80361180 0035E0E0 C0 22 CD 54 */ lfs f1, lbl_805AEA74@sda21(r2) +/* 80361184 0035E0E4 38 00 00 00 */ li r0, 0 +/* 80361188 0035E0E8 C0 01 00 B8 */ lfs f0, 0xb8(r1) +/* 8036118C 0035E0EC FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80361190 0035E0F0 40 82 00 1C */ bne lbl_803611AC +/* 80361194 0035E0F4 C0 01 00 BC */ lfs f0, 0xbc(r1) +/* 80361198 0035E0F8 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 8036119C 0035E0FC 40 82 00 10 */ bne lbl_803611AC +/* 803611A0 0035E100 C0 01 00 C0 */ lfs f0, 0xc0(r1) +/* 803611A4 0035E104 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 803611A8 0035E108 41 82 00 08 */ beq lbl_803611B0 +lbl_803611AC: +/* 803611AC 0035E10C 38 00 00 01 */ li r0, 1 +lbl_803611B0: +/* 803611B0 0035E110 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 803611B4 0035E114 41 82 00 E0 */ beq lbl_80361294 +/* 803611B8 0035E118 80 01 01 30 */ lwz r0, 0x130(r1) +/* 803611BC 0035E11C 38 A1 01 34 */ addi r5, r1, 0x134 +/* 803611C0 0035E120 1C 00 00 0C */ mulli r0, r0, 0xc +/* 803611C4 0035E124 7C 65 02 15 */ add. r3, r5, r0 +/* 803611C8 0035E128 41 82 00 1C */ beq lbl_803611E4 +/* 803611CC 0035E12C C0 01 00 C4 */ lfs f0, 0xc4(r1) +/* 803611D0 0035E130 C0 21 00 C8 */ lfs f1, 0xc8(r1) +/* 803611D4 0035E134 D0 03 00 00 */ stfs f0, 0(r3) +/* 803611D8 0035E138 C0 01 00 CC */ lfs f0, 0xcc(r1) +/* 803611DC 0035E13C D0 23 00 04 */ stfs f1, 4(r3) +/* 803611E0 0035E140 D0 03 00 08 */ stfs f0, 8(r3) +lbl_803611E4: +/* 803611E4 0035E144 80 61 01 30 */ lwz r3, 0x130(r1) +/* 803611E8 0035E148 C0 21 00 C4 */ lfs f1, 0xc4(r1) +/* 803611EC 0035E14C 38 63 00 01 */ addi r3, r3, 1 +/* 803611F0 0035E150 C0 01 00 B8 */ lfs f0, 0xb8(r1) +/* 803611F4 0035E154 1C 03 00 0C */ mulli r0, r3, 0xc +/* 803611F8 0035E158 C0 61 00 C8 */ lfs f3, 0xc8(r1) +/* 803611FC 0035E15C C0 41 00 BC */ lfs f2, 0xbc(r1) +/* 80361200 0035E160 EC 81 00 2A */ fadds f4, f1, f0 +/* 80361204 0035E164 C0 21 00 CC */ lfs f1, 0xcc(r1) +/* 80361208 0035E168 C0 01 00 C0 */ lfs f0, 0xc0(r1) +/* 8036120C 0035E16C EC 43 10 2A */ fadds f2, f3, f2 +/* 80361210 0035E170 7C 85 02 15 */ add. r4, r5, r0 +/* 80361214 0035E174 EC 01 00 2A */ fadds f0, f1, f0 +/* 80361218 0035E178 90 61 01 30 */ stw r3, 0x130(r1) +/* 8036121C 0035E17C 41 82 00 10 */ beq lbl_8036122C +/* 80361220 0035E180 D0 84 00 00 */ stfs f4, 0(r4) +/* 80361224 0035E184 D0 44 00 04 */ stfs f2, 4(r4) +/* 80361228 0035E188 D0 04 00 08 */ stfs f0, 8(r4) +lbl_8036122C: +/* 8036122C 0035E18C 80 61 01 30 */ lwz r3, 0x130(r1) +/* 80361230 0035E190 C0 A2 CD 6C */ lfs f5, lbl_805AEA8C@sda21(r2) +/* 80361234 0035E194 38 63 00 01 */ addi r3, r3, 1 +/* 80361238 0035E198 C0 41 00 B8 */ lfs f2, 0xb8(r1) +/* 8036123C 0035E19C C0 21 00 BC */ lfs f1, 0xbc(r1) +/* 80361240 0035E1A0 1C 03 00 0C */ mulli r0, r3, 0xc +/* 80361244 0035E1A4 C0 01 00 C0 */ lfs f0, 0xc0(r1) +/* 80361248 0035E1A8 EC 85 00 B2 */ fmuls f4, f5, f2 +/* 8036124C 0035E1AC C0 C1 00 C4 */ lfs f6, 0xc4(r1) +/* 80361250 0035E1B0 EC 45 00 72 */ fmuls f2, f5, f1 +/* 80361254 0035E1B4 C0 61 00 C8 */ lfs f3, 0xc8(r1) +/* 80361258 0035E1B8 EC 05 00 32 */ fmuls f0, f5, f0 +/* 8036125C 0035E1BC C0 21 00 CC */ lfs f1, 0xcc(r1) +/* 80361260 0035E1C0 EC 86 20 2A */ fadds f4, f6, f4 +/* 80361264 0035E1C4 7C 85 02 15 */ add. r4, r5, r0 +/* 80361268 0035E1C8 EC 43 10 2A */ fadds f2, f3, f2 +/* 8036126C 0035E1CC 90 61 01 30 */ stw r3, 0x130(r1) +/* 80361270 0035E1D0 EC 01 00 2A */ fadds f0, f1, f0 +/* 80361274 0035E1D4 41 82 00 10 */ beq lbl_80361284 +/* 80361278 0035E1D8 D0 84 00 00 */ stfs f4, 0(r4) +/* 8036127C 0035E1DC D0 44 00 04 */ stfs f2, 4(r4) +/* 80361280 0035E1E0 D0 04 00 08 */ stfs f0, 8(r4) +lbl_80361284: +/* 80361284 0035E1E4 80 61 01 30 */ lwz r3, 0x130(r1) +/* 80361288 0035E1E8 38 03 00 01 */ addi r0, r3, 1 +/* 8036128C 0035E1EC 90 01 01 30 */ stw r0, 0x130(r1) +/* 80361290 0035E1F0 48 00 00 3C */ b lbl_803612CC +lbl_80361294: +/* 80361294 0035E1F4 80 01 01 30 */ lwz r0, 0x130(r1) +/* 80361298 0035E1F8 38 61 01 34 */ addi r3, r1, 0x134 +/* 8036129C 0035E1FC 1C 00 00 0C */ mulli r0, r0, 0xc +/* 803612A0 0035E200 7C 63 02 15 */ add. r3, r3, r0 +/* 803612A4 0035E204 41 82 00 1C */ beq lbl_803612C0 +/* 803612A8 0035E208 C0 01 00 C4 */ lfs f0, 0xc4(r1) +/* 803612AC 0035E20C C0 21 00 C8 */ lfs f1, 0xc8(r1) +/* 803612B0 0035E210 D0 03 00 00 */ stfs f0, 0(r3) +/* 803612B4 0035E214 C0 01 00 CC */ lfs f0, 0xcc(r1) +/* 803612B8 0035E218 D0 23 00 04 */ stfs f1, 4(r3) +/* 803612BC 0035E21C D0 03 00 08 */ stfs f0, 8(r3) +lbl_803612C0: +/* 803612C0 0035E220 80 61 01 30 */ lwz r3, 0x130(r1) +/* 803612C4 0035E224 38 03 00 01 */ addi r0, r3, 1 +/* 803612C8 0035E228 90 01 01 30 */ stw r0, 0x130(r1) +lbl_803612CC: +/* 803612CC 0035E22C 3C 60 80 5A */ lis r3, skZero3f@ha +/* 803612D0 0035E230 C0 82 CD 54 */ lfs f4, lbl_805AEA74@sda21(r2) +/* 803612D4 0035E234 C0 62 CD 48 */ lfs f3, lbl_805AEA68@sda21(r2) +/* 803612D8 0035E238 C0 43 66 A0 */ lfs f2, skZero3f@l(r3) +/* 803612DC 0035E23C C0 3F 00 04 */ lfs f1, 4(r31) +/* 803612E0 0035E240 C0 1F 00 08 */ lfs f0, 8(r31) +/* 803612E4 0035E244 D0 81 00 AC */ stfs f4, 0xac(r1) +/* 803612E8 0035E248 D0 61 00 B0 */ stfs f3, 0xb0(r1) +/* 803612EC 0035E24C D0 81 00 B4 */ stfs f4, 0xb4(r1) +/* 803612F0 0035E250 D0 41 00 A0 */ stfs f2, 0xa0(r1) +/* 803612F4 0035E254 D0 21 00 A4 */ stfs f1, 0xa4(r1) +/* 803612F8 0035E258 D0 01 00 A8 */ stfs f0, 0xa8(r1) +/* 803612FC 0035E25C 80 7E 00 24 */ lwz r3, 0x24(r30) +/* 80361300 0035E260 80 63 00 1C */ lwz r3, 0x1c(r3) +/* 80361304 0035E264 28 03 00 00 */ cmplwi r3, 0 +/* 80361308 0035E268 41 82 00 20 */ beq lbl_80361328 +/* 8036130C 0035E26C 81 83 00 00 */ lwz r12, 0(r3) +/* 80361310 0035E270 38 A1 00 AC */ addi r5, r1, 0xac +/* 80361314 0035E274 38 C1 00 A0 */ addi r6, r1, 0xa0 +/* 80361318 0035E278 80 9E 00 28 */ lwz r4, 0x28(r30) +/* 8036131C 0035E27C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80361320 0035E280 7D 89 03 A6 */ mtctr r12 +/* 80361324 0035E284 4E 80 04 21 */ bctrl +lbl_80361328: +/* 80361328 0035E288 88 1E 01 A4 */ lbz r0, 0x1a4(r30) +/* 8036132C 0035E28C 28 00 00 00 */ cmplwi r0, 0 +/* 80361330 0035E290 41 82 00 1C */ beq lbl_8036134C +/* 80361334 0035E294 C0 1E 01 98 */ lfs f0, 0x198(r30) +/* 80361338 0035E298 D0 01 00 AC */ stfs f0, 0xac(r1) +/* 8036133C 0035E29C C0 1E 01 9C */ lfs f0, 0x19c(r30) +/* 80361340 0035E2A0 D0 01 00 B0 */ stfs f0, 0xb0(r1) +/* 80361344 0035E2A4 C0 1E 01 A0 */ lfs f0, 0x1a0(r30) +/* 80361348 0035E2A8 D0 01 00 B4 */ stfs f0, 0xb4(r1) +lbl_8036134C: +/* 8036134C 0035E2AC 88 1E 01 B4 */ lbz r0, 0x1b4(r30) +/* 80361350 0035E2B0 28 00 00 00 */ cmplwi r0, 0 +/* 80361354 0035E2B4 41 82 00 1C */ beq lbl_80361370 +/* 80361358 0035E2B8 C0 1E 01 A8 */ lfs f0, 0x1a8(r30) +/* 8036135C 0035E2BC D0 01 00 A0 */ stfs f0, 0xa0(r1) +/* 80361360 0035E2C0 C0 1E 01 AC */ lfs f0, 0x1ac(r30) +/* 80361364 0035E2C4 D0 01 00 A4 */ stfs f0, 0xa4(r1) +/* 80361368 0035E2C8 C0 1E 01 B0 */ lfs f0, 0x1b0(r30) +/* 8036136C 0035E2CC D0 01 00 A8 */ stfs f0, 0xa8(r1) +lbl_80361370: +/* 80361370 0035E2D0 C0 22 CD 54 */ lfs f1, lbl_805AEA74@sda21(r2) +/* 80361374 0035E2D4 38 00 00 00 */ li r0, 0 +/* 80361378 0035E2D8 C0 41 00 A0 */ lfs f2, 0xa0(r1) +/* 8036137C 0035E2DC FC 01 10 00 */ fcmpu cr0, f1, f2 +/* 80361380 0035E2E0 40 82 00 1C */ bne lbl_8036139C +/* 80361384 0035E2E4 C0 01 00 A4 */ lfs f0, 0xa4(r1) +/* 80361388 0035E2E8 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 8036138C 0035E2EC 40 82 00 10 */ bne lbl_8036139C +/* 80361390 0035E2F0 C0 01 00 A8 */ lfs f0, 0xa8(r1) +/* 80361394 0035E2F4 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80361398 0035E2F8 41 82 00 08 */ beq lbl_803613A0 +lbl_8036139C: +/* 8036139C 0035E2FC 38 00 00 01 */ li r0, 1 +lbl_803613A0: +/* 803613A0 0035E300 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 803613A4 0035E304 41 82 01 40 */ beq lbl_803614E4 +/* 803613A8 0035E308 80 01 01 30 */ lwz r0, 0x130(r1) +/* 803613AC 0035E30C 2C 00 00 03 */ cmpwi r0, 3 +/* 803613B0 0035E310 40 82 00 60 */ bne lbl_80361410 +/* 803613B4 0035E314 80 01 01 30 */ lwz r0, 0x130(r1) +/* 803613B8 0035E318 38 61 01 34 */ addi r3, r1, 0x134 +/* 803613BC 0035E31C C0 21 00 AC */ lfs f1, 0xac(r1) +/* 803613C0 0035E320 1C 00 00 0C */ mulli r0, r0, 0xc +/* 803613C4 0035E324 C0 A1 00 B0 */ lfs f5, 0xb0(r1) +/* 803613C8 0035E328 C0 81 00 A4 */ lfs f4, 0xa4(r1) +/* 803613CC 0035E32C EC 01 10 2A */ fadds f0, f1, f2 +/* 803613D0 0035E330 C0 61 00 B4 */ lfs f3, 0xb4(r1) +/* 803613D4 0035E334 C0 41 00 A8 */ lfs f2, 0xa8(r1) +/* 803613D8 0035E338 EC 85 20 2A */ fadds f4, f5, f4 +/* 803613DC 0035E33C 7C 63 02 15 */ add. r3, r3, r0 +/* 803613E0 0035E340 EC 43 10 2A */ fadds f2, f3, f2 +/* 803613E4 0035E344 D0 01 01 4C */ stfs f0, 0x14c(r1) +/* 803613E8 0035E348 D0 81 01 50 */ stfs f4, 0x150(r1) +/* 803613EC 0035E34C D0 41 01 54 */ stfs f2, 0x154(r1) +/* 803613F0 0035E350 41 82 00 10 */ beq lbl_80361400 +/* 803613F4 0035E354 D0 23 00 00 */ stfs f1, 0(r3) +/* 803613F8 0035E358 D0 A3 00 04 */ stfs f5, 4(r3) +/* 803613FC 0035E35C D0 63 00 08 */ stfs f3, 8(r3) +lbl_80361400: +/* 80361400 0035E360 80 61 01 30 */ lwz r3, 0x130(r1) +/* 80361404 0035E364 38 03 00 01 */ addi r0, r3, 1 +/* 80361408 0035E368 90 01 01 30 */ stw r0, 0x130(r1) +/* 8036140C 0035E36C 48 00 01 10 */ b lbl_8036151C +lbl_80361410: +/* 80361410 0035E370 C0 A2 CD 6C */ lfs f5, lbl_805AEA8C@sda21(r2) +/* 80361414 0035E374 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80361418 0035E378 C0 21 00 A4 */ lfs f1, 0xa4(r1) +/* 8036141C 0035E37C 38 A1 01 34 */ addi r5, r1, 0x134 +/* 80361420 0035E380 C0 01 00 A8 */ lfs f0, 0xa8(r1) +/* 80361424 0035E384 EC 85 00 B2 */ fmuls f4, f5, f2 +/* 80361428 0035E388 C0 C1 00 AC */ lfs f6, 0xac(r1) +/* 8036142C 0035E38C EC 45 00 72 */ fmuls f2, f5, f1 +/* 80361430 0035E390 C0 61 00 B0 */ lfs f3, 0xb0(r1) +/* 80361434 0035E394 EC 05 00 32 */ fmuls f0, f5, f0 +/* 80361438 0035E398 C0 21 00 B4 */ lfs f1, 0xb4(r1) +/* 8036143C 0035E39C EC 86 20 2A */ fadds f4, f6, f4 +/* 80361440 0035E3A0 7C 65 02 15 */ add. r3, r5, r0 +/* 80361444 0035E3A4 EC 43 10 2A */ fadds f2, f3, f2 +/* 80361448 0035E3A8 EC 01 00 2A */ fadds f0, f1, f0 +/* 8036144C 0035E3AC 41 82 00 10 */ beq lbl_8036145C +/* 80361450 0035E3B0 D0 83 00 00 */ stfs f4, 0(r3) +/* 80361454 0035E3B4 D0 43 00 04 */ stfs f2, 4(r3) +/* 80361458 0035E3B8 D0 03 00 08 */ stfs f0, 8(r3) +lbl_8036145C: +/* 8036145C 0035E3BC 80 61 01 30 */ lwz r3, 0x130(r1) +/* 80361460 0035E3C0 C0 21 00 AC */ lfs f1, 0xac(r1) +/* 80361464 0035E3C4 38 63 00 01 */ addi r3, r3, 1 +/* 80361468 0035E3C8 C0 01 00 A0 */ lfs f0, 0xa0(r1) +/* 8036146C 0035E3CC 1C 03 00 0C */ mulli r0, r3, 0xc +/* 80361470 0035E3D0 C0 61 00 B0 */ lfs f3, 0xb0(r1) +/* 80361474 0035E3D4 C0 41 00 A4 */ lfs f2, 0xa4(r1) +/* 80361478 0035E3D8 EC 81 00 2A */ fadds f4, f1, f0 +/* 8036147C 0035E3DC C0 21 00 B4 */ lfs f1, 0xb4(r1) +/* 80361480 0035E3E0 C0 01 00 A8 */ lfs f0, 0xa8(r1) +/* 80361484 0035E3E4 EC 43 10 2A */ fadds f2, f3, f2 +/* 80361488 0035E3E8 7C 85 02 15 */ add. r4, r5, r0 +/* 8036148C 0035E3EC EC 01 00 2A */ fadds f0, f1, f0 +/* 80361490 0035E3F0 90 61 01 30 */ stw r3, 0x130(r1) +/* 80361494 0035E3F4 41 82 00 10 */ beq lbl_803614A4 +/* 80361498 0035E3F8 D0 84 00 00 */ stfs f4, 0(r4) +/* 8036149C 0035E3FC D0 44 00 04 */ stfs f2, 4(r4) +/* 803614A0 0035E400 D0 04 00 08 */ stfs f0, 8(r4) +lbl_803614A4: +/* 803614A4 0035E404 80 61 01 30 */ lwz r3, 0x130(r1) +/* 803614A8 0035E408 38 63 00 01 */ addi r3, r3, 1 +/* 803614AC 0035E40C 1C 03 00 0C */ mulli r0, r3, 0xc +/* 803614B0 0035E410 90 61 01 30 */ stw r3, 0x130(r1) +/* 803614B4 0035E414 7C 65 02 15 */ add. r3, r5, r0 +/* 803614B8 0035E418 41 82 00 1C */ beq lbl_803614D4 +/* 803614BC 0035E41C C0 01 00 AC */ lfs f0, 0xac(r1) +/* 803614C0 0035E420 C0 21 00 B0 */ lfs f1, 0xb0(r1) +/* 803614C4 0035E424 D0 03 00 00 */ stfs f0, 0(r3) +/* 803614C8 0035E428 C0 01 00 B4 */ lfs f0, 0xb4(r1) +/* 803614CC 0035E42C D0 23 00 04 */ stfs f1, 4(r3) +/* 803614D0 0035E430 D0 03 00 08 */ stfs f0, 8(r3) +lbl_803614D4: +/* 803614D4 0035E434 80 61 01 30 */ lwz r3, 0x130(r1) +/* 803614D8 0035E438 38 03 00 01 */ addi r0, r3, 1 +/* 803614DC 0035E43C 90 01 01 30 */ stw r0, 0x130(r1) +/* 803614E0 0035E440 48 00 00 3C */ b lbl_8036151C +lbl_803614E4: +/* 803614E4 0035E444 80 01 01 30 */ lwz r0, 0x130(r1) +/* 803614E8 0035E448 38 61 01 34 */ addi r3, r1, 0x134 +/* 803614EC 0035E44C 1C 00 00 0C */ mulli r0, r0, 0xc +/* 803614F0 0035E450 7C 63 02 15 */ add. r3, r3, r0 +/* 803614F4 0035E454 41 82 00 1C */ beq lbl_80361510 +/* 803614F8 0035E458 C0 01 00 AC */ lfs f0, 0xac(r1) +/* 803614FC 0035E45C C0 21 00 B0 */ lfs f1, 0xb0(r1) +/* 80361500 0035E460 D0 03 00 00 */ stfs f0, 0(r3) +/* 80361504 0035E464 C0 01 00 B4 */ lfs f0, 0xb4(r1) +/* 80361508 0035E468 D0 23 00 04 */ stfs f1, 4(r3) +/* 8036150C 0035E46C D0 03 00 08 */ stfs f0, 8(r3) +lbl_80361510: +/* 80361510 0035E470 80 61 01 30 */ lwz r3, 0x130(r1) +/* 80361514 0035E474 38 03 00 01 */ addi r0, r3, 1 +/* 80361518 0035E478 90 01 01 30 */ stw r0, 0x130(r1) +lbl_8036151C: +/* 8036151C 0035E47C 80 01 01 30 */ lwz r0, 0x130(r1) +/* 80361520 0035E480 2C 00 00 04 */ cmpwi r0, 4 +/* 80361524 0035E484 40 82 00 F4 */ bne lbl_80361618 +/* 80361528 0035E488 80 7E 01 50 */ lwz r3, 0x150(r30) +/* 8036152C 0035E48C 3B 61 01 34 */ addi r27, r1, 0x134 +/* 80361530 0035E490 3C 00 43 30 */ lis r0, 0x4330 +/* 80361534 0035E494 C8 42 CD 58 */ lfd f2, lbl_805AEA78@sda21(r2) +/* 80361538 0035E498 3B 43 FF FF */ addi r26, r3, -1 +/* 8036153C 0035E49C 90 01 01 68 */ stw r0, 0x168(r1) +/* 80361540 0035E4A0 6F 43 80 00 */ xoris r3, r26, 0x8000 +/* 80361544 0035E4A4 C0 62 CD 48 */ lfs f3, lbl_805AEA68@sda21(r2) +/* 80361548 0035E4A8 90 61 01 6C */ stw r3, 0x16c(r1) +/* 8036154C 0035E4AC 3B 3B 00 24 */ addi r25, r27, 0x24 +/* 80361550 0035E4B0 80 7E 04 2C */ lwz r3, 0x42c(r30) +/* 80361554 0035E4B4 3B BB 00 0C */ addi r29, r27, 0xc +/* 80361558 0035E4B8 C8 21 01 68 */ lfd f1, 0x168(r1) +/* 8036155C 0035E4BC 3B FB 00 18 */ addi r31, r27, 0x18 +/* 80361560 0035E4C0 C0 01 01 34 */ lfs f0, 0x134(r1) +/* 80361564 0035E4C4 3B 00 00 01 */ li r24, 1 +/* 80361568 0035E4C8 EC 21 10 28 */ fsubs f1, f1, f2 +/* 8036156C 0035E4CC 3B 80 00 0C */ li r28, 0xc +/* 80361570 0035E4D0 D0 03 00 00 */ stfs f0, 0(r3) +/* 80361574 0035E4D4 EF 43 08 24 */ fdivs f26, f3, f1 +/* 80361578 0035E4D8 C0 01 01 38 */ lfs f0, 0x138(r1) +/* 8036157C 0035E4DC D0 03 00 04 */ stfs f0, 4(r3) +/* 80361580 0035E4E0 C0 01 01 3C */ lfs f0, 0x13c(r1) +/* 80361584 0035E4E4 D0 03 00 08 */ stfs f0, 8(r3) +/* 80361588 0035E4E8 FF 60 D0 90 */ fmr f27, f26 +/* 8036158C 0035E4EC 48 00 00 5C */ b lbl_803615E8 +lbl_80361590: +/* 80361590 0035E4F0 C0 22 CD 70 */ lfs f1, lbl_805AEA90@sda21(r2) +/* 80361594 0035E4F4 38 7E 01 4C */ addi r3, r30, 0x14c +/* 80361598 0035E4F8 C0 42 CD 74 */ lfs f2, lbl_805AEA94@sda21(r2) +/* 8036159C 0035E4FC 4B FB 0F A9 */ bl Range__9CRandom16Fff +/* 803615A0 0035E500 EC 3A D8 7A */ fmadds f1, f26, f1, f27 +/* 803615A4 0035E504 7F 64 DB 78 */ mr r4, r27 +/* 803615A8 0035E508 7F A5 EB 78 */ mr r5, r29 +/* 803615AC 0035E50C 7F E6 FB 78 */ mr r6, r31 +/* 803615B0 0035E510 7F 27 CB 78 */ mr r7, r25 +/* 803615B4 0035E514 38 61 00 60 */ addi r3, r1, 0x60 +/* 803615B8 0035E518 4B FB 39 61 */ bl GetBezierPoint__5CMathFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ff +/* 803615BC 0035E51C 80 1E 04 2C */ lwz r0, 0x42c(r30) +/* 803615C0 0035E520 EF 7B D0 2A */ fadds f27, f27, f26 +/* 803615C4 0035E524 C0 21 00 64 */ lfs f1, 0x64(r1) +/* 803615C8 0035E528 3B 18 00 01 */ addi r24, r24, 1 +/* 803615CC 0035E52C 7C 60 E2 14 */ add r3, r0, r28 +/* 803615D0 0035E530 C0 41 00 68 */ lfs f2, 0x68(r1) +/* 803615D4 0035E534 C0 01 00 60 */ lfs f0, 0x60(r1) +/* 803615D8 0035E538 3B 9C 00 0C */ addi r28, r28, 0xc +/* 803615DC 0035E53C D0 03 00 00 */ stfs f0, 0(r3) +/* 803615E0 0035E540 D0 23 00 04 */ stfs f1, 4(r3) +/* 803615E4 0035E544 D0 43 00 08 */ stfs f2, 8(r3) +lbl_803615E8: +/* 803615E8 0035E548 7C 18 D0 00 */ cmpw r24, r26 +/* 803615EC 0035E54C 41 80 FF A4 */ blt lbl_80361590 +/* 803615F0 0035E550 1C 1A 00 0C */ mulli r0, r26, 0xc +/* 803615F4 0035E554 80 7E 04 2C */ lwz r3, 0x42c(r30) +/* 803615F8 0035E558 C0 19 00 00 */ lfs f0, 0(r25) +/* 803615FC 0035E55C 7C 63 02 14 */ add r3, r3, r0 +/* 80361600 0035E560 D0 03 00 00 */ stfs f0, 0(r3) +/* 80361604 0035E564 C0 19 00 04 */ lfs f0, 4(r25) +/* 80361608 0035E568 D0 03 00 04 */ stfs f0, 4(r3) +/* 8036160C 0035E56C C0 19 00 08 */ lfs f0, 8(r25) +/* 80361610 0035E570 D0 03 00 08 */ stfs f0, 8(r3) +/* 80361614 0035E574 48 00 01 14 */ b lbl_80361728 +lbl_80361618: +/* 80361618 0035E578 80 7E 04 2C */ lwz r3, 0x42c(r30) +/* 8036161C 0035E57C 3C 00 43 30 */ lis r0, 0x4330 +/* 80361620 0035E580 C0 01 00 C4 */ lfs f0, 0xc4(r1) +/* 80361624 0035E584 3B 00 00 01 */ li r24, 1 +/* 80361628 0035E588 90 01 01 68 */ stw r0, 0x168(r1) +/* 8036162C 0035E58C 3B 80 00 0C */ li r28, 0xc +/* 80361630 0035E590 C8 A2 CD 58 */ lfd f5, lbl_805AEA78@sda21(r2) +/* 80361634 0035E594 D0 03 00 00 */ stfs f0, 0(r3) +/* 80361638 0035E598 C0 C2 CD 48 */ lfs f6, lbl_805AEA68@sda21(r2) +/* 8036163C 0035E59C C0 01 00 C8 */ lfs f0, 0xc8(r1) +/* 80361640 0035E5A0 D0 03 00 04 */ stfs f0, 4(r3) +/* 80361644 0035E5A4 C0 01 00 CC */ lfs f0, 0xcc(r1) +/* 80361648 0035E5A8 D0 03 00 08 */ stfs f0, 8(r3) +/* 8036164C 0035E5AC 80 7E 01 50 */ lwz r3, 0x150(r30) +/* 80361650 0035E5B0 80 9E 04 2C */ lwz r4, 0x42c(r30) +/* 80361654 0035E5B4 3B 23 FF FF */ addi r25, r3, -1 +/* 80361658 0035E5B8 C0 21 00 AC */ lfs f1, 0xac(r1) +/* 8036165C 0035E5BC 6F 20 80 00 */ xoris r0, r25, 0x8000 +/* 80361660 0035E5C0 C0 01 00 C4 */ lfs f0, 0xc4(r1) +/* 80361664 0035E5C4 90 01 01 6C */ stw r0, 0x16c(r1) +/* 80361668 0035E5C8 C0 61 00 B0 */ lfs f3, 0xb0(r1) +/* 8036166C 0035E5CC EC 81 00 28 */ fsubs f4, f1, f0 +/* 80361670 0035E5D0 C8 01 01 68 */ lfd f0, 0x168(r1) +/* 80361674 0035E5D4 C0 41 00 C8 */ lfs f2, 0xc8(r1) +/* 80361678 0035E5D8 EC A0 28 28 */ fsubs f5, f0, f5 +/* 8036167C 0035E5DC C0 21 00 B4 */ lfs f1, 0xb4(r1) +/* 80361680 0035E5E0 C0 01 00 CC */ lfs f0, 0xcc(r1) +/* 80361684 0035E5E4 EC 43 10 28 */ fsubs f2, f3, f2 +/* 80361688 0035E5E8 C3 C4 00 00 */ lfs f30, 0(r4) +/* 8036168C 0035E5EC EC 66 28 24 */ fdivs f3, f6, f5 +/* 80361690 0035E5F0 C3 E4 00 04 */ lfs f31, 4(r4) +/* 80361694 0035E5F4 C3 44 00 08 */ lfs f26, 8(r4) +/* 80361698 0035E5F8 EC 01 00 28 */ fsubs f0, f1, f0 +/* 8036169C 0035E5FC EF A3 01 32 */ fmuls f29, f3, f4 +/* 803616A0 0035E600 EF 83 00 B2 */ fmuls f28, f3, f2 +/* 803616A4 0035E604 EF 63 00 32 */ fmuls f27, f3, f0 +/* 803616A8 0035E608 48 00 00 54 */ b lbl_803616FC +lbl_803616AC: +/* 803616AC 0035E60C C0 22 CD 70 */ lfs f1, lbl_805AEA90@sda21(r2) +/* 803616B0 0035E610 38 7E 01 4C */ addi r3, r30, 0x14c +/* 803616B4 0035E614 C0 42 CD 74 */ lfs f2, lbl_805AEA94@sda21(r2) +/* 803616B8 0035E618 4B FB 0E 8D */ bl Range__9CRandom16Fff +/* 803616BC 0035E61C EC 61 07 72 */ fmuls f3, f1, f29 +/* 803616C0 0035E620 80 1E 04 2C */ lwz r0, 0x42c(r30) +/* 803616C4 0035E624 EC 01 06 F2 */ fmuls f0, f1, f27 +/* 803616C8 0035E628 3B 18 00 01 */ addi r24, r24, 1 +/* 803616CC 0035E62C EC 41 07 32 */ fmuls f2, f1, f28 +/* 803616D0 0035E630 7C 60 E2 14 */ add r3, r0, r28 +/* 803616D4 0035E634 EC 7E 18 2A */ fadds f3, f30, f3 +/* 803616D8 0035E638 3B 9C 00 0C */ addi r28, r28, 0xc +/* 803616DC 0035E63C EC 3F 10 2A */ fadds f1, f31, f2 +/* 803616E0 0035E640 EC 1A 00 2A */ fadds f0, f26, f0 +/* 803616E4 0035E644 D0 63 00 00 */ stfs f3, 0(r3) +/* 803616E8 0035E648 EF DE E8 2A */ fadds f30, f30, f29 +/* 803616EC 0035E64C EF FF E0 2A */ fadds f31, f31, f28 +/* 803616F0 0035E650 D0 23 00 04 */ stfs f1, 4(r3) +/* 803616F4 0035E654 EF 5A D8 2A */ fadds f26, f26, f27 +/* 803616F8 0035E658 D0 03 00 08 */ stfs f0, 8(r3) +lbl_803616FC: +/* 803616FC 0035E65C 7C 18 C8 00 */ cmpw r24, r25 +/* 80361700 0035E660 41 80 FF AC */ blt lbl_803616AC +/* 80361704 0035E664 1C 19 00 0C */ mulli r0, r25, 0xc +/* 80361708 0035E668 80 7E 04 2C */ lwz r3, 0x42c(r30) +/* 8036170C 0035E66C C0 01 00 AC */ lfs f0, 0xac(r1) +/* 80361710 0035E670 7C 63 02 14 */ add r3, r3, r0 +/* 80361714 0035E674 D0 03 00 00 */ stfs f0, 0(r3) +/* 80361718 0035E678 C0 01 00 B0 */ lfs f0, 0xb0(r1) +/* 8036171C 0035E67C D0 03 00 04 */ stfs f0, 4(r3) +/* 80361720 0035E680 C0 01 00 B4 */ lfs f0, 0xb4(r1) +/* 80361724 0035E684 D0 03 00 08 */ stfs f0, 8(r3) +lbl_80361728: +/* 80361728 0035E688 C0 02 CD 54 */ lfs f0, lbl_805AEA74@sda21(r2) +/* 8036172C 0035E68C 38 A0 00 00 */ li r5, 0 +/* 80361730 0035E690 38 80 00 00 */ li r4, 0 +/* 80361734 0035E694 48 00 00 14 */ b lbl_80361748 +lbl_80361738: +/* 80361738 0035E698 80 7E 04 3C */ lwz r3, 0x43c(r30) +/* 8036173C 0035E69C 38 A5 00 01 */ addi r5, r5, 1 +/* 80361740 0035E6A0 7C 03 25 2E */ stfsx f0, r3, r4 +/* 80361744 0035E6A4 38 84 00 04 */ addi r4, r4, 4 +lbl_80361748: +/* 80361748 0035E6A8 80 1E 01 50 */ lwz r0, 0x150(r30) +/* 8036174C 0035E6AC 7C 05 00 00 */ cmpw r5, r0 +/* 80361750 0035E6B0 41 80 FF E8 */ blt lbl_80361738 +/* 80361754 0035E6B4 C0 02 CD 48 */ lfs f0, lbl_805AEA68@sda21(r2) +/* 80361758 0035E6B8 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 8036175C 0035E6BC 80 7E 00 24 */ lwz r3, 0x24(r30) +/* 80361760 0035E6C0 80 63 00 20 */ lwz r3, 0x20(r3) +/* 80361764 0035E6C4 28 03 00 00 */ cmplwi r3, 0 +/* 80361768 0035E6C8 41 82 00 2C */ beq lbl_80361794 +/* 8036176C 0035E6CC 81 83 00 00 */ lwz r12, 0(r3) +/* 80361770 0035E6D0 38 A1 00 10 */ addi r5, r1, 0x10 +/* 80361774 0035E6D4 80 9E 00 28 */ lwz r4, 0x28(r30) +/* 80361778 0035E6D8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8036177C 0035E6DC 7D 89 03 A6 */ mtctr r12 +/* 80361780 0035E6E0 4E 80 04 21 */ bctrl +/* 80361784 0035E6E4 C0 21 00 10 */ lfs f1, 0x10(r1) +/* 80361788 0035E6E8 C0 02 CD 6C */ lfs f0, lbl_805AEA8C@sda21(r2) +/* 8036178C 0035E6EC EC 01 00 32 */ fmuls f0, f1, f0 +/* 80361790 0035E6F0 D0 01 00 10 */ stfs f0, 0x10(r1) +lbl_80361794: +/* 80361794 0035E6F4 C0 02 CD 54 */ lfs f0, lbl_805AEA74@sda21(r2) +/* 80361798 0035E6F8 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 8036179C 0035E6FC 80 7E 00 24 */ lwz r3, 0x24(r30) +/* 803617A0 0035E700 80 63 00 24 */ lwz r3, 0x24(r3) +/* 803617A4 0035E704 28 03 00 00 */ cmplwi r3, 0 +/* 803617A8 0035E708 41 82 00 1C */ beq lbl_803617C4 +/* 803617AC 0035E70C 81 83 00 00 */ lwz r12, 0(r3) +/* 803617B0 0035E710 38 A1 00 0C */ addi r5, r1, 0xc +/* 803617B4 0035E714 80 9E 00 28 */ lwz r4, 0x28(r30) +/* 803617B8 0035E718 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803617BC 0035E71C 7D 89 03 A6 */ mtctr r12 +/* 803617C0 0035E720 4E 80 04 21 */ bctrl +lbl_803617C4: +/* 803617C4 0035E724 80 BE 04 24 */ lwz r5, 0x424(r30) +/* 803617C8 0035E728 7F C3 F3 78 */ mr r3, r30 +/* 803617CC 0035E72C C0 21 00 10 */ lfs f1, 0x10(r1) +/* 803617D0 0035E730 38 80 00 00 */ li r4, 0 +/* 803617D4 0035E734 C0 41 00 0C */ lfs f2, 0xc(r1) +/* 803617D8 0035E738 38 A5 FF FF */ addi r5, r5, -1 +/* 803617DC 0035E73C 4B FF F7 19 */ bl CalculateFractal__17CParticleElectricFiiff +/* 803617E0 0035E740 80 BE 04 2C */ lwz r5, 0x42c(r30) +/* 803617E4 0035E744 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 803617E8 0035E748 38 83 66 F4 */ addi r4, r3, lbl_805A66F4@l +/* 803617EC 0035E74C 38 61 00 94 */ addi r3, r1, 0x94 +/* 803617F0 0035E750 C0 05 00 04 */ lfs f0, 4(r5) +/* 803617F4 0035E754 C0 A5 00 10 */ lfs f5, 0x10(r5) +/* 803617F8 0035E758 C0 25 00 08 */ lfs f1, 8(r5) +/* 803617FC 0035E75C C0 85 00 14 */ lfs f4, 0x14(r5) +/* 80361800 0035E760 EC 40 28 28 */ fsubs f2, f0, f5 +/* 80361804 0035E764 C0 05 00 00 */ lfs f0, 0(r5) +/* 80361808 0035E768 C0 65 00 0C */ lfs f3, 0xc(r5) +/* 8036180C 0035E76C EC 21 20 28 */ fsubs f1, f1, f4 +/* 80361810 0035E770 C3 A4 00 00 */ lfs f29, 0(r4) +/* 80361814 0035E774 EC 00 18 28 */ fsubs f0, f0, f3 +/* 80361818 0035E778 D0 41 00 98 */ stfs f2, 0x98(r1) +/* 8036181C 0035E77C C3 84 00 04 */ lfs f28, 4(r4) +/* 80361820 0035E780 D0 21 00 9C */ stfs f1, 0x9c(r1) +/* 80361824 0035E784 C3 64 00 08 */ lfs f27, 8(r4) +/* 80361828 0035E788 D0 01 00 94 */ stfs f0, 0x94(r1) +/* 8036182C 0035E78C 80 9E 04 24 */ lwz r4, 0x424(r30) +/* 80361830 0035E790 38 04 FF FF */ addi r0, r4, -1 +/* 80361834 0035E794 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80361838 0035E798 7C 85 02 14 */ add r4, r5, r0 +/* 8036183C 0035E79C C0 44 00 04 */ lfs f2, 4(r4) +/* 80361840 0035E7A0 C0 24 00 08 */ lfs f1, 8(r4) +/* 80361844 0035E7A4 C0 04 00 00 */ lfs f0, 0(r4) +/* 80361848 0035E7A8 EC 42 28 28 */ fsubs f2, f2, f5 +/* 8036184C 0035E7AC EC 21 20 28 */ fsubs f1, f1, f4 +/* 80361850 0035E7B0 EC 00 18 28 */ fsubs f0, f0, f3 +/* 80361854 0035E7B4 D0 41 00 8C */ stfs f2, 0x8c(r1) +/* 80361858 0035E7B8 D0 01 00 88 */ stfs f0, 0x88(r1) +/* 8036185C 0035E7BC D0 21 00 90 */ stfs f1, 0x90(r1) +/* 80361860 0035E7C0 4B FB 2E 99 */ bl CanBeNormalized__9CVector3fCFv +/* 80361864 0035E7C4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80361868 0035E7C8 41 82 00 F0 */ beq lbl_80361958 +/* 8036186C 0035E7CC 38 61 00 88 */ addi r3, r1, 0x88 +/* 80361870 0035E7D0 4B FB 2E 89 */ bl CanBeNormalized__9CVector3fCFv +/* 80361874 0035E7D4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80361878 0035E7D8 41 82 00 E0 */ beq lbl_80361958 +/* 8036187C 0035E7DC 38 61 00 94 */ addi r3, r1, 0x94 +/* 80361880 0035E7E0 4B FB 30 79 */ bl Normalize__9CVector3fFv +/* 80361884 0035E7E4 38 61 00 88 */ addi r3, r1, 0x88 +/* 80361888 0035E7E8 4B FB 30 71 */ bl Normalize__9CVector3fFv +/* 8036188C 0035E7EC C0 21 00 98 */ lfs f1, 0x98(r1) +/* 80361890 0035E7F0 C0 01 00 8C */ lfs f0, 0x8c(r1) +/* 80361894 0035E7F4 C0 41 00 94 */ lfs f2, 0x94(r1) +/* 80361898 0035E7F8 EC 01 00 32 */ fmuls f0, f1, f0 +/* 8036189C 0035E7FC C0 21 00 88 */ lfs f1, 0x88(r1) +/* 803618A0 0035E800 C0 81 00 9C */ lfs f4, 0x9c(r1) +/* 803618A4 0035E804 C0 61 00 90 */ lfs f3, 0x90(r1) +/* 803618A8 0035E808 EC 22 00 7A */ fmadds f1, f2, f1, f0 +/* 803618AC 0035E80C C0 02 CD 54 */ lfs f0, lbl_805AEA74@sda21(r2) +/* 803618B0 0035E810 EC 44 08 FA */ fmadds f2, f4, f3, f1 +/* 803618B4 0035E814 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 803618B8 0035E818 40 80 00 08 */ bge lbl_803618C0 +/* 803618BC 0035E81C FC 40 10 50 */ fneg f2, f2 +lbl_803618C0: +/* 803618C0 0035E820 C0 22 CD 48 */ lfs f1, lbl_805AEA68@sda21(r2) +/* 803618C4 0035E824 C0 02 CD 78 */ lfs f0, lbl_805AEA98@sda21(r2) +/* 803618C8 0035E828 EC 22 08 28 */ fsubs f1, f2, f1 +/* 803618CC 0035E82C FC 20 0A 10 */ fabs f1, f1 +/* 803618D0 0035E830 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 803618D4 0035E834 40 80 00 2C */ bge lbl_80361900 +/* 803618D8 0035E838 80 9E 04 2C */ lwz r4, 0x42c(r30) +/* 803618DC 0035E83C 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 803618E0 0035E840 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l +/* 803618E4 0035E844 38 61 01 00 */ addi r3, r1, 0x100 +/* 803618E8 0035E848 38 A4 00 0C */ addi r5, r4, 0xc +/* 803618EC 0035E84C 4B FB 22 25 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 803618F0 0035E850 C3 A1 01 08 */ lfs f29, 0x108(r1) +/* 803618F4 0035E854 C3 81 01 18 */ lfs f28, 0x118(r1) +/* 803618F8 0035E858 C3 61 01 28 */ lfs f27, 0x128(r1) +/* 803618FC 0035E85C 48 00 00 C0 */ b lbl_803619BC +lbl_80361900: +/* 80361900 0035E860 C0 61 00 98 */ lfs f3, 0x98(r1) +/* 80361904 0035E864 38 61 00 54 */ addi r3, r1, 0x54 +/* 80361908 0035E868 C0 C1 00 88 */ lfs f6, 0x88(r1) +/* 8036190C 0035E86C 38 81 00 48 */ addi r4, r1, 0x48 +/* 80361910 0035E870 C0 81 00 9C */ lfs f4, 0x9c(r1) +/* 80361914 0035E874 C0 21 00 8C */ lfs f1, 0x8c(r1) +/* 80361918 0035E878 EC 06 00 F2 */ fmuls f0, f6, f3 +/* 8036191C 0035E87C C0 E1 00 94 */ lfs f7, 0x94(r1) +/* 80361920 0035E880 C0 A1 00 90 */ lfs f5, 0x90(r1) +/* 80361924 0035E884 EC 41 01 32 */ fmuls f2, f1, f4 +/* 80361928 0035E888 EC 07 00 78 */ fmsubs f0, f7, f1, f0 +/* 8036192C 0035E88C EC 25 01 F2 */ fmuls f1, f5, f7 +/* 80361930 0035E890 EC 43 11 78 */ fmsubs f2, f3, f5, f2 +/* 80361934 0035E894 D0 01 00 50 */ stfs f0, 0x50(r1) +/* 80361938 0035E898 EC 04 09 B8 */ fmsubs f0, f4, f6, f1 +/* 8036193C 0035E89C D0 41 00 48 */ stfs f2, 0x48(r1) +/* 80361940 0035E8A0 D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 80361944 0035E8A4 4B FB 2F 0D */ bl AsNormalized__9CVector3fCFv +/* 80361948 0035E8A8 C3 A1 00 54 */ lfs f29, 0x54(r1) +/* 8036194C 0035E8AC C3 81 00 58 */ lfs f28, 0x58(r1) +/* 80361950 0035E8B0 C3 61 00 5C */ lfs f27, 0x5c(r1) +/* 80361954 0035E8B4 48 00 00 68 */ b lbl_803619BC +lbl_80361958: +/* 80361958 0035E8B8 80 9E 04 2C */ lwz r4, 0x42c(r30) +/* 8036195C 0035E8BC 38 00 00 00 */ li r0, 0 +/* 80361960 0035E8C0 38 A4 00 0C */ addi r5, r4, 0xc +/* 80361964 0035E8C4 C0 24 00 00 */ lfs f1, 0(r4) +/* 80361968 0035E8C8 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 8036196C 0035E8CC FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80361970 0035E8D0 40 82 00 28 */ bne lbl_80361998 +/* 80361974 0035E8D4 C0 24 00 04 */ lfs f1, 4(r4) +/* 80361978 0035E8D8 C0 05 00 04 */ lfs f0, 4(r5) +/* 8036197C 0035E8DC FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80361980 0035E8E0 40 82 00 18 */ bne lbl_80361998 +/* 80361984 0035E8E4 C0 24 00 08 */ lfs f1, 8(r4) +/* 80361988 0035E8E8 C0 05 00 08 */ lfs f0, 8(r5) +/* 8036198C 0035E8EC FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80361990 0035E8F0 40 82 00 08 */ bne lbl_80361998 +/* 80361994 0035E8F4 38 00 00 01 */ li r0, 1 +lbl_80361998: +/* 80361998 0035E8F8 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 8036199C 0035E8FC 40 82 00 20 */ bne lbl_803619BC +/* 803619A0 0035E900 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 803619A4 0035E904 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l +/* 803619A8 0035E908 38 61 00 D0 */ addi r3, r1, 0xd0 +/* 803619AC 0035E90C 4B FB 21 65 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 803619B0 0035E910 C3 A1 00 D8 */ lfs f29, 0xd8(r1) +/* 803619B4 0035E914 C3 81 00 E8 */ lfs f28, 0xe8(r1) +/* 803619B8 0035E918 C3 61 00 F8 */ lfs f27, 0xf8(r1) +lbl_803619BC: +/* 803619BC 0035E91C C0 22 CD 54 */ lfs f1, lbl_805AEA74@sda21(r2) +/* 803619C0 0035E920 38 7E 01 4C */ addi r3, r30, 0x14c +/* 803619C4 0035E924 C0 42 CD 7C */ lfs f2, lbl_805AEA9C@sda21(r2) +/* 803619C8 0035E928 4B FB 0B 7D */ bl Range__9CRandom16Fff +/* 803619CC 0035E92C FF C0 08 90 */ fmr f30, f1 +/* 803619D0 0035E930 C3 E2 CD 54 */ lfs f31, lbl_805AEA74@sda21(r2) +/* 803619D4 0035E934 3B E0 00 01 */ li r31, 1 +/* 803619D8 0035E938 3B 80 00 0C */ li r28, 0xc +/* 803619DC 0035E93C 3B 60 00 04 */ li r27, 4 +/* 803619E0 0035E940 48 00 01 44 */ b lbl_80361B24 +lbl_803619E4: +/* 803619E4 0035E944 38 1F FF FF */ addi r0, r31, -1 +/* 803619E8 0035E948 80 BE 04 2C */ lwz r5, 0x42c(r30) +/* 803619EC 0035E94C 1C 60 00 0C */ mulli r3, r0, 0xc +/* 803619F0 0035E950 38 00 00 00 */ li r0, 0 +/* 803619F4 0035E954 7C 85 E2 14 */ add r4, r5, r28 +/* 803619F8 0035E958 C0 24 00 00 */ lfs f1, 0(r4) +/* 803619FC 0035E95C 7C 65 1A 14 */ add r3, r5, r3 +/* 80361A00 0035E960 C0 84 00 04 */ lfs f4, 4(r4) +/* 80361A04 0035E964 C0 03 00 00 */ lfs f0, 0(r3) +/* 80361A08 0035E968 C0 63 00 04 */ lfs f3, 4(r3) +/* 80361A0C 0035E96C EC 01 00 28 */ fsubs f0, f1, f0 +/* 80361A10 0035E970 C0 44 00 08 */ lfs f2, 8(r4) +/* 80361A14 0035E974 C0 23 00 08 */ lfs f1, 8(r3) +/* 80361A18 0035E978 EC 64 18 28 */ fsubs f3, f4, f3 +/* 80361A1C 0035E97C EC 22 08 28 */ fsubs f1, f2, f1 +/* 80361A20 0035E980 D0 01 00 7C */ stfs f0, 0x7c(r1) +/* 80361A24 0035E984 FC 1F 00 00 */ fcmpu cr0, f31, f0 +/* 80361A28 0035E988 D0 61 00 80 */ stfs f3, 0x80(r1) +/* 80361A2C 0035E98C D0 21 00 84 */ stfs f1, 0x84(r1) +/* 80361A30 0035E990 40 82 00 14 */ bne lbl_80361A44 +/* 80361A34 0035E994 FC 1F 18 00 */ fcmpu cr0, f31, f3 +/* 80361A38 0035E998 40 82 00 0C */ bne lbl_80361A44 +/* 80361A3C 0035E99C FC 1F 08 00 */ fcmpu cr0, f31, f1 +/* 80361A40 0035E9A0 41 82 00 08 */ beq lbl_80361A48 +lbl_80361A44: +/* 80361A44 0035E9A4 38 00 00 01 */ li r0, 1 +lbl_80361A48: +/* 80361A48 0035E9A8 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 80361A4C 0035E9AC 41 82 00 CC */ beq lbl_80361B18 +/* 80361A50 0035E9B0 83 BE 04 3C */ lwz r29, 0x43c(r30) +/* 80361A54 0035E9B4 38 7E 01 4C */ addi r3, r30, 0x14c +/* 80361A58 0035E9B8 C0 22 CD 84 */ lfs f1, lbl_805AEAA4@sda21(r2) +/* 80361A5C 0035E9BC C0 42 CD 48 */ lfs f2, lbl_805AEA68@sda21(r2) +/* 80361A60 0035E9C0 4B FB 0A E5 */ bl Range__9CRandom16Fff +/* 80361A64 0035E9C4 7C 5D DC 2E */ lfsx f2, r29, r27 +/* 80361A68 0035E9C8 38 61 00 2C */ addi r3, r1, 0x2c +/* 80361A6C 0035E9CC C0 01 00 10 */ lfs f0, 0x10(r1) +/* 80361A70 0035E9D0 38 81 00 7C */ addi r4, r1, 0x7c +/* 80361A74 0035E9D4 C0 62 CD 80 */ lfs f3, lbl_805AEAA0@sda21(r2) +/* 80361A78 0035E9D8 EC 02 00 24 */ fdivs f0, f2, f0 +/* 80361A7C 0035E9DC C0 42 CD 88 */ lfs f2, lbl_805AEAA8@sda21(r2) +/* 80361A80 0035E9E0 EC 03 00 32 */ fmuls f0, f3, f0 +/* 80361A84 0035E9E4 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80361A88 0035E9E8 EC 00 F0 2A */ fadds f0, f0, f30 +/* 80361A8C 0035E9EC EC 02 00 32 */ fmuls f0, f2, f0 +/* 80361A90 0035E9F0 D0 01 00 08 */ stfs f0, 8(r1) +/* 80361A94 0035E9F4 4B FB 23 3D */ bl __ct__13CUnitVector3fFRC9CVector3f +/* 80361A98 0035E9F8 7C 64 1B 78 */ mr r4, r3 +/* 80361A9C 0035E9FC 38 61 00 38 */ addi r3, r1, 0x38 +/* 80361AA0 0035EA00 38 A1 00 08 */ addi r5, r1, 8 +/* 80361AA4 0035EA04 4B FA F8 51 */ bl AxisAngle__11CQuaternionFRC13CUnitVector3fRC9CRelAngle +/* 80361AA8 0035EA08 C0 61 00 38 */ lfs f3, 0x38(r1) +/* 80361AAC 0035EA0C 38 61 00 20 */ addi r3, r1, 0x20 +/* 80361AB0 0035EA10 C0 41 00 3C */ lfs f2, 0x3c(r1) +/* 80361AB4 0035EA14 38 81 00 6C */ addi r4, r1, 0x6c +/* 80361AB8 0035EA18 C0 21 00 40 */ lfs f1, 0x40(r1) +/* 80361ABC 0035EA1C 38 A1 00 14 */ addi r5, r1, 0x14 +/* 80361AC0 0035EA20 C0 01 00 44 */ lfs f0, 0x44(r1) +/* 80361AC4 0035EA24 D0 61 00 6C */ stfs f3, 0x6c(r1) +/* 80361AC8 0035EA28 D0 41 00 70 */ stfs f2, 0x70(r1) +/* 80361ACC 0035EA2C D0 21 00 74 */ stfs f1, 0x74(r1) +/* 80361AD0 0035EA30 D0 01 00 78 */ stfs f0, 0x78(r1) +/* 80361AD4 0035EA34 80 DE 04 3C */ lwz r6, 0x43c(r30) +/* 80361AD8 0035EA38 7C 06 DC 2E */ lfsx f0, r6, r27 +/* 80361ADC 0035EA3C EC 40 07 72 */ fmuls f2, f0, f29 +/* 80361AE0 0035EA40 EC 20 07 32 */ fmuls f1, f0, f28 +/* 80361AE4 0035EA44 EC 00 06 F2 */ fmuls f0, f0, f27 +/* 80361AE8 0035EA48 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 80361AEC 0035EA4C D0 21 00 18 */ stfs f1, 0x18(r1) +/* 80361AF0 0035EA50 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 80361AF4 0035EA54 4B FA F7 71 */ bl Transform__11CQuaternionCFRC9CVector3f +/* 80361AF8 0035EA58 80 1E 04 4C */ lwz r0, 0x44c(r30) +/* 80361AFC 0035EA5C C0 01 00 20 */ lfs f0, 0x20(r1) +/* 80361B00 0035EA60 7C 60 E2 14 */ add r3, r0, r28 +/* 80361B04 0035EA64 D0 03 00 00 */ stfs f0, 0(r3) +/* 80361B08 0035EA68 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 80361B0C 0035EA6C D0 03 00 04 */ stfs f0, 4(r3) +/* 80361B10 0035EA70 C0 01 00 28 */ lfs f0, 0x28(r1) +/* 80361B14 0035EA74 D0 03 00 08 */ stfs f0, 8(r3) +lbl_80361B18: +/* 80361B18 0035EA78 3B 9C 00 0C */ addi r28, r28, 0xc +/* 80361B1C 0035EA7C 3B 7B 00 04 */ addi r27, r27, 4 +/* 80361B20 0035EA80 3B FF 00 01 */ addi r31, r31, 1 +lbl_80361B24: +/* 80361B24 0035EA84 80 7E 04 24 */ lwz r3, 0x424(r30) +/* 80361B28 0035EA88 38 03 FF FF */ addi r0, r3, -1 +/* 80361B2C 0035EA8C 7C 1F 00 00 */ cmpw r31, r0 +/* 80361B30 0035EA90 41 80 FE B4 */ blt lbl_803619E4 +/* 80361B34 0035EA94 38 C0 00 01 */ li r6, 1 +/* 80361B38 0035EA98 38 A0 00 0C */ li r5, 0xc +/* 80361B3C 0035EA9C 48 00 00 4C */ b lbl_80361B88 +lbl_80361B40: +/* 80361B40 0035EAA0 80 7E 04 4C */ lwz r3, 0x44c(r30) +/* 80361B44 0035EAA4 38 C6 00 01 */ addi r6, r6, 1 +/* 80361B48 0035EAA8 80 1E 04 2C */ lwz r0, 0x42c(r30) +/* 80361B4C 0035EAAC 7C 63 2A 14 */ add r3, r3, r5 +/* 80361B50 0035EAB0 7C 80 2A 14 */ add r4, r0, r5 +/* 80361B54 0035EAB4 C0 03 00 00 */ lfs f0, 0(r3) +/* 80361B58 0035EAB8 C0 24 00 00 */ lfs f1, 0(r4) +/* 80361B5C 0035EABC 38 A5 00 0C */ addi r5, r5, 0xc +/* 80361B60 0035EAC0 EC 01 00 2A */ fadds f0, f1, f0 +/* 80361B64 0035EAC4 D0 04 00 00 */ stfs f0, 0(r4) +/* 80361B68 0035EAC8 C0 24 00 04 */ lfs f1, 4(r4) +/* 80361B6C 0035EACC C0 03 00 04 */ lfs f0, 4(r3) +/* 80361B70 0035EAD0 EC 01 00 2A */ fadds f0, f1, f0 +/* 80361B74 0035EAD4 D0 04 00 04 */ stfs f0, 4(r4) +/* 80361B78 0035EAD8 C0 24 00 08 */ lfs f1, 8(r4) +/* 80361B7C 0035EADC C0 03 00 08 */ lfs f0, 8(r3) +/* 80361B80 0035EAE0 EC 01 00 2A */ fadds f0, f1, f0 +/* 80361B84 0035EAE4 D0 04 00 08 */ stfs f0, 8(r4) +lbl_80361B88: +/* 80361B88 0035EAE8 80 7E 04 24 */ lwz r3, 0x424(r30) +/* 80361B8C 0035EAEC 38 03 FF FF */ addi r0, r3, -1 +/* 80361B90 0035EAF0 7C 06 00 00 */ cmpw r6, r0 +/* 80361B94 0035EAF4 41 80 FF AC */ blt lbl_80361B40 +/* 80361B98 0035EAF8 80 7E 00 24 */ lwz r3, 0x24(r30) +/* 80361B9C 0035EAFC 88 03 00 70 */ lbz r0, 0x70(r3) +/* 80361BA0 0035EB00 28 00 00 00 */ cmplwi r0, 0 +/* 80361BA4 0035EB04 41 82 00 34 */ beq lbl_80361BD8 +/* 80361BA8 0035EB08 C0 02 CD 54 */ lfs f0, lbl_805AEA74@sda21(r2) +/* 80361BAC 0035EB0C 38 A0 00 00 */ li r5, 0 +/* 80361BB0 0035EB10 38 80 00 00 */ li r4, 0 +/* 80361BB4 0035EB14 48 00 00 18 */ b lbl_80361BCC +lbl_80361BB8: +/* 80361BB8 0035EB18 80 7E 04 2C */ lwz r3, 0x42c(r30) +/* 80361BBC 0035EB1C 38 04 00 04 */ addi r0, r4, 4 +/* 80361BC0 0035EB20 38 84 00 0C */ addi r4, r4, 0xc +/* 80361BC4 0035EB24 38 A5 00 01 */ addi r5, r5, 1 +/* 80361BC8 0035EB28 7C 03 05 2E */ stfsx f0, r3, r0 +lbl_80361BCC: +/* 80361BCC 0035EB2C 80 1E 04 24 */ lwz r0, 0x424(r30) +/* 80361BD0 0035EB30 7C 05 00 00 */ cmpw r5, r0 +/* 80361BD4 0035EB34 41 80 FF E4 */ blt lbl_80361BB8 +lbl_80361BD8: +/* 80361BD8 0035EB38 80 A1 01 30 */ lwz r5, 0x130(r1) +/* 80361BDC 0035EB3C 38 60 00 00 */ li r3, 0 +/* 80361BE0 0035EB40 2C 05 00 00 */ cmpwi r5, 0 +/* 80361BE4 0035EB44 40 81 00 40 */ ble lbl_80361C24 +/* 80361BE8 0035EB48 2C 05 00 08 */ cmpwi r5, 8 +/* 80361BEC 0035EB4C 38 85 FF F8 */ addi r4, r5, -8 +/* 80361BF0 0035EB50 40 81 00 20 */ ble lbl_80361C10 +/* 80361BF4 0035EB54 38 04 00 07 */ addi r0, r4, 7 +/* 80361BF8 0035EB58 54 00 E8 FE */ srwi r0, r0, 3 +/* 80361BFC 0035EB5C 7C 09 03 A6 */ mtctr r0 +/* 80361C00 0035EB60 2C 04 00 00 */ cmpwi r4, 0 +/* 80361C04 0035EB64 40 81 00 0C */ ble lbl_80361C10 +lbl_80361C08: +/* 80361C08 0035EB68 38 63 00 08 */ addi r3, r3, 8 +/* 80361C0C 0035EB6C 42 00 FF FC */ bdnz lbl_80361C08 +lbl_80361C10: +/* 80361C10 0035EB70 7C 03 28 50 */ subf r0, r3, r5 +/* 80361C14 0035EB74 7C 09 03 A6 */ mtctr r0 +/* 80361C18 0035EB78 7C 03 28 00 */ cmpw r3, r5 +/* 80361C1C 0035EB7C 40 80 00 08 */ bge lbl_80361C24 +lbl_80361C20: +/* 80361C20 0035EB80 42 00 00 00 */ bdnz lbl_80361C20 +lbl_80361C24: +/* 80361C24 0035EB84 38 00 00 00 */ li r0, 0 +/* 80361C28 0035EB88 90 01 01 30 */ stw r0, 0x130(r1) +/* 80361C2C 0035EB8C E3 E1 01 E8 */ psq_l f31, 488(r1), 0, qr0 +/* 80361C30 0035EB90 CB E1 01 E0 */ lfd f31, 0x1e0(r1) +/* 80361C34 0035EB94 E3 C1 01 D8 */ psq_l f30, 472(r1), 0, qr0 +/* 80361C38 0035EB98 CB C1 01 D0 */ lfd f30, 0x1d0(r1) +/* 80361C3C 0035EB9C E3 A1 01 C8 */ psq_l f29, 456(r1), 0, qr0 +/* 80361C40 0035EBA0 CB A1 01 C0 */ lfd f29, 0x1c0(r1) +/* 80361C44 0035EBA4 E3 81 01 B8 */ psq_l f28, 440(r1), 0, qr0 +/* 80361C48 0035EBA8 CB 81 01 B0 */ lfd f28, 0x1b0(r1) +/* 80361C4C 0035EBAC E3 61 01 A8 */ psq_l f27, 424(r1), 0, qr0 +/* 80361C50 0035EBB0 CB 61 01 A0 */ lfd f27, 0x1a0(r1) +/* 80361C54 0035EBB4 E3 41 01 98 */ psq_l f26, 408(r1), 0, qr0 +/* 80361C58 0035EBB8 CB 41 01 90 */ lfd f26, 0x190(r1) +/* 80361C5C 0035EBBC BB 01 01 70 */ lmw r24, 0x170(r1) +/* 80361C60 0035EBC0 80 01 01 F4 */ lwz r0, 0x1f4(r1) +/* 80361C64 0035EBC4 7C 08 03 A6 */ mtlr r0 +/* 80361C68 0035EBC8 38 21 01 F0 */ addi r1, r1, 0x1f0 +/* 80361C6C 0035EBCC 4E 80 00 20 */ blr + +.global __dt__17CParticleElectricFv +__dt__17CParticleElectricFv: +/* 80361C70 0035EBD0 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 80361C74 0035EBD4 7C 08 02 A6 */ mflr r0 +/* 80361C78 0035EBD8 90 01 00 54 */ stw r0, 0x54(r1) +/* 80361C7C 0035EBDC 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 80361C80 0035EBE0 7C 9F 23 78 */ mr r31, r4 +/* 80361C84 0035EBE4 93 C1 00 48 */ stw r30, 0x48(r1) +/* 80361C88 0035EBE8 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80361C8C 0035EBEC 93 A1 00 44 */ stw r29, 0x44(r1) +/* 80361C90 0035EBF0 93 81 00 40 */ stw r28, 0x40(r1) +/* 80361C94 0035EBF4 41 82 02 5C */ beq lbl_80361EF0 +/* 80361C98 0035EBF8 3C 60 80 3F */ lis r3, lbl_803EF7B8@ha +/* 80361C9C 0035EBFC 34 1E 04 40 */ addic. r0, r30, 0x440 +/* 80361CA0 0035EC00 38 03 F7 B8 */ addi r0, r3, lbl_803EF7B8@l +/* 80361CA4 0035EC04 90 1E 00 00 */ stw r0, 0(r30) +/* 80361CA8 0035EC08 41 82 00 44 */ beq lbl_80361CEC +/* 80361CAC 0035EC0C 80 1E 04 44 */ lwz r0, 0x444(r30) +/* 80361CB0 0035EC10 80 7E 04 4C */ lwz r3, 0x44c(r30) +/* 80361CB4 0035EC14 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80361CB8 0035EC18 90 61 00 2C */ stw r3, 0x2c(r1) +/* 80361CBC 0035EC1C 7C 64 1B 78 */ mr r4, r3 +/* 80361CC0 0035EC20 7C 03 02 14 */ add r0, r3, r0 +/* 80361CC4 0035EC24 90 61 00 28 */ stw r3, 0x28(r1) +/* 80361CC8 0035EC28 90 01 00 34 */ stw r0, 0x34(r1) +/* 80361CCC 0035EC2C 90 01 00 30 */ stw r0, 0x30(r1) +/* 80361CD0 0035EC30 48 00 00 08 */ b lbl_80361CD8 +lbl_80361CD4: +/* 80361CD4 0035EC34 38 84 00 0C */ addi r4, r4, 0xc +lbl_80361CD8: +/* 80361CD8 0035EC38 7C 04 00 40 */ cmplw r4, r0 +/* 80361CDC 0035EC3C 40 82 FF F8 */ bne lbl_80361CD4 +/* 80361CE0 0035EC40 28 03 00 00 */ cmplwi r3, 0 +/* 80361CE4 0035EC44 41 82 00 08 */ beq lbl_80361CEC +/* 80361CE8 0035EC48 4B FB 3C 49 */ bl Free__7CMemoryFPCv +lbl_80361CEC: +/* 80361CEC 0035EC4C 34 1E 04 30 */ addic. r0, r30, 0x430 +/* 80361CF0 0035EC50 41 82 00 44 */ beq lbl_80361D34 +/* 80361CF4 0035EC54 80 1E 04 34 */ lwz r0, 0x434(r30) +/* 80361CF8 0035EC58 80 7E 04 3C */ lwz r3, 0x43c(r30) +/* 80361CFC 0035EC5C 54 00 10 3A */ slwi r0, r0, 2 +/* 80361D00 0035EC60 7C 03 02 14 */ add r0, r3, r0 +/* 80361D04 0035EC64 90 61 00 1C */ stw r3, 0x1c(r1) +/* 80361D08 0035EC68 7C 64 1B 78 */ mr r4, r3 +/* 80361D0C 0035EC6C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80361D10 0035EC70 90 01 00 20 */ stw r0, 0x20(r1) +/* 80361D14 0035EC74 90 61 00 18 */ stw r3, 0x18(r1) +/* 80361D18 0035EC78 48 00 00 08 */ b lbl_80361D20 +lbl_80361D1C: +/* 80361D1C 0035EC7C 38 84 00 04 */ addi r4, r4, 4 +lbl_80361D20: +/* 80361D20 0035EC80 7C 04 00 40 */ cmplw r4, r0 +/* 80361D24 0035EC84 40 82 FF F8 */ bne lbl_80361D1C +/* 80361D28 0035EC88 28 03 00 00 */ cmplwi r3, 0 +/* 80361D2C 0035EC8C 41 82 00 08 */ beq lbl_80361D34 +/* 80361D30 0035EC90 4B FB 3C 01 */ bl Free__7CMemoryFPCv +lbl_80361D34: +/* 80361D34 0035EC94 34 1E 04 20 */ addic. r0, r30, 0x420 +/* 80361D38 0035EC98 41 82 00 3C */ beq lbl_80361D74 +/* 80361D3C 0035EC9C 80 1E 04 24 */ lwz r0, 0x424(r30) +/* 80361D40 0035ECA0 80 7E 04 2C */ lwz r3, 0x42c(r30) +/* 80361D44 0035ECA4 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80361D48 0035ECA8 90 61 00 0C */ stw r3, 0xc(r1) +/* 80361D4C 0035ECAC 7C 64 1B 78 */ mr r4, r3 +/* 80361D50 0035ECB0 7C 03 02 14 */ add r0, r3, r0 +/* 80361D54 0035ECB4 90 61 00 08 */ stw r3, 8(r1) +/* 80361D58 0035ECB8 90 01 00 14 */ stw r0, 0x14(r1) +/* 80361D5C 0035ECBC 90 01 00 10 */ stw r0, 0x10(r1) +/* 80361D60 0035ECC0 48 00 00 08 */ b lbl_80361D68 +lbl_80361D64: +/* 80361D64 0035ECC4 38 84 00 0C */ addi r4, r4, 0xc +lbl_80361D68: +/* 80361D68 0035ECC8 7C 04 00 40 */ cmplw r4, r0 +/* 80361D6C 0035ECCC 40 82 FF F8 */ bne lbl_80361D64 +/* 80361D70 0035ECD0 4B FB 3B C1 */ bl Free__7CMemoryFPCv +lbl_80361D74: +/* 80361D74 0035ECD4 38 7E 04 10 */ addi r3, r30, 0x410 +/* 80361D78 0035ECD8 38 80 FF FF */ li r4, -1 +/* 80361D7C 0035ECDC 48 00 03 25 */ bl "__dt__Q24rstl45vector<9CVector3f,Q24rstl17aligned_allocator>Fv" +/* 80361D80 0035ECE0 38 7E 04 00 */ addi r3, r30, 0x400 +/* 80361D84 0035ECE4 38 80 FF FF */ li r4, -1 +/* 80361D88 0035ECE8 48 00 03 19 */ bl "__dt__Q24rstl45vector<9CVector3f,Q24rstl17aligned_allocator>Fv" +/* 80361D8C 0035ECEC 38 7E 03 E8 */ addi r3, r30, 0x3e8 +/* 80361D90 0035ECF0 38 80 FF FF */ li r4, -1 +/* 80361D94 0035ECF4 48 00 10 25 */ bl "__dt__Q24rstl80listFv" +/* 80361D98 0035ECF8 38 7E 02 E4 */ addi r3, r30, 0x2e4 +/* 80361D9C 0035ECFC 38 80 FF FF */ li r4, -1 +/* 80361DA0 0035ED00 48 00 01 75 */ bl "__dt__Q24rstl74reserved_vector,32>Fv" +/* 80361DA4 0035ED04 34 1E 01 E0 */ addic. r0, r30, 0x1e0 +/* 80361DA8 0035ED08 41 82 00 60 */ beq lbl_80361E08 +/* 80361DAC 0035ED0C 3B 9E 01 E4 */ addi r28, r30, 0x1e4 +/* 80361DB0 0035ED10 3B A0 00 00 */ li r29, 0 +/* 80361DB4 0035ED14 48 00 00 40 */ b lbl_80361DF4 +lbl_80361DB8: +/* 80361DB8 0035ED18 28 1C 00 00 */ cmplwi r28, 0 +/* 80361DBC 0035ED1C 41 82 00 30 */ beq lbl_80361DEC +/* 80361DC0 0035ED20 88 1C 00 00 */ lbz r0, 0(r28) +/* 80361DC4 0035ED24 28 00 00 00 */ cmplwi r0, 0 +/* 80361DC8 0035ED28 41 82 00 24 */ beq lbl_80361DEC +/* 80361DCC 0035ED2C 80 7C 00 04 */ lwz r3, 4(r28) +/* 80361DD0 0035ED30 28 03 00 00 */ cmplwi r3, 0 +/* 80361DD4 0035ED34 41 82 00 18 */ beq lbl_80361DEC +/* 80361DD8 0035ED38 81 83 00 00 */ lwz r12, 0(r3) +/* 80361DDC 0035ED3C 38 80 00 01 */ li r4, 1 +/* 80361DE0 0035ED40 81 8C 00 08 */ lwz r12, 8(r12) +/* 80361DE4 0035ED44 7D 89 03 A6 */ mtctr r12 +/* 80361DE8 0035ED48 4E 80 04 21 */ bctrl +lbl_80361DEC: +/* 80361DEC 0035ED4C 3B 9C 00 08 */ addi r28, r28, 8 +/* 80361DF0 0035ED50 3B BD 00 01 */ addi r29, r29, 1 +lbl_80361DF4: +/* 80361DF4 0035ED54 80 1E 01 E0 */ lwz r0, 0x1e0(r30) +/* 80361DF8 0035ED58 7C 1D 00 00 */ cmpw r29, r0 +/* 80361DFC 0035ED5C 41 80 FF BC */ blt lbl_80361DB8 +/* 80361E00 0035ED60 38 00 00 00 */ li r0, 0 +/* 80361E04 0035ED64 90 1E 01 E0 */ stw r0, 0x1e0(r30) +lbl_80361E08: +/* 80361E08 0035ED68 34 1E 01 BC */ addic. r0, r30, 0x1bc +/* 80361E0C 0035ED6C 41 82 00 58 */ beq lbl_80361E64 +/* 80361E10 0035ED70 80 BE 01 BC */ lwz r5, 0x1bc(r30) +/* 80361E14 0035ED74 38 60 00 00 */ li r3, 0 +/* 80361E18 0035ED78 2C 05 00 00 */ cmpwi r5, 0 +/* 80361E1C 0035ED7C 40 81 00 40 */ ble lbl_80361E5C +/* 80361E20 0035ED80 2C 05 00 08 */ cmpwi r5, 8 +/* 80361E24 0035ED84 38 85 FF F8 */ addi r4, r5, -8 +/* 80361E28 0035ED88 40 81 00 20 */ ble lbl_80361E48 +/* 80361E2C 0035ED8C 38 04 00 07 */ addi r0, r4, 7 +/* 80361E30 0035ED90 54 00 E8 FE */ srwi r0, r0, 3 +/* 80361E34 0035ED94 7C 09 03 A6 */ mtctr r0 +/* 80361E38 0035ED98 2C 04 00 00 */ cmpwi r4, 0 +/* 80361E3C 0035ED9C 40 81 00 0C */ ble lbl_80361E48 +lbl_80361E40: +/* 80361E40 0035EDA0 38 63 00 08 */ addi r3, r3, 8 +/* 80361E44 0035EDA4 42 00 FF FC */ bdnz lbl_80361E40 +lbl_80361E48: +/* 80361E48 0035EDA8 7C 03 28 50 */ subf r0, r3, r5 +/* 80361E4C 0035EDAC 7C 09 03 A6 */ mtctr r0 +/* 80361E50 0035EDB0 7C 03 28 00 */ cmpw r3, r5 +/* 80361E54 0035EDB4 40 80 00 08 */ bge lbl_80361E5C +lbl_80361E58: +/* 80361E58 0035EDB8 42 00 00 00 */ bdnz lbl_80361E58 +lbl_80361E5C: +/* 80361E5C 0035EDBC 38 00 00 00 */ li r0, 0 +/* 80361E60 0035EDC0 90 1E 01 BC */ stw r0, 0x1bc(r30) +lbl_80361E64: +/* 80361E64 0035EDC4 34 1E 01 A8 */ addic. r0, r30, 0x1a8 +/* 80361E68 0035EDC8 41 82 00 0C */ beq lbl_80361E74 +/* 80361E6C 0035EDCC 38 00 00 00 */ li r0, 0 +/* 80361E70 0035EDD0 98 1E 01 B4 */ stb r0, 0x1b4(r30) +lbl_80361E74: +/* 80361E74 0035EDD4 34 1E 01 98 */ addic. r0, r30, 0x198 +/* 80361E78 0035EDD8 41 82 00 0C */ beq lbl_80361E84 +/* 80361E7C 0035EDDC 38 00 00 00 */ li r0, 0 +/* 80361E80 0035EDE0 98 1E 01 A4 */ stb r0, 0x1a4(r30) +lbl_80361E84: +/* 80361E84 0035EDE4 34 1E 01 88 */ addic. r0, r30, 0x188 +/* 80361E88 0035EDE8 41 82 00 0C */ beq lbl_80361E94 +/* 80361E8C 0035EDEC 38 00 00 00 */ li r0, 0 +/* 80361E90 0035EDF0 98 1E 01 94 */ stb r0, 0x194(r30) +lbl_80361E94: +/* 80361E94 0035EDF4 34 1E 01 78 */ addic. r0, r30, 0x178 +/* 80361E98 0035EDF8 41 82 00 0C */ beq lbl_80361EA4 +/* 80361E9C 0035EDFC 38 00 00 00 */ li r0, 0 +/* 80361EA0 0035EE00 98 1E 01 84 */ stb r0, 0x184(r30) +lbl_80361EA4: +/* 80361EA4 0035EE04 34 1E 00 1C */ addic. r0, r30, 0x1c +/* 80361EA8 0035EE08 41 82 00 18 */ beq lbl_80361EC0 +/* 80361EAC 0035EE0C 34 1E 00 1C */ addic. r0, r30, 0x1c +/* 80361EB0 0035EE10 41 82 00 10 */ beq lbl_80361EC0 +/* 80361EB4 0035EE14 38 7E 00 1C */ addi r3, r30, 0x1c +/* 80361EB8 0035EE18 38 80 00 00 */ li r4, 0 +/* 80361EBC 0035EE1C 4B FD EF 85 */ bl __dt__6CTokenFv +lbl_80361EC0: +/* 80361EC0 0035EE20 28 1E 00 00 */ cmplwi r30, 0 +/* 80361EC4 0035EE24 41 82 00 1C */ beq lbl_80361EE0 +/* 80361EC8 0035EE28 3C 80 80 3F */ lis r4, lbl_803EDD08@ha +/* 80361ECC 0035EE2C 38 7E 00 04 */ addi r3, r30, 4 +/* 80361ED0 0035EE30 38 04 DD 08 */ addi r0, r4, lbl_803EDD08@l +/* 80361ED4 0035EE34 38 80 FF FF */ li r4, -1 +/* 80361ED8 0035EE38 90 1E 00 00 */ stw r0, 0(r30) +/* 80361EDC 0035EE3C 4B CF 8D F5 */ bl __dt__12CParticleGenFv +lbl_80361EE0: +/* 80361EE0 0035EE40 7F E0 07 35 */ extsh. r0, r31 +/* 80361EE4 0035EE44 40 81 00 0C */ ble lbl_80361EF0 +/* 80361EE8 0035EE48 7F C3 F3 78 */ mr r3, r30 +/* 80361EEC 0035EE4C 4B FB 3A 45 */ bl Free__7CMemoryFPCv +lbl_80361EF0: +/* 80361EF0 0035EE50 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80361EF4 0035EE54 7F C3 F3 78 */ mr r3, r30 +/* 80361EF8 0035EE58 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 80361EFC 0035EE5C 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 80361F00 0035EE60 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 80361F04 0035EE64 83 81 00 40 */ lwz r28, 0x40(r1) +/* 80361F08 0035EE68 7C 08 03 A6 */ mtlr r0 +/* 80361F0C 0035EE6C 38 21 00 50 */ addi r1, r1, 0x50 +/* 80361F10 0035EE70 4E 80 00 20 */ blr + +.global "__dt__Q24rstl74reserved_vector,32>Fv" +"__dt__Q24rstl74reserved_vector,32>Fv": +/* 80361F14 0035EE74 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80361F18 0035EE78 7C 08 02 A6 */ mflr r0 +/* 80361F1C 0035EE7C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80361F20 0035EE80 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80361F24 0035EE84 7C 9F 23 78 */ mr r31, r4 +/* 80361F28 0035EE88 93 C1 00 08 */ stw r30, 8(r1) +/* 80361F2C 0035EE8C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80361F30 0035EE90 41 82 00 18 */ beq lbl_80361F48 +/* 80361F34 0035EE94 48 00 00 31 */ bl "clear__Q24rstl74reserved_vector,32>Fv" +/* 80361F38 0035EE98 7F E0 07 35 */ extsh. r0, r31 +/* 80361F3C 0035EE9C 40 81 00 0C */ ble lbl_80361F48 +/* 80361F40 0035EEA0 7F C3 F3 78 */ mr r3, r30 +/* 80361F44 0035EEA4 4B FB 39 ED */ bl Free__7CMemoryFPCv +lbl_80361F48: +/* 80361F48 0035EEA8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80361F4C 0035EEAC 7F C3 F3 78 */ mr r3, r30 +/* 80361F50 0035EEB0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80361F54 0035EEB4 83 C1 00 08 */ lwz r30, 8(r1) +/* 80361F58 0035EEB8 7C 08 03 A6 */ mtlr r0 +/* 80361F5C 0035EEBC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80361F60 0035EEC0 4E 80 00 20 */ blr + +.global "clear__Q24rstl74reserved_vector,32>Fv" +"clear__Q24rstl74reserved_vector,32>Fv": +/* 80361F64 0035EEC4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80361F68 0035EEC8 7C 08 02 A6 */ mflr r0 +/* 80361F6C 0035EECC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80361F70 0035EED0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80361F74 0035EED4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80361F78 0035EED8 3B C0 00 00 */ li r30, 0 +/* 80361F7C 0035EEDC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80361F80 0035EEE0 7C 7D 1B 78 */ mr r29, r3 +/* 80361F84 0035EEE4 3B FD 00 04 */ addi r31, r29, 4 +/* 80361F88 0035EEE8 48 00 00 14 */ b lbl_80361F9C +lbl_80361F8C: +/* 80361F8C 0035EEEC 7F E3 FB 78 */ mr r3, r31 +/* 80361F90 0035EEF0 48 00 00 3D */ bl "destroy>__4rstlFPQ24rstl45auto_ptr" +/* 80361F94 0035EEF4 3B FF 00 08 */ addi r31, r31, 8 +/* 80361F98 0035EEF8 3B DE 00 01 */ addi r30, r30, 1 +lbl_80361F9C: +/* 80361F9C 0035EEFC 80 1D 00 00 */ lwz r0, 0(r29) +/* 80361FA0 0035EF00 7C 1E 00 00 */ cmpw r30, r0 +/* 80361FA4 0035EF04 41 80 FF E8 */ blt lbl_80361F8C +/* 80361FA8 0035EF08 38 00 00 00 */ li r0, 0 +/* 80361FAC 0035EF0C 90 1D 00 00 */ stw r0, 0(r29) +/* 80361FB0 0035EF10 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80361FB4 0035EF14 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80361FB8 0035EF18 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80361FBC 0035EF1C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80361FC0 0035EF20 7C 08 03 A6 */ mtlr r0 +/* 80361FC4 0035EF24 38 21 00 20 */ addi r1, r1, 0x20 +/* 80361FC8 0035EF28 4E 80 00 20 */ blr + +.global "destroy>__4rstlFPQ24rstl45auto_ptr" +"destroy>__4rstlFPQ24rstl45auto_ptr": +/* 80361FCC 0035EF2C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80361FD0 0035EF30 7C 08 02 A6 */ mflr r0 +/* 80361FD4 0035EF34 38 80 FF FF */ li r4, -1 +/* 80361FD8 0035EF38 90 01 00 14 */ stw r0, 0x14(r1) +/* 80361FDC 0035EF3C 48 00 00 15 */ bl "__dt__Q24rstl45auto_ptrFv" +/* 80361FE0 0035EF40 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80361FE4 0035EF44 7C 08 03 A6 */ mtlr r0 +/* 80361FE8 0035EF48 38 21 00 10 */ addi r1, r1, 0x10 +/* 80361FEC 0035EF4C 4E 80 00 20 */ blr + +.global "__dt__Q24rstl45auto_ptrFv" +"__dt__Q24rstl45auto_ptrFv": +/* 80361FF0 0035EF50 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80361FF4 0035EF54 7C 08 02 A6 */ mflr r0 +/* 80361FF8 0035EF58 90 01 00 34 */ stw r0, 0x34(r1) +/* 80361FFC 0035EF5C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80362000 0035EF60 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80362004 0035EF64 7C 9E 23 78 */ mr r30, r4 +/* 80362008 0035EF68 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8036200C 0035EF6C 7C 7D 1B 79 */ or. r29, r3, r3 +/* 80362010 0035EF70 41 82 00 70 */ beq lbl_80362080 +/* 80362014 0035EF74 88 1D 00 00 */ lbz r0, 0(r29) +/* 80362018 0035EF78 28 00 00 00 */ cmplwi r0, 0 +/* 8036201C 0035EF7C 41 82 00 54 */ beq lbl_80362070 +/* 80362020 0035EF80 83 FD 00 04 */ lwz r31, 4(r29) +/* 80362024 0035EF84 28 1F 00 00 */ cmplwi r31, 0 +/* 80362028 0035EF88 41 82 00 48 */ beq lbl_80362070 +/* 8036202C 0035EF8C 41 82 00 3C */ beq lbl_80362068 +/* 80362030 0035EF90 80 1F 00 04 */ lwz r0, 4(r31) +/* 80362034 0035EF94 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 80362038 0035EF98 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8036203C 0035EF9C 90 61 00 0C */ stw r3, 0xc(r1) +/* 80362040 0035EFA0 7C 64 1B 78 */ mr r4, r3 +/* 80362044 0035EFA4 7C 03 02 14 */ add r0, r3, r0 +/* 80362048 0035EFA8 90 61 00 08 */ stw r3, 8(r1) +/* 8036204C 0035EFAC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80362050 0035EFB0 90 01 00 10 */ stw r0, 0x10(r1) +/* 80362054 0035EFB4 48 00 00 08 */ b lbl_8036205C +lbl_80362058: +/* 80362058 0035EFB8 38 84 00 0C */ addi r4, r4, 0xc +lbl_8036205C: +/* 8036205C 0035EFBC 7C 04 00 40 */ cmplw r4, r0 +/* 80362060 0035EFC0 40 82 FF F8 */ bne lbl_80362058 +/* 80362064 0035EFC4 4B FB 38 CD */ bl Free__7CMemoryFPCv +lbl_80362068: +/* 80362068 0035EFC8 7F E3 FB 78 */ mr r3, r31 +/* 8036206C 0035EFCC 4B FB 38 C5 */ bl Free__7CMemoryFPCv +lbl_80362070: +/* 80362070 0035EFD0 7F C0 07 35 */ extsh. r0, r30 +/* 80362074 0035EFD4 40 81 00 0C */ ble lbl_80362080 +/* 80362078 0035EFD8 7F A3 EB 78 */ mr r3, r29 +/* 8036207C 0035EFDC 4B FB 38 B5 */ bl Free__7CMemoryFPCv +lbl_80362080: +/* 80362080 0035EFE0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80362084 0035EFE4 7F A3 EB 78 */ mr r3, r29 +/* 80362088 0035EFE8 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8036208C 0035EFEC 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80362090 0035EFF0 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80362094 0035EFF4 7C 08 03 A6 */ mtlr r0 +/* 80362098 0035EFF8 38 21 00 30 */ addi r1, r1, 0x30 +/* 8036209C 0035EFFC 4E 80 00 20 */ blr + +.global "__dt__Q24rstl45vector<9CVector3f,Q24rstl17aligned_allocator>Fv" +"__dt__Q24rstl45vector<9CVector3f,Q24rstl17aligned_allocator>Fv": +/* 803620A0 0035F000 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 803620A4 0035F004 7C 08 02 A6 */ mflr r0 +/* 803620A8 0035F008 90 01 00 34 */ stw r0, 0x34(r1) +/* 803620AC 0035F00C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 803620B0 0035F010 93 C1 00 28 */ stw r30, 0x28(r1) +/* 803620B4 0035F014 93 A1 00 24 */ stw r29, 0x24(r1) +/* 803620B8 0035F018 7C 9D 23 78 */ mr r29, r4 +/* 803620BC 0035F01C 93 81 00 20 */ stw r28, 0x20(r1) +/* 803620C0 0035F020 7C 7C 1B 79 */ or. r28, r3, r3 +/* 803620C4 0035F024 41 82 00 88 */ beq lbl_8036214C +/* 803620C8 0035F028 80 1C 00 04 */ lwz r0, 4(r28) +/* 803620CC 0035F02C 83 DC 00 0C */ lwz r30, 0xc(r28) +/* 803620D0 0035F030 54 00 18 38 */ slwi r0, r0, 3 +/* 803620D4 0035F034 7F FE 02 14 */ add r31, r30, r0 +/* 803620D8 0035F038 93 C1 00 10 */ stw r30, 0x10(r1) +/* 803620DC 0035F03C 93 E1 00 08 */ stw r31, 8(r1) +/* 803620E0 0035F040 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803620E4 0035F044 93 C1 00 14 */ stw r30, 0x14(r1) +/* 803620E8 0035F048 48 00 00 3C */ b lbl_80362124 +lbl_803620EC: +/* 803620EC 0035F04C 28 1E 00 00 */ cmplwi r30, 0 +/* 803620F0 0035F050 41 82 00 30 */ beq lbl_80362120 +/* 803620F4 0035F054 88 1E 00 00 */ lbz r0, 0(r30) +/* 803620F8 0035F058 28 00 00 00 */ cmplwi r0, 0 +/* 803620FC 0035F05C 41 82 00 24 */ beq lbl_80362120 +/* 80362100 0035F060 80 7E 00 04 */ lwz r3, 4(r30) +/* 80362104 0035F064 28 03 00 00 */ cmplwi r3, 0 +/* 80362108 0035F068 41 82 00 18 */ beq lbl_80362120 +/* 8036210C 0035F06C 81 83 00 00 */ lwz r12, 0(r3) +/* 80362110 0035F070 38 80 00 01 */ li r4, 1 +/* 80362114 0035F074 81 8C 00 08 */ lwz r12, 8(r12) +/* 80362118 0035F078 7D 89 03 A6 */ mtctr r12 +/* 8036211C 0035F07C 4E 80 04 21 */ bctrl +lbl_80362120: +/* 80362120 0035F080 3B DE 00 08 */ addi r30, r30, 8 +lbl_80362124: +/* 80362124 0035F084 7C 1E F8 40 */ cmplw r30, r31 +/* 80362128 0035F088 40 82 FF C4 */ bne lbl_803620EC +/* 8036212C 0035F08C 80 7C 00 0C */ lwz r3, 0xc(r28) +/* 80362130 0035F090 28 03 00 00 */ cmplwi r3, 0 +/* 80362134 0035F094 41 82 00 08 */ beq lbl_8036213C +/* 80362138 0035F098 4B FB 37 F9 */ bl Free__7CMemoryFPCv +lbl_8036213C: +/* 8036213C 0035F09C 7F A0 07 35 */ extsh. r0, r29 +/* 80362140 0035F0A0 40 81 00 0C */ ble lbl_8036214C +/* 80362144 0035F0A4 7F 83 E3 78 */ mr r3, r28 +/* 80362148 0035F0A8 4B FB 37 E9 */ bl Free__7CMemoryFPCv +lbl_8036214C: +/* 8036214C 0035F0AC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80362150 0035F0B0 7F 83 E3 78 */ mr r3, r28 +/* 80362154 0035F0B4 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80362158 0035F0B8 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8036215C 0035F0BC 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80362160 0035F0C0 83 81 00 20 */ lwz r28, 0x20(r1) +/* 80362164 0035F0C4 7C 08 03 A6 */ mtlr r0 +/* 80362168 0035F0C8 38 21 00 30 */ addi r1, r1, 0x30 +/* 8036216C 0035F0CC 4E 80 00 20 */ blr + +.global "__ct__17CParticleElectricF30TToken<20CElectricDescription>" +"__ct__17CParticleElectricF30TToken<20CElectricDescription>": +/* 80362170 0035F0D0 94 21 FF 30 */ stwu r1, -0xd0(r1) +/* 80362174 0035F0D4 7C 08 02 A6 */ mflr r0 +/* 80362178 0035F0D8 3C A0 80 3F */ lis r5, lbl_803EDD08@ha +/* 8036217C 0035F0DC 90 01 00 D4 */ stw r0, 0xd4(r1) +/* 80362180 0035F0E0 38 05 DD 08 */ addi r0, r5, lbl_803EDD08@l +/* 80362184 0035F0E4 38 A0 00 00 */ li r5, 0 +/* 80362188 0035F0E8 BE E1 00 AC */ stmw r23, 0xac(r1) +/* 8036218C 0035F0EC 7C 7F 1B 78 */ mr r31, r3 +/* 80362190 0035F0F0 38 DF 00 10 */ addi r6, r31, 0x10 +/* 80362194 0035F0F4 3C 60 80 3F */ lis r3, lbl_803EF7B8@ha +/* 80362198 0035F0F8 3A FF 00 1C */ addi r23, r31, 0x1c +/* 8036219C 0035F0FC 90 1F 00 00 */ stw r0, 0(r31) +/* 803621A0 0035F100 38 03 F7 B8 */ addi r0, r3, lbl_803EF7B8@l +/* 803621A4 0035F104 7E E3 BB 78 */ mr r3, r23 +/* 803621A8 0035F108 90 DF 00 08 */ stw r6, 8(r31) +/* 803621AC 0035F10C 90 DF 00 0C */ stw r6, 0xc(r31) +/* 803621B0 0035F110 90 DF 00 10 */ stw r6, 0x10(r31) +/* 803621B4 0035F114 90 DF 00 14 */ stw r6, 0x14(r31) +/* 803621B8 0035F118 90 BF 00 18 */ stw r5, 0x18(r31) +/* 803621BC 0035F11C 90 1F 00 00 */ stw r0, 0(r31) +/* 803621C0 0035F120 4B FD EC E9 */ bl __ct__6CTokenFRC6CToken +/* 803621C4 0035F124 7E E3 BB 78 */ mr r3, r23 +/* 803621C8 0035F128 4B FD EC 45 */ bl GetObj__6CTokenFv +/* 803621CC 0035F12C 80 83 00 04 */ lwz r4, 4(r3) +/* 803621D0 0035F130 3C A0 80 5A */ lis r5, skZero3f@ha +/* 803621D4 0035F134 38 00 00 00 */ li r0, 0 +/* 803621D8 0035F138 C8 02 CD 90 */ lfd f0, lbl_805AEAB0@sda21(r2) +/* 803621DC 0035F13C 90 97 00 08 */ stw r4, 8(r23) +/* 803621E0 0035F140 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 803621E4 0035F144 38 83 66 70 */ addi r4, r3, skIdentity4f@l +/* 803621E8 0035F148 3B 45 66 A0 */ addi r26, r5, skZero3f@l +/* 803621EC 0035F14C 90 1F 00 28 */ stw r0, 0x28(r31) +/* 803621F0 0035F150 38 7F 00 44 */ addi r3, r31, 0x44 +/* 803621F4 0035F154 90 1F 00 2C */ stw r0, 0x2c(r31) +/* 803621F8 0035F158 D8 1F 00 30 */ stfd f0, 0x30(r31) +/* 803621FC 0035F15C C0 1A 00 00 */ lfs f0, 0(r26) +/* 80362200 0035F160 D0 1F 00 38 */ stfs f0, 0x38(r31) +/* 80362204 0035F164 C0 1A 00 04 */ lfs f0, 4(r26) +/* 80362208 0035F168 D0 1F 00 3C */ stfs f0, 0x3c(r31) +/* 8036220C 0035F16C C0 1A 00 08 */ lfs f0, 8(r26) +/* 80362210 0035F170 D0 1F 00 40 */ stfs f0, 0x40(r31) +/* 80362214 0035F174 4B FB 09 61 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80362218 0035F178 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 8036221C 0035F17C 38 7F 00 74 */ addi r3, r31, 0x74 +/* 80362220 0035F180 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 80362224 0035F184 4B FB 09 51 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80362228 0035F188 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8036222C 0035F18C 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 80362230 0035F190 38 A3 66 A0 */ addi r5, r3, skZero3f@l +/* 80362234 0035F194 C0 05 00 00 */ lfs f0, 0(r5) +/* 80362238 0035F198 38 7F 00 B0 */ addi r3, r31, 0xb0 +/* 8036223C 0035F19C 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 80362240 0035F1A0 D0 1F 00 A4 */ stfs f0, 0xa4(r31) +/* 80362244 0035F1A4 C0 1A 00 04 */ lfs f0, 4(r26) +/* 80362248 0035F1A8 D0 1F 00 A8 */ stfs f0, 0xa8(r31) +/* 8036224C 0035F1AC C0 1A 00 08 */ lfs f0, 8(r26) +/* 80362250 0035F1B0 D0 1F 00 AC */ stfs f0, 0xac(r31) +/* 80362254 0035F1B4 4B FB 09 21 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80362258 0035F1B8 C0 02 CD 48 */ lfs f0, lbl_805AEA68@sda21(r2) +/* 8036225C 0035F1BC 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 80362260 0035F1C0 38 83 66 70 */ addi r4, r3, skIdentity4f@l +/* 80362264 0035F1C4 D0 1F 00 E0 */ stfs f0, 0xe0(r31) +/* 80362268 0035F1C8 38 7F 00 F8 */ addi r3, r31, 0xf8 +/* 8036226C 0035F1CC D0 1F 00 E4 */ stfs f0, 0xe4(r31) +/* 80362270 0035F1D0 D0 1F 00 E8 */ stfs f0, 0xe8(r31) +/* 80362274 0035F1D4 D0 1F 00 EC */ stfs f0, 0xec(r31) +/* 80362278 0035F1D8 D0 1F 00 F0 */ stfs f0, 0xf0(r31) +/* 8036227C 0035F1DC D0 1F 00 F4 */ stfs f0, 0xf4(r31) +/* 80362280 0035F1E0 4B FB 08 F5 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80362284 0035F1E4 C0 22 CD 54 */ lfs f1, lbl_805AEA74@sda21(r2) +/* 80362288 0035F1E8 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8036228C 0035F1EC 38 83 66 A0 */ addi r4, r3, skZero3f@l +/* 80362290 0035F1F0 D0 3F 01 28 */ stfs f1, 0x128(r31) +/* 80362294 0035F1F4 38 7F 01 4C */ addi r3, r31, 0x14c +/* 80362298 0035F1F8 D0 3F 01 2C */ stfs f1, 0x12c(r31) +/* 8036229C 0035F1FC C0 04 00 00 */ lfs f0, 0(r4) +/* 803622A0 0035F200 D0 1F 01 30 */ stfs f0, 0x130(r31) +/* 803622A4 0035F204 C0 1A 00 04 */ lfs f0, 4(r26) +/* 803622A8 0035F208 D0 1F 01 34 */ stfs f0, 0x134(r31) +/* 803622AC 0035F20C C0 1A 00 08 */ lfs f0, 8(r26) +/* 803622B0 0035F210 D0 1F 01 38 */ stfs f0, 0x138(r31) +/* 803622B4 0035F214 C0 04 00 00 */ lfs f0, 0(r4) +/* 803622B8 0035F218 D0 1F 01 3C */ stfs f0, 0x13c(r31) +/* 803622BC 0035F21C C0 1A 00 04 */ lfs f0, 4(r26) +/* 803622C0 0035F220 D0 1F 01 40 */ stfs f0, 0x140(r31) +/* 803622C4 0035F224 C0 1A 00 08 */ lfs f0, 8(r26) +/* 803622C8 0035F228 D0 1F 01 44 */ stfs f0, 0x144(r31) +/* 803622CC 0035F22C D0 3F 01 48 */ stfs f1, 0x148(r31) +/* 803622D0 0035F230 A0 8D 9E 50 */ lhz r4, lbl_805A8A10@sda21(r13) +/* 803622D4 0035F234 38 04 00 01 */ addi r0, r4, 1 +/* 803622D8 0035F238 B0 0D 9E 50 */ sth r0, lbl_805A8A10@sda21(r13) +/* 803622DC 0035F23C 4B FB 03 11 */ bl __ct__9CRandom16FUi +/* 803622E0 0035F240 38 00 00 08 */ li r0, 8 +/* 803622E4 0035F244 3C 60 80 5A */ lis r3, lbl_805A6754@ha +/* 803622E8 0035F248 90 1F 01 50 */ stw r0, 0x150(r31) +/* 803622EC 0035F24C 38 80 00 01 */ li r4, 1 +/* 803622F0 0035F250 38 00 00 00 */ li r0, 0 +/* 803622F4 0035F254 C0 02 CD 54 */ lfs f0, lbl_805AEA74@sda21(r2) +/* 803622F8 0035F258 90 9F 01 54 */ stw r4, 0x154(r31) +/* 803622FC 0035F25C 3B C3 67 54 */ addi r30, r3, lbl_805A6754@l +/* 80362300 0035F260 90 1F 01 58 */ stw r0, 0x158(r31) +/* 80362304 0035F264 D0 1F 01 5C */ stfs f0, 0x15c(r31) +/* 80362308 0035F268 C0 1E 00 00 */ lfs f0, 0(r30) +/* 8036230C 0035F26C D0 1F 01 60 */ stfs f0, 0x160(r31) +/* 80362310 0035F270 C0 1E 00 04 */ lfs f0, 4(r30) +/* 80362314 0035F274 D0 1F 01 64 */ stfs f0, 0x164(r31) +/* 80362318 0035F278 C0 1E 00 08 */ lfs f0, 8(r30) +/* 8036231C 0035F27C D0 1F 01 68 */ stfs f0, 0x168(r31) +/* 80362320 0035F280 C0 1E 00 0C */ lfs f0, 0xc(r30) +/* 80362324 0035F284 D0 1F 01 6C */ stfs f0, 0x16c(r31) +/* 80362328 0035F288 C0 1E 00 10 */ lfs f0, 0x10(r30) +/* 8036232C 0035F28C D0 1F 01 70 */ stfs f0, 0x170(r31) +/* 80362330 0035F290 C0 1E 00 14 */ lfs f0, 0x14(r30) +/* 80362334 0035F294 D0 1F 01 74 */ stfs f0, 0x174(r31) +/* 80362338 0035F298 98 1F 01 84 */ stb r0, 0x184(r31) +/* 8036233C 0035F29C 98 1F 01 94 */ stb r0, 0x194(r31) +/* 80362340 0035F2A0 98 1F 01 A4 */ stb r0, 0x1a4(r31) +/* 80362344 0035F2A4 98 1F 01 B4 */ stb r0, 0x1b4(r31) +/* 80362348 0035F2A8 4B FE 7C 65 */ bl White__6CColorFv +/* 8036234C 0035F2AC 80 83 00 00 */ lwz r4, 0(r3) +/* 80362350 0035F2B0 38 60 00 20 */ li r3, 0x20 +/* 80362354 0035F2B4 38 00 00 04 */ li r0, 4 +/* 80362358 0035F2B8 38 BF 01 C0 */ addi r5, r31, 0x1c0 +/* 8036235C 0035F2BC 90 9F 01 B8 */ stw r4, 0x1b8(r31) +/* 80362360 0035F2C0 38 80 00 00 */ li r4, 0 +/* 80362364 0035F2C4 90 7F 01 BC */ stw r3, 0x1bc(r31) +/* 80362368 0035F2C8 7C 09 03 A6 */ mtctr r0 +lbl_8036236C: +/* 8036236C 0035F2CC 28 05 00 00 */ cmplwi r5, 0 +/* 80362370 0035F2D0 41 82 00 0C */ beq lbl_8036237C +/* 80362374 0035F2D4 88 0D 9E 52 */ lbz r0, lbl_805A8A12@sda21(r13) +/* 80362378 0035F2D8 98 05 00 00 */ stb r0, 0(r5) +lbl_8036237C: +/* 8036237C 0035F2DC 34 A5 00 01 */ addic. r5, r5, 1 +/* 80362380 0035F2E0 41 82 00 0C */ beq lbl_8036238C +/* 80362384 0035F2E4 88 0D 9E 52 */ lbz r0, lbl_805A8A12@sda21(r13) +/* 80362388 0035F2E8 98 05 00 00 */ stb r0, 0(r5) +lbl_8036238C: +/* 8036238C 0035F2EC 34 A5 00 01 */ addic. r5, r5, 1 +/* 80362390 0035F2F0 41 82 00 0C */ beq lbl_8036239C +/* 80362394 0035F2F4 88 0D 9E 52 */ lbz r0, lbl_805A8A12@sda21(r13) +/* 80362398 0035F2F8 98 05 00 00 */ stb r0, 0(r5) +lbl_8036239C: +/* 8036239C 0035F2FC 34 A5 00 01 */ addic. r5, r5, 1 +/* 803623A0 0035F300 41 82 00 0C */ beq lbl_803623AC +/* 803623A4 0035F304 88 0D 9E 52 */ lbz r0, lbl_805A8A12@sda21(r13) +/* 803623A8 0035F308 98 05 00 00 */ stb r0, 0(r5) +lbl_803623AC: +/* 803623AC 0035F30C 34 A5 00 01 */ addic. r5, r5, 1 +/* 803623B0 0035F310 41 82 00 0C */ beq lbl_803623BC +/* 803623B4 0035F314 88 0D 9E 52 */ lbz r0, lbl_805A8A12@sda21(r13) +/* 803623B8 0035F318 98 05 00 00 */ stb r0, 0(r5) +lbl_803623BC: +/* 803623BC 0035F31C 34 A5 00 01 */ addic. r5, r5, 1 +/* 803623C0 0035F320 41 82 00 0C */ beq lbl_803623CC +/* 803623C4 0035F324 88 0D 9E 52 */ lbz r0, lbl_805A8A12@sda21(r13) +/* 803623C8 0035F328 98 05 00 00 */ stb r0, 0(r5) +lbl_803623CC: +/* 803623CC 0035F32C 34 A5 00 01 */ addic. r5, r5, 1 +/* 803623D0 0035F330 41 82 00 0C */ beq lbl_803623DC +/* 803623D4 0035F334 88 0D 9E 52 */ lbz r0, lbl_805A8A12@sda21(r13) +/* 803623D8 0035F338 98 05 00 00 */ stb r0, 0(r5) +lbl_803623DC: +/* 803623DC 0035F33C 34 A5 00 01 */ addic. r5, r5, 1 +/* 803623E0 0035F340 41 82 00 0C */ beq lbl_803623EC +/* 803623E4 0035F344 88 0D 9E 52 */ lbz r0, lbl_805A8A12@sda21(r13) +/* 803623E8 0035F348 98 05 00 00 */ stb r0, 0(r5) +lbl_803623EC: +/* 803623EC 0035F34C 38 84 00 07 */ addi r4, r4, 7 +/* 803623F0 0035F350 38 A5 00 01 */ addi r5, r5, 1 +/* 803623F4 0035F354 42 00 FF 78 */ bdnz lbl_8036236C +/* 803623F8 0035F358 38 80 00 00 */ li r4, 0 +/* 803623FC 0035F35C 38 1F 03 F4 */ addi r0, r31, 0x3f4 +/* 80362400 0035F360 90 9F 01 E0 */ stw r4, 0x1e0(r31) +/* 80362404 0035F364 38 60 00 01 */ li r3, 1 +/* 80362408 0035F368 90 9F 02 E4 */ stw r4, 0x2e4(r31) +/* 8036240C 0035F36C 90 1F 03 EC */ stw r0, 0x3ec(r31) +/* 80362410 0035F370 90 1F 03 F0 */ stw r0, 0x3f0(r31) +/* 80362414 0035F374 90 1F 03 F4 */ stw r0, 0x3f4(r31) +/* 80362418 0035F378 90 1F 03 F8 */ stw r0, 0x3f8(r31) +/* 8036241C 0035F37C 90 9F 03 FC */ stw r4, 0x3fc(r31) +/* 80362420 0035F380 90 9F 04 04 */ stw r4, 0x404(r31) +/* 80362424 0035F384 90 9F 04 08 */ stw r4, 0x408(r31) +/* 80362428 0035F388 90 9F 04 0C */ stw r4, 0x40c(r31) +/* 8036242C 0035F38C 90 9F 04 14 */ stw r4, 0x414(r31) +/* 80362430 0035F390 90 9F 04 18 */ stw r4, 0x418(r31) +/* 80362434 0035F394 90 9F 04 1C */ stw r4, 0x41c(r31) +/* 80362438 0035F398 90 9F 04 24 */ stw r4, 0x424(r31) +/* 8036243C 0035F39C 90 9F 04 28 */ stw r4, 0x428(r31) +/* 80362440 0035F3A0 90 9F 04 2C */ stw r4, 0x42c(r31) +/* 80362444 0035F3A4 90 9F 04 34 */ stw r4, 0x434(r31) +/* 80362448 0035F3A8 90 9F 04 38 */ stw r4, 0x438(r31) +/* 8036244C 0035F3AC 90 9F 04 3C */ stw r4, 0x43c(r31) +/* 80362450 0035F3B0 90 9F 04 44 */ stw r4, 0x444(r31) +/* 80362454 0035F3B4 90 9F 04 48 */ stw r4, 0x448(r31) +/* 80362458 0035F3B8 90 9F 04 4C */ stw r4, 0x44c(r31) +/* 8036245C 0035F3BC 88 1F 04 50 */ lbz r0, 0x450(r31) +/* 80362460 0035F3C0 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80362464 0035F3C4 98 1F 04 50 */ stb r0, 0x450(r31) +/* 80362468 0035F3C8 88 1F 04 50 */ lbz r0, 0x450(r31) +/* 8036246C 0035F3CC 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 80362470 0035F3D0 98 1F 04 50 */ stb r0, 0x450(r31) +/* 80362474 0035F3D4 88 1F 04 50 */ lbz r0, 0x450(r31) +/* 80362478 0035F3D8 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a +/* 8036247C 0035F3DC 98 1F 04 50 */ stb r0, 0x450(r31) +/* 80362480 0035F3E0 88 1F 04 50 */ lbz r0, 0x450(r31) +/* 80362484 0035F3E4 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b +/* 80362488 0035F3E8 98 1F 04 50 */ stb r0, 0x450(r31) +/* 8036248C 0035F3EC 88 1F 04 50 */ lbz r0, 0x450(r31) +/* 80362490 0035F3F0 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c +/* 80362494 0035F3F4 98 1F 04 50 */ stb r0, 0x450(r31) +/* 80362498 0035F3F8 88 1F 04 50 */ lbz r0, 0x450(r31) +/* 8036249C 0035F3FC 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 803624A0 0035F400 98 1F 04 50 */ stb r0, 0x450(r31) +/* 803624A4 0035F404 80 7F 00 24 */ lwz r3, 0x24(r31) +/* 803624A8 0035F408 80 63 00 10 */ lwz r3, 0x10(r3) +/* 803624AC 0035F40C 28 03 00 00 */ cmplwi r3, 0 +/* 803624B0 0035F410 41 82 00 1C */ beq lbl_803624CC +/* 803624B4 0035F414 81 83 00 00 */ lwz r12, 0(r3) +/* 803624B8 0035F418 38 BF 01 50 */ addi r5, r31, 0x150 +/* 803624BC 0035F41C 80 9F 00 28 */ lwz r4, 0x28(r31) +/* 803624C0 0035F420 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803624C4 0035F424 7D 89 03 A6 */ mtctr r12 +/* 803624C8 0035F428 4E 80 04 21 */ bctrl +lbl_803624CC: +/* 803624CC 0035F42C 80 7F 00 24 */ lwz r3, 0x24(r31) +/* 803624D0 0035F430 80 63 00 0C */ lwz r3, 0xc(r3) +/* 803624D4 0035F434 28 03 00 00 */ cmplwi r3, 0 +/* 803624D8 0035F438 41 82 00 1C */ beq lbl_803624F4 +/* 803624DC 0035F43C 81 83 00 00 */ lwz r12, 0(r3) +/* 803624E0 0035F440 38 BF 01 54 */ addi r5, r31, 0x154 +/* 803624E4 0035F444 80 9F 00 28 */ lwz r4, 0x28(r31) +/* 803624E8 0035F448 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803624EC 0035F44C 7D 89 03 A6 */ mtctr r12 +/* 803624F0 0035F450 4E 80 04 21 */ bctrl +lbl_803624F4: +/* 803624F4 0035F454 80 1F 01 54 */ lwz r0, 0x154(r31) +/* 803624F8 0035F458 2C 00 00 20 */ cmpwi r0, 0x20 +/* 803624FC 0035F45C 40 81 00 0C */ ble lbl_80362508 +/* 80362500 0035F460 38 00 00 20 */ li r0, 0x20 +/* 80362504 0035F464 90 1F 01 54 */ stw r0, 0x154(r31) +lbl_80362508: +/* 80362508 0035F468 80 7F 00 24 */ lwz r3, 0x24(r31) +/* 8036250C 0035F46C 80 63 00 00 */ lwz r3, 0(r3) +/* 80362510 0035F470 28 03 00 00 */ cmplwi r3, 0 +/* 80362514 0035F474 41 82 00 20 */ beq lbl_80362534 +/* 80362518 0035F478 81 83 00 00 */ lwz r12, 0(r3) +/* 8036251C 0035F47C 38 BF 00 2C */ addi r5, r31, 0x2c +/* 80362520 0035F480 38 80 00 00 */ li r4, 0 +/* 80362524 0035F484 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80362528 0035F488 7D 89 03 A6 */ mtctr r12 +/* 8036252C 0035F48C 4E 80 04 21 */ bctrl +/* 80362530 0035F490 48 00 00 10 */ b lbl_80362540 +lbl_80362534: +/* 80362534 0035F494 3C 60 00 80 */ lis r3, 0x007FFFFF@ha +/* 80362538 0035F498 38 03 FF FF */ addi r0, r3, 0x007FFFFF@l +/* 8036253C 0035F49C 90 1F 00 2C */ stw r0, 0x2c(r31) +lbl_80362540: +/* 80362540 0035F4A0 80 7F 00 24 */ lwz r3, 0x24(r31) +/* 80362544 0035F4A4 88 03 00 4C */ lbz r0, 0x4c(r3) +/* 80362548 0035F4A8 28 00 00 00 */ cmplwi r0, 0 +/* 8036254C 0035F4AC 41 82 01 54 */ beq lbl_803626A0 +/* 80362550 0035F4B0 88 1F 04 50 */ lbz r0, 0x450(r31) +/* 80362554 0035F4B4 38 60 00 01 */ li r3, 1 +/* 80362558 0035F4B8 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 8036255C 0035F4BC 3C 60 80 3E */ lis r3, lbl_803D83F8@ha +/* 80362560 0035F4C0 98 1F 04 50 */ stb r0, 0x450(r31) +/* 80362564 0035F4C4 3B A3 83 F8 */ addi r29, r3, lbl_803D83F8@l +/* 80362568 0035F4C8 3B 9F 01 E0 */ addi r28, r31, 0x1e0 +/* 8036256C 0035F4CC 3B 60 00 00 */ li r27, 0 +/* 80362570 0035F4D0 48 00 01 24 */ b lbl_80362694 +lbl_80362574: +/* 80362574 0035F4D4 7F A4 EB 78 */ mr r4, r29 +/* 80362578 0035F4D8 3B 40 00 00 */ li r26, 0 +/* 8036257C 0035F4DC 38 60 02 10 */ li r3, 0x210 +/* 80362580 0035F4E0 38 A0 00 00 */ li r5, 0 +/* 80362584 0035F4E4 4B FB 32 E9 */ bl __nw__FUlPCcPCc +/* 80362588 0035F4E8 7C 79 1B 79 */ or. r25, r3, r3 +/* 8036258C 0035F4EC 41 82 00 2C */ beq lbl_803625B8 +/* 80362590 0035F4F0 80 9F 00 24 */ lwz r4, 0x24(r31) +/* 80362594 0035F4F4 38 61 00 70 */ addi r3, r1, 0x70 +/* 80362598 0035F4F8 38 84 00 40 */ addi r4, r4, 0x40 +/* 8036259C 0035F4FC 4B FD E9 0D */ bl __ct__6CTokenFRC6CToken +/* 803625A0 0035F500 80 BF 01 50 */ lwz r5, 0x150(r31) +/* 803625A4 0035F504 7F 23 CB 78 */ mr r3, r25 +/* 803625A8 0035F508 38 81 00 70 */ addi r4, r1, 0x70 +/* 803625AC 0035F50C 3B 40 00 01 */ li r26, 1 +/* 803625B0 0035F510 4B FC C8 35 */ bl "__ct__15CParticleSwooshF28TToken<18CSwooshDescription>i" +/* 803625B4 0035F514 7C 79 1B 78 */ mr r25, r3 +lbl_803625B8: +/* 803625B8 0035F518 80 1C 00 00 */ lwz r0, 0(r28) +/* 803625BC 0035F51C 7C 79 00 D0 */ neg r3, r25 +/* 803625C0 0035F520 7C 63 CB 78 */ or r3, r3, r25 +/* 803625C4 0035F524 93 21 00 6C */ stw r25, 0x6c(r1) +/* 803625C8 0035F528 54 00 18 38 */ slwi r0, r0, 3 +/* 803625CC 0035F52C 7C 9C 02 14 */ add r4, r28, r0 +/* 803625D0 0035F530 54 60 0F FE */ srwi r0, r3, 0x1f +/* 803625D4 0035F534 34 84 00 04 */ addic. r4, r4, 4 +/* 803625D8 0035F538 98 01 00 68 */ stb r0, 0x68(r1) +/* 803625DC 0035F53C 41 82 00 14 */ beq lbl_803625F0 +/* 803625E0 0035F540 98 04 00 00 */ stb r0, 0(r4) +/* 803625E4 0035F544 38 00 00 00 */ li r0, 0 +/* 803625E8 0035F548 93 24 00 04 */ stw r25, 4(r4) +/* 803625EC 0035F54C 98 01 00 68 */ stb r0, 0x68(r1) +lbl_803625F0: +/* 803625F0 0035F550 80 7F 01 E0 */ lwz r3, 0x1e0(r31) +/* 803625F4 0035F554 88 01 00 68 */ lbz r0, 0x68(r1) +/* 803625F8 0035F558 38 63 00 01 */ addi r3, r3, 1 +/* 803625FC 0035F55C 28 00 00 00 */ cmplwi r0, 0 +/* 80362600 0035F560 90 7F 01 E0 */ stw r3, 0x1e0(r31) +/* 80362604 0035F564 41 82 00 24 */ beq lbl_80362628 +/* 80362608 0035F568 80 61 00 6C */ lwz r3, 0x6c(r1) +/* 8036260C 0035F56C 28 03 00 00 */ cmplwi r3, 0 +/* 80362610 0035F570 41 82 00 18 */ beq lbl_80362628 +/* 80362614 0035F574 81 83 00 00 */ lwz r12, 0(r3) +/* 80362618 0035F578 38 80 00 01 */ li r4, 1 +/* 8036261C 0035F57C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80362620 0035F580 7D 89 03 A6 */ mtctr r12 +/* 80362624 0035F584 4E 80 04 21 */ bctrl +lbl_80362628: +/* 80362628 0035F588 7F 40 07 75 */ extsb. r0, r26 +/* 8036262C 0035F58C 41 82 00 10 */ beq lbl_8036263C +/* 80362630 0035F590 38 61 00 70 */ addi r3, r1, 0x70 +/* 80362634 0035F594 38 80 00 00 */ li r4, 0 +/* 80362638 0035F598 4B FD E8 09 */ bl __dt__6CTokenFv +lbl_8036263C: +/* 8036263C 0035F59C 80 7C 00 00 */ lwz r3, 0(r28) +/* 80362640 0035F5A0 3A E0 00 00 */ li r23, 0 +/* 80362644 0035F5A4 3B 40 00 01 */ li r26, 1 +/* 80362648 0035F5A8 38 03 FF FF */ addi r0, r3, -1 +/* 8036264C 0035F5AC 54 00 18 38 */ slwi r0, r0, 3 +/* 80362650 0035F5B0 7C 7C 02 14 */ add r3, r28, r0 +/* 80362654 0035F5B4 83 23 00 08 */ lwz r25, 8(r3) +/* 80362658 0035F5B8 83 19 01 60 */ lwz r24, 0x160(r25) +/* 8036265C 0035F5BC 48 00 00 2C */ b lbl_80362688 +lbl_80362660: +/* 80362660 0035F5C0 88 19 01 D0 */ lbz r0, 0x1d0(r25) +/* 80362664 0035F5C4 53 40 2E B4 */ rlwimi r0, r26, 5, 0x1a, 0x1a +/* 80362668 0035F5C8 7F 23 CB 78 */ mr r3, r25 +/* 8036266C 0035F5CC C8 22 CD 90 */ lfd f1, lbl_805AEAB0@sda21(r2) +/* 80362670 0035F5D0 98 19 01 D0 */ stb r0, 0x1d0(r25) +/* 80362674 0035F5D4 81 99 00 00 */ lwz r12, 0(r25) +/* 80362678 0035F5D8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8036267C 0035F5DC 7D 89 03 A6 */ mtctr r12 +/* 80362680 0035F5E0 4E 80 04 21 */ bctrl +/* 80362684 0035F5E4 3A F7 00 01 */ addi r23, r23, 1 +lbl_80362688: +/* 80362688 0035F5E8 7C 17 C0 00 */ cmpw r23, r24 +/* 8036268C 0035F5EC 41 80 FF D4 */ blt lbl_80362660 +/* 80362690 0035F5F0 3B 7B 00 01 */ addi r27, r27, 1 +lbl_80362694: +/* 80362694 0035F5F4 80 1F 01 54 */ lwz r0, 0x154(r31) +/* 80362698 0035F5F8 7C 1B 00 00 */ cmpw r27, r0 +/* 8036269C 0035F5FC 41 80 FE D8 */ blt lbl_80362574 +lbl_803626A0: +/* 803626A0 0035F600 80 9F 01 50 */ lwz r4, 0x150(r31) +/* 803626A4 0035F604 3C 60 80 5A */ lis r3, skZero3f@ha +/* 803626A8 0035F608 3B 43 66 A0 */ addi r26, r3, skZero3f@l +/* 803626AC 0035F60C 38 04 00 01 */ addi r0, r4, 1 +/* 803626B0 0035F610 90 1F 01 50 */ stw r0, 0x150(r31) +/* 803626B4 0035F614 83 7F 01 50 */ lwz r27, 0x150(r31) +/* 803626B8 0035F618 1F 3B 00 0C */ mulli r25, r27, 0xc +/* 803626BC 0035F61C 93 61 00 9C */ stw r27, 0x9c(r1) +/* 803626C0 0035F620 93 61 00 A0 */ stw r27, 0xa0(r1) +/* 803626C4 0035F624 2C 19 00 00 */ cmpwi r25, 0 +/* 803626C8 0035F628 40 82 00 0C */ bne lbl_803626D4 +/* 803626CC 0035F62C 38 60 00 00 */ li r3, 0 +/* 803626D0 0035F630 48 00 00 38 */ b lbl_80362708 +lbl_803626D4: +/* 803626D4 0035F634 3C 60 80 3E */ lis r3, lbl_803D83F8@ha +/* 803626D8 0035F638 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha +/* 803626DC 0035F63C 38 A3 83 F8 */ addi r5, r3, lbl_803D83F8@l +/* 803626E0 0035F640 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l +/* 803626E4 0035F644 38 61 00 38 */ addi r3, r1, 0x38 +/* 803626E8 0035F648 38 80 FF FF */ li r4, -1 +/* 803626EC 0035F64C 4B F7 3C E9 */ bl __ct__10CCallStackFUiPCcPCc +/* 803626F0 0035F650 7C 67 1B 78 */ mr r7, r3 +/* 803626F4 0035F654 7F 23 CB 78 */ mr r3, r25 +/* 803626F8 0035F658 38 80 00 02 */ li r4, 2 +/* 803626FC 0035F65C 38 A0 00 01 */ li r5, 1 +/* 80362700 0035F660 38 C0 00 00 */ li r6, 0 +/* 80362704 0035F664 4B FB 32 91 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +lbl_80362708: +/* 80362708 0035F668 90 61 00 A4 */ stw r3, 0xa4(r1) +/* 8036270C 0035F66C 7F 69 03 A6 */ mtctr r27 +/* 80362710 0035F670 2C 1B 00 00 */ cmpwi r27, 0 +/* 80362714 0035F674 40 81 00 2C */ ble lbl_80362740 +lbl_80362718: +/* 80362718 0035F678 28 03 00 00 */ cmplwi r3, 0 +/* 8036271C 0035F67C 41 82 00 1C */ beq lbl_80362738 +/* 80362720 0035F680 C0 1A 00 00 */ lfs f0, 0(r26) +/* 80362724 0035F684 D0 03 00 00 */ stfs f0, 0(r3) +/* 80362728 0035F688 C0 1A 00 04 */ lfs f0, 4(r26) +/* 8036272C 0035F68C D0 03 00 04 */ stfs f0, 4(r3) +/* 80362730 0035F690 C0 1A 00 08 */ lfs f0, 8(r26) +/* 80362734 0035F694 D0 03 00 08 */ stfs f0, 8(r3) +lbl_80362738: +/* 80362738 0035F698 38 63 00 0C */ addi r3, r3, 0xc +/* 8036273C 0035F69C 42 00 FF DC */ bdnz lbl_80362718 +lbl_80362740: +/* 80362740 0035F6A0 38 7F 04 20 */ addi r3, r31, 0x420 +/* 80362744 0035F6A4 38 81 00 98 */ addi r4, r1, 0x98 +/* 80362748 0035F6A8 4B FF D8 CD */ bl sub_80360014 +/* 8036274C 0035F6AC 80 01 00 9C */ lwz r0, 0x9c(r1) +/* 80362750 0035F6B0 80 61 00 A4 */ lwz r3, 0xa4(r1) +/* 80362754 0035F6B4 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80362758 0035F6B8 90 61 00 2C */ stw r3, 0x2c(r1) +/* 8036275C 0035F6BC 7C 64 1B 78 */ mr r4, r3 +/* 80362760 0035F6C0 7C 03 02 14 */ add r0, r3, r0 +/* 80362764 0035F6C4 90 61 00 28 */ stw r3, 0x28(r1) +/* 80362768 0035F6C8 90 01 00 34 */ stw r0, 0x34(r1) +/* 8036276C 0035F6CC 90 01 00 30 */ stw r0, 0x30(r1) +/* 80362770 0035F6D0 48 00 00 08 */ b lbl_80362778 +lbl_80362774: +/* 80362774 0035F6D4 38 84 00 0C */ addi r4, r4, 0xc +lbl_80362778: +/* 80362778 0035F6D8 7C 04 00 40 */ cmplw r4, r0 +/* 8036277C 0035F6DC 40 82 FF F8 */ bne lbl_80362774 +/* 80362780 0035F6E0 4B FB 31 B1 */ bl Free__7CMemoryFPCv +/* 80362784 0035F6E4 83 7F 01 50 */ lwz r27, 0x150(r31) +/* 80362788 0035F6E8 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8036278C 0035F6EC 3B 43 66 A0 */ addi r26, r3, skZero3f@l +/* 80362790 0035F6F0 1C 7B 00 0C */ mulli r3, r27, 0xc +/* 80362794 0035F6F4 93 61 00 8C */ stw r27, 0x8c(r1) +/* 80362798 0035F6F8 93 61 00 90 */ stw r27, 0x90(r1) +/* 8036279C 0035F6FC 2C 03 00 00 */ cmpwi r3, 0 +/* 803627A0 0035F700 40 82 00 10 */ bne lbl_803627B0 +/* 803627A4 0035F704 38 00 00 00 */ li r0, 0 +/* 803627A8 0035F708 90 01 00 94 */ stw r0, 0x94(r1) +/* 803627AC 0035F70C 48 00 00 18 */ b lbl_803627C4 +lbl_803627B0: +/* 803627B0 0035F710 3C 80 80 3E */ lis r4, lbl_803D83F8@ha +/* 803627B4 0035F714 38 A0 00 00 */ li r5, 0 +/* 803627B8 0035F718 38 84 83 F8 */ addi r4, r4, lbl_803D83F8@l +/* 803627BC 0035F71C 4B FB 30 5D */ bl __nwa__FUlPCcPCc +/* 803627C0 0035F720 90 61 00 94 */ stw r3, 0x94(r1) +lbl_803627C4: +/* 803627C4 0035F724 80 61 00 94 */ lwz r3, 0x94(r1) +/* 803627C8 0035F728 7F 69 03 A6 */ mtctr r27 +/* 803627CC 0035F72C 2C 1B 00 00 */ cmpwi r27, 0 +/* 803627D0 0035F730 40 81 00 2C */ ble lbl_803627FC +lbl_803627D4: +/* 803627D4 0035F734 28 03 00 00 */ cmplwi r3, 0 +/* 803627D8 0035F738 41 82 00 1C */ beq lbl_803627F4 +/* 803627DC 0035F73C C0 1A 00 00 */ lfs f0, 0(r26) +/* 803627E0 0035F740 D0 03 00 00 */ stfs f0, 0(r3) +/* 803627E4 0035F744 C0 1A 00 04 */ lfs f0, 4(r26) +/* 803627E8 0035F748 D0 03 00 04 */ stfs f0, 4(r3) +/* 803627EC 0035F74C C0 1A 00 08 */ lfs f0, 8(r26) +/* 803627F0 0035F750 D0 03 00 08 */ stfs f0, 8(r3) +lbl_803627F4: +/* 803627F4 0035F754 38 63 00 0C */ addi r3, r3, 0xc +/* 803627F8 0035F758 42 00 FF DC */ bdnz lbl_803627D4 +lbl_803627FC: +/* 803627FC 0035F75C 38 7F 04 40 */ addi r3, r31, 0x440 +/* 80362800 0035F760 38 81 00 88 */ addi r4, r1, 0x88 +/* 80362804 0035F764 4B D3 1F 89 */ bl "__as__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>FRCQ24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>" +/* 80362808 0035F768 80 01 00 8C */ lwz r0, 0x8c(r1) +/* 8036280C 0035F76C 80 61 00 94 */ lwz r3, 0x94(r1) +/* 80362810 0035F770 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80362814 0035F774 90 61 00 1C */ stw r3, 0x1c(r1) +/* 80362818 0035F778 7C 64 1B 78 */ mr r4, r3 +/* 8036281C 0035F77C 7C 03 02 14 */ add r0, r3, r0 +/* 80362820 0035F780 90 61 00 18 */ stw r3, 0x18(r1) +/* 80362824 0035F784 90 01 00 24 */ stw r0, 0x24(r1) +/* 80362828 0035F788 90 01 00 20 */ stw r0, 0x20(r1) +/* 8036282C 0035F78C 48 00 00 08 */ b lbl_80362834 +lbl_80362830: +/* 80362830 0035F790 38 84 00 0C */ addi r4, r4, 0xc +lbl_80362834: +/* 80362834 0035F794 7C 04 00 40 */ cmplw r4, r0 +/* 80362838 0035F798 40 82 FF F8 */ bne lbl_80362830 +/* 8036283C 0035F79C 28 03 00 00 */ cmplwi r3, 0 +/* 80362840 0035F7A0 41 82 00 08 */ beq lbl_80362848 +/* 80362844 0035F7A4 4B FB 30 ED */ bl Free__7CMemoryFPCv +lbl_80362848: +/* 80362848 0035F7A8 83 5F 01 50 */ lwz r26, 0x150(r31) +/* 8036284C 0035F7AC 57 43 10 3B */ rlwinm. r3, r26, 2, 0, 0x1d +/* 80362850 0035F7B0 93 41 00 7C */ stw r26, 0x7c(r1) +/* 80362854 0035F7B4 93 41 00 80 */ stw r26, 0x80(r1) +/* 80362858 0035F7B8 40 82 00 10 */ bne lbl_80362868 +/* 8036285C 0035F7BC 38 00 00 00 */ li r0, 0 +/* 80362860 0035F7C0 90 01 00 84 */ stw r0, 0x84(r1) +/* 80362864 0035F7C4 48 00 00 18 */ b lbl_8036287C +lbl_80362868: +/* 80362868 0035F7C8 3C 80 80 3E */ lis r4, lbl_803D83F8@ha +/* 8036286C 0035F7CC 38 A0 00 00 */ li r5, 0 +/* 80362870 0035F7D0 38 84 83 F8 */ addi r4, r4, lbl_803D83F8@l +/* 80362874 0035F7D4 4B FB 2F A5 */ bl __nwa__FUlPCcPCc +/* 80362878 0035F7D8 90 61 00 84 */ stw r3, 0x84(r1) +lbl_8036287C: +/* 8036287C 0035F7DC 80 61 00 84 */ lwz r3, 0x84(r1) +/* 80362880 0035F7E0 7F 49 03 A6 */ mtctr r26 +/* 80362884 0035F7E4 2C 1A 00 00 */ cmpwi r26, 0 +/* 80362888 0035F7E8 40 81 00 1C */ ble lbl_803628A4 +lbl_8036288C: +/* 8036288C 0035F7EC 28 03 00 00 */ cmplwi r3, 0 +/* 80362890 0035F7F0 41 82 00 0C */ beq lbl_8036289C +/* 80362894 0035F7F4 C0 0D 9E 54 */ lfs f0, lbl_805A8A14@sda21(r13) +/* 80362898 0035F7F8 D0 03 00 00 */ stfs f0, 0(r3) +lbl_8036289C: +/* 8036289C 0035F7FC 38 63 00 04 */ addi r3, r3, 4 +/* 803628A0 0035F800 42 00 FF EC */ bdnz lbl_8036288C +lbl_803628A4: +/* 803628A4 0035F804 38 7F 04 30 */ addi r3, r31, 0x430 +/* 803628A8 0035F808 38 81 00 78 */ addi r4, r1, 0x78 +/* 803628AC 0035F80C 4B D3 1C E1 */ bl "__as__Q24rstl36vectorFRCQ24rstl36vector" +/* 803628B0 0035F810 80 01 00 7C */ lwz r0, 0x7c(r1) +/* 803628B4 0035F814 80 61 00 84 */ lwz r3, 0x84(r1) +/* 803628B8 0035F818 54 00 10 3A */ slwi r0, r0, 2 +/* 803628BC 0035F81C 7C 03 02 14 */ add r0, r3, r0 +/* 803628C0 0035F820 90 61 00 0C */ stw r3, 0xc(r1) +/* 803628C4 0035F824 7C 64 1B 78 */ mr r4, r3 +/* 803628C8 0035F828 90 01 00 14 */ stw r0, 0x14(r1) +/* 803628CC 0035F82C 90 01 00 10 */ stw r0, 0x10(r1) +/* 803628D0 0035F830 90 61 00 08 */ stw r3, 8(r1) +/* 803628D4 0035F834 48 00 00 08 */ b lbl_803628DC +lbl_803628D8: +/* 803628D8 0035F838 38 84 00 04 */ addi r4, r4, 4 +lbl_803628DC: +/* 803628DC 0035F83C 7C 04 00 40 */ cmplw r4, r0 +/* 803628E0 0035F840 40 82 FF F8 */ bne lbl_803628D8 +/* 803628E4 0035F844 28 03 00 00 */ cmplwi r3, 0 +/* 803628E8 0035F848 41 82 00 08 */ beq lbl_803628F0 +/* 803628EC 0035F84C 4B FB 30 45 */ bl Free__7CMemoryFPCv +lbl_803628F0: +/* 803628F0 0035F850 80 7F 00 24 */ lwz r3, 0x24(r31) +/* 803628F4 0035F854 88 03 00 5C */ lbz r0, 0x5c(r3) +/* 803628F8 0035F858 28 00 00 00 */ cmplwi r0, 0 +/* 803628FC 0035F85C 41 82 01 68 */ beq lbl_80362A64 +/* 80362900 0035F860 88 1F 04 50 */ lbz r0, 0x450(r31) +/* 80362904 0035F864 38 60 00 01 */ li r3, 1 +/* 80362908 0035F868 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 8036290C 0035F86C 38 7F 04 00 */ addi r3, r31, 0x400 +/* 80362910 0035F870 98 1F 04 50 */ stb r0, 0x450(r31) +/* 80362914 0035F874 80 9F 01 54 */ lwz r4, 0x154(r31) +/* 80362918 0035F878 48 00 06 35 */ bl sub_80362f4c +/* 8036291C 0035F87C 3C 60 80 3E */ lis r3, lbl_803D83F8@ha +/* 80362920 0035F880 3B 60 00 00 */ li r27, 0 +/* 80362924 0035F884 3B A3 83 F8 */ addi r29, r3, lbl_803D83F8@l +/* 80362928 0035F888 48 00 01 30 */ b lbl_80362A58 +lbl_8036292C: +/* 8036292C 0035F88C 7F A4 EB 78 */ mr r4, r29 +/* 80362930 0035F890 3B 40 00 00 */ li r26, 0 +/* 80362934 0035F894 38 60 03 40 */ li r3, 0x340 +/* 80362938 0035F898 38 A0 00 00 */ li r5, 0 +/* 8036293C 0035F89C 4B FB 2F 31 */ bl __nw__FUlPCcPCc +/* 80362940 0035F8A0 7C 79 1B 79 */ or. r25, r3, r3 +/* 80362944 0035F8A4 41 82 00 30 */ beq lbl_80362974 +/* 80362948 0035F8A8 80 9F 00 24 */ lwz r4, 0x24(r31) +/* 8036294C 0035F8AC 38 61 00 60 */ addi r3, r1, 0x60 +/* 80362950 0035F8B0 38 84 00 50 */ addi r4, r4, 0x50 +/* 80362954 0035F8B4 4B FD E5 55 */ bl __ct__6CTokenFRC6CToken +/* 80362958 0035F8B8 7F 23 CB 78 */ mr r3, r25 +/* 8036295C 0035F8BC 38 81 00 60 */ addi r4, r1, 0x60 +/* 80362960 0035F8C0 3B 40 00 01 */ li r26, 1 +/* 80362964 0035F8C4 38 A0 00 00 */ li r5, 0 +/* 80362968 0035F8C8 38 C0 00 01 */ li r6, 1 +/* 8036296C 0035F8CC 4B FB CA 75 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +/* 80362970 0035F8D0 7C 79 1B 78 */ mr r25, r3 +lbl_80362974: +/* 80362974 0035F8D4 7C 79 00 D0 */ neg r3, r25 +/* 80362978 0035F8D8 80 1F 04 04 */ lwz r0, 0x404(r31) +/* 8036297C 0035F8DC 80 BF 04 08 */ lwz r5, 0x408(r31) +/* 80362980 0035F8E0 7C 63 CB 78 */ or r3, r3, r25 +/* 80362984 0035F8E4 54 63 0F FE */ srwi r3, r3, 0x1f +/* 80362988 0035F8E8 93 21 00 5C */ stw r25, 0x5c(r1) +/* 8036298C 0035F8EC 7C 00 28 00 */ cmpw r0, r5 +/* 80362990 0035F8F0 98 61 00 58 */ stb r3, 0x58(r1) +/* 80362994 0035F8F4 41 80 00 1C */ blt lbl_803629B0 +/* 80362998 0035F8F8 2C 05 00 00 */ cmpwi r5, 0 +/* 8036299C 0035F8FC 38 7F 04 00 */ addi r3, r31, 0x400 +/* 803629A0 0035F900 38 80 00 04 */ li r4, 4 +/* 803629A4 0035F904 41 82 00 08 */ beq lbl_803629AC +/* 803629A8 0035F908 54 A4 08 3C */ slwi r4, r5, 1 +lbl_803629AC: +/* 803629AC 0035F90C 48 00 05 A1 */ bl sub_80362f4c +lbl_803629B0: +/* 803629B0 0035F910 80 1F 04 04 */ lwz r0, 0x404(r31) +/* 803629B4 0035F914 80 7F 04 0C */ lwz r3, 0x40c(r31) +/* 803629B8 0035F918 54 00 18 38 */ slwi r0, r0, 3 +/* 803629BC 0035F91C 7C A3 02 15 */ add. r5, r3, r0 +/* 803629C0 0035F920 41 82 00 1C */ beq lbl_803629DC +/* 803629C4 0035F924 88 81 00 58 */ lbz r4, 0x58(r1) +/* 803629C8 0035F928 38 00 00 00 */ li r0, 0 +/* 803629CC 0035F92C 80 61 00 5C */ lwz r3, 0x5c(r1) +/* 803629D0 0035F930 98 85 00 00 */ stb r4, 0(r5) +/* 803629D4 0035F934 90 65 00 04 */ stw r3, 4(r5) +/* 803629D8 0035F938 98 01 00 58 */ stb r0, 0x58(r1) +lbl_803629DC: +/* 803629DC 0035F93C 80 7F 04 04 */ lwz r3, 0x404(r31) +/* 803629E0 0035F940 88 01 00 58 */ lbz r0, 0x58(r1) +/* 803629E4 0035F944 38 63 00 01 */ addi r3, r3, 1 +/* 803629E8 0035F948 28 00 00 00 */ cmplwi r0, 0 +/* 803629EC 0035F94C 90 7F 04 04 */ stw r3, 0x404(r31) +/* 803629F0 0035F950 41 82 00 24 */ beq lbl_80362A14 +/* 803629F4 0035F954 80 61 00 5C */ lwz r3, 0x5c(r1) +/* 803629F8 0035F958 28 03 00 00 */ cmplwi r3, 0 +/* 803629FC 0035F95C 41 82 00 18 */ beq lbl_80362A14 +/* 80362A00 0035F960 81 83 00 00 */ lwz r12, 0(r3) +/* 80362A04 0035F964 38 80 00 01 */ li r4, 1 +/* 80362A08 0035F968 81 8C 00 08 */ lwz r12, 8(r12) +/* 80362A0C 0035F96C 7D 89 03 A6 */ mtctr r12 +/* 80362A10 0035F970 4E 80 04 21 */ bctrl +lbl_80362A14: +/* 80362A14 0035F974 7F 40 07 75 */ extsb. r0, r26 +/* 80362A18 0035F978 41 82 00 10 */ beq lbl_80362A28 +/* 80362A1C 0035F97C 38 61 00 60 */ addi r3, r1, 0x60 +/* 80362A20 0035F980 38 80 00 00 */ li r4, 0 +/* 80362A24 0035F984 4B FD E4 1D */ bl __dt__6CTokenFv +lbl_80362A28: +/* 80362A28 0035F988 80 7F 04 04 */ lwz r3, 0x404(r31) +/* 80362A2C 0035F98C 38 80 00 00 */ li r4, 0 +/* 80362A30 0035F990 80 BF 04 0C */ lwz r5, 0x40c(r31) +/* 80362A34 0035F994 38 03 FF FF */ addi r0, r3, -1 +/* 80362A38 0035F998 54 00 18 38 */ slwi r0, r0, 3 +/* 80362A3C 0035F99C 7C 65 02 14 */ add r3, r5, r0 +/* 80362A40 0035F9A0 80 63 00 04 */ lwz r3, 4(r3) +/* 80362A44 0035F9A4 81 83 00 00 */ lwz r12, 0(r3) +/* 80362A48 0035F9A8 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 80362A4C 0035F9AC 7D 89 03 A6 */ mtctr r12 +/* 80362A50 0035F9B0 4E 80 04 21 */ bctrl +/* 80362A54 0035F9B4 3B 7B 00 01 */ addi r27, r27, 1 +lbl_80362A58: +/* 80362A58 0035F9B8 80 1F 01 54 */ lwz r0, 0x154(r31) +/* 80362A5C 0035F9BC 7C 1B 00 00 */ cmpw r27, r0 +/* 80362A60 0035F9C0 41 80 FE CC */ blt lbl_8036292C +lbl_80362A64: +/* 80362A64 0035F9C4 80 7F 00 24 */ lwz r3, 0x24(r31) +/* 80362A68 0035F9C8 88 03 00 6C */ lbz r0, 0x6c(r3) +/* 80362A6C 0035F9CC 28 00 00 00 */ cmplwi r0, 0 +/* 80362A70 0035F9D0 41 82 01 68 */ beq lbl_80362BD8 +/* 80362A74 0035F9D4 88 1F 04 50 */ lbz r0, 0x450(r31) +/* 80362A78 0035F9D8 38 60 00 01 */ li r3, 1 +/* 80362A7C 0035F9DC 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 80362A80 0035F9E0 38 7F 04 10 */ addi r3, r31, 0x410 +/* 80362A84 0035F9E4 98 1F 04 50 */ stb r0, 0x450(r31) +/* 80362A88 0035F9E8 80 9F 01 54 */ lwz r4, 0x154(r31) +/* 80362A8C 0035F9EC 48 00 04 C1 */ bl sub_80362f4c +/* 80362A90 0035F9F0 3C 60 80 3E */ lis r3, lbl_803D83F8@ha +/* 80362A94 0035F9F4 3B 60 00 00 */ li r27, 0 +/* 80362A98 0035F9F8 3B A3 83 F8 */ addi r29, r3, lbl_803D83F8@l +/* 80362A9C 0035F9FC 48 00 01 30 */ b lbl_80362BCC +lbl_80362AA0: +/* 80362AA0 0035FA00 7F A4 EB 78 */ mr r4, r29 +/* 80362AA4 0035FA04 3B 40 00 00 */ li r26, 0 +/* 80362AA8 0035FA08 38 60 03 40 */ li r3, 0x340 +/* 80362AAC 0035FA0C 38 A0 00 00 */ li r5, 0 +/* 80362AB0 0035FA10 4B FB 2D BD */ bl __nw__FUlPCcPCc +/* 80362AB4 0035FA14 7C 79 1B 79 */ or. r25, r3, r3 +/* 80362AB8 0035FA18 41 82 00 30 */ beq lbl_80362AE8 +/* 80362ABC 0035FA1C 80 9F 00 24 */ lwz r4, 0x24(r31) +/* 80362AC0 0035FA20 38 61 00 50 */ addi r3, r1, 0x50 +/* 80362AC4 0035FA24 38 84 00 60 */ addi r4, r4, 0x60 +/* 80362AC8 0035FA28 4B FD E3 E1 */ bl __ct__6CTokenFRC6CToken +/* 80362ACC 0035FA2C 7F 23 CB 78 */ mr r3, r25 +/* 80362AD0 0035FA30 38 81 00 50 */ addi r4, r1, 0x50 +/* 80362AD4 0035FA34 3B 40 00 01 */ li r26, 1 +/* 80362AD8 0035FA38 38 A0 00 00 */ li r5, 0 +/* 80362ADC 0035FA3C 38 C0 00 01 */ li r6, 1 +/* 80362AE0 0035FA40 4B FB C9 01 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +/* 80362AE4 0035FA44 7C 79 1B 78 */ mr r25, r3 +lbl_80362AE8: +/* 80362AE8 0035FA48 7C 79 00 D0 */ neg r3, r25 +/* 80362AEC 0035FA4C 80 1F 04 14 */ lwz r0, 0x414(r31) +/* 80362AF0 0035FA50 80 BF 04 18 */ lwz r5, 0x418(r31) +/* 80362AF4 0035FA54 7C 63 CB 78 */ or r3, r3, r25 +/* 80362AF8 0035FA58 54 63 0F FE */ srwi r3, r3, 0x1f +/* 80362AFC 0035FA5C 93 21 00 4C */ stw r25, 0x4c(r1) +/* 80362B00 0035FA60 7C 00 28 00 */ cmpw r0, r5 +/* 80362B04 0035FA64 98 61 00 48 */ stb r3, 0x48(r1) +/* 80362B08 0035FA68 41 80 00 1C */ blt lbl_80362B24 +/* 80362B0C 0035FA6C 2C 05 00 00 */ cmpwi r5, 0 +/* 80362B10 0035FA70 38 7F 04 10 */ addi r3, r31, 0x410 +/* 80362B14 0035FA74 38 80 00 04 */ li r4, 4 +/* 80362B18 0035FA78 41 82 00 08 */ beq lbl_80362B20 +/* 80362B1C 0035FA7C 54 A4 08 3C */ slwi r4, r5, 1 +lbl_80362B20: +/* 80362B20 0035FA80 48 00 04 2D */ bl sub_80362f4c +lbl_80362B24: +/* 80362B24 0035FA84 80 1F 04 14 */ lwz r0, 0x414(r31) +/* 80362B28 0035FA88 80 7F 04 1C */ lwz r3, 0x41c(r31) +/* 80362B2C 0035FA8C 54 00 18 38 */ slwi r0, r0, 3 +/* 80362B30 0035FA90 7C A3 02 15 */ add. r5, r3, r0 +/* 80362B34 0035FA94 41 82 00 1C */ beq lbl_80362B50 +/* 80362B38 0035FA98 88 81 00 48 */ lbz r4, 0x48(r1) +/* 80362B3C 0035FA9C 38 00 00 00 */ li r0, 0 +/* 80362B40 0035FAA0 80 61 00 4C */ lwz r3, 0x4c(r1) +/* 80362B44 0035FAA4 98 85 00 00 */ stb r4, 0(r5) +/* 80362B48 0035FAA8 90 65 00 04 */ stw r3, 4(r5) +/* 80362B4C 0035FAAC 98 01 00 48 */ stb r0, 0x48(r1) +lbl_80362B50: +/* 80362B50 0035FAB0 80 7F 04 14 */ lwz r3, 0x414(r31) +/* 80362B54 0035FAB4 88 01 00 48 */ lbz r0, 0x48(r1) +/* 80362B58 0035FAB8 38 63 00 01 */ addi r3, r3, 1 +/* 80362B5C 0035FABC 28 00 00 00 */ cmplwi r0, 0 +/* 80362B60 0035FAC0 90 7F 04 14 */ stw r3, 0x414(r31) +/* 80362B64 0035FAC4 41 82 00 24 */ beq lbl_80362B88 +/* 80362B68 0035FAC8 80 61 00 4C */ lwz r3, 0x4c(r1) +/* 80362B6C 0035FACC 28 03 00 00 */ cmplwi r3, 0 +/* 80362B70 0035FAD0 41 82 00 18 */ beq lbl_80362B88 +/* 80362B74 0035FAD4 81 83 00 00 */ lwz r12, 0(r3) +/* 80362B78 0035FAD8 38 80 00 01 */ li r4, 1 +/* 80362B7C 0035FADC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80362B80 0035FAE0 7D 89 03 A6 */ mtctr r12 +/* 80362B84 0035FAE4 4E 80 04 21 */ bctrl +lbl_80362B88: +/* 80362B88 0035FAE8 7F 40 07 75 */ extsb. r0, r26 +/* 80362B8C 0035FAEC 41 82 00 10 */ beq lbl_80362B9C +/* 80362B90 0035FAF0 38 61 00 50 */ addi r3, r1, 0x50 +/* 80362B94 0035FAF4 38 80 00 00 */ li r4, 0 +/* 80362B98 0035FAF8 4B FD E2 A9 */ bl __dt__6CTokenFv +lbl_80362B9C: +/* 80362B9C 0035FAFC 80 7F 04 14 */ lwz r3, 0x414(r31) +/* 80362BA0 0035FB00 38 80 00 00 */ li r4, 0 +/* 80362BA4 0035FB04 80 BF 04 1C */ lwz r5, 0x41c(r31) +/* 80362BA8 0035FB08 38 03 FF FF */ addi r0, r3, -1 +/* 80362BAC 0035FB0C 54 00 18 38 */ slwi r0, r0, 3 +/* 80362BB0 0035FB10 7C 65 02 14 */ add r3, r5, r0 +/* 80362BB4 0035FB14 80 63 00 04 */ lwz r3, 4(r3) +/* 80362BB8 0035FB18 81 83 00 00 */ lwz r12, 0(r3) +/* 80362BBC 0035FB1C 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 80362BC0 0035FB20 7D 89 03 A6 */ mtctr r12 +/* 80362BC4 0035FB24 4E 80 04 21 */ bctrl +/* 80362BC8 0035FB28 3B 7B 00 01 */ addi r27, r27, 1 +lbl_80362BCC: +/* 80362BCC 0035FB2C 80 1F 01 54 */ lwz r0, 0x154(r31) +/* 80362BD0 0035FB30 7C 1B 00 00 */ cmpw r27, r0 +/* 80362BD4 0035FB34 41 80 FE CC */ blt lbl_80362AA0 +lbl_80362BD8: +/* 80362BD8 0035FB38 80 7F 00 24 */ lwz r3, 0x24(r31) +/* 80362BDC 0035FB3C 80 03 00 28 */ lwz r0, 0x28(r3) +/* 80362BE0 0035FB40 28 00 00 00 */ cmplwi r0, 0 +/* 80362BE4 0035FB44 40 82 00 1C */ bne lbl_80362C00 +/* 80362BE8 0035FB48 80 03 00 2C */ lwz r0, 0x2c(r3) +/* 80362BEC 0035FB4C 28 00 00 00 */ cmplwi r0, 0 +/* 80362BF0 0035FB50 40 82 00 10 */ bne lbl_80362C00 +/* 80362BF4 0035FB54 80 03 00 30 */ lwz r0, 0x30(r3) +/* 80362BF8 0035FB58 28 00 00 00 */ cmplwi r0, 0 +/* 80362BFC 0035FB5C 41 82 01 28 */ beq lbl_80362D24 +lbl_80362C00: +/* 80362C00 0035FB60 88 1F 04 50 */ lbz r0, 0x450(r31) +/* 80362C04 0035FB64 38 60 00 01 */ li r3, 1 +/* 80362C08 0035FB68 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 80362C0C 0035FB6C 3C 60 80 3E */ lis r3, lbl_803D83F8@ha +/* 80362C10 0035FB70 98 1F 04 50 */ stb r0, 0x450(r31) +/* 80362C14 0035FB74 3B A3 83 F8 */ addi r29, r3, lbl_803D83F8@l +/* 80362C18 0035FB78 3B 9F 02 E4 */ addi r28, r31, 0x2e4 +/* 80362C1C 0035FB7C 3B 60 00 00 */ li r27, 0 +/* 80362C20 0035FB80 48 00 00 F8 */ b lbl_80362D18 +lbl_80362C24: +/* 80362C24 0035FB84 7F A4 EB 78 */ mr r4, r29 +/* 80362C28 0035FB88 38 60 00 40 */ li r3, 0x40 +/* 80362C2C 0035FB8C 38 A0 00 00 */ li r5, 0 +/* 80362C30 0035FB90 4B FB 2C 3D */ bl __nw__FUlPCcPCc +/* 80362C34 0035FB94 7C 79 1B 79 */ or. r25, r3, r3 +/* 80362C38 0035FB98 41 82 00 88 */ beq lbl_80362CC0 +/* 80362C3C 0035FB9C 38 00 00 00 */ li r0, 0 +/* 80362C40 0035FBA0 7F 37 CB 78 */ mr r23, r25 +/* 80362C44 0035FBA4 90 19 00 04 */ stw r0, 4(r25) +/* 80362C48 0035FBA8 C0 42 CD 48 */ lfs f2, lbl_805AEA68@sda21(r2) +/* 80362C4C 0035FBAC 90 19 00 08 */ stw r0, 8(r25) +/* 80362C50 0035FBB0 C0 22 CD 6C */ lfs f1, lbl_805AEA8C@sda21(r2) +/* 80362C54 0035FBB4 90 19 00 0C */ stw r0, 0xc(r25) +/* 80362C58 0035FBB8 C0 02 CD 98 */ lfs f0, lbl_805AEAB8@sda21(r2) +/* 80362C5C 0035FBBC D0 59 00 10 */ stfs f2, 0x10(r25) +/* 80362C60 0035FBC0 D0 39 00 14 */ stfs f1, 0x14(r25) +/* 80362C64 0035FBC4 D0 19 00 18 */ stfs f0, 0x18(r25) +/* 80362C68 0035FBC8 4B FE 73 45 */ bl White__6CColorFv +/* 80362C6C 0035FBCC 80 03 00 00 */ lwz r0, 0(r3) +/* 80362C70 0035FBD0 90 17 00 1C */ stw r0, 0x1c(r23) +/* 80362C74 0035FBD4 4B FE 73 39 */ bl White__6CColorFv +/* 80362C78 0035FBD8 80 03 00 00 */ lwz r0, 0(r3) +/* 80362C7C 0035FBDC 90 17 00 20 */ stw r0, 0x20(r23) +/* 80362C80 0035FBE0 4B FE 73 2D */ bl White__6CColorFv +/* 80362C84 0035FBE4 80 03 00 00 */ lwz r0, 0(r3) +/* 80362C88 0035FBE8 3C 60 80 5A */ lis r3, lbl_805A6754@ha +/* 80362C8C 0035FBEC 90 17 00 24 */ stw r0, 0x24(r23) +/* 80362C90 0035FBF0 C0 03 67 54 */ lfs f0, lbl_805A6754@l(r3) +/* 80362C94 0035FBF4 D0 17 00 28 */ stfs f0, 0x28(r23) +/* 80362C98 0035FBF8 C0 1E 00 04 */ lfs f0, 4(r30) +/* 80362C9C 0035FBFC D0 17 00 2C */ stfs f0, 0x2c(r23) +/* 80362CA0 0035FC00 C0 1E 00 08 */ lfs f0, 8(r30) +/* 80362CA4 0035FC04 D0 17 00 30 */ stfs f0, 0x30(r23) +/* 80362CA8 0035FC08 C0 1E 00 0C */ lfs f0, 0xc(r30) +/* 80362CAC 0035FC0C D0 17 00 34 */ stfs f0, 0x34(r23) +/* 80362CB0 0035FC10 C0 1E 00 10 */ lfs f0, 0x10(r30) +/* 80362CB4 0035FC14 D0 17 00 38 */ stfs f0, 0x38(r23) +/* 80362CB8 0035FC18 C0 1E 00 14 */ lfs f0, 0x14(r30) +/* 80362CBC 0035FC1C D0 17 00 3C */ stfs f0, 0x3c(r23) +lbl_80362CC0: +/* 80362CC0 0035FC20 7C 19 00 D0 */ neg r0, r25 +/* 80362CC4 0035FC24 93 21 00 44 */ stw r25, 0x44(r1) +/* 80362CC8 0035FC28 7C 00 CB 78 */ or r0, r0, r25 +/* 80362CCC 0035FC2C 54 03 0F FE */ srwi r3, r0, 0x1f +/* 80362CD0 0035FC30 98 61 00 40 */ stb r3, 0x40(r1) +/* 80362CD4 0035FC34 80 1C 00 00 */ lwz r0, 0(r28) +/* 80362CD8 0035FC38 54 00 18 38 */ slwi r0, r0, 3 +/* 80362CDC 0035FC3C 7C 9C 02 14 */ add r4, r28, r0 +/* 80362CE0 0035FC40 34 84 00 04 */ addic. r4, r4, 4 +/* 80362CE4 0035FC44 41 82 00 18 */ beq lbl_80362CFC +/* 80362CE8 0035FC48 98 64 00 00 */ stb r3, 0(r4) +/* 80362CEC 0035FC4C 38 00 00 00 */ li r0, 0 +/* 80362CF0 0035FC50 80 61 00 44 */ lwz r3, 0x44(r1) +/* 80362CF4 0035FC54 90 64 00 04 */ stw r3, 4(r4) +/* 80362CF8 0035FC58 98 01 00 40 */ stb r0, 0x40(r1) +lbl_80362CFC: +/* 80362CFC 0035FC5C 80 BF 02 E4 */ lwz r5, 0x2e4(r31) +/* 80362D00 0035FC60 38 61 00 40 */ addi r3, r1, 0x40 +/* 80362D04 0035FC64 38 80 FF FF */ li r4, -1 +/* 80362D08 0035FC68 38 05 00 01 */ addi r0, r5, 1 +/* 80362D0C 0035FC6C 90 1F 02 E4 */ stw r0, 0x2e4(r31) +/* 80362D10 0035FC70 4B FF F2 E1 */ bl "__dt__Q24rstl45auto_ptrFv" +/* 80362D14 0035FC74 3B 7B 00 01 */ addi r27, r27, 1 +lbl_80362D18: +/* 80362D18 0035FC78 80 1F 01 54 */ lwz r0, 0x154(r31) +/* 80362D1C 0035FC7C 7C 1B 00 00 */ cmpw r27, r0 +/* 80362D20 0035FC80 41 80 FF 04 */ blt lbl_80362C24 +lbl_80362D24: +/* 80362D24 0035FC84 7F E3 FB 78 */ mr r3, r31 +/* 80362D28 0035FC88 BA E1 00 AC */ lmw r23, 0xac(r1) +/* 80362D2C 0035FC8C 80 01 00 D4 */ lwz r0, 0xd4(r1) +/* 80362D30 0035FC90 7C 08 03 A6 */ mtlr r0 +/* 80362D34 0035FC94 38 21 00 D0 */ addi r1, r1, 0xd0 +/* 80362D38 0035FC98 4E 80 00 20 */ blr + +.global sub_80362d3c +sub_80362d3c: +/* 80362D3C 0035FC9C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80362D40 0035FCA0 7C 08 02 A6 */ mflr r0 +/* 80362D44 0035FCA4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80362D48 0035FCA8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80362D4C 0035FCAC 93 C1 00 08 */ stw r30, 8(r1) +/* 80362D50 0035FCB0 7C 7E 1B 78 */ mr r30, r3 +/* 80362D54 0035FCB4 80 03 00 04 */ lwz r0, 4(r3) +/* 80362D58 0035FCB8 83 E4 00 04 */ lwz r31, 4(r4) +/* 80362D5C 0035FCBC 7C 04 00 40 */ cmplw r4, r0 +/* 80362D60 0035FCC0 40 82 00 08 */ bne lbl_80362D68 +/* 80362D64 0035FCC4 93 FE 00 04 */ stw r31, 4(r30) +lbl_80362D68: +/* 80362D68 0035FCC8 80 04 00 04 */ lwz r0, 4(r4) +/* 80362D6C 0035FCCC 28 04 00 00 */ cmplwi r4, 0 +/* 80362D70 0035FCD0 80 64 00 00 */ lwz r3, 0(r4) +/* 80362D74 0035FCD4 90 03 00 04 */ stw r0, 4(r3) +/* 80362D78 0035FCD8 80 04 00 00 */ lwz r0, 0(r4) +/* 80362D7C 0035FCDC 80 64 00 04 */ lwz r3, 4(r4) +/* 80362D80 0035FCE0 90 03 00 00 */ stw r0, 0(r3) +/* 80362D84 0035FCE4 41 82 00 0C */ beq lbl_80362D90 +/* 80362D88 0035FCE8 7C 83 23 78 */ mr r3, r4 +/* 80362D8C 0035FCEC 4B FB 2B A5 */ bl Free__7CMemoryFPCv +lbl_80362D90: +/* 80362D90 0035FCF0 80 9E 00 14 */ lwz r4, 0x14(r30) +/* 80362D94 0035FCF4 7F E3 FB 78 */ mr r3, r31 +/* 80362D98 0035FCF8 38 04 FF FF */ addi r0, r4, -1 +/* 80362D9C 0035FCFC 90 1E 00 14 */ stw r0, 0x14(r30) +/* 80362DA0 0035FD00 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80362DA4 0035FD04 83 C1 00 08 */ lwz r30, 8(r1) +/* 80362DA8 0035FD08 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80362DAC 0035FD0C 7C 08 03 A6 */ mtlr r0 +/* 80362DB0 0035FD10 38 21 00 10 */ addi r1, r1, 0x10 +/* 80362DB4 0035FD14 4E 80 00 20 */ blr + +.global "__dt__Q24rstl80listFv" +"__dt__Q24rstl80listFv": +/* 80362DB8 0035FD18 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80362DBC 0035FD1C 7C 08 02 A6 */ mflr r0 +/* 80362DC0 0035FD20 90 01 00 24 */ stw r0, 0x24(r1) +/* 80362DC4 0035FD24 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80362DC8 0035FD28 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80362DCC 0035FD2C 7C 9E 23 78 */ mr r30, r4 +/* 80362DD0 0035FD30 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80362DD4 0035FD34 7C 7D 1B 79 */ or. r29, r3, r3 +/* 80362DD8 0035FD38 41 82 00 38 */ beq lbl_80362E10 +/* 80362DDC 0035FD3C 83 FD 00 04 */ lwz r31, 4(r29) +/* 80362DE0 0035FD40 48 00 00 14 */ b lbl_80362DF4 +lbl_80362DE4: +/* 80362DE4 0035FD44 7F E3 FB 79 */ or. r3, r31, r31 +/* 80362DE8 0035FD48 83 FF 00 04 */ lwz r31, 4(r31) +/* 80362DEC 0035FD4C 41 82 00 08 */ beq lbl_80362DF4 +/* 80362DF0 0035FD50 4B FB 2B 41 */ bl Free__7CMemoryFPCv +lbl_80362DF4: +/* 80362DF4 0035FD54 80 1D 00 08 */ lwz r0, 8(r29) +/* 80362DF8 0035FD58 7C 1F 00 40 */ cmplw r31, r0 +/* 80362DFC 0035FD5C 40 82 FF E8 */ bne lbl_80362DE4 +/* 80362E00 0035FD60 7F C0 07 35 */ extsh. r0, r30 +/* 80362E04 0035FD64 40 81 00 0C */ ble lbl_80362E10 +/* 80362E08 0035FD68 7F A3 EB 78 */ mr r3, r29 +/* 80362E0C 0035FD6C 4B FB 2B 25 */ bl Free__7CMemoryFPCv +lbl_80362E10: +/* 80362E10 0035FD70 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80362E14 0035FD74 7F A3 EB 78 */ mr r3, r29 +/* 80362E18 0035FD78 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80362E1C 0035FD7C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80362E20 0035FD80 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80362E24 0035FD84 7C 08 03 A6 */ mtlr r0 +/* 80362E28 0035FD88 38 21 00 20 */ addi r1, r1, 0x20 +/* 80362E2C 0035FD8C 4E 80 00 20 */ blr + +.global "reserve__Q24rstl45vector<9CVector3f,Q24rstl17aligned_allocator>Fi" +"reserve__Q24rstl45vector<9CVector3f,Q24rstl17aligned_allocator>Fi": +/* 80362E30 0035FD90 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80362E34 0035FD94 7C 08 02 A6 */ mflr r0 +/* 80362E38 0035FD98 90 01 00 34 */ stw r0, 0x34(r1) +/* 80362E3C 0035FD9C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80362E40 0035FDA0 7C 9F 23 78 */ mr r31, r4 +/* 80362E44 0035FDA4 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80362E48 0035FDA8 7C 7E 1B 78 */ mr r30, r3 +/* 80362E4C 0035FDAC 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80362E50 0035FDB0 80 03 00 08 */ lwz r0, 8(r3) +/* 80362E54 0035FDB4 7C 1F 00 00 */ cmpw r31, r0 +/* 80362E58 0035FDB8 40 81 00 D8 */ ble lbl_80362F30 +/* 80362E5C 0035FDBC 1F BF 00 0C */ mulli r29, r31, 0xc +/* 80362E60 0035FDC0 2C 1D 00 00 */ cmpwi r29, 0 +/* 80362E64 0035FDC4 40 82 00 0C */ bne lbl_80362E70 +/* 80362E68 0035FDC8 3B A0 00 00 */ li r29, 0 +/* 80362E6C 0035FDCC 48 00 00 3C */ b lbl_80362EA8 +lbl_80362E70: +/* 80362E70 0035FDD0 3C 60 80 3E */ lis r3, lbl_803D83F8@ha +/* 80362E74 0035FDD4 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha +/* 80362E78 0035FDD8 38 A3 83 F8 */ addi r5, r3, lbl_803D83F8@l +/* 80362E7C 0035FDDC 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l +/* 80362E80 0035FDE0 38 61 00 18 */ addi r3, r1, 0x18 +/* 80362E84 0035FDE4 38 80 FF FF */ li r4, -1 +/* 80362E88 0035FDE8 4B F7 35 4D */ bl __ct__10CCallStackFUiPCcPCc +/* 80362E8C 0035FDEC 7C 67 1B 78 */ mr r7, r3 +/* 80362E90 0035FDF0 7F A3 EB 78 */ mr r3, r29 +/* 80362E94 0035FDF4 38 80 00 02 */ li r4, 2 +/* 80362E98 0035FDF8 38 A0 00 01 */ li r5, 1 +/* 80362E9C 0035FDFC 38 C0 00 00 */ li r6, 0 +/* 80362EA0 0035FE00 4B FB 2A F5 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack +/* 80362EA4 0035FE04 7C 7D 1B 78 */ mr r29, r3 +lbl_80362EA8: +/* 80362EA8 0035FE08 80 1E 00 04 */ lwz r0, 4(r30) +/* 80362EAC 0035FE0C 7F A3 EB 78 */ mr r3, r29 +/* 80362EB0 0035FE10 80 9E 00 0C */ lwz r4, 0xc(r30) +/* 80362EB4 0035FE14 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80362EB8 0035FE18 90 81 00 10 */ stw r4, 0x10(r1) +/* 80362EBC 0035FE1C 7C 04 02 14 */ add r0, r4, r0 +/* 80362EC0 0035FE20 90 81 00 14 */ stw r4, 0x14(r1) +/* 80362EC4 0035FE24 90 01 00 08 */ stw r0, 8(r1) +/* 80362EC8 0035FE28 90 01 00 0C */ stw r0, 0xc(r1) +/* 80362ECC 0035FE2C 48 00 00 2C */ b lbl_80362EF8 +lbl_80362ED0: +/* 80362ED0 0035FE30 28 03 00 00 */ cmplwi r3, 0 +/* 80362ED4 0035FE34 41 82 00 1C */ beq lbl_80362EF0 +/* 80362ED8 0035FE38 C0 04 00 00 */ lfs f0, 0(r4) +/* 80362EDC 0035FE3C D0 03 00 00 */ stfs f0, 0(r3) +/* 80362EE0 0035FE40 C0 04 00 04 */ lfs f0, 4(r4) +/* 80362EE4 0035FE44 D0 03 00 04 */ stfs f0, 4(r3) +/* 80362EE8 0035FE48 C0 04 00 08 */ lfs f0, 8(r4) +/* 80362EEC 0035FE4C D0 03 00 08 */ stfs f0, 8(r3) +lbl_80362EF0: +/* 80362EF0 0035FE50 38 63 00 0C */ addi r3, r3, 0xc +/* 80362EF4 0035FE54 38 84 00 0C */ addi r4, r4, 0xc +lbl_80362EF8: +/* 80362EF8 0035FE58 7C 04 00 40 */ cmplw r4, r0 +/* 80362EFC 0035FE5C 40 82 FF D4 */ bne lbl_80362ED0 +/* 80362F00 0035FE60 80 1E 00 04 */ lwz r0, 4(r30) +/* 80362F04 0035FE64 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80362F08 0035FE68 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80362F0C 0035FE6C 7C 64 1B 78 */ mr r4, r3 +/* 80362F10 0035FE70 7C 03 02 14 */ add r0, r3, r0 +/* 80362F14 0035FE74 48 00 00 08 */ b lbl_80362F1C +lbl_80362F18: +/* 80362F18 0035FE78 38 84 00 0C */ addi r4, r4, 0xc +lbl_80362F1C: +/* 80362F1C 0035FE7C 7C 04 00 40 */ cmplw r4, r0 +/* 80362F20 0035FE80 40 82 FF F8 */ bne lbl_80362F18 +/* 80362F24 0035FE84 4B FB 2A 0D */ bl Free__7CMemoryFPCv +/* 80362F28 0035FE88 93 BE 00 0C */ stw r29, 0xc(r30) +/* 80362F2C 0035FE8C 93 FE 00 08 */ stw r31, 8(r30) +lbl_80362F30: +/* 80362F30 0035FE90 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80362F34 0035FE94 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80362F38 0035FE98 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80362F3C 0035FE9C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80362F40 0035FEA0 7C 08 03 A6 */ mtlr r0 +/* 80362F44 0035FEA4 38 21 00 30 */ addi r1, r1, 0x30 +/* 80362F48 0035FEA8 4E 80 00 20 */ blr + +.global sub_80362f4c +sub_80362f4c: +/* 80362F4C 0035FEAC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80362F50 0035FEB0 7C 08 02 A6 */ mflr r0 +/* 80362F54 0035FEB4 90 01 00 34 */ stw r0, 0x34(r1) +/* 80362F58 0035FEB8 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 80362F5C 0035FEBC 7C 9F 23 78 */ mr r31, r4 +/* 80362F60 0035FEC0 7C 7E 1B 78 */ mr r30, r3 +/* 80362F64 0035FEC4 80 03 00 08 */ lwz r0, 8(r3) +/* 80362F68 0035FEC8 7C 1F 00 00 */ cmpw r31, r0 +/* 80362F6C 0035FECC 40 81 00 EC */ ble lbl_80363058 +/* 80362F70 0035FED0 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c +/* 80362F74 0035FED4 40 82 00 0C */ bne lbl_80362F80 +/* 80362F78 0035FED8 3B A0 00 00 */ li r29, 0 +/* 80362F7C 0035FEDC 48 00 00 18 */ b lbl_80362F94 +lbl_80362F80: +/* 80362F80 0035FEE0 3C 80 80 3E */ lis r4, lbl_803D83F8@ha +/* 80362F84 0035FEE4 38 A0 00 00 */ li r5, 0 +/* 80362F88 0035FEE8 38 84 83 F8 */ addi r4, r4, lbl_803D83F8@l +/* 80362F8C 0035FEEC 4B FB 28 8D */ bl __nwa__FUlPCcPCc +/* 80362F90 0035FEF0 7C 7D 1B 78 */ mr r29, r3 +lbl_80362F94: +/* 80362F94 0035FEF4 80 7E 00 04 */ lwz r3, 4(r30) +/* 80362F98 0035FEF8 7F A5 EB 78 */ mr r5, r29 +/* 80362F9C 0035FEFC 80 DE 00 0C */ lwz r6, 0xc(r30) +/* 80362FA0 0035FF00 38 00 00 00 */ li r0, 0 +/* 80362FA4 0035FF04 54 63 18 38 */ slwi r3, r3, 3 +/* 80362FA8 0035FF08 7C 86 1A 14 */ add r4, r6, r3 +/* 80362FAC 0035FF0C 90 C1 00 10 */ stw r6, 0x10(r1) +/* 80362FB0 0035FF10 90 81 00 08 */ stw r4, 8(r1) +/* 80362FB4 0035FF14 90 81 00 0C */ stw r4, 0xc(r1) +/* 80362FB8 0035FF18 90 C1 00 14 */ stw r6, 0x14(r1) +/* 80362FBC 0035FF1C 48 00 00 28 */ b lbl_80362FE4 +lbl_80362FC0: +/* 80362FC0 0035FF20 28 05 00 00 */ cmplwi r5, 0 +/* 80362FC4 0035FF24 41 82 00 18 */ beq lbl_80362FDC +/* 80362FC8 0035FF28 88 66 00 00 */ lbz r3, 0(r6) +/* 80362FCC 0035FF2C 98 65 00 00 */ stb r3, 0(r5) +/* 80362FD0 0035FF30 80 66 00 04 */ lwz r3, 4(r6) +/* 80362FD4 0035FF34 90 65 00 04 */ stw r3, 4(r5) +/* 80362FD8 0035FF38 98 06 00 00 */ stb r0, 0(r6) +lbl_80362FDC: +/* 80362FDC 0035FF3C 38 A5 00 08 */ addi r5, r5, 8 +/* 80362FE0 0035FF40 38 C6 00 08 */ addi r6, r6, 8 +lbl_80362FE4: +/* 80362FE4 0035FF44 7C 06 20 40 */ cmplw r6, r4 +/* 80362FE8 0035FF48 40 82 FF D8 */ bne lbl_80362FC0 +/* 80362FEC 0035FF4C 80 1E 00 04 */ lwz r0, 4(r30) +/* 80362FF0 0035FF50 83 7E 00 0C */ lwz r27, 0xc(r30) +/* 80362FF4 0035FF54 54 00 18 38 */ slwi r0, r0, 3 +/* 80362FF8 0035FF58 7F 9B 02 14 */ add r28, r27, r0 +/* 80362FFC 0035FF5C 48 00 00 3C */ b lbl_80363038 +lbl_80363000: +/* 80363000 0035FF60 28 1B 00 00 */ cmplwi r27, 0 +/* 80363004 0035FF64 41 82 00 30 */ beq lbl_80363034 +/* 80363008 0035FF68 88 1B 00 00 */ lbz r0, 0(r27) +/* 8036300C 0035FF6C 28 00 00 00 */ cmplwi r0, 0 +/* 80363010 0035FF70 41 82 00 24 */ beq lbl_80363034 +/* 80363014 0035FF74 80 7B 00 04 */ lwz r3, 4(r27) +/* 80363018 0035FF78 28 03 00 00 */ cmplwi r3, 0 +/* 8036301C 0035FF7C 41 82 00 18 */ beq lbl_80363034 +/* 80363020 0035FF80 81 83 00 00 */ lwz r12, 0(r3) +/* 80363024 0035FF84 38 80 00 01 */ li r4, 1 +/* 80363028 0035FF88 81 8C 00 08 */ lwz r12, 8(r12) +/* 8036302C 0035FF8C 7D 89 03 A6 */ mtctr r12 +/* 80363030 0035FF90 4E 80 04 21 */ bctrl +lbl_80363034: +/* 80363034 0035FF94 3B 7B 00 08 */ addi r27, r27, 8 +lbl_80363038: +/* 80363038 0035FF98 7C 1B E0 40 */ cmplw r27, r28 +/* 8036303C 0035FF9C 40 82 FF C4 */ bne lbl_80363000 +/* 80363040 0035FFA0 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80363044 0035FFA4 28 03 00 00 */ cmplwi r3, 0 +/* 80363048 0035FFA8 41 82 00 08 */ beq lbl_80363050 +/* 8036304C 0035FFAC 4B FB 28 E5 */ bl Free__7CMemoryFPCv +lbl_80363050: +/* 80363050 0035FFB0 93 BE 00 0C */ stw r29, 0xc(r30) +/* 80363054 0035FFB4 93 FE 00 08 */ stw r31, 8(r30) +lbl_80363058: +/* 80363058 0035FFB8 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 8036305C 0035FFBC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80363060 0035FFC0 7C 08 03 A6 */ mtlr r0 +/* 80363064 0035FFC4 38 21 00 30 */ addi r1, r1, 0x30 +/* 80363068 0035FFC8 4E 80 00 20 */ blr diff --git a/asm/Kyoto/Particles/CParticleElectricDataFactory.s b/asm/Kyoto/Particles/CParticleElectricDataFactory.s new file mode 100644 index 00000000..fe87498b --- /dev/null +++ b/asm/Kyoto/Particles/CParticleElectricDataFactory.s @@ -0,0 +1,725 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global CreateELSM__28CParticleElectricDataFactoryFP20CElectricDescriptionR12CInputStreamP11CSimplePool +CreateELSM__28CParticleElectricDataFactoryFP20CElectricDescriptionR12CInputStreamP11CSimplePool: +/* 8035DEEC 0035AE4C 94 21 FF 20 */ stwu r1, -0xe0(r1) +/* 8035DEF0 0035AE50 7C 08 02 A6 */ mflr r0 +/* 8035DEF4 0035AE54 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 8035DEF8 0035AE58 BF 41 00 C8 */ stmw r26, 0xc8(r1) +/* 8035DEFC 0035AE5C 7C 7B 1B 78 */ mr r27, r3 +/* 8035DF00 0035AE60 7C 9C 23 78 */ mr r28, r4 +/* 8035DF04 0035AE64 7C BD 2B 78 */ mr r29, r5 +/* 8035DF08 0035AE68 38 61 00 28 */ addi r3, r1, 0x28 +/* 8035DF0C 0035AE6C 3B C0 00 00 */ li r30, 0 +/* 8035DF10 0035AE70 38 80 00 63 */ li r4, 0x63 +/* 8035DF14 0035AE74 4B FB 46 D9 */ bl __ct__9CRandom16FUi +/* 8035DF18 0035AE78 3C 60 4C 43 */ lis r3, 0x4C434C33@ha +/* 8035DF1C 0035AE7C 3B E3 4C 33 */ addi r31, r3, 0x4C434C33@l +/* 8035DF20 0035AE80 48 00 06 28 */ b lbl_8035E548 +lbl_8035DF24: +/* 8035DF24 0035AE84 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 8035DF28 0035AE88 38 81 00 28 */ addi r4, r1, 0x28 +/* 8035DF2C 0035AE8C 4B FB 47 55 */ bl __ct__13CGlobalRandomFR9CRandom16 +/* 8035DF30 0035AE90 7F 83 E3 78 */ mr r3, r28 +/* 8035DF34 0035AE94 4B FC A5 29 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream +/* 8035DF38 0035AE98 7C 03 F8 00 */ cmpw r3, r31 +/* 8035DF3C 0035AE9C 41 82 05 C4 */ beq lbl_8035E500 +/* 8035DF40 0035AEA0 40 80 00 B8 */ bge lbl_8035DFF8 +/* 8035DF44 0035AEA4 3C 80 46 45 */ lis r4, 0x46454D54@ha +/* 8035DF48 0035AEA8 38 04 4D 54 */ addi r0, r4, 0x46454D54@l +/* 8035DF4C 0035AEAC 7C 03 00 00 */ cmpw r3, r0 +/* 8035DF50 0035AEB0 41 82 01 D4 */ beq lbl_8035E124 +/* 8035DF54 0035AEB4 40 80 00 50 */ bge lbl_8035DFA4 +/* 8035DF58 0035AEB8 3C 80 43 4F */ lis r4, 0x434F4C52@ha +/* 8035DF5C 0035AEBC 38 04 4C 52 */ addi r0, r4, 0x434F4C52@l +/* 8035DF60 0035AEC0 7C 03 00 00 */ cmpw r3, r0 +/* 8035DF64 0035AEC4 41 82 01 A0 */ beq lbl_8035E104 +/* 8035DF68 0035AEC8 40 80 00 28 */ bge lbl_8035DF90 +/* 8035DF6C 0035AECC 3C 80 41 4D */ lis r4, 0x414D504C@ha +/* 8035DF70 0035AED0 38 04 50 4C */ addi r0, r4, 0x414D504C@l +/* 8035DF74 0035AED4 7C 03 00 00 */ cmpw r3, r0 +/* 8035DF78 0035AED8 41 82 01 BC */ beq lbl_8035E134 +/* 8035DF7C 0035AEDC 40 80 05 AC */ bge lbl_8035E528 +/* 8035DF80 0035AEE0 38 04 50 44 */ addi r0, r4, 0x5044 +/* 8035DF84 0035AEE4 7C 03 00 00 */ cmpw r3, r0 +/* 8035DF88 0035AEE8 41 82 01 BC */ beq lbl_8035E144 +/* 8035DF8C 0035AEEC 48 00 05 9C */ b lbl_8035E528 +lbl_8035DF90: +/* 8035DF90 0035AEF0 3C 80 45 50 */ lis r4, 0x4550534D@ha +/* 8035DF94 0035AEF4 38 04 53 4D */ addi r0, r4, 0x4550534D@l +/* 8035DF98 0035AEF8 7C 03 00 00 */ cmpw r3, r0 +/* 8035DF9C 0035AEFC 41 82 03 CC */ beq lbl_8035E368 +/* 8035DFA0 0035AF00 48 00 05 88 */ b lbl_8035E528 +lbl_8035DFA4: +/* 8035DFA4 0035AF04 3C 80 49 45 */ lis r4, 0x49454D54@ha +/* 8035DFA8 0035AF08 38 04 4D 54 */ addi r0, r4, 0x49454D54@l +/* 8035DFAC 0035AF0C 7C 03 00 00 */ cmpw r3, r0 +/* 8035DFB0 0035AF10 41 82 01 64 */ beq lbl_8035E114 +/* 8035DFB4 0035AF14 40 80 00 2C */ bge lbl_8035DFE0 +/* 8035DFB8 0035AF18 3C 80 47 52 */ lis r4, 0x47524154@ha +/* 8035DFBC 0035AF1C 38 04 41 54 */ addi r0, r4, 0x47524154@l +/* 8035DFC0 0035AF20 7C 03 00 00 */ cmpw r3, r0 +/* 8035DFC4 0035AF24 41 82 01 10 */ beq lbl_8035E0D4 +/* 8035DFC8 0035AF28 40 80 05 60 */ bge lbl_8035E528 +/* 8035DFCC 0035AF2C 3C 80 47 50 */ lis r4, 0x4750534D@ha +/* 8035DFD0 0035AF30 38 04 53 4D */ addi r0, r4, 0x4750534D@l +/* 8035DFD4 0035AF34 7C 03 00 00 */ cmpw r3, r0 +/* 8035DFD8 0035AF38 41 82 02 48 */ beq lbl_8035E220 +/* 8035DFDC 0035AF3C 48 00 05 4C */ b lbl_8035E528 +lbl_8035DFE0: +/* 8035DFE0 0035AF40 3C 80 4C 43 */ lis r4, 0x4C434C31@ha +/* 8035DFE4 0035AF44 38 04 4C 31 */ addi r0, r4, 0x4C434C31@l +/* 8035DFE8 0035AF48 7C 03 00 00 */ cmpw r3, r0 +/* 8035DFEC 0035AF4C 41 82 04 F4 */ beq lbl_8035E4E0 +/* 8035DFF0 0035AF50 40 80 05 00 */ bge lbl_8035E4F0 +/* 8035DFF4 0035AF54 48 00 05 34 */ b lbl_8035E528 +lbl_8035DFF8: +/* 8035DFF8 0035AF58 3C 80 53 4C */ lis r4, 0x534C4946@ha +/* 8035DFFC 0035AF5C 38 04 49 46 */ addi r0, r4, 0x534C4946@l +/* 8035E000 0035AF60 7C 03 00 00 */ cmpw r3, r0 +/* 8035E004 0035AF64 41 82 00 C0 */ beq lbl_8035E0C4 +/* 8035E008 0035AF68 40 80 00 60 */ bge lbl_8035E068 +/* 8035E00C 0035AF6C 3C A0 4C 57 */ lis r5, 0x4C574432@ha +/* 8035E010 0035AF70 38 05 44 32 */ addi r0, r5, 0x4C574432@l +/* 8035E014 0035AF74 7C 03 00 00 */ cmpw r3, r0 +/* 8035E018 0035AF78 41 82 04 A8 */ beq lbl_8035E4C0 +/* 8035E01C 0035AF7C 40 80 00 28 */ bge lbl_8035E044 +/* 8035E020 0035AF80 3C 80 4C 49 */ lis r4, 0x4C494645@ha +/* 8035E024 0035AF84 38 04 46 45 */ addi r0, r4, 0x4C494645@l +/* 8035E028 0035AF88 7C 03 00 00 */ cmpw r3, r0 +/* 8035E02C 0035AF8C 41 82 00 88 */ beq lbl_8035E0B4 +/* 8035E030 0035AF90 41 80 04 F8 */ blt lbl_8035E528 +/* 8035E034 0035AF94 38 05 44 31 */ addi r0, r5, 0x4431 +/* 8035E038 0035AF98 7C 03 00 00 */ cmpw r3, r0 +/* 8035E03C 0035AF9C 40 80 04 74 */ bge lbl_8035E4B0 +/* 8035E040 0035AFA0 48 00 04 E8 */ b lbl_8035E528 +lbl_8035E044: +/* 8035E044 0035AFA4 3C 80 53 43 */ lis r4, 0x53434E54@ha +/* 8035E048 0035AFA8 38 04 4E 54 */ addi r0, r4, 0x53434E54@l +/* 8035E04C 0035AFAC 7C 03 00 00 */ cmpw r3, r0 +/* 8035E050 0035AFB0 41 82 00 94 */ beq lbl_8035E0E4 +/* 8035E054 0035AFB4 40 80 04 D4 */ bge lbl_8035E528 +/* 8035E058 0035AFB8 38 05 44 34 */ addi r0, r5, 0x4434 +/* 8035E05C 0035AFBC 7C 03 00 00 */ cmpw r3, r0 +/* 8035E060 0035AFC0 40 80 04 C8 */ bge lbl_8035E528 +/* 8035E064 0035AFC4 48 00 04 6C */ b lbl_8035E4D0 +lbl_8035E068: +/* 8035E068 0035AFC8 3C 80 5A 45 */ lis r4, 0x5A455259@ha +/* 8035E06C 0035AFCC 38 04 52 59 */ addi r0, r4, 0x5A455259@l +/* 8035E070 0035AFD0 7C 03 00 00 */ cmpw r3, r0 +/* 8035E074 0035AFD4 41 82 04 9C */ beq lbl_8035E510 +/* 8035E078 0035AFD8 40 80 00 28 */ bge lbl_8035E0A0 +/* 8035E07C 0035AFDC 3C 80 53 53 */ lis r4, 0x53535748@ha +/* 8035E080 0035AFE0 38 04 57 48 */ addi r0, r4, 0x53535748@l +/* 8035E084 0035AFE4 7C 03 00 00 */ cmpw r3, r0 +/* 8035E088 0035AFE8 41 82 00 CC */ beq lbl_8035E154 +/* 8035E08C 0035AFEC 40 80 04 9C */ bge lbl_8035E528 +/* 8035E090 0035AFF0 38 04 45 47 */ addi r0, r4, 0x4547 +/* 8035E094 0035AFF4 7C 03 00 00 */ cmpw r3, r0 +/* 8035E098 0035AFF8 41 82 00 5C */ beq lbl_8035E0F4 +/* 8035E09C 0035AFFC 48 00 04 8C */ b lbl_8035E528 +lbl_8035E0A0: +/* 8035E0A0 0035B000 3C 80 5F 45 */ lis r4, 0x5F454E44@ha +/* 8035E0A4 0035B004 38 04 4E 44 */ addi r0, r4, 0x5F454E44@l +/* 8035E0A8 0035B008 7C 03 00 00 */ cmpw r3, r0 +/* 8035E0AC 0035B00C 41 82 04 74 */ beq lbl_8035E520 +/* 8035E0B0 0035B010 48 00 04 78 */ b lbl_8035E528 +lbl_8035E0B4: +/* 8035E0B4 0035B014 7F 83 E3 78 */ mr r3, r28 +/* 8035E0B8 0035B018 4B FC 9A ED */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 8035E0BC 0035B01C 90 7B 00 00 */ stw r3, 0(r27) +/* 8035E0C0 0035B020 48 00 04 7C */ b lbl_8035E53C +lbl_8035E0C4: +/* 8035E0C4 0035B024 7F 83 E3 78 */ mr r3, r28 +/* 8035E0C8 0035B028 4B FC 9A DD */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 8035E0CC 0035B02C 90 7B 00 04 */ stw r3, 4(r27) +/* 8035E0D0 0035B030 48 00 04 6C */ b lbl_8035E53C +lbl_8035E0D4: +/* 8035E0D4 0035B034 7F 83 E3 78 */ mr r3, r28 +/* 8035E0D8 0035B038 4B FC 8B B9 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 8035E0DC 0035B03C 90 7B 00 08 */ stw r3, 8(r27) +/* 8035E0E0 0035B040 48 00 04 5C */ b lbl_8035E53C +lbl_8035E0E4: +/* 8035E0E4 0035B044 7F 83 E3 78 */ mr r3, r28 +/* 8035E0E8 0035B048 4B FC 9A BD */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 8035E0EC 0035B04C 90 7B 00 0C */ stw r3, 0xc(r27) +/* 8035E0F0 0035B050 48 00 04 4C */ b lbl_8035E53C +lbl_8035E0F4: +/* 8035E0F4 0035B054 7F 83 E3 78 */ mr r3, r28 +/* 8035E0F8 0035B058 4B FC 9A AD */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 8035E0FC 0035B05C 90 7B 00 10 */ stw r3, 0x10(r27) +/* 8035E100 0035B060 48 00 04 3C */ b lbl_8035E53C +lbl_8035E104: +/* 8035E104 0035B064 7F 83 E3 78 */ mr r3, r28 +/* 8035E108 0035B068 4B FC 71 55 */ bl GetColorElement__20CParticleDataFactoryFR12CInputStream +/* 8035E10C 0035B06C 90 7B 00 14 */ stw r3, 0x14(r27) +/* 8035E110 0035B070 48 00 04 2C */ b lbl_8035E53C +lbl_8035E114: +/* 8035E114 0035B074 7F 83 E3 78 */ mr r3, r28 +/* 8035E118 0035B078 4B FC 7E 99 */ bl GetEmitterElement__20CParticleDataFactoryFR12CInputStream +/* 8035E11C 0035B07C 90 7B 00 18 */ stw r3, 0x18(r27) +/* 8035E120 0035B080 48 00 04 1C */ b lbl_8035E53C +lbl_8035E124: +/* 8035E124 0035B084 7F 83 E3 78 */ mr r3, r28 +/* 8035E128 0035B088 4B FC 7E 89 */ bl GetEmitterElement__20CParticleDataFactoryFR12CInputStream +/* 8035E12C 0035B08C 90 7B 00 1C */ stw r3, 0x1c(r27) +/* 8035E130 0035B090 48 00 04 0C */ b lbl_8035E53C +lbl_8035E134: +/* 8035E134 0035B094 7F 83 E3 78 */ mr r3, r28 +/* 8035E138 0035B098 4B FC 8B 59 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 8035E13C 0035B09C 90 7B 00 20 */ stw r3, 0x20(r27) +/* 8035E140 0035B0A0 48 00 03 FC */ b lbl_8035E53C +lbl_8035E144: +/* 8035E144 0035B0A4 7F 83 E3 78 */ mr r3, r28 +/* 8035E148 0035B0A8 4B FC 8B 49 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 8035E14C 0035B0AC 90 7B 00 24 */ stw r3, 0x24(r27) +/* 8035E150 0035B0B0 48 00 03 EC */ b lbl_8035E53C +lbl_8035E154: +/* 8035E154 0035B0B4 7F 83 E3 78 */ mr r3, r28 +/* 8035E158 0035B0B8 4B FC A3 05 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream +/* 8035E15C 0035B0BC 3C 03 B1 B1 */ addis r0, r3, 0xb1b1 +/* 8035E160 0035B0C0 28 00 4E 45 */ cmplwi r0, 0x4e45 +/* 8035E164 0035B0C4 41 82 03 D8 */ beq lbl_8035E53C +/* 8035E168 0035B0C8 7F 83 E3 78 */ mr r3, r28 +/* 8035E16C 0035B0CC 4B FE 0B 19 */ bl ReadLong__12CInputStreamFv +/* 8035E170 0035B0D0 28 03 00 00 */ cmplwi r3, 0 +/* 8035E174 0035B0D4 41 82 03 C8 */ beq lbl_8035E53C +/* 8035E178 0035B0D8 3C 80 53 57 */ lis r4, 0x53574843@ha +/* 8035E17C 0035B0DC 90 61 00 38 */ stw r3, 0x38(r1) +/* 8035E180 0035B0E0 38 04 48 43 */ addi r0, r4, 0x53574843@l +/* 8035E184 0035B0E4 7F A4 EB 78 */ mr r4, r29 +/* 8035E188 0035B0E8 90 01 00 34 */ stw r0, 0x34(r1) +/* 8035E18C 0035B0EC 38 61 00 2C */ addi r3, r1, 0x2c +/* 8035E190 0035B0F0 38 A1 00 34 */ addi r5, r1, 0x34 +/* 8035E194 0035B0F4 81 9D 00 00 */ lwz r12, 0(r29) +/* 8035E198 0035B0F8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8035E19C 0035B0FC 7D 89 03 A6 */ mtctr r12 +/* 8035E1A0 0035B100 4E 80 04 21 */ bctrl +/* 8035E1A4 0035B104 38 61 00 6C */ addi r3, r1, 0x6c +/* 8035E1A8 0035B108 38 81 00 2C */ addi r4, r1, 0x2c +/* 8035E1AC 0035B10C 4B FE 2C FD */ bl __ct__6CTokenFRC6CToken +/* 8035E1B0 0035B110 38 00 00 00 */ li r0, 0 +/* 8035E1B4 0035B114 90 01 00 74 */ stw r0, 0x74(r1) +/* 8035E1B8 0035B118 88 1B 00 4C */ lbz r0, 0x4c(r27) +/* 8035E1BC 0035B11C 28 00 00 00 */ cmplwi r0, 0 +/* 8035E1C0 0035B120 40 82 00 2C */ bne lbl_8035E1EC +/* 8035E1C4 0035B124 37 5B 00 40 */ addic. r26, r27, 0x40 +/* 8035E1C8 0035B128 41 82 00 18 */ beq lbl_8035E1E0 +/* 8035E1CC 0035B12C 7F 43 D3 78 */ mr r3, r26 +/* 8035E1D0 0035B130 38 81 00 6C */ addi r4, r1, 0x6c +/* 8035E1D4 0035B134 4B FE 2C D5 */ bl __ct__6CTokenFRC6CToken +/* 8035E1D8 0035B138 80 01 00 74 */ lwz r0, 0x74(r1) +/* 8035E1DC 0035B13C 90 1A 00 08 */ stw r0, 8(r26) +lbl_8035E1E0: +/* 8035E1E0 0035B140 38 00 00 01 */ li r0, 1 +/* 8035E1E4 0035B144 98 1B 00 4C */ stb r0, 0x4c(r27) +/* 8035E1E8 0035B148 48 00 00 1C */ b lbl_8035E204 +lbl_8035E1EC: +/* 8035E1EC 0035B14C 3B 5B 00 40 */ addi r26, r27, 0x40 +/* 8035E1F0 0035B150 38 81 00 6C */ addi r4, r1, 0x6c +/* 8035E1F4 0035B154 7F 43 D3 78 */ mr r3, r26 +/* 8035E1F8 0035B158 4B FE 2A CD */ bl __as__6CTokenFRC6CToken +/* 8035E1FC 0035B15C 80 01 00 74 */ lwz r0, 0x74(r1) +/* 8035E200 0035B160 90 1A 00 08 */ stw r0, 8(r26) +lbl_8035E204: +/* 8035E204 0035B164 38 61 00 6C */ addi r3, r1, 0x6c +/* 8035E208 0035B168 38 80 00 00 */ li r4, 0 +/* 8035E20C 0035B16C 4B FE 2C 35 */ bl __dt__6CTokenFv +/* 8035E210 0035B170 38 61 00 2C */ addi r3, r1, 0x2c +/* 8035E214 0035B174 38 80 FF FF */ li r4, -1 +/* 8035E218 0035B178 4B FE 2C 29 */ bl __dt__6CTokenFv +/* 8035E21C 0035B17C 48 00 03 20 */ b lbl_8035E53C +lbl_8035E220: +/* 8035E220 0035B180 38 00 00 00 */ li r0, 0 +/* 8035E224 0035B184 7F 84 E3 78 */ mr r4, r28 +/* 8035E228 0035B188 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 8035E22C 0035B18C 7F A5 EB 78 */ mr r5, r29 +/* 8035E230 0035B190 38 61 00 60 */ addi r3, r1, 0x60 +/* 8035E234 0035B194 38 C1 00 A0 */ addi r6, r1, 0xa0 +/* 8035E238 0035B198 90 01 00 A8 */ stw r0, 0xa8(r1) +/* 8035E23C 0035B19C 90 01 00 AC */ stw r0, 0xac(r1) +/* 8035E240 0035B1A0 4B FC 6B 51 */ bl "GetChildGeneratorDesc__20CParticleDataFactoryFR12CInputStreamP11CSimplePoolRCQ24rstl37vector" +/* 8035E244 0035B1A4 88 01 00 68 */ lbz r0, 0x68(r1) +/* 8035E248 0035B1A8 28 00 00 00 */ cmplwi r0, 0 +/* 8035E24C 0035B1AC 98 01 00 9C */ stb r0, 0x9c(r1) +/* 8035E250 0035B1B0 41 82 00 14 */ beq lbl_8035E264 +/* 8035E254 0035B1B4 34 61 00 94 */ addic. r3, r1, 0x94 +/* 8035E258 0035B1B8 38 81 00 60 */ addi r4, r1, 0x60 +/* 8035E25C 0035B1BC 41 82 00 08 */ beq lbl_8035E264 +/* 8035E260 0035B1C0 4B FE 2C 49 */ bl __ct__6CTokenFRC6CToken +lbl_8035E264: +/* 8035E264 0035B1C4 88 01 00 68 */ lbz r0, 0x68(r1) +/* 8035E268 0035B1C8 28 00 00 00 */ cmplwi r0, 0 +/* 8035E26C 0035B1CC 41 82 00 14 */ beq lbl_8035E280 +/* 8035E270 0035B1D0 34 61 00 60 */ addic. r3, r1, 0x60 +/* 8035E274 0035B1D4 41 82 00 0C */ beq lbl_8035E280 +/* 8035E278 0035B1D8 38 80 00 00 */ li r4, 0 +/* 8035E27C 0035B1DC 4B FE 2B C5 */ bl __dt__6CTokenFv +lbl_8035E280: +/* 8035E280 0035B1E0 88 01 00 9C */ lbz r0, 0x9c(r1) +/* 8035E284 0035B1E4 38 60 00 00 */ li r3, 0 +/* 8035E288 0035B1E8 98 61 00 68 */ stb r3, 0x68(r1) +/* 8035E28C 0035B1EC 28 00 00 00 */ cmplwi r0, 0 +/* 8035E290 0035B1F0 41 82 00 70 */ beq lbl_8035E300 +/* 8035E294 0035B1F4 38 61 00 54 */ addi r3, r1, 0x54 +/* 8035E298 0035B1F8 38 81 00 94 */ addi r4, r1, 0x94 +/* 8035E29C 0035B1FC 4B FE 2C 0D */ bl __ct__6CTokenFRC6CToken +/* 8035E2A0 0035B200 38 00 00 00 */ li r0, 0 +/* 8035E2A4 0035B204 90 01 00 5C */ stw r0, 0x5c(r1) +/* 8035E2A8 0035B208 88 1B 00 5C */ lbz r0, 0x5c(r27) +/* 8035E2AC 0035B20C 28 00 00 00 */ cmplwi r0, 0 +/* 8035E2B0 0035B210 40 82 00 2C */ bne lbl_8035E2DC +/* 8035E2B4 0035B214 37 5B 00 50 */ addic. r26, r27, 0x50 +/* 8035E2B8 0035B218 41 82 00 18 */ beq lbl_8035E2D0 +/* 8035E2BC 0035B21C 7F 43 D3 78 */ mr r3, r26 +/* 8035E2C0 0035B220 38 81 00 54 */ addi r4, r1, 0x54 +/* 8035E2C4 0035B224 4B FE 2B E5 */ bl __ct__6CTokenFRC6CToken +/* 8035E2C8 0035B228 80 01 00 5C */ lwz r0, 0x5c(r1) +/* 8035E2CC 0035B22C 90 1A 00 08 */ stw r0, 8(r26) +lbl_8035E2D0: +/* 8035E2D0 0035B230 38 00 00 01 */ li r0, 1 +/* 8035E2D4 0035B234 98 1B 00 5C */ stb r0, 0x5c(r27) +/* 8035E2D8 0035B238 48 00 00 1C */ b lbl_8035E2F4 +lbl_8035E2DC: +/* 8035E2DC 0035B23C 3B 5B 00 50 */ addi r26, r27, 0x50 +/* 8035E2E0 0035B240 38 81 00 54 */ addi r4, r1, 0x54 +/* 8035E2E4 0035B244 7F 43 D3 78 */ mr r3, r26 +/* 8035E2E8 0035B248 4B FE 29 DD */ bl __as__6CTokenFRC6CToken +/* 8035E2EC 0035B24C 80 01 00 5C */ lwz r0, 0x5c(r1) +/* 8035E2F0 0035B250 90 1A 00 08 */ stw r0, 8(r26) +lbl_8035E2F4: +/* 8035E2F4 0035B254 38 61 00 54 */ addi r3, r1, 0x54 +/* 8035E2F8 0035B258 38 80 00 00 */ li r4, 0 +/* 8035E2FC 0035B25C 4B FE 2B 45 */ bl __dt__6CTokenFv +lbl_8035E300: +/* 8035E300 0035B260 88 01 00 9C */ lbz r0, 0x9c(r1) +/* 8035E304 0035B264 28 00 00 00 */ cmplwi r0, 0 +/* 8035E308 0035B268 41 82 00 14 */ beq lbl_8035E31C +/* 8035E30C 0035B26C 34 61 00 94 */ addic. r3, r1, 0x94 +/* 8035E310 0035B270 41 82 00 0C */ beq lbl_8035E31C +/* 8035E314 0035B274 38 80 00 00 */ li r4, 0 +/* 8035E318 0035B278 4B FE 2B 29 */ bl __dt__6CTokenFv +lbl_8035E31C: +/* 8035E31C 0035B27C 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 8035E320 0035B280 38 80 00 00 */ li r4, 0 +/* 8035E324 0035B284 80 61 00 AC */ lwz r3, 0xac(r1) +/* 8035E328 0035B288 54 00 10 3A */ slwi r0, r0, 2 +/* 8035E32C 0035B28C 98 81 00 9C */ stb r4, 0x9c(r1) +/* 8035E330 0035B290 7C 03 02 14 */ add r0, r3, r0 +/* 8035E334 0035B294 7C 64 1B 78 */ mr r4, r3 +/* 8035E338 0035B298 90 01 00 24 */ stw r0, 0x24(r1) +/* 8035E33C 0035B29C 90 01 00 20 */ stw r0, 0x20(r1) +/* 8035E340 0035B2A0 90 61 00 1C */ stw r3, 0x1c(r1) +/* 8035E344 0035B2A4 90 61 00 18 */ stw r3, 0x18(r1) +/* 8035E348 0035B2A8 48 00 00 08 */ b lbl_8035E350 +lbl_8035E34C: +/* 8035E34C 0035B2AC 38 84 00 04 */ addi r4, r4, 4 +lbl_8035E350: +/* 8035E350 0035B2B0 7C 04 00 40 */ cmplw r4, r0 +/* 8035E354 0035B2B4 40 82 FF F8 */ bne lbl_8035E34C +/* 8035E358 0035B2B8 28 03 00 00 */ cmplwi r3, 0 +/* 8035E35C 0035B2BC 41 82 01 E0 */ beq lbl_8035E53C +/* 8035E360 0035B2C0 4B FB 75 D1 */ bl Free__7CMemoryFPCv +/* 8035E364 0035B2C4 48 00 01 D8 */ b lbl_8035E53C +lbl_8035E368: +/* 8035E368 0035B2C8 38 00 00 00 */ li r0, 0 +/* 8035E36C 0035B2CC 7F 84 E3 78 */ mr r4, r28 +/* 8035E370 0035B2D0 90 01 00 88 */ stw r0, 0x88(r1) +/* 8035E374 0035B2D4 7F A5 EB 78 */ mr r5, r29 +/* 8035E378 0035B2D8 38 61 00 48 */ addi r3, r1, 0x48 +/* 8035E37C 0035B2DC 38 C1 00 84 */ addi r6, r1, 0x84 +/* 8035E380 0035B2E0 90 01 00 8C */ stw r0, 0x8c(r1) +/* 8035E384 0035B2E4 90 01 00 90 */ stw r0, 0x90(r1) +/* 8035E388 0035B2E8 4B FC 6A 09 */ bl "GetChildGeneratorDesc__20CParticleDataFactoryFR12CInputStreamP11CSimplePoolRCQ24rstl37vector" +/* 8035E38C 0035B2EC 88 01 00 50 */ lbz r0, 0x50(r1) +/* 8035E390 0035B2F0 28 00 00 00 */ cmplwi r0, 0 +/* 8035E394 0035B2F4 98 01 00 80 */ stb r0, 0x80(r1) +/* 8035E398 0035B2F8 41 82 00 14 */ beq lbl_8035E3AC +/* 8035E39C 0035B2FC 34 61 00 78 */ addic. r3, r1, 0x78 +/* 8035E3A0 0035B300 38 81 00 48 */ addi r4, r1, 0x48 +/* 8035E3A4 0035B304 41 82 00 08 */ beq lbl_8035E3AC +/* 8035E3A8 0035B308 4B FE 2B 01 */ bl __ct__6CTokenFRC6CToken +lbl_8035E3AC: +/* 8035E3AC 0035B30C 88 01 00 50 */ lbz r0, 0x50(r1) +/* 8035E3B0 0035B310 28 00 00 00 */ cmplwi r0, 0 +/* 8035E3B4 0035B314 41 82 00 14 */ beq lbl_8035E3C8 +/* 8035E3B8 0035B318 34 61 00 48 */ addic. r3, r1, 0x48 +/* 8035E3BC 0035B31C 41 82 00 0C */ beq lbl_8035E3C8 +/* 8035E3C0 0035B320 38 80 00 00 */ li r4, 0 +/* 8035E3C4 0035B324 4B FE 2A 7D */ bl __dt__6CTokenFv +lbl_8035E3C8: +/* 8035E3C8 0035B328 88 01 00 80 */ lbz r0, 0x80(r1) +/* 8035E3CC 0035B32C 38 60 00 00 */ li r3, 0 +/* 8035E3D0 0035B330 98 61 00 50 */ stb r3, 0x50(r1) +/* 8035E3D4 0035B334 28 00 00 00 */ cmplwi r0, 0 +/* 8035E3D8 0035B338 41 82 00 70 */ beq lbl_8035E448 +/* 8035E3DC 0035B33C 38 61 00 3C */ addi r3, r1, 0x3c +/* 8035E3E0 0035B340 38 81 00 78 */ addi r4, r1, 0x78 +/* 8035E3E4 0035B344 4B FE 2A C5 */ bl __ct__6CTokenFRC6CToken +/* 8035E3E8 0035B348 38 00 00 00 */ li r0, 0 +/* 8035E3EC 0035B34C 90 01 00 44 */ stw r0, 0x44(r1) +/* 8035E3F0 0035B350 88 1B 00 6C */ lbz r0, 0x6c(r27) +/* 8035E3F4 0035B354 28 00 00 00 */ cmplwi r0, 0 +/* 8035E3F8 0035B358 40 82 00 2C */ bne lbl_8035E424 +/* 8035E3FC 0035B35C 37 5B 00 60 */ addic. r26, r27, 0x60 +/* 8035E400 0035B360 41 82 00 18 */ beq lbl_8035E418 +/* 8035E404 0035B364 7F 43 D3 78 */ mr r3, r26 +/* 8035E408 0035B368 38 81 00 3C */ addi r4, r1, 0x3c +/* 8035E40C 0035B36C 4B FE 2A 9D */ bl __ct__6CTokenFRC6CToken +/* 8035E410 0035B370 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8035E414 0035B374 90 1A 00 08 */ stw r0, 8(r26) +lbl_8035E418: +/* 8035E418 0035B378 38 00 00 01 */ li r0, 1 +/* 8035E41C 0035B37C 98 1B 00 6C */ stb r0, 0x6c(r27) +/* 8035E420 0035B380 48 00 00 1C */ b lbl_8035E43C +lbl_8035E424: +/* 8035E424 0035B384 3B 5B 00 60 */ addi r26, r27, 0x60 +/* 8035E428 0035B388 38 81 00 3C */ addi r4, r1, 0x3c +/* 8035E42C 0035B38C 7F 43 D3 78 */ mr r3, r26 +/* 8035E430 0035B390 4B FE 28 95 */ bl __as__6CTokenFRC6CToken +/* 8035E434 0035B394 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8035E438 0035B398 90 1A 00 08 */ stw r0, 8(r26) +lbl_8035E43C: +/* 8035E43C 0035B39C 38 61 00 3C */ addi r3, r1, 0x3c +/* 8035E440 0035B3A0 38 80 00 00 */ li r4, 0 +/* 8035E444 0035B3A4 4B FE 29 FD */ bl __dt__6CTokenFv +lbl_8035E448: +/* 8035E448 0035B3A8 88 01 00 80 */ lbz r0, 0x80(r1) +/* 8035E44C 0035B3AC 28 00 00 00 */ cmplwi r0, 0 +/* 8035E450 0035B3B0 41 82 00 14 */ beq lbl_8035E464 +/* 8035E454 0035B3B4 34 61 00 78 */ addic. r3, r1, 0x78 +/* 8035E458 0035B3B8 41 82 00 0C */ beq lbl_8035E464 +/* 8035E45C 0035B3BC 38 80 00 00 */ li r4, 0 +/* 8035E460 0035B3C0 4B FE 29 E1 */ bl __dt__6CTokenFv +lbl_8035E464: +/* 8035E464 0035B3C4 80 01 00 88 */ lwz r0, 0x88(r1) +/* 8035E468 0035B3C8 38 80 00 00 */ li r4, 0 +/* 8035E46C 0035B3CC 80 61 00 90 */ lwz r3, 0x90(r1) +/* 8035E470 0035B3D0 54 00 10 3A */ slwi r0, r0, 2 +/* 8035E474 0035B3D4 98 81 00 80 */ stb r4, 0x80(r1) +/* 8035E478 0035B3D8 7C 03 02 14 */ add r0, r3, r0 +/* 8035E47C 0035B3DC 7C 64 1B 78 */ mr r4, r3 +/* 8035E480 0035B3E0 90 01 00 14 */ stw r0, 0x14(r1) +/* 8035E484 0035B3E4 90 01 00 10 */ stw r0, 0x10(r1) +/* 8035E488 0035B3E8 90 61 00 0C */ stw r3, 0xc(r1) +/* 8035E48C 0035B3EC 90 61 00 08 */ stw r3, 8(r1) +/* 8035E490 0035B3F0 48 00 00 08 */ b lbl_8035E498 +lbl_8035E494: +/* 8035E494 0035B3F4 38 84 00 04 */ addi r4, r4, 4 +lbl_8035E498: +/* 8035E498 0035B3F8 7C 04 00 40 */ cmplw r4, r0 +/* 8035E49C 0035B3FC 40 82 FF F8 */ bne lbl_8035E494 +/* 8035E4A0 0035B400 28 03 00 00 */ cmplwi r3, 0 +/* 8035E4A4 0035B404 41 82 00 98 */ beq lbl_8035E53C +/* 8035E4A8 0035B408 4B FB 74 89 */ bl Free__7CMemoryFPCv +/* 8035E4AC 0035B40C 48 00 00 90 */ b lbl_8035E53C +lbl_8035E4B0: +/* 8035E4B0 0035B410 7F 83 E3 78 */ mr r3, r28 +/* 8035E4B4 0035B414 4B FC 87 DD */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 8035E4B8 0035B418 90 7B 00 28 */ stw r3, 0x28(r27) +/* 8035E4BC 0035B41C 48 00 00 80 */ b lbl_8035E53C +lbl_8035E4C0: +/* 8035E4C0 0035B420 7F 83 E3 78 */ mr r3, r28 +/* 8035E4C4 0035B424 4B FC 87 CD */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 8035E4C8 0035B428 90 7B 00 2C */ stw r3, 0x2c(r27) +/* 8035E4CC 0035B42C 48 00 00 70 */ b lbl_8035E53C +lbl_8035E4D0: +/* 8035E4D0 0035B430 7F 83 E3 78 */ mr r3, r28 +/* 8035E4D4 0035B434 4B FC 87 BD */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 8035E4D8 0035B438 90 7B 00 30 */ stw r3, 0x30(r27) +/* 8035E4DC 0035B43C 48 00 00 60 */ b lbl_8035E53C +lbl_8035E4E0: +/* 8035E4E0 0035B440 7F 83 E3 78 */ mr r3, r28 +/* 8035E4E4 0035B444 4B FC 6D 79 */ bl GetColorElement__20CParticleDataFactoryFR12CInputStream +/* 8035E4E8 0035B448 90 7B 00 34 */ stw r3, 0x34(r27) +/* 8035E4EC 0035B44C 48 00 00 50 */ b lbl_8035E53C +lbl_8035E4F0: +/* 8035E4F0 0035B450 7F 83 E3 78 */ mr r3, r28 +/* 8035E4F4 0035B454 4B FC 6D 69 */ bl GetColorElement__20CParticleDataFactoryFR12CInputStream +/* 8035E4F8 0035B458 90 7B 00 38 */ stw r3, 0x38(r27) +/* 8035E4FC 0035B45C 48 00 00 40 */ b lbl_8035E53C +lbl_8035E500: +/* 8035E500 0035B460 7F 83 E3 78 */ mr r3, r28 +/* 8035E504 0035B464 4B FC 6D 59 */ bl GetColorElement__20CParticleDataFactoryFR12CInputStream +/* 8035E508 0035B468 90 7B 00 3C */ stw r3, 0x3c(r27) +/* 8035E50C 0035B46C 48 00 00 30 */ b lbl_8035E53C +lbl_8035E510: +/* 8035E510 0035B470 7F 83 E3 78 */ mr r3, r28 +/* 8035E514 0035B474 4B FC 9F 15 */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 8035E518 0035B478 98 7B 00 70 */ stb r3, 0x70(r27) +/* 8035E51C 0035B47C 48 00 00 20 */ b lbl_8035E53C +lbl_8035E520: +/* 8035E520 0035B480 3B C0 00 01 */ li r30, 1 +/* 8035E524 0035B484 48 00 00 18 */ b lbl_8035E53C +lbl_8035E528: +/* 8035E528 0035B488 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 8035E52C 0035B48C 38 80 FF FF */ li r4, -1 +/* 8035E530 0035B490 4B FB 40 D5 */ bl __dt__13CGlobalRandomFv +/* 8035E534 0035B494 38 60 00 00 */ li r3, 0 +/* 8035E538 0035B498 48 00 00 1C */ b lbl_8035E554 +lbl_8035E53C: +/* 8035E53C 0035B49C 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 8035E540 0035B4A0 38 80 FF FF */ li r4, -1 +/* 8035E544 0035B4A4 4B FB 40 C1 */ bl __dt__13CGlobalRandomFv +lbl_8035E548: +/* 8035E548 0035B4A8 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 8035E54C 0035B4AC 41 82 F9 D8 */ beq lbl_8035DF24 +/* 8035E550 0035B4B0 38 60 00 01 */ li r3, 1 +lbl_8035E554: +/* 8035E554 0035B4B4 BB 41 00 C8 */ lmw r26, 0xc8(r1) +/* 8035E558 0035B4B8 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 8035E55C 0035B4BC 7C 08 03 A6 */ mtlr r0 +/* 8035E560 0035B4C0 38 21 00 E0 */ addi r1, r1, 0xe0 +/* 8035E564 0035B4C4 4E 80 00 20 */ blr + +.global LoadELSMTokens__28CParticleElectricDataFactoryFP20CElectricDescription +LoadELSMTokens__28CParticleElectricDataFactoryFP20CElectricDescription: +/* 8035E568 0035B4C8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8035E56C 0035B4CC 7C 08 02 A6 */ mflr r0 +/* 8035E570 0035B4D0 90 01 00 14 */ stw r0, 0x14(r1) +/* 8035E574 0035B4D4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8035E578 0035B4D8 93 C1 00 08 */ stw r30, 8(r1) +/* 8035E57C 0035B4DC 7C 7E 1B 78 */ mr r30, r3 +/* 8035E580 0035B4E0 88 03 00 4C */ lbz r0, 0x4c(r3) +/* 8035E584 0035B4E4 28 00 00 00 */ cmplwi r0, 0 +/* 8035E588 0035B4E8 41 82 00 24 */ beq lbl_8035E5AC +/* 8035E58C 0035B4EC 3B FE 00 40 */ addi r31, r30, 0x40 +/* 8035E590 0035B4F0 80 1E 00 48 */ lwz r0, 0x48(r30) +/* 8035E594 0035B4F4 28 00 00 00 */ cmplwi r0, 0 +/* 8035E598 0035B4F8 40 82 00 14 */ bne lbl_8035E5AC +/* 8035E59C 0035B4FC 7F E3 FB 78 */ mr r3, r31 +/* 8035E5A0 0035B500 4B FE 28 6D */ bl GetObj__6CTokenFv +/* 8035E5A4 0035B504 80 03 00 04 */ lwz r0, 4(r3) +/* 8035E5A8 0035B508 90 1F 00 08 */ stw r0, 8(r31) +lbl_8035E5AC: +/* 8035E5AC 0035B50C 88 1E 00 5C */ lbz r0, 0x5c(r30) +/* 8035E5B0 0035B510 28 00 00 00 */ cmplwi r0, 0 +/* 8035E5B4 0035B514 41 82 00 24 */ beq lbl_8035E5D8 +/* 8035E5B8 0035B518 3B FE 00 50 */ addi r31, r30, 0x50 +/* 8035E5BC 0035B51C 80 1E 00 58 */ lwz r0, 0x58(r30) +/* 8035E5C0 0035B520 28 00 00 00 */ cmplwi r0, 0 +/* 8035E5C4 0035B524 40 82 00 14 */ bne lbl_8035E5D8 +/* 8035E5C8 0035B528 7F E3 FB 78 */ mr r3, r31 +/* 8035E5CC 0035B52C 4B FE 28 41 */ bl GetObj__6CTokenFv +/* 8035E5D0 0035B530 80 03 00 04 */ lwz r0, 4(r3) +/* 8035E5D4 0035B534 90 1F 00 08 */ stw r0, 8(r31) +lbl_8035E5D8: +/* 8035E5D8 0035B538 88 1E 00 6C */ lbz r0, 0x6c(r30) +/* 8035E5DC 0035B53C 28 00 00 00 */ cmplwi r0, 0 +/* 8035E5E0 0035B540 41 82 00 24 */ beq lbl_8035E604 +/* 8035E5E4 0035B544 3B FE 00 60 */ addi r31, r30, 0x60 +/* 8035E5E8 0035B548 80 1E 00 68 */ lwz r0, 0x68(r30) +/* 8035E5EC 0035B54C 28 00 00 00 */ cmplwi r0, 0 +/* 8035E5F0 0035B550 40 82 00 14 */ bne lbl_8035E604 +/* 8035E5F4 0035B554 7F E3 FB 78 */ mr r3, r31 +/* 8035E5F8 0035B558 4B FE 28 15 */ bl GetObj__6CTokenFv +/* 8035E5FC 0035B55C 80 03 00 04 */ lwz r0, 4(r3) +/* 8035E600 0035B560 90 1F 00 08 */ stw r0, 8(r31) +lbl_8035E604: +/* 8035E604 0035B564 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8035E608 0035B568 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8035E60C 0035B56C 83 C1 00 08 */ lwz r30, 8(r1) +/* 8035E610 0035B570 7C 08 03 A6 */ mtlr r0 +/* 8035E614 0035B574 38 21 00 10 */ addi r1, r1, 0x10 +/* 8035E618 0035B578 4E 80 00 20 */ blr + +.global CreateGeneratorDescription__28CParticleElectricDataFactoryFR12CInputStreamP11CSimplePool +CreateGeneratorDescription__28CParticleElectricDataFactoryFR12CInputStreamP11CSimplePool: +/* 8035E61C 0035B57C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8035E620 0035B580 7C 08 02 A6 */ mflr r0 +/* 8035E624 0035B584 90 01 00 24 */ stw r0, 0x24(r1) +/* 8035E628 0035B588 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8035E62C 0035B58C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8035E630 0035B590 7C 9E 23 78 */ mr r30, r4 +/* 8035E634 0035B594 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8035E638 0035B598 7C 7D 1B 78 */ mr r29, r3 +/* 8035E63C 0035B59C 4B FC 9E 21 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream +/* 8035E640 0035B5A0 3C 03 BA B4 */ addis r0, r3, 0xbab4 +/* 8035E644 0035B5A4 28 00 53 4D */ cmplwi r0, 0x534d +/* 8035E648 0035B5A8 41 82 00 0C */ beq lbl_8035E654 +/* 8035E64C 0035B5AC 38 60 00 00 */ li r3, 0 +/* 8035E650 0035B5B0 48 00 00 44 */ b lbl_8035E694 +lbl_8035E654: +/* 8035E654 0035B5B4 3C 80 80 3E */ lis r4, lbl_803D83E0@ha +/* 8035E658 0035B5B8 38 60 00 74 */ li r3, 0x74 +/* 8035E65C 0035B5BC 38 84 83 E0 */ addi r4, r4, lbl_803D83E0@l +/* 8035E660 0035B5C0 38 A0 00 00 */ li r5, 0 +/* 8035E664 0035B5C4 4B FB 72 09 */ bl __nw__FUlPCcPCc +/* 8035E668 0035B5C8 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8035E66C 0035B5CC 41 82 00 0C */ beq lbl_8035E678 +/* 8035E670 0035B5D0 48 00 84 31 */ bl __ct__20CElectricDescriptionFv +/* 8035E674 0035B5D4 7C 7F 1B 78 */ mr r31, r3 +lbl_8035E678: +/* 8035E678 0035B5D8 7F E3 FB 78 */ mr r3, r31 +/* 8035E67C 0035B5DC 7F A4 EB 78 */ mr r4, r29 +/* 8035E680 0035B5E0 7F C5 F3 78 */ mr r5, r30 +/* 8035E684 0035B5E4 4B FF F8 69 */ bl CreateELSM__28CParticleElectricDataFactoryFP20CElectricDescriptionR12CInputStreamP11CSimplePool +/* 8035E688 0035B5E8 7F E3 FB 78 */ mr r3, r31 +/* 8035E68C 0035B5EC 4B FF FE DD */ bl LoadELSMTokens__28CParticleElectricDataFactoryFP20CElectricDescription +/* 8035E690 0035B5F0 7F E3 FB 78 */ mr r3, r31 +lbl_8035E694: +/* 8035E694 0035B5F4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8035E698 0035B5F8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8035E69C 0035B5FC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8035E6A0 0035B600 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8035E6A4 0035B604 7C 08 03 A6 */ mtlr r0 +/* 8035E6A8 0035B608 38 21 00 20 */ addi r1, r1, 0x20 +/* 8035E6AC 0035B60C 4E 80 00 20 */ blr + +.global GetGeneratorDesc__28CParticleElectricDataFactoryFR12CInputStreamP11CSimplePool +GetGeneratorDesc__28CParticleElectricDataFactoryFR12CInputStreamP11CSimplePool: +/* 8035E6B0 0035B610 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8035E6B4 0035B614 7C 08 02 A6 */ mflr r0 +/* 8035E6B8 0035B618 90 01 00 34 */ stw r0, 0x34(r1) +/* 8035E6BC 0035B61C 38 00 00 00 */ li r0, 0 +/* 8035E6C0 0035B620 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8035E6C4 0035B624 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8035E6C8 0035B628 90 01 00 20 */ stw r0, 0x20(r1) +/* 8035E6CC 0035B62C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8035E6D0 0035B630 4B FF FF 4D */ bl CreateGeneratorDescription__28CParticleElectricDataFactoryFR12CInputStreamP11CSimplePool +/* 8035E6D4 0035B634 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 8035E6D8 0035B638 7C 7F 1B 78 */ mr r31, r3 +/* 8035E6DC 0035B63C 80 81 00 24 */ lwz r4, 0x24(r1) +/* 8035E6E0 0035B640 54 00 10 3A */ slwi r0, r0, 2 +/* 8035E6E4 0035B644 7C 04 02 14 */ add r0, r4, r0 +/* 8035E6E8 0035B648 90 81 00 0C */ stw r4, 0xc(r1) +/* 8035E6EC 0035B64C 7C 83 23 78 */ mr r3, r4 +/* 8035E6F0 0035B650 90 01 00 14 */ stw r0, 0x14(r1) +/* 8035E6F4 0035B654 90 01 00 10 */ stw r0, 0x10(r1) +/* 8035E6F8 0035B658 90 81 00 08 */ stw r4, 8(r1) +/* 8035E6FC 0035B65C 48 00 00 08 */ b lbl_8035E704 +lbl_8035E700: +/* 8035E700 0035B660 38 63 00 04 */ addi r3, r3, 4 +lbl_8035E704: +/* 8035E704 0035B664 7C 03 00 40 */ cmplw r3, r0 +/* 8035E708 0035B668 40 82 FF F8 */ bne lbl_8035E700 +/* 8035E70C 0035B66C 28 04 00 00 */ cmplwi r4, 0 +/* 8035E710 0035B670 41 82 00 0C */ beq lbl_8035E71C +/* 8035E714 0035B674 7C 83 23 78 */ mr r3, r4 +/* 8035E718 0035B678 4B FB 72 19 */ bl Free__7CMemoryFPCv +lbl_8035E71C: +/* 8035E71C 0035B67C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8035E720 0035B680 7F E3 FB 78 */ mr r3, r31 +/* 8035E724 0035B684 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8035E728 0035B688 7C 08 03 A6 */ mtlr r0 +/* 8035E72C 0035B68C 38 21 00 30 */ addi r1, r1, 0x30 +/* 8035E730 0035B690 4E 80 00 20 */ blr + +.global FParticleElectricDataFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer +FParticleElectricDataFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer: +/* 8035E734 0035B694 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8035E738 0035B698 7C 08 02 A6 */ mflr r0 +/* 8035E73C 0035B69C 90 01 00 34 */ stw r0, 0x34(r1) +/* 8035E740 0035B6A0 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8035E744 0035B6A4 7C 7F 1B 78 */ mr r31, r3 +/* 8035E748 0035B6A8 7C A3 2B 78 */ mr r3, r5 +/* 8035E74C 0035B6AC 80 C6 00 00 */ lwz r6, 0(r6) +/* 8035E750 0035B6B0 90 C1 00 08 */ stw r6, 8(r1) +/* 8035E754 0035B6B4 80 86 00 04 */ lwz r4, 4(r6) +/* 8035E758 0035B6B8 38 04 00 01 */ addi r0, r4, 1 +/* 8035E75C 0035B6BC 90 06 00 04 */ stw r0, 4(r6) +/* 8035E760 0035B6C0 80 81 00 08 */ lwz r4, 8(r1) +/* 8035E764 0035B6C4 80 84 00 00 */ lwz r4, 0(r4) +/* 8035E768 0035B6C8 80 84 00 04 */ lwz r4, 4(r4) +/* 8035E76C 0035B6CC 4B FF FF 45 */ bl GetGeneratorDesc__28CParticleElectricDataFactoryFR12CInputStreamP11CSimplePool +/* 8035E770 0035B6D0 7C 03 00 D0 */ neg r0, r3 +/* 8035E774 0035B6D4 90 61 00 10 */ stw r3, 0x10(r1) +/* 8035E778 0035B6D8 7C 00 1B 78 */ or r0, r0, r3 +/* 8035E77C 0035B6DC 38 61 00 14 */ addi r3, r1, 0x14 +/* 8035E780 0035B6E0 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8035E784 0035B6E4 38 81 00 0C */ addi r4, r1, 0xc +/* 8035E788 0035B6E8 98 01 00 0C */ stb r0, 0xc(r1) +/* 8035E78C 0035B6EC 48 00 00 85 */ bl "GetIObjObjectFor__30TToken<20CElectricDescription>FRCQ24rstl32auto_ptr<20CElectricDescription>" +/* 8035E790 0035B6F0 80 61 00 18 */ lwz r3, 0x18(r1) +/* 8035E794 0035B6F4 38 00 00 00 */ li r0, 0 +/* 8035E798 0035B6F8 98 01 00 14 */ stb r0, 0x14(r1) +/* 8035E79C 0035B6FC 7C 03 00 D0 */ neg r0, r3 +/* 8035E7A0 0035B700 7C 00 1B 78 */ or r0, r0, r3 +/* 8035E7A4 0035B704 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8035E7A8 0035B708 98 1F 00 00 */ stb r0, 0(r31) +/* 8035E7AC 0035B70C 90 7F 00 04 */ stw r3, 4(r31) +/* 8035E7B0 0035B710 88 01 00 14 */ lbz r0, 0x14(r1) +/* 8035E7B4 0035B714 28 00 00 00 */ cmplwi r0, 0 +/* 8035E7B8 0035B718 41 82 00 24 */ beq lbl_8035E7DC +/* 8035E7BC 0035B71C 80 61 00 18 */ lwz r3, 0x18(r1) +/* 8035E7C0 0035B720 28 03 00 00 */ cmplwi r3, 0 +/* 8035E7C4 0035B724 41 82 00 18 */ beq lbl_8035E7DC +/* 8035E7C8 0035B728 81 83 00 00 */ lwz r12, 0(r3) +/* 8035E7CC 0035B72C 38 80 00 01 */ li r4, 1 +/* 8035E7D0 0035B730 81 8C 00 08 */ lwz r12, 8(r12) +/* 8035E7D4 0035B734 7D 89 03 A6 */ mtctr r12 +/* 8035E7D8 0035B738 4E 80 04 21 */ bctrl +lbl_8035E7DC: +/* 8035E7DC 0035B73C 88 01 00 0C */ lbz r0, 0xc(r1) +/* 8035E7E0 0035B740 28 00 00 00 */ cmplwi r0, 0 +/* 8035E7E4 0035B744 41 82 00 10 */ beq lbl_8035E7F4 +/* 8035E7E8 0035B748 80 61 00 10 */ lwz r3, 0x10(r1) +/* 8035E7EC 0035B74C 38 80 00 01 */ li r4, 1 +/* 8035E7F0 0035B750 48 00 7F C9 */ bl __dt__20CElectricDescriptionFv +lbl_8035E7F4: +/* 8035E7F4 0035B754 38 61 00 08 */ addi r3, r1, 8 +/* 8035E7F8 0035B758 4B CD 5B 0D */ bl sub_80034304 +/* 8035E7FC 0035B75C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8035E800 0035B760 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8035E804 0035B764 7C 08 03 A6 */ mtlr r0 +/* 8035E808 0035B768 38 21 00 30 */ addi r1, r1, 0x30 +/* 8035E80C 0035B76C 4E 80 00 20 */ blr + +.global "GetIObjObjectFor__30TToken<20CElectricDescription>FRCQ24rstl32auto_ptr<20CElectricDescription>" +"GetIObjObjectFor__30TToken<20CElectricDescription>FRCQ24rstl32auto_ptr<20CElectricDescription>": +/* 8035E810 0035B770 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8035E814 0035B774 7C 08 02 A6 */ mflr r0 +/* 8035E818 0035B778 90 01 00 14 */ stw r0, 0x14(r1) +/* 8035E81C 0035B77C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8035E820 0035B780 7C 7F 1B 78 */ mr r31, r3 +/* 8035E824 0035B784 48 00 00 19 */ bl "GetNewDerivedObject__48TObjOwnerDerivedFromIObj<20CElectricDescription>FRCQ24rstl32auto_ptr<20CElectricDescription>" +/* 8035E828 0035B788 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8035E82C 0035B78C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8035E830 0035B790 7C 08 03 A6 */ mtlr r0 +/* 8035E834 0035B794 38 21 00 10 */ addi r1, r1, 0x10 +/* 8035E838 0035B798 4E 80 00 20 */ blr + +.global "GetNewDerivedObject__48TObjOwnerDerivedFromIObj<20CElectricDescription>FRCQ24rstl32auto_ptr<20CElectricDescription>" +"GetNewDerivedObject__48TObjOwnerDerivedFromIObj<20CElectricDescription>FRCQ24rstl32auto_ptr<20CElectricDescription>": +/* 8035E83C 0035B79C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8035E840 0035B7A0 7C 08 02 A6 */ mflr r0 +/* 8035E844 0035B7A4 3C A0 80 3E */ lis r5, lbl_803D83E0@ha +/* 8035E848 0035B7A8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8035E84C 0035B7AC 38 05 83 E0 */ addi r0, r5, lbl_803D83E0@l +/* 8035E850 0035B7B0 38 A0 00 00 */ li r5, 0 +/* 8035E854 0035B7B4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8035E858 0035B7B8 7C 9F 23 78 */ mr r31, r4 +/* 8035E85C 0035B7BC 7C 04 03 78 */ mr r4, r0 +/* 8035E860 0035B7C0 93 C1 00 08 */ stw r30, 8(r1) +/* 8035E864 0035B7C4 7C 7E 1B 78 */ mr r30, r3 +/* 8035E868 0035B7C8 38 60 00 08 */ li r3, 8 +/* 8035E86C 0035B7CC 4B FB 70 01 */ bl __nw__FUlPCcPCc +/* 8035E870 0035B7D0 28 03 00 00 */ cmplwi r3, 0 +/* 8035E874 0035B7D4 41 82 00 38 */ beq lbl_8035E8AC +/* 8035E878 0035B7D8 3C 80 80 3E */ lis r4, lbl_803D8D6C@ha +/* 8035E87C 0035B7DC 3C A0 80 3E */ lis r5, lbl_803D8D78@ha +/* 8035E880 0035B7E0 38 04 8D 6C */ addi r0, r4, lbl_803D8D6C@l +/* 8035E884 0035B7E4 3C 80 80 3E */ lis r4, lbl_803DACA4@ha +/* 8035E888 0035B7E8 90 03 00 00 */ stw r0, 0(r3) +/* 8035E88C 0035B7EC 38 C5 8D 78 */ addi r6, r5, lbl_803D8D78@l +/* 8035E890 0035B7F0 38 A0 00 00 */ li r5, 0 +/* 8035E894 0035B7F4 38 04 AC A4 */ addi r0, r4, lbl_803DACA4@l +/* 8035E898 0035B7F8 90 C3 00 00 */ stw r6, 0(r3) +/* 8035E89C 0035B7FC 98 BF 00 00 */ stb r5, 0(r31) +/* 8035E8A0 0035B800 80 9F 00 04 */ lwz r4, 4(r31) +/* 8035E8A4 0035B804 90 83 00 04 */ stw r4, 4(r3) +/* 8035E8A8 0035B808 90 03 00 00 */ stw r0, 0(r3) +lbl_8035E8AC: +/* 8035E8AC 0035B80C 7C 03 00 D0 */ neg r0, r3 +/* 8035E8B0 0035B810 7C 00 1B 78 */ or r0, r0, r3 +/* 8035E8B4 0035B814 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8035E8B8 0035B818 98 1E 00 00 */ stb r0, 0(r30) +/* 8035E8BC 0035B81C 90 7E 00 04 */ stw r3, 4(r30) +/* 8035E8C0 0035B820 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8035E8C4 0035B824 83 C1 00 08 */ lwz r30, 8(r1) +/* 8035E8C8 0035B828 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8035E8CC 0035B82C 7C 08 03 A6 */ mtlr r0 +/* 8035E8D0 0035B830 38 21 00 10 */ addi r1, r1, 0x10 +/* 8035E8D4 0035B834 4E 80 00 20 */ blr diff --git a/asm/Kyoto/Particles/CParticleGen.s b/asm/Kyoto/Particles/CParticleGen.s new file mode 100644 index 00000000..35c463b9 --- /dev/null +++ b/asm/Kyoto/Particles/CParticleGen.s @@ -0,0 +1,52 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global AddModifier__12CParticleGenFP5CWarp +AddModifier__12CParticleGenFP5CWarp: +/* 8032A5D0 00327530 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8032A5D4 00327534 7C 08 02 A6 */ mflr r0 +/* 8032A5D8 00327538 38 A0 00 00 */ li r5, 0 +/* 8032A5DC 0032753C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8032A5E0 00327540 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8032A5E4 00327544 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8032A5E8 00327548 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8032A5EC 0032754C 7C 9D 23 78 */ mr r29, r4 +/* 8032A5F0 00327550 93 81 00 10 */ stw r28, 0x10(r1) +/* 8032A5F4 00327554 7C 7C 1B 78 */ mr r28, r3 +/* 8032A5F8 00327558 3C 60 80 3D */ lis r3, lbl_803D7920@ha +/* 8032A5FC 0032755C 83 FC 00 0C */ lwz r31, 0xc(r28) +/* 8032A600 00327560 38 03 79 20 */ addi r0, r3, lbl_803D7920@l +/* 8032A604 00327564 38 60 00 0C */ li r3, 0xc +/* 8032A608 00327568 83 DF 00 00 */ lwz r30, 0(r31) +/* 8032A60C 0032756C 7C 04 03 78 */ mr r4, r0 +/* 8032A610 00327570 4B FE B2 09 */ bl __nwa__FUlPCcPCc +/* 8032A614 00327574 28 03 00 00 */ cmplwi r3, 0 +/* 8032A618 00327578 41 82 00 0C */ beq lbl_8032A624 +/* 8032A61C 0032757C 93 C3 00 00 */ stw r30, 0(r3) +/* 8032A620 00327580 93 E3 00 04 */ stw r31, 4(r3) +lbl_8032A624: +/* 8032A624 00327584 34 83 00 08 */ addic. r4, r3, 8 +/* 8032A628 00327588 41 82 00 08 */ beq lbl_8032A630 +/* 8032A62C 0032758C 93 A4 00 00 */ stw r29, 0(r4) +lbl_8032A630: +/* 8032A630 00327590 80 1C 00 08 */ lwz r0, 8(r28) +/* 8032A634 00327594 7C 1F 00 40 */ cmplw r31, r0 +/* 8032A638 00327598 40 82 00 08 */ bne lbl_8032A640 +/* 8032A63C 0032759C 90 7C 00 08 */ stw r3, 8(r28) +lbl_8032A640: +/* 8032A640 003275A0 80 83 00 00 */ lwz r4, 0(r3) +/* 8032A644 003275A4 90 64 00 04 */ stw r3, 4(r4) +/* 8032A648 003275A8 80 83 00 04 */ lwz r4, 4(r3) +/* 8032A64C 003275AC 90 64 00 00 */ stw r3, 0(r4) +/* 8032A650 003275B0 80 7C 00 18 */ lwz r3, 0x18(r28) +/* 8032A654 003275B4 38 03 00 01 */ addi r0, r3, 1 +/* 8032A658 003275B8 90 1C 00 18 */ stw r0, 0x18(r28) +/* 8032A65C 003275BC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8032A660 003275C0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8032A664 003275C4 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8032A668 003275C8 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8032A66C 003275CC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8032A670 003275D0 7C 08 03 A6 */ mtlr r0 +/* 8032A674 003275D4 38 21 00 20 */ addi r1, r1, 0x20 +/* 8032A678 003275D8 4E 80 00 20 */ blr diff --git a/asm/Kyoto/Particles/CParticleGlobals.s b/asm/Kyoto/Particles/CParticleGlobals.s new file mode 100644 index 00000000..e66133aa --- /dev/null +++ b/asm/Kyoto/Particles/CParticleGlobals.s @@ -0,0 +1,91 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global UpdateParticleLifetimeTweenValues__16CParticleGlobalsFi +UpdateParticleLifetimeTweenValues__16CParticleGlobalsFi: +/* 8032A67C 003275DC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8032A680 003275E0 3C 00 43 30 */ lis r0, 0x4330 +/* 8032A684 003275E4 C8 22 CA 88 */ lfd f1, lbl_805AE7A8@sda21(r2) +/* 8032A688 003275E8 80 8D A8 D0 */ lwz r4, lbl_805A9490@sda21(r13) +/* 8032A68C 003275EC 90 01 00 08 */ stw r0, 8(r1) +/* 8032A690 003275F0 6C 84 80 00 */ xoris r4, r4, 0x8000 +/* 8032A694 003275F4 C0 42 CA 7C */ lfs f2, lbl_805AE79C@sda21(r2) +/* 8032A698 003275F8 90 81 00 0C */ stw r4, 0xc(r1) +/* 8032A69C 003275FC C8 01 00 08 */ lfd f0, 8(r1) +/* 8032A6A0 00327600 EC 00 08 28 */ fsubs f0, f0, f1 +/* 8032A6A4 00327604 FC 02 00 00 */ fcmpu cr0, f2, f0 +/* 8032A6A8 00327608 41 82 00 18 */ beq lbl_8032A6C0 +/* 8032A6AC 0032760C 90 81 00 14 */ stw r4, 0x14(r1) +/* 8032A6B0 00327610 90 01 00 10 */ stw r0, 0x10(r1) +/* 8032A6B4 00327614 C8 01 00 10 */ lfd f0, 0x10(r1) +/* 8032A6B8 00327618 EC 60 08 28 */ fsubs f3, f0, f1 +/* 8032A6BC 0032761C 48 00 00 08 */ b lbl_8032A6C4 +lbl_8032A6C0: +/* 8032A6C0 00327620 C0 62 CA 78 */ lfs f3, lbl_805AE798@sda21(r2) +lbl_8032A6C4: +/* 8032A6C4 00327624 3C 00 43 30 */ lis r0, 0x4330 +/* 8032A6C8 00327628 6C 63 80 00 */ xoris r3, r3, 0x8000 +/* 8032A6CC 0032762C 90 61 00 1C */ stw r3, 0x1c(r1) +/* 8032A6D0 00327630 C8 42 CA 88 */ lfd f2, lbl_805AE7A8@sda21(r2) +/* 8032A6D4 00327634 90 01 00 18 */ stw r0, 0x18(r1) +/* 8032A6D8 00327638 C0 22 CA 80 */ lfs f1, lbl_805AE7A0@sda21(r2) +/* 8032A6DC 0032763C C8 01 00 18 */ lfd f0, 0x18(r1) +/* 8032A6E0 00327640 90 01 00 28 */ stw r0, 0x28(r1) +/* 8032A6E4 00327644 EC 00 10 28 */ fsubs f0, f0, f2 +/* 8032A6E8 00327648 EC 01 00 32 */ fmuls f0, f1, f0 +/* 8032A6EC 0032764C EC 20 18 24 */ fdivs f1, f0, f3 +/* 8032A6F0 00327650 FC 00 08 1E */ fctiwz f0, f1 +/* 8032A6F4 00327654 D0 2D A8 E4 */ stfs f1, lbl_805A94A4@sda21(r13) +/* 8032A6F8 00327658 D8 01 00 20 */ stfd f0, 0x20(r1) +/* 8032A6FC 0032765C 80 61 00 24 */ lwz r3, 0x24(r1) +/* 8032A700 00327660 6C 60 80 00 */ xoris r0, r3, 0x8000 +/* 8032A704 00327664 2C 03 00 00 */ cmpwi r3, 0 +/* 8032A708 00327668 90 01 00 2C */ stw r0, 0x2c(r1) +/* 8032A70C 0032766C C8 01 00 28 */ lfd f0, 0x28(r1) +/* 8032A710 00327670 90 6D A8 E0 */ stw r3, lbl_805A94A0@sda21(r13) +/* 8032A714 00327674 EC 00 10 28 */ fsubs f0, f0, f2 +/* 8032A718 00327678 EC 01 00 28 */ fsubs f0, f1, f0 +/* 8032A71C 0032767C D0 0D A8 E8 */ stfs f0, lbl_805A94A8@sda21(r13) +/* 8032A720 00327680 40 80 00 10 */ bge lbl_8032A730 +/* 8032A724 00327684 38 00 00 00 */ li r0, 0 +/* 8032A728 00327688 90 0D A8 E0 */ stw r0, lbl_805A94A0@sda21(r13) +/* 8032A72C 0032768C 48 00 00 14 */ b lbl_8032A740 +lbl_8032A730: +/* 8032A730 00327690 2C 03 00 64 */ cmpwi r3, 0x64 +/* 8032A734 00327694 40 81 00 0C */ ble lbl_8032A740 +/* 8032A738 00327698 38 00 00 64 */ li r0, 0x64 +/* 8032A73C 0032769C 90 0D A8 E0 */ stw r0, lbl_805A94A0@sda21(r13) +lbl_8032A740: +/* 8032A740 003276A0 38 21 00 30 */ addi r1, r1, 0x30 +/* 8032A744 003276A4 4E 80 00 20 */ blr + +.global SetEmitterTime__16CParticleGlobalsFi +SetEmitterTime__16CParticleGlobalsFi: +/* 8032A748 003276A8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8032A74C 003276AC 6C 64 80 00 */ xoris r4, r3, 0x8000 +/* 8032A750 003276B0 3C 00 43 30 */ lis r0, 0x4330 +/* 8032A754 003276B4 C8 22 CA 88 */ lfd f1, lbl_805AE7A8@sda21(r2) +/* 8032A758 003276B8 90 81 00 0C */ stw r4, 0xc(r1) +/* 8032A75C 003276BC 90 01 00 08 */ stw r0, 8(r1) +/* 8032A760 003276C0 C8 01 00 08 */ lfd f0, 8(r1) +/* 8032A764 003276C4 90 6D A8 D8 */ stw r3, lbl_805A9498@sda21(r13) +/* 8032A768 003276C8 EC 00 08 28 */ fsubs f0, f0, f1 +/* 8032A76C 003276CC D0 0D A8 DC */ stfs f0, lbl_805A949C@sda21(r13) +/* 8032A770 003276D0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8032A774 003276D4 4E 80 00 20 */ blr + +.global SetParticleLifetime__16CParticleGlobalsFi +SetParticleLifetime__16CParticleGlobalsFi: +/* 8032A778 003276D8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8032A77C 003276DC 6C 64 80 00 */ xoris r4, r3, 0x8000 +/* 8032A780 003276E0 3C 00 43 30 */ lis r0, 0x4330 +/* 8032A784 003276E4 C8 22 CA 88 */ lfd f1, lbl_805AE7A8@sda21(r2) +/* 8032A788 003276E8 90 81 00 0C */ stw r4, 0xc(r1) +/* 8032A78C 003276EC 90 01 00 08 */ stw r0, 8(r1) +/* 8032A790 003276F0 C8 01 00 08 */ lfd f0, 8(r1) +/* 8032A794 003276F4 90 6D A8 D0 */ stw r3, lbl_805A9490@sda21(r13) +/* 8032A798 003276F8 EC 00 08 28 */ fsubs f0, f0, f1 +/* 8032A79C 003276FC D0 0D A8 D4 */ stfs f0, lbl_805A9494@sda21(r13) +/* 8032A7A0 00327700 38 21 00 10 */ addi r1, r1, 0x10 +/* 8032A7A4 00327704 4E 80 00 20 */ blr diff --git a/asm/Kyoto/Particles/CParticleSwoosh.s b/asm/Kyoto/Particles/CParticleSwoosh.s new file mode 100644 index 00000000..61a0c8cc --- /dev/null +++ b/asm/Kyoto/Particles/CParticleSwoosh.s @@ -0,0 +1,5651 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global GetTranslation__15CParticleSwooshCFv +GetTranslation__15CParticleSwooshCFv: +/* 8032A7A8 00327708 38 63 00 38 */ addi r3, r3, 0x38 +/* 8032A7AC 0032770C 4E 80 00 20 */ blr + +.global GetGlobalTranslation__15CParticleSwooshCFv +GetGlobalTranslation__15CParticleSwooshCFv: +/* 8032A7B0 00327710 38 63 00 A4 */ addi r3, r3, 0xa4 +/* 8032A7B4 00327714 4E 80 00 20 */ blr + +.global GetGlobalOrientation__15CParticleSwooshCFv +GetGlobalOrientation__15CParticleSwooshCFv: +/* 8032A7B8 00327718 38 63 00 B0 */ addi r3, r3, 0xb0 +/* 8032A7BC 0032771C 4E 80 00 20 */ blr + +.global GetGlobalScale__15CParticleSwooshCFv +GetGlobalScale__15CParticleSwooshCFv: +/* 8032A7C0 00327720 38 63 00 E0 */ addi r3, r3, 0xe0 +/* 8032A7C4 00327724 4E 80 00 20 */ blr + +.global GetOrientation__15CParticleSwooshCFv +GetOrientation__15CParticleSwooshCFv: +/* 8032A7C8 00327728 38 63 00 44 */ addi r3, r3, 0x44 +/* 8032A7CC 0032772C 4E 80 00 20 */ blr + +.global GetParticleEmission__15CParticleSwooshCFv +GetParticleEmission__15CParticleSwooshCFv: +/* 8032A7D0 00327730 88 03 01 D0 */ lbz r0, 0x1d0(r3) +/* 8032A7D4 00327734 54 03 CF FE */ rlwinm r3, r0, 0x19, 0x1f, 0x1f +/* 8032A7D8 00327738 4E 80 00 20 */ blr + +.global DestroyParticles__15CParticleSwooshFv +DestroyParticles__15CParticleSwooshFv: +/* 8032A7DC 0032773C 4E 80 00 20 */ blr + +.global SystemHasLight__15CParticleSwooshCFv +SystemHasLight__15CParticleSwooshCFv: +/* 8032A7E0 00327740 38 60 00 00 */ li r3, 0 +/* 8032A7E4 00327744 4E 80 00 20 */ blr + +.global SetGlobalScale__15CParticleSwooshFRC9CVector3f +SetGlobalScale__15CParticleSwooshFRC9CVector3f: +/* 8032A7E8 00327748 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 8032A7EC 0032774C 7C 08 02 A6 */ mflr r0 +/* 8032A7F0 00327750 90 01 00 74 */ stw r0, 0x74(r1) +/* 8032A7F4 00327754 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 8032A7F8 00327758 7C 9F 23 78 */ mr r31, r4 +/* 8032A7FC 0032775C 93 C1 00 68 */ stw r30, 0x68(r1) +/* 8032A800 00327760 7C 7E 1B 78 */ mr r30, r3 +/* 8032A804 00327764 38 61 00 38 */ addi r3, r1, 0x38 +/* 8032A808 00327768 C0 04 00 00 */ lfs f0, 0(r4) +/* 8032A80C 0032776C D0 1E 00 E0 */ stfs f0, 0xe0(r30) +/* 8032A810 00327770 C0 04 00 04 */ lfs f0, 4(r4) +/* 8032A814 00327774 D0 1E 00 E4 */ stfs f0, 0xe4(r30) +/* 8032A818 00327778 C0 04 00 08 */ lfs f0, 8(r4) +/* 8032A81C 0032777C D0 1E 00 E8 */ stfs f0, 0xe8(r30) +/* 8032A820 00327780 4B FE 89 A5 */ bl Scale__12CTransform4fFRC9CVector3f +/* 8032A824 00327784 38 7E 00 EC */ addi r3, r30, 0xec +/* 8032A828 00327788 38 81 00 38 */ addi r4, r1, 0x38 +/* 8032A82C 0032778C 4B FE 83 15 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8032A830 00327790 C0 62 CA 90 */ lfs f3, lbl_805AE7B0@sda21(r2) +/* 8032A834 00327794 38 61 00 08 */ addi r3, r1, 8 +/* 8032A838 00327798 C0 3F 00 00 */ lfs f1, 0(r31) +/* 8032A83C 0032779C C0 5F 00 04 */ lfs f2, 4(r31) +/* 8032A840 003277A0 C0 1F 00 08 */ lfs f0, 8(r31) +/* 8032A844 003277A4 EC 23 08 24 */ fdivs f1, f3, f1 +/* 8032A848 003277A8 EC 43 10 24 */ fdivs f2, f3, f2 +/* 8032A84C 003277AC EC 63 00 24 */ fdivs f3, f3, f0 +/* 8032A850 003277B0 4B FE 89 B9 */ bl Scale__12CTransform4fFfff +/* 8032A854 003277B4 38 7E 01 1C */ addi r3, r30, 0x11c +/* 8032A858 003277B8 38 81 00 08 */ addi r4, r1, 8 +/* 8032A85C 003277BC 4B FE 82 E5 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8032A860 003277C0 80 01 00 74 */ lwz r0, 0x74(r1) +/* 8032A864 003277C4 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 8032A868 003277C8 83 C1 00 68 */ lwz r30, 0x68(r1) +/* 8032A86C 003277CC 7C 08 03 A6 */ mtlr r0 +/* 8032A870 003277D0 38 21 00 70 */ addi r1, r1, 0x70 +/* 8032A874 003277D4 4E 80 00 20 */ blr + +.global UpdateSwooshTranslation__15CParticleSwooshFRC9CVector3f +UpdateSwooshTranslation__15CParticleSwooshFRC9CVector3f: +/* 8032A878 003277D8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8032A87C 003277DC 7C 08 02 A6 */ mflr r0 +/* 8032A880 003277E0 7C 85 23 78 */ mr r5, r4 +/* 8032A884 003277E4 90 01 00 24 */ stw r0, 0x24(r1) +/* 8032A888 003277E8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8032A88C 003277EC 7C 7F 1B 78 */ mr r31, r3 +/* 8032A890 003277F0 38 61 00 08 */ addi r3, r1, 8 +/* 8032A894 003277F4 38 9F 01 1C */ addi r4, r31, 0x11c +/* 8032A898 003277F8 4B FE 82 51 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8032A89C 003277FC 80 1F 01 58 */ lwz r0, 0x158(r31) +/* 8032A8A0 00327800 80 9F 01 68 */ lwz r4, 0x168(r31) +/* 8032A8A4 00327804 54 03 38 30 */ slwi r3, r0, 7 +/* 8032A8A8 00327808 C0 01 00 08 */ lfs f0, 8(r1) +/* 8032A8AC 0032780C 38 63 00 0C */ addi r3, r3, 0xc +/* 8032A8B0 00327810 7C 64 1A 14 */ add r3, r4, r3 +/* 8032A8B4 00327814 D0 03 00 00 */ stfs f0, 0(r3) +/* 8032A8B8 00327818 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 8032A8BC 0032781C D0 03 00 04 */ stfs f0, 4(r3) +/* 8032A8C0 00327820 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 8032A8C4 00327824 D0 03 00 08 */ stfs f0, 8(r3) +/* 8032A8C8 00327828 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8032A8CC 0032782C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8032A8D0 00327830 7C 08 03 A6 */ mtlr r0 +/* 8032A8D4 00327834 38 21 00 20 */ addi r1, r1, 0x20 +/* 8032A8D8 00327838 4E 80 00 20 */ blr + +.global Get4CharId__15CParticleSwooshCF +Get4CharId__15CParticleSwooshCF: +/* 8032A8DC 0032783C 3C 60 53 57 */ lis r3, 0x53574843@ha +/* 8032A8E0 00327840 38 63 48 43 */ addi r3, r3, 0x53574843@l +/* 8032A8E4 00327844 4E 80 00 20 */ blr + +.global GetLight__15CParticleSwooshCFv +GetLight__15CParticleSwooshCFv: +/* 8032A8E8 00327848 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8032A8EC 0032784C 7C 08 02 A6 */ mflr r0 +/* 8032A8F0 00327850 90 01 00 14 */ stw r0, 0x14(r1) +/* 8032A8F4 00327854 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8032A8F8 00327858 7C 7F 1B 78 */ mr r31, r3 +/* 8032A8FC 0032785C 48 01 F6 B1 */ bl White__6CColorFv +/* 8032A900 00327860 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8032A904 00327864 7C 65 1B 78 */ mr r5, r3 +/* 8032A908 00327868 38 84 66 A0 */ addi r4, r4, skZero3f@l +/* 8032A90C 0032786C 7F E3 FB 78 */ mr r3, r31 +/* 8032A910 00327870 4B FD BB 95 */ bl BuildLocalAmbient__6CLightFRC9CVector3fRC6CColor +/* 8032A914 00327874 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8032A918 00327878 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8032A91C 0032787C 7C 08 03 A6 */ mtlr r0 +/* 8032A920 00327880 38 21 00 10 */ addi r1, r1, 0x10 +/* 8032A924 00327884 4E 80 00 20 */ blr + +.global UpdateMaxRadius__15CParticleSwooshFf +UpdateMaxRadius__15CParticleSwooshFf: +/* 8032A928 00327888 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8032A92C 0032788C FC 00 08 18 */ frsp f0, f1 +/* 8032A930 00327890 D0 21 00 08 */ stfs f1, 8(r1) +/* 8032A934 00327894 C0 23 02 08 */ lfs f1, 0x208(r3) +/* 8032A938 00327898 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8032A93C 0032789C 40 80 00 0C */ bge lbl_8032A948 +/* 8032A940 003278A0 38 81 00 08 */ addi r4, r1, 8 +/* 8032A944 003278A4 48 00 00 08 */ b lbl_8032A94C +lbl_8032A948: +/* 8032A948 003278A8 38 83 02 08 */ addi r4, r3, 0x208 +lbl_8032A94C: +/* 8032A94C 003278AC C0 04 00 00 */ lfs f0, 0(r4) +/* 8032A950 003278B0 D0 03 02 08 */ stfs f0, 0x208(r3) +/* 8032A954 003278B4 38 21 00 10 */ addi r1, r1, 0x10 +/* 8032A958 003278B8 4E 80 00 20 */ blr + +.global UpdateBounds__15CParticleSwooshFRC9CVector3f +UpdateBounds__15CParticleSwooshFRC9CVector3f: +/* 8032A95C 003278BC 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8032A960 003278C0 C0 03 02 04 */ lfs f0, 0x204(r3) +/* 8032A964 003278C4 C0 24 00 08 */ lfs f1, 8(r4) +/* 8032A968 003278C8 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 8032A96C 003278CC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8032A970 003278D0 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 8032A974 003278D4 40 80 00 0C */ bge lbl_8032A980 +/* 8032A978 003278D8 38 A1 00 20 */ addi r5, r1, 0x20 +/* 8032A97C 003278DC 48 00 00 08 */ b lbl_8032A984 +lbl_8032A980: +/* 8032A980 003278E0 38 A1 00 24 */ addi r5, r1, 0x24 +lbl_8032A984: +/* 8032A984 003278E4 C0 03 02 00 */ lfs f0, 0x200(r3) +/* 8032A988 003278E8 C0 24 00 04 */ lfs f1, 4(r4) +/* 8032A98C 003278EC C0 45 00 00 */ lfs f2, 0(r5) +/* 8032A990 003278F0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8032A994 003278F4 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 8032A998 003278F8 D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 8032A99C 003278FC 40 80 00 0C */ bge lbl_8032A9A8 +/* 8032A9A0 00327900 38 A1 00 28 */ addi r5, r1, 0x28 +/* 8032A9A4 00327904 48 00 00 08 */ b lbl_8032A9AC +lbl_8032A9A8: +/* 8032A9A8 00327908 38 A1 00 2C */ addi r5, r1, 0x2c +lbl_8032A9AC: +/* 8032A9AC 0032790C C0 03 01 FC */ lfs f0, 0x1fc(r3) +/* 8032A9B0 00327910 C0 64 00 00 */ lfs f3, 0(r4) +/* 8032A9B4 00327914 C0 25 00 00 */ lfs f1, 0(r5) +/* 8032A9B8 00327918 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 8032A9BC 0032791C D0 01 00 30 */ stfs f0, 0x30(r1) +/* 8032A9C0 00327920 D0 61 00 34 */ stfs f3, 0x34(r1) +/* 8032A9C4 00327924 40 80 00 0C */ bge lbl_8032A9D0 +/* 8032A9C8 00327928 38 A1 00 30 */ addi r5, r1, 0x30 +/* 8032A9CC 0032792C 48 00 00 08 */ b lbl_8032A9D4 +lbl_8032A9D0: +/* 8032A9D0 00327930 38 A1 00 34 */ addi r5, r1, 0x34 +lbl_8032A9D4: +/* 8032A9D4 00327934 C0 05 00 00 */ lfs f0, 0(r5) +/* 8032A9D8 00327938 D0 03 01 FC */ stfs f0, 0x1fc(r3) +/* 8032A9DC 0032793C D0 23 02 00 */ stfs f1, 0x200(r3) +/* 8032A9E0 00327940 D0 43 02 04 */ stfs f2, 0x204(r3) +/* 8032A9E4 00327944 C0 03 01 F8 */ lfs f0, 0x1f8(r3) +/* 8032A9E8 00327948 C0 24 00 08 */ lfs f1, 8(r4) +/* 8032A9EC 0032794C D0 01 00 08 */ stfs f0, 8(r1) +/* 8032A9F0 00327950 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 8032A9F4 00327954 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 8032A9F8 00327958 40 80 00 0C */ bge lbl_8032AA04 +/* 8032A9FC 0032795C 38 A1 00 08 */ addi r5, r1, 8 +/* 8032AA00 00327960 48 00 00 08 */ b lbl_8032AA08 +lbl_8032AA04: +/* 8032AA04 00327964 38 A1 00 0C */ addi r5, r1, 0xc +lbl_8032AA08: +/* 8032AA08 00327968 C0 03 01 F4 */ lfs f0, 0x1f4(r3) +/* 8032AA0C 0032796C C0 24 00 04 */ lfs f1, 4(r4) +/* 8032AA10 00327970 C0 45 00 00 */ lfs f2, 0(r5) +/* 8032AA14 00327974 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 8032AA18 00327978 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 8032AA1C 0032797C D0 21 00 14 */ stfs f1, 0x14(r1) +/* 8032AA20 00327980 40 80 00 0C */ bge lbl_8032AA2C +/* 8032AA24 00327984 38 A1 00 10 */ addi r5, r1, 0x10 +/* 8032AA28 00327988 48 00 00 08 */ b lbl_8032AA30 +lbl_8032AA2C: +/* 8032AA2C 0032798C 38 A1 00 14 */ addi r5, r1, 0x14 +lbl_8032AA30: +/* 8032AA30 00327990 C0 03 01 F0 */ lfs f0, 0x1f0(r3) +/* 8032AA34 00327994 C0 64 00 00 */ lfs f3, 0(r4) +/* 8032AA38 00327998 C0 25 00 00 */ lfs f1, 0(r5) +/* 8032AA3C 0032799C FC 00 18 40 */ fcmpo cr0, f0, f3 +/* 8032AA40 003279A0 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 8032AA44 003279A4 D0 61 00 1C */ stfs f3, 0x1c(r1) +/* 8032AA48 003279A8 40 80 00 0C */ bge lbl_8032AA54 +/* 8032AA4C 003279AC 38 81 00 18 */ addi r4, r1, 0x18 +/* 8032AA50 003279B0 48 00 00 08 */ b lbl_8032AA58 +lbl_8032AA54: +/* 8032AA54 003279B4 38 81 00 1C */ addi r4, r1, 0x1c +lbl_8032AA58: +/* 8032AA58 003279B8 C0 04 00 00 */ lfs f0, 0(r4) +/* 8032AA5C 003279BC D0 03 01 F0 */ stfs f0, 0x1f0(r3) +/* 8032AA60 003279C0 D0 23 01 F4 */ stfs f1, 0x1f4(r3) +/* 8032AA64 003279C4 D0 43 01 F8 */ stfs f2, 0x1f8(r3) +/* 8032AA68 003279C8 38 21 00 40 */ addi r1, r1, 0x40 +/* 8032AA6C 003279CC 4E 80 00 20 */ blr + +.global GetBounds__15CParticleSwooshCFv +GetBounds__15CParticleSwooshCFv: +/* 8032AA70 003279D0 94 21 FE E0 */ stwu r1, -0x120(r1) +/* 8032AA74 003279D4 7C 08 02 A6 */ mflr r0 +/* 8032AA78 003279D8 90 01 01 24 */ stw r0, 0x124(r1) +/* 8032AA7C 003279DC 93 E1 01 1C */ stw r31, 0x11c(r1) +/* 8032AA80 003279E0 7C 9F 23 78 */ mr r31, r4 +/* 8032AA84 003279E4 93 C1 01 18 */ stw r30, 0x118(r1) +/* 8032AA88 003279E8 7C 7E 1B 78 */ mr r30, r3 +/* 8032AA8C 003279EC 7F E3 FB 78 */ mr r3, r31 +/* 8032AA90 003279F0 81 9F 00 00 */ lwz r12, 0(r31) +/* 8032AA94 003279F4 81 8C 00 60 */ lwz r12, 0x60(r12) +/* 8032AA98 003279F8 7D 89 03 A6 */ mtctr r12 +/* 8032AA9C 003279FC 4E 80 04 21 */ bctrl +/* 8032AAA0 00327A00 2C 03 00 01 */ cmpwi r3, 1 +/* 8032AAA4 00327A04 41 81 00 94 */ bgt lbl_8032AB38 +/* 8032AAA8 00327A08 C0 3F 00 3C */ lfs f1, 0x3c(r31) +/* 8032AAAC 00327A0C 38 61 00 68 */ addi r3, r1, 0x68 +/* 8032AAB0 00327A10 C0 1F 00 A8 */ lfs f0, 0xa8(r31) +/* 8032AAB4 00327A14 38 81 00 2C */ addi r4, r1, 0x2c +/* 8032AAB8 00327A18 C0 5F 00 40 */ lfs f2, 0x40(r31) +/* 8032AABC 00327A1C 38 A1 00 20 */ addi r5, r1, 0x20 +/* 8032AAC0 00327A20 EC 61 00 2A */ fadds f3, f1, f0 +/* 8032AAC4 00327A24 C0 1F 00 AC */ lfs f0, 0xac(r31) +/* 8032AAC8 00327A28 C0 3F 00 38 */ lfs f1, 0x38(r31) +/* 8032AACC 00327A2C EC 42 00 2A */ fadds f2, f2, f0 +/* 8032AAD0 00327A30 C0 1F 00 A4 */ lfs f0, 0xa4(r31) +/* 8032AAD4 00327A34 D0 61 00 24 */ stfs f3, 0x24(r1) +/* 8032AAD8 00327A38 EC 01 00 2A */ fadds f0, f1, f0 +/* 8032AADC 00327A3C D0 41 00 28 */ stfs f2, 0x28(r1) +/* 8032AAE0 00327A40 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 8032AAE4 00327A44 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 8032AAE8 00327A48 D0 61 00 30 */ stfs f3, 0x30(r1) +/* 8032AAEC 00327A4C D0 41 00 34 */ stfs f2, 0x34(r1) +/* 8032AAF0 00327A50 48 00 DA 19 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 8032AAF4 00327A54 38 00 00 01 */ li r0, 1 +/* 8032AAF8 00327A58 28 1E 00 00 */ cmplwi r30, 0 +/* 8032AAFC 00327A5C 98 1E 00 18 */ stb r0, 0x18(r30) +/* 8032AB00 00327A60 41 82 01 10 */ beq lbl_8032AC10 +/* 8032AB04 00327A64 C0 01 00 68 */ lfs f0, 0x68(r1) +/* 8032AB08 00327A68 D0 1E 00 00 */ stfs f0, 0(r30) +/* 8032AB0C 00327A6C C0 01 00 6C */ lfs f0, 0x6c(r1) +/* 8032AB10 00327A70 D0 1E 00 04 */ stfs f0, 4(r30) +/* 8032AB14 00327A74 C0 01 00 70 */ lfs f0, 0x70(r1) +/* 8032AB18 00327A78 D0 1E 00 08 */ stfs f0, 8(r30) +/* 8032AB1C 00327A7C C0 01 00 74 */ lfs f0, 0x74(r1) +/* 8032AB20 00327A80 D0 1E 00 0C */ stfs f0, 0xc(r30) +/* 8032AB24 00327A84 C0 01 00 78 */ lfs f0, 0x78(r1) +/* 8032AB28 00327A88 D0 1E 00 10 */ stfs f0, 0x10(r30) +/* 8032AB2C 00327A8C C0 01 00 7C */ lfs f0, 0x7c(r1) +/* 8032AB30 00327A90 D0 1E 00 14 */ stfs f0, 0x14(r30) +/* 8032AB34 00327A94 48 00 00 DC */ b lbl_8032AC10 +lbl_8032AB38: +/* 8032AB38 00327A98 C0 DF 02 08 */ lfs f6, 0x208(r31) +/* 8032AB3C 00327A9C 38 61 00 80 */ addi r3, r1, 0x80 +/* 8032AB40 00327AA0 C0 5F 02 00 */ lfs f2, 0x200(r31) +/* 8032AB44 00327AA4 38 9F 00 A4 */ addi r4, r31, 0xa4 +/* 8032AB48 00327AA8 C0 3F 02 04 */ lfs f1, 0x204(r31) +/* 8032AB4C 00327AAC C0 1F 01 FC */ lfs f0, 0x1fc(r31) +/* 8032AB50 00327AB0 EC A2 30 2A */ fadds f5, f2, f6 +/* 8032AB54 00327AB4 C0 5F 01 F4 */ lfs f2, 0x1f4(r31) +/* 8032AB58 00327AB8 EC 81 30 2A */ fadds f4, f1, f6 +/* 8032AB5C 00327ABC C0 3F 01 F8 */ lfs f1, 0x1f8(r31) +/* 8032AB60 00327AC0 EC 60 30 2A */ fadds f3, f0, f6 +/* 8032AB64 00327AC4 C0 1F 01 F0 */ lfs f0, 0x1f0(r31) +/* 8032AB68 00327AC8 EC 42 30 28 */ fsubs f2, f2, f6 +/* 8032AB6C 00327ACC D0 A1 00 0C */ stfs f5, 0xc(r1) +/* 8032AB70 00327AD0 EC 21 30 28 */ fsubs f1, f1, f6 +/* 8032AB74 00327AD4 EC 00 30 28 */ fsubs f0, f0, f6 +/* 8032AB78 00327AD8 D0 61 00 08 */ stfs f3, 8(r1) +/* 8032AB7C 00327ADC D0 81 00 10 */ stfs f4, 0x10(r1) +/* 8032AB80 00327AE0 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 8032AB84 00327AE4 D0 41 00 18 */ stfs f2, 0x18(r1) +/* 8032AB88 00327AE8 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 8032AB8C 00327AEC 4B FE 85 B5 */ bl Translate__12CTransform4fFRC9CVector3f +/* 8032AB90 00327AF0 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 8032AB94 00327AF4 38 81 00 80 */ addi r4, r1, 0x80 +/* 8032AB98 00327AF8 38 BF 00 B0 */ addi r5, r31, 0xb0 +/* 8032AB9C 00327AFC 4B FE 7D B5 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8032ABA0 00327B00 38 61 00 E0 */ addi r3, r1, 0xe0 +/* 8032ABA4 00327B04 38 81 00 B0 */ addi r4, r1, 0xb0 +/* 8032ABA8 00327B08 38 BF 00 EC */ addi r5, r31, 0xec +/* 8032ABAC 00327B0C 4B FE 7D A5 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8032ABB0 00327B10 38 61 00 38 */ addi r3, r1, 0x38 +/* 8032ABB4 00327B14 38 81 00 14 */ addi r4, r1, 0x14 +/* 8032ABB8 00327B18 38 A1 00 08 */ addi r5, r1, 8 +/* 8032ABBC 00327B1C 48 00 D9 4D */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 8032ABC0 00327B20 7C 64 1B 78 */ mr r4, r3 +/* 8032ABC4 00327B24 38 61 00 50 */ addi r3, r1, 0x50 +/* 8032ABC8 00327B28 38 A1 00 E0 */ addi r5, r1, 0xe0 +/* 8032ABCC 00327B2C 48 00 CD 31 */ bl GetTransformedAABox__6CAABoxCFRC12CTransform4f +/* 8032ABD0 00327B30 38 00 00 01 */ li r0, 1 +/* 8032ABD4 00327B34 28 1E 00 00 */ cmplwi r30, 0 +/* 8032ABD8 00327B38 98 1E 00 18 */ stb r0, 0x18(r30) +/* 8032ABDC 00327B3C 41 82 00 34 */ beq lbl_8032AC10 +/* 8032ABE0 00327B40 C0 01 00 50 */ lfs f0, 0x50(r1) +/* 8032ABE4 00327B44 D0 1E 00 00 */ stfs f0, 0(r30) +/* 8032ABE8 00327B48 C0 01 00 54 */ lfs f0, 0x54(r1) +/* 8032ABEC 00327B4C D0 1E 00 04 */ stfs f0, 4(r30) +/* 8032ABF0 00327B50 C0 01 00 58 */ lfs f0, 0x58(r1) +/* 8032ABF4 00327B54 D0 1E 00 08 */ stfs f0, 8(r30) +/* 8032ABF8 00327B58 C0 01 00 5C */ lfs f0, 0x5c(r1) +/* 8032ABFC 00327B5C D0 1E 00 0C */ stfs f0, 0xc(r30) +/* 8032AC00 00327B60 C0 01 00 60 */ lfs f0, 0x60(r1) +/* 8032AC04 00327B64 D0 1E 00 10 */ stfs f0, 0x10(r30) +/* 8032AC08 00327B68 C0 01 00 64 */ lfs f0, 0x64(r1) +/* 8032AC0C 00327B6C D0 1E 00 14 */ stfs f0, 0x14(r30) +lbl_8032AC10: +/* 8032AC10 00327B70 80 01 01 24 */ lwz r0, 0x124(r1) +/* 8032AC14 00327B74 83 E1 01 1C */ lwz r31, 0x11c(r1) +/* 8032AC18 00327B78 83 C1 01 18 */ lwz r30, 0x118(r1) +/* 8032AC1C 00327B7C 7C 08 03 A6 */ mtlr r0 +/* 8032AC20 00327B80 38 21 01 20 */ addi r1, r1, 0x120 +/* 8032AC24 00327B84 4E 80 00 20 */ blr + +.global GetSplinePoint__15CParticleSwooshCFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ff +GetSplinePoint__15CParticleSwooshCFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ff: +/* 8032AC28 00327B88 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 8032AC2C 00327B8C DB E1 00 60 */ stfd f31, 0x60(r1) +/* 8032AC30 00327B90 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 +/* 8032AC34 00327B94 DB C1 00 50 */ stfd f30, 0x50(r1) +/* 8032AC38 00327B98 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 +/* 8032AC3C 00327B9C DB A1 00 40 */ stfd f29, 0x40(r1) +/* 8032AC40 00327BA0 F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0 +/* 8032AC44 00327BA4 DB 81 00 30 */ stfd f28, 0x30(r1) +/* 8032AC48 00327BA8 F3 81 00 38 */ psq_st f28, 56(r1), 0, qr0 +/* 8032AC4C 00327BAC DB 61 00 20 */ stfd f27, 0x20(r1) +/* 8032AC50 00327BB0 F3 61 00 28 */ psq_st f27, 40(r1), 0, qr0 +/* 8032AC54 00327BB4 DB 41 00 10 */ stfd f26, 0x10(r1) +/* 8032AC58 00327BB8 F3 41 00 18 */ psq_st f26, 24(r1), 0, qr0 +/* 8032AC5C 00327BBC C0 42 CA 94 */ lfs f2, lbl_805AE7B4@sda21(r2) +/* 8032AC60 00327BC0 C3 A6 00 00 */ lfs f29, 0(r6) +/* 8032AC64 00327BC4 FC 01 10 40 */ fcmpo cr0, f1, f2 +/* 8032AC68 00327BC8 C0 06 00 04 */ lfs f0, 4(r6) +/* 8032AC6C 00327BCC C0 46 00 08 */ lfs f2, 8(r6) +/* 8032AC70 00327BD0 4C 40 13 82 */ cror 2, 0, 2 +/* 8032AC74 00327BD4 41 82 00 E4 */ beq lbl_8032AD58 +/* 8032AC78 00327BD8 C1 A2 CA 90 */ lfs f13, lbl_805AE7B0@sda21(r2) +/* 8032AC7C 00327BDC FC 01 68 40 */ fcmpo cr0, f1, f13 +/* 8032AC80 00327BE0 4C 41 13 82 */ cror 2, 1, 2 +/* 8032AC84 00327BE4 40 82 00 14 */ bne lbl_8032AC98 +/* 8032AC88 00327BE8 C3 A7 00 00 */ lfs f29, 0(r7) +/* 8032AC8C 00327BEC C0 07 00 04 */ lfs f0, 4(r7) +/* 8032AC90 00327BF0 C0 47 00 08 */ lfs f2, 8(r7) +/* 8032AC94 00327BF4 48 00 00 C4 */ b lbl_8032AD58 +lbl_8032AC98: +/* 8032AC98 00327BF8 EF E1 00 72 */ fmuls f31, f1, f1 +/* 8032AC9C 00327BFC C1 82 CA 98 */ lfs f12, lbl_805AE7B8@sda21(r2) +/* 8032ACA0 00327C00 C0 82 CA 9C */ lfs f4, lbl_805AE7BC@sda21(r2) +/* 8032ACA4 00327C04 C0 62 CA A4 */ lfs f3, lbl_805AE7C4@sda21(r2) +/* 8032ACA8 00327C08 EF CC 00 72 */ fmuls f30, f12, f1 +/* 8032ACAC 00327C0C EC 3F 00 72 */ fmuls f1, f31, f1 +/* 8032ACB0 00327C10 C1 62 CA A0 */ lfs f11, lbl_805AE7C0@sda21(r2) +/* 8032ACB4 00327C14 C1 05 00 00 */ lfs f8, 0(r5) +/* 8032ACB8 00327C18 EF 4C 00 72 */ fmuls f26, f12, f1 +/* 8032ACBC 00327C1C C0 E5 00 04 */ lfs f7, 4(r5) +/* 8032ACC0 00327C20 EC A4 00 72 */ fmuls f5, f4, f1 +/* 8032ACC4 00327C24 C0 85 00 08 */ lfs f4, 8(r5) +/* 8032ACC8 00327C28 C1 27 00 00 */ lfs f9, 0(r7) +/* 8032ACCC 00327C2C FC 20 D0 50 */ fneg f1, f26 +/* 8032ACD0 00327C30 FD 40 28 50 */ fneg f10, f5 +/* 8032ACD4 00327C34 C0 C7 00 04 */ lfs f6, 4(r7) +/* 8032ACD8 00327C38 EC A3 2F FA */ fmadds f5, f3, f31, f5 +/* 8032ACDC 00327C3C C0 67 00 08 */ lfs f3, 8(r7) +/* 8032ACE0 00327C40 EC 21 F8 2A */ fadds f1, f1, f31 +/* 8032ACE4 00327C44 ED 4B 57 FA */ fmadds f10, f11, f31, f10 +/* 8032ACE8 00327C48 EF 8D 28 2A */ fadds f28, f13, f5 +/* 8032ACEC 00327C4C C1 68 00 00 */ lfs f11, 0(r8) +/* 8032ACF0 00327C50 EF 61 F0 28 */ fsubs f27, f1, f30 +/* 8032ACF4 00327C54 C0 A8 00 04 */ lfs f5, 4(r8) +/* 8032ACF8 00327C58 EF DE 50 2A */ fadds f30, f30, f10 +/* 8032ACFC 00327C5C EF EC D7 FC */ fnmsubs f31, f12, f31, f26 +/* 8032AD00 00327C60 ED 5C 07 72 */ fmuls f10, f28, f29 +/* 8032AD04 00327C64 C0 28 00 08 */ lfs f1, 8(r8) +/* 8032AD08 00327C68 ED BB 02 32 */ fmuls f13, f27, f8 +/* 8032AD0C 00327C6C ED 1B 01 F2 */ fmuls f8, f27, f7 +/* 8032AD10 00327C70 EC FC 00 32 */ fmuls f7, f28, f0 +/* 8032AD14 00327C74 EC 9B 01 32 */ fmuls f4, f27, f4 +/* 8032AD18 00327C78 EC 1C 00 B2 */ fmuls f0, f28, f2 +/* 8032AD1C 00327C7C ED 9E 02 72 */ fmuls f12, f30, f9 +/* 8032AD20 00327C80 ED 2D 50 2A */ fadds f9, f13, f10 +/* 8032AD24 00327C84 EC E8 38 2A */ fadds f7, f8, f7 +/* 8032AD28 00327C88 EC DE 01 B2 */ fmuls f6, f30, f6 +/* 8032AD2C 00327C8C EC 44 00 2A */ fadds f2, f4, f0 +/* 8032AD30 00327C90 EC 1E 00 F2 */ fmuls f0, f30, f3 +/* 8032AD34 00327C94 ED 5F 02 F2 */ fmuls f10, f31, f11 +/* 8032AD38 00327C98 ED 09 60 2A */ fadds f8, f9, f12 +/* 8032AD3C 00327C9C EC 87 30 2A */ fadds f4, f7, f6 +/* 8032AD40 00327CA0 EC 7F 01 72 */ fmuls f3, f31, f5 +/* 8032AD44 00327CA4 EC 42 00 2A */ fadds f2, f2, f0 +/* 8032AD48 00327CA8 EC 3F 00 72 */ fmuls f1, f31, f1 +/* 8032AD4C 00327CAC EF A8 50 2A */ fadds f29, f8, f10 +/* 8032AD50 00327CB0 EC 04 18 2A */ fadds f0, f4, f3 +/* 8032AD54 00327CB4 EC 42 08 2A */ fadds f2, f2, f1 +lbl_8032AD58: +/* 8032AD58 00327CB8 D3 A3 00 00 */ stfs f29, 0(r3) +/* 8032AD5C 00327CBC D0 03 00 04 */ stfs f0, 4(r3) +/* 8032AD60 00327CC0 D0 43 00 08 */ stfs f2, 8(r3) +/* 8032AD64 00327CC4 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 +/* 8032AD68 00327CC8 CB E1 00 60 */ lfd f31, 0x60(r1) +/* 8032AD6C 00327CCC E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 +/* 8032AD70 00327CD0 CB C1 00 50 */ lfd f30, 0x50(r1) +/* 8032AD74 00327CD4 E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0 +/* 8032AD78 00327CD8 CB A1 00 40 */ lfd f29, 0x40(r1) +/* 8032AD7C 00327CDC E3 81 00 38 */ psq_l f28, 56(r1), 0, qr0 +/* 8032AD80 00327CE0 CB 81 00 30 */ lfd f28, 0x30(r1) +/* 8032AD84 00327CE4 E3 61 00 28 */ psq_l f27, 40(r1), 0, qr0 +/* 8032AD88 00327CE8 CB 61 00 20 */ lfd f27, 0x20(r1) +/* 8032AD8C 00327CEC E3 41 00 18 */ psq_l f26, 24(r1), 0, qr0 +/* 8032AD90 00327CF0 CB 41 00 10 */ lfd f26, 0x10(r1) +/* 8032AD94 00327CF4 38 21 00 70 */ addi r1, r1, 0x70 +/* 8032AD98 00327CF8 4E 80 00 20 */ blr + +.global GetRightRadius__15CParticleSwooshFi +GetRightRadius__15CParticleSwooshFi: +/* 8032AD9C 00327CFC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8032ADA0 00327D00 7C 08 02 A6 */ mflr r0 +/* 8032ADA4 00327D04 C0 02 CA 94 */ lfs f0, lbl_805AE7B4@sda21(r2) +/* 8032ADA8 00327D08 7C 65 1B 78 */ mr r5, r3 +/* 8032ADAC 00327D0C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8032ADB0 00327D10 D0 01 00 08 */ stfs f0, 8(r1) +/* 8032ADB4 00327D14 80 63 00 24 */ lwz r3, 0x24(r3) +/* 8032ADB8 00327D18 80 63 00 0C */ lwz r3, 0xc(r3) +/* 8032ADBC 00327D1C 28 03 00 00 */ cmplwi r3, 0 +/* 8032ADC0 00327D20 41 82 00 28 */ beq lbl_8032ADE8 +/* 8032ADC4 00327D24 81 83 00 00 */ lwz r12, 0(r3) +/* 8032ADC8 00327D28 54 84 38 30 */ slwi r4, r4, 7 +/* 8032ADCC 00327D2C 38 04 00 68 */ addi r0, r4, 0x68 +/* 8032ADD0 00327D30 80 85 01 68 */ lwz r4, 0x168(r5) +/* 8032ADD4 00327D34 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8032ADD8 00327D38 38 A1 00 08 */ addi r5, r1, 8 +/* 8032ADDC 00327D3C 7C 84 00 2E */ lwzx r4, r4, r0 +/* 8032ADE0 00327D40 7D 89 03 A6 */ mtctr r12 +/* 8032ADE4 00327D44 4E 80 04 21 */ bctrl +lbl_8032ADE8: +/* 8032ADE8 00327D48 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8032ADEC 00327D4C C0 21 00 08 */ lfs f1, 8(r1) +/* 8032ADF0 00327D50 7C 08 03 A6 */ mtlr r0 +/* 8032ADF4 00327D54 38 21 00 10 */ addi r1, r1, 0x10 +/* 8032ADF8 00327D58 4E 80 00 20 */ blr + +.global GetLeftRadius__15CParticleSwooshFi +GetLeftRadius__15CParticleSwooshFi: +/* 8032ADFC 00327D5C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8032AE00 00327D60 7C 08 02 A6 */ mflr r0 +/* 8032AE04 00327D64 C0 02 CA 94 */ lfs f0, lbl_805AE7B4@sda21(r2) +/* 8032AE08 00327D68 7C 65 1B 78 */ mr r5, r3 +/* 8032AE0C 00327D6C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8032AE10 00327D70 D0 01 00 08 */ stfs f0, 8(r1) +/* 8032AE14 00327D74 80 63 00 24 */ lwz r3, 0x24(r3) +/* 8032AE18 00327D78 80 63 00 08 */ lwz r3, 8(r3) +/* 8032AE1C 00327D7C 28 03 00 00 */ cmplwi r3, 0 +/* 8032AE20 00327D80 41 82 00 28 */ beq lbl_8032AE48 +/* 8032AE24 00327D84 81 83 00 00 */ lwz r12, 0(r3) +/* 8032AE28 00327D88 54 84 38 30 */ slwi r4, r4, 7 +/* 8032AE2C 00327D8C 38 04 00 68 */ addi r0, r4, 0x68 +/* 8032AE30 00327D90 80 85 01 68 */ lwz r4, 0x168(r5) +/* 8032AE34 00327D94 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8032AE38 00327D98 38 A1 00 08 */ addi r5, r1, 8 +/* 8032AE3C 00327D9C 7C 84 00 2E */ lwzx r4, r4, r0 +/* 8032AE40 00327DA0 7D 89 03 A6 */ mtctr r12 +/* 8032AE44 00327DA4 4E 80 04 21 */ bctrl +lbl_8032AE48: +/* 8032AE48 00327DA8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8032AE4C 00327DAC C0 21 00 08 */ lfs f1, 8(r1) +/* 8032AE50 00327DB0 7C 08 03 A6 */ mtlr r0 +/* 8032AE54 00327DB4 38 21 00 10 */ addi r1, r1, 0x10 +/* 8032AE58 00327DB8 4E 80 00 20 */ blr + +.global WrapIndex__15CParticleSwooshFi +WrapIndex__15CParticleSwooshFi: +/* 8032AE5C 00327DBC 48 00 00 0C */ b lbl_8032AE68 +lbl_8032AE60: +/* 8032AE60 00327DC0 80 03 01 B4 */ lwz r0, 0x1b4(r3) +/* 8032AE64 00327DC4 7C 84 02 14 */ add r4, r4, r0 +lbl_8032AE68: +/* 8032AE68 00327DC8 2C 04 00 00 */ cmpwi r4, 0 +/* 8032AE6C 00327DCC 41 80 FF F4 */ blt lbl_8032AE60 +/* 8032AE70 00327DD0 80 03 01 B4 */ lwz r0, 0x1b4(r3) +/* 8032AE74 00327DD4 48 00 00 08 */ b lbl_8032AE7C +lbl_8032AE78: +/* 8032AE78 00327DD8 7C 80 20 50 */ subf r4, r0, r4 +lbl_8032AE7C: +/* 8032AE7C 00327DDC 7C 04 00 00 */ cmpw r4, r0 +/* 8032AE80 00327DE0 40 80 FF F8 */ bge lbl_8032AE78 +/* 8032AE84 00327DE4 7C 83 23 78 */ mr r3, r4 +/* 8032AE88 00327DE8 4E 80 00 20 */ blr + +.global SetParticleEmission__15CParticleSwooshFb +SetParticleEmission__15CParticleSwooshFb: +/* 8032AE8C 00327DEC 88 03 01 D0 */ lbz r0, 0x1d0(r3) +/* 8032AE90 00327DF0 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 8032AE94 00327DF4 98 03 01 D0 */ stb r0, 0x1d0(r3) +/* 8032AE98 00327DF8 4E 80 00 20 */ blr + +.global RenderNSidedSpline__15CParticleSwooshFv +RenderNSidedSpline__15CParticleSwooshFv: +/* 8032AE9C 00327DFC 94 21 FD 50 */ stwu r1, -0x2b0(r1) +/* 8032AEA0 00327E00 7C 08 02 A6 */ mflr r0 +/* 8032AEA4 00327E04 90 01 02 B4 */ stw r0, 0x2b4(r1) +/* 8032AEA8 00327E08 DB E1 02 A0 */ stfd f31, 0x2a0(r1) +/* 8032AEAC 00327E0C F3 E1 02 A8 */ psq_st f31, 680(r1), 0, qr0 +/* 8032AEB0 00327E10 DB C1 02 90 */ stfd f30, 0x290(r1) +/* 8032AEB4 00327E14 F3 C1 02 98 */ psq_st f30, 664(r1), 0, qr0 +/* 8032AEB8 00327E18 DB A1 02 80 */ stfd f29, 0x280(r1) +/* 8032AEBC 00327E1C F3 A1 02 88 */ psq_st f29, 648(r1), 0, qr0 +/* 8032AEC0 00327E20 DB 81 02 70 */ stfd f28, 0x270(r1) +/* 8032AEC4 00327E24 F3 81 02 78 */ psq_st f28, 632(r1), 0, qr0 +/* 8032AEC8 00327E28 DB 61 02 60 */ stfd f27, 0x260(r1) +/* 8032AECC 00327E2C F3 61 02 68 */ psq_st f27, 616(r1), 0, qr0 +/* 8032AED0 00327E30 DB 41 02 50 */ stfd f26, 0x250(r1) +/* 8032AED4 00327E34 F3 41 02 58 */ psq_st f26, 600(r1), 0, qr0 +/* 8032AED8 00327E38 DB 21 02 40 */ stfd f25, 0x240(r1) +/* 8032AEDC 00327E3C F3 21 02 48 */ psq_st f25, 584(r1), 0, qr0 +/* 8032AEE0 00327E40 DB 01 02 30 */ stfd f24, 0x230(r1) +/* 8032AEE4 00327E44 F3 01 02 38 */ psq_st f24, 568(r1), 0, qr0 +/* 8032AEE8 00327E48 DA E1 02 20 */ stfd f23, 0x220(r1) +/* 8032AEEC 00327E4C F2 E1 02 28 */ psq_st f23, 552(r1), 0, qr0 +/* 8032AEF0 00327E50 DA C1 02 10 */ stfd f22, 0x210(r1) +/* 8032AEF4 00327E54 F2 C1 02 18 */ psq_st f22, 536(r1), 0, qr0 +/* 8032AEF8 00327E58 DA A1 02 00 */ stfd f21, 0x200(r1) +/* 8032AEFC 00327E5C F2 A1 02 08 */ psq_st f21, 520(r1), 0, qr0 +/* 8032AF00 00327E60 DA 81 01 F0 */ stfd f20, 0x1f0(r1) +/* 8032AF04 00327E64 F2 81 01 F8 */ psq_st f20, 504(r1), 0, qr0 +/* 8032AF08 00327E68 DA 61 01 E0 */ stfd f19, 0x1e0(r1) +/* 8032AF0C 00327E6C F2 61 01 E8 */ psq_st f19, 488(r1), 0, qr0 +/* 8032AF10 00327E70 DA 41 01 D0 */ stfd f18, 0x1d0(r1) +/* 8032AF14 00327E74 F2 41 01 D8 */ psq_st f18, 472(r1), 0, qr0 +/* 8032AF18 00327E78 DA 21 01 C0 */ stfd f17, 0x1c0(r1) +/* 8032AF1C 00327E7C F2 21 01 C8 */ psq_st f17, 456(r1), 0, qr0 +/* 8032AF20 00327E80 DA 01 01 B0 */ stfd f16, 0x1b0(r1) +/* 8032AF24 00327E84 F2 01 01 B8 */ psq_st f16, 440(r1), 0, qr0 +/* 8032AF28 00327E88 D9 E1 01 A0 */ stfd f15, 0x1a0(r1) +/* 8032AF2C 00327E8C F1 E1 01 A8 */ psq_st f15, 424(r1), 0, qr0 +/* 8032AF30 00327E90 BD C1 01 58 */ stmw r14, 0x158(r1) +/* 8032AF34 00327E94 7C 79 1B 78 */ mr r25, r3 +/* 8032AF38 00327E98 80 63 00 24 */ lwz r3, 0x24(r3) +/* 8032AF3C 00327E9C 88 03 00 44 */ lbz r0, 0x44(r3) +/* 8032AF40 00327EA0 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 8032AF44 00327EA4 41 82 00 10 */ beq lbl_8032AF54 +/* 8032AF48 00327EA8 38 00 00 A8 */ li r0, 0xa8 +/* 8032AF4C 00327EAC 90 19 01 BC */ stw r0, 0x1bc(r25) +/* 8032AF50 00327EB0 48 00 00 0C */ b lbl_8032AF5C +lbl_8032AF54: +/* 8032AF54 00327EB4 38 00 00 80 */ li r0, 0x80 +/* 8032AF58 00327EB8 90 19 01 BC */ stw r0, 0x1bc(r25) +lbl_8032AF5C: +/* 8032AF5C 00327EBC 80 79 01 BC */ lwz r3, 0x1bc(r25) +/* 8032AF60 00327EC0 4B FE 07 09 */ bl StreamBegin__9CGraphicsF13ERglPrimitive +/* 8032AF64 00327EC4 80 79 00 24 */ lwz r3, 0x24(r25) +/* 8032AF68 00327EC8 80 99 01 B8 */ lwz r4, 0x1b8(r25) +/* 8032AF6C 00327ECC 88 03 00 44 */ lbz r0, 0x44(r3) +/* 8032AF70 00327ED0 2C 04 00 04 */ cmpwi r4, 4 +/* 8032AF74 00327ED4 54 00 D7 FE */ rlwinm r0, r0, 0x1a, 0x1f, 0x1f +/* 8032AF78 00327ED8 98 01 01 50 */ stb r0, 0x150(r1) +/* 8032AF7C 00327EDC 41 80 00 18 */ blt lbl_8032AF94 +/* 8032AF80 00327EE0 54 83 0F FE */ srwi r3, r4, 0x1f +/* 8032AF84 00327EE4 54 80 07 FE */ clrlwi r0, r4, 0x1f +/* 8032AF88 00327EE8 7C 00 1A 78 */ xor r0, r0, r3 +/* 8032AF8C 00327EEC 7C 03 00 51 */ subf. r0, r3, r0 +/* 8032AF90 00327EF0 41 82 00 0C */ beq lbl_8032AF9C +lbl_8032AF94: +/* 8032AF94 00327EF4 38 00 00 00 */ li r0, 0 +/* 8032AF98 00327EF8 98 01 01 50 */ stb r0, 0x150(r1) +lbl_8032AF9C: +/* 8032AF9C 00327EFC 38 00 00 00 */ li r0, 0 +/* 8032AFA0 00327F00 83 99 01 58 */ lwz r28, 0x158(r25) +/* 8032AFA4 00327F04 90 01 01 54 */ stw r0, 0x154(r1) +/* 8032AFA8 00327F08 48 00 0A 44 */ b lbl_8032B9EC +lbl_8032AFAC: +/* 8032AFAC 00327F0C 7F 23 CB 78 */ mr r3, r25 +/* 8032AFB0 00327F10 38 9C FF FF */ addi r4, r28, -1 +/* 8032AFB4 00327F14 4B FF FE A9 */ bl WrapIndex__15CParticleSwooshFi +/* 8032AFB8 00327F18 80 B9 01 68 */ lwz r5, 0x168(r25) +/* 8032AFBC 00327F1C 54 60 38 30 */ slwi r0, r3, 7 +/* 8032AFC0 00327F20 7F 23 CB 78 */ mr r3, r25 +/* 8032AFC4 00327F24 7F 84 E3 78 */ mr r4, r28 +/* 8032AFC8 00327F28 7D C5 00 AE */ lbzx r14, r5, r0 +/* 8032AFCC 00327F2C 4B FF FE 91 */ bl WrapIndex__15CParticleSwooshFi +/* 8032AFD0 00327F30 80 99 01 68 */ lwz r4, 0x168(r25) +/* 8032AFD4 00327F34 54 60 38 30 */ slwi r0, r3, 7 +/* 8032AFD8 00327F38 7C 04 00 AE */ lbzx r0, r4, r0 +/* 8032AFDC 00327F3C 28 00 00 00 */ cmplwi r0, 0 +/* 8032AFE0 00327F40 41 82 00 14 */ beq lbl_8032AFF4 +/* 8032AFE4 00327F44 28 00 00 01 */ cmplwi r0, 1 +/* 8032AFE8 00327F48 40 82 00 20 */ bne lbl_8032B008 +/* 8032AFEC 00327F4C 28 0E 00 00 */ cmplwi r14, 0 +/* 8032AFF0 00327F50 40 82 00 18 */ bne lbl_8032B008 +lbl_8032AFF4: +/* 8032AFF4 00327F54 37 9C FF FF */ addic. r28, r28, -1 +/* 8032AFF8 00327F58 40 80 09 E8 */ bge lbl_8032B9E0 +/* 8032AFFC 00327F5C 80 79 01 60 */ lwz r3, 0x160(r25) +/* 8032B000 00327F60 3B 83 FF FF */ addi r28, r3, -1 +/* 8032B004 00327F64 48 00 09 DC */ b lbl_8032B9E0 +lbl_8032B008: +/* 8032B008 00327F68 80 19 01 B8 */ lwz r0, 0x1b8(r25) +/* 8032B00C 00327F6C 3D C0 43 30 */ lis r14, 0x4330 +/* 8032B010 00327F70 57 83 38 30 */ slwi r3, r28, 7 +/* 8032B014 00327F74 91 C1 01 30 */ stw r14, 0x130(r1) +/* 8032B018 00327F78 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8032B01C 00327F7C CA 42 CA F0 */ lfd f18, lbl_805AE810@sda21(r2) +/* 8032B020 00327F80 90 01 01 34 */ stw r0, 0x134(r1) +/* 8032B024 00327F84 7F 64 1A 14 */ add r27, r4, r3 +/* 8032B028 00327F88 C0 22 CA CC */ lfs f1, lbl_805AE7EC@sda21(r2) +/* 8032B02C 00327F8C 3A 00 00 00 */ li r16, 0 +/* 8032B030 00327F90 C8 01 01 30 */ lfd f0, 0x130(r1) +/* 8032B034 00327F94 C2 62 CA D0 */ lfs f19, lbl_805AE7F0@sda21(r2) +/* 8032B038 00327F98 EC 00 90 28 */ fsubs f0, f0, f18 +/* 8032B03C 00327F9C C2 82 CA D4 */ lfs f20, lbl_805AE7F4@sda21(r2) +/* 8032B040 00327FA0 CA A2 CA D8 */ lfd f21, lbl_805AE7F8@sda21(r2) +/* 8032B044 00327FA4 C2 C2 CA AC */ lfs f22, lbl_805AE7CC@sda21(r2) +/* 8032B048 00327FA8 EF E1 00 24 */ fdivs f31, f1, f0 +/* 8032B04C 00327FAC C2 E2 CA B0 */ lfs f23, lbl_805AE7D0@sda21(r2) +/* 8032B050 00327FB0 C3 02 CA B4 */ lfs f24, lbl_805AE7D4@sda21(r2) +/* 8032B054 00327FB4 C3 22 CA B8 */ lfs f25, lbl_805AE7D8@sda21(r2) +/* 8032B058 00327FB8 C3 42 CA BC */ lfs f26, lbl_805AE7DC@sda21(r2) +/* 8032B05C 00327FBC C3 62 CA C0 */ lfs f27, lbl_805AE7E0@sda21(r2) +/* 8032B060 00327FC0 C3 82 CA C4 */ lfs f28, lbl_805AE7E4@sda21(r2) +/* 8032B064 00327FC4 C3 A2 CA C8 */ lfs f29, lbl_805AE7E8@sda21(r2) +/* 8032B068 00327FC8 C3 C2 CA 94 */ lfs f30, lbl_805AE7B4@sda21(r2) +lbl_8032B06C: +/* 8032B06C 00327FCC 2C 10 00 00 */ cmpwi r16, 0 +/* 8032B070 00327FD0 39 E0 00 00 */ li r15, 0 +/* 8032B074 00327FD4 40 82 00 30 */ bne lbl_8032B0A4 +/* 8032B078 00327FD8 7F 23 CB 78 */ mr r3, r25 +/* 8032B07C 00327FDC 38 9C 00 01 */ addi r4, r28, 1 +/* 8032B080 00327FE0 4B FF FD DD */ bl WrapIndex__15CParticleSwooshFi +/* 8032B084 00327FE4 80 99 01 68 */ lwz r4, 0x168(r25) +/* 8032B088 00327FE8 54 60 38 30 */ slwi r0, r3, 7 +/* 8032B08C 00327FEC 7C 6F 1B 78 */ mr r15, r3 +/* 8032B090 00327FF0 7C 04 00 AE */ lbzx r0, r4, r0 +/* 8032B094 00327FF4 28 00 00 00 */ cmplwi r0, 0 +/* 8032B098 00327FF8 40 82 00 80 */ bne lbl_8032B118 +/* 8032B09C 00327FFC 7F 8F E3 78 */ mr r15, r28 +/* 8032B0A0 00328000 48 00 00 78 */ b lbl_8032B118 +lbl_8032B0A4: +/* 8032B0A4 00328004 2C 10 00 01 */ cmpwi r16, 1 +/* 8032B0A8 00328008 40 82 00 18 */ bne lbl_8032B0C0 +/* 8032B0AC 0032800C 7F 23 CB 78 */ mr r3, r25 +/* 8032B0B0 00328010 7F 84 E3 78 */ mr r4, r28 +/* 8032B0B4 00328014 4B FF FD A9 */ bl WrapIndex__15CParticleSwooshFi +/* 8032B0B8 00328018 7C 6F 1B 78 */ mr r15, r3 +/* 8032B0BC 0032801C 48 00 00 5C */ b lbl_8032B118 +lbl_8032B0C0: +/* 8032B0C0 00328020 2C 10 00 02 */ cmpwi r16, 2 +/* 8032B0C4 00328024 40 82 00 18 */ bne lbl_8032B0DC +/* 8032B0C8 00328028 7F 23 CB 78 */ mr r3, r25 +/* 8032B0CC 0032802C 38 9C FF FF */ addi r4, r28, -1 +/* 8032B0D0 00328030 4B FF FD 8D */ bl WrapIndex__15CParticleSwooshFi +/* 8032B0D4 00328034 7C 6F 1B 78 */ mr r15, r3 +/* 8032B0D8 00328038 48 00 00 40 */ b lbl_8032B118 +lbl_8032B0DC: +/* 8032B0DC 0032803C 2C 10 00 03 */ cmpwi r16, 3 +/* 8032B0E0 00328040 40 82 00 38 */ bne lbl_8032B118 +/* 8032B0E4 00328044 7F 23 CB 78 */ mr r3, r25 +/* 8032B0E8 00328048 38 9C FF FE */ addi r4, r28, -2 +/* 8032B0EC 0032804C 4B FF FD 71 */ bl WrapIndex__15CParticleSwooshFi +/* 8032B0F0 00328050 80 99 01 68 */ lwz r4, 0x168(r25) +/* 8032B0F4 00328054 54 60 38 30 */ slwi r0, r3, 7 +/* 8032B0F8 00328058 7C 6F 1B 78 */ mr r15, r3 +/* 8032B0FC 0032805C 7C 04 00 AE */ lbzx r0, r4, r0 +/* 8032B100 00328060 28 00 00 00 */ cmplwi r0, 0 +/* 8032B104 00328064 40 82 00 14 */ bne lbl_8032B118 +/* 8032B108 00328068 7F 23 CB 78 */ mr r3, r25 +/* 8032B10C 0032806C 38 9C FF FF */ addi r4, r28, -1 +/* 8032B110 00328070 4B FF FD 4D */ bl WrapIndex__15CParticleSwooshFi +/* 8032B114 00328074 7C 6F 1B 78 */ mr r15, r3 +lbl_8032B118: +/* 8032B118 00328078 80 19 01 B4 */ lwz r0, 0x1b4(r25) +/* 8032B11C 0032807C 2C 00 00 02 */ cmpwi r0, 2 +/* 8032B120 00328080 40 82 00 3C */ bne lbl_8032B15C +/* 8032B124 00328084 2C 10 00 00 */ cmpwi r16, 0 +/* 8032B128 00328088 40 82 00 18 */ bne lbl_8032B140 +/* 8032B12C 0032808C 7F 23 CB 78 */ mr r3, r25 +/* 8032B130 00328090 7F 84 E3 78 */ mr r4, r28 +/* 8032B134 00328094 4B FF FD 29 */ bl WrapIndex__15CParticleSwooshFi +/* 8032B138 00328098 7C 6F 1B 78 */ mr r15, r3 +/* 8032B13C 0032809C 48 00 00 90 */ b lbl_8032B1CC +lbl_8032B140: +/* 8032B140 003280A0 2C 10 00 03 */ cmpwi r16, 3 +/* 8032B144 003280A4 40 82 00 88 */ bne lbl_8032B1CC +/* 8032B148 003280A8 7F 23 CB 78 */ mr r3, r25 +/* 8032B14C 003280AC 38 9C FF FF */ addi r4, r28, -1 +/* 8032B150 003280B0 4B FF FD 0D */ bl WrapIndex__15CParticleSwooshFi +/* 8032B154 003280B4 7C 6F 1B 78 */ mr r15, r3 +/* 8032B158 003280B8 48 00 00 74 */ b lbl_8032B1CC +lbl_8032B15C: +/* 8032B15C 003280BC 80 99 01 58 */ lwz r4, 0x158(r25) +/* 8032B160 003280C0 7C 1C 20 00 */ cmpw r28, r4 +/* 8032B164 003280C4 40 82 00 14 */ bne lbl_8032B178 +/* 8032B168 003280C8 2C 10 00 00 */ cmpwi r16, 0 +/* 8032B16C 003280CC 40 82 00 0C */ bne lbl_8032B178 +/* 8032B170 003280D0 7C 8F 23 78 */ mr r15, r4 +/* 8032B174 003280D4 48 00 00 58 */ b lbl_8032B1CC +lbl_8032B178: +/* 8032B178 003280D8 7F 23 CB 78 */ mr r3, r25 +/* 8032B17C 003280DC 38 84 00 02 */ addi r4, r4, 2 +/* 8032B180 003280E0 4B FF FC DD */ bl WrapIndex__15CParticleSwooshFi +/* 8032B184 003280E4 7C 1C 18 00 */ cmpw r28, r3 +/* 8032B188 003280E8 40 82 00 24 */ bne lbl_8032B1AC +/* 8032B18C 003280EC 2C 10 00 03 */ cmpwi r16, 3 +/* 8032B190 003280F0 40 82 00 1C */ bne lbl_8032B1AC +/* 8032B194 003280F4 80 99 01 58 */ lwz r4, 0x158(r25) +/* 8032B198 003280F8 7F 23 CB 78 */ mr r3, r25 +/* 8032B19C 003280FC 38 84 00 01 */ addi r4, r4, 1 +/* 8032B1A0 00328100 4B FF FC BD */ bl WrapIndex__15CParticleSwooshFi +/* 8032B1A4 00328104 7C 6F 1B 78 */ mr r15, r3 +/* 8032B1A8 00328108 48 00 00 24 */ b lbl_8032B1CC +lbl_8032B1AC: +/* 8032B1AC 0032810C 80 79 01 AC */ lwz r3, 0x1ac(r25) +/* 8032B1B0 00328110 80 01 01 54 */ lwz r0, 0x154(r1) +/* 8032B1B4 00328114 38 63 FF FE */ addi r3, r3, -2 +/* 8032B1B8 00328118 7C 00 18 00 */ cmpw r0, r3 +/* 8032B1BC 0032811C 40 82 00 10 */ bne lbl_8032B1CC +/* 8032B1C0 00328120 2C 10 00 03 */ cmpwi r16, 3 +/* 8032B1C4 00328124 40 82 00 08 */ bne lbl_8032B1CC +/* 8032B1C8 00328128 39 E0 00 00 */ li r15, 0 +lbl_8032B1CC: +/* 8032B1CC 0032812C 80 79 01 68 */ lwz r3, 0x168(r25) +/* 8032B1D0 00328130 55 E0 38 30 */ slwi r0, r15, 7 +/* 8032B1D4 00328134 3A 20 00 00 */ li r17, 0 +/* 8032B1D8 00328138 39 E0 00 00 */ li r15, 0 +/* 8032B1DC 0032813C 7E 43 02 14 */ add r18, r3, r0 +/* 8032B1E0 00328140 3A 72 00 38 */ addi r19, r18, 0x38 +/* 8032B1E4 00328144 48 00 02 88 */ b lbl_8032B46C +lbl_8032B1E8: +/* 8032B1E8 00328148 6E 20 80 00 */ xoris r0, r17, 0x8000 +/* 8032B1EC 0032814C 91 C1 01 30 */ stw r14, 0x130(r1) +/* 8032B1F0 00328150 C0 32 00 30 */ lfs f1, 0x30(r18) +/* 8032B1F4 00328154 90 01 01 34 */ stw r0, 0x134(r1) +/* 8032B1F8 00328158 C0 12 00 34 */ lfs f0, 0x34(r18) +/* 8032B1FC 0032815C C8 41 01 30 */ lfd f2, 0x130(r1) +/* 8032B200 00328160 EC 21 00 2A */ fadds f1, f1, f0 +/* 8032B204 00328164 EC 02 90 28 */ fsubs f0, f2, f18 +/* 8032B208 00328168 EC 1F 00 32 */ fmuls f0, f31, f0 +/* 8032B20C 0032816C EC 20 08 2A */ fadds f1, f0, f1 +/* 8032B210 00328170 EC 33 00 72 */ fmuls f1, f19, f1 +/* 8032B214 00328174 EC 61 A0 24 */ fdivs f3, f1, f20 +/* 8032B218 00328178 FC 20 1A 10 */ fabs f1, f3 +/* 8032B21C 0032817C FC 01 A8 40 */ fcmpo cr0, f1, f21 +/* 8032B220 00328180 40 81 00 58 */ ble lbl_8032B278 +/* 8032B224 00328184 C0 22 CA E0 */ lfs f1, lbl_805AE800@sda21(r2) +/* 8032B228 00328188 3C 00 43 30 */ lis r0, 0x4330 +/* 8032B22C 0032818C 90 01 01 38 */ stw r0, 0x138(r1) +/* 8032B230 00328190 EC 23 00 72 */ fmuls f1, f3, f1 +/* 8032B234 00328194 C0 42 CA E4 */ lfs f2, lbl_805AE804@sda21(r2) +/* 8032B238 00328198 FC 20 08 1E */ fctiwz f1, f1 +/* 8032B23C 0032819C D8 21 01 30 */ stfd f1, 0x130(r1) +/* 8032B240 003281A0 80 01 01 34 */ lwz r0, 0x134(r1) +/* 8032B244 003281A4 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8032B248 003281A8 90 01 01 3C */ stw r0, 0x13c(r1) +/* 8032B24C 003281AC C8 21 01 38 */ lfd f1, 0x138(r1) +/* 8032B250 003281B0 EC 21 90 28 */ fsubs f1, f1, f18 +/* 8032B254 003281B4 EC 61 18 BC */ fnmsubs f3, f1, f2, f3 +/* 8032B258 003281B8 FC 03 98 40 */ fcmpo cr0, f3, f19 +/* 8032B25C 003281BC 40 81 00 0C */ ble lbl_8032B268 +/* 8032B260 003281C0 EC 63 10 28 */ fsubs f3, f3, f2 +/* 8032B264 003281C4 48 00 00 14 */ b lbl_8032B278 +lbl_8032B268: +/* 8032B268 003281C8 C0 22 CA E8 */ lfs f1, lbl_805AE808@sda21(r2) +/* 8032B26C 003281CC FC 03 08 40 */ fcmpo cr0, f3, f1 +/* 8032B270 003281D0 40 80 00 08 */ bge lbl_8032B278 +/* 8032B274 003281D4 EC 62 18 2A */ fadds f3, f2, f3 +lbl_8032B278: +/* 8032B278 003281D8 EC A3 00 F2 */ fmuls f5, f3, f3 +/* 8032B27C 003281DC C0 42 CA A8 */ lfs f2, lbl_805AE7C8@sda21(r2) +/* 8032B280 003281E0 EC 83 06 B2 */ fmuls f4, f3, f26 +/* 8032B284 003281E4 FC 00 F0 40 */ fcmpo cr0, f0, f30 +/* 8032B288 003281E8 EC 63 01 72 */ fmuls f3, f3, f5 +/* 8032B28C 003281EC EC 45 15 BA */ fmadds f2, f5, f22, f2 +/* 8032B290 003281F0 EC 25 01 72 */ fmuls f1, f5, f5 +/* 8032B294 003281F4 EC 83 26 FA */ fmadds f4, f3, f27, f4 +/* 8032B298 003281F8 EC 63 01 72 */ fmuls f3, f3, f5 +/* 8032B29C 003281FC EC 41 15 FA */ fmadds f2, f1, f23, f2 +/* 8032B2A0 00328200 EC 21 01 72 */ fmuls f1, f1, f5 +/* 8032B2A4 00328204 EC 83 27 3A */ fmadds f4, f3, f28, f4 +/* 8032B2A8 00328208 EC 63 01 72 */ fmuls f3, f3, f5 +/* 8032B2AC 0032820C EC 41 16 3A */ fmadds f2, f1, f24, f2 +/* 8032B2B0 00328210 EC 21 01 72 */ fmuls f1, f1, f5 +/* 8032B2B4 00328214 EC 83 27 7A */ fmadds f4, f3, f29, f4 +/* 8032B2B8 00328218 EC 41 16 7A */ fmadds f2, f1, f25, f2 +/* 8032B2BC 0032821C 40 81 00 1C */ ble lbl_8032B2D8 +/* 8032B2C0 00328220 C0 22 CA D4 */ lfs f1, lbl_805AE7F4@sda21(r2) +/* 8032B2C4 00328224 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 8032B2C8 00328228 4C 40 13 82 */ cror 2, 0, 2 +/* 8032B2CC 0032822C 40 82 00 0C */ bne lbl_8032B2D8 +/* 8032B2D0 00328230 C0 D2 00 04 */ lfs f6, 4(r18) +/* 8032B2D4 00328234 48 00 00 08 */ b lbl_8032B2DC +lbl_8032B2D8: +/* 8032B2D8 00328238 C0 D2 00 08 */ lfs f6, 8(r18) +lbl_8032B2DC: +/* 8032B2DC 0032823C C0 32 00 0C */ lfs f1, 0xc(r18) +/* 8032B2E0 00328240 2C 10 00 00 */ cmpwi r16, 0 +/* 8032B2E4 00328244 C0 12 00 24 */ lfs f0, 0x24(r18) +/* 8032B2E8 00328248 EC A6 00 B2 */ fmuls f5, f6, f2 +/* 8032B2EC 0032824C C0 72 00 10 */ lfs f3, 0x10(r18) +/* 8032B2F0 00328250 EC 86 01 32 */ fmuls f4, f6, f4 +/* 8032B2F4 00328254 C0 52 00 28 */ lfs f2, 0x28(r18) +/* 8032B2F8 00328258 ED E1 00 2A */ fadds f15, f1, f0 +/* 8032B2FC 0032825C C0 32 00 14 */ lfs f1, 0x14(r18) +/* 8032B300 00328260 C0 12 00 2C */ lfs f0, 0x2c(r18) +/* 8032B304 00328264 EE 03 10 2A */ fadds f16, f3, f2 +/* 8032B308 00328268 EE 21 00 2A */ fadds f17, f1, f0 +/* 8032B30C 0032826C 40 82 00 54 */ bne lbl_8032B360 +/* 8032B310 00328270 C0 02 CA 94 */ lfs f0, lbl_805AE7B4@sda21(r2) +/* 8032B314 00328274 7E 64 9B 78 */ mr r4, r19 +/* 8032B318 00328278 D0 A1 00 B4 */ stfs f5, 0xb4(r1) +/* 8032B31C 0032827C 38 61 00 C0 */ addi r3, r1, 0xc0 +/* 8032B320 00328280 38 A1 00 B4 */ addi r5, r1, 0xb4 +/* 8032B324 00328284 D0 01 00 B8 */ stfs f0, 0xb8(r1) +/* 8032B328 00328288 D0 81 00 BC */ stfs f4, 0xbc(r1) +/* 8032B32C 0032828C 4B FE 77 BD */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8032B330 00328290 C0 01 00 C0 */ lfs f0, 0xc0(r1) +/* 8032B334 00328294 C0 41 00 C4 */ lfs f2, 0xc4(r1) +/* 8032B338 00328298 80 19 01 78 */ lwz r0, 0x178(r25) +/* 8032B33C 0032829C EC 00 78 2A */ fadds f0, f0, f15 +/* 8032B340 003282A0 C0 21 00 C8 */ lfs f1, 0xc8(r1) +/* 8032B344 003282A4 EC 42 80 2A */ fadds f2, f2, f16 +/* 8032B348 003282A8 7C 60 7A 14 */ add r3, r0, r15 +/* 8032B34C 003282AC D0 03 00 00 */ stfs f0, 0(r3) +/* 8032B350 003282B0 EC 01 88 2A */ fadds f0, f1, f17 +/* 8032B354 003282B4 D0 43 00 04 */ stfs f2, 4(r3) +/* 8032B358 003282B8 D0 03 00 08 */ stfs f0, 8(r3) +/* 8032B35C 003282BC 48 00 01 08 */ b lbl_8032B464 +lbl_8032B360: +/* 8032B360 003282C0 2C 10 00 01 */ cmpwi r16, 1 +/* 8032B364 003282C4 40 82 00 54 */ bne lbl_8032B3B8 +/* 8032B368 003282C8 C0 02 CA 94 */ lfs f0, lbl_805AE7B4@sda21(r2) +/* 8032B36C 003282CC 7E 64 9B 78 */ mr r4, r19 +/* 8032B370 003282D0 D0 A1 00 9C */ stfs f5, 0x9c(r1) +/* 8032B374 003282D4 38 61 00 A8 */ addi r3, r1, 0xa8 +/* 8032B378 003282D8 38 A1 00 9C */ addi r5, r1, 0x9c +/* 8032B37C 003282DC D0 01 00 A0 */ stfs f0, 0xa0(r1) +/* 8032B380 003282E0 D0 81 00 A4 */ stfs f4, 0xa4(r1) +/* 8032B384 003282E4 4B FE 77 65 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8032B388 003282E8 C0 01 00 A8 */ lfs f0, 0xa8(r1) +/* 8032B38C 003282EC C0 41 00 AC */ lfs f2, 0xac(r1) +/* 8032B390 003282F0 80 19 01 88 */ lwz r0, 0x188(r25) +/* 8032B394 003282F4 EC 00 78 2A */ fadds f0, f0, f15 +/* 8032B398 003282F8 C0 21 00 B0 */ lfs f1, 0xb0(r1) +/* 8032B39C 003282FC EC 42 80 2A */ fadds f2, f2, f16 +/* 8032B3A0 00328300 7C 60 7A 14 */ add r3, r0, r15 +/* 8032B3A4 00328304 D0 03 00 00 */ stfs f0, 0(r3) +/* 8032B3A8 00328308 EC 01 88 2A */ fadds f0, f1, f17 +/* 8032B3AC 0032830C D0 43 00 04 */ stfs f2, 4(r3) +/* 8032B3B0 00328310 D0 03 00 08 */ stfs f0, 8(r3) +/* 8032B3B4 00328314 48 00 00 B0 */ b lbl_8032B464 +lbl_8032B3B8: +/* 8032B3B8 00328318 2C 10 00 02 */ cmpwi r16, 2 +/* 8032B3BC 0032831C 40 82 00 54 */ bne lbl_8032B410 +/* 8032B3C0 00328320 C0 02 CA 94 */ lfs f0, lbl_805AE7B4@sda21(r2) +/* 8032B3C4 00328324 7E 64 9B 78 */ mr r4, r19 +/* 8032B3C8 00328328 D0 A1 00 84 */ stfs f5, 0x84(r1) +/* 8032B3CC 0032832C 38 61 00 90 */ addi r3, r1, 0x90 +/* 8032B3D0 00328330 38 A1 00 84 */ addi r5, r1, 0x84 +/* 8032B3D4 00328334 D0 01 00 88 */ stfs f0, 0x88(r1) +/* 8032B3D8 00328338 D0 81 00 8C */ stfs f4, 0x8c(r1) +/* 8032B3DC 0032833C 4B FE 77 0D */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8032B3E0 00328340 C0 01 00 90 */ lfs f0, 0x90(r1) +/* 8032B3E4 00328344 C0 41 00 94 */ lfs f2, 0x94(r1) +/* 8032B3E8 00328348 80 19 01 98 */ lwz r0, 0x198(r25) +/* 8032B3EC 0032834C EC 00 78 2A */ fadds f0, f0, f15 +/* 8032B3F0 00328350 C0 21 00 98 */ lfs f1, 0x98(r1) +/* 8032B3F4 00328354 EC 42 80 2A */ fadds f2, f2, f16 +/* 8032B3F8 00328358 7C 60 7A 14 */ add r3, r0, r15 +/* 8032B3FC 0032835C D0 03 00 00 */ stfs f0, 0(r3) +/* 8032B400 00328360 EC 01 88 2A */ fadds f0, f1, f17 +/* 8032B404 00328364 D0 43 00 04 */ stfs f2, 4(r3) +/* 8032B408 00328368 D0 03 00 08 */ stfs f0, 8(r3) +/* 8032B40C 0032836C 48 00 00 58 */ b lbl_8032B464 +lbl_8032B410: +/* 8032B410 00328370 2C 10 00 03 */ cmpwi r16, 3 +/* 8032B414 00328374 40 82 00 50 */ bne lbl_8032B464 +/* 8032B418 00328378 C0 02 CA 94 */ lfs f0, lbl_805AE7B4@sda21(r2) +/* 8032B41C 0032837C 7E 64 9B 78 */ mr r4, r19 +/* 8032B420 00328380 D0 A1 00 6C */ stfs f5, 0x6c(r1) +/* 8032B424 00328384 38 61 00 78 */ addi r3, r1, 0x78 +/* 8032B428 00328388 38 A1 00 6C */ addi r5, r1, 0x6c +/* 8032B42C 0032838C D0 01 00 70 */ stfs f0, 0x70(r1) +/* 8032B430 00328390 D0 81 00 74 */ stfs f4, 0x74(r1) +/* 8032B434 00328394 4B FE 76 B5 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8032B438 00328398 C0 01 00 78 */ lfs f0, 0x78(r1) +/* 8032B43C 0032839C C0 41 00 7C */ lfs f2, 0x7c(r1) +/* 8032B440 003283A0 80 19 01 A8 */ lwz r0, 0x1a8(r25) +/* 8032B444 003283A4 EC 00 78 2A */ fadds f0, f0, f15 +/* 8032B448 003283A8 C0 21 00 80 */ lfs f1, 0x80(r1) +/* 8032B44C 003283AC EC 42 80 2A */ fadds f2, f2, f16 +/* 8032B450 003283B0 7C 60 7A 14 */ add r3, r0, r15 +/* 8032B454 003283B4 D0 03 00 00 */ stfs f0, 0(r3) +/* 8032B458 003283B8 EC 01 88 2A */ fadds f0, f1, f17 +/* 8032B45C 003283BC D0 43 00 04 */ stfs f2, 4(r3) +/* 8032B460 003283C0 D0 03 00 08 */ stfs f0, 8(r3) +lbl_8032B464: +/* 8032B464 003283C4 39 EF 00 0C */ addi r15, r15, 0xc +/* 8032B468 003283C8 3A 31 00 01 */ addi r17, r17, 1 +lbl_8032B46C: +/* 8032B46C 003283CC 80 19 01 B8 */ lwz r0, 0x1b8(r25) +/* 8032B470 003283D0 7C 11 00 00 */ cmpw r17, r0 +/* 8032B474 003283D4 41 80 FD 74 */ blt lbl_8032B1E8 +/* 8032B478 003283D8 3A 10 00 01 */ addi r16, r16, 1 +/* 8032B47C 003283DC 2C 10 00 04 */ cmpwi r16, 4 +/* 8032B480 003283E0 41 80 FB EC */ blt lbl_8032B06C +/* 8032B484 003283E4 80 79 00 24 */ lwz r3, 0x24(r25) +/* 8032B488 003283E8 80 03 00 3C */ lwz r0, 0x3c(r3) +/* 8032B48C 003283EC 28 00 00 00 */ cmplwi r0, 0 +/* 8032B490 003283F0 41 82 00 7C */ beq lbl_8032B50C +/* 8032B494 003283F4 80 99 01 EC */ lwz r4, 0x1ec(r25) +/* 8032B498 003283F8 2C 04 00 00 */ cmpwi r4, 0 +/* 8032B49C 003283FC 40 81 00 44 */ ble lbl_8032B4E0 +/* 8032B4A0 00328400 80 01 01 54 */ lwz r0, 0x154(r1) +/* 8032B4A4 00328404 C8 22 CA F0 */ lfd f1, lbl_805AE810@sda21(r2) +/* 8032B4A8 00328408 7C 60 23 D6 */ divw r3, r0, r4 +/* 8032B4AC 0032840C 3C 00 43 30 */ lis r0, 0x4330 +/* 8032B4B0 00328410 90 01 01 38 */ stw r0, 0x138(r1) +/* 8032B4B4 00328414 80 01 01 54 */ lwz r0, 0x154(r1) +/* 8032B4B8 00328418 C0 59 01 E8 */ lfs f2, 0x1e8(r25) +/* 8032B4BC 0032841C 7C 63 21 D6 */ mullw r3, r3, r4 +/* 8032B4C0 00328420 7C 03 00 50 */ subf r0, r3, r0 +/* 8032B4C4 00328424 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8032B4C8 00328428 90 01 01 3C */ stw r0, 0x13c(r1) +/* 8032B4CC 0032842C C8 01 01 38 */ lfd f0, 0x138(r1) +/* 8032B4D0 00328430 EC 00 08 28 */ fsubs f0, f0, f1 +/* 8032B4D4 00328434 EC 02 00 32 */ fmuls f0, f2, f0 +/* 8032B4D8 00328438 D0 19 01 D4 */ stfs f0, 0x1d4(r25) +/* 8032B4DC 0032843C 48 00 00 30 */ b lbl_8032B50C +lbl_8032B4E0: +/* 8032B4E0 00328440 80 01 01 54 */ lwz r0, 0x154(r1) +/* 8032B4E4 00328444 C8 42 CA F0 */ lfd f2, lbl_805AE810@sda21(r2) +/* 8032B4E8 00328448 6C 03 80 00 */ xoris r3, r0, 0x8000 +/* 8032B4EC 0032844C 3C 00 43 30 */ lis r0, 0x4330 +/* 8032B4F0 00328450 90 61 01 3C */ stw r3, 0x13c(r1) +/* 8032B4F4 00328454 C0 19 01 E8 */ lfs f0, 0x1e8(r25) +/* 8032B4F8 00328458 90 01 01 38 */ stw r0, 0x138(r1) +/* 8032B4FC 0032845C C8 21 01 38 */ lfd f1, 0x138(r1) +/* 8032B500 00328460 EC 21 10 28 */ fsubs f1, f1, f2 +/* 8032B504 00328464 EC 01 00 32 */ fmuls f0, f1, f0 +/* 8032B508 00328468 D0 19 01 D4 */ stfs f0, 0x1d4(r25) +lbl_8032B50C: +/* 8032B50C 0032846C 80 79 01 B0 */ lwz r3, 0x1b0(r25) +/* 8032B510 00328470 3D C0 43 30 */ lis r14, 0x4330 +/* 8032B514 00328474 91 C1 01 38 */ stw r14, 0x138(r1) +/* 8032B518 00328478 3B A0 00 00 */ li r29, 0 +/* 8032B51C 0032847C 38 03 00 01 */ addi r0, r3, 1 +/* 8032B520 00328480 CB E2 CA F0 */ lfd f31, lbl_805AE810@sda21(r2) +/* 8032B524 00328484 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8032B528 00328488 C0 39 01 E8 */ lfs f1, 0x1e8(r25) +/* 8032B52C 0032848C 90 01 01 3C */ stw r0, 0x13c(r1) +/* 8032B530 00328490 8B 01 01 50 */ lbz r24, 0x150(r1) +/* 8032B534 00328494 C8 01 01 38 */ lfd f0, 0x138(r1) +/* 8032B538 00328498 EC 00 F8 28 */ fsubs f0, f0, f31 +/* 8032B53C 0032849C ED E1 00 24 */ fdivs f15, f1, f0 +/* 8032B540 003284A0 48 00 04 80 */ b lbl_8032B9C0 +lbl_8032B544: +/* 8032B544 003284A4 38 1D 00 01 */ addi r0, r29, 1 +/* 8032B548 003284A8 6C 63 80 00 */ xoris r3, r3, 0x8000 +/* 8032B54C 003284AC 6F A4 80 00 */ xoris r4, r29, 0x8000 +/* 8032B550 003284B0 80 B9 01 B8 */ lwz r5, 0x1b8(r25) +/* 8032B554 003284B4 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8032B558 003284B8 90 81 01 3C */ stw r4, 0x13c(r1) +/* 8032B55C 003284BC 2C 05 00 02 */ cmpwi r5, 2 +/* 8032B560 003284C0 7C BA 2B 78 */ mr r26, r5 +/* 8032B564 003284C4 91 C1 01 38 */ stw r14, 0x138(r1) +/* 8032B568 003284C8 C8 01 01 38 */ lfd f0, 0x138(r1) +/* 8032B56C 003284CC 90 61 01 34 */ stw r3, 0x134(r1) +/* 8032B570 003284D0 EC 40 F8 28 */ fsubs f2, f0, f31 +/* 8032B574 003284D4 91 C1 01 30 */ stw r14, 0x130(r1) +/* 8032B578 003284D8 C8 01 01 30 */ lfd f0, 0x130(r1) +/* 8032B57C 003284DC 90 01 01 44 */ stw r0, 0x144(r1) +/* 8032B580 003284E0 EC 00 F8 28 */ fsubs f0, f0, f31 +/* 8032B584 003284E4 91 C1 01 40 */ stw r14, 0x140(r1) +/* 8032B588 003284E8 C8 21 01 40 */ lfd f1, 0x140(r1) +/* 8032B58C 003284EC EE 02 00 24 */ fdivs f16, f2, f0 +/* 8032B590 003284F0 90 61 01 4C */ stw r3, 0x14c(r1) +/* 8032B594 003284F4 91 C1 01 48 */ stw r14, 0x148(r1) +/* 8032B598 003284F8 C8 01 01 48 */ lfd f0, 0x148(r1) +/* 8032B59C 003284FC EC 21 F8 28 */ fsubs f1, f1, f31 +/* 8032B5A0 00328500 EC 00 F8 28 */ fsubs f0, f0, f31 +/* 8032B5A4 00328504 EE 21 00 24 */ fdivs f17, f1, f0 +/* 8032B5A8 00328508 41 81 00 0C */ bgt lbl_8032B5B4 +/* 8032B5AC 0032850C 3B 40 00 01 */ li r26, 1 +/* 8032B5B0 00328510 48 00 00 1C */ b lbl_8032B5CC +lbl_8032B5B4: +/* 8032B5B4 00328514 88 01 01 50 */ lbz r0, 0x150(r1) +/* 8032B5B8 00328518 28 00 00 01 */ cmplwi r0, 1 +/* 8032B5BC 0032851C 40 82 00 10 */ bne lbl_8032B5CC +/* 8032B5C0 00328520 54 A0 0F FE */ srwi r0, r5, 0x1f +/* 8032B5C4 00328524 7C 00 2A 14 */ add r0, r0, r5 +/* 8032B5C8 00328528 7C 1A 0E 70 */ srawi r26, r0, 1 +lbl_8032B5CC: +/* 8032B5CC 0032852C C0 19 01 D4 */ lfs f0, 0x1d4(r25) +/* 8032B5D0 00328530 3B C0 00 00 */ li r30, 0 +/* 8032B5D4 00328534 7F DF F3 78 */ mr r31, r30 +/* 8032B5D8 00328538 EC 00 78 2A */ fadds f0, f0, f15 +/* 8032B5DC 0032853C D0 19 01 DC */ stfs f0, 0x1dc(r25) +/* 8032B5E0 00328540 48 00 03 AC */ b lbl_8032B98C +lbl_8032B5E4: +/* 8032B5E4 00328544 80 19 01 B8 */ lwz r0, 0x1b8(r25) +/* 8032B5E8 00328548 39 FE 00 01 */ addi r15, r30, 1 +/* 8032B5EC 0032854C 7C 0F 00 00 */ cmpw r15, r0 +/* 8032B5F0 00328550 41 80 00 08 */ blt lbl_8032B5F8 +/* 8032B5F4 00328554 39 E0 00 00 */ li r15, 0 +lbl_8032B5F8: +/* 8032B5F8 00328558 38 61 00 08 */ addi r3, r1, 8 +/* 8032B5FC 0032855C 38 9B 00 6C */ addi r4, r27, 0x6c +/* 8032B600 00328560 38 B9 02 0C */ addi r5, r25, 0x20c +/* 8032B604 00328564 48 03 7B 75 */ bl Modulate__6CColorFRC6CColorRC6CColor +/* 8032B608 00328568 28 18 00 00 */ cmplwi r24, 0 +/* 8032B60C 0032856C 82 E1 00 08 */ lwz r23, 8(r1) +/* 8032B610 00328570 41 82 01 88 */ beq lbl_8032B798 +/* 8032B614 00328574 80 79 01 B8 */ lwz r3, 0x1b8(r25) +/* 8032B618 00328578 FC 20 80 90 */ fmr f1, f16 +/* 8032B61C 0032857C 81 39 01 78 */ lwz r9, 0x178(r25) +/* 8032B620 00328580 7F 24 CB 78 */ mr r4, r25 +/* 8032B624 00328584 54 60 0F FE */ srwi r0, r3, 0x1f +/* 8032B628 00328588 81 59 01 88 */ lwz r10, 0x188(r25) +/* 8032B62C 0032858C 7C 00 1A 14 */ add r0, r0, r3 +/* 8032B630 00328590 7C 00 0E 70 */ srawi r0, r0, 1 +/* 8032B634 00328594 80 79 01 98 */ lwz r3, 0x198(r25) +/* 8032B638 00328598 7C 1E 02 14 */ add r0, r30, r0 +/* 8032B63C 0032859C 81 79 01 A8 */ lwz r11, 0x1a8(r25) +/* 8032B640 003285A0 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8032B644 003285A4 7E C9 FA 14 */ add r22, r9, r31 +/* 8032B648 003285A8 7E AA FA 14 */ add r21, r10, r31 +/* 8032B64C 003285AC 7E 83 FA 14 */ add r20, r3, r31 +/* 8032B650 003285B0 7E 6B FA 14 */ add r19, r11, r31 +/* 8032B654 003285B4 7E C5 B3 78 */ mr r5, r22 +/* 8032B658 003285B8 7E A6 AB 78 */ mr r6, r21 +/* 8032B65C 003285BC 7E 87 A3 78 */ mr r7, r20 +/* 8032B660 003285C0 7E 68 9B 78 */ mr r8, r19 +/* 8032B664 003285C4 7E 49 02 14 */ add r18, r9, r0 +/* 8032B668 003285C8 7E 2A 02 14 */ add r17, r10, r0 +/* 8032B66C 003285CC 7E 03 02 14 */ add r16, r3, r0 +/* 8032B670 003285D0 7D EB 02 14 */ add r15, r11, r0 +/* 8032B674 003285D4 38 61 00 60 */ addi r3, r1, 0x60 +/* 8032B678 003285D8 4B FF F5 B1 */ bl GetSplinePoint__15CParticleSwooshCFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ff +/* 8032B67C 003285DC C0 61 00 60 */ lfs f3, 0x60(r1) +/* 8032B680 003285E0 FC 20 80 90 */ fmr f1, f16 +/* 8032B684 003285E4 C0 41 00 64 */ lfs f2, 0x64(r1) +/* 8032B688 003285E8 7F 24 CB 78 */ mr r4, r25 +/* 8032B68C 003285EC C0 01 00 68 */ lfs f0, 0x68(r1) +/* 8032B690 003285F0 7E 45 93 78 */ mr r5, r18 +/* 8032B694 003285F4 D0 61 01 20 */ stfs f3, 0x120(r1) +/* 8032B698 003285F8 7E 26 8B 78 */ mr r6, r17 +/* 8032B69C 003285FC 7E 07 83 78 */ mr r7, r16 +/* 8032B6A0 00328600 D0 41 01 24 */ stfs f2, 0x124(r1) +/* 8032B6A4 00328604 7D E8 7B 78 */ mr r8, r15 +/* 8032B6A8 00328608 38 61 00 54 */ addi r3, r1, 0x54 +/* 8032B6AC 0032860C D0 01 01 28 */ stfs f0, 0x128(r1) +/* 8032B6B0 00328610 4B FF F5 79 */ bl GetSplinePoint__15CParticleSwooshCFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ff +/* 8032B6B4 00328614 C0 61 00 54 */ lfs f3, 0x54(r1) +/* 8032B6B8 00328618 FC 20 88 90 */ fmr f1, f17 +/* 8032B6BC 0032861C C0 41 00 58 */ lfs f2, 0x58(r1) +/* 8032B6C0 00328620 7F 24 CB 78 */ mr r4, r25 +/* 8032B6C4 00328624 C0 01 00 5C */ lfs f0, 0x5c(r1) +/* 8032B6C8 00328628 7E 45 93 78 */ mr r5, r18 +/* 8032B6CC 0032862C D0 61 01 14 */ stfs f3, 0x114(r1) +/* 8032B6D0 00328630 7E 26 8B 78 */ mr r6, r17 +/* 8032B6D4 00328634 7E 07 83 78 */ mr r7, r16 +/* 8032B6D8 00328638 D0 41 01 18 */ stfs f2, 0x118(r1) +/* 8032B6DC 0032863C 7D E8 7B 78 */ mr r8, r15 +/* 8032B6E0 00328640 38 61 00 48 */ addi r3, r1, 0x48 +/* 8032B6E4 00328644 D0 01 01 1C */ stfs f0, 0x11c(r1) +/* 8032B6E8 00328648 4B FF F5 41 */ bl GetSplinePoint__15CParticleSwooshCFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ff +/* 8032B6EC 0032864C C0 61 00 48 */ lfs f3, 0x48(r1) +/* 8032B6F0 00328650 FC 20 88 90 */ fmr f1, f17 +/* 8032B6F4 00328654 C0 41 00 4C */ lfs f2, 0x4c(r1) +/* 8032B6F8 00328658 7F 24 CB 78 */ mr r4, r25 +/* 8032B6FC 0032865C C0 01 00 50 */ lfs f0, 0x50(r1) +/* 8032B700 00328660 7E C5 B3 78 */ mr r5, r22 +/* 8032B704 00328664 D0 61 01 08 */ stfs f3, 0x108(r1) +/* 8032B708 00328668 7E A6 AB 78 */ mr r6, r21 +/* 8032B70C 0032866C 7E 87 A3 78 */ mr r7, r20 +/* 8032B710 00328670 D0 41 01 0C */ stfs f2, 0x10c(r1) +/* 8032B714 00328674 7E 68 9B 78 */ mr r8, r19 +/* 8032B718 00328678 38 61 00 3C */ addi r3, r1, 0x3c +/* 8032B71C 0032867C D0 01 01 10 */ stfs f0, 0x110(r1) +/* 8032B720 00328680 4B FF F5 09 */ bl GetSplinePoint__15CParticleSwooshCFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ff +/* 8032B724 00328684 C0 41 00 3C */ lfs f2, 0x3c(r1) +/* 8032B728 00328688 7E E3 BB 78 */ mr r3, r23 +/* 8032B72C 0032868C C0 21 00 40 */ lfs f1, 0x40(r1) +/* 8032B730 00328690 C0 01 00 44 */ lfs f0, 0x44(r1) +/* 8032B734 00328694 D0 41 00 FC */ stfs f2, 0xfc(r1) +/* 8032B738 00328698 D0 21 01 00 */ stfs f1, 0x100(r1) +/* 8032B73C 0032869C D0 01 01 04 */ stfs f0, 0x104(r1) +/* 8032B740 003286A0 4B FD FE 2D */ bl StreamColor__9CGraphicsFUi +/* 8032B744 003286A4 C0 39 01 D4 */ lfs f1, 0x1d4(r25) +/* 8032B748 003286A8 C0 59 01 D8 */ lfs f2, 0x1d8(r25) +/* 8032B74C 003286AC 4B FD FD 19 */ bl StreamTexcoord__9CGraphicsFff +/* 8032B750 003286B0 38 61 01 20 */ addi r3, r1, 0x120 +/* 8032B754 003286B4 4B FD FE 6D */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 8032B758 003286B8 C0 39 01 D4 */ lfs f1, 0x1d4(r25) +/* 8032B75C 003286BC C0 59 01 E0 */ lfs f2, 0x1e0(r25) +/* 8032B760 003286C0 4B FD FD 05 */ bl StreamTexcoord__9CGraphicsFff +/* 8032B764 003286C4 38 61 01 14 */ addi r3, r1, 0x114 +/* 8032B768 003286C8 4B FD FE 59 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 8032B76C 003286CC C0 39 01 DC */ lfs f1, 0x1dc(r25) +/* 8032B770 003286D0 C0 59 01 E0 */ lfs f2, 0x1e0(r25) +/* 8032B774 003286D4 4B FD FC F1 */ bl StreamTexcoord__9CGraphicsFff +/* 8032B778 003286D8 38 61 01 08 */ addi r3, r1, 0x108 +/* 8032B77C 003286DC 4B FD FE 45 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 8032B780 003286E0 C0 39 01 DC */ lfs f1, 0x1dc(r25) +/* 8032B784 003286E4 C0 59 01 D8 */ lfs f2, 0x1d8(r25) +/* 8032B788 003286E8 4B FD FC DD */ bl StreamTexcoord__9CGraphicsFff +/* 8032B78C 003286EC 38 61 00 FC */ addi r3, r1, 0xfc +/* 8032B790 003286F0 4B FD FE 31 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 8032B794 003286F4 48 00 01 F0 */ b lbl_8032B984 +lbl_8032B798: +/* 8032B798 003286F8 80 19 01 78 */ lwz r0, 0x178(r25) +/* 8032B79C 003286FC 1C 6F 00 0C */ mulli r3, r15, 0xc +/* 8032B7A0 00328700 81 39 01 88 */ lwz r9, 0x188(r25) +/* 8032B7A4 00328704 FC 20 80 90 */ fmr f1, f16 +/* 8032B7A8 00328708 81 59 01 98 */ lwz r10, 0x198(r25) +/* 8032B7AC 0032870C 7D E0 FA 14 */ add r15, r0, r31 +/* 8032B7B0 00328710 81 79 01 A8 */ lwz r11, 0x1a8(r25) +/* 8032B7B4 00328714 7E 09 FA 14 */ add r16, r9, r31 +/* 8032B7B8 00328718 7E 2A FA 14 */ add r17, r10, r31 +/* 8032B7BC 0032871C 7E 4B FA 14 */ add r18, r11, r31 +/* 8032B7C0 00328720 7F 24 CB 78 */ mr r4, r25 +/* 8032B7C4 00328724 7D E5 7B 78 */ mr r5, r15 +/* 8032B7C8 00328728 7E 06 83 78 */ mr r6, r16 +/* 8032B7CC 0032872C 7E 27 8B 78 */ mr r7, r17 +/* 8032B7D0 00328730 7E 48 93 78 */ mr r8, r18 +/* 8032B7D4 00328734 7E 60 1A 14 */ add r19, r0, r3 +/* 8032B7D8 00328738 7E 89 1A 14 */ add r20, r9, r3 +/* 8032B7DC 0032873C 7E AA 1A 14 */ add r21, r10, r3 +/* 8032B7E0 00328740 7E CB 1A 14 */ add r22, r11, r3 +/* 8032B7E4 00328744 38 61 00 30 */ addi r3, r1, 0x30 +/* 8032B7E8 00328748 4B FF F4 41 */ bl GetSplinePoint__15CParticleSwooshCFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ff +/* 8032B7EC 0032874C C0 61 00 30 */ lfs f3, 0x30(r1) +/* 8032B7F0 00328750 FC 20 80 90 */ fmr f1, f16 +/* 8032B7F4 00328754 C0 41 00 34 */ lfs f2, 0x34(r1) +/* 8032B7F8 00328758 7F 24 CB 78 */ mr r4, r25 +/* 8032B7FC 0032875C C0 01 00 38 */ lfs f0, 0x38(r1) +/* 8032B800 00328760 7E 65 9B 78 */ mr r5, r19 +/* 8032B804 00328764 D0 61 00 F0 */ stfs f3, 0xf0(r1) +/* 8032B808 00328768 7E 86 A3 78 */ mr r6, r20 +/* 8032B80C 0032876C 7E A7 AB 78 */ mr r7, r21 +/* 8032B810 00328770 D0 41 00 F4 */ stfs f2, 0xf4(r1) +/* 8032B814 00328774 7E C8 B3 78 */ mr r8, r22 +/* 8032B818 00328778 38 61 00 24 */ addi r3, r1, 0x24 +/* 8032B81C 0032877C D0 01 00 F8 */ stfs f0, 0xf8(r1) +/* 8032B820 00328780 4B FF F4 09 */ bl GetSplinePoint__15CParticleSwooshCFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ff +/* 8032B824 00328784 C0 61 00 24 */ lfs f3, 0x24(r1) +/* 8032B828 00328788 FC 20 88 90 */ fmr f1, f17 +/* 8032B82C 0032878C C0 41 00 28 */ lfs f2, 0x28(r1) +/* 8032B830 00328790 7F 24 CB 78 */ mr r4, r25 +/* 8032B834 00328794 C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 8032B838 00328798 7E 65 9B 78 */ mr r5, r19 +/* 8032B83C 0032879C D0 61 00 E4 */ stfs f3, 0xe4(r1) +/* 8032B840 003287A0 7E 86 A3 78 */ mr r6, r20 +/* 8032B844 003287A4 7E A7 AB 78 */ mr r7, r21 +/* 8032B848 003287A8 D0 41 00 E8 */ stfs f2, 0xe8(r1) +/* 8032B84C 003287AC 7E C8 B3 78 */ mr r8, r22 +/* 8032B850 003287B0 38 61 00 18 */ addi r3, r1, 0x18 +/* 8032B854 003287B4 D0 01 00 EC */ stfs f0, 0xec(r1) +/* 8032B858 003287B8 4B FF F3 D1 */ bl GetSplinePoint__15CParticleSwooshCFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ff +/* 8032B85C 003287BC C0 61 00 18 */ lfs f3, 0x18(r1) +/* 8032B860 003287C0 FC 20 88 90 */ fmr f1, f17 +/* 8032B864 003287C4 C0 41 00 1C */ lfs f2, 0x1c(r1) +/* 8032B868 003287C8 7F 24 CB 78 */ mr r4, r25 +/* 8032B86C 003287CC C0 01 00 20 */ lfs f0, 0x20(r1) +/* 8032B870 003287D0 7D E5 7B 78 */ mr r5, r15 +/* 8032B874 003287D4 D0 61 00 D8 */ stfs f3, 0xd8(r1) +/* 8032B878 003287D8 7E 06 83 78 */ mr r6, r16 +/* 8032B87C 003287DC 7E 27 8B 78 */ mr r7, r17 +/* 8032B880 003287E0 D0 41 00 DC */ stfs f2, 0xdc(r1) +/* 8032B884 003287E4 7E 48 93 78 */ mr r8, r18 +/* 8032B888 003287E8 38 61 00 0C */ addi r3, r1, 0xc +/* 8032B88C 003287EC D0 01 00 E0 */ stfs f0, 0xe0(r1) +/* 8032B890 003287F0 4B FF F3 99 */ bl GetSplinePoint__15CParticleSwooshCFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ff +/* 8032B894 003287F4 C0 41 00 0C */ lfs f2, 0xc(r1) +/* 8032B898 003287F8 C0 21 00 10 */ lfs f1, 0x10(r1) +/* 8032B89C 003287FC C0 01 00 14 */ lfs f0, 0x14(r1) +/* 8032B8A0 00328800 D0 41 00 CC */ stfs f2, 0xcc(r1) +/* 8032B8A4 00328804 D0 21 00 D0 */ stfs f1, 0xd0(r1) +/* 8032B8A8 00328808 D0 01 00 D4 */ stfs f0, 0xd4(r1) +/* 8032B8AC 0032880C 80 19 01 BC */ lwz r0, 0x1bc(r25) +/* 8032B8B0 00328810 2C 00 00 A8 */ cmpwi r0, 0xa8 +/* 8032B8B4 00328814 40 82 00 68 */ bne lbl_8032B91C +/* 8032B8B8 00328818 38 61 00 F0 */ addi r3, r1, 0xf0 +/* 8032B8BC 0032881C 4B FD FD 05 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 8032B8C0 00328820 38 61 00 E4 */ addi r3, r1, 0xe4 +/* 8032B8C4 00328824 4B FD FC FD */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 8032B8C8 00328828 38 61 00 E4 */ addi r3, r1, 0xe4 +/* 8032B8CC 0032882C 4B FD FC F5 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 8032B8D0 00328830 38 61 00 D8 */ addi r3, r1, 0xd8 +/* 8032B8D4 00328834 4B FD FC ED */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 8032B8D8 00328838 38 61 00 D8 */ addi r3, r1, 0xd8 +/* 8032B8DC 0032883C 4B FD FC E5 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 8032B8E0 00328840 38 61 00 F0 */ addi r3, r1, 0xf0 +/* 8032B8E4 00328844 4B FD FC DD */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 8032B8E8 00328848 38 61 00 F0 */ addi r3, r1, 0xf0 +/* 8032B8EC 0032884C 4B FD FC D5 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 8032B8F0 00328850 38 61 00 D8 */ addi r3, r1, 0xd8 +/* 8032B8F4 00328854 4B FD FC CD */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 8032B8F8 00328858 38 61 00 D8 */ addi r3, r1, 0xd8 +/* 8032B8FC 0032885C 4B FD FC C5 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 8032B900 00328860 38 61 00 CC */ addi r3, r1, 0xcc +/* 8032B904 00328864 4B FD FC BD */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 8032B908 00328868 38 61 00 CC */ addi r3, r1, 0xcc +/* 8032B90C 0032886C 4B FD FC B5 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 8032B910 00328870 38 61 00 F0 */ addi r3, r1, 0xf0 +/* 8032B914 00328874 4B FD FC AD */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 8032B918 00328878 48 00 00 6C */ b lbl_8032B984 +lbl_8032B91C: +/* 8032B91C 0032887C 2C 00 00 80 */ cmpwi r0, 0x80 +/* 8032B920 00328880 40 82 00 64 */ bne lbl_8032B984 +/* 8032B924 00328884 7E E3 BB 78 */ mr r3, r23 +/* 8032B928 00328888 4B FD FC 45 */ bl StreamColor__9CGraphicsFUi +/* 8032B92C 0032888C C0 39 01 D4 */ lfs f1, 0x1d4(r25) +/* 8032B930 00328890 C0 59 01 D8 */ lfs f2, 0x1d8(r25) +/* 8032B934 00328894 4B FD FB 31 */ bl StreamTexcoord__9CGraphicsFff +/* 8032B938 00328898 38 61 00 F0 */ addi r3, r1, 0xf0 +/* 8032B93C 0032889C 4B FD FC 85 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 8032B940 003288A0 C0 39 01 D4 */ lfs f1, 0x1d4(r25) +/* 8032B944 003288A4 C0 59 01 E0 */ lfs f2, 0x1e0(r25) +/* 8032B948 003288A8 4B FD FB 1D */ bl StreamTexcoord__9CGraphicsFff +/* 8032B94C 003288AC 38 61 00 E4 */ addi r3, r1, 0xe4 +/* 8032B950 003288B0 4B FD FC 71 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 8032B954 003288B4 7E E3 BB 78 */ mr r3, r23 +/* 8032B958 003288B8 4B FD FC 15 */ bl StreamColor__9CGraphicsFUi +/* 8032B95C 003288BC C0 39 01 DC */ lfs f1, 0x1dc(r25) +/* 8032B960 003288C0 C0 59 01 E0 */ lfs f2, 0x1e0(r25) +/* 8032B964 003288C4 4B FD FB 01 */ bl StreamTexcoord__9CGraphicsFff +/* 8032B968 003288C8 38 61 00 D8 */ addi r3, r1, 0xd8 +/* 8032B96C 003288CC 4B FD FC 55 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 8032B970 003288D0 C0 39 01 DC */ lfs f1, 0x1dc(r25) +/* 8032B974 003288D4 C0 59 01 D8 */ lfs f2, 0x1d8(r25) +/* 8032B978 003288D8 4B FD FA ED */ bl StreamTexcoord__9CGraphicsFff +/* 8032B97C 003288DC 38 61 00 CC */ addi r3, r1, 0xcc +/* 8032B980 003288E0 4B FD FC 41 */ bl StreamVertex__9CGraphicsFRC9CVector3f +lbl_8032B984: +/* 8032B984 003288E4 3B FF 00 0C */ addi r31, r31, 0xc +/* 8032B988 003288E8 3B DE 00 01 */ addi r30, r30, 1 +lbl_8032B98C: +/* 8032B98C 003288EC 7C 1E D0 00 */ cmpw r30, r26 +/* 8032B990 003288F0 41 80 FC 54 */ blt lbl_8032B5E4 +/* 8032B994 003288F4 80 79 00 24 */ lwz r3, 0x24(r25) +/* 8032B998 003288F8 80 03 00 3C */ lwz r0, 0x3c(r3) +/* 8032B99C 003288FC 28 00 00 00 */ cmplwi r0, 0 +/* 8032B9A0 00328900 41 82 00 1C */ beq lbl_8032B9BC +/* 8032B9A4 00328904 80 19 01 B0 */ lwz r0, 0x1b0(r25) +/* 8032B9A8 00328908 2C 00 00 00 */ cmpwi r0, 0 +/* 8032B9AC 0032890C 40 81 00 10 */ ble lbl_8032B9BC +/* 8032B9B0 00328910 C0 19 01 D4 */ lfs f0, 0x1d4(r25) +/* 8032B9B4 00328914 EC 00 78 2A */ fadds f0, f0, f15 +/* 8032B9B8 00328918 D0 19 01 D4 */ stfs f0, 0x1d4(r25) +lbl_8032B9BC: +/* 8032B9BC 0032891C 3B BD 00 01 */ addi r29, r29, 1 +lbl_8032B9C0: +/* 8032B9C0 00328920 80 79 01 B0 */ lwz r3, 0x1b0(r25) +/* 8032B9C4 00328924 38 63 00 01 */ addi r3, r3, 1 +/* 8032B9C8 00328928 7C 1D 18 00 */ cmpw r29, r3 +/* 8032B9CC 0032892C 41 80 FB 78 */ blt lbl_8032B544 +/* 8032B9D0 00328930 37 9C FF FF */ addic. r28, r28, -1 +/* 8032B9D4 00328934 40 80 00 0C */ bge lbl_8032B9E0 +/* 8032B9D8 00328938 80 79 01 60 */ lwz r3, 0x160(r25) +/* 8032B9DC 0032893C 3B 83 FF FF */ addi r28, r3, -1 +lbl_8032B9E0: +/* 8032B9E0 00328940 80 61 01 54 */ lwz r3, 0x154(r1) +/* 8032B9E4 00328944 38 63 00 01 */ addi r3, r3, 1 +/* 8032B9E8 00328948 90 61 01 54 */ stw r3, 0x154(r1) +lbl_8032B9EC: +/* 8032B9EC 0032894C 80 79 01 60 */ lwz r3, 0x160(r25) +/* 8032B9F0 00328950 80 01 01 54 */ lwz r0, 0x154(r1) +/* 8032B9F4 00328954 38 63 FF FF */ addi r3, r3, -1 +/* 8032B9F8 00328958 7C 00 18 00 */ cmpw r0, r3 +/* 8032B9FC 0032895C 41 80 F5 B0 */ blt lbl_8032AFAC +/* 8032BA00 00328960 4B FD FA 11 */ bl StreamEnd__9CGraphicsFv +/* 8032BA04 00328964 E3 E1 02 A8 */ psq_l f31, 680(r1), 0, qr0 +/* 8032BA08 00328968 CB E1 02 A0 */ lfd f31, 0x2a0(r1) +/* 8032BA0C 0032896C E3 C1 02 98 */ psq_l f30, 664(r1), 0, qr0 +/* 8032BA10 00328970 CB C1 02 90 */ lfd f30, 0x290(r1) +/* 8032BA14 00328974 E3 A1 02 88 */ psq_l f29, 648(r1), 0, qr0 +/* 8032BA18 00328978 CB A1 02 80 */ lfd f29, 0x280(r1) +/* 8032BA1C 0032897C E3 81 02 78 */ psq_l f28, 632(r1), 0, qr0 +/* 8032BA20 00328980 CB 81 02 70 */ lfd f28, 0x270(r1) +/* 8032BA24 00328984 E3 61 02 68 */ psq_l f27, 616(r1), 0, qr0 +/* 8032BA28 00328988 CB 61 02 60 */ lfd f27, 0x260(r1) +/* 8032BA2C 0032898C E3 41 02 58 */ psq_l f26, 600(r1), 0, qr0 +/* 8032BA30 00328990 CB 41 02 50 */ lfd f26, 0x250(r1) +/* 8032BA34 00328994 E3 21 02 48 */ psq_l f25, 584(r1), 0, qr0 +/* 8032BA38 00328998 CB 21 02 40 */ lfd f25, 0x240(r1) +/* 8032BA3C 0032899C E3 01 02 38 */ psq_l f24, 568(r1), 0, qr0 +/* 8032BA40 003289A0 CB 01 02 30 */ lfd f24, 0x230(r1) +/* 8032BA44 003289A4 E2 E1 02 28 */ psq_l f23, 552(r1), 0, qr0 +/* 8032BA48 003289A8 CA E1 02 20 */ lfd f23, 0x220(r1) +/* 8032BA4C 003289AC E2 C1 02 18 */ psq_l f22, 536(r1), 0, qr0 +/* 8032BA50 003289B0 CA C1 02 10 */ lfd f22, 0x210(r1) +/* 8032BA54 003289B4 E2 A1 02 08 */ psq_l f21, 520(r1), 0, qr0 +/* 8032BA58 003289B8 CA A1 02 00 */ lfd f21, 0x200(r1) +/* 8032BA5C 003289BC E2 81 01 F8 */ psq_l f20, 504(r1), 0, qr0 +/* 8032BA60 003289C0 CA 81 01 F0 */ lfd f20, 0x1f0(r1) +/* 8032BA64 003289C4 E2 61 01 E8 */ psq_l f19, 488(r1), 0, qr0 +/* 8032BA68 003289C8 CA 61 01 E0 */ lfd f19, 0x1e0(r1) +/* 8032BA6C 003289CC E2 41 01 D8 */ psq_l f18, 472(r1), 0, qr0 +/* 8032BA70 003289D0 CA 41 01 D0 */ lfd f18, 0x1d0(r1) +/* 8032BA74 003289D4 E2 21 01 C8 */ psq_l f17, 456(r1), 0, qr0 +/* 8032BA78 003289D8 CA 21 01 C0 */ lfd f17, 0x1c0(r1) +/* 8032BA7C 003289DC E2 01 01 B8 */ psq_l f16, 440(r1), 0, qr0 +/* 8032BA80 003289E0 CA 01 01 B0 */ lfd f16, 0x1b0(r1) +/* 8032BA84 003289E4 E1 E1 01 A8 */ psq_l f15, 424(r1), 0, qr0 +/* 8032BA88 003289E8 C9 E1 01 A0 */ lfd f15, 0x1a0(r1) +/* 8032BA8C 003289EC B9 C1 01 58 */ lmw r14, 0x158(r1) +/* 8032BA90 003289F0 80 01 02 B4 */ lwz r0, 0x2b4(r1) +/* 8032BA94 003289F4 7C 08 03 A6 */ mtlr r0 +/* 8032BA98 003289F8 38 21 02 B0 */ addi r1, r1, 0x2b0 +/* 8032BA9C 003289FC 4E 80 00 20 */ blr + +.global RenderNSidedNoSpline__15CParticleSwooshFv +RenderNSidedNoSpline__15CParticleSwooshFv: +/* 8032BAA0 00328A00 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8032BAA4 00328A04 7C 08 02 A6 */ mflr r0 +/* 8032BAA8 00328A08 90 01 00 14 */ stw r0, 0x14(r1) +/* 8032BAAC 00328A0C 4B FF F3 F1 */ bl RenderNSidedSpline__15CParticleSwooshFv +/* 8032BAB0 00328A10 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8032BAB4 00328A14 7C 08 03 A6 */ mtlr r0 +/* 8032BAB8 00328A18 38 21 00 10 */ addi r1, r1, 0x10 +/* 8032BABC 00328A1C 4E 80 00 20 */ blr + +.global Render3SidedSolidSpline__15CParticleSwooshFv +Render3SidedSolidSpline__15CParticleSwooshFv: +/* 8032BAC0 00328A20 94 21 FD 80 */ stwu r1, -0x280(r1) +/* 8032BAC4 00328A24 7C 08 02 A6 */ mflr r0 +/* 8032BAC8 00328A28 90 01 02 84 */ stw r0, 0x284(r1) +/* 8032BACC 00328A2C DB E1 02 70 */ stfd f31, 0x270(r1) +/* 8032BAD0 00328A30 F3 E1 02 78 */ psq_st f31, 632(r1), 0, qr0 +/* 8032BAD4 00328A34 DB C1 02 60 */ stfd f30, 0x260(r1) +/* 8032BAD8 00328A38 F3 C1 02 68 */ psq_st f30, 616(r1), 0, qr0 +/* 8032BADC 00328A3C DB A1 02 50 */ stfd f29, 0x250(r1) +/* 8032BAE0 00328A40 F3 A1 02 58 */ psq_st f29, 600(r1), 0, qr0 +/* 8032BAE4 00328A44 DB 81 02 40 */ stfd f28, 0x240(r1) +/* 8032BAE8 00328A48 F3 81 02 48 */ psq_st f28, 584(r1), 0, qr0 +/* 8032BAEC 00328A4C DB 61 02 30 */ stfd f27, 0x230(r1) +/* 8032BAF0 00328A50 F3 61 02 38 */ psq_st f27, 568(r1), 0, qr0 +/* 8032BAF4 00328A54 DB 41 02 20 */ stfd f26, 0x220(r1) +/* 8032BAF8 00328A58 F3 41 02 28 */ psq_st f26, 552(r1), 0, qr0 +/* 8032BAFC 00328A5C DB 21 02 10 */ stfd f25, 0x210(r1) +/* 8032BB00 00328A60 F3 21 02 18 */ psq_st f25, 536(r1), 0, qr0 +/* 8032BB04 00328A64 DB 01 02 00 */ stfd f24, 0x200(r1) +/* 8032BB08 00328A68 F3 01 02 08 */ psq_st f24, 520(r1), 0, qr0 +/* 8032BB0C 00328A6C DA E1 01 F0 */ stfd f23, 0x1f0(r1) +/* 8032BB10 00328A70 F2 E1 01 F8 */ psq_st f23, 504(r1), 0, qr0 +/* 8032BB14 00328A74 DA C1 01 E0 */ stfd f22, 0x1e0(r1) +/* 8032BB18 00328A78 F2 C1 01 E8 */ psq_st f22, 488(r1), 0, qr0 +/* 8032BB1C 00328A7C DA A1 01 D0 */ stfd f21, 0x1d0(r1) +/* 8032BB20 00328A80 F2 A1 01 D8 */ psq_st f21, 472(r1), 0, qr0 +/* 8032BB24 00328A84 DA 81 01 C0 */ stfd f20, 0x1c0(r1) +/* 8032BB28 00328A88 F2 81 01 C8 */ psq_st f20, 456(r1), 0, qr0 +/* 8032BB2C 00328A8C DA 61 01 B0 */ stfd f19, 0x1b0(r1) +/* 8032BB30 00328A90 F2 61 01 B8 */ psq_st f19, 440(r1), 0, qr0 +/* 8032BB34 00328A94 DA 41 01 A0 */ stfd f18, 0x1a0(r1) +/* 8032BB38 00328A98 F2 41 01 A8 */ psq_st f18, 424(r1), 0, qr0 +/* 8032BB3C 00328A9C DA 21 01 90 */ stfd f17, 0x190(r1) +/* 8032BB40 00328AA0 F2 21 01 98 */ psq_st f17, 408(r1), 0, qr0 +/* 8032BB44 00328AA4 DA 01 01 80 */ stfd f16, 0x180(r1) +/* 8032BB48 00328AA8 F2 01 01 88 */ psq_st f16, 392(r1), 0, qr0 +/* 8032BB4C 00328AAC D9 E1 01 70 */ stfd f15, 0x170(r1) +/* 8032BB50 00328AB0 F1 E1 01 78 */ psq_st f15, 376(r1), 0, qr0 +/* 8032BB54 00328AB4 D9 C1 01 60 */ stfd f14, 0x160(r1) +/* 8032BB58 00328AB8 F1 C1 01 68 */ psq_st f14, 360(r1), 0, qr0 +/* 8032BB5C 00328ABC BE 81 01 30 */ stmw r20, 0x130(r1) +/* 8032BB60 00328AC0 7C 75 1B 78 */ mr r21, r3 +/* 8032BB64 00328AC4 80 03 01 60 */ lwz r0, 0x160(r3) +/* 8032BB68 00328AC8 2C 00 00 02 */ cmpwi r0, 2 +/* 8032BB6C 00328ACC 41 80 0A 88 */ blt lbl_8032C5F4 +/* 8032BB70 00328AD0 3C 60 80 3D */ lis r3, lbl_803D7948@ha +/* 8032BB74 00328AD4 38 63 79 48 */ addi r3, r3, lbl_803D7948@l +/* 8032BB78 00328AD8 4B FD C2 B1 */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList +/* 8032BB7C 00328ADC 38 60 00 01 */ li r3, 1 +/* 8032BB80 00328AE0 4B FD D2 D1 */ bl SetNumChans__3CGXFUc +/* 8032BB84 00328AE4 38 60 00 01 */ li r3, 1 +/* 8032BB88 00328AE8 4B FD D2 8D */ bl SetNumTexGens__3CGXFUc +/* 8032BB8C 00328AEC 38 60 00 00 */ li r3, 0 +/* 8032BB90 00328AF0 38 80 00 00 */ li r4, 0 +/* 8032BB94 00328AF4 38 A0 00 00 */ li r5, 0 +/* 8032BB98 00328AF8 38 C0 00 04 */ li r6, 4 +/* 8032BB9C 00328AFC 4B FD CD B1 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 8032BBA0 00328B00 38 60 00 00 */ li r3, 0 +/* 8032BBA4 00328B04 38 80 00 00 */ li r4, 0 +/* 8032BBA8 00328B08 38 A0 00 00 */ li r5, 0 +/* 8032BBAC 00328B0C 38 C0 00 01 */ li r6, 1 +/* 8032BBB0 00328B10 38 E0 00 00 */ li r7, 0 +/* 8032BBB4 00328B14 39 00 00 00 */ li r8, 0 +/* 8032BBB8 00328B18 39 20 00 02 */ li r9, 2 +/* 8032BBBC 00328B1C 4B FD D1 11 */ bl SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn +/* 8032BBC0 00328B20 38 60 00 00 */ li r3, 0 +/* 8032BBC4 00328B24 38 80 00 01 */ li r4, 1 +/* 8032BBC8 00328B28 38 A0 00 04 */ li r5, 4 +/* 8032BBCC 00328B2C 38 C0 00 3C */ li r6, 0x3c +/* 8032BBD0 00328B30 38 E0 00 00 */ li r7, 0 +/* 8032BBD4 00328B34 39 00 00 7D */ li r8, 0x7d +/* 8032BBD8 00328B38 4B FD CA F5 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 8032BBDC 00328B3C C0 15 01 E8 */ lfs f0, 0x1e8(r21) +/* 8032BBE0 00328B40 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8032BBE4 00328B44 83 55 01 58 */ lwz r26, 0x158(r21) +/* 8032BBE8 00328B48 3B C3 66 A0 */ addi r30, r3, skZero3f@l +/* 8032BBEC 00328B4C FC 00 00 50 */ fneg f0, f0 +/* 8032BBF0 00328B50 3B 80 00 00 */ li r28, 0 +/* 8032BBF4 00328B54 3B 60 00 00 */ li r27, 0 +/* 8032BBF8 00328B58 3B 20 00 00 */ li r25, 0 +/* 8032BBFC 00328B5C D0 01 00 B0 */ stfs f0, 0xb0(r1) +/* 8032BC00 00328B60 C0 02 CA D0 */ lfs f0, lbl_805AE7F0@sda21(r2) +/* 8032BC04 00328B64 D8 01 00 C8 */ stfd f0, 0xc8(r1) +/* 8032BC08 00328B68 C0 02 CA D4 */ lfs f0, lbl_805AE7F4@sda21(r2) +/* 8032BC0C 00328B6C D8 01 00 D0 */ stfd f0, 0xd0(r1) +/* 8032BC10 00328B70 C8 02 CA D8 */ lfd f0, lbl_805AE7F8@sda21(r2) +/* 8032BC14 00328B74 D8 01 00 D8 */ stfd f0, 0xd8(r1) +/* 8032BC18 00328B78 C0 02 CA AC */ lfs f0, lbl_805AE7CC@sda21(r2) +/* 8032BC1C 00328B7C D8 01 00 E0 */ stfd f0, 0xe0(r1) +/* 8032BC20 00328B80 C0 02 CA B0 */ lfs f0, lbl_805AE7D0@sda21(r2) +/* 8032BC24 00328B84 D8 01 00 E8 */ stfd f0, 0xe8(r1) +/* 8032BC28 00328B88 C0 02 CA B4 */ lfs f0, lbl_805AE7D4@sda21(r2) +/* 8032BC2C 00328B8C D8 01 00 F0 */ stfd f0, 0xf0(r1) +/* 8032BC30 00328B90 C0 02 CA B8 */ lfs f0, lbl_805AE7D8@sda21(r2) +/* 8032BC34 00328B94 D8 01 00 F8 */ stfd f0, 0xf8(r1) +/* 8032BC38 00328B98 C0 02 CA BC */ lfs f0, lbl_805AE7DC@sda21(r2) +/* 8032BC3C 00328B9C D8 01 01 00 */ stfd f0, 0x100(r1) +/* 8032BC40 00328BA0 C0 02 CA C0 */ lfs f0, lbl_805AE7E0@sda21(r2) +/* 8032BC44 00328BA4 D8 01 01 08 */ stfd f0, 0x108(r1) +/* 8032BC48 00328BA8 C0 02 CA C4 */ lfs f0, lbl_805AE7E4@sda21(r2) +/* 8032BC4C 00328BAC D8 01 01 10 */ stfd f0, 0x110(r1) +/* 8032BC50 00328BB0 C0 02 CA C8 */ lfs f0, lbl_805AE7E8@sda21(r2) +/* 8032BC54 00328BB4 D8 01 01 18 */ stfd f0, 0x118(r1) +/* 8032BC58 00328BB8 C0 02 CA 94 */ lfs f0, lbl_805AE7B4@sda21(r2) +/* 8032BC5C 00328BBC D8 01 01 20 */ stfd f0, 0x120(r1) +/* 8032BC60 00328BC0 C0 02 CA F8 */ lfs f0, lbl_805AE818@sda21(r2) +/* 8032BC64 00328BC4 D8 01 01 28 */ stfd f0, 0x128(r1) +/* 8032BC68 00328BC8 48 00 09 80 */ b lbl_8032C5E8 +lbl_8032BC6C: +/* 8032BC6C 00328BCC 57 40 38 30 */ slwi r0, r26, 7 +/* 8032BC70 00328BD0 80 75 01 68 */ lwz r3, 0x168(r21) +/* 8032BC74 00328BD4 37 5A FF FF */ addic. r26, r26, -1 +/* 8032BC78 00328BD8 7F A3 02 14 */ add r29, r3, r0 +/* 8032BC7C 00328BDC 40 80 00 08 */ bge lbl_8032BC84 +/* 8032BC80 00328BE0 3B 44 FF FF */ addi r26, r4, -1 +lbl_8032BC84: +/* 8032BC84 00328BE4 C0 3D 00 30 */ lfs f1, 0x30(r29) +/* 8032BC88 00328BE8 C0 1D 00 34 */ lfs f0, 0x34(r29) +/* 8032BC8C 00328BEC EC 21 00 2A */ fadds f1, f1, f0 +/* 8032BC90 00328BF0 C8 01 00 C8 */ lfd f0, 0xc8(r1) +/* 8032BC94 00328BF4 EC 20 00 72 */ fmuls f1, f0, f1 +/* 8032BC98 00328BF8 C8 01 00 D0 */ lfd f0, 0xd0(r1) +/* 8032BC9C 00328BFC EC 61 00 24 */ fdivs f3, f1, f0 +/* 8032BCA0 00328C00 C8 01 00 D8 */ lfd f0, 0xd8(r1) +/* 8032BCA4 00328C04 FC 20 1A 10 */ fabs f1, f3 +/* 8032BCA8 00328C08 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8032BCAC 00328C0C 40 81 00 64 */ ble lbl_8032BD10 +/* 8032BCB0 00328C10 C0 02 CA E0 */ lfs f0, lbl_805AE800@sda21(r2) +/* 8032BCB4 00328C14 3C 00 43 30 */ lis r0, 0x4330 +/* 8032BCB8 00328C18 90 01 00 A8 */ stw r0, 0xa8(r1) +/* 8032BCBC 00328C1C EC 03 00 32 */ fmuls f0, f3, f0 +/* 8032BCC0 00328C20 C8 42 CA F0 */ lfd f2, lbl_805AE810@sda21(r2) +/* 8032BCC4 00328C24 C0 22 CA E4 */ lfs f1, lbl_805AE804@sda21(r2) +/* 8032BCC8 00328C28 FC 00 00 1E */ fctiwz f0, f0 +/* 8032BCCC 00328C2C D8 01 00 A0 */ stfd f0, 0xa0(r1) +/* 8032BCD0 00328C30 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 8032BCD4 00328C34 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8032BCD8 00328C38 90 01 00 AC */ stw r0, 0xac(r1) +/* 8032BCDC 00328C3C C8 01 00 A8 */ lfd f0, 0xa8(r1) +/* 8032BCE0 00328C40 EC 00 10 28 */ fsubs f0, f0, f2 +/* 8032BCE4 00328C44 EC 80 18 7C */ fnmsubs f4, f0, f1, f3 +/* 8032BCE8 00328C48 C8 01 00 C8 */ lfd f0, 0xc8(r1) +/* 8032BCEC 00328C4C FC 04 00 40 */ fcmpo cr0, f4, f0 +/* 8032BCF0 00328C50 40 81 00 0C */ ble lbl_8032BCFC +/* 8032BCF4 00328C54 EC 84 08 28 */ fsubs f4, f4, f1 +/* 8032BCF8 00328C58 48 00 00 1C */ b lbl_8032BD14 +lbl_8032BCFC: +/* 8032BCFC 00328C5C C0 02 CA E8 */ lfs f0, lbl_805AE808@sda21(r2) +/* 8032BD00 00328C60 FC 04 00 40 */ fcmpo cr0, f4, f0 +/* 8032BD04 00328C64 40 80 00 10 */ bge lbl_8032BD14 +/* 8032BD08 00328C68 EC 81 20 2A */ fadds f4, f1, f4 +/* 8032BD0C 00328C6C 48 00 00 08 */ b lbl_8032BD14 +lbl_8032BD10: +/* 8032BD10 00328C70 FC 80 18 90 */ fmr f4, f3 +lbl_8032BD14: +/* 8032BD14 00328C74 C8 41 01 00 */ lfd f2, 0x100(r1) +/* 8032BD18 00328C78 EC E4 01 32 */ fmuls f7, f4, f4 +/* 8032BD1C 00328C7C C8 01 01 28 */ lfd f0, 0x128(r1) +/* 8032BD20 00328C80 EC A4 00 B2 */ fmuls f5, f4, f2 +/* 8032BD24 00328C84 C0 62 CA A8 */ lfs f3, lbl_805AE7C8@sda21(r2) +/* 8032BD28 00328C88 C8 41 00 E0 */ lfd f2, 0xe0(r1) +/* 8032BD2C 00328C8C EC C4 01 F2 */ fmuls f6, f4, f7 +/* 8032BD30 00328C90 C0 3D 00 04 */ lfs f1, 4(r29) +/* 8032BD34 00328C94 EC 04 00 2A */ fadds f0, f4, f0 +/* 8032BD38 00328C98 EC 67 18 BA */ fmadds f3, f7, f2, f3 +/* 8032BD3C 00328C9C C8 41 01 20 */ lfd f2, 0x120(r1) +/* 8032BD40 00328CA0 EC 87 01 F2 */ fmuls f4, f7, f7 +/* 8032BD44 00328CA4 D0 41 00 94 */ stfs f2, 0x94(r1) +/* 8032BD48 00328CA8 C8 41 01 08 */ lfd f2, 0x108(r1) +/* 8032BD4C 00328CAC EC A6 28 BA */ fmadds f5, f6, f2, f5 +/* 8032BD50 00328CB0 C8 41 00 E8 */ lfd f2, 0xe8(r1) +/* 8032BD54 00328CB4 EC C6 01 F2 */ fmuls f6, f6, f7 +/* 8032BD58 00328CB8 EC 64 18 BA */ fmadds f3, f4, f2, f3 +/* 8032BD5C 00328CBC C8 41 01 10 */ lfd f2, 0x110(r1) +/* 8032BD60 00328CC0 EC 84 01 F2 */ fmuls f4, f4, f7 +/* 8032BD64 00328CC4 EC A6 28 BA */ fmadds f5, f6, f2, f5 +/* 8032BD68 00328CC8 C8 41 00 F0 */ lfd f2, 0xf0(r1) +/* 8032BD6C 00328CCC EC C6 01 F2 */ fmuls f6, f6, f7 +/* 8032BD70 00328CD0 EC 64 18 BA */ fmadds f3, f4, f2, f3 +/* 8032BD74 00328CD4 C8 41 01 18 */ lfd f2, 0x118(r1) +/* 8032BD78 00328CD8 EC 84 01 F2 */ fmuls f4, f4, f7 +/* 8032BD7C 00328CDC EC A6 28 BA */ fmadds f5, f6, f2, f5 +/* 8032BD80 00328CE0 C8 41 00 C8 */ lfd f2, 0xc8(r1) +/* 8032BD84 00328CE4 FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 8032BD88 00328CE8 C8 41 00 F8 */ lfd f2, 0xf8(r1) +/* 8032BD8C 00328CEC EC 64 18 BA */ fmadds f3, f4, f2, f3 +/* 8032BD90 00328CF0 EC 41 01 72 */ fmuls f2, f1, f5 +/* 8032BD94 00328CF4 EC 61 00 F2 */ fmuls f3, f1, f3 +/* 8032BD98 00328CF8 D0 41 00 98 */ stfs f2, 0x98(r1) +/* 8032BD9C 00328CFC D0 61 00 90 */ stfs f3, 0x90(r1) +/* 8032BDA0 00328D00 40 81 00 0C */ ble lbl_8032BDAC +/* 8032BDA4 00328D04 C0 42 CA E4 */ lfs f2, lbl_805AE804@sda21(r2) +/* 8032BDA8 00328D08 EC 00 10 28 */ fsubs f0, f0, f2 +lbl_8032BDAC: +/* 8032BDAC 00328D0C C8 41 01 00 */ lfd f2, 0x100(r1) +/* 8032BDB0 00328D10 EC E0 00 32 */ fmuls f7, f0, f0 +/* 8032BDB4 00328D14 C0 82 CA A8 */ lfs f4, lbl_805AE7C8@sda21(r2) +/* 8032BDB8 00328D18 EC A0 00 B2 */ fmuls f5, f0, f2 +/* 8032BDBC 00328D1C C8 41 01 20 */ lfd f2, 0x120(r1) +/* 8032BDC0 00328D20 EC C0 01 F2 */ fmuls f6, f0, f7 +/* 8032BDC4 00328D24 D0 41 00 88 */ stfs f2, 0x88(r1) +/* 8032BDC8 00328D28 EC 67 01 F2 */ fmuls f3, f7, f7 +/* 8032BDCC 00328D2C C8 41 00 E0 */ lfd f2, 0xe0(r1) +/* 8032BDD0 00328D30 EC 87 20 BA */ fmadds f4, f7, f2, f4 +/* 8032BDD4 00328D34 C8 41 01 08 */ lfd f2, 0x108(r1) +/* 8032BDD8 00328D38 EC A6 28 BA */ fmadds f5, f6, f2, f5 +/* 8032BDDC 00328D3C C8 41 00 E8 */ lfd f2, 0xe8(r1) +/* 8032BDE0 00328D40 EC C6 01 F2 */ fmuls f6, f6, f7 +/* 8032BDE4 00328D44 EC 83 20 BA */ fmadds f4, f3, f2, f4 +/* 8032BDE8 00328D48 C8 41 01 10 */ lfd f2, 0x110(r1) +/* 8032BDEC 00328D4C EC 63 01 F2 */ fmuls f3, f3, f7 +/* 8032BDF0 00328D50 EC A6 28 BA */ fmadds f5, f6, f2, f5 +/* 8032BDF4 00328D54 C8 41 00 F0 */ lfd f2, 0xf0(r1) +/* 8032BDF8 00328D58 EC C6 01 F2 */ fmuls f6, f6, f7 +/* 8032BDFC 00328D5C EC 83 20 BA */ fmadds f4, f3, f2, f4 +/* 8032BE00 00328D60 C8 41 01 18 */ lfd f2, 0x118(r1) +/* 8032BE04 00328D64 EC 63 01 F2 */ fmuls f3, f3, f7 +/* 8032BE08 00328D68 EC A6 28 BA */ fmadds f5, f6, f2, f5 +/* 8032BE0C 00328D6C C8 41 01 28 */ lfd f2, 0x128(r1) +/* 8032BE10 00328D70 EC 00 10 2A */ fadds f0, f0, f2 +/* 8032BE14 00328D74 C8 41 00 F8 */ lfd f2, 0xf8(r1) +/* 8032BE18 00328D78 EC 83 20 BA */ fmadds f4, f3, f2, f4 +/* 8032BE1C 00328D7C C8 41 00 C8 */ lfd f2, 0xc8(r1) +/* 8032BE20 00328D80 EC 61 01 72 */ fmuls f3, f1, f5 +/* 8032BE24 00328D84 FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 8032BE28 00328D88 EC 41 01 32 */ fmuls f2, f1, f4 +/* 8032BE2C 00328D8C D0 61 00 8C */ stfs f3, 0x8c(r1) +/* 8032BE30 00328D90 D0 41 00 84 */ stfs f2, 0x84(r1) +/* 8032BE34 00328D94 40 81 00 0C */ ble lbl_8032BE40 +/* 8032BE38 00328D98 C0 42 CA E4 */ lfs f2, lbl_805AE804@sda21(r2) +/* 8032BE3C 00328D9C EC 00 10 28 */ fsubs f0, f0, f2 +lbl_8032BE40: +/* 8032BE40 00328DA0 EC C0 00 32 */ fmuls f6, f0, f0 +/* 8032BE44 00328DA4 C8 41 01 00 */ lfd f2, 0x100(r1) +/* 8032BE48 00328DA8 C0 62 CA A8 */ lfs f3, lbl_805AE7C8@sda21(r2) +/* 8032BE4C 00328DAC 2C 19 00 02 */ cmpwi r25, 2 +/* 8032BE50 00328DB0 EC 80 00 B2 */ fmuls f4, f0, f2 +/* 8032BE54 00328DB4 C8 41 01 20 */ lfd f2, 0x120(r1) +/* 8032BE58 00328DB8 EC A0 01 B2 */ fmuls f5, f0, f6 +/* 8032BE5C 00328DBC C8 01 00 E0 */ lfd f0, 0xe0(r1) +/* 8032BE60 00328DC0 D0 41 00 7C */ stfs f2, 0x7c(r1) +/* 8032BE64 00328DC4 EC 46 01 B2 */ fmuls f2, f6, f6 +/* 8032BE68 00328DC8 EC 66 18 3A */ fmadds f3, f6, f0, f3 +/* 8032BE6C 00328DCC C8 01 01 08 */ lfd f0, 0x108(r1) +/* 8032BE70 00328DD0 EC 85 20 3A */ fmadds f4, f5, f0, f4 +/* 8032BE74 00328DD4 C8 01 00 E8 */ lfd f0, 0xe8(r1) +/* 8032BE78 00328DD8 EC A5 01 B2 */ fmuls f5, f5, f6 +/* 8032BE7C 00328DDC EC 62 18 3A */ fmadds f3, f2, f0, f3 +/* 8032BE80 00328DE0 C8 01 01 10 */ lfd f0, 0x110(r1) +/* 8032BE84 00328DE4 EC 42 01 B2 */ fmuls f2, f2, f6 +/* 8032BE88 00328DE8 EC 85 20 3A */ fmadds f4, f5, f0, f4 +/* 8032BE8C 00328DEC C8 01 00 F0 */ lfd f0, 0xf0(r1) +/* 8032BE90 00328DF0 EC A5 01 B2 */ fmuls f5, f5, f6 +/* 8032BE94 00328DF4 EC 62 18 3A */ fmadds f3, f2, f0, f3 +/* 8032BE98 00328DF8 C8 01 01 18 */ lfd f0, 0x118(r1) +/* 8032BE9C 00328DFC EC 42 01 B2 */ fmuls f2, f2, f6 +/* 8032BEA0 00328E00 EC 85 20 3A */ fmadds f4, f5, f0, f4 +/* 8032BEA4 00328E04 C8 01 00 F8 */ lfd f0, 0xf8(r1) +/* 8032BEA8 00328E08 EC 62 18 3A */ fmadds f3, f2, f0, f3 +/* 8032BEAC 00328E0C EC 01 01 32 */ fmuls f0, f1, f4 +/* 8032BEB0 00328E10 EC 21 00 F2 */ fmuls f1, f1, f3 +/* 8032BEB4 00328E14 D0 01 00 80 */ stfs f0, 0x80(r1) +/* 8032BEB8 00328E18 D0 21 00 78 */ stfs f1, 0x78(r1) +/* 8032BEBC 00328E1C C0 3D 00 0C */ lfs f1, 0xc(r29) +/* 8032BEC0 00328E20 C0 1D 00 24 */ lfs f0, 0x24(r29) +/* 8032BEC4 00328E24 C0 7D 00 10 */ lfs f3, 0x10(r29) +/* 8032BEC8 00328E28 EF A1 00 2A */ fadds f29, f1, f0 +/* 8032BECC 00328E2C C0 5D 00 28 */ lfs f2, 0x28(r29) +/* 8032BED0 00328E30 C0 3D 00 14 */ lfs f1, 0x14(r29) +/* 8032BED4 00328E34 C0 1D 00 2C */ lfs f0, 0x2c(r29) +/* 8032BED8 00328E38 EF E3 10 2A */ fadds f31, f3, f2 +/* 8032BEDC 00328E3C EF C1 00 2A */ fadds f30, f1, f0 +/* 8032BEE0 00328E40 40 82 00 E4 */ bne lbl_8032BFC4 +/* 8032BEE4 00328E44 80 95 01 88 */ lwz r4, 0x188(r21) +/* 8032BEE8 00328E48 80 75 01 78 */ lwz r3, 0x178(r21) +/* 8032BEEC 00328E4C C0 C2 CA A0 */ lfs f6, lbl_805AE7C0@sda21(r2) +/* 8032BEF0 00328E50 C0 04 00 00 */ lfs f0, 0(r4) +/* 8032BEF4 00328E54 C0 64 00 04 */ lfs f3, 4(r4) +/* 8032BEF8 00328E58 EC 26 00 32 */ fmuls f1, f6, f0 +/* 8032BEFC 00328E5C C0 03 00 00 */ lfs f0, 0(r3) +/* 8032BF00 00328E60 C0 44 00 08 */ lfs f2, 8(r4) +/* 8032BF04 00328E64 EC 86 00 F2 */ fmuls f4, f6, f3 +/* 8032BF08 00328E68 C0 63 00 04 */ lfs f3, 4(r3) +/* 8032BF0C 00328E6C EC 01 00 28 */ fsubs f0, f1, f0 +/* 8032BF10 00328E70 EC 46 00 B2 */ fmuls f2, f6, f2 +/* 8032BF14 00328E74 C0 23 00 08 */ lfs f1, 8(r3) +/* 8032BF18 00328E78 80 75 01 A8 */ lwz r3, 0x1a8(r21) +/* 8032BF1C 00328E7C EC 64 18 28 */ fsubs f3, f4, f3 +/* 8032BF20 00328E80 D0 03 00 00 */ stfs f0, 0(r3) +/* 8032BF24 00328E84 EC 02 08 28 */ fsubs f0, f2, f1 +/* 8032BF28 00328E88 D0 63 00 04 */ stfs f3, 4(r3) +/* 8032BF2C 00328E8C D0 03 00 08 */ stfs f0, 8(r3) +/* 8032BF30 00328E90 80 75 01 88 */ lwz r3, 0x188(r21) +/* 8032BF34 00328E94 80 95 01 78 */ lwz r4, 0x178(r21) +/* 8032BF38 00328E98 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 8032BF3C 00328E9C C0 63 00 10 */ lfs f3, 0x10(r3) +/* 8032BF40 00328EA0 C0 43 00 14 */ lfs f2, 0x14(r3) +/* 8032BF44 00328EA4 EC 26 00 32 */ fmuls f1, f6, f0 +/* 8032BF48 00328EA8 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 8032BF4C 00328EAC EC A6 00 F2 */ fmuls f5, f6, f3 +/* 8032BF50 00328EB0 C0 84 00 10 */ lfs f4, 0x10(r4) +/* 8032BF54 00328EB4 EC 66 00 B2 */ fmuls f3, f6, f2 +/* 8032BF58 00328EB8 C0 44 00 14 */ lfs f2, 0x14(r4) +/* 8032BF5C 00328EBC EC 01 00 28 */ fsubs f0, f1, f0 +/* 8032BF60 00328EC0 80 75 01 A8 */ lwz r3, 0x1a8(r21) +/* 8032BF64 00328EC4 EC 85 20 28 */ fsubs f4, f5, f4 +/* 8032BF68 00328EC8 EC 23 10 28 */ fsubs f1, f3, f2 +/* 8032BF6C 00328ECC D0 03 00 0C */ stfs f0, 0xc(r3) +/* 8032BF70 00328ED0 D0 83 00 10 */ stfs f4, 0x10(r3) +/* 8032BF74 00328ED4 D0 23 00 14 */ stfs f1, 0x14(r3) +/* 8032BF78 00328ED8 80 75 01 88 */ lwz r3, 0x188(r21) +/* 8032BF7C 00328EDC 80 95 01 78 */ lwz r4, 0x178(r21) +/* 8032BF80 00328EE0 C0 03 00 18 */ lfs f0, 0x18(r3) +/* 8032BF84 00328EE4 C0 63 00 1C */ lfs f3, 0x1c(r3) +/* 8032BF88 00328EE8 C0 43 00 20 */ lfs f2, 0x20(r3) +/* 8032BF8C 00328EEC EC 26 00 32 */ fmuls f1, f6, f0 +/* 8032BF90 00328EF0 C0 04 00 18 */ lfs f0, 0x18(r4) +/* 8032BF94 00328EF4 EC A6 00 F2 */ fmuls f5, f6, f3 +/* 8032BF98 00328EF8 C0 84 00 1C */ lfs f4, 0x1c(r4) +/* 8032BF9C 00328EFC EC 66 00 B2 */ fmuls f3, f6, f2 +/* 8032BFA0 00328F00 C0 44 00 20 */ lfs f2, 0x20(r4) +/* 8032BFA4 00328F04 EC 01 00 28 */ fsubs f0, f1, f0 +/* 8032BFA8 00328F08 80 75 01 A8 */ lwz r3, 0x1a8(r21) +/* 8032BFAC 00328F0C EC 85 20 28 */ fsubs f4, f5, f4 +/* 8032BFB0 00328F10 EC 23 10 28 */ fsubs f1, f3, f2 +/* 8032BFB4 00328F14 D0 03 00 18 */ stfs f0, 0x18(r3) +/* 8032BFB8 00328F18 D0 83 00 1C */ stfs f4, 0x1c(r3) +/* 8032BFBC 00328F1C D0 23 00 20 */ stfs f1, 0x20(r3) +/* 8032BFC0 00328F20 48 00 00 64 */ b lbl_8032C024 +lbl_8032BFC4: +/* 8032BFC4 00328F24 80 75 01 98 */ lwz r3, 0x198(r21) +/* 8032BFC8 00328F28 80 95 01 A8 */ lwz r4, 0x1a8(r21) +/* 8032BFCC 00328F2C C0 03 00 00 */ lfs f0, 0(r3) +/* 8032BFD0 00328F30 D0 04 00 00 */ stfs f0, 0(r4) +/* 8032BFD4 00328F34 C0 03 00 04 */ lfs f0, 4(r3) +/* 8032BFD8 00328F38 D0 04 00 04 */ stfs f0, 4(r4) +/* 8032BFDC 00328F3C C0 03 00 08 */ lfs f0, 8(r3) +/* 8032BFE0 00328F40 D0 04 00 08 */ stfs f0, 8(r4) +/* 8032BFE4 00328F44 80 95 01 98 */ lwz r4, 0x198(r21) +/* 8032BFE8 00328F48 80 75 01 A8 */ lwz r3, 0x1a8(r21) +/* 8032BFEC 00328F4C C0 04 00 0C */ lfs f0, 0xc(r4) +/* 8032BFF0 00328F50 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 8032BFF4 00328F54 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 8032BFF8 00328F58 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 8032BFFC 00328F5C C0 04 00 14 */ lfs f0, 0x14(r4) +/* 8032C000 00328F60 D0 03 00 14 */ stfs f0, 0x14(r3) +/* 8032C004 00328F64 80 95 01 98 */ lwz r4, 0x198(r21) +/* 8032C008 00328F68 80 75 01 A8 */ lwz r3, 0x1a8(r21) +/* 8032C00C 00328F6C C0 04 00 18 */ lfs f0, 0x18(r4) +/* 8032C010 00328F70 D0 03 00 18 */ stfs f0, 0x18(r3) +/* 8032C014 00328F74 C0 04 00 1C */ lfs f0, 0x1c(r4) +/* 8032C018 00328F78 D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 8032C01C 00328F7C C0 04 00 20 */ lfs f0, 0x20(r4) +/* 8032C020 00328F80 D0 03 00 20 */ stfs f0, 0x20(r3) +lbl_8032C024: +/* 8032C024 00328F84 80 D5 01 88 */ lwz r6, 0x188(r21) +/* 8032C028 00328F88 38 61 00 6C */ addi r3, r1, 0x6c +/* 8032C02C 00328F8C 80 F5 01 98 */ lwz r7, 0x198(r21) +/* 8032C030 00328F90 38 9D 00 38 */ addi r4, r29, 0x38 +/* 8032C034 00328F94 C0 06 00 00 */ lfs f0, 0(r6) +/* 8032C038 00328F98 38 A1 00 90 */ addi r5, r1, 0x90 +/* 8032C03C 00328F9C D0 07 00 00 */ stfs f0, 0(r7) +/* 8032C040 00328FA0 C0 06 00 04 */ lfs f0, 4(r6) +/* 8032C044 00328FA4 D0 07 00 04 */ stfs f0, 4(r7) +/* 8032C048 00328FA8 C0 06 00 08 */ lfs f0, 8(r6) +/* 8032C04C 00328FAC D0 07 00 08 */ stfs f0, 8(r7) +/* 8032C050 00328FB0 80 F5 01 88 */ lwz r7, 0x188(r21) +/* 8032C054 00328FB4 80 D5 01 98 */ lwz r6, 0x198(r21) +/* 8032C058 00328FB8 C0 07 00 0C */ lfs f0, 0xc(r7) +/* 8032C05C 00328FBC D0 06 00 0C */ stfs f0, 0xc(r6) +/* 8032C060 00328FC0 C0 07 00 10 */ lfs f0, 0x10(r7) +/* 8032C064 00328FC4 D0 06 00 10 */ stfs f0, 0x10(r6) +/* 8032C068 00328FC8 C0 07 00 14 */ lfs f0, 0x14(r7) +/* 8032C06C 00328FCC D0 06 00 14 */ stfs f0, 0x14(r6) +/* 8032C070 00328FD0 80 F5 01 88 */ lwz r7, 0x188(r21) +/* 8032C074 00328FD4 80 D5 01 98 */ lwz r6, 0x198(r21) +/* 8032C078 00328FD8 C0 07 00 18 */ lfs f0, 0x18(r7) +/* 8032C07C 00328FDC D0 06 00 18 */ stfs f0, 0x18(r6) +/* 8032C080 00328FE0 C0 07 00 1C */ lfs f0, 0x1c(r7) +/* 8032C084 00328FE4 D0 06 00 1C */ stfs f0, 0x1c(r6) +/* 8032C088 00328FE8 C0 07 00 20 */ lfs f0, 0x20(r7) +/* 8032C08C 00328FEC D0 06 00 20 */ stfs f0, 0x20(r6) +/* 8032C090 00328FF0 80 D5 01 78 */ lwz r6, 0x178(r21) +/* 8032C094 00328FF4 80 F5 01 88 */ lwz r7, 0x188(r21) +/* 8032C098 00328FF8 C0 06 00 00 */ lfs f0, 0(r6) +/* 8032C09C 00328FFC D0 07 00 00 */ stfs f0, 0(r7) +/* 8032C0A0 00329000 C0 06 00 04 */ lfs f0, 4(r6) +/* 8032C0A4 00329004 D0 07 00 04 */ stfs f0, 4(r7) +/* 8032C0A8 00329008 C0 06 00 08 */ lfs f0, 8(r6) +/* 8032C0AC 0032900C D0 07 00 08 */ stfs f0, 8(r7) +/* 8032C0B0 00329010 80 F5 01 78 */ lwz r7, 0x178(r21) +/* 8032C0B4 00329014 80 D5 01 88 */ lwz r6, 0x188(r21) +/* 8032C0B8 00329018 C0 07 00 0C */ lfs f0, 0xc(r7) +/* 8032C0BC 0032901C D0 06 00 0C */ stfs f0, 0xc(r6) +/* 8032C0C0 00329020 C0 07 00 10 */ lfs f0, 0x10(r7) +/* 8032C0C4 00329024 D0 06 00 10 */ stfs f0, 0x10(r6) +/* 8032C0C8 00329028 C0 07 00 14 */ lfs f0, 0x14(r7) +/* 8032C0CC 0032902C D0 06 00 14 */ stfs f0, 0x14(r6) +/* 8032C0D0 00329030 80 F5 01 78 */ lwz r7, 0x178(r21) +/* 8032C0D4 00329034 80 D5 01 88 */ lwz r6, 0x188(r21) +/* 8032C0D8 00329038 C0 07 00 18 */ lfs f0, 0x18(r7) +/* 8032C0DC 0032903C D0 06 00 18 */ stfs f0, 0x18(r6) +/* 8032C0E0 00329040 C0 07 00 1C */ lfs f0, 0x1c(r7) +/* 8032C0E4 00329044 D0 06 00 1C */ stfs f0, 0x1c(r6) +/* 8032C0E8 00329048 C0 07 00 20 */ lfs f0, 0x20(r7) +/* 8032C0EC 0032904C D0 06 00 20 */ stfs f0, 0x20(r6) +/* 8032C0F0 00329050 4B FE 69 F9 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8032C0F4 00329054 C0 01 00 6C */ lfs f0, 0x6c(r1) +/* 8032C0F8 00329058 38 61 00 60 */ addi r3, r1, 0x60 +/* 8032C0FC 0032905C C0 41 00 70 */ lfs f2, 0x70(r1) +/* 8032C100 00329060 38 9D 00 38 */ addi r4, r29, 0x38 +/* 8032C104 00329064 EC 00 E8 2A */ fadds f0, f0, f29 +/* 8032C108 00329068 C0 21 00 74 */ lfs f1, 0x74(r1) +/* 8032C10C 0032906C 80 D5 01 78 */ lwz r6, 0x178(r21) +/* 8032C110 00329070 EC 42 F8 2A */ fadds f2, f2, f31 +/* 8032C114 00329074 EC 21 F0 2A */ fadds f1, f1, f30 +/* 8032C118 00329078 38 A1 00 84 */ addi r5, r1, 0x84 +/* 8032C11C 0032907C D0 06 00 00 */ stfs f0, 0(r6) +/* 8032C120 00329080 D0 46 00 04 */ stfs f2, 4(r6) +/* 8032C124 00329084 D0 26 00 08 */ stfs f1, 8(r6) +/* 8032C128 00329088 4B FE 69 C1 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8032C12C 0032908C C0 01 00 60 */ lfs f0, 0x60(r1) +/* 8032C130 00329090 38 61 00 54 */ addi r3, r1, 0x54 +/* 8032C134 00329094 C0 41 00 64 */ lfs f2, 0x64(r1) +/* 8032C138 00329098 38 9D 00 38 */ addi r4, r29, 0x38 +/* 8032C13C 0032909C EC 00 E8 2A */ fadds f0, f0, f29 +/* 8032C140 003290A0 C0 21 00 68 */ lfs f1, 0x68(r1) +/* 8032C144 003290A4 80 D5 01 78 */ lwz r6, 0x178(r21) +/* 8032C148 003290A8 EC 42 F8 2A */ fadds f2, f2, f31 +/* 8032C14C 003290AC EC 21 F0 2A */ fadds f1, f1, f30 +/* 8032C150 003290B0 38 A1 00 78 */ addi r5, r1, 0x78 +/* 8032C154 003290B4 D0 06 00 0C */ stfs f0, 0xc(r6) +/* 8032C158 003290B8 D0 46 00 10 */ stfs f2, 0x10(r6) +/* 8032C15C 003290BC D0 26 00 14 */ stfs f1, 0x14(r6) +/* 8032C160 003290C0 4B FE 69 89 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8032C164 003290C4 C0 01 00 54 */ lfs f0, 0x54(r1) +/* 8032C168 003290C8 7F 94 E3 78 */ mr r20, r28 +/* 8032C16C 003290CC C0 41 00 58 */ lfs f2, 0x58(r1) +/* 8032C170 003290D0 7F 7C DB 78 */ mr r28, r27 +/* 8032C174 003290D4 EC 00 E8 2A */ fadds f0, f0, f29 +/* 8032C178 003290D8 C0 21 00 5C */ lfs f1, 0x5c(r1) +/* 8032C17C 003290DC 80 75 01 78 */ lwz r3, 0x178(r21) +/* 8032C180 003290E0 EC 42 F8 2A */ fadds f2, f2, f31 +/* 8032C184 003290E4 EC 21 F0 2A */ fadds f1, f1, f30 +/* 8032C188 003290E8 D0 03 00 18 */ stfs f0, 0x18(r3) +/* 8032C18C 003290EC D0 43 00 1C */ stfs f2, 0x1c(r3) +/* 8032C190 003290F0 D0 23 00 20 */ stfs f1, 0x20(r3) +/* 8032C194 003290F4 88 1D 00 00 */ lbz r0, 0(r29) +/* 8032C198 003290F8 28 00 00 00 */ cmplwi r0, 0 +/* 8032C19C 003290FC 41 82 04 48 */ beq lbl_8032C5E4 +/* 8032C1A0 00329100 C2 41 00 B0 */ lfs f18, 0xb0(r1) +/* 8032C1A4 00329104 38 61 00 08 */ addi r3, r1, 8 +/* 8032C1A8 00329108 38 9D 00 6C */ addi r4, r29, 0x6c +/* 8032C1AC 0032910C 38 B5 02 0C */ addi r5, r21, 0x20c +/* 8032C1B0 00329110 48 03 6F C9 */ bl Modulate__6CColorFRC6CColorRC6CColor +/* 8032C1B4 00329114 FC 00 90 90 */ fmr f0, f18 +/* 8032C1B8 00329118 C0 35 01 E8 */ lfs f1, 0x1e8(r21) +/* 8032C1BC 0032911C 2C 19 00 01 */ cmpwi r25, 1 +/* 8032C1C0 00329120 83 61 00 08 */ lwz r27, 8(r1) +/* 8032C1C4 00329124 EC 00 08 2A */ fadds f0, f0, f1 +/* 8032C1C8 00329128 D0 01 00 B0 */ stfs f0, 0xb0(r1) +/* 8032C1CC 0032912C 40 81 04 18 */ ble lbl_8032C5E4 +/* 8032C1D0 00329130 80 75 01 B0 */ lwz r3, 0x1b0(r21) +/* 8032C1D4 00329134 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8032C1D8 00329138 C2 24 66 A0 */ lfs f17, skZero3f@l(r4) +/* 8032C1DC 0032913C 3B 00 00 00 */ li r24, 0 +/* 8032C1E0 00329140 C2 1E 00 04 */ lfs f16, 4(r30) +/* 8032C1E4 00329144 38 03 00 01 */ addi r0, r3, 1 +/* 8032C1E8 00329148 C1 FE 00 08 */ lfs f15, 8(r30) +/* 8032C1EC 0032914C 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8032C1F0 00329150 FF A0 88 90 */ fmr f29, f17 +/* 8032C1F4 00329154 C1 C2 CA 94 */ lfs f14, lbl_805AE7B4@sda21(r2) +/* 8032C1F8 00329158 FF 80 80 90 */ fmr f28, f16 +/* 8032C1FC 0032915C 38 60 00 80 */ li r3, 0x80 +/* 8032C200 00329160 FF 60 78 90 */ fmr f27, f15 +/* 8032C204 00329164 FF 40 88 90 */ fmr f26, f17 +/* 8032C208 00329168 FF 20 80 90 */ fmr f25, f16 +/* 8032C20C 0032916C 54 05 04 3E */ clrlwi r5, r0, 0x10 +/* 8032C210 00329170 FF 00 78 90 */ fmr f24, f15 +/* 8032C214 00329174 38 80 00 00 */ li r4, 0 +/* 8032C218 00329178 4B FD C3 6D */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 8032C21C 0032917C C0 01 00 B0 */ lfs f0, 0xb0(r1) +/* 8032C220 00329180 7E 9D A3 78 */ mr r29, r20 +/* 8032C224 00329184 CB C2 CA F0 */ lfd f30, lbl_805AE810@sda21(r2) +/* 8032C228 00329188 3A E0 00 00 */ li r23, 0 +/* 8032C22C 0032918C EC 12 00 28 */ fsubs f0, f18, f0 +/* 8032C230 00329190 3F E0 43 30 */ lis r31, 0x4330 +/* 8032C234 00329194 3E 80 CC 01 */ lis r20, 0xcc01 +/* 8032C238 00329198 D0 01 00 B4 */ stfs f0, 0xb4(r1) +/* 8032C23C 0032919C 48 00 03 94 */ b lbl_8032C5D0 +lbl_8032C240: +/* 8032C240 003291A0 38 17 00 01 */ addi r0, r23, 1 +/* 8032C244 003291A4 6C 67 80 00 */ xoris r7, r3, 0x8000 +/* 8032C248 003291A8 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8032C24C 003291AC 93 E1 00 A8 */ stw r31, 0xa8(r1) +/* 8032C250 003291B0 FF E0 70 90 */ fmr f31, f14 +/* 8032C254 003291B4 2C 17 00 00 */ cmpwi r23, 0 +/* 8032C258 003291B8 90 01 00 AC */ stw r0, 0xac(r1) +/* 8032C25C 003291BC FE E0 E8 90 */ fmr f23, f29 +/* 8032C260 003291C0 FE C0 E0 90 */ fmr f22, f28 +/* 8032C264 003291C4 7F 16 C3 78 */ mr r22, r24 +/* 8032C268 003291C8 C8 01 00 A8 */ lfd f0, 0xa8(r1) +/* 8032C26C 003291CC FE A0 D8 90 */ fmr f21, f27 +/* 8032C270 003291D0 90 E1 00 A4 */ stw r7, 0xa4(r1) +/* 8032C274 003291D4 FE 80 D0 90 */ fmr f20, f26 +/* 8032C278 003291D8 EC 20 F0 28 */ fsubs f1, f0, f30 +/* 8032C27C 003291DC 93 E1 00 A0 */ stw r31, 0xa0(r1) +/* 8032C280 003291E0 FE 60 C8 90 */ fmr f19, f25 +/* 8032C284 003291E4 FE 40 C0 90 */ fmr f18, f24 +/* 8032C288 003291E8 C8 01 00 A0 */ lfd f0, 0xa0(r1) +/* 8032C28C 003291EC D2 21 00 C0 */ stfs f17, 0xc0(r1) +/* 8032C290 003291F0 EC 00 F0 28 */ fsubs f0, f0, f30 +/* 8032C294 003291F4 D2 01 00 BC */ stfs f16, 0xbc(r1) +/* 8032C298 003291F8 ED C1 00 24 */ fdivs f14, f1, f0 +/* 8032C29C 003291FC D1 E1 00 B8 */ stfs f15, 0xb8(r1) +/* 8032C2A0 00329200 40 82 01 00 */ bne lbl_8032C3A0 +/* 8032C2A4 00329204 3C 00 43 30 */ lis r0, 0x4330 +/* 8032C2A8 00329208 6E E3 80 00 */ xoris r3, r23, 0x8000 +/* 8032C2AC 0032920C 90 61 00 AC */ stw r3, 0xac(r1) +/* 8032C2B0 00329210 7E A4 AB 78 */ mr r4, r21 +/* 8032C2B4 00329214 80 B5 01 78 */ lwz r5, 0x178(r21) +/* 8032C2B8 00329218 38 61 00 48 */ addi r3, r1, 0x48 +/* 8032C2BC 0032921C 90 01 00 A8 */ stw r0, 0xa8(r1) +/* 8032C2C0 00329220 80 D5 01 88 */ lwz r6, 0x188(r21) +/* 8032C2C4 00329224 C8 01 00 A8 */ lfd f0, 0xa8(r1) +/* 8032C2C8 00329228 90 E1 00 A4 */ stw r7, 0xa4(r1) +/* 8032C2CC 0032922C EC 20 F0 28 */ fsubs f1, f0, f30 +/* 8032C2D0 00329230 80 F5 01 98 */ lwz r7, 0x198(r21) +/* 8032C2D4 00329234 90 01 00 A0 */ stw r0, 0xa0(r1) +/* 8032C2D8 00329238 81 15 01 A8 */ lwz r8, 0x1a8(r21) +/* 8032C2DC 0032923C C8 01 00 A0 */ lfd f0, 0xa0(r1) +/* 8032C2E0 00329240 EC 00 F0 28 */ fsubs f0, f0, f30 +/* 8032C2E4 00329244 ED E1 00 24 */ fdivs f15, f1, f0 +/* 8032C2E8 00329248 FC 20 78 90 */ fmr f1, f15 +/* 8032C2EC 0032924C 4B FF E9 3D */ bl GetSplinePoint__15CParticleSwooshCFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ff +/* 8032C2F0 00329250 C0 01 00 48 */ lfs f0, 0x48(r1) +/* 8032C2F4 00329254 FC 20 78 90 */ fmr f1, f15 +/* 8032C2F8 00329258 80 B5 01 78 */ lwz r5, 0x178(r21) +/* 8032C2FC 0032925C 7E A4 AB 78 */ mr r4, r21 +/* 8032C300 00329260 D0 01 00 C0 */ stfs f0, 0xc0(r1) +/* 8032C304 00329264 38 61 00 3C */ addi r3, r1, 0x3c +/* 8032C308 00329268 C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 8032C30C 0032926C 80 D5 01 88 */ lwz r6, 0x188(r21) +/* 8032C310 00329270 38 A5 00 0C */ addi r5, r5, 0xc +/* 8032C314 00329274 D0 01 00 BC */ stfs f0, 0xbc(r1) +/* 8032C318 00329278 C0 01 00 50 */ lfs f0, 0x50(r1) +/* 8032C31C 0032927C 38 C6 00 0C */ addi r6, r6, 0xc +/* 8032C320 00329280 80 F5 01 98 */ lwz r7, 0x198(r21) +/* 8032C324 00329284 81 15 01 A8 */ lwz r8, 0x1a8(r21) +/* 8032C328 00329288 D0 01 00 B8 */ stfs f0, 0xb8(r1) +/* 8032C32C 0032928C 38 E7 00 0C */ addi r7, r7, 0xc +/* 8032C330 00329290 39 08 00 0C */ addi r8, r8, 0xc +/* 8032C334 00329294 4B FF E8 F5 */ bl GetSplinePoint__15CParticleSwooshCFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ff +/* 8032C338 00329298 80 B5 01 78 */ lwz r5, 0x178(r21) +/* 8032C33C 0032929C FC 20 78 90 */ fmr f1, f15 +/* 8032C340 003292A0 80 D5 01 88 */ lwz r6, 0x188(r21) +/* 8032C344 003292A4 7E A4 AB 78 */ mr r4, r21 +/* 8032C348 003292A8 80 F5 01 98 */ lwz r7, 0x198(r21) +/* 8032C34C 003292AC 38 61 00 30 */ addi r3, r1, 0x30 +/* 8032C350 003292B0 81 15 01 A8 */ lwz r8, 0x1a8(r21) +/* 8032C354 003292B4 C2 E1 00 3C */ lfs f23, 0x3c(r1) +/* 8032C358 003292B8 38 A5 00 18 */ addi r5, r5, 0x18 +/* 8032C35C 003292BC C2 C1 00 40 */ lfs f22, 0x40(r1) +/* 8032C360 003292C0 38 C6 00 18 */ addi r6, r6, 0x18 +/* 8032C364 003292C4 C2 A1 00 44 */ lfs f21, 0x44(r1) +/* 8032C368 003292C8 38 E7 00 18 */ addi r7, r7, 0x18 +/* 8032C36C 003292CC 39 08 00 18 */ addi r8, r8, 0x18 +/* 8032C370 003292D0 4B FF E8 B9 */ bl GetSplinePoint__15CParticleSwooshCFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ff +/* 8032C374 003292D4 FC 20 78 90 */ fmr f1, f15 +/* 8032C378 003292D8 C2 81 00 30 */ lfs f20, 0x30(r1) +/* 8032C37C 003292DC C2 61 00 34 */ lfs f19, 0x34(r1) +/* 8032C380 003292E0 7F 83 E3 78 */ mr r3, r28 +/* 8032C384 003292E4 C2 41 00 38 */ lfs f18, 0x38(r1) +/* 8032C388 003292E8 7F A4 EB 78 */ mr r4, r29 +/* 8032C38C 003292EC 48 03 6E 89 */ bl Lerp__6CColorFUiUif +/* 8032C390 003292F0 C0 21 00 B4 */ lfs f1, 0xb4(r1) +/* 8032C394 003292F4 7C 76 1B 78 */ mr r22, r3 +/* 8032C398 003292F8 C0 01 00 B0 */ lfs f0, 0xb0(r1) +/* 8032C39C 003292FC EF EF 00 7A */ fmadds f31, f15, f1, f0 +lbl_8032C3A0: +/* 8032C3A0 00329300 FC 20 70 90 */ fmr f1, f14 +/* 8032C3A4 00329304 80 B5 01 78 */ lwz r5, 0x178(r21) +/* 8032C3A8 00329308 80 D5 01 88 */ lwz r6, 0x188(r21) +/* 8032C3AC 0032930C 7E A4 AB 78 */ mr r4, r21 +/* 8032C3B0 00329310 80 F5 01 98 */ lwz r7, 0x198(r21) +/* 8032C3B4 00329314 38 61 00 24 */ addi r3, r1, 0x24 +/* 8032C3B8 00329318 81 15 01 A8 */ lwz r8, 0x1a8(r21) +/* 8032C3BC 0032931C 4B FF E8 6D */ bl GetSplinePoint__15CParticleSwooshCFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ff +/* 8032C3C0 00329320 80 B5 01 78 */ lwz r5, 0x178(r21) +/* 8032C3C4 00329324 FC 20 70 90 */ fmr f1, f14 +/* 8032C3C8 00329328 80 D5 01 88 */ lwz r6, 0x188(r21) +/* 8032C3CC 0032932C 7E A4 AB 78 */ mr r4, r21 +/* 8032C3D0 00329330 80 F5 01 98 */ lwz r7, 0x198(r21) +/* 8032C3D4 00329334 38 61 00 18 */ addi r3, r1, 0x18 +/* 8032C3D8 00329338 81 15 01 A8 */ lwz r8, 0x1a8(r21) +/* 8032C3DC 0032933C C2 21 00 24 */ lfs f17, 0x24(r1) +/* 8032C3E0 00329340 38 A5 00 0C */ addi r5, r5, 0xc +/* 8032C3E4 00329344 C2 01 00 28 */ lfs f16, 0x28(r1) +/* 8032C3E8 00329348 38 C6 00 0C */ addi r6, r6, 0xc +/* 8032C3EC 0032934C C1 E1 00 2C */ lfs f15, 0x2c(r1) +/* 8032C3F0 00329350 38 E7 00 0C */ addi r7, r7, 0xc +/* 8032C3F4 00329354 39 08 00 0C */ addi r8, r8, 0xc +/* 8032C3F8 00329358 4B FF E8 31 */ bl GetSplinePoint__15CParticleSwooshCFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ff +/* 8032C3FC 0032935C 80 B5 01 78 */ lwz r5, 0x178(r21) +/* 8032C400 00329360 FC 20 70 90 */ fmr f1, f14 +/* 8032C404 00329364 80 D5 01 88 */ lwz r6, 0x188(r21) +/* 8032C408 00329368 7E A4 AB 78 */ mr r4, r21 +/* 8032C40C 0032936C 80 F5 01 98 */ lwz r7, 0x198(r21) +/* 8032C410 00329370 38 61 00 0C */ addi r3, r1, 0xc +/* 8032C414 00329374 81 15 01 A8 */ lwz r8, 0x1a8(r21) +/* 8032C418 00329378 C3 A1 00 18 */ lfs f29, 0x18(r1) +/* 8032C41C 0032937C 38 A5 00 18 */ addi r5, r5, 0x18 +/* 8032C420 00329380 C3 81 00 1C */ lfs f28, 0x1c(r1) +/* 8032C424 00329384 38 C6 00 18 */ addi r6, r6, 0x18 +/* 8032C428 00329388 C3 61 00 20 */ lfs f27, 0x20(r1) +/* 8032C42C 0032938C 38 E7 00 18 */ addi r7, r7, 0x18 +/* 8032C430 00329390 39 08 00 18 */ addi r8, r8, 0x18 +/* 8032C434 00329394 4B FF E7 F5 */ bl GetSplinePoint__15CParticleSwooshCFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ff +/* 8032C438 00329398 FC 20 70 90 */ fmr f1, f14 +/* 8032C43C 0032939C C3 41 00 0C */ lfs f26, 0xc(r1) +/* 8032C440 003293A0 C3 21 00 10 */ lfs f25, 0x10(r1) +/* 8032C444 003293A4 7F 83 E3 78 */ mr r3, r28 +/* 8032C448 003293A8 C3 01 00 14 */ lfs f24, 0x14(r1) +/* 8032C44C 003293AC 7F A4 EB 78 */ mr r4, r29 +/* 8032C450 003293B0 48 03 6D C5 */ bl Lerp__6CColorFUiUif +/* 8032C454 003293B4 C0 01 00 C0 */ lfs f0, 0xc0(r1) +/* 8032C458 003293B8 7C 78 1B 78 */ mr r24, r3 +/* 8032C45C 003293BC C0 21 00 B4 */ lfs f1, 0xb4(r1) +/* 8032C460 003293C0 3A F7 00 01 */ addi r23, r23, 1 +/* 8032C464 003293C4 D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) +/* 8032C468 003293C8 C0 01 00 B0 */ lfs f0, 0xb0(r1) +/* 8032C46C 003293CC ED CE 00 7A */ fmadds f14, f14, f1, f0 +/* 8032C470 003293D0 C0 01 00 BC */ lfs f0, 0xbc(r1) +/* 8032C474 003293D4 D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) +/* 8032C478 003293D8 C0 01 00 B8 */ lfs f0, 0xb8(r1) +/* 8032C47C 003293DC D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) +/* 8032C480 003293E0 92 D4 80 00 */ stw r22, 0xCC008000@l(r20) +/* 8032C484 003293E4 C0 15 01 D8 */ lfs f0, 0x1d8(r21) +/* 8032C488 003293E8 D3 F4 80 00 */ stfs f31, 0xCC008000@l(r20) +/* 8032C48C 003293EC D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) +/* 8032C490 003293F0 D2 F4 80 00 */ stfs f23, 0xCC008000@l(r20) +/* 8032C494 003293F4 D2 D4 80 00 */ stfs f22, 0xCC008000@l(r20) +/* 8032C498 003293F8 D2 B4 80 00 */ stfs f21, 0xCC008000@l(r20) +/* 8032C49C 003293FC 92 D4 80 00 */ stw r22, 0xCC008000@l(r20) +/* 8032C4A0 00329400 C0 15 01 E0 */ lfs f0, 0x1e0(r21) +/* 8032C4A4 00329404 D3 F4 80 00 */ stfs f31, 0xCC008000@l(r20) +/* 8032C4A8 00329408 D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) +/* 8032C4AC 0032940C D3 B4 80 00 */ stfs f29, 0xCC008000@l(r20) +/* 8032C4B0 00329410 D3 94 80 00 */ stfs f28, 0xCC008000@l(r20) +/* 8032C4B4 00329414 D3 74 80 00 */ stfs f27, 0xCC008000@l(r20) +/* 8032C4B8 00329418 93 14 80 00 */ stw r24, 0xCC008000@l(r20) +/* 8032C4BC 0032941C C0 15 01 E0 */ lfs f0, 0x1e0(r21) +/* 8032C4C0 00329420 D1 D4 80 00 */ stfs f14, 0xCC008000@l(r20) +/* 8032C4C4 00329424 D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) +/* 8032C4C8 00329428 D2 34 80 00 */ stfs f17, 0xCC008000@l(r20) +/* 8032C4CC 0032942C D2 14 80 00 */ stfs f16, 0xCC008000@l(r20) +/* 8032C4D0 00329430 D1 F4 80 00 */ stfs f15, 0xCC008000@l(r20) +/* 8032C4D4 00329434 93 14 80 00 */ stw r24, 0xCC008000@l(r20) +/* 8032C4D8 00329438 C0 15 01 D8 */ lfs f0, 0x1d8(r21) +/* 8032C4DC 0032943C D1 D4 80 00 */ stfs f14, 0xCC008000@l(r20) +/* 8032C4E0 00329440 D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) +/* 8032C4E4 00329444 D2 F4 80 00 */ stfs f23, 0xCC008000@l(r20) +/* 8032C4E8 00329448 D2 D4 80 00 */ stfs f22, 0xCC008000@l(r20) +/* 8032C4EC 0032944C D2 B4 80 00 */ stfs f21, 0xCC008000@l(r20) +/* 8032C4F0 00329450 92 D4 80 00 */ stw r22, 0xCC008000@l(r20) +/* 8032C4F4 00329454 C0 15 01 D8 */ lfs f0, 0x1d8(r21) +/* 8032C4F8 00329458 D3 F4 80 00 */ stfs f31, 0xCC008000@l(r20) +/* 8032C4FC 0032945C D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) +/* 8032C500 00329460 D2 94 80 00 */ stfs f20, 0xCC008000@l(r20) +/* 8032C504 00329464 D2 74 80 00 */ stfs f19, 0xCC008000@l(r20) +/* 8032C508 00329468 D2 54 80 00 */ stfs f18, 0xCC008000@l(r20) +/* 8032C50C 0032946C 92 D4 80 00 */ stw r22, 0xCC008000@l(r20) +/* 8032C510 00329470 C0 15 01 E0 */ lfs f0, 0x1e0(r21) +/* 8032C514 00329474 D3 F4 80 00 */ stfs f31, 0xCC008000@l(r20) +/* 8032C518 00329478 D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) +/* 8032C51C 0032947C D3 54 80 00 */ stfs f26, 0xCC008000@l(r20) +/* 8032C520 00329480 D3 34 80 00 */ stfs f25, 0xCC008000@l(r20) +/* 8032C524 00329484 D3 14 80 00 */ stfs f24, 0xCC008000@l(r20) +/* 8032C528 00329488 93 14 80 00 */ stw r24, 0xCC008000@l(r20) +/* 8032C52C 0032948C C0 15 01 E0 */ lfs f0, 0x1e0(r21) +/* 8032C530 00329490 D1 D4 80 00 */ stfs f14, 0xCC008000@l(r20) +/* 8032C534 00329494 D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) +/* 8032C538 00329498 D3 B4 80 00 */ stfs f29, 0xCC008000@l(r20) +/* 8032C53C 0032949C D3 94 80 00 */ stfs f28, 0xCC008000@l(r20) +/* 8032C540 003294A0 D3 74 80 00 */ stfs f27, 0xCC008000@l(r20) +/* 8032C544 003294A4 93 14 80 00 */ stw r24, 0xCC008000@l(r20) +/* 8032C548 003294A8 C0 15 01 D8 */ lfs f0, 0x1d8(r21) +/* 8032C54C 003294AC D1 D4 80 00 */ stfs f14, 0xCC008000@l(r20) +/* 8032C550 003294B0 D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) +/* 8032C554 003294B4 D2 94 80 00 */ stfs f20, 0xCC008000@l(r20) +/* 8032C558 003294B8 D2 74 80 00 */ stfs f19, 0xCC008000@l(r20) +/* 8032C55C 003294BC D2 54 80 00 */ stfs f18, 0xCC008000@l(r20) +/* 8032C560 003294C0 92 D4 80 00 */ stw r22, 0xCC008000@l(r20) +/* 8032C564 003294C4 C0 15 01 D8 */ lfs f0, 0x1d8(r21) +/* 8032C568 003294C8 D3 F4 80 00 */ stfs f31, 0xCC008000@l(r20) +/* 8032C56C 003294CC D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) +/* 8032C570 003294D0 C0 01 00 C0 */ lfs f0, 0xc0(r1) +/* 8032C574 003294D4 D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) +/* 8032C578 003294D8 C0 01 00 BC */ lfs f0, 0xbc(r1) +/* 8032C57C 003294DC D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) +/* 8032C580 003294E0 C0 01 00 B8 */ lfs f0, 0xb8(r1) +/* 8032C584 003294E4 D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) +/* 8032C588 003294E8 92 D4 80 00 */ stw r22, 0xCC008000@l(r20) +/* 8032C58C 003294EC C0 15 01 E0 */ lfs f0, 0x1e0(r21) +/* 8032C590 003294F0 D3 F4 80 00 */ stfs f31, 0xCC008000@l(r20) +/* 8032C594 003294F4 D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) +/* 8032C598 003294F8 D2 34 80 00 */ stfs f17, 0xCC008000@l(r20) +/* 8032C59C 003294FC D2 14 80 00 */ stfs f16, 0xCC008000@l(r20) +/* 8032C5A0 00329500 D1 F4 80 00 */ stfs f15, 0xCC008000@l(r20) +/* 8032C5A4 00329504 93 14 80 00 */ stw r24, 0xCC008000@l(r20) +/* 8032C5A8 00329508 C0 15 01 E0 */ lfs f0, 0x1e0(r21) +/* 8032C5AC 0032950C D1 D4 80 00 */ stfs f14, 0xCC008000@l(r20) +/* 8032C5B0 00329510 D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) +/* 8032C5B4 00329514 D3 54 80 00 */ stfs f26, 0xCC008000@l(r20) +/* 8032C5B8 00329518 D3 34 80 00 */ stfs f25, 0xCC008000@l(r20) +/* 8032C5BC 0032951C D3 14 80 00 */ stfs f24, 0xCC008000@l(r20) +/* 8032C5C0 00329520 93 14 80 00 */ stw r24, 0xCC008000@l(r20) +/* 8032C5C4 00329524 C0 15 01 D8 */ lfs f0, 0x1d8(r21) +/* 8032C5C8 00329528 D1 D4 80 00 */ stfs f14, 0xCC008000@l(r20) +/* 8032C5CC 0032952C D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) +lbl_8032C5D0: +/* 8032C5D0 00329530 80 75 01 B0 */ lwz r3, 0x1b0(r21) +/* 8032C5D4 00329534 38 63 00 01 */ addi r3, r3, 1 +/* 8032C5D8 00329538 7C 17 18 00 */ cmpw r23, r3 +/* 8032C5DC 0032953C 41 80 FC 64 */ blt lbl_8032C240 +/* 8032C5E0 00329540 4B FD BF A1 */ bl End__3CGXFv +lbl_8032C5E4: +/* 8032C5E4 00329544 3B 39 00 01 */ addi r25, r25, 1 +lbl_8032C5E8: +/* 8032C5E8 00329548 80 95 01 60 */ lwz r4, 0x160(r21) +/* 8032C5EC 0032954C 7C 19 20 00 */ cmpw r25, r4 +/* 8032C5F0 00329550 41 80 F6 7C */ blt lbl_8032BC6C +lbl_8032C5F4: +/* 8032C5F4 00329554 E3 E1 02 78 */ psq_l f31, 632(r1), 0, qr0 +/* 8032C5F8 00329558 CB E1 02 70 */ lfd f31, 0x270(r1) +/* 8032C5FC 0032955C E3 C1 02 68 */ psq_l f30, 616(r1), 0, qr0 +/* 8032C600 00329560 CB C1 02 60 */ lfd f30, 0x260(r1) +/* 8032C604 00329564 E3 A1 02 58 */ psq_l f29, 600(r1), 0, qr0 +/* 8032C608 00329568 CB A1 02 50 */ lfd f29, 0x250(r1) +/* 8032C60C 0032956C E3 81 02 48 */ psq_l f28, 584(r1), 0, qr0 +/* 8032C610 00329570 CB 81 02 40 */ lfd f28, 0x240(r1) +/* 8032C614 00329574 E3 61 02 38 */ psq_l f27, 568(r1), 0, qr0 +/* 8032C618 00329578 CB 61 02 30 */ lfd f27, 0x230(r1) +/* 8032C61C 0032957C E3 41 02 28 */ psq_l f26, 552(r1), 0, qr0 +/* 8032C620 00329580 CB 41 02 20 */ lfd f26, 0x220(r1) +/* 8032C624 00329584 E3 21 02 18 */ psq_l f25, 536(r1), 0, qr0 +/* 8032C628 00329588 CB 21 02 10 */ lfd f25, 0x210(r1) +/* 8032C62C 0032958C E3 01 02 08 */ psq_l f24, 520(r1), 0, qr0 +/* 8032C630 00329590 CB 01 02 00 */ lfd f24, 0x200(r1) +/* 8032C634 00329594 E2 E1 01 F8 */ psq_l f23, 504(r1), 0, qr0 +/* 8032C638 00329598 CA E1 01 F0 */ lfd f23, 0x1f0(r1) +/* 8032C63C 0032959C E2 C1 01 E8 */ psq_l f22, 488(r1), 0, qr0 +/* 8032C640 003295A0 CA C1 01 E0 */ lfd f22, 0x1e0(r1) +/* 8032C644 003295A4 E2 A1 01 D8 */ psq_l f21, 472(r1), 0, qr0 +/* 8032C648 003295A8 CA A1 01 D0 */ lfd f21, 0x1d0(r1) +/* 8032C64C 003295AC E2 81 01 C8 */ psq_l f20, 456(r1), 0, qr0 +/* 8032C650 003295B0 CA 81 01 C0 */ lfd f20, 0x1c0(r1) +/* 8032C654 003295B4 E2 61 01 B8 */ psq_l f19, 440(r1), 0, qr0 +/* 8032C658 003295B8 CA 61 01 B0 */ lfd f19, 0x1b0(r1) +/* 8032C65C 003295BC E2 41 01 A8 */ psq_l f18, 424(r1), 0, qr0 +/* 8032C660 003295C0 CA 41 01 A0 */ lfd f18, 0x1a0(r1) +/* 8032C664 003295C4 E2 21 01 98 */ psq_l f17, 408(r1), 0, qr0 +/* 8032C668 003295C8 CA 21 01 90 */ lfd f17, 0x190(r1) +/* 8032C66C 003295CC E2 01 01 88 */ psq_l f16, 392(r1), 0, qr0 +/* 8032C670 003295D0 CA 01 01 80 */ lfd f16, 0x180(r1) +/* 8032C674 003295D4 E1 E1 01 78 */ psq_l f15, 376(r1), 0, qr0 +/* 8032C678 003295D8 C9 E1 01 70 */ lfd f15, 0x170(r1) +/* 8032C67C 003295DC E1 C1 01 68 */ psq_l f14, 360(r1), 0, qr0 +/* 8032C680 003295E0 C9 C1 01 60 */ lfd f14, 0x160(r1) +/* 8032C684 003295E4 BA 81 01 30 */ lmw r20, 0x130(r1) +/* 8032C688 003295E8 80 01 02 84 */ lwz r0, 0x284(r1) +/* 8032C68C 003295EC 7C 08 03 A6 */ mtlr r0 +/* 8032C690 003295F0 38 21 02 80 */ addi r1, r1, 0x280 +/* 8032C694 003295F4 4E 80 00 20 */ blr + +.global Render3SidedSolidNoSplineNoGaps__15CParticleSwooshFv +Render3SidedSolidNoSplineNoGaps__15CParticleSwooshFv: +/* 8032C698 003295F8 94 21 FD F0 */ stwu r1, -0x210(r1) +/* 8032C69C 003295FC 7C 08 02 A6 */ mflr r0 +/* 8032C6A0 00329600 90 01 02 14 */ stw r0, 0x214(r1) +/* 8032C6A4 00329604 DB E1 02 00 */ stfd f31, 0x200(r1) +/* 8032C6A8 00329608 F3 E1 02 08 */ psq_st f31, 520(r1), 0, qr0 +/* 8032C6AC 0032960C DB C1 01 F0 */ stfd f30, 0x1f0(r1) +/* 8032C6B0 00329610 F3 C1 01 F8 */ psq_st f30, 504(r1), 0, qr0 +/* 8032C6B4 00329614 DB A1 01 E0 */ stfd f29, 0x1e0(r1) +/* 8032C6B8 00329618 F3 A1 01 E8 */ psq_st f29, 488(r1), 0, qr0 +/* 8032C6BC 0032961C DB 81 01 D0 */ stfd f28, 0x1d0(r1) +/* 8032C6C0 00329620 F3 81 01 D8 */ psq_st f28, 472(r1), 0, qr0 +/* 8032C6C4 00329624 DB 61 01 C0 */ stfd f27, 0x1c0(r1) +/* 8032C6C8 00329628 F3 61 01 C8 */ psq_st f27, 456(r1), 0, qr0 +/* 8032C6CC 0032962C DB 41 01 B0 */ stfd f26, 0x1b0(r1) +/* 8032C6D0 00329630 F3 41 01 B8 */ psq_st f26, 440(r1), 0, qr0 +/* 8032C6D4 00329634 DB 21 01 A0 */ stfd f25, 0x1a0(r1) +/* 8032C6D8 00329638 F3 21 01 A8 */ psq_st f25, 424(r1), 0, qr0 +/* 8032C6DC 0032963C DB 01 01 90 */ stfd f24, 0x190(r1) +/* 8032C6E0 00329640 F3 01 01 98 */ psq_st f24, 408(r1), 0, qr0 +/* 8032C6E4 00329644 DA E1 01 80 */ stfd f23, 0x180(r1) +/* 8032C6E8 00329648 F2 E1 01 88 */ psq_st f23, 392(r1), 0, qr0 +/* 8032C6EC 0032964C DA C1 01 70 */ stfd f22, 0x170(r1) +/* 8032C6F0 00329650 F2 C1 01 78 */ psq_st f22, 376(r1), 0, qr0 +/* 8032C6F4 00329654 DA A1 01 60 */ stfd f21, 0x160(r1) +/* 8032C6F8 00329658 F2 A1 01 68 */ psq_st f21, 360(r1), 0, qr0 +/* 8032C6FC 0032965C DA 81 01 50 */ stfd f20, 0x150(r1) +/* 8032C700 00329660 F2 81 01 58 */ psq_st f20, 344(r1), 0, qr0 +/* 8032C704 00329664 DA 61 01 40 */ stfd f19, 0x140(r1) +/* 8032C708 00329668 F2 61 01 48 */ psq_st f19, 328(r1), 0, qr0 +/* 8032C70C 0032966C DA 41 01 30 */ stfd f18, 0x130(r1) +/* 8032C710 00329670 F2 41 01 38 */ psq_st f18, 312(r1), 0, qr0 +/* 8032C714 00329674 DA 21 01 20 */ stfd f17, 0x120(r1) +/* 8032C718 00329678 F2 21 01 28 */ psq_st f17, 296(r1), 0, qr0 +/* 8032C71C 0032967C DA 01 01 10 */ stfd f16, 0x110(r1) +/* 8032C720 00329680 F2 01 01 18 */ psq_st f16, 280(r1), 0, qr0 +/* 8032C724 00329684 D9 E1 01 00 */ stfd f15, 0x100(r1) +/* 8032C728 00329688 F1 E1 01 08 */ psq_st f15, 264(r1), 0, qr0 +/* 8032C72C 0032968C BE 21 00 C4 */ stmw r17, 0xc4(r1) +/* 8032C730 00329690 7C 71 1B 78 */ mr r17, r3 +/* 8032C734 00329694 80 03 01 60 */ lwz r0, 0x160(r3) +/* 8032C738 00329698 2C 00 00 02 */ cmpwi r0, 2 +/* 8032C73C 0032969C 41 80 07 F0 */ blt lbl_8032CF2C +/* 8032C740 003296A0 38 80 00 00 */ li r4, 0 +/* 8032C744 003296A4 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8032C748 003296A8 1C 04 00 0C */ mulli r0, r4, 0xc +/* 8032C74C 003296AC 3B E1 00 90 */ addi r31, r1, 0x90 +/* 8032C750 003296B0 90 81 00 8C */ stw r4, 0x8c(r1) +/* 8032C754 003296B4 38 63 66 A0 */ addi r3, r3, skZero3f@l +/* 8032C758 003296B8 7C 9F 02 15 */ add. r4, r31, r0 +/* 8032C75C 003296BC 41 82 00 1C */ beq lbl_8032C778 +/* 8032C760 003296C0 C0 03 00 00 */ lfs f0, 0(r3) +/* 8032C764 003296C4 C0 23 00 04 */ lfs f1, 4(r3) +/* 8032C768 003296C8 D0 04 00 00 */ stfs f0, 0(r4) +/* 8032C76C 003296CC C0 03 00 08 */ lfs f0, 8(r3) +/* 8032C770 003296D0 D0 24 00 04 */ stfs f1, 4(r4) +/* 8032C774 003296D4 D0 04 00 08 */ stfs f0, 8(r4) +lbl_8032C778: +/* 8032C778 003296D8 80 81 00 8C */ lwz r4, 0x8c(r1) +/* 8032C77C 003296DC 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8032C780 003296E0 38 63 66 A0 */ addi r3, r3, skZero3f@l +/* 8032C784 003296E4 38 84 00 01 */ addi r4, r4, 1 +/* 8032C788 003296E8 1C 04 00 0C */ mulli r0, r4, 0xc +/* 8032C78C 003296EC 90 81 00 8C */ stw r4, 0x8c(r1) +/* 8032C790 003296F0 7C 9F 02 15 */ add. r4, r31, r0 +/* 8032C794 003296F4 41 82 00 1C */ beq lbl_8032C7B0 +/* 8032C798 003296F8 C0 03 00 00 */ lfs f0, 0(r3) +/* 8032C79C 003296FC C0 23 00 04 */ lfs f1, 4(r3) +/* 8032C7A0 00329700 D0 04 00 00 */ stfs f0, 0(r4) +/* 8032C7A4 00329704 C0 03 00 08 */ lfs f0, 8(r3) +/* 8032C7A8 00329708 D0 24 00 04 */ stfs f1, 4(r4) +/* 8032C7AC 0032970C D0 04 00 08 */ stfs f0, 8(r4) +lbl_8032C7B0: +/* 8032C7B0 00329710 38 60 00 00 */ li r3, 0 +/* 8032C7B4 00329714 80 81 00 8C */ lwz r4, 0x8c(r1) +/* 8032C7B8 00329718 1C 03 00 0C */ mulli r0, r3, 0xc +/* 8032C7BC 0032971C 3B C1 00 74 */ addi r30, r1, 0x74 +/* 8032C7C0 00329720 38 84 00 01 */ addi r4, r4, 1 +/* 8032C7C4 00329724 90 61 00 70 */ stw r3, 0x70(r1) +/* 8032C7C8 00329728 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8032C7CC 0032972C 7C BE 02 15 */ add. r5, r30, r0 +/* 8032C7D0 00329730 90 81 00 8C */ stw r4, 0x8c(r1) +/* 8032C7D4 00329734 38 63 66 A0 */ addi r3, r3, skZero3f@l +/* 8032C7D8 00329738 41 82 00 1C */ beq lbl_8032C7F4 +/* 8032C7DC 0032973C C0 03 00 00 */ lfs f0, 0(r3) +/* 8032C7E0 00329740 C0 23 00 04 */ lfs f1, 4(r3) +/* 8032C7E4 00329744 D0 05 00 00 */ stfs f0, 0(r5) +/* 8032C7E8 00329748 C0 03 00 08 */ lfs f0, 8(r3) +/* 8032C7EC 0032974C D0 25 00 04 */ stfs f1, 4(r5) +/* 8032C7F0 00329750 D0 05 00 08 */ stfs f0, 8(r5) +lbl_8032C7F4: +/* 8032C7F4 00329754 80 81 00 70 */ lwz r4, 0x70(r1) +/* 8032C7F8 00329758 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8032C7FC 0032975C 38 63 66 A0 */ addi r3, r3, skZero3f@l +/* 8032C800 00329760 38 84 00 01 */ addi r4, r4, 1 +/* 8032C804 00329764 1C 04 00 0C */ mulli r0, r4, 0xc +/* 8032C808 00329768 90 81 00 70 */ stw r4, 0x70(r1) +/* 8032C80C 0032976C 7C 9E 02 15 */ add. r4, r30, r0 +/* 8032C810 00329770 41 82 00 1C */ beq lbl_8032C82C +/* 8032C814 00329774 C0 03 00 00 */ lfs f0, 0(r3) +/* 8032C818 00329778 C0 23 00 04 */ lfs f1, 4(r3) +/* 8032C81C 0032977C D0 04 00 00 */ stfs f0, 0(r4) +/* 8032C820 00329780 C0 03 00 08 */ lfs f0, 8(r3) +/* 8032C824 00329784 D0 24 00 04 */ stfs f1, 4(r4) +/* 8032C828 00329788 D0 04 00 08 */ stfs f0, 8(r4) +lbl_8032C82C: +/* 8032C82C 0032978C 38 60 00 00 */ li r3, 0 +/* 8032C830 00329790 80 81 00 70 */ lwz r4, 0x70(r1) +/* 8032C834 00329794 1C 03 00 0C */ mulli r0, r3, 0xc +/* 8032C838 00329798 3B A1 00 58 */ addi r29, r1, 0x58 +/* 8032C83C 0032979C 38 84 00 01 */ addi r4, r4, 1 +/* 8032C840 003297A0 90 61 00 54 */ stw r3, 0x54(r1) +/* 8032C844 003297A4 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8032C848 003297A8 7C BD 02 15 */ add. r5, r29, r0 +/* 8032C84C 003297AC 90 81 00 70 */ stw r4, 0x70(r1) +/* 8032C850 003297B0 38 63 66 A0 */ addi r3, r3, skZero3f@l +/* 8032C854 003297B4 41 82 00 1C */ beq lbl_8032C870 +/* 8032C858 003297B8 C0 03 00 00 */ lfs f0, 0(r3) +/* 8032C85C 003297BC C0 23 00 04 */ lfs f1, 4(r3) +/* 8032C860 003297C0 D0 05 00 00 */ stfs f0, 0(r5) +/* 8032C864 003297C4 C0 03 00 08 */ lfs f0, 8(r3) +/* 8032C868 003297C8 D0 25 00 04 */ stfs f1, 4(r5) +/* 8032C86C 003297CC D0 05 00 08 */ stfs f0, 8(r5) +lbl_8032C870: +/* 8032C870 003297D0 80 81 00 54 */ lwz r4, 0x54(r1) +/* 8032C874 003297D4 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8032C878 003297D8 38 63 66 A0 */ addi r3, r3, skZero3f@l +/* 8032C87C 003297DC 38 84 00 01 */ addi r4, r4, 1 +/* 8032C880 003297E0 1C 04 00 0C */ mulli r0, r4, 0xc +/* 8032C884 003297E4 90 81 00 54 */ stw r4, 0x54(r1) +/* 8032C888 003297E8 7C 9D 02 15 */ add. r4, r29, r0 +/* 8032C88C 003297EC 41 82 00 1C */ beq lbl_8032C8A8 +/* 8032C890 003297F0 C0 03 00 00 */ lfs f0, 0(r3) +/* 8032C894 003297F4 C0 23 00 04 */ lfs f1, 4(r3) +/* 8032C898 003297F8 D0 04 00 00 */ stfs f0, 0(r4) +/* 8032C89C 003297FC C0 03 00 08 */ lfs f0, 8(r3) +/* 8032C8A0 00329800 D0 24 00 04 */ stfs f1, 4(r4) +/* 8032C8A4 00329804 D0 04 00 08 */ stfs f0, 8(r4) +lbl_8032C8A8: +/* 8032C8A8 00329808 80 81 00 54 */ lwz r4, 0x54(r1) +/* 8032C8AC 0032980C 3C 60 80 3D */ lis r3, lbl_803D7928@ha +/* 8032C8B0 00329810 38 63 79 28 */ addi r3, r3, lbl_803D7928@l +/* 8032C8B4 00329814 38 04 00 01 */ addi r0, r4, 1 +/* 8032C8B8 00329818 90 01 00 54 */ stw r0, 0x54(r1) +/* 8032C8BC 0032981C 4B FD B5 6D */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList +/* 8032C8C0 00329820 38 60 00 01 */ li r3, 1 +/* 8032C8C4 00329824 4B FD C5 8D */ bl SetNumChans__3CGXFUc +/* 8032C8C8 00329828 38 60 00 01 */ li r3, 1 +/* 8032C8CC 0032982C 4B FD C5 49 */ bl SetNumTexGens__3CGXFUc +/* 8032C8D0 00329830 38 60 00 00 */ li r3, 0 +/* 8032C8D4 00329834 38 80 00 00 */ li r4, 0 +/* 8032C8D8 00329838 38 A0 00 00 */ li r5, 0 +/* 8032C8DC 0032983C 38 C0 00 04 */ li r6, 4 +/* 8032C8E0 00329840 4B FD C0 6D */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 8032C8E4 00329844 38 60 00 00 */ li r3, 0 +/* 8032C8E8 00329848 38 80 00 00 */ li r4, 0 +/* 8032C8EC 0032984C 38 A0 00 00 */ li r5, 0 +/* 8032C8F0 00329850 38 C0 00 01 */ li r6, 1 +/* 8032C8F4 00329854 38 E0 00 00 */ li r7, 0 +/* 8032C8F8 00329858 39 00 00 00 */ li r8, 0 +/* 8032C8FC 0032985C 39 20 00 02 */ li r9, 2 +/* 8032C900 00329860 4B FD C3 CD */ bl SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn +/* 8032C904 00329864 38 60 00 00 */ li r3, 0 +/* 8032C908 00329868 38 80 00 01 */ li r4, 1 +/* 8032C90C 0032986C 38 A0 00 04 */ li r5, 4 +/* 8032C910 00329870 38 C0 00 3C */ li r6, 0x3c +/* 8032C914 00329874 38 E0 00 00 */ li r7, 0 +/* 8032C918 00329878 39 00 00 7D */ li r8, 0x7d +/* 8032C91C 0032987C 4B FD BD B1 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 8032C920 00329880 C0 11 01 E8 */ lfs f0, 0x1e8(r17) +/* 8032C924 00329884 3B 20 00 00 */ li r25, 0 +/* 8032C928 00329888 82 B1 01 58 */ lwz r21, 0x158(r17) +/* 8032C92C 0032988C 3B 00 00 01 */ li r24, 1 +/* 8032C930 00329890 FF E0 00 50 */ fneg f31, f0 +/* 8032C934 00329894 C2 22 CA D0 */ lfs f17, lbl_805AE7F0@sda21(r2) +/* 8032C938 00329898 C2 42 CA D4 */ lfs f18, lbl_805AE7F4@sda21(r2) +/* 8032C93C 0032989C 3A C0 00 00 */ li r22, 0 +/* 8032C940 003298A0 CA 62 CA D8 */ lfd f19, lbl_805AE7F8@sda21(r2) +/* 8032C944 003298A4 3A 80 00 00 */ li r20, 0 +/* 8032C948 003298A8 C2 82 CA AC */ lfs f20, lbl_805AE7CC@sda21(r2) +/* 8032C94C 003298AC 3A 60 00 00 */ li r19, 0 +/* 8032C950 003298B0 C2 A2 CA B0 */ lfs f21, lbl_805AE7D0@sda21(r2) +/* 8032C954 003298B4 C2 C2 CA B4 */ lfs f22, lbl_805AE7D4@sda21(r2) +/* 8032C958 003298B8 C2 E2 CA B8 */ lfs f23, lbl_805AE7D8@sda21(r2) +/* 8032C95C 003298BC C3 02 CA BC */ lfs f24, lbl_805AE7DC@sda21(r2) +/* 8032C960 003298C0 C3 22 CA C0 */ lfs f25, lbl_805AE7E0@sda21(r2) +/* 8032C964 003298C4 C3 42 CA C4 */ lfs f26, lbl_805AE7E4@sda21(r2) +/* 8032C968 003298C8 C3 62 CA C8 */ lfs f27, lbl_805AE7E8@sda21(r2) +/* 8032C96C 003298CC C3 82 CA 94 */ lfs f28, lbl_805AE7B4@sda21(r2) +/* 8032C970 003298D0 C3 A2 CA F8 */ lfs f29, lbl_805AE818@sda21(r2) +/* 8032C974 003298D4 48 00 04 B8 */ b lbl_8032CE2C +lbl_8032C978: +/* 8032C978 003298D8 56 A0 38 30 */ slwi r0, r21, 7 +/* 8032C97C 003298DC 80 71 01 68 */ lwz r3, 0x168(r17) +/* 8032C980 003298E0 36 B5 FF FF */ addic. r21, r21, -1 +/* 8032C984 003298E4 7E 43 02 14 */ add r18, r3, r0 +/* 8032C988 003298E8 40 80 00 08 */ bge lbl_8032C990 +/* 8032C98C 003298EC 3A A4 FF FF */ addi r21, r4, -1 +lbl_8032C990: +/* 8032C990 003298F0 C0 32 00 30 */ lfs f1, 0x30(r18) +/* 8032C994 003298F4 C0 12 00 34 */ lfs f0, 0x34(r18) +/* 8032C998 003298F8 EC 01 00 2A */ fadds f0, f1, f0 +/* 8032C99C 003298FC EC 11 00 32 */ fmuls f0, f17, f0 +/* 8032C9A0 00329900 EC 60 90 24 */ fdivs f3, f0, f18 +/* 8032C9A4 00329904 FC 00 1A 10 */ fabs f0, f3 +/* 8032C9A8 00329908 FC 00 98 40 */ fcmpo cr0, f0, f19 +/* 8032C9AC 0032990C 40 81 00 60 */ ble lbl_8032CA0C +/* 8032C9B0 00329910 C0 02 CA E0 */ lfs f0, lbl_805AE800@sda21(r2) +/* 8032C9B4 00329914 3C 00 43 30 */ lis r0, 0x4330 +/* 8032C9B8 00329918 90 01 00 B0 */ stw r0, 0xb0(r1) +/* 8032C9BC 0032991C EC 03 00 32 */ fmuls f0, f3, f0 +/* 8032C9C0 00329920 C8 42 CA F0 */ lfd f2, lbl_805AE810@sda21(r2) +/* 8032C9C4 00329924 C0 22 CA E4 */ lfs f1, lbl_805AE804@sda21(r2) +/* 8032C9C8 00329928 FC 00 00 1E */ fctiwz f0, f0 +/* 8032C9CC 0032992C D8 01 00 A8 */ stfd f0, 0xa8(r1) +/* 8032C9D0 00329930 80 01 00 AC */ lwz r0, 0xac(r1) +/* 8032C9D4 00329934 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8032C9D8 00329938 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 8032C9DC 0032993C C8 01 00 B0 */ lfd f0, 0xb0(r1) +/* 8032C9E0 00329940 EC 00 10 28 */ fsubs f0, f0, f2 +/* 8032C9E4 00329944 EC 40 18 7C */ fnmsubs f2, f0, f1, f3 +/* 8032C9E8 00329948 FC 02 88 40 */ fcmpo cr0, f2, f17 +/* 8032C9EC 0032994C 40 81 00 0C */ ble lbl_8032C9F8 +/* 8032C9F0 00329950 EC 42 08 28 */ fsubs f2, f2, f1 +/* 8032C9F4 00329954 48 00 00 1C */ b lbl_8032CA10 +lbl_8032C9F8: +/* 8032C9F8 00329958 C0 02 CA E8 */ lfs f0, lbl_805AE808@sda21(r2) +/* 8032C9FC 0032995C FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8032CA00 00329960 40 80 00 10 */ bge lbl_8032CA10 +/* 8032CA04 00329964 EC 41 10 2A */ fadds f2, f1, f2 +/* 8032CA08 00329968 48 00 00 08 */ b lbl_8032CA10 +lbl_8032CA0C: +/* 8032CA0C 0032996C FC 40 18 90 */ fmr f2, f3 +lbl_8032CA10: +/* 8032CA10 00329970 EC C2 00 B2 */ fmuls f6, f2, f2 +/* 8032CA14 00329974 C0 62 CA A8 */ lfs f3, lbl_805AE7C8@sda21(r2) +/* 8032CA18 00329978 C0 32 00 04 */ lfs f1, 4(r18) +/* 8032CA1C 0032997C EC 02 E8 2A */ fadds f0, f2, f29 +/* 8032CA20 00329980 EC 82 06 32 */ fmuls f4, f2, f24 +/* 8032CA24 00329984 EC A2 01 B2 */ fmuls f5, f2, f6 +/* 8032CA28 00329988 EC 66 1D 3A */ fmadds f3, f6, f20, f3 +/* 8032CA2C 0032998C D3 81 00 4C */ stfs f28, 0x4c(r1) +/* 8032CA30 00329990 EC 46 01 B2 */ fmuls f2, f6, f6 +/* 8032CA34 00329994 EC 85 26 7A */ fmadds f4, f5, f25, f4 +/* 8032CA38 00329998 EC A5 01 B2 */ fmuls f5, f5, f6 +/* 8032CA3C 0032999C EC 62 1D 7A */ fmadds f3, f2, f21, f3 +/* 8032CA40 003299A0 EC 42 01 B2 */ fmuls f2, f2, f6 +/* 8032CA44 003299A4 EC 85 26 BA */ fmadds f4, f5, f26, f4 +/* 8032CA48 003299A8 EC A5 01 B2 */ fmuls f5, f5, f6 +/* 8032CA4C 003299AC EC 62 1D BA */ fmadds f3, f2, f22, f3 +/* 8032CA50 003299B0 EC 42 01 B2 */ fmuls f2, f2, f6 +/* 8032CA54 003299B4 EC 85 26 FA */ fmadds f4, f5, f27, f4 +/* 8032CA58 003299B8 FC 00 88 40 */ fcmpo cr0, f0, f17 +/* 8032CA5C 003299BC EC 62 1D FA */ fmadds f3, f2, f23, f3 +/* 8032CA60 003299C0 EC 41 01 32 */ fmuls f2, f1, f4 +/* 8032CA64 003299C4 EC 61 00 F2 */ fmuls f3, f1, f3 +/* 8032CA68 003299C8 D0 41 00 50 */ stfs f2, 0x50(r1) +/* 8032CA6C 003299CC D0 61 00 48 */ stfs f3, 0x48(r1) +/* 8032CA70 003299D0 40 81 00 0C */ ble lbl_8032CA7C +/* 8032CA74 003299D4 C0 42 CA E4 */ lfs f2, lbl_805AE804@sda21(r2) +/* 8032CA78 003299D8 EC 00 10 28 */ fsubs f0, f0, f2 +lbl_8032CA7C: +/* 8032CA7C 003299DC EC C0 00 32 */ fmuls f6, f0, f0 +/* 8032CA80 003299E0 C0 62 CA A8 */ lfs f3, lbl_805AE7C8@sda21(r2) +/* 8032CA84 003299E4 EC 80 06 32 */ fmuls f4, f0, f24 +/* 8032CA88 003299E8 D3 81 00 40 */ stfs f28, 0x40(r1) +/* 8032CA8C 003299EC EC A0 01 B2 */ fmuls f5, f0, f6 +/* 8032CA90 003299F0 EC 66 1D 3A */ fmadds f3, f6, f20, f3 +/* 8032CA94 003299F4 EC 46 01 B2 */ fmuls f2, f6, f6 +/* 8032CA98 003299F8 EC 85 26 7A */ fmadds f4, f5, f25, f4 +/* 8032CA9C 003299FC EC A5 01 B2 */ fmuls f5, f5, f6 +/* 8032CAA0 00329A00 EC 62 1D 7A */ fmadds f3, f2, f21, f3 +/* 8032CAA4 00329A04 EC 42 01 B2 */ fmuls f2, f2, f6 +/* 8032CAA8 00329A08 EC 85 26 BA */ fmadds f4, f5, f26, f4 +/* 8032CAAC 00329A0C EC A5 01 B2 */ fmuls f5, f5, f6 +/* 8032CAB0 00329A10 EC 62 1D BA */ fmadds f3, f2, f22, f3 +/* 8032CAB4 00329A14 EC 42 01 B2 */ fmuls f2, f2, f6 +/* 8032CAB8 00329A18 EC 85 26 FA */ fmadds f4, f5, f27, f4 +/* 8032CABC 00329A1C EC 00 E8 2A */ fadds f0, f0, f29 +/* 8032CAC0 00329A20 EC 62 1D FA */ fmadds f3, f2, f23, f3 +/* 8032CAC4 00329A24 EC 41 01 32 */ fmuls f2, f1, f4 +/* 8032CAC8 00329A28 FC 00 88 40 */ fcmpo cr0, f0, f17 +/* 8032CACC 00329A2C EC 61 00 F2 */ fmuls f3, f1, f3 +/* 8032CAD0 00329A30 D0 41 00 44 */ stfs f2, 0x44(r1) +/* 8032CAD4 00329A34 D0 61 00 3C */ stfs f3, 0x3c(r1) +/* 8032CAD8 00329A38 40 81 00 0C */ ble lbl_8032CAE4 +/* 8032CADC 00329A3C C0 42 CA E4 */ lfs f2, lbl_805AE804@sda21(r2) +/* 8032CAE0 00329A40 EC 00 10 28 */ fsubs f0, f0, f2 +lbl_8032CAE4: +/* 8032CAE4 00329A44 EC A0 00 32 */ fmuls f5, f0, f0 +/* 8032CAE8 00329A48 C0 42 CA A8 */ lfs f2, lbl_805AE7C8@sda21(r2) +/* 8032CAEC 00329A4C EC 60 06 32 */ fmuls f3, f0, f24 +/* 8032CAF0 00329A50 D3 81 00 34 */ stfs f28, 0x34(r1) +/* 8032CAF4 00329A54 38 61 00 24 */ addi r3, r1, 0x24 +/* 8032CAF8 00329A58 38 92 00 38 */ addi r4, r18, 0x38 +/* 8032CAFC 00329A5C EC 80 01 72 */ fmuls f4, f0, f5 +/* 8032CB00 00329A60 38 A1 00 48 */ addi r5, r1, 0x48 +/* 8032CB04 00329A64 EC 45 15 3A */ fmadds f2, f5, f20, f2 +/* 8032CB08 00329A68 EC 05 01 72 */ fmuls f0, f5, f5 +/* 8032CB0C 00329A6C EC 64 1E 7A */ fmadds f3, f4, f25, f3 +/* 8032CB10 00329A70 EC 84 01 72 */ fmuls f4, f4, f5 +/* 8032CB14 00329A74 EC 40 15 7A */ fmadds f2, f0, f21, f2 +/* 8032CB18 00329A78 EC 00 01 72 */ fmuls f0, f0, f5 +/* 8032CB1C 00329A7C EC 64 1E BA */ fmadds f3, f4, f26, f3 +/* 8032CB20 00329A80 EC 84 01 72 */ fmuls f4, f4, f5 +/* 8032CB24 00329A84 EC 40 15 BA */ fmadds f2, f0, f22, f2 +/* 8032CB28 00329A88 EC 00 01 72 */ fmuls f0, f0, f5 +/* 8032CB2C 00329A8C EC 64 1E FA */ fmadds f3, f4, f27, f3 +/* 8032CB30 00329A90 EC 40 15 FA */ fmadds f2, f0, f23, f2 +/* 8032CB34 00329A94 EC 01 00 F2 */ fmuls f0, f1, f3 +/* 8032CB38 00329A98 EC 21 00 B2 */ fmuls f1, f1, f2 +/* 8032CB3C 00329A9C D0 01 00 38 */ stfs f0, 0x38(r1) +/* 8032CB40 00329AA0 D0 21 00 30 */ stfs f1, 0x30(r1) +/* 8032CB44 00329AA4 C0 32 00 0C */ lfs f1, 0xc(r18) +/* 8032CB48 00329AA8 C0 12 00 24 */ lfs f0, 0x24(r18) +/* 8032CB4C 00329AAC C0 72 00 10 */ lfs f3, 0x10(r18) +/* 8032CB50 00329AB0 C0 52 00 28 */ lfs f2, 0x28(r18) +/* 8032CB54 00329AB4 ED E1 00 2A */ fadds f15, f1, f0 +/* 8032CB58 00329AB8 C0 32 00 14 */ lfs f1, 0x14(r18) +/* 8032CB5C 00329ABC C0 12 00 2C */ lfs f0, 0x2c(r18) +/* 8032CB60 00329AC0 EE 03 10 2A */ fadds f16, f3, f2 +/* 8032CB64 00329AC4 EF C1 00 2A */ fadds f30, f1, f0 +/* 8032CB68 00329AC8 4B FE 5F 81 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8032CB6C 00329ACC C0 01 00 24 */ lfs f0, 0x24(r1) +/* 8032CB70 00329AD0 1E F9 00 0C */ mulli r23, r25, 0xc +/* 8032CB74 00329AD4 C0 41 00 28 */ lfs f2, 0x28(r1) +/* 8032CB78 00329AD8 38 61 00 18 */ addi r3, r1, 0x18 +/* 8032CB7C 00329ADC EC 00 78 2A */ fadds f0, f0, f15 +/* 8032CB80 00329AE0 C0 21 00 2C */ lfs f1, 0x2c(r1) +/* 8032CB84 00329AE4 7F 9F BA 14 */ add r28, r31, r23 +/* 8032CB88 00329AE8 EC 42 80 2A */ fadds f2, f2, f16 +/* 8032CB8C 00329AEC 38 92 00 38 */ addi r4, r18, 0x38 +/* 8032CB90 00329AF0 D0 1C 00 00 */ stfs f0, 0(r28) +/* 8032CB94 00329AF4 EC 01 F0 2A */ fadds f0, f1, f30 +/* 8032CB98 00329AF8 38 A1 00 3C */ addi r5, r1, 0x3c +/* 8032CB9C 00329AFC D0 5C 00 04 */ stfs f2, 4(r28) +/* 8032CBA0 00329B00 D0 1C 00 08 */ stfs f0, 8(r28) +/* 8032CBA4 00329B04 4B FE 5F 45 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8032CBA8 00329B08 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 8032CBAC 00329B0C 7F 7E BA 14 */ add r27, r30, r23 +/* 8032CBB0 00329B10 C0 41 00 1C */ lfs f2, 0x1c(r1) +/* 8032CBB4 00329B14 38 61 00 0C */ addi r3, r1, 0xc +/* 8032CBB8 00329B18 EC 00 78 2A */ fadds f0, f0, f15 +/* 8032CBBC 00329B1C C0 21 00 20 */ lfs f1, 0x20(r1) +/* 8032CBC0 00329B20 EC 42 80 2A */ fadds f2, f2, f16 +/* 8032CBC4 00329B24 38 92 00 38 */ addi r4, r18, 0x38 +/* 8032CBC8 00329B28 EC 21 F0 2A */ fadds f1, f1, f30 +/* 8032CBCC 00329B2C 38 A1 00 30 */ addi r5, r1, 0x30 +/* 8032CBD0 00329B30 D0 1B 00 00 */ stfs f0, 0(r27) +/* 8032CBD4 00329B34 D0 5B 00 04 */ stfs f2, 4(r27) +/* 8032CBD8 00329B38 D0 3B 00 08 */ stfs f1, 8(r27) +/* 8032CBDC 00329B3C 4B FE 5F 0D */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8032CBE0 00329B40 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 8032CBE4 00329B44 7F 5D BA 14 */ add r26, r29, r23 +/* 8032CBE8 00329B48 C0 41 00 10 */ lfs f2, 0x10(r1) +/* 8032CBEC 00329B4C 7E D7 B3 78 */ mr r23, r22 +/* 8032CBF0 00329B50 EC 00 78 2A */ fadds f0, f0, f15 +/* 8032CBF4 00329B54 C0 21 00 14 */ lfs f1, 0x14(r1) +/* 8032CBF8 00329B58 88 12 00 00 */ lbz r0, 0(r18) +/* 8032CBFC 00329B5C EC 42 80 2A */ fadds f2, f2, f16 +/* 8032CC00 00329B60 EC 21 F0 2A */ fadds f1, f1, f30 +/* 8032CC04 00329B64 D0 1A 00 00 */ stfs f0, 0(r26) +/* 8032CC08 00329B68 28 00 00 00 */ cmplwi r0, 0 +/* 8032CC0C 00329B6C D0 5A 00 04 */ stfs f2, 4(r26) +/* 8032CC10 00329B70 D0 3A 00 08 */ stfs f1, 8(r26) +/* 8032CC14 00329B74 40 82 00 0C */ bne lbl_8032CC20 +/* 8032CC18 00329B78 3A 80 00 00 */ li r20, 0 +/* 8032CC1C 00329B7C 48 00 01 FC */ b lbl_8032CE18 +lbl_8032CC20: +/* 8032CC20 00329B80 56 80 06 3F */ clrlwi. r0, r20, 0x18 +/* 8032CC24 00329B84 40 82 00 0C */ bne lbl_8032CC30 +/* 8032CC28 00329B88 3A 80 00 01 */ li r20, 1 +/* 8032CC2C 00329B8C 48 00 01 EC */ b lbl_8032CE18 +lbl_8032CC30: +/* 8032CC30 00329B90 38 61 00 08 */ addi r3, r1, 8 +/* 8032CC34 00329B94 38 92 00 6C */ addi r4, r18, 0x6c +/* 8032CC38 00329B98 38 B1 02 0C */ addi r5, r17, 0x20c +/* 8032CC3C 00329B9C 3A 80 00 01 */ li r20, 1 +/* 8032CC40 00329BA0 48 03 65 39 */ bl Modulate__6CColorFRC6CColorRC6CColor +/* 8032CC44 00329BA4 C0 11 01 E8 */ lfs f0, 0x1e8(r17) +/* 8032CC48 00329BA8 FF C0 F8 90 */ fmr f30, f31 +/* 8032CC4C 00329BAC 82 41 00 08 */ lwz r18, 8(r1) +/* 8032CC50 00329BB0 38 60 00 80 */ li r3, 0x80 +/* 8032CC54 00329BB4 EF FF 00 2A */ fadds f31, f31, f0 +/* 8032CC58 00329BB8 38 80 00 00 */ li r4, 0 +/* 8032CC5C 00329BBC 7E 56 93 78 */ mr r22, r18 +/* 8032CC60 00329BC0 38 A0 00 0C */ li r5, 0xc +/* 8032CC64 00329BC4 4B FD B9 21 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 8032CC68 00329BC8 C0 1C 00 00 */ lfs f0, 0(r28) +/* 8032CC6C 00329BCC 1C 18 00 0C */ mulli r0, r24, 0xc +/* 8032CC70 00329BD0 3C 60 CC 01 */ lis r3, 0xCC008000@ha +/* 8032CC74 00329BD4 C0 5C 00 04 */ lfs f2, 4(r28) +/* 8032CC78 00329BD8 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8032CC7C 00329BDC 7C 9E 02 14 */ add r4, r30, r0 +/* 8032CC80 00329BE0 C0 3C 00 08 */ lfs f1, 8(r28) +/* 8032CC84 00329BE4 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8032CC88 00329BE8 7C BF 02 14 */ add r5, r31, r0 +/* 8032CC8C 00329BEC C1 7B 00 00 */ lfs f11, 0(r27) +/* 8032CC90 00329BF0 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8032CC94 00329BF4 C0 9B 00 04 */ lfs f4, 4(r27) +/* 8032CC98 00329BF8 92 43 80 00 */ stw r18, 0xCC008000@l(r3) +/* 8032CC9C 00329BFC C0 7B 00 08 */ lfs f3, 8(r27) +/* 8032CCA0 00329C00 C0 B1 01 D8 */ lfs f5, 0x1d8(r17) +/* 8032CCA4 00329C04 C1 E4 00 00 */ lfs f15, 0(r4) +/* 8032CCA8 00329C08 D3 E3 80 00 */ stfs f31, 0xCC008000@l(r3) +/* 8032CCAC 00329C0C C0 C4 00 04 */ lfs f6, 4(r4) +/* 8032CCB0 00329C10 D0 A3 80 00 */ stfs f5, 0xCC008000@l(r3) +/* 8032CCB4 00329C14 C0 A4 00 08 */ lfs f5, 8(r4) +/* 8032CCB8 00329C18 D1 63 80 00 */ stfs f11, 0xCC008000@l(r3) +/* 8032CCBC 00329C1C C1 A5 00 00 */ lfs f13, 0(r5) +/* 8032CCC0 00329C20 D0 83 80 00 */ stfs f4, 0xCC008000@l(r3) +/* 8032CCC4 00329C24 C1 05 00 04 */ lfs f8, 4(r5) +/* 8032CCC8 00329C28 D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) +/* 8032CCCC 00329C2C C0 E5 00 08 */ lfs f7, 8(r5) +/* 8032CCD0 00329C30 92 43 80 00 */ stw r18, 0xCC008000@l(r3) +/* 8032CCD4 00329C34 C1 9A 00 00 */ lfs f12, 0(r26) +/* 8032CCD8 00329C38 C2 11 01 E0 */ lfs f16, 0x1e0(r17) +/* 8032CCDC 00329C3C C1 5A 00 04 */ lfs f10, 4(r26) +/* 8032CCE0 00329C40 D3 E3 80 00 */ stfs f31, 0xCC008000@l(r3) +/* 8032CCE4 00329C44 C1 3A 00 08 */ lfs f9, 8(r26) +/* 8032CCE8 00329C48 D2 03 80 00 */ stfs f16, 0xCC008000@l(r3) +/* 8032CCEC 00329C4C D1 E3 80 00 */ stfs f15, 0xCC008000@l(r3) +/* 8032CCF0 00329C50 D0 C3 80 00 */ stfs f6, 0xCC008000@l(r3) +/* 8032CCF4 00329C54 D0 A3 80 00 */ stfs f5, 0xCC008000@l(r3) +/* 8032CCF8 00329C58 92 E3 80 00 */ stw r23, 0xCC008000@l(r3) +/* 8032CCFC 00329C5C C2 11 01 E0 */ lfs f16, 0x1e0(r17) +/* 8032CD00 00329C60 D3 C3 80 00 */ stfs f30, 0xCC008000@l(r3) +/* 8032CD04 00329C64 D2 03 80 00 */ stfs f16, 0xCC008000@l(r3) +/* 8032CD08 00329C68 D1 A3 80 00 */ stfs f13, 0xCC008000@l(r3) +/* 8032CD0C 00329C6C D1 03 80 00 */ stfs f8, 0xCC008000@l(r3) +/* 8032CD10 00329C70 D0 E3 80 00 */ stfs f7, 0xCC008000@l(r3) +/* 8032CD14 00329C74 92 E3 80 00 */ stw r23, 0xCC008000@l(r3) +/* 8032CD18 00329C78 C2 11 01 D8 */ lfs f16, 0x1d8(r17) +/* 8032CD1C 00329C7C D3 C3 80 00 */ stfs f30, 0xCC008000@l(r3) +/* 8032CD20 00329C80 D2 03 80 00 */ stfs f16, 0xCC008000@l(r3) +/* 8032CD24 00329C84 D1 63 80 00 */ stfs f11, 0xCC008000@l(r3) +/* 8032CD28 00329C88 D0 83 80 00 */ stfs f4, 0xCC008000@l(r3) +/* 8032CD2C 00329C8C D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) +/* 8032CD30 00329C90 92 43 80 00 */ stw r18, 0xCC008000@l(r3) +/* 8032CD34 00329C94 C0 71 01 D8 */ lfs f3, 0x1d8(r17) +/* 8032CD38 00329C98 D3 E3 80 00 */ stfs f31, 0xCC008000@l(r3) +/* 8032CD3C 00329C9C D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) +/* 8032CD40 00329CA0 D1 83 80 00 */ stfs f12, 0xCC008000@l(r3) +/* 8032CD44 00329CA4 D1 43 80 00 */ stfs f10, 0xCC008000@l(r3) +/* 8032CD48 00329CA8 D1 23 80 00 */ stfs f9, 0xCC008000@l(r3) +/* 8032CD4C 00329CAC 92 43 80 00 */ stw r18, 0xCC008000@l(r3) +/* 8032CD50 00329CB0 C0 71 01 E0 */ lfs f3, 0x1e0(r17) +/* 8032CD54 00329CB4 D3 E3 80 00 */ stfs f31, 0xCC008000@l(r3) +/* 8032CD58 00329CB8 7C 9D 02 14 */ add r4, r29, r0 +/* 8032CD5C 00329CBC D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) +/* 8032CD60 00329CC0 C1 64 00 00 */ lfs f11, 0(r4) +/* 8032CD64 00329CC4 C0 84 00 04 */ lfs f4, 4(r4) +/* 8032CD68 00329CC8 D1 63 80 00 */ stfs f11, 0xCC008000@l(r3) +/* 8032CD6C 00329CCC C0 64 00 08 */ lfs f3, 8(r4) +/* 8032CD70 00329CD0 D0 83 80 00 */ stfs f4, 0xCC008000@l(r3) +/* 8032CD74 00329CD4 D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) +/* 8032CD78 00329CD8 92 E3 80 00 */ stw r23, 0xCC008000@l(r3) +/* 8032CD7C 00329CDC C2 11 01 E0 */ lfs f16, 0x1e0(r17) +/* 8032CD80 00329CE0 D3 C3 80 00 */ stfs f30, 0xCC008000@l(r3) +/* 8032CD84 00329CE4 D2 03 80 00 */ stfs f16, 0xCC008000@l(r3) +/* 8032CD88 00329CE8 D1 E3 80 00 */ stfs f15, 0xCC008000@l(r3) +/* 8032CD8C 00329CEC D0 C3 80 00 */ stfs f6, 0xCC008000@l(r3) +/* 8032CD90 00329CF0 D0 A3 80 00 */ stfs f5, 0xCC008000@l(r3) +/* 8032CD94 00329CF4 92 E3 80 00 */ stw r23, 0xCC008000@l(r3) +/* 8032CD98 00329CF8 C0 B1 01 D8 */ lfs f5, 0x1d8(r17) +/* 8032CD9C 00329CFC D3 C3 80 00 */ stfs f30, 0xCC008000@l(r3) +/* 8032CDA0 00329D00 D0 A3 80 00 */ stfs f5, 0xCC008000@l(r3) +/* 8032CDA4 00329D04 D1 83 80 00 */ stfs f12, 0xCC008000@l(r3) +/* 8032CDA8 00329D08 D1 43 80 00 */ stfs f10, 0xCC008000@l(r3) +/* 8032CDAC 00329D0C D1 23 80 00 */ stfs f9, 0xCC008000@l(r3) +/* 8032CDB0 00329D10 92 43 80 00 */ stw r18, 0xCC008000@l(r3) +/* 8032CDB4 00329D14 C0 B1 01 D8 */ lfs f5, 0x1d8(r17) +/* 8032CDB8 00329D18 D3 E3 80 00 */ stfs f31, 0xCC008000@l(r3) +/* 8032CDBC 00329D1C D0 A3 80 00 */ stfs f5, 0xCC008000@l(r3) +/* 8032CDC0 00329D20 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8032CDC4 00329D24 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 8032CDC8 00329D28 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 8032CDCC 00329D2C 92 43 80 00 */ stw r18, 0xCC008000@l(r3) +/* 8032CDD0 00329D30 C0 11 01 E0 */ lfs f0, 0x1e0(r17) +/* 8032CDD4 00329D34 D3 E3 80 00 */ stfs f31, 0xCC008000@l(r3) +/* 8032CDD8 00329D38 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8032CDDC 00329D3C D1 A3 80 00 */ stfs f13, 0xCC008000@l(r3) +/* 8032CDE0 00329D40 D1 03 80 00 */ stfs f8, 0xCC008000@l(r3) +/* 8032CDE4 00329D44 D0 E3 80 00 */ stfs f7, 0xCC008000@l(r3) +/* 8032CDE8 00329D48 92 E3 80 00 */ stw r23, 0xCC008000@l(r3) +/* 8032CDEC 00329D4C C0 11 01 E0 */ lfs f0, 0x1e0(r17) +/* 8032CDF0 00329D50 D3 C3 80 00 */ stfs f30, 0xCC008000@l(r3) +/* 8032CDF4 00329D54 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8032CDF8 00329D58 D1 63 80 00 */ stfs f11, 0xCC008000@l(r3) +/* 8032CDFC 00329D5C D0 83 80 00 */ stfs f4, 0xCC008000@l(r3) +/* 8032CE00 00329D60 D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) +/* 8032CE04 00329D64 92 E3 80 00 */ stw r23, 0xCC008000@l(r3) +/* 8032CE08 00329D68 C0 11 01 D8 */ lfs f0, 0x1d8(r17) +/* 8032CE0C 00329D6C D3 C3 80 00 */ stfs f30, 0xCC008000@l(r3) +/* 8032CE10 00329D70 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 8032CE14 00329D74 4B FD B7 6D */ bl End__3CGXFv +lbl_8032CE18: +/* 8032CE18 00329D78 3B 39 00 01 */ addi r25, r25, 1 +/* 8032CE1C 00329D7C 3B 18 00 01 */ addi r24, r24, 1 +/* 8032CE20 00329D80 57 39 07 FE */ clrlwi r25, r25, 0x1f +/* 8032CE24 00329D84 3A 73 00 01 */ addi r19, r19, 1 +/* 8032CE28 00329D88 57 18 07 FE */ clrlwi r24, r24, 0x1f +lbl_8032CE2C: +/* 8032CE2C 00329D8C 80 91 01 60 */ lwz r4, 0x160(r17) +/* 8032CE30 00329D90 7C 13 20 00 */ cmpw r19, r4 +/* 8032CE34 00329D94 41 80 FB 44 */ blt lbl_8032C978 +/* 8032CE38 00329D98 80 A1 00 54 */ lwz r5, 0x54(r1) +/* 8032CE3C 00329D9C 38 60 00 00 */ li r3, 0 +/* 8032CE40 00329DA0 2C 05 00 00 */ cmpwi r5, 0 +/* 8032CE44 00329DA4 40 81 00 40 */ ble lbl_8032CE84 +/* 8032CE48 00329DA8 2C 05 00 08 */ cmpwi r5, 8 +/* 8032CE4C 00329DAC 38 85 FF F8 */ addi r4, r5, -8 +/* 8032CE50 00329DB0 40 81 00 20 */ ble lbl_8032CE70 +/* 8032CE54 00329DB4 38 04 00 07 */ addi r0, r4, 7 +/* 8032CE58 00329DB8 54 00 E8 FE */ srwi r0, r0, 3 +/* 8032CE5C 00329DBC 7C 09 03 A6 */ mtctr r0 +/* 8032CE60 00329DC0 2C 04 00 00 */ cmpwi r4, 0 +/* 8032CE64 00329DC4 40 81 00 0C */ ble lbl_8032CE70 +lbl_8032CE68: +/* 8032CE68 00329DC8 38 63 00 08 */ addi r3, r3, 8 +/* 8032CE6C 00329DCC 42 00 FF FC */ bdnz lbl_8032CE68 +lbl_8032CE70: +/* 8032CE70 00329DD0 7C 03 28 50 */ subf r0, r3, r5 +/* 8032CE74 00329DD4 7C 09 03 A6 */ mtctr r0 +/* 8032CE78 00329DD8 7C 03 28 00 */ cmpw r3, r5 +/* 8032CE7C 00329DDC 40 80 00 08 */ bge lbl_8032CE84 +lbl_8032CE80: +/* 8032CE80 00329DE0 42 00 00 00 */ bdnz lbl_8032CE80 +lbl_8032CE84: +/* 8032CE84 00329DE4 80 A1 00 70 */ lwz r5, 0x70(r1) +/* 8032CE88 00329DE8 38 60 00 00 */ li r3, 0 +/* 8032CE8C 00329DEC 90 61 00 54 */ stw r3, 0x54(r1) +/* 8032CE90 00329DF0 2C 05 00 00 */ cmpwi r5, 0 +/* 8032CE94 00329DF4 40 81 00 40 */ ble lbl_8032CED4 +/* 8032CE98 00329DF8 2C 05 00 08 */ cmpwi r5, 8 +/* 8032CE9C 00329DFC 38 85 FF F8 */ addi r4, r5, -8 +/* 8032CEA0 00329E00 40 81 00 20 */ ble lbl_8032CEC0 +/* 8032CEA4 00329E04 38 04 00 07 */ addi r0, r4, 7 +/* 8032CEA8 00329E08 54 00 E8 FE */ srwi r0, r0, 3 +/* 8032CEAC 00329E0C 7C 09 03 A6 */ mtctr r0 +/* 8032CEB0 00329E10 2C 04 00 00 */ cmpwi r4, 0 +/* 8032CEB4 00329E14 40 81 00 0C */ ble lbl_8032CEC0 +lbl_8032CEB8: +/* 8032CEB8 00329E18 38 63 00 08 */ addi r3, r3, 8 +/* 8032CEBC 00329E1C 42 00 FF FC */ bdnz lbl_8032CEB8 +lbl_8032CEC0: +/* 8032CEC0 00329E20 7C 03 28 50 */ subf r0, r3, r5 +/* 8032CEC4 00329E24 7C 09 03 A6 */ mtctr r0 +/* 8032CEC8 00329E28 7C 03 28 00 */ cmpw r3, r5 +/* 8032CECC 00329E2C 40 80 00 08 */ bge lbl_8032CED4 +lbl_8032CED0: +/* 8032CED0 00329E30 42 00 00 00 */ bdnz lbl_8032CED0 +lbl_8032CED4: +/* 8032CED4 00329E34 80 A1 00 8C */ lwz r5, 0x8c(r1) +/* 8032CED8 00329E38 38 60 00 00 */ li r3, 0 +/* 8032CEDC 00329E3C 90 61 00 70 */ stw r3, 0x70(r1) +/* 8032CEE0 00329E40 2C 05 00 00 */ cmpwi r5, 0 +/* 8032CEE4 00329E44 40 81 00 40 */ ble lbl_8032CF24 +/* 8032CEE8 00329E48 2C 05 00 08 */ cmpwi r5, 8 +/* 8032CEEC 00329E4C 38 85 FF F8 */ addi r4, r5, -8 +/* 8032CEF0 00329E50 40 81 00 20 */ ble lbl_8032CF10 +/* 8032CEF4 00329E54 38 04 00 07 */ addi r0, r4, 7 +/* 8032CEF8 00329E58 54 00 E8 FE */ srwi r0, r0, 3 +/* 8032CEFC 00329E5C 7C 09 03 A6 */ mtctr r0 +/* 8032CF00 00329E60 2C 04 00 00 */ cmpwi r4, 0 +/* 8032CF04 00329E64 40 81 00 0C */ ble lbl_8032CF10 +lbl_8032CF08: +/* 8032CF08 00329E68 38 63 00 08 */ addi r3, r3, 8 +/* 8032CF0C 00329E6C 42 00 FF FC */ bdnz lbl_8032CF08 +lbl_8032CF10: +/* 8032CF10 00329E70 7C 03 28 50 */ subf r0, r3, r5 +/* 8032CF14 00329E74 7C 09 03 A6 */ mtctr r0 +/* 8032CF18 00329E78 7C 03 28 00 */ cmpw r3, r5 +/* 8032CF1C 00329E7C 40 80 00 08 */ bge lbl_8032CF24 +lbl_8032CF20: +/* 8032CF20 00329E80 42 00 00 00 */ bdnz lbl_8032CF20 +lbl_8032CF24: +/* 8032CF24 00329E84 38 00 00 00 */ li r0, 0 +/* 8032CF28 00329E88 90 01 00 8C */ stw r0, 0x8c(r1) +lbl_8032CF2C: +/* 8032CF2C 00329E8C E3 E1 02 08 */ psq_l f31, 520(r1), 0, qr0 +/* 8032CF30 00329E90 CB E1 02 00 */ lfd f31, 0x200(r1) +/* 8032CF34 00329E94 E3 C1 01 F8 */ psq_l f30, 504(r1), 0, qr0 +/* 8032CF38 00329E98 CB C1 01 F0 */ lfd f30, 0x1f0(r1) +/* 8032CF3C 00329E9C E3 A1 01 E8 */ psq_l f29, 488(r1), 0, qr0 +/* 8032CF40 00329EA0 CB A1 01 E0 */ lfd f29, 0x1e0(r1) +/* 8032CF44 00329EA4 E3 81 01 D8 */ psq_l f28, 472(r1), 0, qr0 +/* 8032CF48 00329EA8 CB 81 01 D0 */ lfd f28, 0x1d0(r1) +/* 8032CF4C 00329EAC E3 61 01 C8 */ psq_l f27, 456(r1), 0, qr0 +/* 8032CF50 00329EB0 CB 61 01 C0 */ lfd f27, 0x1c0(r1) +/* 8032CF54 00329EB4 E3 41 01 B8 */ psq_l f26, 440(r1), 0, qr0 +/* 8032CF58 00329EB8 CB 41 01 B0 */ lfd f26, 0x1b0(r1) +/* 8032CF5C 00329EBC E3 21 01 A8 */ psq_l f25, 424(r1), 0, qr0 +/* 8032CF60 00329EC0 CB 21 01 A0 */ lfd f25, 0x1a0(r1) +/* 8032CF64 00329EC4 E3 01 01 98 */ psq_l f24, 408(r1), 0, qr0 +/* 8032CF68 00329EC8 CB 01 01 90 */ lfd f24, 0x190(r1) +/* 8032CF6C 00329ECC E2 E1 01 88 */ psq_l f23, 392(r1), 0, qr0 +/* 8032CF70 00329ED0 CA E1 01 80 */ lfd f23, 0x180(r1) +/* 8032CF74 00329ED4 E2 C1 01 78 */ psq_l f22, 376(r1), 0, qr0 +/* 8032CF78 00329ED8 CA C1 01 70 */ lfd f22, 0x170(r1) +/* 8032CF7C 00329EDC E2 A1 01 68 */ psq_l f21, 360(r1), 0, qr0 +/* 8032CF80 00329EE0 CA A1 01 60 */ lfd f21, 0x160(r1) +/* 8032CF84 00329EE4 E2 81 01 58 */ psq_l f20, 344(r1), 0, qr0 +/* 8032CF88 00329EE8 CA 81 01 50 */ lfd f20, 0x150(r1) +/* 8032CF8C 00329EEC E2 61 01 48 */ psq_l f19, 328(r1), 0, qr0 +/* 8032CF90 00329EF0 CA 61 01 40 */ lfd f19, 0x140(r1) +/* 8032CF94 00329EF4 E2 41 01 38 */ psq_l f18, 312(r1), 0, qr0 +/* 8032CF98 00329EF8 CA 41 01 30 */ lfd f18, 0x130(r1) +/* 8032CF9C 00329EFC E2 21 01 28 */ psq_l f17, 296(r1), 0, qr0 +/* 8032CFA0 00329F00 CA 21 01 20 */ lfd f17, 0x120(r1) +/* 8032CFA4 00329F04 E2 01 01 18 */ psq_l f16, 280(r1), 0, qr0 +/* 8032CFA8 00329F08 CA 01 01 10 */ lfd f16, 0x110(r1) +/* 8032CFAC 00329F0C E1 E1 01 08 */ psq_l f15, 264(r1), 0, qr0 +/* 8032CFB0 00329F10 C9 E1 01 00 */ lfd f15, 0x100(r1) +/* 8032CFB4 00329F14 BA 21 00 C4 */ lmw r17, 0xc4(r1) +/* 8032CFB8 00329F18 80 01 02 14 */ lwz r0, 0x214(r1) +/* 8032CFBC 00329F1C 7C 08 03 A6 */ mtlr r0 +/* 8032CFC0 00329F20 38 21 02 10 */ addi r1, r1, 0x210 +/* 8032CFC4 00329F24 4E 80 00 20 */ blr + +.global Render2SidedSpline__15CParticleSwooshFv +Render2SidedSpline__15CParticleSwooshFv: +/* 8032CFC8 00329F28 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8032CFCC 00329F2C 7C 08 02 A6 */ mflr r0 +/* 8032CFD0 00329F30 90 01 00 14 */ stw r0, 0x14(r1) +/* 8032CFD4 00329F34 4B FF DE C9 */ bl RenderNSidedSpline__15CParticleSwooshFv +/* 8032CFD8 00329F38 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8032CFDC 00329F3C 7C 08 03 A6 */ mtlr r0 +/* 8032CFE0 00329F40 38 21 00 10 */ addi r1, r1, 0x10 +/* 8032CFE4 00329F44 4E 80 00 20 */ blr + +.global Render2SidedNoSplineGaps__15CParticleSwooshFv +Render2SidedNoSplineGaps__15CParticleSwooshFv: +/* 8032CFE8 00329F48 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 8032CFEC 00329F4C 7C 08 02 A6 */ mflr r0 +/* 8032CFF0 00329F50 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 8032CFF4 00329F54 DB E1 00 A0 */ stfd f31, 0xa0(r1) +/* 8032CFF8 00329F58 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 +/* 8032CFFC 00329F5C DB C1 00 90 */ stfd f30, 0x90(r1) +/* 8032D000 00329F60 F3 C1 00 98 */ psq_st f30, 152(r1), 0, qr0 +/* 8032D004 00329F64 DB A1 00 80 */ stfd f29, 0x80(r1) +/* 8032D008 00329F68 F3 A1 00 88 */ psq_st f29, 136(r1), 0, qr0 +/* 8032D00C 00329F6C BF 61 00 6C */ stmw r27, 0x6c(r1) +/* 8032D010 00329F70 7C 7C 1B 78 */ mr r28, r3 +/* 8032D014 00329F74 3B C0 00 00 */ li r30, 0 +/* 8032D018 00329F78 83 A3 01 58 */ lwz r29, 0x158(r3) +/* 8032D01C 00329F7C 3B E0 00 00 */ li r31, 0 +/* 8032D020 00329F80 48 00 02 DC */ b lbl_8032D2FC +lbl_8032D024: +/* 8032D024 00329F84 80 BC 01 68 */ lwz r5, 0x168(r28) +/* 8032D028 00329F88 57 A0 38 30 */ slwi r0, r29, 7 +/* 8032D02C 00329F8C 7F 83 E3 78 */ mr r3, r28 +/* 8032D030 00329F90 38 9D FF FF */ addi r4, r29, -1 +/* 8032D034 00329F94 7F 65 02 14 */ add r27, r5, r0 +/* 8032D038 00329F98 4B FF DE 25 */ bl WrapIndex__15CParticleSwooshFi +/* 8032D03C 00329F9C 37 BD FF FF */ addic. r29, r29, -1 +/* 8032D040 00329FA0 80 BC 01 68 */ lwz r5, 0x168(r28) +/* 8032D044 00329FA4 54 64 38 30 */ slwi r4, r3, 7 +/* 8032D048 00329FA8 40 80 00 0C */ bge lbl_8032D054 +/* 8032D04C 00329FAC 80 7C 01 60 */ lwz r3, 0x160(r28) +/* 8032D050 00329FB0 3B A3 FF FE */ addi r29, r3, -2 +lbl_8032D054: +/* 8032D054 00329FB4 88 1B 00 00 */ lbz r0, 0(r27) +/* 8032D058 00329FB8 28 00 00 00 */ cmplwi r0, 0 +/* 8032D05C 00329FBC 40 82 00 1C */ bne lbl_8032D078 +/* 8032D060 00329FC0 57 C0 06 3E */ clrlwi r0, r30, 0x18 +/* 8032D064 00329FC4 28 00 00 01 */ cmplwi r0, 1 +/* 8032D068 00329FC8 40 82 02 90 */ bne lbl_8032D2F8 +/* 8032D06C 00329FCC 3B C0 00 00 */ li r30, 0 +/* 8032D070 00329FD0 4B FD E3 A1 */ bl StreamEnd__9CGraphicsFv +/* 8032D074 00329FD4 48 00 02 84 */ b lbl_8032D2F8 +lbl_8032D078: +/* 8032D078 00329FD8 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 8032D07C 00329FDC 40 82 00 2C */ bne lbl_8032D0A8 +/* 8032D080 00329FE0 7C 05 20 AE */ lbzx r0, r5, r4 +/* 8032D084 00329FE4 28 00 00 01 */ cmplwi r0, 1 +/* 8032D088 00329FE8 40 82 02 70 */ bne lbl_8032D2F8 +/* 8032D08C 00329FEC 80 7C 01 60 */ lwz r3, 0x160(r28) +/* 8032D090 00329FF0 38 03 FF FE */ addi r0, r3, -2 +/* 8032D094 00329FF4 7C 1F 00 00 */ cmpw r31, r0 +/* 8032D098 00329FF8 40 80 02 60 */ bge lbl_8032D2F8 +/* 8032D09C 00329FFC 3B C0 00 01 */ li r30, 1 +/* 8032D0A0 0032A000 38 60 00 98 */ li r3, 0x98 +/* 8032D0A4 0032A004 4B FD E5 C5 */ bl StreamBegin__9CGraphicsF13ERglPrimitive +lbl_8032D0A8: +/* 8032D0A8 0032A008 C0 3B 00 30 */ lfs f1, 0x30(r27) +/* 8032D0AC 0032A00C C0 1B 00 34 */ lfs f0, 0x34(r27) +/* 8032D0B0 0032A010 C0 42 CA FC */ lfs f2, lbl_805AE81C@sda21(r2) +/* 8032D0B4 0032A014 EC 21 00 2A */ fadds f1, f1, f0 +/* 8032D0B8 0032A018 C8 02 CA D8 */ lfd f0, lbl_805AE7F8@sda21(r2) +/* 8032D0BC 0032A01C EC 82 00 72 */ fmuls f4, f2, f1 +/* 8032D0C0 0032A020 FC 20 22 10 */ fabs f1, f4 +/* 8032D0C4 0032A024 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8032D0C8 0032A028 40 81 00 64 */ ble lbl_8032D12C +/* 8032D0CC 0032A02C C0 02 CA E0 */ lfs f0, lbl_805AE800@sda21(r2) +/* 8032D0D0 0032A030 3C 00 43 30 */ lis r0, 0x4330 +/* 8032D0D4 0032A034 90 01 00 60 */ stw r0, 0x60(r1) +/* 8032D0D8 0032A038 EC 44 00 32 */ fmuls f2, f4, f0 +/* 8032D0DC 0032A03C C8 62 CA F0 */ lfd f3, lbl_805AE810@sda21(r2) +/* 8032D0E0 0032A040 C0 22 CA E4 */ lfs f1, lbl_805AE804@sda21(r2) +/* 8032D0E4 0032A044 C0 02 CA D0 */ lfs f0, lbl_805AE7F0@sda21(r2) +/* 8032D0E8 0032A048 FC 40 10 1E */ fctiwz f2, f2 +/* 8032D0EC 0032A04C D8 41 00 58 */ stfd f2, 0x58(r1) +/* 8032D0F0 0032A050 80 01 00 5C */ lwz r0, 0x5c(r1) +/* 8032D0F4 0032A054 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8032D0F8 0032A058 90 01 00 64 */ stw r0, 0x64(r1) +/* 8032D0FC 0032A05C C8 41 00 60 */ lfd f2, 0x60(r1) +/* 8032D100 0032A060 EC 42 18 28 */ fsubs f2, f2, f3 +/* 8032D104 0032A064 EC 62 20 7C */ fnmsubs f3, f2, f1, f4 +/* 8032D108 0032A068 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 8032D10C 0032A06C 40 81 00 0C */ ble lbl_8032D118 +/* 8032D110 0032A070 EC 63 08 28 */ fsubs f3, f3, f1 +/* 8032D114 0032A074 48 00 00 1C */ b lbl_8032D130 +lbl_8032D118: +/* 8032D118 0032A078 C0 02 CA E8 */ lfs f0, lbl_805AE808@sda21(r2) +/* 8032D11C 0032A07C FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 8032D120 0032A080 40 80 00 10 */ bge lbl_8032D130 +/* 8032D124 0032A084 EC 61 18 2A */ fadds f3, f1, f3 +/* 8032D128 0032A088 48 00 00 08 */ b lbl_8032D130 +lbl_8032D12C: +/* 8032D12C 0032A08C FC 60 20 90 */ fmr f3, f4 +lbl_8032D130: +/* 8032D130 0032A090 EC E3 00 F2 */ fmuls f7, f3, f3 +/* 8032D134 0032A094 C0 02 CA BC */ lfs f0, lbl_805AE7DC@sda21(r2) +/* 8032D138 0032A098 C3 A2 CA A8 */ lfs f29, lbl_805AE7C8@sda21(r2) +/* 8032D13C 0032A09C 38 61 00 30 */ addi r3, r1, 0x30 +/* 8032D140 0032A0A0 C0 42 CA AC */ lfs f2, lbl_805AE7CC@sda21(r2) +/* 8032D144 0032A0A4 EC A3 00 32 */ fmuls f5, f3, f0 +/* 8032D148 0032A0A8 EC C3 01 F2 */ fmuls f6, f3, f7 +/* 8032D14C 0032A0AC C0 22 CA C0 */ lfs f1, lbl_805AE7E0@sda21(r2) +/* 8032D150 0032A0B0 EF A7 E8 BA */ fmadds f29, f7, f2, f29 +/* 8032D154 0032A0B4 C0 42 CA B0 */ lfs f2, lbl_805AE7D0@sda21(r2) +/* 8032D158 0032A0B8 EC 87 01 F2 */ fmuls f4, f7, f7 +/* 8032D15C 0032A0BC C0 02 CA C4 */ lfs f0, lbl_805AE7E4@sda21(r2) +/* 8032D160 0032A0C0 EC A6 28 7A */ fmadds f5, f6, f1, f5 +/* 8032D164 0032A0C4 C0 62 CA B4 */ lfs f3, lbl_805AE7D4@sda21(r2) +/* 8032D168 0032A0C8 EC C6 01 F2 */ fmuls f6, f6, f7 +/* 8032D16C 0032A0CC C0 22 CA C8 */ lfs f1, lbl_805AE7E8@sda21(r2) +/* 8032D170 0032A0D0 EF A4 E8 BA */ fmadds f29, f4, f2, f29 +/* 8032D174 0032A0D4 C0 42 CA B8 */ lfs f2, lbl_805AE7D8@sda21(r2) +/* 8032D178 0032A0D8 EC 84 01 F2 */ fmuls f4, f4, f7 +/* 8032D17C 0032A0DC C1 1B 00 04 */ lfs f8, 4(r27) +/* 8032D180 0032A0E0 EC A6 28 3A */ fmadds f5, f6, f0, f5 +/* 8032D184 0032A0E4 C3 DB 00 08 */ lfs f30, 8(r27) +/* 8032D188 0032A0E8 EC C6 01 F2 */ fmuls f6, f6, f7 +/* 8032D18C 0032A0EC C0 02 CA 94 */ lfs f0, lbl_805AE7B4@sda21(r2) +/* 8032D190 0032A0F0 EF A4 E8 FA */ fmadds f29, f4, f3, f29 +/* 8032D194 0032A0F4 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 8032D198 0032A0F8 EC A6 28 7A */ fmadds f5, f6, f1, f5 +/* 8032D19C 0032A0FC 38 9B 00 38 */ addi r4, r27, 0x38 +/* 8032D1A0 0032A100 EC 84 01 F2 */ fmuls f4, f4, f7 +/* 8032D1A4 0032A104 38 A1 00 24 */ addi r5, r1, 0x24 +/* 8032D1A8 0032A108 FC 00 28 50 */ fneg f0, f5 +/* 8032D1AC 0032A10C EF A4 E8 BA */ fmadds f29, f4, f2, f29 +/* 8032D1B0 0032A110 EC 28 01 72 */ fmuls f1, f8, f5 +/* 8032D1B4 0032A114 EF FE 00 32 */ fmuls f31, f30, f0 +/* 8032D1B8 0032A118 EC 08 07 72 */ fmuls f0, f8, f29 +/* 8032D1BC 0032A11C D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 8032D1C0 0032A120 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 8032D1C4 0032A124 4B FE 59 25 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8032D1C8 0032A128 C0 A1 00 34 */ lfs f5, 0x34(r1) +/* 8032D1CC 0032A12C FC 00 E8 50 */ fneg f0, f29 +/* 8032D1D0 0032A130 C0 7B 00 10 */ lfs f3, 0x10(r27) +/* 8032D1D4 0032A134 38 61 00 18 */ addi r3, r1, 0x18 +/* 8032D1D8 0032A138 C0 41 00 38 */ lfs f2, 0x38(r1) +/* 8032D1DC 0032A13C 38 9B 00 38 */ addi r4, r27, 0x38 +/* 8032D1E0 0032A140 C0 3B 00 14 */ lfs f1, 0x14(r27) +/* 8032D1E4 0032A144 C0 81 00 30 */ lfs f4, 0x30(r1) +/* 8032D1E8 0032A148 ED 05 18 2A */ fadds f8, f5, f3 +/* 8032D1EC 0032A14C C0 7B 00 0C */ lfs f3, 0xc(r27) +/* 8032D1F0 0032A150 EC C2 08 2A */ fadds f6, f2, f1 +/* 8032D1F4 0032A154 C0 FB 00 28 */ lfs f7, 0x28(r27) +/* 8032D1F8 0032A158 EC 3E 00 32 */ fmuls f1, f30, f0 +/* 8032D1FC 0032A15C C0 BB 00 2C */ lfs f5, 0x2c(r27) +/* 8032D200 0032A160 C0 5B 00 24 */ lfs f2, 0x24(r27) +/* 8032D204 0032A164 EC 64 18 2A */ fadds f3, f4, f3 +/* 8032D208 0032A168 EC E8 38 2A */ fadds f7, f8, f7 +/* 8032D20C 0032A16C C0 02 CA 94 */ lfs f0, lbl_805AE7B4@sda21(r2) +/* 8032D210 0032A170 EC 86 28 2A */ fadds f4, f6, f5 +/* 8032D214 0032A174 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 8032D218 0032A178 EC 23 10 2A */ fadds f1, f3, f2 +/* 8032D21C 0032A17C D0 E1 00 4C */ stfs f7, 0x4c(r1) +/* 8032D220 0032A180 38 A1 00 0C */ addi r5, r1, 0xc +/* 8032D224 0032A184 D0 21 00 48 */ stfs f1, 0x48(r1) +/* 8032D228 0032A188 D0 81 00 50 */ stfs f4, 0x50(r1) +/* 8032D22C 0032A18C D0 01 00 10 */ stfs f0, 0x10(r1) +/* 8032D230 0032A190 D3 E1 00 14 */ stfs f31, 0x14(r1) +/* 8032D234 0032A194 4B FE 58 B5 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8032D238 0032A198 C0 61 00 1C */ lfs f3, 0x1c(r1) +/* 8032D23C 0032A19C 38 61 00 08 */ addi r3, r1, 8 +/* 8032D240 0032A1A0 C0 5B 00 10 */ lfs f2, 0x10(r27) +/* 8032D244 0032A1A4 38 9B 00 6C */ addi r4, r27, 0x6c +/* 8032D248 0032A1A8 C0 21 00 20 */ lfs f1, 0x20(r1) +/* 8032D24C 0032A1AC 38 BC 02 0C */ addi r5, r28, 0x20c +/* 8032D250 0032A1B0 C0 1B 00 14 */ lfs f0, 0x14(r27) +/* 8032D254 0032A1B4 EC A3 10 2A */ fadds f5, f3, f2 +/* 8032D258 0032A1B8 C0 7B 00 28 */ lfs f3, 0x28(r27) +/* 8032D25C 0032A1BC C0 41 00 18 */ lfs f2, 0x18(r1) +/* 8032D260 0032A1C0 EC 81 00 2A */ fadds f4, f1, f0 +/* 8032D264 0032A1C4 C0 3B 00 0C */ lfs f1, 0xc(r27) +/* 8032D268 0032A1C8 EC A5 18 2A */ fadds f5, f5, f3 +/* 8032D26C 0032A1CC C0 7B 00 2C */ lfs f3, 0x2c(r27) +/* 8032D270 0032A1D0 C0 1B 00 24 */ lfs f0, 0x24(r27) +/* 8032D274 0032A1D4 EC 22 08 2A */ fadds f1, f2, f1 +/* 8032D278 0032A1D8 EC 44 18 2A */ fadds f2, f4, f3 +/* 8032D27C 0032A1DC D0 A1 00 40 */ stfs f5, 0x40(r1) +/* 8032D280 0032A1E0 EC 01 00 2A */ fadds f0, f1, f0 +/* 8032D284 0032A1E4 D0 41 00 44 */ stfs f2, 0x44(r1) +/* 8032D288 0032A1E8 D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 8032D28C 0032A1EC 48 03 5E ED */ bl Modulate__6CColorFRC6CColorRC6CColor +/* 8032D290 0032A1F0 80 61 00 08 */ lwz r3, 8(r1) +/* 8032D294 0032A1F4 4B FD E2 D9 */ bl StreamColor__9CGraphicsFUi +/* 8032D298 0032A1F8 C0 22 CA 90 */ lfs f1, lbl_805AE7B0@sda21(r2) +/* 8032D29C 0032A1FC C0 5C 01 D8 */ lfs f2, 0x1d8(r28) +/* 8032D2A0 0032A200 4B FD E1 C5 */ bl StreamTexcoord__9CGraphicsFff +/* 8032D2A4 0032A204 38 61 00 48 */ addi r3, r1, 0x48 +/* 8032D2A8 0032A208 4B FD E3 19 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 8032D2AC 0032A20C C0 22 CA 90 */ lfs f1, lbl_805AE7B0@sda21(r2) +/* 8032D2B0 0032A210 C0 5C 01 E0 */ lfs f2, 0x1e0(r28) +/* 8032D2B4 0032A214 4B FD E1 B1 */ bl StreamTexcoord__9CGraphicsFff +/* 8032D2B8 0032A218 38 61 00 3C */ addi r3, r1, 0x3c +/* 8032D2BC 0032A21C 4B FD E3 05 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 8032D2C0 0032A220 80 7C 01 60 */ lwz r3, 0x160(r28) +/* 8032D2C4 0032A224 38 03 FF FF */ addi r0, r3, -1 +/* 8032D2C8 0032A228 7C 1F 00 00 */ cmpw r31, r0 +/* 8032D2CC 0032A22C 40 80 00 2C */ bge lbl_8032D2F8 +/* 8032D2D0 0032A230 C0 22 CA 94 */ lfs f1, lbl_805AE7B4@sda21(r2) +/* 8032D2D4 0032A234 C0 5C 01 D8 */ lfs f2, 0x1d8(r28) +/* 8032D2D8 0032A238 4B FD E1 8D */ bl StreamTexcoord__9CGraphicsFff +/* 8032D2DC 0032A23C 38 61 00 48 */ addi r3, r1, 0x48 +/* 8032D2E0 0032A240 4B FD E2 E1 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 8032D2E4 0032A244 C0 22 CA 94 */ lfs f1, lbl_805AE7B4@sda21(r2) +/* 8032D2E8 0032A248 C0 5C 01 E0 */ lfs f2, 0x1e0(r28) +/* 8032D2EC 0032A24C 4B FD E1 79 */ bl StreamTexcoord__9CGraphicsFff +/* 8032D2F0 0032A250 38 61 00 3C */ addi r3, r1, 0x3c +/* 8032D2F4 0032A254 4B FD E2 CD */ bl StreamVertex__9CGraphicsFRC9CVector3f +lbl_8032D2F8: +/* 8032D2F8 0032A258 3B FF 00 01 */ addi r31, r31, 1 +lbl_8032D2FC: +/* 8032D2FC 0032A25C 80 1C 01 60 */ lwz r0, 0x160(r28) +/* 8032D300 0032A260 7C 1F 00 00 */ cmpw r31, r0 +/* 8032D304 0032A264 41 80 FD 20 */ blt lbl_8032D024 +/* 8032D308 0032A268 57 C0 06 3E */ clrlwi r0, r30, 0x18 +/* 8032D30C 0032A26C 28 00 00 01 */ cmplwi r0, 1 +/* 8032D310 0032A270 40 82 00 08 */ bne lbl_8032D318 +/* 8032D314 0032A274 4B FD E0 FD */ bl StreamEnd__9CGraphicsFv +lbl_8032D318: +/* 8032D318 0032A278 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 +/* 8032D31C 0032A27C CB E1 00 A0 */ lfd f31, 0xa0(r1) +/* 8032D320 0032A280 E3 C1 00 98 */ psq_l f30, 152(r1), 0, qr0 +/* 8032D324 0032A284 CB C1 00 90 */ lfd f30, 0x90(r1) +/* 8032D328 0032A288 E3 A1 00 88 */ psq_l f29, 136(r1), 0, qr0 +/* 8032D32C 0032A28C CB A1 00 80 */ lfd f29, 0x80(r1) +/* 8032D330 0032A290 BB 61 00 6C */ lmw r27, 0x6c(r1) +/* 8032D334 0032A294 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 8032D338 0032A298 7C 08 03 A6 */ mtlr r0 +/* 8032D33C 0032A29C 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 8032D340 0032A2A0 4E 80 00 20 */ blr + +.global Render2SidedNoSplineNoGaps__15CParticleSwooshFv +Render2SidedNoSplineNoGaps__15CParticleSwooshFv: +/* 8032D344 0032A2A4 94 21 FD 40 */ stwu r1, -0x2c0(r1) +/* 8032D348 0032A2A8 7C 08 02 A6 */ mflr r0 +/* 8032D34C 0032A2AC 90 01 02 C4 */ stw r0, 0x2c4(r1) +/* 8032D350 0032A2B0 DB E1 02 B0 */ stfd f31, 0x2b0(r1) +/* 8032D354 0032A2B4 F3 E1 02 B8 */ psq_st f31, 696(r1), 0, qr0 +/* 8032D358 0032A2B8 DB C1 02 A0 */ stfd f30, 0x2a0(r1) +/* 8032D35C 0032A2BC F3 C1 02 A8 */ psq_st f30, 680(r1), 0, qr0 +/* 8032D360 0032A2C0 DB A1 02 90 */ stfd f29, 0x290(r1) +/* 8032D364 0032A2C4 F3 A1 02 98 */ psq_st f29, 664(r1), 0, qr0 +/* 8032D368 0032A2C8 DB 81 02 80 */ stfd f28, 0x280(r1) +/* 8032D36C 0032A2CC F3 81 02 88 */ psq_st f28, 648(r1), 0, qr0 +/* 8032D370 0032A2D0 DB 61 02 70 */ stfd f27, 0x270(r1) +/* 8032D374 0032A2D4 F3 61 02 78 */ psq_st f27, 632(r1), 0, qr0 +/* 8032D378 0032A2D8 DB 41 02 60 */ stfd f26, 0x260(r1) +/* 8032D37C 0032A2DC F3 41 02 68 */ psq_st f26, 616(r1), 0, qr0 +/* 8032D380 0032A2E0 DB 21 02 50 */ stfd f25, 0x250(r1) +/* 8032D384 0032A2E4 F3 21 02 58 */ psq_st f25, 600(r1), 0, qr0 +/* 8032D388 0032A2E8 BF 61 02 3C */ stmw r27, 0x23c(r1) +/* 8032D38C 0032A2EC 7C 7B 1B 78 */ mr r27, r3 +/* 8032D390 0032A2F0 38 60 00 98 */ li r3, 0x98 +/* 8032D394 0032A2F4 4B FD E2 D5 */ bl StreamBegin__9CGraphicsF13ERglPrimitive +/* 8032D398 0032A2F8 80 7B 00 24 */ lwz r3, 0x24(r27) +/* 8032D39C 0032A2FC 83 DB 01 AC */ lwz r30, 0x1ac(r27) +/* 8032D3A0 0032A300 80 03 00 3C */ lwz r0, 0x3c(r3) +/* 8032D3A4 0032A304 83 BB 01 58 */ lwz r29, 0x158(r27) +/* 8032D3A8 0032A308 28 00 00 00 */ cmplwi r0, 0 +/* 8032D3AC 0032A30C C3 22 CA 94 */ lfs f25, lbl_805AE7B4@sda21(r2) +/* 8032D3B0 0032A310 41 82 06 6C */ beq lbl_8032DA1C +/* 8032D3B4 0032A314 88 03 00 45 */ lbz r0, 0x45(r3) +/* 8032D3B8 0032A318 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8032D3BC 0032A31C 41 82 03 6C */ beq lbl_8032D728 +/* 8032D3C0 0032A320 38 61 01 04 */ addi r3, r1, 0x104 +/* 8032D3C4 0032A324 38 9B 00 A4 */ addi r4, r27, 0xa4 +/* 8032D3C8 0032A328 4B FE 5D 79 */ bl Translate__12CTransform4fFRC9CVector3f +/* 8032D3CC 0032A32C 38 61 01 34 */ addi r3, r1, 0x134 +/* 8032D3D0 0032A330 38 81 01 04 */ addi r4, r1, 0x104 +/* 8032D3D4 0032A334 38 BB 00 B0 */ addi r5, r27, 0xb0 +/* 8032D3D8 0032A338 4B FE 55 79 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8032D3DC 0032A33C 38 61 01 64 */ addi r3, r1, 0x164 +/* 8032D3E0 0032A340 38 81 01 34 */ addi r4, r1, 0x134 +/* 8032D3E4 0032A344 38 BB 00 EC */ addi r5, r27, 0xec +/* 8032D3E8 0032A348 4B FE 55 69 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8032D3EC 0032A34C 38 61 01 94 */ addi r3, r1, 0x194 +/* 8032D3F0 0032A350 38 81 01 64 */ addi r4, r1, 0x164 +/* 8032D3F4 0032A354 4B FE 52 ED */ bl GetInverse__12CTransform4fCFv +/* 8032D3F8 0032A358 38 61 01 F4 */ addi r3, r1, 0x1f4 +/* 8032D3FC 0032A35C 38 81 01 94 */ addi r4, r1, 0x194 +/* 8032D400 0032A360 4B FE 57 75 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8032D404 0032A364 3C 80 80 5A */ lis r4, lbl_805A61D4@ha +/* 8032D408 0032A368 38 61 00 D4 */ addi r3, r1, 0xd4 +/* 8032D40C 0032A36C 38 A4 61 D4 */ addi r5, r4, lbl_805A61D4@l +/* 8032D410 0032A370 38 81 01 F4 */ addi r4, r1, 0x1f4 +/* 8032D414 0032A374 4B FE 55 3D */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8032D418 0032A378 38 61 01 C4 */ addi r3, r1, 0x1c4 +/* 8032D41C 0032A37C 38 81 00 D4 */ addi r4, r1, 0xd4 +/* 8032D420 0032A380 4B FE 57 55 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8032D424 0032A384 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8032D428 0032A388 C7 83 66 A0 */ lfsu f28, skZero3f@l(r3) +/* 8032D42C 0032A38C C3 E1 01 D0 */ lfs f31, 0x1d0(r1) +/* 8032D430 0032A390 3B 80 00 00 */ li r28, 0 +/* 8032D434 0032A394 C3 C1 01 E0 */ lfs f30, 0x1e0(r1) +/* 8032D438 0032A398 C3 A1 01 F0 */ lfs f29, 0x1f0(r1) +/* 8032D43C 0032A39C C3 63 00 04 */ lfs f27, 4(r3) +/* 8032D440 0032A3A0 C3 43 00 08 */ lfs f26, 8(r3) +/* 8032D444 0032A3A4 48 00 02 D4 */ b lbl_8032D718 +lbl_8032D448: +/* 8032D448 0032A3A8 57 A0 38 30 */ slwi r0, r29, 7 +/* 8032D44C 0032A3AC 80 9B 01 68 */ lwz r4, 0x168(r27) +/* 8032D450 0032A3B0 37 BD FF FF */ addic. r29, r29, -1 +/* 8032D454 0032A3B4 7F E4 02 14 */ add r31, r4, r0 +/* 8032D458 0032A3B8 40 80 00 08 */ bge lbl_8032D460 +/* 8032D45C 0032A3BC 3B A3 FF FF */ addi r29, r3, -1 +lbl_8032D460: +/* 8032D460 0032A3C0 88 1F 00 00 */ lbz r0, 0(r31) +/* 8032D464 0032A3C4 28 00 00 00 */ cmplwi r0, 0 +/* 8032D468 0032A3C8 41 82 02 AC */ beq lbl_8032D714 +/* 8032D46C 0032A3CC 34 BD FF FF */ addic. r5, r29, -1 +/* 8032D470 0032A3D0 3B DE FF FF */ addi r30, r30, -1 +/* 8032D474 0032A3D4 40 80 00 08 */ bge lbl_8032D47C +/* 8032D478 0032A3D8 38 A3 FF FF */ addi r5, r3, -1 +lbl_8032D47C: +/* 8032D47C 0032A3DC 54 A0 38 30 */ slwi r0, r5, 7 +/* 8032D480 0032A3E0 C0 BF 00 10 */ lfs f5, 0x10(r31) +/* 8032D484 0032A3E4 7C 64 02 14 */ add r3, r4, r0 +/* 8032D488 0032A3E8 C0 9F 00 14 */ lfs f4, 0x14(r31) +/* 8032D48C 0032A3EC C0 43 00 10 */ lfs f2, 0x10(r3) +/* 8032D490 0032A3F0 C0 23 00 14 */ lfs f1, 0x14(r3) +/* 8032D494 0032A3F4 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 8032D498 0032A3F8 EC 42 28 28 */ fsubs f2, f2, f5 +/* 8032D49C 0032A3FC C0 7F 00 0C */ lfs f3, 0xc(r31) +/* 8032D4A0 0032A400 EC 21 20 28 */ fsubs f1, f1, f4 +/* 8032D4A4 0032A404 EC 00 18 28 */ fsubs f0, f0, f3 +/* 8032D4A8 0032A408 D0 41 00 CC */ stfs f2, 0xcc(r1) +/* 8032D4AC 0032A40C D0 21 00 D0 */ stfs f1, 0xd0(r1) +/* 8032D4B0 0032A410 D0 01 00 C8 */ stfs f0, 0xc8(r1) +/* 8032D4B4 0032A414 80 1B 01 58 */ lwz r0, 0x158(r27) +/* 8032D4B8 0032A418 7C 05 00 00 */ cmpw r5, r0 +/* 8032D4BC 0032A41C 40 82 00 4C */ bne lbl_8032D508 +/* 8032D4C0 0032A420 80 7B 01 60 */ lwz r3, 0x160(r27) +/* 8032D4C4 0032A424 38 9D 00 01 */ addi r4, r29, 1 +/* 8032D4C8 0032A428 80 BB 01 68 */ lwz r5, 0x168(r27) +/* 8032D4CC 0032A42C 7C 04 1B D6 */ divw r0, r4, r3 +/* 8032D4D0 0032A430 7C 00 19 D6 */ mullw r0, r0, r3 +/* 8032D4D4 0032A434 7C 00 20 50 */ subf r0, r0, r4 +/* 8032D4D8 0032A438 54 03 38 30 */ slwi r3, r0, 7 +/* 8032D4DC 0032A43C 38 63 00 0C */ addi r3, r3, 0xc +/* 8032D4E0 0032A440 7C 65 1A 14 */ add r3, r5, r3 +/* 8032D4E4 0032A444 C0 43 00 04 */ lfs f2, 4(r3) +/* 8032D4E8 0032A448 C0 23 00 08 */ lfs f1, 8(r3) +/* 8032D4EC 0032A44C C0 03 00 00 */ lfs f0, 0(r3) +/* 8032D4F0 0032A450 EC 45 10 28 */ fsubs f2, f5, f2 +/* 8032D4F4 0032A454 EC 24 08 28 */ fsubs f1, f4, f1 +/* 8032D4F8 0032A458 EC 03 00 28 */ fsubs f0, f3, f0 +/* 8032D4FC 0032A45C D0 41 00 CC */ stfs f2, 0xcc(r1) +/* 8032D500 0032A460 D0 01 00 C8 */ stfs f0, 0xc8(r1) +/* 8032D504 0032A464 D0 21 00 D0 */ stfs f1, 0xd0(r1) +lbl_8032D508: +/* 8032D508 0032A468 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 8032D50C 0032A46C 4B FE 71 ED */ bl CanBeNormalized__9CVector3fCFv +/* 8032D510 0032A470 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8032D514 0032A474 41 82 01 C4 */ beq lbl_8032D6D8 +/* 8032D518 0032A478 C0 5F 00 0C */ lfs f2, 0xc(r31) +/* 8032D51C 0032A47C 38 61 00 BC */ addi r3, r1, 0xbc +/* 8032D520 0032A480 C0 3F 00 10 */ lfs f1, 0x10(r31) +/* 8032D524 0032A484 C0 1F 00 14 */ lfs f0, 0x14(r31) +/* 8032D528 0032A488 EC BF 10 28 */ fsubs f5, f31, f2 +/* 8032D52C 0032A48C C0 C1 00 CC */ lfs f6, 0xcc(r1) +/* 8032D530 0032A490 EC 9E 08 28 */ fsubs f4, f30, f1 +/* 8032D534 0032A494 C0 E1 00 D0 */ lfs f7, 0xd0(r1) +/* 8032D538 0032A498 EC 7D 00 28 */ fsubs f3, f29, f0 +/* 8032D53C 0032A49C C1 01 00 C8 */ lfs f8, 0xc8(r1) +/* 8032D540 0032A4A0 EC 45 01 B2 */ fmuls f2, f5, f6 +/* 8032D544 0032A4A4 EC 24 01 F2 */ fmuls f1, f4, f7 +/* 8032D548 0032A4A8 EC 03 02 32 */ fmuls f0, f3, f8 +/* 8032D54C 0032A4AC EC 48 11 38 */ fmsubs f2, f8, f4, f2 +/* 8032D550 0032A4B0 EC 26 08 F8 */ fmsubs f1, f6, f3, f1 +/* 8032D554 0032A4B4 EC 07 01 78 */ fmsubs f0, f7, f5, f0 +/* 8032D558 0032A4B8 D0 41 00 C4 */ stfs f2, 0xc4(r1) +/* 8032D55C 0032A4BC D0 21 00 BC */ stfs f1, 0xbc(r1) +/* 8032D560 0032A4C0 D0 01 00 C0 */ stfs f0, 0xc0(r1) +/* 8032D564 0032A4C4 4B FE 71 95 */ bl CanBeNormalized__9CVector3fCFv +/* 8032D568 0032A4C8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8032D56C 0032A4CC 41 82 01 6C */ beq lbl_8032D6D8 +/* 8032D570 0032A4D0 38 61 00 BC */ addi r3, r1, 0xbc +/* 8032D574 0032A4D4 4B FE 73 85 */ bl Normalize__9CVector3fFv +/* 8032D578 0032A4D8 C0 61 00 C0 */ lfs f3, 0xc0(r1) +/* 8032D57C 0032A4DC C0 41 00 BC */ lfs f2, 0xbc(r1) +/* 8032D580 0032A4E0 EC 23 06 F2 */ fmuls f1, f3, f27 +/* 8032D584 0032A4E4 C0 81 00 C4 */ lfs f4, 0xc4(r1) +/* 8032D588 0032A4E8 C0 02 CA 94 */ lfs f0, lbl_805AE7B4@sda21(r2) +/* 8032D58C 0032A4EC EC 22 0F 3A */ fmadds f1, f2, f28, f1 +/* 8032D590 0032A4F0 EC 24 0E BA */ fmadds f1, f4, f26, f1 +/* 8032D594 0032A4F4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8032D598 0032A4F8 40 80 00 0C */ bge lbl_8032D5A4 +/* 8032D59C 0032A4FC C0 02 CB 00 */ lfs f0, lbl_805AE820@sda21(r2) +/* 8032D5A0 0032A500 48 00 00 08 */ b lbl_8032D5A8 +lbl_8032D5A4: +/* 8032D5A4 0032A504 C0 02 CA 90 */ lfs f0, lbl_805AE7B0@sda21(r2) +lbl_8032D5A8: +/* 8032D5A8 0032A508 EF 60 00 F2 */ fmuls f27, f0, f3 +/* 8032D5AC 0032A50C C0 3F 00 10 */ lfs f1, 0x10(r31) +/* 8032D5B0 0032A510 EF 40 01 32 */ fmuls f26, f0, f4 +/* 8032D5B4 0032A514 C1 1F 00 04 */ lfs f8, 4(r31) +/* 8032D5B8 0032A518 EF 80 00 B2 */ fmuls f28, f0, f2 +/* 8032D5BC 0032A51C C0 1F 00 28 */ lfs f0, 0x28(r31) +/* 8032D5C0 0032A520 EC E1 00 2A */ fadds f7, f1, f0 +/* 8032D5C4 0032A524 C0 9F 00 14 */ lfs f4, 0x14(r31) +/* 8032D5C8 0032A528 C0 7F 00 2C */ lfs f3, 0x2c(r31) +/* 8032D5CC 0032A52C EC C8 06 F2 */ fmuls f6, f8, f27 +/* 8032D5D0 0032A530 C0 3F 00 0C */ lfs f1, 0xc(r31) +/* 8032D5D4 0032A534 EC 48 06 B2 */ fmuls f2, f8, f26 +/* 8032D5D8 0032A538 EC A4 18 2A */ fadds f5, f4, f3 +/* 8032D5DC 0032A53C C0 1F 00 24 */ lfs f0, 0x24(r31) +/* 8032D5E0 0032A540 EC C7 30 2A */ fadds f6, f7, f6 +/* 8032D5E4 0032A544 C0 62 CB 00 */ lfs f3, lbl_805AE820@sda21(r2) +/* 8032D5E8 0032A548 EC 81 00 2A */ fadds f4, f1, f0 +/* 8032D5EC 0032A54C 38 61 00 10 */ addi r3, r1, 0x10 +/* 8032D5F0 0032A550 EC 08 07 32 */ fmuls f0, f8, f28 +/* 8032D5F4 0032A554 D0 C1 00 B4 */ stfs f6, 0xb4(r1) +/* 8032D5F8 0032A558 EC 25 10 2A */ fadds f1, f5, f2 +/* 8032D5FC 0032A55C 38 9F 00 6C */ addi r4, r31, 0x6c +/* 8032D600 0032A560 38 BB 02 0C */ addi r5, r27, 0x20c +/* 8032D604 0032A564 EC 04 00 2A */ fadds f0, f4, f0 +/* 8032D608 0032A568 D0 21 00 B8 */ stfs f1, 0xb8(r1) +/* 8032D60C 0032A56C D0 01 00 B0 */ stfs f0, 0xb0(r1) +/* 8032D610 0032A570 C0 1F 00 08 */ lfs f0, 8(r31) +/* 8032D614 0032A574 EC 40 06 F2 */ fmuls f2, f0, f27 +/* 8032D618 0032A578 EC 20 06 B2 */ fmuls f1, f0, f26 +/* 8032D61C 0032A57C EC 00 07 32 */ fmuls f0, f0, f28 +/* 8032D620 0032A580 EC 43 00 B2 */ fmuls f2, f3, f2 +/* 8032D624 0032A584 EC 23 00 72 */ fmuls f1, f3, f1 +/* 8032D628 0032A588 EC 03 00 32 */ fmuls f0, f3, f0 +/* 8032D62C 0032A58C EC 47 10 2A */ fadds f2, f7, f2 +/* 8032D630 0032A590 EC 25 08 2A */ fadds f1, f5, f1 +/* 8032D634 0032A594 EC 04 00 2A */ fadds f0, f4, f0 +/* 8032D638 0032A598 D0 41 00 A8 */ stfs f2, 0xa8(r1) +/* 8032D63C 0032A59C D0 01 00 A4 */ stfs f0, 0xa4(r1) +/* 8032D640 0032A5A0 D0 21 00 AC */ stfs f1, 0xac(r1) +/* 8032D644 0032A5A4 48 03 5B 35 */ bl Modulate__6CColorFRC6CColorRC6CColor +/* 8032D648 0032A5A8 83 E1 00 10 */ lwz r31, 0x10(r1) +/* 8032D64C 0032A5AC 7F E3 FB 78 */ mr r3, r31 +/* 8032D650 0032A5B0 4B FD DF 1D */ bl StreamColor__9CGraphicsFUi +/* 8032D654 0032A5B4 FC 20 C8 90 */ fmr f1, f25 +/* 8032D658 0032A5B8 C0 5B 01 D8 */ lfs f2, 0x1d8(r27) +/* 8032D65C 0032A5BC 4B FD DE 09 */ bl StreamTexcoord__9CGraphicsFff +/* 8032D660 0032A5C0 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 8032D664 0032A5C4 4B FD DF 5D */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 8032D668 0032A5C8 FC 20 C8 90 */ fmr f1, f25 +/* 8032D66C 0032A5CC C0 5B 01 E0 */ lfs f2, 0x1e0(r27) +/* 8032D670 0032A5D0 4B FD DD F5 */ bl StreamTexcoord__9CGraphicsFff +/* 8032D674 0032A5D4 38 61 00 A4 */ addi r3, r1, 0xa4 +/* 8032D678 0032A5D8 4B FD DF 49 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 8032D67C 0032A5DC C0 02 CA 90 */ lfs f0, lbl_805AE7B0@sda21(r2) +/* 8032D680 0032A5E0 FC 19 00 40 */ fcmpo cr0, f25, f0 +/* 8032D684 0032A5E4 4C 41 13 82 */ cror 2, 1, 2 +/* 8032D688 0032A5E8 40 82 00 50 */ bne lbl_8032D6D8 +/* 8032D68C 0032A5EC 2C 1E 00 00 */ cmpwi r30, 0 +/* 8032D690 0032A5F0 41 82 00 48 */ beq lbl_8032D6D8 +/* 8032D694 0032A5F4 4B FD DD 7D */ bl StreamEnd__9CGraphicsFv +/* 8032D698 0032A5F8 38 60 00 98 */ li r3, 0x98 +/* 8032D69C 0032A5FC 4B FD DF CD */ bl StreamBegin__9CGraphicsF13ERglPrimitive +/* 8032D6A0 0032A600 C0 02 CA 90 */ lfs f0, lbl_805AE7B0@sda21(r2) +/* 8032D6A4 0032A604 7F E3 FB 78 */ mr r3, r31 +/* 8032D6A8 0032A608 EF 39 00 28 */ fsubs f25, f25, f0 +/* 8032D6AC 0032A60C 4B FD DE C1 */ bl StreamColor__9CGraphicsFUi +/* 8032D6B0 0032A610 FC 20 C8 90 */ fmr f1, f25 +/* 8032D6B4 0032A614 C0 5B 01 D8 */ lfs f2, 0x1d8(r27) +/* 8032D6B8 0032A618 4B FD DD AD */ bl StreamTexcoord__9CGraphicsFff +/* 8032D6BC 0032A61C 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 8032D6C0 0032A620 4B FD DF 01 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 8032D6C4 0032A624 FC 20 C8 90 */ fmr f1, f25 +/* 8032D6C8 0032A628 C0 5B 01 E0 */ lfs f2, 0x1e0(r27) +/* 8032D6CC 0032A62C 4B FD DD 99 */ bl StreamTexcoord__9CGraphicsFff +/* 8032D6D0 0032A630 38 61 00 A4 */ addi r3, r1, 0xa4 +/* 8032D6D4 0032A634 4B FD DE ED */ bl StreamVertex__9CGraphicsFRC9CVector3f +lbl_8032D6D8: +/* 8032D6D8 0032A638 80 1B 01 EC */ lwz r0, 0x1ec(r27) +/* 8032D6DC 0032A63C 2C 00 00 00 */ cmpwi r0, 0 +/* 8032D6E0 0032A640 40 81 00 10 */ ble lbl_8032D6F0 +/* 8032D6E4 0032A644 C0 1B 01 E8 */ lfs f0, 0x1e8(r27) +/* 8032D6E8 0032A648 EF 39 00 2A */ fadds f25, f25, f0 +/* 8032D6EC 0032A64C 48 00 00 28 */ b lbl_8032D714 +lbl_8032D6F0: +/* 8032D6F0 0032A650 6F 83 80 00 */ xoris r3, r28, 0x8000 +/* 8032D6F4 0032A654 3C 00 43 30 */ lis r0, 0x4330 +/* 8032D6F8 0032A658 90 61 02 2C */ stw r3, 0x22c(r1) +/* 8032D6FC 0032A65C C8 22 CA F0 */ lfd f1, lbl_805AE810@sda21(r2) +/* 8032D700 0032A660 90 01 02 28 */ stw r0, 0x228(r1) +/* 8032D704 0032A664 C0 5B 01 E8 */ lfs f2, 0x1e8(r27) +/* 8032D708 0032A668 C8 01 02 28 */ lfd f0, 0x228(r1) +/* 8032D70C 0032A66C EC 00 08 28 */ fsubs f0, f0, f1 +/* 8032D710 0032A670 EF 22 00 32 */ fmuls f25, f2, f0 +lbl_8032D714: +/* 8032D714 0032A674 3B 9C 00 01 */ addi r28, r28, 1 +lbl_8032D718: +/* 8032D718 0032A678 80 7B 01 60 */ lwz r3, 0x160(r27) +/* 8032D71C 0032A67C 7C 1C 18 00 */ cmpw r28, r3 +/* 8032D720 0032A680 41 80 FD 28 */ blt lbl_8032D448 +/* 8032D724 0032A684 48 00 05 30 */ b lbl_8032DC54 +lbl_8032D728: +/* 8032D728 0032A688 3B E0 00 00 */ li r31, 0 +/* 8032D72C 0032A68C 48 00 02 E0 */ b lbl_8032DA0C +lbl_8032D730: +/* 8032D730 0032A690 57 A0 38 30 */ slwi r0, r29, 7 +/* 8032D734 0032A694 80 7B 01 68 */ lwz r3, 0x168(r27) +/* 8032D738 0032A698 37 BD FF FF */ addic. r29, r29, -1 +/* 8032D73C 0032A69C 7F 83 02 14 */ add r28, r3, r0 +/* 8032D740 0032A6A0 40 80 00 08 */ bge lbl_8032D748 +/* 8032D744 0032A6A4 3B A4 FF FF */ addi r29, r4, -1 +lbl_8032D748: +/* 8032D748 0032A6A8 88 1C 00 00 */ lbz r0, 0(r28) +/* 8032D74C 0032A6AC 28 00 00 00 */ cmplwi r0, 0 +/* 8032D750 0032A6B0 41 82 02 B8 */ beq lbl_8032DA08 +/* 8032D754 0032A6B4 C0 3C 00 30 */ lfs f1, 0x30(r28) +/* 8032D758 0032A6B8 3B DE FF FF */ addi r30, r30, -1 +/* 8032D75C 0032A6BC C0 1C 00 34 */ lfs f0, 0x34(r28) +/* 8032D760 0032A6C0 C0 62 CA D0 */ lfs f3, lbl_805AE7F0@sda21(r2) +/* 8032D764 0032A6C4 EC 41 00 2A */ fadds f2, f1, f0 +/* 8032D768 0032A6C8 C0 22 CA D4 */ lfs f1, lbl_805AE7F4@sda21(r2) +/* 8032D76C 0032A6CC C8 02 CA D8 */ lfd f0, lbl_805AE7F8@sda21(r2) +/* 8032D770 0032A6D0 EC 43 00 B2 */ fmuls f2, f3, f2 +/* 8032D774 0032A6D4 EC 82 08 24 */ fdivs f4, f2, f1 +/* 8032D778 0032A6D8 FC 20 22 10 */ fabs f1, f4 +/* 8032D77C 0032A6DC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8032D780 0032A6E0 40 81 00 5C */ ble lbl_8032D7DC +/* 8032D784 0032A6E4 C0 02 CA E0 */ lfs f0, lbl_805AE800@sda21(r2) +/* 8032D788 0032A6E8 3C 00 43 30 */ lis r0, 0x4330 +/* 8032D78C 0032A6EC 90 01 02 30 */ stw r0, 0x230(r1) +/* 8032D790 0032A6F0 EC 04 00 32 */ fmuls f0, f4, f0 +/* 8032D794 0032A6F4 C8 42 CA F0 */ lfd f2, lbl_805AE810@sda21(r2) +/* 8032D798 0032A6F8 C0 22 CA E4 */ lfs f1, lbl_805AE804@sda21(r2) +/* 8032D79C 0032A6FC FC 00 00 1E */ fctiwz f0, f0 +/* 8032D7A0 0032A700 D8 01 02 28 */ stfd f0, 0x228(r1) +/* 8032D7A4 0032A704 80 01 02 2C */ lwz r0, 0x22c(r1) +/* 8032D7A8 0032A708 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8032D7AC 0032A70C 90 01 02 34 */ stw r0, 0x234(r1) +/* 8032D7B0 0032A710 C8 01 02 30 */ lfd f0, 0x230(r1) +/* 8032D7B4 0032A714 EC 00 10 28 */ fsubs f0, f0, f2 +/* 8032D7B8 0032A718 EC 80 20 7C */ fnmsubs f4, f0, f1, f4 +/* 8032D7BC 0032A71C FC 04 18 40 */ fcmpo cr0, f4, f3 +/* 8032D7C0 0032A720 40 81 00 0C */ ble lbl_8032D7CC +/* 8032D7C4 0032A724 EC 84 08 28 */ fsubs f4, f4, f1 +/* 8032D7C8 0032A728 48 00 00 14 */ b lbl_8032D7DC +lbl_8032D7CC: +/* 8032D7CC 0032A72C C0 02 CA E8 */ lfs f0, lbl_805AE808@sda21(r2) +/* 8032D7D0 0032A730 FC 04 00 40 */ fcmpo cr0, f4, f0 +/* 8032D7D4 0032A734 40 80 00 08 */ bge lbl_8032D7DC +/* 8032D7D8 0032A738 EC 81 20 2A */ fadds f4, f1, f4 +lbl_8032D7DC: +/* 8032D7DC 0032A73C EC E4 01 32 */ fmuls f7, f4, f4 +/* 8032D7E0 0032A740 C0 02 CA BC */ lfs f0, lbl_805AE7DC@sda21(r2) +/* 8032D7E4 0032A744 C3 62 CA A8 */ lfs f27, lbl_805AE7C8@sda21(r2) +/* 8032D7E8 0032A748 38 61 00 68 */ addi r3, r1, 0x68 +/* 8032D7EC 0032A74C C0 42 CA AC */ lfs f2, lbl_805AE7CC@sda21(r2) +/* 8032D7F0 0032A750 EC A4 00 32 */ fmuls f5, f4, f0 +/* 8032D7F4 0032A754 EC C4 01 F2 */ fmuls f6, f4, f7 +/* 8032D7F8 0032A758 C0 22 CA C0 */ lfs f1, lbl_805AE7E0@sda21(r2) +/* 8032D7FC 0032A75C EF 67 D8 BA */ fmadds f27, f7, f2, f27 +/* 8032D800 0032A760 C0 42 CA B0 */ lfs f2, lbl_805AE7D0@sda21(r2) +/* 8032D804 0032A764 EC 87 01 F2 */ fmuls f4, f7, f7 +/* 8032D808 0032A768 C0 02 CA C4 */ lfs f0, lbl_805AE7E4@sda21(r2) +/* 8032D80C 0032A76C EC A6 28 7A */ fmadds f5, f6, f1, f5 +/* 8032D810 0032A770 C0 62 CA B4 */ lfs f3, lbl_805AE7D4@sda21(r2) +/* 8032D814 0032A774 EC C6 01 F2 */ fmuls f6, f6, f7 +/* 8032D818 0032A778 C0 22 CA C8 */ lfs f1, lbl_805AE7E8@sda21(r2) +/* 8032D81C 0032A77C EF 64 D8 BA */ fmadds f27, f4, f2, f27 +/* 8032D820 0032A780 C0 42 CA B8 */ lfs f2, lbl_805AE7D8@sda21(r2) +/* 8032D824 0032A784 EC 84 01 F2 */ fmuls f4, f4, f7 +/* 8032D828 0032A788 C1 1C 00 04 */ lfs f8, 4(r28) +/* 8032D82C 0032A78C EC A6 28 3A */ fmadds f5, f6, f0, f5 +/* 8032D830 0032A790 C3 5C 00 08 */ lfs f26, 8(r28) +/* 8032D834 0032A794 EC C6 01 F2 */ fmuls f6, f6, f7 +/* 8032D838 0032A798 C0 02 CA 94 */ lfs f0, lbl_805AE7B4@sda21(r2) +/* 8032D83C 0032A79C EF 64 D8 FA */ fmadds f27, f4, f3, f27 +/* 8032D840 0032A7A0 D0 01 00 60 */ stfs f0, 0x60(r1) +/* 8032D844 0032A7A4 EC A6 28 7A */ fmadds f5, f6, f1, f5 +/* 8032D848 0032A7A8 38 9C 00 38 */ addi r4, r28, 0x38 +/* 8032D84C 0032A7AC EC 84 01 F2 */ fmuls f4, f4, f7 +/* 8032D850 0032A7B0 38 A1 00 5C */ addi r5, r1, 0x5c +/* 8032D854 0032A7B4 FC 00 28 50 */ fneg f0, f5 +/* 8032D858 0032A7B8 EF 64 D8 BA */ fmadds f27, f4, f2, f27 +/* 8032D85C 0032A7BC EC 28 01 72 */ fmuls f1, f8, f5 +/* 8032D860 0032A7C0 EF FA 00 32 */ fmuls f31, f26, f0 +/* 8032D864 0032A7C4 EC 08 06 F2 */ fmuls f0, f8, f27 +/* 8032D868 0032A7C8 D0 21 00 64 */ stfs f1, 0x64(r1) +/* 8032D86C 0032A7CC D0 01 00 5C */ stfs f0, 0x5c(r1) +/* 8032D870 0032A7D0 4B FE 52 79 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8032D874 0032A7D4 C0 A1 00 6C */ lfs f5, 0x6c(r1) +/* 8032D878 0032A7D8 FC 00 D8 50 */ fneg f0, f27 +/* 8032D87C 0032A7DC C0 7C 00 10 */ lfs f3, 0x10(r28) +/* 8032D880 0032A7E0 38 61 00 50 */ addi r3, r1, 0x50 +/* 8032D884 0032A7E4 C0 41 00 70 */ lfs f2, 0x70(r1) +/* 8032D888 0032A7E8 38 9C 00 38 */ addi r4, r28, 0x38 +/* 8032D88C 0032A7EC C0 3C 00 14 */ lfs f1, 0x14(r28) +/* 8032D890 0032A7F0 C0 81 00 68 */ lfs f4, 0x68(r1) +/* 8032D894 0032A7F4 ED 05 18 2A */ fadds f8, f5, f3 +/* 8032D898 0032A7F8 C0 7C 00 0C */ lfs f3, 0xc(r28) +/* 8032D89C 0032A7FC EC C2 08 2A */ fadds f6, f2, f1 +/* 8032D8A0 0032A800 C0 FC 00 28 */ lfs f7, 0x28(r28) +/* 8032D8A4 0032A804 EC 3A 00 32 */ fmuls f1, f26, f0 +/* 8032D8A8 0032A808 C0 BC 00 2C */ lfs f5, 0x2c(r28) +/* 8032D8AC 0032A80C C0 5C 00 24 */ lfs f2, 0x24(r28) +/* 8032D8B0 0032A810 EC 64 18 2A */ fadds f3, f4, f3 +/* 8032D8B4 0032A814 EC E8 38 2A */ fadds f7, f8, f7 +/* 8032D8B8 0032A818 C0 02 CA 94 */ lfs f0, lbl_805AE7B4@sda21(r2) +/* 8032D8BC 0032A81C EC 86 28 2A */ fadds f4, f6, f5 +/* 8032D8C0 0032A820 D0 21 00 44 */ stfs f1, 0x44(r1) +/* 8032D8C4 0032A824 EC 23 10 2A */ fadds f1, f3, f2 +/* 8032D8C8 0032A828 D0 E1 00 9C */ stfs f7, 0x9c(r1) +/* 8032D8CC 0032A82C 38 A1 00 44 */ addi r5, r1, 0x44 +/* 8032D8D0 0032A830 D0 21 00 98 */ stfs f1, 0x98(r1) +/* 8032D8D4 0032A834 D0 81 00 A0 */ stfs f4, 0xa0(r1) +/* 8032D8D8 0032A838 D0 01 00 48 */ stfs f0, 0x48(r1) +/* 8032D8DC 0032A83C D3 E1 00 4C */ stfs f31, 0x4c(r1) +/* 8032D8E0 0032A840 4B FE 52 09 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8032D8E4 0032A844 C0 61 00 54 */ lfs f3, 0x54(r1) +/* 8032D8E8 0032A848 38 61 00 0C */ addi r3, r1, 0xc +/* 8032D8EC 0032A84C C0 5C 00 10 */ lfs f2, 0x10(r28) +/* 8032D8F0 0032A850 38 9C 00 6C */ addi r4, r28, 0x6c +/* 8032D8F4 0032A854 C0 21 00 58 */ lfs f1, 0x58(r1) +/* 8032D8F8 0032A858 38 BB 02 0C */ addi r5, r27, 0x20c +/* 8032D8FC 0032A85C C0 1C 00 14 */ lfs f0, 0x14(r28) +/* 8032D900 0032A860 EC A3 10 2A */ fadds f5, f3, f2 +/* 8032D904 0032A864 C0 7C 00 28 */ lfs f3, 0x28(r28) +/* 8032D908 0032A868 C0 41 00 50 */ lfs f2, 0x50(r1) +/* 8032D90C 0032A86C EC 81 00 2A */ fadds f4, f1, f0 +/* 8032D910 0032A870 C0 3C 00 0C */ lfs f1, 0xc(r28) +/* 8032D914 0032A874 EC A5 18 2A */ fadds f5, f5, f3 +/* 8032D918 0032A878 C0 7C 00 2C */ lfs f3, 0x2c(r28) +/* 8032D91C 0032A87C C0 1C 00 24 */ lfs f0, 0x24(r28) +/* 8032D920 0032A880 EC 22 08 2A */ fadds f1, f2, f1 +/* 8032D924 0032A884 EC 44 18 2A */ fadds f2, f4, f3 +/* 8032D928 0032A888 D0 A1 00 90 */ stfs f5, 0x90(r1) +/* 8032D92C 0032A88C EC 01 00 2A */ fadds f0, f1, f0 +/* 8032D930 0032A890 D0 41 00 94 */ stfs f2, 0x94(r1) +/* 8032D934 0032A894 D0 01 00 8C */ stfs f0, 0x8c(r1) +/* 8032D938 0032A898 48 03 58 41 */ bl Modulate__6CColorFRC6CColorRC6CColor +/* 8032D93C 0032A89C 83 81 00 0C */ lwz r28, 0xc(r1) +/* 8032D940 0032A8A0 7F 83 E3 78 */ mr r3, r28 +/* 8032D944 0032A8A4 4B FD DC 29 */ bl StreamColor__9CGraphicsFUi +/* 8032D948 0032A8A8 FC 20 C8 90 */ fmr f1, f25 +/* 8032D94C 0032A8AC C0 5B 01 D8 */ lfs f2, 0x1d8(r27) +/* 8032D950 0032A8B0 4B FD DB 15 */ bl StreamTexcoord__9CGraphicsFff +/* 8032D954 0032A8B4 38 61 00 98 */ addi r3, r1, 0x98 +/* 8032D958 0032A8B8 4B FD DC 69 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 8032D95C 0032A8BC FC 20 C8 90 */ fmr f1, f25 +/* 8032D960 0032A8C0 C0 5B 01 E0 */ lfs f2, 0x1e0(r27) +/* 8032D964 0032A8C4 4B FD DB 01 */ bl StreamTexcoord__9CGraphicsFff +/* 8032D968 0032A8C8 38 61 00 8C */ addi r3, r1, 0x8c +/* 8032D96C 0032A8CC 4B FD DC 55 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 8032D970 0032A8D0 C0 02 CA 90 */ lfs f0, lbl_805AE7B0@sda21(r2) +/* 8032D974 0032A8D4 FC 19 00 40 */ fcmpo cr0, f25, f0 +/* 8032D978 0032A8D8 4C 41 13 82 */ cror 2, 1, 2 +/* 8032D97C 0032A8DC 40 82 00 50 */ bne lbl_8032D9CC +/* 8032D980 0032A8E0 2C 1E 00 00 */ cmpwi r30, 0 +/* 8032D984 0032A8E4 41 82 00 48 */ beq lbl_8032D9CC +/* 8032D988 0032A8E8 4B FD DA 89 */ bl StreamEnd__9CGraphicsFv +/* 8032D98C 0032A8EC 38 60 00 98 */ li r3, 0x98 +/* 8032D990 0032A8F0 4B FD DC D9 */ bl StreamBegin__9CGraphicsF13ERglPrimitive +/* 8032D994 0032A8F4 C0 02 CA 90 */ lfs f0, lbl_805AE7B0@sda21(r2) +/* 8032D998 0032A8F8 7F 83 E3 78 */ mr r3, r28 +/* 8032D99C 0032A8FC EF 39 00 28 */ fsubs f25, f25, f0 +/* 8032D9A0 0032A900 4B FD DB CD */ bl StreamColor__9CGraphicsFUi +/* 8032D9A4 0032A904 FC 20 C8 90 */ fmr f1, f25 +/* 8032D9A8 0032A908 C0 5B 01 D8 */ lfs f2, 0x1d8(r27) +/* 8032D9AC 0032A90C 4B FD DA B9 */ bl StreamTexcoord__9CGraphicsFff +/* 8032D9B0 0032A910 38 61 00 98 */ addi r3, r1, 0x98 +/* 8032D9B4 0032A914 4B FD DC 0D */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 8032D9B8 0032A918 FC 20 C8 90 */ fmr f1, f25 +/* 8032D9BC 0032A91C C0 5B 01 E0 */ lfs f2, 0x1e0(r27) +/* 8032D9C0 0032A920 4B FD DA A5 */ bl StreamTexcoord__9CGraphicsFff +/* 8032D9C4 0032A924 38 61 00 8C */ addi r3, r1, 0x8c +/* 8032D9C8 0032A928 4B FD DB F9 */ bl StreamVertex__9CGraphicsFRC9CVector3f +lbl_8032D9CC: +/* 8032D9CC 0032A92C 80 1B 01 EC */ lwz r0, 0x1ec(r27) +/* 8032D9D0 0032A930 2C 00 00 00 */ cmpwi r0, 0 +/* 8032D9D4 0032A934 40 81 00 10 */ ble lbl_8032D9E4 +/* 8032D9D8 0032A938 C0 1B 01 E8 */ lfs f0, 0x1e8(r27) +/* 8032D9DC 0032A93C EF 39 00 2A */ fadds f25, f25, f0 +/* 8032D9E0 0032A940 48 00 00 28 */ b lbl_8032DA08 +lbl_8032D9E4: +/* 8032D9E4 0032A944 6F E3 80 00 */ xoris r3, r31, 0x8000 +/* 8032D9E8 0032A948 3C 00 43 30 */ lis r0, 0x4330 +/* 8032D9EC 0032A94C 90 61 02 34 */ stw r3, 0x234(r1) +/* 8032D9F0 0032A950 C8 22 CA F0 */ lfd f1, lbl_805AE810@sda21(r2) +/* 8032D9F4 0032A954 90 01 02 30 */ stw r0, 0x230(r1) +/* 8032D9F8 0032A958 C0 5B 01 E8 */ lfs f2, 0x1e8(r27) +/* 8032D9FC 0032A95C C8 01 02 30 */ lfd f0, 0x230(r1) +/* 8032DA00 0032A960 EC 00 08 28 */ fsubs f0, f0, f1 +/* 8032DA04 0032A964 EF 22 00 32 */ fmuls f25, f2, f0 +lbl_8032DA08: +/* 8032DA08 0032A968 3B FF 00 01 */ addi r31, r31, 1 +lbl_8032DA0C: +/* 8032DA0C 0032A96C 80 9B 01 60 */ lwz r4, 0x160(r27) +/* 8032DA10 0032A970 7C 1F 20 00 */ cmpw r31, r4 +/* 8032DA14 0032A974 41 80 FD 1C */ blt lbl_8032D730 +/* 8032DA18 0032A978 48 00 02 3C */ b lbl_8032DC54 +lbl_8032DA1C: +/* 8032DA1C 0032A97C 3B 80 00 00 */ li r28, 0 +/* 8032DA20 0032A980 48 00 02 28 */ b lbl_8032DC48 +lbl_8032DA24: +/* 8032DA24 0032A984 57 A0 38 30 */ slwi r0, r29, 7 +/* 8032DA28 0032A988 80 7B 01 68 */ lwz r3, 0x168(r27) +/* 8032DA2C 0032A98C 37 BD FF FF */ addic. r29, r29, -1 +/* 8032DA30 0032A990 7F C3 02 14 */ add r30, r3, r0 +/* 8032DA34 0032A994 40 80 00 08 */ bge lbl_8032DA3C +/* 8032DA38 0032A998 3B A4 FF FF */ addi r29, r4, -1 +lbl_8032DA3C: +/* 8032DA3C 0032A99C 88 1E 00 00 */ lbz r0, 0(r30) +/* 8032DA40 0032A9A0 28 00 00 00 */ cmplwi r0, 0 +/* 8032DA44 0032A9A4 41 82 02 00 */ beq lbl_8032DC44 +/* 8032DA48 0032A9A8 C0 3E 00 30 */ lfs f1, 0x30(r30) +/* 8032DA4C 0032A9AC C0 1E 00 34 */ lfs f0, 0x34(r30) +/* 8032DA50 0032A9B0 C0 62 CA D0 */ lfs f3, lbl_805AE7F0@sda21(r2) +/* 8032DA54 0032A9B4 EC 41 00 2A */ fadds f2, f1, f0 +/* 8032DA58 0032A9B8 C0 22 CA D4 */ lfs f1, lbl_805AE7F4@sda21(r2) +/* 8032DA5C 0032A9BC C8 02 CA D8 */ lfd f0, lbl_805AE7F8@sda21(r2) +/* 8032DA60 0032A9C0 EC 43 00 B2 */ fmuls f2, f3, f2 +/* 8032DA64 0032A9C4 EC 82 08 24 */ fdivs f4, f2, f1 +/* 8032DA68 0032A9C8 FC 20 22 10 */ fabs f1, f4 +/* 8032DA6C 0032A9CC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8032DA70 0032A9D0 40 81 00 5C */ ble lbl_8032DACC +/* 8032DA74 0032A9D4 C0 02 CA E0 */ lfs f0, lbl_805AE800@sda21(r2) +/* 8032DA78 0032A9D8 3C 00 43 30 */ lis r0, 0x4330 +/* 8032DA7C 0032A9DC 90 01 02 28 */ stw r0, 0x228(r1) +/* 8032DA80 0032A9E0 EC 04 00 32 */ fmuls f0, f4, f0 +/* 8032DA84 0032A9E4 C8 42 CA F0 */ lfd f2, lbl_805AE810@sda21(r2) +/* 8032DA88 0032A9E8 C0 22 CA E4 */ lfs f1, lbl_805AE804@sda21(r2) +/* 8032DA8C 0032A9EC FC 00 00 1E */ fctiwz f0, f0 +/* 8032DA90 0032A9F0 D8 01 02 30 */ stfd f0, 0x230(r1) +/* 8032DA94 0032A9F4 80 01 02 34 */ lwz r0, 0x234(r1) +/* 8032DA98 0032A9F8 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8032DA9C 0032A9FC 90 01 02 2C */ stw r0, 0x22c(r1) +/* 8032DAA0 0032AA00 C8 01 02 28 */ lfd f0, 0x228(r1) +/* 8032DAA4 0032AA04 EC 00 10 28 */ fsubs f0, f0, f2 +/* 8032DAA8 0032AA08 EC 80 20 7C */ fnmsubs f4, f0, f1, f4 +/* 8032DAAC 0032AA0C FC 04 18 40 */ fcmpo cr0, f4, f3 +/* 8032DAB0 0032AA10 40 81 00 0C */ ble lbl_8032DABC +/* 8032DAB4 0032AA14 EC 84 08 28 */ fsubs f4, f4, f1 +/* 8032DAB8 0032AA18 48 00 00 14 */ b lbl_8032DACC +lbl_8032DABC: +/* 8032DABC 0032AA1C C0 02 CA E8 */ lfs f0, lbl_805AE808@sda21(r2) +/* 8032DAC0 0032AA20 FC 04 00 40 */ fcmpo cr0, f4, f0 +/* 8032DAC4 0032AA24 40 80 00 08 */ bge lbl_8032DACC +/* 8032DAC8 0032AA28 EC 81 20 2A */ fadds f4, f1, f4 +lbl_8032DACC: +/* 8032DACC 0032AA2C EC E4 01 32 */ fmuls f7, f4, f4 +/* 8032DAD0 0032AA30 C0 02 CA BC */ lfs f0, lbl_805AE7DC@sda21(r2) +/* 8032DAD4 0032AA34 C3 22 CA A8 */ lfs f25, lbl_805AE7C8@sda21(r2) +/* 8032DAD8 0032AA38 38 61 00 38 */ addi r3, r1, 0x38 +/* 8032DADC 0032AA3C C0 42 CA AC */ lfs f2, lbl_805AE7CC@sda21(r2) +/* 8032DAE0 0032AA40 EC A4 00 32 */ fmuls f5, f4, f0 +/* 8032DAE4 0032AA44 EC C4 01 F2 */ fmuls f6, f4, f7 +/* 8032DAE8 0032AA48 C0 22 CA C0 */ lfs f1, lbl_805AE7E0@sda21(r2) +/* 8032DAEC 0032AA4C EF 27 C8 BA */ fmadds f25, f7, f2, f25 +/* 8032DAF0 0032AA50 C0 42 CA B0 */ lfs f2, lbl_805AE7D0@sda21(r2) +/* 8032DAF4 0032AA54 EC 87 01 F2 */ fmuls f4, f7, f7 +/* 8032DAF8 0032AA58 C0 02 CA C4 */ lfs f0, lbl_805AE7E4@sda21(r2) +/* 8032DAFC 0032AA5C EC A6 28 7A */ fmadds f5, f6, f1, f5 +/* 8032DB00 0032AA60 C0 62 CA B4 */ lfs f3, lbl_805AE7D4@sda21(r2) +/* 8032DB04 0032AA64 EC C6 01 F2 */ fmuls f6, f6, f7 +/* 8032DB08 0032AA68 C0 22 CA C8 */ lfs f1, lbl_805AE7E8@sda21(r2) +/* 8032DB0C 0032AA6C EF 24 C8 BA */ fmadds f25, f4, f2, f25 +/* 8032DB10 0032AA70 C0 42 CA B8 */ lfs f2, lbl_805AE7D8@sda21(r2) +/* 8032DB14 0032AA74 EC 84 01 F2 */ fmuls f4, f4, f7 +/* 8032DB18 0032AA78 C1 1E 00 04 */ lfs f8, 4(r30) +/* 8032DB1C 0032AA7C EC A6 28 3A */ fmadds f5, f6, f0, f5 +/* 8032DB20 0032AA80 C3 5E 00 08 */ lfs f26, 8(r30) +/* 8032DB24 0032AA84 EC C6 01 F2 */ fmuls f6, f6, f7 +/* 8032DB28 0032AA88 C0 02 CA 94 */ lfs f0, lbl_805AE7B4@sda21(r2) +/* 8032DB2C 0032AA8C EF 24 C8 FA */ fmadds f25, f4, f3, f25 +/* 8032DB30 0032AA90 D0 01 00 30 */ stfs f0, 0x30(r1) +/* 8032DB34 0032AA94 EC A6 28 7A */ fmadds f5, f6, f1, f5 +/* 8032DB38 0032AA98 38 9E 00 38 */ addi r4, r30, 0x38 +/* 8032DB3C 0032AA9C EC 84 01 F2 */ fmuls f4, f4, f7 +/* 8032DB40 0032AAA0 38 A1 00 2C */ addi r5, r1, 0x2c +/* 8032DB44 0032AAA4 FC 00 28 50 */ fneg f0, f5 +/* 8032DB48 0032AAA8 EF 24 C8 BA */ fmadds f25, f4, f2, f25 +/* 8032DB4C 0032AAAC EC 28 01 72 */ fmuls f1, f8, f5 +/* 8032DB50 0032AAB0 EF FA 00 32 */ fmuls f31, f26, f0 +/* 8032DB54 0032AAB4 EC 08 06 72 */ fmuls f0, f8, f25 +/* 8032DB58 0032AAB8 D0 21 00 34 */ stfs f1, 0x34(r1) +/* 8032DB5C 0032AABC D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 8032DB60 0032AAC0 4B FE 4F 89 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8032DB64 0032AAC4 C0 A1 00 3C */ lfs f5, 0x3c(r1) +/* 8032DB68 0032AAC8 FC 00 C8 50 */ fneg f0, f25 +/* 8032DB6C 0032AACC C0 7E 00 10 */ lfs f3, 0x10(r30) +/* 8032DB70 0032AAD0 38 61 00 20 */ addi r3, r1, 0x20 +/* 8032DB74 0032AAD4 C0 41 00 40 */ lfs f2, 0x40(r1) +/* 8032DB78 0032AAD8 38 9E 00 38 */ addi r4, r30, 0x38 +/* 8032DB7C 0032AADC C0 3E 00 14 */ lfs f1, 0x14(r30) +/* 8032DB80 0032AAE0 C0 81 00 38 */ lfs f4, 0x38(r1) +/* 8032DB84 0032AAE4 ED 05 18 2A */ fadds f8, f5, f3 +/* 8032DB88 0032AAE8 C0 7E 00 0C */ lfs f3, 0xc(r30) +/* 8032DB8C 0032AAEC EC C2 08 2A */ fadds f6, f2, f1 +/* 8032DB90 0032AAF0 C0 FE 00 28 */ lfs f7, 0x28(r30) +/* 8032DB94 0032AAF4 EC 3A 00 32 */ fmuls f1, f26, f0 +/* 8032DB98 0032AAF8 C0 BE 00 2C */ lfs f5, 0x2c(r30) +/* 8032DB9C 0032AAFC C0 5E 00 24 */ lfs f2, 0x24(r30) +/* 8032DBA0 0032AB00 EC 64 18 2A */ fadds f3, f4, f3 +/* 8032DBA4 0032AB04 EC E8 38 2A */ fadds f7, f8, f7 +/* 8032DBA8 0032AB08 C0 02 CA 94 */ lfs f0, lbl_805AE7B4@sda21(r2) +/* 8032DBAC 0032AB0C EC 86 28 2A */ fadds f4, f6, f5 +/* 8032DBB0 0032AB10 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 8032DBB4 0032AB14 EC 23 10 2A */ fadds f1, f3, f2 +/* 8032DBB8 0032AB18 D0 E1 00 84 */ stfs f7, 0x84(r1) +/* 8032DBBC 0032AB1C 38 A1 00 14 */ addi r5, r1, 0x14 +/* 8032DBC0 0032AB20 D0 21 00 80 */ stfs f1, 0x80(r1) +/* 8032DBC4 0032AB24 D0 81 00 88 */ stfs f4, 0x88(r1) +/* 8032DBC8 0032AB28 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 8032DBCC 0032AB2C D3 E1 00 1C */ stfs f31, 0x1c(r1) +/* 8032DBD0 0032AB30 4B FE 4F 19 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8032DBD4 0032AB34 C0 61 00 24 */ lfs f3, 0x24(r1) +/* 8032DBD8 0032AB38 38 61 00 08 */ addi r3, r1, 8 +/* 8032DBDC 0032AB3C C0 5E 00 10 */ lfs f2, 0x10(r30) +/* 8032DBE0 0032AB40 38 9E 00 6C */ addi r4, r30, 0x6c +/* 8032DBE4 0032AB44 C0 21 00 28 */ lfs f1, 0x28(r1) +/* 8032DBE8 0032AB48 38 BB 02 0C */ addi r5, r27, 0x20c +/* 8032DBEC 0032AB4C C0 1E 00 14 */ lfs f0, 0x14(r30) +/* 8032DBF0 0032AB50 EC A3 10 2A */ fadds f5, f3, f2 +/* 8032DBF4 0032AB54 C0 7E 00 28 */ lfs f3, 0x28(r30) +/* 8032DBF8 0032AB58 C0 41 00 20 */ lfs f2, 0x20(r1) +/* 8032DBFC 0032AB5C EC 81 00 2A */ fadds f4, f1, f0 +/* 8032DC00 0032AB60 C0 3E 00 0C */ lfs f1, 0xc(r30) +/* 8032DC04 0032AB64 EC A5 18 2A */ fadds f5, f5, f3 +/* 8032DC08 0032AB68 C0 7E 00 2C */ lfs f3, 0x2c(r30) +/* 8032DC0C 0032AB6C C0 1E 00 24 */ lfs f0, 0x24(r30) +/* 8032DC10 0032AB70 EC 22 08 2A */ fadds f1, f2, f1 +/* 8032DC14 0032AB74 EC 44 18 2A */ fadds f2, f4, f3 +/* 8032DC18 0032AB78 D0 A1 00 78 */ stfs f5, 0x78(r1) +/* 8032DC1C 0032AB7C EC 01 00 2A */ fadds f0, f1, f0 +/* 8032DC20 0032AB80 D0 41 00 7C */ stfs f2, 0x7c(r1) +/* 8032DC24 0032AB84 D0 01 00 74 */ stfs f0, 0x74(r1) +/* 8032DC28 0032AB88 48 03 55 51 */ bl Modulate__6CColorFRC6CColorRC6CColor +/* 8032DC2C 0032AB8C 80 61 00 08 */ lwz r3, 8(r1) +/* 8032DC30 0032AB90 4B FD D9 3D */ bl StreamColor__9CGraphicsFUi +/* 8032DC34 0032AB94 38 61 00 80 */ addi r3, r1, 0x80 +/* 8032DC38 0032AB98 4B FD D9 89 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 8032DC3C 0032AB9C 38 61 00 74 */ addi r3, r1, 0x74 +/* 8032DC40 0032ABA0 4B FD D9 81 */ bl StreamVertex__9CGraphicsFRC9CVector3f +lbl_8032DC44: +/* 8032DC44 0032ABA4 3B 9C 00 01 */ addi r28, r28, 1 +lbl_8032DC48: +/* 8032DC48 0032ABA8 80 9B 01 60 */ lwz r4, 0x160(r27) +/* 8032DC4C 0032ABAC 7C 1C 20 00 */ cmpw r28, r4 +/* 8032DC50 0032ABB0 41 80 FD D4 */ blt lbl_8032DA24 +lbl_8032DC54: +/* 8032DC54 0032ABB4 4B FD D7 BD */ bl StreamEnd__9CGraphicsFv +/* 8032DC58 0032ABB8 E3 E1 02 B8 */ psq_l f31, 696(r1), 0, qr0 +/* 8032DC5C 0032ABBC CB E1 02 B0 */ lfd f31, 0x2b0(r1) +/* 8032DC60 0032ABC0 E3 C1 02 A8 */ psq_l f30, 680(r1), 0, qr0 +/* 8032DC64 0032ABC4 CB C1 02 A0 */ lfd f30, 0x2a0(r1) +/* 8032DC68 0032ABC8 E3 A1 02 98 */ psq_l f29, 664(r1), 0, qr0 +/* 8032DC6C 0032ABCC CB A1 02 90 */ lfd f29, 0x290(r1) +/* 8032DC70 0032ABD0 E3 81 02 88 */ psq_l f28, 648(r1), 0, qr0 +/* 8032DC74 0032ABD4 CB 81 02 80 */ lfd f28, 0x280(r1) +/* 8032DC78 0032ABD8 E3 61 02 78 */ psq_l f27, 632(r1), 0, qr0 +/* 8032DC7C 0032ABDC CB 61 02 70 */ lfd f27, 0x270(r1) +/* 8032DC80 0032ABE0 E3 41 02 68 */ psq_l f26, 616(r1), 0, qr0 +/* 8032DC84 0032ABE4 CB 41 02 60 */ lfd f26, 0x260(r1) +/* 8032DC88 0032ABE8 E3 21 02 58 */ psq_l f25, 600(r1), 0, qr0 +/* 8032DC8C 0032ABEC CB 21 02 50 */ lfd f25, 0x250(r1) +/* 8032DC90 0032ABF0 BB 61 02 3C */ lmw r27, 0x23c(r1) +/* 8032DC94 0032ABF4 80 01 02 C4 */ lwz r0, 0x2c4(r1) +/* 8032DC98 0032ABF8 7C 08 03 A6 */ mtlr r0 +/* 8032DC9C 0032ABFC 38 21 02 C0 */ addi r1, r1, 0x2c0 +/* 8032DCA0 0032AC00 4E 80 00 20 */ blr + +.global Render__15CParticleSwooshFv +Render__15CParticleSwooshFv: +/* 8032DCA4 0032AC04 94 21 FE C0 */ stwu r1, -0x140(r1) +/* 8032DCA8 0032AC08 7C 08 02 A6 */ mflr r0 +/* 8032DCAC 0032AC0C 90 01 01 44 */ stw r0, 0x144(r1) +/* 8032DCB0 0032AC10 93 E1 01 3C */ stw r31, 0x13c(r1) +/* 8032DCB4 0032AC14 93 C1 01 38 */ stw r30, 0x138(r1) +/* 8032DCB8 0032AC18 93 A1 01 34 */ stw r29, 0x134(r1) +/* 8032DCBC 0032AC1C 7C 7D 1B 78 */ mr r29, r3 +/* 8032DCC0 0032AC20 80 03 01 B4 */ lwz r0, 0x1b4(r3) +/* 8032DCC4 0032AC24 2C 00 00 02 */ cmpwi r0, 2 +/* 8032DCC8 0032AC28 41 80 03 48 */ blt lbl_8032E010 +/* 8032DCCC 0032AC2C 80 1D 01 AC */ lwz r0, 0x1ac(r29) +/* 8032DCD0 0032AC30 2C 00 00 01 */ cmpwi r0, 1 +/* 8032DCD4 0032AC34 40 81 03 3C */ ble lbl_8032E010 +/* 8032DCD8 0032AC38 48 05 76 D1 */ bl OSGetTime +/* 8032DCDC 0032AC3C 7C 7F 1B 78 */ mr r31, r3 +/* 8032DCE0 0032AC40 80 7D 01 B4 */ lwz r3, 0x1b4(r29) +/* 8032DCE4 0032AC44 7C 9E 23 78 */ mr r30, r4 +/* 8032DCE8 0032AC48 4B FF CA 91 */ bl SetParticleLifetime__16CParticleGlobalsFi +/* 8032DCEC 0032AC4C 38 61 00 2C */ addi r3, r1, 0x2c +/* 8032DCF0 0032AC50 38 9D 01 C0 */ addi r4, r29, 0x1c0 +/* 8032DCF4 0032AC54 4B FE 49 8D */ bl __ct__13CGlobalRandomFR9CRandom16 +/* 8032DCF8 0032AC58 4B FD EC 85 */ bl DisableAllLights__9CGraphicsFv +/* 8032DCFC 0032AC5C 80 BD 00 24 */ lwz r5, 0x24(r29) +/* 8032DD00 0032AC60 38 60 00 01 */ li r3, 1 +/* 8032DD04 0032AC64 38 80 00 03 */ li r4, 3 +/* 8032DD08 0032AC68 88 05 00 45 */ lbz r0, 0x45(r5) +/* 8032DD0C 0032AC6C 54 05 CF FE */ rlwinm r5, r0, 0x19, 0x1f, 0x1f +/* 8032DD10 0032AC70 4B FD DD 85 */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb +/* 8032DD14 0032AC74 88 1D 01 D0 */ lbz r0, 0x1d0(r29) +/* 8032DD18 0032AC78 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8032DD1C 0032AC7C 41 82 00 1C */ beq lbl_8032DD38 +/* 8032DD20 0032AC80 38 60 00 01 */ li r3, 1 +/* 8032DD24 0032AC84 38 80 00 04 */ li r4, 4 +/* 8032DD28 0032AC88 38 A0 00 01 */ li r5, 1 +/* 8032DD2C 0032AC8C 38 C0 00 00 */ li r6, 0 +/* 8032DD30 0032AC90 4B FD DD 21 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +/* 8032DD34 0032AC94 48 00 00 18 */ b lbl_8032DD4C +lbl_8032DD38: +/* 8032DD38 0032AC98 38 60 00 01 */ li r3, 1 +/* 8032DD3C 0032AC9C 38 80 00 04 */ li r4, 4 +/* 8032DD40 0032ACA0 38 A0 00 05 */ li r5, 5 +/* 8032DD44 0032ACA4 38 C0 00 00 */ li r6, 0 +/* 8032DD48 0032ACA8 4B FD DD 09 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +lbl_8032DD4C: +/* 8032DD4C 0032ACAC 38 61 00 38 */ addi r3, r1, 0x38 +/* 8032DD50 0032ACB0 38 9D 01 4C */ addi r4, r29, 0x14c +/* 8032DD54 0032ACB4 4B FE 54 71 */ bl Scale__12CTransform4fFRC9CVector3f +/* 8032DD58 0032ACB8 38 61 00 68 */ addi r3, r1, 0x68 +/* 8032DD5C 0032ACBC 38 9D 00 A4 */ addi r4, r29, 0xa4 +/* 8032DD60 0032ACC0 4B FE 53 E1 */ bl Translate__12CTransform4fFRC9CVector3f +/* 8032DD64 0032ACC4 38 61 00 98 */ addi r3, r1, 0x98 +/* 8032DD68 0032ACC8 38 81 00 68 */ addi r4, r1, 0x68 +/* 8032DD6C 0032ACCC 38 BD 00 B0 */ addi r5, r29, 0xb0 +/* 8032DD70 0032ACD0 4B FE 4B E1 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8032DD74 0032ACD4 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 8032DD78 0032ACD8 38 81 00 98 */ addi r4, r1, 0x98 +/* 8032DD7C 0032ACDC 38 BD 00 EC */ addi r5, r29, 0xec +/* 8032DD80 0032ACE0 4B FE 4B D1 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8032DD84 0032ACE4 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 8032DD88 0032ACE8 38 81 00 C8 */ addi r4, r1, 0xc8 +/* 8032DD8C 0032ACEC 38 A1 00 38 */ addi r5, r1, 0x38 +/* 8032DD90 0032ACF0 4B FE 4B C1 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8032DD94 0032ACF4 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 8032DD98 0032ACF8 4B FD E8 49 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 8032DD9C 0032ACFC 38 60 00 00 */ li r3, 0 +/* 8032DDA0 0032AD00 4B FD DC D1 */ bl SetCullMode__9CGraphicsF12ERglCullMode +/* 8032DDA4 0032AD04 80 7D 00 24 */ lwz r3, 0x24(r29) +/* 8032DDA8 0032AD08 80 83 00 3C */ lwz r4, 0x3c(r3) +/* 8032DDAC 0032AD0C 28 04 00 00 */ cmplwi r4, 0 +/* 8032DDB0 0032AD10 41 82 01 7C */ beq lbl_8032DF2C +/* 8032DDB4 0032AD14 81 84 00 00 */ lwz r12, 0(r4) +/* 8032DDB8 0032AD18 38 61 00 10 */ addi r3, r1, 0x10 +/* 8032DDBC 0032AD1C 80 BD 00 28 */ lwz r5, 0x28(r29) +/* 8032DDC0 0032AD20 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 8032DDC4 0032AD24 7D 89 03 A6 */ mtctr r12 +/* 8032DDC8 0032AD28 4E 80 04 21 */ bctrl +/* 8032DDCC 0032AD2C 38 61 00 08 */ addi r3, r1, 8 +/* 8032DDD0 0032AD30 38 81 00 10 */ addi r4, r1, 0x10 +/* 8032DDD4 0032AD34 48 01 30 D5 */ bl __ct__6CTokenFRC6CToken +/* 8032DDD8 0032AD38 38 61 00 10 */ addi r3, r1, 0x10 +/* 8032DDDC 0032AD3C 38 80 00 00 */ li r4, 0 +/* 8032DDE0 0032AD40 48 01 30 61 */ bl __dt__6CTokenFv +/* 8032DDE4 0032AD44 38 61 00 08 */ addi r3, r1, 8 +/* 8032DDE8 0032AD48 48 01 30 25 */ bl GetObj__6CTokenFv +/* 8032DDEC 0032AD4C 80 63 00 04 */ lwz r3, 4(r3) +/* 8032DDF0 0032AD50 38 80 00 00 */ li r4, 0 +/* 8032DDF4 0032AD54 38 A0 00 01 */ li r5, 1 +/* 8032DDF8 0032AD58 4B FE 19 45 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode +/* 8032DDFC 0032AD5C 38 61 00 08 */ addi r3, r1, 8 +/* 8032DE00 0032AD60 48 01 30 0D */ bl GetObj__6CTokenFv +/* 8032DE04 0032AD64 80 03 00 04 */ lwz r0, 4(r3) +/* 8032DE08 0032AD68 38 61 00 08 */ addi r3, r1, 8 +/* 8032DE0C 0032AD6C 38 80 00 00 */ li r4, 0 +/* 8032DE10 0032AD70 90 1D 01 E4 */ stw r0, 0x1e4(r29) +/* 8032DE14 0032AD74 48 01 30 2D */ bl __dt__6CTokenFv +/* 8032DE18 0032AD78 80 7D 00 24 */ lwz r3, 0x24(r29) +/* 8032DE1C 0032AD7C 38 A1 00 1C */ addi r5, r1, 0x1c +/* 8032DE20 0032AD80 80 9D 00 28 */ lwz r4, 0x28(r29) +/* 8032DE24 0032AD84 80 63 00 3C */ lwz r3, 0x3c(r3) +/* 8032DE28 0032AD88 81 83 00 00 */ lwz r12, 0(r3) +/* 8032DE2C 0032AD8C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8032DE30 0032AD90 7D 89 03 A6 */ mtctr r12 +/* 8032DE34 0032AD94 4E 80 04 21 */ bctrl +/* 8032DE38 0032AD98 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 8032DE3C 0032AD9C D0 1D 01 D4 */ stfs f0, 0x1d4(r29) +/* 8032DE40 0032ADA0 C0 01 00 20 */ lfs f0, 0x20(r1) +/* 8032DE44 0032ADA4 D0 1D 01 D8 */ stfs f0, 0x1d8(r29) +/* 8032DE48 0032ADA8 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 8032DE4C 0032ADAC D0 1D 01 DC */ stfs f0, 0x1dc(r29) +/* 8032DE50 0032ADB0 C0 01 00 28 */ lfs f0, 0x28(r1) +/* 8032DE54 0032ADB4 D0 1D 01 E0 */ stfs f0, 0x1e0(r29) +/* 8032DE58 0032ADB8 80 7D 00 24 */ lwz r3, 0x24(r29) +/* 8032DE5C 0032ADBC 80 63 00 3C */ lwz r3, 0x3c(r3) +/* 8032DE60 0032ADC0 81 83 00 00 */ lwz r12, 0(r3) +/* 8032DE64 0032ADC4 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 8032DE68 0032ADC8 7D 89 03 A6 */ mtctr r12 +/* 8032DE6C 0032ADCC 4E 80 04 21 */ bctrl +/* 8032DE70 0032ADD0 88 1D 01 D0 */ lbz r0, 0x1d0(r29) +/* 8032DE74 0032ADD4 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f +/* 8032DE78 0032ADD8 98 1D 01 D0 */ stb r0, 0x1d0(r29) +/* 8032DE7C 0032ADDC 80 7D 00 24 */ lwz r3, 0x24(r29) +/* 8032DE80 0032ADE0 80 63 00 3C */ lwz r3, 0x3c(r3) +/* 8032DE84 0032ADE4 81 83 00 00 */ lwz r12, 0(r3) +/* 8032DE88 0032ADE8 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 8032DE8C 0032ADEC 7D 89 03 A6 */ mtctr r12 +/* 8032DE90 0032ADF0 4E 80 04 21 */ bctrl +/* 8032DE94 0032ADF4 88 1D 01 D1 */ lbz r0, 0x1d1(r29) +/* 8032DE98 0032ADF8 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8032DE9C 0032ADFC 98 1D 01 D1 */ stb r0, 0x1d1(r29) +/* 8032DEA0 0032AE00 80 7D 00 24 */ lwz r3, 0x24(r29) +/* 8032DEA4 0032AE04 80 63 00 40 */ lwz r3, 0x40(r3) +/* 8032DEA8 0032AE08 28 03 00 00 */ cmplwi r3, 0 +/* 8032DEAC 0032AE0C 41 82 00 1C */ beq lbl_8032DEC8 +/* 8032DEB0 0032AE10 81 83 00 00 */ lwz r12, 0(r3) +/* 8032DEB4 0032AE14 38 BD 01 EC */ addi r5, r29, 0x1ec +/* 8032DEB8 0032AE18 80 9D 00 28 */ lwz r4, 0x28(r29) +/* 8032DEBC 0032AE1C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8032DEC0 0032AE20 7D 89 03 A6 */ mtctr r12 +/* 8032DEC4 0032AE24 4E 80 04 21 */ bctrl +lbl_8032DEC8: +/* 8032DEC8 0032AE28 80 1D 01 EC */ lwz r0, 0x1ec(r29) +/* 8032DECC 0032AE2C 2C 00 00 00 */ cmpwi r0, 0 +/* 8032DED0 0032AE30 41 81 00 10 */ bgt lbl_8032DEE0 +/* 8032DED4 0032AE34 80 7D 01 60 */ lwz r3, 0x160(r29) +/* 8032DED8 0032AE38 38 03 FF FF */ addi r0, r3, -1 +/* 8032DEDC 0032AE3C 90 1D 01 EC */ stw r0, 0x1ec(r29) +lbl_8032DEE0: +/* 8032DEE0 0032AE40 C0 42 CA 90 */ lfs f2, lbl_805AE7B0@sda21(r2) +/* 8032DEE4 0032AE44 D0 5D 01 E8 */ stfs f2, 0x1e8(r29) +/* 8032DEE8 0032AE48 80 1D 01 EC */ lwz r0, 0x1ec(r29) +/* 8032DEEC 0032AE4C 2C 00 00 00 */ cmpwi r0, 0 +/* 8032DEF0 0032AE50 40 81 00 28 */ ble lbl_8032DF18 +/* 8032DEF4 0032AE54 6C 03 80 00 */ xoris r3, r0, 0x8000 +/* 8032DEF8 0032AE58 3C 00 43 30 */ lis r0, 0x4330 +/* 8032DEFC 0032AE5C 90 61 01 2C */ stw r3, 0x12c(r1) +/* 8032DF00 0032AE60 C8 22 CA F0 */ lfd f1, lbl_805AE810@sda21(r2) +/* 8032DF04 0032AE64 90 01 01 28 */ stw r0, 0x128(r1) +/* 8032DF08 0032AE68 C8 01 01 28 */ lfd f0, 0x128(r1) +/* 8032DF0C 0032AE6C EC 00 08 28 */ fsubs f0, f0, f1 +/* 8032DF10 0032AE70 EC 02 00 24 */ fdivs f0, f2, f0 +/* 8032DF14 0032AE74 D0 1D 01 E8 */ stfs f0, 0x1e8(r29) +lbl_8032DF18: +/* 8032DF18 0032AE78 3C 80 80 5A */ lis r4, lbl_805A5EBC@ha +/* 8032DF1C 0032AE7C 38 60 00 00 */ li r3, 0 +/* 8032DF20 0032AE80 38 84 5E BC */ addi r4, r4, lbl_805A5EBC@l +/* 8032DF24 0032AE84 4B FD C3 95 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +/* 8032DF28 0032AE88 48 00 00 10 */ b lbl_8032DF38 +lbl_8032DF2C: +/* 8032DF2C 0032AE8C 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) +/* 8032DF30 0032AE90 38 60 00 00 */ li r3, 0 +/* 8032DF34 0032AE94 4B FD C3 85 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +lbl_8032DF38: +/* 8032DF38 0032AE98 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) +/* 8032DF3C 0032AE9C 38 60 00 01 */ li r3, 1 +/* 8032DF40 0032AEA0 4B FD C3 79 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +/* 8032DF44 0032AEA4 80 1D 01 B8 */ lwz r0, 0x1b8(r29) +/* 8032DF48 0032AEA8 2C 00 00 02 */ cmpwi r0, 2 +/* 8032DF4C 0032AEAC 40 82 00 40 */ bne lbl_8032DF8C +/* 8032DF50 0032AEB0 80 1D 01 B0 */ lwz r0, 0x1b0(r29) +/* 8032DF54 0032AEB4 2C 00 00 00 */ cmpwi r0, 0 +/* 8032DF58 0032AEB8 41 81 00 28 */ bgt lbl_8032DF80 +/* 8032DF5C 0032AEBC 88 1D 01 D0 */ lbz r0, 0x1d0(r29) +/* 8032DF60 0032AEC0 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 8032DF64 0032AEC4 41 82 00 10 */ beq lbl_8032DF74 +/* 8032DF68 0032AEC8 7F A3 EB 78 */ mr r3, r29 +/* 8032DF6C 0032AECC 4B FF F0 7D */ bl Render2SidedNoSplineGaps__15CParticleSwooshFv +/* 8032DF70 0032AED0 48 00 00 68 */ b lbl_8032DFD8 +lbl_8032DF74: +/* 8032DF74 0032AED4 7F A3 EB 78 */ mr r3, r29 +/* 8032DF78 0032AED8 4B FF F3 CD */ bl Render2SidedNoSplineNoGaps__15CParticleSwooshFv +/* 8032DF7C 0032AEDC 48 00 00 5C */ b lbl_8032DFD8 +lbl_8032DF80: +/* 8032DF80 0032AEE0 7F A3 EB 78 */ mr r3, r29 +/* 8032DF84 0032AEE4 4B FF F0 45 */ bl Render2SidedSpline__15CParticleSwooshFv +/* 8032DF88 0032AEE8 48 00 00 50 */ b lbl_8032DFD8 +lbl_8032DF8C: +/* 8032DF8C 0032AEEC 2C 00 00 03 */ cmpwi r0, 3 +/* 8032DF90 0032AEF0 40 82 00 28 */ bne lbl_8032DFB8 +/* 8032DF94 0032AEF4 80 1D 01 B0 */ lwz r0, 0x1b0(r29) +/* 8032DF98 0032AEF8 2C 00 00 00 */ cmpwi r0, 0 +/* 8032DF9C 0032AEFC 40 81 00 10 */ ble lbl_8032DFAC +/* 8032DFA0 0032AF00 7F A3 EB 78 */ mr r3, r29 +/* 8032DFA4 0032AF04 4B FF DB 1D */ bl Render3SidedSolidSpline__15CParticleSwooshFv +/* 8032DFA8 0032AF08 48 00 00 30 */ b lbl_8032DFD8 +lbl_8032DFAC: +/* 8032DFAC 0032AF0C 7F A3 EB 78 */ mr r3, r29 +/* 8032DFB0 0032AF10 4B FF E6 E9 */ bl Render3SidedSolidNoSplineNoGaps__15CParticleSwooshFv +/* 8032DFB4 0032AF14 48 00 00 24 */ b lbl_8032DFD8 +lbl_8032DFB8: +/* 8032DFB8 0032AF18 80 1D 01 B0 */ lwz r0, 0x1b0(r29) +/* 8032DFBC 0032AF1C 2C 00 00 00 */ cmpwi r0, 0 +/* 8032DFC0 0032AF20 40 81 00 10 */ ble lbl_8032DFD0 +/* 8032DFC4 0032AF24 7F A3 EB 78 */ mr r3, r29 +/* 8032DFC8 0032AF28 4B FF CE D5 */ bl RenderNSidedSpline__15CParticleSwooshFv +/* 8032DFCC 0032AF2C 48 00 00 0C */ b lbl_8032DFD8 +lbl_8032DFD0: +/* 8032DFD0 0032AF30 7F A3 EB 78 */ mr r3, r29 +/* 8032DFD4 0032AF34 4B FF DA CD */ bl RenderNSidedNoSpline__15CParticleSwooshFv +lbl_8032DFD8: +/* 8032DFD8 0032AF38 48 05 73 D1 */ bl OSGetTime +/* 8032DFDC 0032AF3C 7C 9E 20 10 */ subfc r4, r30, r4 +/* 8032DFE0 0032AF40 7C 7F 19 10 */ subfe r3, r31, r3 +/* 8032DFE4 0032AF44 48 05 BF 81 */ bl __cvt_sll_flt +/* 8032DFE8 0032AF48 3C 80 80 5A */ lis r4, mData__10CStopwatch@ha +/* 8032DFEC 0032AF4C 38 60 00 01 */ li r3, 1 +/* 8032DFF0 0032AF50 38 84 FD 30 */ addi r4, r4, mData__10CStopwatch@l +/* 8032DFF4 0032AF54 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 8032DFF8 0032AF58 EC 01 00 32 */ fmuls f0, f1, f0 +/* 8032DFFC 0032AF5C D0 1D 01 C8 */ stfs f0, 0x1c8(r29) +/* 8032E000 0032AF60 4B FD DA 71 */ bl SetCullMode__9CGraphicsF12ERglCullMode +/* 8032E004 0032AF64 38 61 00 2C */ addi r3, r1, 0x2c +/* 8032E008 0032AF68 38 80 FF FF */ li r4, -1 +/* 8032E00C 0032AF6C 4B FE 45 F9 */ bl __dt__13CGlobalRandomFv +lbl_8032E010: +/* 8032E010 0032AF70 80 01 01 44 */ lwz r0, 0x144(r1) +/* 8032E014 0032AF74 83 E1 01 3C */ lwz r31, 0x13c(r1) +/* 8032E018 0032AF78 83 C1 01 38 */ lwz r30, 0x138(r1) +/* 8032E01C 0032AF7C 83 A1 01 34 */ lwz r29, 0x134(r1) +/* 8032E020 0032AF80 7C 08 03 A6 */ mtlr r0 +/* 8032E024 0032AF84 38 21 01 40 */ addi r1, r1, 0x140 +/* 8032E028 0032AF88 4E 80 00 20 */ blr + +.global IsSystemDeletable__15CParticleSwooshCFv +IsSystemDeletable__15CParticleSwooshCFv: +/* 8032E02C 0032AF8C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8032E030 0032AF90 7C 08 02 A6 */ mflr r0 +/* 8032E034 0032AF94 90 01 00 14 */ stw r0, 0x14(r1) +/* 8032E038 0032AF98 88 03 01 D0 */ lbz r0, 0x1d0(r3) +/* 8032E03C 0032AF9C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8032E040 0032AFA0 41 82 00 1C */ beq lbl_8032E05C +/* 8032E044 0032AFA4 80 83 00 28 */ lwz r4, 0x28(r3) +/* 8032E048 0032AFA8 80 03 00 2C */ lwz r0, 0x2c(r3) +/* 8032E04C 0032AFAC 7C 04 00 00 */ cmpw r4, r0 +/* 8032E050 0032AFB0 40 80 00 0C */ bge lbl_8032E05C +/* 8032E054 0032AFB4 38 60 00 00 */ li r3, 0 +/* 8032E058 0032AFB8 48 00 00 28 */ b lbl_8032E080 +lbl_8032E05C: +/* 8032E05C 0032AFBC 81 83 00 00 */ lwz r12, 0(r3) +/* 8032E060 0032AFC0 81 8C 00 60 */ lwz r12, 0x60(r12) +/* 8032E064 0032AFC4 7D 89 03 A6 */ mtctr r12 +/* 8032E068 0032AFC8 4E 80 04 21 */ bctrl +/* 8032E06C 0032AFCC 2C 03 00 02 */ cmpwi r3, 2 +/* 8032E070 0032AFD0 41 80 00 0C */ blt lbl_8032E07C +/* 8032E074 0032AFD4 38 60 00 00 */ li r3, 0 +/* 8032E078 0032AFD8 48 00 00 08 */ b lbl_8032E080 +lbl_8032E07C: +/* 8032E07C 0032AFDC 38 60 00 01 */ li r3, 1 +lbl_8032E080: +/* 8032E080 0032AFE0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8032E084 0032AFE4 7C 08 03 A6 */ mtlr r0 +/* 8032E088 0032AFE8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8032E08C 0032AFEC 4E 80 00 20 */ blr + +.global GetModulationColor__15CParticleSwooshCFv +GetModulationColor__15CParticleSwooshCFv: +/* 8032E090 0032AFF0 38 63 02 0C */ addi r3, r3, 0x20c +/* 8032E094 0032AFF4 4E 80 00 20 */ blr + +.global SetModulationColor__15CParticleSwooshFRC6CColor +SetModulationColor__15CParticleSwooshFRC6CColor: +/* 8032E098 0032AFF8 80 04 00 00 */ lwz r0, 0(r4) +/* 8032E09C 0032AFFC 90 03 02 0C */ stw r0, 0x20c(r3) +/* 8032E0A0 0032B000 4E 80 00 20 */ blr + +.global GetParticleCount__15CParticleSwooshCFv +GetParticleCount__15CParticleSwooshCFv: +/* 8032E0A4 0032B004 80 63 01 AC */ lwz r3, 0x1ac(r3) +/* 8032E0A8 0032B008 4E 80 00 20 */ blr + +.global SetLocalScale__15CParticleSwooshFRC9CVector3f +SetLocalScale__15CParticleSwooshFRC9CVector3f: +/* 8032E0AC 0032B00C C0 04 00 00 */ lfs f0, 0(r4) +/* 8032E0B0 0032B010 D0 03 01 4C */ stfs f0, 0x14c(r3) +/* 8032E0B4 0032B014 C0 04 00 04 */ lfs f0, 4(r4) +/* 8032E0B8 0032B018 D0 03 01 50 */ stfs f0, 0x150(r3) +/* 8032E0BC 0032B01C C0 04 00 08 */ lfs f0, 8(r4) +/* 8032E0C0 0032B020 D0 03 01 54 */ stfs f0, 0x154(r3) +/* 8032E0C4 0032B024 4E 80 00 20 */ blr + +.global SetGlobalOrientation__15CParticleSwooshFRC12CTransform4f +SetGlobalOrientation__15CParticleSwooshFRC12CTransform4f: +/* 8032E0C8 0032B028 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8032E0CC 0032B02C 7C 08 02 A6 */ mflr r0 +/* 8032E0D0 0032B030 90 01 00 44 */ stw r0, 0x44(r1) +/* 8032E0D4 0032B034 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 8032E0D8 0032B038 7C 7F 1B 78 */ mr r31, r3 +/* 8032E0DC 0032B03C 38 61 00 08 */ addi r3, r1, 8 +/* 8032E0E0 0032B040 4B FE 4B 61 */ bl GetRotation__12CTransform4fCFv +/* 8032E0E4 0032B044 38 7F 00 B0 */ addi r3, r31, 0xb0 +/* 8032E0E8 0032B048 38 81 00 08 */ addi r4, r1, 8 +/* 8032E0EC 0032B04C 4B FE 4A 55 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8032E0F0 0032B050 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8032E0F4 0032B054 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 8032E0F8 0032B058 7C 08 03 A6 */ mtlr r0 +/* 8032E0FC 0032B05C 38 21 00 40 */ addi r1, r1, 0x40 +/* 8032E100 0032B060 4E 80 00 20 */ blr + +.global SetGlobalTranslation__15CParticleSwooshFRC9CVector3f +SetGlobalTranslation__15CParticleSwooshFRC9CVector3f: +/* 8032E104 0032B064 C0 04 00 00 */ lfs f0, 0(r4) +/* 8032E108 0032B068 D0 03 00 A4 */ stfs f0, 0xa4(r3) +/* 8032E10C 0032B06C C0 04 00 04 */ lfs f0, 4(r4) +/* 8032E110 0032B070 D0 03 00 A8 */ stfs f0, 0xa8(r3) +/* 8032E114 0032B074 C0 04 00 08 */ lfs f0, 8(r4) +/* 8032E118 0032B078 D0 03 00 AC */ stfs f0, 0xac(r3) +/* 8032E11C 0032B07C 4E 80 00 20 */ blr + +.global SetTranslation__15CParticleSwooshFRC9CVector3f +SetTranslation__15CParticleSwooshFRC9CVector3f: +/* 8032E120 0032B080 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8032E124 0032B084 7C 08 02 A6 */ mflr r0 +/* 8032E128 0032B088 90 01 00 14 */ stw r0, 0x14(r1) +/* 8032E12C 0032B08C C0 04 00 00 */ lfs f0, 0(r4) +/* 8032E130 0032B090 D0 03 00 38 */ stfs f0, 0x38(r3) +/* 8032E134 0032B094 C0 04 00 04 */ lfs f0, 4(r4) +/* 8032E138 0032B098 D0 03 00 3C */ stfs f0, 0x3c(r3) +/* 8032E13C 0032B09C C0 04 00 08 */ lfs f0, 8(r4) +/* 8032E140 0032B0A0 38 83 00 38 */ addi r4, r3, 0x38 +/* 8032E144 0032B0A4 D0 03 00 40 */ stfs f0, 0x40(r3) +/* 8032E148 0032B0A8 4B FF C7 31 */ bl UpdateSwooshTranslation__15CParticleSwooshFRC9CVector3f +/* 8032E14C 0032B0AC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8032E150 0032B0B0 7C 08 03 A6 */ mtlr r0 +/* 8032E154 0032B0B4 38 21 00 10 */ addi r1, r1, 0x10 +/* 8032E158 0032B0B8 4E 80 00 20 */ blr + +.global UpdateTranslationAndOrientation__15CParticleSwooshFv +UpdateTranslationAndOrientation__15CParticleSwooshFv: +/* 8032E15C 0032B0BC 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 8032E160 0032B0C0 7C 08 02 A6 */ mflr r0 +/* 8032E164 0032B0C4 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 8032E168 0032B0C8 93 E1 00 BC */ stw r31, 0xbc(r1) +/* 8032E16C 0032B0CC 93 C1 00 B8 */ stw r30, 0xb8(r1) +/* 8032E170 0032B0D0 93 A1 00 B4 */ stw r29, 0xb4(r1) +/* 8032E174 0032B0D4 93 81 00 B0 */ stw r28, 0xb0(r1) +/* 8032E178 0032B0D8 7C 7C 1B 78 */ mr r28, r3 +/* 8032E17C 0032B0DC 80 03 01 AC */ lwz r0, 0x1ac(r3) +/* 8032E180 0032B0E0 2C 00 00 00 */ cmpwi r0, 0 +/* 8032E184 0032B0E4 40 81 04 FC */ ble lbl_8032E680 +/* 8032E188 0032B0E8 C0 02 CA 94 */ lfs f0, lbl_805AE7B4@sda21(r2) +/* 8032E18C 0032B0EC C0 22 CB 04 */ lfs f1, lbl_805AE824@sda21(r2) +/* 8032E190 0032B0F0 D0 1C 02 08 */ stfs f0, 0x208(r28) +/* 8032E194 0032B0F4 C0 02 CB 08 */ lfs f0, lbl_805AE828@sda21(r2) +/* 8032E198 0032B0F8 D0 3C 01 F0 */ stfs f1, 0x1f0(r28) +/* 8032E19C 0032B0FC D0 3C 01 F4 */ stfs f1, 0x1f4(r28) +/* 8032E1A0 0032B100 D0 3C 01 F8 */ stfs f1, 0x1f8(r28) +/* 8032E1A4 0032B104 D0 1C 01 FC */ stfs f0, 0x1fc(r28) +/* 8032E1A8 0032B108 D0 1C 02 00 */ stfs f0, 0x200(r28) +/* 8032E1AC 0032B10C D0 1C 02 04 */ stfs f0, 0x204(r28) +/* 8032E1B0 0032B110 80 7C 01 B4 */ lwz r3, 0x1b4(r28) +/* 8032E1B4 0032B114 4B FF C5 C5 */ bl SetParticleLifetime__16CParticleGlobalsFi +/* 8032E1B8 0032B118 80 7C 00 28 */ lwz r3, 0x28(r28) +/* 8032E1BC 0032B11C 4B FF C5 8D */ bl SetEmitterTime__16CParticleGlobalsFi +/* 8032E1C0 0032B120 C0 02 CA 94 */ lfs f0, lbl_805AE7B4@sda21(r2) +/* 8032E1C4 0032B124 3B C0 00 00 */ li r30, 0 +/* 8032E1C8 0032B128 3B E0 00 00 */ li r31, 0 +/* 8032E1CC 0032B12C D0 01 00 A4 */ stfs f0, 0xa4(r1) +/* 8032E1D0 0032B130 D0 01 00 A8 */ stfs f0, 0xa8(r1) +/* 8032E1D4 0032B134 D0 01 00 AC */ stfs f0, 0xac(r1) +/* 8032E1D8 0032B138 D0 01 00 98 */ stfs f0, 0x98(r1) +/* 8032E1DC 0032B13C D0 01 00 9C */ stfs f0, 0x9c(r1) +/* 8032E1E0 0032B140 D0 01 00 A0 */ stfs f0, 0xa0(r1) +/* 8032E1E4 0032B144 D0 01 00 8C */ stfs f0, 0x8c(r1) +/* 8032E1E8 0032B148 D0 01 00 90 */ stfs f0, 0x90(r1) +/* 8032E1EC 0032B14C D0 01 00 94 */ stfs f0, 0x94(r1) +/* 8032E1F0 0032B150 48 00 04 84 */ b lbl_8032E674 +lbl_8032E1F4: +/* 8032E1F4 0032B154 80 1C 01 68 */ lwz r0, 0x168(r28) +/* 8032E1F8 0032B158 7F A0 FA 14 */ add r29, r0, r31 +/* 8032E1FC 0032B15C 88 1D 00 00 */ lbz r0, 0(r29) +/* 8032E200 0032B160 28 00 00 00 */ cmplwi r0, 0 +/* 8032E204 0032B164 41 82 04 68 */ beq lbl_8032E66C +/* 8032E208 0032B168 80 7D 00 70 */ lwz r3, 0x70(r29) +/* 8032E20C 0032B16C 80 1C 00 28 */ lwz r0, 0x28(r28) +/* 8032E210 0032B170 7C 03 00 50 */ subf r0, r3, r0 +/* 8032E214 0032B174 90 1D 00 68 */ stw r0, 0x68(r29) +/* 8032E218 0032B178 80 7D 00 68 */ lwz r3, 0x68(r29) +/* 8032E21C 0032B17C 4B FF C4 61 */ bl UpdateParticleLifetimeTweenValues__16CParticleGlobalsFi +/* 8032E220 0032B180 80 7C 00 24 */ lwz r3, 0x24(r28) +/* 8032E224 0032B184 88 03 00 44 */ lbz r0, 0x44(r3) +/* 8032E228 0032B188 54 00 EF FE */ rlwinm r0, r0, 0x1d, 0x1f, 0x1f +/* 8032E22C 0032B18C 28 00 00 01 */ cmplwi r0, 1 +/* 8032E230 0032B190 40 82 00 34 */ bne lbl_8032E264 +/* 8032E234 0032B194 80 63 00 1C */ lwz r3, 0x1c(r3) +/* 8032E238 0032B198 28 03 00 00 */ cmplwi r3, 0 +/* 8032E23C 0032B19C 41 82 00 1C */ beq lbl_8032E258 +/* 8032E240 0032B1A0 81 83 00 00 */ lwz r12, 0(r3) +/* 8032E244 0032B1A4 38 BD 00 30 */ addi r5, r29, 0x30 +/* 8032E248 0032B1A8 80 9C 00 28 */ lwz r4, 0x28(r28) +/* 8032E24C 0032B1AC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8032E250 0032B1B0 7D 89 03 A6 */ mtctr r12 +/* 8032E254 0032B1B4 4E 80 04 21 */ bctrl +lbl_8032E258: +/* 8032E258 0032B1B8 C0 02 CA 94 */ lfs f0, lbl_805AE7B4@sda21(r2) +/* 8032E25C 0032B1BC D0 1D 00 34 */ stfs f0, 0x34(r29) +/* 8032E260 0032B1C0 48 00 00 34 */ b lbl_8032E294 +lbl_8032E264: +/* 8032E264 0032B1C4 80 63 00 20 */ lwz r3, 0x20(r3) +/* 8032E268 0032B1C8 28 03 00 00 */ cmplwi r3, 0 +/* 8032E26C 0032B1CC 41 82 00 20 */ beq lbl_8032E28C +/* 8032E270 0032B1D0 81 83 00 00 */ lwz r12, 0(r3) +/* 8032E274 0032B1D4 38 BD 00 34 */ addi r5, r29, 0x34 +/* 8032E278 0032B1D8 80 9C 00 28 */ lwz r4, 0x28(r28) +/* 8032E27C 0032B1DC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8032E280 0032B1E0 7D 89 03 A6 */ mtctr r12 +/* 8032E284 0032B1E4 4E 80 04 21 */ bctrl +/* 8032E288 0032B1E8 48 00 00 0C */ b lbl_8032E294 +lbl_8032E28C: +/* 8032E28C 0032B1EC C0 02 CA 94 */ lfs f0, lbl_805AE7B4@sda21(r2) +/* 8032E290 0032B1F0 D0 1D 00 34 */ stfs f0, 0x34(r29) +lbl_8032E294: +/* 8032E294 0032B1F4 80 7C 00 24 */ lwz r3, 0x24(r28) +/* 8032E298 0032B1F8 80 63 00 30 */ lwz r3, 0x30(r3) +/* 8032E29C 0032B1FC 28 03 00 00 */ cmplwi r3, 0 +/* 8032E2A0 0032B200 41 82 01 3C */ beq lbl_8032E3DC +/* 8032E2A4 0032B204 88 1C 01 D0 */ lbz r0, 0x1d0(r28) +/* 8032E2A8 0032B208 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 8032E2AC 0032B20C 41 82 01 14 */ beq lbl_8032E3C0 +/* 8032E2B0 0032B210 38 61 00 80 */ addi r3, r1, 0x80 +/* 8032E2B4 0032B214 38 9C 00 74 */ addi r4, r28, 0x74 +/* 8032E2B8 0032B218 38 BD 00 74 */ addi r5, r29, 0x74 +/* 8032E2BC 0032B21C 4B FE 48 2D */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8032E2C0 0032B220 C0 41 00 80 */ lfs f2, 0x80(r1) +/* 8032E2C4 0032B224 38 61 00 74 */ addi r3, r1, 0x74 +/* 8032E2C8 0032B228 C0 21 00 84 */ lfs f1, 0x84(r1) +/* 8032E2CC 0032B22C 38 9C 00 74 */ addi r4, r28, 0x74 +/* 8032E2D0 0032B230 C0 01 00 88 */ lfs f0, 0x88(r1) +/* 8032E2D4 0032B234 38 A1 00 68 */ addi r5, r1, 0x68 +/* 8032E2D8 0032B238 D0 41 00 98 */ stfs f2, 0x98(r1) +/* 8032E2DC 0032B23C D0 21 00 9C */ stfs f1, 0x9c(r1) +/* 8032E2E0 0032B240 D0 01 00 A0 */ stfs f0, 0xa0(r1) +/* 8032E2E4 0032B244 C0 3D 00 10 */ lfs f1, 0x10(r29) +/* 8032E2E8 0032B248 C0 1C 00 3C */ lfs f0, 0x3c(r28) +/* 8032E2EC 0032B24C C0 7D 00 14 */ lfs f3, 0x14(r29) +/* 8032E2F0 0032B250 C0 5C 00 40 */ lfs f2, 0x40(r28) +/* 8032E2F4 0032B254 EC 81 00 28 */ fsubs f4, f1, f0 +/* 8032E2F8 0032B258 C0 3D 00 0C */ lfs f1, 0xc(r29) +/* 8032E2FC 0032B25C C0 1C 00 38 */ lfs f0, 0x38(r28) +/* 8032E300 0032B260 EC 43 10 28 */ fsubs f2, f3, f2 +/* 8032E304 0032B264 EC 01 00 28 */ fsubs f0, f1, f0 +/* 8032E308 0032B268 D0 81 00 6C */ stfs f4, 0x6c(r1) +/* 8032E30C 0032B26C D0 41 00 70 */ stfs f2, 0x70(r1) +/* 8032E310 0032B270 D0 01 00 68 */ stfs f0, 0x68(r1) +/* 8032E314 0032B274 4B FE 47 D5 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8032E318 0032B278 C0 41 00 74 */ lfs f2, 0x74(r1) +/* 8032E31C 0032B27C 38 A1 00 98 */ addi r5, r1, 0x98 +/* 8032E320 0032B280 C0 21 00 78 */ lfs f1, 0x78(r1) +/* 8032E324 0032B284 38 C1 00 8C */ addi r6, r1, 0x8c +/* 8032E328 0032B288 C0 01 00 7C */ lfs f0, 0x7c(r1) +/* 8032E32C 0032B28C D0 41 00 8C */ stfs f2, 0x8c(r1) +/* 8032E330 0032B290 D0 21 00 90 */ stfs f1, 0x90(r1) +/* 8032E334 0032B294 D0 01 00 94 */ stfs f0, 0x94(r1) +/* 8032E338 0032B298 80 7C 00 24 */ lwz r3, 0x24(r28) +/* 8032E33C 0032B29C 80 9D 00 68 */ lwz r4, 0x68(r29) +/* 8032E340 0032B2A0 80 63 00 30 */ lwz r3, 0x30(r3) +/* 8032E344 0032B2A4 81 83 00 00 */ lwz r12, 0(r3) +/* 8032E348 0032B2A8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8032E34C 0032B2AC 7D 89 03 A6 */ mtctr r12 +/* 8032E350 0032B2B0 4E 80 04 21 */ bctrl +/* 8032E354 0032B2B4 38 61 00 5C */ addi r3, r1, 0x5c +/* 8032E358 0032B2B8 38 9C 00 44 */ addi r4, r28, 0x44 +/* 8032E35C 0032B2BC 38 A1 00 98 */ addi r5, r1, 0x98 +/* 8032E360 0032B2C0 4B FE 47 89 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8032E364 0032B2C4 C0 01 00 5C */ lfs f0, 0x5c(r1) +/* 8032E368 0032B2C8 38 61 00 50 */ addi r3, r1, 0x50 +/* 8032E36C 0032B2CC 38 9C 00 44 */ addi r4, r28, 0x44 +/* 8032E370 0032B2D0 38 A1 00 8C */ addi r5, r1, 0x8c +/* 8032E374 0032B2D4 D0 1D 00 74 */ stfs f0, 0x74(r29) +/* 8032E378 0032B2D8 C0 01 00 60 */ lfs f0, 0x60(r1) +/* 8032E37C 0032B2DC D0 1D 00 78 */ stfs f0, 0x78(r29) +/* 8032E380 0032B2E0 C0 01 00 64 */ lfs f0, 0x64(r1) +/* 8032E384 0032B2E4 D0 1D 00 7C */ stfs f0, 0x7c(r29) +/* 8032E388 0032B2E8 4B FE 47 61 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8032E38C 0032B2EC C0 21 00 50 */ lfs f1, 0x50(r1) +/* 8032E390 0032B2F0 C0 1C 00 38 */ lfs f0, 0x38(r28) +/* 8032E394 0032B2F4 C0 81 00 54 */ lfs f4, 0x54(r1) +/* 8032E398 0032B2F8 C0 7C 00 3C */ lfs f3, 0x3c(r28) +/* 8032E39C 0032B2FC EC 01 00 2A */ fadds f0, f1, f0 +/* 8032E3A0 0032B300 C0 41 00 58 */ lfs f2, 0x58(r1) +/* 8032E3A4 0032B304 C0 3C 00 40 */ lfs f1, 0x40(r28) +/* 8032E3A8 0032B308 EC 64 18 2A */ fadds f3, f4, f3 +/* 8032E3AC 0032B30C D0 1D 00 0C */ stfs f0, 0xc(r29) +/* 8032E3B0 0032B310 EC 02 08 2A */ fadds f0, f2, f1 +/* 8032E3B4 0032B314 D0 7D 00 10 */ stfs f3, 0x10(r29) +/* 8032E3B8 0032B318 D0 1D 00 14 */ stfs f0, 0x14(r29) +/* 8032E3BC 0032B31C 48 00 00 20 */ b lbl_8032E3DC +lbl_8032E3C0: +/* 8032E3C0 0032B320 81 83 00 00 */ lwz r12, 0(r3) +/* 8032E3C4 0032B324 38 BD 00 74 */ addi r5, r29, 0x74 +/* 8032E3C8 0032B328 38 DD 00 0C */ addi r6, r29, 0xc +/* 8032E3CC 0032B32C 80 9D 00 68 */ lwz r4, 0x68(r29) +/* 8032E3D0 0032B330 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8032E3D4 0032B334 7D 89 03 A6 */ mtctr r12 +/* 8032E3D8 0032B338 4E 80 04 21 */ bctrl +lbl_8032E3DC: +/* 8032E3DC 0032B33C 80 7C 00 24 */ lwz r3, 0x24(r28) +/* 8032E3E0 0032B340 80 63 00 34 */ lwz r3, 0x34(r3) +/* 8032E3E4 0032B344 28 03 00 00 */ cmplwi r3, 0 +/* 8032E3E8 0032B348 41 82 01 3C */ beq lbl_8032E524 +/* 8032E3EC 0032B34C 88 1C 01 D0 */ lbz r0, 0x1d0(r28) +/* 8032E3F0 0032B350 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f +/* 8032E3F4 0032B354 41 82 01 14 */ beq lbl_8032E508 +/* 8032E3F8 0032B358 38 61 00 44 */ addi r3, r1, 0x44 +/* 8032E3FC 0032B35C 38 9C 00 74 */ addi r4, r28, 0x74 +/* 8032E400 0032B360 38 BD 00 74 */ addi r5, r29, 0x74 +/* 8032E404 0032B364 4B FE 46 E5 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8032E408 0032B368 C0 41 00 44 */ lfs f2, 0x44(r1) +/* 8032E40C 0032B36C 38 61 00 38 */ addi r3, r1, 0x38 +/* 8032E410 0032B370 C0 21 00 48 */ lfs f1, 0x48(r1) +/* 8032E414 0032B374 38 9C 00 74 */ addi r4, r28, 0x74 +/* 8032E418 0032B378 C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 8032E41C 0032B37C 38 A1 00 2C */ addi r5, r1, 0x2c +/* 8032E420 0032B380 D0 41 00 98 */ stfs f2, 0x98(r1) +/* 8032E424 0032B384 D0 21 00 9C */ stfs f1, 0x9c(r1) +/* 8032E428 0032B388 D0 01 00 A0 */ stfs f0, 0xa0(r1) +/* 8032E42C 0032B38C C0 3D 00 10 */ lfs f1, 0x10(r29) +/* 8032E430 0032B390 C0 1C 00 3C */ lfs f0, 0x3c(r28) +/* 8032E434 0032B394 C0 7D 00 14 */ lfs f3, 0x14(r29) +/* 8032E438 0032B398 C0 5C 00 40 */ lfs f2, 0x40(r28) +/* 8032E43C 0032B39C EC 81 00 28 */ fsubs f4, f1, f0 +/* 8032E440 0032B3A0 C0 3D 00 0C */ lfs f1, 0xc(r29) +/* 8032E444 0032B3A4 C0 1C 00 38 */ lfs f0, 0x38(r28) +/* 8032E448 0032B3A8 EC 43 10 28 */ fsubs f2, f3, f2 +/* 8032E44C 0032B3AC EC 01 00 28 */ fsubs f0, f1, f0 +/* 8032E450 0032B3B0 D0 81 00 30 */ stfs f4, 0x30(r1) +/* 8032E454 0032B3B4 D0 41 00 34 */ stfs f2, 0x34(r1) +/* 8032E458 0032B3B8 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 8032E45C 0032B3BC 4B FE 46 8D */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8032E460 0032B3C0 C0 41 00 38 */ lfs f2, 0x38(r1) +/* 8032E464 0032B3C4 38 A1 00 98 */ addi r5, r1, 0x98 +/* 8032E468 0032B3C8 C0 21 00 3C */ lfs f1, 0x3c(r1) +/* 8032E46C 0032B3CC 38 C1 00 8C */ addi r6, r1, 0x8c +/* 8032E470 0032B3D0 C0 01 00 40 */ lfs f0, 0x40(r1) +/* 8032E474 0032B3D4 D0 41 00 8C */ stfs f2, 0x8c(r1) +/* 8032E478 0032B3D8 D0 21 00 90 */ stfs f1, 0x90(r1) +/* 8032E47C 0032B3DC D0 01 00 94 */ stfs f0, 0x94(r1) +/* 8032E480 0032B3E0 80 7C 00 24 */ lwz r3, 0x24(r28) +/* 8032E484 0032B3E4 80 9D 00 68 */ lwz r4, 0x68(r29) +/* 8032E488 0032B3E8 80 63 00 34 */ lwz r3, 0x34(r3) +/* 8032E48C 0032B3EC 81 83 00 00 */ lwz r12, 0(r3) +/* 8032E490 0032B3F0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8032E494 0032B3F4 7D 89 03 A6 */ mtctr r12 +/* 8032E498 0032B3F8 4E 80 04 21 */ bctrl +/* 8032E49C 0032B3FC 38 61 00 20 */ addi r3, r1, 0x20 +/* 8032E4A0 0032B400 38 9C 00 44 */ addi r4, r28, 0x44 +/* 8032E4A4 0032B404 38 A1 00 98 */ addi r5, r1, 0x98 +/* 8032E4A8 0032B408 4B FE 46 41 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8032E4AC 0032B40C C0 01 00 20 */ lfs f0, 0x20(r1) +/* 8032E4B0 0032B410 38 61 00 14 */ addi r3, r1, 0x14 +/* 8032E4B4 0032B414 38 9C 00 44 */ addi r4, r28, 0x44 +/* 8032E4B8 0032B418 38 A1 00 8C */ addi r5, r1, 0x8c +/* 8032E4BC 0032B41C D0 1D 00 74 */ stfs f0, 0x74(r29) +/* 8032E4C0 0032B420 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 8032E4C4 0032B424 D0 1D 00 78 */ stfs f0, 0x78(r29) +/* 8032E4C8 0032B428 C0 01 00 28 */ lfs f0, 0x28(r1) +/* 8032E4CC 0032B42C D0 1D 00 7C */ stfs f0, 0x7c(r29) +/* 8032E4D0 0032B430 4B FE 46 19 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8032E4D4 0032B434 C0 21 00 14 */ lfs f1, 0x14(r1) +/* 8032E4D8 0032B438 C0 1C 00 38 */ lfs f0, 0x38(r28) +/* 8032E4DC 0032B43C C0 81 00 18 */ lfs f4, 0x18(r1) +/* 8032E4E0 0032B440 C0 7C 00 3C */ lfs f3, 0x3c(r28) +/* 8032E4E4 0032B444 EC 01 00 2A */ fadds f0, f1, f0 +/* 8032E4E8 0032B448 C0 41 00 1C */ lfs f2, 0x1c(r1) +/* 8032E4EC 0032B44C C0 3C 00 40 */ lfs f1, 0x40(r28) +/* 8032E4F0 0032B450 EC 64 18 2A */ fadds f3, f4, f3 +/* 8032E4F4 0032B454 D0 1D 00 0C */ stfs f0, 0xc(r29) +/* 8032E4F8 0032B458 EC 02 08 2A */ fadds f0, f2, f1 +/* 8032E4FC 0032B45C D0 7D 00 10 */ stfs f3, 0x10(r29) +/* 8032E500 0032B460 D0 1D 00 14 */ stfs f0, 0x14(r29) +/* 8032E504 0032B464 48 00 00 20 */ b lbl_8032E524 +lbl_8032E508: +/* 8032E508 0032B468 81 83 00 00 */ lwz r12, 0(r3) +/* 8032E50C 0032B46C 38 BD 00 74 */ addi r5, r29, 0x74 +/* 8032E510 0032B470 38 DD 00 0C */ addi r6, r29, 0xc +/* 8032E514 0032B474 80 9D 00 68 */ lwz r4, 0x68(r29) +/* 8032E518 0032B478 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8032E51C 0032B47C 7D 89 03 A6 */ mtctr r12 +/* 8032E520 0032B480 4E 80 04 21 */ bctrl +lbl_8032E524: +/* 8032E524 0032B484 80 1D 00 68 */ lwz r0, 0x68(r29) +/* 8032E528 0032B488 2C 00 00 00 */ cmpwi r0, 0 +/* 8032E52C 0032B48C 40 81 00 34 */ ble lbl_8032E560 +/* 8032E530 0032B490 C0 3D 00 0C */ lfs f1, 0xc(r29) +/* 8032E534 0032B494 C0 1D 00 74 */ lfs f0, 0x74(r29) +/* 8032E538 0032B498 EC 01 00 2A */ fadds f0, f1, f0 +/* 8032E53C 0032B49C D0 1D 00 0C */ stfs f0, 0xc(r29) +/* 8032E540 0032B4A0 C0 3D 00 10 */ lfs f1, 0x10(r29) +/* 8032E544 0032B4A4 C0 1D 00 78 */ lfs f0, 0x78(r29) +/* 8032E548 0032B4A8 EC 01 00 2A */ fadds f0, f1, f0 +/* 8032E54C 0032B4AC D0 1D 00 10 */ stfs f0, 0x10(r29) +/* 8032E550 0032B4B0 C0 3D 00 14 */ lfs f1, 0x14(r29) +/* 8032E554 0032B4B4 C0 1D 00 7C */ lfs f0, 0x7c(r29) +/* 8032E558 0032B4B8 EC 01 00 2A */ fadds f0, f1, f0 +/* 8032E55C 0032B4BC D0 1D 00 14 */ stfs f0, 0x14(r29) +lbl_8032E560: +/* 8032E560 0032B4C0 80 7C 00 24 */ lwz r3, 0x24(r28) +/* 8032E564 0032B4C4 80 63 00 2C */ lwz r3, 0x2c(r3) +/* 8032E568 0032B4C8 28 03 00 00 */ cmplwi r3, 0 +/* 8032E56C 0032B4CC 41 82 00 4C */ beq lbl_8032E5B8 +/* 8032E570 0032B4D0 81 83 00 00 */ lwz r12, 0(r3) +/* 8032E574 0032B4D4 38 A1 00 A4 */ addi r5, r1, 0xa4 +/* 8032E578 0032B4D8 80 9D 00 68 */ lwz r4, 0x68(r29) +/* 8032E57C 0032B4DC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8032E580 0032B4E0 7D 89 03 A6 */ mtctr r12 +/* 8032E584 0032B4E4 4E 80 04 21 */ bctrl +/* 8032E588 0032B4E8 C0 3D 00 18 */ lfs f1, 0x18(r29) +/* 8032E58C 0032B4EC C0 01 00 A4 */ lfs f0, 0xa4(r1) +/* 8032E590 0032B4F0 C0 9D 00 1C */ lfs f4, 0x1c(r29) +/* 8032E594 0032B4F4 C0 61 00 A8 */ lfs f3, 0xa8(r1) +/* 8032E598 0032B4F8 EC 01 00 2A */ fadds f0, f1, f0 +/* 8032E59C 0032B4FC C0 5D 00 20 */ lfs f2, 0x20(r29) +/* 8032E5A0 0032B500 C0 21 00 AC */ lfs f1, 0xac(r1) +/* 8032E5A4 0032B504 EC 64 18 2A */ fadds f3, f4, f3 +/* 8032E5A8 0032B508 D0 1D 00 24 */ stfs f0, 0x24(r29) +/* 8032E5AC 0032B50C EC 02 08 2A */ fadds f0, f2, f1 +/* 8032E5B0 0032B510 D0 7D 00 28 */ stfs f3, 0x28(r29) +/* 8032E5B4 0032B514 D0 1D 00 2C */ stfs f0, 0x2c(r29) +lbl_8032E5B8: +/* 8032E5B8 0032B518 80 7C 00 24 */ lwz r3, 0x24(r28) +/* 8032E5BC 0032B51C 80 63 00 14 */ lwz r3, 0x14(r3) +/* 8032E5C0 0032B520 28 03 00 00 */ cmplwi r3, 0 +/* 8032E5C4 0032B524 41 82 00 1C */ beq lbl_8032E5E0 +/* 8032E5C8 0032B528 81 83 00 00 */ lwz r12, 0(r3) +/* 8032E5CC 0032B52C 38 BD 00 6C */ addi r5, r29, 0x6c +/* 8032E5D0 0032B530 80 9D 00 68 */ lwz r4, 0x68(r29) +/* 8032E5D4 0032B534 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8032E5D8 0032B538 7D 89 03 A6 */ mtctr r12 +/* 8032E5DC 0032B53C 4E 80 04 21 */ bctrl +lbl_8032E5E0: +/* 8032E5E0 0032B540 7F 83 E3 78 */ mr r3, r28 +/* 8032E5E4 0032B544 7F C4 F3 78 */ mr r4, r30 +/* 8032E5E8 0032B548 4B FF C8 15 */ bl GetLeftRadius__15CParticleSwooshFi +/* 8032E5EC 0032B54C D0 3D 00 04 */ stfs f1, 4(r29) +/* 8032E5F0 0032B550 7F 83 E3 78 */ mr r3, r28 +/* 8032E5F4 0032B554 C0 3D 00 04 */ lfs f1, 4(r29) +/* 8032E5F8 0032B558 4B FF C3 31 */ bl UpdateMaxRadius__15CParticleSwooshFf +/* 8032E5FC 0032B55C 88 1C 01 D0 */ lbz r0, 0x1d0(r28) +/* 8032E600 0032B560 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 8032E604 0032B564 41 82 00 10 */ beq lbl_8032E614 +/* 8032E608 0032B568 C0 1D 00 04 */ lfs f0, 4(r29) +/* 8032E60C 0032B56C D0 1D 00 08 */ stfs f0, 8(r29) +/* 8032E610 0032B570 48 00 00 20 */ b lbl_8032E630 +lbl_8032E614: +/* 8032E614 0032B574 7F 83 E3 78 */ mr r3, r28 +/* 8032E618 0032B578 7F C4 F3 78 */ mr r4, r30 +/* 8032E61C 0032B57C 4B FF C7 81 */ bl GetRightRadius__15CParticleSwooshFi +/* 8032E620 0032B580 D0 3D 00 08 */ stfs f1, 8(r29) +/* 8032E624 0032B584 7F 83 E3 78 */ mr r3, r28 +/* 8032E628 0032B588 C0 3D 00 08 */ lfs f1, 8(r29) +/* 8032E62C 0032B58C 4B FF C2 FD */ bl UpdateMaxRadius__15CParticleSwooshFf +lbl_8032E630: +/* 8032E630 0032B590 C0 3D 00 10 */ lfs f1, 0x10(r29) +/* 8032E634 0032B594 7F 83 E3 78 */ mr r3, r28 +/* 8032E638 0032B598 C0 1D 00 28 */ lfs f0, 0x28(r29) +/* 8032E63C 0032B59C 38 81 00 08 */ addi r4, r1, 8 +/* 8032E640 0032B5A0 C0 7D 00 14 */ lfs f3, 0x14(r29) +/* 8032E644 0032B5A4 C0 5D 00 2C */ lfs f2, 0x2c(r29) +/* 8032E648 0032B5A8 EC 81 00 2A */ fadds f4, f1, f0 +/* 8032E64C 0032B5AC C0 3D 00 0C */ lfs f1, 0xc(r29) +/* 8032E650 0032B5B0 C0 1D 00 24 */ lfs f0, 0x24(r29) +/* 8032E654 0032B5B4 EC 43 10 2A */ fadds f2, f3, f2 +/* 8032E658 0032B5B8 EC 01 00 2A */ fadds f0, f1, f0 +/* 8032E65C 0032B5BC D0 81 00 0C */ stfs f4, 0xc(r1) +/* 8032E660 0032B5C0 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 8032E664 0032B5C4 D0 01 00 08 */ stfs f0, 8(r1) +/* 8032E668 0032B5C8 4B FF C2 F5 */ bl UpdateBounds__15CParticleSwooshFRC9CVector3f +lbl_8032E66C: +/* 8032E66C 0032B5CC 3B FF 00 80 */ addi r31, r31, 0x80 +/* 8032E670 0032B5D0 3B DE 00 01 */ addi r30, r30, 1 +lbl_8032E674: +/* 8032E674 0032B5D4 80 1C 01 64 */ lwz r0, 0x164(r28) +/* 8032E678 0032B5D8 7C 1E 00 00 */ cmpw r30, r0 +/* 8032E67C 0032B5DC 41 80 FB 78 */ blt lbl_8032E1F4 +lbl_8032E680: +/* 8032E680 0032B5E0 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 8032E684 0032B5E4 83 E1 00 BC */ lwz r31, 0xbc(r1) +/* 8032E688 0032B5E8 83 C1 00 B8 */ lwz r30, 0xb8(r1) +/* 8032E68C 0032B5EC 83 A1 00 B4 */ lwz r29, 0xb4(r1) +/* 8032E690 0032B5F0 83 81 00 B0 */ lwz r28, 0xb0(r1) +/* 8032E694 0032B5F4 7C 08 03 A6 */ mtlr r0 +/* 8032E698 0032B5F8 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 8032E69C 0032B5FC 4E 80 00 20 */ blr + +.global SetOrientation__15CParticleSwooshFRC12CTransform4f +SetOrientation__15CParticleSwooshFRC12CTransform4f: +/* 8032E6A0 0032B600 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8032E6A4 0032B604 7C 08 02 A6 */ mflr r0 +/* 8032E6A8 0032B608 90 01 00 44 */ stw r0, 0x44(r1) +/* 8032E6AC 0032B60C 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 8032E6B0 0032B610 7C 7F 1B 78 */ mr r31, r3 +/* 8032E6B4 0032B614 38 7F 00 44 */ addi r3, r31, 0x44 +/* 8032E6B8 0032B618 4B FE 44 89 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8032E6BC 0032B61C 38 61 00 08 */ addi r3, r1, 8 +/* 8032E6C0 0032B620 38 9F 00 44 */ addi r4, r31, 0x44 +/* 8032E6C4 0032B624 4B FE 45 D9 */ bl GetQuickInverse__12CTransform4fCFv +/* 8032E6C8 0032B628 38 7F 00 74 */ addi r3, r31, 0x74 +/* 8032E6CC 0032B62C 38 81 00 08 */ addi r4, r1, 8 +/* 8032E6D0 0032B630 4B FE 44 71 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8032E6D4 0032B634 80 1F 01 58 */ lwz r0, 0x158(r31) +/* 8032E6D8 0032B638 38 9F 00 44 */ addi r4, r31, 0x44 +/* 8032E6DC 0032B63C 80 BF 01 68 */ lwz r5, 0x168(r31) +/* 8032E6E0 0032B640 54 03 38 30 */ slwi r3, r0, 7 +/* 8032E6E4 0032B644 38 63 00 38 */ addi r3, r3, 0x38 +/* 8032E6E8 0032B648 7C 65 1A 14 */ add r3, r5, r3 +/* 8032E6EC 0032B64C 4B FE 44 55 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8032E6F0 0032B650 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8032E6F4 0032B654 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 8032E6F8 0032B658 7C 08 03 A6 */ mtlr r0 +/* 8032E6FC 0032B65C 38 21 00 40 */ addi r1, r1, 0x40 +/* 8032E700 0032B660 4E 80 00 20 */ blr + +.global Update__15CParticleSwooshFd +Update__15CParticleSwooshFd: +/* 8032E704 0032B664 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 8032E708 0032B668 7C 08 02 A6 */ mflr r0 +/* 8032E70C 0032B66C 90 01 00 74 */ stw r0, 0x74(r1) +/* 8032E710 0032B670 DB E1 00 60 */ stfd f31, 0x60(r1) +/* 8032E714 0032B674 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 +/* 8032E718 0032B678 DB C1 00 50 */ stfd f30, 0x50(r1) +/* 8032E71C 0032B67C F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 +/* 8032E720 0032B680 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 8032E724 0032B684 93 C1 00 48 */ stw r30, 0x48(r1) +/* 8032E728 0032B688 93 A1 00 44 */ stw r29, 0x44(r1) +/* 8032E72C 0032B68C 7C 7D 1B 78 */ mr r29, r3 +/* 8032E730 0032B690 FF C0 08 90 */ fmr f30, f1 +/* 8032E734 0032B694 48 00 04 81 */ bl IsLargeEnough__15CParticleSwooshCFv +/* 8032E738 0032B698 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8032E73C 0032B69C 40 82 00 0C */ bne lbl_8032E748 +/* 8032E740 0032B6A0 38 60 00 00 */ li r3, 0 +/* 8032E744 0032B6A4 48 00 04 44 */ b lbl_8032EB88 +lbl_8032E748: +/* 8032E748 0032B6A8 48 05 6C 61 */ bl OSGetTime +/* 8032E74C 0032B6AC 7C 7F 1B 78 */ mr r31, r3 +/* 8032E750 0032B6B0 80 7D 01 B4 */ lwz r3, 0x1b4(r29) +/* 8032E754 0032B6B4 7C 9E 23 78 */ mr r30, r4 +/* 8032E758 0032B6B8 4B FF C0 21 */ bl SetParticleLifetime__16CParticleGlobalsFi +/* 8032E75C 0032B6BC 80 7D 00 28 */ lwz r3, 0x28(r29) +/* 8032E760 0032B6C0 4B FF BF E9 */ bl SetEmitterTime__16CParticleGlobalsFi +/* 8032E764 0032B6C4 38 60 00 00 */ li r3, 0 +/* 8032E768 0032B6C8 4B FF BF 15 */ bl UpdateParticleLifetimeTweenValues__16CParticleGlobalsFi +/* 8032E76C 0032B6CC 38 61 00 24 */ addi r3, r1, 0x24 +/* 8032E770 0032B6D0 38 9D 01 C0 */ addi r4, r29, 0x1c0 +/* 8032E774 0032B6D4 4B FE 3F 0D */ bl __ct__13CGlobalRandomFR9CRandom16 +/* 8032E778 0032B6D8 80 7D 00 28 */ lwz r3, 0x28(r29) +/* 8032E77C 0032B6DC 3C 00 43 30 */ lis r0, 0x4330 +/* 8032E780 0032B6E0 C0 02 CA 90 */ lfs f0, lbl_805AE7B0@sda21(r2) +/* 8032E784 0032B6E4 6C 63 80 00 */ xoris r3, r3, 0x8000 +/* 8032E788 0032B6E8 90 01 00 30 */ stw r0, 0x30(r1) +/* 8032E78C 0032B6EC C8 42 CA F0 */ lfd f2, lbl_805AE810@sda21(r2) +/* 8032E790 0032B6F0 90 61 00 34 */ stw r3, 0x34(r1) +/* 8032E794 0032B6F4 C0 2D 9D 18 */ lfs f1, lbl_805A88D8@sda21(r13) +/* 8032E798 0032B6F8 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 8032E79C 0032B6FC C8 01 00 30 */ lfd f0, 0x30(r1) +/* 8032E7A0 0032B700 80 7D 00 24 */ lwz r3, 0x24(r29) +/* 8032E7A4 0032B704 EC 00 10 28 */ fsubs f0, f0, f2 +/* 8032E7A8 0032B708 80 63 00 04 */ lwz r3, 4(r3) +/* 8032E7AC 0032B70C 28 03 00 00 */ cmplwi r3, 0 +/* 8032E7B0 0032B710 EF E0 00 72 */ fmuls f31, f0, f1 +/* 8032E7B4 0032B714 41 82 00 1C */ beq lbl_8032E7D0 +/* 8032E7B8 0032B718 81 83 00 00 */ lwz r12, 0(r3) +/* 8032E7BC 0032B71C 38 A1 00 14 */ addi r5, r1, 0x14 +/* 8032E7C0 0032B720 80 9D 00 28 */ lwz r4, 0x28(r29) +/* 8032E7C4 0032B724 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8032E7C8 0032B728 7D 89 03 A6 */ mtctr r12 +/* 8032E7CC 0032B72C 4E 80 04 21 */ bctrl +lbl_8032E7D0: +/* 8032E7D0 0032B730 C0 21 00 14 */ lfs f1, 0x14(r1) +/* 8032E7D4 0032B734 C8 02 CB 10 */ lfd f0, lbl_805AE830@sda21(r2) +/* 8032E7D8 0032B738 FC 3E 00 72 */ fmul f1, f30, f1 +/* 8032E7DC 0032B73C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8032E7E0 0032B740 40 80 00 08 */ bge lbl_8032E7E8 +/* 8032E7E4 0032B744 FC 20 00 90 */ fmr f1, f0 +lbl_8032E7E8: +/* 8032E7E8 0032B748 C8 1D 00 30 */ lfd f0, 0x30(r29) +/* 8032E7EC 0032B74C FC 00 08 2A */ fadd f0, f0, f1 +/* 8032E7F0 0032B750 D8 1D 00 30 */ stfd f0, 0x30(r29) +/* 8032E7F4 0032B754 48 00 03 48 */ b lbl_8032EB3C +lbl_8032E7F8: +/* 8032E7F8 0032B758 88 1D 01 D0 */ lbz r0, 0x1d0(r29) +/* 8032E7FC 0032B75C 38 80 00 00 */ li r4, 0 +/* 8032E800 0032B760 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a +/* 8032E804 0032B764 98 1D 01 D0 */ stb r0, 0x1d0(r29) +/* 8032E808 0032B768 80 7D 01 58 */ lwz r3, 0x158(r29) +/* 8032E80C 0032B76C 38 63 00 01 */ addi r3, r3, 1 +/* 8032E810 0032B770 90 7D 01 58 */ stw r3, 0x158(r29) +/* 8032E814 0032B774 80 1D 01 64 */ lwz r0, 0x164(r29) +/* 8032E818 0032B778 7C 03 00 00 */ cmpw r3, r0 +/* 8032E81C 0032B77C 41 80 00 08 */ blt lbl_8032E824 +/* 8032E820 0032B780 90 9D 01 58 */ stw r4, 0x158(r29) +lbl_8032E824: +/* 8032E824 0032B784 88 1D 01 D0 */ lbz r0, 0x1d0(r29) +/* 8032E828 0032B788 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8032E82C 0032B78C 41 82 02 A0 */ beq lbl_8032EACC +/* 8032E830 0032B790 80 7D 00 28 */ lwz r3, 0x28(r29) +/* 8032E834 0032B794 80 1D 00 2C */ lwz r0, 0x2c(r29) +/* 8032E838 0032B798 7C 03 00 00 */ cmpw r3, r0 +/* 8032E83C 0032B79C 40 80 02 90 */ bge lbl_8032EACC +/* 8032E840 0032B7A0 7F A3 EB 78 */ mr r3, r29 +/* 8032E844 0032B7A4 38 9D 00 38 */ addi r4, r29, 0x38 +/* 8032E848 0032B7A8 4B FF C0 31 */ bl UpdateSwooshTranslation__15CParticleSwooshFRC9CVector3f +/* 8032E84C 0032B7AC 80 7D 00 24 */ lwz r3, 0x24(r29) +/* 8032E850 0032B7B0 80 63 00 1C */ lwz r3, 0x1c(r3) +/* 8032E854 0032B7B4 28 03 00 00 */ cmplwi r3, 0 +/* 8032E858 0032B7B8 41 82 00 30 */ beq lbl_8032E888 +/* 8032E85C 0032B7BC 80 1D 01 58 */ lwz r0, 0x158(r29) +/* 8032E860 0032B7C0 81 83 00 00 */ lwz r12, 0(r3) +/* 8032E864 0032B7C4 54 04 38 30 */ slwi r4, r0, 7 +/* 8032E868 0032B7C8 80 1D 01 68 */ lwz r0, 0x168(r29) +/* 8032E86C 0032B7CC 38 A4 00 30 */ addi r5, r4, 0x30 +/* 8032E870 0032B7D0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8032E874 0032B7D4 7C A0 2A 14 */ add r5, r0, r5 +/* 8032E878 0032B7D8 80 9D 00 28 */ lwz r4, 0x28(r29) +/* 8032E87C 0032B7DC 7D 89 03 A6 */ mtctr r12 +/* 8032E880 0032B7E0 4E 80 04 21 */ bctrl +/* 8032E884 0032B7E4 48 00 00 1C */ b lbl_8032E8A0 +lbl_8032E888: +/* 8032E888 0032B7E8 80 1D 01 58 */ lwz r0, 0x158(r29) +/* 8032E88C 0032B7EC C0 02 CA 94 */ lfs f0, lbl_805AE7B4@sda21(r2) +/* 8032E890 0032B7F0 54 03 38 30 */ slwi r3, r0, 7 +/* 8032E894 0032B7F4 80 9D 01 68 */ lwz r4, 0x168(r29) +/* 8032E898 0032B7F8 38 03 00 30 */ addi r0, r3, 0x30 +/* 8032E89C 0032B7FC 7C 04 05 2E */ stfsx f0, r4, r0 +lbl_8032E8A0: +/* 8032E8A0 0032B800 80 1D 01 58 */ lwz r0, 0x158(r29) +/* 8032E8A4 0032B804 C0 02 CA 94 */ lfs f0, lbl_805AE7B4@sda21(r2) +/* 8032E8A8 0032B808 54 03 38 30 */ slwi r3, r0, 7 +/* 8032E8AC 0032B80C 80 9D 01 68 */ lwz r4, 0x168(r29) +/* 8032E8B0 0032B810 38 03 00 34 */ addi r0, r3, 0x34 +/* 8032E8B4 0032B814 7C 04 05 2E */ stfsx f0, r4, r0 +/* 8032E8B8 0032B818 80 1D 01 58 */ lwz r0, 0x158(r29) +/* 8032E8BC 0032B81C 80 BD 00 28 */ lwz r5, 0x28(r29) +/* 8032E8C0 0032B820 54 03 38 30 */ slwi r3, r0, 7 +/* 8032E8C4 0032B824 80 9D 01 68 */ lwz r4, 0x168(r29) +/* 8032E8C8 0032B828 38 03 00 70 */ addi r0, r3, 0x70 +/* 8032E8CC 0032B82C 7C A4 01 2E */ stwx r5, r4, r0 +/* 8032E8D0 0032B830 80 1D 01 58 */ lwz r0, 0x158(r29) +/* 8032E8D4 0032B834 80 7D 01 68 */ lwz r3, 0x168(r29) +/* 8032E8D8 0032B838 54 00 38 30 */ slwi r0, r0, 7 +/* 8032E8DC 0032B83C 7C 03 00 AE */ lbzx r0, r3, r0 +/* 8032E8E0 0032B840 28 00 00 00 */ cmplwi r0, 0 +/* 8032E8E4 0032B844 40 82 00 24 */ bne lbl_8032E908 +/* 8032E8E8 0032B848 80 7D 01 AC */ lwz r3, 0x1ac(r29) +/* 8032E8EC 0032B84C 38 80 00 01 */ li r4, 1 +/* 8032E8F0 0032B850 38 03 00 01 */ addi r0, r3, 1 +/* 8032E8F4 0032B854 90 1D 01 AC */ stw r0, 0x1ac(r29) +/* 8032E8F8 0032B858 80 1D 01 58 */ lwz r0, 0x158(r29) +/* 8032E8FC 0032B85C 80 7D 01 68 */ lwz r3, 0x168(r29) +/* 8032E900 0032B860 54 00 38 30 */ slwi r0, r0, 7 +/* 8032E904 0032B864 7C 83 01 AE */ stbx r4, r3, r0 +lbl_8032E908: +/* 8032E908 0032B868 80 1D 01 58 */ lwz r0, 0x158(r29) +/* 8032E90C 0032B86C 38 9D 00 44 */ addi r4, r29, 0x44 +/* 8032E910 0032B870 80 BD 01 68 */ lwz r5, 0x168(r29) +/* 8032E914 0032B874 54 03 38 30 */ slwi r3, r0, 7 +/* 8032E918 0032B878 38 63 00 38 */ addi r3, r3, 0x38 +/* 8032E91C 0032B87C 7C 65 1A 14 */ add r3, r5, r3 +/* 8032E920 0032B880 4B FE 42 21 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8032E924 0032B884 80 7D 00 24 */ lwz r3, 0x24(r29) +/* 8032E928 0032B888 80 63 00 28 */ lwz r3, 0x28(r3) +/* 8032E92C 0032B88C 28 03 00 00 */ cmplwi r3, 0 +/* 8032E930 0032B890 41 82 00 78 */ beq lbl_8032E9A8 +/* 8032E934 0032B894 80 1D 01 58 */ lwz r0, 0x158(r29) +/* 8032E938 0032B898 81 83 00 00 */ lwz r12, 0(r3) +/* 8032E93C 0032B89C 54 04 38 30 */ slwi r4, r0, 7 +/* 8032E940 0032B8A0 80 1D 01 68 */ lwz r0, 0x168(r29) +/* 8032E944 0032B8A4 38 A4 00 74 */ addi r5, r4, 0x74 +/* 8032E948 0032B8A8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8032E94C 0032B8AC 7C A0 2A 14 */ add r5, r0, r5 +/* 8032E950 0032B8B0 80 9D 00 28 */ lwz r4, 0x28(r29) +/* 8032E954 0032B8B4 7D 89 03 A6 */ mtctr r12 +/* 8032E958 0032B8B8 4E 80 04 21 */ bctrl +/* 8032E95C 0032B8BC 80 1D 01 58 */ lwz r0, 0x158(r29) +/* 8032E960 0032B8C0 38 61 00 18 */ addi r3, r1, 0x18 +/* 8032E964 0032B8C4 80 DD 01 68 */ lwz r6, 0x168(r29) +/* 8032E968 0032B8C8 38 9D 00 44 */ addi r4, r29, 0x44 +/* 8032E96C 0032B8CC 54 05 38 30 */ slwi r5, r0, 7 +/* 8032E970 0032B8D0 38 A5 00 74 */ addi r5, r5, 0x74 +/* 8032E974 0032B8D4 7C A6 2A 14 */ add r5, r6, r5 +/* 8032E978 0032B8D8 4B FE 41 71 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8032E97C 0032B8DC 80 1D 01 58 */ lwz r0, 0x158(r29) +/* 8032E980 0032B8E0 80 9D 01 68 */ lwz r4, 0x168(r29) +/* 8032E984 0032B8E4 54 03 38 30 */ slwi r3, r0, 7 +/* 8032E988 0032B8E8 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 8032E98C 0032B8EC 38 63 00 74 */ addi r3, r3, 0x74 +/* 8032E990 0032B8F0 7C 64 1A 14 */ add r3, r4, r3 +/* 8032E994 0032B8F4 D0 03 00 00 */ stfs f0, 0(r3) +/* 8032E998 0032B8F8 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 8032E99C 0032B8FC D0 03 00 04 */ stfs f0, 4(r3) +/* 8032E9A0 0032B900 C0 01 00 20 */ lfs f0, 0x20(r1) +/* 8032E9A4 0032B904 D0 03 00 08 */ stfs f0, 8(r3) +lbl_8032E9A8: +/* 8032E9A8 0032B908 80 7D 00 24 */ lwz r3, 0x24(r29) +/* 8032E9AC 0032B90C 80 63 00 24 */ lwz r3, 0x24(r3) +/* 8032E9B0 0032B910 28 03 00 00 */ cmplwi r3, 0 +/* 8032E9B4 0032B914 41 82 00 2C */ beq lbl_8032E9E0 +/* 8032E9B8 0032B918 80 1D 01 58 */ lwz r0, 0x158(r29) +/* 8032E9BC 0032B91C 81 83 00 00 */ lwz r12, 0(r3) +/* 8032E9C0 0032B920 54 04 38 30 */ slwi r4, r0, 7 +/* 8032E9C4 0032B924 80 1D 01 68 */ lwz r0, 0x168(r29) +/* 8032E9C8 0032B928 38 A4 00 18 */ addi r5, r4, 0x18 +/* 8032E9CC 0032B92C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8032E9D0 0032B930 7C A0 2A 14 */ add r5, r0, r5 +/* 8032E9D4 0032B934 80 9D 00 28 */ lwz r4, 0x28(r29) +/* 8032E9D8 0032B938 7D 89 03 A6 */ mtctr r12 +/* 8032E9DC 0032B93C 4E 80 04 21 */ bctrl +lbl_8032E9E0: +/* 8032E9E0 0032B940 80 1D 01 58 */ lwz r0, 0x158(r29) +/* 8032E9E4 0032B944 80 7D 01 68 */ lwz r3, 0x168(r29) +/* 8032E9E8 0032B948 54 00 38 30 */ slwi r0, r0, 7 +/* 8032E9EC 0032B94C 7C 63 02 14 */ add r3, r3, r0 +/* 8032E9F0 0032B950 C0 03 00 18 */ lfs f0, 0x18(r3) +/* 8032E9F4 0032B954 D0 03 00 24 */ stfs f0, 0x24(r3) +/* 8032E9F8 0032B958 C0 03 00 1C */ lfs f0, 0x1c(r3) +/* 8032E9FC 0032B95C D0 03 00 28 */ stfs f0, 0x28(r3) +/* 8032EA00 0032B960 C0 03 00 20 */ lfs f0, 0x20(r3) +/* 8032EA04 0032B964 D0 03 00 2C */ stfs f0, 0x2c(r3) +/* 8032EA08 0032B968 80 7D 00 24 */ lwz r3, 0x24(r29) +/* 8032EA0C 0032B96C 80 63 00 14 */ lwz r3, 0x14(r3) +/* 8032EA10 0032B970 28 03 00 00 */ cmplwi r3, 0 +/* 8032EA14 0032B974 41 82 00 30 */ beq lbl_8032EA44 +/* 8032EA18 0032B978 80 1D 01 58 */ lwz r0, 0x158(r29) +/* 8032EA1C 0032B97C 81 83 00 00 */ lwz r12, 0(r3) +/* 8032EA20 0032B980 54 04 38 30 */ slwi r4, r0, 7 +/* 8032EA24 0032B984 80 1D 01 68 */ lwz r0, 0x168(r29) +/* 8032EA28 0032B988 38 A4 00 6C */ addi r5, r4, 0x6c +/* 8032EA2C 0032B98C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8032EA30 0032B990 7C A0 2A 14 */ add r5, r0, r5 +/* 8032EA34 0032B994 80 9D 00 28 */ lwz r4, 0x28(r29) +/* 8032EA38 0032B998 7D 89 03 A6 */ mtctr r12 +/* 8032EA3C 0032B99C 4E 80 04 21 */ bctrl +/* 8032EA40 0032B9A0 48 00 00 34 */ b lbl_8032EA74 +lbl_8032EA44: +/* 8032EA44 0032B9A4 C0 22 CA 90 */ lfs f1, lbl_805AE7B0@sda21(r2) +/* 8032EA48 0032B9A8 38 61 00 0C */ addi r3, r1, 0xc +/* 8032EA4C 0032B9AC FC 40 08 90 */ fmr f2, f1 +/* 8032EA50 0032B9B0 FC 60 08 90 */ fmr f3, f1 +/* 8032EA54 0032B9B4 FC 80 08 90 */ fmr f4, f1 +/* 8032EA58 0032B9B8 48 03 49 95 */ bl __ct__6CColorFffff +/* 8032EA5C 0032B9BC 80 1D 01 58 */ lwz r0, 0x158(r29) +/* 8032EA60 0032B9C0 80 A1 00 0C */ lwz r5, 0xc(r1) +/* 8032EA64 0032B9C4 54 03 38 30 */ slwi r3, r0, 7 +/* 8032EA68 0032B9C8 80 9D 01 68 */ lwz r4, 0x168(r29) +/* 8032EA6C 0032B9CC 38 03 00 6C */ addi r0, r3, 0x6c +/* 8032EA70 0032B9D0 7C A4 01 2E */ stwx r5, r4, r0 +lbl_8032EA74: +/* 8032EA74 0032B9D4 38 00 00 00 */ li r0, 0 +/* 8032EA78 0032B9D8 90 01 00 10 */ stw r0, 0x10(r1) +/* 8032EA7C 0032B9DC 80 7D 00 24 */ lwz r3, 0x24(r29) +/* 8032EA80 0032B9E0 80 63 00 40 */ lwz r3, 0x40(r3) +/* 8032EA84 0032B9E4 28 03 00 00 */ cmplwi r3, 0 +/* 8032EA88 0032B9E8 41 82 00 1C */ beq lbl_8032EAA4 +/* 8032EA8C 0032B9EC 81 83 00 00 */ lwz r12, 0(r3) +/* 8032EA90 0032B9F0 38 A1 00 10 */ addi r5, r1, 0x10 +/* 8032EA94 0032B9F4 80 9D 00 28 */ lwz r4, 0x28(r29) +/* 8032EA98 0032B9F8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8032EA9C 0032B9FC 7D 89 03 A6 */ mtctr r12 +/* 8032EAA0 0032BA00 4E 80 04 21 */ bctrl +lbl_8032EAA4: +/* 8032EAA4 0032BA04 80 61 00 10 */ lwz r3, 0x10(r1) +/* 8032EAA8 0032BA08 3C 00 43 30 */ lis r0, 0x4330 +/* 8032EAAC 0032BA0C 90 01 00 30 */ stw r0, 0x30(r1) +/* 8032EAB0 0032BA10 6C 60 80 00 */ xoris r0, r3, 0x8000 +/* 8032EAB4 0032BA14 C8 22 CA F0 */ lfd f1, lbl_805AE810@sda21(r2) +/* 8032EAB8 0032BA18 90 01 00 34 */ stw r0, 0x34(r1) +/* 8032EABC 0032BA1C C8 01 00 30 */ lfd f0, 0x30(r1) +/* 8032EAC0 0032BA20 EC 00 08 28 */ fsubs f0, f0, f1 +/* 8032EAC4 0032BA24 D0 1D 01 CC */ stfs f0, 0x1cc(r29) +/* 8032EAC8 0032BA28 48 00 00 58 */ b lbl_8032EB20 +lbl_8032EACC: +/* 8032EACC 0032BA2C 80 1D 01 58 */ lwz r0, 0x158(r29) +/* 8032EAD0 0032BA30 80 7D 01 68 */ lwz r3, 0x168(r29) +/* 8032EAD4 0032BA34 54 00 38 30 */ slwi r0, r0, 7 +/* 8032EAD8 0032BA38 7C 03 00 AE */ lbzx r0, r3, r0 +/* 8032EADC 0032BA3C 28 00 00 00 */ cmplwi r0, 0 +/* 8032EAE0 0032BA40 41 82 00 40 */ beq lbl_8032EB20 +/* 8032EAE4 0032BA44 80 9D 01 AC */ lwz r4, 0x1ac(r29) +/* 8032EAE8 0032BA48 38 6D 9D 1C */ addi r3, r13, lbl_805A88DC@sda21 +/* 8032EAEC 0032BA4C 80 0D 9D 1C */ lwz r0, lbl_805A88DC@sda21(r13) +/* 8032EAF0 0032BA50 38 84 FF FF */ addi r4, r4, -1 +/* 8032EAF4 0032BA54 7C 00 20 00 */ cmpw r0, r4 +/* 8032EAF8 0032BA58 90 81 00 08 */ stw r4, 8(r1) +/* 8032EAFC 0032BA5C 40 80 00 08 */ bge lbl_8032EB04 +/* 8032EB00 0032BA60 38 61 00 08 */ addi r3, r1, 8 +lbl_8032EB04: +/* 8032EB04 0032BA64 80 03 00 00 */ lwz r0, 0(r3) +/* 8032EB08 0032BA68 38 80 00 00 */ li r4, 0 +/* 8032EB0C 0032BA6C 90 1D 01 AC */ stw r0, 0x1ac(r29) +/* 8032EB10 0032BA70 80 1D 01 58 */ lwz r0, 0x158(r29) +/* 8032EB14 0032BA74 80 7D 01 68 */ lwz r3, 0x168(r29) +/* 8032EB18 0032BA78 54 00 38 30 */ slwi r0, r0, 7 +/* 8032EB1C 0032BA7C 7C 83 01 AE */ stbx r4, r3, r0 +lbl_8032EB20: +/* 8032EB20 0032BA80 7F A3 EB 78 */ mr r3, r29 +/* 8032EB24 0032BA84 4B FF F6 39 */ bl UpdateTranslationAndOrientation__15CParticleSwooshFv +/* 8032EB28 0032BA88 C0 0D 9D 18 */ lfs f0, lbl_805A88D8@sda21(r13) +/* 8032EB2C 0032BA8C 80 7D 00 28 */ lwz r3, 0x28(r29) +/* 8032EB30 0032BA90 FF FF 00 2A */ fadd f31, f31, f0 +/* 8032EB34 0032BA94 38 03 00 01 */ addi r0, r3, 1 +/* 8032EB38 0032BA98 90 1D 00 28 */ stw r0, 0x28(r29) +lbl_8032EB3C: +/* 8032EB3C 0032BA9C 88 1D 01 D0 */ lbz r0, 0x1d0(r29) +/* 8032EB40 0032BAA0 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 8032EB44 0032BAA4 40 82 FC B4 */ bne lbl_8032E7F8 +/* 8032EB48 0032BAA8 C8 1D 00 30 */ lfd f0, 0x30(r29) +/* 8032EB4C 0032BAAC FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 8032EB50 0032BAB0 41 80 FC A8 */ blt lbl_8032E7F8 +/* 8032EB54 0032BAB4 48 05 68 55 */ bl OSGetTime +/* 8032EB58 0032BAB8 7C 9E 20 10 */ subfc r4, r30, r4 +/* 8032EB5C 0032BABC 7C 7F 19 10 */ subfe r3, r31, r3 +/* 8032EB60 0032BAC0 48 05 B4 05 */ bl __cvt_sll_flt +/* 8032EB64 0032BAC4 3C 80 80 5A */ lis r4, mData__10CStopwatch@ha +/* 8032EB68 0032BAC8 38 61 00 24 */ addi r3, r1, 0x24 +/* 8032EB6C 0032BACC 38 A4 FD 30 */ addi r5, r4, mData__10CStopwatch@l +/* 8032EB70 0032BAD0 38 80 FF FF */ li r4, -1 +/* 8032EB74 0032BAD4 C0 05 00 10 */ lfs f0, 0x10(r5) +/* 8032EB78 0032BAD8 EC 01 00 32 */ fmuls f0, f1, f0 +/* 8032EB7C 0032BADC D0 1D 01 C4 */ stfs f0, 0x1c4(r29) +/* 8032EB80 0032BAE0 4B FE 3A 85 */ bl __dt__13CGlobalRandomFv +/* 8032EB84 0032BAE4 38 60 00 00 */ li r3, 0 +lbl_8032EB88: +/* 8032EB88 0032BAE8 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 +/* 8032EB8C 0032BAEC CB E1 00 60 */ lfd f31, 0x60(r1) +/* 8032EB90 0032BAF0 E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 +/* 8032EB94 0032BAF4 CB C1 00 50 */ lfd f30, 0x50(r1) +/* 8032EB98 0032BAF8 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 8032EB9C 0032BAFC 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 8032EBA0 0032BB00 80 01 00 74 */ lwz r0, 0x74(r1) +/* 8032EBA4 0032BB04 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 8032EBA8 0032BB08 7C 08 03 A6 */ mtlr r0 +/* 8032EBAC 0032BB0C 38 21 00 70 */ addi r1, r1, 0x70 +/* 8032EBB0 0032BB10 4E 80 00 20 */ blr + +.global IsLargeEnough__15CParticleSwooshCFv +IsLargeEnough__15CParticleSwooshCFv: +/* 8032EBB4 0032BB14 80 03 01 B4 */ lwz r0, 0x1b4(r3) +/* 8032EBB8 0032BB18 38 80 00 00 */ li r4, 0 +/* 8032EBBC 0032BB1C 2C 00 00 02 */ cmpwi r0, 2 +/* 8032EBC0 0032BB20 41 80 00 14 */ blt lbl_8032EBD4 +/* 8032EBC4 0032BB24 80 03 01 B8 */ lwz r0, 0x1b8(r3) +/* 8032EBC8 0032BB28 2C 00 00 02 */ cmpwi r0, 2 +/* 8032EBCC 0032BB2C 41 80 00 08 */ blt lbl_8032EBD4 +/* 8032EBD0 0032BB30 38 80 00 01 */ li r4, 1 +lbl_8032EBD4: +/* 8032EBD4 0032BB34 7C 83 23 78 */ mr r3, r4 +/* 8032EBD8 0032BB38 4E 80 00 20 */ blr + +.global __dt__15CParticleSwooshFv +__dt__15CParticleSwooshFv: +/* 8032EBDC 0032BB3C 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 8032EBE0 0032BB40 7C 08 02 A6 */ mflr r0 +/* 8032EBE4 0032BB44 90 01 00 64 */ stw r0, 0x64(r1) +/* 8032EBE8 0032BB48 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 8032EBEC 0032BB4C 7C 9F 23 78 */ mr r31, r4 +/* 8032EBF0 0032BB50 93 C1 00 58 */ stw r30, 0x58(r1) +/* 8032EBF4 0032BB54 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8032EBF8 0032BB58 41 82 01 D0 */ beq lbl_8032EDC8 +/* 8032EBFC 0032BB5C 3C 60 80 3F */ lis r3, lbl_803EDD80@ha +/* 8032EC00 0032BB60 34 1E 01 9C */ addic. r0, r30, 0x19c +/* 8032EC04 0032BB64 38 03 DD 80 */ addi r0, r3, lbl_803EDD80@l +/* 8032EC08 0032BB68 90 1E 00 00 */ stw r0, 0(r30) +/* 8032EC0C 0032BB6C 80 6D A8 F8 */ lwz r3, lbl_805A94B8@sda21(r13) +/* 8032EC10 0032BB70 38 03 FF FF */ addi r0, r3, -1 +/* 8032EC14 0032BB74 90 0D A8 F8 */ stw r0, lbl_805A94B8@sda21(r13) +/* 8032EC18 0032BB78 41 82 00 44 */ beq lbl_8032EC5C +/* 8032EC1C 0032BB7C 80 1E 01 A0 */ lwz r0, 0x1a0(r30) +/* 8032EC20 0032BB80 80 7E 01 A8 */ lwz r3, 0x1a8(r30) +/* 8032EC24 0032BB84 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8032EC28 0032BB88 90 61 00 4C */ stw r3, 0x4c(r1) +/* 8032EC2C 0032BB8C 7C 64 1B 78 */ mr r4, r3 +/* 8032EC30 0032BB90 7C 03 02 14 */ add r0, r3, r0 +/* 8032EC34 0032BB94 90 61 00 48 */ stw r3, 0x48(r1) +/* 8032EC38 0032BB98 90 01 00 54 */ stw r0, 0x54(r1) +/* 8032EC3C 0032BB9C 90 01 00 50 */ stw r0, 0x50(r1) +/* 8032EC40 0032BBA0 48 00 00 08 */ b lbl_8032EC48 +lbl_8032EC44: +/* 8032EC44 0032BBA4 38 84 00 0C */ addi r4, r4, 0xc +lbl_8032EC48: +/* 8032EC48 0032BBA8 7C 04 00 40 */ cmplw r4, r0 +/* 8032EC4C 0032BBAC 40 82 FF F8 */ bne lbl_8032EC44 +/* 8032EC50 0032BBB0 28 03 00 00 */ cmplwi r3, 0 +/* 8032EC54 0032BBB4 41 82 00 08 */ beq lbl_8032EC5C +/* 8032EC58 0032BBB8 4B FE 6C D9 */ bl Free__7CMemoryFPCv +lbl_8032EC5C: +/* 8032EC5C 0032BBBC 34 1E 01 8C */ addic. r0, r30, 0x18c +/* 8032EC60 0032BBC0 41 82 00 44 */ beq lbl_8032ECA4 +/* 8032EC64 0032BBC4 80 1E 01 90 */ lwz r0, 0x190(r30) +/* 8032EC68 0032BBC8 80 7E 01 98 */ lwz r3, 0x198(r30) +/* 8032EC6C 0032BBCC 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8032EC70 0032BBD0 90 61 00 3C */ stw r3, 0x3c(r1) +/* 8032EC74 0032BBD4 7C 64 1B 78 */ mr r4, r3 +/* 8032EC78 0032BBD8 7C 03 02 14 */ add r0, r3, r0 +/* 8032EC7C 0032BBDC 90 61 00 38 */ stw r3, 0x38(r1) +/* 8032EC80 0032BBE0 90 01 00 44 */ stw r0, 0x44(r1) +/* 8032EC84 0032BBE4 90 01 00 40 */ stw r0, 0x40(r1) +/* 8032EC88 0032BBE8 48 00 00 08 */ b lbl_8032EC90 +lbl_8032EC8C: +/* 8032EC8C 0032BBEC 38 84 00 0C */ addi r4, r4, 0xc +lbl_8032EC90: +/* 8032EC90 0032BBF0 7C 04 00 40 */ cmplw r4, r0 +/* 8032EC94 0032BBF4 40 82 FF F8 */ bne lbl_8032EC8C +/* 8032EC98 0032BBF8 28 03 00 00 */ cmplwi r3, 0 +/* 8032EC9C 0032BBFC 41 82 00 08 */ beq lbl_8032ECA4 +/* 8032ECA0 0032BC00 4B FE 6C 91 */ bl Free__7CMemoryFPCv +lbl_8032ECA4: +/* 8032ECA4 0032BC04 34 1E 01 7C */ addic. r0, r30, 0x17c +/* 8032ECA8 0032BC08 41 82 00 44 */ beq lbl_8032ECEC +/* 8032ECAC 0032BC0C 80 1E 01 80 */ lwz r0, 0x180(r30) +/* 8032ECB0 0032BC10 80 7E 01 88 */ lwz r3, 0x188(r30) +/* 8032ECB4 0032BC14 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8032ECB8 0032BC18 90 61 00 2C */ stw r3, 0x2c(r1) +/* 8032ECBC 0032BC1C 7C 64 1B 78 */ mr r4, r3 +/* 8032ECC0 0032BC20 7C 03 02 14 */ add r0, r3, r0 +/* 8032ECC4 0032BC24 90 61 00 28 */ stw r3, 0x28(r1) +/* 8032ECC8 0032BC28 90 01 00 34 */ stw r0, 0x34(r1) +/* 8032ECCC 0032BC2C 90 01 00 30 */ stw r0, 0x30(r1) +/* 8032ECD0 0032BC30 48 00 00 08 */ b lbl_8032ECD8 +lbl_8032ECD4: +/* 8032ECD4 0032BC34 38 84 00 0C */ addi r4, r4, 0xc +lbl_8032ECD8: +/* 8032ECD8 0032BC38 7C 04 00 40 */ cmplw r4, r0 +/* 8032ECDC 0032BC3C 40 82 FF F8 */ bne lbl_8032ECD4 +/* 8032ECE0 0032BC40 28 03 00 00 */ cmplwi r3, 0 +/* 8032ECE4 0032BC44 41 82 00 08 */ beq lbl_8032ECEC +/* 8032ECE8 0032BC48 4B FE 6C 49 */ bl Free__7CMemoryFPCv +lbl_8032ECEC: +/* 8032ECEC 0032BC4C 34 1E 01 6C */ addic. r0, r30, 0x16c +/* 8032ECF0 0032BC50 41 82 00 44 */ beq lbl_8032ED34 +/* 8032ECF4 0032BC54 80 1E 01 70 */ lwz r0, 0x170(r30) +/* 8032ECF8 0032BC58 80 7E 01 78 */ lwz r3, 0x178(r30) +/* 8032ECFC 0032BC5C 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8032ED00 0032BC60 90 61 00 1C */ stw r3, 0x1c(r1) +/* 8032ED04 0032BC64 7C 64 1B 78 */ mr r4, r3 +/* 8032ED08 0032BC68 7C 03 02 14 */ add r0, r3, r0 +/* 8032ED0C 0032BC6C 90 61 00 18 */ stw r3, 0x18(r1) +/* 8032ED10 0032BC70 90 01 00 24 */ stw r0, 0x24(r1) +/* 8032ED14 0032BC74 90 01 00 20 */ stw r0, 0x20(r1) +/* 8032ED18 0032BC78 48 00 00 08 */ b lbl_8032ED20 +lbl_8032ED1C: +/* 8032ED1C 0032BC7C 38 84 00 0C */ addi r4, r4, 0xc +lbl_8032ED20: +/* 8032ED20 0032BC80 7C 04 00 40 */ cmplw r4, r0 +/* 8032ED24 0032BC84 40 82 FF F8 */ bne lbl_8032ED1C +/* 8032ED28 0032BC88 28 03 00 00 */ cmplwi r3, 0 +/* 8032ED2C 0032BC8C 41 82 00 08 */ beq lbl_8032ED34 +/* 8032ED30 0032BC90 4B FE 6C 01 */ bl Free__7CMemoryFPCv +lbl_8032ED34: +/* 8032ED34 0032BC94 34 1E 01 5C */ addic. r0, r30, 0x15c +/* 8032ED38 0032BC98 41 82 00 44 */ beq lbl_8032ED7C +/* 8032ED3C 0032BC9C 80 1E 01 60 */ lwz r0, 0x160(r30) +/* 8032ED40 0032BCA0 80 7E 01 68 */ lwz r3, 0x168(r30) +/* 8032ED44 0032BCA4 54 00 38 30 */ slwi r0, r0, 7 +/* 8032ED48 0032BCA8 7C 03 02 14 */ add r0, r3, r0 +/* 8032ED4C 0032BCAC 90 61 00 0C */ stw r3, 0xc(r1) +/* 8032ED50 0032BCB0 7C 64 1B 78 */ mr r4, r3 +/* 8032ED54 0032BCB4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8032ED58 0032BCB8 90 01 00 10 */ stw r0, 0x10(r1) +/* 8032ED5C 0032BCBC 90 61 00 08 */ stw r3, 8(r1) +/* 8032ED60 0032BCC0 48 00 00 08 */ b lbl_8032ED68 +lbl_8032ED64: +/* 8032ED64 0032BCC4 38 84 00 80 */ addi r4, r4, 0x80 +lbl_8032ED68: +/* 8032ED68 0032BCC8 7C 04 00 40 */ cmplw r4, r0 +/* 8032ED6C 0032BCCC 40 82 FF F8 */ bne lbl_8032ED64 +/* 8032ED70 0032BCD0 28 03 00 00 */ cmplwi r3, 0 +/* 8032ED74 0032BCD4 41 82 00 08 */ beq lbl_8032ED7C +/* 8032ED78 0032BCD8 4B FE 6B B9 */ bl Free__7CMemoryFPCv +lbl_8032ED7C: +/* 8032ED7C 0032BCDC 34 1E 00 1C */ addic. r0, r30, 0x1c +/* 8032ED80 0032BCE0 41 82 00 18 */ beq lbl_8032ED98 +/* 8032ED84 0032BCE4 34 1E 00 1C */ addic. r0, r30, 0x1c +/* 8032ED88 0032BCE8 41 82 00 10 */ beq lbl_8032ED98 +/* 8032ED8C 0032BCEC 38 7E 00 1C */ addi r3, r30, 0x1c +/* 8032ED90 0032BCF0 38 80 00 00 */ li r4, 0 +/* 8032ED94 0032BCF4 48 01 20 AD */ bl __dt__6CTokenFv +lbl_8032ED98: +/* 8032ED98 0032BCF8 28 1E 00 00 */ cmplwi r30, 0 +/* 8032ED9C 0032BCFC 41 82 00 1C */ beq lbl_8032EDB8 +/* 8032EDA0 0032BD00 3C 80 80 3F */ lis r4, lbl_803EDD08@ha +/* 8032EDA4 0032BD04 38 7E 00 04 */ addi r3, r30, 4 +/* 8032EDA8 0032BD08 38 04 DD 08 */ addi r0, r4, lbl_803EDD08@l +/* 8032EDAC 0032BD0C 38 80 FF FF */ li r4, -1 +/* 8032EDB0 0032BD10 90 1E 00 00 */ stw r0, 0(r30) +/* 8032EDB4 0032BD14 4B D2 BF 1D */ bl __dt__12CParticleGenFv +lbl_8032EDB8: +/* 8032EDB8 0032BD18 7F E0 07 35 */ extsh. r0, r31 +/* 8032EDBC 0032BD1C 40 81 00 0C */ ble lbl_8032EDC8 +/* 8032EDC0 0032BD20 7F C3 F3 78 */ mr r3, r30 +/* 8032EDC4 0032BD24 4B FE 6B 6D */ bl Free__7CMemoryFPCv +lbl_8032EDC8: +/* 8032EDC8 0032BD28 80 01 00 64 */ lwz r0, 0x64(r1) +/* 8032EDCC 0032BD2C 7F C3 F3 78 */ mr r3, r30 +/* 8032EDD0 0032BD30 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 8032EDD4 0032BD34 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 8032EDD8 0032BD38 7C 08 03 A6 */ mtlr r0 +/* 8032EDDC 0032BD3C 38 21 00 60 */ addi r1, r1, 0x60 +/* 8032EDE0 0032BD40 4E 80 00 20 */ blr + +.global "__ct__15CParticleSwooshF28TToken<18CSwooshDescription>i" +"__ct__15CParticleSwooshF28TToken<18CSwooshDescription>i": +/* 8032EDE4 0032BD44 94 21 FF 00 */ stwu r1, -0x100(r1) +/* 8032EDE8 0032BD48 7C 08 02 A6 */ mflr r0 +/* 8032EDEC 0032BD4C 3C C0 80 3F */ lis r6, lbl_803EDD08@ha +/* 8032EDF0 0032BD50 90 01 01 04 */ stw r0, 0x104(r1) +/* 8032EDF4 0032BD54 38 06 DD 08 */ addi r0, r6, lbl_803EDD08@l +/* 8032EDF8 0032BD58 38 C0 00 00 */ li r6, 0 +/* 8032EDFC 0032BD5C BF 61 00 EC */ stmw r27, 0xec(r1) +/* 8032EE00 0032BD60 7C 7F 1B 78 */ mr r31, r3 +/* 8032EE04 0032BD64 38 FF 00 10 */ addi r7, r31, 0x10 +/* 8032EE08 0032BD68 3C 60 80 3F */ lis r3, lbl_803EDD80@ha +/* 8032EE0C 0032BD6C 3B 7F 00 1C */ addi r27, r31, 0x1c +/* 8032EE10 0032BD70 7C BE 2B 78 */ mr r30, r5 +/* 8032EE14 0032BD74 90 1F 00 00 */ stw r0, 0(r31) +/* 8032EE18 0032BD78 38 03 DD 80 */ addi r0, r3, lbl_803EDD80@l +/* 8032EE1C 0032BD7C 7F 63 DB 78 */ mr r3, r27 +/* 8032EE20 0032BD80 90 FF 00 08 */ stw r7, 8(r31) +/* 8032EE24 0032BD84 90 FF 00 0C */ stw r7, 0xc(r31) +/* 8032EE28 0032BD88 90 FF 00 10 */ stw r7, 0x10(r31) +/* 8032EE2C 0032BD8C 90 FF 00 14 */ stw r7, 0x14(r31) +/* 8032EE30 0032BD90 90 DF 00 18 */ stw r6, 0x18(r31) +/* 8032EE34 0032BD94 90 1F 00 00 */ stw r0, 0(r31) +/* 8032EE38 0032BD98 48 01 20 71 */ bl __ct__6CTokenFRC6CToken +/* 8032EE3C 0032BD9C 7F 63 DB 78 */ mr r3, r27 +/* 8032EE40 0032BDA0 48 01 1F CD */ bl GetObj__6CTokenFv +/* 8032EE44 0032BDA4 80 A3 00 04 */ lwz r5, 4(r3) +/* 8032EE48 0032BDA8 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 8032EE4C 0032BDAC 38 83 66 70 */ addi r4, r3, skIdentity4f@l +/* 8032EE50 0032BDB0 38 00 00 00 */ li r0, 0 +/* 8032EE54 0032BDB4 90 BB 00 08 */ stw r5, 8(r27) +/* 8032EE58 0032BDB8 38 7F 00 44 */ addi r3, r31, 0x44 +/* 8032EE5C 0032BDBC C8 22 CB 10 */ lfd f1, lbl_805AE830@sda21(r2) +/* 8032EE60 0032BDC0 90 1F 00 28 */ stw r0, 0x28(r31) +/* 8032EE64 0032BDC4 C0 02 CA 94 */ lfs f0, lbl_805AE7B4@sda21(r2) +/* 8032EE68 0032BDC8 90 1F 00 2C */ stw r0, 0x2c(r31) +/* 8032EE6C 0032BDCC D8 3F 00 30 */ stfd f1, 0x30(r31) +/* 8032EE70 0032BDD0 D0 1F 00 38 */ stfs f0, 0x38(r31) +/* 8032EE74 0032BDD4 D0 1F 00 3C */ stfs f0, 0x3c(r31) +/* 8032EE78 0032BDD8 D0 1F 00 40 */ stfs f0, 0x40(r31) +/* 8032EE7C 0032BDDC 4B FE 3C F9 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8032EE80 0032BDE0 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 8032EE84 0032BDE4 38 7F 00 74 */ addi r3, r31, 0x74 +/* 8032EE88 0032BDE8 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 8032EE8C 0032BDEC 4B FE 3C E9 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8032EE90 0032BDF0 C0 02 CA 94 */ lfs f0, lbl_805AE7B4@sda21(r2) +/* 8032EE94 0032BDF4 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 8032EE98 0032BDF8 38 83 66 70 */ addi r4, r3, skIdentity4f@l +/* 8032EE9C 0032BDFC D0 1F 00 A4 */ stfs f0, 0xa4(r31) +/* 8032EEA0 0032BE00 38 7F 00 B0 */ addi r3, r31, 0xb0 +/* 8032EEA4 0032BE04 D0 1F 00 A8 */ stfs f0, 0xa8(r31) +/* 8032EEA8 0032BE08 D0 1F 00 AC */ stfs f0, 0xac(r31) +/* 8032EEAC 0032BE0C 4B FE 3C C9 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8032EEB0 0032BE10 C0 02 CA 90 */ lfs f0, lbl_805AE7B0@sda21(r2) +/* 8032EEB4 0032BE14 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 8032EEB8 0032BE18 38 83 66 70 */ addi r4, r3, skIdentity4f@l +/* 8032EEBC 0032BE1C D0 1F 00 E0 */ stfs f0, 0xe0(r31) +/* 8032EEC0 0032BE20 38 7F 00 EC */ addi r3, r31, 0xec +/* 8032EEC4 0032BE24 D0 1F 00 E4 */ stfs f0, 0xe4(r31) +/* 8032EEC8 0032BE28 D0 1F 00 E8 */ stfs f0, 0xe8(r31) +/* 8032EECC 0032BE2C 4B FE 3C A9 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8032EED0 0032BE30 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 8032EED4 0032BE34 38 7F 01 1C */ addi r3, r31, 0x11c +/* 8032EED8 0032BE38 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 8032EEDC 0032BE3C 4B FE 3C 99 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8032EEE0 0032BE40 C0 02 CA 90 */ lfs f0, lbl_805AE7B0@sda21(r2) +/* 8032EEE4 0032BE44 38 00 00 00 */ li r0, 0 +/* 8032EEE8 0032BE48 D0 1F 01 4C */ stfs f0, 0x14c(r31) +/* 8032EEEC 0032BE4C D0 1F 01 50 */ stfs f0, 0x150(r31) +/* 8032EEF0 0032BE50 D0 1F 01 54 */ stfs f0, 0x154(r31) +/* 8032EEF4 0032BE54 90 1F 01 58 */ stw r0, 0x158(r31) +/* 8032EEF8 0032BE58 90 1F 01 60 */ stw r0, 0x160(r31) +/* 8032EEFC 0032BE5C 90 1F 01 64 */ stw r0, 0x164(r31) +/* 8032EF00 0032BE60 90 1F 01 68 */ stw r0, 0x168(r31) +/* 8032EF04 0032BE64 90 1F 01 70 */ stw r0, 0x170(r31) +/* 8032EF08 0032BE68 90 1F 01 74 */ stw r0, 0x174(r31) +/* 8032EF0C 0032BE6C 90 1F 01 78 */ stw r0, 0x178(r31) +/* 8032EF10 0032BE70 90 1F 01 80 */ stw r0, 0x180(r31) +/* 8032EF14 0032BE74 90 1F 01 84 */ stw r0, 0x184(r31) +/* 8032EF18 0032BE78 90 1F 01 88 */ stw r0, 0x188(r31) +/* 8032EF1C 0032BE7C 90 1F 01 90 */ stw r0, 0x190(r31) +/* 8032EF20 0032BE80 90 1F 01 94 */ stw r0, 0x194(r31) +/* 8032EF24 0032BE84 90 1F 01 98 */ stw r0, 0x198(r31) +/* 8032EF28 0032BE88 90 1F 01 A0 */ stw r0, 0x1a0(r31) +/* 8032EF2C 0032BE8C 90 1F 01 A4 */ stw r0, 0x1a4(r31) +/* 8032EF30 0032BE90 90 1F 01 A8 */ stw r0, 0x1a8(r31) +/* 8032EF34 0032BE94 90 1F 01 AC */ stw r0, 0x1ac(r31) +/* 8032EF38 0032BE98 90 1F 01 B0 */ stw r0, 0x1b0(r31) +/* 8032EF3C 0032BE9C 80 7F 00 24 */ lwz r3, 0x24(r31) +/* 8032EF40 0032BEA0 88 03 00 45 */ lbz r0, 0x45(r3) +/* 8032EF44 0032BEA4 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 8032EF48 0032BEA8 41 82 00 54 */ beq lbl_8032EF9C +/* 8032EF4C 0032BEAC 48 05 64 5D */ bl OSGetTime +/* 8032EF50 0032BEB0 80 ED A6 7C */ lwz r7, lbl_805A923C@sda21(r13) +/* 8032EF54 0032BEB4 3C A0 80 5A */ lis r5, mData__10CStopwatch@ha +/* 8032EF58 0032BEB8 38 C5 FD 30 */ addi r6, r5, mData__10CStopwatch@l +/* 8032EF5C 0032BEBC 80 0D A6 78 */ lwz r0, lbl_805A9238@sda21(r13) +/* 8032EF60 0032BEC0 7C 87 20 10 */ subfc r4, r7, r4 +/* 8032EF64 0032BEC4 80 A6 00 08 */ lwz r5, 8(r6) +/* 8032EF68 0032BEC8 80 C6 00 0C */ lwz r6, 0xc(r6) +/* 8032EF6C 0032BECC 7C 60 19 10 */ subfe r3, r0, r3 +/* 8032EF70 0032BED0 48 05 AC 5D */ bl __div2i +/* 8032EF74 0032BED4 7C 60 1B 78 */ mr r0, r3 +/* 8032EF78 0032BED8 54 86 A0 3E */ rotlwi r6, r4, 0x14 +/* 8032EF7C 0032BEDC 50 80 05 3E */ rlwimi r0, r4, 0, 0x14, 0x1f +/* 8032EF80 0032BEE0 50 66 A0 16 */ rlwimi r6, r3, 0x14, 0, 0xb +/* 8032EF84 0032BEE4 7C 00 66 70 */ srawi r0, r0, 0xc +/* 8032EF88 0032BEE8 7C C6 01 94 */ addze r6, r6 +/* 8032EF8C 0032BEEC 7C 00 01 94 */ addze r0, r0 +/* 8032EF90 0032BEF0 54 C5 60 26 */ slwi r5, r6, 0xc +/* 8032EF94 0032BEF4 7C C5 20 10 */ subfc r6, r5, r4 +/* 8032EF98 0032BEF8 48 00 00 08 */ b lbl_8032EFA0 +lbl_8032EF9C: +/* 8032EF9C 0032BEFC 38 C0 00 63 */ li r6, 0x63 +lbl_8032EFA0: +/* 8032EFA0 0032BF00 38 7F 01 C0 */ addi r3, r31, 0x1c0 +/* 8032EFA4 0032BF04 7C C4 07 34 */ extsh r4, r6 +/* 8032EFA8 0032BF08 4B FE 36 45 */ bl __ct__9CRandom16FUi +/* 8032EFAC 0032BF0C C0 22 CA 94 */ lfs f1, lbl_805AE7B4@sda21(r2) +/* 8032EFB0 0032BF10 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8032EFB4 0032BF14 39 00 00 01 */ li r8, 1 +/* 8032EFB8 0032BF18 38 E0 00 00 */ li r7, 0 +/* 8032EFBC 0032BF1C D0 3F 01 C4 */ stfs f1, 0x1c4(r31) +/* 8032EFC0 0032BF20 38 A3 66 A0 */ addi r5, r3, skZero3f@l +/* 8032EFC4 0032BF24 C0 02 CA 90 */ lfs f0, lbl_805AE7B0@sda21(r2) +/* 8032EFC8 0032BF28 38 00 FF FF */ li r0, -1 +/* 8032EFCC 0032BF2C D0 3F 01 C8 */ stfs f1, 0x1c8(r31) +/* 8032EFD0 0032BF30 38 61 00 5C */ addi r3, r1, 0x5c +/* 8032EFD4 0032BF34 38 9F 01 C0 */ addi r4, r31, 0x1c0 +/* 8032EFD8 0032BF38 88 DF 01 D0 */ lbz r6, 0x1d0(r31) +/* 8032EFDC 0032BF3C 51 06 3E 30 */ rlwimi r6, r8, 7, 0x18, 0x18 +/* 8032EFE0 0032BF40 98 DF 01 D0 */ stb r6, 0x1d0(r31) +/* 8032EFE4 0032BF44 88 DF 01 D0 */ lbz r6, 0x1d0(r31) +/* 8032EFE8 0032BF48 50 E6 2E B4 */ rlwimi r6, r7, 5, 0x1a, 0x1a +/* 8032EFEC 0032BF4C 98 DF 01 D0 */ stb r6, 0x1d0(r31) +/* 8032EFF0 0032BF50 88 DF 01 D0 */ lbz r6, 0x1d0(r31) +/* 8032EFF4 0032BF54 50 E6 26 F6 */ rlwimi r6, r7, 4, 0x1b, 0x1b +/* 8032EFF8 0032BF58 98 DF 01 D0 */ stb r6, 0x1d0(r31) +/* 8032EFFC 0032BF5C 88 DF 01 D0 */ lbz r6, 0x1d0(r31) +/* 8032F000 0032BF60 50 E6 07 FE */ rlwimi r6, r7, 0, 0x1f, 0x1f +/* 8032F004 0032BF64 98 DF 01 D0 */ stb r6, 0x1d0(r31) +/* 8032F008 0032BF68 88 DF 01 D1 */ lbz r6, 0x1d1(r31) +/* 8032F00C 0032BF6C 50 E6 3E 30 */ rlwimi r6, r7, 7, 0x18, 0x18 +/* 8032F010 0032BF70 98 DF 01 D1 */ stb r6, 0x1d1(r31) +/* 8032F014 0032BF74 D0 3F 01 D4 */ stfs f1, 0x1d4(r31) +/* 8032F018 0032BF78 D0 3F 01 D8 */ stfs f1, 0x1d8(r31) +/* 8032F01C 0032BF7C D0 3F 01 DC */ stfs f1, 0x1dc(r31) +/* 8032F020 0032BF80 D0 3F 01 E0 */ stfs f1, 0x1e0(r31) +/* 8032F024 0032BF84 90 FF 01 E4 */ stw r7, 0x1e4(r31) +/* 8032F028 0032BF88 D0 1F 01 E8 */ stfs f0, 0x1e8(r31) +/* 8032F02C 0032BF8C 90 FF 01 EC */ stw r7, 0x1ec(r31) +/* 8032F030 0032BF90 C0 05 00 00 */ lfs f0, 0(r5) +/* 8032F034 0032BF94 D0 1F 01 F0 */ stfs f0, 0x1f0(r31) +/* 8032F038 0032BF98 C0 05 00 04 */ lfs f0, 4(r5) +/* 8032F03C 0032BF9C D0 1F 01 F4 */ stfs f0, 0x1f4(r31) +/* 8032F040 0032BFA0 C0 05 00 08 */ lfs f0, 8(r5) +/* 8032F044 0032BFA4 D0 1F 01 F8 */ stfs f0, 0x1f8(r31) +/* 8032F048 0032BFA8 C0 05 00 00 */ lfs f0, 0(r5) +/* 8032F04C 0032BFAC D0 1F 01 FC */ stfs f0, 0x1fc(r31) +/* 8032F050 0032BFB0 C0 05 00 04 */ lfs f0, 4(r5) +/* 8032F054 0032BFB4 D0 1F 02 00 */ stfs f0, 0x200(r31) +/* 8032F058 0032BFB8 C0 05 00 08 */ lfs f0, 8(r5) +/* 8032F05C 0032BFBC D0 1F 02 04 */ stfs f0, 0x204(r31) +/* 8032F060 0032BFC0 D0 3F 02 08 */ stfs f1, 0x208(r31) +/* 8032F064 0032BFC4 90 1F 02 0C */ stw r0, 0x20c(r31) +/* 8032F068 0032BFC8 4B FE 36 19 */ bl __ct__13CGlobalRandomFR9CRandom16 +/* 8032F06C 0032BFCC 80 6D A8 F8 */ lwz r3, lbl_805A94B8@sda21(r13) +/* 8032F070 0032BFD0 2C 1E 00 00 */ cmpwi r30, 0 +/* 8032F074 0032BFD4 38 03 00 01 */ addi r0, r3, 1 +/* 8032F078 0032BFD8 90 0D A8 F8 */ stw r0, lbl_805A94B8@sda21(r13) +/* 8032F07C 0032BFDC 40 81 00 0C */ ble lbl_8032F088 +/* 8032F080 0032BFE0 93 DF 01 B4 */ stw r30, 0x1b4(r31) +/* 8032F084 0032BFE4 48 00 00 2C */ b lbl_8032F0B0 +lbl_8032F088: +/* 8032F088 0032BFE8 80 7F 00 24 */ lwz r3, 0x24(r31) +/* 8032F08C 0032BFEC 80 63 00 10 */ lwz r3, 0x10(r3) +/* 8032F090 0032BFF0 28 03 00 00 */ cmplwi r3, 0 +/* 8032F094 0032BFF4 41 82 00 1C */ beq lbl_8032F0B0 +/* 8032F098 0032BFF8 81 83 00 00 */ lwz r12, 0(r3) +/* 8032F09C 0032BFFC 38 BF 01 B4 */ addi r5, r31, 0x1b4 +/* 8032F0A0 0032C000 38 80 00 00 */ li r4, 0 +/* 8032F0A4 0032C004 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8032F0A8 0032C008 7D 89 03 A6 */ mtctr r12 +/* 8032F0AC 0032C00C 4E 80 04 21 */ bctrl +lbl_8032F0B0: +/* 8032F0B0 0032C010 80 7F 01 B4 */ lwz r3, 0x1b4(r31) +/* 8032F0B4 0032C014 38 03 00 01 */ addi r0, r3, 1 +/* 8032F0B8 0032C018 90 1F 01 B4 */ stw r0, 0x1b4(r31) +/* 8032F0BC 0032C01C 80 7F 00 24 */ lwz r3, 0x24(r31) +/* 8032F0C0 0032C020 80 63 00 18 */ lwz r3, 0x18(r3) +/* 8032F0C4 0032C024 28 03 00 00 */ cmplwi r3, 0 +/* 8032F0C8 0032C028 41 82 00 1C */ beq lbl_8032F0E4 +/* 8032F0CC 0032C02C 81 83 00 00 */ lwz r12, 0(r3) +/* 8032F0D0 0032C030 38 BF 01 B8 */ addi r5, r31, 0x1b8 +/* 8032F0D4 0032C034 38 80 00 00 */ li r4, 0 +/* 8032F0D8 0032C038 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8032F0DC 0032C03C 7D 89 03 A6 */ mtctr r12 +/* 8032F0E0 0032C040 4E 80 04 21 */ bctrl +lbl_8032F0E4: +/* 8032F0E4 0032C044 80 9F 00 24 */ lwz r4, 0x24(r31) +/* 8032F0E8 0032C048 7F E3 FB 78 */ mr r3, r31 +/* 8032F0EC 0032C04C 88 1F 01 D0 */ lbz r0, 0x1d0(r31) +/* 8032F0F0 0032C050 88 84 00 44 */ lbz r4, 0x44(r4) +/* 8032F0F4 0032C054 50 80 E7 38 */ rlwimi r0, r4, 0x1c, 0x1c, 0x1c +/* 8032F0F8 0032C058 98 1F 01 D0 */ stb r0, 0x1d0(r31) +/* 8032F0FC 0032C05C 80 9F 00 24 */ lwz r4, 0x24(r31) +/* 8032F100 0032C060 88 1F 01 D0 */ lbz r0, 0x1d0(r31) +/* 8032F104 0032C064 88 84 00 44 */ lbz r4, 0x44(r4) +/* 8032F108 0032C068 50 80 EF 7A */ rlwimi r0, r4, 0x1d, 0x1d, 0x1d +/* 8032F10C 0032C06C 98 1F 01 D0 */ stb r0, 0x1d0(r31) +/* 8032F110 0032C070 80 9F 00 24 */ lwz r4, 0x24(r31) +/* 8032F114 0032C074 88 1F 01 D0 */ lbz r0, 0x1d0(r31) +/* 8032F118 0032C078 88 84 00 44 */ lbz r4, 0x44(r4) +/* 8032F11C 0032C07C 50 80 EF BC */ rlwimi r0, r4, 0x1d, 0x1e, 0x1e +/* 8032F120 0032C080 98 1F 01 D0 */ stb r0, 0x1d0(r31) +/* 8032F124 0032C084 4B FF FA 91 */ bl IsLargeEnough__15CParticleSwooshCFv +/* 8032F128 0032C088 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8032F12C 0032C08C 41 82 04 70 */ beq lbl_8032F59C +/* 8032F130 0032C090 80 7F 00 24 */ lwz r3, 0x24(r31) +/* 8032F134 0032C094 80 63 00 00 */ lwz r3, 0(r3) +/* 8032F138 0032C098 28 03 00 00 */ cmplwi r3, 0 +/* 8032F13C 0032C09C 41 82 00 20 */ beq lbl_8032F15C +/* 8032F140 0032C0A0 81 83 00 00 */ lwz r12, 0(r3) +/* 8032F144 0032C0A4 38 BF 00 2C */ addi r5, r31, 0x2c +/* 8032F148 0032C0A8 38 80 00 00 */ li r4, 0 +/* 8032F14C 0032C0AC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8032F150 0032C0B0 7D 89 03 A6 */ mtctr r12 +/* 8032F154 0032C0B4 4E 80 04 21 */ bctrl +/* 8032F158 0032C0B8 48 00 00 10 */ b lbl_8032F168 +lbl_8032F15C: +/* 8032F15C 0032C0BC 3C 60 00 80 */ lis r3, 0x007FFFFF@ha +/* 8032F160 0032C0C0 38 03 FF FF */ addi r0, r3, 0x007FFFFF@l +/* 8032F164 0032C0C4 90 1F 00 2C */ stw r0, 0x2c(r31) +lbl_8032F168: +/* 8032F168 0032C0C8 80 7F 00 24 */ lwz r3, 0x24(r31) +/* 8032F16C 0032C0CC 88 1F 01 D0 */ lbz r0, 0x1d0(r31) +/* 8032F170 0032C0D0 88 63 00 44 */ lbz r3, 0x44(r3) +/* 8032F174 0032C0D4 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 8032F178 0032C0D8 98 1F 01 D0 */ stb r0, 0x1d0(r31) +/* 8032F17C 0032C0DC 80 7F 00 24 */ lwz r3, 0x24(r31) +/* 8032F180 0032C0E0 80 63 00 38 */ lwz r3, 0x38(r3) +/* 8032F184 0032C0E4 28 03 00 00 */ cmplwi r3, 0 +/* 8032F188 0032C0E8 41 82 00 1C */ beq lbl_8032F1A4 +/* 8032F18C 0032C0EC 81 83 00 00 */ lwz r12, 0(r3) +/* 8032F190 0032C0F0 38 BF 01 B0 */ addi r5, r31, 0x1b0 +/* 8032F194 0032C0F4 38 80 00 00 */ li r4, 0 +/* 8032F198 0032C0F8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8032F19C 0032C0FC 7D 89 03 A6 */ mtctr r12 +/* 8032F1A0 0032C100 4E 80 04 21 */ bctrl +lbl_8032F1A4: +/* 8032F1A4 0032C104 80 1F 01 B0 */ lwz r0, 0x1b0(r31) +/* 8032F1A8 0032C108 2C 00 00 00 */ cmpwi r0, 0 +/* 8032F1AC 0032C10C 40 80 00 0C */ bge lbl_8032F1B8 +/* 8032F1B0 0032C110 38 00 00 00 */ li r0, 0 +/* 8032F1B4 0032C114 90 1F 01 B0 */ stw r0, 0x1b0(r31) +lbl_8032F1B8: +/* 8032F1B8 0032C118 80 1F 01 60 */ lwz r0, 0x160(r31) +/* 8032F1BC 0032C11C 80 7F 01 68 */ lwz r3, 0x168(r31) +/* 8032F1C0 0032C120 54 00 38 30 */ slwi r0, r0, 7 +/* 8032F1C4 0032C124 7C 03 02 14 */ add r0, r3, r0 +/* 8032F1C8 0032C128 90 61 00 4C */ stw r3, 0x4c(r1) +/* 8032F1CC 0032C12C 90 01 00 54 */ stw r0, 0x54(r1) +/* 8032F1D0 0032C130 90 01 00 50 */ stw r0, 0x50(r1) +/* 8032F1D4 0032C134 90 61 00 48 */ stw r3, 0x48(r1) +/* 8032F1D8 0032C138 48 00 00 08 */ b lbl_8032F1E0 +lbl_8032F1DC: +/* 8032F1DC 0032C13C 38 63 00 80 */ addi r3, r3, 0x80 +lbl_8032F1E0: +/* 8032F1E0 0032C140 7C 03 00 40 */ cmplw r3, r0 +/* 8032F1E4 0032C144 40 82 FF F8 */ bne lbl_8032F1DC +/* 8032F1E8 0032C148 38 00 00 00 */ li r0, 0 +/* 8032F1EC 0032C14C 38 7F 01 5C */ addi r3, r31, 0x15c +/* 8032F1F0 0032C150 90 1F 01 60 */ stw r0, 0x160(r31) +/* 8032F1F4 0032C154 80 9F 01 B4 */ lwz r4, 0x1b4(r31) +/* 8032F1F8 0032C158 48 00 06 2D */ bl sub_8032f824 +/* 8032F1FC 0032C15C 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8032F200 0032C160 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 8032F204 0032C164 3B 84 66 A0 */ addi r28, r4, skZero3f@l +/* 8032F208 0032C168 3B 60 00 00 */ li r27, 0 +/* 8032F20C 0032C16C 3B A3 66 70 */ addi r29, r3, skIdentity4f@l +/* 8032F210 0032C170 7F 9E E3 78 */ mr r30, r28 +/* 8032F214 0032C174 48 00 00 60 */ b lbl_8032F274 +lbl_8032F218: +/* 8032F218 0032C178 C0 22 CA 94 */ lfs f1, lbl_805AE7B4@sda21(r2) +/* 8032F21C 0032C17C 38 61 00 58 */ addi r3, r1, 0x58 +/* 8032F220 0032C180 FC 40 08 90 */ fmr f2, f1 +/* 8032F224 0032C184 FC 60 08 90 */ fmr f3, f1 +/* 8032F228 0032C188 FC 80 08 90 */ fmr f4, f1 +/* 8032F22C 0032C18C 48 03 41 C1 */ bl __ct__6CColorFffff +/* 8032F230 0032C190 C0 22 CA 94 */ lfs f1, lbl_805AE7B4@sda21(r2) +/* 8032F234 0032C194 7C 6A 1B 78 */ mr r10, r3 +/* 8032F238 0032C198 7F 84 E3 78 */ mr r4, r28 +/* 8032F23C 0032C19C 7F 85 E3 78 */ mr r5, r28 +/* 8032F240 0032C1A0 FC 40 08 90 */ fmr f2, f1 +/* 8032F244 0032C1A4 7F A8 EB 78 */ mr r8, r29 +/* 8032F248 0032C1A8 FC 60 08 90 */ fmr f3, f1 +/* 8032F24C 0032C1AC 7F C9 F3 78 */ mr r9, r30 +/* 8032F250 0032C1B0 FC 80 08 90 */ fmr f4, f1 +/* 8032F254 0032C1B4 38 61 00 68 */ addi r3, r1, 0x68 +/* 8032F258 0032C1B8 38 C0 00 00 */ li r6, 0 +/* 8032F25C 0032C1BC 38 E0 00 00 */ li r7, 0 +/* 8032F260 0032C1C0 48 00 04 E9 */ bl __ct__Q215CParticleSwoosh11SSwooshDataFRC9CVector3fRC9CVector3fffibRC12CTransform4fRC9CVector3fffRC6CColor +/* 8032F264 0032C1C4 7C 64 1B 78 */ mr r4, r3 +/* 8032F268 0032C1C8 38 7F 01 5C */ addi r3, r31, 0x15c +/* 8032F26C 0032C1CC 48 00 03 55 */ bl sub_8032f5c0 +/* 8032F270 0032C1D0 3B 7B 00 01 */ addi r27, r27, 1 +lbl_8032F274: +/* 8032F274 0032C1D4 80 1F 01 64 */ lwz r0, 0x164(r31) +/* 8032F278 0032C1D8 7C 1B 00 00 */ cmpw r27, r0 +/* 8032F27C 0032C1DC 41 80 FF 9C */ blt lbl_8032F218 +/* 8032F280 0032C1E0 81 9F 00 00 */ lwz r12, 0(r31) +/* 8032F284 0032C1E4 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 8032F288 0032C1E8 7F E3 FB 78 */ mr r3, r31 +/* 8032F28C 0032C1EC 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 8032F290 0032C1F0 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 8032F294 0032C1F4 7D 89 03 A6 */ mtctr r12 +/* 8032F298 0032C1F8 4E 80 04 21 */ bctrl +/* 8032F29C 0032C1FC 80 1F 01 70 */ lwz r0, 0x170(r31) +/* 8032F2A0 0032C200 80 7F 01 78 */ lwz r3, 0x178(r31) +/* 8032F2A4 0032C204 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8032F2A8 0032C208 90 61 00 3C */ stw r3, 0x3c(r1) +/* 8032F2AC 0032C20C 7C 03 02 14 */ add r0, r3, r0 +/* 8032F2B0 0032C210 90 61 00 38 */ stw r3, 0x38(r1) +/* 8032F2B4 0032C214 90 01 00 44 */ stw r0, 0x44(r1) +/* 8032F2B8 0032C218 90 01 00 40 */ stw r0, 0x40(r1) +/* 8032F2BC 0032C21C 48 00 00 08 */ b lbl_8032F2C4 +lbl_8032F2C0: +/* 8032F2C0 0032C220 38 63 00 0C */ addi r3, r3, 0xc +lbl_8032F2C4: +/* 8032F2C4 0032C224 7C 03 00 40 */ cmplw r3, r0 +/* 8032F2C8 0032C228 40 82 FF F8 */ bne lbl_8032F2C0 +/* 8032F2CC 0032C22C 38 00 00 00 */ li r0, 0 +/* 8032F2D0 0032C230 38 7F 01 6C */ addi r3, r31, 0x16c +/* 8032F2D4 0032C234 90 1F 01 70 */ stw r0, 0x170(r31) +/* 8032F2D8 0032C238 80 9F 01 B8 */ lwz r4, 0x1b8(r31) +/* 8032F2DC 0032C23C 4B D2 EA 1D */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" +/* 8032F2E0 0032C240 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8032F2E4 0032C244 3B 80 00 00 */ li r28, 0 +/* 8032F2E8 0032C248 3B C3 66 A0 */ addi r30, r3, skZero3f@l +/* 8032F2EC 0032C24C 48 00 00 64 */ b lbl_8032F350 +lbl_8032F2F0: +/* 8032F2F0 0032C250 80 1F 01 70 */ lwz r0, 0x170(r31) +/* 8032F2F4 0032C254 7C 00 28 00 */ cmpw r0, r5 +/* 8032F2F8 0032C258 41 80 00 1C */ blt lbl_8032F314 +/* 8032F2FC 0032C25C 2C 05 00 00 */ cmpwi r5, 0 +/* 8032F300 0032C260 38 7F 01 6C */ addi r3, r31, 0x16c +/* 8032F304 0032C264 38 80 00 04 */ li r4, 4 +/* 8032F308 0032C268 41 82 00 08 */ beq lbl_8032F310 +/* 8032F30C 0032C26C 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8032F310: +/* 8032F310 0032C270 4B D2 E9 E9 */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" +lbl_8032F314: +/* 8032F314 0032C274 80 1F 01 70 */ lwz r0, 0x170(r31) +/* 8032F318 0032C278 80 7F 01 78 */ lwz r3, 0x178(r31) +/* 8032F31C 0032C27C 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8032F320 0032C280 7C 63 02 15 */ add. r3, r3, r0 +/* 8032F324 0032C284 41 82 00 1C */ beq lbl_8032F340 +/* 8032F328 0032C288 C0 1E 00 00 */ lfs f0, 0(r30) +/* 8032F32C 0032C28C D0 03 00 00 */ stfs f0, 0(r3) +/* 8032F330 0032C290 C0 1E 00 04 */ lfs f0, 4(r30) +/* 8032F334 0032C294 D0 03 00 04 */ stfs f0, 4(r3) +/* 8032F338 0032C298 C0 1E 00 08 */ lfs f0, 8(r30) +/* 8032F33C 0032C29C D0 03 00 08 */ stfs f0, 8(r3) +lbl_8032F340: +/* 8032F340 0032C2A0 80 7F 01 70 */ lwz r3, 0x170(r31) +/* 8032F344 0032C2A4 3B 9C 00 01 */ addi r28, r28, 1 +/* 8032F348 0032C2A8 38 03 00 01 */ addi r0, r3, 1 +/* 8032F34C 0032C2AC 90 1F 01 70 */ stw r0, 0x170(r31) +lbl_8032F350: +/* 8032F350 0032C2B0 80 BF 01 74 */ lwz r5, 0x174(r31) +/* 8032F354 0032C2B4 7C 1C 28 00 */ cmpw r28, r5 +/* 8032F358 0032C2B8 41 80 FF 98 */ blt lbl_8032F2F0 +/* 8032F35C 0032C2BC 80 1F 01 80 */ lwz r0, 0x180(r31) +/* 8032F360 0032C2C0 80 7F 01 88 */ lwz r3, 0x188(r31) +/* 8032F364 0032C2C4 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8032F368 0032C2C8 90 61 00 2C */ stw r3, 0x2c(r1) +/* 8032F36C 0032C2CC 7C 03 02 14 */ add r0, r3, r0 +/* 8032F370 0032C2D0 90 61 00 28 */ stw r3, 0x28(r1) +/* 8032F374 0032C2D4 90 01 00 34 */ stw r0, 0x34(r1) +/* 8032F378 0032C2D8 90 01 00 30 */ stw r0, 0x30(r1) +/* 8032F37C 0032C2DC 48 00 00 08 */ b lbl_8032F384 +lbl_8032F380: +/* 8032F380 0032C2E0 38 63 00 0C */ addi r3, r3, 0xc +lbl_8032F384: +/* 8032F384 0032C2E4 7C 03 00 40 */ cmplw r3, r0 +/* 8032F388 0032C2E8 40 82 FF F8 */ bne lbl_8032F380 +/* 8032F38C 0032C2EC 38 00 00 00 */ li r0, 0 +/* 8032F390 0032C2F0 38 7F 01 7C */ addi r3, r31, 0x17c +/* 8032F394 0032C2F4 90 1F 01 80 */ stw r0, 0x180(r31) +/* 8032F398 0032C2F8 80 9F 01 B8 */ lwz r4, 0x1b8(r31) +/* 8032F39C 0032C2FC 4B D2 E9 5D */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" +/* 8032F3A0 0032C300 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8032F3A4 0032C304 3B 80 00 00 */ li r28, 0 +/* 8032F3A8 0032C308 3B C3 66 A0 */ addi r30, r3, skZero3f@l +/* 8032F3AC 0032C30C 48 00 00 64 */ b lbl_8032F410 +lbl_8032F3B0: +/* 8032F3B0 0032C310 80 1F 01 80 */ lwz r0, 0x180(r31) +/* 8032F3B4 0032C314 7C 00 28 00 */ cmpw r0, r5 +/* 8032F3B8 0032C318 41 80 00 1C */ blt lbl_8032F3D4 +/* 8032F3BC 0032C31C 2C 05 00 00 */ cmpwi r5, 0 +/* 8032F3C0 0032C320 38 7F 01 7C */ addi r3, r31, 0x17c +/* 8032F3C4 0032C324 38 80 00 04 */ li r4, 4 +/* 8032F3C8 0032C328 41 82 00 08 */ beq lbl_8032F3D0 +/* 8032F3CC 0032C32C 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8032F3D0: +/* 8032F3D0 0032C330 4B D2 E9 29 */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" +lbl_8032F3D4: +/* 8032F3D4 0032C334 80 1F 01 80 */ lwz r0, 0x180(r31) +/* 8032F3D8 0032C338 80 7F 01 88 */ lwz r3, 0x188(r31) +/* 8032F3DC 0032C33C 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8032F3E0 0032C340 7C 63 02 15 */ add. r3, r3, r0 +/* 8032F3E4 0032C344 41 82 00 1C */ beq lbl_8032F400 +/* 8032F3E8 0032C348 C0 1E 00 00 */ lfs f0, 0(r30) +/* 8032F3EC 0032C34C D0 03 00 00 */ stfs f0, 0(r3) +/* 8032F3F0 0032C350 C0 1E 00 04 */ lfs f0, 4(r30) +/* 8032F3F4 0032C354 D0 03 00 04 */ stfs f0, 4(r3) +/* 8032F3F8 0032C358 C0 1E 00 08 */ lfs f0, 8(r30) +/* 8032F3FC 0032C35C D0 03 00 08 */ stfs f0, 8(r3) +lbl_8032F400: +/* 8032F400 0032C360 80 7F 01 80 */ lwz r3, 0x180(r31) +/* 8032F404 0032C364 3B 9C 00 01 */ addi r28, r28, 1 +/* 8032F408 0032C368 38 03 00 01 */ addi r0, r3, 1 +/* 8032F40C 0032C36C 90 1F 01 80 */ stw r0, 0x180(r31) +lbl_8032F410: +/* 8032F410 0032C370 80 BF 01 84 */ lwz r5, 0x184(r31) +/* 8032F414 0032C374 7C 1C 28 00 */ cmpw r28, r5 +/* 8032F418 0032C378 41 80 FF 98 */ blt lbl_8032F3B0 +/* 8032F41C 0032C37C 80 1F 01 90 */ lwz r0, 0x190(r31) +/* 8032F420 0032C380 80 7F 01 98 */ lwz r3, 0x198(r31) +/* 8032F424 0032C384 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8032F428 0032C388 90 61 00 1C */ stw r3, 0x1c(r1) +/* 8032F42C 0032C38C 7C 03 02 14 */ add r0, r3, r0 +/* 8032F430 0032C390 90 61 00 18 */ stw r3, 0x18(r1) +/* 8032F434 0032C394 90 01 00 24 */ stw r0, 0x24(r1) +/* 8032F438 0032C398 90 01 00 20 */ stw r0, 0x20(r1) +/* 8032F43C 0032C39C 48 00 00 08 */ b lbl_8032F444 +lbl_8032F440: +/* 8032F440 0032C3A0 38 63 00 0C */ addi r3, r3, 0xc +lbl_8032F444: +/* 8032F444 0032C3A4 7C 03 00 40 */ cmplw r3, r0 +/* 8032F448 0032C3A8 40 82 FF F8 */ bne lbl_8032F440 +/* 8032F44C 0032C3AC 38 00 00 00 */ li r0, 0 +/* 8032F450 0032C3B0 38 7F 01 8C */ addi r3, r31, 0x18c +/* 8032F454 0032C3B4 90 1F 01 90 */ stw r0, 0x190(r31) +/* 8032F458 0032C3B8 80 9F 01 B8 */ lwz r4, 0x1b8(r31) +/* 8032F45C 0032C3BC 4B D2 E8 9D */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" +/* 8032F460 0032C3C0 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8032F464 0032C3C4 3B 80 00 00 */ li r28, 0 +/* 8032F468 0032C3C8 3B C3 66 A0 */ addi r30, r3, skZero3f@l +/* 8032F46C 0032C3CC 48 00 00 64 */ b lbl_8032F4D0 +lbl_8032F470: +/* 8032F470 0032C3D0 80 1F 01 90 */ lwz r0, 0x190(r31) +/* 8032F474 0032C3D4 7C 00 28 00 */ cmpw r0, r5 +/* 8032F478 0032C3D8 41 80 00 1C */ blt lbl_8032F494 +/* 8032F47C 0032C3DC 2C 05 00 00 */ cmpwi r5, 0 +/* 8032F480 0032C3E0 38 7F 01 8C */ addi r3, r31, 0x18c +/* 8032F484 0032C3E4 38 80 00 04 */ li r4, 4 +/* 8032F488 0032C3E8 41 82 00 08 */ beq lbl_8032F490 +/* 8032F48C 0032C3EC 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8032F490: +/* 8032F490 0032C3F0 4B D2 E8 69 */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" +lbl_8032F494: +/* 8032F494 0032C3F4 80 1F 01 90 */ lwz r0, 0x190(r31) +/* 8032F498 0032C3F8 80 7F 01 98 */ lwz r3, 0x198(r31) +/* 8032F49C 0032C3FC 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8032F4A0 0032C400 7C 63 02 15 */ add. r3, r3, r0 +/* 8032F4A4 0032C404 41 82 00 1C */ beq lbl_8032F4C0 +/* 8032F4A8 0032C408 C0 1E 00 00 */ lfs f0, 0(r30) +/* 8032F4AC 0032C40C D0 03 00 00 */ stfs f0, 0(r3) +/* 8032F4B0 0032C410 C0 1E 00 04 */ lfs f0, 4(r30) +/* 8032F4B4 0032C414 D0 03 00 04 */ stfs f0, 4(r3) +/* 8032F4B8 0032C418 C0 1E 00 08 */ lfs f0, 8(r30) +/* 8032F4BC 0032C41C D0 03 00 08 */ stfs f0, 8(r3) +lbl_8032F4C0: +/* 8032F4C0 0032C420 80 7F 01 90 */ lwz r3, 0x190(r31) +/* 8032F4C4 0032C424 3B 9C 00 01 */ addi r28, r28, 1 +/* 8032F4C8 0032C428 38 03 00 01 */ addi r0, r3, 1 +/* 8032F4CC 0032C42C 90 1F 01 90 */ stw r0, 0x190(r31) +lbl_8032F4D0: +/* 8032F4D0 0032C430 80 BF 01 94 */ lwz r5, 0x194(r31) +/* 8032F4D4 0032C434 7C 1C 28 00 */ cmpw r28, r5 +/* 8032F4D8 0032C438 41 80 FF 98 */ blt lbl_8032F470 +/* 8032F4DC 0032C43C 80 1F 01 A0 */ lwz r0, 0x1a0(r31) +/* 8032F4E0 0032C440 80 7F 01 A8 */ lwz r3, 0x1a8(r31) +/* 8032F4E4 0032C444 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8032F4E8 0032C448 90 61 00 0C */ stw r3, 0xc(r1) +/* 8032F4EC 0032C44C 7C 03 02 14 */ add r0, r3, r0 +/* 8032F4F0 0032C450 90 61 00 08 */ stw r3, 8(r1) +/* 8032F4F4 0032C454 90 01 00 14 */ stw r0, 0x14(r1) +/* 8032F4F8 0032C458 90 01 00 10 */ stw r0, 0x10(r1) +/* 8032F4FC 0032C45C 48 00 00 08 */ b lbl_8032F504 +lbl_8032F500: +/* 8032F500 0032C460 38 63 00 0C */ addi r3, r3, 0xc +lbl_8032F504: +/* 8032F504 0032C464 7C 03 00 40 */ cmplw r3, r0 +/* 8032F508 0032C468 40 82 FF F8 */ bne lbl_8032F500 +/* 8032F50C 0032C46C 38 00 00 00 */ li r0, 0 +/* 8032F510 0032C470 38 7F 01 9C */ addi r3, r31, 0x19c +/* 8032F514 0032C474 90 1F 01 A0 */ stw r0, 0x1a0(r31) +/* 8032F518 0032C478 80 9F 01 B8 */ lwz r4, 0x1b8(r31) +/* 8032F51C 0032C47C 4B D2 E7 DD */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" +/* 8032F520 0032C480 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8032F524 0032C484 3B 80 00 00 */ li r28, 0 +/* 8032F528 0032C488 3B C3 66 A0 */ addi r30, r3, skZero3f@l +/* 8032F52C 0032C48C 48 00 00 64 */ b lbl_8032F590 +lbl_8032F530: +/* 8032F530 0032C490 80 1F 01 A0 */ lwz r0, 0x1a0(r31) +/* 8032F534 0032C494 7C 00 28 00 */ cmpw r0, r5 +/* 8032F538 0032C498 41 80 00 1C */ blt lbl_8032F554 +/* 8032F53C 0032C49C 2C 05 00 00 */ cmpwi r5, 0 +/* 8032F540 0032C4A0 38 7F 01 9C */ addi r3, r31, 0x19c +/* 8032F544 0032C4A4 38 80 00 04 */ li r4, 4 +/* 8032F548 0032C4A8 41 82 00 08 */ beq lbl_8032F550 +/* 8032F54C 0032C4AC 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8032F550: +/* 8032F550 0032C4B0 4B D2 E7 A9 */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" +lbl_8032F554: +/* 8032F554 0032C4B4 80 1F 01 A0 */ lwz r0, 0x1a0(r31) +/* 8032F558 0032C4B8 80 7F 01 A8 */ lwz r3, 0x1a8(r31) +/* 8032F55C 0032C4BC 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8032F560 0032C4C0 7C 63 02 15 */ add. r3, r3, r0 +/* 8032F564 0032C4C4 41 82 00 1C */ beq lbl_8032F580 +/* 8032F568 0032C4C8 C0 1E 00 00 */ lfs f0, 0(r30) +/* 8032F56C 0032C4CC D0 03 00 00 */ stfs f0, 0(r3) +/* 8032F570 0032C4D0 C0 1E 00 04 */ lfs f0, 4(r30) +/* 8032F574 0032C4D4 D0 03 00 04 */ stfs f0, 4(r3) +/* 8032F578 0032C4D8 C0 1E 00 08 */ lfs f0, 8(r30) +/* 8032F57C 0032C4DC D0 03 00 08 */ stfs f0, 8(r3) +lbl_8032F580: +/* 8032F580 0032C4E0 80 7F 01 A0 */ lwz r3, 0x1a0(r31) +/* 8032F584 0032C4E4 3B 9C 00 01 */ addi r28, r28, 1 +/* 8032F588 0032C4E8 38 03 00 01 */ addi r0, r3, 1 +/* 8032F58C 0032C4EC 90 1F 01 A0 */ stw r0, 0x1a0(r31) +lbl_8032F590: +/* 8032F590 0032C4F0 80 BF 01 A4 */ lwz r5, 0x1a4(r31) +/* 8032F594 0032C4F4 7C 1C 28 00 */ cmpw r28, r5 +/* 8032F598 0032C4F8 41 80 FF 98 */ blt lbl_8032F530 +lbl_8032F59C: +/* 8032F59C 0032C4FC 38 61 00 5C */ addi r3, r1, 0x5c +/* 8032F5A0 0032C500 38 80 FF FF */ li r4, -1 +/* 8032F5A4 0032C504 4B FE 30 61 */ bl __dt__13CGlobalRandomFv +/* 8032F5A8 0032C508 7F E3 FB 78 */ mr r3, r31 +/* 8032F5AC 0032C50C BB 61 00 EC */ lmw r27, 0xec(r1) +/* 8032F5B0 0032C510 80 01 01 04 */ lwz r0, 0x104(r1) +/* 8032F5B4 0032C514 7C 08 03 A6 */ mtlr r0 +/* 8032F5B8 0032C518 38 21 01 00 */ addi r1, r1, 0x100 +/* 8032F5BC 0032C51C 4E 80 00 20 */ blr + +.global sub_8032f5c0 +sub_8032f5c0: +/* 8032F5C0 0032C520 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8032F5C4 0032C524 7C 08 02 A6 */ mflr r0 +/* 8032F5C8 0032C528 90 01 00 14 */ stw r0, 0x14(r1) +/* 8032F5CC 0032C52C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8032F5D0 0032C530 7C 9F 23 78 */ mr r31, r4 +/* 8032F5D4 0032C534 93 C1 00 08 */ stw r30, 8(r1) +/* 8032F5D8 0032C538 7C 7E 1B 78 */ mr r30, r3 +/* 8032F5DC 0032C53C 80 03 00 04 */ lwz r0, 4(r3) +/* 8032F5E0 0032C540 80 A3 00 08 */ lwz r5, 8(r3) +/* 8032F5E4 0032C544 7C 00 28 00 */ cmpw r0, r5 +/* 8032F5E8 0032C548 41 80 00 18 */ blt lbl_8032F600 +/* 8032F5EC 0032C54C 2C 05 00 00 */ cmpwi r5, 0 +/* 8032F5F0 0032C550 38 80 00 04 */ li r4, 4 +/* 8032F5F4 0032C554 41 82 00 08 */ beq lbl_8032F5FC +/* 8032F5F8 0032C558 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8032F5FC: +/* 8032F5FC 0032C55C 48 00 02 29 */ bl sub_8032f824 +lbl_8032F600: +/* 8032F600 0032C560 80 1E 00 04 */ lwz r0, 4(r30) +/* 8032F604 0032C564 7F E4 FB 78 */ mr r4, r31 +/* 8032F608 0032C568 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8032F60C 0032C56C 54 00 38 30 */ slwi r0, r0, 7 +/* 8032F610 0032C570 7C 63 02 14 */ add r3, r3, r0 +/* 8032F614 0032C574 48 00 00 29 */ bl sub_8032f63c +/* 8032F618 0032C578 80 7E 00 04 */ lwz r3, 4(r30) +/* 8032F61C 0032C57C 38 03 00 01 */ addi r0, r3, 1 +/* 8032F620 0032C580 90 1E 00 04 */ stw r0, 4(r30) +/* 8032F624 0032C584 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8032F628 0032C588 83 C1 00 08 */ lwz r30, 8(r1) +/* 8032F62C 0032C58C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8032F630 0032C590 7C 08 03 A6 */ mtlr r0 +/* 8032F634 0032C594 38 21 00 10 */ addi r1, r1, 0x10 +/* 8032F638 0032C598 4E 80 00 20 */ blr + +.global sub_8032f63c +sub_8032f63c: +/* 8032F63C 0032C59C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8032F640 0032C5A0 7C 08 02 A6 */ mflr r0 +/* 8032F644 0032C5A4 28 03 00 00 */ cmplwi r3, 0 +/* 8032F648 0032C5A8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8032F64C 0032C5AC 41 82 00 08 */ beq lbl_8032F654 +/* 8032F650 0032C5B0 48 00 00 15 */ bl sub_8032f664 +lbl_8032F654: +/* 8032F654 0032C5B4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8032F658 0032C5B8 7C 08 03 A6 */ mtlr r0 +/* 8032F65C 0032C5BC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8032F660 0032C5C0 4E 80 00 20 */ blr + +.global sub_8032f664 +sub_8032f664: +/* 8032F664 0032C5C4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8032F668 0032C5C8 7C 08 02 A6 */ mflr r0 +/* 8032F66C 0032C5CC 90 01 00 14 */ stw r0, 0x14(r1) +/* 8032F670 0032C5D0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8032F674 0032C5D4 7C 9F 23 78 */ mr r31, r4 +/* 8032F678 0032C5D8 93 C1 00 08 */ stw r30, 8(r1) +/* 8032F67C 0032C5DC 7C 7E 1B 78 */ mr r30, r3 +/* 8032F680 0032C5E0 38 7E 00 38 */ addi r3, r30, 0x38 +/* 8032F684 0032C5E4 88 04 00 00 */ lbz r0, 0(r4) +/* 8032F688 0032C5E8 38 9F 00 38 */ addi r4, r31, 0x38 +/* 8032F68C 0032C5EC 98 1E 00 00 */ stb r0, 0(r30) +/* 8032F690 0032C5F0 C0 1F 00 04 */ lfs f0, 4(r31) +/* 8032F694 0032C5F4 D0 1E 00 04 */ stfs f0, 4(r30) +/* 8032F698 0032C5F8 C0 1F 00 08 */ lfs f0, 8(r31) +/* 8032F69C 0032C5FC D0 1E 00 08 */ stfs f0, 8(r30) +/* 8032F6A0 0032C600 C0 1F 00 0C */ lfs f0, 0xc(r31) +/* 8032F6A4 0032C604 D0 1E 00 0C */ stfs f0, 0xc(r30) +/* 8032F6A8 0032C608 C0 1F 00 10 */ lfs f0, 0x10(r31) +/* 8032F6AC 0032C60C D0 1E 00 10 */ stfs f0, 0x10(r30) +/* 8032F6B0 0032C610 C0 1F 00 14 */ lfs f0, 0x14(r31) +/* 8032F6B4 0032C614 D0 1E 00 14 */ stfs f0, 0x14(r30) +/* 8032F6B8 0032C618 C0 1F 00 18 */ lfs f0, 0x18(r31) +/* 8032F6BC 0032C61C D0 1E 00 18 */ stfs f0, 0x18(r30) +/* 8032F6C0 0032C620 C0 1F 00 1C */ lfs f0, 0x1c(r31) +/* 8032F6C4 0032C624 D0 1E 00 1C */ stfs f0, 0x1c(r30) +/* 8032F6C8 0032C628 C0 1F 00 20 */ lfs f0, 0x20(r31) +/* 8032F6CC 0032C62C D0 1E 00 20 */ stfs f0, 0x20(r30) +/* 8032F6D0 0032C630 C0 1F 00 24 */ lfs f0, 0x24(r31) +/* 8032F6D4 0032C634 D0 1E 00 24 */ stfs f0, 0x24(r30) +/* 8032F6D8 0032C638 C0 1F 00 28 */ lfs f0, 0x28(r31) +/* 8032F6DC 0032C63C D0 1E 00 28 */ stfs f0, 0x28(r30) +/* 8032F6E0 0032C640 C0 1F 00 2C */ lfs f0, 0x2c(r31) +/* 8032F6E4 0032C644 D0 1E 00 2C */ stfs f0, 0x2c(r30) +/* 8032F6E8 0032C648 C0 1F 00 30 */ lfs f0, 0x30(r31) +/* 8032F6EC 0032C64C D0 1E 00 30 */ stfs f0, 0x30(r30) +/* 8032F6F0 0032C650 C0 1F 00 34 */ lfs f0, 0x34(r31) +/* 8032F6F4 0032C654 D0 1E 00 34 */ stfs f0, 0x34(r30) +/* 8032F6F8 0032C658 4B FE 34 7D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8032F6FC 0032C65C 80 1F 00 68 */ lwz r0, 0x68(r31) +/* 8032F700 0032C660 7F C3 F3 78 */ mr r3, r30 +/* 8032F704 0032C664 90 1E 00 68 */ stw r0, 0x68(r30) +/* 8032F708 0032C668 80 1F 00 6C */ lwz r0, 0x6c(r31) +/* 8032F70C 0032C66C 90 1E 00 6C */ stw r0, 0x6c(r30) +/* 8032F710 0032C670 80 1F 00 70 */ lwz r0, 0x70(r31) +/* 8032F714 0032C674 90 1E 00 70 */ stw r0, 0x70(r30) +/* 8032F718 0032C678 C0 1F 00 74 */ lfs f0, 0x74(r31) +/* 8032F71C 0032C67C D0 1E 00 74 */ stfs f0, 0x74(r30) +/* 8032F720 0032C680 C0 1F 00 78 */ lfs f0, 0x78(r31) +/* 8032F724 0032C684 D0 1E 00 78 */ stfs f0, 0x78(r30) +/* 8032F728 0032C688 C0 1F 00 7C */ lfs f0, 0x7c(r31) +/* 8032F72C 0032C68C D0 1E 00 7C */ stfs f0, 0x7c(r30) +/* 8032F730 0032C690 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8032F734 0032C694 83 C1 00 08 */ lwz r30, 8(r1) +/* 8032F738 0032C698 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8032F73C 0032C69C 7C 08 03 A6 */ mtlr r0 +/* 8032F740 0032C6A0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8032F744 0032C6A4 4E 80 00 20 */ blr + +.global __ct__Q215CParticleSwoosh11SSwooshDataFRC9CVector3fRC9CVector3fffibRC12CTransform4fRC9CVector3fffRC6CColor +__ct__Q215CParticleSwoosh11SSwooshDataFRC9CVector3fRC9CVector3fffibRC12CTransform4fRC9CVector3fffRC6CColor: +/* 8032F748 0032C6A8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8032F74C 0032C6AC 7C 08 02 A6 */ mflr r0 +/* 8032F750 0032C6B0 90 01 00 24 */ stw r0, 0x24(r1) +/* 8032F754 0032C6B4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8032F758 0032C6B8 7D 5F 53 78 */ mr r31, r10 +/* 8032F75C 0032C6BC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8032F760 0032C6C0 7D 3E 4B 78 */ mr r30, r9 +/* 8032F764 0032C6C4 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8032F768 0032C6C8 7C DD 33 78 */ mr r29, r6 +/* 8032F76C 0032C6CC 93 81 00 10 */ stw r28, 0x10(r1) +/* 8032F770 0032C6D0 7C 7C 1B 78 */ mr r28, r3 +/* 8032F774 0032C6D4 98 E3 00 00 */ stb r7, 0(r3) +/* 8032F778 0032C6D8 D0 63 00 04 */ stfs f3, 4(r3) +/* 8032F77C 0032C6DC 38 7C 00 38 */ addi r3, r28, 0x38 +/* 8032F780 0032C6E0 D0 9C 00 08 */ stfs f4, 8(r28) +/* 8032F784 0032C6E4 C0 04 00 00 */ lfs f0, 0(r4) +/* 8032F788 0032C6E8 D0 1C 00 0C */ stfs f0, 0xc(r28) +/* 8032F78C 0032C6EC C0 04 00 04 */ lfs f0, 4(r4) +/* 8032F790 0032C6F0 D0 1C 00 10 */ stfs f0, 0x10(r28) +/* 8032F794 0032C6F4 C0 04 00 08 */ lfs f0, 8(r4) +/* 8032F798 0032C6F8 7D 04 43 78 */ mr r4, r8 +/* 8032F79C 0032C6FC D0 1C 00 14 */ stfs f0, 0x14(r28) +/* 8032F7A0 0032C700 C0 05 00 00 */ lfs f0, 0(r5) +/* 8032F7A4 0032C704 D0 1C 00 18 */ stfs f0, 0x18(r28) +/* 8032F7A8 0032C708 C0 05 00 04 */ lfs f0, 4(r5) +/* 8032F7AC 0032C70C D0 1C 00 1C */ stfs f0, 0x1c(r28) +/* 8032F7B0 0032C710 C0 05 00 08 */ lfs f0, 8(r5) +/* 8032F7B4 0032C714 D0 1C 00 20 */ stfs f0, 0x20(r28) +/* 8032F7B8 0032C718 C0 05 00 00 */ lfs f0, 0(r5) +/* 8032F7BC 0032C71C D0 1C 00 24 */ stfs f0, 0x24(r28) +/* 8032F7C0 0032C720 C0 05 00 04 */ lfs f0, 4(r5) +/* 8032F7C4 0032C724 D0 1C 00 28 */ stfs f0, 0x28(r28) +/* 8032F7C8 0032C728 C0 05 00 08 */ lfs f0, 8(r5) +/* 8032F7CC 0032C72C D0 1C 00 2C */ stfs f0, 0x2c(r28) +/* 8032F7D0 0032C730 D0 3C 00 30 */ stfs f1, 0x30(r28) +/* 8032F7D4 0032C734 D0 5C 00 34 */ stfs f2, 0x34(r28) +/* 8032F7D8 0032C738 4B FE 33 9D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8032F7DC 0032C73C 80 1F 00 00 */ lwz r0, 0(r31) +/* 8032F7E0 0032C740 7F 83 E3 78 */ mr r3, r28 +/* 8032F7E4 0032C744 90 1C 00 6C */ stw r0, 0x6c(r28) +/* 8032F7E8 0032C748 93 BC 00 70 */ stw r29, 0x70(r28) +/* 8032F7EC 0032C74C C0 1E 00 00 */ lfs f0, 0(r30) +/* 8032F7F0 0032C750 D0 1C 00 74 */ stfs f0, 0x74(r28) +/* 8032F7F4 0032C754 C0 1E 00 04 */ lfs f0, 4(r30) +/* 8032F7F8 0032C758 D0 1C 00 78 */ stfs f0, 0x78(r28) +/* 8032F7FC 0032C75C C0 1E 00 08 */ lfs f0, 8(r30) +/* 8032F800 0032C760 D0 1C 00 7C */ stfs f0, 0x7c(r28) +/* 8032F804 0032C764 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8032F808 0032C768 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8032F80C 0032C76C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8032F810 0032C770 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8032F814 0032C774 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8032F818 0032C778 7C 08 03 A6 */ mtlr r0 +/* 8032F81C 0032C77C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8032F820 0032C780 4E 80 00 20 */ blr + +.global sub_8032f824 +sub_8032f824: +/* 8032F824 0032C784 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8032F828 0032C788 7C 08 02 A6 */ mflr r0 +/* 8032F82C 0032C78C 90 01 00 34 */ stw r0, 0x34(r1) +/* 8032F830 0032C790 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8032F834 0032C794 7C 9F 23 78 */ mr r31, r4 +/* 8032F838 0032C798 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8032F83C 0032C79C 7C 7E 1B 78 */ mr r30, r3 +/* 8032F840 0032C7A0 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8032F844 0032C7A4 80 03 00 08 */ lwz r0, 8(r3) +/* 8032F848 0032C7A8 7C 1F 00 00 */ cmpw r31, r0 +/* 8032F84C 0032C7AC 40 81 00 94 */ ble lbl_8032F8E0 +/* 8032F850 0032C7B0 57 E3 38 31 */ rlwinm. r3, r31, 7, 0, 0x18 +/* 8032F854 0032C7B4 40 82 00 0C */ bne lbl_8032F860 +/* 8032F858 0032C7B8 3B A0 00 00 */ li r29, 0 +/* 8032F85C 0032C7BC 48 00 00 18 */ b lbl_8032F874 +lbl_8032F860: +/* 8032F860 0032C7C0 3C 80 80 3D */ lis r4, lbl_803D7968@ha +/* 8032F864 0032C7C4 38 A0 00 00 */ li r5, 0 +/* 8032F868 0032C7C8 38 84 79 68 */ addi r4, r4, lbl_803D7968@l +/* 8032F86C 0032C7CC 4B FE 5F AD */ bl __nwa__FUlPCcPCc +/* 8032F870 0032C7D0 7C 7D 1B 78 */ mr r29, r3 +lbl_8032F874: +/* 8032F874 0032C7D4 80 1E 00 04 */ lwz r0, 4(r30) +/* 8032F878 0032C7D8 7F A5 EB 78 */ mr r5, r29 +/* 8032F87C 0032C7DC 80 DE 00 0C */ lwz r6, 0xc(r30) +/* 8032F880 0032C7E0 38 61 00 14 */ addi r3, r1, 0x14 +/* 8032F884 0032C7E4 54 00 38 30 */ slwi r0, r0, 7 +/* 8032F888 0032C7E8 38 81 00 0C */ addi r4, r1, 0xc +/* 8032F88C 0032C7EC 7C C6 02 14 */ add r6, r6, r0 +/* 8032F890 0032C7F0 90 C1 00 0C */ stw r6, 0xc(r1) +/* 8032F894 0032C7F4 80 1E 00 0C */ lwz r0, 0xc(r30) +/* 8032F898 0032C7F8 90 C1 00 08 */ stw r6, 8(r1) +/* 8032F89C 0032C7FC 90 01 00 10 */ stw r0, 0x10(r1) +/* 8032F8A0 0032C800 90 01 00 14 */ stw r0, 0x14(r1) +/* 8032F8A4 0032C804 48 00 00 59 */ bl sub_8032f8fc +/* 8032F8A8 0032C808 80 1E 00 04 */ lwz r0, 4(r30) +/* 8032F8AC 0032C80C 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8032F8B0 0032C810 54 00 38 30 */ slwi r0, r0, 7 +/* 8032F8B4 0032C814 7C 64 1B 78 */ mr r4, r3 +/* 8032F8B8 0032C818 7C 03 02 14 */ add r0, r3, r0 +/* 8032F8BC 0032C81C 48 00 00 08 */ b lbl_8032F8C4 +lbl_8032F8C0: +/* 8032F8C0 0032C820 38 84 00 80 */ addi r4, r4, 0x80 +lbl_8032F8C4: +/* 8032F8C4 0032C824 7C 04 00 40 */ cmplw r4, r0 +/* 8032F8C8 0032C828 40 82 FF F8 */ bne lbl_8032F8C0 +/* 8032F8CC 0032C82C 28 03 00 00 */ cmplwi r3, 0 +/* 8032F8D0 0032C830 41 82 00 08 */ beq lbl_8032F8D8 +/* 8032F8D4 0032C834 4B FE 60 5D */ bl Free__7CMemoryFPCv +lbl_8032F8D8: +/* 8032F8D8 0032C838 93 BE 00 0C */ stw r29, 0xc(r30) +/* 8032F8DC 0032C83C 93 FE 00 08 */ stw r31, 8(r30) +lbl_8032F8E0: +/* 8032F8E0 0032C840 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8032F8E4 0032C844 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8032F8E8 0032C848 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8032F8EC 0032C84C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8032F8F0 0032C850 7C 08 03 A6 */ mtlr r0 +/* 8032F8F4 0032C854 38 21 00 30 */ addi r1, r1, 0x30 +/* 8032F8F8 0032C858 4E 80 00 20 */ blr + +.global sub_8032f8fc +sub_8032f8fc: +/* 8032F8FC 0032C85C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8032F900 0032C860 7C 08 02 A6 */ mflr r0 +/* 8032F904 0032C864 90 01 00 24 */ stw r0, 0x24(r1) +/* 8032F908 0032C868 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8032F90C 0032C86C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8032F910 0032C870 7C BE 2B 78 */ mr r30, r5 +/* 8032F914 0032C874 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8032F918 0032C878 7C 9D 23 78 */ mr r29, r4 +/* 8032F91C 0032C87C 83 E3 00 00 */ lwz r31, 0(r3) +/* 8032F920 0032C880 48 00 00 18 */ b lbl_8032F938 +lbl_8032F924: +/* 8032F924 0032C884 7F C3 F3 78 */ mr r3, r30 +/* 8032F928 0032C888 7F E4 FB 78 */ mr r4, r31 +/* 8032F92C 0032C88C 4B FF FD 11 */ bl sub_8032f63c +/* 8032F930 0032C890 3B DE 00 80 */ addi r30, r30, 0x80 +/* 8032F934 0032C894 3B FF 00 80 */ addi r31, r31, 0x80 +lbl_8032F938: +/* 8032F938 0032C898 80 1D 00 00 */ lwz r0, 0(r29) +/* 8032F93C 0032C89C 7C 1F 00 40 */ cmplw r31, r0 +/* 8032F940 0032C8A0 40 82 FF E4 */ bne lbl_8032F924 +/* 8032F944 0032C8A4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8032F948 0032C8A8 7F C3 F3 78 */ mr r3, r30 +/* 8032F94C 0032C8AC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8032F950 0032C8B0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8032F954 0032C8B4 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8032F958 0032C8B8 7C 08 03 A6 */ mtlr r0 +/* 8032F95C 0032C8BC 38 21 00 20 */ addi r1, r1, 0x20 +/* 8032F960 0032C8C0 4E 80 00 20 */ blr diff --git a/asm/Kyoto/Particles/CParticleSwooshDataFactory.s b/asm/Kyoto/Particles/CParticleSwooshDataFactory.s new file mode 100644 index 00000000..03f0ddab --- /dev/null +++ b/asm/Kyoto/Particles/CParticleSwooshDataFactory.s @@ -0,0 +1,603 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global CreateWPSM__26CParticleSwooshDataFactoryFP18CSwooshDescriptionR12CInputStreamP11CSimplePool +CreateWPSM__26CParticleSwooshDataFactoryFP18CSwooshDescriptionR12CInputStreamP11CSimplePool: +/* 8032F964 0032C8C4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8032F968 0032C8C8 7C 08 02 A6 */ mflr r0 +/* 8032F96C 0032C8CC 90 01 00 34 */ stw r0, 0x34(r1) +/* 8032F970 0032C8D0 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 8032F974 0032C8D4 7C 7B 1B 78 */ mr r27, r3 +/* 8032F978 0032C8D8 7C 9C 23 78 */ mr r28, r4 +/* 8032F97C 0032C8DC 7C BD 2B 78 */ mr r29, r5 +/* 8032F980 0032C8E0 38 61 00 08 */ addi r3, r1, 8 +/* 8032F984 0032C8E4 3B C0 00 00 */ li r30, 0 +/* 8032F988 0032C8E8 38 80 00 63 */ li r4, 0x63 +/* 8032F98C 0032C8EC 4B FE 2C 61 */ bl __ct__9CRandom16FUi +/* 8032F990 0032C8F0 38 61 00 0C */ addi r3, r1, 0xc +/* 8032F994 0032C8F4 38 81 00 08 */ addi r4, r1, 8 +/* 8032F998 0032C8F8 4B FE 2C E9 */ bl __ct__13CGlobalRandomFR9CRandom16 +/* 8032F99C 0032C8FC 48 00 04 70 */ b lbl_8032FE0C +lbl_8032F9A0: +/* 8032F9A0 0032C900 7F 83 E3 78 */ mr r3, r28 +/* 8032F9A4 0032C904 4B FF 8A B9 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream +/* 8032F9A8 0032C908 7C 03 F8 00 */ cmpw r3, r31 +/* 8032F9AC 0032C90C 41 82 02 58 */ beq lbl_8032FC04 +/* 8032F9B0 0032C910 40 80 01 18 */ bge lbl_8032FAC8 +/* 8032F9B4 0032C914 3C 80 4C 4C */ lis r4, 0x4C4C5244@ha +/* 8032F9B8 0032C918 38 04 52 44 */ addi r0, r4, 0x4C4C5244@l +/* 8032F9BC 0032C91C 7C 03 00 00 */ cmpw r3, r0 +/* 8032F9C0 0032C920 41 82 02 54 */ beq lbl_8032FC14 +/* 8032F9C4 0032C924 40 80 00 8C */ bge lbl_8032FA50 +/* 8032F9C8 0032C928 3C A0 43 52 */ lis r5, 0x43524F53@ha +/* 8032F9CC 0032C92C 38 05 4F 53 */ addi r0, r5, 0x43524F53@l +/* 8032F9D0 0032C930 7C 03 00 00 */ cmpw r3, r0 +/* 8032F9D4 0032C934 41 82 02 88 */ beq lbl_8032FC5C +/* 8032F9D8 0032C938 40 80 00 3C */ bge lbl_8032FA14 +/* 8032F9DC 0032C93C 3C 80 43 4F */ lis r4, 0x434F4C52@ha +/* 8032F9E0 0032C940 38 04 4C 52 */ addi r0, r4, 0x434F4C52@l +/* 8032F9E4 0032C944 7C 03 00 00 */ cmpw r3, r0 +/* 8032F9E8 0032C948 41 82 02 54 */ beq lbl_8032FC3C +/* 8032F9EC 0032C94C 40 80 00 18 */ bge lbl_8032FA04 +/* 8032F9F0 0032C950 3C 80 41 41 */ lis r4, 0x41414C50@ha +/* 8032F9F4 0032C954 38 04 4C 50 */ addi r0, r4, 0x41414C50@l +/* 8032F9F8 0032C958 7C 03 00 00 */ cmpw r3, r0 +/* 8032F9FC 0032C95C 41 82 03 7C */ beq lbl_8032FD78 +/* 8032FA00 0032C960 48 00 03 F8 */ b lbl_8032FDF8 +lbl_8032FA04: +/* 8032FA04 0032C964 38 05 4E 44 */ addi r0, r5, 0x4e44 +/* 8032FA08 0032C968 7C 03 00 00 */ cmpw r3, r0 +/* 8032FA0C 0032C96C 41 82 03 CC */ beq lbl_8032FDD8 +/* 8032FA10 0032C970 48 00 03 E8 */ b lbl_8032FDF8 +lbl_8032FA14: +/* 8032FA14 0032C974 3C 80 49 56 */ lis r4, 0x4956454C@ha +/* 8032FA18 0032C978 38 04 45 4C */ addi r0, r4, 0x4956454C@l +/* 8032FA1C 0032C97C 7C 03 00 00 */ cmpw r3, r0 +/* 8032FA20 0032C980 41 82 02 9C */ beq lbl_8032FCBC +/* 8032FA24 0032C984 40 80 00 18 */ bge lbl_8032FA3C +/* 8032FA28 0032C988 3C 80 49 52 */ lis r4, 0x49524F54@ha +/* 8032FA2C 0032C98C 38 04 4F 54 */ addi r0, r4, 0x49524F54@l +/* 8032FA30 0032C990 7C 03 00 00 */ cmpw r3, r0 +/* 8032FA34 0032C994 41 82 02 58 */ beq lbl_8032FC8C +/* 8032FA38 0032C998 48 00 03 C0 */ b lbl_8032FDF8 +lbl_8032FA3C: +/* 8032FA3C 0032C99C 3C 80 4C 45 */ lis r4, 0x4C454E47@ha +/* 8032FA40 0032C9A0 38 04 4E 47 */ addi r0, r4, 0x4C454E47@l +/* 8032FA44 0032C9A4 7C 03 00 00 */ cmpw r3, r0 +/* 8032FA48 0032C9A8 41 82 01 E4 */ beq lbl_8032FC2C +/* 8032FA4C 0032C9AC 48 00 03 AC */ b lbl_8032FDF8 +lbl_8032FA50: +/* 8032FA50 0032C9B0 3C 80 50 4F */ lis r4, 0x504F4653@ha +/* 8032FA54 0032C9B4 38 04 46 53 */ addi r0, r4, 0x504F4653@l +/* 8032FA58 0032C9B8 7C 03 00 00 */ cmpw r3, r0 +/* 8032FA5C 0032C9BC 41 82 02 50 */ beq lbl_8032FCAC +/* 8032FA60 0032C9C0 40 80 00 40 */ bge lbl_8032FAA0 +/* 8032FA64 0032C9C4 3C 80 4E 50 */ lis r4, 0x4E504F53@ha +/* 8032FA68 0032C9C8 38 04 4F 53 */ addi r0, r4, 0x4E504F53@l +/* 8032FA6C 0032C9CC 7C 03 00 00 */ cmpw r3, r0 +/* 8032FA70 0032C9D0 41 82 02 5C */ beq lbl_8032FCCC +/* 8032FA74 0032C9D4 40 80 00 18 */ bge lbl_8032FA8C +/* 8032FA78 0032C9D8 3C 80 4C 52 */ lis r4, 0x4C524144@ha +/* 8032FA7C 0032C9DC 38 04 41 44 */ addi r0, r4, 0x4C524144@l +/* 8032FA80 0032C9E0 7C 03 00 00 */ cmpw r3, r0 +/* 8032FA84 0032C9E4 41 82 01 70 */ beq lbl_8032FBF4 +/* 8032FA88 0032C9E8 48 00 03 70 */ b lbl_8032FDF8 +lbl_8032FA8C: +/* 8032FA8C 0032C9EC 3C 80 4F 52 */ lis r4, 0x4F524E54@ha +/* 8032FA90 0032C9F0 38 04 4E 54 */ addi r0, r4, 0x4F524E54@l +/* 8032FA94 0032C9F4 7C 03 00 00 */ cmpw r3, r0 +/* 8032FA98 0032C9F8 41 82 03 10 */ beq lbl_8032FDA8 +/* 8032FA9C 0032C9FC 48 00 03 5C */ b lbl_8032FDF8 +lbl_8032FAA0: +/* 8032FAA0 0032CA00 3C 80 52 4F */ lis r4, 0x524F544D@ha +/* 8032FAA4 0032CA04 38 04 54 4D */ addi r0, r4, 0x524F544D@l +/* 8032FAA8 0032CA08 7C 03 00 00 */ cmpw r3, r0 +/* 8032FAAC 0032CA0C 41 82 01 F0 */ beq lbl_8032FC9C +/* 8032FAB0 0032CA10 40 80 03 48 */ bge lbl_8032FDF8 +/* 8032FAB4 0032CA14 3C 80 50 53 */ lis r4, 0x50534C54@ha +/* 8032FAB8 0032CA18 38 04 4C 54 */ addi r0, r4, 0x50534C54@l +/* 8032FABC 0032CA1C 7C 03 00 00 */ cmpw r3, r0 +/* 8032FAC0 0032CA20 41 82 01 14 */ beq lbl_8032FBD4 +/* 8032FAC4 0032CA24 48 00 03 34 */ b lbl_8032FDF8 +lbl_8032FAC8: +/* 8032FAC8 0032CA28 3C 80 54 53 */ lis r4, 0x5453504E@ha +/* 8032FACC 0032CA2C 38 04 50 4E */ addi r0, r4, 0x5453504E@l +/* 8032FAD0 0032CA30 7C 03 00 00 */ cmpw r3, r0 +/* 8032FAD4 0032CA34 41 82 02 94 */ beq lbl_8032FD68 +/* 8032FAD8 0032CA38 40 80 00 78 */ bge lbl_8032FB50 +/* 8032FADC 0032CA3C 3C A0 54 45 */ lis r5, 0x54455852@ha +/* 8032FAE0 0032CA40 38 05 58 52 */ addi r0, r5, 0x54455852@l +/* 8032FAE4 0032CA44 7C 03 00 00 */ cmpw r3, r0 +/* 8032FAE8 0032CA48 41 82 02 6C */ beq lbl_8032FD54 +/* 8032FAEC 0032CA4C 40 80 00 40 */ bge lbl_8032FB2C +/* 8032FAF0 0032CA50 3C 80 53 50 */ lis r4, 0x53504C4E@ha +/* 8032FAF4 0032CA54 38 04 4C 4E */ addi r0, r4, 0x53504C4E@l +/* 8032FAF8 0032CA58 7C 03 00 00 */ cmpw r3, r0 +/* 8032FAFC 0032CA5C 41 82 02 30 */ beq lbl_8032FD2C +/* 8032FB00 0032CA60 40 80 00 18 */ bge lbl_8032FB18 +/* 8032FB04 0032CA64 3C 80 53 49 */ lis r4, 0x53494445@ha +/* 8032FB08 0032CA68 38 04 44 45 */ addi r0, r4, 0x53494445@l +/* 8032FB0C 0032CA6C 7C 03 00 00 */ cmpw r3, r0 +/* 8032FB10 0032CA70 41 82 01 3C */ beq lbl_8032FC4C +/* 8032FB14 0032CA74 48 00 02 E4 */ b lbl_8032FDF8 +lbl_8032FB18: +/* 8032FB18 0032CA78 3C 80 53 52 */ lis r4, 0x53524F54@ha +/* 8032FB1C 0032CA7C 38 04 4F 54 */ addi r0, r4, 0x53524F54@l +/* 8032FB20 0032CA80 7C 03 00 00 */ cmpw r3, r0 +/* 8032FB24 0032CA84 41 82 01 50 */ beq lbl_8032FC74 +/* 8032FB28 0032CA88 48 00 02 D0 */ b lbl_8032FDF8 +lbl_8032FB2C: +/* 8032FB2C 0032CA8C 3C 80 54 49 */ lis r4, 0x54494D45@ha +/* 8032FB30 0032CA90 38 04 4D 45 */ addi r0, r4, 0x54494D45@l +/* 8032FB34 0032CA94 7C 03 00 00 */ cmpw r3, r0 +/* 8032FB38 0032CA98 41 82 00 AC */ beq lbl_8032FBE4 +/* 8032FB3C 0032CA9C 40 80 02 BC */ bge lbl_8032FDF8 +/* 8032FB40 0032CAA0 38 05 58 57 */ addi r0, r5, 0x5857 +/* 8032FB44 0032CAA4 7C 03 00 00 */ cmpw r3, r0 +/* 8032FB48 0032CAA8 41 82 02 78 */ beq lbl_8032FDC0 +/* 8032FB4C 0032CAAC 48 00 02 AC */ b lbl_8032FDF8 +lbl_8032FB50: +/* 8032FB50 0032CAB0 3C 80 56 4C */ lis r4, 0x564C5332@ha +/* 8032FB54 0032CAB4 38 04 53 32 */ addi r0, r4, 0x564C5332@l +/* 8032FB58 0032CAB8 7C 03 00 00 */ cmpw r3, r0 +/* 8032FB5C 0032CABC 41 82 01 B8 */ beq lbl_8032FD14 +/* 8032FB60 0032CAC0 40 80 00 38 */ bge lbl_8032FB98 +/* 8032FB64 0032CAC4 38 04 4D 32 */ addi r0, r4, 0x4d32 +/* 8032FB68 0032CAC8 7C 03 00 00 */ cmpw r3, r0 +/* 8032FB6C 0032CACC 41 82 01 98 */ beq lbl_8032FD04 +/* 8032FB70 0032CAD0 40 80 00 18 */ bge lbl_8032FB88 +/* 8032FB74 0032CAD4 3C 80 56 45 */ lis r4, 0x56454C4D@ha +/* 8032FB78 0032CAD8 38 04 4C 4D */ addi r0, r4, 0x56454C4D@l +/* 8032FB7C 0032CADC 7C 03 00 00 */ cmpw r3, r0 +/* 8032FB80 0032CAE0 41 82 01 5C */ beq lbl_8032FCDC +/* 8032FB84 0032CAE4 48 00 02 74 */ b lbl_8032FDF8 +lbl_8032FB88: +/* 8032FB88 0032CAE8 38 04 53 31 */ addi r0, r4, 0x5331 +/* 8032FB8C 0032CAEC 7C 03 00 00 */ cmpw r3, r0 +/* 8032FB90 0032CAF0 40 80 01 5C */ bge lbl_8032FCEC +/* 8032FB94 0032CAF4 48 00 02 64 */ b lbl_8032FDF8 +lbl_8032FB98: +/* 8032FB98 0032CAF8 3C 80 5A 42 */ lis r4, 0x5A425546@ha +/* 8032FB9C 0032CAFC 38 04 55 46 */ addi r0, r4, 0x5A425546@l +/* 8032FBA0 0032CB00 7C 03 00 00 */ cmpw r3, r0 +/* 8032FBA4 0032CB04 41 82 01 EC */ beq lbl_8032FD90 +/* 8032FBA8 0032CB08 40 80 00 18 */ bge lbl_8032FBC0 +/* 8032FBAC 0032CB0C 3C 80 57 49 */ lis r4, 0x57495245@ha +/* 8032FBB0 0032CB10 38 04 52 45 */ addi r0, r4, 0x57495245@l +/* 8032FBB4 0032CB14 7C 03 00 00 */ cmpw r3, r0 +/* 8032FBB8 0032CB18 41 82 01 84 */ beq lbl_8032FD3C +/* 8032FBBC 0032CB1C 48 00 02 3C */ b lbl_8032FDF8 +lbl_8032FBC0: +/* 8032FBC0 0032CB20 3C 80 5F 45 */ lis r4, 0x5F454E44@ha +/* 8032FBC4 0032CB24 38 04 4E 44 */ addi r0, r4, 0x5F454E44@l +/* 8032FBC8 0032CB28 7C 03 00 00 */ cmpw r3, r0 +/* 8032FBCC 0032CB2C 41 82 02 24 */ beq lbl_8032FDF0 +/* 8032FBD0 0032CB30 48 00 02 28 */ b lbl_8032FDF8 +lbl_8032FBD4: +/* 8032FBD4 0032CB34 7F 83 E3 78 */ mr r3, r28 +/* 8032FBD8 0032CB38 4B FF 7F CD */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 8032FBDC 0032CB3C 90 7B 00 00 */ stw r3, 0(r27) +/* 8032FBE0 0032CB40 48 00 02 34 */ b lbl_8032FE14 +lbl_8032FBE4: +/* 8032FBE4 0032CB44 7F 83 E3 78 */ mr r3, r28 +/* 8032FBE8 0032CB48 4B FF 70 A9 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 8032FBEC 0032CB4C 90 7B 00 04 */ stw r3, 4(r27) +/* 8032FBF0 0032CB50 48 00 02 24 */ b lbl_8032FE14 +lbl_8032FBF4: +/* 8032FBF4 0032CB54 7F 83 E3 78 */ mr r3, r28 +/* 8032FBF8 0032CB58 4B FF 70 99 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 8032FBFC 0032CB5C 90 7B 00 08 */ stw r3, 8(r27) +/* 8032FC00 0032CB60 48 00 02 14 */ b lbl_8032FE14 +lbl_8032FC04: +/* 8032FC04 0032CB64 7F 83 E3 78 */ mr r3, r28 +/* 8032FC08 0032CB68 4B FF 70 89 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 8032FC0C 0032CB6C 90 7B 00 0C */ stw r3, 0xc(r27) +/* 8032FC10 0032CB70 48 00 02 04 */ b lbl_8032FE14 +lbl_8032FC14: +/* 8032FC14 0032CB74 7F 83 E3 78 */ mr r3, r28 +/* 8032FC18 0032CB78 4B FF 88 11 */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 8032FC1C 0032CB7C 88 1B 00 44 */ lbz r0, 0x44(r27) +/* 8032FC20 0032CB80 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8032FC24 0032CB84 98 1B 00 44 */ stb r0, 0x44(r27) +/* 8032FC28 0032CB88 48 00 01 EC */ b lbl_8032FE14 +lbl_8032FC2C: +/* 8032FC2C 0032CB8C 7F 83 E3 78 */ mr r3, r28 +/* 8032FC30 0032CB90 4B FF 7F 75 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 8032FC34 0032CB94 90 7B 00 10 */ stw r3, 0x10(r27) +/* 8032FC38 0032CB98 48 00 01 DC */ b lbl_8032FE14 +lbl_8032FC3C: +/* 8032FC3C 0032CB9C 7F 83 E3 78 */ mr r3, r28 +/* 8032FC40 0032CBA0 4B FF 56 1D */ bl GetColorElement__20CParticleDataFactoryFR12CInputStream +/* 8032FC44 0032CBA4 90 7B 00 14 */ stw r3, 0x14(r27) +/* 8032FC48 0032CBA8 48 00 01 CC */ b lbl_8032FE14 +lbl_8032FC4C: +/* 8032FC4C 0032CBAC 7F 83 E3 78 */ mr r3, r28 +/* 8032FC50 0032CBB0 4B FF 7F 55 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 8032FC54 0032CBB4 90 7B 00 18 */ stw r3, 0x18(r27) +/* 8032FC58 0032CBB8 48 00 01 BC */ b lbl_8032FE14 +lbl_8032FC5C: +/* 8032FC5C 0032CBBC 7F 83 E3 78 */ mr r3, r28 +/* 8032FC60 0032CBC0 4B FF 87 C9 */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 8032FC64 0032CBC4 88 1B 00 44 */ lbz r0, 0x44(r27) +/* 8032FC68 0032CBC8 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 8032FC6C 0032CBCC 98 1B 00 44 */ stb r0, 0x44(r27) +/* 8032FC70 0032CBD0 48 00 01 A4 */ b lbl_8032FE14 +lbl_8032FC74: +/* 8032FC74 0032CBD4 7F 83 E3 78 */ mr r3, r28 +/* 8032FC78 0032CBD8 4B FF 87 B1 */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 8032FC7C 0032CBDC 88 1B 00 44 */ lbz r0, 0x44(r27) +/* 8032FC80 0032CBE0 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 8032FC84 0032CBE4 98 1B 00 44 */ stb r0, 0x44(r27) +/* 8032FC88 0032CBE8 48 00 01 8C */ b lbl_8032FE14 +lbl_8032FC8C: +/* 8032FC8C 0032CBEC 7F 83 E3 78 */ mr r3, r28 +/* 8032FC90 0032CBF0 4B FF 70 01 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 8032FC94 0032CBF4 90 7B 00 1C */ stw r3, 0x1c(r27) +/* 8032FC98 0032CBF8 48 00 01 7C */ b lbl_8032FE14 +lbl_8032FC9C: +/* 8032FC9C 0032CBFC 7F 83 E3 78 */ mr r3, r28 +/* 8032FCA0 0032CC00 4B FF 6F F1 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream +/* 8032FCA4 0032CC04 90 7B 00 20 */ stw r3, 0x20(r27) +/* 8032FCA8 0032CC08 48 00 01 6C */ b lbl_8032FE14 +lbl_8032FCAC: +/* 8032FCAC 0032CC0C 7F 83 E3 78 */ mr r3, r28 +/* 8032FCB0 0032CC10 4B FF 65 A5 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 8032FCB4 0032CC14 90 7B 00 24 */ stw r3, 0x24(r27) +/* 8032FCB8 0032CC18 48 00 01 5C */ b lbl_8032FE14 +lbl_8032FCBC: +/* 8032FCBC 0032CC1C 7F 83 E3 78 */ mr r3, r28 +/* 8032FCC0 0032CC20 4B FF 65 95 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 8032FCC4 0032CC24 90 7B 00 28 */ stw r3, 0x28(r27) +/* 8032FCC8 0032CC28 48 00 01 4C */ b lbl_8032FE14 +lbl_8032FCCC: +/* 8032FCCC 0032CC2C 7F 83 E3 78 */ mr r3, r28 +/* 8032FCD0 0032CC30 4B FF 65 85 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream +/* 8032FCD4 0032CC34 90 7B 00 2C */ stw r3, 0x2c(r27) +/* 8032FCD8 0032CC38 48 00 01 3C */ b lbl_8032FE14 +lbl_8032FCDC: +/* 8032FCDC 0032CC3C 7F 83 E3 78 */ mr r3, r28 +/* 8032FCE0 0032CC40 4B FF 5B 1D */ bl GetModVectorElement__20CParticleDataFactoryFR12CInputStream +/* 8032FCE4 0032CC44 90 7B 00 30 */ stw r3, 0x30(r27) +/* 8032FCE8 0032CC48 48 00 01 2C */ b lbl_8032FE14 +lbl_8032FCEC: +/* 8032FCEC 0032CC4C 7F 83 E3 78 */ mr r3, r28 +/* 8032FCF0 0032CC50 4B FF 87 39 */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 8032FCF4 0032CC54 88 1B 00 44 */ lbz r0, 0x44(r27) +/* 8032FCF8 0032CC58 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 8032FCFC 0032CC5C 98 1B 00 44 */ stb r0, 0x44(r27) +/* 8032FD00 0032CC60 48 00 01 14 */ b lbl_8032FE14 +lbl_8032FD04: +/* 8032FD04 0032CC64 7F 83 E3 78 */ mr r3, r28 +/* 8032FD08 0032CC68 4B FF 5A F5 */ bl GetModVectorElement__20CParticleDataFactoryFR12CInputStream +/* 8032FD0C 0032CC6C 90 7B 00 34 */ stw r3, 0x34(r27) +/* 8032FD10 0032CC70 48 00 01 04 */ b lbl_8032FE14 +lbl_8032FD14: +/* 8032FD14 0032CC74 7F 83 E3 78 */ mr r3, r28 +/* 8032FD18 0032CC78 4B FF 87 11 */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 8032FD1C 0032CC7C 88 1B 00 44 */ lbz r0, 0x44(r27) +/* 8032FD20 0032CC80 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 8032FD24 0032CC84 98 1B 00 44 */ stb r0, 0x44(r27) +/* 8032FD28 0032CC88 48 00 00 EC */ b lbl_8032FE14 +lbl_8032FD2C: +/* 8032FD2C 0032CC8C 7F 83 E3 78 */ mr r3, r28 +/* 8032FD30 0032CC90 4B FF 7E 75 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 8032FD34 0032CC94 90 7B 00 38 */ stw r3, 0x38(r27) +/* 8032FD38 0032CC98 48 00 00 DC */ b lbl_8032FE14 +lbl_8032FD3C: +/* 8032FD3C 0032CC9C 7F 83 E3 78 */ mr r3, r28 +/* 8032FD40 0032CCA0 4B FF 86 E9 */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 8032FD44 0032CCA4 88 1B 00 44 */ lbz r0, 0x44(r27) +/* 8032FD48 0032CCA8 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 8032FD4C 0032CCAC 98 1B 00 44 */ stb r0, 0x44(r27) +/* 8032FD50 0032CCB0 48 00 00 C4 */ b lbl_8032FE14 +lbl_8032FD54: +/* 8032FD54 0032CCB4 7F 83 E3 78 */ mr r3, r28 +/* 8032FD58 0032CCB8 7F A4 EB 78 */ mr r4, r29 +/* 8032FD5C 0032CCBC 4B FF 50 D5 */ bl GetTextureElement__20CParticleDataFactoryFR12CInputStreamP11CSimplePool +/* 8032FD60 0032CCC0 90 7B 00 3C */ stw r3, 0x3c(r27) +/* 8032FD64 0032CCC4 48 00 00 B0 */ b lbl_8032FE14 +lbl_8032FD68: +/* 8032FD68 0032CCC8 7F 83 E3 78 */ mr r3, r28 +/* 8032FD6C 0032CCCC 4B FF 7E 39 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream +/* 8032FD70 0032CCD0 90 7B 00 40 */ stw r3, 0x40(r27) +/* 8032FD74 0032CCD4 48 00 00 A0 */ b lbl_8032FE14 +lbl_8032FD78: +/* 8032FD78 0032CCD8 7F 83 E3 78 */ mr r3, r28 +/* 8032FD7C 0032CCDC 4B FF 86 AD */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 8032FD80 0032CCE0 88 1B 00 44 */ lbz r0, 0x44(r27) +/* 8032FD84 0032CCE4 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f +/* 8032FD88 0032CCE8 98 1B 00 44 */ stb r0, 0x44(r27) +/* 8032FD8C 0032CCEC 48 00 00 88 */ b lbl_8032FE14 +lbl_8032FD90: +/* 8032FD90 0032CCF0 7F 83 E3 78 */ mr r3, r28 +/* 8032FD94 0032CCF4 4B FF 86 95 */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 8032FD98 0032CCF8 88 1B 00 45 */ lbz r0, 0x45(r27) +/* 8032FD9C 0032CCFC 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8032FDA0 0032CD00 98 1B 00 45 */ stb r0, 0x45(r27) +/* 8032FDA4 0032CD04 48 00 00 70 */ b lbl_8032FE14 +lbl_8032FDA8: +/* 8032FDA8 0032CD08 7F 83 E3 78 */ mr r3, r28 +/* 8032FDAC 0032CD0C 4B FF 86 7D */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 8032FDB0 0032CD10 88 1B 00 45 */ lbz r0, 0x45(r27) +/* 8032FDB4 0032CD14 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 8032FDB8 0032CD18 98 1B 00 45 */ stb r0, 0x45(r27) +/* 8032FDBC 0032CD1C 48 00 00 58 */ b lbl_8032FE14 +lbl_8032FDC0: +/* 8032FDC0 0032CD20 7F 83 E3 78 */ mr r3, r28 +/* 8032FDC4 0032CD24 4B FF 86 65 */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 8032FDC8 0032CD28 88 1B 00 44 */ lbz r0, 0x44(r27) +/* 8032FDCC 0032CD2C 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e +/* 8032FDD0 0032CD30 98 1B 00 44 */ stb r0, 0x44(r27) +/* 8032FDD4 0032CD34 48 00 00 40 */ b lbl_8032FE14 +lbl_8032FDD8: +/* 8032FDD8 0032CD38 7F 83 E3 78 */ mr r3, r28 +/* 8032FDDC 0032CD3C 4B FF 86 4D */ bl GetBool__20CParticleDataFactoryFR12CInputStream +/* 8032FDE0 0032CD40 88 1B 00 45 */ lbz r0, 0x45(r27) +/* 8032FDE4 0032CD44 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 8032FDE8 0032CD48 98 1B 00 45 */ stb r0, 0x45(r27) +/* 8032FDEC 0032CD4C 48 00 00 28 */ b lbl_8032FE14 +lbl_8032FDF0: +/* 8032FDF0 0032CD50 3B C0 00 01 */ li r30, 1 +/* 8032FDF4 0032CD54 48 00 00 20 */ b lbl_8032FE14 +lbl_8032FDF8: +/* 8032FDF8 0032CD58 38 61 00 0C */ addi r3, r1, 0xc +/* 8032FDFC 0032CD5C 38 80 FF FF */ li r4, -1 +/* 8032FE00 0032CD60 4B FE 28 05 */ bl __dt__13CGlobalRandomFv +/* 8032FE04 0032CD64 38 60 00 00 */ li r3, 0 +/* 8032FE08 0032CD68 48 00 00 24 */ b lbl_8032FE2C +lbl_8032FE0C: +/* 8032FE0C 0032CD6C 3C 60 52 52 */ lis r3, 0x52524144@ha +/* 8032FE10 0032CD70 3B E3 41 44 */ addi r31, r3, 0x52524144@l +lbl_8032FE14: +/* 8032FE14 0032CD74 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 8032FE18 0032CD78 41 82 FB 88 */ beq lbl_8032F9A0 +/* 8032FE1C 0032CD7C 38 61 00 0C */ addi r3, r1, 0xc +/* 8032FE20 0032CD80 38 80 FF FF */ li r4, -1 +/* 8032FE24 0032CD84 4B FE 27 E1 */ bl __dt__13CGlobalRandomFv +/* 8032FE28 0032CD88 38 60 00 01 */ li r3, 1 +lbl_8032FE2C: +/* 8032FE2C 0032CD8C BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 8032FE30 0032CD90 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8032FE34 0032CD94 7C 08 03 A6 */ mtlr r0 +/* 8032FE38 0032CD98 38 21 00 30 */ addi r1, r1, 0x30 +/* 8032FE3C 0032CD9C 4E 80 00 20 */ blr + +.global CreateGeneratorDescription__26CParticleSwooshDataFactoryFR12CInputStreamP11CSimplePool +CreateGeneratorDescription__26CParticleSwooshDataFactoryFR12CInputStreamP11CSimplePool: +/* 8032FE40 0032CDA0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8032FE44 0032CDA4 7C 08 02 A6 */ mflr r0 +/* 8032FE48 0032CDA8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8032FE4C 0032CDAC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8032FE50 0032CDB0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8032FE54 0032CDB4 7C 9E 23 78 */ mr r30, r4 +/* 8032FE58 0032CDB8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8032FE5C 0032CDBC 7C 7D 1B 78 */ mr r29, r3 +/* 8032FE60 0032CDC0 4B FF 85 FD */ bl GetClassID__20CParticleDataFactoryFR12CInputStream +/* 8032FE64 0032CDC4 3C 03 AC A9 */ addis r0, r3, 0xaca9 +/* 8032FE68 0032CDC8 28 00 53 48 */ cmplwi r0, 0x5348 +/* 8032FE6C 0032CDCC 41 82 00 0C */ beq lbl_8032FE78 +/* 8032FE70 0032CDD0 38 60 00 00 */ li r3, 0 +/* 8032FE74 0032CDD4 48 00 00 3C */ b lbl_8032FEB0 +lbl_8032FE78: +/* 8032FE78 0032CDD8 3C 80 80 3D */ lis r4, lbl_803D7970@ha +/* 8032FE7C 0032CDDC 38 60 00 48 */ li r3, 0x48 +/* 8032FE80 0032CDE0 38 84 79 70 */ addi r4, r4, lbl_803D7970@l +/* 8032FE84 0032CDE4 38 A0 00 00 */ li r5, 0 +/* 8032FE88 0032CDE8 4B FE 59 E5 */ bl __nw__FUlPCcPCc +/* 8032FE8C 0032CDEC 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8032FE90 0032CDF0 41 82 00 0C */ beq lbl_8032FE9C +/* 8032FE94 0032CDF4 48 03 6E D1 */ bl __ct__18CSwooshDescriptionFv +/* 8032FE98 0032CDF8 7C 7F 1B 78 */ mr r31, r3 +lbl_8032FE9C: +/* 8032FE9C 0032CDFC 7F E3 FB 78 */ mr r3, r31 +/* 8032FEA0 0032CE00 7F A4 EB 78 */ mr r4, r29 +/* 8032FEA4 0032CE04 7F C5 F3 78 */ mr r5, r30 +/* 8032FEA8 0032CE08 4B FF FA BD */ bl CreateWPSM__26CParticleSwooshDataFactoryFP18CSwooshDescriptionR12CInputStreamP11CSimplePool +/* 8032FEAC 0032CE0C 7F E3 FB 78 */ mr r3, r31 +lbl_8032FEB0: +/* 8032FEB0 0032CE10 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8032FEB4 0032CE14 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8032FEB8 0032CE18 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8032FEBC 0032CE1C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8032FEC0 0032CE20 7C 08 03 A6 */ mtlr r0 +/* 8032FEC4 0032CE24 38 21 00 20 */ addi r1, r1, 0x20 +/* 8032FEC8 0032CE28 4E 80 00 20 */ blr + +.global GetGeneratorDesc__26CParticleSwooshDataFactoryFR12CInputStreamP11CSimplePool +GetGeneratorDesc__26CParticleSwooshDataFactoryFR12CInputStreamP11CSimplePool: +/* 8032FECC 0032CE2C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8032FED0 0032CE30 7C 08 02 A6 */ mflr r0 +/* 8032FED4 0032CE34 90 01 00 34 */ stw r0, 0x34(r1) +/* 8032FED8 0032CE38 38 00 00 00 */ li r0, 0 +/* 8032FEDC 0032CE3C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8032FEE0 0032CE40 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8032FEE4 0032CE44 90 01 00 20 */ stw r0, 0x20(r1) +/* 8032FEE8 0032CE48 90 01 00 24 */ stw r0, 0x24(r1) +/* 8032FEEC 0032CE4C 4B FF FF 55 */ bl CreateGeneratorDescription__26CParticleSwooshDataFactoryFR12CInputStreamP11CSimplePool +/* 8032FEF0 0032CE50 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 8032FEF4 0032CE54 7C 7F 1B 78 */ mr r31, r3 +/* 8032FEF8 0032CE58 80 81 00 24 */ lwz r4, 0x24(r1) +/* 8032FEFC 0032CE5C 54 00 10 3A */ slwi r0, r0, 2 +/* 8032FF00 0032CE60 7C 04 02 14 */ add r0, r4, r0 +/* 8032FF04 0032CE64 90 81 00 0C */ stw r4, 0xc(r1) +/* 8032FF08 0032CE68 7C 83 23 78 */ mr r3, r4 +/* 8032FF0C 0032CE6C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8032FF10 0032CE70 90 01 00 10 */ stw r0, 0x10(r1) +/* 8032FF14 0032CE74 90 81 00 08 */ stw r4, 8(r1) +/* 8032FF18 0032CE78 48 00 00 08 */ b lbl_8032FF20 +lbl_8032FF1C: +/* 8032FF1C 0032CE7C 38 63 00 04 */ addi r3, r3, 4 +lbl_8032FF20: +/* 8032FF20 0032CE80 7C 03 00 40 */ cmplw r3, r0 +/* 8032FF24 0032CE84 40 82 FF F8 */ bne lbl_8032FF1C +/* 8032FF28 0032CE88 28 04 00 00 */ cmplwi r4, 0 +/* 8032FF2C 0032CE8C 41 82 00 0C */ beq lbl_8032FF38 +/* 8032FF30 0032CE90 7C 83 23 78 */ mr r3, r4 +/* 8032FF34 0032CE94 4B FE 59 FD */ bl Free__7CMemoryFPCv +lbl_8032FF38: +/* 8032FF38 0032CE98 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8032FF3C 0032CE9C 7F E3 FB 78 */ mr r3, r31 +/* 8032FF40 0032CEA0 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8032FF44 0032CEA4 7C 08 03 A6 */ mtlr r0 +/* 8032FF48 0032CEA8 38 21 00 30 */ addi r1, r1, 0x30 +/* 8032FF4C 0032CEAC 4E 80 00 20 */ blr + +.global "__dt__46TObjOwnerDerivedFromIObj<18CSwooshDescription>Fv" +"__dt__46TObjOwnerDerivedFromIObj<18CSwooshDescription>Fv": +/* 8032FF50 0032CEB0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8032FF54 0032CEB4 7C 08 02 A6 */ mflr r0 +/* 8032FF58 0032CEB8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8032FF5C 0032CEBC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8032FF60 0032CEC0 7C 9F 23 78 */ mr r31, r4 +/* 8032FF64 0032CEC4 93 C1 00 08 */ stw r30, 8(r1) +/* 8032FF68 0032CEC8 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8032FF6C 0032CECC 41 82 00 58 */ beq lbl_8032FFC4 +/* 8032FF70 0032CED0 3C 60 80 3F */ lis r3, lbl_803EDDF8@ha +/* 8032FF74 0032CED4 38 03 DD F8 */ addi r0, r3, lbl_803EDDF8@l +/* 8032FF78 0032CED8 90 1E 00 00 */ stw r0, 0(r30) +/* 8032FF7C 0032CEDC 80 7E 00 04 */ lwz r3, 4(r30) +/* 8032FF80 0032CEE0 28 03 00 00 */ cmplwi r3, 0 +/* 8032FF84 0032CEE4 41 82 00 0C */ beq lbl_8032FF90 +/* 8032FF88 0032CEE8 38 80 00 01 */ li r4, 1 +/* 8032FF8C 0032CEEC 48 03 6B 6D */ bl __dt__18CSwooshDescriptionFv +lbl_8032FF90: +/* 8032FF90 0032CEF0 28 1E 00 00 */ cmplwi r30, 0 +/* 8032FF94 0032CEF4 41 82 00 20 */ beq lbl_8032FFB4 +/* 8032FF98 0032CEF8 3C 60 80 3E */ lis r3, lbl_803D8D78@ha +/* 8032FF9C 0032CEFC 38 03 8D 78 */ addi r0, r3, lbl_803D8D78@l +/* 8032FFA0 0032CF00 90 1E 00 00 */ stw r0, 0(r30) +/* 8032FFA4 0032CF04 41 82 00 10 */ beq lbl_8032FFB4 +/* 8032FFA8 0032CF08 3C 60 80 3E */ lis r3, lbl_803D8D6C@ha +/* 8032FFAC 0032CF0C 38 03 8D 6C */ addi r0, r3, lbl_803D8D6C@l +/* 8032FFB0 0032CF10 90 1E 00 00 */ stw r0, 0(r30) +lbl_8032FFB4: +/* 8032FFB4 0032CF14 7F E0 07 35 */ extsh. r0, r31 +/* 8032FFB8 0032CF18 40 81 00 0C */ ble lbl_8032FFC4 +/* 8032FFBC 0032CF1C 7F C3 F3 78 */ mr r3, r30 +/* 8032FFC0 0032CF20 4B FE 59 71 */ bl Free__7CMemoryFPCv +lbl_8032FFC4: +/* 8032FFC4 0032CF24 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8032FFC8 0032CF28 7F C3 F3 78 */ mr r3, r30 +/* 8032FFCC 0032CF2C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8032FFD0 0032CF30 83 C1 00 08 */ lwz r30, 8(r1) +/* 8032FFD4 0032CF34 7C 08 03 A6 */ mtlr r0 +/* 8032FFD8 0032CF38 38 21 00 10 */ addi r1, r1, 0x10 +/* 8032FFDC 0032CF3C 4E 80 00 20 */ blr + +.global FParticleSwooshDataFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer +FParticleSwooshDataFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer: +/* 8032FFE0 0032CF40 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8032FFE4 0032CF44 7C 08 02 A6 */ mflr r0 +/* 8032FFE8 0032CF48 90 01 00 34 */ stw r0, 0x34(r1) +/* 8032FFEC 0032CF4C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8032FFF0 0032CF50 7C 7F 1B 78 */ mr r31, r3 +/* 8032FFF4 0032CF54 7C A3 2B 78 */ mr r3, r5 +/* 8032FFF8 0032CF58 80 C6 00 00 */ lwz r6, 0(r6) +/* 8032FFFC 0032CF5C 90 C1 00 08 */ stw r6, 8(r1) +/* 80330000 0032CF60 80 86 00 04 */ lwz r4, 4(r6) +/* 80330004 0032CF64 38 04 00 01 */ addi r0, r4, 1 +/* 80330008 0032CF68 90 06 00 04 */ stw r0, 4(r6) +/* 8033000C 0032CF6C 80 81 00 08 */ lwz r4, 8(r1) +/* 80330010 0032CF70 80 84 00 00 */ lwz r4, 0(r4) +/* 80330014 0032CF74 80 84 00 04 */ lwz r4, 4(r4) +/* 80330018 0032CF78 4B FF FE B5 */ bl GetGeneratorDesc__26CParticleSwooshDataFactoryFR12CInputStreamP11CSimplePool +/* 8033001C 0032CF7C 7C 03 00 D0 */ neg r0, r3 +/* 80330020 0032CF80 90 61 00 10 */ stw r3, 0x10(r1) +/* 80330024 0032CF84 7C 00 1B 78 */ or r0, r0, r3 +/* 80330028 0032CF88 38 61 00 14 */ addi r3, r1, 0x14 +/* 8033002C 0032CF8C 54 00 0F FE */ srwi r0, r0, 0x1f +/* 80330030 0032CF90 38 81 00 0C */ addi r4, r1, 0xc +/* 80330034 0032CF94 98 01 00 0C */ stb r0, 0xc(r1) +/* 80330038 0032CF98 48 00 00 85 */ bl "GetIObjObjectFor__28TToken<18CSwooshDescription>FRCQ24rstl30auto_ptr<18CSwooshDescription>" +/* 8033003C 0032CF9C 80 61 00 18 */ lwz r3, 0x18(r1) +/* 80330040 0032CFA0 38 00 00 00 */ li r0, 0 +/* 80330044 0032CFA4 98 01 00 14 */ stb r0, 0x14(r1) +/* 80330048 0032CFA8 7C 03 00 D0 */ neg r0, r3 +/* 8033004C 0032CFAC 7C 00 1B 78 */ or r0, r0, r3 +/* 80330050 0032CFB0 54 00 0F FE */ srwi r0, r0, 0x1f +/* 80330054 0032CFB4 98 1F 00 00 */ stb r0, 0(r31) +/* 80330058 0032CFB8 90 7F 00 04 */ stw r3, 4(r31) +/* 8033005C 0032CFBC 88 01 00 14 */ lbz r0, 0x14(r1) +/* 80330060 0032CFC0 28 00 00 00 */ cmplwi r0, 0 +/* 80330064 0032CFC4 41 82 00 24 */ beq lbl_80330088 +/* 80330068 0032CFC8 80 61 00 18 */ lwz r3, 0x18(r1) +/* 8033006C 0032CFCC 28 03 00 00 */ cmplwi r3, 0 +/* 80330070 0032CFD0 41 82 00 18 */ beq lbl_80330088 +/* 80330074 0032CFD4 81 83 00 00 */ lwz r12, 0(r3) +/* 80330078 0032CFD8 38 80 00 01 */ li r4, 1 +/* 8033007C 0032CFDC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80330080 0032CFE0 7D 89 03 A6 */ mtctr r12 +/* 80330084 0032CFE4 4E 80 04 21 */ bctrl +lbl_80330088: +/* 80330088 0032CFE8 88 01 00 0C */ lbz r0, 0xc(r1) +/* 8033008C 0032CFEC 28 00 00 00 */ cmplwi r0, 0 +/* 80330090 0032CFF0 41 82 00 10 */ beq lbl_803300A0 +/* 80330094 0032CFF4 80 61 00 10 */ lwz r3, 0x10(r1) +/* 80330098 0032CFF8 38 80 00 01 */ li r4, 1 +/* 8033009C 0032CFFC 48 03 6A 5D */ bl __dt__18CSwooshDescriptionFv +lbl_803300A0: +/* 803300A0 0032D000 38 61 00 08 */ addi r3, r1, 8 +/* 803300A4 0032D004 4B D0 42 61 */ bl sub_80034304 +/* 803300A8 0032D008 80 01 00 34 */ lwz r0, 0x34(r1) +/* 803300AC 0032D00C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 803300B0 0032D010 7C 08 03 A6 */ mtlr r0 +/* 803300B4 0032D014 38 21 00 30 */ addi r1, r1, 0x30 +/* 803300B8 0032D018 4E 80 00 20 */ blr + +.global "GetIObjObjectFor__28TToken<18CSwooshDescription>FRCQ24rstl30auto_ptr<18CSwooshDescription>" +"GetIObjObjectFor__28TToken<18CSwooshDescription>FRCQ24rstl30auto_ptr<18CSwooshDescription>": +/* 803300BC 0032D01C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803300C0 0032D020 7C 08 02 A6 */ mflr r0 +/* 803300C4 0032D024 90 01 00 14 */ stw r0, 0x14(r1) +/* 803300C8 0032D028 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803300CC 0032D02C 7C 7F 1B 78 */ mr r31, r3 +/* 803300D0 0032D030 48 00 00 19 */ bl sub_803300e8 +/* 803300D4 0032D034 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803300D8 0032D038 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803300DC 0032D03C 7C 08 03 A6 */ mtlr r0 +/* 803300E0 0032D040 38 21 00 10 */ addi r1, r1, 0x10 +/* 803300E4 0032D044 4E 80 00 20 */ blr + +.global sub_803300e8 +sub_803300e8: +/* 803300E8 0032D048 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803300EC 0032D04C 7C 08 02 A6 */ mflr r0 +/* 803300F0 0032D050 3C A0 80 3D */ lis r5, lbl_803D7970@ha +/* 803300F4 0032D054 90 01 00 14 */ stw r0, 0x14(r1) +/* 803300F8 0032D058 38 05 79 70 */ addi r0, r5, lbl_803D7970@l +/* 803300FC 0032D05C 38 A0 00 00 */ li r5, 0 +/* 80330100 0032D060 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80330104 0032D064 7C 9F 23 78 */ mr r31, r4 +/* 80330108 0032D068 7C 04 03 78 */ mr r4, r0 +/* 8033010C 0032D06C 93 C1 00 08 */ stw r30, 8(r1) +/* 80330110 0032D070 7C 7E 1B 78 */ mr r30, r3 +/* 80330114 0032D074 38 60 00 08 */ li r3, 8 +/* 80330118 0032D078 4B FE 57 55 */ bl __nw__FUlPCcPCc +/* 8033011C 0032D07C 28 03 00 00 */ cmplwi r3, 0 +/* 80330120 0032D080 41 82 00 38 */ beq lbl_80330158 +/* 80330124 0032D084 3C 80 80 3E */ lis r4, lbl_803D8D6C@ha +/* 80330128 0032D088 3C A0 80 3E */ lis r5, lbl_803D8D78@ha +/* 8033012C 0032D08C 38 04 8D 6C */ addi r0, r4, lbl_803D8D6C@l +/* 80330130 0032D090 3C 80 80 3F */ lis r4, lbl_803EDDF8@ha +/* 80330134 0032D094 90 03 00 00 */ stw r0, 0(r3) +/* 80330138 0032D098 38 C5 8D 78 */ addi r6, r5, lbl_803D8D78@l +/* 8033013C 0032D09C 38 A0 00 00 */ li r5, 0 +/* 80330140 0032D0A0 38 04 DD F8 */ addi r0, r4, lbl_803EDDF8@l +/* 80330144 0032D0A4 90 C3 00 00 */ stw r6, 0(r3) +/* 80330148 0032D0A8 98 BF 00 00 */ stb r5, 0(r31) +/* 8033014C 0032D0AC 80 9F 00 04 */ lwz r4, 4(r31) +/* 80330150 0032D0B0 90 83 00 04 */ stw r4, 4(r3) +/* 80330154 0032D0B4 90 03 00 00 */ stw r0, 0(r3) +lbl_80330158: +/* 80330158 0032D0B8 7C 03 00 D0 */ neg r0, r3 +/* 8033015C 0032D0BC 7C 00 1B 78 */ or r0, r0, r3 +/* 80330160 0032D0C0 54 00 0F FE */ srwi r0, r0, 0x1f +/* 80330164 0032D0C4 98 1E 00 00 */ stb r0, 0(r30) +/* 80330168 0032D0C8 90 7E 00 04 */ stw r3, 4(r30) +/* 8033016C 0032D0CC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80330170 0032D0D0 83 C1 00 08 */ lwz r30, 8(r1) +/* 80330174 0032D0D4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80330178 0032D0D8 7C 08 03 A6 */ mtlr r0 +/* 8033017C 0032D0DC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80330180 0032D0E0 4E 80 00 20 */ blr diff --git a/asm/Kyoto/Particles/CRealElement.s b/asm/Kyoto/Particles/CRealElement.s new file mode 100644 index 00000000..63e9bf70 --- /dev/null +++ b/asm/Kyoto/Particles/CRealElement.s @@ -0,0 +1,3755 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global GetValue__15CREIntTimesRealCFiRf +GetValue__15CREIntTimesRealCFiRf: +/* 80330184 0032D0E4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80330188 0032D0E8 7C 08 02 A6 */ mflr r0 +/* 8033018C 0032D0EC C0 02 CB 18 */ lfs f0, lbl_805AE838@sda21(r2) +/* 80330190 0032D0F0 90 01 00 34 */ stw r0, 0x34(r1) +/* 80330194 0032D0F4 38 00 00 00 */ li r0, 0 +/* 80330198 0032D0F8 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8033019C 0032D0FC 7C BF 2B 78 */ mr r31, r5 +/* 803301A0 0032D100 38 A1 00 08 */ addi r5, r1, 8 +/* 803301A4 0032D104 93 C1 00 28 */ stw r30, 0x28(r1) +/* 803301A8 0032D108 7C 9E 23 78 */ mr r30, r4 +/* 803301AC 0032D10C 93 A1 00 24 */ stw r29, 0x24(r1) +/* 803301B0 0032D110 7C 7D 1B 78 */ mr r29, r3 +/* 803301B4 0032D114 90 01 00 0C */ stw r0, 0xc(r1) +/* 803301B8 0032D118 80 63 00 08 */ lwz r3, 8(r3) +/* 803301BC 0032D11C D0 01 00 08 */ stfs f0, 8(r1) +/* 803301C0 0032D120 81 83 00 00 */ lwz r12, 0(r3) +/* 803301C4 0032D124 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803301C8 0032D128 7D 89 03 A6 */ mtctr r12 +/* 803301CC 0032D12C 4E 80 04 21 */ bctrl +/* 803301D0 0032D130 80 7D 00 04 */ lwz r3, 4(r29) +/* 803301D4 0032D134 7F C4 F3 78 */ mr r4, r30 +/* 803301D8 0032D138 38 A1 00 0C */ addi r5, r1, 0xc +/* 803301DC 0032D13C 81 83 00 00 */ lwz r12, 0(r3) +/* 803301E0 0032D140 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803301E4 0032D144 7D 89 03 A6 */ mtctr r12 +/* 803301E8 0032D148 4E 80 04 21 */ bctrl +/* 803301EC 0032D14C 80 81 00 0C */ lwz r4, 0xc(r1) +/* 803301F0 0032D150 3C 00 43 30 */ lis r0, 0x4330 +/* 803301F4 0032D154 90 01 00 10 */ stw r0, 0x10(r1) +/* 803301F8 0032D158 38 60 00 00 */ li r3, 0 +/* 803301FC 0032D15C 6C 80 80 00 */ xoris r0, r4, 0x8000 +/* 80330200 0032D160 C8 22 CB 20 */ lfd f1, lbl_805AE840@sda21(r2) +/* 80330204 0032D164 90 01 00 14 */ stw r0, 0x14(r1) +/* 80330208 0032D168 C0 41 00 08 */ lfs f2, 8(r1) +/* 8033020C 0032D16C C8 01 00 10 */ lfd f0, 0x10(r1) +/* 80330210 0032D170 EC 00 08 28 */ fsubs f0, f0, f1 +/* 80330214 0032D174 EC 02 00 32 */ fmuls f0, f2, f0 +/* 80330218 0032D178 D0 1F 00 00 */ stfs f0, 0(r31) +/* 8033021C 0032D17C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80330220 0032D180 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80330224 0032D184 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80330228 0032D188 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8033022C 0032D18C 7C 08 03 A6 */ mtlr r0 +/* 80330230 0032D190 38 21 00 30 */ addi r1, r1, 0x30 +/* 80330234 0032D194 4E 80 00 20 */ blr + +.global __dt__15CREIntTimesReal +__dt__15CREIntTimesReal: +/* 80330238 0032D198 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033023C 0032D19C 7C 08 02 A6 */ mflr r0 +/* 80330240 0032D1A0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80330244 0032D1A4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80330248 0032D1A8 7C 9F 23 78 */ mr r31, r4 +/* 8033024C 0032D1AC 93 C1 00 08 */ stw r30, 8(r1) +/* 80330250 0032D1B0 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80330254 0032D1B4 41 82 00 88 */ beq lbl_803302DC +/* 80330258 0032D1B8 3C 60 80 3F */ lis r3, lbl_803EDE08@ha +/* 8033025C 0032D1BC 38 03 DE 08 */ addi r0, r3, lbl_803EDE08@l +/* 80330260 0032D1C0 90 1E 00 00 */ stw r0, 0(r30) +/* 80330264 0032D1C4 80 7E 00 04 */ lwz r3, 4(r30) +/* 80330268 0032D1C8 28 03 00 00 */ cmplwi r3, 0 +/* 8033026C 0032D1CC 41 82 00 18 */ beq lbl_80330284 +/* 80330270 0032D1D0 81 83 00 00 */ lwz r12, 0(r3) +/* 80330274 0032D1D4 38 80 00 01 */ li r4, 1 +/* 80330278 0032D1D8 81 8C 00 08 */ lwz r12, 8(r12) +/* 8033027C 0032D1DC 7D 89 03 A6 */ mtctr r12 +/* 80330280 0032D1E0 4E 80 04 21 */ bctrl +lbl_80330284: +/* 80330284 0032D1E4 80 7E 00 08 */ lwz r3, 8(r30) +/* 80330288 0032D1E8 28 03 00 00 */ cmplwi r3, 0 +/* 8033028C 0032D1EC 41 82 00 18 */ beq lbl_803302A4 +/* 80330290 0032D1F0 81 83 00 00 */ lwz r12, 0(r3) +/* 80330294 0032D1F4 38 80 00 01 */ li r4, 1 +/* 80330298 0032D1F8 81 8C 00 08 */ lwz r12, 8(r12) +/* 8033029C 0032D1FC 7D 89 03 A6 */ mtctr r12 +/* 803302A0 0032D200 4E 80 04 21 */ bctrl +lbl_803302A4: +/* 803302A4 0032D204 28 1E 00 00 */ cmplwi r30, 0 +/* 803302A8 0032D208 41 82 00 20 */ beq lbl_803302C8 +/* 803302AC 0032D20C 3C 60 80 3F */ lis r3, lbl_803EC554@ha +/* 803302B0 0032D210 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l +/* 803302B4 0032D214 90 1E 00 00 */ stw r0, 0(r30) +/* 803302B8 0032D218 41 82 00 10 */ beq lbl_803302C8 +/* 803302BC 0032D21C 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 803302C0 0032D220 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 803302C4 0032D224 90 1E 00 00 */ stw r0, 0(r30) +lbl_803302C8: +/* 803302C8 0032D228 7F E0 07 35 */ extsh. r0, r31 +/* 803302CC 0032D22C 40 81 00 10 */ ble lbl_803302DC +/* 803302D0 0032D230 7F C3 F3 78 */ mr r3, r30 +/* 803302D4 0032D234 38 80 00 0C */ li r4, 0xc +/* 803302D8 0032D238 48 03 C7 8D */ bl sub_8036ca64 +lbl_803302DC: +/* 803302DC 0032D23C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803302E0 0032D240 7F C3 F3 78 */ mr r3, r30 +/* 803302E4 0032D244 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803302E8 0032D248 83 C1 00 08 */ lwz r30, 8(r1) +/* 803302EC 0032D24C 7C 08 03 A6 */ mtlr r0 +/* 803302F0 0032D250 38 21 00 10 */ addi r1, r1, 0x10 +/* 803302F4 0032D254 4E 80 00 20 */ blr + +.global __ct__15CREIntTimesRealFP12CRealElementP11CIntElement +__ct__15CREIntTimesRealFP12CRealElementP11CIntElement: +/* 803302F8 0032D258 3D 00 80 3F */ lis r8, lbl_803EC5A8@ha +/* 803302FC 0032D25C 3C E0 80 3F */ lis r7, lbl_803EC554@ha +/* 80330300 0032D260 38 08 C5 A8 */ addi r0, r8, lbl_803EC5A8@l +/* 80330304 0032D264 3C C0 80 3F */ lis r6, lbl_803EDE08@ha +/* 80330308 0032D268 90 03 00 00 */ stw r0, 0(r3) +/* 8033030C 0032D26C 38 E7 C5 54 */ addi r7, r7, lbl_803EC554@l +/* 80330310 0032D270 38 06 DE 08 */ addi r0, r6, lbl_803EDE08@l +/* 80330314 0032D274 90 E3 00 00 */ stw r7, 0(r3) +/* 80330318 0032D278 90 03 00 00 */ stw r0, 0(r3) +/* 8033031C 0032D27C 90 83 00 04 */ stw r4, 4(r3) +/* 80330320 0032D280 90 A3 00 08 */ stw r5, 8(r3) +/* 80330324 0032D284 4E 80 00 20 */ blr + +.global GetValue__20CREGetComponentAlphaCFiRf +GetValue__20CREGetComponentAlphaCFiRf: +/* 80330328 0032D288 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033032C 0032D28C 7C 08 02 A6 */ mflr r0 +/* 80330330 0032D290 90 01 00 24 */ stw r0, 0x24(r1) +/* 80330334 0032D294 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80330338 0032D298 7C BF 2B 78 */ mr r31, r5 +/* 8033033C 0032D29C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80330340 0032D2A0 7C 9E 23 78 */ mr r30, r4 +/* 80330344 0032D2A4 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80330348 0032D2A8 7C 7D 1B 78 */ mr r29, r3 +/* 8033034C 0032D2AC 48 01 9C 69 */ bl Black__6CColorFv +/* 80330350 0032D2B0 80 03 00 00 */ lwz r0, 0(r3) +/* 80330354 0032D2B4 7F C4 F3 78 */ mr r4, r30 +/* 80330358 0032D2B8 80 7D 00 04 */ lwz r3, 4(r29) +/* 8033035C 0032D2BC 38 A1 00 08 */ addi r5, r1, 8 +/* 80330360 0032D2C0 90 01 00 08 */ stw r0, 8(r1) +/* 80330364 0032D2C4 81 83 00 00 */ lwz r12, 0(r3) +/* 80330368 0032D2C8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8033036C 0032D2CC 7D 89 03 A6 */ mtctr r12 +/* 80330370 0032D2D0 4E 80 04 21 */ bctrl +/* 80330374 0032D2D4 E0 21 A0 0B */ psq_l f1, 11(r1), 1, qr2 +/* 80330378 0032D2D8 38 60 00 00 */ li r3, 0 +/* 8033037C 0032D2DC C0 02 CB 28 */ lfs f0, lbl_805AE848@sda21(r2) +/* 80330380 0032D2E0 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80330384 0032D2E4 D0 1F 00 00 */ stfs f0, 0(r31) +/* 80330388 0032D2E8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8033038C 0032D2EC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80330390 0032D2F0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80330394 0032D2F4 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80330398 0032D2F8 7C 08 03 A6 */ mtlr r0 +/* 8033039C 0032D2FC 38 21 00 20 */ addi r1, r1, 0x20 +/* 803303A0 0032D300 4E 80 00 20 */ blr + +.global __dt__20CREGetComponentAlpha +__dt__20CREGetComponentAlpha: +/* 803303A4 0032D304 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803303A8 0032D308 7C 08 02 A6 */ mflr r0 +/* 803303AC 0032D30C 90 01 00 14 */ stw r0, 0x14(r1) +/* 803303B0 0032D310 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803303B4 0032D314 7C 9F 23 78 */ mr r31, r4 +/* 803303B8 0032D318 93 C1 00 08 */ stw r30, 8(r1) +/* 803303BC 0032D31C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 803303C0 0032D320 41 82 00 68 */ beq lbl_80330428 +/* 803303C4 0032D324 3C 60 80 3F */ lis r3, lbl_803EDE1C@ha +/* 803303C8 0032D328 38 03 DE 1C */ addi r0, r3, lbl_803EDE1C@l +/* 803303CC 0032D32C 90 1E 00 00 */ stw r0, 0(r30) +/* 803303D0 0032D330 80 7E 00 04 */ lwz r3, 4(r30) +/* 803303D4 0032D334 28 03 00 00 */ cmplwi r3, 0 +/* 803303D8 0032D338 41 82 00 18 */ beq lbl_803303F0 +/* 803303DC 0032D33C 81 83 00 00 */ lwz r12, 0(r3) +/* 803303E0 0032D340 38 80 00 01 */ li r4, 1 +/* 803303E4 0032D344 81 8C 00 08 */ lwz r12, 8(r12) +/* 803303E8 0032D348 7D 89 03 A6 */ mtctr r12 +/* 803303EC 0032D34C 4E 80 04 21 */ bctrl +lbl_803303F0: +/* 803303F0 0032D350 28 1E 00 00 */ cmplwi r30, 0 +/* 803303F4 0032D354 41 82 00 20 */ beq lbl_80330414 +/* 803303F8 0032D358 3C 60 80 3F */ lis r3, lbl_803EC554@ha +/* 803303FC 0032D35C 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l +/* 80330400 0032D360 90 1E 00 00 */ stw r0, 0(r30) +/* 80330404 0032D364 41 82 00 10 */ beq lbl_80330414 +/* 80330408 0032D368 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 8033040C 0032D36C 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80330410 0032D370 90 1E 00 00 */ stw r0, 0(r30) +lbl_80330414: +/* 80330414 0032D374 7F E0 07 35 */ extsh. r0, r31 +/* 80330418 0032D378 40 81 00 10 */ ble lbl_80330428 +/* 8033041C 0032D37C 7F C3 F3 78 */ mr r3, r30 +/* 80330420 0032D380 38 80 00 08 */ li r4, 8 +/* 80330424 0032D384 48 03 C6 41 */ bl sub_8036ca64 +lbl_80330428: +/* 80330428 0032D388 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033042C 0032D38C 7F C3 F3 78 */ mr r3, r30 +/* 80330430 0032D390 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80330434 0032D394 83 C1 00 08 */ lwz r30, 8(r1) +/* 80330438 0032D398 7C 08 03 A6 */ mtlr r0 +/* 8033043C 0032D39C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80330440 0032D3A0 4E 80 00 20 */ blr + +.global __ct__20CREGetComponentAlphaFP13CColorElement +__ct__20CREGetComponentAlphaFP13CColorElement: +/* 80330444 0032D3A4 3C E0 80 3F */ lis r7, lbl_803EC5A8@ha +/* 80330448 0032D3A8 3C C0 80 3F */ lis r6, lbl_803EC554@ha +/* 8033044C 0032D3AC 38 07 C5 A8 */ addi r0, r7, lbl_803EC5A8@l +/* 80330450 0032D3B0 3C A0 80 3F */ lis r5, lbl_803EDE1C@ha +/* 80330454 0032D3B4 90 03 00 00 */ stw r0, 0(r3) +/* 80330458 0032D3B8 38 C6 C5 54 */ addi r6, r6, lbl_803EC554@l +/* 8033045C 0032D3BC 38 05 DE 1C */ addi r0, r5, lbl_803EDE1C@l +/* 80330460 0032D3C0 90 C3 00 00 */ stw r6, 0(r3) +/* 80330464 0032D3C4 90 03 00 00 */ stw r0, 0(r3) +/* 80330468 0032D3C8 90 83 00 04 */ stw r4, 4(r3) +/* 8033046C 0032D3CC 4E 80 00 20 */ blr + +.global GetValue__19CREGetComponentBlueCFiRf +GetValue__19CREGetComponentBlueCFiRf: +/* 80330470 0032D3D0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80330474 0032D3D4 7C 08 02 A6 */ mflr r0 +/* 80330478 0032D3D8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033047C 0032D3DC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80330480 0032D3E0 7C BF 2B 78 */ mr r31, r5 +/* 80330484 0032D3E4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80330488 0032D3E8 7C 9E 23 78 */ mr r30, r4 +/* 8033048C 0032D3EC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80330490 0032D3F0 7C 7D 1B 78 */ mr r29, r3 +/* 80330494 0032D3F4 48 01 9B 21 */ bl Black__6CColorFv +/* 80330498 0032D3F8 80 03 00 00 */ lwz r0, 0(r3) +/* 8033049C 0032D3FC 7F C4 F3 78 */ mr r4, r30 +/* 803304A0 0032D400 80 7D 00 04 */ lwz r3, 4(r29) +/* 803304A4 0032D404 38 A1 00 08 */ addi r5, r1, 8 +/* 803304A8 0032D408 90 01 00 08 */ stw r0, 8(r1) +/* 803304AC 0032D40C 81 83 00 00 */ lwz r12, 0(r3) +/* 803304B0 0032D410 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803304B4 0032D414 7D 89 03 A6 */ mtctr r12 +/* 803304B8 0032D418 4E 80 04 21 */ bctrl +/* 803304BC 0032D41C E0 21 A0 0A */ psq_l f1, 10(r1), 1, qr2 +/* 803304C0 0032D420 38 60 00 00 */ li r3, 0 +/* 803304C4 0032D424 C0 02 CB 28 */ lfs f0, lbl_805AE848@sda21(r2) +/* 803304C8 0032D428 EC 00 00 72 */ fmuls f0, f0, f1 +/* 803304CC 0032D42C D0 1F 00 00 */ stfs f0, 0(r31) +/* 803304D0 0032D430 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803304D4 0032D434 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803304D8 0032D438 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 803304DC 0032D43C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 803304E0 0032D440 7C 08 03 A6 */ mtlr r0 +/* 803304E4 0032D444 38 21 00 20 */ addi r1, r1, 0x20 +/* 803304E8 0032D448 4E 80 00 20 */ blr + +.global __dt__19CREGetComponentBlue +__dt__19CREGetComponentBlue: +/* 803304EC 0032D44C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803304F0 0032D450 7C 08 02 A6 */ mflr r0 +/* 803304F4 0032D454 90 01 00 14 */ stw r0, 0x14(r1) +/* 803304F8 0032D458 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803304FC 0032D45C 7C 9F 23 78 */ mr r31, r4 +/* 80330500 0032D460 93 C1 00 08 */ stw r30, 8(r1) +/* 80330504 0032D464 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80330508 0032D468 41 82 00 68 */ beq lbl_80330570 +/* 8033050C 0032D46C 3C 60 80 3F */ lis r3, lbl_803EDE30@ha +/* 80330510 0032D470 38 03 DE 30 */ addi r0, r3, lbl_803EDE30@l +/* 80330514 0032D474 90 1E 00 00 */ stw r0, 0(r30) +/* 80330518 0032D478 80 7E 00 04 */ lwz r3, 4(r30) +/* 8033051C 0032D47C 28 03 00 00 */ cmplwi r3, 0 +/* 80330520 0032D480 41 82 00 18 */ beq lbl_80330538 +/* 80330524 0032D484 81 83 00 00 */ lwz r12, 0(r3) +/* 80330528 0032D488 38 80 00 01 */ li r4, 1 +/* 8033052C 0032D48C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80330530 0032D490 7D 89 03 A6 */ mtctr r12 +/* 80330534 0032D494 4E 80 04 21 */ bctrl +lbl_80330538: +/* 80330538 0032D498 28 1E 00 00 */ cmplwi r30, 0 +/* 8033053C 0032D49C 41 82 00 20 */ beq lbl_8033055C +/* 80330540 0032D4A0 3C 60 80 3F */ lis r3, lbl_803EC554@ha +/* 80330544 0032D4A4 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l +/* 80330548 0032D4A8 90 1E 00 00 */ stw r0, 0(r30) +/* 8033054C 0032D4AC 41 82 00 10 */ beq lbl_8033055C +/* 80330550 0032D4B0 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80330554 0032D4B4 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80330558 0032D4B8 90 1E 00 00 */ stw r0, 0(r30) +lbl_8033055C: +/* 8033055C 0032D4BC 7F E0 07 35 */ extsh. r0, r31 +/* 80330560 0032D4C0 40 81 00 10 */ ble lbl_80330570 +/* 80330564 0032D4C4 7F C3 F3 78 */ mr r3, r30 +/* 80330568 0032D4C8 38 80 00 08 */ li r4, 8 +/* 8033056C 0032D4CC 48 03 C4 F9 */ bl sub_8036ca64 +lbl_80330570: +/* 80330570 0032D4D0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80330574 0032D4D4 7F C3 F3 78 */ mr r3, r30 +/* 80330578 0032D4D8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033057C 0032D4DC 83 C1 00 08 */ lwz r30, 8(r1) +/* 80330580 0032D4E0 7C 08 03 A6 */ mtlr r0 +/* 80330584 0032D4E4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80330588 0032D4E8 4E 80 00 20 */ blr + +.global __ct__19CREGetComponentBlueFP13CColorElement +__ct__19CREGetComponentBlueFP13CColorElement: +/* 8033058C 0032D4EC 3C E0 80 3F */ lis r7, lbl_803EC5A8@ha +/* 80330590 0032D4F0 3C C0 80 3F */ lis r6, lbl_803EC554@ha +/* 80330594 0032D4F4 38 07 C5 A8 */ addi r0, r7, lbl_803EC5A8@l +/* 80330598 0032D4F8 3C A0 80 3F */ lis r5, lbl_803EDE30@ha +/* 8033059C 0032D4FC 90 03 00 00 */ stw r0, 0(r3) +/* 803305A0 0032D500 38 C6 C5 54 */ addi r6, r6, lbl_803EC554@l +/* 803305A4 0032D504 38 05 DE 30 */ addi r0, r5, lbl_803EDE30@l +/* 803305A8 0032D508 90 C3 00 00 */ stw r6, 0(r3) +/* 803305AC 0032D50C 90 03 00 00 */ stw r0, 0(r3) +/* 803305B0 0032D510 90 83 00 04 */ stw r4, 4(r3) +/* 803305B4 0032D514 4E 80 00 20 */ blr + +.global GetValue__20CREGetComponentGreenCFiRf +GetValue__20CREGetComponentGreenCFiRf: +/* 803305B8 0032D518 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803305BC 0032D51C 7C 08 02 A6 */ mflr r0 +/* 803305C0 0032D520 90 01 00 24 */ stw r0, 0x24(r1) +/* 803305C4 0032D524 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 803305C8 0032D528 7C BF 2B 78 */ mr r31, r5 +/* 803305CC 0032D52C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 803305D0 0032D530 7C 9E 23 78 */ mr r30, r4 +/* 803305D4 0032D534 93 A1 00 14 */ stw r29, 0x14(r1) +/* 803305D8 0032D538 7C 7D 1B 78 */ mr r29, r3 +/* 803305DC 0032D53C 48 01 99 D9 */ bl Black__6CColorFv +/* 803305E0 0032D540 80 03 00 00 */ lwz r0, 0(r3) +/* 803305E4 0032D544 7F C4 F3 78 */ mr r4, r30 +/* 803305E8 0032D548 80 7D 00 04 */ lwz r3, 4(r29) +/* 803305EC 0032D54C 38 A1 00 08 */ addi r5, r1, 8 +/* 803305F0 0032D550 90 01 00 08 */ stw r0, 8(r1) +/* 803305F4 0032D554 81 83 00 00 */ lwz r12, 0(r3) +/* 803305F8 0032D558 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803305FC 0032D55C 7D 89 03 A6 */ mtctr r12 +/* 80330600 0032D560 4E 80 04 21 */ bctrl +/* 80330604 0032D564 E0 21 A0 09 */ psq_l f1, 9(r1), 1, qr2 +/* 80330608 0032D568 38 60 00 00 */ li r3, 0 +/* 8033060C 0032D56C C0 02 CB 28 */ lfs f0, lbl_805AE848@sda21(r2) +/* 80330610 0032D570 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80330614 0032D574 D0 1F 00 00 */ stfs f0, 0(r31) +/* 80330618 0032D578 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8033061C 0032D57C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80330620 0032D580 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80330624 0032D584 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80330628 0032D588 7C 08 03 A6 */ mtlr r0 +/* 8033062C 0032D58C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80330630 0032D590 4E 80 00 20 */ blr + +.global __dt__20CREGetComponentGreen +__dt__20CREGetComponentGreen: +/* 80330634 0032D594 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80330638 0032D598 7C 08 02 A6 */ mflr r0 +/* 8033063C 0032D59C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80330640 0032D5A0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80330644 0032D5A4 7C 9F 23 78 */ mr r31, r4 +/* 80330648 0032D5A8 93 C1 00 08 */ stw r30, 8(r1) +/* 8033064C 0032D5AC 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80330650 0032D5B0 41 82 00 68 */ beq lbl_803306B8 +/* 80330654 0032D5B4 3C 60 80 3F */ lis r3, lbl_803EDE44@ha +/* 80330658 0032D5B8 38 03 DE 44 */ addi r0, r3, lbl_803EDE44@l +/* 8033065C 0032D5BC 90 1E 00 00 */ stw r0, 0(r30) +/* 80330660 0032D5C0 80 7E 00 04 */ lwz r3, 4(r30) +/* 80330664 0032D5C4 28 03 00 00 */ cmplwi r3, 0 +/* 80330668 0032D5C8 41 82 00 18 */ beq lbl_80330680 +/* 8033066C 0032D5CC 81 83 00 00 */ lwz r12, 0(r3) +/* 80330670 0032D5D0 38 80 00 01 */ li r4, 1 +/* 80330674 0032D5D4 81 8C 00 08 */ lwz r12, 8(r12) +/* 80330678 0032D5D8 7D 89 03 A6 */ mtctr r12 +/* 8033067C 0032D5DC 4E 80 04 21 */ bctrl +lbl_80330680: +/* 80330680 0032D5E0 28 1E 00 00 */ cmplwi r30, 0 +/* 80330684 0032D5E4 41 82 00 20 */ beq lbl_803306A4 +/* 80330688 0032D5E8 3C 60 80 3F */ lis r3, lbl_803EC554@ha +/* 8033068C 0032D5EC 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l +/* 80330690 0032D5F0 90 1E 00 00 */ stw r0, 0(r30) +/* 80330694 0032D5F4 41 82 00 10 */ beq lbl_803306A4 +/* 80330698 0032D5F8 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 8033069C 0032D5FC 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 803306A0 0032D600 90 1E 00 00 */ stw r0, 0(r30) +lbl_803306A4: +/* 803306A4 0032D604 7F E0 07 35 */ extsh. r0, r31 +/* 803306A8 0032D608 40 81 00 10 */ ble lbl_803306B8 +/* 803306AC 0032D60C 7F C3 F3 78 */ mr r3, r30 +/* 803306B0 0032D610 38 80 00 08 */ li r4, 8 +/* 803306B4 0032D614 48 03 C3 B1 */ bl sub_8036ca64 +lbl_803306B8: +/* 803306B8 0032D618 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803306BC 0032D61C 7F C3 F3 78 */ mr r3, r30 +/* 803306C0 0032D620 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803306C4 0032D624 83 C1 00 08 */ lwz r30, 8(r1) +/* 803306C8 0032D628 7C 08 03 A6 */ mtlr r0 +/* 803306CC 0032D62C 38 21 00 10 */ addi r1, r1, 0x10 +/* 803306D0 0032D630 4E 80 00 20 */ blr + +.global __ct__20CREGetComponentGreenFP13CColorElement +__ct__20CREGetComponentGreenFP13CColorElement: +/* 803306D4 0032D634 3C E0 80 3F */ lis r7, lbl_803EC5A8@ha +/* 803306D8 0032D638 3C C0 80 3F */ lis r6, lbl_803EC554@ha +/* 803306DC 0032D63C 38 07 C5 A8 */ addi r0, r7, lbl_803EC5A8@l +/* 803306E0 0032D640 3C A0 80 3F */ lis r5, lbl_803EDE44@ha +/* 803306E4 0032D644 90 03 00 00 */ stw r0, 0(r3) +/* 803306E8 0032D648 38 C6 C5 54 */ addi r6, r6, lbl_803EC554@l +/* 803306EC 0032D64C 38 05 DE 44 */ addi r0, r5, lbl_803EDE44@l +/* 803306F0 0032D650 90 C3 00 00 */ stw r6, 0(r3) +/* 803306F4 0032D654 90 03 00 00 */ stw r0, 0(r3) +/* 803306F8 0032D658 90 83 00 04 */ stw r4, 4(r3) +/* 803306FC 0032D65C 4E 80 00 20 */ blr + +.global GetValue__18CREGetComponentRedCFiRf +GetValue__18CREGetComponentRedCFiRf: +/* 80330700 0032D660 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80330704 0032D664 7C 08 02 A6 */ mflr r0 +/* 80330708 0032D668 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033070C 0032D66C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80330710 0032D670 7C BF 2B 78 */ mr r31, r5 +/* 80330714 0032D674 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80330718 0032D678 7C 9E 23 78 */ mr r30, r4 +/* 8033071C 0032D67C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80330720 0032D680 7C 7D 1B 78 */ mr r29, r3 +/* 80330724 0032D684 48 01 98 91 */ bl Black__6CColorFv +/* 80330728 0032D688 80 03 00 00 */ lwz r0, 0(r3) +/* 8033072C 0032D68C 7F C4 F3 78 */ mr r4, r30 +/* 80330730 0032D690 80 7D 00 04 */ lwz r3, 4(r29) +/* 80330734 0032D694 38 A1 00 08 */ addi r5, r1, 8 +/* 80330738 0032D698 90 01 00 08 */ stw r0, 8(r1) +/* 8033073C 0032D69C 81 83 00 00 */ lwz r12, 0(r3) +/* 80330740 0032D6A0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80330744 0032D6A4 7D 89 03 A6 */ mtctr r12 +/* 80330748 0032D6A8 4E 80 04 21 */ bctrl +/* 8033074C 0032D6AC E0 21 A0 08 */ psq_l f1, 8(r1), 1, qr2 +/* 80330750 0032D6B0 38 60 00 00 */ li r3, 0 +/* 80330754 0032D6B4 C0 02 CB 28 */ lfs f0, lbl_805AE848@sda21(r2) +/* 80330758 0032D6B8 EC 00 00 72 */ fmuls f0, f0, f1 +/* 8033075C 0032D6BC D0 1F 00 00 */ stfs f0, 0(r31) +/* 80330760 0032D6C0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80330764 0032D6C4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80330768 0032D6C8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8033076C 0032D6CC 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80330770 0032D6D0 7C 08 03 A6 */ mtlr r0 +/* 80330774 0032D6D4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80330778 0032D6D8 4E 80 00 20 */ blr + +.global __dt__18CREGetComponentRed +__dt__18CREGetComponentRed: +/* 8033077C 0032D6DC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80330780 0032D6E0 7C 08 02 A6 */ mflr r0 +/* 80330784 0032D6E4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80330788 0032D6E8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033078C 0032D6EC 7C 9F 23 78 */ mr r31, r4 +/* 80330790 0032D6F0 93 C1 00 08 */ stw r30, 8(r1) +/* 80330794 0032D6F4 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80330798 0032D6F8 41 82 00 68 */ beq lbl_80330800 +/* 8033079C 0032D6FC 3C 60 80 3F */ lis r3, lbl_803EDE58@ha +/* 803307A0 0032D700 38 03 DE 58 */ addi r0, r3, lbl_803EDE58@l +/* 803307A4 0032D704 90 1E 00 00 */ stw r0, 0(r30) +/* 803307A8 0032D708 80 7E 00 04 */ lwz r3, 4(r30) +/* 803307AC 0032D70C 28 03 00 00 */ cmplwi r3, 0 +/* 803307B0 0032D710 41 82 00 18 */ beq lbl_803307C8 +/* 803307B4 0032D714 81 83 00 00 */ lwz r12, 0(r3) +/* 803307B8 0032D718 38 80 00 01 */ li r4, 1 +/* 803307BC 0032D71C 81 8C 00 08 */ lwz r12, 8(r12) +/* 803307C0 0032D720 7D 89 03 A6 */ mtctr r12 +/* 803307C4 0032D724 4E 80 04 21 */ bctrl +lbl_803307C8: +/* 803307C8 0032D728 28 1E 00 00 */ cmplwi r30, 0 +/* 803307CC 0032D72C 41 82 00 20 */ beq lbl_803307EC +/* 803307D0 0032D730 3C 60 80 3F */ lis r3, lbl_803EC554@ha +/* 803307D4 0032D734 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l +/* 803307D8 0032D738 90 1E 00 00 */ stw r0, 0(r30) +/* 803307DC 0032D73C 41 82 00 10 */ beq lbl_803307EC +/* 803307E0 0032D740 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 803307E4 0032D744 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 803307E8 0032D748 90 1E 00 00 */ stw r0, 0(r30) +lbl_803307EC: +/* 803307EC 0032D74C 7F E0 07 35 */ extsh. r0, r31 +/* 803307F0 0032D750 40 81 00 10 */ ble lbl_80330800 +/* 803307F4 0032D754 7F C3 F3 78 */ mr r3, r30 +/* 803307F8 0032D758 38 80 00 08 */ li r4, 8 +/* 803307FC 0032D75C 48 03 C2 69 */ bl sub_8036ca64 +lbl_80330800: +/* 80330800 0032D760 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80330804 0032D764 7F C3 F3 78 */ mr r3, r30 +/* 80330808 0032D768 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033080C 0032D76C 83 C1 00 08 */ lwz r30, 8(r1) +/* 80330810 0032D770 7C 08 03 A6 */ mtlr r0 +/* 80330814 0032D774 38 21 00 10 */ addi r1, r1, 0x10 +/* 80330818 0032D778 4E 80 00 20 */ blr + +.global __ct__18CREGetComponentRedFP13CColorElement +__ct__18CREGetComponentRedFP13CColorElement: +/* 8033081C 0032D77C 3C E0 80 3F */ lis r7, lbl_803EC5A8@ha +/* 80330820 0032D780 3C C0 80 3F */ lis r6, lbl_803EC554@ha +/* 80330824 0032D784 38 07 C5 A8 */ addi r0, r7, lbl_803EC5A8@l +/* 80330828 0032D788 3C A0 80 3F */ lis r5, lbl_803EDE58@ha +/* 8033082C 0032D78C 90 03 00 00 */ stw r0, 0(r3) +/* 80330830 0032D790 38 C6 C5 54 */ addi r6, r6, lbl_803EC554@l +/* 80330834 0032D794 38 05 DE 58 */ addi r0, r5, lbl_803EDE58@l +/* 80330838 0032D798 90 C3 00 00 */ stw r6, 0(r3) +/* 8033083C 0032D79C 90 03 00 00 */ stw r0, 0(r3) +/* 80330840 0032D7A0 90 83 00 04 */ stw r4, 4(r3) +/* 80330844 0032D7A4 4E 80 00 20 */ blr + +.global GetValue__11CRESubtractCFiRf +GetValue__11CRESubtractCFiRf: +/* 80330848 0032D7A8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033084C 0032D7AC 7C 08 02 A6 */ mflr r0 +/* 80330850 0032D7B0 C0 02 CB 2C */ lfs f0, lbl_805AE84C@sda21(r2) +/* 80330854 0032D7B4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80330858 0032D7B8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8033085C 0032D7BC 7C BF 2B 78 */ mr r31, r5 +/* 80330860 0032D7C0 38 A1 00 0C */ addi r5, r1, 0xc +/* 80330864 0032D7C4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80330868 0032D7C8 7C 9E 23 78 */ mr r30, r4 +/* 8033086C 0032D7CC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80330870 0032D7D0 7C 7D 1B 78 */ mr r29, r3 +/* 80330874 0032D7D4 80 63 00 04 */ lwz r3, 4(r3) +/* 80330878 0032D7D8 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 8033087C 0032D7DC D0 01 00 08 */ stfs f0, 8(r1) +/* 80330880 0032D7E0 81 83 00 00 */ lwz r12, 0(r3) +/* 80330884 0032D7E4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80330888 0032D7E8 7D 89 03 A6 */ mtctr r12 +/* 8033088C 0032D7EC 4E 80 04 21 */ bctrl +/* 80330890 0032D7F0 80 7D 00 08 */ lwz r3, 8(r29) +/* 80330894 0032D7F4 7F C4 F3 78 */ mr r4, r30 +/* 80330898 0032D7F8 38 A1 00 08 */ addi r5, r1, 8 +/* 8033089C 0032D7FC 81 83 00 00 */ lwz r12, 0(r3) +/* 803308A0 0032D800 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803308A4 0032D804 7D 89 03 A6 */ mtctr r12 +/* 803308A8 0032D808 4E 80 04 21 */ bctrl +/* 803308AC 0032D80C C0 21 00 0C */ lfs f1, 0xc(r1) +/* 803308B0 0032D810 38 60 00 00 */ li r3, 0 +/* 803308B4 0032D814 C0 01 00 08 */ lfs f0, 8(r1) +/* 803308B8 0032D818 EC 01 00 28 */ fsubs f0, f1, f0 +/* 803308BC 0032D81C D0 1F 00 00 */ stfs f0, 0(r31) +/* 803308C0 0032D820 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803308C4 0032D824 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 803308C8 0032D828 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 803308CC 0032D82C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803308D0 0032D830 7C 08 03 A6 */ mtlr r0 +/* 803308D4 0032D834 38 21 00 20 */ addi r1, r1, 0x20 +/* 803308D8 0032D838 4E 80 00 20 */ blr + +.global __dt__11CRESubtract +__dt__11CRESubtract: +/* 803308DC 0032D83C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803308E0 0032D840 7C 08 02 A6 */ mflr r0 +/* 803308E4 0032D844 90 01 00 14 */ stw r0, 0x14(r1) +/* 803308E8 0032D848 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803308EC 0032D84C 7C 9F 23 78 */ mr r31, r4 +/* 803308F0 0032D850 93 C1 00 08 */ stw r30, 8(r1) +/* 803308F4 0032D854 7C 7E 1B 79 */ or. r30, r3, r3 +/* 803308F8 0032D858 41 82 00 88 */ beq lbl_80330980 +/* 803308FC 0032D85C 3C 60 80 3F */ lis r3, lbl_803EDE6C@ha +/* 80330900 0032D860 38 03 DE 6C */ addi r0, r3, lbl_803EDE6C@l +/* 80330904 0032D864 90 1E 00 00 */ stw r0, 0(r30) +/* 80330908 0032D868 80 7E 00 04 */ lwz r3, 4(r30) +/* 8033090C 0032D86C 28 03 00 00 */ cmplwi r3, 0 +/* 80330910 0032D870 41 82 00 18 */ beq lbl_80330928 +/* 80330914 0032D874 81 83 00 00 */ lwz r12, 0(r3) +/* 80330918 0032D878 38 80 00 01 */ li r4, 1 +/* 8033091C 0032D87C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80330920 0032D880 7D 89 03 A6 */ mtctr r12 +/* 80330924 0032D884 4E 80 04 21 */ bctrl +lbl_80330928: +/* 80330928 0032D888 80 7E 00 08 */ lwz r3, 8(r30) +/* 8033092C 0032D88C 28 03 00 00 */ cmplwi r3, 0 +/* 80330930 0032D890 41 82 00 18 */ beq lbl_80330948 +/* 80330934 0032D894 81 83 00 00 */ lwz r12, 0(r3) +/* 80330938 0032D898 38 80 00 01 */ li r4, 1 +/* 8033093C 0032D89C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80330940 0032D8A0 7D 89 03 A6 */ mtctr r12 +/* 80330944 0032D8A4 4E 80 04 21 */ bctrl +lbl_80330948: +/* 80330948 0032D8A8 28 1E 00 00 */ cmplwi r30, 0 +/* 8033094C 0032D8AC 41 82 00 20 */ beq lbl_8033096C +/* 80330950 0032D8B0 3C 60 80 3F */ lis r3, lbl_803EC554@ha +/* 80330954 0032D8B4 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l +/* 80330958 0032D8B8 90 1E 00 00 */ stw r0, 0(r30) +/* 8033095C 0032D8BC 41 82 00 10 */ beq lbl_8033096C +/* 80330960 0032D8C0 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80330964 0032D8C4 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80330968 0032D8C8 90 1E 00 00 */ stw r0, 0(r30) +lbl_8033096C: +/* 8033096C 0032D8CC 7F E0 07 35 */ extsh. r0, r31 +/* 80330970 0032D8D0 40 81 00 10 */ ble lbl_80330980 +/* 80330974 0032D8D4 7F C3 F3 78 */ mr r3, r30 +/* 80330978 0032D8D8 38 80 00 0C */ li r4, 0xc +/* 8033097C 0032D8DC 48 03 C0 E9 */ bl sub_8036ca64 +lbl_80330980: +/* 80330980 0032D8E0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80330984 0032D8E4 7F C3 F3 78 */ mr r3, r30 +/* 80330988 0032D8E8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033098C 0032D8EC 83 C1 00 08 */ lwz r30, 8(r1) +/* 80330990 0032D8F0 7C 08 03 A6 */ mtlr r0 +/* 80330994 0032D8F4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80330998 0032D8F8 4E 80 00 20 */ blr + +.global __ct__11CRESubtractFP12CRealElementP12CRealElement +__ct__11CRESubtractFP12CRealElementP12CRealElement: +/* 8033099C 0032D8FC 3D 00 80 3F */ lis r8, lbl_803EC5A8@ha +/* 803309A0 0032D900 3C E0 80 3F */ lis r7, lbl_803EC554@ha +/* 803309A4 0032D904 38 08 C5 A8 */ addi r0, r8, lbl_803EC5A8@l +/* 803309A8 0032D908 3C C0 80 3F */ lis r6, lbl_803EDE6C@ha +/* 803309AC 0032D90C 90 03 00 00 */ stw r0, 0(r3) +/* 803309B0 0032D910 38 E7 C5 54 */ addi r7, r7, lbl_803EC554@l +/* 803309B4 0032D914 38 06 DE 6C */ addi r0, r6, lbl_803EDE6C@l +/* 803309B8 0032D918 90 E3 00 00 */ stw r7, 0(r3) +/* 803309BC 0032D91C 90 03 00 00 */ stw r0, 0(r3) +/* 803309C0 0032D920 90 83 00 04 */ stw r4, 4(r3) +/* 803309C4 0032D924 90 A3 00 08 */ stw r5, 8(r3) +/* 803309C8 0032D928 4E 80 00 20 */ blr + +.global GetValue__7CRECEXTCFiRf +GetValue__7CRECEXTCFiRf: +/* 803309CC 0032D92C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803309D0 0032D930 7C 08 02 A6 */ mflr r0 +/* 803309D4 0032D934 90 01 00 24 */ stw r0, 0x24(r1) +/* 803309D8 0032D938 38 00 00 00 */ li r0, 0 +/* 803309DC 0032D93C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 803309E0 0032D940 7C BF 2B 78 */ mr r31, r5 +/* 803309E4 0032D944 38 A1 00 08 */ addi r5, r1, 8 +/* 803309E8 0032D948 90 01 00 08 */ stw r0, 8(r1) +/* 803309EC 0032D94C 80 63 00 04 */ lwz r3, 4(r3) +/* 803309F0 0032D950 81 83 00 00 */ lwz r12, 0(r3) +/* 803309F4 0032D954 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803309F8 0032D958 7D 89 03 A6 */ mtctr r12 +/* 803309FC 0032D95C 4E 80 04 21 */ bctrl +/* 80330A00 0032D960 80 6D 9D 20 */ lwz r3, lbl_805A88E0@sda21(r13) +/* 80330A04 0032D964 38 8D 9D 20 */ addi r4, r13, lbl_805A88E0@sda21 +/* 80330A08 0032D968 80 01 00 08 */ lwz r0, 8(r1) +/* 80330A0C 0032D96C 7C 03 00 00 */ cmpw r3, r0 +/* 80330A10 0032D970 40 80 00 08 */ bge lbl_80330A18 +/* 80330A14 0032D974 38 81 00 08 */ addi r4, r1, 8 +lbl_80330A18: +/* 80330A18 0032D978 80 A4 00 00 */ lwz r5, 0(r4) +/* 80330A1C 0032D97C 80 6D A8 F4 */ lwz r3, lbl_805A94B4@sda21(r13) +/* 80330A20 0032D980 54 A0 E0 06 */ slwi r0, r5, 0x1c +/* 80330A24 0032D984 54 A4 0F FE */ srwi r4, r5, 0x1f +/* 80330A28 0032D988 7C 04 00 50 */ subf r0, r4, r0 +/* 80330A2C 0032D98C 90 A1 00 08 */ stw r5, 8(r1) +/* 80330A30 0032D990 54 00 20 3E */ rotlwi r0, r0, 4 +/* 80330A34 0032D994 7C 80 22 14 */ add r4, r0, r4 +/* 80330A38 0032D998 90 81 00 08 */ stw r4, 8(r1) +/* 80330A3C 0032D99C 80 63 00 04 */ lwz r3, 4(r3) +/* 80330A40 0032D9A0 4B FE 6C 2D */ bl GetCEXTValue__11CElementGenCFi +/* 80330A44 0032D9A4 D0 3F 00 00 */ stfs f1, 0(r31) +/* 80330A48 0032D9A8 38 60 00 00 */ li r3, 0 +/* 80330A4C 0032D9AC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80330A50 0032D9B0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80330A54 0032D9B4 7C 08 03 A6 */ mtlr r0 +/* 80330A58 0032D9B8 38 21 00 20 */ addi r1, r1, 0x20 +/* 80330A5C 0032D9BC 4E 80 00 20 */ blr + +.global __dt__7CRECEXT +__dt__7CRECEXT: +/* 80330A60 0032D9C0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80330A64 0032D9C4 7C 08 02 A6 */ mflr r0 +/* 80330A68 0032D9C8 90 01 00 14 */ stw r0, 0x14(r1) +/* 80330A6C 0032D9CC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80330A70 0032D9D0 7C 9F 23 78 */ mr r31, r4 +/* 80330A74 0032D9D4 93 C1 00 08 */ stw r30, 8(r1) +/* 80330A78 0032D9D8 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80330A7C 0032D9DC 41 82 00 68 */ beq lbl_80330AE4 +/* 80330A80 0032D9E0 3C 60 80 3F */ lis r3, lbl_803EDE80@ha +/* 80330A84 0032D9E4 38 03 DE 80 */ addi r0, r3, lbl_803EDE80@l +/* 80330A88 0032D9E8 90 1E 00 00 */ stw r0, 0(r30) +/* 80330A8C 0032D9EC 80 7E 00 04 */ lwz r3, 4(r30) +/* 80330A90 0032D9F0 28 03 00 00 */ cmplwi r3, 0 +/* 80330A94 0032D9F4 41 82 00 18 */ beq lbl_80330AAC +/* 80330A98 0032D9F8 81 83 00 00 */ lwz r12, 0(r3) +/* 80330A9C 0032D9FC 38 80 00 01 */ li r4, 1 +/* 80330AA0 0032DA00 81 8C 00 08 */ lwz r12, 8(r12) +/* 80330AA4 0032DA04 7D 89 03 A6 */ mtctr r12 +/* 80330AA8 0032DA08 4E 80 04 21 */ bctrl +lbl_80330AAC: +/* 80330AAC 0032DA0C 28 1E 00 00 */ cmplwi r30, 0 +/* 80330AB0 0032DA10 41 82 00 20 */ beq lbl_80330AD0 +/* 80330AB4 0032DA14 3C 60 80 3F */ lis r3, lbl_803EC554@ha +/* 80330AB8 0032DA18 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l +/* 80330ABC 0032DA1C 90 1E 00 00 */ stw r0, 0(r30) +/* 80330AC0 0032DA20 41 82 00 10 */ beq lbl_80330AD0 +/* 80330AC4 0032DA24 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80330AC8 0032DA28 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80330ACC 0032DA2C 90 1E 00 00 */ stw r0, 0(r30) +lbl_80330AD0: +/* 80330AD0 0032DA30 7F E0 07 35 */ extsh. r0, r31 +/* 80330AD4 0032DA34 40 81 00 10 */ ble lbl_80330AE4 +/* 80330AD8 0032DA38 7F C3 F3 78 */ mr r3, r30 +/* 80330ADC 0032DA3C 38 80 00 08 */ li r4, 8 +/* 80330AE0 0032DA40 48 03 BF 85 */ bl sub_8036ca64 +lbl_80330AE4: +/* 80330AE4 0032DA44 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80330AE8 0032DA48 7F C3 F3 78 */ mr r3, r30 +/* 80330AEC 0032DA4C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80330AF0 0032DA50 83 C1 00 08 */ lwz r30, 8(r1) +/* 80330AF4 0032DA54 7C 08 03 A6 */ mtlr r0 +/* 80330AF8 0032DA58 38 21 00 10 */ addi r1, r1, 0x10 +/* 80330AFC 0032DA5C 4E 80 00 20 */ blr + +.global __ct__7CRECEXTFP11CIntElement +__ct__7CRECEXTFP11CIntElement: +/* 80330B00 0032DA60 3C E0 80 3F */ lis r7, lbl_803EC5A8@ha +/* 80330B04 0032DA64 3C C0 80 3F */ lis r6, lbl_803EC554@ha +/* 80330B08 0032DA68 38 07 C5 A8 */ addi r0, r7, lbl_803EC5A8@l +/* 80330B0C 0032DA6C 3C A0 80 3F */ lis r5, lbl_803EDE80@ha +/* 80330B10 0032DA70 90 03 00 00 */ stw r0, 0(r3) +/* 80330B14 0032DA74 38 C6 C5 54 */ addi r6, r6, lbl_803EC554@l +/* 80330B18 0032DA78 38 05 DE 80 */ addi r0, r5, lbl_803EDE80@l +/* 80330B1C 0032DA7C 90 C3 00 00 */ stw r6, 0(r3) +/* 80330B20 0032DA80 90 03 00 00 */ stw r0, 0(r3) +/* 80330B24 0032DA84 90 83 00 04 */ stw r4, 4(r3) +/* 80330B28 0032DA88 4E 80 00 20 */ blr + +.global GetValue__16CREConstantRangeCFiRf +GetValue__16CREConstantRangeCFiRf: +/* 80330B2C 0032DA8C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80330B30 0032DA90 7C 08 02 A6 */ mflr r0 +/* 80330B34 0032DA94 90 01 00 34 */ stw r0, 0x34(r1) +/* 80330B38 0032DA98 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80330B3C 0032DA9C 7C BF 2B 78 */ mr r31, r5 +/* 80330B40 0032DAA0 38 A1 00 10 */ addi r5, r1, 0x10 +/* 80330B44 0032DAA4 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80330B48 0032DAA8 7C 9E 23 78 */ mr r30, r4 +/* 80330B4C 0032DAAC 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80330B50 0032DAB0 7C 7D 1B 78 */ mr r29, r3 +/* 80330B54 0032DAB4 80 63 00 04 */ lwz r3, 4(r3) +/* 80330B58 0032DAB8 81 83 00 00 */ lwz r12, 0(r3) +/* 80330B5C 0032DABC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80330B60 0032DAC0 7D 89 03 A6 */ mtctr r12 +/* 80330B64 0032DAC4 4E 80 04 21 */ bctrl +/* 80330B68 0032DAC8 80 7D 00 08 */ lwz r3, 8(r29) +/* 80330B6C 0032DACC 7F C4 F3 78 */ mr r4, r30 +/* 80330B70 0032DAD0 38 A1 00 0C */ addi r5, r1, 0xc +/* 80330B74 0032DAD4 81 83 00 00 */ lwz r12, 0(r3) +/* 80330B78 0032DAD8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80330B7C 0032DADC 7D 89 03 A6 */ mtctr r12 +/* 80330B80 0032DAE0 4E 80 04 21 */ bctrl +/* 80330B84 0032DAE4 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 80330B88 0032DAE8 7F C4 F3 78 */ mr r4, r30 +/* 80330B8C 0032DAEC 38 A1 00 08 */ addi r5, r1, 8 +/* 80330B90 0032DAF0 81 83 00 00 */ lwz r12, 0(r3) +/* 80330B94 0032DAF4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80330B98 0032DAF8 7D 89 03 A6 */ mtctr r12 +/* 80330B9C 0032DAFC 4E 80 04 21 */ bctrl +/* 80330BA0 0032DB00 C0 21 00 10 */ lfs f1, 0x10(r1) +/* 80330BA4 0032DB04 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 80330BA8 0032DB08 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80330BAC 0032DB0C 40 81 00 30 */ ble lbl_80330BDC +/* 80330BB0 0032DB10 C0 01 00 08 */ lfs f0, 8(r1) +/* 80330BB4 0032DB14 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80330BB8 0032DB18 40 80 00 24 */ bge lbl_80330BDC +/* 80330BBC 0032DB1C 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 80330BC0 0032DB20 7F C4 F3 78 */ mr r4, r30 +/* 80330BC4 0032DB24 7F E5 FB 78 */ mr r5, r31 +/* 80330BC8 0032DB28 81 83 00 00 */ lwz r12, 0(r3) +/* 80330BCC 0032DB2C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80330BD0 0032DB30 7D 89 03 A6 */ mtctr r12 +/* 80330BD4 0032DB34 4E 80 04 21 */ bctrl +/* 80330BD8 0032DB38 48 00 00 20 */ b lbl_80330BF8 +lbl_80330BDC: +/* 80330BDC 0032DB3C 80 7D 00 14 */ lwz r3, 0x14(r29) +/* 80330BE0 0032DB40 7F C4 F3 78 */ mr r4, r30 +/* 80330BE4 0032DB44 7F E5 FB 78 */ mr r5, r31 +/* 80330BE8 0032DB48 81 83 00 00 */ lwz r12, 0(r3) +/* 80330BEC 0032DB4C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80330BF0 0032DB50 7D 89 03 A6 */ mtctr r12 +/* 80330BF4 0032DB54 4E 80 04 21 */ bctrl +lbl_80330BF8: +/* 80330BF8 0032DB58 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80330BFC 0032DB5C 38 60 00 00 */ li r3, 0 +/* 80330C00 0032DB60 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80330C04 0032DB64 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80330C08 0032DB68 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80330C0C 0032DB6C 7C 08 03 A6 */ mtlr r0 +/* 80330C10 0032DB70 38 21 00 30 */ addi r1, r1, 0x30 +/* 80330C14 0032DB74 4E 80 00 20 */ blr + +.global __dt__16CREConstantRange +__dt__16CREConstantRange: +/* 80330C18 0032DB78 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80330C1C 0032DB7C 7C 08 02 A6 */ mflr r0 +/* 80330C20 0032DB80 90 01 00 14 */ stw r0, 0x14(r1) +/* 80330C24 0032DB84 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80330C28 0032DB88 7C 9F 23 78 */ mr r31, r4 +/* 80330C2C 0032DB8C 93 C1 00 08 */ stw r30, 8(r1) +/* 80330C30 0032DB90 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80330C34 0032DB94 41 82 00 E8 */ beq lbl_80330D1C +/* 80330C38 0032DB98 3C 60 80 3F */ lis r3, lbl_803EDE94@ha +/* 80330C3C 0032DB9C 38 03 DE 94 */ addi r0, r3, lbl_803EDE94@l +/* 80330C40 0032DBA0 90 1E 00 00 */ stw r0, 0(r30) +/* 80330C44 0032DBA4 80 7E 00 04 */ lwz r3, 4(r30) +/* 80330C48 0032DBA8 28 03 00 00 */ cmplwi r3, 0 +/* 80330C4C 0032DBAC 41 82 00 18 */ beq lbl_80330C64 +/* 80330C50 0032DBB0 81 83 00 00 */ lwz r12, 0(r3) +/* 80330C54 0032DBB4 38 80 00 01 */ li r4, 1 +/* 80330C58 0032DBB8 81 8C 00 08 */ lwz r12, 8(r12) +/* 80330C5C 0032DBBC 7D 89 03 A6 */ mtctr r12 +/* 80330C60 0032DBC0 4E 80 04 21 */ bctrl +lbl_80330C64: +/* 80330C64 0032DBC4 80 7E 00 08 */ lwz r3, 8(r30) +/* 80330C68 0032DBC8 28 03 00 00 */ cmplwi r3, 0 +/* 80330C6C 0032DBCC 41 82 00 18 */ beq lbl_80330C84 +/* 80330C70 0032DBD0 81 83 00 00 */ lwz r12, 0(r3) +/* 80330C74 0032DBD4 38 80 00 01 */ li r4, 1 +/* 80330C78 0032DBD8 81 8C 00 08 */ lwz r12, 8(r12) +/* 80330C7C 0032DBDC 7D 89 03 A6 */ mtctr r12 +/* 80330C80 0032DBE0 4E 80 04 21 */ bctrl +lbl_80330C84: +/* 80330C84 0032DBE4 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80330C88 0032DBE8 28 03 00 00 */ cmplwi r3, 0 +/* 80330C8C 0032DBEC 41 82 00 18 */ beq lbl_80330CA4 +/* 80330C90 0032DBF0 81 83 00 00 */ lwz r12, 0(r3) +/* 80330C94 0032DBF4 38 80 00 01 */ li r4, 1 +/* 80330C98 0032DBF8 81 8C 00 08 */ lwz r12, 8(r12) +/* 80330C9C 0032DBFC 7D 89 03 A6 */ mtctr r12 +/* 80330CA0 0032DC00 4E 80 04 21 */ bctrl +lbl_80330CA4: +/* 80330CA4 0032DC04 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 80330CA8 0032DC08 28 03 00 00 */ cmplwi r3, 0 +/* 80330CAC 0032DC0C 41 82 00 18 */ beq lbl_80330CC4 +/* 80330CB0 0032DC10 81 83 00 00 */ lwz r12, 0(r3) +/* 80330CB4 0032DC14 38 80 00 01 */ li r4, 1 +/* 80330CB8 0032DC18 81 8C 00 08 */ lwz r12, 8(r12) +/* 80330CBC 0032DC1C 7D 89 03 A6 */ mtctr r12 +/* 80330CC0 0032DC20 4E 80 04 21 */ bctrl +lbl_80330CC4: +/* 80330CC4 0032DC24 80 7E 00 14 */ lwz r3, 0x14(r30) +/* 80330CC8 0032DC28 28 03 00 00 */ cmplwi r3, 0 +/* 80330CCC 0032DC2C 41 82 00 18 */ beq lbl_80330CE4 +/* 80330CD0 0032DC30 81 83 00 00 */ lwz r12, 0(r3) +/* 80330CD4 0032DC34 38 80 00 01 */ li r4, 1 +/* 80330CD8 0032DC38 81 8C 00 08 */ lwz r12, 8(r12) +/* 80330CDC 0032DC3C 7D 89 03 A6 */ mtctr r12 +/* 80330CE0 0032DC40 4E 80 04 21 */ bctrl +lbl_80330CE4: +/* 80330CE4 0032DC44 28 1E 00 00 */ cmplwi r30, 0 +/* 80330CE8 0032DC48 41 82 00 20 */ beq lbl_80330D08 +/* 80330CEC 0032DC4C 3C 60 80 3F */ lis r3, lbl_803EC554@ha +/* 80330CF0 0032DC50 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l +/* 80330CF4 0032DC54 90 1E 00 00 */ stw r0, 0(r30) +/* 80330CF8 0032DC58 41 82 00 10 */ beq lbl_80330D08 +/* 80330CFC 0032DC5C 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80330D00 0032DC60 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80330D04 0032DC64 90 1E 00 00 */ stw r0, 0(r30) +lbl_80330D08: +/* 80330D08 0032DC68 7F E0 07 35 */ extsh. r0, r31 +/* 80330D0C 0032DC6C 40 81 00 10 */ ble lbl_80330D1C +/* 80330D10 0032DC70 7F C3 F3 78 */ mr r3, r30 +/* 80330D14 0032DC74 38 80 00 18 */ li r4, 0x18 +/* 80330D18 0032DC78 48 03 BD 4D */ bl sub_8036ca64 +lbl_80330D1C: +/* 80330D1C 0032DC7C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80330D20 0032DC80 7F C3 F3 78 */ mr r3, r30 +/* 80330D24 0032DC84 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80330D28 0032DC88 83 C1 00 08 */ lwz r30, 8(r1) +/* 80330D2C 0032DC8C 7C 08 03 A6 */ mtlr r0 +/* 80330D30 0032DC90 38 21 00 10 */ addi r1, r1, 0x10 +/* 80330D34 0032DC94 4E 80 00 20 */ blr + +.global __ct__16CREConstantRangeFP12CRealElementP12CRealElementP12CRealElementP12CRealElementP12CRealElement +__ct__16CREConstantRangeFP12CRealElementP12CRealElementP12CRealElementP12CRealElementP12CRealElement: +/* 80330D38 0032DC98 3D 60 80 3F */ lis r11, lbl_803EC5A8@ha +/* 80330D3C 0032DC9C 3D 40 80 3F */ lis r10, lbl_803EC554@ha +/* 80330D40 0032DCA0 38 0B C5 A8 */ addi r0, r11, lbl_803EC5A8@l +/* 80330D44 0032DCA4 3D 20 80 3F */ lis r9, lbl_803EDE94@ha +/* 80330D48 0032DCA8 90 03 00 00 */ stw r0, 0(r3) +/* 80330D4C 0032DCAC 39 4A C5 54 */ addi r10, r10, lbl_803EC554@l +/* 80330D50 0032DCB0 38 09 DE 94 */ addi r0, r9, lbl_803EDE94@l +/* 80330D54 0032DCB4 91 43 00 00 */ stw r10, 0(r3) +/* 80330D58 0032DCB8 90 03 00 00 */ stw r0, 0(r3) +/* 80330D5C 0032DCBC 90 83 00 04 */ stw r4, 4(r3) +/* 80330D60 0032DCC0 90 A3 00 08 */ stw r5, 8(r3) +/* 80330D64 0032DCC4 90 C3 00 0C */ stw r6, 0xc(r3) +/* 80330D68 0032DCC8 90 E3 00 10 */ stw r7, 0x10(r3) +/* 80330D6C 0032DCCC 91 03 00 14 */ stw r8, 0x14(r3) +/* 80330D70 0032DCD0 4E 80 00 20 */ blr + +.global GetValue__15CRECompareEqualCFiRf +GetValue__15CRECompareEqualCFiRf: +/* 80330D74 0032DCD4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80330D78 0032DCD8 7C 08 02 A6 */ mflr r0 +/* 80330D7C 0032DCDC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80330D80 0032DCE0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80330D84 0032DCE4 7C BF 2B 78 */ mr r31, r5 +/* 80330D88 0032DCE8 38 A1 00 0C */ addi r5, r1, 0xc +/* 80330D8C 0032DCEC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80330D90 0032DCF0 7C 9E 23 78 */ mr r30, r4 +/* 80330D94 0032DCF4 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80330D98 0032DCF8 7C 7D 1B 78 */ mr r29, r3 +/* 80330D9C 0032DCFC 80 63 00 04 */ lwz r3, 4(r3) +/* 80330DA0 0032DD00 81 83 00 00 */ lwz r12, 0(r3) +/* 80330DA4 0032DD04 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80330DA8 0032DD08 7D 89 03 A6 */ mtctr r12 +/* 80330DAC 0032DD0C 4E 80 04 21 */ bctrl +/* 80330DB0 0032DD10 80 7D 00 08 */ lwz r3, 8(r29) +/* 80330DB4 0032DD14 7F C4 F3 78 */ mr r4, r30 +/* 80330DB8 0032DD18 38 A1 00 08 */ addi r5, r1, 8 +/* 80330DBC 0032DD1C 81 83 00 00 */ lwz r12, 0(r3) +/* 80330DC0 0032DD20 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80330DC4 0032DD24 7D 89 03 A6 */ mtctr r12 +/* 80330DC8 0032DD28 4E 80 04 21 */ bctrl +/* 80330DCC 0032DD2C C0 41 00 0C */ lfs f2, 0xc(r1) +/* 80330DD0 0032DD30 C0 21 00 08 */ lfs f1, 8(r1) +/* 80330DD4 0032DD34 C0 02 CB 30 */ lfs f0, lbl_805AE850@sda21(r2) +/* 80330DD8 0032DD38 EC 22 08 28 */ fsubs f1, f2, f1 +/* 80330DDC 0032DD3C FC 20 0A 10 */ fabs f1, f1 +/* 80330DE0 0032DD40 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80330DE4 0032DD44 40 80 00 24 */ bge lbl_80330E08 +/* 80330DE8 0032DD48 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 80330DEC 0032DD4C 7F C4 F3 78 */ mr r4, r30 +/* 80330DF0 0032DD50 7F E5 FB 78 */ mr r5, r31 +/* 80330DF4 0032DD54 81 83 00 00 */ lwz r12, 0(r3) +/* 80330DF8 0032DD58 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80330DFC 0032DD5C 7D 89 03 A6 */ mtctr r12 +/* 80330E00 0032DD60 4E 80 04 21 */ bctrl +/* 80330E04 0032DD64 48 00 00 20 */ b lbl_80330E24 +lbl_80330E08: +/* 80330E08 0032DD68 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 80330E0C 0032DD6C 7F C4 F3 78 */ mr r4, r30 +/* 80330E10 0032DD70 7F E5 FB 78 */ mr r5, r31 +/* 80330E14 0032DD74 81 83 00 00 */ lwz r12, 0(r3) +/* 80330E18 0032DD78 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80330E1C 0032DD7C 7D 89 03 A6 */ mtctr r12 +/* 80330E20 0032DD80 4E 80 04 21 */ bctrl +lbl_80330E24: +/* 80330E24 0032DD84 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80330E28 0032DD88 38 60 00 00 */ li r3, 0 +/* 80330E2C 0032DD8C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80330E30 0032DD90 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80330E34 0032DD94 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80330E38 0032DD98 7C 08 03 A6 */ mtlr r0 +/* 80330E3C 0032DD9C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80330E40 0032DDA0 4E 80 00 20 */ blr + +.global __dt__15CRECompareEqual +__dt__15CRECompareEqual: +/* 80330E44 0032DDA4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80330E48 0032DDA8 7C 08 02 A6 */ mflr r0 +/* 80330E4C 0032DDAC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80330E50 0032DDB0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80330E54 0032DDB4 7C 9F 23 78 */ mr r31, r4 +/* 80330E58 0032DDB8 93 C1 00 08 */ stw r30, 8(r1) +/* 80330E5C 0032DDBC 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80330E60 0032DDC0 41 82 00 C8 */ beq lbl_80330F28 +/* 80330E64 0032DDC4 3C 60 80 3F */ lis r3, lbl_803EDEA8@ha +/* 80330E68 0032DDC8 38 03 DE A8 */ addi r0, r3, lbl_803EDEA8@l +/* 80330E6C 0032DDCC 90 1E 00 00 */ stw r0, 0(r30) +/* 80330E70 0032DDD0 80 7E 00 04 */ lwz r3, 4(r30) +/* 80330E74 0032DDD4 28 03 00 00 */ cmplwi r3, 0 +/* 80330E78 0032DDD8 41 82 00 18 */ beq lbl_80330E90 +/* 80330E7C 0032DDDC 81 83 00 00 */ lwz r12, 0(r3) +/* 80330E80 0032DDE0 38 80 00 01 */ li r4, 1 +/* 80330E84 0032DDE4 81 8C 00 08 */ lwz r12, 8(r12) +/* 80330E88 0032DDE8 7D 89 03 A6 */ mtctr r12 +/* 80330E8C 0032DDEC 4E 80 04 21 */ bctrl +lbl_80330E90: +/* 80330E90 0032DDF0 80 7E 00 08 */ lwz r3, 8(r30) +/* 80330E94 0032DDF4 28 03 00 00 */ cmplwi r3, 0 +/* 80330E98 0032DDF8 41 82 00 18 */ beq lbl_80330EB0 +/* 80330E9C 0032DDFC 81 83 00 00 */ lwz r12, 0(r3) +/* 80330EA0 0032DE00 38 80 00 01 */ li r4, 1 +/* 80330EA4 0032DE04 81 8C 00 08 */ lwz r12, 8(r12) +/* 80330EA8 0032DE08 7D 89 03 A6 */ mtctr r12 +/* 80330EAC 0032DE0C 4E 80 04 21 */ bctrl +lbl_80330EB0: +/* 80330EB0 0032DE10 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80330EB4 0032DE14 28 03 00 00 */ cmplwi r3, 0 +/* 80330EB8 0032DE18 41 82 00 18 */ beq lbl_80330ED0 +/* 80330EBC 0032DE1C 81 83 00 00 */ lwz r12, 0(r3) +/* 80330EC0 0032DE20 38 80 00 01 */ li r4, 1 +/* 80330EC4 0032DE24 81 8C 00 08 */ lwz r12, 8(r12) +/* 80330EC8 0032DE28 7D 89 03 A6 */ mtctr r12 +/* 80330ECC 0032DE2C 4E 80 04 21 */ bctrl +lbl_80330ED0: +/* 80330ED0 0032DE30 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 80330ED4 0032DE34 28 03 00 00 */ cmplwi r3, 0 +/* 80330ED8 0032DE38 41 82 00 18 */ beq lbl_80330EF0 +/* 80330EDC 0032DE3C 81 83 00 00 */ lwz r12, 0(r3) +/* 80330EE0 0032DE40 38 80 00 01 */ li r4, 1 +/* 80330EE4 0032DE44 81 8C 00 08 */ lwz r12, 8(r12) +/* 80330EE8 0032DE48 7D 89 03 A6 */ mtctr r12 +/* 80330EEC 0032DE4C 4E 80 04 21 */ bctrl +lbl_80330EF0: +/* 80330EF0 0032DE50 28 1E 00 00 */ cmplwi r30, 0 +/* 80330EF4 0032DE54 41 82 00 20 */ beq lbl_80330F14 +/* 80330EF8 0032DE58 3C 60 80 3F */ lis r3, lbl_803EC554@ha +/* 80330EFC 0032DE5C 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l +/* 80330F00 0032DE60 90 1E 00 00 */ stw r0, 0(r30) +/* 80330F04 0032DE64 41 82 00 10 */ beq lbl_80330F14 +/* 80330F08 0032DE68 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80330F0C 0032DE6C 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80330F10 0032DE70 90 1E 00 00 */ stw r0, 0(r30) +lbl_80330F14: +/* 80330F14 0032DE74 7F E0 07 35 */ extsh. r0, r31 +/* 80330F18 0032DE78 40 81 00 10 */ ble lbl_80330F28 +/* 80330F1C 0032DE7C 7F C3 F3 78 */ mr r3, r30 +/* 80330F20 0032DE80 38 80 00 14 */ li r4, 0x14 +/* 80330F24 0032DE84 48 03 BB 41 */ bl sub_8036ca64 +lbl_80330F28: +/* 80330F28 0032DE88 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80330F2C 0032DE8C 7F C3 F3 78 */ mr r3, r30 +/* 80330F30 0032DE90 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80330F34 0032DE94 83 C1 00 08 */ lwz r30, 8(r1) +/* 80330F38 0032DE98 7C 08 03 A6 */ mtlr r0 +/* 80330F3C 0032DE9C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80330F40 0032DEA0 4E 80 00 20 */ blr + +.global __ct__15CRECompareEqualFP12CRealElementP12CRealElementP12CRealElementP12CRealElement +__ct__15CRECompareEqualFP12CRealElementP12CRealElementP12CRealElementP12CRealElement: +/* 80330F44 0032DEA4 3D 40 80 3F */ lis r10, lbl_803EC5A8@ha +/* 80330F48 0032DEA8 3D 20 80 3F */ lis r9, lbl_803EC554@ha +/* 80330F4C 0032DEAC 38 0A C5 A8 */ addi r0, r10, lbl_803EC5A8@l +/* 80330F50 0032DEB0 3D 00 80 3F */ lis r8, lbl_803EDEA8@ha +/* 80330F54 0032DEB4 90 03 00 00 */ stw r0, 0(r3) +/* 80330F58 0032DEB8 39 29 C5 54 */ addi r9, r9, lbl_803EC554@l +/* 80330F5C 0032DEBC 38 08 DE A8 */ addi r0, r8, lbl_803EDEA8@l +/* 80330F60 0032DEC0 91 23 00 00 */ stw r9, 0(r3) +/* 80330F64 0032DEC4 90 03 00 00 */ stw r0, 0(r3) +/* 80330F68 0032DEC8 90 83 00 04 */ stw r4, 4(r3) +/* 80330F6C 0032DECC 90 A3 00 08 */ stw r5, 8(r3) +/* 80330F70 0032DED0 90 C3 00 0C */ stw r6, 0xc(r3) +/* 80330F74 0032DED4 90 E3 00 10 */ stw r7, 0x10(r3) +/* 80330F78 0032DED8 4E 80 00 20 */ blr + +.global GetValue__18CRECompareLessThanCFiRf +GetValue__18CRECompareLessThanCFiRf: +/* 80330F7C 0032DEDC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80330F80 0032DEE0 7C 08 02 A6 */ mflr r0 +/* 80330F84 0032DEE4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80330F88 0032DEE8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80330F8C 0032DEEC 7C BF 2B 78 */ mr r31, r5 +/* 80330F90 0032DEF0 38 A1 00 0C */ addi r5, r1, 0xc +/* 80330F94 0032DEF4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80330F98 0032DEF8 7C 9E 23 78 */ mr r30, r4 +/* 80330F9C 0032DEFC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80330FA0 0032DF00 7C 7D 1B 78 */ mr r29, r3 +/* 80330FA4 0032DF04 80 63 00 04 */ lwz r3, 4(r3) +/* 80330FA8 0032DF08 81 83 00 00 */ lwz r12, 0(r3) +/* 80330FAC 0032DF0C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80330FB0 0032DF10 7D 89 03 A6 */ mtctr r12 +/* 80330FB4 0032DF14 4E 80 04 21 */ bctrl +/* 80330FB8 0032DF18 80 7D 00 08 */ lwz r3, 8(r29) +/* 80330FBC 0032DF1C 7F C4 F3 78 */ mr r4, r30 +/* 80330FC0 0032DF20 38 A1 00 08 */ addi r5, r1, 8 +/* 80330FC4 0032DF24 81 83 00 00 */ lwz r12, 0(r3) +/* 80330FC8 0032DF28 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80330FCC 0032DF2C 7D 89 03 A6 */ mtctr r12 +/* 80330FD0 0032DF30 4E 80 04 21 */ bctrl +/* 80330FD4 0032DF34 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 80330FD8 0032DF38 C0 01 00 08 */ lfs f0, 8(r1) +/* 80330FDC 0032DF3C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80330FE0 0032DF40 40 80 00 24 */ bge lbl_80331004 +/* 80330FE4 0032DF44 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 80330FE8 0032DF48 7F C4 F3 78 */ mr r4, r30 +/* 80330FEC 0032DF4C 7F E5 FB 78 */ mr r5, r31 +/* 80330FF0 0032DF50 81 83 00 00 */ lwz r12, 0(r3) +/* 80330FF4 0032DF54 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80330FF8 0032DF58 7D 89 03 A6 */ mtctr r12 +/* 80330FFC 0032DF5C 4E 80 04 21 */ bctrl +/* 80331000 0032DF60 48 00 00 20 */ b lbl_80331020 +lbl_80331004: +/* 80331004 0032DF64 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 80331008 0032DF68 7F C4 F3 78 */ mr r4, r30 +/* 8033100C 0032DF6C 7F E5 FB 78 */ mr r5, r31 +/* 80331010 0032DF70 81 83 00 00 */ lwz r12, 0(r3) +/* 80331014 0032DF74 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80331018 0032DF78 7D 89 03 A6 */ mtctr r12 +/* 8033101C 0032DF7C 4E 80 04 21 */ bctrl +lbl_80331020: +/* 80331020 0032DF80 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80331024 0032DF84 38 60 00 00 */ li r3, 0 +/* 80331028 0032DF88 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8033102C 0032DF8C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80331030 0032DF90 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80331034 0032DF94 7C 08 03 A6 */ mtlr r0 +/* 80331038 0032DF98 38 21 00 20 */ addi r1, r1, 0x20 +/* 8033103C 0032DF9C 4E 80 00 20 */ blr + +.global __dt__18CRECompareLessThan +__dt__18CRECompareLessThan: +/* 80331040 0032DFA0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80331044 0032DFA4 7C 08 02 A6 */ mflr r0 +/* 80331048 0032DFA8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033104C 0032DFAC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80331050 0032DFB0 7C 9F 23 78 */ mr r31, r4 +/* 80331054 0032DFB4 93 C1 00 08 */ stw r30, 8(r1) +/* 80331058 0032DFB8 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8033105C 0032DFBC 41 82 00 C8 */ beq lbl_80331124 +/* 80331060 0032DFC0 3C 60 80 3F */ lis r3, lbl_803EDEBC@ha +/* 80331064 0032DFC4 38 03 DE BC */ addi r0, r3, lbl_803EDEBC@l +/* 80331068 0032DFC8 90 1E 00 00 */ stw r0, 0(r30) +/* 8033106C 0032DFCC 80 7E 00 04 */ lwz r3, 4(r30) +/* 80331070 0032DFD0 28 03 00 00 */ cmplwi r3, 0 +/* 80331074 0032DFD4 41 82 00 18 */ beq lbl_8033108C +/* 80331078 0032DFD8 81 83 00 00 */ lwz r12, 0(r3) +/* 8033107C 0032DFDC 38 80 00 01 */ li r4, 1 +/* 80331080 0032DFE0 81 8C 00 08 */ lwz r12, 8(r12) +/* 80331084 0032DFE4 7D 89 03 A6 */ mtctr r12 +/* 80331088 0032DFE8 4E 80 04 21 */ bctrl +lbl_8033108C: +/* 8033108C 0032DFEC 80 7E 00 08 */ lwz r3, 8(r30) +/* 80331090 0032DFF0 28 03 00 00 */ cmplwi r3, 0 +/* 80331094 0032DFF4 41 82 00 18 */ beq lbl_803310AC +/* 80331098 0032DFF8 81 83 00 00 */ lwz r12, 0(r3) +/* 8033109C 0032DFFC 38 80 00 01 */ li r4, 1 +/* 803310A0 0032E000 81 8C 00 08 */ lwz r12, 8(r12) +/* 803310A4 0032E004 7D 89 03 A6 */ mtctr r12 +/* 803310A8 0032E008 4E 80 04 21 */ bctrl +lbl_803310AC: +/* 803310AC 0032E00C 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 803310B0 0032E010 28 03 00 00 */ cmplwi r3, 0 +/* 803310B4 0032E014 41 82 00 18 */ beq lbl_803310CC +/* 803310B8 0032E018 81 83 00 00 */ lwz r12, 0(r3) +/* 803310BC 0032E01C 38 80 00 01 */ li r4, 1 +/* 803310C0 0032E020 81 8C 00 08 */ lwz r12, 8(r12) +/* 803310C4 0032E024 7D 89 03 A6 */ mtctr r12 +/* 803310C8 0032E028 4E 80 04 21 */ bctrl +lbl_803310CC: +/* 803310CC 0032E02C 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 803310D0 0032E030 28 03 00 00 */ cmplwi r3, 0 +/* 803310D4 0032E034 41 82 00 18 */ beq lbl_803310EC +/* 803310D8 0032E038 81 83 00 00 */ lwz r12, 0(r3) +/* 803310DC 0032E03C 38 80 00 01 */ li r4, 1 +/* 803310E0 0032E040 81 8C 00 08 */ lwz r12, 8(r12) +/* 803310E4 0032E044 7D 89 03 A6 */ mtctr r12 +/* 803310E8 0032E048 4E 80 04 21 */ bctrl +lbl_803310EC: +/* 803310EC 0032E04C 28 1E 00 00 */ cmplwi r30, 0 +/* 803310F0 0032E050 41 82 00 20 */ beq lbl_80331110 +/* 803310F4 0032E054 3C 60 80 3F */ lis r3, lbl_803EC554@ha +/* 803310F8 0032E058 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l +/* 803310FC 0032E05C 90 1E 00 00 */ stw r0, 0(r30) +/* 80331100 0032E060 41 82 00 10 */ beq lbl_80331110 +/* 80331104 0032E064 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80331108 0032E068 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 8033110C 0032E06C 90 1E 00 00 */ stw r0, 0(r30) +lbl_80331110: +/* 80331110 0032E070 7F E0 07 35 */ extsh. r0, r31 +/* 80331114 0032E074 40 81 00 10 */ ble lbl_80331124 +/* 80331118 0032E078 7F C3 F3 78 */ mr r3, r30 +/* 8033111C 0032E07C 38 80 00 14 */ li r4, 0x14 +/* 80331120 0032E080 48 03 B9 45 */ bl sub_8036ca64 +lbl_80331124: +/* 80331124 0032E084 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80331128 0032E088 7F C3 F3 78 */ mr r3, r30 +/* 8033112C 0032E08C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80331130 0032E090 83 C1 00 08 */ lwz r30, 8(r1) +/* 80331134 0032E094 7C 08 03 A6 */ mtlr r0 +/* 80331138 0032E098 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033113C 0032E09C 4E 80 00 20 */ blr + +.global __ct__18CRECompareLessThanFP12CRealElementP12CRealElementP12CRealElementP12CRealElement +__ct__18CRECompareLessThanFP12CRealElementP12CRealElementP12CRealElementP12CRealElement: +/* 80331140 0032E0A0 3D 40 80 3F */ lis r10, lbl_803EC5A8@ha +/* 80331144 0032E0A4 3D 20 80 3F */ lis r9, lbl_803EC554@ha +/* 80331148 0032E0A8 38 0A C5 A8 */ addi r0, r10, lbl_803EC5A8@l +/* 8033114C 0032E0AC 3D 00 80 3F */ lis r8, lbl_803EDEBC@ha +/* 80331150 0032E0B0 90 03 00 00 */ stw r0, 0(r3) +/* 80331154 0032E0B4 39 29 C5 54 */ addi r9, r9, lbl_803EC554@l +/* 80331158 0032E0B8 38 08 DE BC */ addi r0, r8, lbl_803EDEBC@l +/* 8033115C 0032E0BC 91 23 00 00 */ stw r9, 0(r3) +/* 80331160 0032E0C0 90 03 00 00 */ stw r0, 0(r3) +/* 80331164 0032E0C4 90 83 00 04 */ stw r4, 4(r3) +/* 80331168 0032E0C8 90 A3 00 08 */ stw r5, 8(r3) +/* 8033116C 0032E0CC 90 C3 00 0C */ stw r6, 0xc(r3) +/* 80331170 0032E0D0 90 E3 00 10 */ stw r7, 0x10(r3) +/* 80331174 0032E0D4 4E 80 00 20 */ blr + +.global GetValue__7CREIWSTGCFiRf +GetValue__7CREIWSTGCFiRf: +/* 80331178 0032E0D8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033117C 0032E0DC 7C 08 02 A6 */ mflr r0 +/* 80331180 0032E0E0 2C 04 00 00 */ cmpwi r4, 0 +/* 80331184 0032E0E4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80331188 0032E0E8 40 82 00 20 */ bne lbl_803311A8 +/* 8033118C 0032E0EC 80 63 00 04 */ lwz r3, 4(r3) +/* 80331190 0032E0F0 38 80 00 00 */ li r4, 0 +/* 80331194 0032E0F4 81 83 00 00 */ lwz r12, 0(r3) +/* 80331198 0032E0F8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8033119C 0032E0FC 7D 89 03 A6 */ mtctr r12 +/* 803311A0 0032E100 4E 80 04 21 */ bctrl +/* 803311A4 0032E104 48 00 00 1C */ b lbl_803311C0 +lbl_803311A8: +/* 803311A8 0032E108 80 63 00 08 */ lwz r3, 8(r3) +/* 803311AC 0032E10C 38 84 FF FF */ addi r4, r4, -1 +/* 803311B0 0032E110 81 83 00 00 */ lwz r12, 0(r3) +/* 803311B4 0032E114 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803311B8 0032E118 7D 89 03 A6 */ mtctr r12 +/* 803311BC 0032E11C 4E 80 04 21 */ bctrl +lbl_803311C0: +/* 803311C0 0032E120 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803311C4 0032E124 38 60 00 00 */ li r3, 0 +/* 803311C8 0032E128 7C 08 03 A6 */ mtlr r0 +/* 803311CC 0032E12C 38 21 00 10 */ addi r1, r1, 0x10 +/* 803311D0 0032E130 4E 80 00 20 */ blr + +.global __dt__7CREIWST +__dt__7CREIWST: +/* 803311D4 0032E134 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803311D8 0032E138 7C 08 02 A6 */ mflr r0 +/* 803311DC 0032E13C 90 01 00 14 */ stw r0, 0x14(r1) +/* 803311E0 0032E140 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803311E4 0032E144 7C 9F 23 78 */ mr r31, r4 +/* 803311E8 0032E148 93 C1 00 08 */ stw r30, 8(r1) +/* 803311EC 0032E14C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 803311F0 0032E150 41 82 00 88 */ beq lbl_80331278 +/* 803311F4 0032E154 3C 60 80 3F */ lis r3, lbl_803EDED0@ha +/* 803311F8 0032E158 38 03 DE D0 */ addi r0, r3, lbl_803EDED0@l +/* 803311FC 0032E15C 90 1E 00 00 */ stw r0, 0(r30) +/* 80331200 0032E160 80 7E 00 04 */ lwz r3, 4(r30) +/* 80331204 0032E164 28 03 00 00 */ cmplwi r3, 0 +/* 80331208 0032E168 41 82 00 18 */ beq lbl_80331220 +/* 8033120C 0032E16C 81 83 00 00 */ lwz r12, 0(r3) +/* 80331210 0032E170 38 80 00 01 */ li r4, 1 +/* 80331214 0032E174 81 8C 00 08 */ lwz r12, 8(r12) +/* 80331218 0032E178 7D 89 03 A6 */ mtctr r12 +/* 8033121C 0032E17C 4E 80 04 21 */ bctrl +lbl_80331220: +/* 80331220 0032E180 80 7E 00 08 */ lwz r3, 8(r30) +/* 80331224 0032E184 28 03 00 00 */ cmplwi r3, 0 +/* 80331228 0032E188 41 82 00 18 */ beq lbl_80331240 +/* 8033122C 0032E18C 81 83 00 00 */ lwz r12, 0(r3) +/* 80331230 0032E190 38 80 00 01 */ li r4, 1 +/* 80331234 0032E194 81 8C 00 08 */ lwz r12, 8(r12) +/* 80331238 0032E198 7D 89 03 A6 */ mtctr r12 +/* 8033123C 0032E19C 4E 80 04 21 */ bctrl +lbl_80331240: +/* 80331240 0032E1A0 28 1E 00 00 */ cmplwi r30, 0 +/* 80331244 0032E1A4 41 82 00 20 */ beq lbl_80331264 +/* 80331248 0032E1A8 3C 60 80 3F */ lis r3, lbl_803EC554@ha +/* 8033124C 0032E1AC 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l +/* 80331250 0032E1B0 90 1E 00 00 */ stw r0, 0(r30) +/* 80331254 0032E1B4 41 82 00 10 */ beq lbl_80331264 +/* 80331258 0032E1B8 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 8033125C 0032E1BC 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80331260 0032E1C0 90 1E 00 00 */ stw r0, 0(r30) +lbl_80331264: +/* 80331264 0032E1C4 7F E0 07 35 */ extsh. r0, r31 +/* 80331268 0032E1C8 40 81 00 10 */ ble lbl_80331278 +/* 8033126C 0032E1CC 7F C3 F3 78 */ mr r3, r30 +/* 80331270 0032E1D0 38 80 00 0C */ li r4, 0xc +/* 80331274 0032E1D4 48 03 B7 F1 */ bl sub_8036ca64 +lbl_80331278: +/* 80331278 0032E1D8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033127C 0032E1DC 7F C3 F3 78 */ mr r3, r30 +/* 80331280 0032E1E0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80331284 0032E1E4 83 C1 00 08 */ lwz r30, 8(r1) +/* 80331288 0032E1E8 7C 08 03 A6 */ mtlr r0 +/* 8033128C 0032E1EC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80331290 0032E1F0 4E 80 00 20 */ blr + +.global __ct__7CREISWTFP12CRealElementP12CRealElement +__ct__7CREISWTFP12CRealElementP12CRealElement: +/* 80331294 0032E1F4 3D 00 80 3F */ lis r8, lbl_803EC5A8@ha +/* 80331298 0032E1F8 3C E0 80 3F */ lis r7, lbl_803EC554@ha +/* 8033129C 0032E1FC 38 08 C5 A8 */ addi r0, r8, lbl_803EC5A8@l +/* 803312A0 0032E200 3C C0 80 3F */ lis r6, lbl_803EDED0@ha +/* 803312A4 0032E204 90 03 00 00 */ stw r0, 0(r3) +/* 803312A8 0032E208 38 E7 C5 54 */ addi r7, r7, lbl_803EC554@l +/* 803312AC 0032E20C 38 06 DE D0 */ addi r0, r6, lbl_803EDED0@l +/* 803312B0 0032E210 90 E3 00 00 */ stw r7, 0(r3) +/* 803312B4 0032E214 90 03 00 00 */ stw r0, 0(r3) +/* 803312B8 0032E218 90 83 00 04 */ stw r4, 4(r3) +/* 803312BC 0032E21C 90 A3 00 08 */ stw r5, 8(r3) +/* 803312C0 0032E220 4E 80 00 20 */ blr + +.global GetValue__18CREVectorMagnitudeCFiRf +GetValue__18CREVectorMagnitudeCFiRf: +/* 803312C4 0032E224 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803312C8 0032E228 7C 08 02 A6 */ mflr r0 +/* 803312CC 0032E22C 3C C0 80 5A */ lis r6, skZero3f@ha +/* 803312D0 0032E230 90 01 00 24 */ stw r0, 0x24(r1) +/* 803312D4 0032E234 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 803312D8 0032E238 7C BF 2B 78 */ mr r31, r5 +/* 803312DC 0032E23C 38 A1 00 08 */ addi r5, r1, 8 +/* 803312E0 0032E240 C4 46 66 A0 */ lfsu f2, skZero3f@l(r6) +/* 803312E4 0032E244 80 63 00 04 */ lwz r3, 4(r3) +/* 803312E8 0032E248 C0 26 00 04 */ lfs f1, 4(r6) +/* 803312EC 0032E24C C0 06 00 08 */ lfs f0, 8(r6) +/* 803312F0 0032E250 D0 41 00 08 */ stfs f2, 8(r1) +/* 803312F4 0032E254 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 803312F8 0032E258 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 803312FC 0032E25C 81 83 00 00 */ lwz r12, 0(r3) +/* 80331300 0032E260 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80331304 0032E264 7D 89 03 A6 */ mtctr r12 +/* 80331308 0032E268 4E 80 04 21 */ bctrl +/* 8033130C 0032E26C 38 61 00 08 */ addi r3, r1, 8 +/* 80331310 0032E270 4B FE 35 A9 */ bl Magnitude__9CVector3fCFv +/* 80331314 0032E274 D0 3F 00 00 */ stfs f1, 0(r31) +/* 80331318 0032E278 38 60 00 00 */ li r3, 0 +/* 8033131C 0032E27C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80331320 0032E280 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80331324 0032E284 7C 08 03 A6 */ mtlr r0 +/* 80331328 0032E288 38 21 00 20 */ addi r1, r1, 0x20 +/* 8033132C 0032E28C 4E 80 00 20 */ blr + +.global __dt__18CREVectorMagnitude +__dt__18CREVectorMagnitude: +/* 80331330 0032E290 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80331334 0032E294 7C 08 02 A6 */ mflr r0 +/* 80331338 0032E298 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033133C 0032E29C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80331340 0032E2A0 7C 9F 23 78 */ mr r31, r4 +/* 80331344 0032E2A4 93 C1 00 08 */ stw r30, 8(r1) +/* 80331348 0032E2A8 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8033134C 0032E2AC 41 82 00 68 */ beq lbl_803313B4 +/* 80331350 0032E2B0 3C 60 80 3F */ lis r3, lbl_803EDEE4@ha +/* 80331354 0032E2B4 38 03 DE E4 */ addi r0, r3, lbl_803EDEE4@l +/* 80331358 0032E2B8 90 1E 00 00 */ stw r0, 0(r30) +/* 8033135C 0032E2BC 80 7E 00 04 */ lwz r3, 4(r30) +/* 80331360 0032E2C0 28 03 00 00 */ cmplwi r3, 0 +/* 80331364 0032E2C4 41 82 00 18 */ beq lbl_8033137C +/* 80331368 0032E2C8 81 83 00 00 */ lwz r12, 0(r3) +/* 8033136C 0032E2CC 38 80 00 01 */ li r4, 1 +/* 80331370 0032E2D0 81 8C 00 08 */ lwz r12, 8(r12) +/* 80331374 0032E2D4 7D 89 03 A6 */ mtctr r12 +/* 80331378 0032E2D8 4E 80 04 21 */ bctrl +lbl_8033137C: +/* 8033137C 0032E2DC 28 1E 00 00 */ cmplwi r30, 0 +/* 80331380 0032E2E0 41 82 00 20 */ beq lbl_803313A0 +/* 80331384 0032E2E4 3C 60 80 3F */ lis r3, lbl_803EC554@ha +/* 80331388 0032E2E8 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l +/* 8033138C 0032E2EC 90 1E 00 00 */ stw r0, 0(r30) +/* 80331390 0032E2F0 41 82 00 10 */ beq lbl_803313A0 +/* 80331394 0032E2F4 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80331398 0032E2F8 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 8033139C 0032E2FC 90 1E 00 00 */ stw r0, 0(r30) +lbl_803313A0: +/* 803313A0 0032E300 7F E0 07 35 */ extsh. r0, r31 +/* 803313A4 0032E304 40 81 00 10 */ ble lbl_803313B4 +/* 803313A8 0032E308 7F C3 F3 78 */ mr r3, r30 +/* 803313AC 0032E30C 38 80 00 08 */ li r4, 8 +/* 803313B0 0032E310 48 03 B6 B5 */ bl sub_8036ca64 +lbl_803313B4: +/* 803313B4 0032E314 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803313B8 0032E318 7F C3 F3 78 */ mr r3, r30 +/* 803313BC 0032E31C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803313C0 0032E320 83 C1 00 08 */ lwz r30, 8(r1) +/* 803313C4 0032E324 7C 08 03 A6 */ mtlr r0 +/* 803313C8 0032E328 38 21 00 10 */ addi r1, r1, 0x10 +/* 803313CC 0032E32C 4E 80 00 20 */ blr + +.global __ct__18CREVectorMagnitudeFP14CVectorElement +__ct__18CREVectorMagnitudeFP14CVectorElement: +/* 803313D0 0032E330 3C E0 80 3F */ lis r7, lbl_803EC5A8@ha +/* 803313D4 0032E334 3C C0 80 3F */ lis r6, lbl_803EC554@ha +/* 803313D8 0032E338 38 07 C5 A8 */ addi r0, r7, lbl_803EC5A8@l +/* 803313DC 0032E33C 3C A0 80 3F */ lis r5, lbl_803EDEE4@ha +/* 803313E0 0032E340 90 03 00 00 */ stw r0, 0(r3) +/* 803313E4 0032E344 38 C6 C5 54 */ addi r6, r6, lbl_803EC554@l +/* 803313E8 0032E348 38 05 DE E4 */ addi r0, r5, lbl_803EDEE4@l +/* 803313EC 0032E34C 90 C3 00 00 */ stw r6, 0(r3) +/* 803313F0 0032E350 90 03 00 00 */ stw r0, 0(r3) +/* 803313F4 0032E354 90 83 00 04 */ stw r4, 4(r3) +/* 803313F8 0032E358 4E 80 00 20 */ blr + +.global GetValue__16CREVectorZToRealCFiRf +GetValue__16CREVectorZToRealCFiRf: +/* 803313FC 0032E35C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80331400 0032E360 7C 08 02 A6 */ mflr r0 +/* 80331404 0032E364 3C C0 80 5A */ lis r6, skZero3f@ha +/* 80331408 0032E368 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033140C 0032E36C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80331410 0032E370 7C BF 2B 78 */ mr r31, r5 +/* 80331414 0032E374 38 A1 00 08 */ addi r5, r1, 8 +/* 80331418 0032E378 C4 46 66 A0 */ lfsu f2, skZero3f@l(r6) +/* 8033141C 0032E37C 80 63 00 04 */ lwz r3, 4(r3) +/* 80331420 0032E380 C0 26 00 04 */ lfs f1, 4(r6) +/* 80331424 0032E384 C0 06 00 08 */ lfs f0, 8(r6) +/* 80331428 0032E388 D0 41 00 08 */ stfs f2, 8(r1) +/* 8033142C 0032E38C D0 21 00 0C */ stfs f1, 0xc(r1) +/* 80331430 0032E390 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 80331434 0032E394 81 83 00 00 */ lwz r12, 0(r3) +/* 80331438 0032E398 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8033143C 0032E39C 7D 89 03 A6 */ mtctr r12 +/* 80331440 0032E3A0 4E 80 04 21 */ bctrl +/* 80331444 0032E3A4 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 80331448 0032E3A8 38 60 00 00 */ li r3, 0 +/* 8033144C 0032E3AC D0 1F 00 00 */ stfs f0, 0(r31) +/* 80331450 0032E3B0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80331454 0032E3B4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80331458 0032E3B8 7C 08 03 A6 */ mtlr r0 +/* 8033145C 0032E3BC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80331460 0032E3C0 4E 80 00 20 */ blr + +.global __dt__16CREVectorZToReal +__dt__16CREVectorZToReal: +/* 80331464 0032E3C4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80331468 0032E3C8 7C 08 02 A6 */ mflr r0 +/* 8033146C 0032E3CC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80331470 0032E3D0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80331474 0032E3D4 7C 9F 23 78 */ mr r31, r4 +/* 80331478 0032E3D8 93 C1 00 08 */ stw r30, 8(r1) +/* 8033147C 0032E3DC 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80331480 0032E3E0 41 82 00 68 */ beq lbl_803314E8 +/* 80331484 0032E3E4 3C 60 80 3F */ lis r3, lbl_803EDEF8@ha +/* 80331488 0032E3E8 38 03 DE F8 */ addi r0, r3, lbl_803EDEF8@l +/* 8033148C 0032E3EC 90 1E 00 00 */ stw r0, 0(r30) +/* 80331490 0032E3F0 80 7E 00 04 */ lwz r3, 4(r30) +/* 80331494 0032E3F4 28 03 00 00 */ cmplwi r3, 0 +/* 80331498 0032E3F8 41 82 00 18 */ beq lbl_803314B0 +/* 8033149C 0032E3FC 81 83 00 00 */ lwz r12, 0(r3) +/* 803314A0 0032E400 38 80 00 01 */ li r4, 1 +/* 803314A4 0032E404 81 8C 00 08 */ lwz r12, 8(r12) +/* 803314A8 0032E408 7D 89 03 A6 */ mtctr r12 +/* 803314AC 0032E40C 4E 80 04 21 */ bctrl +lbl_803314B0: +/* 803314B0 0032E410 28 1E 00 00 */ cmplwi r30, 0 +/* 803314B4 0032E414 41 82 00 20 */ beq lbl_803314D4 +/* 803314B8 0032E418 3C 60 80 3F */ lis r3, lbl_803EC554@ha +/* 803314BC 0032E41C 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l +/* 803314C0 0032E420 90 1E 00 00 */ stw r0, 0(r30) +/* 803314C4 0032E424 41 82 00 10 */ beq lbl_803314D4 +/* 803314C8 0032E428 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 803314CC 0032E42C 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 803314D0 0032E430 90 1E 00 00 */ stw r0, 0(r30) +lbl_803314D4: +/* 803314D4 0032E434 7F E0 07 35 */ extsh. r0, r31 +/* 803314D8 0032E438 40 81 00 10 */ ble lbl_803314E8 +/* 803314DC 0032E43C 7F C3 F3 78 */ mr r3, r30 +/* 803314E0 0032E440 38 80 00 08 */ li r4, 8 +/* 803314E4 0032E444 48 03 B5 81 */ bl sub_8036ca64 +lbl_803314E8: +/* 803314E8 0032E448 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803314EC 0032E44C 7F C3 F3 78 */ mr r3, r30 +/* 803314F0 0032E450 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803314F4 0032E454 83 C1 00 08 */ lwz r30, 8(r1) +/* 803314F8 0032E458 7C 08 03 A6 */ mtlr r0 +/* 803314FC 0032E45C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80331500 0032E460 4E 80 00 20 */ blr + +.global __ct__16CREVectorZToRealFP14CVectorElement +__ct__16CREVectorZToRealFP14CVectorElement: +/* 80331504 0032E464 3C E0 80 3F */ lis r7, lbl_803EC5A8@ha +/* 80331508 0032E468 3C C0 80 3F */ lis r6, lbl_803EC554@ha +/* 8033150C 0032E46C 38 07 C5 A8 */ addi r0, r7, lbl_803EC5A8@l +/* 80331510 0032E470 3C A0 80 3F */ lis r5, lbl_803EDEF8@ha +/* 80331514 0032E474 90 03 00 00 */ stw r0, 0(r3) +/* 80331518 0032E478 38 C6 C5 54 */ addi r6, r6, lbl_803EC554@l +/* 8033151C 0032E47C 38 05 DE F8 */ addi r0, r5, lbl_803EDEF8@l +/* 80331520 0032E480 90 C3 00 00 */ stw r6, 0(r3) +/* 80331524 0032E484 90 03 00 00 */ stw r0, 0(r3) +/* 80331528 0032E488 90 83 00 04 */ stw r4, 4(r3) +/* 8033152C 0032E48C 4E 80 00 20 */ blr + +.global GetValue__16CREVectorYToRealCFiRf +GetValue__16CREVectorYToRealCFiRf: +/* 80331530 0032E490 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80331534 0032E494 7C 08 02 A6 */ mflr r0 +/* 80331538 0032E498 3C C0 80 5A */ lis r6, skZero3f@ha +/* 8033153C 0032E49C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80331540 0032E4A0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80331544 0032E4A4 7C BF 2B 78 */ mr r31, r5 +/* 80331548 0032E4A8 38 A1 00 08 */ addi r5, r1, 8 +/* 8033154C 0032E4AC C4 46 66 A0 */ lfsu f2, skZero3f@l(r6) +/* 80331550 0032E4B0 80 63 00 04 */ lwz r3, 4(r3) +/* 80331554 0032E4B4 C0 26 00 04 */ lfs f1, 4(r6) +/* 80331558 0032E4B8 C0 06 00 08 */ lfs f0, 8(r6) +/* 8033155C 0032E4BC D0 41 00 08 */ stfs f2, 8(r1) +/* 80331560 0032E4C0 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 80331564 0032E4C4 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 80331568 0032E4C8 81 83 00 00 */ lwz r12, 0(r3) +/* 8033156C 0032E4CC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80331570 0032E4D0 7D 89 03 A6 */ mtctr r12 +/* 80331574 0032E4D4 4E 80 04 21 */ bctrl +/* 80331578 0032E4D8 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 8033157C 0032E4DC 38 60 00 00 */ li r3, 0 +/* 80331580 0032E4E0 D0 1F 00 00 */ stfs f0, 0(r31) +/* 80331584 0032E4E4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80331588 0032E4E8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8033158C 0032E4EC 7C 08 03 A6 */ mtlr r0 +/* 80331590 0032E4F0 38 21 00 20 */ addi r1, r1, 0x20 +/* 80331594 0032E4F4 4E 80 00 20 */ blr + +.global __dt__16CREVectorYToReal +__dt__16CREVectorYToReal: +/* 80331598 0032E4F8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033159C 0032E4FC 7C 08 02 A6 */ mflr r0 +/* 803315A0 0032E500 90 01 00 14 */ stw r0, 0x14(r1) +/* 803315A4 0032E504 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803315A8 0032E508 7C 9F 23 78 */ mr r31, r4 +/* 803315AC 0032E50C 93 C1 00 08 */ stw r30, 8(r1) +/* 803315B0 0032E510 7C 7E 1B 79 */ or. r30, r3, r3 +/* 803315B4 0032E514 41 82 00 68 */ beq lbl_8033161C +/* 803315B8 0032E518 3C 60 80 3F */ lis r3, lbl_803EDF0C@ha +/* 803315BC 0032E51C 38 03 DF 0C */ addi r0, r3, lbl_803EDF0C@l +/* 803315C0 0032E520 90 1E 00 00 */ stw r0, 0(r30) +/* 803315C4 0032E524 80 7E 00 04 */ lwz r3, 4(r30) +/* 803315C8 0032E528 28 03 00 00 */ cmplwi r3, 0 +/* 803315CC 0032E52C 41 82 00 18 */ beq lbl_803315E4 +/* 803315D0 0032E530 81 83 00 00 */ lwz r12, 0(r3) +/* 803315D4 0032E534 38 80 00 01 */ li r4, 1 +/* 803315D8 0032E538 81 8C 00 08 */ lwz r12, 8(r12) +/* 803315DC 0032E53C 7D 89 03 A6 */ mtctr r12 +/* 803315E0 0032E540 4E 80 04 21 */ bctrl +lbl_803315E4: +/* 803315E4 0032E544 28 1E 00 00 */ cmplwi r30, 0 +/* 803315E8 0032E548 41 82 00 20 */ beq lbl_80331608 +/* 803315EC 0032E54C 3C 60 80 3F */ lis r3, lbl_803EC554@ha +/* 803315F0 0032E550 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l +/* 803315F4 0032E554 90 1E 00 00 */ stw r0, 0(r30) +/* 803315F8 0032E558 41 82 00 10 */ beq lbl_80331608 +/* 803315FC 0032E55C 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80331600 0032E560 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80331604 0032E564 90 1E 00 00 */ stw r0, 0(r30) +lbl_80331608: +/* 80331608 0032E568 7F E0 07 35 */ extsh. r0, r31 +/* 8033160C 0032E56C 40 81 00 10 */ ble lbl_8033161C +/* 80331610 0032E570 7F C3 F3 78 */ mr r3, r30 +/* 80331614 0032E574 38 80 00 08 */ li r4, 8 +/* 80331618 0032E578 48 03 B4 4D */ bl sub_8036ca64 +lbl_8033161C: +/* 8033161C 0032E57C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80331620 0032E580 7F C3 F3 78 */ mr r3, r30 +/* 80331624 0032E584 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80331628 0032E588 83 C1 00 08 */ lwz r30, 8(r1) +/* 8033162C 0032E58C 7C 08 03 A6 */ mtlr r0 +/* 80331630 0032E590 38 21 00 10 */ addi r1, r1, 0x10 +/* 80331634 0032E594 4E 80 00 20 */ blr + +.global __ct__16CREVectorYToRealFP14CVectorElement +__ct__16CREVectorYToRealFP14CVectorElement: +/* 80331638 0032E598 3C E0 80 3F */ lis r7, lbl_803EC5A8@ha +/* 8033163C 0032E59C 3C C0 80 3F */ lis r6, lbl_803EC554@ha +/* 80331640 0032E5A0 38 07 C5 A8 */ addi r0, r7, lbl_803EC5A8@l +/* 80331644 0032E5A4 3C A0 80 3F */ lis r5, lbl_803EDF0C@ha +/* 80331648 0032E5A8 90 03 00 00 */ stw r0, 0(r3) +/* 8033164C 0032E5AC 38 C6 C5 54 */ addi r6, r6, lbl_803EC554@l +/* 80331650 0032E5B0 38 05 DF 0C */ addi r0, r5, lbl_803EDF0C@l +/* 80331654 0032E5B4 90 C3 00 00 */ stw r6, 0(r3) +/* 80331658 0032E5B8 90 03 00 00 */ stw r0, 0(r3) +/* 8033165C 0032E5BC 90 83 00 04 */ stw r4, 4(r3) +/* 80331660 0032E5C0 4E 80 00 20 */ blr + +.global GetValue__16CREVectorXToRealCFiRf +GetValue__16CREVectorXToRealCFiRf: +/* 80331664 0032E5C4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80331668 0032E5C8 7C 08 02 A6 */ mflr r0 +/* 8033166C 0032E5CC 3C C0 80 5A */ lis r6, skZero3f@ha +/* 80331670 0032E5D0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80331674 0032E5D4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80331678 0032E5D8 7C BF 2B 78 */ mr r31, r5 +/* 8033167C 0032E5DC 38 A1 00 08 */ addi r5, r1, 8 +/* 80331680 0032E5E0 C4 46 66 A0 */ lfsu f2, skZero3f@l(r6) +/* 80331684 0032E5E4 80 63 00 04 */ lwz r3, 4(r3) +/* 80331688 0032E5E8 C0 26 00 04 */ lfs f1, 4(r6) +/* 8033168C 0032E5EC C0 06 00 08 */ lfs f0, 8(r6) +/* 80331690 0032E5F0 D0 41 00 08 */ stfs f2, 8(r1) +/* 80331694 0032E5F4 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 80331698 0032E5F8 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 8033169C 0032E5FC 81 83 00 00 */ lwz r12, 0(r3) +/* 803316A0 0032E600 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803316A4 0032E604 7D 89 03 A6 */ mtctr r12 +/* 803316A8 0032E608 4E 80 04 21 */ bctrl +/* 803316AC 0032E60C C0 01 00 08 */ lfs f0, 8(r1) +/* 803316B0 0032E610 38 60 00 00 */ li r3, 0 +/* 803316B4 0032E614 D0 1F 00 00 */ stfs f0, 0(r31) +/* 803316B8 0032E618 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803316BC 0032E61C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803316C0 0032E620 7C 08 03 A6 */ mtlr r0 +/* 803316C4 0032E624 38 21 00 20 */ addi r1, r1, 0x20 +/* 803316C8 0032E628 4E 80 00 20 */ blr + +.global __dt__16CREVectorXToReal +__dt__16CREVectorXToReal: +/* 803316CC 0032E62C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803316D0 0032E630 7C 08 02 A6 */ mflr r0 +/* 803316D4 0032E634 90 01 00 14 */ stw r0, 0x14(r1) +/* 803316D8 0032E638 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803316DC 0032E63C 7C 9F 23 78 */ mr r31, r4 +/* 803316E0 0032E640 93 C1 00 08 */ stw r30, 8(r1) +/* 803316E4 0032E644 7C 7E 1B 79 */ or. r30, r3, r3 +/* 803316E8 0032E648 41 82 00 68 */ beq lbl_80331750 +/* 803316EC 0032E64C 3C 60 80 3F */ lis r3, lbl_803EDF20@ha +/* 803316F0 0032E650 38 03 DF 20 */ addi r0, r3, lbl_803EDF20@l +/* 803316F4 0032E654 90 1E 00 00 */ stw r0, 0(r30) +/* 803316F8 0032E658 80 7E 00 04 */ lwz r3, 4(r30) +/* 803316FC 0032E65C 28 03 00 00 */ cmplwi r3, 0 +/* 80331700 0032E660 41 82 00 18 */ beq lbl_80331718 +/* 80331704 0032E664 81 83 00 00 */ lwz r12, 0(r3) +/* 80331708 0032E668 38 80 00 01 */ li r4, 1 +/* 8033170C 0032E66C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80331710 0032E670 7D 89 03 A6 */ mtctr r12 +/* 80331714 0032E674 4E 80 04 21 */ bctrl +lbl_80331718: +/* 80331718 0032E678 28 1E 00 00 */ cmplwi r30, 0 +/* 8033171C 0032E67C 41 82 00 20 */ beq lbl_8033173C +/* 80331720 0032E680 3C 60 80 3F */ lis r3, lbl_803EC554@ha +/* 80331724 0032E684 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l +/* 80331728 0032E688 90 1E 00 00 */ stw r0, 0(r30) +/* 8033172C 0032E68C 41 82 00 10 */ beq lbl_8033173C +/* 80331730 0032E690 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80331734 0032E694 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80331738 0032E698 90 1E 00 00 */ stw r0, 0(r30) +lbl_8033173C: +/* 8033173C 0032E69C 7F E0 07 35 */ extsh. r0, r31 +/* 80331740 0032E6A0 40 81 00 10 */ ble lbl_80331750 +/* 80331744 0032E6A4 7F C3 F3 78 */ mr r3, r30 +/* 80331748 0032E6A8 38 80 00 08 */ li r4, 8 +/* 8033174C 0032E6AC 48 03 B3 19 */ bl sub_8036ca64 +lbl_80331750: +/* 80331750 0032E6B0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80331754 0032E6B4 7F C3 F3 78 */ mr r3, r30 +/* 80331758 0032E6B8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033175C 0032E6BC 83 C1 00 08 */ lwz r30, 8(r1) +/* 80331760 0032E6C0 7C 08 03 A6 */ mtlr r0 +/* 80331764 0032E6C4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80331768 0032E6C8 4E 80 00 20 */ blr + +.global __ct__16CREVectorXToRealFP14CVectorElement +__ct__16CREVectorXToRealFP14CVectorElement: +/* 8033176C 0032E6CC 3C E0 80 3F */ lis r7, lbl_803EC5A8@ha +/* 80331770 0032E6D0 3C C0 80 3F */ lis r6, lbl_803EC554@ha +/* 80331774 0032E6D4 38 07 C5 A8 */ addi r0, r7, lbl_803EC5A8@l +/* 80331778 0032E6D8 3C A0 80 3F */ lis r5, lbl_803EDF20@ha +/* 8033177C 0032E6DC 90 03 00 00 */ stw r0, 0(r3) +/* 80331780 0032E6E0 38 C6 C5 54 */ addi r6, r6, lbl_803EC554@l +/* 80331784 0032E6E4 38 05 DF 20 */ addi r0, r5, lbl_803EDF20@l +/* 80331788 0032E6E8 90 C3 00 00 */ stw r6, 0(r3) +/* 8033178C 0032E6EC 90 03 00 00 */ stw r0, 0(r3) +/* 80331790 0032E6F0 90 83 00 04 */ stw r4, 4(r3) +/* 80331794 0032E6F4 4E 80 00 20 */ blr + +.global GetValue__7CREPRLWGCFiRf +GetValue__7CREPRLWGCFiRf: +/* 80331798 0032E6F8 80 8D A8 EC */ lwz r4, lbl_805A94AC@sda21(r13) +/* 8033179C 0032E6FC 38 60 00 00 */ li r3, 0 +/* 803317A0 0032E700 C0 04 00 30 */ lfs f0, 0x30(r4) +/* 803317A4 0032E704 D0 05 00 00 */ stfs f0, 0(r5) +/* 803317A8 0032E708 4E 80 00 20 */ blr + +.global GetValue__7CREPSLLGCFiRf +GetValue__7CREPSLLGCFiRf: +/* 803317AC 0032E70C 80 8D A8 EC */ lwz r4, lbl_805A94AC@sda21(r13) +/* 803317B0 0032E710 38 60 00 00 */ li r3, 0 +/* 803317B4 0032E714 C0 04 00 2C */ lfs f0, 0x2c(r4) +/* 803317B8 0032E718 D0 05 00 00 */ stfs f0, 0(r5) +/* 803317BC 0032E71C 4E 80 00 20 */ blr + +.global GetValue__27CREParticleAccessParameter8CFiRf +GetValue__27CREParticleAccessParameter8CFiRf: +/* 803317C0 0032E720 80 8D A8 F0 */ lwz r4, lbl_805A94B0@sda21(r13) +/* 803317C4 0032E724 38 60 00 00 */ li r3, 0 +/* 803317C8 0032E728 C0 04 00 1C */ lfs f0, 0x1c(r4) +/* 803317CC 0032E72C D0 05 00 00 */ stfs f0, 0(r5) +/* 803317D0 0032E730 4E 80 00 20 */ blr + +.global GetValue__27CREParticleAccessParameter7CFiRf +GetValue__27CREParticleAccessParameter7CFiRf: +/* 803317D4 0032E734 80 8D A8 F0 */ lwz r4, lbl_805A94B0@sda21(r13) +/* 803317D8 0032E738 38 60 00 00 */ li r3, 0 +/* 803317DC 0032E73C C0 04 00 18 */ lfs f0, 0x18(r4) +/* 803317E0 0032E740 D0 05 00 00 */ stfs f0, 0(r5) +/* 803317E4 0032E744 4E 80 00 20 */ blr + +.global GetValue__27CREParticleAccessParameter6CFiRf +GetValue__27CREParticleAccessParameter6CFiRf: +/* 803317E8 0032E748 80 8D A8 F0 */ lwz r4, lbl_805A94B0@sda21(r13) +/* 803317EC 0032E74C 38 60 00 00 */ li r3, 0 +/* 803317F0 0032E750 C0 04 00 14 */ lfs f0, 0x14(r4) +/* 803317F4 0032E754 D0 05 00 00 */ stfs f0, 0(r5) +/* 803317F8 0032E758 4E 80 00 20 */ blr + +.global GetValue__27CREParticleAccessParameter5CFiRf +GetValue__27CREParticleAccessParameter5CFiRf: +/* 803317FC 0032E75C 80 8D A8 F0 */ lwz r4, lbl_805A94B0@sda21(r13) +/* 80331800 0032E760 38 60 00 00 */ li r3, 0 +/* 80331804 0032E764 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 80331808 0032E768 D0 05 00 00 */ stfs f0, 0(r5) +/* 8033180C 0032E76C 4E 80 00 20 */ blr + +.global GetValue__27CREParticleAccessParameter4CFiRf +GetValue__27CREParticleAccessParameter4CFiRf: +/* 80331810 0032E770 80 8D A8 F0 */ lwz r4, lbl_805A94B0@sda21(r13) +/* 80331814 0032E774 38 60 00 00 */ li r3, 0 +/* 80331818 0032E778 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 8033181C 0032E77C D0 05 00 00 */ stfs f0, 0(r5) +/* 80331820 0032E780 4E 80 00 20 */ blr + +.global GetValue__27CREParticleAccessParameter3CFiRf +GetValue__27CREParticleAccessParameter3CFiRf: +/* 80331824 0032E784 80 8D A8 F0 */ lwz r4, lbl_805A94B0@sda21(r13) +/* 80331828 0032E788 38 60 00 00 */ li r3, 0 +/* 8033182C 0032E78C C0 04 00 08 */ lfs f0, 8(r4) +/* 80331830 0032E790 D0 05 00 00 */ stfs f0, 0(r5) +/* 80331834 0032E794 4E 80 00 20 */ blr + +.global GetValue__27CREParticleAccessParameter2CFiRf +GetValue__27CREParticleAccessParameter2CFiRf: +/* 80331838 0032E798 80 8D A8 F0 */ lwz r4, lbl_805A94B0@sda21(r13) +/* 8033183C 0032E79C 38 60 00 00 */ li r3, 0 +/* 80331840 0032E7A0 C0 04 00 04 */ lfs f0, 4(r4) +/* 80331844 0032E7A4 D0 05 00 00 */ stfs f0, 0(r5) +/* 80331848 0032E7A8 4E 80 00 20 */ blr + +.global GetValue__27CREParticleAccessParameter1CFiRf +GetValue__27CREParticleAccessParameter1CFiRf: +/* 8033184C 0032E7AC 80 8D A8 F0 */ lwz r4, lbl_805A94B0@sda21(r13) +/* 80331850 0032E7B0 38 60 00 00 */ li r3, 0 +/* 80331854 0032E7B4 C0 04 00 00 */ lfs f0, 0(r4) +/* 80331858 0032E7B8 D0 05 00 00 */ stfs f0, 0(r5) +/* 8033185C 0032E7BC 4E 80 00 20 */ blr + +.global GetValue__18CREKeyframeEmitterCFiRf +GetValue__18CREKeyframeEmitterCFiRf: +/* 80331860 0032E7C0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80331864 0032E7C4 80 03 00 04 */ lwz r0, 4(r3) +/* 80331868 0032E7C8 2C 00 00 00 */ cmpwi r0, 0 +/* 8033186C 0032E7CC 40 82 00 A0 */ bne lbl_8033190C +/* 80331870 0032E7D0 88 03 00 0C */ lbz r0, 0xc(r3) +/* 80331874 0032E7D4 81 0D A8 D8 */ lwz r8, lbl_805A9498@sda21(r13) +/* 80331878 0032E7D8 28 00 00 00 */ cmplwi r0, 0 +/* 8033187C 0032E7DC 91 01 00 0C */ stw r8, 0xc(r1) +/* 80331880 0032E7E0 41 82 00 50 */ beq lbl_803318D0 +/* 80331884 0032E7E4 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80331888 0032E7E8 7C 08 00 00 */ cmpw r8, r0 +/* 8033188C 0032E7EC 41 80 00 2C */ blt lbl_803318B8 +/* 80331890 0032E7F0 80 E3 00 14 */ lwz r7, 0x14(r3) +/* 80331894 0032E7F4 7C C7 40 50 */ subf r6, r7, r8 +/* 80331898 0032E7F8 7C 87 00 50 */ subf r4, r7, r0 +/* 8033189C 0032E7FC 7C 06 23 D6 */ divw r0, r6, r4 +/* 803318A0 0032E800 90 C1 00 0C */ stw r6, 0xc(r1) +/* 803318A4 0032E804 7C 00 21 D6 */ mullw r0, r0, r4 +/* 803318A8 0032E808 7C 00 30 50 */ subf r0, r0, r6 +/* 803318AC 0032E80C 90 01 00 0C */ stw r0, 0xc(r1) +/* 803318B0 0032E810 7C 00 3A 14 */ add r0, r0, r7 +/* 803318B4 0032E814 90 01 00 0C */ stw r0, 0xc(r1) +lbl_803318B8: +/* 803318B8 0032E818 80 01 00 0C */ lwz r0, 0xc(r1) +/* 803318BC 0032E81C 80 63 00 24 */ lwz r3, 0x24(r3) +/* 803318C0 0032E820 54 00 10 3A */ slwi r0, r0, 2 +/* 803318C4 0032E824 7C 03 04 2E */ lfsx f0, r3, r0 +/* 803318C8 0032E828 D0 05 00 00 */ stfs f0, 0(r5) +/* 803318CC 0032E82C 48 00 00 38 */ b lbl_80331904 +lbl_803318D0: +/* 803318D0 0032E830 80 C3 00 10 */ lwz r6, 0x10(r3) +/* 803318D4 0032E834 38 81 00 0C */ addi r4, r1, 0xc +/* 803318D8 0032E838 38 06 FF FF */ addi r0, r6, -1 +/* 803318DC 0032E83C 7C 00 40 00 */ cmpw r0, r8 +/* 803318E0 0032E840 90 01 00 08 */ stw r0, 8(r1) +/* 803318E4 0032E844 40 80 00 08 */ bge lbl_803318EC +/* 803318E8 0032E848 38 81 00 08 */ addi r4, r1, 8 +lbl_803318EC: +/* 803318EC 0032E84C 80 04 00 00 */ lwz r0, 0(r4) +/* 803318F0 0032E850 80 63 00 24 */ lwz r3, 0x24(r3) +/* 803318F4 0032E854 90 01 00 0C */ stw r0, 0xc(r1) +/* 803318F8 0032E858 54 00 10 3A */ slwi r0, r0, 2 +/* 803318FC 0032E85C 7C 03 04 2E */ lfsx f0, r3, r0 +/* 80331900 0032E860 D0 05 00 00 */ stfs f0, 0(r5) +lbl_80331904: +/* 80331904 0032E864 38 60 00 00 */ li r3, 0 +/* 80331908 0032E868 48 00 00 58 */ b lbl_80331960 +lbl_8033190C: +/* 8033190C 0032E86C 80 8D A8 E0 */ lwz r4, lbl_805A94A0@sda21(r13) +/* 80331910 0032E870 2C 04 00 64 */ cmpwi r4, 0x64 +/* 80331914 0032E874 40 82 00 18 */ bne lbl_8033192C +/* 80331918 0032E878 80 63 00 24 */ lwz r3, 0x24(r3) +/* 8033191C 0032E87C 54 80 10 3A */ slwi r0, r4, 2 +/* 80331920 0032E880 7C 03 04 2E */ lfsx f0, r3, r0 +/* 80331924 0032E884 D0 05 00 00 */ stfs f0, 0(r5) +/* 80331928 0032E888 48 00 00 34 */ b lbl_8033195C +lbl_8033192C: +/* 8033192C 0032E88C 38 04 00 01 */ addi r0, r4, 1 +/* 80331930 0032E890 80 C3 00 24 */ lwz r6, 0x24(r3) +/* 80331934 0032E894 54 03 10 3A */ slwi r3, r0, 2 +/* 80331938 0032E898 54 80 10 3A */ slwi r0, r4, 2 +/* 8033193C 0032E89C C0 6D A8 E8 */ lfs f3, lbl_805A94A8@sda21(r13) +/* 80331940 0032E8A0 C0 22 CB 18 */ lfs f1, lbl_805AE838@sda21(r2) +/* 80331944 0032E8A4 7C 06 1C 2E */ lfsx f0, r6, r3 +/* 80331948 0032E8A8 EC 41 18 28 */ fsubs f2, f1, f3 +/* 8033194C 0032E8AC 7C 26 04 2E */ lfsx f1, r6, r0 +/* 80331950 0032E8B0 EC 03 00 32 */ fmuls f0, f3, f0 +/* 80331954 0032E8B4 EC 02 00 7A */ fmadds f0, f2, f1, f0 +/* 80331958 0032E8B8 D0 05 00 00 */ stfs f0, 0(r5) +lbl_8033195C: +/* 8033195C 0032E8BC 38 60 00 00 */ li r3, 0 +lbl_80331960: +/* 80331960 0032E8C0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80331964 0032E8C4 4E 80 00 20 */ blr + +.global __dt__18CREKeyframeEmitter +__dt__18CREKeyframeEmitter: +/* 80331968 0032E8C8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033196C 0032E8CC 7C 08 02 A6 */ mflr r0 +/* 80331970 0032E8D0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80331974 0032E8D4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80331978 0032E8D8 7C 9F 23 78 */ mr r31, r4 +/* 8033197C 0032E8DC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80331980 0032E8E0 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80331984 0032E8E4 41 82 00 90 */ beq lbl_80331A14 +/* 80331988 0032E8E8 3C 60 80 3F */ lis r3, lbl_803EDFFC@ha +/* 8033198C 0032E8EC 34 1E 00 18 */ addic. r0, r30, 0x18 +/* 80331990 0032E8F0 38 03 DF FC */ addi r0, r3, lbl_803EDFFC@l +/* 80331994 0032E8F4 90 1E 00 00 */ stw r0, 0(r30) +/* 80331998 0032E8F8 41 82 00 44 */ beq lbl_803319DC +/* 8033199C 0032E8FC 80 1E 00 1C */ lwz r0, 0x1c(r30) +/* 803319A0 0032E900 80 7E 00 24 */ lwz r3, 0x24(r30) +/* 803319A4 0032E904 54 00 10 3A */ slwi r0, r0, 2 +/* 803319A8 0032E908 7C 03 02 14 */ add r0, r3, r0 +/* 803319AC 0032E90C 90 61 00 0C */ stw r3, 0xc(r1) +/* 803319B0 0032E910 7C 64 1B 78 */ mr r4, r3 +/* 803319B4 0032E914 90 01 00 14 */ stw r0, 0x14(r1) +/* 803319B8 0032E918 90 01 00 10 */ stw r0, 0x10(r1) +/* 803319BC 0032E91C 90 61 00 08 */ stw r3, 8(r1) +/* 803319C0 0032E920 48 00 00 08 */ b lbl_803319C8 +lbl_803319C4: +/* 803319C4 0032E924 38 84 00 04 */ addi r4, r4, 4 +lbl_803319C8: +/* 803319C8 0032E928 7C 04 00 40 */ cmplw r4, r0 +/* 803319CC 0032E92C 40 82 FF F8 */ bne lbl_803319C4 +/* 803319D0 0032E930 28 03 00 00 */ cmplwi r3, 0 +/* 803319D4 0032E934 41 82 00 08 */ beq lbl_803319DC +/* 803319D8 0032E938 4B FE 3F 59 */ bl Free__7CMemoryFPCv +lbl_803319DC: +/* 803319DC 0032E93C 28 1E 00 00 */ cmplwi r30, 0 +/* 803319E0 0032E940 41 82 00 20 */ beq lbl_80331A00 +/* 803319E4 0032E944 3C 60 80 3F */ lis r3, lbl_803EC554@ha +/* 803319E8 0032E948 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l +/* 803319EC 0032E94C 90 1E 00 00 */ stw r0, 0(r30) +/* 803319F0 0032E950 41 82 00 10 */ beq lbl_80331A00 +/* 803319F4 0032E954 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 803319F8 0032E958 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 803319FC 0032E95C 90 1E 00 00 */ stw r0, 0(r30) +lbl_80331A00: +/* 80331A00 0032E960 7F E0 07 35 */ extsh. r0, r31 +/* 80331A04 0032E964 40 81 00 10 */ ble lbl_80331A14 +/* 80331A08 0032E968 7F C3 F3 78 */ mr r3, r30 +/* 80331A0C 0032E96C 38 80 00 28 */ li r4, 0x28 +/* 80331A10 0032E970 48 03 B0 55 */ bl sub_8036ca64 +lbl_80331A14: +/* 80331A14 0032E974 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80331A18 0032E978 7F C3 F3 78 */ mr r3, r30 +/* 80331A1C 0032E97C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80331A20 0032E980 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80331A24 0032E984 7C 08 03 A6 */ mtlr r0 +/* 80331A28 0032E988 38 21 00 20 */ addi r1, r1, 0x20 +/* 80331A2C 0032E98C 4E 80 00 20 */ blr + +.global __ct__18CREKeyframeEmitterFR12CInputStream +__ct__18CREKeyframeEmitterFR12CInputStream: +/* 80331A30 0032E990 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80331A34 0032E994 7C 08 02 A6 */ mflr r0 +/* 80331A38 0032E998 3C A0 80 3F */ lis r5, lbl_803EC554@ha +/* 80331A3C 0032E99C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80331A40 0032E9A0 DB E1 00 18 */ stfd f31, 0x18(r1) +/* 80331A44 0032E9A4 93 E1 00 14 */ stw r31, 0x14(r1) +/* 80331A48 0032E9A8 7C 7F 1B 78 */ mr r31, r3 +/* 80331A4C 0032E9AC 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80331A50 0032E9B0 93 C1 00 10 */ stw r30, 0x10(r1) +/* 80331A54 0032E9B4 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80331A58 0032E9B8 3C 60 80 3F */ lis r3, lbl_803EDFFC@ha +/* 80331A5C 0032E9BC 7F E6 FB 78 */ mr r6, r31 +/* 80331A60 0032E9C0 93 A1 00 0C */ stw r29, 0xc(r1) +/* 80331A64 0032E9C4 93 81 00 08 */ stw r28, 8(r1) +/* 80331A68 0032E9C8 7C 9C 23 78 */ mr r28, r4 +/* 80331A6C 0032E9CC 90 1F 00 00 */ stw r0, 0(r31) +/* 80331A70 0032E9D0 38 05 C5 54 */ addi r0, r5, lbl_803EC554@l +/* 80331A74 0032E9D4 90 1F 00 00 */ stw r0, 0(r31) +/* 80331A78 0032E9D8 38 03 DF FC */ addi r0, r3, lbl_803EDFFC@l +/* 80331A7C 0032E9DC 7F 83 E3 78 */ mr r3, r28 +/* 80331A80 0032E9E0 90 1F 00 00 */ stw r0, 0(r31) +/* 80331A84 0032E9E4 48 00 D2 01 */ bl ReadLong__12CInputStreamFv +/* 80331A88 0032E9E8 90 7F 00 04 */ stw r3, 4(r31) +/* 80331A8C 0032E9EC 7F 83 E3 78 */ mr r3, r28 +/* 80331A90 0032E9F0 48 00 D1 F5 */ bl ReadLong__12CInputStreamFv +/* 80331A94 0032E9F4 90 7F 00 08 */ stw r3, 8(r31) +/* 80331A98 0032E9F8 7F 83 E3 78 */ mr r3, r28 +/* 80331A9C 0032E9FC 48 00 D2 41 */ bl ReadBool__12CInputStreamFv +/* 80331AA0 0032EA00 98 7F 00 0C */ stb r3, 0xc(r31) +/* 80331AA4 0032EA04 7F 83 E3 78 */ mr r3, r28 +/* 80331AA8 0032EA08 48 00 D2 35 */ bl ReadBool__12CInputStreamFv +/* 80331AAC 0032EA0C 98 7F 00 0D */ stb r3, 0xd(r31) +/* 80331AB0 0032EA10 7F 83 E3 78 */ mr r3, r28 +/* 80331AB4 0032EA14 48 00 D1 D1 */ bl ReadLong__12CInputStreamFv +/* 80331AB8 0032EA18 90 7F 00 10 */ stw r3, 0x10(r31) +/* 80331ABC 0032EA1C 7F 83 E3 78 */ mr r3, r28 +/* 80331AC0 0032EA20 48 00 D1 C5 */ bl ReadLong__12CInputStreamFv +/* 80331AC4 0032EA24 90 7F 00 14 */ stw r3, 0x14(r31) +/* 80331AC8 0032EA28 38 00 00 00 */ li r0, 0 +/* 80331ACC 0032EA2C 7F 83 E3 78 */ mr r3, r28 +/* 80331AD0 0032EA30 90 1F 00 1C */ stw r0, 0x1c(r31) +/* 80331AD4 0032EA34 90 1F 00 20 */ stw r0, 0x20(r31) +/* 80331AD8 0032EA38 90 1F 00 24 */ stw r0, 0x24(r31) +/* 80331ADC 0032EA3C 48 00 D1 A9 */ bl ReadLong__12CInputStreamFv +/* 80331AE0 0032EA40 7C 7D 1B 78 */ mr r29, r3 +/* 80331AE4 0032EA44 38 7F 00 18 */ addi r3, r31, 0x18 +/* 80331AE8 0032EA48 7F A4 EB 78 */ mr r4, r29 +/* 80331AEC 0032EA4C 4B D2 C3 0D */ bl "reserve__Q24rstl36vectorFi" +/* 80331AF0 0032EA50 3B C0 00 00 */ li r30, 0 +/* 80331AF4 0032EA54 48 00 00 60 */ b lbl_80331B54 +lbl_80331AF8: +/* 80331AF8 0032EA58 7F 83 E3 78 */ mr r3, r28 +/* 80331AFC 0032EA5C 48 00 D1 2D */ bl ReadFloat__12CInputStreamFv +/* 80331B00 0032EA60 80 1F 00 1C */ lwz r0, 0x1c(r31) +/* 80331B04 0032EA64 FF E0 08 90 */ fmr f31, f1 +/* 80331B08 0032EA68 80 BF 00 20 */ lwz r5, 0x20(r31) +/* 80331B0C 0032EA6C 7C 00 28 00 */ cmpw r0, r5 +/* 80331B10 0032EA70 41 80 00 1C */ blt lbl_80331B2C +/* 80331B14 0032EA74 2C 05 00 00 */ cmpwi r5, 0 +/* 80331B18 0032EA78 38 7F 00 18 */ addi r3, r31, 0x18 +/* 80331B1C 0032EA7C 38 80 00 04 */ li r4, 4 +/* 80331B20 0032EA80 41 82 00 08 */ beq lbl_80331B28 +/* 80331B24 0032EA84 54 A4 08 3C */ slwi r4, r5, 1 +lbl_80331B28: +/* 80331B28 0032EA88 4B D2 C2 D1 */ bl "reserve__Q24rstl36vectorFi" +lbl_80331B2C: +/* 80331B2C 0032EA8C 80 1F 00 1C */ lwz r0, 0x1c(r31) +/* 80331B30 0032EA90 80 7F 00 24 */ lwz r3, 0x24(r31) +/* 80331B34 0032EA94 54 00 10 3A */ slwi r0, r0, 2 +/* 80331B38 0032EA98 7C 63 02 15 */ add. r3, r3, r0 +/* 80331B3C 0032EA9C 41 82 00 08 */ beq lbl_80331B44 +/* 80331B40 0032EAA0 D3 E3 00 00 */ stfs f31, 0(r3) +lbl_80331B44: +/* 80331B44 0032EAA4 80 7F 00 1C */ lwz r3, 0x1c(r31) +/* 80331B48 0032EAA8 3B DE 00 01 */ addi r30, r30, 1 +/* 80331B4C 0032EAAC 38 03 00 01 */ addi r0, r3, 1 +/* 80331B50 0032EAB0 90 1F 00 1C */ stw r0, 0x1c(r31) +lbl_80331B54: +/* 80331B54 0032EAB4 7C 1E E8 00 */ cmpw r30, r29 +/* 80331B58 0032EAB8 41 80 FF A0 */ blt lbl_80331AF8 +/* 80331B5C 0032EABC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80331B60 0032EAC0 7F E3 FB 78 */ mr r3, r31 +/* 80331B64 0032EAC4 CB E1 00 18 */ lfd f31, 0x18(r1) +/* 80331B68 0032EAC8 83 E1 00 14 */ lwz r31, 0x14(r1) +/* 80331B6C 0032EACC 83 C1 00 10 */ lwz r30, 0x10(r1) +/* 80331B70 0032EAD0 83 A1 00 0C */ lwz r29, 0xc(r1) +/* 80331B74 0032EAD4 83 81 00 08 */ lwz r28, 8(r1) +/* 80331B78 0032EAD8 7C 08 03 A6 */ mtlr r0 +/* 80331B7C 0032EADC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80331B80 0032EAE0 4E 80 00 20 */ blr + +.global GetValue__16CRELifetimeTweenCFiRf +GetValue__16CRELifetimeTweenCFiRf: +/* 80331B84 0032EAE4 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80331B88 0032EAE8 7C 08 02 A6 */ mflr r0 +/* 80331B8C 0032EAEC 90 01 00 44 */ stw r0, 0x44(r1) +/* 80331B90 0032EAF0 DB E1 00 30 */ stfd f31, 0x30(r1) +/* 80331B94 0032EAF4 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 80331B98 0032EAF8 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80331B9C 0032EAFC 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80331BA0 0032EB00 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80331BA4 0032EB04 7C 9E 23 78 */ mr r30, r4 +/* 80331BA8 0032EB08 3C 00 43 30 */ lis r0, 0x4330 +/* 80331BAC 0032EB0C 6F C6 80 00 */ xoris r6, r30, 0x8000 +/* 80331BB0 0032EB10 7C 7D 1B 78 */ mr r29, r3 +/* 80331BB4 0032EB14 90 C1 00 14 */ stw r6, 0x14(r1) +/* 80331BB8 0032EB18 7C BF 2B 78 */ mr r31, r5 +/* 80331BBC 0032EB1C 80 63 00 04 */ lwz r3, 4(r3) +/* 80331BC0 0032EB20 38 A1 00 0C */ addi r5, r1, 0xc +/* 80331BC4 0032EB24 90 01 00 10 */ stw r0, 0x10(r1) +/* 80331BC8 0032EB28 C8 42 CB 20 */ lfd f2, lbl_805AE840@sda21(r2) +/* 80331BCC 0032EB2C C8 21 00 10 */ lfd f1, 0x10(r1) +/* 80331BD0 0032EB30 C0 0D A8 D4 */ lfs f0, lbl_805A9494@sda21(r13) +/* 80331BD4 0032EB34 EC 21 10 28 */ fsubs f1, f1, f2 +/* 80331BD8 0032EB38 81 83 00 00 */ lwz r12, 0(r3) +/* 80331BDC 0032EB3C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80331BE0 0032EB40 EF E1 00 24 */ fdivs f31, f1, f0 +/* 80331BE4 0032EB44 7D 89 03 A6 */ mtctr r12 +/* 80331BE8 0032EB48 4E 80 04 21 */ bctrl +/* 80331BEC 0032EB4C 80 7D 00 08 */ lwz r3, 8(r29) +/* 80331BF0 0032EB50 7F C4 F3 78 */ mr r4, r30 +/* 80331BF4 0032EB54 38 A1 00 08 */ addi r5, r1, 8 +/* 80331BF8 0032EB58 81 83 00 00 */ lwz r12, 0(r3) +/* 80331BFC 0032EB5C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80331C00 0032EB60 7D 89 03 A6 */ mtctr r12 +/* 80331C04 0032EB64 4E 80 04 21 */ bctrl +/* 80331C08 0032EB68 C0 02 CB 18 */ lfs f0, lbl_805AE838@sda21(r2) +/* 80331C0C 0032EB6C 38 60 00 00 */ li r3, 0 +/* 80331C10 0032EB70 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 80331C14 0032EB74 EC 00 F8 28 */ fsubs f0, f0, f31 +/* 80331C18 0032EB78 C0 41 00 08 */ lfs f2, 8(r1) +/* 80331C1C 0032EB7C EC 01 00 32 */ fmuls f0, f1, f0 +/* 80331C20 0032EB80 EC 02 07 FA */ fmadds f0, f2, f31, f0 +/* 80331C24 0032EB84 D0 1F 00 00 */ stfs f0, 0(r31) +/* 80331C28 0032EB88 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 80331C2C 0032EB8C 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80331C30 0032EB90 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 80331C34 0032EB94 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80331C38 0032EB98 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80331C3C 0032EB9C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80331C40 0032EBA0 7C 08 03 A6 */ mtlr r0 +/* 80331C44 0032EBA4 38 21 00 40 */ addi r1, r1, 0x40 +/* 80331C48 0032EBA8 4E 80 00 20 */ blr + +.global __dt__16CRELifetimeTween +__dt__16CRELifetimeTween: +/* 80331C4C 0032EBAC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80331C50 0032EBB0 7C 08 02 A6 */ mflr r0 +/* 80331C54 0032EBB4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80331C58 0032EBB8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80331C5C 0032EBBC 7C 9F 23 78 */ mr r31, r4 +/* 80331C60 0032EBC0 93 C1 00 08 */ stw r30, 8(r1) +/* 80331C64 0032EBC4 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80331C68 0032EBC8 41 82 00 88 */ beq lbl_80331CF0 +/* 80331C6C 0032EBCC 3C 60 80 3F */ lis r3, lbl_803EE010@ha +/* 80331C70 0032EBD0 38 03 E0 10 */ addi r0, r3, lbl_803EE010@l +/* 80331C74 0032EBD4 90 1E 00 00 */ stw r0, 0(r30) +/* 80331C78 0032EBD8 80 7E 00 04 */ lwz r3, 4(r30) +/* 80331C7C 0032EBDC 28 03 00 00 */ cmplwi r3, 0 +/* 80331C80 0032EBE0 41 82 00 18 */ beq lbl_80331C98 +/* 80331C84 0032EBE4 81 83 00 00 */ lwz r12, 0(r3) +/* 80331C88 0032EBE8 38 80 00 01 */ li r4, 1 +/* 80331C8C 0032EBEC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80331C90 0032EBF0 7D 89 03 A6 */ mtctr r12 +/* 80331C94 0032EBF4 4E 80 04 21 */ bctrl +lbl_80331C98: +/* 80331C98 0032EBF8 80 7E 00 08 */ lwz r3, 8(r30) +/* 80331C9C 0032EBFC 28 03 00 00 */ cmplwi r3, 0 +/* 80331CA0 0032EC00 41 82 00 18 */ beq lbl_80331CB8 +/* 80331CA4 0032EC04 81 83 00 00 */ lwz r12, 0(r3) +/* 80331CA8 0032EC08 38 80 00 01 */ li r4, 1 +/* 80331CAC 0032EC0C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80331CB0 0032EC10 7D 89 03 A6 */ mtctr r12 +/* 80331CB4 0032EC14 4E 80 04 21 */ bctrl +lbl_80331CB8: +/* 80331CB8 0032EC18 28 1E 00 00 */ cmplwi r30, 0 +/* 80331CBC 0032EC1C 41 82 00 20 */ beq lbl_80331CDC +/* 80331CC0 0032EC20 3C 60 80 3F */ lis r3, lbl_803EC554@ha +/* 80331CC4 0032EC24 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l +/* 80331CC8 0032EC28 90 1E 00 00 */ stw r0, 0(r30) +/* 80331CCC 0032EC2C 41 82 00 10 */ beq lbl_80331CDC +/* 80331CD0 0032EC30 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80331CD4 0032EC34 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80331CD8 0032EC38 90 1E 00 00 */ stw r0, 0(r30) +lbl_80331CDC: +/* 80331CDC 0032EC3C 7F E0 07 35 */ extsh. r0, r31 +/* 80331CE0 0032EC40 40 81 00 10 */ ble lbl_80331CF0 +/* 80331CE4 0032EC44 7F C3 F3 78 */ mr r3, r30 +/* 80331CE8 0032EC48 38 80 00 0C */ li r4, 0xc +/* 80331CEC 0032EC4C 48 03 AD 79 */ bl sub_8036ca64 +lbl_80331CF0: +/* 80331CF0 0032EC50 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80331CF4 0032EC54 7F C3 F3 78 */ mr r3, r30 +/* 80331CF8 0032EC58 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80331CFC 0032EC5C 83 C1 00 08 */ lwz r30, 8(r1) +/* 80331D00 0032EC60 7C 08 03 A6 */ mtlr r0 +/* 80331D04 0032EC64 38 21 00 10 */ addi r1, r1, 0x10 +/* 80331D08 0032EC68 4E 80 00 20 */ blr + +.global __ct__16CRELifetimeTweenFP12CRealElementP12CRealElement +__ct__16CRELifetimeTweenFP12CRealElementP12CRealElement: +/* 80331D0C 0032EC6C 3D 00 80 3F */ lis r8, lbl_803EC5A8@ha +/* 80331D10 0032EC70 3C E0 80 3F */ lis r7, lbl_803EC554@ha +/* 80331D14 0032EC74 38 08 C5 A8 */ addi r0, r8, lbl_803EC5A8@l +/* 80331D18 0032EC78 3C C0 80 3F */ lis r6, lbl_803EE010@ha +/* 80331D1C 0032EC7C 90 03 00 00 */ stw r0, 0(r3) +/* 80331D20 0032EC80 38 E7 C5 54 */ addi r7, r7, lbl_803EC554@l +/* 80331D24 0032EC84 38 06 E0 10 */ addi r0, r6, lbl_803EE010@l +/* 80331D28 0032EC88 90 E3 00 00 */ stw r7, 0(r3) +/* 80331D2C 0032EC8C 90 03 00 00 */ stw r0, 0(r3) +/* 80331D30 0032EC90 90 83 00 04 */ stw r4, 4(r3) +/* 80331D34 0032EC94 90 A3 00 08 */ stw r5, 8(r3) +/* 80331D38 0032EC98 4E 80 00 20 */ blr + +.global GetValue__18CRELifetimePercentCFiRf +GetValue__18CRELifetimePercentCFiRf: +/* 80331D3C 0032EC9C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80331D40 0032ECA0 7C 08 02 A6 */ mflr r0 +/* 80331D44 0032ECA4 C0 02 CB 2C */ lfs f0, lbl_805AE84C@sda21(r2) +/* 80331D48 0032ECA8 90 01 00 24 */ stw r0, 0x24(r1) +/* 80331D4C 0032ECAC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80331D50 0032ECB0 7C BF 2B 78 */ mr r31, r5 +/* 80331D54 0032ECB4 38 A1 00 08 */ addi r5, r1, 8 +/* 80331D58 0032ECB8 80 63 00 04 */ lwz r3, 4(r3) +/* 80331D5C 0032ECBC D0 01 00 08 */ stfs f0, 8(r1) +/* 80331D60 0032ECC0 81 83 00 00 */ lwz r12, 0(r3) +/* 80331D64 0032ECC4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80331D68 0032ECC8 7D 89 03 A6 */ mtctr r12 +/* 80331D6C 0032ECCC 4E 80 04 21 */ bctrl +/* 80331D70 0032ECD0 C0 21 00 08 */ lfs f1, 8(r1) +/* 80331D74 0032ECD4 C0 02 CB 2C */ lfs f0, lbl_805AE84C@sda21(r2) +/* 80331D78 0032ECD8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80331D7C 0032ECDC 40 80 00 08 */ bge lbl_80331D84 +/* 80331D80 0032ECE0 D0 01 00 08 */ stfs f0, 8(r1) +lbl_80331D84: +/* 80331D84 0032ECE4 C0 41 00 08 */ lfs f2, 8(r1) +/* 80331D88 0032ECE8 38 60 00 00 */ li r3, 0 +/* 80331D8C 0032ECEC C0 22 CB 34 */ lfs f1, lbl_805AE854@sda21(r2) +/* 80331D90 0032ECF0 C0 0D A8 D4 */ lfs f0, lbl_805A9494@sda21(r13) +/* 80331D94 0032ECF4 EC 22 08 24 */ fdivs f1, f2, f1 +/* 80331D98 0032ECF8 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80331D9C 0032ECFC D0 1F 00 00 */ stfs f0, 0(r31) +/* 80331DA0 0032ED00 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80331DA4 0032ED04 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80331DA8 0032ED08 7C 08 03 A6 */ mtlr r0 +/* 80331DAC 0032ED0C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80331DB0 0032ED10 4E 80 00 20 */ blr + +.global __dt__18CRELifetimePercent +__dt__18CRELifetimePercent: +/* 80331DB4 0032ED14 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80331DB8 0032ED18 7C 08 02 A6 */ mflr r0 +/* 80331DBC 0032ED1C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80331DC0 0032ED20 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80331DC4 0032ED24 7C 9F 23 78 */ mr r31, r4 +/* 80331DC8 0032ED28 93 C1 00 08 */ stw r30, 8(r1) +/* 80331DCC 0032ED2C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80331DD0 0032ED30 41 82 00 68 */ beq lbl_80331E38 +/* 80331DD4 0032ED34 3C 60 80 3F */ lis r3, lbl_803EE024@ha +/* 80331DD8 0032ED38 38 03 E0 24 */ addi r0, r3, lbl_803EE024@l +/* 80331DDC 0032ED3C 90 1E 00 00 */ stw r0, 0(r30) +/* 80331DE0 0032ED40 80 7E 00 04 */ lwz r3, 4(r30) +/* 80331DE4 0032ED44 28 03 00 00 */ cmplwi r3, 0 +/* 80331DE8 0032ED48 41 82 00 18 */ beq lbl_80331E00 +/* 80331DEC 0032ED4C 81 83 00 00 */ lwz r12, 0(r3) +/* 80331DF0 0032ED50 38 80 00 01 */ li r4, 1 +/* 80331DF4 0032ED54 81 8C 00 08 */ lwz r12, 8(r12) +/* 80331DF8 0032ED58 7D 89 03 A6 */ mtctr r12 +/* 80331DFC 0032ED5C 4E 80 04 21 */ bctrl +lbl_80331E00: +/* 80331E00 0032ED60 28 1E 00 00 */ cmplwi r30, 0 +/* 80331E04 0032ED64 41 82 00 20 */ beq lbl_80331E24 +/* 80331E08 0032ED68 3C 60 80 3F */ lis r3, lbl_803EC554@ha +/* 80331E0C 0032ED6C 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l +/* 80331E10 0032ED70 90 1E 00 00 */ stw r0, 0(r30) +/* 80331E14 0032ED74 41 82 00 10 */ beq lbl_80331E24 +/* 80331E18 0032ED78 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80331E1C 0032ED7C 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80331E20 0032ED80 90 1E 00 00 */ stw r0, 0(r30) +lbl_80331E24: +/* 80331E24 0032ED84 7F E0 07 35 */ extsh. r0, r31 +/* 80331E28 0032ED88 40 81 00 10 */ ble lbl_80331E38 +/* 80331E2C 0032ED8C 7F C3 F3 78 */ mr r3, r30 +/* 80331E30 0032ED90 38 80 00 08 */ li r4, 8 +/* 80331E34 0032ED94 48 03 AC 31 */ bl sub_8036ca64 +lbl_80331E38: +/* 80331E38 0032ED98 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80331E3C 0032ED9C 7F C3 F3 78 */ mr r3, r30 +/* 80331E40 0032EDA0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80331E44 0032EDA4 83 C1 00 08 */ lwz r30, 8(r1) +/* 80331E48 0032EDA8 7C 08 03 A6 */ mtlr r0 +/* 80331E4C 0032EDAC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80331E50 0032EDB0 4E 80 00 20 */ blr + +.global __ct__18CRELifetimePercentFP12CRealElement +__ct__18CRELifetimePercentFP12CRealElement: +/* 80331E54 0032EDB4 3C E0 80 3F */ lis r7, lbl_803EC5A8@ha +/* 80331E58 0032EDB8 3C C0 80 3F */ lis r6, lbl_803EC554@ha +/* 80331E5C 0032EDBC 38 07 C5 A8 */ addi r0, r7, lbl_803EC5A8@l +/* 80331E60 0032EDC0 3C A0 80 3F */ lis r5, lbl_803EE024@ha +/* 80331E64 0032EDC4 90 03 00 00 */ stw r0, 0(r3) +/* 80331E68 0032EDC8 38 C6 C5 54 */ addi r6, r6, lbl_803EC554@l +/* 80331E6C 0032EDCC 38 05 E0 24 */ addi r0, r5, lbl_803EE024@l +/* 80331E70 0032EDD0 90 C3 00 00 */ stw r6, 0(r3) +/* 80331E74 0032EDD4 90 03 00 00 */ stw r0, 0(r3) +/* 80331E78 0032EDD8 90 83 00 04 */ stw r4, 4(r3) +/* 80331E7C 0032EDDC 4E 80 00 20 */ blr + +.global GetValue__8CREPulseCFiRf +GetValue__8CREPulseCFiRf: +/* 80331E80 0032EDE0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80331E84 0032EDE4 7C 08 02 A6 */ mflr r0 +/* 80331E88 0032EDE8 90 01 00 24 */ stw r0, 0x24(r1) +/* 80331E8C 0032EDEC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80331E90 0032EDF0 7C BF 2B 78 */ mr r31, r5 +/* 80331E94 0032EDF4 38 A1 00 0C */ addi r5, r1, 0xc +/* 80331E98 0032EDF8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80331E9C 0032EDFC 7C 9E 23 78 */ mr r30, r4 +/* 80331EA0 0032EE00 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80331EA4 0032EE04 7C 7D 1B 78 */ mr r29, r3 +/* 80331EA8 0032EE08 80 63 00 04 */ lwz r3, 4(r3) +/* 80331EAC 0032EE0C 81 83 00 00 */ lwz r12, 0(r3) +/* 80331EB0 0032EE10 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80331EB4 0032EE14 7D 89 03 A6 */ mtctr r12 +/* 80331EB8 0032EE18 4E 80 04 21 */ bctrl +/* 80331EBC 0032EE1C 80 7D 00 08 */ lwz r3, 8(r29) +/* 80331EC0 0032EE20 7F C4 F3 78 */ mr r4, r30 +/* 80331EC4 0032EE24 38 A1 00 08 */ addi r5, r1, 8 +/* 80331EC8 0032EE28 81 83 00 00 */ lwz r12, 0(r3) +/* 80331ECC 0032EE2C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80331ED0 0032EE30 7D 89 03 A6 */ mtctr r12 +/* 80331ED4 0032EE34 4E 80 04 21 */ bctrl +/* 80331ED8 0032EE38 80 61 00 08 */ lwz r3, 8(r1) +/* 80331EDC 0032EE3C 80 81 00 0C */ lwz r4, 0xc(r1) +/* 80331EE0 0032EE40 38 A3 00 01 */ addi r5, r3, 1 +/* 80331EE4 0032EE44 7C A4 2A 15 */ add. r5, r4, r5 +/* 80331EE8 0032EE48 40 80 00 08 */ bge lbl_80331EF0 +/* 80331EEC 0032EE4C 38 A0 00 01 */ li r5, 1 +lbl_80331EF0: +/* 80331EF0 0032EE50 2C 03 00 01 */ cmpwi r3, 1 +/* 80331EF4 0032EE54 41 80 00 58 */ blt lbl_80331F4C +/* 80331EF8 0032EE58 7C 1E 2B D6 */ divw r0, r30, r5 +/* 80331EFC 0032EE5C 7C 00 29 D6 */ mullw r0, r0, r5 +/* 80331F00 0032EE60 7C 00 F0 50 */ subf r0, r0, r30 +/* 80331F04 0032EE64 7C 00 20 00 */ cmpw r0, r4 +/* 80331F08 0032EE68 41 80 00 24 */ blt lbl_80331F2C +/* 80331F0C 0032EE6C 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 80331F10 0032EE70 7F C4 F3 78 */ mr r4, r30 +/* 80331F14 0032EE74 7F E5 FB 78 */ mr r5, r31 +/* 80331F18 0032EE78 81 83 00 00 */ lwz r12, 0(r3) +/* 80331F1C 0032EE7C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80331F20 0032EE80 7D 89 03 A6 */ mtctr r12 +/* 80331F24 0032EE84 4E 80 04 21 */ bctrl +/* 80331F28 0032EE88 48 00 00 40 */ b lbl_80331F68 +lbl_80331F2C: +/* 80331F2C 0032EE8C 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 80331F30 0032EE90 7F C4 F3 78 */ mr r4, r30 +/* 80331F34 0032EE94 7F E5 FB 78 */ mr r5, r31 +/* 80331F38 0032EE98 81 83 00 00 */ lwz r12, 0(r3) +/* 80331F3C 0032EE9C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80331F40 0032EEA0 7D 89 03 A6 */ mtctr r12 +/* 80331F44 0032EEA4 4E 80 04 21 */ bctrl +/* 80331F48 0032EEA8 48 00 00 20 */ b lbl_80331F68 +lbl_80331F4C: +/* 80331F4C 0032EEAC 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 80331F50 0032EEB0 7F C4 F3 78 */ mr r4, r30 +/* 80331F54 0032EEB4 7F E5 FB 78 */ mr r5, r31 +/* 80331F58 0032EEB8 81 83 00 00 */ lwz r12, 0(r3) +/* 80331F5C 0032EEBC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80331F60 0032EEC0 7D 89 03 A6 */ mtctr r12 +/* 80331F64 0032EEC4 4E 80 04 21 */ bctrl +lbl_80331F68: +/* 80331F68 0032EEC8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80331F6C 0032EECC 38 60 00 00 */ li r3, 0 +/* 80331F70 0032EED0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80331F74 0032EED4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80331F78 0032EED8 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80331F7C 0032EEDC 7C 08 03 A6 */ mtlr r0 +/* 80331F80 0032EEE0 38 21 00 20 */ addi r1, r1, 0x20 +/* 80331F84 0032EEE4 4E 80 00 20 */ blr + +.global __dt__8CREPulse +__dt__8CREPulse: +/* 80331F88 0032EEE8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80331F8C 0032EEEC 7C 08 02 A6 */ mflr r0 +/* 80331F90 0032EEF0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80331F94 0032EEF4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80331F98 0032EEF8 7C 9F 23 78 */ mr r31, r4 +/* 80331F9C 0032EEFC 93 C1 00 08 */ stw r30, 8(r1) +/* 80331FA0 0032EF00 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80331FA4 0032EF04 41 82 00 C8 */ beq lbl_8033206C +/* 80331FA8 0032EF08 3C 60 80 3F */ lis r3, lbl_803EE038@ha +/* 80331FAC 0032EF0C 38 03 E0 38 */ addi r0, r3, lbl_803EE038@l +/* 80331FB0 0032EF10 90 1E 00 00 */ stw r0, 0(r30) +/* 80331FB4 0032EF14 80 7E 00 04 */ lwz r3, 4(r30) +/* 80331FB8 0032EF18 28 03 00 00 */ cmplwi r3, 0 +/* 80331FBC 0032EF1C 41 82 00 18 */ beq lbl_80331FD4 +/* 80331FC0 0032EF20 81 83 00 00 */ lwz r12, 0(r3) +/* 80331FC4 0032EF24 38 80 00 01 */ li r4, 1 +/* 80331FC8 0032EF28 81 8C 00 08 */ lwz r12, 8(r12) +/* 80331FCC 0032EF2C 7D 89 03 A6 */ mtctr r12 +/* 80331FD0 0032EF30 4E 80 04 21 */ bctrl +lbl_80331FD4: +/* 80331FD4 0032EF34 80 7E 00 08 */ lwz r3, 8(r30) +/* 80331FD8 0032EF38 28 03 00 00 */ cmplwi r3, 0 +/* 80331FDC 0032EF3C 41 82 00 18 */ beq lbl_80331FF4 +/* 80331FE0 0032EF40 81 83 00 00 */ lwz r12, 0(r3) +/* 80331FE4 0032EF44 38 80 00 01 */ li r4, 1 +/* 80331FE8 0032EF48 81 8C 00 08 */ lwz r12, 8(r12) +/* 80331FEC 0032EF4C 7D 89 03 A6 */ mtctr r12 +/* 80331FF0 0032EF50 4E 80 04 21 */ bctrl +lbl_80331FF4: +/* 80331FF4 0032EF54 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80331FF8 0032EF58 28 03 00 00 */ cmplwi r3, 0 +/* 80331FFC 0032EF5C 41 82 00 18 */ beq lbl_80332014 +/* 80332000 0032EF60 81 83 00 00 */ lwz r12, 0(r3) +/* 80332004 0032EF64 38 80 00 01 */ li r4, 1 +/* 80332008 0032EF68 81 8C 00 08 */ lwz r12, 8(r12) +/* 8033200C 0032EF6C 7D 89 03 A6 */ mtctr r12 +/* 80332010 0032EF70 4E 80 04 21 */ bctrl +lbl_80332014: +/* 80332014 0032EF74 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 80332018 0032EF78 28 03 00 00 */ cmplwi r3, 0 +/* 8033201C 0032EF7C 41 82 00 18 */ beq lbl_80332034 +/* 80332020 0032EF80 81 83 00 00 */ lwz r12, 0(r3) +/* 80332024 0032EF84 38 80 00 01 */ li r4, 1 +/* 80332028 0032EF88 81 8C 00 08 */ lwz r12, 8(r12) +/* 8033202C 0032EF8C 7D 89 03 A6 */ mtctr r12 +/* 80332030 0032EF90 4E 80 04 21 */ bctrl +lbl_80332034: +/* 80332034 0032EF94 28 1E 00 00 */ cmplwi r30, 0 +/* 80332038 0032EF98 41 82 00 20 */ beq lbl_80332058 +/* 8033203C 0032EF9C 3C 60 80 3F */ lis r3, lbl_803EC554@ha +/* 80332040 0032EFA0 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l +/* 80332044 0032EFA4 90 1E 00 00 */ stw r0, 0(r30) +/* 80332048 0032EFA8 41 82 00 10 */ beq lbl_80332058 +/* 8033204C 0032EFAC 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80332050 0032EFB0 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80332054 0032EFB4 90 1E 00 00 */ stw r0, 0(r30) +lbl_80332058: +/* 80332058 0032EFB8 7F E0 07 35 */ extsh. r0, r31 +/* 8033205C 0032EFBC 40 81 00 10 */ ble lbl_8033206C +/* 80332060 0032EFC0 7F C3 F3 78 */ mr r3, r30 +/* 80332064 0032EFC4 38 80 00 14 */ li r4, 0x14 +/* 80332068 0032EFC8 48 03 A9 FD */ bl sub_8036ca64 +lbl_8033206C: +/* 8033206C 0032EFCC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80332070 0032EFD0 7F C3 F3 78 */ mr r3, r30 +/* 80332074 0032EFD4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80332078 0032EFD8 83 C1 00 08 */ lwz r30, 8(r1) +/* 8033207C 0032EFDC 7C 08 03 A6 */ mtlr r0 +/* 80332080 0032EFE0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80332084 0032EFE4 4E 80 00 20 */ blr + +.global __ct__8CREPulseFP11CIntElementP11CIntElementP12CRealElementP12CRealElement +__ct__8CREPulseFP11CIntElementP11CIntElementP12CRealElementP12CRealElement: +/* 80332088 0032EFE8 3D 40 80 3F */ lis r10, lbl_803EC5A8@ha +/* 8033208C 0032EFEC 3D 20 80 3F */ lis r9, lbl_803EC554@ha +/* 80332090 0032EFF0 38 0A C5 A8 */ addi r0, r10, lbl_803EC5A8@l +/* 80332094 0032EFF4 3D 00 80 3F */ lis r8, lbl_803EE038@ha +/* 80332098 0032EFF8 90 03 00 00 */ stw r0, 0(r3) +/* 8033209C 0032EFFC 39 29 C5 54 */ addi r9, r9, lbl_803EC554@l +/* 803320A0 0032F000 38 08 E0 38 */ addi r0, r8, lbl_803EE038@l +/* 803320A4 0032F004 91 23 00 00 */ stw r9, 0(r3) +/* 803320A8 0032F008 90 03 00 00 */ stw r0, 0(r3) +/* 803320AC 0032F00C 90 83 00 04 */ stw r4, 4(r3) +/* 803320B0 0032F010 90 A3 00 08 */ stw r5, 8(r3) +/* 803320B4 0032F014 90 C3 00 0C */ stw r6, 0xc(r3) +/* 803320B8 0032F018 90 E3 00 10 */ stw r7, 0x10(r3) +/* 803320BC 0032F01C 4E 80 00 20 */ blr + +.global GetValue__8CREClampCFiRf +GetValue__8CREClampCFiRf: +/* 803320C0 0032F020 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803320C4 0032F024 7C 08 02 A6 */ mflr r0 +/* 803320C8 0032F028 90 01 00 24 */ stw r0, 0x24(r1) +/* 803320CC 0032F02C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 803320D0 0032F030 7C BF 2B 78 */ mr r31, r5 +/* 803320D4 0032F034 38 A1 00 0C */ addi r5, r1, 0xc +/* 803320D8 0032F038 93 C1 00 18 */ stw r30, 0x18(r1) +/* 803320DC 0032F03C 7C 9E 23 78 */ mr r30, r4 +/* 803320E0 0032F040 93 A1 00 14 */ stw r29, 0x14(r1) +/* 803320E4 0032F044 7C 7D 1B 78 */ mr r29, r3 +/* 803320E8 0032F048 80 63 00 04 */ lwz r3, 4(r3) +/* 803320EC 0032F04C 81 83 00 00 */ lwz r12, 0(r3) +/* 803320F0 0032F050 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803320F4 0032F054 7D 89 03 A6 */ mtctr r12 +/* 803320F8 0032F058 4E 80 04 21 */ bctrl +/* 803320FC 0032F05C 80 7D 00 08 */ lwz r3, 8(r29) +/* 80332100 0032F060 7F C4 F3 78 */ mr r4, r30 +/* 80332104 0032F064 38 A1 00 08 */ addi r5, r1, 8 +/* 80332108 0032F068 81 83 00 00 */ lwz r12, 0(r3) +/* 8033210C 0032F06C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80332110 0032F070 7D 89 03 A6 */ mtctr r12 +/* 80332114 0032F074 4E 80 04 21 */ bctrl +/* 80332118 0032F078 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 8033211C 0032F07C 7F C4 F3 78 */ mr r4, r30 +/* 80332120 0032F080 7F E5 FB 78 */ mr r5, r31 +/* 80332124 0032F084 81 83 00 00 */ lwz r12, 0(r3) +/* 80332128 0032F088 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8033212C 0032F08C 7D 89 03 A6 */ mtctr r12 +/* 80332130 0032F090 4E 80 04 21 */ bctrl +/* 80332134 0032F094 C0 1F 00 00 */ lfs f0, 0(r31) +/* 80332138 0032F098 C0 21 00 08 */ lfs f1, 8(r1) +/* 8033213C 0032F09C FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80332140 0032F0A0 40 81 00 08 */ ble lbl_80332148 +/* 80332144 0032F0A4 D0 3F 00 00 */ stfs f1, 0(r31) +lbl_80332148: +/* 80332148 0032F0A8 C0 1F 00 00 */ lfs f0, 0(r31) +/* 8033214C 0032F0AC C0 21 00 0C */ lfs f1, 0xc(r1) +/* 80332150 0032F0B0 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80332154 0032F0B4 40 80 00 08 */ bge lbl_8033215C +/* 80332158 0032F0B8 D0 3F 00 00 */ stfs f1, 0(r31) +lbl_8033215C: +/* 8033215C 0032F0BC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80332160 0032F0C0 38 60 00 00 */ li r3, 0 +/* 80332164 0032F0C4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80332168 0032F0C8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8033216C 0032F0CC 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80332170 0032F0D0 7C 08 03 A6 */ mtlr r0 +/* 80332174 0032F0D4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80332178 0032F0D8 4E 80 00 20 */ blr + +.global __dt__8CREClamp +__dt__8CREClamp: +/* 8033217C 0032F0DC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80332180 0032F0E0 7C 08 02 A6 */ mflr r0 +/* 80332184 0032F0E4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80332188 0032F0E8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033218C 0032F0EC 7C 9F 23 78 */ mr r31, r4 +/* 80332190 0032F0F0 93 C1 00 08 */ stw r30, 8(r1) +/* 80332194 0032F0F4 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80332198 0032F0F8 41 82 00 A8 */ beq lbl_80332240 +/* 8033219C 0032F0FC 3C 60 80 3F */ lis r3, lbl_803EE04C@ha +/* 803321A0 0032F100 38 03 E0 4C */ addi r0, r3, lbl_803EE04C@l +/* 803321A4 0032F104 90 1E 00 00 */ stw r0, 0(r30) +/* 803321A8 0032F108 80 7E 00 04 */ lwz r3, 4(r30) +/* 803321AC 0032F10C 28 03 00 00 */ cmplwi r3, 0 +/* 803321B0 0032F110 41 82 00 18 */ beq lbl_803321C8 +/* 803321B4 0032F114 81 83 00 00 */ lwz r12, 0(r3) +/* 803321B8 0032F118 38 80 00 01 */ li r4, 1 +/* 803321BC 0032F11C 81 8C 00 08 */ lwz r12, 8(r12) +/* 803321C0 0032F120 7D 89 03 A6 */ mtctr r12 +/* 803321C4 0032F124 4E 80 04 21 */ bctrl +lbl_803321C8: +/* 803321C8 0032F128 80 7E 00 08 */ lwz r3, 8(r30) +/* 803321CC 0032F12C 28 03 00 00 */ cmplwi r3, 0 +/* 803321D0 0032F130 41 82 00 18 */ beq lbl_803321E8 +/* 803321D4 0032F134 81 83 00 00 */ lwz r12, 0(r3) +/* 803321D8 0032F138 38 80 00 01 */ li r4, 1 +/* 803321DC 0032F13C 81 8C 00 08 */ lwz r12, 8(r12) +/* 803321E0 0032F140 7D 89 03 A6 */ mtctr r12 +/* 803321E4 0032F144 4E 80 04 21 */ bctrl +lbl_803321E8: +/* 803321E8 0032F148 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 803321EC 0032F14C 28 03 00 00 */ cmplwi r3, 0 +/* 803321F0 0032F150 41 82 00 18 */ beq lbl_80332208 +/* 803321F4 0032F154 81 83 00 00 */ lwz r12, 0(r3) +/* 803321F8 0032F158 38 80 00 01 */ li r4, 1 +/* 803321FC 0032F15C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80332200 0032F160 7D 89 03 A6 */ mtctr r12 +/* 80332204 0032F164 4E 80 04 21 */ bctrl +lbl_80332208: +/* 80332208 0032F168 28 1E 00 00 */ cmplwi r30, 0 +/* 8033220C 0032F16C 41 82 00 20 */ beq lbl_8033222C +/* 80332210 0032F170 3C 60 80 3F */ lis r3, lbl_803EC554@ha +/* 80332214 0032F174 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l +/* 80332218 0032F178 90 1E 00 00 */ stw r0, 0(r30) +/* 8033221C 0032F17C 41 82 00 10 */ beq lbl_8033222C +/* 80332220 0032F180 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80332224 0032F184 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80332228 0032F188 90 1E 00 00 */ stw r0, 0(r30) +lbl_8033222C: +/* 8033222C 0032F18C 7F E0 07 35 */ extsh. r0, r31 +/* 80332230 0032F190 40 81 00 10 */ ble lbl_80332240 +/* 80332234 0032F194 7F C3 F3 78 */ mr r3, r30 +/* 80332238 0032F198 38 80 00 10 */ li r4, 0x10 +/* 8033223C 0032F19C 48 03 A8 29 */ bl sub_8036ca64 +lbl_80332240: +/* 80332240 0032F1A0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80332244 0032F1A4 7F C3 F3 78 */ mr r3, r30 +/* 80332248 0032F1A8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033224C 0032F1AC 83 C1 00 08 */ lwz r30, 8(r1) +/* 80332250 0032F1B0 7C 08 03 A6 */ mtlr r0 +/* 80332254 0032F1B4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80332258 0032F1B8 4E 80 00 20 */ blr + +.global __ct__8CREClampFP12CRealElementP12CRealElementP12CRealElement +__ct__8CREClampFP12CRealElementP12CRealElementP12CRealElement: +/* 8033225C 0032F1BC 3D 20 80 3F */ lis r9, lbl_803EC5A8@ha +/* 80332260 0032F1C0 3D 00 80 3F */ lis r8, lbl_803EC554@ha +/* 80332264 0032F1C4 38 09 C5 A8 */ addi r0, r9, lbl_803EC5A8@l +/* 80332268 0032F1C8 3C E0 80 3F */ lis r7, lbl_803EE04C@ha +/* 8033226C 0032F1CC 90 03 00 00 */ stw r0, 0(r3) +/* 80332270 0032F1D0 39 08 C5 54 */ addi r8, r8, lbl_803EC554@l +/* 80332274 0032F1D4 38 07 E0 4C */ addi r0, r7, lbl_803EE04C@l +/* 80332278 0032F1D8 91 03 00 00 */ stw r8, 0(r3) +/* 8033227C 0032F1DC 90 03 00 00 */ stw r0, 0(r3) +/* 80332280 0032F1E0 90 83 00 04 */ stw r4, 4(r3) +/* 80332284 0032F1E4 90 A3 00 08 */ stw r5, 8(r3) +/* 80332288 0032F1E8 90 C3 00 0C */ stw r6, 0xc(r3) +/* 8033228C 0032F1EC 4E 80 00 20 */ blr + +.global GetValue__12CRETimeChainCFiRf +GetValue__12CRETimeChainCFiRf: +/* 80332290 0032F1F0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80332294 0032F1F4 7C 08 02 A6 */ mflr r0 +/* 80332298 0032F1F8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033229C 0032F1FC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 803322A0 0032F200 7C BF 2B 78 */ mr r31, r5 +/* 803322A4 0032F204 38 A1 00 08 */ addi r5, r1, 8 +/* 803322A8 0032F208 93 C1 00 18 */ stw r30, 0x18(r1) +/* 803322AC 0032F20C 7C 9E 23 78 */ mr r30, r4 +/* 803322B0 0032F210 93 A1 00 14 */ stw r29, 0x14(r1) +/* 803322B4 0032F214 7C 7D 1B 78 */ mr r29, r3 +/* 803322B8 0032F218 80 63 00 0C */ lwz r3, 0xc(r3) +/* 803322BC 0032F21C 81 83 00 00 */ lwz r12, 0(r3) +/* 803322C0 0032F220 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803322C4 0032F224 7D 89 03 A6 */ mtctr r12 +/* 803322C8 0032F228 4E 80 04 21 */ bctrl +/* 803322CC 0032F22C 80 01 00 08 */ lwz r0, 8(r1) +/* 803322D0 0032F230 7C 1E 00 00 */ cmpw r30, r0 +/* 803322D4 0032F234 40 80 00 24 */ bge lbl_803322F8 +/* 803322D8 0032F238 80 7D 00 04 */ lwz r3, 4(r29) +/* 803322DC 0032F23C 7F C4 F3 78 */ mr r4, r30 +/* 803322E0 0032F240 7F E5 FB 78 */ mr r5, r31 +/* 803322E4 0032F244 81 83 00 00 */ lwz r12, 0(r3) +/* 803322E8 0032F248 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803322EC 0032F24C 7D 89 03 A6 */ mtctr r12 +/* 803322F0 0032F250 4E 80 04 21 */ bctrl +/* 803322F4 0032F254 48 00 00 20 */ b lbl_80332314 +lbl_803322F8: +/* 803322F8 0032F258 80 7D 00 08 */ lwz r3, 8(r29) +/* 803322FC 0032F25C 7F E5 FB 78 */ mr r5, r31 +/* 80332300 0032F260 7C 80 F0 50 */ subf r4, r0, r30 +/* 80332304 0032F264 81 83 00 00 */ lwz r12, 0(r3) +/* 80332308 0032F268 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8033230C 0032F26C 7D 89 03 A6 */ mtctr r12 +/* 80332310 0032F270 4E 80 04 21 */ bctrl +lbl_80332314: +/* 80332314 0032F274 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80332318 0032F278 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8033231C 0032F27C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80332320 0032F280 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80332324 0032F284 7C 08 03 A6 */ mtlr r0 +/* 80332328 0032F288 38 21 00 20 */ addi r1, r1, 0x20 +/* 8033232C 0032F28C 4E 80 00 20 */ blr + +.global __dt__12CRETimeChain +__dt__12CRETimeChain: +/* 80332330 0032F290 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80332334 0032F294 7C 08 02 A6 */ mflr r0 +/* 80332338 0032F298 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033233C 0032F29C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80332340 0032F2A0 7C 9F 23 78 */ mr r31, r4 +/* 80332344 0032F2A4 93 C1 00 08 */ stw r30, 8(r1) +/* 80332348 0032F2A8 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8033234C 0032F2AC 41 82 00 A8 */ beq lbl_803323F4 +/* 80332350 0032F2B0 3C 60 80 3F */ lis r3, lbl_803EE060@ha +/* 80332354 0032F2B4 38 03 E0 60 */ addi r0, r3, lbl_803EE060@l +/* 80332358 0032F2B8 90 1E 00 00 */ stw r0, 0(r30) +/* 8033235C 0032F2BC 80 7E 00 04 */ lwz r3, 4(r30) +/* 80332360 0032F2C0 28 03 00 00 */ cmplwi r3, 0 +/* 80332364 0032F2C4 41 82 00 18 */ beq lbl_8033237C +/* 80332368 0032F2C8 81 83 00 00 */ lwz r12, 0(r3) +/* 8033236C 0032F2CC 38 80 00 01 */ li r4, 1 +/* 80332370 0032F2D0 81 8C 00 08 */ lwz r12, 8(r12) +/* 80332374 0032F2D4 7D 89 03 A6 */ mtctr r12 +/* 80332378 0032F2D8 4E 80 04 21 */ bctrl +lbl_8033237C: +/* 8033237C 0032F2DC 80 7E 00 08 */ lwz r3, 8(r30) +/* 80332380 0032F2E0 28 03 00 00 */ cmplwi r3, 0 +/* 80332384 0032F2E4 41 82 00 18 */ beq lbl_8033239C +/* 80332388 0032F2E8 81 83 00 00 */ lwz r12, 0(r3) +/* 8033238C 0032F2EC 38 80 00 01 */ li r4, 1 +/* 80332390 0032F2F0 81 8C 00 08 */ lwz r12, 8(r12) +/* 80332394 0032F2F4 7D 89 03 A6 */ mtctr r12 +/* 80332398 0032F2F8 4E 80 04 21 */ bctrl +lbl_8033239C: +/* 8033239C 0032F2FC 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 803323A0 0032F300 28 03 00 00 */ cmplwi r3, 0 +/* 803323A4 0032F304 41 82 00 18 */ beq lbl_803323BC +/* 803323A8 0032F308 81 83 00 00 */ lwz r12, 0(r3) +/* 803323AC 0032F30C 38 80 00 01 */ li r4, 1 +/* 803323B0 0032F310 81 8C 00 08 */ lwz r12, 8(r12) +/* 803323B4 0032F314 7D 89 03 A6 */ mtctr r12 +/* 803323B8 0032F318 4E 80 04 21 */ bctrl +lbl_803323BC: +/* 803323BC 0032F31C 28 1E 00 00 */ cmplwi r30, 0 +/* 803323C0 0032F320 41 82 00 20 */ beq lbl_803323E0 +/* 803323C4 0032F324 3C 60 80 3F */ lis r3, lbl_803EC554@ha +/* 803323C8 0032F328 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l +/* 803323CC 0032F32C 90 1E 00 00 */ stw r0, 0(r30) +/* 803323D0 0032F330 41 82 00 10 */ beq lbl_803323E0 +/* 803323D4 0032F334 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 803323D8 0032F338 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 803323DC 0032F33C 90 1E 00 00 */ stw r0, 0(r30) +lbl_803323E0: +/* 803323E0 0032F340 7F E0 07 35 */ extsh. r0, r31 +/* 803323E4 0032F344 40 81 00 10 */ ble lbl_803323F4 +/* 803323E8 0032F348 7F C3 F3 78 */ mr r3, r30 +/* 803323EC 0032F34C 38 80 00 10 */ li r4, 0x10 +/* 803323F0 0032F350 48 03 A6 75 */ bl sub_8036ca64 +lbl_803323F4: +/* 803323F4 0032F354 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803323F8 0032F358 7F C3 F3 78 */ mr r3, r30 +/* 803323FC 0032F35C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80332400 0032F360 83 C1 00 08 */ lwz r30, 8(r1) +/* 80332404 0032F364 7C 08 03 A6 */ mtlr r0 +/* 80332408 0032F368 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033240C 0032F36C 4E 80 00 20 */ blr + +.global __ct__12CRETimeChainFP12CRealElementP12CRealElementP11CIntElement +__ct__12CRETimeChainFP12CRealElementP12CRealElementP11CIntElement: +/* 80332410 0032F370 3D 20 80 3F */ lis r9, lbl_803EC5A8@ha +/* 80332414 0032F374 3D 00 80 3F */ lis r8, lbl_803EC554@ha +/* 80332418 0032F378 38 09 C5 A8 */ addi r0, r9, lbl_803EC5A8@l +/* 8033241C 0032F37C 3C E0 80 3F */ lis r7, lbl_803EE060@ha +/* 80332420 0032F380 90 03 00 00 */ stw r0, 0(r3) +/* 80332424 0032F384 39 08 C5 54 */ addi r8, r8, lbl_803EC554@l +/* 80332428 0032F388 38 07 E0 60 */ addi r0, r7, lbl_803EE060@l +/* 8033242C 0032F38C 91 03 00 00 */ stw r8, 0(r3) +/* 80332430 0032F390 90 03 00 00 */ stw r0, 0(r3) +/* 80332434 0032F394 90 83 00 04 */ stw r4, 4(r3) +/* 80332438 0032F398 90 A3 00 08 */ stw r5, 8(r3) +/* 8033243C 0032F39C 90 C3 00 0C */ stw r6, 0xc(r3) +/* 80332440 0032F3A0 4E 80 00 20 */ blr + +.global GetValue__16CREInitialRandomCFiRf +GetValue__16CREInitialRandomCFiRf: +/* 80332444 0032F3A4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80332448 0032F3A8 7C 08 02 A6 */ mflr r0 +/* 8033244C 0032F3AC 90 01 00 34 */ stw r0, 0x34(r1) +/* 80332450 0032F3B0 DB E1 00 20 */ stfd f31, 0x20(r1) +/* 80332454 0032F3B4 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 80332458 0032F3B8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8033245C 0032F3BC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80332460 0032F3C0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80332464 0032F3C4 7C 9E 23 79 */ or. r30, r4, r4 +/* 80332468 0032F3C8 7C 7D 1B 78 */ mr r29, r3 +/* 8033246C 0032F3CC 7C BF 2B 78 */ mr r31, r5 +/* 80332470 0032F3D0 40 82 00 54 */ bne lbl_803324C4 +/* 80332474 0032F3D4 80 7D 00 04 */ lwz r3, 4(r29) +/* 80332478 0032F3D8 38 A1 00 0C */ addi r5, r1, 0xc +/* 8033247C 0032F3DC 81 83 00 00 */ lwz r12, 0(r3) +/* 80332480 0032F3E0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80332484 0032F3E4 7D 89 03 A6 */ mtctr r12 +/* 80332488 0032F3E8 4E 80 04 21 */ bctrl +/* 8033248C 0032F3EC 80 7D 00 08 */ lwz r3, 8(r29) +/* 80332490 0032F3F0 7F C4 F3 78 */ mr r4, r30 +/* 80332494 0032F3F4 38 A1 00 08 */ addi r5, r1, 8 +/* 80332498 0032F3F8 81 83 00 00 */ lwz r12, 0(r3) +/* 8033249C 0032F3FC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803324A0 0032F400 7D 89 03 A6 */ mtctr r12 +/* 803324A4 0032F404 4E 80 04 21 */ bctrl +/* 803324A8 0032F408 C3 E1 00 0C */ lfs f31, 0xc(r1) +/* 803324AC 0032F40C 4B FE 01 51 */ bl GetRandomNumber__9CRandom16Fv +/* 803324B0 0032F410 4B FE 00 2D */ bl Float__9CRandom16Fv +/* 803324B4 0032F414 C0 01 00 08 */ lfs f0, 8(r1) +/* 803324B8 0032F418 EC 00 F8 28 */ fsubs f0, f0, f31 +/* 803324BC 0032F41C EC 00 F8 7A */ fmadds f0, f0, f1, f31 +/* 803324C0 0032F420 D0 1F 00 00 */ stfs f0, 0(r31) +lbl_803324C4: +/* 803324C4 0032F424 38 60 00 00 */ li r3, 0 +/* 803324C8 0032F428 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 803324CC 0032F42C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 803324D0 0032F430 CB E1 00 20 */ lfd f31, 0x20(r1) +/* 803324D4 0032F434 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803324D8 0032F438 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 803324DC 0032F43C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 803324E0 0032F440 7C 08 03 A6 */ mtlr r0 +/* 803324E4 0032F444 38 21 00 30 */ addi r1, r1, 0x30 +/* 803324E8 0032F448 4E 80 00 20 */ blr + +.global __dt__16CREInitialRandom +__dt__16CREInitialRandom: +/* 803324EC 0032F44C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803324F0 0032F450 7C 08 02 A6 */ mflr r0 +/* 803324F4 0032F454 90 01 00 14 */ stw r0, 0x14(r1) +/* 803324F8 0032F458 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803324FC 0032F45C 7C 9F 23 78 */ mr r31, r4 +/* 80332500 0032F460 93 C1 00 08 */ stw r30, 8(r1) +/* 80332504 0032F464 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80332508 0032F468 41 82 00 88 */ beq lbl_80332590 +/* 8033250C 0032F46C 3C 60 80 3F */ lis r3, lbl_803EE074@ha +/* 80332510 0032F470 38 03 E0 74 */ addi r0, r3, lbl_803EE074@l +/* 80332514 0032F474 90 1E 00 00 */ stw r0, 0(r30) +/* 80332518 0032F478 80 7E 00 04 */ lwz r3, 4(r30) +/* 8033251C 0032F47C 28 03 00 00 */ cmplwi r3, 0 +/* 80332520 0032F480 41 82 00 18 */ beq lbl_80332538 +/* 80332524 0032F484 81 83 00 00 */ lwz r12, 0(r3) +/* 80332528 0032F488 38 80 00 01 */ li r4, 1 +/* 8033252C 0032F48C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80332530 0032F490 7D 89 03 A6 */ mtctr r12 +/* 80332534 0032F494 4E 80 04 21 */ bctrl +lbl_80332538: +/* 80332538 0032F498 80 7E 00 08 */ lwz r3, 8(r30) +/* 8033253C 0032F49C 28 03 00 00 */ cmplwi r3, 0 +/* 80332540 0032F4A0 41 82 00 18 */ beq lbl_80332558 +/* 80332544 0032F4A4 81 83 00 00 */ lwz r12, 0(r3) +/* 80332548 0032F4A8 38 80 00 01 */ li r4, 1 +/* 8033254C 0032F4AC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80332550 0032F4B0 7D 89 03 A6 */ mtctr r12 +/* 80332554 0032F4B4 4E 80 04 21 */ bctrl +lbl_80332558: +/* 80332558 0032F4B8 28 1E 00 00 */ cmplwi r30, 0 +/* 8033255C 0032F4BC 41 82 00 20 */ beq lbl_8033257C +/* 80332560 0032F4C0 3C 60 80 3F */ lis r3, lbl_803EC554@ha +/* 80332564 0032F4C4 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l +/* 80332568 0032F4C8 90 1E 00 00 */ stw r0, 0(r30) +/* 8033256C 0032F4CC 41 82 00 10 */ beq lbl_8033257C +/* 80332570 0032F4D0 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80332574 0032F4D4 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80332578 0032F4D8 90 1E 00 00 */ stw r0, 0(r30) +lbl_8033257C: +/* 8033257C 0032F4DC 7F E0 07 35 */ extsh. r0, r31 +/* 80332580 0032F4E0 40 81 00 10 */ ble lbl_80332590 +/* 80332584 0032F4E4 7F C3 F3 78 */ mr r3, r30 +/* 80332588 0032F4E8 38 80 00 0C */ li r4, 0xc +/* 8033258C 0032F4EC 48 03 A4 D9 */ bl sub_8036ca64 +lbl_80332590: +/* 80332590 0032F4F0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80332594 0032F4F4 7F C3 F3 78 */ mr r3, r30 +/* 80332598 0032F4F8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033259C 0032F4FC 83 C1 00 08 */ lwz r30, 8(r1) +/* 803325A0 0032F500 7C 08 03 A6 */ mtlr r0 +/* 803325A4 0032F504 38 21 00 10 */ addi r1, r1, 0x10 +/* 803325A8 0032F508 4E 80 00 20 */ blr + +.global __ct__16CREInitialRandomFC12CRealElementC12CRealElement +__ct__16CREInitialRandomFC12CRealElementC12CRealElement: +/* 803325AC 0032F50C 3D 00 80 3F */ lis r8, lbl_803EC5A8@ha +/* 803325B0 0032F510 3C E0 80 3F */ lis r7, lbl_803EC554@ha +/* 803325B4 0032F514 38 08 C5 A8 */ addi r0, r8, lbl_803EC5A8@l +/* 803325B8 0032F518 3C C0 80 3F */ lis r6, lbl_803EE074@ha +/* 803325BC 0032F51C 90 03 00 00 */ stw r0, 0(r3) +/* 803325C0 0032F520 38 E7 C5 54 */ addi r7, r7, lbl_803EC554@l +/* 803325C4 0032F524 38 06 E0 74 */ addi r0, r6, lbl_803EE074@l +/* 803325C8 0032F528 90 E3 00 00 */ stw r7, 0(r3) +/* 803325CC 0032F52C 90 03 00 00 */ stw r0, 0(r3) +/* 803325D0 0032F530 90 83 00 04 */ stw r4, 4(r3) +/* 803325D4 0032F534 90 A3 00 08 */ stw r5, 8(r3) +/* 803325D8 0032F538 4E 80 00 20 */ blr + +.global GetValue__9CRERandomCFiRf +GetValue__9CRERandomCFiRf: +/* 803325DC 0032F53C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 803325E0 0032F540 7C 08 02 A6 */ mflr r0 +/* 803325E4 0032F544 90 01 00 34 */ stw r0, 0x34(r1) +/* 803325E8 0032F548 DB E1 00 20 */ stfd f31, 0x20(r1) +/* 803325EC 0032F54C F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 803325F0 0032F550 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 803325F4 0032F554 93 C1 00 18 */ stw r30, 0x18(r1) +/* 803325F8 0032F558 93 A1 00 14 */ stw r29, 0x14(r1) +/* 803325FC 0032F55C 7C 7D 1B 78 */ mr r29, r3 +/* 80332600 0032F560 7C BF 2B 78 */ mr r31, r5 +/* 80332604 0032F564 80 63 00 04 */ lwz r3, 4(r3) +/* 80332608 0032F568 7C 9E 23 78 */ mr r30, r4 +/* 8033260C 0032F56C 38 A1 00 0C */ addi r5, r1, 0xc +/* 80332610 0032F570 81 83 00 00 */ lwz r12, 0(r3) +/* 80332614 0032F574 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80332618 0032F578 7D 89 03 A6 */ mtctr r12 +/* 8033261C 0032F57C 4E 80 04 21 */ bctrl +/* 80332620 0032F580 80 7D 00 08 */ lwz r3, 8(r29) +/* 80332624 0032F584 7F C4 F3 78 */ mr r4, r30 +/* 80332628 0032F588 38 A1 00 08 */ addi r5, r1, 8 +/* 8033262C 0032F58C 81 83 00 00 */ lwz r12, 0(r3) +/* 80332630 0032F590 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80332634 0032F594 7D 89 03 A6 */ mtctr r12 +/* 80332638 0032F598 4E 80 04 21 */ bctrl +/* 8033263C 0032F59C C3 E1 00 0C */ lfs f31, 0xc(r1) +/* 80332640 0032F5A0 4B FD FF BD */ bl GetRandomNumber__9CRandom16Fv +/* 80332644 0032F5A4 4B FD FE 99 */ bl Float__9CRandom16Fv +/* 80332648 0032F5A8 C0 01 00 08 */ lfs f0, 8(r1) +/* 8033264C 0032F5AC 38 60 00 00 */ li r3, 0 +/* 80332650 0032F5B0 EC 00 F8 28 */ fsubs f0, f0, f31 +/* 80332654 0032F5B4 EC 00 F8 7A */ fmadds f0, f0, f1, f31 +/* 80332658 0032F5B8 D0 1F 00 00 */ stfs f0, 0(r31) +/* 8033265C 0032F5BC E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 80332660 0032F5C0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80332664 0032F5C4 CB E1 00 20 */ lfd f31, 0x20(r1) +/* 80332668 0032F5C8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8033266C 0032F5CC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80332670 0032F5D0 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80332674 0032F5D4 7C 08 03 A6 */ mtlr r0 +/* 80332678 0032F5D8 38 21 00 30 */ addi r1, r1, 0x30 +/* 8033267C 0032F5DC 4E 80 00 20 */ blr + +.global __dt__9CRERandomFv +__dt__9CRERandomFv: +/* 80332680 0032F5E0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80332684 0032F5E4 7C 08 02 A6 */ mflr r0 +/* 80332688 0032F5E8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033268C 0032F5EC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80332690 0032F5F0 7C 9F 23 78 */ mr r31, r4 +/* 80332694 0032F5F4 93 C1 00 08 */ stw r30, 8(r1) +/* 80332698 0032F5F8 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8033269C 0032F5FC 41 82 00 88 */ beq lbl_80332724 +/* 803326A0 0032F600 3C 60 80 3F */ lis r3, lbl_803EE088@ha +/* 803326A4 0032F604 38 03 E0 88 */ addi r0, r3, lbl_803EE088@l +/* 803326A8 0032F608 90 1E 00 00 */ stw r0, 0(r30) +/* 803326AC 0032F60C 80 7E 00 04 */ lwz r3, 4(r30) +/* 803326B0 0032F610 28 03 00 00 */ cmplwi r3, 0 +/* 803326B4 0032F614 41 82 00 18 */ beq lbl_803326CC +/* 803326B8 0032F618 81 83 00 00 */ lwz r12, 0(r3) +/* 803326BC 0032F61C 38 80 00 01 */ li r4, 1 +/* 803326C0 0032F620 81 8C 00 08 */ lwz r12, 8(r12) +/* 803326C4 0032F624 7D 89 03 A6 */ mtctr r12 +/* 803326C8 0032F628 4E 80 04 21 */ bctrl +lbl_803326CC: +/* 803326CC 0032F62C 80 7E 00 08 */ lwz r3, 8(r30) +/* 803326D0 0032F630 28 03 00 00 */ cmplwi r3, 0 +/* 803326D4 0032F634 41 82 00 18 */ beq lbl_803326EC +/* 803326D8 0032F638 81 83 00 00 */ lwz r12, 0(r3) +/* 803326DC 0032F63C 38 80 00 01 */ li r4, 1 +/* 803326E0 0032F640 81 8C 00 08 */ lwz r12, 8(r12) +/* 803326E4 0032F644 7D 89 03 A6 */ mtctr r12 +/* 803326E8 0032F648 4E 80 04 21 */ bctrl +lbl_803326EC: +/* 803326EC 0032F64C 28 1E 00 00 */ cmplwi r30, 0 +/* 803326F0 0032F650 41 82 00 20 */ beq lbl_80332710 +/* 803326F4 0032F654 3C 60 80 3F */ lis r3, lbl_803EC554@ha +/* 803326F8 0032F658 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l +/* 803326FC 0032F65C 90 1E 00 00 */ stw r0, 0(r30) +/* 80332700 0032F660 41 82 00 10 */ beq lbl_80332710 +/* 80332704 0032F664 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80332708 0032F668 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 8033270C 0032F66C 90 1E 00 00 */ stw r0, 0(r30) +lbl_80332710: +/* 80332710 0032F670 7F E0 07 35 */ extsh. r0, r31 +/* 80332714 0032F674 40 81 00 10 */ ble lbl_80332724 +/* 80332718 0032F678 7F C3 F3 78 */ mr r3, r30 +/* 8033271C 0032F67C 38 80 00 0C */ li r4, 0xc +/* 80332720 0032F680 48 03 A3 45 */ bl sub_8036ca64 +lbl_80332724: +/* 80332724 0032F684 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80332728 0032F688 7F C3 F3 78 */ mr r3, r30 +/* 8033272C 0032F68C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80332730 0032F690 83 C1 00 08 */ lwz r30, 8(r1) +/* 80332734 0032F694 7C 08 03 A6 */ mtlr r0 +/* 80332738 0032F698 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033273C 0032F69C 4E 80 00 20 */ blr + +.global __ct__9CRERandomFP12CRealElementP12CRealElement +__ct__9CRERandomFP12CRealElementP12CRealElement: +/* 80332740 0032F6A0 3D 00 80 3F */ lis r8, lbl_803EC5A8@ha +/* 80332744 0032F6A4 3C E0 80 3F */ lis r7, lbl_803EC554@ha +/* 80332748 0032F6A8 38 08 C5 A8 */ addi r0, r8, lbl_803EC5A8@l +/* 8033274C 0032F6AC 3C C0 80 3F */ lis r6, lbl_803EE088@ha +/* 80332750 0032F6B0 90 03 00 00 */ stw r0, 0(r3) +/* 80332754 0032F6B4 38 E7 C5 54 */ addi r7, r7, lbl_803EC554@l +/* 80332758 0032F6B8 38 06 E0 88 */ addi r0, r6, lbl_803EE088@l +/* 8033275C 0032F6BC 90 E3 00 00 */ stw r7, 0(r3) +/* 80332760 0032F6C0 90 03 00 00 */ stw r0, 0(r3) +/* 80332764 0032F6C4 90 83 00 04 */ stw r4, 4(r3) +/* 80332768 0032F6C8 90 A3 00 08 */ stw r5, 8(r3) +/* 8033276C 0032F6CC 4E 80 00 20 */ blr + +.global GetValue__13CREDotProductCFiRf +GetValue__13CREDotProductCFiRf: +/* 80332770 0032F6D0 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80332774 0032F6D4 7C 08 02 A6 */ mflr r0 +/* 80332778 0032F6D8 3C C0 80 5A */ lis r6, skZero3f@ha +/* 8033277C 0032F6DC 90 01 00 34 */ stw r0, 0x34(r1) +/* 80332780 0032F6E0 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80332784 0032F6E4 7C BF 2B 78 */ mr r31, r5 +/* 80332788 0032F6E8 38 A1 00 14 */ addi r5, r1, 0x14 +/* 8033278C 0032F6EC 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80332790 0032F6F0 7C 9E 23 78 */ mr r30, r4 +/* 80332794 0032F6F4 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80332798 0032F6F8 7C 7D 1B 78 */ mr r29, r3 +/* 8033279C 0032F6FC 38 66 66 A0 */ addi r3, r6, skZero3f@l +/* 803327A0 0032F700 C0 03 00 00 */ lfs f0, 0(r3) +/* 803327A4 0032F704 C0 23 00 04 */ lfs f1, 4(r3) +/* 803327A8 0032F708 C0 43 00 08 */ lfs f2, 8(r3) +/* 803327AC 0032F70C D0 01 00 14 */ stfs f0, 0x14(r1) +/* 803327B0 0032F710 80 7D 00 04 */ lwz r3, 4(r29) +/* 803327B4 0032F714 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 803327B8 0032F718 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 803327BC 0032F71C D0 01 00 08 */ stfs f0, 8(r1) +/* 803327C0 0032F720 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 803327C4 0032F724 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 803327C8 0032F728 81 83 00 00 */ lwz r12, 0(r3) +/* 803327CC 0032F72C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803327D0 0032F730 7D 89 03 A6 */ mtctr r12 +/* 803327D4 0032F734 4E 80 04 21 */ bctrl +/* 803327D8 0032F738 80 7D 00 08 */ lwz r3, 8(r29) +/* 803327DC 0032F73C 7F C4 F3 78 */ mr r4, r30 +/* 803327E0 0032F740 38 A1 00 08 */ addi r5, r1, 8 +/* 803327E4 0032F744 81 83 00 00 */ lwz r12, 0(r3) +/* 803327E8 0032F748 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803327EC 0032F74C 7D 89 03 A6 */ mtctr r12 +/* 803327F0 0032F750 4E 80 04 21 */ bctrl +/* 803327F4 0032F754 C0 21 00 18 */ lfs f1, 0x18(r1) +/* 803327F8 0032F758 38 60 00 00 */ li r3, 0 +/* 803327FC 0032F75C C0 01 00 0C */ lfs f0, 0xc(r1) +/* 80332800 0032F760 C0 41 00 14 */ lfs f2, 0x14(r1) +/* 80332804 0032F764 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80332808 0032F768 C0 21 00 08 */ lfs f1, 8(r1) +/* 8033280C 0032F76C C0 81 00 1C */ lfs f4, 0x1c(r1) +/* 80332810 0032F770 C0 61 00 10 */ lfs f3, 0x10(r1) +/* 80332814 0032F774 EC 02 00 7A */ fmadds f0, f2, f1, f0 +/* 80332818 0032F778 EC 04 00 FA */ fmadds f0, f4, f3, f0 +/* 8033281C 0032F77C D0 1F 00 00 */ stfs f0, 0(r31) +/* 80332820 0032F780 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80332824 0032F784 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80332828 0032F788 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8033282C 0032F78C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80332830 0032F790 7C 08 03 A6 */ mtlr r0 +/* 80332834 0032F794 38 21 00 30 */ addi r1, r1, 0x30 +/* 80332838 0032F798 4E 80 00 20 */ blr + +.global __dt__13CREDotProduct +__dt__13CREDotProduct: +/* 8033283C 0032F79C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80332840 0032F7A0 7C 08 02 A6 */ mflr r0 +/* 80332844 0032F7A4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80332848 0032F7A8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033284C 0032F7AC 7C 9F 23 78 */ mr r31, r4 +/* 80332850 0032F7B0 93 C1 00 08 */ stw r30, 8(r1) +/* 80332854 0032F7B4 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80332858 0032F7B8 41 82 00 88 */ beq lbl_803328E0 +/* 8033285C 0032F7BC 3C 60 80 3F */ lis r3, lbl_803EE09C@ha +/* 80332860 0032F7C0 38 03 E0 9C */ addi r0, r3, lbl_803EE09C@l +/* 80332864 0032F7C4 90 1E 00 00 */ stw r0, 0(r30) +/* 80332868 0032F7C8 80 7E 00 04 */ lwz r3, 4(r30) +/* 8033286C 0032F7CC 28 03 00 00 */ cmplwi r3, 0 +/* 80332870 0032F7D0 41 82 00 18 */ beq lbl_80332888 +/* 80332874 0032F7D4 81 83 00 00 */ lwz r12, 0(r3) +/* 80332878 0032F7D8 38 80 00 01 */ li r4, 1 +/* 8033287C 0032F7DC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80332880 0032F7E0 7D 89 03 A6 */ mtctr r12 +/* 80332884 0032F7E4 4E 80 04 21 */ bctrl +lbl_80332888: +/* 80332888 0032F7E8 80 7E 00 08 */ lwz r3, 8(r30) +/* 8033288C 0032F7EC 28 03 00 00 */ cmplwi r3, 0 +/* 80332890 0032F7F0 41 82 00 18 */ beq lbl_803328A8 +/* 80332894 0032F7F4 81 83 00 00 */ lwz r12, 0(r3) +/* 80332898 0032F7F8 38 80 00 01 */ li r4, 1 +/* 8033289C 0032F7FC 81 8C 00 08 */ lwz r12, 8(r12) +/* 803328A0 0032F800 7D 89 03 A6 */ mtctr r12 +/* 803328A4 0032F804 4E 80 04 21 */ bctrl +lbl_803328A8: +/* 803328A8 0032F808 28 1E 00 00 */ cmplwi r30, 0 +/* 803328AC 0032F80C 41 82 00 20 */ beq lbl_803328CC +/* 803328B0 0032F810 3C 60 80 3F */ lis r3, lbl_803EC554@ha +/* 803328B4 0032F814 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l +/* 803328B8 0032F818 90 1E 00 00 */ stw r0, 0(r30) +/* 803328BC 0032F81C 41 82 00 10 */ beq lbl_803328CC +/* 803328C0 0032F820 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 803328C4 0032F824 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 803328C8 0032F828 90 1E 00 00 */ stw r0, 0(r30) +lbl_803328CC: +/* 803328CC 0032F82C 7F E0 07 35 */ extsh. r0, r31 +/* 803328D0 0032F830 40 81 00 10 */ ble lbl_803328E0 +/* 803328D4 0032F834 7F C3 F3 78 */ mr r3, r30 +/* 803328D8 0032F838 38 80 00 0C */ li r4, 0xc +/* 803328DC 0032F83C 48 03 A1 89 */ bl sub_8036ca64 +lbl_803328E0: +/* 803328E0 0032F840 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803328E4 0032F844 7F C3 F3 78 */ mr r3, r30 +/* 803328E8 0032F848 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803328EC 0032F84C 83 C1 00 08 */ lwz r30, 8(r1) +/* 803328F0 0032F850 7C 08 03 A6 */ mtlr r0 +/* 803328F4 0032F854 38 21 00 10 */ addi r1, r1, 0x10 +/* 803328F8 0032F858 4E 80 00 20 */ blr + +.global __ct__13CREDotProductFP14CVectorElementP14CVectorElement +__ct__13CREDotProductFP14CVectorElementP14CVectorElement: +/* 803328FC 0032F85C 3D 00 80 3F */ lis r8, lbl_803EC5A8@ha +/* 80332900 0032F860 3C E0 80 3F */ lis r7, lbl_803EC554@ha +/* 80332904 0032F864 38 08 C5 A8 */ addi r0, r8, lbl_803EC5A8@l +/* 80332908 0032F868 3C C0 80 3F */ lis r6, lbl_803EE09C@ha +/* 8033290C 0032F86C 90 03 00 00 */ stw r0, 0(r3) +/* 80332910 0032F870 38 E7 C5 54 */ addi r7, r7, lbl_803EC554@l +/* 80332914 0032F874 38 06 E0 9C */ addi r0, r6, lbl_803EE09C@l +/* 80332918 0032F878 90 E3 00 00 */ stw r7, 0(r3) +/* 8033291C 0032F87C 90 03 00 00 */ stw r0, 0(r3) +/* 80332920 0032F880 90 83 00 04 */ stw r4, 4(r3) +/* 80332924 0032F884 90 A3 00 08 */ stw r5, 8(r3) +/* 80332928 0032F888 4E 80 00 20 */ blr + +.global GetValue__11CREMultiplyCFiRf +GetValue__11CREMultiplyCFiRf: +/* 8033292C 0032F88C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80332930 0032F890 7C 08 02 A6 */ mflr r0 +/* 80332934 0032F894 90 01 00 24 */ stw r0, 0x24(r1) +/* 80332938 0032F898 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8033293C 0032F89C 7C BF 2B 78 */ mr r31, r5 +/* 80332940 0032F8A0 38 A1 00 0C */ addi r5, r1, 0xc +/* 80332944 0032F8A4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80332948 0032F8A8 7C 9E 23 78 */ mr r30, r4 +/* 8033294C 0032F8AC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80332950 0032F8B0 7C 7D 1B 78 */ mr r29, r3 +/* 80332954 0032F8B4 80 63 00 04 */ lwz r3, 4(r3) +/* 80332958 0032F8B8 81 83 00 00 */ lwz r12, 0(r3) +/* 8033295C 0032F8BC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80332960 0032F8C0 7D 89 03 A6 */ mtctr r12 +/* 80332964 0032F8C4 4E 80 04 21 */ bctrl +/* 80332968 0032F8C8 80 7D 00 08 */ lwz r3, 8(r29) +/* 8033296C 0032F8CC 7F C4 F3 78 */ mr r4, r30 +/* 80332970 0032F8D0 38 A1 00 08 */ addi r5, r1, 8 +/* 80332974 0032F8D4 81 83 00 00 */ lwz r12, 0(r3) +/* 80332978 0032F8D8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8033297C 0032F8DC 7D 89 03 A6 */ mtctr r12 +/* 80332980 0032F8E0 4E 80 04 21 */ bctrl +/* 80332984 0032F8E4 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 80332988 0032F8E8 38 60 00 00 */ li r3, 0 +/* 8033298C 0032F8EC C0 01 00 08 */ lfs f0, 8(r1) +/* 80332990 0032F8F0 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80332994 0032F8F4 D0 1F 00 00 */ stfs f0, 0(r31) +/* 80332998 0032F8F8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8033299C 0032F8FC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 803329A0 0032F900 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 803329A4 0032F904 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803329A8 0032F908 7C 08 03 A6 */ mtlr r0 +/* 803329AC 0032F90C 38 21 00 20 */ addi r1, r1, 0x20 +/* 803329B0 0032F910 4E 80 00 20 */ blr + +.global __dt__11CREMultiplyFv +__dt__11CREMultiplyFv: +/* 803329B4 0032F914 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803329B8 0032F918 7C 08 02 A6 */ mflr r0 +/* 803329BC 0032F91C 90 01 00 14 */ stw r0, 0x14(r1) +/* 803329C0 0032F920 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803329C4 0032F924 7C 9F 23 78 */ mr r31, r4 +/* 803329C8 0032F928 93 C1 00 08 */ stw r30, 8(r1) +/* 803329CC 0032F92C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 803329D0 0032F930 41 82 00 88 */ beq lbl_80332A58 +/* 803329D4 0032F934 3C 60 80 3F */ lis r3, lbl_803EE0B0@ha +/* 803329D8 0032F938 38 03 E0 B0 */ addi r0, r3, lbl_803EE0B0@l +/* 803329DC 0032F93C 90 1E 00 00 */ stw r0, 0(r30) +/* 803329E0 0032F940 80 7E 00 04 */ lwz r3, 4(r30) +/* 803329E4 0032F944 28 03 00 00 */ cmplwi r3, 0 +/* 803329E8 0032F948 41 82 00 18 */ beq lbl_80332A00 +/* 803329EC 0032F94C 81 83 00 00 */ lwz r12, 0(r3) +/* 803329F0 0032F950 38 80 00 01 */ li r4, 1 +/* 803329F4 0032F954 81 8C 00 08 */ lwz r12, 8(r12) +/* 803329F8 0032F958 7D 89 03 A6 */ mtctr r12 +/* 803329FC 0032F95C 4E 80 04 21 */ bctrl +lbl_80332A00: +/* 80332A00 0032F960 80 7E 00 08 */ lwz r3, 8(r30) +/* 80332A04 0032F964 28 03 00 00 */ cmplwi r3, 0 +/* 80332A08 0032F968 41 82 00 18 */ beq lbl_80332A20 +/* 80332A0C 0032F96C 81 83 00 00 */ lwz r12, 0(r3) +/* 80332A10 0032F970 38 80 00 01 */ li r4, 1 +/* 80332A14 0032F974 81 8C 00 08 */ lwz r12, 8(r12) +/* 80332A18 0032F978 7D 89 03 A6 */ mtctr r12 +/* 80332A1C 0032F97C 4E 80 04 21 */ bctrl +lbl_80332A20: +/* 80332A20 0032F980 28 1E 00 00 */ cmplwi r30, 0 +/* 80332A24 0032F984 41 82 00 20 */ beq lbl_80332A44 +/* 80332A28 0032F988 3C 60 80 3F */ lis r3, lbl_803EC554@ha +/* 80332A2C 0032F98C 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l +/* 80332A30 0032F990 90 1E 00 00 */ stw r0, 0(r30) +/* 80332A34 0032F994 41 82 00 10 */ beq lbl_80332A44 +/* 80332A38 0032F998 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80332A3C 0032F99C 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80332A40 0032F9A0 90 1E 00 00 */ stw r0, 0(r30) +lbl_80332A44: +/* 80332A44 0032F9A4 7F E0 07 35 */ extsh. r0, r31 +/* 80332A48 0032F9A8 40 81 00 10 */ ble lbl_80332A58 +/* 80332A4C 0032F9AC 7F C3 F3 78 */ mr r3, r30 +/* 80332A50 0032F9B0 38 80 00 0C */ li r4, 0xc +/* 80332A54 0032F9B4 48 03 A0 11 */ bl sub_8036ca64 +lbl_80332A58: +/* 80332A58 0032F9B8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80332A5C 0032F9BC 7F C3 F3 78 */ mr r3, r30 +/* 80332A60 0032F9C0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80332A64 0032F9C4 83 C1 00 08 */ lwz r30, 8(r1) +/* 80332A68 0032F9C8 7C 08 03 A6 */ mtlr r0 +/* 80332A6C 0032F9CC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80332A70 0032F9D0 4E 80 00 20 */ blr + +.global __ct__11CREMultiplyFP12CRealElementP12CRealElement +__ct__11CREMultiplyFP12CRealElementP12CRealElement: +/* 80332A74 0032F9D4 3D 00 80 3F */ lis r8, lbl_803EC5A8@ha +/* 80332A78 0032F9D8 3C E0 80 3F */ lis r7, lbl_803EC554@ha +/* 80332A7C 0032F9DC 38 08 C5 A8 */ addi r0, r8, lbl_803EC5A8@l +/* 80332A80 0032F9E0 3C C0 80 3F */ lis r6, lbl_803EE0B0@ha +/* 80332A84 0032F9E4 90 03 00 00 */ stw r0, 0(r3) +/* 80332A88 0032F9E8 38 E7 C5 54 */ addi r7, r7, lbl_803EC554@l +/* 80332A8C 0032F9EC 38 06 E0 B0 */ addi r0, r6, lbl_803EE0B0@l +/* 80332A90 0032F9F0 90 E3 00 00 */ stw r7, 0(r3) +/* 80332A94 0032F9F4 90 03 00 00 */ stw r0, 0(r3) +/* 80332A98 0032F9F8 90 83 00 04 */ stw r4, 4(r3) +/* 80332A9C 0032F9FC 90 A3 00 08 */ stw r5, 8(r3) +/* 80332AA0 0032FA00 4E 80 00 20 */ blr + +.global GetValue__6CREAddCFiRf +GetValue__6CREAddCFiRf: +/* 80332AA4 0032FA04 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80332AA8 0032FA08 7C 08 02 A6 */ mflr r0 +/* 80332AAC 0032FA0C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80332AB0 0032FA10 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80332AB4 0032FA14 7C BF 2B 78 */ mr r31, r5 +/* 80332AB8 0032FA18 38 A1 00 0C */ addi r5, r1, 0xc +/* 80332ABC 0032FA1C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80332AC0 0032FA20 7C 9E 23 78 */ mr r30, r4 +/* 80332AC4 0032FA24 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80332AC8 0032FA28 7C 7D 1B 78 */ mr r29, r3 +/* 80332ACC 0032FA2C 80 63 00 04 */ lwz r3, 4(r3) +/* 80332AD0 0032FA30 81 83 00 00 */ lwz r12, 0(r3) +/* 80332AD4 0032FA34 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80332AD8 0032FA38 7D 89 03 A6 */ mtctr r12 +/* 80332ADC 0032FA3C 4E 80 04 21 */ bctrl +/* 80332AE0 0032FA40 80 7D 00 08 */ lwz r3, 8(r29) +/* 80332AE4 0032FA44 7F C4 F3 78 */ mr r4, r30 +/* 80332AE8 0032FA48 38 A1 00 08 */ addi r5, r1, 8 +/* 80332AEC 0032FA4C 81 83 00 00 */ lwz r12, 0(r3) +/* 80332AF0 0032FA50 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80332AF4 0032FA54 7D 89 03 A6 */ mtctr r12 +/* 80332AF8 0032FA58 4E 80 04 21 */ bctrl +/* 80332AFC 0032FA5C C0 21 00 0C */ lfs f1, 0xc(r1) +/* 80332B00 0032FA60 38 60 00 00 */ li r3, 0 +/* 80332B04 0032FA64 C0 01 00 08 */ lfs f0, 8(r1) +/* 80332B08 0032FA68 EC 01 00 2A */ fadds f0, f1, f0 +/* 80332B0C 0032FA6C D0 1F 00 00 */ stfs f0, 0(r31) +/* 80332B10 0032FA70 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80332B14 0032FA74 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80332B18 0032FA78 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80332B1C 0032FA7C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80332B20 0032FA80 7C 08 03 A6 */ mtlr r0 +/* 80332B24 0032FA84 38 21 00 20 */ addi r1, r1, 0x20 +/* 80332B28 0032FA88 4E 80 00 20 */ blr + +.global __dt__6CREAddFv +__dt__6CREAddFv: +/* 80332B2C 0032FA8C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80332B30 0032FA90 7C 08 02 A6 */ mflr r0 +/* 80332B34 0032FA94 90 01 00 14 */ stw r0, 0x14(r1) +/* 80332B38 0032FA98 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80332B3C 0032FA9C 7C 9F 23 78 */ mr r31, r4 +/* 80332B40 0032FAA0 93 C1 00 08 */ stw r30, 8(r1) +/* 80332B44 0032FAA4 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80332B48 0032FAA8 41 82 00 88 */ beq lbl_80332BD0 +/* 80332B4C 0032FAAC 3C 60 80 3F */ lis r3, lbl_803EE0C4@ha +/* 80332B50 0032FAB0 38 03 E0 C4 */ addi r0, r3, lbl_803EE0C4@l +/* 80332B54 0032FAB4 90 1E 00 00 */ stw r0, 0(r30) +/* 80332B58 0032FAB8 80 7E 00 04 */ lwz r3, 4(r30) +/* 80332B5C 0032FABC 28 03 00 00 */ cmplwi r3, 0 +/* 80332B60 0032FAC0 41 82 00 18 */ beq lbl_80332B78 +/* 80332B64 0032FAC4 81 83 00 00 */ lwz r12, 0(r3) +/* 80332B68 0032FAC8 38 80 00 01 */ li r4, 1 +/* 80332B6C 0032FACC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80332B70 0032FAD0 7D 89 03 A6 */ mtctr r12 +/* 80332B74 0032FAD4 4E 80 04 21 */ bctrl +lbl_80332B78: +/* 80332B78 0032FAD8 80 7E 00 08 */ lwz r3, 8(r30) +/* 80332B7C 0032FADC 28 03 00 00 */ cmplwi r3, 0 +/* 80332B80 0032FAE0 41 82 00 18 */ beq lbl_80332B98 +/* 80332B84 0032FAE4 81 83 00 00 */ lwz r12, 0(r3) +/* 80332B88 0032FAE8 38 80 00 01 */ li r4, 1 +/* 80332B8C 0032FAEC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80332B90 0032FAF0 7D 89 03 A6 */ mtctr r12 +/* 80332B94 0032FAF4 4E 80 04 21 */ bctrl +lbl_80332B98: +/* 80332B98 0032FAF8 28 1E 00 00 */ cmplwi r30, 0 +/* 80332B9C 0032FAFC 41 82 00 20 */ beq lbl_80332BBC +/* 80332BA0 0032FB00 3C 60 80 3F */ lis r3, lbl_803EC554@ha +/* 80332BA4 0032FB04 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l +/* 80332BA8 0032FB08 90 1E 00 00 */ stw r0, 0(r30) +/* 80332BAC 0032FB0C 41 82 00 10 */ beq lbl_80332BBC +/* 80332BB0 0032FB10 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80332BB4 0032FB14 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80332BB8 0032FB18 90 1E 00 00 */ stw r0, 0(r30) +lbl_80332BBC: +/* 80332BBC 0032FB1C 7F E0 07 35 */ extsh. r0, r31 +/* 80332BC0 0032FB20 40 81 00 10 */ ble lbl_80332BD0 +/* 80332BC4 0032FB24 7F C3 F3 78 */ mr r3, r30 +/* 80332BC8 0032FB28 38 80 00 0C */ li r4, 0xc +/* 80332BCC 0032FB2C 48 03 9E 99 */ bl sub_8036ca64 +lbl_80332BD0: +/* 80332BD0 0032FB30 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80332BD4 0032FB34 7F C3 F3 78 */ mr r3, r30 +/* 80332BD8 0032FB38 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80332BDC 0032FB3C 83 C1 00 08 */ lwz r30, 8(r1) +/* 80332BE0 0032FB40 7C 08 03 A6 */ mtlr r0 +/* 80332BE4 0032FB44 38 21 00 10 */ addi r1, r1, 0x10 +/* 80332BE8 0032FB48 4E 80 00 20 */ blr + +.global __ct__6CREAddFP12CRealElementP12CRealElement +__ct__6CREAddFP12CRealElementP12CRealElement: +/* 80332BEC 0032FB4C 3D 00 80 3F */ lis r8, lbl_803EC5A8@ha +/* 80332BF0 0032FB50 3C E0 80 3F */ lis r7, lbl_803EC554@ha +/* 80332BF4 0032FB54 38 08 C5 A8 */ addi r0, r8, lbl_803EC5A8@l +/* 80332BF8 0032FB58 3C C0 80 3F */ lis r6, lbl_803EE0C4@ha +/* 80332BFC 0032FB5C 90 03 00 00 */ stw r0, 0(r3) +/* 80332C00 0032FB60 38 E7 C5 54 */ addi r7, r7, lbl_803EC554@l +/* 80332C04 0032FB64 38 06 E0 C4 */ addi r0, r6, lbl_803EE0C4@l +/* 80332C08 0032FB68 90 E3 00 00 */ stw r7, 0(r3) +/* 80332C0C 0032FB6C 90 03 00 00 */ stw r0, 0(r3) +/* 80332C10 0032FB70 90 83 00 04 */ stw r4, 4(r3) +/* 80332C14 0032FB74 90 A3 00 08 */ stw r5, 8(r3) +/* 80332C18 0032FB78 4E 80 00 20 */ blr + +.global GetValue__12CRETimeScaleCFiRf +GetValue__12CRETimeScaleCFiRf: +/* 80332C1C 0032FB7C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80332C20 0032FB80 7C 08 02 A6 */ mflr r0 +/* 80332C24 0032FB84 90 01 00 24 */ stw r0, 0x24(r1) +/* 80332C28 0032FB88 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80332C2C 0032FB8C 7C BF 2B 78 */ mr r31, r5 +/* 80332C30 0032FB90 38 A1 00 08 */ addi r5, r1, 8 +/* 80332C34 0032FB94 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80332C38 0032FB98 7C 9E 23 78 */ mr r30, r4 +/* 80332C3C 0032FB9C 80 63 00 04 */ lwz r3, 4(r3) +/* 80332C40 0032FBA0 81 83 00 00 */ lwz r12, 0(r3) +/* 80332C44 0032FBA4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80332C48 0032FBA8 7D 89 03 A6 */ mtctr r12 +/* 80332C4C 0032FBAC 4E 80 04 21 */ bctrl +/* 80332C50 0032FBB0 6F C3 80 00 */ xoris r3, r30, 0x8000 +/* 80332C54 0032FBB4 3C 00 43 30 */ lis r0, 0x4330 +/* 80332C58 0032FBB8 90 61 00 14 */ stw r3, 0x14(r1) +/* 80332C5C 0032FBBC 38 60 00 00 */ li r3, 0 +/* 80332C60 0032FBC0 C8 42 CB 20 */ lfd f2, lbl_805AE840@sda21(r2) +/* 80332C64 0032FBC4 90 01 00 10 */ stw r0, 0x10(r1) +/* 80332C68 0032FBC8 C0 01 00 08 */ lfs f0, 8(r1) +/* 80332C6C 0032FBCC C8 21 00 10 */ lfd f1, 0x10(r1) +/* 80332C70 0032FBD0 EC 21 10 28 */ fsubs f1, f1, f2 +/* 80332C74 0032FBD4 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80332C78 0032FBD8 D0 1F 00 00 */ stfs f0, 0(r31) +/* 80332C7C 0032FBDC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80332C80 0032FBE0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80332C84 0032FBE4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80332C88 0032FBE8 7C 08 03 A6 */ mtlr r0 +/* 80332C8C 0032FBEC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80332C90 0032FBF0 4E 80 00 20 */ blr + +.global __dt__12CRETimeScaleFv +__dt__12CRETimeScaleFv: +/* 80332C94 0032FBF4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80332C98 0032FBF8 7C 08 02 A6 */ mflr r0 +/* 80332C9C 0032FBFC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80332CA0 0032FC00 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80332CA4 0032FC04 7C 9F 23 78 */ mr r31, r4 +/* 80332CA8 0032FC08 93 C1 00 08 */ stw r30, 8(r1) +/* 80332CAC 0032FC0C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80332CB0 0032FC10 41 82 00 68 */ beq lbl_80332D18 +/* 80332CB4 0032FC14 3C 60 80 3F */ lis r3, lbl_803EE0D8@ha +/* 80332CB8 0032FC18 38 03 E0 D8 */ addi r0, r3, lbl_803EE0D8@l +/* 80332CBC 0032FC1C 90 1E 00 00 */ stw r0, 0(r30) +/* 80332CC0 0032FC20 80 7E 00 04 */ lwz r3, 4(r30) +/* 80332CC4 0032FC24 28 03 00 00 */ cmplwi r3, 0 +/* 80332CC8 0032FC28 41 82 00 18 */ beq lbl_80332CE0 +/* 80332CCC 0032FC2C 81 83 00 00 */ lwz r12, 0(r3) +/* 80332CD0 0032FC30 38 80 00 01 */ li r4, 1 +/* 80332CD4 0032FC34 81 8C 00 08 */ lwz r12, 8(r12) +/* 80332CD8 0032FC38 7D 89 03 A6 */ mtctr r12 +/* 80332CDC 0032FC3C 4E 80 04 21 */ bctrl +lbl_80332CE0: +/* 80332CE0 0032FC40 28 1E 00 00 */ cmplwi r30, 0 +/* 80332CE4 0032FC44 41 82 00 20 */ beq lbl_80332D04 +/* 80332CE8 0032FC48 3C 60 80 3F */ lis r3, lbl_803EC554@ha +/* 80332CEC 0032FC4C 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l +/* 80332CF0 0032FC50 90 1E 00 00 */ stw r0, 0(r30) +/* 80332CF4 0032FC54 41 82 00 10 */ beq lbl_80332D04 +/* 80332CF8 0032FC58 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80332CFC 0032FC5C 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80332D00 0032FC60 90 1E 00 00 */ stw r0, 0(r30) +lbl_80332D04: +/* 80332D04 0032FC64 7F E0 07 35 */ extsh. r0, r31 +/* 80332D08 0032FC68 40 81 00 10 */ ble lbl_80332D18 +/* 80332D0C 0032FC6C 7F C3 F3 78 */ mr r3, r30 +/* 80332D10 0032FC70 38 80 00 08 */ li r4, 8 +/* 80332D14 0032FC74 48 03 9D 51 */ bl sub_8036ca64 +lbl_80332D18: +/* 80332D18 0032FC78 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80332D1C 0032FC7C 7F C3 F3 78 */ mr r3, r30 +/* 80332D20 0032FC80 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80332D24 0032FC84 83 C1 00 08 */ lwz r30, 8(r1) +/* 80332D28 0032FC88 7C 08 03 A6 */ mtlr r0 +/* 80332D2C 0032FC8C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80332D30 0032FC90 4E 80 00 20 */ blr + +.global __ct__12CRETimeScaleFP12CRealElement +__ct__12CRETimeScaleFP12CRealElement: +/* 80332D34 0032FC94 3C E0 80 3F */ lis r7, lbl_803EC5A8@ha +/* 80332D38 0032FC98 3C C0 80 3F */ lis r6, lbl_803EC554@ha +/* 80332D3C 0032FC9C 38 07 C5 A8 */ addi r0, r7, lbl_803EC5A8@l +/* 80332D40 0032FCA0 3C A0 80 3F */ lis r5, lbl_803EE0D8@ha +/* 80332D44 0032FCA4 90 03 00 00 */ stw r0, 0(r3) +/* 80332D48 0032FCA8 38 C6 C5 54 */ addi r6, r6, lbl_803EC554@l +/* 80332D4C 0032FCAC 38 05 E0 D8 */ addi r0, r5, lbl_803EE0D8@l +/* 80332D50 0032FCB0 90 C3 00 00 */ stw r6, 0(r3) +/* 80332D54 0032FCB4 90 03 00 00 */ stw r0, 0(r3) +/* 80332D58 0032FCB8 90 83 00 04 */ stw r4, 4(r3) +/* 80332D5C 0032FCBC 4E 80 00 20 */ blr + +.global GetValue__11CRESineWaveCFiRf +GetValue__11CRESineWaveCFiRf: +/* 80332D60 0032FCC0 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80332D64 0032FCC4 7C 08 02 A6 */ mflr r0 +/* 80332D68 0032FCC8 90 01 00 34 */ stw r0, 0x34(r1) +/* 80332D6C 0032FCCC 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80332D70 0032FCD0 7C BF 2B 78 */ mr r31, r5 +/* 80332D74 0032FCD4 38 A1 00 10 */ addi r5, r1, 0x10 +/* 80332D78 0032FCD8 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80332D7C 0032FCDC 7C 9E 23 78 */ mr r30, r4 +/* 80332D80 0032FCE0 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80332D84 0032FCE4 7C 7D 1B 78 */ mr r29, r3 +/* 80332D88 0032FCE8 80 63 00 08 */ lwz r3, 8(r3) +/* 80332D8C 0032FCEC 81 83 00 00 */ lwz r12, 0(r3) +/* 80332D90 0032FCF0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80332D94 0032FCF4 7D 89 03 A6 */ mtctr r12 +/* 80332D98 0032FCF8 4E 80 04 21 */ bctrl +/* 80332D9C 0032FCFC 80 7D 00 04 */ lwz r3, 4(r29) +/* 80332DA0 0032FD00 7F C4 F3 78 */ mr r4, r30 +/* 80332DA4 0032FD04 38 A1 00 0C */ addi r5, r1, 0xc +/* 80332DA8 0032FD08 81 83 00 00 */ lwz r12, 0(r3) +/* 80332DAC 0032FD0C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80332DB0 0032FD10 7D 89 03 A6 */ mtctr r12 +/* 80332DB4 0032FD14 4E 80 04 21 */ bctrl +/* 80332DB8 0032FD18 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 80332DBC 0032FD1C 7F C4 F3 78 */ mr r4, r30 +/* 80332DC0 0032FD20 38 A1 00 08 */ addi r5, r1, 8 +/* 80332DC4 0032FD24 81 83 00 00 */ lwz r12, 0(r3) +/* 80332DC8 0032FD28 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80332DCC 0032FD2C 7D 89 03 A6 */ mtctr r12 +/* 80332DD0 0032FD30 4E 80 04 21 */ bctrl +/* 80332DD4 0032FD34 6F C3 80 00 */ xoris r3, r30, 0x8000 +/* 80332DD8 0032FD38 3C 00 43 30 */ lis r0, 0x4330 +/* 80332DDC 0032FD3C 90 61 00 1C */ stw r3, 0x1c(r1) +/* 80332DE0 0032FD40 C8 62 CB 20 */ lfd f3, lbl_805AE840@sda21(r2) +/* 80332DE4 0032FD44 90 01 00 18 */ stw r0, 0x18(r1) +/* 80332DE8 0032FD48 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 80332DEC 0032FD4C C8 41 00 18 */ lfd f2, 0x18(r1) +/* 80332DF0 0032FD50 C0 01 00 08 */ lfs f0, 8(r1) +/* 80332DF4 0032FD54 EC 42 18 28 */ fsubs f2, f2, f3 +/* 80332DF8 0032FD58 C0 62 CB 38 */ lfs f3, lbl_805AE858@sda21(r2) +/* 80332DFC 0032FD5C EC 02 00 7A */ fmadds f0, f2, f1, f0 +/* 80332E00 0032FD60 EC 23 00 32 */ fmuls f1, f3, f0 +/* 80332E04 0032FD64 48 06 1C D9 */ bl sin +/* 80332E08 0032FD68 FC 20 08 18 */ frsp f1, f1 +/* 80332E0C 0032FD6C C0 01 00 10 */ lfs f0, 0x10(r1) +/* 80332E10 0032FD70 38 60 00 00 */ li r3, 0 +/* 80332E14 0032FD74 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80332E18 0032FD78 D0 1F 00 00 */ stfs f0, 0(r31) +/* 80332E1C 0032FD7C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80332E20 0032FD80 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80332E24 0032FD84 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80332E28 0032FD88 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80332E2C 0032FD8C 7C 08 03 A6 */ mtlr r0 +/* 80332E30 0032FD90 38 21 00 30 */ addi r1, r1, 0x30 +/* 80332E34 0032FD94 4E 80 00 20 */ blr + +.global __dt__11CRESineWaveFv +__dt__11CRESineWaveFv: +/* 80332E38 0032FD98 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80332E3C 0032FD9C 7C 08 02 A6 */ mflr r0 +/* 80332E40 0032FDA0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80332E44 0032FDA4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80332E48 0032FDA8 7C 9F 23 78 */ mr r31, r4 +/* 80332E4C 0032FDAC 93 C1 00 08 */ stw r30, 8(r1) +/* 80332E50 0032FDB0 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80332E54 0032FDB4 41 82 00 A8 */ beq lbl_80332EFC +/* 80332E58 0032FDB8 3C 60 80 3F */ lis r3, lbl_803EE0EC@ha +/* 80332E5C 0032FDBC 38 03 E0 EC */ addi r0, r3, lbl_803EE0EC@l +/* 80332E60 0032FDC0 90 1E 00 00 */ stw r0, 0(r30) +/* 80332E64 0032FDC4 80 7E 00 04 */ lwz r3, 4(r30) +/* 80332E68 0032FDC8 28 03 00 00 */ cmplwi r3, 0 +/* 80332E6C 0032FDCC 41 82 00 18 */ beq lbl_80332E84 +/* 80332E70 0032FDD0 81 83 00 00 */ lwz r12, 0(r3) +/* 80332E74 0032FDD4 38 80 00 01 */ li r4, 1 +/* 80332E78 0032FDD8 81 8C 00 08 */ lwz r12, 8(r12) +/* 80332E7C 0032FDDC 7D 89 03 A6 */ mtctr r12 +/* 80332E80 0032FDE0 4E 80 04 21 */ bctrl +lbl_80332E84: +/* 80332E84 0032FDE4 80 7E 00 08 */ lwz r3, 8(r30) +/* 80332E88 0032FDE8 28 03 00 00 */ cmplwi r3, 0 +/* 80332E8C 0032FDEC 41 82 00 18 */ beq lbl_80332EA4 +/* 80332E90 0032FDF0 81 83 00 00 */ lwz r12, 0(r3) +/* 80332E94 0032FDF4 38 80 00 01 */ li r4, 1 +/* 80332E98 0032FDF8 81 8C 00 08 */ lwz r12, 8(r12) +/* 80332E9C 0032FDFC 7D 89 03 A6 */ mtctr r12 +/* 80332EA0 0032FE00 4E 80 04 21 */ bctrl +lbl_80332EA4: +/* 80332EA4 0032FE04 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80332EA8 0032FE08 28 03 00 00 */ cmplwi r3, 0 +/* 80332EAC 0032FE0C 41 82 00 18 */ beq lbl_80332EC4 +/* 80332EB0 0032FE10 81 83 00 00 */ lwz r12, 0(r3) +/* 80332EB4 0032FE14 38 80 00 01 */ li r4, 1 +/* 80332EB8 0032FE18 81 8C 00 08 */ lwz r12, 8(r12) +/* 80332EBC 0032FE1C 7D 89 03 A6 */ mtctr r12 +/* 80332EC0 0032FE20 4E 80 04 21 */ bctrl +lbl_80332EC4: +/* 80332EC4 0032FE24 28 1E 00 00 */ cmplwi r30, 0 +/* 80332EC8 0032FE28 41 82 00 20 */ beq lbl_80332EE8 +/* 80332ECC 0032FE2C 3C 60 80 3F */ lis r3, lbl_803EC554@ha +/* 80332ED0 0032FE30 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l +/* 80332ED4 0032FE34 90 1E 00 00 */ stw r0, 0(r30) +/* 80332ED8 0032FE38 41 82 00 10 */ beq lbl_80332EE8 +/* 80332EDC 0032FE3C 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80332EE0 0032FE40 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80332EE4 0032FE44 90 1E 00 00 */ stw r0, 0(r30) +lbl_80332EE8: +/* 80332EE8 0032FE48 7F E0 07 35 */ extsh. r0, r31 +/* 80332EEC 0032FE4C 40 81 00 10 */ ble lbl_80332EFC +/* 80332EF0 0032FE50 7F C3 F3 78 */ mr r3, r30 +/* 80332EF4 0032FE54 38 80 00 10 */ li r4, 0x10 +/* 80332EF8 0032FE58 48 03 9B 6D */ bl sub_8036ca64 +lbl_80332EFC: +/* 80332EFC 0032FE5C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80332F00 0032FE60 7F C3 F3 78 */ mr r3, r30 +/* 80332F04 0032FE64 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80332F08 0032FE68 83 C1 00 08 */ lwz r30, 8(r1) +/* 80332F0C 0032FE6C 7C 08 03 A6 */ mtlr r0 +/* 80332F10 0032FE70 38 21 00 10 */ addi r1, r1, 0x10 +/* 80332F14 0032FE74 4E 80 00 20 */ blr + +.global __ct__11CRESineWaveFP12CRealElementP12CRealElementP12CRealElement +__ct__11CRESineWaveFP12CRealElementP12CRealElementP12CRealElement: +/* 80332F18 0032FE78 3D 20 80 3F */ lis r9, lbl_803EC5A8@ha +/* 80332F1C 0032FE7C 3D 00 80 3F */ lis r8, lbl_803EC554@ha +/* 80332F20 0032FE80 38 09 C5 A8 */ addi r0, r9, lbl_803EC5A8@l +/* 80332F24 0032FE84 3C E0 80 3F */ lis r7, lbl_803EE0EC@ha +/* 80332F28 0032FE88 90 03 00 00 */ stw r0, 0(r3) +/* 80332F2C 0032FE8C 39 08 C5 54 */ addi r8, r8, lbl_803EC554@l +/* 80332F30 0032FE90 38 07 E0 EC */ addi r0, r7, lbl_803EE0EC@l +/* 80332F34 0032FE94 91 03 00 00 */ stw r8, 0(r3) +/* 80332F38 0032FE98 90 03 00 00 */ stw r0, 0(r3) +/* 80332F3C 0032FE9C 90 A3 00 04 */ stw r5, 4(r3) +/* 80332F40 0032FEA0 90 C3 00 08 */ stw r6, 8(r3) +/* 80332F44 0032FEA4 90 83 00 0C */ stw r4, 0xc(r3) +/* 80332F48 0032FEA8 4E 80 00 20 */ blr + +.global GetValue__11CREConstantCFiRf +GetValue__11CREConstantCFiRf: +/* 80332F4C 0032FEAC C0 03 00 04 */ lfs f0, 4(r3) +/* 80332F50 0032FEB0 38 60 00 00 */ li r3, 0 +/* 80332F54 0032FEB4 D0 05 00 00 */ stfs f0, 0(r5) +/* 80332F58 0032FEB8 4E 80 00 20 */ blr + +.global __dt__11CREConstantFv +__dt__11CREConstantFv: +/* 80332F5C 0032FEBC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80332F60 0032FEC0 7C 08 02 A6 */ mflr r0 +/* 80332F64 0032FEC4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80332F68 0032FEC8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80332F6C 0032FECC 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80332F70 0032FED0 41 82 00 44 */ beq lbl_80332FB4 +/* 80332F74 0032FED4 3C 60 80 3F */ lis r3, lbl_803EE100@ha +/* 80332F78 0032FED8 38 03 E1 00 */ addi r0, r3, lbl_803EE100@l +/* 80332F7C 0032FEDC 90 1F 00 00 */ stw r0, 0(r31) +/* 80332F80 0032FEE0 41 82 00 20 */ beq lbl_80332FA0 +/* 80332F84 0032FEE4 3C 60 80 3F */ lis r3, lbl_803EC554@ha +/* 80332F88 0032FEE8 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l +/* 80332F8C 0032FEEC 90 1F 00 00 */ stw r0, 0(r31) +/* 80332F90 0032FEF0 41 82 00 10 */ beq lbl_80332FA0 +/* 80332F94 0032FEF4 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80332F98 0032FEF8 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80332F9C 0032FEFC 90 1F 00 00 */ stw r0, 0(r31) +lbl_80332FA0: +/* 80332FA0 0032FF00 7C 80 07 35 */ extsh. r0, r4 +/* 80332FA4 0032FF04 40 81 00 10 */ ble lbl_80332FB4 +/* 80332FA8 0032FF08 7F E3 FB 78 */ mr r3, r31 +/* 80332FAC 0032FF0C 38 80 00 08 */ li r4, 8 +/* 80332FB0 0032FF10 48 03 9A B5 */ bl sub_8036ca64 +lbl_80332FB4: +/* 80332FB4 0032FF14 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80332FB8 0032FF18 7F E3 FB 78 */ mr r3, r31 +/* 80332FBC 0032FF1C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80332FC0 0032FF20 7C 08 03 A6 */ mtlr r0 +/* 80332FC4 0032FF24 38 21 00 10 */ addi r1, r1, 0x10 +/* 80332FC8 0032FF28 4E 80 00 20 */ blr + +.global __ct__11CREConstantFf +__ct__11CREConstantFf: +/* 80332FCC 0032FF2C 3C C0 80 3F */ lis r6, lbl_803EC5A8@ha +/* 80332FD0 0032FF30 3C A0 80 3F */ lis r5, lbl_803EC554@ha +/* 80332FD4 0032FF34 38 06 C5 A8 */ addi r0, r6, lbl_803EC5A8@l +/* 80332FD8 0032FF38 3C 80 80 3F */ lis r4, lbl_803EE100@ha +/* 80332FDC 0032FF3C 90 03 00 00 */ stw r0, 0(r3) +/* 80332FE0 0032FF40 38 A5 C5 54 */ addi r5, r5, lbl_803EC554@l +/* 80332FE4 0032FF44 38 04 E1 00 */ addi r0, r4, lbl_803EE100@l +/* 80332FE8 0032FF48 90 A3 00 00 */ stw r5, 0(r3) +/* 80332FEC 0032FF4C 90 03 00 00 */ stw r0, 0(r3) +/* 80332FF0 0032FF50 D0 23 00 04 */ stfs f1, 4(r3) +/* 80332FF4 0032FF54 4E 80 00 20 */ blr + +.global __dt__7CREPRLW +__dt__7CREPRLW: +/* 80332FF8 0032FF58 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80332FFC 0032FF5C 7C 08 02 A6 */ mflr r0 +/* 80333000 0032FF60 90 01 00 14 */ stw r0, 0x14(r1) +/* 80333004 0032FF64 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80333008 0032FF68 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8033300C 0032FF6C 41 82 00 44 */ beq lbl_80333050 +/* 80333010 0032FF70 3C 60 80 3F */ lis r3, lbl_803EDF34@ha +/* 80333014 0032FF74 38 03 DF 34 */ addi r0, r3, lbl_803EDF34@l +/* 80333018 0032FF78 90 1F 00 00 */ stw r0, 0(r31) +/* 8033301C 0032FF7C 41 82 00 20 */ beq lbl_8033303C +/* 80333020 0032FF80 3C 60 80 3F */ lis r3, lbl_803EC554@ha +/* 80333024 0032FF84 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l +/* 80333028 0032FF88 90 1F 00 00 */ stw r0, 0(r31) +/* 8033302C 0032FF8C 41 82 00 10 */ beq lbl_8033303C +/* 80333030 0032FF90 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80333034 0032FF94 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80333038 0032FF98 90 1F 00 00 */ stw r0, 0(r31) +lbl_8033303C: +/* 8033303C 0032FF9C 7C 80 07 35 */ extsh. r0, r4 +/* 80333040 0032FFA0 40 81 00 10 */ ble lbl_80333050 +/* 80333044 0032FFA4 7F E3 FB 78 */ mr r3, r31 +/* 80333048 0032FFA8 38 80 00 04 */ li r4, 4 +/* 8033304C 0032FFAC 48 03 9A 19 */ bl sub_8036ca64 +lbl_80333050: +/* 80333050 0032FFB0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80333054 0032FFB4 7F E3 FB 78 */ mr r3, r31 +/* 80333058 0032FFB8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033305C 0032FFBC 7C 08 03 A6 */ mtlr r0 +/* 80333060 0032FFC0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80333064 0032FFC4 4E 80 00 20 */ blr + +.global __dt__7CREPSLL +__dt__7CREPSLL: +/* 80333068 0032FFC8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033306C 0032FFCC 7C 08 02 A6 */ mflr r0 +/* 80333070 0032FFD0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80333074 0032FFD4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80333078 0032FFD8 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8033307C 0032FFDC 41 82 00 44 */ beq lbl_803330C0 +/* 80333080 0032FFE0 3C 60 80 3F */ lis r3, lbl_803EDF48@ha +/* 80333084 0032FFE4 38 03 DF 48 */ addi r0, r3, lbl_803EDF48@l +/* 80333088 0032FFE8 90 1F 00 00 */ stw r0, 0(r31) +/* 8033308C 0032FFEC 41 82 00 20 */ beq lbl_803330AC +/* 80333090 0032FFF0 3C 60 80 3F */ lis r3, lbl_803EC554@ha +/* 80333094 0032FFF4 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l +/* 80333098 0032FFF8 90 1F 00 00 */ stw r0, 0(r31) +/* 8033309C 0032FFFC 41 82 00 10 */ beq lbl_803330AC +/* 803330A0 00330000 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 803330A4 00330004 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 803330A8 00330008 90 1F 00 00 */ stw r0, 0(r31) +lbl_803330AC: +/* 803330AC 0033000C 7C 80 07 35 */ extsh. r0, r4 +/* 803330B0 00330010 40 81 00 10 */ ble lbl_803330C0 +/* 803330B4 00330014 7F E3 FB 78 */ mr r3, r31 +/* 803330B8 00330018 38 80 00 04 */ li r4, 4 +/* 803330BC 0033001C 48 03 99 A9 */ bl sub_8036ca64 +lbl_803330C0: +/* 803330C0 00330020 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803330C4 00330024 7F E3 FB 78 */ mr r3, r31 +/* 803330C8 00330028 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803330CC 0033002C 7C 08 03 A6 */ mtlr r0 +/* 803330D0 00330030 38 21 00 10 */ addi r1, r1, 0x10 +/* 803330D4 00330034 4E 80 00 20 */ blr + +.global __dt__27CREParticleAccessParameter8 +__dt__27CREParticleAccessParameter8: +/* 803330D8 00330038 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803330DC 0033003C 7C 08 02 A6 */ mflr r0 +/* 803330E0 00330040 90 01 00 14 */ stw r0, 0x14(r1) +/* 803330E4 00330044 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803330E8 00330048 7C 7F 1B 79 */ or. r31, r3, r3 +/* 803330EC 0033004C 41 82 00 44 */ beq lbl_80333130 +/* 803330F0 00330050 3C 60 80 3F */ lis r3, lbl_803EDF5C@ha +/* 803330F4 00330054 38 03 DF 5C */ addi r0, r3, lbl_803EDF5C@l +/* 803330F8 00330058 90 1F 00 00 */ stw r0, 0(r31) +/* 803330FC 0033005C 41 82 00 20 */ beq lbl_8033311C +/* 80333100 00330060 3C 60 80 3F */ lis r3, lbl_803EC554@ha +/* 80333104 00330064 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l +/* 80333108 00330068 90 1F 00 00 */ stw r0, 0(r31) +/* 8033310C 0033006C 41 82 00 10 */ beq lbl_8033311C +/* 80333110 00330070 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80333114 00330074 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80333118 00330078 90 1F 00 00 */ stw r0, 0(r31) +lbl_8033311C: +/* 8033311C 0033007C 7C 80 07 35 */ extsh. r0, r4 +/* 80333120 00330080 40 81 00 10 */ ble lbl_80333130 +/* 80333124 00330084 7F E3 FB 78 */ mr r3, r31 +/* 80333128 00330088 38 80 00 04 */ li r4, 4 +/* 8033312C 0033008C 48 03 99 39 */ bl sub_8036ca64 +lbl_80333130: +/* 80333130 00330090 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80333134 00330094 7F E3 FB 78 */ mr r3, r31 +/* 80333138 00330098 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033313C 0033009C 7C 08 03 A6 */ mtlr r0 +/* 80333140 003300A0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80333144 003300A4 4E 80 00 20 */ blr + +.global __dt__27CREParticleAccessParameter7 +__dt__27CREParticleAccessParameter7: +/* 80333148 003300A8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033314C 003300AC 7C 08 02 A6 */ mflr r0 +/* 80333150 003300B0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80333154 003300B4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80333158 003300B8 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8033315C 003300BC 41 82 00 44 */ beq lbl_803331A0 +/* 80333160 003300C0 3C 60 80 3F */ lis r3, lbl_803EDF70@ha +/* 80333164 003300C4 38 03 DF 70 */ addi r0, r3, lbl_803EDF70@l +/* 80333168 003300C8 90 1F 00 00 */ stw r0, 0(r31) +/* 8033316C 003300CC 41 82 00 20 */ beq lbl_8033318C +/* 80333170 003300D0 3C 60 80 3F */ lis r3, lbl_803EC554@ha +/* 80333174 003300D4 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l +/* 80333178 003300D8 90 1F 00 00 */ stw r0, 0(r31) +/* 8033317C 003300DC 41 82 00 10 */ beq lbl_8033318C +/* 80333180 003300E0 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80333184 003300E4 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80333188 003300E8 90 1F 00 00 */ stw r0, 0(r31) +lbl_8033318C: +/* 8033318C 003300EC 7C 80 07 35 */ extsh. r0, r4 +/* 80333190 003300F0 40 81 00 10 */ ble lbl_803331A0 +/* 80333194 003300F4 7F E3 FB 78 */ mr r3, r31 +/* 80333198 003300F8 38 80 00 04 */ li r4, 4 +/* 8033319C 003300FC 48 03 98 C9 */ bl sub_8036ca64 +lbl_803331A0: +/* 803331A0 00330100 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803331A4 00330104 7F E3 FB 78 */ mr r3, r31 +/* 803331A8 00330108 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803331AC 0033010C 7C 08 03 A6 */ mtlr r0 +/* 803331B0 00330110 38 21 00 10 */ addi r1, r1, 0x10 +/* 803331B4 00330114 4E 80 00 20 */ blr + +.global __dt__27CREParticleAccessParameter6 +__dt__27CREParticleAccessParameter6: +/* 803331B8 00330118 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803331BC 0033011C 7C 08 02 A6 */ mflr r0 +/* 803331C0 00330120 90 01 00 14 */ stw r0, 0x14(r1) +/* 803331C4 00330124 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803331C8 00330128 7C 7F 1B 79 */ or. r31, r3, r3 +/* 803331CC 0033012C 41 82 00 44 */ beq lbl_80333210 +/* 803331D0 00330130 3C 60 80 3F */ lis r3, lbl_803EDF84@ha +/* 803331D4 00330134 38 03 DF 84 */ addi r0, r3, lbl_803EDF84@l +/* 803331D8 00330138 90 1F 00 00 */ stw r0, 0(r31) +/* 803331DC 0033013C 41 82 00 20 */ beq lbl_803331FC +/* 803331E0 00330140 3C 60 80 3F */ lis r3, lbl_803EC554@ha +/* 803331E4 00330144 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l +/* 803331E8 00330148 90 1F 00 00 */ stw r0, 0(r31) +/* 803331EC 0033014C 41 82 00 10 */ beq lbl_803331FC +/* 803331F0 00330150 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 803331F4 00330154 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 803331F8 00330158 90 1F 00 00 */ stw r0, 0(r31) +lbl_803331FC: +/* 803331FC 0033015C 7C 80 07 35 */ extsh. r0, r4 +/* 80333200 00330160 40 81 00 10 */ ble lbl_80333210 +/* 80333204 00330164 7F E3 FB 78 */ mr r3, r31 +/* 80333208 00330168 38 80 00 04 */ li r4, 4 +/* 8033320C 0033016C 48 03 98 59 */ bl sub_8036ca64 +lbl_80333210: +/* 80333210 00330170 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80333214 00330174 7F E3 FB 78 */ mr r3, r31 +/* 80333218 00330178 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033321C 0033017C 7C 08 03 A6 */ mtlr r0 +/* 80333220 00330180 38 21 00 10 */ addi r1, r1, 0x10 +/* 80333224 00330184 4E 80 00 20 */ blr + +.global __dt__27CREParticleAccessParameter5 +__dt__27CREParticleAccessParameter5: +/* 80333228 00330188 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033322C 0033018C 7C 08 02 A6 */ mflr r0 +/* 80333230 00330190 90 01 00 14 */ stw r0, 0x14(r1) +/* 80333234 00330194 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80333238 00330198 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8033323C 0033019C 41 82 00 44 */ beq lbl_80333280 +/* 80333240 003301A0 3C 60 80 3F */ lis r3, lbl_803EDF98@ha +/* 80333244 003301A4 38 03 DF 98 */ addi r0, r3, lbl_803EDF98@l +/* 80333248 003301A8 90 1F 00 00 */ stw r0, 0(r31) +/* 8033324C 003301AC 41 82 00 20 */ beq lbl_8033326C +/* 80333250 003301B0 3C 60 80 3F */ lis r3, lbl_803EC554@ha +/* 80333254 003301B4 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l +/* 80333258 003301B8 90 1F 00 00 */ stw r0, 0(r31) +/* 8033325C 003301BC 41 82 00 10 */ beq lbl_8033326C +/* 80333260 003301C0 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80333264 003301C4 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80333268 003301C8 90 1F 00 00 */ stw r0, 0(r31) +lbl_8033326C: +/* 8033326C 003301CC 7C 80 07 35 */ extsh. r0, r4 +/* 80333270 003301D0 40 81 00 10 */ ble lbl_80333280 +/* 80333274 003301D4 7F E3 FB 78 */ mr r3, r31 +/* 80333278 003301D8 38 80 00 04 */ li r4, 4 +/* 8033327C 003301DC 48 03 97 E9 */ bl sub_8036ca64 +lbl_80333280: +/* 80333280 003301E0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80333284 003301E4 7F E3 FB 78 */ mr r3, r31 +/* 80333288 003301E8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033328C 003301EC 7C 08 03 A6 */ mtlr r0 +/* 80333290 003301F0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80333294 003301F4 4E 80 00 20 */ blr + +.global __dt__27CREParticleAccessParameter4 +__dt__27CREParticleAccessParameter4: +/* 80333298 003301F8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033329C 003301FC 7C 08 02 A6 */ mflr r0 +/* 803332A0 00330200 90 01 00 14 */ stw r0, 0x14(r1) +/* 803332A4 00330204 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803332A8 00330208 7C 7F 1B 79 */ or. r31, r3, r3 +/* 803332AC 0033020C 41 82 00 44 */ beq lbl_803332F0 +/* 803332B0 00330210 3C 60 80 3F */ lis r3, lbl_803EDFAC@ha +/* 803332B4 00330214 38 03 DF AC */ addi r0, r3, lbl_803EDFAC@l +/* 803332B8 00330218 90 1F 00 00 */ stw r0, 0(r31) +/* 803332BC 0033021C 41 82 00 20 */ beq lbl_803332DC +/* 803332C0 00330220 3C 60 80 3F */ lis r3, lbl_803EC554@ha +/* 803332C4 00330224 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l +/* 803332C8 00330228 90 1F 00 00 */ stw r0, 0(r31) +/* 803332CC 0033022C 41 82 00 10 */ beq lbl_803332DC +/* 803332D0 00330230 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 803332D4 00330234 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 803332D8 00330238 90 1F 00 00 */ stw r0, 0(r31) +lbl_803332DC: +/* 803332DC 0033023C 7C 80 07 35 */ extsh. r0, r4 +/* 803332E0 00330240 40 81 00 10 */ ble lbl_803332F0 +/* 803332E4 00330244 7F E3 FB 78 */ mr r3, r31 +/* 803332E8 00330248 38 80 00 04 */ li r4, 4 +/* 803332EC 0033024C 48 03 97 79 */ bl sub_8036ca64 +lbl_803332F0: +/* 803332F0 00330250 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803332F4 00330254 7F E3 FB 78 */ mr r3, r31 +/* 803332F8 00330258 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803332FC 0033025C 7C 08 03 A6 */ mtlr r0 +/* 80333300 00330260 38 21 00 10 */ addi r1, r1, 0x10 +/* 80333304 00330264 4E 80 00 20 */ blr + +.global __dt__27CREParticleAccessParameter3 +__dt__27CREParticleAccessParameter3: +/* 80333308 00330268 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033330C 0033026C 7C 08 02 A6 */ mflr r0 +/* 80333310 00330270 90 01 00 14 */ stw r0, 0x14(r1) +/* 80333314 00330274 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80333318 00330278 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8033331C 0033027C 41 82 00 44 */ beq lbl_80333360 +/* 80333320 00330280 3C 60 80 3F */ lis r3, lbl_803EDFC0@ha +/* 80333324 00330284 38 03 DF C0 */ addi r0, r3, lbl_803EDFC0@l +/* 80333328 00330288 90 1F 00 00 */ stw r0, 0(r31) +/* 8033332C 0033028C 41 82 00 20 */ beq lbl_8033334C +/* 80333330 00330290 3C 60 80 3F */ lis r3, lbl_803EC554@ha +/* 80333334 00330294 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l +/* 80333338 00330298 90 1F 00 00 */ stw r0, 0(r31) +/* 8033333C 0033029C 41 82 00 10 */ beq lbl_8033334C +/* 80333340 003302A0 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80333344 003302A4 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80333348 003302A8 90 1F 00 00 */ stw r0, 0(r31) +lbl_8033334C: +/* 8033334C 003302AC 7C 80 07 35 */ extsh. r0, r4 +/* 80333350 003302B0 40 81 00 10 */ ble lbl_80333360 +/* 80333354 003302B4 7F E3 FB 78 */ mr r3, r31 +/* 80333358 003302B8 38 80 00 04 */ li r4, 4 +/* 8033335C 003302BC 48 03 97 09 */ bl sub_8036ca64 +lbl_80333360: +/* 80333360 003302C0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80333364 003302C4 7F E3 FB 78 */ mr r3, r31 +/* 80333368 003302C8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033336C 003302CC 7C 08 03 A6 */ mtlr r0 +/* 80333370 003302D0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80333374 003302D4 4E 80 00 20 */ blr + +.global __dt__27CREParticleAccessParameter2 +__dt__27CREParticleAccessParameter2: +/* 80333378 003302D8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033337C 003302DC 7C 08 02 A6 */ mflr r0 +/* 80333380 003302E0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80333384 003302E4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80333388 003302E8 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8033338C 003302EC 41 82 00 44 */ beq lbl_803333D0 +/* 80333390 003302F0 3C 60 80 3F */ lis r3, lbl_803EDFD4@ha +/* 80333394 003302F4 38 03 DF D4 */ addi r0, r3, lbl_803EDFD4@l +/* 80333398 003302F8 90 1F 00 00 */ stw r0, 0(r31) +/* 8033339C 003302FC 41 82 00 20 */ beq lbl_803333BC +/* 803333A0 00330300 3C 60 80 3F */ lis r3, lbl_803EC554@ha +/* 803333A4 00330304 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l +/* 803333A8 00330308 90 1F 00 00 */ stw r0, 0(r31) +/* 803333AC 0033030C 41 82 00 10 */ beq lbl_803333BC +/* 803333B0 00330310 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 803333B4 00330314 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 803333B8 00330318 90 1F 00 00 */ stw r0, 0(r31) +lbl_803333BC: +/* 803333BC 0033031C 7C 80 07 35 */ extsh. r0, r4 +/* 803333C0 00330320 40 81 00 10 */ ble lbl_803333D0 +/* 803333C4 00330324 7F E3 FB 78 */ mr r3, r31 +/* 803333C8 00330328 38 80 00 04 */ li r4, 4 +/* 803333CC 0033032C 48 03 96 99 */ bl sub_8036ca64 +lbl_803333D0: +/* 803333D0 00330330 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803333D4 00330334 7F E3 FB 78 */ mr r3, r31 +/* 803333D8 00330338 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803333DC 0033033C 7C 08 03 A6 */ mtlr r0 +/* 803333E0 00330340 38 21 00 10 */ addi r1, r1, 0x10 +/* 803333E4 00330344 4E 80 00 20 */ blr + +.global __dt__27CREParticleAccessParameter1 +__dt__27CREParticleAccessParameter1: +/* 803333E8 00330348 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803333EC 0033034C 7C 08 02 A6 */ mflr r0 +/* 803333F0 00330350 90 01 00 14 */ stw r0, 0x14(r1) +/* 803333F4 00330354 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803333F8 00330358 7C 7F 1B 79 */ or. r31, r3, r3 +/* 803333FC 0033035C 41 82 00 44 */ beq lbl_80333440 +/* 80333400 00330360 3C 60 80 3F */ lis r3, lbl_803EDFE8@ha +/* 80333404 00330364 38 03 DF E8 */ addi r0, r3, lbl_803EDFE8@l +/* 80333408 00330368 90 1F 00 00 */ stw r0, 0(r31) +/* 8033340C 0033036C 41 82 00 20 */ beq lbl_8033342C +/* 80333410 00330370 3C 60 80 3F */ lis r3, lbl_803EC554@ha +/* 80333414 00330374 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l +/* 80333418 00330378 90 1F 00 00 */ stw r0, 0(r31) +/* 8033341C 0033037C 41 82 00 10 */ beq lbl_8033342C +/* 80333420 00330380 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80333424 00330384 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80333428 00330388 90 1F 00 00 */ stw r0, 0(r31) +lbl_8033342C: +/* 8033342C 0033038C 7C 80 07 35 */ extsh. r0, r4 +/* 80333430 00330390 40 81 00 10 */ ble lbl_80333440 +/* 80333434 00330394 7F E3 FB 78 */ mr r3, r31 +/* 80333438 00330398 38 80 00 04 */ li r4, 4 +/* 8033343C 0033039C 48 03 96 29 */ bl sub_8036ca64 +lbl_80333440: +/* 80333440 003303A0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80333444 003303A4 7F E3 FB 78 */ mr r3, r31 +/* 80333448 003303A8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033344C 003303AC 7C 08 03 A6 */ mtlr r0 +/* 80333450 003303B0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80333454 003303B4 4E 80 00 20 */ blr + +.global IsConstant__16CREInitialRandomCF +IsConstant__16CREInitialRandomCF: +/* 80333458 003303B8 38 60 00 01 */ li r3, 1 +/* 8033345C 003303BC 4E 80 00 20 */ blr + +.global IsConstant__11CREConstantCFv +IsConstant__11CREConstantCFv: +/* 80333460 003303C0 38 60 00 01 */ li r3, 1 +/* 80333464 003303C4 4E 80 00 20 */ blr diff --git a/asm/Kyoto/Particles/CSpawnSystemKeyframeData.s b/asm/Kyoto/Particles/CSpawnSystemKeyframeData.s new file mode 100644 index 00000000..57c3dcbc --- /dev/null +++ b/asm/Kyoto/Particles/CSpawnSystemKeyframeData.s @@ -0,0 +1,842 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global LoadToken__Q224CSpawnSystemKeyframeData24CSpawnSystemKeyframeInfoFP11CSimplePool +LoadToken__Q224CSpawnSystemKeyframeData24CSpawnSystemKeyframeInfoFP11CSimplePool: +/* 80333468 003303C8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033346C 003303CC 7C 08 02 A6 */ mflr r0 +/* 80333470 003303D0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80333474 003303D4 38 A1 00 10 */ addi r5, r1, 0x10 +/* 80333478 003303D8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8033347C 003303DC 7C 7F 1B 78 */ mr r31, r3 +/* 80333480 003303E0 3C 60 50 41 */ lis r3, 0x50415254@ha +/* 80333484 003303E4 80 DF 00 00 */ lwz r6, 0(r31) +/* 80333488 003303E8 38 03 52 54 */ addi r0, r3, 0x50415254@l +/* 8033348C 003303EC 38 61 00 08 */ addi r3, r1, 8 +/* 80333490 003303F0 90 01 00 10 */ stw r0, 0x10(r1) +/* 80333494 003303F4 90 C1 00 14 */ stw r6, 0x14(r1) +/* 80333498 003303F8 81 84 00 00 */ lwz r12, 0(r4) +/* 8033349C 003303FC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803334A0 00330400 7D 89 03 A6 */ mtctr r12 +/* 803334A4 00330404 4E 80 04 21 */ bctrl +/* 803334A8 00330408 88 1F 00 18 */ lbz r0, 0x18(r31) +/* 803334AC 0033040C 28 00 00 00 */ cmplwi r0, 0 +/* 803334B0 00330410 40 82 00 20 */ bne lbl_803334D0 +/* 803334B4 00330414 34 7F 00 10 */ addic. r3, r31, 0x10 +/* 803334B8 00330418 41 82 00 0C */ beq lbl_803334C4 +/* 803334BC 0033041C 38 81 00 08 */ addi r4, r1, 8 +/* 803334C0 00330420 48 00 D9 E9 */ bl __ct__6CTokenFRC6CToken +lbl_803334C4: +/* 803334C4 00330424 38 00 00 01 */ li r0, 1 +/* 803334C8 00330428 98 1F 00 18 */ stb r0, 0x18(r31) +/* 803334CC 0033042C 48 00 00 10 */ b lbl_803334DC +lbl_803334D0: +/* 803334D0 00330430 38 7F 00 10 */ addi r3, r31, 0x10 +/* 803334D4 00330434 38 81 00 08 */ addi r4, r1, 8 +/* 803334D8 00330438 48 00 D7 ED */ bl __as__6CTokenFRC6CToken +lbl_803334DC: +/* 803334DC 0033043C 38 61 00 08 */ addi r3, r1, 8 +/* 803334E0 00330440 38 80 FF FF */ li r4, -1 +/* 803334E4 00330444 48 00 D9 5D */ bl __dt__6CTokenFv +/* 803334E8 00330448 38 7F 00 10 */ addi r3, r31, 0x10 +/* 803334EC 0033044C 48 00 D8 99 */ bl Lock__6CTokenFv +/* 803334F0 00330450 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803334F4 00330454 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803334F8 00330458 7C 08 03 A6 */ mtlr r0 +/* 803334FC 0033045C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80333500 00330460 4E 80 00 20 */ blr + +.global sub_80333504 +sub_80333504: +/* 80333504 00330464 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80333508 00330468 7C 08 02 A6 */ mflr r0 +/* 8033350C 0033046C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80333510 00330470 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80333514 00330474 7C 9F 23 78 */ mr r31, r4 +/* 80333518 00330478 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8033351C 0033047C 7C 7E 1B 78 */ mr r30, r3 +/* 80333520 00330480 88 0D A9 15 */ lbz r0, lbl_805A94D5@sda21(r13) +/* 80333524 00330484 7C 00 07 75 */ extsb. r0, r0 +/* 80333528 00330488 40 82 00 4C */ bne lbl_80333574 +/* 8033352C 0033048C 38 00 00 00 */ li r0, 0 +/* 80333530 00330490 3C 60 80 4C */ lis r3, lbl_804BFF1C@ha +/* 80333534 00330494 90 01 00 0C */ stw r0, 0xc(r1) +/* 80333538 00330498 38 63 FF 1C */ addi r3, r3, lbl_804BFF1C@l +/* 8033353C 0033049C 38 81 00 08 */ addi r4, r1, 8 +/* 80333540 003304A0 90 01 00 10 */ stw r0, 0x10(r1) +/* 80333544 003304A4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80333548 003304A8 48 00 00 9D */ bl sub_803335e4 +/* 8033354C 003304AC 3C 80 80 33 */ lis r4, sub_80329c3c@ha +/* 80333550 003304B0 3C A0 80 4C */ lis r5, lbl_804BFF10@ha +/* 80333554 003304B4 38 84 9C 3C */ addi r4, r4, sub_80329c3c@l +/* 80333558 003304B8 38 A5 FF 10 */ addi r5, r5, lbl_804BFF10@l +/* 8033355C 003304BC 48 05 61 31 */ bl __register_global_object +/* 80333560 003304C0 38 61 00 08 */ addi r3, r1, 8 +/* 80333564 003304C4 38 80 FF FF */ li r4, -1 +/* 80333568 003304C8 4B FF 66 D5 */ bl sub_80329c3c +/* 8033356C 003304CC 38 00 00 01 */ li r0, 1 +/* 80333570 003304D0 98 0D A9 15 */ stb r0, lbl_805A94D5@sda21(r13) +lbl_80333574: +/* 80333574 003304D4 80 1E 00 08 */ lwz r0, 8(r30) +/* 80333578 003304D8 7C 1F 00 40 */ cmplw r31, r0 +/* 8033357C 003304DC 41 80 00 10 */ blt lbl_8033358C +/* 80333580 003304E0 3C 60 80 4C */ lis r3, lbl_804BFF1C@ha +/* 80333584 003304E4 38 63 FF 1C */ addi r3, r3, lbl_804BFF1C@l +/* 80333588 003304E8 48 00 00 44 */ b lbl_803335CC +lbl_8033358C: +/* 8033358C 003304EC 80 1E 00 14 */ lwz r0, 0x14(r30) +/* 80333590 003304F0 38 80 00 00 */ li r4, 0 +/* 80333594 003304F4 7C 09 03 A6 */ mtctr r0 +/* 80333598 003304F8 2C 00 00 00 */ cmpwi r0, 0 +/* 8033359C 003304FC 40 81 00 28 */ ble lbl_803335C4 +lbl_803335A0: +/* 803335A0 00330500 80 1E 00 1C */ lwz r0, 0x1c(r30) +/* 803335A4 00330504 7C 60 22 14 */ add r3, r0, r4 +/* 803335A8 00330508 80 03 00 00 */ lwz r0, 0(r3) +/* 803335AC 0033050C 7C 00 F8 40 */ cmplw r0, r31 +/* 803335B0 00330510 40 82 00 0C */ bne lbl_803335BC +/* 803335B4 00330514 38 63 00 04 */ addi r3, r3, 4 +/* 803335B8 00330518 48 00 00 14 */ b lbl_803335CC +lbl_803335BC: +/* 803335BC 0033051C 38 84 00 14 */ addi r4, r4, 0x14 +/* 803335C0 00330520 42 00 FF E0 */ bdnz lbl_803335A0 +lbl_803335C4: +/* 803335C4 00330524 3C 60 80 4C */ lis r3, lbl_804BFF1C@ha +/* 803335C8 00330528 38 63 FF 1C */ addi r3, r3, lbl_804BFF1C@l +lbl_803335CC: +/* 803335CC 0033052C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803335D0 00330530 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803335D4 00330534 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 803335D8 00330538 7C 08 03 A6 */ mtlr r0 +/* 803335DC 0033053C 38 21 00 20 */ addi r1, r1, 0x20 +/* 803335E0 00330540 4E 80 00 20 */ blr + +.global sub_803335e4 +sub_803335e4: +/* 803335E4 00330544 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 803335E8 00330548 7C 08 02 A6 */ mflr r0 +/* 803335EC 0033054C 90 01 00 24 */ stw r0, 0x24(r1) +/* 803335F0 00330550 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 803335F4 00330554 7C 9C 23 78 */ mr r28, r4 +/* 803335F8 00330558 7C 7F 1B 78 */ mr r31, r3 +/* 803335FC 0033055C 80 04 00 04 */ lwz r0, 4(r4) +/* 80333600 00330560 90 03 00 04 */ stw r0, 4(r3) +/* 80333604 00330564 80 04 00 08 */ lwz r0, 8(r4) +/* 80333608 00330568 90 03 00 08 */ stw r0, 8(r3) +/* 8033360C 0033056C 80 04 00 04 */ lwz r0, 4(r4) +/* 80333610 00330570 2C 00 00 00 */ cmpwi r0, 0 +/* 80333614 00330574 40 82 00 1C */ bne lbl_80333630 +/* 80333618 00330578 80 1C 00 08 */ lwz r0, 8(r28) +/* 8033361C 0033057C 2C 00 00 00 */ cmpwi r0, 0 +/* 80333620 00330580 40 82 00 10 */ bne lbl_80333630 +/* 80333624 00330584 38 00 00 00 */ li r0, 0 +/* 80333628 00330588 90 1F 00 0C */ stw r0, 0xc(r31) +/* 8033362C 0033058C 48 00 00 A8 */ b lbl_803336D4 +lbl_80333630: +/* 80333630 00330590 80 1F 00 08 */ lwz r0, 8(r31) +/* 80333634 00330594 1C 60 00 1C */ mulli r3, r0, 0x1c +/* 80333638 00330598 2C 03 00 00 */ cmpwi r3, 0 +/* 8033363C 0033059C 40 82 00 10 */ bne lbl_8033364C +/* 80333640 003305A0 38 00 00 00 */ li r0, 0 +/* 80333644 003305A4 90 1F 00 0C */ stw r0, 0xc(r31) +/* 80333648 003305A8 48 00 00 18 */ b lbl_80333660 +lbl_8033364C: +/* 8033364C 003305AC 3C 80 80 3D */ lis r4, lbl_803D7978@ha +/* 80333650 003305B0 38 A0 00 00 */ li r5, 0 +/* 80333654 003305B4 38 84 79 78 */ addi r4, r4, lbl_803D7978@l +/* 80333658 003305B8 4B FE 21 C1 */ bl __nwa__FUlPCcPCc +/* 8033365C 003305BC 90 7F 00 0C */ stw r3, 0xc(r31) +lbl_80333660: +/* 80333660 003305C0 83 7F 00 04 */ lwz r27, 4(r31) +/* 80333664 003305C4 3B C0 00 00 */ li r30, 0 +/* 80333668 003305C8 83 9C 00 0C */ lwz r28, 0xc(r28) +/* 8033366C 003305CC 83 BF 00 0C */ lwz r29, 0xc(r31) +/* 80333670 003305D0 48 00 00 5C */ b lbl_803336CC +lbl_80333674: +/* 80333674 003305D4 28 1D 00 00 */ cmplwi r29, 0 +/* 80333678 003305D8 41 82 00 48 */ beq lbl_803336C0 +/* 8033367C 003305DC 80 1C 00 00 */ lwz r0, 0(r28) +/* 80333680 003305E0 90 1D 00 00 */ stw r0, 0(r29) +/* 80333684 003305E4 80 1C 00 04 */ lwz r0, 4(r28) +/* 80333688 003305E8 90 1D 00 04 */ stw r0, 4(r29) +/* 8033368C 003305EC 80 1C 00 08 */ lwz r0, 8(r28) +/* 80333690 003305F0 90 1D 00 08 */ stw r0, 8(r29) +/* 80333694 003305F4 80 1C 00 0C */ lwz r0, 0xc(r28) +/* 80333698 003305F8 90 1D 00 0C */ stw r0, 0xc(r29) +/* 8033369C 003305FC 88 1C 00 18 */ lbz r0, 0x18(r28) +/* 803336A0 00330600 98 1D 00 18 */ stb r0, 0x18(r29) +/* 803336A4 00330604 88 1C 00 18 */ lbz r0, 0x18(r28) +/* 803336A8 00330608 28 00 00 00 */ cmplwi r0, 0 +/* 803336AC 0033060C 41 82 00 14 */ beq lbl_803336C0 +/* 803336B0 00330610 34 7D 00 10 */ addic. r3, r29, 0x10 +/* 803336B4 00330614 38 9C 00 10 */ addi r4, r28, 0x10 +/* 803336B8 00330618 41 82 00 08 */ beq lbl_803336C0 +/* 803336BC 0033061C 48 00 D7 ED */ bl __ct__6CTokenFRC6CToken +lbl_803336C0: +/* 803336C0 00330620 3B BD 00 1C */ addi r29, r29, 0x1c +/* 803336C4 00330624 3B DE 00 01 */ addi r30, r30, 1 +/* 803336C8 00330628 3B 9C 00 1C */ addi r28, r28, 0x1c +lbl_803336CC: +/* 803336CC 0033062C 7C 1E D8 00 */ cmpw r30, r27 +/* 803336D0 00330630 41 80 FF A4 */ blt lbl_80333674 +lbl_803336D4: +/* 803336D4 00330634 7F E3 FB 78 */ mr r3, r31 +/* 803336D8 00330638 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 803336DC 0033063C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803336E0 00330640 7C 08 03 A6 */ mtlr r0 +/* 803336E4 00330644 38 21 00 20 */ addi r1, r1, 0x20 +/* 803336E8 00330648 4E 80 00 20 */ blr + +.global LoadAllSpawnedSystemTokens__24CSpawnSystemKeyframeDataFP11CSimplePool +LoadAllSpawnedSystemTokens__24CSpawnSystemKeyframeDataFP11CSimplePool: +/* 803336EC 0033064C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 803336F0 00330650 7C 08 02 A6 */ mflr r0 +/* 803336F4 00330654 90 01 00 34 */ stw r0, 0x34(r1) +/* 803336F8 00330658 BF 21 00 14 */ stmw r25, 0x14(r1) +/* 803336FC 0033065C 7C 79 1B 78 */ mr r25, r3 +/* 80333700 00330660 7C 9A 23 78 */ mr r26, r4 +/* 80333704 00330664 3B 80 00 00 */ li r28, 0 +/* 80333708 00330668 3B A0 00 00 */ li r29, 0 +/* 8033370C 0033066C 48 00 00 44 */ b lbl_80333750 +lbl_80333710: +/* 80333710 00330670 80 19 00 1C */ lwz r0, 0x1c(r25) +/* 80333714 00330674 3B 60 00 00 */ li r27, 0 +/* 80333718 00330678 3B C0 00 00 */ li r30, 0 +/* 8033371C 0033067C 7F E0 EA 14 */ add r31, r0, r29 +/* 80333720 00330680 48 00 00 1C */ b lbl_8033373C +lbl_80333724: +/* 80333724 00330684 80 1F 00 10 */ lwz r0, 0x10(r31) +/* 80333728 00330688 7F 44 D3 78 */ mr r4, r26 +/* 8033372C 0033068C 7C 60 F2 14 */ add r3, r0, r30 +/* 80333730 00330690 4B FF FD 39 */ bl LoadToken__Q224CSpawnSystemKeyframeData24CSpawnSystemKeyframeInfoFP11CSimplePool +/* 80333734 00330694 3B DE 00 1C */ addi r30, r30, 0x1c +/* 80333738 00330698 3B 7B 00 01 */ addi r27, r27, 1 +lbl_8033373C: +/* 8033373C 0033069C 80 1F 00 08 */ lwz r0, 8(r31) +/* 80333740 003306A0 7C 1B 00 00 */ cmpw r27, r0 +/* 80333744 003306A4 41 80 FF E0 */ blt lbl_80333724 +/* 80333748 003306A8 3B BD 00 14 */ addi r29, r29, 0x14 +/* 8033374C 003306AC 3B 9C 00 01 */ addi r28, r28, 1 +lbl_80333750: +/* 80333750 003306B0 80 19 00 14 */ lwz r0, 0x14(r25) +/* 80333754 003306B4 7C 1C 00 00 */ cmpw r28, r0 +/* 80333758 003306B8 41 80 FF B8 */ blt lbl_80333710 +/* 8033375C 003306BC BB 21 00 14 */ lmw r25, 0x14(r1) +/* 80333760 003306C0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80333764 003306C4 7C 08 03 A6 */ mtlr r0 +/* 80333768 003306C8 38 21 00 30 */ addi r1, r1, 0x30 +/* 8033376C 003306CC 4E 80 00 20 */ blr + +.global __ct__24CSpawnSystemKeyframeDataFR12CInputStream +__ct__24CSpawnSystemKeyframeDataFR12CInputStream: +/* 80333770 003306D0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80333774 003306D4 7C 08 02 A6 */ mflr r0 +/* 80333778 003306D8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033377C 003306DC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80333780 003306E0 7C 9F 23 78 */ mr r31, r4 +/* 80333784 003306E4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80333788 003306E8 7C 7E 1B 78 */ mr r30, r3 +/* 8033378C 003306EC 7F E3 FB 78 */ mr r3, r31 +/* 80333790 003306F0 48 00 B4 F5 */ bl ReadLong__12CInputStreamFv +/* 80333794 003306F4 90 7E 00 00 */ stw r3, 0(r30) +/* 80333798 003306F8 7F E3 FB 78 */ mr r3, r31 +/* 8033379C 003306FC 48 00 B4 E9 */ bl ReadLong__12CInputStreamFv +/* 803337A0 00330700 90 7E 00 04 */ stw r3, 4(r30) +/* 803337A4 00330704 7F E3 FB 78 */ mr r3, r31 +/* 803337A8 00330708 48 00 B4 DD */ bl ReadLong__12CInputStreamFv +/* 803337AC 0033070C 90 7E 00 08 */ stw r3, 8(r30) +/* 803337B0 00330710 7F E3 FB 78 */ mr r3, r31 +/* 803337B4 00330714 48 00 B4 D1 */ bl ReadLong__12CInputStreamFv +/* 803337B8 00330718 90 7E 00 0C */ stw r3, 0xc(r30) +/* 803337BC 0033071C 7F E4 FB 78 */ mr r4, r31 +/* 803337C0 00330720 38 7E 00 10 */ addi r3, r30, 0x10 +/* 803337C4 00330724 38 A1 00 08 */ addi r5, r1, 8 +/* 803337C8 00330728 48 00 00 45 */ bl "cinput_stream_helper>>__FRC124TType>>R12CInputStream" +/* 803337CC 0033072C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803337D0 00330730 7F C3 F3 78 */ mr r3, r30 +/* 803337D4 00330734 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803337D8 00330738 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 803337DC 0033073C 7C 08 03 A6 */ mtlr r0 +/* 803337E0 00330740 38 21 00 20 */ addi r1, r1, 0x20 +/* 803337E4 00330744 4E 80 00 20 */ blr + +.global sub_803337e8 +sub_803337e8: +/* 803337E8 00330748 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803337EC 0033074C 7C 08 02 A6 */ mflr r0 +/* 803337F0 00330750 38 80 FF FF */ li r4, -1 +/* 803337F4 00330754 90 01 00 14 */ stw r0, 0x14(r1) +/* 803337F8 00330758 4B FF 63 ED */ bl sub_80329be4 +/* 803337FC 0033075C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80333800 00330760 7C 08 03 A6 */ mtlr r0 +/* 80333804 00330764 38 21 00 10 */ addi r1, r1, 0x10 +/* 80333808 00330768 4E 80 00 20 */ blr + +.global "cinput_stream_helper>>__FRC124TType>>R12CInputStream" +"cinput_stream_helper>>__FRC124TType>>R12CInputStream": +/* 8033380C 0033076C 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80333810 00330770 7C 08 02 A6 */ mflr r0 +/* 80333814 00330774 90 01 00 44 */ stw r0, 0x44(r1) +/* 80333818 00330778 38 00 00 00 */ li r0, 0 +/* 8033381C 0033077C BF 61 00 2C */ stmw r27, 0x2c(r1) +/* 80333820 00330780 7C 7B 1B 78 */ mr r27, r3 +/* 80333824 00330784 7C 9C 23 78 */ mr r28, r4 +/* 80333828 00330788 90 03 00 04 */ stw r0, 4(r3) +/* 8033382C 0033078C 7F 83 E3 78 */ mr r3, r28 +/* 80333830 00330790 90 1B 00 08 */ stw r0, 8(r27) +/* 80333834 00330794 90 1B 00 0C */ stw r0, 0xc(r27) +/* 80333838 00330798 48 00 B4 4D */ bl ReadLong__12CInputStreamFv +/* 8033383C 0033079C 7C 7E 1B 78 */ mr r30, r3 +/* 80333840 003307A0 7F 63 DB 78 */ mr r3, r27 +/* 80333844 003307A4 7F C4 F3 78 */ mr r4, r30 +/* 80333848 003307A8 48 00 05 DD */ bl sub_80333e24 +/* 8033384C 003307AC 3B E1 00 08 */ addi r31, r1, 8 +/* 80333850 003307B0 3B A0 00 00 */ li r29, 0 +/* 80333854 003307B4 48 00 00 38 */ b lbl_8033388C +lbl_80333858: +/* 80333858 003307B8 88 0D A9 00 */ lbz r0, lbl_805A94C0@sda21(r13) +/* 8033385C 003307BC 7F 84 E3 78 */ mr r4, r28 +/* 80333860 003307C0 7F E5 FB 78 */ mr r5, r31 +/* 80333864 003307C4 38 61 00 0C */ addi r3, r1, 0xc +/* 80333868 003307C8 98 01 00 08 */ stb r0, 8(r1) +/* 8033386C 003307CC 48 00 01 25 */ bl sub_80333990 +/* 80333870 003307D0 7F 63 DB 78 */ mr r3, r27 +/* 80333874 003307D4 38 81 00 0C */ addi r4, r1, 0xc +/* 80333878 003307D8 48 00 00 35 */ bl sub_803338ac +/* 8033387C 003307DC 38 61 00 0C */ addi r3, r1, 0xc +/* 80333880 003307E0 38 80 FF FF */ li r4, -1 +/* 80333884 003307E4 4B FF 63 61 */ bl sub_80329be4 +/* 80333888 003307E8 3B BD 00 01 */ addi r29, r29, 1 +lbl_8033388C: +/* 8033388C 003307EC 7C 1D F0 00 */ cmpw r29, r30 +/* 80333890 003307F0 41 80 FF C8 */ blt lbl_80333858 +/* 80333894 003307F4 7F 63 DB 78 */ mr r3, r27 +/* 80333898 003307F8 BB 61 00 2C */ lmw r27, 0x2c(r1) +/* 8033389C 003307FC 80 01 00 44 */ lwz r0, 0x44(r1) +/* 803338A0 00330800 7C 08 03 A6 */ mtlr r0 +/* 803338A4 00330804 38 21 00 40 */ addi r1, r1, 0x40 +/* 803338A8 00330808 4E 80 00 20 */ blr + +.global sub_803338ac +sub_803338ac: +/* 803338AC 0033080C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803338B0 00330810 7C 08 02 A6 */ mflr r0 +/* 803338B4 00330814 90 01 00 14 */ stw r0, 0x14(r1) +/* 803338B8 00330818 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803338BC 0033081C 7C 9F 23 78 */ mr r31, r4 +/* 803338C0 00330820 93 C1 00 08 */ stw r30, 8(r1) +/* 803338C4 00330824 7C 7E 1B 78 */ mr r30, r3 +/* 803338C8 00330828 80 03 00 04 */ lwz r0, 4(r3) +/* 803338CC 0033082C 80 A3 00 08 */ lwz r5, 8(r3) +/* 803338D0 00330830 7C 00 28 00 */ cmpw r0, r5 +/* 803338D4 00330834 41 80 00 18 */ blt lbl_803338EC +/* 803338D8 00330838 2C 05 00 00 */ cmpwi r5, 0 +/* 803338DC 0033083C 38 80 00 04 */ li r4, 4 +/* 803338E0 00330840 41 82 00 08 */ beq lbl_803338E8 +/* 803338E4 00330844 54 A4 08 3C */ slwi r4, r5, 1 +lbl_803338E8: +/* 803338E8 00330848 48 00 05 3D */ bl sub_80333e24 +lbl_803338EC: +/* 803338EC 0033084C 80 1E 00 04 */ lwz r0, 4(r30) +/* 803338F0 00330850 7F E4 FB 78 */ mr r4, r31 +/* 803338F4 00330854 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 803338F8 00330858 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 803338FC 0033085C 7C 63 02 14 */ add r3, r3, r0 +/* 80333900 00330860 48 00 00 29 */ bl sub_80333928 +/* 80333904 00330864 80 7E 00 04 */ lwz r3, 4(r30) +/* 80333908 00330868 38 03 00 01 */ addi r0, r3, 1 +/* 8033390C 0033086C 90 1E 00 04 */ stw r0, 4(r30) +/* 80333910 00330870 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80333914 00330874 83 C1 00 08 */ lwz r30, 8(r1) +/* 80333918 00330878 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033391C 0033087C 7C 08 03 A6 */ mtlr r0 +/* 80333920 00330880 38 21 00 10 */ addi r1, r1, 0x10 +/* 80333924 00330884 4E 80 00 20 */ blr + +.global sub_80333928 +sub_80333928: +/* 80333928 00330888 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033392C 0033088C 7C 08 02 A6 */ mflr r0 +/* 80333930 00330890 28 03 00 00 */ cmplwi r3, 0 +/* 80333934 00330894 90 01 00 14 */ stw r0, 0x14(r1) +/* 80333938 00330898 41 82 00 08 */ beq lbl_80333940 +/* 8033393C 0033089C 48 00 00 15 */ bl sub_80333950 +lbl_80333940: +/* 80333940 003308A0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80333944 003308A4 7C 08 03 A6 */ mtlr r0 +/* 80333948 003308A8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033394C 003308AC 4E 80 00 20 */ blr + +.global sub_80333950 +sub_80333950: +/* 80333950 003308B0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80333954 003308B4 7C 08 02 A6 */ mflr r0 +/* 80333958 003308B8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033395C 003308BC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80333960 003308C0 7C 7F 1B 78 */ mr r31, r3 +/* 80333964 003308C4 38 7F 00 04 */ addi r3, r31, 4 +/* 80333968 003308C8 80 04 00 00 */ lwz r0, 0(r4) +/* 8033396C 003308CC 38 84 00 04 */ addi r4, r4, 4 +/* 80333970 003308D0 90 1F 00 00 */ stw r0, 0(r31) +/* 80333974 003308D4 4B FF FC 71 */ bl sub_803335e4 +/* 80333978 003308D8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033397C 003308DC 7F E3 FB 78 */ mr r3, r31 +/* 80333980 003308E0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80333984 003308E4 7C 08 03 A6 */ mtlr r0 +/* 80333988 003308E8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033398C 003308EC 4E 80 00 20 */ blr + +.global sub_80333990 +sub_80333990: +/* 80333990 003308F0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80333994 003308F4 7C 08 02 A6 */ mflr r0 +/* 80333998 003308F8 7C 85 23 78 */ mr r5, r4 +/* 8033399C 003308FC 90 01 00 24 */ stw r0, 0x24(r1) +/* 803339A0 00330900 38 81 00 08 */ addi r4, r1, 8 +/* 803339A4 00330904 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 803339A8 00330908 7C 7F 1B 78 */ mr r31, r3 +/* 803339AC 0033090C 88 0D A9 04 */ lbz r0, lbl_805A94C4@sda21(r13) +/* 803339B0 00330910 98 01 00 08 */ stb r0, 8(r1) +/* 803339B4 00330914 48 00 00 19 */ bl sub_803339cc +/* 803339B8 00330918 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803339BC 0033091C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803339C0 00330920 7C 08 03 A6 */ mtlr r0 +/* 803339C4 00330924 38 21 00 20 */ addi r1, r1, 0x20 +/* 803339C8 00330928 4E 80 00 20 */ blr + +.global sub_803339cc +sub_803339cc: +/* 803339CC 0033092C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803339D0 00330930 7C 08 02 A6 */ mflr r0 +/* 803339D4 00330934 7C A4 2B 78 */ mr r4, r5 +/* 803339D8 00330938 90 01 00 14 */ stw r0, 0x14(r1) +/* 803339DC 0033093C 48 00 00 15 */ bl sub_803339f0 +/* 803339E0 00330940 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803339E4 00330944 7C 08 03 A6 */ mtlr r0 +/* 803339E8 00330948 38 21 00 10 */ addi r1, r1, 0x10 +/* 803339EC 0033094C 4E 80 00 20 */ blr + +.global sub_803339f0 +sub_803339f0: +/* 803339F0 00330950 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 803339F4 00330954 7C 08 02 A6 */ mflr r0 +/* 803339F8 00330958 90 01 00 34 */ stw r0, 0x34(r1) +/* 803339FC 0033095C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80333A00 00330960 7C 9F 23 78 */ mr r31, r4 +/* 80333A04 00330964 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80333A08 00330968 7C 7E 1B 78 */ mr r30, r3 +/* 80333A0C 0033096C 7F E3 FB 78 */ mr r3, r31 +/* 80333A10 00330970 48 00 B2 75 */ bl ReadLong__12CInputStreamFv +/* 80333A14 00330974 90 7E 00 00 */ stw r3, 0(r30) +/* 80333A18 00330978 7F E4 FB 78 */ mr r4, r31 +/* 80333A1C 0033097C 38 61 00 0C */ addi r3, r1, 0xc +/* 80333A20 00330980 38 A1 00 08 */ addi r5, r1, 8 +/* 80333A24 00330984 88 0D A9 08 */ lbz r0, lbl_805A94C8@sda21(r13) +/* 80333A28 00330988 98 01 00 08 */ stb r0, 8(r1) +/* 80333A2C 0033098C 48 00 00 39 */ bl sub_80333a64 +/* 80333A30 00330990 38 7E 00 04 */ addi r3, r30, 4 +/* 80333A34 00330994 38 81 00 0C */ addi r4, r1, 0xc +/* 80333A38 00330998 4B FF FB AD */ bl sub_803335e4 +/* 80333A3C 0033099C 38 61 00 0C */ addi r3, r1, 0xc +/* 80333A40 003309A0 38 80 FF FF */ li r4, -1 +/* 80333A44 003309A4 4B FF 61 F9 */ bl sub_80329c3c +/* 80333A48 003309A8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80333A4C 003309AC 7F C3 F3 78 */ mr r3, r30 +/* 80333A50 003309B0 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80333A54 003309B4 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80333A58 003309B8 7C 08 03 A6 */ mtlr r0 +/* 80333A5C 003309BC 38 21 00 30 */ addi r1, r1, 0x30 +/* 80333A60 003309C0 4E 80 00 20 */ blr + +.global sub_80333a64 +sub_80333a64: +/* 80333A64 003309C4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80333A68 003309C8 7C 08 02 A6 */ mflr r0 +/* 80333A6C 003309CC 7C 85 23 78 */ mr r5, r4 +/* 80333A70 003309D0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80333A74 003309D4 38 81 00 08 */ addi r4, r1, 8 +/* 80333A78 003309D8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80333A7C 003309DC 7C 7F 1B 78 */ mr r31, r3 +/* 80333A80 003309E0 88 0D A9 0C */ lbz r0, lbl_805A94CC@sda21(r13) +/* 80333A84 003309E4 98 01 00 08 */ stb r0, 8(r1) +/* 80333A88 003309E8 48 00 00 19 */ bl sub_80333aa0 +/* 80333A8C 003309EC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80333A90 003309F0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80333A94 003309F4 7C 08 03 A6 */ mtlr r0 +/* 80333A98 003309F8 38 21 00 20 */ addi r1, r1, 0x20 +/* 80333A9C 003309FC 4E 80 00 20 */ blr + +.global sub_80333aa0 +sub_80333aa0: +/* 80333AA0 00330A00 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80333AA4 00330A04 7C 08 02 A6 */ mflr r0 +/* 80333AA8 00330A08 7C A4 2B 78 */ mr r4, r5 +/* 80333AAC 00330A0C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80333AB0 00330A10 38 A1 00 08 */ addi r5, r1, 8 +/* 80333AB4 00330A14 48 00 00 15 */ bl sub_80333ac8 +/* 80333AB8 00330A18 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80333ABC 00330A1C 7C 08 03 A6 */ mtlr r0 +/* 80333AC0 00330A20 38 21 00 10 */ addi r1, r1, 0x10 +/* 80333AC4 00330A24 4E 80 00 20 */ blr + +.global sub_80333ac8 +sub_80333ac8: +/* 80333AC8 00330A28 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80333ACC 00330A2C 7C 08 02 A6 */ mflr r0 +/* 80333AD0 00330A30 90 01 00 44 */ stw r0, 0x44(r1) +/* 80333AD4 00330A34 38 00 00 00 */ li r0, 0 +/* 80333AD8 00330A38 BF 41 00 28 */ stmw r26, 0x28(r1) +/* 80333ADC 00330A3C 7C 7A 1B 78 */ mr r26, r3 +/* 80333AE0 00330A40 7C 9B 23 78 */ mr r27, r4 +/* 80333AE4 00330A44 90 03 00 04 */ stw r0, 4(r3) +/* 80333AE8 00330A48 7F 63 DB 78 */ mr r3, r27 +/* 80333AEC 00330A4C 90 1A 00 08 */ stw r0, 8(r26) +/* 80333AF0 00330A50 90 1A 00 0C */ stw r0, 0xc(r26) +/* 80333AF4 00330A54 48 00 B1 91 */ bl ReadLong__12CInputStreamFv +/* 80333AF8 00330A58 7C 7E 1B 78 */ mr r30, r3 +/* 80333AFC 00330A5C 7F 43 D3 78 */ mr r3, r26 +/* 80333B00 00330A60 7F C4 F3 78 */ mr r4, r30 +/* 80333B04 00330A64 48 00 01 C1 */ bl sub_80333cc4 +/* 80333B08 00330A68 3B A1 00 1C */ addi r29, r1, 0x1c +/* 80333B0C 00330A6C 3B E1 00 08 */ addi r31, r1, 8 +/* 80333B10 00330A70 3B 80 00 00 */ li r28, 0 +/* 80333B14 00330A74 48 00 00 E8 */ b lbl_80333BFC +lbl_80333B18: +/* 80333B18 00330A78 88 0D A9 10 */ lbz r0, lbl_805A94D0@sda21(r13) +/* 80333B1C 00330A7C 7F 64 DB 78 */ mr r4, r27 +/* 80333B20 00330A80 7F E5 FB 78 */ mr r5, r31 +/* 80333B24 00330A84 38 61 00 0C */ addi r3, r1, 0xc +/* 80333B28 00330A88 98 01 00 08 */ stb r0, 8(r1) +/* 80333B2C 00330A8C 48 00 00 F1 */ bl sub_80333c1c +/* 80333B30 00330A90 80 1A 00 04 */ lwz r0, 4(r26) +/* 80333B34 00330A94 80 BA 00 08 */ lwz r5, 8(r26) +/* 80333B38 00330A98 7C 00 28 00 */ cmpw r0, r5 +/* 80333B3C 00330A9C 41 80 00 1C */ blt lbl_80333B58 +/* 80333B40 00330AA0 2C 05 00 00 */ cmpwi r5, 0 +/* 80333B44 00330AA4 7F 43 D3 78 */ mr r3, r26 +/* 80333B48 00330AA8 38 80 00 04 */ li r4, 4 +/* 80333B4C 00330AAC 41 82 00 08 */ beq lbl_80333B54 +/* 80333B50 00330AB0 54 A4 08 3C */ slwi r4, r5, 1 +lbl_80333B54: +/* 80333B54 00330AB4 48 00 01 71 */ bl sub_80333cc4 +lbl_80333B58: +/* 80333B58 00330AB8 80 1A 00 04 */ lwz r0, 4(r26) +/* 80333B5C 00330ABC 80 7A 00 0C */ lwz r3, 0xc(r26) +/* 80333B60 00330AC0 1C 00 00 1C */ mulli r0, r0, 0x1c +/* 80333B64 00330AC4 7C 63 02 15 */ add. r3, r3, r0 +/* 80333B68 00330AC8 41 82 00 48 */ beq lbl_80333BB0 +/* 80333B6C 00330ACC 80 01 00 0C */ lwz r0, 0xc(r1) +/* 80333B70 00330AD0 90 03 00 00 */ stw r0, 0(r3) +/* 80333B74 00330AD4 80 01 00 10 */ lwz r0, 0x10(r1) +/* 80333B78 00330AD8 90 03 00 04 */ stw r0, 4(r3) +/* 80333B7C 00330ADC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80333B80 00330AE0 90 03 00 08 */ stw r0, 8(r3) +/* 80333B84 00330AE4 80 01 00 18 */ lwz r0, 0x18(r1) +/* 80333B88 00330AE8 90 03 00 0C */ stw r0, 0xc(r3) +/* 80333B8C 00330AEC 88 01 00 24 */ lbz r0, 0x24(r1) +/* 80333B90 00330AF0 98 03 00 18 */ stb r0, 0x18(r3) +/* 80333B94 00330AF4 88 01 00 24 */ lbz r0, 0x24(r1) +/* 80333B98 00330AF8 28 00 00 00 */ cmplwi r0, 0 +/* 80333B9C 00330AFC 41 82 00 14 */ beq lbl_80333BB0 +/* 80333BA0 00330B00 34 63 00 10 */ addic. r3, r3, 0x10 +/* 80333BA4 00330B04 41 82 00 0C */ beq lbl_80333BB0 +/* 80333BA8 00330B08 7F A4 EB 78 */ mr r4, r29 +/* 80333BAC 00330B0C 48 00 D2 FD */ bl __ct__6CTokenFRC6CToken +lbl_80333BB0: +/* 80333BB0 00330B10 80 7A 00 04 */ lwz r3, 4(r26) +/* 80333BB4 00330B14 38 03 00 01 */ addi r0, r3, 1 +/* 80333BB8 00330B18 90 1A 00 04 */ stw r0, 4(r26) +/* 80333BBC 00330B1C 88 01 00 24 */ lbz r0, 0x24(r1) +/* 80333BC0 00330B20 28 00 00 00 */ cmplwi r0, 0 +/* 80333BC4 00330B24 41 82 00 0C */ beq lbl_80333BD0 +/* 80333BC8 00330B28 7F A3 EB 78 */ mr r3, r29 +/* 80333BCC 00330B2C 48 00 D1 75 */ bl Unlock__6CTokenFv +lbl_80333BD0: +/* 80333BD0 00330B30 28 1D 00 00 */ cmplwi r29, 0 +/* 80333BD4 00330B34 41 82 00 24 */ beq lbl_80333BF8 +/* 80333BD8 00330B38 88 01 00 24 */ lbz r0, 0x24(r1) +/* 80333BDC 00330B3C 28 00 00 00 */ cmplwi r0, 0 +/* 80333BE0 00330B40 41 82 00 10 */ beq lbl_80333BF0 +/* 80333BE4 00330B44 7F A3 EB 78 */ mr r3, r29 +/* 80333BE8 00330B48 38 80 FF FF */ li r4, -1 +/* 80333BEC 00330B4C 48 00 D2 55 */ bl __dt__6CTokenFv +lbl_80333BF0: +/* 80333BF0 00330B50 38 00 00 00 */ li r0, 0 +/* 80333BF4 00330B54 98 01 00 24 */ stb r0, 0x24(r1) +lbl_80333BF8: +/* 80333BF8 00330B58 3B 9C 00 01 */ addi r28, r28, 1 +lbl_80333BFC: +/* 80333BFC 00330B5C 7C 1C F0 00 */ cmpw r28, r30 +/* 80333C00 00330B60 41 80 FF 18 */ blt lbl_80333B18 +/* 80333C04 00330B64 7F 43 D3 78 */ mr r3, r26 +/* 80333C08 00330B68 BB 41 00 28 */ lmw r26, 0x28(r1) +/* 80333C0C 00330B6C 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80333C10 00330B70 7C 08 03 A6 */ mtlr r0 +/* 80333C14 00330B74 38 21 00 40 */ addi r1, r1, 0x40 +/* 80333C18 00330B78 4E 80 00 20 */ blr + +.global sub_80333c1c +sub_80333c1c: +/* 80333C1C 00330B7C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80333C20 00330B80 7C 08 02 A6 */ mflr r0 +/* 80333C24 00330B84 7C 85 23 78 */ mr r5, r4 +/* 80333C28 00330B88 90 01 00 24 */ stw r0, 0x24(r1) +/* 80333C2C 00330B8C 38 81 00 08 */ addi r4, r1, 8 +/* 80333C30 00330B90 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80333C34 00330B94 7C 7F 1B 78 */ mr r31, r3 +/* 80333C38 00330B98 88 0D A9 14 */ lbz r0, lbl_805A94D4@sda21(r13) +/* 80333C3C 00330B9C 98 01 00 08 */ stb r0, 8(r1) +/* 80333C40 00330BA0 48 00 00 19 */ bl sub_80333c58 +/* 80333C44 00330BA4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80333C48 00330BA8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80333C4C 00330BAC 7C 08 03 A6 */ mtlr r0 +/* 80333C50 00330BB0 38 21 00 20 */ addi r1, r1, 0x20 +/* 80333C54 00330BB4 4E 80 00 20 */ blr + +.global sub_80333c58 +sub_80333c58: +/* 80333C58 00330BB8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80333C5C 00330BBC 7C 08 02 A6 */ mflr r0 +/* 80333C60 00330BC0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80333C64 00330BC4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80333C68 00330BC8 7C BF 2B 78 */ mr r31, r5 +/* 80333C6C 00330BCC 93 C1 00 08 */ stw r30, 8(r1) +/* 80333C70 00330BD0 7C 7E 1B 78 */ mr r30, r3 +/* 80333C74 00330BD4 7F E3 FB 78 */ mr r3, r31 +/* 80333C78 00330BD8 48 00 B0 0D */ bl ReadLong__12CInputStreamFv +/* 80333C7C 00330BDC 90 7E 00 00 */ stw r3, 0(r30) +/* 80333C80 00330BE0 7F E3 FB 78 */ mr r3, r31 +/* 80333C84 00330BE4 48 00 B0 01 */ bl ReadLong__12CInputStreamFv +/* 80333C88 00330BE8 90 7E 00 04 */ stw r3, 4(r30) +/* 80333C8C 00330BEC 7F E3 FB 78 */ mr r3, r31 +/* 80333C90 00330BF0 48 00 AF F5 */ bl ReadLong__12CInputStreamFv +/* 80333C94 00330BF4 90 7E 00 08 */ stw r3, 8(r30) +/* 80333C98 00330BF8 7F E3 FB 78 */ mr r3, r31 +/* 80333C9C 00330BFC 48 00 AF E9 */ bl ReadLong__12CInputStreamFv +/* 80333CA0 00330C00 90 7E 00 0C */ stw r3, 0xc(r30) +/* 80333CA4 00330C04 38 00 00 00 */ li r0, 0 +/* 80333CA8 00330C08 98 1E 00 18 */ stb r0, 0x18(r30) +/* 80333CAC 00330C0C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80333CB0 00330C10 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80333CB4 00330C14 83 C1 00 08 */ lwz r30, 8(r1) +/* 80333CB8 00330C18 7C 08 03 A6 */ mtlr r0 +/* 80333CBC 00330C1C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80333CC0 00330C20 4E 80 00 20 */ blr + +.global sub_80333cc4 +sub_80333cc4: +/* 80333CC4 00330C24 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80333CC8 00330C28 7C 08 02 A6 */ mflr r0 +/* 80333CCC 00330C2C 90 01 00 34 */ stw r0, 0x34(r1) +/* 80333CD0 00330C30 BF 41 00 18 */ stmw r26, 0x18(r1) +/* 80333CD4 00330C34 7C 9E 23 78 */ mr r30, r4 +/* 80333CD8 00330C38 7C 7D 1B 78 */ mr r29, r3 +/* 80333CDC 00330C3C 80 03 00 08 */ lwz r0, 8(r3) +/* 80333CE0 00330C40 7C 1E 00 00 */ cmpw r30, r0 +/* 80333CE4 00330C44 40 81 01 2C */ ble lbl_80333E10 +/* 80333CE8 00330C48 1C 7E 00 1C */ mulli r3, r30, 0x1c +/* 80333CEC 00330C4C 2C 03 00 00 */ cmpwi r3, 0 +/* 80333CF0 00330C50 40 82 00 0C */ bne lbl_80333CFC +/* 80333CF4 00330C54 3B E0 00 00 */ li r31, 0 +/* 80333CF8 00330C58 48 00 00 18 */ b lbl_80333D10 +lbl_80333CFC: +/* 80333CFC 00330C5C 3C 80 80 3D */ lis r4, lbl_803D7978@ha +/* 80333D00 00330C60 38 A0 00 00 */ li r5, 0 +/* 80333D04 00330C64 38 84 79 78 */ addi r4, r4, lbl_803D7978@l +/* 80333D08 00330C68 4B FE 1B 11 */ bl __nwa__FUlPCcPCc +/* 80333D0C 00330C6C 7C 7F 1B 78 */ mr r31, r3 +lbl_80333D10: +/* 80333D10 00330C70 80 1D 00 04 */ lwz r0, 4(r29) +/* 80333D14 00330C74 7F FB FB 78 */ mr r27, r31 +/* 80333D18 00330C78 83 5D 00 0C */ lwz r26, 0xc(r29) +/* 80333D1C 00330C7C 1C 00 00 1C */ mulli r0, r0, 0x1c +/* 80333D20 00330C80 93 41 00 10 */ stw r26, 0x10(r1) +/* 80333D24 00330C84 7F 9A 02 14 */ add r28, r26, r0 +/* 80333D28 00330C88 93 41 00 14 */ stw r26, 0x14(r1) +/* 80333D2C 00330C8C 93 81 00 08 */ stw r28, 8(r1) +/* 80333D30 00330C90 93 81 00 0C */ stw r28, 0xc(r1) +/* 80333D34 00330C94 48 00 00 58 */ b lbl_80333D8C +lbl_80333D38: +/* 80333D38 00330C98 28 1B 00 00 */ cmplwi r27, 0 +/* 80333D3C 00330C9C 41 82 00 48 */ beq lbl_80333D84 +/* 80333D40 00330CA0 80 1A 00 00 */ lwz r0, 0(r26) +/* 80333D44 00330CA4 90 1B 00 00 */ stw r0, 0(r27) +/* 80333D48 00330CA8 80 1A 00 04 */ lwz r0, 4(r26) +/* 80333D4C 00330CAC 90 1B 00 04 */ stw r0, 4(r27) +/* 80333D50 00330CB0 80 1A 00 08 */ lwz r0, 8(r26) +/* 80333D54 00330CB4 90 1B 00 08 */ stw r0, 8(r27) +/* 80333D58 00330CB8 80 1A 00 0C */ lwz r0, 0xc(r26) +/* 80333D5C 00330CBC 90 1B 00 0C */ stw r0, 0xc(r27) +/* 80333D60 00330CC0 88 1A 00 18 */ lbz r0, 0x18(r26) +/* 80333D64 00330CC4 98 1B 00 18 */ stb r0, 0x18(r27) +/* 80333D68 00330CC8 88 1A 00 18 */ lbz r0, 0x18(r26) +/* 80333D6C 00330CCC 28 00 00 00 */ cmplwi r0, 0 +/* 80333D70 00330CD0 41 82 00 14 */ beq lbl_80333D84 +/* 80333D74 00330CD4 34 7B 00 10 */ addic. r3, r27, 0x10 +/* 80333D78 00330CD8 38 9A 00 10 */ addi r4, r26, 0x10 +/* 80333D7C 00330CDC 41 82 00 08 */ beq lbl_80333D84 +/* 80333D80 00330CE0 48 00 D1 29 */ bl __ct__6CTokenFRC6CToken +lbl_80333D84: +/* 80333D84 00330CE4 3B 7B 00 1C */ addi r27, r27, 0x1c +/* 80333D88 00330CE8 3B 5A 00 1C */ addi r26, r26, 0x1c +lbl_80333D8C: +/* 80333D8C 00330CEC 7C 1A E0 40 */ cmplw r26, r28 +/* 80333D90 00330CF0 40 82 FF A8 */ bne lbl_80333D38 +/* 80333D94 00330CF4 80 1D 00 04 */ lwz r0, 4(r29) +/* 80333D98 00330CF8 3B 80 00 00 */ li r28, 0 +/* 80333D9C 00330CFC 83 5D 00 0C */ lwz r26, 0xc(r29) +/* 80333DA0 00330D00 1C 00 00 1C */ mulli r0, r0, 0x1c +/* 80333DA4 00330D04 7F 7A 02 14 */ add r27, r26, r0 +/* 80333DA8 00330D08 48 00 00 48 */ b lbl_80333DF0 +lbl_80333DAC: +/* 80333DAC 00330D0C 28 1A 00 00 */ cmplwi r26, 0 +/* 80333DB0 00330D10 41 82 00 3C */ beq lbl_80333DEC +/* 80333DB4 00330D14 88 1A 00 18 */ lbz r0, 0x18(r26) +/* 80333DB8 00330D18 28 00 00 00 */ cmplwi r0, 0 +/* 80333DBC 00330D1C 41 82 00 0C */ beq lbl_80333DC8 +/* 80333DC0 00330D20 38 7A 00 10 */ addi r3, r26, 0x10 +/* 80333DC4 00330D24 48 00 CF 7D */ bl Unlock__6CTokenFv +lbl_80333DC8: +/* 80333DC8 00330D28 34 1A 00 10 */ addic. r0, r26, 0x10 +/* 80333DCC 00330D2C 41 82 00 20 */ beq lbl_80333DEC +/* 80333DD0 00330D30 88 1A 00 18 */ lbz r0, 0x18(r26) +/* 80333DD4 00330D34 28 00 00 00 */ cmplwi r0, 0 +/* 80333DD8 00330D38 41 82 00 10 */ beq lbl_80333DE8 +/* 80333DDC 00330D3C 38 7A 00 10 */ addi r3, r26, 0x10 +/* 80333DE0 00330D40 38 80 FF FF */ li r4, -1 +/* 80333DE4 00330D44 48 00 D0 5D */ bl __dt__6CTokenFv +lbl_80333DE8: +/* 80333DE8 00330D48 9B 9A 00 18 */ stb r28, 0x18(r26) +lbl_80333DEC: +/* 80333DEC 00330D4C 3B 5A 00 1C */ addi r26, r26, 0x1c +lbl_80333DF0: +/* 80333DF0 00330D50 7C 1A D8 40 */ cmplw r26, r27 +/* 80333DF4 00330D54 40 82 FF B8 */ bne lbl_80333DAC +/* 80333DF8 00330D58 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 80333DFC 00330D5C 28 03 00 00 */ cmplwi r3, 0 +/* 80333E00 00330D60 41 82 00 08 */ beq lbl_80333E08 +/* 80333E04 00330D64 4B FE 1B 2D */ bl Free__7CMemoryFPCv +lbl_80333E08: +/* 80333E08 00330D68 93 FD 00 0C */ stw r31, 0xc(r29) +/* 80333E0C 00330D6C 93 DD 00 08 */ stw r30, 8(r29) +lbl_80333E10: +/* 80333E10 00330D70 BB 41 00 18 */ lmw r26, 0x18(r1) +/* 80333E14 00330D74 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80333E18 00330D78 7C 08 03 A6 */ mtlr r0 +/* 80333E1C 00330D7C 38 21 00 30 */ addi r1, r1, 0x30 +/* 80333E20 00330D80 4E 80 00 20 */ blr + +.global sub_80333e24 +sub_80333e24: +/* 80333E24 00330D84 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80333E28 00330D88 7C 08 02 A6 */ mflr r0 +/* 80333E2C 00330D8C 90 01 00 34 */ stw r0, 0x34(r1) +/* 80333E30 00330D90 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80333E34 00330D94 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80333E38 00330D98 7C 9E 23 78 */ mr r30, r4 +/* 80333E3C 00330D9C 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80333E40 00330DA0 7C 7D 1B 78 */ mr r29, r3 +/* 80333E44 00330DA4 80 03 00 08 */ lwz r0, 8(r3) +/* 80333E48 00330DA8 7C 1E 00 00 */ cmpw r30, r0 +/* 80333E4C 00330DAC 40 81 00 8C */ ble lbl_80333ED8 +/* 80333E50 00330DB0 1C 7E 00 14 */ mulli r3, r30, 0x14 +/* 80333E54 00330DB4 2C 03 00 00 */ cmpwi r3, 0 +/* 80333E58 00330DB8 40 82 00 0C */ bne lbl_80333E64 +/* 80333E5C 00330DBC 3B E0 00 00 */ li r31, 0 +/* 80333E60 00330DC0 48 00 00 18 */ b lbl_80333E78 +lbl_80333E64: +/* 80333E64 00330DC4 3C 80 80 3D */ lis r4, lbl_803D7978@ha +/* 80333E68 00330DC8 38 A0 00 00 */ li r5, 0 +/* 80333E6C 00330DCC 38 84 79 78 */ addi r4, r4, lbl_803D7978@l +/* 80333E70 00330DD0 4B FE 19 A9 */ bl __nwa__FUlPCcPCc +/* 80333E74 00330DD4 7C 7F 1B 78 */ mr r31, r3 +lbl_80333E78: +/* 80333E78 00330DD8 80 1D 00 04 */ lwz r0, 4(r29) +/* 80333E7C 00330DDC 7F E5 FB 78 */ mr r5, r31 +/* 80333E80 00330DE0 80 DD 00 0C */ lwz r6, 0xc(r29) +/* 80333E84 00330DE4 38 61 00 14 */ addi r3, r1, 0x14 +/* 80333E88 00330DE8 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 80333E8C 00330DEC 38 81 00 0C */ addi r4, r1, 0xc +/* 80333E90 00330DF0 7C C6 02 14 */ add r6, r6, r0 +/* 80333E94 00330DF4 90 C1 00 0C */ stw r6, 0xc(r1) +/* 80333E98 00330DF8 80 1D 00 0C */ lwz r0, 0xc(r29) +/* 80333E9C 00330DFC 90 C1 00 08 */ stw r6, 8(r1) +/* 80333EA0 00330E00 90 01 00 10 */ stw r0, 0x10(r1) +/* 80333EA4 00330E04 90 01 00 14 */ stw r0, 0x14(r1) +/* 80333EA8 00330E08 48 00 00 99 */ bl sub_80333f40 +/* 80333EAC 00330E0C 80 1D 00 04 */ lwz r0, 4(r29) +/* 80333EB0 00330E10 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 80333EB4 00330E14 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 80333EB8 00330E18 7C 83 02 14 */ add r4, r3, r0 +/* 80333EBC 00330E1C 48 00 00 39 */ bl sub_80333ef4 +/* 80333EC0 00330E20 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 80333EC4 00330E24 28 03 00 00 */ cmplwi r3, 0 +/* 80333EC8 00330E28 41 82 00 08 */ beq lbl_80333ED0 +/* 80333ECC 00330E2C 4B FE 1A 65 */ bl Free__7CMemoryFPCv +lbl_80333ED0: +/* 80333ED0 00330E30 93 FD 00 0C */ stw r31, 0xc(r29) +/* 80333ED4 00330E34 93 DD 00 08 */ stw r30, 8(r29) +lbl_80333ED8: +/* 80333ED8 00330E38 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80333EDC 00330E3C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80333EE0 00330E40 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80333EE4 00330E44 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80333EE8 00330E48 7C 08 03 A6 */ mtlr r0 +/* 80333EEC 00330E4C 38 21 00 30 */ addi r1, r1, 0x30 +/* 80333EF0 00330E50 4E 80 00 20 */ blr + +.global sub_80333ef4 +sub_80333ef4: +/* 80333EF4 00330E54 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80333EF8 00330E58 7C 08 02 A6 */ mflr r0 +/* 80333EFC 00330E5C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80333F00 00330E60 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80333F04 00330E64 7C 7F 1B 78 */ mr r31, r3 +/* 80333F08 00330E68 93 C1 00 08 */ stw r30, 8(r1) +/* 80333F0C 00330E6C 7C 9E 23 78 */ mr r30, r4 +/* 80333F10 00330E70 48 00 00 10 */ b lbl_80333F20 +lbl_80333F14: +/* 80333F14 00330E74 7F E3 FB 78 */ mr r3, r31 +/* 80333F18 00330E78 4B FF F8 D1 */ bl sub_803337e8 +/* 80333F1C 00330E7C 3B FF 00 14 */ addi r31, r31, 0x14 +lbl_80333F20: +/* 80333F20 00330E80 7C 1F F0 40 */ cmplw r31, r30 +/* 80333F24 00330E84 40 82 FF F0 */ bne lbl_80333F14 +/* 80333F28 00330E88 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80333F2C 00330E8C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80333F30 00330E90 83 C1 00 08 */ lwz r30, 8(r1) +/* 80333F34 00330E94 7C 08 03 A6 */ mtlr r0 +/* 80333F38 00330E98 38 21 00 10 */ addi r1, r1, 0x10 +/* 80333F3C 00330E9C 4E 80 00 20 */ blr + +.global sub_80333f40 +sub_80333f40: +/* 80333F40 00330EA0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80333F44 00330EA4 7C 08 02 A6 */ mflr r0 +/* 80333F48 00330EA8 90 01 00 24 */ stw r0, 0x24(r1) +/* 80333F4C 00330EAC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80333F50 00330EB0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80333F54 00330EB4 7C BE 2B 78 */ mr r30, r5 +/* 80333F58 00330EB8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80333F5C 00330EBC 7C 9D 23 78 */ mr r29, r4 +/* 80333F60 00330EC0 83 E3 00 00 */ lwz r31, 0(r3) +/* 80333F64 00330EC4 48 00 00 18 */ b lbl_80333F7C +lbl_80333F68: +/* 80333F68 00330EC8 7F C3 F3 78 */ mr r3, r30 +/* 80333F6C 00330ECC 7F E4 FB 78 */ mr r4, r31 +/* 80333F70 00330ED0 4B FF F9 B9 */ bl sub_80333928 +/* 80333F74 00330ED4 3B DE 00 14 */ addi r30, r30, 0x14 +/* 80333F78 00330ED8 3B FF 00 14 */ addi r31, r31, 0x14 +lbl_80333F7C: +/* 80333F7C 00330EDC 80 1D 00 00 */ lwz r0, 0(r29) +/* 80333F80 00330EE0 7C 1F 00 40 */ cmplw r31, r0 +/* 80333F84 00330EE4 40 82 FF E4 */ bne lbl_80333F68 +/* 80333F88 00330EE8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80333F8C 00330EEC 7F C3 F3 78 */ mr r3, r30 +/* 80333F90 00330EF0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80333F94 00330EF4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80333F98 00330EF8 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80333F9C 00330EFC 7C 08 03 A6 */ mtlr r0 +/* 80333FA0 00330F00 38 21 00 20 */ addi r1, r1, 0x20 +/* 80333FA4 00330F04 4E 80 00 20 */ blr diff --git a/asm/Kyoto/Particles/CSwooshDescription.s b/asm/Kyoto/Particles/CSwooshDescription.s new file mode 100644 index 00000000..28419fb1 --- /dev/null +++ b/asm/Kyoto/Particles/CSwooshDescription.s @@ -0,0 +1,235 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __dt__18CSwooshDescriptionFv +__dt__18CSwooshDescriptionFv: +/* 80366AF8 00363A58 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80366AFC 00363A5C 7C 08 02 A6 */ mflr r0 +/* 80366B00 00363A60 90 01 00 14 */ stw r0, 0x14(r1) +/* 80366B04 00363A64 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80366B08 00363A68 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80366B0C 00363A6C 93 C1 00 08 */ stw r30, 8(r1) +/* 80366B10 00363A70 7C 9E 23 78 */ mr r30, r4 +/* 80366B14 00363A74 41 82 02 34 */ beq lbl_80366D48 +/* 80366B18 00363A78 80 7F 00 00 */ lwz r3, 0(r31) +/* 80366B1C 00363A7C 28 03 00 00 */ cmplwi r3, 0 +/* 80366B20 00363A80 41 82 00 18 */ beq lbl_80366B38 +/* 80366B24 00363A84 81 83 00 00 */ lwz r12, 0(r3) +/* 80366B28 00363A88 38 80 00 01 */ li r4, 1 +/* 80366B2C 00363A8C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80366B30 00363A90 7D 89 03 A6 */ mtctr r12 +/* 80366B34 00363A94 4E 80 04 21 */ bctrl +lbl_80366B38: +/* 80366B38 00363A98 80 7F 00 04 */ lwz r3, 4(r31) +/* 80366B3C 00363A9C 28 03 00 00 */ cmplwi r3, 0 +/* 80366B40 00363AA0 41 82 00 18 */ beq lbl_80366B58 +/* 80366B44 00363AA4 81 83 00 00 */ lwz r12, 0(r3) +/* 80366B48 00363AA8 38 80 00 01 */ li r4, 1 +/* 80366B4C 00363AAC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80366B50 00363AB0 7D 89 03 A6 */ mtctr r12 +/* 80366B54 00363AB4 4E 80 04 21 */ bctrl +lbl_80366B58: +/* 80366B58 00363AB8 80 7F 00 08 */ lwz r3, 8(r31) +/* 80366B5C 00363ABC 28 03 00 00 */ cmplwi r3, 0 +/* 80366B60 00363AC0 41 82 00 18 */ beq lbl_80366B78 +/* 80366B64 00363AC4 81 83 00 00 */ lwz r12, 0(r3) +/* 80366B68 00363AC8 38 80 00 01 */ li r4, 1 +/* 80366B6C 00363ACC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80366B70 00363AD0 7D 89 03 A6 */ mtctr r12 +/* 80366B74 00363AD4 4E 80 04 21 */ bctrl +lbl_80366B78: +/* 80366B78 00363AD8 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 80366B7C 00363ADC 28 03 00 00 */ cmplwi r3, 0 +/* 80366B80 00363AE0 41 82 00 18 */ beq lbl_80366B98 +/* 80366B84 00363AE4 81 83 00 00 */ lwz r12, 0(r3) +/* 80366B88 00363AE8 38 80 00 01 */ li r4, 1 +/* 80366B8C 00363AEC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80366B90 00363AF0 7D 89 03 A6 */ mtctr r12 +/* 80366B94 00363AF4 4E 80 04 21 */ bctrl +lbl_80366B98: +/* 80366B98 00363AF8 80 7F 00 10 */ lwz r3, 0x10(r31) +/* 80366B9C 00363AFC 28 03 00 00 */ cmplwi r3, 0 +/* 80366BA0 00363B00 41 82 00 18 */ beq lbl_80366BB8 +/* 80366BA4 00363B04 81 83 00 00 */ lwz r12, 0(r3) +/* 80366BA8 00363B08 38 80 00 01 */ li r4, 1 +/* 80366BAC 00363B0C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80366BB0 00363B10 7D 89 03 A6 */ mtctr r12 +/* 80366BB4 00363B14 4E 80 04 21 */ bctrl +lbl_80366BB8: +/* 80366BB8 00363B18 80 7F 00 14 */ lwz r3, 0x14(r31) +/* 80366BBC 00363B1C 28 03 00 00 */ cmplwi r3, 0 +/* 80366BC0 00363B20 41 82 00 18 */ beq lbl_80366BD8 +/* 80366BC4 00363B24 81 83 00 00 */ lwz r12, 0(r3) +/* 80366BC8 00363B28 38 80 00 01 */ li r4, 1 +/* 80366BCC 00363B2C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80366BD0 00363B30 7D 89 03 A6 */ mtctr r12 +/* 80366BD4 00363B34 4E 80 04 21 */ bctrl +lbl_80366BD8: +/* 80366BD8 00363B38 80 7F 00 18 */ lwz r3, 0x18(r31) +/* 80366BDC 00363B3C 28 03 00 00 */ cmplwi r3, 0 +/* 80366BE0 00363B40 41 82 00 18 */ beq lbl_80366BF8 +/* 80366BE4 00363B44 81 83 00 00 */ lwz r12, 0(r3) +/* 80366BE8 00363B48 38 80 00 01 */ li r4, 1 +/* 80366BEC 00363B4C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80366BF0 00363B50 7D 89 03 A6 */ mtctr r12 +/* 80366BF4 00363B54 4E 80 04 21 */ bctrl +lbl_80366BF8: +/* 80366BF8 00363B58 80 7F 00 1C */ lwz r3, 0x1c(r31) +/* 80366BFC 00363B5C 28 03 00 00 */ cmplwi r3, 0 +/* 80366C00 00363B60 41 82 00 18 */ beq lbl_80366C18 +/* 80366C04 00363B64 81 83 00 00 */ lwz r12, 0(r3) +/* 80366C08 00363B68 38 80 00 01 */ li r4, 1 +/* 80366C0C 00363B6C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80366C10 00363B70 7D 89 03 A6 */ mtctr r12 +/* 80366C14 00363B74 4E 80 04 21 */ bctrl +lbl_80366C18: +/* 80366C18 00363B78 80 7F 00 20 */ lwz r3, 0x20(r31) +/* 80366C1C 00363B7C 28 03 00 00 */ cmplwi r3, 0 +/* 80366C20 00363B80 41 82 00 18 */ beq lbl_80366C38 +/* 80366C24 00363B84 81 83 00 00 */ lwz r12, 0(r3) +/* 80366C28 00363B88 38 80 00 01 */ li r4, 1 +/* 80366C2C 00363B8C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80366C30 00363B90 7D 89 03 A6 */ mtctr r12 +/* 80366C34 00363B94 4E 80 04 21 */ bctrl +lbl_80366C38: +/* 80366C38 00363B98 80 7F 00 24 */ lwz r3, 0x24(r31) +/* 80366C3C 00363B9C 28 03 00 00 */ cmplwi r3, 0 +/* 80366C40 00363BA0 41 82 00 18 */ beq lbl_80366C58 +/* 80366C44 00363BA4 81 83 00 00 */ lwz r12, 0(r3) +/* 80366C48 00363BA8 38 80 00 01 */ li r4, 1 +/* 80366C4C 00363BAC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80366C50 00363BB0 7D 89 03 A6 */ mtctr r12 +/* 80366C54 00363BB4 4E 80 04 21 */ bctrl +lbl_80366C58: +/* 80366C58 00363BB8 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 80366C5C 00363BBC 28 03 00 00 */ cmplwi r3, 0 +/* 80366C60 00363BC0 41 82 00 18 */ beq lbl_80366C78 +/* 80366C64 00363BC4 81 83 00 00 */ lwz r12, 0(r3) +/* 80366C68 00363BC8 38 80 00 01 */ li r4, 1 +/* 80366C6C 00363BCC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80366C70 00363BD0 7D 89 03 A6 */ mtctr r12 +/* 80366C74 00363BD4 4E 80 04 21 */ bctrl +lbl_80366C78: +/* 80366C78 00363BD8 80 7F 00 2C */ lwz r3, 0x2c(r31) +/* 80366C7C 00363BDC 28 03 00 00 */ cmplwi r3, 0 +/* 80366C80 00363BE0 41 82 00 18 */ beq lbl_80366C98 +/* 80366C84 00363BE4 81 83 00 00 */ lwz r12, 0(r3) +/* 80366C88 00363BE8 38 80 00 01 */ li r4, 1 +/* 80366C8C 00363BEC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80366C90 00363BF0 7D 89 03 A6 */ mtctr r12 +/* 80366C94 00363BF4 4E 80 04 21 */ bctrl +lbl_80366C98: +/* 80366C98 00363BF8 80 7F 00 30 */ lwz r3, 0x30(r31) +/* 80366C9C 00363BFC 28 03 00 00 */ cmplwi r3, 0 +/* 80366CA0 00363C00 41 82 00 18 */ beq lbl_80366CB8 +/* 80366CA4 00363C04 81 83 00 00 */ lwz r12, 0(r3) +/* 80366CA8 00363C08 38 80 00 01 */ li r4, 1 +/* 80366CAC 00363C0C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80366CB0 00363C10 7D 89 03 A6 */ mtctr r12 +/* 80366CB4 00363C14 4E 80 04 21 */ bctrl +lbl_80366CB8: +/* 80366CB8 00363C18 80 7F 00 34 */ lwz r3, 0x34(r31) +/* 80366CBC 00363C1C 28 03 00 00 */ cmplwi r3, 0 +/* 80366CC0 00363C20 41 82 00 18 */ beq lbl_80366CD8 +/* 80366CC4 00363C24 81 83 00 00 */ lwz r12, 0(r3) +/* 80366CC8 00363C28 38 80 00 01 */ li r4, 1 +/* 80366CCC 00363C2C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80366CD0 00363C30 7D 89 03 A6 */ mtctr r12 +/* 80366CD4 00363C34 4E 80 04 21 */ bctrl +lbl_80366CD8: +/* 80366CD8 00363C38 80 7F 00 38 */ lwz r3, 0x38(r31) +/* 80366CDC 00363C3C 28 03 00 00 */ cmplwi r3, 0 +/* 80366CE0 00363C40 41 82 00 18 */ beq lbl_80366CF8 +/* 80366CE4 00363C44 81 83 00 00 */ lwz r12, 0(r3) +/* 80366CE8 00363C48 38 80 00 01 */ li r4, 1 +/* 80366CEC 00363C4C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80366CF0 00363C50 7D 89 03 A6 */ mtctr r12 +/* 80366CF4 00363C54 4E 80 04 21 */ bctrl +lbl_80366CF8: +/* 80366CF8 00363C58 80 7F 00 3C */ lwz r3, 0x3c(r31) +/* 80366CFC 00363C5C 28 03 00 00 */ cmplwi r3, 0 +/* 80366D00 00363C60 41 82 00 18 */ beq lbl_80366D18 +/* 80366D04 00363C64 81 83 00 00 */ lwz r12, 0(r3) +/* 80366D08 00363C68 38 80 00 01 */ li r4, 1 +/* 80366D0C 00363C6C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80366D10 00363C70 7D 89 03 A6 */ mtctr r12 +/* 80366D14 00363C74 4E 80 04 21 */ bctrl +lbl_80366D18: +/* 80366D18 00363C78 80 7F 00 40 */ lwz r3, 0x40(r31) +/* 80366D1C 00363C7C 28 03 00 00 */ cmplwi r3, 0 +/* 80366D20 00363C80 41 82 00 18 */ beq lbl_80366D38 +/* 80366D24 00363C84 81 83 00 00 */ lwz r12, 0(r3) +/* 80366D28 00363C88 38 80 00 01 */ li r4, 1 +/* 80366D2C 00363C8C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80366D30 00363C90 7D 89 03 A6 */ mtctr r12 +/* 80366D34 00363C94 4E 80 04 21 */ bctrl +lbl_80366D38: +/* 80366D38 00363C98 7F C0 07 35 */ extsh. r0, r30 +/* 80366D3C 00363C9C 40 81 00 0C */ ble lbl_80366D48 +/* 80366D40 00363CA0 7F E3 FB 78 */ mr r3, r31 +/* 80366D44 00363CA4 4B FA EB ED */ bl Free__7CMemoryFPCv +lbl_80366D48: +/* 80366D48 00363CA8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80366D4C 00363CAC 7F E3 FB 78 */ mr r3, r31 +/* 80366D50 00363CB0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80366D54 00363CB4 83 C1 00 08 */ lwz r30, 8(r1) +/* 80366D58 00363CB8 7C 08 03 A6 */ mtlr r0 +/* 80366D5C 00363CBC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80366D60 00363CC0 4E 80 00 20 */ blr + +.global __ct__18CSwooshDescriptionFv +__ct__18CSwooshDescriptionFv: +/* 80366D64 00363CC4 38 A0 00 00 */ li r5, 0 +/* 80366D68 00363CC8 38 80 00 01 */ li r4, 1 +/* 80366D6C 00363CCC 90 A3 00 00 */ stw r5, 0(r3) +/* 80366D70 00363CD0 90 A3 00 04 */ stw r5, 4(r3) +/* 80366D74 00363CD4 90 A3 00 08 */ stw r5, 8(r3) +/* 80366D78 00363CD8 90 A3 00 0C */ stw r5, 0xc(r3) +/* 80366D7C 00363CDC 90 A3 00 10 */ stw r5, 0x10(r3) +/* 80366D80 00363CE0 90 A3 00 14 */ stw r5, 0x14(r3) +/* 80366D84 00363CE4 90 A3 00 18 */ stw r5, 0x18(r3) +/* 80366D88 00363CE8 90 A3 00 1C */ stw r5, 0x1c(r3) +/* 80366D8C 00363CEC 90 A3 00 20 */ stw r5, 0x20(r3) +/* 80366D90 00363CF0 90 A3 00 24 */ stw r5, 0x24(r3) +/* 80366D94 00363CF4 90 A3 00 28 */ stw r5, 0x28(r3) +/* 80366D98 00363CF8 90 A3 00 2C */ stw r5, 0x2c(r3) +/* 80366D9C 00363CFC 90 A3 00 30 */ stw r5, 0x30(r3) +/* 80366DA0 00363D00 90 A3 00 34 */ stw r5, 0x34(r3) +/* 80366DA4 00363D04 90 A3 00 38 */ stw r5, 0x38(r3) +/* 80366DA8 00363D08 90 A3 00 3C */ stw r5, 0x3c(r3) +/* 80366DAC 00363D0C 90 A3 00 40 */ stw r5, 0x40(r3) +/* 80366DB0 00363D10 88 03 00 44 */ lbz r0, 0x44(r3) +/* 80366DB4 00363D14 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 80366DB8 00363D18 98 03 00 44 */ stb r0, 0x44(r3) +/* 80366DBC 00363D1C 88 03 00 44 */ lbz r0, 0x44(r3) +/* 80366DC0 00363D20 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 80366DC4 00363D24 98 03 00 44 */ stb r0, 0x44(r3) +/* 80366DC8 00363D28 88 03 00 44 */ lbz r0, 0x44(r3) +/* 80366DCC 00363D2C 50 A0 2E B4 */ rlwimi r0, r5, 5, 0x1a, 0x1a +/* 80366DD0 00363D30 98 03 00 44 */ stb r0, 0x44(r3) +/* 80366DD4 00363D34 88 03 00 44 */ lbz r0, 0x44(r3) +/* 80366DD8 00363D38 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b +/* 80366DDC 00363D3C 98 03 00 44 */ stb r0, 0x44(r3) +/* 80366DE0 00363D40 88 03 00 44 */ lbz r0, 0x44(r3) +/* 80366DE4 00363D44 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c +/* 80366DE8 00363D48 98 03 00 44 */ stb r0, 0x44(r3) +/* 80366DEC 00363D4C 88 03 00 44 */ lbz r0, 0x44(r3) +/* 80366DF0 00363D50 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d +/* 80366DF4 00363D54 98 03 00 44 */ stb r0, 0x44(r3) +/* 80366DF8 00363D58 88 03 00 44 */ lbz r0, 0x44(r3) +/* 80366DFC 00363D5C 50 A0 0F BC */ rlwimi r0, r5, 1, 0x1e, 0x1e +/* 80366E00 00363D60 98 03 00 44 */ stb r0, 0x44(r3) +/* 80366E04 00363D64 88 03 00 44 */ lbz r0, 0x44(r3) +/* 80366E08 00363D68 50 A0 07 FE */ rlwimi r0, r5, 0, 0x1f, 0x1f +/* 80366E0C 00363D6C 98 03 00 44 */ stb r0, 0x44(r3) +/* 80366E10 00363D70 88 03 00 45 */ lbz r0, 0x45(r3) +/* 80366E14 00363D74 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 80366E18 00363D78 98 03 00 45 */ stb r0, 0x45(r3) +/* 80366E1C 00363D7C 88 03 00 45 */ lbz r0, 0x45(r3) +/* 80366E20 00363D80 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 +/* 80366E24 00363D84 98 03 00 45 */ stb r0, 0x45(r3) +/* 80366E28 00363D88 88 03 00 45 */ lbz r0, 0x45(r3) +/* 80366E2C 00363D8C 50 A0 2E B4 */ rlwimi r0, r5, 5, 0x1a, 0x1a +/* 80366E30 00363D90 98 03 00 45 */ stb r0, 0x45(r3) +/* 80366E34 00363D94 4E 80 00 20 */ blr diff --git a/asm/Kyoto/Particles/CUVElement.s b/asm/Kyoto/Particles/CUVElement.s new file mode 100644 index 00000000..87078c95 --- /dev/null +++ b/asm/Kyoto/Particles/CUVElement.s @@ -0,0 +1,641 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global HasConstantTexture__15CUVEAnimTextureFv +HasConstantTexture__15CUVEAnimTextureFv: +/* 80333FA8 00330F08 38 60 00 01 */ li r3, 1 +/* 80333FAC 00330F0C 4E 80 00 20 */ blr + +.global HasConstantUV__15CUVEAnimTextureFv +HasConstantUV__15CUVEAnimTextureFv: +/* 80333FB0 00330F10 38 60 00 00 */ li r3, 0 +/* 80333FB4 00330F14 4E 80 00 20 */ blr + +.global GetValueTexture__15CUVEAnimTextureCFi +GetValueTexture__15CUVEAnimTextureCFi: +/* 80333FB8 00330F18 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80333FBC 00330F1C 7C 08 02 A6 */ mflr r0 +/* 80333FC0 00330F20 90 01 00 14 */ stw r0, 0x14(r1) +/* 80333FC4 00330F24 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80333FC8 00330F28 7C 9F 23 78 */ mr r31, r4 +/* 80333FCC 00330F2C 38 9F 00 04 */ addi r4, r31, 4 +/* 80333FD0 00330F30 93 C1 00 08 */ stw r30, 8(r1) +/* 80333FD4 00330F34 7C 7E 1B 78 */ mr r30, r3 +/* 80333FD8 00330F38 48 00 CE D1 */ bl __ct__6CTokenFRC6CToken +/* 80333FDC 00330F3C 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 80333FE0 00330F40 7F C3 F3 78 */ mr r3, r30 +/* 80333FE4 00330F44 90 1E 00 08 */ stw r0, 8(r30) +/* 80333FE8 00330F48 48 00 CD 9D */ bl Lock__6CTokenFv +/* 80333FEC 00330F4C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80333FF0 00330F50 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80333FF4 00330F54 83 C1 00 08 */ lwz r30, 8(r1) +/* 80333FF8 00330F58 7C 08 03 A6 */ mtlr r0 +/* 80333FFC 00330F5C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80334000 00330F60 4E 80 00 20 */ blr + +.global GetValueUV__15CUVEAnimTextureCFiR13SUVElementSet +GetValueUV__15CUVEAnimTextureCFiR13SUVElementSet: +/* 80334004 00330F64 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80334008 00330F68 7C 08 02 A6 */ mflr r0 +/* 8033400C 00330F6C 90 01 00 44 */ stw r0, 0x44(r1) +/* 80334010 00330F70 38 00 00 01 */ li r0, 1 +/* 80334014 00330F74 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80334018 00330F78 7C BF 2B 78 */ mr r31, r5 +/* 8033401C 00330F7C 38 A1 00 0C */ addi r5, r1, 0xc +/* 80334020 00330F80 93 C1 00 38 */ stw r30, 0x38(r1) +/* 80334024 00330F84 7C 7E 1B 78 */ mr r30, r3 +/* 80334028 00330F88 93 A1 00 34 */ stw r29, 0x34(r1) +/* 8033402C 00330F8C 7C 9D 23 78 */ mr r29, r4 +/* 80334030 00330F90 90 01 00 0C */ stw r0, 0xc(r1) +/* 80334034 00330F94 80 63 00 28 */ lwz r3, 0x28(r3) +/* 80334038 00330F98 81 83 00 00 */ lwz r12, 0(r3) +/* 8033403C 00330F9C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80334040 00330FA0 7D 89 03 A6 */ mtctr r12 +/* 80334044 00330FA4 4E 80 04 21 */ bctrl +/* 80334048 00330FA8 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8033404C 00330FAC 3C A0 43 30 */ lis r5, 0x4330 +/* 80334050 00330FB0 80 FE 00 20 */ lwz r7, 0x20(r30) +/* 80334054 00330FB4 6F A6 80 00 */ xoris r6, r29, 0x8000 +/* 80334058 00330FB8 6C 04 80 00 */ xoris r4, r0, 0x8000 +/* 8033405C 00330FBC 88 1E 00 24 */ lbz r0, 0x24(r30) +/* 80334060 00330FC0 6C E3 80 00 */ xoris r3, r7, 0x8000 +/* 80334064 00330FC4 90 81 00 1C */ stw r4, 0x1c(r1) +/* 80334068 00330FC8 C8 42 CB 40 */ lfd f2, lbl_805AE860@sda21(r2) +/* 8033406C 00330FCC 28 00 00 00 */ cmplwi r0, 0 +/* 80334070 00330FD0 90 A1 00 18 */ stw r5, 0x18(r1) +/* 80334074 00330FD4 C8 01 00 18 */ lfd f0, 0x18(r1) +/* 80334078 00330FD8 90 61 00 24 */ stw r3, 0x24(r1) +/* 8033407C 00330FDC EC 20 10 28 */ fsubs f1, f0, f2 +/* 80334080 00330FE0 90 A1 00 20 */ stw r5, 0x20(r1) +/* 80334084 00330FE4 C8 01 00 20 */ lfd f0, 0x20(r1) +/* 80334088 00330FE8 90 C1 00 14 */ stw r6, 0x14(r1) +/* 8033408C 00330FEC EC 00 10 28 */ fsubs f0, f0, f2 +/* 80334090 00330FF0 90 A1 00 10 */ stw r5, 0x10(r1) +/* 80334094 00330FF4 EC 01 00 24 */ fdivs f0, f1, f0 +/* 80334098 00330FF8 C8 21 00 10 */ lfd f1, 0x10(r1) +/* 8033409C 00330FFC EC 21 10 28 */ fsubs f1, f1, f2 +/* 803340A0 00331000 EC 01 00 24 */ fdivs f0, f1, f0 +/* 803340A4 00331004 41 82 00 48 */ beq lbl_803340EC +/* 803340A8 00331008 FC 00 00 1E */ fctiwz f0, f0 +/* 803340AC 0033100C 80 0D 9D 30 */ lwz r0, lbl_805A88F0@sda21(r13) +/* 803340B0 00331010 38 61 00 08 */ addi r3, r1, 8 +/* 803340B4 00331014 D8 01 00 20 */ stfd f0, 0x20(r1) +/* 803340B8 00331018 80 81 00 24 */ lwz r4, 0x24(r1) +/* 803340BC 0033101C 7C 04 00 00 */ cmpw r4, r0 +/* 803340C0 00331020 90 81 00 08 */ stw r4, 8(r1) +/* 803340C4 00331024 40 80 00 08 */ bge lbl_803340CC +/* 803340C8 00331028 38 6D 9D 30 */ addi r3, r13, lbl_805A88F0@sda21 +lbl_803340CC: +/* 803340CC 0033102C 80 83 00 00 */ lwz r4, 0(r3) +/* 803340D0 00331030 80 7E 00 20 */ lwz r3, 0x20(r30) +/* 803340D4 00331034 7C 04 18 00 */ cmpw r4, r3 +/* 803340D8 00331038 41 80 00 30 */ blt lbl_80334108 +/* 803340DC 0033103C 7C 04 1B D6 */ divw r0, r4, r3 +/* 803340E0 00331040 7C 00 19 D6 */ mullw r0, r0, r3 +/* 803340E4 00331044 7C 80 20 50 */ subf r4, r0, r4 +/* 803340E8 00331048 48 00 00 20 */ b lbl_80334108 +lbl_803340EC: +/* 803340EC 0033104C FC 00 00 1E */ fctiwz f0, f0 +/* 803340F0 00331050 D8 01 00 20 */ stfd f0, 0x20(r1) +/* 803340F4 00331054 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803340F8 00331058 7C 00 38 00 */ cmpw r0, r7 +/* 803340FC 0033105C 7C 04 03 78 */ mr r4, r0 +/* 80334100 00331060 41 80 00 08 */ blt lbl_80334108 +/* 80334104 00331064 38 87 FF FF */ addi r4, r7, -1 +lbl_80334108: +/* 80334108 00331068 80 7E 00 38 */ lwz r3, 0x38(r30) +/* 8033410C 0033106C 54 80 20 36 */ slwi r0, r4, 4 +/* 80334110 00331070 7C 63 02 14 */ add r3, r3, r0 +/* 80334114 00331074 C0 03 00 00 */ lfs f0, 0(r3) +/* 80334118 00331078 D0 1F 00 00 */ stfs f0, 0(r31) +/* 8033411C 0033107C C0 03 00 04 */ lfs f0, 4(r3) +/* 80334120 00331080 D0 1F 00 04 */ stfs f0, 4(r31) +/* 80334124 00331084 C0 03 00 08 */ lfs f0, 8(r3) +/* 80334128 00331088 D0 1F 00 08 */ stfs f0, 8(r31) +/* 8033412C 0033108C C0 03 00 0C */ lfs f0, 0xc(r3) +/* 80334130 00331090 D0 1F 00 0C */ stfs f0, 0xc(r31) +/* 80334134 00331094 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80334138 00331098 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 8033413C 0033109C 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 80334140 003310A0 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80334144 003310A4 7C 08 03 A6 */ mtlr r0 +/* 80334148 003310A8 38 21 00 40 */ addi r1, r1, 0x40 +/* 8033414C 003310AC 4E 80 00 20 */ blr + +.global __dt__15CUVEAnimTextureFv +__dt__15CUVEAnimTextureFv: +/* 80334150 003310B0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80334154 003310B4 7C 08 02 A6 */ mflr r0 +/* 80334158 003310B8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033415C 003310BC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80334160 003310C0 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80334164 003310C4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80334168 003310C8 7C 9E 23 78 */ mr r30, r4 +/* 8033416C 003310CC 41 82 00 CC */ beq lbl_80334238 +/* 80334170 003310D0 3C 60 80 3F */ lis r3, lbl_803EE118@ha +/* 80334174 003310D4 38 03 E1 18 */ addi r0, r3, lbl_803EE118@l +/* 80334178 003310D8 90 1F 00 00 */ stw r0, 0(r31) +/* 8033417C 003310DC 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 80334180 003310E0 28 03 00 00 */ cmplwi r3, 0 +/* 80334184 003310E4 41 82 00 18 */ beq lbl_8033419C +/* 80334188 003310E8 81 83 00 00 */ lwz r12, 0(r3) +/* 8033418C 003310EC 38 80 00 01 */ li r4, 1 +/* 80334190 003310F0 81 8C 00 08 */ lwz r12, 8(r12) +/* 80334194 003310F4 7D 89 03 A6 */ mtctr r12 +/* 80334198 003310F8 4E 80 04 21 */ bctrl +lbl_8033419C: +/* 8033419C 003310FC 34 1F 00 2C */ addic. r0, r31, 0x2c +/* 803341A0 00331100 41 82 00 44 */ beq lbl_803341E4 +/* 803341A4 00331104 80 1F 00 30 */ lwz r0, 0x30(r31) +/* 803341A8 00331108 80 7F 00 38 */ lwz r3, 0x38(r31) +/* 803341AC 0033110C 54 00 20 36 */ slwi r0, r0, 4 +/* 803341B0 00331110 7C 03 02 14 */ add r0, r3, r0 +/* 803341B4 00331114 90 61 00 0C */ stw r3, 0xc(r1) +/* 803341B8 00331118 7C 64 1B 78 */ mr r4, r3 +/* 803341BC 0033111C 90 01 00 14 */ stw r0, 0x14(r1) +/* 803341C0 00331120 90 01 00 10 */ stw r0, 0x10(r1) +/* 803341C4 00331124 90 61 00 08 */ stw r3, 8(r1) +/* 803341C8 00331128 48 00 00 08 */ b lbl_803341D0 +lbl_803341CC: +/* 803341CC 0033112C 38 84 00 10 */ addi r4, r4, 0x10 +lbl_803341D0: +/* 803341D0 00331130 7C 04 00 40 */ cmplw r4, r0 +/* 803341D4 00331134 40 82 FF F8 */ bne lbl_803341CC +/* 803341D8 00331138 28 03 00 00 */ cmplwi r3, 0 +/* 803341DC 0033113C 41 82 00 08 */ beq lbl_803341E4 +/* 803341E0 00331140 4B FE 17 51 */ bl Free__7CMemoryFPCv +lbl_803341E4: +/* 803341E4 00331144 34 1F 00 04 */ addic. r0, r31, 4 +/* 803341E8 00331148 41 82 00 18 */ beq lbl_80334200 +/* 803341EC 0033114C 34 1F 00 04 */ addic. r0, r31, 4 +/* 803341F0 00331150 41 82 00 10 */ beq lbl_80334200 +/* 803341F4 00331154 38 7F 00 04 */ addi r3, r31, 4 +/* 803341F8 00331158 38 80 00 00 */ li r4, 0 +/* 803341FC 0033115C 48 00 CC 45 */ bl __dt__6CTokenFv +lbl_80334200: +/* 80334200 00331160 28 1F 00 00 */ cmplwi r31, 0 +/* 80334204 00331164 41 82 00 20 */ beq lbl_80334224 +/* 80334208 00331168 3C 60 80 3F */ lis r3, lbl_803EC568@ha +/* 8033420C 0033116C 38 03 C5 68 */ addi r0, r3, lbl_803EC568@l +/* 80334210 00331170 90 1F 00 00 */ stw r0, 0(r31) +/* 80334214 00331174 41 82 00 10 */ beq lbl_80334224 +/* 80334218 00331178 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 8033421C 0033117C 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80334220 00331180 90 1F 00 00 */ stw r0, 0(r31) +lbl_80334224: +/* 80334224 00331184 7F C0 07 35 */ extsh. r0, r30 +/* 80334228 00331188 40 81 00 10 */ ble lbl_80334238 +/* 8033422C 0033118C 7F E3 FB 78 */ mr r3, r31 +/* 80334230 00331190 38 80 00 3C */ li r4, 0x3c +/* 80334234 00331194 48 03 88 31 */ bl sub_8036ca64 +lbl_80334238: +/* 80334238 00331198 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8033423C 0033119C 7F E3 FB 78 */ mr r3, r31 +/* 80334240 003311A0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80334244 003311A4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80334248 003311A8 7C 08 03 A6 */ mtlr r0 +/* 8033424C 003311AC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80334250 003311B0 4E 80 00 20 */ blr + +.global "__ct__15CUVEAnimTextureF17TToken<8CTexture>P11CIntElementP11CIntElementP11CIntElementP11CIntElementP11CIntElementb" +"__ct__15CUVEAnimTextureF17TToken<8CTexture>P11CIntElementP11CIntElementP11CIntElementP11CIntElementP11CIntElementb": +/* 80334254 003311B4 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 80334258 003311B8 7C 08 02 A6 */ mflr r0 +/* 8033425C 003311BC 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 80334260 003311C0 DB E1 00 90 */ stfd f31, 0x90(r1) +/* 80334264 003311C4 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 +/* 80334268 003311C8 BF 01 00 70 */ stmw r24, 0x70(r1) +/* 8033426C 003311CC 7C 79 1B 78 */ mr r25, r3 +/* 80334270 003311D0 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80334274 003311D4 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80334278 003311D8 3D 60 80 3F */ lis r11, lbl_803EC568@ha +/* 8033427C 003311DC 90 19 00 00 */ stw r0, 0(r25) +/* 80334280 003311E0 38 0B C5 68 */ addi r0, r11, lbl_803EC568@l +/* 80334284 003311E4 3C 60 80 3F */ lis r3, lbl_803EE118@ha +/* 80334288 003311E8 3B 19 00 04 */ addi r24, r25, 4 +/* 8033428C 003311EC 90 19 00 00 */ stw r0, 0(r25) +/* 80334290 003311F0 38 03 E1 18 */ addi r0, r3, lbl_803EE118@l +/* 80334294 003311F4 7C BF 2B 78 */ mr r31, r5 +/* 80334298 003311F8 7C DE 33 78 */ mr r30, r6 +/* 8033429C 003311FC 90 19 00 00 */ stw r0, 0(r25) +/* 803342A0 00331200 7C FD 3B 78 */ mr r29, r7 +/* 803342A4 00331204 7D 1C 43 78 */ mr r28, r8 +/* 803342A8 00331208 7D 3B 4B 78 */ mr r27, r9 +/* 803342AC 0033120C 7D 5A 53 78 */ mr r26, r10 +/* 803342B0 00331210 7F 03 C3 78 */ mr r3, r24 +/* 803342B4 00331214 48 00 CB F5 */ bl __ct__6CTokenFRC6CToken +/* 803342B8 00331218 7F 03 C3 78 */ mr r3, r24 +/* 803342BC 0033121C 48 00 CB 51 */ bl GetObj__6CTokenFv +/* 803342C0 00331220 80 83 00 04 */ lwz r4, 4(r3) +/* 803342C4 00331224 38 00 00 00 */ li r0, 0 +/* 803342C8 00331228 7F E3 FB 78 */ mr r3, r31 +/* 803342CC 0033122C 38 A1 00 10 */ addi r5, r1, 0x10 +/* 803342D0 00331230 90 98 00 08 */ stw r4, 8(r24) +/* 803342D4 00331234 38 80 00 00 */ li r4, 0 +/* 803342D8 00331238 9B 59 00 24 */ stb r26, 0x24(r25) +/* 803342DC 0033123C 90 19 00 30 */ stw r0, 0x30(r25) +/* 803342E0 00331240 90 19 00 34 */ stw r0, 0x34(r25) +/* 803342E4 00331244 90 19 00 38 */ stw r0, 0x38(r25) +/* 803342E8 00331248 90 01 00 10 */ stw r0, 0x10(r1) +/* 803342EC 0033124C 81 9F 00 00 */ lwz r12, 0(r31) +/* 803342F0 00331250 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803342F4 00331254 7D 89 03 A6 */ mtctr r12 +/* 803342F8 00331258 4E 80 04 21 */ bctrl +/* 803342FC 0033125C 80 01 00 10 */ lwz r0, 0x10(r1) +/* 80334300 00331260 28 1F 00 00 */ cmplwi r31, 0 +/* 80334304 00331264 90 19 00 10 */ stw r0, 0x10(r25) +/* 80334308 00331268 41 82 00 1C */ beq lbl_80334324 +/* 8033430C 0033126C 7F E3 FB 78 */ mr r3, r31 +/* 80334310 00331270 38 80 00 01 */ li r4, 1 +/* 80334314 00331274 81 9F 00 00 */ lwz r12, 0(r31) +/* 80334318 00331278 81 8C 00 08 */ lwz r12, 8(r12) +/* 8033431C 0033127C 7D 89 03 A6 */ mtctr r12 +/* 80334320 00331280 4E 80 04 21 */ bctrl +lbl_80334324: +/* 80334324 00331284 7F C3 F3 78 */ mr r3, r30 +/* 80334328 00331288 38 A1 00 10 */ addi r5, r1, 0x10 +/* 8033432C 0033128C 81 9E 00 00 */ lwz r12, 0(r30) +/* 80334330 00331290 38 80 00 00 */ li r4, 0 +/* 80334334 00331294 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80334338 00331298 7D 89 03 A6 */ mtctr r12 +/* 8033433C 0033129C 4E 80 04 21 */ bctrl +/* 80334340 003312A0 80 01 00 10 */ lwz r0, 0x10(r1) +/* 80334344 003312A4 28 1E 00 00 */ cmplwi r30, 0 +/* 80334348 003312A8 90 19 00 14 */ stw r0, 0x14(r25) +/* 8033434C 003312AC 41 82 00 1C */ beq lbl_80334368 +/* 80334350 003312B0 7F C3 F3 78 */ mr r3, r30 +/* 80334354 003312B4 38 80 00 01 */ li r4, 1 +/* 80334358 003312B8 81 9E 00 00 */ lwz r12, 0(r30) +/* 8033435C 003312BC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80334360 003312C0 7D 89 03 A6 */ mtctr r12 +/* 80334364 003312C4 4E 80 04 21 */ bctrl +lbl_80334368: +/* 80334368 003312C8 7F A3 EB 78 */ mr r3, r29 +/* 8033436C 003312CC 38 A1 00 10 */ addi r5, r1, 0x10 +/* 80334370 003312D0 81 9D 00 00 */ lwz r12, 0(r29) +/* 80334374 003312D4 38 80 00 00 */ li r4, 0 +/* 80334378 003312D8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8033437C 003312DC 7D 89 03 A6 */ mtctr r12 +/* 80334380 003312E0 4E 80 04 21 */ bctrl +/* 80334384 003312E4 80 01 00 10 */ lwz r0, 0x10(r1) +/* 80334388 003312E8 28 1D 00 00 */ cmplwi r29, 0 +/* 8033438C 003312EC 90 19 00 18 */ stw r0, 0x18(r25) +/* 80334390 003312F0 41 82 00 1C */ beq lbl_803343AC +/* 80334394 003312F4 7F A3 EB 78 */ mr r3, r29 +/* 80334398 003312F8 38 80 00 01 */ li r4, 1 +/* 8033439C 003312FC 81 9D 00 00 */ lwz r12, 0(r29) +/* 803343A0 00331300 81 8C 00 08 */ lwz r12, 8(r12) +/* 803343A4 00331304 7D 89 03 A6 */ mtctr r12 +/* 803343A8 00331308 4E 80 04 21 */ bctrl +lbl_803343AC: +/* 803343AC 0033130C 7F 83 E3 78 */ mr r3, r28 +/* 803343B0 00331310 38 A1 00 10 */ addi r5, r1, 0x10 +/* 803343B4 00331314 81 9C 00 00 */ lwz r12, 0(r28) +/* 803343B8 00331318 38 80 00 00 */ li r4, 0 +/* 803343BC 0033131C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803343C0 00331320 7D 89 03 A6 */ mtctr r12 +/* 803343C4 00331324 4E 80 04 21 */ bctrl +/* 803343C8 00331328 80 01 00 10 */ lwz r0, 0x10(r1) +/* 803343CC 0033132C 28 1C 00 00 */ cmplwi r28, 0 +/* 803343D0 00331330 90 19 00 1C */ stw r0, 0x1c(r25) +/* 803343D4 00331334 41 82 00 1C */ beq lbl_803343F0 +/* 803343D8 00331338 7F 83 E3 78 */ mr r3, r28 +/* 803343DC 0033133C 38 80 00 01 */ li r4, 1 +/* 803343E0 00331340 81 9C 00 00 */ lwz r12, 0(r28) +/* 803343E4 00331344 81 8C 00 08 */ lwz r12, 8(r12) +/* 803343E8 00331348 7D 89 03 A6 */ mtctr r12 +/* 803343EC 0033134C 4E 80 04 21 */ bctrl +lbl_803343F0: +/* 803343F0 00331350 93 79 00 28 */ stw r27, 0x28(r25) +/* 803343F4 00331354 38 AD 9D 28 */ addi r5, r13, lbl_805A88E8@sda21 +/* 803343F8 00331358 80 99 00 0C */ lwz r4, 0xc(r25) +/* 803343FC 0033135C 80 79 00 18 */ lwz r3, 0x18(r25) +/* 80334400 00331360 AB 64 00 04 */ lha r27, 4(r4) +/* 80334404 00331364 80 0D 9D 28 */ lwz r0, lbl_805A88E8@sda21(r13) +/* 80334408 00331368 7C 7B 1B D6 */ divw r3, r27, r3 +/* 8033440C 0033136C AB A4 00 06 */ lha r29, 6(r4) +/* 80334410 00331370 7C 00 18 00 */ cmpw r0, r3 +/* 80334414 00331374 90 61 00 0C */ stw r3, 0xc(r1) +/* 80334418 00331378 40 80 00 08 */ bge lbl_80334420 +/* 8033441C 0033137C 38 A1 00 0C */ addi r5, r1, 0xc +lbl_80334420: +/* 80334420 00331380 80 99 00 1C */ lwz r4, 0x1c(r25) +/* 80334424 00331384 38 6D 9D 2C */ addi r3, r13, lbl_805A88EC@sda21 +/* 80334428 00331388 80 0D 9D 2C */ lwz r0, lbl_805A88EC@sda21(r13) +/* 8033442C 0033138C 7C 9D 23 D6 */ divw r4, r29, r4 +/* 80334430 00331390 83 85 00 00 */ lwz r28, 0(r5) +/* 80334434 00331394 7C 00 20 00 */ cmpw r0, r4 +/* 80334438 00331398 90 81 00 08 */ stw r4, 8(r1) +/* 8033443C 0033139C 40 80 00 08 */ bge lbl_80334444 +/* 80334440 003313A0 38 61 00 08 */ addi r3, r1, 8 +lbl_80334444: +/* 80334444 003313A4 83 43 00 00 */ lwz r26, 0(r3) +/* 80334448 003313A8 38 79 00 2C */ addi r3, r25, 0x2c +/* 8033444C 003313AC 7C 9C D1 D6 */ mullw r4, r28, r26 +/* 80334450 003313B0 90 99 00 20 */ stw r4, 0x20(r25) +/* 80334454 003313B4 48 00 03 21 */ bl sub_80334774 +/* 80334458 003313B8 CB E2 CB 40 */ lfd f31, lbl_805AE860@sda21(r2) +/* 8033445C 003313BC 3B 5A FF FF */ addi r26, r26, -1 +/* 80334460 003313C0 6F 7E 80 00 */ xoris r30, r27, 0x8000 +/* 80334464 003313C4 6F BF 80 00 */ xoris r31, r29, 0x8000 +/* 80334468 003313C8 3F A0 43 30 */ lis r29, 0x4330 +/* 8033446C 003313CC 48 00 01 54 */ b lbl_803345C0 +lbl_80334470: +/* 80334470 003313D0 3B 60 00 00 */ li r27, 0 +/* 80334474 003313D4 48 00 01 40 */ b lbl_803345B4 +lbl_80334478: +/* 80334478 003313D8 80 19 00 18 */ lwz r0, 0x18(r25) +/* 8033447C 003313DC 80 B9 00 1C */ lwz r5, 0x1c(r25) +/* 80334480 003313E0 7C C0 D9 D6 */ mullw r6, r0, r27 +/* 80334484 003313E4 80 99 00 10 */ lwz r4, 0x10(r25) +/* 80334488 003313E8 80 79 00 14 */ lwz r3, 0x14(r25) +/* 8033448C 003313EC 93 A1 00 28 */ stw r29, 0x28(r1) +/* 80334490 003313F0 80 19 00 30 */ lwz r0, 0x30(r25) +/* 80334494 003313F4 80 F9 00 34 */ lwz r7, 0x34(r25) +/* 80334498 003313F8 7C A5 D1 D6 */ mullw r5, r5, r26 +/* 8033449C 003313FC 7C 84 32 14 */ add r4, r4, r6 +/* 803344A0 00331400 6C C6 80 00 */ xoris r6, r6, 0x8000 +/* 803344A4 00331404 93 C1 00 34 */ stw r30, 0x34(r1) +/* 803344A8 00331408 6C 84 80 00 */ xoris r4, r4, 0x8000 +/* 803344AC 0033140C 90 C1 00 2C */ stw r6, 0x2c(r1) +/* 803344B0 00331410 7C 63 2A 14 */ add r3, r3, r5 +/* 803344B4 00331414 6C A5 80 00 */ xoris r5, r5, 0x8000 +/* 803344B8 00331418 6C 63 80 00 */ xoris r3, r3, 0x8000 +/* 803344BC 0033141C 93 A1 00 30 */ stw r29, 0x30(r1) +/* 803344C0 00331420 C8 21 00 28 */ lfd f1, 0x28(r1) +/* 803344C4 00331424 7C 00 38 00 */ cmpw r0, r7 +/* 803344C8 00331428 C8 01 00 30 */ lfd f0, 0x30(r1) +/* 803344CC 0033142C 90 A1 00 3C */ stw r5, 0x3c(r1) +/* 803344D0 00331430 EC 21 F8 28 */ fsubs f1, f1, f31 +/* 803344D4 00331434 EC 00 F8 28 */ fsubs f0, f0, f31 +/* 803344D8 00331438 93 A1 00 38 */ stw r29, 0x38(r1) +/* 803344DC 0033143C C8 41 00 38 */ lfd f2, 0x38(r1) +/* 803344E0 00331440 EC 61 00 24 */ fdivs f3, f1, f0 +/* 803344E4 00331444 93 E1 00 44 */ stw r31, 0x44(r1) +/* 803344E8 00331448 93 A1 00 40 */ stw r29, 0x40(r1) +/* 803344EC 0033144C C8 21 00 40 */ lfd f1, 0x40(r1) +/* 803344F0 00331450 90 81 00 4C */ stw r4, 0x4c(r1) +/* 803344F4 00331454 93 A1 00 48 */ stw r29, 0x48(r1) +/* 803344F8 00331458 C8 01 00 48 */ lfd f0, 0x48(r1) +/* 803344FC 0033145C EC 42 F8 28 */ fsubs f2, f2, f31 +/* 80334500 00331460 EC 21 F8 28 */ fsubs f1, f1, f31 +/* 80334504 00331464 93 C1 00 54 */ stw r30, 0x54(r1) +/* 80334508 00331468 EC 80 F8 28 */ fsubs f4, f0, f31 +/* 8033450C 0033146C 93 A1 00 50 */ stw r29, 0x50(r1) +/* 80334510 00331470 EC 42 08 24 */ fdivs f2, f2, f1 +/* 80334514 00331474 C8 21 00 50 */ lfd f1, 0x50(r1) +/* 80334518 00331478 90 61 00 5C */ stw r3, 0x5c(r1) +/* 8033451C 0033147C 93 A1 00 58 */ stw r29, 0x58(r1) +/* 80334520 00331480 C8 01 00 58 */ lfd f0, 0x58(r1) +/* 80334524 00331484 93 E1 00 64 */ stw r31, 0x64(r1) +/* 80334528 00331488 93 A1 00 60 */ stw r29, 0x60(r1) +/* 8033452C 0033148C EC 21 F8 28 */ fsubs f1, f1, f31 +/* 80334530 00331490 EC A0 F8 28 */ fsubs f5, f0, f31 +/* 80334534 00331494 C8 01 00 60 */ lfd f0, 0x60(r1) +/* 80334538 00331498 EC 24 08 24 */ fdivs f1, f4, f1 +/* 8033453C 0033149C D0 61 00 14 */ stfs f3, 0x14(r1) +/* 80334540 003314A0 D0 41 00 18 */ stfs f2, 0x18(r1) +/* 80334544 003314A4 EC 00 F8 28 */ fsubs f0, f0, f31 +/* 80334548 003314A8 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 8033454C 003314AC EC 05 00 24 */ fdivs f0, f5, f0 +/* 80334550 003314B0 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 80334554 003314B4 41 80 00 1C */ blt lbl_80334570 +/* 80334558 003314B8 2C 07 00 00 */ cmpwi r7, 0 +/* 8033455C 003314BC 38 79 00 2C */ addi r3, r25, 0x2c +/* 80334560 003314C0 38 80 00 04 */ li r4, 4 +/* 80334564 003314C4 41 82 00 08 */ beq lbl_8033456C +/* 80334568 003314C8 54 E4 08 3C */ slwi r4, r7, 1 +lbl_8033456C: +/* 8033456C 003314CC 48 00 02 09 */ bl sub_80334774 +lbl_80334570: +/* 80334570 003314D0 80 19 00 30 */ lwz r0, 0x30(r25) +/* 80334574 003314D4 80 79 00 38 */ lwz r3, 0x38(r25) +/* 80334578 003314D8 54 00 20 36 */ slwi r0, r0, 4 +/* 8033457C 003314DC 7C 83 02 15 */ add. r4, r3, r0 +/* 80334580 003314E0 41 82 00 24 */ beq lbl_803345A4 +/* 80334584 003314E4 80 61 00 14 */ lwz r3, 0x14(r1) +/* 80334588 003314E8 80 01 00 18 */ lwz r0, 0x18(r1) +/* 8033458C 003314EC 90 64 00 00 */ stw r3, 0(r4) +/* 80334590 003314F0 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 80334594 003314F4 90 04 00 04 */ stw r0, 4(r4) +/* 80334598 003314F8 80 01 00 20 */ lwz r0, 0x20(r1) +/* 8033459C 003314FC 90 64 00 08 */ stw r3, 8(r4) +/* 803345A0 00331500 90 04 00 0C */ stw r0, 0xc(r4) +lbl_803345A4: +/* 803345A4 00331504 80 79 00 30 */ lwz r3, 0x30(r25) +/* 803345A8 00331508 3B 7B 00 01 */ addi r27, r27, 1 +/* 803345AC 0033150C 38 03 00 01 */ addi r0, r3, 1 +/* 803345B0 00331510 90 19 00 30 */ stw r0, 0x30(r25) +lbl_803345B4: +/* 803345B4 00331514 7C 1B E0 00 */ cmpw r27, r28 +/* 803345B8 00331518 41 80 FE C0 */ blt lbl_80334478 +/* 803345BC 0033151C 3B 5A FF FF */ addi r26, r26, -1 +lbl_803345C0: +/* 803345C0 00331520 2C 1A 00 00 */ cmpwi r26, 0 +/* 803345C4 00331524 40 80 FE AC */ bge lbl_80334470 +/* 803345C8 00331528 7F 23 CB 78 */ mr r3, r25 +/* 803345CC 0033152C E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 +/* 803345D0 00331530 CB E1 00 90 */ lfd f31, 0x90(r1) +/* 803345D4 00331534 BB 01 00 70 */ lmw r24, 0x70(r1) +/* 803345D8 00331538 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 803345DC 0033153C 7C 08 03 A6 */ mtlr r0 +/* 803345E0 00331540 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 803345E4 00331544 4E 80 00 20 */ blr + +.global GetValueTexture__12CUVEConstantCFi +GetValueTexture__12CUVEConstantCFi: +/* 803345E8 00331548 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803345EC 0033154C 7C 08 02 A6 */ mflr r0 +/* 803345F0 00331550 90 01 00 14 */ stw r0, 0x14(r1) +/* 803345F4 00331554 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803345F8 00331558 7C 9F 23 78 */ mr r31, r4 +/* 803345FC 0033155C 38 9F 00 04 */ addi r4, r31, 4 +/* 80334600 00331560 93 C1 00 08 */ stw r30, 8(r1) +/* 80334604 00331564 7C 7E 1B 78 */ mr r30, r3 +/* 80334608 00331568 48 00 C8 A1 */ bl __ct__6CTokenFRC6CToken +/* 8033460C 0033156C 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 80334610 00331570 7F C3 F3 78 */ mr r3, r30 +/* 80334614 00331574 90 1E 00 08 */ stw r0, 8(r30) +/* 80334618 00331578 48 00 C7 6D */ bl Lock__6CTokenFv +/* 8033461C 0033157C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80334620 00331580 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80334624 00331584 83 C1 00 08 */ lwz r30, 8(r1) +/* 80334628 00331588 7C 08 03 A6 */ mtlr r0 +/* 8033462C 0033158C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80334630 00331590 4E 80 00 20 */ blr + +.global GetValueUV__12CUVEConstantCFiR13SUVElementSet +GetValueUV__12CUVEConstantCFiR13SUVElementSet: +/* 80334634 00331594 C0 22 CB 48 */ lfs f1, lbl_805AE868@sda21(r2) +/* 80334638 00331598 C0 02 CB 4C */ lfs f0, lbl_805AE86C@sda21(r2) +/* 8033463C 0033159C D0 25 00 00 */ stfs f1, 0(r5) +/* 80334640 003315A0 D0 25 00 04 */ stfs f1, 4(r5) +/* 80334644 003315A4 D0 05 00 08 */ stfs f0, 8(r5) +/* 80334648 003315A8 D0 05 00 0C */ stfs f0, 0xc(r5) +/* 8033464C 003315AC 4E 80 00 20 */ blr + +.global __dt__12CUVEConstantFv +__dt__12CUVEConstantFv: +/* 80334650 003315B0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80334654 003315B4 7C 08 02 A6 */ mflr r0 +/* 80334658 003315B8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033465C 003315BC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80334660 003315C0 7C 9F 23 78 */ mr r31, r4 +/* 80334664 003315C4 93 C1 00 08 */ stw r30, 8(r1) +/* 80334668 003315C8 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8033466C 003315CC 41 82 00 64 */ beq lbl_803346D0 +/* 80334670 003315D0 3C 60 80 3F */ lis r3, lbl_803EE134@ha +/* 80334674 003315D4 34 1E 00 04 */ addic. r0, r30, 4 +/* 80334678 003315D8 38 03 E1 34 */ addi r0, r3, lbl_803EE134@l +/* 8033467C 003315DC 90 1E 00 00 */ stw r0, 0(r30) +/* 80334680 003315E0 41 82 00 18 */ beq lbl_80334698 +/* 80334684 003315E4 34 1E 00 04 */ addic. r0, r30, 4 +/* 80334688 003315E8 41 82 00 10 */ beq lbl_80334698 +/* 8033468C 003315EC 38 7E 00 04 */ addi r3, r30, 4 +/* 80334690 003315F0 38 80 00 00 */ li r4, 0 +/* 80334694 003315F4 48 00 C7 AD */ bl __dt__6CTokenFv +lbl_80334698: +/* 80334698 003315F8 28 1E 00 00 */ cmplwi r30, 0 +/* 8033469C 003315FC 41 82 00 20 */ beq lbl_803346BC +/* 803346A0 00331600 3C 60 80 3F */ lis r3, lbl_803EC568@ha +/* 803346A4 00331604 38 03 C5 68 */ addi r0, r3, lbl_803EC568@l +/* 803346A8 00331608 90 1E 00 00 */ stw r0, 0(r30) +/* 803346AC 0033160C 41 82 00 10 */ beq lbl_803346BC +/* 803346B0 00331610 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 803346B4 00331614 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 803346B8 00331618 90 1E 00 00 */ stw r0, 0(r30) +lbl_803346BC: +/* 803346BC 0033161C 7F E0 07 35 */ extsh. r0, r31 +/* 803346C0 00331620 40 81 00 10 */ ble lbl_803346D0 +/* 803346C4 00331624 7F C3 F3 78 */ mr r3, r30 +/* 803346C8 00331628 38 80 00 10 */ li r4, 0x10 +/* 803346CC 0033162C 48 03 83 99 */ bl sub_8036ca64 +lbl_803346D0: +/* 803346D0 00331630 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803346D4 00331634 7F C3 F3 78 */ mr r3, r30 +/* 803346D8 00331638 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803346DC 0033163C 83 C1 00 08 */ lwz r30, 8(r1) +/* 803346E0 00331640 7C 08 03 A6 */ mtlr r0 +/* 803346E4 00331644 38 21 00 10 */ addi r1, r1, 0x10 +/* 803346E8 00331648 4E 80 00 20 */ blr + +.global "__ct__12CUVEConstantF17TToken<8CTexture>" +"__ct__12CUVEConstantF17TToken<8CTexture>": +/* 803346EC 0033164C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803346F0 00331650 7C 08 02 A6 */ mflr r0 +/* 803346F4 00331654 3C A0 80 3F */ lis r5, lbl_803EC568@ha +/* 803346F8 00331658 90 01 00 14 */ stw r0, 0x14(r1) +/* 803346FC 0033165C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80334700 00331660 7C 7F 1B 78 */ mr r31, r3 +/* 80334704 00331664 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80334708 00331668 93 C1 00 08 */ stw r30, 8(r1) +/* 8033470C 0033166C 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80334710 00331670 3C 60 80 3F */ lis r3, lbl_803EE134@ha +/* 80334714 00331674 3B DF 00 04 */ addi r30, r31, 4 +/* 80334718 00331678 90 1F 00 00 */ stw r0, 0(r31) +/* 8033471C 0033167C 38 05 C5 68 */ addi r0, r5, lbl_803EC568@l +/* 80334720 00331680 7F E6 FB 78 */ mr r6, r31 +/* 80334724 00331684 90 1F 00 00 */ stw r0, 0(r31) +/* 80334728 00331688 38 03 E1 34 */ addi r0, r3, lbl_803EE134@l +/* 8033472C 0033168C 7F C3 F3 78 */ mr r3, r30 +/* 80334730 00331690 90 1F 00 00 */ stw r0, 0(r31) +/* 80334734 00331694 48 00 C7 75 */ bl __ct__6CTokenFRC6CToken +/* 80334738 00331698 7F C3 F3 78 */ mr r3, r30 +/* 8033473C 0033169C 48 00 C6 D1 */ bl GetObj__6CTokenFv +/* 80334740 003316A0 80 03 00 04 */ lwz r0, 4(r3) +/* 80334744 003316A4 7F E3 FB 78 */ mr r3, r31 +/* 80334748 003316A8 90 1E 00 08 */ stw r0, 8(r30) +/* 8033474C 003316AC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80334750 003316B0 83 C1 00 08 */ lwz r30, 8(r1) +/* 80334754 003316B4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80334758 003316B8 7C 08 03 A6 */ mtlr r0 +/* 8033475C 003316BC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80334760 003316C0 4E 80 00 20 */ blr + +.global HasConstantTexture__12CUVEConstantFv +HasConstantTexture__12CUVEConstantFv: +/* 80334764 003316C4 38 60 00 01 */ li r3, 1 +/* 80334768 003316C8 4E 80 00 20 */ blr + +.global HasConstantUV__12CUVEConstantFv +HasConstantUV__12CUVEConstantFv: +/* 8033476C 003316CC 38 60 00 01 */ li r3, 1 +/* 80334770 003316D0 4E 80 00 20 */ blr + +.global sub_80334774 +sub_80334774: +/* 80334774 003316D4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80334778 003316D8 7C 08 02 A6 */ mflr r0 +/* 8033477C 003316DC 90 01 00 34 */ stw r0, 0x34(r1) +/* 80334780 003316E0 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80334784 003316E4 7C 9F 23 78 */ mr r31, r4 +/* 80334788 003316E8 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8033478C 003316EC 7C 7E 1B 78 */ mr r30, r3 +/* 80334790 003316F0 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80334794 003316F4 80 03 00 08 */ lwz r0, 8(r3) +/* 80334798 003316F8 7C 1F 00 00 */ cmpw r31, r0 +/* 8033479C 003316FC 40 81 00 C0 */ ble lbl_8033485C +/* 803347A0 00331700 57 E3 20 37 */ rlwinm. r3, r31, 4, 0, 0x1b +/* 803347A4 00331704 40 82 00 0C */ bne lbl_803347B0 +/* 803347A8 00331708 3B A0 00 00 */ li r29, 0 +/* 803347AC 0033170C 48 00 00 18 */ b lbl_803347C4 +lbl_803347B0: +/* 803347B0 00331710 3C 80 80 3D */ lis r4, lbl_803D7980@ha +/* 803347B4 00331714 38 A0 00 00 */ li r5, 0 +/* 803347B8 00331718 38 84 79 80 */ addi r4, r4, lbl_803D7980@l +/* 803347BC 0033171C 4B FE 10 5D */ bl __nwa__FUlPCcPCc +/* 803347C0 00331720 7C 7D 1B 78 */ mr r29, r3 +lbl_803347C4: +/* 803347C4 00331724 80 1E 00 04 */ lwz r0, 4(r30) +/* 803347C8 00331728 7F A5 EB 78 */ mr r5, r29 +/* 803347CC 0033172C 80 DE 00 0C */ lwz r6, 0xc(r30) +/* 803347D0 00331730 54 00 20 36 */ slwi r0, r0, 4 +/* 803347D4 00331734 7C 86 02 14 */ add r4, r6, r0 +/* 803347D8 00331738 90 C1 00 10 */ stw r6, 0x10(r1) +/* 803347DC 0033173C 90 81 00 08 */ stw r4, 8(r1) +/* 803347E0 00331740 90 81 00 0C */ stw r4, 0xc(r1) +/* 803347E4 00331744 90 C1 00 14 */ stw r6, 0x14(r1) +/* 803347E8 00331748 48 00 00 34 */ b lbl_8033481C +lbl_803347EC: +/* 803347EC 0033174C 28 05 00 00 */ cmplwi r5, 0 +/* 803347F0 00331750 41 82 00 24 */ beq lbl_80334814 +/* 803347F4 00331754 80 66 00 00 */ lwz r3, 0(r6) +/* 803347F8 00331758 80 06 00 04 */ lwz r0, 4(r6) +/* 803347FC 0033175C 90 65 00 00 */ stw r3, 0(r5) +/* 80334800 00331760 90 05 00 04 */ stw r0, 4(r5) +/* 80334804 00331764 80 66 00 08 */ lwz r3, 8(r6) +/* 80334808 00331768 80 06 00 0C */ lwz r0, 0xc(r6) +/* 8033480C 0033176C 90 65 00 08 */ stw r3, 8(r5) +/* 80334810 00331770 90 05 00 0C */ stw r0, 0xc(r5) +lbl_80334814: +/* 80334814 00331774 38 A5 00 10 */ addi r5, r5, 0x10 +/* 80334818 00331778 38 C6 00 10 */ addi r6, r6, 0x10 +lbl_8033481C: +/* 8033481C 0033177C 7C 06 20 40 */ cmplw r6, r4 +/* 80334820 00331780 40 82 FF CC */ bne lbl_803347EC +/* 80334824 00331784 80 1E 00 04 */ lwz r0, 4(r30) +/* 80334828 00331788 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8033482C 0033178C 54 00 20 36 */ slwi r0, r0, 4 +/* 80334830 00331790 7C 64 1B 78 */ mr r4, r3 +/* 80334834 00331794 7C 03 02 14 */ add r0, r3, r0 +/* 80334838 00331798 48 00 00 08 */ b lbl_80334840 +lbl_8033483C: +/* 8033483C 0033179C 38 84 00 10 */ addi r4, r4, 0x10 +lbl_80334840: +/* 80334840 003317A0 7C 04 00 40 */ cmplw r4, r0 +/* 80334844 003317A4 40 82 FF F8 */ bne lbl_8033483C +/* 80334848 003317A8 28 03 00 00 */ cmplwi r3, 0 +/* 8033484C 003317AC 41 82 00 08 */ beq lbl_80334854 +/* 80334850 003317B0 4B FE 10 E1 */ bl Free__7CMemoryFPCv +lbl_80334854: +/* 80334854 003317B4 93 BE 00 0C */ stw r29, 0xc(r30) +/* 80334858 003317B8 93 FE 00 08 */ stw r31, 8(r30) +lbl_8033485C: +/* 8033485C 003317BC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80334860 003317C0 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80334864 003317C4 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80334868 003317C8 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8033486C 003317CC 7C 08 03 A6 */ mtlr r0 +/* 80334870 003317D0 38 21 00 30 */ addi r1, r1, 0x30 +/* 80334874 003317D4 4E 80 00 20 */ blr diff --git a/asm/Kyoto/Particles/CVectorElement.s b/asm/Kyoto/Particles/CVectorElement.s new file mode 100644 index 00000000..a4dd1075 --- /dev/null +++ b/asm/Kyoto/Particles/CVectorElement.s @@ -0,0 +1,2798 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global GetValue__7CVECVTCCFiR9CVector3f +GetValue__7CVECVTCCFiR9CVector3f: +/* 80334878 003317D8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033487C 003317DC 7C 08 02 A6 */ mflr r0 +/* 80334880 003317E0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80334884 003317E4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80334888 003317E8 7C BF 2B 78 */ mr r31, r5 +/* 8033488C 003317EC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80334890 003317F0 7C 9E 23 78 */ mr r30, r4 +/* 80334894 003317F4 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80334898 003317F8 7C 7D 1B 78 */ mr r29, r3 +/* 8033489C 003317FC 48 01 57 19 */ bl Black__6CColorFv +/* 803348A0 00331800 80 03 00 00 */ lwz r0, 0(r3) +/* 803348A4 00331804 7F C4 F3 78 */ mr r4, r30 +/* 803348A8 00331808 80 7D 00 04 */ lwz r3, 4(r29) +/* 803348AC 0033180C 38 A1 00 08 */ addi r5, r1, 8 +/* 803348B0 00331810 90 01 00 08 */ stw r0, 8(r1) +/* 803348B4 00331814 81 83 00 00 */ lwz r12, 0(r3) +/* 803348B8 00331818 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803348BC 0033181C 7D 89 03 A6 */ mtctr r12 +/* 803348C0 00331820 4E 80 04 21 */ bctrl +/* 803348C4 00331824 E0 01 A0 08 */ psq_l f0, 8(r1), 1, qr2 +/* 803348C8 00331828 C0 22 CB 50 */ lfs f1, lbl_805AE870@sda21(r2) +/* 803348CC 0033182C EC 01 00 32 */ fmuls f0, f1, f0 +/* 803348D0 00331830 D0 1F 00 00 */ stfs f0, 0(r31) +/* 803348D4 00331834 E0 01 A0 09 */ psq_l f0, 9(r1), 1, qr2 +/* 803348D8 00331838 EC 01 00 32 */ fmuls f0, f1, f0 +/* 803348DC 0033183C D0 1F 00 04 */ stfs f0, 4(r31) +/* 803348E0 00331840 E0 01 A0 0A */ psq_l f0, 10(r1), 1, qr2 +/* 803348E4 00331844 38 60 00 00 */ li r3, 0 +/* 803348E8 00331848 EC 01 00 32 */ fmuls f0, f1, f0 +/* 803348EC 0033184C D0 1F 00 08 */ stfs f0, 8(r31) +/* 803348F0 00331850 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803348F4 00331854 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803348F8 00331858 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 803348FC 0033185C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80334900 00331860 7C 08 03 A6 */ mtlr r0 +/* 80334904 00331864 38 21 00 20 */ addi r1, r1, 0x20 +/* 80334908 00331868 4E 80 00 20 */ blr + +.global __dt__7CVECVTC +__dt__7CVECVTC: +/* 8033490C 0033186C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80334910 00331870 7C 08 02 A6 */ mflr r0 +/* 80334914 00331874 90 01 00 14 */ stw r0, 0x14(r1) +/* 80334918 00331878 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033491C 0033187C 7C 9F 23 78 */ mr r31, r4 +/* 80334920 00331880 93 C1 00 08 */ stw r30, 8(r1) +/* 80334924 00331884 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80334928 00331888 41 82 00 68 */ beq lbl_80334990 +/* 8033492C 0033188C 3C 60 80 3F */ lis r3, lbl_803EE150@ha +/* 80334930 00331890 38 03 E1 50 */ addi r0, r3, lbl_803EE150@l +/* 80334934 00331894 90 1E 00 00 */ stw r0, 0(r30) +/* 80334938 00331898 80 7E 00 04 */ lwz r3, 4(r30) +/* 8033493C 0033189C 28 03 00 00 */ cmplwi r3, 0 +/* 80334940 003318A0 41 82 00 18 */ beq lbl_80334958 +/* 80334944 003318A4 81 83 00 00 */ lwz r12, 0(r3) +/* 80334948 003318A8 38 80 00 01 */ li r4, 1 +/* 8033494C 003318AC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80334950 003318B0 7D 89 03 A6 */ mtctr r12 +/* 80334954 003318B4 4E 80 04 21 */ bctrl +lbl_80334958: +/* 80334958 003318B8 28 1E 00 00 */ cmplwi r30, 0 +/* 8033495C 003318BC 41 82 00 20 */ beq lbl_8033497C +/* 80334960 003318C0 3C 60 80 3F */ lis r3, lbl_803EC594@ha +/* 80334964 003318C4 38 03 C5 94 */ addi r0, r3, lbl_803EC594@l +/* 80334968 003318C8 90 1E 00 00 */ stw r0, 0(r30) +/* 8033496C 003318CC 41 82 00 10 */ beq lbl_8033497C +/* 80334970 003318D0 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80334974 003318D4 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80334978 003318D8 90 1E 00 00 */ stw r0, 0(r30) +lbl_8033497C: +/* 8033497C 003318DC 7F E0 07 35 */ extsh. r0, r31 +/* 80334980 003318E0 40 81 00 10 */ ble lbl_80334990 +/* 80334984 003318E4 7F C3 F3 78 */ mr r3, r30 +/* 80334988 003318E8 38 80 00 08 */ li r4, 8 +/* 8033498C 003318EC 48 03 80 D9 */ bl sub_8036ca64 +lbl_80334990: +/* 80334990 003318F0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80334994 003318F4 7F C3 F3 78 */ mr r3, r30 +/* 80334998 003318F8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033499C 003318FC 83 C1 00 08 */ lwz r30, 8(r1) +/* 803349A0 00331900 7C 08 03 A6 */ mtlr r0 +/* 803349A4 00331904 38 21 00 10 */ addi r1, r1, 0x10 +/* 803349A8 00331908 4E 80 00 20 */ blr + +.global __ct__7CVECTVCFP13CColorElement +__ct__7CVECTVCFP13CColorElement: +/* 803349AC 0033190C 3C E0 80 3F */ lis r7, lbl_803EC5A8@ha +/* 803349B0 00331910 3C C0 80 3F */ lis r6, lbl_803EC594@ha +/* 803349B4 00331914 38 07 C5 A8 */ addi r0, r7, lbl_803EC5A8@l +/* 803349B8 00331918 3C A0 80 3F */ lis r5, lbl_803EE150@ha +/* 803349BC 0033191C 90 03 00 00 */ stw r0, 0(r3) +/* 803349C0 00331920 38 C6 C5 94 */ addi r6, r6, lbl_803EC594@l +/* 803349C4 00331924 38 05 E1 50 */ addi r0, r5, lbl_803EE150@l +/* 803349C8 00331928 90 C3 00 00 */ stw r6, 0(r3) +/* 803349CC 0033192C 90 03 00 00 */ stw r0, 0(r3) +/* 803349D0 00331930 90 83 00 04 */ stw r4, 4(r3) +/* 803349D4 00331934 4E 80 00 20 */ blr + +.global GetValue__11CVESubtractCFiR9CVector3f +GetValue__11CVESubtractCFiR9CVector3f: +/* 803349D8 00331938 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 803349DC 0033193C 7C 08 02 A6 */ mflr r0 +/* 803349E0 00331940 3C C0 80 5A */ lis r6, skZero3f@ha +/* 803349E4 00331944 90 01 00 34 */ stw r0, 0x34(r1) +/* 803349E8 00331948 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 803349EC 0033194C 7C BF 2B 78 */ mr r31, r5 +/* 803349F0 00331950 38 A1 00 14 */ addi r5, r1, 0x14 +/* 803349F4 00331954 93 C1 00 28 */ stw r30, 0x28(r1) +/* 803349F8 00331958 7C 9E 23 78 */ mr r30, r4 +/* 803349FC 0033195C 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80334A00 00331960 7C 7D 1B 78 */ mr r29, r3 +/* 80334A04 00331964 38 66 66 A0 */ addi r3, r6, skZero3f@l +/* 80334A08 00331968 C0 03 00 00 */ lfs f0, 0(r3) +/* 80334A0C 0033196C C0 23 00 04 */ lfs f1, 4(r3) +/* 80334A10 00331970 C0 43 00 08 */ lfs f2, 8(r3) +/* 80334A14 00331974 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80334A18 00331978 80 7D 00 04 */ lwz r3, 4(r29) +/* 80334A1C 0033197C D0 21 00 18 */ stfs f1, 0x18(r1) +/* 80334A20 00331980 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 80334A24 00331984 D0 01 00 08 */ stfs f0, 8(r1) +/* 80334A28 00331988 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 80334A2C 0033198C D0 41 00 10 */ stfs f2, 0x10(r1) +/* 80334A30 00331990 81 83 00 00 */ lwz r12, 0(r3) +/* 80334A34 00331994 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80334A38 00331998 7D 89 03 A6 */ mtctr r12 +/* 80334A3C 0033199C 4E 80 04 21 */ bctrl +/* 80334A40 003319A0 80 7D 00 08 */ lwz r3, 8(r29) +/* 80334A44 003319A4 7F C4 F3 78 */ mr r4, r30 +/* 80334A48 003319A8 38 A1 00 08 */ addi r5, r1, 8 +/* 80334A4C 003319AC 81 83 00 00 */ lwz r12, 0(r3) +/* 80334A50 003319B0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80334A54 003319B4 7D 89 03 A6 */ mtctr r12 +/* 80334A58 003319B8 4E 80 04 21 */ bctrl +/* 80334A5C 003319BC C0 21 00 14 */ lfs f1, 0x14(r1) +/* 80334A60 003319C0 38 60 00 00 */ li r3, 0 +/* 80334A64 003319C4 C0 01 00 08 */ lfs f0, 8(r1) +/* 80334A68 003319C8 C0 81 00 18 */ lfs f4, 0x18(r1) +/* 80334A6C 003319CC C0 61 00 0C */ lfs f3, 0xc(r1) +/* 80334A70 003319D0 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80334A74 003319D4 C0 41 00 1C */ lfs f2, 0x1c(r1) +/* 80334A78 003319D8 C0 21 00 10 */ lfs f1, 0x10(r1) +/* 80334A7C 003319DC EC 64 18 28 */ fsubs f3, f4, f3 +/* 80334A80 003319E0 D0 1F 00 00 */ stfs f0, 0(r31) +/* 80334A84 003319E4 EC 02 08 28 */ fsubs f0, f2, f1 +/* 80334A88 003319E8 D0 7F 00 04 */ stfs f3, 4(r31) +/* 80334A8C 003319EC D0 1F 00 08 */ stfs f0, 8(r31) +/* 80334A90 003319F0 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80334A94 003319F4 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80334A98 003319F8 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80334A9C 003319FC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80334AA0 00331A00 7C 08 03 A6 */ mtlr r0 +/* 80334AA4 00331A04 38 21 00 30 */ addi r1, r1, 0x30 +/* 80334AA8 00331A08 4E 80 00 20 */ blr + +.global __dt__11CVESubtract +__dt__11CVESubtract: +/* 80334AAC 00331A0C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80334AB0 00331A10 7C 08 02 A6 */ mflr r0 +/* 80334AB4 00331A14 90 01 00 14 */ stw r0, 0x14(r1) +/* 80334AB8 00331A18 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80334ABC 00331A1C 7C 9F 23 78 */ mr r31, r4 +/* 80334AC0 00331A20 93 C1 00 08 */ stw r30, 8(r1) +/* 80334AC4 00331A24 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80334AC8 00331A28 41 82 00 88 */ beq lbl_80334B50 +/* 80334ACC 00331A2C 3C 60 80 3F */ lis r3, lbl_803EE164@ha +/* 80334AD0 00331A30 38 03 E1 64 */ addi r0, r3, lbl_803EE164@l +/* 80334AD4 00331A34 90 1E 00 00 */ stw r0, 0(r30) +/* 80334AD8 00331A38 80 7E 00 04 */ lwz r3, 4(r30) +/* 80334ADC 00331A3C 28 03 00 00 */ cmplwi r3, 0 +/* 80334AE0 00331A40 41 82 00 18 */ beq lbl_80334AF8 +/* 80334AE4 00331A44 81 83 00 00 */ lwz r12, 0(r3) +/* 80334AE8 00331A48 38 80 00 01 */ li r4, 1 +/* 80334AEC 00331A4C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80334AF0 00331A50 7D 89 03 A6 */ mtctr r12 +/* 80334AF4 00331A54 4E 80 04 21 */ bctrl +lbl_80334AF8: +/* 80334AF8 00331A58 80 7E 00 08 */ lwz r3, 8(r30) +/* 80334AFC 00331A5C 28 03 00 00 */ cmplwi r3, 0 +/* 80334B00 00331A60 41 82 00 18 */ beq lbl_80334B18 +/* 80334B04 00331A64 81 83 00 00 */ lwz r12, 0(r3) +/* 80334B08 00331A68 38 80 00 01 */ li r4, 1 +/* 80334B0C 00331A6C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80334B10 00331A70 7D 89 03 A6 */ mtctr r12 +/* 80334B14 00331A74 4E 80 04 21 */ bctrl +lbl_80334B18: +/* 80334B18 00331A78 28 1E 00 00 */ cmplwi r30, 0 +/* 80334B1C 00331A7C 41 82 00 20 */ beq lbl_80334B3C +/* 80334B20 00331A80 3C 60 80 3F */ lis r3, lbl_803EC594@ha +/* 80334B24 00331A84 38 03 C5 94 */ addi r0, r3, lbl_803EC594@l +/* 80334B28 00331A88 90 1E 00 00 */ stw r0, 0(r30) +/* 80334B2C 00331A8C 41 82 00 10 */ beq lbl_80334B3C +/* 80334B30 00331A90 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80334B34 00331A94 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80334B38 00331A98 90 1E 00 00 */ stw r0, 0(r30) +lbl_80334B3C: +/* 80334B3C 00331A9C 7F E0 07 35 */ extsh. r0, r31 +/* 80334B40 00331AA0 40 81 00 10 */ ble lbl_80334B50 +/* 80334B44 00331AA4 7F C3 F3 78 */ mr r3, r30 +/* 80334B48 00331AA8 38 80 00 0C */ li r4, 0xc +/* 80334B4C 00331AAC 48 03 7F 19 */ bl sub_8036ca64 +lbl_80334B50: +/* 80334B50 00331AB0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80334B54 00331AB4 7F C3 F3 78 */ mr r3, r30 +/* 80334B58 00331AB8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80334B5C 00331ABC 83 C1 00 08 */ lwz r30, 8(r1) +/* 80334B60 00331AC0 7C 08 03 A6 */ mtlr r0 +/* 80334B64 00331AC4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80334B68 00331AC8 4E 80 00 20 */ blr + +.global __ct__10CVESubractFP14CVectorElementP14CVectorElement +__ct__10CVESubractFP14CVectorElementP14CVectorElement: +/* 80334B6C 00331ACC 3D 00 80 3F */ lis r8, lbl_803EC5A8@ha +/* 80334B70 00331AD0 3C E0 80 3F */ lis r7, lbl_803EC594@ha +/* 80334B74 00331AD4 38 08 C5 A8 */ addi r0, r8, lbl_803EC5A8@l +/* 80334B78 00331AD8 3C C0 80 3F */ lis r6, lbl_803EE164@ha +/* 80334B7C 00331ADC 90 03 00 00 */ stw r0, 0(r3) +/* 80334B80 00331AE0 38 E7 C5 94 */ addi r7, r7, lbl_803EC594@l +/* 80334B84 00331AE4 38 06 E1 64 */ addi r0, r6, lbl_803EE164@l +/* 80334B88 00331AE8 90 E3 00 00 */ stw r7, 0(r3) +/* 80334B8C 00331AEC 90 03 00 00 */ stw r0, 0(r3) +/* 80334B90 00331AF0 90 83 00 04 */ stw r4, 4(r3) +/* 80334B94 00331AF4 90 A3 00 08 */ stw r5, 8(r3) +/* 80334B98 00331AF8 4E 80 00 20 */ blr + +.global GetValue__28CVEParticleSystemTranslationCFiR9CVector3f +GetValue__28CVEParticleSystemTranslationCFiR9CVector3f: +/* 80334B9C 00331AFC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80334BA0 00331B00 7C 08 02 A6 */ mflr r0 +/* 80334BA4 00331B04 90 01 00 14 */ stw r0, 0x14(r1) +/* 80334BA8 00331B08 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80334BAC 00331B0C 7C BF 2B 78 */ mr r31, r5 +/* 80334BB0 00331B10 80 6D A8 F4 */ lwz r3, lbl_805A94B4@sda21(r13) +/* 80334BB4 00331B14 80 63 00 04 */ lwz r3, 4(r3) +/* 80334BB8 00331B18 81 83 00 00 */ lwz r12, 0(r3) +/* 80334BBC 00331B1C 81 8C 00 3C */ lwz r12, 0x3c(r12) +/* 80334BC0 00331B20 7D 89 03 A6 */ mtctr r12 +/* 80334BC4 00331B24 4E 80 04 21 */ bctrl +/* 80334BC8 00331B28 C0 03 00 00 */ lfs f0, 0(r3) +/* 80334BCC 00331B2C D0 1F 00 00 */ stfs f0, 0(r31) +/* 80334BD0 00331B30 C0 03 00 04 */ lfs f0, 4(r3) +/* 80334BD4 00331B34 D0 1F 00 04 */ stfs f0, 4(r31) +/* 80334BD8 00331B38 C0 03 00 08 */ lfs f0, 8(r3) +/* 80334BDC 00331B3C 38 60 00 00 */ li r3, 0 +/* 80334BE0 00331B40 D0 1F 00 08 */ stfs f0, 8(r31) +/* 80334BE4 00331B44 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80334BE8 00331B48 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80334BEC 00331B4C 7C 08 03 A6 */ mtlr r0 +/* 80334BF0 00331B50 38 21 00 10 */ addi r1, r1, 0x10 +/* 80334BF4 00331B54 4E 80 00 20 */ blr + +.global GetValue__33CVEParticleSystemOrientationRightCFiR9CVector3f +GetValue__33CVEParticleSystemOrientationRightCFiR9CVector3f: +/* 80334BF8 00331B58 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80334BFC 00331B5C 7C 08 02 A6 */ mflr r0 +/* 80334C00 00331B60 90 01 00 14 */ stw r0, 0x14(r1) +/* 80334C04 00331B64 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80334C08 00331B68 7C BF 2B 78 */ mr r31, r5 +/* 80334C0C 00331B6C 80 6D A8 F4 */ lwz r3, lbl_805A94B4@sda21(r13) +/* 80334C10 00331B70 80 63 00 04 */ lwz r3, 4(r3) +/* 80334C14 00331B74 81 83 00 00 */ lwz r12, 0(r3) +/* 80334C18 00331B78 81 8C 00 38 */ lwz r12, 0x38(r12) +/* 80334C1C 00331B7C 7D 89 03 A6 */ mtctr r12 +/* 80334C20 00331B80 4E 80 04 21 */ bctrl +/* 80334C24 00331B84 C0 43 00 20 */ lfs f2, 0x20(r3) +/* 80334C28 00331B88 C0 23 00 10 */ lfs f1, 0x10(r3) +/* 80334C2C 00331B8C C0 03 00 00 */ lfs f0, 0(r3) +/* 80334C30 00331B90 38 60 00 00 */ li r3, 0 +/* 80334C34 00331B94 D0 1F 00 00 */ stfs f0, 0(r31) +/* 80334C38 00331B98 D0 3F 00 04 */ stfs f1, 4(r31) +/* 80334C3C 00331B9C D0 5F 00 08 */ stfs f2, 8(r31) +/* 80334C40 00331BA0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80334C44 00331BA4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80334C48 00331BA8 7C 08 03 A6 */ mtlr r0 +/* 80334C4C 00331BAC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80334C50 00331BB0 4E 80 00 20 */ blr + +.global GetValue__31CVEParticleSystemOrienatationUpCFiR9CVector3f +GetValue__31CVEParticleSystemOrienatationUpCFiR9CVector3f: +/* 80334C54 00331BB4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80334C58 00331BB8 7C 08 02 A6 */ mflr r0 +/* 80334C5C 00331BBC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80334C60 00331BC0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80334C64 00331BC4 7C BF 2B 78 */ mr r31, r5 +/* 80334C68 00331BC8 80 6D A8 F4 */ lwz r3, lbl_805A94B4@sda21(r13) +/* 80334C6C 00331BCC 80 63 00 04 */ lwz r3, 4(r3) +/* 80334C70 00331BD0 81 83 00 00 */ lwz r12, 0(r3) +/* 80334C74 00331BD4 81 8C 00 38 */ lwz r12, 0x38(r12) +/* 80334C78 00331BD8 7D 89 03 A6 */ mtctr r12 +/* 80334C7C 00331BDC 4E 80 04 21 */ bctrl +/* 80334C80 00331BE0 C0 43 00 28 */ lfs f2, 0x28(r3) +/* 80334C84 00331BE4 C0 23 00 18 */ lfs f1, 0x18(r3) +/* 80334C88 00331BE8 C0 03 00 08 */ lfs f0, 8(r3) +/* 80334C8C 00331BEC 38 60 00 00 */ li r3, 0 +/* 80334C90 00331BF0 D0 1F 00 00 */ stfs f0, 0(r31) +/* 80334C94 00331BF4 D0 3F 00 04 */ stfs f1, 4(r31) +/* 80334C98 00331BF8 D0 5F 00 08 */ stfs f2, 8(r31) +/* 80334C9C 00331BFC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80334CA0 00331C00 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80334CA4 00331C04 7C 08 03 A6 */ mtlr r0 +/* 80334CA8 00331C08 38 21 00 10 */ addi r1, r1, 0x10 +/* 80334CAC 00331C0C 4E 80 00 20 */ blr + +.global GetValue__33CVEParticleSystemOrientationFrontCFiR9CVector3f +GetValue__33CVEParticleSystemOrientationFrontCFiR9CVector3f: +/* 80334CB0 00331C10 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80334CB4 00331C14 7C 08 02 A6 */ mflr r0 +/* 80334CB8 00331C18 90 01 00 14 */ stw r0, 0x14(r1) +/* 80334CBC 00331C1C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80334CC0 00331C20 7C BF 2B 78 */ mr r31, r5 +/* 80334CC4 00331C24 80 6D A8 F4 */ lwz r3, lbl_805A94B4@sda21(r13) +/* 80334CC8 00331C28 80 63 00 04 */ lwz r3, 4(r3) +/* 80334CCC 00331C2C 81 83 00 00 */ lwz r12, 0(r3) +/* 80334CD0 00331C30 81 8C 00 38 */ lwz r12, 0x38(r12) +/* 80334CD4 00331C34 7D 89 03 A6 */ mtctr r12 +/* 80334CD8 00331C38 4E 80 04 21 */ bctrl +/* 80334CDC 00331C3C C0 43 00 24 */ lfs f2, 0x24(r3) +/* 80334CE0 00331C40 C0 23 00 14 */ lfs f1, 0x14(r3) +/* 80334CE4 00331C44 C0 03 00 04 */ lfs f0, 4(r3) +/* 80334CE8 00331C48 38 60 00 00 */ li r3, 0 +/* 80334CEC 00331C4C D0 1F 00 00 */ stfs f0, 0(r31) +/* 80334CF0 00331C50 D0 3F 00 04 */ stfs f1, 4(r31) +/* 80334CF4 00331C54 D0 5F 00 08 */ stfs f2, 8(r31) +/* 80334CF8 00331C58 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80334CFC 00331C5C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80334D00 00331C60 7C 08 03 A6 */ mtlr r0 +/* 80334D04 00331C64 38 21 00 10 */ addi r1, r1, 0x10 +/* 80334D08 00331C68 4E 80 00 20 */ blr + +.global GetValue__19CVEParticleVelocityCFiR9CVector3f +GetValue__19CVEParticleVelocityCFiR9CVector3f: +/* 80334D0C 00331C6C 80 8D A8 EC */ lwz r4, lbl_805A94AC@sda21(r13) +/* 80334D10 00331C70 38 60 00 00 */ li r3, 0 +/* 80334D14 00331C74 C0 04 00 1C */ lfs f0, 0x1c(r4) +/* 80334D18 00331C78 D0 05 00 00 */ stfs f0, 0(r5) +/* 80334D1C 00331C7C C0 04 00 20 */ lfs f0, 0x20(r4) +/* 80334D20 00331C80 D0 05 00 04 */ stfs f0, 4(r5) +/* 80334D24 00331C84 C0 04 00 24 */ lfs f0, 0x24(r4) +/* 80334D28 00331C88 D0 05 00 08 */ stfs f0, 8(r5) +/* 80334D2C 00331C8C 4E 80 00 20 */ blr + +.global GetValue__16CVEParticleColorCFiR9CVector3f +GetValue__16CVEParticleColorCFiR9CVector3f: +/* 80334D30 00331C90 80 8D A8 EC */ lwz r4, lbl_805A94AC@sda21(r13) +/* 80334D34 00331C94 38 60 00 00 */ li r3, 0 +/* 80334D38 00331C98 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 80334D3C 00331C9C D0 05 00 00 */ stfs f0, 0(r5) +/* 80334D40 00331CA0 C0 04 00 14 */ lfs f0, 0x14(r4) +/* 80334D44 00331CA4 D0 05 00 04 */ stfs f0, 4(r5) +/* 80334D48 00331CA8 C0 04 00 18 */ lfs f0, 0x18(r4) +/* 80334D4C 00331CAC D0 05 00 08 */ stfs f0, 8(r5) +/* 80334D50 00331CB0 4E 80 00 20 */ blr + +.global GetValue__19CVEParticleLocationCFiR9CVector3f +GetValue__19CVEParticleLocationCFiR9CVector3f: +/* 80334D54 00331CB4 80 8D A8 EC */ lwz r4, lbl_805A94AC@sda21(r13) +/* 80334D58 00331CB8 38 60 00 00 */ li r3, 0 +/* 80334D5C 00331CBC C0 04 00 04 */ lfs f0, 4(r4) +/* 80334D60 00331CC0 D0 05 00 00 */ stfs f0, 0(r5) +/* 80334D64 00331CC4 C0 04 00 08 */ lfs f0, 8(r4) +/* 80334D68 00331CC8 D0 05 00 04 */ stfs f0, 4(r5) +/* 80334D6C 00331CCC C0 04 00 0C */ lfs f0, 0xc(r4) +/* 80334D70 00331CD0 D0 05 00 08 */ stfs f0, 8(r5) +/* 80334D74 00331CD4 4E 80 00 20 */ blr + +.global GetValue__15CVERealToVectorCFiR9CVector3f +GetValue__15CVERealToVectorCFiR9CVector3f: +/* 80334D78 00331CD8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80334D7C 00331CDC 7C 08 02 A6 */ mflr r0 +/* 80334D80 00331CE0 C0 02 CB 54 */ lfs f0, lbl_805AE874@sda21(r2) +/* 80334D84 00331CE4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80334D88 00331CE8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80334D8C 00331CEC 7C BF 2B 78 */ mr r31, r5 +/* 80334D90 00331CF0 38 A1 00 08 */ addi r5, r1, 8 +/* 80334D94 00331CF4 80 63 00 04 */ lwz r3, 4(r3) +/* 80334D98 00331CF8 D0 01 00 08 */ stfs f0, 8(r1) +/* 80334D9C 00331CFC 81 83 00 00 */ lwz r12, 0(r3) +/* 80334DA0 00331D00 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80334DA4 00331D04 7D 89 03 A6 */ mtctr r12 +/* 80334DA8 00331D08 4E 80 04 21 */ bctrl +/* 80334DAC 00331D0C C0 01 00 08 */ lfs f0, 8(r1) +/* 80334DB0 00331D10 38 60 00 00 */ li r3, 0 +/* 80334DB4 00331D14 D0 1F 00 00 */ stfs f0, 0(r31) +/* 80334DB8 00331D18 D0 1F 00 04 */ stfs f0, 4(r31) +/* 80334DBC 00331D1C D0 1F 00 08 */ stfs f0, 8(r31) +/* 80334DC0 00331D20 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80334DC4 00331D24 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80334DC8 00331D28 7C 08 03 A6 */ mtlr r0 +/* 80334DCC 00331D2C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80334DD0 00331D30 4E 80 00 20 */ blr + +.global __dt__15CVERealToVector +__dt__15CVERealToVector: +/* 80334DD4 00331D34 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80334DD8 00331D38 7C 08 02 A6 */ mflr r0 +/* 80334DDC 00331D3C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80334DE0 00331D40 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80334DE4 00331D44 7C 9F 23 78 */ mr r31, r4 +/* 80334DE8 00331D48 93 C1 00 08 */ stw r30, 8(r1) +/* 80334DEC 00331D4C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80334DF0 00331D50 41 82 00 68 */ beq lbl_80334E58 +/* 80334DF4 00331D54 3C 60 80 3F */ lis r3, lbl_803EE204@ha +/* 80334DF8 00331D58 38 03 E2 04 */ addi r0, r3, lbl_803EE204@l +/* 80334DFC 00331D5C 90 1E 00 00 */ stw r0, 0(r30) +/* 80334E00 00331D60 80 7E 00 04 */ lwz r3, 4(r30) +/* 80334E04 00331D64 28 03 00 00 */ cmplwi r3, 0 +/* 80334E08 00331D68 41 82 00 18 */ beq lbl_80334E20 +/* 80334E0C 00331D6C 81 83 00 00 */ lwz r12, 0(r3) +/* 80334E10 00331D70 38 80 00 01 */ li r4, 1 +/* 80334E14 00331D74 81 8C 00 08 */ lwz r12, 8(r12) +/* 80334E18 00331D78 7D 89 03 A6 */ mtctr r12 +/* 80334E1C 00331D7C 4E 80 04 21 */ bctrl +lbl_80334E20: +/* 80334E20 00331D80 28 1E 00 00 */ cmplwi r30, 0 +/* 80334E24 00331D84 41 82 00 20 */ beq lbl_80334E44 +/* 80334E28 00331D88 3C 60 80 3F */ lis r3, lbl_803EC594@ha +/* 80334E2C 00331D8C 38 03 C5 94 */ addi r0, r3, lbl_803EC594@l +/* 80334E30 00331D90 90 1E 00 00 */ stw r0, 0(r30) +/* 80334E34 00331D94 41 82 00 10 */ beq lbl_80334E44 +/* 80334E38 00331D98 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80334E3C 00331D9C 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80334E40 00331DA0 90 1E 00 00 */ stw r0, 0(r30) +lbl_80334E44: +/* 80334E44 00331DA4 7F E0 07 35 */ extsh. r0, r31 +/* 80334E48 00331DA8 40 81 00 10 */ ble lbl_80334E58 +/* 80334E4C 00331DAC 7F C3 F3 78 */ mr r3, r30 +/* 80334E50 00331DB0 38 80 00 08 */ li r4, 8 +/* 80334E54 00331DB4 48 03 7C 11 */ bl sub_8036ca64 +lbl_80334E58: +/* 80334E58 00331DB8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80334E5C 00331DBC 7F C3 F3 78 */ mr r3, r30 +/* 80334E60 00331DC0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80334E64 00331DC4 83 C1 00 08 */ lwz r30, 8(r1) +/* 80334E68 00331DC8 7C 08 03 A6 */ mtlr r0 +/* 80334E6C 00331DCC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80334E70 00331DD0 4E 80 00 20 */ blr + +.global __ct__15CVERealToVectorFP12CRealElement +__ct__15CVERealToVectorFP12CRealElement: +/* 80334E74 00331DD4 3C E0 80 3F */ lis r7, lbl_803EC5A8@ha +/* 80334E78 00331DD8 3C C0 80 3F */ lis r6, lbl_803EC594@ha +/* 80334E7C 00331DDC 38 07 C5 A8 */ addi r0, r7, lbl_803EC5A8@l +/* 80334E80 00331DE0 3C A0 80 3F */ lis r5, lbl_803EE204@ha +/* 80334E84 00331DE4 90 03 00 00 */ stw r0, 0(r3) +/* 80334E88 00331DE8 38 C6 C5 94 */ addi r6, r6, lbl_803EC594@l +/* 80334E8C 00331DEC 38 05 E2 04 */ addi r0, r5, lbl_803EE204@l +/* 80334E90 00331DF0 90 C3 00 00 */ stw r6, 0(r3) +/* 80334E94 00331DF4 90 03 00 00 */ stw r0, 0(r3) +/* 80334E98 00331DF8 90 83 00 04 */ stw r4, 4(r3) +/* 80334E9C 00331DFC 4E 80 00 20 */ blr + +.global GetValue__18CVEKeyframeEmitterCFiR9CVector3f +GetValue__18CVEKeyframeEmitterCFiR9CVector3f: +/* 80334EA0 00331E00 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80334EA4 00331E04 80 03 00 04 */ lwz r0, 4(r3) +/* 80334EA8 00331E08 2C 00 00 00 */ cmpwi r0, 0 +/* 80334EAC 00331E0C 40 82 00 C8 */ bne lbl_80334F74 +/* 80334EB0 00331E10 88 03 00 0C */ lbz r0, 0xc(r3) +/* 80334EB4 00331E14 81 0D A8 D8 */ lwz r8, lbl_805A9498@sda21(r13) +/* 80334EB8 00331E18 28 00 00 00 */ cmplwi r0, 0 +/* 80334EBC 00331E1C 91 01 00 0C */ stw r8, 0xc(r1) +/* 80334EC0 00331E20 41 82 00 64 */ beq lbl_80334F24 +/* 80334EC4 00331E24 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80334EC8 00331E28 7C 08 00 00 */ cmpw r8, r0 +/* 80334ECC 00331E2C 41 80 00 2C */ blt lbl_80334EF8 +/* 80334ED0 00331E30 80 E3 00 14 */ lwz r7, 0x14(r3) +/* 80334ED4 00331E34 7C C7 40 50 */ subf r6, r7, r8 +/* 80334ED8 00331E38 7C 87 00 50 */ subf r4, r7, r0 +/* 80334EDC 00331E3C 7C 06 23 D6 */ divw r0, r6, r4 +/* 80334EE0 00331E40 90 C1 00 0C */ stw r6, 0xc(r1) +/* 80334EE4 00331E44 7C 00 21 D6 */ mullw r0, r0, r4 +/* 80334EE8 00331E48 7C 00 30 50 */ subf r0, r0, r6 +/* 80334EEC 00331E4C 90 01 00 0C */ stw r0, 0xc(r1) +/* 80334EF0 00331E50 7C 00 3A 14 */ add r0, r0, r7 +/* 80334EF4 00331E54 90 01 00 0C */ stw r0, 0xc(r1) +lbl_80334EF8: +/* 80334EF8 00331E58 80 01 00 0C */ lwz r0, 0xc(r1) +/* 80334EFC 00331E5C 80 63 00 24 */ lwz r3, 0x24(r3) +/* 80334F00 00331E60 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80334F04 00331E64 7C 63 02 14 */ add r3, r3, r0 +/* 80334F08 00331E68 C0 03 00 00 */ lfs f0, 0(r3) +/* 80334F0C 00331E6C D0 05 00 00 */ stfs f0, 0(r5) +/* 80334F10 00331E70 C0 03 00 04 */ lfs f0, 4(r3) +/* 80334F14 00331E74 D0 05 00 04 */ stfs f0, 4(r5) +/* 80334F18 00331E78 C0 03 00 08 */ lfs f0, 8(r3) +/* 80334F1C 00331E7C D0 05 00 08 */ stfs f0, 8(r5) +/* 80334F20 00331E80 48 00 00 4C */ b lbl_80334F6C +lbl_80334F24: +/* 80334F24 00331E84 80 C3 00 10 */ lwz r6, 0x10(r3) +/* 80334F28 00331E88 38 81 00 0C */ addi r4, r1, 0xc +/* 80334F2C 00331E8C 38 06 FF FF */ addi r0, r6, -1 +/* 80334F30 00331E90 7C 00 40 00 */ cmpw r0, r8 +/* 80334F34 00331E94 90 01 00 08 */ stw r0, 8(r1) +/* 80334F38 00331E98 40 80 00 08 */ bge lbl_80334F40 +/* 80334F3C 00331E9C 38 81 00 08 */ addi r4, r1, 8 +lbl_80334F40: +/* 80334F40 00331EA0 80 84 00 00 */ lwz r4, 0(r4) +/* 80334F44 00331EA4 80 63 00 24 */ lwz r3, 0x24(r3) +/* 80334F48 00331EA8 1C 04 00 0C */ mulli r0, r4, 0xc +/* 80334F4C 00331EAC 90 81 00 0C */ stw r4, 0xc(r1) +/* 80334F50 00331EB0 7C 63 02 14 */ add r3, r3, r0 +/* 80334F54 00331EB4 C0 03 00 00 */ lfs f0, 0(r3) +/* 80334F58 00331EB8 D0 05 00 00 */ stfs f0, 0(r5) +/* 80334F5C 00331EBC C0 03 00 04 */ lfs f0, 4(r3) +/* 80334F60 00331EC0 D0 05 00 04 */ stfs f0, 4(r5) +/* 80334F64 00331EC4 C0 03 00 08 */ lfs f0, 8(r3) +/* 80334F68 00331EC8 D0 05 00 08 */ stfs f0, 8(r5) +lbl_80334F6C: +/* 80334F6C 00331ECC 38 60 00 00 */ li r3, 0 +/* 80334F70 00331ED0 48 00 00 A8 */ b lbl_80335018 +lbl_80334F74: +/* 80334F74 00331ED4 80 8D A8 E0 */ lwz r4, lbl_805A94A0@sda21(r13) +/* 80334F78 00331ED8 2C 04 00 64 */ cmpwi r4, 0x64 +/* 80334F7C 00331EDC 40 82 00 2C */ bne lbl_80334FA8 +/* 80334F80 00331EE0 1C 04 00 0C */ mulli r0, r4, 0xc +/* 80334F84 00331EE4 80 63 00 24 */ lwz r3, 0x24(r3) +/* 80334F88 00331EE8 7C 63 02 14 */ add r3, r3, r0 +/* 80334F8C 00331EEC C0 03 00 00 */ lfs f0, 0(r3) +/* 80334F90 00331EF0 D0 05 00 00 */ stfs f0, 0(r5) +/* 80334F94 00331EF4 C0 03 00 04 */ lfs f0, 4(r3) +/* 80334F98 00331EF8 D0 05 00 04 */ stfs f0, 4(r5) +/* 80334F9C 00331EFC C0 03 00 08 */ lfs f0, 8(r3) +/* 80334FA0 00331F00 D0 05 00 08 */ stfs f0, 8(r5) +/* 80334FA4 00331F04 48 00 00 70 */ b lbl_80335014 +lbl_80334FA8: +/* 80334FA8 00331F08 38 04 00 01 */ addi r0, r4, 1 +/* 80334FAC 00331F0C 80 C3 00 24 */ lwz r6, 0x24(r3) +/* 80334FB0 00331F10 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80334FB4 00331F14 C0 ED A8 E8 */ lfs f7, lbl_805A94A8@sda21(r13) +/* 80334FB8 00331F18 C0 02 CB 58 */ lfs f0, lbl_805AE878@sda21(r2) +/* 80334FBC 00331F1C 7C 66 02 14 */ add r3, r6, r0 +/* 80334FC0 00331F20 ED 00 38 28 */ fsubs f8, f0, f7 +/* 80334FC4 00331F24 1C 04 00 0C */ mulli r0, r4, 0xc +/* 80334FC8 00331F28 C0 23 00 00 */ lfs f1, 0(r3) +/* 80334FCC 00331F2C C0 03 00 04 */ lfs f0, 4(r3) +/* 80334FD0 00331F30 EC A7 00 72 */ fmuls f5, f7, f1 +/* 80334FD4 00331F34 C0 23 00 08 */ lfs f1, 8(r3) +/* 80334FD8 00331F38 7C 66 02 14 */ add r3, r6, r0 +/* 80334FDC 00331F3C C0 83 00 00 */ lfs f4, 0(r3) +/* 80334FE0 00331F40 EC 67 00 32 */ fmuls f3, f7, f0 +/* 80334FE4 00331F44 C0 43 00 04 */ lfs f2, 4(r3) +/* 80334FE8 00331F48 EC C8 01 32 */ fmuls f6, f8, f4 +/* 80334FEC 00331F4C C0 03 00 08 */ lfs f0, 8(r3) +/* 80334FF0 00331F50 EC 88 00 B2 */ fmuls f4, f8, f2 +/* 80334FF4 00331F54 EC 48 00 32 */ fmuls f2, f8, f0 +/* 80334FF8 00331F58 EC 06 28 2A */ fadds f0, f6, f5 +/* 80334FFC 00331F5C EC 27 00 72 */ fmuls f1, f7, f1 +/* 80335000 00331F60 EC 64 18 2A */ fadds f3, f4, f3 +/* 80335004 00331F64 D0 05 00 00 */ stfs f0, 0(r5) +/* 80335008 00331F68 EC 02 08 2A */ fadds f0, f2, f1 +/* 8033500C 00331F6C D0 65 00 04 */ stfs f3, 4(r5) +/* 80335010 00331F70 D0 05 00 08 */ stfs f0, 8(r5) +lbl_80335014: +/* 80335014 00331F74 38 60 00 00 */ li r3, 0 +lbl_80335018: +/* 80335018 00331F78 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033501C 00331F7C 4E 80 00 20 */ blr + +.global __dt__18CVEKeyframeEmitter +__dt__18CVEKeyframeEmitter: +/* 80335020 00331F80 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80335024 00331F84 7C 08 02 A6 */ mflr r0 +/* 80335028 00331F88 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033502C 00331F8C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80335030 00331F90 7C 9F 23 78 */ mr r31, r4 +/* 80335034 00331F94 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80335038 00331F98 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8033503C 00331F9C 41 82 00 90 */ beq lbl_803350CC +/* 80335040 00331FA0 3C 60 80 3F */ lis r3, lbl_803EE218@ha +/* 80335044 00331FA4 34 1E 00 18 */ addic. r0, r30, 0x18 +/* 80335048 00331FA8 38 03 E2 18 */ addi r0, r3, lbl_803EE218@l +/* 8033504C 00331FAC 90 1E 00 00 */ stw r0, 0(r30) +/* 80335050 00331FB0 41 82 00 44 */ beq lbl_80335094 +/* 80335054 00331FB4 80 1E 00 1C */ lwz r0, 0x1c(r30) +/* 80335058 00331FB8 80 7E 00 24 */ lwz r3, 0x24(r30) +/* 8033505C 00331FBC 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80335060 00331FC0 90 61 00 0C */ stw r3, 0xc(r1) +/* 80335064 00331FC4 7C 64 1B 78 */ mr r4, r3 +/* 80335068 00331FC8 7C 03 02 14 */ add r0, r3, r0 +/* 8033506C 00331FCC 90 61 00 08 */ stw r3, 8(r1) +/* 80335070 00331FD0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80335074 00331FD4 90 01 00 10 */ stw r0, 0x10(r1) +/* 80335078 00331FD8 48 00 00 08 */ b lbl_80335080 +lbl_8033507C: +/* 8033507C 00331FDC 38 84 00 0C */ addi r4, r4, 0xc +lbl_80335080: +/* 80335080 00331FE0 7C 04 00 40 */ cmplw r4, r0 +/* 80335084 00331FE4 40 82 FF F8 */ bne lbl_8033507C +/* 80335088 00331FE8 28 03 00 00 */ cmplwi r3, 0 +/* 8033508C 00331FEC 41 82 00 08 */ beq lbl_80335094 +/* 80335090 00331FF0 4B FE 08 A1 */ bl Free__7CMemoryFPCv +lbl_80335094: +/* 80335094 00331FF4 28 1E 00 00 */ cmplwi r30, 0 +/* 80335098 00331FF8 41 82 00 20 */ beq lbl_803350B8 +/* 8033509C 00331FFC 3C 60 80 3F */ lis r3, lbl_803EC594@ha +/* 803350A0 00332000 38 03 C5 94 */ addi r0, r3, lbl_803EC594@l +/* 803350A4 00332004 90 1E 00 00 */ stw r0, 0(r30) +/* 803350A8 00332008 41 82 00 10 */ beq lbl_803350B8 +/* 803350AC 0033200C 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 803350B0 00332010 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 803350B4 00332014 90 1E 00 00 */ stw r0, 0(r30) +lbl_803350B8: +/* 803350B8 00332018 7F E0 07 35 */ extsh. r0, r31 +/* 803350BC 0033201C 40 81 00 10 */ ble lbl_803350CC +/* 803350C0 00332020 7F C3 F3 78 */ mr r3, r30 +/* 803350C4 00332024 38 80 00 28 */ li r4, 0x28 +/* 803350C8 00332028 48 03 79 9D */ bl sub_8036ca64 +lbl_803350CC: +/* 803350CC 0033202C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803350D0 00332030 7F C3 F3 78 */ mr r3, r30 +/* 803350D4 00332034 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803350D8 00332038 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 803350DC 0033203C 7C 08 03 A6 */ mtlr r0 +/* 803350E0 00332040 38 21 00 20 */ addi r1, r1, 0x20 +/* 803350E4 00332044 4E 80 00 20 */ blr + +.global __ct__18CVEKeyframeEmitterFR12CInputStream +__ct__18CVEKeyframeEmitterFR12CInputStream: +/* 803350E8 00332048 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 803350EC 0033204C 7C 08 02 A6 */ mflr r0 +/* 803350F0 00332050 3C A0 80 3F */ lis r5, lbl_803EC594@ha +/* 803350F4 00332054 90 01 00 34 */ stw r0, 0x34(r1) +/* 803350F8 00332058 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 803350FC 0033205C 7C 9F 23 78 */ mr r31, r4 +/* 80335100 00332060 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80335104 00332064 7C 7E 1B 78 */ mr r30, r3 +/* 80335108 00332068 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 8033510C 0033206C 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80335110 00332070 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80335114 00332074 3C 60 80 3F */ lis r3, lbl_803EE218@ha +/* 80335118 00332078 7F C6 F3 78 */ mr r6, r30 +/* 8033511C 0033207C 93 81 00 20 */ stw r28, 0x20(r1) +/* 80335120 00332080 90 1E 00 00 */ stw r0, 0(r30) +/* 80335124 00332084 38 05 C5 94 */ addi r0, r5, lbl_803EC594@l +/* 80335128 00332088 90 1E 00 00 */ stw r0, 0(r30) +/* 8033512C 0033208C 38 03 E2 18 */ addi r0, r3, lbl_803EE218@l +/* 80335130 00332090 7F E3 FB 78 */ mr r3, r31 +/* 80335134 00332094 90 1E 00 00 */ stw r0, 0(r30) +/* 80335138 00332098 48 00 9B 4D */ bl ReadLong__12CInputStreamFv +/* 8033513C 0033209C 90 7E 00 04 */ stw r3, 4(r30) +/* 80335140 003320A0 7F E3 FB 78 */ mr r3, r31 +/* 80335144 003320A4 48 00 9B 41 */ bl ReadLong__12CInputStreamFv +/* 80335148 003320A8 90 7E 00 08 */ stw r3, 8(r30) +/* 8033514C 003320AC 7F E3 FB 78 */ mr r3, r31 +/* 80335150 003320B0 48 00 9B 8D */ bl ReadBool__12CInputStreamFv +/* 80335154 003320B4 98 7E 00 0C */ stb r3, 0xc(r30) +/* 80335158 003320B8 7F E3 FB 78 */ mr r3, r31 +/* 8033515C 003320BC 48 00 9B 81 */ bl ReadBool__12CInputStreamFv +/* 80335160 003320C0 98 7E 00 0D */ stb r3, 0xd(r30) +/* 80335164 003320C4 7F E3 FB 78 */ mr r3, r31 +/* 80335168 003320C8 48 00 9B 1D */ bl ReadLong__12CInputStreamFv +/* 8033516C 003320CC 90 7E 00 10 */ stw r3, 0x10(r30) +/* 80335170 003320D0 7F E3 FB 78 */ mr r3, r31 +/* 80335174 003320D4 48 00 9B 11 */ bl ReadLong__12CInputStreamFv +/* 80335178 003320D8 90 7E 00 14 */ stw r3, 0x14(r30) +/* 8033517C 003320DC 38 00 00 00 */ li r0, 0 +/* 80335180 003320E0 7F E3 FB 78 */ mr r3, r31 +/* 80335184 003320E4 90 1E 00 1C */ stw r0, 0x1c(r30) +/* 80335188 003320E8 90 1E 00 20 */ stw r0, 0x20(r30) +/* 8033518C 003320EC 90 1E 00 24 */ stw r0, 0x24(r30) +/* 80335190 003320F0 48 00 9A F5 */ bl ReadLong__12CInputStreamFv +/* 80335194 003320F4 7C 7C 1B 78 */ mr r28, r3 +/* 80335198 003320F8 38 7E 00 18 */ addi r3, r30, 0x18 +/* 8033519C 003320FC 7F 84 E3 78 */ mr r4, r28 +/* 803351A0 00332100 4B D2 8B 59 */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" +/* 803351A4 00332104 3B A0 00 00 */ li r29, 0 +/* 803351A8 00332108 48 00 00 74 */ b lbl_8033521C +lbl_803351AC: +/* 803351AC 0033210C 7F E4 FB 78 */ mr r4, r31 +/* 803351B0 00332110 38 61 00 08 */ addi r3, r1, 8 +/* 803351B4 00332114 4B FD F9 D9 */ bl __ct__9CVector3fFR12CInputStream +/* 803351B8 00332118 80 1E 00 1C */ lwz r0, 0x1c(r30) +/* 803351BC 0033211C 80 BE 00 20 */ lwz r5, 0x20(r30) +/* 803351C0 00332120 7C 00 28 00 */ cmpw r0, r5 +/* 803351C4 00332124 41 80 00 1C */ blt lbl_803351E0 +/* 803351C8 00332128 2C 05 00 00 */ cmpwi r5, 0 +/* 803351CC 0033212C 38 7E 00 18 */ addi r3, r30, 0x18 +/* 803351D0 00332130 38 80 00 04 */ li r4, 4 +/* 803351D4 00332134 41 82 00 08 */ beq lbl_803351DC +/* 803351D8 00332138 54 A4 08 3C */ slwi r4, r5, 1 +lbl_803351DC: +/* 803351DC 0033213C 4B D2 8B 1D */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" +lbl_803351E0: +/* 803351E0 00332140 80 1E 00 1C */ lwz r0, 0x1c(r30) +/* 803351E4 00332144 80 7E 00 24 */ lwz r3, 0x24(r30) +/* 803351E8 00332148 1C 00 00 0C */ mulli r0, r0, 0xc +/* 803351EC 0033214C 7C 63 02 15 */ add. r3, r3, r0 +/* 803351F0 00332150 41 82 00 1C */ beq lbl_8033520C +/* 803351F4 00332154 C0 01 00 08 */ lfs f0, 8(r1) +/* 803351F8 00332158 D0 03 00 00 */ stfs f0, 0(r3) +/* 803351FC 0033215C C0 01 00 0C */ lfs f0, 0xc(r1) +/* 80335200 00332160 D0 03 00 04 */ stfs f0, 4(r3) +/* 80335204 00332164 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 80335208 00332168 D0 03 00 08 */ stfs f0, 8(r3) +lbl_8033520C: +/* 8033520C 0033216C 80 7E 00 1C */ lwz r3, 0x1c(r30) +/* 80335210 00332170 3B BD 00 01 */ addi r29, r29, 1 +/* 80335214 00332174 38 03 00 01 */ addi r0, r3, 1 +/* 80335218 00332178 90 1E 00 1C */ stw r0, 0x1c(r30) +lbl_8033521C: +/* 8033521C 0033217C 7C 1D E0 00 */ cmpw r29, r28 +/* 80335220 00332180 41 80 FF 8C */ blt lbl_803351AC +/* 80335224 00332184 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80335228 00332188 7F C3 F3 78 */ mr r3, r30 +/* 8033522C 0033218C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80335230 00332190 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80335234 00332194 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80335238 00332198 83 81 00 20 */ lwz r28, 0x20(r1) +/* 8033523C 0033219C 7C 08 03 A6 */ mtlr r0 +/* 80335240 003321A0 38 21 00 30 */ addi r1, r1, 0x30 +/* 80335244 003321A4 4E 80 00 20 */ blr + +.global GetValue__8CVEPulseCFiR9CVector3f +GetValue__8CVEPulseCFiR9CVector3f: +/* 80335248 003321A8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033524C 003321AC 7C 08 02 A6 */ mflr r0 +/* 80335250 003321B0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80335254 003321B4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80335258 003321B8 7C BF 2B 78 */ mr r31, r5 +/* 8033525C 003321BC 38 A1 00 0C */ addi r5, r1, 0xc +/* 80335260 003321C0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80335264 003321C4 7C 9E 23 78 */ mr r30, r4 +/* 80335268 003321C8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8033526C 003321CC 7C 7D 1B 78 */ mr r29, r3 +/* 80335270 003321D0 80 63 00 04 */ lwz r3, 4(r3) +/* 80335274 003321D4 81 83 00 00 */ lwz r12, 0(r3) +/* 80335278 003321D8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8033527C 003321DC 7D 89 03 A6 */ mtctr r12 +/* 80335280 003321E0 4E 80 04 21 */ bctrl +/* 80335284 003321E4 80 7D 00 08 */ lwz r3, 8(r29) +/* 80335288 003321E8 7F C4 F3 78 */ mr r4, r30 +/* 8033528C 003321EC 38 A1 00 08 */ addi r5, r1, 8 +/* 80335290 003321F0 81 83 00 00 */ lwz r12, 0(r3) +/* 80335294 003321F4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80335298 003321F8 7D 89 03 A6 */ mtctr r12 +/* 8033529C 003321FC 4E 80 04 21 */ bctrl +/* 803352A0 00332200 80 61 00 08 */ lwz r3, 8(r1) +/* 803352A4 00332204 80 81 00 0C */ lwz r4, 0xc(r1) +/* 803352A8 00332208 38 A3 00 01 */ addi r5, r3, 1 +/* 803352AC 0033220C 7C A4 2A 15 */ add. r5, r4, r5 +/* 803352B0 00332210 40 80 00 08 */ bge lbl_803352B8 +/* 803352B4 00332214 38 A0 00 01 */ li r5, 1 +lbl_803352B8: +/* 803352B8 00332218 2C 03 00 01 */ cmpwi r3, 1 +/* 803352BC 0033221C 41 80 00 58 */ blt lbl_80335314 +/* 803352C0 00332220 7C 1E 2B D6 */ divw r0, r30, r5 +/* 803352C4 00332224 7C 00 29 D6 */ mullw r0, r0, r5 +/* 803352C8 00332228 7C 00 F0 50 */ subf r0, r0, r30 +/* 803352CC 0033222C 7C 00 20 00 */ cmpw r0, r4 +/* 803352D0 00332230 40 81 00 24 */ ble lbl_803352F4 +/* 803352D4 00332234 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 803352D8 00332238 7F C4 F3 78 */ mr r4, r30 +/* 803352DC 0033223C 7F E5 FB 78 */ mr r5, r31 +/* 803352E0 00332240 81 83 00 00 */ lwz r12, 0(r3) +/* 803352E4 00332244 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803352E8 00332248 7D 89 03 A6 */ mtctr r12 +/* 803352EC 0033224C 4E 80 04 21 */ bctrl +/* 803352F0 00332250 48 00 00 40 */ b lbl_80335330 +lbl_803352F4: +/* 803352F4 00332254 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 803352F8 00332258 7F C4 F3 78 */ mr r4, r30 +/* 803352FC 0033225C 7F E5 FB 78 */ mr r5, r31 +/* 80335300 00332260 81 83 00 00 */ lwz r12, 0(r3) +/* 80335304 00332264 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80335308 00332268 7D 89 03 A6 */ mtctr r12 +/* 8033530C 0033226C 4E 80 04 21 */ bctrl +/* 80335310 00332270 48 00 00 20 */ b lbl_80335330 +lbl_80335314: +/* 80335314 00332274 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 80335318 00332278 7F C4 F3 78 */ mr r4, r30 +/* 8033531C 0033227C 7F E5 FB 78 */ mr r5, r31 +/* 80335320 00332280 81 83 00 00 */ lwz r12, 0(r3) +/* 80335324 00332284 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80335328 00332288 7D 89 03 A6 */ mtctr r12 +/* 8033532C 0033228C 4E 80 04 21 */ bctrl +lbl_80335330: +/* 80335330 00332290 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80335334 00332294 38 60 00 00 */ li r3, 0 +/* 80335338 00332298 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8033533C 0033229C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80335340 003322A0 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80335344 003322A4 7C 08 03 A6 */ mtlr r0 +/* 80335348 003322A8 38 21 00 20 */ addi r1, r1, 0x20 +/* 8033534C 003322AC 4E 80 00 20 */ blr + +.global __dt__8CVEPulse +__dt__8CVEPulse: +/* 80335350 003322B0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80335354 003322B4 7C 08 02 A6 */ mflr r0 +/* 80335358 003322B8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033535C 003322BC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80335360 003322C0 7C 9F 23 78 */ mr r31, r4 +/* 80335364 003322C4 93 C1 00 08 */ stw r30, 8(r1) +/* 80335368 003322C8 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8033536C 003322CC 41 82 00 C8 */ beq lbl_80335434 +/* 80335370 003322D0 3C 60 80 3F */ lis r3, lbl_803EE22C@ha +/* 80335374 003322D4 38 03 E2 2C */ addi r0, r3, lbl_803EE22C@l +/* 80335378 003322D8 90 1E 00 00 */ stw r0, 0(r30) +/* 8033537C 003322DC 80 7E 00 04 */ lwz r3, 4(r30) +/* 80335380 003322E0 28 03 00 00 */ cmplwi r3, 0 +/* 80335384 003322E4 41 82 00 18 */ beq lbl_8033539C +/* 80335388 003322E8 81 83 00 00 */ lwz r12, 0(r3) +/* 8033538C 003322EC 38 80 00 01 */ li r4, 1 +/* 80335390 003322F0 81 8C 00 08 */ lwz r12, 8(r12) +/* 80335394 003322F4 7D 89 03 A6 */ mtctr r12 +/* 80335398 003322F8 4E 80 04 21 */ bctrl +lbl_8033539C: +/* 8033539C 003322FC 80 7E 00 08 */ lwz r3, 8(r30) +/* 803353A0 00332300 28 03 00 00 */ cmplwi r3, 0 +/* 803353A4 00332304 41 82 00 18 */ beq lbl_803353BC +/* 803353A8 00332308 81 83 00 00 */ lwz r12, 0(r3) +/* 803353AC 0033230C 38 80 00 01 */ li r4, 1 +/* 803353B0 00332310 81 8C 00 08 */ lwz r12, 8(r12) +/* 803353B4 00332314 7D 89 03 A6 */ mtctr r12 +/* 803353B8 00332318 4E 80 04 21 */ bctrl +lbl_803353BC: +/* 803353BC 0033231C 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 803353C0 00332320 28 03 00 00 */ cmplwi r3, 0 +/* 803353C4 00332324 41 82 00 18 */ beq lbl_803353DC +/* 803353C8 00332328 81 83 00 00 */ lwz r12, 0(r3) +/* 803353CC 0033232C 38 80 00 01 */ li r4, 1 +/* 803353D0 00332330 81 8C 00 08 */ lwz r12, 8(r12) +/* 803353D4 00332334 7D 89 03 A6 */ mtctr r12 +/* 803353D8 00332338 4E 80 04 21 */ bctrl +lbl_803353DC: +/* 803353DC 0033233C 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 803353E0 00332340 28 03 00 00 */ cmplwi r3, 0 +/* 803353E4 00332344 41 82 00 18 */ beq lbl_803353FC +/* 803353E8 00332348 81 83 00 00 */ lwz r12, 0(r3) +/* 803353EC 0033234C 38 80 00 01 */ li r4, 1 +/* 803353F0 00332350 81 8C 00 08 */ lwz r12, 8(r12) +/* 803353F4 00332354 7D 89 03 A6 */ mtctr r12 +/* 803353F8 00332358 4E 80 04 21 */ bctrl +lbl_803353FC: +/* 803353FC 0033235C 28 1E 00 00 */ cmplwi r30, 0 +/* 80335400 00332360 41 82 00 20 */ beq lbl_80335420 +/* 80335404 00332364 3C 60 80 3F */ lis r3, lbl_803EC594@ha +/* 80335408 00332368 38 03 C5 94 */ addi r0, r3, lbl_803EC594@l +/* 8033540C 0033236C 90 1E 00 00 */ stw r0, 0(r30) +/* 80335410 00332370 41 82 00 10 */ beq lbl_80335420 +/* 80335414 00332374 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80335418 00332378 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 8033541C 0033237C 90 1E 00 00 */ stw r0, 0(r30) +lbl_80335420: +/* 80335420 00332380 7F E0 07 35 */ extsh. r0, r31 +/* 80335424 00332384 40 81 00 10 */ ble lbl_80335434 +/* 80335428 00332388 7F C3 F3 78 */ mr r3, r30 +/* 8033542C 0033238C 38 80 00 14 */ li r4, 0x14 +/* 80335430 00332390 48 03 76 35 */ bl sub_8036ca64 +lbl_80335434: +/* 80335434 00332394 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80335438 00332398 7F C3 F3 78 */ mr r3, r30 +/* 8033543C 0033239C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80335440 003323A0 83 C1 00 08 */ lwz r30, 8(r1) +/* 80335444 003323A4 7C 08 03 A6 */ mtlr r0 +/* 80335448 003323A8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033544C 003323AC 4E 80 00 20 */ blr + +.global __ct__8CVEPulseFP11CIntElementP11CIntElementP14CVectorElementP14CVectorElement +__ct__8CVEPulseFP11CIntElementP11CIntElementP14CVectorElementP14CVectorElement: +/* 80335450 003323B0 3D 40 80 3F */ lis r10, lbl_803EC5A8@ha +/* 80335454 003323B4 3D 20 80 3F */ lis r9, lbl_803EC594@ha +/* 80335458 003323B8 38 0A C5 A8 */ addi r0, r10, lbl_803EC5A8@l +/* 8033545C 003323BC 3D 00 80 3F */ lis r8, lbl_803EE22C@ha +/* 80335460 003323C0 90 03 00 00 */ stw r0, 0(r3) +/* 80335464 003323C4 39 29 C5 94 */ addi r9, r9, lbl_803EC594@l +/* 80335468 003323C8 38 08 E2 2C */ addi r0, r8, lbl_803EE22C@l +/* 8033546C 003323CC 91 23 00 00 */ stw r9, 0(r3) +/* 80335470 003323D0 90 03 00 00 */ stw r0, 0(r3) +/* 80335474 003323D4 90 83 00 04 */ stw r4, 4(r3) +/* 80335478 003323D8 90 A3 00 08 */ stw r5, 8(r3) +/* 8033547C 003323DC 90 C3 00 0C */ stw r6, 0xc(r3) +/* 80335480 003323E0 90 E3 00 10 */ stw r7, 0x10(r3) +/* 80335484 003323E4 4E 80 00 20 */ blr + +.global GetValue__11CVEMultiplyCFiR9CVector3f +GetValue__11CVEMultiplyCFiR9CVector3f: +/* 80335488 003323E8 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8033548C 003323EC 7C 08 02 A6 */ mflr r0 +/* 80335490 003323F0 3C C0 80 5A */ lis r6, skZero3f@ha +/* 80335494 003323F4 90 01 00 34 */ stw r0, 0x34(r1) +/* 80335498 003323F8 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8033549C 003323FC 7C BF 2B 78 */ mr r31, r5 +/* 803354A0 00332400 38 A1 00 14 */ addi r5, r1, 0x14 +/* 803354A4 00332404 93 C1 00 28 */ stw r30, 0x28(r1) +/* 803354A8 00332408 7C 9E 23 78 */ mr r30, r4 +/* 803354AC 0033240C 93 A1 00 24 */ stw r29, 0x24(r1) +/* 803354B0 00332410 7C 7D 1B 78 */ mr r29, r3 +/* 803354B4 00332414 38 66 66 A0 */ addi r3, r6, skZero3f@l +/* 803354B8 00332418 C0 03 00 00 */ lfs f0, 0(r3) +/* 803354BC 0033241C C0 23 00 04 */ lfs f1, 4(r3) +/* 803354C0 00332420 C0 43 00 08 */ lfs f2, 8(r3) +/* 803354C4 00332424 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 803354C8 00332428 80 7D 00 04 */ lwz r3, 4(r29) +/* 803354CC 0033242C D0 21 00 18 */ stfs f1, 0x18(r1) +/* 803354D0 00332430 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 803354D4 00332434 D0 01 00 08 */ stfs f0, 8(r1) +/* 803354D8 00332438 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 803354DC 0033243C D0 41 00 10 */ stfs f2, 0x10(r1) +/* 803354E0 00332440 81 83 00 00 */ lwz r12, 0(r3) +/* 803354E4 00332444 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803354E8 00332448 7D 89 03 A6 */ mtctr r12 +/* 803354EC 0033244C 4E 80 04 21 */ bctrl +/* 803354F0 00332450 80 7D 00 08 */ lwz r3, 8(r29) +/* 803354F4 00332454 7F C4 F3 78 */ mr r4, r30 +/* 803354F8 00332458 38 A1 00 08 */ addi r5, r1, 8 +/* 803354FC 0033245C 81 83 00 00 */ lwz r12, 0(r3) +/* 80335500 00332460 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80335504 00332464 7D 89 03 A6 */ mtctr r12 +/* 80335508 00332468 4E 80 04 21 */ bctrl +/* 8033550C 0033246C C0 21 00 14 */ lfs f1, 0x14(r1) +/* 80335510 00332470 38 60 00 00 */ li r3, 0 +/* 80335514 00332474 C0 01 00 08 */ lfs f0, 8(r1) +/* 80335518 00332478 C0 61 00 18 */ lfs f3, 0x18(r1) +/* 8033551C 0033247C C0 41 00 0C */ lfs f2, 0xc(r1) +/* 80335520 00332480 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80335524 00332484 C0 81 00 1C */ lfs f4, 0x1c(r1) +/* 80335528 00332488 C0 21 00 10 */ lfs f1, 0x10(r1) +/* 8033552C 0033248C EC 43 00 B2 */ fmuls f2, f3, f2 +/* 80335530 00332490 D0 1F 00 00 */ stfs f0, 0(r31) +/* 80335534 00332494 EC 04 00 72 */ fmuls f0, f4, f1 +/* 80335538 00332498 D0 5F 00 04 */ stfs f2, 4(r31) +/* 8033553C 0033249C D0 1F 00 08 */ stfs f0, 8(r31) +/* 80335540 003324A0 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80335544 003324A4 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80335548 003324A8 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8033554C 003324AC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80335550 003324B0 7C 08 03 A6 */ mtlr r0 +/* 80335554 003324B4 38 21 00 30 */ addi r1, r1, 0x30 +/* 80335558 003324B8 4E 80 00 20 */ blr + +.global __dt__11CVEMultiply +__dt__11CVEMultiply: +/* 8033555C 003324BC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80335560 003324C0 7C 08 02 A6 */ mflr r0 +/* 80335564 003324C4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80335568 003324C8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033556C 003324CC 7C 9F 23 78 */ mr r31, r4 +/* 80335570 003324D0 93 C1 00 08 */ stw r30, 8(r1) +/* 80335574 003324D4 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80335578 003324D8 41 82 00 88 */ beq lbl_80335600 +/* 8033557C 003324DC 3C 60 80 3F */ lis r3, lbl_803EE240@ha +/* 80335580 003324E0 38 03 E2 40 */ addi r0, r3, lbl_803EE240@l +/* 80335584 003324E4 90 1E 00 00 */ stw r0, 0(r30) +/* 80335588 003324E8 80 7E 00 04 */ lwz r3, 4(r30) +/* 8033558C 003324EC 28 03 00 00 */ cmplwi r3, 0 +/* 80335590 003324F0 41 82 00 18 */ beq lbl_803355A8 +/* 80335594 003324F4 81 83 00 00 */ lwz r12, 0(r3) +/* 80335598 003324F8 38 80 00 01 */ li r4, 1 +/* 8033559C 003324FC 81 8C 00 08 */ lwz r12, 8(r12) +/* 803355A0 00332500 7D 89 03 A6 */ mtctr r12 +/* 803355A4 00332504 4E 80 04 21 */ bctrl +lbl_803355A8: +/* 803355A8 00332508 80 7E 00 08 */ lwz r3, 8(r30) +/* 803355AC 0033250C 28 03 00 00 */ cmplwi r3, 0 +/* 803355B0 00332510 41 82 00 18 */ beq lbl_803355C8 +/* 803355B4 00332514 81 83 00 00 */ lwz r12, 0(r3) +/* 803355B8 00332518 38 80 00 01 */ li r4, 1 +/* 803355BC 0033251C 81 8C 00 08 */ lwz r12, 8(r12) +/* 803355C0 00332520 7D 89 03 A6 */ mtctr r12 +/* 803355C4 00332524 4E 80 04 21 */ bctrl +lbl_803355C8: +/* 803355C8 00332528 28 1E 00 00 */ cmplwi r30, 0 +/* 803355CC 0033252C 41 82 00 20 */ beq lbl_803355EC +/* 803355D0 00332530 3C 60 80 3F */ lis r3, lbl_803EC594@ha +/* 803355D4 00332534 38 03 C5 94 */ addi r0, r3, lbl_803EC594@l +/* 803355D8 00332538 90 1E 00 00 */ stw r0, 0(r30) +/* 803355DC 0033253C 41 82 00 10 */ beq lbl_803355EC +/* 803355E0 00332540 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 803355E4 00332544 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 803355E8 00332548 90 1E 00 00 */ stw r0, 0(r30) +lbl_803355EC: +/* 803355EC 0033254C 7F E0 07 35 */ extsh. r0, r31 +/* 803355F0 00332550 40 81 00 10 */ ble lbl_80335600 +/* 803355F4 00332554 7F C3 F3 78 */ mr r3, r30 +/* 803355F8 00332558 38 80 00 0C */ li r4, 0xc +/* 803355FC 0033255C 48 03 74 69 */ bl sub_8036ca64 +lbl_80335600: +/* 80335600 00332560 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80335604 00332564 7F C3 F3 78 */ mr r3, r30 +/* 80335608 00332568 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033560C 0033256C 83 C1 00 08 */ lwz r30, 8(r1) +/* 80335610 00332570 7C 08 03 A6 */ mtlr r0 +/* 80335614 00332574 38 21 00 10 */ addi r1, r1, 0x10 +/* 80335618 00332578 4E 80 00 20 */ blr + +.global __ct__11CVEMultiplyFP14CVectorElementP14CVectorElement +__ct__11CVEMultiplyFP14CVectorElementP14CVectorElement: +/* 8033561C 0033257C 3D 00 80 3F */ lis r8, lbl_803EC5A8@ha +/* 80335620 00332580 3C E0 80 3F */ lis r7, lbl_803EC594@ha +/* 80335624 00332584 38 08 C5 A8 */ addi r0, r8, lbl_803EC5A8@l +/* 80335628 00332588 3C C0 80 3F */ lis r6, lbl_803EE240@ha +/* 8033562C 0033258C 90 03 00 00 */ stw r0, 0(r3) +/* 80335630 00332590 38 E7 C5 94 */ addi r7, r7, lbl_803EC594@l +/* 80335634 00332594 38 06 E2 40 */ addi r0, r6, lbl_803EE240@l +/* 80335638 00332598 90 E3 00 00 */ stw r7, 0(r3) +/* 8033563C 0033259C 90 03 00 00 */ stw r0, 0(r3) +/* 80335640 003325A0 90 83 00 04 */ stw r4, 4(r3) +/* 80335644 003325A4 90 A3 00 08 */ stw r5, 8(r3) +/* 80335648 003325A8 4E 80 00 20 */ blr + +.global GetValue__6CVEAddCFiR9CVector3f +GetValue__6CVEAddCFiR9CVector3f: +/* 8033564C 003325AC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80335650 003325B0 7C 08 02 A6 */ mflr r0 +/* 80335654 003325B4 3C C0 80 5A */ lis r6, skZero3f@ha +/* 80335658 003325B8 90 01 00 34 */ stw r0, 0x34(r1) +/* 8033565C 003325BC 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80335660 003325C0 7C BF 2B 78 */ mr r31, r5 +/* 80335664 003325C4 38 A1 00 14 */ addi r5, r1, 0x14 +/* 80335668 003325C8 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8033566C 003325CC 7C 9E 23 78 */ mr r30, r4 +/* 80335670 003325D0 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80335674 003325D4 7C 7D 1B 78 */ mr r29, r3 +/* 80335678 003325D8 38 66 66 A0 */ addi r3, r6, skZero3f@l +/* 8033567C 003325DC C0 03 00 00 */ lfs f0, 0(r3) +/* 80335680 003325E0 C0 23 00 04 */ lfs f1, 4(r3) +/* 80335684 003325E4 C0 43 00 08 */ lfs f2, 8(r3) +/* 80335688 003325E8 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 8033568C 003325EC 80 7D 00 04 */ lwz r3, 4(r29) +/* 80335690 003325F0 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 80335694 003325F4 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 80335698 003325F8 D0 01 00 08 */ stfs f0, 8(r1) +/* 8033569C 003325FC D0 21 00 0C */ stfs f1, 0xc(r1) +/* 803356A0 00332600 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 803356A4 00332604 81 83 00 00 */ lwz r12, 0(r3) +/* 803356A8 00332608 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803356AC 0033260C 7D 89 03 A6 */ mtctr r12 +/* 803356B0 00332610 4E 80 04 21 */ bctrl +/* 803356B4 00332614 80 7D 00 08 */ lwz r3, 8(r29) +/* 803356B8 00332618 7F C4 F3 78 */ mr r4, r30 +/* 803356BC 0033261C 38 A1 00 08 */ addi r5, r1, 8 +/* 803356C0 00332620 81 83 00 00 */ lwz r12, 0(r3) +/* 803356C4 00332624 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803356C8 00332628 7D 89 03 A6 */ mtctr r12 +/* 803356CC 0033262C 4E 80 04 21 */ bctrl +/* 803356D0 00332630 C0 21 00 14 */ lfs f1, 0x14(r1) +/* 803356D4 00332634 38 60 00 00 */ li r3, 0 +/* 803356D8 00332638 C0 01 00 08 */ lfs f0, 8(r1) +/* 803356DC 0033263C C0 81 00 18 */ lfs f4, 0x18(r1) +/* 803356E0 00332640 C0 61 00 0C */ lfs f3, 0xc(r1) +/* 803356E4 00332644 EC 01 00 2A */ fadds f0, f1, f0 +/* 803356E8 00332648 C0 41 00 1C */ lfs f2, 0x1c(r1) +/* 803356EC 0033264C C0 21 00 10 */ lfs f1, 0x10(r1) +/* 803356F0 00332650 EC 64 18 2A */ fadds f3, f4, f3 +/* 803356F4 00332654 D0 1F 00 00 */ stfs f0, 0(r31) +/* 803356F8 00332658 EC 02 08 2A */ fadds f0, f2, f1 +/* 803356FC 0033265C D0 7F 00 04 */ stfs f3, 4(r31) +/* 80335700 00332660 D0 1F 00 08 */ stfs f0, 8(r31) +/* 80335704 00332664 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80335708 00332668 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8033570C 0033266C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80335710 00332670 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80335714 00332674 7C 08 03 A6 */ mtlr r0 +/* 80335718 00332678 38 21 00 30 */ addi r1, r1, 0x30 +/* 8033571C 0033267C 4E 80 00 20 */ blr + +.global __dt__6CVEAdd +__dt__6CVEAdd: +/* 80335720 00332680 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80335724 00332684 7C 08 02 A6 */ mflr r0 +/* 80335728 00332688 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033572C 0033268C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80335730 00332690 7C 9F 23 78 */ mr r31, r4 +/* 80335734 00332694 93 C1 00 08 */ stw r30, 8(r1) +/* 80335738 00332698 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8033573C 0033269C 41 82 00 88 */ beq lbl_803357C4 +/* 80335740 003326A0 3C 60 80 3F */ lis r3, lbl_803EE254@ha +/* 80335744 003326A4 38 03 E2 54 */ addi r0, r3, lbl_803EE254@l +/* 80335748 003326A8 90 1E 00 00 */ stw r0, 0(r30) +/* 8033574C 003326AC 80 7E 00 04 */ lwz r3, 4(r30) +/* 80335750 003326B0 28 03 00 00 */ cmplwi r3, 0 +/* 80335754 003326B4 41 82 00 18 */ beq lbl_8033576C +/* 80335758 003326B8 81 83 00 00 */ lwz r12, 0(r3) +/* 8033575C 003326BC 38 80 00 01 */ li r4, 1 +/* 80335760 003326C0 81 8C 00 08 */ lwz r12, 8(r12) +/* 80335764 003326C4 7D 89 03 A6 */ mtctr r12 +/* 80335768 003326C8 4E 80 04 21 */ bctrl +lbl_8033576C: +/* 8033576C 003326CC 80 7E 00 08 */ lwz r3, 8(r30) +/* 80335770 003326D0 28 03 00 00 */ cmplwi r3, 0 +/* 80335774 003326D4 41 82 00 18 */ beq lbl_8033578C +/* 80335778 003326D8 81 83 00 00 */ lwz r12, 0(r3) +/* 8033577C 003326DC 38 80 00 01 */ li r4, 1 +/* 80335780 003326E0 81 8C 00 08 */ lwz r12, 8(r12) +/* 80335784 003326E4 7D 89 03 A6 */ mtctr r12 +/* 80335788 003326E8 4E 80 04 21 */ bctrl +lbl_8033578C: +/* 8033578C 003326EC 28 1E 00 00 */ cmplwi r30, 0 +/* 80335790 003326F0 41 82 00 20 */ beq lbl_803357B0 +/* 80335794 003326F4 3C 60 80 3F */ lis r3, lbl_803EC594@ha +/* 80335798 003326F8 38 03 C5 94 */ addi r0, r3, lbl_803EC594@l +/* 8033579C 003326FC 90 1E 00 00 */ stw r0, 0(r30) +/* 803357A0 00332700 41 82 00 10 */ beq lbl_803357B0 +/* 803357A4 00332704 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 803357A8 00332708 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 803357AC 0033270C 90 1E 00 00 */ stw r0, 0(r30) +lbl_803357B0: +/* 803357B0 00332710 7F E0 07 35 */ extsh. r0, r31 +/* 803357B4 00332714 40 81 00 10 */ ble lbl_803357C4 +/* 803357B8 00332718 7F C3 F3 78 */ mr r3, r30 +/* 803357BC 0033271C 38 80 00 0C */ li r4, 0xc +/* 803357C0 00332720 48 03 72 A5 */ bl sub_8036ca64 +lbl_803357C4: +/* 803357C4 00332724 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803357C8 00332728 7F C3 F3 78 */ mr r3, r30 +/* 803357CC 0033272C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803357D0 00332730 83 C1 00 08 */ lwz r30, 8(r1) +/* 803357D4 00332734 7C 08 03 A6 */ mtlr r0 +/* 803357D8 00332738 38 21 00 10 */ addi r1, r1, 0x10 +/* 803357DC 0033273C 4E 80 00 20 */ blr + +.global __ct__6CVEAddFP14CVectorElementP14CVectorElement +__ct__6CVEAddFP14CVectorElementP14CVectorElement: +/* 803357E0 00332740 3D 00 80 3F */ lis r8, lbl_803EC5A8@ha +/* 803357E4 00332744 3C E0 80 3F */ lis r7, lbl_803EC594@ha +/* 803357E8 00332748 38 08 C5 A8 */ addi r0, r8, lbl_803EC5A8@l +/* 803357EC 0033274C 3C C0 80 3F */ lis r6, lbl_803EE254@ha +/* 803357F0 00332750 90 03 00 00 */ stw r0, 0(r3) +/* 803357F4 00332754 38 E7 C5 94 */ addi r7, r7, lbl_803EC594@l +/* 803357F8 00332758 38 06 E2 54 */ addi r0, r6, lbl_803EE254@l +/* 803357FC 0033275C 90 E3 00 00 */ stw r7, 0(r3) +/* 80335800 00332760 90 03 00 00 */ stw r0, 0(r3) +/* 80335804 00332764 90 83 00 04 */ stw r4, 4(r3) +/* 80335808 00332768 90 A3 00 08 */ stw r5, 8(r3) +/* 8033580C 0033276C 4E 80 00 20 */ blr + +.global GetValue__16CVECircleClusterCFiR9CVector3f +GetValue__16CVECircleClusterCFiR9CVector3f: +/* 80335810 00332770 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 80335814 00332774 7C 08 02 A6 */ mflr r0 +/* 80335818 00332778 90 01 00 74 */ stw r0, 0x74(r1) +/* 8033581C 0033277C DB E1 00 60 */ stfd f31, 0x60(r1) +/* 80335820 00332780 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 +/* 80335824 00332784 DB C1 00 50 */ stfd f30, 0x50(r1) +/* 80335828 00332788 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 +/* 8033582C 0033278C DB A1 00 40 */ stfd f29, 0x40(r1) +/* 80335830 00332790 F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0 +/* 80335834 00332794 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80335838 00332798 93 C1 00 38 */ stw r30, 0x38(r1) +/* 8033583C 0033279C 93 A1 00 34 */ stw r29, 0x34(r1) +/* 80335840 003327A0 7C 9E 23 78 */ mr r30, r4 +/* 80335844 003327A4 C0 02 CB 54 */ lfs f0, lbl_805AE874@sda21(r2) +/* 80335848 003327A8 6F C6 80 00 */ xoris r6, r30, 0x8000 +/* 8033584C 003327AC 3C 00 43 30 */ lis r0, 0x4330 +/* 80335850 003327B0 90 C1 00 2C */ stw r6, 0x2c(r1) +/* 80335854 003327B4 7C 7D 1B 78 */ mr r29, r3 +/* 80335858 003327B8 7C BF 2B 78 */ mr r31, r5 +/* 8033585C 003327BC C8 42 CB 60 */ lfd f2, lbl_805AE880@sda21(r2) +/* 80335860 003327C0 90 01 00 28 */ stw r0, 0x28(r1) +/* 80335864 003327C4 38 A1 00 18 */ addi r5, r1, 0x18 +/* 80335868 003327C8 80 63 00 04 */ lwz r3, 4(r3) +/* 8033586C 003327CC C8 21 00 28 */ lfd f1, 0x28(r1) +/* 80335870 003327D0 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 80335874 003327D4 EC 21 10 28 */ fsubs f1, f1, f2 +/* 80335878 003327D8 C3 BD 00 20 */ lfs f29, 0x20(r29) +/* 8033587C 003327DC D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 80335880 003327E0 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 80335884 003327E4 EF BD 00 72 */ fmuls f29, f29, f1 +/* 80335888 003327E8 81 83 00 00 */ lwz r12, 0(r3) +/* 8033588C 003327EC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80335890 003327F0 7D 89 03 A6 */ mtctr r12 +/* 80335894 003327F4 4E 80 04 21 */ bctrl +/* 80335898 003327F8 FC 20 E8 90 */ fmr f1, f29 +/* 8033589C 003327FC 48 05 F2 41 */ bl sin +/* 803358A0 00332800 FC 80 08 18 */ frsp f4, f1 +/* 803358A4 00332804 C0 7D 00 14 */ lfs f3, 0x14(r29) +/* 803358A8 00332808 C0 5D 00 18 */ lfs f2, 0x18(r29) +/* 803358AC 0033280C FC 20 E8 90 */ fmr f1, f29 +/* 803358B0 00332810 C0 1D 00 1C */ lfs f0, 0x1c(r29) +/* 803358B4 00332814 EF E4 00 F2 */ fmuls f31, f4, f3 +/* 803358B8 00332818 EF A4 00 B2 */ fmuls f29, f4, f2 +/* 803358BC 0033281C EF C4 00 32 */ fmuls f30, f4, f0 +/* 803358C0 00332820 48 05 EB 31 */ bl cos +/* 803358C4 00332824 FC C0 08 18 */ frsp f6, f1 +/* 803358C8 00332828 C0 5D 00 0C */ lfs f2, 0xc(r29) +/* 803358CC 0033282C C0 3D 00 10 */ lfs f1, 0x10(r29) +/* 803358D0 00332830 7F C4 F3 78 */ mr r4, r30 +/* 803358D4 00332834 C0 1D 00 08 */ lfs f0, 8(r29) +/* 803358D8 00332838 38 A1 00 08 */ addi r5, r1, 8 +/* 803358DC 0033283C EC 86 00 B2 */ fmuls f4, f6, f2 +/* 803358E0 00332840 C0 A1 00 1C */ lfs f5, 0x1c(r1) +/* 803358E4 00332844 EC 46 00 72 */ fmuls f2, f6, f1 +/* 803358E8 00332848 C0 61 00 20 */ lfs f3, 0x20(r1) +/* 803358EC 0033284C EC 06 00 32 */ fmuls f0, f6, f0 +/* 803358F0 00332850 C0 21 00 18 */ lfs f1, 0x18(r1) +/* 803358F4 00332854 EC 85 20 2A */ fadds f4, f5, f4 +/* 803358F8 00332858 80 7D 00 24 */ lwz r3, 0x24(r29) +/* 803358FC 0033285C EC 43 10 2A */ fadds f2, f3, f2 +/* 80335900 00332860 EC 01 00 2A */ fadds f0, f1, f0 +/* 80335904 00332864 EC 64 E8 2A */ fadds f3, f4, f29 +/* 80335908 00332868 EC 22 F0 2A */ fadds f1, f2, f30 +/* 8033590C 0033286C EC 00 F8 2A */ fadds f0, f0, f31 +/* 80335910 00332870 D0 61 00 10 */ stfs f3, 0x10(r1) +/* 80335914 00332874 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 80335918 00332878 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 8033591C 0033287C 81 83 00 00 */ lwz r12, 0(r3) +/* 80335920 00332880 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80335924 00332884 7D 89 03 A6 */ mtctr r12 +/* 80335928 00332888 4E 80 04 21 */ bctrl +/* 8033592C 0033288C 38 61 00 0C */ addi r3, r1, 0xc +/* 80335930 00332890 4B FD EF 89 */ bl Magnitude__9CVector3fCFv +/* 80335934 00332894 C0 01 00 08 */ lfs f0, 8(r1) +/* 80335938 00332898 EF A0 00 72 */ fmuls f29, f0, f1 +/* 8033593C 0033289C 4B FD CC C1 */ bl GetRandomNumber__9CRandom16Fv +/* 80335940 003328A0 4B FD CB 9D */ bl Float__9CRandom16Fv +/* 80335944 003328A4 EF DD 00 72 */ fmuls f30, f29, f1 +/* 80335948 003328A8 4B FD CC B5 */ bl GetRandomNumber__9CRandom16Fv +/* 8033594C 003328AC 4B FD CB 91 */ bl Float__9CRandom16Fv +/* 80335950 003328B0 EF FD 00 72 */ fmuls f31, f29, f1 +/* 80335954 003328B4 4B FD CC A9 */ bl GetRandomNumber__9CRandom16Fv +/* 80335958 003328B8 4B FD CB 85 */ bl Float__9CRandom16Fv +/* 8033595C 003328BC C0 01 00 0C */ lfs f0, 0xc(r1) +/* 80335960 003328C0 EC 7D 00 72 */ fmuls f3, f29, f1 +/* 80335964 003328C4 C0 21 00 10 */ lfs f1, 0x10(r1) +/* 80335968 003328C8 38 60 00 00 */ li r3, 0 +/* 8033596C 003328CC EC 1E 00 2A */ fadds f0, f30, f0 +/* 80335970 003328D0 C0 41 00 14 */ lfs f2, 0x14(r1) +/* 80335974 003328D4 EC 3F 08 2A */ fadds f1, f31, f1 +/* 80335978 003328D8 EC 43 10 2A */ fadds f2, f3, f2 +/* 8033597C 003328DC D0 1F 00 00 */ stfs f0, 0(r31) +/* 80335980 003328E0 D0 3F 00 04 */ stfs f1, 4(r31) +/* 80335984 003328E4 D0 5F 00 08 */ stfs f2, 8(r31) +/* 80335988 003328E8 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 +/* 8033598C 003328EC CB E1 00 60 */ lfd f31, 0x60(r1) +/* 80335990 003328F0 E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 +/* 80335994 003328F4 CB C1 00 50 */ lfd f30, 0x50(r1) +/* 80335998 003328F8 E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0 +/* 8033599C 003328FC CB A1 00 40 */ lfd f29, 0x40(r1) +/* 803359A0 00332900 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 803359A4 00332904 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 803359A8 00332908 80 01 00 74 */ lwz r0, 0x74(r1) +/* 803359AC 0033290C 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 803359B0 00332910 7C 08 03 A6 */ mtlr r0 +/* 803359B4 00332914 38 21 00 70 */ addi r1, r1, 0x70 +/* 803359B8 00332918 4E 80 00 20 */ blr + +.global __dt__16CVECircleCluster +__dt__16CVECircleCluster: +/* 803359BC 0033291C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803359C0 00332920 7C 08 02 A6 */ mflr r0 +/* 803359C4 00332924 90 01 00 14 */ stw r0, 0x14(r1) +/* 803359C8 00332928 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803359CC 0033292C 7C 9F 23 78 */ mr r31, r4 +/* 803359D0 00332930 93 C1 00 08 */ stw r30, 8(r1) +/* 803359D4 00332934 7C 7E 1B 79 */ or. r30, r3, r3 +/* 803359D8 00332938 41 82 00 88 */ beq lbl_80335A60 +/* 803359DC 0033293C 3C 60 80 3F */ lis r3, lbl_803EE268@ha +/* 803359E0 00332940 38 03 E2 68 */ addi r0, r3, lbl_803EE268@l +/* 803359E4 00332944 90 1E 00 00 */ stw r0, 0(r30) +/* 803359E8 00332948 80 7E 00 04 */ lwz r3, 4(r30) +/* 803359EC 0033294C 28 03 00 00 */ cmplwi r3, 0 +/* 803359F0 00332950 41 82 00 18 */ beq lbl_80335A08 +/* 803359F4 00332954 81 83 00 00 */ lwz r12, 0(r3) +/* 803359F8 00332958 38 80 00 01 */ li r4, 1 +/* 803359FC 0033295C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80335A00 00332960 7D 89 03 A6 */ mtctr r12 +/* 80335A04 00332964 4E 80 04 21 */ bctrl +lbl_80335A08: +/* 80335A08 00332968 80 7E 00 24 */ lwz r3, 0x24(r30) +/* 80335A0C 0033296C 28 03 00 00 */ cmplwi r3, 0 +/* 80335A10 00332970 41 82 00 18 */ beq lbl_80335A28 +/* 80335A14 00332974 81 83 00 00 */ lwz r12, 0(r3) +/* 80335A18 00332978 38 80 00 01 */ li r4, 1 +/* 80335A1C 0033297C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80335A20 00332980 7D 89 03 A6 */ mtctr r12 +/* 80335A24 00332984 4E 80 04 21 */ bctrl +lbl_80335A28: +/* 80335A28 00332988 28 1E 00 00 */ cmplwi r30, 0 +/* 80335A2C 0033298C 41 82 00 20 */ beq lbl_80335A4C +/* 80335A30 00332990 3C 60 80 3F */ lis r3, lbl_803EC594@ha +/* 80335A34 00332994 38 03 C5 94 */ addi r0, r3, lbl_803EC594@l +/* 80335A38 00332998 90 1E 00 00 */ stw r0, 0(r30) +/* 80335A3C 0033299C 41 82 00 10 */ beq lbl_80335A4C +/* 80335A40 003329A0 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80335A44 003329A4 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80335A48 003329A8 90 1E 00 00 */ stw r0, 0(r30) +lbl_80335A4C: +/* 80335A4C 003329AC 7F E0 07 35 */ extsh. r0, r31 +/* 80335A50 003329B0 40 81 00 10 */ ble lbl_80335A60 +/* 80335A54 003329B4 7F C3 F3 78 */ mr r3, r30 +/* 80335A58 003329B8 38 80 00 28 */ li r4, 0x28 +/* 80335A5C 003329BC 48 03 70 09 */ bl sub_8036ca64 +lbl_80335A60: +/* 80335A60 003329C0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80335A64 003329C4 7F C3 F3 78 */ mr r3, r30 +/* 80335A68 003329C8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80335A6C 003329CC 83 C1 00 08 */ lwz r30, 8(r1) +/* 80335A70 003329D0 7C 08 03 A6 */ mtlr r0 +/* 80335A74 003329D4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80335A78 003329D8 4E 80 00 20 */ blr + +.global __ct__16CVECircleClusterFP14CVectorElementP14CVectorElementP11CIntElementP12CRealElement +__ct__16CVECircleClusterFP14CVectorElementP14CVectorElementP11CIntElementP12CRealElement: +/* 80335A7C 003329DC 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 80335A80 003329E0 7C 08 02 A6 */ mflr r0 +/* 80335A84 003329E4 90 01 00 74 */ stw r0, 0x74(r1) +/* 80335A88 003329E8 DB E1 00 60 */ stfd f31, 0x60(r1) +/* 80335A8C 003329EC F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 +/* 80335A90 003329F0 DB C1 00 50 */ stfd f30, 0x50(r1) +/* 80335A94 003329F4 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 +/* 80335A98 003329F8 DB A1 00 40 */ stfd f29, 0x40(r1) +/* 80335A9C 003329FC F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0 +/* 80335AA0 00332A00 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80335AA4 00332A04 93 C1 00 38 */ stw r30, 0x38(r1) +/* 80335AA8 00332A08 93 A1 00 34 */ stw r29, 0x34(r1) +/* 80335AAC 00332A0C 3D 00 80 3F */ lis r8, lbl_803EC5A8@ha +/* 80335AB0 00332A10 7C 7F 1B 78 */ mr r31, r3 +/* 80335AB4 00332A14 38 08 C5 A8 */ addi r0, r8, lbl_803EC5A8@l +/* 80335AB8 00332A18 7C BD 2B 78 */ mr r29, r5 +/* 80335ABC 00332A1C 3C 60 80 3F */ lis r3, lbl_803EC594@ha +/* 80335AC0 00332A20 90 1F 00 00 */ stw r0, 0(r31) +/* 80335AC4 00332A24 38 03 C5 94 */ addi r0, r3, lbl_803EC594@l +/* 80335AC8 00332A28 3D 00 80 3F */ lis r8, lbl_803EE268@ha +/* 80335ACC 00332A2C 90 1F 00 00 */ stw r0, 0(r31) +/* 80335AD0 00332A30 38 08 E2 68 */ addi r0, r8, lbl_803EE268@l +/* 80335AD4 00332A34 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80335AD8 00332A38 7C DE 33 78 */ mr r30, r6 +/* 80335ADC 00332A3C 90 1F 00 00 */ stw r0, 0(r31) +/* 80335AE0 00332A40 38 C3 66 A0 */ addi r6, r3, skZero3f@l +/* 80335AE4 00332A44 C0 02 CB 54 */ lfs f0, lbl_805AE874@sda21(r2) +/* 80335AE8 00332A48 7F C3 F3 78 */ mr r3, r30 +/* 80335AEC 00332A4C 90 9F 00 04 */ stw r4, 4(r31) +/* 80335AF0 00332A50 38 A1 00 08 */ addi r5, r1, 8 +/* 80335AF4 00332A54 38 80 00 00 */ li r4, 0 +/* 80335AF8 00332A58 C0 26 00 00 */ lfs f1, 0(r6) +/* 80335AFC 00332A5C D0 3F 00 08 */ stfs f1, 8(r31) +/* 80335B00 00332A60 C0 26 00 04 */ lfs f1, 4(r6) +/* 80335B04 00332A64 D0 3F 00 0C */ stfs f1, 0xc(r31) +/* 80335B08 00332A68 C0 26 00 08 */ lfs f1, 8(r6) +/* 80335B0C 00332A6C D0 3F 00 10 */ stfs f1, 0x10(r31) +/* 80335B10 00332A70 C0 26 00 00 */ lfs f1, 0(r6) +/* 80335B14 00332A74 D0 3F 00 14 */ stfs f1, 0x14(r31) +/* 80335B18 00332A78 C0 26 00 04 */ lfs f1, 4(r6) +/* 80335B1C 00332A7C D0 3F 00 18 */ stfs f1, 0x18(r31) +/* 80335B20 00332A80 C0 26 00 08 */ lfs f1, 8(r6) +/* 80335B24 00332A84 D0 3F 00 1C */ stfs f1, 0x1c(r31) +/* 80335B28 00332A88 D0 1F 00 20 */ stfs f0, 0x20(r31) +/* 80335B2C 00332A8C 90 FF 00 24 */ stw r7, 0x24(r31) +/* 80335B30 00332A90 81 9E 00 00 */ lwz r12, 0(r30) +/* 80335B34 00332A94 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80335B38 00332A98 7D 89 03 A6 */ mtctr r12 +/* 80335B3C 00332A9C 4E 80 04 21 */ bctrl +/* 80335B40 00332AA0 80 81 00 08 */ lwz r4, 8(r1) +/* 80335B44 00332AA4 3C 00 43 30 */ lis r0, 0x4330 +/* 80335B48 00332AA8 90 01 00 28 */ stw r0, 0x28(r1) +/* 80335B4C 00332AAC 7F A3 EB 78 */ mr r3, r29 +/* 80335B50 00332AB0 6C 80 80 00 */ xoris r0, r4, 0x8000 +/* 80335B54 00332AB4 C8 22 CB 60 */ lfd f1, lbl_805AE880@sda21(r2) +/* 80335B58 00332AB8 90 01 00 2C */ stw r0, 0x2c(r1) +/* 80335B5C 00332ABC 38 A1 00 18 */ addi r5, r1, 0x18 +/* 80335B60 00332AC0 C0 42 CB 6C */ lfs f2, lbl_805AE88C@sda21(r2) +/* 80335B64 00332AC4 38 80 00 00 */ li r4, 0 +/* 80335B68 00332AC8 C8 01 00 28 */ lfd f0, 0x28(r1) +/* 80335B6C 00332ACC C0 62 CB 68 */ lfs f3, lbl_805AE888@sda21(r2) +/* 80335B70 00332AD0 EC 20 08 28 */ fsubs f1, f0, f1 +/* 80335B74 00332AD4 C0 02 CB 54 */ lfs f0, lbl_805AE874@sda21(r2) +/* 80335B78 00332AD8 EC 22 08 24 */ fdivs f1, f2, f1 +/* 80335B7C 00332ADC EC 23 00 72 */ fmuls f1, f3, f1 +/* 80335B80 00332AE0 D0 3F 00 20 */ stfs f1, 0x20(r31) +/* 80335B84 00332AE4 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 80335B88 00332AE8 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 80335B8C 00332AEC D0 01 00 20 */ stfs f0, 0x20(r1) +/* 80335B90 00332AF0 81 9D 00 00 */ lwz r12, 0(r29) +/* 80335B94 00332AF4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80335B98 00332AF8 7D 89 03 A6 */ mtctr r12 +/* 80335B9C 00332AFC 4E 80 04 21 */ bctrl +/* 80335BA0 00332B00 C3 E1 00 18 */ lfs f31, 0x18(r1) +/* 80335BA4 00332B04 38 61 00 18 */ addi r3, r1, 0x18 +/* 80335BA8 00332B08 C3 C1 00 1C */ lfs f30, 0x1c(r1) +/* 80335BAC 00332B0C C3 A1 00 20 */ lfs f29, 0x20(r1) +/* 80335BB0 00332B10 4B FD EB 49 */ bl CanBeNormalized__9CVector3fCFv +/* 80335BB4 00332B14 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80335BB8 00332B18 41 82 00 2C */ beq lbl_80335BE4 +/* 80335BBC 00332B1C 38 61 00 0C */ addi r3, r1, 0xc +/* 80335BC0 00332B20 38 81 00 18 */ addi r4, r1, 0x18 +/* 80335BC4 00332B24 4B FD EC 8D */ bl AsNormalized__9CVector3fCFv +/* 80335BC8 00332B28 C0 41 00 0C */ lfs f2, 0xc(r1) +/* 80335BCC 00332B2C C0 21 00 10 */ lfs f1, 0x10(r1) +/* 80335BD0 00332B30 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 80335BD4 00332B34 D0 41 00 18 */ stfs f2, 0x18(r1) +/* 80335BD8 00332B38 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 80335BDC 00332B3C D0 01 00 20 */ stfs f0, 0x20(r1) +/* 80335BE0 00332B40 48 00 00 20 */ b lbl_80335C00 +lbl_80335BE4: +/* 80335BE4 00332B44 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 80335BE8 00332B48 C4 43 66 F4 */ lfsu f2, lbl_805A66F4@l(r3) +/* 80335BEC 00332B4C C0 23 00 04 */ lfs f1, 4(r3) +/* 80335BF0 00332B50 C0 03 00 08 */ lfs f0, 8(r3) +/* 80335BF4 00332B54 D0 41 00 18 */ stfs f2, 0x18(r1) +/* 80335BF8 00332B58 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 80335BFC 00332B5C D0 01 00 20 */ stfs f0, 0x20(r1) +lbl_80335C00: +/* 80335C00 00332B60 C0 21 00 18 */ lfs f1, 0x18(r1) +/* 80335C04 00332B64 C0 02 CB 70 */ lfs f0, lbl_805AE890@sda21(r2) +/* 80335C08 00332B68 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80335C0C 00332B6C 40 81 00 34 */ ble lbl_80335C40 +/* 80335C10 00332B70 C0 62 CB 58 */ lfs f3, lbl_805AE878@sda21(r2) +/* 80335C14 00332B74 C0 82 CB 54 */ lfs f4, lbl_805AE874@sda21(r2) +/* 80335C18 00332B78 EC 43 07 72 */ fmuls f2, f3, f29 +/* 80335C1C 00332B7C EC 24 07 F2 */ fmuls f1, f4, f31 +/* 80335C20 00332B80 EC 04 07 B2 */ fmuls f0, f4, f30 +/* 80335C24 00332B84 EC 5E 11 38 */ fmsubs f2, f30, f4, f2 +/* 80335C28 00332B88 EC 3D 09 38 */ fmsubs f1, f29, f4, f1 +/* 80335C2C 00332B8C EC 1F 00 F8 */ fmsubs f0, f31, f3, f0 +/* 80335C30 00332B90 D0 5F 00 08 */ stfs f2, 8(r31) +/* 80335C34 00332B94 D0 3F 00 0C */ stfs f1, 0xc(r31) +/* 80335C38 00332B98 D0 1F 00 10 */ stfs f0, 0x10(r31) +/* 80335C3C 00332B9C 48 00 00 30 */ b lbl_80335C6C +lbl_80335C40: +/* 80335C40 00332BA0 C0 82 CB 54 */ lfs f4, lbl_805AE874@sda21(r2) +/* 80335C44 00332BA4 C0 42 CB 58 */ lfs f2, lbl_805AE878@sda21(r2) +/* 80335C48 00332BA8 EC 64 07 72 */ fmuls f3, f4, f29 +/* 80335C4C 00332BAC EC 24 07 F2 */ fmuls f1, f4, f31 +/* 80335C50 00332BB0 EC 02 07 B2 */ fmuls f0, f2, f30 +/* 80335C54 00332BB4 EC 7E 19 38 */ fmsubs f3, f30, f4, f3 +/* 80335C58 00332BB8 EC 3D 08 B8 */ fmsubs f1, f29, f2, f1 +/* 80335C5C 00332BBC EC 1F 01 38 */ fmsubs f0, f31, f4, f0 +/* 80335C60 00332BC0 D0 7F 00 08 */ stfs f3, 8(r31) +/* 80335C64 00332BC4 D0 3F 00 0C */ stfs f1, 0xc(r31) +/* 80335C68 00332BC8 D0 1F 00 10 */ stfs f0, 0x10(r31) +lbl_80335C6C: +/* 80335C6C 00332BCC C0 61 00 20 */ lfs f3, 0x20(r1) +/* 80335C70 00332BD0 28 1E 00 00 */ cmplwi r30, 0 +/* 80335C74 00332BD4 C0 BF 00 0C */ lfs f5, 0xc(r31) +/* 80335C78 00332BD8 C0 DF 00 10 */ lfs f6, 0x10(r31) +/* 80335C7C 00332BDC C0 E1 00 18 */ lfs f7, 0x18(r1) +/* 80335C80 00332BE0 EC 25 00 F2 */ fmuls f1, f5, f3 +/* 80335C84 00332BE4 C0 41 00 1C */ lfs f2, 0x1c(r1) +/* 80335C88 00332BE8 C0 9F 00 08 */ lfs f4, 8(r31) +/* 80335C8C 00332BEC EC 06 01 F2 */ fmuls f0, f6, f7 +/* 80335C90 00332BF0 EC 22 09 B8 */ fmsubs f1, f2, f6, f1 +/* 80335C94 00332BF4 EC 44 00 B2 */ fmuls f2, f4, f2 +/* 80335C98 00332BF8 EC 03 01 38 */ fmsubs f0, f3, f4, f0 +/* 80335C9C 00332BFC D0 3F 00 14 */ stfs f1, 0x14(r31) +/* 80335CA0 00332C00 EC 27 11 78 */ fmsubs f1, f7, f5, f2 +/* 80335CA4 00332C04 D0 1F 00 18 */ stfs f0, 0x18(r31) +/* 80335CA8 00332C08 D0 3F 00 1C */ stfs f1, 0x1c(r31) +/* 80335CAC 00332C0C 41 82 00 1C */ beq lbl_80335CC8 +/* 80335CB0 00332C10 7F C3 F3 78 */ mr r3, r30 +/* 80335CB4 00332C14 38 80 00 01 */ li r4, 1 +/* 80335CB8 00332C18 81 9E 00 00 */ lwz r12, 0(r30) +/* 80335CBC 00332C1C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80335CC0 00332C20 7D 89 03 A6 */ mtctr r12 +/* 80335CC4 00332C24 4E 80 04 21 */ bctrl +lbl_80335CC8: +/* 80335CC8 00332C28 28 1D 00 00 */ cmplwi r29, 0 +/* 80335CCC 00332C2C 41 82 00 1C */ beq lbl_80335CE8 +/* 80335CD0 00332C30 7F A3 EB 78 */ mr r3, r29 +/* 80335CD4 00332C34 38 80 00 01 */ li r4, 1 +/* 80335CD8 00332C38 81 9D 00 00 */ lwz r12, 0(r29) +/* 80335CDC 00332C3C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80335CE0 00332C40 7D 89 03 A6 */ mtctr r12 +/* 80335CE4 00332C44 4E 80 04 21 */ bctrl +lbl_80335CE8: +/* 80335CE8 00332C48 7F E3 FB 78 */ mr r3, r31 +/* 80335CEC 00332C4C E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 +/* 80335CF0 00332C50 CB E1 00 60 */ lfd f31, 0x60(r1) +/* 80335CF4 00332C54 E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 +/* 80335CF8 00332C58 CB C1 00 50 */ lfd f30, 0x50(r1) +/* 80335CFC 00332C5C E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0 +/* 80335D00 00332C60 CB A1 00 40 */ lfd f29, 0x40(r1) +/* 80335D04 00332C64 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80335D08 00332C68 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 80335D0C 00332C6C 80 01 00 74 */ lwz r0, 0x74(r1) +/* 80335D10 00332C70 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 80335D14 00332C74 7C 08 03 A6 */ mtlr r0 +/* 80335D18 00332C78 38 21 00 70 */ addi r1, r1, 0x70 +/* 80335D1C 00332C7C 4E 80 00 20 */ blr + +.global GetValue__12CVETimeChainCFiR9CVector3f +GetValue__12CVETimeChainCFiR9CVector3f: +/* 80335D20 00332C80 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80335D24 00332C84 7C 08 02 A6 */ mflr r0 +/* 80335D28 00332C88 90 01 00 24 */ stw r0, 0x24(r1) +/* 80335D2C 00332C8C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80335D30 00332C90 7C BF 2B 78 */ mr r31, r5 +/* 80335D34 00332C94 38 A1 00 08 */ addi r5, r1, 8 +/* 80335D38 00332C98 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80335D3C 00332C9C 7C 9E 23 78 */ mr r30, r4 +/* 80335D40 00332CA0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80335D44 00332CA4 7C 7D 1B 78 */ mr r29, r3 +/* 80335D48 00332CA8 80 63 00 0C */ lwz r3, 0xc(r3) +/* 80335D4C 00332CAC 81 83 00 00 */ lwz r12, 0(r3) +/* 80335D50 00332CB0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80335D54 00332CB4 7D 89 03 A6 */ mtctr r12 +/* 80335D58 00332CB8 4E 80 04 21 */ bctrl +/* 80335D5C 00332CBC 80 01 00 08 */ lwz r0, 8(r1) +/* 80335D60 00332CC0 7C 1E 00 00 */ cmpw r30, r0 +/* 80335D64 00332CC4 40 80 00 24 */ bge lbl_80335D88 +/* 80335D68 00332CC8 80 7D 00 04 */ lwz r3, 4(r29) +/* 80335D6C 00332CCC 7F C4 F3 78 */ mr r4, r30 +/* 80335D70 00332CD0 7F E5 FB 78 */ mr r5, r31 +/* 80335D74 00332CD4 81 83 00 00 */ lwz r12, 0(r3) +/* 80335D78 00332CD8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80335D7C 00332CDC 7D 89 03 A6 */ mtctr r12 +/* 80335D80 00332CE0 4E 80 04 21 */ bctrl +/* 80335D84 00332CE4 48 00 00 20 */ b lbl_80335DA4 +lbl_80335D88: +/* 80335D88 00332CE8 80 7D 00 08 */ lwz r3, 8(r29) +/* 80335D8C 00332CEC 7F E5 FB 78 */ mr r5, r31 +/* 80335D90 00332CF0 7C 80 F0 50 */ subf r4, r0, r30 +/* 80335D94 00332CF4 81 83 00 00 */ lwz r12, 0(r3) +/* 80335D98 00332CF8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80335D9C 00332CFC 7D 89 03 A6 */ mtctr r12 +/* 80335DA0 00332D00 4E 80 04 21 */ bctrl +lbl_80335DA4: +/* 80335DA4 00332D04 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80335DA8 00332D08 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80335DAC 00332D0C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80335DB0 00332D10 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80335DB4 00332D14 7C 08 03 A6 */ mtlr r0 +/* 80335DB8 00332D18 38 21 00 20 */ addi r1, r1, 0x20 +/* 80335DBC 00332D1C 4E 80 00 20 */ blr + +.global __dt__12CVETimeChain +__dt__12CVETimeChain: +/* 80335DC0 00332D20 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80335DC4 00332D24 7C 08 02 A6 */ mflr r0 +/* 80335DC8 00332D28 90 01 00 14 */ stw r0, 0x14(r1) +/* 80335DCC 00332D2C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80335DD0 00332D30 7C 9F 23 78 */ mr r31, r4 +/* 80335DD4 00332D34 93 C1 00 08 */ stw r30, 8(r1) +/* 80335DD8 00332D38 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80335DDC 00332D3C 41 82 00 A8 */ beq lbl_80335E84 +/* 80335DE0 00332D40 3C 60 80 3F */ lis r3, lbl_803EE27C@ha +/* 80335DE4 00332D44 38 03 E2 7C */ addi r0, r3, lbl_803EE27C@l +/* 80335DE8 00332D48 90 1E 00 00 */ stw r0, 0(r30) +/* 80335DEC 00332D4C 80 7E 00 04 */ lwz r3, 4(r30) +/* 80335DF0 00332D50 28 03 00 00 */ cmplwi r3, 0 +/* 80335DF4 00332D54 41 82 00 18 */ beq lbl_80335E0C +/* 80335DF8 00332D58 81 83 00 00 */ lwz r12, 0(r3) +/* 80335DFC 00332D5C 38 80 00 01 */ li r4, 1 +/* 80335E00 00332D60 81 8C 00 08 */ lwz r12, 8(r12) +/* 80335E04 00332D64 7D 89 03 A6 */ mtctr r12 +/* 80335E08 00332D68 4E 80 04 21 */ bctrl +lbl_80335E0C: +/* 80335E0C 00332D6C 80 7E 00 08 */ lwz r3, 8(r30) +/* 80335E10 00332D70 28 03 00 00 */ cmplwi r3, 0 +/* 80335E14 00332D74 41 82 00 18 */ beq lbl_80335E2C +/* 80335E18 00332D78 81 83 00 00 */ lwz r12, 0(r3) +/* 80335E1C 00332D7C 38 80 00 01 */ li r4, 1 +/* 80335E20 00332D80 81 8C 00 08 */ lwz r12, 8(r12) +/* 80335E24 00332D84 7D 89 03 A6 */ mtctr r12 +/* 80335E28 00332D88 4E 80 04 21 */ bctrl +lbl_80335E2C: +/* 80335E2C 00332D8C 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80335E30 00332D90 28 03 00 00 */ cmplwi r3, 0 +/* 80335E34 00332D94 41 82 00 18 */ beq lbl_80335E4C +/* 80335E38 00332D98 81 83 00 00 */ lwz r12, 0(r3) +/* 80335E3C 00332D9C 38 80 00 01 */ li r4, 1 +/* 80335E40 00332DA0 81 8C 00 08 */ lwz r12, 8(r12) +/* 80335E44 00332DA4 7D 89 03 A6 */ mtctr r12 +/* 80335E48 00332DA8 4E 80 04 21 */ bctrl +lbl_80335E4C: +/* 80335E4C 00332DAC 28 1E 00 00 */ cmplwi r30, 0 +/* 80335E50 00332DB0 41 82 00 20 */ beq lbl_80335E70 +/* 80335E54 00332DB4 3C 60 80 3F */ lis r3, lbl_803EC594@ha +/* 80335E58 00332DB8 38 03 C5 94 */ addi r0, r3, lbl_803EC594@l +/* 80335E5C 00332DBC 90 1E 00 00 */ stw r0, 0(r30) +/* 80335E60 00332DC0 41 82 00 10 */ beq lbl_80335E70 +/* 80335E64 00332DC4 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80335E68 00332DC8 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80335E6C 00332DCC 90 1E 00 00 */ stw r0, 0(r30) +lbl_80335E70: +/* 80335E70 00332DD0 7F E0 07 35 */ extsh. r0, r31 +/* 80335E74 00332DD4 40 81 00 10 */ ble lbl_80335E84 +/* 80335E78 00332DD8 7F C3 F3 78 */ mr r3, r30 +/* 80335E7C 00332DDC 38 80 00 10 */ li r4, 0x10 +/* 80335E80 00332DE0 48 03 6B E5 */ bl sub_8036ca64 +lbl_80335E84: +/* 80335E84 00332DE4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80335E88 00332DE8 7F C3 F3 78 */ mr r3, r30 +/* 80335E8C 00332DEC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80335E90 00332DF0 83 C1 00 08 */ lwz r30, 8(r1) +/* 80335E94 00332DF4 7C 08 03 A6 */ mtlr r0 +/* 80335E98 00332DF8 38 21 00 10 */ addi r1, r1, 0x10 +/* 80335E9C 00332DFC 4E 80 00 20 */ blr + +.global __ct__12CVETimeChainFP14CVectorElementP14CVectorElementP11CIntElement +__ct__12CVETimeChainFP14CVectorElementP14CVectorElementP11CIntElement: +/* 80335EA0 00332E00 3D 20 80 3F */ lis r9, lbl_803EC5A8@ha +/* 80335EA4 00332E04 3D 00 80 3F */ lis r8, lbl_803EC594@ha +/* 80335EA8 00332E08 38 09 C5 A8 */ addi r0, r9, lbl_803EC5A8@l +/* 80335EAC 00332E0C 3C E0 80 3F */ lis r7, lbl_803EE27C@ha +/* 80335EB0 00332E10 90 03 00 00 */ stw r0, 0(r3) +/* 80335EB4 00332E14 39 08 C5 94 */ addi r8, r8, lbl_803EC594@l +/* 80335EB8 00332E18 38 07 E2 7C */ addi r0, r7, lbl_803EE27C@l +/* 80335EBC 00332E1C 91 03 00 00 */ stw r8, 0(r3) +/* 80335EC0 00332E20 90 03 00 00 */ stw r0, 0(r3) +/* 80335EC4 00332E24 90 83 00 04 */ stw r4, 4(r3) +/* 80335EC8 00332E28 90 A3 00 08 */ stw r5, 8(r3) +/* 80335ECC 00332E2C 90 C3 00 0C */ stw r6, 0xc(r3) +/* 80335ED0 00332E30 4E 80 00 20 */ blr + +.global GetValue__9CVECircleCFiR9CVector3f +GetValue__9CVECircleCFiR9CVector3f: +/* 80335ED4 00332E34 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 80335ED8 00332E38 7C 08 02 A6 */ mflr r0 +/* 80335EDC 00332E3C 90 01 00 74 */ stw r0, 0x74(r1) +/* 80335EE0 00332E40 DB E1 00 60 */ stfd f31, 0x60(r1) +/* 80335EE4 00332E44 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 +/* 80335EE8 00332E48 DB C1 00 50 */ stfd f30, 0x50(r1) +/* 80335EEC 00332E4C F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 +/* 80335EF0 00332E50 DB A1 00 40 */ stfd f29, 0x40(r1) +/* 80335EF4 00332E54 F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0 +/* 80335EF8 00332E58 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80335EFC 00332E5C 93 C1 00 38 */ stw r30, 0x38(r1) +/* 80335F00 00332E60 93 A1 00 34 */ stw r29, 0x34(r1) +/* 80335F04 00332E64 7C 7D 1B 78 */ mr r29, r3 +/* 80335F08 00332E68 7C BF 2B 78 */ mr r31, r5 +/* 80335F0C 00332E6C 80 63 00 24 */ lwz r3, 0x24(r3) +/* 80335F10 00332E70 7C 9E 23 78 */ mr r30, r4 +/* 80335F14 00332E74 38 A1 00 0C */ addi r5, r1, 0xc +/* 80335F18 00332E78 81 83 00 00 */ lwz r12, 0(r3) +/* 80335F1C 00332E7C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80335F20 00332E80 7D 89 03 A6 */ mtctr r12 +/* 80335F24 00332E84 4E 80 04 21 */ bctrl +/* 80335F28 00332E88 80 7D 00 28 */ lwz r3, 0x28(r29) +/* 80335F2C 00332E8C 7F C4 F3 78 */ mr r4, r30 +/* 80335F30 00332E90 38 A1 00 10 */ addi r5, r1, 0x10 +/* 80335F34 00332E94 81 83 00 00 */ lwz r12, 0(r3) +/* 80335F38 00332E98 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80335F3C 00332E9C 7D 89 03 A6 */ mtctr r12 +/* 80335F40 00332EA0 4E 80 04 21 */ bctrl +/* 80335F44 00332EA4 80 7D 00 20 */ lwz r3, 0x20(r29) +/* 80335F48 00332EA8 7F C4 F3 78 */ mr r4, r30 +/* 80335F4C 00332EAC 38 A1 00 08 */ addi r5, r1, 8 +/* 80335F50 00332EB0 81 83 00 00 */ lwz r12, 0(r3) +/* 80335F54 00332EB4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80335F58 00332EB8 7D 89 03 A6 */ mtctr r12 +/* 80335F5C 00332EBC 4E 80 04 21 */ bctrl +/* 80335F60 00332EC0 6F C3 80 00 */ xoris r3, r30, 0x8000 +/* 80335F64 00332EC4 3C 00 43 30 */ lis r0, 0x4330 +/* 80335F68 00332EC8 90 61 00 24 */ stw r3, 0x24(r1) +/* 80335F6C 00332ECC 7F C4 F3 78 */ mr r4, r30 +/* 80335F70 00332ED0 C0 02 CB 54 */ lfs f0, lbl_805AE874@sda21(r2) +/* 80335F74 00332ED4 38 A1 00 14 */ addi r5, r1, 0x14 +/* 80335F78 00332ED8 90 01 00 20 */ stw r0, 0x20(r1) +/* 80335F7C 00332EDC C8 42 CB 60 */ lfd f2, lbl_805AE880@sda21(r2) +/* 80335F80 00332EE0 C8 21 00 20 */ lfd f1, 0x20(r1) +/* 80335F84 00332EE4 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80335F88 00332EE8 EC 41 10 28 */ fsubs f2, f1, f2 +/* 80335F8C 00332EEC C0 61 00 0C */ lfs f3, 0xc(r1) +/* 80335F90 00332EF0 C0 21 00 08 */ lfs f1, 8(r1) +/* 80335F94 00332EF4 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 80335F98 00332EF8 80 7D 00 04 */ lwz r3, 4(r29) +/* 80335F9C 00332EFC EC 23 08 BA */ fmadds f1, f3, f2, f1 +/* 80335FA0 00332F00 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 80335FA4 00332F04 C0 02 CB 68 */ lfs f0, lbl_805AE888@sda21(r2) +/* 80335FA8 00332F08 81 83 00 00 */ lwz r12, 0(r3) +/* 80335FAC 00332F0C EF A0 00 72 */ fmuls f29, f0, f1 +/* 80335FB0 00332F10 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80335FB4 00332F14 7D 89 03 A6 */ mtctr r12 +/* 80335FB8 00332F18 4E 80 04 21 */ bctrl +/* 80335FBC 00332F1C FC 20 E8 90 */ fmr f1, f29 +/* 80335FC0 00332F20 48 05 EB 1D */ bl sin +/* 80335FC4 00332F24 C0 81 00 10 */ lfs f4, 0x10(r1) +/* 80335FC8 00332F28 FC A0 08 18 */ frsp f5, f1 +/* 80335FCC 00332F2C C0 7D 00 14 */ lfs f3, 0x14(r29) +/* 80335FD0 00332F30 FC 20 E8 90 */ fmr f1, f29 +/* 80335FD4 00332F34 C0 5D 00 18 */ lfs f2, 0x18(r29) +/* 80335FD8 00332F38 C0 1D 00 1C */ lfs f0, 0x1c(r29) +/* 80335FDC 00332F3C EC 64 00 F2 */ fmuls f3, f4, f3 +/* 80335FE0 00332F40 EC 44 00 B2 */ fmuls f2, f4, f2 +/* 80335FE4 00332F44 EC 04 00 32 */ fmuls f0, f4, f0 +/* 80335FE8 00332F48 EF A5 00 F2 */ fmuls f29, f5, f3 +/* 80335FEC 00332F4C EF C5 00 B2 */ fmuls f30, f5, f2 +/* 80335FF0 00332F50 EF E5 00 32 */ fmuls f31, f5, f0 +/* 80335FF4 00332F54 48 05 E3 FD */ bl cos +/* 80335FF8 00332F58 C0 61 00 10 */ lfs f3, 0x10(r1) +/* 80335FFC 00332F5C FC C0 08 18 */ frsp f6, f1 +/* 80336000 00332F60 C0 1D 00 08 */ lfs f0, 8(r29) +/* 80336004 00332F64 38 60 00 00 */ li r3, 0 +/* 80336008 00332F68 C0 3D 00 0C */ lfs f1, 0xc(r29) +/* 8033600C 00332F6C EC 03 00 32 */ fmuls f0, f3, f0 +/* 80336010 00332F70 C0 5D 00 10 */ lfs f2, 0x10(r29) +/* 80336014 00332F74 EC 83 00 72 */ fmuls f4, f3, f1 +/* 80336018 00332F78 C0 21 00 14 */ lfs f1, 0x14(r1) +/* 8033601C 00332F7C EC 43 00 B2 */ fmuls f2, f3, f2 +/* 80336020 00332F80 C0 A1 00 18 */ lfs f5, 0x18(r1) +/* 80336024 00332F84 EC 06 00 32 */ fmuls f0, f6, f0 +/* 80336028 00332F88 C0 61 00 1C */ lfs f3, 0x1c(r1) +/* 8033602C 00332F8C EC 86 01 32 */ fmuls f4, f6, f4 +/* 80336030 00332F90 EC 46 00 B2 */ fmuls f2, f6, f2 +/* 80336034 00332F94 EC 01 00 2A */ fadds f0, f1, f0 +/* 80336038 00332F98 EC 85 20 2A */ fadds f4, f5, f4 +/* 8033603C 00332F9C EC 23 10 2A */ fadds f1, f3, f2 +/* 80336040 00332FA0 EC 00 E8 2A */ fadds f0, f0, f29 +/* 80336044 00332FA4 EC 44 F0 2A */ fadds f2, f4, f30 +/* 80336048 00332FA8 EC 21 F8 2A */ fadds f1, f1, f31 +/* 8033604C 00332FAC D0 1F 00 00 */ stfs f0, 0(r31) +/* 80336050 00332FB0 D0 5F 00 04 */ stfs f2, 4(r31) +/* 80336054 00332FB4 D0 3F 00 08 */ stfs f1, 8(r31) +/* 80336058 00332FB8 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 +/* 8033605C 00332FBC CB E1 00 60 */ lfd f31, 0x60(r1) +/* 80336060 00332FC0 E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 +/* 80336064 00332FC4 CB C1 00 50 */ lfd f30, 0x50(r1) +/* 80336068 00332FC8 E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0 +/* 8033606C 00332FCC CB A1 00 40 */ lfd f29, 0x40(r1) +/* 80336070 00332FD0 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80336074 00332FD4 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 80336078 00332FD8 80 01 00 74 */ lwz r0, 0x74(r1) +/* 8033607C 00332FDC 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 80336080 00332FE0 7C 08 03 A6 */ mtlr r0 +/* 80336084 00332FE4 38 21 00 70 */ addi r1, r1, 0x70 +/* 80336088 00332FE8 4E 80 00 20 */ blr + +.global __dt__9CVECircle +__dt__9CVECircle: +/* 8033608C 00332FEC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80336090 00332FF0 7C 08 02 A6 */ mflr r0 +/* 80336094 00332FF4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80336098 00332FF8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033609C 00332FFC 7C 9F 23 78 */ mr r31, r4 +/* 803360A0 00333000 93 C1 00 08 */ stw r30, 8(r1) +/* 803360A4 00333004 7C 7E 1B 79 */ or. r30, r3, r3 +/* 803360A8 00333008 41 82 00 C8 */ beq lbl_80336170 +/* 803360AC 0033300C 3C 60 80 3F */ lis r3, lbl_803EE290@ha +/* 803360B0 00333010 38 03 E2 90 */ addi r0, r3, lbl_803EE290@l +/* 803360B4 00333014 90 1E 00 00 */ stw r0, 0(r30) +/* 803360B8 00333018 80 7E 00 04 */ lwz r3, 4(r30) +/* 803360BC 0033301C 28 03 00 00 */ cmplwi r3, 0 +/* 803360C0 00333020 41 82 00 18 */ beq lbl_803360D8 +/* 803360C4 00333024 81 83 00 00 */ lwz r12, 0(r3) +/* 803360C8 00333028 38 80 00 01 */ li r4, 1 +/* 803360CC 0033302C 81 8C 00 08 */ lwz r12, 8(r12) +/* 803360D0 00333030 7D 89 03 A6 */ mtctr r12 +/* 803360D4 00333034 4E 80 04 21 */ bctrl +lbl_803360D8: +/* 803360D8 00333038 80 7E 00 20 */ lwz r3, 0x20(r30) +/* 803360DC 0033303C 28 03 00 00 */ cmplwi r3, 0 +/* 803360E0 00333040 41 82 00 18 */ beq lbl_803360F8 +/* 803360E4 00333044 81 83 00 00 */ lwz r12, 0(r3) +/* 803360E8 00333048 38 80 00 01 */ li r4, 1 +/* 803360EC 0033304C 81 8C 00 08 */ lwz r12, 8(r12) +/* 803360F0 00333050 7D 89 03 A6 */ mtctr r12 +/* 803360F4 00333054 4E 80 04 21 */ bctrl +lbl_803360F8: +/* 803360F8 00333058 80 7E 00 24 */ lwz r3, 0x24(r30) +/* 803360FC 0033305C 28 03 00 00 */ cmplwi r3, 0 +/* 80336100 00333060 41 82 00 18 */ beq lbl_80336118 +/* 80336104 00333064 81 83 00 00 */ lwz r12, 0(r3) +/* 80336108 00333068 38 80 00 01 */ li r4, 1 +/* 8033610C 0033306C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80336110 00333070 7D 89 03 A6 */ mtctr r12 +/* 80336114 00333074 4E 80 04 21 */ bctrl +lbl_80336118: +/* 80336118 00333078 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 8033611C 0033307C 28 03 00 00 */ cmplwi r3, 0 +/* 80336120 00333080 41 82 00 18 */ beq lbl_80336138 +/* 80336124 00333084 81 83 00 00 */ lwz r12, 0(r3) +/* 80336128 00333088 38 80 00 01 */ li r4, 1 +/* 8033612C 0033308C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80336130 00333090 7D 89 03 A6 */ mtctr r12 +/* 80336134 00333094 4E 80 04 21 */ bctrl +lbl_80336138: +/* 80336138 00333098 28 1E 00 00 */ cmplwi r30, 0 +/* 8033613C 0033309C 41 82 00 20 */ beq lbl_8033615C +/* 80336140 003330A0 3C 60 80 3F */ lis r3, lbl_803EC594@ha +/* 80336144 003330A4 38 03 C5 94 */ addi r0, r3, lbl_803EC594@l +/* 80336148 003330A8 90 1E 00 00 */ stw r0, 0(r30) +/* 8033614C 003330AC 41 82 00 10 */ beq lbl_8033615C +/* 80336150 003330B0 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80336154 003330B4 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80336158 003330B8 90 1E 00 00 */ stw r0, 0(r30) +lbl_8033615C: +/* 8033615C 003330BC 7F E0 07 35 */ extsh. r0, r31 +/* 80336160 003330C0 40 81 00 10 */ ble lbl_80336170 +/* 80336164 003330C4 7F C3 F3 78 */ mr r3, r30 +/* 80336168 003330C8 38 80 00 2C */ li r4, 0x2c +/* 8033616C 003330CC 48 03 68 F9 */ bl sub_8036ca64 +lbl_80336170: +/* 80336170 003330D0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80336174 003330D4 7F C3 F3 78 */ mr r3, r30 +/* 80336178 003330D8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033617C 003330DC 83 C1 00 08 */ lwz r30, 8(r1) +/* 80336180 003330E0 7C 08 03 A6 */ mtlr r0 +/* 80336184 003330E4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80336188 003330E8 4E 80 00 20 */ blr + +.global __ct__9CVECircleFP14CVectorElementP14CVectorElementP12CRealElementP12CRealElementP12CRealElement +__ct__9CVECircleFP14CVectorElementP14CVectorElementP12CRealElementP12CRealElementP12CRealElement: +/* 8033618C 003330EC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80336190 003330F0 7C 08 02 A6 */ mflr r0 +/* 80336194 003330F4 C0 02 CB 54 */ lfs f0, lbl_805AE874@sda21(r2) +/* 80336198 003330F8 90 01 00 34 */ stw r0, 0x34(r1) +/* 8033619C 003330FC 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 803361A0 00333100 7C BF 2B 78 */ mr r31, r5 +/* 803361A4 00333104 93 C1 00 28 */ stw r30, 0x28(r1) +/* 803361A8 00333108 7C 7E 1B 78 */ mr r30, r3 +/* 803361AC 0033310C 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 803361B0 00333110 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 803361B4 00333114 7F C9 F3 78 */ mr r9, r30 +/* 803361B8 00333118 3C 60 80 3F */ lis r3, lbl_803EC594@ha +/* 803361BC 0033311C 90 1E 00 00 */ stw r0, 0(r30) +/* 803361C0 00333120 38 03 C5 94 */ addi r0, r3, lbl_803EC594@l +/* 803361C4 00333124 7D 25 4B 78 */ mr r5, r9 +/* 803361C8 00333128 3C 60 80 3F */ lis r3, lbl_803EE290@ha +/* 803361CC 0033312C 90 09 00 00 */ stw r0, 0(r9) +/* 803361D0 00333130 38 03 E2 90 */ addi r0, r3, lbl_803EE290@l +/* 803361D4 00333134 38 A1 00 14 */ addi r5, r1, 0x14 +/* 803361D8 00333138 90 1E 00 00 */ stw r0, 0(r30) +/* 803361DC 0033313C 3C 60 80 5A */ lis r3, skZero3f@ha +/* 803361E0 00333140 39 23 66 A0 */ addi r9, r3, skZero3f@l +/* 803361E4 00333144 90 9E 00 04 */ stw r4, 4(r30) +/* 803361E8 00333148 7F E3 FB 78 */ mr r3, r31 +/* 803361EC 0033314C 38 80 00 00 */ li r4, 0 +/* 803361F0 00333150 C0 29 00 00 */ lfs f1, 0(r9) +/* 803361F4 00333154 D0 3E 00 08 */ stfs f1, 8(r30) +/* 803361F8 00333158 C0 29 00 04 */ lfs f1, 4(r9) +/* 803361FC 0033315C D0 3E 00 0C */ stfs f1, 0xc(r30) +/* 80336200 00333160 C0 29 00 08 */ lfs f1, 8(r9) +/* 80336204 00333164 D0 3E 00 10 */ stfs f1, 0x10(r30) +/* 80336208 00333168 C0 29 00 00 */ lfs f1, 0(r9) +/* 8033620C 0033316C D0 3E 00 14 */ stfs f1, 0x14(r30) +/* 80336210 00333170 C0 29 00 04 */ lfs f1, 4(r9) +/* 80336214 00333174 D0 3E 00 18 */ stfs f1, 0x18(r30) +/* 80336218 00333178 C0 29 00 08 */ lfs f1, 8(r9) +/* 8033621C 0033317C D0 3E 00 1C */ stfs f1, 0x1c(r30) +/* 80336220 00333180 90 DE 00 20 */ stw r6, 0x20(r30) +/* 80336224 00333184 90 FE 00 24 */ stw r7, 0x24(r30) +/* 80336228 00333188 91 1E 00 28 */ stw r8, 0x28(r30) +/* 8033622C 0033318C D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80336230 00333190 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 80336234 00333194 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 80336238 00333198 81 9F 00 00 */ lwz r12, 0(r31) +/* 8033623C 0033319C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80336240 003331A0 7D 89 03 A6 */ mtctr r12 +/* 80336244 003331A4 4E 80 04 21 */ bctrl +/* 80336248 003331A8 38 61 00 08 */ addi r3, r1, 8 +/* 8033624C 003331AC 38 81 00 14 */ addi r4, r1, 0x14 +/* 80336250 003331B0 4B FD E6 01 */ bl AsNormalized__9CVector3fCFv +/* 80336254 003331B4 C1 01 00 08 */ lfs f8, 8(r1) +/* 80336258 003331B8 C0 02 CB 70 */ lfs f0, lbl_805AE890@sda21(r2) +/* 8033625C 003331BC C0 C1 00 0C */ lfs f6, 0xc(r1) +/* 80336260 003331C0 FC 08 00 40 */ fcmpo cr0, f8, f0 +/* 80336264 003331C4 C0 E1 00 10 */ lfs f7, 0x10(r1) +/* 80336268 003331C8 40 81 00 34 */ ble lbl_8033629C +/* 8033626C 003331CC C0 62 CB 58 */ lfs f3, lbl_805AE878@sda21(r2) +/* 80336270 003331D0 C0 82 CB 54 */ lfs f4, lbl_805AE874@sda21(r2) +/* 80336274 003331D4 EC 43 01 F2 */ fmuls f2, f3, f7 +/* 80336278 003331D8 EC 24 02 32 */ fmuls f1, f4, f8 +/* 8033627C 003331DC EC 04 01 B2 */ fmuls f0, f4, f6 +/* 80336280 003331E0 EC 46 11 38 */ fmsubs f2, f6, f4, f2 +/* 80336284 003331E4 EC 27 09 38 */ fmsubs f1, f7, f4, f1 +/* 80336288 003331E8 EC 08 00 F8 */ fmsubs f0, f8, f3, f0 +/* 8033628C 003331EC D0 5E 00 08 */ stfs f2, 8(r30) +/* 80336290 003331F0 D0 3E 00 0C */ stfs f1, 0xc(r30) +/* 80336294 003331F4 D0 1E 00 10 */ stfs f0, 0x10(r30) +/* 80336298 003331F8 48 00 00 30 */ b lbl_803362C8 +lbl_8033629C: +/* 8033629C 003331FC C0 82 CB 54 */ lfs f4, lbl_805AE874@sda21(r2) +/* 803362A0 00333200 C0 42 CB 58 */ lfs f2, lbl_805AE878@sda21(r2) +/* 803362A4 00333204 EC 64 01 F2 */ fmuls f3, f4, f7 +/* 803362A8 00333208 EC 24 02 32 */ fmuls f1, f4, f8 +/* 803362AC 0033320C EC 02 01 B2 */ fmuls f0, f2, f6 +/* 803362B0 00333210 EC 66 19 38 */ fmsubs f3, f6, f4, f3 +/* 803362B4 00333214 EC 27 08 B8 */ fmsubs f1, f7, f2, f1 +/* 803362B8 00333218 EC 08 01 38 */ fmsubs f0, f8, f4, f0 +/* 803362BC 0033321C D0 7E 00 08 */ stfs f3, 8(r30) +/* 803362C0 00333220 D0 3E 00 0C */ stfs f1, 0xc(r30) +/* 803362C4 00333224 D0 1E 00 10 */ stfs f0, 0x10(r30) +lbl_803362C8: +/* 803362C8 00333228 C0 9E 00 0C */ lfs f4, 0xc(r30) +/* 803362CC 0033322C 28 1F 00 00 */ cmplwi r31, 0 +/* 803362D0 00333230 C0 BE 00 10 */ lfs f5, 0x10(r30) +/* 803362D4 00333234 EC 44 01 F2 */ fmuls f2, f4, f7 +/* 803362D8 00333238 C0 7E 00 08 */ lfs f3, 8(r30) +/* 803362DC 0033323C EC 25 02 32 */ fmuls f1, f5, f8 +/* 803362E0 00333240 EC 03 01 B2 */ fmuls f0, f3, f6 +/* 803362E4 00333244 EC 46 11 78 */ fmsubs f2, f6, f5, f2 +/* 803362E8 00333248 EC 27 08 F8 */ fmsubs f1, f7, f3, f1 +/* 803362EC 0033324C EC 08 01 38 */ fmsubs f0, f8, f4, f0 +/* 803362F0 00333250 D0 5E 00 14 */ stfs f2, 0x14(r30) +/* 803362F4 00333254 D0 3E 00 18 */ stfs f1, 0x18(r30) +/* 803362F8 00333258 D0 1E 00 1C */ stfs f0, 0x1c(r30) +/* 803362FC 0033325C 41 82 00 1C */ beq lbl_80336318 +/* 80336300 00333260 7F E3 FB 78 */ mr r3, r31 +/* 80336304 00333264 38 80 00 01 */ li r4, 1 +/* 80336308 00333268 81 9F 00 00 */ lwz r12, 0(r31) +/* 8033630C 0033326C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80336310 00333270 7D 89 03 A6 */ mtctr r12 +/* 80336314 00333274 4E 80 04 21 */ bctrl +lbl_80336318: +/* 80336318 00333278 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8033631C 0033327C 7F C3 F3 78 */ mr r3, r30 +/* 80336320 00333280 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80336324 00333284 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80336328 00333288 7C 08 03 A6 */ mtlr r0 +/* 8033632C 0033328C 38 21 00 30 */ addi r1, r1, 0x30 +/* 80336330 00333290 4E 80 00 20 */ blr + +.global GetValue__12CVEAngleConeCFiR9CVector3f +GetValue__12CVEAngleConeCFiR9CVector3f: +/* 80336334 00333294 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80336338 00333298 7C 08 02 A6 */ mflr r0 +/* 8033633C 0033329C 90 01 00 64 */ stw r0, 0x64(r1) +/* 80336340 003332A0 DB E1 00 50 */ stfd f31, 0x50(r1) +/* 80336344 003332A4 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 +/* 80336348 003332A8 DB C1 00 40 */ stfd f30, 0x40(r1) +/* 8033634C 003332AC F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 +/* 80336350 003332B0 DB A1 00 30 */ stfd f29, 0x30(r1) +/* 80336354 003332B4 F3 A1 00 38 */ psq_st f29, 56(r1), 0, qr0 +/* 80336358 003332B8 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8033635C 003332BC 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80336360 003332C0 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80336364 003332C4 7C 7D 1B 78 */ mr r29, r3 +/* 80336368 003332C8 7C BF 2B 78 */ mr r31, r5 +/* 8033636C 003332CC 80 63 00 04 */ lwz r3, 4(r3) +/* 80336370 003332D0 7C 9E 23 78 */ mr r30, r4 +/* 80336374 003332D4 38 A1 00 18 */ addi r5, r1, 0x18 +/* 80336378 003332D8 81 83 00 00 */ lwz r12, 0(r3) +/* 8033637C 003332DC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80336380 003332E0 7D 89 03 A6 */ mtctr r12 +/* 80336384 003332E4 4E 80 04 21 */ bctrl +/* 80336388 003332E8 80 7D 00 08 */ lwz r3, 8(r29) +/* 8033638C 003332EC 7F C4 F3 78 */ mr r4, r30 +/* 80336390 003332F0 38 A1 00 10 */ addi r5, r1, 0x10 +/* 80336394 003332F4 81 83 00 00 */ lwz r12, 0(r3) +/* 80336398 003332F8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8033639C 003332FC 7D 89 03 A6 */ mtctr r12 +/* 803363A0 00333300 4E 80 04 21 */ bctrl +/* 803363A4 00333304 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 803363A8 00333308 7F C4 F3 78 */ mr r4, r30 +/* 803363AC 0033330C 38 A1 00 14 */ addi r5, r1, 0x14 +/* 803363B0 00333310 81 83 00 00 */ lwz r12, 0(r3) +/* 803363B4 00333314 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803363B8 00333318 7D 89 03 A6 */ mtctr r12 +/* 803363BC 0033331C 4E 80 04 21 */ bctrl +/* 803363C0 00333320 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 803363C4 00333324 7F C4 F3 78 */ mr r4, r30 +/* 803363C8 00333328 38 A1 00 0C */ addi r5, r1, 0xc +/* 803363CC 0033332C 81 83 00 00 */ lwz r12, 0(r3) +/* 803363D0 00333330 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803363D4 00333334 7D 89 03 A6 */ mtctr r12 +/* 803363D8 00333338 4E 80 04 21 */ bctrl +/* 803363DC 0033333C C3 A1 00 14 */ lfs f29, 0x14(r1) +/* 803363E0 00333340 4B FD C2 1D */ bl GetRandomNumber__9CRandom16Fv +/* 803363E4 00333344 4B FD C0 F9 */ bl Float__9CRandom16Fv +/* 803363E8 00333348 EC 7D 00 72 */ fmuls f3, f29, f1 +/* 803363EC 0033334C C0 42 CB 74 */ lfs f2, lbl_805AE894@sda21(r2) +/* 803363F0 00333350 C0 21 00 18 */ lfs f1, 0x18(r1) +/* 803363F4 00333354 C0 02 CB 68 */ lfs f0, lbl_805AE888@sda21(r2) +/* 803363F8 00333358 EC 42 1F 78 */ fmsubs f2, f2, f29, f3 +/* 803363FC 0033335C C3 A1 00 0C */ lfs f29, 0xc(r1) +/* 80336400 00333360 EC 21 10 2A */ fadds f1, f1, f2 +/* 80336404 00333364 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80336408 00333368 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 8033640C 0033336C D0 01 00 18 */ stfs f0, 0x18(r1) +/* 80336410 00333370 4B FD C1 ED */ bl GetRandomNumber__9CRandom16Fv +/* 80336414 00333374 4B FD C0 C9 */ bl Float__9CRandom16Fv +/* 80336418 00333378 EC 7D 00 72 */ fmuls f3, f29, f1 +/* 8033641C 0033337C C0 42 CB 74 */ lfs f2, lbl_805AE894@sda21(r2) +/* 80336420 00333380 C0 21 00 10 */ lfs f1, 0x10(r1) +/* 80336424 00333384 C0 02 CB 68 */ lfs f0, lbl_805AE888@sda21(r2) +/* 80336428 00333388 EC 42 1F 78 */ fmsubs f2, f2, f29, f3 +/* 8033642C 0033338C EC 41 10 2A */ fadds f2, f1, f2 +/* 80336430 00333390 EC 22 00 32 */ fmuls f1, f2, f0 +/* 80336434 00333394 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 80336438 00333398 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 8033643C 0033339C 4B FD E9 09 */ bl FastCosR__5CMathFf +/* 80336440 003333A0 FF C0 08 90 */ fmr f30, f1 +/* 80336444 003333A4 C0 21 00 18 */ lfs f1, 0x18(r1) +/* 80336448 003333A8 4B FD E8 FD */ bl FastCosR__5CMathFf +/* 8033644C 003333AC EF A1 07 B2 */ fmuls f29, f1, f30 +/* 80336450 003333B0 C0 21 00 18 */ lfs f1, 0x18(r1) +/* 80336454 003333B4 4B FD E9 9D */ bl FastSinR__5CMathFf +/* 80336458 003333B8 FF C0 08 90 */ fmr f30, f1 +/* 8033645C 003333BC C0 21 00 18 */ lfs f1, 0x18(r1) +/* 80336460 003333C0 4B FD E8 E5 */ bl FastCosR__5CMathFf +/* 80336464 003333C4 FF E0 08 90 */ fmr f31, f1 +/* 80336468 003333C8 C0 21 00 10 */ lfs f1, 0x10(r1) +/* 8033646C 003333CC 4B FD E9 85 */ bl FastSinR__5CMathFf +/* 80336470 003333D0 C0 02 CB 54 */ lfs f0, lbl_805AE874@sda21(r2) +/* 80336474 003333D4 FC 20 08 50 */ fneg f1, f1 +/* 80336478 003333D8 80 7D 00 14 */ lwz r3, 0x14(r29) +/* 8033647C 003333DC 7F C4 F3 78 */ mr r4, r30 +/* 80336480 003333E0 D0 01 00 08 */ stfs f0, 8(r1) +/* 80336484 003333E4 38 A1 00 08 */ addi r5, r1, 8 +/* 80336488 003333E8 EF E1 07 F2 */ fmuls f31, f1, f31 +/* 8033648C 003333EC 81 83 00 00 */ lwz r12, 0(r3) +/* 80336490 003333F0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80336494 003333F4 7D 89 03 A6 */ mtctr r12 +/* 80336498 003333F8 4E 80 04 21 */ bctrl +/* 8033649C 003333FC C0 01 00 08 */ lfs f0, 8(r1) +/* 803364A0 00333400 38 60 00 00 */ li r3, 0 +/* 803364A4 00333404 EC 40 07 F2 */ fmuls f2, f0, f31 +/* 803364A8 00333408 EC 20 07 B2 */ fmuls f1, f0, f30 +/* 803364AC 0033340C EC 00 07 72 */ fmuls f0, f0, f29 +/* 803364B0 00333410 D0 5F 00 00 */ stfs f2, 0(r31) +/* 803364B4 00333414 D0 3F 00 04 */ stfs f1, 4(r31) +/* 803364B8 00333418 D0 1F 00 08 */ stfs f0, 8(r31) +/* 803364BC 0033341C E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 +/* 803364C0 00333420 CB E1 00 50 */ lfd f31, 0x50(r1) +/* 803364C4 00333424 E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 +/* 803364C8 00333428 CB C1 00 40 */ lfd f30, 0x40(r1) +/* 803364CC 0033342C E3 A1 00 38 */ psq_l f29, 56(r1), 0, qr0 +/* 803364D0 00333430 CB A1 00 30 */ lfd f29, 0x30(r1) +/* 803364D4 00333434 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 803364D8 00333438 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 803364DC 0033343C 80 01 00 64 */ lwz r0, 0x64(r1) +/* 803364E0 00333440 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 803364E4 00333444 7C 08 03 A6 */ mtlr r0 +/* 803364E8 00333448 38 21 00 60 */ addi r1, r1, 0x60 +/* 803364EC 0033344C 4E 80 00 20 */ blr + +.global __dt__12CVEAngleCone +__dt__12CVEAngleCone: +/* 803364F0 00333450 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803364F4 00333454 7C 08 02 A6 */ mflr r0 +/* 803364F8 00333458 90 01 00 14 */ stw r0, 0x14(r1) +/* 803364FC 0033345C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80336500 00333460 7C 9F 23 78 */ mr r31, r4 +/* 80336504 00333464 93 C1 00 08 */ stw r30, 8(r1) +/* 80336508 00333468 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8033650C 0033346C 41 82 00 E8 */ beq lbl_803365F4 +/* 80336510 00333470 3C 60 80 3F */ lis r3, lbl_803EE2A4@ha +/* 80336514 00333474 38 03 E2 A4 */ addi r0, r3, lbl_803EE2A4@l +/* 80336518 00333478 90 1E 00 00 */ stw r0, 0(r30) +/* 8033651C 0033347C 80 7E 00 04 */ lwz r3, 4(r30) +/* 80336520 00333480 28 03 00 00 */ cmplwi r3, 0 +/* 80336524 00333484 41 82 00 18 */ beq lbl_8033653C +/* 80336528 00333488 81 83 00 00 */ lwz r12, 0(r3) +/* 8033652C 0033348C 38 80 00 01 */ li r4, 1 +/* 80336530 00333490 81 8C 00 08 */ lwz r12, 8(r12) +/* 80336534 00333494 7D 89 03 A6 */ mtctr r12 +/* 80336538 00333498 4E 80 04 21 */ bctrl +lbl_8033653C: +/* 8033653C 0033349C 80 7E 00 08 */ lwz r3, 8(r30) +/* 80336540 003334A0 28 03 00 00 */ cmplwi r3, 0 +/* 80336544 003334A4 41 82 00 18 */ beq lbl_8033655C +/* 80336548 003334A8 81 83 00 00 */ lwz r12, 0(r3) +/* 8033654C 003334AC 38 80 00 01 */ li r4, 1 +/* 80336550 003334B0 81 8C 00 08 */ lwz r12, 8(r12) +/* 80336554 003334B4 7D 89 03 A6 */ mtctr r12 +/* 80336558 003334B8 4E 80 04 21 */ bctrl +lbl_8033655C: +/* 8033655C 003334BC 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80336560 003334C0 28 03 00 00 */ cmplwi r3, 0 +/* 80336564 003334C4 41 82 00 18 */ beq lbl_8033657C +/* 80336568 003334C8 81 83 00 00 */ lwz r12, 0(r3) +/* 8033656C 003334CC 38 80 00 01 */ li r4, 1 +/* 80336570 003334D0 81 8C 00 08 */ lwz r12, 8(r12) +/* 80336574 003334D4 7D 89 03 A6 */ mtctr r12 +/* 80336578 003334D8 4E 80 04 21 */ bctrl +lbl_8033657C: +/* 8033657C 003334DC 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 80336580 003334E0 28 03 00 00 */ cmplwi r3, 0 +/* 80336584 003334E4 41 82 00 18 */ beq lbl_8033659C +/* 80336588 003334E8 81 83 00 00 */ lwz r12, 0(r3) +/* 8033658C 003334EC 38 80 00 01 */ li r4, 1 +/* 80336590 003334F0 81 8C 00 08 */ lwz r12, 8(r12) +/* 80336594 003334F4 7D 89 03 A6 */ mtctr r12 +/* 80336598 003334F8 4E 80 04 21 */ bctrl +lbl_8033659C: +/* 8033659C 003334FC 80 7E 00 14 */ lwz r3, 0x14(r30) +/* 803365A0 00333500 28 03 00 00 */ cmplwi r3, 0 +/* 803365A4 00333504 41 82 00 18 */ beq lbl_803365BC +/* 803365A8 00333508 81 83 00 00 */ lwz r12, 0(r3) +/* 803365AC 0033350C 38 80 00 01 */ li r4, 1 +/* 803365B0 00333510 81 8C 00 08 */ lwz r12, 8(r12) +/* 803365B4 00333514 7D 89 03 A6 */ mtctr r12 +/* 803365B8 00333518 4E 80 04 21 */ bctrl +lbl_803365BC: +/* 803365BC 0033351C 28 1E 00 00 */ cmplwi r30, 0 +/* 803365C0 00333520 41 82 00 20 */ beq lbl_803365E0 +/* 803365C4 00333524 3C 60 80 3F */ lis r3, lbl_803EC594@ha +/* 803365C8 00333528 38 03 C5 94 */ addi r0, r3, lbl_803EC594@l +/* 803365CC 0033352C 90 1E 00 00 */ stw r0, 0(r30) +/* 803365D0 00333530 41 82 00 10 */ beq lbl_803365E0 +/* 803365D4 00333534 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 803365D8 00333538 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 803365DC 0033353C 90 1E 00 00 */ stw r0, 0(r30) +lbl_803365E0: +/* 803365E0 00333540 7F E0 07 35 */ extsh. r0, r31 +/* 803365E4 00333544 40 81 00 10 */ ble lbl_803365F4 +/* 803365E8 00333548 7F C3 F3 78 */ mr r3, r30 +/* 803365EC 0033354C 38 80 00 18 */ li r4, 0x18 +/* 803365F0 00333550 48 03 64 75 */ bl sub_8036ca64 +lbl_803365F4: +/* 803365F4 00333554 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803365F8 00333558 7F C3 F3 78 */ mr r3, r30 +/* 803365FC 0033355C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80336600 00333560 83 C1 00 08 */ lwz r30, 8(r1) +/* 80336604 00333564 7C 08 03 A6 */ mtlr r0 +/* 80336608 00333568 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033660C 0033356C 4E 80 00 20 */ blr + +.global __ct__12CVEAngleConeFP12CRealElementP12CRealElementP12CRealElementP12CRealElementP12CRealElement +__ct__12CVEAngleConeFP12CRealElementP12CRealElementP12CRealElementP12CRealElementP12CRealElement: +/* 80336610 00333570 3D 60 80 3F */ lis r11, lbl_803EC5A8@ha +/* 80336614 00333574 3D 40 80 3F */ lis r10, lbl_803EC594@ha +/* 80336618 00333578 38 0B C5 A8 */ addi r0, r11, lbl_803EC5A8@l +/* 8033661C 0033357C 3D 20 80 3F */ lis r9, lbl_803EE2A4@ha +/* 80336620 00333580 90 03 00 00 */ stw r0, 0(r3) +/* 80336624 00333584 39 4A C5 94 */ addi r10, r10, lbl_803EC594@l +/* 80336628 00333588 38 09 E2 A4 */ addi r0, r9, lbl_803EE2A4@l +/* 8033662C 0033358C 91 43 00 00 */ stw r10, 0(r3) +/* 80336630 00333590 90 03 00 00 */ stw r0, 0(r3) +/* 80336634 00333594 90 83 00 04 */ stw r4, 4(r3) +/* 80336638 00333598 90 A3 00 08 */ stw r5, 8(r3) +/* 8033663C 0033359C 90 C3 00 0C */ stw r6, 0xc(r3) +/* 80336640 003335A0 90 E3 00 10 */ stw r7, 0x10(r3) +/* 80336644 003335A4 91 03 00 14 */ stw r8, 0x14(r3) +/* 80336648 003335A8 4E 80 00 20 */ blr + +.global GetValue__7CVEConeCFiR9CVector3f +GetValue__7CVEConeCFiR9CVector3f: +/* 8033664C 003335AC 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 80336650 003335B0 7C 08 02 A6 */ mflr r0 +/* 80336654 003335B4 90 01 00 74 */ stw r0, 0x74(r1) +/* 80336658 003335B8 DB E1 00 60 */ stfd f31, 0x60(r1) +/* 8033665C 003335BC F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 +/* 80336660 003335C0 DB C1 00 50 */ stfd f30, 0x50(r1) +/* 80336664 003335C4 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 +/* 80336668 003335C8 DB A1 00 40 */ stfd f29, 0x40(r1) +/* 8033666C 003335CC F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0 +/* 80336670 003335D0 DB 81 00 30 */ stfd f28, 0x30(r1) +/* 80336674 003335D4 F3 81 00 38 */ psq_st f28, 56(r1), 0, qr0 +/* 80336678 003335D8 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8033667C 003335DC 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80336680 003335E0 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80336684 003335E4 C0 02 CB 54 */ lfs f0, lbl_805AE874@sda21(r2) +/* 80336688 003335E8 7C 7D 1B 78 */ mr r29, r3 +/* 8033668C 003335EC 7C BF 2B 78 */ mr r31, r5 +/* 80336690 003335F0 80 63 00 08 */ lwz r3, 8(r3) +/* 80336694 003335F4 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 80336698 003335F8 7C 9E 23 78 */ mr r30, r4 +/* 8033669C 003335FC 38 A1 00 08 */ addi r5, r1, 8 +/* 803366A0 00333600 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 803366A4 00333604 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 803366A8 00333608 81 83 00 00 */ lwz r12, 0(r3) +/* 803366AC 0033360C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803366B0 00333610 7D 89 03 A6 */ mtctr r12 +/* 803366B4 00333614 4E 80 04 21 */ bctrl +/* 803366B8 00333618 80 7D 00 04 */ lwz r3, 4(r29) +/* 803366BC 0033361C 7F C4 F3 78 */ mr r4, r30 +/* 803366C0 00333620 38 A1 00 0C */ addi r5, r1, 0xc +/* 803366C4 00333624 81 83 00 00 */ lwz r12, 0(r3) +/* 803366C8 00333628 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 803366CC 0033362C 7D 89 03 A6 */ mtctr r12 +/* 803366D0 00333630 4E 80 04 21 */ bctrl +/* 803366D4 00333634 C0 21 00 08 */ lfs f1, 8(r1) +/* 803366D8 00333638 C0 0D 9D 38 */ lfs f0, lbl_805A88F8@sda21(r13) +/* 803366DC 0033363C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 803366E0 00333640 40 80 00 0C */ bge lbl_803366EC +/* 803366E4 00333644 38 61 00 08 */ addi r3, r1, 8 +/* 803366E8 00333648 48 00 00 08 */ b lbl_803366F0 +lbl_803366EC: +/* 803366EC 0033364C 38 6D 9D 38 */ addi r3, r13, lbl_805A88F8@sda21 +lbl_803366F0: +/* 803366F0 00333650 C0 03 00 00 */ lfs f0, 0(r3) +/* 803366F4 00333654 C3 82 CB 74 */ lfs f28, lbl_805AE894@sda21(r2) +/* 803366F8 00333658 D0 01 00 08 */ stfs f0, 8(r1) +/* 803366FC 0033365C C3 A2 CB 78 */ lfs f29, lbl_805AE898@sda21(r2) +/* 80336700 00333660 C3 C2 CB 58 */ lfs f30, lbl_805AE878@sda21(r2) +lbl_80336704: +/* 80336704 00333664 4B FD BE F9 */ bl GetRandomNumber__9CRandom16Fv +/* 80336708 00333668 4B FD BD D5 */ bl Float__9CRandom16Fv +/* 8033670C 0033366C C0 01 00 08 */ lfs f0, 8(r1) +/* 80336710 00333670 EC 21 E0 28 */ fsubs f1, f1, f28 +/* 80336714 00333674 EC 1D 00 32 */ fmuls f0, f29, f0 +/* 80336718 00333678 EF E0 00 72 */ fmuls f31, f0, f1 +/* 8033671C 0033367C 4B FD BE E1 */ bl GetRandomNumber__9CRandom16Fv +/* 80336720 00333680 4B FD BD BD */ bl Float__9CRandom16Fv +/* 80336724 00333684 C0 01 00 08 */ lfs f0, 8(r1) +/* 80336728 00333688 EC 21 E0 28 */ fsubs f1, f1, f28 +/* 8033672C 0033368C EC 1D 00 32 */ fmuls f0, f29, f0 +/* 80336730 00333690 ED 00 00 72 */ fmuls f8, f0, f1 +/* 80336734 00333694 EC 08 02 32 */ fmuls f0, f8, f8 +/* 80336738 00333698 EC 1F 07 FA */ fmadds f0, f31, f31, f0 +/* 8033673C 0033369C FC 00 F0 40 */ fcmpo cr0, f0, f30 +/* 80336740 003336A0 41 81 FF C4 */ bgt lbl_80336704 +/* 80336744 003336A4 C0 1D 00 0C */ lfs f0, 0xc(r29) +/* 80336748 003336A8 38 60 00 00 */ li r3, 0 +/* 8033674C 003336AC C0 7D 00 10 */ lfs f3, 0x10(r29) +/* 80336750 003336B0 EC 3F 00 32 */ fmuls f1, f31, f0 +/* 80336754 003336B4 C0 41 00 0C */ lfs f2, 0xc(r1) +/* 80336758 003336B8 C0 1D 00 18 */ lfs f0, 0x18(r29) +/* 8033675C 003336BC EC DF 00 F2 */ fmuls f6, f31, f3 +/* 80336760 003336C0 C0 7D 00 14 */ lfs f3, 0x14(r29) +/* 80336764 003336C4 C0 E1 00 10 */ lfs f7, 0x10(r1) +/* 80336768 003336C8 C0 BD 00 1C */ lfs f5, 0x1c(r29) +/* 8033676C 003336CC EC 22 08 2A */ fadds f1, f2, f1 +/* 80336770 003336D0 EC 08 00 32 */ fmuls f0, f8, f0 +/* 80336774 003336D4 C0 5D 00 20 */ lfs f2, 0x20(r29) +/* 80336778 003336D8 EC 7F 00 F2 */ fmuls f3, f31, f3 +/* 8033677C 003336DC C0 81 00 14 */ lfs f4, 0x14(r1) +/* 80336780 003336E0 EC C7 30 2A */ fadds f6, f7, f6 +/* 80336784 003336E4 EC A8 01 72 */ fmuls f5, f8, f5 +/* 80336788 003336E8 EC 01 00 2A */ fadds f0, f1, f0 +/* 8033678C 003336EC EC 64 18 2A */ fadds f3, f4, f3 +/* 80336790 003336F0 EC 28 00 B2 */ fmuls f1, f8, f2 +/* 80336794 003336F4 EC 46 28 2A */ fadds f2, f6, f5 +/* 80336798 003336F8 D0 1F 00 00 */ stfs f0, 0(r31) +/* 8033679C 003336FC EC 03 08 2A */ fadds f0, f3, f1 +/* 803367A0 00333700 D0 5F 00 04 */ stfs f2, 4(r31) +/* 803367A4 00333704 D0 1F 00 08 */ stfs f0, 8(r31) +/* 803367A8 00333708 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 +/* 803367AC 0033370C CB E1 00 60 */ lfd f31, 0x60(r1) +/* 803367B0 00333710 E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 +/* 803367B4 00333714 CB C1 00 50 */ lfd f30, 0x50(r1) +/* 803367B8 00333718 E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0 +/* 803367BC 0033371C CB A1 00 40 */ lfd f29, 0x40(r1) +/* 803367C0 00333720 E3 81 00 38 */ psq_l f28, 56(r1), 0, qr0 +/* 803367C4 00333724 CB 81 00 30 */ lfd f28, 0x30(r1) +/* 803367C8 00333728 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 803367CC 0033372C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 803367D0 00333730 80 01 00 74 */ lwz r0, 0x74(r1) +/* 803367D4 00333734 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 803367D8 00333738 7C 08 03 A6 */ mtlr r0 +/* 803367DC 0033373C 38 21 00 70 */ addi r1, r1, 0x70 +/* 803367E0 00333740 4E 80 00 20 */ blr + +.global __dt__7CVECone +__dt__7CVECone: +/* 803367E4 00333744 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803367E8 00333748 7C 08 02 A6 */ mflr r0 +/* 803367EC 0033374C 90 01 00 14 */ stw r0, 0x14(r1) +/* 803367F0 00333750 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803367F4 00333754 7C 9F 23 78 */ mr r31, r4 +/* 803367F8 00333758 93 C1 00 08 */ stw r30, 8(r1) +/* 803367FC 0033375C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80336800 00333760 41 82 00 88 */ beq lbl_80336888 +/* 80336804 00333764 3C 60 80 3F */ lis r3, lbl_803EE2B8@ha +/* 80336808 00333768 38 03 E2 B8 */ addi r0, r3, lbl_803EE2B8@l +/* 8033680C 0033376C 90 1E 00 00 */ stw r0, 0(r30) +/* 80336810 00333770 80 7E 00 04 */ lwz r3, 4(r30) +/* 80336814 00333774 28 03 00 00 */ cmplwi r3, 0 +/* 80336818 00333778 41 82 00 18 */ beq lbl_80336830 +/* 8033681C 0033377C 81 83 00 00 */ lwz r12, 0(r3) +/* 80336820 00333780 38 80 00 01 */ li r4, 1 +/* 80336824 00333784 81 8C 00 08 */ lwz r12, 8(r12) +/* 80336828 00333788 7D 89 03 A6 */ mtctr r12 +/* 8033682C 0033378C 4E 80 04 21 */ bctrl +lbl_80336830: +/* 80336830 00333790 80 7E 00 08 */ lwz r3, 8(r30) +/* 80336834 00333794 28 03 00 00 */ cmplwi r3, 0 +/* 80336838 00333798 41 82 00 18 */ beq lbl_80336850 +/* 8033683C 0033379C 81 83 00 00 */ lwz r12, 0(r3) +/* 80336840 003337A0 38 80 00 01 */ li r4, 1 +/* 80336844 003337A4 81 8C 00 08 */ lwz r12, 8(r12) +/* 80336848 003337A8 7D 89 03 A6 */ mtctr r12 +/* 8033684C 003337AC 4E 80 04 21 */ bctrl +lbl_80336850: +/* 80336850 003337B0 28 1E 00 00 */ cmplwi r30, 0 +/* 80336854 003337B4 41 82 00 20 */ beq lbl_80336874 +/* 80336858 003337B8 3C 60 80 3F */ lis r3, lbl_803EC594@ha +/* 8033685C 003337BC 38 03 C5 94 */ addi r0, r3, lbl_803EC594@l +/* 80336860 003337C0 90 1E 00 00 */ stw r0, 0(r30) +/* 80336864 003337C4 41 82 00 10 */ beq lbl_80336874 +/* 80336868 003337C8 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 8033686C 003337CC 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80336870 003337D0 90 1E 00 00 */ stw r0, 0(r30) +lbl_80336874: +/* 80336874 003337D4 7F E0 07 35 */ extsh. r0, r31 +/* 80336878 003337D8 40 81 00 10 */ ble lbl_80336888 +/* 8033687C 003337DC 7F C3 F3 78 */ mr r3, r30 +/* 80336880 003337E0 38 80 00 24 */ li r4, 0x24 +/* 80336884 003337E4 48 03 61 E1 */ bl sub_8036ca64 +lbl_80336888: +/* 80336888 003337E8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033688C 003337EC 7F C3 F3 78 */ mr r3, r30 +/* 80336890 003337F0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80336894 003337F4 83 C1 00 08 */ lwz r30, 8(r1) +/* 80336898 003337F8 7C 08 03 A6 */ mtlr r0 +/* 8033689C 003337FC 38 21 00 10 */ addi r1, r1, 0x10 +/* 803368A0 00333800 4E 80 00 20 */ blr + +.global __ct__7CVEConeFP14CVectorElementP12CRealElement +__ct__7CVEConeFP14CVectorElementP12CRealElement: +/* 803368A4 00333804 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 803368A8 00333808 7C 08 02 A6 */ mflr r0 +/* 803368AC 0033380C 3C C0 80 3F */ lis r6, lbl_803EC5A8@ha +/* 803368B0 00333810 C0 02 CB 54 */ lfs f0, lbl_805AE874@sda21(r2) +/* 803368B4 00333814 90 01 00 34 */ stw r0, 0x34(r1) +/* 803368B8 00333818 38 06 C5 A8 */ addi r0, r6, lbl_803EC5A8@l +/* 803368BC 0033381C 3C C0 80 3F */ lis r6, lbl_803EE2B8@ha +/* 803368C0 00333820 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 803368C4 00333824 7C 7F 1B 78 */ mr r31, r3 +/* 803368C8 00333828 3C 60 80 3F */ lis r3, lbl_803EC594@ha +/* 803368CC 0033382C 90 1F 00 00 */ stw r0, 0(r31) +/* 803368D0 00333830 38 03 C5 94 */ addi r0, r3, lbl_803EC594@l +/* 803368D4 00333834 3C 60 80 5A */ lis r3, skZero3f@ha +/* 803368D8 00333838 7F E7 FB 78 */ mr r7, r31 +/* 803368DC 0033383C 90 1F 00 00 */ stw r0, 0(r31) +/* 803368E0 00333840 38 06 E2 B8 */ addi r0, r6, lbl_803EE2B8@l +/* 803368E4 00333844 90 1F 00 00 */ stw r0, 0(r31) +/* 803368E8 00333848 90 9F 00 04 */ stw r4, 4(r31) +/* 803368EC 0033384C 38 80 00 00 */ li r4, 0 +/* 803368F0 00333850 90 BF 00 08 */ stw r5, 8(r31) +/* 803368F4 00333854 38 A1 00 14 */ addi r5, r1, 0x14 +/* 803368F8 00333858 C4 23 66 A0 */ lfsu f1, skZero3f@l(r3) +/* 803368FC 0033385C D0 3F 00 0C */ stfs f1, 0xc(r31) +/* 80336900 00333860 C0 23 00 04 */ lfs f1, 4(r3) +/* 80336904 00333864 D0 3F 00 10 */ stfs f1, 0x10(r31) +/* 80336908 00333868 C0 23 00 08 */ lfs f1, 8(r3) +/* 8033690C 0033386C D0 3F 00 14 */ stfs f1, 0x14(r31) +/* 80336910 00333870 C0 23 00 00 */ lfs f1, 0(r3) +/* 80336914 00333874 D0 3F 00 18 */ stfs f1, 0x18(r31) +/* 80336918 00333878 C0 23 00 04 */ lfs f1, 4(r3) +/* 8033691C 0033387C D0 3F 00 1C */ stfs f1, 0x1c(r31) +/* 80336920 00333880 C0 23 00 08 */ lfs f1, 8(r3) +/* 80336924 00333884 D0 3F 00 20 */ stfs f1, 0x20(r31) +/* 80336928 00333888 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 8033692C 0033388C D0 01 00 18 */ stfs f0, 0x18(r1) +/* 80336930 00333890 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 80336934 00333894 80 7F 00 04 */ lwz r3, 4(r31) +/* 80336938 00333898 81 83 00 00 */ lwz r12, 0(r3) +/* 8033693C 0033389C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80336940 003338A0 7D 89 03 A6 */ mtctr r12 +/* 80336944 003338A4 4E 80 04 21 */ bctrl +/* 80336948 003338A8 38 61 00 08 */ addi r3, r1, 8 +/* 8033694C 003338AC 38 81 00 14 */ addi r4, r1, 0x14 +/* 80336950 003338B0 4B FD DF 01 */ bl AsNormalized__9CVector3fCFv +/* 80336954 003338B4 C1 01 00 08 */ lfs f8, 8(r1) +/* 80336958 003338B8 C0 02 CB 70 */ lfs f0, lbl_805AE890@sda21(r2) +/* 8033695C 003338BC C0 C1 00 0C */ lfs f6, 0xc(r1) +/* 80336960 003338C0 FC 08 00 40 */ fcmpo cr0, f8, f0 +/* 80336964 003338C4 C0 E1 00 10 */ lfs f7, 0x10(r1) +/* 80336968 003338C8 40 81 00 40 */ ble lbl_803369A8 +/* 8033696C 003338CC C0 A1 00 1C */ lfs f5, 0x1c(r1) +/* 80336970 003338D0 C0 82 CB 58 */ lfs f4, lbl_805AE878@sda21(r2) +/* 80336974 003338D4 C1 21 00 14 */ lfs f9, 0x14(r1) +/* 80336978 003338D8 C0 62 CB 54 */ lfs f3, lbl_805AE874@sda21(r2) +/* 8033697C 003338DC EC 24 01 72 */ fmuls f1, f4, f5 +/* 80336980 003338E0 C0 41 00 18 */ lfs f2, 0x18(r1) +/* 80336984 003338E4 EC 03 02 72 */ fmuls f0, f3, f9 +/* 80336988 003338E8 EC 22 08 F8 */ fmsubs f1, f2, f3, f1 +/* 8033698C 003338EC EC 43 00 B2 */ fmuls f2, f3, f2 +/* 80336990 003338F0 EC 05 00 F8 */ fmsubs f0, f5, f3, f0 +/* 80336994 003338F4 D0 3F 00 0C */ stfs f1, 0xc(r31) +/* 80336998 003338F8 EC 29 11 38 */ fmsubs f1, f9, f4, f2 +/* 8033699C 003338FC D0 1F 00 10 */ stfs f0, 0x10(r31) +/* 803369A0 00333900 D0 3F 00 14 */ stfs f1, 0x14(r31) +/* 803369A4 00333904 48 00 00 3C */ b lbl_803369E0 +lbl_803369A8: +/* 803369A8 00333908 C0 A1 00 1C */ lfs f5, 0x1c(r1) +/* 803369AC 0033390C C0 82 CB 54 */ lfs f4, lbl_805AE874@sda21(r2) +/* 803369B0 00333910 C1 21 00 14 */ lfs f9, 0x14(r1) +/* 803369B4 00333914 EC 24 01 72 */ fmuls f1, f4, f5 +/* 803369B8 00333918 C0 41 00 18 */ lfs f2, 0x18(r1) +/* 803369BC 0033391C C0 62 CB 58 */ lfs f3, lbl_805AE878@sda21(r2) +/* 803369C0 00333920 EC 04 02 72 */ fmuls f0, f4, f9 +/* 803369C4 00333924 EC 22 09 38 */ fmsubs f1, f2, f4, f1 +/* 803369C8 00333928 EC 43 00 B2 */ fmuls f2, f3, f2 +/* 803369CC 0033392C EC 05 00 F8 */ fmsubs f0, f5, f3, f0 +/* 803369D0 00333930 D0 3F 00 0C */ stfs f1, 0xc(r31) +/* 803369D4 00333934 EC 29 11 38 */ fmsubs f1, f9, f4, f2 +/* 803369D8 00333938 D0 1F 00 10 */ stfs f0, 0x10(r31) +/* 803369DC 0033393C D0 3F 00 14 */ stfs f1, 0x14(r31) +lbl_803369E0: +/* 803369E0 00333940 C0 9F 00 10 */ lfs f4, 0x10(r31) +/* 803369E4 00333944 7F E3 FB 78 */ mr r3, r31 +/* 803369E8 00333948 C0 BF 00 14 */ lfs f5, 0x14(r31) +/* 803369EC 0033394C EC 44 01 F2 */ fmuls f2, f4, f7 +/* 803369F0 00333950 C0 7F 00 0C */ lfs f3, 0xc(r31) +/* 803369F4 00333954 EC 25 02 32 */ fmuls f1, f5, f8 +/* 803369F8 00333958 EC 03 01 B2 */ fmuls f0, f3, f6 +/* 803369FC 0033395C EC 46 11 78 */ fmsubs f2, f6, f5, f2 +/* 80336A00 00333960 EC 27 08 F8 */ fmsubs f1, f7, f3, f1 +/* 80336A04 00333964 EC 08 01 38 */ fmsubs f0, f8, f4, f0 +/* 80336A08 00333968 D0 5F 00 18 */ stfs f2, 0x18(r31) +/* 80336A0C 0033396C D0 3F 00 1C */ stfs f1, 0x1c(r31) +/* 80336A10 00333970 D0 1F 00 20 */ stfs f0, 0x20(r31) +/* 80336A14 00333974 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80336A18 00333978 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80336A1C 0033397C 7C 08 03 A6 */ mtlr r0 +/* 80336A20 00333980 38 21 00 30 */ addi r1, r1, 0x30 +/* 80336A24 00333984 4E 80 00 20 */ blr + +.global GetValue__15CVEFastConstantCFiR9CVector3f +GetValue__15CVEFastConstantCFiR9CVector3f: +/* 80336A28 00333988 C0 03 00 04 */ lfs f0, 4(r3) +/* 80336A2C 0033398C D0 05 00 00 */ stfs f0, 0(r5) +/* 80336A30 00333990 C0 03 00 08 */ lfs f0, 8(r3) +/* 80336A34 00333994 D0 05 00 04 */ stfs f0, 4(r5) +/* 80336A38 00333998 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 80336A3C 0033399C 38 60 00 00 */ li r3, 0 +/* 80336A40 003339A0 D0 05 00 08 */ stfs f0, 8(r5) +/* 80336A44 003339A4 4E 80 00 20 */ blr + +.global __dt__15CVEFastConstant +__dt__15CVEFastConstant: +/* 80336A48 003339A8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80336A4C 003339AC 7C 08 02 A6 */ mflr r0 +/* 80336A50 003339B0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80336A54 003339B4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80336A58 003339B8 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80336A5C 003339BC 41 82 00 44 */ beq lbl_80336AA0 +/* 80336A60 003339C0 3C 60 80 3F */ lis r3, lbl_803EE2CC@ha +/* 80336A64 003339C4 38 03 E2 CC */ addi r0, r3, lbl_803EE2CC@l +/* 80336A68 003339C8 90 1F 00 00 */ stw r0, 0(r31) +/* 80336A6C 003339CC 41 82 00 20 */ beq lbl_80336A8C +/* 80336A70 003339D0 3C 60 80 3F */ lis r3, lbl_803EC594@ha +/* 80336A74 003339D4 38 03 C5 94 */ addi r0, r3, lbl_803EC594@l +/* 80336A78 003339D8 90 1F 00 00 */ stw r0, 0(r31) +/* 80336A7C 003339DC 41 82 00 10 */ beq lbl_80336A8C +/* 80336A80 003339E0 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80336A84 003339E4 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80336A88 003339E8 90 1F 00 00 */ stw r0, 0(r31) +lbl_80336A8C: +/* 80336A8C 003339EC 7C 80 07 35 */ extsh. r0, r4 +/* 80336A90 003339F0 40 81 00 10 */ ble lbl_80336AA0 +/* 80336A94 003339F4 7F E3 FB 78 */ mr r3, r31 +/* 80336A98 003339F8 38 80 00 10 */ li r4, 0x10 +/* 80336A9C 003339FC 48 03 5F C9 */ bl sub_8036ca64 +lbl_80336AA0: +/* 80336AA0 00333A00 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80336AA4 00333A04 7F E3 FB 78 */ mr r3, r31 +/* 80336AA8 00333A08 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80336AAC 00333A0C 7C 08 03 A6 */ mtlr r0 +/* 80336AB0 00333A10 38 21 00 10 */ addi r1, r1, 0x10 +/* 80336AB4 00333A14 4E 80 00 20 */ blr + +.global __ct__15CVEFastConstantFfff +__ct__15CVEFastConstantFfff: +/* 80336AB8 00333A18 3C C0 80 3F */ lis r6, lbl_803EC5A8@ha +/* 80336ABC 00333A1C 3C A0 80 3F */ lis r5, lbl_803EC594@ha +/* 80336AC0 00333A20 38 06 C5 A8 */ addi r0, r6, lbl_803EC5A8@l +/* 80336AC4 00333A24 3C 80 80 3F */ lis r4, lbl_803EE2CC@ha +/* 80336AC8 00333A28 90 03 00 00 */ stw r0, 0(r3) +/* 80336ACC 00333A2C 38 A5 C5 94 */ addi r5, r5, lbl_803EC594@l +/* 80336AD0 00333A30 38 04 E2 CC */ addi r0, r4, lbl_803EE2CC@l +/* 80336AD4 00333A34 90 A3 00 00 */ stw r5, 0(r3) +/* 80336AD8 00333A38 90 03 00 00 */ stw r0, 0(r3) +/* 80336ADC 00333A3C D0 23 00 04 */ stfs f1, 4(r3) +/* 80336AE0 00333A40 D0 43 00 08 */ stfs f2, 8(r3) +/* 80336AE4 00333A44 D0 63 00 0C */ stfs f3, 0xc(r3) +/* 80336AE8 00333A48 4E 80 00 20 */ blr + +.global GetValue__11CVEConstantCFiR9CVector3f +GetValue__11CVEConstantCFiR9CVector3f: +/* 80336AEC 00333A4C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80336AF0 00333A50 7C 08 02 A6 */ mflr r0 +/* 80336AF4 00333A54 90 01 00 34 */ stw r0, 0x34(r1) +/* 80336AF8 00333A58 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80336AFC 00333A5C 7C BF 2B 78 */ mr r31, r5 +/* 80336B00 00333A60 38 A1 00 10 */ addi r5, r1, 0x10 +/* 80336B04 00333A64 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80336B08 00333A68 7C 9E 23 78 */ mr r30, r4 +/* 80336B0C 00333A6C 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80336B10 00333A70 7C 7D 1B 78 */ mr r29, r3 +/* 80336B14 00333A74 80 63 00 04 */ lwz r3, 4(r3) +/* 80336B18 00333A78 81 83 00 00 */ lwz r12, 0(r3) +/* 80336B1C 00333A7C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80336B20 00333A80 7D 89 03 A6 */ mtctr r12 +/* 80336B24 00333A84 4E 80 04 21 */ bctrl +/* 80336B28 00333A88 80 7D 00 08 */ lwz r3, 8(r29) +/* 80336B2C 00333A8C 7F C4 F3 78 */ mr r4, r30 +/* 80336B30 00333A90 38 A1 00 0C */ addi r5, r1, 0xc +/* 80336B34 00333A94 81 83 00 00 */ lwz r12, 0(r3) +/* 80336B38 00333A98 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80336B3C 00333A9C 7D 89 03 A6 */ mtctr r12 +/* 80336B40 00333AA0 4E 80 04 21 */ bctrl +/* 80336B44 00333AA4 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 80336B48 00333AA8 7F C4 F3 78 */ mr r4, r30 +/* 80336B4C 00333AAC 38 A1 00 08 */ addi r5, r1, 8 +/* 80336B50 00333AB0 81 83 00 00 */ lwz r12, 0(r3) +/* 80336B54 00333AB4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80336B58 00333AB8 7D 89 03 A6 */ mtctr r12 +/* 80336B5C 00333ABC 4E 80 04 21 */ bctrl +/* 80336B60 00333AC0 C0 41 00 08 */ lfs f2, 8(r1) +/* 80336B64 00333AC4 38 60 00 00 */ li r3, 0 +/* 80336B68 00333AC8 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 80336B6C 00333ACC C0 01 00 10 */ lfs f0, 0x10(r1) +/* 80336B70 00333AD0 D0 1F 00 00 */ stfs f0, 0(r31) +/* 80336B74 00333AD4 D0 3F 00 04 */ stfs f1, 4(r31) +/* 80336B78 00333AD8 D0 5F 00 08 */ stfs f2, 8(r31) +/* 80336B7C 00333ADC 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80336B80 00333AE0 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80336B84 00333AE4 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80336B88 00333AE8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80336B8C 00333AEC 7C 08 03 A6 */ mtlr r0 +/* 80336B90 00333AF0 38 21 00 30 */ addi r1, r1, 0x30 +/* 80336B94 00333AF4 4E 80 00 20 */ blr + +.global __dt__11CVEConstantF +__dt__11CVEConstantF: +/* 80336B98 00333AF8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80336B9C 00333AFC 7C 08 02 A6 */ mflr r0 +/* 80336BA0 00333B00 90 01 00 14 */ stw r0, 0x14(r1) +/* 80336BA4 00333B04 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80336BA8 00333B08 7C 9F 23 78 */ mr r31, r4 +/* 80336BAC 00333B0C 93 C1 00 08 */ stw r30, 8(r1) +/* 80336BB0 00333B10 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80336BB4 00333B14 41 82 00 A8 */ beq lbl_80336C5C +/* 80336BB8 00333B18 3C 60 80 3F */ lis r3, lbl_803EE2E0@ha +/* 80336BBC 00333B1C 38 03 E2 E0 */ addi r0, r3, lbl_803EE2E0@l +/* 80336BC0 00333B20 90 1E 00 00 */ stw r0, 0(r30) +/* 80336BC4 00333B24 80 7E 00 04 */ lwz r3, 4(r30) +/* 80336BC8 00333B28 28 03 00 00 */ cmplwi r3, 0 +/* 80336BCC 00333B2C 41 82 00 18 */ beq lbl_80336BE4 +/* 80336BD0 00333B30 81 83 00 00 */ lwz r12, 0(r3) +/* 80336BD4 00333B34 38 80 00 01 */ li r4, 1 +/* 80336BD8 00333B38 81 8C 00 08 */ lwz r12, 8(r12) +/* 80336BDC 00333B3C 7D 89 03 A6 */ mtctr r12 +/* 80336BE0 00333B40 4E 80 04 21 */ bctrl +lbl_80336BE4: +/* 80336BE4 00333B44 80 7E 00 08 */ lwz r3, 8(r30) +/* 80336BE8 00333B48 28 03 00 00 */ cmplwi r3, 0 +/* 80336BEC 00333B4C 41 82 00 18 */ beq lbl_80336C04 +/* 80336BF0 00333B50 81 83 00 00 */ lwz r12, 0(r3) +/* 80336BF4 00333B54 38 80 00 01 */ li r4, 1 +/* 80336BF8 00333B58 81 8C 00 08 */ lwz r12, 8(r12) +/* 80336BFC 00333B5C 7D 89 03 A6 */ mtctr r12 +/* 80336C00 00333B60 4E 80 04 21 */ bctrl +lbl_80336C04: +/* 80336C04 00333B64 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80336C08 00333B68 28 03 00 00 */ cmplwi r3, 0 +/* 80336C0C 00333B6C 41 82 00 18 */ beq lbl_80336C24 +/* 80336C10 00333B70 81 83 00 00 */ lwz r12, 0(r3) +/* 80336C14 00333B74 38 80 00 01 */ li r4, 1 +/* 80336C18 00333B78 81 8C 00 08 */ lwz r12, 8(r12) +/* 80336C1C 00333B7C 7D 89 03 A6 */ mtctr r12 +/* 80336C20 00333B80 4E 80 04 21 */ bctrl +lbl_80336C24: +/* 80336C24 00333B84 28 1E 00 00 */ cmplwi r30, 0 +/* 80336C28 00333B88 41 82 00 20 */ beq lbl_80336C48 +/* 80336C2C 00333B8C 3C 60 80 3F */ lis r3, lbl_803EC594@ha +/* 80336C30 00333B90 38 03 C5 94 */ addi r0, r3, lbl_803EC594@l +/* 80336C34 00333B94 90 1E 00 00 */ stw r0, 0(r30) +/* 80336C38 00333B98 41 82 00 10 */ beq lbl_80336C48 +/* 80336C3C 00333B9C 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80336C40 00333BA0 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80336C44 00333BA4 90 1E 00 00 */ stw r0, 0(r30) +lbl_80336C48: +/* 80336C48 00333BA8 7F E0 07 35 */ extsh. r0, r31 +/* 80336C4C 00333BAC 40 81 00 10 */ ble lbl_80336C5C +/* 80336C50 00333BB0 7F C3 F3 78 */ mr r3, r30 +/* 80336C54 00333BB4 38 80 00 10 */ li r4, 0x10 +/* 80336C58 00333BB8 48 03 5E 0D */ bl sub_8036ca64 +lbl_80336C5C: +/* 80336C5C 00333BBC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80336C60 00333BC0 7F C3 F3 78 */ mr r3, r30 +/* 80336C64 00333BC4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80336C68 00333BC8 83 C1 00 08 */ lwz r30, 8(r1) +/* 80336C6C 00333BCC 7C 08 03 A6 */ mtlr r0 +/* 80336C70 00333BD0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80336C74 00333BD4 4E 80 00 20 */ blr + +.global __ct__11CVEConstantFP12CRealElementP12CRealElementP12CRealElement +__ct__11CVEConstantFP12CRealElementP12CRealElementP12CRealElement: +/* 80336C78 00333BD8 3D 20 80 3F */ lis r9, lbl_803EC5A8@ha +/* 80336C7C 00333BDC 3D 00 80 3F */ lis r8, lbl_803EC594@ha +/* 80336C80 00333BE0 38 09 C5 A8 */ addi r0, r9, lbl_803EC5A8@l +/* 80336C84 00333BE4 3C E0 80 3F */ lis r7, lbl_803EE2E0@ha +/* 80336C88 00333BE8 90 03 00 00 */ stw r0, 0(r3) +/* 80336C8C 00333BEC 39 08 C5 94 */ addi r8, r8, lbl_803EC594@l +/* 80336C90 00333BF0 38 07 E2 E0 */ addi r0, r7, lbl_803EE2E0@l +/* 80336C94 00333BF4 91 03 00 00 */ stw r8, 0(r3) +/* 80336C98 00333BF8 90 03 00 00 */ stw r0, 0(r3) +/* 80336C9C 00333BFC 90 83 00 04 */ stw r4, 4(r3) +/* 80336CA0 00333C00 90 A3 00 08 */ stw r5, 8(r3) +/* 80336CA4 00333C04 90 C3 00 0C */ stw r6, 0xc(r3) +/* 80336CA8 00333C08 4E 80 00 20 */ blr + +.global __dt__28CVEParticleSystemTranslationFv +__dt__28CVEParticleSystemTranslationFv: +/* 80336CAC 00333C0C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80336CB0 00333C10 7C 08 02 A6 */ mflr r0 +/* 80336CB4 00333C14 90 01 00 14 */ stw r0, 0x14(r1) +/* 80336CB8 00333C18 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80336CBC 00333C1C 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80336CC0 00333C20 41 82 00 44 */ beq lbl_80336D04 +/* 80336CC4 00333C24 3C 60 80 3F */ lis r3, lbl_803EE178@ha +/* 80336CC8 00333C28 38 03 E1 78 */ addi r0, r3, lbl_803EE178@l +/* 80336CCC 00333C2C 90 1F 00 00 */ stw r0, 0(r31) +/* 80336CD0 00333C30 41 82 00 20 */ beq lbl_80336CF0 +/* 80336CD4 00333C34 3C 60 80 3F */ lis r3, lbl_803EC594@ha +/* 80336CD8 00333C38 38 03 C5 94 */ addi r0, r3, lbl_803EC594@l +/* 80336CDC 00333C3C 90 1F 00 00 */ stw r0, 0(r31) +/* 80336CE0 00333C40 41 82 00 10 */ beq lbl_80336CF0 +/* 80336CE4 00333C44 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80336CE8 00333C48 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80336CEC 00333C4C 90 1F 00 00 */ stw r0, 0(r31) +lbl_80336CF0: +/* 80336CF0 00333C50 7C 80 07 35 */ extsh. r0, r4 +/* 80336CF4 00333C54 40 81 00 10 */ ble lbl_80336D04 +/* 80336CF8 00333C58 7F E3 FB 78 */ mr r3, r31 +/* 80336CFC 00333C5C 38 80 00 04 */ li r4, 4 +/* 80336D00 00333C60 48 03 5D 65 */ bl sub_8036ca64 +lbl_80336D04: +/* 80336D04 00333C64 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80336D08 00333C68 7F E3 FB 78 */ mr r3, r31 +/* 80336D0C 00333C6C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80336D10 00333C70 7C 08 03 A6 */ mtlr r0 +/* 80336D14 00333C74 38 21 00 10 */ addi r1, r1, 0x10 +/* 80336D18 00333C78 4E 80 00 20 */ blr + +.global __dt__33CVEParticleSystemOrientationRightF +__dt__33CVEParticleSystemOrientationRightF: +/* 80336D1C 00333C7C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80336D20 00333C80 7C 08 02 A6 */ mflr r0 +/* 80336D24 00333C84 90 01 00 14 */ stw r0, 0x14(r1) +/* 80336D28 00333C88 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80336D2C 00333C8C 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80336D30 00333C90 41 82 00 44 */ beq lbl_80336D74 +/* 80336D34 00333C94 3C 60 80 3F */ lis r3, lbl_803EE18C@ha +/* 80336D38 00333C98 38 03 E1 8C */ addi r0, r3, lbl_803EE18C@l +/* 80336D3C 00333C9C 90 1F 00 00 */ stw r0, 0(r31) +/* 80336D40 00333CA0 41 82 00 20 */ beq lbl_80336D60 +/* 80336D44 00333CA4 3C 60 80 3F */ lis r3, lbl_803EC594@ha +/* 80336D48 00333CA8 38 03 C5 94 */ addi r0, r3, lbl_803EC594@l +/* 80336D4C 00333CAC 90 1F 00 00 */ stw r0, 0(r31) +/* 80336D50 00333CB0 41 82 00 10 */ beq lbl_80336D60 +/* 80336D54 00333CB4 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80336D58 00333CB8 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80336D5C 00333CBC 90 1F 00 00 */ stw r0, 0(r31) +lbl_80336D60: +/* 80336D60 00333CC0 7C 80 07 35 */ extsh. r0, r4 +/* 80336D64 00333CC4 40 81 00 10 */ ble lbl_80336D74 +/* 80336D68 00333CC8 7F E3 FB 78 */ mr r3, r31 +/* 80336D6C 00333CCC 38 80 00 04 */ li r4, 4 +/* 80336D70 00333CD0 48 03 5C F5 */ bl sub_8036ca64 +lbl_80336D74: +/* 80336D74 00333CD4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80336D78 00333CD8 7F E3 FB 78 */ mr r3, r31 +/* 80336D7C 00333CDC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80336D80 00333CE0 7C 08 03 A6 */ mtlr r0 +/* 80336D84 00333CE4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80336D88 00333CE8 4E 80 00 20 */ blr + +.global __dt__31CVEParticleSystemOrienatationUpF +__dt__31CVEParticleSystemOrienatationUpF: +/* 80336D8C 00333CEC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80336D90 00333CF0 7C 08 02 A6 */ mflr r0 +/* 80336D94 00333CF4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80336D98 00333CF8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80336D9C 00333CFC 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80336DA0 00333D00 41 82 00 44 */ beq lbl_80336DE4 +/* 80336DA4 00333D04 3C 60 80 3F */ lis r3, lbl_803EE1A0@ha +/* 80336DA8 00333D08 38 03 E1 A0 */ addi r0, r3, lbl_803EE1A0@l +/* 80336DAC 00333D0C 90 1F 00 00 */ stw r0, 0(r31) +/* 80336DB0 00333D10 41 82 00 20 */ beq lbl_80336DD0 +/* 80336DB4 00333D14 3C 60 80 3F */ lis r3, lbl_803EC594@ha +/* 80336DB8 00333D18 38 03 C5 94 */ addi r0, r3, lbl_803EC594@l +/* 80336DBC 00333D1C 90 1F 00 00 */ stw r0, 0(r31) +/* 80336DC0 00333D20 41 82 00 10 */ beq lbl_80336DD0 +/* 80336DC4 00333D24 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80336DC8 00333D28 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80336DCC 00333D2C 90 1F 00 00 */ stw r0, 0(r31) +lbl_80336DD0: +/* 80336DD0 00333D30 7C 80 07 35 */ extsh. r0, r4 +/* 80336DD4 00333D34 40 81 00 10 */ ble lbl_80336DE4 +/* 80336DD8 00333D38 7F E3 FB 78 */ mr r3, r31 +/* 80336DDC 00333D3C 38 80 00 04 */ li r4, 4 +/* 80336DE0 00333D40 48 03 5C 85 */ bl sub_8036ca64 +lbl_80336DE4: +/* 80336DE4 00333D44 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80336DE8 00333D48 7F E3 FB 78 */ mr r3, r31 +/* 80336DEC 00333D4C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80336DF0 00333D50 7C 08 03 A6 */ mtlr r0 +/* 80336DF4 00333D54 38 21 00 10 */ addi r1, r1, 0x10 +/* 80336DF8 00333D58 4E 80 00 20 */ blr + +.global __dt__33CVEParticleSystemOrientationFrontF +__dt__33CVEParticleSystemOrientationFrontF: +/* 80336DFC 00333D5C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80336E00 00333D60 7C 08 02 A6 */ mflr r0 +/* 80336E04 00333D64 90 01 00 14 */ stw r0, 0x14(r1) +/* 80336E08 00333D68 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80336E0C 00333D6C 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80336E10 00333D70 41 82 00 44 */ beq lbl_80336E54 +/* 80336E14 00333D74 3C 60 80 3F */ lis r3, lbl_803EE1B4@ha +/* 80336E18 00333D78 38 03 E1 B4 */ addi r0, r3, lbl_803EE1B4@l +/* 80336E1C 00333D7C 90 1F 00 00 */ stw r0, 0(r31) +/* 80336E20 00333D80 41 82 00 20 */ beq lbl_80336E40 +/* 80336E24 00333D84 3C 60 80 3F */ lis r3, lbl_803EC594@ha +/* 80336E28 00333D88 38 03 C5 94 */ addi r0, r3, lbl_803EC594@l +/* 80336E2C 00333D8C 90 1F 00 00 */ stw r0, 0(r31) +/* 80336E30 00333D90 41 82 00 10 */ beq lbl_80336E40 +/* 80336E34 00333D94 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80336E38 00333D98 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80336E3C 00333D9C 90 1F 00 00 */ stw r0, 0(r31) +lbl_80336E40: +/* 80336E40 00333DA0 7C 80 07 35 */ extsh. r0, r4 +/* 80336E44 00333DA4 40 81 00 10 */ ble lbl_80336E54 +/* 80336E48 00333DA8 7F E3 FB 78 */ mr r3, r31 +/* 80336E4C 00333DAC 38 80 00 04 */ li r4, 4 +/* 80336E50 00333DB0 48 03 5C 15 */ bl sub_8036ca64 +lbl_80336E54: +/* 80336E54 00333DB4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80336E58 00333DB8 7F E3 FB 78 */ mr r3, r31 +/* 80336E5C 00333DBC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80336E60 00333DC0 7C 08 03 A6 */ mtlr r0 +/* 80336E64 00333DC4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80336E68 00333DC8 4E 80 00 20 */ blr + +.global __dt__19CVEParticleVelocityF +__dt__19CVEParticleVelocityF: +/* 80336E6C 00333DCC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80336E70 00333DD0 7C 08 02 A6 */ mflr r0 +/* 80336E74 00333DD4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80336E78 00333DD8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80336E7C 00333DDC 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80336E80 00333DE0 41 82 00 44 */ beq lbl_80336EC4 +/* 80336E84 00333DE4 3C 60 80 3F */ lis r3, lbl_803EE1C8@ha +/* 80336E88 00333DE8 38 03 E1 C8 */ addi r0, r3, lbl_803EE1C8@l +/* 80336E8C 00333DEC 90 1F 00 00 */ stw r0, 0(r31) +/* 80336E90 00333DF0 41 82 00 20 */ beq lbl_80336EB0 +/* 80336E94 00333DF4 3C 60 80 3F */ lis r3, lbl_803EC594@ha +/* 80336E98 00333DF8 38 03 C5 94 */ addi r0, r3, lbl_803EC594@l +/* 80336E9C 00333DFC 90 1F 00 00 */ stw r0, 0(r31) +/* 80336EA0 00333E00 41 82 00 10 */ beq lbl_80336EB0 +/* 80336EA4 00333E04 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80336EA8 00333E08 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80336EAC 00333E0C 90 1F 00 00 */ stw r0, 0(r31) +lbl_80336EB0: +/* 80336EB0 00333E10 7C 80 07 35 */ extsh. r0, r4 +/* 80336EB4 00333E14 40 81 00 10 */ ble lbl_80336EC4 +/* 80336EB8 00333E18 7F E3 FB 78 */ mr r3, r31 +/* 80336EBC 00333E1C 38 80 00 04 */ li r4, 4 +/* 80336EC0 00333E20 48 03 5B A5 */ bl sub_8036ca64 +lbl_80336EC4: +/* 80336EC4 00333E24 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80336EC8 00333E28 7F E3 FB 78 */ mr r3, r31 +/* 80336ECC 00333E2C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80336ED0 00333E30 7C 08 03 A6 */ mtlr r0 +/* 80336ED4 00333E34 38 21 00 10 */ addi r1, r1, 0x10 +/* 80336ED8 00333E38 4E 80 00 20 */ blr + +.global __dt__16CVEParticleColorF +__dt__16CVEParticleColorF: +/* 80336EDC 00333E3C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80336EE0 00333E40 7C 08 02 A6 */ mflr r0 +/* 80336EE4 00333E44 90 01 00 14 */ stw r0, 0x14(r1) +/* 80336EE8 00333E48 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80336EEC 00333E4C 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80336EF0 00333E50 41 82 00 44 */ beq lbl_80336F34 +/* 80336EF4 00333E54 3C 60 80 3F */ lis r3, lbl_803EE1DC@ha +/* 80336EF8 00333E58 38 03 E1 DC */ addi r0, r3, lbl_803EE1DC@l +/* 80336EFC 00333E5C 90 1F 00 00 */ stw r0, 0(r31) +/* 80336F00 00333E60 41 82 00 20 */ beq lbl_80336F20 +/* 80336F04 00333E64 3C 60 80 3F */ lis r3, lbl_803EC594@ha +/* 80336F08 00333E68 38 03 C5 94 */ addi r0, r3, lbl_803EC594@l +/* 80336F0C 00333E6C 90 1F 00 00 */ stw r0, 0(r31) +/* 80336F10 00333E70 41 82 00 10 */ beq lbl_80336F20 +/* 80336F14 00333E74 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80336F18 00333E78 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80336F1C 00333E7C 90 1F 00 00 */ stw r0, 0(r31) +lbl_80336F20: +/* 80336F20 00333E80 7C 80 07 35 */ extsh. r0, r4 +/* 80336F24 00333E84 40 81 00 10 */ ble lbl_80336F34 +/* 80336F28 00333E88 7F E3 FB 78 */ mr r3, r31 +/* 80336F2C 00333E8C 38 80 00 04 */ li r4, 4 +/* 80336F30 00333E90 48 03 5B 35 */ bl sub_8036ca64 +lbl_80336F34: +/* 80336F34 00333E94 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80336F38 00333E98 7F E3 FB 78 */ mr r3, r31 +/* 80336F3C 00333E9C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80336F40 00333EA0 7C 08 03 A6 */ mtlr r0 +/* 80336F44 00333EA4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80336F48 00333EA8 4E 80 00 20 */ blr + +.global __dt__19CVEParticleLocation +__dt__19CVEParticleLocation: +/* 80336F4C 00333EAC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80336F50 00333EB0 7C 08 02 A6 */ mflr r0 +/* 80336F54 00333EB4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80336F58 00333EB8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80336F5C 00333EBC 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80336F60 00333EC0 41 82 00 44 */ beq lbl_80336FA4 +/* 80336F64 00333EC4 3C 60 80 3F */ lis r3, lbl_803EE1F0@ha +/* 80336F68 00333EC8 38 03 E1 F0 */ addi r0, r3, lbl_803EE1F0@l +/* 80336F6C 00333ECC 90 1F 00 00 */ stw r0, 0(r31) +/* 80336F70 00333ED0 41 82 00 20 */ beq lbl_80336F90 +/* 80336F74 00333ED4 3C 60 80 3F */ lis r3, lbl_803EC594@ha +/* 80336F78 00333ED8 38 03 C5 94 */ addi r0, r3, lbl_803EC594@l +/* 80336F7C 00333EDC 90 1F 00 00 */ stw r0, 0(r31) +/* 80336F80 00333EE0 41 82 00 10 */ beq lbl_80336F90 +/* 80336F84 00333EE4 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha +/* 80336F88 00333EE8 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l +/* 80336F8C 00333EEC 90 1F 00 00 */ stw r0, 0(r31) +lbl_80336F90: +/* 80336F90 00333EF0 7C 80 07 35 */ extsh. r0, r4 +/* 80336F94 00333EF4 40 81 00 10 */ ble lbl_80336FA4 +/* 80336F98 00333EF8 7F E3 FB 78 */ mr r3, r31 +/* 80336F9C 00333EFC 38 80 00 04 */ li r4, 4 +/* 80336FA0 00333F00 48 03 5A C5 */ bl sub_8036ca64 +lbl_80336FA4: +/* 80336FA4 00333F04 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80336FA8 00333F08 7F E3 FB 78 */ mr r3, r31 +/* 80336FAC 00333F0C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80336FB0 00333F10 7C 08 03 A6 */ mtlr r0 +/* 80336FB4 00333F14 38 21 00 10 */ addi r1, r1, 0x10 +/* 80336FB8 00333F18 4E 80 00 20 */ blr + +.global IsFastConstant__15CVEFastConstantCF +IsFastConstant__15CVEFastConstantCF: +/* 80336FBC 00333F1C 38 60 00 01 */ li r3, 1 +/* 80336FC0 00333F20 4E 80 00 20 */ blr diff --git a/asm/Kyoto/Particles/CWarp.s b/asm/Kyoto/Particles/CWarp.s new file mode 100644 index 00000000..87fef756 --- /dev/null +++ b/asm/Kyoto/Particles/CWarp.s @@ -0,0 +1,25 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __dt__5CWarpFv +__dt__5CWarpFv: +/* 80336FC4 00333F24 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80336FC8 00333F28 7C 08 02 A6 */ mflr r0 +/* 80336FCC 00333F2C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80336FD0 00333F30 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80336FD4 00333F34 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80336FD8 00333F38 41 82 00 1C */ beq lbl_80336FF4 +/* 80336FDC 00333F3C 3C A0 80 3F */ lis r5, lbl_803EE2F8@ha +/* 80336FE0 00333F40 7C 80 07 35 */ extsh. r0, r4 +/* 80336FE4 00333F44 38 05 E2 F8 */ addi r0, r5, lbl_803EE2F8@l +/* 80336FE8 00333F48 90 1F 00 00 */ stw r0, 0(r31) +/* 80336FEC 00333F4C 40 81 00 08 */ ble lbl_80336FF4 +/* 80336FF0 00333F50 4B FD E9 41 */ bl Free__7CMemoryFPCv +lbl_80336FF4: +/* 80336FF4 00333F54 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80336FF8 00333F58 7F E3 FB 78 */ mr r3, r31 +/* 80336FFC 00333F5C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80337000 00333F60 7C 08 03 A6 */ mtlr r0 +/* 80337004 00333F64 38 21 00 10 */ addi r1, r1, 0x10 +/* 80337008 00333F68 4E 80 00 20 */ blr diff --git a/asm/Kyoto/Streams/CInputStream.s b/asm/Kyoto/Streams/CInputStream.s new file mode 100644 index 00000000..6ead26f4 --- /dev/null +++ b/asm/Kyoto/Streams/CInputStream.s @@ -0,0 +1,423 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global ReadFloat__12CInputStreamFv +ReadFloat__12CInputStreamFv: +/* 8033EC28 0033BB88 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033EC2C 0033BB8C 7C 08 02 A6 */ mflr r0 +/* 8033EC30 0033BB90 38 8D A9 40 */ addi r4, r13, lbl_805A9500@sda21 +/* 8033EC34 0033BB94 38 A0 00 04 */ li r5, 4 +/* 8033EC38 0033BB98 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033EC3C 0033BB9C 48 00 03 19 */ bl Get__12CInputStreamFPvUl +/* 8033EC40 0033BBA0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033EC44 0033BBA4 C0 2D A9 40 */ lfs f1, lbl_805A9500@sda21(r13) +/* 8033EC48 0033BBA8 7C 08 03 A6 */ mtlr r0 +/* 8033EC4C 0033BBAC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033EC50 0033BBB0 4E 80 00 20 */ blr + +.global ReadLongLong__12CInputStreamFv +ReadLongLong__12CInputStreamFv: +/* 8033EC54 0033BBB4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033EC58 0033BBB8 7C 08 02 A6 */ mflr r0 +/* 8033EC5C 0033BBBC 38 8D A9 38 */ addi r4, r13, lbl_805A94F8@sda21 +/* 8033EC60 0033BBC0 38 A0 00 08 */ li r5, 8 +/* 8033EC64 0033BBC4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033EC68 0033BBC8 48 00 02 ED */ bl Get__12CInputStreamFPvUl +/* 8033EC6C 0033BBCC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033EC70 0033BBD0 80 6D A9 38 */ lwz r3, lbl_805A94F8@sda21(r13) +/* 8033EC74 0033BBD4 80 8D A9 3C */ lwz r4, lbl_805A94FC@sda21(r13) +/* 8033EC78 0033BBD8 7C 08 03 A6 */ mtlr r0 +/* 8033EC7C 0033BBDC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033EC80 0033BBE0 4E 80 00 20 */ blr + +.global ReadLong__12CInputStreamFv +ReadLong__12CInputStreamFv: +/* 8033EC84 0033BBE4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033EC88 0033BBE8 7C 08 02 A6 */ mflr r0 +/* 8033EC8C 0033BBEC 38 8D A9 34 */ addi r4, r13, lbl_805A94F4@sda21 +/* 8033EC90 0033BBF0 38 A0 00 04 */ li r5, 4 +/* 8033EC94 0033BBF4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033EC98 0033BBF8 48 00 02 BD */ bl Get__12CInputStreamFPvUl +/* 8033EC9C 0033BBFC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033ECA0 0033BC00 80 6D A9 34 */ lwz r3, lbl_805A94F4@sda21(r13) +/* 8033ECA4 0033BC04 7C 08 03 A6 */ mtlr r0 +/* 8033ECA8 0033BC08 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033ECAC 0033BC0C 4E 80 00 20 */ blr + +.global ReadShort__12CInputStreamFv +ReadShort__12CInputStreamFv: +/* 8033ECB0 0033BC10 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033ECB4 0033BC14 7C 08 02 A6 */ mflr r0 +/* 8033ECB8 0033BC18 38 8D A9 32 */ addi r4, r13, lbl_805A94F2@sda21 +/* 8033ECBC 0033BC1C 38 A0 00 02 */ li r5, 2 +/* 8033ECC0 0033BC20 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033ECC4 0033BC24 48 00 02 91 */ bl Get__12CInputStreamFPvUl +/* 8033ECC8 0033BC28 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033ECCC 0033BC2C A0 6D A9 32 */ lhz r3, lbl_805A94F2@sda21(r13) +/* 8033ECD0 0033BC30 7C 08 03 A6 */ mtlr r0 +/* 8033ECD4 0033BC34 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033ECD8 0033BC38 4E 80 00 20 */ blr + +.global ReadBool__12CInputStreamFv +ReadBool__12CInputStreamFv: +/* 8033ECDC 0033BC3C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033ECE0 0033BC40 7C 08 02 A6 */ mflr r0 +/* 8033ECE4 0033BC44 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033ECE8 0033BC48 48 00 00 25 */ bl ReadChar__12CInputStreamFv +/* 8033ECEC 0033BC4C 54 63 06 3E */ clrlwi r3, r3, 0x18 +/* 8033ECF0 0033BC50 7C 03 00 D0 */ neg r0, r3 +/* 8033ECF4 0033BC54 7C 00 1B 78 */ or r0, r0, r3 +/* 8033ECF8 0033BC58 54 03 0F FE */ srwi r3, r0, 0x1f +/* 8033ECFC 0033BC5C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033ED00 0033BC60 7C 08 03 A6 */ mtlr r0 +/* 8033ED04 0033BC64 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033ED08 0033BC68 4E 80 00 20 */ blr + +.global ReadChar__12CInputStreamFv +ReadChar__12CInputStreamFv: +/* 8033ED0C 0033BC6C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033ED10 0033BC70 7C 08 02 A6 */ mflr r0 +/* 8033ED14 0033BC74 38 8D A9 30 */ addi r4, r13, lbl_805A94F0@sda21 +/* 8033ED18 0033BC78 38 A0 00 01 */ li r5, 1 +/* 8033ED1C 0033BC7C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033ED20 0033BC80 48 00 02 35 */ bl Get__12CInputStreamFPvUl +/* 8033ED24 0033BC84 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033ED28 0033BC88 88 6D A9 30 */ lbz r3, lbl_805A94F0@sda21(r13) +/* 8033ED2C 0033BC8C 7C 08 03 A6 */ mtlr r0 +/* 8033ED30 0033BC90 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033ED34 0033BC94 4E 80 00 20 */ blr + +.global ReadBits__12CInputStreamFi +ReadBits__12CInputStreamFi: +/* 8033ED38 0033BC98 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033ED3C 0033BC9C 7C 08 02 A6 */ mflr r0 +/* 8033ED40 0033BCA0 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033ED44 0033BCA4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8033ED48 0033BCA8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8033ED4C 0033BCAC 7C 7E 1B 78 */ mr r30, r3 +/* 8033ED50 0033BCB0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8033ED54 0033BCB4 93 81 00 10 */ stw r28, 0x10(r1) +/* 8033ED58 0033BCB8 80 63 00 20 */ lwz r3, 0x20(r3) +/* 8033ED5C 0033BCBC 7C 03 20 40 */ cmplw r3, r4 +/* 8033ED60 0033BCC0 41 80 00 48 */ blt lbl_8033EDA8 +/* 8033ED64 0033BCC4 28 04 00 20 */ cmplwi r4, 0x20 +/* 8033ED68 0033BCC8 20 C4 00 20 */ subfic r6, r4, 0x20 +/* 8033ED6C 0033BCCC 38 A0 FF FF */ li r5, -1 +/* 8033ED70 0033BCD0 41 82 00 10 */ beq lbl_8033ED80 +/* 8033ED74 0033BCD4 38 00 00 01 */ li r0, 1 +/* 8033ED78 0033BCD8 7C 03 20 30 */ slw r3, r0, r4 +/* 8033ED7C 0033BCDC 38 A3 FF FF */ addi r5, r3, -1 +lbl_8033ED80: +/* 8033ED80 0033BCE0 80 1E 00 20 */ lwz r0, 0x20(r30) +/* 8033ED84 0033BCE4 80 7E 00 1C */ lwz r3, 0x1c(r30) +/* 8033ED88 0033BCE8 7C 04 00 50 */ subf r0, r4, r0 +/* 8033ED8C 0033BCEC 90 1E 00 20 */ stw r0, 0x20(r30) +/* 8033ED90 0033BCF0 7C 60 34 30 */ srw r0, r3, r6 +/* 8033ED94 0033BCF4 7C A3 00 38 */ and r3, r5, r0 +/* 8033ED98 0033BCF8 80 1E 00 1C */ lwz r0, 0x1c(r30) +/* 8033ED9C 0033BCFC 7C 00 20 30 */ slw r0, r0, r4 +/* 8033EDA0 0033BD00 90 1E 00 1C */ stw r0, 0x1c(r30) +/* 8033EDA4 0033BD04 48 00 00 BC */ b lbl_8033EE60 +lbl_8033EDA8: +/* 8033EDA8 0033BD08 28 03 00 20 */ cmplwi r3, 0x20 +/* 8033EDAC 0033BD0C 7F E3 20 50 */ subf r31, r3, r4 +/* 8033EDB0 0033BD10 20 E3 00 20 */ subfic r7, r3, 0x20 +/* 8033EDB4 0033BD14 38 C0 FF FF */ li r6, -1 +/* 8033EDB8 0033BD18 41 82 00 10 */ beq lbl_8033EDC8 +/* 8033EDBC 0033BD1C 38 00 00 01 */ li r0, 1 +/* 8033EDC0 0033BD20 7C 03 18 30 */ slw r3, r0, r3 +/* 8033EDC4 0033BD24 38 C3 FF FF */ addi r6, r3, -1 +lbl_8033EDC8: +/* 8033EDC8 0033BD28 57 E4 07 7E */ clrlwi r4, r31, 0x1d +/* 8033EDCC 0033BD2C 80 BE 00 1C */ lwz r5, 0x1c(r30) +/* 8033EDD0 0033BD30 7C 64 00 D0 */ neg r3, r4 +/* 8033EDD4 0033BD34 38 00 00 00 */ li r0, 0 +/* 8033EDD8 0033BD38 7C 63 23 78 */ or r3, r3, r4 +/* 8033EDDC 0033BD3C 7C A5 3C 30 */ srw r5, r5, r7 +/* 8033EDE0 0033BD40 57 E4 E8 FE */ srwi r4, r31, 3 +/* 8033EDE4 0033BD44 90 1E 00 20 */ stw r0, 0x20(r30) +/* 8033EDE8 0033BD48 54 60 0F FE */ srwi r0, r3, 0x1f +/* 8033EDEC 0033BD4C 7C C6 28 38 */ and r6, r6, r5 +/* 8033EDF0 0033BD50 7F A4 02 14 */ add r29, r4, r0 +/* 8033EDF4 0033BD54 7F C3 F3 78 */ mr r3, r30 +/* 8033EDF8 0033BD58 7F A5 EB 78 */ mr r5, r29 +/* 8033EDFC 0033BD5C 7C DC F8 30 */ slw r28, r6, r31 +/* 8033EE00 0033BD60 38 9E 00 1C */ addi r4, r30, 0x1c +/* 8033EE04 0033BD64 48 00 01 51 */ bl Get__12CInputStreamFPvUl +/* 8033EE08 0033BD68 28 1F 00 20 */ cmplwi r31, 0x20 +/* 8033EE0C 0033BD6C 20 DF 00 20 */ subfic r6, r31, 0x20 +/* 8033EE10 0033BD70 38 A0 FF FF */ li r5, -1 +/* 8033EE14 0033BD74 41 82 00 10 */ beq lbl_8033EE24 +/* 8033EE18 0033BD78 38 00 00 01 */ li r0, 1 +/* 8033EE1C 0033BD7C 7C 03 F8 30 */ slw r3, r0, r31 +/* 8033EE20 0033BD80 38 A3 FF FF */ addi r5, r3, -1 +lbl_8033EE24: +/* 8033EE24 0033BD84 80 9E 00 1C */ lwz r4, 0x1c(r30) +/* 8033EE28 0033BD88 57 A0 18 38 */ slwi r0, r29, 3 +/* 8033EE2C 0033BD8C 80 7E 00 20 */ lwz r3, 0x20(r30) +/* 8033EE30 0033BD90 7C 84 34 30 */ srw r4, r4, r6 +/* 8033EE34 0033BD94 90 1E 00 20 */ stw r0, 0x20(r30) +/* 8033EE38 0033BD98 7C A0 20 38 */ and r0, r5, r4 +/* 8033EE3C 0033BD9C 7C 03 18 30 */ slw r3, r0, r3 +/* 8033EE40 0033BDA0 80 1E 00 20 */ lwz r0, 0x20(r30) +/* 8033EE44 0033BDA4 7F 9C 1B 78 */ or r28, r28, r3 +/* 8033EE48 0033BDA8 7F 83 E3 78 */ mr r3, r28 +/* 8033EE4C 0033BDAC 7C 1F 00 50 */ subf r0, r31, r0 +/* 8033EE50 0033BDB0 90 1E 00 20 */ stw r0, 0x20(r30) +/* 8033EE54 0033BDB4 80 1E 00 1C */ lwz r0, 0x1c(r30) +/* 8033EE58 0033BDB8 7C 00 F8 30 */ slw r0, r0, r31 +/* 8033EE5C 0033BDBC 90 1E 00 1C */ stw r0, 0x1c(r30) +lbl_8033EE60: +/* 8033EE60 0033BDC0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8033EE64 0033BDC4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8033EE68 0033BDC8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8033EE6C 0033BDCC 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8033EE70 0033BDD0 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8033EE74 0033BDD4 7C 08 03 A6 */ mtlr r0 +/* 8033EE78 0033BDD8 38 21 00 20 */ addi r1, r1, 0x20 +/* 8033EE7C 0033BDDC 4E 80 00 20 */ blr + +.global ReadBytes__12CInputStreamFPvUl +ReadBytes__12CInputStreamFPvUl: +/* 8033EE80 0033BDE0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033EE84 0033BDE4 7C 08 02 A6 */ mflr r0 +/* 8033EE88 0033BDE8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033EE8C 0033BDEC BF 41 00 08 */ stmw r26, 8(r1) +/* 8033EE90 0033BDF0 7C BC 2B 79 */ or. r28, r5, r5 +/* 8033EE94 0033BDF4 7C 7A 1B 78 */ mr r26, r3 +/* 8033EE98 0033BDF8 7C 9B 23 78 */ mr r27, r4 +/* 8033EE9C 0033BDFC 40 82 00 0C */ bne lbl_8033EEA8 +/* 8033EEA0 0033BE00 38 60 00 00 */ li r3, 0 +/* 8033EEA4 0033BE04 48 00 00 9C */ b lbl_8033EF40 +lbl_8033EEA8: +/* 8033EEA8 0033BE08 80 9A 00 04 */ lwz r4, 4(r26) +/* 8033EEAC 0033BE0C 80 1A 00 08 */ lwz r0, 8(r26) +/* 8033EEB0 0033BE10 7C 04 00 40 */ cmplw r4, r0 +/* 8033EEB4 0033BE14 40 82 00 08 */ bne lbl_8033EEBC +/* 8033EEB8 0033BE18 48 00 01 79 */ bl GrabAnotherBlock__12CInputStreamFv +lbl_8033EEBC: +/* 8033EEBC 0033BE1C 7F 9E E3 78 */ mr r30, r28 +/* 8033EEC0 0033BE20 3B A0 00 00 */ li r29, 0 +/* 8033EEC4 0033BE24 48 00 00 64 */ b lbl_8033EF28 +lbl_8033EEC8: +/* 8033EEC8 0033BE28 80 9A 00 04 */ lwz r4, 4(r26) +/* 8033EECC 0033BE2C 80 1A 00 08 */ lwz r0, 8(r26) +/* 8033EED0 0033BE30 7C 04 00 51 */ subf. r0, r4, r0 +/* 8033EED4 0033BE34 40 82 00 1C */ bne lbl_8033EEF0 +/* 8033EED8 0033BE38 7F 43 D3 78 */ mr r3, r26 +/* 8033EEDC 0033BE3C 48 00 01 75 */ bl InternalReadNext__12CInputStreamFv +/* 8033EEE0 0033BE40 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8033EEE4 0033BE44 40 82 00 44 */ bne lbl_8033EF28 +/* 8033EEE8 0033BE48 7F A3 EB 78 */ mr r3, r29 +/* 8033EEEC 0033BE4C 48 00 00 54 */ b lbl_8033EF40 +lbl_8033EEF0: +/* 8033EEF0 0033BE50 7C 1E 00 40 */ cmplw r30, r0 +/* 8033EEF4 0033BE54 7C 1F 03 78 */ mr r31, r0 +/* 8033EEF8 0033BE58 40 80 00 08 */ bge lbl_8033EF00 +/* 8033EEFC 0033BE5C 7F DF F3 78 */ mr r31, r30 +lbl_8033EF00: +/* 8033EF00 0033BE60 80 1A 00 10 */ lwz r0, 0x10(r26) +/* 8033EF04 0033BE64 7F E5 FB 78 */ mr r5, r31 +/* 8033EF08 0033BE68 7C 7B EA 14 */ add r3, r27, r29 +/* 8033EF0C 0033BE6C 7C 80 22 14 */ add r4, r0, r4 +/* 8033EF10 0033BE70 4B CC 45 81 */ bl memcpy +/* 8033EF14 0033BE74 80 1A 00 04 */ lwz r0, 4(r26) +/* 8033EF18 0033BE78 7F BD FA 14 */ add r29, r29, r31 +/* 8033EF1C 0033BE7C 7F DF F0 50 */ subf r30, r31, r30 +/* 8033EF20 0033BE80 7C 00 FA 14 */ add r0, r0, r31 +/* 8033EF24 0033BE84 90 1A 00 04 */ stw r0, 4(r26) +lbl_8033EF28: +/* 8033EF28 0033BE88 7C 1D E0 40 */ cmplw r29, r28 +/* 8033EF2C 0033BE8C 41 80 FF 9C */ blt lbl_8033EEC8 +/* 8033EF30 0033BE90 80 1A 00 18 */ lwz r0, 0x18(r26) +/* 8033EF34 0033BE94 7F A3 EB 78 */ mr r3, r29 +/* 8033EF38 0033BE98 7C 00 EA 14 */ add r0, r0, r29 +/* 8033EF3C 0033BE9C 90 1A 00 18 */ stw r0, 0x18(r26) +lbl_8033EF40: +/* 8033EF40 0033BEA0 BB 41 00 08 */ lmw r26, 8(r1) +/* 8033EF44 0033BEA4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8033EF48 0033BEA8 7C 08 03 A6 */ mtlr r0 +/* 8033EF4C 0033BEAC 38 21 00 20 */ addi r1, r1, 0x20 +/* 8033EF50 0033BEB0 4E 80 00 20 */ blr + +.global Get__12CInputStreamFPvUl +Get__12CInputStreamFPvUl: +/* 8033EF54 0033BEB4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033EF58 0033BEB8 7C 08 02 A6 */ mflr r0 +/* 8033EF5C 0033BEBC 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033EF60 0033BEC0 38 00 00 00 */ li r0, 0 +/* 8033EF64 0033BEC4 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 8033EF68 0033BEC8 7C 7B 1B 78 */ mr r27, r3 +/* 8033EF6C 0033BECC 7C 9C 23 78 */ mr r28, r4 +/* 8033EF70 0033BED0 3B A0 00 00 */ li r29, 0 +/* 8033EF74 0033BED4 7C BE 2B 78 */ mr r30, r5 +/* 8033EF78 0033BED8 90 03 00 20 */ stw r0, 0x20(r3) +/* 8033EF7C 0033BEDC 48 00 00 8C */ b lbl_8033F008 +lbl_8033EF80: +/* 8033EF80 0033BEE0 80 9B 00 04 */ lwz r4, 4(r27) +/* 8033EF84 0033BEE4 80 1B 00 08 */ lwz r0, 8(r27) +/* 8033EF88 0033BEE8 7C 04 00 50 */ subf r0, r4, r0 +/* 8033EF8C 0033BEEC 7C 1E 00 40 */ cmplw r30, r0 +/* 8033EF90 0033BEF0 7C 1F 03 78 */ mr r31, r0 +/* 8033EF94 0033BEF4 40 80 00 08 */ bge lbl_8033EF9C +/* 8033EF98 0033BEF8 7F DF F3 78 */ mr r31, r30 +lbl_8033EF9C: +/* 8033EF9C 0033BEFC 28 1F 00 00 */ cmplwi r31, 0 +/* 8033EFA0 0033BF00 41 82 00 30 */ beq lbl_8033EFD0 +/* 8033EFA4 0033BF04 80 1B 00 10 */ lwz r0, 0x10(r27) +/* 8033EFA8 0033BF08 7F E5 FB 78 */ mr r5, r31 +/* 8033EFAC 0033BF0C 7C 7C EA 14 */ add r3, r28, r29 +/* 8033EFB0 0033BF10 7C 80 22 14 */ add r4, r0, r4 +/* 8033EFB4 0033BF14 4B CC 44 DD */ bl memcpy +/* 8033EFB8 0033BF18 80 1B 00 04 */ lwz r0, 4(r27) +/* 8033EFBC 0033BF1C 7F DF F0 50 */ subf r30, r31, r30 +/* 8033EFC0 0033BF20 7F BD FA 14 */ add r29, r29, r31 +/* 8033EFC4 0033BF24 7C 00 FA 14 */ add r0, r0, r31 +/* 8033EFC8 0033BF28 90 1B 00 04 */ stw r0, 4(r27) +/* 8033EFCC 0033BF2C 48 00 00 3C */ b lbl_8033F008 +lbl_8033EFD0: +/* 8033EFD0 0033BF30 28 1E 01 00 */ cmplwi r30, 0x100 +/* 8033EFD4 0033BF34 40 81 00 2C */ ble lbl_8033F000 +/* 8033EFD8 0033BF38 7F 63 DB 78 */ mr r3, r27 +/* 8033EFDC 0033BF3C 7F C5 F3 78 */ mr r5, r30 +/* 8033EFE0 0033BF40 81 9B 00 00 */ lwz r12, 0(r27) +/* 8033EFE4 0033BF44 7C 9C EA 14 */ add r4, r28, r29 +/* 8033EFE8 0033BF48 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8033EFEC 0033BF4C 7D 89 03 A6 */ mtctr r12 +/* 8033EFF0 0033BF50 4E 80 04 21 */ bctrl +/* 8033EFF4 0033BF54 7F C3 F0 50 */ subf r30, r3, r30 +/* 8033EFF8 0033BF58 7F BD 1A 14 */ add r29, r29, r3 +/* 8033EFFC 0033BF5C 48 00 00 0C */ b lbl_8033F008 +lbl_8033F000: +/* 8033F000 0033BF60 7F 63 DB 78 */ mr r3, r27 +/* 8033F004 0033BF64 48 00 00 2D */ bl GrabAnotherBlock__12CInputStreamFv +lbl_8033F008: +/* 8033F008 0033BF68 28 1E 00 00 */ cmplwi r30, 0 +/* 8033F00C 0033BF6C 40 82 FF 74 */ bne lbl_8033EF80 +/* 8033F010 0033BF70 80 1B 00 18 */ lwz r0, 0x18(r27) +/* 8033F014 0033BF74 7C 00 EA 14 */ add r0, r0, r29 +/* 8033F018 0033BF78 90 1B 00 18 */ stw r0, 0x18(r27) +/* 8033F01C 0033BF7C BB 61 00 0C */ lmw r27, 0xc(r1) +/* 8033F020 0033BF80 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8033F024 0033BF84 7C 08 03 A6 */ mtlr r0 +/* 8033F028 0033BF88 38 21 00 20 */ addi r1, r1, 0x20 +/* 8033F02C 0033BF8C 4E 80 00 20 */ blr + +.global GrabAnotherBlock__12CInputStreamFv +GrabAnotherBlock__12CInputStreamFv: +/* 8033F030 0033BF90 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033F034 0033BF94 7C 08 02 A6 */ mflr r0 +/* 8033F038 0033BF98 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033F03C 0033BF9C 48 00 00 15 */ bl InternalReadNext__12CInputStreamFv +/* 8033F040 0033BFA0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033F044 0033BFA4 7C 08 03 A6 */ mtlr r0 +/* 8033F048 0033BFA8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033F04C 0033BFAC 4E 80 00 20 */ blr + +.global InternalReadNext__12CInputStreamFv +InternalReadNext__12CInputStreamFv: +/* 8033F050 0033BFB0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033F054 0033BFB4 7C 08 02 A6 */ mflr r0 +/* 8033F058 0033BFB8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033F05C 0033BFBC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033F060 0033BFC0 7C 7F 1B 78 */ mr r31, r3 +/* 8033F064 0033BFC4 81 83 00 00 */ lwz r12, 0(r3) +/* 8033F068 0033BFC8 80 83 00 10 */ lwz r4, 0x10(r3) +/* 8033F06C 0033BFCC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8033F070 0033BFD0 80 A3 00 0C */ lwz r5, 0xc(r3) +/* 8033F074 0033BFD4 7D 89 03 A6 */ mtctr r12 +/* 8033F078 0033BFD8 4E 80 04 21 */ bctrl +/* 8033F07C 0033BFDC 90 7F 00 08 */ stw r3, 8(r31) +/* 8033F080 0033BFE0 38 00 00 00 */ li r0, 0 +/* 8033F084 0033BFE4 90 1F 00 04 */ stw r0, 4(r31) +/* 8033F088 0033BFE8 80 7F 00 08 */ lwz r3, 8(r31) +/* 8033F08C 0033BFEC 7C 03 00 D0 */ neg r0, r3 +/* 8033F090 0033BFF0 7C 00 1B 78 */ or r0, r0, r3 +/* 8033F094 0033BFF4 54 03 0F FE */ srwi r3, r0, 0x1f +/* 8033F098 0033BFF8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033F09C 0033BFFC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033F0A0 0033C000 7C 08 03 A6 */ mtlr r0 +/* 8033F0A4 0033C004 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033F0A8 0033C008 4E 80 00 20 */ blr + +.global __dt__12CInputStreamFv +__dt__12CInputStreamFv: +/* 8033F0AC 0033C00C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033F0B0 0033C010 7C 08 02 A6 */ mflr r0 +/* 8033F0B4 0033C014 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033F0B8 0033C018 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033F0BC 0033C01C 7C 9F 23 78 */ mr r31, r4 +/* 8033F0C0 0033C020 93 C1 00 08 */ stw r30, 8(r1) +/* 8033F0C4 0033C024 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8033F0C8 0033C028 41 82 00 34 */ beq lbl_8033F0FC +/* 8033F0CC 0033C02C 3C 60 80 3F */ lis r3, lbl_803EE388@ha +/* 8033F0D0 0033C030 38 03 E3 88 */ addi r0, r3, lbl_803EE388@l +/* 8033F0D4 0033C034 90 1E 00 00 */ stw r0, 0(r30) +/* 8033F0D8 0033C038 88 1E 00 14 */ lbz r0, 0x14(r30) +/* 8033F0DC 0033C03C 28 00 00 00 */ cmplwi r0, 0 +/* 8033F0E0 0033C040 41 82 00 0C */ beq lbl_8033F0EC +/* 8033F0E4 0033C044 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 8033F0E8 0033C048 4B FD 68 49 */ bl Free__7CMemoryFPCv +lbl_8033F0EC: +/* 8033F0EC 0033C04C 7F E0 07 35 */ extsh. r0, r31 +/* 8033F0F0 0033C050 40 81 00 0C */ ble lbl_8033F0FC +/* 8033F0F4 0033C054 7F C3 F3 78 */ mr r3, r30 +/* 8033F0F8 0033C058 4B FD 68 39 */ bl Free__7CMemoryFPCv +lbl_8033F0FC: +/* 8033F0FC 0033C05C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033F100 0033C060 7F C3 F3 78 */ mr r3, r30 +/* 8033F104 0033C064 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033F108 0033C068 83 C1 00 08 */ lwz r30, 8(r1) +/* 8033F10C 0033C06C 7C 08 03 A6 */ mtlr r0 +/* 8033F110 0033C070 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033F114 0033C074 4E 80 00 20 */ blr + +.global __ct__12CInputStreamFPCvib +__ct__12CInputStreamFPCvib: +/* 8033F118 0033C078 3C E0 80 3F */ lis r7, lbl_803EE388@ha +/* 8033F11C 0033C07C 38 00 00 00 */ li r0, 0 +/* 8033F120 0033C080 38 E7 E3 88 */ addi r7, r7, lbl_803EE388@l +/* 8033F124 0033C084 90 E3 00 00 */ stw r7, 0(r3) +/* 8033F128 0033C088 90 03 00 04 */ stw r0, 4(r3) +/* 8033F12C 0033C08C 90 A3 00 08 */ stw r5, 8(r3) +/* 8033F130 0033C090 90 A3 00 0C */ stw r5, 0xc(r3) +/* 8033F134 0033C094 90 83 00 10 */ stw r4, 0x10(r3) +/* 8033F138 0033C098 98 C3 00 14 */ stb r6, 0x14(r3) +/* 8033F13C 0033C09C 90 03 00 18 */ stw r0, 0x18(r3) +/* 8033F140 0033C0A0 90 03 00 1C */ stw r0, 0x1c(r3) +/* 8033F144 0033C0A4 90 03 00 20 */ stw r0, 0x20(r3) +/* 8033F148 0033C0A8 4E 80 00 20 */ blr + +.global __ct__12CInputStreamFi +__ct__12CInputStreamFi: +/* 8033F14C 0033C0AC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033F150 0033C0B0 7C 08 02 A6 */ mflr r0 +/* 8033F154 0033C0B4 3C C0 80 3F */ lis r6, lbl_803EE388@ha +/* 8033F158 0033C0B8 3C A0 80 3D */ lis r5, lbl_803D7A68@ha +/* 8033F15C 0033C0BC 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033F160 0033C0C0 38 06 E3 88 */ addi r0, r6, lbl_803EE388@l +/* 8033F164 0033C0C4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033F168 0033C0C8 7C 7F 1B 78 */ mr r31, r3 +/* 8033F16C 0033C0CC 7C 83 23 78 */ mr r3, r4 +/* 8033F170 0033C0D0 38 85 7A 68 */ addi r4, r5, lbl_803D7A68@l +/* 8033F174 0033C0D4 90 1F 00 00 */ stw r0, 0(r31) +/* 8033F178 0033C0D8 38 00 00 00 */ li r0, 0 +/* 8033F17C 0033C0DC 38 A0 00 00 */ li r5, 0 +/* 8033F180 0033C0E0 90 1F 00 04 */ stw r0, 4(r31) +/* 8033F184 0033C0E4 90 1F 00 08 */ stw r0, 8(r31) +/* 8033F188 0033C0E8 90 7F 00 0C */ stw r3, 0xc(r31) +/* 8033F18C 0033C0EC 4B FD 66 8D */ bl __nwa__FUlPCcPCc +/* 8033F190 0033C0F0 90 7F 00 10 */ stw r3, 0x10(r31) +/* 8033F194 0033C0F4 38 80 00 01 */ li r4, 1 +/* 8033F198 0033C0F8 38 00 00 00 */ li r0, 0 +/* 8033F19C 0033C0FC 7F E3 FB 78 */ mr r3, r31 +/* 8033F1A0 0033C100 98 9F 00 14 */ stb r4, 0x14(r31) +/* 8033F1A4 0033C104 90 1F 00 18 */ stw r0, 0x18(r31) +/* 8033F1A8 0033C108 90 1F 00 1C */ stw r0, 0x1c(r31) +/* 8033F1AC 0033C10C 90 1F 00 20 */ stw r0, 0x20(r31) +/* 8033F1B0 0033C110 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033F1B4 0033C114 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033F1B8 0033C118 7C 08 03 A6 */ mtlr r0 +/* 8033F1BC 0033C11C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033F1C0 0033C120 4E 80 00 20 */ blr diff --git a/asm/Kyoto/Streams/CMemoryInStream.s b/asm/Kyoto/Streams/CMemoryInStream.s new file mode 100644 index 00000000..e4b40724 --- /dev/null +++ b/asm/Kyoto/Streams/CMemoryInStream.s @@ -0,0 +1,47 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global Read__15CMemoryInStreamFPvUl +Read__15CMemoryInStreamFPvUl: +/* 8033F1C4 0033C124 38 60 00 00 */ li r3, 0 +/* 8033F1C8 0033C128 4E 80 00 20 */ blr + +.global __ct__15CMemoryInStreamFPCvUl +__ct__15CMemoryInStreamFPCvUl: +/* 8033F1CC 0033C12C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033F1D0 0033C130 7C 08 02 A6 */ mflr r0 +/* 8033F1D4 0033C134 38 C0 00 00 */ li r6, 0 +/* 8033F1D8 0033C138 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033F1DC 0033C13C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033F1E0 0033C140 7C 7F 1B 78 */ mr r31, r3 +/* 8033F1E4 0033C144 4B FF FF 35 */ bl __ct__12CInputStreamFPCvib +/* 8033F1E8 0033C148 3C 80 80 3F */ lis r4, __vt__15CMemoryInStream@ha +/* 8033F1EC 0033C14C 7F E3 FB 78 */ mr r3, r31 +/* 8033F1F0 0033C150 38 04 E3 98 */ addi r0, r4, __vt__15CMemoryInStream@l +/* 8033F1F4 0033C154 90 1F 00 00 */ stw r0, 0(r31) +/* 8033F1F8 0033C158 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033F1FC 0033C15C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033F200 0033C160 7C 08 03 A6 */ mtlr r0 +/* 8033F204 0033C164 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033F208 0033C168 4E 80 00 20 */ blr + +.global __ct__15CMemoryInStreamFPvUlQ215CMemoryInStream10EOwnerShip +__ct__15CMemoryInStreamFPvUlQ215CMemoryInStream10EOwnerShip: +/* 8033F20C 0033C16C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033F210 0033C170 7C 08 02 A6 */ mflr r0 +/* 8033F214 0033C174 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033F218 0033C178 7C C0 00 34 */ cntlzw r0, r6 +/* 8033F21C 0033C17C 54 06 D9 7E */ srwi r6, r0, 5 +/* 8033F220 0033C180 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033F224 0033C184 7C 7F 1B 78 */ mr r31, r3 +/* 8033F228 0033C188 4B FF FE F1 */ bl __ct__12CInputStreamFPCvib +/* 8033F22C 0033C18C 3C 80 80 3F */ lis r4, __vt__15CMemoryInStream@ha +/* 8033F230 0033C190 7F E3 FB 78 */ mr r3, r31 +/* 8033F234 0033C194 38 04 E3 98 */ addi r0, r4, __vt__15CMemoryInStream@l +/* 8033F238 0033C198 90 1F 00 00 */ stw r0, 0(r31) +/* 8033F23C 0033C19C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033F240 0033C1A0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033F244 0033C1A4 7C 08 03 A6 */ mtlr r0 +/* 8033F248 0033C1A8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033F24C 0033C1AC 4E 80 00 20 */ blr diff --git a/asm/Kyoto/Streams/CMemoryStreamOut.s b/asm/Kyoto/Streams/CMemoryStreamOut.s new file mode 100644 index 00000000..8ed60d42 --- /dev/null +++ b/asm/Kyoto/Streams/CMemoryStreamOut.s @@ -0,0 +1,107 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global Write__16CMemoryStreamOutFPCvUl +Write__16CMemoryStreamOutFPCvUl: +/* 8033F250 0033C1B0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033F254 0033C1B4 7C 08 02 A6 */ mflr r0 +/* 8033F258 0033C1B8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033F25C 0033C1BC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033F260 0033C1C0 7C BF 2B 78 */ mr r31, r5 +/* 8033F264 0033C1C4 93 C1 00 08 */ stw r30, 8(r1) +/* 8033F268 0033C1C8 7C 7E 1B 78 */ mr r30, r3 +/* 8033F26C 0033C1CC 80 63 00 84 */ lwz r3, 0x84(r3) +/* 8033F270 0033C1D0 80 1E 00 80 */ lwz r0, 0x80(r30) +/* 8033F274 0033C1D4 7C 03 00 50 */ subf r0, r3, r0 +/* 8033F278 0033C1D8 7C 00 28 40 */ cmplw r0, r5 +/* 8033F27C 0033C1DC 40 80 00 08 */ bge lbl_8033F284 +/* 8033F280 0033C1E0 7C 1F 03 78 */ mr r31, r0 +lbl_8033F284: +/* 8033F284 0033C1E4 28 1F 00 00 */ cmplwi r31, 0 +/* 8033F288 0033C1E8 41 82 00 20 */ beq lbl_8033F2A8 +/* 8033F28C 0033C1EC 80 1E 00 7C */ lwz r0, 0x7c(r30) +/* 8033F290 0033C1F0 7F E5 FB 78 */ mr r5, r31 +/* 8033F294 0033C1F4 7C 60 1A 14 */ add r3, r0, r3 +/* 8033F298 0033C1F8 4B CC 41 F9 */ bl memcpy +/* 8033F29C 0033C1FC 80 1E 00 84 */ lwz r0, 0x84(r30) +/* 8033F2A0 0033C200 7C 00 FA 14 */ add r0, r0, r31 +/* 8033F2A4 0033C204 90 1E 00 84 */ stw r0, 0x84(r30) +lbl_8033F2A8: +/* 8033F2A8 0033C208 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033F2AC 0033C20C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033F2B0 0033C210 83 C1 00 08 */ lwz r30, 8(r1) +/* 8033F2B4 0033C214 7C 08 03 A6 */ mtlr r0 +/* 8033F2B8 0033C218 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033F2BC 0033C21C 4E 80 00 20 */ blr + +.global __dt__16CMemoryStreamOutFv +__dt__16CMemoryStreamOutFv: +/* 8033F2C0 0033C220 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033F2C4 0033C224 7C 08 02 A6 */ mflr r0 +/* 8033F2C8 0033C228 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033F2CC 0033C22C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033F2D0 0033C230 7C 9F 23 78 */ mr r31, r4 +/* 8033F2D4 0033C234 93 C1 00 08 */ stw r30, 8(r1) +/* 8033F2D8 0033C238 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8033F2DC 0033C23C 41 82 00 44 */ beq lbl_8033F320 +/* 8033F2E0 0033C240 3C 80 80 3F */ lis r4, lbl_803EE3A8@ha +/* 8033F2E4 0033C244 38 04 E3 A8 */ addi r0, r4, lbl_803EE3A8@l +/* 8033F2E8 0033C248 90 1E 00 00 */ stw r0, 0(r30) +/* 8033F2EC 0033C24C 48 00 02 89 */ bl Flush__13COutputStreamFv +/* 8033F2F0 0033C250 88 1E 00 88 */ lbz r0, 0x88(r30) +/* 8033F2F4 0033C254 28 00 00 00 */ cmplwi r0, 0 +/* 8033F2F8 0033C258 41 82 00 0C */ beq lbl_8033F304 +/* 8033F2FC 0033C25C 80 7E 00 7C */ lwz r3, 0x7c(r30) +/* 8033F300 0033C260 4B FD 66 31 */ bl Free__7CMemoryFPCv +lbl_8033F304: +/* 8033F304 0033C264 7F C3 F3 78 */ mr r3, r30 +/* 8033F308 0033C268 38 80 00 00 */ li r4, 0 +/* 8033F30C 0033C26C 48 00 03 85 */ bl __dt__13COutputStreamFv +/* 8033F310 0033C270 7F E0 07 35 */ extsh. r0, r31 +/* 8033F314 0033C274 40 81 00 0C */ ble lbl_8033F320 +/* 8033F318 0033C278 7F C3 F3 78 */ mr r3, r30 +/* 8033F31C 0033C27C 4B FD 66 15 */ bl Free__7CMemoryFPCv +lbl_8033F320: +/* 8033F320 0033C280 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033F324 0033C284 7F C3 F3 78 */ mr r3, r30 +/* 8033F328 0033C288 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033F32C 0033C28C 83 C1 00 08 */ lwz r30, 8(r1) +/* 8033F330 0033C290 7C 08 03 A6 */ mtlr r0 +/* 8033F334 0033C294 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033F338 0033C298 4E 80 00 20 */ blr + +.global __ct__16CMemoryStreamOutFPvUlQ216CMemoryStreamOut10EOwnerShipi +__ct__16CMemoryStreamOutFPvUlQ216CMemoryStreamOut10EOwnerShipi: +/* 8033F33C 0033C29C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033F340 0033C2A0 7C 08 02 A6 */ mflr r0 +/* 8033F344 0033C2A4 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033F348 0033C2A8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8033F34C 0033C2AC 7C DF 33 78 */ mr r31, r6 +/* 8033F350 0033C2B0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8033F354 0033C2B4 7C BE 2B 78 */ mr r30, r5 +/* 8033F358 0033C2B8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8033F35C 0033C2BC 7C 9D 23 78 */ mr r29, r4 +/* 8033F360 0033C2C0 7C E4 3B 78 */ mr r4, r7 +/* 8033F364 0033C2C4 93 81 00 10 */ stw r28, 0x10(r1) +/* 8033F368 0033C2C8 7C 7C 1B 78 */ mr r28, r3 +/* 8033F36C 0033C2CC 48 00 03 91 */ bl __ct__13COutputStreamFi +/* 8033F370 0033C2D0 3C 60 80 3F */ lis r3, lbl_803EE3A8@ha +/* 8033F374 0033C2D4 7F E0 00 34 */ cntlzw r0, r31 +/* 8033F378 0033C2D8 38 63 E3 A8 */ addi r3, r3, lbl_803EE3A8@l +/* 8033F37C 0033C2DC 38 80 00 00 */ li r4, 0 +/* 8033F380 0033C2E0 90 7C 00 00 */ stw r3, 0(r28) +/* 8033F384 0033C2E4 54 00 D9 7E */ srwi r0, r0, 5 +/* 8033F388 0033C2E8 7F 83 E3 78 */ mr r3, r28 +/* 8033F38C 0033C2EC 93 BC 00 7C */ stw r29, 0x7c(r28) +/* 8033F390 0033C2F0 93 DC 00 80 */ stw r30, 0x80(r28) +/* 8033F394 0033C2F4 90 9C 00 84 */ stw r4, 0x84(r28) +/* 8033F398 0033C2F8 98 1C 00 88 */ stb r0, 0x88(r28) +/* 8033F39C 0033C2FC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8033F3A0 0033C300 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8033F3A4 0033C304 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8033F3A8 0033C308 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8033F3AC 0033C30C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8033F3B0 0033C310 7C 08 03 A6 */ mtlr r0 +/* 8033F3B4 0033C314 38 21 00 20 */ addi r1, r1, 0x20 +/* 8033F3B8 0033C318 4E 80 00 20 */ blr diff --git a/asm/Kyoto/Streams/COutputStream.s b/asm/Kyoto/Streams/COutputStream.s new file mode 100644 index 00000000..5f35e6a5 --- /dev/null +++ b/asm/Kyoto/Streams/COutputStream.s @@ -0,0 +1,293 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global WriteBits__13COutputStreamFii +WriteBits__13COutputStreamFii: +/* 8033F3BC 0033C31C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033F3C0 0033C320 7C 08 02 A6 */ mflr r0 +/* 8033F3C4 0033C324 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033F3C8 0033C328 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8033F3CC 0033C32C 7C 9F 23 78 */ mr r31, r4 +/* 8033F3D0 0033C330 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8033F3D4 0033C334 7C 7E 1B 78 */ mr r30, r3 +/* 8033F3D8 0033C338 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8033F3DC 0033C33C 80 63 00 18 */ lwz r3, 0x18(r3) +/* 8033F3E0 0033C340 7C 03 28 40 */ cmplw r3, r5 +/* 8033F3E4 0033C344 41 80 00 44 */ blt lbl_8033F428 +/* 8033F3E8 0033C348 28 05 00 20 */ cmplwi r5, 0x20 +/* 8033F3EC 0033C34C 80 9E 00 14 */ lwz r4, 0x14(r30) +/* 8033F3F0 0033C350 7C C5 18 50 */ subf r6, r5, r3 +/* 8033F3F4 0033C354 38 00 FF FF */ li r0, -1 +/* 8033F3F8 0033C358 41 82 00 10 */ beq lbl_8033F408 +/* 8033F3FC 0033C35C 38 00 00 01 */ li r0, 1 +/* 8033F400 0033C360 7C 03 28 30 */ slw r3, r0, r5 +/* 8033F404 0033C364 38 03 FF FF */ addi r0, r3, -1 +lbl_8033F408: +/* 8033F408 0033C368 7F E0 00 38 */ and r0, r31, r0 +/* 8033F40C 0033C36C 7C 00 30 30 */ slw r0, r0, r6 +/* 8033F410 0033C370 7C 80 03 78 */ or r0, r4, r0 +/* 8033F414 0033C374 90 1E 00 14 */ stw r0, 0x14(r30) +/* 8033F418 0033C378 80 1E 00 18 */ lwz r0, 0x18(r30) +/* 8033F41C 0033C37C 7C 05 00 50 */ subf r0, r5, r0 +/* 8033F420 0033C380 90 1E 00 18 */ stw r0, 0x18(r30) +/* 8033F424 0033C384 48 00 00 78 */ b lbl_8033F49C +lbl_8033F428: +/* 8033F428 0033C388 28 03 00 20 */ cmplwi r3, 0x20 +/* 8033F42C 0033C38C 7F A3 28 50 */ subf r29, r3, r5 +/* 8033F430 0033C390 80 9E 00 14 */ lwz r4, 0x14(r30) +/* 8033F434 0033C394 7F E5 EC 30 */ srw r5, r31, r29 +/* 8033F438 0033C398 38 00 FF FF */ li r0, -1 +/* 8033F43C 0033C39C 41 82 00 10 */ beq lbl_8033F44C +/* 8033F440 0033C3A0 38 00 00 01 */ li r0, 1 +/* 8033F444 0033C3A4 7C 03 18 30 */ slw r3, r0, r3 +/* 8033F448 0033C3A8 38 03 FF FF */ addi r0, r3, -1 +lbl_8033F44C: +/* 8033F44C 0033C3AC 7C A3 00 38 */ and r3, r5, r0 +/* 8033F450 0033C3B0 38 00 00 00 */ li r0, 0 +/* 8033F454 0033C3B4 7C 84 1B 78 */ or r4, r4, r3 +/* 8033F458 0033C3B8 7F C3 F3 78 */ mr r3, r30 +/* 8033F45C 0033C3BC 90 9E 00 14 */ stw r4, 0x14(r30) +/* 8033F460 0033C3C0 90 1E 00 18 */ stw r0, 0x18(r30) +/* 8033F464 0033C3C4 48 00 00 55 */ bl FlushShiftRegister__13COutputStreamFv +/* 8033F468 0033C3C8 28 1D 00 20 */ cmplwi r29, 0x20 +/* 8033F46C 0033C3CC 20 9D 00 20 */ subfic r4, r29, 0x20 +/* 8033F470 0033C3D0 38 00 FF FF */ li r0, -1 +/* 8033F474 0033C3D4 41 82 00 10 */ beq lbl_8033F484 +/* 8033F478 0033C3D8 38 00 00 01 */ li r0, 1 +/* 8033F47C 0033C3DC 7C 03 E8 30 */ slw r3, r0, r29 +/* 8033F480 0033C3E0 38 03 FF FF */ addi r0, r3, -1 +lbl_8033F484: +/* 8033F484 0033C3E4 7F E0 00 38 */ and r0, r31, r0 +/* 8033F488 0033C3E8 7C 00 20 30 */ slw r0, r0, r4 +/* 8033F48C 0033C3EC 90 1E 00 14 */ stw r0, 0x14(r30) +/* 8033F490 0033C3F0 80 1E 00 18 */ lwz r0, 0x18(r30) +/* 8033F494 0033C3F4 7C 1D 00 50 */ subf r0, r29, r0 +/* 8033F498 0033C3F8 90 1E 00 18 */ stw r0, 0x18(r30) +lbl_8033F49C: +/* 8033F49C 0033C3FC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8033F4A0 0033C400 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8033F4A4 0033C404 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8033F4A8 0033C408 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8033F4AC 0033C40C 7C 08 03 A6 */ mtlr r0 +/* 8033F4B0 0033C410 38 21 00 20 */ addi r1, r1, 0x20 +/* 8033F4B4 0033C414 4E 80 00 20 */ blr + +.global FlushShiftRegister__13COutputStreamFv +FlushShiftRegister__13COutputStreamFv: +/* 8033F4B8 0033C418 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033F4BC 0033C41C 7C 08 02 A6 */ mflr r0 +/* 8033F4C0 0033C420 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033F4C4 0033C424 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033F4C8 0033C428 7C 7F 1B 78 */ mr r31, r3 +/* 8033F4CC 0033C42C 80 03 00 18 */ lwz r0, 0x18(r3) +/* 8033F4D0 0033C430 28 00 00 20 */ cmplwi r0, 0x20 +/* 8033F4D4 0033C434 40 80 00 3C */ bge lbl_8033F510 +/* 8033F4D8 0033C438 80 1F 00 18 */ lwz r0, 0x18(r31) +/* 8033F4DC 0033C43C 38 9F 00 14 */ addi r4, r31, 0x14 +/* 8033F4E0 0033C440 20 C0 00 20 */ subfic r6, r0, 0x20 +/* 8033F4E4 0033C444 54 C5 07 7E */ clrlwi r5, r6, 0x1d +/* 8033F4E8 0033C448 7C 05 00 D0 */ neg r0, r5 +/* 8033F4EC 0033C44C 54 C6 E8 FE */ srwi r6, r6, 3 +/* 8033F4F0 0033C450 7C 00 2B 78 */ or r0, r0, r5 +/* 8033F4F4 0033C454 54 00 0F FE */ srwi r0, r0, 0x1f +/* 8033F4F8 0033C458 7C A6 02 14 */ add r5, r6, r0 +/* 8033F4FC 0033C45C 48 00 00 AD */ bl DoPut__13COutputStreamFPCvUl +/* 8033F500 0033C460 38 60 00 00 */ li r3, 0 +/* 8033F504 0033C464 38 00 00 20 */ li r0, 0x20 +/* 8033F508 0033C468 90 7F 00 14 */ stw r3, 0x14(r31) +/* 8033F50C 0033C46C 90 1F 00 18 */ stw r0, 0x18(r31) +lbl_8033F510: +/* 8033F510 0033C470 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033F514 0033C474 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033F518 0033C478 7C 08 03 A6 */ mtlr r0 +/* 8033F51C 0033C47C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033F520 0033C480 4E 80 00 20 */ blr + +.global DoFlush__13COutputStreamFv +DoFlush__13COutputStreamFv: +/* 8033F524 0033C484 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033F528 0033C488 7C 08 02 A6 */ mflr r0 +/* 8033F52C 0033C48C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033F530 0033C490 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033F534 0033C494 7C 7F 1B 78 */ mr r31, r3 +/* 8033F538 0033C498 80 A3 00 04 */ lwz r5, 4(r3) +/* 8033F53C 0033C49C 28 05 00 00 */ cmplwi r5, 0 +/* 8033F540 0033C4A0 41 82 00 20 */ beq lbl_8033F560 +/* 8033F544 0033C4A4 81 83 00 00 */ lwz r12, 0(r3) +/* 8033F548 0033C4A8 80 9F 00 0C */ lwz r4, 0xc(r31) +/* 8033F54C 0033C4AC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8033F550 0033C4B0 7D 89 03 A6 */ mtctr r12 +/* 8033F554 0033C4B4 4E 80 04 21 */ bctrl +/* 8033F558 0033C4B8 38 00 00 00 */ li r0, 0 +/* 8033F55C 0033C4BC 90 1F 00 04 */ stw r0, 4(r31) +lbl_8033F560: +/* 8033F560 0033C4C0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033F564 0033C4C4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033F568 0033C4C8 7C 08 03 A6 */ mtlr r0 +/* 8033F56C 0033C4CC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033F570 0033C4D0 4E 80 00 20 */ blr + +.global Flush__13COutputStreamFv +Flush__13COutputStreamFv: +/* 8033F574 0033C4D4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033F578 0033C4D8 7C 08 02 A6 */ mflr r0 +/* 8033F57C 0033C4DC 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033F580 0033C4E0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033F584 0033C4E4 7C 7F 1B 78 */ mr r31, r3 +/* 8033F588 0033C4E8 4B FF FF 31 */ bl FlushShiftRegister__13COutputStreamFv +/* 8033F58C 0033C4EC 7F E3 FB 78 */ mr r3, r31 +/* 8033F590 0033C4F0 4B FF FF 95 */ bl DoFlush__13COutputStreamFv +/* 8033F594 0033C4F4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033F598 0033C4F8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033F59C 0033C4FC 7C 08 03 A6 */ mtlr r0 +/* 8033F5A0 0033C500 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033F5A4 0033C504 4E 80 00 20 */ blr + +.global DoPut__13COutputStreamFPCvUl +DoPut__13COutputStreamFPCvUl: +/* 8033F5A8 0033C508 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033F5AC 0033C50C 7C 08 02 A6 */ mflr r0 +/* 8033F5B0 0033C510 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033F5B4 0033C514 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8033F5B8 0033C518 7C 7F 1B 78 */ mr r31, r3 +/* 8033F5BC 0033C51C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8033F5C0 0033C520 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8033F5C4 0033C524 93 81 00 10 */ stw r28, 0x10(r1) +/* 8033F5C8 0033C528 7C BC 2B 79 */ or. r28, r5, r5 +/* 8033F5CC 0033C52C 41 82 00 A4 */ beq lbl_8033F670 +/* 8033F5D0 0033C530 80 1F 00 10 */ lwz r0, 0x10(r31) +/* 8033F5D4 0033C534 7C 00 E2 14 */ add r0, r0, r28 +/* 8033F5D8 0033C538 90 1F 00 10 */ stw r0, 0x10(r31) +/* 8033F5DC 0033C53C 80 DF 00 04 */ lwz r6, 4(r31) +/* 8033F5E0 0033C540 80 1F 00 08 */ lwz r0, 8(r31) +/* 8033F5E4 0033C544 7C 7C 32 14 */ add r3, r28, r6 +/* 8033F5E8 0033C548 7C 03 00 40 */ cmplw r3, r0 +/* 8033F5EC 0033C54C 41 81 00 20 */ bgt lbl_8033F60C +/* 8033F5F0 0033C550 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 8033F5F4 0033C554 7C 60 32 14 */ add r3, r0, r6 +/* 8033F5F8 0033C558 4B CC 3E 99 */ bl memcpy +/* 8033F5FC 0033C55C 80 1F 00 04 */ lwz r0, 4(r31) +/* 8033F600 0033C560 7C 00 E2 14 */ add r0, r0, r28 +/* 8033F604 0033C564 90 1F 00 04 */ stw r0, 4(r31) +/* 8033F608 0033C568 48 00 00 68 */ b lbl_8033F670 +lbl_8033F60C: +/* 8033F60C 0033C56C 7F A4 E2 14 */ add r29, r4, r28 +/* 8033F610 0033C570 48 00 00 58 */ b lbl_8033F668 +lbl_8033F614: +/* 8033F614 0033C574 80 7F 00 04 */ lwz r3, 4(r31) +/* 8033F618 0033C578 80 1F 00 08 */ lwz r0, 8(r31) +/* 8033F61C 0033C57C 7C 03 00 50 */ subf r0, r3, r0 +/* 8033F620 0033C580 7C 1C 00 40 */ cmplw r28, r0 +/* 8033F624 0033C584 7C 1E 03 78 */ mr r30, r0 +/* 8033F628 0033C588 40 80 00 08 */ bge lbl_8033F630 +/* 8033F62C 0033C58C 7F 9E E3 78 */ mr r30, r28 +lbl_8033F630: +/* 8033F630 0033C590 28 1E 00 00 */ cmplwi r30, 0 +/* 8033F634 0033C594 41 82 00 2C */ beq lbl_8033F660 +/* 8033F638 0033C598 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 8033F63C 0033C59C 7F C5 F3 78 */ mr r5, r30 +/* 8033F640 0033C5A0 7C 9C E8 50 */ subf r4, r28, r29 +/* 8033F644 0033C5A4 7C 60 1A 14 */ add r3, r0, r3 +/* 8033F648 0033C5A8 4B CC 3E 49 */ bl memcpy +/* 8033F64C 0033C5AC 80 1F 00 04 */ lwz r0, 4(r31) +/* 8033F650 0033C5B0 7F 9E E0 50 */ subf r28, r30, r28 +/* 8033F654 0033C5B4 7C 00 F2 14 */ add r0, r0, r30 +/* 8033F658 0033C5B8 90 1F 00 04 */ stw r0, 4(r31) +/* 8033F65C 0033C5BC 48 00 00 0C */ b lbl_8033F668 +lbl_8033F660: +/* 8033F660 0033C5C0 7F E3 FB 78 */ mr r3, r31 +/* 8033F664 0033C5C4 4B FF FE C1 */ bl DoFlush__13COutputStreamFv +lbl_8033F668: +/* 8033F668 0033C5C8 28 1C 00 00 */ cmplwi r28, 0 +/* 8033F66C 0033C5CC 40 82 FF A8 */ bne lbl_8033F614 +lbl_8033F670: +/* 8033F670 0033C5D0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8033F674 0033C5D4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8033F678 0033C5D8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8033F67C 0033C5DC 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8033F680 0033C5E0 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8033F684 0033C5E4 7C 08 03 A6 */ mtlr r0 +/* 8033F688 0033C5E8 38 21 00 20 */ addi r1, r1, 0x20 +/* 8033F68C 0033C5EC 4E 80 00 20 */ blr + +.global __dt__13COutputStreamFv +__dt__13COutputStreamFv: +/* 8033F690 0033C5F0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033F694 0033C5F4 7C 08 02 A6 */ mflr r0 +/* 8033F698 0033C5F8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033F69C 0033C5FC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033F6A0 0033C600 7C 9F 23 78 */ mr r31, r4 +/* 8033F6A4 0033C604 93 C1 00 08 */ stw r30, 8(r1) +/* 8033F6A8 0033C608 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8033F6AC 0033C60C 41 82 00 34 */ beq lbl_8033F6E0 +/* 8033F6B0 0033C610 3C 60 80 3F */ lis r3, lbl_803EE3B8@ha +/* 8033F6B4 0033C614 38 03 E3 B8 */ addi r0, r3, lbl_803EE3B8@l +/* 8033F6B8 0033C618 90 1E 00 00 */ stw r0, 0(r30) +/* 8033F6BC 0033C61C 80 1E 00 08 */ lwz r0, 8(r30) +/* 8033F6C0 0033C620 28 00 00 40 */ cmplwi r0, 0x40 +/* 8033F6C4 0033C624 40 81 00 0C */ ble lbl_8033F6D0 +/* 8033F6C8 0033C628 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8033F6CC 0033C62C 4B FD 62 65 */ bl Free__7CMemoryFPCv +lbl_8033F6D0: +/* 8033F6D0 0033C630 7F E0 07 35 */ extsh. r0, r31 +/* 8033F6D4 0033C634 40 81 00 0C */ ble lbl_8033F6E0 +/* 8033F6D8 0033C638 7F C3 F3 78 */ mr r3, r30 +/* 8033F6DC 0033C63C 4B FD 62 55 */ bl Free__7CMemoryFPCv +lbl_8033F6E0: +/* 8033F6E0 0033C640 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033F6E4 0033C644 7F C3 F3 78 */ mr r3, r30 +/* 8033F6E8 0033C648 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033F6EC 0033C64C 83 C1 00 08 */ lwz r30, 8(r1) +/* 8033F6F0 0033C650 7C 08 03 A6 */ mtlr r0 +/* 8033F6F4 0033C654 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033F6F8 0033C658 4E 80 00 20 */ blr + +.global __ct__13COutputStreamFi +__ct__13COutputStreamFi: +/* 8033F6FC 0033C65C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033F700 0033C660 7C 08 02 A6 */ mflr r0 +/* 8033F704 0033C664 3C A0 80 3F */ lis r5, lbl_803EE3B8@ha +/* 8033F708 0033C668 2C 04 00 40 */ cmpwi r4, 0x40 +/* 8033F70C 0033C66C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033F710 0033C670 38 00 00 00 */ li r0, 0 +/* 8033F714 0033C674 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033F718 0033C678 7C 7F 1B 78 */ mr r31, r3 +/* 8033F71C 0033C67C 38 65 E3 B8 */ addi r3, r5, lbl_803EE3B8@l +/* 8033F720 0033C680 90 7F 00 00 */ stw r3, 0(r31) +/* 8033F724 0033C684 90 1F 00 04 */ stw r0, 4(r31) +/* 8033F728 0033C688 90 9F 00 08 */ stw r4, 8(r31) +/* 8033F72C 0033C68C 40 81 00 1C */ ble lbl_8033F748 +/* 8033F730 0033C690 3C A0 80 3D */ lis r5, lbl_803D7A70@ha +/* 8033F734 0033C694 7C 83 23 78 */ mr r3, r4 +/* 8033F738 0033C698 38 85 7A 70 */ addi r4, r5, lbl_803D7A70@l +/* 8033F73C 0033C69C 38 A0 00 00 */ li r5, 0 +/* 8033F740 0033C6A0 4B FD 60 D9 */ bl __nwa__FUlPCcPCc +/* 8033F744 0033C6A4 48 00 00 38 */ b lbl_8033F77C +lbl_8033F748: +/* 8033F748 0033C6A8 3C 60 08 42 */ lis r3, 0x08421085@ha +/* 8033F74C 0033C6AC 38 9F 00 1C */ addi r4, r31, 0x1c +/* 8033F750 0033C6B0 38 03 10 85 */ addi r0, r3, 0x08421085@l +/* 8033F754 0033C6B4 7C 60 20 16 */ mulhwu r3, r0, r4 +/* 8033F758 0033C6B8 7C 03 20 50 */ subf r0, r3, r4 +/* 8033F75C 0033C6BC 54 00 F8 7E */ srwi r0, r0, 1 +/* 8033F760 0033C6C0 7C 00 1A 14 */ add r0, r0, r3 +/* 8033F764 0033C6C4 54 00 E1 3E */ srwi r0, r0, 4 +/* 8033F768 0033C6C8 1C 00 00 1F */ mulli r0, r0, 0x1f +/* 8033F76C 0033C6CC 7C 00 20 50 */ subf r0, r0, r4 +/* 8033F770 0033C6D0 20 60 00 20 */ subfic r3, r0, 0x20 +/* 8033F774 0033C6D4 38 63 00 1C */ addi r3, r3, 0x1c +/* 8033F778 0033C6D8 7C 7F 1A 14 */ add r3, r31, r3 +lbl_8033F77C: +/* 8033F77C 0033C6DC 90 7F 00 0C */ stw r3, 0xc(r31) +/* 8033F780 0033C6E0 38 80 00 00 */ li r4, 0 +/* 8033F784 0033C6E4 38 00 00 20 */ li r0, 0x20 +/* 8033F788 0033C6E8 7F E3 FB 78 */ mr r3, r31 +/* 8033F78C 0033C6EC 90 9F 00 10 */ stw r4, 0x10(r31) +/* 8033F790 0033C6F0 90 9F 00 14 */ stw r4, 0x14(r31) +/* 8033F794 0033C6F4 90 1F 00 18 */ stw r0, 0x18(r31) +/* 8033F798 0033C6F8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033F79C 0033C6FC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033F7A0 0033C700 7C 08 03 A6 */ mtlr r0 +/* 8033F7A4 0033C704 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033F7A8 0033C708 4E 80 00 20 */ blr diff --git a/asm/Kyoto/Streams/CZipInputStream.s b/asm/Kyoto/Streams/CZipInputStream.s new file mode 100644 index 00000000..f103a3ae --- /dev/null +++ b/asm/Kyoto/Streams/CZipInputStream.s @@ -0,0 +1,161 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global Read__15CZipInputStreamFPvUl +Read__15CZipInputStreamFPvUl: +/* 8033F7AC 0033C70C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033F7B0 0033C710 7C 08 02 A6 */ mflr r0 +/* 8033F7B4 0033C714 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033F7B8 0033C718 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8033F7BC 0033C71C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8033F7C0 0033C720 7C BE 2B 78 */ mr r30, r5 +/* 8033F7C4 0033C724 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8033F7C8 0033C728 7C 7D 1B 78 */ mr r29, r3 +/* 8033F7CC 0033C72C 80 63 00 30 */ lwz r3, 0x30(r3) +/* 8033F7D0 0033C730 90 83 00 0C */ stw r4, 0xc(r3) +/* 8033F7D4 0033C734 80 7D 00 30 */ lwz r3, 0x30(r29) +/* 8033F7D8 0033C738 93 C3 00 10 */ stw r30, 0x10(r3) +/* 8033F7DC 0033C73C 83 FD 00 30 */ lwz r31, 0x30(r29) +/* 8033F7E0 0033C740 80 1F 00 04 */ lwz r0, 4(r31) +/* 8033F7E4 0033C744 28 00 00 00 */ cmplwi r0, 0 +/* 8033F7E8 0033C748 40 82 00 24 */ bne lbl_8033F80C +/* 8033F7EC 0033C74C 80 7D 00 2C */ lwz r3, 0x2c(r29) +/* 8033F7F0 0033C750 38 A0 10 00 */ li r5, 0x1000 +/* 8033F7F4 0033C754 80 9D 00 24 */ lwz r4, 0x24(r29) +/* 8033F7F8 0033C758 4B FF F6 89 */ bl ReadBytes__12CInputStreamFPvUl +/* 8033F7FC 0033C75C 90 7F 00 04 */ stw r3, 4(r31) +/* 8033F800 0033C760 80 1D 00 24 */ lwz r0, 0x24(r29) +/* 8033F804 0033C764 80 7D 00 30 */ lwz r3, 0x30(r29) +/* 8033F808 0033C768 90 03 00 00 */ stw r0, 0(r3) +lbl_8033F80C: +/* 8033F80C 0033C76C 80 7D 00 30 */ lwz r3, 0x30(r29) +/* 8033F810 0033C770 38 80 00 00 */ li r4, 0 +/* 8033F814 0033C774 48 00 3B 49 */ bl inflate +/* 8033F818 0033C778 80 7D 00 30 */ lwz r3, 0x30(r29) +/* 8033F81C 0033C77C 80 03 00 10 */ lwz r0, 0x10(r3) +/* 8033F820 0033C780 7C 60 F0 50 */ subf r3, r0, r30 +/* 8033F824 0033C784 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8033F828 0033C788 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8033F82C 0033C78C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8033F830 0033C790 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8033F834 0033C794 7C 08 03 A6 */ mtlr r0 +/* 8033F838 0033C798 38 21 00 20 */ addi r1, r1, 0x20 +/* 8033F83C 0033C79C 4E 80 00 20 */ blr + +.global __dt__15CZipInputStreamFv +__dt__15CZipInputStreamFv: +/* 8033F840 0033C7A0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033F844 0033C7A4 7C 08 02 A6 */ mflr r0 +/* 8033F848 0033C7A8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033F84C 0033C7AC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033F850 0033C7B0 7C 9F 23 78 */ mr r31, r4 +/* 8033F854 0033C7B4 93 C1 00 08 */ stw r30, 8(r1) +/* 8033F858 0033C7B8 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8033F85C 0033C7BC 41 82 00 88 */ beq lbl_8033F8E4 +/* 8033F860 0033C7C0 3C 60 80 3F */ lis r3, lbl_803EE3C8@ha +/* 8033F864 0033C7C4 38 03 E3 C8 */ addi r0, r3, lbl_803EE3C8@l +/* 8033F868 0033C7C8 90 1E 00 00 */ stw r0, 0(r30) +/* 8033F86C 0033C7CC 80 7E 00 30 */ lwz r3, 0x30(r30) +/* 8033F870 0033C7D0 48 00 42 D1 */ bl inflateEnd +/* 8033F874 0033C7D4 34 1E 00 30 */ addic. r0, r30, 0x30 +/* 8033F878 0033C7D8 41 82 00 0C */ beq lbl_8033F884 +/* 8033F87C 0033C7DC 80 7E 00 30 */ lwz r3, 0x30(r30) +/* 8033F880 0033C7E0 4B FD 60 B1 */ bl Free__7CMemoryFPCv +lbl_8033F884: +/* 8033F884 0033C7E4 34 1E 00 28 */ addic. r0, r30, 0x28 +/* 8033F888 0033C7E8 41 82 00 30 */ beq lbl_8033F8B8 +/* 8033F88C 0033C7EC 88 1E 00 28 */ lbz r0, 0x28(r30) +/* 8033F890 0033C7F0 28 00 00 00 */ cmplwi r0, 0 +/* 8033F894 0033C7F4 41 82 00 24 */ beq lbl_8033F8B8 +/* 8033F898 0033C7F8 80 7E 00 2C */ lwz r3, 0x2c(r30) +/* 8033F89C 0033C7FC 28 03 00 00 */ cmplwi r3, 0 +/* 8033F8A0 0033C800 41 82 00 18 */ beq lbl_8033F8B8 +/* 8033F8A4 0033C804 81 83 00 00 */ lwz r12, 0(r3) +/* 8033F8A8 0033C808 38 80 00 01 */ li r4, 1 +/* 8033F8AC 0033C80C 81 8C 00 08 */ lwz r12, 8(r12) +/* 8033F8B0 0033C810 7D 89 03 A6 */ mtctr r12 +/* 8033F8B4 0033C814 4E 80 04 21 */ bctrl +lbl_8033F8B8: +/* 8033F8B8 0033C818 34 1E 00 24 */ addic. r0, r30, 0x24 +/* 8033F8BC 0033C81C 41 82 00 0C */ beq lbl_8033F8C8 +/* 8033F8C0 0033C820 80 7E 00 24 */ lwz r3, 0x24(r30) +/* 8033F8C4 0033C824 4B FD 60 6D */ bl Free__7CMemoryFPCv +lbl_8033F8C8: +/* 8033F8C8 0033C828 7F C3 F3 78 */ mr r3, r30 +/* 8033F8CC 0033C82C 38 80 00 00 */ li r4, 0 +/* 8033F8D0 0033C830 4B FF F7 DD */ bl __dt__12CInputStreamFv +/* 8033F8D4 0033C834 7F E0 07 35 */ extsh. r0, r31 +/* 8033F8D8 0033C838 40 81 00 0C */ ble lbl_8033F8E4 +/* 8033F8DC 0033C83C 7F C3 F3 78 */ mr r3, r30 +/* 8033F8E0 0033C840 4B FD 60 51 */ bl Free__7CMemoryFPCv +lbl_8033F8E4: +/* 8033F8E4 0033C844 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033F8E8 0033C848 7F C3 F3 78 */ mr r3, r30 +/* 8033F8EC 0033C84C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033F8F0 0033C850 83 C1 00 08 */ lwz r30, 8(r1) +/* 8033F8F4 0033C854 7C 08 03 A6 */ mtlr r0 +/* 8033F8F8 0033C858 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033F8FC 0033C85C 4E 80 00 20 */ blr + +.global "__ct__15CZipInputStreamFQ24rstl24auto_ptr<12CInputStream>" +"__ct__15CZipInputStreamFQ24rstl24auto_ptr<12CInputStream>": +/* 8033F900 0033C860 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033F904 0033C864 7C 08 02 A6 */ mflr r0 +/* 8033F908 0033C868 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033F90C 0033C86C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033F910 0033C870 7C 7F 1B 78 */ mr r31, r3 +/* 8033F914 0033C874 93 C1 00 08 */ stw r30, 8(r1) +/* 8033F918 0033C878 7C 9E 23 78 */ mr r30, r4 +/* 8033F91C 0033C87C 38 80 10 00 */ li r4, 0x1000 +/* 8033F920 0033C880 4B FF F8 2D */ bl __ct__12CInputStreamFi +/* 8033F924 0033C884 3C 60 80 3F */ lis r3, lbl_803EE3C8@ha +/* 8033F928 0033C888 3C 80 80 3D */ lis r4, lbl_803D7A78@ha +/* 8033F92C 0033C88C 38 03 E3 C8 */ addi r0, r3, lbl_803EE3C8@l +/* 8033F930 0033C890 38 A0 00 00 */ li r5, 0 +/* 8033F934 0033C894 90 1F 00 00 */ stw r0, 0(r31) +/* 8033F938 0033C898 38 60 10 00 */ li r3, 0x1000 +/* 8033F93C 0033C89C 38 84 7A 78 */ addi r4, r4, lbl_803D7A78@l +/* 8033F940 0033C8A0 4B FD 5E D9 */ bl __nwa__FUlPCcPCc +/* 8033F944 0033C8A4 90 7F 00 24 */ stw r3, 0x24(r31) +/* 8033F948 0033C8A8 3C 60 80 3D */ lis r3, lbl_803D7A78@ha +/* 8033F94C 0033C8AC 38 83 7A 78 */ addi r4, r3, lbl_803D7A78@l +/* 8033F950 0033C8B0 38 00 00 00 */ li r0, 0 +/* 8033F954 0033C8B4 88 DE 00 00 */ lbz r6, 0(r30) +/* 8033F958 0033C8B8 38 60 00 38 */ li r3, 0x38 +/* 8033F95C 0033C8BC 38 A0 00 00 */ li r5, 0 +/* 8033F960 0033C8C0 98 DF 00 28 */ stb r6, 0x28(r31) +/* 8033F964 0033C8C4 80 DE 00 04 */ lwz r6, 4(r30) +/* 8033F968 0033C8C8 90 DF 00 2C */ stw r6, 0x2c(r31) +/* 8033F96C 0033C8CC 98 1E 00 00 */ stb r0, 0(r30) +/* 8033F970 0033C8D0 4B FD 5E FD */ bl __nw__FUlPCcPCc +/* 8033F974 0033C8D4 90 7F 00 30 */ stw r3, 0x30(r31) +/* 8033F978 0033C8D8 3C A0 80 34 */ lis r5, Alloc__11CZipSupportFPvUiUi@ha +/* 8033F97C 0033C8DC 3C 80 80 34 */ lis r4, Free__11CZipSupportFPvPv@ha +/* 8033F980 0033C8E0 3C 60 80 3D */ lis r3, lbl_803D7A78@ha +/* 8033F984 0033C8E4 81 3F 00 30 */ lwz r9, 0x30(r31) +/* 8033F988 0033C8E8 38 63 7A 78 */ addi r3, r3, lbl_803D7A78@l +/* 8033F98C 0033C8EC 81 1F 00 24 */ lwz r8, 0x24(r31) +/* 8033F990 0033C8F0 38 E0 00 00 */ li r7, 0 +/* 8033F994 0033C8F4 38 C5 FA 18 */ addi r6, r5, Alloc__11CZipSupportFPvUiUi@l +/* 8033F998 0033C8F8 38 04 F9 EC */ addi r0, r4, Free__11CZipSupportFPvPv@l +/* 8033F99C 0033C8FC 91 09 00 00 */ stw r8, 0(r9) +/* 8033F9A0 0033C900 38 83 00 07 */ addi r4, r3, 7 +/* 8033F9A4 0033C904 38 A0 00 38 */ li r5, 0x38 +/* 8033F9A8 0033C908 80 7F 00 30 */ lwz r3, 0x30(r31) +/* 8033F9AC 0033C90C 90 E3 00 04 */ stw r7, 4(r3) +/* 8033F9B0 0033C910 80 7F 00 30 */ lwz r3, 0x30(r31) +/* 8033F9B4 0033C914 90 C3 00 20 */ stw r6, 0x20(r3) +/* 8033F9B8 0033C918 80 7F 00 30 */ lwz r3, 0x30(r31) +/* 8033F9BC 0033C91C 90 03 00 24 */ stw r0, 0x24(r3) +/* 8033F9C0 0033C920 80 7F 00 30 */ lwz r3, 0x30(r31) +/* 8033F9C4 0033C924 90 E3 00 28 */ stw r7, 0x28(r3) +/* 8033F9C8 0033C928 80 7F 00 30 */ lwz r3, 0x30(r31) +/* 8033F9CC 0033C92C 48 00 3F 95 */ bl inflateInit2_ +/* 8033F9D0 0033C930 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033F9D4 0033C934 7F E3 FB 78 */ mr r3, r31 +/* 8033F9D8 0033C938 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033F9DC 0033C93C 83 C1 00 08 */ lwz r30, 8(r1) +/* 8033F9E0 0033C940 7C 08 03 A6 */ mtlr r0 +/* 8033F9E4 0033C944 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033F9E8 0033C948 4E 80 00 20 */ blr diff --git a/asm/Kyoto/Streams/CZipSupport.s b/asm/Kyoto/Streams/CZipSupport.s new file mode 100644 index 00000000..62eafbd9 --- /dev/null +++ b/asm/Kyoto/Streams/CZipSupport.s @@ -0,0 +1,33 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global Free__11CZipSupportFPvPv +Free__11CZipSupportFPvPv: +/* 8033F9EC 0033C94C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033F9F0 0033C950 7C 08 02 A6 */ mflr r0 +/* 8033F9F4 0033C954 28 04 00 00 */ cmplwi r4, 0 +/* 8033F9F8 0033C958 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033F9FC 0033C95C 41 82 00 0C */ beq lbl_8033FA08 +/* 8033FA00 0033C960 7C 83 23 78 */ mr r3, r4 +/* 8033FA04 0033C964 4B FD 5F 2D */ bl Free__7CMemoryFPCv +lbl_8033FA08: +/* 8033FA08 0033C968 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033FA0C 0033C96C 7C 08 03 A6 */ mtlr r0 +/* 8033FA10 0033C970 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033FA14 0033C974 4E 80 00 20 */ blr + +.global Alloc__11CZipSupportFPvUiUi +Alloc__11CZipSupportFPvUiUi: +/* 8033FA18 0033C978 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033FA1C 0033C97C 7C 08 02 A6 */ mflr r0 +/* 8033FA20 0033C980 7C 64 29 D6 */ mullw r3, r4, r5 +/* 8033FA24 0033C984 3C 80 80 3D */ lis r4, lbl_803D7A88@ha +/* 8033FA28 0033C988 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033FA2C 0033C98C 38 A0 00 00 */ li r5, 0 +/* 8033FA30 0033C990 38 84 7A 88 */ addi r4, r4, lbl_803D7A88@l +/* 8033FA34 0033C994 4B FD 5D E5 */ bl __nwa__FUlPCcPCc +/* 8033FA38 0033C998 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033FA3C 0033C99C 7C 08 03 A6 */ mtlr r0 +/* 8033FA40 0033C9A0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033FA44 0033C9A4 4E 80 00 20 */ blr diff --git a/asm/Kyoto/Text/CFontImageDef.s b/asm/Kyoto/Text/CFontImageDef.s new file mode 100644 index 00000000..2ae8a948 --- /dev/null +++ b/asm/Kyoto/Text/CFontImageDef.s @@ -0,0 +1,215 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global CalculateBaseline__13CFontImageDefFv +CalculateBaseline__13CFontImageDefFv: +/* 8035943C 0035639C 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80359440 003563A0 7C 08 02 A6 */ mflr r0 +/* 80359444 003563A4 90 01 00 44 */ stw r0, 0x44(r1) +/* 80359448 003563A8 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 8035944C 003563AC 7C 7F 1B 78 */ mr r31, r3 +/* 80359450 003563B0 38 61 00 08 */ addi r3, r1, 8 +/* 80359454 003563B4 80 9F 00 10 */ lwz r4, 0x10(r31) +/* 80359458 003563B8 4B FE 7A 51 */ bl __ct__6CTokenFRC6CToken +/* 8035945C 003563BC 38 61 00 08 */ addi r3, r1, 8 +/* 80359460 003563C0 4B FE 79 AD */ bl GetObj__6CTokenFv +/* 80359464 003563C4 80 83 00 04 */ lwz r4, 4(r3) +/* 80359468 003563C8 3C 00 43 30 */ lis r0, 0x4330 +/* 8035946C 003563CC 90 01 00 10 */ stw r0, 0x10(r1) +/* 80359470 003563D0 38 61 00 08 */ addi r3, r1, 8 +/* 80359474 003563D4 A8 04 00 06 */ lha r0, 6(r4) +/* 80359478 003563D8 38 80 00 00 */ li r4, 0 +/* 8035947C 003563DC C8 42 CC E8 */ lfd f2, lbl_805AEA08@sda21(r2) +/* 80359480 003563E0 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 80359484 003563E4 C0 1F 00 18 */ lfs f0, 0x18(r31) +/* 80359488 003563E8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8035948C 003563EC C8 21 00 10 */ lfd f1, 0x10(r1) +/* 80359490 003563F0 EC 21 10 28 */ fsubs f1, f1, f2 +/* 80359494 003563F4 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80359498 003563F8 FC 00 00 1E */ fctiwz f0, f0 +/* 8035949C 003563FC D8 01 00 18 */ stfd f0, 0x18(r1) +/* 803594A0 00356400 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803594A4 00356404 4B FE 79 9D */ bl __dt__6CTokenFv +/* 803594A8 00356408 6F E3 80 00 */ xoris r3, r31, 0x8000 +/* 803594AC 0035640C 3C 00 43 30 */ lis r0, 0x4330 +/* 803594B0 00356410 90 61 00 24 */ stw r3, 0x24(r1) +/* 803594B4 00356414 C8 42 CC E8 */ lfd f2, lbl_805AEA08@sda21(r2) +/* 803594B8 00356418 90 01 00 20 */ stw r0, 0x20(r1) +/* 803594BC 0035641C C0 62 CC E0 */ lfs f3, lbl_805AEA00@sda21(r2) +/* 803594C0 00356420 C8 21 00 20 */ lfd f1, 0x20(r1) +/* 803594C4 00356424 C0 02 CC E4 */ lfs f0, lbl_805AEA04@sda21(r2) +/* 803594C8 00356428 EC 21 10 28 */ fsubs f1, f1, f2 +/* 803594CC 0035642C EC 23 00 72 */ fmuls f1, f3, f1 +/* 803594D0 00356430 EC 01 00 24 */ fdivs f0, f1, f0 +/* 803594D4 00356434 FC 00 00 1E */ fctiwz f0, f0 +/* 803594D8 00356438 D8 01 00 28 */ stfd f0, 0x28(r1) +/* 803594DC 0035643C 80 61 00 2C */ lwz r3, 0x2c(r1) +/* 803594E0 00356440 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 803594E4 00356444 80 01 00 44 */ lwz r0, 0x44(r1) +/* 803594E8 00356448 7C 08 03 A6 */ mtlr r0 +/* 803594EC 0035644C 38 21 00 40 */ addi r1, r1, 0x40 +/* 803594F0 00356450 4E 80 00 20 */ blr + +.global IsLoaded__13CFontImageDefCFv +IsLoaded__13CFontImageDefCFv: +/* 803594F4 00356454 80 03 00 08 */ lwz r0, 8(r3) +/* 803594F8 00356458 38 A0 00 00 */ li r5, 0 +/* 803594FC 0035645C 7C 09 03 A6 */ mtctr r0 +/* 80359500 00356460 2C 00 00 00 */ cmpwi r0, 0 +/* 80359504 00356464 40 81 00 28 */ ble lbl_8035952C +lbl_80359508: +/* 80359508 00356468 80 83 00 10 */ lwz r4, 0x10(r3) +/* 8035950C 0035646C 7C 84 28 2E */ lwzx r4, r4, r5 +/* 80359510 00356470 80 04 00 10 */ lwz r0, 0x10(r4) +/* 80359514 00356474 28 00 00 00 */ cmplwi r0, 0 +/* 80359518 00356478 40 82 00 0C */ bne lbl_80359524 +/* 8035951C 0035647C 38 60 00 00 */ li r3, 0 +/* 80359520 00356480 4E 80 00 20 */ blr +lbl_80359524: +/* 80359524 00356484 38 A5 00 08 */ addi r5, r5, 8 +/* 80359528 00356488 42 00 FF E0 */ bdnz lbl_80359508 +lbl_8035952C: +/* 8035952C 0035648C 38 60 00 01 */ li r3, 1 +/* 80359530 00356490 4E 80 00 20 */ blr + +.global "__ct__13CFontImageDefFRCQ24rstl54vector<17TToken<8CTexture>,Q24rstl17rmemory_allocator>fRC9CVector2f" +"__ct__13CFontImageDefFRCQ24rstl54vector<17TToken<8CTexture>,Q24rstl17rmemory_allocator>fRC9CVector2f": +/* 80359534 00356494 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80359538 00356498 7C 08 02 A6 */ mflr r0 +/* 8035953C 0035649C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80359540 003564A0 BF 41 00 08 */ stmw r26, 8(r1) +/* 80359544 003564A4 7C 7F 1B 78 */ mr r31, r3 +/* 80359548 003564A8 7C 9C 23 78 */ mr r28, r4 +/* 8035954C 003564AC 7C BA 2B 78 */ mr r26, r5 +/* 80359550 003564B0 D0 23 00 00 */ stfs f1, 0(r3) +/* 80359554 003564B4 80 04 00 04 */ lwz r0, 4(r4) +/* 80359558 003564B8 90 03 00 08 */ stw r0, 8(r3) +/* 8035955C 003564BC 80 04 00 08 */ lwz r0, 8(r4) +/* 80359560 003564C0 90 03 00 0C */ stw r0, 0xc(r3) +/* 80359564 003564C4 80 04 00 04 */ lwz r0, 4(r4) +/* 80359568 003564C8 2C 00 00 00 */ cmpwi r0, 0 +/* 8035956C 003564CC 40 82 00 1C */ bne lbl_80359588 +/* 80359570 003564D0 80 1C 00 08 */ lwz r0, 8(r28) +/* 80359574 003564D4 2C 00 00 00 */ cmpwi r0, 0 +/* 80359578 003564D8 40 82 00 10 */ bne lbl_80359588 +/* 8035957C 003564DC 38 00 00 00 */ li r0, 0 +/* 80359580 003564E0 90 1F 00 10 */ stw r0, 0x10(r31) +/* 80359584 003564E4 48 00 00 6C */ b lbl_803595F0 +lbl_80359588: +/* 80359588 003564E8 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 8035958C 003564EC 54 03 18 39 */ rlwinm. r3, r0, 3, 0, 0x1c +/* 80359590 003564F0 40 82 00 10 */ bne lbl_803595A0 +/* 80359594 003564F4 38 00 00 00 */ li r0, 0 +/* 80359598 003564F8 90 1F 00 10 */ stw r0, 0x10(r31) +/* 8035959C 003564FC 48 00 00 18 */ b lbl_803595B4 +lbl_803595A0: +/* 803595A0 00356500 3C 80 80 3E */ lis r4, lbl_803D8348@ha +/* 803595A4 00356504 38 A0 00 00 */ li r5, 0 +/* 803595A8 00356508 38 84 83 48 */ addi r4, r4, lbl_803D8348@l +/* 803595AC 0035650C 4B FB C2 6D */ bl __nwa__FUlPCcPCc +/* 803595B0 00356510 90 7F 00 10 */ stw r3, 0x10(r31) +lbl_803595B4: +/* 803595B4 00356514 83 7F 00 08 */ lwz r27, 8(r31) +/* 803595B8 00356518 3B C0 00 00 */ li r30, 0 +/* 803595BC 0035651C 83 9C 00 0C */ lwz r28, 0xc(r28) +/* 803595C0 00356520 83 BF 00 10 */ lwz r29, 0x10(r31) +/* 803595C4 00356524 48 00 00 24 */ b lbl_803595E8 +lbl_803595C8: +/* 803595C8 00356528 28 1D 00 00 */ cmplwi r29, 0 +/* 803595CC 0035652C 41 82 00 10 */ beq lbl_803595DC +/* 803595D0 00356530 7F A3 EB 78 */ mr r3, r29 +/* 803595D4 00356534 7F 84 E3 78 */ mr r4, r28 +/* 803595D8 00356538 4B FE 78 D1 */ bl __ct__6CTokenFRC6CToken +lbl_803595DC: +/* 803595DC 0035653C 3B BD 00 08 */ addi r29, r29, 8 +/* 803595E0 00356540 3B DE 00 01 */ addi r30, r30, 1 +/* 803595E4 00356544 3B 9C 00 08 */ addi r28, r28, 8 +lbl_803595E8: +/* 803595E8 00356548 7C 1E D8 00 */ cmpw r30, r27 +/* 803595EC 0035654C 41 80 FF DC */ blt lbl_803595C8 +lbl_803595F0: +/* 803595F0 00356550 C0 1A 00 00 */ lfs f0, 0(r26) +/* 803595F4 00356554 D0 1F 00 14 */ stfs f0, 0x14(r31) +/* 803595F8 00356558 C0 1A 00 04 */ lfs f0, 4(r26) +/* 803595FC 0035655C D0 1F 00 18 */ stfs f0, 0x18(r31) +/* 80359600 00356560 83 7F 00 10 */ lwz r27, 0x10(r31) +/* 80359604 00356564 48 00 00 10 */ b lbl_80359614 +lbl_80359608: +/* 80359608 00356568 7F 63 DB 78 */ mr r3, r27 +/* 8035960C 0035656C 4B FE 77 79 */ bl Lock__6CTokenFv +/* 80359610 00356570 3B 7B 00 08 */ addi r27, r27, 8 +lbl_80359614: +/* 80359614 00356574 80 1F 00 08 */ lwz r0, 8(r31) +/* 80359618 00356578 80 7F 00 10 */ lwz r3, 0x10(r31) +/* 8035961C 0035657C 54 00 18 38 */ slwi r0, r0, 3 +/* 80359620 00356580 7C 03 02 14 */ add r0, r3, r0 +/* 80359624 00356584 7C 1B 00 40 */ cmplw r27, r0 +/* 80359628 00356588 40 82 FF E0 */ bne lbl_80359608 +/* 8035962C 0035658C 7F E3 FB 78 */ mr r3, r31 +/* 80359630 00356590 BB 41 00 08 */ lmw r26, 8(r1) +/* 80359634 00356594 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80359638 00356598 7C 08 03 A6 */ mtlr r0 +/* 8035963C 0035659C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80359640 003565A0 4E 80 00 20 */ blr + +.global "__ct__13CFontImageDefFRC17TToken<8CTexture>RC9CVector2f" +"__ct__13CFontImageDefFRC17TToken<8CTexture>RC9CVector2f": +/* 80359644 003565A4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80359648 003565A8 7C 08 02 A6 */ mflr r0 +/* 8035964C 003565AC C0 02 CC F0 */ lfs f0, lbl_805AEA10@sda21(r2) +/* 80359650 003565B0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80359654 003565B4 38 00 00 01 */ li r0, 1 +/* 80359658 003565B8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8035965C 003565BC 7C BF 2B 78 */ mr r31, r5 +/* 80359660 003565C0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80359664 003565C4 7C 9E 23 78 */ mr r30, r4 +/* 80359668 003565C8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8035966C 003565CC 7C 7D 1B 78 */ mr r29, r3 +/* 80359670 003565D0 D0 03 00 00 */ stfs f0, 0(r3) +/* 80359674 003565D4 90 03 00 08 */ stw r0, 8(r3) +/* 80359678 003565D8 90 03 00 0C */ stw r0, 0xc(r3) +/* 8035967C 003565DC 80 03 00 08 */ lwz r0, 8(r3) +/* 80359680 003565E0 54 03 18 39 */ rlwinm. r3, r0, 3, 0, 0x1c +/* 80359684 003565E4 40 82 00 10 */ bne lbl_80359694 +/* 80359688 003565E8 38 00 00 00 */ li r0, 0 +/* 8035968C 003565EC 90 1D 00 10 */ stw r0, 0x10(r29) +/* 80359690 003565F0 48 00 00 18 */ b lbl_803596A8 +lbl_80359694: +/* 80359694 003565F4 3C 80 80 3E */ lis r4, lbl_803D8348@ha +/* 80359698 003565F8 38 A0 00 00 */ li r5, 0 +/* 8035969C 003565FC 38 84 83 48 */ addi r4, r4, lbl_803D8348@l +/* 803596A0 00356600 4B FB C1 79 */ bl __nwa__FUlPCcPCc +/* 803596A4 00356604 90 7D 00 10 */ stw r3, 0x10(r29) +lbl_803596A8: +/* 803596A8 00356608 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 803596AC 0035660C 28 03 00 00 */ cmplwi r3, 0 +/* 803596B0 00356610 41 82 00 0C */ beq lbl_803596BC +/* 803596B4 00356614 7F C4 F3 78 */ mr r4, r30 +/* 803596B8 00356618 4B FE 77 F1 */ bl __ct__6CTokenFRC6CToken +lbl_803596BC: +/* 803596BC 0035661C C0 1F 00 00 */ lfs f0, 0(r31) +/* 803596C0 00356620 D0 1D 00 14 */ stfs f0, 0x14(r29) +/* 803596C4 00356624 C0 1F 00 04 */ lfs f0, 4(r31) +/* 803596C8 00356628 D0 1D 00 18 */ stfs f0, 0x18(r29) +/* 803596CC 0035662C 83 FD 00 10 */ lwz r31, 0x10(r29) +/* 803596D0 00356630 48 00 00 10 */ b lbl_803596E0 +lbl_803596D4: +/* 803596D4 00356634 7F E3 FB 78 */ mr r3, r31 +/* 803596D8 00356638 4B FE 76 AD */ bl Lock__6CTokenFv +/* 803596DC 0035663C 3B FF 00 08 */ addi r31, r31, 8 +lbl_803596E0: +/* 803596E0 00356640 80 1D 00 08 */ lwz r0, 8(r29) +/* 803596E4 00356644 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 803596E8 00356648 54 00 18 38 */ slwi r0, r0, 3 +/* 803596EC 0035664C 7C 03 02 14 */ add r0, r3, r0 +/* 803596F0 00356650 7C 1F 00 40 */ cmplw r31, r0 +/* 803596F4 00356654 40 82 FF E0 */ bne lbl_803596D4 +/* 803596F8 00356658 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803596FC 0035665C 7F A3 EB 78 */ mr r3, r29 +/* 80359700 00356660 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80359704 00356664 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80359708 00356668 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8035970C 0035666C 7C 08 03 A6 */ mtlr r0 +/* 80359710 00356670 38 21 00 20 */ addi r1, r1, 0x20 +/* 80359714 00356674 4E 80 00 20 */ blr diff --git a/asm/Kyoto/Text/CImageInstruction.s b/asm/Kyoto/Text/CImageInstruction.s new file mode 100644 index 00000000..f408e72f --- /dev/null +++ b/asm/Kyoto/Text/CImageInstruction.s @@ -0,0 +1,274 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __dt__17CImageInstructionFv +__dt__17CImageInstructionFv: +/* 80359718 00356678 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8035971C 0035667C 7C 08 02 A6 */ mflr r0 +/* 80359720 00356680 90 01 00 14 */ stw r0, 0x14(r1) +/* 80359724 00356684 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80359728 00356688 7C 9F 23 78 */ mr r31, r4 +/* 8035972C 0035668C 93 C1 00 08 */ stw r30, 8(r1) +/* 80359730 00356690 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80359734 00356694 41 82 00 40 */ beq lbl_80359774 +/* 80359738 00356698 3C 80 80 3F */ lis r4, lbl_803EF798@ha +/* 8035973C 0035669C 38 7E 00 04 */ addi r3, r30, 4 +/* 80359740 003566A0 38 04 F7 98 */ addi r0, r4, lbl_803EF798@l +/* 80359744 003566A4 38 80 FF FF */ li r4, -1 +/* 80359748 003566A8 90 1E 00 00 */ stw r0, 0(r30) +/* 8035974C 003566AC 4B CC F4 B1 */ bl sub_80028bfc +/* 80359750 003566B0 28 1E 00 00 */ cmplwi r30, 0 +/* 80359754 003566B4 41 82 00 10 */ beq lbl_80359764 +/* 80359758 003566B8 3C 60 80 3E */ lis r3, lbl_803D9A6C@ha +/* 8035975C 003566BC 38 03 9A 6C */ addi r0, r3, lbl_803D9A6C@l +/* 80359760 003566C0 90 1E 00 00 */ stw r0, 0(r30) +lbl_80359764: +/* 80359764 003566C4 7F E0 07 35 */ extsh. r0, r31 +/* 80359768 003566C8 40 81 00 0C */ ble lbl_80359774 +/* 8035976C 003566CC 7F C3 F3 78 */ mr r3, r30 +/* 80359770 003566D0 4B FB C1 C1 */ bl Free__7CMemoryFPCv +lbl_80359774: +/* 80359774 003566D4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80359778 003566D8 7F C3 F3 78 */ mr r3, r30 +/* 8035977C 003566DC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80359780 003566E0 83 C1 00 08 */ lwz r30, 8(r1) +/* 80359784 003566E4 7C 08 03 A6 */ mtlr r0 +/* 80359788 003566E8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8035978C 003566EC 4E 80 00 20 */ blr + +.global GetAssetCount__17CImageInstructionCFv +GetAssetCount__17CImageInstructionCFv: +/* 80359790 003566F0 80 63 00 0C */ lwz r3, 0xc(r3) +/* 80359794 003566F4 4E 80 00 20 */ blr + +.global "GetAssets__17CImageInstructionCFRQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>" +"GetAssets__17CImageInstructionCFRQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>": +/* 80359798 003566F8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8035979C 003566FC 7C 08 02 A6 */ mflr r0 +/* 803597A0 00356700 90 01 00 24 */ stw r0, 0x24(r1) +/* 803597A4 00356704 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 803597A8 00356708 7C 7B 1B 78 */ mr r27, r3 +/* 803597AC 0035670C 7C 9C 23 78 */ mr r28, r4 +/* 803597B0 00356710 3B A0 00 00 */ li r29, 0 +/* 803597B4 00356714 3B C0 00 00 */ li r30, 0 +/* 803597B8 00356718 48 00 00 64 */ b lbl_8035981C +lbl_803597BC: +/* 803597BC 0035671C 80 1C 00 04 */ lwz r0, 4(r28) +/* 803597C0 00356720 80 BC 00 08 */ lwz r5, 8(r28) +/* 803597C4 00356724 80 7B 00 14 */ lwz r3, 0x14(r27) +/* 803597C8 00356728 7C 00 28 00 */ cmpw r0, r5 +/* 803597CC 0035672C 7F E3 F2 14 */ add r31, r3, r30 +/* 803597D0 00356730 41 80 00 1C */ blt lbl_803597EC +/* 803597D4 00356734 2C 05 00 00 */ cmpwi r5, 0 +/* 803597D8 00356738 7F 83 E3 78 */ mr r3, r28 +/* 803597DC 0035673C 38 80 00 04 */ li r4, 4 +/* 803597E0 00356740 41 82 00 08 */ beq lbl_803597E8 +/* 803597E4 00356744 54 A4 08 3C */ slwi r4, r5, 1 +lbl_803597E8: +/* 803597E8 00356748 4B CA F1 75 */ bl "reserve__Q24rstl42vector<6CToken,Q24rstl17rmemory_allocator>Fi" +lbl_803597EC: +/* 803597EC 0035674C 80 1C 00 04 */ lwz r0, 4(r28) +/* 803597F0 00356750 80 7C 00 0C */ lwz r3, 0xc(r28) +/* 803597F4 00356754 54 00 18 38 */ slwi r0, r0, 3 +/* 803597F8 00356758 7C 63 02 15 */ add. r3, r3, r0 +/* 803597FC 0035675C 41 82 00 0C */ beq lbl_80359808 +/* 80359800 00356760 7F E4 FB 78 */ mr r4, r31 +/* 80359804 00356764 4B FE 76 A5 */ bl __ct__6CTokenFRC6CToken +lbl_80359808: +/* 80359808 00356768 80 7C 00 04 */ lwz r3, 4(r28) +/* 8035980C 0035676C 3B DE 00 08 */ addi r30, r30, 8 +/* 80359810 00356770 3B BD 00 01 */ addi r29, r29, 1 +/* 80359814 00356774 38 03 00 01 */ addi r0, r3, 1 +/* 80359818 00356778 90 1C 00 04 */ stw r0, 4(r28) +lbl_8035981C: +/* 8035981C 0035677C 80 1B 00 0C */ lwz r0, 0xc(r27) +/* 80359820 00356780 7C 1D 00 00 */ cmpw r29, r0 +/* 80359824 00356784 41 80 FF 98 */ blt lbl_803597BC +/* 80359828 00356788 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 8035982C 0035678C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80359830 00356790 7C 08 03 A6 */ mtlr r0 +/* 80359834 00356794 38 21 00 20 */ addi r1, r1, 0x20 +/* 80359838 00356798 4E 80 00 20 */ blr + +.global Invoke__17CImageInstructionCFR16CFontRenderStateP17CTextRenderBuffer +Invoke__17CImageInstructionCFR16CFontRenderStateP17CTextRenderBuffer: +/* 8035983C 0035679C 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 80359840 003567A0 7C 08 02 A6 */ mflr r0 +/* 80359844 003567A4 90 01 00 54 */ stw r0, 0x54(r1) +/* 80359848 003567A8 BF 41 00 38 */ stmw r26, 0x38(r1) +/* 8035984C 003567AC 7C 7D 1B 78 */ mr r29, r3 +/* 80359850 003567B0 7C 9E 23 78 */ mr r30, r4 +/* 80359854 003567B4 7C BF 2B 78 */ mr r31, r5 +/* 80359858 003567B8 38 7D 00 04 */ addi r3, r29, 4 +/* 8035985C 003567BC 4B FF FC 99 */ bl IsLoaded__13CFontImageDefCFv +/* 80359860 003567C0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80359864 003567C4 41 82 01 7C */ beq lbl_803599E0 +/* 80359868 003567C8 80 1D 00 0C */ lwz r0, 0xc(r29) +/* 8035986C 003567CC 2C 00 00 00 */ cmpwi r0, 0 +/* 80359870 003567D0 41 82 01 70 */ beq lbl_803599E0 +/* 80359874 003567D4 80 7E 00 88 */ lwz r3, 0x88(r30) +/* 80359878 003567D8 80 03 00 14 */ lwz r0, 0x14(r3) +/* 8035987C 003567DC 2C 00 00 00 */ cmpwi r0, 0 +/* 80359880 003567E0 40 82 00 B0 */ bne lbl_80359930 +/* 80359884 003567E4 28 1F 00 00 */ cmplwi r31, 0 +/* 80359888 003567E8 41 82 00 40 */ beq lbl_803598C8 +/* 8035988C 003567EC 83 7E 00 D8 */ lwz r27, 0xd8(r30) +/* 80359890 003567F0 83 5E 00 D4 */ lwz r26, 0xd4(r30) +/* 80359894 003567F4 80 7E 00 DC */ lwz r3, 0xdc(r30) +/* 80359898 003567F8 4B FA 60 65 */ bl GetBaseline__16CLineInstructionFv +/* 8035989C 003567FC 7F 9B 1A 14 */ add r28, r27, r3 +/* 803598A0 00356800 38 7D 00 04 */ addi r3, r29, 4 +/* 803598A4 00356804 4B FF FB 99 */ bl CalculateBaseline__13CFontImageDefFv +/* 803598A8 00356808 7C A3 E0 50 */ subf r5, r3, r28 +/* 803598AC 0035680C 7F 44 D3 78 */ mr r4, r26 +/* 803598B0 00356810 38 61 00 20 */ addi r3, r1, 0x20 +/* 803598B4 00356814 4B FB AA 99 */ bl __ct__9CVector2iFii +/* 803598B8 00356818 7C 64 1B 78 */ mr r4, r3 +/* 803598BC 0035681C 7F E3 FB 78 */ mr r3, r31 +/* 803598C0 00356820 38 BD 00 04 */ addi r5, r29, 4 +/* 803598C4 00356824 48 00 13 05 */ bl AddImage__17CTextRenderBufferFRC9CVector2iRC13CFontImageDef +lbl_803598C8: +/* 803598C8 00356828 83 7E 00 D4 */ lwz r27, 0xd4(r30) +/* 803598CC 0035682C 38 61 00 08 */ addi r3, r1, 8 +/* 803598D0 00356830 80 9D 00 14 */ lwz r4, 0x14(r29) +/* 803598D4 00356834 4B FE 75 D5 */ bl __ct__6CTokenFRC6CToken +/* 803598D8 00356838 38 61 00 08 */ addi r3, r1, 8 +/* 803598DC 0035683C 4B FE 75 31 */ bl GetObj__6CTokenFv +/* 803598E0 00356840 80 83 00 04 */ lwz r4, 4(r3) +/* 803598E4 00356844 3C 00 43 30 */ lis r0, 0x4330 +/* 803598E8 00356848 90 01 00 28 */ stw r0, 0x28(r1) +/* 803598EC 0035684C 38 61 00 08 */ addi r3, r1, 8 +/* 803598F0 00356850 A8 04 00 04 */ lha r0, 4(r4) +/* 803598F4 00356854 38 80 00 00 */ li r4, 0 +/* 803598F8 00356858 C8 42 CC F8 */ lfd f2, lbl_805AEA18@sda21(r2) +/* 803598FC 0035685C 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 80359900 00356860 C0 1D 00 18 */ lfs f0, 0x18(r29) +/* 80359904 00356864 90 01 00 2C */ stw r0, 0x2c(r1) +/* 80359908 00356868 C8 21 00 28 */ lfd f1, 0x28(r1) +/* 8035990C 0035686C EC 21 10 28 */ fsubs f1, f1, f2 +/* 80359910 00356870 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80359914 00356874 FC 00 00 1E */ fctiwz f0, f0 +/* 80359918 00356878 D8 01 00 30 */ stfd f0, 0x30(r1) +/* 8035991C 0035687C 83 81 00 34 */ lwz r28, 0x34(r1) +/* 80359920 00356880 4B FE 75 21 */ bl __dt__6CTokenFv +/* 80359924 00356884 7C 1B E2 14 */ add r0, r27, r28 +/* 80359928 00356888 90 1E 00 D4 */ stw r0, 0xd4(r30) +/* 8035992C 0035688C 48 00 00 B4 */ b lbl_803599E0 +lbl_80359930: +/* 80359930 00356890 80 BE 00 DC */ lwz r5, 0xdc(r30) +/* 80359934 00356894 38 61 00 10 */ addi r3, r1, 0x10 +/* 80359938 00356898 80 9D 00 14 */ lwz r4, 0x14(r29) +/* 8035993C 0035689C 83 85 00 08 */ lwz r28, 8(r5) +/* 80359940 003568A0 4B FE 75 69 */ bl __ct__6CTokenFRC6CToken +/* 80359944 003568A4 38 61 00 10 */ addi r3, r1, 0x10 +/* 80359948 003568A8 4B FE 74 C5 */ bl GetObj__6CTokenFv +/* 8035994C 003568AC 80 83 00 04 */ lwz r4, 4(r3) +/* 80359950 003568B0 3C 00 43 30 */ lis r0, 0x4330 +/* 80359954 003568B4 90 01 00 30 */ stw r0, 0x30(r1) +/* 80359958 003568B8 38 61 00 10 */ addi r3, r1, 0x10 +/* 8035995C 003568BC A8 04 00 04 */ lha r0, 4(r4) +/* 80359960 003568C0 38 80 00 00 */ li r4, 0 +/* 80359964 003568C4 C8 42 CC F8 */ lfd f2, lbl_805AEA18@sda21(r2) +/* 80359968 003568C8 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8035996C 003568CC C0 1D 00 18 */ lfs f0, 0x18(r29) +/* 80359970 003568D0 90 01 00 34 */ stw r0, 0x34(r1) +/* 80359974 003568D4 C8 21 00 30 */ lfd f1, 0x30(r1) +/* 80359978 003568D8 EC 21 10 28 */ fsubs f1, f1, f2 +/* 8035997C 003568DC EC 01 00 32 */ fmuls f0, f1, f0 +/* 80359980 003568E0 FC 00 00 1E */ fctiwz f0, f0 +/* 80359984 003568E4 D8 01 00 28 */ stfd f0, 0x28(r1) +/* 80359988 003568E8 83 61 00 2C */ lwz r27, 0x2c(r1) +/* 8035998C 003568EC 4B FE 74 B5 */ bl __dt__6CTokenFv +/* 80359990 003568F0 7C 7B E0 50 */ subf r3, r27, r28 +/* 80359994 003568F4 28 1F 00 00 */ cmplwi r31, 0 +/* 80359998 003568F8 54 60 0F FE */ srwi r0, r3, 0x1f +/* 8035999C 003568FC 7C 00 1A 14 */ add r0, r0, r3 +/* 803599A0 00356900 7C 04 0E 70 */ srawi r4, r0, 1 +/* 803599A4 00356904 41 82 00 28 */ beq lbl_803599CC +/* 803599A8 00356908 80 1E 00 D4 */ lwz r0, 0xd4(r30) +/* 803599AC 0035690C 38 61 00 18 */ addi r3, r1, 0x18 +/* 803599B0 00356910 80 BE 00 D8 */ lwz r5, 0xd8(r30) +/* 803599B4 00356914 7C 84 02 14 */ add r4, r4, r0 +/* 803599B8 00356918 4B FB A9 95 */ bl __ct__9CVector2iFii +/* 803599BC 0035691C 7C 64 1B 78 */ mr r4, r3 +/* 803599C0 00356920 7F E3 FB 78 */ mr r3, r31 +/* 803599C4 00356924 38 BD 00 04 */ addi r5, r29, 4 +/* 803599C8 00356928 48 00 12 01 */ bl AddImage__17CTextRenderBufferFRC9CVector2iRC13CFontImageDef +lbl_803599CC: +/* 803599CC 0035692C 83 5E 00 D8 */ lwz r26, 0xd8(r30) +/* 803599D0 00356930 38 7D 00 04 */ addi r3, r29, 4 +/* 803599D4 00356934 48 00 00 21 */ bl CalculateHeight__13CFontImageDefFv +/* 803599D8 00356938 7C 1A 1A 14 */ add r0, r26, r3 +/* 803599DC 0035693C 90 1E 00 D8 */ stw r0, 0xd8(r30) +lbl_803599E0: +/* 803599E0 00356940 BB 41 00 38 */ lmw r26, 0x38(r1) +/* 803599E4 00356944 80 01 00 54 */ lwz r0, 0x54(r1) +/* 803599E8 00356948 7C 08 03 A6 */ mtlr r0 +/* 803599EC 0035694C 38 21 00 50 */ addi r1, r1, 0x50 +/* 803599F0 00356950 4E 80 00 20 */ blr + +.global CalculateHeight__13CFontImageDefFv +CalculateHeight__13CFontImageDefFv: +/* 803599F4 00356954 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 803599F8 00356958 7C 08 02 A6 */ mflr r0 +/* 803599FC 0035695C 90 01 00 54 */ stw r0, 0x54(r1) +/* 80359A00 00356960 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 80359A04 00356964 93 C1 00 48 */ stw r30, 0x48(r1) +/* 80359A08 00356968 93 A1 00 44 */ stw r29, 0x44(r1) +/* 80359A0C 0035696C 7C 7D 1B 78 */ mr r29, r3 +/* 80359A10 00356970 38 61 00 10 */ addi r3, r1, 0x10 +/* 80359A14 00356974 80 9D 00 10 */ lwz r4, 0x10(r29) +/* 80359A18 00356978 4B FE 74 91 */ bl __ct__6CTokenFRC6CToken +/* 80359A1C 0035697C 38 61 00 10 */ addi r3, r1, 0x10 +/* 80359A20 00356980 4B FE 73 ED */ bl GetObj__6CTokenFv +/* 80359A24 00356984 80 83 00 04 */ lwz r4, 4(r3) +/* 80359A28 00356988 3C 00 43 30 */ lis r0, 0x4330 +/* 80359A2C 0035698C 90 01 00 18 */ stw r0, 0x18(r1) +/* 80359A30 00356990 38 61 00 10 */ addi r3, r1, 0x10 +/* 80359A34 00356994 A8 04 00 06 */ lha r0, 6(r4) +/* 80359A38 00356998 38 80 00 00 */ li r4, 0 +/* 80359A3C 0035699C C8 42 CC F8 */ lfd f2, lbl_805AEA18@sda21(r2) +/* 80359A40 003569A0 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 80359A44 003569A4 C0 1D 00 18 */ lfs f0, 0x18(r29) +/* 80359A48 003569A8 90 01 00 1C */ stw r0, 0x1c(r1) +/* 80359A4C 003569AC C8 21 00 18 */ lfd f1, 0x18(r1) +/* 80359A50 003569B0 EC 21 10 28 */ fsubs f1, f1, f2 +/* 80359A54 003569B4 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80359A58 003569B8 FC 00 00 1E */ fctiwz f0, f0 +/* 80359A5C 003569BC D8 01 00 20 */ stfd f0, 0x20(r1) +/* 80359A60 003569C0 83 E1 00 24 */ lwz r31, 0x24(r1) +/* 80359A64 003569C4 4B FE 73 DD */ bl __dt__6CTokenFv +/* 80359A68 003569C8 80 9D 00 10 */ lwz r4, 0x10(r29) +/* 80359A6C 003569CC 38 61 00 08 */ addi r3, r1, 8 +/* 80359A70 003569D0 4B FE 74 39 */ bl __ct__6CTokenFRC6CToken +/* 80359A74 003569D4 38 61 00 08 */ addi r3, r1, 8 +/* 80359A78 003569D8 4B FE 73 95 */ bl GetObj__6CTokenFv +/* 80359A7C 003569DC 80 83 00 04 */ lwz r4, 4(r3) +/* 80359A80 003569E0 3C 00 43 30 */ lis r0, 0x4330 +/* 80359A84 003569E4 90 01 00 28 */ stw r0, 0x28(r1) +/* 80359A88 003569E8 38 61 00 08 */ addi r3, r1, 8 +/* 80359A8C 003569EC A8 04 00 06 */ lha r0, 6(r4) +/* 80359A90 003569F0 38 80 00 00 */ li r4, 0 +/* 80359A94 003569F4 C8 42 CC F8 */ lfd f2, lbl_805AEA18@sda21(r2) +/* 80359A98 003569F8 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 80359A9C 003569FC C0 1D 00 18 */ lfs f0, 0x18(r29) +/* 80359AA0 00356A00 90 01 00 2C */ stw r0, 0x2c(r1) +/* 80359AA4 00356A04 C8 21 00 28 */ lfd f1, 0x28(r1) +/* 80359AA8 00356A08 EC 21 10 28 */ fsubs f1, f1, f2 +/* 80359AAC 00356A0C EC 01 00 32 */ fmuls f0, f1, f0 +/* 80359AB0 00356A10 FC 00 00 1E */ fctiwz f0, f0 +/* 80359AB4 00356A14 D8 01 00 30 */ stfd f0, 0x30(r1) +/* 80359AB8 00356A18 83 C1 00 34 */ lwz r30, 0x34(r1) +/* 80359ABC 00356A1C 4B FE 73 85 */ bl __dt__6CTokenFv +/* 80359AC0 00356A20 7F A3 EB 78 */ mr r3, r29 +/* 80359AC4 00356A24 4B FF F9 79 */ bl CalculateBaseline__13CFontImageDefFv +/* 80359AC8 00356A28 7C 03 F0 50 */ subf r0, r3, r30 +/* 80359ACC 00356A2C 7C 60 F8 50 */ subf r3, r0, r31 +/* 80359AD0 00356A30 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80359AD4 00356A34 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 80359AD8 00356A38 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 80359ADC 00356A3C 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 80359AE0 00356A40 7C 08 03 A6 */ mtlr r0 +/* 80359AE4 00356A44 38 21 00 50 */ addi r1, r1, 0x50 +/* 80359AE8 00356A48 4E 80 00 20 */ blr diff --git a/asm/Kyoto/Text/CStringTable.s b/asm/Kyoto/Text/CStringTable.s new file mode 100644 index 00000000..44319bee --- /dev/null +++ b/asm/Kyoto/Text/CStringTable.s @@ -0,0 +1,300 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global FStringTableFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer +FStringTableFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer: +/* 80356500 00353460 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80356504 00353464 7C 08 02 A6 */ mflr r0 +/* 80356508 00353468 3C 80 80 3E */ lis r4, lbl_803D8320@ha +/* 8035650C 0035346C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80356510 00353470 38 84 83 20 */ addi r4, r4, lbl_803D8320@l +/* 80356514 00353474 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80356518 00353478 7C BF 2B 78 */ mr r31, r5 +/* 8035651C 0035347C 38 A0 00 00 */ li r5, 0 +/* 80356520 00353480 93 C1 00 08 */ stw r30, 8(r1) +/* 80356524 00353484 7C 7E 1B 78 */ mr r30, r3 +/* 80356528 00353488 38 60 00 08 */ li r3, 8 +/* 8035652C 0035348C 4B FB F3 41 */ bl __nw__FUlPCcPCc +/* 80356530 00353490 7C 64 1B 79 */ or. r4, r3, r3 +/* 80356534 00353494 41 82 00 10 */ beq lbl_80356544 +/* 80356538 00353498 7F E4 FB 78 */ mr r4, r31 +/* 8035653C 0035349C 48 00 01 F5 */ bl __ct__12CStringTableFR12CInputStream +/* 80356540 003534A0 7C 64 1B 78 */ mr r4, r3 +lbl_80356544: +/* 80356544 003534A4 7F C3 F3 78 */ mr r3, r30 +/* 80356548 003534A8 48 00 00 1D */ bl sub_80356564 +/* 8035654C 003534AC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80356550 003534B0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80356554 003534B4 83 C1 00 08 */ lwz r30, 8(r1) +/* 80356558 003534B8 7C 08 03 A6 */ mtlr r0 +/* 8035655C 003534BC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80356560 003534C0 4E 80 00 20 */ blr + +.global sub_80356564 +sub_80356564: +/* 80356564 003534C4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80356568 003534C8 7C 08 02 A6 */ mflr r0 +/* 8035656C 003534CC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80356570 003534D0 7C 04 00 D0 */ neg r0, r4 +/* 80356574 003534D4 7C 00 23 78 */ or r0, r0, r4 +/* 80356578 003534D8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8035657C 003534DC 54 00 0F FE */ srwi r0, r0, 0x1f +/* 80356580 003534E0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80356584 003534E4 7C 7E 1B 78 */ mr r30, r3 +/* 80356588 003534E8 38 61 00 08 */ addi r3, r1, 8 +/* 8035658C 003534EC 90 81 00 14 */ stw r4, 0x14(r1) +/* 80356590 003534F0 38 81 00 10 */ addi r4, r1, 0x10 +/* 80356594 003534F4 98 01 00 10 */ stb r0, 0x10(r1) +/* 80356598 003534F8 48 00 00 9D */ bl sub_80356634 +/* 8035659C 003534FC 80 61 00 0C */ lwz r3, 0xc(r1) +/* 803565A0 00353500 38 00 00 00 */ li r0, 0 +/* 803565A4 00353504 98 01 00 08 */ stb r0, 8(r1) +/* 803565A8 00353508 7C 03 00 D0 */ neg r0, r3 +/* 803565AC 0035350C 7C 00 1B 78 */ or r0, r0, r3 +/* 803565B0 00353510 54 00 0F FE */ srwi r0, r0, 0x1f +/* 803565B4 00353514 98 1E 00 00 */ stb r0, 0(r30) +/* 803565B8 00353518 90 7E 00 04 */ stw r3, 4(r30) +/* 803565BC 0035351C 88 01 00 08 */ lbz r0, 8(r1) +/* 803565C0 00353520 28 00 00 00 */ cmplwi r0, 0 +/* 803565C4 00353524 41 82 00 24 */ beq lbl_803565E8 +/* 803565C8 00353528 80 61 00 0C */ lwz r3, 0xc(r1) +/* 803565CC 0035352C 28 03 00 00 */ cmplwi r3, 0 +/* 803565D0 00353530 41 82 00 18 */ beq lbl_803565E8 +/* 803565D4 00353534 81 83 00 00 */ lwz r12, 0(r3) +/* 803565D8 00353538 38 80 00 01 */ li r4, 1 +/* 803565DC 0035353C 81 8C 00 08 */ lwz r12, 8(r12) +/* 803565E0 00353540 7D 89 03 A6 */ mtctr r12 +/* 803565E4 00353544 4E 80 04 21 */ bctrl +lbl_803565E8: +/* 803565E8 00353548 88 01 00 10 */ lbz r0, 0x10(r1) +/* 803565EC 0035354C 28 00 00 00 */ cmplwi r0, 0 +/* 803565F0 00353550 41 82 00 28 */ beq lbl_80356618 +/* 803565F4 00353554 83 E1 00 14 */ lwz r31, 0x14(r1) +/* 803565F8 00353558 28 1F 00 00 */ cmplwi r31, 0 +/* 803565FC 0035355C 41 82 00 1C */ beq lbl_80356618 +/* 80356600 00353560 34 1F 00 04 */ addic. r0, r31, 4 +/* 80356604 00353564 41 82 00 0C */ beq lbl_80356610 +/* 80356608 00353568 80 7F 00 04 */ lwz r3, 4(r31) +/* 8035660C 0035356C 4B FB F3 25 */ bl Free__7CMemoryFPCv +lbl_80356610: +/* 80356610 00353570 7F E3 FB 78 */ mr r3, r31 +/* 80356614 00353574 4B FB F3 1D */ bl Free__7CMemoryFPCv +lbl_80356618: +/* 80356618 00353578 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8035661C 0035357C 7F C3 F3 78 */ mr r3, r30 +/* 80356620 00353580 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80356624 00353584 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80356628 00353588 7C 08 03 A6 */ mtlr r0 +/* 8035662C 0035358C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80356630 00353590 4E 80 00 20 */ blr + +.global sub_80356634 +sub_80356634: +/* 80356634 00353594 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80356638 00353598 7C 08 02 A6 */ mflr r0 +/* 8035663C 0035359C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80356640 003535A0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80356644 003535A4 7C 7F 1B 78 */ mr r31, r3 +/* 80356648 003535A8 48 00 00 19 */ bl sub_80356660 +/* 8035664C 003535AC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80356650 003535B0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80356654 003535B4 7C 08 03 A6 */ mtlr r0 +/* 80356658 003535B8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8035665C 003535BC 4E 80 00 20 */ blr + +.global sub_80356660 +sub_80356660: +/* 80356660 003535C0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80356664 003535C4 7C 08 02 A6 */ mflr r0 +/* 80356668 003535C8 3C A0 80 3E */ lis r5, lbl_803D8320@ha +/* 8035666C 003535CC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80356670 003535D0 38 05 83 20 */ addi r0, r5, lbl_803D8320@l +/* 80356674 003535D4 38 A0 00 00 */ li r5, 0 +/* 80356678 003535D8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8035667C 003535DC 7C 9F 23 78 */ mr r31, r4 +/* 80356680 003535E0 7C 04 03 78 */ mr r4, r0 +/* 80356684 003535E4 93 C1 00 08 */ stw r30, 8(r1) +/* 80356688 003535E8 7C 7E 1B 78 */ mr r30, r3 +/* 8035668C 003535EC 38 60 00 08 */ li r3, 8 +/* 80356690 003535F0 4B FB F1 DD */ bl __nw__FUlPCcPCc +/* 80356694 003535F4 28 03 00 00 */ cmplwi r3, 0 +/* 80356698 003535F8 41 82 00 38 */ beq lbl_803566D0 +/* 8035669C 003535FC 3C 80 80 3E */ lis r4, lbl_803D8D6C@ha +/* 803566A0 00353600 3C A0 80 3E */ lis r5, lbl_803D8D78@ha +/* 803566A4 00353604 38 04 8D 6C */ addi r0, r4, lbl_803D8D6C@l +/* 803566A8 00353608 3C 80 80 3E */ lis r4, lbl_803D9A0C@ha +/* 803566AC 0035360C 90 03 00 00 */ stw r0, 0(r3) +/* 803566B0 00353610 38 C5 8D 78 */ addi r6, r5, lbl_803D8D78@l +/* 803566B4 00353614 38 A0 00 00 */ li r5, 0 +/* 803566B8 00353618 38 04 9A 0C */ addi r0, r4, lbl_803D9A0C@l +/* 803566BC 0035361C 90 C3 00 00 */ stw r6, 0(r3) +/* 803566C0 00353620 98 BF 00 00 */ stb r5, 0(r31) +/* 803566C4 00353624 80 9F 00 04 */ lwz r4, 4(r31) +/* 803566C8 00353628 90 83 00 04 */ stw r4, 4(r3) +/* 803566CC 0035362C 90 03 00 00 */ stw r0, 0(r3) +lbl_803566D0: +/* 803566D0 00353630 7C 03 00 D0 */ neg r0, r3 +/* 803566D4 00353634 7C 00 1B 78 */ or r0, r0, r3 +/* 803566D8 00353638 54 00 0F FE */ srwi r0, r0, 0x1f +/* 803566DC 0035363C 98 1E 00 00 */ stb r0, 0(r30) +/* 803566E0 00353640 90 7E 00 04 */ stw r3, 4(r30) +/* 803566E4 00353644 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803566E8 00353648 83 C1 00 08 */ lwz r30, 8(r1) +/* 803566EC 0035364C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803566F0 00353650 7C 08 03 A6 */ mtlr r0 +/* 803566F4 00353654 38 21 00 10 */ addi r1, r1, 0x10 +/* 803566F8 00353658 4E 80 00 20 */ blr + +.global GetString__12CStringTableCFi +GetString__12CStringTableCFi: +/* 803566FC 0035365C 2C 04 00 00 */ cmpwi r4, 0 +/* 80356700 00353660 41 80 00 10 */ blt lbl_80356710 +/* 80356704 00353664 80 03 00 00 */ lwz r0, 0(r3) +/* 80356708 00353668 7C 04 00 00 */ cmpw r4, r0 +/* 8035670C 0035366C 41 80 00 10 */ blt lbl_8035671C +lbl_80356710: +/* 80356710 00353670 3C 60 80 3E */ lis r3, lbl_803D8310@ha +/* 80356714 00353674 38 63 83 10 */ addi r3, r3, lbl_803D8310@l +/* 80356718 00353678 4E 80 00 20 */ blr +lbl_8035671C: +/* 8035671C 0035367C 80 63 00 04 */ lwz r3, 4(r3) +/* 80356720 00353680 54 80 10 3A */ slwi r0, r4, 2 +/* 80356724 00353684 7C 03 00 2E */ lwzx r0, r3, r0 +/* 80356728 00353688 7C 63 02 14 */ add r3, r3, r0 +/* 8035672C 0035368C 4E 80 00 20 */ blr + +.global __ct__12CStringTableFR12CInputStream +__ct__12CStringTableFR12CInputStream: +/* 80356730 00353690 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80356734 00353694 7C 08 02 A6 */ mflr r0 +/* 80356738 00353698 90 01 00 44 */ stw r0, 0x44(r1) +/* 8035673C 0035369C 38 00 00 00 */ li r0, 0 +/* 80356740 003536A0 BF 41 00 28 */ stmw r26, 0x28(r1) +/* 80356744 003536A4 7C 7E 1B 78 */ mr r30, r3 +/* 80356748 003536A8 7C 9F 23 78 */ mr r31, r4 +/* 8035674C 003536AC 90 03 00 00 */ stw r0, 0(r3) +/* 80356750 003536B0 7F E3 FB 78 */ mr r3, r31 +/* 80356754 003536B4 90 1E 00 04 */ stw r0, 4(r30) +/* 80356758 003536B8 4B FE 85 2D */ bl ReadLong__12CInputStreamFv +/* 8035675C 003536BC 7F E3 FB 78 */ mr r3, r31 +/* 80356760 003536C0 4B FE 85 25 */ bl ReadLong__12CInputStreamFv +/* 80356764 003536C4 7F E3 FB 78 */ mr r3, r31 +/* 80356768 003536C8 4B FE 85 1D */ bl ReadLong__12CInputStreamFv +/* 8035676C 003536CC 7C 7B 1B 78 */ mr r27, r3 +/* 80356770 003536D0 7F E3 FB 78 */ mr r3, r31 +/* 80356774 003536D4 4B FE 85 11 */ bl ReadLong__12CInputStreamFv +/* 80356778 003536D8 90 7E 00 00 */ stw r3, 0(r30) +/* 8035677C 003536DC 38 00 00 00 */ li r0, 0 +/* 80356780 003536E0 7F 64 DB 78 */ mr r4, r27 +/* 80356784 003536E4 38 61 00 18 */ addi r3, r1, 0x18 +/* 80356788 003536E8 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8035678C 003536EC 90 01 00 20 */ stw r0, 0x20(r1) +/* 80356790 003536F0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80356794 003536F4 4B CB 22 B9 */ bl "reserve__Q24rstl55vector,Q24rstl17rmemory_allocator>Fi" +/* 80356798 003536F8 3B 40 00 00 */ li r26, 0 +/* 8035679C 003536FC 48 00 00 70 */ b lbl_8035680C +lbl_803567A0: +/* 803567A0 00353700 7F E3 FB 78 */ mr r3, r31 +/* 803567A4 00353704 4B FE 84 E1 */ bl ReadLong__12CInputStreamFv +/* 803567A8 00353708 7C 7C 1B 78 */ mr r28, r3 +/* 803567AC 0035370C 7F E3 FB 78 */ mr r3, r31 +/* 803567B0 00353710 4B FE 84 D5 */ bl ReadLong__12CInputStreamFv +/* 803567B4 00353714 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 803567B8 00353718 7C 7D 1B 78 */ mr r29, r3 +/* 803567BC 0035371C 80 A1 00 20 */ lwz r5, 0x20(r1) +/* 803567C0 00353720 7C 00 28 00 */ cmpw r0, r5 +/* 803567C4 00353724 41 80 00 1C */ blt lbl_803567E0 +/* 803567C8 00353728 2C 05 00 00 */ cmpwi r5, 0 +/* 803567CC 0035372C 38 61 00 18 */ addi r3, r1, 0x18 +/* 803567D0 00353730 38 80 00 04 */ li r4, 4 +/* 803567D4 00353734 41 82 00 08 */ beq lbl_803567DC +/* 803567D8 00353738 54 A4 08 3C */ slwi r4, r5, 1 +lbl_803567DC: +/* 803567DC 0035373C 4B CB 22 71 */ bl "reserve__Q24rstl55vector,Q24rstl17rmemory_allocator>Fi" +lbl_803567E0: +/* 803567E0 00353740 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 803567E4 00353744 80 61 00 24 */ lwz r3, 0x24(r1) +/* 803567E8 00353748 54 00 18 38 */ slwi r0, r0, 3 +/* 803567EC 0035374C 7C 63 02 15 */ add. r3, r3, r0 +/* 803567F0 00353750 41 82 00 0C */ beq lbl_803567FC +/* 803567F4 00353754 93 83 00 00 */ stw r28, 0(r3) +/* 803567F8 00353758 93 A3 00 04 */ stw r29, 4(r3) +lbl_803567FC: +/* 803567FC 0035375C 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 80356800 00353760 3B 5A 00 01 */ addi r26, r26, 1 +/* 80356804 00353764 38 03 00 01 */ addi r0, r3, 1 +/* 80356808 00353768 90 01 00 1C */ stw r0, 0x1c(r1) +lbl_8035680C: +/* 8035680C 0035376C 7C 1A D8 00 */ cmpw r26, r27 +/* 80356810 00353770 41 80 FF 90 */ blt lbl_803567A0 +/* 80356814 00353774 80 A1 00 24 */ lwz r5, 0x24(r1) +/* 80356818 00353778 38 C0 00 00 */ li r6, 0 +/* 8035681C 0035377C 80 8D 9E 18 */ lwz r4, lbl_805A89D8@sda21(r13) +/* 80356820 00353780 7C A3 2B 78 */ mr r3, r5 +/* 80356824 00353784 83 45 00 04 */ lwz r26, 4(r5) +/* 80356828 00353788 7F 69 03 A6 */ mtctr r27 +/* 8035682C 0035378C 2C 1B 00 00 */ cmpwi r27, 0 +/* 80356830 00353790 40 81 00 2C */ ble lbl_8035685C +lbl_80356834: +/* 80356834 00353794 80 03 00 00 */ lwz r0, 0(r3) +/* 80356838 00353798 7C 04 00 40 */ cmplw r4, r0 +/* 8035683C 0035379C 40 82 00 14 */ bne lbl_80356850 +/* 80356840 003537A0 54 C3 18 38 */ slwi r3, r6, 3 +/* 80356844 003537A4 38 03 00 04 */ addi r0, r3, 4 +/* 80356848 003537A8 7F 45 00 2E */ lwzx r26, r5, r0 +/* 8035684C 003537AC 48 00 00 10 */ b lbl_8035685C +lbl_80356850: +/* 80356850 003537B0 38 63 00 08 */ addi r3, r3, 8 +/* 80356854 003537B4 38 C6 00 01 */ addi r6, r6, 1 +/* 80356858 003537B8 42 00 FF DC */ bdnz lbl_80356834 +lbl_8035685C: +/* 8035685C 003537BC 3B 60 00 00 */ li r27, 0 +/* 80356860 003537C0 48 00 00 10 */ b lbl_80356870 +lbl_80356864: +/* 80356864 003537C4 7F E3 FB 78 */ mr r3, r31 +/* 80356868 003537C8 4B FE 84 A5 */ bl ReadChar__12CInputStreamFv +/* 8035686C 003537CC 3B 7B 00 01 */ addi r27, r27, 1 +lbl_80356870: +/* 80356870 003537D0 7C 1B D0 40 */ cmplw r27, r26 +/* 80356874 003537D4 41 80 FF F0 */ blt lbl_80356864 +/* 80356878 003537D8 7F E3 FB 78 */ mr r3, r31 +/* 8035687C 003537DC 4B FE 84 09 */ bl ReadLong__12CInputStreamFv +/* 80356880 003537E0 3C 80 80 3E */ lis r4, lbl_803D8320@ha +/* 80356884 003537E4 7C 7B 1B 78 */ mr r27, r3 +/* 80356888 003537E8 38 A0 00 00 */ li r5, 0 +/* 8035688C 003537EC 38 84 83 20 */ addi r4, r4, lbl_803D8320@l +/* 80356890 003537F0 4B FB EF 89 */ bl __nwa__FUlPCcPCc +/* 80356894 003537F4 7C 7D 1B 78 */ mr r29, r3 +/* 80356898 003537F8 80 7E 00 04 */ lwz r3, 4(r30) +/* 8035689C 003537FC 4B FB F0 95 */ bl Free__7CMemoryFPCv +/* 803568A0 00353800 93 BE 00 04 */ stw r29, 4(r30) +/* 803568A4 00353804 7F E3 FB 78 */ mr r3, r31 +/* 803568A8 00353808 7F 65 DB 78 */ mr r5, r27 +/* 803568AC 0035380C 80 9E 00 04 */ lwz r4, 4(r30) +/* 803568B0 00353810 4B FE 85 D1 */ bl ReadBytes__12CInputStreamFPvUl +/* 803568B4 00353814 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 803568B8 00353818 80 61 00 24 */ lwz r3, 0x24(r1) +/* 803568BC 0035381C 54 00 18 38 */ slwi r0, r0, 3 +/* 803568C0 00353820 7C 03 02 14 */ add r0, r3, r0 +/* 803568C4 00353824 90 61 00 0C */ stw r3, 0xc(r1) +/* 803568C8 00353828 7C 64 1B 78 */ mr r4, r3 +/* 803568CC 0035382C 90 01 00 14 */ stw r0, 0x14(r1) +/* 803568D0 00353830 90 01 00 10 */ stw r0, 0x10(r1) +/* 803568D4 00353834 90 61 00 08 */ stw r3, 8(r1) +/* 803568D8 00353838 48 00 00 08 */ b lbl_803568E0 +lbl_803568DC: +/* 803568DC 0035383C 38 84 00 08 */ addi r4, r4, 8 +lbl_803568E0: +/* 803568E0 00353840 7C 04 00 40 */ cmplw r4, r0 +/* 803568E4 00353844 40 82 FF F8 */ bne lbl_803568DC +/* 803568E8 00353848 28 03 00 00 */ cmplwi r3, 0 +/* 803568EC 0035384C 41 82 00 08 */ beq lbl_803568F4 +/* 803568F0 00353850 4B FB F0 41 */ bl Free__7CMemoryFPCv +lbl_803568F4: +/* 803568F4 00353854 7F C3 F3 78 */ mr r3, r30 +/* 803568F8 00353858 BB 41 00 28 */ lmw r26, 0x28(r1) +/* 803568FC 0035385C 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80356900 00353860 7C 08 03 A6 */ mtlr r0 +/* 80356904 00353864 38 21 00 40 */ addi r1, r1, 0x40 +/* 80356908 00353868 4E 80 00 20 */ blr diff --git a/asm/Kyoto/Text/CTextRenderBuffer.s b/asm/Kyoto/Text/CTextRenderBuffer.s new file mode 100644 index 00000000..b8385460 --- /dev/null +++ b/asm/Kyoto/Text/CTextRenderBuffer.s @@ -0,0 +1,1878 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global AccumulateTextBounds__17CTextRenderBufferFv +AccumulateTextBounds__17CTextRenderBufferFv: +/* 80359AEC 00356A4C 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 80359AF0 00356A50 7C 08 02 A6 */ mflr r0 +/* 80359AF4 00356A54 3C A0 80 00 */ lis r5, 0x7FFFFFFF@ha +/* 80359AF8 00356A58 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 80359AFC 00356A5C BE E1 00 9C */ stmw r23, 0x9c(r1) +/* 80359B00 00356A60 7C 9B 23 78 */ mr r27, r4 +/* 80359B04 00356A64 38 85 FF FF */ addi r4, r5, 0x7FFFFFFF@l +/* 80359B08 00356A68 7C 7A 1B 78 */ mr r26, r3 +/* 80359B0C 00356A6C 7C 85 23 78 */ mr r5, r4 +/* 80359B10 00356A70 38 61 00 48 */ addi r3, r1, 0x48 +/* 80359B14 00356A74 4B FB A8 39 */ bl __ct__9CVector2iFii +/* 80359B18 00356A78 38 61 00 40 */ addi r3, r1, 0x40 +/* 80359B1C 00356A7C 3C 80 80 00 */ lis r4, 0x8000 +/* 80359B20 00356A80 3C A0 80 00 */ lis r5, 0x8000 +/* 80359B24 00356A84 4B FB A8 29 */ bl __ct__9CVector2iFii +/* 80359B28 00356A88 80 9B 00 40 */ lwz r4, 0x40(r27) +/* 80359B2C 00356A8C 38 61 00 50 */ addi r3, r1, 0x50 +/* 80359B30 00356A90 80 BB 00 44 */ lwz r5, 0x44(r27) +/* 80359B34 00356A94 38 C0 00 01 */ li r6, 1 +/* 80359B38 00356A98 4B FE 56 D5 */ bl __ct__15CMemoryInStreamFPvUlQ215CMemoryInStream10EOwnerShip +/* 80359B3C 00356A9C 3B A1 00 44 */ addi r29, r1, 0x44 +/* 80359B40 00356AA0 3B 81 00 4C */ addi r28, r1, 0x4c +/* 80359B44 00356AA4 48 00 03 18 */ b lbl_80359E5C +lbl_80359B48: +/* 80359B48 00356AA8 38 61 00 50 */ addi r3, r1, 0x50 +/* 80359B4C 00356AAC 4B FE 51 C1 */ bl ReadChar__12CInputStreamFv +/* 80359B50 00356AB0 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 80359B54 00356AB4 2C 00 00 02 */ cmpwi r0, 2 +/* 80359B58 00356AB8 41 82 02 EC */ beq lbl_80359E44 +/* 80359B5C 00356ABC 40 80 00 14 */ bge lbl_80359B70 +/* 80359B60 00356AC0 2C 00 00 00 */ cmpwi r0, 0 +/* 80359B64 00356AC4 41 82 00 18 */ beq lbl_80359B7C +/* 80359B68 00356AC8 40 80 01 58 */ bge lbl_80359CC0 +/* 80359B6C 00356ACC 48 00 02 F0 */ b lbl_80359E5C +lbl_80359B70: +/* 80359B70 00356AD0 2C 00 00 04 */ cmpwi r0, 4 +/* 80359B74 00356AD4 40 80 02 E8 */ bge lbl_80359E5C +/* 80359B78 00356AD8 48 00 02 DC */ b lbl_80359E54 +lbl_80359B7C: +/* 80359B7C 00356ADC 38 61 00 50 */ addi r3, r1, 0x50 +/* 80359B80 00356AE0 4B FE 51 31 */ bl ReadShort__12CInputStreamFv +/* 80359B84 00356AE4 7C 7F 07 34 */ extsh r31, r3 +/* 80359B88 00356AE8 38 61 00 50 */ addi r3, r1, 0x50 +/* 80359B8C 00356AEC 4B FE 51 25 */ bl ReadShort__12CInputStreamFv +/* 80359B90 00356AF0 7C 7E 07 34 */ extsh r30, r3 +/* 80359B94 00356AF4 38 61 00 50 */ addi r3, r1, 0x50 +/* 80359B98 00356AF8 4B FE 51 19 */ bl ReadShort__12CInputStreamFv +/* 80359B9C 00356AFC 7C 79 07 34 */ extsh r25, r3 +/* 80359BA0 00356B00 38 61 00 50 */ addi r3, r1, 0x50 +/* 80359BA4 00356B04 4B FE 50 E1 */ bl ReadLong__12CInputStreamFv +/* 80359BA8 00356B08 88 1B 00 4C */ lbz r0, 0x4c(r27) +/* 80359BAC 00356B0C 7C 00 07 74 */ extsb r0, r0 +/* 80359BB0 00356B10 2C 00 FF FF */ cmpwi r0, -1 +/* 80359BB4 00356B14 41 82 02 A8 */ beq lbl_80359E5C +/* 80359BB8 00356B18 80 9B 00 10 */ lwz r4, 0x10(r27) +/* 80359BBC 00356B1C 54 00 18 38 */ slwi r0, r0, 3 +/* 80359BC0 00356B20 38 61 00 38 */ addi r3, r1, 0x38 +/* 80359BC4 00356B24 7C 84 02 14 */ add r4, r4, r0 +/* 80359BC8 00356B28 4B FE 72 E1 */ bl __ct__6CTokenFRC6CToken +/* 80359BCC 00356B2C 80 61 00 38 */ lwz r3, 0x38(r1) +/* 80359BD0 00356B30 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80359BD4 00356B34 28 00 00 00 */ cmplwi r0, 0 +/* 80359BD8 00356B38 41 82 00 D8 */ beq lbl_80359CB0 +/* 80359BDC 00356B3C 38 61 00 38 */ addi r3, r1, 0x38 +/* 80359BE0 00356B40 4B FE 72 2D */ bl GetObj__6CTokenFv +/* 80359BE4 00356B44 57 38 04 3E */ clrlwi r24, r25, 0x10 +/* 80359BE8 00356B48 80 63 00 04 */ lwz r3, 4(r3) +/* 80359BEC 00356B4C 7F 04 C3 78 */ mr r4, r24 +/* 80359BF0 00356B50 4B FA 6A A9 */ bl GetGlyph__11CRasterFontCFw +/* 80359BF4 00356B54 28 03 00 00 */ cmplwi r3, 0 +/* 80359BF8 00356B58 41 82 00 B8 */ beq lbl_80359CB0 +/* 80359BFC 00356B5C 38 61 00 38 */ addi r3, r1, 0x38 +/* 80359C00 00356B60 4B FE 72 0D */ bl GetObj__6CTokenFv +/* 80359C04 00356B64 80 63 00 04 */ lwz r3, 4(r3) +/* 80359C08 00356B68 7F 04 C3 78 */ mr r4, r24 +/* 80359C0C 00356B6C 4B FA 6A 8D */ bl GetGlyph__11CRasterFontCFw +/* 80359C10 00356B70 A8 03 00 18 */ lha r0, 0x18(r3) +/* 80359C14 00356B74 38 81 00 40 */ addi r4, r1, 0x40 +/* 80359C18 00356B78 A8 A3 00 1A */ lha r5, 0x1a(r3) +/* 80359C1C 00356B7C 7C 7F 02 14 */ add r3, r31, r0 +/* 80359C20 00356B80 80 01 00 40 */ lwz r0, 0x40(r1) +/* 80359C24 00356B84 7C 63 07 34 */ extsh r3, r3 +/* 80359C28 00356B88 7C BE 2A 14 */ add r5, r30, r5 +/* 80359C2C 00356B8C 7C 00 18 00 */ cmpw r0, r3 +/* 80359C30 00356B90 90 61 00 24 */ stw r3, 0x24(r1) +/* 80359C34 00356B94 7C A5 07 34 */ extsh r5, r5 +/* 80359C38 00356B98 40 80 00 08 */ bge lbl_80359C40 +/* 80359C3C 00356B9C 38 81 00 24 */ addi r4, r1, 0x24 +lbl_80359C40: +/* 80359C40 00356BA0 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80359C44 00356BA4 80 64 00 00 */ lwz r3, 0(r4) +/* 80359C48 00356BA8 7C 00 28 00 */ cmpw r0, r5 +/* 80359C4C 00356BAC 90 61 00 40 */ stw r3, 0x40(r1) +/* 80359C50 00356BB0 90 A1 00 20 */ stw r5, 0x20(r1) +/* 80359C54 00356BB4 40 80 00 0C */ bge lbl_80359C60 +/* 80359C58 00356BB8 38 81 00 20 */ addi r4, r1, 0x20 +/* 80359C5C 00356BBC 48 00 00 08 */ b lbl_80359C64 +lbl_80359C60: +/* 80359C60 00356BC0 7F A4 EB 78 */ mr r4, r29 +lbl_80359C64: +/* 80359C64 00356BC4 80 01 00 48 */ lwz r0, 0x48(r1) +/* 80359C68 00356BC8 38 61 00 48 */ addi r3, r1, 0x48 +/* 80359C6C 00356BCC 80 84 00 00 */ lwz r4, 0(r4) +/* 80359C70 00356BD0 7C 1F 00 00 */ cmpw r31, r0 +/* 80359C74 00356BD4 90 81 00 44 */ stw r4, 0x44(r1) +/* 80359C78 00356BD8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80359C7C 00356BDC 40 80 00 08 */ bge lbl_80359C84 +/* 80359C80 00356BE0 38 61 00 1C */ addi r3, r1, 0x1c +lbl_80359C84: +/* 80359C84 00356BE4 80 01 00 4C */ lwz r0, 0x4c(r1) +/* 80359C88 00356BE8 80 63 00 00 */ lwz r3, 0(r3) +/* 80359C8C 00356BEC 7C 1E 00 00 */ cmpw r30, r0 +/* 80359C90 00356BF0 90 61 00 48 */ stw r3, 0x48(r1) +/* 80359C94 00356BF4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80359C98 00356BF8 40 80 00 0C */ bge lbl_80359CA4 +/* 80359C9C 00356BFC 38 61 00 18 */ addi r3, r1, 0x18 +/* 80359CA0 00356C00 48 00 00 08 */ b lbl_80359CA8 +lbl_80359CA4: +/* 80359CA4 00356C04 7F 83 E3 78 */ mr r3, r28 +lbl_80359CA8: +/* 80359CA8 00356C08 80 03 00 00 */ lwz r0, 0(r3) +/* 80359CAC 00356C0C 90 01 00 4C */ stw r0, 0x4c(r1) +lbl_80359CB0: +/* 80359CB0 00356C10 38 61 00 38 */ addi r3, r1, 0x38 +/* 80359CB4 00356C14 38 80 00 00 */ li r4, 0 +/* 80359CB8 00356C18 4B FE 71 89 */ bl __dt__6CTokenFv +/* 80359CBC 00356C1C 48 00 01 A0 */ b lbl_80359E5C +lbl_80359CC0: +/* 80359CC0 00356C20 38 61 00 50 */ addi r3, r1, 0x50 +/* 80359CC4 00356C24 4B FE 4F ED */ bl ReadShort__12CInputStreamFv +/* 80359CC8 00356C28 7C 7E 07 34 */ extsh r30, r3 +/* 80359CCC 00356C2C 38 61 00 50 */ addi r3, r1, 0x50 +/* 80359CD0 00356C30 4B FE 4F E1 */ bl ReadShort__12CInputStreamFv +/* 80359CD4 00356C34 7C 7F 07 34 */ extsh r31, r3 +/* 80359CD8 00356C38 38 61 00 50 */ addi r3, r1, 0x50 +/* 80359CDC 00356C3C 4B FE 50 31 */ bl ReadChar__12CInputStreamFv +/* 80359CE0 00356C40 7C 79 07 74 */ extsb r25, r3 +/* 80359CE4 00356C44 38 61 00 50 */ addi r3, r1, 0x50 +/* 80359CE8 00356C48 4B FE 4F 9D */ bl ReadLong__12CInputStreamFv +/* 80359CEC 00356C4C 1C 19 00 1C */ mulli r0, r25, 0x1c +/* 80359CF0 00356C50 80 9B 00 20 */ lwz r4, 0x20(r27) +/* 80359CF4 00356C54 38 61 00 30 */ addi r3, r1, 0x30 +/* 80359CF8 00356C58 7F 04 02 14 */ add r24, r4, r0 +/* 80359CFC 00356C5C 80 98 00 10 */ lwz r4, 0x10(r24) +/* 80359D00 00356C60 4B FE 71 A9 */ bl __ct__6CTokenFRC6CToken +/* 80359D04 00356C64 38 61 00 30 */ addi r3, r1, 0x30 +/* 80359D08 00356C68 4B FE 71 05 */ bl GetObj__6CTokenFv +/* 80359D0C 00356C6C 80 83 00 04 */ lwz r4, 4(r3) +/* 80359D10 00356C70 3C 00 43 30 */ lis r0, 0x4330 +/* 80359D14 00356C74 90 01 00 78 */ stw r0, 0x78(r1) +/* 80359D18 00356C78 38 61 00 30 */ addi r3, r1, 0x30 +/* 80359D1C 00356C7C A8 04 00 04 */ lha r0, 4(r4) +/* 80359D20 00356C80 38 80 00 00 */ li r4, 0 +/* 80359D24 00356C84 C8 42 CD 00 */ lfd f2, lbl_805AEA20@sda21(r2) +/* 80359D28 00356C88 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 80359D2C 00356C8C C0 18 00 14 */ lfs f0, 0x14(r24) +/* 80359D30 00356C90 90 01 00 7C */ stw r0, 0x7c(r1) +/* 80359D34 00356C94 C8 21 00 78 */ lfd f1, 0x78(r1) +/* 80359D38 00356C98 EC 21 10 28 */ fsubs f1, f1, f2 +/* 80359D3C 00356C9C EC 01 00 32 */ fmuls f0, f1, f0 +/* 80359D40 00356CA0 FC 00 00 1E */ fctiwz f0, f0 +/* 80359D44 00356CA4 D8 01 00 80 */ stfd f0, 0x80(r1) +/* 80359D48 00356CA8 83 21 00 84 */ lwz r25, 0x84(r1) +/* 80359D4C 00356CAC 4B FE 70 F5 */ bl __dt__6CTokenFv +/* 80359D50 00356CB0 7C 1E CA 14 */ add r0, r30, r25 +/* 80359D54 00356CB4 80 98 00 10 */ lwz r4, 0x10(r24) +/* 80359D58 00356CB8 7C 17 07 34 */ extsh r23, r0 +/* 80359D5C 00356CBC 38 61 00 28 */ addi r3, r1, 0x28 +/* 80359D60 00356CC0 4B FE 71 49 */ bl __ct__6CTokenFRC6CToken +/* 80359D64 00356CC4 38 61 00 28 */ addi r3, r1, 0x28 +/* 80359D68 00356CC8 4B FE 70 A5 */ bl GetObj__6CTokenFv +/* 80359D6C 00356CCC 80 83 00 04 */ lwz r4, 4(r3) +/* 80359D70 00356CD0 3C 00 43 30 */ lis r0, 0x4330 +/* 80359D74 00356CD4 90 01 00 88 */ stw r0, 0x88(r1) +/* 80359D78 00356CD8 38 61 00 28 */ addi r3, r1, 0x28 +/* 80359D7C 00356CDC A8 04 00 06 */ lha r0, 6(r4) +/* 80359D80 00356CE0 38 80 00 00 */ li r4, 0 +/* 80359D84 00356CE4 C8 42 CD 00 */ lfd f2, lbl_805AEA20@sda21(r2) +/* 80359D88 00356CE8 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 80359D8C 00356CEC C0 18 00 18 */ lfs f0, 0x18(r24) +/* 80359D90 00356CF0 90 01 00 8C */ stw r0, 0x8c(r1) +/* 80359D94 00356CF4 C8 21 00 88 */ lfd f1, 0x88(r1) +/* 80359D98 00356CF8 EC 21 10 28 */ fsubs f1, f1, f2 +/* 80359D9C 00356CFC EC 01 00 32 */ fmuls f0, f1, f0 +/* 80359DA0 00356D00 FC 00 00 1E */ fctiwz f0, f0 +/* 80359DA4 00356D04 D8 01 00 90 */ stfd f0, 0x90(r1) +/* 80359DA8 00356D08 83 21 00 94 */ lwz r25, 0x94(r1) +/* 80359DAC 00356D0C 4B FE 70 95 */ bl __dt__6CTokenFv +/* 80359DB0 00356D10 80 01 00 40 */ lwz r0, 0x40(r1) +/* 80359DB4 00356D14 7C 7F CA 14 */ add r3, r31, r25 +/* 80359DB8 00356D18 92 E1 00 14 */ stw r23, 0x14(r1) +/* 80359DBC 00356D1C 7C 64 07 34 */ extsh r4, r3 +/* 80359DC0 00356D20 7C 00 B8 00 */ cmpw r0, r23 +/* 80359DC4 00356D24 38 61 00 40 */ addi r3, r1, 0x40 +/* 80359DC8 00356D28 40 80 00 08 */ bge lbl_80359DD0 +/* 80359DCC 00356D2C 38 61 00 14 */ addi r3, r1, 0x14 +lbl_80359DD0: +/* 80359DD0 00356D30 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80359DD4 00356D34 80 63 00 00 */ lwz r3, 0(r3) +/* 80359DD8 00356D38 7C 00 20 00 */ cmpw r0, r4 +/* 80359DDC 00356D3C 90 61 00 40 */ stw r3, 0x40(r1) +/* 80359DE0 00356D40 90 81 00 10 */ stw r4, 0x10(r1) +/* 80359DE4 00356D44 40 80 00 0C */ bge lbl_80359DF0 +/* 80359DE8 00356D48 38 81 00 10 */ addi r4, r1, 0x10 +/* 80359DEC 00356D4C 48 00 00 08 */ b lbl_80359DF4 +lbl_80359DF0: +/* 80359DF0 00356D50 7F A4 EB 78 */ mr r4, r29 +lbl_80359DF4: +/* 80359DF4 00356D54 80 01 00 48 */ lwz r0, 0x48(r1) +/* 80359DF8 00356D58 38 61 00 48 */ addi r3, r1, 0x48 +/* 80359DFC 00356D5C 80 84 00 00 */ lwz r4, 0(r4) +/* 80359E00 00356D60 7C 1E 00 00 */ cmpw r30, r0 +/* 80359E04 00356D64 90 81 00 44 */ stw r4, 0x44(r1) +/* 80359E08 00356D68 93 C1 00 0C */ stw r30, 0xc(r1) +/* 80359E0C 00356D6C 40 80 00 08 */ bge lbl_80359E14 +/* 80359E10 00356D70 38 61 00 0C */ addi r3, r1, 0xc +lbl_80359E14: +/* 80359E14 00356D74 80 01 00 4C */ lwz r0, 0x4c(r1) +/* 80359E18 00356D78 80 63 00 00 */ lwz r3, 0(r3) +/* 80359E1C 00356D7C 7C 1F 00 00 */ cmpw r31, r0 +/* 80359E20 00356D80 90 61 00 48 */ stw r3, 0x48(r1) +/* 80359E24 00356D84 93 E1 00 08 */ stw r31, 8(r1) +/* 80359E28 00356D88 40 80 00 0C */ bge lbl_80359E34 +/* 80359E2C 00356D8C 38 61 00 08 */ addi r3, r1, 8 +/* 80359E30 00356D90 48 00 00 08 */ b lbl_80359E38 +lbl_80359E34: +/* 80359E34 00356D94 7F 83 E3 78 */ mr r3, r28 +lbl_80359E38: +/* 80359E38 00356D98 80 03 00 00 */ lwz r0, 0(r3) +/* 80359E3C 00356D9C 90 01 00 4C */ stw r0, 0x4c(r1) +/* 80359E40 00356DA0 48 00 00 1C */ b lbl_80359E5C +lbl_80359E44: +/* 80359E44 00356DA4 38 61 00 50 */ addi r3, r1, 0x50 +/* 80359E48 00356DA8 4B FE 4E C5 */ bl ReadChar__12CInputStreamFv +/* 80359E4C 00356DAC 98 7B 00 4C */ stb r3, 0x4c(r27) +/* 80359E50 00356DB0 48 00 00 0C */ b lbl_80359E5C +lbl_80359E54: +/* 80359E54 00356DB4 38 61 00 50 */ addi r3, r1, 0x50 +/* 80359E58 00356DB8 4B FE 4E B5 */ bl ReadChar__12CInputStreamFv +lbl_80359E5C: +/* 80359E5C 00356DBC 80 61 00 68 */ lwz r3, 0x68(r1) +/* 80359E60 00356DC0 80 1B 00 48 */ lwz r0, 0x48(r27) +/* 80359E64 00356DC4 7C 03 00 40 */ cmplw r3, r0 +/* 80359E68 00356DC8 41 80 FC E0 */ blt lbl_80359B48 +/* 80359E6C 00356DCC 80 81 00 48 */ lwz r4, 0x48(r1) +/* 80359E70 00356DD0 3C 60 80 3F */ lis r3, __vt__15CMemoryInStream@ha +/* 80359E74 00356DD4 38 03 E3 98 */ addi r0, r3, __vt__15CMemoryInStream@l +/* 80359E78 00356DD8 38 61 00 50 */ addi r3, r1, 0x50 +/* 80359E7C 00356DDC 90 9A 00 00 */ stw r4, 0(r26) +/* 80359E80 00356DE0 38 80 00 00 */ li r4, 0 +/* 80359E84 00356DE4 80 A1 00 4C */ lwz r5, 0x4c(r1) +/* 80359E88 00356DE8 90 BA 00 04 */ stw r5, 4(r26) +/* 80359E8C 00356DEC 80 A1 00 40 */ lwz r5, 0x40(r1) +/* 80359E90 00356DF0 90 BA 00 08 */ stw r5, 8(r26) +/* 80359E94 00356DF4 80 A1 00 44 */ lwz r5, 0x44(r1) +/* 80359E98 00356DF8 90 BA 00 0C */ stw r5, 0xc(r26) +/* 80359E9C 00356DFC 90 01 00 50 */ stw r0, 0x50(r1) +/* 80359EA0 00356E00 4B FE 52 0D */ bl __dt__12CInputStreamFv +/* 80359EA4 00356E04 BA E1 00 9C */ lmw r23, 0x9c(r1) +/* 80359EA8 00356E08 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 80359EAC 00356E0C 7C 08 03 A6 */ mtlr r0 +/* 80359EB0 00356E10 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 80359EB4 00356E14 4E 80 00 20 */ blr + +.global HasSpaceAvailable__17CTextRenderBufferFRC9CVector2iRC9CVector2i +HasSpaceAvailable__17CTextRenderBufferFRC9CVector2iRC9CVector2i: +/* 80359EB8 00356E18 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 80359EBC 00356E1C 7C 08 02 A6 */ mflr r0 +/* 80359EC0 00356E20 90 01 00 54 */ stw r0, 0x54(r1) +/* 80359EC4 00356E24 7C 60 1B 78 */ mr r0, r3 +/* 80359EC8 00356E28 38 61 00 18 */ addi r3, r1, 0x18 +/* 80359ECC 00356E2C 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 80359ED0 00356E30 93 C1 00 48 */ stw r30, 0x48(r1) +/* 80359ED4 00356E34 7C BE 2B 78 */ mr r30, r5 +/* 80359ED8 00356E38 93 A1 00 44 */ stw r29, 0x44(r1) +/* 80359EDC 00356E3C 7C 9D 23 78 */ mr r29, r4 +/* 80359EE0 00356E40 7C 04 03 78 */ mr r4, r0 +/* 80359EE4 00356E44 4B FF FC 09 */ bl AccumulateTextBounds__17CTextRenderBufferFv +/* 80359EE8 00356E48 80 A1 00 18 */ lwz r5, 0x18(r1) +/* 80359EEC 00356E4C 3B E1 00 30 */ addi r31, r1, 0x30 +/* 80359EF0 00356E50 80 61 00 20 */ lwz r3, 0x20(r1) +/* 80359EF4 00356E54 80 81 00 1C */ lwz r4, 0x1c(r1) +/* 80359EF8 00356E58 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80359EFC 00356E5C 7C 05 18 00 */ cmpw r5, r3 +/* 80359F00 00356E60 90 A1 00 28 */ stw r5, 0x28(r1) +/* 80359F04 00356E64 90 81 00 2C */ stw r4, 0x2c(r1) +/* 80359F08 00356E68 90 61 00 30 */ stw r3, 0x30(r1) +/* 80359F0C 00356E6C 90 01 00 34 */ stw r0, 0x34(r1) +/* 80359F10 00356E70 40 81 00 0C */ ble lbl_80359F1C +/* 80359F14 00356E74 38 60 00 01 */ li r3, 1 +/* 80359F18 00356E78 48 00 00 54 */ b lbl_80359F6C +lbl_80359F1C: +/* 80359F1C 00356E7C 38 61 00 10 */ addi r3, r1, 0x10 +/* 80359F20 00356E80 38 80 00 00 */ li r4, 0 +/* 80359F24 00356E84 38 A0 00 00 */ li r5, 0 +/* 80359F28 00356E88 4B FB A4 25 */ bl __ct__9CVector2iFii +/* 80359F2C 00356E8C 7F E4 FB 78 */ mr r4, r31 +/* 80359F30 00356E90 38 61 00 08 */ addi r3, r1, 8 +/* 80359F34 00356E94 38 A1 00 28 */ addi r5, r1, 0x28 +/* 80359F38 00356E98 4B FB A3 A5 */ bl __mi__FRC9CVector2iRC9CVector2i +/* 80359F3C 00356E9C 80 61 00 14 */ lwz r3, 0x14(r1) +/* 80359F40 00356EA0 80 1D 00 04 */ lwz r0, 4(r29) +/* 80359F44 00356EA4 80 A1 00 0C */ lwz r5, 0xc(r1) +/* 80359F48 00356EA8 7C 03 00 00 */ cmpw r3, r0 +/* 80359F4C 00356EAC 40 80 00 0C */ bge lbl_80359F58 +/* 80359F50 00356EB0 38 60 00 00 */ li r3, 0 +/* 80359F54 00356EB4 48 00 00 18 */ b lbl_80359F6C +lbl_80359F58: +/* 80359F58 00356EB8 80 1E 00 04 */ lwz r0, 4(r30) +/* 80359F5C 00356EBC 54 A3 0F FE */ srwi r3, r5, 0x1f +/* 80359F60 00356EC0 7C 04 FE 70 */ srawi r4, r0, 0x1f +/* 80359F64 00356EC4 7C 05 00 10 */ subfc r0, r5, r0 +/* 80359F68 00356EC8 7C 64 19 14 */ adde r3, r4, r3 +lbl_80359F6C: +/* 80359F6C 00356ECC 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80359F70 00356ED0 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 80359F74 00356ED4 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 80359F78 00356ED8 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 80359F7C 00356EDC 7C 08 03 A6 */ mtlr r0 +/* 80359F80 00356EE0 38 21 00 50 */ addi r1, r1, 0x50 +/* 80359F84 00356EE4 4E 80 00 20 */ blr + +.global SetPrimitive__17CTextRenderBufferFRCQ217CTextRenderBuffer9Primitivei +SetPrimitive__17CTextRenderBufferFRCQ217CTextRenderBuffer9Primitivei: +/* 80359F88 00356EE8 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 80359F8C 00356EEC 7C 08 02 A6 */ mflr r0 +/* 80359F90 00356EF0 7C 67 1B 78 */ mr r7, r3 +/* 80359F94 00356EF4 38 C0 00 01 */ li r6, 1 +/* 80359F98 00356EF8 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 80359F9C 00356EFC 54 A0 10 3A */ slwi r0, r5, 2 +/* 80359FA0 00356F00 93 E1 00 AC */ stw r31, 0xac(r1) +/* 80359FA4 00356F04 7C 9F 23 78 */ mr r31, r4 +/* 80359FA8 00356F08 93 C1 00 A8 */ stw r30, 0xa8(r1) +/* 80359FAC 00356F0C 80 A3 00 30 */ lwz r5, 0x30(r3) +/* 80359FB0 00356F10 80 83 00 40 */ lwz r4, 0x40(r3) +/* 80359FB4 00356F14 38 61 00 1C */ addi r3, r1, 0x1c +/* 80359FB8 00356F18 7C A5 00 2E */ lwzx r5, r5, r0 +/* 80359FBC 00356F1C 80 07 00 44 */ lwz r0, 0x44(r7) +/* 80359FC0 00356F20 38 E0 00 40 */ li r7, 0x40 +/* 80359FC4 00356F24 7C 84 2A 14 */ add r4, r4, r5 +/* 80359FC8 00356F28 7C A5 00 50 */ subf r5, r5, r0 +/* 80359FCC 00356F2C 4B FE 53 71 */ bl __ct__16CMemoryStreamOutFPvUlQ216CMemoryStreamOut10EOwnerShipi +/* 80359FD0 00356F30 80 1F 00 04 */ lwz r0, 4(r31) +/* 80359FD4 00356F34 2C 00 00 01 */ cmpwi r0, 1 +/* 80359FD8 00356F38 41 82 00 DC */ beq lbl_8035A0B4 +/* 80359FDC 00356F3C 40 80 01 C0 */ bge lbl_8035A19C +/* 80359FE0 00356F40 2C 00 00 00 */ cmpwi r0, 0 +/* 80359FE4 00356F44 40 80 00 08 */ bge lbl_80359FEC +/* 80359FE8 00356F48 48 00 01 B4 */ b lbl_8035A19C +lbl_80359FEC: +/* 80359FEC 00356F4C 38 61 00 1C */ addi r3, r1, 0x1c +/* 80359FF0 00356F50 4B FE 54 C9 */ bl FlushShiftRegister__13COutputStreamFv +/* 80359FF4 00356F54 80 61 00 20 */ lwz r3, 0x20(r1) +/* 80359FF8 00356F58 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80359FFC 00356F5C 7C 03 00 40 */ cmplw r3, r0 +/* 8035A000 00356F60 41 80 00 0C */ blt lbl_8035A00C +/* 8035A004 00356F64 38 61 00 1C */ addi r3, r1, 0x1c +/* 8035A008 00356F68 4B FE 55 1D */ bl DoFlush__13COutputStreamFv +lbl_8035A00C: +/* 8035A00C 00356F6C 80 A1 00 2C */ lwz r5, 0x2c(r1) +/* 8035A010 00356F70 38 C0 00 00 */ li r6, 0 +/* 8035A014 00356F74 80 81 00 20 */ lwz r4, 0x20(r1) +/* 8035A018 00356F78 38 61 00 1C */ addi r3, r1, 0x1c +/* 8035A01C 00356F7C 38 E5 00 01 */ addi r7, r5, 1 +/* 8035A020 00356F80 80 A1 00 28 */ lwz r5, 0x28(r1) +/* 8035A024 00356F84 38 04 00 01 */ addi r0, r4, 1 +/* 8035A028 00356F88 90 E1 00 2C */ stw r7, 0x2c(r1) +/* 8035A02C 00356F8C 90 01 00 20 */ stw r0, 0x20(r1) +/* 8035A030 00356F90 7C C5 21 AE */ stbx r6, r5, r4 +/* 8035A034 00356F94 A8 1F 00 08 */ lha r0, 8(r31) +/* 8035A038 00356F98 B0 01 00 10 */ sth r0, 0x10(r1) +/* 8035A03C 00356F9C 4B FE 54 7D */ bl FlushShiftRegister__13COutputStreamFv +/* 8035A040 00356FA0 38 61 00 1C */ addi r3, r1, 0x1c +/* 8035A044 00356FA4 38 81 00 10 */ addi r4, r1, 0x10 +/* 8035A048 00356FA8 38 A0 00 02 */ li r5, 2 +/* 8035A04C 00356FAC 4B FE 55 5D */ bl DoPut__13COutputStreamFPCvUl +/* 8035A050 00356FB0 A8 1F 00 0A */ lha r0, 0xa(r31) +/* 8035A054 00356FB4 38 61 00 1C */ addi r3, r1, 0x1c +/* 8035A058 00356FB8 B0 01 00 0E */ sth r0, 0xe(r1) +/* 8035A05C 00356FBC 4B FE 54 5D */ bl FlushShiftRegister__13COutputStreamFv +/* 8035A060 00356FC0 38 61 00 1C */ addi r3, r1, 0x1c +/* 8035A064 00356FC4 38 81 00 0E */ addi r4, r1, 0xe +/* 8035A068 00356FC8 38 A0 00 02 */ li r5, 2 +/* 8035A06C 00356FCC 4B FE 55 3D */ bl DoPut__13COutputStreamFPCvUl +/* 8035A070 00356FD0 A8 1F 00 0C */ lha r0, 0xc(r31) +/* 8035A074 00356FD4 38 61 00 1C */ addi r3, r1, 0x1c +/* 8035A078 00356FD8 B0 01 00 0C */ sth r0, 0xc(r1) +/* 8035A07C 00356FDC 4B FE 54 3D */ bl FlushShiftRegister__13COutputStreamFv +/* 8035A080 00356FE0 38 61 00 1C */ addi r3, r1, 0x1c +/* 8035A084 00356FE4 38 81 00 0C */ addi r4, r1, 0xc +/* 8035A088 00356FE8 38 A0 00 02 */ li r5, 2 +/* 8035A08C 00356FEC 4B FE 55 1D */ bl DoPut__13COutputStreamFPCvUl +/* 8035A090 00356FF0 80 1F 00 00 */ lwz r0, 0(r31) +/* 8035A094 00356FF4 38 61 00 1C */ addi r3, r1, 0x1c +/* 8035A098 00356FF8 90 01 00 18 */ stw r0, 0x18(r1) +/* 8035A09C 00356FFC 4B FE 54 1D */ bl FlushShiftRegister__13COutputStreamFv +/* 8035A0A0 00357000 38 61 00 1C */ addi r3, r1, 0x1c +/* 8035A0A4 00357004 38 81 00 18 */ addi r4, r1, 0x18 +/* 8035A0A8 00357008 38 A0 00 04 */ li r5, 4 +/* 8035A0AC 0035700C 4B FE 54 FD */ bl DoPut__13COutputStreamFPCvUl +/* 8035A0B0 00357010 48 00 00 EC */ b lbl_8035A19C +lbl_8035A0B4: +/* 8035A0B4 00357014 38 61 00 1C */ addi r3, r1, 0x1c +/* 8035A0B8 00357018 4B FE 54 01 */ bl FlushShiftRegister__13COutputStreamFv +/* 8035A0BC 0035701C 80 61 00 20 */ lwz r3, 0x20(r1) +/* 8035A0C0 00357020 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8035A0C4 00357024 7C 03 00 40 */ cmplw r3, r0 +/* 8035A0C8 00357028 41 80 00 0C */ blt lbl_8035A0D4 +/* 8035A0CC 0035702C 38 61 00 1C */ addi r3, r1, 0x1c +/* 8035A0D0 00357030 4B FE 54 55 */ bl DoFlush__13COutputStreamFv +lbl_8035A0D4: +/* 8035A0D4 00357034 80 A1 00 2C */ lwz r5, 0x2c(r1) +/* 8035A0D8 00357038 38 C0 00 01 */ li r6, 1 +/* 8035A0DC 0035703C 80 81 00 20 */ lwz r4, 0x20(r1) +/* 8035A0E0 00357040 38 61 00 1C */ addi r3, r1, 0x1c +/* 8035A0E4 00357044 38 E5 00 01 */ addi r7, r5, 1 +/* 8035A0E8 00357048 80 A1 00 28 */ lwz r5, 0x28(r1) +/* 8035A0EC 0035704C 38 04 00 01 */ addi r0, r4, 1 +/* 8035A0F0 00357050 90 E1 00 2C */ stw r7, 0x2c(r1) +/* 8035A0F4 00357054 90 01 00 20 */ stw r0, 0x20(r1) +/* 8035A0F8 00357058 7C C5 21 AE */ stbx r6, r5, r4 +/* 8035A0FC 0035705C A8 1F 00 08 */ lha r0, 8(r31) +/* 8035A100 00357060 B0 01 00 0A */ sth r0, 0xa(r1) +/* 8035A104 00357064 4B FE 53 B5 */ bl FlushShiftRegister__13COutputStreamFv +/* 8035A108 00357068 38 61 00 1C */ addi r3, r1, 0x1c +/* 8035A10C 0035706C 38 81 00 0A */ addi r4, r1, 0xa +/* 8035A110 00357070 38 A0 00 02 */ li r5, 2 +/* 8035A114 00357074 4B FE 54 95 */ bl DoPut__13COutputStreamFPCvUl +/* 8035A118 00357078 A8 1F 00 0A */ lha r0, 0xa(r31) +/* 8035A11C 0035707C 38 61 00 1C */ addi r3, r1, 0x1c +/* 8035A120 00357080 B0 01 00 08 */ sth r0, 8(r1) +/* 8035A124 00357084 4B FE 53 95 */ bl FlushShiftRegister__13COutputStreamFv +/* 8035A128 00357088 38 61 00 1C */ addi r3, r1, 0x1c +/* 8035A12C 0035708C 38 81 00 08 */ addi r4, r1, 8 +/* 8035A130 00357090 38 A0 00 02 */ li r5, 2 +/* 8035A134 00357094 4B FE 54 75 */ bl DoPut__13COutputStreamFPCvUl +/* 8035A138 00357098 8B DF 00 0E */ lbz r30, 0xe(r31) +/* 8035A13C 0035709C 38 61 00 1C */ addi r3, r1, 0x1c +/* 8035A140 003570A0 4B FE 53 79 */ bl FlushShiftRegister__13COutputStreamFv +/* 8035A144 003570A4 80 61 00 20 */ lwz r3, 0x20(r1) +/* 8035A148 003570A8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8035A14C 003570AC 7C 03 00 40 */ cmplw r3, r0 +/* 8035A150 003570B0 41 80 00 0C */ blt lbl_8035A15C +/* 8035A154 003570B4 38 61 00 1C */ addi r3, r1, 0x1c +/* 8035A158 003570B8 4B FE 53 CD */ bl DoFlush__13COutputStreamFv +lbl_8035A15C: +/* 8035A15C 003570BC 80 A1 00 2C */ lwz r5, 0x2c(r1) +/* 8035A160 003570C0 38 61 00 1C */ addi r3, r1, 0x1c +/* 8035A164 003570C4 80 81 00 20 */ lwz r4, 0x20(r1) +/* 8035A168 003570C8 38 C5 00 01 */ addi r6, r5, 1 +/* 8035A16C 003570CC 80 A1 00 28 */ lwz r5, 0x28(r1) +/* 8035A170 003570D0 38 04 00 01 */ addi r0, r4, 1 +/* 8035A174 003570D4 90 C1 00 2C */ stw r6, 0x2c(r1) +/* 8035A178 003570D8 90 01 00 20 */ stw r0, 0x20(r1) +/* 8035A17C 003570DC 7F C5 21 AE */ stbx r30, r5, r4 +/* 8035A180 003570E0 80 1F 00 00 */ lwz r0, 0(r31) +/* 8035A184 003570E4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8035A188 003570E8 4B FE 53 31 */ bl FlushShiftRegister__13COutputStreamFv +/* 8035A18C 003570EC 38 61 00 1C */ addi r3, r1, 0x1c +/* 8035A190 003570F0 38 81 00 14 */ addi r4, r1, 0x14 +/* 8035A194 003570F4 38 A0 00 04 */ li r5, 4 +/* 8035A198 003570F8 4B FE 54 11 */ bl DoPut__13COutputStreamFPCvUl +lbl_8035A19C: +/* 8035A19C 003570FC 38 61 00 1C */ addi r3, r1, 0x1c +/* 8035A1A0 00357100 38 80 FF FF */ li r4, -1 +/* 8035A1A4 00357104 4B FE 51 1D */ bl __dt__16CMemoryStreamOutFv +/* 8035A1A8 00357108 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 8035A1AC 0035710C 83 E1 00 AC */ lwz r31, 0xac(r1) +/* 8035A1B0 00357110 83 C1 00 A8 */ lwz r30, 0xa8(r1) +/* 8035A1B4 00357114 7C 08 03 A6 */ mtlr r0 +/* 8035A1B8 00357118 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 8035A1BC 0035711C 4E 80 00 20 */ blr + +.global GetPrimitive__17CTextRenderBufferCFi +GetPrimitive__17CTextRenderBufferCFi: +/* 8035A1C0 00357120 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8035A1C4 00357124 7C 08 02 A6 */ mflr r0 +/* 8035A1C8 00357128 90 01 00 44 */ stw r0, 0x44(r1) +/* 8035A1CC 0035712C 54 A0 10 3A */ slwi r0, r5, 2 +/* 8035A1D0 00357130 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 8035A1D4 00357134 7C 7F 1B 78 */ mr r31, r3 +/* 8035A1D8 00357138 38 61 00 08 */ addi r3, r1, 8 +/* 8035A1DC 0035713C 93 C1 00 38 */ stw r30, 0x38(r1) +/* 8035A1E0 00357140 93 A1 00 34 */ stw r29, 0x34(r1) +/* 8035A1E4 00357144 93 81 00 30 */ stw r28, 0x30(r1) +/* 8035A1E8 00357148 80 C4 00 30 */ lwz r6, 0x30(r4) +/* 8035A1EC 0035714C 80 A4 00 40 */ lwz r5, 0x40(r4) +/* 8035A1F0 00357150 7C C6 00 2E */ lwzx r6, r6, r0 +/* 8035A1F4 00357154 80 04 00 44 */ lwz r0, 0x44(r4) +/* 8035A1F8 00357158 7C 85 32 14 */ add r4, r5, r6 +/* 8035A1FC 0035715C 7C A6 00 50 */ subf r5, r6, r0 +/* 8035A200 00357160 4B FE 4F CD */ bl __ct__15CMemoryInStreamFPCvUl +/* 8035A204 00357164 38 61 00 08 */ addi r3, r1, 8 +/* 8035A208 00357168 4B FE 4B 05 */ bl ReadChar__12CInputStreamFv +/* 8035A20C 0035716C 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 8035A210 00357170 2C 00 00 01 */ cmpwi r0, 1 +/* 8035A214 00357174 41 82 00 78 */ beq lbl_8035A28C +/* 8035A218 00357178 40 80 00 DC */ bge lbl_8035A2F4 +/* 8035A21C 0035717C 2C 00 00 00 */ cmpwi r0, 0 +/* 8035A220 00357180 40 80 00 08 */ bge lbl_8035A228 +/* 8035A224 00357184 48 00 00 D0 */ b lbl_8035A2F4 +lbl_8035A228: +/* 8035A228 00357188 38 61 00 08 */ addi r3, r1, 8 +/* 8035A22C 0035718C 4B FE 4A 85 */ bl ReadShort__12CInputStreamFv +/* 8035A230 00357190 7C 7E 07 34 */ extsh r30, r3 +/* 8035A234 00357194 38 61 00 08 */ addi r3, r1, 8 +/* 8035A238 00357198 4B FE 4A 79 */ bl ReadShort__12CInputStreamFv +/* 8035A23C 0035719C 7C 7D 07 34 */ extsh r29, r3 +/* 8035A240 003571A0 38 61 00 08 */ addi r3, r1, 8 +/* 8035A244 003571A4 4B FE 4A 6D */ bl ReadShort__12CInputStreamFv +/* 8035A248 003571A8 7C 7C 07 34 */ extsh r28, r3 +/* 8035A24C 003571AC 38 61 00 08 */ addi r3, r1, 8 +/* 8035A250 003571B0 4B FE 4A 35 */ bl ReadLong__12CInputStreamFv +/* 8035A254 003571B4 90 7F 00 00 */ stw r3, 0(r31) +/* 8035A258 003571B8 38 A0 00 00 */ li r5, 0 +/* 8035A25C 003571BC 3C 80 80 3F */ lis r4, __vt__15CMemoryInStream@ha +/* 8035A260 003571C0 38 61 00 08 */ addi r3, r1, 8 +/* 8035A264 003571C4 90 BF 00 04 */ stw r5, 4(r31) +/* 8035A268 003571C8 38 04 E3 98 */ addi r0, r4, __vt__15CMemoryInStream@l +/* 8035A26C 003571CC 38 80 00 00 */ li r4, 0 +/* 8035A270 003571D0 B3 DF 00 08 */ sth r30, 8(r31) +/* 8035A274 003571D4 B3 BF 00 0A */ sth r29, 0xa(r31) +/* 8035A278 003571D8 B3 9F 00 0C */ sth r28, 0xc(r31) +/* 8035A27C 003571DC 98 BF 00 0E */ stb r5, 0xe(r31) +/* 8035A280 003571E0 90 01 00 08 */ stw r0, 8(r1) +/* 8035A284 003571E4 4B FE 4E 29 */ bl __dt__12CInputStreamFv +/* 8035A288 003571E8 48 00 00 A4 */ b lbl_8035A32C +lbl_8035A28C: +/* 8035A28C 003571EC 38 61 00 08 */ addi r3, r1, 8 +/* 8035A290 003571F0 4B FE 4A 21 */ bl ReadShort__12CInputStreamFv +/* 8035A294 003571F4 7C 7C 07 34 */ extsh r28, r3 +/* 8035A298 003571F8 38 61 00 08 */ addi r3, r1, 8 +/* 8035A29C 003571FC 4B FE 4A 15 */ bl ReadShort__12CInputStreamFv +/* 8035A2A0 00357200 7C 7D 07 34 */ extsh r29, r3 +/* 8035A2A4 00357204 38 61 00 08 */ addi r3, r1, 8 +/* 8035A2A8 00357208 4B FE 4A 65 */ bl ReadChar__12CInputStreamFv +/* 8035A2AC 0035720C 7C 7E 07 74 */ extsb r30, r3 +/* 8035A2B0 00357210 38 61 00 08 */ addi r3, r1, 8 +/* 8035A2B4 00357214 4B FE 49 D1 */ bl ReadLong__12CInputStreamFv +/* 8035A2B8 00357218 90 7F 00 00 */ stw r3, 0(r31) +/* 8035A2BC 0035721C 38 00 00 01 */ li r0, 1 +/* 8035A2C0 00357220 3C 60 80 3F */ lis r3, __vt__15CMemoryInStream@ha +/* 8035A2C4 00357224 38 A0 00 00 */ li r5, 0 +/* 8035A2C8 00357228 90 1F 00 04 */ stw r0, 4(r31) +/* 8035A2CC 0035722C 38 03 E3 98 */ addi r0, r3, __vt__15CMemoryInStream@l +/* 8035A2D0 00357230 38 61 00 08 */ addi r3, r1, 8 +/* 8035A2D4 00357234 38 80 00 00 */ li r4, 0 +/* 8035A2D8 00357238 B3 9F 00 08 */ sth r28, 8(r31) +/* 8035A2DC 0035723C B3 BF 00 0A */ sth r29, 0xa(r31) +/* 8035A2E0 00357240 B0 BF 00 0C */ sth r5, 0xc(r31) +/* 8035A2E4 00357244 9B DF 00 0E */ stb r30, 0xe(r31) +/* 8035A2E8 00357248 90 01 00 08 */ stw r0, 8(r1) +/* 8035A2EC 0035724C 4B FE 4D C1 */ bl __dt__12CInputStreamFv +/* 8035A2F0 00357250 48 00 00 3C */ b lbl_8035A32C +lbl_8035A2F4: +/* 8035A2F4 00357254 38 A0 00 00 */ li r5, 0 +/* 8035A2F8 00357258 3C 60 80 3F */ lis r3, __vt__15CMemoryInStream@ha +/* 8035A2FC 0035725C 90 BF 00 00 */ stw r5, 0(r31) +/* 8035A300 00357260 38 80 FF FF */ li r4, -1 +/* 8035A304 00357264 38 03 E3 98 */ addi r0, r3, __vt__15CMemoryInStream@l +/* 8035A308 00357268 38 61 00 08 */ addi r3, r1, 8 +/* 8035A30C 0035726C 90 9F 00 04 */ stw r4, 4(r31) +/* 8035A310 00357270 38 80 00 00 */ li r4, 0 +/* 8035A314 00357274 B0 BF 00 08 */ sth r5, 8(r31) +/* 8035A318 00357278 B0 BF 00 0A */ sth r5, 0xa(r31) +/* 8035A31C 0035727C B0 BF 00 0C */ sth r5, 0xc(r31) +/* 8035A320 00357280 98 BF 00 0E */ stb r5, 0xe(r31) +/* 8035A324 00357284 90 01 00 08 */ stw r0, 8(r1) +/* 8035A328 00357288 4B FE 4D 85 */ bl __dt__12CInputStreamFv +lbl_8035A32C: +/* 8035A32C 0035728C 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8035A330 00357290 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 8035A334 00357294 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 8035A338 00357298 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 8035A33C 0035729C 83 81 00 30 */ lwz r28, 0x30(r1) +/* 8035A340 003572A0 7C 08 03 A6 */ mtlr r0 +/* 8035A344 003572A4 38 21 00 40 */ addi r1, r1, 0x40 +/* 8035A348 003572A8 4E 80 00 20 */ blr + +.global sub_8035a34c +sub_8035a34c: +/* 8035A34C 003572AC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8035A350 003572B0 7C 08 02 A6 */ mflr r0 +/* 8035A354 003572B4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8035A358 003572B8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8035A35C 003572BC 7C 7F 1B 78 */ mr r31, r3 +/* 8035A360 003572C0 48 00 00 65 */ bl sub_8035a3c4 +/* 8035A364 003572C4 80 7F 00 48 */ lwz r3, 0x48(r31) +/* 8035A368 003572C8 80 1F 00 44 */ lwz r0, 0x44(r31) +/* 8035A36C 003572CC 7C 63 00 50 */ subf r3, r3, r0 +/* 8035A370 003572D0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8035A374 003572D4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8035A378 003572D8 7C 08 03 A6 */ mtlr r0 +/* 8035A37C 003572DC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8035A380 003572E0 4E 80 00 20 */ blr + +.global GetOutStream__17CTextRenderBufferFv +GetOutStream__17CTextRenderBufferFv: +/* 8035A384 003572E4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8035A388 003572E8 7C 08 02 A6 */ mflr r0 +/* 8035A38C 003572EC 90 01 00 14 */ stw r0, 0x14(r1) +/* 8035A390 003572F0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8035A394 003572F4 7C 7F 1B 78 */ mr r31, r3 +/* 8035A398 003572F8 48 00 00 2D */ bl sub_8035a3c4 +/* 8035A39C 003572FC 80 7F 00 40 */ lwz r3, 0x40(r31) +/* 8035A3A0 00357300 80 1F 00 48 */ lwz r0, 0x48(r31) +/* 8035A3A4 00357304 7C 63 02 14 */ add r3, r3, r0 +/* 8035A3A8 00357308 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8035A3AC 0035730C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8035A3B0 00357310 7C 08 03 A6 */ mtlr r0 +/* 8035A3B4 00357314 38 21 00 10 */ addi r1, r1, 0x10 +/* 8035A3B8 00357318 4E 80 00 20 */ blr + +.global SetMode__17CTextRenderBufferFQ217CTextRenderBuffer5EMode +SetMode__17CTextRenderBufferFQ217CTextRenderBuffer5EMode: +/* 8035A3BC 0035731C 90 83 00 00 */ stw r4, 0(r3) +/* 8035A3C0 00357320 4E 80 00 20 */ blr + +.global sub_8035a3c4 +sub_8035a3c4: +/* 8035A3C4 00357324 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8035A3C8 00357328 7C 08 02 A6 */ mflr r0 +/* 8035A3CC 0035732C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8035A3D0 00357330 80 03 00 38 */ lwz r0, 0x38(r3) +/* 8035A3D4 00357334 2C 00 00 00 */ cmpwi r0, 0 +/* 8035A3D8 00357338 40 82 00 14 */ bne lbl_8035A3EC +/* 8035A3DC 0035733C 80 83 00 44 */ lwz r4, 0x44(r3) +/* 8035A3E0 00357340 38 63 00 34 */ addi r3, r3, 0x34 +/* 8035A3E4 00357344 38 AD 9E 20 */ addi r5, r13, lbl_805A89E0@sda21 +/* 8035A3E8 00357348 48 00 00 15 */ bl VerifyBuffer__17CTextRenderBufferFv +lbl_8035A3EC: +/* 8035A3EC 0035734C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8035A3F0 00357350 7C 08 03 A6 */ mtlr r0 +/* 8035A3F4 00357354 38 21 00 10 */ addi r1, r1, 0x10 +/* 8035A3F8 00357358 4E 80 00 20 */ blr + +.global VerifyBuffer__17CTextRenderBufferFv +VerifyBuffer__17CTextRenderBufferFv: +/* 8035A3FC 0035735C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8035A400 00357360 7C 08 02 A6 */ mflr r0 +/* 8035A404 00357364 90 01 00 34 */ stw r0, 0x34(r1) +/* 8035A408 00357368 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8035A40C 0035736C 7C BF 2B 78 */ mr r31, r5 +/* 8035A410 00357370 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8035A414 00357374 7C 9E 23 78 */ mr r30, r4 +/* 8035A418 00357378 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8035A41C 0035737C 7C 7D 1B 78 */ mr r29, r3 +/* 8035A420 00357380 80 03 00 04 */ lwz r0, 4(r3) +/* 8035A424 00357384 7C 00 F0 00 */ cmpw r0, r30 +/* 8035A428 00357388 41 82 00 78 */ beq lbl_8035A4A0 +/* 8035A42C 0035738C 7C 1E 00 00 */ cmpw r30, r0 +/* 8035A430 00357390 40 81 00 3C */ ble lbl_8035A46C +/* 8035A434 00357394 4B F6 FF C9 */ bl "reserve__Q24rstl37vectorFi" +/* 8035A438 00357398 80 7D 00 04 */ lwz r3, 4(r29) +/* 8035A43C 0035739C 80 1D 00 0C */ lwz r0, 0xc(r29) +/* 8035A440 003573A0 7C 83 F0 51 */ subf. r4, r3, r30 +/* 8035A444 003573A4 7C 60 1A 14 */ add r3, r0, r3 +/* 8035A448 003573A8 7C 89 03 A6 */ mtctr r4 +/* 8035A44C 003573AC 40 81 00 50 */ ble lbl_8035A49C +lbl_8035A450: +/* 8035A450 003573B0 28 03 00 00 */ cmplwi r3, 0 +/* 8035A454 003573B4 41 82 00 0C */ beq lbl_8035A460 +/* 8035A458 003573B8 88 1F 00 00 */ lbz r0, 0(r31) +/* 8035A45C 003573BC 98 03 00 00 */ stb r0, 0(r3) +lbl_8035A460: +/* 8035A460 003573C0 38 63 00 01 */ addi r3, r3, 1 +/* 8035A464 003573C4 42 00 FF EC */ bdnz lbl_8035A450 +/* 8035A468 003573C8 48 00 00 34 */ b lbl_8035A49C +lbl_8035A46C: +/* 8035A46C 003573CC 80 9D 00 0C */ lwz r4, 0xc(r29) +/* 8035A470 003573D0 7C 64 02 14 */ add r3, r4, r0 +/* 8035A474 003573D4 7C 84 F2 14 */ add r4, r4, r30 +/* 8035A478 003573D8 7C 04 18 50 */ subf r0, r4, r3 +/* 8035A47C 003573DC 90 61 00 08 */ stw r3, 8(r1) +/* 8035A480 003573E0 90 61 00 0C */ stw r3, 0xc(r1) +/* 8035A484 003573E4 90 81 00 10 */ stw r4, 0x10(r1) +/* 8035A488 003573E8 90 81 00 14 */ stw r4, 0x14(r1) +/* 8035A48C 003573EC 7C 09 03 A6 */ mtctr r0 +/* 8035A490 003573F0 7C 04 18 40 */ cmplw r4, r3 +/* 8035A494 003573F4 41 82 00 08 */ beq lbl_8035A49C +lbl_8035A498: +/* 8035A498 003573F8 42 00 00 00 */ bdnz lbl_8035A498 +lbl_8035A49C: +/* 8035A49C 003573FC 93 DD 00 04 */ stw r30, 4(r29) +lbl_8035A4A0: +/* 8035A4A0 00357400 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8035A4A4 00357404 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8035A4A8 00357408 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8035A4AC 0035740C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8035A4B0 00357410 7C 08 03 A6 */ mtlr r0 +/* 8035A4B4 00357414 38 21 00 30 */ addi r1, r1, 0x30 +/* 8035A4B8 00357418 4E 80 00 20 */ blr + +.global Render__17CTextRenderBufferCFRC6CColorf +Render__17CTextRenderBufferCFRC6CColorf: +/* 8035A4BC 0035741C 94 21 FE E0 */ stwu r1, -0x120(r1) +/* 8035A4C0 00357420 7C 08 02 A6 */ mflr r0 +/* 8035A4C4 00357424 90 01 01 24 */ stw r0, 0x124(r1) +/* 8035A4C8 00357428 DB E1 01 10 */ stfd f31, 0x110(r1) +/* 8035A4CC 0035742C F3 E1 01 18 */ psq_st f31, 280(r1), 0, qr0 +/* 8035A4D0 00357430 DB C1 01 00 */ stfd f30, 0x100(r1) +/* 8035A4D4 00357434 F3 C1 01 08 */ psq_st f30, 264(r1), 0, qr0 +/* 8035A4D8 00357438 DB A1 00 F0 */ stfd f29, 0xf0(r1) +/* 8035A4DC 0035743C F3 A1 00 F8 */ psq_st f29, 248(r1), 0, qr0 +/* 8035A4E0 00357440 BE E1 00 CC */ stmw r23, 0xcc(r1) +/* 8035A4E4 00357444 7C 78 1B 78 */ mr r24, r3 +/* 8035A4E8 00357448 38 00 FF FF */ li r0, -1 +/* 8035A4EC 0035744C 98 03 00 4C */ stb r0, 0x4c(r3) +/* 8035A4F0 00357450 FF E0 08 90 */ fmr f31, f1 +/* 8035A4F4 00357454 7C 99 23 78 */ mr r25, r4 +/* 8035A4F8 00357458 38 61 00 40 */ addi r3, r1, 0x40 +/* 8035A4FC 0035745C 98 18 00 4D */ stb r0, 0x4d(r24) +/* 8035A500 00357460 38 C0 00 01 */ li r6, 1 +/* 8035A504 00357464 80 98 00 40 */ lwz r4, 0x40(r24) +/* 8035A508 00357468 80 B8 00 44 */ lwz r5, 0x44(r24) +/* 8035A50C 0035746C 4B FE 4D 01 */ bl __ct__15CMemoryInStreamFPvUlQ215CMemoryInStream10EOwnerShip +/* 8035A510 00357470 3B 78 00 54 */ addi r27, r24, 0x54 +/* 8035A514 00357474 48 00 06 60 */ b lbl_8035AB74 +lbl_8035A518: +/* 8035A518 00357478 38 61 00 40 */ addi r3, r1, 0x40 +/* 8035A51C 0035747C 4B FE 47 F1 */ bl ReadChar__12CInputStreamFv +/* 8035A520 00357480 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 8035A524 00357484 2C 00 00 02 */ cmpwi r0, 2 +/* 8035A528 00357488 41 82 06 28 */ beq lbl_8035AB50 +/* 8035A52C 0035748C 40 80 00 14 */ bge lbl_8035A540 +/* 8035A530 00357490 2C 00 00 00 */ cmpwi r0, 0 +/* 8035A534 00357494 41 82 00 18 */ beq lbl_8035A54C +/* 8035A538 00357498 40 80 02 AC */ bge lbl_8035A7E4 +/* 8035A53C 0035749C 48 00 06 38 */ b lbl_8035AB74 +lbl_8035A540: +/* 8035A540 003574A0 2C 00 00 04 */ cmpwi r0, 4 +/* 8035A544 003574A4 40 80 06 30 */ bge lbl_8035AB74 +/* 8035A548 003574A8 48 00 06 1C */ b lbl_8035AB64 +lbl_8035A54C: +/* 8035A54C 003574AC 88 18 00 4E */ lbz r0, 0x4e(r24) +/* 8035A550 003574B0 7C 00 07 74 */ extsb r0, r0 +/* 8035A554 003574B4 2C 00 FF FF */ cmpwi r0, -1 +/* 8035A558 003574B8 41 82 00 4C */ beq lbl_8035A5A4 +/* 8035A55C 003574BC 80 98 00 10 */ lwz r4, 0x10(r24) +/* 8035A560 003574C0 54 00 18 38 */ slwi r0, r0, 3 +/* 8035A564 003574C4 38 61 00 38 */ addi r3, r1, 0x38 +/* 8035A568 003574C8 7C 84 02 14 */ add r4, r4, r0 +/* 8035A56C 003574CC 4B FE 69 3D */ bl __ct__6CTokenFRC6CToken +/* 8035A570 003574D0 80 61 00 38 */ lwz r3, 0x38(r1) +/* 8035A574 003574D4 80 03 00 10 */ lwz r0, 0x10(r3) +/* 8035A578 003574D8 28 00 00 00 */ cmplwi r0, 0 +/* 8035A57C 003574DC 41 82 00 1C */ beq lbl_8035A598 +/* 8035A580 003574E0 38 61 00 38 */ addi r3, r1, 0x38 +/* 8035A584 003574E4 4B FE 68 89 */ bl GetObj__6CTokenFv +/* 8035A588 003574E8 80 63 00 04 */ lwz r3, 4(r3) +/* 8035A58C 003574EC 4B FA 59 E1 */ bl SetupRenderState__11CRasterFontFv +/* 8035A590 003574F0 38 00 FF FF */ li r0, -1 +/* 8035A594 003574F4 98 18 00 4E */ stb r0, 0x4e(r24) +lbl_8035A598: +/* 8035A598 003574F8 38 61 00 38 */ addi r3, r1, 0x38 +/* 8035A59C 003574FC 38 80 00 00 */ li r4, 0 +/* 8035A5A0 00357500 4B FE 68 A1 */ bl __dt__6CTokenFv +lbl_8035A5A4: +/* 8035A5A4 00357504 88 18 00 4F */ lbz r0, 0x4f(r24) +/* 8035A5A8 00357508 7C 00 07 74 */ extsb r0, r0 +/* 8035A5AC 0035750C 2C 00 FF FF */ cmpwi r0, -1 +/* 8035A5B0 00357510 41 82 00 1C */ beq lbl_8035A5CC +/* 8035A5B4 00357514 54 03 18 38 */ slwi r3, r0, 3 +/* 8035A5B8 00357518 38 03 00 04 */ addi r0, r3, 4 +/* 8035A5BC 0035751C 7C 7B 00 2E */ lwzx r3, r27, r0 +/* 8035A5C0 00357520 4B FB 39 05 */ bl Load__16CGraphicsPaletteCFv +/* 8035A5C4 00357524 38 00 FF FF */ li r0, -1 +/* 8035A5C8 00357528 98 18 00 4F */ stb r0, 0x4f(r24) +lbl_8035A5CC: +/* 8035A5CC 0035752C 38 61 00 40 */ addi r3, r1, 0x40 +/* 8035A5D0 00357530 4B FE 46 E1 */ bl ReadShort__12CInputStreamFv +/* 8035A5D4 00357534 7C 7E 07 34 */ extsh r30, r3 +/* 8035A5D8 00357538 38 61 00 40 */ addi r3, r1, 0x40 +/* 8035A5DC 0035753C 4B FE 46 D5 */ bl ReadShort__12CInputStreamFv +/* 8035A5E0 00357540 7C 7D 07 34 */ extsh r29, r3 +/* 8035A5E4 00357544 38 61 00 40 */ addi r3, r1, 0x40 +/* 8035A5E8 00357548 4B FE 46 C9 */ bl ReadShort__12CInputStreamFv +/* 8035A5EC 0035754C 7C 77 07 34 */ extsh r23, r3 +/* 8035A5F0 00357550 38 61 00 40 */ addi r3, r1, 0x40 +/* 8035A5F4 00357554 4B FE 46 91 */ bl ReadLong__12CInputStreamFv +/* 8035A5F8 00357558 88 18 00 4C */ lbz r0, 0x4c(r24) +/* 8035A5FC 0035755C 7C 7A 1B 78 */ mr r26, r3 +/* 8035A600 00357560 7C 00 07 74 */ extsb r0, r0 +/* 8035A604 00357564 2C 00 FF FF */ cmpwi r0, -1 +/* 8035A608 00357568 41 82 05 6C */ beq lbl_8035AB74 +/* 8035A60C 0035756C 80 98 00 10 */ lwz r4, 0x10(r24) +/* 8035A610 00357570 54 00 18 38 */ slwi r0, r0, 3 +/* 8035A614 00357574 38 61 00 30 */ addi r3, r1, 0x30 +/* 8035A618 00357578 7C 84 02 14 */ add r4, r4, r0 +/* 8035A61C 0035757C 4B FE 68 8D */ bl __ct__6CTokenFRC6CToken +/* 8035A620 00357580 80 61 00 30 */ lwz r3, 0x30(r1) +/* 8035A624 00357584 80 03 00 10 */ lwz r0, 0x10(r3) +/* 8035A628 00357588 28 00 00 00 */ cmplwi r0, 0 +/* 8035A62C 0035758C 41 82 01 A8 */ beq lbl_8035A7D4 +/* 8035A630 00357590 38 61 00 30 */ addi r3, r1, 0x30 +/* 8035A634 00357594 4B FE 67 D9 */ bl GetObj__6CTokenFv +/* 8035A638 00357598 56 F7 04 3E */ clrlwi r23, r23, 0x10 +/* 8035A63C 0035759C 80 63 00 04 */ lwz r3, 4(r3) +/* 8035A640 003575A0 7E E4 BB 78 */ mr r4, r23 +/* 8035A644 003575A4 4B FA 60 55 */ bl GetGlyph__11CRasterFontCFw +/* 8035A648 003575A8 28 03 00 00 */ cmplwi r3, 0 +/* 8035A64C 003575AC 41 82 01 88 */ beq lbl_8035A7D4 +/* 8035A650 003575B0 38 61 00 30 */ addi r3, r1, 0x30 +/* 8035A654 003575B4 4B FE 67 B9 */ bl GetObj__6CTokenFv +/* 8035A658 003575B8 80 63 00 04 */ lwz r3, 4(r3) +/* 8035A65C 003575BC 7E E4 BB 78 */ mr r4, r23 +/* 8035A660 003575C0 4B FA 60 39 */ bl GetGlyph__11CRasterFontCFw +/* 8035A664 003575C4 93 41 00 10 */ stw r26, 0x10(r1) +/* 8035A668 003575C8 7C 7F 1B 78 */ mr r31, r3 +/* 8035A66C 003575CC 7F 25 CB 78 */ mr r5, r25 +/* 8035A670 003575D0 38 61 00 14 */ addi r3, r1, 0x14 +/* 8035A674 003575D4 38 81 00 10 */ addi r4, r1, 0x10 +/* 8035A678 003575D8 48 00 8B 01 */ bl Modulate__6CColorFRC6CColorRC6CColor +/* 8035A67C 003575DC 38 81 00 14 */ addi r4, r1, 0x14 +/* 8035A680 003575E0 38 60 00 00 */ li r3, 0 +/* 8035A684 003575E4 4B FA E5 C1 */ bl SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor +/* 8035A688 003575E8 38 60 00 98 */ li r3, 0x98 +/* 8035A68C 003575EC 38 80 00 00 */ li r4, 0 +/* 8035A690 003575F0 38 A0 00 04 */ li r5, 4 +/* 8035A694 003575F4 4B FA DE F1 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 8035A698 003575F8 3C A0 43 30 */ lis r5, 0x4330 +/* 8035A69C 003575FC 6F C6 80 00 */ xoris r6, r30, 0x8000 +/* 8035A6A0 00357600 90 C1 00 6C */ stw r6, 0x6c(r1) +/* 8035A6A4 00357604 6F A3 80 00 */ xoris r3, r29, 0x8000 +/* 8035A6A8 00357608 C8 82 CD 00 */ lfd f4, lbl_805AEA20@sda21(r2) +/* 8035A6AC 0035760C 3C 80 CC 01 */ lis r4, 0xCC008000@ha +/* 8035A6B0 00357610 90 A1 00 68 */ stw r5, 0x68(r1) +/* 8035A6B4 00357614 C0 62 CD 08 */ lfs f3, lbl_805AEA28@sda21(r2) +/* 8035A6B8 00357618 C8 01 00 68 */ lfd f0, 0x68(r1) +/* 8035A6BC 0035761C 90 61 00 74 */ stw r3, 0x74(r1) +/* 8035A6C0 00357620 EC 20 20 28 */ fsubs f1, f0, f4 +/* 8035A6C4 00357624 90 A1 00 70 */ stw r5, 0x70(r1) +/* 8035A6C8 00357628 C8 01 00 70 */ lfd f0, 0x70(r1) +/* 8035A6CC 0035762C D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8035A6D0 00357630 EC 00 20 28 */ fsubs f0, f0, f4 +/* 8035A6D4 00357634 D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) +/* 8035A6D8 00357638 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8035A6DC 0035763C C0 3F 00 0C */ lfs f1, 0xc(r31) +/* 8035A6E0 00357640 C0 1F 00 08 */ lfs f0, 8(r31) +/* 8035A6E4 00357644 90 A1 00 78 */ stw r5, 0x78(r1) +/* 8035A6E8 00357648 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8035A6EC 0035764C D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8035A6F0 00357650 A8 1F 00 18 */ lha r0, 0x18(r31) +/* 8035A6F4 00357654 90 61 00 84 */ stw r3, 0x84(r1) +/* 8035A6F8 00357658 7C 1E 02 14 */ add r0, r30, r0 +/* 8035A6FC 0035765C 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8035A700 00357660 90 A1 00 80 */ stw r5, 0x80(r1) +/* 8035A704 00357664 90 01 00 7C */ stw r0, 0x7c(r1) +/* 8035A708 00357668 C8 01 00 80 */ lfd f0, 0x80(r1) +/* 8035A70C 0035766C C8 41 00 78 */ lfd f2, 0x78(r1) +/* 8035A710 00357670 EC 20 20 28 */ fsubs f1, f0, f4 +/* 8035A714 00357674 90 C1 00 94 */ stw r6, 0x94(r1) +/* 8035A718 00357678 EC 02 20 28 */ fsubs f0, f2, f4 +/* 8035A71C 0035767C 90 A1 00 90 */ stw r5, 0x90(r1) +/* 8035A720 00357680 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8035A724 00357684 C8 01 00 90 */ lfd f0, 0x90(r1) +/* 8035A728 00357688 D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) +/* 8035A72C 0035768C EC 00 20 28 */ fsubs f0, f0, f4 +/* 8035A730 00357690 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8035A734 00357694 C0 5F 00 0C */ lfs f2, 0xc(r31) +/* 8035A738 00357698 C0 3F 00 10 */ lfs f1, 0x10(r31) +/* 8035A73C 0035769C 90 A1 00 88 */ stw r5, 0x88(r1) +/* 8035A740 003576A0 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8035A744 003576A4 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) +/* 8035A748 003576A8 A8 1F 00 1A */ lha r0, 0x1a(r31) +/* 8035A74C 003576AC 90 A1 00 A0 */ stw r5, 0xa0(r1) +/* 8035A750 003576B0 7C 1D 02 14 */ add r0, r29, r0 +/* 8035A754 003576B4 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8035A758 003576B8 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8035A75C 003576BC 90 01 00 8C */ stw r0, 0x8c(r1) +/* 8035A760 003576C0 C8 01 00 88 */ lfd f0, 0x88(r1) +/* 8035A764 003576C4 D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) +/* 8035A768 003576C8 EC 00 20 28 */ fsubs f0, f0, f4 +/* 8035A76C 003576CC 90 A1 00 98 */ stw r5, 0x98(r1) +/* 8035A770 003576D0 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8035A774 003576D4 C0 3F 00 14 */ lfs f1, 0x14(r31) +/* 8035A778 003576D8 C0 1F 00 08 */ lfs f0, 8(r31) +/* 8035A77C 003576DC D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8035A780 003576E0 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8035A784 003576E4 A8 1F 00 18 */ lha r0, 0x18(r31) +/* 8035A788 003576E8 A8 7F 00 1A */ lha r3, 0x1a(r31) +/* 8035A78C 003576EC 7C 1E 02 14 */ add r0, r30, r0 +/* 8035A790 003576F0 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8035A794 003576F4 7C 7D 1A 14 */ add r3, r29, r3 +/* 8035A798 003576F8 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 8035A79C 003576FC 6C 60 80 00 */ xoris r0, r3, 0x8000 +/* 8035A7A0 00357700 C8 01 00 A0 */ lfd f0, 0xa0(r1) +/* 8035A7A4 00357704 90 01 00 9C */ stw r0, 0x9c(r1) +/* 8035A7A8 00357708 EC 00 20 28 */ fsubs f0, f0, f4 +/* 8035A7AC 0035770C C8 21 00 98 */ lfd f1, 0x98(r1) +/* 8035A7B0 00357710 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8035A7B4 00357714 EC 01 20 28 */ fsubs f0, f1, f4 +/* 8035A7B8 00357718 D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) +/* 8035A7BC 0035771C D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8035A7C0 00357720 C0 3F 00 14 */ lfs f1, 0x14(r31) +/* 8035A7C4 00357724 C0 1F 00 10 */ lfs f0, 0x10(r31) +/* 8035A7C8 00357728 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) +/* 8035A7CC 0035772C D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) +/* 8035A7D0 00357730 4B FA DD B1 */ bl End__3CGXFv +lbl_8035A7D4: +/* 8035A7D4 00357734 38 61 00 30 */ addi r3, r1, 0x30 +/* 8035A7D8 00357738 38 80 00 00 */ li r4, 0 +/* 8035A7DC 0035773C 4B FE 66 65 */ bl __dt__6CTokenFv +/* 8035A7E0 00357740 48 00 03 94 */ b lbl_8035AB74 +lbl_8035A7E4: +/* 8035A7E4 00357744 38 61 00 40 */ addi r3, r1, 0x40 +/* 8035A7E8 00357748 4B FE 44 C9 */ bl ReadShort__12CInputStreamFv +/* 8035A7EC 0035774C 7C 7D 07 34 */ extsh r29, r3 +/* 8035A7F0 00357750 38 61 00 40 */ addi r3, r1, 0x40 +/* 8035A7F4 00357754 4B FE 44 BD */ bl ReadShort__12CInputStreamFv +/* 8035A7F8 00357758 7C 7E 07 34 */ extsh r30, r3 +/* 8035A7FC 0035775C 38 61 00 40 */ addi r3, r1, 0x40 +/* 8035A800 00357760 4B FE 45 0D */ bl ReadChar__12CInputStreamFv +/* 8035A804 00357764 7C 77 07 74 */ extsb r23, r3 +/* 8035A808 00357768 38 61 00 40 */ addi r3, r1, 0x40 +/* 8035A80C 0035776C 4B FE 44 79 */ bl ReadLong__12CInputStreamFv +/* 8035A810 00357770 1C 17 00 1C */ mulli r0, r23, 0x1c +/* 8035A814 00357774 80 98 00 20 */ lwz r4, 0x20(r24) +/* 8035A818 00357778 7C 7F 1B 78 */ mr r31, r3 +/* 8035A81C 0035777C 38 61 00 28 */ addi r3, r1, 0x28 +/* 8035A820 00357780 7F 84 02 14 */ add r28, r4, r0 +/* 8035A824 00357784 C0 1C 00 00 */ lfs f0, 0(r28) +/* 8035A828 00357788 80 9C 00 08 */ lwz r4, 8(r28) +/* 8035A82C 0035778C EC 1F 00 32 */ fmuls f0, f31, f0 +/* 8035A830 00357790 80 DC 00 10 */ lwz r6, 0x10(r28) +/* 8035A834 00357794 FC 00 00 1E */ fctiwz f0, f0 +/* 8035A838 00357798 D8 01 00 A0 */ stfd f0, 0xa0(r1) +/* 8035A83C 0035779C 80 A1 00 A4 */ lwz r5, 0xa4(r1) +/* 8035A840 003577A0 7C 05 23 D6 */ divw r0, r5, r4 +/* 8035A844 003577A4 7C 00 21 D6 */ mullw r0, r0, r4 +/* 8035A848 003577A8 7C 00 28 50 */ subf r0, r0, r5 +/* 8035A84C 003577AC 54 00 18 38 */ slwi r0, r0, 3 +/* 8035A850 003577B0 7C 86 02 14 */ add r4, r6, r0 +/* 8035A854 003577B4 4B FE 66 55 */ bl __ct__6CTokenFRC6CToken +/* 8035A858 003577B8 80 61 00 28 */ lwz r3, 0x28(r1) +/* 8035A85C 003577BC 80 03 00 10 */ lwz r0, 0x10(r3) +/* 8035A860 003577C0 28 00 00 00 */ cmplwi r0, 0 +/* 8035A864 003577C4 41 82 02 DC */ beq lbl_8035AB40 +/* 8035A868 003577C8 38 61 00 28 */ addi r3, r1, 0x28 +/* 8035A86C 003577CC 4B FE 65 A1 */ bl GetObj__6CTokenFv +/* 8035A870 003577D0 80 63 00 04 */ lwz r3, 4(r3) +/* 8035A874 003577D4 38 80 00 00 */ li r4, 0 +/* 8035A878 003577D8 38 A0 00 00 */ li r5, 0 +/* 8035A87C 003577DC 4B FB 4E C1 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode +/* 8035A880 003577E0 80 9C 00 10 */ lwz r4, 0x10(r28) +/* 8035A884 003577E4 38 61 00 20 */ addi r3, r1, 0x20 +/* 8035A888 003577E8 4B FE 66 21 */ bl __ct__6CTokenFRC6CToken +/* 8035A88C 003577EC 38 61 00 20 */ addi r3, r1, 0x20 +/* 8035A890 003577F0 4B FE 65 7D */ bl GetObj__6CTokenFv +/* 8035A894 003577F4 80 83 00 04 */ lwz r4, 4(r3) +/* 8035A898 003577F8 3C 00 43 30 */ lis r0, 0x4330 +/* 8035A89C 003577FC 90 01 00 A0 */ stw r0, 0xa0(r1) +/* 8035A8A0 00357800 38 61 00 20 */ addi r3, r1, 0x20 +/* 8035A8A4 00357804 A8 04 00 04 */ lha r0, 4(r4) +/* 8035A8A8 00357808 38 80 00 00 */ li r4, 0 +/* 8035A8AC 0035780C C8 42 CD 00 */ lfd f2, lbl_805AEA20@sda21(r2) +/* 8035A8B0 00357810 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8035A8B4 00357814 C0 1C 00 14 */ lfs f0, 0x14(r28) +/* 8035A8B8 00357818 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 8035A8BC 0035781C C8 21 00 A0 */ lfd f1, 0xa0(r1) +/* 8035A8C0 00357820 EC 21 10 28 */ fsubs f1, f1, f2 +/* 8035A8C4 00357824 EC 01 00 32 */ fmuls f0, f1, f0 +/* 8035A8C8 00357828 FC 00 00 1E */ fctiwz f0, f0 +/* 8035A8CC 0035782C D8 01 00 98 */ stfd f0, 0x98(r1) +/* 8035A8D0 00357830 83 41 00 9C */ lwz r26, 0x9c(r1) +/* 8035A8D4 00357834 4B FE 65 6D */ bl __dt__6CTokenFv +/* 8035A8D8 00357838 80 9C 00 10 */ lwz r4, 0x10(r28) +/* 8035A8DC 0035783C 7F 5A 07 34 */ extsh r26, r26 +/* 8035A8E0 00357840 38 61 00 18 */ addi r3, r1, 0x18 +/* 8035A8E4 00357844 4B FE 65 C5 */ bl __ct__6CTokenFRC6CToken +/* 8035A8E8 00357848 38 61 00 18 */ addi r3, r1, 0x18 +/* 8035A8EC 0035784C 4B FE 65 21 */ bl GetObj__6CTokenFv +/* 8035A8F0 00357850 80 83 00 04 */ lwz r4, 4(r3) +/* 8035A8F4 00357854 3C 00 43 30 */ lis r0, 0x4330 +/* 8035A8F8 00357858 90 01 00 90 */ stw r0, 0x90(r1) +/* 8035A8FC 0035785C 38 61 00 18 */ addi r3, r1, 0x18 +/* 8035A900 00357860 A8 04 00 06 */ lha r0, 6(r4) +/* 8035A904 00357864 38 80 00 00 */ li r4, 0 +/* 8035A908 00357868 C8 42 CD 00 */ lfd f2, lbl_805AEA20@sda21(r2) +/* 8035A90C 0035786C 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8035A910 00357870 C0 1C 00 18 */ lfs f0, 0x18(r28) +/* 8035A914 00357874 90 01 00 94 */ stw r0, 0x94(r1) +/* 8035A918 00357878 C8 21 00 90 */ lfd f1, 0x90(r1) +/* 8035A91C 0035787C EC 21 10 28 */ fsubs f1, f1, f2 +/* 8035A920 00357880 EC 01 00 32 */ fmuls f0, f1, f0 +/* 8035A924 00357884 FC 00 00 1E */ fctiwz f0, f0 +/* 8035A928 00357888 D8 01 00 88 */ stfd f0, 0x88(r1) +/* 8035A92C 0035788C 82 E1 00 8C */ lwz r23, 0x8c(r1) +/* 8035A930 00357890 4B FE 65 11 */ bl __dt__6CTokenFv +/* 8035A934 00357894 C0 5C 00 14 */ lfs f2, 0x14(r28) +/* 8035A938 00357898 38 60 00 00 */ li r3, 0 +/* 8035A93C 0035789C C0 22 CD 0C */ lfs f1, lbl_805AEA2C@sda21(r2) +/* 8035A940 003578A0 38 80 00 1C */ li r4, 0x1c +/* 8035A944 003578A4 C0 1C 00 18 */ lfs f0, 0x18(r28) +/* 8035A948 003578A8 EF C2 00 72 */ fmuls f30, f2, f1 +/* 8035A94C 003578AC EF A0 00 72 */ fmuls f29, f0, f1 +/* 8035A950 003578B0 4B FA E0 4D */ bl SetTevKAlphaSel__3CGXF13_GXTevStageID15_GXTevKAlphaSel +/* 8035A954 003578B4 38 60 00 00 */ li r3, 0 +/* 8035A958 003578B8 38 80 00 0C */ li r4, 0xc +/* 8035A95C 003578BC 4B FA E0 85 */ bl SetTevKColorSel__3CGXF13_GXTevStageID15_GXTevKColorSel +/* 8035A960 003578C0 38 60 00 00 */ li r3, 0 +/* 8035A964 003578C4 38 80 00 0F */ li r4, 0xf +/* 8035A968 003578C8 38 A0 00 08 */ li r5, 8 +/* 8035A96C 003578CC 38 C0 00 0E */ li r6, 0xe +/* 8035A970 003578D0 38 E0 00 0F */ li r7, 0xf +/* 8035A974 003578D4 4B FA E2 79 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg +/* 8035A978 003578D8 38 60 00 00 */ li r3, 0 +/* 8035A97C 003578DC 38 80 00 07 */ li r4, 7 +/* 8035A980 003578E0 38 A0 00 04 */ li r5, 4 +/* 8035A984 003578E4 38 C0 00 06 */ li r6, 6 +/* 8035A988 003578E8 38 E0 00 07 */ li r7, 7 +/* 8035A98C 003578EC 4B FA E2 09 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg +/* 8035A990 003578F0 38 60 00 00 */ li r3, 0 +/* 8035A994 003578F4 4B FA D2 BD */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID +/* 8035A998 003578F8 3C 60 80 3E */ lis r3, lbl_803D8350@ha +/* 8035A99C 003578FC 38 63 83 50 */ addi r3, r3, lbl_803D8350@l +/* 8035A9A0 00357900 4B FA D4 89 */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList +/* 8035A9A4 00357904 38 60 00 00 */ li r3, 0 +/* 8035A9A8 00357908 4B FA E4 A9 */ bl SetNumChans__3CGXFUc +/* 8035A9AC 0035790C 38 60 00 01 */ li r3, 1 +/* 8035A9B0 00357910 4B FA E4 65 */ bl SetNumTexGens__3CGXFUc +/* 8035A9B4 00357914 38 60 00 01 */ li r3, 1 +/* 8035A9B8 00357918 4B FA E2 D9 */ bl SetNumTevStages__3CGXFUc +/* 8035A9BC 0035791C 38 60 00 00 */ li r3, 0 +/* 8035A9C0 00357920 38 80 00 00 */ li r4, 0 +/* 8035A9C4 00357924 38 A0 00 00 */ li r5, 0 +/* 8035A9C8 00357928 38 C0 00 FF */ li r6, 0xff +/* 8035A9CC 0035792C 4B FA DF 81 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 8035A9D0 00357930 38 60 00 00 */ li r3, 0 +/* 8035A9D4 00357934 38 80 00 01 */ li r4, 1 +/* 8035A9D8 00357938 38 A0 00 04 */ li r5, 4 +/* 8035A9DC 0035793C 38 C0 00 3C */ li r6, 0x3c +/* 8035A9E0 00357940 38 E0 00 00 */ li r7, 0 +/* 8035A9E4 00357944 39 00 00 7D */ li r8, 0x7d +/* 8035A9E8 00357948 4B FA DC E5 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 8035A9EC 0035794C 93 E1 00 08 */ stw r31, 8(r1) +/* 8035A9F0 00357950 7F 25 CB 78 */ mr r5, r25 +/* 8035A9F4 00357954 38 61 00 0C */ addi r3, r1, 0xc +/* 8035A9F8 00357958 38 81 00 08 */ addi r4, r1, 8 +/* 8035A9FC 0035795C 48 00 87 7D */ bl Modulate__6CColorFRC6CColorRC6CColor +/* 8035AA00 00357960 38 81 00 0C */ addi r4, r1, 0xc +/* 8035AA04 00357964 38 60 00 00 */ li r3, 0 +/* 8035AA08 00357968 4B FA E2 3D */ bl SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor +/* 8035AA0C 0035796C 38 60 00 98 */ li r3, 0x98 +/* 8035AA10 00357970 38 80 00 00 */ li r4, 0 +/* 8035AA14 00357974 38 A0 00 04 */ li r5, 4 +/* 8035AA18 00357978 4B FA DB 6D */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 8035AA1C 0035797C 3C C0 43 30 */ lis r6, 0x4330 +/* 8035AA20 00357980 6F A7 80 00 */ xoris r7, r29, 0x8000 +/* 8035AA24 00357984 90 E1 00 84 */ stw r7, 0x84(r1) +/* 8035AA28 00357988 6F C4 80 00 */ xoris r4, r30, 0x8000 +/* 8035AA2C 0035798C C0 02 CD 0C */ lfs f0, lbl_805AEA2C@sda21(r2) +/* 8035AA30 00357990 7C 1D D2 14 */ add r0, r29, r26 +/* 8035AA34 00357994 90 C1 00 80 */ stw r6, 0x80(r1) +/* 8035AA38 00357998 6C 03 80 00 */ xoris r3, r0, 0x8000 +/* 8035AA3C 0035799C C8 82 CD 00 */ lfd f4, lbl_805AEA20@sda21(r2) +/* 8035AA40 003579A0 7E E0 07 34 */ extsh r0, r23 +/* 8035AA44 003579A4 C8 21 00 80 */ lfd f1, 0x80(r1) +/* 8035AA48 003579A8 7C 1E 02 14 */ add r0, r30, r0 +/* 8035AA4C 003579AC 90 81 00 7C */ stw r4, 0x7c(r1) +/* 8035AA50 003579B0 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8035AA54 003579B4 EC 61 20 28 */ fsubs f3, f1, f4 +/* 8035AA58 003579B8 3C A0 CC 01 */ lis r5, 0xCC008000@ha +/* 8035AA5C 003579BC 90 C1 00 78 */ stw r6, 0x78(r1) +/* 8035AA60 003579C0 EC C0 F0 28 */ fsubs f6, f0, f30 +/* 8035AA64 003579C4 C0 42 CD 08 */ lfs f2, lbl_805AEA28@sda21(r2) +/* 8035AA68 003579C8 EC A0 E8 2A */ fadds f5, f0, f29 +/* 8035AA6C 003579CC C8 21 00 78 */ lfd f1, 0x78(r1) +/* 8035AA70 003579D0 EC E0 F0 2A */ fadds f7, f0, f30 +/* 8035AA74 003579D4 D0 65 80 00 */ stfs f3, 0xCC008000@l(r5) +/* 8035AA78 003579D8 EC 60 E8 28 */ fsubs f3, f0, f29 +/* 8035AA7C 003579DC EC 01 20 28 */ fsubs f0, f1, f4 +/* 8035AA80 003579E0 D0 45 80 00 */ stfs f2, 0xCC008000@l(r5) +/* 8035AA84 003579E4 D0 05 80 00 */ stfs f0, 0xCC008000@l(r5) +/* 8035AA88 003579E8 D0 C5 80 00 */ stfs f6, 0xCC008000@l(r5) +/* 8035AA8C 003579EC 90 61 00 74 */ stw r3, 0x74(r1) +/* 8035AA90 003579F0 90 C1 00 70 */ stw r6, 0x70(r1) +/* 8035AA94 003579F4 C8 01 00 70 */ lfd f0, 0x70(r1) +/* 8035AA98 003579F8 90 81 00 6C */ stw r4, 0x6c(r1) +/* 8035AA9C 003579FC EC 20 20 28 */ fsubs f1, f0, f4 +/* 8035AAA0 00357A00 90 C1 00 68 */ stw r6, 0x68(r1) +/* 8035AAA4 00357A04 D0 A5 80 00 */ stfs f5, 0xCC008000@l(r5) +/* 8035AAA8 00357A08 C8 01 00 68 */ lfd f0, 0x68(r1) +/* 8035AAAC 00357A0C D0 25 80 00 */ stfs f1, 0xCC008000@l(r5) +/* 8035AAB0 00357A10 EC 00 20 28 */ fsubs f0, f0, f4 +/* 8035AAB4 00357A14 D0 45 80 00 */ stfs f2, 0xCC008000@l(r5) +/* 8035AAB8 00357A18 D0 05 80 00 */ stfs f0, 0xCC008000@l(r5) +/* 8035AABC 00357A1C D0 E5 80 00 */ stfs f7, 0xCC008000@l(r5) +/* 8035AAC0 00357A20 90 E1 00 AC */ stw r7, 0xac(r1) +/* 8035AAC4 00357A24 90 C1 00 A8 */ stw r6, 0xa8(r1) +/* 8035AAC8 00357A28 C8 01 00 A8 */ lfd f0, 0xa8(r1) +/* 8035AACC 00357A2C 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 8035AAD0 00357A30 EC 20 20 28 */ fsubs f1, f0, f4 +/* 8035AAD4 00357A34 90 C1 00 B0 */ stw r6, 0xb0(r1) +/* 8035AAD8 00357A38 D0 A5 80 00 */ stfs f5, 0xCC008000@l(r5) +/* 8035AADC 00357A3C C8 01 00 B0 */ lfd f0, 0xb0(r1) +/* 8035AAE0 00357A40 D0 25 80 00 */ stfs f1, 0xCC008000@l(r5) +/* 8035AAE4 00357A44 EC 00 20 28 */ fsubs f0, f0, f4 +/* 8035AAE8 00357A48 D0 45 80 00 */ stfs f2, 0xCC008000@l(r5) +/* 8035AAEC 00357A4C D0 05 80 00 */ stfs f0, 0xCC008000@l(r5) +/* 8035AAF0 00357A50 D0 C5 80 00 */ stfs f6, 0xCC008000@l(r5) +/* 8035AAF4 00357A54 90 61 00 BC */ stw r3, 0xbc(r1) +/* 8035AAF8 00357A58 90 C1 00 B8 */ stw r6, 0xb8(r1) +/* 8035AAFC 00357A5C C8 01 00 B8 */ lfd f0, 0xb8(r1) +/* 8035AB00 00357A60 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 8035AB04 00357A64 EC 20 20 28 */ fsubs f1, f0, f4 +/* 8035AB08 00357A68 90 C1 00 C0 */ stw r6, 0xc0(r1) +/* 8035AB0C 00357A6C D0 65 80 00 */ stfs f3, 0xCC008000@l(r5) +/* 8035AB10 00357A70 C8 01 00 C0 */ lfd f0, 0xc0(r1) +/* 8035AB14 00357A74 D0 25 80 00 */ stfs f1, 0xCC008000@l(r5) +/* 8035AB18 00357A78 EC 00 20 28 */ fsubs f0, f0, f4 +/* 8035AB1C 00357A7C D0 45 80 00 */ stfs f2, 0xCC008000@l(r5) +/* 8035AB20 00357A80 D0 05 80 00 */ stfs f0, 0xCC008000@l(r5) +/* 8035AB24 00357A84 D0 E5 80 00 */ stfs f7, 0xCC008000@l(r5) +/* 8035AB28 00357A88 D0 65 80 00 */ stfs f3, 0xCC008000@l(r5) +/* 8035AB2C 00357A8C 4B FA DA 55 */ bl End__3CGXFv +/* 8035AB30 00357A90 88 18 00 4C */ lbz r0, 0x4c(r24) +/* 8035AB34 00357A94 98 18 00 4E */ stb r0, 0x4e(r24) +/* 8035AB38 00357A98 88 18 00 4D */ lbz r0, 0x4d(r24) +/* 8035AB3C 00357A9C 98 18 00 4F */ stb r0, 0x4f(r24) +lbl_8035AB40: +/* 8035AB40 00357AA0 38 61 00 28 */ addi r3, r1, 0x28 +/* 8035AB44 00357AA4 38 80 00 00 */ li r4, 0 +/* 8035AB48 00357AA8 4B FE 62 F9 */ bl __dt__6CTokenFv +/* 8035AB4C 00357AAC 48 00 00 28 */ b lbl_8035AB74 +lbl_8035AB50: +/* 8035AB50 00357AB0 38 61 00 40 */ addi r3, r1, 0x40 +/* 8035AB54 00357AB4 4B FE 41 B9 */ bl ReadChar__12CInputStreamFv +/* 8035AB58 00357AB8 98 78 00 4E */ stb r3, 0x4e(r24) +/* 8035AB5C 00357ABC 98 78 00 4C */ stb r3, 0x4c(r24) +/* 8035AB60 00357AC0 48 00 00 14 */ b lbl_8035AB74 +lbl_8035AB64: +/* 8035AB64 00357AC4 38 61 00 40 */ addi r3, r1, 0x40 +/* 8035AB68 00357AC8 4B FE 41 A5 */ bl ReadChar__12CInputStreamFv +/* 8035AB6C 00357ACC 98 78 00 4F */ stb r3, 0x4f(r24) +/* 8035AB70 00357AD0 98 78 00 4D */ stb r3, 0x4d(r24) +lbl_8035AB74: +/* 8035AB74 00357AD4 80 61 00 58 */ lwz r3, 0x58(r1) +/* 8035AB78 00357AD8 80 18 00 44 */ lwz r0, 0x44(r24) +/* 8035AB7C 00357ADC 7C 03 00 40 */ cmplw r3, r0 +/* 8035AB80 00357AE0 41 80 F9 98 */ blt lbl_8035A518 +/* 8035AB84 00357AE4 3C 80 80 3F */ lis r4, __vt__15CMemoryInStream@ha +/* 8035AB88 00357AE8 38 61 00 40 */ addi r3, r1, 0x40 +/* 8035AB8C 00357AEC 38 04 E3 98 */ addi r0, r4, __vt__15CMemoryInStream@l +/* 8035AB90 00357AF0 38 80 00 00 */ li r4, 0 +/* 8035AB94 00357AF4 90 01 00 40 */ stw r0, 0x40(r1) +/* 8035AB98 00357AF8 4B FE 45 15 */ bl __dt__12CInputStreamFv +/* 8035AB9C 00357AFC E3 E1 01 18 */ psq_l f31, 280(r1), 0, qr0 +/* 8035ABA0 00357B00 CB E1 01 10 */ lfd f31, 0x110(r1) +/* 8035ABA4 00357B04 E3 C1 01 08 */ psq_l f30, 264(r1), 0, qr0 +/* 8035ABA8 00357B08 CB C1 01 00 */ lfd f30, 0x100(r1) +/* 8035ABAC 00357B0C E3 A1 00 F8 */ psq_l f29, 248(r1), 0, qr0 +/* 8035ABB0 00357B10 CB A1 00 F0 */ lfd f29, 0xf0(r1) +/* 8035ABB4 00357B14 BA E1 00 CC */ lmw r23, 0xcc(r1) +/* 8035ABB8 00357B18 80 01 01 24 */ lwz r0, 0x124(r1) +/* 8035ABBC 00357B1C 7C 08 03 A6 */ mtlr r0 +/* 8035ABC0 00357B20 38 21 01 20 */ addi r1, r1, 0x120 +/* 8035ABC4 00357B24 4E 80 00 20 */ blr + +.global AddImage__17CTextRenderBufferFRC9CVector2iRC13CFontImageDef +AddImage__17CTextRenderBufferFRC9CVector2iRC13CFontImageDef: +/* 8035ABC8 00357B28 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 8035ABCC 00357B2C 7C 08 02 A6 */ mflr r0 +/* 8035ABD0 00357B30 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 8035ABD4 00357B34 93 E1 00 AC */ stw r31, 0xac(r1) +/* 8035ABD8 00357B38 7C BF 2B 78 */ mr r31, r5 +/* 8035ABDC 00357B3C 93 C1 00 A8 */ stw r30, 0xa8(r1) +/* 8035ABE0 00357B40 7C 9E 23 78 */ mr r30, r4 +/* 8035ABE4 00357B44 93 A1 00 A4 */ stw r29, 0xa4(r1) +/* 8035ABE8 00357B48 7C 7D 1B 78 */ mr r29, r3 +/* 8035ABEC 00357B4C 93 81 00 A0 */ stw r28, 0xa0(r1) +/* 8035ABF0 00357B50 80 03 00 00 */ lwz r0, 0(r3) +/* 8035ABF4 00357B54 2C 00 00 01 */ cmpwi r0, 1 +/* 8035ABF8 00357B58 40 82 01 B8 */ bne lbl_8035ADB0 +/* 8035ABFC 00357B5C 4B FF F7 51 */ bl sub_8035a34c +/* 8035AC00 00357B60 7C 7C 1B 78 */ mr r28, r3 +/* 8035AC04 00357B64 7F A3 EB 78 */ mr r3, r29 +/* 8035AC08 00357B68 4B FF F7 7D */ bl GetOutStream__17CTextRenderBufferFv +/* 8035AC0C 00357B6C 7C 64 1B 78 */ mr r4, r3 +/* 8035AC10 00357B70 7F 85 E3 78 */ mr r5, r28 +/* 8035AC14 00357B74 38 61 00 10 */ addi r3, r1, 0x10 +/* 8035AC18 00357B78 38 C0 00 01 */ li r6, 1 +/* 8035AC1C 00357B7C 38 E0 00 40 */ li r7, 0x40 +/* 8035AC20 00357B80 4B FE 47 1D */ bl __ct__16CMemoryStreamOutFPvUlQ216CMemoryStreamOut10EOwnerShipi +/* 8035AC24 00357B84 80 9D 00 28 */ lwz r4, 0x28(r29) +/* 8035AC28 00357B88 38 7D 00 24 */ addi r3, r29, 0x24 +/* 8035AC2C 00357B8C 83 9D 00 48 */ lwz r28, 0x48(r29) +/* 8035AC30 00357B90 38 84 00 01 */ addi r4, r4, 1 +/* 8035AC34 00357B94 4B CF F0 75 */ bl "reserve__Q24rstl36vectorFi" +/* 8035AC38 00357B98 80 1D 00 28 */ lwz r0, 0x28(r29) +/* 8035AC3C 00357B9C 80 BD 00 2C */ lwz r5, 0x2c(r29) +/* 8035AC40 00357BA0 7C 00 28 00 */ cmpw r0, r5 +/* 8035AC44 00357BA4 41 80 00 1C */ blt lbl_8035AC60 +/* 8035AC48 00357BA8 2C 05 00 00 */ cmpwi r5, 0 +/* 8035AC4C 00357BAC 38 7D 00 24 */ addi r3, r29, 0x24 +/* 8035AC50 00357BB0 38 80 00 04 */ li r4, 4 +/* 8035AC54 00357BB4 41 82 00 08 */ beq lbl_8035AC5C +/* 8035AC58 00357BB8 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8035AC5C: +/* 8035AC5C 00357BBC 4B CF F0 4D */ bl "reserve__Q24rstl36vectorFi" +lbl_8035AC60: +/* 8035AC60 00357BC0 80 1D 00 28 */ lwz r0, 0x28(r29) +/* 8035AC64 00357BC4 80 7D 00 30 */ lwz r3, 0x30(r29) +/* 8035AC68 00357BC8 54 00 10 3A */ slwi r0, r0, 2 +/* 8035AC6C 00357BCC 7C 63 02 15 */ add. r3, r3, r0 +/* 8035AC70 00357BD0 41 82 00 08 */ beq lbl_8035AC78 +/* 8035AC74 00357BD4 93 83 00 00 */ stw r28, 0(r3) +lbl_8035AC78: +/* 8035AC78 00357BD8 80 9D 00 28 */ lwz r4, 0x28(r29) +/* 8035AC7C 00357BDC 38 7D 00 14 */ addi r3, r29, 0x14 +/* 8035AC80 00357BE0 38 04 00 01 */ addi r0, r4, 1 +/* 8035AC84 00357BE4 90 1D 00 28 */ stw r0, 0x28(r29) +/* 8035AC88 00357BE8 80 9D 00 18 */ lwz r4, 0x18(r29) +/* 8035AC8C 00357BEC 38 84 00 01 */ addi r4, r4, 1 +/* 8035AC90 00357BF0 4B F6 F5 E9 */ bl sub_802ca278 +/* 8035AC94 00357BF4 83 9D 00 18 */ lwz r28, 0x18(r29) +/* 8035AC98 00357BF8 7F E4 FB 78 */ mr r4, r31 +/* 8035AC9C 00357BFC 38 7D 00 14 */ addi r3, r29, 0x14 +/* 8035ACA0 00357C00 48 00 01 3D */ bl sub_8035addc +/* 8035ACA4 00357C04 38 61 00 10 */ addi r3, r1, 0x10 +/* 8035ACA8 00357C08 4B FE 48 11 */ bl FlushShiftRegister__13COutputStreamFv +/* 8035ACAC 00357C0C 80 61 00 14 */ lwz r3, 0x14(r1) +/* 8035ACB0 00357C10 80 01 00 18 */ lwz r0, 0x18(r1) +/* 8035ACB4 00357C14 7C 03 00 40 */ cmplw r3, r0 +/* 8035ACB8 00357C18 41 80 00 0C */ blt lbl_8035ACC4 +/* 8035ACBC 00357C1C 38 61 00 10 */ addi r3, r1, 0x10 +/* 8035ACC0 00357C20 4B FE 48 65 */ bl DoFlush__13COutputStreamFv +lbl_8035ACC4: +/* 8035ACC4 00357C24 80 A1 00 20 */ lwz r5, 0x20(r1) +/* 8035ACC8 00357C28 38 C0 00 01 */ li r6, 1 +/* 8035ACCC 00357C2C 80 81 00 14 */ lwz r4, 0x14(r1) +/* 8035ACD0 00357C30 38 61 00 10 */ addi r3, r1, 0x10 +/* 8035ACD4 00357C34 38 E5 00 01 */ addi r7, r5, 1 +/* 8035ACD8 00357C38 80 A1 00 1C */ lwz r5, 0x1c(r1) +/* 8035ACDC 00357C3C 38 04 00 01 */ addi r0, r4, 1 +/* 8035ACE0 00357C40 90 E1 00 20 */ stw r7, 0x20(r1) +/* 8035ACE4 00357C44 90 01 00 14 */ stw r0, 0x14(r1) +/* 8035ACE8 00357C48 7C C5 21 AE */ stbx r6, r5, r4 +/* 8035ACEC 00357C4C 80 1E 00 00 */ lwz r0, 0(r30) +/* 8035ACF0 00357C50 B0 01 00 0A */ sth r0, 0xa(r1) +/* 8035ACF4 00357C54 4B FE 47 C5 */ bl FlushShiftRegister__13COutputStreamFv +/* 8035ACF8 00357C58 38 61 00 10 */ addi r3, r1, 0x10 +/* 8035ACFC 00357C5C 38 81 00 0A */ addi r4, r1, 0xa +/* 8035AD00 00357C60 38 A0 00 02 */ li r5, 2 +/* 8035AD04 00357C64 4B FE 48 A5 */ bl DoPut__13COutputStreamFPCvUl +/* 8035AD08 00357C68 80 1E 00 04 */ lwz r0, 4(r30) +/* 8035AD0C 00357C6C 38 61 00 10 */ addi r3, r1, 0x10 +/* 8035AD10 00357C70 B0 01 00 08 */ sth r0, 8(r1) +/* 8035AD14 00357C74 4B FE 47 A5 */ bl FlushShiftRegister__13COutputStreamFv +/* 8035AD18 00357C78 38 61 00 10 */ addi r3, r1, 0x10 +/* 8035AD1C 00357C7C 38 81 00 08 */ addi r4, r1, 8 +/* 8035AD20 00357C80 38 A0 00 02 */ li r5, 2 +/* 8035AD24 00357C84 4B FE 48 85 */ bl DoPut__13COutputStreamFPCvUl +/* 8035AD28 00357C88 7F 9C 07 74 */ extsb r28, r28 +/* 8035AD2C 00357C8C 38 61 00 10 */ addi r3, r1, 0x10 +/* 8035AD30 00357C90 4B FE 47 89 */ bl FlushShiftRegister__13COutputStreamFv +/* 8035AD34 00357C94 80 61 00 14 */ lwz r3, 0x14(r1) +/* 8035AD38 00357C98 80 01 00 18 */ lwz r0, 0x18(r1) +/* 8035AD3C 00357C9C 7C 03 00 40 */ cmplw r3, r0 +/* 8035AD40 00357CA0 41 80 00 0C */ blt lbl_8035AD4C +/* 8035AD44 00357CA4 38 61 00 10 */ addi r3, r1, 0x10 +/* 8035AD48 00357CA8 4B FE 47 DD */ bl DoFlush__13COutputStreamFv +lbl_8035AD4C: +/* 8035AD4C 00357CAC 80 81 00 20 */ lwz r4, 0x20(r1) +/* 8035AD50 00357CB0 80 61 00 14 */ lwz r3, 0x14(r1) +/* 8035AD54 00357CB4 38 A4 00 01 */ addi r5, r4, 1 +/* 8035AD58 00357CB8 80 81 00 1C */ lwz r4, 0x1c(r1) +/* 8035AD5C 00357CBC 38 03 00 01 */ addi r0, r3, 1 +/* 8035AD60 00357CC0 90 A1 00 20 */ stw r5, 0x20(r1) +/* 8035AD64 00357CC4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8035AD68 00357CC8 7F 84 19 AE */ stbx r28, r4, r3 +/* 8035AD6C 00357CCC 4B FE F2 41 */ bl White__6CColorFv +/* 8035AD70 00357CD0 80 03 00 00 */ lwz r0, 0(r3) +/* 8035AD74 00357CD4 38 61 00 10 */ addi r3, r1, 0x10 +/* 8035AD78 00357CD8 90 01 00 0C */ stw r0, 0xc(r1) +/* 8035AD7C 00357CDC 4B FE 47 3D */ bl FlushShiftRegister__13COutputStreamFv +/* 8035AD80 00357CE0 38 61 00 10 */ addi r3, r1, 0x10 +/* 8035AD84 00357CE4 38 81 00 0C */ addi r4, r1, 0xc +/* 8035AD88 00357CE8 38 A0 00 04 */ li r5, 4 +/* 8035AD8C 00357CEC 4B FE 48 1D */ bl DoPut__13COutputStreamFPCvUl +/* 8035AD90 00357CF0 80 BD 00 48 */ lwz r5, 0x48(r29) +/* 8035AD94 00357CF4 38 61 00 10 */ addi r3, r1, 0x10 +/* 8035AD98 00357CF8 80 01 00 20 */ lwz r0, 0x20(r1) +/* 8035AD9C 00357CFC 38 80 FF FF */ li r4, -1 +/* 8035ADA0 00357D00 7C 05 02 14 */ add r0, r5, r0 +/* 8035ADA4 00357D04 90 1D 00 48 */ stw r0, 0x48(r29) +/* 8035ADA8 00357D08 4B FE 45 19 */ bl __dt__16CMemoryStreamOutFv +/* 8035ADAC 00357D0C 48 00 00 10 */ b lbl_8035ADBC +lbl_8035ADB0: +/* 8035ADB0 00357D10 80 7D 00 44 */ lwz r3, 0x44(r29) +/* 8035ADB4 00357D14 38 03 00 0A */ addi r0, r3, 0xa +/* 8035ADB8 00357D18 90 1D 00 44 */ stw r0, 0x44(r29) +lbl_8035ADBC: +/* 8035ADBC 00357D1C 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 8035ADC0 00357D20 83 E1 00 AC */ lwz r31, 0xac(r1) +/* 8035ADC4 00357D24 83 C1 00 A8 */ lwz r30, 0xa8(r1) +/* 8035ADC8 00357D28 83 A1 00 A4 */ lwz r29, 0xa4(r1) +/* 8035ADCC 00357D2C 83 81 00 A0 */ lwz r28, 0xa0(r1) +/* 8035ADD0 00357D30 7C 08 03 A6 */ mtlr r0 +/* 8035ADD4 00357D34 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 8035ADD8 00357D38 4E 80 00 20 */ blr + +.global sub_8035addc +sub_8035addc: +/* 8035ADDC 00357D3C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8035ADE0 00357D40 7C 08 02 A6 */ mflr r0 +/* 8035ADE4 00357D44 90 01 00 14 */ stw r0, 0x14(r1) +/* 8035ADE8 00357D48 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8035ADEC 00357D4C 7C 9F 23 78 */ mr r31, r4 +/* 8035ADF0 00357D50 93 C1 00 08 */ stw r30, 8(r1) +/* 8035ADF4 00357D54 7C 7E 1B 78 */ mr r30, r3 +/* 8035ADF8 00357D58 80 03 00 04 */ lwz r0, 4(r3) +/* 8035ADFC 00357D5C 80 A3 00 08 */ lwz r5, 8(r3) +/* 8035AE00 00357D60 7C 00 28 00 */ cmpw r0, r5 +/* 8035AE04 00357D64 41 80 00 18 */ blt lbl_8035AE1C +/* 8035AE08 00357D68 2C 05 00 00 */ cmpwi r5, 0 +/* 8035AE0C 00357D6C 38 80 00 04 */ li r4, 4 +/* 8035AE10 00357D70 41 82 00 08 */ beq lbl_8035AE18 +/* 8035AE14 00357D74 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8035AE18: +/* 8035AE18 00357D78 4B F6 F4 61 */ bl sub_802ca278 +lbl_8035AE1C: +/* 8035AE1C 00357D7C 80 1E 00 04 */ lwz r0, 4(r30) +/* 8035AE20 00357D80 7F E4 FB 78 */ mr r4, r31 +/* 8035AE24 00357D84 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8035AE28 00357D88 1C 00 00 1C */ mulli r0, r0, 0x1c +/* 8035AE2C 00357D8C 7C 63 02 14 */ add r3, r3, r0 +/* 8035AE30 00357D90 48 00 00 29 */ bl sub_8035ae58 +/* 8035AE34 00357D94 80 7E 00 04 */ lwz r3, 4(r30) +/* 8035AE38 00357D98 38 03 00 01 */ addi r0, r3, 1 +/* 8035AE3C 00357D9C 90 1E 00 04 */ stw r0, 4(r30) +/* 8035AE40 00357DA0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8035AE44 00357DA4 83 C1 00 08 */ lwz r30, 8(r1) +/* 8035AE48 00357DA8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8035AE4C 00357DAC 7C 08 03 A6 */ mtlr r0 +/* 8035AE50 00357DB0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8035AE54 00357DB4 4E 80 00 20 */ blr + +.global sub_8035ae58 +sub_8035ae58: +/* 8035AE58 00357DB8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8035AE5C 00357DBC 7C 08 02 A6 */ mflr r0 +/* 8035AE60 00357DC0 28 03 00 00 */ cmplwi r3, 0 +/* 8035AE64 00357DC4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8035AE68 00357DC8 41 82 00 08 */ beq lbl_8035AE70 +/* 8035AE6C 00357DCC 4B F6 DB 79 */ bl sub_802c89e4 +lbl_8035AE70: +/* 8035AE70 00357DD0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8035AE74 00357DD4 7C 08 03 A6 */ mtlr r0 +/* 8035AE78 00357DD8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8035AE7C 00357DDC 4E 80 00 20 */ blr + +.global AddCharacter__17CTextRenderBufferFRC9CVector2isUi +AddCharacter__17CTextRenderBufferFRC9CVector2isUi: +/* 8035AE80 00357DE0 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 8035AE84 00357DE4 7C 08 02 A6 */ mflr r0 +/* 8035AE88 00357DE8 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 8035AE8C 00357DEC BF 61 00 AC */ stmw r27, 0xac(r1) +/* 8035AE90 00357DF0 7C 7C 1B 78 */ mr r28, r3 +/* 8035AE94 00357DF4 7C 9D 23 78 */ mr r29, r4 +/* 8035AE98 00357DF8 7C BE 2B 78 */ mr r30, r5 +/* 8035AE9C 00357DFC 7C DF 33 78 */ mr r31, r6 +/* 8035AEA0 00357E00 80 03 00 00 */ lwz r0, 0(r3) +/* 8035AEA4 00357E04 2C 00 00 01 */ cmpwi r0, 1 +/* 8035AEA8 00357E08 40 82 01 68 */ bne lbl_8035B010 +/* 8035AEAC 00357E0C 4B FF F4 A1 */ bl sub_8035a34c +/* 8035AEB0 00357E10 7C 7B 1B 78 */ mr r27, r3 +/* 8035AEB4 00357E14 7F 83 E3 78 */ mr r3, r28 +/* 8035AEB8 00357E18 4B FF F4 CD */ bl GetOutStream__17CTextRenderBufferFv +/* 8035AEBC 00357E1C 7C 64 1B 78 */ mr r4, r3 +/* 8035AEC0 00357E20 7F 65 DB 78 */ mr r5, r27 +/* 8035AEC4 00357E24 38 61 00 14 */ addi r3, r1, 0x14 +/* 8035AEC8 00357E28 38 C0 00 01 */ li r6, 1 +/* 8035AECC 00357E2C 38 E0 00 40 */ li r7, 0x40 +/* 8035AED0 00357E30 4B FE 44 6D */ bl __ct__16CMemoryStreamOutFPvUlQ216CMemoryStreamOut10EOwnerShipi +/* 8035AED4 00357E34 80 9C 00 28 */ lwz r4, 0x28(r28) +/* 8035AED8 00357E38 38 7C 00 24 */ addi r3, r28, 0x24 +/* 8035AEDC 00357E3C 83 7C 00 48 */ lwz r27, 0x48(r28) +/* 8035AEE0 00357E40 38 84 00 01 */ addi r4, r4, 1 +/* 8035AEE4 00357E44 4B CF ED C5 */ bl "reserve__Q24rstl36vectorFi" +/* 8035AEE8 00357E48 80 1C 00 28 */ lwz r0, 0x28(r28) +/* 8035AEEC 00357E4C 80 BC 00 2C */ lwz r5, 0x2c(r28) +/* 8035AEF0 00357E50 7C 00 28 00 */ cmpw r0, r5 +/* 8035AEF4 00357E54 41 80 00 1C */ blt lbl_8035AF10 +/* 8035AEF8 00357E58 2C 05 00 00 */ cmpwi r5, 0 +/* 8035AEFC 00357E5C 38 7C 00 24 */ addi r3, r28, 0x24 +/* 8035AF00 00357E60 38 80 00 04 */ li r4, 4 +/* 8035AF04 00357E64 41 82 00 08 */ beq lbl_8035AF0C +/* 8035AF08 00357E68 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8035AF0C: +/* 8035AF0C 00357E6C 4B CF ED 9D */ bl "reserve__Q24rstl36vectorFi" +lbl_8035AF10: +/* 8035AF10 00357E70 80 1C 00 28 */ lwz r0, 0x28(r28) +/* 8035AF14 00357E74 80 7C 00 30 */ lwz r3, 0x30(r28) +/* 8035AF18 00357E78 54 00 10 3A */ slwi r0, r0, 2 +/* 8035AF1C 00357E7C 7C 63 02 15 */ add. r3, r3, r0 +/* 8035AF20 00357E80 41 82 00 08 */ beq lbl_8035AF28 +/* 8035AF24 00357E84 93 63 00 00 */ stw r27, 0(r3) +lbl_8035AF28: +/* 8035AF28 00357E88 80 9C 00 28 */ lwz r4, 0x28(r28) +/* 8035AF2C 00357E8C 38 61 00 14 */ addi r3, r1, 0x14 +/* 8035AF30 00357E90 38 04 00 01 */ addi r0, r4, 1 +/* 8035AF34 00357E94 90 1C 00 28 */ stw r0, 0x28(r28) +/* 8035AF38 00357E98 4B FE 45 81 */ bl FlushShiftRegister__13COutputStreamFv +/* 8035AF3C 00357E9C 80 61 00 18 */ lwz r3, 0x18(r1) +/* 8035AF40 00357EA0 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 8035AF44 00357EA4 7C 03 00 40 */ cmplw r3, r0 +/* 8035AF48 00357EA8 41 80 00 0C */ blt lbl_8035AF54 +/* 8035AF4C 00357EAC 38 61 00 14 */ addi r3, r1, 0x14 +/* 8035AF50 00357EB0 4B FE 45 D5 */ bl DoFlush__13COutputStreamFv +lbl_8035AF54: +/* 8035AF54 00357EB4 80 A1 00 24 */ lwz r5, 0x24(r1) +/* 8035AF58 00357EB8 38 C0 00 00 */ li r6, 0 +/* 8035AF5C 00357EBC 80 81 00 18 */ lwz r4, 0x18(r1) +/* 8035AF60 00357EC0 38 61 00 14 */ addi r3, r1, 0x14 +/* 8035AF64 00357EC4 38 E5 00 01 */ addi r7, r5, 1 +/* 8035AF68 00357EC8 80 A1 00 20 */ lwz r5, 0x20(r1) +/* 8035AF6C 00357ECC 38 04 00 01 */ addi r0, r4, 1 +/* 8035AF70 00357ED0 90 E1 00 24 */ stw r7, 0x24(r1) +/* 8035AF74 00357ED4 90 01 00 18 */ stw r0, 0x18(r1) +/* 8035AF78 00357ED8 7C C5 21 AE */ stbx r6, r5, r4 +/* 8035AF7C 00357EDC 80 1D 00 00 */ lwz r0, 0(r29) +/* 8035AF80 00357EE0 B0 01 00 0C */ sth r0, 0xc(r1) +/* 8035AF84 00357EE4 4B FE 45 35 */ bl FlushShiftRegister__13COutputStreamFv +/* 8035AF88 00357EE8 38 61 00 14 */ addi r3, r1, 0x14 +/* 8035AF8C 00357EEC 38 81 00 0C */ addi r4, r1, 0xc +/* 8035AF90 00357EF0 38 A0 00 02 */ li r5, 2 +/* 8035AF94 00357EF4 4B FE 46 15 */ bl DoPut__13COutputStreamFPCvUl +/* 8035AF98 00357EF8 80 1D 00 04 */ lwz r0, 4(r29) +/* 8035AF9C 00357EFC 38 61 00 14 */ addi r3, r1, 0x14 +/* 8035AFA0 00357F00 B0 01 00 0A */ sth r0, 0xa(r1) +/* 8035AFA4 00357F04 4B FE 45 15 */ bl FlushShiftRegister__13COutputStreamFv +/* 8035AFA8 00357F08 38 61 00 14 */ addi r3, r1, 0x14 +/* 8035AFAC 00357F0C 38 81 00 0A */ addi r4, r1, 0xa +/* 8035AFB0 00357F10 38 A0 00 02 */ li r5, 2 +/* 8035AFB4 00357F14 4B FE 45 F5 */ bl DoPut__13COutputStreamFPCvUl +/* 8035AFB8 00357F18 B3 C1 00 08 */ sth r30, 8(r1) +/* 8035AFBC 00357F1C 38 61 00 14 */ addi r3, r1, 0x14 +/* 8035AFC0 00357F20 4B FE 44 F9 */ bl FlushShiftRegister__13COutputStreamFv +/* 8035AFC4 00357F24 38 61 00 14 */ addi r3, r1, 0x14 +/* 8035AFC8 00357F28 38 81 00 08 */ addi r4, r1, 8 +/* 8035AFCC 00357F2C 38 A0 00 02 */ li r5, 2 +/* 8035AFD0 00357F30 4B FE 45 D9 */ bl DoPut__13COutputStreamFPCvUl +/* 8035AFD4 00357F34 93 E1 00 10 */ stw r31, 0x10(r1) +/* 8035AFD8 00357F38 38 61 00 14 */ addi r3, r1, 0x14 +/* 8035AFDC 00357F3C 4B FE 44 DD */ bl FlushShiftRegister__13COutputStreamFv +/* 8035AFE0 00357F40 38 61 00 14 */ addi r3, r1, 0x14 +/* 8035AFE4 00357F44 38 81 00 10 */ addi r4, r1, 0x10 +/* 8035AFE8 00357F48 38 A0 00 04 */ li r5, 4 +/* 8035AFEC 00357F4C 4B FE 45 BD */ bl DoPut__13COutputStreamFPCvUl +/* 8035AFF0 00357F50 80 BC 00 48 */ lwz r5, 0x48(r28) +/* 8035AFF4 00357F54 38 61 00 14 */ addi r3, r1, 0x14 +/* 8035AFF8 00357F58 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8035AFFC 00357F5C 38 80 FF FF */ li r4, -1 +/* 8035B000 00357F60 7C 05 02 14 */ add r0, r5, r0 +/* 8035B004 00357F64 90 1C 00 48 */ stw r0, 0x48(r28) +/* 8035B008 00357F68 4B FE 42 B9 */ bl __dt__16CMemoryStreamOutFv +/* 8035B00C 00357F6C 48 00 00 10 */ b lbl_8035B01C +lbl_8035B010: +/* 8035B010 00357F70 80 7C 00 44 */ lwz r3, 0x44(r28) +/* 8035B014 00357F74 38 03 00 0B */ addi r0, r3, 0xb +/* 8035B018 00357F78 90 1C 00 44 */ stw r0, 0x44(r28) +lbl_8035B01C: +/* 8035B01C 00357F7C BB 61 00 AC */ lmw r27, 0xac(r1) +/* 8035B020 00357F80 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 8035B024 00357F84 7C 08 03 A6 */ mtlr r0 +/* 8035B028 00357F88 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 8035B02C 00357F8C 4E 80 00 20 */ blr + +.global AddPaletteChange__17CTextRenderBufferFRC16CGraphicsPalette +AddPaletteChange__17CTextRenderBufferFRC16CGraphicsPalette: +/* 8035B030 00357F90 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 8035B034 00357F94 7C 08 02 A6 */ mflr r0 +/* 8035B038 00357F98 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 8035B03C 00357F9C 93 E1 00 AC */ stw r31, 0xac(r1) +/* 8035B040 00357FA0 7C 7F 1B 78 */ mr r31, r3 +/* 8035B044 00357FA4 93 C1 00 A8 */ stw r30, 0xa8(r1) +/* 8035B048 00357FA8 93 A1 00 A4 */ stw r29, 0xa4(r1) +/* 8035B04C 00357FAC 93 81 00 A0 */ stw r28, 0xa0(r1) +/* 8035B050 00357FB0 7C 9C 23 78 */ mr r28, r4 +/* 8035B054 00357FB4 80 03 00 00 */ lwz r0, 0(r3) +/* 8035B058 00357FB8 2C 00 00 01 */ cmpwi r0, 1 +/* 8035B05C 00357FBC 40 82 01 28 */ bne lbl_8035B184 +/* 8035B060 00357FC0 4B FF F2 ED */ bl sub_8035a34c +/* 8035B064 00357FC4 7C 7E 1B 78 */ mr r30, r3 +/* 8035B068 00357FC8 7F E3 FB 78 */ mr r3, r31 +/* 8035B06C 00357FCC 4B FF F3 19 */ bl GetOutStream__17CTextRenderBufferFv +/* 8035B070 00357FD0 7C 64 1B 78 */ mr r4, r3 +/* 8035B074 00357FD4 7F C5 F3 78 */ mr r5, r30 +/* 8035B078 00357FD8 38 61 00 08 */ addi r3, r1, 8 +/* 8035B07C 00357FDC 38 C0 00 01 */ li r6, 1 +/* 8035B080 00357FE0 38 E0 00 40 */ li r7, 0x40 +/* 8035B084 00357FE4 4B FE 42 B9 */ bl __ct__16CMemoryStreamOutFPvUlQ216CMemoryStreamOut10EOwnerShipi +/* 8035B088 00357FE8 7F E3 FB 78 */ mr r3, r31 +/* 8035B08C 00357FEC 7F 84 E3 78 */ mr r4, r28 +/* 8035B090 00357FF0 48 00 03 79 */ bl GetMatchingPaletteIndex__17CTextRenderBufferCFRC16CGraphicsPalette +/* 8035B094 00357FF4 7C 7D 1B 78 */ mr r29, r3 +/* 8035B098 00357FF8 2C 1D FF FF */ cmpwi r29, -1 +/* 8035B09C 00357FFC 40 82 00 40 */ bne lbl_8035B0DC +/* 8035B0A0 00358000 7F E3 FB 78 */ mr r3, r31 +/* 8035B0A4 00358004 48 00 03 F1 */ bl GetNextAvailablePalette__17CTextRenderBufferCFv +/* 8035B0A8 00358008 80 7F 02 54 */ lwz r3, 0x254(r31) +/* 8035B0AC 0035800C 38 00 00 01 */ li r0, 1 +/* 8035B0B0 00358010 38 A0 00 08 */ li r5, 8 +/* 8035B0B4 00358014 3B A3 FF FF */ addi r29, r3, -1 +/* 8035B0B8 00358018 57 A3 18 38 */ slwi r3, r29, 3 +/* 8035B0BC 0035801C 7C 7F 1A 14 */ add r3, r31, r3 +/* 8035B0C0 00358020 83 C3 00 58 */ lwz r30, 0x58(r3) +/* 8035B0C4 00358024 98 1E 00 1C */ stb r0, 0x1c(r30) +/* 8035B0C8 00358028 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8035B0CC 0035802C 80 9C 00 0C */ lwz r4, 0xc(r28) +/* 8035B0D0 00358030 4B CA 83 C1 */ bl memcpy +/* 8035B0D4 00358034 7F C3 F3 78 */ mr r3, r30 +/* 8035B0D8 00358038 4B FB 2D 85 */ bl UnLock__16CGraphicsPaletteFv +lbl_8035B0DC: +/* 8035B0DC 0035803C 38 61 00 08 */ addi r3, r1, 8 +/* 8035B0E0 00358040 4B FE 43 D9 */ bl FlushShiftRegister__13COutputStreamFv +/* 8035B0E4 00358044 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8035B0E8 00358048 80 01 00 10 */ lwz r0, 0x10(r1) +/* 8035B0EC 0035804C 7C 03 00 40 */ cmplw r3, r0 +/* 8035B0F0 00358050 41 80 00 0C */ blt lbl_8035B0FC +/* 8035B0F4 00358054 38 61 00 08 */ addi r3, r1, 8 +/* 8035B0F8 00358058 4B FE 44 2D */ bl DoFlush__13COutputStreamFv +lbl_8035B0FC: +/* 8035B0FC 0035805C 80 61 00 18 */ lwz r3, 0x18(r1) +/* 8035B100 00358060 38 C0 00 03 */ li r6, 3 +/* 8035B104 00358064 80 81 00 0C */ lwz r4, 0xc(r1) +/* 8035B108 00358068 7F BE 07 74 */ extsb r30, r29 +/* 8035B10C 0035806C 38 63 00 01 */ addi r3, r3, 1 +/* 8035B110 00358070 80 A1 00 14 */ lwz r5, 0x14(r1) +/* 8035B114 00358074 38 04 00 01 */ addi r0, r4, 1 +/* 8035B118 00358078 90 61 00 18 */ stw r3, 0x18(r1) +/* 8035B11C 0035807C 38 61 00 08 */ addi r3, r1, 8 +/* 8035B120 00358080 90 01 00 0C */ stw r0, 0xc(r1) +/* 8035B124 00358084 7C C5 21 AE */ stbx r6, r5, r4 +/* 8035B128 00358088 4B FE 43 91 */ bl FlushShiftRegister__13COutputStreamFv +/* 8035B12C 0035808C 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8035B130 00358090 80 01 00 10 */ lwz r0, 0x10(r1) +/* 8035B134 00358094 7C 03 00 40 */ cmplw r3, r0 +/* 8035B138 00358098 41 80 00 0C */ blt lbl_8035B144 +/* 8035B13C 0035809C 38 61 00 08 */ addi r3, r1, 8 +/* 8035B140 003580A0 4B FE 43 E5 */ bl DoFlush__13COutputStreamFv +lbl_8035B144: +/* 8035B144 003580A4 80 81 00 18 */ lwz r4, 0x18(r1) +/* 8035B148 003580A8 38 61 00 08 */ addi r3, r1, 8 +/* 8035B14C 003580AC 80 A1 00 0C */ lwz r5, 0xc(r1) +/* 8035B150 003580B0 38 84 00 01 */ addi r4, r4, 1 +/* 8035B154 003580B4 80 C1 00 14 */ lwz r6, 0x14(r1) +/* 8035B158 003580B8 38 05 00 01 */ addi r0, r5, 1 +/* 8035B15C 003580BC 90 81 00 18 */ stw r4, 0x18(r1) +/* 8035B160 003580C0 38 80 FF FF */ li r4, -1 +/* 8035B164 003580C4 90 01 00 0C */ stw r0, 0xc(r1) +/* 8035B168 003580C8 7F C6 29 AE */ stbx r30, r6, r5 +/* 8035B16C 003580CC 80 BF 00 48 */ lwz r5, 0x48(r31) +/* 8035B170 003580D0 80 01 00 18 */ lwz r0, 0x18(r1) +/* 8035B174 003580D4 7C 05 02 14 */ add r0, r5, r0 +/* 8035B178 003580D8 90 1F 00 48 */ stw r0, 0x48(r31) +/* 8035B17C 003580DC 4B FE 41 45 */ bl __dt__16CMemoryStreamOutFv +/* 8035B180 003580E0 48 00 00 10 */ b lbl_8035B190 +lbl_8035B184: +/* 8035B184 003580E4 80 7F 00 44 */ lwz r3, 0x44(r31) +/* 8035B188 003580E8 38 03 00 02 */ addi r0, r3, 2 +/* 8035B18C 003580EC 90 1F 00 44 */ stw r0, 0x44(r31) +lbl_8035B190: +/* 8035B190 003580F0 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 8035B194 003580F4 83 E1 00 AC */ lwz r31, 0xac(r1) +/* 8035B198 003580F8 83 C1 00 A8 */ lwz r30, 0xa8(r1) +/* 8035B19C 003580FC 83 A1 00 A4 */ lwz r29, 0xa4(r1) +/* 8035B1A0 00358100 83 81 00 A0 */ lwz r28, 0xa0(r1) +/* 8035B1A4 00358104 7C 08 03 A6 */ mtlr r0 +/* 8035B1A8 00358108 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 8035B1AC 0035810C 4E 80 00 20 */ blr + +.global "AddFontChange__17CTextRenderBufferFRC21TToken<11CRasterFont>" +"AddFontChange__17CTextRenderBufferFRC21TToken<11CRasterFont>": +/* 8035B1B0 00358110 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 8035B1B4 00358114 7C 08 02 A6 */ mflr r0 +/* 8035B1B8 00358118 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 8035B1BC 0035811C 93 E1 00 AC */ stw r31, 0xac(r1) +/* 8035B1C0 00358120 7C 9F 23 78 */ mr r31, r4 +/* 8035B1C4 00358124 93 C1 00 A8 */ stw r30, 0xa8(r1) +/* 8035B1C8 00358128 7C 7E 1B 78 */ mr r30, r3 +/* 8035B1CC 0035812C 93 A1 00 A4 */ stw r29, 0xa4(r1) +/* 8035B1D0 00358130 80 03 00 00 */ lwz r0, 0(r3) +/* 8035B1D4 00358134 2C 00 00 01 */ cmpwi r0, 1 +/* 8035B1D8 00358138 40 82 02 08 */ bne lbl_8035B3E0 +/* 8035B1DC 0035813C 4B FF F1 71 */ bl sub_8035a34c +/* 8035B1E0 00358140 7C 7D 1B 78 */ mr r29, r3 +/* 8035B1E4 00358144 7F C3 F3 78 */ mr r3, r30 +/* 8035B1E8 00358148 4B FF F1 9D */ bl GetOutStream__17CTextRenderBufferFv +/* 8035B1EC 0035814C 7C 64 1B 78 */ mr r4, r3 +/* 8035B1F0 00358150 7F A5 EB 78 */ mr r5, r29 +/* 8035B1F4 00358154 38 61 00 08 */ addi r3, r1, 8 +/* 8035B1F8 00358158 38 C0 00 01 */ li r6, 1 +/* 8035B1FC 0035815C 38 E0 00 40 */ li r7, 0x40 +/* 8035B200 00358160 4B FE 41 3D */ bl __ct__16CMemoryStreamOutFPvUlQ216CMemoryStreamOut10EOwnerShipi +/* 8035B204 00358164 80 1E 00 08 */ lwz r0, 8(r30) +/* 8035B208 00358168 38 C0 00 00 */ li r6, 0 +/* 8035B20C 0035816C 3B A0 00 00 */ li r29, 0 +/* 8035B210 00358170 38 80 00 00 */ li r4, 0 +/* 8035B214 00358174 7C 09 03 A6 */ mtctr r0 +/* 8035B218 00358178 2C 00 00 00 */ cmpwi r0, 0 +/* 8035B21C 0035817C 40 81 00 B4 */ ble lbl_8035B2D0 +lbl_8035B220: +/* 8035B220 00358180 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 8035B224 00358184 80 1F 00 00 */ lwz r0, 0(r31) +/* 8035B228 00358188 7C 63 20 2E */ lwzx r3, r3, r4 +/* 8035B22C 0035818C 7C 03 00 40 */ cmplw r3, r0 +/* 8035B230 00358190 40 82 00 94 */ bne lbl_8035B2C4 +/* 8035B234 00358194 38 61 00 08 */ addi r3, r1, 8 +/* 8035B238 00358198 4B FE 42 81 */ bl FlushShiftRegister__13COutputStreamFv +/* 8035B23C 0035819C 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8035B240 003581A0 80 01 00 10 */ lwz r0, 0x10(r1) +/* 8035B244 003581A4 7C 03 00 40 */ cmplw r3, r0 +/* 8035B248 003581A8 41 80 00 0C */ blt lbl_8035B254 +/* 8035B24C 003581AC 38 61 00 08 */ addi r3, r1, 8 +/* 8035B250 003581B0 4B FE 42 D5 */ bl DoFlush__13COutputStreamFv +lbl_8035B254: +/* 8035B254 003581B4 80 61 00 18 */ lwz r3, 0x18(r1) +/* 8035B258 003581B8 38 C0 00 02 */ li r6, 2 +/* 8035B25C 003581BC 80 81 00 0C */ lwz r4, 0xc(r1) +/* 8035B260 003581C0 7F BD 07 74 */ extsb r29, r29 +/* 8035B264 003581C4 38 63 00 01 */ addi r3, r3, 1 +/* 8035B268 003581C8 80 A1 00 14 */ lwz r5, 0x14(r1) +/* 8035B26C 003581CC 38 04 00 01 */ addi r0, r4, 1 +/* 8035B270 003581D0 90 61 00 18 */ stw r3, 0x18(r1) +/* 8035B274 003581D4 38 61 00 08 */ addi r3, r1, 8 +/* 8035B278 003581D8 90 01 00 0C */ stw r0, 0xc(r1) +/* 8035B27C 003581DC 7C C5 21 AE */ stbx r6, r5, r4 +/* 8035B280 003581E0 4B FE 42 39 */ bl FlushShiftRegister__13COutputStreamFv +/* 8035B284 003581E4 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8035B288 003581E8 80 01 00 10 */ lwz r0, 0x10(r1) +/* 8035B28C 003581EC 7C 03 00 40 */ cmplw r3, r0 +/* 8035B290 003581F0 41 80 00 0C */ blt lbl_8035B29C +/* 8035B294 003581F4 38 61 00 08 */ addi r3, r1, 8 +/* 8035B298 003581F8 4B FE 42 8D */ bl DoFlush__13COutputStreamFv +lbl_8035B29C: +/* 8035B29C 003581FC 80 81 00 18 */ lwz r4, 0x18(r1) +/* 8035B2A0 00358200 38 C0 00 01 */ li r6, 1 +/* 8035B2A4 00358204 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8035B2A8 00358208 38 A4 00 01 */ addi r5, r4, 1 +/* 8035B2AC 0035820C 80 81 00 14 */ lwz r4, 0x14(r1) +/* 8035B2B0 00358210 38 03 00 01 */ addi r0, r3, 1 +/* 8035B2B4 00358214 90 A1 00 18 */ stw r5, 0x18(r1) +/* 8035B2B8 00358218 90 01 00 0C */ stw r0, 0xc(r1) +/* 8035B2BC 0035821C 7F A4 19 AE */ stbx r29, r4, r3 +/* 8035B2C0 00358220 48 00 00 10 */ b lbl_8035B2D0 +lbl_8035B2C4: +/* 8035B2C4 00358224 38 84 00 08 */ addi r4, r4, 8 +/* 8035B2C8 00358228 3B BD 00 01 */ addi r29, r29, 1 +/* 8035B2CC 0035822C 42 00 FF 54 */ bdnz lbl_8035B220 +lbl_8035B2D0: +/* 8035B2D0 00358230 54 C0 06 3F */ clrlwi. r0, r6, 0x18 +/* 8035B2D4 00358234 40 82 00 EC */ bne lbl_8035B3C0 +/* 8035B2D8 00358238 80 9E 00 08 */ lwz r4, 8(r30) +/* 8035B2DC 0035823C 38 7E 00 04 */ addi r3, r30, 4 +/* 8035B2E0 00358240 38 84 00 01 */ addi r4, r4, 1 +/* 8035B2E4 00358244 4B F6 EE A1 */ bl sub_802ca184 +/* 8035B2E8 00358248 83 BE 00 08 */ lwz r29, 8(r30) +/* 8035B2EC 0035824C 80 1E 00 0C */ lwz r0, 0xc(r30) +/* 8035B2F0 00358250 7C 1D 00 00 */ cmpw r29, r0 +/* 8035B2F4 00358254 41 80 00 1C */ blt lbl_8035B310 +/* 8035B2F8 00358258 2C 00 00 00 */ cmpwi r0, 0 +/* 8035B2FC 0035825C 38 7E 00 04 */ addi r3, r30, 4 +/* 8035B300 00358260 38 80 00 04 */ li r4, 4 +/* 8035B304 00358264 41 82 00 08 */ beq lbl_8035B30C +/* 8035B308 00358268 54 04 08 3C */ slwi r4, r0, 1 +lbl_8035B30C: +/* 8035B30C 0035826C 4B F6 EE 79 */ bl sub_802ca184 +lbl_8035B310: +/* 8035B310 00358270 80 1E 00 08 */ lwz r0, 8(r30) +/* 8035B314 00358274 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 8035B318 00358278 54 00 18 38 */ slwi r0, r0, 3 +/* 8035B31C 0035827C 7C 63 02 15 */ add. r3, r3, r0 +/* 8035B320 00358280 41 82 00 0C */ beq lbl_8035B32C +/* 8035B324 00358284 7F E4 FB 78 */ mr r4, r31 +/* 8035B328 00358288 4B FE 5B 81 */ bl __ct__6CTokenFRC6CToken +lbl_8035B32C: +/* 8035B32C 0035828C 80 9E 00 08 */ lwz r4, 8(r30) +/* 8035B330 00358290 38 61 00 08 */ addi r3, r1, 8 +/* 8035B334 00358294 38 04 00 01 */ addi r0, r4, 1 +/* 8035B338 00358298 90 1E 00 08 */ stw r0, 8(r30) +/* 8035B33C 0035829C 4B FE 41 7D */ bl FlushShiftRegister__13COutputStreamFv +/* 8035B340 003582A0 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8035B344 003582A4 80 01 00 10 */ lwz r0, 0x10(r1) +/* 8035B348 003582A8 7C 03 00 40 */ cmplw r3, r0 +/* 8035B34C 003582AC 41 80 00 0C */ blt lbl_8035B358 +/* 8035B350 003582B0 38 61 00 08 */ addi r3, r1, 8 +/* 8035B354 003582B4 4B FE 41 D1 */ bl DoFlush__13COutputStreamFv +lbl_8035B358: +/* 8035B358 003582B8 80 61 00 18 */ lwz r3, 0x18(r1) +/* 8035B35C 003582BC 38 C0 00 02 */ li r6, 2 +/* 8035B360 003582C0 80 81 00 0C */ lwz r4, 0xc(r1) +/* 8035B364 003582C4 7F BD 07 74 */ extsb r29, r29 +/* 8035B368 003582C8 38 63 00 01 */ addi r3, r3, 1 +/* 8035B36C 003582CC 80 A1 00 14 */ lwz r5, 0x14(r1) +/* 8035B370 003582D0 38 04 00 01 */ addi r0, r4, 1 +/* 8035B374 003582D4 90 61 00 18 */ stw r3, 0x18(r1) +/* 8035B378 003582D8 38 61 00 08 */ addi r3, r1, 8 +/* 8035B37C 003582DC 90 01 00 0C */ stw r0, 0xc(r1) +/* 8035B380 003582E0 7C C5 21 AE */ stbx r6, r5, r4 +/* 8035B384 003582E4 4B FE 41 35 */ bl FlushShiftRegister__13COutputStreamFv +/* 8035B388 003582E8 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8035B38C 003582EC 80 01 00 10 */ lwz r0, 0x10(r1) +/* 8035B390 003582F0 7C 03 00 40 */ cmplw r3, r0 +/* 8035B394 003582F4 41 80 00 0C */ blt lbl_8035B3A0 +/* 8035B398 003582F8 38 61 00 08 */ addi r3, r1, 8 +/* 8035B39C 003582FC 4B FE 41 89 */ bl DoFlush__13COutputStreamFv +lbl_8035B3A0: +/* 8035B3A0 00358300 80 81 00 18 */ lwz r4, 0x18(r1) +/* 8035B3A4 00358304 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8035B3A8 00358308 38 A4 00 01 */ addi r5, r4, 1 +/* 8035B3AC 0035830C 80 81 00 14 */ lwz r4, 0x14(r1) +/* 8035B3B0 00358310 38 03 00 01 */ addi r0, r3, 1 +/* 8035B3B4 00358314 90 A1 00 18 */ stw r5, 0x18(r1) +/* 8035B3B8 00358318 90 01 00 0C */ stw r0, 0xc(r1) +/* 8035B3BC 0035831C 7F A4 19 AE */ stbx r29, r4, r3 +lbl_8035B3C0: +/* 8035B3C0 00358320 80 BE 00 48 */ lwz r5, 0x48(r30) +/* 8035B3C4 00358324 38 61 00 08 */ addi r3, r1, 8 +/* 8035B3C8 00358328 80 01 00 18 */ lwz r0, 0x18(r1) +/* 8035B3CC 0035832C 38 80 FF FF */ li r4, -1 +/* 8035B3D0 00358330 7C 05 02 14 */ add r0, r5, r0 +/* 8035B3D4 00358334 90 1E 00 48 */ stw r0, 0x48(r30) +/* 8035B3D8 00358338 4B FE 3E E9 */ bl __dt__16CMemoryStreamOutFv +/* 8035B3DC 0035833C 48 00 00 10 */ b lbl_8035B3EC +lbl_8035B3E0: +/* 8035B3E0 00358340 80 7E 00 44 */ lwz r3, 0x44(r30) +/* 8035B3E4 00358344 38 03 00 02 */ addi r0, r3, 2 +/* 8035B3E8 00358348 90 1E 00 44 */ stw r0, 0x44(r30) +lbl_8035B3EC: +/* 8035B3EC 0035834C 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 8035B3F0 00358350 83 E1 00 AC */ lwz r31, 0xac(r1) +/* 8035B3F4 00358354 83 C1 00 A8 */ lwz r30, 0xa8(r1) +/* 8035B3F8 00358358 83 A1 00 A4 */ lwz r29, 0xa4(r1) +/* 8035B3FC 0035835C 7C 08 03 A6 */ mtlr r0 +/* 8035B400 00358360 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 8035B404 00358364 4E 80 00 20 */ blr + +.global GetMatchingPaletteIndex__17CTextRenderBufferCFRC16CGraphicsPalette +GetMatchingPaletteIndex__17CTextRenderBufferCFRC16CGraphicsPalette: +/* 8035B408 00358368 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8035B40C 0035836C 7C 08 02 A6 */ mflr r0 +/* 8035B410 00358370 90 01 00 24 */ stw r0, 0x24(r1) +/* 8035B414 00358374 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8035B418 00358378 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8035B41C 0035837C 3B C0 00 00 */ li r30, 0 +/* 8035B420 00358380 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8035B424 00358384 7C 9D 23 78 */ mr r29, r4 +/* 8035B428 00358388 93 81 00 10 */ stw r28, 0x10(r1) +/* 8035B42C 0035838C 7C 7C 1B 78 */ mr r28, r3 +/* 8035B430 00358390 3B FC 00 54 */ addi r31, r28, 0x54 +/* 8035B434 00358394 48 00 00 30 */ b lbl_8035B464 +lbl_8035B438: +/* 8035B438 00358398 80 7F 00 04 */ lwz r3, 4(r31) +/* 8035B43C 0035839C 38 A0 00 08 */ li r5, 8 +/* 8035B440 003583A0 80 9D 00 0C */ lwz r4, 0xc(r29) +/* 8035B444 003583A4 80 63 00 0C */ lwz r3, 0xc(r3) +/* 8035B448 003583A8 48 03 24 35 */ bl memcmp +/* 8035B44C 003583AC 2C 03 00 00 */ cmpwi r3, 0 +/* 8035B450 003583B0 40 82 00 0C */ bne lbl_8035B45C +/* 8035B454 003583B4 7F C3 F3 78 */ mr r3, r30 +/* 8035B458 003583B8 48 00 00 1C */ b lbl_8035B474 +lbl_8035B45C: +/* 8035B45C 003583BC 3B FF 00 08 */ addi r31, r31, 8 +/* 8035B460 003583C0 3B DE 00 01 */ addi r30, r30, 1 +lbl_8035B464: +/* 8035B464 003583C4 80 1C 00 50 */ lwz r0, 0x50(r28) +/* 8035B468 003583C8 7C 1E 00 00 */ cmpw r30, r0 +/* 8035B46C 003583CC 41 80 FF CC */ blt lbl_8035B438 +/* 8035B470 003583D0 38 60 FF FF */ li r3, -1 +lbl_8035B474: +/* 8035B474 003583D4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8035B478 003583D8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8035B47C 003583DC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8035B480 003583E0 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8035B484 003583E4 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8035B488 003583E8 7C 08 03 A6 */ mtlr r0 +/* 8035B48C 003583EC 38 21 00 20 */ addi r1, r1, 0x20 +/* 8035B490 003583F0 4E 80 00 20 */ blr + +.global GetNextAvailablePalette__17CTextRenderBufferCFv +GetNextAvailablePalette__17CTextRenderBufferCFv: +/* 8035B494 003583F4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8035B498 003583F8 7C 08 02 A6 */ mflr r0 +/* 8035B49C 003583FC 90 01 00 24 */ stw r0, 0x24(r1) +/* 8035B4A0 00358400 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8035B4A4 00358404 7C 7F 1B 78 */ mr r31, r3 +/* 8035B4A8 00358408 80 03 02 54 */ lwz r0, 0x254(r3) +/* 8035B4AC 0035840C 2C 00 00 40 */ cmpwi r0, 0x40 +/* 8035B4B0 00358410 41 80 00 10 */ blt lbl_8035B4C0 +/* 8035B4B4 00358414 38 00 00 00 */ li r0, 0 +/* 8035B4B8 00358418 90 1F 02 54 */ stw r0, 0x254(r31) +/* 8035B4BC 0035841C 48 00 00 8C */ b lbl_8035B548 +lbl_8035B4C0: +/* 8035B4C0 00358420 3C 80 80 3E */ lis r4, lbl_803D8368@ha +/* 8035B4C4 00358424 38 60 00 20 */ li r3, 0x20 +/* 8035B4C8 00358428 38 84 83 68 */ addi r4, r4, lbl_803D8368@l +/* 8035B4CC 0035842C 38 A0 00 00 */ li r5, 0 +/* 8035B4D0 00358430 4B FB A3 9D */ bl __nw__FUlPCcPCc +/* 8035B4D4 00358434 7C 65 1B 79 */ or. r5, r3, r3 +/* 8035B4D8 00358438 41 82 00 14 */ beq lbl_8035B4EC +/* 8035B4DC 0035843C 38 80 00 02 */ li r4, 2 +/* 8035B4E0 00358440 38 A0 00 04 */ li r5, 4 +/* 8035B4E4 00358444 4B FB 2B 91 */ bl __ct__16CGraphicsPaletteF14EPaletteFormati +/* 8035B4E8 00358448 7C 65 1B 78 */ mr r5, r3 +lbl_8035B4EC: +/* 8035B4EC 0035844C 80 1F 00 50 */ lwz r0, 0x50(r31) +/* 8035B4F0 00358450 7C 65 00 D0 */ neg r3, r5 +/* 8035B4F4 00358454 7C 63 2B 78 */ or r3, r3, r5 +/* 8035B4F8 00358458 90 A1 00 0C */ stw r5, 0xc(r1) +/* 8035B4FC 0035845C 54 00 18 38 */ slwi r0, r0, 3 +/* 8035B500 00358460 7C 9F 02 14 */ add r4, r31, r0 +/* 8035B504 00358464 54 60 0F FE */ srwi r0, r3, 0x1f +/* 8035B508 00358468 34 84 00 54 */ addic. r4, r4, 0x54 +/* 8035B50C 0035846C 98 01 00 08 */ stb r0, 8(r1) +/* 8035B510 00358470 41 82 00 14 */ beq lbl_8035B524 +/* 8035B514 00358474 98 04 00 00 */ stb r0, 0(r4) +/* 8035B518 00358478 38 00 00 00 */ li r0, 0 +/* 8035B51C 0035847C 90 A4 00 04 */ stw r5, 4(r4) +/* 8035B520 00358480 98 01 00 08 */ stb r0, 8(r1) +lbl_8035B524: +/* 8035B524 00358484 80 7F 00 50 */ lwz r3, 0x50(r31) +/* 8035B528 00358488 88 01 00 08 */ lbz r0, 8(r1) +/* 8035B52C 0035848C 38 63 00 01 */ addi r3, r3, 1 +/* 8035B530 00358490 28 00 00 00 */ cmplwi r0, 0 +/* 8035B534 00358494 90 7F 00 50 */ stw r3, 0x50(r31) +/* 8035B538 00358498 41 82 00 10 */ beq lbl_8035B548 +/* 8035B53C 0035849C 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8035B540 003584A0 38 80 00 01 */ li r4, 1 +/* 8035B544 003584A4 4B FB 29 BD */ bl __dt__16CGraphicsPaletteFv +lbl_8035B548: +/* 8035B548 003584A8 80 7F 02 54 */ lwz r3, 0x254(r31) +/* 8035B54C 003584AC 38 03 00 01 */ addi r0, r3, 1 +/* 8035B550 003584B0 90 1F 02 54 */ stw r0, 0x254(r31) +/* 8035B554 003584B4 80 7F 02 54 */ lwz r3, 0x254(r31) +/* 8035B558 003584B8 38 03 FF FF */ addi r0, r3, -1 +/* 8035B55C 003584BC 54 00 18 38 */ slwi r0, r0, 3 +/* 8035B560 003584C0 7C 7F 02 14 */ add r3, r31, r0 +/* 8035B564 003584C4 80 63 00 58 */ lwz r3, 0x58(r3) +/* 8035B568 003584C8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8035B56C 003584CC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8035B570 003584D0 7C 08 03 A6 */ mtlr r0 +/* 8035B574 003584D4 38 21 00 20 */ addi r1, r1, 0x20 +/* 8035B578 003584D8 4E 80 00 20 */ blr + +.global __ct__17CTextRenderBufferFQ217CTextRenderBuffer5EMode +__ct__17CTextRenderBufferFQ217CTextRenderBuffer5EMode: +/* 8035B57C 003584DC 90 83 00 00 */ stw r4, 0(r3) +/* 8035B580 003584E0 38 A0 00 00 */ li r5, 0 +/* 8035B584 003584E4 38 00 FF FF */ li r0, -1 +/* 8035B588 003584E8 90 A3 00 08 */ stw r5, 8(r3) +/* 8035B58C 003584EC 90 A3 00 0C */ stw r5, 0xc(r3) +/* 8035B590 003584F0 90 A3 00 10 */ stw r5, 0x10(r3) +/* 8035B594 003584F4 90 A3 00 18 */ stw r5, 0x18(r3) +/* 8035B598 003584F8 90 A3 00 1C */ stw r5, 0x1c(r3) +/* 8035B59C 003584FC 90 A3 00 20 */ stw r5, 0x20(r3) +/* 8035B5A0 00358500 90 A3 00 28 */ stw r5, 0x28(r3) +/* 8035B5A4 00358504 90 A3 00 2C */ stw r5, 0x2c(r3) +/* 8035B5A8 00358508 90 A3 00 30 */ stw r5, 0x30(r3) +/* 8035B5AC 0035850C 90 A3 00 38 */ stw r5, 0x38(r3) +/* 8035B5B0 00358510 90 A3 00 3C */ stw r5, 0x3c(r3) +/* 8035B5B4 00358514 90 A3 00 40 */ stw r5, 0x40(r3) +/* 8035B5B8 00358518 90 A3 00 44 */ stw r5, 0x44(r3) +/* 8035B5BC 0035851C 90 A3 00 48 */ stw r5, 0x48(r3) +/* 8035B5C0 00358520 98 03 00 4C */ stb r0, 0x4c(r3) +/* 8035B5C4 00358524 98 03 00 4D */ stb r0, 0x4d(r3) +/* 8035B5C8 00358528 98 03 00 4E */ stb r0, 0x4e(r3) +/* 8035B5CC 0035852C 98 03 00 4F */ stb r0, 0x4f(r3) +/* 8035B5D0 00358530 90 A3 00 50 */ stw r5, 0x50(r3) +/* 8035B5D4 00358534 90 A3 02 54 */ stw r5, 0x254(r3) +/* 8035B5D8 00358538 4E 80 00 20 */ blr diff --git a/asm/Kyoto/rstl/RstlExtras.s b/asm/Kyoto/rstl/RstlExtras.s new file mode 100644 index 00000000..bee9c171 --- /dev/null +++ b/asm/Kyoto/rstl/RstlExtras.s @@ -0,0 +1,598 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global "TokenizeString__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>PCci" +"TokenizeString__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>PCci": +/* 8033E430 0033B390 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 8033E434 0033B394 7C 08 02 A6 */ mflr r0 +/* 8033E438 0033B398 2C 06 00 00 */ cmpwi r6, 0 +/* 8033E43C 0033B39C 90 01 00 54 */ stw r0, 0x54(r1) +/* 8033E440 0033B3A0 38 00 00 00 */ li r0, 0 +/* 8033E444 0033B3A4 BF 41 00 38 */ stmw r26, 0x38(r1) +/* 8033E448 0033B3A8 7C 7D 1B 78 */ mr r29, r3 +/* 8033E44C 0033B3AC 7C 9E 23 78 */ mr r30, r4 +/* 8033E450 0033B3B0 7C BF 2B 78 */ mr r31, r5 +/* 8033E454 0033B3B4 90 01 00 2C */ stw r0, 0x2c(r1) +/* 8033E458 0033B3B8 90 01 00 30 */ stw r0, 0x30(r1) +/* 8033E45C 0033B3BC 90 01 00 34 */ stw r0, 0x34(r1) +/* 8033E460 0033B3C0 40 81 00 10 */ ble lbl_8033E470 +/* 8033E464 0033B3C4 7C C4 33 78 */ mr r4, r6 +/* 8033E468 0033B3C8 38 61 00 28 */ addi r3, r1, 0x28 +/* 8033E46C 0033B3CC 4B D1 B7 49 */ bl "reserve__Q24rstl110vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Fi" +lbl_8033E470: +/* 8033E470 0033B3D0 83 9E 00 08 */ lwz r28, 8(r30) +/* 8033E474 0033B3D4 3B 60 00 00 */ li r27, 0 +/* 8033E478 0033B3D8 48 00 00 D8 */ b lbl_8033E550 +/* 8033E47C 0033B3DC 48 00 00 08 */ b lbl_8033E484 +lbl_8033E480: +/* 8033E480 0033B3E0 3B 7B 00 01 */ addi r27, r27, 1 +lbl_8033E484: +/* 8033E484 0033B3E4 7C 1B E0 00 */ cmpw r27, r28 +/* 8033E488 0033B3E8 40 80 00 20 */ bge lbl_8033E4A8 +/* 8033E48C 0033B3EC 80 9E 00 00 */ lwz r4, 0(r30) +/* 8033E490 0033B3F0 7F E3 FB 78 */ mr r3, r31 +/* 8033E494 0033B3F4 7C 84 D8 AE */ lbzx r4, r4, r27 +/* 8033E498 0033B3F8 7C 84 07 74 */ extsb r4, r4 +/* 8033E49C 0033B3FC 48 05 1A 91 */ bl strchr +/* 8033E4A0 0033B400 28 03 00 00 */ cmplwi r3, 0 +/* 8033E4A4 0033B404 40 82 FF DC */ bne lbl_8033E480 +lbl_8033E4A8: +/* 8033E4A8 0033B408 7C 1B E0 00 */ cmpw r27, r28 +/* 8033E4AC 0033B40C 41 82 00 AC */ beq lbl_8033E558 +/* 8033E4B0 0033B410 3B 5B 00 01 */ addi r26, r27, 1 +/* 8033E4B4 0033B414 48 00 00 08 */ b lbl_8033E4BC +lbl_8033E4B8: +/* 8033E4B8 0033B418 3B 5A 00 01 */ addi r26, r26, 1 +lbl_8033E4BC: +/* 8033E4BC 0033B41C 7C 1A E0 00 */ cmpw r26, r28 +/* 8033E4C0 0033B420 40 80 00 20 */ bge lbl_8033E4E0 +/* 8033E4C4 0033B424 80 9E 00 00 */ lwz r4, 0(r30) +/* 8033E4C8 0033B428 7F E3 FB 78 */ mr r3, r31 +/* 8033E4CC 0033B42C 7C 84 D0 AE */ lbzx r4, r4, r26 +/* 8033E4D0 0033B430 7C 84 07 74 */ extsb r4, r4 +/* 8033E4D4 0033B434 48 05 1A 59 */ bl strchr +/* 8033E4D8 0033B438 28 03 00 00 */ cmplwi r3, 0 +/* 8033E4DC 0033B43C 41 82 FF DC */ beq lbl_8033E4B8 +lbl_8033E4E0: +/* 8033E4E0 0033B440 7F C4 F3 78 */ mr r4, r30 +/* 8033E4E4 0033B444 7F 65 DB 78 */ mr r5, r27 +/* 8033E4E8 0033B448 38 61 00 18 */ addi r3, r1, 0x18 +/* 8033E4EC 0033B44C 7C DB D0 50 */ subf r6, r27, r26 +/* 8033E4F0 0033B450 4B ED EB D9 */ bl "substr__Q24rstl66basic_string,Q24rstl17rmemory_allocator>CFii" +/* 8033E4F4 0033B454 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 8033E4F8 0033B458 80 A1 00 30 */ lwz r5, 0x30(r1) +/* 8033E4FC 0033B45C 7C 00 28 00 */ cmpw r0, r5 +/* 8033E500 0033B460 41 80 00 1C */ blt lbl_8033E51C +/* 8033E504 0033B464 2C 05 00 00 */ cmpwi r5, 0 +/* 8033E508 0033B468 38 61 00 28 */ addi r3, r1, 0x28 +/* 8033E50C 0033B46C 38 80 00 04 */ li r4, 4 +/* 8033E510 0033B470 41 82 00 08 */ beq lbl_8033E518 +/* 8033E514 0033B474 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8033E518: +/* 8033E518 0033B478 4B D1 B6 9D */ bl "reserve__Q24rstl110vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Fi" +lbl_8033E51C: +/* 8033E51C 0033B47C 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 8033E520 0033B480 80 61 00 34 */ lwz r3, 0x34(r1) +/* 8033E524 0033B484 54 00 20 36 */ slwi r0, r0, 4 +/* 8033E528 0033B488 7C 63 02 15 */ add. r3, r3, r0 +/* 8033E52C 0033B48C 41 82 00 0C */ beq lbl_8033E538 +/* 8033E530 0033B490 38 81 00 18 */ addi r4, r1, 0x18 +/* 8033E534 0033B494 4B FF FC 2D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +lbl_8033E538: +/* 8033E538 0033B498 80 81 00 2C */ lwz r4, 0x2c(r1) +/* 8033E53C 0033B49C 38 61 00 18 */ addi r3, r1, 0x18 +/* 8033E540 0033B4A0 38 04 00 01 */ addi r0, r4, 1 +/* 8033E544 0033B4A4 90 01 00 2C */ stw r0, 0x2c(r1) +/* 8033E548 0033B4A8 4B FF F5 99 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8033E54C 0033B4AC 3B 7A 00 01 */ addi r27, r26, 1 +lbl_8033E550: +/* 8033E550 0033B4B0 7C 1B E0 00 */ cmpw r27, r28 +/* 8033E554 0033B4B4 41 80 FF 30 */ blt lbl_8033E484 +lbl_8033E558: +/* 8033E558 0033B4B8 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 8033E55C 0033B4BC 90 1D 00 04 */ stw r0, 4(r29) +/* 8033E560 0033B4C0 80 01 00 30 */ lwz r0, 0x30(r1) +/* 8033E564 0033B4C4 90 1D 00 08 */ stw r0, 8(r29) +/* 8033E568 0033B4C8 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 8033E56C 0033B4CC 2C 00 00 00 */ cmpwi r0, 0 +/* 8033E570 0033B4D0 40 82 00 1C */ bne lbl_8033E58C +/* 8033E574 0033B4D4 80 01 00 30 */ lwz r0, 0x30(r1) +/* 8033E578 0033B4D8 2C 00 00 00 */ cmpwi r0, 0 +/* 8033E57C 0033B4DC 40 82 00 10 */ bne lbl_8033E58C +/* 8033E580 0033B4E0 38 00 00 00 */ li r0, 0 +/* 8033E584 0033B4E4 90 1D 00 0C */ stw r0, 0xc(r29) +/* 8033E588 0033B4E8 48 00 00 6C */ b lbl_8033E5F4 +lbl_8033E58C: +/* 8033E58C 0033B4EC 80 1D 00 08 */ lwz r0, 8(r29) +/* 8033E590 0033B4F0 54 03 20 37 */ rlwinm. r3, r0, 4, 0, 0x1b +/* 8033E594 0033B4F4 40 82 00 10 */ bne lbl_8033E5A4 +/* 8033E598 0033B4F8 38 00 00 00 */ li r0, 0 +/* 8033E59C 0033B4FC 90 1D 00 0C */ stw r0, 0xc(r29) +/* 8033E5A0 0033B500 48 00 00 18 */ b lbl_8033E5B8 +lbl_8033E5A4: +/* 8033E5A4 0033B504 3C 80 80 3D */ lis r4, lbl_803D7A50@ha +/* 8033E5A8 0033B508 38 A0 00 00 */ li r5, 0 +/* 8033E5AC 0033B50C 38 84 7A 50 */ addi r4, r4, lbl_803D7A50@l +/* 8033E5B0 0033B510 4B FD 72 69 */ bl __nwa__FUlPCcPCc +/* 8033E5B4 0033B514 90 7D 00 0C */ stw r3, 0xc(r29) +lbl_8033E5B8: +/* 8033E5B8 0033B518 83 9D 00 04 */ lwz r28, 4(r29) +/* 8033E5BC 0033B51C 3B C0 00 00 */ li r30, 0 +/* 8033E5C0 0033B520 83 E1 00 34 */ lwz r31, 0x34(r1) +/* 8033E5C4 0033B524 83 BD 00 0C */ lwz r29, 0xc(r29) +/* 8033E5C8 0033B528 48 00 00 24 */ b lbl_8033E5EC +lbl_8033E5CC: +/* 8033E5CC 0033B52C 28 1D 00 00 */ cmplwi r29, 0 +/* 8033E5D0 0033B530 41 82 00 10 */ beq lbl_8033E5E0 +/* 8033E5D4 0033B534 7F A3 EB 78 */ mr r3, r29 +/* 8033E5D8 0033B538 7F E4 FB 78 */ mr r4, r31 +/* 8033E5DC 0033B53C 4B FF FB 85 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +lbl_8033E5E0: +/* 8033E5E0 0033B540 3B BD 00 10 */ addi r29, r29, 0x10 +/* 8033E5E4 0033B544 3B DE 00 01 */ addi r30, r30, 1 +/* 8033E5E8 0033B548 3B FF 00 10 */ addi r31, r31, 0x10 +lbl_8033E5EC: +/* 8033E5EC 0033B54C 7C 1E E0 00 */ cmpw r30, r28 +/* 8033E5F0 0033B550 41 80 FF DC */ blt lbl_8033E5CC +lbl_8033E5F4: +/* 8033E5F4 0033B554 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 8033E5F8 0033B558 83 81 00 34 */ lwz r28, 0x34(r1) +/* 8033E5FC 0033B55C 54 00 20 36 */ slwi r0, r0, 4 +/* 8033E600 0033B560 7F BC 02 14 */ add r29, r28, r0 +/* 8033E604 0033B564 93 81 00 0C */ stw r28, 0xc(r1) +/* 8033E608 0033B568 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8033E60C 0033B56C 93 A1 00 10 */ stw r29, 0x10(r1) +/* 8033E610 0033B570 93 81 00 08 */ stw r28, 8(r1) +/* 8033E614 0033B574 48 00 00 18 */ b lbl_8033E62C +lbl_8033E618: +/* 8033E618 0033B578 28 1C 00 00 */ cmplwi r28, 0 +/* 8033E61C 0033B57C 41 82 00 0C */ beq lbl_8033E628 +/* 8033E620 0033B580 7F 83 E3 78 */ mr r3, r28 +/* 8033E624 0033B584 4B FF F4 BD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8033E628: +/* 8033E628 0033B588 3B 9C 00 10 */ addi r28, r28, 0x10 +lbl_8033E62C: +/* 8033E62C 0033B58C 7C 1C E8 40 */ cmplw r28, r29 +/* 8033E630 0033B590 40 82 FF E8 */ bne lbl_8033E618 +/* 8033E634 0033B594 80 61 00 34 */ lwz r3, 0x34(r1) +/* 8033E638 0033B598 28 03 00 00 */ cmplwi r3, 0 +/* 8033E63C 0033B59C 41 82 00 08 */ beq lbl_8033E644 +/* 8033E640 0033B5A0 4B FD 72 F1 */ bl Free__7CMemoryFPCv +lbl_8033E644: +/* 8033E644 0033B5A4 BB 41 00 38 */ lmw r26, 0x38(r1) +/* 8033E648 0033B5A8 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8033E64C 0033B5AC 7C 08 03 A6 */ mtlr r0 +/* 8033E650 0033B5B0 38 21 00 50 */ addi r1, r1, 0x50 +/* 8033E654 0033B5B4 4E 80 00 20 */ blr + +.global ReadString__13CStringExtrasFR12CInputStream +ReadString__13CStringExtrasFR12CInputStream: +/* 8033E658 0033B5B8 94 21 FD D0 */ stwu r1, -0x230(r1) +/* 8033E65C 0033B5BC 7C 08 02 A6 */ mflr r0 +/* 8033E660 0033B5C0 38 AD A9 18 */ addi r5, r13, "_EmptyString__Q24rstl66basic_string,Q24rstl17rmemory_allocator>"@sda21 +/* 8033E664 0033B5C4 90 01 02 34 */ stw r0, 0x234(r1) +/* 8033E668 0033B5C8 38 00 00 00 */ li r0, 0 +/* 8033E66C 0033B5CC 93 E1 02 2C */ stw r31, 0x22c(r1) +/* 8033E670 0033B5D0 93 C1 02 28 */ stw r30, 0x228(r1) +/* 8033E674 0033B5D4 93 A1 02 24 */ stw r29, 0x224(r1) +/* 8033E678 0033B5D8 7C 9D 23 78 */ mr r29, r4 +/* 8033E67C 0033B5DC 93 81 02 20 */ stw r28, 0x220(r1) +/* 8033E680 0033B5E0 7C 7C 1B 78 */ mr r28, r3 +/* 8033E684 0033B5E4 7F A3 EB 78 */ mr r3, r29 +/* 8033E688 0033B5E8 90 A1 00 08 */ stw r5, 8(r1) +/* 8033E68C 0033B5EC 90 01 00 0C */ stw r0, 0xc(r1) +/* 8033E690 0033B5F0 90 01 00 10 */ stw r0, 0x10(r1) +/* 8033E694 0033B5F4 48 00 05 F1 */ bl ReadLong__12CInputStreamFv +/* 8033E698 0033B5F8 7C 64 1B 78 */ mr r4, r3 +/* 8033E69C 0033B5FC 38 61 00 08 */ addi r3, r1, 8 +/* 8033E6A0 0033B600 38 A0 00 01 */ li r5, 1 +/* 8033E6A4 0033B604 7C 9E 23 78 */ mr r30, r4 +/* 8033E6A8 0033B608 4B FF F2 89 */ bl "internal_prepare_to_write__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fib" +/* 8033E6AC 0033B60C 48 00 00 38 */ b lbl_8033E6E4 +lbl_8033E6B0: +/* 8033E6B0 0033B610 28 1E 02 00 */ cmplwi r30, 0x200 +/* 8033E6B4 0033B614 3B E0 02 00 */ li r31, 0x200 +/* 8033E6B8 0033B618 41 81 00 08 */ bgt lbl_8033E6C0 +/* 8033E6BC 0033B61C 7F DF F3 78 */ mr r31, r30 +lbl_8033E6C0: +/* 8033E6C0 0033B620 7F A3 EB 78 */ mr r3, r29 +/* 8033E6C4 0033B624 7F E5 FB 78 */ mr r5, r31 +/* 8033E6C8 0033B628 38 81 00 18 */ addi r4, r1, 0x18 +/* 8033E6CC 0033B62C 48 00 07 B5 */ bl ReadBytes__12CInputStreamFPvUl +/* 8033E6D0 0033B630 7F E5 FB 78 */ mr r5, r31 +/* 8033E6D4 0033B634 38 61 00 08 */ addi r3, r1, 8 +/* 8033E6D8 0033B638 38 81 00 18 */ addi r4, r1, 0x18 +/* 8033E6DC 0033B63C 4B FF F8 09 */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCci" +/* 8033E6E0 0033B640 7F DF F0 50 */ subf r30, r31, r30 +lbl_8033E6E4: +/* 8033E6E4 0033B644 2C 1E 00 00 */ cmpwi r30, 0 +/* 8033E6E8 0033B648 41 81 FF C8 */ bgt lbl_8033E6B0 +/* 8033E6EC 0033B64C 7F 83 E3 78 */ mr r3, r28 +/* 8033E6F0 0033B650 38 81 00 08 */ addi r4, r1, 8 +/* 8033E6F4 0033B654 4B FF FA 6D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8033E6F8 0033B658 38 61 00 08 */ addi r3, r1, 8 +/* 8033E6FC 0033B65C 4B FF F3 E5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8033E700 0033B660 80 01 02 34 */ lwz r0, 0x234(r1) +/* 8033E704 0033B664 83 E1 02 2C */ lwz r31, 0x22c(r1) +/* 8033E708 0033B668 83 C1 02 28 */ lwz r30, 0x228(r1) +/* 8033E70C 0033B66C 83 A1 02 24 */ lwz r29, 0x224(r1) +/* 8033E710 0033B670 83 81 02 20 */ lwz r28, 0x220(r1) +/* 8033E714 0033B674 7C 08 03 A6 */ mtlr r0 +/* 8033E718 0033B678 38 21 02 30 */ addi r1, r1, 0x230 +/* 8033E71C 0033B67C 4E 80 00 20 */ blr + +.global "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +"ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": +/* 8033E720 0033B680 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8033E724 0033B684 7C 08 02 A6 */ mflr r0 +/* 8033E728 0033B688 38 AD A9 1A */ addi r5, r13, lbl_805A94DA@sda21 +/* 8033E72C 0033B68C 90 01 00 34 */ stw r0, 0x34(r1) +/* 8033E730 0033B690 38 00 00 00 */ li r0, 0 +/* 8033E734 0033B694 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8033E738 0033B698 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8033E73C 0033B69C 7C 9E 23 78 */ mr r30, r4 +/* 8033E740 0033B6A0 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8033E744 0033B6A4 7C 7D 1B 78 */ mr r29, r3 +/* 8033E748 0033B6A8 38 61 00 08 */ addi r3, r1, 8 +/* 8033E74C 0033B6AC 80 84 00 08 */ lwz r4, 8(r4) +/* 8033E750 0033B6B0 90 A1 00 08 */ stw r5, 8(r1) +/* 8033E754 0033B6B4 38 A0 00 01 */ li r5, 1 +/* 8033E758 0033B6B8 38 84 00 01 */ addi r4, r4, 1 +/* 8033E75C 0033B6BC 90 01 00 0C */ stw r0, 0xc(r1) +/* 8033E760 0033B6C0 90 01 00 10 */ stw r0, 0x10(r1) +/* 8033E764 0033B6C4 4B FF E8 11 */ bl "internal_prepare_to_write__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fib" +/* 8033E768 0033B6C8 3B E0 00 00 */ li r31, 0 +/* 8033E76C 0033B6CC 48 00 00 20 */ b lbl_8033E78C +lbl_8033E770: +/* 8033E770 0033B6D0 80 BE 00 00 */ lwz r5, 0(r30) +/* 8033E774 0033B6D4 38 61 00 08 */ addi r3, r1, 8 +/* 8033E778 0033B6D8 38 80 00 01 */ li r4, 1 +/* 8033E77C 0033B6DC 7C A5 F8 AE */ lbzx r5, r5, r31 +/* 8033E780 0033B6E0 7C A5 07 74 */ extsb r5, r5 +/* 8033E784 0033B6E4 4B FF EC 55 */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fiw" +/* 8033E788 0033B6E8 3B FF 00 01 */ addi r31, r31, 1 +lbl_8033E78C: +/* 8033E78C 0033B6EC 80 1E 00 08 */ lwz r0, 8(r30) +/* 8033E790 0033B6F0 7C 1F 00 00 */ cmpw r31, r0 +/* 8033E794 0033B6F4 41 80 FF DC */ blt lbl_8033E770 +/* 8033E798 0033B6F8 7F A3 EB 78 */ mr r3, r29 +/* 8033E79C 0033B6FC 38 81 00 08 */ addi r4, r1, 8 +/* 8033E7A0 0033B700 4B FF EF E9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8033E7A4 0033B704 38 61 00 08 */ addi r3, r1, 8 +/* 8033E7A8 0033B708 4B FF E9 8D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8033E7AC 0033B70C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8033E7B0 0033B710 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8033E7B4 0033B714 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8033E7B8 0033B718 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8033E7BC 0033B71C 7C 08 03 A6 */ mtlr r0 +/* 8033E7C0 0033B720 38 21 00 30 */ addi r1, r1, 0x30 +/* 8033E7C4 0033B724 4E 80 00 20 */ blr + +.global "ConvertToANSI__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +"ConvertToANSI__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": +/* 8033E7C8 0033B728 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8033E7CC 0033B72C 7C 08 02 A6 */ mflr r0 +/* 8033E7D0 0033B730 38 AD A9 18 */ addi r5, r13, "_EmptyString__Q24rstl66basic_string,Q24rstl17rmemory_allocator>"@sda21 +/* 8033E7D4 0033B734 90 01 00 44 */ stw r0, 0x44(r1) +/* 8033E7D8 0033B738 38 00 00 00 */ li r0, 0 +/* 8033E7DC 0033B73C 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 8033E7E0 0033B740 93 C1 00 38 */ stw r30, 0x38(r1) +/* 8033E7E4 0033B744 93 A1 00 34 */ stw r29, 0x34(r1) +/* 8033E7E8 0033B748 7C 9D 23 78 */ mr r29, r4 +/* 8033E7EC 0033B74C 93 81 00 30 */ stw r28, 0x30(r1) +/* 8033E7F0 0033B750 7C 7C 1B 78 */ mr r28, r3 +/* 8033E7F4 0033B754 38 61 00 18 */ addi r3, r1, 0x18 +/* 8033E7F8 0033B758 80 84 00 08 */ lwz r4, 8(r4) +/* 8033E7FC 0033B75C 90 A1 00 18 */ stw r5, 0x18(r1) +/* 8033E800 0033B760 38 A0 00 01 */ li r5, 1 +/* 8033E804 0033B764 38 84 00 01 */ addi r4, r4, 1 +/* 8033E808 0033B768 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8033E80C 0033B76C 90 01 00 20 */ stw r0, 0x20(r1) +/* 8033E810 0033B770 4B FF F1 21 */ bl "internal_prepare_to_write__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fib" +/* 8033E814 0033B774 3B C0 00 00 */ li r30, 0 +/* 8033E818 0033B778 3B E0 00 00 */ li r31, 0 +/* 8033E81C 0033B77C 48 00 00 38 */ b lbl_8033E854 +lbl_8033E820: +/* 8033E820 0033B780 80 BD 00 00 */ lwz r5, 0(r29) +/* 8033E824 0033B784 38 61 00 08 */ addi r3, r1, 8 +/* 8033E828 0033B788 38 81 00 18 */ addi r4, r1, 0x18 +/* 8033E82C 0033B78C 7C 05 FA 2E */ lhzx r0, r5, r31 +/* 8033E830 0033B790 7C 05 07 74 */ extsb r5, r0 +/* 8033E834 0033B794 4B EC D8 61 */ bl "__pl__4rstlFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>c" +/* 8033E838 0033B798 38 61 00 18 */ addi r3, r1, 0x18 +/* 8033E83C 0033B79C 38 81 00 08 */ addi r4, r1, 8 +/* 8033E840 0033B7A0 4B FF F5 1D */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8033E844 0033B7A4 38 61 00 08 */ addi r3, r1, 8 +/* 8033E848 0033B7A8 4B FF F2 99 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8033E84C 0033B7AC 3B FF 00 02 */ addi r31, r31, 2 +/* 8033E850 0033B7B0 3B DE 00 01 */ addi r30, r30, 1 +lbl_8033E854: +/* 8033E854 0033B7B4 80 1D 00 08 */ lwz r0, 8(r29) +/* 8033E858 0033B7B8 7C 1E 00 00 */ cmpw r30, r0 +/* 8033E85C 0033B7BC 41 80 FF C4 */ blt lbl_8033E820 +/* 8033E860 0033B7C0 7F 83 E3 78 */ mr r3, r28 +/* 8033E864 0033B7C4 38 81 00 18 */ addi r4, r1, 0x18 +/* 8033E868 0033B7C8 4B FF F8 F9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8033E86C 0033B7CC 38 61 00 18 */ addi r3, r1, 0x18 +/* 8033E870 0033B7D0 4B FF F2 71 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8033E874 0033B7D4 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8033E878 0033B7D8 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 8033E87C 0033B7DC 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 8033E880 0033B7E0 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 8033E884 0033B7E4 83 81 00 30 */ lwz r28, 0x30(r1) +/* 8033E888 0033B7E8 7C 08 03 A6 */ mtlr r0 +/* 8033E88C 0033B7EC 38 21 00 40 */ addi r1, r1, 0x40 +/* 8033E890 0033B7F0 4E 80 00 20 */ blr + +.global CreateFromInteger__13CStringExtrasFi +CreateFromInteger__13CStringExtrasFi: +/* 8033E894 0033B7F4 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8033E898 0033B7F8 7C 08 02 A6 */ mflr r0 +/* 8033E89C 0033B7FC 7C 85 FE 70 */ srawi r5, r4, 0x1f +/* 8033E8A0 0033B800 2C 04 00 00 */ cmpwi r4, 0 +/* 8033E8A4 0033B804 90 01 00 44 */ stw r0, 0x44(r1) +/* 8033E8A8 0033B808 7C A0 22 78 */ xor r0, r5, r4 +/* 8033E8AC 0033B80C 7D 05 00 50 */ subf r8, r5, r0 +/* 8033E8B0 0033B810 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 8033E8B4 0033B814 3B E0 00 00 */ li r31, 0 +/* 8033E8B8 0033B818 93 C1 00 38 */ stw r30, 0x38(r1) +/* 8033E8BC 0033B81C 7C 7E 1B 78 */ mr r30, r3 +/* 8033E8C0 0033B820 93 A1 00 34 */ stw r29, 0x34(r1) +/* 8033E8C4 0033B824 93 81 00 30 */ stw r28, 0x30(r1) +/* 8033E8C8 0033B828 40 82 00 18 */ bne lbl_8033E8E0 +/* 8033E8CC 0033B82C 3C 80 80 3D */ lis r4, lbl_803D7A50@ha +/* 8033E8D0 0033B830 38 84 7A 50 */ addi r4, r4, lbl_803D7A50@l +/* 8033E8D4 0033B834 38 84 00 0E */ addi r4, r4, 0xe +/* 8033E8D8 0033B838 4B CC 63 E1 */ bl string_l__4rstlFPCc +/* 8033E8DC 0033B83C 48 00 00 CC */ b lbl_8033E9A8 +lbl_8033E8E0: +/* 8033E8E0 0033B840 3C 60 66 66 */ lis r3, 0x66666667@ha +/* 8033E8E4 0033B844 38 E1 00 18 */ addi r7, r1, 0x18 +/* 8033E8E8 0033B848 38 C3 66 67 */ addi r6, r3, 0x66666667@l +/* 8033E8EC 0033B84C 48 00 00 38 */ b lbl_8033E924 +lbl_8033E8F0: +/* 8033E8F0 0033B850 7C 06 40 96 */ mulhw r0, r6, r8 +/* 8033E8F4 0033B854 3B FF 00 01 */ addi r31, r31, 1 +/* 8033E8F8 0033B858 7C 03 16 70 */ srawi r3, r0, 2 +/* 8033E8FC 0033B85C 54 65 0F FE */ srwi r5, r3, 0x1f +/* 8033E900 0033B860 7C 00 16 70 */ srawi r0, r0, 2 +/* 8033E904 0033B864 7C 63 2A 14 */ add r3, r3, r5 +/* 8033E908 0033B868 1C A3 00 0A */ mulli r5, r3, 0xa +/* 8033E90C 0033B86C 54 03 0F FE */ srwi r3, r0, 0x1f +/* 8033E910 0033B870 7C A5 40 50 */ subf r5, r5, r8 +/* 8033E914 0033B874 7D 00 1A 14 */ add r8, r0, r3 +/* 8033E918 0033B878 38 05 00 30 */ addi r0, r5, 0x30 +/* 8033E91C 0033B87C 98 07 00 00 */ stb r0, 0(r7) +/* 8033E920 0033B880 38 E7 00 01 */ addi r7, r7, 1 +lbl_8033E924: +/* 8033E924 0033B884 2C 08 00 00 */ cmpwi r8, 0 +/* 8033E928 0033B888 41 81 FF C8 */ bgt lbl_8033E8F0 +/* 8033E92C 0033B88C 38 00 00 00 */ li r0, 0 +/* 8033E930 0033B890 38 6D A9 18 */ addi r3, r13, "_EmptyString__Q24rstl66basic_string,Q24rstl17rmemory_allocator>"@sda21 +/* 8033E934 0033B894 2C 04 00 00 */ cmpwi r4, 0 +/* 8033E938 0033B898 90 61 00 08 */ stw r3, 8(r1) +/* 8033E93C 0033B89C 90 01 00 0C */ stw r0, 0xc(r1) +/* 8033E940 0033B8A0 90 01 00 10 */ stw r0, 0x10(r1) +/* 8033E944 0033B8A4 40 80 00 1C */ bge lbl_8033E960 +/* 8033E948 0033B8A8 3C 80 80 3D */ lis r4, lbl_803D7A50@ha +/* 8033E94C 0033B8AC 38 61 00 08 */ addi r3, r1, 8 +/* 8033E950 0033B8B0 38 84 7A 50 */ addi r4, r4, lbl_803D7A50@l +/* 8033E954 0033B8B4 38 A0 FF FF */ li r5, -1 +/* 8033E958 0033B8B8 38 84 00 10 */ addi r4, r4, 0x10 +/* 8033E95C 0033B8BC 4B FF F5 89 */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCci" +lbl_8033E960: +/* 8033E960 0033B8C0 3B A1 00 18 */ addi r29, r1, 0x18 +/* 8033E964 0033B8C4 3B 80 00 00 */ li r28, 0 +/* 8033E968 0033B8C8 48 00 00 24 */ b lbl_8033E98C +lbl_8033E96C: +/* 8033E96C 0033B8CC 7C 9C F8 50 */ subf r4, r28, r31 +/* 8033E970 0033B8D0 38 61 00 08 */ addi r3, r1, 8 +/* 8033E974 0033B8D4 38 04 FF FF */ addi r0, r4, -1 +/* 8033E978 0033B8D8 38 80 00 01 */ li r4, 1 +/* 8033E97C 0033B8DC 7C 1D 00 AE */ lbzx r0, r29, r0 +/* 8033E980 0033B8E0 7C 05 07 74 */ extsb r5, r0 +/* 8033E984 0033B8E4 4B FF F4 65 */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fic" +/* 8033E988 0033B8E8 3B 9C 00 01 */ addi r28, r28, 1 +lbl_8033E98C: +/* 8033E98C 0033B8EC 7C 1C F8 00 */ cmpw r28, r31 +/* 8033E990 0033B8F0 41 80 FF DC */ blt lbl_8033E96C +/* 8033E994 0033B8F4 7F C3 F3 78 */ mr r3, r30 +/* 8033E998 0033B8F8 38 81 00 08 */ addi r4, r1, 8 +/* 8033E99C 0033B8FC 4B FF F7 C5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8033E9A0 0033B900 38 61 00 08 */ addi r3, r1, 8 +/* 8033E9A4 0033B904 4B FF F1 3D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8033E9A8: +/* 8033E9A8 0033B908 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8033E9AC 0033B90C 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 8033E9B0 0033B910 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 8033E9B4 0033B914 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 8033E9B8 0033B918 83 81 00 30 */ lwz r28, 0x30(r1) +/* 8033E9BC 0033B91C 7C 08 03 A6 */ mtlr r0 +/* 8033E9C0 0033B920 38 21 00 40 */ addi r1, r1, 0x40 +/* 8033E9C4 0033B924 4E 80 00 20 */ blr + +.global ConvertToUpperCase__13CStringExtrasFc +ConvertToUpperCase__13CStringExtrasFc: +/* 8033E9C8 0033B928 7C 60 07 74 */ extsb r0, r3 +/* 8033E9CC 0033B92C 2C 00 00 61 */ cmpwi r0, 0x61 +/* 8033E9D0 0033B930 4D 80 00 20 */ bltlr +/* 8033E9D4 0033B934 2C 00 00 7A */ cmpwi r0, 0x7a +/* 8033E9D8 0033B938 4D 81 00 20 */ bgtlr +/* 8033E9DC 0033B93C 38 03 FF E0 */ addi r0, r3, -32 +/* 8033E9E0 0033B940 54 00 06 3E */ clrlwi r0, r0, 0x18 +/* 8033E9E4 0033B944 7C 03 07 74 */ extsb r3, r0 +/* 8033E9E8 0033B948 4E 80 00 20 */ blr + +.global "CompareCaseInsensitive__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +"CompareCaseInsensitive__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": +/* 8033E9EC 0033B94C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8033E9F0 0033B950 7C 08 02 A6 */ mflr r0 +/* 8033E9F4 0033B954 90 01 00 34 */ stw r0, 0x34(r1) +/* 8033E9F8 0033B958 BF 41 00 18 */ stmw r26, 0x18(r1) +/* 8033E9FC 0033B95C 7C 9B 23 78 */ mr r27, r4 +/* 8033EA00 0033B960 7C 7A 1B 78 */ mr r26, r3 +/* 8033EA04 0033B964 80 03 00 08 */ lwz r0, 8(r3) +/* 8033EA08 0033B968 38 61 00 0C */ addi r3, r1, 0xc +/* 8033EA0C 0033B96C 80 84 00 08 */ lwz r4, 8(r4) +/* 8033EA10 0033B970 90 01 00 0C */ stw r0, 0xc(r1) +/* 8033EA14 0033B974 7C 04 00 00 */ cmpw r4, r0 +/* 8033EA18 0033B978 90 81 00 08 */ stw r4, 8(r1) +/* 8033EA1C 0033B97C 40 80 00 08 */ bge lbl_8033EA24 +/* 8033EA20 0033B980 38 61 00 08 */ addi r3, r1, 8 +lbl_8033EA24: +/* 8033EA24 0033B984 83 A3 00 00 */ lwz r29, 0(r3) +/* 8033EA28 0033B988 3B 80 00 00 */ li r28, 0 +/* 8033EA2C 0033B98C 48 00 00 68 */ b lbl_8033EA94 +lbl_8033EA30: +/* 8033EA30 0033B990 80 7B 00 00 */ lwz r3, 0(r27) +/* 8033EA34 0033B994 83 FA 00 00 */ lwz r31, 0(r26) +/* 8033EA38 0033B998 7C 63 E0 AE */ lbzx r3, r3, r28 +/* 8033EA3C 0033B99C 4B FF FF 8D */ bl ConvertToUpperCase__13CStringExtrasFc +/* 8033EA40 0033B9A0 7C 7E 07 74 */ extsb r30, r3 +/* 8033EA44 0033B9A4 7C 7F E0 AE */ lbzx r3, r31, r28 +/* 8033EA48 0033B9A8 4B FF FF 81 */ bl ConvertToUpperCase__13CStringExtrasFc +/* 8033EA4C 0033B9AC 7C 60 07 74 */ extsb r0, r3 +/* 8033EA50 0033B9B0 7C 00 F0 00 */ cmpw r0, r30 +/* 8033EA54 0033B9B4 40 80 00 0C */ bge lbl_8033EA60 +/* 8033EA58 0033B9B8 38 60 FF FF */ li r3, -1 +/* 8033EA5C 0033B9BC 48 00 00 6C */ b lbl_8033EAC8 +lbl_8033EA60: +/* 8033EA60 0033B9C0 80 7B 00 00 */ lwz r3, 0(r27) +/* 8033EA64 0033B9C4 83 DA 00 00 */ lwz r30, 0(r26) +/* 8033EA68 0033B9C8 7C 63 E0 AE */ lbzx r3, r3, r28 +/* 8033EA6C 0033B9CC 4B FF FF 5D */ bl ConvertToUpperCase__13CStringExtrasFc +/* 8033EA70 0033B9D0 7C 7F 07 74 */ extsb r31, r3 +/* 8033EA74 0033B9D4 7C 7E E0 AE */ lbzx r3, r30, r28 +/* 8033EA78 0033B9D8 4B FF FF 51 */ bl ConvertToUpperCase__13CStringExtrasFc +/* 8033EA7C 0033B9DC 7C 60 07 74 */ extsb r0, r3 +/* 8033EA80 0033B9E0 7C 00 F8 00 */ cmpw r0, r31 +/* 8033EA84 0033B9E4 40 81 00 0C */ ble lbl_8033EA90 +/* 8033EA88 0033B9E8 38 60 00 01 */ li r3, 1 +/* 8033EA8C 0033B9EC 48 00 00 3C */ b lbl_8033EAC8 +lbl_8033EA90: +/* 8033EA90 0033B9F0 3B 9C 00 01 */ addi r28, r28, 1 +lbl_8033EA94: +/* 8033EA94 0033B9F4 7C 1C E8 00 */ cmpw r28, r29 +/* 8033EA98 0033B9F8 41 80 FF 98 */ blt lbl_8033EA30 +/* 8033EA9C 0033B9FC 80 81 00 0C */ lwz r4, 0xc(r1) +/* 8033EAA0 0033BA00 80 01 00 08 */ lwz r0, 8(r1) +/* 8033EAA4 0033BA04 7C 04 00 00 */ cmpw r4, r0 +/* 8033EAA8 0033BA08 40 80 00 0C */ bge lbl_8033EAB4 +/* 8033EAAC 0033BA0C 38 60 FF FF */ li r3, -1 +/* 8033EAB0 0033BA10 48 00 00 18 */ b lbl_8033EAC8 +lbl_8033EAB4: +/* 8033EAB4 0033BA14 7C 80 02 78 */ xor r0, r4, r0 +/* 8033EAB8 0033BA18 7C 03 0E 70 */ srawi r3, r0, 1 +/* 8033EABC 0033BA1C 7C 00 20 38 */ and r0, r0, r4 +/* 8033EAC0 0033BA20 7C 00 18 50 */ subf r0, r0, r3 +/* 8033EAC4 0033BA24 54 03 0F FE */ srwi r3, r0, 0x1f +lbl_8033EAC8: +/* 8033EAC8 0033BA28 BB 41 00 18 */ lmw r26, 0x18(r1) +/* 8033EACC 0033BA2C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8033EAD0 0033BA30 7C 08 03 A6 */ mtlr r0 +/* 8033EAD4 0033BA34 38 21 00 30 */ addi r1, r1, 0x30 +/* 8033EAD8 0033BA38 4E 80 00 20 */ blr + +.global "IndexOfSubstring__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +"IndexOfSubstring__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": +/* 8033EADC 0033BA3C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8033EAE0 0033BA40 7C 08 02 A6 */ mflr r0 +/* 8033EAE4 0033BA44 90 01 00 34 */ stw r0, 0x34(r1) +/* 8033EAE8 0033BA48 BF 01 00 10 */ stmw r24, 0x10(r1) +/* 8033EAEC 0033BA4C 7C 99 23 78 */ mr r25, r4 +/* 8033EAF0 0033BA50 7C 78 1B 78 */ mr r24, r3 +/* 8033EAF4 0033BA54 83 A4 00 08 */ lwz r29, 8(r4) +/* 8033EAF8 0033BA58 2C 1D 00 00 */ cmpwi r29, 0 +/* 8033EAFC 0033BA5C 40 82 00 0C */ bne lbl_8033EB08 +/* 8033EB00 0033BA60 38 60 00 00 */ li r3, 0 +/* 8033EB04 0033BA64 48 00 00 88 */ b lbl_8033EB8C +lbl_8033EB08: +/* 8033EB08 0033BA68 80 18 00 08 */ lwz r0, 8(r24) +/* 8033EB0C 0033BA6C 2C 00 00 00 */ cmpwi r0, 0 +/* 8033EB10 0033BA70 40 82 00 0C */ bne lbl_8033EB1C +/* 8033EB14 0033BA74 38 60 FF FF */ li r3, -1 +/* 8033EB18 0033BA78 48 00 00 74 */ b lbl_8033EB8C +lbl_8033EB1C: +/* 8033EB1C 0033BA7C 7C 7D 00 50 */ subf r3, r29, r0 +/* 8033EB20 0033BA80 3B 60 00 00 */ li r27, 0 +/* 8033EB24 0033BA84 3B 83 00 01 */ addi r28, r3, 1 +/* 8033EB28 0033BA88 48 00 00 58 */ b lbl_8033EB80 +lbl_8033EB2C: +/* 8033EB2C 0033BA8C 3B 40 00 00 */ li r26, 0 +/* 8033EB30 0033BA90 48 00 00 34 */ b lbl_8033EB64 +lbl_8033EB34: +/* 8033EB34 0033BA94 80 18 00 00 */ lwz r0, 0(r24) +/* 8033EB38 0033BA98 83 D9 00 00 */ lwz r30, 0(r25) +/* 8033EB3C 0033BA9C 7C 1A 02 14 */ add r0, r26, r0 +/* 8033EB40 0033BAA0 7C 7B 00 AE */ lbzx r3, r27, r0 +/* 8033EB44 0033BAA4 4B FF FE 85 */ bl ConvertToUpperCase__13CStringExtrasFc +/* 8033EB48 0033BAA8 7C 7F 07 74 */ extsb r31, r3 +/* 8033EB4C 0033BAAC 7C 7E D0 AE */ lbzx r3, r30, r26 +/* 8033EB50 0033BAB0 4B FF FE 79 */ bl ConvertToUpperCase__13CStringExtrasFc +/* 8033EB54 0033BAB4 7C 60 07 74 */ extsb r0, r3 +/* 8033EB58 0033BAB8 7C 00 F8 00 */ cmpw r0, r31 +/* 8033EB5C 0033BABC 40 82 00 10 */ bne lbl_8033EB6C +/* 8033EB60 0033BAC0 3B 5A 00 01 */ addi r26, r26, 1 +lbl_8033EB64: +/* 8033EB64 0033BAC4 7C 1A E8 00 */ cmpw r26, r29 +/* 8033EB68 0033BAC8 41 80 FF CC */ blt lbl_8033EB34 +lbl_8033EB6C: +/* 8033EB6C 0033BACC 7C 1A E8 00 */ cmpw r26, r29 +/* 8033EB70 0033BAD0 40 82 00 0C */ bne lbl_8033EB7C +/* 8033EB74 0033BAD4 7F 63 DB 78 */ mr r3, r27 +/* 8033EB78 0033BAD8 48 00 00 14 */ b lbl_8033EB8C +lbl_8033EB7C: +/* 8033EB7C 0033BADC 3B 7B 00 01 */ addi r27, r27, 1 +lbl_8033EB80: +/* 8033EB80 0033BAE0 7C 1B E0 00 */ cmpw r27, r28 +/* 8033EB84 0033BAE4 41 80 FF A8 */ blt lbl_8033EB2C +/* 8033EB88 0033BAE8 38 60 FF FF */ li r3, -1 +lbl_8033EB8C: +/* 8033EB8C 0033BAEC BB 01 00 10 */ lmw r24, 0x10(r1) +/* 8033EB90 0033BAF0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8033EB94 0033BAF4 7C 08 03 A6 */ mtlr r0 +/* 8033EB98 0033BAF8 38 21 00 30 */ addi r1, r1, 0x30 +/* 8033EB9C 0033BAFC 4E 80 00 20 */ blr + +.global __sinit_RstlExtras_cpp +__sinit_RstlExtras_cpp: +/* 8033EBA0 0033BB00 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033EBA4 0033BB04 7C 08 02 A6 */ mflr r0 +/* 8033EBA8 0033BB08 3C 80 80 34 */ lis r4, __ct__Q24rstl8CRefDataFPCPvi@ha +/* 8033EBAC 0033BB0C 3C A0 01 00 */ lis r5, 0x00FFFFFF@ha +/* 8033EBB0 0033BB10 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033EBB4 0033BB14 38 E0 00 00 */ li r7, 0 +/* 8033EBB8 0033BB18 38 05 FF FF */ addi r0, r5, 0x00FFFFFF@l +/* 8033EBBC 0033BB1C 38 CD A9 28 */ addi r6, r13, lbl_805A94E8@sda21 +/* 8033EBC0 0033BB20 3C 60 80 4C */ lis r3, lbl_804BFF30@ha +/* 8033EBC4 0033BB24 90 ED A9 28 */ stw r7, lbl_805A94E8@sda21(r13) +/* 8033EBC8 0033BB28 38 A3 FF 30 */ addi r5, r3, lbl_804BFF30@l +/* 8033EBCC 0033BB2C 38 84 EB EC */ addi r4, r4, __ct__Q24rstl8CRefDataFPCPvi@l +/* 8033EBD0 0033BB30 90 06 00 04 */ stw r0, 4(r6) +/* 8033EBD4 0033BB34 38 6D A9 28 */ addi r3, r13, lbl_805A94E8@sda21 +/* 8033EBD8 0033BB38 48 04 AA B5 */ bl __register_global_object +/* 8033EBDC 0033BB3C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033EBE0 0033BB40 7C 08 03 A6 */ mtlr r0 +/* 8033EBE4 0033BB44 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033EBE8 0033BB48 4E 80 00 20 */ blr + +.global __ct__Q24rstl8CRefDataFPCPvi +__ct__Q24rstl8CRefDataFPCPvi: +/* 8033EBEC 0033BB4C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033EBF0 0033BB50 7C 08 02 A6 */ mflr r0 +/* 8033EBF4 0033BB54 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033EBF8 0033BB58 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033EBFC 0033BB5C 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8033EC00 0033BB60 41 82 00 10 */ beq lbl_8033EC10 +/* 8033EC04 0033BB64 7C 80 07 35 */ extsh. r0, r4 +/* 8033EC08 0033BB68 40 81 00 08 */ ble lbl_8033EC10 +/* 8033EC0C 0033BB6C 4B FD 6D 25 */ bl Free__7CMemoryFPCv +lbl_8033EC10: +/* 8033EC10 0033BB70 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033EC14 0033BB74 7F E3 FB 78 */ mr r3, r31 +/* 8033EC18 0033BB78 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033EC1C 0033BB7C 7C 08 03 A6 */ mtlr r0 +/* 8033EC20 0033BB80 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033EC24 0033BB84 4E 80 00 20 */ blr + diff --git a/asm/Kyoto/rstl/rstl_map.s b/asm/Kyoto/rstl/rstl_map.s new file mode 100644 index 00000000..79a2cbc2 --- /dev/null +++ b/asm/Kyoto/rstl/rstl_map.s @@ -0,0 +1,534 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global rbtree_traverse_forward__4rstlFPCvPv +rbtree_traverse_forward__4rstlFPCvPv: +/* 8033C5E0 00339540 28 04 00 00 */ cmplwi r4, 0 +/* 8033C5E4 00339544 40 82 00 0C */ bne lbl_8033C5F0 +/* 8033C5E8 00339548 80 63 00 00 */ lwz r3, 0(r3) +/* 8033C5EC 0033954C 4E 80 00 20 */ blr +lbl_8033C5F0: +/* 8033C5F0 00339550 80 A4 00 04 */ lwz r5, 4(r4) +/* 8033C5F4 00339554 28 05 00 00 */ cmplwi r5, 0 +/* 8033C5F8 00339558 40 82 00 18 */ bne lbl_8033C610 +/* 8033C5FC 0033955C 80 04 00 08 */ lwz r0, 8(r4) +/* 8033C600 00339560 28 00 00 00 */ cmplwi r0, 0 +/* 8033C604 00339564 40 82 00 0C */ bne lbl_8033C610 +/* 8033C608 00339568 38 60 00 00 */ li r3, 0 +/* 8033C60C 0033956C 4E 80 00 20 */ blr +lbl_8033C610: +/* 8033C610 00339570 28 05 00 00 */ cmplwi r5, 0 +/* 8033C614 00339574 40 82 00 14 */ bne lbl_8033C628 +/* 8033C618 00339578 80 64 00 08 */ lwz r3, 8(r4) +/* 8033C61C 0033957C 80 03 00 00 */ lwz r0, 0(r3) +/* 8033C620 00339580 7C 00 20 40 */ cmplw r0, r4 +/* 8033C624 00339584 4D 82 00 20 */ beqlr +lbl_8033C628: +/* 8033C628 00339588 28 05 00 00 */ cmplwi r5, 0 +/* 8033C62C 0033958C 41 82 00 28 */ beq lbl_8033C654 +/* 8033C630 00339590 7C A3 2B 78 */ mr r3, r5 +/* 8033C634 00339594 48 00 00 08 */ b lbl_8033C63C +lbl_8033C638: +/* 8033C638 00339598 7C 03 03 78 */ mr r3, r0 +lbl_8033C63C: +/* 8033C63C 0033959C 80 03 00 00 */ lwz r0, 0(r3) +/* 8033C640 003395A0 28 00 00 00 */ cmplwi r0, 0 +/* 8033C644 003395A4 40 82 FF F4 */ bne lbl_8033C638 +/* 8033C648 003395A8 4E 80 00 20 */ blr +/* 8033C64C 003395AC 48 00 00 08 */ b lbl_8033C654 +lbl_8033C650: +/* 8033C650 003395B0 7C 64 1B 78 */ mr r4, r3 +lbl_8033C654: +/* 8033C654 003395B4 80 64 00 08 */ lwz r3, 8(r4) +/* 8033C658 003395B8 28 03 00 00 */ cmplwi r3, 0 +/* 8033C65C 003395BC 41 82 00 10 */ beq lbl_8033C66C +/* 8033C660 003395C0 80 03 00 04 */ lwz r0, 4(r3) +/* 8033C664 003395C4 7C 00 20 40 */ cmplw r0, r4 +/* 8033C668 003395C8 41 82 FF E8 */ beq lbl_8033C650 +lbl_8033C66C: +/* 8033C66C 003395CC 28 03 00 00 */ cmplwi r3, 0 +/* 8033C670 003395D0 4C 82 00 20 */ bnelr +/* 8033C674 003395D4 38 60 00 00 */ li r3, 0 +/* 8033C678 003395D8 4E 80 00 20 */ blr + +.global rbtree_rebalance_for_erase__4rstlFPvPv +rbtree_rebalance_for_erase__4rstlFPvPv: +/* 8033C67C 003395DC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033C680 003395E0 7C 08 02 A6 */ mflr r0 +/* 8033C684 003395E4 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033C688 003395E8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8033C68C 003395EC 7C 9F 23 78 */ mr r31, r4 +/* 8033C690 003395F0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8033C694 003395F4 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8033C698 003395F8 93 81 00 10 */ stw r28, 0x10(r1) +/* 8033C69C 003395FC 7C 7C 1B 78 */ mr r28, r3 +/* 8033C6A0 00339600 80 64 00 00 */ lwz r3, 0(r4) +/* 8033C6A4 00339604 28 03 00 00 */ cmplwi r3, 0 +/* 8033C6A8 00339608 40 82 00 0C */ bne lbl_8033C6B4 +/* 8033C6AC 0033960C 83 C4 00 04 */ lwz r30, 4(r4) +/* 8033C6B0 00339610 48 00 00 34 */ b lbl_8033C6E4 +lbl_8033C6B4: +/* 8033C6B4 00339614 80 04 00 04 */ lwz r0, 4(r4) +/* 8033C6B8 00339618 28 00 00 00 */ cmplwi r0, 0 +/* 8033C6BC 0033961C 40 82 00 0C */ bne lbl_8033C6C8 +/* 8033C6C0 00339620 7C 7E 1B 78 */ mr r30, r3 +/* 8033C6C4 00339624 48 00 00 20 */ b lbl_8033C6E4 +lbl_8033C6C8: +/* 8033C6C8 00339628 7C 1F 03 78 */ mr r31, r0 +/* 8033C6CC 0033962C 48 00 00 08 */ b lbl_8033C6D4 +lbl_8033C6D0: +/* 8033C6D0 00339630 7C 1F 03 78 */ mr r31, r0 +lbl_8033C6D4: +/* 8033C6D4 00339634 80 1F 00 00 */ lwz r0, 0(r31) +/* 8033C6D8 00339638 28 00 00 00 */ cmplwi r0, 0 +/* 8033C6DC 0033963C 40 82 FF F4 */ bne lbl_8033C6D0 +/* 8033C6E0 00339640 83 DF 00 04 */ lwz r30, 4(r31) +lbl_8033C6E4: +/* 8033C6E4 00339644 7C 1F 20 40 */ cmplw r31, r4 +/* 8033C6E8 00339648 41 82 00 A0 */ beq lbl_8033C788 +/* 8033C6EC 0033964C 93 E3 00 08 */ stw r31, 8(r3) +/* 8033C6F0 00339650 80 04 00 00 */ lwz r0, 0(r4) +/* 8033C6F4 00339654 90 1F 00 00 */ stw r0, 0(r31) +/* 8033C6F8 00339658 80 04 00 04 */ lwz r0, 4(r4) +/* 8033C6FC 0033965C 7C 1F 00 40 */ cmplw r31, r0 +/* 8033C700 00339660 41 82 00 34 */ beq lbl_8033C734 +/* 8033C704 00339664 80 1F 00 08 */ lwz r0, 8(r31) +/* 8033C708 00339668 28 1E 00 00 */ cmplwi r30, 0 +/* 8033C70C 0033966C 7C 1D 03 78 */ mr r29, r0 +/* 8033C710 00339670 41 82 00 08 */ beq lbl_8033C718 +/* 8033C714 00339674 90 1E 00 08 */ stw r0, 8(r30) +lbl_8033C718: +/* 8033C718 00339678 80 7F 00 08 */ lwz r3, 8(r31) +/* 8033C71C 0033967C 93 C3 00 00 */ stw r30, 0(r3) +/* 8033C720 00339680 80 04 00 04 */ lwz r0, 4(r4) +/* 8033C724 00339684 90 1F 00 04 */ stw r0, 4(r31) +/* 8033C728 00339688 80 64 00 04 */ lwz r3, 4(r4) +/* 8033C72C 0033968C 93 E3 00 08 */ stw r31, 8(r3) +/* 8033C730 00339690 48 00 00 08 */ b lbl_8033C738 +lbl_8033C734: +/* 8033C734 00339694 7F FD FB 78 */ mr r29, r31 +lbl_8033C738: +/* 8033C738 00339698 80 1C 00 08 */ lwz r0, 8(r28) +/* 8033C73C 0033969C 7C 00 20 40 */ cmplw r0, r4 +/* 8033C740 003396A0 40 82 00 0C */ bne lbl_8033C74C +/* 8033C744 003396A4 93 FC 00 08 */ stw r31, 8(r28) +/* 8033C748 003396A8 48 00 00 20 */ b lbl_8033C768 +lbl_8033C74C: +/* 8033C74C 003396AC 80 64 00 08 */ lwz r3, 8(r4) +/* 8033C750 003396B0 80 03 00 00 */ lwz r0, 0(r3) +/* 8033C754 003396B4 7C 00 20 40 */ cmplw r0, r4 +/* 8033C758 003396B8 40 82 00 0C */ bne lbl_8033C764 +/* 8033C75C 003396BC 93 E3 00 00 */ stw r31, 0(r3) +/* 8033C760 003396C0 48 00 00 08 */ b lbl_8033C768 +lbl_8033C764: +/* 8033C764 003396C4 93 E3 00 04 */ stw r31, 4(r3) +lbl_8033C768: +/* 8033C768 003396C8 80 04 00 08 */ lwz r0, 8(r4) +/* 8033C76C 003396CC 90 1F 00 08 */ stw r0, 8(r31) +/* 8033C770 003396D0 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 8033C774 003396D4 80 04 00 0C */ lwz r0, 0xc(r4) +/* 8033C778 003396D8 90 1F 00 0C */ stw r0, 0xc(r31) +/* 8033C77C 003396DC 7C 9F 23 78 */ mr r31, r4 +/* 8033C780 003396E0 90 64 00 0C */ stw r3, 0xc(r4) +/* 8033C784 003396E4 48 00 00 E8 */ b lbl_8033C86C +lbl_8033C788: +/* 8033C788 003396E8 80 1F 00 08 */ lwz r0, 8(r31) +/* 8033C78C 003396EC 28 1E 00 00 */ cmplwi r30, 0 +/* 8033C790 003396F0 7C 1D 03 78 */ mr r29, r0 +/* 8033C794 003396F4 41 82 00 08 */ beq lbl_8033C79C +/* 8033C798 003396F8 90 1E 00 08 */ stw r0, 8(r30) +lbl_8033C79C: +/* 8033C79C 003396FC 80 1C 00 08 */ lwz r0, 8(r28) +/* 8033C7A0 00339700 7C 00 20 40 */ cmplw r0, r4 +/* 8033C7A4 00339704 40 82 00 0C */ bne lbl_8033C7B0 +/* 8033C7A8 00339708 93 DC 00 08 */ stw r30, 8(r28) +/* 8033C7AC 0033970C 48 00 00 20 */ b lbl_8033C7CC +lbl_8033C7B0: +/* 8033C7B0 00339710 80 64 00 08 */ lwz r3, 8(r4) +/* 8033C7B4 00339714 80 03 00 00 */ lwz r0, 0(r3) +/* 8033C7B8 00339718 7C 00 20 40 */ cmplw r0, r4 +/* 8033C7BC 0033971C 40 82 00 0C */ bne lbl_8033C7C8 +/* 8033C7C0 00339720 93 C3 00 00 */ stw r30, 0(r3) +/* 8033C7C4 00339724 48 00 00 08 */ b lbl_8033C7CC +lbl_8033C7C8: +/* 8033C7C8 00339728 93 C3 00 04 */ stw r30, 4(r3) +lbl_8033C7CC: +/* 8033C7CC 0033972C 80 1C 00 00 */ lwz r0, 0(r28) +/* 8033C7D0 00339730 7C 00 20 40 */ cmplw r0, r4 +/* 8033C7D4 00339734 40 82 00 48 */ bne lbl_8033C81C +/* 8033C7D8 00339738 80 04 00 04 */ lwz r0, 4(r4) +/* 8033C7DC 0033973C 28 00 00 00 */ cmplwi r0, 0 +/* 8033C7E0 00339740 40 82 00 10 */ bne lbl_8033C7F0 +/* 8033C7E4 00339744 80 04 00 08 */ lwz r0, 8(r4) +/* 8033C7E8 00339748 90 1C 00 00 */ stw r0, 0(r28) +/* 8033C7EC 0033974C 48 00 00 30 */ b lbl_8033C81C +lbl_8033C7F0: +/* 8033C7F0 00339750 28 1E 00 00 */ cmplwi r30, 0 +/* 8033C7F4 00339754 40 82 00 0C */ bne lbl_8033C800 +/* 8033C7F8 00339758 93 DC 00 00 */ stw r30, 0(r28) +/* 8033C7FC 0033975C 48 00 00 20 */ b lbl_8033C81C +lbl_8033C800: +/* 8033C800 00339760 7F C3 F3 78 */ mr r3, r30 +/* 8033C804 00339764 48 00 00 08 */ b lbl_8033C80C +lbl_8033C808: +/* 8033C808 00339768 7C 03 03 78 */ mr r3, r0 +lbl_8033C80C: +/* 8033C80C 0033976C 80 03 00 00 */ lwz r0, 0(r3) +/* 8033C810 00339770 28 00 00 00 */ cmplwi r0, 0 +/* 8033C814 00339774 40 82 FF F4 */ bne lbl_8033C808 +/* 8033C818 00339778 90 7C 00 00 */ stw r3, 0(r28) +lbl_8033C81C: +/* 8033C81C 0033977C 80 1C 00 04 */ lwz r0, 4(r28) +/* 8033C820 00339780 7C 00 20 40 */ cmplw r0, r4 +/* 8033C824 00339784 40 82 00 48 */ bne lbl_8033C86C +/* 8033C828 00339788 80 04 00 00 */ lwz r0, 0(r4) +/* 8033C82C 0033978C 28 00 00 00 */ cmplwi r0, 0 +/* 8033C830 00339790 40 82 00 10 */ bne lbl_8033C840 +/* 8033C834 00339794 80 04 00 08 */ lwz r0, 8(r4) +/* 8033C838 00339798 90 1C 00 04 */ stw r0, 4(r28) +/* 8033C83C 0033979C 48 00 00 30 */ b lbl_8033C86C +lbl_8033C840: +/* 8033C840 003397A0 28 1E 00 00 */ cmplwi r30, 0 +/* 8033C844 003397A4 40 82 00 0C */ bne lbl_8033C850 +/* 8033C848 003397A8 93 DC 00 04 */ stw r30, 4(r28) +/* 8033C84C 003397AC 48 00 00 20 */ b lbl_8033C86C +lbl_8033C850: +/* 8033C850 003397B0 7F C3 F3 78 */ mr r3, r30 +/* 8033C854 003397B4 48 00 00 08 */ b lbl_8033C85C +lbl_8033C858: +/* 8033C858 003397B8 7C 03 03 78 */ mr r3, r0 +lbl_8033C85C: +/* 8033C85C 003397BC 80 03 00 04 */ lwz r0, 4(r3) +/* 8033C860 003397C0 28 00 00 00 */ cmplwi r0, 0 +/* 8033C864 003397C4 40 82 FF F4 */ bne lbl_8033C858 +/* 8033C868 003397C8 90 7C 00 04 */ stw r3, 4(r28) +lbl_8033C86C: +/* 8033C86C 003397CC 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 8033C870 003397D0 2C 00 00 01 */ cmpwi r0, 1 +/* 8033C874 003397D4 41 82 02 00 */ beq lbl_8033CA74 +/* 8033C878 003397D8 48 00 01 CC */ b lbl_8033CA44 +lbl_8033C87C: +/* 8033C87C 003397DC 80 9D 00 00 */ lwz r4, 0(r29) +/* 8033C880 003397E0 7C 1E 20 40 */ cmplw r30, r4 +/* 8033C884 003397E4 40 82 00 E4 */ bne lbl_8033C968 +/* 8033C888 003397E8 80 9D 00 04 */ lwz r4, 4(r29) +/* 8033C88C 003397EC 80 04 00 0C */ lwz r0, 0xc(r4) +/* 8033C890 003397F0 2C 00 00 01 */ cmpwi r0, 1 +/* 8033C894 003397F4 40 82 00 24 */ bne lbl_8033C8B8 +/* 8033C898 003397F8 38 60 00 00 */ li r3, 0 +/* 8033C89C 003397FC 38 00 00 01 */ li r0, 1 +/* 8033C8A0 00339800 90 64 00 0C */ stw r3, 0xc(r4) +/* 8033C8A4 00339804 7F 83 E3 78 */ mr r3, r28 +/* 8033C8A8 00339808 7F A4 EB 78 */ mr r4, r29 +/* 8033C8AC 0033980C 90 1D 00 0C */ stw r0, 0xc(r29) +/* 8033C8B0 00339810 48 00 03 BD */ bl rbtree_rotate_left__4rstlFPvPv +/* 8033C8B4 00339814 80 9D 00 04 */ lwz r4, 4(r29) +lbl_8033C8B8: +/* 8033C8B8 00339818 80 64 00 00 */ lwz r3, 0(r4) +/* 8033C8BC 0033981C 28 03 00 00 */ cmplwi r3, 0 +/* 8033C8C0 00339820 41 82 00 10 */ beq lbl_8033C8D0 +/* 8033C8C4 00339824 80 03 00 0C */ lwz r0, 0xc(r3) +/* 8033C8C8 00339828 2C 00 00 00 */ cmpwi r0, 0 +/* 8033C8CC 0033982C 40 82 00 30 */ bne lbl_8033C8FC +lbl_8033C8D0: +/* 8033C8D0 00339830 80 A4 00 04 */ lwz r5, 4(r4) +/* 8033C8D4 00339834 28 05 00 00 */ cmplwi r5, 0 +/* 8033C8D8 00339838 41 82 00 10 */ beq lbl_8033C8E8 +/* 8033C8DC 0033983C 80 05 00 0C */ lwz r0, 0xc(r5) +/* 8033C8E0 00339840 2C 00 00 00 */ cmpwi r0, 0 +/* 8033C8E4 00339844 40 82 00 18 */ bne lbl_8033C8FC +lbl_8033C8E8: +/* 8033C8E8 00339848 38 00 00 01 */ li r0, 1 +/* 8033C8EC 0033984C 7F BE EB 78 */ mr r30, r29 +/* 8033C8F0 00339850 90 04 00 0C */ stw r0, 0xc(r4) +/* 8033C8F4 00339854 83 BD 00 08 */ lwz r29, 8(r29) +/* 8033C8F8 00339858 48 00 01 4C */ b lbl_8033CA44 +lbl_8033C8FC: +/* 8033C8FC 0033985C 80 A4 00 04 */ lwz r5, 4(r4) +/* 8033C900 00339860 28 05 00 00 */ cmplwi r5, 0 +/* 8033C904 00339864 41 82 00 10 */ beq lbl_8033C914 +/* 8033C908 00339868 80 05 00 0C */ lwz r0, 0xc(r5) +/* 8033C90C 0033986C 2C 00 00 00 */ cmpwi r0, 0 +/* 8033C910 00339870 40 82 00 28 */ bne lbl_8033C938 +lbl_8033C914: +/* 8033C914 00339874 28 03 00 00 */ cmplwi r3, 0 +/* 8033C918 00339878 41 82 00 0C */ beq lbl_8033C924 +/* 8033C91C 0033987C 38 00 00 00 */ li r0, 0 +/* 8033C920 00339880 90 03 00 0C */ stw r0, 0xc(r3) +lbl_8033C924: +/* 8033C924 00339884 38 00 00 01 */ li r0, 1 +/* 8033C928 00339888 7F 83 E3 78 */ mr r3, r28 +/* 8033C92C 0033988C 90 04 00 0C */ stw r0, 0xc(r4) +/* 8033C930 00339890 48 00 02 DD */ bl rbtree_rotate_right__4rstlFPvPv +/* 8033C934 00339894 80 9D 00 04 */ lwz r4, 4(r29) +lbl_8033C938: +/* 8033C938 00339898 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 8033C93C 0033989C 38 00 00 00 */ li r0, 0 +/* 8033C940 003398A0 90 64 00 0C */ stw r3, 0xc(r4) +/* 8033C944 003398A4 90 1D 00 0C */ stw r0, 0xc(r29) +/* 8033C948 003398A8 80 64 00 04 */ lwz r3, 4(r4) +/* 8033C94C 003398AC 28 03 00 00 */ cmplwi r3, 0 +/* 8033C950 003398B0 41 82 00 08 */ beq lbl_8033C958 +/* 8033C954 003398B4 90 03 00 0C */ stw r0, 0xc(r3) +lbl_8033C958: +/* 8033C958 003398B8 7F 83 E3 78 */ mr r3, r28 +/* 8033C95C 003398BC 7F A4 EB 78 */ mr r4, r29 +/* 8033C960 003398C0 48 00 03 0D */ bl rbtree_rotate_left__4rstlFPvPv +/* 8033C964 003398C4 48 00 01 00 */ b lbl_8033CA64 +lbl_8033C968: +/* 8033C968 003398C8 80 04 00 0C */ lwz r0, 0xc(r4) +/* 8033C96C 003398CC 2C 00 00 01 */ cmpwi r0, 1 +/* 8033C970 003398D0 40 82 00 24 */ bne lbl_8033C994 +/* 8033C974 003398D4 38 60 00 00 */ li r3, 0 +/* 8033C978 003398D8 38 00 00 01 */ li r0, 1 +/* 8033C97C 003398DC 90 64 00 0C */ stw r3, 0xc(r4) +/* 8033C980 003398E0 7F 83 E3 78 */ mr r3, r28 +/* 8033C984 003398E4 7F A4 EB 78 */ mr r4, r29 +/* 8033C988 003398E8 90 1D 00 0C */ stw r0, 0xc(r29) +/* 8033C98C 003398EC 48 00 02 81 */ bl rbtree_rotate_right__4rstlFPvPv +/* 8033C990 003398F0 80 9D 00 00 */ lwz r4, 0(r29) +lbl_8033C994: +/* 8033C994 003398F4 80 64 00 04 */ lwz r3, 4(r4) +/* 8033C998 003398F8 28 03 00 00 */ cmplwi r3, 0 +/* 8033C99C 003398FC 41 82 00 10 */ beq lbl_8033C9AC +/* 8033C9A0 00339900 80 03 00 0C */ lwz r0, 0xc(r3) +/* 8033C9A4 00339904 2C 00 00 00 */ cmpwi r0, 0 +/* 8033C9A8 00339908 40 82 00 30 */ bne lbl_8033C9D8 +lbl_8033C9AC: +/* 8033C9AC 0033990C 80 A4 00 00 */ lwz r5, 0(r4) +/* 8033C9B0 00339910 28 05 00 00 */ cmplwi r5, 0 +/* 8033C9B4 00339914 41 82 00 10 */ beq lbl_8033C9C4 +/* 8033C9B8 00339918 80 05 00 0C */ lwz r0, 0xc(r5) +/* 8033C9BC 0033991C 2C 00 00 00 */ cmpwi r0, 0 +/* 8033C9C0 00339920 40 82 00 18 */ bne lbl_8033C9D8 +lbl_8033C9C4: +/* 8033C9C4 00339924 38 00 00 01 */ li r0, 1 +/* 8033C9C8 00339928 7F BE EB 78 */ mr r30, r29 +/* 8033C9CC 0033992C 90 04 00 0C */ stw r0, 0xc(r4) +/* 8033C9D0 00339930 83 BD 00 08 */ lwz r29, 8(r29) +/* 8033C9D4 00339934 48 00 00 70 */ b lbl_8033CA44 +lbl_8033C9D8: +/* 8033C9D8 00339938 80 A4 00 00 */ lwz r5, 0(r4) +/* 8033C9DC 0033993C 28 05 00 00 */ cmplwi r5, 0 +/* 8033C9E0 00339940 41 82 00 10 */ beq lbl_8033C9F0 +/* 8033C9E4 00339944 80 05 00 0C */ lwz r0, 0xc(r5) +/* 8033C9E8 00339948 2C 00 00 00 */ cmpwi r0, 0 +/* 8033C9EC 0033994C 40 82 00 28 */ bne lbl_8033CA14 +lbl_8033C9F0: +/* 8033C9F0 00339950 28 03 00 00 */ cmplwi r3, 0 +/* 8033C9F4 00339954 41 82 00 0C */ beq lbl_8033CA00 +/* 8033C9F8 00339958 38 00 00 00 */ li r0, 0 +/* 8033C9FC 0033995C 90 03 00 0C */ stw r0, 0xc(r3) +lbl_8033CA00: +/* 8033CA00 00339960 38 00 00 01 */ li r0, 1 +/* 8033CA04 00339964 7F 83 E3 78 */ mr r3, r28 +/* 8033CA08 00339968 90 04 00 0C */ stw r0, 0xc(r4) +/* 8033CA0C 0033996C 48 00 02 61 */ bl rbtree_rotate_left__4rstlFPvPv +/* 8033CA10 00339970 80 9D 00 00 */ lwz r4, 0(r29) +lbl_8033CA14: +/* 8033CA14 00339974 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 8033CA18 00339978 38 00 00 00 */ li r0, 0 +/* 8033CA1C 0033997C 90 64 00 0C */ stw r3, 0xc(r4) +/* 8033CA20 00339980 90 1D 00 0C */ stw r0, 0xc(r29) +/* 8033CA24 00339984 80 64 00 00 */ lwz r3, 0(r4) +/* 8033CA28 00339988 28 03 00 00 */ cmplwi r3, 0 +/* 8033CA2C 0033998C 41 82 00 08 */ beq lbl_8033CA34 +/* 8033CA30 00339990 90 03 00 0C */ stw r0, 0xc(r3) +lbl_8033CA34: +/* 8033CA34 00339994 7F 83 E3 78 */ mr r3, r28 +/* 8033CA38 00339998 7F A4 EB 78 */ mr r4, r29 +/* 8033CA3C 0033999C 48 00 01 D1 */ bl rbtree_rotate_right__4rstlFPvPv +/* 8033CA40 003399A0 48 00 00 24 */ b lbl_8033CA64 +lbl_8033CA44: +/* 8033CA44 003399A4 80 1C 00 08 */ lwz r0, 8(r28) +/* 8033CA48 003399A8 7C 1E 00 40 */ cmplw r30, r0 +/* 8033CA4C 003399AC 41 82 00 18 */ beq lbl_8033CA64 +/* 8033CA50 003399B0 28 1E 00 00 */ cmplwi r30, 0 +/* 8033CA54 003399B4 41 82 FE 28 */ beq lbl_8033C87C +/* 8033CA58 003399B8 80 1E 00 0C */ lwz r0, 0xc(r30) +/* 8033CA5C 003399BC 2C 00 00 00 */ cmpwi r0, 0 +/* 8033CA60 003399C0 41 82 FE 1C */ beq lbl_8033C87C +lbl_8033CA64: +/* 8033CA64 003399C4 28 1E 00 00 */ cmplwi r30, 0 +/* 8033CA68 003399C8 41 82 00 0C */ beq lbl_8033CA74 +/* 8033CA6C 003399CC 38 00 00 00 */ li r0, 0 +/* 8033CA70 003399D0 90 1E 00 0C */ stw r0, 0xc(r30) +lbl_8033CA74: +/* 8033CA74 003399D4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8033CA78 003399D8 7F E3 FB 78 */ mr r3, r31 +/* 8033CA7C 003399DC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8033CA80 003399E0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8033CA84 003399E4 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8033CA88 003399E8 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8033CA8C 003399EC 7C 08 03 A6 */ mtlr r0 +/* 8033CA90 003399F0 38 21 00 20 */ addi r1, r1, 0x20 +/* 8033CA94 003399F4 4E 80 00 20 */ blr + +.global rbtree_rebalance__4rstlFPvPv +rbtree_rebalance__4rstlFPvPv: +/* 8033CA98 003399F8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033CA9C 003399FC 7C 08 02 A6 */ mflr r0 +/* 8033CAA0 00339A00 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033CAA4 00339A04 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033CAA8 00339A08 7C 9F 23 78 */ mr r31, r4 +/* 8033CAAC 00339A0C 93 C1 00 08 */ stw r30, 8(r1) +/* 8033CAB0 00339A10 7C 7E 1B 78 */ mr r30, r3 +/* 8033CAB4 00339A14 48 00 01 1C */ b lbl_8033CBD0 +lbl_8033CAB8: +/* 8033CAB8 00339A18 80 64 00 08 */ lwz r3, 8(r4) +/* 8033CABC 00339A1C 80 A3 00 00 */ lwz r5, 0(r3) +/* 8033CAC0 00339A20 7C 04 28 40 */ cmplw r4, r5 +/* 8033CAC4 00339A24 40 82 00 8C */ bne lbl_8033CB50 +/* 8033CAC8 00339A28 80 A3 00 04 */ lwz r5, 4(r3) +/* 8033CACC 00339A2C 28 05 00 00 */ cmplwi r5, 0 +/* 8033CAD0 00339A30 41 82 00 38 */ beq lbl_8033CB08 +/* 8033CAD4 00339A34 80 05 00 0C */ lwz r0, 0xc(r5) +/* 8033CAD8 00339A38 2C 00 00 01 */ cmpwi r0, 1 +/* 8033CADC 00339A3C 40 82 00 2C */ bne lbl_8033CB08 +/* 8033CAE0 00339A40 38 60 00 00 */ li r3, 0 +/* 8033CAE4 00339A44 38 00 00 01 */ li r0, 1 +/* 8033CAE8 00339A48 90 64 00 0C */ stw r3, 0xc(r4) +/* 8033CAEC 00339A4C 90 65 00 0C */ stw r3, 0xc(r5) +/* 8033CAF0 00339A50 80 7F 00 08 */ lwz r3, 8(r31) +/* 8033CAF4 00339A54 80 63 00 08 */ lwz r3, 8(r3) +/* 8033CAF8 00339A58 90 03 00 0C */ stw r0, 0xc(r3) +/* 8033CAFC 00339A5C 80 7F 00 08 */ lwz r3, 8(r31) +/* 8033CB00 00339A60 83 E3 00 08 */ lwz r31, 8(r3) +/* 8033CB04 00339A64 48 00 00 CC */ b lbl_8033CBD0 +lbl_8033CB08: +/* 8033CB08 00339A68 80 04 00 04 */ lwz r0, 4(r4) +/* 8033CB0C 00339A6C 7C 1F 00 40 */ cmplw r31, r0 +/* 8033CB10 00339A70 40 82 00 10 */ bne lbl_8033CB20 +/* 8033CB14 00339A74 7C 9F 23 78 */ mr r31, r4 +/* 8033CB18 00339A78 7F C3 F3 78 */ mr r3, r30 +/* 8033CB1C 00339A7C 48 00 01 51 */ bl rbtree_rotate_left__4rstlFPvPv +lbl_8033CB20: +/* 8033CB20 00339A80 80 9F 00 08 */ lwz r4, 8(r31) +/* 8033CB24 00339A84 38 A0 00 00 */ li r5, 0 +/* 8033CB28 00339A88 38 00 00 01 */ li r0, 1 +/* 8033CB2C 00339A8C 7F C3 F3 78 */ mr r3, r30 +/* 8033CB30 00339A90 90 A4 00 0C */ stw r5, 0xc(r4) +/* 8033CB34 00339A94 80 9F 00 08 */ lwz r4, 8(r31) +/* 8033CB38 00339A98 80 84 00 08 */ lwz r4, 8(r4) +/* 8033CB3C 00339A9C 90 04 00 0C */ stw r0, 0xc(r4) +/* 8033CB40 00339AA0 80 9F 00 08 */ lwz r4, 8(r31) +/* 8033CB44 00339AA4 80 84 00 08 */ lwz r4, 8(r4) +/* 8033CB48 00339AA8 48 00 00 C5 */ bl rbtree_rotate_right__4rstlFPvPv +/* 8033CB4C 00339AAC 48 00 00 84 */ b lbl_8033CBD0 +lbl_8033CB50: +/* 8033CB50 00339AB0 28 05 00 00 */ cmplwi r5, 0 +/* 8033CB54 00339AB4 41 82 00 38 */ beq lbl_8033CB8C +/* 8033CB58 00339AB8 80 05 00 0C */ lwz r0, 0xc(r5) +/* 8033CB5C 00339ABC 2C 00 00 01 */ cmpwi r0, 1 +/* 8033CB60 00339AC0 40 82 00 2C */ bne lbl_8033CB8C +/* 8033CB64 00339AC4 38 60 00 00 */ li r3, 0 +/* 8033CB68 00339AC8 38 00 00 01 */ li r0, 1 +/* 8033CB6C 00339ACC 90 64 00 0C */ stw r3, 0xc(r4) +/* 8033CB70 00339AD0 90 65 00 0C */ stw r3, 0xc(r5) +/* 8033CB74 00339AD4 80 7F 00 08 */ lwz r3, 8(r31) +/* 8033CB78 00339AD8 80 63 00 08 */ lwz r3, 8(r3) +/* 8033CB7C 00339ADC 90 03 00 0C */ stw r0, 0xc(r3) +/* 8033CB80 00339AE0 80 7F 00 08 */ lwz r3, 8(r31) +/* 8033CB84 00339AE4 83 E3 00 08 */ lwz r31, 8(r3) +/* 8033CB88 00339AE8 48 00 00 48 */ b lbl_8033CBD0 +lbl_8033CB8C: +/* 8033CB8C 00339AEC 80 04 00 00 */ lwz r0, 0(r4) +/* 8033CB90 00339AF0 7C 1F 00 40 */ cmplw r31, r0 +/* 8033CB94 00339AF4 40 82 00 10 */ bne lbl_8033CBA4 +/* 8033CB98 00339AF8 7C 9F 23 78 */ mr r31, r4 +/* 8033CB9C 00339AFC 7F C3 F3 78 */ mr r3, r30 +/* 8033CBA0 00339B00 48 00 00 6D */ bl rbtree_rotate_right__4rstlFPvPv +lbl_8033CBA4: +/* 8033CBA4 00339B04 80 9F 00 08 */ lwz r4, 8(r31) +/* 8033CBA8 00339B08 38 A0 00 00 */ li r5, 0 +/* 8033CBAC 00339B0C 38 00 00 01 */ li r0, 1 +/* 8033CBB0 00339B10 7F C3 F3 78 */ mr r3, r30 +/* 8033CBB4 00339B14 90 A4 00 0C */ stw r5, 0xc(r4) +/* 8033CBB8 00339B18 80 9F 00 08 */ lwz r4, 8(r31) +/* 8033CBBC 00339B1C 80 84 00 08 */ lwz r4, 8(r4) +/* 8033CBC0 00339B20 90 04 00 0C */ stw r0, 0xc(r4) +/* 8033CBC4 00339B24 80 9F 00 08 */ lwz r4, 8(r31) +/* 8033CBC8 00339B28 80 84 00 08 */ lwz r4, 8(r4) +/* 8033CBCC 00339B2C 48 00 00 A1 */ bl rbtree_rotate_left__4rstlFPvPv +lbl_8033CBD0: +/* 8033CBD0 00339B30 80 9F 00 08 */ lwz r4, 8(r31) +/* 8033CBD4 00339B34 28 04 00 00 */ cmplwi r4, 0 +/* 8033CBD8 00339B38 41 82 00 10 */ beq lbl_8033CBE8 +/* 8033CBDC 00339B3C 80 04 00 0C */ lwz r0, 0xc(r4) +/* 8033CBE0 00339B40 2C 00 00 01 */ cmpwi r0, 1 +/* 8033CBE4 00339B44 41 82 FE D4 */ beq lbl_8033CAB8 +lbl_8033CBE8: +/* 8033CBE8 00339B48 80 7E 00 08 */ lwz r3, 8(r30) +/* 8033CBEC 00339B4C 38 00 00 00 */ li r0, 0 +/* 8033CBF0 00339B50 90 03 00 0C */ stw r0, 0xc(r3) +/* 8033CBF4 00339B54 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033CBF8 00339B58 83 C1 00 08 */ lwz r30, 8(r1) +/* 8033CBFC 00339B5C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033CC00 00339B60 7C 08 03 A6 */ mtlr r0 +/* 8033CC04 00339B64 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033CC08 00339B68 4E 80 00 20 */ blr + +.global rbtree_rotate_right__4rstlFPvPv +rbtree_rotate_right__4rstlFPvPv: +/* 8033CC0C 00339B6C 80 A4 00 08 */ lwz r5, 8(r4) +/* 8033CC10 00339B70 80 C4 00 00 */ lwz r6, 0(r4) +/* 8033CC14 00339B74 28 05 00 00 */ cmplwi r5, 0 +/* 8033CC18 00339B78 80 E6 00 04 */ lwz r7, 4(r6) +/* 8033CC1C 00339B7C 40 82 00 14 */ bne lbl_8033CC30 +/* 8033CC20 00339B80 90 C3 00 08 */ stw r6, 8(r3) +/* 8033CC24 00339B84 38 00 00 00 */ li r0, 0 +/* 8033CC28 00339B88 90 06 00 08 */ stw r0, 8(r6) +/* 8033CC2C 00339B8C 48 00 00 24 */ b lbl_8033CC50 +lbl_8033CC30: +/* 8033CC30 00339B90 80 05 00 00 */ lwz r0, 0(r5) +/* 8033CC34 00339B94 7C 04 00 40 */ cmplw r4, r0 +/* 8033CC38 00339B98 40 82 00 0C */ bne lbl_8033CC44 +/* 8033CC3C 00339B9C 90 C5 00 00 */ stw r6, 0(r5) +/* 8033CC40 00339BA0 48 00 00 08 */ b lbl_8033CC48 +lbl_8033CC44: +/* 8033CC44 00339BA4 90 C5 00 04 */ stw r6, 4(r5) +lbl_8033CC48: +/* 8033CC48 00339BA8 80 04 00 08 */ lwz r0, 8(r4) +/* 8033CC4C 00339BAC 90 06 00 08 */ stw r0, 8(r6) +lbl_8033CC50: +/* 8033CC50 00339BB0 90 C4 00 08 */ stw r6, 8(r4) +/* 8033CC54 00339BB4 28 07 00 00 */ cmplwi r7, 0 +/* 8033CC58 00339BB8 90 86 00 04 */ stw r4, 4(r6) +/* 8033CC5C 00339BBC 41 82 00 08 */ beq lbl_8033CC64 +/* 8033CC60 00339BC0 90 87 00 08 */ stw r4, 8(r7) +lbl_8033CC64: +/* 8033CC64 00339BC4 90 E4 00 00 */ stw r7, 0(r4) +/* 8033CC68 00339BC8 4E 80 00 20 */ blr + +.global rbtree_rotate_left__4rstlFPvPv +rbtree_rotate_left__4rstlFPvPv: +/* 8033CC6C 00339BCC 80 A4 00 08 */ lwz r5, 8(r4) +/* 8033CC70 00339BD0 80 C4 00 04 */ lwz r6, 4(r4) +/* 8033CC74 00339BD4 28 05 00 00 */ cmplwi r5, 0 +/* 8033CC78 00339BD8 80 E6 00 00 */ lwz r7, 0(r6) +/* 8033CC7C 00339BDC 40 82 00 14 */ bne lbl_8033CC90 +/* 8033CC80 00339BE0 90 C3 00 08 */ stw r6, 8(r3) +/* 8033CC84 00339BE4 38 00 00 00 */ li r0, 0 +/* 8033CC88 00339BE8 90 06 00 08 */ stw r0, 8(r6) +/* 8033CC8C 00339BEC 48 00 00 24 */ b lbl_8033CCB0 +lbl_8033CC90: +/* 8033CC90 00339BF0 80 05 00 00 */ lwz r0, 0(r5) +/* 8033CC94 00339BF4 7C 00 20 40 */ cmplw r0, r4 +/* 8033CC98 00339BF8 40 82 00 0C */ bne lbl_8033CCA4 +/* 8033CC9C 00339BFC 90 C5 00 00 */ stw r6, 0(r5) +/* 8033CCA0 00339C00 48 00 00 08 */ b lbl_8033CCA8 +lbl_8033CCA4: +/* 8033CCA4 00339C04 90 C5 00 04 */ stw r6, 4(r5) +lbl_8033CCA8: +/* 8033CCA8 00339C08 80 04 00 08 */ lwz r0, 8(r4) +/* 8033CCAC 00339C0C 90 06 00 08 */ stw r0, 8(r6) +lbl_8033CCB0: +/* 8033CCB0 00339C10 90 C4 00 08 */ stw r6, 8(r4) +/* 8033CCB4 00339C14 28 07 00 00 */ cmplwi r7, 0 +/* 8033CCB8 00339C18 90 86 00 00 */ stw r4, 0(r6) +/* 8033CCBC 00339C1C 41 82 00 08 */ beq lbl_8033CCC4 +/* 8033CCC0 00339C20 90 87 00 08 */ stw r4, 8(r7) +lbl_8033CCC4: +/* 8033CCC4 00339C24 90 E4 00 04 */ stw r7, 4(r4) +/* 8033CCC8 00339C28 4E 80 00 20 */ blr diff --git a/asm/Kyoto/rstl/rstl_strings.s b/asm/Kyoto/rstl/rstl_strings.s new file mode 100644 index 00000000..b25bcffd --- /dev/null +++ b/asm/Kyoto/rstl/rstl_strings.s @@ -0,0 +1,1716 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global "internal_dereference__Q24rstl83basic_string,Q24rstl17rmemory_allocator>Fv" +"internal_dereference__Q24rstl83basic_string,Q24rstl17rmemory_allocator>Fv": +/* 8033CCCC 00339C2C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033CCD0 00339C30 7C 08 02 A6 */ mflr r0 +/* 8033CCD4 00339C34 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033CCD8 00339C38 80 A3 00 04 */ lwz r5, 4(r3) +/* 8033CCDC 00339C3C 28 05 00 00 */ cmplwi r5, 0 +/* 8033CCE0 00339C40 41 82 00 24 */ beq lbl_8033CD04 +/* 8033CCE4 00339C44 80 85 00 04 */ lwz r4, 4(r5) +/* 8033CCE8 00339C48 34 04 FF FF */ addic. r0, r4, -1 +/* 8033CCEC 00339C4C 90 05 00 04 */ stw r0, 4(r5) +/* 8033CCF0 00339C50 40 82 00 14 */ bne lbl_8033CD04 +/* 8033CCF4 00339C54 80 63 00 04 */ lwz r3, 4(r3) +/* 8033CCF8 00339C58 28 03 00 00 */ cmplwi r3, 0 +/* 8033CCFC 00339C5C 41 82 00 08 */ beq lbl_8033CD04 +/* 8033CD00 00339C60 4B FD 8C 31 */ bl Free__7CMemoryFPCv +lbl_8033CD04: +/* 8033CD04 00339C64 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033CD08 00339C68 7C 08 03 A6 */ mtlr r0 +/* 8033CD0C 00339C6C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033CD10 00339C70 4E 80 00 20 */ blr + +.global "internal_allocate__Q24rstl83basic_string,Q24rstl17rmemory_allocator>Fi" +"internal_allocate__Q24rstl83basic_string,Q24rstl17rmemory_allocator>Fi": +/* 8033CD14 00339C74 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033CD18 00339C78 7C 08 02 A6 */ mflr r0 +/* 8033CD1C 00339C7C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033CD20 00339C80 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033CD24 00339C84 7C 9F 23 78 */ mr r31, r4 +/* 8033CD28 00339C88 93 C1 00 08 */ stw r30, 8(r1) +/* 8033CD2C 00339C8C 7C 7E 1B 78 */ mr r30, r3 +/* 8033CD30 00339C90 34 7F 00 08 */ addic. r3, r31, 8 +/* 8033CD34 00339C94 40 82 00 10 */ bne lbl_8033CD44 +/* 8033CD38 00339C98 38 00 00 00 */ li r0, 0 +/* 8033CD3C 00339C9C 90 1E 00 04 */ stw r0, 4(r30) +/* 8033CD40 00339CA0 48 00 00 18 */ b lbl_8033CD58 +lbl_8033CD44: +/* 8033CD44 00339CA4 3C 80 80 3D */ lis r4, lbl_803D7A48@ha +/* 8033CD48 00339CA8 38 A0 00 00 */ li r5, 0 +/* 8033CD4C 00339CAC 38 84 7A 48 */ addi r4, r4, lbl_803D7A48@l +/* 8033CD50 00339CB0 4B FD 8A C9 */ bl __nwa__FUlPCcPCc +/* 8033CD54 00339CB4 90 7E 00 04 */ stw r3, 4(r30) +lbl_8033CD58: +/* 8033CD58 00339CB8 80 7E 00 04 */ lwz r3, 4(r30) +/* 8033CD5C 00339CBC 38 00 00 01 */ li r0, 1 +/* 8033CD60 00339CC0 38 63 00 08 */ addi r3, r3, 8 +/* 8033CD64 00339CC4 90 7E 00 00 */ stw r3, 0(r30) +/* 8033CD68 00339CC8 80 7E 00 04 */ lwz r3, 4(r30) +/* 8033CD6C 00339CCC 93 E3 00 00 */ stw r31, 0(r3) +/* 8033CD70 00339CD0 80 7E 00 04 */ lwz r3, 4(r30) +/* 8033CD74 00339CD4 90 03 00 04 */ stw r0, 4(r3) +/* 8033CD78 00339CD8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033CD7C 00339CDC 83 C1 00 08 */ lwz r30, 8(r1) +/* 8033CD80 00339CE0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033CD84 00339CE4 7C 08 03 A6 */ mtlr r0 +/* 8033CD88 00339CE8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033CD8C 00339CEC 4E 80 00 20 */ blr + +.global "__ct__Q24rstl83basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" +"__ct__Q24rstl83basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator": +/* 8033CD90 00339CF0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033CD94 00339CF4 7C 08 02 A6 */ mflr r0 +/* 8033CD98 00339CF8 2C 05 00 00 */ cmpwi r5, 0 +/* 8033CD9C 00339CFC 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033CDA0 00339D00 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8033CDA4 00339D04 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8033CDA8 00339D08 7C 9E 23 78 */ mr r30, r4 +/* 8033CDAC 00339D0C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8033CDB0 00339D10 7C 7D 1B 78 */ mr r29, r3 +/* 8033CDB4 00339D14 41 81 00 28 */ bgt lbl_8033CDDC +/* 8033CDB8 00339D18 88 1E 00 00 */ lbz r0, 0(r30) +/* 8033CDBC 00339D1C 7C 00 07 75 */ extsb. r0, r0 +/* 8033CDC0 00339D20 40 82 00 1C */ bne lbl_8033CDDC +/* 8033CDC4 00339D24 38 8D A9 1C */ addi r4, r13, lbl_805A94DC@sda21 +/* 8033CDC8 00339D28 38 00 00 00 */ li r0, 0 +/* 8033CDCC 00339D2C 90 9D 00 00 */ stw r4, 0(r29) +/* 8033CDD0 00339D30 90 1D 00 08 */ stw r0, 8(r29) +/* 8033CDD4 00339D34 90 1D 00 04 */ stw r0, 4(r29) +/* 8033CDD8 00339D38 48 00 01 80 */ b lbl_8033CF58 +lbl_8033CDDC: +/* 8033CDDC 00339D3C 7F C4 F3 78 */ mr r4, r30 +/* 8033CDE0 00339D40 3B E0 00 00 */ li r31, 0 +/* 8033CDE4 00339D44 48 00 00 0C */ b lbl_8033CDF0 +lbl_8033CDE8: +/* 8033CDE8 00339D48 38 84 00 01 */ addi r4, r4, 1 +/* 8033CDEC 00339D4C 3B FF 00 01 */ addi r31, r31, 1 +lbl_8033CDF0: +/* 8033CDF0 00339D50 2C 05 FF FF */ cmpwi r5, -1 +/* 8033CDF4 00339D54 41 82 00 0C */ beq lbl_8033CE00 +/* 8033CDF8 00339D58 7C 1F 28 00 */ cmpw r31, r5 +/* 8033CDFC 00339D5C 40 80 00 90 */ bge lbl_8033CE8C +lbl_8033CE00: +/* 8033CE00 00339D60 88 C4 00 00 */ lbz r6, 0(r4) +/* 8033CE04 00339D64 38 60 00 00 */ li r3, 0 +/* 8033CE08 00339D68 7C C0 07 74 */ extsb r0, r6 +/* 8033CE0C 00339D6C 2C 00 00 61 */ cmpwi r0, 0x61 +/* 8033CE10 00339D70 41 80 00 10 */ blt lbl_8033CE20 +/* 8033CE14 00339D74 2C 00 00 7A */ cmpwi r0, 0x7a +/* 8033CE18 00339D78 41 81 00 08 */ bgt lbl_8033CE20 +/* 8033CE1C 00339D7C 38 60 00 01 */ li r3, 1 +lbl_8033CE20: +/* 8033CE20 00339D80 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8033CE24 00339D84 41 82 00 10 */ beq lbl_8033CE34 +/* 8033CE28 00339D88 7C C3 07 74 */ extsb r3, r6 +/* 8033CE2C 00339D8C 38 63 FF E0 */ addi r3, r3, -32 +/* 8033CE30 00339D90 48 00 00 54 */ b lbl_8033CE84 +lbl_8033CE34: +/* 8033CE34 00339D94 7C C3 07 74 */ extsb r3, r6 +/* 8033CE38 00339D98 38 00 00 00 */ li r0, 0 +/* 8033CE3C 00339D9C 2C 03 00 E0 */ cmpwi r3, 0xe0 +/* 8033CE40 00339DA0 41 80 00 10 */ blt lbl_8033CE50 +/* 8033CE44 00339DA4 2C 03 00 FE */ cmpwi r3, 0xfe +/* 8033CE48 00339DA8 41 81 00 08 */ bgt lbl_8033CE50 +/* 8033CE4C 00339DAC 38 00 00 01 */ li r0, 1 +lbl_8033CE50: +/* 8033CE50 00339DB0 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 8033CE54 00339DB4 41 82 00 0C */ beq lbl_8033CE60 +/* 8033CE58 00339DB8 38 63 FF E0 */ addi r3, r3, -32 +/* 8033CE5C 00339DBC 48 00 00 28 */ b lbl_8033CE84 +lbl_8033CE60: +/* 8033CE60 00339DC0 2C 03 30 A0 */ cmpwi r3, 0x30a0 +/* 8033CE64 00339DC4 38 00 00 00 */ li r0, 0 +/* 8033CE68 00339DC8 41 80 00 10 */ blt lbl_8033CE78 +/* 8033CE6C 00339DCC 2C 03 30 FF */ cmpwi r3, 0x30ff +/* 8033CE70 00339DD0 41 81 00 08 */ bgt lbl_8033CE78 +/* 8033CE74 00339DD4 38 00 00 01 */ li r0, 1 +lbl_8033CE78: +/* 8033CE78 00339DD8 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 8033CE7C 00339DDC 41 82 00 08 */ beq lbl_8033CE84 +/* 8033CE80 00339DE0 38 63 FF A0 */ addi r3, r3, -96 +lbl_8033CE84: +/* 8033CE84 00339DE4 7C 60 07 75 */ extsb. r0, r3 +/* 8033CE88 00339DE8 40 82 FF 60 */ bne lbl_8033CDE8 +lbl_8033CE8C: +/* 8033CE8C 00339DEC 7F A3 EB 78 */ mr r3, r29 +/* 8033CE90 00339DF0 38 9F 00 01 */ addi r4, r31, 1 +/* 8033CE94 00339DF4 4B FF FE 81 */ bl "internal_allocate__Q24rstl83basic_string,Q24rstl17rmemory_allocator>Fi" +/* 8033CE98 00339DF8 93 FD 00 08 */ stw r31, 8(r29) +/* 8033CE9C 00339DFC 2C 1F 00 00 */ cmpwi r31, 0 +/* 8033CEA0 00339E00 38 A0 00 00 */ li r5, 0 +/* 8033CEA4 00339E04 80 7D 00 00 */ lwz r3, 0(r29) +/* 8033CEA8 00339E08 40 81 00 A0 */ ble lbl_8033CF48 +/* 8033CEAC 00339E0C 2C 1F 00 08 */ cmpwi r31, 8 +/* 8033CEB0 00339E10 38 9F FF F8 */ addi r4, r31, -8 +/* 8033CEB4 00339E14 40 81 00 68 */ ble lbl_8033CF1C +/* 8033CEB8 00339E18 38 04 00 07 */ addi r0, r4, 7 +/* 8033CEBC 00339E1C 54 00 E8 FE */ srwi r0, r0, 3 +/* 8033CEC0 00339E20 7C 09 03 A6 */ mtctr r0 +/* 8033CEC4 00339E24 2C 04 00 00 */ cmpwi r4, 0 +/* 8033CEC8 00339E28 40 81 00 54 */ ble lbl_8033CF1C +lbl_8033CECC: +/* 8033CECC 00339E2C 7C 9E 2A 14 */ add r4, r30, r5 +/* 8033CED0 00339E30 7C C3 2A 14 */ add r6, r3, r5 +/* 8033CED4 00339E34 88 04 00 00 */ lbz r0, 0(r4) +/* 8033CED8 00339E38 38 A5 00 08 */ addi r5, r5, 8 +/* 8033CEDC 00339E3C 98 06 00 00 */ stb r0, 0(r6) +/* 8033CEE0 00339E40 88 04 00 01 */ lbz r0, 1(r4) +/* 8033CEE4 00339E44 98 06 00 01 */ stb r0, 1(r6) +/* 8033CEE8 00339E48 88 04 00 02 */ lbz r0, 2(r4) +/* 8033CEEC 00339E4C 98 06 00 02 */ stb r0, 2(r6) +/* 8033CEF0 00339E50 88 04 00 03 */ lbz r0, 3(r4) +/* 8033CEF4 00339E54 98 06 00 03 */ stb r0, 3(r6) +/* 8033CEF8 00339E58 88 04 00 04 */ lbz r0, 4(r4) +/* 8033CEFC 00339E5C 98 06 00 04 */ stb r0, 4(r6) +/* 8033CF00 00339E60 88 04 00 05 */ lbz r0, 5(r4) +/* 8033CF04 00339E64 98 06 00 05 */ stb r0, 5(r6) +/* 8033CF08 00339E68 88 04 00 06 */ lbz r0, 6(r4) +/* 8033CF0C 00339E6C 98 06 00 06 */ stb r0, 6(r6) +/* 8033CF10 00339E70 88 04 00 07 */ lbz r0, 7(r4) +/* 8033CF14 00339E74 98 06 00 07 */ stb r0, 7(r6) +/* 8033CF18 00339E78 42 00 FF B4 */ bdnz lbl_8033CECC +lbl_8033CF1C: +/* 8033CF1C 00339E7C 7C 05 F8 50 */ subf r0, r5, r31 +/* 8033CF20 00339E80 7C 9E 2A 14 */ add r4, r30, r5 +/* 8033CF24 00339E84 7C 63 2A 14 */ add r3, r3, r5 +/* 8033CF28 00339E88 7C 09 03 A6 */ mtctr r0 +/* 8033CF2C 00339E8C 7C 05 F8 00 */ cmpw r5, r31 +/* 8033CF30 00339E90 40 80 00 18 */ bge lbl_8033CF48 +lbl_8033CF34: +/* 8033CF34 00339E94 88 04 00 00 */ lbz r0, 0(r4) +/* 8033CF38 00339E98 38 84 00 01 */ addi r4, r4, 1 +/* 8033CF3C 00339E9C 98 03 00 00 */ stb r0, 0(r3) +/* 8033CF40 00339EA0 38 63 00 01 */ addi r3, r3, 1 +/* 8033CF44 00339EA4 42 00 FF F0 */ bdnz lbl_8033CF34 +lbl_8033CF48: +/* 8033CF48 00339EA8 80 9D 00 00 */ lwz r4, 0(r29) +/* 8033CF4C 00339EAC 38 00 00 00 */ li r0, 0 +/* 8033CF50 00339EB0 7F A3 EB 78 */ mr r3, r29 +/* 8033CF54 00339EB4 7C 04 F9 AE */ stbx r0, r4, r31 +lbl_8033CF58: +/* 8033CF58 00339EB8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8033CF5C 00339EBC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8033CF60 00339EC0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8033CF64 00339EC4 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8033CF68 00339EC8 7C 08 03 A6 */ mtlr r0 +/* 8033CF6C 00339ECC 38 21 00 20 */ addi r1, r1, 0x20 +/* 8033CF70 00339ED0 4E 80 00 20 */ blr + +.global "internal_prepare_to_write__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fib" +"internal_prepare_to_write__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fib": +/* 8033CF74 00339ED4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033CF78 00339ED8 7C 08 02 A6 */ mflr r0 +/* 8033CF7C 00339EDC 38 84 00 01 */ addi r4, r4, 1 +/* 8033CF80 00339EE0 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033CF84 00339EE4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8033CF88 00339EE8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8033CF8C 00339EEC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8033CF90 00339EF0 7C 7D 1B 78 */ mr r29, r3 +/* 8033CF94 00339EF4 93 81 00 10 */ stw r28, 0x10(r1) +/* 8033CF98 00339EF8 7C BC 2B 78 */ mr r28, r5 +/* 8033CF9C 00339EFC 80 63 00 04 */ lwz r3, 4(r3) +/* 8033CFA0 00339F00 28 03 00 00 */ cmplwi r3, 0 +/* 8033CFA4 00339F04 41 82 00 1C */ beq lbl_8033CFC0 +/* 8033CFA8 00339F08 80 03 00 04 */ lwz r0, 4(r3) +/* 8033CFAC 00339F0C 2C 00 00 01 */ cmpwi r0, 1 +/* 8033CFB0 00339F10 40 82 00 10 */ bne lbl_8033CFC0 +/* 8033CFB4 00339F14 80 03 00 00 */ lwz r0, 0(r3) +/* 8033CFB8 00339F18 7C 00 20 00 */ cmpw r0, r4 +/* 8033CFBC 00339F1C 40 80 01 58 */ bge lbl_8033D114 +lbl_8033CFC0: +/* 8033CFC0 00339F20 28 03 00 00 */ cmplwi r3, 0 +/* 8033CFC4 00339F24 41 82 00 30 */ beq lbl_8033CFF4 +/* 8033CFC8 00339F28 80 63 00 00 */ lwz r3, 0(r3) +/* 8033CFCC 00339F2C 38 00 00 04 */ li r0, 4 +/* 8033CFD0 00339F30 2C 03 00 04 */ cmpwi r3, 4 +/* 8033CFD4 00339F34 41 80 00 08 */ blt lbl_8033CFDC +/* 8033CFD8 00339F38 7C 60 1B 78 */ mr r0, r3 +lbl_8033CFDC: +/* 8033CFDC 00339F3C 7C 1E 03 78 */ mr r30, r0 +/* 8033CFE0 00339F40 48 00 00 08 */ b lbl_8033CFE8 +lbl_8033CFE4: +/* 8033CFE4 00339F44 57 DE 08 3C */ slwi r30, r30, 1 +lbl_8033CFE8: +/* 8033CFE8 00339F48 7C 1E 20 00 */ cmpw r30, r4 +/* 8033CFEC 00339F4C 41 80 FF F8 */ blt lbl_8033CFE4 +/* 8033CFF0 00339F50 48 00 00 08 */ b lbl_8033CFF8 +lbl_8033CFF4: +/* 8033CFF4 00339F54 7C 9E 23 78 */ mr r30, r4 +lbl_8033CFF8: +/* 8033CFF8 00339F58 57 C3 08 3C */ slwi r3, r30, 1 +/* 8033CFFC 00339F5C 34 63 00 08 */ addic. r3, r3, 8 +/* 8033D000 00339F60 40 82 00 0C */ bne lbl_8033D00C +/* 8033D004 00339F64 3B E0 00 00 */ li r31, 0 +/* 8033D008 00339F68 48 00 00 18 */ b lbl_8033D020 +lbl_8033D00C: +/* 8033D00C 00339F6C 3C 80 80 3D */ lis r4, lbl_803D7A48@ha +/* 8033D010 00339F70 38 A0 00 00 */ li r5, 0 +/* 8033D014 00339F74 38 84 7A 48 */ addi r4, r4, lbl_803D7A48@l +/* 8033D018 00339F78 4B FD 88 01 */ bl __nwa__FUlPCcPCc +/* 8033D01C 00339F7C 7C 7F 1B 78 */ mr r31, r3 +lbl_8033D020: +/* 8033D020 00339F80 93 DF 00 00 */ stw r30, 0(r31) +/* 8033D024 00339F84 38 60 00 01 */ li r3, 1 +/* 8033D028 00339F88 57 80 06 3F */ clrlwi. r0, r28, 0x18 +/* 8033D02C 00339F8C 3B DF 00 08 */ addi r30, r31, 8 +/* 8033D030 00339F90 90 7F 00 04 */ stw r3, 4(r31) +/* 8033D034 00339F94 41 82 00 D0 */ beq lbl_8033D104 +/* 8033D038 00339F98 80 BD 00 08 */ lwz r5, 8(r29) +/* 8033D03C 00339F9C 38 60 00 00 */ li r3, 0 +/* 8033D040 00339FA0 80 9D 00 00 */ lwz r4, 0(r29) +/* 8033D044 00339FA4 2C 05 00 00 */ cmpwi r5, 0 +/* 8033D048 00339FA8 40 81 00 AC */ ble lbl_8033D0F4 +/* 8033D04C 00339FAC 2C 05 00 08 */ cmpwi r5, 8 +/* 8033D050 00339FB0 38 C5 FF F8 */ addi r6, r5, -8 +/* 8033D054 00339FB4 40 81 00 70 */ ble lbl_8033D0C4 +/* 8033D058 00339FB8 38 06 00 07 */ addi r0, r6, 7 +/* 8033D05C 00339FBC 7C 87 23 78 */ mr r7, r4 +/* 8033D060 00339FC0 54 00 E8 FE */ srwi r0, r0, 3 +/* 8033D064 00339FC4 7F C8 F3 78 */ mr r8, r30 +/* 8033D068 00339FC8 7C 09 03 A6 */ mtctr r0 +/* 8033D06C 00339FCC 2C 06 00 00 */ cmpwi r6, 0 +/* 8033D070 00339FD0 40 81 00 54 */ ble lbl_8033D0C4 +lbl_8033D074: +/* 8033D074 00339FD4 A0 07 00 00 */ lhz r0, 0(r7) +/* 8033D078 00339FD8 38 63 00 08 */ addi r3, r3, 8 +/* 8033D07C 00339FDC B0 08 00 00 */ sth r0, 0(r8) +/* 8033D080 00339FE0 A0 07 00 02 */ lhz r0, 2(r7) +/* 8033D084 00339FE4 B0 08 00 02 */ sth r0, 2(r8) +/* 8033D088 00339FE8 A0 07 00 04 */ lhz r0, 4(r7) +/* 8033D08C 00339FEC B0 08 00 04 */ sth r0, 4(r8) +/* 8033D090 00339FF0 A0 07 00 06 */ lhz r0, 6(r7) +/* 8033D094 00339FF4 B0 08 00 06 */ sth r0, 6(r8) +/* 8033D098 00339FF8 A0 07 00 08 */ lhz r0, 8(r7) +/* 8033D09C 00339FFC B0 08 00 08 */ sth r0, 8(r8) +/* 8033D0A0 0033A000 A0 07 00 0A */ lhz r0, 0xa(r7) +/* 8033D0A4 0033A004 B0 08 00 0A */ sth r0, 0xa(r8) +/* 8033D0A8 0033A008 A0 07 00 0C */ lhz r0, 0xc(r7) +/* 8033D0AC 0033A00C B0 08 00 0C */ sth r0, 0xc(r8) +/* 8033D0B0 0033A010 A0 07 00 0E */ lhz r0, 0xe(r7) +/* 8033D0B4 0033A014 38 E7 00 10 */ addi r7, r7, 0x10 +/* 8033D0B8 0033A018 B0 08 00 0E */ sth r0, 0xe(r8) +/* 8033D0BC 0033A01C 39 08 00 10 */ addi r8, r8, 0x10 +/* 8033D0C0 0033A020 42 00 FF B4 */ bdnz lbl_8033D074 +lbl_8033D0C4: +/* 8033D0C4 0033A024 54 66 08 3C */ slwi r6, r3, 1 +/* 8033D0C8 0033A028 7C 03 28 50 */ subf r0, r3, r5 +/* 8033D0CC 0033A02C 7C 84 32 14 */ add r4, r4, r6 +/* 8033D0D0 0033A030 7C DE 32 14 */ add r6, r30, r6 +/* 8033D0D4 0033A034 7C 09 03 A6 */ mtctr r0 +/* 8033D0D8 0033A038 7C 03 28 00 */ cmpw r3, r5 +/* 8033D0DC 0033A03C 40 80 00 18 */ bge lbl_8033D0F4 +lbl_8033D0E0: +/* 8033D0E0 0033A040 A0 04 00 00 */ lhz r0, 0(r4) +/* 8033D0E4 0033A044 38 84 00 02 */ addi r4, r4, 2 +/* 8033D0E8 0033A048 B0 06 00 00 */ sth r0, 0(r6) +/* 8033D0EC 0033A04C 38 C6 00 02 */ addi r6, r6, 2 +/* 8033D0F0 0033A050 42 00 FF F0 */ bdnz lbl_8033D0E0 +lbl_8033D0F4: +/* 8033D0F4 0033A054 80 1D 00 08 */ lwz r0, 8(r29) +/* 8033D0F8 0033A058 38 60 00 00 */ li r3, 0 +/* 8033D0FC 0033A05C 54 00 08 3C */ slwi r0, r0, 1 +/* 8033D100 0033A060 7C 7E 03 2E */ sthx r3, r30, r0 +lbl_8033D104: +/* 8033D104 0033A064 7F A3 EB 78 */ mr r3, r29 +/* 8033D108 0033A068 48 00 00 2D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8033D10C 0033A06C 93 FD 00 04 */ stw r31, 4(r29) +/* 8033D110 0033A070 93 DD 00 00 */ stw r30, 0(r29) +lbl_8033D114: +/* 8033D114 0033A074 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8033D118 0033A078 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8033D11C 0033A07C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8033D120 0033A080 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8033D124 0033A084 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8033D128 0033A088 7C 08 03 A6 */ mtlr r0 +/* 8033D12C 0033A08C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8033D130 0033A090 4E 80 00 20 */ blr + +.global "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +"internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv": +/* 8033D134 0033A094 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033D138 0033A098 7C 08 02 A6 */ mflr r0 +/* 8033D13C 0033A09C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033D140 0033A0A0 80 A3 00 04 */ lwz r5, 4(r3) +/* 8033D144 0033A0A4 28 05 00 00 */ cmplwi r5, 0 +/* 8033D148 0033A0A8 41 82 00 24 */ beq lbl_8033D16C +/* 8033D14C 0033A0AC 80 85 00 04 */ lwz r4, 4(r5) +/* 8033D150 0033A0B0 34 04 FF FF */ addic. r0, r4, -1 +/* 8033D154 0033A0B4 90 05 00 04 */ stw r0, 4(r5) +/* 8033D158 0033A0B8 40 82 00 14 */ bne lbl_8033D16C +/* 8033D15C 0033A0BC 80 63 00 04 */ lwz r3, 4(r3) +/* 8033D160 0033A0C0 28 03 00 00 */ cmplwi r3, 0 +/* 8033D164 0033A0C4 41 82 00 08 */ beq lbl_8033D16C +/* 8033D168 0033A0C8 4B FD 87 C9 */ bl Free__7CMemoryFPCv +lbl_8033D16C: +/* 8033D16C 0033A0CC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033D170 0033A0D0 7C 08 03 A6 */ mtlr r0 +/* 8033D174 0033A0D4 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033D178 0033A0D8 4E 80 00 20 */ blr + +.global "internal_allocate__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fi" +"internal_allocate__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fi": +/* 8033D17C 0033A0DC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033D180 0033A0E0 7C 08 02 A6 */ mflr r0 +/* 8033D184 0033A0E4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033D188 0033A0E8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033D18C 0033A0EC 7C 9F 23 78 */ mr r31, r4 +/* 8033D190 0033A0F0 93 C1 00 08 */ stw r30, 8(r1) +/* 8033D194 0033A0F4 7C 7E 1B 78 */ mr r30, r3 +/* 8033D198 0033A0F8 54 83 08 3C */ slwi r3, r4, 1 +/* 8033D19C 0033A0FC 34 63 00 08 */ addic. r3, r3, 8 +/* 8033D1A0 0033A100 40 82 00 10 */ bne lbl_8033D1B0 +/* 8033D1A4 0033A104 38 00 00 00 */ li r0, 0 +/* 8033D1A8 0033A108 90 1E 00 04 */ stw r0, 4(r30) +/* 8033D1AC 0033A10C 48 00 00 18 */ b lbl_8033D1C4 +lbl_8033D1B0: +/* 8033D1B0 0033A110 3C 80 80 3D */ lis r4, lbl_803D7A48@ha +/* 8033D1B4 0033A114 38 A0 00 00 */ li r5, 0 +/* 8033D1B8 0033A118 38 84 7A 48 */ addi r4, r4, lbl_803D7A48@l +/* 8033D1BC 0033A11C 4B FD 86 5D */ bl __nwa__FUlPCcPCc +/* 8033D1C0 0033A120 90 7E 00 04 */ stw r3, 4(r30) +lbl_8033D1C4: +/* 8033D1C4 0033A124 80 7E 00 04 */ lwz r3, 4(r30) +/* 8033D1C8 0033A128 38 00 00 01 */ li r0, 1 +/* 8033D1CC 0033A12C 38 63 00 08 */ addi r3, r3, 8 +/* 8033D1D0 0033A130 90 7E 00 00 */ stw r3, 0(r30) +/* 8033D1D4 0033A134 80 7E 00 04 */ lwz r3, 4(r30) +/* 8033D1D8 0033A138 93 E3 00 00 */ stw r31, 0(r3) +/* 8033D1DC 0033A13C 80 7E 00 04 */ lwz r3, 4(r30) +/* 8033D1E0 0033A140 90 03 00 04 */ stw r0, 4(r3) +/* 8033D1E4 0033A144 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033D1E8 0033A148 83 C1 00 08 */ lwz r30, 8(r1) +/* 8033D1EC 0033A14C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033D1F0 0033A150 7C 08 03 A6 */ mtlr r0 +/* 8033D1F4 0033A154 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033D1F8 0033A158 4E 80 00 20 */ blr + +.global sub_8033d1fc +sub_8033d1fc: +/* 8033D1FC 0033A15C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033D200 0033A160 7C 08 02 A6 */ mflr r0 +/* 8033D204 0033A164 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033D208 0033A168 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8033D20C 0033A16C 7C 9F 23 78 */ mr r31, r4 +/* 8033D210 0033A170 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8033D214 0033A174 7C 7E 1B 78 */ mr r30, r3 +/* 8033D218 0033A178 7F E3 FB 78 */ mr r3, r31 +/* 8033D21C 0033A17C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8033D220 0033A180 3B A0 00 00 */ li r29, 0 +/* 8033D224 0033A184 48 00 00 0C */ b lbl_8033D230 +lbl_8033D228: +/* 8033D228 0033A188 38 63 00 02 */ addi r3, r3, 2 +/* 8033D22C 0033A18C 3B BD 00 01 */ addi r29, r29, 1 +lbl_8033D230: +/* 8033D230 0033A190 2C 05 FF FF */ cmpwi r5, -1 +/* 8033D234 0033A194 41 82 00 0C */ beq lbl_8033D240 +/* 8033D238 0033A198 7C 1D 28 00 */ cmpw r29, r5 +/* 8033D23C 0033A19C 40 80 00 10 */ bge lbl_8033D24C +lbl_8033D240: +/* 8033D240 0033A1A0 A0 03 00 00 */ lhz r0, 0(r3) +/* 8033D244 0033A1A4 28 00 00 00 */ cmplwi r0, 0 +/* 8033D248 0033A1A8 40 82 FF E0 */ bne lbl_8033D228 +lbl_8033D24C: +/* 8033D24C 0033A1AC 7F C3 F3 78 */ mr r3, r30 +/* 8033D250 0033A1B0 7F A4 EB 78 */ mr r4, r29 +/* 8033D254 0033A1B4 38 A0 00 00 */ li r5, 0 +/* 8033D258 0033A1B8 4B FF FD 1D */ bl "internal_prepare_to_write__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fib" +/* 8033D25C 0033A1BC 2C 1D 00 00 */ cmpwi r29, 0 +/* 8033D260 0033A1C0 80 9E 00 00 */ lwz r4, 0(r30) +/* 8033D264 0033A1C4 38 60 00 00 */ li r3, 0 +/* 8033D268 0033A1C8 40 81 00 AC */ ble lbl_8033D314 +/* 8033D26C 0033A1CC 2C 1D 00 08 */ cmpwi r29, 8 +/* 8033D270 0033A1D0 38 BD FF F8 */ addi r5, r29, -8 +/* 8033D274 0033A1D4 40 81 00 70 */ ble lbl_8033D2E4 +/* 8033D278 0033A1D8 38 05 00 07 */ addi r0, r5, 7 +/* 8033D27C 0033A1DC 7F E6 FB 78 */ mr r6, r31 +/* 8033D280 0033A1E0 54 00 E8 FE */ srwi r0, r0, 3 +/* 8033D284 0033A1E4 7C 87 23 78 */ mr r7, r4 +/* 8033D288 0033A1E8 7C 09 03 A6 */ mtctr r0 +/* 8033D28C 0033A1EC 2C 05 00 00 */ cmpwi r5, 0 +/* 8033D290 0033A1F0 40 81 00 54 */ ble lbl_8033D2E4 +lbl_8033D294: +/* 8033D294 0033A1F4 A0 06 00 00 */ lhz r0, 0(r6) +/* 8033D298 0033A1F8 38 63 00 08 */ addi r3, r3, 8 +/* 8033D29C 0033A1FC B0 07 00 00 */ sth r0, 0(r7) +/* 8033D2A0 0033A200 A0 06 00 02 */ lhz r0, 2(r6) +/* 8033D2A4 0033A204 B0 07 00 02 */ sth r0, 2(r7) +/* 8033D2A8 0033A208 A0 06 00 04 */ lhz r0, 4(r6) +/* 8033D2AC 0033A20C B0 07 00 04 */ sth r0, 4(r7) +/* 8033D2B0 0033A210 A0 06 00 06 */ lhz r0, 6(r6) +/* 8033D2B4 0033A214 B0 07 00 06 */ sth r0, 6(r7) +/* 8033D2B8 0033A218 A0 06 00 08 */ lhz r0, 8(r6) +/* 8033D2BC 0033A21C B0 07 00 08 */ sth r0, 8(r7) +/* 8033D2C0 0033A220 A0 06 00 0A */ lhz r0, 0xa(r6) +/* 8033D2C4 0033A224 B0 07 00 0A */ sth r0, 0xa(r7) +/* 8033D2C8 0033A228 A0 06 00 0C */ lhz r0, 0xc(r6) +/* 8033D2CC 0033A22C B0 07 00 0C */ sth r0, 0xc(r7) +/* 8033D2D0 0033A230 A0 06 00 0E */ lhz r0, 0xe(r6) +/* 8033D2D4 0033A234 38 C6 00 10 */ addi r6, r6, 0x10 +/* 8033D2D8 0033A238 B0 07 00 0E */ sth r0, 0xe(r7) +/* 8033D2DC 0033A23C 38 E7 00 10 */ addi r7, r7, 0x10 +/* 8033D2E0 0033A240 42 00 FF B4 */ bdnz lbl_8033D294 +lbl_8033D2E4: +/* 8033D2E4 0033A244 54 66 08 3C */ slwi r6, r3, 1 +/* 8033D2E8 0033A248 7C 03 E8 50 */ subf r0, r3, r29 +/* 8033D2EC 0033A24C 7C BF 32 14 */ add r5, r31, r6 +/* 8033D2F0 0033A250 7C 84 32 14 */ add r4, r4, r6 +/* 8033D2F4 0033A254 7C 09 03 A6 */ mtctr r0 +/* 8033D2F8 0033A258 7C 03 E8 00 */ cmpw r3, r29 +/* 8033D2FC 0033A25C 40 80 00 18 */ bge lbl_8033D314 +lbl_8033D300: +/* 8033D300 0033A260 A0 05 00 00 */ lhz r0, 0(r5) +/* 8033D304 0033A264 38 A5 00 02 */ addi r5, r5, 2 +/* 8033D308 0033A268 B0 04 00 00 */ sth r0, 0(r4) +/* 8033D30C 0033A26C 38 84 00 02 */ addi r4, r4, 2 +/* 8033D310 0033A270 42 00 FF F0 */ bdnz lbl_8033D300 +lbl_8033D314: +/* 8033D314 0033A274 93 BE 00 08 */ stw r29, 8(r30) +/* 8033D318 0033A278 38 A0 00 00 */ li r5, 0 +/* 8033D31C 0033A27C 7F C3 F3 78 */ mr r3, r30 +/* 8033D320 0033A280 80 1E 00 08 */ lwz r0, 8(r30) +/* 8033D324 0033A284 80 9E 00 00 */ lwz r4, 0(r30) +/* 8033D328 0033A288 54 00 08 3C */ slwi r0, r0, 1 +/* 8033D32C 0033A28C 7C A4 03 2E */ sthx r5, r4, r0 +/* 8033D330 0033A290 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8033D334 0033A294 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8033D338 0033A298 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8033D33C 0033A29C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8033D340 0033A2A0 7C 08 03 A6 */ mtlr r0 +/* 8033D344 0033A2A4 38 21 00 20 */ addi r1, r1, 0x20 +/* 8033D348 0033A2A8 4E 80 00 20 */ blr + +.global sub_8033d34c +sub_8033d34c: +/* 8033D34C 0033A2AC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033D350 0033A2B0 7C 08 02 A6 */ mflr r0 +/* 8033D354 0033A2B4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033D358 0033A2B8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033D35C 0033A2BC 7C 9F 23 78 */ mr r31, r4 +/* 8033D360 0033A2C0 93 C1 00 08 */ stw r30, 8(r1) +/* 8033D364 0033A2C4 7C 7E 1B 78 */ mr r30, r3 +/* 8033D368 0033A2C8 80 83 00 04 */ lwz r4, 4(r3) +/* 8033D36C 0033A2CC 28 04 00 00 */ cmplwi r4, 0 +/* 8033D370 0033A2D0 41 82 00 14 */ beq lbl_8033D384 +/* 8033D374 0033A2D4 80 1F 00 04 */ lwz r0, 4(r31) +/* 8033D378 0033A2D8 7C 04 00 40 */ cmplw r4, r0 +/* 8033D37C 0033A2DC 40 82 00 08 */ bne lbl_8033D384 +/* 8033D380 0033A2E0 48 00 00 40 */ b lbl_8033D3C0 +lbl_8033D384: +/* 8033D384 0033A2E4 7F C3 F3 78 */ mr r3, r30 +/* 8033D388 0033A2E8 4B FF FD AD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8033D38C 0033A2EC 80 1F 00 04 */ lwz r0, 4(r31) +/* 8033D390 0033A2F0 90 1E 00 04 */ stw r0, 4(r30) +/* 8033D394 0033A2F4 80 1F 00 00 */ lwz r0, 0(r31) +/* 8033D398 0033A2F8 90 1E 00 00 */ stw r0, 0(r30) +/* 8033D39C 0033A2FC 80 1F 00 08 */ lwz r0, 8(r31) +/* 8033D3A0 0033A300 90 1E 00 08 */ stw r0, 8(r30) +/* 8033D3A4 0033A304 80 9E 00 04 */ lwz r4, 4(r30) +/* 8033D3A8 0033A308 28 04 00 00 */ cmplwi r4, 0 +/* 8033D3AC 0033A30C 41 82 00 10 */ beq lbl_8033D3BC +/* 8033D3B0 0033A310 80 64 00 04 */ lwz r3, 4(r4) +/* 8033D3B4 0033A314 38 03 00 01 */ addi r0, r3, 1 +/* 8033D3B8 0033A318 90 04 00 04 */ stw r0, 4(r4) +lbl_8033D3BC: +/* 8033D3BC 0033A31C 7F C3 F3 78 */ mr r3, r30 +lbl_8033D3C0: +/* 8033D3C0 0033A320 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033D3C4 0033A324 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033D3C8 0033A328 83 C1 00 08 */ lwz r30, 8(r1) +/* 8033D3CC 0033A32C 7C 08 03 A6 */ mtlr r0 +/* 8033D3D0 0033A330 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033D3D4 0033A334 4E 80 00 20 */ blr + +.global "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fiw" +"append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fiw": +/* 8033D3D8 0033A338 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033D3DC 0033A33C 7C 08 02 A6 */ mflr r0 +/* 8033D3E0 0033A340 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033D3E4 0033A344 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8033D3E8 0033A348 7C 9F 23 78 */ mr r31, r4 +/* 8033D3EC 0033A34C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8033D3F0 0033A350 7C 7E 1B 78 */ mr r30, r3 +/* 8033D3F4 0033A354 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8033D3F8 0033A358 7C BD 2B 78 */ mr r29, r5 +/* 8033D3FC 0033A35C 38 A0 00 01 */ li r5, 1 +/* 8033D400 0033A360 80 03 00 08 */ lwz r0, 8(r3) +/* 8033D404 0033A364 7C 80 FA 14 */ add r4, r0, r31 +/* 8033D408 0033A368 4B FF FB 6D */ bl "internal_prepare_to_write__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fib" +/* 8033D40C 0033A36C 80 1E 00 08 */ lwz r0, 8(r30) +/* 8033D410 0033A370 2C 1F 00 00 */ cmpwi r31, 0 +/* 8033D414 0033A374 80 7E 00 00 */ lwz r3, 0(r30) +/* 8033D418 0033A378 38 80 00 00 */ li r4, 0 +/* 8033D41C 0033A37C 54 00 08 3C */ slwi r0, r0, 1 +/* 8033D420 0033A380 7C A3 02 14 */ add r5, r3, r0 +/* 8033D424 0033A384 40 81 00 80 */ ble lbl_8033D4A4 +/* 8033D428 0033A388 2C 1F 00 08 */ cmpwi r31, 8 +/* 8033D42C 0033A38C 38 7F FF F8 */ addi r3, r31, -8 +/* 8033D430 0033A390 40 81 00 4C */ ble lbl_8033D47C +/* 8033D434 0033A394 38 03 00 07 */ addi r0, r3, 7 +/* 8033D438 0033A398 7C A6 2B 78 */ mr r6, r5 +/* 8033D43C 0033A39C 54 00 E8 FE */ srwi r0, r0, 3 +/* 8033D440 0033A3A0 57 A7 04 3E */ clrlwi r7, r29, 0x10 +/* 8033D444 0033A3A4 7C 09 03 A6 */ mtctr r0 +/* 8033D448 0033A3A8 2C 03 00 00 */ cmpwi r3, 0 +/* 8033D44C 0033A3AC 40 81 00 30 */ ble lbl_8033D47C +lbl_8033D450: +/* 8033D450 0033A3B0 B0 E6 00 00 */ sth r7, 0(r6) +/* 8033D454 0033A3B4 38 84 00 08 */ addi r4, r4, 8 +/* 8033D458 0033A3B8 B0 E6 00 02 */ sth r7, 2(r6) +/* 8033D45C 0033A3BC B0 E6 00 04 */ sth r7, 4(r6) +/* 8033D460 0033A3C0 B0 E6 00 06 */ sth r7, 6(r6) +/* 8033D464 0033A3C4 B0 E6 00 08 */ sth r7, 8(r6) +/* 8033D468 0033A3C8 B0 E6 00 0A */ sth r7, 0xa(r6) +/* 8033D46C 0033A3CC B0 E6 00 0C */ sth r7, 0xc(r6) +/* 8033D470 0033A3D0 B0 E6 00 0E */ sth r7, 0xe(r6) +/* 8033D474 0033A3D4 38 C6 00 10 */ addi r6, r6, 0x10 +/* 8033D478 0033A3D8 42 00 FF D8 */ bdnz lbl_8033D450 +lbl_8033D47C: +/* 8033D47C 0033A3DC 54 83 08 3C */ slwi r3, r4, 1 +/* 8033D480 0033A3E0 7C 04 F8 50 */ subf r0, r4, r31 +/* 8033D484 0033A3E4 7C 65 1A 14 */ add r3, r5, r3 +/* 8033D488 0033A3E8 57 A5 04 3E */ clrlwi r5, r29, 0x10 +/* 8033D48C 0033A3EC 7C 09 03 A6 */ mtctr r0 +/* 8033D490 0033A3F0 7C 04 F8 00 */ cmpw r4, r31 +/* 8033D494 0033A3F4 40 80 00 10 */ bge lbl_8033D4A4 +lbl_8033D498: +/* 8033D498 0033A3F8 B0 A3 00 00 */ sth r5, 0(r3) +/* 8033D49C 0033A3FC 38 63 00 02 */ addi r3, r3, 2 +/* 8033D4A0 0033A400 42 00 FF F8 */ bdnz lbl_8033D498 +lbl_8033D4A4: +/* 8033D4A4 0033A404 80 1E 00 08 */ lwz r0, 8(r30) +/* 8033D4A8 0033A408 38 A0 00 00 */ li r5, 0 +/* 8033D4AC 0033A40C 7F C3 F3 78 */ mr r3, r30 +/* 8033D4B0 0033A410 7C 00 FA 14 */ add r0, r0, r31 +/* 8033D4B4 0033A414 90 1E 00 08 */ stw r0, 8(r30) +/* 8033D4B8 0033A418 80 1E 00 08 */ lwz r0, 8(r30) +/* 8033D4BC 0033A41C 80 9E 00 00 */ lwz r4, 0(r30) +/* 8033D4C0 0033A420 54 00 08 3C */ slwi r0, r0, 1 +/* 8033D4C4 0033A424 7C A4 03 2E */ sthx r5, r4, r0 +/* 8033D4C8 0033A428 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8033D4CC 0033A42C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8033D4D0 0033A430 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8033D4D4 0033A434 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8033D4D8 0033A438 7C 08 03 A6 */ mtlr r0 +/* 8033D4DC 0033A43C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8033D4E0 0033A440 4E 80 00 20 */ blr + +.global sub_8033d4e4 +sub_8033d4e4: +/* 8033D4E4 0033A444 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033D4E8 0033A448 7C 08 02 A6 */ mflr r0 +/* 8033D4EC 0033A44C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033D4F0 0033A450 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8033D4F4 0033A454 3B E0 00 00 */ li r31, 0 +/* 8033D4F8 0033A458 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8033D4FC 0033A45C 7C 9E 23 78 */ mr r30, r4 +/* 8033D500 0033A460 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8033D504 0033A464 7C 7D 1B 78 */ mr r29, r3 +/* 8033D508 0033A468 7F C3 F3 78 */ mr r3, r30 +/* 8033D50C 0033A46C 48 00 00 0C */ b lbl_8033D518 +lbl_8033D510: +/* 8033D510 0033A470 38 63 00 02 */ addi r3, r3, 2 +/* 8033D514 0033A474 3B FF 00 01 */ addi r31, r31, 1 +lbl_8033D518: +/* 8033D518 0033A478 2C 05 FF FF */ cmpwi r5, -1 +/* 8033D51C 0033A47C 41 82 00 0C */ beq lbl_8033D528 +/* 8033D520 0033A480 7C 1F 28 00 */ cmpw r31, r5 +/* 8033D524 0033A484 40 80 00 10 */ bge lbl_8033D534 +lbl_8033D528: +/* 8033D528 0033A488 A0 03 00 00 */ lhz r0, 0(r3) +/* 8033D52C 0033A48C 28 00 00 00 */ cmplwi r0, 0 +/* 8033D530 0033A490 40 82 FF E0 */ bne lbl_8033D510 +lbl_8033D534: +/* 8033D534 0033A494 80 1D 00 08 */ lwz r0, 8(r29) +/* 8033D538 0033A498 7F A3 EB 78 */ mr r3, r29 +/* 8033D53C 0033A49C 38 A0 00 01 */ li r5, 1 +/* 8033D540 0033A4A0 7C 80 FA 14 */ add r4, r0, r31 +/* 8033D544 0033A4A4 4B FF FA 31 */ bl "internal_prepare_to_write__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fib" +/* 8033D548 0033A4A8 80 1D 00 08 */ lwz r0, 8(r29) +/* 8033D54C 0033A4AC 2C 1F 00 00 */ cmpwi r31, 0 +/* 8033D550 0033A4B0 80 7D 00 00 */ lwz r3, 0(r29) +/* 8033D554 0033A4B4 38 80 00 00 */ li r4, 0 +/* 8033D558 0033A4B8 54 00 08 3C */ slwi r0, r0, 1 +/* 8033D55C 0033A4BC 7C 63 02 14 */ add r3, r3, r0 +/* 8033D560 0033A4C0 40 81 00 AC */ ble lbl_8033D60C +/* 8033D564 0033A4C4 2C 1F 00 08 */ cmpwi r31, 8 +/* 8033D568 0033A4C8 38 BF FF F8 */ addi r5, r31, -8 +/* 8033D56C 0033A4CC 40 81 00 70 */ ble lbl_8033D5DC +/* 8033D570 0033A4D0 38 05 00 07 */ addi r0, r5, 7 +/* 8033D574 0033A4D4 7F C6 F3 78 */ mr r6, r30 +/* 8033D578 0033A4D8 54 00 E8 FE */ srwi r0, r0, 3 +/* 8033D57C 0033A4DC 7C 67 1B 78 */ mr r7, r3 +/* 8033D580 0033A4E0 7C 09 03 A6 */ mtctr r0 +/* 8033D584 0033A4E4 2C 05 00 00 */ cmpwi r5, 0 +/* 8033D588 0033A4E8 40 81 00 54 */ ble lbl_8033D5DC +lbl_8033D58C: +/* 8033D58C 0033A4EC A0 06 00 00 */ lhz r0, 0(r6) +/* 8033D590 0033A4F0 38 84 00 08 */ addi r4, r4, 8 +/* 8033D594 0033A4F4 B0 07 00 00 */ sth r0, 0(r7) +/* 8033D598 0033A4F8 A0 06 00 02 */ lhz r0, 2(r6) +/* 8033D59C 0033A4FC B0 07 00 02 */ sth r0, 2(r7) +/* 8033D5A0 0033A500 A0 06 00 04 */ lhz r0, 4(r6) +/* 8033D5A4 0033A504 B0 07 00 04 */ sth r0, 4(r7) +/* 8033D5A8 0033A508 A0 06 00 06 */ lhz r0, 6(r6) +/* 8033D5AC 0033A50C B0 07 00 06 */ sth r0, 6(r7) +/* 8033D5B0 0033A510 A0 06 00 08 */ lhz r0, 8(r6) +/* 8033D5B4 0033A514 B0 07 00 08 */ sth r0, 8(r7) +/* 8033D5B8 0033A518 A0 06 00 0A */ lhz r0, 0xa(r6) +/* 8033D5BC 0033A51C B0 07 00 0A */ sth r0, 0xa(r7) +/* 8033D5C0 0033A520 A0 06 00 0C */ lhz r0, 0xc(r6) +/* 8033D5C4 0033A524 B0 07 00 0C */ sth r0, 0xc(r7) +/* 8033D5C8 0033A528 A0 06 00 0E */ lhz r0, 0xe(r6) +/* 8033D5CC 0033A52C 38 C6 00 10 */ addi r6, r6, 0x10 +/* 8033D5D0 0033A530 B0 07 00 0E */ sth r0, 0xe(r7) +/* 8033D5D4 0033A534 38 E7 00 10 */ addi r7, r7, 0x10 +/* 8033D5D8 0033A538 42 00 FF B4 */ bdnz lbl_8033D58C +lbl_8033D5DC: +/* 8033D5DC 0033A53C 54 86 08 3C */ slwi r6, r4, 1 +/* 8033D5E0 0033A540 7C 04 F8 50 */ subf r0, r4, r31 +/* 8033D5E4 0033A544 7C BE 32 14 */ add r5, r30, r6 +/* 8033D5E8 0033A548 7C 63 32 14 */ add r3, r3, r6 +/* 8033D5EC 0033A54C 7C 09 03 A6 */ mtctr r0 +/* 8033D5F0 0033A550 7C 04 F8 00 */ cmpw r4, r31 +/* 8033D5F4 0033A554 40 80 00 18 */ bge lbl_8033D60C +lbl_8033D5F8: +/* 8033D5F8 0033A558 A0 05 00 00 */ lhz r0, 0(r5) +/* 8033D5FC 0033A55C 38 A5 00 02 */ addi r5, r5, 2 +/* 8033D600 0033A560 B0 03 00 00 */ sth r0, 0(r3) +/* 8033D604 0033A564 38 63 00 02 */ addi r3, r3, 2 +/* 8033D608 0033A568 42 00 FF F0 */ bdnz lbl_8033D5F8 +lbl_8033D60C: +/* 8033D60C 0033A56C 80 1D 00 08 */ lwz r0, 8(r29) +/* 8033D610 0033A570 38 A0 00 00 */ li r5, 0 +/* 8033D614 0033A574 7F A3 EB 78 */ mr r3, r29 +/* 8033D618 0033A578 7C 00 FA 14 */ add r0, r0, r31 +/* 8033D61C 0033A57C 90 1D 00 08 */ stw r0, 8(r29) +/* 8033D620 0033A580 80 1D 00 08 */ lwz r0, 8(r29) +/* 8033D624 0033A584 80 9D 00 00 */ lwz r4, 0(r29) +/* 8033D628 0033A588 54 00 08 3C */ slwi r0, r0, 1 +/* 8033D62C 0033A58C 7C A4 03 2E */ sthx r5, r4, r0 +/* 8033D630 0033A590 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8033D634 0033A594 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8033D638 0033A598 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8033D63C 0033A59C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8033D640 0033A5A0 7C 08 03 A6 */ mtlr r0 +/* 8033D644 0033A5A4 38 21 00 20 */ addi r1, r1, 0x20 +/* 8033D648 0033A5A8 4E 80 00 20 */ blr + +.global "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +"append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": +/* 8033D64C 0033A5AC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033D650 0033A5B0 7C 08 02 A6 */ mflr r0 +/* 8033D654 0033A5B4 38 A0 00 01 */ li r5, 1 +/* 8033D658 0033A5B8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033D65C 0033A5BC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033D660 0033A5C0 7C 9F 23 78 */ mr r31, r4 +/* 8033D664 0033A5C4 93 C1 00 08 */ stw r30, 8(r1) +/* 8033D668 0033A5C8 7C 7E 1B 78 */ mr r30, r3 +/* 8033D66C 0033A5CC 80 83 00 08 */ lwz r4, 8(r3) +/* 8033D670 0033A5D0 80 1F 00 08 */ lwz r0, 8(r31) +/* 8033D674 0033A5D4 7C 84 02 14 */ add r4, r4, r0 +/* 8033D678 0033A5D8 4B FF F8 FD */ bl "internal_prepare_to_write__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fib" +/* 8033D67C 0033A5DC 80 BF 00 08 */ lwz r5, 8(r31) +/* 8033D680 0033A5E0 38 80 00 00 */ li r4, 0 +/* 8033D684 0033A5E4 80 1E 00 08 */ lwz r0, 8(r30) +/* 8033D688 0033A5E8 2C 05 00 00 */ cmpwi r5, 0 +/* 8033D68C 0033A5EC 80 7E 00 00 */ lwz r3, 0(r30) +/* 8033D690 0033A5F0 54 00 08 3C */ slwi r0, r0, 1 +/* 8033D694 0033A5F4 80 DF 00 00 */ lwz r6, 0(r31) +/* 8033D698 0033A5F8 7C 63 02 14 */ add r3, r3, r0 +/* 8033D69C 0033A5FC 40 81 00 AC */ ble lbl_8033D748 +/* 8033D6A0 0033A600 2C 05 00 08 */ cmpwi r5, 8 +/* 8033D6A4 0033A604 38 E5 FF F8 */ addi r7, r5, -8 +/* 8033D6A8 0033A608 40 81 00 70 */ ble lbl_8033D718 +/* 8033D6AC 0033A60C 38 07 00 07 */ addi r0, r7, 7 +/* 8033D6B0 0033A610 7C C8 33 78 */ mr r8, r6 +/* 8033D6B4 0033A614 54 00 E8 FE */ srwi r0, r0, 3 +/* 8033D6B8 0033A618 7C 69 1B 78 */ mr r9, r3 +/* 8033D6BC 0033A61C 7C 09 03 A6 */ mtctr r0 +/* 8033D6C0 0033A620 2C 07 00 00 */ cmpwi r7, 0 +/* 8033D6C4 0033A624 40 81 00 54 */ ble lbl_8033D718 +lbl_8033D6C8: +/* 8033D6C8 0033A628 A0 08 00 00 */ lhz r0, 0(r8) +/* 8033D6CC 0033A62C 38 84 00 08 */ addi r4, r4, 8 +/* 8033D6D0 0033A630 B0 09 00 00 */ sth r0, 0(r9) +/* 8033D6D4 0033A634 A0 08 00 02 */ lhz r0, 2(r8) +/* 8033D6D8 0033A638 B0 09 00 02 */ sth r0, 2(r9) +/* 8033D6DC 0033A63C A0 08 00 04 */ lhz r0, 4(r8) +/* 8033D6E0 0033A640 B0 09 00 04 */ sth r0, 4(r9) +/* 8033D6E4 0033A644 A0 08 00 06 */ lhz r0, 6(r8) +/* 8033D6E8 0033A648 B0 09 00 06 */ sth r0, 6(r9) +/* 8033D6EC 0033A64C A0 08 00 08 */ lhz r0, 8(r8) +/* 8033D6F0 0033A650 B0 09 00 08 */ sth r0, 8(r9) +/* 8033D6F4 0033A654 A0 08 00 0A */ lhz r0, 0xa(r8) +/* 8033D6F8 0033A658 B0 09 00 0A */ sth r0, 0xa(r9) +/* 8033D6FC 0033A65C A0 08 00 0C */ lhz r0, 0xc(r8) +/* 8033D700 0033A660 B0 09 00 0C */ sth r0, 0xc(r9) +/* 8033D704 0033A664 A0 08 00 0E */ lhz r0, 0xe(r8) +/* 8033D708 0033A668 39 08 00 10 */ addi r8, r8, 0x10 +/* 8033D70C 0033A66C B0 09 00 0E */ sth r0, 0xe(r9) +/* 8033D710 0033A670 39 29 00 10 */ addi r9, r9, 0x10 +/* 8033D714 0033A674 42 00 FF B4 */ bdnz lbl_8033D6C8 +lbl_8033D718: +/* 8033D718 0033A678 54 87 08 3C */ slwi r7, r4, 1 +/* 8033D71C 0033A67C 7C 04 28 50 */ subf r0, r4, r5 +/* 8033D720 0033A680 7C C6 3A 14 */ add r6, r6, r7 +/* 8033D724 0033A684 7C 63 3A 14 */ add r3, r3, r7 +/* 8033D728 0033A688 7C 09 03 A6 */ mtctr r0 +/* 8033D72C 0033A68C 7C 04 28 00 */ cmpw r4, r5 +/* 8033D730 0033A690 40 80 00 18 */ bge lbl_8033D748 +lbl_8033D734: +/* 8033D734 0033A694 A0 06 00 00 */ lhz r0, 0(r6) +/* 8033D738 0033A698 38 C6 00 02 */ addi r6, r6, 2 +/* 8033D73C 0033A69C B0 03 00 00 */ sth r0, 0(r3) +/* 8033D740 0033A6A0 38 63 00 02 */ addi r3, r3, 2 +/* 8033D744 0033A6A4 42 00 FF F0 */ bdnz lbl_8033D734 +lbl_8033D748: +/* 8033D748 0033A6A8 80 9E 00 08 */ lwz r4, 8(r30) +/* 8033D74C 0033A6AC 38 A0 00 00 */ li r5, 0 +/* 8033D750 0033A6B0 80 1F 00 08 */ lwz r0, 8(r31) +/* 8033D754 0033A6B4 7F C3 F3 78 */ mr r3, r30 +/* 8033D758 0033A6B8 7C 04 02 14 */ add r0, r4, r0 +/* 8033D75C 0033A6BC 90 1E 00 08 */ stw r0, 8(r30) +/* 8033D760 0033A6C0 80 1E 00 08 */ lwz r0, 8(r30) +/* 8033D764 0033A6C4 80 9E 00 00 */ lwz r4, 0(r30) +/* 8033D768 0033A6C8 54 00 08 3C */ slwi r0, r0, 1 +/* 8033D76C 0033A6CC 7C A4 03 2E */ sthx r5, r4, r0 +/* 8033D770 0033A6D0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033D774 0033A6D4 83 C1 00 08 */ lwz r30, 8(r1) +/* 8033D778 0033A6D8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033D77C 0033A6DC 7C 08 03 A6 */ mtlr r0 +/* 8033D780 0033A6E0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033D784 0033A6E4 4E 80 00 20 */ blr + +.global "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +"__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": +/* 8033D788 0033A6E8 80 04 00 00 */ lwz r0, 0(r4) +/* 8033D78C 0033A6EC 90 03 00 00 */ stw r0, 0(r3) +/* 8033D790 0033A6F0 80 04 00 04 */ lwz r0, 4(r4) +/* 8033D794 0033A6F4 90 03 00 04 */ stw r0, 4(r3) +/* 8033D798 0033A6F8 80 04 00 08 */ lwz r0, 8(r4) +/* 8033D79C 0033A6FC 90 03 00 08 */ stw r0, 8(r3) +/* 8033D7A0 0033A700 80 A3 00 04 */ lwz r5, 4(r3) +/* 8033D7A4 0033A704 28 05 00 00 */ cmplwi r5, 0 +/* 8033D7A8 0033A708 4D 82 00 20 */ beqlr +/* 8033D7AC 0033A70C 80 85 00 04 */ lwz r4, 4(r5) +/* 8033D7B0 0033A710 38 04 00 01 */ addi r0, r4, 1 +/* 8033D7B4 0033A714 90 05 00 04 */ stw r0, 4(r5) +/* 8033D7B8 0033A718 4E 80 00 20 */ blr + +.global "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCwiRCQ24rstl17rmemory_allocator" +"__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCwiRCQ24rstl17rmemory_allocator": +/* 8033D7BC 0033A71C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033D7C0 0033A720 7C 08 02 A6 */ mflr r0 +/* 8033D7C4 0033A724 2C 05 00 00 */ cmpwi r5, 0 +/* 8033D7C8 0033A728 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033D7CC 0033A72C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8033D7D0 0033A730 7C 9F 23 78 */ mr r31, r4 +/* 8033D7D4 0033A734 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8033D7D8 0033A738 7C 7E 1B 78 */ mr r30, r3 +/* 8033D7DC 0033A73C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8033D7E0 0033A740 41 81 00 28 */ bgt lbl_8033D808 +/* 8033D7E4 0033A744 A0 1F 00 00 */ lhz r0, 0(r31) +/* 8033D7E8 0033A748 28 00 00 00 */ cmplwi r0, 0 +/* 8033D7EC 0033A74C 40 82 00 1C */ bne lbl_8033D808 +/* 8033D7F0 0033A750 38 8D A9 1A */ addi r4, r13, lbl_805A94DA@sda21 +/* 8033D7F4 0033A754 38 00 00 00 */ li r0, 0 +/* 8033D7F8 0033A758 90 9E 00 00 */ stw r4, 0(r30) +/* 8033D7FC 0033A75C 90 1E 00 08 */ stw r0, 8(r30) +/* 8033D800 0033A760 90 1E 00 04 */ stw r0, 4(r30) +/* 8033D804 0033A764 48 00 01 10 */ b lbl_8033D914 +lbl_8033D808: +/* 8033D808 0033A768 7F E3 FB 78 */ mr r3, r31 +/* 8033D80C 0033A76C 3B A0 00 00 */ li r29, 0 +/* 8033D810 0033A770 48 00 00 0C */ b lbl_8033D81C +lbl_8033D814: +/* 8033D814 0033A774 38 63 00 02 */ addi r3, r3, 2 +/* 8033D818 0033A778 3B BD 00 01 */ addi r29, r29, 1 +lbl_8033D81C: +/* 8033D81C 0033A77C 2C 05 FF FF */ cmpwi r5, -1 +/* 8033D820 0033A780 41 82 00 0C */ beq lbl_8033D82C +/* 8033D824 0033A784 7C 1D 28 00 */ cmpw r29, r5 +/* 8033D828 0033A788 40 80 00 10 */ bge lbl_8033D838 +lbl_8033D82C: +/* 8033D82C 0033A78C A0 03 00 00 */ lhz r0, 0(r3) +/* 8033D830 0033A790 28 00 00 00 */ cmplwi r0, 0 +/* 8033D834 0033A794 40 82 FF E0 */ bne lbl_8033D814 +lbl_8033D838: +/* 8033D838 0033A798 7F C3 F3 78 */ mr r3, r30 +/* 8033D83C 0033A79C 38 9D 00 01 */ addi r4, r29, 1 +/* 8033D840 0033A7A0 4B FF F9 3D */ bl "internal_allocate__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fi" +/* 8033D844 0033A7A4 93 BE 00 08 */ stw r29, 8(r30) +/* 8033D848 0033A7A8 2C 1D 00 00 */ cmpwi r29, 0 +/* 8033D84C 0033A7AC 38 60 00 00 */ li r3, 0 +/* 8033D850 0033A7B0 80 9E 00 00 */ lwz r4, 0(r30) +/* 8033D854 0033A7B4 40 81 00 AC */ ble lbl_8033D900 +/* 8033D858 0033A7B8 2C 1D 00 08 */ cmpwi r29, 8 +/* 8033D85C 0033A7BC 38 BD FF F8 */ addi r5, r29, -8 +/* 8033D860 0033A7C0 40 81 00 70 */ ble lbl_8033D8D0 +/* 8033D864 0033A7C4 38 05 00 07 */ addi r0, r5, 7 +/* 8033D868 0033A7C8 7F E6 FB 78 */ mr r6, r31 +/* 8033D86C 0033A7CC 54 00 E8 FE */ srwi r0, r0, 3 +/* 8033D870 0033A7D0 7C 87 23 78 */ mr r7, r4 +/* 8033D874 0033A7D4 7C 09 03 A6 */ mtctr r0 +/* 8033D878 0033A7D8 2C 05 00 00 */ cmpwi r5, 0 +/* 8033D87C 0033A7DC 40 81 00 54 */ ble lbl_8033D8D0 +lbl_8033D880: +/* 8033D880 0033A7E0 A0 06 00 00 */ lhz r0, 0(r6) +/* 8033D884 0033A7E4 38 63 00 08 */ addi r3, r3, 8 +/* 8033D888 0033A7E8 B0 07 00 00 */ sth r0, 0(r7) +/* 8033D88C 0033A7EC A0 06 00 02 */ lhz r0, 2(r6) +/* 8033D890 0033A7F0 B0 07 00 02 */ sth r0, 2(r7) +/* 8033D894 0033A7F4 A0 06 00 04 */ lhz r0, 4(r6) +/* 8033D898 0033A7F8 B0 07 00 04 */ sth r0, 4(r7) +/* 8033D89C 0033A7FC A0 06 00 06 */ lhz r0, 6(r6) +/* 8033D8A0 0033A800 B0 07 00 06 */ sth r0, 6(r7) +/* 8033D8A4 0033A804 A0 06 00 08 */ lhz r0, 8(r6) +/* 8033D8A8 0033A808 B0 07 00 08 */ sth r0, 8(r7) +/* 8033D8AC 0033A80C A0 06 00 0A */ lhz r0, 0xa(r6) +/* 8033D8B0 0033A810 B0 07 00 0A */ sth r0, 0xa(r7) +/* 8033D8B4 0033A814 A0 06 00 0C */ lhz r0, 0xc(r6) +/* 8033D8B8 0033A818 B0 07 00 0C */ sth r0, 0xc(r7) +/* 8033D8BC 0033A81C A0 06 00 0E */ lhz r0, 0xe(r6) +/* 8033D8C0 0033A820 38 C6 00 10 */ addi r6, r6, 0x10 +/* 8033D8C4 0033A824 B0 07 00 0E */ sth r0, 0xe(r7) +/* 8033D8C8 0033A828 38 E7 00 10 */ addi r7, r7, 0x10 +/* 8033D8CC 0033A82C 42 00 FF B4 */ bdnz lbl_8033D880 +lbl_8033D8D0: +/* 8033D8D0 0033A830 54 66 08 3C */ slwi r6, r3, 1 +/* 8033D8D4 0033A834 7C 03 E8 50 */ subf r0, r3, r29 +/* 8033D8D8 0033A838 7C BF 32 14 */ add r5, r31, r6 +/* 8033D8DC 0033A83C 7C 84 32 14 */ add r4, r4, r6 +/* 8033D8E0 0033A840 7C 09 03 A6 */ mtctr r0 +/* 8033D8E4 0033A844 7C 03 E8 00 */ cmpw r3, r29 +/* 8033D8E8 0033A848 40 80 00 18 */ bge lbl_8033D900 +lbl_8033D8EC: +/* 8033D8EC 0033A84C A0 05 00 00 */ lhz r0, 0(r5) +/* 8033D8F0 0033A850 38 A5 00 02 */ addi r5, r5, 2 +/* 8033D8F4 0033A854 B0 04 00 00 */ sth r0, 0(r4) +/* 8033D8F8 0033A858 38 84 00 02 */ addi r4, r4, 2 +/* 8033D8FC 0033A85C 42 00 FF F0 */ bdnz lbl_8033D8EC +lbl_8033D900: +/* 8033D900 0033A860 80 9E 00 00 */ lwz r4, 0(r30) +/* 8033D904 0033A864 57 A0 08 3C */ slwi r0, r29, 1 +/* 8033D908 0033A868 38 A0 00 00 */ li r5, 0 +/* 8033D90C 0033A86C 7F C3 F3 78 */ mr r3, r30 +/* 8033D910 0033A870 7C A4 03 2E */ sthx r5, r4, r0 +lbl_8033D914: +/* 8033D914 0033A874 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8033D918 0033A878 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8033D91C 0033A87C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8033D920 0033A880 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8033D924 0033A884 7C 08 03 A6 */ mtlr r0 +/* 8033D928 0033A888 38 21 00 20 */ addi r1, r1, 0x20 +/* 8033D92C 0033A88C 4E 80 00 20 */ blr + +.global "internal_prepare_to_write__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fib" +"internal_prepare_to_write__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fib": +/* 8033D930 0033A890 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033D934 0033A894 7C 08 02 A6 */ mflr r0 +/* 8033D938 0033A898 38 84 00 01 */ addi r4, r4, 1 +/* 8033D93C 0033A89C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033D940 0033A8A0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8033D944 0033A8A4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8033D948 0033A8A8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8033D94C 0033A8AC 7C 7D 1B 78 */ mr r29, r3 +/* 8033D950 0033A8B0 93 81 00 10 */ stw r28, 0x10(r1) +/* 8033D954 0033A8B4 7C BC 2B 78 */ mr r28, r5 +/* 8033D958 0033A8B8 80 63 00 04 */ lwz r3, 4(r3) +/* 8033D95C 0033A8BC 28 03 00 00 */ cmplwi r3, 0 +/* 8033D960 0033A8C0 41 82 00 1C */ beq lbl_8033D97C +/* 8033D964 0033A8C4 80 03 00 04 */ lwz r0, 4(r3) +/* 8033D968 0033A8C8 2C 00 00 01 */ cmpwi r0, 1 +/* 8033D96C 0033A8CC 40 82 00 10 */ bne lbl_8033D97C +/* 8033D970 0033A8D0 80 03 00 00 */ lwz r0, 0(r3) +/* 8033D974 0033A8D4 7C 00 20 00 */ cmpw r0, r4 +/* 8033D978 0033A8D8 40 80 01 48 */ bge lbl_8033DAC0 +lbl_8033D97C: +/* 8033D97C 0033A8DC 28 03 00 00 */ cmplwi r3, 0 +/* 8033D980 0033A8E0 41 82 00 30 */ beq lbl_8033D9B0 +/* 8033D984 0033A8E4 80 63 00 00 */ lwz r3, 0(r3) +/* 8033D988 0033A8E8 38 00 00 04 */ li r0, 4 +/* 8033D98C 0033A8EC 2C 03 00 04 */ cmpwi r3, 4 +/* 8033D990 0033A8F0 41 80 00 08 */ blt lbl_8033D998 +/* 8033D994 0033A8F4 7C 60 1B 78 */ mr r0, r3 +lbl_8033D998: +/* 8033D998 0033A8F8 7C 1E 03 78 */ mr r30, r0 +/* 8033D99C 0033A8FC 48 00 00 08 */ b lbl_8033D9A4 +lbl_8033D9A0: +/* 8033D9A0 0033A900 57 DE 08 3C */ slwi r30, r30, 1 +lbl_8033D9A4: +/* 8033D9A4 0033A904 7C 1E 20 00 */ cmpw r30, r4 +/* 8033D9A8 0033A908 41 80 FF F8 */ blt lbl_8033D9A0 +/* 8033D9AC 0033A90C 48 00 00 08 */ b lbl_8033D9B4 +lbl_8033D9B0: +/* 8033D9B0 0033A910 7C 9E 23 78 */ mr r30, r4 +lbl_8033D9B4: +/* 8033D9B4 0033A914 34 7E 00 08 */ addic. r3, r30, 8 +/* 8033D9B8 0033A918 40 82 00 0C */ bne lbl_8033D9C4 +/* 8033D9BC 0033A91C 3B E0 00 00 */ li r31, 0 +/* 8033D9C0 0033A920 48 00 00 18 */ b lbl_8033D9D8 +lbl_8033D9C4: +/* 8033D9C4 0033A924 3C 80 80 3D */ lis r4, lbl_803D7A48@ha +/* 8033D9C8 0033A928 38 A0 00 00 */ li r5, 0 +/* 8033D9CC 0033A92C 38 84 7A 48 */ addi r4, r4, lbl_803D7A48@l +/* 8033D9D0 0033A930 4B FD 7E 49 */ bl __nwa__FUlPCcPCc +/* 8033D9D4 0033A934 7C 7F 1B 78 */ mr r31, r3 +lbl_8033D9D8: +/* 8033D9D8 0033A938 93 DF 00 00 */ stw r30, 0(r31) +/* 8033D9DC 0033A93C 38 60 00 01 */ li r3, 1 +/* 8033D9E0 0033A940 57 80 06 3F */ clrlwi. r0, r28, 0x18 +/* 8033D9E4 0033A944 3B DF 00 08 */ addi r30, r31, 8 +/* 8033D9E8 0033A948 90 7F 00 04 */ stw r3, 4(r31) +/* 8033D9EC 0033A94C 41 82 00 C4 */ beq lbl_8033DAB0 +/* 8033D9F0 0033A950 80 BD 00 08 */ lwz r5, 8(r29) +/* 8033D9F4 0033A954 38 80 00 00 */ li r4, 0 +/* 8033D9F8 0033A958 80 7D 00 00 */ lwz r3, 0(r29) +/* 8033D9FC 0033A95C 2C 05 00 00 */ cmpwi r5, 0 +/* 8033DA00 0033A960 40 81 00 A4 */ ble lbl_8033DAA4 +/* 8033DA04 0033A964 2C 05 00 08 */ cmpwi r5, 8 +/* 8033DA08 0033A968 38 C5 FF F8 */ addi r6, r5, -8 +/* 8033DA0C 0033A96C 40 81 00 6C */ ble lbl_8033DA78 +/* 8033DA10 0033A970 38 06 00 07 */ addi r0, r6, 7 +/* 8033DA14 0033A974 7F C7 F3 78 */ mr r7, r30 +/* 8033DA18 0033A978 54 00 E8 FE */ srwi r0, r0, 3 +/* 8033DA1C 0033A97C 7C 09 03 A6 */ mtctr r0 +/* 8033DA20 0033A980 2C 06 00 00 */ cmpwi r6, 0 +/* 8033DA24 0033A984 40 81 00 54 */ ble lbl_8033DA78 +lbl_8033DA28: +/* 8033DA28 0033A988 7C C3 22 14 */ add r6, r3, r4 +/* 8033DA2C 0033A98C 38 84 00 08 */ addi r4, r4, 8 +/* 8033DA30 0033A990 88 06 00 00 */ lbz r0, 0(r6) +/* 8033DA34 0033A994 98 07 00 00 */ stb r0, 0(r7) +/* 8033DA38 0033A998 88 06 00 01 */ lbz r0, 1(r6) +/* 8033DA3C 0033A99C 98 07 00 01 */ stb r0, 1(r7) +/* 8033DA40 0033A9A0 88 06 00 02 */ lbz r0, 2(r6) +/* 8033DA44 0033A9A4 98 07 00 02 */ stb r0, 2(r7) +/* 8033DA48 0033A9A8 88 06 00 03 */ lbz r0, 3(r6) +/* 8033DA4C 0033A9AC 98 07 00 03 */ stb r0, 3(r7) +/* 8033DA50 0033A9B0 88 06 00 04 */ lbz r0, 4(r6) +/* 8033DA54 0033A9B4 98 07 00 04 */ stb r0, 4(r7) +/* 8033DA58 0033A9B8 88 06 00 05 */ lbz r0, 5(r6) +/* 8033DA5C 0033A9BC 98 07 00 05 */ stb r0, 5(r7) +/* 8033DA60 0033A9C0 88 06 00 06 */ lbz r0, 6(r6) +/* 8033DA64 0033A9C4 98 07 00 06 */ stb r0, 6(r7) +/* 8033DA68 0033A9C8 88 06 00 07 */ lbz r0, 7(r6) +/* 8033DA6C 0033A9CC 98 07 00 07 */ stb r0, 7(r7) +/* 8033DA70 0033A9D0 38 E7 00 08 */ addi r7, r7, 8 +/* 8033DA74 0033A9D4 42 00 FF B4 */ bdnz lbl_8033DA28 +lbl_8033DA78: +/* 8033DA78 0033A9D8 7C 04 28 50 */ subf r0, r4, r5 +/* 8033DA7C 0033A9DC 7C DE 22 14 */ add r6, r30, r4 +/* 8033DA80 0033A9E0 7C 63 22 14 */ add r3, r3, r4 +/* 8033DA84 0033A9E4 7C 09 03 A6 */ mtctr r0 +/* 8033DA88 0033A9E8 7C 04 28 00 */ cmpw r4, r5 +/* 8033DA8C 0033A9EC 40 80 00 18 */ bge lbl_8033DAA4 +lbl_8033DA90: +/* 8033DA90 0033A9F0 88 03 00 00 */ lbz r0, 0(r3) +/* 8033DA94 0033A9F4 38 63 00 01 */ addi r3, r3, 1 +/* 8033DA98 0033A9F8 98 06 00 00 */ stb r0, 0(r6) +/* 8033DA9C 0033A9FC 38 C6 00 01 */ addi r6, r6, 1 +/* 8033DAA0 0033AA00 42 00 FF F0 */ bdnz lbl_8033DA90 +lbl_8033DAA4: +/* 8033DAA4 0033AA04 80 1D 00 08 */ lwz r0, 8(r29) +/* 8033DAA8 0033AA08 38 60 00 00 */ li r3, 0 +/* 8033DAAC 0033AA0C 7C 7E 01 AE */ stbx r3, r30, r0 +lbl_8033DAB0: +/* 8033DAB0 0033AA10 7F A3 EB 78 */ mr r3, r29 +/* 8033DAB4 0033AA14 48 00 00 2D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8033DAB8 0033AA18 93 FD 00 04 */ stw r31, 4(r29) +/* 8033DABC 0033AA1C 93 DD 00 00 */ stw r30, 0(r29) +lbl_8033DAC0: +/* 8033DAC0 0033AA20 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8033DAC4 0033AA24 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8033DAC8 0033AA28 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8033DACC 0033AA2C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8033DAD0 0033AA30 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8033DAD4 0033AA34 7C 08 03 A6 */ mtlr r0 +/* 8033DAD8 0033AA38 38 21 00 20 */ addi r1, r1, 0x20 +/* 8033DADC 0033AA3C 4E 80 00 20 */ blr + +.global "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +"internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv": +/* 8033DAE0 0033AA40 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033DAE4 0033AA44 7C 08 02 A6 */ mflr r0 +/* 8033DAE8 0033AA48 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033DAEC 0033AA4C 80 A3 00 04 */ lwz r5, 4(r3) +/* 8033DAF0 0033AA50 28 05 00 00 */ cmplwi r5, 0 +/* 8033DAF4 0033AA54 41 82 00 24 */ beq lbl_8033DB18 +/* 8033DAF8 0033AA58 80 85 00 04 */ lwz r4, 4(r5) +/* 8033DAFC 0033AA5C 34 04 FF FF */ addic. r0, r4, -1 +/* 8033DB00 0033AA60 90 05 00 04 */ stw r0, 4(r5) +/* 8033DB04 0033AA64 40 82 00 14 */ bne lbl_8033DB18 +/* 8033DB08 0033AA68 80 63 00 04 */ lwz r3, 4(r3) +/* 8033DB0C 0033AA6C 28 03 00 00 */ cmplwi r3, 0 +/* 8033DB10 0033AA70 41 82 00 08 */ beq lbl_8033DB18 +/* 8033DB14 0033AA74 4B FD 7E 1D */ bl Free__7CMemoryFPCv +lbl_8033DB18: +/* 8033DB18 0033AA78 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033DB1C 0033AA7C 7C 08 03 A6 */ mtlr r0 +/* 8033DB20 0033AA80 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033DB24 0033AA84 4E 80 00 20 */ blr + +.global "internal_allocate__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fi" +"internal_allocate__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fi": +/* 8033DB28 0033AA88 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033DB2C 0033AA8C 7C 08 02 A6 */ mflr r0 +/* 8033DB30 0033AA90 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033DB34 0033AA94 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033DB38 0033AA98 7C 9F 23 78 */ mr r31, r4 +/* 8033DB3C 0033AA9C 93 C1 00 08 */ stw r30, 8(r1) +/* 8033DB40 0033AAA0 7C 7E 1B 78 */ mr r30, r3 +/* 8033DB44 0033AAA4 34 7F 00 08 */ addic. r3, r31, 8 +/* 8033DB48 0033AAA8 40 82 00 10 */ bne lbl_8033DB58 +/* 8033DB4C 0033AAAC 38 00 00 00 */ li r0, 0 +/* 8033DB50 0033AAB0 90 1E 00 04 */ stw r0, 4(r30) +/* 8033DB54 0033AAB4 48 00 00 18 */ b lbl_8033DB6C +lbl_8033DB58: +/* 8033DB58 0033AAB8 3C 80 80 3D */ lis r4, lbl_803D7A48@ha +/* 8033DB5C 0033AABC 38 A0 00 00 */ li r5, 0 +/* 8033DB60 0033AAC0 38 84 7A 48 */ addi r4, r4, lbl_803D7A48@l +/* 8033DB64 0033AAC4 4B FD 7C B5 */ bl __nwa__FUlPCcPCc +/* 8033DB68 0033AAC8 90 7E 00 04 */ stw r3, 4(r30) +lbl_8033DB6C: +/* 8033DB6C 0033AACC 80 7E 00 04 */ lwz r3, 4(r30) +/* 8033DB70 0033AAD0 38 00 00 01 */ li r0, 1 +/* 8033DB74 0033AAD4 38 63 00 08 */ addi r3, r3, 8 +/* 8033DB78 0033AAD8 90 7E 00 00 */ stw r3, 0(r30) +/* 8033DB7C 0033AADC 80 7E 00 04 */ lwz r3, 4(r30) +/* 8033DB80 0033AAE0 93 E3 00 00 */ stw r31, 0(r3) +/* 8033DB84 0033AAE4 80 7E 00 04 */ lwz r3, 4(r30) +/* 8033DB88 0033AAE8 90 03 00 04 */ stw r0, 4(r3) +/* 8033DB8C 0033AAEC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033DB90 0033AAF0 83 C1 00 08 */ lwz r30, 8(r1) +/* 8033DB94 0033AAF4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033DB98 0033AAF8 7C 08 03 A6 */ mtlr r0 +/* 8033DB9C 0033AAFC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033DBA0 0033AB00 4E 80 00 20 */ blr + +.global "range_iterator__Q24rstl66basic_string,Q24rstl17rmemory_allocator>CFii" +"range_iterator__Q24rstl66basic_string,Q24rstl17rmemory_allocator>CFii": +/* 8033DBA4 0033AB04 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8033DBA8 0033AB08 7C 08 02 A6 */ mflr r0 +/* 8033DBAC 0033AB0C 90 01 00 44 */ stw r0, 0x44(r1) +/* 8033DBB0 0033AB10 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 8033DBB4 0033AB14 7C DF 33 78 */ mr r31, r6 +/* 8033DBB8 0033AB18 93 C1 00 38 */ stw r30, 0x38(r1) +/* 8033DBBC 0033AB1C 7C BE 2B 78 */ mr r30, r5 +/* 8033DBC0 0033AB20 93 A1 00 34 */ stw r29, 0x34(r1) +/* 8033DBC4 0033AB24 7C 9D 23 78 */ mr r29, r4 +/* 8033DBC8 0033AB28 93 81 00 30 */ stw r28, 0x30(r1) +/* 8033DBCC 0033AB2C 7C 7C 1B 78 */ mr r28, r3 +/* 8033DBD0 0033AB30 38 61 00 20 */ addi r3, r1, 0x20 +/* 8033DBD4 0033AB34 48 00 00 9D */ bl "position_iterator__Q24rstl66basic_string,Q24rstl17rmemory_allocator>CFi" +/* 8033DBD8 0033AB38 2C 1F FF FF */ cmpwi r31, -1 +/* 8033DBDC 0033AB3C 80 A1 00 20 */ lwz r5, 0x20(r1) +/* 8033DBE0 0033AB40 80 C1 00 24 */ lwz r6, 0x24(r1) +/* 8033DBE4 0033AB44 38 80 00 00 */ li r4, 0 +/* 8033DBE8 0033AB48 41 82 00 18 */ beq lbl_8033DC00 +/* 8033DBEC 0033AB4C 80 1D 00 08 */ lwz r0, 8(r29) +/* 8033DBF0 0033AB50 7C 7E FA 14 */ add r3, r30, r31 +/* 8033DBF4 0033AB54 7C 03 00 00 */ cmpw r3, r0 +/* 8033DBF8 0033AB58 40 80 00 08 */ bge lbl_8033DC00 +/* 8033DBFC 0033AB5C 38 80 00 01 */ li r4, 1 +lbl_8033DC00: +/* 8033DC00 0033AB60 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 8033DC04 0033AB64 41 82 00 24 */ beq lbl_8033DC28 +/* 8033DC08 0033AB68 90 C1 00 0C */ stw r6, 0xc(r1) +/* 8033DC0C 0033AB6C 7C 06 FA 14 */ add r0, r6, r31 +/* 8033DC10 0033AB70 38 61 00 18 */ addi r3, r1, 0x18 +/* 8033DC14 0033AB74 90 A1 00 08 */ stw r5, 8(r1) +/* 8033DC18 0033AB78 90 01 00 0C */ stw r0, 0xc(r1) +/* 8033DC1C 0033AB7C 90 A1 00 18 */ stw r5, 0x18(r1) +/* 8033DC20 0033AB80 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8033DC24 0033AB84 48 00 00 14 */ b lbl_8033DC38 +lbl_8033DC28: +/* 8033DC28 0033AB88 80 1D 00 08 */ lwz r0, 8(r29) +/* 8033DC2C 0033AB8C 38 61 00 10 */ addi r3, r1, 0x10 +/* 8033DC30 0033AB90 93 A1 00 10 */ stw r29, 0x10(r1) +/* 8033DC34 0033AB94 90 01 00 14 */ stw r0, 0x14(r1) +lbl_8033DC38: +/* 8033DC38 0033AB98 80 03 00 00 */ lwz r0, 0(r3) +/* 8033DC3C 0033AB9C 80 63 00 04 */ lwz r3, 4(r3) +/* 8033DC40 0033ABA0 90 BC 00 00 */ stw r5, 0(r28) +/* 8033DC44 0033ABA4 90 DC 00 04 */ stw r6, 4(r28) +/* 8033DC48 0033ABA8 90 1C 00 08 */ stw r0, 8(r28) +/* 8033DC4C 0033ABAC 90 7C 00 0C */ stw r3, 0xc(r28) +/* 8033DC50 0033ABB0 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8033DC54 0033ABB4 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 8033DC58 0033ABB8 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 8033DC5C 0033ABBC 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 8033DC60 0033ABC0 83 81 00 30 */ lwz r28, 0x30(r1) +/* 8033DC64 0033ABC4 7C 08 03 A6 */ mtlr r0 +/* 8033DC68 0033ABC8 38 21 00 40 */ addi r1, r1, 0x40 +/* 8033DC6C 0033ABCC 4E 80 00 20 */ blr + +.global "position_iterator__Q24rstl66basic_string,Q24rstl17rmemory_allocator>CFi" +"position_iterator__Q24rstl66basic_string,Q24rstl17rmemory_allocator>CFi": +/* 8033DC70 0033ABD0 2C 05 FF FF */ cmpwi r5, -1 +/* 8033DC74 0033ABD4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033DC78 0033ABD8 41 82 00 10 */ beq lbl_8033DC88 +/* 8033DC7C 0033ABDC 80 04 00 08 */ lwz r0, 8(r4) +/* 8033DC80 0033ABE0 7C 05 00 00 */ cmpw r5, r0 +/* 8033DC84 0033ABE4 41 80 00 14 */ blt lbl_8033DC98 +lbl_8033DC88: +/* 8033DC88 0033ABE8 80 04 00 08 */ lwz r0, 8(r4) +/* 8033DC8C 0033ABEC 90 83 00 00 */ stw r4, 0(r3) +/* 8033DC90 0033ABF0 90 03 00 04 */ stw r0, 4(r3) +/* 8033DC94 0033ABF4 48 00 00 18 */ b lbl_8033DCAC +lbl_8033DC98: +/* 8033DC98 0033ABF8 90 83 00 00 */ stw r4, 0(r3) +/* 8033DC9C 0033ABFC 38 00 00 00 */ li r0, 0 +/* 8033DCA0 0033AC00 90 81 00 08 */ stw r4, 8(r1) +/* 8033DCA4 0033AC04 90 01 00 0C */ stw r0, 0xc(r1) +/* 8033DCA8 0033AC08 90 A3 00 04 */ stw r5, 4(r3) +lbl_8033DCAC: +/* 8033DCAC 0033AC0C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033DCB0 0033AC10 4E 80 00 20 */ blr + +.global "PutTo__Q24rstl66basic_string,Q24rstl17rmemory_allocator>CFR13COutputStream" +"PutTo__Q24rstl66basic_string,Q24rstl17rmemory_allocator>CFR13COutputStream": +/* 8033DCB4 0033AC14 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033DCB8 0033AC18 7C 08 02 A6 */ mflr r0 +/* 8033DCBC 0033AC1C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033DCC0 0033AC20 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8033DCC4 0033AC24 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8033DCC8 0033AC28 3B C0 00 00 */ li r30, 0 +/* 8033DCCC 0033AC2C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8033DCD0 0033AC30 7C 9D 23 78 */ mr r29, r4 +/* 8033DCD4 0033AC34 93 81 00 10 */ stw r28, 0x10(r1) +/* 8033DCD8 0033AC38 7C 7C 1B 78 */ mr r28, r3 +/* 8033DCDC 0033AC3C 48 00 00 50 */ b lbl_8033DD2C +lbl_8033DCE0: +/* 8033DCE0 0033AC40 80 9C 00 00 */ lwz r4, 0(r28) +/* 8033DCE4 0033AC44 7F A3 EB 78 */ mr r3, r29 +/* 8033DCE8 0033AC48 7F E4 F0 AE */ lbzx r31, r4, r30 +/* 8033DCEC 0033AC4C 48 00 17 CD */ bl FlushShiftRegister__13COutputStreamFv +/* 8033DCF0 0033AC50 80 7D 00 04 */ lwz r3, 4(r29) +/* 8033DCF4 0033AC54 80 1D 00 08 */ lwz r0, 8(r29) +/* 8033DCF8 0033AC58 7C 03 00 40 */ cmplw r3, r0 +/* 8033DCFC 0033AC5C 41 80 00 0C */ blt lbl_8033DD08 +/* 8033DD00 0033AC60 7F A3 EB 78 */ mr r3, r29 +/* 8033DD04 0033AC64 48 00 18 21 */ bl DoFlush__13COutputStreamFv +lbl_8033DD08: +/* 8033DD08 0033AC68 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 8033DD0C 0033AC6C 3B DE 00 01 */ addi r30, r30, 1 +/* 8033DD10 0033AC70 38 03 00 01 */ addi r0, r3, 1 +/* 8033DD14 0033AC74 90 1D 00 10 */ stw r0, 0x10(r29) +/* 8033DD18 0033AC78 80 7D 00 04 */ lwz r3, 4(r29) +/* 8033DD1C 0033AC7C 80 9D 00 0C */ lwz r4, 0xc(r29) +/* 8033DD20 0033AC80 38 03 00 01 */ addi r0, r3, 1 +/* 8033DD24 0033AC84 90 1D 00 04 */ stw r0, 4(r29) +/* 8033DD28 0033AC88 7F E4 19 AE */ stbx r31, r4, r3 +lbl_8033DD2C: +/* 8033DD2C 0033AC8C 80 7C 00 08 */ lwz r3, 8(r28) +/* 8033DD30 0033AC90 38 03 00 01 */ addi r0, r3, 1 +/* 8033DD34 0033AC94 7C 1E 00 00 */ cmpw r30, r0 +/* 8033DD38 0033AC98 41 80 FF A8 */ blt lbl_8033DCE0 +/* 8033DD3C 0033AC9C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8033DD40 0033ACA0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8033DD44 0033ACA4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8033DD48 0033ACA8 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8033DD4C 0033ACAC 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8033DD50 0033ACB0 7C 08 03 A6 */ mtlr r0 +/* 8033DD54 0033ACB4 38 21 00 20 */ addi r1, r1, 0x20 +/* 8033DD58 0033ACB8 4E 80 00 20 */ blr + +.global "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +"assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": +/* 8033DD5C 0033ACBC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033DD60 0033ACC0 7C 08 02 A6 */ mflr r0 +/* 8033DD64 0033ACC4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033DD68 0033ACC8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033DD6C 0033ACCC 7C 9F 23 78 */ mr r31, r4 +/* 8033DD70 0033ACD0 93 C1 00 08 */ stw r30, 8(r1) +/* 8033DD74 0033ACD4 7C 7E 1B 78 */ mr r30, r3 +/* 8033DD78 0033ACD8 80 83 00 04 */ lwz r4, 4(r3) +/* 8033DD7C 0033ACDC 28 04 00 00 */ cmplwi r4, 0 +/* 8033DD80 0033ACE0 41 82 00 14 */ beq lbl_8033DD94 +/* 8033DD84 0033ACE4 80 1F 00 04 */ lwz r0, 4(r31) +/* 8033DD88 0033ACE8 7C 04 00 40 */ cmplw r4, r0 +/* 8033DD8C 0033ACEC 40 82 00 08 */ bne lbl_8033DD94 +/* 8033DD90 0033ACF0 48 00 00 40 */ b lbl_8033DDD0 +lbl_8033DD94: +/* 8033DD94 0033ACF4 7F C3 F3 78 */ mr r3, r30 +/* 8033DD98 0033ACF8 4B FF FD 49 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8033DD9C 0033ACFC 80 1F 00 04 */ lwz r0, 4(r31) +/* 8033DDA0 0033AD00 90 1E 00 04 */ stw r0, 4(r30) +/* 8033DDA4 0033AD04 80 1F 00 00 */ lwz r0, 0(r31) +/* 8033DDA8 0033AD08 90 1E 00 00 */ stw r0, 0(r30) +/* 8033DDAC 0033AD0C 80 1F 00 08 */ lwz r0, 8(r31) +/* 8033DDB0 0033AD10 90 1E 00 08 */ stw r0, 8(r30) +/* 8033DDB4 0033AD14 80 9E 00 04 */ lwz r4, 4(r30) +/* 8033DDB8 0033AD18 28 04 00 00 */ cmplwi r4, 0 +/* 8033DDBC 0033AD1C 41 82 00 10 */ beq lbl_8033DDCC +/* 8033DDC0 0033AD20 80 64 00 04 */ lwz r3, 4(r4) +/* 8033DDC4 0033AD24 38 03 00 01 */ addi r0, r3, 1 +/* 8033DDC8 0033AD28 90 04 00 04 */ stw r0, 4(r4) +lbl_8033DDCC: +/* 8033DDCC 0033AD2C 7F C3 F3 78 */ mr r3, r30 +lbl_8033DDD0: +/* 8033DDD0 0033AD30 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033DDD4 0033AD34 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033DDD8 0033AD38 83 C1 00 08 */ lwz r30, 8(r1) +/* 8033DDDC 0033AD3C 7C 08 03 A6 */ mtlr r0 +/* 8033DDE0 0033AD40 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033DDE4 0033AD44 4E 80 00 20 */ blr + +.global "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fic" +"append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fic": +/* 8033DDE8 0033AD48 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033DDEC 0033AD4C 7C 08 02 A6 */ mflr r0 +/* 8033DDF0 0033AD50 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033DDF4 0033AD54 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8033DDF8 0033AD58 7C 7F 1B 78 */ mr r31, r3 +/* 8033DDFC 0033AD5C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8033DE00 0033AD60 7C BE 2B 78 */ mr r30, r5 +/* 8033DE04 0033AD64 38 A0 00 01 */ li r5, 1 +/* 8033DE08 0033AD68 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8033DE0C 0033AD6C 7C 9D 23 78 */ mr r29, r4 +/* 8033DE10 0033AD70 80 03 00 08 */ lwz r0, 8(r3) +/* 8033DE14 0033AD74 7C 80 EA 14 */ add r4, r0, r29 +/* 8033DE18 0033AD78 4B FF FB 19 */ bl "internal_prepare_to_write__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fib" +/* 8033DE1C 0033AD7C 2C 1D 00 00 */ cmpwi r29, 0 +/* 8033DE20 0033AD80 80 7F 00 00 */ lwz r3, 0(r31) +/* 8033DE24 0033AD84 80 1F 00 08 */ lwz r0, 8(r31) +/* 8033DE28 0033AD88 38 80 00 00 */ li r4, 0 +/* 8033DE2C 0033AD8C 7C 63 02 14 */ add r3, r3, r0 +/* 8033DE30 0033AD90 40 81 00 78 */ ble lbl_8033DEA8 +/* 8033DE34 0033AD94 2C 1D 00 08 */ cmpwi r29, 8 +/* 8033DE38 0033AD98 38 BD FF F8 */ addi r5, r29, -8 +/* 8033DE3C 0033AD9C 40 81 00 48 */ ble lbl_8033DE84 +/* 8033DE40 0033ADA0 38 05 00 07 */ addi r0, r5, 7 +/* 8033DE44 0033ADA4 7F C6 07 74 */ extsb r6, r30 +/* 8033DE48 0033ADA8 54 00 E8 FE */ srwi r0, r0, 3 +/* 8033DE4C 0033ADAC 7C 09 03 A6 */ mtctr r0 +/* 8033DE50 0033ADB0 2C 05 00 00 */ cmpwi r5, 0 +/* 8033DE54 0033ADB4 40 81 00 30 */ ble lbl_8033DE84 +lbl_8033DE58: +/* 8033DE58 0033ADB8 7C A3 22 14 */ add r5, r3, r4 +/* 8033DE5C 0033ADBC 38 84 00 08 */ addi r4, r4, 8 +/* 8033DE60 0033ADC0 98 C5 00 00 */ stb r6, 0(r5) +/* 8033DE64 0033ADC4 98 C5 00 01 */ stb r6, 1(r5) +/* 8033DE68 0033ADC8 98 C5 00 02 */ stb r6, 2(r5) +/* 8033DE6C 0033ADCC 98 C5 00 03 */ stb r6, 3(r5) +/* 8033DE70 0033ADD0 98 C5 00 04 */ stb r6, 4(r5) +/* 8033DE74 0033ADD4 98 C5 00 05 */ stb r6, 5(r5) +/* 8033DE78 0033ADD8 98 C5 00 06 */ stb r6, 6(r5) +/* 8033DE7C 0033ADDC 98 C5 00 07 */ stb r6, 7(r5) +/* 8033DE80 0033ADE0 42 00 FF D8 */ bdnz lbl_8033DE58 +lbl_8033DE84: +/* 8033DE84 0033ADE4 7C 04 E8 50 */ subf r0, r4, r29 +/* 8033DE88 0033ADE8 7F C5 07 74 */ extsb r5, r30 +/* 8033DE8C 0033ADEC 7C 63 22 14 */ add r3, r3, r4 +/* 8033DE90 0033ADF0 7C 09 03 A6 */ mtctr r0 +/* 8033DE94 0033ADF4 7C 04 E8 00 */ cmpw r4, r29 +/* 8033DE98 0033ADF8 40 80 00 10 */ bge lbl_8033DEA8 +lbl_8033DE9C: +/* 8033DE9C 0033ADFC 98 A3 00 00 */ stb r5, 0(r3) +/* 8033DEA0 0033AE00 38 63 00 01 */ addi r3, r3, 1 +/* 8033DEA4 0033AE04 42 00 FF F8 */ bdnz lbl_8033DE9C +lbl_8033DEA8: +/* 8033DEA8 0033AE08 80 1F 00 08 */ lwz r0, 8(r31) +/* 8033DEAC 0033AE0C 38 A0 00 00 */ li r5, 0 +/* 8033DEB0 0033AE10 7F E3 FB 78 */ mr r3, r31 +/* 8033DEB4 0033AE14 7C 00 EA 14 */ add r0, r0, r29 +/* 8033DEB8 0033AE18 90 1F 00 08 */ stw r0, 8(r31) +/* 8033DEBC 0033AE1C 80 9F 00 00 */ lwz r4, 0(r31) +/* 8033DEC0 0033AE20 80 1F 00 08 */ lwz r0, 8(r31) +/* 8033DEC4 0033AE24 7C A4 01 AE */ stbx r5, r4, r0 +/* 8033DEC8 0033AE28 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8033DECC 0033AE2C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8033DED0 0033AE30 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8033DED4 0033AE34 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8033DED8 0033AE38 7C 08 03 A6 */ mtlr r0 +/* 8033DEDC 0033AE3C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8033DEE0 0033AE40 4E 80 00 20 */ blr + +.global "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCci" +"append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCci": +/* 8033DEE4 0033AE44 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033DEE8 0033AE48 7C 08 02 A6 */ mflr r0 +/* 8033DEEC 0033AE4C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033DEF0 0033AE50 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8033DEF4 0033AE54 3B E0 00 00 */ li r31, 0 +/* 8033DEF8 0033AE58 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8033DEFC 0033AE5C 7C 9E 23 78 */ mr r30, r4 +/* 8033DF00 0033AE60 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8033DF04 0033AE64 7C 7D 1B 78 */ mr r29, r3 +/* 8033DF08 0033AE68 7F C3 F3 78 */ mr r3, r30 +/* 8033DF0C 0033AE6C 48 00 00 0C */ b lbl_8033DF18 +lbl_8033DF10: +/* 8033DF10 0033AE70 38 63 00 01 */ addi r3, r3, 1 +/* 8033DF14 0033AE74 3B FF 00 01 */ addi r31, r31, 1 +lbl_8033DF18: +/* 8033DF18 0033AE78 2C 05 FF FF */ cmpwi r5, -1 +/* 8033DF1C 0033AE7C 41 82 00 0C */ beq lbl_8033DF28 +/* 8033DF20 0033AE80 7C 1F 28 00 */ cmpw r31, r5 +/* 8033DF24 0033AE84 40 80 00 10 */ bge lbl_8033DF34 +lbl_8033DF28: +/* 8033DF28 0033AE88 88 03 00 00 */ lbz r0, 0(r3) +/* 8033DF2C 0033AE8C 7C 00 07 75 */ extsb. r0, r0 +/* 8033DF30 0033AE90 40 82 FF E0 */ bne lbl_8033DF10 +lbl_8033DF34: +/* 8033DF34 0033AE94 80 1D 00 08 */ lwz r0, 8(r29) +/* 8033DF38 0033AE98 7F A3 EB 78 */ mr r3, r29 +/* 8033DF3C 0033AE9C 38 A0 00 01 */ li r5, 1 +/* 8033DF40 0033AEA0 7C 80 FA 14 */ add r4, r0, r31 +/* 8033DF44 0033AEA4 4B FF F9 ED */ bl "internal_prepare_to_write__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fib" +/* 8033DF48 0033AEA8 2C 1F 00 00 */ cmpwi r31, 0 +/* 8033DF4C 0033AEAC 80 7D 00 00 */ lwz r3, 0(r29) +/* 8033DF50 0033AEB0 80 1D 00 08 */ lwz r0, 8(r29) +/* 8033DF54 0033AEB4 38 A0 00 00 */ li r5, 0 +/* 8033DF58 0033AEB8 7C 63 02 14 */ add r3, r3, r0 +/* 8033DF5C 0033AEBC 40 81 00 A0 */ ble lbl_8033DFFC +/* 8033DF60 0033AEC0 2C 1F 00 08 */ cmpwi r31, 8 +/* 8033DF64 0033AEC4 38 9F FF F8 */ addi r4, r31, -8 +/* 8033DF68 0033AEC8 40 81 00 68 */ ble lbl_8033DFD0 +/* 8033DF6C 0033AECC 38 04 00 07 */ addi r0, r4, 7 +/* 8033DF70 0033AED0 54 00 E8 FE */ srwi r0, r0, 3 +/* 8033DF74 0033AED4 7C 09 03 A6 */ mtctr r0 +/* 8033DF78 0033AED8 2C 04 00 00 */ cmpwi r4, 0 +/* 8033DF7C 0033AEDC 40 81 00 54 */ ble lbl_8033DFD0 +lbl_8033DF80: +/* 8033DF80 0033AEE0 7C 9E 2A 14 */ add r4, r30, r5 +/* 8033DF84 0033AEE4 7C C3 2A 14 */ add r6, r3, r5 +/* 8033DF88 0033AEE8 88 04 00 00 */ lbz r0, 0(r4) +/* 8033DF8C 0033AEEC 38 A5 00 08 */ addi r5, r5, 8 +/* 8033DF90 0033AEF0 98 06 00 00 */ stb r0, 0(r6) +/* 8033DF94 0033AEF4 88 04 00 01 */ lbz r0, 1(r4) +/* 8033DF98 0033AEF8 98 06 00 01 */ stb r0, 1(r6) +/* 8033DF9C 0033AEFC 88 04 00 02 */ lbz r0, 2(r4) +/* 8033DFA0 0033AF00 98 06 00 02 */ stb r0, 2(r6) +/* 8033DFA4 0033AF04 88 04 00 03 */ lbz r0, 3(r4) +/* 8033DFA8 0033AF08 98 06 00 03 */ stb r0, 3(r6) +/* 8033DFAC 0033AF0C 88 04 00 04 */ lbz r0, 4(r4) +/* 8033DFB0 0033AF10 98 06 00 04 */ stb r0, 4(r6) +/* 8033DFB4 0033AF14 88 04 00 05 */ lbz r0, 5(r4) +/* 8033DFB8 0033AF18 98 06 00 05 */ stb r0, 5(r6) +/* 8033DFBC 0033AF1C 88 04 00 06 */ lbz r0, 6(r4) +/* 8033DFC0 0033AF20 98 06 00 06 */ stb r0, 6(r6) +/* 8033DFC4 0033AF24 88 04 00 07 */ lbz r0, 7(r4) +/* 8033DFC8 0033AF28 98 06 00 07 */ stb r0, 7(r6) +/* 8033DFCC 0033AF2C 42 00 FF B4 */ bdnz lbl_8033DF80 +lbl_8033DFD0: +/* 8033DFD0 0033AF30 7C 05 F8 50 */ subf r0, r5, r31 +/* 8033DFD4 0033AF34 7C 9E 2A 14 */ add r4, r30, r5 +/* 8033DFD8 0033AF38 7C 63 2A 14 */ add r3, r3, r5 +/* 8033DFDC 0033AF3C 7C 09 03 A6 */ mtctr r0 +/* 8033DFE0 0033AF40 7C 05 F8 00 */ cmpw r5, r31 +/* 8033DFE4 0033AF44 40 80 00 18 */ bge lbl_8033DFFC +lbl_8033DFE8: +/* 8033DFE8 0033AF48 88 04 00 00 */ lbz r0, 0(r4) +/* 8033DFEC 0033AF4C 38 84 00 01 */ addi r4, r4, 1 +/* 8033DFF0 0033AF50 98 03 00 00 */ stb r0, 0(r3) +/* 8033DFF4 0033AF54 38 63 00 01 */ addi r3, r3, 1 +/* 8033DFF8 0033AF58 42 00 FF F0 */ bdnz lbl_8033DFE8 +lbl_8033DFFC: +/* 8033DFFC 0033AF5C 80 1D 00 08 */ lwz r0, 8(r29) +/* 8033E000 0033AF60 38 A0 00 00 */ li r5, 0 +/* 8033E004 0033AF64 7F A3 EB 78 */ mr r3, r29 +/* 8033E008 0033AF68 7C 00 FA 14 */ add r0, r0, r31 +/* 8033E00C 0033AF6C 90 1D 00 08 */ stw r0, 8(r29) +/* 8033E010 0033AF70 80 9D 00 00 */ lwz r4, 0(r29) +/* 8033E014 0033AF74 80 1D 00 08 */ lwz r0, 8(r29) +/* 8033E018 0033AF78 7C A4 01 AE */ stbx r5, r4, r0 +/* 8033E01C 0033AF7C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8033E020 0033AF80 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8033E024 0033AF84 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8033E028 0033AF88 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8033E02C 0033AF8C 7C 08 03 A6 */ mtlr r0 +/* 8033E030 0033AF90 38 21 00 20 */ addi r1, r1, 0x20 +/* 8033E034 0033AF94 4E 80 00 20 */ blr + +.global "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +"append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": +/* 8033E038 0033AF98 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8033E03C 0033AF9C 7C 08 02 A6 */ mflr r0 +/* 8033E040 0033AFA0 38 A0 00 01 */ li r5, 1 +/* 8033E044 0033AFA4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8033E048 0033AFA8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8033E04C 0033AFAC 7C 9F 23 78 */ mr r31, r4 +/* 8033E050 0033AFB0 93 C1 00 08 */ stw r30, 8(r1) +/* 8033E054 0033AFB4 7C 7E 1B 78 */ mr r30, r3 +/* 8033E058 0033AFB8 80 83 00 08 */ lwz r4, 8(r3) +/* 8033E05C 0033AFBC 80 1F 00 08 */ lwz r0, 8(r31) +/* 8033E060 0033AFC0 7C 84 02 14 */ add r4, r4, r0 +/* 8033E064 0033AFC4 4B FF F8 CD */ bl "internal_prepare_to_write__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fib" +/* 8033E068 0033AFC8 80 DF 00 08 */ lwz r6, 8(r31) +/* 8033E06C 0033AFCC 38 A0 00 00 */ li r5, 0 +/* 8033E070 0033AFD0 80 7E 00 00 */ lwz r3, 0(r30) +/* 8033E074 0033AFD4 80 1E 00 08 */ lwz r0, 8(r30) +/* 8033E078 0033AFD8 2C 06 00 00 */ cmpwi r6, 0 +/* 8033E07C 0033AFDC 80 9F 00 00 */ lwz r4, 0(r31) +/* 8033E080 0033AFE0 7C 63 02 14 */ add r3, r3, r0 +/* 8033E084 0033AFE4 40 81 00 A0 */ ble lbl_8033E124 +/* 8033E088 0033AFE8 2C 06 00 08 */ cmpwi r6, 8 +/* 8033E08C 0033AFEC 38 E6 FF F8 */ addi r7, r6, -8 +/* 8033E090 0033AFF0 40 81 00 68 */ ble lbl_8033E0F8 +/* 8033E094 0033AFF4 38 07 00 07 */ addi r0, r7, 7 +/* 8033E098 0033AFF8 54 00 E8 FE */ srwi r0, r0, 3 +/* 8033E09C 0033AFFC 7C 09 03 A6 */ mtctr r0 +/* 8033E0A0 0033B000 2C 07 00 00 */ cmpwi r7, 0 +/* 8033E0A4 0033B004 40 81 00 54 */ ble lbl_8033E0F8 +lbl_8033E0A8: +/* 8033E0A8 0033B008 7C E4 2A 14 */ add r7, r4, r5 +/* 8033E0AC 0033B00C 7D 03 2A 14 */ add r8, r3, r5 +/* 8033E0B0 0033B010 88 07 00 00 */ lbz r0, 0(r7) +/* 8033E0B4 0033B014 38 A5 00 08 */ addi r5, r5, 8 +/* 8033E0B8 0033B018 98 08 00 00 */ stb r0, 0(r8) +/* 8033E0BC 0033B01C 88 07 00 01 */ lbz r0, 1(r7) +/* 8033E0C0 0033B020 98 08 00 01 */ stb r0, 1(r8) +/* 8033E0C4 0033B024 88 07 00 02 */ lbz r0, 2(r7) +/* 8033E0C8 0033B028 98 08 00 02 */ stb r0, 2(r8) +/* 8033E0CC 0033B02C 88 07 00 03 */ lbz r0, 3(r7) +/* 8033E0D0 0033B030 98 08 00 03 */ stb r0, 3(r8) +/* 8033E0D4 0033B034 88 07 00 04 */ lbz r0, 4(r7) +/* 8033E0D8 0033B038 98 08 00 04 */ stb r0, 4(r8) +/* 8033E0DC 0033B03C 88 07 00 05 */ lbz r0, 5(r7) +/* 8033E0E0 0033B040 98 08 00 05 */ stb r0, 5(r8) +/* 8033E0E4 0033B044 88 07 00 06 */ lbz r0, 6(r7) +/* 8033E0E8 0033B048 98 08 00 06 */ stb r0, 6(r8) +/* 8033E0EC 0033B04C 88 07 00 07 */ lbz r0, 7(r7) +/* 8033E0F0 0033B050 98 08 00 07 */ stb r0, 7(r8) +/* 8033E0F4 0033B054 42 00 FF B4 */ bdnz lbl_8033E0A8 +lbl_8033E0F8: +/* 8033E0F8 0033B058 7C 05 30 50 */ subf r0, r5, r6 +/* 8033E0FC 0033B05C 7C 84 2A 14 */ add r4, r4, r5 +/* 8033E100 0033B060 7C 63 2A 14 */ add r3, r3, r5 +/* 8033E104 0033B064 7C 09 03 A6 */ mtctr r0 +/* 8033E108 0033B068 7C 05 30 00 */ cmpw r5, r6 +/* 8033E10C 0033B06C 40 80 00 18 */ bge lbl_8033E124 +lbl_8033E110: +/* 8033E110 0033B070 88 04 00 00 */ lbz r0, 0(r4) +/* 8033E114 0033B074 38 84 00 01 */ addi r4, r4, 1 +/* 8033E118 0033B078 98 03 00 00 */ stb r0, 0(r3) +/* 8033E11C 0033B07C 38 63 00 01 */ addi r3, r3, 1 +/* 8033E120 0033B080 42 00 FF F0 */ bdnz lbl_8033E110 +lbl_8033E124: +/* 8033E124 0033B084 80 9E 00 08 */ lwz r4, 8(r30) +/* 8033E128 0033B088 38 A0 00 00 */ li r5, 0 +/* 8033E12C 0033B08C 80 1F 00 08 */ lwz r0, 8(r31) +/* 8033E130 0033B090 7F C3 F3 78 */ mr r3, r30 +/* 8033E134 0033B094 7C 04 02 14 */ add r0, r4, r0 +/* 8033E138 0033B098 90 1E 00 08 */ stw r0, 8(r30) +/* 8033E13C 0033B09C 80 9E 00 00 */ lwz r4, 0(r30) +/* 8033E140 0033B0A0 80 1E 00 08 */ lwz r0, 8(r30) +/* 8033E144 0033B0A4 7C A4 01 AE */ stbx r5, r4, r0 +/* 8033E148 0033B0A8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8033E14C 0033B0AC 83 C1 00 08 */ lwz r30, 8(r1) +/* 8033E150 0033B0B0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8033E154 0033B0B4 7C 08 03 A6 */ mtlr r0 +/* 8033E158 0033B0B8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8033E15C 0033B0BC 4E 80 00 20 */ blr + +.global "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +"__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": +/* 8033E160 0033B0C0 80 04 00 00 */ lwz r0, 0(r4) +/* 8033E164 0033B0C4 90 03 00 00 */ stw r0, 0(r3) +/* 8033E168 0033B0C8 80 04 00 04 */ lwz r0, 4(r4) +/* 8033E16C 0033B0CC 90 03 00 04 */ stw r0, 4(r3) +/* 8033E170 0033B0D0 80 04 00 08 */ lwz r0, 8(r4) +/* 8033E174 0033B0D4 90 03 00 08 */ stw r0, 8(r3) +/* 8033E178 0033B0D8 80 A3 00 04 */ lwz r5, 4(r3) +/* 8033E17C 0033B0DC 28 05 00 00 */ cmplwi r5, 0 +/* 8033E180 0033B0E0 4D 82 00 20 */ beqlr +/* 8033E184 0033B0E4 80 85 00 04 */ lwz r4, 4(r5) +/* 8033E188 0033B0E8 38 04 00 01 */ addi r0, r4, 1 +/* 8033E18C 0033B0EC 90 05 00 04 */ stw r0, 4(r5) +/* 8033E190 0033B0F0 4E 80 00 20 */ blr + +.global "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" +"__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator": +/* 8033E194 0033B0F4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8033E198 0033B0F8 7C 08 02 A6 */ mflr r0 +/* 8033E19C 0033B0FC 2C 05 00 00 */ cmpwi r5, 0 +/* 8033E1A0 0033B100 90 01 00 24 */ stw r0, 0x24(r1) +/* 8033E1A4 0033B104 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8033E1A8 0033B108 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8033E1AC 0033B10C 7C 9E 23 78 */ mr r30, r4 +/* 8033E1B0 0033B110 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8033E1B4 0033B114 7C 7D 1B 78 */ mr r29, r3 +/* 8033E1B8 0033B118 41 81 00 28 */ bgt lbl_8033E1E0 +/* 8033E1BC 0033B11C 88 1E 00 00 */ lbz r0, 0(r30) +/* 8033E1C0 0033B120 7C 00 07 75 */ extsb. r0, r0 +/* 8033E1C4 0033B124 40 82 00 1C */ bne lbl_8033E1E0 +/* 8033E1C8 0033B128 38 8D A9 18 */ addi r4, r13, "_EmptyString__Q24rstl66basic_string,Q24rstl17rmemory_allocator>"@sda21 +/* 8033E1CC 0033B12C 38 00 00 00 */ li r0, 0 +/* 8033E1D0 0033B130 90 9D 00 00 */ stw r4, 0(r29) +/* 8033E1D4 0033B134 90 1D 00 08 */ stw r0, 8(r29) +/* 8033E1D8 0033B138 90 1D 00 04 */ stw r0, 4(r29) +/* 8033E1DC 0033B13C 48 00 01 00 */ b lbl_8033E2DC +lbl_8033E1E0: +/* 8033E1E0 0033B140 7F C3 F3 78 */ mr r3, r30 +/* 8033E1E4 0033B144 3B E0 00 00 */ li r31, 0 +/* 8033E1E8 0033B148 48 00 00 0C */ b lbl_8033E1F4 +lbl_8033E1EC: +/* 8033E1EC 0033B14C 38 63 00 01 */ addi r3, r3, 1 +/* 8033E1F0 0033B150 3B FF 00 01 */ addi r31, r31, 1 +lbl_8033E1F4: +/* 8033E1F4 0033B154 2C 05 FF FF */ cmpwi r5, -1 +/* 8033E1F8 0033B158 41 82 00 0C */ beq lbl_8033E204 +/* 8033E1FC 0033B15C 7C 1F 28 00 */ cmpw r31, r5 +/* 8033E200 0033B160 40 80 00 10 */ bge lbl_8033E210 +lbl_8033E204: +/* 8033E204 0033B164 88 03 00 00 */ lbz r0, 0(r3) +/* 8033E208 0033B168 7C 00 07 75 */ extsb. r0, r0 +/* 8033E20C 0033B16C 40 82 FF E0 */ bne lbl_8033E1EC +lbl_8033E210: +/* 8033E210 0033B170 7F A3 EB 78 */ mr r3, r29 +/* 8033E214 0033B174 38 9F 00 01 */ addi r4, r31, 1 +/* 8033E218 0033B178 4B FF F9 11 */ bl "internal_allocate__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fi" +/* 8033E21C 0033B17C 93 FD 00 08 */ stw r31, 8(r29) +/* 8033E220 0033B180 2C 1F 00 00 */ cmpwi r31, 0 +/* 8033E224 0033B184 38 A0 00 00 */ li r5, 0 +/* 8033E228 0033B188 80 7D 00 00 */ lwz r3, 0(r29) +/* 8033E22C 0033B18C 40 81 00 A0 */ ble lbl_8033E2CC +/* 8033E230 0033B190 2C 1F 00 08 */ cmpwi r31, 8 +/* 8033E234 0033B194 38 9F FF F8 */ addi r4, r31, -8 +/* 8033E238 0033B198 40 81 00 68 */ ble lbl_8033E2A0 +/* 8033E23C 0033B19C 38 04 00 07 */ addi r0, r4, 7 +/* 8033E240 0033B1A0 54 00 E8 FE */ srwi r0, r0, 3 +/* 8033E244 0033B1A4 7C 09 03 A6 */ mtctr r0 +/* 8033E248 0033B1A8 2C 04 00 00 */ cmpwi r4, 0 +/* 8033E24C 0033B1AC 40 81 00 54 */ ble lbl_8033E2A0 +lbl_8033E250: +/* 8033E250 0033B1B0 7C 9E 2A 14 */ add r4, r30, r5 +/* 8033E254 0033B1B4 7C C3 2A 14 */ add r6, r3, r5 +/* 8033E258 0033B1B8 88 04 00 00 */ lbz r0, 0(r4) +/* 8033E25C 0033B1BC 38 A5 00 08 */ addi r5, r5, 8 +/* 8033E260 0033B1C0 98 06 00 00 */ stb r0, 0(r6) +/* 8033E264 0033B1C4 88 04 00 01 */ lbz r0, 1(r4) +/* 8033E268 0033B1C8 98 06 00 01 */ stb r0, 1(r6) +/* 8033E26C 0033B1CC 88 04 00 02 */ lbz r0, 2(r4) +/* 8033E270 0033B1D0 98 06 00 02 */ stb r0, 2(r6) +/* 8033E274 0033B1D4 88 04 00 03 */ lbz r0, 3(r4) +/* 8033E278 0033B1D8 98 06 00 03 */ stb r0, 3(r6) +/* 8033E27C 0033B1DC 88 04 00 04 */ lbz r0, 4(r4) +/* 8033E280 0033B1E0 98 06 00 04 */ stb r0, 4(r6) +/* 8033E284 0033B1E4 88 04 00 05 */ lbz r0, 5(r4) +/* 8033E288 0033B1E8 98 06 00 05 */ stb r0, 5(r6) +/* 8033E28C 0033B1EC 88 04 00 06 */ lbz r0, 6(r4) +/* 8033E290 0033B1F0 98 06 00 06 */ stb r0, 6(r6) +/* 8033E294 0033B1F4 88 04 00 07 */ lbz r0, 7(r4) +/* 8033E298 0033B1F8 98 06 00 07 */ stb r0, 7(r6) +/* 8033E29C 0033B1FC 42 00 FF B4 */ bdnz lbl_8033E250 +lbl_8033E2A0: +/* 8033E2A0 0033B200 7C 05 F8 50 */ subf r0, r5, r31 +/* 8033E2A4 0033B204 7C 9E 2A 14 */ add r4, r30, r5 +/* 8033E2A8 0033B208 7C 63 2A 14 */ add r3, r3, r5 +/* 8033E2AC 0033B20C 7C 09 03 A6 */ mtctr r0 +/* 8033E2B0 0033B210 7C 05 F8 00 */ cmpw r5, r31 +/* 8033E2B4 0033B214 40 80 00 18 */ bge lbl_8033E2CC +lbl_8033E2B8: +/* 8033E2B8 0033B218 88 04 00 00 */ lbz r0, 0(r4) +/* 8033E2BC 0033B21C 38 84 00 01 */ addi r4, r4, 1 +/* 8033E2C0 0033B220 98 03 00 00 */ stb r0, 0(r3) +/* 8033E2C4 0033B224 38 63 00 01 */ addi r3, r3, 1 +/* 8033E2C8 0033B228 42 00 FF F0 */ bdnz lbl_8033E2B8 +lbl_8033E2CC: +/* 8033E2CC 0033B22C 80 9D 00 00 */ lwz r4, 0(r29) +/* 8033E2D0 0033B230 38 00 00 00 */ li r0, 0 +/* 8033E2D4 0033B234 7F A3 EB 78 */ mr r3, r29 +/* 8033E2D8 0033B238 7C 04 F9 AE */ stbx r0, r4, r31 +lbl_8033E2DC: +/* 8033E2DC 0033B23C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8033E2E0 0033B240 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8033E2E4 0033B244 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8033E2E8 0033B248 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8033E2EC 0033B24C 7C 08 03 A6 */ mtlr r0 +/* 8033E2F0 0033B250 38 21 00 20 */ addi r1, r1, 0x20 +/* 8033E2F4 0033B254 4E 80 00 20 */ blr + +.global "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +"__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator": +/* 8033E2F8 0033B258 94 21 FB D0 */ stwu r1, -0x430(r1) +/* 8033E2FC 0033B25C 7C 08 02 A6 */ mflr r0 +/* 8033E300 0033B260 90 01 04 34 */ stw r0, 0x434(r1) +/* 8033E304 0033B264 38 0D A9 18 */ addi r0, r13, "_EmptyString__Q24rstl66basic_string,Q24rstl17rmemory_allocator>"@sda21 +/* 8033E308 0033B268 BF 61 04 1C */ stmw r27, 0x41c(r1) +/* 8033E30C 0033B26C 7C 7B 1B 78 */ mr r27, r3 +/* 8033E310 0033B270 7C 9C 23 78 */ mr r28, r4 +/* 8033E314 0033B274 3B A0 00 00 */ li r29, 0 +/* 8033E318 0033B278 90 03 00 00 */ stw r0, 0(r3) +/* 8033E31C 0033B27C 38 00 00 00 */ li r0, 0 +/* 8033E320 0033B280 90 03 00 04 */ stw r0, 4(r3) +/* 8033E324 0033B284 7F 83 E3 78 */ mr r3, r28 +/* 8033E328 0033B288 90 1B 00 08 */ stw r0, 8(r27) +/* 8033E32C 0033B28C 48 00 09 E1 */ bl ReadChar__12CInputStreamFv +/* 8033E330 0033B290 7C 60 07 74 */ extsb r0, r3 +/* 8033E334 0033B294 3B C1 00 08 */ addi r30, r1, 8 +/* 8033E338 0033B298 7C 03 03 78 */ mr r3, r0 +/* 8033E33C 0033B29C 3B E0 00 00 */ li r31, 0 +/* 8033E340 0033B2A0 48 00 00 3C */ b lbl_8033E37C +lbl_8033E344: +/* 8033E344 0033B2A4 7C 7E E9 AE */ stbx r3, r30, r29 +/* 8033E348 0033B2A8 3B BD 00 01 */ addi r29, r29, 1 +/* 8033E34C 0033B2AC 2C 1D 04 00 */ cmpwi r29, 0x400 +/* 8033E350 0033B2B0 40 82 00 1C */ bne lbl_8033E36C +/* 8033E354 0033B2B4 9B E1 04 08 */ stb r31, 0x408(r1) +/* 8033E358 0033B2B8 7F 63 DB 78 */ mr r3, r27 +/* 8033E35C 0033B2BC 7F C4 F3 78 */ mr r4, r30 +/* 8033E360 0033B2C0 38 A0 FF FF */ li r5, -1 +/* 8033E364 0033B2C4 4B FF FB 81 */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCci" +/* 8033E368 0033B2C8 3B A0 00 00 */ li r29, 0 +lbl_8033E36C: +/* 8033E36C 0033B2CC 7F 83 E3 78 */ mr r3, r28 +/* 8033E370 0033B2D0 48 00 09 9D */ bl ReadChar__12CInputStreamFv +/* 8033E374 0033B2D4 7C 60 07 74 */ extsb r0, r3 +/* 8033E378 0033B2D8 7C 03 03 78 */ mr r3, r0 +lbl_8033E37C: +/* 8033E37C 0033B2DC 7C 60 07 75 */ extsb. r0, r3 +/* 8033E380 0033B2E0 40 82 FF C4 */ bne lbl_8033E344 +/* 8033E384 0033B2E4 2C 1D 00 00 */ cmpwi r29, 0 +/* 8033E388 0033B2E8 41 82 00 1C */ beq lbl_8033E3A4 +/* 8033E38C 0033B2EC 38 81 00 08 */ addi r4, r1, 8 +/* 8033E390 0033B2F0 38 00 00 00 */ li r0, 0 +/* 8033E394 0033B2F4 7C 04 E9 AE */ stbx r0, r4, r29 +/* 8033E398 0033B2F8 7F 63 DB 78 */ mr r3, r27 +/* 8033E39C 0033B2FC 38 A0 FF FF */ li r5, -1 +/* 8033E3A0 0033B300 4B FF FB 45 */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCci" +lbl_8033E3A4: +/* 8033E3A4 0033B304 7F 63 DB 78 */ mr r3, r27 +/* 8033E3A8 0033B308 BB 61 04 1C */ lmw r27, 0x41c(r1) +/* 8033E3AC 0033B30C 80 01 04 34 */ lwz r0, 0x434(r1) +/* 8033E3B0 0033B310 7C 08 03 A6 */ mtlr r0 +/* 8033E3B4 0033B314 38 21 04 30 */ addi r1, r1, 0x430 +/* 8033E3B8 0033B318 4E 80 00 20 */ blr + +.global __sinit_rstl_strings_cpp +__sinit_rstl_strings_cpp: +/* 8033E3BC 0033B31C 88 0D A9 20 */ lbz r0, lbl_805A94E0@sda21(r13) +/* 8033E3C0 0033B320 7C 00 07 75 */ extsb. r0, r0 +/* 8033E3C4 0033B324 40 82 00 14 */ bne lbl_8033E3D8 +/* 8033E3C8 0033B328 38 60 00 00 */ li r3, 0 +/* 8033E3CC 0033B32C 38 00 00 01 */ li r0, 1 +/* 8033E3D0 0033B330 98 6D A9 18 */ stb r3, "_EmptyString__Q24rstl66basic_string,Q24rstl17rmemory_allocator>"@sda21(r13) +/* 8033E3D4 0033B334 98 0D A9 20 */ stb r0, lbl_805A94E0@sda21(r13) +lbl_8033E3D8: +/* 8033E3D8 0033B338 88 0D A9 21 */ lbz r0, lbl_805A94E1@sda21(r13) +/* 8033E3DC 0033B33C 7C 00 07 75 */ extsb. r0, r0 +/* 8033E3E0 0033B340 40 82 00 14 */ bne lbl_8033E3F4 +/* 8033E3E4 0033B344 38 60 00 00 */ li r3, 0 +/* 8033E3E8 0033B348 38 00 00 01 */ li r0, 1 +/* 8033E3EC 0033B34C B0 6D A9 1A */ sth r3, lbl_805A94DA@sda21(r13) +/* 8033E3F0 0033B350 98 0D A9 21 */ stb r0, lbl_805A94E1@sda21(r13) +lbl_8033E3F4: +/* 8033E3F4 0033B354 88 0D A9 22 */ lbz r0, lbl_805A94E2@sda21(r13) +/* 8033E3F8 0033B358 7C 00 07 75 */ extsb. r0, r0 +/* 8033E3FC 0033B35C 40 82 00 14 */ bne lbl_8033E410 +/* 8033E400 0033B360 38 60 00 00 */ li r3, 0 +/* 8033E404 0033B364 38 00 00 01 */ li r0, 1 +/* 8033E408 0033B368 98 6D A9 1C */ stb r3, lbl_805A94DC@sda21(r13) +/* 8033E40C 0033B36C 98 0D A9 22 */ stb r0, lbl_805A94E2@sda21(r13) +lbl_8033E410: +/* 8033E410 0033B370 88 0D A9 23 */ lbz r0, lbl_805A94E3@sda21(r13) +/* 8033E414 0033B374 7C 00 07 75 */ extsb. r0, r0 +/* 8033E418 0033B378 4C 82 00 20 */ bnelr +/* 8033E41C 0033B37C 38 60 00 00 */ li r3, 0 +/* 8033E420 0033B380 38 00 00 01 */ li r0, 1 +/* 8033E424 0033B384 B0 6D A9 1E */ sth r3, lbl_805A94DE@sda21(r13) +/* 8033E428 0033B388 98 0D A9 23 */ stb r0, lbl_805A94E3@sda21(r13) +/* 8033E42C 0033B38C 4E 80 00 20 */ blr diff --git a/asm/Kyoto/zlib/adler32.s b/asm/Kyoto/zlib/adler32.s new file mode 100644 index 00000000..cbb7edd7 --- /dev/null +++ b/asm/Kyoto/zlib/adler32.s @@ -0,0 +1,112 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global adler32 +adler32: +/* 80341120 0033E080 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80341124 0033E084 54 60 04 3E */ clrlwi r0, r3, 0x10 +/* 80341128 0033E088 28 04 00 00 */ cmplwi r4, 0 +/* 8034112C 0033E08C 54 63 84 3E */ srwi r3, r3, 0x10 +/* 80341130 0033E090 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 80341134 0033E094 40 82 00 0C */ bne lbl_80341140 +/* 80341138 0033E098 38 60 00 01 */ li r3, 1 +/* 8034113C 0033E09C 48 00 01 5C */ b lbl_80341298 +lbl_80341140: +/* 80341140 0033E0A0 3C E0 80 08 */ lis r7, 0x80078071@ha +/* 80341144 0033E0A4 3C C0 00 01 */ lis r6, 0x0000FFF1@ha +/* 80341148 0033E0A8 39 27 80 71 */ addi r9, r7, 0x80078071@l +/* 8034114C 0033E0AC 38 E6 FF F1 */ addi r7, r6, 0x0000FFF1@l +/* 80341150 0033E0B0 48 00 01 38 */ b lbl_80341288 +lbl_80341154: +/* 80341154 0033E0B4 28 05 15 B0 */ cmplwi r5, 0x15b0 +/* 80341158 0033E0B8 39 00 15 B0 */ li r8, 0x15b0 +/* 8034115C 0033E0BC 40 80 00 08 */ bge lbl_80341164 +/* 80341160 0033E0C0 7C A8 2B 78 */ mr r8, r5 +lbl_80341164: +/* 80341164 0033E0C4 55 06 E1 3E */ srwi r6, r8, 4 +/* 80341168 0033E0C8 7D 1B 43 78 */ mr r27, r8 +/* 8034116C 0033E0CC 7C A8 28 50 */ subf r5, r8, r5 +/* 80341170 0033E0D0 7C C9 03 A6 */ mtctr r6 +/* 80341174 0033E0D4 2C 08 00 10 */ cmpwi r8, 0x10 +/* 80341178 0033E0D8 41 80 00 D0 */ blt lbl_80341248 +lbl_8034117C: +/* 8034117C 0033E0DC 88 C4 00 00 */ lbz r6, 0(r4) +/* 80341180 0033E0E0 3B 7B FF F0 */ addi r27, r27, -16 +/* 80341184 0033E0E4 89 04 00 01 */ lbz r8, 1(r4) +/* 80341188 0033E0E8 7C 00 32 14 */ add r0, r0, r6 +/* 8034118C 0033E0EC 88 C4 00 02 */ lbz r6, 2(r4) +/* 80341190 0033E0F0 7C 63 02 14 */ add r3, r3, r0 +/* 80341194 0033E0F4 89 64 00 03 */ lbz r11, 3(r4) +/* 80341198 0033E0F8 7C 00 42 14 */ add r0, r0, r8 +/* 8034119C 0033E0FC 89 44 00 04 */ lbz r10, 4(r4) +/* 803411A0 0033E100 7C 63 02 14 */ add r3, r3, r0 +/* 803411A4 0033E104 89 04 00 05 */ lbz r8, 5(r4) +/* 803411A8 0033E108 7C 00 32 14 */ add r0, r0, r6 +/* 803411AC 0033E10C 88 C4 00 06 */ lbz r6, 6(r4) +/* 803411B0 0033E110 7C 63 02 14 */ add r3, r3, r0 +/* 803411B4 0033E114 8B 84 00 07 */ lbz r28, 7(r4) +/* 803411B8 0033E118 7C 00 5A 14 */ add r0, r0, r11 +/* 803411BC 0033E11C 8B A4 00 08 */ lbz r29, 8(r4) +/* 803411C0 0033E120 7C 63 02 14 */ add r3, r3, r0 +/* 803411C4 0033E124 8B C4 00 09 */ lbz r30, 9(r4) +/* 803411C8 0033E128 7C 00 52 14 */ add r0, r0, r10 +/* 803411CC 0033E12C 8B E4 00 0A */ lbz r31, 0xa(r4) +/* 803411D0 0033E130 7C 63 02 14 */ add r3, r3, r0 +/* 803411D4 0033E134 89 84 00 0B */ lbz r12, 0xb(r4) +/* 803411D8 0033E138 7C 00 42 14 */ add r0, r0, r8 +/* 803411DC 0033E13C 89 64 00 0C */ lbz r11, 0xc(r4) +/* 803411E0 0033E140 7C 63 02 14 */ add r3, r3, r0 +/* 803411E4 0033E144 89 44 00 0D */ lbz r10, 0xd(r4) +/* 803411E8 0033E148 7C 00 32 14 */ add r0, r0, r6 +/* 803411EC 0033E14C 89 04 00 0E */ lbz r8, 0xe(r4) +/* 803411F0 0033E150 7C 63 02 14 */ add r3, r3, r0 +/* 803411F4 0033E154 88 C4 00 0F */ lbz r6, 0xf(r4) +/* 803411F8 0033E158 7C 00 E2 14 */ add r0, r0, r28 +/* 803411FC 0033E15C 38 84 00 10 */ addi r4, r4, 0x10 +/* 80341200 0033E160 7C 63 02 14 */ add r3, r3, r0 +/* 80341204 0033E164 7C 00 EA 14 */ add r0, r0, r29 +/* 80341208 0033E168 7C 63 02 14 */ add r3, r3, r0 +/* 8034120C 0033E16C 7C 00 F2 14 */ add r0, r0, r30 +/* 80341210 0033E170 7C 63 02 14 */ add r3, r3, r0 +/* 80341214 0033E174 7C 00 FA 14 */ add r0, r0, r31 +/* 80341218 0033E178 7C 63 02 14 */ add r3, r3, r0 +/* 8034121C 0033E17C 7C 00 62 14 */ add r0, r0, r12 +/* 80341220 0033E180 7C 63 02 14 */ add r3, r3, r0 +/* 80341224 0033E184 7C 00 5A 14 */ add r0, r0, r11 +/* 80341228 0033E188 7C 63 02 14 */ add r3, r3, r0 +/* 8034122C 0033E18C 7C 00 52 14 */ add r0, r0, r10 +/* 80341230 0033E190 7C 63 02 14 */ add r3, r3, r0 +/* 80341234 0033E194 7C 00 42 14 */ add r0, r0, r8 +/* 80341238 0033E198 7C 63 02 14 */ add r3, r3, r0 +/* 8034123C 0033E19C 7C 00 32 14 */ add r0, r0, r6 +/* 80341240 0033E1A0 7C 63 02 14 */ add r3, r3, r0 +/* 80341244 0033E1A4 42 00 FF 38 */ bdnz lbl_8034117C +lbl_80341248: +/* 80341248 0033E1A8 2C 1B 00 00 */ cmpwi r27, 0 +/* 8034124C 0033E1AC 41 82 00 1C */ beq lbl_80341268 +lbl_80341250: +/* 80341250 0033E1B0 88 C4 00 00 */ lbz r6, 0(r4) +/* 80341254 0033E1B4 37 7B FF FF */ addic. r27, r27, -1 +/* 80341258 0033E1B8 38 84 00 01 */ addi r4, r4, 1 +/* 8034125C 0033E1BC 7C 00 32 14 */ add r0, r0, r6 +/* 80341260 0033E1C0 7C 63 02 14 */ add r3, r3, r0 +/* 80341264 0033E1C4 40 82 FF EC */ bne lbl_80341250 +lbl_80341268: +/* 80341268 0033E1C8 7D 09 00 16 */ mulhwu r8, r9, r0 +/* 8034126C 0033E1CC 7C C9 18 16 */ mulhwu r6, r9, r3 +/* 80341270 0033E1D0 55 08 8B FE */ srwi r8, r8, 0xf +/* 80341274 0033E1D4 7D 08 39 D6 */ mullw r8, r8, r7 +/* 80341278 0033E1D8 54 C6 8B FE */ srwi r6, r6, 0xf +/* 8034127C 0033E1DC 7C C6 39 D6 */ mullw r6, r6, r7 +/* 80341280 0033E1E0 7C 08 00 50 */ subf r0, r8, r0 +/* 80341284 0033E1E4 7C 66 18 50 */ subf r3, r6, r3 +lbl_80341288: +/* 80341288 0033E1E8 28 05 00 00 */ cmplwi r5, 0 +/* 8034128C 0033E1EC 40 82 FE C8 */ bne lbl_80341154 +/* 80341290 0033E1F0 54 63 80 1E */ slwi r3, r3, 0x10 +/* 80341294 0033E1F4 7C 63 03 78 */ or r3, r3, r0 +lbl_80341298: +/* 80341298 0033E1F8 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 8034129C 0033E1FC 38 21 00 20 */ addi r1, r1, 0x20 +/* 803412A0 0033E200 4E 80 00 20 */ blr diff --git a/asm/Kyoto/zlib/infblock.s b/asm/Kyoto/zlib/infblock.s new file mode 100644 index 00000000..d5d639ec --- /dev/null +++ b/asm/Kyoto/zlib/infblock.s @@ -0,0 +1,1208 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global inflate_blocks_free +inflate_blocks_free: +/* 803412A4 0033E204 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803412A8 0033E208 7C 08 02 A6 */ mflr r0 +/* 803412AC 0033E20C 90 01 00 14 */ stw r0, 0x14(r1) +/* 803412B0 0033E210 93 E1 00 0C */ stw r31, 0xc(r1) +/* 803412B4 0033E214 7C 9F 23 78 */ mr r31, r4 +/* 803412B8 0033E218 93 C1 00 08 */ stw r30, 8(r1) +/* 803412BC 0033E21C 7C 7E 1B 78 */ mr r30, r3 +/* 803412C0 0033E220 80 03 00 00 */ lwz r0, 0(r3) +/* 803412C4 0033E224 2C 00 00 04 */ cmpwi r0, 4 +/* 803412C8 0033E228 41 82 00 0C */ beq lbl_803412D4 +/* 803412CC 0033E22C 2C 00 00 05 */ cmpwi r0, 5 +/* 803412D0 0033E230 40 82 00 18 */ bne lbl_803412E8 +lbl_803412D4: +/* 803412D4 0033E234 81 9F 00 24 */ lwz r12, 0x24(r31) +/* 803412D8 0033E238 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 803412DC 0033E23C 80 9E 00 0C */ lwz r4, 0xc(r30) +/* 803412E0 0033E240 7D 89 03 A6 */ mtctr r12 +/* 803412E4 0033E244 4E 80 04 21 */ bctrl +lbl_803412E8: +/* 803412E8 0033E248 80 1E 00 00 */ lwz r0, 0(r30) +/* 803412EC 0033E24C 2C 00 00 06 */ cmpwi r0, 6 +/* 803412F0 0033E250 40 82 00 10 */ bne lbl_80341300 +/* 803412F4 0033E254 80 7E 00 04 */ lwz r3, 4(r30) +/* 803412F8 0033E258 7F E4 FB 78 */ mr r4, r31 +/* 803412FC 0033E25C 48 00 10 D9 */ bl inflate_codes_free +lbl_80341300: +/* 80341300 0033E260 38 00 00 00 */ li r0, 0 +/* 80341304 0033E264 90 1E 00 00 */ stw r0, 0(r30) +/* 80341308 0033E268 90 1E 00 1C */ stw r0, 0x1c(r30) +/* 8034130C 0033E26C 90 1E 00 20 */ stw r0, 0x20(r30) +/* 80341310 0033E270 80 1E 00 28 */ lwz r0, 0x28(r30) +/* 80341314 0033E274 90 1E 00 34 */ stw r0, 0x34(r30) +/* 80341318 0033E278 90 1E 00 30 */ stw r0, 0x30(r30) +/* 8034131C 0033E27C 81 9E 00 38 */ lwz r12, 0x38(r30) +/* 80341320 0033E280 28 0C 00 00 */ cmplwi r12, 0 +/* 80341324 0033E284 41 82 00 20 */ beq lbl_80341344 +/* 80341328 0033E288 38 60 00 00 */ li r3, 0 +/* 8034132C 0033E28C 38 80 00 00 */ li r4, 0 +/* 80341330 0033E290 38 A0 00 00 */ li r5, 0 +/* 80341334 0033E294 7D 89 03 A6 */ mtctr r12 +/* 80341338 0033E298 4E 80 04 21 */ bctrl +/* 8034133C 0033E29C 90 7E 00 3C */ stw r3, 0x3c(r30) +/* 80341340 0033E2A0 90 7F 00 30 */ stw r3, 0x30(r31) +lbl_80341344: +/* 80341344 0033E2A4 81 9F 00 24 */ lwz r12, 0x24(r31) +/* 80341348 0033E2A8 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8034134C 0033E2AC 80 9E 00 28 */ lwz r4, 0x28(r30) +/* 80341350 0033E2B0 7D 89 03 A6 */ mtctr r12 +/* 80341354 0033E2B4 4E 80 04 21 */ bctrl +/* 80341358 0033E2B8 81 9F 00 24 */ lwz r12, 0x24(r31) +/* 8034135C 0033E2BC 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 80341360 0033E2C0 80 9E 00 24 */ lwz r4, 0x24(r30) +/* 80341364 0033E2C4 7D 89 03 A6 */ mtctr r12 +/* 80341368 0033E2C8 4E 80 04 21 */ bctrl +/* 8034136C 0033E2CC 81 9F 00 24 */ lwz r12, 0x24(r31) +/* 80341370 0033E2D0 7F C4 F3 78 */ mr r4, r30 +/* 80341374 0033E2D4 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 80341378 0033E2D8 7D 89 03 A6 */ mtctr r12 +/* 8034137C 0033E2DC 4E 80 04 21 */ bctrl +/* 80341380 0033E2E0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80341384 0033E2E4 38 60 00 00 */ li r3, 0 +/* 80341388 0033E2E8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8034138C 0033E2EC 83 C1 00 08 */ lwz r30, 8(r1) +/* 80341390 0033E2F0 7C 08 03 A6 */ mtlr r0 +/* 80341394 0033E2F4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80341398 0033E2F8 4E 80 00 20 */ blr + +.global inflate_blocks +inflate_blocks: +/* 8034139C 0033E2FC 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 803413A0 0033E300 7C 08 02 A6 */ mflr r0 +/* 803413A4 0033E304 90 01 00 64 */ stw r0, 0x64(r1) +/* 803413A8 0033E308 BE A1 00 34 */ stmw r21, 0x34(r1) +/* 803413AC 0033E30C 7C 7E 1B 78 */ mr r30, r3 +/* 803413B0 0033E310 7C 9F 23 78 */ mr r31, r4 +/* 803413B4 0033E314 7C B6 2B 78 */ mr r22, r5 +/* 803413B8 0033E318 83 03 00 34 */ lwz r24, 0x34(r3) +/* 803413BC 0033E31C 80 03 00 30 */ lwz r0, 0x30(r3) +/* 803413C0 0033E320 83 44 00 00 */ lwz r26, 0(r4) +/* 803413C4 0033E324 7C 18 00 40 */ cmplw r24, r0 +/* 803413C8 0033E328 83 24 00 04 */ lwz r25, 4(r4) +/* 803413CC 0033E32C 83 83 00 20 */ lwz r28, 0x20(r3) +/* 803413D0 0033E330 83 63 00 1C */ lwz r27, 0x1c(r3) +/* 803413D4 0033E334 40 80 00 10 */ bge lbl_803413E4 +/* 803413D8 0033E338 7C 78 00 50 */ subf r3, r24, r0 +/* 803413DC 0033E33C 38 03 FF FF */ addi r0, r3, -1 +/* 803413E0 0033E340 48 00 00 0C */ b lbl_803413EC +lbl_803413E4: +/* 803413E4 0033E344 80 1E 00 2C */ lwz r0, 0x2c(r30) +/* 803413E8 0033E348 7C 18 00 50 */ subf r0, r24, r0 +lbl_803413EC: +/* 803413EC 0033E34C 3C 60 80 3F */ lis r3, lbl_803EE440@ha +/* 803413F0 0033E350 7C 17 03 78 */ mr r23, r0 +/* 803413F4 0033E354 3B A3 E4 40 */ addi r29, r3, lbl_803EE440@l +lbl_803413F8: +/* 803413F8 0033E358 80 1E 00 00 */ lwz r0, 0(r30) +/* 803413FC 0033E35C 28 00 00 09 */ cmplwi r0, 9 +/* 80341400 0033E360 41 81 0D 20 */ bgt lbl_80342120 +/* 80341404 0033E364 54 00 10 3A */ slwi r0, r0, 2 +/* 80341408 0033E368 7C 1D 00 2E */ lwzx r0, r29, r0 +/* 8034140C 0033E36C 7C 09 03 A6 */ mtctr r0 +/* 80341410 0033E370 4E 80 04 20 */ bctr +/* 80341414 0033E374 20 1B 00 0A */ subfic r0, r27, 0xa +/* 80341418 0033E378 54 00 E8 FE */ srwi r0, r0, 3 +/* 8034141C 0033E37C 7C 09 03 A6 */ mtctr r0 +/* 80341420 0033E380 28 1B 00 03 */ cmplwi r27, 3 +/* 80341424 0033E384 40 80 00 6C */ bge lbl_80341490 +lbl_80341428: +/* 80341428 0033E388 28 19 00 00 */ cmplwi r25, 0 +/* 8034142C 0033E38C 41 82 00 0C */ beq lbl_80341438 +/* 80341430 0033E390 3A C0 00 00 */ li r22, 0 +/* 80341434 0033E394 48 00 00 40 */ b lbl_80341474 +lbl_80341438: +/* 80341438 0033E398 93 9E 00 20 */ stw r28, 0x20(r30) +/* 8034143C 0033E39C 7F C3 F3 78 */ mr r3, r30 +/* 80341440 0033E3A0 7F E4 FB 78 */ mr r4, r31 +/* 80341444 0033E3A4 7E C5 B3 78 */ mr r5, r22 +/* 80341448 0033E3A8 93 7E 00 1C */ stw r27, 0x1c(r30) +/* 8034144C 0033E3AC 93 3F 00 04 */ stw r25, 4(r31) +/* 80341450 0033E3B0 80 1F 00 00 */ lwz r0, 0(r31) +/* 80341454 0033E3B4 80 DF 00 08 */ lwz r6, 8(r31) +/* 80341458 0033E3B8 7C 00 D0 50 */ subf r0, r0, r26 +/* 8034145C 0033E3BC 7C 06 02 14 */ add r0, r6, r0 +/* 80341460 0033E3C0 90 1F 00 08 */ stw r0, 8(r31) +/* 80341464 0033E3C4 93 5F 00 00 */ stw r26, 0(r31) +/* 80341468 0033E3C8 93 1E 00 34 */ stw r24, 0x34(r30) +/* 8034146C 0033E3CC 48 00 2F A1 */ bl inflate_flush +/* 80341470 0033E3D0 48 00 0C E8 */ b lbl_80342158 +lbl_80341474: +/* 80341474 0033E3D4 88 1A 00 00 */ lbz r0, 0(r26) +/* 80341478 0033E3D8 3B 39 FF FF */ addi r25, r25, -1 +/* 8034147C 0033E3DC 3B 5A 00 01 */ addi r26, r26, 1 +/* 80341480 0033E3E0 7C 00 D8 30 */ slw r0, r0, r27 +/* 80341484 0033E3E4 3B 7B 00 08 */ addi r27, r27, 8 +/* 80341488 0033E3E8 7F 9C 03 78 */ or r28, r28, r0 +/* 8034148C 0033E3EC 42 00 FF 9C */ bdnz lbl_80341428 +lbl_80341490: +/* 80341490 0033E3F0 57 80 FF BE */ rlwinm r0, r28, 0x1f, 0x1e, 0x1f +/* 80341494 0033E3F4 57 83 07 FE */ clrlwi r3, r28, 0x1f +/* 80341498 0033E3F8 2C 00 00 02 */ cmpwi r0, 2 +/* 8034149C 0033E3FC 90 7E 00 18 */ stw r3, 0x18(r30) +/* 803414A0 0033E400 41 82 00 D4 */ beq lbl_80341574 +/* 803414A4 0033E404 40 80 00 14 */ bge lbl_803414B8 +/* 803414A8 0033E408 2C 00 00 00 */ cmpwi r0, 0 +/* 803414AC 0033E40C 41 82 00 18 */ beq lbl_803414C4 +/* 803414B0 0033E410 40 80 00 34 */ bge lbl_803414E4 +/* 803414B4 0033E414 4B FF FF 44 */ b lbl_803413F8 +lbl_803414B8: +/* 803414B8 0033E418 2C 00 00 04 */ cmpwi r0, 4 +/* 803414BC 0033E41C 40 80 FF 3C */ bge lbl_803413F8 +/* 803414C0 0033E420 48 00 00 C8 */ b lbl_80341588 +lbl_803414C4: +/* 803414C4 0033E424 38 00 00 01 */ li r0, 1 +/* 803414C8 0033E428 3B 7B FF FD */ addi r27, r27, -3 +/* 803414CC 0033E42C 57 63 07 7E */ clrlwi r3, r27, 0x1d +/* 803414D0 0033E430 57 9C E8 FE */ srwi r28, r28, 3 +/* 803414D4 0033E434 90 1E 00 00 */ stw r0, 0(r30) +/* 803414D8 0033E438 7F 9C 1C 30 */ srw r28, r28, r3 +/* 803414DC 0033E43C 7F 63 D8 50 */ subf r27, r3, r27 +/* 803414E0 0033E440 4B FF FF 18 */ b lbl_803413F8 +lbl_803414E4: +/* 803414E4 0033E444 7F E7 FB 78 */ mr r7, r31 +/* 803414E8 0033E448 38 61 00 2C */ addi r3, r1, 0x2c +/* 803414EC 0033E44C 38 81 00 28 */ addi r4, r1, 0x28 +/* 803414F0 0033E450 38 A1 00 24 */ addi r5, r1, 0x24 +/* 803414F4 0033E454 38 C1 00 20 */ addi r6, r1, 0x20 +/* 803414F8 0033E458 48 00 26 C9 */ bl inflate_trees_fixed +/* 803414FC 0033E45C 80 61 00 2C */ lwz r3, 0x2c(r1) +/* 80341500 0033E460 7F E7 FB 78 */ mr r7, r31 +/* 80341504 0033E464 80 81 00 28 */ lwz r4, 0x28(r1) +/* 80341508 0033E468 80 A1 00 24 */ lwz r5, 0x24(r1) +/* 8034150C 0033E46C 80 C1 00 20 */ lwz r6, 0x20(r1) +/* 80341510 0033E470 48 00 18 31 */ bl inflate_codes_new +/* 80341514 0033E474 90 7E 00 04 */ stw r3, 4(r30) +/* 80341518 0033E478 80 1E 00 04 */ lwz r0, 4(r30) +/* 8034151C 0033E47C 28 00 00 00 */ cmplwi r0, 0 +/* 80341520 0033E480 40 82 00 40 */ bne lbl_80341560 +/* 80341524 0033E484 93 9E 00 20 */ stw r28, 0x20(r30) +/* 80341528 0033E488 7F C3 F3 78 */ mr r3, r30 +/* 8034152C 0033E48C 7F E4 FB 78 */ mr r4, r31 +/* 80341530 0033E490 38 A0 FF FC */ li r5, -4 +/* 80341534 0033E494 93 7E 00 1C */ stw r27, 0x1c(r30) +/* 80341538 0033E498 93 3F 00 04 */ stw r25, 4(r31) +/* 8034153C 0033E49C 80 1F 00 00 */ lwz r0, 0(r31) +/* 80341540 0033E4A0 80 DF 00 08 */ lwz r6, 8(r31) +/* 80341544 0033E4A4 7C 00 D0 50 */ subf r0, r0, r26 +/* 80341548 0033E4A8 7C 06 02 14 */ add r0, r6, r0 +/* 8034154C 0033E4AC 90 1F 00 08 */ stw r0, 8(r31) +/* 80341550 0033E4B0 93 5F 00 00 */ stw r26, 0(r31) +/* 80341554 0033E4B4 93 1E 00 34 */ stw r24, 0x34(r30) +/* 80341558 0033E4B8 48 00 2E B5 */ bl inflate_flush +/* 8034155C 0033E4BC 48 00 0B FC */ b lbl_80342158 +lbl_80341560: +/* 80341560 0033E4C0 38 00 00 06 */ li r0, 6 +/* 80341564 0033E4C4 57 9C E8 FE */ srwi r28, r28, 3 +/* 80341568 0033E4C8 90 1E 00 00 */ stw r0, 0(r30) +/* 8034156C 0033E4CC 3B 7B FF FD */ addi r27, r27, -3 +/* 80341570 0033E4D0 4B FF FE 88 */ b lbl_803413F8 +lbl_80341574: +/* 80341574 0033E4D4 38 00 00 03 */ li r0, 3 +/* 80341578 0033E4D8 57 9C E8 FE */ srwi r28, r28, 3 +/* 8034157C 0033E4DC 90 1E 00 00 */ stw r0, 0(r30) +/* 80341580 0033E4E0 3B 7B FF FD */ addi r27, r27, -3 +/* 80341584 0033E4E4 4B FF FE 74 */ b lbl_803413F8 +lbl_80341588: +/* 80341588 0033E4E8 38 00 00 09 */ li r0, 9 +/* 8034158C 0033E4EC 3C 60 80 3D */ lis r3, lbl_803D7AF4@ha +/* 80341590 0033E4F0 90 1E 00 00 */ stw r0, 0(r30) +/* 80341594 0033E4F4 38 63 7A F4 */ addi r3, r3, lbl_803D7AF4@l +/* 80341598 0033E4F8 57 86 E8 FE */ srwi r6, r28, 3 +/* 8034159C 0033E4FC 38 1B FF FD */ addi r0, r27, -3 +/* 803415A0 0033E500 90 7F 00 18 */ stw r3, 0x18(r31) +/* 803415A4 0033E504 7F C3 F3 78 */ mr r3, r30 +/* 803415A8 0033E508 7F E4 FB 78 */ mr r4, r31 +/* 803415AC 0033E50C 38 A0 FF FD */ li r5, -3 +/* 803415B0 0033E510 90 DE 00 20 */ stw r6, 0x20(r30) +/* 803415B4 0033E514 90 1E 00 1C */ stw r0, 0x1c(r30) +/* 803415B8 0033E518 93 3F 00 04 */ stw r25, 4(r31) +/* 803415BC 0033E51C 80 1F 00 00 */ lwz r0, 0(r31) +/* 803415C0 0033E520 80 DF 00 08 */ lwz r6, 8(r31) +/* 803415C4 0033E524 7C 00 D0 50 */ subf r0, r0, r26 +/* 803415C8 0033E528 7C 06 02 14 */ add r0, r6, r0 +/* 803415CC 0033E52C 90 1F 00 08 */ stw r0, 8(r31) +/* 803415D0 0033E530 93 5F 00 00 */ stw r26, 0(r31) +/* 803415D4 0033E534 93 1E 00 34 */ stw r24, 0x34(r30) +/* 803415D8 0033E538 48 00 2E 35 */ bl inflate_flush +/* 803415DC 0033E53C 48 00 0B 7C */ b lbl_80342158 +/* 803415E0 0033E540 20 1B 00 27 */ subfic r0, r27, 0x27 +/* 803415E4 0033E544 54 00 E8 FE */ srwi r0, r0, 3 +/* 803415E8 0033E548 7C 09 03 A6 */ mtctr r0 +/* 803415EC 0033E54C 28 1B 00 20 */ cmplwi r27, 0x20 +/* 803415F0 0033E550 40 80 00 6C */ bge lbl_8034165C +lbl_803415F4: +/* 803415F4 0033E554 28 19 00 00 */ cmplwi r25, 0 +/* 803415F8 0033E558 41 82 00 0C */ beq lbl_80341604 +/* 803415FC 0033E55C 3A C0 00 00 */ li r22, 0 +/* 80341600 0033E560 48 00 00 40 */ b lbl_80341640 +lbl_80341604: +/* 80341604 0033E564 93 9E 00 20 */ stw r28, 0x20(r30) +/* 80341608 0033E568 7F C3 F3 78 */ mr r3, r30 +/* 8034160C 0033E56C 7F E4 FB 78 */ mr r4, r31 +/* 80341610 0033E570 7E C5 B3 78 */ mr r5, r22 +/* 80341614 0033E574 93 7E 00 1C */ stw r27, 0x1c(r30) +/* 80341618 0033E578 93 3F 00 04 */ stw r25, 4(r31) +/* 8034161C 0033E57C 80 1F 00 00 */ lwz r0, 0(r31) +/* 80341620 0033E580 80 DF 00 08 */ lwz r6, 8(r31) +/* 80341624 0033E584 7C 00 D0 50 */ subf r0, r0, r26 +/* 80341628 0033E588 7C 06 02 14 */ add r0, r6, r0 +/* 8034162C 0033E58C 90 1F 00 08 */ stw r0, 8(r31) +/* 80341630 0033E590 93 5F 00 00 */ stw r26, 0(r31) +/* 80341634 0033E594 93 1E 00 34 */ stw r24, 0x34(r30) +/* 80341638 0033E598 48 00 2D D5 */ bl inflate_flush +/* 8034163C 0033E59C 48 00 0B 1C */ b lbl_80342158 +lbl_80341640: +/* 80341640 0033E5A0 88 1A 00 00 */ lbz r0, 0(r26) +/* 80341644 0033E5A4 3B 39 FF FF */ addi r25, r25, -1 +/* 80341648 0033E5A8 3B 5A 00 01 */ addi r26, r26, 1 +/* 8034164C 0033E5AC 7C 00 D8 30 */ slw r0, r0, r27 +/* 80341650 0033E5B0 3B 7B 00 08 */ addi r27, r27, 8 +/* 80341654 0033E5B4 7F 9C 03 78 */ or r28, r28, r0 +/* 80341658 0033E5B8 42 00 FF 9C */ bdnz lbl_803415F4 +lbl_8034165C: +/* 8034165C 0033E5BC 7F 83 E0 F8 */ nor r3, r28, r28 +/* 80341660 0033E5C0 57 80 04 3E */ clrlwi r0, r28, 0x10 +/* 80341664 0033E5C4 54 63 84 3E */ srwi r3, r3, 0x10 +/* 80341668 0033E5C8 7C 03 00 40 */ cmplw r3, r0 +/* 8034166C 0033E5CC 41 82 00 58 */ beq lbl_803416C4 +/* 80341670 0033E5D0 38 00 00 09 */ li r0, 9 +/* 80341674 0033E5D4 3C 60 80 3D */ lis r3, lbl_803D7AF4@ha +/* 80341678 0033E5D8 38 63 7A F4 */ addi r3, r3, lbl_803D7AF4@l +/* 8034167C 0033E5DC 90 1E 00 00 */ stw r0, 0(r30) +/* 80341680 0033E5E0 38 03 00 13 */ addi r0, r3, 0x13 +/* 80341684 0033E5E4 7F C3 F3 78 */ mr r3, r30 +/* 80341688 0033E5E8 90 1F 00 18 */ stw r0, 0x18(r31) +/* 8034168C 0033E5EC 7F E4 FB 78 */ mr r4, r31 +/* 80341690 0033E5F0 38 A0 FF FD */ li r5, -3 +/* 80341694 0033E5F4 93 9E 00 20 */ stw r28, 0x20(r30) +/* 80341698 0033E5F8 93 7E 00 1C */ stw r27, 0x1c(r30) +/* 8034169C 0033E5FC 93 3F 00 04 */ stw r25, 4(r31) +/* 803416A0 0033E600 80 1F 00 00 */ lwz r0, 0(r31) +/* 803416A4 0033E604 80 DF 00 08 */ lwz r6, 8(r31) +/* 803416A8 0033E608 7C 00 D0 50 */ subf r0, r0, r26 +/* 803416AC 0033E60C 7C 06 02 14 */ add r0, r6, r0 +/* 803416B0 0033E610 90 1F 00 08 */ stw r0, 8(r31) +/* 803416B4 0033E614 93 5F 00 00 */ stw r26, 0(r31) +/* 803416B8 0033E618 93 1E 00 34 */ stw r24, 0x34(r30) +/* 803416BC 0033E61C 48 00 2D 51 */ bl inflate_flush +/* 803416C0 0033E620 48 00 0A 98 */ b lbl_80342158 +lbl_803416C4: +/* 803416C4 0033E624 90 1E 00 04 */ stw r0, 4(r30) +/* 803416C8 0033E628 3B 60 00 00 */ li r27, 0 +/* 803416CC 0033E62C 3B 80 00 00 */ li r28, 0 +/* 803416D0 0033E630 80 1E 00 04 */ lwz r0, 4(r30) +/* 803416D4 0033E634 28 00 00 00 */ cmplwi r0, 0 +/* 803416D8 0033E638 41 82 00 0C */ beq lbl_803416E4 +/* 803416DC 0033E63C 38 60 00 02 */ li r3, 2 +/* 803416E0 0033E640 48 00 00 18 */ b lbl_803416F8 +lbl_803416E4: +/* 803416E4 0033E644 80 1E 00 18 */ lwz r0, 0x18(r30) +/* 803416E8 0033E648 38 60 00 00 */ li r3, 0 +/* 803416EC 0033E64C 28 00 00 00 */ cmplwi r0, 0 +/* 803416F0 0033E650 41 82 00 08 */ beq lbl_803416F8 +/* 803416F4 0033E654 38 60 00 07 */ li r3, 7 +lbl_803416F8: +/* 803416F8 0033E658 90 7E 00 00 */ stw r3, 0(r30) +/* 803416FC 0033E65C 4B FF FC FC */ b lbl_803413F8 +/* 80341700 0033E660 28 19 00 00 */ cmplwi r25, 0 +/* 80341704 0033E664 40 82 00 40 */ bne lbl_80341744 +/* 80341708 0033E668 93 9E 00 20 */ stw r28, 0x20(r30) +/* 8034170C 0033E66C 7F C3 F3 78 */ mr r3, r30 +/* 80341710 0033E670 7F E4 FB 78 */ mr r4, r31 +/* 80341714 0033E674 7E C5 B3 78 */ mr r5, r22 +/* 80341718 0033E678 93 7E 00 1C */ stw r27, 0x1c(r30) +/* 8034171C 0033E67C 93 3F 00 04 */ stw r25, 4(r31) +/* 80341720 0033E680 80 1F 00 00 */ lwz r0, 0(r31) +/* 80341724 0033E684 80 DF 00 08 */ lwz r6, 8(r31) +/* 80341728 0033E688 7C 00 D0 50 */ subf r0, r0, r26 +/* 8034172C 0033E68C 7C 06 02 14 */ add r0, r6, r0 +/* 80341730 0033E690 90 1F 00 08 */ stw r0, 8(r31) +/* 80341734 0033E694 93 5F 00 00 */ stw r26, 0(r31) +/* 80341738 0033E698 93 1E 00 34 */ stw r24, 0x34(r30) +/* 8034173C 0033E69C 48 00 2C D1 */ bl inflate_flush +/* 80341740 0033E6A0 48 00 0A 18 */ b lbl_80342158 +lbl_80341744: +/* 80341744 0033E6A4 28 17 00 00 */ cmplwi r23, 0 +/* 80341748 0033E6A8 40 82 00 FC */ bne lbl_80341844 +/* 8034174C 0033E6AC 80 9E 00 2C */ lwz r4, 0x2c(r30) +/* 80341750 0033E6B0 7C 18 20 40 */ cmplw r24, r4 +/* 80341754 0033E6B4 40 82 00 30 */ bne lbl_80341784 +/* 80341758 0033E6B8 80 7E 00 30 */ lwz r3, 0x30(r30) +/* 8034175C 0033E6BC 80 1E 00 28 */ lwz r0, 0x28(r30) +/* 80341760 0033E6C0 7C 03 00 40 */ cmplw r3, r0 +/* 80341764 0033E6C4 41 82 00 20 */ beq lbl_80341784 +/* 80341768 0033E6C8 7C 00 18 40 */ cmplw r0, r3 +/* 8034176C 0033E6CC 7C 18 03 78 */ mr r24, r0 +/* 80341770 0033E6D0 40 80 00 10 */ bge lbl_80341780 +/* 80341774 0033E6D4 7C 60 18 50 */ subf r3, r0, r3 +/* 80341778 0033E6D8 3A E3 FF FF */ addi r23, r3, -1 +/* 8034177C 0033E6DC 48 00 00 08 */ b lbl_80341784 +lbl_80341780: +/* 80341780 0033E6E0 7E E0 20 50 */ subf r23, r0, r4 +lbl_80341784: +/* 80341784 0033E6E4 28 17 00 00 */ cmplwi r23, 0 +/* 80341788 0033E6E8 40 82 00 BC */ bne lbl_80341844 +/* 8034178C 0033E6EC 93 1E 00 34 */ stw r24, 0x34(r30) +/* 80341790 0033E6F0 7F C3 F3 78 */ mr r3, r30 +/* 80341794 0033E6F4 7F E4 FB 78 */ mr r4, r31 +/* 80341798 0033E6F8 7E C5 B3 78 */ mr r5, r22 +/* 8034179C 0033E6FC 48 00 2C 71 */ bl inflate_flush +/* 803417A0 0033E700 83 1E 00 34 */ lwz r24, 0x34(r30) +/* 803417A4 0033E704 7C 76 1B 78 */ mr r22, r3 +/* 803417A8 0033E708 80 9E 00 30 */ lwz r4, 0x30(r30) +/* 803417AC 0033E70C 7C 18 20 40 */ cmplw r24, r4 +/* 803417B0 0033E710 40 80 00 10 */ bge lbl_803417C0 +/* 803417B4 0033E714 7C 78 20 50 */ subf r3, r24, r4 +/* 803417B8 0033E718 38 03 FF FF */ addi r0, r3, -1 +/* 803417BC 0033E71C 48 00 00 0C */ b lbl_803417C8 +lbl_803417C0: +/* 803417C0 0033E720 80 1E 00 2C */ lwz r0, 0x2c(r30) +/* 803417C4 0033E724 7C 18 00 50 */ subf r0, r24, r0 +lbl_803417C8: +/* 803417C8 0033E728 80 7E 00 2C */ lwz r3, 0x2c(r30) +/* 803417CC 0033E72C 7C 17 03 78 */ mr r23, r0 +/* 803417D0 0033E730 7C 18 18 40 */ cmplw r24, r3 +/* 803417D4 0033E734 40 82 00 2C */ bne lbl_80341800 +/* 803417D8 0033E738 80 1E 00 28 */ lwz r0, 0x28(r30) +/* 803417DC 0033E73C 7C 04 00 40 */ cmplw r4, r0 +/* 803417E0 0033E740 41 82 00 20 */ beq lbl_80341800 +/* 803417E4 0033E744 7C 00 20 40 */ cmplw r0, r4 +/* 803417E8 0033E748 7C 18 03 78 */ mr r24, r0 +/* 803417EC 0033E74C 40 80 00 10 */ bge lbl_803417FC +/* 803417F0 0033E750 7C 60 20 50 */ subf r3, r0, r4 +/* 803417F4 0033E754 3A E3 FF FF */ addi r23, r3, -1 +/* 803417F8 0033E758 48 00 00 08 */ b lbl_80341800 +lbl_803417FC: +/* 803417FC 0033E75C 7E E0 18 50 */ subf r23, r0, r3 +lbl_80341800: +/* 80341800 0033E760 28 17 00 00 */ cmplwi r23, 0 +/* 80341804 0033E764 40 82 00 40 */ bne lbl_80341844 +/* 80341808 0033E768 93 9E 00 20 */ stw r28, 0x20(r30) +/* 8034180C 0033E76C 7F C3 F3 78 */ mr r3, r30 +/* 80341810 0033E770 7F E4 FB 78 */ mr r4, r31 +/* 80341814 0033E774 7E C5 B3 78 */ mr r5, r22 +/* 80341818 0033E778 93 7E 00 1C */ stw r27, 0x1c(r30) +/* 8034181C 0033E77C 93 3F 00 04 */ stw r25, 4(r31) +/* 80341820 0033E780 80 1F 00 00 */ lwz r0, 0(r31) +/* 80341824 0033E784 80 DF 00 08 */ lwz r6, 8(r31) +/* 80341828 0033E788 7C 00 D0 50 */ subf r0, r0, r26 +/* 8034182C 0033E78C 7C 06 02 14 */ add r0, r6, r0 +/* 80341830 0033E790 90 1F 00 08 */ stw r0, 8(r31) +/* 80341834 0033E794 93 5F 00 00 */ stw r26, 0(r31) +/* 80341838 0033E798 93 1E 00 34 */ stw r24, 0x34(r30) +/* 8034183C 0033E79C 48 00 2B D1 */ bl inflate_flush +/* 80341840 0033E7A0 48 00 09 18 */ b lbl_80342158 +lbl_80341844: +/* 80341844 0033E7A4 82 BE 00 04 */ lwz r21, 4(r30) +/* 80341848 0033E7A8 3A C0 00 00 */ li r22, 0 +/* 8034184C 0033E7AC 7C 15 C8 40 */ cmplw r21, r25 +/* 80341850 0033E7B0 40 81 00 08 */ ble lbl_80341858 +/* 80341854 0033E7B4 7F 35 CB 78 */ mr r21, r25 +lbl_80341858: +/* 80341858 0033E7B8 7C 15 B8 40 */ cmplw r21, r23 +/* 8034185C 0033E7BC 40 81 00 08 */ ble lbl_80341864 +/* 80341860 0033E7C0 7E F5 BB 78 */ mr r21, r23 +lbl_80341864: +/* 80341864 0033E7C4 7F 03 C3 78 */ mr r3, r24 +/* 80341868 0033E7C8 7F 44 D3 78 */ mr r4, r26 +/* 8034186C 0033E7CC 7E A5 AB 78 */ mr r5, r21 +/* 80341870 0033E7D0 4B CC 1C 21 */ bl memcpy +/* 80341874 0033E7D4 80 1E 00 04 */ lwz r0, 4(r30) +/* 80341878 0033E7D8 7F 5A AA 14 */ add r26, r26, r21 +/* 8034187C 0033E7DC 7F 35 C8 50 */ subf r25, r21, r25 +/* 80341880 0033E7E0 7F 18 AA 14 */ add r24, r24, r21 +/* 80341884 0033E7E4 7C 15 00 51 */ subf. r0, r21, r0 +/* 80341888 0033E7E8 7E F5 B8 50 */ subf r23, r21, r23 +/* 8034188C 0033E7EC 90 1E 00 04 */ stw r0, 4(r30) +/* 80341890 0033E7F0 40 82 FB 68 */ bne lbl_803413F8 +/* 80341894 0033E7F4 80 1E 00 18 */ lwz r0, 0x18(r30) +/* 80341898 0033E7F8 38 60 00 00 */ li r3, 0 +/* 8034189C 0033E7FC 28 00 00 00 */ cmplwi r0, 0 +/* 803418A0 0033E800 41 82 00 08 */ beq lbl_803418A8 +/* 803418A4 0033E804 38 60 00 07 */ li r3, 7 +lbl_803418A8: +/* 803418A8 0033E808 90 7E 00 00 */ stw r3, 0(r30) +/* 803418AC 0033E80C 4B FF FB 4C */ b lbl_803413F8 +/* 803418B0 0033E810 20 1B 00 15 */ subfic r0, r27, 0x15 +/* 803418B4 0033E814 54 00 E8 FE */ srwi r0, r0, 3 +/* 803418B8 0033E818 7C 09 03 A6 */ mtctr r0 +/* 803418BC 0033E81C 28 1B 00 0E */ cmplwi r27, 0xe +/* 803418C0 0033E820 40 80 00 6C */ bge lbl_8034192C +lbl_803418C4: +/* 803418C4 0033E824 28 19 00 00 */ cmplwi r25, 0 +/* 803418C8 0033E828 41 82 00 0C */ beq lbl_803418D4 +/* 803418CC 0033E82C 3A C0 00 00 */ li r22, 0 +/* 803418D0 0033E830 48 00 00 40 */ b lbl_80341910 +lbl_803418D4: +/* 803418D4 0033E834 93 9E 00 20 */ stw r28, 0x20(r30) +/* 803418D8 0033E838 7F C3 F3 78 */ mr r3, r30 +/* 803418DC 0033E83C 7F E4 FB 78 */ mr r4, r31 +/* 803418E0 0033E840 7E C5 B3 78 */ mr r5, r22 +/* 803418E4 0033E844 93 7E 00 1C */ stw r27, 0x1c(r30) +/* 803418E8 0033E848 93 3F 00 04 */ stw r25, 4(r31) +/* 803418EC 0033E84C 80 1F 00 00 */ lwz r0, 0(r31) +/* 803418F0 0033E850 80 DF 00 08 */ lwz r6, 8(r31) +/* 803418F4 0033E854 7C 00 D0 50 */ subf r0, r0, r26 +/* 803418F8 0033E858 7C 06 02 14 */ add r0, r6, r0 +/* 803418FC 0033E85C 90 1F 00 08 */ stw r0, 8(r31) +/* 80341900 0033E860 93 5F 00 00 */ stw r26, 0(r31) +/* 80341904 0033E864 93 1E 00 34 */ stw r24, 0x34(r30) +/* 80341908 0033E868 48 00 2B 05 */ bl inflate_flush +/* 8034190C 0033E86C 48 00 08 4C */ b lbl_80342158 +lbl_80341910: +/* 80341910 0033E870 88 1A 00 00 */ lbz r0, 0(r26) +/* 80341914 0033E874 3B 39 FF FF */ addi r25, r25, -1 +/* 80341918 0033E878 3B 5A 00 01 */ addi r26, r26, 1 +/* 8034191C 0033E87C 7C 00 D8 30 */ slw r0, r0, r27 +/* 80341920 0033E880 3B 7B 00 08 */ addi r27, r27, 8 +/* 80341924 0033E884 7F 9C 03 78 */ or r28, r28, r0 +/* 80341928 0033E888 42 00 FF 9C */ bdnz lbl_803418C4 +lbl_8034192C: +/* 8034192C 0033E88C 57 83 06 FE */ clrlwi r3, r28, 0x1b +/* 80341930 0033E890 57 80 04 BE */ clrlwi r0, r28, 0x12 +/* 80341934 0033E894 28 03 00 1D */ cmplwi r3, 0x1d +/* 80341938 0033E898 90 1E 00 04 */ stw r0, 4(r30) +/* 8034193C 0033E89C 41 81 00 10 */ bgt lbl_8034194C +/* 80341940 0033E8A0 54 00 DE FE */ rlwinm r0, r0, 0x1b, 0x1b, 0x1f +/* 80341944 0033E8A4 28 00 00 1D */ cmplwi r0, 0x1d +/* 80341948 0033E8A8 40 81 00 58 */ ble lbl_803419A0 +lbl_8034194C: +/* 8034194C 0033E8AC 38 00 00 09 */ li r0, 9 +/* 80341950 0033E8B0 3C 60 80 3D */ lis r3, lbl_803D7AF4@ha +/* 80341954 0033E8B4 38 63 7A F4 */ addi r3, r3, lbl_803D7AF4@l +/* 80341958 0033E8B8 90 1E 00 00 */ stw r0, 0(r30) +/* 8034195C 0033E8BC 38 03 00 30 */ addi r0, r3, 0x30 +/* 80341960 0033E8C0 7F C3 F3 78 */ mr r3, r30 +/* 80341964 0033E8C4 90 1F 00 18 */ stw r0, 0x18(r31) +/* 80341968 0033E8C8 7F E4 FB 78 */ mr r4, r31 +/* 8034196C 0033E8CC 38 A0 FF FD */ li r5, -3 +/* 80341970 0033E8D0 93 9E 00 20 */ stw r28, 0x20(r30) +/* 80341974 0033E8D4 93 7E 00 1C */ stw r27, 0x1c(r30) +/* 80341978 0033E8D8 93 3F 00 04 */ stw r25, 4(r31) +/* 8034197C 0033E8DC 80 1F 00 00 */ lwz r0, 0(r31) +/* 80341980 0033E8E0 80 DF 00 08 */ lwz r6, 8(r31) +/* 80341984 0033E8E4 7C 00 D0 50 */ subf r0, r0, r26 +/* 80341988 0033E8E8 7C 06 02 14 */ add r0, r6, r0 +/* 8034198C 0033E8EC 90 1F 00 08 */ stw r0, 8(r31) +/* 80341990 0033E8F0 93 5F 00 00 */ stw r26, 0(r31) +/* 80341994 0033E8F4 93 1E 00 34 */ stw r24, 0x34(r30) +/* 80341998 0033E8F8 48 00 2A 75 */ bl inflate_flush +/* 8034199C 0033E8FC 48 00 07 BC */ b lbl_80342158 +lbl_803419A0: +/* 803419A0 0033E900 81 9F 00 20 */ lwz r12, 0x20(r31) +/* 803419A4 0033E904 7C 83 02 14 */ add r4, r3, r0 +/* 803419A8 0033E908 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 803419AC 0033E90C 38 A0 00 04 */ li r5, 4 +/* 803419B0 0033E910 7D 89 03 A6 */ mtctr r12 +/* 803419B4 0033E914 38 84 01 02 */ addi r4, r4, 0x102 +/* 803419B8 0033E918 4E 80 04 21 */ bctrl +/* 803419BC 0033E91C 28 03 00 00 */ cmplwi r3, 0 +/* 803419C0 0033E920 90 7E 00 0C */ stw r3, 0xc(r30) +/* 803419C4 0033E924 40 82 00 40 */ bne lbl_80341A04 +/* 803419C8 0033E928 93 9E 00 20 */ stw r28, 0x20(r30) +/* 803419CC 0033E92C 7F C3 F3 78 */ mr r3, r30 +/* 803419D0 0033E930 7F E4 FB 78 */ mr r4, r31 +/* 803419D4 0033E934 38 A0 FF FC */ li r5, -4 +/* 803419D8 0033E938 93 7E 00 1C */ stw r27, 0x1c(r30) +/* 803419DC 0033E93C 93 3F 00 04 */ stw r25, 4(r31) +/* 803419E0 0033E940 80 1F 00 00 */ lwz r0, 0(r31) +/* 803419E4 0033E944 80 DF 00 08 */ lwz r6, 8(r31) +/* 803419E8 0033E948 7C 00 D0 50 */ subf r0, r0, r26 +/* 803419EC 0033E94C 7C 06 02 14 */ add r0, r6, r0 +/* 803419F0 0033E950 90 1F 00 08 */ stw r0, 8(r31) +/* 803419F4 0033E954 93 5F 00 00 */ stw r26, 0(r31) +/* 803419F8 0033E958 93 1E 00 34 */ stw r24, 0x34(r30) +/* 803419FC 0033E95C 48 00 2A 11 */ bl inflate_flush +/* 80341A00 0033E960 48 00 07 58 */ b lbl_80342158 +lbl_80341A04: +/* 80341A04 0033E964 38 60 00 00 */ li r3, 0 +/* 80341A08 0033E968 38 00 00 04 */ li r0, 4 +/* 80341A0C 0033E96C 90 7E 00 08 */ stw r3, 8(r30) +/* 80341A10 0033E970 57 9C 93 BE */ srwi r28, r28, 0xe +/* 80341A14 0033E974 3B 7B FF F2 */ addi r27, r27, -14 +/* 80341A18 0033E978 90 1E 00 00 */ stw r0, 0(r30) +/* 80341A1C 0033E97C 3C 60 80 3D */ lis r3, lbl_803D7AA8@ha +/* 80341A20 0033E980 38 A3 7A A8 */ addi r5, r3, lbl_803D7AA8@l +/* 80341A24 0033E984 48 00 00 AC */ b lbl_80341AD0 +lbl_80341A28: +/* 80341A28 0033E988 20 1B 00 0A */ subfic r0, r27, 0xa +/* 80341A2C 0033E98C 54 00 E8 FE */ srwi r0, r0, 3 +/* 80341A30 0033E990 7C 09 03 A6 */ mtctr r0 +/* 80341A34 0033E994 28 1B 00 03 */ cmplwi r27, 3 +/* 80341A38 0033E998 40 80 00 6C */ bge lbl_80341AA4 +lbl_80341A3C: +/* 80341A3C 0033E99C 28 19 00 00 */ cmplwi r25, 0 +/* 80341A40 0033E9A0 41 82 00 0C */ beq lbl_80341A4C +/* 80341A44 0033E9A4 3A C0 00 00 */ li r22, 0 +/* 80341A48 0033E9A8 48 00 00 40 */ b lbl_80341A88 +lbl_80341A4C: +/* 80341A4C 0033E9AC 93 9E 00 20 */ stw r28, 0x20(r30) +/* 80341A50 0033E9B0 7F C3 F3 78 */ mr r3, r30 +/* 80341A54 0033E9B4 7F E4 FB 78 */ mr r4, r31 +/* 80341A58 0033E9B8 7E C5 B3 78 */ mr r5, r22 +/* 80341A5C 0033E9BC 93 7E 00 1C */ stw r27, 0x1c(r30) +/* 80341A60 0033E9C0 93 3F 00 04 */ stw r25, 4(r31) +/* 80341A64 0033E9C4 80 1F 00 00 */ lwz r0, 0(r31) +/* 80341A68 0033E9C8 80 DF 00 08 */ lwz r6, 8(r31) +/* 80341A6C 0033E9CC 7C 00 D0 50 */ subf r0, r0, r26 +/* 80341A70 0033E9D0 7C 06 02 14 */ add r0, r6, r0 +/* 80341A74 0033E9D4 90 1F 00 08 */ stw r0, 8(r31) +/* 80341A78 0033E9D8 93 5F 00 00 */ stw r26, 0(r31) +/* 80341A7C 0033E9DC 93 1E 00 34 */ stw r24, 0x34(r30) +/* 80341A80 0033E9E0 48 00 29 8D */ bl inflate_flush +/* 80341A84 0033E9E4 48 00 06 D4 */ b lbl_80342158 +lbl_80341A88: +/* 80341A88 0033E9E8 88 1A 00 00 */ lbz r0, 0(r26) +/* 80341A8C 0033E9EC 3B 39 FF FF */ addi r25, r25, -1 +/* 80341A90 0033E9F0 3B 5A 00 01 */ addi r26, r26, 1 +/* 80341A94 0033E9F4 7C 00 D8 30 */ slw r0, r0, r27 +/* 80341A98 0033E9F8 3B 7B 00 08 */ addi r27, r27, 8 +/* 80341A9C 0033E9FC 7F 9C 03 78 */ or r28, r28, r0 +/* 80341AA0 0033EA00 42 00 FF 9C */ bdnz lbl_80341A3C +lbl_80341AA4: +/* 80341AA4 0033EA04 80 7E 00 08 */ lwz r3, 8(r30) +/* 80341AA8 0033EA08 57 86 07 7E */ clrlwi r6, r28, 0x1d +/* 80341AAC 0033EA0C 80 9E 00 0C */ lwz r4, 0xc(r30) +/* 80341AB0 0033EA10 57 9C E8 FE */ srwi r28, r28, 3 +/* 80341AB4 0033EA14 54 60 10 3A */ slwi r0, r3, 2 +/* 80341AB8 0033EA18 38 63 00 01 */ addi r3, r3, 1 +/* 80341ABC 0033EA1C 7C 05 00 2E */ lwzx r0, r5, r0 +/* 80341AC0 0033EA20 3B 7B FF FD */ addi r27, r27, -3 +/* 80341AC4 0033EA24 90 7E 00 08 */ stw r3, 8(r30) +/* 80341AC8 0033EA28 54 00 10 3A */ slwi r0, r0, 2 +/* 80341ACC 0033EA2C 7C C4 01 2E */ stwx r6, r4, r0 +lbl_80341AD0: +/* 80341AD0 0033EA30 80 1E 00 04 */ lwz r0, 4(r30) +/* 80341AD4 0033EA34 80 9E 00 08 */ lwz r4, 8(r30) +/* 80341AD8 0033EA38 54 03 B2 BE */ srwi r3, r0, 0xa +/* 80341ADC 0033EA3C 38 03 00 04 */ addi r0, r3, 4 +/* 80341AE0 0033EA40 7C 04 00 40 */ cmplw r4, r0 +/* 80341AE4 0033EA44 41 80 FF 44 */ blt lbl_80341A28 +/* 80341AE8 0033EA48 3C 60 80 3D */ lis r3, lbl_803D7AA8@ha +/* 80341AEC 0033EA4C 38 C0 00 00 */ li r6, 0 +/* 80341AF0 0033EA50 38 63 7A A8 */ addi r3, r3, lbl_803D7AA8@l +/* 80341AF4 0033EA54 48 00 00 24 */ b lbl_80341B18 +lbl_80341AF8: +/* 80341AF8 0033EA58 80 9E 00 08 */ lwz r4, 8(r30) +/* 80341AFC 0033EA5C 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 80341B00 0033EA60 54 80 10 3A */ slwi r0, r4, 2 +/* 80341B04 0033EA64 38 84 00 01 */ addi r4, r4, 1 +/* 80341B08 0033EA68 7C 03 00 2E */ lwzx r0, r3, r0 +/* 80341B0C 0033EA6C 90 9E 00 08 */ stw r4, 8(r30) +/* 80341B10 0033EA70 54 00 10 3A */ slwi r0, r0, 2 +/* 80341B14 0033EA74 7C C5 01 2E */ stwx r6, r5, r0 +lbl_80341B18: +/* 80341B18 0033EA78 80 1E 00 08 */ lwz r0, 8(r30) +/* 80341B1C 0033EA7C 28 00 00 13 */ cmplwi r0, 0x13 +/* 80341B20 0033EA80 41 80 FF D8 */ blt lbl_80341AF8 +/* 80341B24 0033EA84 38 00 00 07 */ li r0, 7 +/* 80341B28 0033EA88 7F E7 FB 78 */ mr r7, r31 +/* 80341B2C 0033EA8C 90 1E 00 10 */ stw r0, 0x10(r30) +/* 80341B30 0033EA90 38 9E 00 10 */ addi r4, r30, 0x10 +/* 80341B34 0033EA94 38 BE 00 14 */ addi r5, r30, 0x14 +/* 80341B38 0033EA98 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 80341B3C 0033EA9C 80 DE 00 24 */ lwz r6, 0x24(r30) +/* 80341B40 0033EAA0 48 00 22 A1 */ bl inflate_trees_bits +/* 80341B44 0033EAA4 7C 77 1B 79 */ or. r23, r3, r3 +/* 80341B48 0033EAA8 41 82 00 64 */ beq lbl_80341BAC +/* 80341B4C 0033EAAC 81 9F 00 24 */ lwz r12, 0x24(r31) +/* 80341B50 0033EAB0 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 80341B54 0033EAB4 80 9E 00 0C */ lwz r4, 0xc(r30) +/* 80341B58 0033EAB8 7D 89 03 A6 */ mtctr r12 +/* 80341B5C 0033EABC 4E 80 04 21 */ bctrl +/* 80341B60 0033EAC0 2C 17 FF FD */ cmpwi r23, -3 +/* 80341B64 0033EAC4 40 82 00 0C */ bne lbl_80341B70 +/* 80341B68 0033EAC8 38 00 00 09 */ li r0, 9 +/* 80341B6C 0033EACC 90 1E 00 00 */ stw r0, 0(r30) +lbl_80341B70: +/* 80341B70 0033EAD0 93 9E 00 20 */ stw r28, 0x20(r30) +/* 80341B74 0033EAD4 7F C3 F3 78 */ mr r3, r30 +/* 80341B78 0033EAD8 7F E4 FB 78 */ mr r4, r31 +/* 80341B7C 0033EADC 7E E5 BB 78 */ mr r5, r23 +/* 80341B80 0033EAE0 93 7E 00 1C */ stw r27, 0x1c(r30) +/* 80341B84 0033EAE4 93 3F 00 04 */ stw r25, 4(r31) +/* 80341B88 0033EAE8 80 1F 00 00 */ lwz r0, 0(r31) +/* 80341B8C 0033EAEC 80 DF 00 08 */ lwz r6, 8(r31) +/* 80341B90 0033EAF0 7C 00 D0 50 */ subf r0, r0, r26 +/* 80341B94 0033EAF4 7C 06 02 14 */ add r0, r6, r0 +/* 80341B98 0033EAF8 90 1F 00 08 */ stw r0, 8(r31) +/* 80341B9C 0033EAFC 93 5F 00 00 */ stw r26, 0(r31) +/* 80341BA0 0033EB00 93 1E 00 34 */ stw r24, 0x34(r30) +/* 80341BA4 0033EB04 48 00 28 69 */ bl inflate_flush +/* 80341BA8 0033EB08 48 00 05 B0 */ b lbl_80342158 +lbl_80341BAC: +/* 80341BAC 0033EB0C 38 60 00 00 */ li r3, 0 +/* 80341BB0 0033EB10 38 00 00 05 */ li r0, 5 +/* 80341BB4 0033EB14 90 7E 00 08 */ stw r3, 8(r30) +/* 80341BB8 0033EB18 90 1E 00 00 */ stw r0, 0(r30) +/* 80341BBC 0033EB1C 3C 60 80 3F */ lis r3, lbl_803EF5C8@ha +/* 80341BC0 0033EB20 38 63 F5 C8 */ addi r3, r3, lbl_803EF5C8@l +/* 80341BC4 0033EB24 48 00 02 78 */ b lbl_80341E3C +lbl_80341BC8: +/* 80341BC8 0033EB28 80 DE 00 10 */ lwz r6, 0x10(r30) +/* 80341BCC 0033EB2C 38 A6 00 07 */ addi r5, r6, 7 +/* 80341BD0 0033EB30 7C BB 28 50 */ subf r5, r27, r5 +/* 80341BD4 0033EB34 54 A5 E8 FE */ srwi r5, r5, 3 +/* 80341BD8 0033EB38 7C A9 03 A6 */ mtctr r5 +/* 80341BDC 0033EB3C 7C 1B 30 40 */ cmplw r27, r6 +/* 80341BE0 0033EB40 40 80 00 6C */ bge lbl_80341C4C +lbl_80341BE4: +/* 80341BE4 0033EB44 28 19 00 00 */ cmplwi r25, 0 +/* 80341BE8 0033EB48 41 82 00 0C */ beq lbl_80341BF4 +/* 80341BEC 0033EB4C 3A C0 00 00 */ li r22, 0 +/* 80341BF0 0033EB50 48 00 00 40 */ b lbl_80341C30 +lbl_80341BF4: +/* 80341BF4 0033EB54 93 9E 00 20 */ stw r28, 0x20(r30) +/* 80341BF8 0033EB58 7F C3 F3 78 */ mr r3, r30 +/* 80341BFC 0033EB5C 7F E4 FB 78 */ mr r4, r31 +/* 80341C00 0033EB60 7E C5 B3 78 */ mr r5, r22 +/* 80341C04 0033EB64 93 7E 00 1C */ stw r27, 0x1c(r30) +/* 80341C08 0033EB68 93 3F 00 04 */ stw r25, 4(r31) +/* 80341C0C 0033EB6C 80 1F 00 00 */ lwz r0, 0(r31) +/* 80341C10 0033EB70 80 DF 00 08 */ lwz r6, 8(r31) +/* 80341C14 0033EB74 7C 00 D0 50 */ subf r0, r0, r26 +/* 80341C18 0033EB78 7C 06 02 14 */ add r0, r6, r0 +/* 80341C1C 0033EB7C 90 1F 00 08 */ stw r0, 8(r31) +/* 80341C20 0033EB80 93 5F 00 00 */ stw r26, 0(r31) +/* 80341C24 0033EB84 93 1E 00 34 */ stw r24, 0x34(r30) +/* 80341C28 0033EB88 48 00 27 E5 */ bl inflate_flush +/* 80341C2C 0033EB8C 48 00 05 2C */ b lbl_80342158 +lbl_80341C30: +/* 80341C30 0033EB90 88 BA 00 00 */ lbz r5, 0(r26) +/* 80341C34 0033EB94 3B 39 FF FF */ addi r25, r25, -1 +/* 80341C38 0033EB98 3B 5A 00 01 */ addi r26, r26, 1 +/* 80341C3C 0033EB9C 7C A5 D8 30 */ slw r5, r5, r27 +/* 80341C40 0033EBA0 3B 7B 00 08 */ addi r27, r27, 8 +/* 80341C44 0033EBA4 7F 9C 2B 78 */ or r28, r28, r5 +/* 80341C48 0033EBA8 42 00 FF 9C */ bdnz lbl_80341BE4 +lbl_80341C4C: +/* 80341C4C 0033EBAC 54 C5 10 3A */ slwi r5, r6, 2 +/* 80341C50 0033EBB0 80 DE 00 14 */ lwz r6, 0x14(r30) +/* 80341C54 0033EBB4 7C A3 28 2E */ lwzx r5, r3, r5 +/* 80341C58 0033EBB8 7F 85 28 38 */ and r5, r28, r5 +/* 80341C5C 0033EBBC 54 A5 18 38 */ slwi r5, r5, 3 +/* 80341C60 0033EBC0 7C C6 2A 14 */ add r6, r6, r5 +/* 80341C64 0033EBC4 80 A6 00 04 */ lwz r5, 4(r6) +/* 80341C68 0033EBC8 89 66 00 01 */ lbz r11, 1(r6) +/* 80341C6C 0033EBCC 28 05 00 10 */ cmplwi r5, 0x10 +/* 80341C70 0033EBD0 40 80 00 28 */ bge lbl_80341C98 +/* 80341C74 0033EBD4 80 DE 00 08 */ lwz r6, 8(r30) +/* 80341C78 0033EBD8 7F 9C 5C 30 */ srw r28, r28, r11 +/* 80341C7C 0033EBDC 80 FE 00 0C */ lwz r7, 0xc(r30) +/* 80341C80 0033EBE0 7F 6B D8 50 */ subf r27, r11, r27 +/* 80341C84 0033EBE4 38 86 00 01 */ addi r4, r6, 1 +/* 80341C88 0033EBE8 54 C0 10 3A */ slwi r0, r6, 2 +/* 80341C8C 0033EBEC 90 9E 00 08 */ stw r4, 8(r30) +/* 80341C90 0033EBF0 7C A7 01 2E */ stwx r5, r7, r0 +/* 80341C94 0033EBF4 48 00 01 A8 */ b lbl_80341E3C +lbl_80341C98: +/* 80341C98 0033EBF8 28 05 00 12 */ cmplwi r5, 0x12 +/* 80341C9C 0033EBFC 39 40 00 07 */ li r10, 7 +/* 80341CA0 0033EC00 41 82 00 08 */ beq lbl_80341CA8 +/* 80341CA4 0033EC04 39 45 FF F2 */ addi r10, r5, -14 +lbl_80341CA8: +/* 80341CA8 0033EC08 28 05 00 12 */ cmplwi r5, 0x12 +/* 80341CAC 0033EC0C 39 20 00 03 */ li r9, 3 +/* 80341CB0 0033EC10 40 82 00 08 */ bne lbl_80341CB8 +/* 80341CB4 0033EC14 39 20 00 0B */ li r9, 0xb +lbl_80341CB8: +/* 80341CB8 0033EC18 7C EB 52 14 */ add r7, r11, r10 +/* 80341CBC 0033EC1C 38 C7 00 07 */ addi r6, r7, 7 +/* 80341CC0 0033EC20 7C DB 30 50 */ subf r6, r27, r6 +/* 80341CC4 0033EC24 54 C6 E8 FE */ srwi r6, r6, 3 +/* 80341CC8 0033EC28 7C C9 03 A6 */ mtctr r6 +/* 80341CCC 0033EC2C 7C 1B 38 40 */ cmplw r27, r7 +/* 80341CD0 0033EC30 40 80 00 6C */ bge lbl_80341D3C +lbl_80341CD4: +/* 80341CD4 0033EC34 28 19 00 00 */ cmplwi r25, 0 +/* 80341CD8 0033EC38 41 82 00 0C */ beq lbl_80341CE4 +/* 80341CDC 0033EC3C 3A C0 00 00 */ li r22, 0 +/* 80341CE0 0033EC40 48 00 00 40 */ b lbl_80341D20 +lbl_80341CE4: +/* 80341CE4 0033EC44 93 9E 00 20 */ stw r28, 0x20(r30) +/* 80341CE8 0033EC48 7F C3 F3 78 */ mr r3, r30 +/* 80341CEC 0033EC4C 7F E4 FB 78 */ mr r4, r31 +/* 80341CF0 0033EC50 7E C5 B3 78 */ mr r5, r22 +/* 80341CF4 0033EC54 93 7E 00 1C */ stw r27, 0x1c(r30) +/* 80341CF8 0033EC58 93 3F 00 04 */ stw r25, 4(r31) +/* 80341CFC 0033EC5C 80 1F 00 00 */ lwz r0, 0(r31) +/* 80341D00 0033EC60 80 DF 00 08 */ lwz r6, 8(r31) +/* 80341D04 0033EC64 7C 00 D0 50 */ subf r0, r0, r26 +/* 80341D08 0033EC68 7C 06 02 14 */ add r0, r6, r0 +/* 80341D0C 0033EC6C 90 1F 00 08 */ stw r0, 8(r31) +/* 80341D10 0033EC70 93 5F 00 00 */ stw r26, 0(r31) +/* 80341D14 0033EC74 93 1E 00 34 */ stw r24, 0x34(r30) +/* 80341D18 0033EC78 48 00 26 F5 */ bl inflate_flush +/* 80341D1C 0033EC7C 48 00 04 3C */ b lbl_80342158 +lbl_80341D20: +/* 80341D20 0033EC80 88 DA 00 00 */ lbz r6, 0(r26) +/* 80341D24 0033EC84 3B 39 FF FF */ addi r25, r25, -1 +/* 80341D28 0033EC88 3B 5A 00 01 */ addi r26, r26, 1 +/* 80341D2C 0033EC8C 7C C6 D8 30 */ slw r6, r6, r27 +/* 80341D30 0033EC90 3B 7B 00 08 */ addi r27, r27, 8 +/* 80341D34 0033EC94 7F 9C 33 78 */ or r28, r28, r6 +/* 80341D38 0033EC98 42 00 FF 9C */ bdnz lbl_80341CD4 +lbl_80341D3C: +/* 80341D3C 0033EC9C 3C C0 80 3F */ lis r6, lbl_803EF5C8@ha +/* 80341D40 0033ECA0 7F 6B D8 50 */ subf r27, r11, r27 +/* 80341D44 0033ECA4 55 48 10 3A */ slwi r8, r10, 2 +/* 80341D48 0033ECA8 7F 9C 5C 30 */ srw r28, r28, r11 +/* 80341D4C 0033ECAC 38 E6 F5 C8 */ addi r7, r6, lbl_803EF5C8@l +/* 80341D50 0033ECB0 54 86 06 FE */ clrlwi r6, r4, 0x1b +/* 80341D54 0033ECB4 7C E7 40 2E */ lwzx r7, r7, r8 +/* 80341D58 0033ECB8 54 84 DE FE */ rlwinm r4, r4, 0x1b, 0x1b, 0x1f +/* 80341D5C 0033ECBC 7C 86 22 14 */ add r4, r6, r4 +/* 80341D60 0033ECC0 7C 08 03 78 */ mr r8, r0 +/* 80341D64 0033ECC4 7F 86 38 38 */ and r6, r28, r7 +/* 80341D68 0033ECC8 7F 9C 54 30 */ srw r28, r28, r10 +/* 80341D6C 0033ECCC 7C E9 32 14 */ add r7, r9, r6 +/* 80341D70 0033ECD0 38 84 01 02 */ addi r4, r4, 0x102 +/* 80341D74 0033ECD4 7C C0 3A 14 */ add r6, r0, r7 +/* 80341D78 0033ECD8 7F 6A D8 50 */ subf r27, r10, r27 +/* 80341D7C 0033ECDC 7C 06 20 40 */ cmplw r6, r4 +/* 80341D80 0033ECE0 41 81 00 14 */ bgt lbl_80341D94 +/* 80341D84 0033ECE4 28 05 00 10 */ cmplwi r5, 0x10 +/* 80341D88 0033ECE8 40 82 00 74 */ bne lbl_80341DFC +/* 80341D8C 0033ECEC 28 00 00 01 */ cmplwi r0, 1 +/* 80341D90 0033ECF0 40 80 00 6C */ bge lbl_80341DFC +lbl_80341D94: +/* 80341D94 0033ECF4 81 9F 00 24 */ lwz r12, 0x24(r31) +/* 80341D98 0033ECF8 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 80341D9C 0033ECFC 80 9E 00 0C */ lwz r4, 0xc(r30) +/* 80341DA0 0033ED00 7D 89 03 A6 */ mtctr r12 +/* 80341DA4 0033ED04 4E 80 04 21 */ bctrl +/* 80341DA8 0033ED08 38 00 00 09 */ li r0, 9 +/* 80341DAC 0033ED0C 3C 60 80 3D */ lis r3, lbl_803D7AF4@ha +/* 80341DB0 0033ED10 38 63 7A F4 */ addi r3, r3, lbl_803D7AF4@l +/* 80341DB4 0033ED14 90 1E 00 00 */ stw r0, 0(r30) +/* 80341DB8 0033ED18 38 03 00 54 */ addi r0, r3, 0x54 +/* 80341DBC 0033ED1C 7F C3 F3 78 */ mr r3, r30 +/* 80341DC0 0033ED20 90 1F 00 18 */ stw r0, 0x18(r31) +/* 80341DC4 0033ED24 7F E4 FB 78 */ mr r4, r31 +/* 80341DC8 0033ED28 38 A0 FF FD */ li r5, -3 +/* 80341DCC 0033ED2C 93 9E 00 20 */ stw r28, 0x20(r30) +/* 80341DD0 0033ED30 93 7E 00 1C */ stw r27, 0x1c(r30) +/* 80341DD4 0033ED34 93 3F 00 04 */ stw r25, 4(r31) +/* 80341DD8 0033ED38 80 1F 00 00 */ lwz r0, 0(r31) +/* 80341DDC 0033ED3C 80 DF 00 08 */ lwz r6, 8(r31) +/* 80341DE0 0033ED40 7C 00 D0 50 */ subf r0, r0, r26 +/* 80341DE4 0033ED44 7C 06 02 14 */ add r0, r6, r0 +/* 80341DE8 0033ED48 90 1F 00 08 */ stw r0, 8(r31) +/* 80341DEC 0033ED4C 93 5F 00 00 */ stw r26, 0(r31) +/* 80341DF0 0033ED50 93 1E 00 34 */ stw r24, 0x34(r30) +/* 80341DF4 0033ED54 48 00 26 19 */ bl inflate_flush +/* 80341DF8 0033ED58 48 00 03 60 */ b lbl_80342158 +lbl_80341DFC: +/* 80341DFC 0033ED5C 28 05 00 10 */ cmplwi r5, 0x10 +/* 80341E00 0033ED60 40 82 00 18 */ bne lbl_80341E18 +/* 80341E04 0033ED64 54 04 10 3A */ slwi r4, r0, 2 +/* 80341E08 0033ED68 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 80341E0C 0033ED6C 38 04 FF FC */ addi r0, r4, -4 +/* 80341E10 0033ED70 7C 05 00 2E */ lwzx r0, r5, r0 +/* 80341E14 0033ED74 48 00 00 08 */ b lbl_80341E1C +lbl_80341E18: +/* 80341E18 0033ED78 38 00 00 00 */ li r0, 0 +lbl_80341E1C: +/* 80341E1C 0033ED7C 55 04 10 3A */ slwi r4, r8, 2 +lbl_80341E20: +/* 80341E20 0033ED80 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 80341E24 0033ED84 34 E7 FF FF */ addic. r7, r7, -1 +/* 80341E28 0033ED88 39 08 00 01 */ addi r8, r8, 1 +/* 80341E2C 0033ED8C 7C 05 21 2E */ stwx r0, r5, r4 +/* 80341E30 0033ED90 38 84 00 04 */ addi r4, r4, 4 +/* 80341E34 0033ED94 40 82 FF EC */ bne lbl_80341E20 +/* 80341E38 0033ED98 91 1E 00 08 */ stw r8, 8(r30) +lbl_80341E3C: +/* 80341E3C 0033ED9C 80 9E 00 04 */ lwz r4, 4(r30) +/* 80341E40 0033EDA0 80 1E 00 08 */ lwz r0, 8(r30) +/* 80341E44 0033EDA4 54 86 06 FE */ clrlwi r6, r4, 0x1b +/* 80341E48 0033EDA8 54 85 DE FE */ rlwinm r5, r4, 0x1b, 0x1b, 0x1f +/* 80341E4C 0033EDAC 7C A6 2A 14 */ add r5, r6, r5 +/* 80341E50 0033EDB0 38 A5 01 02 */ addi r5, r5, 0x102 +/* 80341E54 0033EDB4 7C 00 28 40 */ cmplw r0, r5 +/* 80341E58 0033EDB8 41 80 FD 70 */ blt lbl_80341BC8 +/* 80341E5C 0033EDBC 38 00 00 00 */ li r0, 0 +/* 80341E60 0033EDC0 38 60 00 09 */ li r3, 9 +/* 80341E64 0033EDC4 90 1E 00 14 */ stw r0, 0x14(r30) +/* 80341E68 0033EDC8 38 00 00 06 */ li r0, 6 +/* 80341E6C 0033EDCC 38 C1 00 1C */ addi r6, r1, 0x1c +/* 80341E70 0033EDD0 38 E1 00 18 */ addi r7, r1, 0x18 +/* 80341E74 0033EDD4 90 61 00 1C */ stw r3, 0x1c(r1) +/* 80341E78 0033EDD8 39 01 00 14 */ addi r8, r1, 0x14 +/* 80341E7C 0033EDDC 39 21 00 10 */ addi r9, r1, 0x10 +/* 80341E80 0033EDE0 90 01 00 18 */ stw r0, 0x18(r1) +/* 80341E84 0033EDE4 80 1E 00 04 */ lwz r0, 4(r30) +/* 80341E88 0033EDE8 93 E1 00 08 */ stw r31, 8(r1) +/* 80341E8C 0033EDEC 54 03 06 FE */ clrlwi r3, r0, 0x1b +/* 80341E90 0033EDF0 54 04 DE FE */ rlwinm r4, r0, 0x1b, 0x1b, 0x1f +/* 80341E94 0033EDF4 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 80341E98 0033EDF8 38 63 01 01 */ addi r3, r3, 0x101 +/* 80341E9C 0033EDFC 81 5E 00 24 */ lwz r10, 0x24(r30) +/* 80341EA0 0033EE00 38 84 00 01 */ addi r4, r4, 1 +/* 80341EA4 0033EE04 48 00 1D 4D */ bl inflate_trees_dynamic +/* 80341EA8 0033EE08 81 9F 00 24 */ lwz r12, 0x24(r31) +/* 80341EAC 0033EE0C 7C 77 1B 78 */ mr r23, r3 +/* 80341EB0 0033EE10 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 80341EB4 0033EE14 80 9E 00 0C */ lwz r4, 0xc(r30) +/* 80341EB8 0033EE18 7D 89 03 A6 */ mtctr r12 +/* 80341EBC 0033EE1C 4E 80 04 21 */ bctrl +/* 80341EC0 0033EE20 28 17 00 00 */ cmplwi r23, 0 +/* 80341EC4 0033EE24 41 82 00 54 */ beq lbl_80341F18 +/* 80341EC8 0033EE28 3C 17 00 01 */ addis r0, r23, 1 +/* 80341ECC 0033EE2C 28 00 FF FD */ cmplwi r0, 0xfffd +/* 80341ED0 0033EE30 40 82 00 0C */ bne lbl_80341EDC +/* 80341ED4 0033EE34 38 00 00 09 */ li r0, 9 +/* 80341ED8 0033EE38 90 1E 00 00 */ stw r0, 0(r30) +lbl_80341EDC: +/* 80341EDC 0033EE3C 93 9E 00 20 */ stw r28, 0x20(r30) +/* 80341EE0 0033EE40 7F C3 F3 78 */ mr r3, r30 +/* 80341EE4 0033EE44 7F E4 FB 78 */ mr r4, r31 +/* 80341EE8 0033EE48 7E E5 BB 78 */ mr r5, r23 +/* 80341EEC 0033EE4C 93 7E 00 1C */ stw r27, 0x1c(r30) +/* 80341EF0 0033EE50 93 3F 00 04 */ stw r25, 4(r31) +/* 80341EF4 0033EE54 80 1F 00 00 */ lwz r0, 0(r31) +/* 80341EF8 0033EE58 80 DF 00 08 */ lwz r6, 8(r31) +/* 80341EFC 0033EE5C 7C 00 D0 50 */ subf r0, r0, r26 +/* 80341F00 0033EE60 7C 06 02 14 */ add r0, r6, r0 +/* 80341F04 0033EE64 90 1F 00 08 */ stw r0, 8(r31) +/* 80341F08 0033EE68 93 5F 00 00 */ stw r26, 0(r31) +/* 80341F0C 0033EE6C 93 1E 00 34 */ stw r24, 0x34(r30) +/* 80341F10 0033EE70 48 00 24 FD */ bl inflate_flush +/* 80341F14 0033EE74 48 00 02 44 */ b lbl_80342158 +lbl_80341F18: +/* 80341F18 0033EE78 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 80341F1C 0033EE7C 7F E7 FB 78 */ mr r7, r31 +/* 80341F20 0033EE80 80 81 00 18 */ lwz r4, 0x18(r1) +/* 80341F24 0033EE84 80 A1 00 14 */ lwz r5, 0x14(r1) +/* 80341F28 0033EE88 80 C1 00 10 */ lwz r6, 0x10(r1) +/* 80341F2C 0033EE8C 48 00 0E 15 */ bl inflate_codes_new +/* 80341F30 0033EE90 28 03 00 00 */ cmplwi r3, 0 +/* 80341F34 0033EE94 40 82 00 40 */ bne lbl_80341F74 +/* 80341F38 0033EE98 93 9E 00 20 */ stw r28, 0x20(r30) +/* 80341F3C 0033EE9C 7F C3 F3 78 */ mr r3, r30 +/* 80341F40 0033EEA0 7F E4 FB 78 */ mr r4, r31 +/* 80341F44 0033EEA4 38 A0 FF FC */ li r5, -4 +/* 80341F48 0033EEA8 93 7E 00 1C */ stw r27, 0x1c(r30) +/* 80341F4C 0033EEAC 93 3F 00 04 */ stw r25, 4(r31) +/* 80341F50 0033EEB0 80 1F 00 00 */ lwz r0, 0(r31) +/* 80341F54 0033EEB4 80 DF 00 08 */ lwz r6, 8(r31) +/* 80341F58 0033EEB8 7C 00 D0 50 */ subf r0, r0, r26 +/* 80341F5C 0033EEBC 7C 06 02 14 */ add r0, r6, r0 +/* 80341F60 0033EEC0 90 1F 00 08 */ stw r0, 8(r31) +/* 80341F64 0033EEC4 93 5F 00 00 */ stw r26, 0(r31) +/* 80341F68 0033EEC8 93 1E 00 34 */ stw r24, 0x34(r30) +/* 80341F6C 0033EECC 48 00 24 A1 */ bl inflate_flush +/* 80341F70 0033EED0 48 00 01 E8 */ b lbl_80342158 +lbl_80341F74: +/* 80341F74 0033EED4 90 7E 00 04 */ stw r3, 4(r30) +/* 80341F78 0033EED8 38 00 00 06 */ li r0, 6 +/* 80341F7C 0033EEDC 90 1E 00 00 */ stw r0, 0(r30) +/* 80341F80 0033EEE0 93 9E 00 20 */ stw r28, 0x20(r30) +/* 80341F84 0033EEE4 7F C3 F3 78 */ mr r3, r30 +/* 80341F88 0033EEE8 7F E4 FB 78 */ mr r4, r31 +/* 80341F8C 0033EEEC 7E C5 B3 78 */ mr r5, r22 +/* 80341F90 0033EEF0 93 7E 00 1C */ stw r27, 0x1c(r30) +/* 80341F94 0033EEF4 93 3F 00 04 */ stw r25, 4(r31) +/* 80341F98 0033EEF8 80 1F 00 00 */ lwz r0, 0(r31) +/* 80341F9C 0033EEFC 80 DF 00 08 */ lwz r6, 8(r31) +/* 80341FA0 0033EF00 7C 00 D0 50 */ subf r0, r0, r26 +/* 80341FA4 0033EF04 7C 06 02 14 */ add r0, r6, r0 +/* 80341FA8 0033EF08 90 1F 00 08 */ stw r0, 8(r31) +/* 80341FAC 0033EF0C 93 5F 00 00 */ stw r26, 0(r31) +/* 80341FB0 0033EF10 93 1E 00 34 */ stw r24, 0x34(r30) +/* 80341FB4 0033EF14 48 00 04 55 */ bl inflate_codes +/* 80341FB8 0033EF18 7C 65 1B 78 */ mr r5, r3 +/* 80341FBC 0033EF1C 2C 05 00 01 */ cmpwi r5, 1 +/* 80341FC0 0033EF20 41 82 00 14 */ beq lbl_80341FD4 +/* 80341FC4 0033EF24 7F C3 F3 78 */ mr r3, r30 +/* 80341FC8 0033EF28 7F E4 FB 78 */ mr r4, r31 +/* 80341FCC 0033EF2C 48 00 24 41 */ bl inflate_flush +/* 80341FD0 0033EF30 48 00 01 88 */ b lbl_80342158 +lbl_80341FD4: +/* 80341FD4 0033EF34 80 7E 00 04 */ lwz r3, 4(r30) +/* 80341FD8 0033EF38 7F E4 FB 78 */ mr r4, r31 +/* 80341FDC 0033EF3C 3A C0 00 00 */ li r22, 0 +/* 80341FE0 0033EF40 48 00 03 F5 */ bl inflate_codes_free +/* 80341FE4 0033EF44 83 1E 00 34 */ lwz r24, 0x34(r30) +/* 80341FE8 0033EF48 80 1E 00 30 */ lwz r0, 0x30(r30) +/* 80341FEC 0033EF4C 83 5F 00 00 */ lwz r26, 0(r31) +/* 80341FF0 0033EF50 7C 18 00 40 */ cmplw r24, r0 +/* 80341FF4 0033EF54 83 3F 00 04 */ lwz r25, 4(r31) +/* 80341FF8 0033EF58 83 9E 00 20 */ lwz r28, 0x20(r30) +/* 80341FFC 0033EF5C 83 7E 00 1C */ lwz r27, 0x1c(r30) +/* 80342000 0033EF60 40 80 00 10 */ bge lbl_80342010 +/* 80342004 0033EF64 7C 78 00 50 */ subf r3, r24, r0 +/* 80342008 0033EF68 38 63 FF FF */ addi r3, r3, -1 +/* 8034200C 0033EF6C 48 00 00 0C */ b lbl_80342018 +lbl_80342010: +/* 80342010 0033EF70 80 1E 00 2C */ lwz r0, 0x2c(r30) +/* 80342014 0033EF74 7C 78 00 50 */ subf r3, r24, r0 +lbl_80342018: +/* 80342018 0033EF78 80 1E 00 18 */ lwz r0, 0x18(r30) +/* 8034201C 0033EF7C 7C 77 1B 78 */ mr r23, r3 +/* 80342020 0033EF80 28 00 00 00 */ cmplwi r0, 0 +/* 80342024 0033EF84 40 82 00 10 */ bne lbl_80342034 +/* 80342028 0033EF88 38 00 00 00 */ li r0, 0 +/* 8034202C 0033EF8C 90 1E 00 00 */ stw r0, 0(r30) +/* 80342030 0033EF90 4B FF F3 C8 */ b lbl_803413F8 +lbl_80342034: +/* 80342034 0033EF94 38 00 00 07 */ li r0, 7 +/* 80342038 0033EF98 90 1E 00 00 */ stw r0, 0(r30) +/* 8034203C 0033EF9C 93 1E 00 34 */ stw r24, 0x34(r30) +/* 80342040 0033EFA0 7F C3 F3 78 */ mr r3, r30 +/* 80342044 0033EFA4 7F E4 FB 78 */ mr r4, r31 +/* 80342048 0033EFA8 7E C5 B3 78 */ mr r5, r22 +/* 8034204C 0033EFAC 48 00 23 C1 */ bl inflate_flush +/* 80342050 0033EFB0 80 FE 00 34 */ lwz r7, 0x34(r30) +/* 80342054 0033EFB4 7C 65 1B 78 */ mr r5, r3 +/* 80342058 0033EFB8 80 1E 00 30 */ lwz r0, 0x30(r30) +/* 8034205C 0033EFBC 7C F8 3B 78 */ mr r24, r7 +/* 80342060 0033EFC0 7C 00 38 40 */ cmplw r0, r7 +/* 80342064 0033EFC4 41 82 00 3C */ beq lbl_803420A0 +/* 80342068 0033EFC8 93 9E 00 20 */ stw r28, 0x20(r30) +/* 8034206C 0033EFCC 7F C3 F3 78 */ mr r3, r30 +/* 80342070 0033EFD0 7F E4 FB 78 */ mr r4, r31 +/* 80342074 0033EFD4 93 7E 00 1C */ stw r27, 0x1c(r30) +/* 80342078 0033EFD8 93 3F 00 04 */ stw r25, 4(r31) +/* 8034207C 0033EFDC 80 1F 00 00 */ lwz r0, 0(r31) +/* 80342080 0033EFE0 80 DF 00 08 */ lwz r6, 8(r31) +/* 80342084 0033EFE4 7C 00 D0 50 */ subf r0, r0, r26 +/* 80342088 0033EFE8 7C 06 02 14 */ add r0, r6, r0 +/* 8034208C 0033EFEC 90 1F 00 08 */ stw r0, 8(r31) +/* 80342090 0033EFF0 93 5F 00 00 */ stw r26, 0(r31) +/* 80342094 0033EFF4 90 FE 00 34 */ stw r7, 0x34(r30) +/* 80342098 0033EFF8 48 00 23 75 */ bl inflate_flush +/* 8034209C 0033EFFC 48 00 00 BC */ b lbl_80342158 +lbl_803420A0: +/* 803420A0 0033F000 38 00 00 08 */ li r0, 8 +/* 803420A4 0033F004 90 1E 00 00 */ stw r0, 0(r30) +/* 803420A8 0033F008 93 9E 00 20 */ stw r28, 0x20(r30) +/* 803420AC 0033F00C 7F C3 F3 78 */ mr r3, r30 +/* 803420B0 0033F010 7F E4 FB 78 */ mr r4, r31 +/* 803420B4 0033F014 38 A0 00 01 */ li r5, 1 +/* 803420B8 0033F018 93 7E 00 1C */ stw r27, 0x1c(r30) +/* 803420BC 0033F01C 93 3F 00 04 */ stw r25, 4(r31) +/* 803420C0 0033F020 80 1F 00 00 */ lwz r0, 0(r31) +/* 803420C4 0033F024 80 DF 00 08 */ lwz r6, 8(r31) +/* 803420C8 0033F028 7C 00 D0 50 */ subf r0, r0, r26 +/* 803420CC 0033F02C 7C 06 02 14 */ add r0, r6, r0 +/* 803420D0 0033F030 90 1F 00 08 */ stw r0, 8(r31) +/* 803420D4 0033F034 93 5F 00 00 */ stw r26, 0(r31) +/* 803420D8 0033F038 93 1E 00 34 */ stw r24, 0x34(r30) +/* 803420DC 0033F03C 48 00 23 31 */ bl inflate_flush +/* 803420E0 0033F040 48 00 00 78 */ b lbl_80342158 +/* 803420E4 0033F044 93 9E 00 20 */ stw r28, 0x20(r30) +/* 803420E8 0033F048 7F C3 F3 78 */ mr r3, r30 +/* 803420EC 0033F04C 7F E4 FB 78 */ mr r4, r31 +/* 803420F0 0033F050 38 A0 FF FD */ li r5, -3 +/* 803420F4 0033F054 93 7E 00 1C */ stw r27, 0x1c(r30) +/* 803420F8 0033F058 93 3F 00 04 */ stw r25, 4(r31) +/* 803420FC 0033F05C 80 1F 00 00 */ lwz r0, 0(r31) +/* 80342100 0033F060 80 DF 00 08 */ lwz r6, 8(r31) +/* 80342104 0033F064 7C 00 D0 50 */ subf r0, r0, r26 +/* 80342108 0033F068 7C 06 02 14 */ add r0, r6, r0 +/* 8034210C 0033F06C 90 1F 00 08 */ stw r0, 8(r31) +/* 80342110 0033F070 93 5F 00 00 */ stw r26, 0(r31) +/* 80342114 0033F074 93 1E 00 34 */ stw r24, 0x34(r30) +/* 80342118 0033F078 48 00 22 F5 */ bl inflate_flush +/* 8034211C 0033F07C 48 00 00 3C */ b lbl_80342158 +lbl_80342120: +/* 80342120 0033F080 93 9E 00 20 */ stw r28, 0x20(r30) +/* 80342124 0033F084 7F C3 F3 78 */ mr r3, r30 +/* 80342128 0033F088 7F E4 FB 78 */ mr r4, r31 +/* 8034212C 0033F08C 38 A0 FF FE */ li r5, -2 +/* 80342130 0033F090 93 7E 00 1C */ stw r27, 0x1c(r30) +/* 80342134 0033F094 93 3F 00 04 */ stw r25, 4(r31) +/* 80342138 0033F098 80 1F 00 00 */ lwz r0, 0(r31) +/* 8034213C 0033F09C 80 DF 00 08 */ lwz r6, 8(r31) +/* 80342140 0033F0A0 7C 00 D0 50 */ subf r0, r0, r26 +/* 80342144 0033F0A4 7C 06 02 14 */ add r0, r6, r0 +/* 80342148 0033F0A8 90 1F 00 08 */ stw r0, 8(r31) +/* 8034214C 0033F0AC 93 5F 00 00 */ stw r26, 0(r31) +/* 80342150 0033F0B0 93 1E 00 34 */ stw r24, 0x34(r30) +/* 80342154 0033F0B4 48 00 22 B9 */ bl inflate_flush +lbl_80342158: +/* 80342158 0033F0B8 BA A1 00 34 */ lmw r21, 0x34(r1) +/* 8034215C 0033F0BC 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80342160 0033F0C0 7C 08 03 A6 */ mtlr r0 +/* 80342164 0033F0C4 38 21 00 60 */ addi r1, r1, 0x60 +/* 80342168 0033F0C8 4E 80 00 20 */ blr + +.global inflate_blocks_new +inflate_blocks_new: +/* 8034216C 0033F0CC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80342170 0033F0D0 7C 08 02 A6 */ mflr r0 +/* 80342174 0033F0D4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80342178 0033F0D8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8034217C 0033F0DC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80342180 0033F0E0 7C BE 2B 78 */ mr r30, r5 +/* 80342184 0033F0E4 38 A0 00 40 */ li r5, 0x40 +/* 80342188 0033F0E8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8034218C 0033F0EC 7C 9D 23 78 */ mr r29, r4 +/* 80342190 0033F0F0 38 80 00 01 */ li r4, 1 +/* 80342194 0033F0F4 93 81 00 10 */ stw r28, 0x10(r1) +/* 80342198 0033F0F8 7C 7C 1B 78 */ mr r28, r3 +/* 8034219C 0033F0FC 81 83 00 20 */ lwz r12, 0x20(r3) +/* 803421A0 0033F100 80 63 00 28 */ lwz r3, 0x28(r3) +/* 803421A4 0033F104 7D 89 03 A6 */ mtctr r12 +/* 803421A8 0033F108 4E 80 04 21 */ bctrl +/* 803421AC 0033F10C 7C 7F 1B 79 */ or. r31, r3, r3 +/* 803421B0 0033F110 40 82 00 08 */ bne lbl_803421B8 +/* 803421B4 0033F114 48 00 01 38 */ b lbl_803422EC +lbl_803421B8: +/* 803421B8 0033F118 81 9C 00 20 */ lwz r12, 0x20(r28) +/* 803421BC 0033F11C 38 80 00 08 */ li r4, 8 +/* 803421C0 0033F120 80 7C 00 28 */ lwz r3, 0x28(r28) +/* 803421C4 0033F124 38 A0 05 A0 */ li r5, 0x5a0 +/* 803421C8 0033F128 7D 89 03 A6 */ mtctr r12 +/* 803421CC 0033F12C 4E 80 04 21 */ bctrl +/* 803421D0 0033F130 28 03 00 00 */ cmplwi r3, 0 +/* 803421D4 0033F134 90 7F 00 24 */ stw r3, 0x24(r31) +/* 803421D8 0033F138 40 82 00 20 */ bne lbl_803421F8 +/* 803421DC 0033F13C 81 9C 00 24 */ lwz r12, 0x24(r28) +/* 803421E0 0033F140 7F E4 FB 78 */ mr r4, r31 +/* 803421E4 0033F144 80 7C 00 28 */ lwz r3, 0x28(r28) +/* 803421E8 0033F148 7D 89 03 A6 */ mtctr r12 +/* 803421EC 0033F14C 4E 80 04 21 */ bctrl +/* 803421F0 0033F150 38 60 00 00 */ li r3, 0 +/* 803421F4 0033F154 48 00 00 F8 */ b lbl_803422EC +lbl_803421F8: +/* 803421F8 0033F158 81 9C 00 20 */ lwz r12, 0x20(r28) +/* 803421FC 0033F15C 7F C5 F3 78 */ mr r5, r30 +/* 80342200 0033F160 80 7C 00 28 */ lwz r3, 0x28(r28) +/* 80342204 0033F164 38 80 00 01 */ li r4, 1 +/* 80342208 0033F168 7D 89 03 A6 */ mtctr r12 +/* 8034220C 0033F16C 4E 80 04 21 */ bctrl +/* 80342210 0033F170 28 03 00 00 */ cmplwi r3, 0 +/* 80342214 0033F174 90 7F 00 28 */ stw r3, 0x28(r31) +/* 80342218 0033F178 40 82 00 34 */ bne lbl_8034224C +/* 8034221C 0033F17C 81 9C 00 24 */ lwz r12, 0x24(r28) +/* 80342220 0033F180 80 7C 00 28 */ lwz r3, 0x28(r28) +/* 80342224 0033F184 80 9F 00 24 */ lwz r4, 0x24(r31) +/* 80342228 0033F188 7D 89 03 A6 */ mtctr r12 +/* 8034222C 0033F18C 4E 80 04 21 */ bctrl +/* 80342230 0033F190 81 9C 00 24 */ lwz r12, 0x24(r28) +/* 80342234 0033F194 7F E4 FB 78 */ mr r4, r31 +/* 80342238 0033F198 80 7C 00 28 */ lwz r3, 0x28(r28) +/* 8034223C 0033F19C 7D 89 03 A6 */ mtctr r12 +/* 80342240 0033F1A0 4E 80 04 21 */ bctrl +/* 80342244 0033F1A4 38 60 00 00 */ li r3, 0 +/* 80342248 0033F1A8 48 00 00 A4 */ b lbl_803422EC +lbl_8034224C: +/* 8034224C 0033F1AC 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 80342250 0033F1B0 38 00 00 00 */ li r0, 0 +/* 80342254 0033F1B4 7C 63 F2 14 */ add r3, r3, r30 +/* 80342258 0033F1B8 90 7F 00 2C */ stw r3, 0x2c(r31) +/* 8034225C 0033F1BC 93 BF 00 38 */ stw r29, 0x38(r31) +/* 80342260 0033F1C0 90 1F 00 00 */ stw r0, 0(r31) +/* 80342264 0033F1C4 80 1F 00 00 */ lwz r0, 0(r31) +/* 80342268 0033F1C8 2C 00 00 04 */ cmpwi r0, 4 +/* 8034226C 0033F1CC 41 82 00 0C */ beq lbl_80342278 +/* 80342270 0033F1D0 2C 00 00 05 */ cmpwi r0, 5 +/* 80342274 0033F1D4 40 82 00 18 */ bne lbl_8034228C +lbl_80342278: +/* 80342278 0033F1D8 81 9C 00 24 */ lwz r12, 0x24(r28) +/* 8034227C 0033F1DC 80 7C 00 28 */ lwz r3, 0x28(r28) +/* 80342280 0033F1E0 80 9F 00 0C */ lwz r4, 0xc(r31) +/* 80342284 0033F1E4 7D 89 03 A6 */ mtctr r12 +/* 80342288 0033F1E8 4E 80 04 21 */ bctrl +lbl_8034228C: +/* 8034228C 0033F1EC 80 1F 00 00 */ lwz r0, 0(r31) +/* 80342290 0033F1F0 2C 00 00 06 */ cmpwi r0, 6 +/* 80342294 0033F1F4 40 82 00 10 */ bne lbl_803422A4 +/* 80342298 0033F1F8 80 7F 00 04 */ lwz r3, 4(r31) +/* 8034229C 0033F1FC 7F 84 E3 78 */ mr r4, r28 +/* 803422A0 0033F200 48 00 01 35 */ bl inflate_codes_free +lbl_803422A4: +/* 803422A4 0033F204 38 00 00 00 */ li r0, 0 +/* 803422A8 0033F208 90 1F 00 00 */ stw r0, 0(r31) +/* 803422AC 0033F20C 90 1F 00 1C */ stw r0, 0x1c(r31) +/* 803422B0 0033F210 90 1F 00 20 */ stw r0, 0x20(r31) +/* 803422B4 0033F214 80 1F 00 28 */ lwz r0, 0x28(r31) +/* 803422B8 0033F218 90 1F 00 34 */ stw r0, 0x34(r31) +/* 803422BC 0033F21C 90 1F 00 30 */ stw r0, 0x30(r31) +/* 803422C0 0033F220 81 9F 00 38 */ lwz r12, 0x38(r31) +/* 803422C4 0033F224 28 0C 00 00 */ cmplwi r12, 0 +/* 803422C8 0033F228 41 82 00 20 */ beq lbl_803422E8 +/* 803422CC 0033F22C 38 60 00 00 */ li r3, 0 +/* 803422D0 0033F230 38 80 00 00 */ li r4, 0 +/* 803422D4 0033F234 38 A0 00 00 */ li r5, 0 +/* 803422D8 0033F238 7D 89 03 A6 */ mtctr r12 +/* 803422DC 0033F23C 4E 80 04 21 */ bctrl +/* 803422E0 0033F240 90 7F 00 3C */ stw r3, 0x3c(r31) +/* 803422E4 0033F244 90 7C 00 30 */ stw r3, 0x30(r28) +lbl_803422E8: +/* 803422E8 0033F248 7F E3 FB 78 */ mr r3, r31 +lbl_803422EC: +/* 803422EC 0033F24C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 803422F0 0033F250 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 803422F4 0033F254 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 803422F8 0033F258 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 803422FC 0033F25C 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80342300 0033F260 7C 08 03 A6 */ mtlr r0 +/* 80342304 0033F264 38 21 00 20 */ addi r1, r1, 0x20 +/* 80342308 0033F268 4E 80 00 20 */ blr + +.global inflate_blocks_reset +inflate_blocks_reset: +/* 8034230C 0033F26C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80342310 0033F270 7C 08 02 A6 */ mflr r0 +/* 80342314 0033F274 28 05 00 00 */ cmplwi r5, 0 +/* 80342318 0033F278 90 01 00 14 */ stw r0, 0x14(r1) +/* 8034231C 0033F27C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80342320 0033F280 7C 9F 23 78 */ mr r31, r4 +/* 80342324 0033F284 93 C1 00 08 */ stw r30, 8(r1) +/* 80342328 0033F288 7C 7E 1B 78 */ mr r30, r3 +/* 8034232C 0033F28C 41 82 00 0C */ beq lbl_80342338 +/* 80342330 0033F290 80 1E 00 3C */ lwz r0, 0x3c(r30) +/* 80342334 0033F294 90 05 00 00 */ stw r0, 0(r5) +lbl_80342338: +/* 80342338 0033F298 80 1E 00 00 */ lwz r0, 0(r30) +/* 8034233C 0033F29C 2C 00 00 04 */ cmpwi r0, 4 +/* 80342340 0033F2A0 41 82 00 0C */ beq lbl_8034234C +/* 80342344 0033F2A4 2C 00 00 05 */ cmpwi r0, 5 +/* 80342348 0033F2A8 40 82 00 18 */ bne lbl_80342360 +lbl_8034234C: +/* 8034234C 0033F2AC 81 9F 00 24 */ lwz r12, 0x24(r31) +/* 80342350 0033F2B0 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 80342354 0033F2B4 80 9E 00 0C */ lwz r4, 0xc(r30) +/* 80342358 0033F2B8 7D 89 03 A6 */ mtctr r12 +/* 8034235C 0033F2BC 4E 80 04 21 */ bctrl +lbl_80342360: +/* 80342360 0033F2C0 80 1E 00 00 */ lwz r0, 0(r30) +/* 80342364 0033F2C4 2C 00 00 06 */ cmpwi r0, 6 +/* 80342368 0033F2C8 40 82 00 10 */ bne lbl_80342378 +/* 8034236C 0033F2CC 80 7E 00 04 */ lwz r3, 4(r30) +/* 80342370 0033F2D0 7F E4 FB 78 */ mr r4, r31 +/* 80342374 0033F2D4 48 00 00 61 */ bl inflate_codes_free +lbl_80342378: +/* 80342378 0033F2D8 38 00 00 00 */ li r0, 0 +/* 8034237C 0033F2DC 90 1E 00 00 */ stw r0, 0(r30) +/* 80342380 0033F2E0 90 1E 00 1C */ stw r0, 0x1c(r30) +/* 80342384 0033F2E4 90 1E 00 20 */ stw r0, 0x20(r30) +/* 80342388 0033F2E8 80 1E 00 28 */ lwz r0, 0x28(r30) +/* 8034238C 0033F2EC 90 1E 00 34 */ stw r0, 0x34(r30) +/* 80342390 0033F2F0 90 1E 00 30 */ stw r0, 0x30(r30) +/* 80342394 0033F2F4 81 9E 00 38 */ lwz r12, 0x38(r30) +/* 80342398 0033F2F8 28 0C 00 00 */ cmplwi r12, 0 +/* 8034239C 0033F2FC 41 82 00 20 */ beq lbl_803423BC +/* 803423A0 0033F300 38 60 00 00 */ li r3, 0 +/* 803423A4 0033F304 38 80 00 00 */ li r4, 0 +/* 803423A8 0033F308 38 A0 00 00 */ li r5, 0 +/* 803423AC 0033F30C 7D 89 03 A6 */ mtctr r12 +/* 803423B0 0033F310 4E 80 04 21 */ bctrl +/* 803423B4 0033F314 90 7E 00 3C */ stw r3, 0x3c(r30) +/* 803423B8 0033F318 90 7F 00 30 */ stw r3, 0x30(r31) +lbl_803423BC: +/* 803423BC 0033F31C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803423C0 0033F320 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803423C4 0033F324 83 C1 00 08 */ lwz r30, 8(r1) +/* 803423C8 0033F328 7C 08 03 A6 */ mtlr r0 +/* 803423CC 0033F32C 38 21 00 10 */ addi r1, r1, 0x10 +/* 803423D0 0033F330 4E 80 00 20 */ blr diff --git a/asm/Kyoto/zlib/infcodes.s b/asm/Kyoto/zlib/infcodes.s new file mode 100644 index 00000000..9480daba --- /dev/null +++ b/asm/Kyoto/zlib/infcodes.s @@ -0,0 +1,701 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global inflate_codes_free +inflate_codes_free: +/* 803423D4 0033F334 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803423D8 0033F338 7C 08 02 A6 */ mflr r0 +/* 803423DC 0033F33C 7C 85 23 78 */ mr r5, r4 +/* 803423E0 0033F340 90 01 00 14 */ stw r0, 0x14(r1) +/* 803423E4 0033F344 81 84 00 24 */ lwz r12, 0x24(r4) +/* 803423E8 0033F348 7C 64 1B 78 */ mr r4, r3 +/* 803423EC 0033F34C 80 65 00 28 */ lwz r3, 0x28(r5) +/* 803423F0 0033F350 7D 89 03 A6 */ mtctr r12 +/* 803423F4 0033F354 4E 80 04 21 */ bctrl +/* 803423F8 0033F358 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803423FC 0033F35C 7C 08 03 A6 */ mtlr r0 +/* 80342400 0033F360 38 21 00 10 */ addi r1, r1, 0x10 +/* 80342404 0033F364 4E 80 00 20 */ blr + +.global inflate_codes +inflate_codes: +/* 80342408 0033F368 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8034240C 0033F36C 7C 08 02 A6 */ mflr r0 +/* 80342410 0033F370 90 01 00 34 */ stw r0, 0x34(r1) +/* 80342414 0033F374 BE E1 00 0C */ stmw r23, 0xc(r1) +/* 80342418 0033F378 7C 77 1B 78 */ mr r23, r3 +/* 8034241C 0033F37C 7C 98 23 78 */ mr r24, r4 +/* 80342420 0033F380 80 C3 00 34 */ lwz r6, 0x34(r3) +/* 80342424 0033F384 80 03 00 30 */ lwz r0, 0x30(r3) +/* 80342428 0033F388 83 23 00 04 */ lwz r25, 4(r3) +/* 8034242C 0033F38C 7C 06 00 40 */ cmplw r6, r0 +/* 80342430 0033F390 83 84 00 00 */ lwz r28, 0(r4) +/* 80342434 0033F394 83 64 00 04 */ lwz r27, 4(r4) +/* 80342438 0033F398 83 C3 00 20 */ lwz r30, 0x20(r3) +/* 8034243C 0033F39C 83 A3 00 1C */ lwz r29, 0x1c(r3) +/* 80342440 0033F3A0 40 80 00 10 */ bge lbl_80342450 +/* 80342444 0033F3A4 7C 66 00 50 */ subf r3, r6, r0 +/* 80342448 0033F3A8 38 03 FF FF */ addi r0, r3, -1 +/* 8034244C 0033F3AC 48 00 00 0C */ b lbl_80342458 +lbl_80342450: +/* 80342450 0033F3B0 80 17 00 2C */ lwz r0, 0x2c(r23) +/* 80342454 0033F3B4 7C 06 00 50 */ subf r0, r6, r0 +lbl_80342458: +/* 80342458 0033F3B8 3C 80 80 3F */ lis r4, lbl_803EE468@ha +/* 8034245C 0033F3BC 7C 03 03 78 */ mr r3, r0 +/* 80342460 0033F3C0 3B E4 E4 68 */ addi r31, r4, lbl_803EE468@l +lbl_80342464: +/* 80342464 0033F3C4 80 19 00 00 */ lwz r0, 0(r25) +/* 80342468 0033F3C8 28 00 00 09 */ cmplwi r0, 9 +/* 8034246C 0033F3CC 41 81 08 88 */ bgt lbl_80342CF4 +/* 80342470 0033F3D0 54 00 10 3A */ slwi r0, r0, 2 +/* 80342474 0033F3D4 7C 1F 00 2E */ lwzx r0, r31, r0 +/* 80342478 0033F3D8 7C 09 03 A6 */ mtctr r0 +/* 8034247C 0033F3DC 4E 80 04 20 */ bctr +/* 80342480 0033F3E0 28 03 01 02 */ cmplwi r3, 0x102 +/* 80342484 0033F3E4 41 80 00 AC */ blt lbl_80342530 +/* 80342488 0033F3E8 28 1B 00 0A */ cmplwi r27, 0xa +/* 8034248C 0033F3EC 41 80 00 A4 */ blt lbl_80342530 +/* 80342490 0033F3F0 93 D7 00 20 */ stw r30, 0x20(r23) +/* 80342494 0033F3F4 7E E7 BB 78 */ mr r7, r23 +/* 80342498 0033F3F8 7F 08 C3 78 */ mr r8, r24 +/* 8034249C 0033F3FC 93 B7 00 1C */ stw r29, 0x1c(r23) +/* 803424A0 0033F400 93 78 00 04 */ stw r27, 4(r24) +/* 803424A4 0033F404 80 18 00 00 */ lwz r0, 0(r24) +/* 803424A8 0033F408 80 78 00 08 */ lwz r3, 8(r24) +/* 803424AC 0033F40C 7C 00 E0 50 */ subf r0, r0, r28 +/* 803424B0 0033F410 7C 03 02 14 */ add r0, r3, r0 +/* 803424B4 0033F414 90 18 00 08 */ stw r0, 8(r24) +/* 803424B8 0033F418 93 98 00 00 */ stw r28, 0(r24) +/* 803424BC 0033F41C 90 D7 00 34 */ stw r6, 0x34(r23) +/* 803424C0 0033F420 88 79 00 10 */ lbz r3, 0x10(r25) +/* 803424C4 0033F424 88 99 00 11 */ lbz r4, 0x11(r25) +/* 803424C8 0033F428 80 B9 00 14 */ lwz r5, 0x14(r25) +/* 803424CC 0033F42C 80 D9 00 18 */ lwz r6, 0x18(r25) +/* 803424D0 0033F430 48 00 08 F5 */ bl inflate_fast +/* 803424D4 0033F434 80 D7 00 34 */ lwz r6, 0x34(r23) +/* 803424D8 0033F438 7C 65 1B 78 */ mr r5, r3 +/* 803424DC 0033F43C 80 17 00 30 */ lwz r0, 0x30(r23) +/* 803424E0 0033F440 83 98 00 00 */ lwz r28, 0(r24) +/* 803424E4 0033F444 7C 06 00 40 */ cmplw r6, r0 +/* 803424E8 0033F448 83 78 00 04 */ lwz r27, 4(r24) +/* 803424EC 0033F44C 83 D7 00 20 */ lwz r30, 0x20(r23) +/* 803424F0 0033F450 83 B7 00 1C */ lwz r29, 0x1c(r23) +/* 803424F4 0033F454 40 80 00 10 */ bge lbl_80342504 +/* 803424F8 0033F458 7C 66 00 50 */ subf r3, r6, r0 +/* 803424FC 0033F45C 38 03 FF FF */ addi r0, r3, -1 +/* 80342500 0033F460 48 00 00 0C */ b lbl_8034250C +lbl_80342504: +/* 80342504 0033F464 80 17 00 2C */ lwz r0, 0x2c(r23) +/* 80342508 0033F468 7C 06 00 50 */ subf r0, r6, r0 +lbl_8034250C: +/* 8034250C 0033F46C 2C 05 00 00 */ cmpwi r5, 0 +/* 80342510 0033F470 7C 03 03 78 */ mr r3, r0 +/* 80342514 0033F474 41 82 00 1C */ beq lbl_80342530 +/* 80342518 0033F478 2C 05 00 01 */ cmpwi r5, 1 +/* 8034251C 0033F47C 38 00 00 09 */ li r0, 9 +/* 80342520 0033F480 40 82 00 08 */ bne lbl_80342528 +/* 80342524 0033F484 38 00 00 07 */ li r0, 7 +lbl_80342528: +/* 80342528 0033F488 90 19 00 00 */ stw r0, 0(r25) +/* 8034252C 0033F48C 4B FF FF 38 */ b lbl_80342464 +lbl_80342530: +/* 80342530 0033F490 88 99 00 10 */ lbz r4, 0x10(r25) +/* 80342534 0033F494 38 00 00 01 */ li r0, 1 +/* 80342538 0033F498 90 99 00 0C */ stw r4, 0xc(r25) +/* 8034253C 0033F49C 80 99 00 14 */ lwz r4, 0x14(r25) +/* 80342540 0033F4A0 90 99 00 08 */ stw r4, 8(r25) +/* 80342544 0033F4A4 90 19 00 00 */ stw r0, 0(r25) +/* 80342548 0033F4A8 80 F9 00 0C */ lwz r7, 0xc(r25) +/* 8034254C 0033F4AC 38 07 00 07 */ addi r0, r7, 7 +/* 80342550 0033F4B0 7C 1D 00 50 */ subf r0, r29, r0 +/* 80342554 0033F4B4 54 00 E8 FE */ srwi r0, r0, 3 +/* 80342558 0033F4B8 7C 09 03 A6 */ mtctr r0 +/* 8034255C 0033F4BC 7C 1D 38 40 */ cmplw r29, r7 +/* 80342560 0033F4C0 40 80 00 68 */ bge lbl_803425C8 +lbl_80342564: +/* 80342564 0033F4C4 28 1B 00 00 */ cmplwi r27, 0 +/* 80342568 0033F4C8 41 82 00 0C */ beq lbl_80342574 +/* 8034256C 0033F4CC 38 A0 00 00 */ li r5, 0 +/* 80342570 0033F4D0 48 00 00 3C */ b lbl_803425AC +lbl_80342574: +/* 80342574 0033F4D4 93 D7 00 20 */ stw r30, 0x20(r23) +/* 80342578 0033F4D8 7E E3 BB 78 */ mr r3, r23 +/* 8034257C 0033F4DC 7F 04 C3 78 */ mr r4, r24 +/* 80342580 0033F4E0 93 B7 00 1C */ stw r29, 0x1c(r23) +/* 80342584 0033F4E4 93 78 00 04 */ stw r27, 4(r24) +/* 80342588 0033F4E8 80 18 00 00 */ lwz r0, 0(r24) +/* 8034258C 0033F4EC 80 F8 00 08 */ lwz r7, 8(r24) +/* 80342590 0033F4F0 7C 00 E0 50 */ subf r0, r0, r28 +/* 80342594 0033F4F4 7C 07 02 14 */ add r0, r7, r0 +/* 80342598 0033F4F8 90 18 00 08 */ stw r0, 8(r24) +/* 8034259C 0033F4FC 93 98 00 00 */ stw r28, 0(r24) +/* 803425A0 0033F500 90 D7 00 34 */ stw r6, 0x34(r23) +/* 803425A4 0033F504 48 00 1E 69 */ bl inflate_flush +/* 803425A8 0033F508 48 00 07 84 */ b lbl_80342D2C +lbl_803425AC: +/* 803425AC 0033F50C 88 1C 00 00 */ lbz r0, 0(r28) +/* 803425B0 0033F510 3B 7B FF FF */ addi r27, r27, -1 +/* 803425B4 0033F514 3B 9C 00 01 */ addi r28, r28, 1 +/* 803425B8 0033F518 7C 00 E8 30 */ slw r0, r0, r29 +/* 803425BC 0033F51C 3B BD 00 08 */ addi r29, r29, 8 +/* 803425C0 0033F520 7F DE 03 78 */ or r30, r30, r0 +/* 803425C4 0033F524 42 00 FF A0 */ bdnz lbl_80342564 +lbl_803425C8: +/* 803425C8 0033F528 3C 80 80 3F */ lis r4, lbl_803EF5C8@ha +/* 803425CC 0033F52C 54 E0 10 3A */ slwi r0, r7, 2 +/* 803425D0 0033F530 38 84 F5 C8 */ addi r4, r4, lbl_803EF5C8@l +/* 803425D4 0033F534 80 F9 00 08 */ lwz r7, 8(r25) +/* 803425D8 0033F538 7C 04 00 2E */ lwzx r0, r4, r0 +/* 803425DC 0033F53C 7F C0 00 38 */ and r0, r30, r0 +/* 803425E0 0033F540 54 00 18 38 */ slwi r0, r0, 3 +/* 803425E4 0033F544 7C E7 02 14 */ add r7, r7, r0 +/* 803425E8 0033F548 88 87 00 00 */ lbz r4, 0(r7) +/* 803425EC 0033F54C 88 07 00 01 */ lbz r0, 1(r7) +/* 803425F0 0033F550 28 04 00 00 */ cmplwi r4, 0 +/* 803425F4 0033F554 7F DE 04 30 */ srw r30, r30, r0 +/* 803425F8 0033F558 7F A0 E8 50 */ subf r29, r0, r29 +/* 803425FC 0033F55C 40 82 00 18 */ bne lbl_80342614 +/* 80342600 0033F560 80 87 00 04 */ lwz r4, 4(r7) +/* 80342604 0033F564 38 00 00 06 */ li r0, 6 +/* 80342608 0033F568 90 99 00 08 */ stw r4, 8(r25) +/* 8034260C 0033F56C 90 19 00 00 */ stw r0, 0(r25) +/* 80342610 0033F570 4B FF FE 54 */ b lbl_80342464 +lbl_80342614: +/* 80342614 0033F574 54 80 06 F7 */ rlwinm. r0, r4, 0, 0x1b, 0x1b +/* 80342618 0033F578 41 82 00 20 */ beq lbl_80342638 +/* 8034261C 0033F57C 54 84 07 3E */ clrlwi r4, r4, 0x1c +/* 80342620 0033F580 38 00 00 02 */ li r0, 2 +/* 80342624 0033F584 90 99 00 08 */ stw r4, 8(r25) +/* 80342628 0033F588 80 87 00 04 */ lwz r4, 4(r7) +/* 8034262C 0033F58C 90 99 00 04 */ stw r4, 4(r25) +/* 80342630 0033F590 90 19 00 00 */ stw r0, 0(r25) +/* 80342634 0033F594 4B FF FE 30 */ b lbl_80342464 +lbl_80342638: +/* 80342638 0033F598 54 80 06 73 */ rlwinm. r0, r4, 0, 0x19, 0x19 +/* 8034263C 0033F59C 40 82 00 1C */ bne lbl_80342658 +/* 80342640 0033F5A0 90 99 00 0C */ stw r4, 0xc(r25) +/* 80342644 0033F5A4 80 07 00 04 */ lwz r0, 4(r7) +/* 80342648 0033F5A8 54 00 18 38 */ slwi r0, r0, 3 +/* 8034264C 0033F5AC 7C 07 02 14 */ add r0, r7, r0 +/* 80342650 0033F5B0 90 19 00 08 */ stw r0, 8(r25) +/* 80342654 0033F5B4 4B FF FE 10 */ b lbl_80342464 +lbl_80342658: +/* 80342658 0033F5B8 54 80 06 B5 */ rlwinm. r0, r4, 0, 0x1a, 0x1a +/* 8034265C 0033F5BC 41 82 00 10 */ beq lbl_8034266C +/* 80342660 0033F5C0 38 00 00 07 */ li r0, 7 +/* 80342664 0033F5C4 90 19 00 00 */ stw r0, 0(r25) +/* 80342668 0033F5C8 4B FF FD FC */ b lbl_80342464 +lbl_8034266C: +/* 8034266C 0033F5CC 38 00 00 09 */ li r0, 9 +/* 80342670 0033F5D0 3C 60 80 3D */ lis r3, lbl_803D7B68@ha +/* 80342674 0033F5D4 90 19 00 00 */ stw r0, 0(r25) +/* 80342678 0033F5D8 38 03 7B 68 */ addi r0, r3, lbl_803D7B68@l +/* 8034267C 0033F5DC 7E E3 BB 78 */ mr r3, r23 +/* 80342680 0033F5E0 7F 04 C3 78 */ mr r4, r24 +/* 80342684 0033F5E4 90 18 00 18 */ stw r0, 0x18(r24) +/* 80342688 0033F5E8 38 A0 FF FD */ li r5, -3 +/* 8034268C 0033F5EC 93 D7 00 20 */ stw r30, 0x20(r23) +/* 80342690 0033F5F0 93 B7 00 1C */ stw r29, 0x1c(r23) +/* 80342694 0033F5F4 93 78 00 04 */ stw r27, 4(r24) +/* 80342698 0033F5F8 80 18 00 00 */ lwz r0, 0(r24) +/* 8034269C 0033F5FC 80 F8 00 08 */ lwz r7, 8(r24) +/* 803426A0 0033F600 7C 00 E0 50 */ subf r0, r0, r28 +/* 803426A4 0033F604 7C 07 02 14 */ add r0, r7, r0 +/* 803426A8 0033F608 90 18 00 08 */ stw r0, 8(r24) +/* 803426AC 0033F60C 93 98 00 00 */ stw r28, 0(r24) +/* 803426B0 0033F610 90 D7 00 34 */ stw r6, 0x34(r23) +/* 803426B4 0033F614 48 00 1D 59 */ bl inflate_flush +/* 803426B8 0033F618 48 00 06 74 */ b lbl_80342D2C +/* 803426BC 0033F61C 81 19 00 08 */ lwz r8, 8(r25) +/* 803426C0 0033F620 38 08 00 07 */ addi r0, r8, 7 +/* 803426C4 0033F624 7C 1D 00 50 */ subf r0, r29, r0 +/* 803426C8 0033F628 54 00 E8 FE */ srwi r0, r0, 3 +/* 803426CC 0033F62C 7C 09 03 A6 */ mtctr r0 +/* 803426D0 0033F630 7C 1D 40 40 */ cmplw r29, r8 +/* 803426D4 0033F634 40 80 00 68 */ bge lbl_8034273C +lbl_803426D8: +/* 803426D8 0033F638 28 1B 00 00 */ cmplwi r27, 0 +/* 803426DC 0033F63C 41 82 00 0C */ beq lbl_803426E8 +/* 803426E0 0033F640 38 A0 00 00 */ li r5, 0 +/* 803426E4 0033F644 48 00 00 3C */ b lbl_80342720 +lbl_803426E8: +/* 803426E8 0033F648 93 D7 00 20 */ stw r30, 0x20(r23) +/* 803426EC 0033F64C 7E E3 BB 78 */ mr r3, r23 +/* 803426F0 0033F650 7F 04 C3 78 */ mr r4, r24 +/* 803426F4 0033F654 93 B7 00 1C */ stw r29, 0x1c(r23) +/* 803426F8 0033F658 93 78 00 04 */ stw r27, 4(r24) +/* 803426FC 0033F65C 80 18 00 00 */ lwz r0, 0(r24) +/* 80342700 0033F660 80 F8 00 08 */ lwz r7, 8(r24) +/* 80342704 0033F664 7C 00 E0 50 */ subf r0, r0, r28 +/* 80342708 0033F668 7C 07 02 14 */ add r0, r7, r0 +/* 8034270C 0033F66C 90 18 00 08 */ stw r0, 8(r24) +/* 80342710 0033F670 93 98 00 00 */ stw r28, 0(r24) +/* 80342714 0033F674 90 D7 00 34 */ stw r6, 0x34(r23) +/* 80342718 0033F678 48 00 1C F5 */ bl inflate_flush +/* 8034271C 0033F67C 48 00 06 10 */ b lbl_80342D2C +lbl_80342720: +/* 80342720 0033F680 88 1C 00 00 */ lbz r0, 0(r28) +/* 80342724 0033F684 3B 7B FF FF */ addi r27, r27, -1 +/* 80342728 0033F688 3B 9C 00 01 */ addi r28, r28, 1 +/* 8034272C 0033F68C 7C 00 E8 30 */ slw r0, r0, r29 +/* 80342730 0033F690 3B BD 00 08 */ addi r29, r29, 8 +/* 80342734 0033F694 7F DE 03 78 */ or r30, r30, r0 +/* 80342738 0033F698 42 00 FF A0 */ bdnz lbl_803426D8 +lbl_8034273C: +/* 8034273C 0033F69C 3C 80 80 3F */ lis r4, lbl_803EF5C8@ha +/* 80342740 0033F6A0 55 00 10 3A */ slwi r0, r8, 2 +/* 80342744 0033F6A4 38 84 F5 C8 */ addi r4, r4, lbl_803EF5C8@l +/* 80342748 0033F6A8 80 F9 00 04 */ lwz r7, 4(r25) +/* 8034274C 0033F6AC 7C 84 00 2E */ lwzx r4, r4, r0 +/* 80342750 0033F6B0 38 00 00 03 */ li r0, 3 +/* 80342754 0033F6B4 7F A8 E8 50 */ subf r29, r8, r29 +/* 80342758 0033F6B8 7F C4 20 38 */ and r4, r30, r4 +/* 8034275C 0033F6BC 7F DE 44 30 */ srw r30, r30, r8 +/* 80342760 0033F6C0 7C 87 22 14 */ add r4, r7, r4 +/* 80342764 0033F6C4 90 99 00 04 */ stw r4, 4(r25) +/* 80342768 0033F6C8 88 99 00 11 */ lbz r4, 0x11(r25) +/* 8034276C 0033F6CC 90 99 00 0C */ stw r4, 0xc(r25) +/* 80342770 0033F6D0 80 99 00 18 */ lwz r4, 0x18(r25) +/* 80342774 0033F6D4 90 99 00 08 */ stw r4, 8(r25) +/* 80342778 0033F6D8 90 19 00 00 */ stw r0, 0(r25) +/* 8034277C 0033F6DC 80 F9 00 0C */ lwz r7, 0xc(r25) +/* 80342780 0033F6E0 38 07 00 07 */ addi r0, r7, 7 +/* 80342784 0033F6E4 7C 1D 00 50 */ subf r0, r29, r0 +/* 80342788 0033F6E8 54 00 E8 FE */ srwi r0, r0, 3 +/* 8034278C 0033F6EC 7C 09 03 A6 */ mtctr r0 +/* 80342790 0033F6F0 7C 1D 38 40 */ cmplw r29, r7 +/* 80342794 0033F6F4 40 80 00 68 */ bge lbl_803427FC +lbl_80342798: +/* 80342798 0033F6F8 28 1B 00 00 */ cmplwi r27, 0 +/* 8034279C 0033F6FC 41 82 00 0C */ beq lbl_803427A8 +/* 803427A0 0033F700 38 A0 00 00 */ li r5, 0 +/* 803427A4 0033F704 48 00 00 3C */ b lbl_803427E0 +lbl_803427A8: +/* 803427A8 0033F708 93 D7 00 20 */ stw r30, 0x20(r23) +/* 803427AC 0033F70C 7E E3 BB 78 */ mr r3, r23 +/* 803427B0 0033F710 7F 04 C3 78 */ mr r4, r24 +/* 803427B4 0033F714 93 B7 00 1C */ stw r29, 0x1c(r23) +/* 803427B8 0033F718 93 78 00 04 */ stw r27, 4(r24) +/* 803427BC 0033F71C 80 18 00 00 */ lwz r0, 0(r24) +/* 803427C0 0033F720 80 F8 00 08 */ lwz r7, 8(r24) +/* 803427C4 0033F724 7C 00 E0 50 */ subf r0, r0, r28 +/* 803427C8 0033F728 7C 07 02 14 */ add r0, r7, r0 +/* 803427CC 0033F72C 90 18 00 08 */ stw r0, 8(r24) +/* 803427D0 0033F730 93 98 00 00 */ stw r28, 0(r24) +/* 803427D4 0033F734 90 D7 00 34 */ stw r6, 0x34(r23) +/* 803427D8 0033F738 48 00 1C 35 */ bl inflate_flush +/* 803427DC 0033F73C 48 00 05 50 */ b lbl_80342D2C +lbl_803427E0: +/* 803427E0 0033F740 88 1C 00 00 */ lbz r0, 0(r28) +/* 803427E4 0033F744 3B 7B FF FF */ addi r27, r27, -1 +/* 803427E8 0033F748 3B 9C 00 01 */ addi r28, r28, 1 +/* 803427EC 0033F74C 7C 00 E8 30 */ slw r0, r0, r29 +/* 803427F0 0033F750 3B BD 00 08 */ addi r29, r29, 8 +/* 803427F4 0033F754 7F DE 03 78 */ or r30, r30, r0 +/* 803427F8 0033F758 42 00 FF A0 */ bdnz lbl_80342798 +lbl_803427FC: +/* 803427FC 0033F75C 3C 80 80 3F */ lis r4, lbl_803EF5C8@ha +/* 80342800 0033F760 54 E0 10 3A */ slwi r0, r7, 2 +/* 80342804 0033F764 38 84 F5 C8 */ addi r4, r4, lbl_803EF5C8@l +/* 80342808 0033F768 80 F9 00 08 */ lwz r7, 8(r25) +/* 8034280C 0033F76C 7C 04 00 2E */ lwzx r0, r4, r0 +/* 80342810 0033F770 7F C0 00 38 */ and r0, r30, r0 +/* 80342814 0033F774 54 00 18 38 */ slwi r0, r0, 3 +/* 80342818 0033F778 7C E7 02 14 */ add r7, r7, r0 +/* 8034281C 0033F77C 89 07 00 00 */ lbz r8, 0(r7) +/* 80342820 0033F780 88 87 00 01 */ lbz r4, 1(r7) +/* 80342824 0033F784 55 00 06 F7 */ rlwinm. r0, r8, 0, 0x1b, 0x1b +/* 80342828 0033F788 7F DE 24 30 */ srw r30, r30, r4 +/* 8034282C 0033F78C 7F A4 E8 50 */ subf r29, r4, r29 +/* 80342830 0033F790 41 82 00 20 */ beq lbl_80342850 +/* 80342834 0033F794 55 04 07 3E */ clrlwi r4, r8, 0x1c +/* 80342838 0033F798 38 00 00 04 */ li r0, 4 +/* 8034283C 0033F79C 90 99 00 08 */ stw r4, 8(r25) +/* 80342840 0033F7A0 80 87 00 04 */ lwz r4, 4(r7) +/* 80342844 0033F7A4 90 99 00 0C */ stw r4, 0xc(r25) +/* 80342848 0033F7A8 90 19 00 00 */ stw r0, 0(r25) +/* 8034284C 0033F7AC 4B FF FC 18 */ b lbl_80342464 +lbl_80342850: +/* 80342850 0033F7B0 55 00 06 73 */ rlwinm. r0, r8, 0, 0x19, 0x19 +/* 80342854 0033F7B4 40 82 00 1C */ bne lbl_80342870 +/* 80342858 0033F7B8 91 19 00 0C */ stw r8, 0xc(r25) +/* 8034285C 0033F7BC 80 07 00 04 */ lwz r0, 4(r7) +/* 80342860 0033F7C0 54 00 18 38 */ slwi r0, r0, 3 +/* 80342864 0033F7C4 7C 07 02 14 */ add r0, r7, r0 +/* 80342868 0033F7C8 90 19 00 08 */ stw r0, 8(r25) +/* 8034286C 0033F7CC 4B FF FB F8 */ b lbl_80342464 +lbl_80342870: +/* 80342870 0033F7D0 38 00 00 09 */ li r0, 9 +/* 80342874 0033F7D4 3C 60 80 3D */ lis r3, lbl_803D7B68@ha +/* 80342878 0033F7D8 38 63 7B 68 */ addi r3, r3, lbl_803D7B68@l +/* 8034287C 0033F7DC 90 19 00 00 */ stw r0, 0(r25) +/* 80342880 0033F7E0 38 03 00 1C */ addi r0, r3, 0x1c +/* 80342884 0033F7E4 7E E3 BB 78 */ mr r3, r23 +/* 80342888 0033F7E8 90 18 00 18 */ stw r0, 0x18(r24) +/* 8034288C 0033F7EC 7F 04 C3 78 */ mr r4, r24 +/* 80342890 0033F7F0 38 A0 FF FD */ li r5, -3 +/* 80342894 0033F7F4 93 D7 00 20 */ stw r30, 0x20(r23) +/* 80342898 0033F7F8 93 B7 00 1C */ stw r29, 0x1c(r23) +/* 8034289C 0033F7FC 93 78 00 04 */ stw r27, 4(r24) +/* 803428A0 0033F800 80 18 00 00 */ lwz r0, 0(r24) +/* 803428A4 0033F804 80 F8 00 08 */ lwz r7, 8(r24) +/* 803428A8 0033F808 7C 00 E0 50 */ subf r0, r0, r28 +/* 803428AC 0033F80C 7C 07 02 14 */ add r0, r7, r0 +/* 803428B0 0033F810 90 18 00 08 */ stw r0, 8(r24) +/* 803428B4 0033F814 93 98 00 00 */ stw r28, 0(r24) +/* 803428B8 0033F818 90 D7 00 34 */ stw r6, 0x34(r23) +/* 803428BC 0033F81C 48 00 1B 51 */ bl inflate_flush +/* 803428C0 0033F820 48 00 04 6C */ b lbl_80342D2C +/* 803428C4 0033F824 81 19 00 08 */ lwz r8, 8(r25) +/* 803428C8 0033F828 38 08 00 07 */ addi r0, r8, 7 +/* 803428CC 0033F82C 7C 1D 00 50 */ subf r0, r29, r0 +/* 803428D0 0033F830 54 00 E8 FE */ srwi r0, r0, 3 +/* 803428D4 0033F834 7C 09 03 A6 */ mtctr r0 +/* 803428D8 0033F838 7C 1D 40 40 */ cmplw r29, r8 +/* 803428DC 0033F83C 40 80 00 68 */ bge lbl_80342944 +lbl_803428E0: +/* 803428E0 0033F840 28 1B 00 00 */ cmplwi r27, 0 +/* 803428E4 0033F844 41 82 00 0C */ beq lbl_803428F0 +/* 803428E8 0033F848 38 A0 00 00 */ li r5, 0 +/* 803428EC 0033F84C 48 00 00 3C */ b lbl_80342928 +lbl_803428F0: +/* 803428F0 0033F850 93 D7 00 20 */ stw r30, 0x20(r23) +/* 803428F4 0033F854 7E E3 BB 78 */ mr r3, r23 +/* 803428F8 0033F858 7F 04 C3 78 */ mr r4, r24 +/* 803428FC 0033F85C 93 B7 00 1C */ stw r29, 0x1c(r23) +/* 80342900 0033F860 93 78 00 04 */ stw r27, 4(r24) +/* 80342904 0033F864 80 18 00 00 */ lwz r0, 0(r24) +/* 80342908 0033F868 80 F8 00 08 */ lwz r7, 8(r24) +/* 8034290C 0033F86C 7C 00 E0 50 */ subf r0, r0, r28 +/* 80342910 0033F870 7C 07 02 14 */ add r0, r7, r0 +/* 80342914 0033F874 90 18 00 08 */ stw r0, 8(r24) +/* 80342918 0033F878 93 98 00 00 */ stw r28, 0(r24) +/* 8034291C 0033F87C 90 D7 00 34 */ stw r6, 0x34(r23) +/* 80342920 0033F880 48 00 1A ED */ bl inflate_flush +/* 80342924 0033F884 48 00 04 08 */ b lbl_80342D2C +lbl_80342928: +/* 80342928 0033F888 88 1C 00 00 */ lbz r0, 0(r28) +/* 8034292C 0033F88C 3B 7B FF FF */ addi r27, r27, -1 +/* 80342930 0033F890 3B 9C 00 01 */ addi r28, r28, 1 +/* 80342934 0033F894 7C 00 E8 30 */ slw r0, r0, r29 +/* 80342938 0033F898 3B BD 00 08 */ addi r29, r29, 8 +/* 8034293C 0033F89C 7F DE 03 78 */ or r30, r30, r0 +/* 80342940 0033F8A0 42 00 FF A0 */ bdnz lbl_803428E0 +lbl_80342944: +/* 80342944 0033F8A4 3C 80 80 3F */ lis r4, lbl_803EF5C8@ha +/* 80342948 0033F8A8 55 00 10 3A */ slwi r0, r8, 2 +/* 8034294C 0033F8AC 38 84 F5 C8 */ addi r4, r4, lbl_803EF5C8@l +/* 80342950 0033F8B0 80 F9 00 0C */ lwz r7, 0xc(r25) +/* 80342954 0033F8B4 7C 84 00 2E */ lwzx r4, r4, r0 +/* 80342958 0033F8B8 38 00 00 05 */ li r0, 5 +/* 8034295C 0033F8BC 7F A8 E8 50 */ subf r29, r8, r29 +/* 80342960 0033F8C0 7F C4 20 38 */ and r4, r30, r4 +/* 80342964 0033F8C4 7F DE 44 30 */ srw r30, r30, r8 +/* 80342968 0033F8C8 7C 87 22 14 */ add r4, r7, r4 +/* 8034296C 0033F8CC 90 99 00 0C */ stw r4, 0xc(r25) +/* 80342970 0033F8D0 90 19 00 00 */ stw r0, 0(r25) +/* 80342974 0033F8D4 80 17 00 28 */ lwz r0, 0x28(r23) +/* 80342978 0033F8D8 80 F9 00 0C */ lwz r7, 0xc(r25) +/* 8034297C 0033F8DC 7C 80 30 50 */ subf r4, r0, r6 +/* 80342980 0033F8E0 7C 04 38 40 */ cmplw r4, r7 +/* 80342984 0033F8E4 40 80 00 14 */ bge lbl_80342998 +/* 80342988 0033F8E8 80 17 00 2C */ lwz r0, 0x2c(r23) +/* 8034298C 0033F8EC 7C 84 38 50 */ subf r4, r4, r7 +/* 80342990 0033F8F0 7C 04 00 50 */ subf r0, r4, r0 +/* 80342994 0033F8F4 48 00 00 08 */ b lbl_8034299C +lbl_80342998: +/* 80342998 0033F8F8 7C 07 30 50 */ subf r0, r7, r6 +lbl_8034299C: +/* 8034299C 0033F8FC 7C 1A 03 78 */ mr r26, r0 +/* 803429A0 0033F900 48 00 01 30 */ b lbl_80342AD0 +lbl_803429A4: +/* 803429A4 0033F904 28 03 00 00 */ cmplwi r3, 0 +/* 803429A8 0033F908 40 82 00 F4 */ bne lbl_80342A9C +/* 803429AC 0033F90C 80 F7 00 2C */ lwz r7, 0x2c(r23) +/* 803429B0 0033F910 7C 06 38 40 */ cmplw r6, r7 +/* 803429B4 0033F914 40 82 00 30 */ bne lbl_803429E4 +/* 803429B8 0033F918 80 97 00 30 */ lwz r4, 0x30(r23) +/* 803429BC 0033F91C 80 17 00 28 */ lwz r0, 0x28(r23) +/* 803429C0 0033F920 7C 04 00 40 */ cmplw r4, r0 +/* 803429C4 0033F924 41 82 00 20 */ beq lbl_803429E4 +/* 803429C8 0033F928 7C 00 20 40 */ cmplw r0, r4 +/* 803429CC 0033F92C 7C 06 03 78 */ mr r6, r0 +/* 803429D0 0033F930 40 80 00 10 */ bge lbl_803429E0 +/* 803429D4 0033F934 7C 60 20 50 */ subf r3, r0, r4 +/* 803429D8 0033F938 38 63 FF FF */ addi r3, r3, -1 +/* 803429DC 0033F93C 48 00 00 08 */ b lbl_803429E4 +lbl_803429E0: +/* 803429E0 0033F940 7C 60 38 50 */ subf r3, r0, r7 +lbl_803429E4: +/* 803429E4 0033F944 28 03 00 00 */ cmplwi r3, 0 +/* 803429E8 0033F948 40 82 00 B4 */ bne lbl_80342A9C +/* 803429EC 0033F94C 90 D7 00 34 */ stw r6, 0x34(r23) +/* 803429F0 0033F950 7E E3 BB 78 */ mr r3, r23 +/* 803429F4 0033F954 7F 04 C3 78 */ mr r4, r24 +/* 803429F8 0033F958 48 00 1A 15 */ bl inflate_flush +/* 803429FC 0033F95C 80 D7 00 34 */ lwz r6, 0x34(r23) +/* 80342A00 0033F960 7C 65 1B 78 */ mr r5, r3 +/* 80342A04 0033F964 80 97 00 30 */ lwz r4, 0x30(r23) +/* 80342A08 0033F968 7C 06 20 40 */ cmplw r6, r4 +/* 80342A0C 0033F96C 40 80 00 10 */ bge lbl_80342A1C +/* 80342A10 0033F970 7C 66 20 50 */ subf r3, r6, r4 +/* 80342A14 0033F974 38 03 FF FF */ addi r0, r3, -1 +/* 80342A18 0033F978 48 00 00 0C */ b lbl_80342A24 +lbl_80342A1C: +/* 80342A1C 0033F97C 80 17 00 2C */ lwz r0, 0x2c(r23) +/* 80342A20 0033F980 7C 06 00 50 */ subf r0, r6, r0 +lbl_80342A24: +/* 80342A24 0033F984 80 F7 00 2C */ lwz r7, 0x2c(r23) +/* 80342A28 0033F988 7C 03 03 78 */ mr r3, r0 +/* 80342A2C 0033F98C 7C 06 38 40 */ cmplw r6, r7 +/* 80342A30 0033F990 40 82 00 2C */ bne lbl_80342A5C +/* 80342A34 0033F994 80 17 00 28 */ lwz r0, 0x28(r23) +/* 80342A38 0033F998 7C 04 00 40 */ cmplw r4, r0 +/* 80342A3C 0033F99C 41 82 00 20 */ beq lbl_80342A5C +/* 80342A40 0033F9A0 7C 00 20 40 */ cmplw r0, r4 +/* 80342A44 0033F9A4 7C 06 03 78 */ mr r6, r0 +/* 80342A48 0033F9A8 40 80 00 10 */ bge lbl_80342A58 +/* 80342A4C 0033F9AC 7C 60 20 50 */ subf r3, r0, r4 +/* 80342A50 0033F9B0 38 63 FF FF */ addi r3, r3, -1 +/* 80342A54 0033F9B4 48 00 00 08 */ b lbl_80342A5C +lbl_80342A58: +/* 80342A58 0033F9B8 7C 60 38 50 */ subf r3, r0, r7 +lbl_80342A5C: +/* 80342A5C 0033F9BC 28 03 00 00 */ cmplwi r3, 0 +/* 80342A60 0033F9C0 40 82 00 3C */ bne lbl_80342A9C +/* 80342A64 0033F9C4 93 D7 00 20 */ stw r30, 0x20(r23) +/* 80342A68 0033F9C8 7E E3 BB 78 */ mr r3, r23 +/* 80342A6C 0033F9CC 7F 04 C3 78 */ mr r4, r24 +/* 80342A70 0033F9D0 93 B7 00 1C */ stw r29, 0x1c(r23) +/* 80342A74 0033F9D4 93 78 00 04 */ stw r27, 4(r24) +/* 80342A78 0033F9D8 80 18 00 00 */ lwz r0, 0(r24) +/* 80342A7C 0033F9DC 80 F8 00 08 */ lwz r7, 8(r24) +/* 80342A80 0033F9E0 7C 00 E0 50 */ subf r0, r0, r28 +/* 80342A84 0033F9E4 7C 07 02 14 */ add r0, r7, r0 +/* 80342A88 0033F9E8 90 18 00 08 */ stw r0, 8(r24) +/* 80342A8C 0033F9EC 93 98 00 00 */ stw r28, 0(r24) +/* 80342A90 0033F9F0 90 D7 00 34 */ stw r6, 0x34(r23) +/* 80342A94 0033F9F4 48 00 19 79 */ bl inflate_flush +/* 80342A98 0033F9F8 48 00 02 94 */ b lbl_80342D2C +lbl_80342A9C: +/* 80342A9C 0033F9FC 88 1A 00 00 */ lbz r0, 0(r26) +/* 80342AA0 0033FA00 3B 5A 00 01 */ addi r26, r26, 1 +/* 80342AA4 0033FA04 38 A0 00 00 */ li r5, 0 +/* 80342AA8 0033FA08 38 63 FF FF */ addi r3, r3, -1 +/* 80342AAC 0033FA0C 98 06 00 00 */ stb r0, 0(r6) +/* 80342AB0 0033FA10 38 C6 00 01 */ addi r6, r6, 1 +/* 80342AB4 0033FA14 80 17 00 2C */ lwz r0, 0x2c(r23) +/* 80342AB8 0033FA18 7C 1A 00 40 */ cmplw r26, r0 +/* 80342ABC 0033FA1C 40 82 00 08 */ bne lbl_80342AC4 +/* 80342AC0 0033FA20 83 57 00 28 */ lwz r26, 0x28(r23) +lbl_80342AC4: +/* 80342AC4 0033FA24 80 99 00 04 */ lwz r4, 4(r25) +/* 80342AC8 0033FA28 38 04 FF FF */ addi r0, r4, -1 +/* 80342ACC 0033FA2C 90 19 00 04 */ stw r0, 4(r25) +lbl_80342AD0: +/* 80342AD0 0033FA30 80 19 00 04 */ lwz r0, 4(r25) +/* 80342AD4 0033FA34 28 00 00 00 */ cmplwi r0, 0 +/* 80342AD8 0033FA38 40 82 FE CC */ bne lbl_803429A4 +/* 80342ADC 0033FA3C 38 00 00 00 */ li r0, 0 +/* 80342AE0 0033FA40 90 19 00 00 */ stw r0, 0(r25) +/* 80342AE4 0033FA44 4B FF F9 80 */ b lbl_80342464 +/* 80342AE8 0033FA48 28 03 00 00 */ cmplwi r3, 0 +/* 80342AEC 0033FA4C 40 82 00 F4 */ bne lbl_80342BE0 +/* 80342AF0 0033FA50 80 F7 00 2C */ lwz r7, 0x2c(r23) +/* 80342AF4 0033FA54 7C 06 38 40 */ cmplw r6, r7 +/* 80342AF8 0033FA58 40 82 00 30 */ bne lbl_80342B28 +/* 80342AFC 0033FA5C 80 97 00 30 */ lwz r4, 0x30(r23) +/* 80342B00 0033FA60 80 17 00 28 */ lwz r0, 0x28(r23) +/* 80342B04 0033FA64 7C 04 00 40 */ cmplw r4, r0 +/* 80342B08 0033FA68 41 82 00 20 */ beq lbl_80342B28 +/* 80342B0C 0033FA6C 7C 00 20 40 */ cmplw r0, r4 +/* 80342B10 0033FA70 7C 06 03 78 */ mr r6, r0 +/* 80342B14 0033FA74 40 80 00 10 */ bge lbl_80342B24 +/* 80342B18 0033FA78 7C 60 20 50 */ subf r3, r0, r4 +/* 80342B1C 0033FA7C 38 63 FF FF */ addi r3, r3, -1 +/* 80342B20 0033FA80 48 00 00 08 */ b lbl_80342B28 +lbl_80342B24: +/* 80342B24 0033FA84 7C 60 38 50 */ subf r3, r0, r7 +lbl_80342B28: +/* 80342B28 0033FA88 28 03 00 00 */ cmplwi r3, 0 +/* 80342B2C 0033FA8C 40 82 00 B4 */ bne lbl_80342BE0 +/* 80342B30 0033FA90 90 D7 00 34 */ stw r6, 0x34(r23) +/* 80342B34 0033FA94 7E E3 BB 78 */ mr r3, r23 +/* 80342B38 0033FA98 7F 04 C3 78 */ mr r4, r24 +/* 80342B3C 0033FA9C 48 00 18 D1 */ bl inflate_flush +/* 80342B40 0033FAA0 80 D7 00 34 */ lwz r6, 0x34(r23) +/* 80342B44 0033FAA4 7C 65 1B 78 */ mr r5, r3 +/* 80342B48 0033FAA8 80 97 00 30 */ lwz r4, 0x30(r23) +/* 80342B4C 0033FAAC 7C 06 20 40 */ cmplw r6, r4 +/* 80342B50 0033FAB0 40 80 00 10 */ bge lbl_80342B60 +/* 80342B54 0033FAB4 7C 66 20 50 */ subf r3, r6, r4 +/* 80342B58 0033FAB8 38 03 FF FF */ addi r0, r3, -1 +/* 80342B5C 0033FABC 48 00 00 0C */ b lbl_80342B68 +lbl_80342B60: +/* 80342B60 0033FAC0 80 17 00 2C */ lwz r0, 0x2c(r23) +/* 80342B64 0033FAC4 7C 06 00 50 */ subf r0, r6, r0 +lbl_80342B68: +/* 80342B68 0033FAC8 80 F7 00 2C */ lwz r7, 0x2c(r23) +/* 80342B6C 0033FACC 7C 03 03 78 */ mr r3, r0 +/* 80342B70 0033FAD0 7C 06 38 40 */ cmplw r6, r7 +/* 80342B74 0033FAD4 40 82 00 2C */ bne lbl_80342BA0 +/* 80342B78 0033FAD8 80 17 00 28 */ lwz r0, 0x28(r23) +/* 80342B7C 0033FADC 7C 04 00 40 */ cmplw r4, r0 +/* 80342B80 0033FAE0 41 82 00 20 */ beq lbl_80342BA0 +/* 80342B84 0033FAE4 7C 00 20 40 */ cmplw r0, r4 +/* 80342B88 0033FAE8 7C 06 03 78 */ mr r6, r0 +/* 80342B8C 0033FAEC 40 80 00 10 */ bge lbl_80342B9C +/* 80342B90 0033FAF0 7C 60 20 50 */ subf r3, r0, r4 +/* 80342B94 0033FAF4 38 63 FF FF */ addi r3, r3, -1 +/* 80342B98 0033FAF8 48 00 00 08 */ b lbl_80342BA0 +lbl_80342B9C: +/* 80342B9C 0033FAFC 7C 60 38 50 */ subf r3, r0, r7 +lbl_80342BA0: +/* 80342BA0 0033FB00 28 03 00 00 */ cmplwi r3, 0 +/* 80342BA4 0033FB04 40 82 00 3C */ bne lbl_80342BE0 +/* 80342BA8 0033FB08 93 D7 00 20 */ stw r30, 0x20(r23) +/* 80342BAC 0033FB0C 7E E3 BB 78 */ mr r3, r23 +/* 80342BB0 0033FB10 7F 04 C3 78 */ mr r4, r24 +/* 80342BB4 0033FB14 93 B7 00 1C */ stw r29, 0x1c(r23) +/* 80342BB8 0033FB18 93 78 00 04 */ stw r27, 4(r24) +/* 80342BBC 0033FB1C 80 18 00 00 */ lwz r0, 0(r24) +/* 80342BC0 0033FB20 80 F8 00 08 */ lwz r7, 8(r24) +/* 80342BC4 0033FB24 7C 00 E0 50 */ subf r0, r0, r28 +/* 80342BC8 0033FB28 7C 07 02 14 */ add r0, r7, r0 +/* 80342BCC 0033FB2C 90 18 00 08 */ stw r0, 8(r24) +/* 80342BD0 0033FB30 93 98 00 00 */ stw r28, 0(r24) +/* 80342BD4 0033FB34 90 D7 00 34 */ stw r6, 0x34(r23) +/* 80342BD8 0033FB38 48 00 18 35 */ bl inflate_flush +/* 80342BDC 0033FB3C 48 00 01 50 */ b lbl_80342D2C +lbl_80342BE0: +/* 80342BE0 0033FB40 80 99 00 08 */ lwz r4, 8(r25) +/* 80342BE4 0033FB44 38 00 00 00 */ li r0, 0 +/* 80342BE8 0033FB48 38 A0 00 00 */ li r5, 0 +/* 80342BEC 0033FB4C 38 63 FF FF */ addi r3, r3, -1 +/* 80342BF0 0033FB50 98 86 00 00 */ stb r4, 0(r6) +/* 80342BF4 0033FB54 38 C6 00 01 */ addi r6, r6, 1 +/* 80342BF8 0033FB58 90 19 00 00 */ stw r0, 0(r25) +/* 80342BFC 0033FB5C 4B FF F8 68 */ b lbl_80342464 +/* 80342C00 0033FB60 28 1D 00 07 */ cmplwi r29, 7 +/* 80342C04 0033FB64 40 81 00 10 */ ble lbl_80342C14 +/* 80342C08 0033FB68 3B BD FF F8 */ addi r29, r29, -8 +/* 80342C0C 0033FB6C 3B 7B 00 01 */ addi r27, r27, 1 +/* 80342C10 0033FB70 3B 9C FF FF */ addi r28, r28, -1 +lbl_80342C14: +/* 80342C14 0033FB74 90 D7 00 34 */ stw r6, 0x34(r23) +/* 80342C18 0033FB78 7E E3 BB 78 */ mr r3, r23 +/* 80342C1C 0033FB7C 7F 04 C3 78 */ mr r4, r24 +/* 80342C20 0033FB80 48 00 17 ED */ bl inflate_flush +/* 80342C24 0033FB84 80 F7 00 34 */ lwz r7, 0x34(r23) +/* 80342C28 0033FB88 7C 65 1B 78 */ mr r5, r3 +/* 80342C2C 0033FB8C 80 17 00 30 */ lwz r0, 0x30(r23) +/* 80342C30 0033FB90 7C E6 3B 78 */ mr r6, r7 +/* 80342C34 0033FB94 7C 00 38 40 */ cmplw r0, r7 +/* 80342C38 0033FB98 41 82 00 3C */ beq lbl_80342C74 +/* 80342C3C 0033FB9C 93 D7 00 20 */ stw r30, 0x20(r23) +/* 80342C40 0033FBA0 7E E3 BB 78 */ mr r3, r23 +/* 80342C44 0033FBA4 7F 04 C3 78 */ mr r4, r24 +/* 80342C48 0033FBA8 93 B7 00 1C */ stw r29, 0x1c(r23) +/* 80342C4C 0033FBAC 93 78 00 04 */ stw r27, 4(r24) +/* 80342C50 0033FBB0 80 18 00 00 */ lwz r0, 0(r24) +/* 80342C54 0033FBB4 80 D8 00 08 */ lwz r6, 8(r24) +/* 80342C58 0033FBB8 7C 00 E0 50 */ subf r0, r0, r28 +/* 80342C5C 0033FBBC 7C 06 02 14 */ add r0, r6, r0 +/* 80342C60 0033FBC0 90 18 00 08 */ stw r0, 8(r24) +/* 80342C64 0033FBC4 93 98 00 00 */ stw r28, 0(r24) +/* 80342C68 0033FBC8 90 F7 00 34 */ stw r7, 0x34(r23) +/* 80342C6C 0033FBCC 48 00 17 A1 */ bl inflate_flush +/* 80342C70 0033FBD0 48 00 00 BC */ b lbl_80342D2C +lbl_80342C74: +/* 80342C74 0033FBD4 38 00 00 08 */ li r0, 8 +/* 80342C78 0033FBD8 90 19 00 00 */ stw r0, 0(r25) +/* 80342C7C 0033FBDC 93 D7 00 20 */ stw r30, 0x20(r23) +/* 80342C80 0033FBE0 7E E3 BB 78 */ mr r3, r23 +/* 80342C84 0033FBE4 7F 04 C3 78 */ mr r4, r24 +/* 80342C88 0033FBE8 38 A0 00 01 */ li r5, 1 +/* 80342C8C 0033FBEC 93 B7 00 1C */ stw r29, 0x1c(r23) +/* 80342C90 0033FBF0 93 78 00 04 */ stw r27, 4(r24) +/* 80342C94 0033FBF4 80 18 00 00 */ lwz r0, 0(r24) +/* 80342C98 0033FBF8 80 F8 00 08 */ lwz r7, 8(r24) +/* 80342C9C 0033FBFC 7C 00 E0 50 */ subf r0, r0, r28 +/* 80342CA0 0033FC00 7C 07 02 14 */ add r0, r7, r0 +/* 80342CA4 0033FC04 90 18 00 08 */ stw r0, 8(r24) +/* 80342CA8 0033FC08 93 98 00 00 */ stw r28, 0(r24) +/* 80342CAC 0033FC0C 90 D7 00 34 */ stw r6, 0x34(r23) +/* 80342CB0 0033FC10 48 00 17 5D */ bl inflate_flush +/* 80342CB4 0033FC14 48 00 00 78 */ b lbl_80342D2C +/* 80342CB8 0033FC18 93 D7 00 20 */ stw r30, 0x20(r23) +/* 80342CBC 0033FC1C 7E E3 BB 78 */ mr r3, r23 +/* 80342CC0 0033FC20 7F 04 C3 78 */ mr r4, r24 +/* 80342CC4 0033FC24 38 A0 FF FD */ li r5, -3 +/* 80342CC8 0033FC28 93 B7 00 1C */ stw r29, 0x1c(r23) +/* 80342CCC 0033FC2C 93 78 00 04 */ stw r27, 4(r24) +/* 80342CD0 0033FC30 80 18 00 00 */ lwz r0, 0(r24) +/* 80342CD4 0033FC34 80 F8 00 08 */ lwz r7, 8(r24) +/* 80342CD8 0033FC38 7C 00 E0 50 */ subf r0, r0, r28 +/* 80342CDC 0033FC3C 7C 07 02 14 */ add r0, r7, r0 +/* 80342CE0 0033FC40 90 18 00 08 */ stw r0, 8(r24) +/* 80342CE4 0033FC44 93 98 00 00 */ stw r28, 0(r24) +/* 80342CE8 0033FC48 90 D7 00 34 */ stw r6, 0x34(r23) +/* 80342CEC 0033FC4C 48 00 17 21 */ bl inflate_flush +/* 80342CF0 0033FC50 48 00 00 3C */ b lbl_80342D2C +lbl_80342CF4: +/* 80342CF4 0033FC54 93 D7 00 20 */ stw r30, 0x20(r23) +/* 80342CF8 0033FC58 7E E3 BB 78 */ mr r3, r23 +/* 80342CFC 0033FC5C 7F 04 C3 78 */ mr r4, r24 +/* 80342D00 0033FC60 38 A0 FF FE */ li r5, -2 +/* 80342D04 0033FC64 93 B7 00 1C */ stw r29, 0x1c(r23) +/* 80342D08 0033FC68 93 78 00 04 */ stw r27, 4(r24) +/* 80342D0C 0033FC6C 80 18 00 00 */ lwz r0, 0(r24) +/* 80342D10 0033FC70 80 F8 00 08 */ lwz r7, 8(r24) +/* 80342D14 0033FC74 7C 00 E0 50 */ subf r0, r0, r28 +/* 80342D18 0033FC78 7C 07 02 14 */ add r0, r7, r0 +/* 80342D1C 0033FC7C 90 18 00 08 */ stw r0, 8(r24) +/* 80342D20 0033FC80 93 98 00 00 */ stw r28, 0(r24) +/* 80342D24 0033FC84 90 D7 00 34 */ stw r6, 0x34(r23) +/* 80342D28 0033FC88 48 00 16 E5 */ bl inflate_flush +lbl_80342D2C: +/* 80342D2C 0033FC8C BA E1 00 0C */ lmw r23, 0xc(r1) +/* 80342D30 0033FC90 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80342D34 0033FC94 7C 08 03 A6 */ mtlr r0 +/* 80342D38 0033FC98 38 21 00 30 */ addi r1, r1, 0x30 +/* 80342D3C 0033FC9C 4E 80 00 20 */ blr + +.global inflate_codes_new +inflate_codes_new: +/* 80342D40 0033FCA0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80342D44 0033FCA4 7C 08 02 A6 */ mflr r0 +/* 80342D48 0033FCA8 90 01 00 24 */ stw r0, 0x24(r1) +/* 80342D4C 0033FCAC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80342D50 0033FCB0 7C DF 33 78 */ mr r31, r6 +/* 80342D54 0033FCB4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80342D58 0033FCB8 7C BE 2B 78 */ mr r30, r5 +/* 80342D5C 0033FCBC 38 A0 00 1C */ li r5, 0x1c +/* 80342D60 0033FCC0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80342D64 0033FCC4 7C 9D 23 78 */ mr r29, r4 +/* 80342D68 0033FCC8 38 80 00 01 */ li r4, 1 +/* 80342D6C 0033FCCC 93 81 00 10 */ stw r28, 0x10(r1) +/* 80342D70 0033FCD0 7C 7C 1B 78 */ mr r28, r3 +/* 80342D74 0033FCD4 81 87 00 20 */ lwz r12, 0x20(r7) +/* 80342D78 0033FCD8 80 67 00 28 */ lwz r3, 0x28(r7) +/* 80342D7C 0033FCDC 7D 89 03 A6 */ mtctr r12 +/* 80342D80 0033FCE0 4E 80 04 21 */ bctrl +/* 80342D84 0033FCE4 28 03 00 00 */ cmplwi r3, 0 +/* 80342D88 0033FCE8 41 82 00 1C */ beq lbl_80342DA4 +/* 80342D8C 0033FCEC 38 00 00 00 */ li r0, 0 +/* 80342D90 0033FCF0 90 03 00 00 */ stw r0, 0(r3) +/* 80342D94 0033FCF4 9B 83 00 10 */ stb r28, 0x10(r3) +/* 80342D98 0033FCF8 9B A3 00 11 */ stb r29, 0x11(r3) +/* 80342D9C 0033FCFC 93 C3 00 14 */ stw r30, 0x14(r3) +/* 80342DA0 0033FD00 93 E3 00 18 */ stw r31, 0x18(r3) +lbl_80342DA4: +/* 80342DA4 0033FD04 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80342DA8 0033FD08 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80342DAC 0033FD0C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80342DB0 0033FD10 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80342DB4 0033FD14 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80342DB8 0033FD18 7C 08 03 A6 */ mtlr r0 +/* 80342DBC 0033FD1C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80342DC0 0033FD20 4E 80 00 20 */ blr diff --git a/asm/Kyoto/zlib/inffast.s b/asm/Kyoto/zlib/inffast.s new file mode 100644 index 00000000..95251671 --- /dev/null +++ b/asm/Kyoto/zlib/inffast.s @@ -0,0 +1,394 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global inflate_fast +inflate_fast: +/* 80342DC4 0033FD24 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80342DC8 0033FD28 BF 01 00 10 */ stmw r24, 0x10(r1) +/* 80342DCC 0033FD2C 81 87 00 34 */ lwz r12, 0x34(r7) +/* 80342DD0 0033FD30 83 27 00 30 */ lwz r25, 0x30(r7) +/* 80342DD4 0033FD34 81 48 00 00 */ lwz r10, 0(r8) +/* 80342DD8 0033FD38 7C 0C C8 40 */ cmplw r12, r25 +/* 80342DDC 0033FD3C 81 68 00 04 */ lwz r11, 4(r8) +/* 80342DE0 0033FD40 80 07 00 20 */ lwz r0, 0x20(r7) +/* 80342DE4 0033FD44 81 27 00 1C */ lwz r9, 0x1c(r7) +/* 80342DE8 0033FD48 40 80 00 10 */ bge lbl_80342DF8 +/* 80342DEC 0033FD4C 7F 2C C8 50 */ subf r25, r12, r25 +/* 80342DF0 0033FD50 3B 79 FF FF */ addi r27, r25, -1 +/* 80342DF4 0033FD54 48 00 00 0C */ b lbl_80342E00 +lbl_80342DF8: +/* 80342DF8 0033FD58 83 27 00 2C */ lwz r25, 0x2c(r7) +/* 80342DFC 0033FD5C 7F 6C C8 50 */ subf r27, r12, r25 +lbl_80342E00: +/* 80342E00 0033FD60 3F 20 80 3F */ lis r25, lbl_803EF5C8@ha +/* 80342E04 0033FD64 54 7A 10 3A */ slwi r26, r3, 2 +/* 80342E08 0033FD68 3B 39 F5 C8 */ addi r25, r25, lbl_803EF5C8@l +/* 80342E0C 0033FD6C 54 83 10 3A */ slwi r3, r4, 2 +/* 80342E10 0033FD70 7F F9 D0 2E */ lwzx r31, r25, r26 +/* 80342E14 0033FD74 7F 64 DB 78 */ mr r4, r27 +/* 80342E18 0033FD78 7F D9 18 2E */ lwzx r30, r25, r3 +/* 80342E1C 0033FD7C 48 00 00 1C */ b lbl_80342E38 +lbl_80342E20: +/* 80342E20 0033FD80 88 6A 00 00 */ lbz r3, 0(r10) +/* 80342E24 0033FD84 39 6B FF FF */ addi r11, r11, -1 +/* 80342E28 0033FD88 39 4A 00 01 */ addi r10, r10, 1 +/* 80342E2C 0033FD8C 7C 63 48 30 */ slw r3, r3, r9 +/* 80342E30 0033FD90 39 29 00 08 */ addi r9, r9, 8 +/* 80342E34 0033FD94 7C 00 1B 78 */ or r0, r0, r3 +lbl_80342E38: +/* 80342E38 0033FD98 28 09 00 14 */ cmplwi r9, 0x14 +/* 80342E3C 0033FD9C 41 80 FF E4 */ blt lbl_80342E20 +/* 80342E40 0033FDA0 7C 03 F8 38 */ and r3, r0, r31 +/* 80342E44 0033FDA4 54 63 18 38 */ slwi r3, r3, 3 +/* 80342E48 0033FDA8 7C 65 1A 14 */ add r3, r5, r3 +/* 80342E4C 0033FDAC 8B 03 00 00 */ lbz r24, 0(r3) +/* 80342E50 0033FDB0 28 18 00 00 */ cmplwi r24, 0 +/* 80342E54 0033FDB4 40 82 00 24 */ bne lbl_80342E78 +/* 80342E58 0033FDB8 8B 23 00 01 */ lbz r25, 1(r3) +/* 80342E5C 0033FDBC 38 84 FF FF */ addi r4, r4, -1 +/* 80342E60 0033FDC0 80 63 00 04 */ lwz r3, 4(r3) +/* 80342E64 0033FDC4 7C 00 CC 30 */ srw r0, r0, r25 +/* 80342E68 0033FDC8 7D 39 48 50 */ subf r9, r25, r9 +/* 80342E6C 0033FDCC 98 6C 00 00 */ stb r3, 0(r12) +/* 80342E70 0033FDD0 39 8C 00 01 */ addi r12, r12, 1 +/* 80342E74 0033FDD4 48 00 04 78 */ b lbl_803432EC +lbl_80342E78: +/* 80342E78 0033FDD8 3F 60 80 3F */ lis r27, lbl_803EF5C8@ha +/* 80342E7C 0033FDDC 3B 9B F5 C8 */ addi r28, r27, lbl_803EF5C8@l +lbl_80342E80: +/* 80342E80 0033FDE0 8B 43 00 01 */ lbz r26, 1(r3) +/* 80342E84 0033FDE4 57 19 06 F7 */ rlwinm. r25, r24, 0, 0x1b, 0x1b +/* 80342E88 0033FDE8 7C 00 D4 30 */ srw r0, r0, r26 +/* 80342E8C 0033FDEC 7D 3A 48 50 */ subf r9, r26, r9 +/* 80342E90 0033FDF0 41 82 03 40 */ beq lbl_803431D0 +/* 80342E94 0033FDF4 3F 20 80 3F */ lis r25, lbl_803EF5C8@ha +/* 80342E98 0033FDF8 57 1D 07 3E */ clrlwi r29, r24, 0x1c +/* 80342E9C 0033FDFC 57 1A 16 BA */ rlwinm r26, r24, 2, 0x1a, 0x1d +/* 80342EA0 0033FE00 83 63 00 04 */ lwz r27, 4(r3) +/* 80342EA4 0033FE04 7D 3D 48 50 */ subf r9, r29, r9 +/* 80342EA8 0033FE08 38 79 F5 C8 */ addi r3, r25, lbl_803EF5C8@l +/* 80342EAC 0033FE0C 7C 63 D0 2E */ lwzx r3, r3, r26 +/* 80342EB0 0033FE10 28 09 00 0F */ cmplwi r9, 0xf +/* 80342EB4 0033FE14 23 89 00 16 */ subfic r28, r9, 0x16 +/* 80342EB8 0033FE18 7C 03 18 38 */ and r3, r0, r3 +/* 80342EBC 0033FE1C 7C 00 EC 30 */ srw r0, r0, r29 +/* 80342EC0 0033FE20 7F BB 1A 14 */ add r29, r27, r3 +/* 80342EC4 0033FE24 57 9C E8 FE */ srwi r28, r28, 3 +/* 80342EC8 0033FE28 40 80 00 C4 */ bge lbl_80342F8C +/* 80342ECC 0033FE2C 57 83 E8 FF */ rlwinm. r3, r28, 0x1d, 3, 0x1f +/* 80342ED0 0033FE30 7C 69 03 A6 */ mtctr r3 +/* 80342ED4 0033FE34 41 82 00 98 */ beq lbl_80342F6C +lbl_80342ED8: +/* 80342ED8 0033FE38 8B 2A 00 00 */ lbz r25, 0(r10) +/* 80342EDC 0033FE3C 39 6B FF F8 */ addi r11, r11, -8 +/* 80342EE0 0033FE40 7F 23 48 30 */ slw r3, r25, r9 +/* 80342EE4 0033FE44 8B 2A 00 01 */ lbz r25, 1(r10) +/* 80342EE8 0033FE48 39 29 00 08 */ addi r9, r9, 8 +/* 80342EEC 0033FE4C 7C 00 1B 78 */ or r0, r0, r3 +/* 80342EF0 0033FE50 7F 23 48 30 */ slw r3, r25, r9 +/* 80342EF4 0033FE54 8B 2A 00 02 */ lbz r25, 2(r10) +/* 80342EF8 0033FE58 39 29 00 08 */ addi r9, r9, 8 +/* 80342EFC 0033FE5C 7C 00 1B 78 */ or r0, r0, r3 +/* 80342F00 0033FE60 7F 23 48 30 */ slw r3, r25, r9 +/* 80342F04 0033FE64 8B 2A 00 03 */ lbz r25, 3(r10) +/* 80342F08 0033FE68 39 29 00 08 */ addi r9, r9, 8 +/* 80342F0C 0033FE6C 7C 00 1B 78 */ or r0, r0, r3 +/* 80342F10 0033FE70 7F 23 48 30 */ slw r3, r25, r9 +/* 80342F14 0033FE74 8B 2A 00 04 */ lbz r25, 4(r10) +/* 80342F18 0033FE78 39 29 00 08 */ addi r9, r9, 8 +/* 80342F1C 0033FE7C 7C 00 1B 78 */ or r0, r0, r3 +/* 80342F20 0033FE80 7F 23 48 30 */ slw r3, r25, r9 +/* 80342F24 0033FE84 8B 2A 00 05 */ lbz r25, 5(r10) +/* 80342F28 0033FE88 39 29 00 08 */ addi r9, r9, 8 +/* 80342F2C 0033FE8C 7C 00 1B 78 */ or r0, r0, r3 +/* 80342F30 0033FE90 7F 23 48 30 */ slw r3, r25, r9 +/* 80342F34 0033FE94 8B 2A 00 06 */ lbz r25, 6(r10) +/* 80342F38 0033FE98 39 29 00 08 */ addi r9, r9, 8 +/* 80342F3C 0033FE9C 7C 00 1B 78 */ or r0, r0, r3 +/* 80342F40 0033FEA0 7F 23 48 30 */ slw r3, r25, r9 +/* 80342F44 0033FEA4 8B 2A 00 07 */ lbz r25, 7(r10) +/* 80342F48 0033FEA8 39 29 00 08 */ addi r9, r9, 8 +/* 80342F4C 0033FEAC 39 4A 00 08 */ addi r10, r10, 8 +/* 80342F50 0033FEB0 7C 00 1B 78 */ or r0, r0, r3 +/* 80342F54 0033FEB4 7F 23 48 30 */ slw r3, r25, r9 +/* 80342F58 0033FEB8 39 29 00 08 */ addi r9, r9, 8 +/* 80342F5C 0033FEBC 7C 00 1B 78 */ or r0, r0, r3 +/* 80342F60 0033FEC0 42 00 FF 78 */ bdnz lbl_80342ED8 +/* 80342F64 0033FEC4 73 9C 00 07 */ andi. r28, r28, 7 +/* 80342F68 0033FEC8 41 82 00 24 */ beq lbl_80342F8C +lbl_80342F6C: +/* 80342F6C 0033FECC 7F 89 03 A6 */ mtctr r28 +lbl_80342F70: +/* 80342F70 0033FED0 8B 2A 00 00 */ lbz r25, 0(r10) +/* 80342F74 0033FED4 39 6B FF FF */ addi r11, r11, -1 +/* 80342F78 0033FED8 39 4A 00 01 */ addi r10, r10, 1 +/* 80342F7C 0033FEDC 7F 23 48 30 */ slw r3, r25, r9 +/* 80342F80 0033FEE0 39 29 00 08 */ addi r9, r9, 8 +/* 80342F84 0033FEE4 7C 00 1B 78 */ or r0, r0, r3 +/* 80342F88 0033FEE8 42 00 FF E8 */ bdnz lbl_80342F70 +lbl_80342F8C: +/* 80342F8C 0033FEEC 7C 03 F0 38 */ and r3, r0, r30 +/* 80342F90 0033FEF0 3F 60 80 3F */ lis r27, lbl_803EF5C8@ha +/* 80342F94 0033FEF4 54 63 18 38 */ slwi r3, r3, 3 +/* 80342F98 0033FEF8 7C 66 1A 14 */ add r3, r6, r3 +/* 80342F9C 0033FEFC 3B 9B F5 C8 */ addi r28, r27, lbl_803EF5C8@l +/* 80342FA0 0033FF00 8B 03 00 00 */ lbz r24, 0(r3) +lbl_80342FA4: +/* 80342FA4 0033FF04 8B 43 00 01 */ lbz r26, 1(r3) +/* 80342FA8 0033FF08 57 19 06 F7 */ rlwinm. r25, r24, 0, 0x1b, 0x1b +/* 80342FAC 0033FF0C 7C 00 D4 30 */ srw r0, r0, r26 +/* 80342FB0 0033FF10 7D 3A 48 50 */ subf r9, r26, r9 +/* 80342FB4 0033FF14 41 82 01 88 */ beq lbl_8034313C +/* 80342FB8 0033FF18 57 18 07 3E */ clrlwi r24, r24, 0x1c +/* 80342FBC 0033FF1C 3B 78 00 07 */ addi r27, r24, 7 +/* 80342FC0 0033FF20 7F 69 D8 50 */ subf r27, r9, r27 +/* 80342FC4 0033FF24 7C 09 C0 40 */ cmplw r9, r24 +/* 80342FC8 0033FF28 57 7B E8 FE */ srwi r27, r27, 3 +/* 80342FCC 0033FF2C 40 80 00 C4 */ bge lbl_80343090 +/* 80342FD0 0033FF30 57 7C E8 FF */ rlwinm. r28, r27, 0x1d, 3, 0x1f +/* 80342FD4 0033FF34 7F 89 03 A6 */ mtctr r28 +/* 80342FD8 0033FF38 41 82 00 98 */ beq lbl_80343070 +lbl_80342FDC: +/* 80342FDC 0033FF3C 8B 4A 00 00 */ lbz r26, 0(r10) +/* 80342FE0 0033FF40 39 6B FF F8 */ addi r11, r11, -8 +/* 80342FE4 0033FF44 7F 59 48 30 */ slw r25, r26, r9 +/* 80342FE8 0033FF48 8B 4A 00 01 */ lbz r26, 1(r10) +/* 80342FEC 0033FF4C 39 29 00 08 */ addi r9, r9, 8 +/* 80342FF0 0033FF50 7C 00 CB 78 */ or r0, r0, r25 +/* 80342FF4 0033FF54 7F 59 48 30 */ slw r25, r26, r9 +/* 80342FF8 0033FF58 8B 4A 00 02 */ lbz r26, 2(r10) +/* 80342FFC 0033FF5C 39 29 00 08 */ addi r9, r9, 8 +/* 80343000 0033FF60 7C 00 CB 78 */ or r0, r0, r25 +/* 80343004 0033FF64 7F 59 48 30 */ slw r25, r26, r9 +/* 80343008 0033FF68 8B 4A 00 03 */ lbz r26, 3(r10) +/* 8034300C 0033FF6C 39 29 00 08 */ addi r9, r9, 8 +/* 80343010 0033FF70 7C 00 CB 78 */ or r0, r0, r25 +/* 80343014 0033FF74 7F 59 48 30 */ slw r25, r26, r9 +/* 80343018 0033FF78 8B 4A 00 04 */ lbz r26, 4(r10) +/* 8034301C 0033FF7C 39 29 00 08 */ addi r9, r9, 8 +/* 80343020 0033FF80 7C 00 CB 78 */ or r0, r0, r25 +/* 80343024 0033FF84 7F 59 48 30 */ slw r25, r26, r9 +/* 80343028 0033FF88 8B 4A 00 05 */ lbz r26, 5(r10) +/* 8034302C 0033FF8C 39 29 00 08 */ addi r9, r9, 8 +/* 80343030 0033FF90 7C 00 CB 78 */ or r0, r0, r25 +/* 80343034 0033FF94 7F 59 48 30 */ slw r25, r26, r9 +/* 80343038 0033FF98 8B 4A 00 06 */ lbz r26, 6(r10) +/* 8034303C 0033FF9C 39 29 00 08 */ addi r9, r9, 8 +/* 80343040 0033FFA0 7C 00 CB 78 */ or r0, r0, r25 +/* 80343044 0033FFA4 7F 59 48 30 */ slw r25, r26, r9 +/* 80343048 0033FFA8 8B 4A 00 07 */ lbz r26, 7(r10) +/* 8034304C 0033FFAC 39 29 00 08 */ addi r9, r9, 8 +/* 80343050 0033FFB0 39 4A 00 08 */ addi r10, r10, 8 +/* 80343054 0033FFB4 7C 00 CB 78 */ or r0, r0, r25 +/* 80343058 0033FFB8 7F 59 48 30 */ slw r25, r26, r9 +/* 8034305C 0033FFBC 39 29 00 08 */ addi r9, r9, 8 +/* 80343060 0033FFC0 7C 00 CB 78 */ or r0, r0, r25 +/* 80343064 0033FFC4 42 00 FF 78 */ bdnz lbl_80342FDC +/* 80343068 0033FFC8 73 7B 00 07 */ andi. r27, r27, 7 +/* 8034306C 0033FFCC 41 82 00 24 */ beq lbl_80343090 +lbl_80343070: +/* 80343070 0033FFD0 7F 69 03 A6 */ mtctr r27 +lbl_80343074: +/* 80343074 0033FFD4 8B 4A 00 00 */ lbz r26, 0(r10) +/* 80343078 0033FFD8 39 6B FF FF */ addi r11, r11, -1 +/* 8034307C 0033FFDC 39 4A 00 01 */ addi r10, r10, 1 +/* 80343080 0033FFE0 7F 59 48 30 */ slw r25, r26, r9 +/* 80343084 0033FFE4 39 29 00 08 */ addi r9, r9, 8 +/* 80343088 0033FFE8 7C 00 CB 78 */ or r0, r0, r25 +/* 8034308C 0033FFEC 42 00 FF E8 */ bdnz lbl_80343074 +lbl_80343090: +/* 80343090 0033FFF0 3F 60 80 3F */ lis r27, lbl_803EF5C8@ha +/* 80343094 0033FFF4 83 47 00 28 */ lwz r26, 0x28(r7) +/* 80343098 0033FFF8 57 1C 10 3A */ slwi r28, r24, 2 +/* 8034309C 0033FFFC 83 23 00 04 */ lwz r25, 4(r3) +/* 803430A0 00340000 38 7B F5 C8 */ addi r3, r27, lbl_803EF5C8@l +/* 803430A4 00340004 7F 5A 60 50 */ subf r26, r26, r12 +/* 803430A8 00340008 7C 63 E0 2E */ lwzx r3, r3, r28 +/* 803430AC 0034000C 7D 38 48 50 */ subf r9, r24, r9 +/* 803430B0 00340010 7C 9D 20 50 */ subf r4, r29, r4 +/* 803430B4 00340014 7C 03 18 38 */ and r3, r0, r3 +/* 803430B8 00340018 7C 00 C4 30 */ srw r0, r0, r24 +/* 803430BC 0034001C 7C 79 1A 14 */ add r3, r25, r3 +/* 803430C0 00340020 7C 1A 18 40 */ cmplw r26, r3 +/* 803430C4 00340024 41 80 00 28 */ blt lbl_803430EC +/* 803430C8 00340028 7F 23 60 50 */ subf r25, r3, r12 +/* 803430CC 0034002C 3B BD FF FE */ addi r29, r29, -2 +/* 803430D0 00340030 88 79 00 00 */ lbz r3, 0(r25) +/* 803430D4 00340034 98 6C 00 00 */ stb r3, 0(r12) +/* 803430D8 00340038 88 79 00 01 */ lbz r3, 1(r25) +/* 803430DC 0034003C 3B 39 00 02 */ addi r25, r25, 2 +/* 803430E0 00340040 98 6C 00 01 */ stb r3, 1(r12) +/* 803430E4 00340044 39 8C 00 02 */ addi r12, r12, 2 +/* 803430E8 00340048 48 00 00 38 */ b lbl_80343120 +lbl_803430EC: +/* 803430EC 0034004C 7F 1A 18 50 */ subf r24, r26, r3 +/* 803430F0 00340050 80 67 00 2C */ lwz r3, 0x2c(r7) +/* 803430F4 00340054 7C 1D C0 40 */ cmplw r29, r24 +/* 803430F8 00340058 7F 38 18 50 */ subf r25, r24, r3 +/* 803430FC 0034005C 40 81 00 24 */ ble lbl_80343120 +/* 80343100 00340060 7F B8 E8 50 */ subf r29, r24, r29 +lbl_80343104: +/* 80343104 00340064 88 79 00 00 */ lbz r3, 0(r25) +/* 80343108 00340068 37 18 FF FF */ addic. r24, r24, -1 +/* 8034310C 0034006C 3B 39 00 01 */ addi r25, r25, 1 +/* 80343110 00340070 98 6C 00 00 */ stb r3, 0(r12) +/* 80343114 00340074 39 8C 00 01 */ addi r12, r12, 1 +/* 80343118 00340078 40 82 FF EC */ bne lbl_80343104 +/* 8034311C 0034007C 83 27 00 28 */ lwz r25, 0x28(r7) +lbl_80343120: +/* 80343120 00340080 88 79 00 00 */ lbz r3, 0(r25) +/* 80343124 00340084 37 BD FF FF */ addic. r29, r29, -1 +/* 80343128 00340088 3B 39 00 01 */ addi r25, r25, 1 +/* 8034312C 0034008C 98 6C 00 00 */ stb r3, 0(r12) +/* 80343130 00340090 39 8C 00 01 */ addi r12, r12, 1 +/* 80343134 00340094 40 82 FF EC */ bne lbl_80343120 +/* 80343138 00340098 48 00 01 B4 */ b lbl_803432EC +lbl_8034313C: +/* 8034313C 0034009C 57 1A 06 73 */ rlwinm. r26, r24, 0, 0x19, 0x19 +/* 80343140 003400A0 40 82 00 2C */ bne lbl_8034316C +/* 80343144 003400A4 57 1B 10 3A */ slwi r27, r24, 2 +/* 80343148 003400A8 83 43 00 04 */ lwz r26, 4(r3) +/* 8034314C 003400AC 7F 7C D8 2E */ lwzx r27, r28, r27 +/* 80343150 003400B0 57 5A 18 38 */ slwi r26, r26, 3 +/* 80343154 003400B4 7C 1B D8 38 */ and r27, r0, r27 +/* 80343158 003400B8 7C 63 D2 14 */ add r3, r3, r26 +/* 8034315C 003400BC 57 7B 18 38 */ slwi r27, r27, 3 +/* 80343160 003400C0 7C 63 DA 14 */ add r3, r3, r27 +/* 80343164 003400C4 8B 03 00 00 */ lbz r24, 0(r3) +/* 80343168 003400C8 4B FF FE 3C */ b lbl_80342FA4 +lbl_8034316C: +/* 8034316C 003400CC 3C 60 80 3D */ lis r3, lbl_803D7BA0@ha +/* 80343170 003400D0 55 24 E8 FE */ srwi r4, r9, 3 +/* 80343174 003400D4 38 63 7B A0 */ addi r3, r3, lbl_803D7BA0@l +/* 80343178 003400D8 90 68 00 18 */ stw r3, 0x18(r8) +/* 8034317C 003400DC 80 68 00 04 */ lwz r3, 4(r8) +/* 80343180 003400E0 7C AB 18 50 */ subf r5, r11, r3 +/* 80343184 003400E4 7C 04 28 40 */ cmplw r4, r5 +/* 80343188 003400E8 40 80 00 08 */ bge lbl_80343190 +/* 8034318C 003400EC 7C 85 23 78 */ mr r5, r4 +lbl_80343190: +/* 80343190 003400F0 54 A3 18 38 */ slwi r3, r5, 3 +/* 80343194 003400F4 90 07 00 20 */ stw r0, 0x20(r7) +/* 80343198 003400F8 7D 23 48 50 */ subf r9, r3, r9 +/* 8034319C 003400FC 7D 6B 2A 14 */ add r11, r11, r5 +/* 803431A0 00340100 91 27 00 1C */ stw r9, 0x1c(r7) +/* 803431A4 00340104 7D 45 50 50 */ subf r10, r5, r10 +/* 803431A8 00340108 38 60 FF FD */ li r3, -3 +/* 803431AC 0034010C 91 68 00 04 */ stw r11, 4(r8) +/* 803431B0 00340110 80 08 00 00 */ lwz r0, 0(r8) +/* 803431B4 00340114 80 88 00 08 */ lwz r4, 8(r8) +/* 803431B8 00340118 7C 00 50 50 */ subf r0, r0, r10 +/* 803431BC 0034011C 7C 04 02 14 */ add r0, r4, r0 +/* 803431C0 00340120 90 08 00 08 */ stw r0, 8(r8) +/* 803431C4 00340124 91 48 00 00 */ stw r10, 0(r8) +/* 803431C8 00340128 91 87 00 34 */ stw r12, 0x34(r7) +/* 803431CC 0034012C 48 00 01 84 */ b lbl_80343350 +lbl_803431D0: +/* 803431D0 00340130 57 1B 06 73 */ rlwinm. r27, r24, 0, 0x19, 0x19 +/* 803431D4 00340134 40 82 00 50 */ bne lbl_80343224 +/* 803431D8 00340138 57 1B 10 3A */ slwi r27, r24, 2 +/* 803431DC 0034013C 83 A3 00 04 */ lwz r29, 4(r3) +/* 803431E0 00340140 7F 7C D8 2E */ lwzx r27, r28, r27 +/* 803431E4 00340144 57 BD 18 38 */ slwi r29, r29, 3 +/* 803431E8 00340148 7C 1B D8 38 */ and r27, r0, r27 +/* 803431EC 0034014C 7C 63 EA 14 */ add r3, r3, r29 +/* 803431F0 00340150 57 7B 18 38 */ slwi r27, r27, 3 +/* 803431F4 00340154 7C 63 DA 14 */ add r3, r3, r27 +/* 803431F8 00340158 8B 03 00 00 */ lbz r24, 0(r3) +/* 803431FC 0034015C 28 18 00 00 */ cmplwi r24, 0 +/* 80343200 00340160 40 82 FC 80 */ bne lbl_80342E80 +/* 80343204 00340164 8B 03 00 01 */ lbz r24, 1(r3) +/* 80343208 00340168 38 84 FF FF */ addi r4, r4, -1 +/* 8034320C 0034016C 80 63 00 04 */ lwz r3, 4(r3) +/* 80343210 00340170 7C 00 C4 30 */ srw r0, r0, r24 +/* 80343214 00340174 7D 38 48 50 */ subf r9, r24, r9 +/* 80343218 00340178 98 6C 00 00 */ stb r3, 0(r12) +/* 8034321C 0034017C 39 8C 00 01 */ addi r12, r12, 1 +/* 80343220 00340180 48 00 00 CC */ b lbl_803432EC +lbl_80343224: +/* 80343224 00340184 57 03 06 B5 */ rlwinm. r3, r24, 0, 0x1a, 0x1a +/* 80343228 00340188 41 82 00 5C */ beq lbl_80343284 +/* 8034322C 0034018C 80 68 00 04 */ lwz r3, 4(r8) +/* 80343230 00340190 55 24 E8 FE */ srwi r4, r9, 3 +/* 80343234 00340194 7C AB 18 50 */ subf r5, r11, r3 +/* 80343238 00340198 7C 04 28 40 */ cmplw r4, r5 +/* 8034323C 0034019C 40 80 00 08 */ bge lbl_80343244 +/* 80343240 003401A0 7C 85 23 78 */ mr r5, r4 +lbl_80343244: +/* 80343244 003401A4 54 A3 18 38 */ slwi r3, r5, 3 +/* 80343248 003401A8 90 07 00 20 */ stw r0, 0x20(r7) +/* 8034324C 003401AC 7D 23 48 50 */ subf r9, r3, r9 +/* 80343250 003401B0 7D 6B 2A 14 */ add r11, r11, r5 +/* 80343254 003401B4 91 27 00 1C */ stw r9, 0x1c(r7) +/* 80343258 003401B8 7D 45 50 50 */ subf r10, r5, r10 +/* 8034325C 003401BC 38 60 00 01 */ li r3, 1 +/* 80343260 003401C0 91 68 00 04 */ stw r11, 4(r8) +/* 80343264 003401C4 80 08 00 00 */ lwz r0, 0(r8) +/* 80343268 003401C8 80 88 00 08 */ lwz r4, 8(r8) +/* 8034326C 003401CC 7C 00 50 50 */ subf r0, r0, r10 +/* 80343270 003401D0 7C 04 02 14 */ add r0, r4, r0 +/* 80343274 003401D4 90 08 00 08 */ stw r0, 8(r8) +/* 80343278 003401D8 91 48 00 00 */ stw r10, 0(r8) +/* 8034327C 003401DC 91 87 00 34 */ stw r12, 0x34(r7) +/* 80343280 003401E0 48 00 00 D0 */ b lbl_80343350 +lbl_80343284: +/* 80343284 003401E4 3C 60 80 3D */ lis r3, lbl_803D7BA0@ha +/* 80343288 003401E8 55 24 E8 FE */ srwi r4, r9, 3 +/* 8034328C 003401EC 38 63 7B A0 */ addi r3, r3, lbl_803D7BA0@l +/* 80343290 003401F0 38 63 00 16 */ addi r3, r3, 0x16 +/* 80343294 003401F4 90 68 00 18 */ stw r3, 0x18(r8) +/* 80343298 003401F8 80 68 00 04 */ lwz r3, 4(r8) +/* 8034329C 003401FC 7C AB 18 50 */ subf r5, r11, r3 +/* 803432A0 00340200 7C 04 28 40 */ cmplw r4, r5 +/* 803432A4 00340204 40 80 00 08 */ bge lbl_803432AC +/* 803432A8 00340208 7C 85 23 78 */ mr r5, r4 +lbl_803432AC: +/* 803432AC 0034020C 54 A3 18 38 */ slwi r3, r5, 3 +/* 803432B0 00340210 90 07 00 20 */ stw r0, 0x20(r7) +/* 803432B4 00340214 7D 23 48 50 */ subf r9, r3, r9 +/* 803432B8 00340218 7D 6B 2A 14 */ add r11, r11, r5 +/* 803432BC 0034021C 91 27 00 1C */ stw r9, 0x1c(r7) +/* 803432C0 00340220 7D 45 50 50 */ subf r10, r5, r10 +/* 803432C4 00340224 38 60 FF FD */ li r3, -3 +/* 803432C8 00340228 91 68 00 04 */ stw r11, 4(r8) +/* 803432CC 0034022C 80 08 00 00 */ lwz r0, 0(r8) +/* 803432D0 00340230 80 88 00 08 */ lwz r4, 8(r8) +/* 803432D4 00340234 7C 00 50 50 */ subf r0, r0, r10 +/* 803432D8 00340238 7C 04 02 14 */ add r0, r4, r0 +/* 803432DC 0034023C 90 08 00 08 */ stw r0, 8(r8) +/* 803432E0 00340240 91 48 00 00 */ stw r10, 0(r8) +/* 803432E4 00340244 91 87 00 34 */ stw r12, 0x34(r7) +/* 803432E8 00340248 48 00 00 68 */ b lbl_80343350 +lbl_803432EC: +/* 803432EC 0034024C 28 04 01 02 */ cmplwi r4, 0x102 +/* 803432F0 00340250 41 80 00 0C */ blt lbl_803432FC +/* 803432F4 00340254 28 0B 00 0A */ cmplwi r11, 0xa +/* 803432F8 00340258 40 80 FB 40 */ bge lbl_80342E38 +lbl_803432FC: +/* 803432FC 0034025C 80 68 00 04 */ lwz r3, 4(r8) +/* 80343300 00340260 55 24 E8 FE */ srwi r4, r9, 3 +/* 80343304 00340264 7C AB 18 50 */ subf r5, r11, r3 +/* 80343308 00340268 7C 04 28 40 */ cmplw r4, r5 +/* 8034330C 0034026C 40 80 00 08 */ bge lbl_80343314 +/* 80343310 00340270 7C 85 23 78 */ mr r5, r4 +lbl_80343314: +/* 80343314 00340274 54 A3 18 38 */ slwi r3, r5, 3 +/* 80343318 00340278 90 07 00 20 */ stw r0, 0x20(r7) +/* 8034331C 0034027C 7D 23 48 50 */ subf r9, r3, r9 +/* 80343320 00340280 7D 6B 2A 14 */ add r11, r11, r5 +/* 80343324 00340284 91 27 00 1C */ stw r9, 0x1c(r7) +/* 80343328 00340288 7D 45 50 50 */ subf r10, r5, r10 +/* 8034332C 0034028C 38 60 00 00 */ li r3, 0 +/* 80343330 00340290 91 68 00 04 */ stw r11, 4(r8) +/* 80343334 00340294 80 08 00 00 */ lwz r0, 0(r8) +/* 80343338 00340298 80 88 00 08 */ lwz r4, 8(r8) +/* 8034333C 0034029C 7C 00 50 50 */ subf r0, r0, r10 +/* 80343340 003402A0 7C 04 02 14 */ add r0, r4, r0 +/* 80343344 003402A4 90 08 00 08 */ stw r0, 8(r8) +/* 80343348 003402A8 91 48 00 00 */ stw r10, 0(r8) +/* 8034334C 003402AC 91 87 00 34 */ stw r12, 0x34(r7) +lbl_80343350: +/* 80343350 003402B0 BB 01 00 10 */ lmw r24, 0x10(r1) +/* 80343354 003402B4 38 21 00 30 */ addi r1, r1, 0x30 +/* 80343358 003402B8 4E 80 00 20 */ blr diff --git a/asm/Kyoto/zlib/inflate.s b/asm/Kyoto/zlib/inflate.s new file mode 100644 index 00000000..43e43f57 --- /dev/null +++ b/asm/Kyoto/zlib/inflate.s @@ -0,0 +1,590 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global inflate +inflate: +/* 8034335C 003402BC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80343360 003402C0 7C 08 02 A6 */ mflr r0 +/* 80343364 003402C4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80343368 003402C8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8034336C 003402CC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80343370 003402D0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80343374 003402D4 93 81 00 10 */ stw r28, 0x10(r1) +/* 80343378 003402D8 7C 7C 1B 79 */ or. r28, r3, r3 +/* 8034337C 003402DC 41 82 00 1C */ beq lbl_80343398 +/* 80343380 003402E0 80 1C 00 1C */ lwz r0, 0x1c(r28) +/* 80343384 003402E4 28 00 00 00 */ cmplwi r0, 0 +/* 80343388 003402E8 41 82 00 10 */ beq lbl_80343398 +/* 8034338C 003402EC 80 1C 00 00 */ lwz r0, 0(r28) +/* 80343390 003402F0 28 00 00 00 */ cmplwi r0, 0 +/* 80343394 003402F4 40 82 00 0C */ bne lbl_803433A0 +lbl_80343398: +/* 80343398 003402F8 38 60 FF FE */ li r3, -2 +/* 8034339C 003402FC 48 00 05 A4 */ b lbl_80343940 +lbl_803433A0: +/* 803433A0 00340300 38 64 FF FC */ addi r3, r4, -4 +/* 803433A4 00340304 20 04 00 04 */ subfic r0, r4, 4 +/* 803433A8 00340308 7C 60 00 F8 */ nor r0, r3, r0 +/* 803433AC 0034030C 3C 60 80 3F */ lis r3, lbl_803EE490@ha +/* 803433B0 00340310 7C 04 FE 70 */ srawi r4, r0, 0x1f +/* 803433B4 00340314 38 00 FF FB */ li r0, -5 +/* 803433B8 00340318 7C 1E 20 38 */ and r30, r0, r4 +/* 803433BC 0034031C 3B E3 E4 90 */ addi r31, r3, lbl_803EE490@l +/* 803433C0 00340320 3B A0 FF FB */ li r29, -5 +lbl_803433C4: +/* 803433C4 00340324 80 9C 00 1C */ lwz r4, 0x1c(r28) +/* 803433C8 00340328 80 04 00 00 */ lwz r0, 0(r4) +/* 803433CC 0034032C 28 00 00 0D */ cmplwi r0, 0xd +/* 803433D0 00340330 41 81 05 6C */ bgt lbl_8034393C +/* 803433D4 00340334 54 00 10 3A */ slwi r0, r0, 2 +/* 803433D8 00340338 7C 1F 00 2E */ lwzx r0, r31, r0 +/* 803433DC 0034033C 7C 09 03 A6 */ mtctr r0 +/* 803433E0 00340340 4E 80 04 20 */ bctr +/* 803433E4 00340344 80 7C 00 04 */ lwz r3, 4(r28) +/* 803433E8 00340348 28 03 00 00 */ cmplwi r3, 0 +/* 803433EC 0034034C 40 82 00 0C */ bne lbl_803433F8 +/* 803433F0 00340350 7F A3 EB 78 */ mr r3, r29 +/* 803433F4 00340354 48 00 05 4C */ b lbl_80343940 +lbl_803433F8: +/* 803433F8 00340358 38 03 FF FF */ addi r0, r3, -1 +/* 803433FC 0034035C 7F DD F3 78 */ mr r29, r30 +/* 80343400 00340360 90 1C 00 04 */ stw r0, 4(r28) +/* 80343404 00340364 80 7C 00 08 */ lwz r3, 8(r28) +/* 80343408 00340368 38 03 00 01 */ addi r0, r3, 1 +/* 8034340C 0034036C 90 1C 00 08 */ stw r0, 8(r28) +/* 80343410 00340370 80 7C 00 00 */ lwz r3, 0(r28) +/* 80343414 00340374 38 03 00 01 */ addi r0, r3, 1 +/* 80343418 00340378 90 1C 00 00 */ stw r0, 0(r28) +/* 8034341C 0034037C 88 83 00 00 */ lbz r4, 0(r3) +/* 80343420 00340380 80 7C 00 1C */ lwz r3, 0x1c(r28) +/* 80343424 00340384 54 80 07 3E */ clrlwi r0, r4, 0x1c +/* 80343428 00340388 28 00 00 08 */ cmplwi r0, 8 +/* 8034342C 0034038C 90 83 00 04 */ stw r4, 4(r3) +/* 80343430 00340390 41 82 00 2C */ beq lbl_8034345C +/* 80343434 00340394 80 9C 00 1C */ lwz r4, 0x1c(r28) +/* 80343438 00340398 38 A0 00 0D */ li r5, 0xd +/* 8034343C 0034039C 3C 60 80 3D */ lis r3, lbl_803D7BD8@ha +/* 80343440 003403A0 38 00 00 05 */ li r0, 5 +/* 80343444 003403A4 90 A4 00 00 */ stw r5, 0(r4) +/* 80343448 003403A8 38 63 7B D8 */ addi r3, r3, lbl_803D7BD8@l +/* 8034344C 003403AC 90 7C 00 18 */ stw r3, 0x18(r28) +/* 80343450 003403B0 80 7C 00 1C */ lwz r3, 0x1c(r28) +/* 80343454 003403B4 90 03 00 04 */ stw r0, 4(r3) +/* 80343458 003403B8 4B FF FF 6C */ b lbl_803433C4 +lbl_8034345C: +/* 8034345C 003403BC 80 9C 00 1C */ lwz r4, 0x1c(r28) +/* 80343460 003403C0 80 64 00 04 */ lwz r3, 4(r4) +/* 80343464 003403C4 80 04 00 10 */ lwz r0, 0x10(r4) +/* 80343468 003403C8 54 63 E1 3E */ srwi r3, r3, 4 +/* 8034346C 003403CC 38 63 00 08 */ addi r3, r3, 8 +/* 80343470 003403D0 7C 03 00 40 */ cmplw r3, r0 +/* 80343474 003403D4 40 81 00 2C */ ble lbl_803434A0 +/* 80343478 003403D8 38 00 00 0D */ li r0, 0xd +/* 8034347C 003403DC 3C 60 80 3D */ lis r3, lbl_803D7BD8@ha +/* 80343480 003403E0 38 63 7B D8 */ addi r3, r3, lbl_803D7BD8@l +/* 80343484 003403E4 90 04 00 00 */ stw r0, 0(r4) +/* 80343488 003403E8 38 63 00 1B */ addi r3, r3, 0x1b +/* 8034348C 003403EC 38 00 00 05 */ li r0, 5 +/* 80343490 003403F0 90 7C 00 18 */ stw r3, 0x18(r28) +/* 80343494 003403F4 80 7C 00 1C */ lwz r3, 0x1c(r28) +/* 80343498 003403F8 90 03 00 04 */ stw r0, 4(r3) +/* 8034349C 003403FC 4B FF FF 28 */ b lbl_803433C4 +lbl_803434A0: +/* 803434A0 00340400 38 00 00 01 */ li r0, 1 +/* 803434A4 00340404 90 04 00 00 */ stw r0, 0(r4) +/* 803434A8 00340408 80 7C 00 04 */ lwz r3, 4(r28) +/* 803434AC 0034040C 28 03 00 00 */ cmplwi r3, 0 +/* 803434B0 00340410 40 82 00 0C */ bne lbl_803434BC +/* 803434B4 00340414 7F A3 EB 78 */ mr r3, r29 +/* 803434B8 00340418 48 00 04 88 */ b lbl_80343940 +lbl_803434BC: +/* 803434BC 0034041C 38 03 FF FF */ addi r0, r3, -1 +/* 803434C0 00340420 3C 60 08 42 */ lis r3, 0x08421085@ha +/* 803434C4 00340424 90 1C 00 04 */ stw r0, 4(r28) +/* 803434C8 00340428 38 03 10 85 */ addi r0, r3, 0x08421085@l +/* 803434CC 0034042C 7F DD F3 78 */ mr r29, r30 +/* 803434D0 00340430 80 7C 00 08 */ lwz r3, 8(r28) +/* 803434D4 00340434 38 63 00 01 */ addi r3, r3, 1 +/* 803434D8 00340438 90 7C 00 08 */ stw r3, 8(r28) +/* 803434DC 0034043C 80 9C 00 00 */ lwz r4, 0(r28) +/* 803434E0 00340440 38 64 00 01 */ addi r3, r4, 1 +/* 803434E4 00340444 90 7C 00 00 */ stw r3, 0(r28) +/* 803434E8 00340448 80 BC 00 1C */ lwz r5, 0x1c(r28) +/* 803434EC 0034044C 88 C4 00 00 */ lbz r6, 0(r4) +/* 803434F0 00340450 80 65 00 04 */ lwz r3, 4(r5) +/* 803434F4 00340454 54 63 40 2E */ slwi r3, r3, 8 +/* 803434F8 00340458 7C 83 32 14 */ add r4, r3, r6 +/* 803434FC 0034045C 7C 60 20 16 */ mulhwu r3, r0, r4 +/* 80343500 00340460 7C 03 20 50 */ subf r0, r3, r4 +/* 80343504 00340464 54 00 F8 7E */ srwi r0, r0, 1 +/* 80343508 00340468 7C 00 1A 14 */ add r0, r0, r3 +/* 8034350C 0034046C 54 00 E1 3E */ srwi r0, r0, 4 +/* 80343510 00340470 1C 00 00 1F */ mulli r0, r0, 0x1f +/* 80343514 00340474 7C 00 20 51 */ subf. r0, r0, r4 +/* 80343518 00340478 41 82 00 2C */ beq lbl_80343544 +/* 8034351C 0034047C 38 00 00 0D */ li r0, 0xd +/* 80343520 00340480 3C 60 80 3D */ lis r3, lbl_803D7BD8@ha +/* 80343524 00340484 38 63 7B D8 */ addi r3, r3, lbl_803D7BD8@l +/* 80343528 00340488 90 05 00 00 */ stw r0, 0(r5) +/* 8034352C 0034048C 38 63 00 2F */ addi r3, r3, 0x2f +/* 80343530 00340490 38 00 00 05 */ li r0, 5 +/* 80343534 00340494 90 7C 00 18 */ stw r3, 0x18(r28) +/* 80343538 00340498 80 7C 00 1C */ lwz r3, 0x1c(r28) +/* 8034353C 0034049C 90 03 00 04 */ stw r0, 4(r3) +/* 80343540 003404A0 4B FF FE 84 */ b lbl_803433C4 +lbl_80343544: +/* 80343544 003404A4 54 C0 06 B5 */ rlwinm. r0, r6, 0, 0x1a, 0x1a +/* 80343548 003404A8 40 82 00 10 */ bne lbl_80343558 +/* 8034354C 003404AC 38 00 00 07 */ li r0, 7 +/* 80343550 003404B0 90 05 00 00 */ stw r0, 0(r5) +/* 80343554 003404B4 4B FF FE 70 */ b lbl_803433C4 +lbl_80343558: +/* 80343558 003404B8 38 00 00 02 */ li r0, 2 +/* 8034355C 003404BC 90 05 00 00 */ stw r0, 0(r5) +/* 80343560 003404C0 80 7C 00 04 */ lwz r3, 4(r28) +/* 80343564 003404C4 28 03 00 00 */ cmplwi r3, 0 +/* 80343568 003404C8 40 82 00 0C */ bne lbl_80343574 +/* 8034356C 003404CC 7F A3 EB 78 */ mr r3, r29 +/* 80343570 003404D0 48 00 03 D0 */ b lbl_80343940 +lbl_80343574: +/* 80343574 003404D4 38 63 FF FF */ addi r3, r3, -1 +/* 80343578 003404D8 38 00 00 03 */ li r0, 3 +/* 8034357C 003404DC 90 7C 00 04 */ stw r3, 4(r28) +/* 80343580 003404E0 7F DD F3 78 */ mr r29, r30 +/* 80343584 003404E4 80 7C 00 08 */ lwz r3, 8(r28) +/* 80343588 003404E8 38 63 00 01 */ addi r3, r3, 1 +/* 8034358C 003404EC 90 7C 00 08 */ stw r3, 8(r28) +/* 80343590 003404F0 80 9C 00 00 */ lwz r4, 0(r28) +/* 80343594 003404F4 38 64 00 01 */ addi r3, r4, 1 +/* 80343598 003404F8 90 7C 00 00 */ stw r3, 0(r28) +/* 8034359C 003404FC 88 84 00 00 */ lbz r4, 0(r4) +/* 803435A0 00340500 80 7C 00 1C */ lwz r3, 0x1c(r28) +/* 803435A4 00340504 54 84 C0 0E */ slwi r4, r4, 0x18 +/* 803435A8 00340508 90 83 00 08 */ stw r4, 8(r3) +/* 803435AC 0034050C 80 7C 00 1C */ lwz r3, 0x1c(r28) +/* 803435B0 00340510 90 03 00 00 */ stw r0, 0(r3) +/* 803435B4 00340514 80 7C 00 04 */ lwz r3, 4(r28) +/* 803435B8 00340518 28 03 00 00 */ cmplwi r3, 0 +/* 803435BC 0034051C 40 82 00 0C */ bne lbl_803435C8 +/* 803435C0 00340520 7F A3 EB 78 */ mr r3, r29 +/* 803435C4 00340524 48 00 03 7C */ b lbl_80343940 +lbl_803435C8: +/* 803435C8 00340528 38 63 FF FF */ addi r3, r3, -1 +/* 803435CC 0034052C 38 00 00 04 */ li r0, 4 +/* 803435D0 00340530 90 7C 00 04 */ stw r3, 4(r28) +/* 803435D4 00340534 7F DD F3 78 */ mr r29, r30 +/* 803435D8 00340538 80 7C 00 08 */ lwz r3, 8(r28) +/* 803435DC 0034053C 38 63 00 01 */ addi r3, r3, 1 +/* 803435E0 00340540 90 7C 00 08 */ stw r3, 8(r28) +/* 803435E4 00340544 80 9C 00 00 */ lwz r4, 0(r28) +/* 803435E8 00340548 38 64 00 01 */ addi r3, r4, 1 +/* 803435EC 0034054C 90 7C 00 00 */ stw r3, 0(r28) +/* 803435F0 00340550 80 BC 00 1C */ lwz r5, 0x1c(r28) +/* 803435F4 00340554 88 64 00 00 */ lbz r3, 0(r4) +/* 803435F8 00340558 80 85 00 08 */ lwz r4, 8(r5) +/* 803435FC 0034055C 54 63 80 1E */ slwi r3, r3, 0x10 +/* 80343600 00340560 7C 64 1A 14 */ add r3, r4, r3 +/* 80343604 00340564 90 65 00 08 */ stw r3, 8(r5) +/* 80343608 00340568 80 7C 00 1C */ lwz r3, 0x1c(r28) +/* 8034360C 0034056C 90 03 00 00 */ stw r0, 0(r3) +/* 80343610 00340570 80 7C 00 04 */ lwz r3, 4(r28) +/* 80343614 00340574 28 03 00 00 */ cmplwi r3, 0 +/* 80343618 00340578 40 82 00 0C */ bne lbl_80343624 +/* 8034361C 0034057C 7F A3 EB 78 */ mr r3, r29 +/* 80343620 00340580 48 00 03 20 */ b lbl_80343940 +lbl_80343624: +/* 80343624 00340584 38 63 FF FF */ addi r3, r3, -1 +/* 80343628 00340588 38 00 00 05 */ li r0, 5 +/* 8034362C 0034058C 90 7C 00 04 */ stw r3, 4(r28) +/* 80343630 00340590 7F DD F3 78 */ mr r29, r30 +/* 80343634 00340594 80 7C 00 08 */ lwz r3, 8(r28) +/* 80343638 00340598 38 63 00 01 */ addi r3, r3, 1 +/* 8034363C 0034059C 90 7C 00 08 */ stw r3, 8(r28) +/* 80343640 003405A0 80 9C 00 00 */ lwz r4, 0(r28) +/* 80343644 003405A4 38 64 00 01 */ addi r3, r4, 1 +/* 80343648 003405A8 90 7C 00 00 */ stw r3, 0(r28) +/* 8034364C 003405AC 80 BC 00 1C */ lwz r5, 0x1c(r28) +/* 80343650 003405B0 88 64 00 00 */ lbz r3, 0(r4) +/* 80343654 003405B4 80 85 00 08 */ lwz r4, 8(r5) +/* 80343658 003405B8 54 63 40 2E */ slwi r3, r3, 8 +/* 8034365C 003405BC 7C 64 1A 14 */ add r3, r4, r3 +/* 80343660 003405C0 90 65 00 08 */ stw r3, 8(r5) +/* 80343664 003405C4 80 7C 00 1C */ lwz r3, 0x1c(r28) +/* 80343668 003405C8 90 03 00 00 */ stw r0, 0(r3) +/* 8034366C 003405CC 80 7C 00 04 */ lwz r3, 4(r28) +/* 80343670 003405D0 28 03 00 00 */ cmplwi r3, 0 +/* 80343674 003405D4 40 82 00 0C */ bne lbl_80343680 +/* 80343678 003405D8 7F A3 EB 78 */ mr r3, r29 +/* 8034367C 003405DC 48 00 02 C4 */ b lbl_80343940 +lbl_80343680: +/* 80343680 003405E0 38 63 FF FF */ addi r3, r3, -1 +/* 80343684 003405E4 38 00 00 06 */ li r0, 6 +/* 80343688 003405E8 90 7C 00 04 */ stw r3, 4(r28) +/* 8034368C 003405EC 38 60 00 02 */ li r3, 2 +/* 80343690 003405F0 80 9C 00 08 */ lwz r4, 8(r28) +/* 80343694 003405F4 38 84 00 01 */ addi r4, r4, 1 +/* 80343698 003405F8 90 9C 00 08 */ stw r4, 8(r28) +/* 8034369C 003405FC 80 BC 00 00 */ lwz r5, 0(r28) +/* 803436A0 00340600 38 85 00 01 */ addi r4, r5, 1 +/* 803436A4 00340604 90 9C 00 00 */ stw r4, 0(r28) +/* 803436A8 00340608 80 DC 00 1C */ lwz r6, 0x1c(r28) +/* 803436AC 0034060C 88 85 00 00 */ lbz r4, 0(r5) +/* 803436B0 00340610 80 A6 00 08 */ lwz r5, 8(r6) +/* 803436B4 00340614 7C 85 22 14 */ add r4, r5, r4 +/* 803436B8 00340618 90 86 00 08 */ stw r4, 8(r6) +/* 803436BC 0034061C 80 9C 00 1C */ lwz r4, 0x1c(r28) +/* 803436C0 00340620 80 84 00 08 */ lwz r4, 8(r4) +/* 803436C4 00340624 90 9C 00 30 */ stw r4, 0x30(r28) +/* 803436C8 00340628 80 9C 00 1C */ lwz r4, 0x1c(r28) +/* 803436CC 0034062C 90 04 00 00 */ stw r0, 0(r4) +/* 803436D0 00340630 48 00 02 70 */ b lbl_80343940 +/* 803436D4 00340634 38 00 00 0D */ li r0, 0xd +/* 803436D8 00340638 3C 60 80 3D */ lis r3, lbl_803D7BD8@ha +/* 803436DC 0034063C 38 63 7B D8 */ addi r3, r3, lbl_803D7BD8@l +/* 803436E0 00340640 90 04 00 00 */ stw r0, 0(r4) +/* 803436E4 00340644 38 63 00 46 */ addi r3, r3, 0x46 +/* 803436E8 00340648 38 00 00 00 */ li r0, 0 +/* 803436EC 0034064C 90 7C 00 18 */ stw r3, 0x18(r28) +/* 803436F0 00340650 38 60 FF FE */ li r3, -2 +/* 803436F4 00340654 80 9C 00 1C */ lwz r4, 0x1c(r28) +/* 803436F8 00340658 90 04 00 04 */ stw r0, 4(r4) +/* 803436FC 0034065C 48 00 02 44 */ b lbl_80343940 +/* 80343700 00340660 80 64 00 14 */ lwz r3, 0x14(r4) +/* 80343704 00340664 7F 84 E3 78 */ mr r4, r28 +/* 80343708 00340668 7F A5 EB 78 */ mr r5, r29 +/* 8034370C 0034066C 4B FF DC 91 */ bl inflate_blocks +/* 80343710 00340670 7C 7D 1B 78 */ mr r29, r3 +/* 80343714 00340674 2C 1D FF FD */ cmpwi r29, -3 +/* 80343718 00340678 40 82 00 20 */ bne lbl_80343738 +/* 8034371C 0034067C 80 7C 00 1C */ lwz r3, 0x1c(r28) +/* 80343720 00340680 38 80 00 0D */ li r4, 0xd +/* 80343724 00340684 38 00 00 00 */ li r0, 0 +/* 80343728 00340688 90 83 00 00 */ stw r4, 0(r3) +/* 8034372C 0034068C 80 7C 00 1C */ lwz r3, 0x1c(r28) +/* 80343730 00340690 90 03 00 04 */ stw r0, 4(r3) +/* 80343734 00340694 4B FF FC 90 */ b lbl_803433C4 +lbl_80343738: +/* 80343738 00340698 2C 1D 00 00 */ cmpwi r29, 0 +/* 8034373C 0034069C 40 82 00 08 */ bne lbl_80343744 +/* 80343740 003406A0 7F DD F3 78 */ mr r29, r30 +lbl_80343744: +/* 80343744 003406A4 2C 1D 00 01 */ cmpwi r29, 1 +/* 80343748 003406A8 41 82 00 0C */ beq lbl_80343754 +/* 8034374C 003406AC 7F A3 EB 78 */ mr r3, r29 +/* 80343750 003406B0 48 00 01 F0 */ b lbl_80343940 +lbl_80343754: +/* 80343754 003406B4 80 BC 00 1C */ lwz r5, 0x1c(r28) +/* 80343758 003406B8 7F DD F3 78 */ mr r29, r30 +/* 8034375C 003406BC 7F 84 E3 78 */ mr r4, r28 +/* 80343760 003406C0 80 65 00 14 */ lwz r3, 0x14(r5) +/* 80343764 003406C4 38 A5 00 04 */ addi r5, r5, 4 +/* 80343768 003406C8 4B FF EB A5 */ bl inflate_blocks_reset +/* 8034376C 003406CC 80 7C 00 1C */ lwz r3, 0x1c(r28) +/* 80343770 003406D0 80 03 00 0C */ lwz r0, 0xc(r3) +/* 80343774 003406D4 2C 00 00 00 */ cmpwi r0, 0 +/* 80343778 003406D8 41 82 00 10 */ beq lbl_80343788 +/* 8034377C 003406DC 38 00 00 0C */ li r0, 0xc +/* 80343780 003406E0 90 03 00 00 */ stw r0, 0(r3) +/* 80343784 003406E4 4B FF FC 40 */ b lbl_803433C4 +lbl_80343788: +/* 80343788 003406E8 38 00 00 08 */ li r0, 8 +/* 8034378C 003406EC 90 03 00 00 */ stw r0, 0(r3) +/* 80343790 003406F0 80 7C 00 04 */ lwz r3, 4(r28) +/* 80343794 003406F4 28 03 00 00 */ cmplwi r3, 0 +/* 80343798 003406F8 40 82 00 0C */ bne lbl_803437A4 +/* 8034379C 003406FC 7F A3 EB 78 */ mr r3, r29 +/* 803437A0 00340700 48 00 01 A0 */ b lbl_80343940 +lbl_803437A4: +/* 803437A4 00340704 38 63 FF FF */ addi r3, r3, -1 +/* 803437A8 00340708 38 00 00 09 */ li r0, 9 +/* 803437AC 0034070C 90 7C 00 04 */ stw r3, 4(r28) +/* 803437B0 00340710 7F DD F3 78 */ mr r29, r30 +/* 803437B4 00340714 80 7C 00 08 */ lwz r3, 8(r28) +/* 803437B8 00340718 38 63 00 01 */ addi r3, r3, 1 +/* 803437BC 0034071C 90 7C 00 08 */ stw r3, 8(r28) +/* 803437C0 00340720 80 9C 00 00 */ lwz r4, 0(r28) +/* 803437C4 00340724 38 64 00 01 */ addi r3, r4, 1 +/* 803437C8 00340728 90 7C 00 00 */ stw r3, 0(r28) +/* 803437CC 0034072C 88 84 00 00 */ lbz r4, 0(r4) +/* 803437D0 00340730 80 7C 00 1C */ lwz r3, 0x1c(r28) +/* 803437D4 00340734 54 84 C0 0E */ slwi r4, r4, 0x18 +/* 803437D8 00340738 90 83 00 08 */ stw r4, 8(r3) +/* 803437DC 0034073C 80 7C 00 1C */ lwz r3, 0x1c(r28) +/* 803437E0 00340740 90 03 00 00 */ stw r0, 0(r3) +/* 803437E4 00340744 80 7C 00 04 */ lwz r3, 4(r28) +/* 803437E8 00340748 28 03 00 00 */ cmplwi r3, 0 +/* 803437EC 0034074C 40 82 00 0C */ bne lbl_803437F8 +/* 803437F0 00340750 7F A3 EB 78 */ mr r3, r29 +/* 803437F4 00340754 48 00 01 4C */ b lbl_80343940 +lbl_803437F8: +/* 803437F8 00340758 38 63 FF FF */ addi r3, r3, -1 +/* 803437FC 0034075C 38 00 00 0A */ li r0, 0xa +/* 80343800 00340760 90 7C 00 04 */ stw r3, 4(r28) +/* 80343804 00340764 7F DD F3 78 */ mr r29, r30 +/* 80343808 00340768 80 7C 00 08 */ lwz r3, 8(r28) +/* 8034380C 0034076C 38 63 00 01 */ addi r3, r3, 1 +/* 80343810 00340770 90 7C 00 08 */ stw r3, 8(r28) +/* 80343814 00340774 80 9C 00 00 */ lwz r4, 0(r28) +/* 80343818 00340778 38 64 00 01 */ addi r3, r4, 1 +/* 8034381C 0034077C 90 7C 00 00 */ stw r3, 0(r28) +/* 80343820 00340780 80 BC 00 1C */ lwz r5, 0x1c(r28) +/* 80343824 00340784 88 64 00 00 */ lbz r3, 0(r4) +/* 80343828 00340788 80 85 00 08 */ lwz r4, 8(r5) +/* 8034382C 0034078C 54 63 80 1E */ slwi r3, r3, 0x10 +/* 80343830 00340790 7C 64 1A 14 */ add r3, r4, r3 +/* 80343834 00340794 90 65 00 08 */ stw r3, 8(r5) +/* 80343838 00340798 80 7C 00 1C */ lwz r3, 0x1c(r28) +/* 8034383C 0034079C 90 03 00 00 */ stw r0, 0(r3) +/* 80343840 003407A0 80 7C 00 04 */ lwz r3, 4(r28) +/* 80343844 003407A4 28 03 00 00 */ cmplwi r3, 0 +/* 80343848 003407A8 40 82 00 0C */ bne lbl_80343854 +/* 8034384C 003407AC 7F A3 EB 78 */ mr r3, r29 +/* 80343850 003407B0 48 00 00 F0 */ b lbl_80343940 +lbl_80343854: +/* 80343854 003407B4 38 63 FF FF */ addi r3, r3, -1 +/* 80343858 003407B8 38 00 00 0B */ li r0, 0xb +/* 8034385C 003407BC 90 7C 00 04 */ stw r3, 4(r28) +/* 80343860 003407C0 7F DD F3 78 */ mr r29, r30 +/* 80343864 003407C4 80 7C 00 08 */ lwz r3, 8(r28) +/* 80343868 003407C8 38 63 00 01 */ addi r3, r3, 1 +/* 8034386C 003407CC 90 7C 00 08 */ stw r3, 8(r28) +/* 80343870 003407D0 80 9C 00 00 */ lwz r4, 0(r28) +/* 80343874 003407D4 38 64 00 01 */ addi r3, r4, 1 +/* 80343878 003407D8 90 7C 00 00 */ stw r3, 0(r28) +/* 8034387C 003407DC 80 BC 00 1C */ lwz r5, 0x1c(r28) +/* 80343880 003407E0 88 64 00 00 */ lbz r3, 0(r4) +/* 80343884 003407E4 80 85 00 08 */ lwz r4, 8(r5) +/* 80343888 003407E8 54 63 40 2E */ slwi r3, r3, 8 +/* 8034388C 003407EC 7C 64 1A 14 */ add r3, r4, r3 +/* 80343890 003407F0 90 65 00 08 */ stw r3, 8(r5) +/* 80343894 003407F4 80 7C 00 1C */ lwz r3, 0x1c(r28) +/* 80343898 003407F8 90 03 00 00 */ stw r0, 0(r3) +/* 8034389C 003407FC 80 7C 00 04 */ lwz r3, 4(r28) +/* 803438A0 00340800 28 03 00 00 */ cmplwi r3, 0 +/* 803438A4 00340804 40 82 00 0C */ bne lbl_803438B0 +/* 803438A8 00340808 7F A3 EB 78 */ mr r3, r29 +/* 803438AC 0034080C 48 00 00 94 */ b lbl_80343940 +lbl_803438B0: +/* 803438B0 00340810 38 03 FF FF */ addi r0, r3, -1 +/* 803438B4 00340814 7F DD F3 78 */ mr r29, r30 +/* 803438B8 00340818 90 1C 00 04 */ stw r0, 4(r28) +/* 803438BC 0034081C 80 7C 00 08 */ lwz r3, 8(r28) +/* 803438C0 00340820 38 03 00 01 */ addi r0, r3, 1 +/* 803438C4 00340824 90 1C 00 08 */ stw r0, 8(r28) +/* 803438C8 00340828 80 7C 00 00 */ lwz r3, 0(r28) +/* 803438CC 0034082C 38 03 00 01 */ addi r0, r3, 1 +/* 803438D0 00340830 90 1C 00 00 */ stw r0, 0(r28) +/* 803438D4 00340834 80 9C 00 1C */ lwz r4, 0x1c(r28) +/* 803438D8 00340838 88 03 00 00 */ lbz r0, 0(r3) +/* 803438DC 0034083C 80 64 00 08 */ lwz r3, 8(r4) +/* 803438E0 00340840 7C 03 02 14 */ add r0, r3, r0 +/* 803438E4 00340844 90 04 00 08 */ stw r0, 8(r4) +/* 803438E8 00340848 80 9C 00 1C */ lwz r4, 0x1c(r28) +/* 803438EC 0034084C 80 64 00 04 */ lwz r3, 4(r4) +/* 803438F0 00340850 80 04 00 08 */ lwz r0, 8(r4) +/* 803438F4 00340854 7C 03 00 40 */ cmplw r3, r0 +/* 803438F8 00340858 41 82 00 2C */ beq lbl_80343924 +/* 803438FC 0034085C 38 00 00 0D */ li r0, 0xd +/* 80343900 00340860 3C 60 80 3D */ lis r3, lbl_803D7BD8@ha +/* 80343904 00340864 38 63 7B D8 */ addi r3, r3, lbl_803D7BD8@l +/* 80343908 00340868 90 04 00 00 */ stw r0, 0(r4) +/* 8034390C 0034086C 38 63 00 56 */ addi r3, r3, 0x56 +/* 80343910 00340870 38 00 00 05 */ li r0, 5 +/* 80343914 00340874 90 7C 00 18 */ stw r3, 0x18(r28) +/* 80343918 00340878 80 7C 00 1C */ lwz r3, 0x1c(r28) +/* 8034391C 0034087C 90 03 00 04 */ stw r0, 4(r3) +/* 80343920 00340880 4B FF FA A4 */ b lbl_803433C4 +lbl_80343924: +/* 80343924 00340884 38 00 00 0C */ li r0, 0xc +/* 80343928 00340888 90 04 00 00 */ stw r0, 0(r4) +/* 8034392C 0034088C 38 60 00 01 */ li r3, 1 +/* 80343930 00340890 48 00 00 10 */ b lbl_80343940 +/* 80343934 00340894 38 60 FF FD */ li r3, -3 +/* 80343938 00340898 48 00 00 08 */ b lbl_80343940 +lbl_8034393C: +/* 8034393C 0034089C 38 60 FF FE */ li r3, -2 +lbl_80343940: +/* 80343940 003408A0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80343944 003408A4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80343948 003408A8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8034394C 003408AC 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80343950 003408B0 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80343954 003408B4 7C 08 03 A6 */ mtlr r0 +/* 80343958 003408B8 38 21 00 20 */ addi r1, r1, 0x20 +/* 8034395C 003408BC 4E 80 00 20 */ blr + +.global inflateInit2_ +inflateInit2_: +/* 80343960 003408C0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80343964 003408C4 7C 08 02 A6 */ mflr r0 +/* 80343968 003408C8 28 04 00 00 */ cmplwi r4, 0 +/* 8034396C 003408CC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80343970 003408D0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80343974 003408D4 7C 7F 1B 78 */ mr r31, r3 +/* 80343978 003408D8 41 82 00 2C */ beq lbl_803439A4 +/* 8034397C 003408DC 3C 60 80 3D */ lis r3, lbl_803D7BD8@ha +/* 80343980 003408E0 88 84 00 00 */ lbz r4, 0(r4) +/* 80343984 003408E4 38 63 7B D8 */ addi r3, r3, lbl_803D7BD8@l +/* 80343988 003408E8 88 03 00 6B */ lbz r0, 0x6b(r3) +/* 8034398C 003408EC 7C 83 07 74 */ extsb r3, r4 +/* 80343990 003408F0 7C 00 07 74 */ extsb r0, r0 +/* 80343994 003408F4 7C 03 00 00 */ cmpw r3, r0 +/* 80343998 003408F8 40 82 00 0C */ bne lbl_803439A4 +/* 8034399C 003408FC 28 05 00 38 */ cmplwi r5, 0x38 +/* 803439A0 00340900 41 82 00 0C */ beq lbl_803439AC +lbl_803439A4: +/* 803439A4 00340904 38 60 FF FA */ li r3, -6 +/* 803439A8 00340908 48 00 01 84 */ b lbl_80343B2C +lbl_803439AC: +/* 803439AC 0034090C 28 1F 00 00 */ cmplwi r31, 0 +/* 803439B0 00340910 40 82 00 0C */ bne lbl_803439BC +/* 803439B4 00340914 38 60 FF FE */ li r3, -2 +/* 803439B8 00340918 48 00 01 74 */ b lbl_80343B2C +lbl_803439BC: +/* 803439BC 0034091C 38 80 00 00 */ li r4, 0 +/* 803439C0 00340920 90 9F 00 18 */ stw r4, 0x18(r31) +/* 803439C4 00340924 80 1F 00 20 */ lwz r0, 0x20(r31) +/* 803439C8 00340928 28 00 00 00 */ cmplwi r0, 0 +/* 803439CC 0034092C 40 82 00 14 */ bne lbl_803439E0 +/* 803439D0 00340930 3C 60 80 34 */ lis r3, zcalloc@ha +/* 803439D4 00340934 38 03 45 C0 */ addi r0, r3, zcalloc@l +/* 803439D8 00340938 90 1F 00 20 */ stw r0, 0x20(r31) +/* 803439DC 0034093C 90 9F 00 28 */ stw r4, 0x28(r31) +lbl_803439E0: +/* 803439E0 00340940 80 1F 00 24 */ lwz r0, 0x24(r31) +/* 803439E4 00340944 28 00 00 00 */ cmplwi r0, 0 +/* 803439E8 00340948 40 82 00 10 */ bne lbl_803439F8 +/* 803439EC 0034094C 3C 60 80 34 */ lis r3, zcfree@ha +/* 803439F0 00340950 38 03 45 8C */ addi r0, r3, zcfree@l +/* 803439F4 00340954 90 1F 00 24 */ stw r0, 0x24(r31) +lbl_803439F8: +/* 803439F8 00340958 81 9F 00 20 */ lwz r12, 0x20(r31) +/* 803439FC 0034095C 38 80 00 01 */ li r4, 1 +/* 80343A00 00340960 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 80343A04 00340964 38 A0 00 18 */ li r5, 0x18 +/* 80343A08 00340968 7D 89 03 A6 */ mtctr r12 +/* 80343A0C 0034096C 4E 80 04 21 */ bctrl +/* 80343A10 00340970 28 03 00 00 */ cmplwi r3, 0 +/* 80343A14 00340974 90 7F 00 1C */ stw r3, 0x1c(r31) +/* 80343A18 00340978 40 82 00 0C */ bne lbl_80343A24 +/* 80343A1C 0034097C 38 60 FF FC */ li r3, -4 +/* 80343A20 00340980 48 00 01 0C */ b lbl_80343B2C +lbl_80343A24: +/* 80343A24 00340984 80 9F 00 1C */ lwz r4, 0x1c(r31) +/* 80343A28 00340988 38 C0 00 00 */ li r6, 0 +/* 80343A2C 0034098C 38 00 00 0F */ li r0, 0xf +/* 80343A30 00340990 3C 60 80 34 */ lis r3, adler32@ha +/* 80343A34 00340994 90 C4 00 14 */ stw r6, 0x14(r4) +/* 80343A38 00340998 38 83 11 20 */ addi r4, r3, adler32@l +/* 80343A3C 0034099C 7F E3 FB 78 */ mr r3, r31 +/* 80343A40 003409A0 80 BF 00 1C */ lwz r5, 0x1c(r31) +/* 80343A44 003409A4 90 C5 00 0C */ stw r6, 0xc(r5) +/* 80343A48 003409A8 80 BF 00 1C */ lwz r5, 0x1c(r31) +/* 80343A4C 003409AC 90 05 00 10 */ stw r0, 0x10(r5) +/* 80343A50 003409B0 80 BF 00 1C */ lwz r5, 0x1c(r31) +/* 80343A54 003409B4 80 05 00 0C */ lwz r0, 0xc(r5) +/* 80343A58 003409B8 2C 00 00 00 */ cmpwi r0, 0 +/* 80343A5C 003409BC 41 82 00 08 */ beq lbl_80343A64 +/* 80343A60 003409C0 7C C4 33 78 */ mr r4, r6 +lbl_80343A64: +/* 80343A64 003409C4 3C A0 00 01 */ lis r5, 0x00008000@ha +/* 80343A68 003409C8 38 A5 80 00 */ addi r5, r5, 0x00008000@l +/* 80343A6C 003409CC 4B FF E7 01 */ bl inflate_blocks_new +/* 80343A70 003409D0 80 9F 00 1C */ lwz r4, 0x1c(r31) +/* 80343A74 003409D4 28 03 00 00 */ cmplwi r3, 0 +/* 80343A78 003409D8 90 64 00 14 */ stw r3, 0x14(r4) +/* 80343A7C 003409DC 40 82 00 5C */ bne lbl_80343AD8 +/* 80343A80 003409E0 28 1F 00 00 */ cmplwi r31, 0 +/* 80343A84 003409E4 41 82 00 4C */ beq lbl_80343AD0 +/* 80343A88 003409E8 80 7F 00 1C */ lwz r3, 0x1c(r31) +/* 80343A8C 003409EC 28 03 00 00 */ cmplwi r3, 0 +/* 80343A90 003409F0 41 82 00 40 */ beq lbl_80343AD0 +/* 80343A94 003409F4 80 1F 00 24 */ lwz r0, 0x24(r31) +/* 80343A98 003409F8 28 00 00 00 */ cmplwi r0, 0 +/* 80343A9C 003409FC 41 82 00 34 */ beq lbl_80343AD0 +/* 80343AA0 00340A00 80 63 00 14 */ lwz r3, 0x14(r3) +/* 80343AA4 00340A04 28 03 00 00 */ cmplwi r3, 0 +/* 80343AA8 00340A08 41 82 00 0C */ beq lbl_80343AB4 +/* 80343AAC 00340A0C 7F E4 FB 78 */ mr r4, r31 +/* 80343AB0 00340A10 4B FF D7 F5 */ bl inflate_blocks_free +lbl_80343AB4: +/* 80343AB4 00340A14 81 9F 00 24 */ lwz r12, 0x24(r31) +/* 80343AB8 00340A18 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 80343ABC 00340A1C 80 9F 00 1C */ lwz r4, 0x1c(r31) +/* 80343AC0 00340A20 7D 89 03 A6 */ mtctr r12 +/* 80343AC4 00340A24 4E 80 04 21 */ bctrl +/* 80343AC8 00340A28 38 00 00 00 */ li r0, 0 +/* 80343ACC 00340A2C 90 1F 00 1C */ stw r0, 0x1c(r31) +lbl_80343AD0: +/* 80343AD0 00340A30 38 60 FF FC */ li r3, -4 +/* 80343AD4 00340A34 48 00 00 58 */ b lbl_80343B2C +lbl_80343AD8: +/* 80343AD8 00340A38 28 1F 00 00 */ cmplwi r31, 0 +/* 80343ADC 00340A3C 41 82 00 4C */ beq lbl_80343B28 +/* 80343AE0 00340A40 80 1F 00 1C */ lwz r0, 0x1c(r31) +/* 80343AE4 00340A44 28 00 00 00 */ cmplwi r0, 0 +/* 80343AE8 00340A48 41 82 00 40 */ beq lbl_80343B28 +/* 80343AEC 00340A4C 38 60 00 00 */ li r3, 0 +/* 80343AF0 00340A50 90 7F 00 14 */ stw r3, 0x14(r31) +/* 80343AF4 00340A54 90 7F 00 08 */ stw r3, 8(r31) +/* 80343AF8 00340A58 90 7F 00 18 */ stw r3, 0x18(r31) +/* 80343AFC 00340A5C 80 9F 00 1C */ lwz r4, 0x1c(r31) +/* 80343B00 00340A60 80 04 00 0C */ lwz r0, 0xc(r4) +/* 80343B04 00340A64 2C 00 00 00 */ cmpwi r0, 0 +/* 80343B08 00340A68 41 82 00 08 */ beq lbl_80343B10 +/* 80343B0C 00340A6C 38 60 00 07 */ li r3, 7 +lbl_80343B10: +/* 80343B10 00340A70 90 64 00 00 */ stw r3, 0(r4) +/* 80343B14 00340A74 7F E4 FB 78 */ mr r4, r31 +/* 80343B18 00340A78 38 A0 00 00 */ li r5, 0 +/* 80343B1C 00340A7C 80 7F 00 1C */ lwz r3, 0x1c(r31) +/* 80343B20 00340A80 80 63 00 14 */ lwz r3, 0x14(r3) +/* 80343B24 00340A84 4B FF E7 E9 */ bl inflate_blocks_reset +lbl_80343B28: +/* 80343B28 00340A88 38 60 00 00 */ li r3, 0 +lbl_80343B2C: +/* 80343B2C 00340A8C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80343B30 00340A90 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80343B34 00340A94 7C 08 03 A6 */ mtlr r0 +/* 80343B38 00340A98 38 21 00 10 */ addi r1, r1, 0x10 +/* 80343B3C 00340A9C 4E 80 00 20 */ blr + +.global inflateEnd +inflateEnd: +/* 80343B40 00340AA0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80343B44 00340AA4 7C 08 02 A6 */ mflr r0 +/* 80343B48 00340AA8 90 01 00 14 */ stw r0, 0x14(r1) +/* 80343B4C 00340AAC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80343B50 00340AB0 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80343B54 00340AB4 41 82 00 1C */ beq lbl_80343B70 +/* 80343B58 00340AB8 80 7F 00 1C */ lwz r3, 0x1c(r31) +/* 80343B5C 00340ABC 28 03 00 00 */ cmplwi r3, 0 +/* 80343B60 00340AC0 41 82 00 10 */ beq lbl_80343B70 +/* 80343B64 00340AC4 80 1F 00 24 */ lwz r0, 0x24(r31) +/* 80343B68 00340AC8 28 00 00 00 */ cmplwi r0, 0 +/* 80343B6C 00340ACC 40 82 00 0C */ bne lbl_80343B78 +lbl_80343B70: +/* 80343B70 00340AD0 38 60 FF FE */ li r3, -2 +/* 80343B74 00340AD4 48 00 00 38 */ b lbl_80343BAC +lbl_80343B78: +/* 80343B78 00340AD8 80 63 00 14 */ lwz r3, 0x14(r3) +/* 80343B7C 00340ADC 28 03 00 00 */ cmplwi r3, 0 +/* 80343B80 00340AE0 41 82 00 0C */ beq lbl_80343B8C +/* 80343B84 00340AE4 7F E4 FB 78 */ mr r4, r31 +/* 80343B88 00340AE8 4B FF D7 1D */ bl inflate_blocks_free +lbl_80343B8C: +/* 80343B8C 00340AEC 81 9F 00 24 */ lwz r12, 0x24(r31) +/* 80343B90 00340AF0 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 80343B94 00340AF4 80 9F 00 1C */ lwz r4, 0x1c(r31) +/* 80343B98 00340AF8 7D 89 03 A6 */ mtctr r12 +/* 80343B9C 00340AFC 4E 80 04 21 */ bctrl +/* 80343BA0 00340B00 38 00 00 00 */ li r0, 0 +/* 80343BA4 00340B04 38 60 00 00 */ li r3, 0 +/* 80343BA8 00340B08 90 1F 00 1C */ stw r0, 0x1c(r31) +lbl_80343BAC: +/* 80343BAC 00340B0C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80343BB0 00340B10 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80343BB4 00340B14 7C 08 03 A6 */ mtlr r0 +/* 80343BB8 00340B18 38 21 00 10 */ addi r1, r1, 0x10 +/* 80343BBC 00340B1C 4E 80 00 20 */ blr diff --git a/asm/Kyoto/zlib/inftrees.s b/asm/Kyoto/zlib/inftrees.s new file mode 100644 index 00000000..ec271533 --- /dev/null +++ b/asm/Kyoto/zlib/inftrees.s @@ -0,0 +1,601 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global inflate_trees_fixed +inflate_trees_fixed: +/* 80343BC0 00340B20 80 0D 9D 58 */ lwz r0, lbl_805A8918@sda21(r13) +/* 80343BC4 00340B24 3D 00 80 3F */ lis r8, lbl_803EE4C8@ha +/* 80343BC8 00340B28 3C E0 80 3F */ lis r7, lbl_803EF4C8@ha +/* 80343BCC 00340B2C 90 03 00 00 */ stw r0, 0(r3) +/* 80343BD0 00340B30 39 08 E4 C8 */ addi r8, r8, lbl_803EE4C8@l +/* 80343BD4 00340B34 38 07 F4 C8 */ addi r0, r7, lbl_803EF4C8@l +/* 80343BD8 00340B38 38 60 00 00 */ li r3, 0 +/* 80343BDC 00340B3C 80 ED 9D 5C */ lwz r7, lbl_805A891C@sda21(r13) +/* 80343BE0 00340B40 90 E4 00 00 */ stw r7, 0(r4) +/* 80343BE4 00340B44 91 05 00 00 */ stw r8, 0(r5) +/* 80343BE8 00340B48 90 06 00 00 */ stw r0, 0(r6) +/* 80343BEC 00340B4C 4E 80 00 20 */ blr + +.global inflate_trees_dynamic +inflate_trees_dynamic: +/* 80343BF0 00340B50 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 80343BF4 00340B54 7C 08 02 A6 */ mflr r0 +/* 80343BF8 00340B58 3D 60 80 3D */ lis r11, lbl_803D7C50@ha +/* 80343BFC 00340B5C 90 01 00 54 */ stw r0, 0x54(r1) +/* 80343C00 00340B60 38 00 00 00 */ li r0, 0 +/* 80343C04 00340B64 BE A1 00 24 */ stmw r21, 0x24(r1) +/* 80343C08 00340B68 7C 9B 23 78 */ mr r27, r4 +/* 80343C0C 00340B6C 7C BC 2B 78 */ mr r28, r5 +/* 80343C10 00340B70 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 80343C14 00340B74 7C 7A 1B 78 */ mr r26, r3 +/* 80343C18 00340B78 7C D5 33 78 */ mr r21, r6 +/* 80343C1C 00340B7C 7C FD 3B 78 */ mr r29, r7 +/* 80343C20 00340B80 7D 18 43 78 */ mr r24, r8 +/* 80343C24 00340B84 7D 36 4B 78 */ mr r22, r9 +/* 80343C28 00340B88 7D 57 53 78 */ mr r23, r10 +/* 80343C2C 00340B8C 3B 2B 7C 50 */ addi r25, r11, lbl_803D7C50@l +/* 80343C30 00340B90 38 80 01 20 */ li r4, 0x120 +/* 80343C34 00340B94 38 A0 00 04 */ li r5, 4 +/* 80343C38 00340B98 90 01 00 10 */ stw r0, 0x10(r1) +/* 80343C3C 00340B9C 81 9E 00 20 */ lwz r12, 0x20(r30) +/* 80343C40 00340BA0 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 80343C44 00340BA4 7D 89 03 A6 */ mtctr r12 +/* 80343C48 00340BA8 4E 80 04 21 */ bctrl +/* 80343C4C 00340BAC 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80343C50 00340BB0 40 82 00 0C */ bne lbl_80343C5C +/* 80343C54 00340BB4 38 60 FF FC */ li r3, -4 +/* 80343C58 00340BB8 48 00 01 74 */ b lbl_80343DCC +lbl_80343C5C: +/* 80343C5C 00340BBC 38 01 00 10 */ addi r0, r1, 0x10 +/* 80343C60 00340BC0 7F 83 E3 78 */ mr r3, r28 +/* 80343C64 00340BC4 90 01 00 08 */ stw r0, 8(r1) +/* 80343C68 00340BC8 7F 44 D3 78 */ mr r4, r26 +/* 80343C6C 00340BCC 7F 08 C3 78 */ mr r8, r24 +/* 80343C70 00340BD0 7E A9 AB 78 */ mr r9, r21 +/* 80343C74 00340BD4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80343C78 00340BD8 7E EA BB 78 */ mr r10, r23 +/* 80343C7C 00340BDC 38 D9 00 30 */ addi r6, r25, 0x30 +/* 80343C80 00340BE0 38 F9 00 AC */ addi r7, r25, 0xac +/* 80343C84 00340BE4 38 A0 01 01 */ li r5, 0x101 +/* 80343C88 00340BE8 48 00 02 51 */ bl huft_build +/* 80343C8C 00340BEC 7C 78 1B 79 */ or. r24, r3, r3 +/* 80343C90 00340BF0 40 82 00 10 */ bne lbl_80343CA0 +/* 80343C94 00340BF4 80 15 00 00 */ lwz r0, 0(r21) +/* 80343C98 00340BF8 28 00 00 00 */ cmplwi r0, 0 +/* 80343C9C 00340BFC 40 82 00 54 */ bne lbl_80343CF0 +lbl_80343CA0: +/* 80343CA0 00340C00 2C 18 FF FD */ cmpwi r24, -3 +/* 80343CA4 00340C04 40 82 00 14 */ bne lbl_80343CB8 +/* 80343CA8 00340C08 3C 60 80 3D */ lis r3, lbl_803D7E68@ha +/* 80343CAC 00340C0C 38 03 7E 68 */ addi r0, r3, lbl_803D7E68@l +/* 80343CB0 00340C10 90 1E 00 18 */ stw r0, 0x18(r30) +/* 80343CB4 00340C14 48 00 00 20 */ b lbl_80343CD4 +lbl_80343CB8: +/* 80343CB8 00340C18 2C 18 FF FC */ cmpwi r24, -4 +/* 80343CBC 00340C1C 41 82 00 18 */ beq lbl_80343CD4 +/* 80343CC0 00340C20 3C 60 80 3D */ lis r3, lbl_803D7E68@ha +/* 80343CC4 00340C24 3B 00 FF FD */ li r24, -3 +/* 80343CC8 00340C28 38 63 7E 68 */ addi r3, r3, lbl_803D7E68@l +/* 80343CCC 00340C2C 38 03 00 23 */ addi r0, r3, 0x23 +/* 80343CD0 00340C30 90 1E 00 18 */ stw r0, 0x18(r30) +lbl_80343CD4: +/* 80343CD4 00340C34 81 9E 00 24 */ lwz r12, 0x24(r30) +/* 80343CD8 00340C38 7F E4 FB 78 */ mr r4, r31 +/* 80343CDC 00340C3C 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 80343CE0 00340C40 7D 89 03 A6 */ mtctr r12 +/* 80343CE4 00340C44 4E 80 04 21 */ bctrl +/* 80343CE8 00340C48 7F 03 C3 78 */ mr r3, r24 +/* 80343CEC 00340C4C 48 00 00 E0 */ b lbl_80343DCC +lbl_80343CF0: +/* 80343CF0 00340C50 38 61 00 10 */ addi r3, r1, 0x10 +/* 80343CF4 00340C54 57 40 10 3A */ slwi r0, r26, 2 +/* 80343CF8 00340C58 90 61 00 08 */ stw r3, 8(r1) +/* 80343CFC 00340C5C 7F 64 DB 78 */ mr r4, r27 +/* 80343D00 00340C60 7E C8 B3 78 */ mr r8, r22 +/* 80343D04 00340C64 7F A9 EB 78 */ mr r9, r29 +/* 80343D08 00340C68 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80343D0C 00340C6C 7E EA BB 78 */ mr r10, r23 +/* 80343D10 00340C70 7C 7C 02 14 */ add r3, r28, r0 +/* 80343D14 00340C74 38 D9 01 28 */ addi r6, r25, 0x128 +/* 80343D18 00340C78 38 F9 01 A0 */ addi r7, r25, 0x1a0 +/* 80343D1C 00340C7C 38 A0 00 00 */ li r5, 0 +/* 80343D20 00340C80 48 00 01 B9 */ bl huft_build +/* 80343D24 00340C84 7C 79 1B 79 */ or. r25, r3, r3 +/* 80343D28 00340C88 40 82 00 18 */ bne lbl_80343D40 +/* 80343D2C 00340C8C 80 1D 00 00 */ lwz r0, 0(r29) +/* 80343D30 00340C90 28 00 00 00 */ cmplwi r0, 0 +/* 80343D34 00340C94 40 82 00 80 */ bne lbl_80343DB4 +/* 80343D38 00340C98 28 1A 01 01 */ cmplwi r26, 0x101 +/* 80343D3C 00340C9C 40 81 00 78 */ ble lbl_80343DB4 +lbl_80343D40: +/* 80343D40 00340CA0 2C 19 FF FD */ cmpwi r25, -3 +/* 80343D44 00340CA4 40 82 00 18 */ bne lbl_80343D5C +/* 80343D48 00340CA8 3C 60 80 3D */ lis r3, lbl_803D7E68@ha +/* 80343D4C 00340CAC 38 63 7E 68 */ addi r3, r3, lbl_803D7E68@l +/* 80343D50 00340CB0 38 03 00 42 */ addi r0, r3, 0x42 +/* 80343D54 00340CB4 90 1E 00 18 */ stw r0, 0x18(r30) +/* 80343D58 00340CB8 48 00 00 40 */ b lbl_80343D98 +lbl_80343D5C: +/* 80343D5C 00340CBC 2C 19 FF FB */ cmpwi r25, -5 +/* 80343D60 00340CC0 40 82 00 1C */ bne lbl_80343D7C +/* 80343D64 00340CC4 3C 60 80 3D */ lis r3, lbl_803D7E68@ha +/* 80343D68 00340CC8 3B 20 FF FD */ li r25, -3 +/* 80343D6C 00340CCC 38 63 7E 68 */ addi r3, r3, lbl_803D7E68@l +/* 80343D70 00340CD0 38 03 00 5F */ addi r0, r3, 0x5f +/* 80343D74 00340CD4 90 1E 00 18 */ stw r0, 0x18(r30) +/* 80343D78 00340CD8 48 00 00 20 */ b lbl_80343D98 +lbl_80343D7C: +/* 80343D7C 00340CDC 2C 19 FF FC */ cmpwi r25, -4 +/* 80343D80 00340CE0 41 82 00 18 */ beq lbl_80343D98 +/* 80343D84 00340CE4 3C 60 80 3D */ lis r3, lbl_803D7E68@ha +/* 80343D88 00340CE8 3B 20 FF FD */ li r25, -3 +/* 80343D8C 00340CEC 38 63 7E 68 */ addi r3, r3, lbl_803D7E68@l +/* 80343D90 00340CF0 38 03 00 78 */ addi r0, r3, 0x78 +/* 80343D94 00340CF4 90 1E 00 18 */ stw r0, 0x18(r30) +lbl_80343D98: +/* 80343D98 00340CF8 81 9E 00 24 */ lwz r12, 0x24(r30) +/* 80343D9C 00340CFC 7F E4 FB 78 */ mr r4, r31 +/* 80343DA0 00340D00 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 80343DA4 00340D04 7D 89 03 A6 */ mtctr r12 +/* 80343DA8 00340D08 4E 80 04 21 */ bctrl +/* 80343DAC 00340D0C 7F 23 CB 78 */ mr r3, r25 +/* 80343DB0 00340D10 48 00 00 1C */ b lbl_80343DCC +lbl_80343DB4: +/* 80343DB4 00340D14 81 9E 00 24 */ lwz r12, 0x24(r30) +/* 80343DB8 00340D18 7F E4 FB 78 */ mr r4, r31 +/* 80343DBC 00340D1C 80 7E 00 28 */ lwz r3, 0x28(r30) +/* 80343DC0 00340D20 7D 89 03 A6 */ mtctr r12 +/* 80343DC4 00340D24 4E 80 04 21 */ bctrl +/* 80343DC8 00340D28 38 60 00 00 */ li r3, 0 +lbl_80343DCC: +/* 80343DCC 00340D2C BA A1 00 24 */ lmw r21, 0x24(r1) +/* 80343DD0 00340D30 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80343DD4 00340D34 7C 08 03 A6 */ mtlr r0 +/* 80343DD8 00340D38 38 21 00 50 */ addi r1, r1, 0x50 +/* 80343DDC 00340D3C 4E 80 00 20 */ blr + +.global inflate_trees_bits +inflate_trees_bits: +/* 80343DE0 00340D40 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80343DE4 00340D44 7C 08 02 A6 */ mflr r0 +/* 80343DE8 00340D48 90 01 00 34 */ stw r0, 0x34(r1) +/* 80343DEC 00340D4C 38 00 00 00 */ li r0, 0 +/* 80343DF0 00340D50 BF 41 00 18 */ stmw r26, 0x18(r1) +/* 80343DF4 00340D54 7C 9B 23 78 */ mr r27, r4 +/* 80343DF8 00340D58 7C BC 2B 78 */ mr r28, r5 +/* 80343DFC 00340D5C 7C FD 3B 78 */ mr r29, r7 +/* 80343E00 00340D60 7C 7A 1B 78 */ mr r26, r3 +/* 80343E04 00340D64 7C DF 33 78 */ mr r31, r6 +/* 80343E08 00340D68 38 80 00 13 */ li r4, 0x13 +/* 80343E0C 00340D6C 38 A0 00 04 */ li r5, 4 +/* 80343E10 00340D70 90 01 00 10 */ stw r0, 0x10(r1) +/* 80343E14 00340D74 81 87 00 20 */ lwz r12, 0x20(r7) +/* 80343E18 00340D78 80 67 00 28 */ lwz r3, 0x28(r7) +/* 80343E1C 00340D7C 7D 89 03 A6 */ mtctr r12 +/* 80343E20 00340D80 4E 80 04 21 */ bctrl +/* 80343E24 00340D84 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80343E28 00340D88 40 82 00 0C */ bne lbl_80343E34 +/* 80343E2C 00340D8C 38 60 FF FC */ li r3, -4 +/* 80343E30 00340D90 48 00 00 94 */ b lbl_80343EC4 +lbl_80343E34: +/* 80343E34 00340D94 38 01 00 10 */ addi r0, r1, 0x10 +/* 80343E38 00340D98 7F 43 D3 78 */ mr r3, r26 +/* 80343E3C 00340D9C 90 01 00 08 */ stw r0, 8(r1) +/* 80343E40 00340DA0 7F 88 E3 78 */ mr r8, r28 +/* 80343E44 00340DA4 7F 69 DB 78 */ mr r9, r27 +/* 80343E48 00340DA8 7F EA FB 78 */ mr r10, r31 +/* 80343E4C 00340DAC 93 C1 00 0C */ stw r30, 0xc(r1) +/* 80343E50 00340DB0 38 80 00 13 */ li r4, 0x13 +/* 80343E54 00340DB4 38 A0 00 13 */ li r5, 0x13 +/* 80343E58 00340DB8 38 C0 00 00 */ li r6, 0 +/* 80343E5C 00340DBC 38 E0 00 00 */ li r7, 0 +/* 80343E60 00340DC0 48 00 00 79 */ bl huft_build +/* 80343E64 00340DC4 7C 7F 1B 78 */ mr r31, r3 +/* 80343E68 00340DC8 2C 1F FF FD */ cmpwi r31, -3 +/* 80343E6C 00340DCC 40 82 00 18 */ bne lbl_80343E84 +/* 80343E70 00340DD0 3C 60 80 3D */ lis r3, lbl_803D7E68@ha +/* 80343E74 00340DD4 38 63 7E 68 */ addi r3, r3, lbl_803D7E68@l +/* 80343E78 00340DD8 38 03 00 99 */ addi r0, r3, 0x99 +/* 80343E7C 00340DDC 90 1D 00 18 */ stw r0, 0x18(r29) +/* 80343E80 00340DE0 48 00 00 2C */ b lbl_80343EAC +lbl_80343E84: +/* 80343E84 00340DE4 2C 1F FF FB */ cmpwi r31, -5 +/* 80343E88 00340DE8 41 82 00 10 */ beq lbl_80343E98 +/* 80343E8C 00340DEC 80 1B 00 00 */ lwz r0, 0(r27) +/* 80343E90 00340DF0 28 00 00 00 */ cmplwi r0, 0 +/* 80343E94 00340DF4 40 82 00 18 */ bne lbl_80343EAC +lbl_80343E98: +/* 80343E98 00340DF8 3C 60 80 3D */ lis r3, lbl_803D7E68@ha +/* 80343E9C 00340DFC 3B E0 FF FD */ li r31, -3 +/* 80343EA0 00340E00 38 63 7E 68 */ addi r3, r3, lbl_803D7E68@l +/* 80343EA4 00340E04 38 03 00 C1 */ addi r0, r3, 0xc1 +/* 80343EA8 00340E08 90 1D 00 18 */ stw r0, 0x18(r29) +lbl_80343EAC: +/* 80343EAC 00340E0C 81 9D 00 24 */ lwz r12, 0x24(r29) +/* 80343EB0 00340E10 7F C4 F3 78 */ mr r4, r30 +/* 80343EB4 00340E14 80 7D 00 28 */ lwz r3, 0x28(r29) +/* 80343EB8 00340E18 7D 89 03 A6 */ mtctr r12 +/* 80343EBC 00340E1C 4E 80 04 21 */ bctrl +/* 80343EC0 00340E20 7F E3 FB 78 */ mr r3, r31 +lbl_80343EC4: +/* 80343EC4 00340E24 BB 41 00 18 */ lmw r26, 0x18(r1) +/* 80343EC8 00340E28 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80343ECC 00340E2C 7C 08 03 A6 */ mtlr r0 +/* 80343ED0 00340E30 38 21 00 30 */ addi r1, r1, 0x30 +/* 80343ED4 00340E34 4E 80 00 20 */ blr + +.global huft_build +huft_build: +/* 80343ED8 00340E38 94 21 FE E0 */ stwu r1, -0x120(r1) +/* 80343EDC 00340E3C 38 00 00 00 */ li r0, 0 +/* 80343EE0 00340E40 BD C1 00 D8 */ stmw r14, 0xd8(r1) +/* 80343EE4 00340E44 7C 6F 1B 78 */ mr r15, r3 +/* 80343EE8 00340E48 83 E1 01 28 */ lwz r31, 0x128(r1) +/* 80343EEC 00340E4C 7C 91 23 78 */ mr r17, r4 +/* 80343EF0 00340E50 90 01 00 8C */ stw r0, 0x8c(r1) +/* 80343EF4 00340E54 39 81 00 8C */ addi r12, r1, 0x8c +/* 80343EF8 00340E58 82 01 01 2C */ lwz r16, 0x12c(r1) +/* 80343EFC 00340E5C 90 01 00 90 */ stw r0, 0x90(r1) +/* 80343F00 00340E60 90 01 00 94 */ stw r0, 0x94(r1) +/* 80343F04 00340E64 90 01 00 98 */ stw r0, 0x98(r1) +/* 80343F08 00340E68 90 01 00 9C */ stw r0, 0x9c(r1) +/* 80343F0C 00340E6C 90 01 00 A0 */ stw r0, 0xa0(r1) +/* 80343F10 00340E70 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 80343F14 00340E74 90 01 00 A8 */ stw r0, 0xa8(r1) +/* 80343F18 00340E78 90 01 00 AC */ stw r0, 0xac(r1) +/* 80343F1C 00340E7C 90 01 00 B0 */ stw r0, 0xb0(r1) +/* 80343F20 00340E80 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 80343F24 00340E84 90 01 00 B8 */ stw r0, 0xb8(r1) +/* 80343F28 00340E88 90 01 00 BC */ stw r0, 0xbc(r1) +/* 80343F2C 00340E8C 90 01 00 C0 */ stw r0, 0xc0(r1) +/* 80343F30 00340E90 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 80343F34 00340E94 90 01 00 C8 */ stw r0, 0xc8(r1) +lbl_80343F38: +/* 80343F38 00340E98 80 0F 00 00 */ lwz r0, 0(r15) +/* 80343F3C 00340E9C 36 31 FF FF */ addic. r17, r17, -1 +/* 80343F40 00340EA0 39 EF 00 04 */ addi r15, r15, 4 +/* 80343F44 00340EA4 54 0E 10 3A */ slwi r14, r0, 2 +/* 80343F48 00340EA8 7D 6C 70 2E */ lwzx r11, r12, r14 +/* 80343F4C 00340EAC 38 0B 00 01 */ addi r0, r11, 1 +/* 80343F50 00340EB0 7C 0C 71 2E */ stwx r0, r12, r14 +/* 80343F54 00340EB4 40 82 FF E4 */ bne lbl_80343F38 +/* 80343F58 00340EB8 80 01 00 8C */ lwz r0, 0x8c(r1) +/* 80343F5C 00340EBC 7C 00 20 40 */ cmplw r0, r4 +/* 80343F60 00340EC0 40 82 00 18 */ bne lbl_80343F78 +/* 80343F64 00340EC4 38 00 00 00 */ li r0, 0 +/* 80343F68 00340EC8 38 60 00 00 */ li r3, 0 +/* 80343F6C 00340ECC 90 08 00 00 */ stw r0, 0(r8) +/* 80343F70 00340ED0 90 09 00 00 */ stw r0, 0(r9) +/* 80343F74 00340ED4 48 00 04 8C */ b lbl_80344400 +lbl_80343F78: +/* 80343F78 00340ED8 38 00 00 03 */ li r0, 3 +/* 80343F7C 00340EDC 39 C1 00 90 */ addi r14, r1, 0x90 +/* 80343F80 00340EE0 81 89 00 00 */ lwz r12, 0(r9) +/* 80343F84 00340EE4 39 60 00 01 */ li r11, 1 +/* 80343F88 00340EE8 7C 09 03 A6 */ mtctr r0 +lbl_80343F8C: +/* 80343F8C 00340EEC 80 0E 00 00 */ lwz r0, 0(r14) +/* 80343F90 00340EF0 28 00 00 00 */ cmplwi r0, 0 +/* 80343F94 00340EF4 40 82 00 50 */ bne lbl_80343FE4 +/* 80343F98 00340EF8 80 0E 00 04 */ lwz r0, 4(r14) +/* 80343F9C 00340EFC 39 6B 00 01 */ addi r11, r11, 1 +/* 80343FA0 00340F00 28 00 00 00 */ cmplwi r0, 0 +/* 80343FA4 00340F04 40 82 00 40 */ bne lbl_80343FE4 +/* 80343FA8 00340F08 80 0E 00 08 */ lwz r0, 8(r14) +/* 80343FAC 00340F0C 39 6B 00 01 */ addi r11, r11, 1 +/* 80343FB0 00340F10 28 00 00 00 */ cmplwi r0, 0 +/* 80343FB4 00340F14 40 82 00 30 */ bne lbl_80343FE4 +/* 80343FB8 00340F18 80 0E 00 0C */ lwz r0, 0xc(r14) +/* 80343FBC 00340F1C 39 6B 00 01 */ addi r11, r11, 1 +/* 80343FC0 00340F20 28 00 00 00 */ cmplwi r0, 0 +/* 80343FC4 00340F24 40 82 00 20 */ bne lbl_80343FE4 +/* 80343FC8 00340F28 80 0E 00 10 */ lwz r0, 0x10(r14) +/* 80343FCC 00340F2C 39 6B 00 01 */ addi r11, r11, 1 +/* 80343FD0 00340F30 28 00 00 00 */ cmplwi r0, 0 +/* 80343FD4 00340F34 40 82 00 10 */ bne lbl_80343FE4 +/* 80343FD8 00340F38 39 CE 00 14 */ addi r14, r14, 0x14 +/* 80343FDC 00340F3C 39 6B 00 01 */ addi r11, r11, 1 +/* 80343FE0 00340F40 42 00 FF AC */ bdnz lbl_80343F8C +lbl_80343FE4: +/* 80343FE4 00340F44 7C 0C 58 40 */ cmplw r12, r11 +/* 80343FE8 00340F48 40 80 00 08 */ bge lbl_80343FF0 +/* 80343FEC 00340F4C 7D 6C 5B 78 */ mr r12, r11 +lbl_80343FF0: +/* 80343FF0 00340F50 38 00 00 03 */ li r0, 3 +/* 80343FF4 00340F54 39 C1 00 C8 */ addi r14, r1, 0xc8 +/* 80343FF8 00340F58 39 E0 00 0F */ li r15, 0xf +/* 80343FFC 00340F5C 7C 09 03 A6 */ mtctr r0 +lbl_80344000: +/* 80344000 00340F60 80 0E 00 00 */ lwz r0, 0(r14) +/* 80344004 00340F64 28 00 00 00 */ cmplwi r0, 0 +/* 80344008 00340F68 40 82 00 50 */ bne lbl_80344058 +/* 8034400C 00340F6C 80 0E FF FC */ lwz r0, -4(r14) +/* 80344010 00340F70 39 EF FF FF */ addi r15, r15, -1 +/* 80344014 00340F74 28 00 00 00 */ cmplwi r0, 0 +/* 80344018 00340F78 40 82 00 40 */ bne lbl_80344058 +/* 8034401C 00340F7C 80 0E FF F8 */ lwz r0, -8(r14) +/* 80344020 00340F80 39 EF FF FF */ addi r15, r15, -1 +/* 80344024 00340F84 28 00 00 00 */ cmplwi r0, 0 +/* 80344028 00340F88 40 82 00 30 */ bne lbl_80344058 +/* 8034402C 00340F8C 80 0E FF F4 */ lwz r0, -0xc(r14) +/* 80344030 00340F90 39 EF FF FF */ addi r15, r15, -1 +/* 80344034 00340F94 28 00 00 00 */ cmplwi r0, 0 +/* 80344038 00340F98 40 82 00 20 */ bne lbl_80344058 +/* 8034403C 00340F9C 80 0E FF F0 */ lwz r0, -0x10(r14) +/* 80344040 00340FA0 39 EF FF FF */ addi r15, r15, -1 +/* 80344044 00340FA4 28 00 00 00 */ cmplwi r0, 0 +/* 80344048 00340FA8 40 82 00 10 */ bne lbl_80344058 +/* 8034404C 00340FAC 39 CE FF EC */ addi r14, r14, -20 +/* 80344050 00340FB0 39 EF FF FF */ addi r15, r15, -1 +/* 80344054 00340FB4 42 00 FF AC */ bdnz lbl_80344000 +lbl_80344058: +/* 80344058 00340FB8 7C 0C 78 40 */ cmplw r12, r15 +/* 8034405C 00340FBC 7D E0 7B 78 */ mr r0, r15 +/* 80344060 00340FC0 40 81 00 08 */ ble lbl_80344068 +/* 80344064 00340FC4 7D EC 7B 78 */ mr r12, r15 +lbl_80344068: +/* 80344068 00340FC8 39 C0 00 01 */ li r14, 1 +/* 8034406C 00340FCC 55 72 10 3A */ slwi r18, r11, 2 +/* 80344070 00340FD0 3A 61 00 8C */ addi r19, r1, 0x8c +/* 80344074 00340FD4 7E 2B 78 50 */ subf r17, r11, r15 +/* 80344078 00340FD8 7D 9B 63 78 */ mr r27, r12 +/* 8034407C 00340FDC 91 89 00 00 */ stw r12, 0(r9) +/* 80344080 00340FE0 7D CE 58 30 */ slw r14, r14, r11 +/* 80344084 00340FE4 7E 73 92 14 */ add r19, r19, r18 +/* 80344088 00340FE8 7E 29 03 A6 */ mtctr r17 +/* 8034408C 00340FEC 7C 0B 78 40 */ cmplw r11, r15 +/* 80344090 00340FF0 40 80 00 24 */ bge lbl_803440B4 +lbl_80344094: +/* 80344094 00340FF4 81 33 00 00 */ lwz r9, 0(r19) +/* 80344098 00340FF8 7D C9 70 51 */ subf. r14, r9, r14 +/* 8034409C 00340FFC 40 80 00 0C */ bge lbl_803440A8 +/* 803440A0 00341000 38 60 FF FD */ li r3, -3 +/* 803440A4 00341004 48 00 03 5C */ b lbl_80344400 +lbl_803440A8: +/* 803440A8 00341008 55 CE 08 3C */ slwi r14, r14, 1 +/* 803440AC 0034100C 3A 73 00 04 */ addi r19, r19, 4 +/* 803440B0 00341010 42 00 FF E4 */ bdnz lbl_80344094 +lbl_803440B4: +/* 803440B4 00341014 55 F1 10 3A */ slwi r17, r15, 2 +/* 803440B8 00341018 3A 41 00 8C */ addi r18, r1, 0x8c +/* 803440BC 0034101C 7D 32 88 2E */ lwzx r9, r18, r17 +/* 803440C0 00341020 7D C9 70 51 */ subf. r14, r9, r14 +/* 803440C4 00341024 40 80 00 0C */ bge lbl_803440D0 +/* 803440C8 00341028 38 60 FF FD */ li r3, -3 +/* 803440CC 0034102C 48 00 03 34 */ b lbl_80344400 +lbl_803440D0: +/* 803440D0 00341030 7D 29 72 14 */ add r9, r9, r14 +/* 803440D4 00341034 3A 60 00 00 */ li r19, 0 +/* 803440D8 00341038 7D 32 89 2E */ stwx r9, r18, r17 +/* 803440DC 0034103C 3A 21 00 90 */ addi r17, r1, 0x90 +/* 803440E0 00341040 3A 41 00 18 */ addi r18, r1, 0x18 +/* 803440E4 00341044 92 61 00 14 */ stw r19, 0x14(r1) +/* 803440E8 00341048 48 00 00 18 */ b lbl_80344100 +lbl_803440EC: +/* 803440EC 0034104C 81 31 00 00 */ lwz r9, 0(r17) +/* 803440F0 00341050 3A 31 00 04 */ addi r17, r17, 4 +/* 803440F4 00341054 7E 73 4A 14 */ add r19, r19, r9 +/* 803440F8 00341058 92 72 00 00 */ stw r19, 0(r18) +/* 803440FC 0034105C 3A 52 00 04 */ addi r18, r18, 4 +lbl_80344100: +/* 80344100 00341060 35 EF FF FF */ addic. r15, r15, -1 +/* 80344104 00341064 40 82 FF E8 */ bne lbl_803440EC +/* 80344108 00341068 3A 21 00 10 */ addi r17, r1, 0x10 +/* 8034410C 0034106C 3A 60 00 00 */ li r19, 0 +lbl_80344110: +/* 80344110 00341070 81 23 00 00 */ lwz r9, 0(r3) +/* 80344114 00341074 38 63 00 04 */ addi r3, r3, 4 +/* 80344118 00341078 28 09 00 00 */ cmplwi r9, 0 +/* 8034411C 0034107C 41 82 00 1C */ beq lbl_80344138 +/* 80344120 00341080 55 32 10 3A */ slwi r18, r9, 2 +/* 80344124 00341084 7D 31 90 2E */ lwzx r9, r17, r18 +/* 80344128 00341088 39 E9 00 01 */ addi r15, r9, 1 +/* 8034412C 0034108C 55 29 10 3A */ slwi r9, r9, 2 +/* 80344130 00341090 7D F1 91 2E */ stwx r15, r17, r18 +/* 80344134 00341094 7E 70 49 2E */ stwx r19, r16, r9 +lbl_80344138: +/* 80344138 00341098 3A 73 00 01 */ addi r19, r19, 1 +/* 8034413C 0034109C 7C 13 20 40 */ cmplw r19, r4 +/* 80344140 003410A0 41 80 FF D0 */ blt lbl_80344110 +/* 80344144 003410A4 54 04 10 3A */ slwi r4, r0, 2 +/* 80344148 003410A8 38 61 00 10 */ addi r3, r1, 0x10 +/* 8034414C 003410AC 7C 83 20 2E */ lwzx r4, r3, r4 +/* 80344150 003410B0 3B 20 00 00 */ li r25, 0 +/* 80344154 003410B4 93 21 00 50 */ stw r25, 0x50(r1) +/* 80344158 003410B8 55 69 10 3A */ slwi r9, r11, 2 +/* 8034415C 003410BC 3B 81 00 8C */ addi r28, r1, 0x8c +/* 80344160 003410C0 54 83 10 3A */ slwi r3, r4, 2 +/* 80344164 003410C4 93 21 00 10 */ stw r25, 0x10(r1) +/* 80344168 003410C8 7E 1A 83 78 */ mr r26, r16 +/* 8034416C 003410CC 7F 37 CB 78 */ mr r23, r25 +/* 80344170 003410D0 7E 6C 00 D0 */ neg r19, r12 +/* 80344174 003410D4 7F 9C 4A 14 */ add r28, r28, r9 +/* 80344178 003410D8 7D F0 1A 14 */ add r15, r16, r3 +/* 8034417C 003410DC 3A A0 FF FF */ li r21, -1 +/* 80344180 003410E0 3A 80 00 00 */ li r20, 0 +/* 80344184 003410E4 48 00 02 48 */ b lbl_803443CC +lbl_80344188: +/* 80344188 003410E8 82 DC 00 00 */ lwz r22, 0(r28) +/* 8034418C 003410EC 38 6B FF FF */ addi r3, r11, -1 +/* 80344190 003410F0 38 80 00 01 */ li r4, 1 +/* 80344194 003410F4 7C 90 18 30 */ slw r16, r4, r3 +/* 80344198 003410F8 7E C9 03 A6 */ mtctr r22 +/* 8034419C 003410FC 28 16 00 00 */ cmplwi r22, 0 +/* 803441A0 00341100 41 82 02 24 */ beq lbl_803443C4 +lbl_803441A4: +/* 803441A4 00341104 56 A3 10 3A */ slwi r3, r21, 2 +/* 803441A8 00341108 3B C1 00 50 */ addi r30, r1, 0x50 +/* 803441AC 0034110C 3B A1 00 10 */ addi r29, r1, 0x10 +/* 803441B0 00341110 39 36 00 00 */ addi r9, r22, 0 +/* 803441B4 00341114 7F DE 1A 14 */ add r30, r30, r3 +/* 803441B8 00341118 3A D6 FF FF */ addi r22, r22, -1 +/* 803441BC 0034111C 7F BD 1A 14 */ add r29, r29, r3 +/* 803441C0 00341120 48 00 00 F0 */ b lbl_803442B0 +lbl_803441C4: +/* 803441C4 00341124 7E 73 62 14 */ add r19, r19, r12 +/* 803441C8 00341128 3B DE 00 04 */ addi r30, r30, 4 +/* 803441CC 0034112C 7C 73 00 50 */ subf r3, r19, r0 +/* 803441D0 00341130 3B BD 00 04 */ addi r29, r29, 4 +/* 803441D4 00341134 7C 03 D8 40 */ cmplw r3, r27 +/* 803441D8 00341138 3A B5 00 01 */ addi r21, r21, 1 +/* 803441DC 0034113C 40 81 00 08 */ ble lbl_803441E4 +/* 803441E0 00341140 7F 63 DB 78 */ mr r3, r27 +lbl_803441E4: +/* 803441E4 00341144 7E 33 58 50 */ subf r17, r19, r11 +/* 803441E8 00341148 38 80 00 01 */ li r4, 1 +/* 803441EC 0034114C 7C 92 88 30 */ slw r18, r4, r17 +/* 803441F0 00341150 7C 12 48 40 */ cmplw r18, r9 +/* 803441F4 00341154 40 81 00 3C */ ble lbl_80344230 +/* 803441F8 00341158 7C 11 18 40 */ cmplw r17, r3 +/* 803441FC 0034115C 7F 84 E3 78 */ mr r4, r28 +/* 80344200 00341160 7E 49 90 50 */ subf r18, r9, r18 +/* 80344204 00341164 40 80 00 2C */ bge lbl_80344230 +/* 80344208 00341168 48 00 00 1C */ b lbl_80344224 +lbl_8034420C: +/* 8034420C 0034116C 86 84 00 04 */ lwzu r20, 4(r4) +/* 80344210 00341170 56 52 08 3C */ slwi r18, r18, 1 +/* 80344214 00341174 7C 12 A0 40 */ cmplw r18, r20 +/* 80344218 00341178 40 81 00 18 */ ble lbl_80344230 +/* 8034421C 0034117C 82 84 00 00 */ lwz r20, 0(r4) +/* 80344220 00341180 7E 54 90 50 */ subf r18, r20, r18 +lbl_80344224: +/* 80344224 00341184 3A 31 00 01 */ addi r17, r17, 1 +/* 80344228 00341188 7C 11 18 40 */ cmplw r17, r3 +/* 8034422C 0034118C 41 80 FF E0 */ blt lbl_8034420C +lbl_80344230: +/* 80344230 00341190 38 60 00 01 */ li r3, 1 +/* 80344234 00341194 80 9F 00 00 */ lwz r4, 0(r31) +/* 80344238 00341198 7C 77 88 30 */ slw r23, r3, r17 +/* 8034423C 0034119C 7C 64 BA 14 */ add r3, r4, r23 +/* 80344240 003411A0 28 03 05 A0 */ cmplwi r3, 0x5a0 +/* 80344244 003411A4 40 81 00 0C */ ble lbl_80344250 +/* 80344248 003411A8 38 60 FF FC */ li r3, -4 +/* 8034424C 003411AC 48 00 01 B4 */ b lbl_80344400 +lbl_80344250: +/* 80344250 003411B0 54 84 18 38 */ slwi r4, r4, 3 +/* 80344254 003411B4 2C 15 00 00 */ cmpwi r21, 0 +/* 80344258 003411B8 7E 8A 22 14 */ add r20, r10, r4 +/* 8034425C 003411BC 90 7F 00 00 */ stw r3, 0(r31) +/* 80344260 003411C0 92 9E 00 00 */ stw r20, 0(r30) +/* 80344264 003411C4 41 82 00 48 */ beq lbl_803442AC +/* 80344268 003411C8 7C 6C 98 50 */ subf r3, r12, r19 +/* 8034426C 003411CC 80 9E FF FC */ lwz r4, -4(r30) +/* 80344270 003411D0 7F 38 1C 30 */ srw r24, r25, r3 +/* 80344274 003411D4 9A 21 00 08 */ stb r17, 8(r1) +/* 80344278 003411D8 7C 64 A0 50 */ subf r3, r4, r20 +/* 8034427C 003411DC 99 81 00 09 */ stb r12, 9(r1) +/* 80344280 003411E0 57 11 18 38 */ slwi r17, r24, 3 +/* 80344284 003411E4 7C 63 1E 70 */ srawi r3, r3, 3 +/* 80344288 003411E8 7C 63 01 94 */ addze r3, r3 +/* 8034428C 003411EC 82 41 00 08 */ lwz r18, 8(r1) +/* 80344290 003411F0 7C 84 8A 14 */ add r4, r4, r17 +/* 80344294 003411F4 93 3D 00 00 */ stw r25, 0(r29) +/* 80344298 003411F8 7C 78 18 50 */ subf r3, r24, r3 +/* 8034429C 003411FC 92 44 00 00 */ stw r18, 0(r4) +/* 803442A0 00341200 90 61 00 0C */ stw r3, 0xc(r1) +/* 803442A4 00341204 90 64 00 04 */ stw r3, 4(r4) +/* 803442A8 00341208 48 00 00 08 */ b lbl_803442B0 +lbl_803442AC: +/* 803442AC 0034120C 92 88 00 00 */ stw r20, 0(r8) +lbl_803442B0: +/* 803442B0 00341210 7C 73 62 14 */ add r3, r19, r12 +/* 803442B4 00341214 7C 0B 18 00 */ cmpw r11, r3 +/* 803442B8 00341218 41 81 FF 0C */ bgt lbl_803441C4 +/* 803442BC 0034121C 7C 73 58 50 */ subf r3, r19, r11 +/* 803442C0 00341220 7C 1A 78 40 */ cmplw r26, r15 +/* 803442C4 00341224 98 61 00 09 */ stb r3, 9(r1) +/* 803442C8 00341228 41 80 00 10 */ blt lbl_803442D8 +/* 803442CC 0034122C 38 80 00 C0 */ li r4, 0xc0 +/* 803442D0 00341230 98 81 00 08 */ stb r4, 8(r1) +/* 803442D4 00341234 48 00 00 54 */ b lbl_80344328 +lbl_803442D8: +/* 803442D8 00341238 82 3A 00 00 */ lwz r17, 0(r26) +/* 803442DC 0034123C 7C 11 28 40 */ cmplw r17, r5 +/* 803442E0 00341240 40 80 00 28 */ bge lbl_80344308 +/* 803442E4 00341244 39 20 01 00 */ li r9, 0x100 +/* 803442E8 00341248 38 80 00 60 */ li r4, 0x60 +/* 803442EC 0034124C 7D 29 88 10 */ subfc r9, r9, r17 +/* 803442F0 00341250 92 21 00 0C */ stw r17, 0xc(r1) +/* 803442F4 00341254 7D 29 49 10 */ subfe r9, r9, r9 +/* 803442F8 00341258 3B 5A 00 04 */ addi r26, r26, 4 +/* 803442FC 0034125C 7C 84 48 78 */ andc r4, r4, r9 +/* 80344300 00341260 98 81 00 08 */ stb r4, 8(r1) +/* 80344304 00341264 48 00 00 24 */ b lbl_80344328 +lbl_80344308: +/* 80344308 00341268 7C 85 88 50 */ subf r4, r5, r17 +/* 8034430C 0034126C 3B 5A 00 04 */ addi r26, r26, 4 +/* 80344310 00341270 54 84 10 3A */ slwi r4, r4, 2 +/* 80344314 00341274 7D 27 20 2E */ lwzx r9, r7, r4 +/* 80344318 00341278 7C 86 20 2E */ lwzx r4, r6, r4 +/* 8034431C 0034127C 39 29 00 50 */ addi r9, r9, 0x50 +/* 80344320 00341280 99 21 00 08 */ stb r9, 8(r1) +/* 80344324 00341284 90 81 00 0C */ stw r4, 0xc(r1) +lbl_80344328: +/* 80344328 00341288 7F 32 9C 30 */ srw r18, r25, r19 +/* 8034432C 0034128C 38 80 00 01 */ li r4, 1 +/* 80344330 00341290 7C 98 18 30 */ slw r24, r4, r3 +/* 80344334 00341294 80 81 00 08 */ lwz r4, 8(r1) +/* 80344338 00341298 56 49 18 38 */ slwi r9, r18, 3 +/* 8034433C 0034129C 80 61 00 0C */ lwz r3, 0xc(r1) +/* 80344340 003412A0 7D 34 4A 14 */ add r9, r20, r9 +/* 80344344 003412A4 57 11 18 38 */ slwi r17, r24, 3 +/* 80344348 003412A8 48 00 00 14 */ b lbl_8034435C +lbl_8034434C: +/* 8034434C 003412AC 90 89 00 00 */ stw r4, 0(r9) +/* 80344350 003412B0 7E 52 C2 14 */ add r18, r18, r24 +/* 80344354 003412B4 90 69 00 04 */ stw r3, 4(r9) +/* 80344358 003412B8 7D 29 8A 14 */ add r9, r9, r17 +lbl_8034435C: +/* 8034435C 003412BC 7C 12 B8 40 */ cmplw r18, r23 +/* 80344360 003412C0 41 80 FF EC */ blt lbl_8034434C +/* 80344364 003412C4 7E 11 83 78 */ mr r17, r16 +/* 80344368 003412C8 48 00 00 0C */ b lbl_80344374 +lbl_8034436C: +/* 8034436C 003412CC 7F 39 8A 78 */ xor r25, r25, r17 +/* 80344370 003412D0 56 31 F8 7E */ srwi r17, r17, 1 +lbl_80344374: +/* 80344374 003412D4 7F 23 88 39 */ and. r3, r25, r17 +/* 80344378 003412D8 40 82 FF F4 */ bne lbl_8034436C +/* 8034437C 003412DC 38 80 00 01 */ li r4, 1 +/* 80344380 003412E0 56 B2 10 3A */ slwi r18, r21, 2 +/* 80344384 003412E4 7C 83 98 30 */ slw r3, r4, r19 +/* 80344388 003412E8 39 21 00 10 */ addi r9, r1, 0x10 +/* 8034438C 003412EC 7F 39 8A 78 */ xor r25, r25, r17 +/* 80344390 003412F0 3A 23 FF FF */ addi r17, r3, -1 +/* 80344394 003412F4 7D 29 92 14 */ add r9, r9, r18 +/* 80344398 003412F8 48 00 00 18 */ b lbl_803443B0 +lbl_8034439C: +/* 8034439C 003412FC 7E 6C 98 50 */ subf r19, r12, r19 +/* 803443A0 00341300 3A B5 FF FF */ addi r21, r21, -1 +/* 803443A4 00341304 7C 83 98 30 */ slw r3, r4, r19 +/* 803443A8 00341308 39 29 FF FC */ addi r9, r9, -4 +/* 803443AC 0034130C 3A 23 FF FF */ addi r17, r3, -1 +lbl_803443B0: +/* 803443B0 00341310 80 69 00 00 */ lwz r3, 0(r9) +/* 803443B4 00341314 7F 31 88 38 */ and r17, r25, r17 +/* 803443B8 00341318 7C 11 18 40 */ cmplw r17, r3 +/* 803443BC 0034131C 40 82 FF E0 */ bne lbl_8034439C +/* 803443C0 00341320 42 00 FD E4 */ bdnz lbl_803441A4 +lbl_803443C4: +/* 803443C4 00341324 3B 9C 00 04 */ addi r28, r28, 4 +/* 803443C8 00341328 39 6B 00 01 */ addi r11, r11, 1 +lbl_803443CC: +/* 803443CC 0034132C 7C 0B 00 00 */ cmpw r11, r0 +/* 803443D0 00341330 40 81 FD B8 */ ble lbl_80344188 +/* 803443D4 00341334 2C 0E 00 00 */ cmpwi r14, 0 +/* 803443D8 00341338 38 80 00 00 */ li r4, 0 +/* 803443DC 0034133C 41 82 00 10 */ beq lbl_803443EC +/* 803443E0 00341340 2C 00 00 01 */ cmpwi r0, 1 +/* 803443E4 00341344 41 82 00 08 */ beq lbl_803443EC +/* 803443E8 00341348 38 80 00 01 */ li r4, 1 +lbl_803443EC: +/* 803443EC 0034134C 7C 64 00 D0 */ neg r3, r4 +/* 803443F0 00341350 38 00 FF FB */ li r0, -5 +/* 803443F4 00341354 7C 63 23 78 */ or r3, r3, r4 +/* 803443F8 00341358 7C 63 FE 70 */ srawi r3, r3, 0x1f +/* 803443FC 0034135C 7C 03 18 38 */ and r3, r0, r3 +lbl_80344400: +/* 80344400 00341360 B9 C1 00 D8 */ lmw r14, 0xd8(r1) +/* 80344404 00341364 38 21 01 20 */ addi r1, r1, 0x120 +/* 80344408 00341368 4E 80 00 20 */ blr diff --git a/asm/Kyoto/zlib/infutil.s b/asm/Kyoto/zlib/infutil.s new file mode 100644 index 00000000..31e85c85 --- /dev/null +++ b/asm/Kyoto/zlib/infutil.s @@ -0,0 +1,141 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global inflate_flush +inflate_flush: +/* 8034440C 0034136C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80344410 00341370 7C 08 02 A6 */ mflr r0 +/* 80344414 00341374 90 01 00 24 */ stw r0, 0x24(r1) +/* 80344418 00341378 BF 41 00 08 */ stmw r26, 8(r1) +/* 8034441C 0034137C 7C 7B 1B 78 */ mr r27, r3 +/* 80344420 00341380 7C 9C 23 78 */ mr r28, r4 +/* 80344424 00341384 7C BD 2B 78 */ mr r29, r5 +/* 80344428 00341388 83 C3 00 30 */ lwz r30, 0x30(r3) +/* 8034442C 0034138C 80 03 00 34 */ lwz r0, 0x34(r3) +/* 80344430 00341390 83 E4 00 0C */ lwz r31, 0xc(r4) +/* 80344434 00341394 7C 1E 00 40 */ cmplw r30, r0 +/* 80344438 00341398 41 81 00 08 */ bgt lbl_80344440 +/* 8034443C 0034139C 48 00 00 08 */ b lbl_80344444 +lbl_80344440: +/* 80344440 003413A0 80 1B 00 2C */ lwz r0, 0x2c(r27) +lbl_80344444: +/* 80344444 003413A4 80 7C 00 10 */ lwz r3, 0x10(r28) +/* 80344448 003413A8 7F 5E 00 50 */ subf r26, r30, r0 +/* 8034444C 003413AC 7C 1A 18 40 */ cmplw r26, r3 +/* 80344450 003413B0 40 81 00 08 */ ble lbl_80344458 +/* 80344454 003413B4 7C 7A 1B 78 */ mr r26, r3 +lbl_80344458: +/* 80344458 003413B8 28 1A 00 00 */ cmplwi r26, 0 +/* 8034445C 003413BC 41 82 00 10 */ beq lbl_8034446C +/* 80344460 003413C0 2C 1D FF FB */ cmpwi r29, -5 +/* 80344464 003413C4 40 82 00 08 */ bne lbl_8034446C +/* 80344468 003413C8 3B A0 00 00 */ li r29, 0 +lbl_8034446C: +/* 8034446C 003413CC 80 1C 00 10 */ lwz r0, 0x10(r28) +/* 80344470 003413D0 7C 1A 00 50 */ subf r0, r26, r0 +/* 80344474 003413D4 90 1C 00 10 */ stw r0, 0x10(r28) +/* 80344478 003413D8 80 1C 00 14 */ lwz r0, 0x14(r28) +/* 8034447C 003413DC 7C 00 D2 14 */ add r0, r0, r26 +/* 80344480 003413E0 90 1C 00 14 */ stw r0, 0x14(r28) +/* 80344484 003413E4 81 9B 00 38 */ lwz r12, 0x38(r27) +/* 80344488 003413E8 28 0C 00 00 */ cmplwi r12, 0 +/* 8034448C 003413EC 41 82 00 20 */ beq lbl_803444AC +/* 80344490 003413F0 7F C4 F3 78 */ mr r4, r30 +/* 80344494 003413F4 7F 45 D3 78 */ mr r5, r26 +/* 80344498 003413F8 80 7B 00 3C */ lwz r3, 0x3c(r27) +/* 8034449C 003413FC 7D 89 03 A6 */ mtctr r12 +/* 803444A0 00341400 4E 80 04 21 */ bctrl +/* 803444A4 00341404 90 7B 00 3C */ stw r3, 0x3c(r27) +/* 803444A8 00341408 90 7C 00 30 */ stw r3, 0x30(r28) +lbl_803444AC: +/* 803444AC 0034140C 7F E3 FB 78 */ mr r3, r31 +/* 803444B0 00341410 7F C4 F3 78 */ mr r4, r30 +/* 803444B4 00341414 7F 45 D3 78 */ mr r5, r26 +/* 803444B8 00341418 4B CB EF D9 */ bl memcpy +/* 803444BC 0034141C 80 7B 00 2C */ lwz r3, 0x2c(r27) +/* 803444C0 00341420 7F DE D2 14 */ add r30, r30, r26 +/* 803444C4 00341424 7F FF D2 14 */ add r31, r31, r26 +/* 803444C8 00341428 7C 1E 18 40 */ cmplw r30, r3 +/* 803444CC 0034142C 40 82 00 A0 */ bne lbl_8034456C +/* 803444D0 00341430 80 1B 00 34 */ lwz r0, 0x34(r27) +/* 803444D4 00341434 80 9B 00 28 */ lwz r4, 0x28(r27) +/* 803444D8 00341438 7C 00 18 40 */ cmplw r0, r3 +/* 803444DC 0034143C 7C 9E 23 78 */ mr r30, r4 +/* 803444E0 00341440 40 82 00 08 */ bne lbl_803444E8 +/* 803444E4 00341444 90 9B 00 34 */ stw r4, 0x34(r27) +lbl_803444E8: +/* 803444E8 00341448 80 1B 00 34 */ lwz r0, 0x34(r27) +/* 803444EC 0034144C 80 7C 00 10 */ lwz r3, 0x10(r28) +/* 803444F0 00341450 7F 5E 00 50 */ subf r26, r30, r0 +/* 803444F4 00341454 7C 1A 18 40 */ cmplw r26, r3 +/* 803444F8 00341458 40 81 00 08 */ ble lbl_80344500 +/* 803444FC 0034145C 7C 7A 1B 78 */ mr r26, r3 +lbl_80344500: +/* 80344500 00341460 28 1A 00 00 */ cmplwi r26, 0 +/* 80344504 00341464 41 82 00 10 */ beq lbl_80344514 +/* 80344508 00341468 2C 1D FF FB */ cmpwi r29, -5 +/* 8034450C 0034146C 40 82 00 08 */ bne lbl_80344514 +/* 80344510 00341470 3B A0 00 00 */ li r29, 0 +lbl_80344514: +/* 80344514 00341474 80 1C 00 10 */ lwz r0, 0x10(r28) +/* 80344518 00341478 7C 1A 00 50 */ subf r0, r26, r0 +/* 8034451C 0034147C 90 1C 00 10 */ stw r0, 0x10(r28) +/* 80344520 00341480 80 1C 00 14 */ lwz r0, 0x14(r28) +/* 80344524 00341484 7C 00 D2 14 */ add r0, r0, r26 +/* 80344528 00341488 90 1C 00 14 */ stw r0, 0x14(r28) +/* 8034452C 0034148C 81 9B 00 38 */ lwz r12, 0x38(r27) +/* 80344530 00341490 28 0C 00 00 */ cmplwi r12, 0 +/* 80344534 00341494 41 82 00 20 */ beq lbl_80344554 +/* 80344538 00341498 7F C4 F3 78 */ mr r4, r30 +/* 8034453C 0034149C 7F 45 D3 78 */ mr r5, r26 +/* 80344540 003414A0 80 7B 00 3C */ lwz r3, 0x3c(r27) +/* 80344544 003414A4 7D 89 03 A6 */ mtctr r12 +/* 80344548 003414A8 4E 80 04 21 */ bctrl +/* 8034454C 003414AC 90 7B 00 3C */ stw r3, 0x3c(r27) +/* 80344550 003414B0 90 7C 00 30 */ stw r3, 0x30(r28) +lbl_80344554: +/* 80344554 003414B4 7F E3 FB 78 */ mr r3, r31 +/* 80344558 003414B8 7F C4 F3 78 */ mr r4, r30 +/* 8034455C 003414BC 7F 45 D3 78 */ mr r5, r26 +/* 80344560 003414C0 4B CB EF 31 */ bl memcpy +/* 80344564 003414C4 7F FF D2 14 */ add r31, r31, r26 +/* 80344568 003414C8 7F DE D2 14 */ add r30, r30, r26 +lbl_8034456C: +/* 8034456C 003414CC 93 FC 00 0C */ stw r31, 0xc(r28) +/* 80344570 003414D0 7F A3 EB 78 */ mr r3, r29 +/* 80344574 003414D4 93 DB 00 30 */ stw r30, 0x30(r27) +/* 80344578 003414D8 BB 41 00 08 */ lmw r26, 8(r1) +/* 8034457C 003414DC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80344580 003414E0 7C 08 03 A6 */ mtlr r0 +/* 80344584 003414E4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80344588 003414E8 4E 80 00 20 */ blr + +.global zcfree +zcfree: +/* 8034458C 003414EC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80344590 003414F0 7C 08 02 A6 */ mflr r0 +/* 80344594 003414F4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80344598 003414F8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8034459C 003414FC 7C 7F 1B 78 */ mr r31, r3 +/* 803445A0 00341500 7C 83 23 78 */ mr r3, r4 +/* 803445A4 00341504 48 04 5D B5 */ bl sub_8038a358 +/* 803445A8 00341508 28 1F 00 00 */ cmplwi r31, 0 +/* 803445AC 0034150C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803445B0 00341510 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 803445B4 00341514 7C 08 03 A6 */ mtlr r0 +/* 803445B8 00341518 38 21 00 10 */ addi r1, r1, 0x10 +/* 803445BC 0034151C 4E 80 00 20 */ blr + +.global zcalloc +zcalloc: +/* 803445C0 00341520 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 803445C4 00341524 7C 08 02 A6 */ mflr r0 +/* 803445C8 00341528 7C 83 23 78 */ mr r3, r4 +/* 803445CC 0034152C 7C A4 2B 78 */ mr r4, r5 +/* 803445D0 00341530 90 01 00 14 */ stw r0, 0x14(r1) +/* 803445D4 00341534 48 04 5C C1 */ bl calloc +/* 803445D8 00341538 80 01 00 14 */ lwz r0, 0x14(r1) +/* 803445DC 0034153C 7C 08 03 A6 */ mtlr r0 +/* 803445E0 00341540 38 21 00 10 */ addi r1, r1, 0x10 +/* 803445E4 00341544 4E 80 00 20 */ blr diff --git a/asm/MetaRender/CCubeRenderer.s b/asm/MetaRender/CCubeRenderer.s index caa9321b..5d8dc7ee 100644 --- a/asm/MetaRender/CCubeRenderer.s +++ b/asm/MetaRender/CCubeRenderer.s @@ -5618,7 +5618,7 @@ RenderFogVolumeModel__13CCubeRendererFRC6CAABoxPC6CModelRC12CTransform4f12CTrans /* 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 +/* 802BAF24 002B7E84 48 05 8E AD */ bl __ct__13CUnitVector3fFRC9CVector3f /* 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) diff --git a/asm/MetroidPrime/BodyState/CBodyController.s b/asm/MetroidPrime/BodyState/CBodyController.s index 8fcd15f6..26f7d703 100644 --- a/asm/MetroidPrime/BodyState/CBodyController.s +++ b/asm/MetroidPrime/BodyState/CBodyController.s @@ -542,10 +542,10 @@ FaceDirection3D__15CBodyControllerFRC9CVector3ff: /* 8013A4DC 0013743C 41 82 01 A0 */ beq lbl_8013A67C /* 8013A4E0 00137440 7F A4 EB 78 */ mr r4, r29 /* 8013A4E4 00137444 38 61 00 B4 */ addi r3, r1, 0xb4 -/* 8013A4E8 00137448 48 1D 98 E9 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 8013A4E8 00137448 48 1D 98 E9 */ bl __ct__13CUnitVector3fFRC9CVector3f /* 8013A4EC 0013744C 7F C4 F3 78 */ mr r4, r30 /* 8013A4F0 00137450 38 61 00 A8 */ addi r3, r1, 0xa8 -/* 8013A4F4 00137454 48 1D 98 DD */ bl __ct__11CUnitVectorFRC9CVector3f +/* 8013A4F4 00137454 48 1D 98 DD */ bl __ct__13CUnitVector3fFRC9CVector3f /* 8013A4F8 00137458 C0 21 00 B8 */ lfs f1, 0xb8(r1) /* 8013A4FC 0013745C C0 01 00 AC */ lfs f0, 0xac(r1) /* 8013A500 00137460 C0 41 00 B4 */ lfs f2, 0xb4(r1) diff --git a/asm/MetroidPrime/CActorParticles.s b/asm/MetroidPrime/CActorParticles.s index 12ac4ea2..3d7d7f8e 100644 --- a/asm/MetroidPrime/CActorParticles.s +++ b/asm/MetroidPrime/CActorParticles.s @@ -1315,7 +1315,7 @@ lbl_801E4A48: /* 801E4AD8 001E1A38 4E 80 04 21 */ bctrl /* 801E4ADC 001E1A3C 38 61 00 50 */ addi r3, r1, 0x50 /* 801E4AE0 001E1A40 7C 9C C2 14 */ add r4, r28, r24 -/* 801E4AE4 001E1A44 48 12 F2 ED */ bl __ct__11CUnitVectorFRC9CVector3f +/* 801E4AE4 001E1A44 48 12 F2 ED */ bl __ct__13CUnitVector3fFRC9CVector3f /* 801E4AE8 001E1A48 38 61 00 68 */ addi r3, r1, 0x68 /* 801E4AEC 001E1A4C 38 81 00 50 */ addi r4, r1, 0x50 /* 801E4AF0 001E1A50 48 12 EE E9 */ bl MakeRotationsBasedOnY__12CTransform4fFRC13CUnitVector3f diff --git a/asm/MetroidPrime/CBoneTracking.s b/asm/MetroidPrime/CBoneTracking.s index 2896c585..e67e31bd 100644 --- a/asm/MetroidPrime/CBoneTracking.s +++ b/asm/MetroidPrime/CBoneTracking.s @@ -315,12 +315,12 @@ lbl_8017559C: /* 80175608 00172568 38 61 00 94 */ addi r3, r1, 0x94 /* 8017560C 0017256C 38 81 01 60 */ addi r4, r1, 0x160 /* 80175610 00172570 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 80175614 00172574 48 19 E7 BD */ bl __ct__11CUnitVectorFRC9CVector3f +/* 80175614 00172574 48 19 E7 BD */ bl __ct__13CUnitVector3fFRC9CVector3f /* 80175618 00172578 3C 80 80 5A */ lis r4, lbl_805A6724@ha /* 8017561C 0017257C 7C 79 1B 78 */ mr r25, r3 /* 80175620 00172580 38 84 67 24 */ addi r4, r4, lbl_805A6724@l /* 80175624 00172584 38 61 00 A0 */ addi r3, r1, 0xa0 -/* 80175628 00172588 48 19 E7 A9 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 80175628 00172588 48 19 E7 A9 */ bl __ct__13CUnitVector3fFRC9CVector3f /* 8017562C 0017258C 7C 64 1B 78 */ mr r4, r3 /* 80175630 00172590 7F 25 CB 78 */ mr r5, r25 /* 80175634 00172594 38 61 00 AC */ addi r3, r1, 0xac diff --git a/asm/MetroidPrime/CGameCollision.s b/asm/MetroidPrime/CGameCollision.s index 428f4a6f..507acf71 100644 --- a/asm/MetroidPrime/CGameCollision.s +++ b/asm/MetroidPrime/CGameCollision.s @@ -2911,7 +2911,7 @@ lbl_8018262C: lbl_80182674: /* 80182674 0017F5D4 7F C4 F3 78 */ mr r4, r30 /* 80182678 0017F5D8 38 61 00 08 */ addi r3, r1, 8 -/* 8018267C 0017F5DC 48 19 17 55 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 8018267C 0017F5DC 48 19 17 55 */ bl __ct__13CUnitVector3fFRC9CVector3f /* 80182680 0017F5E0 FC 20 F8 90 */ fmr f1, f31 /* 80182684 0017F5E4 7C 66 1B 78 */ mr r6, r3 /* 80182688 0017F5E8 7F 03 C3 78 */ mr r3, r24 diff --git a/asm/MetroidPrime/CGameProjectile.s b/asm/MetroidPrime/CGameProjectile.s index f2441852..b28fad73 100644 --- a/asm/MetroidPrime/CGameProjectile.s +++ b/asm/MetroidPrime/CGameProjectile.s @@ -1841,7 +1841,7 @@ lbl_80038E7C: /* 80038E9C 00035DFC D0 41 00 28 */ stfs f2, 0x28(r1) /* 80038EA0 00035E00 D0 21 00 2C */ stfs f1, 0x2c(r1) /* 80038EA4 00035E04 D0 01 00 30 */ stfs f0, 0x30(r1) -/* 80038EA8 00035E08 48 2D AF 29 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 80038EA8 00035E08 48 2D AF 29 */ bl __ct__13CUnitVector3fFRC9CVector3f /* 80038EAC 00035E0C C0 E1 00 38 */ lfs f7, 0x38(r1) /* 80038EB0 00035E10 39 20 00 01 */ li r9, 1 /* 80038EB4 00035E14 C0 97 00 04 */ lfs f4, 4(r23) @@ -2421,7 +2421,7 @@ lbl_8003969C: /* 80039740 000366A0 EF E8 18 28 */ fsubs f31, f8, f3 /* 80039744 000366A4 D0 21 00 28 */ stfs f1, 0x28(r1) /* 80039748 000366A8 D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 8003974C 000366AC 48 2D A6 85 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 8003974C 000366AC 48 2D A6 85 */ bl __ct__13CUnitVector3fFRC9CVector3f /* 80039750 000366B0 C0 41 00 34 */ lfs f2, 0x34(r1) /* 80039754 000366B4 38 00 00 01 */ li r0, 1 /* 80039758 000366B8 C0 61 00 30 */ lfs f3, 0x30(r1) diff --git a/asm/MetroidPrime/CGroundMovement.s b/asm/MetroidPrime/CGroundMovement.s index c89850aa..d924ca10 100644 --- a/asm/MetroidPrime/CGroundMovement.s +++ b/asm/MetroidPrime/CGroundMovement.s @@ -3241,7 +3241,7 @@ lbl_80188864: lbl_801888C4: /* 801888C4 00185824 38 61 00 34 */ addi r3, r1, 0x34 /* 801888C8 00185828 38 81 00 58 */ addi r4, r1, 0x58 -/* 801888CC 0018582C 48 18 B5 05 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 801888CC 0018582C 48 18 B5 05 */ bl __ct__13CUnitVector3fFRC9CVector3f /* 801888D0 00185830 FC 20 E8 90 */ fmr f1, f29 /* 801888D4 00185834 7C 66 1B 78 */ mr r6, r3 /* 801888D8 00185838 7F C3 F3 78 */ mr r3, r30 diff --git a/asm/MetroidPrime/Cameras/CBallCamera.s b/asm/MetroidPrime/Cameras/CBallCamera.s index 2cac288a..810b77fd 100644 --- a/asm/MetroidPrime/Cameras/CBallCamera.s +++ b/asm/MetroidPrime/Cameras/CBallCamera.s @@ -4503,11 +4503,11 @@ lbl_80085198: /* 800851CC 0008212C D0 41 00 88 */ stfs f2, 0x88(r1) /* 800851D0 00082130 D0 21 00 8C */ stfs f1, 0x8c(r1) /* 800851D4 00082134 D0 01 00 90 */ stfs f0, 0x90(r1) -/* 800851D8 00082138 48 28 EB F9 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 800851D8 00082138 48 28 EB F9 */ bl __ct__13CUnitVector3fFRC9CVector3f /* 800851DC 0008213C 7C 7F 1B 78 */ mr r31, r3 /* 800851E0 00082140 38 61 00 94 */ addi r3, r1, 0x94 /* 800851E4 00082144 38 81 00 88 */ addi r4, r1, 0x88 -/* 800851E8 00082148 48 28 EB E9 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 800851E8 00082148 48 28 EB E9 */ bl __ct__13CUnitVector3fFRC9CVector3f /* 800851EC 0008214C 7C 64 1B 78 */ mr r4, r3 /* 800851F0 00082150 7F E5 FB 78 */ mr r5, r31 /* 800851F4 00082154 38 61 00 A0 */ addi r3, r1, 0xa0 @@ -8590,11 +8590,11 @@ lbl_80088EC0: /* 80088ED4 00085E34 38 61 00 3C */ addi r3, r1, 0x3c /* 80088ED8 00085E38 38 81 00 B4 */ addi r4, r1, 0xb4 /* 80088EDC 00085E3C D0 01 00 08 */ stfs f0, 8(r1) -/* 80088EE0 00085E40 48 28 AE F1 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 80088EE0 00085E40 48 28 AE F1 */ bl __ct__13CUnitVector3fFRC9CVector3f /* 80088EE4 00085E44 7C 7D 1B 78 */ mr r29, r3 /* 80088EE8 00085E48 38 61 00 48 */ addi r3, r1, 0x48 /* 80088EEC 00085E4C 38 81 00 9C */ addi r4, r1, 0x9c -/* 80088EF0 00085E50 48 28 AE E1 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 80088EF0 00085E50 48 28 AE E1 */ bl __ct__13CUnitVector3fFRC9CVector3f /* 80088EF4 00085E54 7C 64 1B 78 */ mr r4, r3 /* 80088EF8 00085E58 7F A5 EB 78 */ mr r5, r29 /* 80088EFC 00085E5C 38 61 00 54 */ addi r3, r1, 0x54 @@ -8635,11 +8635,11 @@ lbl_80088EC0: lbl_80088F88: /* 80088F88 00085EE8 38 61 00 14 */ addi r3, r1, 0x14 /* 80088F8C 00085EEC 38 81 00 B4 */ addi r4, r1, 0xb4 -/* 80088F90 00085EF0 48 28 AE 41 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 80088F90 00085EF0 48 28 AE 41 */ bl __ct__13CUnitVector3fFRC9CVector3f /* 80088F94 00085EF4 7C 7D 1B 78 */ mr r29, r3 /* 80088F98 00085EF8 38 61 00 20 */ addi r3, r1, 0x20 /* 80088F9C 00085EFC 38 81 00 9C */ addi r4, r1, 0x9c -/* 80088FA0 00085F00 48 28 AE 31 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 80088FA0 00085F00 48 28 AE 31 */ bl __ct__13CUnitVector3fFRC9CVector3f /* 80088FA4 00085F04 7C 64 1B 78 */ mr r4, r3 /* 80088FA8 00085F08 7F A5 EB 78 */ mr r5, r29 /* 80088FAC 00085F0C 38 61 00 2C */ addi r3, r1, 0x2c @@ -8768,11 +8768,11 @@ UpdateCameraPositions__11CBallCameraFfRC12CTransform4fRC12CTransform4f: /* 80089178 000860D8 D0 41 00 84 */ stfs f2, 0x84(r1) /* 8008917C 000860DC D0 C1 00 88 */ stfs f6, 0x88(r1) /* 80089180 000860E0 D0 E1 00 8C */ stfs f7, 0x8c(r1) -/* 80089184 000860E4 48 28 AC 4D */ bl __ct__11CUnitVectorFRC9CVector3f +/* 80089184 000860E4 48 28 AC 4D */ bl __ct__13CUnitVector3fFRC9CVector3f /* 80089188 000860E8 7C 7F 1B 78 */ mr r31, r3 /* 8008918C 000860EC 38 61 00 90 */ addi r3, r1, 0x90 /* 80089190 000860F0 38 81 00 84 */ addi r4, r1, 0x84 -/* 80089194 000860F4 48 28 AC 3D */ bl __ct__11CUnitVectorFRC9CVector3f +/* 80089194 000860F4 48 28 AC 3D */ bl __ct__13CUnitVector3fFRC9CVector3f /* 80089198 000860F8 7C 64 1B 78 */ mr r4, r3 /* 8008919C 000860FC 7F E5 FB 78 */ mr r5, r31 /* 800891A0 00086100 38 61 00 9C */ addi r3, r1, 0x9c @@ -9083,11 +9083,11 @@ lbl_800895E4: /* 8008962C 0008658C D0 41 00 1C */ stfs f2, 0x1c(r1) /* 80089630 00086590 D0 21 00 20 */ stfs f1, 0x20(r1) /* 80089634 00086594 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 80089638 00086598 48 28 A7 99 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 80089638 00086598 48 28 A7 99 */ bl __ct__13CUnitVector3fFRC9CVector3f /* 8008963C 0008659C 7C 7F 1B 78 */ mr r31, r3 /* 80089640 000865A0 38 61 00 34 */ addi r3, r1, 0x34 /* 80089644 000865A4 38 81 00 6C */ addi r4, r1, 0x6c -/* 80089648 000865A8 48 28 A7 89 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 80089648 000865A8 48 28 A7 89 */ bl __ct__13CUnitVector3fFRC9CVector3f /* 8008964C 000865AC 7C 64 1B 78 */ mr r4, r3 /* 80089650 000865B0 7F E5 FB 78 */ mr r5, r31 /* 80089654 000865B4 38 61 00 40 */ addi r3, r1, 0x40 diff --git a/asm/MetroidPrime/Cameras/CFirstPersonCamera.s b/asm/MetroidPrime/Cameras/CFirstPersonCamera.s index 0fcda177..bafc5ffe 100644 --- a/asm/MetroidPrime/Cameras/CFirstPersonCamera.s +++ b/asm/MetroidPrime/Cameras/CFirstPersonCamera.s @@ -536,7 +536,7 @@ lbl_8000E608: /* 8000E628 0000B588 48 30 62 D1 */ bl Normalize__9CVector3fFv /* 8000E62C 0000B58C 38 61 02 C4 */ addi r3, r1, 0x2c4 /* 8000E630 0000B590 38 81 04 4C */ addi r4, r1, 0x44c -/* 8000E634 0000B594 48 30 57 9D */ bl __ct__11CUnitVectorFRC9CVector3f +/* 8000E634 0000B594 48 30 57 9D */ bl __ct__13CUnitVector3fFRC9CVector3f /* 8000E638 0000B598 7C 65 1B 78 */ mr r5, r3 /* 8000E63C 0000B59C 38 61 02 DC */ addi r3, r1, 0x2dc /* 8000E640 0000B5A0 38 81 02 D0 */ addi r4, r1, 0x2d0 @@ -843,11 +843,11 @@ lbl_8000EAB8: /* 8000EABC 0000BA1C 38 61 02 6C */ addi r3, r1, 0x26c /* 8000EAC0 0000BA20 38 81 03 FC */ addi r4, r1, 0x3fc /* 8000EAC4 0000BA24 D0 01 00 4C */ stfs f0, 0x4c(r1) -/* 8000EAC8 0000BA28 48 30 53 09 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 8000EAC8 0000BA28 48 30 53 09 */ bl __ct__13CUnitVector3fFRC9CVector3f /* 8000EACC 0000BA2C 7C 7C 1B 78 */ mr r28, r3 /* 8000EAD0 0000BA30 38 61 02 78 */ addi r3, r1, 0x278 /* 8000EAD4 0000BA34 38 81 04 08 */ addi r4, r1, 0x408 -/* 8000EAD8 0000BA38 48 30 52 F9 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 8000EAD8 0000BA38 48 30 52 F9 */ bl __ct__13CUnitVector3fFRC9CVector3f /* 8000EADC 0000BA3C 7C 64 1B 78 */ mr r4, r3 /* 8000EAE0 0000BA40 7F 85 E3 78 */ mr r5, r28 /* 8000EAE4 0000BA44 38 61 02 84 */ addi r3, r1, 0x284 @@ -922,11 +922,11 @@ lbl_8000EBC4: /* 8000EBF0 0000BB50 EC 3C 00 32 */ fmuls f1, f28, f0 /* 8000EBF4 0000BB54 D0 01 00 6C */ stfs f0, 0x6c(r1) /* 8000EBF8 0000BB58 D0 21 00 48 */ stfs f1, 0x48(r1) -/* 8000EBFC 0000BB5C 48 30 51 D5 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 8000EBFC 0000BB5C 48 30 51 D5 */ bl __ct__13CUnitVector3fFRC9CVector3f /* 8000EC00 0000BB60 7C 7C 1B 78 */ mr r28, r3 /* 8000EC04 0000BB64 38 61 02 50 */ addi r3, r1, 0x250 /* 8000EC08 0000BB68 38 81 03 E0 */ addi r4, r1, 0x3e0 -/* 8000EC0C 0000BB6C 48 30 51 C5 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 8000EC0C 0000BB6C 48 30 51 C5 */ bl __ct__13CUnitVector3fFRC9CVector3f /* 8000EC10 0000BB70 7C 64 1B 78 */ mr r4, r3 /* 8000EC14 0000BB74 7F 85 E3 78 */ mr r5, r28 /* 8000EC18 0000BB78 38 61 02 5C */ addi r3, r1, 0x25c @@ -976,11 +976,11 @@ lbl_8000ECB8: /* 8000ECBC 0000BC1C 38 61 02 1C */ addi r3, r1, 0x21c /* 8000ECC0 0000BC20 38 81 03 C8 */ addi r4, r1, 0x3c8 /* 8000ECC4 0000BC24 D0 01 00 44 */ stfs f0, 0x44(r1) -/* 8000ECC8 0000BC28 48 30 51 09 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 8000ECC8 0000BC28 48 30 51 09 */ bl __ct__13CUnitVector3fFRC9CVector3f /* 8000ECCC 0000BC2C 7C 7C 1B 78 */ mr r28, r3 /* 8000ECD0 0000BC30 38 61 02 28 */ addi r3, r1, 0x228 /* 8000ECD4 0000BC34 38 81 03 D4 */ addi r4, r1, 0x3d4 -/* 8000ECD8 0000BC38 48 30 50 F9 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 8000ECD8 0000BC38 48 30 50 F9 */ bl __ct__13CUnitVector3fFRC9CVector3f /* 8000ECDC 0000BC3C 7C 64 1B 78 */ mr r4, r3 /* 8000ECE0 0000BC40 7F 85 E3 78 */ mr r5, r28 /* 8000ECE4 0000BC44 38 61 02 34 */ addi r3, r1, 0x234 @@ -1055,11 +1055,11 @@ lbl_8000EDC4: /* 8000EDF0 0000BD50 EC 3C 00 32 */ fmuls f1, f28, f0 /* 8000EDF4 0000BD54 D0 01 00 68 */ stfs f0, 0x68(r1) /* 8000EDF8 0000BD58 D0 21 00 40 */ stfs f1, 0x40(r1) -/* 8000EDFC 0000BD5C 48 30 4F D5 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 8000EDFC 0000BD5C 48 30 4F D5 */ bl __ct__13CUnitVector3fFRC9CVector3f /* 8000EE00 0000BD60 7C 7C 1B 78 */ mr r28, r3 /* 8000EE04 0000BD64 38 61 02 00 */ addi r3, r1, 0x200 /* 8000EE08 0000BD68 38 81 03 AC */ addi r4, r1, 0x3ac -/* 8000EE0C 0000BD6C 48 30 4F C5 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 8000EE0C 0000BD6C 48 30 4F C5 */ bl __ct__13CUnitVector3fFRC9CVector3f /* 8000EE10 0000BD70 7C 64 1B 78 */ mr r4, r3 /* 8000EE14 0000BD74 7F 85 E3 78 */ mr r5, r28 /* 8000EE18 0000BD78 38 61 02 0C */ addi r3, r1, 0x20c @@ -1109,11 +1109,11 @@ lbl_8000EEB8: /* 8000EEBC 0000BE1C 38 61 01 CC */ addi r3, r1, 0x1cc /* 8000EEC0 0000BE20 38 81 03 94 */ addi r4, r1, 0x394 /* 8000EEC4 0000BE24 D0 01 00 3C */ stfs f0, 0x3c(r1) -/* 8000EEC8 0000BE28 48 30 4F 09 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 8000EEC8 0000BE28 48 30 4F 09 */ bl __ct__13CUnitVector3fFRC9CVector3f /* 8000EECC 0000BE2C 7C 7C 1B 78 */ mr r28, r3 /* 8000EED0 0000BE30 38 61 01 D8 */ addi r3, r1, 0x1d8 /* 8000EED4 0000BE34 38 81 03 A0 */ addi r4, r1, 0x3a0 -/* 8000EED8 0000BE38 48 30 4E F9 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 8000EED8 0000BE38 48 30 4E F9 */ bl __ct__13CUnitVector3fFRC9CVector3f /* 8000EEDC 0000BE3C 7C 64 1B 78 */ mr r4, r3 /* 8000EEE0 0000BE40 7F 85 E3 78 */ mr r5, r28 /* 8000EEE4 0000BE44 38 61 01 E4 */ addi r3, r1, 0x1e4 @@ -1190,11 +1190,11 @@ lbl_8000EFCC: /* 8000EFF8 0000BF58 EC 3A 00 32 */ fmuls f1, f26, f0 /* 8000EFFC 0000BF5C D0 01 00 64 */ stfs f0, 0x64(r1) /* 8000F000 0000BF60 D0 21 00 38 */ stfs f1, 0x38(r1) -/* 8000F004 0000BF64 48 30 4D CD */ bl __ct__11CUnitVectorFRC9CVector3f +/* 8000F004 0000BF64 48 30 4D CD */ bl __ct__13CUnitVector3fFRC9CVector3f /* 8000F008 0000BF68 7C 7C 1B 78 */ mr r28, r3 /* 8000F00C 0000BF6C 38 61 01 B0 */ addi r3, r1, 0x1b0 /* 8000F010 0000BF70 38 81 03 78 */ addi r4, r1, 0x378 -/* 8000F014 0000BF74 48 30 4D BD */ bl __ct__11CUnitVectorFRC9CVector3f +/* 8000F014 0000BF74 48 30 4D BD */ bl __ct__13CUnitVector3fFRC9CVector3f /* 8000F018 0000BF78 7C 64 1B 78 */ mr r4, r3 /* 8000F01C 0000BF7C 7F 85 E3 78 */ mr r5, r28 /* 8000F020 0000BF80 38 61 01 BC */ addi r3, r1, 0x1bc @@ -1269,11 +1269,11 @@ lbl_8000F120: /* 8000F124 0000C084 38 61 01 7C */ addi r3, r1, 0x17c /* 8000F128 0000C088 38 81 04 4C */ addi r4, r1, 0x44c /* 8000F12C 0000C08C D0 01 00 34 */ stfs f0, 0x34(r1) -/* 8000F130 0000C090 48 30 4C A1 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 8000F130 0000C090 48 30 4C A1 */ bl __ct__13CUnitVector3fFRC9CVector3f /* 8000F134 0000C094 7C 7C 1B 78 */ mr r28, r3 /* 8000F138 0000C098 38 61 01 88 */ addi r3, r1, 0x188 /* 8000F13C 0000C09C 38 81 03 6C */ addi r4, r1, 0x36c -/* 8000F140 0000C0A0 48 30 4C 91 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 8000F140 0000C0A0 48 30 4C 91 */ bl __ct__13CUnitVector3fFRC9CVector3f /* 8000F144 0000C0A4 7C 64 1B 78 */ mr r4, r3 /* 8000F148 0000C0A8 7F 85 E3 78 */ mr r5, r28 /* 8000F14C 0000C0AC 38 61 01 94 */ addi r3, r1, 0x194 @@ -1293,11 +1293,11 @@ lbl_8000F17C: /* 8000F180 0000C0E0 38 61 01 54 */ addi r3, r1, 0x154 /* 8000F184 0000C0E4 38 81 04 4C */ addi r4, r1, 0x44c /* 8000F188 0000C0E8 D0 01 00 30 */ stfs f0, 0x30(r1) -/* 8000F18C 0000C0EC 48 30 4C 45 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 8000F18C 0000C0EC 48 30 4C 45 */ bl __ct__13CUnitVector3fFRC9CVector3f /* 8000F190 0000C0F0 7C 7C 1B 78 */ mr r28, r3 /* 8000F194 0000C0F4 38 61 01 60 */ addi r3, r1, 0x160 /* 8000F198 0000C0F8 38 81 03 6C */ addi r4, r1, 0x36c -/* 8000F19C 0000C0FC 48 30 4C 35 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 8000F19C 0000C0FC 48 30 4C 35 */ bl __ct__13CUnitVector3fFRC9CVector3f /* 8000F1A0 0000C100 7C 64 1B 78 */ mr r4, r3 /* 8000F1A4 0000C104 7F 85 E3 78 */ mr r5, r28 /* 8000F1A8 0000C108 38 61 01 6C */ addi r3, r1, 0x16c @@ -1361,11 +1361,11 @@ lbl_8000F280: /* 8000F284 0000C1E4 38 61 01 2C */ addi r3, r1, 0x12c /* 8000F288 0000C1E8 38 81 03 54 */ addi r4, r1, 0x354 /* 8000F28C 0000C1EC D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 8000F290 0000C1F0 48 30 4B 41 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 8000F290 0000C1F0 48 30 4B 41 */ bl __ct__13CUnitVector3fFRC9CVector3f /* 8000F294 0000C1F4 7C 7C 1B 78 */ mr r28, r3 /* 8000F298 0000C1F8 38 61 01 38 */ addi r3, r1, 0x138 /* 8000F29C 0000C1FC 38 81 03 60 */ addi r4, r1, 0x360 -/* 8000F2A0 0000C200 48 30 4B 31 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 8000F2A0 0000C200 48 30 4B 31 */ bl __ct__13CUnitVector3fFRC9CVector3f /* 8000F2A4 0000C204 7C 64 1B 78 */ mr r4, r3 /* 8000F2A8 0000C208 7F 85 E3 78 */ mr r5, r28 /* 8000F2AC 0000C20C 38 61 01 44 */ addi r3, r1, 0x144 @@ -1440,11 +1440,11 @@ lbl_8000F38C: /* 8000F3B8 0000C318 38 81 03 54 */ addi r4, r1, 0x354 /* 8000F3BC 0000C31C D0 21 00 60 */ stfs f1, 0x60(r1) /* 8000F3C0 0000C320 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 8000F3C4 0000C324 48 30 4A 0D */ bl __ct__11CUnitVectorFRC9CVector3f +/* 8000F3C4 0000C324 48 30 4A 0D */ bl __ct__13CUnitVector3fFRC9CVector3f /* 8000F3C8 0000C328 7C 7C 1B 78 */ mr r28, r3 /* 8000F3CC 0000C32C 38 61 01 10 */ addi r3, r1, 0x110 /* 8000F3D0 0000C330 38 81 03 38 */ addi r4, r1, 0x338 -/* 8000F3D4 0000C334 48 30 49 FD */ bl __ct__11CUnitVectorFRC9CVector3f +/* 8000F3D4 0000C334 48 30 49 FD */ bl __ct__13CUnitVector3fFRC9CVector3f /* 8000F3D8 0000C338 7C 64 1B 78 */ mr r4, r3 /* 8000F3DC 0000C33C 7F 85 E3 78 */ mr r5, r28 /* 8000F3E0 0000C340 38 61 01 1C */ addi r3, r1, 0x11c @@ -1494,11 +1494,11 @@ lbl_8000F480: /* 8000F484 0000C3E4 38 61 00 DC */ addi r3, r1, 0xdc /* 8000F488 0000C3E8 38 81 03 20 */ addi r4, r1, 0x320 /* 8000F48C 0000C3EC D0 01 00 24 */ stfs f0, 0x24(r1) -/* 8000F490 0000C3F0 48 30 49 41 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 8000F490 0000C3F0 48 30 49 41 */ bl __ct__13CUnitVector3fFRC9CVector3f /* 8000F494 0000C3F4 7C 7C 1B 78 */ mr r28, r3 /* 8000F498 0000C3F8 38 61 00 E8 */ addi r3, r1, 0xe8 /* 8000F49C 0000C3FC 38 81 03 2C */ addi r4, r1, 0x32c -/* 8000F4A0 0000C400 48 30 49 31 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 8000F4A0 0000C400 48 30 49 31 */ bl __ct__13CUnitVector3fFRC9CVector3f /* 8000F4A4 0000C404 7C 64 1B 78 */ mr r4, r3 /* 8000F4A8 0000C408 7F 85 E3 78 */ mr r5, r28 /* 8000F4AC 0000C40C 38 61 00 F4 */ addi r3, r1, 0xf4 @@ -1576,11 +1576,11 @@ lbl_8000F58C: /* 8000F5C4 0000C524 EC 3B 00 32 */ fmuls f1, f27, f0 /* 8000F5C8 0000C528 D0 01 00 58 */ stfs f0, 0x58(r1) /* 8000F5CC 0000C52C D0 21 00 20 */ stfs f1, 0x20(r1) -/* 8000F5D0 0000C530 48 30 48 01 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 8000F5D0 0000C530 48 30 48 01 */ bl __ct__13CUnitVector3fFRC9CVector3f /* 8000F5D4 0000C534 7C 7C 1B 78 */ mr r28, r3 /* 8000F5D8 0000C538 38 61 00 C0 */ addi r3, r1, 0xc0 /* 8000F5DC 0000C53C 38 81 03 04 */ addi r4, r1, 0x304 -/* 8000F5E0 0000C540 48 30 47 F1 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 8000F5E0 0000C540 48 30 47 F1 */ bl __ct__13CUnitVector3fFRC9CVector3f /* 8000F5E4 0000C544 7C 64 1B 78 */ mr r4, r3 /* 8000F5E8 0000C548 7F 85 E3 78 */ mr r5, r28 /* 8000F5EC 0000C54C 38 61 00 CC */ addi r3, r1, 0xcc diff --git a/asm/MetroidPrime/Cameras/CGameCamera.s b/asm/MetroidPrime/Cameras/CGameCamera.s index 8e3e54ed..5918eb5c 100644 --- a/asm/MetroidPrime/Cameras/CGameCamera.s +++ b/asm/MetroidPrime/Cameras/CGameCamera.s @@ -223,7 +223,7 @@ lbl_8005B10C: /* 8005B14C 000580AC D0 41 00 3C */ stfs f2, 0x3c(r1) /* 8005B150 000580B0 D0 21 00 40 */ stfs f1, 0x40(r1) /* 8005B154 000580B4 D0 01 00 44 */ stfs f0, 0x44(r1) -/* 8005B158 000580B8 48 2B 8C 79 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 8005B158 000580B8 48 2B 8C 79 */ bl __ct__13CUnitVector3fFRC9CVector3f /* 8005B15C 000580BC 7C 64 1B 78 */ mr r4, r3 /* 8005B160 000580C0 38 61 00 54 */ addi r3, r1, 0x54 /* 8005B164 000580C4 38 A1 00 08 */ addi r5, r1, 8 @@ -289,7 +289,7 @@ lbl_8005B1B4: /* 8005B250 000581B0 D0 41 00 0C */ stfs f2, 0xc(r1) /* 8005B254 000581B4 D0 21 00 10 */ stfs f1, 0x10(r1) /* 8005B258 000581B8 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 8005B25C 000581BC 48 2B 8B 75 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 8005B25C 000581BC 48 2B 8B 75 */ bl __ct__13CUnitVector3fFRC9CVector3f /* 8005B260 000581C0 3C A0 80 5A */ lis r5, lbl_805A66F4@ha /* 8005B264 000581C4 7C 64 1B 78 */ mr r4, r3 /* 8005B268 000581C8 38 C5 66 F4 */ addi r6, r5, lbl_805A66F4@l @@ -1065,11 +1065,11 @@ lbl_8005BD60: /* 8005BD6C 00058CCC 38 61 00 28 */ addi r3, r1, 0x28 /* 8005BD70 00058CD0 EC 1F 00 32 */ fmuls f0, f31, f0 /* 8005BD74 00058CD4 D0 01 00 08 */ stfs f0, 8(r1) -/* 8005BD78 00058CD8 48 2B 80 59 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 8005BD78 00058CD8 48 2B 80 59 */ bl __ct__13CUnitVector3fFRC9CVector3f /* 8005BD7C 00058CDC 7C 7E 1B 78 */ mr r30, r3 /* 8005BD80 00058CE0 7F E4 FB 78 */ mr r4, r31 /* 8005BD84 00058CE4 38 61 00 34 */ addi r3, r1, 0x34 -/* 8005BD88 00058CE8 48 2B 80 49 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 8005BD88 00058CE8 48 2B 80 49 */ bl __ct__13CUnitVector3fFRC9CVector3f /* 8005BD8C 00058CEC 7C 64 1B 78 */ mr r4, r3 /* 8005BD90 00058CF0 7F C5 F3 78 */ mr r5, r30 /* 8005BD94 00058CF4 38 61 00 40 */ addi r3, r1, 0x40 diff --git a/asm/MetroidPrime/Cameras/CInterpolationCamera.s b/asm/MetroidPrime/Cameras/CInterpolationCamera.s index 837eab28..e14d6f66 100644 --- a/asm/MetroidPrime/Cameras/CInterpolationCamera.s +++ b/asm/MetroidPrime/Cameras/CInterpolationCamera.s @@ -545,11 +545,11 @@ lbl_80265704: /* 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 +/* 80265790 002626F0 48 0A E6 41 */ bl __ct__13CUnitVector3fFRC9CVector3f /* 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 +/* 802657A0 00262700 48 0A E6 31 */ bl __ct__13CUnitVector3fFRC9CVector3f /* 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 @@ -892,11 +892,11 @@ lbl_80265BFC: /* 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 +/* 80265CBC 00262C1C 48 0A E1 15 */ bl __ct__13CUnitVector3fFRC9CVector3f /* 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 +/* 80265CCC 00262C2C 48 0A E1 05 */ bl __ct__13CUnitVector3fFRC9CVector3f /* 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 diff --git a/asm/MetroidPrime/Enemies/CBeetle.s b/asm/MetroidPrime/Enemies/CBeetle.s index a3d2b77d..da0c0c6e 100644 --- a/asm/MetroidPrime/Enemies/CBeetle.s +++ b/asm/MetroidPrime/Enemies/CBeetle.s @@ -1022,7 +1022,7 @@ lbl_800E3CF4: /* 800E3D44 000E0CA4 EC 01 00 28 */ fsubs f0, f1, f0 /* 800E3D48 000E0CA8 D0 41 00 28 */ stfs f2, 0x28(r1) /* 800E3D4C 000E0CAC D0 01 00 20 */ stfs f0, 0x20(r1) -/* 800E3D50 000E0CB0 48 23 00 81 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 800E3D50 000E0CB0 48 23 00 81 */ bl __ct__13CUnitVector3fFRC9CVector3f /* 800E3D54 000E0CB4 C0 BB 00 48 */ lfs f5, 0x48(r27) /* 800E3D58 000E0CB8 C0 1D 00 04 */ lfs f0, 4(r29) /* 800E3D5C 000E0CBC C0 9B 00 38 */ lfs f4, 0x38(r27) @@ -1148,7 +1148,7 @@ lbl_800E3EC0: /* 800E3F04 000E0E64 EC 01 00 28 */ fsubs f0, f1, f0 /* 800E3F08 000E0E68 D0 41 00 1C */ stfs f2, 0x1c(r1) /* 800E3F0C 000E0E6C D0 01 00 14 */ stfs f0, 0x14(r1) -/* 800E3F10 000E0E70 48 22 FE C1 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 800E3F10 000E0E70 48 22 FE C1 */ bl __ct__13CUnitVector3fFRC9CVector3f /* 800E3F14 000E0E74 C0 7D 00 48 */ lfs f3, 0x48(r29) /* 800E3F18 000E0E78 C0 1F 00 04 */ lfs f0, 4(r31) /* 800E3F1C 000E0E7C C0 41 00 24 */ lfs f2, 0x24(r1) diff --git a/asm/MetroidPrime/Enemies/CElitePirate.s b/asm/MetroidPrime/Enemies/CElitePirate.s index 58f4debf..d75d8219 100644 --- a/asm/MetroidPrime/Enemies/CElitePirate.s +++ b/asm/MetroidPrime/Enemies/CElitePirate.s @@ -6053,7 +6053,7 @@ KnockBack__12CElitePirateFRC9CVector3fR13CStateManagerRC11CDamageInfo14EKnockBac /* 8022CAC0 00229A20 48 0E 5F 65 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f /* 8022CAC4 00229A24 38 61 00 20 */ addi r3, r1, 0x20 /* 8022CAC8 00229A28 38 81 00 14 */ addi r4, r1, 0x14 -/* 8022CACC 00229A2C 48 0E 73 05 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 8022CACC 00229A2C 48 0E 73 05 */ bl __ct__13CUnitVector3fFRC9CVector3f /* 8022CAD0 00229A30 80 C1 00 20 */ lwz r6, 0x20(r1) /* 8022CAD4 00229A34 7F 43 D3 78 */ mr r3, r26 /* 8022CAD8 00229A38 80 E1 00 24 */ lwz r7, 0x24(r1) diff --git a/asm/MetroidPrime/Enemies/CJellyZap.s b/asm/MetroidPrime/Enemies/CJellyZap.s index b71316d0..c1242d35 100644 --- a/asm/MetroidPrime/Enemies/CJellyZap.s +++ b/asm/MetroidPrime/Enemies/CJellyZap.s @@ -52,7 +52,7 @@ KnockBack__9CJellyZapFRC9CVector3fR13CStateManagerRC11CDamageInfo14EKnockBackTyp /* 801D79C0 001D4920 48 13 B0 65 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f /* 801D79C4 001D4924 38 61 00 20 */ addi r3, r1, 0x20 /* 801D79C8 001D4928 38 81 00 14 */ addi r4, r1, 0x14 -/* 801D79CC 001D492C 48 13 C4 05 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 801D79CC 001D492C 48 13 C4 05 */ bl __ct__13CUnitVector3fFRC9CVector3f /* 801D79D0 001D4930 C0 3E 04 FC */ lfs f1, 0x4fc(r30) /* 801D79D4 001D4934 7F C3 F3 78 */ mr r3, r30 /* 801D79D8 001D4938 80 C1 00 20 */ lwz r6, 0x20(r1) diff --git a/asm/MetroidPrime/Enemies/CMetroid.s b/asm/MetroidPrime/Enemies/CMetroid.s index a6a651b3..4ac8fde2 100644 --- a/asm/MetroidPrime/Enemies/CMetroid.s +++ b/asm/MetroidPrime/Enemies/CMetroid.s @@ -8424,7 +8424,7 @@ lbl_80171984: /* 801719E4 0016E944 48 1A 10 41 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f /* 801719E8 0016E948 38 61 00 3C */ addi r3, r1, 0x3c /* 801719EC 0016E94C 38 81 00 30 */ addi r4, r1, 0x30 -/* 801719F0 0016E950 48 1A 23 E1 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 801719F0 0016E950 48 1A 23 E1 */ bl __ct__13CUnitVector3fFRC9CVector3f /* 801719F4 0016E954 C0 1C 04 FC */ lfs f0, 0x4fc(r28) /* 801719F8 0016E958 7F 83 E3 78 */ mr r3, r28 /* 801719FC 0016E95C 80 C1 00 3C */ lwz r6, 0x3c(r1) diff --git a/asm/MetroidPrime/Enemies/CMetroidBeta.s b/asm/MetroidPrime/Enemies/CMetroidBeta.s index 3a6c3e7a..0c588558 100644 --- a/asm/MetroidPrime/Enemies/CMetroidBeta.s +++ b/asm/MetroidPrime/Enemies/CMetroidBeta.s @@ -4856,7 +4856,7 @@ lbl_801C5348: /* 801C53A8 001C2308 48 14 D6 7D */ bl TransposeRotate__12CTransform4fCFRC9CVector3f /* 801C53AC 001C230C 38 61 00 3C */ addi r3, r1, 0x3c /* 801C53B0 001C2310 38 81 00 30 */ addi r4, r1, 0x30 -/* 801C53B4 001C2314 48 14 EA 1D */ bl __ct__11CUnitVectorFRC9CVector3f +/* 801C53B4 001C2314 48 14 EA 1D */ bl __ct__13CUnitVector3fFRC9CVector3f /* 801C53B8 001C2318 C0 1C 04 FC */ lfs f0, 0x4fc(r28) /* 801C53BC 001C231C 7F 83 E3 78 */ mr r3, r28 /* 801C53C0 001C2320 80 C1 00 3C */ lwz r6, 0x3c(r1) diff --git a/asm/MetroidPrime/Enemies/CMetroidPrimeExo.s b/asm/MetroidPrime/Enemies/CMetroidPrimeExo.s index b4897024..bd1e6210 100644 --- a/asm/MetroidPrime/Enemies/CMetroidPrimeExo.s +++ b/asm/MetroidPrime/Enemies/CMetroidPrimeExo.s @@ -8103,7 +8103,7 @@ lbl_80278438: /* 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 +/* 802784B4 00275414 48 09 B9 1D */ bl __ct__13CUnitVector3fFRC9CVector3f /* 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) diff --git a/asm/MetroidPrime/Enemies/CNewIntroBoss.s b/asm/MetroidPrime/Enemies/CNewIntroBoss.s index 7e3d6826..bd4b95c0 100644 --- a/asm/MetroidPrime/Enemies/CNewIntroBoss.s +++ b/asm/MetroidPrime/Enemies/CNewIntroBoss.s @@ -1729,11 +1729,11 @@ lbl_8018B620: /* 8018B6A0 00188600 D0 41 00 50 */ stfs f2, 0x50(r1) /* 8018B6A4 00188604 D0 21 00 54 */ stfs f1, 0x54(r1) /* 8018B6A8 00188608 D0 01 00 58 */ stfs f0, 0x58(r1) -/* 8018B6AC 0018860C 48 18 87 25 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 8018B6AC 0018860C 48 18 87 25 */ bl __ct__13CUnitVector3fFRC9CVector3f /* 8018B6B0 00188610 7C 7C 1B 78 */ mr r28, r3 /* 8018B6B4 00188614 38 61 00 5C */ addi r3, r1, 0x5c /* 8018B6B8 00188618 38 81 00 50 */ addi r4, r1, 0x50 -/* 8018B6BC 0018861C 48 18 87 15 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 8018B6BC 0018861C 48 18 87 15 */ bl __ct__13CUnitVector3fFRC9CVector3f /* 8018B6C0 00188620 7C 64 1B 78 */ mr r4, r3 /* 8018B6C4 00188624 7F 85 E3 78 */ mr r5, r28 /* 8018B6C8 00188628 38 61 00 68 */ addi r3, r1, 0x68 diff --git a/asm/MetroidPrime/Enemies/CParasite.s b/asm/MetroidPrime/Enemies/CParasite.s index a307996e..64d6c5d3 100644 --- a/asm/MetroidPrime/Enemies/CParasite.s +++ b/asm/MetroidPrime/Enemies/CParasite.s @@ -1970,7 +1970,7 @@ FaceTarget__9CParasiteF9CVector3f: /* 801585B8 00155518 D0 41 00 24 */ stfs f2, 0x24(r1) /* 801585BC 0015551C D0 21 00 28 */ stfs f1, 0x28(r1) /* 801585C0 00155520 D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 801585C4 00155524 48 1B B8 0D */ bl __ct__11CUnitVectorFRC9CVector3f +/* 801585C4 00155524 48 1B B8 0D */ bl __ct__13CUnitVector3fFRC9CVector3f /* 801585C8 00155528 7C 65 1B 78 */ mr r5, r3 /* 801585CC 0015552C 38 61 00 30 */ addi r3, r1, 0x30 /* 801585D0 00155530 38 81 00 24 */ addi r4, r1, 0x24 diff --git a/asm/MetroidPrime/Enemies/CPatterned.s b/asm/MetroidPrime/Enemies/CPatterned.s index 26067aa6..d01f0ec1 100644 --- a/asm/MetroidPrime/Enemies/CPatterned.s +++ b/asm/MetroidPrime/Enemies/CPatterned.s @@ -3618,7 +3618,7 @@ lbl_8007A828: /* 8007A868 000777C8 48 29 81 BD */ bl TransposeRotate__12CTransform4fCFRC9CVector3f /* 8007A86C 000777CC 38 61 00 20 */ addi r3, r1, 0x20 /* 8007A870 000777D0 38 81 00 14 */ addi r4, r1, 0x14 -/* 8007A874 000777D4 48 29 95 5D */ bl __ct__11CUnitVectorFRC9CVector3f +/* 8007A874 000777D4 48 29 95 5D */ bl __ct__13CUnitVector3fFRC9CVector3f /* 8007A878 000777D8 C0 3E 04 6C */ lfs f1, 0x46c(r30) /* 8007A87C 000777DC 7F C3 F3 78 */ mr r3, r30 /* 8007A880 000777E0 80 C1 00 20 */ lwz r6, 0x20(r1) diff --git a/asm/MetroidPrime/Enemies/CPuddleSpore.s b/asm/MetroidPrime/Enemies/CPuddleSpore.s index e07c9b6a..306d2985 100644 --- a/asm/MetroidPrime/Enemies/CPuddleSpore.s +++ b/asm/MetroidPrime/Enemies/CPuddleSpore.s @@ -1390,7 +1390,7 @@ HitShell__12CPuddleSporeCFRC9CVector3f: /* 80147E48 00144DA8 EC 01 00 28 */ fsubs f0, f1, f0 /* 80147E4C 00144DAC D0 41 00 1C */ stfs f2, 0x1c(r1) /* 80147E50 00144DB0 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 80147E54 00144DB4 48 1C BF 7D */ bl __ct__11CUnitVectorFRC9CVector3f +/* 80147E54 00144DB4 48 1C BF 7D */ bl __ct__13CUnitVector3fFRC9CVector3f /* 80147E58 00144DB8 C0 3E 00 4C */ lfs f1, 0x4c(r30) /* 80147E5C 00144DBC C0 01 00 24 */ lfs f0, 0x24(r1) /* 80147E60 00144DC0 C0 5E 00 3C */ lfs f2, 0x3c(r30) diff --git a/asm/MetroidPrime/Enemies/CThardus.s b/asm/MetroidPrime/Enemies/CThardus.s index a5f8c456..a0accdc1 100644 --- a/asm/MetroidPrime/Enemies/CThardus.s +++ b/asm/MetroidPrime/Enemies/CThardus.s @@ -6051,11 +6051,11 @@ lbl_801DFB78: /* 801DFBC0 001DCB20 48 13 4C 91 */ bl AsNormalized__9CVector3fCFv /* 801DFBC4 001DCB24 38 61 00 48 */ addi r3, r1, 0x48 /* 801DFBC8 001DCB28 38 81 00 3C */ addi r4, r1, 0x3c -/* 801DFBCC 001DCB2C 48 13 42 05 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 801DFBCC 001DCB2C 48 13 42 05 */ bl __ct__13CUnitVector3fFRC9CVector3f /* 801DFBD0 001DCB30 7C 7F 1B 78 */ mr r31, r3 /* 801DFBD4 001DCB34 38 61 00 54 */ addi r3, r1, 0x54 /* 801DFBD8 001DCB38 38 9E 09 50 */ addi r4, r30, 0x950 -/* 801DFBDC 001DCB3C 48 13 41 F5 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 801DFBDC 001DCB3C 48 13 41 F5 */ bl __ct__13CUnitVector3fFRC9CVector3f /* 801DFBE0 001DCB40 7C 64 1B 78 */ mr r4, r3 /* 801DFBE4 001DCB44 7F E5 FB 78 */ mr r5, r31 /* 801DFBE8 001DCB48 38 61 00 60 */ addi r3, r1, 0x60 diff --git a/asm/MetroidPrime/Enemies/CWallCrawlerSwarm.s b/asm/MetroidPrime/Enemies/CWallCrawlerSwarm.s index a601c64d..92b8731c 100644 --- a/asm/MetroidPrime/Enemies/CWallCrawlerSwarm.s +++ b/asm/MetroidPrime/Enemies/CWallCrawlerSwarm.s @@ -8362,7 +8362,7 @@ lbl_801EEEAC: /* 801EEEEC 001EBE4C D0 01 00 38 */ stfs f0, 0x38(r1) /* 801EEEF0 001EBE50 D0 41 00 30 */ stfs f2, 0x30(r1) /* 801EEEF4 001EBE54 D0 21 00 34 */ stfs f1, 0x34(r1) -/* 801EEEF8 001EBE58 48 12 4E D9 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 801EEEF8 001EBE58 48 12 4E D9 */ bl __ct__13CUnitVector3fFRC9CVector3f /* 801EEEFC 001EBE5C 7C 64 1B 78 */ mr r4, r3 /* 801EEF00 001EBE60 7F E5 FB 78 */ mr r5, r31 /* 801EEF04 001EBE64 38 61 00 48 */ addi r3, r1, 0x48 @@ -8390,7 +8390,7 @@ lbl_801EEF1C: /* 801EEF58 001EBEB8 D0 41 00 08 */ stfs f2, 8(r1) /* 801EEF5C 001EBEBC D0 21 00 0C */ stfs f1, 0xc(r1) /* 801EEF60 001EBEC0 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 801EEF64 001EBEC4 48 12 4E 6D */ bl __ct__11CUnitVectorFRC9CVector3f +/* 801EEF64 001EBEC4 48 12 4E 6D */ bl __ct__13CUnitVector3fFRC9CVector3f /* 801EEF68 001EBEC8 7C 64 1B 78 */ mr r4, r3 /* 801EEF6C 001EBECC 7F E5 FB 78 */ mr r5, r31 /* 801EEF70 001EBED0 38 61 00 20 */ addi r3, r1, 0x20 diff --git a/asm/MetroidPrime/HUD/CSamusHud.s b/asm/MetroidPrime/HUD/CSamusHud.s index 4b063329..a3f8ff04 100644 --- a/asm/MetroidPrime/HUD/CSamusHud.s +++ b/asm/MetroidPrime/HUD/CSamusHud.s @@ -315,7 +315,7 @@ ApplyClassicLag__9CSamusHudFRC13CUnitVector3fR11CQuaternionRC13CStateManagerfb: /* 80064C80 00061BE0 48 2A C5 E5 */ bl Transform__11CQuaternionCFRC9CVector3f /* 80064C84 00061BE4 38 61 00 7C */ addi r3, r1, 0x7c /* 80064C88 00061BE8 38 81 00 88 */ addi r4, r1, 0x88 -/* 80064C8C 00061BEC 48 2A F1 45 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 80064C8C 00061BEC 48 2A F1 45 */ bl __ct__13CUnitVector3fFRC9CVector3f /* 80064C90 00061BF0 7C 64 1B 78 */ mr r4, r3 /* 80064C94 00061BF4 38 61 00 6C */ addi r3, r1, 0x6c /* 80064C98 00061BF8 38 A1 00 94 */ addi r5, r1, 0x94 @@ -339,7 +339,7 @@ lbl_80064CAC: /* 80064CDC 00061C3C 48 2A C5 89 */ bl Transform__11CQuaternionCFRC9CVector3f /* 80064CE0 00061C40 38 61 00 54 */ addi r3, r1, 0x54 /* 80064CE4 00061C44 38 81 00 60 */ addi r4, r1, 0x60 -/* 80064CE8 00061C48 48 2A F0 E9 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 80064CE8 00061C48 48 2A F0 E9 */ bl __ct__13CUnitVector3fFRC9CVector3f /* 80064CEC 00061C4C 7C 65 1B 78 */ mr r5, r3 /* 80064CF0 00061C50 38 61 00 38 */ addi r3, r1, 0x38 /* 80064CF4 00061C54 38 81 00 48 */ addi r4, r1, 0x48 @@ -593,7 +593,7 @@ lbl_8006506C: /* 800650A8 00062008 38 61 00 5C */ addi r3, r1, 0x5c /* 800650AC 0006200C 38 9E 02 F8 */ addi r4, r30, 0x2f8 /* 800650B0 00062010 D0 01 00 08 */ stfs f0, 8(r1) -/* 800650B4 00062014 48 2A ED 1D */ bl __ct__11CUnitVectorFRC9CVector3f +/* 800650B4 00062014 48 2A ED 1D */ bl __ct__13CUnitVector3fFRC9CVector3f /* 800650B8 00062018 7C 64 1B 78 */ mr r4, r3 /* 800650BC 0006201C 38 61 00 68 */ addi r3, r1, 0x68 /* 800650C0 00062020 38 A1 00 B0 */ addi r5, r1, 0xb0 @@ -5769,7 +5769,7 @@ lbl_800699F0: /* 80069A24 00066984 D0 21 00 2C */ stfs f1, 0x2c(r1) /* 80069A28 00066988 D0 01 00 28 */ stfs f0, 0x28(r1) /* 80069A2C 0006698C D0 41 00 30 */ stfs f2, 0x30(r1) -/* 80069A30 00066990 48 2A A3 A1 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 80069A30 00066990 48 2A A3 A1 */ bl __ct__13CUnitVector3fFRC9CVector3f /* 80069A34 00066994 C0 41 00 50 */ lfs f2, 0x50(r1) /* 80069A38 00066998 38 61 00 40 */ addi r3, r1, 0x40 /* 80069A3C 0006699C C0 21 00 4C */ lfs f1, 0x4c(r1) diff --git a/asm/MetroidPrime/Player/CMorphBall.s b/asm/MetroidPrime/Player/CMorphBall.s index 12616202..ab69b7bc 100644 --- a/asm/MetroidPrime/Player/CMorphBall.s +++ b/asm/MetroidPrime/Player/CMorphBall.s @@ -5281,7 +5281,7 @@ Render__10CMorphBallCFRC13CStateManagerPC12CActorLights_0: /* 800F2338 000EF298 48 22 06 ED */ bl TransposeRotate__12CTransform4fCFRC9CVector3f /* 800F233C 000EF29C 38 61 00 E8 */ addi r3, r1, 0xe8 /* 800F2340 000EF2A0 38 81 00 DC */ addi r4, r1, 0xdc -/* 800F2344 000EF2A4 48 22 1A 8D */ bl __ct__11CUnitVectorFRC9CVector3f +/* 800F2344 000EF2A4 48 22 1A 8D */ bl __ct__13CUnitVector3fFRC9CVector3f /* 800F2348 000EF2A8 7C 64 1B 78 */ mr r4, r3 /* 800F234C 000EF2AC 38 61 00 F4 */ addi r3, r1, 0xf4 /* 800F2350 000EF2B0 38 A1 00 38 */ addi r5, r1, 0x38 @@ -9131,7 +9131,7 @@ SwitchToMarble__10CMorphBallFv: /* 800F5B84 000F2AE4 48 21 CE A1 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f /* 800F5B88 000F2AE8 38 61 00 18 */ addi r3, r1, 0x18 /* 800F5B8C 000F2AEC 38 81 00 0C */ addi r4, r1, 0xc -/* 800F5B90 000F2AF0 48 21 E2 41 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 800F5B90 000F2AF0 48 21 E2 41 */ bl __ct__13CUnitVector3fFRC9CVector3f /* 800F5B94 000F2AF4 7C 64 1B 78 */ mr r4, r3 /* 800F5B98 000F2AF8 38 61 00 24 */ addi r3, r1, 0x24 /* 800F5B9C 000F2AFC 38 A1 00 08 */ addi r5, r1, 8 @@ -11051,7 +11051,7 @@ lbl_800F76DC: /* 800F7750 000F46B0 D0 41 00 6C */ stfs f2, 0x6c(r1) /* 800F7754 000F46B4 D0 21 00 70 */ stfs f1, 0x70(r1) /* 800F7758 000F46B8 D0 01 00 74 */ stfs f0, 0x74(r1) -/* 800F775C 000F46BC 48 21 C6 75 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 800F775C 000F46BC 48 21 C6 75 */ bl __ct__13CUnitVector3fFRC9CVector3f /* 800F7760 000F46C0 C0 31 00 50 */ lfs f1, 0x50(r17) /* 800F7764 000F46C4 3C 60 80 5A */ lis r3, skZero3f@ha /* 800F7768 000F46C8 C1 01 00 7C */ lfs f8, 0x7c(r1) diff --git a/asm/MetroidPrime/Player/CPlayer.s b/asm/MetroidPrime/Player/CPlayer.s index 8f825110..4595862b 100644 --- a/asm/MetroidPrime/Player/CPlayer.s +++ b/asm/MetroidPrime/Player/CPlayer.s @@ -7303,12 +7303,12 @@ lbl_80016310: /* 80016360 000132C0 48 2F E4 F1 */ bl AsNormalized__9CVector3fCFv /* 80016364 000132C4 38 61 00 30 */ addi r3, r1, 0x30 /* 80016368 000132C8 38 81 00 24 */ addi r4, r1, 0x24 -/* 8001636C 000132CC 48 2F DA 65 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 8001636C 000132CC 48 2F DA 65 */ bl __ct__13CUnitVector3fFRC9CVector3f /* 80016370 000132D0 3C 80 80 5A */ lis r4, skZero3f@ha /* 80016374 000132D4 7C 7B 1B 78 */ mr r27, r3 /* 80016378 000132D8 38 84 66 A0 */ addi r4, r4, skZero3f@l /* 8001637C 000132DC 38 61 00 3C */ addi r3, r1, 0x3c -/* 80016380 000132E0 48 2F DA 51 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 80016380 000132E0 48 2F DA 51 */ bl __ct__13CUnitVector3fFRC9CVector3f /* 80016384 000132E4 3C 80 80 5A */ lis r4, lbl_805A66F4@ha /* 80016388 000132E8 7F 65 DB 78 */ mr r5, r27 /* 8001638C 000132EC 38 C4 66 F4 */ addi r6, r4, lbl_805A66F4@l @@ -10589,7 +10589,7 @@ lbl_80019238: /* 80019258 000161B8 D0 41 00 44 */ stfs f2, 0x44(r1) /* 8001925C 000161BC D0 21 00 48 */ stfs f1, 0x48(r1) /* 80019260 000161C0 D0 01 00 4C */ stfs f0, 0x4c(r1) -/* 80019264 000161C4 48 2F AB 6D */ bl __ct__11CUnitVectorFRC9CVector3f +/* 80019264 000161C4 48 2F AB 6D */ bl __ct__13CUnitVector3fFRC9CVector3f /* 80019268 000161C8 80 1D 04 98 */ lwz r0, 0x498(r29) /* 8001926C 000161CC 2C 00 00 02 */ cmpwi r0, 2 /* 80019270 000161D0 41 82 02 6C */ beq lbl_800194DC diff --git a/asm/MetroidPrime/Player/CPlayerGun.s b/asm/MetroidPrime/Player/CPlayerGun.s index 7148766c..52608744 100644 --- a/asm/MetroidPrime/Player/CPlayerGun.s +++ b/asm/MetroidPrime/Player/CPlayerGun.s @@ -2849,7 +2849,7 @@ lbl_8003CFE4: /* 8003D02C 00039F8C D0 01 00 14 */ stfs f0, 0x14(r1) /* 8003D030 00039F90 D0 21 00 18 */ stfs f1, 0x18(r1) /* 8003D034 00039F94 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 8003D038 00039F98 48 2D 6D 99 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 8003D038 00039F98 48 2D 6D 99 */ bl __ct__13CUnitVector3fFRC9CVector3f /* 8003D03C 00039F9C 7C 64 1B 78 */ mr r4, r3 /* 8003D040 00039FA0 38 61 00 2C */ addi r3, r1, 0x2c /* 8003D044 00039FA4 38 A1 00 10 */ addi r5, r1, 0x10 diff --git a/asm/MetroidPrime/Player/CPlayerOrbit.s b/asm/MetroidPrime/Player/CPlayerOrbit.s index 2daa080d..7d8baa7f 100644 --- a/asm/MetroidPrime/Player/CPlayerOrbit.s +++ b/asm/MetroidPrime/Player/CPlayerOrbit.s @@ -121,14 +121,14 @@ lbl_8017952C: /* 8017954C 001764AC 38 61 00 28 */ addi r3, r1, 0x28 /* 80179550 001764B0 38 81 00 90 */ addi r4, r1, 0x90 /* 80179554 001764B4 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 80179558 001764B8 48 19 A8 79 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 80179558 001764B8 48 19 A8 79 */ bl __ct__13CUnitVector3fFRC9CVector3f /* 8017955C 001764BC 7C 7E 1B 78 */ mr r30, r3 /* 80179560 001764C0 38 61 00 34 */ addi r3, r1, 0x34 /* 80179564 001764C4 38 81 00 78 */ addi r4, r1, 0x78 /* 80179568 001764C8 48 19 B2 E9 */ bl AsNormalized__9CVector3fCFv /* 8017956C 001764CC 38 61 00 40 */ addi r3, r1, 0x40 /* 80179570 001764D0 38 81 00 34 */ addi r4, r1, 0x34 -/* 80179574 001764D4 48 19 A8 5D */ bl __ct__11CUnitVectorFRC9CVector3f +/* 80179574 001764D4 48 19 A8 5D */ bl __ct__13CUnitVector3fFRC9CVector3f /* 80179578 001764D8 7C 64 1B 78 */ mr r4, r3 /* 8017957C 001764DC 7F C5 F3 78 */ mr r5, r30 /* 80179580 001764E0 38 61 00 4C */ addi r3, r1, 0x4c @@ -820,14 +820,14 @@ lbl_80179FB0: /* 80179FC4 00176F24 D0 21 01 8C */ stfs f1, 0x18c(r1) /* 80179FC8 00176F28 EC 00 07 F2 */ fmuls f0, f0, f31 /* 80179FCC 00176F2C D0 01 00 10 */ stfs f0, 0x10(r1) -/* 80179FD0 00176F30 48 19 9E 01 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 80179FD0 00176F30 48 19 9E 01 */ bl __ct__13CUnitVector3fFRC9CVector3f /* 80179FD4 00176F34 7C 7F 1B 78 */ mr r31, r3 /* 80179FD8 00176F38 38 61 00 A8 */ addi r3, r1, 0xa8 /* 80179FDC 00176F3C 38 81 01 84 */ addi r4, r1, 0x184 /* 80179FE0 00176F40 48 19 A8 71 */ bl AsNormalized__9CVector3fCFv /* 80179FE4 00176F44 38 61 00 B4 */ addi r3, r1, 0xb4 /* 80179FE8 00176F48 38 81 00 A8 */ addi r4, r1, 0xa8 -/* 80179FEC 00176F4C 48 19 9D E5 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 80179FEC 00176F4C 48 19 9D E5 */ bl __ct__13CUnitVector3fFRC9CVector3f /* 80179FF0 00176F50 7C 64 1B 78 */ mr r4, r3 /* 80179FF4 00176F54 7F E5 FB 78 */ mr r5, r31 /* 80179FF8 00176F58 38 61 00 C0 */ addi r3, r1, 0xc0 diff --git a/asm/MetroidPrime/Player/CSamusFaceReflection.s b/asm/MetroidPrime/Player/CSamusFaceReflection.s index 0a2939a8..1346d719 100644 --- a/asm/MetroidPrime/Player/CSamusFaceReflection.s +++ b/asm/MetroidPrime/Player/CSamusFaceReflection.s @@ -411,7 +411,7 @@ Update__20CSamusFaceReflectionFfRC13CStateManagerR9CRandom16: /* 8015B3D4 00158334 D0 21 00 A4 */ stfs f1, 0xa4(r1) /* 8015B3D8 00158338 D0 01 00 A0 */ stfs f0, 0xa0(r1) /* 8015B3DC 0015833C D0 41 00 A8 */ stfs f2, 0xa8(r1) -/* 8015B3E0 00158340 48 1B 89 F1 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 8015B3E0 00158340 48 1B 89 F1 */ bl __ct__13CUnitVector3fFRC9CVector3f /* 8015B3E4 00158344 3C 60 80 5A */ lis r3, lbl_805A6724@ha /* 8015B3E8 00158348 C0 C2 9E B8 */ lfs f6, lbl_805ABBD8@sda21(r2) /* 8015B3EC 0015834C 3B C3 67 24 */ addi r30, r3, lbl_805A6724@l @@ -457,7 +457,7 @@ Update__20CSamusFaceReflectionFfRC13CStateManagerR9CRandom16: /* 8015B48C 001583EC 48 1B 5D D9 */ bl Transform__11CQuaternionCFRC9CVector3f /* 8015B490 001583F0 38 61 00 50 */ addi r3, r1, 0x50 /* 8015B494 001583F4 38 81 00 44 */ addi r4, r1, 0x44 -/* 8015B498 001583F8 48 1B 89 39 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 8015B498 001583F8 48 1B 89 39 */ bl __ct__13CUnitVector3fFRC9CVector3f /* 8015B49C 001583FC 7C 65 1B 78 */ mr r5, r3 /* 8015B4A0 00158400 38 61 00 68 */ addi r3, r1, 0x68 /* 8015B4A4 00158404 38 81 00 5C */ addi r4, r1, 0x5c diff --git a/asm/MetroidPrime/ScriptObjects/CScriptDistanceFog.s b/asm/MetroidPrime/ScriptObjects/CScriptDistanceFog.s index 733fe84d..29f2ea51 100644 --- a/asm/MetroidPrime/ScriptObjects/CScriptDistanceFog.s +++ b/asm/MetroidPrime/ScriptObjects/CScriptDistanceFog.s @@ -234,7 +234,7 @@ lbl_8014D23C: /* 8014D344 0014A2A4 C0 22 9D 28 */ lfs f1, lbl_805ABA48@sda21(r2) /* 8014D348 0014A2A8 7C 64 1B 78 */ mr r4, r3 /* 8014D34C 0014A2AC 7F A3 EB 78 */ mr r3, r29 -/* 8014D350 0014A2B0 48 1C 2B D5 */ bl sub_8030ff24 +/* 8014D350 0014A2B0 48 1C 2B D5 */ bl close_enough__FRC9CVector2fRC9CVector2ff /* 8014D354 0014A2B4 54 60 06 3F */ clrlwi. r0, r3, 0x18 /* 8014D358 0014A2B8 41 82 00 28 */ beq lbl_8014D380 /* 8014D35C 0014A2BC C0 22 9D 20 */ lfs f1, lbl_805ABA40@sda21(r2) diff --git a/asm/MetroidPrime/ScriptObjects/CScriptSpindleCamera.s b/asm/MetroidPrime/ScriptObjects/CScriptSpindleCamera.s index a7c32331..2da365cd 100644 --- a/asm/MetroidPrime/ScriptObjects/CScriptSpindleCamera.s +++ b/asm/MetroidPrime/ScriptObjects/CScriptSpindleCamera.s @@ -760,11 +760,11 @@ lbl_802406C8: /* 802406DC 0023D63C D0 A1 00 24 */ stfs f5, 0x24(r1) /* 802406E0 0023D640 38 61 01 00 */ addi r3, r1, 0x100 /* 802406E4 0023D644 38 81 01 E4 */ addi r4, r1, 0x1e4 -/* 802406E8 0023D648 48 0D 36 E9 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 802406E8 0023D648 48 0D 36 E9 */ bl __ct__13CUnitVector3fFRC9CVector3f /* 802406EC 0023D64C 7C 7D 1B 78 */ mr r29, r3 /* 802406F0 0023D650 38 61 01 0C */ addi r3, r1, 0x10c /* 802406F4 0023D654 38 81 02 30 */ addi r4, r1, 0x230 -/* 802406F8 0023D658 48 0D 36 D9 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 802406F8 0023D658 48 0D 36 D9 */ bl __ct__13CUnitVector3fFRC9CVector3f /* 802406FC 0023D65C 7C 64 1B 78 */ mr r4, r3 /* 80240700 0023D660 7F A5 EB 78 */ mr r5, r29 /* 80240704 0023D664 38 61 01 18 */ addi r3, r1, 0x118 diff --git a/asm/WorldFormat/CCollisionSurface.s b/asm/WorldFormat/CCollisionSurface.s index bcb22afe..bee0a4fc 100644 --- a/asm/WorldFormat/CCollisionSurface.s +++ b/asm/WorldFormat/CCollisionSurface.s @@ -63,7 +63,7 @@ GetNormal__17CCollisionSurfaceCFv: /* 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 +/* 802A2714 0029F674 48 07 16 BD */ bl __ct__13CUnitVector3fFRC9CVector3f /* 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 diff --git a/asm/rodata.s b/asm/rodata.s index eff7e86e..27223eb4 100644 --- a/asm/rodata.s +++ b/asm/rodata.s @@ -1409,8 +1409,8 @@ lbl_803D73F0: .global lbl_803D7400 lbl_803D7400: .incbin "baserom.dol", 0x3D4400, 0x8 -.global lbl_803D7408 -lbl_803D7408: +.global gkCRC32Table +gkCRC32Table: .incbin "baserom.dol", 0x3D4408, 0x400 .global lbl_803D7808 lbl_803D7808: diff --git a/asm/sbss.s b/asm/sbss.s index e1a273f5..f4e30d32 100644 --- a/asm/sbss.s +++ b/asm/sbss.s @@ -1401,8 +1401,8 @@ lbl_805A9434: .global lbl_805A9438 lbl_805A9438: .skip 0x8 -.global lbl_805A9440 -lbl_805A9440: +.global skZero2f +skZero2f: .skip 0x8 .global lbl_805A9448 lbl_805A9448: diff --git a/asm/text.s b/asm/text.s deleted file mode 100644 index 6338d04a..00000000 --- a/asm/text.s +++ /dev/null @@ -1,118252 +0,0 @@ -.include "macros.inc" - -.section .text, "ax" # 0x80003640 - 0x803CB1C0 - -.global GetNormalIndependentLightingAtPoint__6CLightCFRC9CVector3f -GetNormalIndependentLightingAtPoint__6CLightCFRC9CVector3f: -/* 80306024 00302F84 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 80306028 00302F88 7C 08 02 A6 */ mflr r0 -/* 8030602C 00302F8C 90 01 00 54 */ stw r0, 0x54(r1) -/* 80306030 00302F90 DB E1 00 40 */ stfd f31, 0x40(r1) -/* 80306034 00302F94 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 -/* 80306038 00302F98 DB C1 00 30 */ stfd f30, 0x30(r1) -/* 8030603C 00302F9C F3 C1 00 38 */ psq_st f30, 56(r1), 0, qr0 -/* 80306040 00302FA0 DB A1 00 20 */ stfd f29, 0x20(r1) -/* 80306044 00302FA4 F3 A1 00 28 */ psq_st f29, 40(r1), 0, qr0 -/* 80306048 00302FA8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8030604C 00302FAC 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80306050 00302FB0 7C 7E 1B 78 */ mr r30, r3 -/* 80306054 00302FB4 7C 9F 23 78 */ mr r31, r4 -/* 80306058 00302FB8 E0 3F A0 1A */ psq_l f1, 26(r31), 1, qr2 -/* 8030605C 00302FBC C0 02 C7 7C */ lfs f0, lbl_805AE49C@sda21(r2) -/* 80306060 00302FC0 EF E0 00 72 */ fmuls f31, f0, f1 -/* 80306064 00302FC4 E0 3F A0 19 */ psq_l f1, 25(r31), 1, qr2 -/* 80306068 00302FC8 EF C0 00 72 */ fmuls f30, f0, f1 -/* 8030606C 00302FCC E0 3F A0 18 */ psq_l f1, 24(r31), 1, qr2 -/* 80306070 00302FD0 80 1F 00 1C */ lwz r0, 0x1c(r31) -/* 80306074 00302FD4 EF A0 00 72 */ fmuls f29, f0, f1 -/* 80306078 00302FD8 2C 00 00 03 */ cmpwi r0, 3 -/* 8030607C 00302FDC 40 82 00 14 */ bne lbl_80306090 -/* 80306080 00302FE0 D3 BE 00 00 */ stfs f29, 0(r30) -/* 80306084 00302FE4 D3 DE 00 04 */ stfs f30, 4(r30) -/* 80306088 00302FE8 D3 FE 00 08 */ stfs f31, 8(r30) -/* 8030608C 00302FEC 48 00 00 98 */ b lbl_80306124 -lbl_80306090: -/* 80306090 00302FF0 C0 3F 00 04 */ lfs f1, 4(r31) -/* 80306094 00302FF4 38 61 00 0C */ addi r3, r1, 0xc -/* 80306098 00302FF8 C0 05 00 04 */ lfs f0, 4(r5) -/* 8030609C 00302FFC C0 7F 00 08 */ lfs f3, 8(r31) -/* 803060A0 00303000 C0 45 00 08 */ lfs f2, 8(r5) -/* 803060A4 00303004 EC 81 00 28 */ fsubs f4, f1, f0 -/* 803060A8 00303008 C0 3F 00 00 */ lfs f1, 0(r31) -/* 803060AC 0030300C C0 05 00 00 */ lfs f0, 0(r5) -/* 803060B0 00303010 EC 43 10 28 */ fsubs f2, f3, f2 -/* 803060B4 00303014 D0 81 00 10 */ stfs f4, 0x10(r1) -/* 803060B8 00303018 EC 01 00 28 */ fsubs f0, f1, f0 -/* 803060BC 0030301C D0 41 00 14 */ stfs f2, 0x14(r1) -/* 803060C0 00303020 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 803060C4 00303024 48 00 E7 F5 */ bl Magnitude__9CVector3fCFv -/* 803060C8 00303028 FC 40 08 18 */ frsp f2, f1 -/* 803060CC 0030302C C0 02 C7 78 */ lfs f0, lbl_805AE498@sda21(r2) -/* 803060D0 00303030 D0 21 00 08 */ stfs f1, 8(r1) -/* 803060D4 00303034 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 803060D8 00303038 40 80 00 0C */ bge lbl_803060E4 -/* 803060DC 0030303C 38 62 C7 78 */ addi r3, r2, lbl_805AE498@sda21 -/* 803060E0 00303040 48 00 00 08 */ b lbl_803060E8 -lbl_803060E4: -/* 803060E4 00303044 38 61 00 08 */ addi r3, r1, 8 -lbl_803060E8: -/* 803060E8 00303048 C0 83 00 00 */ lfs f4, 0(r3) -/* 803060EC 0030304C C0 5F 00 2C */ lfs f2, 0x2c(r31) -/* 803060F0 00303050 C0 3F 00 28 */ lfs f1, 0x28(r31) -/* 803060F4 00303054 C0 1F 00 24 */ lfs f0, 0x24(r31) -/* 803060F8 00303058 EC 42 01 32 */ fmuls f2, f2, f4 -/* 803060FC 0030305C C0 62 C7 80 */ lfs f3, lbl_805AE4A0@sda21(r2) -/* 80306100 00303060 EC 01 01 3A */ fmadds f0, f1, f4, f0 -/* 80306104 00303064 EC 04 00 BA */ fmadds f0, f4, f2, f0 -/* 80306108 00303068 EC 03 00 24 */ fdivs f0, f3, f0 -/* 8030610C 0030306C EC 40 07 72 */ fmuls f2, f0, f29 -/* 80306110 00303070 EC 20 07 B2 */ fmuls f1, f0, f30 -/* 80306114 00303074 EC 00 07 F2 */ fmuls f0, f0, f31 -/* 80306118 00303078 D0 5E 00 00 */ stfs f2, 0(r30) -/* 8030611C 0030307C D0 3E 00 04 */ stfs f1, 4(r30) -/* 80306120 00303080 D0 1E 00 08 */ stfs f0, 8(r30) -lbl_80306124: -/* 80306124 00303084 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 -/* 80306128 00303088 CB E1 00 40 */ lfd f31, 0x40(r1) -/* 8030612C 0030308C E3 C1 00 38 */ psq_l f30, 56(r1), 0, qr0 -/* 80306130 00303090 CB C1 00 30 */ lfd f30, 0x30(r1) -/* 80306134 00303094 E3 A1 00 28 */ psq_l f29, 40(r1), 0, qr0 -/* 80306138 00303098 CB A1 00 20 */ lfd f29, 0x20(r1) -/* 8030613C 0030309C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80306140 003030A0 80 01 00 54 */ lwz r0, 0x54(r1) -/* 80306144 003030A4 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80306148 003030A8 7C 08 03 A6 */ mtlr r0 -/* 8030614C 003030AC 38 21 00 50 */ addi r1, r1, 0x50 -/* 80306150 003030B0 4E 80 00 20 */ blr - -.global GetIntensity__6CLightCFv -GetIntensity__6CLightCFv: -/* 80306154 003030B4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80306158 003030B8 88 83 00 4C */ lbz r4, 0x4c(r3) -/* 8030615C 003030BC 54 80 CF FF */ rlwinm. r0, r4, 0x19, 0x1f, 0x1f -/* 80306160 003030C0 41 82 00 84 */ beq lbl_803061E4 -/* 80306164 003030C4 38 00 00 00 */ li r0, 0 -/* 80306168 003030C8 C0 62 C7 80 */ lfs f3, lbl_805AE4A0@sda21(r2) -/* 8030616C 003030CC 50 04 3E 30 */ rlwimi r4, r0, 7, 0x18, 0x18 -/* 80306170 003030D0 98 83 00 4C */ stb r4, 0x4c(r3) -/* 80306174 003030D4 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 80306178 003030D8 2C 00 00 04 */ cmpwi r0, 4 -/* 8030617C 003030DC 40 82 00 08 */ bne lbl_80306184 -/* 80306180 003030E0 C0 63 00 30 */ lfs f3, 0x30(r3) -lbl_80306184: -/* 80306184 003030E4 E0 23 A0 1A */ psq_l f1, 26(r3), 1, qr2 -/* 80306188 003030E8 C0 02 C7 7C */ lfs f0, lbl_805AE49C@sda21(r2) -/* 8030618C 003030EC EC 20 00 72 */ fmuls f1, f0, f1 -/* 80306190 003030F0 D0 21 00 08 */ stfs f1, 8(r1) -/* 80306194 003030F4 E0 43 A0 19 */ psq_l f2, 25(r3), 1, qr2 -/* 80306198 003030F8 EC 00 00 B2 */ fmuls f0, f0, f2 -/* 8030619C 003030FC FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 803061A0 00303100 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 803061A4 00303104 40 80 00 0C */ bge lbl_803061B0 -/* 803061A8 00303108 38 81 00 08 */ addi r4, r1, 8 -/* 803061AC 0030310C 48 00 00 08 */ b lbl_803061B4 -lbl_803061B0: -/* 803061B0 00303110 38 81 00 0C */ addi r4, r1, 0xc -lbl_803061B4: -/* 803061B4 00303114 E0 23 A0 18 */ psq_l f1, 24(r3), 1, qr2 -/* 803061B8 00303118 C0 02 C7 7C */ lfs f0, lbl_805AE49C@sda21(r2) -/* 803061BC 0030311C EC 20 00 72 */ fmuls f1, f0, f1 -/* 803061C0 00303120 D0 21 00 10 */ stfs f1, 0x10(r1) -/* 803061C4 00303124 C0 04 00 00 */ lfs f0, 0(r4) -/* 803061C8 00303128 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 803061CC 0030312C 40 80 00 08 */ bge lbl_803061D4 -/* 803061D0 00303130 48 00 00 08 */ b lbl_803061D8 -lbl_803061D4: -/* 803061D4 00303134 38 81 00 10 */ addi r4, r1, 0x10 -lbl_803061D8: -/* 803061D8 00303138 C0 04 00 00 */ lfs f0, 0(r4) -/* 803061DC 0030313C EC 03 00 32 */ fmuls f0, f3, f0 -/* 803061E0 00303140 D0 03 00 48 */ stfs f0, 0x48(r3) -lbl_803061E4: -/* 803061E4 00303144 C0 23 00 48 */ lfs f1, 0x48(r3) -/* 803061E8 00303148 38 21 00 20 */ addi r1, r1, 0x20 -/* 803061EC 0030314C 4E 80 00 20 */ blr - -.global CalculateLightRadius__6CLightCFv -CalculateLightRadius__6CLightCFv: -/* 803061F0 00303150 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803061F4 00303154 7C 08 02 A6 */ mflr r0 -/* 803061F8 00303158 C0 22 C7 8C */ lfs f1, lbl_805AE4AC@sda21(r2) -/* 803061FC 0030315C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80306200 00303160 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80306204 00303164 7C 7F 1B 78 */ mr r31, r3 -/* 80306208 00303168 C0 03 00 28 */ lfs f0, 0x28(r3) -/* 8030620C 0030316C FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80306210 00303170 40 80 00 18 */ bge lbl_80306228 -/* 80306214 00303174 C0 1F 00 2C */ lfs f0, 0x2c(r31) -/* 80306218 00303178 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 8030621C 0030317C 40 80 00 0C */ bge lbl_80306228 -/* 80306220 00303180 C0 22 C7 90 */ lfs f1, lbl_805AE4B0@sda21(r2) -/* 80306224 00303184 48 00 00 9C */ b lbl_803062C0 -lbl_80306228: -/* 80306228 00303188 7F E3 FB 78 */ mr r3, r31 -/* 8030622C 0030318C 4B FF FF 29 */ bl GetIntensity__6CLightCFv -/* 80306230 00303190 C0 7F 00 2C */ lfs f3, 0x2c(r31) -/* 80306234 00303194 C0 02 C7 8C */ lfs f0, lbl_805AE4AC@sda21(r2) -/* 80306238 00303198 C0 82 C7 88 */ lfs f4, lbl_805AE4A8@sda21(r2) -/* 8030623C 0030319C FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 80306240 003031A0 40 81 00 44 */ ble lbl_80306284 -/* 80306244 003031A4 C0 4D 9C 54 */ lfs f2, lbl_805A8814@sda21(r13) -/* 80306248 003031A8 C0 0D 9C 50 */ lfs f0, lbl_805A8810@sda21(r13) -/* 8030624C 003031AC FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80306250 003031B0 40 80 00 0C */ bge lbl_8030625C -/* 80306254 003031B4 38 6D 9C 54 */ addi r3, r13, lbl_805A8814@sda21 -/* 80306258 003031B8 48 00 00 08 */ b lbl_80306260 -lbl_8030625C: -/* 8030625C 003031BC 38 6D 9C 50 */ addi r3, r13, lbl_805A8810@sda21 -lbl_80306260: -/* 80306260 003031C0 C0 02 C7 8C */ lfs f0, lbl_805AE4AC@sda21(r2) -/* 80306264 003031C4 C0 43 00 00 */ lfs f2, 0(r3) -/* 80306268 003031C8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8030626C 003031CC 40 81 00 50 */ ble lbl_803062BC -/* 80306270 003031D0 EC 02 00 F2 */ fmuls f0, f2, f3 -/* 80306274 003031D4 EC 21 00 24 */ fdivs f1, f1, f0 -/* 80306278 003031D8 48 00 F2 89 */ bl SqrtF__5CMathFf -/* 8030627C 003031DC FC 80 08 90 */ fmr f4, f1 -/* 80306280 003031E0 48 00 00 3C */ b lbl_803062BC -lbl_80306284: -/* 80306284 003031E4 C0 4D 9C 5C */ lfs f2, lbl_805A881C@sda21(r13) -/* 80306288 003031E8 C0 0D 9C 58 */ lfs f0, lbl_805A8818@sda21(r13) -/* 8030628C 003031EC FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80306290 003031F0 40 80 00 0C */ bge lbl_8030629C -/* 80306294 003031F4 38 6D 9C 5C */ addi r3, r13, lbl_805A881C@sda21 -/* 80306298 003031F8 48 00 00 08 */ b lbl_803062A0 -lbl_8030629C: -/* 8030629C 003031FC 38 6D 9C 58 */ addi r3, r13, lbl_805A8818@sda21 -lbl_803062A0: -/* 803062A0 00303200 C0 5F 00 28 */ lfs f2, 0x28(r31) -/* 803062A4 00303204 C0 02 C7 8C */ lfs f0, lbl_805AE4AC@sda21(r2) -/* 803062A8 00303208 C0 63 00 00 */ lfs f3, 0(r3) -/* 803062AC 0030320C FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 803062B0 00303210 40 81 00 0C */ ble lbl_803062BC -/* 803062B4 00303214 EC 03 00 B2 */ fmuls f0, f3, f2 -/* 803062B8 00303218 EC 81 00 24 */ fdivs f4, f1, f0 -lbl_803062BC: -/* 803062BC 0030321C FC 20 20 90 */ fmr f1, f4 -lbl_803062C0: -/* 803062C0 00303220 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803062C4 00303224 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 803062C8 00303228 7C 08 03 A6 */ mtlr r0 -/* 803062CC 0030322C 38 21 00 10 */ addi r1, r1, 0x10 -/* 803062D0 00303230 4E 80 00 20 */ blr - -.global GetRadius__6CLightCFv -GetRadius__6CLightCFv: -/* 803062D4 00303234 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803062D8 00303238 7C 08 02 A6 */ mflr r0 -/* 803062DC 0030323C 90 01 00 14 */ stw r0, 0x14(r1) -/* 803062E0 00303240 93 E1 00 0C */ stw r31, 0xc(r1) -/* 803062E4 00303244 7C 7F 1B 78 */ mr r31, r3 -/* 803062E8 00303248 88 03 00 4C */ lbz r0, 0x4c(r3) -/* 803062EC 0030324C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 803062F0 00303250 41 82 00 1C */ beq lbl_8030630C -/* 803062F4 00303254 4B FF FE FD */ bl CalculateLightRadius__6CLightCFv -/* 803062F8 00303258 D0 3F 00 44 */ stfs f1, 0x44(r31) -/* 803062FC 0030325C 38 60 00 00 */ li r3, 0 -/* 80306300 00303260 88 1F 00 4C */ lbz r0, 0x4c(r31) -/* 80306304 00303264 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 80306308 00303268 98 1F 00 4C */ stb r0, 0x4c(r31) -lbl_8030630C: -/* 8030630C 0030326C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80306310 00303270 C0 3F 00 44 */ lfs f1, 0x44(r31) -/* 80306314 00303274 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80306318 00303278 7C 08 03 A6 */ mtlr r0 -/* 8030631C 0030327C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80306320 00303280 4E 80 00 20 */ blr - -.global SetDirection__6CLightFRC9CVector3f -SetDirection__6CLightFRC9CVector3f: -/* 80306324 00303284 C0 04 00 00 */ lfs f0, 0(r4) -/* 80306328 00303288 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 8030632C 0030328C C0 04 00 04 */ lfs f0, 4(r4) -/* 80306330 00303290 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 80306334 00303294 C0 04 00 08 */ lfs f0, 8(r4) -/* 80306338 00303298 D0 03 00 14 */ stfs f0, 0x14(r3) -/* 8030633C 0030329C 4E 80 00 20 */ blr - -.global SetPosition__6CLightFRC9CVector3f -SetPosition__6CLightFRC9CVector3f: -/* 80306340 003032A0 C0 04 00 00 */ lfs f0, 0(r4) -/* 80306344 003032A4 D0 03 00 00 */ stfs f0, 0(r3) -/* 80306348 003032A8 C0 04 00 04 */ lfs f0, 4(r4) -/* 8030634C 003032AC D0 03 00 04 */ stfs f0, 4(r3) -/* 80306350 003032B0 C0 04 00 08 */ lfs f0, 8(r4) -/* 80306354 003032B4 D0 03 00 08 */ stfs f0, 8(r3) -/* 80306358 003032B8 4E 80 00 20 */ blr - -.global SetColor__6CLightFRC6CColor -SetColor__6CLightFRC6CColor: -/* 8030635C 003032BC 80 04 00 00 */ lwz r0, 0(r4) -/* 80306360 003032C0 38 80 00 01 */ li r4, 1 -/* 80306364 003032C4 90 03 00 18 */ stw r0, 0x18(r3) -/* 80306368 003032C8 88 03 00 4C */ lbz r0, 0x4c(r3) -/* 8030636C 003032CC 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 -/* 80306370 003032D0 98 03 00 4C */ stb r0, 0x4c(r3) -/* 80306374 003032D4 88 03 00 4C */ lbz r0, 0x4c(r3) -/* 80306378 003032D8 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 8030637C 003032DC 98 03 00 4C */ stb r0, 0x4c(r3) -/* 80306380 003032E0 4E 80 00 20 */ blr - -.global SetAngleAttenuation__6CLightFfff -SetAngleAttenuation__6CLightFfff: -/* 80306384 003032E4 D0 23 00 30 */ stfs f1, 0x30(r3) -/* 80306388 003032E8 38 80 00 01 */ li r4, 1 -/* 8030638C 003032EC D0 43 00 34 */ stfs f2, 0x34(r3) -/* 80306390 003032F0 D0 63 00 38 */ stfs f3, 0x38(r3) -/* 80306394 003032F4 88 03 00 4C */ lbz r0, 0x4c(r3) -/* 80306398 003032F8 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 -/* 8030639C 003032FC 98 03 00 4C */ stb r0, 0x4c(r3) -/* 803063A0 00303300 88 03 00 4C */ lbz r0, 0x4c(r3) -/* 803063A4 00303304 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 803063A8 00303308 98 03 00 4C */ stb r0, 0x4c(r3) -/* 803063AC 0030330C 4E 80 00 20 */ blr - -.global SetAttenuation__6CLightFfff -SetAttenuation__6CLightFfff: -/* 803063B0 00303310 D0 23 00 24 */ stfs f1, 0x24(r3) -/* 803063B4 00303314 38 80 00 01 */ li r4, 1 -/* 803063B8 00303318 D0 43 00 28 */ stfs f2, 0x28(r3) -/* 803063BC 0030331C D0 63 00 2C */ stfs f3, 0x2c(r3) -/* 803063C0 00303320 88 03 00 4C */ lbz r0, 0x4c(r3) -/* 803063C4 00303324 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 -/* 803063C8 00303328 98 03 00 4C */ stb r0, 0x4c(r3) -/* 803063CC 0030332C 88 03 00 4C */ lbz r0, 0x4c(r3) -/* 803063D0 00303330 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 803063D4 00303334 98 03 00 4C */ stb r0, 0x4c(r3) -/* 803063D8 00303338 4E 80 00 20 */ blr - -.global BuildCustom__6CLightFRC9CVector3fRC9CVector3fRC6CColorffffff -BuildCustom__6CLightFRC9CVector3fRC9CVector3fRC6CColorffffff: -/* 803063DC 0030333C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803063E0 00303340 7C 08 02 A6 */ mflr r0 -/* 803063E4 00303344 90 01 00 14 */ stw r0, 0x14(r1) -/* 803063E8 00303348 48 00 00 F5 */ bl __ct__6CLightFRC9CVector3fRC9CVector3fRC6CColorffffff -/* 803063EC 0030334C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803063F0 00303350 7C 08 03 A6 */ mtlr r0 -/* 803063F4 00303354 38 21 00 10 */ addi r1, r1, 0x10 -/* 803063F8 00303358 4E 80 00 20 */ blr - -.global BuildSpot__6CLightFRC9CVector3fRC9CVector3fRC6CColorf -BuildSpot__6CLightFRC9CVector3fRC9CVector3fRC6CColorf: -/* 803063FC 0030335C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80306400 00303360 7C 08 02 A6 */ mflr r0 -/* 80306404 00303364 7C 88 23 78 */ mr r8, r4 -/* 80306408 00303368 7C C7 33 78 */ mr r7, r6 -/* 8030640C 0030336C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80306410 00303370 7C A0 2B 78 */ mr r0, r5 -/* 80306414 00303374 38 80 00 00 */ li r4, 0 -/* 80306418 00303378 7D 05 43 78 */ mr r5, r8 -/* 8030641C 0030337C 7C 06 03 78 */ mr r6, r0 -/* 80306420 00303380 48 00 01 51 */ bl __ct__6CLightF10ELightTypeRC9CVector3fRC9CVector3fRC6CColorf -/* 80306424 00303384 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80306428 00303388 7C 08 03 A6 */ mtlr r0 -/* 8030642C 0030338C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80306430 00303390 4E 80 00 20 */ blr - -.global BuildPoint__6CLightFRC9CVector3fRC6CColor -BuildPoint__6CLightFRC9CVector3fRC6CColor: -/* 80306434 00303394 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80306438 00303398 7C 08 02 A6 */ mflr r0 -/* 8030643C 0030339C 3C C0 80 5A */ lis r6, lbl_805A53E0@ha -/* 80306440 003033A0 7C A7 2B 78 */ mr r7, r5 -/* 80306444 003033A4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80306448 003033A8 7C 85 23 78 */ mr r5, r4 -/* 8030644C 003033AC C0 22 C7 94 */ lfs f1, lbl_805AE4B4@sda21(r2) -/* 80306450 003033B0 38 C6 53 E0 */ addi r6, r6, lbl_805A53E0@l -/* 80306454 003033B4 38 80 00 01 */ li r4, 1 -/* 80306458 003033B8 48 00 01 19 */ bl __ct__6CLightF10ELightTypeRC9CVector3fRC9CVector3fRC6CColorf -/* 8030645C 003033BC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80306460 003033C0 7C 08 03 A6 */ mtlr r0 -/* 80306464 003033C4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80306468 003033C8 4E 80 00 20 */ blr - -.global BuildDirectional__6CLightFRC9CVector3fRC6CColor -BuildDirectional__6CLightFRC9CVector3fRC6CColor: -/* 8030646C 003033CC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80306470 003033D0 7C 08 02 A6 */ mflr r0 -/* 80306474 003033D4 3C C0 80 5A */ lis r6, lbl_805A53C8@ha -/* 80306478 003033D8 7C A7 2B 78 */ mr r7, r5 -/* 8030647C 003033DC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80306480 003033E0 38 A6 53 C8 */ addi r5, r6, lbl_805A53C8@l -/* 80306484 003033E4 7C 86 23 78 */ mr r6, r4 -/* 80306488 003033E8 C0 22 C7 94 */ lfs f1, lbl_805AE4B4@sda21(r2) -/* 8030648C 003033EC 38 80 00 02 */ li r4, 2 -/* 80306490 003033F0 48 00 00 E1 */ bl __ct__6CLightF10ELightTypeRC9CVector3fRC9CVector3fRC6CColorf -/* 80306494 003033F4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80306498 003033F8 7C 08 03 A6 */ mtlr r0 -/* 8030649C 003033FC 38 21 00 10 */ addi r1, r1, 0x10 -/* 803064A0 00303400 4E 80 00 20 */ blr - -.global BuildLocalAmbient__6CLightFRC9CVector3fRC6CColor -BuildLocalAmbient__6CLightFRC9CVector3fRC6CColor: -/* 803064A4 00303404 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803064A8 00303408 7C 08 02 A6 */ mflr r0 -/* 803064AC 0030340C 3C C0 80 5A */ lis r6, lbl_805A53E0@ha -/* 803064B0 00303410 7C A7 2B 78 */ mr r7, r5 -/* 803064B4 00303414 90 01 00 14 */ stw r0, 0x14(r1) -/* 803064B8 00303418 7C 85 23 78 */ mr r5, r4 -/* 803064BC 0030341C C0 22 C7 94 */ lfs f1, lbl_805AE4B4@sda21(r2) -/* 803064C0 00303420 38 C6 53 E0 */ addi r6, r6, lbl_805A53E0@l -/* 803064C4 00303424 38 80 00 03 */ li r4, 3 -/* 803064C8 00303428 48 00 00 A9 */ bl __ct__6CLightF10ELightTypeRC9CVector3fRC9CVector3fRC6CColorf -/* 803064CC 0030342C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803064D0 00303430 7C 08 03 A6 */ mtlr r0 -/* 803064D4 00303434 38 21 00 10 */ addi r1, r1, 0x10 -/* 803064D8 00303438 4E 80 00 20 */ blr - -.global __ct__6CLightFRC9CVector3fRC9CVector3fRC6CColorffffff -__ct__6CLightFRC9CVector3fRC9CVector3fRC6CColorffffff: -/* 803064DC 0030343C C0 E4 00 00 */ lfs f7, 0(r4) -/* 803064E0 00303440 39 00 00 04 */ li r8, 4 -/* 803064E4 00303444 C0 02 C7 88 */ lfs f0, lbl_805AE4A8@sda21(r2) -/* 803064E8 00303448 38 00 00 00 */ li r0, 0 -/* 803064EC 0030344C D0 E3 00 00 */ stfs f7, 0(r3) -/* 803064F0 00303450 38 E0 00 01 */ li r7, 1 -/* 803064F4 00303454 C0 E4 00 04 */ lfs f7, 4(r4) -/* 803064F8 00303458 D0 E3 00 04 */ stfs f7, 4(r3) -/* 803064FC 0030345C C0 E4 00 08 */ lfs f7, 8(r4) -/* 80306500 00303460 D0 E3 00 08 */ stfs f7, 8(r3) -/* 80306504 00303464 C0 E5 00 00 */ lfs f7, 0(r5) -/* 80306508 00303468 D0 E3 00 0C */ stfs f7, 0xc(r3) -/* 8030650C 0030346C C0 E5 00 04 */ lfs f7, 4(r5) -/* 80306510 00303470 D0 E3 00 10 */ stfs f7, 0x10(r3) -/* 80306514 00303474 C0 E5 00 08 */ lfs f7, 8(r5) -/* 80306518 00303478 D0 E3 00 14 */ stfs f7, 0x14(r3) -/* 8030651C 0030347C 80 86 00 00 */ lwz r4, 0(r6) -/* 80306520 00303480 90 83 00 18 */ stw r4, 0x18(r3) -/* 80306524 00303484 91 03 00 1C */ stw r8, 0x1c(r3) -/* 80306528 00303488 D0 03 00 20 */ stfs f0, 0x20(r3) -/* 8030652C 0030348C D0 23 00 24 */ stfs f1, 0x24(r3) -/* 80306530 00303490 D0 43 00 28 */ stfs f2, 0x28(r3) -/* 80306534 00303494 D0 63 00 2C */ stfs f3, 0x2c(r3) -/* 80306538 00303498 D0 83 00 30 */ stfs f4, 0x30(r3) -/* 8030653C 0030349C D0 A3 00 34 */ stfs f5, 0x34(r3) -/* 80306540 003034A0 D0 C3 00 38 */ stfs f6, 0x38(r3) -/* 80306544 003034A4 90 03 00 3C */ stw r0, 0x3c(r3) -/* 80306548 003034A8 90 03 00 40 */ stw r0, 0x40(r3) -/* 8030654C 003034AC D0 03 00 44 */ stfs f0, 0x44(r3) -/* 80306550 003034B0 D0 03 00 48 */ stfs f0, 0x48(r3) -/* 80306554 003034B4 88 03 00 4C */ lbz r0, 0x4c(r3) -/* 80306558 003034B8 50 E0 3E 30 */ rlwimi r0, r7, 7, 0x18, 0x18 -/* 8030655C 003034BC 98 03 00 4C */ stb r0, 0x4c(r3) -/* 80306560 003034C0 88 03 00 4C */ lbz r0, 0x4c(r3) -/* 80306564 003034C4 50 E0 36 72 */ rlwimi r0, r7, 6, 0x19, 0x19 -/* 80306568 003034C8 98 03 00 4C */ stb r0, 0x4c(r3) -/* 8030656C 003034CC 4E 80 00 20 */ blr - -.global __ct__6CLightF10ELightTypeRC9CVector3fRC9CVector3fRC6CColorf -__ct__6CLightF10ELightTypeRC9CVector3fRC9CVector3fRC6CColorf: -/* 80306570 003034D0 C0 05 00 00 */ lfs f0, 0(r5) -/* 80306574 003034D4 38 00 00 00 */ li r0, 0 -/* 80306578 003034D8 C0 42 C7 88 */ lfs f2, lbl_805AE4A8@sda21(r2) -/* 8030657C 003034DC 39 00 00 01 */ li r8, 1 -/* 80306580 003034E0 D0 03 00 00 */ stfs f0, 0(r3) -/* 80306584 003034E4 C0 02 C7 80 */ lfs f0, lbl_805AE4A0@sda21(r2) -/* 80306588 003034E8 C0 65 00 04 */ lfs f3, 4(r5) -/* 8030658C 003034EC D0 63 00 04 */ stfs f3, 4(r3) -/* 80306590 003034F0 C0 65 00 08 */ lfs f3, 8(r5) -/* 80306594 003034F4 D0 63 00 08 */ stfs f3, 8(r3) -/* 80306598 003034F8 C0 66 00 00 */ lfs f3, 0(r6) -/* 8030659C 003034FC D0 63 00 0C */ stfs f3, 0xc(r3) -/* 803065A0 00303500 C0 66 00 04 */ lfs f3, 4(r6) -/* 803065A4 00303504 D0 63 00 10 */ stfs f3, 0x10(r3) -/* 803065A8 00303508 C0 66 00 08 */ lfs f3, 8(r6) -/* 803065AC 0030350C D0 63 00 14 */ stfs f3, 0x14(r3) -/* 803065B0 00303510 80 A7 00 00 */ lwz r5, 0(r7) -/* 803065B4 00303514 90 A3 00 18 */ stw r5, 0x18(r3) -/* 803065B8 00303518 90 83 00 1C */ stw r4, 0x1c(r3) -/* 803065BC 0030351C D0 23 00 20 */ stfs f1, 0x20(r3) -/* 803065C0 00303520 D0 43 00 24 */ stfs f2, 0x24(r3) -/* 803065C4 00303524 D0 03 00 28 */ stfs f0, 0x28(r3) -/* 803065C8 00303528 D0 43 00 2C */ stfs f2, 0x2c(r3) -/* 803065CC 0030352C D0 43 00 30 */ stfs f2, 0x30(r3) -/* 803065D0 00303530 D0 03 00 34 */ stfs f0, 0x34(r3) -/* 803065D4 00303534 D0 43 00 38 */ stfs f2, 0x38(r3) -/* 803065D8 00303538 90 03 00 3C */ stw r0, 0x3c(r3) -/* 803065DC 0030353C 90 03 00 40 */ stw r0, 0x40(r3) -/* 803065E0 00303540 D0 43 00 44 */ stfs f2, 0x44(r3) -/* 803065E4 00303544 D0 43 00 48 */ stfs f2, 0x48(r3) -/* 803065E8 00303548 88 03 00 4C */ lbz r0, 0x4c(r3) -/* 803065EC 0030354C 51 00 3E 30 */ rlwimi r0, r8, 7, 0x18, 0x18 -/* 803065F0 00303550 98 03 00 4C */ stb r0, 0x4c(r3) -/* 803065F4 00303554 88 03 00 4C */ lbz r0, 0x4c(r3) -/* 803065F8 00303558 51 00 36 72 */ rlwimi r0, r8, 6, 0x19, 0x19 -/* 803065FC 0030355C 98 03 00 4C */ stb r0, 0x4c(r3) -/* 80306600 00303560 4E 80 00 20 */ blr - -.global __sinit_CLight_cpp -__sinit_CLight_cpp: -/* 80306604 00303564 C0 22 C7 88 */ lfs f1, lbl_805AE4A8@sda21(r2) -/* 80306608 00303568 3C 80 80 5A */ lis r4, lbl_805A53C8@ha -/* 8030660C 0030356C 3C 60 80 5A */ lis r3, lbl_805A53E0@ha -/* 80306610 00303570 C0 02 C7 84 */ lfs f0, lbl_805AE4A4@sda21(r2) -/* 80306614 00303574 D4 24 53 C8 */ stfsu f1, lbl_805A53C8@l(r4) -/* 80306618 00303578 D4 23 53 E0 */ stfsu f1, lbl_805A53E0@l(r3) -/* 8030661C 0030357C D0 24 00 04 */ stfs f1, 4(r4) -/* 80306620 00303580 D0 24 00 08 */ stfs f1, 8(r4) -/* 80306624 00303584 D0 03 00 04 */ stfs f0, 4(r3) -/* 80306628 00303588 D0 23 00 08 */ stfs f1, 8(r3) -/* 8030662C 0030358C 4E 80 00 20 */ blr - -.global sub_80306630 -sub_80306630: -/* 80306630 00303590 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80306634 00303594 7C 08 02 A6 */ mflr r0 -/* 80306638 00303598 3C E0 80 5A */ lis r7, lbl_805A53EC@ha -/* 8030663C 0030359C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80306640 003035A0 38 E7 53 EC */ addi r7, r7, lbl_805A53EC@l -/* 80306644 003035A4 BF 61 00 0C */ stmw r27, 0xc(r1) -/* 80306648 003035A8 7C 7C 1B 78 */ mr r28, r3 -/* 8030664C 003035AC 7C 9D 23 78 */ mr r29, r4 -/* 80306650 003035B0 7C BE 2B 78 */ mr r30, r5 -/* 80306654 003035B4 7C DF 33 78 */ mr r31, r6 -/* 80306658 003035B8 88 07 00 51 */ lbz r0, 0x51(r7) -/* 8030665C 003035BC 28 00 00 00 */ cmplwi r0, 0 -/* 80306660 003035C0 41 82 00 14 */ beq lbl_80306674 -/* 80306664 003035C4 38 00 00 00 */ li r0, 0 -/* 80306668 003035C8 38 60 00 00 */ li r3, 0 -/* 8030666C 003035CC 98 07 00 51 */ stb r0, 0x51(r7) -/* 80306670 003035D0 48 07 4C 49 */ bl GXSetNumIndStages -lbl_80306674: -/* 80306674 003035D4 3C 60 80 5A */ lis r3, lbl_805A53EC@ha -/* 80306678 003035D8 38 83 53 EC */ addi r4, r3, lbl_805A53EC@l -/* 8030667C 003035DC 88 04 00 50 */ lbz r0, 0x50(r4) -/* 80306680 003035E0 28 00 00 01 */ cmplwi r0, 1 -/* 80306684 003035E4 41 82 00 14 */ beq lbl_80306698 -/* 80306688 003035E8 38 00 00 01 */ li r0, 1 -/* 8030668C 003035EC 38 60 00 01 */ li r3, 1 -/* 80306690 003035F0 98 04 00 50 */ stb r0, 0x50(r4) -/* 80306694 003035F4 48 07 55 39 */ bl GXSetNumTevStages -lbl_80306698: -/* 80306698 003035F8 3C 60 80 5A */ lis r3, lbl_805A53EC@ha -/* 8030669C 003035FC 38 83 53 EC */ addi r4, r3, lbl_805A53EC@l -/* 803066A0 00303600 88 04 00 4F */ lbz r0, 0x4f(r4) -/* 803066A4 00303604 28 00 00 01 */ cmplwi r0, 1 -/* 803066A8 00303608 41 82 00 14 */ beq lbl_803066BC -/* 803066AC 0030360C 38 00 00 01 */ li r0, 1 -/* 803066B0 00303610 38 60 00 01 */ li r3, 1 -/* 803066B4 00303614 98 04 00 4F */ stb r0, 0x4f(r4) -/* 803066B8 00303618 48 07 1B AD */ bl GXSetNumTexGens -lbl_803066BC: -/* 803066BC 0030361C 3C 60 80 5A */ lis r3, lbl_805A53EC@ha -/* 803066C0 00303620 38 83 53 EC */ addi r4, r3, lbl_805A53EC@l -/* 803066C4 00303624 88 04 00 52 */ lbz r0, 0x52(r4) -/* 803066C8 00303628 28 00 00 0F */ cmplwi r0, 0xf -/* 803066CC 0030362C 41 82 00 1C */ beq lbl_803066E8 -/* 803066D0 00303630 38 00 00 0F */ li r0, 0xf -/* 803066D4 00303634 38 60 00 01 */ li r3, 1 -/* 803066D8 00303638 98 04 00 52 */ stb r0, 0x52(r4) -/* 803066DC 0030363C 38 80 00 03 */ li r4, 3 -/* 803066E0 00303640 38 A0 00 01 */ li r5, 1 -/* 803066E4 00303644 48 07 58 75 */ bl GXSetZMode -lbl_803066E8: -/* 803066E8 00303648 3C 60 80 5A */ lis r3, lbl_805A53EC@ha -/* 803066EC 0030364C 3B 63 53 EC */ addi r27, r3, lbl_805A53EC@l -/* 803066F0 00303650 80 7B 00 7C */ lwz r3, 0x7c(r27) -/* 803066F4 00303654 3C 03 FF 01 */ addis r0, r3, 0xff01 -/* 803066F8 00303658 28 00 FF FF */ cmplwi r0, 0xffff -/* 803066FC 0030365C 41 82 00 24 */ beq lbl_80306720 -/* 80306700 00303660 3C 80 01 00 */ lis r4, 0x00FFFFFF@ha -/* 80306704 00303664 38 60 00 00 */ li r3, 0 -/* 80306708 00303668 38 04 FF FF */ addi r0, r4, 0x00FFFFFF@l -/* 8030670C 0030366C 38 80 00 FF */ li r4, 0xff -/* 80306710 00303670 90 1B 00 7C */ stw r0, 0x7c(r27) -/* 80306714 00303674 38 A0 00 FF */ li r5, 0xff -/* 80306718 00303678 38 C0 00 FF */ li r6, 0xff -/* 8030671C 0030367C 48 07 52 D9 */ bl GXSetTevOrder -lbl_80306720: -/* 80306720 00303680 80 7B 00 68 */ lwz r3, 0x68(r27) -/* 80306724 00303684 3C 03 FF F9 */ addis r0, r3, 0xfff9 -/* 80306728 00303688 28 00 BD EF */ cmplwi r0, 0xbdef -/* 8030672C 0030368C 41 82 00 28 */ beq lbl_80306754 -/* 80306730 00303690 3C 80 00 08 */ lis r4, 0x0007BDEF@ha -/* 80306734 00303694 38 60 00 00 */ li r3, 0 -/* 80306738 00303698 38 04 BD EF */ addi r0, r4, 0x0007BDEF@l -/* 8030673C 0030369C 38 80 00 0F */ li r4, 0xf -/* 80306740 003036A0 90 1B 00 68 */ stw r0, 0x68(r27) -/* 80306744 003036A4 38 A0 00 0F */ li r5, 0xf -/* 80306748 003036A8 38 C0 00 0F */ li r6, 0xf -/* 8030674C 003036AC 38 E0 00 0F */ li r7, 0xf -/* 80306750 003036B0 48 07 4D 55 */ bl GXSetTevColorIn -lbl_80306754: -/* 80306754 003036B4 80 7B 00 6C */ lwz r3, 0x6c(r27) -/* 80306758 003036B8 3C 03 FF FD */ addis r0, r3, 0xfffd -/* 8030675C 003036BC 28 00 9C E7 */ cmplwi r0, 0x9ce7 -/* 80306760 003036C0 41 82 00 28 */ beq lbl_80306788 -/* 80306764 003036C4 3C 80 00 04 */ lis r4, 0x00039CE7@ha -/* 80306768 003036C8 38 60 00 00 */ li r3, 0 -/* 8030676C 003036CC 38 04 9C E7 */ addi r0, r4, 0x00039CE7@l -/* 80306770 003036D0 38 80 00 07 */ li r4, 7 -/* 80306774 003036D4 90 1B 00 6C */ stw r0, 0x6c(r27) -/* 80306778 003036D8 38 A0 00 07 */ li r5, 7 -/* 8030677C 003036DC 38 C0 00 07 */ li r6, 7 -/* 80306780 003036E0 38 E0 00 07 */ li r7, 7 -/* 80306784 003036E4 48 07 4D 65 */ bl GXSetTevAlphaIn -lbl_80306788: -/* 80306788 003036E8 38 60 00 00 */ li r3, 0 -/* 8030678C 003036EC 48 00 14 C5 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID -/* 80306790 003036F0 3C 60 80 5A */ lis r3, lbl_805A53EC@ha -/* 80306794 003036F4 3B 63 53 EC */ addi r27, r3, lbl_805A53EC@l -/* 80306798 003036F8 A0 1B 00 56 */ lhz r0, 0x56(r27) -/* 8030679C 003036FC 28 00 00 21 */ cmplwi r0, 0x21 -/* 803067A0 00303700 41 82 00 28 */ beq lbl_803067C8 -/* 803067A4 00303704 38 60 00 21 */ li r3, 0x21 -/* 803067A8 00303708 4B DA DB D1 */ bl update_fog__3CGXFUi -/* 803067AC 0030370C 38 00 00 21 */ li r0, 0x21 -/* 803067B0 00303710 38 60 00 01 */ li r3, 1 -/* 803067B4 00303714 B0 1B 00 56 */ sth r0, 0x56(r27) -/* 803067B8 00303718 38 80 00 00 */ li r4, 0 -/* 803067BC 0030371C 38 A0 00 01 */ li r5, 1 -/* 803067C0 00303720 38 C0 00 00 */ li r6, 0 -/* 803067C4 00303724 48 07 56 E9 */ bl GXSetBlendMode -lbl_803067C8: -/* 803067C8 00303728 7F 83 E3 78 */ mr r3, r28 -/* 803067CC 0030372C 7F A4 EB 78 */ mr r4, r29 -/* 803067D0 00303730 7F C5 F3 78 */ mr r5, r30 -/* 803067D4 00303734 7F E6 FB 78 */ mr r6, r31 -/* 803067D8 00303738 48 00 02 19 */ bl DrawFlat__10CCubeModelCFPCfPCf17ESurfaceSelection -/* 803067DC 0030373C BB 61 00 0C */ lmw r27, 0xc(r1) -/* 803067E0 00303740 80 01 00 24 */ lwz r0, 0x24(r1) -/* 803067E4 00303744 7C 08 03 A6 */ mtlr r0 -/* 803067E8 00303748 38 21 00 20 */ addi r1, r1, 0x20 -/* 803067EC 0030374C 4E 80 00 20 */ blr - -.global "RemapMaterialData__10CCubeModelFPCvPQ24rstl60vector<23TCachedToken<8CTexture>,Q24rstl17rmemory_allocator>" -"RemapMaterialData__10CCubeModelFPCvPQ24rstl60vector<23TCachedToken<8CTexture>,Q24rstl17rmemory_allocator>": -/* 803067F0 00303750 90 83 00 04 */ stw r4, 4(r3) -/* 803067F4 00303754 38 80 00 00 */ li r4, 0 -/* 803067F8 00303758 90 A3 00 1C */ stw r5, 0x1c(r3) -/* 803067FC 0030375C 88 03 00 40 */ lbz r0, 0x40(r3) -/* 80306800 00303760 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 80306804 00303764 98 03 00 40 */ stb r0, 0x40(r3) -/* 80306808 00303768 4E 80 00 20 */ blr - -.global UnlockTextures__10CCubeModelCFv -UnlockTextures__10CCubeModelCFv: -/* 8030680C 0030376C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80306810 00303770 7C 08 02 A6 */ mflr r0 -/* 80306814 00303774 90 01 00 24 */ stw r0, 0x24(r1) -/* 80306818 00303778 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8030681C 0030377C 3B E0 00 00 */ li r31, 0 -/* 80306820 00303780 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80306824 00303784 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80306828 00303788 7C 7D 1B 78 */ mr r29, r3 -/* 8030682C 0030378C 80 63 00 1C */ lwz r3, 0x1c(r3) -/* 80306830 00303790 83 C3 00 0C */ lwz r30, 0xc(r3) -/* 80306834 00303794 48 00 00 14 */ b lbl_80306848 -lbl_80306838: -/* 80306838 00303798 93 FE 00 08 */ stw r31, 8(r30) -/* 8030683C 0030379C 7F C3 F3 78 */ mr r3, r30 -/* 80306840 003037A0 48 03 A5 01 */ bl Unlock__6CTokenFv -/* 80306844 003037A4 3B DE 00 0C */ addi r30, r30, 0xc -lbl_80306848: -/* 80306848 003037A8 80 7D 00 1C */ lwz r3, 0x1c(r29) -/* 8030684C 003037AC 80 03 00 04 */ lwz r0, 4(r3) -/* 80306850 003037B0 80 63 00 0C */ lwz r3, 0xc(r3) -/* 80306854 003037B4 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80306858 003037B8 7C 03 02 14 */ add r0, r3, r0 -/* 8030685C 003037BC 7C 1E 00 40 */ cmplw r30, r0 -/* 80306860 003037C0 40 82 FF D8 */ bne lbl_80306838 -/* 80306864 003037C4 88 1D 00 40 */ lbz r0, 0x40(r29) -/* 80306868 003037C8 38 60 00 00 */ li r3, 0 -/* 8030686C 003037CC 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 80306870 003037D0 98 1D 00 40 */ stb r0, 0x40(r29) -/* 80306874 003037D4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80306878 003037D8 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8030687C 003037DC 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80306880 003037E0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80306884 003037E4 7C 08 03 A6 */ mtlr r0 -/* 80306888 003037E8 38 21 00 20 */ addi r1, r1, 0x20 -/* 8030688C 003037EC 4E 80 00 20 */ blr - -.global SetModelWireframe__10CCubeModelFb -SetModelWireframe__10CCubeModelFb: -/* 80306890 003037F0 98 6D A7 81 */ stb r3, lbl_805A9341@sda21(r13) -/* 80306894 003037F4 4E 80 00 20 */ blr - -.global SetDrawingOccluders__10CCubeModelFb -SetDrawingOccluders__10CCubeModelFb: -/* 80306898 003037F8 98 6D A7 80 */ stb r3, lbl_805A9340@sda21(r13) -/* 8030689C 003037FC 4E 80 00 20 */ blr - -.global DrawAlpha__10CCubeModelCFRC11CModelFlags -DrawAlpha__10CCubeModelCFRC11CModelFlags: -/* 803068A0 00303800 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803068A4 00303804 7C 08 02 A6 */ mflr r0 -/* 803068A8 00303808 90 01 00 14 */ stw r0, 0x14(r1) -/* 803068AC 0030380C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 803068B0 00303810 7C 9F 23 78 */ mr r31, r4 -/* 803068B4 00303814 93 C1 00 08 */ stw r30, 8(r1) -/* 803068B8 00303818 7C 7E 1B 78 */ mr r30, r3 -/* 803068BC 0030381C 48 03 F0 85 */ bl KillCachedViewDepState__13CCubeMaterialFv -/* 803068C0 00303820 7F C3 F3 78 */ mr r3, r30 -/* 803068C4 00303824 48 00 0D 5D */ bl SetArraysCurrent__10CCubeModelCFv -/* 803068C8 00303828 7F C3 F3 78 */ mr r3, r30 -/* 803068CC 0030382C 7F E4 FB 78 */ mr r4, r31 -/* 803068D0 00303830 48 00 02 61 */ bl DrawAlphaSurfaces__10CCubeModelCFRC11CModelFlags -/* 803068D4 00303834 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803068D8 00303838 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 803068DC 0030383C 83 C1 00 08 */ lwz r30, 8(r1) -/* 803068E0 00303840 7C 08 03 A6 */ mtlr r0 -/* 803068E4 00303844 38 21 00 10 */ addi r1, r1, 0x10 -/* 803068E8 00303848 4E 80 00 20 */ blr - -.global DrawNormal__10CCubeModelCFRC11CModelFlags -DrawNormal__10CCubeModelCFRC11CModelFlags: -/* 803068EC 0030384C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803068F0 00303850 7C 08 02 A6 */ mflr r0 -/* 803068F4 00303854 90 01 00 14 */ stw r0, 0x14(r1) -/* 803068F8 00303858 93 E1 00 0C */ stw r31, 0xc(r1) -/* 803068FC 0030385C 7C 9F 23 78 */ mr r31, r4 -/* 80306900 00303860 93 C1 00 08 */ stw r30, 8(r1) -/* 80306904 00303864 7C 7E 1B 78 */ mr r30, r3 -/* 80306908 00303868 48 03 F0 39 */ bl KillCachedViewDepState__13CCubeMaterialFv -/* 8030690C 0030386C 7F C3 F3 78 */ mr r3, r30 -/* 80306910 00303870 48 00 0D 11 */ bl SetArraysCurrent__10CCubeModelCFv -/* 80306914 00303874 7F C3 F3 78 */ mr r3, r30 -/* 80306918 00303878 7F E4 FB 78 */ mr r4, r31 -/* 8030691C 0030387C 48 00 02 C9 */ bl DrawNormalSurfaces__10CCubeModelCFRC11CModelFlags -/* 80306920 00303880 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80306924 00303884 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80306928 00303888 83 C1 00 08 */ lwz r30, 8(r1) -/* 8030692C 0030388C 7C 08 03 A6 */ mtlr r0 -/* 80306930 00303890 38 21 00 10 */ addi r1, r1, 0x10 -/* 80306934 00303894 4E 80 00 20 */ blr - -.global Draw__10CCubeModelCFPCfPCfRC11CModelFlags -Draw__10CCubeModelCFPCfPCfRC11CModelFlags: -/* 80306938 00303898 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8030693C 0030389C 7C 08 02 A6 */ mflr r0 -/* 80306940 003038A0 90 01 00 24 */ stw r0, 0x24(r1) -/* 80306944 003038A4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80306948 003038A8 7C DF 33 78 */ mr r31, r6 -/* 8030694C 003038AC 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80306950 003038B0 7C BE 2B 78 */ mr r30, r5 -/* 80306954 003038B4 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80306958 003038B8 7C 9D 23 78 */ mr r29, r4 -/* 8030695C 003038BC 93 81 00 10 */ stw r28, 0x10(r1) -/* 80306960 003038C0 7C 7C 1B 78 */ mr r28, r3 -/* 80306964 003038C4 48 03 EF DD */ bl KillCachedViewDepState__13CCubeMaterialFv -/* 80306968 003038C8 7F 83 E3 78 */ mr r3, r28 -/* 8030696C 003038CC 7F A4 EB 78 */ mr r4, r29 -/* 80306970 003038D0 7F C5 F3 78 */ mr r5, r30 -/* 80306974 003038D4 48 00 0C 71 */ bl SetSkinningArraysCurrent__10CCubeModelCFPCfPCf -/* 80306978 003038D8 7F 83 E3 78 */ mr r3, r28 -/* 8030697C 003038DC 7F E4 FB 78 */ mr r4, r31 -/* 80306980 003038E0 48 00 03 19 */ bl DrawSurfaces__10CCubeModelCFRC11CModelFlags -/* 80306984 003038E4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80306988 003038E8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8030698C 003038EC 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80306990 003038F0 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80306994 003038F4 83 81 00 10 */ lwz r28, 0x10(r1) -/* 80306998 003038F8 7C 08 03 A6 */ mtlr r0 -/* 8030699C 003038FC 38 21 00 20 */ addi r1, r1, 0x20 -/* 803069A0 00303900 4E 80 00 20 */ blr - -.global Draw__10CCubeModelCFRC11CModelFlags -Draw__10CCubeModelCFRC11CModelFlags: -/* 803069A4 00303904 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803069A8 00303908 7C 08 02 A6 */ mflr r0 -/* 803069AC 0030390C 90 01 00 14 */ stw r0, 0x14(r1) -/* 803069B0 00303910 93 E1 00 0C */ stw r31, 0xc(r1) -/* 803069B4 00303914 7C 9F 23 78 */ mr r31, r4 -/* 803069B8 00303918 93 C1 00 08 */ stw r30, 8(r1) -/* 803069BC 0030391C 7C 7E 1B 78 */ mr r30, r3 -/* 803069C0 00303920 48 03 EF 81 */ bl KillCachedViewDepState__13CCubeMaterialFv -/* 803069C4 00303924 7F C3 F3 78 */ mr r3, r30 -/* 803069C8 00303928 48 00 0C 59 */ bl SetArraysCurrent__10CCubeModelCFv -/* 803069CC 0030392C 7F C3 F3 78 */ mr r3, r30 -/* 803069D0 00303930 7F E4 FB 78 */ mr r4, r31 -/* 803069D4 00303934 48 00 02 C5 */ bl DrawSurfaces__10CCubeModelCFRC11CModelFlags -/* 803069D8 00303938 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803069DC 0030393C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 803069E0 00303940 83 C1 00 08 */ lwz r30, 8(r1) -/* 803069E4 00303944 7C 08 03 A6 */ mtlr r0 -/* 803069E8 00303948 38 21 00 10 */ addi r1, r1, 0x10 -/* 803069EC 0030394C 4E 80 00 20 */ blr - -.global DrawFlat__10CCubeModelCFPCfPCf17ESurfaceSelection -DrawFlat__10CCubeModelCFPCfPCf17ESurfaceSelection: -/* 803069F0 00303950 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 803069F4 00303954 7C 08 02 A6 */ mflr r0 -/* 803069F8 00303958 28 04 00 00 */ cmplwi r4, 0 -/* 803069FC 0030395C 90 01 00 34 */ stw r0, 0x34(r1) -/* 80306A00 00303960 BF 41 00 18 */ stmw r26, 0x18(r1) -/* 80306A04 00303964 7C 7F 1B 78 */ mr r31, r3 -/* 80306A08 00303968 7C DA 33 78 */ mr r26, r6 -/* 80306A0C 0030396C 41 82 00 0C */ beq lbl_80306A18 -/* 80306A10 00303970 48 00 0B D5 */ bl SetSkinningArraysCurrent__10CCubeModelCFPCfPCf -/* 80306A14 00303974 48 00 00 08 */ b lbl_80306A1C -lbl_80306A18: -/* 80306A18 00303978 48 00 0C 09 */ bl SetArraysCurrent__10CCubeModelCFv -lbl_80306A1C: -/* 80306A1C 0030397C 2C 1A 00 01 */ cmpwi r26, 1 -/* 80306A20 00303980 41 82 00 7C */ beq lbl_80306A9C -/* 80306A24 00303984 3C 60 80 5A */ lis r3, lbl_805A53EC@ha -/* 80306A28 00303988 83 7F 00 38 */ lwz r27, 0x38(r31) -/* 80306A2C 0030398C 3B C3 53 EC */ addi r30, r3, lbl_805A53EC@l -/* 80306A30 00303990 48 00 00 64 */ b lbl_80306A94 -lbl_80306A34: -/* 80306A34 00303994 80 BB 00 0C */ lwz r5, 0xc(r27) -/* 80306A38 00303998 7F E4 FB 78 */ mr r4, r31 -/* 80306A3C 0030399C 38 61 00 0C */ addi r3, r1, 0xc -/* 80306A40 003039A0 48 00 0A CD */ bl GetMaterialByIndex__10CCubeModelCFi -/* 80306A44 003039A4 80 81 00 0C */ lwz r4, 0xc(r1) -/* 80306A48 003039A8 80 04 00 04 */ lwz r0, 4(r4) -/* 80306A4C 003039AC 54 03 10 3A */ slwi r3, r0, 2 -/* 80306A50 003039B0 38 03 00 08 */ addi r0, r3, 8 -/* 80306A54 003039B4 7C 64 00 2E */ lwzx r3, r4, r0 -/* 80306A58 003039B8 48 00 14 A5 */ bl SetVtxDescv_Compressed__3CGXFUi -/* 80306A5C 003039BC 80 7B 00 1C */ lwz r3, 0x1c(r27) -/* 80306A60 003039C0 88 1E 00 4C */ lbz r0, 0x4c(r30) -/* 80306A64 003039C4 38 63 00 4B */ addi r3, r3, 0x4b -/* 80306A68 003039C8 80 9B 00 10 */ lwz r4, 0x10(r27) -/* 80306A6C 003039CC 54 63 00 34 */ rlwinm r3, r3, 0, 0, 0x1a -/* 80306A70 003039D0 28 00 00 00 */ cmplwi r0, 0 -/* 80306A74 003039D4 54 9D 00 7E */ clrlwi r29, r4, 1 -/* 80306A78 003039D8 7F 9B 1A 14 */ add r28, r27, r3 -/* 80306A7C 003039DC 41 82 00 08 */ beq lbl_80306A84 -/* 80306A80 003039E0 48 00 15 65 */ bl FlushState__3CGXFv -lbl_80306A84: -/* 80306A84 003039E4 7F 83 E3 78 */ mr r3, r28 -/* 80306A88 003039E8 7F A4 EB 78 */ mr r4, r29 -/* 80306A8C 003039EC 48 07 57 49 */ bl GXCallDisplayList -/* 80306A90 003039F0 83 7B 00 18 */ lwz r27, 0x18(r27) -lbl_80306A94: -/* 80306A94 003039F4 28 1B 00 00 */ cmplwi r27, 0 -/* 80306A98 003039F8 40 82 FF 9C */ bne lbl_80306A34 -lbl_80306A9C: -/* 80306A9C 003039FC 2C 1A 00 00 */ cmpwi r26, 0 -/* 80306AA0 00303A00 41 82 00 7C */ beq lbl_80306B1C -/* 80306AA4 00303A04 3C 60 80 5A */ lis r3, lbl_805A53EC@ha -/* 80306AA8 00303A08 83 7F 00 3C */ lwz r27, 0x3c(r31) -/* 80306AAC 00303A0C 3B C3 53 EC */ addi r30, r3, lbl_805A53EC@l -/* 80306AB0 00303A10 48 00 00 64 */ b lbl_80306B14 -lbl_80306AB4: -/* 80306AB4 00303A14 80 BB 00 0C */ lwz r5, 0xc(r27) -/* 80306AB8 00303A18 7F E4 FB 78 */ mr r4, r31 -/* 80306ABC 00303A1C 38 61 00 08 */ addi r3, r1, 8 -/* 80306AC0 00303A20 48 00 0A 4D */ bl GetMaterialByIndex__10CCubeModelCFi -/* 80306AC4 00303A24 80 81 00 08 */ lwz r4, 8(r1) -/* 80306AC8 00303A28 80 04 00 04 */ lwz r0, 4(r4) -/* 80306ACC 00303A2C 54 03 10 3A */ slwi r3, r0, 2 -/* 80306AD0 00303A30 38 03 00 08 */ addi r0, r3, 8 -/* 80306AD4 00303A34 7C 64 00 2E */ lwzx r3, r4, r0 -/* 80306AD8 00303A38 48 00 14 25 */ bl SetVtxDescv_Compressed__3CGXFUi -/* 80306ADC 00303A3C 80 7B 00 1C */ lwz r3, 0x1c(r27) -/* 80306AE0 00303A40 88 1E 00 4C */ lbz r0, 0x4c(r30) -/* 80306AE4 00303A44 38 63 00 4B */ addi r3, r3, 0x4b -/* 80306AE8 00303A48 80 9B 00 10 */ lwz r4, 0x10(r27) -/* 80306AEC 00303A4C 54 63 00 34 */ rlwinm r3, r3, 0, 0, 0x1a -/* 80306AF0 00303A50 28 00 00 00 */ cmplwi r0, 0 -/* 80306AF4 00303A54 54 9D 00 7E */ clrlwi r29, r4, 1 -/* 80306AF8 00303A58 7F 9B 1A 14 */ add r28, r27, r3 -/* 80306AFC 00303A5C 41 82 00 08 */ beq lbl_80306B04 -/* 80306B00 00303A60 48 00 14 E5 */ bl FlushState__3CGXFv -lbl_80306B04: -/* 80306B04 00303A64 7F 83 E3 78 */ mr r3, r28 -/* 80306B08 00303A68 7F A4 EB 78 */ mr r4, r29 -/* 80306B0C 00303A6C 48 07 56 C9 */ bl GXCallDisplayList -/* 80306B10 00303A70 83 7B 00 18 */ lwz r27, 0x18(r27) -lbl_80306B14: -/* 80306B14 00303A74 28 1B 00 00 */ cmplwi r27, 0 -/* 80306B18 00303A78 40 82 FF 9C */ bne lbl_80306AB4 -lbl_80306B1C: -/* 80306B1C 00303A7C BB 41 00 18 */ lmw r26, 0x18(r1) -/* 80306B20 00303A80 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80306B24 00303A84 7C 08 03 A6 */ mtlr r0 -/* 80306B28 00303A88 38 21 00 30 */ addi r1, r1, 0x30 -/* 80306B2C 00303A8C 4E 80 00 20 */ blr - -.global DrawAlphaSurfaces__10CCubeModelCFRC11CModelFlags -DrawAlphaSurfaces__10CCubeModelCFRC11CModelFlags: -/* 80306B30 00303A90 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80306B34 00303A94 7C 08 02 A6 */ mflr r0 -/* 80306B38 00303A98 90 01 00 24 */ stw r0, 0x24(r1) -/* 80306B3C 00303A9C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80306B40 00303AA0 7C 9F 23 78 */ mr r31, r4 -/* 80306B44 00303AA4 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80306B48 00303AA8 7C 7E 1B 78 */ mr r30, r3 -/* 80306B4C 00303AAC 88 0D A7 81 */ lbz r0, lbl_805A9341@sda21(r13) -/* 80306B50 00303AB0 28 00 00 00 */ cmplwi r0, 0 -/* 80306B54 00303AB4 41 82 00 38 */ beq lbl_80306B8C -/* 80306B58 00303AB8 80 1E 00 3C */ lwz r0, 0x3c(r30) -/* 80306B5C 00303ABC 90 01 00 0C */ stw r0, 0xc(r1) -/* 80306B60 00303AC0 48 00 00 1C */ b lbl_80306B7C -lbl_80306B64: -/* 80306B64 00303AC4 7F C3 F3 78 */ mr r3, r30 -/* 80306B68 00303AC8 38 81 00 0C */ addi r4, r1, 0xc -/* 80306B6C 00303ACC 48 00 03 6D */ bl DrawSurfaceWireframe__10CCubeModelCFRC12CCubeSurface -/* 80306B70 00303AD0 80 61 00 0C */ lwz r3, 0xc(r1) -/* 80306B74 00303AD4 80 03 00 18 */ lwz r0, 0x18(r3) -/* 80306B78 00303AD8 90 01 00 0C */ stw r0, 0xc(r1) -lbl_80306B7C: -/* 80306B7C 00303ADC 80 01 00 0C */ lwz r0, 0xc(r1) -/* 80306B80 00303AE0 28 00 00 00 */ cmplwi r0, 0 -/* 80306B84 00303AE4 40 82 FF E0 */ bne lbl_80306B64 -/* 80306B88 00303AE8 48 00 00 44 */ b lbl_80306BCC -lbl_80306B8C: -/* 80306B8C 00303AEC 48 00 02 31 */ bl TryLockTextures__10CCubeModelCFv -/* 80306B90 00303AF0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80306B94 00303AF4 41 82 00 38 */ beq lbl_80306BCC -/* 80306B98 00303AF8 80 1E 00 3C */ lwz r0, 0x3c(r30) -/* 80306B9C 00303AFC 90 01 00 08 */ stw r0, 8(r1) -/* 80306BA0 00303B00 48 00 00 20 */ b lbl_80306BC0 -lbl_80306BA4: -/* 80306BA4 00303B04 7F C3 F3 78 */ mr r3, r30 -/* 80306BA8 00303B08 7F E5 FB 78 */ mr r5, r31 -/* 80306BAC 00303B0C 38 81 00 08 */ addi r4, r1, 8 -/* 80306BB0 00303B10 48 00 08 95 */ bl DrawSurface__10CCubeModelCFRC12CCubeSurfaceRC11CModelFlags -/* 80306BB4 00303B14 80 61 00 08 */ lwz r3, 8(r1) -/* 80306BB8 00303B18 80 03 00 18 */ lwz r0, 0x18(r3) -/* 80306BBC 00303B1C 90 01 00 08 */ stw r0, 8(r1) -lbl_80306BC0: -/* 80306BC0 00303B20 80 01 00 08 */ lwz r0, 8(r1) -/* 80306BC4 00303B24 28 00 00 00 */ cmplwi r0, 0 -/* 80306BC8 00303B28 40 82 FF DC */ bne lbl_80306BA4 -lbl_80306BCC: -/* 80306BCC 00303B2C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80306BD0 00303B30 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80306BD4 00303B34 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80306BD8 00303B38 7C 08 03 A6 */ mtlr r0 -/* 80306BDC 00303B3C 38 21 00 20 */ addi r1, r1, 0x20 -/* 80306BE0 00303B40 4E 80 00 20 */ blr - -.global DrawNormalSurfaces__10CCubeModelCFRC11CModelFlags -DrawNormalSurfaces__10CCubeModelCFRC11CModelFlags: -/* 80306BE4 00303B44 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80306BE8 00303B48 7C 08 02 A6 */ mflr r0 -/* 80306BEC 00303B4C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80306BF0 00303B50 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80306BF4 00303B54 7C 9F 23 78 */ mr r31, r4 -/* 80306BF8 00303B58 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80306BFC 00303B5C 7C 7E 1B 78 */ mr r30, r3 -/* 80306C00 00303B60 88 0D A7 81 */ lbz r0, lbl_805A9341@sda21(r13) -/* 80306C04 00303B64 28 00 00 00 */ cmplwi r0, 0 -/* 80306C08 00303B68 41 82 00 38 */ beq lbl_80306C40 -/* 80306C0C 00303B6C 80 1E 00 38 */ lwz r0, 0x38(r30) -/* 80306C10 00303B70 90 01 00 0C */ stw r0, 0xc(r1) -/* 80306C14 00303B74 48 00 00 1C */ b lbl_80306C30 -lbl_80306C18: -/* 80306C18 00303B78 7F C3 F3 78 */ mr r3, r30 -/* 80306C1C 00303B7C 38 81 00 0C */ addi r4, r1, 0xc -/* 80306C20 00303B80 48 00 02 B9 */ bl DrawSurfaceWireframe__10CCubeModelCFRC12CCubeSurface -/* 80306C24 00303B84 80 61 00 0C */ lwz r3, 0xc(r1) -/* 80306C28 00303B88 80 03 00 18 */ lwz r0, 0x18(r3) -/* 80306C2C 00303B8C 90 01 00 0C */ stw r0, 0xc(r1) -lbl_80306C30: -/* 80306C30 00303B90 80 01 00 0C */ lwz r0, 0xc(r1) -/* 80306C34 00303B94 28 00 00 00 */ cmplwi r0, 0 -/* 80306C38 00303B98 40 82 FF E0 */ bne lbl_80306C18 -/* 80306C3C 00303B9C 48 00 00 44 */ b lbl_80306C80 -lbl_80306C40: -/* 80306C40 00303BA0 48 00 01 7D */ bl TryLockTextures__10CCubeModelCFv -/* 80306C44 00303BA4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80306C48 00303BA8 41 82 00 38 */ beq lbl_80306C80 -/* 80306C4C 00303BAC 80 1E 00 38 */ lwz r0, 0x38(r30) -/* 80306C50 00303BB0 90 01 00 08 */ stw r0, 8(r1) -/* 80306C54 00303BB4 48 00 00 20 */ b lbl_80306C74 -lbl_80306C58: -/* 80306C58 00303BB8 7F C3 F3 78 */ mr r3, r30 -/* 80306C5C 00303BBC 7F E5 FB 78 */ mr r5, r31 -/* 80306C60 00303BC0 38 81 00 08 */ addi r4, r1, 8 -/* 80306C64 00303BC4 48 00 07 E1 */ bl DrawSurface__10CCubeModelCFRC12CCubeSurfaceRC11CModelFlags -/* 80306C68 00303BC8 80 61 00 08 */ lwz r3, 8(r1) -/* 80306C6C 00303BCC 80 03 00 18 */ lwz r0, 0x18(r3) -/* 80306C70 00303BD0 90 01 00 08 */ stw r0, 8(r1) -lbl_80306C74: -/* 80306C74 00303BD4 80 01 00 08 */ lwz r0, 8(r1) -/* 80306C78 00303BD8 28 00 00 00 */ cmplwi r0, 0 -/* 80306C7C 00303BDC 40 82 FF DC */ bne lbl_80306C58 -lbl_80306C80: -/* 80306C80 00303BE0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80306C84 00303BE4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80306C88 00303BE8 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80306C8C 00303BEC 7C 08 03 A6 */ mtlr r0 -/* 80306C90 00303BF0 38 21 00 20 */ addi r1, r1, 0x20 -/* 80306C94 00303BF4 4E 80 00 20 */ blr - -.global DrawSurfaces__10CCubeModelCFRC11CModelFlags -DrawSurfaces__10CCubeModelCFRC11CModelFlags: -/* 80306C98 00303BF8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80306C9C 00303BFC 7C 08 02 A6 */ mflr r0 -/* 80306CA0 00303C00 90 01 00 24 */ stw r0, 0x24(r1) -/* 80306CA4 00303C04 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80306CA8 00303C08 7C 7F 1B 78 */ mr r31, r3 -/* 80306CAC 00303C0C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80306CB0 00303C10 7C 9E 23 78 */ mr r30, r4 -/* 80306CB4 00303C14 88 0D A7 81 */ lbz r0, lbl_805A9341@sda21(r13) -/* 80306CB8 00303C18 28 00 00 00 */ cmplwi r0, 0 -/* 80306CBC 00303C1C 41 82 00 68 */ beq lbl_80306D24 -/* 80306CC0 00303C20 80 1F 00 38 */ lwz r0, 0x38(r31) -/* 80306CC4 00303C24 90 01 00 14 */ stw r0, 0x14(r1) -/* 80306CC8 00303C28 48 00 00 1C */ b lbl_80306CE4 -lbl_80306CCC: -/* 80306CCC 00303C2C 7F E3 FB 78 */ mr r3, r31 -/* 80306CD0 00303C30 38 81 00 14 */ addi r4, r1, 0x14 -/* 80306CD4 00303C34 48 00 02 05 */ bl DrawSurfaceWireframe__10CCubeModelCFRC12CCubeSurface -/* 80306CD8 00303C38 80 61 00 14 */ lwz r3, 0x14(r1) -/* 80306CDC 00303C3C 80 03 00 18 */ lwz r0, 0x18(r3) -/* 80306CE0 00303C40 90 01 00 14 */ stw r0, 0x14(r1) -lbl_80306CE4: -/* 80306CE4 00303C44 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80306CE8 00303C48 28 00 00 00 */ cmplwi r0, 0 -/* 80306CEC 00303C4C 40 82 FF E0 */ bne lbl_80306CCC -/* 80306CF0 00303C50 80 1F 00 3C */ lwz r0, 0x3c(r31) -/* 80306CF4 00303C54 90 01 00 10 */ stw r0, 0x10(r1) -/* 80306CF8 00303C58 48 00 00 1C */ b lbl_80306D14 -lbl_80306CFC: -/* 80306CFC 00303C5C 7F E3 FB 78 */ mr r3, r31 -/* 80306D00 00303C60 38 81 00 10 */ addi r4, r1, 0x10 -/* 80306D04 00303C64 48 00 01 D5 */ bl DrawSurfaceWireframe__10CCubeModelCFRC12CCubeSurface -/* 80306D08 00303C68 80 61 00 10 */ lwz r3, 0x10(r1) -/* 80306D0C 00303C6C 80 03 00 18 */ lwz r0, 0x18(r3) -/* 80306D10 00303C70 90 01 00 10 */ stw r0, 0x10(r1) -lbl_80306D14: -/* 80306D14 00303C74 80 01 00 10 */ lwz r0, 0x10(r1) -/* 80306D18 00303C78 28 00 00 00 */ cmplwi r0, 0 -/* 80306D1C 00303C7C 40 82 FF E0 */ bne lbl_80306CFC -/* 80306D20 00303C80 48 00 00 84 */ b lbl_80306DA4 -lbl_80306D24: -/* 80306D24 00303C84 A0 1E 00 02 */ lhz r0, 2(r30) -/* 80306D28 00303C88 54 00 07 7B */ rlwinm. r0, r0, 0, 0x1d, 0x1d -/* 80306D2C 00303C8C 40 82 00 10 */ bne lbl_80306D3C -/* 80306D30 00303C90 48 00 00 8D */ bl TryLockTextures__10CCubeModelCFv -/* 80306D34 00303C94 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80306D38 00303C98 41 82 00 6C */ beq lbl_80306DA4 -lbl_80306D3C: -/* 80306D3C 00303C9C 80 1F 00 38 */ lwz r0, 0x38(r31) -/* 80306D40 00303CA0 90 01 00 0C */ stw r0, 0xc(r1) -/* 80306D44 00303CA4 48 00 00 20 */ b lbl_80306D64 -lbl_80306D48: -/* 80306D48 00303CA8 7F E3 FB 78 */ mr r3, r31 -/* 80306D4C 00303CAC 7F C5 F3 78 */ mr r5, r30 -/* 80306D50 00303CB0 38 81 00 0C */ addi r4, r1, 0xc -/* 80306D54 00303CB4 48 00 06 F1 */ bl DrawSurface__10CCubeModelCFRC12CCubeSurfaceRC11CModelFlags -/* 80306D58 00303CB8 80 61 00 0C */ lwz r3, 0xc(r1) -/* 80306D5C 00303CBC 80 03 00 18 */ lwz r0, 0x18(r3) -/* 80306D60 00303CC0 90 01 00 0C */ stw r0, 0xc(r1) -lbl_80306D64: -/* 80306D64 00303CC4 80 01 00 0C */ lwz r0, 0xc(r1) -/* 80306D68 00303CC8 28 00 00 00 */ cmplwi r0, 0 -/* 80306D6C 00303CCC 40 82 FF DC */ bne lbl_80306D48 -/* 80306D70 00303CD0 80 1F 00 3C */ lwz r0, 0x3c(r31) -/* 80306D74 00303CD4 90 01 00 08 */ stw r0, 8(r1) -/* 80306D78 00303CD8 48 00 00 20 */ b lbl_80306D98 -lbl_80306D7C: -/* 80306D7C 00303CDC 7F E3 FB 78 */ mr r3, r31 -/* 80306D80 00303CE0 7F C5 F3 78 */ mr r5, r30 -/* 80306D84 00303CE4 38 81 00 08 */ addi r4, r1, 8 -/* 80306D88 00303CE8 48 00 06 BD */ bl DrawSurface__10CCubeModelCFRC12CCubeSurfaceRC11CModelFlags -/* 80306D8C 00303CEC 80 61 00 08 */ lwz r3, 8(r1) -/* 80306D90 00303CF0 80 03 00 18 */ lwz r0, 0x18(r3) -/* 80306D94 00303CF4 90 01 00 08 */ stw r0, 8(r1) -lbl_80306D98: -/* 80306D98 00303CF8 80 01 00 08 */ lwz r0, 8(r1) -/* 80306D9C 00303CFC 28 00 00 00 */ cmplwi r0, 0 -/* 80306DA0 00303D00 40 82 FF DC */ bne lbl_80306D7C -lbl_80306DA4: -/* 80306DA4 00303D04 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80306DA8 00303D08 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80306DAC 00303D0C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80306DB0 00303D10 7C 08 03 A6 */ mtlr r0 -/* 80306DB4 00303D14 38 21 00 20 */ addi r1, r1, 0x20 -/* 80306DB8 00303D18 4E 80 00 20 */ blr - -.global TryLockTextures__10CCubeModelCFv -TryLockTextures__10CCubeModelCFv: -/* 80306DBC 00303D1C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80306DC0 00303D20 7C 08 02 A6 */ mflr r0 -/* 80306DC4 00303D24 90 01 00 24 */ stw r0, 0x24(r1) -/* 80306DC8 00303D28 BF 61 00 0C */ stmw r27, 0xc(r1) -/* 80306DCC 00303D2C 7C 7C 1B 78 */ mr r28, r3 -/* 80306DD0 00303D30 88 03 00 40 */ lbz r0, 0x40(r3) -/* 80306DD4 00303D34 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80306DD8 00303D38 40 82 00 D8 */ bne lbl_80306EB0 -/* 80306DDC 00303D3C 3B C0 00 00 */ li r30, 0 -/* 80306DE0 00303D40 3B A0 00 00 */ li r29, 0 -/* 80306DE4 00303D44 3B E0 00 00 */ li r31, 0 -/* 80306DE8 00303D48 48 00 00 A0 */ b lbl_80306E88 -lbl_80306DEC: -/* 80306DEC 00303D4C 80 03 00 0C */ lwz r0, 0xc(r3) -/* 80306DF0 00303D50 7C 60 FA 14 */ add r3, r0, r31 -/* 80306DF4 00303D54 48 03 9F 91 */ bl Lock__6CTokenFv -/* 80306DF8 00303D58 80 7C 00 1C */ lwz r3, 0x1c(r28) -/* 80306DFC 00303D5C 80 03 00 0C */ lwz r0, 0xc(r3) -/* 80306E00 00303D60 7F 60 FA 14 */ add r27, r0, r31 -/* 80306E04 00303D64 80 1B 00 08 */ lwz r0, 8(r27) -/* 80306E08 00303D68 28 00 00 00 */ cmplwi r0, 0 -/* 80306E0C 00303D6C 41 82 00 0C */ beq lbl_80306E18 -/* 80306E10 00303D70 38 60 00 01 */ li r3, 1 -/* 80306E14 00303D74 48 00 00 3C */ b lbl_80306E50 -lbl_80306E18: -/* 80306E18 00303D78 88 1B 00 04 */ lbz r0, 4(r27) -/* 80306E1C 00303D7C 28 00 00 00 */ cmplwi r0, 0 -/* 80306E20 00303D80 41 82 00 2C */ beq lbl_80306E4C -/* 80306E24 00303D84 80 7B 00 00 */ lwz r3, 0(r27) -/* 80306E28 00303D88 80 03 00 10 */ lwz r0, 0x10(r3) -/* 80306E2C 00303D8C 28 00 00 00 */ cmplwi r0, 0 -/* 80306E30 00303D90 41 82 00 1C */ beq lbl_80306E4C -/* 80306E34 00303D94 7F 63 DB 78 */ mr r3, r27 -/* 80306E38 00303D98 48 03 9F D5 */ bl GetObj__6CTokenFv -/* 80306E3C 00303D9C 80 03 00 04 */ lwz r0, 4(r3) -/* 80306E40 00303DA0 38 60 00 01 */ li r3, 1 -/* 80306E44 00303DA4 90 1B 00 08 */ stw r0, 8(r27) -/* 80306E48 00303DA8 48 00 00 08 */ b lbl_80306E50 -lbl_80306E4C: -/* 80306E4C 00303DAC 38 60 00 00 */ li r3, 0 -lbl_80306E50: -/* 80306E50 00303DB0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80306E54 00303DB4 40 82 00 0C */ bne lbl_80306E60 -/* 80306E58 00303DB8 3B C0 00 01 */ li r30, 1 -/* 80306E5C 00303DBC 48 00 00 24 */ b lbl_80306E80 -lbl_80306E60: -/* 80306E60 00303DC0 80 7C 00 1C */ lwz r3, 0x1c(r28) -/* 80306E64 00303DC4 38 1F 00 08 */ addi r0, r31, 8 -/* 80306E68 00303DC8 80 63 00 0C */ lwz r3, 0xc(r3) -/* 80306E6C 00303DCC 7C 63 00 2E */ lwzx r3, r3, r0 -/* 80306E70 00303DD0 48 00 7D B9 */ bl LoadToMRAM__8CTextureCFv -/* 80306E74 00303DD4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80306E78 00303DD8 40 82 00 08 */ bne lbl_80306E80 -/* 80306E7C 00303DDC 3B C0 00 01 */ li r30, 1 -lbl_80306E80: -/* 80306E80 00303DE0 3B FF 00 0C */ addi r31, r31, 0xc -/* 80306E84 00303DE4 3B BD 00 01 */ addi r29, r29, 1 -lbl_80306E88: -/* 80306E88 00303DE8 80 7C 00 1C */ lwz r3, 0x1c(r28) -/* 80306E8C 00303DEC 80 03 00 04 */ lwz r0, 4(r3) -/* 80306E90 00303DF0 7C 1D 00 00 */ cmpw r29, r0 -/* 80306E94 00303DF4 41 80 FF 58 */ blt lbl_80306DEC -/* 80306E98 00303DF8 57 C0 06 3F */ clrlwi. r0, r30, 0x18 -/* 80306E9C 00303DFC 40 82 00 14 */ bne lbl_80306EB0 -/* 80306EA0 00303E00 88 1C 00 40 */ lbz r0, 0x40(r28) -/* 80306EA4 00303E04 38 60 00 01 */ li r3, 1 -/* 80306EA8 00303E08 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 80306EAC 00303E0C 98 1C 00 40 */ stb r0, 0x40(r28) -lbl_80306EB0: -/* 80306EB0 00303E10 88 1C 00 40 */ lbz r0, 0x40(r28) -/* 80306EB4 00303E14 BB 61 00 0C */ lmw r27, 0xc(r1) -/* 80306EB8 00303E18 54 03 CF FE */ rlwinm r3, r0, 0x19, 0x1f, 0x1f -/* 80306EBC 00303E1C 7C 03 00 D0 */ neg r0, r3 -/* 80306EC0 00303E20 7C 00 1B 78 */ or r0, r0, r3 -/* 80306EC4 00303E24 54 03 0F FE */ srwi r3, r0, 0x1f -/* 80306EC8 00303E28 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80306ECC 00303E2C 7C 08 03 A6 */ mtlr r0 -/* 80306ED0 00303E30 38 21 00 20 */ addi r1, r1, 0x20 -/* 80306ED4 00303E34 4E 80 00 20 */ blr - -.global DrawSurfaceWireframe__10CCubeModelCFRC12CCubeSurface -DrawSurfaceWireframe__10CCubeModelCFRC12CCubeSurface: -/* 80306ED8 00303E38 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 80306EDC 00303E3C 7C 08 02 A6 */ mflr r0 -/* 80306EE0 00303E40 90 01 00 84 */ stw r0, 0x84(r1) -/* 80306EE4 00303E44 BE 61 00 4C */ stmw r19, 0x4c(r1) -/* 80306EE8 00303E48 7C 94 23 78 */ mr r20, r4 -/* 80306EEC 00303E4C 80 A4 00 00 */ lwz r5, 0(r4) -/* 80306EF0 00303E50 7C 64 1B 78 */ mr r4, r3 -/* 80306EF4 00303E54 38 61 00 44 */ addi r3, r1, 0x44 -/* 80306EF8 00303E58 80 A5 00 0C */ lwz r5, 0xc(r5) -/* 80306EFC 00303E5C 48 00 06 11 */ bl GetMaterialByIndex__10CCubeModelCFi -/* 80306F00 00303E60 88 0D A7 88 */ lbz r0, lbl_805A9348@sda21(r13) -/* 80306F04 00303E64 80 81 00 44 */ lwz r4, 0x44(r1) -/* 80306F08 00303E68 7C 00 07 75 */ extsb. r0, r0 -/* 80306F0C 00303E6C 40 82 00 14 */ bne lbl_80306F20 -/* 80306F10 00303E70 38 60 00 00 */ li r3, 0 -/* 80306F14 00303E74 38 00 00 01 */ li r0, 1 -/* 80306F18 00303E78 90 6D A7 84 */ stw r3, lbl_805A9344@sda21(r13) -/* 80306F1C 00303E7C 98 0D A7 88 */ stb r0, lbl_805A9348@sda21(r13) -lbl_80306F20: -/* 80306F20 00303E80 88 0D A7 90 */ lbz r0, lbl_805A9350@sda21(r13) -/* 80306F24 00303E84 7C 00 07 75 */ extsb. r0, r0 -/* 80306F28 00303E88 40 82 00 14 */ bne lbl_80306F3C -/* 80306F2C 00303E8C 38 60 00 00 */ li r3, 0 -/* 80306F30 00303E90 38 00 00 01 */ li r0, 1 -/* 80306F34 00303E94 90 6D A7 8C */ stw r3, lbl_805A934C@sda21(r13) -/* 80306F38 00303E98 98 0D A7 90 */ stb r0, lbl_805A9350@sda21(r13) -lbl_80306F3C: -/* 80306F3C 00303E9C 80 64 00 04 */ lwz r3, 4(r4) -/* 80306F40 00303EA0 80 0D A7 84 */ lwz r0, lbl_805A9344@sda21(r13) -/* 80306F44 00303EA4 54 63 10 3A */ slwi r3, r3, 2 -/* 80306F48 00303EA8 7C 64 1A 14 */ add r3, r4, r3 -/* 80306F4C 00303EAC 80 83 00 08 */ lwz r4, 8(r3) -/* 80306F50 00303EB0 7C 04 00 40 */ cmplw r4, r0 -/* 80306F54 00303EB4 41 82 00 94 */ beq lbl_80306FE8 -/* 80306F58 00303EB8 38 A0 00 00 */ li r5, 0 -/* 80306F5C 00303EBC 38 00 00 04 */ li r0, 4 -/* 80306F60 00303EC0 90 AD A7 8C */ stw r5, lbl_805A934C@sda21(r13) -/* 80306F64 00303EC4 38 C0 00 00 */ li r6, 0 -/* 80306F68 00303EC8 7C 09 03 A6 */ mtctr r0 -lbl_80306F6C: -/* 80306F6C 00303ECC 7C 80 2C 30 */ srw r0, r4, r5 -/* 80306F70 00303ED0 54 00 07 BF */ clrlwi. r0, r0, 0x1e -/* 80306F74 00303ED4 41 82 00 10 */ beq lbl_80306F84 -/* 80306F78 00303ED8 80 6D A7 8C */ lwz r3, lbl_805A934C@sda21(r13) -/* 80306F7C 00303EDC 38 03 00 01 */ addi r0, r3, 1 -/* 80306F80 00303EE0 90 0D A7 8C */ stw r0, lbl_805A934C@sda21(r13) -lbl_80306F84: -/* 80306F84 00303EE4 38 A5 00 02 */ addi r5, r5, 2 -/* 80306F88 00303EE8 7C 80 2C 30 */ srw r0, r4, r5 -/* 80306F8C 00303EEC 54 00 07 BF */ clrlwi. r0, r0, 0x1e -/* 80306F90 00303EF0 41 82 00 10 */ beq lbl_80306FA0 -/* 80306F94 00303EF4 80 6D A7 8C */ lwz r3, lbl_805A934C@sda21(r13) -/* 80306F98 00303EF8 38 03 00 01 */ addi r0, r3, 1 -/* 80306F9C 00303EFC 90 0D A7 8C */ stw r0, lbl_805A934C@sda21(r13) -lbl_80306FA0: -/* 80306FA0 00303F00 38 A5 00 02 */ addi r5, r5, 2 -/* 80306FA4 00303F04 7C 80 2C 30 */ srw r0, r4, r5 -/* 80306FA8 00303F08 54 00 07 BF */ clrlwi. r0, r0, 0x1e -/* 80306FAC 00303F0C 41 82 00 10 */ beq lbl_80306FBC -/* 80306FB0 00303F10 80 6D A7 8C */ lwz r3, lbl_805A934C@sda21(r13) -/* 80306FB4 00303F14 38 03 00 01 */ addi r0, r3, 1 -/* 80306FB8 00303F18 90 0D A7 8C */ stw r0, lbl_805A934C@sda21(r13) -lbl_80306FBC: -/* 80306FBC 00303F1C 38 A5 00 02 */ addi r5, r5, 2 -/* 80306FC0 00303F20 7C 80 2C 30 */ srw r0, r4, r5 -/* 80306FC4 00303F24 54 00 07 BF */ clrlwi. r0, r0, 0x1e -/* 80306FC8 00303F28 41 82 00 10 */ beq lbl_80306FD8 -/* 80306FCC 00303F2C 80 6D A7 8C */ lwz r3, lbl_805A934C@sda21(r13) -/* 80306FD0 00303F30 38 03 00 01 */ addi r0, r3, 1 -/* 80306FD4 00303F34 90 0D A7 8C */ stw r0, lbl_805A934C@sda21(r13) -lbl_80306FD8: -/* 80306FD8 00303F38 38 A5 00 02 */ addi r5, r5, 2 -/* 80306FDC 00303F3C 38 C6 00 03 */ addi r6, r6, 3 -/* 80306FE0 00303F40 42 00 FF 8C */ bdnz lbl_80306F6C -/* 80306FE4 00303F44 90 8D A7 84 */ stw r4, lbl_805A9344@sda21(r13) -lbl_80306FE8: -/* 80306FE8 00303F48 80 0D A7 8C */ lwz r0, lbl_805A934C@sda21(r13) -/* 80306FEC 00303F4C 3C 60 80 3D */ lis r3, lbl_803D7388@ha -/* 80306FF0 00303F50 38 63 73 88 */ addi r3, r3, lbl_803D7388@l -/* 80306FF4 00303F54 54 19 08 3C */ slwi r25, r0, 1 -/* 80306FF8 00303F58 48 00 0E 31 */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList -/* 80306FFC 00303F5C 3C 60 80 5A */ lis r3, lbl_805A53EC@ha -/* 80307000 00303F60 3A A3 53 EC */ addi r21, r3, lbl_805A53EC@l -/* 80307004 00303F64 80 15 00 78 */ lwz r0, 0x78(r21) -/* 80307008 00303F68 28 00 00 00 */ cmplwi r0, 0 -/* 8030700C 00303F6C 41 82 00 14 */ beq lbl_80307020 -/* 80307010 00303F70 38 00 00 00 */ li r0, 0 -/* 80307014 00303F74 38 60 00 00 */ li r3, 0 -/* 80307018 00303F78 90 15 00 78 */ stw r0, 0x78(r21) -/* 8030701C 00303F7C 48 07 42 C5 */ bl GXSetTevDirect -lbl_80307020: -/* 80307020 00303F80 3C 60 80 5A */ lis r3, lbl_805A53EC@ha -/* 80307024 00303F84 38 83 53 EC */ addi r4, r3, lbl_805A53EC@l -/* 80307028 00303F88 88 04 00 51 */ lbz r0, 0x51(r4) -/* 8030702C 00303F8C 28 00 00 00 */ cmplwi r0, 0 -/* 80307030 00303F90 41 82 00 14 */ beq lbl_80307044 -/* 80307034 00303F94 38 00 00 00 */ li r0, 0 -/* 80307038 00303F98 38 60 00 00 */ li r3, 0 -/* 8030703C 00303F9C 98 04 00 51 */ stb r0, 0x51(r4) -/* 80307040 00303FA0 48 07 42 79 */ bl GXSetNumIndStages -lbl_80307044: -/* 80307044 00303FA4 80 75 00 68 */ lwz r3, 0x68(r21) -/* 80307048 00303FA8 3C 03 FF FA */ addis r0, r3, 0xfffa -/* 8030704C 00303FAC 28 00 3D EF */ cmplwi r0, 0x3def -/* 80307050 00303FB0 41 82 00 28 */ beq lbl_80307078 -/* 80307054 00303FB4 3C 80 00 06 */ lis r4, 0x00063DEF@ha -/* 80307058 00303FB8 38 60 00 00 */ li r3, 0 -/* 8030705C 00303FBC 38 04 3D EF */ addi r0, r4, 0x00063DEF@l -/* 80307060 00303FC0 38 80 00 0F */ li r4, 0xf -/* 80307064 00303FC4 90 15 00 68 */ stw r0, 0x68(r21) -/* 80307068 00303FC8 38 A0 00 0F */ li r5, 0xf -/* 8030706C 00303FCC 38 C0 00 0F */ li r6, 0xf -/* 80307070 00303FD0 38 E0 00 0C */ li r7, 0xc -/* 80307074 00303FD4 48 07 44 31 */ bl GXSetTevColorIn -lbl_80307078: -/* 80307078 00303FD8 80 15 00 70 */ lwz r0, 0x70(r21) -/* 8030707C 00303FDC 28 00 01 00 */ cmplwi r0, 0x100 -/* 80307080 00303FE0 41 82 00 28 */ beq lbl_803070A8 -/* 80307084 00303FE4 38 00 01 00 */ li r0, 0x100 -/* 80307088 00303FE8 38 60 00 00 */ li r3, 0 -/* 8030708C 00303FEC 90 15 00 70 */ stw r0, 0x70(r21) -/* 80307090 00303FF0 38 80 00 00 */ li r4, 0 -/* 80307094 00303FF4 38 A0 00 00 */ li r5, 0 -/* 80307098 00303FF8 38 C0 00 00 */ li r6, 0 -/* 8030709C 00303FFC 38 E0 00 01 */ li r7, 1 -/* 803070A0 00304000 39 00 00 00 */ li r8, 0 -/* 803070A4 00304004 48 07 44 89 */ bl GXSetTevColorOp -lbl_803070A8: -/* 803070A8 00304008 3C 60 80 5A */ lis r3, lbl_805A53EC@ha -/* 803070AC 0030400C 38 C0 00 00 */ li r6, 0 -/* 803070B0 00304010 3B A3 53 EC */ addi r29, r3, lbl_805A53EC@l -/* 803070B4 00304014 88 BD 00 4D */ lbz r5, 0x4d(r29) -/* 803070B8 00304018 88 1D 00 4F */ lbz r0, 0x4f(r29) -/* 803070BC 0030401C 7C 85 00 D0 */ neg r4, r5 -/* 803070C0 00304020 88 7D 00 4C */ lbz r3, 0x4c(r29) -/* 803070C4 00304024 7C 84 2B 78 */ or r4, r4, r5 -/* 803070C8 00304028 28 00 00 01 */ cmplwi r0, 1 -/* 803070CC 0030402C 50 83 0F FE */ rlwimi r3, r4, 1, 0x1f, 0x1f -/* 803070D0 00304030 98 DD 00 4E */ stb r6, 0x4e(r29) -/* 803070D4 00304034 98 7D 00 4C */ stb r3, 0x4c(r29) -/* 803070D8 00304038 41 82 00 14 */ beq lbl_803070EC -/* 803070DC 0030403C 38 00 00 01 */ li r0, 1 -/* 803070E0 00304040 38 60 00 01 */ li r3, 1 -/* 803070E4 00304044 98 1D 00 4F */ stb r0, 0x4f(r29) -/* 803070E8 00304048 48 07 11 7D */ bl GXSetNumTexGens -lbl_803070EC: -/* 803070EC 0030404C 3C 60 80 5A */ lis r3, lbl_805A53EC@ha -/* 803070F0 00304050 3A A3 53 EC */ addi r21, r3, lbl_805A53EC@l -/* 803070F4 00304054 A0 15 00 56 */ lhz r0, 0x56(r21) -/* 803070F8 00304058 28 00 00 05 */ cmplwi r0, 5 -/* 803070FC 0030405C 41 82 00 28 */ beq lbl_80307124 -/* 80307100 00304060 38 60 00 05 */ li r3, 5 -/* 80307104 00304064 4B DA D2 75 */ bl update_fog__3CGXFUi -/* 80307108 00304068 38 00 00 05 */ li r0, 5 -/* 8030710C 0030406C 38 60 00 01 */ li r3, 1 -/* 80307110 00304070 B0 15 00 56 */ sth r0, 0x56(r21) -/* 80307114 00304074 38 80 00 01 */ li r4, 1 -/* 80307118 00304078 38 A0 00 00 */ li r5, 0 -/* 8030711C 0030407C 38 C0 00 00 */ li r6, 0 -/* 80307120 00304080 48 07 4D 8D */ bl GXSetBlendMode -lbl_80307124: -/* 80307124 00304084 80 B4 00 00 */ lwz r5, 0(r20) -/* 80307128 00304088 1F 59 00 03 */ mulli r26, r25, 3 -/* 8030712C 0030408C 57 3B 08 3C */ slwi r27, r25, 1 -/* 80307130 00304090 80 65 00 1C */ lwz r3, 0x1c(r5) -/* 80307134 00304094 3A C0 00 00 */ li r22, 0 -/* 80307138 00304098 80 85 00 10 */ lwz r4, 0x10(r5) -/* 8030713C 0030409C 3F C0 CC 01 */ lis r30, 0xcc01 -/* 80307140 003040A0 38 03 00 4B */ addi r0, r3, 0x4b -/* 80307144 003040A4 54 00 00 34 */ rlwinm r0, r0, 0, 0, 0x1a -/* 80307148 003040A8 54 98 00 7E */ clrlwi r24, r4, 1 -/* 8030714C 003040AC 7E E5 02 14 */ add r23, r5, r0 -/* 80307150 003040B0 48 00 02 D8 */ b lbl_80307428 -lbl_80307154: -/* 80307154 003040B4 88 17 00 00 */ lbz r0, 0(r23) -/* 80307158 003040B8 54 1F 06 39 */ rlwinm. r31, r0, 0, 0x18, 0x1c -/* 8030715C 003040BC 41 82 02 D4 */ beq lbl_80307430 -/* 80307160 003040C0 88 77 00 01 */ lbz r3, 1(r23) -/* 80307164 003040C4 3A D6 00 03 */ addi r22, r22, 3 -/* 80307168 003040C8 88 17 00 02 */ lbz r0, 2(r23) -/* 8030716C 003040CC 3A F7 00 03 */ addi r23, r23, 3 -/* 80307170 003040D0 98 61 00 40 */ stb r3, 0x40(r1) -/* 80307174 003040D4 98 01 00 41 */ stb r0, 0x41(r1) -/* 80307178 003040D8 A3 81 00 40 */ lhz r28, 0x40(r1) -/* 8030717C 003040DC 28 1C 00 03 */ cmplwi r28, 3 -/* 80307180 003040E0 41 80 02 B0 */ blt lbl_80307430 -/* 80307184 003040E4 88 1D 00 4C */ lbz r0, 0x4c(r29) -/* 80307188 003040E8 28 00 00 00 */ cmplwi r0, 0 -/* 8030718C 003040EC 41 82 00 08 */ beq lbl_80307194 -/* 80307190 003040F0 48 00 0E 55 */ bl FlushState__3CGXFv -lbl_80307194: -/* 80307194 003040F4 38 60 00 B0 */ li r3, 0xb0 -/* 80307198 003040F8 38 80 00 00 */ li r4, 0 -/* 8030719C 003040FC 38 A0 00 04 */ li r5, 4 -/* 803071A0 00304100 48 07 17 55 */ bl GXBegin -/* 803071A4 00304104 88 97 00 00 */ lbz r4, 0(r23) -/* 803071A8 00304108 7C 1C C9 D6 */ mullw r0, r28, r25 -/* 803071AC 0030410C 88 77 00 01 */ lbz r3, 1(r23) -/* 803071B0 00304110 7C B9 BA 14 */ add r5, r25, r23 -/* 803071B4 00304114 98 81 00 3C */ stb r4, 0x3c(r1) -/* 803071B8 00304118 7C 9B BA 14 */ add r4, r27, r23 -/* 803071BC 0030411C 28 1F 00 90 */ cmplwi r31, 0x90 -/* 803071C0 00304120 98 61 00 3D */ stb r3, 0x3d(r1) -/* 803071C4 00304124 7E D6 02 14 */ add r22, r22, r0 -/* 803071C8 00304128 A0 01 00 3C */ lhz r0, 0x3c(r1) -/* 803071CC 0030412C B0 1E 80 00 */ sth r0, 0xCC008000@l(r30) -/* 803071D0 00304130 88 65 00 00 */ lbz r3, 0(r5) -/* 803071D4 00304134 88 05 00 01 */ lbz r0, 1(r5) -/* 803071D8 00304138 98 61 00 38 */ stb r3, 0x38(r1) -/* 803071DC 0030413C 98 01 00 39 */ stb r0, 0x39(r1) -/* 803071E0 00304140 A0 01 00 38 */ lhz r0, 0x38(r1) -/* 803071E4 00304144 B0 1E 80 00 */ sth r0, 0xCC008000@l(r30) -/* 803071E8 00304148 88 64 00 00 */ lbz r3, 0(r4) -/* 803071EC 0030414C 88 04 00 01 */ lbz r0, 1(r4) -/* 803071F0 00304150 98 61 00 34 */ stb r3, 0x34(r1) -/* 803071F4 00304154 98 01 00 35 */ stb r0, 0x35(r1) -/* 803071F8 00304158 A0 01 00 34 */ lhz r0, 0x34(r1) -/* 803071FC 0030415C B0 1E 80 00 */ sth r0, 0xCC008000@l(r30) -/* 80307200 00304160 88 77 00 00 */ lbz r3, 0(r23) -/* 80307204 00304164 88 17 00 01 */ lbz r0, 1(r23) -/* 80307208 00304168 7E F7 D2 14 */ add r23, r23, r26 -/* 8030720C 0030416C 98 61 00 30 */ stb r3, 0x30(r1) -/* 80307210 00304170 98 01 00 31 */ stb r0, 0x31(r1) -/* 80307214 00304174 A0 01 00 30 */ lhz r0, 0x30(r1) -/* 80307218 00304178 B0 1E 80 00 */ sth r0, 0xCC008000@l(r30) -/* 8030721C 0030417C 40 82 00 B4 */ bne lbl_803072D0 -/* 80307220 00304180 3B 9C FF FD */ addi r28, r28, -3 -/* 80307224 00304184 3A A0 00 00 */ li r21, 0 -/* 80307228 00304188 57 9C 04 3E */ clrlwi r28, r28, 0x10 -/* 8030722C 0030418C 3F E0 CC 01 */ lis r31, 0xcc01 -/* 80307230 00304190 48 00 00 94 */ b lbl_803072C4 -lbl_80307234: -/* 80307234 00304194 88 1D 00 4C */ lbz r0, 0x4c(r29) -/* 80307238 00304198 28 00 00 00 */ cmplwi r0, 0 -/* 8030723C 0030419C 41 82 00 08 */ beq lbl_80307244 -/* 80307240 003041A0 48 00 0D A5 */ bl FlushState__3CGXFv -lbl_80307244: -/* 80307244 003041A4 38 60 00 B0 */ li r3, 0xb0 -/* 80307248 003041A8 38 80 00 00 */ li r4, 0 -/* 8030724C 003041AC 38 A0 00 04 */ li r5, 4 -/* 80307250 003041B0 48 07 16 A5 */ bl GXBegin -/* 80307254 003041B4 88 77 00 00 */ lbz r3, 0(r23) -/* 80307258 003041B8 7C 99 BA 14 */ add r4, r25, r23 -/* 8030725C 003041BC 88 17 00 01 */ lbz r0, 1(r23) -/* 80307260 003041C0 7C BB BA 14 */ add r5, r27, r23 -/* 80307264 003041C4 98 61 00 2C */ stb r3, 0x2c(r1) -/* 80307268 003041C8 3A B5 00 03 */ addi r21, r21, 3 -/* 8030726C 003041CC 98 01 00 2D */ stb r0, 0x2d(r1) -/* 80307270 003041D0 A0 01 00 2C */ lhz r0, 0x2c(r1) -/* 80307274 003041D4 B0 1F 80 00 */ sth r0, 0xCC008000@l(r31) -/* 80307278 003041D8 88 64 00 00 */ lbz r3, 0(r4) -/* 8030727C 003041DC 88 04 00 01 */ lbz r0, 1(r4) -/* 80307280 003041E0 98 61 00 28 */ stb r3, 0x28(r1) -/* 80307284 003041E4 98 01 00 29 */ stb r0, 0x29(r1) -/* 80307288 003041E8 A0 01 00 28 */ lhz r0, 0x28(r1) -/* 8030728C 003041EC B0 1F 80 00 */ sth r0, 0xCC008000@l(r31) -/* 80307290 003041F0 88 65 00 00 */ lbz r3, 0(r5) -/* 80307294 003041F4 88 05 00 01 */ lbz r0, 1(r5) -/* 80307298 003041F8 98 61 00 24 */ stb r3, 0x24(r1) -/* 8030729C 003041FC 98 01 00 25 */ stb r0, 0x25(r1) -/* 803072A0 00304200 A0 01 00 24 */ lhz r0, 0x24(r1) -/* 803072A4 00304204 B0 1F 80 00 */ sth r0, 0xCC008000@l(r31) -/* 803072A8 00304208 88 77 00 00 */ lbz r3, 0(r23) -/* 803072AC 0030420C 88 17 00 01 */ lbz r0, 1(r23) -/* 803072B0 00304210 7E F7 D2 14 */ add r23, r23, r26 -/* 803072B4 00304214 98 61 00 20 */ stb r3, 0x20(r1) -/* 803072B8 00304218 98 01 00 21 */ stb r0, 0x21(r1) -/* 803072BC 0030421C A0 01 00 20 */ lhz r0, 0x20(r1) -/* 803072C0 00304220 B0 1F 80 00 */ sth r0, 0xCC008000@l(r31) -lbl_803072C4: -/* 803072C4 00304224 7C 15 E0 00 */ cmpw r21, r28 -/* 803072C8 00304228 41 80 FF 6C */ blt lbl_80307234 -/* 803072CC 0030422C 48 00 01 5C */ b lbl_80307428 -lbl_803072D0: -/* 803072D0 00304230 28 1F 00 98 */ cmplwi r31, 0x98 -/* 803072D4 00304234 40 82 00 B8 */ bne lbl_8030738C -/* 803072D8 00304238 3B 9C FF FD */ addi r28, r28, -3 -/* 803072DC 0030423C 3A A0 00 01 */ li r21, 1 -/* 803072E0 00304240 57 9C 04 3E */ clrlwi r28, r28, 0x10 -/* 803072E4 00304244 3A 80 00 00 */ li r20, 0 -/* 803072E8 00304248 3F E0 CC 01 */ lis r31, 0xcc01 -/* 803072EC 0030424C 48 00 00 94 */ b lbl_80307380 -lbl_803072F0: -/* 803072F0 00304250 88 1D 00 4C */ lbz r0, 0x4c(r29) -/* 803072F4 00304254 28 00 00 00 */ cmplwi r0, 0 -/* 803072F8 00304258 41 82 00 08 */ beq lbl_80307300 -/* 803072FC 0030425C 48 00 0C E9 */ bl FlushState__3CGXFv -lbl_80307300: -/* 80307300 00304260 38 60 00 B0 */ li r3, 0xb0 -/* 80307304 00304264 38 80 00 00 */ li r4, 0 -/* 80307308 00304268 38 A0 00 03 */ li r5, 3 -/* 8030730C 0030426C 48 07 15 E9 */ bl GXBegin -/* 80307310 00304270 38 15 00 01 */ addi r0, r21, 1 -/* 80307314 00304274 6A A3 00 01 */ xori r3, r21, 1 -/* 80307318 00304278 7C 19 01 D6 */ mullw r0, r25, r0 -/* 8030731C 0030427C 6A B5 00 01 */ xori r21, r21, 1 -/* 80307320 00304280 38 83 00 01 */ addi r4, r3, 1 -/* 80307324 00304284 3A 94 00 01 */ addi r20, r20, 1 -/* 80307328 00304288 7C A0 B8 50 */ subf r5, r0, r23 -/* 8030732C 0030428C 88 65 00 00 */ lbz r3, 0(r5) -/* 80307330 00304290 7C 99 21 D6 */ mullw r4, r25, r4 -/* 80307334 00304294 88 05 00 01 */ lbz r0, 1(r5) -/* 80307338 00304298 98 61 00 1C */ stb r3, 0x1c(r1) -/* 8030733C 0030429C 98 01 00 1D */ stb r0, 0x1d(r1) -/* 80307340 003042A0 7C 84 B8 50 */ subf r4, r4, r23 -/* 80307344 003042A4 A0 01 00 1C */ lhz r0, 0x1c(r1) -/* 80307348 003042A8 B0 1F 80 00 */ sth r0, 0xCC008000@l(r31) -/* 8030734C 003042AC 88 77 00 00 */ lbz r3, 0(r23) -/* 80307350 003042B0 88 17 00 01 */ lbz r0, 1(r23) -/* 80307354 003042B4 7E F7 CA 14 */ add r23, r23, r25 -/* 80307358 003042B8 98 61 00 18 */ stb r3, 0x18(r1) -/* 8030735C 003042BC 98 01 00 19 */ stb r0, 0x19(r1) -/* 80307360 003042C0 A0 01 00 18 */ lhz r0, 0x18(r1) -/* 80307364 003042C4 B0 1F 80 00 */ sth r0, 0xCC008000@l(r31) -/* 80307368 003042C8 88 64 00 00 */ lbz r3, 0(r4) -/* 8030736C 003042CC 88 04 00 01 */ lbz r0, 1(r4) -/* 80307370 003042D0 98 61 00 14 */ stb r3, 0x14(r1) -/* 80307374 003042D4 98 01 00 15 */ stb r0, 0x15(r1) -/* 80307378 003042D8 A0 01 00 14 */ lhz r0, 0x14(r1) -/* 8030737C 003042DC B0 1F 80 00 */ sth r0, 0xCC008000@l(r31) -lbl_80307380: -/* 80307380 003042E0 7C 14 E0 00 */ cmpw r20, r28 -/* 80307384 003042E4 41 80 FF 6C */ blt lbl_803072F0 -/* 80307388 003042E8 48 00 00 A0 */ b lbl_80307428 -lbl_8030738C: -/* 8030738C 003042EC 28 1F 00 A0 */ cmplwi r31, 0xa0 -/* 80307390 003042F0 40 82 00 A0 */ bne lbl_80307430 -/* 80307394 003042F4 3B 9C FF FD */ addi r28, r28, -3 -/* 80307398 003042F8 7E 9A B8 50 */ subf r20, r26, r23 -/* 8030739C 003042FC 57 9C 04 3E */ clrlwi r28, r28, 0x10 -/* 803073A0 00304300 3A A0 00 00 */ li r21, 0 -/* 803073A4 00304304 3F E0 CC 01 */ lis r31, 0xcc01 -/* 803073A8 00304308 48 00 00 78 */ b lbl_80307420 -lbl_803073AC: -/* 803073AC 0030430C 88 1D 00 4C */ lbz r0, 0x4c(r29) -/* 803073B0 00304310 7E 79 B8 50 */ subf r19, r25, r23 -/* 803073B4 00304314 28 00 00 00 */ cmplwi r0, 0 -/* 803073B8 00304318 41 82 00 08 */ beq lbl_803073C0 -/* 803073BC 0030431C 48 00 0C 29 */ bl FlushState__3CGXFv -lbl_803073C0: -/* 803073C0 00304320 38 60 00 B0 */ li r3, 0xb0 -/* 803073C4 00304324 38 80 00 00 */ li r4, 0 -/* 803073C8 00304328 38 A0 00 03 */ li r5, 3 -/* 803073CC 0030432C 48 07 15 29 */ bl GXBegin -/* 803073D0 00304330 88 73 00 00 */ lbz r3, 0(r19) -/* 803073D4 00304334 3A B5 00 01 */ addi r21, r21, 1 -/* 803073D8 00304338 88 13 00 01 */ lbz r0, 1(r19) -/* 803073DC 0030433C 98 61 00 10 */ stb r3, 0x10(r1) -/* 803073E0 00304340 98 01 00 11 */ stb r0, 0x11(r1) -/* 803073E4 00304344 A0 01 00 10 */ lhz r0, 0x10(r1) -/* 803073E8 00304348 B0 1F 80 00 */ sth r0, 0xCC008000@l(r31) -/* 803073EC 0030434C 88 77 00 00 */ lbz r3, 0(r23) -/* 803073F0 00304350 88 17 00 01 */ lbz r0, 1(r23) -/* 803073F4 00304354 7E F7 CA 14 */ add r23, r23, r25 -/* 803073F8 00304358 98 61 00 0C */ stb r3, 0xc(r1) -/* 803073FC 0030435C 98 01 00 0D */ stb r0, 0xd(r1) -/* 80307400 00304360 A0 01 00 0C */ lhz r0, 0xc(r1) -/* 80307404 00304364 B0 1F 80 00 */ sth r0, 0xCC008000@l(r31) -/* 80307408 00304368 88 74 00 00 */ lbz r3, 0(r20) -/* 8030740C 0030436C 88 14 00 01 */ lbz r0, 1(r20) -/* 80307410 00304370 98 61 00 08 */ stb r3, 8(r1) -/* 80307414 00304374 98 01 00 09 */ stb r0, 9(r1) -/* 80307418 00304378 A0 01 00 08 */ lhz r0, 8(r1) -/* 8030741C 0030437C B0 1F 80 00 */ sth r0, 0xCC008000@l(r31) -lbl_80307420: -/* 80307420 00304380 7C 15 E0 00 */ cmpw r21, r28 -/* 80307424 00304384 41 80 FF 88 */ blt lbl_803073AC -lbl_80307428: -/* 80307428 00304388 7C 16 C0 00 */ cmpw r22, r24 -/* 8030742C 0030438C 41 80 FD 28 */ blt lbl_80307154 -lbl_80307430: -/* 80307430 00304390 BA 61 00 4C */ lmw r19, 0x4c(r1) -/* 80307434 00304394 80 01 00 84 */ lwz r0, 0x84(r1) -/* 80307438 00304398 7C 08 03 A6 */ mtlr r0 -/* 8030743C 0030439C 38 21 00 80 */ addi r1, r1, 0x80 -/* 80307440 003043A0 4E 80 00 20 */ blr - -.global DrawSurface__10CCubeModelCFRC12CCubeSurfaceRC11CModelFlags -DrawSurface__10CCubeModelCFRC12CCubeSurfaceRC11CModelFlags: -/* 80307444 003043A4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80307448 003043A8 7C 08 02 A6 */ mflr r0 -/* 8030744C 003043AC 90 01 00 24 */ stw r0, 0x24(r1) -/* 80307450 003043B0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80307454 003043B4 7C 9F 23 78 */ mr r31, r4 -/* 80307458 003043B8 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8030745C 003043BC 7C BE 2B 78 */ mr r30, r5 -/* 80307460 003043C0 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80307464 003043C4 7C 7D 1B 78 */ mr r29, r3 -/* 80307468 003043C8 38 61 00 08 */ addi r3, r1, 8 -/* 8030746C 003043CC 80 C4 00 00 */ lwz r6, 0(r4) -/* 80307470 003043D0 7F A4 EB 78 */ mr r4, r29 -/* 80307474 003043D4 80 A6 00 0C */ lwz r5, 0xc(r6) -/* 80307478 003043D8 48 00 00 95 */ bl GetMaterialByIndex__10CCubeModelCFi -/* 8030747C 003043DC 80 61 00 08 */ lwz r3, 8(r1) -/* 80307480 003043E0 90 61 00 0C */ stw r3, 0xc(r1) -/* 80307484 003043E4 80 03 00 00 */ lwz r0, 0(r3) -/* 80307488 003043E8 54 00 05 AD */ rlwinm. r0, r0, 0, 0x16, 0x16 -/* 8030748C 003043EC 41 82 00 10 */ beq lbl_8030749C -/* 80307490 003043F0 88 0D A7 80 */ lbz r0, lbl_805A9340@sda21(r13) -/* 80307494 003043F4 28 00 00 00 */ cmplwi r0, 0 -/* 80307498 003043F8 41 82 00 58 */ beq lbl_803074F0 -lbl_8030749C: -/* 8030749C 003043FC 7F C4 F3 78 */ mr r4, r30 -/* 803074A0 00304400 7F E5 FB 78 */ mr r5, r31 -/* 803074A4 00304404 7F A6 EB 78 */ mr r6, r29 -/* 803074A8 00304408 38 61 00 0C */ addi r3, r1, 0xc -/* 803074AC 0030440C 48 03 E9 B1 */ bl SetCurrent__13CCubeMaterialCFRC11CModelFlagsRC12CCubeSurfaceRC10CCubeModel -/* 803074B0 00304410 80 BF 00 00 */ lwz r5, 0(r31) -/* 803074B4 00304414 3C 60 80 5A */ lis r3, lbl_805A53EC@ha -/* 803074B8 00304418 38 63 53 EC */ addi r3, r3, lbl_805A53EC@l -/* 803074BC 0030441C 80 85 00 1C */ lwz r4, 0x1c(r5) -/* 803074C0 00304420 88 03 00 4C */ lbz r0, 0x4c(r3) -/* 803074C4 00304424 38 64 00 4B */ addi r3, r4, 0x4b -/* 803074C8 00304428 80 85 00 10 */ lwz r4, 0x10(r5) -/* 803074CC 0030442C 54 63 00 34 */ rlwinm r3, r3, 0, 0, 0x1a -/* 803074D0 00304430 28 00 00 00 */ cmplwi r0, 0 -/* 803074D4 00304434 54 9F 00 7E */ clrlwi r31, r4, 1 -/* 803074D8 00304438 7F C5 1A 14 */ add r30, r5, r3 -/* 803074DC 0030443C 41 82 00 08 */ beq lbl_803074E4 -/* 803074E0 00304440 48 00 0B 05 */ bl FlushState__3CGXFv -lbl_803074E4: -/* 803074E4 00304444 7F C3 F3 78 */ mr r3, r30 -/* 803074E8 00304448 7F E4 FB 78 */ mr r4, r31 -/* 803074EC 0030444C 48 07 4C E9 */ bl GXCallDisplayList -lbl_803074F0: -/* 803074F0 00304450 80 01 00 24 */ lwz r0, 0x24(r1) -/* 803074F4 00304454 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 803074F8 00304458 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 803074FC 0030445C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80307500 00304460 7C 08 03 A6 */ mtlr r0 -/* 80307504 00304464 38 21 00 20 */ addi r1, r1, 0x20 -/* 80307508 00304468 4E 80 00 20 */ blr - -.global GetMaterialByIndex__10CCubeModelCFi -GetMaterialByIndex__10CCubeModelCFi: -/* 8030750C 0030446C 80 C4 00 1C */ lwz r6, 0x1c(r4) -/* 80307510 00304470 2C 05 00 00 */ cmpwi r5, 0 -/* 80307514 00304474 80 E4 00 04 */ lwz r7, 4(r4) -/* 80307518 00304478 39 00 00 00 */ li r8, 0 -/* 8030751C 0030447C 80 86 00 04 */ lwz r4, 4(r6) -/* 80307520 00304480 38 04 00 01 */ addi r0, r4, 1 -/* 80307524 00304484 54 00 10 3A */ slwi r0, r0, 2 -/* 80307528 00304488 7C E7 02 14 */ add r7, r7, r0 -/* 8030752C 0030448C 80 C7 00 00 */ lwz r6, 0(r7) -/* 80307530 00304490 38 E7 00 04 */ addi r7, r7, 4 -/* 80307534 00304494 41 82 00 10 */ beq lbl_80307544 -/* 80307538 00304498 54 A0 10 3A */ slwi r0, r5, 2 -/* 8030753C 0030449C 7C 87 02 14 */ add r4, r7, r0 -/* 80307540 003044A0 81 04 FF FC */ lwz r8, -4(r4) -lbl_80307544: -/* 80307544 003044A4 54 C0 10 3A */ slwi r0, r6, 2 -/* 80307548 003044A8 7C E7 02 14 */ add r7, r7, r0 -/* 8030754C 003044AC 7C E7 42 14 */ add r7, r7, r8 -/* 80307550 003044B0 90 E3 00 00 */ stw r7, 0(r3) -/* 80307554 003044B4 4E 80 00 20 */ blr - -.global SetUsingPackedLightmaps__10CCubeModelCFb -SetUsingPackedLightmaps__10CCubeModelCFb: -/* 80307558 003044B8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8030755C 003044BC 7C 08 02 A6 */ mflr r0 -/* 80307560 003044C0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80307564 003044C4 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 80307568 003044C8 98 8D A7 82 */ stb r4, lbl_805A9342@sda21(r13) -/* 8030756C 003044CC 41 82 00 38 */ beq lbl_803075A4 -/* 80307570 003044D0 80 83 00 18 */ lwz r4, 0x18(r3) -/* 80307574 003044D4 28 04 00 00 */ cmplwi r4, 0 -/* 80307578 003044D8 41 82 00 5C */ beq lbl_803075D4 -/* 8030757C 003044DC 3C 60 80 5A */ lis r3, lbl_805A53EC@ha -/* 80307580 003044E0 38 63 53 EC */ addi r3, r3, lbl_805A53EC@l -/* 80307584 003044E4 80 03 00 10 */ lwz r0, 0x10(r3) -/* 80307588 003044E8 7C 00 20 40 */ cmplw r0, r4 -/* 8030758C 003044EC 41 82 00 48 */ beq lbl_803075D4 -/* 80307590 003044F0 90 83 00 10 */ stw r4, 0x10(r3) -/* 80307594 003044F4 38 60 00 0D */ li r3, 0xd -/* 80307598 003044F8 38 A0 00 04 */ li r5, 4 -/* 8030759C 003044FC 48 07 09 5D */ bl GXSetArray -/* 803075A0 00304500 48 00 00 34 */ b lbl_803075D4 -lbl_803075A4: -/* 803075A4 00304504 80 83 00 14 */ lwz r4, 0x14(r3) -/* 803075A8 00304508 28 04 00 00 */ cmplwi r4, 0 -/* 803075AC 0030450C 41 82 00 28 */ beq lbl_803075D4 -/* 803075B0 00304510 3C 60 80 5A */ lis r3, lbl_805A53EC@ha -/* 803075B4 00304514 38 63 53 EC */ addi r3, r3, lbl_805A53EC@l -/* 803075B8 00304518 80 03 00 10 */ lwz r0, 0x10(r3) -/* 803075BC 0030451C 7C 00 20 40 */ cmplw r0, r4 -/* 803075C0 00304520 41 82 00 14 */ beq lbl_803075D4 -/* 803075C4 00304524 90 83 00 10 */ stw r4, 0x10(r3) -/* 803075C8 00304528 38 60 00 0D */ li r3, 0xd -/* 803075CC 0030452C 38 A0 00 08 */ li r5, 8 -/* 803075D0 00304530 48 07 09 29 */ bl GXSetArray -lbl_803075D4: -/* 803075D4 00304534 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803075D8 00304538 7C 08 03 A6 */ mtlr r0 -/* 803075DC 0030453C 38 21 00 10 */ addi r1, r1, 0x10 -/* 803075E0 00304540 4E 80 00 20 */ blr - -.global SetSkinningArraysCurrent__10CCubeModelCFPCfPCf -SetSkinningArraysCurrent__10CCubeModelCFPCfPCf: -/* 803075E4 00304544 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803075E8 00304548 7C 08 02 A6 */ mflr r0 -/* 803075EC 0030454C 90 01 00 14 */ stw r0, 0x14(r1) -/* 803075F0 00304550 93 E1 00 0C */ stw r31, 0xc(r1) -/* 803075F4 00304554 7C 7F 1B 78 */ mr r31, r3 -/* 803075F8 00304558 38 6D A7 B8 */ addi r3, r13, lbl_805A9378@sda21 -/* 803075FC 0030455C 80 DF 00 10 */ lwz r6, 0x10(r31) -/* 80307600 00304560 48 00 1D 69 */ bl SetVtxState__Q29CGraphics12CRenderStateFPCfPCfPCUi -/* 80307604 00304564 7F E3 FB 78 */ mr r3, r31 -/* 80307608 00304568 48 00 00 B9 */ bl SetStaticArraysCurrent__10CCubeModelCFv -/* 8030760C 0030456C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80307610 00304570 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80307614 00304574 7C 08 03 A6 */ mtlr r0 -/* 80307618 00304578 38 21 00 10 */ addi r1, r1, 0x10 -/* 8030761C 0030457C 4E 80 00 20 */ blr - -.global SetArraysCurrent__10CCubeModelCFv -SetArraysCurrent__10CCubeModelCFv: -/* 80307620 00304580 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80307624 00304584 7C 08 02 A6 */ mflr r0 -/* 80307628 00304588 90 01 00 14 */ stw r0, 0x14(r1) -/* 8030762C 0030458C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80307630 00304590 7C 7F 1B 78 */ mr r31, r3 -/* 80307634 00304594 80 83 00 08 */ lwz r4, 8(r3) -/* 80307638 00304598 28 04 00 00 */ cmplwi r4, 0 -/* 8030763C 0030459C 41 82 00 24 */ beq lbl_80307660 -/* 80307640 003045A0 3C 60 80 5A */ lis r3, 0x805a -/* 80307644 003045A4 84 03 53 EC */ lwzu r0, 0x53ec(r3) -/* 80307648 003045A8 7C 00 20 40 */ cmplw r0, r4 -/* 8030764C 003045AC 41 82 00 14 */ beq lbl_80307660 -/* 80307650 003045B0 90 83 00 00 */ stw r4, 0(r3) -/* 80307654 003045B4 38 60 00 09 */ li r3, 9 -/* 80307658 003045B8 38 A0 00 0C */ li r5, 0xc -/* 8030765C 003045BC 48 07 08 9D */ bl GXSetArray -lbl_80307660: -/* 80307660 003045C0 88 1F 00 41 */ lbz r0, 0x41(r31) -/* 80307664 003045C4 38 A0 00 0C */ li r5, 0xc -/* 80307668 003045C8 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 8030766C 003045CC 41 82 00 08 */ beq lbl_80307674 -/* 80307670 003045D0 38 A0 00 06 */ li r5, 6 -lbl_80307674: -/* 80307674 003045D4 80 9F 00 0C */ lwz r4, 0xc(r31) -/* 80307678 003045D8 28 04 00 00 */ cmplwi r4, 0 -/* 8030767C 003045DC 41 82 00 28 */ beq lbl_803076A4 -/* 80307680 003045E0 3C 60 80 5A */ lis r3, lbl_805A53EC@ha -/* 80307684 003045E4 38 63 53 EC */ addi r3, r3, lbl_805A53EC@l -/* 80307688 003045E8 80 03 00 04 */ lwz r0, 4(r3) -/* 8030768C 003045EC 7C 00 20 40 */ cmplw r0, r4 -/* 80307690 003045F0 41 82 00 14 */ beq lbl_803076A4 -/* 80307694 003045F4 90 83 00 04 */ stw r4, 4(r3) -/* 80307698 003045F8 54 A5 06 3E */ clrlwi r5, r5, 0x18 -/* 8030769C 003045FC 38 60 00 0A */ li r3, 0xa -/* 803076A0 00304600 48 07 08 59 */ bl GXSetArray -lbl_803076A4: -/* 803076A4 00304604 7F E3 FB 78 */ mr r3, r31 -/* 803076A8 00304608 48 00 00 19 */ bl SetStaticArraysCurrent__10CCubeModelCFv -/* 803076AC 0030460C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803076B0 00304610 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 803076B4 00304614 7C 08 03 A6 */ mtlr r0 -/* 803076B8 00304618 38 21 00 10 */ addi r1, r1, 0x10 -/* 803076BC 0030461C 4E 80 00 20 */ blr - -.global SetStaticArraysCurrent__10CCubeModelCFv -SetStaticArraysCurrent__10CCubeModelCFv: -/* 803076C0 00304620 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 803076C4 00304624 7C 08 02 A6 */ mflr r0 -/* 803076C8 00304628 90 01 00 24 */ stw r0, 0x24(r1) -/* 803076CC 0030462C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 803076D0 00304630 93 C1 00 18 */ stw r30, 0x18(r1) -/* 803076D4 00304634 93 A1 00 14 */ stw r29, 0x14(r1) -/* 803076D8 00304638 7C 7D 1B 78 */ mr r29, r3 -/* 803076DC 0030463C 80 83 00 10 */ lwz r4, 0x10(r3) -/* 803076E0 00304640 28 04 00 00 */ cmplwi r4, 0 -/* 803076E4 00304644 41 82 00 28 */ beq lbl_8030770C -/* 803076E8 00304648 3C 60 80 5A */ lis r3, lbl_805A53EC@ha -/* 803076EC 0030464C 38 63 53 EC */ addi r3, r3, lbl_805A53EC@l -/* 803076F0 00304650 80 03 00 08 */ lwz r0, 8(r3) -/* 803076F4 00304654 7C 00 20 40 */ cmplw r0, r4 -/* 803076F8 00304658 41 82 00 14 */ beq lbl_8030770C -/* 803076FC 0030465C 90 83 00 08 */ stw r4, 8(r3) -/* 80307700 00304660 38 60 00 0B */ li r3, 0xb -/* 80307704 00304664 38 A0 00 04 */ li r5, 4 -/* 80307708 00304668 48 07 07 F1 */ bl GXSetArray -lbl_8030770C: -/* 8030770C 0030466C 80 9D 00 18 */ lwz r4, 0x18(r29) -/* 80307710 00304670 83 DD 00 14 */ lwz r30, 0x14(r29) -/* 80307714 00304674 28 04 00 00 */ cmplwi r4, 0 -/* 80307718 00304678 40 82 00 0C */ bne lbl_80307724 -/* 8030771C 0030467C 38 00 00 00 */ li r0, 0 -/* 80307720 00304680 98 0D A7 82 */ stb r0, lbl_805A9342@sda21(r13) -lbl_80307724: -/* 80307724 00304684 88 0D A7 82 */ lbz r0, lbl_805A9342@sda21(r13) -/* 80307728 00304688 28 00 00 00 */ cmplwi r0, 0 -/* 8030772C 0030468C 41 82 00 34 */ beq lbl_80307760 -/* 80307730 00304690 28 04 00 00 */ cmplwi r4, 0 -/* 80307734 00304694 41 82 00 5C */ beq lbl_80307790 -/* 80307738 00304698 3C 60 80 5A */ lis r3, lbl_805A53EC@ha -/* 8030773C 0030469C 38 63 53 EC */ addi r3, r3, lbl_805A53EC@l -/* 80307740 003046A0 80 03 00 10 */ lwz r0, 0x10(r3) -/* 80307744 003046A4 7C 00 20 40 */ cmplw r0, r4 -/* 80307748 003046A8 41 82 00 48 */ beq lbl_80307790 -/* 8030774C 003046AC 90 83 00 10 */ stw r4, 0x10(r3) -/* 80307750 003046B0 38 60 00 0D */ li r3, 0xd -/* 80307754 003046B4 38 A0 00 04 */ li r5, 4 -/* 80307758 003046B8 48 07 07 A1 */ bl GXSetArray -/* 8030775C 003046BC 48 00 00 34 */ b lbl_80307790 -lbl_80307760: -/* 80307760 003046C0 28 1E 00 00 */ cmplwi r30, 0 -/* 80307764 003046C4 41 82 00 2C */ beq lbl_80307790 -/* 80307768 003046C8 3C 60 80 5A */ lis r3, lbl_805A53EC@ha -/* 8030776C 003046CC 38 63 53 EC */ addi r3, r3, lbl_805A53EC@l -/* 80307770 003046D0 80 03 00 10 */ lwz r0, 0x10(r3) -/* 80307774 003046D4 7C 00 F0 40 */ cmplw r0, r30 -/* 80307778 003046D8 41 82 00 18 */ beq lbl_80307790 -/* 8030777C 003046DC 93 C3 00 10 */ stw r30, 0x10(r3) -/* 80307780 003046E0 7F C4 F3 78 */ mr r4, r30 -/* 80307784 003046E4 38 60 00 0D */ li r3, 0xd -/* 80307788 003046E8 38 A0 00 08 */ li r5, 8 -/* 8030778C 003046EC 48 07 07 6D */ bl GXSetArray -lbl_80307790: -/* 80307790 003046F0 28 1E 00 00 */ cmplwi r30, 0 -/* 80307794 003046F4 41 82 00 4C */ beq lbl_803077E0 -/* 80307798 003046F8 3C 60 80 5A */ lis r3, lbl_805A53EC@ha -/* 8030779C 003046FC 3B A0 00 01 */ li r29, 1 -/* 803077A0 00304700 3B E3 53 EC */ addi r31, r3, lbl_805A53EC@l -lbl_803077A4: -/* 803077A4 00304704 28 1E 00 00 */ cmplwi r30, 0 -/* 803077A8 00304708 38 7D 00 0D */ addi r3, r29, 0xd -/* 803077AC 0030470C 38 03 FF F7 */ addi r0, r3, -9 -/* 803077B0 00304710 41 82 00 24 */ beq lbl_803077D4 -/* 803077B4 00304714 54 04 10 3A */ slwi r4, r0, 2 -/* 803077B8 00304718 7C 1F 20 2E */ lwzx r0, r31, r4 -/* 803077BC 0030471C 7C 00 F0 40 */ cmplw r0, r30 -/* 803077C0 00304720 41 82 00 14 */ beq lbl_803077D4 -/* 803077C4 00304724 7F DF 21 2E */ stwx r30, r31, r4 -/* 803077C8 00304728 7F C4 F3 78 */ mr r4, r30 -/* 803077CC 0030472C 38 A0 00 08 */ li r5, 8 -/* 803077D0 00304730 48 07 07 29 */ bl GXSetArray -lbl_803077D4: -/* 803077D4 00304734 3B BD 00 01 */ addi r29, r29, 1 -/* 803077D8 00304738 2C 1D 00 07 */ cmpwi r29, 7 -/* 803077DC 0030473C 40 81 FF C8 */ ble lbl_803077A4 -lbl_803077E0: -/* 803077E0 00304740 48 03 E1 61 */ bl KillCachedViewDepState__13CCubeMaterialFv -/* 803077E4 00304744 80 01 00 24 */ lwz r0, 0x24(r1) -/* 803077E8 00304748 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 803077EC 0030474C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 803077F0 00304750 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 803077F4 00304754 7C 08 03 A6 */ mtlr r0 -/* 803077F8 00304758 38 21 00 20 */ addi r1, r1, 0x20 -/* 803077FC 0030475C 4E 80 00 20 */ blr - -.global "MakeTexturesFromMats__10CCubeModelFPCvRQ24rstl60vector<23TCachedToken<8CTexture>,Q24rstl17rmemory_allocator>R12IObjectStoreb" -"MakeTexturesFromMats__10CCubeModelFPCvRQ24rstl60vector<23TCachedToken<8CTexture>,Q24rstl17rmemory_allocator>R12IObjectStoreb": -/* 80307800 00304760 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 80307804 00304764 7C 08 02 A6 */ mflr r0 -/* 80307808 00304768 7C 67 1B 78 */ mr r7, r3 -/* 8030780C 0030476C 90 01 00 54 */ stw r0, 0x54(r1) -/* 80307810 00304770 BF 01 00 30 */ stmw r24, 0x30(r1) -/* 80307814 00304774 7C 9A 23 78 */ mr r26, r4 -/* 80307818 00304778 7C BB 2B 78 */ mr r27, r5 -/* 8030781C 0030477C 7C D8 33 78 */ mr r24, r6 -/* 80307820 00304780 3B C7 00 04 */ addi r30, r7, 4 -/* 80307824 00304784 83 A3 00 00 */ lwz r29, 0(r3) -/* 80307828 00304788 7F 43 D3 78 */ mr r3, r26 -/* 8030782C 0030478C 7F A4 EB 78 */ mr r4, r29 -/* 80307830 00304790 48 00 02 89 */ bl "reserve__Q24rstl60vector<23TCachedToken<8CTexture>,Q24rstl17rmemory_allocator>Fi" -/* 80307834 00304794 3C 60 54 58 */ lis r3, 0x54585452@ha -/* 80307838 00304798 57 19 06 3E */ clrlwi r25, r24, 0x18 -/* 8030783C 0030479C 3B E3 54 52 */ addi r31, r3, 0x54585452@l -/* 80307840 003047A0 3B 80 00 00 */ li r28, 0 -/* 80307844 003047A4 48 00 00 F4 */ b lbl_80307938 -lbl_80307848: -/* 80307848 003047A8 80 1E 00 00 */ lwz r0, 0(r30) -/* 8030784C 003047AC 7F 64 DB 78 */ mr r4, r27 -/* 80307850 003047B0 93 E1 00 10 */ stw r31, 0x10(r1) -/* 80307854 003047B4 38 61 00 08 */ addi r3, r1, 8 -/* 80307858 003047B8 38 A1 00 10 */ addi r5, r1, 0x10 -/* 8030785C 003047BC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80307860 003047C0 81 9B 00 00 */ lwz r12, 0(r27) -/* 80307864 003047C4 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80307868 003047C8 7D 89 03 A6 */ mtctr r12 -/* 8030786C 003047CC 4E 80 04 21 */ bctrl -/* 80307870 003047D0 38 61 00 18 */ addi r3, r1, 0x18 -/* 80307874 003047D4 38 81 00 08 */ addi r4, r1, 8 -/* 80307878 003047D8 48 03 96 31 */ bl __ct__6CTokenFRC6CToken -/* 8030787C 003047DC 38 00 00 00 */ li r0, 0 -/* 80307880 003047E0 90 01 00 20 */ stw r0, 0x20(r1) -/* 80307884 003047E4 80 1A 00 04 */ lwz r0, 4(r26) -/* 80307888 003047E8 80 BA 00 08 */ lwz r5, 8(r26) -/* 8030788C 003047EC 7C 00 28 00 */ cmpw r0, r5 -/* 80307890 003047F0 41 80 00 1C */ blt lbl_803078AC -/* 80307894 003047F4 2C 05 00 00 */ cmpwi r5, 0 -/* 80307898 003047F8 7F 43 D3 78 */ mr r3, r26 -/* 8030789C 003047FC 38 80 00 04 */ li r4, 4 -/* 803078A0 00304800 41 82 00 08 */ beq lbl_803078A8 -/* 803078A4 00304804 54 A4 08 3C */ slwi r4, r5, 1 -lbl_803078A8: -/* 803078A8 00304808 48 00 02 11 */ bl "reserve__Q24rstl60vector<23TCachedToken<8CTexture>,Q24rstl17rmemory_allocator>Fi" -lbl_803078AC: -/* 803078AC 0030480C 80 1A 00 04 */ lwz r0, 4(r26) -/* 803078B0 00304810 80 7A 00 0C */ lwz r3, 0xc(r26) -/* 803078B4 00304814 1C 00 00 0C */ mulli r0, r0, 0xc -/* 803078B8 00304818 7F 03 02 15 */ add. r24, r3, r0 -/* 803078BC 0030481C 41 82 00 18 */ beq lbl_803078D4 -/* 803078C0 00304820 7F 03 C3 78 */ mr r3, r24 -/* 803078C4 00304824 38 81 00 18 */ addi r4, r1, 0x18 -/* 803078C8 00304828 48 03 95 E1 */ bl __ct__6CTokenFRC6CToken -/* 803078CC 0030482C 80 01 00 20 */ lwz r0, 0x20(r1) -/* 803078D0 00304830 90 18 00 08 */ stw r0, 8(r24) -lbl_803078D4: -/* 803078D4 00304834 80 BA 00 04 */ lwz r5, 4(r26) -/* 803078D8 00304838 38 61 00 18 */ addi r3, r1, 0x18 -/* 803078DC 0030483C 38 80 00 00 */ li r4, 0 -/* 803078E0 00304840 38 05 00 01 */ addi r0, r5, 1 -/* 803078E4 00304844 90 1A 00 04 */ stw r0, 4(r26) -/* 803078E8 00304848 48 03 95 59 */ bl __dt__6CTokenFv -/* 803078EC 0030484C 38 61 00 08 */ addi r3, r1, 8 -/* 803078F0 00304850 38 80 FF FF */ li r4, -1 -/* 803078F4 00304854 48 03 95 4D */ bl __dt__6CTokenFv -/* 803078F8 00304858 28 19 00 00 */ cmplwi r25, 0 -/* 803078FC 0030485C 40 82 00 34 */ bne lbl_80307930 -/* 80307900 00304860 80 7A 00 04 */ lwz r3, 4(r26) -/* 80307904 00304864 80 9A 00 0C */ lwz r4, 0xc(r26) -/* 80307908 00304868 38 03 FF FF */ addi r0, r3, -1 -/* 8030790C 0030486C 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80307910 00304870 7F 04 02 14 */ add r24, r4, r0 -/* 80307914 00304874 80 18 00 08 */ lwz r0, 8(r24) -/* 80307918 00304878 28 00 00 00 */ cmplwi r0, 0 -/* 8030791C 0030487C 40 82 00 14 */ bne lbl_80307930 -/* 80307920 00304880 7F 03 C3 78 */ mr r3, r24 -/* 80307924 00304884 48 03 94 E9 */ bl GetObj__6CTokenFv -/* 80307928 00304888 80 03 00 04 */ lwz r0, 4(r3) -/* 8030792C 0030488C 90 18 00 08 */ stw r0, 8(r24) -lbl_80307930: -/* 80307930 00304890 3B DE 00 04 */ addi r30, r30, 4 -/* 80307934 00304894 3B 9C 00 01 */ addi r28, r28, 1 -lbl_80307938: -/* 80307938 00304898 7C 1C E8 40 */ cmplw r28, r29 -/* 8030793C 0030489C 41 80 FF 0C */ blt lbl_80307848 -/* 80307940 003048A0 BB 01 00 30 */ lmw r24, 0x30(r1) -/* 80307944 003048A4 80 01 00 54 */ lwz r0, 0x54(r1) -/* 80307948 003048A8 7C 08 03 A6 */ mtlr r0 -/* 8030794C 003048AC 38 21 00 50 */ addi r1, r1, 0x50 -/* 80307950 003048B0 4E 80 00 20 */ blr - -.global "__ct__10CCubeModelFPQ24rstl37vectorPQ24rstl60vector<23TCachedToken<8CTexture>,Q24rstl17rmemory_allocator>PCvPCvPCvPCvPCvPCvRC6CAABoxUcb" -"__ct__10CCubeModelFPQ24rstl37vectorPQ24rstl60vector<23TCachedToken<8CTexture>,Q24rstl17rmemory_allocator>PCvPCvPCvPCvPCvPCvRC6CAABoxUcb": -/* 80307954 003048B4 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80307958 003048B8 7C 08 02 A6 */ mflr r0 -/* 8030795C 003048BC 90 01 00 34 */ stw r0, 0x34(r1) -/* 80307960 003048C0 88 01 00 47 */ lbz r0, 0x47(r1) -/* 80307964 003048C4 BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 80307968 003048C8 7C 7E 1B 78 */ mr r30, r3 -/* 8030796C 003048CC 81 81 00 38 */ lwz r12, 0x38(r1) -/* 80307970 003048D0 7C 00 00 34 */ cntlzw r0, r0 -/* 80307974 003048D4 81 61 00 3C */ lwz r11, 0x3c(r1) -/* 80307978 003048D8 90 83 00 00 */ stw r4, 0(r3) -/* 8030797C 003048DC 38 80 00 00 */ li r4, 0 -/* 80307980 003048E0 90 C3 00 04 */ stw r6, 4(r3) -/* 80307984 003048E4 54 03 DE 3E */ rlwinm r3, r0, 0x1b, 0x18, 0x1f -/* 80307988 003048E8 80 C1 00 48 */ lwz r6, 0x48(r1) -/* 8030798C 003048EC 90 FE 00 08 */ stw r7, 8(r30) -/* 80307990 003048F0 88 E1 00 43 */ lbz r7, 0x43(r1) -/* 80307994 003048F4 91 1E 00 0C */ stw r8, 0xc(r30) -/* 80307998 003048F8 91 3E 00 10 */ stw r9, 0x10(r30) -/* 8030799C 003048FC 91 5E 00 14 */ stw r10, 0x14(r30) -/* 803079A0 00304900 91 9E 00 18 */ stw r12, 0x18(r30) -/* 803079A4 00304904 90 BE 00 1C */ stw r5, 0x1c(r30) -/* 803079A8 00304908 C0 0B 00 00 */ lfs f0, 0(r11) -/* 803079AC 0030490C D0 1E 00 20 */ stfs f0, 0x20(r30) -/* 803079B0 00304910 C0 0B 00 04 */ lfs f0, 4(r11) -/* 803079B4 00304914 D0 1E 00 24 */ stfs f0, 0x24(r30) -/* 803079B8 00304918 C0 0B 00 08 */ lfs f0, 8(r11) -/* 803079BC 0030491C D0 1E 00 28 */ stfs f0, 0x28(r30) -/* 803079C0 00304920 C0 0B 00 0C */ lfs f0, 0xc(r11) -/* 803079C4 00304924 D0 1E 00 2C */ stfs f0, 0x2c(r30) -/* 803079C8 00304928 C0 0B 00 10 */ lfs f0, 0x10(r11) -/* 803079CC 0030492C D0 1E 00 30 */ stfs f0, 0x30(r30) -/* 803079D0 00304930 C0 0B 00 14 */ lfs f0, 0x14(r11) -/* 803079D4 00304934 D0 1E 00 34 */ stfs f0, 0x34(r30) -/* 803079D8 00304938 90 9E 00 38 */ stw r4, 0x38(r30) -/* 803079DC 0030493C 90 9E 00 3C */ stw r4, 0x3c(r30) -/* 803079E0 00304940 88 1E 00 40 */ lbz r0, 0x40(r30) -/* 803079E4 00304944 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 803079E8 00304948 98 1E 00 40 */ stb r0, 0x40(r30) -/* 803079EC 0030494C 88 1E 00 40 */ lbz r0, 0x40(r30) -/* 803079F0 00304950 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 -/* 803079F4 00304954 98 1E 00 40 */ stb r0, 0x40(r30) -/* 803079F8 00304958 98 FE 00 41 */ stb r7, 0x41(r30) -/* 803079FC 0030495C 90 DE 00 44 */ stw r6, 0x44(r30) -/* 80307A00 00304960 83 FE 00 00 */ lwz r31, 0(r30) -/* 80307A04 00304964 80 9F 00 0C */ lwz r4, 0xc(r31) -/* 80307A08 00304968 48 00 00 10 */ b lbl_80307A18 -lbl_80307A0C: -/* 80307A0C 0030496C 80 64 00 00 */ lwz r3, 0(r4) -/* 80307A10 00304970 38 84 00 04 */ addi r4, r4, 4 -/* 80307A14 00304974 93 C3 00 14 */ stw r30, 0x14(r3) -lbl_80307A18: -/* 80307A18 00304978 80 BF 00 04 */ lwz r5, 4(r31) -/* 80307A1C 0030497C 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 80307A20 00304980 54 A0 10 3A */ slwi r0, r5, 2 -/* 80307A24 00304984 7C 03 02 14 */ add r0, r3, r0 -/* 80307A28 00304988 7C 04 00 40 */ cmplw r4, r0 -/* 80307A2C 0030498C 40 82 FF E0 */ bne lbl_80307A0C -/* 80307A30 00304990 7C BB 2B 78 */ mr r27, r5 -/* 80307A34 00304994 48 00 00 64 */ b lbl_80307A98 -lbl_80307A38: -/* 80307A38 00304998 38 1B FF FF */ addi r0, r27, -1 -/* 80307A3C 0030499C 83 9F 00 0C */ lwz r28, 0xc(r31) -/* 80307A40 003049A0 54 1D 10 3A */ slwi r29, r0, 2 -/* 80307A44 003049A4 7F C4 F3 78 */ mr r4, r30 -/* 80307A48 003049A8 7C BC E8 2E */ lwzx r5, r28, r29 -/* 80307A4C 003049AC 38 61 00 08 */ addi r3, r1, 8 -/* 80307A50 003049B0 80 A5 00 0C */ lwz r5, 0xc(r5) -/* 80307A54 003049B4 4B FF FA B9 */ bl GetMaterialByIndex__10CCubeModelCFi -/* 80307A58 003049B8 80 61 00 08 */ lwz r3, 8(r1) -/* 80307A5C 003049BC 80 03 00 00 */ lwz r0, 0(r3) -/* 80307A60 003049C0 54 00 06 F7 */ rlwinm. r0, r0, 0, 0x1b, 0x1b -/* 80307A64 003049C4 41 82 00 1C */ beq lbl_80307A80 -/* 80307A68 003049C8 80 1E 00 3C */ lwz r0, 0x3c(r30) -/* 80307A6C 003049CC 7C 7C E8 2E */ lwzx r3, r28, r29 -/* 80307A70 003049D0 90 03 00 18 */ stw r0, 0x18(r3) -/* 80307A74 003049D4 7C 1C E8 2E */ lwzx r0, r28, r29 -/* 80307A78 003049D8 90 1E 00 3C */ stw r0, 0x3c(r30) -/* 80307A7C 003049DC 48 00 00 18 */ b lbl_80307A94 -lbl_80307A80: -/* 80307A80 003049E0 80 1E 00 38 */ lwz r0, 0x38(r30) -/* 80307A84 003049E4 7C 7C E8 2E */ lwzx r3, r28, r29 -/* 80307A88 003049E8 90 03 00 18 */ stw r0, 0x18(r3) -/* 80307A8C 003049EC 7C 1C E8 2E */ lwzx r0, r28, r29 -/* 80307A90 003049F0 90 1E 00 38 */ stw r0, 0x38(r30) -lbl_80307A94: -/* 80307A94 003049F4 3B 7B FF FF */ addi r27, r27, -1 -lbl_80307A98: -/* 80307A98 003049F8 2C 1B 00 00 */ cmpwi r27, 0 -/* 80307A9C 003049FC 41 81 FF 9C */ bgt lbl_80307A38 -/* 80307AA0 00304A00 7F C3 F3 78 */ mr r3, r30 -/* 80307AA4 00304A04 BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 80307AA8 00304A08 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80307AAC 00304A0C 7C 08 03 A6 */ mtlr r0 -/* 80307AB0 00304A10 38 21 00 30 */ addi r1, r1, 0x30 -/* 80307AB4 00304A14 4E 80 00 20 */ blr - -.global "reserve__Q24rstl60vector<23TCachedToken<8CTexture>,Q24rstl17rmemory_allocator>Fi" -"reserve__Q24rstl60vector<23TCachedToken<8CTexture>,Q24rstl17rmemory_allocator>Fi": -/* 80307AB8 00304A18 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80307ABC 00304A1C 7C 08 02 A6 */ mflr r0 -/* 80307AC0 00304A20 90 01 00 34 */ stw r0, 0x34(r1) -/* 80307AC4 00304A24 BF 41 00 18 */ stmw r26, 0x18(r1) -/* 80307AC8 00304A28 7C 9F 23 78 */ mr r31, r4 -/* 80307ACC 00304A2C 7C 7E 1B 78 */ mr r30, r3 -/* 80307AD0 00304A30 80 03 00 08 */ lwz r0, 8(r3) -/* 80307AD4 00304A34 7C 1F 00 00 */ cmpw r31, r0 -/* 80307AD8 00304A38 40 81 00 D0 */ ble lbl_80307BA8 -/* 80307ADC 00304A3C 1C 7F 00 0C */ mulli r3, r31, 0xc -/* 80307AE0 00304A40 2C 03 00 00 */ cmpwi r3, 0 -/* 80307AE4 00304A44 40 82 00 0C */ bne lbl_80307AF0 -/* 80307AE8 00304A48 3B 80 00 00 */ li r28, 0 -/* 80307AEC 00304A4C 48 00 00 18 */ b lbl_80307B04 -lbl_80307AF0: -/* 80307AF0 00304A50 3C 80 80 3D */ lis r4, lbl_803D7398@ha -/* 80307AF4 00304A54 38 A0 00 00 */ li r5, 0 -/* 80307AF8 00304A58 38 84 73 98 */ addi r4, r4, lbl_803D7398@l -/* 80307AFC 00304A5C 48 00 DD 1D */ bl __nwa__FUlPCcPCc -/* 80307B00 00304A60 7C 7C 1B 78 */ mr r28, r3 -lbl_80307B04: -/* 80307B04 00304A64 80 1E 00 04 */ lwz r0, 4(r30) -/* 80307B08 00304A68 7F 9B E3 78 */ mr r27, r28 -/* 80307B0C 00304A6C 83 5E 00 0C */ lwz r26, 0xc(r30) -/* 80307B10 00304A70 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80307B14 00304A74 93 41 00 10 */ stw r26, 0x10(r1) -/* 80307B18 00304A78 7F BA 02 14 */ add r29, r26, r0 -/* 80307B1C 00304A7C 93 41 00 14 */ stw r26, 0x14(r1) -/* 80307B20 00304A80 93 A1 00 08 */ stw r29, 8(r1) -/* 80307B24 00304A84 93 A1 00 0C */ stw r29, 0xc(r1) -/* 80307B28 00304A88 48 00 00 28 */ b lbl_80307B50 -lbl_80307B2C: -/* 80307B2C 00304A8C 28 1B 00 00 */ cmplwi r27, 0 -/* 80307B30 00304A90 41 82 00 18 */ beq lbl_80307B48 -/* 80307B34 00304A94 7F 63 DB 78 */ mr r3, r27 -/* 80307B38 00304A98 7F 44 D3 78 */ mr r4, r26 -/* 80307B3C 00304A9C 48 03 93 6D */ bl __ct__6CTokenFRC6CToken -/* 80307B40 00304AA0 80 1A 00 08 */ lwz r0, 8(r26) -/* 80307B44 00304AA4 90 1B 00 08 */ stw r0, 8(r27) -lbl_80307B48: -/* 80307B48 00304AA8 3B 7B 00 0C */ addi r27, r27, 0xc -/* 80307B4C 00304AAC 3B 5A 00 0C */ addi r26, r26, 0xc -lbl_80307B50: -/* 80307B50 00304AB0 7C 1A E8 40 */ cmplw r26, r29 -/* 80307B54 00304AB4 40 82 FF D8 */ bne lbl_80307B2C -/* 80307B58 00304AB8 80 1E 00 04 */ lwz r0, 4(r30) -/* 80307B5C 00304ABC 83 5E 00 0C */ lwz r26, 0xc(r30) -/* 80307B60 00304AC0 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80307B64 00304AC4 7F 7A 02 14 */ add r27, r26, r0 -/* 80307B68 00304AC8 48 00 00 20 */ b lbl_80307B88 -lbl_80307B6C: -/* 80307B6C 00304ACC 28 1A 00 00 */ cmplwi r26, 0 -/* 80307B70 00304AD0 41 82 00 14 */ beq lbl_80307B84 -/* 80307B74 00304AD4 41 82 00 10 */ beq lbl_80307B84 -/* 80307B78 00304AD8 7F 43 D3 78 */ mr r3, r26 -/* 80307B7C 00304ADC 38 80 00 00 */ li r4, 0 -/* 80307B80 00304AE0 48 03 92 C1 */ bl __dt__6CTokenFv -lbl_80307B84: -/* 80307B84 00304AE4 3B 5A 00 0C */ addi r26, r26, 0xc -lbl_80307B88: -/* 80307B88 00304AE8 7C 1A D8 40 */ cmplw r26, r27 -/* 80307B8C 00304AEC 40 82 FF E0 */ bne lbl_80307B6C -/* 80307B90 00304AF0 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 80307B94 00304AF4 28 03 00 00 */ cmplwi r3, 0 -/* 80307B98 00304AF8 41 82 00 08 */ beq lbl_80307BA0 -/* 80307B9C 00304AFC 48 00 DD 95 */ bl Free__7CMemoryFPCv -lbl_80307BA0: -/* 80307BA0 00304B00 93 9E 00 0C */ stw r28, 0xc(r30) -/* 80307BA4 00304B04 93 FE 00 08 */ stw r31, 8(r30) -lbl_80307BA8: -/* 80307BA8 00304B08 BB 41 00 18 */ lmw r26, 0x18(r1) -/* 80307BAC 00304B0C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80307BB0 00304B10 7C 08 03 A6 */ mtlr r0 -/* 80307BB4 00304B14 38 21 00 30 */ addi r1, r1, 0x30 -/* 80307BB8 00304B18 4E 80 00 20 */ blr - -.global sub_80307bbc -sub_80307bbc: -/* 80307BBC 00304B1C 28 03 00 00 */ cmplwi r3, 0 -/* 80307BC0 00304B20 41 82 00 14 */ beq lbl_80307BD4 -/* 80307BC4 00304B24 3D 20 80 5A */ lis r9, lbl_805A53EC@ha -/* 80307BC8 00304B28 39 29 53 EC */ addi r9, r9, lbl_805A53EC@l -/* 80307BCC 00304B2C 88 09 00 53 */ lbz r0, 0x53(r9) -/* 80307BD0 00304B30 90 03 00 00 */ stw r0, 0(r3) -lbl_80307BD4: -/* 80307BD4 00304B34 28 04 00 00 */ cmplwi r4, 0 -/* 80307BD8 00304B38 41 82 00 14 */ beq lbl_80307BEC -/* 80307BDC 00304B3C 3C 60 80 5A */ lis r3, lbl_805A53EC@ha -/* 80307BE0 00304B40 38 63 53 EC */ addi r3, r3, lbl_805A53EC@l -/* 80307BE4 00304B44 C0 03 02 4C */ lfs f0, 0x24c(r3) -/* 80307BE8 00304B48 D0 04 00 00 */ stfs f0, 0(r4) -lbl_80307BEC: -/* 80307BEC 00304B4C 28 05 00 00 */ cmplwi r5, 0 -/* 80307BF0 00304B50 41 82 00 14 */ beq lbl_80307C04 -/* 80307BF4 00304B54 3C 60 80 5A */ lis r3, lbl_805A53EC@ha -/* 80307BF8 00304B58 38 63 53 EC */ addi r3, r3, lbl_805A53EC@l -/* 80307BFC 00304B5C C0 03 02 50 */ lfs f0, 0x250(r3) -/* 80307C00 00304B60 D0 05 00 00 */ stfs f0, 0(r5) -lbl_80307C04: -/* 80307C04 00304B64 28 06 00 00 */ cmplwi r6, 0 -/* 80307C08 00304B68 41 82 00 14 */ beq lbl_80307C1C -/* 80307C0C 00304B6C 3C 60 80 5A */ lis r3, lbl_805A53EC@ha -/* 80307C10 00304B70 38 63 53 EC */ addi r3, r3, lbl_805A53EC@l -/* 80307C14 00304B74 C0 03 02 54 */ lfs f0, 0x254(r3) -/* 80307C18 00304B78 D0 06 00 00 */ stfs f0, 0(r6) -lbl_80307C1C: -/* 80307C1C 00304B7C 28 07 00 00 */ cmplwi r7, 0 -/* 80307C20 00304B80 41 82 00 14 */ beq lbl_80307C34 -/* 80307C24 00304B84 3C 60 80 5A */ lis r3, lbl_805A53EC@ha -/* 80307C28 00304B88 38 63 53 EC */ addi r3, r3, lbl_805A53EC@l -/* 80307C2C 00304B8C C0 03 02 58 */ lfs f0, 0x258(r3) -/* 80307C30 00304B90 D0 07 00 00 */ stfs f0, 0(r7) -lbl_80307C34: -/* 80307C34 00304B94 28 08 00 00 */ cmplwi r8, 0 -/* 80307C38 00304B98 4D 82 00 20 */ beqlr -/* 80307C3C 00304B9C 3C 60 80 5A */ lis r3, lbl_805A53EC@ha -/* 80307C40 00304BA0 38 63 53 EC */ addi r3, r3, lbl_805A53EC@l -/* 80307C44 00304BA4 80 03 02 5C */ lwz r0, 0x25c(r3) -/* 80307C48 00304BA8 90 08 00 00 */ stw r0, 0(r8) -/* 80307C4C 00304BAC 4E 80 00 20 */ blr - -.global SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID -SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID: -/* 80307C50 00304BB0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80307C54 00304BB4 7C 08 02 A6 */ mflr r0 -/* 80307C58 00304BB8 90 01 00 14 */ stw r0, 0x14(r1) -/* 80307C5C 00304BBC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80307C60 00304BC0 7C 7F 1B 78 */ mr r31, r3 -/* 80307C64 00304BC4 1C 9F 00 1C */ mulli r4, r31, 0x1c -/* 80307C68 00304BC8 3C 60 80 5A */ lis r3, lbl_805A53EC@ha -/* 80307C6C 00304BCC 38 03 53 EC */ addi r0, r3, lbl_805A53EC@l -/* 80307C70 00304BD0 7C 60 22 14 */ add r3, r0, r4 -/* 80307C74 00304BD4 80 03 00 70 */ lwz r0, 0x70(r3) -/* 80307C78 00304BD8 38 E3 00 68 */ addi r7, r3, 0x68 -/* 80307C7C 00304BDC 28 00 01 00 */ cmplwi r0, 0x100 -/* 80307C80 00304BE0 40 82 00 10 */ bne lbl_80307C90 -/* 80307C84 00304BE4 80 07 00 0C */ lwz r0, 0xc(r7) -/* 80307C88 00304BE8 28 00 01 00 */ cmplwi r0, 0x100 -/* 80307C8C 00304BEC 41 82 00 48 */ beq lbl_80307CD4 -lbl_80307C90: -/* 80307C90 00304BF0 38 00 01 00 */ li r0, 0x100 -/* 80307C94 00304BF4 7F E3 FB 78 */ mr r3, r31 -/* 80307C98 00304BF8 90 07 00 0C */ stw r0, 0xc(r7) -/* 80307C9C 00304BFC 38 80 00 00 */ li r4, 0 -/* 80307CA0 00304C00 38 A0 00 00 */ li r5, 0 -/* 80307CA4 00304C04 38 C0 00 00 */ li r6, 0 -/* 80307CA8 00304C08 90 07 00 08 */ stw r0, 8(r7) -/* 80307CAC 00304C0C 38 E0 00 01 */ li r7, 1 -/* 80307CB0 00304C10 39 00 00 00 */ li r8, 0 -/* 80307CB4 00304C14 48 07 38 79 */ bl GXSetTevColorOp -/* 80307CB8 00304C18 7F E3 FB 78 */ mr r3, r31 -/* 80307CBC 00304C1C 38 80 00 00 */ li r4, 0 -/* 80307CC0 00304C20 38 A0 00 00 */ li r5, 0 -/* 80307CC4 00304C24 38 C0 00 00 */ li r6, 0 -/* 80307CC8 00304C28 38 E0 00 01 */ li r7, 1 -/* 80307CCC 00304C2C 39 00 00 00 */ li r8, 0 -/* 80307CD0 00304C30 48 07 38 C5 */ bl GXSetTevAlphaOp -lbl_80307CD4: -/* 80307CD4 00304C34 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80307CD8 00304C38 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80307CDC 00304C3C 7C 08 03 A6 */ mtlr r0 -/* 80307CE0 00304C40 38 21 00 10 */ addi r1, r1, 0x10 -/* 80307CE4 00304C44 4E 80 00 20 */ blr - -.global SetStandardDirectTev_Compressed__3CGXF13_GXTevStageIDUiUiUiUi -SetStandardDirectTev_Compressed__3CGXF13_GXTevStageIDUiUiUiUi: -/* 80307CE8 00304C48 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80307CEC 00304C4C 7C 08 02 A6 */ mflr r0 -/* 80307CF0 00304C50 3D 00 80 5A */ lis r8, lbl_805A53EC@ha -/* 80307CF4 00304C54 90 01 00 24 */ stw r0, 0x24(r1) -/* 80307CF8 00304C58 38 08 53 EC */ addi r0, r8, lbl_805A53EC@l -/* 80307CFC 00304C5C BF 41 00 08 */ stmw r26, 8(r1) -/* 80307D00 00304C60 7C 7A 1B 78 */ mr r26, r3 -/* 80307D04 00304C64 1D 3A 00 1C */ mulli r9, r26, 0x1c -/* 80307D08 00304C68 7C 9B 23 78 */ mr r27, r4 -/* 80307D0C 00304C6C 7C BC 2B 78 */ mr r28, r5 -/* 80307D10 00304C70 7C DD 33 78 */ mr r29, r6 -/* 80307D14 00304C74 7C 80 4A 14 */ add r4, r0, r9 -/* 80307D18 00304C78 7C FE 3B 78 */ mr r30, r7 -/* 80307D1C 00304C7C 3B E4 00 68 */ addi r31, r4, 0x68 -/* 80307D20 00304C80 80 04 00 78 */ lwz r0, 0x78(r4) -/* 80307D24 00304C84 28 00 00 00 */ cmplwi r0, 0 -/* 80307D28 00304C88 41 82 00 10 */ beq lbl_80307D38 -/* 80307D2C 00304C8C 38 00 00 00 */ li r0, 0 -/* 80307D30 00304C90 90 1F 00 10 */ stw r0, 0x10(r31) -/* 80307D34 00304C94 48 07 35 AD */ bl GXSetTevDirect -lbl_80307D38: -/* 80307D38 00304C98 80 1F 00 00 */ lwz r0, 0(r31) -/* 80307D3C 00304C9C 7C 00 D8 40 */ cmplw r0, r27 -/* 80307D40 00304CA0 41 82 00 20 */ beq lbl_80307D60 -/* 80307D44 00304CA4 93 7F 00 00 */ stw r27, 0(r31) -/* 80307D48 00304CA8 7F 43 D3 78 */ mr r3, r26 -/* 80307D4C 00304CAC 57 64 06 FE */ clrlwi r4, r27, 0x1b -/* 80307D50 00304CB0 57 65 DE FE */ rlwinm r5, r27, 0x1b, 0x1b, 0x1f -/* 80307D54 00304CB4 57 66 B6 FE */ rlwinm r6, r27, 0x16, 0x1b, 0x1f -/* 80307D58 00304CB8 57 67 8E FE */ rlwinm r7, r27, 0x11, 0x1b, 0x1f -/* 80307D5C 00304CBC 48 07 37 49 */ bl GXSetTevColorIn -lbl_80307D60: -/* 80307D60 00304CC0 80 1F 00 04 */ lwz r0, 4(r31) -/* 80307D64 00304CC4 7C 00 E0 40 */ cmplw r0, r28 -/* 80307D68 00304CC8 41 82 00 20 */ beq lbl_80307D88 -/* 80307D6C 00304CCC 93 9F 00 04 */ stw r28, 4(r31) -/* 80307D70 00304CD0 7F 43 D3 78 */ mr r3, r26 -/* 80307D74 00304CD4 57 84 06 FE */ clrlwi r4, r28, 0x1b -/* 80307D78 00304CD8 57 85 DE FE */ rlwinm r5, r28, 0x1b, 0x1b, 0x1f -/* 80307D7C 00304CDC 57 86 B6 FE */ rlwinm r6, r28, 0x16, 0x1b, 0x1f -/* 80307D80 00304CE0 57 87 8E FE */ rlwinm r7, r28, 0x11, 0x1b, 0x1f -/* 80307D84 00304CE4 48 07 37 65 */ bl GXSetTevAlphaIn -lbl_80307D88: -/* 80307D88 00304CE8 7C 1D F0 40 */ cmplw r29, r30 -/* 80307D8C 00304CEC 40 82 00 10 */ bne lbl_80307D9C -/* 80307D90 00304CF0 57 A0 05 FE */ clrlwi r0, r29, 0x17 -/* 80307D94 00304CF4 28 00 01 00 */ cmplwi r0, 0x100 -/* 80307D98 00304CF8 41 82 00 20 */ beq lbl_80307DB8 -lbl_80307D9C: -/* 80307D9C 00304CFC 7F 43 D3 78 */ mr r3, r26 -/* 80307DA0 00304D00 7F A4 EB 78 */ mr r4, r29 -/* 80307DA4 00304D04 48 00 0D 39 */ bl SetTevColorOp_Compressed__3CGXF13_GXTevStageIDUi -/* 80307DA8 00304D08 7F 43 D3 78 */ mr r3, r26 -/* 80307DAC 00304D0C 7F C4 F3 78 */ mr r4, r30 -/* 80307DB0 00304D10 48 00 0C 75 */ bl SetTevAlphaOp_Compressed__3CGXF13_GXTevStageIDUi -/* 80307DB4 00304D14 48 00 00 60 */ b lbl_80307E14 -lbl_80307DB8: -/* 80307DB8 00304D18 80 1F 00 08 */ lwz r0, 8(r31) -/* 80307DBC 00304D1C 7C 1D 00 40 */ cmplw r29, r0 -/* 80307DC0 00304D20 40 82 00 10 */ bne lbl_80307DD0 -/* 80307DC4 00304D24 80 1F 00 0C */ lwz r0, 0xc(r31) -/* 80307DC8 00304D28 7C 1D 00 40 */ cmplw r29, r0 -/* 80307DCC 00304D2C 41 82 00 48 */ beq lbl_80307E14 -lbl_80307DD0: -/* 80307DD0 00304D30 93 BF 00 0C */ stw r29, 0xc(r31) -/* 80307DD4 00304D34 57 BE BF BE */ rlwinm r30, r29, 0x17, 0x1e, 0x1f -/* 80307DD8 00304D38 7F 43 D3 78 */ mr r3, r26 -/* 80307DDC 00304D3C 38 80 00 00 */ li r4, 0 -/* 80307DE0 00304D40 93 BF 00 08 */ stw r29, 8(r31) -/* 80307DE4 00304D44 7F C8 F3 78 */ mr r8, r30 -/* 80307DE8 00304D48 38 A0 00 00 */ li r5, 0 -/* 80307DEC 00304D4C 38 C0 00 00 */ li r6, 0 -/* 80307DF0 00304D50 38 E0 00 01 */ li r7, 1 -/* 80307DF4 00304D54 48 07 37 39 */ bl GXSetTevColorOp -/* 80307DF8 00304D58 7F 43 D3 78 */ mr r3, r26 -/* 80307DFC 00304D5C 7F C8 F3 78 */ mr r8, r30 -/* 80307E00 00304D60 38 80 00 00 */ li r4, 0 -/* 80307E04 00304D64 38 A0 00 00 */ li r5, 0 -/* 80307E08 00304D68 38 C0 00 00 */ li r6, 0 -/* 80307E0C 00304D6C 38 E0 00 01 */ li r7, 1 -/* 80307E10 00304D70 48 07 37 85 */ bl GXSetTevAlphaOp -lbl_80307E14: -/* 80307E14 00304D74 BB 41 00 08 */ lmw r26, 8(r1) -/* 80307E18 00304D78 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80307E1C 00304D7C 7C 08 03 A6 */ mtlr r0 -/* 80307E20 00304D80 38 21 00 20 */ addi r1, r1, 0x20 -/* 80307E24 00304D84 4E 80 00 20 */ blr - -.global SetVtxDescv__3CGXFPC14_GXVtxDescList -SetVtxDescv__3CGXFPC14_GXVtxDescList: -/* 80307E28 00304D88 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80307E2C 00304D8C 7C 08 02 A6 */ mflr r0 -/* 80307E30 00304D90 38 C0 00 00 */ li r6, 0 -/* 80307E34 00304D94 90 01 00 14 */ stw r0, 0x14(r1) -/* 80307E38 00304D98 48 00 00 20 */ b lbl_80307E58 -lbl_80307E3C: -/* 80307E3C 00304D9C 80 83 00 04 */ lwz r4, 4(r3) -/* 80307E40 00304DA0 38 05 FF F7 */ addi r0, r5, -9 -/* 80307E44 00304DA4 54 00 08 3C */ slwi r0, r0, 1 -/* 80307E48 00304DA8 38 63 00 08 */ addi r3, r3, 8 -/* 80307E4C 00304DAC 54 84 07 BE */ clrlwi r4, r4, 0x1e -/* 80307E50 00304DB0 7C 80 00 30 */ slw r0, r4, r0 -/* 80307E54 00304DB4 7C C6 03 78 */ or r6, r6, r0 -lbl_80307E58: -/* 80307E58 00304DB8 80 A3 00 00 */ lwz r5, 0(r3) -/* 80307E5C 00304DBC 2C 05 00 FF */ cmpwi r5, 0xff -/* 80307E60 00304DC0 40 82 FF DC */ bne lbl_80307E3C -/* 80307E64 00304DC4 7C C3 33 78 */ mr r3, r6 -/* 80307E68 00304DC8 48 00 00 95 */ bl SetVtxDescv_Compressed__3CGXFUi -/* 80307E6C 00304DCC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80307E70 00304DD0 7C 08 03 A6 */ mtlr r0 -/* 80307E74 00304DD4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80307E78 00304DD8 4E 80 00 20 */ blr - -.global SetIndexedPositionVtxFmt__14CFluidPlaneCPUFv -SetIndexedPositionVtxFmt__14CFluidPlaneCPUFv: -/* 80307E7C 00304DDC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80307E80 00304DE0 7C 08 02 A6 */ mflr r0 -/* 80307E84 00304DE4 3C 60 80 3D */ lis r3, lbl_803D73B8@ha -/* 80307E88 00304DE8 90 01 00 14 */ stw r0, 0x14(r1) -/* 80307E8C 00304DEC 38 63 73 B8 */ addi r3, r3, lbl_803D73B8@l -/* 80307E90 00304DF0 4B FF FF 99 */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList -/* 80307E94 00304DF4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80307E98 00304DF8 7C 08 03 A6 */ mtlr r0 -/* 80307E9C 00304DFC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80307EA0 00304E00 4E 80 00 20 */ blr - -.global SetAttrFmt__11CFluidPlaneF6GXAttr10GXAttrType -SetAttrFmt__11CFluidPlaneF6GXAttr10GXAttrType: -/* 80307EA4 00304E04 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80307EA8 00304E08 7C 08 02 A6 */ mflr r0 -/* 80307EAC 00304E0C 3C A0 80 5A */ lis r5, lbl_805A53EC@ha -/* 80307EB0 00304E10 38 C3 FF F7 */ addi r6, r3, -9 -/* 80307EB4 00304E14 90 01 00 14 */ stw r0, 0x14(r1) -/* 80307EB8 00304E18 38 A5 53 EC */ addi r5, r5, lbl_805A53EC@l -/* 80307EBC 00304E1C 54 C7 08 3C */ slwi r7, r6, 1 -/* 80307EC0 00304E20 38 00 00 03 */ li r0, 3 -/* 80307EC4 00304E24 80 C5 00 48 */ lwz r6, 0x48(r5) -/* 80307EC8 00304E28 7C 08 38 30 */ slw r8, r0, r7 -/* 80307ECC 00304E2C 7C 87 38 30 */ slw r7, r4, r7 -/* 80307ED0 00304E30 7C C0 40 38 */ and r0, r6, r8 -/* 80307ED4 00304E34 7C 07 00 40 */ cmplw r7, r0 -/* 80307ED8 00304E38 41 82 00 14 */ beq lbl_80307EEC -/* 80307EDC 00304E3C 7C C0 40 78 */ andc r0, r6, r8 -/* 80307EE0 00304E40 7C E0 03 78 */ or r0, r7, r0 -/* 80307EE4 00304E44 90 05 00 48 */ stw r0, 0x48(r5) -/* 80307EE8 00304E48 48 06 F0 31 */ bl GXSetVtxDesc -lbl_80307EEC: -/* 80307EEC 00304E4C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80307EF0 00304E50 7C 08 03 A6 */ mtlr r0 -/* 80307EF4 00304E54 38 21 00 10 */ addi r1, r1, 0x10 -/* 80307EF8 00304E58 4E 80 00 20 */ blr - -.global SetVtxDescv_Compressed__3CGXFUi -SetVtxDescv_Compressed__3CGXFUi: -/* 80307EFC 00304E5C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80307F00 00304E60 7C 08 02 A6 */ mflr r0 -/* 80307F04 00304E64 3C 80 80 5A */ lis r4, lbl_805A53EC@ha -/* 80307F08 00304E68 90 01 00 14 */ stw r0, 0x14(r1) -/* 80307F0C 00304E6C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80307F10 00304E70 7C 7F 1B 78 */ mr r31, r3 -/* 80307F14 00304E74 93 C1 00 08 */ stw r30, 8(r1) -/* 80307F18 00304E78 3B C4 53 EC */ addi r30, r4, lbl_805A53EC@l -/* 80307F1C 00304E7C 80 BE 00 48 */ lwz r5, 0x48(r30) -/* 80307F20 00304E80 7C 1F 28 40 */ cmplw r31, r5 -/* 80307F24 00304E84 41 82 00 7C */ beq lbl_80307FA0 -/* 80307F28 00304E88 3C 60 80 48 */ lis r3, lbl_80479BD0@ha -/* 80307F2C 00304E8C 38 00 00 0B */ li r0, 0xb -/* 80307F30 00304E90 38 63 9B D0 */ addi r3, r3, lbl_80479BD0@l -/* 80307F34 00304E94 39 00 00 00 */ li r8, 0 -/* 80307F38 00304E98 7C 67 1B 78 */ mr r7, r3 -/* 80307F3C 00304E9C 38 C0 00 00 */ li r6, 0 -/* 80307F40 00304EA0 38 80 00 03 */ li r4, 3 -/* 80307F44 00304EA4 7C 09 03 A6 */ mtctr r0 -lbl_80307F48: -/* 80307F48 00304EA8 7C 80 30 30 */ slw r0, r4, r6 -/* 80307F4C 00304EAC 7F E3 00 38 */ and r3, r31, r0 -/* 80307F50 00304EB0 7C A0 00 38 */ and r0, r5, r0 -/* 80307F54 00304EB4 7C 03 00 40 */ cmplw r3, r0 -/* 80307F58 00304EB8 41 82 00 1C */ beq lbl_80307F74 -/* 80307F5C 00304EBC 38 68 00 09 */ addi r3, r8, 9 -/* 80307F60 00304EC0 7F E0 34 30 */ srw r0, r31, r6 -/* 80307F64 00304EC4 90 67 00 00 */ stw r3, 0(r7) -/* 80307F68 00304EC8 54 00 07 BE */ clrlwi r0, r0, 0x1e -/* 80307F6C 00304ECC 90 07 00 04 */ stw r0, 4(r7) -/* 80307F70 00304ED0 38 E7 00 08 */ addi r7, r7, 8 -lbl_80307F74: -/* 80307F74 00304ED4 38 C6 00 02 */ addi r6, r6, 2 -/* 80307F78 00304ED8 39 08 00 01 */ addi r8, r8, 1 -/* 80307F7C 00304EDC 42 00 FF CC */ bdnz lbl_80307F48 -/* 80307F80 00304EE0 38 00 00 FF */ li r0, 0xff -/* 80307F84 00304EE4 3C 60 80 48 */ lis r3, lbl_80479BD0@ha -/* 80307F88 00304EE8 90 07 00 00 */ stw r0, 0(r7) -/* 80307F8C 00304EEC 38 00 00 00 */ li r0, 0 -/* 80307F90 00304EF0 38 63 9B D0 */ addi r3, r3, lbl_80479BD0@l -/* 80307F94 00304EF4 90 07 00 04 */ stw r0, 4(r7) -/* 80307F98 00304EF8 48 06 F2 D1 */ bl GXSetVtxDescv -/* 80307F9C 00304EFC 93 FE 00 48 */ stw r31, 0x48(r30) -lbl_80307FA0: -/* 80307FA0 00304F00 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80307FA4 00304F04 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80307FA8 00304F08 83 C1 00 08 */ lwz r30, 8(r1) -/* 80307FAC 00304F0C 7C 08 03 A6 */ mtlr r0 -/* 80307FB0 00304F10 38 21 00 10 */ addi r1, r1, 0x10 -/* 80307FB4 00304F14 4E 80 00 20 */ blr - -.global SetIndTexMtxSTPointFive__3CGXF14_GXIndTexMtxIDSc -SetIndTexMtxSTPointFive__3CGXF14_GXIndTexMtxIDSc: -/* 80307FB8 00304F18 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80307FBC 00304F1C 7C 08 02 A6 */ mflr r0 -/* 80307FC0 00304F20 3C C0 80 3D */ lis r6, lbl_803D73A0@ha -/* 80307FC4 00304F24 7C 85 23 78 */ mr r5, r4 -/* 80307FC8 00304F28 90 01 00 14 */ stw r0, 0x14(r1) -/* 80307FCC 00304F2C 38 86 73 A0 */ addi r4, r6, lbl_803D73A0@l -/* 80307FD0 00304F30 48 07 2E F9 */ bl GXSetIndTexMtx -/* 80307FD4 00304F34 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80307FD8 00304F38 7C 08 03 A6 */ mtlr r0 -/* 80307FDC 00304F3C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80307FE0 00304F40 4E 80 00 20 */ blr - -.global FlushState__3CGXFv -FlushState__3CGXFv: -/* 80307FE4 00304F44 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80307FE8 00304F48 7C 08 02 A6 */ mflr r0 -/* 80307FEC 00304F4C 3C 60 80 5A */ lis r3, lbl_805A53EC@ha -/* 80307FF0 00304F50 90 01 00 14 */ stw r0, 0x14(r1) -/* 80307FF4 00304F54 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80307FF8 00304F58 3B E3 53 EC */ addi r31, r3, lbl_805A53EC@l -/* 80307FFC 00304F5C 93 C1 00 08 */ stw r30, 8(r1) -/* 80308000 00304F60 88 1F 00 4C */ lbz r0, 0x4c(r31) -/* 80308004 00304F64 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 80308008 00304F68 41 82 00 1C */ beq lbl_80308024 -/* 8030800C 00304F6C 88 7F 00 4E */ lbz r3, 0x4e(r31) -/* 80308010 00304F70 48 07 1B 21 */ bl GXSetNumChans -/* 80308014 00304F74 3C 60 80 5A */ lis r3, lbl_805A53EC@ha -/* 80308018 00304F78 88 1F 00 4E */ lbz r0, 0x4e(r31) -/* 8030801C 00304F7C 38 63 53 EC */ addi r3, r3, lbl_805A53EC@l -/* 80308020 00304F80 98 03 00 4D */ stb r0, 0x4d(r3) -lbl_80308024: -/* 80308024 00304F84 88 1F 00 4C */ lbz r0, 0x4c(r31) -/* 80308028 00304F88 54 00 07 BD */ rlwinm. r0, r0, 0, 0x1e, 0x1e -/* 8030802C 00304F8C 41 82 00 40 */ beq lbl_8030806C -/* 80308030 00304F90 3C 80 80 5A */ lis r4, lbl_805A53EC@ha -/* 80308034 00304F94 38 60 00 00 */ li r3, 0 -/* 80308038 00304F98 3B C4 53 EC */ addi r30, r4, lbl_805A53EC@l -/* 8030803C 00304F9C A0 1E 00 34 */ lhz r0, 0x34(r30) -/* 80308040 00304FA0 54 07 EE 3E */ rlwinm r7, r0, 0x1d, 0x18, 0x1f -/* 80308044 00304FA4 54 04 07 FE */ clrlwi r4, r0, 0x1f -/* 80308048 00304FA8 54 05 FF FE */ rlwinm r5, r0, 0x1f, 0x1f, 0x1f -/* 8030804C 00304FAC 54 06 F7 FE */ rlwinm r6, r0, 0x1e, 0x1f, 0x1f -/* 80308050 00304FB0 54 08 AF BE */ rlwinm r8, r0, 0x15, 0x1e, 0x1f -/* 80308054 00304FB4 54 09 9F BE */ rlwinm r9, r0, 0x13, 0x1e, 0x1f -/* 80308058 00304FB8 48 07 1B 1D */ bl GXSetChanCtrl -/* 8030805C 00304FBC 3C 60 80 5A */ lis r3, lbl_805A53EC@ha -/* 80308060 00304FC0 A0 1E 00 34 */ lhz r0, 0x34(r30) -/* 80308064 00304FC4 38 63 53 EC */ addi r3, r3, lbl_805A53EC@l -/* 80308068 00304FC8 B0 03 00 30 */ sth r0, 0x30(r3) -lbl_8030806C: -/* 8030806C 00304FCC 88 1F 00 4C */ lbz r0, 0x4c(r31) -/* 80308070 00304FD0 54 00 07 7B */ rlwinm. r0, r0, 0, 0x1d, 0x1d -/* 80308074 00304FD4 41 82 00 40 */ beq lbl_803080B4 -/* 80308078 00304FD8 3C 80 80 5A */ lis r4, lbl_805A53EC@ha -/* 8030807C 00304FDC 38 60 00 01 */ li r3, 1 -/* 80308080 00304FE0 3B C4 53 EC */ addi r30, r4, lbl_805A53EC@l -/* 80308084 00304FE4 A0 1E 00 36 */ lhz r0, 0x36(r30) -/* 80308088 00304FE8 54 07 EE 3E */ rlwinm r7, r0, 0x1d, 0x18, 0x1f -/* 8030808C 00304FEC 54 04 07 FE */ clrlwi r4, r0, 0x1f -/* 80308090 00304FF0 54 05 FF FE */ rlwinm r5, r0, 0x1f, 0x1f, 0x1f -/* 80308094 00304FF4 54 06 F7 FE */ rlwinm r6, r0, 0x1e, 0x1f, 0x1f -/* 80308098 00304FF8 54 08 AF BE */ rlwinm r8, r0, 0x15, 0x1e, 0x1f -/* 8030809C 00304FFC 54 09 9F BE */ rlwinm r9, r0, 0x13, 0x1e, 0x1f -/* 803080A0 00305000 48 07 1A D5 */ bl GXSetChanCtrl -/* 803080A4 00305004 3C 60 80 5A */ lis r3, lbl_805A53EC@ha -/* 803080A8 00305008 A0 1E 00 36 */ lhz r0, 0x36(r30) -/* 803080AC 0030500C 38 63 53 EC */ addi r3, r3, lbl_805A53EC@l -/* 803080B0 00305010 B0 03 00 32 */ sth r0, 0x32(r3) -lbl_803080B4: -/* 803080B4 00305014 38 00 00 00 */ li r0, 0 -/* 803080B8 00305018 98 1F 00 4C */ stb r0, 0x4c(r31) -/* 803080BC 0030501C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803080C0 00305020 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 803080C4 00305024 83 C1 00 08 */ lwz r30, 8(r1) -/* 803080C8 00305028 7C 08 03 A6 */ mtlr r0 -/* 803080CC 0030502C 38 21 00 10 */ addi r1, r1, 0x10 -/* 803080D0 00305030 4E 80 00 20 */ blr - -.global sub_803080d4 -sub_803080d4: -/* 803080D4 00305034 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803080D8 00305038 7C 08 02 A6 */ mflr r0 -/* 803080DC 0030503C 3C 60 80 5A */ lis r3, 0x805a -/* 803080E0 00305040 34 63 53 EC */ addic. r3, r3, 0x53ec -/* 803080E4 00305044 90 01 00 14 */ stw r0, 0x14(r1) -/* 803080E8 00305048 41 82 00 08 */ beq lbl_803080F0 -/* 803080EC 0030504C 48 00 01 B1 */ bl __ct__Q23CGX8SGXStateFv -lbl_803080F0: -/* 803080F0 00305050 48 00 00 15 */ bl ResetGXStates__3CGXFv -/* 803080F4 00305054 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803080F8 00305058 7C 08 03 A6 */ mtlr r0 -/* 803080FC 0030505C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80308100 00305060 4E 80 00 20 */ blr - -.global ResetGXStates__3CGXFv -ResetGXStates__3CGXFv: -/* 80308104 00305064 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80308108 00305068 7C 08 02 A6 */ mflr r0 -/* 8030810C 0030506C 3C 60 80 5A */ lis r3, lbl_805A53EC@ha -/* 80308110 00305070 90 01 00 24 */ stw r0, 0x24(r1) -/* 80308114 00305074 38 00 00 00 */ li r0, 0 -/* 80308118 00305078 38 63 53 EC */ addi r3, r3, lbl_805A53EC@l -/* 8030811C 0030507C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80308120 00305080 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80308124 00305084 90 03 00 48 */ stw r0, 0x48(r3) -/* 80308128 00305088 48 06 F6 2D */ bl GXClearVtxDesc -/* 8030812C 0030508C 3C 60 80 5A */ lis r3, lbl_805A53EC@ha -/* 80308130 00305090 38 00 00 01 */ li r0, 1 -/* 80308134 00305094 3B E3 53 EC */ addi r31, r3, lbl_805A53EC@l -/* 80308138 00305098 3B C0 00 00 */ li r30, 0 -/* 8030813C 0030509C 90 1F 00 00 */ stw r0, 0(r31) -/* 80308140 003050A0 90 1F 00 04 */ stw r0, 4(r31) -/* 80308144 003050A4 90 1F 00 08 */ stw r0, 8(r31) -/* 80308148 003050A8 90 1F 00 0C */ stw r0, 0xc(r31) -/* 8030814C 003050AC 90 1F 00 10 */ stw r0, 0x10(r31) -/* 80308150 003050B0 90 1F 00 14 */ stw r0, 0x14(r31) -/* 80308154 003050B4 90 1F 00 18 */ stw r0, 0x18(r31) -/* 80308158 003050B8 90 1F 00 1C */ stw r0, 0x1c(r31) -/* 8030815C 003050BC 90 1F 00 20 */ stw r0, 0x20(r31) -/* 80308160 003050C0 90 1F 00 24 */ stw r0, 0x24(r31) -/* 80308164 003050C4 90 1F 00 28 */ stw r0, 0x28(r31) -/* 80308168 003050C8 90 1F 00 2C */ stw r0, 0x2c(r31) -lbl_8030816C: -/* 8030816C 003050CC 7F C3 F3 78 */ mr r3, r30 -/* 80308170 003050D0 48 00 5F D9 */ bl InvalidateTexmap__8CTextureF11_GXTexMapID -/* 80308174 003050D4 3B DE 00 01 */ addi r30, r30, 1 -/* 80308178 003050D8 2C 1E 00 08 */ cmpwi r30, 8 -/* 8030817C 003050DC 41 80 FF F0 */ blt lbl_8030816C -/* 80308180 003050E0 3B C0 00 00 */ li r30, 0 -lbl_80308184: -/* 80308184 003050E4 80 1F 00 58 */ lwz r0, 0x58(r31) -/* 80308188 003050E8 7F C3 F3 78 */ mr r3, r30 -/* 8030818C 003050EC 38 81 00 08 */ addi r4, r1, 8 -/* 80308190 003050F0 90 01 00 08 */ stw r0, 8(r1) -/* 80308194 003050F4 48 07 35 51 */ bl GXSetTevKColor -/* 80308198 003050F8 3B DE 00 01 */ addi r30, r30, 1 -/* 8030819C 003050FC 3B FF 00 04 */ addi r31, r31, 4 -/* 803081A0 00305100 2C 1E 00 04 */ cmpwi r30, 4 -/* 803081A4 00305104 41 80 FF E0 */ blt lbl_80308184 -/* 803081A8 00305108 38 60 00 01 */ li r3, 1 -/* 803081AC 0030510C 38 80 00 00 */ li r4, 0 -/* 803081B0 00305110 38 A0 00 01 */ li r5, 1 -/* 803081B4 00305114 38 C0 00 02 */ li r6, 2 -/* 803081B8 00305118 38 E0 00 00 */ li r7, 0 -/* 803081BC 0030511C 48 07 36 C9 */ bl GXSetTevSwapModeTable -/* 803081C0 00305120 38 60 00 02 */ li r3, 2 -/* 803081C4 00305124 38 80 00 00 */ li r4, 0 -/* 803081C8 00305128 38 A0 00 01 */ li r5, 1 -/* 803081CC 0030512C 38 C0 00 02 */ li r6, 2 -/* 803081D0 00305130 38 E0 00 01 */ li r7, 1 -/* 803081D4 00305134 48 07 36 B1 */ bl GXSetTevSwapModeTable -/* 803081D8 00305138 38 60 00 03 */ li r3, 3 -/* 803081DC 0030513C 38 80 00 00 */ li r4, 0 -/* 803081E0 00305140 38 A0 00 01 */ li r5, 1 -/* 803081E4 00305144 38 C0 00 02 */ li r6, 2 -/* 803081E8 00305148 38 E0 00 02 */ li r7, 2 -/* 803081EC 0030514C 48 07 36 99 */ bl GXSetTevSwapModeTable -/* 803081F0 00305150 38 60 00 07 */ li r3, 7 -/* 803081F4 00305154 38 80 00 00 */ li r4, 0 -/* 803081F8 00305158 38 A0 00 00 */ li r5, 0 -/* 803081FC 0030515C 38 C0 00 07 */ li r6, 7 -/* 80308200 00305160 38 E0 00 00 */ li r7, 0 -/* 80308204 00305164 48 00 06 11 */ bl SetAlphaCompare__3CGXF10_GXCompareUc10_GXAlphaOp10_GXCompareUc -/* 80308208 00305168 38 60 00 00 */ li r3, 0 -/* 8030820C 0030516C 48 07 42 4D */ bl GXSetCurrentMtx -/* 80308210 00305170 38 60 00 00 */ li r3, 0 -/* 80308214 00305174 48 00 04 7D */ bl SetNumIndStages__3CGXFUc -/* 80308218 00305178 3B C0 00 00 */ li r30, 0 -lbl_8030821C: -/* 8030821C 0030517C 7F C3 F3 78 */ mr r3, r30 -/* 80308220 00305180 38 80 00 00 */ li r4, 0 -/* 80308224 00305184 38 A0 00 00 */ li r5, 0 -/* 80308228 00305188 48 07 2E 01 */ bl GXSetIndTexCoordScale -/* 8030822C 0030518C 3B DE 00 01 */ addi r30, r30, 1 -/* 80308230 00305190 2C 1E 00 04 */ cmpwi r30, 4 -/* 80308234 00305194 41 80 FF E8 */ blt lbl_8030821C -/* 80308238 00305198 3B C0 00 00 */ li r30, 0 -lbl_8030823C: -/* 8030823C 0030519C 7F C3 F3 78 */ mr r3, r30 -/* 80308240 003051A0 48 00 05 05 */ bl SetTevDirect__3CGXF13_GXTevStageID -/* 80308244 003051A4 3B DE 00 01 */ addi r30, r30, 1 -/* 80308248 003051A8 2C 1E 00 10 */ cmpwi r30, 0x10 -/* 8030824C 003051AC 41 80 FF F0 */ blt lbl_8030823C -/* 80308250 003051B0 3B C0 00 00 */ li r30, 0 -lbl_80308254: -/* 80308254 003051B4 7F C3 F3 78 */ mr r3, r30 -/* 80308258 003051B8 38 80 00 00 */ li r4, 0 -/* 8030825C 003051BC 38 A0 00 00 */ li r5, 0 -/* 80308260 003051C0 38 C0 00 00 */ li r6, 0 -/* 80308264 003051C4 48 07 26 4D */ bl GXSetTexCoordCylWrap -/* 80308268 003051C8 3B DE 00 01 */ addi r30, r30, 1 -/* 8030826C 003051CC 2C 1E 00 08 */ cmpwi r30, 8 -/* 80308270 003051D0 41 80 FF E4 */ blt lbl_80308254 -/* 80308274 003051D4 38 60 00 00 */ li r3, 0 -/* 80308278 003051D8 38 80 00 11 */ li r4, 0x11 -/* 8030827C 003051DC 38 A0 00 00 */ li r5, 0 -/* 80308280 003051E0 48 07 36 F1 */ bl GXSetZTexture -/* 80308284 003051E4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80308288 003051E8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8030828C 003051EC 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80308290 003051F0 7C 08 03 A6 */ mtlr r0 -/* 80308294 003051F4 38 21 00 20 */ addi r1, r1, 0x20 -/* 80308298 003051F8 4E 80 00 20 */ blr - -.global __ct__Q23CGX8SGXStateFv -__ct__Q23CGX8SGXStateFv: -/* 8030829C 003051FC 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 803082A0 00305200 7C 08 02 A6 */ mflr r0 -/* 803082A4 00305204 39 20 00 00 */ li r9, 0 -/* 803082A8 00305208 39 00 00 FF */ li r8, 0xff -/* 803082AC 0030520C 90 01 00 34 */ stw r0, 0x34(r1) -/* 803082B0 00305210 38 00 00 02 */ li r0, 2 -/* 803082B4 00305214 3C A0 00 01 */ lis r5, 0x0000FFFF@ha -/* 803082B8 00305218 38 C0 00 1C */ li r6, 0x1c -/* 803082BC 0030521C BF 41 00 18 */ stmw r26, 0x18(r1) -/* 803082C0 00305220 7C 7F 1B 78 */ mr r31, r3 -/* 803082C4 00305224 38 E0 00 10 */ li r7, 0x10 -/* 803082C8 00305228 91 23 00 48 */ stw r9, 0x48(r3) -/* 803082CC 0030522C 3C 60 80 31 */ lis r3, __ct__Q23CGX9STevStateFv@ha -/* 803082D0 00305230 38 83 84 88 */ addi r4, r3, __ct__Q23CGX9STevStateFv@l -/* 803082D4 00305234 98 1F 00 4D */ stb r0, 0x4d(r31) -/* 803082D8 00305238 38 05 FF FF */ addi r0, r5, 0x0000FFFF@l -/* 803082DC 0030523C 38 7F 00 68 */ addi r3, r31, 0x68 -/* 803082E0 00305240 38 A0 00 00 */ li r5, 0 -/* 803082E4 00305244 99 3F 00 4E */ stb r9, 0x4e(r31) -/* 803082E8 00305248 99 1F 00 4F */ stb r8, 0x4f(r31) -/* 803082EC 0030524C 99 1F 00 50 */ stb r8, 0x50(r31) -/* 803082F0 00305250 99 1F 00 51 */ stb r8, 0x51(r31) -/* 803082F4 00305254 99 1F 00 52 */ stb r8, 0x52(r31) -/* 803082F8 00305258 99 3F 00 53 */ stb r9, 0x53(r31) -/* 803082FC 0030525C B0 1F 00 54 */ sth r0, 0x54(r31) -/* 80308300 00305260 B0 1F 00 56 */ sth r0, 0x56(r31) -/* 80308304 00305264 48 08 14 49 */ bl __construct_array -/* 80308308 00305268 3C 80 80 31 */ lis r4, __ct__Q23CGX9STexStateFv@ha -/* 8030830C 0030526C 38 7F 02 28 */ addi r3, r31, 0x228 -/* 80308310 00305270 38 84 84 7C */ addi r4, r4, __ct__Q23CGX9STexStateFv@l -/* 80308314 00305274 38 A0 00 00 */ li r5, 0 -/* 80308318 00305278 38 C0 00 04 */ li r6, 4 -/* 8030831C 0030527C 38 E0 00 08 */ li r7, 8 -/* 80308320 00305280 48 08 14 2D */ bl __construct_array -/* 80308324 00305284 38 00 FF FF */ li r0, -1 -/* 80308328 00305288 3C 60 00 01 */ lis r3, 0x0000FFFF@ha -/* 8030832C 0030528C 90 1F 02 48 */ stw r0, 0x248(r31) -/* 80308330 00305290 39 63 FF FF */ addi r11, r3, 0x0000FFFF@l -/* 80308334 00305294 C0 02 C7 9C */ lfs f0, lbl_805AE4BC@sda21(r2) -/* 80308338 00305298 38 00 00 00 */ li r0, 0 -/* 8030833C 0030529C C0 22 C7 A0 */ lfs f1, lbl_805AE4C0@sda21(r2) -/* 80308340 003052A0 38 60 00 00 */ li r3, 0 -/* 80308344 003052A4 D0 1F 02 4C */ stfs f0, 0x24c(r31) -/* 80308348 003052A8 38 80 00 00 */ li r4, 0 -/* 8030834C 003052AC C0 02 C7 A4 */ lfs f0, lbl_805AE4C4@sda21(r2) -/* 80308350 003052B0 38 A0 00 00 */ li r5, 0 -/* 80308354 003052B4 D0 3F 02 50 */ stfs f1, 0x250(r31) -/* 80308358 003052B8 38 C0 00 00 */ li r6, 0 -/* 8030835C 003052BC 38 E0 00 00 */ li r7, 0 -/* 80308360 003052C0 39 00 00 00 */ li r8, 0 -/* 80308364 003052C4 D0 1F 02 54 */ stfs f0, 0x254(r31) -/* 80308368 003052C8 39 20 00 02 */ li r9, 2 -/* 8030836C 003052CC D0 3F 02 58 */ stfs f1, 0x258(r31) -/* 80308370 003052D0 98 1F 02 5F */ stb r0, 0x25f(r31) -/* 80308374 003052D4 98 1F 02 5E */ stb r0, 0x25e(r31) -/* 80308378 003052D8 98 1F 02 5D */ stb r0, 0x25d(r31) -/* 8030837C 003052DC 98 1F 02 5C */ stb r0, 0x25c(r31) -/* 80308380 003052E0 81 42 D7 80 */ lwz r10, lbl_805AF4A0@sda21(r2) -/* 80308384 003052E4 80 02 C7 98 */ lwz r0, lbl_805AE4B8@sda21(r2) -/* 80308388 003052E8 91 41 00 0C */ stw r10, 0xc(r1) -/* 8030838C 003052EC B1 7F 00 30 */ sth r11, 0x30(r31) -/* 80308390 003052F0 89 41 00 0C */ lbz r10, 0xc(r1) -/* 80308394 003052F4 B1 7F 00 34 */ sth r11, 0x34(r31) -/* 80308398 003052F8 8B 81 00 0D */ lbz r28, 0xd(r1) -/* 8030839C 003052FC 99 5F 00 38 */ stb r10, 0x38(r31) -/* 803083A0 00305300 8B 61 00 0E */ lbz r27, 0xe(r1) -/* 803083A4 00305304 90 01 00 08 */ stw r0, 8(r1) -/* 803083A8 00305308 8B 41 00 0F */ lbz r26, 0xf(r1) -/* 803083AC 0030530C 9B 9F 00 39 */ stb r28, 0x39(r31) -/* 803083B0 00305310 88 01 00 08 */ lbz r0, 8(r1) -/* 803083B4 00305314 9B 7F 00 3A */ stb r27, 0x3a(r31) -/* 803083B8 00305318 89 81 00 09 */ lbz r12, 9(r1) -/* 803083BC 0030531C 9B 5F 00 3B */ stb r26, 0x3b(r31) -/* 803083C0 00305320 8B C1 00 0A */ lbz r30, 0xa(r1) -/* 803083C4 00305324 98 1F 00 40 */ stb r0, 0x40(r31) -/* 803083C8 00305328 8B A1 00 0B */ lbz r29, 0xb(r1) -/* 803083CC 0030532C 99 9F 00 41 */ stb r12, 0x41(r31) -/* 803083D0 00305330 9B DF 00 42 */ stb r30, 0x42(r31) -/* 803083D4 00305334 9B BF 00 43 */ stb r29, 0x43(r31) -/* 803083D8 00305338 B1 7F 00 32 */ sth r11, 0x32(r31) -/* 803083DC 0030533C B1 7F 00 36 */ sth r11, 0x36(r31) -/* 803083E0 00305340 99 5F 00 3C */ stb r10, 0x3c(r31) -/* 803083E4 00305344 9B 9F 00 3D */ stb r28, 0x3d(r31) -/* 803083E8 00305348 9B 7F 00 3E */ stb r27, 0x3e(r31) -/* 803083EC 0030534C 9B 5F 00 3F */ stb r26, 0x3f(r31) -/* 803083F0 00305350 98 1F 00 44 */ stb r0, 0x44(r31) -/* 803083F4 00305354 99 9F 00 45 */ stb r12, 0x45(r31) -/* 803083F8 00305358 9B DF 00 46 */ stb r30, 0x46(r31) -/* 803083FC 0030535C 9B BF 00 47 */ stb r29, 0x47(r31) -/* 80308400 00305360 99 5F 00 58 */ stb r10, 0x58(r31) -/* 80308404 00305364 9B 9F 00 59 */ stb r28, 0x59(r31) -/* 80308408 00305368 9B 7F 00 5A */ stb r27, 0x5a(r31) -/* 8030840C 0030536C 9B 5F 00 5B */ stb r26, 0x5b(r31) -/* 80308410 00305370 99 5F 00 5C */ stb r10, 0x5c(r31) -/* 80308414 00305374 9B 9F 00 5D */ stb r28, 0x5d(r31) -/* 80308418 00305378 9B 7F 00 5E */ stb r27, 0x5e(r31) -/* 8030841C 0030537C 9B 5F 00 5F */ stb r26, 0x5f(r31) -/* 80308420 00305380 99 5F 00 60 */ stb r10, 0x60(r31) -/* 80308424 00305384 9B 9F 00 61 */ stb r28, 0x61(r31) -/* 80308428 00305388 9B 7F 00 62 */ stb r27, 0x62(r31) -/* 8030842C 0030538C 9B 5F 00 63 */ stb r26, 0x63(r31) -/* 80308430 00305390 99 5F 00 64 */ stb r10, 0x64(r31) -/* 80308434 00305394 9B 9F 00 65 */ stb r28, 0x65(r31) -/* 80308438 00305398 9B 7F 00 66 */ stb r27, 0x66(r31) -/* 8030843C 0030539C 9B 5F 00 67 */ stb r26, 0x67(r31) -/* 80308440 003053A0 48 00 08 8D */ bl SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn -/* 80308444 003053A4 38 60 00 01 */ li r3, 1 -/* 80308448 003053A8 38 80 00 00 */ li r4, 0 -/* 8030844C 003053AC 38 A0 00 00 */ li r5, 0 -/* 80308450 003053B0 38 C0 00 00 */ li r6, 0 -/* 80308454 003053B4 38 E0 00 00 */ li r7, 0 -/* 80308458 003053B8 39 00 00 00 */ li r8, 0 -/* 8030845C 003053BC 39 20 00 02 */ li r9, 2 -/* 80308460 003053C0 48 00 08 6D */ bl SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn -/* 80308464 003053C4 7F E3 FB 78 */ mr r3, r31 -/* 80308468 003053C8 BB 41 00 18 */ lmw r26, 0x18(r1) -/* 8030846C 003053CC 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80308470 003053D0 7C 08 03 A6 */ mtlr r0 -/* 80308474 003053D4 38 21 00 30 */ addi r1, r1, 0x30 -/* 80308478 003053D8 4E 80 00 20 */ blr - -.global __ct__Q23CGX9STexStateFv -__ct__Q23CGX9STexStateFv: -/* 8030847C 003053DC 38 00 00 00 */ li r0, 0 -/* 80308480 003053E0 90 03 00 00 */ stw r0, 0(r3) -/* 80308484 003053E4 4E 80 00 20 */ blr - -.global __ct__Q23CGX9STevStateFv -__ct__Q23CGX9STevStateFv: -/* 80308488 003053E8 38 A0 00 00 */ li r5, 0 -/* 8030848C 003053EC 38 80 FF FF */ li r4, -1 -/* 80308490 003053F0 90 A3 00 00 */ stw r5, 0(r3) -/* 80308494 003053F4 38 00 00 FF */ li r0, 0xff -/* 80308498 003053F8 90 A3 00 04 */ stw r5, 4(r3) -/* 8030849C 003053FC 90 A3 00 08 */ stw r5, 8(r3) -/* 803084A0 00305400 90 A3 00 0C */ stw r5, 0xc(r3) -/* 803084A4 00305404 90 A3 00 10 */ stw r5, 0x10(r3) -/* 803084A8 00305408 90 83 00 14 */ stw r4, 0x14(r3) -/* 803084AC 0030540C 98 03 00 18 */ stb r0, 0x18(r3) -/* 803084B0 00305410 98 03 00 19 */ stb r0, 0x19(r3) -/* 803084B4 00305414 4E 80 00 20 */ blr - -.global SetLineWidth__3CGXFUc12_GXTexOffset -SetLineWidth__3CGXFUc12_GXTexOffset: -/* 803084B8 00305418 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803084BC 0030541C 7C 08 02 A6 */ mflr r0 -/* 803084C0 00305420 3C A0 80 5A */ lis r5, lbl_805A53EC@ha -/* 803084C4 00305424 54 86 40 2E */ slwi r6, r4, 8 -/* 803084C8 00305428 90 01 00 14 */ stw r0, 0x14(r1) -/* 803084CC 0030542C 38 A5 53 EC */ addi r5, r5, lbl_805A53EC@l -/* 803084D0 00305430 50 66 06 3E */ rlwimi r6, r3, 0, 0x18, 0x1f -/* 803084D4 00305434 A0 05 00 54 */ lhz r0, 0x54(r5) -/* 803084D8 00305438 54 C6 04 3E */ clrlwi r6, r6, 0x10 -/* 803084DC 0030543C 7C 06 00 40 */ cmplw r6, r0 -/* 803084E0 00305440 41 82 00 0C */ beq lbl_803084EC -/* 803084E4 00305444 B0 C5 00 54 */ sth r6, 0x54(r5) -/* 803084E8 00305448 48 07 05 85 */ bl GXSetLineWidth -lbl_803084EC: -/* 803084EC 0030544C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803084F0 00305450 7C 08 03 A6 */ mtlr r0 -/* 803084F4 00305454 38 21 00 10 */ addi r1, r1, 0x10 -/* 803084F8 00305458 4E 80 00 20 */ blr - -.global SetFog__3CGXF10_GXFogTypeffffRC8_GXColor -SetFog__3CGXF10_GXFogTypeffffRC8_GXColor: -/* 803084FC 0030545C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80308500 00305460 7C 08 02 A6 */ mflr r0 -/* 80308504 00305464 3C A0 80 5A */ lis r5, lbl_805A53EC@ha -/* 80308508 00305468 90 01 00 14 */ stw r0, 0x14(r1) -/* 8030850C 0030546C 38 A5 53 EC */ addi r5, r5, lbl_805A53EC@l -/* 80308510 00305470 A0 05 00 56 */ lhz r0, 0x56(r5) -/* 80308514 00305474 80 84 00 00 */ lwz r4, 0(r4) -/* 80308518 00305478 54 00 06 34 */ rlwinm r0, r0, 0, 0x18, 0x1a -/* 8030851C 0030547C 98 65 00 53 */ stb r3, 0x53(r5) -/* 80308520 00305480 2C 00 00 20 */ cmpwi r0, 0x20 -/* 80308524 00305484 D0 25 02 4C */ stfs f1, 0x24c(r5) -/* 80308528 00305488 D0 45 02 50 */ stfs f2, 0x250(r5) -/* 8030852C 0030548C D0 65 02 54 */ stfs f3, 0x254(r5) -/* 80308530 00305490 D0 85 02 58 */ stfs f4, 0x258(r5) -/* 80308534 00305494 90 85 02 5C */ stw r4, 0x25c(r5) -/* 80308538 00305498 40 82 00 10 */ bne lbl_80308548 -/* 8030853C 0030549C 80 02 8C A8 */ lwz r0, lbl_805AA9C8@sda21(r2) -/* 80308540 003054A0 90 01 00 0C */ stw r0, 0xc(r1) -/* 80308544 003054A4 48 00 00 08 */ b lbl_8030854C -lbl_80308548: -/* 80308548 003054A8 90 81 00 0C */ stw r4, 0xc(r1) -lbl_8030854C: -/* 8030854C 003054AC 80 01 00 0C */ lwz r0, 0xc(r1) -/* 80308550 003054B0 38 81 00 08 */ addi r4, r1, 8 -/* 80308554 003054B4 88 65 00 53 */ lbz r3, 0x53(r5) -/* 80308558 003054B8 90 01 00 08 */ stw r0, 8(r1) -/* 8030855C 003054BC C0 25 02 4C */ lfs f1, 0x24c(r5) -/* 80308560 003054C0 C0 45 02 50 */ lfs f2, 0x250(r5) -/* 80308564 003054C4 C0 65 02 54 */ lfs f3, 0x254(r5) -/* 80308568 003054C8 C0 85 02 58 */ lfs f4, 0x258(r5) -/* 8030856C 003054CC 48 07 36 91 */ bl GXSetFog -/* 80308570 003054D0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80308574 003054D4 7C 08 03 A6 */ mtlr r0 -/* 80308578 003054D8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8030857C 003054DC 4E 80 00 20 */ blr - -.global End__3CGXFv -End__3CGXFv: -/* 80308580 003054E0 4E 80 00 20 */ blr - -.global Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs -Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs: -/* 80308584 003054E4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80308588 003054E8 7C 08 02 A6 */ mflr r0 -/* 8030858C 003054EC 3C C0 80 5A */ lis r6, lbl_805A53EC@ha -/* 80308590 003054F0 90 01 00 24 */ stw r0, 0x24(r1) -/* 80308594 003054F4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80308598 003054F8 7C BF 2B 78 */ mr r31, r5 -/* 8030859C 003054FC 93 C1 00 18 */ stw r30, 0x18(r1) -/* 803085A0 00305500 7C 9E 23 78 */ mr r30, r4 -/* 803085A4 00305504 93 A1 00 14 */ stw r29, 0x14(r1) -/* 803085A8 00305508 7C 7D 1B 78 */ mr r29, r3 -/* 803085AC 0030550C 38 66 53 EC */ addi r3, r6, lbl_805A53EC@l -/* 803085B0 00305510 88 03 00 4C */ lbz r0, 0x4c(r3) -/* 803085B4 00305514 28 00 00 00 */ cmplwi r0, 0 -/* 803085B8 00305518 41 82 00 08 */ beq lbl_803085C0 -/* 803085BC 0030551C 4B FF FA 29 */ bl FlushState__3CGXFv -lbl_803085C0: -/* 803085C0 00305520 7F A3 EB 78 */ mr r3, r29 -/* 803085C4 00305524 7F C4 F3 78 */ mr r4, r30 -/* 803085C8 00305528 7F E5 FB 78 */ mr r5, r31 -/* 803085CC 0030552C 48 07 03 29 */ bl GXBegin -/* 803085D0 00305530 80 01 00 24 */ lwz r0, 0x24(r1) -/* 803085D4 00305534 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 803085D8 00305538 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 803085DC 0030553C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 803085E0 00305540 7C 08 03 A6 */ mtlr r0 -/* 803085E4 00305544 38 21 00 20 */ addi r1, r1, 0x20 -/* 803085E8 00305548 4E 80 00 20 */ blr - -.global CallDisplayList__3CGXFPCvUl -CallDisplayList__3CGXFPCvUl: -/* 803085EC 0030554C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803085F0 00305550 7C 08 02 A6 */ mflr r0 -/* 803085F4 00305554 3C A0 80 5A */ lis r5, lbl_805A53EC@ha -/* 803085F8 00305558 90 01 00 14 */ stw r0, 0x14(r1) -/* 803085FC 0030555C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80308600 00305560 7C 9F 23 78 */ mr r31, r4 -/* 80308604 00305564 93 C1 00 08 */ stw r30, 8(r1) -/* 80308608 00305568 7C 7E 1B 78 */ mr r30, r3 -/* 8030860C 0030556C 38 65 53 EC */ addi r3, r5, lbl_805A53EC@l -/* 80308610 00305570 88 03 00 4C */ lbz r0, 0x4c(r3) -/* 80308614 00305574 28 00 00 00 */ cmplwi r0, 0 -/* 80308618 00305578 41 82 00 08 */ beq lbl_80308620 -/* 8030861C 0030557C 4B FF F9 C9 */ bl FlushState__3CGXFv -lbl_80308620: -/* 80308620 00305580 7F C3 F3 78 */ mr r3, r30 -/* 80308624 00305584 7F E4 FB 78 */ mr r4, r31 -/* 80308628 00305588 48 07 3B AD */ bl GXCallDisplayList -/* 8030862C 0030558C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80308630 00305590 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80308634 00305594 83 C1 00 08 */ lwz r30, 8(r1) -/* 80308638 00305598 7C 08 03 A6 */ mtlr r0 -/* 8030863C 0030559C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80308640 003055A0 4E 80 00 20 */ blr - -.global SetArray__3CGXF7_GXAttrPCvUc -SetArray__3CGXF7_GXAttrPCvUc: -/* 80308644 003055A4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80308648 003055A8 7C 08 02 A6 */ mflr r0 -/* 8030864C 003055AC 28 04 00 00 */ cmplwi r4, 0 -/* 80308650 003055B0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80308654 003055B4 38 03 FF F7 */ addi r0, r3, -9 -/* 80308658 003055B8 41 82 00 28 */ beq lbl_80308680 -/* 8030865C 003055BC 3C C0 80 5A */ lis r6, lbl_805A53EC@ha -/* 80308660 003055C0 54 07 10 3A */ slwi r7, r0, 2 -/* 80308664 003055C4 38 C6 53 EC */ addi r6, r6, lbl_805A53EC@l -/* 80308668 003055C8 7C 06 38 2E */ lwzx r0, r6, r7 -/* 8030866C 003055CC 7C 00 20 40 */ cmplw r0, r4 -/* 80308670 003055D0 40 82 00 08 */ bne lbl_80308678 -/* 80308674 003055D4 48 00 00 0C */ b lbl_80308680 -lbl_80308678: -/* 80308678 003055D8 7C 86 39 2E */ stwx r4, r6, r7 -/* 8030867C 003055DC 48 06 F8 7D */ bl GXSetArray -lbl_80308680: -/* 80308680 003055E0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80308684 003055E4 7C 08 03 A6 */ mtlr r0 -/* 80308688 003055E8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8030868C 003055EC 4E 80 00 20 */ blr - -.global SetNumIndStages__3CGXFUc -SetNumIndStages__3CGXFUc: -/* 80308690 003055F0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80308694 003055F4 7C 08 02 A6 */ mflr r0 -/* 80308698 003055F8 3C 80 80 5A */ lis r4, lbl_805A53EC@ha -/* 8030869C 003055FC 90 01 00 14 */ stw r0, 0x14(r1) -/* 803086A0 00305600 38 A4 53 EC */ addi r5, r4, lbl_805A53EC@l -/* 803086A4 00305604 54 60 06 3E */ clrlwi r0, r3, 0x18 -/* 803086A8 00305608 88 85 00 51 */ lbz r4, 0x51(r5) -/* 803086AC 0030560C 7C 04 00 40 */ cmplw r4, r0 -/* 803086B0 00305610 41 82 00 0C */ beq lbl_803086BC -/* 803086B4 00305614 98 65 00 51 */ stb r3, 0x51(r5) -/* 803086B8 00305618 48 07 2C 01 */ bl GXSetNumIndStages -lbl_803086BC: -/* 803086BC 0030561C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803086C0 00305620 7C 08 03 A6 */ mtlr r0 -/* 803086C4 00305624 38 21 00 10 */ addi r1, r1, 0x10 -/* 803086C8 00305628 4E 80 00 20 */ blr - -.global SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx -SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx: -/* 803086CC 0030562C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803086D0 00305630 7C 08 02 A6 */ mflr r0 -/* 803086D4 00305634 3D 20 55 55 */ lis r9, 0x55555556@ha -/* 803086D8 00305638 3D 80 80 5A */ lis r12, lbl_805A53EC@ha -/* 803086DC 0030563C 90 01 00 14 */ stw r0, 0x14(r1) -/* 803086E0 00305640 39 49 55 56 */ addi r10, r9, 0x55555556@l -/* 803086E4 00305644 38 06 FF E2 */ addi r0, r6, -30 -/* 803086E8 00305648 54 A9 25 F6 */ rlwinm r9, r5, 4, 0x17, 0x1b -/* 803086EC 0030564C 7D 4A 00 96 */ mulhw r10, r10, r0 -/* 803086F0 00305650 93 E1 00 0C */ stw r31, 0xc(r1) -/* 803086F4 00305654 54 7F 10 3A */ slwi r31, r3, 2 -/* 803086F8 00305658 38 0C 53 EC */ addi r0, r12, lbl_805A53EC@l -/* 803086FC 0030565C 39 68 FF C0 */ addi r11, r8, -64 -/* 80308700 00305660 7D 80 FA 14 */ add r12, r0, r31 -/* 80308704 00305664 55 40 0F FE */ srwi r0, r10, 0x1f -/* 80308708 00305668 50 89 07 3E */ rlwimi r9, r4, 0, 0x1c, 0x1f -/* 8030870C 0030566C 7C 0A 02 14 */ add r0, r10, r0 -/* 80308710 00305670 50 09 4C AC */ rlwimi r9, r0, 9, 0x12, 0x16 -/* 80308714 00305674 84 0C 02 28 */ lwzu r0, 0x228(r12) -/* 80308718 00305678 50 E9 74 62 */ rlwimi r9, r7, 0xe, 0x11, 0x11 -/* 8030871C 0030567C 51 69 7A E0 */ rlwimi r9, r11, 0xf, 0xb, 0x10 -/* 80308720 00305680 7C 00 48 40 */ cmplw r0, r9 -/* 80308724 00305684 41 82 00 0C */ beq lbl_80308730 -/* 80308728 00305688 91 2C 00 00 */ stw r9, 0(r12) -/* 8030872C 0030568C 48 06 F8 69 */ bl GXSetTexCoordGen2 -lbl_80308730: -/* 80308730 00305690 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80308734 00305694 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80308738 00305698 7C 08 03 A6 */ mtlr r0 -/* 8030873C 0030569C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80308740 003056A0 4E 80 00 20 */ blr - -.global SetTevDirect__3CGXF13_GXTevStageID -SetTevDirect__3CGXF13_GXTevStageID: -/* 80308744 003056A4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80308748 003056A8 7C 08 02 A6 */ mflr r0 -/* 8030874C 003056AC 1C A3 00 1C */ mulli r5, r3, 0x1c -/* 80308750 003056B0 3C 80 80 5A */ lis r4, lbl_805A53EC@ha -/* 80308754 003056B4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80308758 003056B8 38 04 53 EC */ addi r0, r4, lbl_805A53EC@l -/* 8030875C 003056BC 7C 80 2A 14 */ add r4, r0, r5 -/* 80308760 003056C0 38 84 00 68 */ addi r4, r4, 0x68 -/* 80308764 003056C4 80 04 00 10 */ lwz r0, 0x10(r4) -/* 80308768 003056C8 28 00 00 00 */ cmplwi r0, 0 -/* 8030876C 003056CC 41 82 00 10 */ beq lbl_8030877C -/* 80308770 003056D0 38 00 00 00 */ li r0, 0 -/* 80308774 003056D4 90 04 00 10 */ stw r0, 0x10(r4) -/* 80308778 003056D8 48 07 2B 69 */ bl GXSetTevDirect -lbl_8030877C: -/* 8030877C 003056DC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80308780 003056E0 7C 08 03 A6 */ mtlr r0 -/* 80308784 003056E4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80308788 003056E8 4E 80 00 20 */ blr - -.global SetTevIndirect__3CGXF13_GXTevStageID16_GXIndTexStageID15_GXIndTexFormat16_GXIndTexBiasSel14_GXIndTexMtxID13_GXIndTexWrap13_GXIndTexWrapUcUc17_GXIndTexAlphaSel -SetTevIndirect__3CGXF13_GXTevStageID16_GXIndTexStageID15_GXIndTexFormat16_GXIndTexBiasSel14_GXIndTexMtxID13_GXIndTexWrap13_GXIndTexWrapUcUc17_GXIndTexAlphaSel: -/* 8030878C 003056EC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80308790 003056F0 7C 08 02 A6 */ mflr r0 -/* 80308794 003056F4 54 AB 17 3A */ rlwinm r11, r5, 2, 0x1c, 0x1d -/* 80308798 003056F8 3D 80 80 5A */ lis r12, lbl_805A53EC@ha -/* 8030879C 003056FC 90 01 00 24 */ stw r0, 0x24(r1) -/* 803087A0 00305700 38 0C 53 EC */ addi r0, r12, lbl_805A53EC@l -/* 803087A4 00305704 1D 83 00 1C */ mulli r12, r3, 0x1c -/* 803087A8 00305708 50 8B 07 BE */ rlwimi r11, r4, 0, 0x1e, 0x1f -/* 803087AC 0030570C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 803087B0 00305710 50 CB 26 76 */ rlwimi r11, r6, 4, 0x19, 0x1b -/* 803087B4 00305714 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 803087B8 00305718 93 C1 00 18 */ stw r30, 0x18(r1) -/* 803087BC 0030571C 7D 80 62 14 */ add r12, r0, r12 -/* 803087C0 00305720 8B C1 00 2B */ lbz r30, 0x2b(r1) -/* 803087C4 00305724 39 8C 00 68 */ addi r12, r12, 0x68 -/* 803087C8 00305728 50 EB 3D 70 */ rlwimi r11, r7, 7, 0x15, 0x18 -/* 803087CC 0030572C 51 0B 5C A8 */ rlwimi r11, r8, 0xb, 0x12, 0x14 -/* 803087D0 00305730 80 0C 00 10 */ lwz r0, 0x10(r12) -/* 803087D4 00305734 51 2B 73 E2 */ rlwimi r11, r9, 0xe, 0xf, 0x11 -/* 803087D8 00305738 51 4B 8B 9C */ rlwimi r11, r10, 0x11, 0xe, 0xe -/* 803087DC 0030573C 53 CB 93 5A */ rlwimi r11, r30, 0x12, 0xd, 0xd -/* 803087E0 00305740 53 EB 9A D8 */ rlwimi r11, r31, 0x13, 0xb, 0xc -/* 803087E4 00305744 7C 00 58 40 */ cmplw r0, r11 -/* 803087E8 00305748 41 82 00 14 */ beq lbl_803087FC -/* 803087EC 0030574C 91 6C 00 10 */ stw r11, 0x10(r12) -/* 803087F0 00305750 93 C1 00 08 */ stw r30, 8(r1) -/* 803087F4 00305754 93 E1 00 0C */ stw r31, 0xc(r1) -/* 803087F8 00305758 48 07 26 35 */ bl GXSetTevIndirect -lbl_803087FC: -/* 803087FC 0030575C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80308800 00305760 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80308804 00305764 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80308808 00305768 7C 08 03 A6 */ mtlr r0 -/* 8030880C 0030576C 38 21 00 20 */ addi r1, r1, 0x20 -/* 80308810 00305770 4E 80 00 20 */ blr - -.global SetAlphaCompare__3CGXF10_GXCompareUc10_GXAlphaOp10_GXCompareUc -SetAlphaCompare__3CGXF10_GXCompareUc10_GXAlphaOp10_GXCompareUc: -/* 80308814 00305774 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80308818 00305778 7C 08 02 A6 */ mflr r0 -/* 8030881C 0030577C 3D 00 80 5A */ lis r8, lbl_805A53EC@ha -/* 80308820 00305780 54 89 1D 78 */ rlwinm r9, r4, 3, 0x15, 0x1c -/* 80308824 00305784 90 01 00 14 */ stw r0, 0x14(r1) -/* 80308828 00305788 39 08 53 EC */ addi r8, r8, lbl_805A53EC@l -/* 8030882C 0030578C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80308830 00305790 7C 7F 1B 78 */ mr r31, r3 -/* 80308834 00305794 53 E9 07 7E */ rlwimi r9, r31, 0, 0x1d, 0x1f -/* 80308838 00305798 80 08 02 48 */ lwz r0, 0x248(r8) -/* 8030883C 0030579C 50 A9 5C A8 */ rlwimi r9, r5, 0xb, 0x12, 0x14 -/* 80308840 003057A0 50 C9 73 E2 */ rlwimi r9, r6, 0xe, 0xf, 0x11 -/* 80308844 003057A4 50 E9 89 DC */ rlwimi r9, r7, 0x11, 7, 0xe -/* 80308848 003057A8 7C 00 48 40 */ cmplw r0, r9 -/* 8030884C 003057AC 41 82 00 1C */ beq lbl_80308868 -/* 80308850 003057B0 91 28 02 48 */ stw r9, 0x248(r8) -/* 80308854 003057B4 48 07 30 C9 */ bl GXSetAlphaCompare -/* 80308858 003057B8 20 1F 00 07 */ subfic r0, r31, 7 -/* 8030885C 003057BC 7C 00 00 34 */ cntlzw r0, r0 -/* 80308860 003057C0 54 03 DE 3E */ rlwinm r3, r0, 0x1b, 0x18, 0x1f -/* 80308864 003057C4 48 07 37 29 */ bl GXSetZCompLoc -lbl_80308868: -/* 80308868 003057C8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8030886C 003057CC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80308870 003057D0 7C 08 03 A6 */ mtlr r0 -/* 80308874 003057D4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80308878 003057D8 4E 80 00 20 */ blr - -.global SetZMode__3CGXFb10_GXCompareb -SetZMode__3CGXFb10_GXCompareb: -/* 8030887C 003057DC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80308880 003057E0 7C 08 02 A6 */ mflr r0 -/* 80308884 003057E4 3C C0 80 5A */ lis r6, lbl_805A53EC@ha -/* 80308888 003057E8 54 63 06 3E */ clrlwi r3, r3, 0x18 -/* 8030888C 003057EC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80308890 003057F0 54 A0 0D FC */ rlwinm r0, r5, 1, 0x17, 0x1e -/* 80308894 003057F4 54 87 15 BA */ rlwinm r7, r4, 2, 0x16, 0x1d -/* 80308898 003057F8 38 C6 53 EC */ addi r6, r6, lbl_805A53EC@l -/* 8030889C 003057FC 7C 60 03 78 */ or r0, r3, r0 -/* 803088A0 00305800 54 A5 06 3E */ clrlwi r5, r5, 0x18 -/* 803088A4 00305804 7C E7 03 78 */ or r7, r7, r0 -/* 803088A8 00305808 88 06 00 52 */ lbz r0, 0x52(r6) -/* 803088AC 0030580C 54 E7 06 3E */ clrlwi r7, r7, 0x18 -/* 803088B0 00305810 7C 07 00 40 */ cmplw r7, r0 -/* 803088B4 00305814 41 82 00 0C */ beq lbl_803088C0 -/* 803088B8 00305818 98 E6 00 52 */ stb r7, 0x52(r6) -/* 803088BC 0030581C 48 07 36 9D */ bl GXSetZMode -lbl_803088C0: -/* 803088C0 00305820 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803088C4 00305824 7C 08 03 A6 */ mtlr r0 -/* 803088C8 00305828 38 21 00 10 */ addi r1, r1, 0x10 -/* 803088CC 0030582C 4E 80 00 20 */ blr - -.global SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp -SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp: -/* 803088D0 00305830 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 803088D4 00305834 7C 08 02 A6 */ mflr r0 -/* 803088D8 00305838 90 01 00 24 */ stw r0, 0x24(r1) -/* 803088DC 0030583C BF 41 00 08 */ stmw r26, 8(r1) -/* 803088E0 00305840 7C 7A 1B 78 */ mr r26, r3 -/* 803088E4 00305844 3C 60 80 5A */ lis r3, lbl_805A53EC@ha -/* 803088E8 00305848 7C 9B 23 78 */ mr r27, r4 -/* 803088EC 0030584C 3B E3 53 EC */ addi r31, r3, lbl_805A53EC@l -/* 803088F0 00305850 54 84 16 FA */ rlwinm r4, r4, 2, 0x1b, 0x1d -/* 803088F4 00305854 7C BC 2B 78 */ mr r28, r5 -/* 803088F8 00305858 7C DD 33 78 */ mr r29, r6 -/* 803088FC 0030585C 53 44 07 BE */ rlwimi r4, r26, 0, 0x1e, 0x1f -/* 80308900 00305860 53 84 2E 34 */ rlwimi r4, r28, 5, 0x18, 0x1a -/* 80308904 00305864 7C 9E 23 78 */ mr r30, r4 -/* 80308908 00305868 53 BE 45 2E */ rlwimi r30, r29, 8, 0x14, 0x17 -/* 8030890C 0030586C A0 1F 00 56 */ lhz r0, 0x56(r31) -/* 80308910 00305870 7C 1E 00 40 */ cmplw r30, r0 -/* 80308914 00305874 41 82 00 24 */ beq lbl_80308938 -/* 80308918 00305878 7F C3 F3 78 */ mr r3, r30 -/* 8030891C 0030587C 4B DA BA 5D */ bl update_fog__3CGXFUi -/* 80308920 00305880 B3 DF 00 56 */ sth r30, 0x56(r31) -/* 80308924 00305884 7F 43 D3 78 */ mr r3, r26 -/* 80308928 00305888 7F 64 DB 78 */ mr r4, r27 -/* 8030892C 0030588C 7F 85 E3 78 */ mr r5, r28 -/* 80308930 00305890 7F A6 EB 78 */ mr r6, r29 -/* 80308934 00305894 48 07 35 79 */ bl GXSetBlendMode -lbl_80308938: -/* 80308938 00305898 BB 41 00 08 */ lmw r26, 8(r1) -/* 8030893C 0030589C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80308940 003058A0 7C 08 03 A6 */ mtlr r0 -/* 80308944 003058A4 38 21 00 20 */ addi r1, r1, 0x20 -/* 80308948 003058A8 4E 80 00 20 */ blr - -.global SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID -SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID: -/* 8030894C 003058AC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80308950 003058B0 7C 08 02 A6 */ mflr r0 -/* 80308954 003058B4 1D 23 00 1C */ mulli r9, r3, 0x1c -/* 80308958 003058B8 3D 00 80 5A */ lis r8, lbl_805A53EC@ha -/* 8030895C 003058BC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80308960 003058C0 54 A7 44 2E */ rlwinm r7, r5, 8, 0x10, 0x17 -/* 80308964 003058C4 38 08 53 EC */ addi r0, r8, lbl_805A53EC@l -/* 80308968 003058C8 7D 00 4A 14 */ add r8, r0, r9 -/* 8030896C 003058CC 39 08 00 68 */ addi r8, r8, 0x68 -/* 80308970 003058D0 50 87 06 3E */ rlwimi r7, r4, 0, 0x18, 0x1f -/* 80308974 003058D4 80 08 00 14 */ lwz r0, 0x14(r8) -/* 80308978 003058D8 50 C7 82 1E */ rlwimi r7, r6, 0x10, 8, 0xf -/* 8030897C 003058DC 7C 00 38 40 */ cmplw r0, r7 -/* 80308980 003058E0 41 82 00 0C */ beq lbl_8030898C -/* 80308984 003058E4 90 E8 00 14 */ stw r7, 0x14(r8) -/* 80308988 003058E8 48 07 30 6D */ bl GXSetTevOrder -lbl_8030898C: -/* 8030898C 003058EC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80308990 003058F0 7C 08 03 A6 */ mtlr r0 -/* 80308994 003058F4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80308998 003058F8 4E 80 00 20 */ blr - -.global SetTevKAlphaSel__3CGXF13_GXTevStageID15_GXTevKAlphaSel -SetTevKAlphaSel__3CGXF13_GXTevStageID15_GXTevKAlphaSel: -/* 8030899C 003058FC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803089A0 00305900 7C 08 02 A6 */ mflr r0 -/* 803089A4 00305904 1C C3 00 1C */ mulli r6, r3, 0x1c -/* 803089A8 00305908 3C A0 80 5A */ lis r5, lbl_805A53EC@ha -/* 803089AC 0030590C 90 01 00 14 */ stw r0, 0x14(r1) -/* 803089B0 00305910 38 05 53 EC */ addi r0, r5, lbl_805A53EC@l -/* 803089B4 00305914 7C A0 32 14 */ add r5, r0, r6 -/* 803089B8 00305918 38 A5 00 68 */ addi r5, r5, 0x68 -/* 803089BC 0030591C 88 05 00 19 */ lbz r0, 0x19(r5) -/* 803089C0 00305920 7C 04 00 00 */ cmpw r4, r0 -/* 803089C4 00305924 41 82 00 0C */ beq lbl_803089D0 -/* 803089C8 00305928 98 85 00 19 */ stb r4, 0x19(r5) -/* 803089CC 0030592C 48 07 2D F9 */ bl GXSetTevKAlphaSel -lbl_803089D0: -/* 803089D0 00305930 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803089D4 00305934 7C 08 03 A6 */ mtlr r0 -/* 803089D8 00305938 38 21 00 10 */ addi r1, r1, 0x10 -/* 803089DC 0030593C 4E 80 00 20 */ blr - -.global SetTevKColorSel__3CGXF13_GXTevStageID15_GXTevKColorSel -SetTevKColorSel__3CGXF13_GXTevStageID15_GXTevKColorSel: -/* 803089E0 00305940 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803089E4 00305944 7C 08 02 A6 */ mflr r0 -/* 803089E8 00305948 1C C3 00 1C */ mulli r6, r3, 0x1c -/* 803089EC 0030594C 3C A0 80 5A */ lis r5, lbl_805A53EC@ha -/* 803089F0 00305950 90 01 00 14 */ stw r0, 0x14(r1) -/* 803089F4 00305954 38 05 53 EC */ addi r0, r5, lbl_805A53EC@l -/* 803089F8 00305958 7C A0 32 14 */ add r5, r0, r6 -/* 803089FC 0030595C 38 A5 00 68 */ addi r5, r5, 0x68 -/* 80308A00 00305960 88 05 00 18 */ lbz r0, 0x18(r5) -/* 80308A04 00305964 7C 04 00 00 */ cmpw r4, r0 -/* 80308A08 00305968 41 82 00 0C */ beq lbl_80308A14 -/* 80308A0C 0030596C 98 85 00 18 */ stb r4, 0x18(r5) -/* 80308A10 00305970 48 07 2D 49 */ bl GXSetTevKColorSel -lbl_80308A14: -/* 80308A14 00305974 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80308A18 00305978 7C 08 03 A6 */ mtlr r0 -/* 80308A1C 0030597C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80308A20 00305980 4E 80 00 20 */ blr - -.global SetTevAlphaOp_Compressed__3CGXF13_GXTevStageIDUi -SetTevAlphaOp_Compressed__3CGXF13_GXTevStageIDUi: -/* 80308A24 00305984 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80308A28 00305988 7C 08 02 A6 */ mflr r0 -/* 80308A2C 0030598C 1C C3 00 1C */ mulli r6, r3, 0x1c -/* 80308A30 00305990 3C A0 80 5A */ lis r5, lbl_805A53EC@ha -/* 80308A34 00305994 90 01 00 14 */ stw r0, 0x14(r1) -/* 80308A38 00305998 7C 88 23 78 */ mr r8, r4 -/* 80308A3C 0030599C 38 05 53 EC */ addi r0, r5, lbl_805A53EC@l -/* 80308A40 003059A0 7C 80 32 14 */ add r4, r0, r6 -/* 80308A44 003059A4 38 84 00 68 */ addi r4, r4, 0x68 -/* 80308A48 003059A8 80 04 00 0C */ lwz r0, 0xc(r4) -/* 80308A4C 003059AC 7C 08 00 40 */ cmplw r8, r0 -/* 80308A50 003059B0 41 82 00 20 */ beq lbl_80308A70 -/* 80308A54 003059B4 91 04 00 0C */ stw r8, 0xc(r4) -/* 80308A58 003059B8 55 07 C7 FE */ rlwinm r7, r8, 0x18, 0x1f, 0x1f -/* 80308A5C 003059BC 55 04 07 3E */ clrlwi r4, r8, 0x1c -/* 80308A60 003059C0 55 05 E7 BE */ rlwinm r5, r8, 0x1c, 0x1e, 0x1f -/* 80308A64 003059C4 55 06 D7 BE */ rlwinm r6, r8, 0x1a, 0x1e, 0x1f -/* 80308A68 003059C8 55 08 BF BE */ rlwinm r8, r8, 0x17, 0x1e, 0x1f -/* 80308A6C 003059CC 48 07 2B 29 */ bl GXSetTevAlphaOp -lbl_80308A70: -/* 80308A70 003059D0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80308A74 003059D4 7C 08 03 A6 */ mtlr r0 -/* 80308A78 003059D8 38 21 00 10 */ addi r1, r1, 0x10 -/* 80308A7C 003059DC 4E 80 00 20 */ blr - -.global SetTevAlphaOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID -SetTevAlphaOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID: -/* 80308A80 003059E0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80308A84 003059E4 7C 08 02 A6 */ mflr r0 -/* 80308A88 003059E8 1D 43 00 1C */ mulli r10, r3, 0x1c -/* 80308A8C 003059EC 3D 20 80 5A */ lis r9, lbl_805A53EC@ha -/* 80308A90 003059F0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80308A94 003059F4 54 AB 26 B6 */ rlwinm r11, r5, 4, 0x1a, 0x1b -/* 80308A98 003059F8 38 09 53 EC */ addi r0, r9, lbl_805A53EC@l -/* 80308A9C 003059FC 7D 20 52 14 */ add r9, r0, r10 -/* 80308AA0 00305A00 50 8B 07 3E */ rlwimi r11, r4, 0, 0x1c, 0x1f -/* 80308AA4 00305A04 80 09 00 74 */ lwz r0, 0x74(r9) -/* 80308AA8 00305A08 50 CB 36 32 */ rlwimi r11, r6, 6, 0x18, 0x19 -/* 80308AAC 00305A0C 39 49 00 68 */ addi r10, r9, 0x68 -/* 80308AB0 00305A10 50 EB 45 EE */ rlwimi r11, r7, 8, 0x17, 0x17 -/* 80308AB4 00305A14 7D 69 5B 78 */ mr r9, r11 -/* 80308AB8 00305A18 51 09 4D 6C */ rlwimi r9, r8, 9, 0x15, 0x16 -/* 80308ABC 00305A1C 7C 09 00 40 */ cmplw r9, r0 -/* 80308AC0 00305A20 41 82 00 0C */ beq lbl_80308ACC -/* 80308AC4 00305A24 91 2A 00 0C */ stw r9, 0xc(r10) -/* 80308AC8 00305A28 48 07 2A CD */ bl GXSetTevAlphaOp -lbl_80308ACC: -/* 80308ACC 00305A2C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80308AD0 00305A30 7C 08 03 A6 */ mtlr r0 -/* 80308AD4 00305A34 38 21 00 10 */ addi r1, r1, 0x10 -/* 80308AD8 00305A38 4E 80 00 20 */ blr - -.global SetTevColorOp_Compressed__3CGXF13_GXTevStageIDUi -SetTevColorOp_Compressed__3CGXF13_GXTevStageIDUi: -/* 80308ADC 00305A3C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80308AE0 00305A40 7C 08 02 A6 */ mflr r0 -/* 80308AE4 00305A44 1C C3 00 1C */ mulli r6, r3, 0x1c -/* 80308AE8 00305A48 3C A0 80 5A */ lis r5, lbl_805A53EC@ha -/* 80308AEC 00305A4C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80308AF0 00305A50 7C 88 23 78 */ mr r8, r4 -/* 80308AF4 00305A54 38 05 53 EC */ addi r0, r5, lbl_805A53EC@l -/* 80308AF8 00305A58 7C 80 32 14 */ add r4, r0, r6 -/* 80308AFC 00305A5C 38 84 00 68 */ addi r4, r4, 0x68 -/* 80308B00 00305A60 80 04 00 08 */ lwz r0, 8(r4) -/* 80308B04 00305A64 7C 08 00 40 */ cmplw r8, r0 -/* 80308B08 00305A68 41 82 00 20 */ beq lbl_80308B28 -/* 80308B0C 00305A6C 91 04 00 08 */ stw r8, 8(r4) -/* 80308B10 00305A70 55 07 C7 FE */ rlwinm r7, r8, 0x18, 0x1f, 0x1f -/* 80308B14 00305A74 55 04 07 3E */ clrlwi r4, r8, 0x1c -/* 80308B18 00305A78 55 05 E7 BE */ rlwinm r5, r8, 0x1c, 0x1e, 0x1f -/* 80308B1C 00305A7C 55 06 D7 BE */ rlwinm r6, r8, 0x1a, 0x1e, 0x1f -/* 80308B20 00305A80 55 08 BF BE */ rlwinm r8, r8, 0x17, 0x1e, 0x1f -/* 80308B24 00305A84 48 07 2A 09 */ bl GXSetTevColorOp -lbl_80308B28: -/* 80308B28 00305A88 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80308B2C 00305A8C 7C 08 03 A6 */ mtlr r0 -/* 80308B30 00305A90 38 21 00 10 */ addi r1, r1, 0x10 -/* 80308B34 00305A94 4E 80 00 20 */ blr - -.global SetTevColorOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID -SetTevColorOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID: -/* 80308B38 00305A98 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80308B3C 00305A9C 7C 08 02 A6 */ mflr r0 -/* 80308B40 00305AA0 1D 43 00 1C */ mulli r10, r3, 0x1c -/* 80308B44 00305AA4 3D 20 80 5A */ lis r9, lbl_805A53EC@ha -/* 80308B48 00305AA8 90 01 00 14 */ stw r0, 0x14(r1) -/* 80308B4C 00305AAC 54 AB 26 B6 */ rlwinm r11, r5, 4, 0x1a, 0x1b -/* 80308B50 00305AB0 38 09 53 EC */ addi r0, r9, lbl_805A53EC@l -/* 80308B54 00305AB4 7D 20 52 14 */ add r9, r0, r10 -/* 80308B58 00305AB8 50 8B 07 3E */ rlwimi r11, r4, 0, 0x1c, 0x1f -/* 80308B5C 00305ABC 80 09 00 70 */ lwz r0, 0x70(r9) -/* 80308B60 00305AC0 50 CB 36 32 */ rlwimi r11, r6, 6, 0x18, 0x19 -/* 80308B64 00305AC4 39 49 00 68 */ addi r10, r9, 0x68 -/* 80308B68 00305AC8 50 EB 45 EE */ rlwimi r11, r7, 8, 0x17, 0x17 -/* 80308B6C 00305ACC 7D 69 5B 78 */ mr r9, r11 -/* 80308B70 00305AD0 51 09 4D 6C */ rlwimi r9, r8, 9, 0x15, 0x16 -/* 80308B74 00305AD4 7C 09 00 40 */ cmplw r9, r0 -/* 80308B78 00305AD8 41 82 00 0C */ beq lbl_80308B84 -/* 80308B7C 00305ADC 91 2A 00 08 */ stw r9, 8(r10) -/* 80308B80 00305AE0 48 07 29 AD */ bl GXSetTevColorOp -lbl_80308B84: -/* 80308B84 00305AE4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80308B88 00305AE8 7C 08 03 A6 */ mtlr r0 -/* 80308B8C 00305AEC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80308B90 00305AF0 4E 80 00 20 */ blr - -.global SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg -SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg: -/* 80308B94 00305AF4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80308B98 00305AF8 7C 08 02 A6 */ mflr r0 -/* 80308B9C 00305AFC 1D 23 00 1C */ mulli r9, r3, 0x1c -/* 80308BA0 00305B00 3D 00 80 5A */ lis r8, lbl_805A53EC@ha -/* 80308BA4 00305B04 90 01 00 14 */ stw r0, 0x14(r1) -/* 80308BA8 00305B08 54 AA 2D B4 */ rlwinm r10, r5, 5, 0x16, 0x1a -/* 80308BAC 00305B0C 38 08 53 EC */ addi r0, r8, lbl_805A53EC@l -/* 80308BB0 00305B10 7D 00 4A 14 */ add r8, r0, r9 -/* 80308BB4 00305B14 50 8A 06 FE */ rlwimi r10, r4, 0, 0x1b, 0x1f -/* 80308BB8 00305B18 80 08 00 6C */ lwz r0, 0x6c(r8) -/* 80308BBC 00305B1C 50 CA 54 6A */ rlwimi r10, r6, 0xa, 0x11, 0x15 -/* 80308BC0 00305B20 39 28 00 68 */ addi r9, r8, 0x68 -/* 80308BC4 00305B24 7D 48 53 78 */ mr r8, r10 -/* 80308BC8 00305B28 50 E8 7B 20 */ rlwimi r8, r7, 0xf, 0xc, 0x10 -/* 80308BCC 00305B2C 7C 08 00 40 */ cmplw r8, r0 -/* 80308BD0 00305B30 41 82 00 0C */ beq lbl_80308BDC -/* 80308BD4 00305B34 91 09 00 04 */ stw r8, 4(r9) -/* 80308BD8 00305B38 48 07 29 11 */ bl GXSetTevAlphaIn -lbl_80308BDC: -/* 80308BDC 00305B3C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80308BE0 00305B40 7C 08 03 A6 */ mtlr r0 -/* 80308BE4 00305B44 38 21 00 10 */ addi r1, r1, 0x10 -/* 80308BE8 00305B48 4E 80 00 20 */ blr - -.global SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg -SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg: -/* 80308BEC 00305B4C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80308BF0 00305B50 7C 08 02 A6 */ mflr r0 -/* 80308BF4 00305B54 1D 23 00 1C */ mulli r9, r3, 0x1c -/* 80308BF8 00305B58 3D 00 80 5A */ lis r8, lbl_805A53EC@ha -/* 80308BFC 00305B5C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80308C00 00305B60 54 AA 2D B4 */ rlwinm r10, r5, 5, 0x16, 0x1a -/* 80308C04 00305B64 38 08 53 EC */ addi r0, r8, lbl_805A53EC@l -/* 80308C08 00305B68 7D 00 4A 14 */ add r8, r0, r9 -/* 80308C0C 00305B6C 50 8A 06 FE */ rlwimi r10, r4, 0, 0x1b, 0x1f -/* 80308C10 00305B70 80 08 00 68 */ lwz r0, 0x68(r8) -/* 80308C14 00305B74 50 CA 54 6A */ rlwimi r10, r6, 0xa, 0x11, 0x15 -/* 80308C18 00305B78 39 28 00 68 */ addi r9, r8, 0x68 -/* 80308C1C 00305B7C 7D 48 53 78 */ mr r8, r10 -/* 80308C20 00305B80 50 E8 7B 20 */ rlwimi r8, r7, 0xf, 0xc, 0x10 -/* 80308C24 00305B84 7C 08 00 40 */ cmplw r8, r0 -/* 80308C28 00305B88 41 82 00 0C */ beq lbl_80308C34 -/* 80308C2C 00305B8C 91 09 00 00 */ stw r8, 0(r9) -/* 80308C30 00305B90 48 07 28 75 */ bl GXSetTevColorIn -lbl_80308C34: -/* 80308C34 00305B94 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80308C38 00305B98 7C 08 03 A6 */ mtlr r0 -/* 80308C3C 00305B9C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80308C40 00305BA0 4E 80 00 20 */ blr - -.global SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor -SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor: -/* 80308C44 00305BA4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80308C48 00305BA8 7C 08 02 A6 */ mflr r0 -/* 80308C4C 00305BAC 3C A0 80 5A */ lis r5, lbl_805A53EC@ha -/* 80308C50 00305BB0 54 66 10 3A */ slwi r6, r3, 2 -/* 80308C54 00305BB4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80308C58 00305BB8 38 05 53 EC */ addi r0, r5, lbl_805A53EC@l -/* 80308C5C 00305BBC 80 A4 00 00 */ lwz r5, 0(r4) -/* 80308C60 00305BC0 7C 80 32 14 */ add r4, r0, r6 -/* 80308C64 00305BC4 84 04 00 58 */ lwzu r0, 0x58(r4) -/* 80308C68 00305BC8 7C 00 28 40 */ cmplw r0, r5 -/* 80308C6C 00305BCC 41 82 00 14 */ beq lbl_80308C80 -/* 80308C70 00305BD0 90 A4 00 00 */ stw r5, 0(r4) -/* 80308C74 00305BD4 38 81 00 08 */ addi r4, r1, 8 -/* 80308C78 00305BD8 90 A1 00 08 */ stw r5, 8(r1) -/* 80308C7C 00305BDC 48 07 2A 69 */ bl GXSetTevKColor -lbl_80308C80: -/* 80308C80 00305BE0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80308C84 00305BE4 7C 08 03 A6 */ mtlr r0 -/* 80308C88 00305BE8 38 21 00 10 */ addi r1, r1, 0x10 -/* 80308C8C 00305BEC 4E 80 00 20 */ blr - -.global SetNumTevStages__3CGXFUc -SetNumTevStages__3CGXFUc: -/* 80308C90 00305BF0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80308C94 00305BF4 7C 08 02 A6 */ mflr r0 -/* 80308C98 00305BF8 3C 80 80 5A */ lis r4, lbl_805A53EC@ha -/* 80308C9C 00305BFC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80308CA0 00305C00 38 A4 53 EC */ addi r5, r4, lbl_805A53EC@l -/* 80308CA4 00305C04 54 60 06 3E */ clrlwi r0, r3, 0x18 -/* 80308CA8 00305C08 88 85 00 50 */ lbz r4, 0x50(r5) -/* 80308CAC 00305C0C 7C 04 00 40 */ cmplw r4, r0 -/* 80308CB0 00305C10 41 82 00 0C */ beq lbl_80308CBC -/* 80308CB4 00305C14 98 65 00 50 */ stb r3, 0x50(r5) -/* 80308CB8 00305C18 48 07 2F 15 */ bl GXSetNumTevStages -lbl_80308CBC: -/* 80308CBC 00305C1C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80308CC0 00305C20 7C 08 03 A6 */ mtlr r0 -/* 80308CC4 00305C24 38 21 00 10 */ addi r1, r1, 0x10 -/* 80308CC8 00305C28 4E 80 00 20 */ blr - -.global SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn -SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn: -/* 80308CCC 00305C2C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80308CD0 00305C30 3D 40 80 5A */ lis r10, lbl_805A53EC@ha -/* 80308CD4 00305C34 54 6B 08 3C */ slwi r11, r3, 1 -/* 80308CD8 00305C38 2C 07 00 00 */ cmpwi r7, 0 -/* 80308CDC 00305C3C 38 0A 53 EC */ addi r0, r10, lbl_805A53EC@l -/* 80308CE0 00305C40 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80308CE4 00305C44 7D 40 5A 14 */ add r10, r0, r11 -/* 80308CE8 00305C48 A3 EA 00 30 */ lhz r31, 0x30(r10) -/* 80308CEC 00305C4C 39 8A 00 34 */ addi r12, r10, 0x34 -/* 80308CF0 00305C50 40 82 00 08 */ bne lbl_80308CF8 -/* 80308CF4 00305C54 38 80 00 00 */ li r4, 0 -lbl_80308CF8: -/* 80308CF8 00305C58 54 AB 0F BC */ rlwinm r11, r5, 1, 0x1e, 0x1e -/* 80308CFC 00305C5C 3D 40 80 5A */ lis r10, lbl_805A53EC@ha -/* 80308D00 00305C60 50 8B 07 FE */ rlwimi r11, r4, 0, 0x1f, 0x1f -/* 80308D04 00305C64 38 A3 00 01 */ addi r5, r3, 1 -/* 80308D08 00305C68 50 CB 17 7A */ rlwimi r11, r6, 2, 0x1d, 0x1d -/* 80308D0C 00305C6C 38 00 00 01 */ li r0, 1 -/* 80308D10 00305C70 50 EB 1D 78 */ rlwimi r11, r7, 3, 0x15, 0x1c -/* 80308D14 00305C74 39 4A 53 EC */ addi r10, r10, lbl_805A53EC@l -/* 80308D18 00305C78 51 0B 5C E8 */ rlwimi r11, r8, 0xb, 0x13, 0x14 -/* 80308D1C 00305C7C 7C 00 28 30 */ slw r0, r0, r5 -/* 80308D20 00305C80 7D 63 5B 78 */ mr r3, r11 -/* 80308D24 00305C84 51 23 6C 64 */ rlwimi r3, r9, 0xd, 0x11, 0x12 -/* 80308D28 00305C88 B0 6C 00 00 */ sth r3, 0(r12) -/* 80308D2C 00305C8C 7C 83 F8 50 */ subf r4, r3, r31 -/* 80308D30 00305C90 7C 7F 18 50 */ subf r3, r31, r3 -/* 80308D34 00305C94 7C 84 1B 78 */ or r4, r4, r3 -/* 80308D38 00305C98 88 6A 00 4C */ lbz r3, 0x4c(r10) -/* 80308D3C 00305C9C 54 84 0F FE */ srwi r4, r4, 0x1f -/* 80308D40 00305CA0 7C 84 28 30 */ slw r4, r4, r5 -/* 80308D44 00305CA4 7C 60 00 78 */ andc r0, r3, r0 -/* 80308D48 00305CA8 7C 80 03 78 */ or r0, r4, r0 -/* 80308D4C 00305CAC 98 0A 00 4C */ stb r0, 0x4c(r10) -/* 80308D50 00305CB0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80308D54 00305CB4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80308D58 00305CB8 4E 80 00 20 */ blr - -.global SetChanMatColor__3CGXFQ23CGX10EChannelIdRC8_GXColor -SetChanMatColor__3CGXFQ23CGX10EChannelIdRC8_GXColor: -/* 80308D5C 00305CBC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80308D60 00305CC0 7C 08 02 A6 */ mflr r0 -/* 80308D64 00305CC4 3C A0 80 5A */ lis r5, lbl_805A53EC@ha -/* 80308D68 00305CC8 54 66 10 3A */ slwi r6, r3, 2 -/* 80308D6C 00305CCC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80308D70 00305CD0 38 05 53 EC */ addi r0, r5, lbl_805A53EC@l -/* 80308D74 00305CD4 80 E4 00 00 */ lwz r7, 0(r4) -/* 80308D78 00305CD8 7C 80 32 14 */ add r4, r0, r6 -/* 80308D7C 00305CDC 84 04 00 40 */ lwzu r0, 0x40(r4) -/* 80308D80 00305CE0 7C 07 00 40 */ cmplw r7, r0 -/* 80308D84 00305CE4 41 82 00 18 */ beq lbl_80308D9C -/* 80308D88 00305CE8 90 E4 00 00 */ stw r7, 0(r4) -/* 80308D8C 00305CEC 38 63 00 04 */ addi r3, r3, 4 -/* 80308D90 00305CF0 38 81 00 08 */ addi r4, r1, 8 -/* 80308D94 00305CF4 90 E1 00 08 */ stw r7, 8(r1) -/* 80308D98 00305CF8 48 07 0C A5 */ bl GXSetChanMatColor -lbl_80308D9C: -/* 80308D9C 00305CFC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80308DA0 00305D00 7C 08 03 A6 */ mtlr r0 -/* 80308DA4 00305D04 38 21 00 10 */ addi r1, r1, 0x10 -/* 80308DA8 00305D08 4E 80 00 20 */ blr - -.global GetChanAmbColor__3CGXFQ23CGX10EChannelId -GetChanAmbColor__3CGXFQ23CGX10EChannelId: -/* 80308DAC 00305D0C 3C 80 80 5A */ lis r4, lbl_805A53EC@ha -/* 80308DB0 00305D10 54 60 10 3A */ slwi r0, r3, 2 -/* 80308DB4 00305D14 38 64 53 EC */ addi r3, r4, lbl_805A53EC@l -/* 80308DB8 00305D18 7C 63 02 14 */ add r3, r3, r0 -/* 80308DBC 00305D1C 80 63 00 38 */ lwz r3, 0x38(r3) -/* 80308DC0 00305D20 4E 80 00 20 */ blr - -.global SetChanAmbColor__3CGXFQ23CGX10EChannelIdRC8_GXColor -SetChanAmbColor__3CGXFQ23CGX10EChannelIdRC8_GXColor: -/* 80308DC4 00305D24 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80308DC8 00305D28 7C 08 02 A6 */ mflr r0 -/* 80308DCC 00305D2C 3C A0 80 5A */ lis r5, lbl_805A53EC@ha -/* 80308DD0 00305D30 54 66 10 3A */ slwi r6, r3, 2 -/* 80308DD4 00305D34 90 01 00 14 */ stw r0, 0x14(r1) -/* 80308DD8 00305D38 38 05 53 EC */ addi r0, r5, lbl_805A53EC@l -/* 80308DDC 00305D3C 80 E4 00 00 */ lwz r7, 0(r4) -/* 80308DE0 00305D40 7C 80 32 14 */ add r4, r0, r6 -/* 80308DE4 00305D44 84 04 00 38 */ lwzu r0, 0x38(r4) -/* 80308DE8 00305D48 7C 07 00 40 */ cmplw r7, r0 -/* 80308DEC 00305D4C 41 82 00 18 */ beq lbl_80308E04 -/* 80308DF0 00305D50 90 E4 00 00 */ stw r7, 0(r4) -/* 80308DF4 00305D54 38 63 00 04 */ addi r3, r3, 4 -/* 80308DF8 00305D58 38 81 00 08 */ addi r4, r1, 8 -/* 80308DFC 00305D5C 90 E1 00 08 */ stw r7, 8(r1) -/* 80308E00 00305D60 48 07 0B 49 */ bl GXSetChanAmbColor -lbl_80308E04: -/* 80308E04 00305D64 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80308E08 00305D68 7C 08 03 A6 */ mtlr r0 -/* 80308E0C 00305D6C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80308E10 00305D70 4E 80 00 20 */ blr - -.global SetNumTexGens__3CGXFUc -SetNumTexGens__3CGXFUc: -/* 80308E14 00305D74 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80308E18 00305D78 7C 08 02 A6 */ mflr r0 -/* 80308E1C 00305D7C 3C 80 80 5A */ lis r4, lbl_805A53EC@ha -/* 80308E20 00305D80 54 65 06 3E */ clrlwi r5, r3, 0x18 -/* 80308E24 00305D84 90 01 00 14 */ stw r0, 0x14(r1) -/* 80308E28 00305D88 38 84 53 EC */ addi r4, r4, lbl_805A53EC@l -/* 80308E2C 00305D8C 88 04 00 4F */ lbz r0, 0x4f(r4) -/* 80308E30 00305D90 7C 05 00 40 */ cmplw r5, r0 -/* 80308E34 00305D94 41 82 00 0C */ beq lbl_80308E40 -/* 80308E38 00305D98 98 64 00 4F */ stb r3, 0x4f(r4) -/* 80308E3C 00305D9C 48 06 F4 29 */ bl GXSetNumTexGens -lbl_80308E40: -/* 80308E40 00305DA0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80308E44 00305DA4 7C 08 03 A6 */ mtlr r0 -/* 80308E48 00305DA8 38 21 00 10 */ addi r1, r1, 0x10 -/* 80308E4C 00305DAC 4E 80 00 20 */ blr - -.global SetNumChans__3CGXFUc -SetNumChans__3CGXFUc: -/* 80308E50 00305DB0 3C 80 80 5A */ lis r4, lbl_805A53EC@ha -/* 80308E54 00305DB4 54 66 06 3E */ clrlwi r6, r3, 0x18 -/* 80308E58 00305DB8 38 E4 53 EC */ addi r7, r4, lbl_805A53EC@l -/* 80308E5C 00305DBC 88 87 00 4D */ lbz r4, 0x4d(r7) -/* 80308E60 00305DC0 88 07 00 4C */ lbz r0, 0x4c(r7) -/* 80308E64 00305DC4 7C A6 20 50 */ subf r5, r6, r4 -/* 80308E68 00305DC8 7C 84 30 50 */ subf r4, r4, r6 -/* 80308E6C 00305DCC 7C A4 23 78 */ or r4, r5, r4 -/* 80308E70 00305DD0 98 67 00 4E */ stb r3, 0x4e(r7) -/* 80308E74 00305DD4 50 80 0F FE */ rlwimi r0, r4, 1, 0x1f, 0x1f -/* 80308E78 00305DD8 98 07 00 4C */ stb r0, 0x4c(r7) -/* 80308E7C 00305DDC 4E 80 00 20 */ blr - -.global __sinit_CGX_cpp -__sinit_CGX_cpp: -/* 80308E80 00305DE0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80308E84 00305DE4 7C 08 02 A6 */ mflr r0 -/* 80308E88 00305DE8 3C 60 80 5A */ lis r3, lbl_805A53EC@ha -/* 80308E8C 00305DEC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80308E90 00305DF0 38 63 53 EC */ addi r3, r3, lbl_805A53EC@l -/* 80308E94 00305DF4 4B FF F4 09 */ bl __ct__Q23CGX8SGXStateFv -/* 80308E98 00305DF8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80308E9C 00305DFC 7C 08 03 A6 */ mtlr r0 -/* 80308EA0 00305E00 38 21 00 10 */ addi r1, r1, 0x10 -/* 80308EA4 00305E04 4E 80 00 20 */ blr - -.global ResetStates__13CTevCombinersFv -ResetStates__13CTevCombinersFv: -/* 80308EA8 00305E08 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80308EAC 00305E0C 7C 08 02 A6 */ mflr r0 -/* 80308EB0 00305E10 3C 60 80 5A */ lis r3, lbl_805A564C@ha -/* 80308EB4 00305E14 38 AD 9C 60 */ addi r5, r13, lbl_805A8820@sda21 -/* 80308EB8 00305E18 90 01 00 14 */ stw r0, 0x14(r1) -/* 80308EBC 00305E1C 38 00 00 00 */ li r0, 0 -/* 80308EC0 00305E20 38 63 56 4C */ addi r3, r3, lbl_805A564C@l -/* 80308EC4 00305E24 38 80 00 00 */ li r4, 0 -/* 80308EC8 00305E28 98 0D 9C 60 */ stb r0, lbl_805A8820@sda21(r13) -/* 80308ECC 00305E2C 98 05 00 01 */ stb r0, 1(r5) -/* 80308ED0 00305E30 48 00 00 25 */ bl Execute__Q213CTevCombiners8CTevPassCFi -/* 80308ED4 00305E34 38 00 00 01 */ li r0, 1 -/* 80308ED8 00305E38 38 60 00 01 */ li r3, 1 -/* 80308EDC 00305E3C 90 0D 9C 64 */ stw r0, lbl_805A8824@sda21(r13) -/* 80308EE0 00305E40 4B FF FD B1 */ bl SetNumTevStages__3CGXFUc -/* 80308EE4 00305E44 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80308EE8 00305E48 7C 08 03 A6 */ mtlr r0 -/* 80308EEC 00305E4C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80308EF0 00305E50 4E 80 00 20 */ blr - -.global Execute__Q213CTevCombiners8CTevPassCFi -Execute__Q213CTevCombiners8CTevPassCFi: -/* 80308EF4 00305E54 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80308EF8 00305E58 7C 08 02 A6 */ mflr r0 -/* 80308EFC 00305E5C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80308F00 00305E60 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80308F04 00305E64 7C 9F 23 78 */ mr r31, r4 -/* 80308F08 00305E68 93 C1 00 08 */ stw r30, 8(r1) -/* 80308F0C 00305E6C 7C 7E 1B 78 */ mr r30, r3 -/* 80308F10 00305E70 80 E3 00 10 */ lwz r7, 0x10(r3) -/* 80308F14 00305E74 80 C3 00 0C */ lwz r6, 0xc(r3) -/* 80308F18 00305E78 7F E3 FB 78 */ mr r3, r31 -/* 80308F1C 00305E7C 80 BE 00 08 */ lwz r5, 8(r30) -/* 80308F20 00305E80 80 9E 00 04 */ lwz r4, 4(r30) -/* 80308F24 00305E84 4B FF FC C9 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg -/* 80308F28 00305E88 80 FE 00 20 */ lwz r7, 0x20(r30) -/* 80308F2C 00305E8C 7F E3 FB 78 */ mr r3, r31 -/* 80308F30 00305E90 80 DE 00 1C */ lwz r6, 0x1c(r30) -/* 80308F34 00305E94 80 BE 00 18 */ lwz r5, 0x18(r30) -/* 80308F38 00305E98 80 9E 00 14 */ lwz r4, 0x14(r30) -/* 80308F3C 00305E9C 4B FF FC 59 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg -/* 80308F40 00305EA0 88 FE 00 24 */ lbz r7, 0x24(r30) -/* 80308F44 00305EA4 7F E3 FB 78 */ mr r3, r31 -/* 80308F48 00305EA8 80 9E 00 28 */ lwz r4, 0x28(r30) -/* 80308F4C 00305EAC 80 BE 00 2C */ lwz r5, 0x2c(r30) -/* 80308F50 00305EB0 80 DE 00 30 */ lwz r6, 0x30(r30) -/* 80308F54 00305EB4 81 1E 00 34 */ lwz r8, 0x34(r30) -/* 80308F58 00305EB8 4B FF FB E1 */ bl SetTevColorOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID -/* 80308F5C 00305EBC 88 FE 00 38 */ lbz r7, 0x38(r30) -/* 80308F60 00305EC0 7F E3 FB 78 */ mr r3, r31 -/* 80308F64 00305EC4 80 9E 00 3C */ lwz r4, 0x3c(r30) -/* 80308F68 00305EC8 80 BE 00 40 */ lwz r5, 0x40(r30) -/* 80308F6C 00305ECC 80 DE 00 44 */ lwz r6, 0x44(r30) -/* 80308F70 00305ED0 81 1E 00 48 */ lwz r8, 0x48(r30) -/* 80308F74 00305ED4 4B FF FB 0D */ bl SetTevAlphaOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID -/* 80308F78 00305ED8 7F E3 FB 78 */ mr r3, r31 -/* 80308F7C 00305EDC 38 80 00 00 */ li r4, 0 -/* 80308F80 00305EE0 4B FF FA 61 */ bl SetTevKColorSel__3CGXF13_GXTevStageID15_GXTevKColorSel -/* 80308F84 00305EE4 7F E3 FB 78 */ mr r3, r31 -/* 80308F88 00305EE8 38 80 00 00 */ li r4, 0 -/* 80308F8C 00305EEC 4B FF FA 11 */ bl SetTevKAlphaSel__3CGXF13_GXTevStageID15_GXTevKAlphaSel -/* 80308F90 00305EF0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80308F94 00305EF4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80308F98 00305EF8 83 C1 00 08 */ lwz r30, 8(r1) -/* 80308F9C 00305EFC 7C 08 03 A6 */ mtlr r0 -/* 80308FA0 00305F00 38 21 00 10 */ addi r1, r1, 0x10 -/* 80308FA4 00305F04 4E 80 00 20 */ blr - -.global SetPassCombiners__13CTevCombinersFiRCQ213CTevCombiners8CTevPass -SetPassCombiners__13CTevCombinersFiRCQ213CTevCombiners8CTevPass: -/* 80308FA8 00305F08 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80308FAC 00305F0C 7C 08 02 A6 */ mflr r0 -/* 80308FB0 00305F10 90 01 00 14 */ stw r0, 0x14(r1) -/* 80308FB4 00305F14 7C 60 1B 78 */ mr r0, r3 -/* 80308FB8 00305F18 7C 83 23 78 */ mr r3, r4 -/* 80308FBC 00305F1C 7C 04 03 78 */ mr r4, r0 -/* 80308FC0 00305F20 4B FF FF 35 */ bl Execute__Q213CTevCombiners8CTevPassCFi -/* 80308FC4 00305F24 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80308FC8 00305F28 38 60 00 01 */ li r3, 1 -/* 80308FCC 00305F2C 7C 08 03 A6 */ mtlr r0 -/* 80308FD0 00305F30 38 21 00 10 */ addi r1, r1, 0x10 -/* 80308FD4 00305F34 4E 80 00 20 */ blr - -.global SetupPass__13CTevCombinersFiRCQ213CTevCombiners8CTevPass -SetupPass__13CTevCombinersFiRCQ213CTevCombiners8CTevPass: -/* 80308FD8 00305F38 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80308FDC 00305F3C 7C 08 02 A6 */ mflr r0 -/* 80308FE0 00305F40 3C A0 80 5A */ lis r5, lbl_805A564C@ha -/* 80308FE4 00305F44 90 01 00 14 */ stw r0, 0x14(r1) -/* 80308FE8 00305F48 38 05 56 4C */ addi r0, r5, lbl_805A564C@l -/* 80308FEC 00305F4C 7C 04 00 40 */ cmplw r4, r0 -/* 80308FF0 00305F50 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80308FF4 00305F54 7C 7F 1B 78 */ mr r31, r3 -/* 80308FF8 00305F58 40 82 00 0C */ bne lbl_80309004 -/* 80308FFC 00305F5C 48 00 00 39 */ bl DeletePass__13CTevCombinersFi -/* 80309000 00305F60 48 00 00 20 */ b lbl_80309020 -lbl_80309004: -/* 80309004 00305F64 4B FF FF A5 */ bl SetPassCombiners__13CTevCombinersFiRCQ213CTevCombiners8CTevPass -/* 80309008 00305F68 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8030900C 00305F6C 41 82 00 14 */ beq lbl_80309020 -/* 80309010 00305F70 38 00 00 01 */ li r0, 1 -/* 80309014 00305F74 38 6D 9C 60 */ addi r3, r13, lbl_805A8820@sda21 -/* 80309018 00305F78 7C 03 F9 AE */ stbx r0, r3, r31 -/* 8030901C 00305F7C 48 00 00 C9 */ bl RecomputePasses__13CTevCombinersFv -lbl_80309020: -/* 80309020 00305F80 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80309024 00305F84 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80309028 00305F88 7C 08 03 A6 */ mtlr r0 -/* 8030902C 00305F8C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80309030 00305F90 4E 80 00 20 */ blr - -.global DeletePass__13CTevCombinersFi -DeletePass__13CTevCombinersFi: -/* 80309034 00305F94 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80309038 00305F98 7C 08 02 A6 */ mflr r0 -/* 8030903C 00305F9C 3C 80 80 5A */ lis r4, lbl_805A564C@ha -/* 80309040 00305FA0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80309044 00305FA4 38 84 56 4C */ addi r4, r4, lbl_805A564C@l -/* 80309048 00305FA8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8030904C 00305FAC 7C 7F 1B 78 */ mr r31, r3 -/* 80309050 00305FB0 4B FF FF 59 */ bl SetPassCombiners__13CTevCombinersFiRCQ213CTevCombiners8CTevPass -/* 80309054 00305FB4 38 00 00 00 */ li r0, 0 -/* 80309058 00305FB8 38 6D 9C 60 */ addi r3, r13, lbl_805A8820@sda21 -/* 8030905C 00305FBC 7C 03 F9 AE */ stbx r0, r3, r31 -/* 80309060 00305FC0 48 00 00 85 */ bl RecomputePasses__13CTevCombinersFv -/* 80309064 00305FC4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80309068 00305FC8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8030906C 00305FCC 7C 08 03 A6 */ mtlr r0 -/* 80309070 00305FD0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80309074 00305FD4 4E 80 00 20 */ blr - -.global Init__13CTevCombinersFv -Init__13CTevCombinersFv: -/* 80309078 00305FD8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8030907C 00305FDC 7C 08 02 A6 */ mflr r0 -/* 80309080 00305FE0 38 60 00 01 */ li r3, 1 -/* 80309084 00305FE4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80309088 00305FE8 38 00 00 02 */ li r0, 2 -/* 8030908C 00305FEC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80309090 00305FF0 3B ED 9C 60 */ addi r31, r13, lbl_805A8820@sda21 -/* 80309094 00305FF4 93 C1 00 08 */ stw r30, 8(r1) -/* 80309098 00305FF8 3B C0 00 00 */ li r30, 0 -/* 8030909C 00305FFC 90 0D 9C 64 */ stw r0, lbl_805A8824@sda21(r13) -/* 803090A0 00306000 98 6D 9C 60 */ stb r3, lbl_805A8820@sda21(r13) -/* 803090A4 00306004 98 7F 00 01 */ stb r3, 1(r31) -lbl_803090A8: -/* 803090A8 00306008 7F C3 F3 78 */ mr r3, r30 -/* 803090AC 0030600C 4B FF FF 89 */ bl DeletePass__13CTevCombinersFi -/* 803090B0 00306010 3B DE 00 01 */ addi r30, r30, 1 -/* 803090B4 00306014 2C 1E 00 02 */ cmpwi r30, 2 -/* 803090B8 00306018 41 80 FF F0 */ blt lbl_803090A8 -/* 803090BC 0030601C 38 00 00 00 */ li r0, 0 -/* 803090C0 00306020 98 1F 00 00 */ stb r0, 0(r31) -/* 803090C4 00306024 98 1F 00 01 */ stb r0, 1(r31) -/* 803090C8 00306028 48 00 00 1D */ bl RecomputePasses__13CTevCombinersFv -/* 803090CC 0030602C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803090D0 00306030 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 803090D4 00306034 83 C1 00 08 */ lwz r30, 8(r1) -/* 803090D8 00306038 7C 08 03 A6 */ mtlr r0 -/* 803090DC 0030603C 38 21 00 10 */ addi r1, r1, 0x10 -/* 803090E0 00306040 4E 80 00 20 */ blr - -.global RecomputePasses__13CTevCombinersFv -RecomputePasses__13CTevCombinersFv: -/* 803090E4 00306044 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803090E8 00306048 7C 08 02 A6 */ mflr r0 -/* 803090EC 0030604C 38 6D 9C 60 */ addi r3, r13, lbl_805A8820@sda21 -/* 803090F0 00306050 90 01 00 14 */ stw r0, 0x14(r1) -/* 803090F4 00306054 88 63 00 01 */ lbz r3, 1(r3) -/* 803090F8 00306058 7C 03 00 D0 */ neg r0, r3 -/* 803090FC 0030605C 7C 00 1B 78 */ or r0, r0, r3 -/* 80309100 00306060 54 03 0F FE */ srwi r3, r0, 0x1f -/* 80309104 00306064 38 63 00 01 */ addi r3, r3, 1 -/* 80309108 00306068 54 60 06 3E */ clrlwi r0, r3, 0x18 -/* 8030910C 0030606C 90 0D 9C 64 */ stw r0, lbl_805A8824@sda21(r13) -/* 80309110 00306070 4B FF FB 81 */ bl SetNumTevStages__3CGXFUc -/* 80309114 00306074 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80309118 00306078 7C 08 03 A6 */ mtlr r0 -/* 8030911C 0030607C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80309120 00306080 4E 80 00 20 */ blr - -.global __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc -__ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc: -/* 80309124 00306084 90 83 00 00 */ stw r4, 0(r3) -/* 80309128 00306088 4E 80 00 20 */ blr - -.global __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc -__ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc: -/* 8030912C 0030608C 90 83 00 00 */ stw r4, 0(r3) -/* 80309130 00306090 4E 80 00 20 */ blr - -.global __sinit_CTevCombiners_cpp -__sinit_CTevCombiners_cpp: -/* 80309134 00306094 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 80309138 00306098 7C 08 02 A6 */ mflr r0 -/* 8030913C 0030609C 38 6D A7 9C */ addi r3, r13, lbl_805A935C@sda21 -/* 80309140 003060A0 38 80 00 06 */ li r4, 6 -/* 80309144 003060A4 90 01 00 74 */ stw r0, 0x74(r1) -/* 80309148 003060A8 4B FF FF E5 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc -/* 8030914C 003060AC 38 6D A7 A0 */ addi r3, r13, lbl_805A9360@sda21 -/* 80309150 003060B0 38 80 00 0C */ li r4, 0xc -/* 80309154 003060B4 4B FF FF D1 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc -/* 80309158 003060B8 38 00 00 00 */ li r0, 0 -/* 8030915C 003060BC 38 A0 00 01 */ li r5, 1 -/* 80309160 003060C0 98 A1 00 48 */ stb r5, 0x48(r1) -/* 80309164 003060C4 38 61 00 08 */ addi r3, r1, 8 -/* 80309168 003060C8 38 80 00 05 */ li r4, 5 -/* 8030916C 003060CC 90 01 00 4C */ stw r0, 0x4c(r1) -/* 80309170 003060D0 90 01 00 50 */ stw r0, 0x50(r1) -/* 80309174 003060D4 90 01 00 54 */ stw r0, 0x54(r1) -/* 80309178 003060D8 90 01 00 58 */ stw r0, 0x58(r1) -/* 8030917C 003060DC 98 A1 00 5C */ stb r5, 0x5c(r1) -/* 80309180 003060E0 90 01 00 60 */ stw r0, 0x60(r1) -/* 80309184 003060E4 90 01 00 64 */ stw r0, 0x64(r1) -/* 80309188 003060E8 90 01 00 68 */ stw r0, 0x68(r1) -/* 8030918C 003060EC 90 01 00 6C */ stw r0, 0x6c(r1) -/* 80309190 003060F0 4B FF FF 9D */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc -/* 80309194 003060F4 38 61 00 0C */ addi r3, r1, 0xc -/* 80309198 003060F8 38 80 00 07 */ li r4, 7 -/* 8030919C 003060FC 4B FF FF 91 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc -/* 803091A0 00306100 38 61 00 10 */ addi r3, r1, 0x10 -/* 803091A4 00306104 38 80 00 07 */ li r4, 7 -/* 803091A8 00306108 4B FF FF 85 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc -/* 803091AC 0030610C 38 61 00 14 */ addi r3, r1, 0x14 -/* 803091B0 00306110 38 80 00 07 */ li r4, 7 -/* 803091B4 00306114 4B FF FF 79 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc -/* 803091B8 00306118 80 E1 00 14 */ lwz r7, 0x14(r1) -/* 803091BC 0030611C 38 61 00 18 */ addi r3, r1, 0x18 -/* 803091C0 00306120 80 C1 00 10 */ lwz r6, 0x10(r1) -/* 803091C4 00306124 38 80 00 0A */ li r4, 0xa -/* 803091C8 00306128 80 A1 00 0C */ lwz r5, 0xc(r1) -/* 803091CC 0030612C 80 01 00 08 */ lwz r0, 8(r1) -/* 803091D0 00306130 90 E1 00 28 */ stw r7, 0x28(r1) -/* 803091D4 00306134 90 C1 00 2C */ stw r6, 0x2c(r1) -/* 803091D8 00306138 90 A1 00 30 */ stw r5, 0x30(r1) -/* 803091DC 0030613C 90 01 00 34 */ stw r0, 0x34(r1) -/* 803091E0 00306140 4B FF FF 45 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc -/* 803091E4 00306144 38 61 00 1C */ addi r3, r1, 0x1c -/* 803091E8 00306148 38 80 00 0F */ li r4, 0xf -/* 803091EC 0030614C 4B FF FF 39 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc -/* 803091F0 00306150 38 61 00 20 */ addi r3, r1, 0x20 -/* 803091F4 00306154 38 80 00 0F */ li r4, 0xf -/* 803091F8 00306158 4B FF FF 2D */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc -/* 803091FC 0030615C 38 61 00 24 */ addi r3, r1, 0x24 -/* 80309200 00306160 38 80 00 0F */ li r4, 0xf -/* 80309204 00306164 4B FF FF 21 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc -/* 80309208 00306168 80 A1 00 24 */ lwz r5, 0x24(r1) -/* 8030920C 0030616C 3C 60 80 5A */ lis r3, lbl_805A564C@ha -/* 80309210 00306170 81 21 00 20 */ lwz r9, 0x20(r1) -/* 80309214 00306174 38 63 56 4C */ addi r3, r3, lbl_805A564C@l -/* 80309218 00306178 81 01 00 1C */ lwz r8, 0x1c(r1) -/* 8030921C 0030617C 38 81 00 38 */ addi r4, r1, 0x38 -/* 80309220 00306180 80 01 00 18 */ lwz r0, 0x18(r1) -/* 80309224 00306184 38 C1 00 5C */ addi r6, r1, 0x5c -/* 80309228 00306188 90 A1 00 38 */ stw r5, 0x38(r1) -/* 8030922C 0030618C 38 A1 00 28 */ addi r5, r1, 0x28 -/* 80309230 00306190 38 E1 00 48 */ addi r7, r1, 0x48 -/* 80309234 00306194 91 21 00 3C */ stw r9, 0x3c(r1) -/* 80309238 00306198 91 01 00 40 */ stw r8, 0x40(r1) -/* 8030923C 0030619C 90 01 00 44 */ stw r0, 0x44(r1) -/* 80309240 003061A0 48 00 00 15 */ bl sub_80309254 -/* 80309244 003061A4 80 01 00 74 */ lwz r0, 0x74(r1) -/* 80309248 003061A8 7C 08 03 A6 */ mtlr r0 -/* 8030924C 003061AC 38 21 00 70 */ addi r1, r1, 0x70 -/* 80309250 003061B0 4E 80 00 20 */ blr - -.global sub_80309254 -sub_80309254: -/* 80309254 003061B4 81 0D A7 98 */ lwz r8, lbl_805A9358@sda21(r13) -/* 80309258 003061B8 38 08 00 01 */ addi r0, r8, 1 -/* 8030925C 003061BC 90 0D A7 98 */ stw r0, lbl_805A9358@sda21(r13) -/* 80309260 003061C0 91 03 00 00 */ stw r8, 0(r3) -/* 80309264 003061C4 80 04 00 00 */ lwz r0, 0(r4) -/* 80309268 003061C8 90 03 00 04 */ stw r0, 4(r3) -/* 8030926C 003061CC 80 04 00 04 */ lwz r0, 4(r4) -/* 80309270 003061D0 90 03 00 08 */ stw r0, 8(r3) -/* 80309274 003061D4 80 04 00 08 */ lwz r0, 8(r4) -/* 80309278 003061D8 90 03 00 0C */ stw r0, 0xc(r3) -/* 8030927C 003061DC 80 04 00 0C */ lwz r0, 0xc(r4) -/* 80309280 003061E0 90 03 00 10 */ stw r0, 0x10(r3) -/* 80309284 003061E4 80 05 00 00 */ lwz r0, 0(r5) -/* 80309288 003061E8 90 03 00 14 */ stw r0, 0x14(r3) -/* 8030928C 003061EC 80 05 00 04 */ lwz r0, 4(r5) -/* 80309290 003061F0 90 03 00 18 */ stw r0, 0x18(r3) -/* 80309294 003061F4 80 05 00 08 */ lwz r0, 8(r5) -/* 80309298 003061F8 90 03 00 1C */ stw r0, 0x1c(r3) -/* 8030929C 003061FC 80 05 00 0C */ lwz r0, 0xc(r5) -/* 803092A0 00306200 90 03 00 20 */ stw r0, 0x20(r3) -/* 803092A4 00306204 88 06 00 00 */ lbz r0, 0(r6) -/* 803092A8 00306208 98 03 00 24 */ stb r0, 0x24(r3) -/* 803092AC 0030620C 80 06 00 04 */ lwz r0, 4(r6) -/* 803092B0 00306210 90 03 00 28 */ stw r0, 0x28(r3) -/* 803092B4 00306214 80 06 00 08 */ lwz r0, 8(r6) -/* 803092B8 00306218 90 03 00 2C */ stw r0, 0x2c(r3) -/* 803092BC 0030621C 80 06 00 0C */ lwz r0, 0xc(r6) -/* 803092C0 00306220 90 03 00 30 */ stw r0, 0x30(r3) -/* 803092C4 00306224 80 06 00 10 */ lwz r0, 0x10(r6) -/* 803092C8 00306228 90 03 00 34 */ stw r0, 0x34(r3) -/* 803092CC 0030622C 88 07 00 00 */ lbz r0, 0(r7) -/* 803092D0 00306230 98 03 00 38 */ stb r0, 0x38(r3) -/* 803092D4 00306234 80 07 00 04 */ lwz r0, 4(r7) -/* 803092D8 00306238 90 03 00 3C */ stw r0, 0x3c(r3) -/* 803092DC 0030623C 80 07 00 08 */ lwz r0, 8(r7) -/* 803092E0 00306240 90 03 00 40 */ stw r0, 0x40(r3) -/* 803092E4 00306244 80 07 00 0C */ lwz r0, 0xc(r7) -/* 803092E8 00306248 90 03 00 44 */ stw r0, 0x44(r3) -/* 803092EC 0030624C 80 07 00 10 */ lwz r0, 0x10(r7) -/* 803092F0 00306250 90 03 00 48 */ stw r0, 0x48(r3) -/* 803092F4 00306254 4E 80 00 20 */ blr - -.global ResetFlushAll__Q29CGraphics12CRenderStateFv -ResetFlushAll__Q29CGraphics12CRenderStateFv: -/* 803092F8 00306258 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803092FC 0030625C 7C 08 02 A6 */ mflr r0 -/* 80309300 00306260 38 80 00 00 */ li r4, 0 -/* 80309304 00306264 38 A0 00 00 */ li r5, 0 -/* 80309308 00306268 90 01 00 14 */ stw r0, 0x14(r1) -/* 8030930C 0030626C 38 00 00 00 */ li r0, 0 -/* 80309310 00306270 38 C0 00 00 */ li r6, 0 -/* 80309314 00306274 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80309318 00306278 93 C1 00 08 */ stw r30, 8(r1) -/* 8030931C 0030627C 7C 7E 1B 78 */ mr r30, r3 -/* 80309320 00306280 90 03 00 00 */ stw r0, 0(r3) -/* 80309324 00306284 48 00 00 45 */ bl SetVtxState__Q29CGraphics12CRenderStateFPCfPCfPCUi -/* 80309328 00306288 3B E0 00 00 */ li r31, 0 -lbl_8030932C: -/* 8030932C 0030628C 38 7F 00 0D */ addi r3, r31, 0xd -/* 80309330 00306290 38 80 00 00 */ li r4, 0 -/* 80309334 00306294 38 A0 00 08 */ li r5, 8 -/* 80309338 00306298 4B FF F3 0D */ bl SetArray__3CGXF7_GXAttrPCvUc -/* 8030933C 0030629C 3B FF 00 01 */ addi r31, r31, 1 -/* 80309340 003062A0 2C 1F 00 08 */ cmpwi r31, 8 -/* 80309344 003062A4 41 80 FF E8 */ blt lbl_8030932C -/* 80309348 003062A8 7F C3 F3 78 */ mr r3, r30 -/* 8030934C 003062AC 48 00 00 99 */ bl Flush__Q29CGraphics12CRenderStateFv -/* 80309350 003062B0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80309354 003062B4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80309358 003062B8 83 C1 00 08 */ lwz r30, 8(r1) -/* 8030935C 003062BC 7C 08 03 A6 */ mtlr r0 -/* 80309360 003062C0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80309364 003062C4 4E 80 00 20 */ blr - -.global SetVtxState__Q29CGraphics12CRenderStateFPCfPCfPCUi -SetVtxState__Q29CGraphics12CRenderStateFPCfPCfPCUi: -/* 80309368 003062C8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8030936C 003062CC 7C 08 02 A6 */ mflr r0 -/* 80309370 003062D0 38 60 00 09 */ li r3, 9 -/* 80309374 003062D4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80309378 003062D8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8030937C 003062DC 7C DF 33 78 */ mr r31, r6 -/* 80309380 003062E0 93 C1 00 08 */ stw r30, 8(r1) -/* 80309384 003062E4 7C BE 2B 78 */ mr r30, r5 -/* 80309388 003062E8 38 A0 00 0C */ li r5, 0xc -/* 8030938C 003062EC 4B FF F2 B9 */ bl SetArray__3CGXF7_GXAttrPCvUc -/* 80309390 003062F0 7F C4 F3 78 */ mr r4, r30 -/* 80309394 003062F4 38 60 00 0A */ li r3, 0xa -/* 80309398 003062F8 38 A0 00 0C */ li r5, 0xc -/* 8030939C 003062FC 4B FF F2 A9 */ bl SetArray__3CGXF7_GXAttrPCvUc -/* 803093A0 00306300 7F E4 FB 78 */ mr r4, r31 -/* 803093A4 00306304 38 60 00 0B */ li r3, 0xb -/* 803093A8 00306308 38 A0 00 04 */ li r5, 4 -/* 803093AC 0030630C 4B FF F2 99 */ bl SetArray__3CGXF7_GXAttrPCvUc -/* 803093B0 00306310 28 1E 00 00 */ cmplwi r30, 0 -/* 803093B4 00306314 38 60 00 01 */ li r3, 1 -/* 803093B8 00306318 41 82 00 08 */ beq lbl_803093C0 -/* 803093BC 0030631C 60 63 00 02 */ ori r3, r3, 2 -lbl_803093C0: -/* 803093C0 00306320 28 1F 00 00 */ cmplwi r31, 0 -/* 803093C4 00306324 41 82 00 08 */ beq lbl_803093CC -/* 803093C8 00306328 60 63 00 10 */ ori r3, r3, 0x10 -lbl_803093CC: -/* 803093CC 0030632C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803093D0 00306330 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 803093D4 00306334 83 C1 00 08 */ lwz r30, 8(r1) -/* 803093D8 00306338 7C 08 03 A6 */ mtlr r0 -/* 803093DC 0030633C 38 21 00 10 */ addi r1, r1, 0x10 -/* 803093E0 00306340 4E 80 00 20 */ blr - -.global Flush__Q29CGraphics12CRenderStateFv -Flush__Q29CGraphics12CRenderStateFv: -/* 803093E4 00306344 4E 80 00 20 */ blr - -.global __ct__Q29CGraphics12CRenderStateFv -__ct__Q29CGraphics12CRenderStateFv: -/* 803093E8 00306348 38 00 00 00 */ li r0, 0 -/* 803093EC 0030634C 90 03 00 00 */ stw r0, 0(r3) -/* 803093F0 00306350 90 03 00 04 */ stw r0, 4(r3) -/* 803093F4 00306354 4E 80 00 20 */ blr - -.global __dt__12CGraphicsSysFv -__dt__12CGraphicsSysFv: -/* 803093F8 00306358 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803093FC 0030635C 7C 08 02 A6 */ mflr r0 -/* 80309400 00306360 90 01 00 14 */ stw r0, 0x14(r1) -/* 80309404 00306364 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80309408 00306368 7C 9F 23 78 */ mr r31, r4 -/* 8030940C 0030636C 93 C1 00 08 */ stw r30, 8(r1) -/* 80309410 00306370 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80309414 00306374 41 82 00 2C */ beq lbl_80309440 -/* 80309418 00306378 88 0D A7 A8 */ lbz r0, lbl_805A9368@sda21(r13) -/* 8030941C 0030637C 28 00 00 01 */ cmplwi r0, 1 -/* 80309420 00306380 40 82 00 10 */ bne lbl_80309430 -/* 80309424 00306384 48 00 3C 3D */ bl Shutdown__9CGraphicsFv -/* 80309428 00306388 38 00 00 00 */ li r0, 0 -/* 8030942C 0030638C 98 0D A7 A8 */ stb r0, lbl_805A9368@sda21(r13) -lbl_80309430: -/* 80309430 00306390 7F E0 07 35 */ extsh. r0, r31 -/* 80309434 00306394 40 81 00 0C */ ble lbl_80309440 -/* 80309438 00306398 7F C3 F3 78 */ mr r3, r30 -/* 8030943C 0030639C 48 00 C4 F5 */ bl Free__7CMemoryFPCv -lbl_80309440: -/* 80309440 003063A0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80309444 003063A4 7F C3 F3 78 */ mr r3, r30 -/* 80309448 003063A8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8030944C 003063AC 83 C1 00 08 */ lwz r30, 8(r1) -/* 80309450 003063B0 7C 08 03 A6 */ mtlr r0 -/* 80309454 003063B4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80309458 003063B8 4E 80 00 20 */ blr - -.global __ct__12CGraphicsSysFRC10COsContextRC10CMemorySysUiPv -__ct__12CGraphicsSysFRC10COsContextRC10CMemorySysUiPv: -/* 8030945C 003063BC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80309460 003063C0 7C 08 02 A6 */ mflr r0 -/* 80309464 003063C4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80309468 003063C8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8030946C 003063CC 7C 7F 1B 78 */ mr r31, r3 -/* 80309470 003063D0 88 0D A7 A8 */ lbz r0, lbl_805A9368@sda21(r13) -/* 80309474 003063D4 28 00 00 01 */ cmplwi r0, 1 -/* 80309478 003063D8 41 82 00 18 */ beq lbl_80309490 -/* 8030947C 003063DC 7C 83 23 78 */ mr r3, r4 -/* 80309480 003063E0 7C C4 33 78 */ mr r4, r6 -/* 80309484 003063E4 7C E5 3B 78 */ mr r5, r7 -/* 80309488 003063E8 48 00 3E 05 */ bl Startup__9CGraphicsFRC10COsContextUiPv -/* 8030948C 003063EC 98 6D A7 A8 */ stb r3, lbl_805A9368@sda21(r13) -lbl_80309490: -/* 80309490 003063F0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80309494 003063F4 7F E3 FB 78 */ mr r3, r31 -/* 80309498 003063F8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8030949C 003063FC 7C 08 03 A6 */ mtlr r0 -/* 803094A0 00306400 38 21 00 10 */ addi r1, r1, 0x10 -/* 803094A4 00306404 4E 80 00 20 */ blr - -.global SetIsBeginSceneClearFb__9CGraphicsFb -SetIsBeginSceneClearFb__9CGraphicsFb: -/* 803094A8 00306408 98 6D 9C 6C */ stb r3, lbl_805A882C@sda21(r13) -/* 803094AC 0030640C 4E 80 00 20 */ blr - -.global sub_803094b0 -sub_803094b0: -/* 803094B0 00306410 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 803094B4 00306414 7C 08 02 A6 */ mflr r0 -/* 803094B8 00306418 90 01 00 24 */ stw r0, 0x24(r1) -/* 803094BC 0030641C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 803094C0 00306420 7C 9F 23 78 */ mr r31, r4 -/* 803094C4 00306424 93 C1 00 18 */ stw r30, 0x18(r1) -/* 803094C8 00306428 7C 7E 1B 78 */ mr r30, r3 -/* 803094CC 0030642C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 803094D0 00306430 7C BD 2B 78 */ mr r29, r5 -/* 803094D4 00306434 80 0D A8 48 */ lwz r0, lbl_805A9408@sda21(r13) -/* 803094D8 00306438 80 6D A8 4C */ lwz r3, lbl_805A940C@sda21(r13) -/* 803094DC 0030643C 7C 80 F0 51 */ subf. r4, r0, r30 -/* 803094E0 00306440 80 0D A8 50 */ lwz r0, lbl_805A9410@sda21(r13) -/* 803094E4 00306444 7C A3 F8 50 */ subf r5, r3, r31 -/* 803094E8 00306448 7C E0 E8 50 */ subf r7, r0, r29 -/* 803094EC 0030644C 40 82 00 14 */ bne lbl_80309500 -/* 803094F0 00306450 2C 05 00 00 */ cmpwi r5, 0 -/* 803094F4 00306454 40 82 00 0C */ bne lbl_80309500 -/* 803094F8 00306458 2C 07 00 00 */ cmpwi r7, 0 -/* 803094FC 0030645C 41 82 00 4C */ beq lbl_80309548 -lbl_80309500: -/* 80309500 00306460 3C 60 80 5A */ lis r3, lbl_805A6500@ha -/* 80309504 00306464 54 80 08 3C */ slwi r0, r4, 1 -/* 80309508 00306468 38 63 65 00 */ addi r3, r3, lbl_805A6500@l -/* 8030950C 0030646C 7C 84 28 50 */ subf r4, r4, r5 -/* 80309510 00306470 A0 C3 00 0E */ lhz r6, 0xe(r3) -/* 80309514 00306474 A0 A3 00 0A */ lhz r5, 0xa(r3) -/* 80309518 00306478 7C C6 02 14 */ add r6, r6, r0 -/* 8030951C 0030647C A0 03 00 0C */ lhz r0, 0xc(r3) -/* 80309520 00306480 7C 85 22 14 */ add r4, r5, r4 -/* 80309524 00306484 B0 C3 00 0E */ sth r6, 0xe(r3) -/* 80309528 00306488 7C 00 3A 14 */ add r0, r0, r7 -/* 8030952C 0030648C B0 83 00 0A */ sth r4, 0xa(r3) -/* 80309530 00306490 B0 03 00 0C */ sth r0, 0xc(r3) -/* 80309534 00306494 48 07 F0 21 */ bl VIConfigure -/* 80309538 00306498 48 07 FB D9 */ bl VIFlush -/* 8030953C 0030649C 93 CD A8 48 */ stw r30, lbl_805A9408@sda21(r13) -/* 80309540 003064A0 93 ED A8 4C */ stw r31, lbl_805A940C@sda21(r13) -/* 80309544 003064A4 93 AD A8 50 */ stw r29, lbl_805A9410@sda21(r13) -lbl_80309548: -/* 80309548 003064A8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8030954C 003064AC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80309550 003064B0 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80309554 003064B4 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80309558 003064B8 7C 08 03 A6 */ mtlr r0 -/* 8030955C 003064BC 38 21 00 20 */ addi r1, r1, 0x20 -/* 80309560 003064C0 4E 80 00 20 */ blr - -.global sub_80309564 -sub_80309564: -/* 80309564 003064C4 28 03 00 00 */ cmplwi r3, 0 -/* 80309568 003064C8 41 82 00 0C */ beq lbl_80309574 -/* 8030956C 003064CC 80 0D A8 48 */ lwz r0, lbl_805A9408@sda21(r13) -/* 80309570 003064D0 90 03 00 00 */ stw r0, 0(r3) -lbl_80309574: -/* 80309574 003064D4 28 04 00 00 */ cmplwi r4, 0 -/* 80309578 003064D8 41 82 00 0C */ beq lbl_80309584 -/* 8030957C 003064DC 80 0D A8 4C */ lwz r0, lbl_805A940C@sda21(r13) -/* 80309580 003064E0 90 04 00 00 */ stw r0, 0(r4) -lbl_80309584: -/* 80309584 003064E4 28 05 00 00 */ cmplwi r5, 0 -/* 80309588 003064E8 4D 82 00 20 */ beqlr -/* 8030958C 003064EC 80 0D A8 50 */ lwz r0, lbl_805A9410@sda21(r13) -/* 80309590 003064F0 90 05 00 00 */ stw r0, 0(r5) -/* 80309594 003064F4 4E 80 00 20 */ blr - -.global GetProgressiveDefault__9CGraphicsFv -GetProgressiveDefault__9CGraphicsFv: -/* 80309598 003064F8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8030959C 003064FC 7C 08 02 A6 */ mflr r0 -/* 803095A0 00306500 90 01 00 14 */ stw r0, 0x14(r1) -/* 803095A4 00306504 48 07 AB 91 */ bl OSGetProgressiveMode -/* 803095A8 00306508 20 03 00 01 */ subfic r0, r3, 1 -/* 803095AC 0030650C 7C 00 00 34 */ cntlzw r0, r0 -/* 803095B0 00306510 54 03 D9 7E */ srwi r3, r0, 5 -/* 803095B4 00306514 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803095B8 00306518 7C 08 03 A6 */ mtlr r0 -/* 803095BC 0030651C 38 21 00 10 */ addi r1, r1, 0x10 -/* 803095C0 00306520 4E 80 00 20 */ blr - -.global CanSetProgressiveMode__9CGraphicsFv -CanSetProgressiveMode__9CGraphicsFv: -/* 803095C4 00306524 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803095C8 00306528 7C 08 02 A6 */ mflr r0 -/* 803095CC 0030652C 90 01 00 14 */ stw r0, 0x14(r1) -/* 803095D0 00306530 48 07 FF 71 */ bl VIGetDTVStatus -/* 803095D4 00306534 7C 03 00 D0 */ neg r0, r3 -/* 803095D8 00306538 7C 00 1B 78 */ or r0, r0, r3 -/* 803095DC 0030653C 54 03 0F FE */ srwi r3, r0, 0x1f -/* 803095E0 00306540 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803095E4 00306544 7C 08 03 A6 */ mtlr r0 -/* 803095E8 00306548 38 21 00 10 */ addi r1, r1, 0x10 -/* 803095EC 0030654C 4E 80 00 20 */ blr - -.global GetProgressiveMode__9CGraphicsFv -GetProgressiveMode__9CGraphicsFv: -/* 803095F0 00306550 3C 60 80 5A */ lis r3, lbl_805A6500@ha -/* 803095F4 00306554 80 03 65 00 */ lwz r0, lbl_805A6500@l(r3) -/* 803095F8 00306558 20 00 00 02 */ subfic r0, r0, 2 -/* 803095FC 0030655C 7C 00 00 34 */ cntlzw r0, r0 -/* 80309600 00306560 54 03 D9 7E */ srwi r3, r0, 5 -/* 80309604 00306564 4E 80 00 20 */ blr - -.global SetProgressiveMode__9CGraphicsFb -SetProgressiveMode__9CGraphicsFb: -/* 80309608 00306568 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8030960C 0030656C 7C 08 02 A6 */ mflr r0 -/* 80309610 00306570 90 01 00 24 */ stw r0, 0x24(r1) -/* 80309614 00306574 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80309618 00306578 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8030961C 0030657C 7C 7E 1B 78 */ mr r30, r3 -/* 80309620 00306580 4B FF FF D1 */ bl GetProgressiveMode__9CGraphicsFv -/* 80309624 00306584 57 C4 06 3E */ clrlwi r4, r30, 0x18 -/* 80309628 00306588 7C 7F 1B 78 */ mr r31, r3 -/* 8030962C 0030658C 7C 04 00 D0 */ neg r0, r4 -/* 80309630 00306590 7C 00 23 78 */ or r0, r0, r4 -/* 80309634 00306594 54 03 0F FE */ srwi r3, r0, 0x1f -/* 80309638 00306598 48 07 AB 6D */ bl sub_803841a4 -/* 8030963C 0030659C 57 C3 06 3E */ clrlwi r3, r30, 0x18 -/* 80309640 003065A0 57 E0 06 3E */ clrlwi r0, r31, 0x18 -/* 80309644 003065A4 7C 03 00 40 */ cmplw r3, r0 -/* 80309648 003065A8 41 82 01 0C */ beq lbl_80309754 -/* 8030964C 003065AC 38 60 00 01 */ li r3, 1 -/* 80309650 003065B0 48 07 FC 5D */ bl VISetBlack -/* 80309654 003065B4 48 07 FA BD */ bl VIFlush -/* 80309658 003065B8 48 07 EA 35 */ bl VIWaitForRetrace -/* 8030965C 003065BC 3B E0 00 00 */ li r31, 0 -lbl_80309660: -/* 80309660 003065C0 48 07 EA 2D */ bl VIWaitForRetrace -/* 80309664 003065C4 3B FF 00 01 */ addi r31, r31, 1 -/* 80309668 003065C8 2C 1F 00 0A */ cmpwi r31, 0xa -/* 8030966C 003065CC 41 80 FF F4 */ blt lbl_80309660 -/* 80309670 003065D0 57 C0 06 3F */ clrlwi. r0, r30, 0x18 -/* 80309674 003065D4 41 82 00 48 */ beq lbl_803096BC -/* 80309678 003065D8 80 E2 C7 E0 */ lwz r7, lbl_805AE500@sda21(r2) -/* 8030967C 003065DC 3C 60 80 5A */ lis r3, lbl_805A6500@ha -/* 80309680 003065E0 A0 C2 C7 E4 */ lhz r6, lbl_805AE504@sda21(r2) -/* 80309684 003065E4 39 03 65 00 */ addi r8, r3, lbl_805A6500@l -/* 80309688 003065E8 88 02 C7 E6 */ lbz r0, lbl_805AE506@sda21(r2) -/* 8030968C 003065EC 38 60 00 02 */ li r3, 2 -/* 80309690 003065F0 38 A0 00 00 */ li r5, 0 -/* 80309694 003065F4 90 68 00 00 */ stw r3, 0(r8) -/* 80309698 003065F8 38 68 00 32 */ addi r3, r8, 0x32 -/* 8030969C 003065FC 38 81 00 08 */ addi r4, r1, 8 -/* 803096A0 00306600 90 A8 00 14 */ stw r5, 0x14(r8) -/* 803096A4 00306604 38 A0 00 07 */ li r5, 7 -/* 803096A8 00306608 90 E1 00 08 */ stw r7, 8(r1) -/* 803096AC 0030660C B0 C1 00 0C */ sth r6, 0xc(r1) -/* 803096B0 00306610 98 01 00 0E */ stb r0, 0xe(r1) -/* 803096B4 00306614 4B CF 9D DD */ bl memcpy -/* 803096B8 00306618 48 00 00 34 */ b lbl_803096EC -lbl_803096BC: -/* 803096BC 0030661C 3C 80 80 5A */ lis r4, lbl_805A6500@ha -/* 803096C0 00306620 3C 60 80 3F */ lis r3, lbl_803F08E0@ha -/* 803096C4 00306624 38 C4 65 00 */ addi r6, r4, lbl_805A6500@l -/* 803096C8 00306628 38 A0 00 00 */ li r5, 0 -/* 803096CC 0030662C 38 00 00 01 */ li r0, 1 -/* 803096D0 00306630 38 83 08 E0 */ addi r4, r3, lbl_803F08E0@l -/* 803096D4 00306634 90 A6 00 00 */ stw r5, 0(r6) -/* 803096D8 00306638 38 66 00 32 */ addi r3, r6, 0x32 -/* 803096DC 0030663C 38 84 00 32 */ addi r4, r4, 0x32 -/* 803096E0 00306640 38 A0 00 07 */ li r5, 7 -/* 803096E4 00306644 90 06 00 14 */ stw r0, 0x14(r6) -/* 803096E8 00306648 4B CF 9D A9 */ bl memcpy -lbl_803096EC: -/* 803096EC 0030664C 3C 60 80 5A */ lis r3, lbl_805A6500@ha -/* 803096F0 00306650 38 A0 00 01 */ li r5, 1 -/* 803096F4 00306654 38 C3 65 00 */ addi r6, r3, lbl_805A6500@l -/* 803096F8 00306658 88 66 00 19 */ lbz r3, 0x19(r6) -/* 803096FC 0030665C 38 86 00 1A */ addi r4, r6, 0x1a -/* 80309700 00306660 38 C6 00 32 */ addi r6, r6, 0x32 -/* 80309704 00306664 48 06 FA 91 */ bl GXSetCopyFilter -/* 80309708 00306668 3C 60 80 5A */ lis r3, lbl_805A6500@ha -/* 8030970C 0030666C 38 63 65 00 */ addi r3, r3, lbl_805A6500@l -/* 80309710 00306670 48 07 EE 45 */ bl VIConfigure -/* 80309714 00306674 38 60 00 01 */ li r3, 1 -/* 80309718 00306678 48 07 FB 95 */ bl VISetBlack -/* 8030971C 0030667C 48 07 F9 F5 */ bl VIFlush -/* 80309720 00306680 3B E0 00 00 */ li r31, 0 -lbl_80309724: -/* 80309724 00306684 48 07 E9 69 */ bl VIWaitForRetrace -/* 80309728 00306688 3B FF 00 01 */ addi r31, r31, 1 -/* 8030972C 0030668C 2C 1F 00 64 */ cmpwi r31, 0x64 -/* 80309730 00306690 41 80 FF F4 */ blt lbl_80309724 -/* 80309734 00306694 38 60 00 00 */ li r3, 0 -/* 80309738 00306698 48 07 FB 75 */ bl VISetBlack -/* 8030973C 0030669C 48 07 F9 D5 */ bl VIFlush -/* 80309740 003066A0 3B E0 00 00 */ li r31, 0 -lbl_80309744: -/* 80309744 003066A4 48 07 E9 49 */ bl VIWaitForRetrace -/* 80309748 003066A8 3B FF 00 01 */ addi r31, r31, 1 -/* 8030974C 003066AC 2C 1F 00 02 */ cmpwi r31, 2 -/* 80309750 003066B0 41 80 FF F4 */ blt lbl_80309744 -lbl_80309754: -/* 80309754 003066B4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80309758 003066B8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8030975C 003066BC 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80309760 003066C0 7C 08 03 A6 */ mtlr r0 -/* 80309764 003066C4 38 21 00 20 */ addi r1, r1, 0x20 -/* 80309768 003066C8 4E 80 00 20 */ blr - -.global ProjectPoint__9CGraphicsFRC9CVector3f -ProjectPoint__9CGraphicsFRC9CVector3f: -/* 8030976C 003066CC 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 80309770 003066D0 7C 08 02 A6 */ mflr r0 -/* 80309774 003066D4 90 01 00 74 */ stw r0, 0x74(r1) -/* 80309778 003066D8 93 E1 00 6C */ stw r31, 0x6c(r1) -/* 8030977C 003066DC 7C 9F 23 78 */ mr r31, r4 -/* 80309780 003066E0 93 C1 00 68 */ stw r30, 0x68(r1) -/* 80309784 003066E4 7C 7E 1B 78 */ mr r30, r3 -/* 80309788 003066E8 38 61 00 14 */ addi r3, r1, 0x14 -/* 8030978C 003066EC 48 00 2B A5 */ bl GetPerspectiveProjectionMatrix__9CGraphicsFv -/* 80309790 003066F0 7F E5 FB 78 */ mr r5, r31 -/* 80309794 003066F4 38 61 00 08 */ addi r3, r1, 8 -/* 80309798 003066F8 38 81 00 14 */ addi r4, r1, 0x14 -/* 8030979C 003066FC 48 00 6F B5 */ bl MultiplyOneOverW__9CMatrix4fCFRC9CVector3f -/* 803097A0 00306700 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 803097A4 00306704 3C 60 80 3F */ lis r3, lbl_803ED910@ha -/* 803097A8 00306708 38 63 D9 10 */ addi r3, r3, lbl_803ED910@l -/* 803097AC 0030670C C0 21 00 08 */ lfs f1, 8(r1) -/* 803097B0 00306710 FC 00 00 50 */ fneg f0, f0 -/* 803097B4 00306714 C0 43 00 10 */ lfs f2, 0x10(r3) -/* 803097B8 00306718 C0 63 00 14 */ lfs f3, 0x14(r3) -/* 803097BC 0030671C 7F C3 F3 78 */ mr r3, r30 -/* 803097C0 00306720 EC 21 10 BA */ fmadds f1, f1, f2, f2 -/* 803097C4 00306724 EC 00 18 FA */ fmadds f0, f0, f3, f3 -/* 803097C8 00306728 FC 20 08 1E */ fctiwz f1, f1 -/* 803097CC 0030672C FC 00 00 1E */ fctiwz f0, f0 -/* 803097D0 00306730 D8 21 00 58 */ stfd f1, 0x58(r1) -/* 803097D4 00306734 D8 01 00 60 */ stfd f0, 0x60(r1) -/* 803097D8 00306738 80 81 00 5C */ lwz r4, 0x5c(r1) -/* 803097DC 0030673C 80 A1 00 64 */ lwz r5, 0x64(r1) -/* 803097E0 00306740 48 00 AB 6D */ bl __ct__9CVector2iFii -/* 803097E4 00306744 80 01 00 74 */ lwz r0, 0x74(r1) -/* 803097E8 00306748 83 E1 00 6C */ lwz r31, 0x6c(r1) -/* 803097EC 0030674C 83 C1 00 68 */ lwz r30, 0x68(r1) -/* 803097F0 00306750 7C 08 03 A6 */ mtlr r0 -/* 803097F4 00306754 38 21 00 70 */ addi r1, r1, 0x70 -/* 803097F8 00306758 4E 80 00 20 */ blr - -.global GetFrameCounter__9CGraphicsFv -GetFrameCounter__9CGraphicsFv: -/* 803097FC 0030675C 80 6D A8 00 */ lwz r3, lbl_805A93C0@sda21(r13) -/* 80309800 00306760 4E 80 00 20 */ blr - -.global GetUseVideoFilter__9CGraphicsFv -GetUseVideoFilter__9CGraphicsFv: -/* 80309804 00306764 88 6D 9C 82 */ lbz r3, lbl_805A8842@sda21(r13) -/* 80309808 00306768 4E 80 00 20 */ blr - -.global SetUseVideoFilter__9CGraphicsFb -SetUseVideoFilter__9CGraphicsFb: -/* 8030980C 0030676C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80309810 00306770 7C 08 02 A6 */ mflr r0 -/* 80309814 00306774 3C 80 80 5A */ lis r4, lbl_805A6500@ha -/* 80309818 00306778 54 65 06 3E */ clrlwi r5, r3, 0x18 -/* 8030981C 0030677C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80309820 00306780 38 C4 65 00 */ addi r6, r4, lbl_805A6500@l -/* 80309824 00306784 7C 05 00 D0 */ neg r0, r5 -/* 80309828 00306788 98 6D 9C 82 */ stb r3, lbl_805A8842@sda21(r13) -/* 8030982C 0030678C 7C 00 2B 78 */ or r0, r0, r5 -/* 80309830 00306790 88 66 00 19 */ lbz r3, 0x19(r6) -/* 80309834 00306794 38 86 00 1A */ addi r4, r6, 0x1a -/* 80309838 00306798 54 05 0F FE */ srwi r5, r0, 0x1f -/* 8030983C 0030679C 38 C6 00 32 */ addi r6, r6, 0x32 -/* 80309840 003067A0 48 06 F9 55 */ bl GXSetCopyFilter -/* 80309844 003067A4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80309848 003067A8 7C 08 03 A6 */ mtlr r0 -/* 8030984C 003067AC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80309850 003067B0 4E 80 00 20 */ blr - -.global GetFPS__9CGraphicsFv -GetFPS__9CGraphicsFv: -/* 80309854 003067B4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80309858 003067B8 7C 08 02 A6 */ mflr r0 -/* 8030985C 003067BC 90 01 00 24 */ stw r0, 0x24(r1) -/* 80309860 003067C0 DB E1 00 10 */ stfd f31, 0x10(r1) -/* 80309864 003067C4 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 -/* 80309868 003067C8 48 07 7D F9 */ bl OSDisableInterrupts -/* 8030986C 003067CC C0 2D A8 08 */ lfs f1, lbl_805A93C8@sda21(r13) -/* 80309870 003067D0 C0 0D A8 04 */ lfs f0, lbl_805A93C4@sda21(r13) -/* 80309874 003067D4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80309878 003067D8 40 80 00 0C */ bge lbl_80309884 -/* 8030987C 003067DC 38 8D A8 08 */ addi r4, r13, lbl_805A93C8@sda21 -/* 80309880 003067E0 48 00 00 08 */ b lbl_80309888 -lbl_80309884: -/* 80309884 003067E4 38 8D A8 04 */ addi r4, r13, lbl_805A93C4@sda21 -lbl_80309888: -/* 80309888 003067E8 C3 E4 00 00 */ lfs f31, 0(r4) -/* 8030988C 003067EC 48 07 7D FD */ bl OSRestoreInterrupts -/* 80309890 003067F0 FC 20 F8 90 */ fmr f1, f31 -/* 80309894 003067F4 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 -/* 80309898 003067F8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8030989C 003067FC CB E1 00 10 */ lfd f31, 0x10(r1) -/* 803098A0 00306800 7C 08 03 A6 */ mtlr r0 -/* 803098A4 00306804 38 21 00 20 */ addi r1, r1, 0x20 -/* 803098A8 00306808 4E 80 00 20 */ blr - -.global ClipScreenRectFromMS__9CGraphicsFRC9CVector3fRC9CVector3f12ETexelFormat -ClipScreenRectFromMS__9CGraphicsFRC9CVector3fRC9CVector3f12ETexelFormat: -/* 803098AC 0030680C 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 803098B0 00306810 7C 08 02 A6 */ mflr r0 -/* 803098B4 00306814 3C E0 80 5A */ lis r7, lbl_805A6204@ha -/* 803098B8 00306818 90 01 00 64 */ stw r0, 0x64(r1) -/* 803098BC 0030681C 38 07 62 04 */ addi r0, r7, lbl_805A6204@l -/* 803098C0 00306820 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 803098C4 00306824 93 C1 00 58 */ stw r30, 0x58(r1) -/* 803098C8 00306828 7C DE 33 78 */ mr r30, r6 -/* 803098CC 0030682C 93 A1 00 54 */ stw r29, 0x54(r1) -/* 803098D0 00306830 7C 9D 23 78 */ mr r29, r4 -/* 803098D4 00306834 7C 04 03 78 */ mr r4, r0 -/* 803098D8 00306838 93 81 00 50 */ stw r28, 0x50(r1) -/* 803098DC 0030683C 7C 7C 1B 78 */ mr r28, r3 -/* 803098E0 00306840 38 61 00 20 */ addi r3, r1, 0x20 -/* 803098E4 00306844 48 00 92 05 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 803098E8 00306848 3C 60 80 5A */ lis r3, lbl_805A61D4@ha -/* 803098EC 0030684C C0 21 00 20 */ lfs f1, 0x20(r1) -/* 803098F0 00306850 3B E3 61 D4 */ addi r31, r3, lbl_805A61D4@l -/* 803098F4 00306854 C0 61 00 24 */ lfs f3, 0x24(r1) -/* 803098F8 00306858 C0 1F 00 0C */ lfs f0, 0xc(r31) -/* 803098FC 0030685C 7F E4 FB 78 */ mr r4, r31 -/* 80309900 00306860 C0 5F 00 1C */ lfs f2, 0x1c(r31) -/* 80309904 00306864 38 61 00 2C */ addi r3, r1, 0x2c -/* 80309908 00306868 EC 81 00 28 */ fsubs f4, f1, f0 -/* 8030990C 0030686C C0 21 00 28 */ lfs f1, 0x28(r1) -/* 80309910 00306870 C0 1F 00 2C */ lfs f0, 0x2c(r31) -/* 80309914 00306874 EC 43 10 28 */ fsubs f2, f3, f2 -/* 80309918 00306878 38 A1 00 08 */ addi r5, r1, 8 -/* 8030991C 0030687C EC 01 00 28 */ fsubs f0, f1, f0 -/* 80309920 00306880 D0 81 00 08 */ stfs f4, 8(r1) -/* 80309924 00306884 D0 41 00 0C */ stfs f2, 0xc(r1) -/* 80309928 00306888 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 8030992C 0030688C 48 00 90 F9 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f -/* 80309930 00306890 3C 60 80 5A */ lis r3, lbl_805A6204@ha -/* 80309934 00306894 7F A5 EB 78 */ mr r5, r29 -/* 80309938 00306898 38 83 62 04 */ addi r4, r3, lbl_805A6204@l -/* 8030993C 0030689C 38 61 00 38 */ addi r3, r1, 0x38 -/* 80309940 003068A0 48 00 91 A9 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 80309944 003068A4 C0 21 00 38 */ lfs f1, 0x38(r1) -/* 80309948 003068A8 3C 60 80 5A */ lis r3, lbl_805A61D4@ha -/* 8030994C 003068AC C0 1F 00 0C */ lfs f0, 0xc(r31) -/* 80309950 003068B0 38 83 61 D4 */ addi r4, r3, lbl_805A61D4@l -/* 80309954 003068B4 C0 61 00 3C */ lfs f3, 0x3c(r1) -/* 80309958 003068B8 38 61 00 44 */ addi r3, r1, 0x44 -/* 8030995C 003068BC EC 81 00 28 */ fsubs f4, f1, f0 -/* 80309960 003068C0 C0 5F 00 1C */ lfs f2, 0x1c(r31) -/* 80309964 003068C4 C0 21 00 40 */ lfs f1, 0x40(r1) -/* 80309968 003068C8 38 A1 00 14 */ addi r5, r1, 0x14 -/* 8030996C 003068CC C0 1F 00 2C */ lfs f0, 0x2c(r31) -/* 80309970 003068D0 EC 43 10 28 */ fsubs f2, f3, f2 -/* 80309974 003068D4 EC 01 00 28 */ fsubs f0, f1, f0 -/* 80309978 003068D8 D0 81 00 14 */ stfs f4, 0x14(r1) -/* 8030997C 003068DC D0 41 00 18 */ stfs f2, 0x18(r1) -/* 80309980 003068E0 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 80309984 003068E4 48 00 90 A1 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f -/* 80309988 003068E8 7F 83 E3 78 */ mr r3, r28 -/* 8030998C 003068EC 7F C6 F3 78 */ mr r6, r30 -/* 80309990 003068F0 38 81 00 44 */ addi r4, r1, 0x44 -/* 80309994 003068F4 38 A1 00 2C */ addi r5, r1, 0x2c -/* 80309998 003068F8 48 00 00 25 */ bl ClipScreenRectFromVS__9CGraphicsFRC9CVector3fRC9CVector3f12ETexelFormat -/* 8030999C 003068FC 80 01 00 64 */ lwz r0, 0x64(r1) -/* 803099A0 00306900 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 803099A4 00306904 83 C1 00 58 */ lwz r30, 0x58(r1) -/* 803099A8 00306908 83 A1 00 54 */ lwz r29, 0x54(r1) -/* 803099AC 0030690C 83 81 00 50 */ lwz r28, 0x50(r1) -/* 803099B0 00306910 7C 08 03 A6 */ mtlr r0 -/* 803099B4 00306914 38 21 00 60 */ addi r1, r1, 0x60 -/* 803099B8 00306918 4E 80 00 20 */ blr - -.global ClipScreenRectFromVS__9CGraphicsFRC9CVector3fRC9CVector3f12ETexelFormat -ClipScreenRectFromVS__9CGraphicsFRC9CVector3fRC9CVector3f12ETexelFormat: -/* 803099BC 0030691C 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 803099C0 00306920 7C 08 02 A6 */ mflr r0 -/* 803099C4 00306924 C0 22 C7 F0 */ lfs f1, lbl_805AE510@sda21(r2) -/* 803099C8 00306928 90 01 00 74 */ stw r0, 0x74(r1) -/* 803099CC 0030692C 38 00 00 00 */ li r0, 0 -/* 803099D0 00306930 93 E1 00 6C */ stw r31, 0x6c(r1) -/* 803099D4 00306934 7C DF 33 78 */ mr r31, r6 -/* 803099D8 00306938 93 C1 00 68 */ stw r30, 0x68(r1) -/* 803099DC 0030693C 7C 7E 1B 78 */ mr r30, r3 -/* 803099E0 00306940 93 A1 00 64 */ stw r29, 0x64(r1) -/* 803099E4 00306944 7C 9D 23 78 */ mr r29, r4 -/* 803099E8 00306948 93 81 00 60 */ stw r28, 0x60(r1) -/* 803099EC 0030694C 7C BC 2B 78 */ mr r28, r5 -/* 803099F0 00306950 C0 04 00 00 */ lfs f0, 0(r4) -/* 803099F4 00306954 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 803099F8 00306958 40 82 00 1C */ bne lbl_80309A14 -/* 803099FC 0030695C C0 1D 00 04 */ lfs f0, 4(r29) -/* 80309A00 00306960 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80309A04 00306964 40 82 00 10 */ bne lbl_80309A14 -/* 80309A08 00306968 C0 1D 00 08 */ lfs f0, 8(r29) -/* 80309A0C 0030696C FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80309A10 00306970 41 82 00 08 */ beq lbl_80309A18 -lbl_80309A14: -/* 80309A14 00306974 38 00 00 01 */ li r0, 1 -lbl_80309A18: -/* 80309A18 00306978 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 80309A1C 0030697C 41 82 00 3C */ beq lbl_80309A58 -/* 80309A20 00306980 C0 22 C7 F0 */ lfs f1, lbl_805AE510@sda21(r2) -/* 80309A24 00306984 38 00 00 00 */ li r0, 0 -/* 80309A28 00306988 C0 1C 00 00 */ lfs f0, 0(r28) -/* 80309A2C 0030698C FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80309A30 00306990 40 82 00 1C */ bne lbl_80309A4C -/* 80309A34 00306994 C0 1C 00 04 */ lfs f0, 4(r28) -/* 80309A38 00306998 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80309A3C 0030699C 40 82 00 10 */ bne lbl_80309A4C -/* 80309A40 003069A0 C0 1C 00 08 */ lfs f0, 8(r28) -/* 80309A44 003069A4 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80309A48 003069A8 41 82 00 08 */ beq lbl_80309A50 -lbl_80309A4C: -/* 80309A4C 003069AC 38 00 00 01 */ li r0, 1 -lbl_80309A50: -/* 80309A50 003069B0 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 80309A54 003069B4 40 82 00 10 */ bne lbl_80309A64 -lbl_80309A58: -/* 80309A58 003069B8 38 00 00 00 */ li r0, 0 -/* 80309A5C 003069BC 98 1E 00 00 */ stb r0, 0(r30) -/* 80309A60 003069C0 48 00 03 80 */ b lbl_80309DE0 -lbl_80309A64: -/* 80309A64 003069C4 48 00 03 F9 */ bl GetProjectionState__9CGraphicsFv -/* 80309A68 003069C8 C0 3D 00 04 */ lfs f1, 4(r29) -/* 80309A6C 003069CC C0 03 00 14 */ lfs f0, 0x14(r3) -/* 80309A70 003069D0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80309A74 003069D4 41 80 00 18 */ blt lbl_80309A8C -/* 80309A78 003069D8 48 00 03 E5 */ bl GetProjectionState__9CGraphicsFv -/* 80309A7C 003069DC C0 3C 00 04 */ lfs f1, 4(r28) -/* 80309A80 003069E0 C0 03 00 14 */ lfs f0, 0x14(r3) -/* 80309A84 003069E4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80309A88 003069E8 40 80 00 10 */ bge lbl_80309A98 -lbl_80309A8C: -/* 80309A8C 003069EC 38 00 00 00 */ li r0, 0 -/* 80309A90 003069F0 98 1E 00 00 */ stb r0, 0(r30) -/* 80309A94 003069F4 48 00 03 4C */ b lbl_80309DE0 -lbl_80309A98: -/* 80309A98 003069F8 48 00 03 C5 */ bl GetProjectionState__9CGraphicsFv -/* 80309A9C 003069FC C0 3D 00 04 */ lfs f1, 4(r29) -/* 80309AA0 00306A00 C0 03 00 18 */ lfs f0, 0x18(r3) -/* 80309AA4 00306A04 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80309AA8 00306A08 41 81 00 18 */ bgt lbl_80309AC0 -/* 80309AAC 00306A0C 48 00 03 B1 */ bl GetProjectionState__9CGraphicsFv -/* 80309AB0 00306A10 C0 3C 00 04 */ lfs f1, 4(r28) -/* 80309AB4 00306A14 C0 03 00 18 */ lfs f0, 0x18(r3) -/* 80309AB8 00306A18 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80309ABC 00306A1C 40 81 00 10 */ ble lbl_80309ACC -lbl_80309AC0: -/* 80309AC0 00306A20 38 00 00 00 */ li r0, 0 -/* 80309AC4 00306A24 98 1E 00 00 */ stb r0, 0(r30) -/* 80309AC8 00306A28 48 00 03 18 */ b lbl_80309DE0 -lbl_80309ACC: -/* 80309ACC 00306A2C 7F A4 EB 78 */ mr r4, r29 -/* 80309AD0 00306A30 38 61 00 38 */ addi r3, r1, 0x38 -/* 80309AD4 00306A34 4B FF FC 99 */ bl ProjectPoint__9CGraphicsFRC9CVector3f -/* 80309AD8 00306A38 83 A1 00 38 */ lwz r29, 0x38(r1) -/* 80309ADC 00306A3C 7F 84 E3 78 */ mr r4, r28 -/* 80309AE0 00306A40 83 81 00 3C */ lwz r28, 0x3c(r1) -/* 80309AE4 00306A44 38 61 00 30 */ addi r3, r1, 0x30 -/* 80309AE8 00306A48 4B FF FC 85 */ bl ProjectPoint__9CGraphicsFRC9CVector3f -/* 80309AEC 00306A4C 80 81 00 30 */ lwz r4, 0x30(r1) -/* 80309AF0 00306A50 38 61 00 1C */ addi r3, r1, 0x1c -/* 80309AF4 00306A54 93 A1 00 1C */ stw r29, 0x1c(r1) -/* 80309AF8 00306A58 7C 04 E8 00 */ cmpw r4, r29 -/* 80309AFC 00306A5C 80 A1 00 34 */ lwz r5, 0x34(r1) -/* 80309B00 00306A60 90 81 00 18 */ stw r4, 0x18(r1) -/* 80309B04 00306A64 40 80 00 08 */ bge lbl_80309B0C -/* 80309B08 00306A68 38 61 00 18 */ addi r3, r1, 0x18 -lbl_80309B0C: -/* 80309B0C 00306A6C 80 03 00 00 */ lwz r0, 0(r3) -/* 80309B10 00306A70 7C 05 E0 00 */ cmpw r5, r28 -/* 80309B14 00306A74 39 61 00 14 */ addi r11, r1, 0x14 -/* 80309B18 00306A78 90 A1 00 10 */ stw r5, 0x10(r1) -/* 80309B1C 00306A7C 93 81 00 14 */ stw r28, 0x14(r1) -/* 80309B20 00306A80 40 80 00 08 */ bge lbl_80309B28 -/* 80309B24 00306A84 39 61 00 10 */ addi r11, r1, 0x10 -lbl_80309B28: -/* 80309B28 00306A88 3C 60 80 3F */ lis r3, lbl_803ED910@ha -/* 80309B2C 00306A8C 7C 84 E8 50 */ subf r4, r4, r29 -/* 80309B30 00306A90 39 03 D9 10 */ addi r8, r3, lbl_803ED910@l -/* 80309B34 00306A94 7C A5 E0 50 */ subf r5, r5, r28 -/* 80309B38 00306A98 81 88 00 00 */ lwz r12, 0(r8) -/* 80309B3C 00306A9C 7C 8A FE 70 */ srawi r10, r4, 0x1f -/* 80309B40 00306AA0 80 C8 00 08 */ lwz r6, 8(r8) -/* 80309B44 00306AA4 7C A7 FE 70 */ srawi r7, r5, 0x1f -/* 80309B48 00306AA8 54 09 00 3C */ rlwinm r9, r0, 0, 0, 0x1e -/* 80309B4C 00306AAC 80 6B 00 00 */ lwz r3, 0(r11) -/* 80309B50 00306AB0 7D 6C 32 14 */ add r11, r12, r6 -/* 80309B54 00306AB4 7D 44 22 78 */ xor r4, r10, r4 -/* 80309B58 00306AB8 7C E5 2A 78 */ xor r5, r7, r5 -/* 80309B5C 00306ABC 91 21 00 2C */ stw r9, 0x2c(r1) -/* 80309B60 00306AC0 7C 09 58 00 */ cmpw r9, r11 -/* 80309B64 00306AC4 7C 8A 20 50 */ subf r4, r10, r4 -/* 80309B68 00306AC8 7C A7 28 50 */ subf r5, r7, r5 -/* 80309B6C 00306ACC 41 80 00 10 */ blt lbl_80309B7C -/* 80309B70 00306AD0 38 00 00 00 */ li r0, 0 -/* 80309B74 00306AD4 98 1E 00 00 */ stb r0, 0(r30) -/* 80309B78 00306AD8 48 00 02 68 */ b lbl_80309DE0 -lbl_80309B7C: -/* 80309B7C 00306ADC 38 C4 00 02 */ addi r6, r4, 2 -/* 80309B80 00306AE0 7C C0 32 14 */ add r6, r0, r6 -/* 80309B84 00306AE4 54 C7 00 3C */ rlwinm r7, r6, 0, 0, 0x1e -/* 80309B88 00306AE8 7C 07 60 00 */ cmpw r7, r12 -/* 80309B8C 00306AEC 90 E1 00 28 */ stw r7, 0x28(r1) -/* 80309B90 00306AF0 41 81 00 10 */ bgt lbl_80309BA0 -/* 80309B94 00306AF4 38 00 00 00 */ li r0, 0 -/* 80309B98 00306AF8 98 1E 00 00 */ stb r0, 0(r30) -/* 80309B9C 00306AFC 48 00 02 44 */ b lbl_80309DE0 -lbl_80309BA0: -/* 80309BA0 00306B00 7C 09 60 00 */ cmpw r9, r12 -/* 80309BA4 00306B04 38 C1 00 2C */ addi r6, r1, 0x2c -/* 80309BA8 00306B08 40 80 00 08 */ bge lbl_80309BB0 -/* 80309BAC 00306B0C 7D 06 43 78 */ mr r6, r8 -lbl_80309BB0: -/* 80309BB0 00306B10 80 C6 00 00 */ lwz r6, 0(r6) -/* 80309BB4 00306B14 7C 0B 38 00 */ cmpw r11, r7 -/* 80309BB8 00306B18 38 E1 00 28 */ addi r7, r1, 0x28 -/* 80309BBC 00306B1C 54 C6 00 3C */ rlwinm r6, r6, 0, 0, 0x1e -/* 80309BC0 00306B20 91 61 00 0C */ stw r11, 0xc(r1) -/* 80309BC4 00306B24 90 C1 00 2C */ stw r6, 0x2c(r1) -/* 80309BC8 00306B28 40 80 00 08 */ bge lbl_80309BD0 -/* 80309BCC 00306B2C 38 E1 00 0C */ addi r7, r1, 0xc -lbl_80309BD0: -/* 80309BD0 00306B30 3C C0 80 3F */ lis r6, lbl_803ED910@ha -/* 80309BD4 00306B34 81 07 00 00 */ lwz r8, 0(r7) -/* 80309BD8 00306B38 38 C6 D9 10 */ addi r6, r6, lbl_803ED910@l -/* 80309BDC 00306B3C 54 67 00 3C */ rlwinm r7, r3, 0, 0, 0x1e -/* 80309BE0 00306B40 39 46 00 04 */ addi r10, r6, 4 -/* 80309BE4 00306B44 39 08 00 01 */ addi r8, r8, 1 -/* 80309BE8 00306B48 81 26 00 04 */ lwz r9, 4(r6) -/* 80309BEC 00306B4C 55 08 00 3C */ rlwinm r8, r8, 0, 0, 0x1e -/* 80309BF0 00306B50 80 C6 00 0C */ lwz r6, 0xc(r6) -/* 80309BF4 00306B54 91 01 00 28 */ stw r8, 0x28(r1) -/* 80309BF8 00306B58 7D 09 32 14 */ add r8, r9, r6 -/* 80309BFC 00306B5C 7C 07 40 00 */ cmpw r7, r8 -/* 80309C00 00306B60 90 E1 00 24 */ stw r7, 0x24(r1) -/* 80309C04 00306B64 41 80 00 10 */ blt lbl_80309C14 -/* 80309C08 00306B68 38 00 00 00 */ li r0, 0 -/* 80309C0C 00306B6C 98 1E 00 00 */ stb r0, 0(r30) -/* 80309C10 00306B70 48 00 01 D0 */ b lbl_80309DE0 -lbl_80309C14: -/* 80309C14 00306B74 38 C5 00 02 */ addi r6, r5, 2 -/* 80309C18 00306B78 7C C3 32 14 */ add r6, r3, r6 -/* 80309C1C 00306B7C 54 C6 00 3C */ rlwinm r6, r6, 0, 0, 0x1e -/* 80309C20 00306B80 7C 06 48 00 */ cmpw r6, r9 -/* 80309C24 00306B84 90 C1 00 20 */ stw r6, 0x20(r1) -/* 80309C28 00306B88 41 81 00 10 */ bgt lbl_80309C38 -/* 80309C2C 00306B8C 38 00 00 00 */ li r0, 0 -/* 80309C30 00306B90 98 1E 00 00 */ stb r0, 0(r30) -/* 80309C34 00306B94 48 00 01 AC */ b lbl_80309DE0 -lbl_80309C38: -/* 80309C38 00306B98 7C 07 48 00 */ cmpw r7, r9 -/* 80309C3C 00306B9C 40 80 00 08 */ bge lbl_80309C44 -/* 80309C40 00306BA0 48 00 00 08 */ b lbl_80309C48 -lbl_80309C44: -/* 80309C44 00306BA4 39 41 00 24 */ addi r10, r1, 0x24 -lbl_80309C48: -/* 80309C48 00306BA8 80 EA 00 00 */ lwz r7, 0(r10) -/* 80309C4C 00306BAC 7C 08 30 00 */ cmpw r8, r6 -/* 80309C50 00306BB0 38 C1 00 20 */ addi r6, r1, 0x20 -/* 80309C54 00306BB4 54 E7 00 3C */ rlwinm r7, r7, 0, 0, 0x1e -/* 80309C58 00306BB8 91 01 00 08 */ stw r8, 8(r1) -/* 80309C5C 00306BBC 90 E1 00 24 */ stw r7, 0x24(r1) -/* 80309C60 00306BC0 40 80 00 08 */ bge lbl_80309C68 -/* 80309C64 00306BC4 38 C1 00 08 */ addi r6, r1, 8 -lbl_80309C68: -/* 80309C68 00306BC8 80 C6 00 00 */ lwz r6, 0(r6) -/* 80309C6C 00306BCC 3C E0 43 30 */ lis r7, 0x4330 -/* 80309C70 00306BD0 81 21 00 24 */ lwz r9, 0x24(r1) -/* 80309C74 00306BD4 2C 1F 00 03 */ cmpwi r31, 3 -/* 80309C78 00306BD8 38 C6 00 01 */ addi r6, r6, 1 -/* 80309C7C 00306BDC 90 E1 00 40 */ stw r7, 0x40(r1) -/* 80309C80 00306BE0 7D 49 18 50 */ subf r10, r9, r3 -/* 80309C84 00306BE4 C8 42 C7 E8 */ lfd f2, lbl_805AE508@sda21(r2) -/* 80309C88 00306BE8 54 C8 00 3C */ rlwinm r8, r6, 0, 0, 0x1e -/* 80309C8C 00306BEC 90 E1 00 48 */ stw r7, 0x48(r1) -/* 80309C90 00306BF0 38 6A 00 01 */ addi r3, r10, 1 -/* 80309C94 00306BF4 6D 46 80 00 */ xoris r6, r10, 0x8000 -/* 80309C98 00306BF8 7D 49 40 50 */ subf r10, r9, r8 -/* 80309C9C 00306BFC 90 C1 00 4C */ stw r6, 0x4c(r1) -/* 80309CA0 00306C00 6D 46 80 00 */ xoris r6, r10, 0x8000 -/* 80309CA4 00306C04 7C 65 1A 14 */ add r3, r5, r3 -/* 80309CA8 00306C08 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 80309CAC 00306C0C 90 C1 00 44 */ stw r6, 0x44(r1) -/* 80309CB0 00306C10 C8 01 00 48 */ lfd f0, 0x48(r1) -/* 80309CB4 00306C14 3B 80 00 04 */ li r28, 4 -/* 80309CB8 00306C18 C8 21 00 40 */ lfd f1, 0x40(r1) -/* 80309CBC 00306C1C 90 61 00 54 */ stw r3, 0x54(r1) -/* 80309CC0 00306C20 EC 60 10 28 */ fsubs f3, f0, f2 -/* 80309CC4 00306C24 EC 01 10 28 */ fsubs f0, f1, f2 -/* 80309CC8 00306C28 90 E1 00 50 */ stw r7, 0x50(r1) -/* 80309CCC 00306C2C C8 21 00 50 */ lfd f1, 0x50(r1) -/* 80309CD0 00306C30 EC 83 00 24 */ fdivs f4, f3, f0 -/* 80309CD4 00306C34 90 C1 00 5C */ stw r6, 0x5c(r1) -/* 80309CD8 00306C38 90 E1 00 58 */ stw r7, 0x58(r1) -/* 80309CDC 00306C3C C8 01 00 58 */ lfd f0, 0x58(r1) -/* 80309CE0 00306C40 91 01 00 20 */ stw r8, 0x20(r1) -/* 80309CE4 00306C44 EC 21 10 28 */ fsubs f1, f1, f2 -/* 80309CE8 00306C48 EC 00 10 28 */ fsubs f0, f0, f2 -/* 80309CEC 00306C4C EC A1 00 24 */ fdivs f5, f1, f0 -/* 80309CF0 00306C50 41 82 00 34 */ beq lbl_80309D24 -/* 80309CF4 00306C54 40 80 00 10 */ bge lbl_80309D04 -/* 80309CF8 00306C58 2C 1F 00 01 */ cmpwi r31, 1 -/* 80309CFC 00306C5C 41 82 00 20 */ beq lbl_80309D1C -/* 80309D00 00306C60 48 00 00 30 */ b lbl_80309D30 -lbl_80309D04: -/* 80309D04 00306C64 2C 1F 00 09 */ cmpwi r31, 9 -/* 80309D08 00306C68 41 82 00 24 */ beq lbl_80309D2C -/* 80309D0C 00306C6C 40 80 00 24 */ bge lbl_80309D30 -/* 80309D10 00306C70 2C 1F 00 07 */ cmpwi r31, 7 -/* 80309D14 00306C74 40 80 00 10 */ bge lbl_80309D24 -/* 80309D18 00306C78 48 00 00 18 */ b lbl_80309D30 -lbl_80309D1C: -/* 80309D1C 00306C7C 3B 80 00 08 */ li r28, 8 -/* 80309D20 00306C80 48 00 00 10 */ b lbl_80309D30 -lbl_80309D24: -/* 80309D24 00306C84 3B 80 00 04 */ li r28, 4 -/* 80309D28 00306C88 48 00 00 08 */ b lbl_80309D30 -lbl_80309D2C: -/* 80309D2C 00306C8C 3B 80 00 02 */ li r28, 2 -lbl_80309D30: -/* 80309D30 00306C90 81 01 00 2C */ lwz r8, 0x2c(r1) -/* 80309D34 00306C94 3C A0 43 30 */ lis r5, 0x4330 -/* 80309D38 00306C98 80 C1 00 28 */ lwz r6, 0x28(r1) -/* 80309D3C 00306C9C 38 60 00 01 */ li r3, 1 -/* 80309D40 00306CA0 7D 68 00 50 */ subf r11, r8, r0 -/* 80309D44 00306CA4 38 FC FF FF */ addi r7, r28, -1 -/* 80309D48 00306CA8 7D 88 30 50 */ subf r12, r8, r6 -/* 80309D4C 00306CAC 98 7E 00 00 */ stb r3, 0(r30) -/* 80309D50 00306CB0 38 0C FF FF */ addi r0, r12, -1 -/* 80309D54 00306CB4 6D 66 80 00 */ xoris r6, r11, 0x8000 -/* 80309D58 00306CB8 7C 7C 02 14 */ add r3, r28, r0 -/* 80309D5C 00306CBC 90 C1 00 5C */ stw r6, 0x5c(r1) -/* 80309D60 00306CC0 7C 67 38 78 */ andc r7, r3, r7 -/* 80309D64 00306CC4 38 0B 00 01 */ addi r0, r11, 1 -/* 80309D68 00306CC8 6C E3 80 00 */ xoris r3, r7, 0x8000 -/* 80309D6C 00306CCC 90 A1 00 58 */ stw r5, 0x58(r1) -/* 80309D70 00306CD0 7C 04 02 14 */ add r0, r4, r0 -/* 80309D74 00306CD4 C8 62 C7 E8 */ lfd f3, lbl_805AE508@sda21(r2) -/* 80309D78 00306CD8 C8 01 00 58 */ lfd f0, 0x58(r1) -/* 80309D7C 00306CDC 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 80309D80 00306CE0 90 61 00 54 */ stw r3, 0x54(r1) -/* 80309D84 00306CE4 EC 40 18 28 */ fsubs f2, f0, f3 -/* 80309D88 00306CE8 90 A1 00 50 */ stw r5, 0x50(r1) -/* 80309D8C 00306CEC C8 01 00 50 */ lfd f0, 0x50(r1) -/* 80309D90 00306CF0 90 01 00 4C */ stw r0, 0x4c(r1) -/* 80309D94 00306CF4 EC 20 18 28 */ fsubs f1, f0, f3 -/* 80309D98 00306CF8 90 A1 00 48 */ stw r5, 0x48(r1) -/* 80309D9C 00306CFC C8 01 00 48 */ lfd f0, 0x48(r1) -/* 80309DA0 00306D00 EC 42 08 24 */ fdivs f2, f2, f1 -/* 80309DA4 00306D04 90 61 00 44 */ stw r3, 0x44(r1) -/* 80309DA8 00306D08 90 A1 00 40 */ stw r5, 0x40(r1) -/* 80309DAC 00306D0C 91 1E 00 04 */ stw r8, 4(r30) -/* 80309DB0 00306D10 91 3E 00 08 */ stw r9, 8(r30) -/* 80309DB4 00306D14 91 9E 00 0C */ stw r12, 0xc(r30) -/* 80309DB8 00306D18 EC 20 18 28 */ fsubs f1, f0, f3 -/* 80309DBC 00306D1C C8 01 00 40 */ lfd f0, 0x40(r1) -/* 80309DC0 00306D20 91 5E 00 10 */ stw r10, 0x10(r30) -/* 80309DC4 00306D24 EC 00 18 28 */ fsubs f0, f0, f3 -/* 80309DC8 00306D28 90 FE 00 14 */ stw r7, 0x14(r30) -/* 80309DCC 00306D2C EC 01 00 24 */ fdivs f0, f1, f0 -/* 80309DD0 00306D30 D0 5E 00 18 */ stfs f2, 0x18(r30) -/* 80309DD4 00306D34 D0 1E 00 1C */ stfs f0, 0x1c(r30) -/* 80309DD8 00306D38 D0 9E 00 20 */ stfs f4, 0x20(r30) -/* 80309DDC 00306D3C D0 BE 00 24 */ stfs f5, 0x24(r30) -lbl_80309DE0: -/* 80309DE0 00306D40 80 01 00 74 */ lwz r0, 0x74(r1) -/* 80309DE4 00306D44 83 E1 00 6C */ lwz r31, 0x6c(r1) -/* 80309DE8 00306D48 83 C1 00 68 */ lwz r30, 0x68(r1) -/* 80309DEC 00306D4C 83 A1 00 64 */ lwz r29, 0x64(r1) -/* 80309DF0 00306D50 83 81 00 60 */ lwz r28, 0x60(r1) -/* 80309DF4 00306D54 7C 08 03 A6 */ mtlr r0 -/* 80309DF8 00306D58 38 21 00 70 */ addi r1, r1, 0x70 -/* 80309DFC 00306D5C 4E 80 00 20 */ blr - -.global SetProjectionState__9CGraphicsFRCQ29CGraphics16CProjectionState -SetProjectionState__9CGraphicsFRCQ29CGraphics16CProjectionState: -/* 80309E00 00306D60 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80309E04 00306D64 7C 08 02 A6 */ mflr r0 -/* 80309E08 00306D68 3C 80 80 5A */ lis r4, lbl_805A61B8@ha -/* 80309E0C 00306D6C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80309E10 00306D70 88 03 00 00 */ lbz r0, 0(r3) -/* 80309E14 00306D74 C0 A3 00 04 */ lfs f5, 4(r3) -/* 80309E18 00306D78 9C 04 61 B8 */ stbu r0, lbl_805A61B8@l(r4) -/* 80309E1C 00306D7C C0 83 00 08 */ lfs f4, 8(r3) -/* 80309E20 00306D80 C0 63 00 0C */ lfs f3, 0xc(r3) -/* 80309E24 00306D84 C0 43 00 10 */ lfs f2, 0x10(r3) -/* 80309E28 00306D88 C0 23 00 14 */ lfs f1, 0x14(r3) -/* 80309E2C 00306D8C C0 03 00 18 */ lfs f0, 0x18(r3) -/* 80309E30 00306D90 D0 A4 00 04 */ stfs f5, 4(r4) -/* 80309E34 00306D94 D0 84 00 08 */ stfs f4, 8(r4) -/* 80309E38 00306D98 D0 64 00 0C */ stfs f3, 0xc(r4) -/* 80309E3C 00306D9C D0 44 00 10 */ stfs f2, 0x10(r4) -/* 80309E40 00306DA0 D0 24 00 14 */ stfs f1, 0x14(r4) -/* 80309E44 00306DA4 D0 04 00 18 */ stfs f0, 0x18(r4) -/* 80309E48 00306DA8 48 00 00 21 */ bl FlushProjection__9CGraphicsFv -/* 80309E4C 00306DAC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80309E50 00306DB0 7C 08 03 A6 */ mtlr r0 -/* 80309E54 00306DB4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80309E58 00306DB8 4E 80 00 20 */ blr - -.global GetProjectionState__9CGraphicsFv -GetProjectionState__9CGraphicsFv: -/* 80309E5C 00306DBC 3C 60 80 5A */ lis r3, lbl_805A61B8@ha -/* 80309E60 00306DC0 38 63 61 B8 */ addi r3, r3, lbl_805A61B8@l -/* 80309E64 00306DC4 4E 80 00 20 */ blr - -.global FlushProjection__9CGraphicsFv -FlushProjection__9CGraphicsFv: -/* 80309E68 00306DC8 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 80309E6C 00306DCC 7C 08 02 A6 */ mflr r0 -/* 80309E70 00306DD0 3C 60 80 5A */ lis r3, lbl_805A61B8@ha -/* 80309E74 00306DD4 90 01 00 94 */ stw r0, 0x94(r1) -/* 80309E78 00306DD8 8C 03 61 B8 */ lbzu r0, lbl_805A61B8@l(r3) -/* 80309E7C 00306DDC 28 00 00 00 */ cmplwi r0, 0 -/* 80309E80 00306DE0 C0 83 00 08 */ lfs f4, 8(r3) -/* 80309E84 00306DE4 C0 63 00 04 */ lfs f3, 4(r3) -/* 80309E88 00306DE8 C0 23 00 0C */ lfs f1, 0xc(r3) -/* 80309E8C 00306DEC C0 43 00 10 */ lfs f2, 0x10(r3) -/* 80309E90 00306DF0 C0 A3 00 14 */ lfs f5, 0x14(r3) -/* 80309E94 00306DF4 C0 C3 00 18 */ lfs f6, 0x18(r3) -/* 80309E98 00306DF8 41 82 00 1C */ beq lbl_80309EB4 -/* 80309E9C 00306DFC 38 61 00 48 */ addi r3, r1, 0x48 -/* 80309EA0 00306E00 48 07 36 7D */ bl C_MTXFrustum -/* 80309EA4 00306E04 38 61 00 48 */ addi r3, r1, 0x48 -/* 80309EA8 00306E08 38 80 00 00 */ li r4, 0 -/* 80309EAC 00306E0C 48 07 23 99 */ bl GXSetProjection -/* 80309EB0 00306E10 48 00 00 18 */ b lbl_80309EC8 -lbl_80309EB4: -/* 80309EB4 00306E14 38 61 00 08 */ addi r3, r1, 8 -/* 80309EB8 00306E18 48 07 37 01 */ bl C_MTXOrtho -/* 80309EBC 00306E1C 38 61 00 08 */ addi r3, r1, 8 -/* 80309EC0 00306E20 38 80 00 01 */ li r4, 1 -/* 80309EC4 00306E24 48 07 23 81 */ bl GXSetProjection -lbl_80309EC8: -/* 80309EC8 00306E28 80 01 00 94 */ lwz r0, 0x94(r1) -/* 80309ECC 00306E2C 7C 08 03 A6 */ mtlr r0 -/* 80309ED0 00306E30 38 21 00 90 */ addi r1, r1, 0x90 -/* 80309ED4 00306E34 4E 80 00 20 */ blr - -.global SetExternalTimeProvider__9CGraphicsFP13CTimeProvider -SetExternalTimeProvider__9CGraphicsFP13CTimeProvider: -/* 80309ED8 00306E38 90 6D A8 44 */ stw r3, lbl_805A9404@sda21(r13) -/* 80309EDC 00306E3C 4E 80 00 20 */ blr - -.global GetSecondsMod900__9CGraphicsFv -GetSecondsMod900__9CGraphicsFv: -/* 80309EE0 00306E40 80 6D A8 44 */ lwz r3, lbl_805A9404@sda21(r13) -/* 80309EE4 00306E44 28 03 00 00 */ cmplwi r3, 0 -/* 80309EE8 00306E48 41 82 00 10 */ beq lbl_80309EF8 -/* 80309EEC 00306E4C 80 63 00 00 */ lwz r3, 0(r3) -/* 80309EF0 00306E50 C0 23 00 00 */ lfs f1, 0(r3) -/* 80309EF4 00306E54 4E 80 00 20 */ blr -lbl_80309EF8: -/* 80309EF8 00306E58 C0 2D A8 40 */ lfs f1, lbl_805A9400@sda21(r13) -/* 80309EFC 00306E5C 4E 80 00 20 */ blr - -.global TickRenderTimings__9CGraphicsFv -TickRenderTimings__9CGraphicsFv: -/* 80309F00 00306E60 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80309F04 00306E64 3C 80 36 B0 */ lis r4, 0x36B06E71@ha -/* 80309F08 00306E68 3C 00 43 30 */ lis r0, 0x4330 -/* 80309F0C 00306E6C 3C 60 00 01 */ lis r3, 0x0000D2F0@ha -/* 80309F10 00306E70 80 AD A8 3C */ lwz r5, lbl_805A93FC@sda21(r13) -/* 80309F14 00306E74 38 84 6E 71 */ addi r4, r4, 0x36B06E71@l -/* 80309F18 00306E78 90 01 00 08 */ stw r0, 8(r1) -/* 80309F1C 00306E7C 38 63 D2 F0 */ addi r3, r3, 0x0000D2F0@l -/* 80309F20 00306E80 38 A5 00 01 */ addi r5, r5, 1 -/* 80309F24 00306E84 C8 42 C7 F8 */ lfd f2, lbl_805AE518@sda21(r2) -/* 80309F28 00306E88 7C 84 28 16 */ mulhwu r4, r4, r5 -/* 80309F2C 00306E8C C0 02 C7 F4 */ lfs f0, lbl_805AE514@sda21(r2) -/* 80309F30 00306E90 7C 04 28 50 */ subf r0, r4, r5 -/* 80309F34 00306E94 54 00 F8 7E */ srwi r0, r0, 1 -/* 80309F38 00306E98 7C 00 22 14 */ add r0, r0, r4 -/* 80309F3C 00306E9C 54 00 8B FE */ srwi r0, r0, 0xf -/* 80309F40 00306EA0 7C 00 19 D6 */ mullw r0, r0, r3 -/* 80309F44 00306EA4 7C 00 28 50 */ subf r0, r0, r5 -/* 80309F48 00306EA8 90 01 00 0C */ stw r0, 0xc(r1) -/* 80309F4C 00306EAC C8 21 00 08 */ lfd f1, 8(r1) -/* 80309F50 00306EB0 90 0D A8 3C */ stw r0, lbl_805A93FC@sda21(r13) -/* 80309F54 00306EB4 EC 21 10 28 */ fsubs f1, f1, f2 -/* 80309F58 00306EB8 EC 01 00 24 */ fdivs f0, f1, f0 -/* 80309F5C 00306EBC D0 0D A8 40 */ stfs f0, lbl_805A9400@sda21(r13) -/* 80309F60 00306EC0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80309F64 00306EC4 4E 80 00 20 */ blr - -.global LoadDolphinSpareTexture__9CGraphicsFii11_GXCITexFmt7_GXTlutPv11_GXTexMapID -LoadDolphinSpareTexture__9CGraphicsFii11_GXCITexFmt7_GXTlutPv11_GXTexMapID: -/* 80309F68 00306EC8 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80309F6C 00306ECC 7C 08 02 A6 */ mflr r0 -/* 80309F70 00306ED0 7C 69 1B 78 */ mr r9, r3 -/* 80309F74 00306ED4 28 07 00 00 */ cmplwi r7, 0 -/* 80309F78 00306ED8 90 01 00 44 */ stw r0, 0x44(r1) -/* 80309F7C 00306EDC 7C 80 23 78 */ mr r0, r4 -/* 80309F80 00306EE0 38 61 00 10 */ addi r3, r1, 0x10 -/* 80309F84 00306EE4 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 80309F88 00306EE8 7D 1F 43 78 */ mr r31, r8 -/* 80309F8C 00306EEC 90 C1 00 08 */ stw r6, 8(r1) -/* 80309F90 00306EF0 41 82 00 0C */ beq lbl_80309F9C -/* 80309F94 00306EF4 7C E4 3B 78 */ mr r4, r7 -/* 80309F98 00306EF8 48 00 00 08 */ b lbl_80309FA0 -lbl_80309F9C: -/* 80309F9C 00306EFC 80 8D A8 28 */ lwz r4, lbl_805A93E8@sda21(r13) -lbl_80309FA0: -/* 80309FA0 00306F00 7C A7 2B 78 */ mr r7, r5 -/* 80309FA4 00306F04 55 25 04 3E */ clrlwi r5, r9, 0x10 -/* 80309FA8 00306F08 54 06 04 3E */ clrlwi r6, r0, 0x10 -/* 80309FAC 00306F0C 39 00 00 00 */ li r8, 0 -/* 80309FB0 00306F10 39 20 00 00 */ li r9, 0 -/* 80309FB4 00306F14 39 40 00 00 */ li r10, 0 -/* 80309FB8 00306F18 48 07 01 21 */ bl GXInitTexObjCI -/* 80309FBC 00306F1C C0 22 C7 F0 */ lfs f1, lbl_805AE510@sda21(r2) -/* 80309FC0 00306F20 38 61 00 10 */ addi r3, r1, 0x10 -/* 80309FC4 00306F24 38 80 00 00 */ li r4, 0 -/* 80309FC8 00306F28 38 A0 00 00 */ li r5, 0 -/* 80309FCC 00306F2C FC 40 08 90 */ fmr f2, f1 -/* 80309FD0 00306F30 38 C0 00 00 */ li r6, 0 -/* 80309FD4 00306F34 FC 60 08 90 */ fmr f3, f1 -/* 80309FD8 00306F38 38 E0 00 00 */ li r7, 0 -/* 80309FDC 00306F3C 39 00 00 00 */ li r8, 0 -/* 80309FE0 00306F40 48 07 01 41 */ bl GXInitTexObjLOD -/* 80309FE4 00306F44 7F E4 FB 78 */ mr r4, r31 -/* 80309FE8 00306F48 38 61 00 10 */ addi r3, r1, 0x10 -/* 80309FEC 00306F4C 48 07 04 A9 */ bl GXLoadTexObj -/* 80309FF0 00306F50 7F E3 FB 78 */ mr r3, r31 -/* 80309FF4 00306F54 48 00 41 55 */ bl InvalidateTexmap__8CTextureF11_GXTexMapID -/* 80309FF8 00306F58 2C 1F 00 07 */ cmpwi r31, 7 -/* 80309FFC 00306F5C 40 82 00 10 */ bne lbl_8030A00C -/* 8030A000 00306F60 3C 60 80 5A */ lis r3, lbl_805A6440@ha -/* 8030A004 00306F64 38 63 64 40 */ addi r3, r3, lbl_805A6440@l -/* 8030A008 00306F68 48 07 07 2D */ bl GXInvalidateTexRegion -lbl_8030A00C: -/* 8030A00C 00306F6C 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8030A010 00306F70 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 8030A014 00306F74 7C 08 03 A6 */ mtlr r0 -/* 8030A018 00306F78 38 21 00 40 */ addi r1, r1, 0x40 -/* 8030A01C 00306F7C 4E 80 00 20 */ blr - -.global LoadDolphinSpareTexture__9CGraphicsFii9_GXTexFmtPv11_GXTexMapID -LoadDolphinSpareTexture__9CGraphicsFii9_GXTexFmtPv11_GXTexMapID: -/* 8030A020 00306F80 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8030A024 00306F84 7C 08 02 A6 */ mflr r0 -/* 8030A028 00306F88 7C 68 1B 78 */ mr r8, r3 -/* 8030A02C 00306F8C 28 06 00 00 */ cmplwi r6, 0 -/* 8030A030 00306F90 90 01 00 34 */ stw r0, 0x34(r1) -/* 8030A034 00306F94 7C 80 23 78 */ mr r0, r4 -/* 8030A038 00306F98 38 61 00 08 */ addi r3, r1, 8 -/* 8030A03C 00306F9C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8030A040 00306FA0 7C FF 3B 78 */ mr r31, r7 -/* 8030A044 00306FA4 41 82 00 0C */ beq lbl_8030A050 -/* 8030A048 00306FA8 7C C4 33 78 */ mr r4, r6 -/* 8030A04C 00306FAC 48 00 00 08 */ b lbl_8030A054 -lbl_8030A050: -/* 8030A050 00306FB0 80 8D A8 28 */ lwz r4, lbl_805A93E8@sda21(r13) -lbl_8030A054: -/* 8030A054 00306FB4 7C A7 2B 78 */ mr r7, r5 -/* 8030A058 00306FB8 55 05 04 3E */ clrlwi r5, r8, 0x10 -/* 8030A05C 00306FBC 54 06 04 3E */ clrlwi r6, r0, 0x10 -/* 8030A060 00306FC0 39 00 00 00 */ li r8, 0 -/* 8030A064 00306FC4 39 20 00 00 */ li r9, 0 -/* 8030A068 00306FC8 39 40 00 00 */ li r10, 0 -/* 8030A06C 00306FCC 48 06 FD F9 */ bl GXInitTexObj -/* 8030A070 00306FD0 C0 22 C7 F0 */ lfs f1, lbl_805AE510@sda21(r2) -/* 8030A074 00306FD4 38 61 00 08 */ addi r3, r1, 8 -/* 8030A078 00306FD8 38 80 00 00 */ li r4, 0 -/* 8030A07C 00306FDC 38 A0 00 00 */ li r5, 0 -/* 8030A080 00306FE0 FC 40 08 90 */ fmr f2, f1 -/* 8030A084 00306FE4 38 C0 00 00 */ li r6, 0 -/* 8030A088 00306FE8 FC 60 08 90 */ fmr f3, f1 -/* 8030A08C 00306FEC 38 E0 00 00 */ li r7, 0 -/* 8030A090 00306FF0 39 00 00 00 */ li r8, 0 -/* 8030A094 00306FF4 48 07 00 8D */ bl GXInitTexObjLOD -/* 8030A098 00306FF8 7F E4 FB 78 */ mr r4, r31 -/* 8030A09C 00306FFC 38 61 00 08 */ addi r3, r1, 8 -/* 8030A0A0 00307000 48 07 03 F5 */ bl GXLoadTexObj -/* 8030A0A4 00307004 7F E3 FB 78 */ mr r3, r31 -/* 8030A0A8 00307008 48 00 40 A1 */ bl InvalidateTexmap__8CTextureF11_GXTexMapID -/* 8030A0AC 0030700C 2C 1F 00 07 */ cmpwi r31, 7 -/* 8030A0B0 00307010 40 82 00 10 */ bne lbl_8030A0C0 -/* 8030A0B4 00307014 3C 60 80 5A */ lis r3, lbl_805A6440@ha -/* 8030A0B8 00307018 38 63 64 40 */ addi r3, r3, lbl_805A6440@l -/* 8030A0BC 0030701C 48 07 06 79 */ bl GXInvalidateTexRegion -lbl_8030A0C0: -/* 8030A0C0 00307020 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8030A0C4 00307024 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8030A0C8 00307028 7C 08 03 A6 */ mtlr r0 -/* 8030A0CC 0030702C 38 21 00 30 */ addi r1, r1, 0x30 -/* 8030A0D0 00307030 4E 80 00 20 */ blr - -.global SetDefaultVtxAttrFmt__9CGraphicsFv -SetDefaultVtxAttrFmt__9CGraphicsFv: -/* 8030A0D4 00307034 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8030A0D8 00307038 7C 08 02 A6 */ mflr r0 -/* 8030A0DC 0030703C 38 60 00 00 */ li r3, 0 -/* 8030A0E0 00307040 38 80 00 09 */ li r4, 9 -/* 8030A0E4 00307044 90 01 00 14 */ stw r0, 0x14(r1) -/* 8030A0E8 00307048 38 A0 00 01 */ li r5, 1 -/* 8030A0EC 0030704C 38 C0 00 04 */ li r6, 4 -/* 8030A0F0 00307050 38 E0 00 00 */ li r7, 0 -/* 8030A0F4 00307054 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8030A0F8 00307058 93 C1 00 08 */ stw r30, 8(r1) -/* 8030A0FC 0030705C 48 06 D6 91 */ bl GXSetVtxAttrFmt -/* 8030A100 00307060 38 60 00 01 */ li r3, 1 -/* 8030A104 00307064 38 80 00 09 */ li r4, 9 -/* 8030A108 00307068 38 A0 00 01 */ li r5, 1 -/* 8030A10C 0030706C 38 C0 00 04 */ li r6, 4 -/* 8030A110 00307070 38 E0 00 00 */ li r7, 0 -/* 8030A114 00307074 48 06 D6 79 */ bl GXSetVtxAttrFmt -/* 8030A118 00307078 38 60 00 02 */ li r3, 2 -/* 8030A11C 0030707C 38 80 00 09 */ li r4, 9 -/* 8030A120 00307080 38 A0 00 01 */ li r5, 1 -/* 8030A124 00307084 38 C0 00 04 */ li r6, 4 -/* 8030A128 00307088 38 E0 00 00 */ li r7, 0 -/* 8030A12C 0030708C 48 06 D6 61 */ bl GXSetVtxAttrFmt -/* 8030A130 00307090 38 60 00 00 */ li r3, 0 -/* 8030A134 00307094 38 80 00 0A */ li r4, 0xa -/* 8030A138 00307098 38 A0 00 00 */ li r5, 0 -/* 8030A13C 0030709C 38 C0 00 04 */ li r6, 4 -/* 8030A140 003070A0 38 E0 00 00 */ li r7, 0 -/* 8030A144 003070A4 48 06 D6 49 */ bl GXSetVtxAttrFmt -/* 8030A148 003070A8 38 60 00 01 */ li r3, 1 -/* 8030A14C 003070AC 38 80 00 0A */ li r4, 0xa -/* 8030A150 003070B0 38 A0 00 00 */ li r5, 0 -/* 8030A154 003070B4 38 C0 00 03 */ li r6, 3 -/* 8030A158 003070B8 38 E0 00 0E */ li r7, 0xe -/* 8030A15C 003070BC 48 06 D6 31 */ bl GXSetVtxAttrFmt -/* 8030A160 003070C0 38 60 00 02 */ li r3, 2 -/* 8030A164 003070C4 38 80 00 0A */ li r4, 0xa -/* 8030A168 003070C8 38 A0 00 00 */ li r5, 0 -/* 8030A16C 003070CC 38 C0 00 03 */ li r6, 3 -/* 8030A170 003070D0 38 E0 00 0E */ li r7, 0xe -/* 8030A174 003070D4 48 06 D6 19 */ bl GXSetVtxAttrFmt -/* 8030A178 003070D8 38 60 00 00 */ li r3, 0 -/* 8030A17C 003070DC 38 80 00 0B */ li r4, 0xb -/* 8030A180 003070E0 38 A0 00 01 */ li r5, 1 -/* 8030A184 003070E4 38 C0 00 05 */ li r6, 5 -/* 8030A188 003070E8 38 E0 00 00 */ li r7, 0 -/* 8030A18C 003070EC 48 06 D6 01 */ bl GXSetVtxAttrFmt -/* 8030A190 003070F0 38 60 00 01 */ li r3, 1 -/* 8030A194 003070F4 38 80 00 0B */ li r4, 0xb -/* 8030A198 003070F8 38 A0 00 01 */ li r5, 1 -/* 8030A19C 003070FC 38 C0 00 05 */ li r6, 5 -/* 8030A1A0 00307100 38 E0 00 00 */ li r7, 0 -/* 8030A1A4 00307104 48 06 D5 E9 */ bl GXSetVtxAttrFmt -/* 8030A1A8 00307108 38 60 00 02 */ li r3, 2 -/* 8030A1AC 0030710C 38 80 00 0B */ li r4, 0xb -/* 8030A1B0 00307110 38 A0 00 01 */ li r5, 1 -/* 8030A1B4 00307114 38 C0 00 05 */ li r6, 5 -/* 8030A1B8 00307118 38 E0 00 00 */ li r7, 0 -/* 8030A1BC 0030711C 48 06 D5 D1 */ bl GXSetVtxAttrFmt -/* 8030A1C0 00307120 38 60 00 00 */ li r3, 0 -/* 8030A1C4 00307124 38 80 00 0D */ li r4, 0xd -/* 8030A1C8 00307128 38 A0 00 01 */ li r5, 1 -/* 8030A1CC 0030712C 38 C0 00 04 */ li r6, 4 -/* 8030A1D0 00307130 38 E0 00 00 */ li r7, 0 -/* 8030A1D4 00307134 48 06 D5 B9 */ bl GXSetVtxAttrFmt -/* 8030A1D8 00307138 38 60 00 01 */ li r3, 1 -/* 8030A1DC 0030713C 38 80 00 0D */ li r4, 0xd -/* 8030A1E0 00307140 38 A0 00 01 */ li r5, 1 -/* 8030A1E4 00307144 38 C0 00 04 */ li r6, 4 -/* 8030A1E8 00307148 38 E0 00 00 */ li r7, 0 -/* 8030A1EC 0030714C 48 06 D5 A1 */ bl GXSetVtxAttrFmt -/* 8030A1F0 00307150 38 60 00 02 */ li r3, 2 -/* 8030A1F4 00307154 38 80 00 0D */ li r4, 0xd -/* 8030A1F8 00307158 38 A0 00 01 */ li r5, 1 -/* 8030A1FC 0030715C 38 C0 00 02 */ li r6, 2 -/* 8030A200 00307160 38 E0 00 0F */ li r7, 0xf -/* 8030A204 00307164 48 06 D5 89 */ bl GXSetVtxAttrFmt -/* 8030A208 00307168 3B E0 00 01 */ li r31, 1 -lbl_8030A20C: -/* 8030A20C 0030716C 3B DF 00 0D */ addi r30, r31, 0xd -/* 8030A210 00307170 38 60 00 00 */ li r3, 0 -/* 8030A214 00307174 7F C4 F3 78 */ mr r4, r30 -/* 8030A218 00307178 38 A0 00 01 */ li r5, 1 -/* 8030A21C 0030717C 38 C0 00 04 */ li r6, 4 -/* 8030A220 00307180 38 E0 00 00 */ li r7, 0 -/* 8030A224 00307184 48 06 D5 69 */ bl GXSetVtxAttrFmt -/* 8030A228 00307188 7F C4 F3 78 */ mr r4, r30 -/* 8030A22C 0030718C 38 60 00 01 */ li r3, 1 -/* 8030A230 00307190 38 A0 00 01 */ li r5, 1 -/* 8030A234 00307194 38 C0 00 04 */ li r6, 4 -/* 8030A238 00307198 38 E0 00 00 */ li r7, 0 -/* 8030A23C 0030719C 48 06 D5 51 */ bl GXSetVtxAttrFmt -/* 8030A240 003071A0 7F C4 F3 78 */ mr r4, r30 -/* 8030A244 003071A4 38 60 00 02 */ li r3, 2 -/* 8030A248 003071A8 38 A0 00 01 */ li r5, 1 -/* 8030A24C 003071AC 38 C0 00 04 */ li r6, 4 -/* 8030A250 003071B0 38 E0 00 00 */ li r7, 0 -/* 8030A254 003071B4 48 06 D5 39 */ bl GXSetVtxAttrFmt -/* 8030A258 003071B8 3B FF 00 01 */ addi r31, r31, 1 -/* 8030A25C 003071BC 2C 1F 00 07 */ cmpwi r31, 7 -/* 8030A260 003071C0 40 81 FF AC */ ble lbl_8030A20C -/* 8030A264 003071C4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8030A268 003071C8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8030A26C 003071CC 83 C1 00 08 */ lwz r30, 8(r1) -/* 8030A270 003071D0 7C 08 03 A6 */ mtlr r0 -/* 8030A274 003071D4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8030A278 003071D8 4E 80 00 20 */ blr - -.global ResetGfxStates__9CGraphicsFv -ResetGfxStates__9CGraphicsFv: -/* 8030A27C 003071DC 38 00 00 00 */ li r0, 0 -/* 8030A280 003071E0 90 0D A7 B8 */ stw r0, lbl_805A9378@sda21(r13) -/* 8030A284 003071E4 4E 80 00 20 */ blr - -.global SetFog__9CGraphicsF11ERglFogModeffRC6CColor -SetFog__9CGraphicsF11ERglFogModeffRC6CColor: -/* 8030A288 003071E8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8030A28C 003071EC 7C 08 02 A6 */ mflr r0 -/* 8030A290 003071F0 3C A0 80 5A */ lis r5, lbl_805A61B8@ha -/* 8030A294 003071F4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8030A298 003071F8 38 A5 61 B8 */ addi r5, r5, lbl_805A61B8@l -/* 8030A29C 003071FC C0 65 00 14 */ lfs f3, 0x14(r5) -/* 8030A2A0 00307200 C0 85 00 18 */ lfs f4, 0x18(r5) -/* 8030A2A4 00307204 4B FF E2 59 */ bl SetFog__3CGXF10_GXFogTypeffffRC8_GXColor -/* 8030A2A8 00307208 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8030A2AC 0030720C 7C 08 03 A6 */ mtlr r0 -/* 8030A2B0 00307210 38 21 00 10 */ addi r1, r1, 0x10 -/* 8030A2B4 00307214 4E 80 00 20 */ blr - -.global SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass -SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass: -/* 8030A2B8 00307218 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8030A2BC 0030721C 7C 08 02 A6 */ mflr r0 -/* 8030A2C0 00307220 2C 03 00 00 */ cmpwi r3, 0 -/* 8030A2C4 00307224 90 01 00 14 */ stw r0, 0x14(r1) -/* 8030A2C8 00307228 40 82 00 0C */ bne lbl_8030A2D4 -/* 8030A2CC 0030722C 38 60 00 00 */ li r3, 0 -/* 8030A2D0 00307230 48 00 00 FC */ b lbl_8030A3CC -lbl_8030A2D4: -/* 8030A2D4 00307234 2C 03 00 01 */ cmpwi r3, 1 -/* 8030A2D8 00307238 40 82 00 0C */ bne lbl_8030A2E4 -/* 8030A2DC 0030723C 38 60 00 01 */ li r3, 1 -/* 8030A2E0 00307240 48 00 00 EC */ b lbl_8030A3CC -lbl_8030A2E4: -/* 8030A2E4 00307244 2C 03 00 02 */ cmpwi r3, 2 -/* 8030A2E8 00307248 40 82 00 0C */ bne lbl_8030A2F4 -/* 8030A2EC 0030724C 38 60 00 02 */ li r3, 2 -/* 8030A2F0 00307250 48 00 00 DC */ b lbl_8030A3CC -lbl_8030A2F4: -/* 8030A2F4 00307254 2C 03 00 03 */ cmpwi r3, 3 -/* 8030A2F8 00307258 40 82 00 0C */ bne lbl_8030A304 -/* 8030A2FC 0030725C 38 60 00 03 */ li r3, 3 -/* 8030A300 00307260 48 00 00 CC */ b lbl_8030A3CC -lbl_8030A304: -/* 8030A304 00307264 2C 03 00 04 */ cmpwi r3, 4 -/* 8030A308 00307268 40 82 00 0C */ bne lbl_8030A314 -/* 8030A30C 0030726C 38 60 00 04 */ li r3, 4 -/* 8030A310 00307270 48 00 00 BC */ b lbl_8030A3CC -lbl_8030A314: -/* 8030A314 00307274 2C 03 00 05 */ cmpwi r3, 5 -/* 8030A318 00307278 40 82 00 0C */ bne lbl_8030A324 -/* 8030A31C 0030727C 38 60 00 05 */ li r3, 5 -/* 8030A320 00307280 48 00 00 AC */ b lbl_8030A3CC -lbl_8030A324: -/* 8030A324 00307284 2C 03 00 06 */ cmpwi r3, 6 -/* 8030A328 00307288 40 82 00 0C */ bne lbl_8030A334 -/* 8030A32C 0030728C 38 60 00 06 */ li r3, 6 -/* 8030A330 00307290 48 00 00 9C */ b lbl_8030A3CC -lbl_8030A334: -/* 8030A334 00307294 2C 03 00 07 */ cmpwi r3, 7 -/* 8030A338 00307298 40 82 00 0C */ bne lbl_8030A344 -/* 8030A33C 0030729C 38 60 00 07 */ li r3, 7 -/* 8030A340 003072A0 48 00 00 8C */ b lbl_8030A3CC -lbl_8030A344: -/* 8030A344 003072A4 2C 03 00 08 */ cmpwi r3, 8 -/* 8030A348 003072A8 40 82 00 0C */ bne lbl_8030A354 -/* 8030A34C 003072AC 38 60 00 08 */ li r3, 8 -/* 8030A350 003072B0 48 00 00 7C */ b lbl_8030A3CC -lbl_8030A354: -/* 8030A354 003072B4 2C 03 00 09 */ cmpwi r3, 9 -/* 8030A358 003072B8 40 82 00 0C */ bne lbl_8030A364 -/* 8030A35C 003072BC 38 60 00 09 */ li r3, 9 -/* 8030A360 003072C0 48 00 00 6C */ b lbl_8030A3CC -lbl_8030A364: -/* 8030A364 003072C4 2C 03 00 0A */ cmpwi r3, 0xa -/* 8030A368 003072C8 40 82 00 0C */ bne lbl_8030A374 -/* 8030A36C 003072CC 38 60 00 0A */ li r3, 0xa -/* 8030A370 003072D0 48 00 00 5C */ b lbl_8030A3CC -lbl_8030A374: -/* 8030A374 003072D4 2C 03 00 0B */ cmpwi r3, 0xb -/* 8030A378 003072D8 40 82 00 0C */ bne lbl_8030A384 -/* 8030A37C 003072DC 38 60 00 0B */ li r3, 0xb -/* 8030A380 003072E0 48 00 00 4C */ b lbl_8030A3CC -lbl_8030A384: -/* 8030A384 003072E4 2C 03 00 0C */ cmpwi r3, 0xc -/* 8030A388 003072E8 40 82 00 0C */ bne lbl_8030A394 -/* 8030A38C 003072EC 38 60 00 0C */ li r3, 0xc -/* 8030A390 003072F0 48 00 00 3C */ b lbl_8030A3CC -lbl_8030A394: -/* 8030A394 003072F4 2C 03 00 0D */ cmpwi r3, 0xd -/* 8030A398 003072F8 40 82 00 0C */ bne lbl_8030A3A4 -/* 8030A39C 003072FC 38 60 00 0D */ li r3, 0xd -/* 8030A3A0 00307300 48 00 00 2C */ b lbl_8030A3CC -lbl_8030A3A4: -/* 8030A3A4 00307304 2C 03 00 0E */ cmpwi r3, 0xe -/* 8030A3A8 00307308 40 82 00 0C */ bne lbl_8030A3B4 -/* 8030A3AC 0030730C 38 60 00 0E */ li r3, 0xe -/* 8030A3B0 00307310 48 00 00 1C */ b lbl_8030A3CC -lbl_8030A3B4: -/* 8030A3B4 00307314 38 A3 FF F1 */ addi r5, r3, -15 -/* 8030A3B8 00307318 20 03 00 0F */ subfic r0, r3, 0xf -/* 8030A3BC 0030731C 7C A3 00 F8 */ nor r3, r5, r0 -/* 8030A3C0 00307320 38 00 00 0F */ li r0, 0xf -/* 8030A3C4 00307324 7C 63 FE 70 */ srawi r3, r3, 0x1f -/* 8030A3C8 00307328 7C 03 18 38 */ and r3, r0, r3 -lbl_8030A3CC: -/* 8030A3CC 0030732C 4B FF EC 0D */ bl SetupPass__13CTevCombinersFiRCQ213CTevCombiners8CTevPass -/* 8030A3D0 00307330 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8030A3D4 00307334 7C 08 03 A6 */ mtlr r0 -/* 8030A3D8 00307338 38 21 00 10 */ addi r1, r1, 0x10 -/* 8030A3DC 0030733C 4E 80 00 20 */ blr - -.global SetDepthRange__9CGraphicsFff -SetDepthRange__9CGraphicsFff: -/* 8030A3E0 00307340 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8030A3E4 00307344 7C 08 02 A6 */ mflr r0 -/* 8030A3E8 00307348 3C A0 43 30 */ lis r5, 0x4330 -/* 8030A3EC 0030734C 3C 60 80 3F */ lis r3, lbl_803ED910@ha -/* 8030A3F0 00307350 90 01 00 34 */ stw r0, 0x34(r1) -/* 8030A3F4 00307354 38 E3 D9 10 */ addi r7, r3, lbl_803ED910@l -/* 8030A3F8 00307358 FC A0 08 90 */ fmr f5, f1 -/* 8030A3FC 0030735C C8 82 C7 E8 */ lfd f4, lbl_805AE508@sda21(r2) -/* 8030A400 00307360 80 07 00 00 */ lwz r0, 0(r7) -/* 8030A404 00307364 FC C0 10 90 */ fmr f6, f2 -/* 8030A408 00307368 80 87 00 04 */ lwz r4, 4(r7) -/* 8030A40C 0030736C 6C 06 80 00 */ xoris r6, r0, 0x8000 -/* 8030A410 00307370 90 C1 00 0C */ stw r6, 0xc(r1) -/* 8030A414 00307374 6C 84 80 00 */ xoris r4, r4, 0x8000 -/* 8030A418 00307378 80 67 00 08 */ lwz r3, 8(r7) -/* 8030A41C 0030737C 90 A1 00 08 */ stw r5, 8(r1) -/* 8030A420 00307380 80 07 00 0C */ lwz r0, 0xc(r7) -/* 8030A424 00307384 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 8030A428 00307388 C8 01 00 08 */ lfd f0, 8(r1) -/* 8030A42C 0030738C 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 8030A430 00307390 90 81 00 14 */ stw r4, 0x14(r1) -/* 8030A434 00307394 EC 20 20 28 */ fsubs f1, f0, f4 -/* 8030A438 00307398 90 A1 00 10 */ stw r5, 0x10(r1) -/* 8030A43C 0030739C C8 01 00 10 */ lfd f0, 0x10(r1) -/* 8030A440 003073A0 90 61 00 1C */ stw r3, 0x1c(r1) -/* 8030A444 003073A4 EC 40 20 28 */ fsubs f2, f0, f4 -/* 8030A448 003073A8 90 A1 00 18 */ stw r5, 0x18(r1) -/* 8030A44C 003073AC C8 01 00 18 */ lfd f0, 0x18(r1) -/* 8030A450 003073B0 90 01 00 24 */ stw r0, 0x24(r1) -/* 8030A454 003073B4 EC 60 20 28 */ fsubs f3, f0, f4 -/* 8030A458 003073B8 90 A1 00 20 */ stw r5, 0x20(r1) -/* 8030A45C 003073BC C8 01 00 20 */ lfd f0, 0x20(r1) -/* 8030A460 003073C0 D0 AD A7 E0 */ stfs f5, lbl_805A93A0@sda21(r13) -/* 8030A464 003073C4 EC 80 20 28 */ fsubs f4, f0, f4 -/* 8030A468 003073C8 D0 CD 9C 78 */ stfs f6, lbl_805A8838@sda21(r13) -/* 8030A46C 003073CC 48 07 21 DD */ bl GXSetViewport -/* 8030A470 003073D0 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8030A474 003073D4 7C 08 03 A6 */ mtlr r0 -/* 8030A478 003073D8 38 21 00 30 */ addi r1, r1, 0x30 -/* 8030A47C 003073DC 4E 80 00 20 */ blr - -.global FullRender__9CGraphicsFv -FullRender__9CGraphicsFv: -/* 8030A480 003073E0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8030A484 003073E4 7C 08 02 A6 */ mflr r0 -/* 8030A488 003073E8 38 80 00 00 */ li r4, 0 -/* 8030A48C 003073EC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8030A490 003073F0 80 0D A7 FC */ lwz r0, lbl_805A93BC@sda21(r13) -/* 8030A494 003073F4 80 6D 9C 74 */ lwz r3, lbl_805A8834@sda21(r13) -/* 8030A498 003073F8 54 05 04 3E */ clrlwi r5, r0, 0x10 -/* 8030A49C 003073FC 4B FF E0 E9 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs -/* 8030A4A0 00307400 3C 60 80 5A */ lis r3, lbl_805A6170@ha -/* 8030A4A4 00307404 38 63 61 70 */ addi r3, r3, lbl_805A6170@l -/* 8030A4A8 00307408 88 03 00 2E */ lbz r0, 0x2e(r3) -/* 8030A4AC 0030740C 28 00 00 07 */ cmplwi r0, 7 -/* 8030A4B0 00307410 41 81 0A 0C */ bgt lbl_8030AEBC -/* 8030A4B4 00307414 3C 60 80 3F */ lis r3, lbl_803ED948@ha -/* 8030A4B8 00307418 54 00 10 3A */ slwi r0, r0, 2 -/* 8030A4BC 0030741C 38 63 D9 48 */ addi r3, r3, lbl_803ED948@l -/* 8030A4C0 00307420 7C 03 00 2E */ lwzx r0, r3, r0 -/* 8030A4C4 00307424 7C 09 03 A6 */ mtctr r0 -/* 8030A4C8 00307428 4E 80 04 20 */ bctr -/* 8030A4CC 0030742C 80 CD A7 FC */ lwz r6, lbl_805A93BC@sda21(r13) -/* 8030A4D0 00307430 38 E0 00 00 */ li r7, 0 -/* 8030A4D4 00307434 2C 06 00 00 */ cmpwi r6, 0 -/* 8030A4D8 00307438 40 81 09 E4 */ ble lbl_8030AEBC -/* 8030A4DC 0030743C 2C 06 00 08 */ cmpwi r6, 8 -/* 8030A4E0 00307440 38 86 FF F8 */ addi r4, r6, -8 -/* 8030A4E4 00307444 40 81 00 EC */ ble lbl_8030A5D0 -/* 8030A4E8 00307448 38 04 00 07 */ addi r0, r4, 7 -/* 8030A4EC 0030744C 80 AD A7 C0 */ lwz r5, lbl_805A9380@sda21(r13) -/* 8030A4F0 00307450 54 00 E8 FE */ srwi r0, r0, 3 -/* 8030A4F4 00307454 3C 60 CC 01 */ lis r3, 0xcc01 -/* 8030A4F8 00307458 7C 09 03 A6 */ mtctr r0 -/* 8030A4FC 0030745C 2C 04 00 00 */ cmpwi r4, 0 -/* 8030A500 00307460 40 81 00 D0 */ ble lbl_8030A5D0 -lbl_8030A504: -/* 8030A504 00307464 C0 45 00 08 */ lfs f2, 8(r5) -/* 8030A508 00307468 38 E7 00 08 */ addi r7, r7, 8 -/* 8030A50C 0030746C C0 25 00 04 */ lfs f1, 4(r5) -/* 8030A510 00307470 C0 05 00 00 */ lfs f0, 0(r5) -/* 8030A514 00307474 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 8030A518 00307478 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 8030A51C 0030747C D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 8030A520 00307480 C0 25 00 14 */ lfs f1, 0x14(r5) -/* 8030A524 00307484 C0 45 00 10 */ lfs f2, 0x10(r5) -/* 8030A528 00307488 C0 05 00 0C */ lfs f0, 0xc(r5) -/* 8030A52C 0030748C D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 8030A530 00307490 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 8030A534 00307494 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 8030A538 00307498 C0 25 00 20 */ lfs f1, 0x20(r5) -/* 8030A53C 0030749C C0 45 00 1C */ lfs f2, 0x1c(r5) -/* 8030A540 003074A0 C0 05 00 18 */ lfs f0, 0x18(r5) -/* 8030A544 003074A4 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 8030A548 003074A8 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 8030A54C 003074AC D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 8030A550 003074B0 C0 25 00 2C */ lfs f1, 0x2c(r5) -/* 8030A554 003074B4 C0 45 00 28 */ lfs f2, 0x28(r5) -/* 8030A558 003074B8 C0 05 00 24 */ lfs f0, 0x24(r5) -/* 8030A55C 003074BC D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 8030A560 003074C0 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 8030A564 003074C4 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 8030A568 003074C8 C0 25 00 38 */ lfs f1, 0x38(r5) -/* 8030A56C 003074CC C0 45 00 34 */ lfs f2, 0x34(r5) -/* 8030A570 003074D0 C0 05 00 30 */ lfs f0, 0x30(r5) -/* 8030A574 003074D4 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 8030A578 003074D8 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 8030A57C 003074DC D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 8030A580 003074E0 C0 25 00 44 */ lfs f1, 0x44(r5) -/* 8030A584 003074E4 C0 45 00 40 */ lfs f2, 0x40(r5) -/* 8030A588 003074E8 C0 05 00 3C */ lfs f0, 0x3c(r5) -/* 8030A58C 003074EC D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 8030A590 003074F0 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 8030A594 003074F4 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 8030A598 003074F8 C0 25 00 50 */ lfs f1, 0x50(r5) -/* 8030A59C 003074FC C0 45 00 4C */ lfs f2, 0x4c(r5) -/* 8030A5A0 00307500 C0 05 00 48 */ lfs f0, 0x48(r5) -/* 8030A5A4 00307504 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 8030A5A8 00307508 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 8030A5AC 0030750C D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 8030A5B0 00307510 C0 25 00 5C */ lfs f1, 0x5c(r5) -/* 8030A5B4 00307514 C0 45 00 58 */ lfs f2, 0x58(r5) -/* 8030A5B8 00307518 C0 05 00 54 */ lfs f0, 0x54(r5) -/* 8030A5BC 0030751C 38 A5 00 60 */ addi r5, r5, 0x60 -/* 8030A5C0 00307520 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 8030A5C4 00307524 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 8030A5C8 00307528 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 8030A5CC 0030752C 42 00 FF 38 */ bdnz lbl_8030A504 -lbl_8030A5D0: -/* 8030A5D0 00307530 1C 87 00 0C */ mulli r4, r7, 0xc -/* 8030A5D4 00307534 80 AD A7 C0 */ lwz r5, lbl_805A9380@sda21(r13) -/* 8030A5D8 00307538 7C 07 30 50 */ subf r0, r7, r6 -/* 8030A5DC 0030753C 3C 60 CC 01 */ lis r3, 0xcc01 -/* 8030A5E0 00307540 7C 85 22 14 */ add r4, r5, r4 -/* 8030A5E4 00307544 7C 09 03 A6 */ mtctr r0 -/* 8030A5E8 00307548 7C 07 30 00 */ cmpw r7, r6 -/* 8030A5EC 0030754C 40 80 08 D0 */ bge lbl_8030AEBC -lbl_8030A5F0: -/* 8030A5F0 00307550 C0 24 00 08 */ lfs f1, 8(r4) -/* 8030A5F4 00307554 C0 44 00 04 */ lfs f2, 4(r4) -/* 8030A5F8 00307558 C0 04 00 00 */ lfs f0, 0(r4) -/* 8030A5FC 0030755C 38 84 00 0C */ addi r4, r4, 0xc -/* 8030A600 00307560 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 8030A604 00307564 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 8030A608 00307568 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 8030A60C 0030756C 42 00 FF E4 */ bdnz lbl_8030A5F0 -/* 8030A610 00307570 48 00 08 AC */ b lbl_8030AEBC -/* 8030A614 00307574 80 0D A7 FC */ lwz r0, lbl_805A93BC@sda21(r13) -/* 8030A618 00307578 3C 80 CC 01 */ lis r4, 0xcc01 -/* 8030A61C 0030757C 80 AD A7 C0 */ lwz r5, lbl_805A9380@sda21(r13) -/* 8030A620 00307580 2C 00 00 00 */ cmpwi r0, 0 -/* 8030A624 00307584 80 CD A7 C4 */ lwz r6, lbl_805A9384@sda21(r13) -/* 8030A628 00307588 7C 03 03 78 */ mr r3, r0 -/* 8030A62C 0030758C 40 81 08 90 */ ble lbl_8030AEBC -/* 8030A630 00307590 54 00 F0 BF */ rlwinm. r0, r0, 0x1e, 2, 0x1f -/* 8030A634 00307594 7C 09 03 A6 */ mtctr r0 -/* 8030A638 00307598 41 82 00 D8 */ beq lbl_8030A710 -lbl_8030A63C: -/* 8030A63C 0030759C C0 45 00 08 */ lfs f2, 8(r5) -/* 8030A640 003075A0 C0 25 00 04 */ lfs f1, 4(r5) -/* 8030A644 003075A4 C0 05 00 00 */ lfs f0, 0(r5) -/* 8030A648 003075A8 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) -/* 8030A64C 003075AC D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8030A650 003075B0 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) -/* 8030A654 003075B4 C0 46 00 08 */ lfs f2, 8(r6) -/* 8030A658 003075B8 C0 26 00 04 */ lfs f1, 4(r6) -/* 8030A65C 003075BC C0 06 00 00 */ lfs f0, 0(r6) -/* 8030A660 003075C0 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) -/* 8030A664 003075C4 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8030A668 003075C8 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) -/* 8030A66C 003075CC C0 45 00 14 */ lfs f2, 0x14(r5) -/* 8030A670 003075D0 C0 25 00 10 */ lfs f1, 0x10(r5) -/* 8030A674 003075D4 C0 05 00 0C */ lfs f0, 0xc(r5) -/* 8030A678 003075D8 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) -/* 8030A67C 003075DC D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8030A680 003075E0 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) -/* 8030A684 003075E4 C0 46 00 14 */ lfs f2, 0x14(r6) -/* 8030A688 003075E8 C0 26 00 10 */ lfs f1, 0x10(r6) -/* 8030A68C 003075EC C0 06 00 0C */ lfs f0, 0xc(r6) -/* 8030A690 003075F0 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) -/* 8030A694 003075F4 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8030A698 003075F8 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) -/* 8030A69C 003075FC C0 45 00 20 */ lfs f2, 0x20(r5) -/* 8030A6A0 00307600 C0 25 00 1C */ lfs f1, 0x1c(r5) -/* 8030A6A4 00307604 C0 05 00 18 */ lfs f0, 0x18(r5) -/* 8030A6A8 00307608 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) -/* 8030A6AC 0030760C D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8030A6B0 00307610 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) -/* 8030A6B4 00307614 C0 46 00 20 */ lfs f2, 0x20(r6) -/* 8030A6B8 00307618 C0 26 00 1C */ lfs f1, 0x1c(r6) -/* 8030A6BC 0030761C C0 06 00 18 */ lfs f0, 0x18(r6) -/* 8030A6C0 00307620 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) -/* 8030A6C4 00307624 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8030A6C8 00307628 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) -/* 8030A6CC 0030762C C0 45 00 2C */ lfs f2, 0x2c(r5) -/* 8030A6D0 00307630 C0 25 00 28 */ lfs f1, 0x28(r5) -/* 8030A6D4 00307634 C0 05 00 24 */ lfs f0, 0x24(r5) -/* 8030A6D8 00307638 38 A5 00 30 */ addi r5, r5, 0x30 -/* 8030A6DC 0030763C D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) -/* 8030A6E0 00307640 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8030A6E4 00307644 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) -/* 8030A6E8 00307648 C0 46 00 2C */ lfs f2, 0x2c(r6) -/* 8030A6EC 0030764C C0 26 00 28 */ lfs f1, 0x28(r6) -/* 8030A6F0 00307650 C0 06 00 24 */ lfs f0, 0x24(r6) -/* 8030A6F4 00307654 38 C6 00 30 */ addi r6, r6, 0x30 -/* 8030A6F8 00307658 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) -/* 8030A6FC 0030765C D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8030A700 00307660 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) -/* 8030A704 00307664 42 00 FF 38 */ bdnz lbl_8030A63C -/* 8030A708 00307668 70 63 00 03 */ andi. r3, r3, 3 -/* 8030A70C 0030766C 41 82 07 B0 */ beq lbl_8030AEBC -lbl_8030A710: -/* 8030A710 00307670 7C 69 03 A6 */ mtctr r3 -lbl_8030A714: -/* 8030A714 00307674 C0 45 00 08 */ lfs f2, 8(r5) -/* 8030A718 00307678 C0 25 00 04 */ lfs f1, 4(r5) -/* 8030A71C 0030767C C0 05 00 00 */ lfs f0, 0(r5) -/* 8030A720 00307680 38 A5 00 0C */ addi r5, r5, 0xc -/* 8030A724 00307684 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) -/* 8030A728 00307688 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8030A72C 0030768C D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) -/* 8030A730 00307690 C0 46 00 08 */ lfs f2, 8(r6) -/* 8030A734 00307694 C0 26 00 04 */ lfs f1, 4(r6) -/* 8030A738 00307698 C0 06 00 00 */ lfs f0, 0(r6) -/* 8030A73C 0030769C 38 C6 00 0C */ addi r6, r6, 0xc -/* 8030A740 003076A0 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) -/* 8030A744 003076A4 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8030A748 003076A8 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) -/* 8030A74C 003076AC 42 00 FF C8 */ bdnz lbl_8030A714 -/* 8030A750 003076B0 48 00 07 6C */ b lbl_8030AEBC -/* 8030A754 003076B4 80 ED A7 FC */ lwz r7, lbl_805A93BC@sda21(r13) -/* 8030A758 003076B8 39 00 00 00 */ li r8, 0 -/* 8030A75C 003076BC 2C 07 00 00 */ cmpwi r7, 0 -/* 8030A760 003076C0 40 81 07 5C */ ble lbl_8030AEBC -/* 8030A764 003076C4 2C 07 00 08 */ cmpwi r7, 8 -/* 8030A768 003076C8 38 87 FF F8 */ addi r4, r7, -8 -/* 8030A76C 003076CC 40 81 01 34 */ ble lbl_8030A8A0 -/* 8030A770 003076D0 38 04 00 07 */ addi r0, r4, 7 -/* 8030A774 003076D4 80 AD A7 C0 */ lwz r5, lbl_805A9380@sda21(r13) -/* 8030A778 003076D8 54 00 E8 FE */ srwi r0, r0, 3 -/* 8030A77C 003076DC 80 CD A7 D0 */ lwz r6, lbl_805A9390@sda21(r13) -/* 8030A780 003076E0 3C 60 CC 01 */ lis r3, 0xcc01 -/* 8030A784 003076E4 7C 09 03 A6 */ mtctr r0 -/* 8030A788 003076E8 2C 04 00 00 */ cmpwi r4, 0 -/* 8030A78C 003076EC 40 81 01 14 */ ble lbl_8030A8A0 -lbl_8030A790: -/* 8030A790 003076F0 C0 45 00 08 */ lfs f2, 8(r5) -/* 8030A794 003076F4 39 08 00 08 */ addi r8, r8, 8 -/* 8030A798 003076F8 C0 25 00 04 */ lfs f1, 4(r5) -/* 8030A79C 003076FC C0 05 00 00 */ lfs f0, 0(r5) -/* 8030A7A0 00307700 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 8030A7A4 00307704 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 8030A7A8 00307708 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 8030A7AC 0030770C 80 06 00 00 */ lwz r0, 0(r6) -/* 8030A7B0 00307710 90 03 80 00 */ stw r0, 0xCC008000@l(r3) -/* 8030A7B4 00307714 C0 25 00 14 */ lfs f1, 0x14(r5) -/* 8030A7B8 00307718 C0 45 00 10 */ lfs f2, 0x10(r5) -/* 8030A7BC 0030771C C0 05 00 0C */ lfs f0, 0xc(r5) -/* 8030A7C0 00307720 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 8030A7C4 00307724 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 8030A7C8 00307728 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 8030A7CC 0030772C 80 06 00 04 */ lwz r0, 4(r6) -/* 8030A7D0 00307730 90 03 80 00 */ stw r0, 0xCC008000@l(r3) -/* 8030A7D4 00307734 C0 25 00 20 */ lfs f1, 0x20(r5) -/* 8030A7D8 00307738 C0 45 00 1C */ lfs f2, 0x1c(r5) -/* 8030A7DC 0030773C C0 05 00 18 */ lfs f0, 0x18(r5) -/* 8030A7E0 00307740 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 8030A7E4 00307744 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 8030A7E8 00307748 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 8030A7EC 0030774C 80 06 00 08 */ lwz r0, 8(r6) -/* 8030A7F0 00307750 90 03 80 00 */ stw r0, 0xCC008000@l(r3) -/* 8030A7F4 00307754 C0 25 00 2C */ lfs f1, 0x2c(r5) -/* 8030A7F8 00307758 C0 45 00 28 */ lfs f2, 0x28(r5) -/* 8030A7FC 0030775C C0 05 00 24 */ lfs f0, 0x24(r5) -/* 8030A800 00307760 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 8030A804 00307764 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 8030A808 00307768 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 8030A80C 0030776C 80 06 00 0C */ lwz r0, 0xc(r6) -/* 8030A810 00307770 90 03 80 00 */ stw r0, 0xCC008000@l(r3) -/* 8030A814 00307774 C0 25 00 38 */ lfs f1, 0x38(r5) -/* 8030A818 00307778 C0 45 00 34 */ lfs f2, 0x34(r5) -/* 8030A81C 0030777C C0 05 00 30 */ lfs f0, 0x30(r5) -/* 8030A820 00307780 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 8030A824 00307784 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 8030A828 00307788 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 8030A82C 0030778C 80 06 00 10 */ lwz r0, 0x10(r6) -/* 8030A830 00307790 90 03 80 00 */ stw r0, 0xCC008000@l(r3) -/* 8030A834 00307794 C0 25 00 44 */ lfs f1, 0x44(r5) -/* 8030A838 00307798 C0 45 00 40 */ lfs f2, 0x40(r5) -/* 8030A83C 0030779C C0 05 00 3C */ lfs f0, 0x3c(r5) -/* 8030A840 003077A0 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 8030A844 003077A4 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 8030A848 003077A8 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 8030A84C 003077AC 80 06 00 14 */ lwz r0, 0x14(r6) -/* 8030A850 003077B0 90 03 80 00 */ stw r0, 0xCC008000@l(r3) -/* 8030A854 003077B4 C0 25 00 50 */ lfs f1, 0x50(r5) -/* 8030A858 003077B8 C0 45 00 4C */ lfs f2, 0x4c(r5) -/* 8030A85C 003077BC C0 05 00 48 */ lfs f0, 0x48(r5) -/* 8030A860 003077C0 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 8030A864 003077C4 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 8030A868 003077C8 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 8030A86C 003077CC 80 06 00 18 */ lwz r0, 0x18(r6) -/* 8030A870 003077D0 90 03 80 00 */ stw r0, 0xCC008000@l(r3) -/* 8030A874 003077D4 C0 25 00 5C */ lfs f1, 0x5c(r5) -/* 8030A878 003077D8 C0 45 00 58 */ lfs f2, 0x58(r5) -/* 8030A87C 003077DC C0 05 00 54 */ lfs f0, 0x54(r5) -/* 8030A880 003077E0 38 A5 00 60 */ addi r5, r5, 0x60 -/* 8030A884 003077E4 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 8030A888 003077E8 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 8030A88C 003077EC D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 8030A890 003077F0 80 06 00 1C */ lwz r0, 0x1c(r6) -/* 8030A894 003077F4 38 C6 00 20 */ addi r6, r6, 0x20 -/* 8030A898 003077F8 90 03 80 00 */ stw r0, 0xCC008000@l(r3) -/* 8030A89C 003077FC 42 00 FE F4 */ bdnz lbl_8030A790 -lbl_8030A8A0: -/* 8030A8A0 00307800 1C A8 00 0C */ mulli r5, r8, 0xc -/* 8030A8A4 00307804 80 CD A7 C0 */ lwz r6, lbl_805A9380@sda21(r13) -/* 8030A8A8 00307808 80 8D A7 D0 */ lwz r4, lbl_805A9390@sda21(r13) -/* 8030A8AC 0030780C 55 03 10 3A */ slwi r3, r8, 2 -/* 8030A8B0 00307810 7C 08 38 50 */ subf r0, r8, r7 -/* 8030A8B4 00307814 7C A6 2A 14 */ add r5, r6, r5 -/* 8030A8B8 00307818 7C 84 1A 14 */ add r4, r4, r3 -/* 8030A8BC 0030781C 3C 60 CC 01 */ lis r3, 0xcc01 -/* 8030A8C0 00307820 7C 09 03 A6 */ mtctr r0 -/* 8030A8C4 00307824 7C 08 38 00 */ cmpw r8, r7 -/* 8030A8C8 00307828 40 80 05 F4 */ bge lbl_8030AEBC -lbl_8030A8CC: -/* 8030A8CC 0030782C C0 25 00 08 */ lfs f1, 8(r5) -/* 8030A8D0 00307830 C0 45 00 04 */ lfs f2, 4(r5) -/* 8030A8D4 00307834 C0 05 00 00 */ lfs f0, 0(r5) -/* 8030A8D8 00307838 38 A5 00 0C */ addi r5, r5, 0xc -/* 8030A8DC 0030783C D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 8030A8E0 00307840 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 8030A8E4 00307844 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 8030A8E8 00307848 80 04 00 00 */ lwz r0, 0(r4) -/* 8030A8EC 0030784C 38 84 00 04 */ addi r4, r4, 4 -/* 8030A8F0 00307850 90 03 80 00 */ stw r0, 0xCC008000@l(r3) -/* 8030A8F4 00307854 42 00 FF D8 */ bdnz lbl_8030A8CC -/* 8030A8F8 00307858 48 00 05 C4 */ b lbl_8030AEBC -/* 8030A8FC 0030785C 80 0D A7 FC */ lwz r0, lbl_805A93BC@sda21(r13) -/* 8030A900 00307860 3C 80 CC 01 */ lis r4, 0xcc01 -/* 8030A904 00307864 80 AD A7 C0 */ lwz r5, lbl_805A9380@sda21(r13) -/* 8030A908 00307868 2C 00 00 00 */ cmpwi r0, 0 -/* 8030A90C 0030786C 80 CD A7 C8 */ lwz r6, lbl_805A9388@sda21(r13) -/* 8030A910 00307870 7C 03 03 78 */ mr r3, r0 -/* 8030A914 00307874 40 81 05 A8 */ ble lbl_8030AEBC -/* 8030A918 00307878 54 00 F0 BF */ rlwinm. r0, r0, 0x1e, 2, 0x1f -/* 8030A91C 0030787C 7C 09 03 A6 */ mtctr r0 -/* 8030A920 00307880 41 82 00 B8 */ beq lbl_8030A9D8 -lbl_8030A924: -/* 8030A924 00307884 C0 45 00 08 */ lfs f2, 8(r5) -/* 8030A928 00307888 C0 25 00 04 */ lfs f1, 4(r5) -/* 8030A92C 0030788C C0 05 00 00 */ lfs f0, 0(r5) -/* 8030A930 00307890 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) -/* 8030A934 00307894 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8030A938 00307898 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) -/* 8030A93C 0030789C C0 26 00 04 */ lfs f1, 4(r6) -/* 8030A940 003078A0 C0 06 00 00 */ lfs f0, 0(r6) -/* 8030A944 003078A4 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) -/* 8030A948 003078A8 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8030A94C 003078AC C0 45 00 14 */ lfs f2, 0x14(r5) -/* 8030A950 003078B0 C0 25 00 10 */ lfs f1, 0x10(r5) -/* 8030A954 003078B4 C0 05 00 0C */ lfs f0, 0xc(r5) -/* 8030A958 003078B8 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) -/* 8030A95C 003078BC D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8030A960 003078C0 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) -/* 8030A964 003078C4 C0 26 00 0C */ lfs f1, 0xc(r6) -/* 8030A968 003078C8 C0 06 00 08 */ lfs f0, 8(r6) -/* 8030A96C 003078CC D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) -/* 8030A970 003078D0 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8030A974 003078D4 C0 45 00 20 */ lfs f2, 0x20(r5) -/* 8030A978 003078D8 C0 25 00 1C */ lfs f1, 0x1c(r5) -/* 8030A97C 003078DC C0 05 00 18 */ lfs f0, 0x18(r5) -/* 8030A980 003078E0 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) -/* 8030A984 003078E4 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8030A988 003078E8 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) -/* 8030A98C 003078EC C0 26 00 14 */ lfs f1, 0x14(r6) -/* 8030A990 003078F0 C0 06 00 10 */ lfs f0, 0x10(r6) -/* 8030A994 003078F4 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) -/* 8030A998 003078F8 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8030A99C 003078FC C0 45 00 2C */ lfs f2, 0x2c(r5) -/* 8030A9A0 00307900 C0 25 00 28 */ lfs f1, 0x28(r5) -/* 8030A9A4 00307904 C0 05 00 24 */ lfs f0, 0x24(r5) -/* 8030A9A8 00307908 38 A5 00 30 */ addi r5, r5, 0x30 -/* 8030A9AC 0030790C D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) -/* 8030A9B0 00307910 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8030A9B4 00307914 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) -/* 8030A9B8 00307918 C0 26 00 1C */ lfs f1, 0x1c(r6) -/* 8030A9BC 0030791C C0 06 00 18 */ lfs f0, 0x18(r6) -/* 8030A9C0 00307920 38 C6 00 20 */ addi r6, r6, 0x20 -/* 8030A9C4 00307924 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) -/* 8030A9C8 00307928 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8030A9CC 0030792C 42 00 FF 58 */ bdnz lbl_8030A924 -/* 8030A9D0 00307930 70 63 00 03 */ andi. r3, r3, 3 -/* 8030A9D4 00307934 41 82 04 E8 */ beq lbl_8030AEBC -lbl_8030A9D8: -/* 8030A9D8 00307938 7C 69 03 A6 */ mtctr r3 -lbl_8030A9DC: -/* 8030A9DC 0030793C C0 45 00 08 */ lfs f2, 8(r5) -/* 8030A9E0 00307940 C0 25 00 04 */ lfs f1, 4(r5) -/* 8030A9E4 00307944 C0 05 00 00 */ lfs f0, 0(r5) -/* 8030A9E8 00307948 38 A5 00 0C */ addi r5, r5, 0xc -/* 8030A9EC 0030794C D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) -/* 8030A9F0 00307950 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8030A9F4 00307954 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) -/* 8030A9F8 00307958 C0 26 00 04 */ lfs f1, 4(r6) -/* 8030A9FC 0030795C C0 06 00 00 */ lfs f0, 0(r6) -/* 8030AA00 00307960 38 C6 00 08 */ addi r6, r6, 8 -/* 8030AA04 00307964 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) -/* 8030AA08 00307968 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8030AA0C 0030796C 42 00 FF D0 */ bdnz lbl_8030A9DC -/* 8030AA10 00307970 48 00 04 AC */ b lbl_8030AEBC -/* 8030AA14 00307974 80 0D A7 FC */ lwz r0, lbl_805A93BC@sda21(r13) -/* 8030AA18 00307978 3C 80 CC 01 */ lis r4, 0xcc01 -/* 8030AA1C 0030797C 80 AD A7 C0 */ lwz r5, lbl_805A9380@sda21(r13) -/* 8030AA20 00307980 2C 00 00 00 */ cmpwi r0, 0 -/* 8030AA24 00307984 80 CD A7 C4 */ lwz r6, lbl_805A9384@sda21(r13) -/* 8030AA28 00307988 80 ED A7 C8 */ lwz r7, lbl_805A9388@sda21(r13) -/* 8030AA2C 0030798C 7C 03 03 78 */ mr r3, r0 -/* 8030AA30 00307990 40 81 04 8C */ ble lbl_8030AEBC -/* 8030AA34 00307994 54 00 F8 7F */ rlwinm. r0, r0, 0x1f, 1, 0x1f -/* 8030AA38 00307998 7C 09 03 A6 */ mtctr r0 -/* 8030AA3C 0030799C 41 82 00 9C */ beq lbl_8030AAD8 -lbl_8030AA40: -/* 8030AA40 003079A0 C0 45 00 08 */ lfs f2, 8(r5) -/* 8030AA44 003079A4 C0 25 00 04 */ lfs f1, 4(r5) -/* 8030AA48 003079A8 C0 05 00 00 */ lfs f0, 0(r5) -/* 8030AA4C 003079AC D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) -/* 8030AA50 003079B0 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8030AA54 003079B4 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) -/* 8030AA58 003079B8 C0 46 00 08 */ lfs f2, 8(r6) -/* 8030AA5C 003079BC C0 26 00 04 */ lfs f1, 4(r6) -/* 8030AA60 003079C0 C0 06 00 00 */ lfs f0, 0(r6) -/* 8030AA64 003079C4 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) -/* 8030AA68 003079C8 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8030AA6C 003079CC D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) -/* 8030AA70 003079D0 C0 27 00 04 */ lfs f1, 4(r7) -/* 8030AA74 003079D4 C0 07 00 00 */ lfs f0, 0(r7) -/* 8030AA78 003079D8 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) -/* 8030AA7C 003079DC D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8030AA80 003079E0 C0 45 00 14 */ lfs f2, 0x14(r5) -/* 8030AA84 003079E4 C0 25 00 10 */ lfs f1, 0x10(r5) -/* 8030AA88 003079E8 C0 05 00 0C */ lfs f0, 0xc(r5) -/* 8030AA8C 003079EC 38 A5 00 18 */ addi r5, r5, 0x18 -/* 8030AA90 003079F0 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) -/* 8030AA94 003079F4 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8030AA98 003079F8 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) -/* 8030AA9C 003079FC C0 46 00 14 */ lfs f2, 0x14(r6) -/* 8030AAA0 00307A00 C0 26 00 10 */ lfs f1, 0x10(r6) -/* 8030AAA4 00307A04 C0 06 00 0C */ lfs f0, 0xc(r6) -/* 8030AAA8 00307A08 38 C6 00 18 */ addi r6, r6, 0x18 -/* 8030AAAC 00307A0C D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) -/* 8030AAB0 00307A10 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8030AAB4 00307A14 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) -/* 8030AAB8 00307A18 C0 27 00 0C */ lfs f1, 0xc(r7) -/* 8030AABC 00307A1C C0 07 00 08 */ lfs f0, 8(r7) -/* 8030AAC0 00307A20 38 E7 00 10 */ addi r7, r7, 0x10 -/* 8030AAC4 00307A24 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) -/* 8030AAC8 00307A28 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8030AACC 00307A2C 42 00 FF 74 */ bdnz lbl_8030AA40 -/* 8030AAD0 00307A30 70 63 00 01 */ andi. r3, r3, 1 -/* 8030AAD4 00307A34 41 82 03 E8 */ beq lbl_8030AEBC -lbl_8030AAD8: -/* 8030AAD8 00307A38 7C 69 03 A6 */ mtctr r3 -lbl_8030AADC: -/* 8030AADC 00307A3C C0 45 00 08 */ lfs f2, 8(r5) -/* 8030AAE0 00307A40 C0 25 00 04 */ lfs f1, 4(r5) -/* 8030AAE4 00307A44 C0 05 00 00 */ lfs f0, 0(r5) -/* 8030AAE8 00307A48 38 A5 00 0C */ addi r5, r5, 0xc -/* 8030AAEC 00307A4C D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) -/* 8030AAF0 00307A50 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8030AAF4 00307A54 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) -/* 8030AAF8 00307A58 C0 46 00 08 */ lfs f2, 8(r6) -/* 8030AAFC 00307A5C C0 26 00 04 */ lfs f1, 4(r6) -/* 8030AB00 00307A60 C0 06 00 00 */ lfs f0, 0(r6) -/* 8030AB04 00307A64 38 C6 00 0C */ addi r6, r6, 0xc -/* 8030AB08 00307A68 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) -/* 8030AB0C 00307A6C D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8030AB10 00307A70 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) -/* 8030AB14 00307A74 C0 27 00 04 */ lfs f1, 4(r7) -/* 8030AB18 00307A78 C0 07 00 00 */ lfs f0, 0(r7) -/* 8030AB1C 00307A7C 38 E7 00 08 */ addi r7, r7, 8 -/* 8030AB20 00307A80 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) -/* 8030AB24 00307A84 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8030AB28 00307A88 42 00 FF B4 */ bdnz lbl_8030AADC -/* 8030AB2C 00307A8C 48 00 03 90 */ b lbl_8030AEBC -/* 8030AB30 00307A90 80 0D A7 FC */ lwz r0, lbl_805A93BC@sda21(r13) -/* 8030AB34 00307A94 3C 80 CC 01 */ lis r4, 0xcc01 -/* 8030AB38 00307A98 80 AD A7 C0 */ lwz r5, lbl_805A9380@sda21(r13) -/* 8030AB3C 00307A9C 2C 00 00 00 */ cmpwi r0, 0 -/* 8030AB40 00307AA0 80 CD A7 C4 */ lwz r6, lbl_805A9384@sda21(r13) -/* 8030AB44 00307AA4 80 ED A7 D0 */ lwz r7, lbl_805A9390@sda21(r13) -/* 8030AB48 00307AA8 7C 03 03 78 */ mr r3, r0 -/* 8030AB4C 00307AAC 40 81 03 70 */ ble lbl_8030AEBC -/* 8030AB50 00307AB0 54 00 F8 7F */ rlwinm. r0, r0, 0x1f, 1, 0x1f -/* 8030AB54 00307AB4 7C 09 03 A6 */ mtctr r0 -/* 8030AB58 00307AB8 41 82 00 8C */ beq lbl_8030ABE4 -lbl_8030AB5C: -/* 8030AB5C 00307ABC C0 45 00 08 */ lfs f2, 8(r5) -/* 8030AB60 00307AC0 C0 25 00 04 */ lfs f1, 4(r5) -/* 8030AB64 00307AC4 C0 05 00 00 */ lfs f0, 0(r5) -/* 8030AB68 00307AC8 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) -/* 8030AB6C 00307ACC D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8030AB70 00307AD0 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) -/* 8030AB74 00307AD4 C0 46 00 08 */ lfs f2, 8(r6) -/* 8030AB78 00307AD8 C0 26 00 04 */ lfs f1, 4(r6) -/* 8030AB7C 00307ADC C0 06 00 00 */ lfs f0, 0(r6) -/* 8030AB80 00307AE0 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) -/* 8030AB84 00307AE4 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8030AB88 00307AE8 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) -/* 8030AB8C 00307AEC 80 07 00 00 */ lwz r0, 0(r7) -/* 8030AB90 00307AF0 90 04 80 00 */ stw r0, 0xCC008000@l(r4) -/* 8030AB94 00307AF4 C0 45 00 14 */ lfs f2, 0x14(r5) -/* 8030AB98 00307AF8 C0 25 00 10 */ lfs f1, 0x10(r5) -/* 8030AB9C 00307AFC C0 05 00 0C */ lfs f0, 0xc(r5) -/* 8030ABA0 00307B00 38 A5 00 18 */ addi r5, r5, 0x18 -/* 8030ABA4 00307B04 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) -/* 8030ABA8 00307B08 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8030ABAC 00307B0C D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) -/* 8030ABB0 00307B10 C0 46 00 14 */ lfs f2, 0x14(r6) -/* 8030ABB4 00307B14 C0 26 00 10 */ lfs f1, 0x10(r6) -/* 8030ABB8 00307B18 C0 06 00 0C */ lfs f0, 0xc(r6) -/* 8030ABBC 00307B1C 38 C6 00 18 */ addi r6, r6, 0x18 -/* 8030ABC0 00307B20 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) -/* 8030ABC4 00307B24 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8030ABC8 00307B28 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) -/* 8030ABCC 00307B2C 80 07 00 04 */ lwz r0, 4(r7) -/* 8030ABD0 00307B30 38 E7 00 08 */ addi r7, r7, 8 -/* 8030ABD4 00307B34 90 04 80 00 */ stw r0, 0xCC008000@l(r4) -/* 8030ABD8 00307B38 42 00 FF 84 */ bdnz lbl_8030AB5C -/* 8030ABDC 00307B3C 70 63 00 01 */ andi. r3, r3, 1 -/* 8030ABE0 00307B40 41 82 02 DC */ beq lbl_8030AEBC -lbl_8030ABE4: -/* 8030ABE4 00307B44 7C 69 03 A6 */ mtctr r3 -lbl_8030ABE8: -/* 8030ABE8 00307B48 C0 45 00 08 */ lfs f2, 8(r5) -/* 8030ABEC 00307B4C C0 25 00 04 */ lfs f1, 4(r5) -/* 8030ABF0 00307B50 C0 05 00 00 */ lfs f0, 0(r5) -/* 8030ABF4 00307B54 38 A5 00 0C */ addi r5, r5, 0xc -/* 8030ABF8 00307B58 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) -/* 8030ABFC 00307B5C D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8030AC00 00307B60 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) -/* 8030AC04 00307B64 C0 46 00 08 */ lfs f2, 8(r6) -/* 8030AC08 00307B68 C0 26 00 04 */ lfs f1, 4(r6) -/* 8030AC0C 00307B6C C0 06 00 00 */ lfs f0, 0(r6) -/* 8030AC10 00307B70 38 C6 00 0C */ addi r6, r6, 0xc -/* 8030AC14 00307B74 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) -/* 8030AC18 00307B78 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8030AC1C 00307B7C D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) -/* 8030AC20 00307B80 80 07 00 00 */ lwz r0, 0(r7) -/* 8030AC24 00307B84 38 E7 00 04 */ addi r7, r7, 4 -/* 8030AC28 00307B88 90 04 80 00 */ stw r0, 0xCC008000@l(r4) -/* 8030AC2C 00307B8C 42 00 FF BC */ bdnz lbl_8030ABE8 -/* 8030AC30 00307B90 48 00 02 8C */ b lbl_8030AEBC -/* 8030AC34 00307B94 80 0D A7 FC */ lwz r0, lbl_805A93BC@sda21(r13) -/* 8030AC38 00307B98 3C 80 CC 01 */ lis r4, 0xcc01 -/* 8030AC3C 00307B9C 80 AD A7 C0 */ lwz r5, lbl_805A9380@sda21(r13) -/* 8030AC40 00307BA0 2C 00 00 00 */ cmpwi r0, 0 -/* 8030AC44 00307BA4 80 CD A7 D0 */ lwz r6, lbl_805A9390@sda21(r13) -/* 8030AC48 00307BA8 80 ED A7 C8 */ lwz r7, lbl_805A9388@sda21(r13) -/* 8030AC4C 00307BAC 7C 03 03 78 */ mr r3, r0 -/* 8030AC50 00307BB0 40 81 02 6C */ ble lbl_8030AEBC -/* 8030AC54 00307BB4 54 00 F0 BF */ rlwinm. r0, r0, 0x1e, 2, 0x1f -/* 8030AC58 00307BB8 7C 09 03 A6 */ mtctr r0 -/* 8030AC5C 00307BBC 41 82 00 DC */ beq lbl_8030AD38 -lbl_8030AC60: -/* 8030AC60 00307BC0 C0 45 00 08 */ lfs f2, 8(r5) -/* 8030AC64 00307BC4 C0 25 00 04 */ lfs f1, 4(r5) -/* 8030AC68 00307BC8 C0 05 00 00 */ lfs f0, 0(r5) -/* 8030AC6C 00307BCC D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) -/* 8030AC70 00307BD0 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8030AC74 00307BD4 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) -/* 8030AC78 00307BD8 80 06 00 00 */ lwz r0, 0(r6) -/* 8030AC7C 00307BDC 90 04 80 00 */ stw r0, 0xCC008000@l(r4) -/* 8030AC80 00307BE0 C0 27 00 04 */ lfs f1, 4(r7) -/* 8030AC84 00307BE4 C0 07 00 00 */ lfs f0, 0(r7) -/* 8030AC88 00307BE8 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) -/* 8030AC8C 00307BEC D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8030AC90 00307BF0 C0 45 00 14 */ lfs f2, 0x14(r5) -/* 8030AC94 00307BF4 C0 25 00 10 */ lfs f1, 0x10(r5) -/* 8030AC98 00307BF8 C0 05 00 0C */ lfs f0, 0xc(r5) -/* 8030AC9C 00307BFC D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) -/* 8030ACA0 00307C00 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8030ACA4 00307C04 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) -/* 8030ACA8 00307C08 80 06 00 04 */ lwz r0, 4(r6) -/* 8030ACAC 00307C0C 90 04 80 00 */ stw r0, 0xCC008000@l(r4) -/* 8030ACB0 00307C10 C0 27 00 0C */ lfs f1, 0xc(r7) -/* 8030ACB4 00307C14 C0 07 00 08 */ lfs f0, 8(r7) -/* 8030ACB8 00307C18 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) -/* 8030ACBC 00307C1C D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8030ACC0 00307C20 C0 45 00 20 */ lfs f2, 0x20(r5) -/* 8030ACC4 00307C24 C0 25 00 1C */ lfs f1, 0x1c(r5) -/* 8030ACC8 00307C28 C0 05 00 18 */ lfs f0, 0x18(r5) -/* 8030ACCC 00307C2C D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) -/* 8030ACD0 00307C30 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8030ACD4 00307C34 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) -/* 8030ACD8 00307C38 80 06 00 08 */ lwz r0, 8(r6) -/* 8030ACDC 00307C3C 90 04 80 00 */ stw r0, 0xCC008000@l(r4) -/* 8030ACE0 00307C40 C0 27 00 14 */ lfs f1, 0x14(r7) -/* 8030ACE4 00307C44 C0 07 00 10 */ lfs f0, 0x10(r7) -/* 8030ACE8 00307C48 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) -/* 8030ACEC 00307C4C D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8030ACF0 00307C50 C0 45 00 2C */ lfs f2, 0x2c(r5) -/* 8030ACF4 00307C54 C0 25 00 28 */ lfs f1, 0x28(r5) -/* 8030ACF8 00307C58 C0 05 00 24 */ lfs f0, 0x24(r5) -/* 8030ACFC 00307C5C 38 A5 00 30 */ addi r5, r5, 0x30 -/* 8030AD00 00307C60 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) -/* 8030AD04 00307C64 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8030AD08 00307C68 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) -/* 8030AD0C 00307C6C 80 06 00 0C */ lwz r0, 0xc(r6) -/* 8030AD10 00307C70 38 C6 00 10 */ addi r6, r6, 0x10 -/* 8030AD14 00307C74 90 04 80 00 */ stw r0, 0xCC008000@l(r4) -/* 8030AD18 00307C78 C0 27 00 1C */ lfs f1, 0x1c(r7) -/* 8030AD1C 00307C7C C0 07 00 18 */ lfs f0, 0x18(r7) -/* 8030AD20 00307C80 38 E7 00 20 */ addi r7, r7, 0x20 -/* 8030AD24 00307C84 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) -/* 8030AD28 00307C88 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8030AD2C 00307C8C 42 00 FF 34 */ bdnz lbl_8030AC60 -/* 8030AD30 00307C90 70 63 00 03 */ andi. r3, r3, 3 -/* 8030AD34 00307C94 41 82 01 88 */ beq lbl_8030AEBC -lbl_8030AD38: -/* 8030AD38 00307C98 7C 69 03 A6 */ mtctr r3 -lbl_8030AD3C: -/* 8030AD3C 00307C9C C0 45 00 08 */ lfs f2, 8(r5) -/* 8030AD40 00307CA0 C0 25 00 04 */ lfs f1, 4(r5) -/* 8030AD44 00307CA4 C0 05 00 00 */ lfs f0, 0(r5) -/* 8030AD48 00307CA8 38 A5 00 0C */ addi r5, r5, 0xc -/* 8030AD4C 00307CAC D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) -/* 8030AD50 00307CB0 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8030AD54 00307CB4 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) -/* 8030AD58 00307CB8 80 06 00 00 */ lwz r0, 0(r6) -/* 8030AD5C 00307CBC 38 C6 00 04 */ addi r6, r6, 4 -/* 8030AD60 00307CC0 90 04 80 00 */ stw r0, 0xCC008000@l(r4) -/* 8030AD64 00307CC4 C0 27 00 04 */ lfs f1, 4(r7) -/* 8030AD68 00307CC8 C0 07 00 00 */ lfs f0, 0(r7) -/* 8030AD6C 00307CCC 38 E7 00 08 */ addi r7, r7, 8 -/* 8030AD70 00307CD0 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) -/* 8030AD74 00307CD4 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8030AD78 00307CD8 42 00 FF C4 */ bdnz lbl_8030AD3C -/* 8030AD7C 00307CDC 48 00 01 40 */ b lbl_8030AEBC -/* 8030AD80 00307CE0 80 0D A7 FC */ lwz r0, lbl_805A93BC@sda21(r13) -/* 8030AD84 00307CE4 3C 80 CC 01 */ lis r4, 0xcc01 -/* 8030AD88 00307CE8 80 AD A7 C0 */ lwz r5, lbl_805A9380@sda21(r13) -/* 8030AD8C 00307CEC 2C 00 00 00 */ cmpwi r0, 0 -/* 8030AD90 00307CF0 80 CD A7 C4 */ lwz r6, lbl_805A9384@sda21(r13) -/* 8030AD94 00307CF4 80 ED A7 D0 */ lwz r7, lbl_805A9390@sda21(r13) -/* 8030AD98 00307CF8 7C 03 03 78 */ mr r3, r0 -/* 8030AD9C 00307CFC 81 0D A7 C8 */ lwz r8, lbl_805A9388@sda21(r13) -/* 8030ADA0 00307D00 40 81 01 1C */ ble lbl_8030AEBC -/* 8030ADA4 00307D04 54 00 F8 7F */ rlwinm. r0, r0, 0x1f, 1, 0x1f -/* 8030ADA8 00307D08 7C 09 03 A6 */ mtctr r0 -/* 8030ADAC 00307D0C 41 82 00 B0 */ beq lbl_8030AE5C -lbl_8030ADB0: -/* 8030ADB0 00307D10 C0 45 00 08 */ lfs f2, 8(r5) -/* 8030ADB4 00307D14 C0 25 00 04 */ lfs f1, 4(r5) -/* 8030ADB8 00307D18 C0 05 00 00 */ lfs f0, 0(r5) -/* 8030ADBC 00307D1C D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) -/* 8030ADC0 00307D20 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8030ADC4 00307D24 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) -/* 8030ADC8 00307D28 C0 46 00 08 */ lfs f2, 8(r6) -/* 8030ADCC 00307D2C C0 26 00 04 */ lfs f1, 4(r6) -/* 8030ADD0 00307D30 C0 06 00 00 */ lfs f0, 0(r6) -/* 8030ADD4 00307D34 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) -/* 8030ADD8 00307D38 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8030ADDC 00307D3C D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) -/* 8030ADE0 00307D40 80 07 00 00 */ lwz r0, 0(r7) -/* 8030ADE4 00307D44 90 04 80 00 */ stw r0, 0xCC008000@l(r4) -/* 8030ADE8 00307D48 C0 28 00 04 */ lfs f1, 4(r8) -/* 8030ADEC 00307D4C C0 08 00 00 */ lfs f0, 0(r8) -/* 8030ADF0 00307D50 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) -/* 8030ADF4 00307D54 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8030ADF8 00307D58 C0 45 00 14 */ lfs f2, 0x14(r5) -/* 8030ADFC 00307D5C C0 25 00 10 */ lfs f1, 0x10(r5) -/* 8030AE00 00307D60 C0 05 00 0C */ lfs f0, 0xc(r5) -/* 8030AE04 00307D64 38 A5 00 18 */ addi r5, r5, 0x18 -/* 8030AE08 00307D68 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) -/* 8030AE0C 00307D6C D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8030AE10 00307D70 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) -/* 8030AE14 00307D74 C0 46 00 14 */ lfs f2, 0x14(r6) -/* 8030AE18 00307D78 C0 26 00 10 */ lfs f1, 0x10(r6) -/* 8030AE1C 00307D7C C0 06 00 0C */ lfs f0, 0xc(r6) -/* 8030AE20 00307D80 38 C6 00 18 */ addi r6, r6, 0x18 -/* 8030AE24 00307D84 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) -/* 8030AE28 00307D88 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8030AE2C 00307D8C D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) -/* 8030AE30 00307D90 80 07 00 04 */ lwz r0, 4(r7) -/* 8030AE34 00307D94 38 E7 00 08 */ addi r7, r7, 8 -/* 8030AE38 00307D98 90 04 80 00 */ stw r0, 0xCC008000@l(r4) -/* 8030AE3C 00307D9C C0 28 00 0C */ lfs f1, 0xc(r8) -/* 8030AE40 00307DA0 C0 08 00 08 */ lfs f0, 8(r8) -/* 8030AE44 00307DA4 39 08 00 10 */ addi r8, r8, 0x10 -/* 8030AE48 00307DA8 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) -/* 8030AE4C 00307DAC D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8030AE50 00307DB0 42 00 FF 60 */ bdnz lbl_8030ADB0 -/* 8030AE54 00307DB4 70 63 00 01 */ andi. r3, r3, 1 -/* 8030AE58 00307DB8 41 82 00 64 */ beq lbl_8030AEBC -lbl_8030AE5C: -/* 8030AE5C 00307DBC 7C 69 03 A6 */ mtctr r3 -lbl_8030AE60: -/* 8030AE60 00307DC0 C0 45 00 08 */ lfs f2, 8(r5) -/* 8030AE64 00307DC4 C0 25 00 04 */ lfs f1, 4(r5) -/* 8030AE68 00307DC8 C0 05 00 00 */ lfs f0, 0(r5) -/* 8030AE6C 00307DCC 38 A5 00 0C */ addi r5, r5, 0xc -/* 8030AE70 00307DD0 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) -/* 8030AE74 00307DD4 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8030AE78 00307DD8 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) -/* 8030AE7C 00307DDC C0 46 00 08 */ lfs f2, 8(r6) -/* 8030AE80 00307DE0 C0 26 00 04 */ lfs f1, 4(r6) -/* 8030AE84 00307DE4 C0 06 00 00 */ lfs f0, 0(r6) -/* 8030AE88 00307DE8 38 C6 00 0C */ addi r6, r6, 0xc -/* 8030AE8C 00307DEC D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) -/* 8030AE90 00307DF0 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8030AE94 00307DF4 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) -/* 8030AE98 00307DF8 80 07 00 00 */ lwz r0, 0(r7) -/* 8030AE9C 00307DFC 38 E7 00 04 */ addi r7, r7, 4 -/* 8030AEA0 00307E00 90 04 80 00 */ stw r0, 0xCC008000@l(r4) -/* 8030AEA4 00307E04 C0 28 00 04 */ lfs f1, 4(r8) -/* 8030AEA8 00307E08 C0 08 00 00 */ lfs f0, 0(r8) -/* 8030AEAC 00307E0C 39 08 00 08 */ addi r8, r8, 8 -/* 8030AEB0 00307E10 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) -/* 8030AEB4 00307E14 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8030AEB8 00307E18 42 00 FF A8 */ bdnz lbl_8030AE60 -lbl_8030AEBC: -/* 8030AEBC 00307E1C 4B FF D6 C5 */ bl End__3CGXFv -/* 8030AEC0 00307E20 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8030AEC4 00307E24 7C 08 03 A6 */ mtlr r0 -/* 8030AEC8 00307E28 38 21 00 10 */ addi r1, r1, 0x10 -/* 8030AECC 00307E2C 4E 80 00 20 */ blr - -.global SetTevStates__9CGraphicsFUc -SetTevStates__9CGraphicsFUc: -/* 8030AED0 00307E30 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8030AED4 00307E34 7C 08 02 A6 */ mflr r0 -/* 8030AED8 00307E38 90 01 00 14 */ stw r0, 0x14(r1) -/* 8030AEDC 00307E3C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8030AEE0 00307E40 54 7F 06 3E */ clrlwi r31, r3, 0x18 -/* 8030AEE4 00307E44 2C 1F 00 04 */ cmpwi r31, 4 -/* 8030AEE8 00307E48 40 80 00 10 */ bge lbl_8030AEF8 -/* 8030AEEC 00307E4C 2C 1F 00 00 */ cmpwi r31, 0 -/* 8030AEF0 00307E50 40 80 00 14 */ bge lbl_8030AF04 -/* 8030AEF4 00307E54 48 00 00 AC */ b lbl_8030AFA0 -lbl_8030AEF8: -/* 8030AEF8 00307E58 2C 1F 00 08 */ cmpwi r31, 8 -/* 8030AEFC 00307E5C 40 80 00 A4 */ bge lbl_8030AFA0 -/* 8030AF00 00307E60 48 00 00 48 */ b lbl_8030AF48 -lbl_8030AF04: -/* 8030AF04 00307E64 38 60 00 01 */ li r3, 1 -/* 8030AF08 00307E68 4B FF DF 49 */ bl SetNumChans__3CGXFUc -/* 8030AF0C 00307E6C 38 60 00 00 */ li r3, 0 -/* 8030AF10 00307E70 4B FF DF 05 */ bl SetNumTexGens__3CGXFUc -/* 8030AF14 00307E74 38 60 00 01 */ li r3, 1 -/* 8030AF18 00307E78 4B FF DD 79 */ bl SetNumTevStages__3CGXFUc -/* 8030AF1C 00307E7C 38 60 00 00 */ li r3, 0 -/* 8030AF20 00307E80 38 80 00 FF */ li r4, 0xff -/* 8030AF24 00307E84 38 A0 00 FF */ li r5, 0xff -/* 8030AF28 00307E88 38 C0 00 04 */ li r6, 4 -/* 8030AF2C 00307E8C 4B FF DA 21 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID -/* 8030AF30 00307E90 38 60 00 01 */ li r3, 1 -/* 8030AF34 00307E94 38 80 00 FF */ li r4, 0xff -/* 8030AF38 00307E98 38 A0 00 FF */ li r5, 0xff -/* 8030AF3C 00307E9C 38 C0 00 04 */ li r6, 4 -/* 8030AF40 00307EA0 4B FF DA 0D */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID -/* 8030AF44 00307EA4 48 00 00 5C */ b lbl_8030AFA0 -lbl_8030AF48: -/* 8030AF48 00307EA8 38 60 00 01 */ li r3, 1 -/* 8030AF4C 00307EAC 4B FF DF 05 */ bl SetNumChans__3CGXFUc -/* 8030AF50 00307EB0 3C 60 80 5A */ lis r3, lbl_805A6170@ha -/* 8030AF54 00307EB4 38 63 61 70 */ addi r3, r3, lbl_805A6170@l -/* 8030AF58 00307EB8 A0 03 00 2C */ lhz r0, 0x2c(r3) -/* 8030AF5C 00307EBC 54 00 07 BF */ clrlwi. r0, r0, 0x1e -/* 8030AF60 00307EC0 41 82 00 10 */ beq lbl_8030AF70 -/* 8030AF64 00307EC4 38 60 00 02 */ li r3, 2 -/* 8030AF68 00307EC8 4B FF DE AD */ bl SetNumTexGens__3CGXFUc -/* 8030AF6C 00307ECC 48 00 00 0C */ b lbl_8030AF78 -lbl_8030AF70: -/* 8030AF70 00307ED0 38 60 00 01 */ li r3, 1 -/* 8030AF74 00307ED4 4B FF DE A1 */ bl SetNumTexGens__3CGXFUc -lbl_8030AF78: -/* 8030AF78 00307ED8 38 60 00 00 */ li r3, 0 -/* 8030AF7C 00307EDC 38 80 00 00 */ li r4, 0 -/* 8030AF80 00307EE0 38 A0 00 00 */ li r5, 0 -/* 8030AF84 00307EE4 38 C0 00 04 */ li r6, 4 -/* 8030AF88 00307EE8 4B FF D9 C5 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID -/* 8030AF8C 00307EEC 38 60 00 01 */ li r3, 1 -/* 8030AF90 00307EF0 38 80 00 01 */ li r4, 1 -/* 8030AF94 00307EF4 38 A0 00 01 */ li r5, 1 -/* 8030AF98 00307EF8 38 C0 00 04 */ li r6, 4 -/* 8030AF9C 00307EFC 4B FF D9 B1 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID -lbl_8030AFA0: -/* 8030AFA0 00307F00 38 60 00 00 */ li r3, 0 -/* 8030AFA4 00307F04 4B FF D6 ED */ bl SetNumIndStages__3CGXFUc -/* 8030AFA8 00307F08 38 60 00 00 */ li r3, 0 -/* 8030AFAC 00307F0C 38 80 00 01 */ li r4, 1 -/* 8030AFB0 00307F10 38 A0 00 04 */ li r5, 4 -/* 8030AFB4 00307F14 38 C0 00 3C */ li r6, 0x3c -/* 8030AFB8 00307F18 38 E0 00 00 */ li r7, 0 -/* 8030AFBC 00307F1C 39 00 00 7D */ li r8, 0x7d -/* 8030AFC0 00307F20 4B FF D7 0D */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx -/* 8030AFC4 00307F24 38 60 00 01 */ li r3, 1 -/* 8030AFC8 00307F28 38 80 00 01 */ li r4, 1 -/* 8030AFCC 00307F2C 38 A0 00 05 */ li r5, 5 -/* 8030AFD0 00307F30 38 C0 00 3C */ li r6, 0x3c -/* 8030AFD4 00307F34 38 E0 00 00 */ li r7, 0 -/* 8030AFD8 00307F38 39 00 00 7D */ li r8, 0x7d -/* 8030AFDC 00307F3C 4B FF D6 F1 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx -/* 8030AFE0 00307F40 88 ED A8 16 */ lbz r7, lbl_805A93D6@sda21(r13) -/* 8030AFE4 00307F44 39 20 00 02 */ li r9, 2 -/* 8030AFE8 00307F48 28 07 00 00 */ cmplwi r7, 0 -/* 8030AFEC 00307F4C 41 82 00 08 */ beq lbl_8030AFF4 -/* 8030AFF0 00307F50 39 20 00 01 */ li r9, 1 -lbl_8030AFF4: -/* 8030AFF4 00307F54 28 07 00 00 */ cmplwi r7, 0 -/* 8030AFF8 00307F58 39 00 00 00 */ li r8, 0 -/* 8030AFFC 00307F5C 41 82 00 08 */ beq lbl_8030B004 -/* 8030B000 00307F60 39 00 00 02 */ li r8, 2 -lbl_8030B004: -/* 8030B004 00307F64 7C 07 00 D0 */ neg r0, r7 -/* 8030B008 00307F68 57 E6 FF FE */ rlwinm r6, r31, 0x1f, 0x1f, 0x1f -/* 8030B00C 00307F6C 7C 00 3B 78 */ or r0, r0, r7 -/* 8030B010 00307F70 38 60 00 00 */ li r3, 0 -/* 8030B014 00307F74 54 04 0F FE */ srwi r4, r0, 0x1f -/* 8030B018 00307F78 38 A0 00 00 */ li r5, 0 -/* 8030B01C 00307F7C 4B FF DC B1 */ bl SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn -/* 8030B020 00307F80 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8030B024 00307F84 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8030B028 00307F88 7C 08 03 A6 */ mtlr r0 -/* 8030B02C 00307F8C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8030B030 00307F90 4E 80 00 20 */ blr - -.global FlushStream__9CGraphicsFv -FlushStream__9CGraphicsFv: -/* 8030B034 00307F94 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 8030B038 00307F98 7C 08 02 A6 */ mflr r0 -/* 8030B03C 00307F9C 3C 60 80 5A */ lis r3, lbl_805A6170@ha -/* 8030B040 00307FA0 90 01 00 94 */ stw r0, 0x94(r1) -/* 8030B044 00307FA4 38 A1 00 38 */ addi r5, r1, 0x38 -/* 8030B048 00307FA8 93 E1 00 8C */ stw r31, 0x8c(r1) -/* 8030B04C 00307FAC 3B E3 61 70 */ addi r31, r3, lbl_805A6170@l -/* 8030B050 00307FB0 88 1F 00 2E */ lbz r0, 0x2e(r31) -/* 8030B054 00307FB4 80 82 C7 B8 */ lwz r4, lbl_805AE4D8@sda21(r2) -/* 8030B058 00307FB8 80 62 C7 BC */ lwz r3, lbl_805AE4DC@sda21(r2) -/* 8030B05C 00307FBC 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 8030B060 00307FC0 90 81 00 28 */ stw r4, 0x28(r1) -/* 8030B064 00307FC4 90 61 00 2C */ stw r3, 0x2c(r1) -/* 8030B068 00307FC8 90 81 00 30 */ stw r4, 0x30(r1) -/* 8030B06C 00307FCC 90 61 00 34 */ stw r3, 0x34(r1) -/* 8030B070 00307FD0 41 82 00 20 */ beq lbl_8030B090 -/* 8030B074 00307FD4 80 62 C7 C0 */ lwz r3, lbl_805AE4E0@sda21(r2) -/* 8030B078 00307FD8 38 A5 00 08 */ addi r5, r5, 8 -/* 8030B07C 00307FDC 80 02 C7 C4 */ lwz r0, lbl_805AE4E4@sda21(r2) -/* 8030B080 00307FE0 90 61 00 20 */ stw r3, 0x20(r1) -/* 8030B084 00307FE4 90 01 00 24 */ stw r0, 0x24(r1) -/* 8030B088 00307FE8 90 61 00 38 */ stw r3, 0x38(r1) -/* 8030B08C 00307FEC 90 01 00 3C */ stw r0, 0x3c(r1) -lbl_8030B090: -/* 8030B090 00307FF0 88 1F 00 2E */ lbz r0, 0x2e(r31) -/* 8030B094 00307FF4 54 00 07 BD */ rlwinm. r0, r0, 0, 0x1e, 0x1e -/* 8030B098 00307FF8 41 82 00 20 */ beq lbl_8030B0B8 -/* 8030B09C 00307FFC 80 62 C7 C8 */ lwz r3, lbl_805AE4E8@sda21(r2) -/* 8030B0A0 00308000 80 02 C7 CC */ lwz r0, lbl_805AE4EC@sda21(r2) -/* 8030B0A4 00308004 90 65 00 00 */ stw r3, 0(r5) -/* 8030B0A8 00308008 90 05 00 04 */ stw r0, 4(r5) -/* 8030B0AC 0030800C 38 A5 00 08 */ addi r5, r5, 8 -/* 8030B0B0 00308010 90 61 00 18 */ stw r3, 0x18(r1) -/* 8030B0B4 00308014 90 01 00 1C */ stw r0, 0x1c(r1) -lbl_8030B0B8: -/* 8030B0B8 00308018 88 1F 00 2E */ lbz r0, 0x2e(r31) -/* 8030B0BC 0030801C 54 00 07 7B */ rlwinm. r0, r0, 0, 0x1d, 0x1d -/* 8030B0C0 00308020 41 82 00 20 */ beq lbl_8030B0E0 -/* 8030B0C4 00308024 80 62 C7 D0 */ lwz r3, lbl_805AE4F0@sda21(r2) -/* 8030B0C8 00308028 80 02 C7 D4 */ lwz r0, lbl_805AE4F4@sda21(r2) -/* 8030B0CC 0030802C 90 65 00 00 */ stw r3, 0(r5) -/* 8030B0D0 00308030 90 05 00 04 */ stw r0, 4(r5) -/* 8030B0D4 00308034 38 A5 00 08 */ addi r5, r5, 8 -/* 8030B0D8 00308038 90 61 00 10 */ stw r3, 0x10(r1) -/* 8030B0DC 0030803C 90 01 00 14 */ stw r0, 0x14(r1) -lbl_8030B0E0: -/* 8030B0E0 00308040 80 82 C7 D8 */ lwz r4, lbl_805AE4F8@sda21(r2) -/* 8030B0E4 00308044 38 61 00 30 */ addi r3, r1, 0x30 -/* 8030B0E8 00308048 80 02 C7 DC */ lwz r0, lbl_805AE4FC@sda21(r2) -/* 8030B0EC 0030804C 90 85 00 00 */ stw r4, 0(r5) -/* 8030B0F0 00308050 90 81 00 08 */ stw r4, 8(r1) -/* 8030B0F4 00308054 90 01 00 0C */ stw r0, 0xc(r1) -/* 8030B0F8 00308058 90 05 00 04 */ stw r0, 4(r5) -/* 8030B0FC 0030805C 4B FF CD 2D */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList -/* 8030B100 00308060 88 7F 00 2E */ lbz r3, 0x2e(r31) -/* 8030B104 00308064 4B FF FD CD */ bl SetTevStates__9CGraphicsFUc -/* 8030B108 00308068 4B FF F3 79 */ bl FullRender__9CGraphicsFv -/* 8030B10C 0030806C 80 01 00 94 */ lwz r0, 0x94(r1) -/* 8030B110 00308070 83 E1 00 8C */ lwz r31, 0x8c(r1) -/* 8030B114 00308074 7C 08 03 A6 */ mtlr r0 -/* 8030B118 00308078 38 21 00 90 */ addi r1, r1, 0x90 -/* 8030B11C 0030807C 4E 80 00 20 */ blr - -.global ResetVertexDataStream__9CGraphicsFb -ResetVertexDataStream__9CGraphicsFb: -/* 8030B120 00308080 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8030B124 00308084 7C 08 02 A6 */ mflr r0 -/* 8030B128 00308088 90 01 00 14 */ stw r0, 0x14(r1) -/* 8030B12C 0030808C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8030B130 00308090 38 60 00 00 */ li r3, 0 -/* 8030B134 00308094 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8030B138 00308098 80 ED A7 C0 */ lwz r7, lbl_805A9380@sda21(r13) -/* 8030B13C 0030809C 80 CD A7 C4 */ lwz r6, lbl_805A9384@sda21(r13) -/* 8030B140 003080A0 80 AD A7 C8 */ lwz r5, lbl_805A9388@sda21(r13) -/* 8030B144 003080A4 80 8D A7 CC */ lwz r4, lbl_805A938C@sda21(r13) -/* 8030B148 003080A8 80 0D A7 D0 */ lwz r0, lbl_805A9390@sda21(r13) -/* 8030B14C 003080AC 90 ED A7 E4 */ stw r7, lbl_805A93A4@sda21(r13) -/* 8030B150 003080B0 90 CD A7 E8 */ stw r6, lbl_805A93A8@sda21(r13) -/* 8030B154 003080B4 90 AD A7 EC */ stw r5, lbl_805A93AC@sda21(r13) -/* 8030B158 003080B8 90 8D A7 F0 */ stw r4, lbl_805A93B0@sda21(r13) -/* 8030B15C 003080BC 90 0D A7 F4 */ stw r0, lbl_805A93B4@sda21(r13) -/* 8030B160 003080C0 90 6D A7 FC */ stw r3, lbl_805A93BC@sda21(r13) -/* 8030B164 003080C4 40 82 01 1C */ bne lbl_8030B280 -/* 8030B168 003080C8 80 0D 9C 74 */ lwz r0, lbl_805A8834@sda21(r13) -/* 8030B16C 003080CC 2C 00 00 A0 */ cmpwi r0, 0xa0 -/* 8030B170 003080D0 41 82 00 08 */ beq lbl_8030B178 -/* 8030B174 003080D4 48 00 01 04 */ b lbl_8030B278 -lbl_8030B178: -/* 8030B178 003080D8 38 67 00 0C */ addi r3, r7, 0xc -/* 8030B17C 003080DC 3C 80 80 5A */ lis r4, lbl_805A6170@ha -/* 8030B180 003080E0 90 6D A7 E4 */ stw r3, lbl_805A93A4@sda21(r13) -/* 8030B184 003080E4 38 84 61 70 */ addi r4, r4, lbl_805A6170@l -/* 8030B188 003080E8 38 A0 00 0C */ li r5, 0xc -/* 8030B18C 003080EC 4B CF 83 05 */ bl memcpy -/* 8030B190 003080F0 3C 60 80 5A */ lis r3, lbl_805A6170@ha -/* 8030B194 003080F4 80 8D A7 E4 */ lwz r4, lbl_805A93A4@sda21(r13) -/* 8030B198 003080F8 3B E3 61 70 */ addi r31, r3, lbl_805A6170@l -/* 8030B19C 003080FC 88 1F 00 2E */ lbz r0, 0x2e(r31) -/* 8030B1A0 00308100 38 64 00 0C */ addi r3, r4, 0xc -/* 8030B1A4 00308104 90 6D A7 E4 */ stw r3, lbl_805A93A4@sda21(r13) -/* 8030B1A8 00308108 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 8030B1AC 0030810C 41 82 00 28 */ beq lbl_8030B1D4 -/* 8030B1B0 00308110 80 6D A7 E8 */ lwz r3, lbl_805A93A8@sda21(r13) -/* 8030B1B4 00308114 38 9F 00 0C */ addi r4, r31, 0xc -/* 8030B1B8 00308118 38 A0 00 0C */ li r5, 0xc -/* 8030B1BC 0030811C 38 63 00 0C */ addi r3, r3, 0xc -/* 8030B1C0 00308120 90 6D A7 E8 */ stw r3, lbl_805A93A8@sda21(r13) -/* 8030B1C4 00308124 4B CF 82 CD */ bl memcpy -/* 8030B1C8 00308128 80 6D A7 E8 */ lwz r3, lbl_805A93A8@sda21(r13) -/* 8030B1CC 0030812C 38 03 00 0C */ addi r0, r3, 0xc -/* 8030B1D0 00308130 90 0D A7 E8 */ stw r0, lbl_805A93A8@sda21(r13) -lbl_8030B1D4: -/* 8030B1D4 00308134 88 1F 00 2E */ lbz r0, 0x2e(r31) -/* 8030B1D8 00308138 54 00 07 7B */ rlwinm. r0, r0, 0, 0x1d, 0x1d -/* 8030B1DC 0030813C 41 82 00 5C */ beq lbl_8030B238 -/* 8030B1E0 00308140 80 CD A7 EC */ lwz r6, lbl_805A93AC@sda21(r13) -/* 8030B1E4 00308144 3C 60 80 5A */ lis r3, lbl_805A6170@ha -/* 8030B1E8 00308148 38 83 61 70 */ addi r4, r3, lbl_805A6170@l -/* 8030B1EC 0030814C 38 A0 00 08 */ li r5, 8 -/* 8030B1F0 00308150 38 66 00 08 */ addi r3, r6, 8 -/* 8030B1F4 00308154 90 6D A7 EC */ stw r3, lbl_805A93AC@sda21(r13) -/* 8030B1F8 00308158 38 84 00 18 */ addi r4, r4, 0x18 -/* 8030B1FC 0030815C 4B CF 82 95 */ bl memcpy -/* 8030B200 00308160 80 AD A7 EC */ lwz r5, lbl_805A93AC@sda21(r13) -/* 8030B204 00308164 3C 60 80 5A */ lis r3, lbl_805A6170@ha -/* 8030B208 00308168 80 CD A7 F0 */ lwz r6, lbl_805A93B0@sda21(r13) -/* 8030B20C 0030816C 38 83 61 70 */ addi r4, r3, lbl_805A6170@l -/* 8030B210 00308170 38 05 00 08 */ addi r0, r5, 8 -/* 8030B214 00308174 38 A0 00 08 */ li r5, 8 -/* 8030B218 00308178 38 66 00 08 */ addi r3, r6, 8 -/* 8030B21C 0030817C 90 0D A7 EC */ stw r0, lbl_805A93AC@sda21(r13) -/* 8030B220 00308180 38 84 00 20 */ addi r4, r4, 0x20 -/* 8030B224 00308184 90 6D A7 F0 */ stw r3, lbl_805A93B0@sda21(r13) -/* 8030B228 00308188 4B CF 82 69 */ bl memcpy -/* 8030B22C 0030818C 80 6D A7 F0 */ lwz r3, lbl_805A93B0@sda21(r13) -/* 8030B230 00308190 38 03 00 08 */ addi r0, r3, 8 -/* 8030B234 00308194 90 0D A7 F0 */ stw r0, lbl_805A93B0@sda21(r13) -lbl_8030B238: -/* 8030B238 00308198 88 1F 00 2E */ lbz r0, 0x2e(r31) -/* 8030B23C 0030819C 54 00 07 BD */ rlwinm. r0, r0, 0, 0x1e, 0x1e -/* 8030B240 003081A0 41 82 00 2C */ beq lbl_8030B26C -/* 8030B244 003081A4 80 8D A7 F4 */ lwz r4, lbl_805A93B4@sda21(r13) -/* 8030B248 003081A8 3C 60 80 5A */ lis r3, lbl_805A6170@ha -/* 8030B24C 003081AC 38 63 61 70 */ addi r3, r3, lbl_805A6170@l -/* 8030B250 003081B0 38 84 00 04 */ addi r4, r4, 4 -/* 8030B254 003081B4 80 03 00 28 */ lwz r0, 0x28(r3) -/* 8030B258 003081B8 90 8D A7 F4 */ stw r4, lbl_805A93B4@sda21(r13) -/* 8030B25C 003081BC 90 04 00 00 */ stw r0, 0(r4) -/* 8030B260 003081C0 80 6D A7 F4 */ lwz r3, lbl_805A93B4@sda21(r13) -/* 8030B264 003081C4 38 03 00 04 */ addi r0, r3, 4 -/* 8030B268 003081C8 90 0D A7 F4 */ stw r0, lbl_805A93B4@sda21(r13) -lbl_8030B26C: -/* 8030B26C 003081CC 80 6D A7 FC */ lwz r3, lbl_805A93BC@sda21(r13) -/* 8030B270 003081D0 38 03 00 02 */ addi r0, r3, 2 -/* 8030B274 003081D4 90 0D A7 FC */ stw r0, lbl_805A93BC@sda21(r13) -lbl_8030B278: -/* 8030B278 003081D8 38 00 00 01 */ li r0, 1 -/* 8030B27C 003081DC 98 0D A7 D4 */ stb r0, lbl_805A9394@sda21(r13) -lbl_8030B280: -/* 8030B280 003081E0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8030B284 003081E4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8030B288 003081E8 7C 08 03 A6 */ mtlr r0 -/* 8030B28C 003081EC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8030B290 003081F0 4E 80 00 20 */ blr - -.global UpdateVertexDataStream__9CGraphicsFv -UpdateVertexDataStream__9CGraphicsFv: -/* 8030B294 003081F4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8030B298 003081F8 7C 08 02 A6 */ mflr r0 -/* 8030B29C 003081FC 3C 60 80 5A */ lis r3, lbl_805A6170@ha -/* 8030B2A0 00308200 90 01 00 14 */ stw r0, 0x14(r1) -/* 8030B2A4 00308204 38 A3 61 70 */ addi r5, r3, lbl_805A6170@l -/* 8030B2A8 00308208 80 8D A7 FC */ lwz r4, lbl_805A93BC@sda21(r13) -/* 8030B2AC 0030820C 80 6D A7 E4 */ lwz r3, lbl_805A93A4@sda21(r13) -/* 8030B2B0 00308210 38 04 00 01 */ addi r0, r4, 1 -/* 8030B2B4 00308214 C0 05 00 00 */ lfs f0, 0(r5) -/* 8030B2B8 00308218 90 0D A7 FC */ stw r0, lbl_805A93BC@sda21(r13) -/* 8030B2BC 0030821C D0 03 00 00 */ stfs f0, 0(r3) -/* 8030B2C0 00308220 C0 05 00 04 */ lfs f0, 4(r5) -/* 8030B2C4 00308224 80 6D A7 E4 */ lwz r3, lbl_805A93A4@sda21(r13) -/* 8030B2C8 00308228 D0 03 00 04 */ stfs f0, 4(r3) -/* 8030B2CC 0030822C C0 05 00 08 */ lfs f0, 8(r5) -/* 8030B2D0 00308230 80 6D A7 E4 */ lwz r3, lbl_805A93A4@sda21(r13) -/* 8030B2D4 00308234 D0 03 00 08 */ stfs f0, 8(r3) -/* 8030B2D8 00308238 88 05 00 2E */ lbz r0, 0x2e(r5) -/* 8030B2DC 0030823C 80 6D A7 E4 */ lwz r3, lbl_805A93A4@sda21(r13) -/* 8030B2E0 00308240 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 8030B2E4 00308244 38 63 00 0C */ addi r3, r3, 0xc -/* 8030B2E8 00308248 90 6D A7 E4 */ stw r3, lbl_805A93A4@sda21(r13) -/* 8030B2EC 0030824C 41 82 00 34 */ beq lbl_8030B320 -/* 8030B2F0 00308250 C0 05 00 0C */ lfs f0, 0xc(r5) -/* 8030B2F4 00308254 80 6D A7 E8 */ lwz r3, lbl_805A93A8@sda21(r13) -/* 8030B2F8 00308258 D0 03 00 00 */ stfs f0, 0(r3) -/* 8030B2FC 0030825C C0 05 00 10 */ lfs f0, 0x10(r5) -/* 8030B300 00308260 80 6D A7 E8 */ lwz r3, lbl_805A93A8@sda21(r13) -/* 8030B304 00308264 D0 03 00 04 */ stfs f0, 4(r3) -/* 8030B308 00308268 C0 05 00 14 */ lfs f0, 0x14(r5) -/* 8030B30C 0030826C 80 6D A7 E8 */ lwz r3, lbl_805A93A8@sda21(r13) -/* 8030B310 00308270 D0 03 00 08 */ stfs f0, 8(r3) -/* 8030B314 00308274 80 6D A7 E8 */ lwz r3, lbl_805A93A8@sda21(r13) -/* 8030B318 00308278 38 03 00 0C */ addi r0, r3, 0xc -/* 8030B31C 0030827C 90 0D A7 E8 */ stw r0, lbl_805A93A8@sda21(r13) -lbl_8030B320: -/* 8030B320 00308280 88 05 00 2E */ lbz r0, 0x2e(r5) -/* 8030B324 00308284 54 00 07 7B */ rlwinm. r0, r0, 0, 0x1d, 0x1d -/* 8030B328 00308288 41 82 00 54 */ beq lbl_8030B37C -/* 8030B32C 0030828C 3C 80 80 5A */ lis r4, lbl_805A6170@ha -/* 8030B330 00308290 80 6D A7 EC */ lwz r3, lbl_805A93AC@sda21(r13) -/* 8030B334 00308294 38 84 61 70 */ addi r4, r4, lbl_805A6170@l -/* 8030B338 00308298 C0 04 00 18 */ lfs f0, 0x18(r4) -/* 8030B33C 0030829C D0 03 00 00 */ stfs f0, 0(r3) -/* 8030B340 003082A0 C0 04 00 1C */ lfs f0, 0x1c(r4) -/* 8030B344 003082A4 80 6D A7 EC */ lwz r3, lbl_805A93AC@sda21(r13) -/* 8030B348 003082A8 D0 03 00 04 */ stfs f0, 4(r3) -/* 8030B34C 003082AC 80 6D A7 EC */ lwz r3, lbl_805A93AC@sda21(r13) -/* 8030B350 003082B0 C0 04 00 20 */ lfs f0, 0x20(r4) -/* 8030B354 003082B4 38 03 00 08 */ addi r0, r3, 8 -/* 8030B358 003082B8 80 6D A7 F0 */ lwz r3, lbl_805A93B0@sda21(r13) -/* 8030B35C 003082BC 90 0D A7 EC */ stw r0, lbl_805A93AC@sda21(r13) -/* 8030B360 003082C0 D0 03 00 00 */ stfs f0, 0(r3) -/* 8030B364 003082C4 C0 04 00 24 */ lfs f0, 0x24(r4) -/* 8030B368 003082C8 80 6D A7 F0 */ lwz r3, lbl_805A93B0@sda21(r13) -/* 8030B36C 003082CC D0 03 00 04 */ stfs f0, 4(r3) -/* 8030B370 003082D0 80 6D A7 F0 */ lwz r3, lbl_805A93B0@sda21(r13) -/* 8030B374 003082D4 38 03 00 08 */ addi r0, r3, 8 -/* 8030B378 003082D8 90 0D A7 F0 */ stw r0, lbl_805A93B0@sda21(r13) -lbl_8030B37C: -/* 8030B37C 003082DC 88 05 00 2E */ lbz r0, 0x2e(r5) -/* 8030B380 003082E0 54 00 07 BD */ rlwinm. r0, r0, 0, 0x1e, 0x1e -/* 8030B384 003082E4 41 82 00 24 */ beq lbl_8030B3A8 -/* 8030B388 003082E8 3C 80 80 5A */ lis r4, lbl_805A6170@ha -/* 8030B38C 003082EC 80 6D A7 F4 */ lwz r3, lbl_805A93B4@sda21(r13) -/* 8030B390 003082F0 38 84 61 70 */ addi r4, r4, lbl_805A6170@l -/* 8030B394 003082F4 80 04 00 28 */ lwz r0, 0x28(r4) -/* 8030B398 003082F8 90 03 00 00 */ stw r0, 0(r3) -/* 8030B39C 003082FC 80 6D A7 F4 */ lwz r3, lbl_805A93B4@sda21(r13) -/* 8030B3A0 00308300 38 03 00 04 */ addi r0, r3, 4 -/* 8030B3A4 00308304 90 0D A7 F4 */ stw r0, lbl_805A93B4@sda21(r13) -lbl_8030B3A8: -/* 8030B3A8 00308308 80 0D A7 FC */ lwz r0, lbl_805A93BC@sda21(r13) -/* 8030B3AC 0030830C 38 60 00 00 */ li r3, 0 -/* 8030B3B0 00308310 98 6D A7 D4 */ stb r3, lbl_805A9394@sda21(r13) -/* 8030B3B4 00308314 2C 00 00 F0 */ cmpwi r0, 0xf0 -/* 8030B3B8 00308318 40 82 00 10 */ bne lbl_8030B3C8 -/* 8030B3BC 0030831C 4B FF FC 79 */ bl FlushStream__9CGraphicsFv -/* 8030B3C0 00308320 38 60 00 00 */ li r3, 0 -/* 8030B3C4 00308324 4B FF FD 5D */ bl ResetVertexDataStream__9CGraphicsFb -lbl_8030B3C8: -/* 8030B3C8 00308328 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8030B3CC 0030832C 7C 08 03 A6 */ mtlr r0 -/* 8030B3D0 00308330 38 21 00 10 */ addi r1, r1, 0x10 -/* 8030B3D4 00308334 4E 80 00 20 */ blr - -.global SetLineWidth__9CGraphicsFf13ERglTexOffset -SetLineWidth__9CGraphicsFf13ERglTexOffset: -/* 8030B3D8 00308338 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8030B3DC 0030833C 7C 08 02 A6 */ mflr r0 -/* 8030B3E0 00308340 C0 02 C8 00 */ lfs f0, lbl_805AE520@sda21(r2) -/* 8030B3E4 00308344 7C 64 1B 78 */ mr r4, r3 -/* 8030B3E8 00308348 90 01 00 14 */ stw r0, 0x14(r1) -/* 8030B3EC 0030834C EC 00 00 72 */ fmuls f0, f0, f1 -/* 8030B3F0 00308350 FC 00 00 1E */ fctiwz f0, f0 -/* 8030B3F4 00308354 D8 01 00 08 */ stfd f0, 8(r1) -/* 8030B3F8 00308358 80 61 00 0C */ lwz r3, 0xc(r1) -/* 8030B3FC 0030835C 4B FF D0 BD */ bl SetLineWidth__3CGXFUc12_GXTexOffset -/* 8030B400 00308360 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8030B404 00308364 7C 08 03 A6 */ mtlr r0 -/* 8030B408 00308368 38 21 00 10 */ addi r1, r1, 0x10 -/* 8030B40C 0030836C 4E 80 00 20 */ blr - -.global StreamEnd__9CGraphicsFv -StreamEnd__9CGraphicsFv: -/* 8030B410 00308370 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8030B414 00308374 7C 08 02 A6 */ mflr r0 -/* 8030B418 00308378 90 01 00 14 */ stw r0, 0x14(r1) -/* 8030B41C 0030837C 80 0D A7 FC */ lwz r0, lbl_805A93BC@sda21(r13) -/* 8030B420 00308380 2C 00 00 00 */ cmpwi r0, 0 -/* 8030B424 00308384 41 82 00 08 */ beq lbl_8030B42C -/* 8030B428 00308388 4B FF FC 0D */ bl FlushStream__9CGraphicsFv -lbl_8030B42C: -/* 8030B42C 0030838C 3C 60 80 5A */ lis r3, lbl_805A6170@ha -/* 8030B430 00308390 38 00 00 00 */ li r0, 0 -/* 8030B434 00308394 38 63 61 70 */ addi r3, r3, lbl_805A6170@l -/* 8030B438 00308398 90 0D A7 C0 */ stw r0, lbl_805A9380@sda21(r13) -/* 8030B43C 0030839C 98 03 00 2E */ stb r0, 0x2e(r3) -/* 8030B440 003083A0 B0 03 00 2C */ sth r0, 0x2c(r3) -/* 8030B444 003083A4 90 0D A7 C4 */ stw r0, lbl_805A9384@sda21(r13) -/* 8030B448 003083A8 90 0D A7 C8 */ stw r0, lbl_805A9388@sda21(r13) -/* 8030B44C 003083AC 90 0D A7 CC */ stw r0, lbl_805A938C@sda21(r13) -/* 8030B450 003083B0 90 0D A7 D0 */ stw r0, lbl_805A9390@sda21(r13) -/* 8030B454 003083B4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8030B458 003083B8 7C 08 03 A6 */ mtlr r0 -/* 8030B45C 003083BC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8030B460 003083C0 4E 80 00 20 */ blr - -.global StreamTexcoord__9CGraphicsFff -StreamTexcoord__9CGraphicsFff: -/* 8030B464 003083C4 3C 80 80 5A */ lis r4, lbl_805A6170@ha -/* 8030B468 003083C8 88 62 C8 04 */ lbz r3, lbl_805AE524@sda21(r2) -/* 8030B46C 003083CC 38 A4 61 70 */ addi r5, r4, lbl_805A6170@l -/* 8030B470 003083D0 88 85 00 2E */ lbz r4, 0x2e(r5) -/* 8030B474 003083D4 A0 05 00 2C */ lhz r0, 0x2c(r5) -/* 8030B478 003083D8 7C 83 1B 78 */ or r3, r4, r3 -/* 8030B47C 003083DC D0 25 00 18 */ stfs f1, 0x18(r5) -/* 8030B480 003083E0 60 00 00 01 */ ori r0, r0, 1 -/* 8030B484 003083E4 D0 45 00 1C */ stfs f2, 0x1c(r5) -/* 8030B488 003083E8 98 65 00 2E */ stb r3, 0x2e(r5) -/* 8030B48C 003083EC B0 05 00 2C */ sth r0, 0x2c(r5) -/* 8030B490 003083F0 4E 80 00 20 */ blr - -.global StreamTexcoord__9CGraphicsFRC9CVector2f -StreamTexcoord__9CGraphicsFRC9CVector2f: -/* 8030B494 003083F4 3C A0 80 5A */ lis r5, lbl_805A6170@ha -/* 8030B498 003083F8 88 82 C8 04 */ lbz r4, lbl_805AE524@sda21(r2) -/* 8030B49C 003083FC 38 C5 61 70 */ addi r6, r5, lbl_805A6170@l -/* 8030B4A0 00308400 C0 23 00 00 */ lfs f1, 0(r3) -/* 8030B4A4 00308404 A0 06 00 2C */ lhz r0, 0x2c(r6) -/* 8030B4A8 00308408 C0 03 00 04 */ lfs f0, 4(r3) -/* 8030B4AC 0030840C 88 A6 00 2E */ lbz r5, 0x2e(r6) -/* 8030B4B0 00308410 60 00 00 01 */ ori r0, r0, 1 -/* 8030B4B4 00308414 D0 26 00 18 */ stfs f1, 0x18(r6) -/* 8030B4B8 00308418 7C A3 23 78 */ or r3, r5, r4 -/* 8030B4BC 0030841C D0 06 00 1C */ stfs f0, 0x1c(r6) -/* 8030B4C0 00308420 98 66 00 2E */ stb r3, 0x2e(r6) -/* 8030B4C4 00308424 B0 06 00 2C */ sth r0, 0x2c(r6) -/* 8030B4C8 00308428 4E 80 00 20 */ blr - -.global StreamColor__9CGraphicsFffff -StreamColor__9CGraphicsFffff: -/* 8030B4CC 0030842C C0 A2 C8 08 */ lfs f5, lbl_805AE528@sda21(r2) -/* 8030B4D0 00308430 3C 60 80 5A */ lis r3, lbl_805A6170@ha -/* 8030B4D4 00308434 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8030B4D8 00308438 38 83 61 70 */ addi r4, r3, lbl_805A6170@l -/* 8030B4DC 0030843C EC 05 00 B2 */ fmuls f0, f5, f2 -/* 8030B4E0 00308440 88 02 C8 05 */ lbz r0, lbl_805AE525@sda21(r2) -/* 8030B4E4 00308444 EC 25 00 72 */ fmuls f1, f5, f1 -/* 8030B4E8 00308448 88 64 00 2E */ lbz r3, 0x2e(r4) -/* 8030B4EC 0030844C EC 45 00 F2 */ fmuls f2, f5, f3 -/* 8030B4F0 00308450 FC 00 00 1E */ fctiwz f0, f0 -/* 8030B4F4 00308454 FC 20 08 1E */ fctiwz f1, f1 -/* 8030B4F8 00308458 7C 60 03 78 */ or r0, r3, r0 -/* 8030B4FC 0030845C FC 40 10 1E */ fctiwz f2, f2 -/* 8030B500 00308460 98 04 00 2E */ stb r0, 0x2e(r4) -/* 8030B504 00308464 EC 65 01 32 */ fmuls f3, f5, f4 -/* 8030B508 00308468 D8 01 00 20 */ stfd f0, 0x20(r1) -/* 8030B50C 0030846C D8 21 00 18 */ stfd f1, 0x18(r1) -/* 8030B510 00308470 FC 00 18 1E */ fctiwz f0, f3 -/* 8030B514 00308474 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8030B518 00308478 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 8030B51C 0030847C 54 00 82 1E */ rlwinm r0, r0, 0x10, 8, 0xf -/* 8030B520 00308480 D8 41 00 10 */ stfd f2, 0x10(r1) -/* 8030B524 00308484 50 60 C0 0E */ rlwimi r0, r3, 0x18, 0, 7 -/* 8030B528 00308488 80 61 00 14 */ lwz r3, 0x14(r1) -/* 8030B52C 0030848C D8 01 00 08 */ stfd f0, 8(r1) -/* 8030B530 00308490 50 60 44 2E */ rlwimi r0, r3, 8, 0x10, 0x17 -/* 8030B534 00308494 80 61 00 0C */ lwz r3, 0xc(r1) -/* 8030B538 00308498 50 60 06 3E */ rlwimi r0, r3, 0, 0x18, 0x1f -/* 8030B53C 0030849C 90 04 00 28 */ stw r0, 0x28(r4) -/* 8030B540 003084A0 38 21 00 30 */ addi r1, r1, 0x30 -/* 8030B544 003084A4 4E 80 00 20 */ blr - -.global StreamColor__9CGraphicsFRC6CColor -StreamColor__9CGraphicsFRC6CColor: -/* 8030B548 003084A8 3C 80 80 5A */ lis r4, lbl_805A6170@ha -/* 8030B54C 003084AC 88 02 C8 05 */ lbz r0, lbl_805AE525@sda21(r2) -/* 8030B550 003084B0 38 84 61 70 */ addi r4, r4, lbl_805A6170@l -/* 8030B554 003084B4 80 A3 00 00 */ lwz r5, 0(r3) -/* 8030B558 003084B8 88 64 00 2E */ lbz r3, 0x2e(r4) -/* 8030B55C 003084BC 90 A4 00 28 */ stw r5, 0x28(r4) -/* 8030B560 003084C0 7C 60 03 78 */ or r0, r3, r0 -/* 8030B564 003084C4 98 04 00 2E */ stb r0, 0x2e(r4) -/* 8030B568 003084C8 4E 80 00 20 */ blr - -.global StreamColor__9CGraphicsFUi -StreamColor__9CGraphicsFUi: -/* 8030B56C 003084CC 3C 80 80 5A */ lis r4, lbl_805A6170@ha -/* 8030B570 003084D0 88 02 C8 05 */ lbz r0, lbl_805AE525@sda21(r2) -/* 8030B574 003084D4 38 A4 61 70 */ addi r5, r4, lbl_805A6170@l -/* 8030B578 003084D8 88 85 00 2E */ lbz r4, 0x2e(r5) -/* 8030B57C 003084DC 90 65 00 28 */ stw r3, 0x28(r5) -/* 8030B580 003084E0 7C 80 03 78 */ or r0, r4, r0 -/* 8030B584 003084E4 98 05 00 2E */ stb r0, 0x2e(r5) -/* 8030B588 003084E8 4E 80 00 20 */ blr - -.global StreamNormal__9CGraphicsFPCf -StreamNormal__9CGraphicsFPCf: -/* 8030B58C 003084EC 3C 80 80 5A */ lis r4, lbl_805A6170@ha -/* 8030B590 003084F0 88 02 C8 0C */ lbz r0, lbl_805AE52C@sda21(r2) -/* 8030B594 003084F4 38 A4 61 70 */ addi r5, r4, lbl_805A6170@l -/* 8030B598 003084F8 C0 43 00 00 */ lfs f2, 0(r3) -/* 8030B59C 003084FC 88 85 00 2E */ lbz r4, 0x2e(r5) -/* 8030B5A0 00308500 C0 23 00 04 */ lfs f1, 4(r3) -/* 8030B5A4 00308504 C0 03 00 08 */ lfs f0, 8(r3) -/* 8030B5A8 00308508 7C 80 03 78 */ or r0, r4, r0 -/* 8030B5AC 0030850C D0 45 00 0C */ stfs f2, 0xc(r5) -/* 8030B5B0 00308510 D0 25 00 10 */ stfs f1, 0x10(r5) -/* 8030B5B4 00308514 D0 05 00 14 */ stfs f0, 0x14(r5) -/* 8030B5B8 00308518 98 05 00 2E */ stb r0, 0x2e(r5) -/* 8030B5BC 0030851C 4E 80 00 20 */ blr - -.global StreamVertex__9CGraphicsFRC9CVector3f -StreamVertex__9CGraphicsFRC9CVector3f: -/* 8030B5C0 00308520 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8030B5C4 00308524 7C 08 02 A6 */ mflr r0 -/* 8030B5C8 00308528 3C 80 80 5A */ lis r4, lbl_805A6170@ha -/* 8030B5CC 0030852C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8030B5D0 00308530 C0 43 00 00 */ lfs f2, 0(r3) -/* 8030B5D4 00308534 C0 23 00 04 */ lfs f1, 4(r3) -/* 8030B5D8 00308538 D4 44 61 70 */ stfsu f2, lbl_805A6170@l(r4) -/* 8030B5DC 0030853C C0 03 00 08 */ lfs f0, 8(r3) -/* 8030B5E0 00308540 D0 24 00 04 */ stfs f1, 4(r4) -/* 8030B5E4 00308544 D0 04 00 08 */ stfs f0, 8(r4) -/* 8030B5E8 00308548 4B FF FC AD */ bl UpdateVertexDataStream__9CGraphicsFv -/* 8030B5EC 0030854C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8030B5F0 00308550 7C 08 03 A6 */ mtlr r0 -/* 8030B5F4 00308554 38 21 00 10 */ addi r1, r1, 0x10 -/* 8030B5F8 00308558 4E 80 00 20 */ blr - -.global StreamVertex__9CGraphicsFPCf -StreamVertex__9CGraphicsFPCf: -/* 8030B5FC 0030855C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8030B600 00308560 7C 08 02 A6 */ mflr r0 -/* 8030B604 00308564 3C 80 80 5A */ lis r4, lbl_805A6170@ha -/* 8030B608 00308568 90 01 00 14 */ stw r0, 0x14(r1) -/* 8030B60C 0030856C C0 43 00 00 */ lfs f2, 0(r3) -/* 8030B610 00308570 C0 23 00 04 */ lfs f1, 4(r3) -/* 8030B614 00308574 D4 44 61 70 */ stfsu f2, lbl_805A6170@l(r4) -/* 8030B618 00308578 C0 03 00 08 */ lfs f0, 8(r3) -/* 8030B61C 0030857C D0 24 00 04 */ stfs f1, 4(r4) -/* 8030B620 00308580 D0 04 00 08 */ stfs f0, 8(r4) -/* 8030B624 00308584 4B FF FC 71 */ bl UpdateVertexDataStream__9CGraphicsFv -/* 8030B628 00308588 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8030B62C 0030858C 7C 08 03 A6 */ mtlr r0 -/* 8030B630 00308590 38 21 00 10 */ addi r1, r1, 0x10 -/* 8030B634 00308594 4E 80 00 20 */ blr - -.global StreamVertex__9CGraphicsFfff -StreamVertex__9CGraphicsFfff: -/* 8030B638 00308598 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8030B63C 0030859C 7C 08 02 A6 */ mflr r0 -/* 8030B640 003085A0 3C 60 80 5A */ lis r3, lbl_805A6170@ha -/* 8030B644 003085A4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8030B648 003085A8 D4 23 61 70 */ stfsu f1, lbl_805A6170@l(r3) -/* 8030B64C 003085AC D0 43 00 04 */ stfs f2, 4(r3) -/* 8030B650 003085B0 D0 63 00 08 */ stfs f3, 8(r3) -/* 8030B654 003085B4 4B FF FC 41 */ bl UpdateVertexDataStream__9CGraphicsFv -/* 8030B658 003085B8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8030B65C 003085BC 7C 08 03 A6 */ mtlr r0 -/* 8030B660 003085C0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8030B664 003085C4 4E 80 00 20 */ blr - -.global StreamBegin__9CGraphicsF13ERglPrimitive -StreamBegin__9CGraphicsF13ERglPrimitive: -/* 8030B668 003085C8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8030B66C 003085CC 7C 08 02 A6 */ mflr r0 -/* 8030B670 003085D0 3C C0 E0 00 */ lis r6, 0xE0000788@ha -/* 8030B674 003085D4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8030B678 003085D8 38 A6 07 88 */ addi r5, r6, 0xE0000788@l -/* 8030B67C 003085DC 38 86 0F 10 */ addi r4, r6, 0xf10 -/* 8030B680 003085E0 38 06 16 98 */ addi r0, r6, 0x1698 -/* 8030B684 003085E4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8030B688 003085E8 7C 7F 1B 78 */ mr r31, r3 -/* 8030B68C 003085EC 38 66 03 C4 */ addi r3, r6, 0x3c4 -/* 8030B690 003085F0 90 6D A7 C4 */ stw r3, lbl_805A9384@sda21(r13) -/* 8030B694 003085F4 38 60 00 01 */ li r3, 1 -/* 8030B698 003085F8 90 CD A7 C0 */ stw r6, lbl_805A9380@sda21(r13) -/* 8030B69C 003085FC 90 AD A7 C8 */ stw r5, lbl_805A9388@sda21(r13) -/* 8030B6A0 00308600 90 8D A7 CC */ stw r4, lbl_805A938C@sda21(r13) -/* 8030B6A4 00308604 90 0D A7 D0 */ stw r0, lbl_805A9390@sda21(r13) -/* 8030B6A8 00308608 4B FF FA 79 */ bl ResetVertexDataStream__9CGraphicsFb -/* 8030B6AC 0030860C 3C 60 80 5A */ lis r3, lbl_805A6170@ha -/* 8030B6B0 00308610 38 00 00 02 */ li r0, 2 -/* 8030B6B4 00308614 38 63 61 70 */ addi r3, r3, lbl_805A6170@l -/* 8030B6B8 00308618 93 ED 9C 74 */ stw r31, lbl_805A8834@sda21(r13) -/* 8030B6BC 0030861C 98 03 00 2E */ stb r0, 0x2e(r3) -/* 8030B6C0 00308620 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8030B6C4 00308624 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8030B6C8 00308628 7C 08 03 A6 */ mtlr r0 -/* 8030B6CC 0030862C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8030B6D0 00308630 4E 80 00 20 */ blr - -.global DrawPrimitive__9CGraphicsF13ERglPrimitivePCfRC9CVector3fRC6CColori -DrawPrimitive__9CGraphicsF13ERglPrimitivePCfRC9CVector3fRC6CColori: -/* 8030B6D4 00308634 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8030B6D8 00308638 7C 08 02 A6 */ mflr r0 -/* 8030B6DC 0030863C 90 01 00 24 */ stw r0, 0x24(r1) -/* 8030B6E0 00308640 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8030B6E4 00308644 7C BF 2B 78 */ mr r31, r5 -/* 8030B6E8 00308648 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8030B6EC 0030864C 7C DE 33 78 */ mr r30, r6 -/* 8030B6F0 00308650 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8030B6F4 00308654 7C FD 3B 78 */ mr r29, r7 -/* 8030B6F8 00308658 93 81 00 10 */ stw r28, 0x10(r1) -/* 8030B6FC 0030865C 7C 9C 23 78 */ mr r28, r4 -/* 8030B700 00308660 4B FF FF 69 */ bl StreamBegin__9CGraphicsF13ERglPrimitive -/* 8030B704 00308664 7F E3 FB 78 */ mr r3, r31 -/* 8030B708 00308668 4B FF FE 85 */ bl StreamNormal__9CGraphicsFPCf -/* 8030B70C 0030866C 7F C3 F3 78 */ mr r3, r30 -/* 8030B710 00308670 4B FF FE 39 */ bl StreamColor__9CGraphicsFRC6CColor -/* 8030B714 00308674 7F 9F E3 78 */ mr r31, r28 -/* 8030B718 00308678 3B C0 00 00 */ li r30, 0 -/* 8030B71C 0030867C 48 00 00 14 */ b lbl_8030B730 -lbl_8030B720: -/* 8030B720 00308680 7F E3 FB 78 */ mr r3, r31 -/* 8030B724 00308684 4B FF FE D9 */ bl StreamVertex__9CGraphicsFPCf -/* 8030B728 00308688 3B FF 00 0C */ addi r31, r31, 0xc -/* 8030B72C 0030868C 3B DE 00 01 */ addi r30, r30, 1 -lbl_8030B730: -/* 8030B730 00308690 7C 1E E8 00 */ cmpw r30, r29 -/* 8030B734 00308694 41 80 FF EC */ blt lbl_8030B720 -/* 8030B738 00308698 4B FF FC D9 */ bl StreamEnd__9CGraphicsFv -/* 8030B73C 0030869C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8030B740 003086A0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8030B744 003086A4 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8030B748 003086A8 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8030B74C 003086AC 83 81 00 10 */ lwz r28, 0x10(r1) -/* 8030B750 003086B0 7C 08 03 A6 */ mtlr r0 -/* 8030B754 003086B4 38 21 00 20 */ addi r1, r1, 0x20 -/* 8030B758 003086B8 4E 80 00 20 */ blr - -.global Render2D__9CGraphicsFRC8CTextureiiiiRC6CColor -Render2D__9CGraphicsFRC8CTextureiiiiRC6CColor: -/* 8030B75C 003086BC 94 21 FE E0 */ stwu r1, -0x120(r1) -/* 8030B760 003086C0 7C 08 02 A6 */ mflr r0 -/* 8030B764 003086C4 90 01 01 24 */ stw r0, 0x124(r1) -/* 8030B768 003086C8 DB E1 01 10 */ stfd f31, 0x110(r1) -/* 8030B76C 003086CC F3 E1 01 18 */ psq_st f31, 280(r1), 0, qr0 -/* 8030B770 003086D0 DB C1 01 00 */ stfd f30, 0x100(r1) -/* 8030B774 003086D4 F3 C1 01 08 */ psq_st f30, 264(r1), 0, qr0 -/* 8030B778 003086D8 DB A1 00 F0 */ stfd f29, 0xf0(r1) -/* 8030B77C 003086DC F3 A1 00 F8 */ psq_st f29, 248(r1), 0, qr0 -/* 8030B780 003086E0 DB 81 00 E0 */ stfd f28, 0xe0(r1) -/* 8030B784 003086E4 F3 81 00 E8 */ psq_st f28, 232(r1), 0, qr0 -/* 8030B788 003086E8 BF 21 00 C4 */ stmw r25, 0xc4(r1) -/* 8030B78C 003086EC 3D 20 80 3F */ lis r9, lbl_803ED910@ha -/* 8030B790 003086F0 3D 40 43 30 */ lis r10, 0x4330 -/* 8030B794 003086F4 3B E9 D9 10 */ addi r31, r9, lbl_803ED910@l -/* 8030B798 003086F8 7C 7B 1B 78 */ mr r27, r3 -/* 8030B79C 003086FC 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 8030B7A0 00308700 7C 9C 23 78 */ mr r28, r4 -/* 8030B7A4 00308704 81 9F 00 08 */ lwz r12, 8(r31) -/* 8030B7A8 00308708 7C BD 2B 78 */ mr r29, r5 -/* 8030B7AC 0030870C 54 60 0F FE */ srwi r0, r3, 0x1f -/* 8030B7B0 00308710 7D 23 00 D0 */ neg r9, r3 -/* 8030B7B4 00308714 7C 60 1A 14 */ add r3, r0, r3 -/* 8030B7B8 00308718 7C 8C 00 D0 */ neg r4, r12 -/* 8030B7BC 0030871C 55 25 0F FE */ srwi r5, r9, 0x1f -/* 8030B7C0 00308720 55 80 0F FE */ srwi r0, r12, 0x1f -/* 8030B7C4 00308724 7C 6B 0E 70 */ srawi r11, r3, 1 -/* 8030B7C8 00308728 54 83 0F FE */ srwi r3, r4, 0x1f -/* 8030B7CC 0030872C 7C A5 4A 14 */ add r5, r5, r9 -/* 8030B7D0 00308730 7C 00 62 14 */ add r0, r0, r12 -/* 8030B7D4 00308734 7C A5 0E 70 */ srawi r5, r5, 1 -/* 8030B7D8 00308738 7C 63 22 14 */ add r3, r3, r4 -/* 8030B7DC 0030873C 7C 63 0E 70 */ srawi r3, r3, 1 -/* 8030B7E0 00308740 6D 69 80 00 */ xoris r9, r11, 0x8000 -/* 8030B7E4 00308744 7C 00 0E 70 */ srawi r0, r0, 1 -/* 8030B7E8 00308748 6C A5 80 00 */ xoris r5, r5, 0x8000 -/* 8030B7EC 0030874C 6C 64 80 00 */ xoris r4, r3, 0x8000 -/* 8030B7F0 00308750 91 21 00 7C */ stw r9, 0x7c(r1) -/* 8030B7F4 00308754 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 8030B7F8 00308758 C8 82 C7 E8 */ lfd f4, lbl_805AE508@sda21(r2) -/* 8030B7FC 0030875C 91 41 00 78 */ stw r10, 0x78(r1) -/* 8030B800 00308760 7C D9 33 78 */ mr r25, r6 -/* 8030B804 00308764 C0 A2 C8 14 */ lfs f5, lbl_805AE534@sda21(r2) -/* 8030B808 00308768 7C FA 3B 78 */ mr r26, r7 -/* 8030B80C 0030876C C8 01 00 78 */ lfd f0, 0x78(r1) -/* 8030B810 00308770 7D 1E 43 78 */ mr r30, r8 -/* 8030B814 00308774 90 A1 00 84 */ stw r5, 0x84(r1) -/* 8030B818 00308778 38 61 00 38 */ addi r3, r1, 0x38 -/* 8030B81C 0030877C EC 20 20 28 */ fsubs f1, f0, f4 -/* 8030B820 00308780 C0 C2 C8 18 */ lfs f6, lbl_805AE538@sda21(r2) -/* 8030B824 00308784 91 41 00 80 */ stw r10, 0x80(r1) -/* 8030B828 00308788 C8 01 00 80 */ lfd f0, 0x80(r1) -/* 8030B82C 0030878C 90 81 00 8C */ stw r4, 0x8c(r1) -/* 8030B830 00308790 EC 40 20 28 */ fsubs f2, f0, f4 -/* 8030B834 00308794 91 41 00 88 */ stw r10, 0x88(r1) -/* 8030B838 00308798 C8 01 00 88 */ lfd f0, 0x88(r1) -/* 8030B83C 0030879C 90 01 00 94 */ stw r0, 0x94(r1) -/* 8030B840 003087A0 EC 60 20 28 */ fsubs f3, f0, f4 -/* 8030B844 003087A4 91 41 00 90 */ stw r10, 0x90(r1) -/* 8030B848 003087A8 C8 01 00 90 */ lfd f0, 0x90(r1) -/* 8030B84C 003087AC EC 80 20 28 */ fsubs f4, f0, f4 -/* 8030B850 003087B0 48 07 1D 69 */ bl C_MTXOrtho -/* 8030B854 003087B4 38 61 00 38 */ addi r3, r1, 0x38 -/* 8030B858 003087B8 38 80 00 01 */ li r4, 1 -/* 8030B85C 003087BC 48 07 09 E9 */ bl GXSetProjection -/* 8030B860 003087C0 83 DE 00 00 */ lwz r30, 0(r30) -/* 8030B864 003087C4 38 61 00 08 */ addi r3, r1, 8 -/* 8030B868 003087C8 48 07 17 D9 */ bl PSMTXIdentity -/* 8030B86C 003087CC 38 61 00 08 */ addi r3, r1, 8 -/* 8030B870 003087D0 38 80 00 00 */ li r4, 0 -/* 8030B874 003087D4 48 07 0B 45 */ bl GXLoadPosMtxImm -/* 8030B878 003087D8 80 BF 00 08 */ lwz r5, 8(r31) -/* 8030B87C 003087DC 3C E0 43 30 */ lis r7, 0x4330 -/* 8030B880 003087E0 80 DF 00 0C */ lwz r6, 0xc(r31) -/* 8030B884 003087E4 6F 24 80 00 */ xoris r4, r25, 0x8000 -/* 8030B888 003087E8 54 A3 0F FE */ srwi r3, r5, 0x1f -/* 8030B88C 003087EC 6F 40 80 00 */ xoris r0, r26, 0x8000 -/* 8030B890 003087F0 7C 63 2A 14 */ add r3, r3, r5 -/* 8030B894 003087F4 54 C5 0F FE */ srwi r5, r6, 0x1f -/* 8030B898 003087F8 7C 68 0E 70 */ srawi r8, r3, 1 -/* 8030B89C 003087FC 90 E1 00 A0 */ stw r7, 0xa0(r1) -/* 8030B8A0 00308800 7C A5 32 14 */ add r5, r5, r6 -/* 8030B8A4 00308804 3C 60 80 3D */ lis r3, lbl_803D73C8@ha -/* 8030B8A8 00308808 7C A5 0E 70 */ srawi r5, r5, 1 -/* 8030B8AC 0030880C 7C C8 E0 50 */ subf r6, r8, r28 -/* 8030B8B0 00308810 7C A5 E8 50 */ subf r5, r5, r29 -/* 8030B8B4 00308814 90 E1 00 98 */ stw r7, 0x98(r1) -/* 8030B8B8 00308818 6C A5 80 00 */ xoris r5, r5, 0x8000 -/* 8030B8BC 0030881C 6C C6 80 00 */ xoris r6, r6, 0x8000 -/* 8030B8C0 00308820 90 A1 00 A4 */ stw r5, 0xa4(r1) -/* 8030B8C4 00308824 38 63 73 C8 */ addi r3, r3, lbl_803D73C8@l -/* 8030B8C8 00308828 C8 42 C7 E8 */ lfd f2, lbl_805AE508@sda21(r2) -/* 8030B8CC 0030882C 90 C1 00 9C */ stw r6, 0x9c(r1) -/* 8030B8D0 00308830 C8 01 00 A0 */ lfd f0, 0xa0(r1) -/* 8030B8D4 00308834 C8 21 00 98 */ lfd f1, 0x98(r1) -/* 8030B8D8 00308838 90 81 00 AC */ stw r4, 0xac(r1) -/* 8030B8DC 0030883C EF 80 10 28 */ fsubs f28, f0, f2 -/* 8030B8E0 00308840 EF A1 10 28 */ fsubs f29, f1, f2 -/* 8030B8E4 00308844 90 E1 00 A8 */ stw r7, 0xa8(r1) -/* 8030B8E8 00308848 C8 01 00 A8 */ lfd f0, 0xa8(r1) -/* 8030B8EC 0030884C 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 8030B8F0 00308850 EC 20 10 28 */ fsubs f1, f0, f2 -/* 8030B8F4 00308854 90 E1 00 B0 */ stw r7, 0xb0(r1) -/* 8030B8F8 00308858 C8 01 00 B0 */ lfd f0, 0xb0(r1) -/* 8030B8FC 0030885C EF FD 08 2A */ fadds f31, f29, f1 -/* 8030B900 00308860 EC 00 10 28 */ fsubs f0, f0, f2 -/* 8030B904 00308864 EF DC 00 2A */ fadds f30, f28, f0 -/* 8030B908 00308868 4B FF C5 21 */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList -/* 8030B90C 0030886C 38 60 00 06 */ li r3, 6 -/* 8030B910 00308870 4B FF F5 C1 */ bl SetTevStates__9CGraphicsFUc -/* 8030B914 00308874 88 0D A8 16 */ lbz r0, lbl_805A93D6@sda21(r13) -/* 8030B918 00308878 28 00 00 00 */ cmplwi r0, 0 -/* 8030B91C 0030887C 98 0D A8 17 */ stb r0, lbl_805A93D7@sda21(r13) -/* 8030B920 00308880 41 82 00 08 */ beq lbl_8030B928 -/* 8030B924 00308884 48 00 10 59 */ bl DisableAllLights__9CGraphicsFv -lbl_8030B928: -/* 8030B928 00308888 83 8D A7 D8 */ lwz r28, lbl_805A9398@sda21(r13) -/* 8030B92C 0030888C 38 60 00 00 */ li r3, 0 -/* 8030B930 00308890 48 00 01 41 */ bl SetCullMode__9CGraphicsF12ERglCullMode -/* 8030B934 00308894 7F 63 DB 78 */ mr r3, r27 -/* 8030B938 00308898 38 80 00 00 */ li r4, 0 -/* 8030B93C 0030889C 38 A0 00 01 */ li r5, 1 -/* 8030B940 003088A0 48 00 3D FD */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode -/* 8030B944 003088A4 38 60 00 98 */ li r3, 0x98 -/* 8030B948 003088A8 38 80 00 00 */ li r4, 0 -/* 8030B94C 003088AC 38 A0 00 04 */ li r5, 4 -/* 8030B950 003088B0 4B FF CC 35 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs -/* 8030B954 003088B4 3C 60 CC 01 */ lis r3, 0xCC008000@ha -/* 8030B958 003088B8 C0 22 C8 10 */ lfs f1, lbl_805AE530@sda21(r2) -/* 8030B95C 003088BC D3 A3 80 00 */ stfs f29, 0xCC008000@l(r3) -/* 8030B960 003088C0 C0 02 C7 F0 */ lfs f0, lbl_805AE510@sda21(r2) -/* 8030B964 003088C4 D3 83 80 00 */ stfs f28, 0xCC008000@l(r3) -/* 8030B968 003088C8 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 8030B96C 003088CC 93 C3 80 00 */ stw r30, 0xCC008000@l(r3) -/* 8030B970 003088D0 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 8030B974 003088D4 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 8030B978 003088D8 D3 E3 80 00 */ stfs f31, 0xCC008000@l(r3) -/* 8030B97C 003088DC D3 83 80 00 */ stfs f28, 0xCC008000@l(r3) -/* 8030B980 003088E0 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 8030B984 003088E4 93 C3 80 00 */ stw r30, 0xCC008000@l(r3) -/* 8030B988 003088E8 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 8030B98C 003088EC D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 8030B990 003088F0 D3 A3 80 00 */ stfs f29, 0xCC008000@l(r3) -/* 8030B994 003088F4 D3 C3 80 00 */ stfs f30, 0xCC008000@l(r3) -/* 8030B998 003088F8 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 8030B99C 003088FC 93 C3 80 00 */ stw r30, 0xCC008000@l(r3) -/* 8030B9A0 00308900 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 8030B9A4 00308904 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 8030B9A8 00308908 D3 E3 80 00 */ stfs f31, 0xCC008000@l(r3) -/* 8030B9AC 0030890C D3 C3 80 00 */ stfs f30, 0xCC008000@l(r3) -/* 8030B9B0 00308910 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 8030B9B4 00308914 93 C3 80 00 */ stw r30, 0xCC008000@l(r3) -/* 8030B9B8 00308918 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 8030B9BC 0030891C D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 8030B9C0 00308920 4B FF CB C1 */ bl End__3CGXFv -/* 8030B9C4 00308924 88 6D A8 17 */ lbz r3, lbl_805A93D7@sda21(r13) -/* 8030B9C8 00308928 28 03 00 00 */ cmplwi r3, 0 -/* 8030B9CC 0030892C 41 82 00 08 */ beq lbl_8030B9D4 -/* 8030B9D0 00308930 48 00 0F 01 */ bl SetLightState__9CGraphicsFUc -lbl_8030B9D4: -/* 8030B9D4 00308934 4B FF E4 95 */ bl FlushProjection__9CGraphicsFv -/* 8030B9D8 00308938 38 00 00 00 */ li r0, 0 -/* 8030B9DC 0030893C 3C 60 80 5A */ lis r3, lbl_805A6204@ha -/* 8030B9E0 00308940 98 0D 9C 80 */ stb r0, lbl_805A8840@sda21(r13) -/* 8030B9E4 00308944 38 63 62 04 */ addi r3, r3, lbl_805A6204@l -/* 8030B9E8 00308948 48 00 0B F9 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f -/* 8030B9EC 0030894C 7F 83 E3 78 */ mr r3, r28 -/* 8030B9F0 00308950 48 00 00 81 */ bl SetCullMode__9CGraphicsF12ERglCullMode -/* 8030B9F4 00308954 E3 E1 01 18 */ psq_l f31, 280(r1), 0, qr0 -/* 8030B9F8 00308958 CB E1 01 10 */ lfd f31, 0x110(r1) -/* 8030B9FC 0030895C E3 C1 01 08 */ psq_l f30, 264(r1), 0, qr0 -/* 8030BA00 00308960 CB C1 01 00 */ lfd f30, 0x100(r1) -/* 8030BA04 00308964 E3 A1 00 F8 */ psq_l f29, 248(r1), 0, qr0 -/* 8030BA08 00308968 CB A1 00 F0 */ lfd f29, 0xf0(r1) -/* 8030BA0C 0030896C E3 81 00 E8 */ psq_l f28, 232(r1), 0, qr0 -/* 8030BA10 00308970 CB 81 00 E0 */ lfd f28, 0xe0(r1) -/* 8030BA14 00308974 BB 21 00 C4 */ lmw r25, 0xc4(r1) -/* 8030BA18 00308978 80 01 01 24 */ lwz r0, 0x124(r1) -/* 8030BA1C 0030897C 7C 08 03 A6 */ mtlr r0 -/* 8030BA20 00308980 38 21 01 20 */ addi r1, r1, 0x120 -/* 8030BA24 00308984 4E 80 00 20 */ blr - -.global SetAlphaCompare__9CGraphicsF13ERglAlphaFuncUc11ERglAlphaOp13ERglAlphaFuncUc -SetAlphaCompare__9CGraphicsF13ERglAlphaFuncUc11ERglAlphaOp13ERglAlphaFuncUc: -/* 8030BA28 00308988 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8030BA2C 0030898C 7C 08 02 A6 */ mflr r0 -/* 8030BA30 00308990 54 84 06 3E */ clrlwi r4, r4, 0x18 -/* 8030BA34 00308994 54 E7 06 3E */ clrlwi r7, r7, 0x18 -/* 8030BA38 00308998 90 01 00 14 */ stw r0, 0x14(r1) -/* 8030BA3C 0030899C 4B FF CD D9 */ bl SetAlphaCompare__3CGXF10_GXCompareUc10_GXAlphaOp10_GXCompareUc -/* 8030BA40 003089A0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8030BA44 003089A4 7C 08 03 A6 */ mtlr r0 -/* 8030BA48 003089A8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8030BA4C 003089AC 4E 80 00 20 */ blr - -.global SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp -SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp: -/* 8030BA50 003089B0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8030BA54 003089B4 7C 08 02 A6 */ mflr r0 -/* 8030BA58 003089B8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8030BA5C 003089BC 4B FF CE 75 */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp -/* 8030BA60 003089C0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8030BA64 003089C4 7C 08 03 A6 */ mtlr r0 -/* 8030BA68 003089C8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8030BA6C 003089CC 4E 80 00 20 */ blr - -.global SetCullMode__9CGraphicsF12ERglCullMode -SetCullMode__9CGraphicsF12ERglCullMode: -/* 8030BA70 003089D0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8030BA74 003089D4 7C 08 02 A6 */ mflr r0 -/* 8030BA78 003089D8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8030BA7C 003089DC 90 6D A7 D8 */ stw r3, lbl_805A9398@sda21(r13) -/* 8030BA80 003089E0 48 06 D0 D9 */ bl GXSetCullMode -/* 8030BA84 003089E4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8030BA88 003089E8 7C 08 03 A6 */ mtlr r0 -/* 8030BA8C 003089EC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8030BA90 003089F0 4E 80 00 20 */ blr - -.global SetDepthWriteMode__9CGraphicsFb8ERglEnumb -SetDepthWriteMode__9CGraphicsFb8ERglEnumb: -/* 8030BA94 003089F4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8030BA98 003089F8 7C 08 02 A6 */ mflr r0 -/* 8030BA9C 003089FC 54 63 06 3E */ clrlwi r3, r3, 0x18 -/* 8030BAA0 00308A00 54 A5 06 3E */ clrlwi r5, r5, 0x18 -/* 8030BAA4 00308A04 90 01 00 14 */ stw r0, 0x14(r1) -/* 8030BAA8 00308A08 90 8D 9C 70 */ stw r4, lbl_805A8830@sda21(r13) -/* 8030BAAC 00308A0C 4B FF CD D1 */ bl SetZMode__3CGXFb10_GXCompareb -/* 8030BAB0 00308A10 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8030BAB4 00308A14 7C 08 03 A6 */ mtlr r0 -/* 8030BAB8 00308A18 38 21 00 10 */ addi r1, r1, 0x10 -/* 8030BABC 00308A1C 4E 80 00 20 */ blr - -.global EndScene__9CGraphicsFv -EndScene__9CGraphicsFv: -/* 8030BAC0 00308A20 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 8030BAC4 00308A24 7C 08 02 A6 */ mflr r0 -/* 8030BAC8 00308A28 38 60 00 01 */ li r3, 1 -/* 8030BACC 00308A2C 38 80 00 03 */ li r4, 3 -/* 8030BAD0 00308A30 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 8030BAD4 00308A34 38 A0 00 01 */ li r5, 1 -/* 8030BAD8 00308A38 93 E1 00 9C */ stw r31, 0x9c(r1) -/* 8030BADC 00308A3C 93 C1 00 98 */ stw r30, 0x98(r1) -/* 8030BAE0 00308A40 93 A1 00 94 */ stw r29, 0x94(r1) -/* 8030BAE4 00308A44 4B FF CD 99 */ bl SetZMode__3CGXFb10_GXCompareb -/* 8030BAE8 00308A48 3B AD A8 0C */ addi r29, r13, lbl_805A93CC@sda21 -/* 8030BAEC 00308A4C 48 00 00 08 */ b lbl_8030BAF4 -lbl_8030BAF0: -/* 8030BAF0 00308A50 48 07 90 2D */ bl OSYieldThread -lbl_8030BAF4: -/* 8030BAF4 00308A54 80 1D 00 00 */ lwz r0, 0(r29) -/* 8030BAF8 00308A58 2C 00 00 00 */ cmpwi r0, 0 -/* 8030BAFC 00308A5C 41 81 FF F4 */ bgt lbl_8030BAF0 -/* 8030BB00 00308A60 80 AD A8 0C */ lwz r5, lbl_805A93CC@sda21(r13) -/* 8030BB04 00308A64 3B CD A8 20 */ addi r30, r13, lbl_805A93E0@sda21 -/* 8030BB08 00308A68 38 6D 9C 88 */ addi r3, r13, lbl_805A8848@sda21 -/* 8030BB0C 00308A6C 38 8D 9C 84 */ addi r4, r13, lbl_805A8844@sda21 -/* 8030BB10 00308A70 38 05 00 01 */ addi r0, r5, 1 -/* 8030BB14 00308A74 38 AD 9C 8C */ addi r5, r13, lbl_805A884C@sda21 -/* 8030BB18 00308A78 90 0D A8 0C */ stw r0, lbl_805A93CC@sda21(r13) -/* 8030BB1C 00308A7C 4B D0 07 99 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 8030BB20 00308A80 88 0D 9C 82 */ lbz r0, lbl_805A8842@sda21(r13) -/* 8030BB24 00308A84 39 02 C7 B0 */ addi r8, r2, lbl_805AE4D0@sda21 -/* 8030BB28 00308A88 C0 43 00 00 */ lfs f2, 0(r3) -/* 8030BB2C 00308A8C 28 00 00 00 */ cmplwi r0, 0 -/* 8030BB30 00308A90 41 82 00 10 */ beq lbl_8030BB40 -/* 8030BB34 00308A94 3C 60 80 5A */ lis r3, lbl_805A6500@ha -/* 8030BB38 00308A98 38 63 65 00 */ addi r3, r3, lbl_805A6500@l -/* 8030BB3C 00308A9C 39 03 00 32 */ addi r8, r3, 0x32 -lbl_8030BB40: -/* 8030BB40 00308AA0 88 08 00 00 */ lbz r0, 0(r8) -/* 8030BB44 00308AA4 3C E0 43 30 */ lis r7, 0x4330 -/* 8030BB48 00308AA8 3C 60 80 5A */ lis r3, lbl_805A6500@ha -/* 8030BB4C 00308AAC 90 E1 00 18 */ stw r7, 0x18(r1) -/* 8030BB50 00308AB0 3B A3 65 00 */ addi r29, r3, lbl_805A6500@l -/* 8030BB54 00308AB4 C8 22 C7 F8 */ lfd f1, lbl_805AE518@sda21(r2) -/* 8030BB58 00308AB8 90 01 00 1C */ stw r0, 0x1c(r1) -/* 8030BB5C 00308ABC 3B FD 00 1A */ addi r31, r29, 0x1a -/* 8030BB60 00308AC0 88 7D 00 19 */ lbz r3, 0x19(r29) -/* 8030BB64 00308AC4 7F E4 FB 78 */ mr r4, r31 -/* 8030BB68 00308AC8 C8 01 00 18 */ lfd f0, 0x18(r1) -/* 8030BB6C 00308ACC 38 C1 00 10 */ addi r6, r1, 0x10 -/* 8030BB70 00308AD0 90 E1 00 28 */ stw r7, 0x28(r1) -/* 8030BB74 00308AD4 38 A0 00 01 */ li r5, 1 -/* 8030BB78 00308AD8 EC 00 08 28 */ fsubs f0, f0, f1 -/* 8030BB7C 00308ADC 90 E1 00 38 */ stw r7, 0x38(r1) -/* 8030BB80 00308AE0 EC 02 00 32 */ fmuls f0, f2, f0 -/* 8030BB84 00308AE4 90 E1 00 48 */ stw r7, 0x48(r1) -/* 8030BB88 00308AE8 90 E1 00 58 */ stw r7, 0x58(r1) -/* 8030BB8C 00308AEC FC 00 00 1E */ fctiwz f0, f0 -/* 8030BB90 00308AF0 90 E1 00 68 */ stw r7, 0x68(r1) -/* 8030BB94 00308AF4 D8 01 00 20 */ stfd f0, 0x20(r1) -/* 8030BB98 00308AF8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8030BB9C 00308AFC 90 E1 00 78 */ stw r7, 0x78(r1) -/* 8030BBA0 00308B00 98 01 00 10 */ stb r0, 0x10(r1) -/* 8030BBA4 00308B04 88 08 00 01 */ lbz r0, 1(r8) -/* 8030BBA8 00308B08 90 01 00 2C */ stw r0, 0x2c(r1) -/* 8030BBAC 00308B0C C8 01 00 28 */ lfd f0, 0x28(r1) -/* 8030BBB0 00308B10 EC 00 08 28 */ fsubs f0, f0, f1 -/* 8030BBB4 00308B14 EC 02 00 32 */ fmuls f0, f2, f0 -/* 8030BBB8 00308B18 FC 00 00 1E */ fctiwz f0, f0 -/* 8030BBBC 00308B1C D8 01 00 30 */ stfd f0, 0x30(r1) -/* 8030BBC0 00308B20 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8030BBC4 00308B24 98 01 00 11 */ stb r0, 0x11(r1) -/* 8030BBC8 00308B28 88 08 00 02 */ lbz r0, 2(r8) -/* 8030BBCC 00308B2C 90 01 00 3C */ stw r0, 0x3c(r1) -/* 8030BBD0 00308B30 C8 01 00 38 */ lfd f0, 0x38(r1) -/* 8030BBD4 00308B34 EC 00 08 28 */ fsubs f0, f0, f1 -/* 8030BBD8 00308B38 EC 02 00 32 */ fmuls f0, f2, f0 -/* 8030BBDC 00308B3C FC 00 00 1E */ fctiwz f0, f0 -/* 8030BBE0 00308B40 D8 01 00 40 */ stfd f0, 0x40(r1) -/* 8030BBE4 00308B44 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8030BBE8 00308B48 98 01 00 12 */ stb r0, 0x12(r1) -/* 8030BBEC 00308B4C 88 08 00 03 */ lbz r0, 3(r8) -/* 8030BBF0 00308B50 90 01 00 4C */ stw r0, 0x4c(r1) -/* 8030BBF4 00308B54 C8 01 00 48 */ lfd f0, 0x48(r1) -/* 8030BBF8 00308B58 EC 00 08 28 */ fsubs f0, f0, f1 -/* 8030BBFC 00308B5C EC 02 00 32 */ fmuls f0, f2, f0 -/* 8030BC00 00308B60 FC 00 00 1E */ fctiwz f0, f0 -/* 8030BC04 00308B64 D8 01 00 50 */ stfd f0, 0x50(r1) -/* 8030BC08 00308B68 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8030BC0C 00308B6C 98 01 00 13 */ stb r0, 0x13(r1) -/* 8030BC10 00308B70 88 08 00 04 */ lbz r0, 4(r8) -/* 8030BC14 00308B74 90 01 00 5C */ stw r0, 0x5c(r1) -/* 8030BC18 00308B78 C8 01 00 58 */ lfd f0, 0x58(r1) -/* 8030BC1C 00308B7C EC 00 08 28 */ fsubs f0, f0, f1 -/* 8030BC20 00308B80 EC 02 00 32 */ fmuls f0, f2, f0 -/* 8030BC24 00308B84 FC 00 00 1E */ fctiwz f0, f0 -/* 8030BC28 00308B88 D8 01 00 60 */ stfd f0, 0x60(r1) -/* 8030BC2C 00308B8C 80 01 00 64 */ lwz r0, 0x64(r1) -/* 8030BC30 00308B90 98 01 00 14 */ stb r0, 0x14(r1) -/* 8030BC34 00308B94 88 08 00 05 */ lbz r0, 5(r8) -/* 8030BC38 00308B98 90 01 00 6C */ stw r0, 0x6c(r1) -/* 8030BC3C 00308B9C C8 01 00 68 */ lfd f0, 0x68(r1) -/* 8030BC40 00308BA0 EC 00 08 28 */ fsubs f0, f0, f1 -/* 8030BC44 00308BA4 EC 02 00 32 */ fmuls f0, f2, f0 -/* 8030BC48 00308BA8 FC 00 00 1E */ fctiwz f0, f0 -/* 8030BC4C 00308BAC D8 01 00 70 */ stfd f0, 0x70(r1) -/* 8030BC50 00308BB0 80 01 00 74 */ lwz r0, 0x74(r1) -/* 8030BC54 00308BB4 98 01 00 15 */ stb r0, 0x15(r1) -/* 8030BC58 00308BB8 88 08 00 06 */ lbz r0, 6(r8) -/* 8030BC5C 00308BBC 90 01 00 7C */ stw r0, 0x7c(r1) -/* 8030BC60 00308BC0 C8 01 00 78 */ lfd f0, 0x78(r1) -/* 8030BC64 00308BC4 EC 00 08 28 */ fsubs f0, f0, f1 -/* 8030BC68 00308BC8 EC 02 00 32 */ fmuls f0, f2, f0 -/* 8030BC6C 00308BCC FC 00 00 1E */ fctiwz f0, f0 -/* 8030BC70 00308BD0 D8 01 00 80 */ stfd f0, 0x80(r1) -/* 8030BC74 00308BD4 80 01 00 84 */ lwz r0, 0x84(r1) -/* 8030BC78 00308BD8 98 01 00 16 */ stb r0, 0x16(r1) -/* 8030BC7C 00308BDC 48 06 D5 19 */ bl GXSetCopyFilter -/* 8030BC80 00308BE0 88 8D 9C 6C */ lbz r4, lbl_805A882C@sda21(r13) -/* 8030BC84 00308BE4 80 7E 00 00 */ lwz r3, 0(r30) -/* 8030BC88 00308BE8 7C 04 00 D0 */ neg r0, r4 -/* 8030BC8C 00308BEC 7C 00 23 78 */ or r0, r0, r4 -/* 8030BC90 00308BF0 54 04 0F FE */ srwi r4, r0, 0x1f -/* 8030BC94 00308BF4 48 06 D7 45 */ bl GXCopyDisp -/* 8030BC98 00308BF8 88 CD 9C 82 */ lbz r6, lbl_805A8842@sda21(r13) -/* 8030BC9C 00308BFC 3C 60 80 5A */ lis r3, lbl_805A6500@ha -/* 8030BCA0 00308C00 38 A3 65 00 */ addi r5, r3, lbl_805A6500@l -/* 8030BCA4 00308C04 88 7D 00 19 */ lbz r3, 0x19(r29) -/* 8030BCA8 00308C08 7C 06 00 D0 */ neg r0, r6 -/* 8030BCAC 00308C0C 7F E4 FB 78 */ mr r4, r31 -/* 8030BCB0 00308C10 7C 00 33 78 */ or r0, r0, r6 -/* 8030BCB4 00308C14 38 C5 00 32 */ addi r6, r5, 0x32 -/* 8030BCB8 00308C18 54 05 0F FE */ srwi r5, r0, 0x1f -/* 8030BCBC 00308C1C 48 06 D4 D9 */ bl GXSetCopyFilter -/* 8030BCC0 00308C20 3C 60 80 31 */ lis r3, SwapBuffers__9CGraphicsFv@ha -/* 8030BCC4 00308C24 38 63 BE 7C */ addi r3, r3, SwapBuffers__9CGraphicsFv@l -/* 8030BCC8 00308C28 48 06 AA F1 */ bl GXSetBreakPtCallback -/* 8030BCCC 00308C2C 3C 60 80 31 */ lis r3, VideoPreCallback__9CGraphicsFUl@ha -/* 8030BCD0 00308C30 38 63 BE 00 */ addi r3, r3, VideoPreCallback__9CGraphicsFUl@l -/* 8030BCD4 00308C34 48 07 BB E1 */ bl VISetPreRetraceCallback -/* 8030BCD8 00308C38 3C 60 80 31 */ lis r3, VideoPostCallback__9CGraphicsFUl@ha -/* 8030BCDC 00308C3C 38 63 BD 34 */ addi r3, r3, VideoPostCallback__9CGraphicsFUl@l -/* 8030BCE0 00308C40 48 07 BC 19 */ bl VISetPostRetraceCallback -/* 8030BCE4 00308C44 48 06 C6 2D */ bl GXFlush -/* 8030BCE8 00308C48 48 06 AE 45 */ bl GXGetGPFifo -/* 8030BCEC 00308C4C 38 81 00 0C */ addi r4, r1, 0xc -/* 8030BCF0 00308C50 38 A1 00 08 */ addi r5, r1, 8 -/* 8030BCF4 00308C54 48 06 AA 2D */ bl __GXSaveCPUFifoAux -/* 8030BCF8 00308C58 80 61 00 08 */ lwz r3, 8(r1) -/* 8030BCFC 00308C5C 48 06 AB 01 */ bl GXEnableBreakPt -/* 8030BD00 00308C60 80 6D A8 00 */ lwz r3, lbl_805A93C0@sda21(r13) -/* 8030BD04 00308C64 88 8D A8 15 */ lbz r4, lbl_805A93D5@sda21(r13) -/* 8030BD08 00308C68 38 03 00 01 */ addi r0, r3, 1 -/* 8030BD0C 00308C6C 98 8D A8 14 */ stb r4, lbl_805A93D4@sda21(r13) -/* 8030BD10 00308C70 90 0D A8 00 */ stw r0, lbl_805A93C0@sda21(r13) -/* 8030BD14 00308C74 48 06 0E 7D */ bl sub_8036cb90 -/* 8030BD18 00308C78 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 8030BD1C 00308C7C 83 E1 00 9C */ lwz r31, 0x9c(r1) -/* 8030BD20 00308C80 83 C1 00 98 */ lwz r30, 0x98(r1) -/* 8030BD24 00308C84 83 A1 00 94 */ lwz r29, 0x94(r1) -/* 8030BD28 00308C88 7C 08 03 A6 */ mtlr r0 -/* 8030BD2C 00308C8C 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 8030BD30 00308C90 4E 80 00 20 */ blr - -.global VideoPostCallback__9CGraphicsFUl -VideoPostCallback__9CGraphicsFUl: -/* 8030BD34 00308C94 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8030BD38 00308C98 7C 08 02 A6 */ mflr r0 -/* 8030BD3C 00308C9C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8030BD40 00308CA0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8030BD44 00308CA4 80 6D A8 0C */ lwz r3, lbl_805A93CC@sda21(r13) -/* 8030BD48 00308CA8 2C 03 00 00 */ cmpwi r3, 0 -/* 8030BD4C 00308CAC 41 82 00 A0 */ beq lbl_8030BDEC -/* 8030BD50 00308CB0 80 0D A8 10 */ lwz r0, lbl_805A93D0@sda21(r13) -/* 8030BD54 00308CB4 2C 00 00 02 */ cmpwi r0, 2 -/* 8030BD58 00308CB8 40 82 00 94 */ bne lbl_8030BDEC -/* 8030BD5C 00308CBC 38 63 FF FF */ addi r3, r3, -1 -/* 8030BD60 00308CC0 38 00 00 00 */ li r0, 0 -/* 8030BD64 00308CC4 90 6D A8 0C */ stw r3, lbl_805A93CC@sda21(r13) -/* 8030BD68 00308CC8 3B ED A7 B0 */ addi r31, r13, lbl_805A9370@sda21 -/* 8030BD6C 00308CCC 90 0D A8 10 */ stw r0, lbl_805A93D0@sda21(r13) -/* 8030BD70 00308CD0 48 07 96 39 */ bl OSGetTime -/* 8030BD74 00308CD4 80 0D A7 B4 */ lwz r0, lbl_805A9374@sda21(r13) -/* 8030BD78 00308CD8 C0 0D A8 04 */ lfs f0, lbl_805A93C4@sda21(r13) -/* 8030BD7C 00308CDC 7C 80 20 10 */ subfc r4, r0, r4 -/* 8030BD80 00308CE0 80 0D A7 B0 */ lwz r0, lbl_805A9370@sda21(r13) -/* 8030BD84 00308CE4 D0 0D A8 08 */ stfs f0, lbl_805A93C8@sda21(r13) -/* 8030BD88 00308CE8 7C 60 19 10 */ subfe r3, r0, r3 -/* 8030BD8C 00308CEC 48 07 E1 D9 */ bl __cvt_sll_flt -/* 8030BD90 00308CF0 3C 60 80 5A */ lis r3, mData__10CStopwatch@ha -/* 8030BD94 00308CF4 C0 02 C8 10 */ lfs f0, lbl_805AE530@sda21(r2) -/* 8030BD98 00308CF8 38 63 FD 30 */ addi r3, r3, mData__10CStopwatch@l -/* 8030BD9C 00308CFC 38 80 00 00 */ li r4, 0 -/* 8030BDA0 00308D00 C0 43 00 10 */ lfs f2, 0x10(r3) -/* 8030BDA4 00308D04 80 03 00 00 */ lwz r0, 0(r3) -/* 8030BDA8 00308D08 EC 21 00 B2 */ fmuls f1, f1, f2 -/* 8030BDAC 00308D0C 80 A3 00 04 */ lwz r5, 4(r3) -/* 8030BDB0 00308D10 7C 00 22 78 */ xor r0, r0, r4 -/* 8030BDB4 00308D14 7C A4 22 78 */ xor r4, r5, r4 -/* 8030BDB8 00308D18 EC 00 08 24 */ fdivs f0, f0, f1 -/* 8030BDBC 00308D1C 7C 80 03 79 */ or. r0, r4, r0 -/* 8030BDC0 00308D20 D0 0D A8 04 */ stfs f0, lbl_805A93C4@sda21(r13) -/* 8030BDC4 00308D24 40 82 00 08 */ bne lbl_8030BDCC -/* 8030BDC8 00308D28 4B FC A9 55 */ bl Initialize__Q210CStopwatch7CSWDataFv -lbl_8030BDCC: -/* 8030BDCC 00308D2C 48 07 95 DD */ bl OSGetTime -/* 8030BDD0 00308D30 90 9F 00 04 */ stw r4, 4(r31) -/* 8030BDD4 00308D34 90 7F 00 00 */ stw r3, 0(r31) -/* 8030BDD8 00308D38 48 07 D5 C1 */ bl VIGetNextField -/* 8030BDDC 00308D3C 20 03 00 01 */ subfic r0, r3, 1 -/* 8030BDE0 00308D40 7C 00 00 34 */ cntlzw r0, r0 -/* 8030BDE4 00308D44 54 00 D9 7E */ srwi r0, r0, 5 -/* 8030BDE8 00308D48 98 0D A8 15 */ stb r0, lbl_805A93D5@sda21(r13) -lbl_8030BDEC: -/* 8030BDEC 00308D4C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8030BDF0 00308D50 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8030BDF4 00308D54 7C 08 03 A6 */ mtlr r0 -/* 8030BDF8 00308D58 38 21 00 10 */ addi r1, r1, 0x10 -/* 8030BDFC 00308D5C 4E 80 00 20 */ blr - -.global VideoPreCallback__9CGraphicsFUl -VideoPreCallback__9CGraphicsFUl: -/* 8030BE00 00308D60 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8030BE04 00308D64 7C 08 02 A6 */ mflr r0 -/* 8030BE08 00308D68 90 01 00 14 */ stw r0, 0x14(r1) -/* 8030BE0C 00308D6C 80 0D A8 0C */ lwz r0, lbl_805A93CC@sda21(r13) -/* 8030BE10 00308D70 2C 00 00 00 */ cmpwi r0, 0 -/* 8030BE14 00308D74 41 82 00 58 */ beq lbl_8030BE6C -/* 8030BE18 00308D78 80 0D A8 10 */ lwz r0, lbl_805A93D0@sda21(r13) -/* 8030BE1C 00308D7C 2C 00 00 01 */ cmpwi r0, 1 -/* 8030BE20 00308D80 40 82 00 4C */ bne lbl_8030BE6C -/* 8030BE24 00308D84 88 0D 9C 81 */ lbz r0, lbl_805A8841@sda21(r13) -/* 8030BE28 00308D88 28 00 00 00 */ cmplwi r0, 0 -/* 8030BE2C 00308D8C 41 82 00 14 */ beq lbl_8030BE40 -/* 8030BE30 00308D90 38 60 00 00 */ li r3, 0 -/* 8030BE34 00308D94 48 07 D4 79 */ bl VISetBlack -/* 8030BE38 00308D98 38 00 00 00 */ li r0, 0 -/* 8030BE3C 00308D9C 98 0D 9C 81 */ stb r0, lbl_805A8841@sda21(r13) -lbl_8030BE40: -/* 8030BE40 00308DA0 80 6D A8 20 */ lwz r3, lbl_805A93E0@sda21(r13) -/* 8030BE44 00308DA4 48 07 D3 FD */ bl VISetNextFrameBuffer -/* 8030BE48 00308DA8 48 07 D2 C9 */ bl VIFlush -/* 8030BE4C 00308DAC 80 0D A8 20 */ lwz r0, lbl_805A93E0@sda21(r13) -/* 8030BE50 00308DB0 80 6D A8 18 */ lwz r3, lbl_805A93D8@sda21(r13) -/* 8030BE54 00308DB4 7C 00 18 40 */ cmplw r0, r3 -/* 8030BE58 00308DB8 40 82 00 08 */ bne lbl_8030BE60 -/* 8030BE5C 00308DBC 80 6D A8 1C */ lwz r3, lbl_805A93DC@sda21(r13) -lbl_8030BE60: -/* 8030BE60 00308DC0 38 00 00 02 */ li r0, 2 -/* 8030BE64 00308DC4 90 6D A8 20 */ stw r3, lbl_805A93E0@sda21(r13) -/* 8030BE68 00308DC8 90 0D A8 10 */ stw r0, lbl_805A93D0@sda21(r13) -lbl_8030BE6C: -/* 8030BE6C 00308DCC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8030BE70 00308DD0 7C 08 03 A6 */ mtlr r0 -/* 8030BE74 00308DD4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8030BE78 00308DD8 4E 80 00 20 */ blr - -.global SwapBuffers__9CGraphicsFv -SwapBuffers__9CGraphicsFv: -/* 8030BE7C 00308DDC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8030BE80 00308DE0 7C 08 02 A6 */ mflr r0 -/* 8030BE84 00308DE4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8030BE88 00308DE8 48 06 AA 05 */ bl GXDisableBreakPt -/* 8030BE8C 00308DEC 38 00 00 01 */ li r0, 1 -/* 8030BE90 00308DF0 90 0D A8 10 */ stw r0, lbl_805A93D0@sda21(r13) -/* 8030BE94 00308DF4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8030BE98 00308DF8 7C 08 03 A6 */ mtlr r0 -/* 8030BE9C 00308DFC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8030BEA0 00308E00 4E 80 00 20 */ blr - -.global BeginScene__9CGraphicsFv -BeginScene__9CGraphicsFv: -/* 8030BEA4 00308E04 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8030BEA8 00308E08 7C 08 02 A6 */ mflr r0 -/* 8030BEAC 00308E0C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8030BEB0 00308E10 48 00 00 15 */ bl ClearBackAndDepthBuffers__9CGraphicsFv -/* 8030BEB4 00308E14 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8030BEB8 00308E18 7C 08 03 A6 */ mtlr r0 -/* 8030BEBC 00308E1C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8030BEC0 00308E20 4E 80 00 20 */ blr - -.global ClearBackAndDepthBuffers__9CGraphicsFv -ClearBackAndDepthBuffers__9CGraphicsFv: -/* 8030BEC4 00308E24 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8030BEC8 00308E28 7C 08 02 A6 */ mflr r0 -/* 8030BECC 00308E2C 90 01 00 24 */ stw r0, 0x24(r1) -/* 8030BED0 00308E30 48 06 E9 71 */ bl GXInvalidateTexAll -/* 8030BED4 00308E34 3C 60 80 5A */ lis r3, lbl_805A6500@ha -/* 8030BED8 00308E38 38 A3 65 00 */ addi r5, r3, lbl_805A6500@l -/* 8030BEDC 00308E3C 88 05 00 18 */ lbz r0, 0x18(r5) -/* 8030BEE0 00308E40 28 00 00 00 */ cmplwi r0, 0 -/* 8030BEE4 00308E44 41 82 00 58 */ beq lbl_8030BF3C -/* 8030BEE8 00308E48 48 07 D4 B1 */ bl VIGetNextField -/* 8030BEEC 00308E4C 3C A0 80 5A */ lis r5, lbl_805A6500@ha -/* 8030BEF0 00308E50 3C 80 43 30 */ lis r4, 0x4330 -/* 8030BEF4 00308E54 38 C5 65 00 */ addi r6, r5, lbl_805A6500@l -/* 8030BEF8 00308E58 C0 22 C7 F0 */ lfs f1, lbl_805AE510@sda21(r2) -/* 8030BEFC 00308E5C A0 A6 00 04 */ lhz r5, 4(r6) -/* 8030BF00 00308E60 A0 06 00 08 */ lhz r0, 8(r6) -/* 8030BF04 00308E64 FC 40 08 90 */ fmr f2, f1 -/* 8030BF08 00308E68 90 A1 00 0C */ stw r5, 0xc(r1) -/* 8030BF0C 00308E6C FC A0 08 90 */ fmr f5, f1 -/* 8030BF10 00308E70 C8 82 C7 F8 */ lfd f4, lbl_805AE518@sda21(r2) -/* 8030BF14 00308E74 90 81 00 08 */ stw r4, 8(r1) -/* 8030BF18 00308E78 C0 C2 C8 10 */ lfs f6, lbl_805AE530@sda21(r2) -/* 8030BF1C 00308E7C C8 01 00 08 */ lfd f0, 8(r1) -/* 8030BF20 00308E80 90 01 00 14 */ stw r0, 0x14(r1) -/* 8030BF24 00308E84 EC 60 20 28 */ fsubs f3, f0, f4 -/* 8030BF28 00308E88 90 81 00 10 */ stw r4, 0x10(r1) -/* 8030BF2C 00308E8C C8 01 00 10 */ lfd f0, 0x10(r1) -/* 8030BF30 00308E90 EC 80 20 28 */ fsubs f4, f0, f4 -/* 8030BF34 00308E94 48 07 06 11 */ bl GXSetViewportJitter -/* 8030BF38 00308E98 48 00 00 48 */ b lbl_8030BF80 -lbl_8030BF3C: -/* 8030BF3C 00308E9C A0 85 00 04 */ lhz r4, 4(r5) -/* 8030BF40 00308EA0 3C 60 43 30 */ lis r3, 0x4330 -/* 8030BF44 00308EA4 A0 05 00 08 */ lhz r0, 8(r5) -/* 8030BF48 00308EA8 90 81 00 14 */ stw r4, 0x14(r1) -/* 8030BF4C 00308EAC C0 22 C7 F0 */ lfs f1, lbl_805AE510@sda21(r2) -/* 8030BF50 00308EB0 90 61 00 10 */ stw r3, 0x10(r1) -/* 8030BF54 00308EB4 C8 82 C7 F8 */ lfd f4, lbl_805AE518@sda21(r2) -/* 8030BF58 00308EB8 FC 40 08 90 */ fmr f2, f1 -/* 8030BF5C 00308EBC C8 01 00 10 */ lfd f0, 0x10(r1) -/* 8030BF60 00308EC0 FC A0 08 90 */ fmr f5, f1 -/* 8030BF64 00308EC4 90 01 00 0C */ stw r0, 0xc(r1) -/* 8030BF68 00308EC8 EC 60 20 28 */ fsubs f3, f0, f4 -/* 8030BF6C 00308ECC C0 C2 C8 10 */ lfs f6, lbl_805AE530@sda21(r2) -/* 8030BF70 00308ED0 90 61 00 08 */ stw r3, 8(r1) -/* 8030BF74 00308ED4 C8 01 00 08 */ lfd f0, 8(r1) -/* 8030BF78 00308ED8 EC 80 20 28 */ fsubs f4, f0, f4 -/* 8030BF7C 00308EDC 48 07 06 CD */ bl GXSetViewport -lbl_8030BF80: -/* 8030BF80 00308EE0 48 06 C0 05 */ bl GXInvalidateVtxCache -/* 8030BF84 00308EE4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8030BF88 00308EE8 7C 08 03 A6 */ mtlr r0 -/* 8030BF8C 00308EEC 38 21 00 20 */ addi r1, r1, 0x20 -/* 8030BF90 00308EF0 4E 80 00 20 */ blr - -.global SetClearColor__9CGraphicsFRC6CColor -SetClearColor__9CGraphicsFRC6CColor: -/* 8030BF94 00308EF4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8030BF98 00308EF8 7C 08 02 A6 */ mflr r0 -/* 8030BF9C 00308EFC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8030BFA0 00308F00 80 03 00 00 */ lwz r0, 0(r3) -/* 8030BFA4 00308F04 38 61 00 08 */ addi r3, r1, 8 -/* 8030BFA8 00308F08 80 8D 9C 7C */ lwz r4, lbl_805A883C@sda21(r13) -/* 8030BFAC 00308F0C 90 0D A7 F8 */ stw r0, lbl_805A93B8@sda21(r13) -/* 8030BFB0 00308F10 90 01 00 08 */ stw r0, 8(r1) -/* 8030BFB4 00308F14 48 06 D1 79 */ bl GXSetCopyClear -/* 8030BFB8 00308F18 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8030BFBC 00308F1C 7C 08 03 A6 */ mtlr r0 -/* 8030BFC0 00308F20 38 21 00 10 */ addi r1, r1, 0x10 -/* 8030BFC4 00308F24 4E 80 00 20 */ blr - -.global SetCopyClear__9CGraphicsFRC6CColorf -SetCopyClear__9CGraphicsFRC6CColorf: -/* 8030BFC8 00308F28 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8030BFCC 00308F2C 7C 08 02 A6 */ mflr r0 -/* 8030BFD0 00308F30 C0 02 C8 1C */ lfs f0, lbl_805AE53C@sda21(r2) -/* 8030BFD4 00308F34 90 01 00 24 */ stw r0, 0x24(r1) -/* 8030BFD8 00308F38 EC 20 00 72 */ fmuls f1, f0, f1 -/* 8030BFDC 00308F3C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8030BFE0 00308F40 7C 7F 1B 78 */ mr r31, r3 -/* 8030BFE4 00308F44 80 03 00 00 */ lwz r0, 0(r3) -/* 8030BFE8 00308F48 90 0D A7 F8 */ stw r0, lbl_805A93B8@sda21(r13) -/* 8030BFEC 00308F4C 48 07 D9 69 */ bl __cvt_fp2unsigned -/* 8030BFF0 00308F50 80 1F 00 00 */ lwz r0, 0(r31) -/* 8030BFF4 00308F54 7C 64 1B 78 */ mr r4, r3 -/* 8030BFF8 00308F58 90 6D 9C 7C */ stw r3, lbl_805A883C@sda21(r13) -/* 8030BFFC 00308F5C 38 61 00 08 */ addi r3, r1, 8 -/* 8030C000 00308F60 90 01 00 08 */ stw r0, 8(r1) -/* 8030C004 00308F64 48 06 D1 29 */ bl GXSetCopyClear -/* 8030C008 00308F68 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8030C00C 00308F6C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8030C010 00308F70 7C 08 03 A6 */ mtlr r0 -/* 8030C014 00308F74 38 21 00 20 */ addi r1, r1, 0x20 -/* 8030C018 00308F78 4E 80 00 20 */ blr - -.global SetAmbientColor__9CGraphicsFRC6CColor -SetAmbientColor__9CGraphicsFRC6CColor: -/* 8030C01C 00308F7C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8030C020 00308F80 7C 08 02 A6 */ mflr r0 -/* 8030C024 00308F84 90 01 00 14 */ stw r0, 0x14(r1) -/* 8030C028 00308F88 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8030C02C 00308F8C 7C 7F 1B 78 */ mr r31, r3 -/* 8030C030 00308F90 38 60 00 00 */ li r3, 0 -/* 8030C034 00308F94 7F E4 FB 78 */ mr r4, r31 -/* 8030C038 00308F98 4B FF CD 8D */ bl SetChanAmbColor__3CGXFQ23CGX10EChannelIdRC8_GXColor -/* 8030C03C 00308F9C 7F E4 FB 78 */ mr r4, r31 -/* 8030C040 00308FA0 38 60 00 01 */ li r3, 1 -/* 8030C044 00308FA4 4B FF CD 81 */ bl SetChanAmbColor__3CGXFQ23CGX10EChannelIdRC8_GXColor -/* 8030C048 00308FA8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8030C04C 00308FAC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8030C050 00308FB0 7C 08 03 A6 */ mtlr r0 -/* 8030C054 00308FB4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8030C058 00308FB8 4E 80 00 20 */ blr - -.global SetScissor__9CGraphicsFiiii -SetScissor__9CGraphicsFiiii: -/* 8030C05C 00308FBC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8030C060 00308FC0 7C 08 02 A6 */ mflr r0 -/* 8030C064 00308FC4 3C E0 80 5A */ lis r7, lbl_805A6500@ha -/* 8030C068 00308FC8 7D 04 32 14 */ add r8, r4, r6 -/* 8030C06C 00308FCC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8030C070 00308FD0 38 87 65 00 */ addi r4, r7, lbl_805A6500@l -/* 8030C074 00308FD4 A0 04 00 06 */ lhz r0, 6(r4) -/* 8030C078 00308FD8 7C 88 00 50 */ subf r4, r8, r0 -/* 8030C07C 00308FDC 48 07 05 F1 */ bl GXSetScissor -/* 8030C080 00308FE0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8030C084 00308FE4 7C 08 03 A6 */ mtlr r0 -/* 8030C088 00308FE8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8030C08C 00308FEC 4E 80 00 20 */ blr - -.global SetViewport__9CGraphicsFiiii -SetViewport__9CGraphicsFiiii: -/* 8030C090 00308FF0 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8030C094 00308FF4 7C 08 02 A6 */ mflr r0 -/* 8030C098 00308FF8 3D 40 43 30 */ lis r10, 0x4330 -/* 8030C09C 00308FFC 3D 20 80 5A */ lis r9, lbl_805A6500@ha -/* 8030C0A0 00309000 90 01 00 44 */ stw r0, 0x44(r1) -/* 8030C0A4 00309004 54 A0 0F FE */ srwi r0, r5, 0x1f -/* 8030C0A8 00309008 7C E0 2A 14 */ add r7, r0, r5 -/* 8030C0AC 0030900C 6C 68 80 00 */ xoris r8, r3, 0x8000 -/* 8030C0B0 00309010 54 C0 0F FE */ srwi r0, r6, 0x1f -/* 8030C0B4 00309014 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 8030C0B8 00309018 7C E7 0E 70 */ srawi r7, r7, 1 -/* 8030C0BC 0030901C 39 29 65 00 */ addi r9, r9, lbl_805A6500@l -/* 8030C0C0 00309020 7C 00 32 14 */ add r0, r0, r6 -/* 8030C0C4 00309024 91 41 00 08 */ stw r10, 8(r1) -/* 8030C0C8 00309028 6C EB 80 00 */ xoris r11, r7, 0x8000 -/* 8030C0CC 0030902C A1 89 00 06 */ lhz r12, 6(r9) -/* 8030C0D0 00309030 91 61 00 0C */ stw r11, 0xc(r1) -/* 8030C0D4 00309034 7C 00 0E 70 */ srawi r0, r0, 1 -/* 8030C0D8 00309038 6C 09 80 00 */ xoris r9, r0, 0x8000 -/* 8030C0DC 0030903C 7F E4 32 14 */ add r31, r4, r6 -/* 8030C0E0 00309040 7D 9F 60 50 */ subf r12, r31, r12 -/* 8030C0E4 00309044 C8 82 C7 E8 */ lfd f4, lbl_805AE508@sda21(r2) -/* 8030C0E8 00309048 C8 01 00 08 */ lfd f0, 8(r1) -/* 8030C0EC 0030904C 6D 87 80 00 */ xoris r7, r12, 0x8000 -/* 8030C0F0 00309050 91 21 00 14 */ stw r9, 0x14(r1) -/* 8030C0F4 00309054 6C A4 80 00 */ xoris r4, r5, 0x8000 -/* 8030C0F8 00309058 ED 00 20 28 */ fsubs f8, f0, f4 -/* 8030C0FC 0030905C 6C C0 80 00 */ xoris r0, r6, 0x8000 -/* 8030C100 00309060 91 41 00 10 */ stw r10, 0x10(r1) -/* 8030C104 00309064 3D 60 80 3F */ lis r11, lbl_803ED910@ha -/* 8030C108 00309068 C0 AD A7 E0 */ lfs f5, lbl_805A93A0@sda21(r13) -/* 8030C10C 0030906C C8 01 00 10 */ lfd f0, 0x10(r1) -/* 8030C110 00309070 91 01 00 1C */ stw r8, 0x1c(r1) -/* 8030C114 00309074 EC E0 20 28 */ fsubs f7, f0, f4 -/* 8030C118 00309078 C0 CD 9C 78 */ lfs f6, lbl_805A8838@sda21(r13) -/* 8030C11C 0030907C 94 6B D9 10 */ stwu r3, lbl_803ED910@l(r11) -/* 8030C120 00309080 91 41 00 18 */ stw r10, 0x18(r1) -/* 8030C124 00309084 C8 01 00 18 */ lfd f0, 0x18(r1) -/* 8030C128 00309088 90 E1 00 24 */ stw r7, 0x24(r1) -/* 8030C12C 0030908C EC 20 20 28 */ fsubs f1, f0, f4 -/* 8030C130 00309090 91 41 00 20 */ stw r10, 0x20(r1) -/* 8030C134 00309094 C8 01 00 20 */ lfd f0, 0x20(r1) -/* 8030C138 00309098 90 81 00 2C */ stw r4, 0x2c(r1) -/* 8030C13C 0030909C EC 40 20 28 */ fsubs f2, f0, f4 -/* 8030C140 003090A0 91 41 00 28 */ stw r10, 0x28(r1) -/* 8030C144 003090A4 C8 01 00 28 */ lfd f0, 0x28(r1) -/* 8030C148 003090A8 90 01 00 34 */ stw r0, 0x34(r1) -/* 8030C14C 003090AC EC 60 20 28 */ fsubs f3, f0, f4 -/* 8030C150 003090B0 91 41 00 30 */ stw r10, 0x30(r1) -/* 8030C154 003090B4 C8 01 00 30 */ lfd f0, 0x30(r1) -/* 8030C158 003090B8 91 8B 00 04 */ stw r12, 4(r11) -/* 8030C15C 003090BC EC 80 20 28 */ fsubs f4, f0, f4 -/* 8030C160 003090C0 90 AB 00 08 */ stw r5, 8(r11) -/* 8030C164 003090C4 90 CB 00 0C */ stw r6, 0xc(r11) -/* 8030C168 003090C8 D1 0B 00 10 */ stfs f8, 0x10(r11) -/* 8030C16C 003090CC D0 EB 00 14 */ stfs f7, 0x14(r11) -/* 8030C170 003090D0 48 07 04 D9 */ bl GXSetViewport -/* 8030C174 003090D4 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8030C178 003090D8 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 8030C17C 003090DC 7C 08 03 A6 */ mtlr r0 -/* 8030C180 003090E0 38 21 00 40 */ addi r1, r1, 0x40 -/* 8030C184 003090E4 4E 80 00 20 */ blr - -.global CalculatePerspectiveMatrix__9CGraphicsFffff -CalculatePerspectiveMatrix__9CGraphicsFffff: -/* 8030C188 003090E8 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 8030C18C 003090EC 7C 08 02 A6 */ mflr r0 -/* 8030C190 003090F0 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 8030C194 003090F4 DB E1 00 90 */ stfd f31, 0x90(r1) -/* 8030C198 003090F8 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 -/* 8030C19C 003090FC DB C1 00 80 */ stfd f30, 0x80(r1) -/* 8030C1A0 00309100 F3 C1 00 88 */ psq_st f30, 136(r1), 0, qr0 -/* 8030C1A4 00309104 DB A1 00 70 */ stfd f29, 0x70(r1) -/* 8030C1A8 00309108 F3 A1 00 78 */ psq_st f29, 120(r1), 0, qr0 -/* 8030C1AC 0030910C 93 E1 00 6C */ stw r31, 0x6c(r1) -/* 8030C1B0 00309110 C0 A2 C8 20 */ lfs f5, lbl_805AE540@sda21(r2) -/* 8030C1B4 00309114 FF A0 10 90 */ fmr f29, f2 -/* 8030C1B8 00309118 C0 02 C8 24 */ lfs f0, lbl_805AE544@sda21(r2) -/* 8030C1BC 0030911C FF C0 18 90 */ fmr f30, f3 -/* 8030C1C0 00309120 EC 25 00 72 */ fmuls f1, f5, f1 -/* 8030C1C4 00309124 7C 7F 1B 78 */ mr r31, r3 -/* 8030C1C8 00309128 FF E0 20 90 */ fmr f31, f4 -/* 8030C1CC 0030912C EC 21 00 32 */ fmuls f1, f1, f0 -/* 8030C1D0 00309130 48 08 89 E5 */ bl tan -/* 8030C1D4 00309134 C0 42 C8 28 */ lfs f2, lbl_805AE548@sda21(r2) -/* 8030C1D8 00309138 FD 20 08 18 */ frsp f9, f1 -/* 8030C1DC 0030913C C0 62 C7 F0 */ lfs f3, lbl_805AE510@sda21(r2) -/* 8030C1E0 00309140 EC FF F0 28 */ fsubs f7, f31, f30 -/* 8030C1E4 00309144 EC 22 07 72 */ fmuls f1, f2, f29 -/* 8030C1E8 00309148 C0 C2 C8 24 */ lfs f6, lbl_805AE544@sda21(r2) -/* 8030C1EC 0030914C EC 02 07 F2 */ fmuls f0, f2, f31 -/* 8030C1F0 00309150 ED 02 07 B2 */ fmuls f8, f2, f30 -/* 8030C1F4 00309154 D0 61 00 08 */ stfs f3, 8(r1) -/* 8030C1F8 00309158 EC 81 07 B2 */ fmuls f4, f1, f30 -/* 8030C1FC 0030915C EC 3F F0 2A */ fadds f1, f31, f30 -/* 8030C200 00309160 C0 42 C8 10 */ lfs f2, lbl_805AE530@sda21(r2) -/* 8030C204 00309164 EC 00 07 B2 */ fmuls f0, f0, f30 -/* 8030C208 00309168 EC A9 01 32 */ fmuls f5, f9, f4 -/* 8030C20C 0030916C 38 61 00 28 */ addi r3, r1, 0x28 -/* 8030C210 00309170 EC 21 38 24 */ fdivs f1, f1, f7 -/* 8030C214 00309174 FC 00 00 50 */ fneg f0, f0 -/* 8030C218 00309178 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 8030C21C 0030917C EC 88 02 72 */ fmuls f4, f8, f9 -/* 8030C220 00309180 EC A6 01 72 */ fmuls f5, f6, f5 -/* 8030C224 00309184 D0 61 00 10 */ stfs f3, 0x10(r1) -/* 8030C228 00309188 EC 00 38 24 */ fdivs f0, f0, f7 -/* 8030C22C 0030918C EC 86 01 32 */ fmuls f4, f6, f4 -/* 8030C230 00309190 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 8030C234 00309194 FC C0 28 50 */ fneg f6, f5 -/* 8030C238 00309198 D0 61 00 18 */ stfs f3, 0x18(r1) -/* 8030C23C 0030919C FC E0 20 50 */ fneg f7, f4 -/* 8030C240 003091A0 EC 25 30 2A */ fadds f1, f5, f6 -/* 8030C244 003091A4 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 8030C248 003091A8 EC A5 30 28 */ fsubs f5, f5, f6 -/* 8030C24C 003091AC EC 04 38 2A */ fadds f0, f4, f7 -/* 8030C250 003091B0 D0 61 00 20 */ stfs f3, 0x20(r1) -/* 8030C254 003091B4 FC 40 08 50 */ fneg f2, f1 -/* 8030C258 003091B8 EC 84 38 28 */ fsubs f4, f4, f7 -/* 8030C25C 003091BC D0 61 00 24 */ stfs f3, 0x24(r1) -/* 8030C260 003091C0 FC 00 00 50 */ fneg f0, f0 -/* 8030C264 003091C4 EC 28 28 24 */ fdivs f1, f8, f5 -/* 8030C268 003091C8 EC 42 28 24 */ fdivs f2, f2, f5 -/* 8030C26C 003091CC EC E8 20 24 */ fdivs f7, f8, f4 -/* 8030C270 003091D0 EC C0 20 24 */ fdivs f6, f0, f4 -/* 8030C274 003091D4 FC 80 18 90 */ fmr f4, f3 -/* 8030C278 003091D8 FC A0 18 90 */ fmr f5, f3 -/* 8030C27C 003091DC FD 00 18 90 */ fmr f8, f3 -/* 8030C280 003091E0 48 00 45 FD */ bl __ct__9CMatrix4fFffffffffffffffff -/* 8030C284 003091E4 C0 01 00 28 */ lfs f0, 0x28(r1) -/* 8030C288 003091E8 D0 1F 00 00 */ stfs f0, 0(r31) -/* 8030C28C 003091EC C0 01 00 2C */ lfs f0, 0x2c(r1) -/* 8030C290 003091F0 D0 1F 00 04 */ stfs f0, 4(r31) -/* 8030C294 003091F4 C0 01 00 30 */ lfs f0, 0x30(r1) -/* 8030C298 003091F8 D0 1F 00 08 */ stfs f0, 8(r31) -/* 8030C29C 003091FC C0 01 00 34 */ lfs f0, 0x34(r1) -/* 8030C2A0 00309200 D0 1F 00 0C */ stfs f0, 0xc(r31) -/* 8030C2A4 00309204 C0 01 00 38 */ lfs f0, 0x38(r1) -/* 8030C2A8 00309208 D0 1F 00 10 */ stfs f0, 0x10(r31) -/* 8030C2AC 0030920C C0 01 00 3C */ lfs f0, 0x3c(r1) -/* 8030C2B0 00309210 D0 1F 00 14 */ stfs f0, 0x14(r31) -/* 8030C2B4 00309214 C0 01 00 40 */ lfs f0, 0x40(r1) -/* 8030C2B8 00309218 D0 1F 00 18 */ stfs f0, 0x18(r31) -/* 8030C2BC 0030921C C0 01 00 44 */ lfs f0, 0x44(r1) -/* 8030C2C0 00309220 D0 1F 00 1C */ stfs f0, 0x1c(r31) -/* 8030C2C4 00309224 C0 01 00 48 */ lfs f0, 0x48(r1) -/* 8030C2C8 00309228 D0 1F 00 20 */ stfs f0, 0x20(r31) -/* 8030C2CC 0030922C C0 01 00 4C */ lfs f0, 0x4c(r1) -/* 8030C2D0 00309230 D0 1F 00 24 */ stfs f0, 0x24(r31) -/* 8030C2D4 00309234 C0 01 00 50 */ lfs f0, 0x50(r1) -/* 8030C2D8 00309238 D0 1F 00 28 */ stfs f0, 0x28(r31) -/* 8030C2DC 0030923C C0 01 00 54 */ lfs f0, 0x54(r1) -/* 8030C2E0 00309240 D0 1F 00 2C */ stfs f0, 0x2c(r31) -/* 8030C2E4 00309244 C0 01 00 58 */ lfs f0, 0x58(r1) -/* 8030C2E8 00309248 D0 1F 00 30 */ stfs f0, 0x30(r31) -/* 8030C2EC 0030924C C0 01 00 5C */ lfs f0, 0x5c(r1) -/* 8030C2F0 00309250 D0 1F 00 34 */ stfs f0, 0x34(r31) -/* 8030C2F4 00309254 C0 01 00 60 */ lfs f0, 0x60(r1) -/* 8030C2F8 00309258 D0 1F 00 38 */ stfs f0, 0x38(r31) -/* 8030C2FC 0030925C C0 01 00 64 */ lfs f0, 0x64(r1) -/* 8030C300 00309260 D0 1F 00 3C */ stfs f0, 0x3c(r31) -/* 8030C304 00309264 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 -/* 8030C308 00309268 CB E1 00 90 */ lfd f31, 0x90(r1) -/* 8030C30C 0030926C E3 C1 00 88 */ psq_l f30, 136(r1), 0, qr0 -/* 8030C310 00309270 CB C1 00 80 */ lfd f30, 0x80(r1) -/* 8030C314 00309274 E3 A1 00 78 */ psq_l f29, 120(r1), 0, qr0 -/* 8030C318 00309278 CB A1 00 70 */ lfd f29, 0x70(r1) -/* 8030C31C 0030927C 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 8030C320 00309280 83 E1 00 6C */ lwz r31, 0x6c(r1) -/* 8030C324 00309284 7C 08 03 A6 */ mtlr r0 -/* 8030C328 00309288 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 8030C32C 0030928C 4E 80 00 20 */ blr - -.global GetPerspectiveProjectionMatrix__9CGraphicsFv -GetPerspectiveProjectionMatrix__9CGraphicsFv: -/* 8030C330 00309290 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 8030C334 00309294 7C 08 02 A6 */ mflr r0 -/* 8030C338 00309298 90 01 00 84 */ stw r0, 0x84(r1) -/* 8030C33C 0030929C DB E1 00 70 */ stfd f31, 0x70(r1) -/* 8030C340 003092A0 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 -/* 8030C344 003092A4 93 E1 00 6C */ stw r31, 0x6c(r1) -/* 8030C348 003092A8 3C 80 80 5A */ lis r4, lbl_805A61B8@ha -/* 8030C34C 003092AC C0 62 C7 F0 */ lfs f3, lbl_805AE510@sda21(r2) -/* 8030C350 003092B0 38 84 61 B8 */ addi r4, r4, lbl_805A61B8@l -/* 8030C354 003092B4 7C 7F 1B 78 */ mr r31, r3 -/* 8030C358 003092B8 C0 24 00 18 */ lfs f1, 0x18(r4) -/* 8030C35C 003092BC FC 80 18 90 */ fmr f4, f3 -/* 8030C360 003092C0 C1 02 C8 28 */ lfs f8, lbl_805AE548@sda21(r2) -/* 8030C364 003092C4 FC A0 18 90 */ fmr f5, f3 -/* 8030C368 003092C8 C1 24 00 14 */ lfs f9, 0x14(r4) -/* 8030C36C 003092CC 38 61 00 28 */ addi r3, r1, 0x28 -/* 8030C370 003092D0 EC 08 00 72 */ fmuls f0, f8, f1 -/* 8030C374 003092D4 ED 41 48 28 */ fsubs f10, f1, f9 -/* 8030C378 003092D8 C1 64 00 10 */ lfs f11, 0x10(r4) -/* 8030C37C 003092DC EC 41 48 2A */ fadds f2, f1, f9 -/* 8030C380 003092E0 C1 84 00 0C */ lfs f12, 0xc(r4) -/* 8030C384 003092E4 EC 20 02 72 */ fmuls f1, f0, f9 -/* 8030C388 003092E8 EC 0C 58 2A */ fadds f0, f12, f11 -/* 8030C38C 003092EC EC E2 50 24 */ fdivs f7, f2, f10 -/* 8030C390 003092F0 C1 A4 00 04 */ lfs f13, 4(r4) -/* 8030C394 003092F4 C3 E4 00 08 */ lfs f31, 8(r4) -/* 8030C398 003092F8 C0 C2 C8 10 */ lfs f6, lbl_805AE530@sda21(r2) -/* 8030C39C 003092FC D0 61 00 08 */ stfs f3, 8(r1) -/* 8030C3A0 00309300 FC 40 08 50 */ fneg f2, f1 -/* 8030C3A4 00309304 D0 E1 00 0C */ stfs f7, 0xc(r1) -/* 8030C3A8 00309308 EC 3F 68 2A */ fadds f1, f31, f13 -/* 8030C3AC 0030930C ED 28 02 72 */ fmuls f9, f8, f9 -/* 8030C3B0 00309310 EC 42 50 24 */ fdivs f2, f2, f10 -/* 8030C3B4 00309314 D0 61 00 10 */ stfs f3, 0x10(r1) -/* 8030C3B8 00309318 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 8030C3BC 0030931C EC EC 58 28 */ fsubs f7, f12, f11 -/* 8030C3C0 00309320 ED 1F 68 28 */ fsubs f8, f31, f13 -/* 8030C3C4 00309324 FC 40 08 50 */ fneg f2, f1 -/* 8030C3C8 00309328 D0 61 00 18 */ stfs f3, 0x18(r1) -/* 8030C3CC 0030932C FC 00 00 50 */ fneg f0, f0 -/* 8030C3D0 00309330 D0 C1 00 1C */ stfs f6, 0x1c(r1) -/* 8030C3D4 00309334 EC 29 40 24 */ fdivs f1, f9, f8 -/* 8030C3D8 00309338 D0 61 00 20 */ stfs f3, 0x20(r1) -/* 8030C3DC 0030933C D0 61 00 24 */ stfs f3, 0x24(r1) -/* 8030C3E0 00309340 EC 42 40 24 */ fdivs f2, f2, f8 -/* 8030C3E4 00309344 EC C0 38 24 */ fdivs f6, f0, f7 -/* 8030C3E8 00309348 EC E9 38 24 */ fdivs f7, f9, f7 -/* 8030C3EC 0030934C FD 00 18 90 */ fmr f8, f3 -/* 8030C3F0 00309350 48 00 44 8D */ bl __ct__9CMatrix4fFffffffffffffffff -/* 8030C3F4 00309354 C0 01 00 28 */ lfs f0, 0x28(r1) -/* 8030C3F8 00309358 D0 1F 00 00 */ stfs f0, 0(r31) -/* 8030C3FC 0030935C C0 01 00 2C */ lfs f0, 0x2c(r1) -/* 8030C400 00309360 D0 1F 00 04 */ stfs f0, 4(r31) -/* 8030C404 00309364 C0 01 00 30 */ lfs f0, 0x30(r1) -/* 8030C408 00309368 D0 1F 00 08 */ stfs f0, 8(r31) -/* 8030C40C 0030936C C0 01 00 34 */ lfs f0, 0x34(r1) -/* 8030C410 00309370 D0 1F 00 0C */ stfs f0, 0xc(r31) -/* 8030C414 00309374 C0 01 00 38 */ lfs f0, 0x38(r1) -/* 8030C418 00309378 D0 1F 00 10 */ stfs f0, 0x10(r31) -/* 8030C41C 0030937C C0 01 00 3C */ lfs f0, 0x3c(r1) -/* 8030C420 00309380 D0 1F 00 14 */ stfs f0, 0x14(r31) -/* 8030C424 00309384 C0 01 00 40 */ lfs f0, 0x40(r1) -/* 8030C428 00309388 D0 1F 00 18 */ stfs f0, 0x18(r31) -/* 8030C42C 0030938C C0 01 00 44 */ lfs f0, 0x44(r1) -/* 8030C430 00309390 D0 1F 00 1C */ stfs f0, 0x1c(r31) -/* 8030C434 00309394 C0 01 00 48 */ lfs f0, 0x48(r1) -/* 8030C438 00309398 D0 1F 00 20 */ stfs f0, 0x20(r31) -/* 8030C43C 0030939C C0 01 00 4C */ lfs f0, 0x4c(r1) -/* 8030C440 003093A0 D0 1F 00 24 */ stfs f0, 0x24(r31) -/* 8030C444 003093A4 C0 01 00 50 */ lfs f0, 0x50(r1) -/* 8030C448 003093A8 D0 1F 00 28 */ stfs f0, 0x28(r31) -/* 8030C44C 003093AC C0 01 00 54 */ lfs f0, 0x54(r1) -/* 8030C450 003093B0 D0 1F 00 2C */ stfs f0, 0x2c(r31) -/* 8030C454 003093B4 C0 01 00 58 */ lfs f0, 0x58(r1) -/* 8030C458 003093B8 D0 1F 00 30 */ stfs f0, 0x30(r31) -/* 8030C45C 003093BC C0 01 00 5C */ lfs f0, 0x5c(r1) -/* 8030C460 003093C0 D0 1F 00 34 */ stfs f0, 0x34(r31) -/* 8030C464 003093C4 C0 01 00 60 */ lfs f0, 0x60(r1) -/* 8030C468 003093C8 D0 1F 00 38 */ stfs f0, 0x38(r31) -/* 8030C46C 003093CC C0 01 00 64 */ lfs f0, 0x64(r1) -/* 8030C470 003093D0 D0 1F 00 3C */ stfs f0, 0x3c(r31) -/* 8030C474 003093D4 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 -/* 8030C478 003093D8 80 01 00 84 */ lwz r0, 0x84(r1) -/* 8030C47C 003093DC CB E1 00 70 */ lfd f31, 0x70(r1) -/* 8030C480 003093E0 83 E1 00 6C */ lwz r31, 0x6c(r1) -/* 8030C484 003093E4 7C 08 03 A6 */ mtlr r0 -/* 8030C488 003093E8 38 21 00 80 */ addi r1, r1, 0x80 -/* 8030C48C 003093EC 4E 80 00 20 */ blr - -.global SetPerspective__9CGraphicsFffff -SetPerspective__9CGraphicsFffff: -/* 8030C490 003093F0 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8030C494 003093F4 7C 08 02 A6 */ mflr r0 -/* 8030C498 003093F8 90 01 00 44 */ stw r0, 0x44(r1) -/* 8030C49C 003093FC DB E1 00 30 */ stfd f31, 0x30(r1) -/* 8030C4A0 00309400 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 8030C4A4 00309404 DB C1 00 20 */ stfd f30, 0x20(r1) -/* 8030C4A8 00309408 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 -/* 8030C4AC 0030940C DB A1 00 10 */ stfd f29, 0x10(r1) -/* 8030C4B0 00309410 F3 A1 00 18 */ psq_st f29, 24(r1), 0, qr0 -/* 8030C4B4 00309414 C0 A2 C8 20 */ lfs f5, lbl_805AE540@sda21(r2) -/* 8030C4B8 00309418 FF A0 10 90 */ fmr f29, f2 -/* 8030C4BC 0030941C C0 02 C8 24 */ lfs f0, lbl_805AE544@sda21(r2) -/* 8030C4C0 00309420 FF C0 18 90 */ fmr f30, f3 -/* 8030C4C4 00309424 EC 25 00 72 */ fmuls f1, f5, f1 -/* 8030C4C8 00309428 FF E0 20 90 */ fmr f31, f4 -/* 8030C4CC 0030942C EC 21 00 32 */ fmuls f1, f1, f0 -/* 8030C4D0 00309430 48 08 86 E5 */ bl tan -/* 8030C4D4 00309434 C0 02 C8 28 */ lfs f0, lbl_805AE548@sda21(r2) -/* 8030C4D8 00309438 FC 80 08 18 */ frsp f4, f1 -/* 8030C4DC 0030943C C0 62 C8 24 */ lfs f3, lbl_805AE544@sda21(r2) -/* 8030C4E0 00309440 38 00 00 01 */ li r0, 1 -/* 8030C4E4 00309444 EC 40 07 72 */ fmuls f2, f0, f29 -/* 8030C4E8 00309448 3C 60 80 5A */ lis r3, lbl_805A61B8@ha -/* 8030C4EC 0030944C 9C 03 61 B8 */ stbu r0, lbl_805A61B8@l(r3) -/* 8030C4F0 00309450 EC 00 07 B2 */ fmuls f0, f0, f30 -/* 8030C4F4 00309454 EC 22 07 B2 */ fmuls f1, f2, f30 -/* 8030C4F8 00309458 D3 C3 00 14 */ stfs f30, 0x14(r3) -/* 8030C4FC 0030945C EC 00 01 32 */ fmuls f0, f0, f4 -/* 8030C500 00309460 D3 E3 00 18 */ stfs f31, 0x18(r3) -/* 8030C504 00309464 EC 24 00 72 */ fmuls f1, f4, f1 -/* 8030C508 00309468 EC 83 00 32 */ fmuls f4, f3, f0 -/* 8030C50C 0030946C EC 43 00 72 */ fmuls f2, f3, f1 -/* 8030C510 00309470 FC 00 20 50 */ fneg f0, f4 -/* 8030C514 00309474 D0 83 00 0C */ stfs f4, 0xc(r3) -/* 8030C518 00309478 FC 20 10 50 */ fneg f1, f2 -/* 8030C51C 0030947C D0 43 00 08 */ stfs f2, 8(r3) -/* 8030C520 00309480 D0 23 00 04 */ stfs f1, 4(r3) -/* 8030C524 00309484 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 8030C528 00309488 4B FF D9 41 */ bl FlushProjection__9CGraphicsFv -/* 8030C52C 0030948C E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 8030C530 00309490 CB E1 00 30 */ lfd f31, 0x30(r1) -/* 8030C534 00309494 E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 -/* 8030C538 00309498 CB C1 00 20 */ lfd f30, 0x20(r1) -/* 8030C53C 0030949C E3 A1 00 18 */ psq_l f29, 24(r1), 0, qr0 -/* 8030C540 003094A0 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8030C544 003094A4 CB A1 00 10 */ lfd f29, 0x10(r1) -/* 8030C548 003094A8 7C 08 03 A6 */ mtlr r0 -/* 8030C54C 003094AC 38 21 00 40 */ addi r1, r1, 0x40 -/* 8030C550 003094B0 4E 80 00 20 */ blr - -.global SetOrtho__9CGraphicsFffffff -SetOrtho__9CGraphicsFffffff: -/* 8030C554 003094B4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8030C558 003094B8 7C 08 02 A6 */ mflr r0 -/* 8030C55C 003094BC 3C 60 80 5A */ lis r3, lbl_805A61B8@ha -/* 8030C560 003094C0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8030C564 003094C4 38 00 00 00 */ li r0, 0 -/* 8030C568 003094C8 9C 03 61 B8 */ stbu r0, lbl_805A61B8@l(r3) -/* 8030C56C 003094CC D0 23 00 04 */ stfs f1, 4(r3) -/* 8030C570 003094D0 D0 43 00 08 */ stfs f2, 8(r3) -/* 8030C574 003094D4 D0 63 00 0C */ stfs f3, 0xc(r3) -/* 8030C578 003094D8 D0 83 00 10 */ stfs f4, 0x10(r3) -/* 8030C57C 003094DC D0 A3 00 14 */ stfs f5, 0x14(r3) -/* 8030C580 003094E0 D0 C3 00 18 */ stfs f6, 0x18(r3) -/* 8030C584 003094E4 4B FF D8 E5 */ bl FlushProjection__9CGraphicsFv -/* 8030C588 003094E8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8030C58C 003094EC 7C 08 03 A6 */ mtlr r0 -/* 8030C590 003094F0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8030C594 003094F4 4E 80 00 20 */ blr - -.global SetIdentityModelMatrix__9CGraphicsFv -SetIdentityModelMatrix__9CGraphicsFv: -/* 8030C598 003094F8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8030C59C 003094FC 7C 08 02 A6 */ mflr r0 -/* 8030C5A0 00309500 90 01 00 14 */ stw r0, 0x14(r1) -/* 8030C5A4 00309504 88 0D 9C 80 */ lbz r0, lbl_805A8840@sda21(r13) -/* 8030C5A8 00309508 28 00 00 00 */ cmplwi r0, 0 -/* 8030C5AC 0030950C 40 82 00 24 */ bne lbl_8030C5D0 -/* 8030C5B0 00309510 3C 60 80 5A */ lis r3, lbl_805A6204@ha -/* 8030C5B4 00309514 3C 80 80 5A */ lis r4, skIdentity4f@ha -/* 8030C5B8 00309518 38 63 62 04 */ addi r3, r3, lbl_805A6204@l -/* 8030C5BC 0030951C 38 84 66 70 */ addi r4, r4, skIdentity4f@l -/* 8030C5C0 00309520 48 00 65 81 */ bl __as__12CTransform4fFRC12CTransform4f -/* 8030C5C4 00309524 38 00 00 01 */ li r0, 1 -/* 8030C5C8 00309528 98 0D 9C 80 */ stb r0, lbl_805A8840@sda21(r13) -/* 8030C5CC 0030952C 48 00 02 41 */ bl SetViewMatrix__9CGraphicsFv -lbl_8030C5D0: -/* 8030C5D0 00309530 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8030C5D4 00309534 7C 08 03 A6 */ mtlr r0 -/* 8030C5D8 00309538 38 21 00 10 */ addi r1, r1, 0x10 -/* 8030C5DC 0030953C 4E 80 00 20 */ blr - -.global SetModelMatrix__9CGraphicsFRC12CTransform4f -SetModelMatrix__9CGraphicsFRC12CTransform4f: -/* 8030C5E0 00309540 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8030C5E4 00309544 7C 08 02 A6 */ mflr r0 -/* 8030C5E8 00309548 3C 80 80 5A */ lis r4, skIdentity4f@ha -/* 8030C5EC 0030954C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8030C5F0 00309550 38 04 66 70 */ addi r0, r4, skIdentity4f@l -/* 8030C5F4 00309554 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8030C5F8 00309558 7C 7F 1B 78 */ mr r31, r3 -/* 8030C5FC 0030955C 7C 1F 00 40 */ cmplw r31, r0 -/* 8030C600 00309560 40 82 00 30 */ bne lbl_8030C630 -/* 8030C604 00309564 88 0D 9C 80 */ lbz r0, lbl_805A8840@sda21(r13) -/* 8030C608 00309568 28 00 00 00 */ cmplwi r0, 0 -/* 8030C60C 0030956C 40 82 00 A4 */ bne lbl_8030C6B0 -/* 8030C610 00309570 3C 60 80 5A */ lis r3, lbl_805A6204@ha -/* 8030C614 00309574 7F E4 FB 78 */ mr r4, r31 -/* 8030C618 00309578 38 63 62 04 */ addi r3, r3, lbl_805A6204@l -/* 8030C61C 0030957C 48 00 65 25 */ bl __as__12CTransform4fFRC12CTransform4f -/* 8030C620 00309580 38 00 00 01 */ li r0, 1 -/* 8030C624 00309584 98 0D 9C 80 */ stb r0, lbl_805A8840@sda21(r13) -/* 8030C628 00309588 48 00 01 E5 */ bl SetViewMatrix__9CGraphicsFv -/* 8030C62C 0030958C 48 00 00 84 */ b lbl_8030C6B0 -lbl_8030C630: -/* 8030C630 00309590 3C 60 80 5A */ lis r3, lbl_805A6204@ha -/* 8030C634 00309594 7F E4 FB 78 */ mr r4, r31 -/* 8030C638 00309598 38 63 62 04 */ addi r3, r3, lbl_805A6204@l -/* 8030C63C 0030959C 48 00 65 05 */ bl __as__12CTransform4fFRC12CTransform4f -/* 8030C640 003095A0 C1 7F 00 00 */ lfs f11, 0(r31) -/* 8030C644 003095A4 3C 60 80 5A */ lis r3, lbl_805A656C@ha -/* 8030C648 003095A8 38 00 00 00 */ li r0, 0 -/* 8030C64C 003095AC C1 5F 00 04 */ lfs f10, 4(r31) -/* 8030C650 003095B0 D5 63 65 6C */ stfsu f11, lbl_805A656C@l(r3) -/* 8030C654 003095B4 C1 3F 00 08 */ lfs f9, 8(r31) -/* 8030C658 003095B8 C1 1F 00 0C */ lfs f8, 0xc(r31) -/* 8030C65C 003095BC C0 FF 00 10 */ lfs f7, 0x10(r31) -/* 8030C660 003095C0 C0 DF 00 14 */ lfs f6, 0x14(r31) -/* 8030C664 003095C4 C0 BF 00 18 */ lfs f5, 0x18(r31) -/* 8030C668 003095C8 C0 9F 00 1C */ lfs f4, 0x1c(r31) -/* 8030C66C 003095CC C0 7F 00 20 */ lfs f3, 0x20(r31) -/* 8030C670 003095D0 C0 5F 00 24 */ lfs f2, 0x24(r31) -/* 8030C674 003095D4 C0 3F 00 28 */ lfs f1, 0x28(r31) -/* 8030C678 003095D8 C0 1F 00 2C */ lfs f0, 0x2c(r31) -/* 8030C67C 003095DC 98 0D 9C 80 */ stb r0, lbl_805A8840@sda21(r13) -/* 8030C680 003095E0 D1 43 00 04 */ stfs f10, 4(r3) -/* 8030C684 003095E4 D1 23 00 08 */ stfs f9, 8(r3) -/* 8030C688 003095E8 D1 03 00 0C */ stfs f8, 0xc(r3) -/* 8030C68C 003095EC D0 E3 00 10 */ stfs f7, 0x10(r3) -/* 8030C690 003095F0 D0 C3 00 14 */ stfs f6, 0x14(r3) -/* 8030C694 003095F4 D0 A3 00 18 */ stfs f5, 0x18(r3) -/* 8030C698 003095F8 D0 83 00 1C */ stfs f4, 0x1c(r3) -/* 8030C69C 003095FC D0 63 00 20 */ stfs f3, 0x20(r3) -/* 8030C6A0 00309600 D0 43 00 24 */ stfs f2, 0x24(r3) -/* 8030C6A4 00309604 D0 23 00 28 */ stfs f1, 0x28(r3) -/* 8030C6A8 00309608 D0 03 00 2C */ stfs f0, 0x2c(r3) -/* 8030C6AC 0030960C 48 00 01 61 */ bl SetViewMatrix__9CGraphicsFv -lbl_8030C6B0: -/* 8030C6B0 00309610 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8030C6B4 00309614 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8030C6B8 00309618 7C 08 03 A6 */ mtlr r0 -/* 8030C6BC 0030961C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8030C6C0 00309620 4E 80 00 20 */ blr - -.global SetIdentityViewPointMatrix__9CGraphicsFv -SetIdentityViewPointMatrix__9CGraphicsFv: -/* 8030C6C4 00309624 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8030C6C8 00309628 7C 08 02 A6 */ mflr r0 -/* 8030C6CC 0030962C 3C 60 80 5A */ lis r3, lbl_805A61D4@ha -/* 8030C6D0 00309630 3C 80 80 5A */ lis r4, skIdentity4f@ha -/* 8030C6D4 00309634 90 01 00 14 */ stw r0, 0x14(r1) -/* 8030C6D8 00309638 38 63 61 D4 */ addi r3, r3, lbl_805A61D4@l -/* 8030C6DC 0030963C 38 84 66 70 */ addi r4, r4, skIdentity4f@l -/* 8030C6E0 00309640 48 00 64 61 */ bl __as__12CTransform4fFRC12CTransform4f -/* 8030C6E4 00309644 3C 60 80 5A */ lis r3, lbl_805A653C@ha -/* 8030C6E8 00309648 38 63 65 3C */ addi r3, r3, lbl_805A653C@l -/* 8030C6EC 0030964C 48 07 09 55 */ bl PSMTXIdentity -/* 8030C6F0 00309650 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8030C6F4 00309654 3C A0 80 5A */ lis r5, lbl_805A653C@ha -/* 8030C6F8 00309658 38 83 66 A0 */ addi r4, r3, skZero3f@l -/* 8030C6FC 0030965C C0 A2 C7 F0 */ lfs f5, lbl_805AE510@sda21(r2) -/* 8030C700 00309660 C0 44 00 00 */ lfs f2, 0(r4) -/* 8030C704 00309664 38 A5 65 3C */ addi r5, r5, lbl_805A653C@l -/* 8030C708 00309668 3C 60 80 5A */ lis r3, lbl_805A6234@ha -/* 8030C70C 0030966C C0 82 C8 10 */ lfs f4, lbl_805AE530@sda21(r2) -/* 8030C710 00309670 C0 62 C8 14 */ lfs f3, lbl_805AE534@sda21(r2) -/* 8030C714 00309674 C0 24 00 04 */ lfs f1, 4(r4) -/* 8030C718 00309678 D4 43 62 34 */ stfsu f2, lbl_805A6234@l(r3) -/* 8030C71C 0030967C C0 04 00 08 */ lfs f0, 8(r4) -/* 8030C720 00309680 D0 A5 00 28 */ stfs f5, 0x28(r5) -/* 8030C724 00309684 D0 A5 00 14 */ stfs f5, 0x14(r5) -/* 8030C728 00309688 D0 85 00 18 */ stfs f4, 0x18(r5) -/* 8030C72C 0030968C D0 65 00 24 */ stfs f3, 0x24(r5) -/* 8030C730 00309690 D0 23 00 04 */ stfs f1, 4(r3) -/* 8030C734 00309694 D0 03 00 08 */ stfs f0, 8(r3) -/* 8030C738 00309698 48 00 00 D5 */ bl SetViewMatrix__9CGraphicsFv -/* 8030C73C 0030969C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8030C740 003096A0 7C 08 03 A6 */ mtlr r0 -/* 8030C744 003096A4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8030C748 003096A8 4E 80 00 20 */ blr - -.global SetViewPointMatrix__9CGraphicsFRC12CTransform4f -SetViewPointMatrix__9CGraphicsFRC12CTransform4f: -/* 8030C74C 003096AC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8030C750 003096B0 7C 08 02 A6 */ mflr r0 -/* 8030C754 003096B4 3C 80 80 5A */ lis r4, lbl_805A61D4@ha -/* 8030C758 003096B8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8030C75C 003096BC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8030C760 003096C0 7C 7F 1B 78 */ mr r31, r3 -/* 8030C764 003096C4 38 64 61 D4 */ addi r3, r4, lbl_805A61D4@l -/* 8030C768 003096C8 7F E4 FB 78 */ mr r4, r31 -/* 8030C76C 003096CC 48 00 63 D5 */ bl __as__12CTransform4fFRC12CTransform4f -/* 8030C770 003096D0 C0 5F 00 04 */ lfs f2, 4(r31) -/* 8030C774 003096D4 3C 80 80 5A */ lis r4, lbl_805A653C@ha -/* 8030C778 003096D8 C0 3F 00 14 */ lfs f1, 0x14(r31) -/* 8030C77C 003096DC 3C 60 80 5A */ lis r3, lbl_805A6234@ha -/* 8030C780 003096E0 FC 60 10 50 */ fneg f3, f2 -/* 8030C784 003096E4 C1 5F 00 00 */ lfs f10, 0(r31) -/* 8030C788 003096E8 C0 1F 00 24 */ lfs f0, 0x24(r31) -/* 8030C78C 003096EC FC 40 08 50 */ fneg f2, f1 -/* 8030C790 003096F0 D5 44 65 3C */ stfsu f10, lbl_805A653C@l(r4) -/* 8030C794 003096F4 C0 E2 C7 F0 */ lfs f7, lbl_805AE510@sda21(r2) -/* 8030C798 003096F8 FC 20 00 50 */ fneg f1, f0 -/* 8030C79C 003096FC C0 1F 00 0C */ lfs f0, 0xc(r31) -/* 8030C7A0 00309700 C1 3F 00 10 */ lfs f9, 0x10(r31) -/* 8030C7A4 00309704 C1 1F 00 20 */ lfs f8, 0x20(r31) -/* 8030C7A8 00309708 C0 DF 00 08 */ lfs f6, 8(r31) -/* 8030C7AC 0030970C C0 BF 00 18 */ lfs f5, 0x18(r31) -/* 8030C7B0 00309710 C0 9F 00 28 */ lfs f4, 0x28(r31) -/* 8030C7B4 00309714 C1 9F 00 2C */ lfs f12, 0x2c(r31) -/* 8030C7B8 00309718 D4 03 62 34 */ stfsu f0, lbl_805A6234@l(r3) -/* 8030C7BC 0030971C C1 7F 00 1C */ lfs f11, 0x1c(r31) -/* 8030C7C0 00309720 D1 24 00 04 */ stfs f9, 4(r4) -/* 8030C7C4 00309724 D1 04 00 08 */ stfs f8, 8(r4) -/* 8030C7C8 00309728 D0 E4 00 0C */ stfs f7, 0xc(r4) -/* 8030C7CC 0030972C D0 C4 00 10 */ stfs f6, 0x10(r4) -/* 8030C7D0 00309730 D0 A4 00 14 */ stfs f5, 0x14(r4) -/* 8030C7D4 00309734 D0 84 00 18 */ stfs f4, 0x18(r4) -/* 8030C7D8 00309738 D0 E4 00 1C */ stfs f7, 0x1c(r4) -/* 8030C7DC 0030973C D0 64 00 20 */ stfs f3, 0x20(r4) -/* 8030C7E0 00309740 D0 44 00 24 */ stfs f2, 0x24(r4) -/* 8030C7E4 00309744 D0 24 00 28 */ stfs f1, 0x28(r4) -/* 8030C7E8 00309748 D0 E4 00 2C */ stfs f7, 0x2c(r4) -/* 8030C7EC 0030974C D1 63 00 04 */ stfs f11, 4(r3) -/* 8030C7F0 00309750 D1 83 00 08 */ stfs f12, 8(r3) -/* 8030C7F4 00309754 48 00 00 19 */ bl SetViewMatrix__9CGraphicsFv -/* 8030C7F8 00309758 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8030C7FC 0030975C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8030C800 00309760 7C 08 03 A6 */ mtlr r0 -/* 8030C804 00309764 38 21 00 10 */ addi r1, r1, 0x10 -/* 8030C808 00309768 4E 80 00 20 */ blr - -.global SetViewMatrix__9CGraphicsFv -SetViewMatrix__9CGraphicsFv: -/* 8030C80C 0030976C 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 8030C810 00309770 7C 08 02 A6 */ mflr r0 -/* 8030C814 00309774 3C 80 80 5A */ lis r4, lbl_805A6234@ha -/* 8030C818 00309778 90 01 00 74 */ stw r0, 0x74(r1) -/* 8030C81C 0030977C 38 61 00 38 */ addi r3, r1, 0x38 -/* 8030C820 00309780 C4 24 62 34 */ lfsu f1, lbl_805A6234@l(r4) -/* 8030C824 00309784 C0 44 00 04 */ lfs f2, 4(r4) -/* 8030C828 00309788 FC 20 08 50 */ fneg f1, f1 -/* 8030C82C 0030978C C0 04 00 08 */ lfs f0, 8(r4) -/* 8030C830 00309790 FC 40 10 50 */ fneg f2, f2 -/* 8030C834 00309794 FC 60 00 50 */ fneg f3, f0 -/* 8030C838 00309798 48 07 09 FD */ bl PSMTXTrans -/* 8030C83C 0030979C 3C 60 80 5A */ lis r3, lbl_805A653C@ha -/* 8030C840 003097A0 3C A0 80 5A */ lis r5, lbl_805A65CC@ha -/* 8030C844 003097A4 38 63 65 3C */ addi r3, r3, lbl_805A653C@l -/* 8030C848 003097A8 38 81 00 38 */ addi r4, r1, 0x38 -/* 8030C84C 003097AC 38 A5 65 CC */ addi r5, r5, lbl_805A65CC@l -/* 8030C850 003097B0 48 07 08 51 */ bl PSMTXConcat -/* 8030C854 003097B4 88 0D 9C 80 */ lbz r0, lbl_805A8840@sda21(r13) -/* 8030C858 003097B8 28 00 00 00 */ cmplwi r0, 0 -/* 8030C85C 003097BC 41 82 00 1C */ beq lbl_8030C878 -/* 8030C860 003097C0 3C 60 80 5A */ lis r3, lbl_805A65CC@ha -/* 8030C864 003097C4 3C 80 80 5A */ lis r4, lbl_805A659C@ha -/* 8030C868 003097C8 38 63 65 CC */ addi r3, r3, lbl_805A65CC@l -/* 8030C86C 003097CC 38 84 65 9C */ addi r4, r4, lbl_805A659C@l -/* 8030C870 003097D0 48 07 07 FD */ bl PSMTXCopy -/* 8030C874 003097D4 48 00 00 20 */ b lbl_8030C894 -lbl_8030C878: -/* 8030C878 003097D8 3C 60 80 5A */ lis r3, lbl_805A65CC@ha -/* 8030C87C 003097DC 3C 80 80 5A */ lis r4, lbl_805A656C@ha -/* 8030C880 003097E0 3C A0 80 5A */ lis r5, lbl_805A659C@ha -/* 8030C884 003097E4 38 63 65 CC */ addi r3, r3, lbl_805A65CC@l -/* 8030C888 003097E8 38 84 65 6C */ addi r4, r4, lbl_805A656C@l -/* 8030C88C 003097EC 38 A5 65 9C */ addi r5, r5, lbl_805A659C@l -/* 8030C890 003097F0 48 07 08 11 */ bl PSMTXConcat -lbl_8030C894: -/* 8030C894 003097F4 3C 60 80 5A */ lis r3, lbl_805A659C@ha -/* 8030C898 003097F8 38 80 00 00 */ li r4, 0 -/* 8030C89C 003097FC 38 63 65 9C */ addi r3, r3, lbl_805A659C@l -/* 8030C8A0 00309800 48 06 FB 19 */ bl GXLoadPosMtxImm -/* 8030C8A4 00309804 3C 60 80 5A */ lis r3, lbl_805A659C@ha -/* 8030C8A8 00309808 38 81 00 08 */ addi r4, r1, 8 -/* 8030C8AC 0030980C 38 63 65 9C */ addi r3, r3, lbl_805A659C@l -/* 8030C8B0 00309810 48 07 08 BD */ bl PSMTXInvXpose -/* 8030C8B4 00309814 38 61 00 08 */ addi r3, r1, 8 -/* 8030C8B8 00309818 38 80 00 00 */ li r4, 0 -/* 8030C8BC 0030981C 48 06 FB 4D */ bl GXLoadNrmMtxImm -/* 8030C8C0 00309820 80 01 00 74 */ lwz r0, 0x74(r1) -/* 8030C8C4 00309824 7C 08 03 A6 */ mtlr r0 -/* 8030C8C8 00309828 38 21 00 70 */ addi r1, r1, 0x70 -/* 8030C8CC 0030982C 4E 80 00 20 */ blr - -.global SetLightState__9CGraphicsFUc -SetLightState__9CGraphicsFUc: -/* 8030C8D0 00309830 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8030C8D4 00309834 7C 08 02 A6 */ mflr r0 -/* 8030C8D8 00309838 39 20 00 02 */ li r9, 2 -/* 8030C8DC 0030983C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8030C8E0 00309840 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8030C8E4 00309844 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8030C8E8 00309848 7C 7F 1B 78 */ mr r31, r3 -/* 8030C8EC 0030984C 41 82 00 08 */ beq lbl_8030C8F4 -/* 8030C8F0 00309850 39 20 00 01 */ li r9, 1 -lbl_8030C8F4: -/* 8030C8F4 00309854 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 8030C8F8 00309858 39 00 00 00 */ li r8, 0 -/* 8030C8FC 0030985C 41 82 00 08 */ beq lbl_8030C904 -/* 8030C900 00309860 39 00 00 02 */ li r8, 2 -lbl_8030C904: -/* 8030C904 00309864 3C 60 80 5A */ lis r3, lbl_805A6170@ha -/* 8030C908 00309868 57 E7 06 3E */ clrlwi r7, r31, 0x18 -/* 8030C90C 0030986C 38 63 61 70 */ addi r3, r3, lbl_805A6170@l -/* 8030C910 00309870 38 A0 00 00 */ li r5, 0 -/* 8030C914 00309874 88 63 00 2E */ lbz r3, 0x2e(r3) -/* 8030C918 00309878 7C 07 00 D0 */ neg r0, r7 -/* 8030C91C 0030987C 7C 00 3B 78 */ or r0, r0, r7 -/* 8030C920 00309880 54 66 FF FE */ rlwinm r6, r3, 0x1f, 0x1f, 0x1f -/* 8030C924 00309884 38 60 00 00 */ li r3, 0 -/* 8030C928 00309888 54 04 0F FE */ srwi r4, r0, 0x1f -/* 8030C92C 0030988C 4B FF C3 A1 */ bl SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn -/* 8030C930 00309890 57 E0 06 3E */ clrlwi r0, r31, 0x18 -/* 8030C934 00309894 9B ED A8 16 */ stb r31, lbl_805A93D6@sda21(r13) -/* 8030C938 00309898 70 03 00 55 */ andi. r3, r0, 0x55 -/* 8030C93C 0030989C 70 00 00 AA */ andi. r0, r0, 0xaa -/* 8030C940 003098A0 54 00 F8 7E */ srwi r0, r0, 1 -/* 8030C944 003098A4 7C 03 02 14 */ add r0, r3, r0 -/* 8030C948 003098A8 70 03 00 33 */ andi. r3, r0, 0x33 -/* 8030C94C 003098AC 70 00 00 CC */ andi. r0, r0, 0xcc -/* 8030C950 003098B0 54 00 F0 BE */ srwi r0, r0, 2 -/* 8030C954 003098B4 7C 03 02 14 */ add r0, r3, r0 -/* 8030C958 003098B8 54 03 07 3E */ clrlwi r3, r0, 0x1c -/* 8030C95C 003098BC 54 00 E7 3E */ rlwinm r0, r0, 0x1c, 0x1c, 0x1f -/* 8030C960 003098C0 7C 03 02 14 */ add r0, r3, r0 -/* 8030C964 003098C4 90 0D A7 DC */ stw r0, lbl_805A939C@sda21(r13) -/* 8030C968 003098C8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8030C96C 003098CC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8030C970 003098D0 7C 08 03 A6 */ mtlr r0 -/* 8030C974 003098D4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8030C978 003098D8 4E 80 00 20 */ blr - -.global DisableAllLights__9CGraphicsFv -DisableAllLights__9CGraphicsFv: -/* 8030C97C 003098DC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8030C980 003098E0 7C 08 02 A6 */ mflr r0 -/* 8030C984 003098E4 38 60 00 00 */ li r3, 0 -/* 8030C988 003098E8 38 80 00 00 */ li r4, 0 -/* 8030C98C 003098EC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8030C990 003098F0 38 00 00 00 */ li r0, 0 -/* 8030C994 003098F4 38 A0 00 00 */ li r5, 0 -/* 8030C998 003098F8 38 C0 00 00 */ li r6, 0 -/* 8030C99C 003098FC 90 0D A7 DC */ stw r0, lbl_805A939C@sda21(r13) -/* 8030C9A0 00309900 38 E0 00 00 */ li r7, 0 -/* 8030C9A4 00309904 39 00 00 00 */ li r8, 0 -/* 8030C9A8 00309908 39 20 00 02 */ li r9, 2 -/* 8030C9AC 0030990C 98 0D A8 16 */ stb r0, lbl_805A93D6@sda21(r13) -/* 8030C9B0 00309910 4B FF C3 1D */ bl SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn -/* 8030C9B4 00309914 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8030C9B8 00309918 7C 08 03 A6 */ mtlr r0 -/* 8030C9BC 0030991C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8030C9C0 00309920 4E 80 00 20 */ blr - -.global LoadLight__9CGraphicsF9ERglLightRC6CLight -LoadLight__9CGraphicsF9ERglLightRC6CLight: -/* 8030C9C4 00309924 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8030C9C8 00309928 7C 08 02 A6 */ mflr r0 -/* 8030C9CC 0030992C 90 01 00 44 */ stw r0, 0x44(r1) -/* 8030C9D0 00309930 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 8030C9D4 00309934 93 C1 00 38 */ stw r30, 0x38(r1) -/* 8030C9D8 00309938 7C 9E 23 78 */ mr r30, r4 -/* 8030C9DC 0030993C 93 A1 00 34 */ stw r29, 0x34(r1) -/* 8030C9E0 00309940 7C 7D 1B 79 */ or. r29, r3, r3 -/* 8030C9E4 00309944 93 81 00 30 */ stw r28, 0x30(r1) -/* 8030C9E8 00309948 40 82 00 0C */ bne lbl_8030C9F4 -/* 8030C9EC 0030994C 3B E0 00 01 */ li r31, 1 -/* 8030C9F0 00309950 48 00 00 7C */ b lbl_8030CA6C -lbl_8030C9F4: -/* 8030C9F4 00309954 2C 1D 00 01 */ cmpwi r29, 1 -/* 8030C9F8 00309958 40 82 00 0C */ bne lbl_8030CA04 -/* 8030C9FC 0030995C 3B E0 00 02 */ li r31, 2 -/* 8030CA00 00309960 48 00 00 6C */ b lbl_8030CA6C -lbl_8030CA04: -/* 8030CA04 00309964 2C 1D 00 02 */ cmpwi r29, 2 -/* 8030CA08 00309968 40 82 00 0C */ bne lbl_8030CA14 -/* 8030CA0C 0030996C 3B E0 00 04 */ li r31, 4 -/* 8030CA10 00309970 48 00 00 5C */ b lbl_8030CA6C -lbl_8030CA14: -/* 8030CA14 00309974 2C 1D 00 03 */ cmpwi r29, 3 -/* 8030CA18 00309978 40 82 00 0C */ bne lbl_8030CA24 -/* 8030CA1C 0030997C 3B E0 00 08 */ li r31, 8 -/* 8030CA20 00309980 48 00 00 4C */ b lbl_8030CA6C -lbl_8030CA24: -/* 8030CA24 00309984 2C 1D 00 04 */ cmpwi r29, 4 -/* 8030CA28 00309988 40 82 00 0C */ bne lbl_8030CA34 -/* 8030CA2C 0030998C 3B E0 00 10 */ li r31, 0x10 -/* 8030CA30 00309990 48 00 00 3C */ b lbl_8030CA6C -lbl_8030CA34: -/* 8030CA34 00309994 2C 1D 00 05 */ cmpwi r29, 5 -/* 8030CA38 00309998 40 82 00 0C */ bne lbl_8030CA44 -/* 8030CA3C 0030999C 3B E0 00 20 */ li r31, 0x20 -/* 8030CA40 003099A0 48 00 00 2C */ b lbl_8030CA6C -lbl_8030CA44: -/* 8030CA44 003099A4 2C 1D 00 06 */ cmpwi r29, 6 -/* 8030CA48 003099A8 40 82 00 0C */ bne lbl_8030CA54 -/* 8030CA4C 003099AC 3B E0 00 40 */ li r31, 0x40 -/* 8030CA50 003099B0 48 00 00 1C */ b lbl_8030CA6C -lbl_8030CA54: -/* 8030CA54 003099B4 38 7D FF F9 */ addi r3, r29, -7 -/* 8030CA58 003099B8 20 1D 00 07 */ subfic r0, r29, 7 -/* 8030CA5C 003099BC 7C 63 00 F8 */ nor r3, r3, r0 -/* 8030CA60 003099C0 38 00 00 80 */ li r0, 0x80 -/* 8030CA64 003099C4 7C 63 FE 70 */ srawi r3, r3, 0x1f -/* 8030CA68 003099C8 7C 1F 18 38 */ and r31, r0, r3 -lbl_8030CA6C: -/* 8030CA6C 003099CC 80 1E 00 1C */ lwz r0, 0x1c(r30) -/* 8030CA70 003099D0 C0 BE 00 00 */ lfs f5, 0(r30) -/* 8030CA74 003099D4 C0 9E 00 04 */ lfs f4, 4(r30) -/* 8030CA78 003099D8 2C 00 00 02 */ cmpwi r0, 2 -/* 8030CA7C 003099DC C0 7E 00 08 */ lfs f3, 8(r30) -/* 8030CA80 003099E0 C0 5E 00 0C */ lfs f2, 0xc(r30) -/* 8030CA84 003099E4 C0 3E 00 10 */ lfs f1, 0x10(r30) -/* 8030CA88 003099E8 C0 1E 00 14 */ lfs f0, 0x14(r30) -/* 8030CA8C 003099EC D0 A1 00 18 */ stfs f5, 0x18(r1) -/* 8030CA90 003099F0 D0 81 00 1C */ stfs f4, 0x1c(r1) -/* 8030CA94 003099F4 D0 61 00 20 */ stfs f3, 0x20(r1) -/* 8030CA98 003099F8 D0 41 00 0C */ stfs f2, 0xc(r1) -/* 8030CA9C 003099FC D0 21 00 10 */ stfs f1, 0x10(r1) -/* 8030CAA0 00309A00 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 8030CAA4 00309A04 41 82 01 18 */ beq lbl_8030CBBC -/* 8030CAA8 00309A08 40 80 00 14 */ bge lbl_8030CABC -/* 8030CAAC 00309A0C 2C 00 00 00 */ cmpwi r0, 0 -/* 8030CAB0 00309A10 41 82 00 1C */ beq lbl_8030CACC -/* 8030CAB4 00309A14 40 80 00 AC */ bge lbl_8030CB60 -/* 8030CAB8 00309A18 48 00 02 14 */ b lbl_8030CCCC -lbl_8030CABC: -/* 8030CABC 00309A1C 2C 00 00 04 */ cmpwi r0, 4 -/* 8030CAC0 00309A20 41 82 01 8C */ beq lbl_8030CC4C -/* 8030CAC4 00309A24 40 80 02 08 */ bge lbl_8030CCCC -/* 8030CAC8 00309A28 48 00 00 98 */ b lbl_8030CB60 -lbl_8030CACC: -/* 8030CACC 00309A2C 3C 60 80 5A */ lis r3, lbl_805A65CC@ha -/* 8030CAD0 00309A30 38 81 00 18 */ addi r4, r1, 0x18 -/* 8030CAD4 00309A34 38 63 65 CC */ addi r3, r3, lbl_805A65CC@l -/* 8030CAD8 00309A38 7C 85 23 78 */ mr r5, r4 -/* 8030CADC 00309A3C 48 07 09 99 */ bl PSMTXMultVec -/* 8030CAE0 00309A40 3C 60 80 5A */ lis r3, lbl_805A6240@ha -/* 8030CAE4 00309A44 57 A4 30 32 */ slwi r4, r29, 6 -/* 8030CAE8 00309A48 38 03 62 40 */ addi r0, r3, lbl_805A6240@l -/* 8030CAEC 00309A4C C0 21 00 18 */ lfs f1, 0x18(r1) -/* 8030CAF0 00309A50 7F 80 22 14 */ add r28, r0, r4 -/* 8030CAF4 00309A54 C0 41 00 1C */ lfs f2, 0x1c(r1) -/* 8030CAF8 00309A58 C0 61 00 20 */ lfs f3, 0x20(r1) -/* 8030CAFC 00309A5C 7F 83 E3 78 */ mr r3, r28 -/* 8030CB00 00309A60 48 06 CD 95 */ bl GXInitLightPos -/* 8030CB04 00309A64 3C 60 80 5A */ lis r3, lbl_805A65CC@ha -/* 8030CB08 00309A68 38 81 00 0C */ addi r4, r1, 0xc -/* 8030CB0C 00309A6C 38 63 65 CC */ addi r3, r3, lbl_805A65CC@l -/* 8030CB10 00309A70 7C 85 23 78 */ mr r5, r4 -/* 8030CB14 00309A74 48 07 09 B5 */ bl PSMTXMultVecSR -/* 8030CB18 00309A78 C0 21 00 0C */ lfs f1, 0xc(r1) -/* 8030CB1C 00309A7C 7F 83 E3 78 */ mr r3, r28 -/* 8030CB20 00309A80 C0 41 00 10 */ lfs f2, 0x10(r1) -/* 8030CB24 00309A84 C0 61 00 14 */ lfs f3, 0x14(r1) -/* 8030CB28 00309A88 48 06 CD 7D */ bl GXInitLightDir -/* 8030CB2C 00309A8C C0 42 C7 F0 */ lfs f2, lbl_805AE510@sda21(r2) -/* 8030CB30 00309A90 7F 83 E3 78 */ mr r3, r28 -/* 8030CB34 00309A94 C0 22 C8 10 */ lfs f1, lbl_805AE530@sda21(r2) -/* 8030CB38 00309A98 FC 60 10 90 */ fmr f3, f2 -/* 8030CB3C 00309A9C C0 9E 00 24 */ lfs f4, 0x24(r30) -/* 8030CB40 00309AA0 C0 BE 00 28 */ lfs f5, 0x28(r30) -/* 8030CB44 00309AA4 C0 DE 00 2C */ lfs f6, 0x2c(r30) -/* 8030CB48 00309AA8 48 06 CB A1 */ bl GXInitLightAttn -/* 8030CB4C 00309AAC C0 3E 00 20 */ lfs f1, 0x20(r30) -/* 8030CB50 00309AB0 7F 83 E3 78 */ mr r3, r28 -/* 8030CB54 00309AB4 38 80 00 03 */ li r4, 3 -/* 8030CB58 00309AB8 48 06 CB AD */ bl GXInitLightSpot -/* 8030CB5C 00309ABC 48 00 01 70 */ b lbl_8030CCCC -lbl_8030CB60: -/* 8030CB60 00309AC0 3C 60 80 5A */ lis r3, lbl_805A65CC@ha -/* 8030CB64 00309AC4 38 81 00 18 */ addi r4, r1, 0x18 -/* 8030CB68 00309AC8 38 63 65 CC */ addi r3, r3, lbl_805A65CC@l -/* 8030CB6C 00309ACC 7C 85 23 78 */ mr r5, r4 -/* 8030CB70 00309AD0 48 07 09 05 */ bl PSMTXMultVec -/* 8030CB74 00309AD4 3C 60 80 5A */ lis r3, lbl_805A6240@ha -/* 8030CB78 00309AD8 57 A4 30 32 */ slwi r4, r29, 6 -/* 8030CB7C 00309ADC 38 03 62 40 */ addi r0, r3, lbl_805A6240@l -/* 8030CB80 00309AE0 C0 21 00 18 */ lfs f1, 0x18(r1) -/* 8030CB84 00309AE4 7F 80 22 14 */ add r28, r0, r4 -/* 8030CB88 00309AE8 C0 41 00 1C */ lfs f2, 0x1c(r1) -/* 8030CB8C 00309AEC C0 61 00 20 */ lfs f3, 0x20(r1) -/* 8030CB90 00309AF0 7F 83 E3 78 */ mr r3, r28 -/* 8030CB94 00309AF4 48 06 CD 01 */ bl GXInitLightPos -/* 8030CB98 00309AF8 C0 42 C7 F0 */ lfs f2, lbl_805AE510@sda21(r2) -/* 8030CB9C 00309AFC 7F 83 E3 78 */ mr r3, r28 -/* 8030CBA0 00309B00 C0 22 C8 10 */ lfs f1, lbl_805AE530@sda21(r2) -/* 8030CBA4 00309B04 FC 60 10 90 */ fmr f3, f2 -/* 8030CBA8 00309B08 C0 9E 00 24 */ lfs f4, 0x24(r30) -/* 8030CBAC 00309B0C C0 BE 00 28 */ lfs f5, 0x28(r30) -/* 8030CBB0 00309B10 C0 DE 00 2C */ lfs f6, 0x2c(r30) -/* 8030CBB4 00309B14 48 06 CB 35 */ bl GXInitLightAttn -/* 8030CBB8 00309B18 48 00 01 14 */ b lbl_8030CCCC -lbl_8030CBBC: -/* 8030CBBC 00309B1C 3C 60 80 5A */ lis r3, lbl_805A65CC@ha -/* 8030CBC0 00309B20 38 81 00 0C */ addi r4, r1, 0xc -/* 8030CBC4 00309B24 38 63 65 CC */ addi r3, r3, lbl_805A65CC@l -/* 8030CBC8 00309B28 7C 85 23 78 */ mr r5, r4 -/* 8030CBCC 00309B2C 48 07 08 FD */ bl PSMTXMultVecSR -/* 8030CBD0 00309B30 C0 01 00 14 */ lfs f0, 0x14(r1) -/* 8030CBD4 00309B34 3C 60 80 5A */ lis r3, lbl_805A6240@ha -/* 8030CBD8 00309B38 C0 21 00 10 */ lfs f1, 0x10(r1) -/* 8030CBDC 00309B3C 57 A4 30 32 */ slwi r4, r29, 6 -/* 8030CBE0 00309B40 FC A0 00 50 */ fneg f5, f0 -/* 8030CBE4 00309B44 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 8030CBE8 00309B48 FC 80 08 50 */ fneg f4, f1 -/* 8030CBEC 00309B4C 38 03 62 40 */ addi r0, r3, lbl_805A6240@l -/* 8030CBF0 00309B50 FC 00 00 50 */ fneg f0, f0 -/* 8030CBF4 00309B54 7F 80 22 14 */ add r28, r0, r4 -/* 8030CBF8 00309B58 FC 40 20 18 */ frsp f2, f4 -/* 8030CBFC 00309B5C C0 62 C8 2C */ lfs f3, lbl_805AE54C@sda21(r2) -/* 8030CC00 00309B60 FC 20 00 18 */ frsp f1, f0 -/* 8030CC04 00309B64 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 8030CC08 00309B68 FC 00 28 18 */ frsp f0, f5 -/* 8030CC0C 00309B6C 7F 83 E3 78 */ mr r3, r28 -/* 8030CC10 00309B70 EC 23 00 72 */ fmuls f1, f3, f1 -/* 8030CC14 00309B74 D0 81 00 10 */ stfs f4, 0x10(r1) -/* 8030CC18 00309B78 EC 43 00 B2 */ fmuls f2, f3, f2 -/* 8030CC1C 00309B7C EC 63 00 32 */ fmuls f3, f3, f0 -/* 8030CC20 00309B80 D0 A1 00 14 */ stfs f5, 0x14(r1) -/* 8030CC24 00309B84 48 06 CC 71 */ bl GXInitLightPos -/* 8030CC28 00309B88 C0 42 C7 F0 */ lfs f2, lbl_805AE510@sda21(r2) -/* 8030CC2C 00309B8C 7F 83 E3 78 */ mr r3, r28 -/* 8030CC30 00309B90 C0 22 C8 10 */ lfs f1, lbl_805AE530@sda21(r2) -/* 8030CC34 00309B94 FC 60 10 90 */ fmr f3, f2 -/* 8030CC38 00309B98 FC 80 08 90 */ fmr f4, f1 -/* 8030CC3C 00309B9C FC A0 10 90 */ fmr f5, f2 -/* 8030CC40 00309BA0 FC C0 10 90 */ fmr f6, f2 -/* 8030CC44 00309BA4 48 06 CA A5 */ bl GXInitLightAttn -/* 8030CC48 00309BA8 48 00 00 84 */ b lbl_8030CCCC -lbl_8030CC4C: -/* 8030CC4C 00309BAC 3C 60 80 5A */ lis r3, lbl_805A65CC@ha -/* 8030CC50 00309BB0 38 81 00 18 */ addi r4, r1, 0x18 -/* 8030CC54 00309BB4 38 63 65 CC */ addi r3, r3, lbl_805A65CC@l -/* 8030CC58 00309BB8 7C 85 23 78 */ mr r5, r4 -/* 8030CC5C 00309BBC 48 07 08 19 */ bl PSMTXMultVec -/* 8030CC60 00309BC0 3C 60 80 5A */ lis r3, lbl_805A6240@ha -/* 8030CC64 00309BC4 57 A4 30 32 */ slwi r4, r29, 6 -/* 8030CC68 00309BC8 38 03 62 40 */ addi r0, r3, lbl_805A6240@l -/* 8030CC6C 00309BCC C0 21 00 18 */ lfs f1, 0x18(r1) -/* 8030CC70 00309BD0 7F 80 22 14 */ add r28, r0, r4 -/* 8030CC74 00309BD4 C0 41 00 1C */ lfs f2, 0x1c(r1) -/* 8030CC78 00309BD8 C0 61 00 20 */ lfs f3, 0x20(r1) -/* 8030CC7C 00309BDC 7F 83 E3 78 */ mr r3, r28 -/* 8030CC80 00309BE0 48 06 CC 15 */ bl GXInitLightPos -/* 8030CC84 00309BE4 3C 60 80 5A */ lis r3, lbl_805A65CC@ha -/* 8030CC88 00309BE8 38 81 00 0C */ addi r4, r1, 0xc -/* 8030CC8C 00309BEC 38 63 65 CC */ addi r3, r3, lbl_805A65CC@l -/* 8030CC90 00309BF0 7C 85 23 78 */ mr r5, r4 -/* 8030CC94 00309BF4 48 07 08 35 */ bl PSMTXMultVecSR -/* 8030CC98 00309BF8 C0 21 00 0C */ lfs f1, 0xc(r1) -/* 8030CC9C 00309BFC 7F 83 E3 78 */ mr r3, r28 -/* 8030CCA0 00309C00 C0 41 00 10 */ lfs f2, 0x10(r1) -/* 8030CCA4 00309C04 C0 61 00 14 */ lfs f3, 0x14(r1) -/* 8030CCA8 00309C08 48 06 CB FD */ bl GXInitLightDir -/* 8030CCAC 00309C0C C0 3E 00 30 */ lfs f1, 0x30(r30) -/* 8030CCB0 00309C10 7F 83 E3 78 */ mr r3, r28 -/* 8030CCB4 00309C14 C0 5E 00 34 */ lfs f2, 0x34(r30) -/* 8030CCB8 00309C18 C0 7E 00 38 */ lfs f3, 0x38(r30) -/* 8030CCBC 00309C1C C0 9E 00 24 */ lfs f4, 0x24(r30) -/* 8030CCC0 00309C20 C0 BE 00 28 */ lfs f5, 0x28(r30) -/* 8030CCC4 00309C24 C0 DE 00 2C */ lfs f6, 0x2c(r30) -/* 8030CCC8 00309C28 48 06 CA 21 */ bl GXInitLightAttn -lbl_8030CCCC: -/* 8030CCCC 00309C2C 80 DE 00 18 */ lwz r6, 0x18(r30) -/* 8030CCD0 00309C30 3C 60 80 5A */ lis r3, lbl_805A6240@ha -/* 8030CCD4 00309C34 57 A5 30 32 */ slwi r5, r29, 6 -/* 8030CCD8 00309C38 38 81 00 08 */ addi r4, r1, 8 -/* 8030CCDC 00309C3C 38 03 62 40 */ addi r0, r3, lbl_805A6240@l -/* 8030CCE0 00309C40 90 C1 00 08 */ stw r6, 8(r1) -/* 8030CCE4 00309C44 7F 80 2A 14 */ add r28, r0, r5 -/* 8030CCE8 00309C48 7F 83 E3 78 */ mr r3, r28 -/* 8030CCEC 00309C4C 48 06 CB D5 */ bl GXInitLightColor -/* 8030CCF0 00309C50 7F 83 E3 78 */ mr r3, r28 -/* 8030CCF4 00309C54 7F E4 FB 78 */ mr r4, r31 -/* 8030CCF8 00309C58 48 06 CB D5 */ bl GXLoadLightObjImm -/* 8030CCFC 00309C5C 3C 60 80 3F */ lis r3, lbl_803ED928@ha -/* 8030CD00 00309C60 80 9E 00 1C */ lwz r4, 0x1c(r30) -/* 8030CD04 00309C64 57 A0 10 3A */ slwi r0, r29, 2 -/* 8030CD08 00309C68 38 63 D9 28 */ addi r3, r3, lbl_803ED928@l -/* 8030CD0C 00309C6C 7C 83 01 2E */ stwx r4, r3, r0 -/* 8030CD10 00309C70 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 8030CD14 00309C74 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 8030CD18 00309C78 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 8030CD1C 00309C7C 83 81 00 30 */ lwz r28, 0x30(r1) -/* 8030CD20 00309C80 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8030CD24 00309C84 7C 08 03 A6 */ mtlr r0 -/* 8030CD28 00309C88 38 21 00 40 */ addi r1, r1, 0x40 -/* 8030CD2C 00309C8C 4E 80 00 20 */ blr - -.global EnableLight__9CGraphicsF9ERglLight -EnableLight__9CGraphicsF9ERglLight: -/* 8030CD30 00309C90 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8030CD34 00309C94 7C 08 02 A6 */ mflr r0 -/* 8030CD38 00309C98 90 01 00 14 */ stw r0, 0x14(r1) -/* 8030CD3C 00309C9C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8030CD40 00309CA0 7C 7F 1B 78 */ mr r31, r3 -/* 8030CD44 00309CA4 38 60 00 01 */ li r3, 1 -/* 8030CD48 00309CA8 4B FF C1 09 */ bl SetNumChans__3CGXFUc -/* 8030CD4C 00309CAC 38 00 00 01 */ li r0, 1 -/* 8030CD50 00309CB0 88 6D A8 16 */ lbz r3, lbl_805A93D6@sda21(r13) -/* 8030CD54 00309CB4 7C 04 F8 30 */ slw r4, r0, r31 -/* 8030CD58 00309CB8 7C 60 20 39 */ and. r0, r3, r4 -/* 8030CD5C 00309CBC 40 82 00 38 */ bne lbl_8030CD94 -/* 8030CD60 00309CC0 7C 60 23 78 */ or r0, r3, r4 -/* 8030CD64 00309CC4 38 60 00 00 */ li r3, 0 -/* 8030CD68 00309CC8 98 0D A8 16 */ stb r0, lbl_805A93D6@sda21(r13) -/* 8030CD6C 00309CCC 54 07 06 3E */ clrlwi r7, r0, 0x18 -/* 8030CD70 00309CD0 38 80 00 01 */ li r4, 1 -/* 8030CD74 00309CD4 38 A0 00 00 */ li r5, 0 -/* 8030CD78 00309CD8 38 C0 00 00 */ li r6, 0 -/* 8030CD7C 00309CDC 39 00 00 02 */ li r8, 2 -/* 8030CD80 00309CE0 39 20 00 01 */ li r9, 1 -/* 8030CD84 00309CE4 4B FF BF 49 */ bl SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn -/* 8030CD88 00309CE8 80 6D A7 DC */ lwz r3, lbl_805A939C@sda21(r13) -/* 8030CD8C 00309CEC 38 03 00 01 */ addi r0, r3, 1 -/* 8030CD90 00309CF0 90 0D A7 DC */ stw r0, lbl_805A939C@sda21(r13) -lbl_8030CD94: -/* 8030CD94 00309CF4 88 0D A8 16 */ lbz r0, lbl_805A93D6@sda21(r13) -/* 8030CD98 00309CF8 98 0D A8 17 */ stb r0, lbl_805A93D7@sda21(r13) -/* 8030CD9C 00309CFC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8030CDA0 00309D00 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8030CDA4 00309D04 7C 08 03 A6 */ mtlr r0 -/* 8030CDA8 00309D08 38 21 00 10 */ addi r1, r1, 0x10 -/* 8030CDAC 00309D0C 4E 80 00 20 */ blr - -.global ConfigureFrameBuffer__9CGraphicsFRC10COsContext -ConfigureFrameBuffer__9CGraphicsFRC10COsContext: -/* 8030CDB0 00309D10 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 8030CDB4 00309D14 7C 08 02 A6 */ mflr r0 -/* 8030CDB8 00309D18 38 A0 00 07 */ li r5, 7 -/* 8030CDBC 00309D1C 90 01 00 64 */ stw r0, 0x64(r1) -/* 8030CDC0 00309D20 BE 61 00 2C */ stmw r19, 0x2c(r1) -/* 8030CDC4 00309D24 7C 7C 1B 78 */ mr r28, r3 -/* 8030CDC8 00309D28 3C 60 80 5A */ lis r3, lbl_805A6500@ha -/* 8030CDCC 00309D2C 3B E3 65 00 */ addi r31, r3, lbl_805A6500@l -/* 8030CDD0 00309D30 38 9C 00 62 */ addi r4, r28, 0x62 -/* 8030CDD4 00309D34 3B DF 00 32 */ addi r30, r31, 0x32 -/* 8030CDD8 00309D38 3B BF 00 1A */ addi r29, r31, 0x1a -/* 8030CDDC 00309D3C 7F C3 F3 78 */ mr r3, r30 -/* 8030CDE0 00309D40 82 7C 00 30 */ lwz r19, 0x30(r28) -/* 8030CDE4 00309D44 A2 9C 00 34 */ lhz r20, 0x34(r28) -/* 8030CDE8 00309D48 A2 BC 00 36 */ lhz r21, 0x36(r28) -/* 8030CDEC 00309D4C A2 DC 00 38 */ lhz r22, 0x38(r28) -/* 8030CDF0 00309D50 A2 FC 00 3A */ lhz r23, 0x3a(r28) -/* 8030CDF4 00309D54 A3 1C 00 3C */ lhz r24, 0x3c(r28) -/* 8030CDF8 00309D58 A3 3C 00 3E */ lhz r25, 0x3e(r28) -/* 8030CDFC 00309D5C A3 5C 00 40 */ lhz r26, 0x40(r28) -/* 8030CE00 00309D60 83 7C 00 44 */ lwz r27, 0x44(r28) -/* 8030CE04 00309D64 89 9C 00 48 */ lbz r12, 0x48(r28) -/* 8030CE08 00309D68 89 7C 00 49 */ lbz r11, 0x49(r28) -/* 8030CE0C 00309D6C 81 5C 00 4A */ lwz r10, 0x4a(r28) -/* 8030CE10 00309D70 81 3C 00 4E */ lwz r9, 0x4e(r28) -/* 8030CE14 00309D74 81 1C 00 52 */ lwz r8, 0x52(r28) -/* 8030CE18 00309D78 80 FC 00 56 */ lwz r7, 0x56(r28) -/* 8030CE1C 00309D7C 80 DC 00 5A */ lwz r6, 0x5a(r28) -/* 8030CE20 00309D80 80 1C 00 5E */ lwz r0, 0x5e(r28) -/* 8030CE24 00309D84 92 7F 00 00 */ stw r19, 0(r31) -/* 8030CE28 00309D88 B2 9F 00 04 */ sth r20, 4(r31) -/* 8030CE2C 00309D8C B2 BF 00 06 */ sth r21, 6(r31) -/* 8030CE30 00309D90 B2 DF 00 08 */ sth r22, 8(r31) -/* 8030CE34 00309D94 B2 FF 00 0A */ sth r23, 0xa(r31) -/* 8030CE38 00309D98 B3 1F 00 0C */ sth r24, 0xc(r31) -/* 8030CE3C 00309D9C B3 3F 00 0E */ sth r25, 0xe(r31) -/* 8030CE40 00309DA0 B3 5F 00 10 */ sth r26, 0x10(r31) -/* 8030CE44 00309DA4 93 7F 00 14 */ stw r27, 0x14(r31) -/* 8030CE48 00309DA8 99 9F 00 18 */ stb r12, 0x18(r31) -/* 8030CE4C 00309DAC 99 7F 00 19 */ stb r11, 0x19(r31) -/* 8030CE50 00309DB0 91 5F 00 1A */ stw r10, 0x1a(r31) -/* 8030CE54 00309DB4 91 3F 00 1E */ stw r9, 0x1e(r31) -/* 8030CE58 00309DB8 91 1F 00 22 */ stw r8, 0x22(r31) -/* 8030CE5C 00309DBC 90 FF 00 26 */ stw r7, 0x26(r31) -/* 8030CE60 00309DC0 90 DF 00 2A */ stw r6, 0x2a(r31) -/* 8030CE64 00309DC4 90 1F 00 2E */ stw r0, 0x2e(r31) -/* 8030CE68 00309DC8 48 07 C8 3D */ bl __copy -/* 8030CE6C 00309DCC 80 9C 00 24 */ lwz r4, 0x24(r28) -/* 8030CE70 00309DD0 3C 60 80 5A */ lis r3, lbl_805A6500@ha -/* 8030CE74 00309DD4 80 1C 00 28 */ lwz r0, 0x28(r28) -/* 8030CE78 00309DD8 38 63 65 00 */ addi r3, r3, lbl_805A6500@l -/* 8030CE7C 00309DDC 90 8D A8 18 */ stw r4, lbl_805A93D8@sda21(r13) -/* 8030CE80 00309DE0 90 0D A8 1C */ stw r0, lbl_805A93DC@sda21(r13) -/* 8030CE84 00309DE4 48 07 B6 D1 */ bl VIConfigure -/* 8030CE88 00309DE8 80 6D A8 18 */ lwz r3, lbl_805A93D8@sda21(r13) -/* 8030CE8C 00309DEC 48 07 C3 B5 */ bl VISetNextFrameBuffer -/* 8030CE90 00309DF0 A0 9F 00 04 */ lhz r4, 4(r31) -/* 8030CE94 00309DF4 3C 60 43 30 */ lis r3, 0x4330 -/* 8030CE98 00309DF8 A0 1F 00 06 */ lhz r0, 6(r31) -/* 8030CE9C 00309DFC 90 81 00 0C */ stw r4, 0xc(r1) -/* 8030CEA0 00309E00 C0 22 C7 F0 */ lfs f1, lbl_805AE510@sda21(r2) -/* 8030CEA4 00309E04 90 61 00 08 */ stw r3, 8(r1) -/* 8030CEA8 00309E08 80 8D A8 1C */ lwz r4, lbl_805A93DC@sda21(r13) -/* 8030CEAC 00309E0C FC 40 08 90 */ fmr f2, f1 -/* 8030CEB0 00309E10 90 01 00 14 */ stw r0, 0x14(r1) -/* 8030CEB4 00309E14 FC A0 08 90 */ fmr f5, f1 -/* 8030CEB8 00309E18 C8 82 C7 F8 */ lfd f4, lbl_805AE518@sda21(r2) -/* 8030CEBC 00309E1C 90 61 00 10 */ stw r3, 0x10(r1) -/* 8030CEC0 00309E20 C8 61 00 08 */ lfd f3, 8(r1) -/* 8030CEC4 00309E24 C8 01 00 10 */ lfd f0, 0x10(r1) -/* 8030CEC8 00309E28 EC 63 20 28 */ fsubs f3, f3, f4 -/* 8030CECC 00309E2C 90 8D A8 20 */ stw r4, lbl_805A93E0@sda21(r13) -/* 8030CED0 00309E30 EC 80 20 28 */ fsubs f4, f0, f4 -/* 8030CED4 00309E34 C0 C2 C8 10 */ lfs f6, lbl_805AE530@sda21(r2) -/* 8030CED8 00309E38 48 06 F7 71 */ bl GXSetViewport -/* 8030CEDC 00309E3C A0 BF 00 04 */ lhz r5, 4(r31) -/* 8030CEE0 00309E40 38 60 00 00 */ li r3, 0 -/* 8030CEE4 00309E44 A0 DF 00 06 */ lhz r6, 6(r31) -/* 8030CEE8 00309E48 38 80 00 00 */ li r4, 0 -/* 8030CEEC 00309E4C 48 06 F7 81 */ bl GXSetScissor -/* 8030CEF0 00309E50 A0 BF 00 04 */ lhz r5, 4(r31) -/* 8030CEF4 00309E54 38 60 00 00 */ li r3, 0 -/* 8030CEF8 00309E58 A0 DF 00 06 */ lhz r6, 6(r31) -/* 8030CEFC 00309E5C 38 80 00 00 */ li r4, 0 -/* 8030CF00 00309E60 48 06 BE 25 */ bl GXSetDispCopySrc -/* 8030CF04 00309E64 A0 7F 00 04 */ lhz r3, 4(r31) -/* 8030CF08 00309E68 A0 9F 00 06 */ lhz r4, 6(r31) -/* 8030CF0C 00309E6C 48 06 BF 39 */ bl GXSetDispCopyDst -/* 8030CF10 00309E70 A0 9F 00 08 */ lhz r4, 8(r31) -/* 8030CF14 00309E74 3C 60 43 30 */ lis r3, 0x4330 -/* 8030CF18 00309E78 A0 1F 00 06 */ lhz r0, 6(r31) -/* 8030CF1C 00309E7C 90 81 00 1C */ stw r4, 0x1c(r1) -/* 8030CF20 00309E80 C8 42 C7 F8 */ lfd f2, lbl_805AE518@sda21(r2) -/* 8030CF24 00309E84 90 61 00 18 */ stw r3, 0x18(r1) -/* 8030CF28 00309E88 C8 01 00 18 */ lfd f0, 0x18(r1) -/* 8030CF2C 00309E8C 90 01 00 24 */ stw r0, 0x24(r1) -/* 8030CF30 00309E90 EC 20 10 28 */ fsubs f1, f0, f2 -/* 8030CF34 00309E94 90 61 00 20 */ stw r3, 0x20(r1) -/* 8030CF38 00309E98 C8 01 00 20 */ lfd f0, 0x20(r1) -/* 8030CF3C 00309E9C EC 00 10 28 */ fsubs f0, f0, f2 -/* 8030CF40 00309EA0 EC 21 00 24 */ fdivs f1, f1, f0 -/* 8030CF44 00309EA4 48 06 C1 21 */ bl GXSetDispCopyYScale -/* 8030CF48 00309EA8 88 7F 00 19 */ lbz r3, 0x19(r31) -/* 8030CF4C 00309EAC 7F A4 EB 78 */ mr r4, r29 -/* 8030CF50 00309EB0 7F C6 F3 78 */ mr r6, r30 -/* 8030CF54 00309EB4 38 A0 00 01 */ li r5, 1 -/* 8030CF58 00309EB8 48 06 C2 3D */ bl GXSetCopyFilter -/* 8030CF5C 00309EBC 88 1F 00 19 */ lbz r0, 0x19(r31) -/* 8030CF60 00309EC0 28 00 00 00 */ cmplwi r0, 0 -/* 8030CF64 00309EC4 41 82 00 14 */ beq lbl_8030CF78 -/* 8030CF68 00309EC8 38 60 00 02 */ li r3, 2 -/* 8030CF6C 00309ECC 38 80 00 00 */ li r4, 0 -/* 8030CF70 00309ED0 48 06 F0 55 */ bl GXSetPixelFmt -/* 8030CF74 00309ED4 48 00 00 10 */ b lbl_8030CF84 -lbl_8030CF78: -/* 8030CF78 00309ED8 38 60 00 00 */ li r3, 0 -/* 8030CF7C 00309EDC 38 80 00 00 */ li r4, 0 -/* 8030CF80 00309EE0 48 06 F0 45 */ bl GXSetPixelFmt -lbl_8030CF84: -/* 8030CF84 00309EE4 38 60 00 00 */ li r3, 0 -/* 8030CF88 00309EE8 48 06 C4 35 */ bl GXSetDispCopyGamma -/* 8030CF8C 00309EEC 80 6D A8 20 */ lwz r3, lbl_805A93E0@sda21(r13) -/* 8030CF90 00309EF0 38 80 00 01 */ li r4, 1 -/* 8030CF94 00309EF4 48 06 C4 45 */ bl GXCopyDisp -/* 8030CF98 00309EF8 48 07 C1 79 */ bl VIFlush -/* 8030CF9C 00309EFC 48 07 B0 F1 */ bl VIWaitForRetrace -/* 8030CFA0 00309F00 48 07 B0 ED */ bl VIWaitForRetrace -/* 8030CFA4 00309F04 3C 60 80 3F */ lis r3, lbl_803ED910@ha -/* 8030CFA8 00309F08 A0 9F 00 04 */ lhz r4, 4(r31) -/* 8030CFAC 00309F0C 38 63 D9 10 */ addi r3, r3, lbl_803ED910@l -/* 8030CFB0 00309F10 A0 1F 00 06 */ lhz r0, 6(r31) -/* 8030CFB4 00309F14 90 83 00 08 */ stw r4, 8(r3) -/* 8030CFB8 00309F18 90 03 00 0C */ stw r0, 0xc(r3) -/* 8030CFBC 00309F1C 48 00 00 19 */ bl InitGraphicsDefaults__9CGraphicsFv -/* 8030CFC0 00309F20 BA 61 00 2C */ lmw r19, 0x2c(r1) -/* 8030CFC4 00309F24 80 01 00 64 */ lwz r0, 0x64(r1) -/* 8030CFC8 00309F28 7C 08 03 A6 */ mtlr r0 -/* 8030CFCC 00309F2C 38 21 00 60 */ addi r1, r1, 0x60 -/* 8030CFD0 00309F30 4E 80 00 20 */ blr - -.global InitGraphicsDefaults__9CGraphicsFv -InitGraphicsDefaults__9CGraphicsFv: -/* 8030CFD4 00309F34 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8030CFD8 00309F38 7C 08 02 A6 */ mflr r0 -/* 8030CFDC 00309F3C C0 22 C7 F0 */ lfs f1, lbl_805AE510@sda21(r2) -/* 8030CFE0 00309F40 90 01 00 14 */ stw r0, 0x14(r1) -/* 8030CFE4 00309F44 C0 42 C8 10 */ lfs f2, lbl_805AE530@sda21(r2) -/* 8030CFE8 00309F48 4B FF D3 F9 */ bl SetDepthRange__9CGraphicsFff -/* 8030CFEC 00309F4C 38 00 00 00 */ li r0, 0 -/* 8030CFF0 00309F50 3C 60 80 5A */ lis r3, lbl_805A6204@ha -/* 8030CFF4 00309F54 98 0D 9C 80 */ stb r0, lbl_805A8840@sda21(r13) -/* 8030CFF8 00309F58 38 63 62 04 */ addi r3, r3, lbl_805A6204@l -/* 8030CFFC 00309F5C 4B FF F5 E5 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f -/* 8030D000 00309F60 3C 60 80 5A */ lis r3, lbl_805A61D4@ha -/* 8030D004 00309F64 38 63 61 D4 */ addi r3, r3, lbl_805A61D4@l -/* 8030D008 00309F68 4B FF F7 45 */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f -/* 8030D00C 00309F6C 80 8D 9C 70 */ lwz r4, lbl_805A8830@sda21(r13) -/* 8030D010 00309F70 38 60 00 00 */ li r3, 0 -/* 8030D014 00309F74 38 A0 00 00 */ li r5, 0 -/* 8030D018 00309F78 4B FF EA 7D */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb -/* 8030D01C 00309F7C 80 6D A7 D8 */ lwz r3, lbl_805A9398@sda21(r13) -/* 8030D020 00309F80 4B FF EA 51 */ bl SetCullMode__9CGraphicsF12ERglCullMode -/* 8030D024 00309F84 3C 60 80 3F */ lis r3, lbl_803ED910@ha -/* 8030D028 00309F88 38 C3 D9 10 */ addi r6, r3, lbl_803ED910@l -/* 8030D02C 00309F8C 80 66 00 00 */ lwz r3, 0(r6) -/* 8030D030 00309F90 80 86 00 04 */ lwz r4, 4(r6) -/* 8030D034 00309F94 80 A6 00 08 */ lwz r5, 8(r6) -/* 8030D038 00309F98 80 C6 00 0C */ lwz r6, 0xc(r6) -/* 8030D03C 00309F9C 4B FF F0 55 */ bl SetViewport__9CGraphicsFiiii -/* 8030D040 00309FA0 4B FF CE 29 */ bl FlushProjection__9CGraphicsFv -/* 8030D044 00309FA4 4B FF C0 35 */ bl Init__13CTevCombinersFv -/* 8030D048 00309FA8 4B FF F9 35 */ bl DisableAllLights__9CGraphicsFv -/* 8030D04C 00309FAC 4B FF D0 89 */ bl SetDefaultVtxAttrFmt__9CGraphicsFv -/* 8030D050 00309FB0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8030D054 00309FB4 7C 08 03 A6 */ mtlr r0 -/* 8030D058 00309FB8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8030D05C 00309FBC 4E 80 00 20 */ blr - -.global Shutdown__9CGraphicsFv -Shutdown__9CGraphicsFv: -/* 8030D060 00309FC0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8030D064 00309FC4 7C 08 02 A6 */ mflr r0 -/* 8030D068 00309FC8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8030D06C 00309FCC 80 6D A8 30 */ lwz r3, lbl_805A93F0@sda21(r13) -/* 8030D070 00309FD0 48 06 D8 19 */ bl GXSetTexRegionCallback -/* 8030D074 00309FD4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8030D078 00309FD8 7C 08 03 A6 */ mtlr r0 -/* 8030D07C 00309FDC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8030D080 00309FE0 4E 80 00 20 */ blr - -.global InitGraphicsVariables__9CGraphicsFv -InitGraphicsVariables__9CGraphicsFv: -/* 8030D084 00309FE4 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8030D088 00309FE8 7C 08 02 A6 */ mflr r0 -/* 8030D08C 00309FEC 3C 60 80 3F */ lis r3, lbl_803ED928@ha -/* 8030D090 00309FF0 38 E0 00 02 */ li r7, 2 -/* 8030D094 00309FF4 90 01 00 34 */ stw r0, 0x34(r1) -/* 8030D098 00309FF8 38 C3 D9 28 */ addi r6, r3, lbl_803ED928@l -/* 8030D09C 00309FFC 38 00 00 00 */ li r0, 0 -/* 8030D0A0 0030A000 38 60 00 00 */ li r3, 0 -/* 8030D0A4 0030A004 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8030D0A8 0030A008 38 A0 00 00 */ li r5, 0 -/* 8030D0AC 0030A00C 90 E6 00 00 */ stw r7, 0(r6) -/* 8030D0B0 0030A010 80 8D 9C 70 */ lwz r4, lbl_805A8830@sda21(r13) -/* 8030D0B4 0030A014 90 E6 00 04 */ stw r7, 4(r6) -/* 8030D0B8 0030A018 90 E6 00 08 */ stw r7, 8(r6) -/* 8030D0BC 0030A01C 90 E6 00 0C */ stw r7, 0xc(r6) -/* 8030D0C0 0030A020 90 E6 00 10 */ stw r7, 0x10(r6) -/* 8030D0C4 0030A024 90 E6 00 14 */ stw r7, 0x14(r6) -/* 8030D0C8 0030A028 90 E6 00 18 */ stw r7, 0x18(r6) -/* 8030D0CC 0030A02C 90 E6 00 1C */ stw r7, 0x1c(r6) -/* 8030D0D0 0030A030 98 0D A8 16 */ stb r0, lbl_805A93D6@sda21(r13) -/* 8030D0D4 0030A034 4B FF E9 C1 */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb -/* 8030D0D8 0030A038 38 60 00 00 */ li r3, 0 -/* 8030D0DC 0030A03C 4B FF E9 95 */ bl SetCullMode__9CGraphicsF12ERglCullMode -/* 8030D0E0 0030A040 C0 22 C8 30 */ lfs f1, lbl_805AE550@sda21(r2) -/* 8030D0E4 0030A044 38 61 00 08 */ addi r3, r1, 8 -/* 8030D0E8 0030A048 C0 82 C8 10 */ lfs f4, lbl_805AE530@sda21(r2) -/* 8030D0EC 0030A04C FC 40 08 90 */ fmr f2, f1 -/* 8030D0F0 0030A050 FC 60 08 90 */ fmr f3, f1 -/* 8030D0F4 0030A054 48 05 62 F9 */ bl __ct__6CColorFffff -/* 8030D0F8 0030A058 4B FF EF 25 */ bl SetAmbientColor__9CGraphicsFRC6CColor -/* 8030D0FC 0030A05C 38 00 00 00 */ li r0, 0 -/* 8030D100 0030A060 98 0D 9C 80 */ stb r0, lbl_805A8840@sda21(r13) -/* 8030D104 0030A064 4B FF F5 C1 */ bl SetIdentityViewPointMatrix__9CGraphicsFv -/* 8030D108 0030A068 4B FF F4 91 */ bl SetIdentityModelMatrix__9CGraphicsFv -/* 8030D10C 0030A06C 3C 80 80 3F */ lis r4, lbl_803ED910@ha -/* 8030D110 0030A070 38 60 00 00 */ li r3, 0 -/* 8030D114 0030A074 3B E4 D9 10 */ addi r31, r4, lbl_803ED910@l -/* 8030D118 0030A078 38 80 00 00 */ li r4, 0 -/* 8030D11C 0030A07C 80 BF 00 08 */ lwz r5, 8(r31) -/* 8030D120 0030A080 80 DF 00 0C */ lwz r6, 0xc(r31) -/* 8030D124 0030A084 4B FF EF 6D */ bl SetViewport__9CGraphicsFiiii -/* 8030D128 0030A088 80 BF 00 08 */ lwz r5, 8(r31) -/* 8030D12C 0030A08C 3C 80 43 30 */ lis r4, 0x4330 -/* 8030D130 0030A090 80 1F 00 0C */ lwz r0, 0xc(r31) -/* 8030D134 0030A094 3C 60 80 5A */ lis r3, lbl_805A61B8@ha -/* 8030D138 0030A098 6C A5 80 00 */ xoris r5, r5, 0x8000 -/* 8030D13C 0030A09C 90 81 00 10 */ stw r4, 0x10(r1) -/* 8030D140 0030A0A0 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 8030D144 0030A0A4 38 63 61 B8 */ addi r3, r3, lbl_805A61B8@l -/* 8030D148 0030A0A8 90 A1 00 14 */ stw r5, 0x14(r1) -/* 8030D14C 0030A0AC C8 A2 C7 E8 */ lfd f5, lbl_805AE508@sda21(r2) -/* 8030D150 0030A0B0 C8 01 00 10 */ lfd f0, 0x10(r1) -/* 8030D154 0030A0B4 90 01 00 1C */ stw r0, 0x1c(r1) -/* 8030D158 0030A0B8 EC 40 28 28 */ fsubs f2, f0, f5 -/* 8030D15C 0030A0BC C0 22 C7 F4 */ lfs f1, lbl_805AE514@sda21(r2) -/* 8030D160 0030A0C0 90 81 00 18 */ stw r4, 0x18(r1) -/* 8030D164 0030A0C4 C0 63 00 14 */ lfs f3, 0x14(r3) -/* 8030D168 0030A0C8 C8 01 00 18 */ lfd f0, 0x18(r1) -/* 8030D16C 0030A0CC C0 83 00 18 */ lfs f4, 0x18(r3) -/* 8030D170 0030A0D0 EC 00 28 28 */ fsubs f0, f0, f5 -/* 8030D174 0030A0D4 EC 42 00 24 */ fdivs f2, f2, f0 -/* 8030D178 0030A0D8 4B FF F3 19 */ bl SetPerspective__9CGraphicsFffff -/* 8030D17C 0030A0DC C0 22 C8 10 */ lfs f1, lbl_805AE530@sda21(r2) -/* 8030D180 0030A0E0 38 6D A7 F8 */ addi r3, r13, lbl_805A93B8@sda21 -/* 8030D184 0030A0E4 4B FF EE 45 */ bl SetCopyClear__9CGraphicsFRC6CColorf -/* 8030D188 0030A0E8 80 02 C7 AC */ lwz r0, lbl_805AE4CC@sda21(r2) -/* 8030D18C 0030A0EC 38 81 00 0C */ addi r4, r1, 0xc -/* 8030D190 0030A0F0 38 60 00 00 */ li r3, 0 -/* 8030D194 0030A0F4 90 01 00 0C */ stw r0, 0xc(r1) -/* 8030D198 0030A0F8 4B FF BB C5 */ bl SetChanMatColor__3CGXFQ23CGX10EChannelIdRC8_GXColor -/* 8030D19C 0030A0FC 38 6D A7 B8 */ addi r3, r13, lbl_805A9378@sda21 -/* 8030D1A0 0030A100 4B FF C1 59 */ bl ResetFlushAll__Q29CGraphics12CRenderStateFv -/* 8030D1A4 0030A104 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8030D1A8 0030A108 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8030D1AC 0030A10C 7C 08 03 A6 */ mtlr r0 -/* 8030D1B0 0030A110 38 21 00 30 */ addi r1, r1, 0x30 -/* 8030D1B4 0030A114 4E 80 00 20 */ blr - -.global TexRegionCallback__9CGraphicsFP9_GXTexObj11_GXTexMapID -TexRegionCallback__9CGraphicsFP9_GXTexObj11_GXTexMapID: -/* 8030D1B8 0030A118 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8030D1BC 0030A11C 7C 08 02 A6 */ mflr r0 -/* 8030D1C0 0030A120 90 01 00 14 */ stw r0, 0x14(r1) -/* 8030D1C4 0030A124 88 0D A8 58 */ lbz r0, lbl_805A9418@sda21(r13) -/* 8030D1C8 0030A128 7C 00 07 75 */ extsb. r0, r0 -/* 8030D1CC 0030A12C 40 82 00 14 */ bne lbl_8030D1E0 -/* 8030D1D0 0030A130 38 A0 00 00 */ li r5, 0 -/* 8030D1D4 0030A134 38 00 00 01 */ li r0, 1 -/* 8030D1D8 0030A138 90 AD A8 54 */ stw r5, lbl_805A9414@sda21(r13) -/* 8030D1DC 0030A13C 98 0D A8 58 */ stb r0, lbl_805A9418@sda21(r13) -lbl_8030D1E0: -/* 8030D1E0 0030A140 88 0D A8 60 */ lbz r0, lbl_805A9420@sda21(r13) -/* 8030D1E4 0030A144 7C 00 07 75 */ extsb. r0, r0 -/* 8030D1E8 0030A148 40 82 00 14 */ bne lbl_8030D1FC -/* 8030D1EC 0030A14C 38 A0 00 00 */ li r5, 0 -/* 8030D1F0 0030A150 38 00 00 01 */ li r0, 1 -/* 8030D1F4 0030A154 90 AD A8 5C */ stw r5, lbl_805A941C@sda21(r13) -/* 8030D1F8 0030A158 98 0D A8 60 */ stb r0, lbl_805A9420@sda21(r13) -lbl_8030D1FC: -/* 8030D1FC 0030A15C 2C 04 00 07 */ cmpwi r4, 7 -/* 8030D200 0030A160 40 82 00 10 */ bne lbl_8030D210 -/* 8030D204 0030A164 3C 60 80 5A */ lis r3, lbl_805A6440@ha -/* 8030D208 0030A168 38 63 64 40 */ addi r3, r3, lbl_805A6440@l -/* 8030D20C 0030A16C 48 00 00 70 */ b lbl_8030D27C -lbl_8030D210: -/* 8030D210 0030A170 48 06 D0 E5 */ bl GXGetTexObjFmt -/* 8030D214 0030A174 2C 03 00 08 */ cmpwi r3, 8 -/* 8030D218 0030A178 41 82 00 48 */ beq lbl_8030D260 -/* 8030D21C 0030A17C 2C 03 00 09 */ cmpwi r3, 9 -/* 8030D220 0030A180 41 82 00 40 */ beq lbl_8030D260 -/* 8030D224 0030A184 2C 03 00 0A */ cmpwi r3, 0xa -/* 8030D228 0030A188 41 82 00 38 */ beq lbl_8030D260 -/* 8030D22C 0030A18C 80 6D A8 54 */ lwz r3, lbl_805A9414@sda21(r13) -/* 8030D230 0030A190 2C 03 00 00 */ cmpwi r3, 0 -/* 8030D234 0030A194 40 82 00 0C */ bne lbl_8030D240 -/* 8030D238 0030A198 38 03 00 01 */ addi r0, r3, 1 -/* 8030D23C 0030A19C 90 0D A8 54 */ stw r0, lbl_805A9414@sda21(r13) -lbl_8030D240: -/* 8030D240 0030A1A0 80 AD A8 54 */ lwz r5, lbl_805A9414@sda21(r13) -/* 8030D244 0030A1A4 3C 60 80 5A */ lis r3, lbl_805A6440@ha -/* 8030D248 0030A1A8 38 03 64 40 */ addi r0, r3, lbl_805A6440@l -/* 8030D24C 0030A1AC 38 85 00 01 */ addi r4, r5, 1 -/* 8030D250 0030A1B0 54 A3 26 76 */ rlwinm r3, r5, 4, 0x19, 0x1b -/* 8030D254 0030A1B4 90 8D A8 54 */ stw r4, lbl_805A9414@sda21(r13) -/* 8030D258 0030A1B8 7C 60 1A 14 */ add r3, r0, r3 -/* 8030D25C 0030A1BC 48 00 00 20 */ b lbl_8030D27C -lbl_8030D260: -/* 8030D260 0030A1C0 80 AD A8 5C */ lwz r5, lbl_805A941C@sda21(r13) -/* 8030D264 0030A1C4 3C 60 80 5A */ lis r3, lbl_805A64C0@ha -/* 8030D268 0030A1C8 38 03 64 C0 */ addi r0, r3, lbl_805A64C0@l -/* 8030D26C 0030A1CC 38 85 00 01 */ addi r4, r5, 1 -/* 8030D270 0030A1D0 54 A3 26 B6 */ rlwinm r3, r5, 4, 0x1a, 0x1b -/* 8030D274 0030A1D4 90 8D A8 5C */ stw r4, lbl_805A941C@sda21(r13) -/* 8030D278 0030A1D8 7C 60 1A 14 */ add r3, r0, r3 -lbl_8030D27C: -/* 8030D27C 0030A1DC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8030D280 0030A1E0 7C 08 03 A6 */ mtlr r0 -/* 8030D284 0030A1E4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8030D288 0030A1E8 4E 80 00 20 */ blr - -.global Startup__9CGraphicsFRC10COsContextUiPv -Startup__9CGraphicsFRC10COsContextUiPv: -/* 8030D28C 0030A1EC 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 8030D290 0030A1F0 7C 08 02 A6 */ mflr r0 -/* 8030D294 0030A1F4 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 8030D298 0030A1F8 93 E1 00 9C */ stw r31, 0x9c(r1) -/* 8030D29C 0030A1FC 93 C1 00 98 */ stw r30, 0x98(r1) -/* 8030D2A0 0030A200 7C 7E 1B 78 */ mr r30, r3 -/* 8030D2A4 0030A204 7C A3 2B 78 */ mr r3, r5 -/* 8030D2A8 0030A208 93 A1 00 94 */ stw r29, 0x94(r1) -/* 8030D2AC 0030A20C 93 81 00 90 */ stw r28, 0x90(r1) -/* 8030D2B0 0030A210 7C 9C 23 78 */ mr r28, r4 -/* 8030D2B4 0030A214 7F 9D E3 78 */ mr r29, r28 -/* 8030D2B8 0030A218 90 AD A8 34 */ stw r5, lbl_805A93F4@sda21(r13) -/* 8030D2BC 0030A21C 48 06 7E 91 */ bl GXInit -/* 8030D2C0 0030A220 90 6D A8 38 */ stw r3, lbl_805A93F8@sda21(r13) -/* 8030D2C4 0030A224 7F A5 EB 78 */ mr r5, r29 -/* 8030D2C8 0030A228 80 8D A8 34 */ lwz r4, lbl_805A93F4@sda21(r13) -/* 8030D2CC 0030A22C 38 61 00 08 */ addi r3, r1, 8 -/* 8030D2D0 0030A230 48 06 90 E1 */ bl GXInitFifoBase -/* 8030D2D4 0030A234 38 61 00 08 */ addi r3, r1, 8 -/* 8030D2D8 0030A238 48 06 91 C1 */ bl GXSetCPUFifo -/* 8030D2DC 0030A23C 38 61 00 08 */ addi r3, r1, 8 -/* 8030D2E0 0030A240 48 06 92 C9 */ bl GXSetGPFifo -/* 8030D2E4 0030A244 80 6D A8 38 */ lwz r3, lbl_805A93F8@sda21(r13) -/* 8030D2E8 0030A248 38 9C C0 00 */ addi r4, r28, -16384 -/* 8030D2EC 0030A24C 3C BC FF FF */ addis r5, r28, 0xffff -/* 8030D2F0 0030A250 48 06 91 9D */ bl GXInitFifoLimits -/* 8030D2F4 0030A254 80 6D A8 38 */ lwz r3, lbl_805A93F8@sda21(r13) -/* 8030D2F8 0030A258 48 06 91 A1 */ bl GXSetCPUFifo -/* 8030D2FC 0030A25C 80 6D A8 38 */ lwz r3, lbl_805A93F8@sda21(r13) -/* 8030D300 0030A260 48 06 92 A9 */ bl GXSetGPFifo -/* 8030D304 0030A264 38 60 00 01 */ li r3, 1 -/* 8030D308 0030A268 38 80 00 08 */ li r4, 8 -/* 8030D30C 0030A26C 48 06 AF 99 */ bl GXSetMisc -/* 8030D310 0030A270 38 60 00 00 */ li r3, 0 -/* 8030D314 0030A274 48 06 ED 99 */ bl GXSetDither -/* 8030D318 0030A278 4B FF AD ED */ bl ResetGXStates__3CGXFv -/* 8030D31C 0030A27C 4B FF FD 69 */ bl InitGraphicsVariables__9CGraphicsFv -/* 8030D320 0030A280 7F C3 F3 78 */ mr r3, r30 -/* 8030D324 0030A284 4B FF FA 8D */ bl ConfigureFrameBuffer__9CGraphicsFRC10COsContext -/* 8030D328 0030A288 3C 60 80 5A */ lis r3, lbl_805A6440@ha -/* 8030D32C 0030A28C 3B 80 00 00 */ li r28, 0 -/* 8030D330 0030A290 3B A3 64 40 */ addi r29, r3, lbl_805A6440@l -/* 8030D334 0030A294 3F E0 00 08 */ lis r31, 8 -/* 8030D338 0030A298 3B C0 00 00 */ li r30, 0 -lbl_8030D33C: -/* 8030D33C 0030A29C 7F A3 EB 78 */ mr r3, r29 -/* 8030D340 0030A2A0 7F C5 F3 78 */ mr r5, r30 -/* 8030D344 0030A2A4 7F E7 FB 78 */ mr r7, r31 -/* 8030D348 0030A2A8 38 80 00 00 */ li r4, 0 -/* 8030D34C 0030A2AC 38 C0 00 00 */ li r6, 0 -/* 8030D350 0030A2B0 39 00 00 00 */ li r8, 0 -/* 8030D354 0030A2B4 48 06 D2 79 */ bl GXInitTexCacheRegion -/* 8030D358 0030A2B8 3B 9C 00 01 */ addi r28, r28, 1 -/* 8030D35C 0030A2BC 3F FF 00 01 */ addis r31, r31, 1 -/* 8030D360 0030A2C0 2C 1C 00 08 */ cmpwi r28, 8 -/* 8030D364 0030A2C4 3F DE 00 01 */ addis r30, r30, 1 -/* 8030D368 0030A2C8 3B DE 80 00 */ addi r30, r30, -32768 -/* 8030D36C 0030A2CC 3B BD 00 10 */ addi r29, r29, 0x10 -/* 8030D370 0030A2D0 3B FF 80 00 */ addi r31, r31, -32768 -/* 8030D374 0030A2D4 41 80 FF C8 */ blt lbl_8030D33C -/* 8030D378 0030A2D8 3C 60 80 5A */ lis r3, lbl_805A64C0@ha -/* 8030D37C 0030A2DC 3B 80 00 00 */ li r28, 0 -/* 8030D380 0030A2E0 3B E3 64 C0 */ addi r31, r3, lbl_805A64C0@l -/* 8030D384 0030A2E4 3B A0 00 09 */ li r29, 9 -/* 8030D388 0030A2E8 3B C0 00 08 */ li r30, 8 -lbl_8030D38C: -/* 8030D38C 0030A2EC 7F E3 FB 78 */ mr r3, r31 -/* 8030D390 0030A2F0 57 C5 78 20 */ slwi r5, r30, 0xf -/* 8030D394 0030A2F4 57 A7 78 20 */ slwi r7, r29, 0xf -/* 8030D398 0030A2F8 38 80 00 00 */ li r4, 0 -/* 8030D39C 0030A2FC 38 C0 00 00 */ li r6, 0 -/* 8030D3A0 0030A300 39 00 00 00 */ li r8, 0 -/* 8030D3A4 0030A304 48 06 D2 29 */ bl GXInitTexCacheRegion -/* 8030D3A8 0030A308 3B 9C 00 01 */ addi r28, r28, 1 -/* 8030D3AC 0030A30C 3B DE 00 02 */ addi r30, r30, 2 -/* 8030D3B0 0030A310 2C 1C 00 04 */ cmpwi r28, 4 -/* 8030D3B4 0030A314 3B FF 00 10 */ addi r31, r31, 0x10 -/* 8030D3B8 0030A318 3B BD 00 02 */ addi r29, r29, 2 -/* 8030D3BC 0030A31C 41 80 FF D0 */ blt lbl_8030D38C -/* 8030D3C0 0030A320 3C 60 80 31 */ lis r3, TexRegionCallback__9CGraphicsFP9_GXTexObj11_GXTexMapID@ha -/* 8030D3C4 0030A324 38 63 D1 B8 */ addi r3, r3, TexRegionCallback__9CGraphicsFP9_GXTexObj11_GXTexMapID@l -/* 8030D3C8 0030A328 48 06 D4 C1 */ bl GXSetTexRegionCallback -/* 8030D3CC 0030A32C 3C A0 00 04 */ lis r5, 0x00046000@ha -/* 8030D3D0 0030A330 3C 80 80 48 */ lis r4, lbl_80479CC0@ha -/* 8030D3D4 0030A334 38 A5 60 00 */ addi r5, r5, 0x00046000@l -/* 8030D3D8 0030A338 3C 00 00 01 */ lis r0, 1 -/* 8030D3DC 0030A33C 38 84 9C C0 */ addi r4, r4, lbl_80479CC0@l -/* 8030D3E0 0030A340 90 6D A8 30 */ stw r3, lbl_805A93F0@sda21(r13) -/* 8030D3E4 0030A344 38 60 00 01 */ li r3, 1 -/* 8030D3E8 0030A348 90 AD A8 24 */ stw r5, lbl_805A93E4@sda21(r13) -/* 8030D3EC 0030A34C 90 8D A8 28 */ stw r4, lbl_805A93E8@sda21(r13) -/* 8030D3F0 0030A350 90 0D A8 2C */ stw r0, lbl_805A93EC@sda21(r13) -/* 8030D3F4 0030A354 83 E1 00 9C */ lwz r31, 0x9c(r1) -/* 8030D3F8 0030A358 83 C1 00 98 */ lwz r30, 0x98(r1) -/* 8030D3FC 0030A35C 83 A1 00 94 */ lwz r29, 0x94(r1) -/* 8030D400 0030A360 83 81 00 90 */ lwz r28, 0x90(r1) -/* 8030D404 0030A364 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 8030D408 0030A368 7C 08 03 A6 */ mtlr r0 -/* 8030D40C 0030A36C 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 8030D410 0030A370 4E 80 00 20 */ blr - -.global __sinit_DolphinCGraphics_cpp -__sinit_DolphinCGraphics_cpp: -/* 8030D414 0030A374 94 21 FB E0 */ stwu r1, -0x420(r1) -/* 8030D418 0030A378 7C 08 02 A6 */ mflr r0 -/* 8030D41C 0030A37C 90 01 04 24 */ stw r0, 0x424(r1) -/* 8030D420 0030A380 48 07 7F 89 */ bl OSGetTime -/* 8030D424 0030A384 38 00 00 00 */ li r0, 0 -/* 8030D428 0030A388 38 A0 00 01 */ li r5, 1 -/* 8030D42C 0030A38C 90 8D A7 B4 */ stw r4, lbl_805A9374@sda21(r13) -/* 8030D430 0030A390 38 80 00 07 */ li r4, 7 -/* 8030D434 0030A394 90 6D A7 B0 */ stw r3, lbl_805A9370@sda21(r13) -/* 8030D438 0030A398 38 61 01 28 */ addi r3, r1, 0x128 -/* 8030D43C 0030A39C 98 A1 03 F0 */ stb r5, 0x3f0(r1) -/* 8030D440 0030A3A0 90 01 03 F4 */ stw r0, 0x3f4(r1) -/* 8030D444 0030A3A4 90 01 03 F8 */ stw r0, 0x3f8(r1) -/* 8030D448 0030A3A8 90 01 03 FC */ stw r0, 0x3fc(r1) -/* 8030D44C 0030A3AC 90 01 04 00 */ stw r0, 0x400(r1) -/* 8030D450 0030A3B0 98 A1 04 04 */ stb r5, 0x404(r1) -/* 8030D454 0030A3B4 90 01 04 08 */ stw r0, 0x408(r1) -/* 8030D458 0030A3B8 90 01 04 0C */ stw r0, 0x40c(r1) -/* 8030D45C 0030A3BC 90 01 04 10 */ stw r0, 0x410(r1) -/* 8030D460 0030A3C0 90 01 04 14 */ stw r0, 0x414(r1) -/* 8030D464 0030A3C4 4B FF BC C9 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc -/* 8030D468 0030A3C8 38 61 01 2C */ addi r3, r1, 0x12c -/* 8030D46C 0030A3CC 38 80 00 01 */ li r4, 1 -/* 8030D470 0030A3D0 4B FF BC BD */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc -/* 8030D474 0030A3D4 38 61 01 30 */ addi r3, r1, 0x130 -/* 8030D478 0030A3D8 38 80 00 05 */ li r4, 5 -/* 8030D47C 0030A3DC 4B FF BC B1 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc -/* 8030D480 0030A3E0 38 61 01 34 */ addi r3, r1, 0x134 -/* 8030D484 0030A3E4 38 80 00 07 */ li r4, 7 -/* 8030D488 0030A3E8 4B FF BC A5 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc -/* 8030D48C 0030A3EC 80 E1 01 34 */ lwz r7, 0x134(r1) -/* 8030D490 0030A3F0 38 61 01 38 */ addi r3, r1, 0x138 -/* 8030D494 0030A3F4 80 C1 01 30 */ lwz r6, 0x130(r1) -/* 8030D498 0030A3F8 38 80 00 0F */ li r4, 0xf -/* 8030D49C 0030A3FC 80 A1 01 2C */ lwz r5, 0x12c(r1) -/* 8030D4A0 0030A400 80 01 01 28 */ lwz r0, 0x128(r1) -/* 8030D4A4 0030A404 90 E1 02 68 */ stw r7, 0x268(r1) -/* 8030D4A8 0030A408 90 C1 02 6C */ stw r6, 0x26c(r1) -/* 8030D4AC 0030A40C 90 A1 02 70 */ stw r5, 0x270(r1) -/* 8030D4B0 0030A410 90 01 02 74 */ stw r0, 0x274(r1) -/* 8030D4B4 0030A414 4B FF BC 71 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc -/* 8030D4B8 0030A418 38 61 01 3C */ addi r3, r1, 0x13c -/* 8030D4BC 0030A41C 38 80 00 02 */ li r4, 2 -/* 8030D4C0 0030A420 4B FF BC 65 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc -/* 8030D4C4 0030A424 38 61 01 40 */ addi r3, r1, 0x140 -/* 8030D4C8 0030A428 38 80 00 0A */ li r4, 0xa -/* 8030D4CC 0030A42C 4B FF BC 59 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc -/* 8030D4D0 0030A430 38 61 01 44 */ addi r3, r1, 0x144 -/* 8030D4D4 0030A434 38 80 00 0F */ li r4, 0xf -/* 8030D4D8 0030A438 4B FF BC 4D */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc -/* 8030D4DC 0030A43C 80 A1 01 44 */ lwz r5, 0x144(r1) -/* 8030D4E0 0030A440 3C 60 80 5A */ lis r3, lbl_805A5698@ha -/* 8030D4E4 0030A444 81 21 01 40 */ lwz r9, 0x140(r1) -/* 8030D4E8 0030A448 38 63 56 98 */ addi r3, r3, lbl_805A5698@l -/* 8030D4EC 0030A44C 81 01 01 3C */ lwz r8, 0x13c(r1) -/* 8030D4F0 0030A450 38 81 02 78 */ addi r4, r1, 0x278 -/* 8030D4F4 0030A454 80 01 01 38 */ lwz r0, 0x138(r1) -/* 8030D4F8 0030A458 38 C1 04 04 */ addi r6, r1, 0x404 -/* 8030D4FC 0030A45C 90 A1 02 78 */ stw r5, 0x278(r1) -/* 8030D500 0030A460 38 A1 02 68 */ addi r5, r1, 0x268 -/* 8030D504 0030A464 38 E1 03 F0 */ addi r7, r1, 0x3f0 -/* 8030D508 0030A468 91 21 02 7C */ stw r9, 0x27c(r1) -/* 8030D50C 0030A46C 91 01 02 80 */ stw r8, 0x280(r1) -/* 8030D510 0030A470 90 01 02 84 */ stw r0, 0x284(r1) -/* 8030D514 0030A474 4B FF BD 41 */ bl sub_80309254 -/* 8030D518 0030A478 38 00 00 00 */ li r0, 0 -/* 8030D51C 0030A47C 38 A0 00 01 */ li r5, 1 -/* 8030D520 0030A480 98 A1 03 C8 */ stb r5, 0x3c8(r1) -/* 8030D524 0030A484 38 61 01 08 */ addi r3, r1, 0x108 -/* 8030D528 0030A488 38 80 00 01 */ li r4, 1 -/* 8030D52C 0030A48C 90 01 03 CC */ stw r0, 0x3cc(r1) -/* 8030D530 0030A490 90 01 03 D0 */ stw r0, 0x3d0(r1) -/* 8030D534 0030A494 90 01 03 D4 */ stw r0, 0x3d4(r1) -/* 8030D538 0030A498 90 01 03 D8 */ stw r0, 0x3d8(r1) -/* 8030D53C 0030A49C 98 A1 03 DC */ stb r5, 0x3dc(r1) -/* 8030D540 0030A4A0 90 01 03 E0 */ stw r0, 0x3e0(r1) -/* 8030D544 0030A4A4 90 01 03 E4 */ stw r0, 0x3e4(r1) -/* 8030D548 0030A4A8 90 01 03 E8 */ stw r0, 0x3e8(r1) -/* 8030D54C 0030A4AC 90 01 03 EC */ stw r0, 0x3ec(r1) -/* 8030D550 0030A4B0 4B FF BB DD */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc -/* 8030D554 0030A4B4 38 61 01 0C */ addi r3, r1, 0x10c -/* 8030D558 0030A4B8 38 80 00 07 */ li r4, 7 -/* 8030D55C 0030A4BC 4B FF BB D1 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc -/* 8030D560 0030A4C0 38 61 01 10 */ addi r3, r1, 0x110 -/* 8030D564 0030A4C4 38 80 00 07 */ li r4, 7 -/* 8030D568 0030A4C8 4B FF BB C5 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc -/* 8030D56C 0030A4CC 38 61 01 14 */ addi r3, r1, 0x114 -/* 8030D570 0030A4D0 38 80 00 07 */ li r4, 7 -/* 8030D574 0030A4D4 4B FF BB B9 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc -/* 8030D578 0030A4D8 80 E1 01 14 */ lwz r7, 0x114(r1) -/* 8030D57C 0030A4DC 38 61 01 18 */ addi r3, r1, 0x118 -/* 8030D580 0030A4E0 80 C1 01 10 */ lwz r6, 0x110(r1) -/* 8030D584 0030A4E4 38 80 00 02 */ li r4, 2 -/* 8030D588 0030A4E8 80 A1 01 0C */ lwz r5, 0x10c(r1) -/* 8030D58C 0030A4EC 80 01 01 08 */ lwz r0, 0x108(r1) -/* 8030D590 0030A4F0 90 E1 02 48 */ stw r7, 0x248(r1) -/* 8030D594 0030A4F4 90 C1 02 4C */ stw r6, 0x24c(r1) -/* 8030D598 0030A4F8 90 A1 02 50 */ stw r5, 0x250(r1) -/* 8030D59C 0030A4FC 90 01 02 54 */ stw r0, 0x254(r1) -/* 8030D5A0 0030A500 4B FF BB 85 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc -/* 8030D5A4 0030A504 38 61 01 1C */ addi r3, r1, 0x11c -/* 8030D5A8 0030A508 38 80 00 0F */ li r4, 0xf -/* 8030D5AC 0030A50C 4B FF BB 79 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc -/* 8030D5B0 0030A510 38 61 01 20 */ addi r3, r1, 0x120 -/* 8030D5B4 0030A514 38 80 00 0F */ li r4, 0xf -/* 8030D5B8 0030A518 4B FF BB 6D */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc -/* 8030D5BC 0030A51C 38 61 01 24 */ addi r3, r1, 0x124 -/* 8030D5C0 0030A520 38 80 00 0F */ li r4, 0xf -/* 8030D5C4 0030A524 4B FF BB 61 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc -/* 8030D5C8 0030A528 80 A1 01 24 */ lwz r5, 0x124(r1) -/* 8030D5CC 0030A52C 3C 60 80 5A */ lis r3, lbl_805A5E70@ha -/* 8030D5D0 0030A530 81 21 01 20 */ lwz r9, 0x120(r1) -/* 8030D5D4 0030A534 38 63 5E 70 */ addi r3, r3, lbl_805A5E70@l -/* 8030D5D8 0030A538 81 01 01 1C */ lwz r8, 0x11c(r1) -/* 8030D5DC 0030A53C 38 81 02 58 */ addi r4, r1, 0x258 -/* 8030D5E0 0030A540 80 01 01 18 */ lwz r0, 0x118(r1) -/* 8030D5E4 0030A544 38 C1 03 DC */ addi r6, r1, 0x3dc -/* 8030D5E8 0030A548 90 A1 02 58 */ stw r5, 0x258(r1) -/* 8030D5EC 0030A54C 38 A1 02 48 */ addi r5, r1, 0x248 -/* 8030D5F0 0030A550 38 E1 03 C8 */ addi r7, r1, 0x3c8 -/* 8030D5F4 0030A554 91 21 02 5C */ stw r9, 0x25c(r1) -/* 8030D5F8 0030A558 91 01 02 60 */ stw r8, 0x260(r1) -/* 8030D5FC 0030A55C 90 01 02 64 */ stw r0, 0x264(r1) -/* 8030D600 0030A560 4B FF BC 55 */ bl sub_80309254 -/* 8030D604 0030A564 38 00 00 00 */ li r0, 0 -/* 8030D608 0030A568 38 A0 00 01 */ li r5, 1 -/* 8030D60C 0030A56C 98 A1 03 A0 */ stb r5, 0x3a0(r1) -/* 8030D610 0030A570 38 61 00 E8 */ addi r3, r1, 0xe8 -/* 8030D614 0030A574 38 80 00 07 */ li r4, 7 -/* 8030D618 0030A578 90 01 03 A4 */ stw r0, 0x3a4(r1) -/* 8030D61C 0030A57C 90 01 03 A8 */ stw r0, 0x3a8(r1) -/* 8030D620 0030A580 90 01 03 AC */ stw r0, 0x3ac(r1) -/* 8030D624 0030A584 90 01 03 B0 */ stw r0, 0x3b0(r1) -/* 8030D628 0030A588 98 A1 03 B4 */ stb r5, 0x3b4(r1) -/* 8030D62C 0030A58C 90 01 03 B8 */ stw r0, 0x3b8(r1) -/* 8030D630 0030A590 90 01 03 BC */ stw r0, 0x3bc(r1) -/* 8030D634 0030A594 90 01 03 C0 */ stw r0, 0x3c0(r1) -/* 8030D638 0030A598 90 01 03 C4 */ stw r0, 0x3c4(r1) -/* 8030D63C 0030A59C 4B FF BA F1 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc -/* 8030D640 0030A5A0 38 61 00 EC */ addi r3, r1, 0xec -/* 8030D644 0030A5A4 38 80 00 04 */ li r4, 4 -/* 8030D648 0030A5A8 4B FF BA E5 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc -/* 8030D64C 0030A5AC 38 61 00 F0 */ addi r3, r1, 0xf0 -/* 8030D650 0030A5B0 38 80 00 05 */ li r4, 5 -/* 8030D654 0030A5B4 4B FF BA D9 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc -/* 8030D658 0030A5B8 38 61 00 F4 */ addi r3, r1, 0xf4 -/* 8030D65C 0030A5BC 38 80 00 07 */ li r4, 7 -/* 8030D660 0030A5C0 4B FF BA CD */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc -/* 8030D664 0030A5C4 80 E1 00 F4 */ lwz r7, 0xf4(r1) -/* 8030D668 0030A5C8 38 61 00 F8 */ addi r3, r1, 0xf8 -/* 8030D66C 0030A5CC 80 C1 00 F0 */ lwz r6, 0xf0(r1) -/* 8030D670 0030A5D0 38 80 00 0F */ li r4, 0xf -/* 8030D674 0030A5D4 80 A1 00 EC */ lwz r5, 0xec(r1) -/* 8030D678 0030A5D8 80 01 00 E8 */ lwz r0, 0xe8(r1) -/* 8030D67C 0030A5DC 90 E1 02 28 */ stw r7, 0x228(r1) -/* 8030D680 0030A5E0 90 C1 02 2C */ stw r6, 0x22c(r1) -/* 8030D684 0030A5E4 90 A1 02 30 */ stw r5, 0x230(r1) -/* 8030D688 0030A5E8 90 01 02 34 */ stw r0, 0x234(r1) -/* 8030D68C 0030A5EC 4B FF BA 99 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc -/* 8030D690 0030A5F0 38 61 00 FC */ addi r3, r1, 0xfc -/* 8030D694 0030A5F4 38 80 00 08 */ li r4, 8 -/* 8030D698 0030A5F8 4B FF BA 8D */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc -/* 8030D69C 0030A5FC 38 61 01 00 */ addi r3, r1, 0x100 -/* 8030D6A0 0030A600 38 80 00 0A */ li r4, 0xa -/* 8030D6A4 0030A604 4B FF BA 81 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc -/* 8030D6A8 0030A608 38 61 01 04 */ addi r3, r1, 0x104 -/* 8030D6AC 0030A60C 38 80 00 0F */ li r4, 0xf -/* 8030D6B0 0030A610 4B FF BA 75 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc -/* 8030D6B4 0030A614 80 A1 01 04 */ lwz r5, 0x104(r1) -/* 8030D6B8 0030A618 3C 60 80 5A */ lis r3, lbl_805A5EBC@ha -/* 8030D6BC 0030A61C 81 21 01 00 */ lwz r9, 0x100(r1) -/* 8030D6C0 0030A620 38 63 5E BC */ addi r3, r3, lbl_805A5EBC@l -/* 8030D6C4 0030A624 81 01 00 FC */ lwz r8, 0xfc(r1) -/* 8030D6C8 0030A628 38 81 02 38 */ addi r4, r1, 0x238 -/* 8030D6CC 0030A62C 80 01 00 F8 */ lwz r0, 0xf8(r1) -/* 8030D6D0 0030A630 38 C1 03 B4 */ addi r6, r1, 0x3b4 -/* 8030D6D4 0030A634 90 A1 02 38 */ stw r5, 0x238(r1) -/* 8030D6D8 0030A638 38 A1 02 28 */ addi r5, r1, 0x228 -/* 8030D6DC 0030A63C 38 E1 03 A0 */ addi r7, r1, 0x3a0 -/* 8030D6E0 0030A640 91 21 02 3C */ stw r9, 0x23c(r1) -/* 8030D6E4 0030A644 91 01 02 40 */ stw r8, 0x240(r1) -/* 8030D6E8 0030A648 90 01 02 44 */ stw r0, 0x244(r1) -/* 8030D6EC 0030A64C 4B FF BB 69 */ bl sub_80309254 -/* 8030D6F0 0030A650 38 00 00 00 */ li r0, 0 -/* 8030D6F4 0030A654 38 A0 00 01 */ li r5, 1 -/* 8030D6F8 0030A658 98 A1 03 78 */ stb r5, 0x378(r1) -/* 8030D6FC 0030A65C 38 61 00 C8 */ addi r3, r1, 0xc8 -/* 8030D700 0030A660 38 80 00 05 */ li r4, 5 -/* 8030D704 0030A664 90 01 03 7C */ stw r0, 0x37c(r1) -/* 8030D708 0030A668 90 01 03 80 */ stw r0, 0x380(r1) -/* 8030D70C 0030A66C 90 01 03 84 */ stw r0, 0x384(r1) -/* 8030D710 0030A670 90 01 03 88 */ stw r0, 0x388(r1) -/* 8030D714 0030A674 98 A1 03 8C */ stb r5, 0x38c(r1) -/* 8030D718 0030A678 90 01 03 90 */ stw r0, 0x390(r1) -/* 8030D71C 0030A67C 90 01 03 94 */ stw r0, 0x394(r1) -/* 8030D720 0030A680 90 01 03 98 */ stw r0, 0x398(r1) -/* 8030D724 0030A684 90 01 03 9C */ stw r0, 0x39c(r1) -/* 8030D728 0030A688 4B FF BA 05 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc -/* 8030D72C 0030A68C 38 61 00 CC */ addi r3, r1, 0xcc -/* 8030D730 0030A690 38 80 00 07 */ li r4, 7 -/* 8030D734 0030A694 4B FF B9 F9 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc -/* 8030D738 0030A698 38 61 00 D0 */ addi r3, r1, 0xd0 -/* 8030D73C 0030A69C 38 80 00 07 */ li r4, 7 -/* 8030D740 0030A6A0 4B FF B9 ED */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc -/* 8030D744 0030A6A4 38 61 00 D4 */ addi r3, r1, 0xd4 -/* 8030D748 0030A6A8 38 80 00 07 */ li r4, 7 -/* 8030D74C 0030A6AC 4B FF B9 E1 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc -/* 8030D750 0030A6B0 80 E1 00 D4 */ lwz r7, 0xd4(r1) -/* 8030D754 0030A6B4 38 61 00 D8 */ addi r3, r1, 0xd8 -/* 8030D758 0030A6B8 80 C1 00 D0 */ lwz r6, 0xd0(r1) -/* 8030D75C 0030A6BC 38 80 00 0F */ li r4, 0xf -/* 8030D760 0030A6C0 80 A1 00 CC */ lwz r5, 0xcc(r1) -/* 8030D764 0030A6C4 80 01 00 C8 */ lwz r0, 0xc8(r1) -/* 8030D768 0030A6C8 90 E1 02 08 */ stw r7, 0x208(r1) -/* 8030D76C 0030A6CC 90 C1 02 0C */ stw r6, 0x20c(r1) -/* 8030D770 0030A6D0 90 A1 02 10 */ stw r5, 0x210(r1) -/* 8030D774 0030A6D4 90 01 02 14 */ stw r0, 0x214(r1) -/* 8030D778 0030A6D8 4B FF B9 AD */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc -/* 8030D77C 0030A6DC 38 61 00 DC */ addi r3, r1, 0xdc -/* 8030D780 0030A6E0 38 80 00 09 */ li r4, 9 -/* 8030D784 0030A6E4 4B FF B9 A1 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc -/* 8030D788 0030A6E8 38 61 00 E0 */ addi r3, r1, 0xe0 -/* 8030D78C 0030A6EC 38 80 00 08 */ li r4, 8 -/* 8030D790 0030A6F0 4B FF B9 95 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc -/* 8030D794 0030A6F4 38 61 00 E4 */ addi r3, r1, 0xe4 -/* 8030D798 0030A6F8 38 80 00 0A */ li r4, 0xa -/* 8030D79C 0030A6FC 4B FF B9 89 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc -/* 8030D7A0 0030A700 80 A1 00 E4 */ lwz r5, 0xe4(r1) -/* 8030D7A4 0030A704 3C 60 80 5A */ lis r3, lbl_805A5F08@ha -/* 8030D7A8 0030A708 81 21 00 E0 */ lwz r9, 0xe0(r1) -/* 8030D7AC 0030A70C 38 63 5F 08 */ addi r3, r3, lbl_805A5F08@l -/* 8030D7B0 0030A710 81 01 00 DC */ lwz r8, 0xdc(r1) -/* 8030D7B4 0030A714 38 81 02 18 */ addi r4, r1, 0x218 -/* 8030D7B8 0030A718 80 01 00 D8 */ lwz r0, 0xd8(r1) -/* 8030D7BC 0030A71C 38 C1 03 8C */ addi r6, r1, 0x38c -/* 8030D7C0 0030A720 90 A1 02 18 */ stw r5, 0x218(r1) -/* 8030D7C4 0030A724 38 A1 02 08 */ addi r5, r1, 0x208 -/* 8030D7C8 0030A728 38 E1 03 78 */ addi r7, r1, 0x378 -/* 8030D7CC 0030A72C 91 21 02 1C */ stw r9, 0x21c(r1) -/* 8030D7D0 0030A730 91 01 02 20 */ stw r8, 0x220(r1) -/* 8030D7D4 0030A734 90 01 02 24 */ stw r0, 0x224(r1) -/* 8030D7D8 0030A738 4B FF BA 7D */ bl sub_80309254 -/* 8030D7DC 0030A73C 38 00 00 00 */ li r0, 0 -/* 8030D7E0 0030A740 38 A0 00 01 */ li r5, 1 -/* 8030D7E4 0030A744 98 A1 03 50 */ stb r5, 0x350(r1) -/* 8030D7E8 0030A748 38 61 00 A8 */ addi r3, r1, 0xa8 -/* 8030D7EC 0030A74C 38 80 00 07 */ li r4, 7 -/* 8030D7F0 0030A750 90 01 03 54 */ stw r0, 0x354(r1) -/* 8030D7F4 0030A754 90 01 03 58 */ stw r0, 0x358(r1) -/* 8030D7F8 0030A758 90 01 03 5C */ stw r0, 0x35c(r1) -/* 8030D7FC 0030A75C 90 01 03 60 */ stw r0, 0x360(r1) -/* 8030D800 0030A760 98 A1 03 64 */ stb r5, 0x364(r1) -/* 8030D804 0030A764 90 01 03 68 */ stw r0, 0x368(r1) -/* 8030D808 0030A768 90 01 03 6C */ stw r0, 0x36c(r1) -/* 8030D80C 0030A76C 90 01 03 70 */ stw r0, 0x370(r1) -/* 8030D810 0030A770 90 01 03 74 */ stw r0, 0x374(r1) -/* 8030D814 0030A774 4B FF B9 19 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc -/* 8030D818 0030A778 38 61 00 AC */ addi r3, r1, 0xac -/* 8030D81C 0030A77C 38 80 00 05 */ li r4, 5 -/* 8030D820 0030A780 4B FF B9 0D */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc -/* 8030D824 0030A784 38 61 00 B0 */ addi r3, r1, 0xb0 -/* 8030D828 0030A788 38 80 00 04 */ li r4, 4 -/* 8030D82C 0030A78C 4B FF B9 01 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc -/* 8030D830 0030A790 38 61 00 B4 */ addi r3, r1, 0xb4 -/* 8030D834 0030A794 38 80 00 07 */ li r4, 7 -/* 8030D838 0030A798 4B FF B8 F5 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc -/* 8030D83C 0030A79C 80 E1 00 B4 */ lwz r7, 0xb4(r1) -/* 8030D840 0030A7A0 38 61 00 B8 */ addi r3, r1, 0xb8 -/* 8030D844 0030A7A4 80 C1 00 B0 */ lwz r6, 0xb0(r1) -/* 8030D848 0030A7A8 38 80 00 0F */ li r4, 0xf -/* 8030D84C 0030A7AC 80 A1 00 AC */ lwz r5, 0xac(r1) -/* 8030D850 0030A7B0 80 01 00 A8 */ lwz r0, 0xa8(r1) -/* 8030D854 0030A7B4 90 E1 01 E8 */ stw r7, 0x1e8(r1) -/* 8030D858 0030A7B8 90 C1 01 EC */ stw r6, 0x1ec(r1) -/* 8030D85C 0030A7BC 90 A1 01 F0 */ stw r5, 0x1f0(r1) -/* 8030D860 0030A7C0 90 01 01 F4 */ stw r0, 0x1f4(r1) -/* 8030D864 0030A7C4 4B FF B8 C1 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc -/* 8030D868 0030A7C8 38 61 00 BC */ addi r3, r1, 0xbc -/* 8030D86C 0030A7CC 38 80 00 08 */ li r4, 8 -/* 8030D870 0030A7D0 4B FF B8 B5 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc -/* 8030D874 0030A7D4 38 61 00 C0 */ addi r3, r1, 0xc0 -/* 8030D878 0030A7D8 38 80 00 0C */ li r4, 0xc -/* 8030D87C 0030A7DC 4B FF B8 A9 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc -/* 8030D880 0030A7E0 38 61 00 C4 */ addi r3, r1, 0xc4 -/* 8030D884 0030A7E4 38 80 00 0A */ li r4, 0xa -/* 8030D888 0030A7E8 4B FF B8 9D */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc -/* 8030D88C 0030A7EC 80 A1 00 C4 */ lwz r5, 0xc4(r1) -/* 8030D890 0030A7F0 3C 60 80 5A */ lis r3, lbl_805A5F54@ha -/* 8030D894 0030A7F4 81 21 00 C0 */ lwz r9, 0xc0(r1) -/* 8030D898 0030A7F8 38 63 5F 54 */ addi r3, r3, lbl_805A5F54@l -/* 8030D89C 0030A7FC 81 01 00 BC */ lwz r8, 0xbc(r1) -/* 8030D8A0 0030A800 38 81 01 F8 */ addi r4, r1, 0x1f8 -/* 8030D8A4 0030A804 80 01 00 B8 */ lwz r0, 0xb8(r1) -/* 8030D8A8 0030A808 38 C1 03 64 */ addi r6, r1, 0x364 -/* 8030D8AC 0030A80C 90 A1 01 F8 */ stw r5, 0x1f8(r1) -/* 8030D8B0 0030A810 38 A1 01 E8 */ addi r5, r1, 0x1e8 -/* 8030D8B4 0030A814 38 E1 03 50 */ addi r7, r1, 0x350 -/* 8030D8B8 0030A818 91 21 01 FC */ stw r9, 0x1fc(r1) -/* 8030D8BC 0030A81C 91 01 02 00 */ stw r8, 0x200(r1) -/* 8030D8C0 0030A820 90 01 02 04 */ stw r0, 0x204(r1) -/* 8030D8C4 0030A824 4B FF B9 91 */ bl sub_80309254 -/* 8030D8C8 0030A828 38 00 00 00 */ li r0, 0 -/* 8030D8CC 0030A82C 38 A0 00 01 */ li r5, 1 -/* 8030D8D0 0030A830 98 A1 03 28 */ stb r5, 0x328(r1) -/* 8030D8D4 0030A834 38 61 00 88 */ addi r3, r1, 0x88 -/* 8030D8D8 0030A838 38 80 00 04 */ li r4, 4 -/* 8030D8DC 0030A83C 90 01 03 2C */ stw r0, 0x32c(r1) -/* 8030D8E0 0030A840 90 01 03 30 */ stw r0, 0x330(r1) -/* 8030D8E4 0030A844 90 01 03 34 */ stw r0, 0x334(r1) -/* 8030D8E8 0030A848 90 01 03 38 */ stw r0, 0x338(r1) -/* 8030D8EC 0030A84C 98 A1 03 3C */ stb r5, 0x33c(r1) -/* 8030D8F0 0030A850 90 01 03 40 */ stw r0, 0x340(r1) -/* 8030D8F4 0030A854 90 01 03 44 */ stw r0, 0x344(r1) -/* 8030D8F8 0030A858 90 01 03 48 */ stw r0, 0x348(r1) -/* 8030D8FC 0030A85C 90 01 03 4C */ stw r0, 0x34c(r1) -/* 8030D900 0030A860 4B FF B8 2D */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc -/* 8030D904 0030A864 38 61 00 8C */ addi r3, r1, 0x8c -/* 8030D908 0030A868 38 80 00 07 */ li r4, 7 -/* 8030D90C 0030A86C 4B FF B8 21 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc -/* 8030D910 0030A870 38 61 00 90 */ addi r3, r1, 0x90 -/* 8030D914 0030A874 38 80 00 07 */ li r4, 7 -/* 8030D918 0030A878 4B FF B8 15 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc -/* 8030D91C 0030A87C 38 61 00 94 */ addi r3, r1, 0x94 -/* 8030D920 0030A880 38 80 00 07 */ li r4, 7 -/* 8030D924 0030A884 4B FF B8 09 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc -/* 8030D928 0030A888 80 E1 00 94 */ lwz r7, 0x94(r1) -/* 8030D92C 0030A88C 38 61 00 98 */ addi r3, r1, 0x98 -/* 8030D930 0030A890 80 C1 00 90 */ lwz r6, 0x90(r1) -/* 8030D934 0030A894 38 80 00 08 */ li r4, 8 -/* 8030D938 0030A898 80 A1 00 8C */ lwz r5, 0x8c(r1) -/* 8030D93C 0030A89C 80 01 00 88 */ lwz r0, 0x88(r1) -/* 8030D940 0030A8A0 90 E1 01 C8 */ stw r7, 0x1c8(r1) -/* 8030D944 0030A8A4 90 C1 01 CC */ stw r6, 0x1cc(r1) -/* 8030D948 0030A8A8 90 A1 01 D0 */ stw r5, 0x1d0(r1) -/* 8030D94C 0030A8AC 90 01 01 D4 */ stw r0, 0x1d4(r1) -/* 8030D950 0030A8B0 4B FF B7 D5 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc -/* 8030D954 0030A8B4 38 61 00 9C */ addi r3, r1, 0x9c -/* 8030D958 0030A8B8 38 80 00 0F */ li r4, 0xf -/* 8030D95C 0030A8BC 4B FF B7 C9 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc -/* 8030D960 0030A8C0 38 61 00 A0 */ addi r3, r1, 0xa0 -/* 8030D964 0030A8C4 38 80 00 0F */ li r4, 0xf -/* 8030D968 0030A8C8 4B FF B7 BD */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc -/* 8030D96C 0030A8CC 38 61 00 A4 */ addi r3, r1, 0xa4 -/* 8030D970 0030A8D0 38 80 00 0F */ li r4, 0xf -/* 8030D974 0030A8D4 4B FF B7 B1 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc -/* 8030D978 0030A8D8 80 A1 00 A4 */ lwz r5, 0xa4(r1) -/* 8030D97C 0030A8DC 3C 60 80 5A */ lis r3, lbl_805A5FA0@ha -/* 8030D980 0030A8E0 81 21 00 A0 */ lwz r9, 0xa0(r1) -/* 8030D984 0030A8E4 38 63 5F A0 */ addi r3, r3, lbl_805A5FA0@l -/* 8030D988 0030A8E8 81 01 00 9C */ lwz r8, 0x9c(r1) -/* 8030D98C 0030A8EC 38 81 01 D8 */ addi r4, r1, 0x1d8 -/* 8030D990 0030A8F0 80 01 00 98 */ lwz r0, 0x98(r1) -/* 8030D994 0030A8F4 38 C1 03 3C */ addi r6, r1, 0x33c -/* 8030D998 0030A8F8 90 A1 01 D8 */ stw r5, 0x1d8(r1) -/* 8030D99C 0030A8FC 38 A1 01 C8 */ addi r5, r1, 0x1c8 -/* 8030D9A0 0030A900 38 E1 03 28 */ addi r7, r1, 0x328 -/* 8030D9A4 0030A904 91 21 01 DC */ stw r9, 0x1dc(r1) -/* 8030D9A8 0030A908 91 01 01 E0 */ stw r8, 0x1e0(r1) -/* 8030D9AC 0030A90C 90 01 01 E4 */ stw r0, 0x1e4(r1) -/* 8030D9B0 0030A910 4B FF B8 A5 */ bl sub_80309254 -/* 8030D9B4 0030A914 38 00 00 00 */ li r0, 0 -/* 8030D9B8 0030A918 38 A0 00 01 */ li r5, 1 -/* 8030D9BC 0030A91C 98 A1 03 00 */ stb r5, 0x300(r1) -/* 8030D9C0 0030A920 38 61 00 68 */ addi r3, r1, 0x68 -/* 8030D9C4 0030A924 38 80 00 05 */ li r4, 5 -/* 8030D9C8 0030A928 90 01 03 04 */ stw r0, 0x304(r1) -/* 8030D9CC 0030A92C 90 01 03 08 */ stw r0, 0x308(r1) -/* 8030D9D0 0030A930 90 01 03 0C */ stw r0, 0x30c(r1) -/* 8030D9D4 0030A934 90 01 03 10 */ stw r0, 0x310(r1) -/* 8030D9D8 0030A938 98 A1 03 14 */ stb r5, 0x314(r1) -/* 8030D9DC 0030A93C 90 01 03 18 */ stw r0, 0x318(r1) -/* 8030D9E0 0030A940 90 01 03 1C */ stw r0, 0x31c(r1) -/* 8030D9E4 0030A944 90 01 03 20 */ stw r0, 0x320(r1) -/* 8030D9E8 0030A948 90 01 03 24 */ stw r0, 0x324(r1) -/* 8030D9EC 0030A94C 4B FF B7 41 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc -/* 8030D9F0 0030A950 38 61 00 6C */ addi r3, r1, 0x6c -/* 8030D9F4 0030A954 38 80 00 07 */ li r4, 7 -/* 8030D9F8 0030A958 4B FF B7 35 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc -/* 8030D9FC 0030A95C 38 61 00 70 */ addi r3, r1, 0x70 -/* 8030DA00 0030A960 38 80 00 07 */ li r4, 7 -/* 8030DA04 0030A964 4B FF B7 29 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc -/* 8030DA08 0030A968 38 61 00 74 */ addi r3, r1, 0x74 -/* 8030DA0C 0030A96C 38 80 00 07 */ li r4, 7 -/* 8030DA10 0030A970 4B FF B7 1D */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc -/* 8030DA14 0030A974 80 E1 00 74 */ lwz r7, 0x74(r1) -/* 8030DA18 0030A978 38 61 00 78 */ addi r3, r1, 0x78 -/* 8030DA1C 0030A97C 80 C1 00 70 */ lwz r6, 0x70(r1) -/* 8030DA20 0030A980 38 80 00 0F */ li r4, 0xf -/* 8030DA24 0030A984 80 A1 00 6C */ lwz r5, 0x6c(r1) -/* 8030DA28 0030A988 80 01 00 68 */ lwz r0, 0x68(r1) -/* 8030DA2C 0030A98C 90 E1 01 A8 */ stw r7, 0x1a8(r1) -/* 8030DA30 0030A990 90 C1 01 AC */ stw r6, 0x1ac(r1) -/* 8030DA34 0030A994 90 A1 01 B0 */ stw r5, 0x1b0(r1) -/* 8030DA38 0030A998 90 01 01 B4 */ stw r0, 0x1b4(r1) -/* 8030DA3C 0030A99C 4B FF B6 E9 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc -/* 8030DA40 0030A9A0 38 61 00 7C */ addi r3, r1, 0x7c -/* 8030DA44 0030A9A4 38 80 00 0A */ li r4, 0xa -/* 8030DA48 0030A9A8 4B FF B6 DD */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc -/* 8030DA4C 0030A9AC 38 61 00 80 */ addi r3, r1, 0x80 -/* 8030DA50 0030A9B0 38 80 00 08 */ li r4, 8 -/* 8030DA54 0030A9B4 4B FF B6 D1 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc -/* 8030DA58 0030A9B8 38 61 00 84 */ addi r3, r1, 0x84 -/* 8030DA5C 0030A9BC 38 80 00 02 */ li r4, 2 -/* 8030DA60 0030A9C0 4B FF B6 C5 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc -/* 8030DA64 0030A9C4 80 A1 00 84 */ lwz r5, 0x84(r1) -/* 8030DA68 0030A9C8 3C 60 80 4C */ lis r3, lbl_804BFCC0@ha -/* 8030DA6C 0030A9CC 81 21 00 80 */ lwz r9, 0x80(r1) -/* 8030DA70 0030A9D0 38 63 FC C0 */ addi r3, r3, lbl_804BFCC0@l -/* 8030DA74 0030A9D4 81 01 00 7C */ lwz r8, 0x7c(r1) -/* 8030DA78 0030A9D8 38 81 01 B8 */ addi r4, r1, 0x1b8 -/* 8030DA7C 0030A9DC 80 01 00 78 */ lwz r0, 0x78(r1) -/* 8030DA80 0030A9E0 38 C1 03 14 */ addi r6, r1, 0x314 -/* 8030DA84 0030A9E4 90 A1 01 B8 */ stw r5, 0x1b8(r1) -/* 8030DA88 0030A9E8 38 A1 01 A8 */ addi r5, r1, 0x1a8 -/* 8030DA8C 0030A9EC 38 E1 03 00 */ addi r7, r1, 0x300 -/* 8030DA90 0030A9F0 91 21 01 BC */ stw r9, 0x1bc(r1) -/* 8030DA94 0030A9F4 91 01 01 C0 */ stw r8, 0x1c0(r1) -/* 8030DA98 0030A9F8 90 01 01 C4 */ stw r0, 0x1c4(r1) -/* 8030DA9C 0030A9FC 4B FF B7 B9 */ bl sub_80309254 -/* 8030DAA0 0030AA00 38 00 00 00 */ li r0, 0 -/* 8030DAA4 0030AA04 38 A0 00 01 */ li r5, 1 -/* 8030DAA8 0030AA08 98 A1 02 D8 */ stb r5, 0x2d8(r1) -/* 8030DAAC 0030AA0C 38 61 00 48 */ addi r3, r1, 0x48 -/* 8030DAB0 0030AA10 38 80 00 07 */ li r4, 7 -/* 8030DAB4 0030AA14 90 01 02 DC */ stw r0, 0x2dc(r1) -/* 8030DAB8 0030AA18 90 01 02 E0 */ stw r0, 0x2e0(r1) -/* 8030DABC 0030AA1C 90 01 02 E4 */ stw r0, 0x2e4(r1) -/* 8030DAC0 0030AA20 90 01 02 E8 */ stw r0, 0x2e8(r1) -/* 8030DAC4 0030AA24 98 A1 02 EC */ stb r5, 0x2ec(r1) -/* 8030DAC8 0030AA28 90 01 02 F0 */ stw r0, 0x2f0(r1) -/* 8030DACC 0030AA2C 90 01 02 F4 */ stw r0, 0x2f4(r1) -/* 8030DAD0 0030AA30 90 01 02 F8 */ stw r0, 0x2f8(r1) -/* 8030DAD4 0030AA34 90 01 02 FC */ stw r0, 0x2fc(r1) -/* 8030DAD8 0030AA38 4B FF B6 55 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc -/* 8030DADC 0030AA3C 38 61 00 4C */ addi r3, r1, 0x4c -/* 8030DAE0 0030AA40 38 80 00 05 */ li r4, 5 -/* 8030DAE4 0030AA44 4B FF B6 49 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc -/* 8030DAE8 0030AA48 38 61 00 50 */ addi r3, r1, 0x50 -/* 8030DAEC 0030AA4C 38 80 00 04 */ li r4, 4 -/* 8030DAF0 0030AA50 4B FF B6 3D */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc -/* 8030DAF4 0030AA54 38 61 00 54 */ addi r3, r1, 0x54 -/* 8030DAF8 0030AA58 38 80 00 07 */ li r4, 7 -/* 8030DAFC 0030AA5C 4B FF B6 31 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc -/* 8030DB00 0030AA60 80 E1 00 54 */ lwz r7, 0x54(r1) -/* 8030DB04 0030AA64 38 61 00 58 */ addi r3, r1, 0x58 -/* 8030DB08 0030AA68 80 C1 00 50 */ lwz r6, 0x50(r1) -/* 8030DB0C 0030AA6C 38 80 00 0A */ li r4, 0xa -/* 8030DB10 0030AA70 80 A1 00 4C */ lwz r5, 0x4c(r1) -/* 8030DB14 0030AA74 80 01 00 48 */ lwz r0, 0x48(r1) -/* 8030DB18 0030AA78 90 E1 01 88 */ stw r7, 0x188(r1) -/* 8030DB1C 0030AA7C 90 C1 01 8C */ stw r6, 0x18c(r1) -/* 8030DB20 0030AA80 90 A1 01 90 */ stw r5, 0x190(r1) -/* 8030DB24 0030AA84 90 01 01 94 */ stw r0, 0x194(r1) -/* 8030DB28 0030AA88 4B FF B5 FD */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc -/* 8030DB2C 0030AA8C 38 61 00 5C */ addi r3, r1, 0x5c -/* 8030DB30 0030AA90 38 80 00 0F */ li r4, 0xf -/* 8030DB34 0030AA94 4B FF B5 F1 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc -/* 8030DB38 0030AA98 38 61 00 60 */ addi r3, r1, 0x60 -/* 8030DB3C 0030AA9C 38 80 00 0F */ li r4, 0xf -/* 8030DB40 0030AAA0 4B FF B5 E5 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc -/* 8030DB44 0030AAA4 38 61 00 64 */ addi r3, r1, 0x64 -/* 8030DB48 0030AAA8 38 80 00 0F */ li r4, 0xf -/* 8030DB4C 0030AAAC 4B FF B5 D9 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc -/* 8030DB50 0030AAB0 80 A1 00 64 */ lwz r5, 0x64(r1) -/* 8030DB54 0030AAB4 3C 60 80 5A */ lis r3, lbl_805A5FEC@ha -/* 8030DB58 0030AAB8 81 21 00 60 */ lwz r9, 0x60(r1) -/* 8030DB5C 0030AABC 38 63 5F EC */ addi r3, r3, lbl_805A5FEC@l -/* 8030DB60 0030AAC0 81 01 00 5C */ lwz r8, 0x5c(r1) -/* 8030DB64 0030AAC4 38 81 01 98 */ addi r4, r1, 0x198 -/* 8030DB68 0030AAC8 80 01 00 58 */ lwz r0, 0x58(r1) -/* 8030DB6C 0030AACC 38 C1 02 EC */ addi r6, r1, 0x2ec -/* 8030DB70 0030AAD0 90 A1 01 98 */ stw r5, 0x198(r1) -/* 8030DB74 0030AAD4 38 A1 01 88 */ addi r5, r1, 0x188 -/* 8030DB78 0030AAD8 38 E1 02 D8 */ addi r7, r1, 0x2d8 -/* 8030DB7C 0030AADC 91 21 01 9C */ stw r9, 0x19c(r1) -/* 8030DB80 0030AAE0 91 01 01 A0 */ stw r8, 0x1a0(r1) -/* 8030DB84 0030AAE4 90 01 01 A4 */ stw r0, 0x1a4(r1) -/* 8030DB88 0030AAE8 4B FF B6 CD */ bl sub_80309254 -/* 8030DB8C 0030AAEC 38 00 00 00 */ li r0, 0 -/* 8030DB90 0030AAF0 38 A0 00 01 */ li r5, 1 -/* 8030DB94 0030AAF4 98 A1 02 B0 */ stb r5, 0x2b0(r1) -/* 8030DB98 0030AAF8 38 61 00 28 */ addi r3, r1, 0x28 -/* 8030DB9C 0030AAFC 38 80 00 07 */ li r4, 7 -/* 8030DBA0 0030AB00 90 01 02 B4 */ stw r0, 0x2b4(r1) -/* 8030DBA4 0030AB04 90 01 02 B8 */ stw r0, 0x2b8(r1) -/* 8030DBA8 0030AB08 90 01 02 BC */ stw r0, 0x2bc(r1) -/* 8030DBAC 0030AB0C 90 01 02 C0 */ stw r0, 0x2c0(r1) -/* 8030DBB0 0030AB10 98 A1 02 C4 */ stb r5, 0x2c4(r1) -/* 8030DBB4 0030AB14 90 01 02 C8 */ stw r0, 0x2c8(r1) -/* 8030DBB8 0030AB18 90 01 02 CC */ stw r0, 0x2cc(r1) -/* 8030DBBC 0030AB1C 90 01 02 D0 */ stw r0, 0x2d0(r1) -/* 8030DBC0 0030AB20 90 01 02 D4 */ stw r0, 0x2d4(r1) -/* 8030DBC4 0030AB24 4B FF B5 69 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc -/* 8030DBC8 0030AB28 38 61 00 2C */ addi r3, r1, 0x2c -/* 8030DBCC 0030AB2C 38 80 00 05 */ li r4, 5 -/* 8030DBD0 0030AB30 4B FF B5 5D */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc -/* 8030DBD4 0030AB34 38 61 00 30 */ addi r3, r1, 0x30 -/* 8030DBD8 0030AB38 38 80 00 06 */ li r4, 6 -/* 8030DBDC 0030AB3C 4B FF B5 51 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc -/* 8030DBE0 0030AB40 38 61 00 34 */ addi r3, r1, 0x34 -/* 8030DBE4 0030AB44 38 80 00 07 */ li r4, 7 -/* 8030DBE8 0030AB48 4B FF B5 45 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc -/* 8030DBEC 0030AB4C 80 E1 00 34 */ lwz r7, 0x34(r1) -/* 8030DBF0 0030AB50 38 61 00 38 */ addi r3, r1, 0x38 -/* 8030DBF4 0030AB54 80 C1 00 30 */ lwz r6, 0x30(r1) -/* 8030DBF8 0030AB58 38 80 00 0F */ li r4, 0xf -/* 8030DBFC 0030AB5C 80 A1 00 2C */ lwz r5, 0x2c(r1) -/* 8030DC00 0030AB60 80 01 00 28 */ lwz r0, 0x28(r1) -/* 8030DC04 0030AB64 90 E1 01 68 */ stw r7, 0x168(r1) -/* 8030DC08 0030AB68 90 C1 01 6C */ stw r6, 0x16c(r1) -/* 8030DC0C 0030AB6C 90 A1 01 70 */ stw r5, 0x170(r1) -/* 8030DC10 0030AB70 90 01 01 74 */ stw r0, 0x174(r1) -/* 8030DC14 0030AB74 4B FF B5 11 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc -/* 8030DC18 0030AB78 38 61 00 3C */ addi r3, r1, 0x3c -/* 8030DC1C 0030AB7C 38 80 00 0A */ li r4, 0xa -/* 8030DC20 0030AB80 4B FF B5 05 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc -/* 8030DC24 0030AB84 38 61 00 40 */ addi r3, r1, 0x40 -/* 8030DC28 0030AB88 38 80 00 08 */ li r4, 8 -/* 8030DC2C 0030AB8C 4B FF B4 F9 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc -/* 8030DC30 0030AB90 38 61 00 44 */ addi r3, r1, 0x44 -/* 8030DC34 0030AB94 38 80 00 0F */ li r4, 0xf -/* 8030DC38 0030AB98 4B FF B4 ED */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc -/* 8030DC3C 0030AB9C 80 A1 00 44 */ lwz r5, 0x44(r1) -/* 8030DC40 0030ABA0 3C 60 80 5A */ lis r3, lbl_805A6038@ha -/* 8030DC44 0030ABA4 81 21 00 40 */ lwz r9, 0x40(r1) -/* 8030DC48 0030ABA8 38 63 60 38 */ addi r3, r3, lbl_805A6038@l -/* 8030DC4C 0030ABAC 81 01 00 3C */ lwz r8, 0x3c(r1) -/* 8030DC50 0030ABB0 38 81 01 78 */ addi r4, r1, 0x178 -/* 8030DC54 0030ABB4 80 01 00 38 */ lwz r0, 0x38(r1) -/* 8030DC58 0030ABB8 38 C1 02 C4 */ addi r6, r1, 0x2c4 -/* 8030DC5C 0030ABBC 90 A1 01 78 */ stw r5, 0x178(r1) -/* 8030DC60 0030ABC0 38 A1 01 68 */ addi r5, r1, 0x168 -/* 8030DC64 0030ABC4 38 E1 02 B0 */ addi r7, r1, 0x2b0 -/* 8030DC68 0030ABC8 91 21 01 7C */ stw r9, 0x17c(r1) -/* 8030DC6C 0030ABCC 91 01 01 80 */ stw r8, 0x180(r1) -/* 8030DC70 0030ABD0 90 01 01 84 */ stw r0, 0x184(r1) -/* 8030DC74 0030ABD4 4B FF B5 E1 */ bl sub_80309254 -/* 8030DC78 0030ABD8 38 00 00 00 */ li r0, 0 -/* 8030DC7C 0030ABDC 38 A0 00 01 */ li r5, 1 -/* 8030DC80 0030ABE0 98 A1 02 88 */ stb r5, 0x288(r1) -/* 8030DC84 0030ABE4 38 61 00 08 */ addi r3, r1, 8 -/* 8030DC88 0030ABE8 38 80 00 00 */ li r4, 0 -/* 8030DC8C 0030ABEC 90 01 02 8C */ stw r0, 0x28c(r1) -/* 8030DC90 0030ABF0 90 01 02 90 */ stw r0, 0x290(r1) -/* 8030DC94 0030ABF4 90 01 02 94 */ stw r0, 0x294(r1) -/* 8030DC98 0030ABF8 90 01 02 98 */ stw r0, 0x298(r1) -/* 8030DC9C 0030ABFC 98 A1 02 9C */ stb r5, 0x29c(r1) -/* 8030DCA0 0030AC00 90 01 02 A0 */ stw r0, 0x2a0(r1) -/* 8030DCA4 0030AC04 90 01 02 A4 */ stw r0, 0x2a4(r1) -/* 8030DCA8 0030AC08 90 01 02 A8 */ stw r0, 0x2a8(r1) -/* 8030DCAC 0030AC0C 90 01 02 AC */ stw r0, 0x2ac(r1) -/* 8030DCB0 0030AC10 4B FF B4 7D */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc -/* 8030DCB4 0030AC14 38 61 00 0C */ addi r3, r1, 0xc -/* 8030DCB8 0030AC18 38 80 00 07 */ li r4, 7 -/* 8030DCBC 0030AC1C 4B FF B4 71 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc -/* 8030DCC0 0030AC20 38 61 00 10 */ addi r3, r1, 0x10 -/* 8030DCC4 0030AC24 38 80 00 07 */ li r4, 7 -/* 8030DCC8 0030AC28 4B FF B4 65 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc -/* 8030DCCC 0030AC2C 38 61 00 14 */ addi r3, r1, 0x14 -/* 8030DCD0 0030AC30 38 80 00 07 */ li r4, 7 -/* 8030DCD4 0030AC34 4B FF B4 59 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc -/* 8030DCD8 0030AC38 80 E1 00 14 */ lwz r7, 0x14(r1) -/* 8030DCDC 0030AC3C 38 61 00 18 */ addi r3, r1, 0x18 -/* 8030DCE0 0030AC40 80 C1 00 10 */ lwz r6, 0x10(r1) -/* 8030DCE4 0030AC44 38 80 00 0F */ li r4, 0xf -/* 8030DCE8 0030AC48 80 A1 00 0C */ lwz r5, 0xc(r1) -/* 8030DCEC 0030AC4C 80 01 00 08 */ lwz r0, 8(r1) -/* 8030DCF0 0030AC50 90 E1 01 48 */ stw r7, 0x148(r1) -/* 8030DCF4 0030AC54 90 C1 01 4C */ stw r6, 0x14c(r1) -/* 8030DCF8 0030AC58 90 A1 01 50 */ stw r5, 0x150(r1) -/* 8030DCFC 0030AC5C 90 01 01 54 */ stw r0, 0x154(r1) -/* 8030DD00 0030AC60 4B FF B4 25 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc -/* 8030DD04 0030AC64 38 61 00 1C */ addi r3, r1, 0x1c -/* 8030DD08 0030AC68 38 80 00 01 */ li r4, 1 -/* 8030DD0C 0030AC6C 4B FF B4 19 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc -/* 8030DD10 0030AC70 38 61 00 20 */ addi r3, r1, 0x20 -/* 8030DD14 0030AC74 38 80 00 00 */ li r4, 0 -/* 8030DD18 0030AC78 4B FF B4 0D */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc -/* 8030DD1C 0030AC7C 38 61 00 24 */ addi r3, r1, 0x24 -/* 8030DD20 0030AC80 38 80 00 0F */ li r4, 0xf -/* 8030DD24 0030AC84 4B FF B4 01 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc -/* 8030DD28 0030AC88 80 A1 00 24 */ lwz r5, 0x24(r1) -/* 8030DD2C 0030AC8C 3C 60 80 5A */ lis r3, lbl_805A6084@ha -/* 8030DD30 0030AC90 81 21 00 20 */ lwz r9, 0x20(r1) -/* 8030DD34 0030AC94 38 63 60 84 */ addi r3, r3, lbl_805A6084@l -/* 8030DD38 0030AC98 81 01 00 1C */ lwz r8, 0x1c(r1) -/* 8030DD3C 0030AC9C 38 81 01 58 */ addi r4, r1, 0x158 -/* 8030DD40 0030ACA0 80 01 00 18 */ lwz r0, 0x18(r1) -/* 8030DD44 0030ACA4 38 C1 02 9C */ addi r6, r1, 0x29c -/* 8030DD48 0030ACA8 90 A1 01 58 */ stw r5, 0x158(r1) -/* 8030DD4C 0030ACAC 38 A1 01 48 */ addi r5, r1, 0x148 -/* 8030DD50 0030ACB0 38 E1 02 88 */ addi r7, r1, 0x288 -/* 8030DD54 0030ACB4 91 21 01 5C */ stw r9, 0x15c(r1) -/* 8030DD58 0030ACB8 91 01 01 60 */ stw r8, 0x160(r1) -/* 8030DD5C 0030ACBC 90 01 01 64 */ stw r0, 0x164(r1) -/* 8030DD60 0030ACC0 4B FF B4 F5 */ bl sub_80309254 -/* 8030DD64 0030ACC4 38 6D A7 B8 */ addi r3, r13, lbl_805A9378@sda21 -/* 8030DD68 0030ACC8 4B FF B6 81 */ bl __ct__Q29CGraphics12CRenderStateFv -/* 8030DD6C 0030ACCC 3C 60 80 5A */ lis r3, lbl_805A60D0@ha -/* 8030DD70 0030ACD0 3C 80 80 31 */ lis r4, __ct__14CGXLightParamsFv@ha -/* 8030DD74 0030ACD4 38 63 60 D0 */ addi r3, r3, lbl_805A60D0@l -/* 8030DD78 0030ACD8 38 A0 00 00 */ li r5, 0 -/* 8030DD7C 0030ACDC 38 84 DE 38 */ addi r4, r4, __ct__14CGXLightParamsFv@l -/* 8030DD80 0030ACE0 38 C0 00 14 */ li r6, 0x14 -/* 8030DD84 0030ACE4 38 E0 00 08 */ li r7, 8 -/* 8030DD88 0030ACE8 48 07 B9 C5 */ bl __construct_array -/* 8030DD8C 0030ACEC C0 62 C7 F0 */ lfs f3, lbl_805AE510@sda21(r2) -/* 8030DD90 0030ACF0 3C E0 80 5A */ lis r7, lbl_805A61A0@ha -/* 8030DD94 0030ACF4 38 00 00 01 */ li r0, 1 -/* 8030DD98 0030ACF8 3C C0 80 5A */ lis r6, lbl_805A61AC@ha -/* 8030DD9C 0030ACFC D4 67 61 A0 */ stfsu f3, lbl_805A61A0@l(r7) -/* 8030DDA0 0030AD00 3C A0 80 5A */ lis r5, lbl_805A61B8@ha -/* 8030DDA4 0030AD04 C0 42 C8 10 */ lfs f2, lbl_805AE530@sda21(r2) -/* 8030DDA8 0030AD08 3C 60 80 5A */ lis r3, lbl_805A61D4@ha -/* 8030DDAC 0030AD0C 9C 05 61 B8 */ stbu r0, lbl_805A61B8@l(r5) -/* 8030DDB0 0030AD10 3C 80 80 5A */ lis r4, skIdentity4f@ha -/* 8030DDB4 0030AD14 C0 22 C8 14 */ lfs f1, lbl_805AE534@sda21(r2) -/* 8030DDB8 0030AD18 38 63 61 D4 */ addi r3, r3, lbl_805A61D4@l -/* 8030DDBC 0030AD1C D4 66 61 AC */ stfsu f3, lbl_805A61AC@l(r6) -/* 8030DDC0 0030AD20 38 84 66 70 */ addi r4, r4, skIdentity4f@l -/* 8030DDC4 0030AD24 C0 02 C8 34 */ lfs f0, lbl_805AE554@sda21(r2) -/* 8030DDC8 0030AD28 D0 67 00 04 */ stfs f3, 4(r7) -/* 8030DDCC 0030AD2C D0 67 00 08 */ stfs f3, 8(r7) -/* 8030DDD0 0030AD30 D0 46 00 04 */ stfs f2, 4(r6) -/* 8030DDD4 0030AD34 D0 66 00 08 */ stfs f3, 8(r6) -/* 8030DDD8 0030AD38 D0 25 00 04 */ stfs f1, 4(r5) -/* 8030DDDC 0030AD3C D0 45 00 08 */ stfs f2, 8(r5) -/* 8030DDE0 0030AD40 D0 45 00 0C */ stfs f2, 0xc(r5) -/* 8030DDE4 0030AD44 D0 25 00 10 */ stfs f1, 0x10(r5) -/* 8030DDE8 0030AD48 D0 45 00 14 */ stfs f2, 0x14(r5) -/* 8030DDEC 0030AD4C D0 05 00 18 */ stfs f0, 0x18(r5) -/* 8030DDF0 0030AD50 48 00 4D 85 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8030DDF4 0030AD54 3C 60 80 5A */ lis r3, lbl_805A6204@ha -/* 8030DDF8 0030AD58 3C 80 80 5A */ lis r4, skIdentity4f@ha -/* 8030DDFC 0030AD5C 38 63 62 04 */ addi r3, r3, lbl_805A6204@l -/* 8030DE00 0030AD60 38 84 66 70 */ addi r4, r4, skIdentity4f@l -/* 8030DE04 0030AD64 48 00 4D 71 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8030DE08 0030AD68 48 03 C1 AD */ bl Black__6CColorFv -/* 8030DE0C 0030AD6C 80 03 00 00 */ lwz r0, 0(r3) -/* 8030DE10 0030AD70 3C 60 80 5A */ lis r3, lbl_805A6234@ha -/* 8030DE14 0030AD74 C0 02 C7 F0 */ lfs f0, lbl_805AE510@sda21(r2) -/* 8030DE18 0030AD78 90 0D A7 F8 */ stw r0, lbl_805A93B8@sda21(r13) -/* 8030DE1C 0030AD7C D4 03 62 34 */ stfsu f0, lbl_805A6234@l(r3) -/* 8030DE20 0030AD80 D0 03 00 04 */ stfs f0, 4(r3) -/* 8030DE24 0030AD84 D0 03 00 08 */ stfs f0, 8(r3) -/* 8030DE28 0030AD88 80 01 04 24 */ lwz r0, 0x424(r1) -/* 8030DE2C 0030AD8C 7C 08 03 A6 */ mtlr r0 -/* 8030DE30 0030AD90 38 21 04 20 */ addi r1, r1, 0x420 -/* 8030DE34 0030AD94 4E 80 00 20 */ blr - -.global __ct__14CGXLightParamsFv -__ct__14CGXLightParamsFv: -/* 8030DE38 0030AD98 38 00 00 04 */ li r0, 4 -/* 8030DE3C 0030AD9C 38 80 00 00 */ li r4, 0 -/* 8030DE40 0030ADA0 90 03 00 00 */ stw r0, 0(r3) -/* 8030DE44 0030ADA4 38 00 00 02 */ li r0, 2 -/* 8030DE48 0030ADA8 90 83 00 04 */ stw r4, 4(r3) -/* 8030DE4C 0030ADAC 90 83 00 08 */ stw r4, 8(r3) -/* 8030DE50 0030ADB0 90 03 00 0C */ stw r0, 0xc(r3) -/* 8030DE54 0030ADB4 90 03 00 10 */ stw r0, 0x10(r3) -/* 8030DE58 0030ADB8 4E 80 00 20 */ blr - -.global UnLock__16CGraphicsPaletteFv -UnLock__16CGraphicsPaletteFv: -/* 8030DE5C 0030ADBC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8030DE60 0030ADC0 7C 08 02 A6 */ mflr r0 -/* 8030DE64 0030ADC4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8030DE68 0030ADC8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8030DE6C 0030ADCC 7C 7F 1B 78 */ mr r31, r3 -/* 8030DE70 0030ADD0 80 03 00 08 */ lwz r0, 8(r3) -/* 8030DE74 0030ADD4 80 63 00 0C */ lwz r3, 0xc(r3) -/* 8030DE78 0030ADD8 54 04 08 3C */ slwi r4, r0, 1 -/* 8030DE7C 0030ADDC 48 07 0C 65 */ bl DCStoreRange -/* 8030DE80 0030ADE0 80 1F 00 08 */ lwz r0, 8(r31) -/* 8030DE84 0030ADE4 38 7F 00 10 */ addi r3, r31, 0x10 -/* 8030DE88 0030ADE8 80 BF 00 00 */ lwz r5, 0(r31) -/* 8030DE8C 0030ADEC 80 9F 00 0C */ lwz r4, 0xc(r31) -/* 8030DE90 0030ADF0 54 06 04 3E */ clrlwi r6, r0, 0x10 -/* 8030DE94 0030ADF4 48 06 C6 55 */ bl GXInitTlutObj -/* 8030DE98 0030ADF8 80 1F 00 08 */ lwz r0, 8(r31) -/* 8030DE9C 0030ADFC 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 8030DEA0 0030AE00 54 04 08 3C */ slwi r4, r0, 1 -/* 8030DEA4 0030AE04 48 07 0C 0D */ bl DCFlushRange -/* 8030DEA8 0030AE08 38 00 00 00 */ li r0, 0 -/* 8030DEAC 0030AE0C 98 1F 00 1C */ stb r0, 0x1c(r31) -/* 8030DEB0 0030AE10 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8030DEB4 0030AE14 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8030DEB8 0030AE18 7C 08 03 A6 */ mtlr r0 -/* 8030DEBC 0030AE1C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8030DEC0 0030AE20 4E 80 00 20 */ blr - -.global Load__16CGraphicsPaletteCFv -Load__16CGraphicsPaletteCFv: -/* 8030DEC4 0030AE24 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8030DEC8 0030AE28 7C 08 02 A6 */ mflr r0 -/* 8030DECC 0030AE2C 38 80 00 00 */ li r4, 0 -/* 8030DED0 0030AE30 90 01 00 14 */ stw r0, 0x14(r1) -/* 8030DED4 0030AE34 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8030DED8 0030AE38 7C 7F 1B 78 */ mr r31, r3 -/* 8030DEDC 0030AE3C 38 7F 00 10 */ addi r3, r31, 0x10 -/* 8030DEE0 0030AE40 48 06 C6 51 */ bl GXLoadTlut -/* 8030DEE4 0030AE44 80 0D A8 68 */ lwz r0, lbl_805A9428@sda21(r13) -/* 8030DEE8 0030AE48 90 1F 00 04 */ stw r0, 4(r31) -/* 8030DEEC 0030AE4C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8030DEF0 0030AE50 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8030DEF4 0030AE54 7C 08 03 A6 */ mtlr r0 -/* 8030DEF8 0030AE58 38 21 00 10 */ addi r1, r1, 0x10 -/* 8030DEFC 0030AE5C 4E 80 00 20 */ blr - -.global __dt__16CGraphicsPaletteFv -__dt__16CGraphicsPaletteFv: -/* 8030DF00 0030AE60 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8030DF04 0030AE64 7C 08 02 A6 */ mflr r0 -/* 8030DF08 0030AE68 90 01 00 14 */ stw r0, 0x14(r1) -/* 8030DF0C 0030AE6C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8030DF10 0030AE70 7C 9F 23 78 */ mr r31, r4 -/* 8030DF14 0030AE74 93 C1 00 08 */ stw r30, 8(r1) -/* 8030DF18 0030AE78 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8030DF1C 0030AE7C 41 82 00 50 */ beq lbl_8030DF6C -/* 8030DF20 0030AE80 80 7E 00 04 */ lwz r3, 4(r30) -/* 8030DF24 0030AE84 80 0D A8 68 */ lwz r0, lbl_805A9428@sda21(r13) -/* 8030DF28 0030AE88 7C 03 00 50 */ subf r0, r3, r0 -/* 8030DF2C 0030AE8C 28 00 00 02 */ cmplwi r0, 2 -/* 8030DF30 0030AE90 40 80 00 1C */ bge lbl_8030DF4C -/* 8030DF34 0030AE94 80 9E 00 0C */ lwz r4, 0xc(r30) -/* 8030DF38 0030AE98 38 60 00 00 */ li r3, 0 -/* 8030DF3C 0030AE9C 7C 00 00 34 */ cntlzw r0, r0 -/* 8030DF40 0030AEA0 90 7E 00 0C */ stw r3, 0xc(r30) -/* 8030DF44 0030AEA4 54 03 D9 7E */ srwi r3, r0, 5 -/* 8030DF48 0030AEA8 48 05 EC D5 */ bl sub_8036cc1c -lbl_8030DF4C: -/* 8030DF4C 0030AEAC 34 1E 00 0C */ addic. r0, r30, 0xc -/* 8030DF50 0030AEB0 41 82 00 0C */ beq lbl_8030DF5C -/* 8030DF54 0030AEB4 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 8030DF58 0030AEB8 48 00 79 D9 */ bl Free__7CMemoryFPCv -lbl_8030DF5C: -/* 8030DF5C 0030AEBC 7F E0 07 35 */ extsh. r0, r31 -/* 8030DF60 0030AEC0 40 81 00 0C */ ble lbl_8030DF6C -/* 8030DF64 0030AEC4 7F C3 F3 78 */ mr r3, r30 -/* 8030DF68 0030AEC8 48 00 79 C9 */ bl Free__7CMemoryFPCv -lbl_8030DF6C: -/* 8030DF6C 0030AECC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8030DF70 0030AED0 7F C3 F3 78 */ mr r3, r30 -/* 8030DF74 0030AED4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8030DF78 0030AED8 83 C1 00 08 */ lwz r30, 8(r1) -/* 8030DF7C 0030AEDC 7C 08 03 A6 */ mtlr r0 -/* 8030DF80 0030AEE0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8030DF84 0030AEE4 4E 80 00 20 */ blr - -.global __ct__16CGraphicsPaletteFR12CInputStream -__ct__16CGraphicsPaletteFR12CInputStream: -/* 8030DF88 0030AEE8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8030DF8C 0030AEEC 7C 08 02 A6 */ mflr r0 -/* 8030DF90 0030AEF0 90 01 00 24 */ stw r0, 0x24(r1) -/* 8030DF94 0030AEF4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8030DF98 0030AEF8 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8030DF9C 0030AEFC 7C 9E 23 78 */ mr r30, r4 -/* 8030DFA0 0030AF00 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8030DFA4 0030AF04 7C 7D 1B 78 */ mr r29, r3 -/* 8030DFA8 0030AF08 7F C3 F3 78 */ mr r3, r30 -/* 8030DFAC 0030AF0C 48 03 0C D9 */ bl ReadLong__12CInputStreamFv -/* 8030DFB0 0030AF10 90 7D 00 00 */ stw r3, 0(r29) -/* 8030DFB4 0030AF14 7F C3 F3 78 */ mr r3, r30 -/* 8030DFB8 0030AF18 48 03 0C F9 */ bl ReadShort__12CInputStreamFv -/* 8030DFBC 0030AF1C 7C 7F 07 34 */ extsh r31, r3 -/* 8030DFC0 0030AF20 7F C3 F3 78 */ mr r3, r30 -/* 8030DFC4 0030AF24 48 03 0C ED */ bl ReadShort__12CInputStreamFv -/* 8030DFC8 0030AF28 7C 60 07 34 */ extsh r0, r3 -/* 8030DFCC 0030AF2C 3C 80 80 3D */ lis r4, lbl_803D73E8@ha -/* 8030DFD0 0030AF30 7C 00 F9 D6 */ mullw r0, r0, r31 -/* 8030DFD4 0030AF34 3C 60 80 3D */ lis r3, lbl_803D6AA8@ha -/* 8030DFD8 0030AF38 38 A4 73 E8 */ addi r5, r4, lbl_803D73E8@l -/* 8030DFDC 0030AF3C 38 C3 6A A8 */ addi r6, r3, lbl_803D6AA8@l -/* 8030DFE0 0030AF40 38 61 00 08 */ addi r3, r1, 8 -/* 8030DFE4 0030AF44 38 80 FF FF */ li r4, -1 -/* 8030DFE8 0030AF48 90 1D 00 08 */ stw r0, 8(r29) -/* 8030DFEC 0030AF4C 4B FC 83 E9 */ bl __ct__10CCallStackFUiPCcPCc -/* 8030DFF0 0030AF50 80 1D 00 08 */ lwz r0, 8(r29) -/* 8030DFF4 0030AF54 7C 67 1B 78 */ mr r7, r3 -/* 8030DFF8 0030AF58 38 80 00 02 */ li r4, 2 -/* 8030DFFC 0030AF5C 38 A0 00 01 */ li r5, 1 -/* 8030E000 0030AF60 54 03 08 3C */ slwi r3, r0, 1 -/* 8030E004 0030AF64 38 C0 00 00 */ li r6, 0 -/* 8030E008 0030AF68 48 00 79 8D */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack -/* 8030E00C 0030AF6C 90 7D 00 0C */ stw r3, 0xc(r29) -/* 8030E010 0030AF70 38 00 00 00 */ li r0, 0 -/* 8030E014 0030AF74 7F C3 F3 78 */ mr r3, r30 -/* 8030E018 0030AF78 98 1D 00 1C */ stb r0, 0x1c(r29) -/* 8030E01C 0030AF7C 80 1D 00 08 */ lwz r0, 8(r29) -/* 8030E020 0030AF80 80 9D 00 0C */ lwz r4, 0xc(r29) -/* 8030E024 0030AF84 54 05 08 3C */ slwi r5, r0, 1 -/* 8030E028 0030AF88 48 03 0F 2D */ bl Get__12CInputStreamFPvUl -/* 8030E02C 0030AF8C 80 1D 00 08 */ lwz r0, 8(r29) -/* 8030E030 0030AF90 38 7D 00 10 */ addi r3, r29, 0x10 -/* 8030E034 0030AF94 80 BD 00 00 */ lwz r5, 0(r29) -/* 8030E038 0030AF98 80 9D 00 0C */ lwz r4, 0xc(r29) -/* 8030E03C 0030AF9C 54 06 04 3E */ clrlwi r6, r0, 0x10 -/* 8030E040 0030AFA0 48 06 C4 A9 */ bl GXInitTlutObj -/* 8030E044 0030AFA4 80 1D 00 08 */ lwz r0, 8(r29) -/* 8030E048 0030AFA8 80 7D 00 0C */ lwz r3, 0xc(r29) -/* 8030E04C 0030AFAC 54 04 08 3C */ slwi r4, r0, 1 -/* 8030E050 0030AFB0 48 07 0A 61 */ bl DCFlushRange -/* 8030E054 0030AFB4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8030E058 0030AFB8 7F A3 EB 78 */ mr r3, r29 -/* 8030E05C 0030AFBC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8030E060 0030AFC0 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8030E064 0030AFC4 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8030E068 0030AFC8 7C 08 03 A6 */ mtlr r0 -/* 8030E06C 0030AFCC 38 21 00 20 */ addi r1, r1, 0x20 -/* 8030E070 0030AFD0 4E 80 00 20 */ blr - -.global __ct__16CGraphicsPaletteF14EPaletteFormati -__ct__16CGraphicsPaletteF14EPaletteFormati: -/* 8030E074 0030AFD4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8030E078 0030AFD8 7C 08 02 A6 */ mflr r0 -/* 8030E07C 0030AFDC 3C C0 80 3D */ lis r6, lbl_803D73E8@ha -/* 8030E080 0030AFE0 90 01 00 24 */ stw r0, 0x24(r1) -/* 8030E084 0030AFE4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8030E088 0030AFE8 7C BF 2B 78 */ mr r31, r5 -/* 8030E08C 0030AFEC 38 A6 73 E8 */ addi r5, r6, lbl_803D73E8@l -/* 8030E090 0030AFF0 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8030E094 0030AFF4 7C 7E 1B 78 */ mr r30, r3 -/* 8030E098 0030AFF8 90 83 00 00 */ stw r4, 0(r3) -/* 8030E09C 0030AFFC 3C 60 80 3D */ lis r3, lbl_803D6AA8@ha -/* 8030E0A0 0030B000 38 C3 6A A8 */ addi r6, r3, lbl_803D6AA8@l -/* 8030E0A4 0030B004 38 80 FF FF */ li r4, -1 -/* 8030E0A8 0030B008 93 FE 00 08 */ stw r31, 8(r30) -/* 8030E0AC 0030B00C 38 61 00 08 */ addi r3, r1, 8 -/* 8030E0B0 0030B010 4B FC 83 25 */ bl __ct__10CCallStackFUiPCcPCc -/* 8030E0B4 0030B014 7C 67 1B 78 */ mr r7, r3 -/* 8030E0B8 0030B018 57 E3 08 3C */ slwi r3, r31, 1 -/* 8030E0BC 0030B01C 38 80 00 02 */ li r4, 2 -/* 8030E0C0 0030B020 38 A0 00 01 */ li r5, 1 -/* 8030E0C4 0030B024 38 C0 00 00 */ li r6, 0 -/* 8030E0C8 0030B028 48 00 78 CD */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack -/* 8030E0CC 0030B02C 90 7E 00 0C */ stw r3, 0xc(r30) -/* 8030E0D0 0030B030 38 00 00 00 */ li r0, 0 -/* 8030E0D4 0030B034 38 7E 00 10 */ addi r3, r30, 0x10 -/* 8030E0D8 0030B038 98 1E 00 1C */ stb r0, 0x1c(r30) -/* 8030E0DC 0030B03C 80 1E 00 08 */ lwz r0, 8(r30) -/* 8030E0E0 0030B040 80 BE 00 00 */ lwz r5, 0(r30) -/* 8030E0E4 0030B044 80 9E 00 0C */ lwz r4, 0xc(r30) -/* 8030E0E8 0030B048 54 06 04 3E */ clrlwi r6, r0, 0x10 -/* 8030E0EC 0030B04C 48 06 C3 FD */ bl GXInitTlutObj -/* 8030E0F0 0030B050 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8030E0F4 0030B054 7F C3 F3 78 */ mr r3, r30 -/* 8030E0F8 0030B058 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8030E0FC 0030B05C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8030E100 0030B060 7C 08 03 A6 */ mtlr r0 -/* 8030E104 0030B064 38 21 00 20 */ addi r1, r1, 0x20 -/* 8030E108 0030B068 4E 80 00 20 */ blr - -.global sub_8030e10c -sub_8030e10c: -/* 8030E10C 0030B06C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8030E110 0030B070 7C 08 02 A6 */ mflr r0 -/* 8030E114 0030B074 90 01 00 14 */ stw r0, 0x14(r1) -/* 8030E118 0030B078 80 03 00 44 */ lwz r0, 0x44(r3) -/* 8030E11C 0030B07C 2C 00 00 06 */ cmpwi r0, 6 -/* 8030E120 0030B080 41 82 00 18 */ beq lbl_8030E138 -/* 8030E124 0030B084 38 63 00 44 */ addi r3, r3, 0x44 -/* 8030E128 0030B088 48 04 A2 AD */ bl sub_803583d4 -/* 8030E12C 0030B08C 7C 64 1B 78 */ mr r4, r3 -/* 8030E130 0030B090 38 60 00 01 */ li r3, 1 -/* 8030E134 0030B094 48 05 EA E9 */ bl sub_8036cc1c -lbl_8030E138: -/* 8030E138 0030B098 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8030E13C 0030B09C 7C 08 03 A6 */ mtlr r0 -/* 8030E140 0030B0A0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8030E144 0030B0A4 4E 80 00 20 */ blr - -.global InvalidateTexmap__8CTextureF11_GXTexMapID -InvalidateTexmap__8CTextureF11_GXTexMapID: -/* 8030E148 0030B0A8 3C 80 80 4C */ lis r4, lbl_804BFD10@ha -/* 8030E14C 0030B0AC 54 60 10 3A */ slwi r0, r3, 2 -/* 8030E150 0030B0B0 38 64 FD 10 */ addi r3, r4, lbl_804BFD10@l -/* 8030E154 0030B0B4 38 80 00 00 */ li r4, 0 -/* 8030E158 0030B0B8 7C 83 01 2E */ stwx r4, r3, r0 -/* 8030E15C 0030B0BC 4E 80 00 20 */ blr - -.global UncountMemory__8CTextureCFv -UncountMemory__8CTextureCFv: -/* 8030E160 0030B0C0 88 83 00 0A */ lbz r4, 0xa(r3) -/* 8030E164 0030B0C4 54 80 EF FF */ rlwinm. r0, r4, 0x1d, 0x1f, 0x1f -/* 8030E168 0030B0C8 4D 82 00 20 */ beqlr -/* 8030E16C 0030B0CC 38 00 00 00 */ li r0, 0 -/* 8030E170 0030B0D0 50 04 1F 38 */ rlwimi r4, r0, 3, 0x1c, 0x1c -/* 8030E174 0030B0D4 80 0D A8 74 */ lwz r0, lbl_805A9434@sda21(r13) -/* 8030E178 0030B0D8 98 83 00 0A */ stb r4, 0xa(r3) -/* 8030E17C 0030B0DC 80 63 00 0C */ lwz r3, 0xc(r3) -/* 8030E180 0030B0E0 7C 03 00 50 */ subf r0, r3, r0 -/* 8030E184 0030B0E4 90 0D A8 74 */ stw r0, lbl_805A9434@sda21(r13) -/* 8030E188 0030B0E8 4E 80 00 20 */ blr - -.global CountMemory__8CTextureCFv -CountMemory__8CTextureCFv: -/* 8030E18C 0030B0EC 88 A3 00 0A */ lbz r5, 0xa(r3) -/* 8030E190 0030B0F0 54 A0 EF FF */ rlwinm. r0, r5, 0x1d, 0x1f, 0x1f -/* 8030E194 0030B0F4 4C 82 00 20 */ bnelr -/* 8030E198 0030B0F8 38 00 00 01 */ li r0, 1 -/* 8030E19C 0030B0FC 80 8D A8 74 */ lwz r4, lbl_805A9434@sda21(r13) -/* 8030E1A0 0030B100 50 05 1F 38 */ rlwimi r5, r0, 3, 0x1c, 0x1c -/* 8030E1A4 0030B104 98 A3 00 0A */ stb r5, 0xa(r3) -/* 8030E1A8 0030B108 80 03 00 0C */ lwz r0, 0xc(r3) -/* 8030E1AC 0030B10C 7C 04 02 14 */ add r0, r4, r0 -/* 8030E1B0 0030B110 90 0D A8 74 */ stw r0, lbl_805A9434@sda21(r13) -/* 8030E1B4 0030B114 4E 80 00 20 */ blr - -.global MakeSwappable__8CTextureCFv -MakeSwappable__8CTextureCFv: -/* 8030E1B8 0030B118 88 83 00 0A */ lbz r4, 0xa(r3) -/* 8030E1BC 0030B11C 54 80 E7 FF */ rlwinm. r0, r4, 0x1c, 0x1f, 0x1f -/* 8030E1C0 0030B120 4D 82 00 20 */ beqlr -/* 8030E1C4 0030B124 38 00 00 00 */ li r0, 0 -/* 8030E1C8 0030B128 50 04 26 F6 */ rlwimi r4, r0, 4, 0x1b, 0x1b -/* 8030E1CC 0030B12C 98 83 00 0A */ stb r4, 0xa(r3) -/* 8030E1D0 0030B130 4E 80 00 20 */ blr - -.global MangleMipmap__8CTextureFi -MangleMipmap__8CTextureFi: -/* 8030E1D4 0030B134 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 8030E1D8 0030B138 7C 08 02 A6 */ mflr r0 -/* 8030E1DC 0030B13C 90 01 00 54 */ stw r0, 0x54(r1) -/* 8030E1E0 0030B140 BE 81 00 20 */ stmw r20, 0x20(r1) -/* 8030E1E4 0030B144 88 03 00 08 */ lbz r0, 8(r3) -/* 8030E1E8 0030B148 7C 00 07 74 */ extsb r0, r0 -/* 8030E1EC 0030B14C 7C 04 00 00 */ cmpw r4, r0 -/* 8030E1F0 0030B150 40 80 03 D0 */ bge lbl_8030E5C0 -/* 8030E1F4 0030B154 3C A0 80 3D */ lis r5, lbl_803D73F0@ha -/* 8030E1F8 0030B158 38 04 FF FF */ addi r0, r4, -1 -/* 8030E1FC 0030B15C 38 C5 73 F0 */ addi r6, r5, lbl_803D73F0@l -/* 8030E200 0030B160 2C 04 00 00 */ cmpwi r4, 0 -/* 8030E204 0030B164 81 26 00 00 */ lwz r9, 0(r6) -/* 8030E208 0030B168 38 A1 00 08 */ addi r5, r1, 8 -/* 8030E20C 0030B16C 81 06 00 04 */ lwz r8, 4(r6) -/* 8030E210 0030B170 54 00 17 3A */ rlwinm r0, r0, 2, 0x1c, 0x1d -/* 8030E214 0030B174 80 E6 00 08 */ lwz r7, 8(r6) -/* 8030E218 0030B178 3B A0 00 00 */ li r29, 0 -/* 8030E21C 0030B17C 80 C6 00 0C */ lwz r6, 0xc(r6) -/* 8030E220 0030B180 3B 00 00 00 */ li r24, 0 -/* 8030E224 0030B184 91 21 00 08 */ stw r9, 8(r1) -/* 8030E228 0030B188 AB E3 00 04 */ lha r31, 4(r3) -/* 8030E22C 0030B18C 91 01 00 0C */ stw r8, 0xc(r1) -/* 8030E230 0030B190 AB C3 00 06 */ lha r30, 6(r3) -/* 8030E234 0030B194 90 E1 00 10 */ stw r7, 0x10(r1) -/* 8030E238 0030B198 90 C1 00 14 */ stw r6, 0x14(r1) -/* 8030E23C 0030B19C 7C E5 00 2E */ lwzx r7, r5, r0 -/* 8030E240 0030B1A0 54 E6 EE FE */ rlwinm r6, r7, 0x1d, 0x1b, 0x1f -/* 8030E244 0030B1A4 54 E5 DD 74 */ rlwinm r5, r7, 0x1b, 0x15, 0x1a -/* 8030E248 0030B1A8 54 E0 C6 36 */ rlwinm r0, r7, 0x18, 0x18, 0x1b -/* 8030E24C 0030B1AC 50 E5 EE FE */ rlwimi r5, r7, 0x1d, 0x1b, 0x1f -/* 8030E250 0030B1B0 50 E6 D5 B4 */ rlwimi r6, r7, 0x1a, 0x16, 0x1a -/* 8030E254 0030B1B4 50 E0 E7 3E */ rlwimi r0, r7, 0x1c, 0x1c, 0x1f -/* 8030E258 0030B1B8 50 E5 C4 28 */ rlwimi r5, r7, 0x18, 0x10, 0x14 -/* 8030E25C 0030B1BC 50 E6 BC 6A */ rlwimi r6, r7, 0x17, 0x11, 0x15 -/* 8030E260 0030B1C0 50 E0 A5 2E */ rlwimi r0, r7, 0x14, 0x14, 0x17 -/* 8030E264 0030B1C4 54 BB 04 3E */ clrlwi r27, r5, 0x10 -/* 8030E268 0030B1C8 54 DA 04 3E */ clrlwi r26, r6, 0x10 -/* 8030E26C 0030B1CC 54 19 04 3E */ clrlwi r25, r0, 0x10 -/* 8030E270 0030B1D0 40 81 01 28 */ ble lbl_8030E398 -/* 8030E274 0030B1D4 2C 04 00 08 */ cmpwi r4, 8 -/* 8030E278 0030B1D8 38 A4 FF F8 */ addi r5, r4, -8 -/* 8030E27C 0030B1DC 40 81 00 E8 */ ble lbl_8030E364 -/* 8030E280 0030B1E0 38 05 00 07 */ addi r0, r5, 7 -/* 8030E284 0030B1E4 54 00 E8 FE */ srwi r0, r0, 3 -/* 8030E288 0030B1E8 7C 09 03 A6 */ mtctr r0 -/* 8030E28C 0030B1EC 2C 05 00 00 */ cmpwi r5, 0 -/* 8030E290 0030B1F0 40 81 00 D4 */ ble lbl_8030E364 -lbl_8030E294: -/* 8030E294 0030B1F4 57 E5 0F FE */ srwi r5, r31, 0x1f -/* 8030E298 0030B1F8 57 C0 0F FE */ srwi r0, r30, 0x1f -/* 8030E29C 0030B1FC 7C A5 FA 14 */ add r5, r5, r31 -/* 8030E2A0 0030B200 3B 18 00 08 */ addi r24, r24, 8 -/* 8030E2A4 0030B204 7C BC 0E 70 */ srawi r28, r5, 1 -/* 8030E2A8 0030B208 7C 00 F2 14 */ add r0, r0, r30 -/* 8030E2AC 0030B20C 7C 0C 0E 70 */ srawi r12, r0, 1 -/* 8030E2B0 0030B210 7F E0 16 70 */ srawi r0, r31, 2 -/* 8030E2B4 0030B214 7D 60 01 94 */ addze r11, r0 -/* 8030E2B8 0030B218 7F C0 16 70 */ srawi r0, r30, 2 -/* 8030E2BC 0030B21C 7D 40 01 94 */ addze r10, r0 -/* 8030E2C0 0030B220 7F E0 1E 70 */ srawi r0, r31, 3 -/* 8030E2C4 0030B224 7D 20 01 94 */ addze r9, r0 -/* 8030E2C8 0030B228 7F C0 1E 70 */ srawi r0, r30, 3 -/* 8030E2CC 0030B22C 7D 00 01 94 */ addze r8, r0 -/* 8030E2D0 0030B230 7F E0 26 70 */ srawi r0, r31, 4 -/* 8030E2D4 0030B234 7C E0 01 94 */ addze r7, r0 -/* 8030E2D8 0030B238 7F C0 26 70 */ srawi r0, r30, 4 -/* 8030E2DC 0030B23C 7C C0 01 94 */ addze r6, r0 -/* 8030E2E0 0030B240 7E 9F F1 D6 */ mullw r20, r31, r30 -/* 8030E2E4 0030B244 7F E0 2E 70 */ srawi r0, r31, 5 -/* 8030E2E8 0030B248 7C A0 01 94 */ addze r5, r0 -/* 8030E2EC 0030B24C 7F C0 2E 70 */ srawi r0, r30, 5 -/* 8030E2F0 0030B250 7C 00 01 94 */ addze r0, r0 -/* 8030E2F4 0030B254 7F BD A2 14 */ add r29, r29, r20 -/* 8030E2F8 0030B258 7F F5 36 70 */ srawi r21, r31, 6 -/* 8030E2FC 0030B25C 7E 9C 61 D6 */ mullw r20, r28, r12 -/* 8030E300 0030B260 7E B5 01 94 */ addze r21, r21 -/* 8030E304 0030B264 7F D6 36 70 */ srawi r22, r30, 6 -/* 8030E308 0030B268 7E D6 01 94 */ addze r22, r22 -/* 8030E30C 0030B26C 7C 05 01 D6 */ mullw r0, r5, r0 -/* 8030E310 0030B270 7F F7 3E 70 */ srawi r23, r31, 7 -/* 8030E314 0030B274 7F BD A2 14 */ add r29, r29, r20 -/* 8030E318 0030B278 7E F7 01 94 */ addze r23, r23 -/* 8030E31C 0030B27C 7F CC 3E 70 */ srawi r12, r30, 7 -/* 8030E320 0030B280 7D 4B 51 D6 */ mullw r10, r11, r10 -/* 8030E324 0030B284 7F 8C 01 94 */ addze r28, r12 -/* 8030E328 0030B288 7F EC 46 70 */ srawi r12, r31, 8 -/* 8030E32C 0030B28C 7F EC 01 94 */ addze r31, r12 -/* 8030E330 0030B290 7F CC 46 70 */ srawi r12, r30, 8 -/* 8030E334 0030B294 7D 09 41 D6 */ mullw r8, r9, r8 -/* 8030E338 0030B298 7F BD 52 14 */ add r29, r29, r10 -/* 8030E33C 0030B29C 7F CC 01 94 */ addze r30, r12 -/* 8030E340 0030B2A0 7C C7 31 D6 */ mullw r6, r7, r6 -/* 8030E344 0030B2A4 7F BD 42 14 */ add r29, r29, r8 -/* 8030E348 0030B2A8 7F BD 32 14 */ add r29, r29, r6 -/* 8030E34C 0030B2AC 7F BD 02 14 */ add r29, r29, r0 -/* 8030E350 0030B2B0 7C B5 B1 D6 */ mullw r5, r21, r22 -/* 8030E354 0030B2B4 7C 17 E1 D6 */ mullw r0, r23, r28 -/* 8030E358 0030B2B8 7F BD 2A 14 */ add r29, r29, r5 -/* 8030E35C 0030B2BC 7F BD 02 14 */ add r29, r29, r0 -/* 8030E360 0030B2C0 42 00 FF 34 */ bdnz lbl_8030E294 -lbl_8030E364: -/* 8030E364 0030B2C4 7C 18 20 50 */ subf r0, r24, r4 -/* 8030E368 0030B2C8 7C 09 03 A6 */ mtctr r0 -/* 8030E36C 0030B2CC 7C 18 20 00 */ cmpw r24, r4 -/* 8030E370 0030B2D0 40 80 00 28 */ bge lbl_8030E398 -lbl_8030E374: -/* 8030E374 0030B2D4 7C BF F1 D6 */ mullw r5, r31, r30 -/* 8030E378 0030B2D8 57 E4 0F FE */ srwi r4, r31, 0x1f -/* 8030E37C 0030B2DC 57 C0 0F FE */ srwi r0, r30, 0x1f -/* 8030E380 0030B2E0 7C 84 FA 14 */ add r4, r4, r31 -/* 8030E384 0030B2E4 7C 00 F2 14 */ add r0, r0, r30 -/* 8030E388 0030B2E8 7C 9F 0E 70 */ srawi r31, r4, 1 -/* 8030E38C 0030B2EC 7F BD 2A 14 */ add r29, r29, r5 -/* 8030E390 0030B2F0 7C 1E 0E 70 */ srawi r30, r0, 1 -/* 8030E394 0030B2F4 42 00 FF E0 */ bdnz lbl_8030E374 -lbl_8030E398: -/* 8030E398 0030B2F8 80 03 00 00 */ lwz r0, 0(r3) -/* 8030E39C 0030B2FC 2C 00 00 09 */ cmpwi r0, 9 -/* 8030E3A0 0030B300 41 82 02 20 */ beq lbl_8030E5C0 -/* 8030E3A4 0030B304 40 80 00 14 */ bge lbl_8030E3B8 -/* 8030E3A8 0030B308 2C 00 00 07 */ cmpwi r0, 7 -/* 8030E3AC 0030B30C 41 82 00 18 */ beq lbl_8030E3C4 -/* 8030E3B0 0030B310 40 80 01 C4 */ bge lbl_8030E574 -/* 8030E3B4 0030B314 48 00 02 0C */ b lbl_8030E5C0 -lbl_8030E3B8: -/* 8030E3B8 0030B318 2C 00 00 0B */ cmpwi r0, 0xb -/* 8030E3BC 0030B31C 40 80 02 04 */ bge lbl_8030E5C0 -/* 8030E3C0 0030B320 48 00 00 C8 */ b lbl_8030E488 -lbl_8030E3C4: -/* 8030E3C4 0030B324 38 63 00 44 */ addi r3, r3, 0x44 -/* 8030E3C8 0030B328 48 04 9F 6D */ bl GetMRAMSafe__10CARAMTokenFv -/* 8030E3CC 0030B32C 7D 1F F1 D7 */ mullw. r8, r31, r30 -/* 8030E3D0 0030B330 39 20 00 00 */ li r9, 0 -/* 8030E3D4 0030B334 40 81 01 EC */ ble lbl_8030E5C0 -/* 8030E3D8 0030B338 2C 08 00 08 */ cmpwi r8, 8 -/* 8030E3DC 0030B33C 38 88 FF F8 */ addi r4, r8, -8 -/* 8030E3E0 0030B340 40 81 00 80 */ ble lbl_8030E460 -/* 8030E3E4 0030B344 38 04 00 07 */ addi r0, r4, 7 -/* 8030E3E8 0030B348 54 00 E8 FE */ srwi r0, r0, 3 -/* 8030E3EC 0030B34C 7C 09 03 A6 */ mtctr r0 -/* 8030E3F0 0030B350 2C 04 00 00 */ cmpwi r4, 0 -/* 8030E3F4 0030B354 40 81 00 6C */ ble lbl_8030E460 -lbl_8030E3F8: -/* 8030E3F8 0030B358 7C E9 EA 14 */ add r7, r9, r29 -/* 8030E3FC 0030B35C 39 29 00 08 */ addi r9, r9, 8 -/* 8030E400 0030B360 54 E4 08 3C */ slwi r4, r7, 1 -/* 8030E404 0030B364 38 07 00 01 */ addi r0, r7, 1 -/* 8030E408 0030B368 7F 63 23 2E */ sthx r27, r3, r4 -/* 8030E40C 0030B36C 54 04 08 3C */ slwi r4, r0, 1 -/* 8030E410 0030B370 38 07 00 02 */ addi r0, r7, 2 -/* 8030E414 0030B374 7F 63 23 2E */ sthx r27, r3, r4 -/* 8030E418 0030B378 54 05 08 3C */ slwi r5, r0, 1 -/* 8030E41C 0030B37C 38 87 00 03 */ addi r4, r7, 3 -/* 8030E420 0030B380 7F 63 2B 2E */ sthx r27, r3, r5 -/* 8030E424 0030B384 54 86 08 3C */ slwi r6, r4, 1 -/* 8030E428 0030B388 38 A7 00 05 */ addi r5, r7, 5 -/* 8030E42C 0030B38C 38 87 00 06 */ addi r4, r7, 6 -/* 8030E430 0030B390 38 07 00 04 */ addi r0, r7, 4 -/* 8030E434 0030B394 7F 63 33 2E */ sthx r27, r3, r6 -/* 8030E438 0030B398 54 06 08 3C */ slwi r6, r0, 1 -/* 8030E43C 0030B39C 54 A5 08 3C */ slwi r5, r5, 1 -/* 8030E440 0030B3A0 7F 63 33 2E */ sthx r27, r3, r6 -/* 8030E444 0030B3A4 38 07 00 07 */ addi r0, r7, 7 -/* 8030E448 0030B3A8 54 84 08 3C */ slwi r4, r4, 1 -/* 8030E44C 0030B3AC 7F 63 2B 2E */ sthx r27, r3, r5 -/* 8030E450 0030B3B0 54 00 08 3C */ slwi r0, r0, 1 -/* 8030E454 0030B3B4 7F 63 23 2E */ sthx r27, r3, r4 -/* 8030E458 0030B3B8 7F 63 03 2E */ sthx r27, r3, r0 -/* 8030E45C 0030B3BC 42 00 FF 9C */ bdnz lbl_8030E3F8 -lbl_8030E460: -/* 8030E460 0030B3C0 7C 09 40 50 */ subf r0, r9, r8 -/* 8030E464 0030B3C4 7C 09 03 A6 */ mtctr r0 -/* 8030E468 0030B3C8 7C 09 40 00 */ cmpw r9, r8 -/* 8030E46C 0030B3CC 40 80 01 54 */ bge lbl_8030E5C0 -lbl_8030E470: -/* 8030E470 0030B3D0 7C 09 EA 14 */ add r0, r9, r29 -/* 8030E474 0030B3D4 39 29 00 01 */ addi r9, r9, 1 -/* 8030E478 0030B3D8 54 00 08 3C */ slwi r0, r0, 1 -/* 8030E47C 0030B3DC 7F 63 03 2E */ sthx r27, r3, r0 -/* 8030E480 0030B3E0 42 00 FF F0 */ bdnz lbl_8030E470 -/* 8030E484 0030B3E4 48 00 01 3C */ b lbl_8030E5C0 -lbl_8030E488: -/* 8030E488 0030B3E8 38 63 00 44 */ addi r3, r3, 0x44 -/* 8030E48C 0030B3EC 48 04 9E A9 */ bl GetMRAMSafe__10CARAMTokenFv -/* 8030E490 0030B3F0 7C 1F F1 D6 */ mullw r0, r31, r30 -/* 8030E494 0030B3F4 7F A5 16 70 */ srawi r5, r29, 2 -/* 8030E498 0030B3F8 38 80 00 00 */ li r4, 0 -/* 8030E49C 0030B3FC 7C A5 01 94 */ addze r5, r5 -/* 8030E4A0 0030B400 54 A5 08 3C */ slwi r5, r5, 1 -/* 8030E4A4 0030B404 7C 00 26 70 */ srawi r0, r0, 4 -/* 8030E4A8 0030B408 7C 00 01 95 */ addze. r0, r0 -/* 8030E4AC 0030B40C 7C A3 2A 14 */ add r5, r3, r5 -/* 8030E4B0 0030B410 7C 03 03 78 */ mr r3, r0 -/* 8030E4B4 0030B414 40 81 01 0C */ ble lbl_8030E5C0 -/* 8030E4B8 0030B418 54 00 E8 FF */ rlwinm. r0, r0, 0x1d, 3, 0x1f -/* 8030E4BC 0030B41C 7C 09 03 A6 */ mtctr r0 -/* 8030E4C0 0030B420 41 82 00 94 */ beq lbl_8030E554 -lbl_8030E4C4: -/* 8030E4C4 0030B424 B3 65 00 00 */ sth r27, 0(r5) -/* 8030E4C8 0030B428 B3 65 00 02 */ sth r27, 2(r5) -/* 8030E4CC 0030B42C B0 85 00 04 */ sth r4, 4(r5) -/* 8030E4D0 0030B430 B0 85 00 06 */ sth r4, 6(r5) -/* 8030E4D4 0030B434 B3 65 00 08 */ sth r27, 8(r5) -/* 8030E4D8 0030B438 B3 65 00 0A */ sth r27, 0xa(r5) -/* 8030E4DC 0030B43C B0 85 00 0C */ sth r4, 0xc(r5) -/* 8030E4E0 0030B440 B0 85 00 0E */ sth r4, 0xe(r5) -/* 8030E4E4 0030B444 B3 65 00 10 */ sth r27, 0x10(r5) -/* 8030E4E8 0030B448 B3 65 00 12 */ sth r27, 0x12(r5) -/* 8030E4EC 0030B44C B0 85 00 14 */ sth r4, 0x14(r5) -/* 8030E4F0 0030B450 B0 85 00 16 */ sth r4, 0x16(r5) -/* 8030E4F4 0030B454 B3 65 00 18 */ sth r27, 0x18(r5) -/* 8030E4F8 0030B458 B3 65 00 1A */ sth r27, 0x1a(r5) -/* 8030E4FC 0030B45C B0 85 00 1C */ sth r4, 0x1c(r5) -/* 8030E500 0030B460 B0 85 00 1E */ sth r4, 0x1e(r5) -/* 8030E504 0030B464 B3 65 00 20 */ sth r27, 0x20(r5) -/* 8030E508 0030B468 B3 65 00 22 */ sth r27, 0x22(r5) -/* 8030E50C 0030B46C B0 85 00 24 */ sth r4, 0x24(r5) -/* 8030E510 0030B470 B0 85 00 26 */ sth r4, 0x26(r5) -/* 8030E514 0030B474 B3 65 00 28 */ sth r27, 0x28(r5) -/* 8030E518 0030B478 B3 65 00 2A */ sth r27, 0x2a(r5) -/* 8030E51C 0030B47C B0 85 00 2C */ sth r4, 0x2c(r5) -/* 8030E520 0030B480 B0 85 00 2E */ sth r4, 0x2e(r5) -/* 8030E524 0030B484 B3 65 00 30 */ sth r27, 0x30(r5) -/* 8030E528 0030B488 B3 65 00 32 */ sth r27, 0x32(r5) -/* 8030E52C 0030B48C B0 85 00 34 */ sth r4, 0x34(r5) -/* 8030E530 0030B490 B0 85 00 36 */ sth r4, 0x36(r5) -/* 8030E534 0030B494 B3 65 00 38 */ sth r27, 0x38(r5) -/* 8030E538 0030B498 B3 65 00 3A */ sth r27, 0x3a(r5) -/* 8030E53C 0030B49C B0 85 00 3C */ sth r4, 0x3c(r5) -/* 8030E540 0030B4A0 B0 85 00 3E */ sth r4, 0x3e(r5) -/* 8030E544 0030B4A4 38 A5 00 40 */ addi r5, r5, 0x40 -/* 8030E548 0030B4A8 42 00 FF 7C */ bdnz lbl_8030E4C4 -/* 8030E54C 0030B4AC 70 63 00 07 */ andi. r3, r3, 7 -/* 8030E550 0030B4B0 41 82 00 70 */ beq lbl_8030E5C0 -lbl_8030E554: -/* 8030E554 0030B4B4 7C 69 03 A6 */ mtctr r3 -lbl_8030E558: -/* 8030E558 0030B4B8 B3 65 00 00 */ sth r27, 0(r5) -/* 8030E55C 0030B4BC B3 65 00 02 */ sth r27, 2(r5) -/* 8030E560 0030B4C0 B0 85 00 04 */ sth r4, 4(r5) -/* 8030E564 0030B4C4 B0 85 00 06 */ sth r4, 6(r5) -/* 8030E568 0030B4C8 38 A5 00 08 */ addi r5, r5, 8 -/* 8030E56C 0030B4CC 42 00 FF EC */ bdnz lbl_8030E558 -/* 8030E570 0030B4D0 48 00 00 50 */ b lbl_8030E5C0 -lbl_8030E574: -/* 8030E574 0030B4D4 38 63 00 44 */ addi r3, r3, 0x44 -/* 8030E578 0030B4D8 48 04 9D BD */ bl GetMRAMSafe__10CARAMTokenFv -/* 8030E57C 0030B4DC 7C 1F F1 D7 */ mullw. r0, r31, r30 -/* 8030E580 0030B4E0 63 45 80 00 */ ori r5, r26, 0x8000 -/* 8030E584 0030B4E4 38 E0 00 00 */ li r7, 0 -/* 8030E588 0030B4E8 7C 09 03 A6 */ mtctr r0 -/* 8030E58C 0030B4EC 40 81 00 34 */ ble lbl_8030E5C0 -lbl_8030E590: -/* 8030E590 0030B4F0 7C 07 EA 14 */ add r0, r7, r29 -/* 8030E594 0030B4F4 54 04 08 3C */ slwi r4, r0, 1 -/* 8030E598 0030B4F8 7C C3 22 2E */ lhzx r6, r3, r4 -/* 8030E59C 0030B4FC 54 C0 04 21 */ rlwinm. r0, r6, 0, 0x10, 0x10 -/* 8030E5A0 0030B500 41 82 00 0C */ beq lbl_8030E5AC -/* 8030E5A4 0030B504 7C A3 23 2E */ sthx r5, r3, r4 -/* 8030E5A8 0030B508 48 00 00 10 */ b lbl_8030E5B8 -lbl_8030E5AC: -/* 8030E5AC 0030B50C 54 C0 04 26 */ rlwinm r0, r6, 0, 0x10, 0x13 -/* 8030E5B0 0030B510 7C 00 CB 78 */ or r0, r0, r25 -/* 8030E5B4 0030B514 7C 03 23 2E */ sthx r0, r3, r4 -lbl_8030E5B8: -/* 8030E5B8 0030B518 38 E7 00 01 */ addi r7, r7, 1 -/* 8030E5BC 0030B51C 42 00 FF D4 */ bdnz lbl_8030E590 -lbl_8030E5C0: -/* 8030E5C0 0030B520 BA 81 00 20 */ lmw r20, 0x20(r1) -/* 8030E5C4 0030B524 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8030E5C8 0030B528 7C 08 03 A6 */ mtlr r0 -/* 8030E5CC 0030B52C 38 21 00 50 */ addi r1, r1, 0x50 -/* 8030E5D0 0030B530 4E 80 00 20 */ blr - -.global GetBitMapData__8CTextureFi -GetBitMapData__8CTextureFi: -/* 8030E5D4 0030B534 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8030E5D8 0030B538 7C 08 02 A6 */ mflr r0 -/* 8030E5DC 0030B53C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8030E5E0 0030B540 48 00 00 15 */ bl GetConstBitMapData__8CTextureCFi -/* 8030E5E4 0030B544 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8030E5E8 0030B548 7C 08 03 A6 */ mtlr r0 -/* 8030E5EC 0030B54C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8030E5F0 0030B550 4E 80 00 20 */ blr - -.global GetConstBitMapData__8CTextureCFi -GetConstBitMapData__8CTextureCFi: -/* 8030E5F4 0030B554 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8030E5F8 0030B558 7C 08 02 A6 */ mflr r0 -/* 8030E5FC 0030B55C 2C 04 00 00 */ cmpwi r4, 0 -/* 8030E600 0030B560 39 00 00 00 */ li r8, 0 -/* 8030E604 0030B564 90 01 00 44 */ stw r0, 0x44(r1) -/* 8030E608 0030B568 BE A1 00 14 */ stmw r21, 0x14(r1) -/* 8030E60C 0030B56C 3B E0 00 00 */ li r31, 0 -/* 8030E610 0030B570 40 81 01 3C */ ble lbl_8030E74C -/* 8030E614 0030B574 2C 04 00 08 */ cmpwi r4, 8 -/* 8030E618 0030B578 38 A4 FF F8 */ addi r5, r4, -8 -/* 8030E61C 0030B57C 40 81 00 F0 */ ble lbl_8030E70C -/* 8030E620 0030B580 38 05 00 07 */ addi r0, r5, 7 -/* 8030E624 0030B584 54 00 E8 FE */ srwi r0, r0, 3 -/* 8030E628 0030B588 7C 09 03 A6 */ mtctr r0 -/* 8030E62C 0030B58C 2C 05 00 00 */ cmpwi r5, 0 -/* 8030E630 0030B590 40 81 00 DC */ ble lbl_8030E70C -lbl_8030E634: -/* 8030E634 0030B594 88 03 00 09 */ lbz r0, 9(r3) -/* 8030E638 0030B598 39 28 00 01 */ addi r9, r8, 1 -/* 8030E63C 0030B59C A8 C3 00 04 */ lha r6, 4(r3) -/* 8030E640 0030B5A0 3B 28 00 02 */ addi r25, r8, 2 -/* 8030E644 0030B5A4 7C 00 07 74 */ extsb r0, r0 -/* 8030E648 0030B5A8 A8 A3 00 06 */ lha r5, 6(r3) -/* 8030E64C 0030B5AC 7C 07 1E 70 */ srawi r7, r0, 3 -/* 8030E650 0030B5B0 39 88 00 03 */ addi r12, r8, 3 -/* 8030E654 0030B5B4 7C D5 46 30 */ sraw r21, r6, r8 -/* 8030E658 0030B5B8 38 08 00 04 */ addi r0, r8, 4 -/* 8030E65C 0030B5BC 7C BE 46 30 */ sraw r30, r5, r8 -/* 8030E660 0030B5C0 39 68 00 05 */ addi r11, r8, 5 -/* 8030E664 0030B5C4 7C D6 4E 30 */ sraw r22, r6, r9 -/* 8030E668 0030B5C8 39 48 00 06 */ addi r10, r8, 6 -/* 8030E66C 0030B5CC 7C B7 4E 30 */ sraw r23, r5, r9 -/* 8030E670 0030B5D0 39 28 00 07 */ addi r9, r8, 7 -/* 8030E674 0030B5D4 7C D8 CE 30 */ sraw r24, r6, r25 -/* 8030E678 0030B5D8 39 08 00 08 */ addi r8, r8, 8 -/* 8030E67C 0030B5DC 7C B9 CE 30 */ sraw r25, r5, r25 -/* 8030E680 0030B5E0 7C DA 66 30 */ sraw r26, r6, r12 -/* 8030E684 0030B5E4 7C BB 66 30 */ sraw r27, r5, r12 -/* 8030E688 0030B5E8 7C DC 06 30 */ sraw r28, r6, r0 -/* 8030E68C 0030B5EC 7C BD 06 30 */ sraw r29, r5, r0 -/* 8030E690 0030B5F0 7C 15 F1 D6 */ mullw r0, r21, r30 -/* 8030E694 0030B5F4 7C DE 5E 30 */ sraw r30, r6, r11 -/* 8030E698 0030B5F8 7C AC 5E 30 */ sraw r12, r5, r11 -/* 8030E69C 0030B5FC 7C CB 56 30 */ sraw r11, r6, r10 -/* 8030E6A0 0030B600 7C AA 56 30 */ sraw r10, r5, r10 -/* 8030E6A4 0030B604 7C C6 4E 30 */ sraw r6, r6, r9 -/* 8030E6A8 0030B608 7C 07 01 D6 */ mullw r0, r7, r0 -/* 8030E6AC 0030B60C 7C A5 4E 30 */ sraw r5, r5, r9 -/* 8030E6B0 0030B610 7E F6 B9 D6 */ mullw r23, r22, r23 -/* 8030E6B4 0030B614 7F FF 02 14 */ add r31, r31, r0 -/* 8030E6B8 0030B618 7C 07 B9 D6 */ mullw r0, r7, r23 -/* 8030E6BC 0030B61C 7F FF 02 14 */ add r31, r31, r0 -/* 8030E6C0 0030B620 7C 06 29 D6 */ mullw r0, r6, r5 -/* 8030E6C4 0030B624 7F 7A D9 D6 */ mullw r27, r26, r27 -/* 8030E6C8 0030B628 7F BC E9 D6 */ mullw r29, r28, r29 -/* 8030E6CC 0030B62C 7F 38 C9 D6 */ mullw r25, r24, r25 -/* 8030E6D0 0030B630 7D 2B 51 D6 */ mullw r9, r11, r10 -/* 8030E6D4 0030B634 7D 47 C9 D6 */ mullw r10, r7, r25 -/* 8030E6D8 0030B638 7D 9E 61 D6 */ mullw r12, r30, r12 -/* 8030E6DC 0030B63C 7F FF 52 14 */ add r31, r31, r10 -/* 8030E6E0 0030B640 7C C7 D9 D6 */ mullw r6, r7, r27 -/* 8030E6E4 0030B644 7F FF 32 14 */ add r31, r31, r6 -/* 8030E6E8 0030B648 7C A7 E9 D6 */ mullw r5, r7, r29 -/* 8030E6EC 0030B64C 7F FF 2A 14 */ add r31, r31, r5 -/* 8030E6F0 0030B650 7C C7 61 D6 */ mullw r6, r7, r12 -/* 8030E6F4 0030B654 7C A7 49 D6 */ mullw r5, r7, r9 -/* 8030E6F8 0030B658 7F FF 32 14 */ add r31, r31, r6 -/* 8030E6FC 0030B65C 7C 07 01 D6 */ mullw r0, r7, r0 -/* 8030E700 0030B660 7F FF 2A 14 */ add r31, r31, r5 -/* 8030E704 0030B664 7F FF 02 14 */ add r31, r31, r0 -/* 8030E708 0030B668 42 00 FF 2C */ bdnz lbl_8030E634 -lbl_8030E70C: -/* 8030E70C 0030B66C 7C 08 20 50 */ subf r0, r8, r4 -/* 8030E710 0030B670 7C 09 03 A6 */ mtctr r0 -/* 8030E714 0030B674 7C 08 20 00 */ cmpw r8, r4 -/* 8030E718 0030B678 40 80 00 34 */ bge lbl_8030E74C -lbl_8030E71C: -/* 8030E71C 0030B67C 88 03 00 09 */ lbz r0, 9(r3) -/* 8030E720 0030B680 A8 83 00 04 */ lha r4, 4(r3) -/* 8030E724 0030B684 7C 05 07 74 */ extsb r5, r0 -/* 8030E728 0030B688 A8 03 00 06 */ lha r0, 6(r3) -/* 8030E72C 0030B68C 7C A5 1E 70 */ srawi r5, r5, 3 -/* 8030E730 0030B690 7C 84 46 30 */ sraw r4, r4, r8 -/* 8030E734 0030B694 7C 00 46 30 */ sraw r0, r0, r8 -/* 8030E738 0030B698 39 08 00 01 */ addi r8, r8, 1 -/* 8030E73C 0030B69C 7C 04 01 D6 */ mullw r0, r4, r0 -/* 8030E740 0030B6A0 7C 05 01 D6 */ mullw r0, r5, r0 -/* 8030E744 0030B6A4 7F FF 02 14 */ add r31, r31, r0 -/* 8030E748 0030B6A8 42 00 FF D4 */ bdnz lbl_8030E71C -lbl_8030E74C: -/* 8030E74C 0030B6AC 38 63 00 44 */ addi r3, r3, 0x44 -/* 8030E750 0030B6B0 48 04 9B E5 */ bl GetMRAMSafe__10CARAMTokenFv -/* 8030E754 0030B6B4 7C 63 FA 14 */ add r3, r3, r31 -/* 8030E758 0030B6B8 BA A1 00 14 */ lmw r21, 0x14(r1) -/* 8030E75C 0030B6BC 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8030E760 0030B6C0 7C 08 03 A6 */ mtlr r0 -/* 8030E764 0030B6C4 38 21 00 40 */ addi r1, r1, 0x40 -/* 8030E768 0030B6C8 4E 80 00 20 */ blr - -.global FTextureFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer -FTextureFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer: -/* 8030E76C 0030B6CC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8030E770 0030B6D0 7C 08 02 A6 */ mflr r0 -/* 8030E774 0030B6D4 3C 80 80 3D */ lis r4, lbl_803D7400@ha -/* 8030E778 0030B6D8 90 01 00 24 */ stw r0, 0x24(r1) -/* 8030E77C 0030B6DC 38 84 74 00 */ addi r4, r4, lbl_803D7400@l -/* 8030E780 0030B6E0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8030E784 0030B6E4 7C BF 2B 78 */ mr r31, r5 -/* 8030E788 0030B6E8 38 A0 00 00 */ li r5, 0 -/* 8030E78C 0030B6EC 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8030E790 0030B6F0 7C 7E 1B 78 */ mr r30, r3 -/* 8030E794 0030B6F4 38 60 00 68 */ li r3, 0x68 -/* 8030E798 0030B6F8 48 00 70 D5 */ bl __nw__FUlPCcPCc -/* 8030E79C 0030B6FC 7C 64 1B 79 */ or. r4, r3, r3 -/* 8030E7A0 0030B700 41 82 00 18 */ beq lbl_8030E7B8 -/* 8030E7A4 0030B704 7F E4 FB 78 */ mr r4, r31 -/* 8030E7A8 0030B708 38 A0 00 00 */ li r5, 0 -/* 8030E7AC 0030B70C 38 C0 00 00 */ li r6, 0 -/* 8030E7B0 0030B710 48 00 13 15 */ bl __ct__8CTextureFR12CInputStreamQ28CTexture11EAutoMipmapQ28CTexture9EBlackKey -/* 8030E7B4 0030B714 7C 64 1B 78 */ mr r4, r3 -lbl_8030E7B8: -/* 8030E7B8 0030B718 7C 04 00 D0 */ neg r0, r4 -/* 8030E7BC 0030B71C 90 81 00 0C */ stw r4, 0xc(r1) -/* 8030E7C0 0030B720 7C 00 23 78 */ or r0, r0, r4 -/* 8030E7C4 0030B724 38 61 00 10 */ addi r3, r1, 0x10 -/* 8030E7C8 0030B728 54 00 0F FE */ srwi r0, r0, 0x1f -/* 8030E7CC 0030B72C 38 81 00 08 */ addi r4, r1, 8 -/* 8030E7D0 0030B730 98 01 00 08 */ stb r0, 8(r1) -/* 8030E7D4 0030B734 48 00 00 81 */ bl "GetIObjObjectFor__17TToken<8CTexture>FRCQ24rstl19auto_ptr<8CTexture>" -/* 8030E7D8 0030B738 80 61 00 14 */ lwz r3, 0x14(r1) -/* 8030E7DC 0030B73C 38 00 00 00 */ li r0, 0 -/* 8030E7E0 0030B740 98 01 00 10 */ stb r0, 0x10(r1) -/* 8030E7E4 0030B744 7C 03 00 D0 */ neg r0, r3 -/* 8030E7E8 0030B748 7C 00 1B 78 */ or r0, r0, r3 -/* 8030E7EC 0030B74C 54 00 0F FE */ srwi r0, r0, 0x1f -/* 8030E7F0 0030B750 98 1E 00 00 */ stb r0, 0(r30) -/* 8030E7F4 0030B754 90 7E 00 04 */ stw r3, 4(r30) -/* 8030E7F8 0030B758 88 01 00 10 */ lbz r0, 0x10(r1) -/* 8030E7FC 0030B75C 28 00 00 00 */ cmplwi r0, 0 -/* 8030E800 0030B760 41 82 00 24 */ beq lbl_8030E824 -/* 8030E804 0030B764 80 61 00 14 */ lwz r3, 0x14(r1) -/* 8030E808 0030B768 28 03 00 00 */ cmplwi r3, 0 -/* 8030E80C 0030B76C 41 82 00 18 */ beq lbl_8030E824 -/* 8030E810 0030B770 81 83 00 00 */ lwz r12, 0(r3) -/* 8030E814 0030B774 38 80 00 01 */ li r4, 1 -/* 8030E818 0030B778 81 8C 00 08 */ lwz r12, 8(r12) -/* 8030E81C 0030B77C 7D 89 03 A6 */ mtctr r12 -/* 8030E820 0030B780 4E 80 04 21 */ bctrl -lbl_8030E824: -/* 8030E824 0030B784 88 01 00 08 */ lbz r0, 8(r1) -/* 8030E828 0030B788 28 00 00 00 */ cmplwi r0, 0 -/* 8030E82C 0030B78C 41 82 00 10 */ beq lbl_8030E83C -/* 8030E830 0030B790 80 61 00 0C */ lwz r3, 0xc(r1) -/* 8030E834 0030B794 38 80 00 01 */ li r4, 1 -/* 8030E838 0030B798 48 00 11 C1 */ bl __dt__8CTextureFv -lbl_8030E83C: -/* 8030E83C 0030B79C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8030E840 0030B7A0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8030E844 0030B7A4 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8030E848 0030B7A8 7C 08 03 A6 */ mtlr r0 -/* 8030E84C 0030B7AC 38 21 00 20 */ addi r1, r1, 0x20 -/* 8030E850 0030B7B0 4E 80 00 20 */ blr - -.global "GetIObjObjectFor__17TToken<8CTexture>FRCQ24rstl19auto_ptr<8CTexture>" -"GetIObjObjectFor__17TToken<8CTexture>FRCQ24rstl19auto_ptr<8CTexture>": -/* 8030E854 0030B7B4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8030E858 0030B7B8 7C 08 02 A6 */ mflr r0 -/* 8030E85C 0030B7BC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8030E860 0030B7C0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8030E864 0030B7C4 7C 7F 1B 78 */ mr r31, r3 -/* 8030E868 0030B7C8 48 00 00 19 */ bl "GetNewDerivedObject__35TObjOwnerDerivedFromIObj<8CTexture>FRCQ24rstl19auto_ptr<8CTexture>" -/* 8030E86C 0030B7CC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8030E870 0030B7D0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8030E874 0030B7D4 7C 08 03 A6 */ mtlr r0 -/* 8030E878 0030B7D8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8030E87C 0030B7DC 4E 80 00 20 */ blr - -.global "GetNewDerivedObject__35TObjOwnerDerivedFromIObj<8CTexture>FRCQ24rstl19auto_ptr<8CTexture>" -"GetNewDerivedObject__35TObjOwnerDerivedFromIObj<8CTexture>FRCQ24rstl19auto_ptr<8CTexture>": -/* 8030E880 0030B7E0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8030E884 0030B7E4 7C 08 02 A6 */ mflr r0 -/* 8030E888 0030B7E8 3C A0 80 3D */ lis r5, lbl_803D7400@ha -/* 8030E88C 0030B7EC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8030E890 0030B7F0 38 05 74 00 */ addi r0, r5, lbl_803D7400@l -/* 8030E894 0030B7F4 38 A0 00 00 */ li r5, 0 -/* 8030E898 0030B7F8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8030E89C 0030B7FC 7C 9F 23 78 */ mr r31, r4 -/* 8030E8A0 0030B800 7C 04 03 78 */ mr r4, r0 -/* 8030E8A4 0030B804 93 C1 00 08 */ stw r30, 8(r1) -/* 8030E8A8 0030B808 7C 7E 1B 78 */ mr r30, r3 -/* 8030E8AC 0030B80C 38 60 00 08 */ li r3, 8 -/* 8030E8B0 0030B810 48 00 6F BD */ bl __nw__FUlPCcPCc -/* 8030E8B4 0030B814 28 03 00 00 */ cmplwi r3, 0 -/* 8030E8B8 0030B818 41 82 00 38 */ beq lbl_8030E8F0 -/* 8030E8BC 0030B81C 3C 80 80 3E */ lis r4, lbl_803D8D6C@ha -/* 8030E8C0 0030B820 3C A0 80 3E */ lis r5, lbl_803D8D78@ha -/* 8030E8C4 0030B824 38 04 8D 6C */ addi r0, r4, lbl_803D8D6C@l -/* 8030E8C8 0030B828 3C 80 80 3E */ lis r4, lbl_803D8D84@ha -/* 8030E8CC 0030B82C 90 03 00 00 */ stw r0, 0(r3) -/* 8030E8D0 0030B830 38 C5 8D 78 */ addi r6, r5, lbl_803D8D78@l -/* 8030E8D4 0030B834 38 A0 00 00 */ li r5, 0 -/* 8030E8D8 0030B838 38 04 8D 84 */ addi r0, r4, lbl_803D8D84@l -/* 8030E8DC 0030B83C 90 C3 00 00 */ stw r6, 0(r3) -/* 8030E8E0 0030B840 98 BF 00 00 */ stb r5, 0(r31) -/* 8030E8E4 0030B844 80 9F 00 04 */ lwz r4, 4(r31) -/* 8030E8E8 0030B848 90 83 00 04 */ stw r4, 4(r3) -/* 8030E8EC 0030B84C 90 03 00 00 */ stw r0, 0(r3) -lbl_8030E8F0: -/* 8030E8F0 0030B850 7C 03 00 D0 */ neg r0, r3 -/* 8030E8F4 0030B854 7C 00 1B 78 */ or r0, r0, r3 -/* 8030E8F8 0030B858 54 00 0F FE */ srwi r0, r0, 0x1f -/* 8030E8FC 0030B85C 98 1E 00 00 */ stb r0, 0(r30) -/* 8030E900 0030B860 90 7E 00 04 */ stw r3, 4(r30) -/* 8030E904 0030B864 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8030E908 0030B868 83 C1 00 08 */ lwz r30, 8(r1) -/* 8030E90C 0030B86C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8030E910 0030B870 7C 08 03 A6 */ mtlr r0 -/* 8030E914 0030B874 38 21 00 10 */ addi r1, r1, 0x10 -/* 8030E918 0030B878 4E 80 00 20 */ blr - -.global UnLock__8CTextureFv -UnLock__8CTextureFv: -/* 8030E91C 0030B87C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8030E920 0030B880 7C 08 02 A6 */ mflr r0 -/* 8030E924 0030B884 38 80 00 00 */ li r4, 0 -/* 8030E928 0030B888 90 01 00 14 */ stw r0, 0x14(r1) -/* 8030E92C 0030B88C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8030E930 0030B890 7C 7F 1B 78 */ mr r31, r3 -/* 8030E934 0030B894 88 03 00 0A */ lbz r0, 0xa(r3) -/* 8030E938 0030B898 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 8030E93C 0030B89C 98 03 00 0A */ stb r0, 0xa(r3) -/* 8030E940 0030B8A0 4B FF F8 4D */ bl CountMemory__8CTextureCFv -/* 8030E944 0030B8A4 38 7F 00 44 */ addi r3, r31, 0x44 -/* 8030E948 0030B8A8 48 04 99 ED */ bl GetMRAMSafe__10CARAMTokenFv -/* 8030E94C 0030B8AC 80 9F 00 0C */ lwz r4, 0xc(r31) -/* 8030E950 0030B8B0 38 04 00 1F */ addi r0, r4, 0x1f -/* 8030E954 0030B8B4 54 04 00 34 */ rlwinm r4, r0, 0, 0, 0x1a -/* 8030E958 0030B8B8 48 07 01 59 */ bl DCFlushRange -/* 8030E95C 0030B8BC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8030E960 0030B8C0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8030E964 0030B8C4 7C 08 03 A6 */ mtlr r0 -/* 8030E968 0030B8C8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8030E96C 0030B8CC 4E 80 00 20 */ blr - -.global InitBitmapBuffers__8CTextureF12ETexelFormatssi -InitBitmapBuffers__8CTextureF12ETexelFormatssi: -/* 8030E970 0030B8D0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8030E974 0030B8D4 7C 08 02 A6 */ mflr r0 -/* 8030E978 0030B8D8 28 04 00 0A */ cmplwi r4, 0xa -/* 8030E97C 0030B8DC 90 01 00 24 */ stw r0, 0x24(r1) -/* 8030E980 0030B8E0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8030E984 0030B8E4 7C 7F 1B 78 */ mr r31, r3 -/* 8030E988 0030B8E8 41 81 00 9C */ bgt lbl_8030EA24 -/* 8030E98C 0030B8EC 3C 60 80 3F */ lis r3, lbl_803ED968@ha -/* 8030E990 0030B8F0 54 80 10 3A */ slwi r0, r4, 2 -/* 8030E994 0030B8F4 38 63 D9 68 */ addi r3, r3, lbl_803ED968@l -/* 8030E998 0030B8F8 7C 03 00 2E */ lwzx r0, r3, r0 -/* 8030E99C 0030B8FC 7C 09 03 A6 */ mtctr r0 -/* 8030E9A0 0030B900 4E 80 04 20 */ bctr -/* 8030E9A4 0030B904 38 00 00 08 */ li r0, 8 -/* 8030E9A8 0030B908 90 1F 00 1C */ stw r0, 0x1c(r31) -/* 8030E9AC 0030B90C 48 00 00 78 */ b lbl_8030EA24 -/* 8030E9B0 0030B910 38 00 00 09 */ li r0, 9 -/* 8030E9B4 0030B914 90 1F 00 1C */ stw r0, 0x1c(r31) -/* 8030E9B8 0030B918 48 00 00 6C */ b lbl_8030EA24 -/* 8030E9BC 0030B91C 38 00 00 0A */ li r0, 0xa -/* 8030E9C0 0030B920 90 1F 00 1C */ stw r0, 0x1c(r31) -/* 8030E9C4 0030B924 48 00 00 60 */ b lbl_8030EA24 -/* 8030E9C8 0030B928 38 00 00 00 */ li r0, 0 -/* 8030E9CC 0030B92C 90 1F 00 18 */ stw r0, 0x18(r31) -/* 8030E9D0 0030B930 48 00 00 54 */ b lbl_8030EA24 -/* 8030E9D4 0030B934 38 00 00 01 */ li r0, 1 -/* 8030E9D8 0030B938 90 1F 00 18 */ stw r0, 0x18(r31) -/* 8030E9DC 0030B93C 48 00 00 48 */ b lbl_8030EA24 -/* 8030E9E0 0030B940 38 00 00 02 */ li r0, 2 -/* 8030E9E4 0030B944 90 1F 00 18 */ stw r0, 0x18(r31) -/* 8030E9E8 0030B948 48 00 00 3C */ b lbl_8030EA24 -/* 8030E9EC 0030B94C 38 00 00 03 */ li r0, 3 -/* 8030E9F0 0030B950 90 1F 00 18 */ stw r0, 0x18(r31) -/* 8030E9F4 0030B954 48 00 00 30 */ b lbl_8030EA24 -/* 8030E9F8 0030B958 38 00 00 04 */ li r0, 4 -/* 8030E9FC 0030B95C 90 1F 00 18 */ stw r0, 0x18(r31) -/* 8030EA00 0030B960 48 00 00 24 */ b lbl_8030EA24 -/* 8030EA04 0030B964 38 00 00 05 */ li r0, 5 -/* 8030EA08 0030B968 90 1F 00 18 */ stw r0, 0x18(r31) -/* 8030EA0C 0030B96C 48 00 00 18 */ b lbl_8030EA24 -/* 8030EA10 0030B970 38 00 00 06 */ li r0, 6 -/* 8030EA14 0030B974 90 1F 00 18 */ stw r0, 0x18(r31) -/* 8030EA18 0030B978 48 00 00 0C */ b lbl_8030EA24 -/* 8030EA1C 0030B97C 38 00 00 0E */ li r0, 0xe -/* 8030EA20 0030B980 90 1F 00 18 */ stw r0, 0x18(r31) -lbl_8030EA24: -/* 8030EA24 0030B984 39 20 00 01 */ li r9, 1 -/* 8030EA28 0030B988 81 5F 00 00 */ lwz r10, 0(r31) -/* 8030EA2C 0030B98C 7C E3 4A 78 */ xor r3, r7, r9 -/* 8030EA30 0030B990 38 00 00 0B */ li r0, 0xb -/* 8030EA34 0030B994 7C 68 0E 70 */ srawi r8, r3, 1 -/* 8030EA38 0030B998 2C 0A 00 04 */ cmpwi r10, 4 -/* 8030EA3C 0030B99C 7C 64 38 38 */ and r4, r3, r7 -/* 8030EA40 0030B9A0 54 A3 04 3E */ clrlwi r3, r5, 0x10 -/* 8030EA44 0030B9A4 7C A4 40 50 */ subf r5, r4, r8 -/* 8030EA48 0030B9A8 54 C4 04 3E */ clrlwi r4, r6, 0x10 -/* 8030EA4C 0030B9AC 54 A6 0F FE */ srwi r6, r5, 0x1f -/* 8030EA50 0030B9B0 7C A6 00 D0 */ neg r5, r6 -/* 8030EA54 0030B9B4 7C A5 33 78 */ or r5, r5, r6 -/* 8030EA58 0030B9B8 7C A5 FE 70 */ srawi r5, r5, 0x1f -/* 8030EA5C 0030B9BC 7C 07 28 38 */ and r7, r0, r5 -/* 8030EA60 0030B9C0 40 82 00 08 */ bne lbl_8030EA68 -/* 8030EA64 0030B9C4 48 00 00 1C */ b lbl_8030EA80 -lbl_8030EA68: -/* 8030EA68 0030B9C8 2C 0A 00 05 */ cmpwi r10, 5 -/* 8030EA6C 0030B9CC 40 82 00 08 */ bne lbl_8030EA74 -/* 8030EA70 0030B9D0 48 00 00 10 */ b lbl_8030EA80 -lbl_8030EA74: -/* 8030EA74 0030B9D4 20 0A 00 06 */ subfic r0, r10, 6 -/* 8030EA78 0030B9D8 7C 00 00 34 */ cntlzw r0, r0 -/* 8030EA7C 0030B9DC 54 09 D9 7E */ srwi r9, r0, 5 -lbl_8030EA80: -/* 8030EA80 0030B9E0 55 20 06 3F */ clrlwi. r0, r9, 0x18 -/* 8030EA84 0030B9E4 41 82 00 0C */ beq lbl_8030EA90 -/* 8030EA88 0030B9E8 80 BF 00 1C */ lwz r5, 0x1c(r31) -/* 8030EA8C 0030B9EC 48 00 00 08 */ b lbl_8030EA94 -lbl_8030EA90: -/* 8030EA90 0030B9F0 80 BF 00 18 */ lwz r5, 0x18(r31) -lbl_8030EA94: -/* 8030EA94 0030B9F4 54 E7 06 3E */ clrlwi r7, r7, 0x18 -/* 8030EA98 0030B9F8 48 06 B1 A9 */ bl GXGetTexBufferSize -/* 8030EA9C 0030B9FC 3C A0 80 3D */ lis r5, lbl_803D7400@ha -/* 8030EAA0 0030BA00 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha -/* 8030EAA4 0030BA04 90 7F 00 0C */ stw r3, 0xc(r31) -/* 8030EAA8 0030BA08 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l -/* 8030EAAC 0030BA0C 38 A5 74 00 */ addi r5, r5, lbl_803D7400@l -/* 8030EAB0 0030BA10 38 61 00 08 */ addi r3, r1, 8 -/* 8030EAB4 0030BA14 38 80 FF FF */ li r4, -1 -/* 8030EAB8 0030BA18 4B FC 79 1D */ bl __ct__10CCallStackFUiPCcPCc -/* 8030EABC 0030BA1C 7C 67 1B 78 */ mr r7, r3 -/* 8030EAC0 0030BA20 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 8030EAC4 0030BA24 38 80 00 02 */ li r4, 2 -/* 8030EAC8 0030BA28 38 A0 00 01 */ li r5, 1 -/* 8030EACC 0030BA2C 38 C0 00 00 */ li r6, 0 -/* 8030EAD0 0030BA30 48 00 6E C5 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack -/* 8030EAD4 0030BA34 80 BF 00 0C */ lwz r5, 0xc(r31) -/* 8030EAD8 0030BA38 7C 64 1B 78 */ mr r4, r3 -/* 8030EADC 0030BA3C 38 7F 00 44 */ addi r3, r31, 0x44 -/* 8030EAE0 0030BA40 38 C0 00 01 */ li r6, 1 -/* 8030EAE4 0030BA44 48 04 9D F1 */ bl PostConstruct__10CARAMTokenFPvUi -/* 8030EAE8 0030BA48 7F E3 FB 78 */ mr r3, r31 -/* 8030EAEC 0030BA4C 4B FF F6 A1 */ bl CountMemory__8CTextureCFv -/* 8030EAF0 0030BA50 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8030EAF4 0030BA54 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8030EAF8 0030BA58 7C 08 03 A6 */ mtlr r0 -/* 8030EAFC 0030BA5C 38 21 00 20 */ addi r1, r1, 0x20 -/* 8030EB00 0030BA60 4E 80 00 20 */ blr - -.global TexelFormatBitsPerPixel__8CTextureF12ETexelFormat -TexelFormatBitsPerPixel__8CTextureF12ETexelFormat: -/* 8030EB04 0030BA64 28 03 00 0A */ cmplwi r3, 0xa -/* 8030EB08 0030BA68 41 81 00 3C */ bgt lbl_8030EB44 -/* 8030EB0C 0030BA6C 3C 80 80 3F */ lis r4, lbl_803ED994@ha -/* 8030EB10 0030BA70 54 60 10 3A */ slwi r0, r3, 2 -/* 8030EB14 0030BA74 38 64 D9 94 */ addi r3, r4, lbl_803ED994@l -/* 8030EB18 0030BA78 7C 03 00 2E */ lwzx r0, r3, r0 -/* 8030EB1C 0030BA7C 7C 09 03 A6 */ mtctr r0 -/* 8030EB20 0030BA80 4E 80 04 20 */ bctr -/* 8030EB24 0030BA84 38 60 00 04 */ li r3, 4 -/* 8030EB28 0030BA88 4E 80 00 20 */ blr -/* 8030EB2C 0030BA8C 38 60 00 08 */ li r3, 8 -/* 8030EB30 0030BA90 4E 80 00 20 */ blr -/* 8030EB34 0030BA94 38 60 00 10 */ li r3, 0x10 -/* 8030EB38 0030BA98 4E 80 00 20 */ blr -/* 8030EB3C 0030BA9C 38 60 00 20 */ li r3, 0x20 -/* 8030EB40 0030BAA0 4E 80 00 20 */ blr -lbl_8030EB44: -/* 8030EB44 0030BAA4 38 60 00 00 */ li r3, 0 -/* 8030EB48 0030BAA8 4E 80 00 20 */ blr - -.global IsARAMTransferInProgress__8CTextureCFv -IsARAMTransferInProgress__8CTextureCFv: -/* 8030EB4C 0030BAAC 88 03 00 0A */ lbz r0, 0xa(r3) -/* 8030EB50 0030BAB0 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 8030EB54 0030BAB4 41 82 00 0C */ beq lbl_8030EB60 -/* 8030EB58 0030BAB8 38 60 00 00 */ li r3, 0 -/* 8030EB5C 0030BABC 4E 80 00 20 */ blr -lbl_8030EB60: -/* 8030EB60 0030BAC0 80 03 00 44 */ lwz r0, 0x44(r3) -/* 8030EB64 0030BAC4 38 60 00 00 */ li r3, 0 -/* 8030EB68 0030BAC8 2C 00 00 02 */ cmpwi r0, 2 -/* 8030EB6C 0030BACC 4D 80 00 20 */ bltlr -/* 8030EB70 0030BAD0 2C 00 00 05 */ cmpwi r0, 5 -/* 8030EB74 0030BAD4 4D 81 00 20 */ bgtlr -/* 8030EB78 0030BAD8 38 60 00 01 */ li r3, 1 -/* 8030EB7C 0030BADC 4E 80 00 20 */ blr - -.global LoadToARAM__8CTextureCFv -LoadToARAM__8CTextureCFv: -/* 8030EB80 0030BAE0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8030EB84 0030BAE4 7C 08 02 A6 */ mflr r0 -/* 8030EB88 0030BAE8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8030EB8C 0030BAEC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8030EB90 0030BAF0 93 C1 00 08 */ stw r30, 8(r1) -/* 8030EB94 0030BAF4 7C 7E 1B 78 */ mr r30, r3 -/* 8030EB98 0030BAF8 80 03 00 44 */ lwz r0, 0x44(r3) -/* 8030EB9C 0030BAFC 2C 00 00 06 */ cmpwi r0, 6 -/* 8030EBA0 0030BB00 40 82 00 0C */ bne lbl_8030EBAC -/* 8030EBA4 0030BB04 38 60 00 00 */ li r3, 0 -/* 8030EBA8 0030BB08 48 00 00 68 */ b lbl_8030EC10 -lbl_8030EBAC: -/* 8030EBAC 0030BB0C 88 1E 00 0A */ lbz r0, 0xa(r30) -/* 8030EBB0 0030BB10 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 8030EBB4 0030BB14 41 82 00 0C */ beq lbl_8030EBC0 -/* 8030EBB8 0030BB18 38 60 00 00 */ li r3, 0 -/* 8030EBBC 0030BB1C 48 00 00 54 */ b lbl_8030EC10 -lbl_8030EBC0: -/* 8030EBC0 0030BB20 80 6D A8 70 */ lwz r3, lbl_805A9430@sda21(r13) -/* 8030EBC4 0030BB24 80 9E 00 64 */ lwz r4, 0x64(r30) -/* 8030EBC8 0030BB28 38 03 FF FF */ addi r0, r3, -1 -/* 8030EBCC 0030BB2C 7C 04 00 40 */ cmplw r4, r0 -/* 8030EBD0 0030BB30 40 80 00 3C */ bge lbl_8030EC0C -/* 8030EBD4 0030BB34 38 7E 00 44 */ addi r3, r30, 0x44 -/* 8030EBD8 0030BB38 48 04 9A A1 */ bl LoadToARAM__10CARAMTokenFv -/* 8030EBDC 0030BB3C 80 1E 00 44 */ lwz r0, 0x44(r30) -/* 8030EBE0 0030BB40 7C 7F 1B 78 */ mr r31, r3 -/* 8030EBE4 0030BB44 2C 00 00 01 */ cmpwi r0, 1 -/* 8030EBE8 0030BB48 41 82 00 1C */ beq lbl_8030EC04 -/* 8030EBEC 0030BB4C 7F C3 F3 78 */ mr r3, r30 -/* 8030EBF0 0030BB50 4B FF F5 71 */ bl UncountMemory__8CTextureCFv -/* 8030EBF4 0030BB54 88 1E 00 0A */ lbz r0, 0xa(r30) -/* 8030EBF8 0030BB58 38 60 00 01 */ li r3, 1 -/* 8030EBFC 0030BB5C 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 8030EC00 0030BB60 98 1E 00 0A */ stb r0, 0xa(r30) -lbl_8030EC04: -/* 8030EC04 0030BB64 7F E3 FB 78 */ mr r3, r31 -/* 8030EC08 0030BB68 48 00 00 08 */ b lbl_8030EC10 -lbl_8030EC0C: -/* 8030EC0C 0030BB6C 38 60 00 00 */ li r3, 0 -lbl_8030EC10: -/* 8030EC10 0030BB70 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8030EC14 0030BB74 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8030EC18 0030BB78 83 C1 00 08 */ lwz r30, 8(r1) -/* 8030EC1C 0030BB7C 7C 08 03 A6 */ mtlr r0 -/* 8030EC20 0030BB80 38 21 00 10 */ addi r1, r1, 0x10 -/* 8030EC24 0030BB84 4E 80 00 20 */ blr - -.global LoadToMRAM__8CTextureCFv -LoadToMRAM__8CTextureCFv: -/* 8030EC28 0030BB88 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8030EC2C 0030BB8C 7C 08 02 A6 */ mflr r0 -/* 8030EC30 0030BB90 90 01 00 14 */ stw r0, 0x14(r1) -/* 8030EC34 0030BB94 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8030EC38 0030BB98 7C 7F 1B 78 */ mr r31, r3 -/* 8030EC3C 0030BB9C 80 03 00 44 */ lwz r0, 0x44(r3) -/* 8030EC40 0030BBA0 2C 00 00 06 */ cmpwi r0, 6 -/* 8030EC44 0030BBA4 40 82 00 0C */ bne lbl_8030EC50 -/* 8030EC48 0030BBA8 38 60 00 00 */ li r3, 0 -/* 8030EC4C 0030BBAC 48 00 00 18 */ b lbl_8030EC64 -lbl_8030EC50: -/* 8030EC50 0030BBB0 80 0D A8 70 */ lwz r0, lbl_805A9430@sda21(r13) -/* 8030EC54 0030BBB4 90 1F 00 64 */ stw r0, 0x64(r31) -/* 8030EC58 0030BBB8 4B FF F5 35 */ bl CountMemory__8CTextureCFv -/* 8030EC5C 0030BBBC 38 7F 00 44 */ addi r3, r31, 0x44 -/* 8030EC60 0030BBC0 48 04 9B 0D */ bl LoadToMRAM__10CARAMTokenFv -lbl_8030EC64: -/* 8030EC64 0030BBC4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8030EC68 0030BBC8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8030EC6C 0030BBCC 7C 08 03 A6 */ mtlr r0 -/* 8030EC70 0030BBD0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8030EC74 0030BBD4 4E 80 00 20 */ blr - -.global TryBuildReloadedBitmapData__Q28CTexture25CDumpedBitmapDataReloaderFR11CResFactory -TryBuildReloadedBitmapData__Q28CTexture25CDumpedBitmapDataReloaderFR11CResFactory: -/* 8030EC78 0030BBD8 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 8030EC7C 0030BBDC 7C 08 02 A6 */ mflr r0 -/* 8030EC80 0030BBE0 90 01 00 64 */ stw r0, 0x64(r1) -/* 8030EC84 0030BBE4 BF 21 00 44 */ stmw r25, 0x44(r1) -/* 8030EC88 0030BBE8 7C 7F 1B 78 */ mr r31, r3 -/* 8030EC8C 0030BBEC 7C 99 23 78 */ mr r25, r4 -/* 8030EC90 0030BBF0 80 63 00 14 */ lwz r3, 0x14(r3) -/* 8030EC94 0030BBF4 81 83 00 00 */ lwz r12, 0(r3) -/* 8030EC98 0030BBF8 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8030EC9C 0030BBFC 7D 89 03 A6 */ mtctr r12 -/* 8030ECA0 0030BC00 4E 80 04 21 */ bctrl -/* 8030ECA4 0030BC04 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8030ECA8 0030BC08 41 82 02 B0 */ beq lbl_8030EF58 -/* 8030ECAC 0030BC0C 38 00 00 02 */ li r0, 2 -/* 8030ECB0 0030BC10 90 1F 00 00 */ stw r0, 0(r31) -/* 8030ECB4 0030BC14 80 7F 00 14 */ lwz r3, 0x14(r31) -/* 8030ECB8 0030BC18 28 03 00 00 */ cmplwi r3, 0 -/* 8030ECBC 0030BC1C 41 82 00 18 */ beq lbl_8030ECD4 -/* 8030ECC0 0030BC20 81 83 00 00 */ lwz r12, 0(r3) -/* 8030ECC4 0030BC24 38 80 00 01 */ li r4, 1 -/* 8030ECC8 0030BC28 81 8C 00 08 */ lwz r12, 8(r12) -/* 8030ECCC 0030BC2C 7D 89 03 A6 */ mtctr r12 -/* 8030ECD0 0030BC30 4E 80 04 21 */ bctrl -lbl_8030ECD4: -/* 8030ECD4 0030BC34 38 00 00 00 */ li r0, 0 -/* 8030ECD8 0030BC38 3C 60 54 58 */ lis r3, 0x54585452@ha -/* 8030ECDC 0030BC3C 90 1F 00 14 */ stw r0, 0x14(r31) -/* 8030ECE0 0030BC40 38 03 54 52 */ addi r0, r3, 0x54585452@l -/* 8030ECE4 0030BC44 38 79 00 04 */ addi r3, r25, 4 -/* 8030ECE8 0030BC48 38 81 00 14 */ addi r4, r1, 0x14 -/* 8030ECEC 0030BC4C 80 BF 00 04 */ lwz r5, 4(r31) -/* 8030ECF0 0030BC50 90 01 00 14 */ stw r0, 0x14(r1) -/* 8030ECF4 0030BC54 90 A1 00 18 */ stw r5, 0x18(r1) -/* 8030ECF8 0030BC58 80 BF 00 18 */ lwz r5, 0x18(r31) -/* 8030ECFC 0030BC5C 48 02 CB 55 */ bl LoadResourceFromMemorySync__10CResLoaderFRC10SObjectTagPCv -/* 8030ED00 0030BC60 7C 7A 1B 78 */ mr r26, r3 -/* 8030ED04 0030BC64 93 41 00 08 */ stw r26, 8(r1) -/* 8030ED08 0030BC68 48 02 FF 7D */ bl ReadLong__12CInputStreamFv -/* 8030ED0C 0030BC6C 7C 60 1B 78 */ mr r0, r3 -/* 8030ED10 0030BC70 7F 43 D3 78 */ mr r3, r26 -/* 8030ED14 0030BC74 7C 19 03 78 */ mr r25, r0 -/* 8030ED18 0030BC78 48 02 FF 99 */ bl ReadShort__12CInputStreamFv -/* 8030ED1C 0030BC7C 7C 7D 07 34 */ extsh r29, r3 -/* 8030ED20 0030BC80 7F 43 D3 78 */ mr r3, r26 -/* 8030ED24 0030BC84 48 02 FF 8D */ bl ReadShort__12CInputStreamFv -/* 8030ED28 0030BC88 7C 7C 07 34 */ extsh r28, r3 -/* 8030ED2C 0030BC8C 7F 43 D3 78 */ mr r3, r26 -/* 8030ED30 0030BC90 48 02 FF 55 */ bl ReadLong__12CInputStreamFv -/* 8030ED34 0030BC94 7C 7B 1B 78 */ mr r27, r3 -/* 8030ED38 0030BC98 7F 23 CB 78 */ mr r3, r25 -/* 8030ED3C 0030BC9C 4B FF FD C9 */ bl TexelFormatBitsPerPixel__8CTextureF12ETexelFormat -/* 8030ED40 0030BCA0 2C 19 00 04 */ cmpwi r25, 4 -/* 8030ED44 0030BCA4 7C 7E 1B 78 */ mr r30, r3 -/* 8030ED48 0030BCA8 40 82 00 0C */ bne lbl_8030ED54 -/* 8030ED4C 0030BCAC 38 00 00 01 */ li r0, 1 -/* 8030ED50 0030BCB0 48 00 00 20 */ b lbl_8030ED70 -lbl_8030ED54: -/* 8030ED54 0030BCB4 2C 19 00 05 */ cmpwi r25, 5 -/* 8030ED58 0030BCB8 40 82 00 0C */ bne lbl_8030ED64 -/* 8030ED5C 0030BCBC 38 00 00 01 */ li r0, 1 -/* 8030ED60 0030BCC0 48 00 00 10 */ b lbl_8030ED70 -lbl_8030ED64: -/* 8030ED64 0030BCC4 20 19 00 06 */ subfic r0, r25, 6 -/* 8030ED68 0030BCC8 7C 00 00 34 */ cntlzw r0, r0 -/* 8030ED6C 0030BCCC 54 00 D9 7E */ srwi r0, r0, 5 -lbl_8030ED70: -/* 8030ED70 0030BCD0 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 8030ED74 0030BCD4 41 82 00 1C */ beq lbl_8030ED90 -/* 8030ED78 0030BCD8 7F 44 D3 78 */ mr r4, r26 -/* 8030ED7C 0030BCDC 38 61 00 1C */ addi r3, r1, 0x1c -/* 8030ED80 0030BCE0 4B FF F2 09 */ bl __ct__16CGraphicsPaletteFR12CInputStream -/* 8030ED84 0030BCE4 38 61 00 1C */ addi r3, r1, 0x1c -/* 8030ED88 0030BCE8 38 80 FF FF */ li r4, -1 -/* 8030ED8C 0030BCEC 4B FF F1 75 */ bl __dt__16CGraphicsPaletteFv -lbl_8030ED90: -/* 8030ED90 0030BCF0 2C 1B 00 00 */ cmpwi r27, 0 -/* 8030ED94 0030BCF4 3B 20 00 00 */ li r25, 0 -/* 8030ED98 0030BCF8 38 A0 00 00 */ li r5, 0 -/* 8030ED9C 0030BCFC 40 81 01 00 */ ble lbl_8030EE9C -/* 8030EDA0 0030BD00 57 60 F0 BF */ rlwinm. r0, r27, 0x1e, 2, 0x1f -/* 8030EDA4 0030BD04 7C 09 03 A6 */ mtctr r0 -/* 8030EDA8 0030BD08 41 82 00 C0 */ beq lbl_8030EE68 -lbl_8030EDAC: -/* 8030EDAC 0030BD0C 7F A4 2E 30 */ sraw r4, r29, r5 -/* 8030EDB0 0030BD10 7F 83 2E 30 */ sraw r3, r28, r5 -/* 8030EDB4 0030BD14 38 A5 00 01 */ addi r5, r5, 1 -/* 8030EDB8 0030BD18 38 03 00 03 */ addi r0, r3, 3 -/* 8030EDBC 0030BD1C 38 84 00 03 */ addi r4, r4, 3 -/* 8030EDC0 0030BD20 54 83 00 3A */ rlwinm r3, r4, 0, 0, 0x1d -/* 8030EDC4 0030BD24 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d -/* 8030EDC8 0030BD28 7C 03 01 D6 */ mullw r0, r3, r0 -/* 8030EDCC 0030BD2C 7C 00 F1 D6 */ mullw r0, r0, r30 -/* 8030EDD0 0030BD30 7C 00 1E 70 */ srawi r0, r0, 3 -/* 8030EDD4 0030BD34 7F A4 2E 30 */ sraw r4, r29, r5 -/* 8030EDD8 0030BD38 7F 83 2E 30 */ sraw r3, r28, r5 -/* 8030EDDC 0030BD3C 7F 39 02 14 */ add r25, r25, r0 -/* 8030EDE0 0030BD40 38 03 00 03 */ addi r0, r3, 3 -/* 8030EDE4 0030BD44 38 84 00 03 */ addi r4, r4, 3 -/* 8030EDE8 0030BD48 54 83 00 3A */ rlwinm r3, r4, 0, 0, 0x1d -/* 8030EDEC 0030BD4C 38 A5 00 01 */ addi r5, r5, 1 -/* 8030EDF0 0030BD50 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d -/* 8030EDF4 0030BD54 7C 03 01 D6 */ mullw r0, r3, r0 -/* 8030EDF8 0030BD58 7C 00 F1 D6 */ mullw r0, r0, r30 -/* 8030EDFC 0030BD5C 7C 00 1E 70 */ srawi r0, r0, 3 -/* 8030EE00 0030BD60 7F A4 2E 30 */ sraw r4, r29, r5 -/* 8030EE04 0030BD64 7F 83 2E 30 */ sraw r3, r28, r5 -/* 8030EE08 0030BD68 7F 39 02 14 */ add r25, r25, r0 -/* 8030EE0C 0030BD6C 38 03 00 03 */ addi r0, r3, 3 -/* 8030EE10 0030BD70 38 84 00 03 */ addi r4, r4, 3 -/* 8030EE14 0030BD74 54 83 00 3A */ rlwinm r3, r4, 0, 0, 0x1d -/* 8030EE18 0030BD78 38 A5 00 01 */ addi r5, r5, 1 -/* 8030EE1C 0030BD7C 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d -/* 8030EE20 0030BD80 7C 03 01 D6 */ mullw r0, r3, r0 -/* 8030EE24 0030BD84 7C 00 F1 D6 */ mullw r0, r0, r30 -/* 8030EE28 0030BD88 7C 00 1E 70 */ srawi r0, r0, 3 -/* 8030EE2C 0030BD8C 7F A4 2E 30 */ sraw r4, r29, r5 -/* 8030EE30 0030BD90 7F 83 2E 30 */ sraw r3, r28, r5 -/* 8030EE34 0030BD94 7F 39 02 14 */ add r25, r25, r0 -/* 8030EE38 0030BD98 38 03 00 03 */ addi r0, r3, 3 -/* 8030EE3C 0030BD9C 38 84 00 03 */ addi r4, r4, 3 -/* 8030EE40 0030BDA0 54 83 00 3A */ rlwinm r3, r4, 0, 0, 0x1d -/* 8030EE44 0030BDA4 38 A5 00 01 */ addi r5, r5, 1 -/* 8030EE48 0030BDA8 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d -/* 8030EE4C 0030BDAC 7C 03 01 D6 */ mullw r0, r3, r0 -/* 8030EE50 0030BDB0 7C 00 F1 D6 */ mullw r0, r0, r30 -/* 8030EE54 0030BDB4 7C 00 1E 70 */ srawi r0, r0, 3 -/* 8030EE58 0030BDB8 7F 39 02 14 */ add r25, r25, r0 -/* 8030EE5C 0030BDBC 42 00 FF 50 */ bdnz lbl_8030EDAC -/* 8030EE60 0030BDC0 73 7B 00 03 */ andi. r27, r27, 3 -/* 8030EE64 0030BDC4 41 82 00 38 */ beq lbl_8030EE9C -lbl_8030EE68: -/* 8030EE68 0030BDC8 7F 69 03 A6 */ mtctr r27 -lbl_8030EE6C: -/* 8030EE6C 0030BDCC 7F A4 2E 30 */ sraw r4, r29, r5 -/* 8030EE70 0030BDD0 7F 83 2E 30 */ sraw r3, r28, r5 -/* 8030EE74 0030BDD4 38 A5 00 01 */ addi r5, r5, 1 -/* 8030EE78 0030BDD8 38 03 00 03 */ addi r0, r3, 3 -/* 8030EE7C 0030BDDC 38 84 00 03 */ addi r4, r4, 3 -/* 8030EE80 0030BDE0 54 83 00 3A */ rlwinm r3, r4, 0, 0, 0x1d -/* 8030EE84 0030BDE4 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d -/* 8030EE88 0030BDE8 7C 03 01 D6 */ mullw r0, r3, r0 -/* 8030EE8C 0030BDEC 7C 00 F1 D6 */ mullw r0, r0, r30 -/* 8030EE90 0030BDF0 7C 00 1E 70 */ srawi r0, r0, 3 -/* 8030EE94 0030BDF4 7F 39 02 14 */ add r25, r25, r0 -/* 8030EE98 0030BDF8 42 00 FF D4 */ bdnz lbl_8030EE6C -lbl_8030EE9C: -/* 8030EE9C 0030BDFC 3C 60 80 3D */ lis r3, lbl_803D7400@ha -/* 8030EEA0 0030BE00 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha -/* 8030EEA4 0030BE04 38 A3 74 00 */ addi r5, r3, lbl_803D7400@l -/* 8030EEA8 0030BE08 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l -/* 8030EEAC 0030BE0C 38 61 00 0C */ addi r3, r1, 0xc -/* 8030EEB0 0030BE10 38 80 FF FF */ li r4, -1 -/* 8030EEB4 0030BE14 4B FC 75 21 */ bl __ct__10CCallStackFUiPCcPCc -/* 8030EEB8 0030BE18 7C 67 1B 78 */ mr r7, r3 -/* 8030EEBC 0030BE1C 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 8030EEC0 0030BE20 38 80 00 02 */ li r4, 2 -/* 8030EEC4 0030BE24 38 A0 00 01 */ li r5, 1 -/* 8030EEC8 0030BE28 38 C0 00 00 */ li r6, 0 -/* 8030EECC 0030BE2C 48 00 6A C9 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack -/* 8030EED0 0030BE30 3B A0 00 00 */ li r29, 0 -/* 8030EED4 0030BE34 7C 7C 1B 78 */ mr r28, r3 -/* 8030EED8 0030BE38 48 00 00 3C */ b lbl_8030EF14 -lbl_8030EEDC: -/* 8030EEDC 0030BE3C 7F DD C8 50 */ subf r30, r29, r25 -/* 8030EEE0 0030BE40 2C 1E 01 00 */ cmpwi r30, 0x100 -/* 8030EEE4 0030BE44 40 81 00 08 */ ble lbl_8030EEEC -/* 8030EEE8 0030BE48 3B C0 01 00 */ li r30, 0x100 -lbl_8030EEEC: -/* 8030EEEC 0030BE4C 7F 7C EA 14 */ add r27, r28, r29 -/* 8030EEF0 0030BE50 7F 43 D3 78 */ mr r3, r26 -/* 8030EEF4 0030BE54 7F 64 DB 78 */ mr r4, r27 -/* 8030EEF8 0030BE58 7F C5 F3 78 */ mr r5, r30 -/* 8030EEFC 0030BE5C 48 03 00 59 */ bl Get__12CInputStreamFPvUl -/* 8030EF00 0030BE60 38 1E 00 1F */ addi r0, r30, 0x1f -/* 8030EF04 0030BE64 7F 63 DB 78 */ mr r3, r27 -/* 8030EF08 0030BE68 54 04 00 34 */ rlwinm r4, r0, 0, 0, 0x1a -/* 8030EF0C 0030BE6C 48 06 FC 05 */ bl DCFlushRangeNoSync -/* 8030EF10 0030BE70 7F BD F2 14 */ add r29, r29, r30 -lbl_8030EF14: -/* 8030EF14 0030BE74 7C 1D C8 00 */ cmpw r29, r25 -/* 8030EF18 0030BE78 41 80 FF C4 */ blt lbl_8030EEDC -/* 8030EF1C 0030BE7C 48 06 08 F1 */ bl PPCSync -/* 8030EF20 0030BE80 80 7F 00 18 */ lwz r3, 0x18(r31) -/* 8030EF24 0030BE84 48 00 6A 0D */ bl Free__7CMemoryFPCv -/* 8030EF28 0030BE88 80 61 00 08 */ lwz r3, 8(r1) -/* 8030EF2C 0030BE8C 38 00 00 00 */ li r0, 0 -/* 8030EF30 0030BE90 90 1F 00 18 */ stw r0, 0x18(r31) -/* 8030EF34 0030BE94 28 03 00 00 */ cmplwi r3, 0 -/* 8030EF38 0030BE98 41 82 00 18 */ beq lbl_8030EF50 -/* 8030EF3C 0030BE9C 81 83 00 00 */ lwz r12, 0(r3) -/* 8030EF40 0030BEA0 38 80 00 01 */ li r4, 1 -/* 8030EF44 0030BEA4 81 8C 00 08 */ lwz r12, 8(r12) -/* 8030EF48 0030BEA8 7D 89 03 A6 */ mtctr r12 -/* 8030EF4C 0030BEAC 4E 80 04 21 */ bctrl -lbl_8030EF50: -/* 8030EF50 0030BEB0 7F 83 E3 78 */ mr r3, r28 -/* 8030EF54 0030BEB4 48 00 00 08 */ b lbl_8030EF5C -lbl_8030EF58: -/* 8030EF58 0030BEB8 38 60 00 00 */ li r3, 0 -lbl_8030EF5C: -/* 8030EF5C 0030BEBC BB 21 00 44 */ lmw r25, 0x44(r1) -/* 8030EF60 0030BEC0 80 01 00 64 */ lwz r0, 0x64(r1) -/* 8030EF64 0030BEC4 7C 08 03 A6 */ mtlr r0 -/* 8030EF68 0030BEC8 38 21 00 60 */ addi r1, r1, 0x60 -/* 8030EF6C 0030BECC 4E 80 00 20 */ blr - -.global BeginReloadBitmapData__Q28CTexture25CDumpedBitmapDataReloaderFR11CResFactory -BeginReloadBitmapData__Q28CTexture25CDumpedBitmapDataReloaderFR11CResFactory: -/* 8030EF70 0030BED0 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8030EF74 0030BED4 7C 08 02 A6 */ mflr r0 -/* 8030EF78 0030BED8 90 01 00 34 */ stw r0, 0x34(r1) -/* 8030EF7C 0030BEDC 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8030EF80 0030BEE0 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8030EF84 0030BEE4 7C 9E 23 78 */ mr r30, r4 -/* 8030EF88 0030BEE8 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8030EF8C 0030BEEC 7C 7D 1B 78 */ mr r29, r3 -/* 8030EF90 0030BEF0 80 03 00 00 */ lwz r0, 0(r3) -/* 8030EF94 0030BEF4 2C 00 00 00 */ cmpwi r0, 0 -/* 8030EF98 0030BEF8 40 82 00 B0 */ bne lbl_8030F048 -/* 8030EF9C 0030BEFC 80 BD 00 04 */ lwz r5, 4(r29) -/* 8030EFA0 0030BF00 3C 60 54 58 */ lis r3, 0x54585452@ha -/* 8030EFA4 0030BF04 38 03 54 52 */ addi r0, r3, 0x54585452@l -/* 8030EFA8 0030BF08 38 7E 00 04 */ addi r3, r30, 4 -/* 8030EFAC 0030BF0C 90 01 00 10 */ stw r0, 0x10(r1) -/* 8030EFB0 0030BF10 38 81 00 10 */ addi r4, r1, 0x10 -/* 8030EFB4 0030BF14 90 A1 00 14 */ stw r5, 0x14(r1) -/* 8030EFB8 0030BF18 48 02 CC 99 */ bl ResourceSize__10CResLoaderCFRC10SObjectTag -/* 8030EFBC 0030BF1C 3C A0 80 3D */ lis r5, lbl_803D7400@ha -/* 8030EFC0 0030BF20 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha -/* 8030EFC4 0030BF24 90 7D 00 08 */ stw r3, 8(r29) -/* 8030EFC8 0030BF28 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l -/* 8030EFCC 0030BF2C 38 A5 74 00 */ addi r5, r5, lbl_803D7400@l -/* 8030EFD0 0030BF30 38 61 00 08 */ addi r3, r1, 8 -/* 8030EFD4 0030BF34 38 80 FF FF */ li r4, -1 -/* 8030EFD8 0030BF38 4B FC 73 FD */ bl __ct__10CCallStackFUiPCcPCc -/* 8030EFDC 0030BF3C 7C 67 1B 78 */ mr r7, r3 -/* 8030EFE0 0030BF40 80 7D 00 08 */ lwz r3, 8(r29) -/* 8030EFE4 0030BF44 38 80 00 02 */ li r4, 2 -/* 8030EFE8 0030BF48 38 A0 00 01 */ li r5, 1 -/* 8030EFEC 0030BF4C 38 C0 00 00 */ li r6, 0 -/* 8030EFF0 0030BF50 48 00 69 A5 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack -/* 8030EFF4 0030BF54 7C 7F 1B 78 */ mr r31, r3 -/* 8030EFF8 0030BF58 80 7D 00 18 */ lwz r3, 0x18(r29) -/* 8030EFFC 0030BF5C 48 00 69 35 */ bl Free__7CMemoryFPCv -/* 8030F000 0030BF60 93 FD 00 18 */ stw r31, 0x18(r29) -/* 8030F004 0030BF64 38 7E 00 04 */ addi r3, r30, 4 -/* 8030F008 0030BF68 38 81 00 10 */ addi r4, r1, 0x10 -/* 8030F00C 0030BF6C 80 BD 00 18 */ lwz r5, 0x18(r29) -/* 8030F010 0030BF70 48 02 CB 69 */ bl LoadResourceAsync__10CResLoaderFRC10SObjectTagPc -/* 8030F014 0030BF74 80 1D 00 14 */ lwz r0, 0x14(r29) -/* 8030F018 0030BF78 7C 7F 1B 78 */ mr r31, r3 -/* 8030F01C 0030BF7C 28 00 00 00 */ cmplwi r0, 0 -/* 8030F020 0030BF80 41 82 00 1C */ beq lbl_8030F03C -/* 8030F024 0030BF84 7C 03 03 78 */ mr r3, r0 -/* 8030F028 0030BF88 38 80 00 01 */ li r4, 1 -/* 8030F02C 0030BF8C 81 83 00 00 */ lwz r12, 0(r3) -/* 8030F030 0030BF90 81 8C 00 08 */ lwz r12, 8(r12) -/* 8030F034 0030BF94 7D 89 03 A6 */ mtctr r12 -/* 8030F038 0030BF98 4E 80 04 21 */ bctrl -lbl_8030F03C: -/* 8030F03C 0030BF9C 93 FD 00 14 */ stw r31, 0x14(r29) -/* 8030F040 0030BFA0 38 00 00 01 */ li r0, 1 -/* 8030F044 0030BFA4 90 1D 00 00 */ stw r0, 0(r29) -lbl_8030F048: -/* 8030F048 0030BFA8 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8030F04C 0030BFAC 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8030F050 0030BFB0 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8030F054 0030BFB4 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 8030F058 0030BFB8 7C 08 03 A6 */ mtlr r0 -/* 8030F05C 0030BFBC 38 21 00 30 */ addi r1, r1, 0x30 -/* 8030F060 0030BFC0 4E 80 00 20 */ blr - -.global __ct__Q28CTexture25CDumpedBitmapDataReloaderFUiUib -__ct__Q28CTexture25CDumpedBitmapDataReloaderFUiUib: -/* 8030F064 0030BFC4 38 00 00 00 */ li r0, 0 -/* 8030F068 0030BFC8 90 03 00 00 */ stw r0, 0(r3) -/* 8030F06C 0030BFCC 90 83 00 04 */ stw r4, 4(r3) -/* 8030F070 0030BFD0 90 03 00 08 */ stw r0, 8(r3) -/* 8030F074 0030BFD4 90 A3 00 0C */ stw r5, 0xc(r3) -/* 8030F078 0030BFD8 98 C3 00 10 */ stb r6, 0x10(r3) -/* 8030F07C 0030BFDC 90 03 00 14 */ stw r0, 0x14(r3) -/* 8030F080 0030BFE0 90 03 00 18 */ stw r0, 0x18(r3) -/* 8030F084 0030BFE4 4E 80 00 20 */ blr - -.global sub_8030f088 -sub_8030f088: -/* 8030F088 0030BFE8 80 83 00 14 */ lwz r4, 0x14(r3) -/* 8030F08C 0030BFEC 28 04 00 00 */ cmplwi r4, 0 -/* 8030F090 0030BFF0 41 82 00 1C */ beq lbl_8030F0AC -/* 8030F094 0030BFF4 80 04 00 00 */ lwz r0, 0(r4) -/* 8030F098 0030BFF8 38 60 00 05 */ li r3, 5 -/* 8030F09C 0030BFFC 2C 00 00 00 */ cmpwi r0, 0 -/* 8030F0A0 0030C000 4C 82 00 20 */ bnelr -/* 8030F0A4 0030C004 38 60 00 02 */ li r3, 2 -/* 8030F0A8 0030C008 4E 80 00 20 */ blr -lbl_8030F0AC: -/* 8030F0AC 0030C00C 80 03 00 44 */ lwz r0, 0x44(r3) -/* 8030F0B0 0030C010 2C 00 00 02 */ cmpwi r0, 2 -/* 8030F0B4 0030C014 41 82 00 38 */ beq lbl_8030F0EC -/* 8030F0B8 0030C018 40 80 00 14 */ bge lbl_8030F0CC -/* 8030F0BC 0030C01C 2C 00 00 00 */ cmpwi r0, 0 -/* 8030F0C0 0030C020 41 82 00 1C */ beq lbl_8030F0DC -/* 8030F0C4 0030C024 40 80 00 20 */ bge lbl_8030F0E4 -/* 8030F0C8 0030C028 48 00 00 34 */ b lbl_8030F0FC -lbl_8030F0CC: -/* 8030F0CC 0030C02C 2C 00 00 05 */ cmpwi r0, 5 -/* 8030F0D0 0030C030 41 82 00 1C */ beq lbl_8030F0EC -/* 8030F0D4 0030C034 40 80 00 28 */ bge lbl_8030F0FC -/* 8030F0D8 0030C038 48 00 00 1C */ b lbl_8030F0F4 -lbl_8030F0DC: -/* 8030F0DC 0030C03C 38 60 00 01 */ li r3, 1 -/* 8030F0E0 0030C040 4E 80 00 20 */ blr -lbl_8030F0E4: -/* 8030F0E4 0030C044 38 60 00 00 */ li r3, 0 -/* 8030F0E8 0030C048 4E 80 00 20 */ blr -lbl_8030F0EC: -/* 8030F0EC 0030C04C 38 60 00 03 */ li r3, 3 -/* 8030F0F0 0030C050 4E 80 00 20 */ blr -lbl_8030F0F4: -/* 8030F0F4 0030C054 38 60 00 04 */ li r3, 4 -/* 8030F0F8 0030C058 4E 80 00 20 */ blr -lbl_8030F0FC: -/* 8030F0FC 0030C05C 38 60 FF FF */ li r3, -1 -/* 8030F100 0030C060 4E 80 00 20 */ blr - -.global TryReloadBitmapData__8CTextureCFR11CResFactory -TryReloadBitmapData__8CTextureCFR11CResFactory: -/* 8030F104 0030C064 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8030F108 0030C068 7C 08 02 A6 */ mflr r0 -/* 8030F10C 0030C06C 90 01 00 24 */ stw r0, 0x24(r1) -/* 8030F110 0030C070 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8030F114 0030C074 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8030F118 0030C078 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8030F11C 0030C07C 7C 9D 23 78 */ mr r29, r4 -/* 8030F120 0030C080 93 81 00 10 */ stw r28, 0x10(r1) -/* 8030F124 0030C084 7C 7C 1B 78 */ mr r28, r3 -/* 8030F128 0030C088 80 63 00 14 */ lwz r3, 0x14(r3) -/* 8030F12C 0030C08C 28 03 00 00 */ cmplwi r3, 0 -/* 8030F130 0030C090 40 82 00 0C */ bne lbl_8030F13C -/* 8030F134 0030C094 38 60 00 01 */ li r3, 1 -/* 8030F138 0030C098 48 00 00 AC */ b lbl_8030F1E4 -lbl_8030F13C: -/* 8030F13C 0030C09C 4B FF FE 35 */ bl BeginReloadBitmapData__Q28CTexture25CDumpedBitmapDataReloaderFR11CResFactory -/* 8030F140 0030C0A0 80 7C 00 14 */ lwz r3, 0x14(r28) -/* 8030F144 0030C0A4 7F A4 EB 78 */ mr r4, r29 -/* 8030F148 0030C0A8 4B FF FB 31 */ bl TryBuildReloadedBitmapData__Q28CTexture25CDumpedBitmapDataReloaderFR11CResFactory -/* 8030F14C 0030C0AC 7C 7D 1B 79 */ or. r29, r3, r3 -/* 8030F150 0030C0B0 41 82 00 90 */ beq lbl_8030F1E0 -/* 8030F154 0030C0B4 83 DC 00 14 */ lwz r30, 0x14(r28) -/* 8030F158 0030C0B8 28 1E 00 00 */ cmplwi r30, 0 -/* 8030F15C 0030C0BC 8B FE 00 10 */ lbz r31, 0x10(r30) -/* 8030F160 0030C0C0 41 82 00 44 */ beq lbl_8030F1A4 -/* 8030F164 0030C0C4 34 1E 00 18 */ addic. r0, r30, 0x18 -/* 8030F168 0030C0C8 41 82 00 0C */ beq lbl_8030F174 -/* 8030F16C 0030C0CC 80 7E 00 18 */ lwz r3, 0x18(r30) -/* 8030F170 0030C0D0 48 00 67 C1 */ bl Free__7CMemoryFPCv -lbl_8030F174: -/* 8030F174 0030C0D4 34 1E 00 14 */ addic. r0, r30, 0x14 -/* 8030F178 0030C0D8 41 82 00 24 */ beq lbl_8030F19C -/* 8030F17C 0030C0DC 80 7E 00 14 */ lwz r3, 0x14(r30) -/* 8030F180 0030C0E0 28 03 00 00 */ cmplwi r3, 0 -/* 8030F184 0030C0E4 41 82 00 18 */ beq lbl_8030F19C -/* 8030F188 0030C0E8 81 83 00 00 */ lwz r12, 0(r3) -/* 8030F18C 0030C0EC 38 80 00 01 */ li r4, 1 -/* 8030F190 0030C0F0 81 8C 00 08 */ lwz r12, 8(r12) -/* 8030F194 0030C0F4 7D 89 03 A6 */ mtctr r12 -/* 8030F198 0030C0F8 4E 80 04 21 */ bctrl -lbl_8030F19C: -/* 8030F19C 0030C0FC 7F C3 F3 78 */ mr r3, r30 -/* 8030F1A0 0030C100 48 00 67 91 */ bl Free__7CMemoryFPCv -lbl_8030F1A4: -/* 8030F1A4 0030C104 38 00 00 00 */ li r0, 0 -/* 8030F1A8 0030C108 7F A4 EB 78 */ mr r4, r29 -/* 8030F1AC 0030C10C 90 1C 00 14 */ stw r0, 0x14(r28) -/* 8030F1B0 0030C110 38 7C 00 44 */ addi r3, r28, 0x44 -/* 8030F1B4 0030C114 38 C0 00 01 */ li r6, 1 -/* 8030F1B8 0030C118 80 BC 00 0C */ lwz r5, 0xc(r28) -/* 8030F1BC 0030C11C 48 04 97 19 */ bl PostConstruct__10CARAMTokenFPvUi -/* 8030F1C0 0030C120 7F 83 E3 78 */ mr r3, r28 -/* 8030F1C4 0030C124 48 00 06 6D */ bl InitTextureObjects__8CTextureFv -/* 8030F1C8 0030C128 28 1F 00 00 */ cmplwi r31, 0 -/* 8030F1CC 0030C12C 41 82 00 0C */ beq lbl_8030F1D8 -/* 8030F1D0 0030C130 7F 83 E3 78 */ mr r3, r28 -/* 8030F1D4 0030C134 4B FF F9 AD */ bl LoadToARAM__8CTextureCFv -lbl_8030F1D8: -/* 8030F1D8 0030C138 38 60 00 01 */ li r3, 1 -/* 8030F1DC 0030C13C 48 00 00 08 */ b lbl_8030F1E4 -lbl_8030F1E0: -/* 8030F1E0 0030C140 38 60 00 00 */ li r3, 0 -lbl_8030F1E4: -/* 8030F1E4 0030C144 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8030F1E8 0030C148 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8030F1EC 0030C14C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8030F1F0 0030C150 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8030F1F4 0030C154 83 81 00 10 */ lwz r28, 0x10(r1) -/* 8030F1F8 0030C158 7C 08 03 A6 */ mtlr r0 -/* 8030F1FC 0030C15C 38 21 00 20 */ addi r1, r1, 0x20 -/* 8030F200 0030C160 4E 80 00 20 */ blr - -.global UnloadBitmapData__8CTextureCFUi -UnloadBitmapData__8CTextureCFUi: -/* 8030F204 0030C164 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8030F208 0030C168 7C 08 02 A6 */ mflr r0 -/* 8030F20C 0030C16C 90 01 00 44 */ stw r0, 0x44(r1) -/* 8030F210 0030C170 BF 61 00 2C */ stmw r27, 0x2c(r1) -/* 8030F214 0030C174 7C 9B 23 78 */ mr r27, r4 -/* 8030F218 0030C178 7C 7F 1B 78 */ mr r31, r3 -/* 8030F21C 0030C17C 80 83 00 14 */ lwz r4, 0x14(r3) -/* 8030F220 0030C180 28 04 00 00 */ cmplwi r4, 0 -/* 8030F224 0030C184 41 82 00 8C */ beq lbl_8030F2B0 -/* 8030F228 0030C188 3C 60 80 3D */ lis r3, lbl_803D7400@ha -/* 8030F22C 0030C18C 8B C4 00 10 */ lbz r30, 0x10(r4) -/* 8030F230 0030C190 38 83 74 00 */ addi r4, r3, lbl_803D7400@l -/* 8030F234 0030C194 38 A0 00 00 */ li r5, 0 -/* 8030F238 0030C198 38 60 00 1C */ li r3, 0x1c -/* 8030F23C 0030C19C 48 00 66 31 */ bl __nw__FUlPCcPCc -/* 8030F240 0030C1A0 7C 7D 1B 79 */ or. r29, r3, r3 -/* 8030F244 0030C1A4 41 82 00 18 */ beq lbl_8030F25C -/* 8030F248 0030C1A8 80 BF 00 0C */ lwz r5, 0xc(r31) -/* 8030F24C 0030C1AC 7F 64 DB 78 */ mr r4, r27 -/* 8030F250 0030C1B0 7F C6 F3 78 */ mr r6, r30 -/* 8030F254 0030C1B4 4B FF FE 11 */ bl __ct__Q28CTexture25CDumpedBitmapDataReloaderFUiUib -/* 8030F258 0030C1B8 7C 7D 1B 78 */ mr r29, r3 -lbl_8030F25C: -/* 8030F25C 0030C1BC 83 DF 00 14 */ lwz r30, 0x14(r31) -/* 8030F260 0030C1C0 28 1E 00 00 */ cmplwi r30, 0 -/* 8030F264 0030C1C4 41 82 00 44 */ beq lbl_8030F2A8 -/* 8030F268 0030C1C8 34 1E 00 18 */ addic. r0, r30, 0x18 -/* 8030F26C 0030C1CC 41 82 00 0C */ beq lbl_8030F278 -/* 8030F270 0030C1D0 80 7E 00 18 */ lwz r3, 0x18(r30) -/* 8030F274 0030C1D4 48 00 66 BD */ bl Free__7CMemoryFPCv -lbl_8030F278: -/* 8030F278 0030C1D8 34 1E 00 14 */ addic. r0, r30, 0x14 -/* 8030F27C 0030C1DC 41 82 00 24 */ beq lbl_8030F2A0 -/* 8030F280 0030C1E0 80 7E 00 14 */ lwz r3, 0x14(r30) -/* 8030F284 0030C1E4 28 03 00 00 */ cmplwi r3, 0 -/* 8030F288 0030C1E8 41 82 00 18 */ beq lbl_8030F2A0 -/* 8030F28C 0030C1EC 81 83 00 00 */ lwz r12, 0(r3) -/* 8030F290 0030C1F0 38 80 00 01 */ li r4, 1 -/* 8030F294 0030C1F4 81 8C 00 08 */ lwz r12, 8(r12) -/* 8030F298 0030C1F8 7D 89 03 A6 */ mtctr r12 -/* 8030F29C 0030C1FC 4E 80 04 21 */ bctrl -lbl_8030F2A0: -/* 8030F2A0 0030C200 7F C3 F3 78 */ mr r3, r30 -/* 8030F2A4 0030C204 48 00 66 8D */ bl Free__7CMemoryFPCv -lbl_8030F2A8: -/* 8030F2A8 0030C208 93 BF 00 14 */ stw r29, 0x14(r31) -/* 8030F2AC 0030C20C 48 00 00 D8 */ b lbl_8030F384 -lbl_8030F2B0: -/* 8030F2B0 0030C210 80 7F 00 44 */ lwz r3, 0x44(r31) -/* 8030F2B4 0030C214 3B A0 00 01 */ li r29, 1 -/* 8030F2B8 0030C218 38 00 00 00 */ li r0, 0 -/* 8030F2BC 0030C21C 2C 03 00 00 */ cmpwi r3, 0 -/* 8030F2C0 0030C220 41 82 00 0C */ beq lbl_8030F2CC -/* 8030F2C4 0030C224 2C 03 00 02 */ cmpwi r3, 2 -/* 8030F2C8 0030C228 40 82 00 08 */ bne lbl_8030F2D0 -lbl_8030F2CC: -/* 8030F2CC 0030C22C 38 00 00 01 */ li r0, 1 -lbl_8030F2D0: -/* 8030F2D0 0030C230 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 8030F2D4 0030C234 40 82 00 10 */ bne lbl_8030F2E4 -/* 8030F2D8 0030C238 2C 03 00 05 */ cmpwi r3, 5 -/* 8030F2DC 0030C23C 41 82 00 08 */ beq lbl_8030F2E4 -/* 8030F2E0 0030C240 3B A0 00 00 */ li r29, 0 -lbl_8030F2E4: -/* 8030F2E4 0030C244 38 61 00 08 */ addi r3, r1, 8 -/* 8030F2E8 0030C248 48 04 98 15 */ bl __ct__10CARAMTokenFv -/* 8030F2EC 0030C24C 38 7F 00 44 */ addi r3, r31, 0x44 -/* 8030F2F0 0030C250 38 81 00 08 */ addi r4, r1, 8 -/* 8030F2F4 0030C254 48 04 95 81 */ bl __as__10CARAMTokenFRC10CARAMToken -/* 8030F2F8 0030C258 38 61 00 08 */ addi r3, r1, 8 -/* 8030F2FC 0030C25C 38 80 FF FF */ li r4, -1 -/* 8030F300 0030C260 48 04 96 45 */ bl __dt__10CARAMTokenFv -/* 8030F304 0030C264 3C 80 80 3D */ lis r4, lbl_803D7400@ha -/* 8030F308 0030C268 38 60 00 1C */ li r3, 0x1c -/* 8030F30C 0030C26C 38 84 74 00 */ addi r4, r4, lbl_803D7400@l -/* 8030F310 0030C270 38 A0 00 00 */ li r5, 0 -/* 8030F314 0030C274 48 00 65 59 */ bl __nw__FUlPCcPCc -/* 8030F318 0030C278 7C 7C 1B 79 */ or. r28, r3, r3 -/* 8030F31C 0030C27C 41 82 00 18 */ beq lbl_8030F334 -/* 8030F320 0030C280 80 BF 00 0C */ lwz r5, 0xc(r31) -/* 8030F324 0030C284 7F 64 DB 78 */ mr r4, r27 -/* 8030F328 0030C288 7F A6 EB 78 */ mr r6, r29 -/* 8030F32C 0030C28C 4B FF FD 39 */ bl __ct__Q28CTexture25CDumpedBitmapDataReloaderFUiUib -/* 8030F330 0030C290 7C 7C 1B 78 */ mr r28, r3 -lbl_8030F334: -/* 8030F334 0030C294 83 DF 00 14 */ lwz r30, 0x14(r31) -/* 8030F338 0030C298 28 1E 00 00 */ cmplwi r30, 0 -/* 8030F33C 0030C29C 41 82 00 44 */ beq lbl_8030F380 -/* 8030F340 0030C2A0 34 1E 00 18 */ addic. r0, r30, 0x18 -/* 8030F344 0030C2A4 41 82 00 0C */ beq lbl_8030F350 -/* 8030F348 0030C2A8 80 7E 00 18 */ lwz r3, 0x18(r30) -/* 8030F34C 0030C2AC 48 00 65 E5 */ bl Free__7CMemoryFPCv -lbl_8030F350: -/* 8030F350 0030C2B0 34 1E 00 14 */ addic. r0, r30, 0x14 -/* 8030F354 0030C2B4 41 82 00 24 */ beq lbl_8030F378 -/* 8030F358 0030C2B8 80 7E 00 14 */ lwz r3, 0x14(r30) -/* 8030F35C 0030C2BC 28 03 00 00 */ cmplwi r3, 0 -/* 8030F360 0030C2C0 41 82 00 18 */ beq lbl_8030F378 -/* 8030F364 0030C2C4 81 83 00 00 */ lwz r12, 0(r3) -/* 8030F368 0030C2C8 38 80 00 01 */ li r4, 1 -/* 8030F36C 0030C2CC 81 8C 00 08 */ lwz r12, 8(r12) -/* 8030F370 0030C2D0 7D 89 03 A6 */ mtctr r12 -/* 8030F374 0030C2D4 4E 80 04 21 */ bctrl -lbl_8030F378: -/* 8030F378 0030C2D8 7F C3 F3 78 */ mr r3, r30 -/* 8030F37C 0030C2DC 48 00 65 B5 */ bl Free__7CMemoryFPCv -lbl_8030F380: -/* 8030F380 0030C2E0 93 9F 00 14 */ stw r28, 0x14(r31) -lbl_8030F384: -/* 8030F384 0030C2E4 BB 61 00 2C */ lmw r27, 0x2c(r1) -/* 8030F388 0030C2E8 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8030F38C 0030C2EC 7C 08 03 A6 */ mtlr r0 -/* 8030F390 0030C2F0 38 21 00 40 */ addi r1, r1, 0x40 -/* 8030F394 0030C2F4 4E 80 00 20 */ blr - -.global LoadMipLevel__8CTextureCFi11_GXTexMapIDQ28CTexture10EClampMode -LoadMipLevel__8CTextureCFi11_GXTexMapIDQ28CTexture10EClampMode: -/* 8030F398 0030C2F8 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8030F39C 0030C2FC 7C 08 02 A6 */ mflr r0 -/* 8030F3A0 0030C300 90 01 00 44 */ stw r0, 0x44(r1) -/* 8030F3A4 0030C304 BF 61 00 2C */ stmw r27, 0x2c(r1) -/* 8030F3A8 0030C308 7C 7D 1B 78 */ mr r29, r3 -/* 8030F3AC 0030C30C 7C 9E 23 78 */ mr r30, r4 -/* 8030F3B0 0030C310 7C BF 2B 78 */ mr r31, r5 -/* 8030F3B4 0030C314 7C DB 33 78 */ mr r27, r6 -/* 8030F3B8 0030C318 38 7D 00 44 */ addi r3, r29, 0x44 -/* 8030F3BC 0030C31C 48 04 8F 79 */ bl GetMRAMSafe__10CARAMTokenFv -/* 8030F3C0 0030C320 80 BD 00 20 */ lwz r5, 0x20(r29) -/* 8030F3C4 0030C324 2C 1E 00 00 */ cmpwi r30, 0 -/* 8030F3C8 0030C328 80 DD 00 24 */ lwz r6, 0x24(r29) -/* 8030F3CC 0030C32C 7C 60 1B 78 */ mr r0, r3 -/* 8030F3D0 0030C330 83 9D 00 28 */ lwz r28, 0x28(r29) -/* 8030F3D4 0030C334 7F 68 DB 78 */ mr r8, r27 -/* 8030F3D8 0030C338 81 9D 00 2C */ lwz r12, 0x2c(r29) -/* 8030F3DC 0030C33C 38 80 00 00 */ li r4, 0 -/* 8030F3E0 0030C340 81 7D 00 30 */ lwz r11, 0x30(r29) -/* 8030F3E4 0030C344 38 E0 00 00 */ li r7, 0 -/* 8030F3E8 0030C348 81 5D 00 34 */ lwz r10, 0x34(r29) -/* 8030F3EC 0030C34C 81 3D 00 38 */ lwz r9, 0x38(r29) -/* 8030F3F0 0030C350 80 7D 00 3C */ lwz r3, 0x3c(r29) -/* 8030F3F4 0030C354 90 A1 00 08 */ stw r5, 8(r1) -/* 8030F3F8 0030C358 A8 BD 00 04 */ lha r5, 4(r29) -/* 8030F3FC 0030C35C 90 C1 00 0C */ stw r6, 0xc(r1) -/* 8030F400 0030C360 A8 DD 00 06 */ lha r6, 6(r29) -/* 8030F404 0030C364 93 81 00 10 */ stw r28, 0x10(r1) -/* 8030F408 0030C368 91 81 00 14 */ stw r12, 0x14(r1) -/* 8030F40C 0030C36C 91 61 00 18 */ stw r11, 0x18(r1) -/* 8030F410 0030C370 91 41 00 1C */ stw r10, 0x1c(r1) -/* 8030F414 0030C374 91 21 00 20 */ stw r9, 0x20(r1) -/* 8030F418 0030C378 90 61 00 24 */ stw r3, 0x24(r1) -/* 8030F41C 0030C37C 40 81 02 7C */ ble lbl_8030F698 -/* 8030F420 0030C380 2C 1E 00 08 */ cmpwi r30, 8 -/* 8030F424 0030C384 39 3E FF F8 */ addi r9, r30, -8 -/* 8030F428 0030C388 40 81 02 10 */ ble lbl_8030F638 -/* 8030F42C 0030C38C 38 69 00 07 */ addi r3, r9, 7 -/* 8030F430 0030C390 54 63 E8 FE */ srwi r3, r3, 3 -/* 8030F434 0030C394 7C 69 03 A6 */ mtctr r3 -/* 8030F438 0030C398 2C 09 00 00 */ cmpwi r9, 0 -/* 8030F43C 0030C39C 40 81 01 FC */ ble lbl_8030F638 -lbl_8030F440: -/* 8030F440 0030C3A0 38 65 00 03 */ addi r3, r5, 3 -/* 8030F444 0030C3A4 39 26 00 03 */ addi r9, r6, 3 -/* 8030F448 0030C3A8 54 6B 00 3A */ rlwinm r11, r3, 0, 0, 0x1d -/* 8030F44C 0030C3AC 88 7D 00 09 */ lbz r3, 9(r29) -/* 8030F450 0030C3B0 55 29 00 3A */ rlwinm r9, r9, 0, 0, 0x1d -/* 8030F454 0030C3B4 54 AA 0F FE */ srwi r10, r5, 0x1f -/* 8030F458 0030C3B8 7D 6B 49 D6 */ mullw r11, r11, r9 -/* 8030F45C 0030C3BC 7C 63 07 74 */ extsb r3, r3 -/* 8030F460 0030C3C0 54 C9 0F FE */ srwi r9, r6, 0x1f -/* 8030F464 0030C3C4 7D 4A 2A 14 */ add r10, r10, r5 -/* 8030F468 0030C3C8 7D 29 32 14 */ add r9, r9, r6 -/* 8030F46C 0030C3CC 7D 63 59 D6 */ mullw r11, r3, r11 -/* 8030F470 0030C3D0 7D 6B 1E 70 */ srawi r11, r11, 3 -/* 8030F474 0030C3D4 7D 6B 01 94 */ addze r11, r11 -/* 8030F478 0030C3D8 7D 4A 0E 70 */ srawi r10, r10, 1 -/* 8030F47C 0030C3DC 7D 29 0E 70 */ srawi r9, r9, 1 -/* 8030F480 0030C3E0 39 6B 00 1F */ addi r11, r11, 0x1f -/* 8030F484 0030C3E4 39 4A 00 03 */ addi r10, r10, 3 -/* 8030F488 0030C3E8 39 29 00 03 */ addi r9, r9, 3 -/* 8030F48C 0030C3EC 55 6B 00 34 */ rlwinm r11, r11, 0, 0, 0x1a -/* 8030F490 0030C3F0 55 4A 00 3A */ rlwinm r10, r10, 0, 0, 0x1d -/* 8030F494 0030C3F4 55 29 00 3A */ rlwinm r9, r9, 0, 0, 0x1d -/* 8030F498 0030C3F8 7C 84 5A 14 */ add r4, r4, r11 -/* 8030F49C 0030C3FC 7D 2A 49 D6 */ mullw r9, r10, r9 -/* 8030F4A0 0030C400 7D 23 49 D6 */ mullw r9, r3, r9 -/* 8030F4A4 0030C404 7D 29 1E 70 */ srawi r9, r9, 3 -/* 8030F4A8 0030C408 7D 69 01 94 */ addze r11, r9 -/* 8030F4AC 0030C40C 7C A9 16 70 */ srawi r9, r5, 2 -/* 8030F4B0 0030C410 7D 49 01 94 */ addze r10, r9 -/* 8030F4B4 0030C414 39 6B 00 1F */ addi r11, r11, 0x1f -/* 8030F4B8 0030C418 7C C9 16 70 */ srawi r9, r6, 2 -/* 8030F4BC 0030C41C 7D 29 01 94 */ addze r9, r9 -/* 8030F4C0 0030C420 39 4A 00 03 */ addi r10, r10, 3 -/* 8030F4C4 0030C424 39 29 00 03 */ addi r9, r9, 3 -/* 8030F4C8 0030C428 55 6B 00 34 */ rlwinm r11, r11, 0, 0, 0x1a -/* 8030F4CC 0030C42C 55 4A 00 3A */ rlwinm r10, r10, 0, 0, 0x1d -/* 8030F4D0 0030C430 55 29 00 3A */ rlwinm r9, r9, 0, 0, 0x1d -/* 8030F4D4 0030C434 7C 84 5A 14 */ add r4, r4, r11 -/* 8030F4D8 0030C438 7D 2A 49 D6 */ mullw r9, r10, r9 -/* 8030F4DC 0030C43C 7D 23 49 D6 */ mullw r9, r3, r9 -/* 8030F4E0 0030C440 7D 29 1E 70 */ srawi r9, r9, 3 -/* 8030F4E4 0030C444 7D 69 01 94 */ addze r11, r9 -/* 8030F4E8 0030C448 7C A9 1E 70 */ srawi r9, r5, 3 -/* 8030F4EC 0030C44C 7D 49 01 94 */ addze r10, r9 -/* 8030F4F0 0030C450 39 6B 00 1F */ addi r11, r11, 0x1f -/* 8030F4F4 0030C454 7C C9 1E 70 */ srawi r9, r6, 3 -/* 8030F4F8 0030C458 7D 29 01 94 */ addze r9, r9 -/* 8030F4FC 0030C45C 39 4A 00 03 */ addi r10, r10, 3 -/* 8030F500 0030C460 39 29 00 03 */ addi r9, r9, 3 -/* 8030F504 0030C464 55 6B 00 34 */ rlwinm r11, r11, 0, 0, 0x1a -/* 8030F508 0030C468 55 4A 00 3A */ rlwinm r10, r10, 0, 0, 0x1d -/* 8030F50C 0030C46C 55 29 00 3A */ rlwinm r9, r9, 0, 0, 0x1d -/* 8030F510 0030C470 7C 84 5A 14 */ add r4, r4, r11 -/* 8030F514 0030C474 7D 2A 49 D6 */ mullw r9, r10, r9 -/* 8030F518 0030C478 7D 23 49 D6 */ mullw r9, r3, r9 -/* 8030F51C 0030C47C 7D 29 1E 70 */ srawi r9, r9, 3 -/* 8030F520 0030C480 7D 69 01 94 */ addze r11, r9 -/* 8030F524 0030C484 7C A9 26 70 */ srawi r9, r5, 4 -/* 8030F528 0030C488 7D 49 01 94 */ addze r10, r9 -/* 8030F52C 0030C48C 39 6B 00 1F */ addi r11, r11, 0x1f -/* 8030F530 0030C490 7C C9 26 70 */ srawi r9, r6, 4 -/* 8030F534 0030C494 7D 29 01 94 */ addze r9, r9 -/* 8030F538 0030C498 39 4A 00 03 */ addi r10, r10, 3 -/* 8030F53C 0030C49C 39 29 00 03 */ addi r9, r9, 3 -/* 8030F540 0030C4A0 55 6B 00 34 */ rlwinm r11, r11, 0, 0, 0x1a -/* 8030F544 0030C4A4 55 4A 00 3A */ rlwinm r10, r10, 0, 0, 0x1d -/* 8030F548 0030C4A8 55 29 00 3A */ rlwinm r9, r9, 0, 0, 0x1d -/* 8030F54C 0030C4AC 7C 84 5A 14 */ add r4, r4, r11 -/* 8030F550 0030C4B0 7D 2A 49 D6 */ mullw r9, r10, r9 -/* 8030F554 0030C4B4 7D 23 49 D6 */ mullw r9, r3, r9 -/* 8030F558 0030C4B8 7D 29 1E 70 */ srawi r9, r9, 3 -/* 8030F55C 0030C4BC 7D 69 01 94 */ addze r11, r9 -/* 8030F560 0030C4C0 7C A9 2E 70 */ srawi r9, r5, 5 -/* 8030F564 0030C4C4 7D 49 01 94 */ addze r10, r9 -/* 8030F568 0030C4C8 39 6B 00 1F */ addi r11, r11, 0x1f -/* 8030F56C 0030C4CC 7C C9 2E 70 */ srawi r9, r6, 5 -/* 8030F570 0030C4D0 7D 29 01 94 */ addze r9, r9 -/* 8030F574 0030C4D4 39 4A 00 03 */ addi r10, r10, 3 -/* 8030F578 0030C4D8 39 29 00 03 */ addi r9, r9, 3 -/* 8030F57C 0030C4DC 55 6B 00 34 */ rlwinm r11, r11, 0, 0, 0x1a -/* 8030F580 0030C4E0 55 4A 00 3A */ rlwinm r10, r10, 0, 0, 0x1d -/* 8030F584 0030C4E4 55 29 00 3A */ rlwinm r9, r9, 0, 0, 0x1d -/* 8030F588 0030C4E8 7C 84 5A 14 */ add r4, r4, r11 -/* 8030F58C 0030C4EC 7D 2A 49 D6 */ mullw r9, r10, r9 -/* 8030F590 0030C4F0 7D 23 49 D6 */ mullw r9, r3, r9 -/* 8030F594 0030C4F4 7D 29 1E 70 */ srawi r9, r9, 3 -/* 8030F598 0030C4F8 7D 69 01 94 */ addze r11, r9 -/* 8030F59C 0030C4FC 7C A9 36 70 */ srawi r9, r5, 6 -/* 8030F5A0 0030C500 7D 49 01 94 */ addze r10, r9 -/* 8030F5A4 0030C504 39 6B 00 1F */ addi r11, r11, 0x1f -/* 8030F5A8 0030C508 7C C9 36 70 */ srawi r9, r6, 6 -/* 8030F5AC 0030C50C 7D 29 01 94 */ addze r9, r9 -/* 8030F5B0 0030C510 39 4A 00 03 */ addi r10, r10, 3 -/* 8030F5B4 0030C514 39 29 00 03 */ addi r9, r9, 3 -/* 8030F5B8 0030C518 55 6B 00 34 */ rlwinm r11, r11, 0, 0, 0x1a -/* 8030F5BC 0030C51C 55 4A 00 3A */ rlwinm r10, r10, 0, 0, 0x1d -/* 8030F5C0 0030C520 55 29 00 3A */ rlwinm r9, r9, 0, 0, 0x1d -/* 8030F5C4 0030C524 7C 84 5A 14 */ add r4, r4, r11 -/* 8030F5C8 0030C528 7D 2A 49 D6 */ mullw r9, r10, r9 -/* 8030F5CC 0030C52C 7D 23 49 D6 */ mullw r9, r3, r9 -/* 8030F5D0 0030C530 7D 29 1E 70 */ srawi r9, r9, 3 -/* 8030F5D4 0030C534 7D 29 01 94 */ addze r9, r9 -/* 8030F5D8 0030C538 39 29 00 1F */ addi r9, r9, 0x1f -/* 8030F5DC 0030C53C 55 29 00 34 */ rlwinm r9, r9, 0, 0, 0x1a -/* 8030F5E0 0030C540 7C 84 4A 14 */ add r4, r4, r9 -/* 8030F5E4 0030C544 7C A9 3E 70 */ srawi r9, r5, 7 -/* 8030F5E8 0030C548 38 E7 00 08 */ addi r7, r7, 8 -/* 8030F5EC 0030C54C 7D 49 01 94 */ addze r10, r9 -/* 8030F5F0 0030C550 7C C9 3E 70 */ srawi r9, r6, 7 -/* 8030F5F4 0030C554 7D 29 01 94 */ addze r9, r9 -/* 8030F5F8 0030C558 39 4A 00 03 */ addi r10, r10, 3 -/* 8030F5FC 0030C55C 39 29 00 03 */ addi r9, r9, 3 -/* 8030F600 0030C560 55 4A 00 3A */ rlwinm r10, r10, 0, 0, 0x1d -/* 8030F604 0030C564 55 29 00 3A */ rlwinm r9, r9, 0, 0, 0x1d -/* 8030F608 0030C568 7D 2A 49 D6 */ mullw r9, r10, r9 -/* 8030F60C 0030C56C 7C 63 49 D6 */ mullw r3, r3, r9 -/* 8030F610 0030C570 7C 63 1E 70 */ srawi r3, r3, 3 -/* 8030F614 0030C574 7D 23 01 94 */ addze r9, r3 -/* 8030F618 0030C578 7C A3 46 70 */ srawi r3, r5, 8 -/* 8030F61C 0030C57C 39 29 00 1F */ addi r9, r9, 0x1f -/* 8030F620 0030C580 7C A3 01 94 */ addze r5, r3 -/* 8030F624 0030C584 55 29 00 34 */ rlwinm r9, r9, 0, 0, 0x1a -/* 8030F628 0030C588 7C C3 46 70 */ srawi r3, r6, 8 -/* 8030F62C 0030C58C 7C 84 4A 14 */ add r4, r4, r9 -/* 8030F630 0030C590 7C C3 01 94 */ addze r6, r3 -/* 8030F634 0030C594 42 00 FE 0C */ bdnz lbl_8030F440 -lbl_8030F638: -/* 8030F638 0030C598 7C 67 F0 50 */ subf r3, r7, r30 -/* 8030F63C 0030C59C 7C 69 03 A6 */ mtctr r3 -/* 8030F640 0030C5A0 7C 07 F0 00 */ cmpw r7, r30 -/* 8030F644 0030C5A4 40 80 00 54 */ bge lbl_8030F698 -lbl_8030F648: -/* 8030F648 0030C5A8 38 E5 00 03 */ addi r7, r5, 3 -/* 8030F64C 0030C5AC 38 66 00 03 */ addi r3, r6, 3 -/* 8030F650 0030C5B0 54 E9 00 3A */ rlwinm r9, r7, 0, 0, 0x1d -/* 8030F654 0030C5B4 89 5D 00 09 */ lbz r10, 9(r29) -/* 8030F658 0030C5B8 54 63 00 3A */ rlwinm r3, r3, 0, 0, 0x1d -/* 8030F65C 0030C5BC 54 A7 0F FE */ srwi r7, r5, 0x1f -/* 8030F660 0030C5C0 7D 29 19 D6 */ mullw r9, r9, r3 -/* 8030F664 0030C5C4 7D 4A 07 74 */ extsb r10, r10 -/* 8030F668 0030C5C8 54 C3 0F FE */ srwi r3, r6, 0x1f -/* 8030F66C 0030C5CC 7C A7 2A 14 */ add r5, r7, r5 -/* 8030F670 0030C5D0 7C 63 32 14 */ add r3, r3, r6 -/* 8030F674 0030C5D4 7C CA 49 D6 */ mullw r6, r10, r9 -/* 8030F678 0030C5D8 7C C6 1E 70 */ srawi r6, r6, 3 -/* 8030F67C 0030C5DC 7C C6 01 94 */ addze r6, r6 -/* 8030F680 0030C5E0 38 C6 00 1F */ addi r6, r6, 0x1f -/* 8030F684 0030C5E4 7C A5 0E 70 */ srawi r5, r5, 1 -/* 8030F688 0030C5E8 54 C7 00 34 */ rlwinm r7, r6, 0, 0, 0x1a -/* 8030F68C 0030C5EC 7C 66 0E 70 */ srawi r6, r3, 1 -/* 8030F690 0030C5F0 7C 84 3A 14 */ add r4, r4, r7 -/* 8030F694 0030C5F4 42 00 FF B4 */ bdnz lbl_8030F648 -lbl_8030F698: -/* 8030F698 0030C5F8 80 FD 00 18 */ lwz r7, 0x18(r29) -/* 8030F69C 0030C5FC 7D 09 43 78 */ mr r9, r8 -/* 8030F6A0 0030C600 38 61 00 08 */ addi r3, r1, 8 -/* 8030F6A4 0030C604 7C 80 22 14 */ add r4, r0, r4 -/* 8030F6A8 0030C608 54 A5 04 3E */ clrlwi r5, r5, 0x10 -/* 8030F6AC 0030C60C 54 C6 04 3E */ clrlwi r6, r6, 0x10 -/* 8030F6B0 0030C610 39 40 00 00 */ li r10, 0 -/* 8030F6B4 0030C614 48 06 A7 B1 */ bl GXInitTexObj -/* 8030F6B8 0030C618 C0 22 C8 38 */ lfs f1, lbl_805AE558@sda21(r2) -/* 8030F6BC 0030C61C 38 61 00 08 */ addi r3, r1, 8 -/* 8030F6C0 0030C620 38 80 00 01 */ li r4, 1 -/* 8030F6C4 0030C624 38 A0 00 01 */ li r5, 1 -/* 8030F6C8 0030C628 FC 40 08 90 */ fmr f2, f1 -/* 8030F6CC 0030C62C 38 C0 00 00 */ li r6, 0 -/* 8030F6D0 0030C630 FC 60 08 90 */ fmr f3, f1 -/* 8030F6D4 0030C634 38 E0 00 00 */ li r7, 0 -/* 8030F6D8 0030C638 39 00 00 00 */ li r8, 0 -/* 8030F6DC 0030C63C 48 06 AA 45 */ bl GXInitTexObjLOD -/* 8030F6E0 0030C640 80 7D 00 10 */ lwz r3, 0x10(r29) -/* 8030F6E4 0030C644 28 03 00 00 */ cmplwi r3, 0 -/* 8030F6E8 0030C648 41 82 00 18 */ beq lbl_8030F700 -/* 8030F6EC 0030C64C 4B FF E7 D9 */ bl Load__16CGraphicsPaletteCFv -/* 8030F6F0 0030C650 88 1D 00 0A */ lbz r0, 0xa(r29) -/* 8030F6F4 0030C654 38 60 00 00 */ li r3, 0 -/* 8030F6F8 0030C658 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 8030F6FC 0030C65C 98 1D 00 0A */ stb r0, 0xa(r29) -lbl_8030F700: -/* 8030F700 0030C660 7F E4 FB 78 */ mr r4, r31 -/* 8030F704 0030C664 38 61 00 08 */ addi r3, r1, 8 -/* 8030F708 0030C668 48 06 AD 8D */ bl GXLoadTexObj -/* 8030F70C 0030C66C 80 0D A8 70 */ lwz r0, lbl_805A9430@sda21(r13) -/* 8030F710 0030C670 3C 60 80 4C */ lis r3, lbl_804BFD10@ha -/* 8030F714 0030C674 57 E4 10 3A */ slwi r4, r31, 2 -/* 8030F718 0030C678 38 A0 00 00 */ li r5, 0 -/* 8030F71C 0030C67C 38 63 FD 10 */ addi r3, r3, lbl_804BFD10@l -/* 8030F720 0030C680 90 1D 00 64 */ stw r0, 0x64(r29) -/* 8030F724 0030C684 7C A3 21 2E */ stwx r5, r3, r4 -/* 8030F728 0030C688 BB 61 00 2C */ lmw r27, 0x2c(r1) -/* 8030F72C 0030C68C 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8030F730 0030C690 7C 08 03 A6 */ mtlr r0 -/* 8030F734 0030C694 38 21 00 40 */ addi r1, r1, 0x40 -/* 8030F738 0030C698 4E 80 00 20 */ blr - -.global Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode -Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode: -/* 8030F73C 0030C69C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8030F740 0030C6A0 7C 08 02 A6 */ mflr r0 -/* 8030F744 0030C6A4 90 01 00 24 */ stw r0, 0x24(r1) -/* 8030F748 0030C6A8 BF 41 00 08 */ stmw r26, 8(r1) -/* 8030F74C 0030C6AC 7C 9E 23 78 */ mr r30, r4 -/* 8030F750 0030C6B0 3C 80 80 4C */ lis r4, lbl_804BFD10@ha -/* 8030F754 0030C6B4 7C 7D 1B 78 */ mr r29, r3 -/* 8030F758 0030C6B8 57 DF 10 3A */ slwi r31, r30, 2 -/* 8030F75C 0030C6BC 7C BA 2B 78 */ mr r26, r5 -/* 8030F760 0030C6C0 3B 84 FD 10 */ addi r28, r4, lbl_804BFD10@l -/* 8030F764 0030C6C4 7C 1C F8 2E */ lwzx r0, r28, r31 -/* 8030F768 0030C6C8 7C 00 E8 40 */ cmplw r0, r29 -/* 8030F76C 0030C6CC 40 82 00 10 */ bne lbl_8030F77C -/* 8030F770 0030C6D0 88 1D 00 0A */ lbz r0, 0xa(r29) -/* 8030F774 0030C6D4 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 8030F778 0030C6D8 41 82 00 A4 */ beq lbl_8030F81C -lbl_8030F77C: -/* 8030F77C 0030C6DC 38 7D 00 44 */ addi r3, r29, 0x44 -/* 8030F780 0030C6E0 48 04 8B B5 */ bl GetMRAMSafe__10CARAMTokenFv -/* 8030F784 0030C6E4 7C 60 1B 78 */ mr r0, r3 -/* 8030F788 0030C6E8 7F A3 EB 78 */ mr r3, r29 -/* 8030F78C 0030C6EC 7C 1B 03 78 */ mr r27, r0 -/* 8030F790 0030C6F0 4B FF E9 FD */ bl CountMemory__8CTextureCFv -/* 8030F794 0030C6F4 80 7D 00 10 */ lwz r3, 0x10(r29) -/* 8030F798 0030C6F8 28 03 00 00 */ cmplwi r3, 0 -/* 8030F79C 0030C6FC 41 82 00 18 */ beq lbl_8030F7B4 -/* 8030F7A0 0030C700 4B FF E7 25 */ bl Load__16CGraphicsPaletteCFv -/* 8030F7A4 0030C704 88 1D 00 0A */ lbz r0, 0xa(r29) -/* 8030F7A8 0030C708 38 60 00 00 */ li r3, 0 -/* 8030F7AC 0030C70C 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 8030F7B0 0030C710 98 1D 00 0A */ stb r0, 0xa(r29) -lbl_8030F7B4: -/* 8030F7B4 0030C714 88 1D 00 0A */ lbz r0, 0xa(r29) -/* 8030F7B8 0030C718 38 60 00 00 */ li r3, 0 -/* 8030F7BC 0030C71C 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 8030F7C0 0030C720 98 1D 00 0A */ stb r0, 0xa(r29) -/* 8030F7C4 0030C724 80 1D 00 40 */ lwz r0, 0x40(r29) -/* 8030F7C8 0030C728 7C 00 D0 00 */ cmpw r0, r26 -/* 8030F7CC 0030C72C 41 82 00 2C */ beq lbl_8030F7F8 -/* 8030F7D0 0030C730 88 1D 00 0A */ lbz r0, 0xa(r29) -/* 8030F7D4 0030C734 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 8030F7D8 0030C738 40 82 00 0C */ bne lbl_8030F7E4 -/* 8030F7DC 0030C73C 90 7D 00 40 */ stw r3, 0x40(r29) -/* 8030F7E0 0030C740 48 00 00 08 */ b lbl_8030F7E8 -lbl_8030F7E4: -/* 8030F7E4 0030C744 93 5D 00 40 */ stw r26, 0x40(r29) -lbl_8030F7E8: -/* 8030F7E8 0030C748 80 9D 00 40 */ lwz r4, 0x40(r29) -/* 8030F7EC 0030C74C 38 7D 00 20 */ addi r3, r29, 0x20 -/* 8030F7F0 0030C750 7C 85 23 78 */ mr r5, r4 -/* 8030F7F4 0030C754 48 06 AA D9 */ bl GXInitTexObjWrapMode -lbl_8030F7F8: -/* 8030F7F8 0030C758 7F 64 DB 78 */ mr r4, r27 -/* 8030F7FC 0030C75C 38 7D 00 20 */ addi r3, r29, 0x20 -/* 8030F800 0030C760 48 06 AA B5 */ bl GXInitTexObjData -/* 8030F804 0030C764 7F C4 F3 78 */ mr r4, r30 -/* 8030F808 0030C768 38 7D 00 20 */ addi r3, r29, 0x20 -/* 8030F80C 0030C76C 48 06 AC 89 */ bl GXLoadTexObj -/* 8030F810 0030C770 80 0D A8 70 */ lwz r0, lbl_805A9430@sda21(r13) -/* 8030F814 0030C774 7F BC F9 2E */ stwx r29, r28, r31 -/* 8030F818 0030C778 90 1D 00 64 */ stw r0, 0x64(r29) -lbl_8030F81C: -/* 8030F81C 0030C77C BB 41 00 08 */ lmw r26, 8(r1) -/* 8030F820 0030C780 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8030F824 0030C784 7C 08 03 A6 */ mtlr r0 -/* 8030F828 0030C788 38 21 00 20 */ addi r1, r1, 0x20 -/* 8030F82C 0030C78C 4E 80 00 20 */ blr - -.global InitTextureObjects__8CTextureFv -InitTextureObjects__8CTextureFv: -/* 8030F830 0030C790 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8030F834 0030C794 7C 08 02 A6 */ mflr r0 -/* 8030F838 0030C798 90 01 00 34 */ stw r0, 0x34(r1) -/* 8030F83C 0030C79C BF 41 00 18 */ stmw r26, 0x18(r1) -/* 8030F840 0030C7A0 7C 7F 1B 78 */ mr r31, r3 -/* 8030F844 0030C7A4 3B C0 00 00 */ li r30, 0 -/* 8030F848 0030C7A8 A8 63 00 04 */ lha r3, 4(r3) -/* 8030F84C 0030C7AC 48 00 54 0D */ bl FloorPowerOfTwo__5CMathFi -/* 8030F850 0030C7B0 A8 1F 00 04 */ lha r0, 4(r31) -/* 8030F854 0030C7B4 7C 00 18 00 */ cmpw r0, r3 -/* 8030F858 0030C7B8 40 82 00 1C */ bne lbl_8030F874 -/* 8030F85C 0030C7BC A8 7F 00 06 */ lha r3, 6(r31) -/* 8030F860 0030C7C0 48 00 53 F9 */ bl FloorPowerOfTwo__5CMathFi -/* 8030F864 0030C7C4 A8 1F 00 06 */ lha r0, 6(r31) -/* 8030F868 0030C7C8 7C 00 18 00 */ cmpw r0, r3 -/* 8030F86C 0030C7CC 40 82 00 08 */ bne lbl_8030F874 -/* 8030F870 0030C7D0 3B C0 00 01 */ li r30, 1 -lbl_8030F874: -/* 8030F874 0030C7D4 88 1F 00 0A */ lbz r0, 0xa(r31) -/* 8030F878 0030C7D8 53 C0 2E B4 */ rlwimi r0, r30, 5, 0x1a, 0x1a -/* 8030F87C 0030C7DC 98 1F 00 0A */ stb r0, 0xa(r31) -/* 8030F880 0030C7E0 88 1F 00 0A */ lbz r0, 0xa(r31) -/* 8030F884 0030C7E4 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 8030F888 0030C7E8 40 82 00 0C */ bne lbl_8030F894 -/* 8030F88C 0030C7EC 38 00 00 00 */ li r0, 0 -/* 8030F890 0030C7F0 90 1F 00 40 */ stw r0, 0x40(r31) -lbl_8030F894: -/* 8030F894 0030C7F4 88 9F 00 08 */ lbz r4, 8(r31) -/* 8030F898 0030C7F8 38 00 00 01 */ li r0, 1 -/* 8030F89C 0030C7FC 83 BF 00 40 */ lwz r29, 0x40(r31) -/* 8030F8A0 0030C800 38 7F 00 44 */ addi r3, r31, 0x44 -/* 8030F8A4 0030C804 7C 85 07 74 */ extsb r5, r4 -/* 8030F8A8 0030C808 AB 9F 00 04 */ lha r28, 4(r31) -/* 8030F8AC 0030C80C 7C A0 02 78 */ xor r0, r5, r0 -/* 8030F8B0 0030C810 AB 7F 00 06 */ lha r27, 6(r31) -/* 8030F8B4 0030C814 7C 04 0E 70 */ srawi r4, r0, 1 -/* 8030F8B8 0030C818 7C 00 28 38 */ and r0, r0, r5 -/* 8030F8BC 0030C81C 7C 00 20 50 */ subf r0, r0, r4 -/* 8030F8C0 0030C820 54 1E 0F FE */ srwi r30, r0, 0x1f -/* 8030F8C4 0030C824 48 04 8A 71 */ bl GetMRAMSafe__10CARAMTokenFv -/* 8030F8C8 0030C828 7C 60 1B 78 */ mr r0, r3 -/* 8030F8CC 0030C82C 7F E3 FB 78 */ mr r3, r31 -/* 8030F8D0 0030C830 7C 1A 03 78 */ mr r26, r0 -/* 8030F8D4 0030C834 4B FF E8 B9 */ bl CountMemory__8CTextureCFv -/* 8030F8D8 0030C838 80 1F 00 00 */ lwz r0, 0(r31) -/* 8030F8DC 0030C83C 2C 00 00 04 */ cmpwi r0, 4 -/* 8030F8E0 0030C840 40 82 00 0C */ bne lbl_8030F8EC -/* 8030F8E4 0030C844 38 00 00 01 */ li r0, 1 -/* 8030F8E8 0030C848 48 00 00 20 */ b lbl_8030F908 -lbl_8030F8EC: -/* 8030F8EC 0030C84C 2C 00 00 05 */ cmpwi r0, 5 -/* 8030F8F0 0030C850 40 82 00 0C */ bne lbl_8030F8FC -/* 8030F8F4 0030C854 38 00 00 01 */ li r0, 1 -/* 8030F8F8 0030C858 48 00 00 10 */ b lbl_8030F908 -lbl_8030F8FC: -/* 8030F8FC 0030C85C 20 00 00 06 */ subfic r0, r0, 6 -/* 8030F900 0030C860 7C 00 00 34 */ cntlzw r0, r0 -/* 8030F904 0030C864 54 00 D9 7E */ srwi r0, r0, 5 -lbl_8030F908: -/* 8030F908 0030C868 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 8030F90C 0030C86C 41 82 00 34 */ beq lbl_8030F940 -/* 8030F910 0030C870 38 00 00 00 */ li r0, 0 -/* 8030F914 0030C874 7F 44 D3 78 */ mr r4, r26 -/* 8030F918 0030C878 90 01 00 08 */ stw r0, 8(r1) -/* 8030F91C 0030C87C 7F A8 EB 78 */ mr r8, r29 -/* 8030F920 0030C880 7F A9 EB 78 */ mr r9, r29 -/* 8030F924 0030C884 7F CA F3 78 */ mr r10, r30 -/* 8030F928 0030C888 80 FF 00 1C */ lwz r7, 0x1c(r31) -/* 8030F92C 0030C88C 38 7F 00 20 */ addi r3, r31, 0x20 -/* 8030F930 0030C890 57 85 04 3E */ clrlwi r5, r28, 0x10 -/* 8030F934 0030C894 57 66 04 3E */ clrlwi r6, r27, 0x10 -/* 8030F938 0030C898 48 06 A7 A1 */ bl GXInitTexObjCI -/* 8030F93C 0030C89C 48 00 00 98 */ b lbl_8030F9D4 -lbl_8030F940: -/* 8030F940 0030C8A0 80 FF 00 18 */ lwz r7, 0x18(r31) -/* 8030F944 0030C8A4 7F 44 D3 78 */ mr r4, r26 -/* 8030F948 0030C8A8 7F A8 EB 78 */ mr r8, r29 -/* 8030F94C 0030C8AC 7F A9 EB 78 */ mr r9, r29 -/* 8030F950 0030C8B0 7F CA F3 78 */ mr r10, r30 -/* 8030F954 0030C8B4 38 7F 00 20 */ addi r3, r31, 0x20 -/* 8030F958 0030C8B8 57 85 04 3E */ clrlwi r5, r28, 0x10 -/* 8030F95C 0030C8BC 57 66 04 3E */ clrlwi r6, r27, 0x10 -/* 8030F960 0030C8C0 48 06 A5 05 */ bl GXInitTexObj -/* 8030F964 0030C8C4 88 BF 00 08 */ lbz r5, 8(r31) -/* 8030F968 0030C8C8 39 00 00 00 */ li r8, 0 -/* 8030F96C 0030C8CC 7C A0 07 74 */ extsb r0, r5 -/* 8030F970 0030C8D0 2C 00 00 01 */ cmpwi r0, 1 -/* 8030F974 0030C8D4 40 81 00 08 */ ble lbl_8030F97C -/* 8030F978 0030C8D8 39 00 00 02 */ li r8, 2 -lbl_8030F97C: -/* 8030F97C 0030C8DC 7C A0 07 74 */ extsb r0, r5 -/* 8030F980 0030C8E0 38 7F 00 20 */ addi r3, r31, 0x20 -/* 8030F984 0030C8E4 2C 00 00 01 */ cmpwi r0, 1 -/* 8030F988 0030C8E8 38 80 00 01 */ li r4, 1 -/* 8030F98C 0030C8EC 40 81 00 08 */ ble lbl_8030F994 -/* 8030F990 0030C8F0 38 80 00 05 */ li r4, 5 -lbl_8030F994: -/* 8030F994 0030C8F4 7C A5 07 74 */ extsb r5, r5 -/* 8030F998 0030C8F8 3C 00 43 30 */ lis r0, 0x4330 -/* 8030F99C 0030C8FC 6C A5 80 00 */ xoris r5, r5, 0x8000 -/* 8030F9A0 0030C900 C0 22 C8 38 */ lfs f1, lbl_805AE558@sda21(r2) -/* 8030F9A4 0030C904 90 A1 00 14 */ stw r5, 0x14(r1) -/* 8030F9A8 0030C908 38 A0 00 01 */ li r5, 1 -/* 8030F9AC 0030C90C C8 82 C8 40 */ lfd f4, lbl_805AE560@sda21(r2) -/* 8030F9B0 0030C910 FC 60 08 90 */ fmr f3, f1 -/* 8030F9B4 0030C914 90 01 00 10 */ stw r0, 0x10(r1) -/* 8030F9B8 0030C918 38 C0 00 00 */ li r6, 0 -/* 8030F9BC 0030C91C C0 02 C8 3C */ lfs f0, lbl_805AE55C@sda21(r2) -/* 8030F9C0 0030C920 38 E0 00 00 */ li r7, 0 -/* 8030F9C4 0030C924 C8 41 00 10 */ lfd f2, 0x10(r1) -/* 8030F9C8 0030C928 EC 42 20 28 */ fsubs f2, f2, f4 -/* 8030F9CC 0030C92C EC 42 00 28 */ fsubs f2, f2, f0 -/* 8030F9D0 0030C930 48 06 A7 51 */ bl GXInitTexObjLOD -lbl_8030F9D4: -/* 8030F9D4 0030C934 88 1F 00 0A */ lbz r0, 0xa(r31) -/* 8030F9D8 0030C938 38 60 00 01 */ li r3, 1 -/* 8030F9DC 0030C93C 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 8030F9E0 0030C940 98 1F 00 0A */ stb r0, 0xa(r31) -/* 8030F9E4 0030C944 BB 41 00 18 */ lmw r26, 0x18(r1) -/* 8030F9E8 0030C948 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8030F9EC 0030C94C 7C 08 03 A6 */ mtlr r0 -/* 8030F9F0 0030C950 38 21 00 30 */ addi r1, r1, 0x30 -/* 8030F9F4 0030C954 4E 80 00 20 */ blr - -.global __dt__8CTextureFv -__dt__8CTextureFv: -/* 8030F9F8 0030C958 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8030F9FC 0030C95C 7C 08 02 A6 */ mflr r0 -/* 8030FA00 0030C960 90 01 00 24 */ stw r0, 0x24(r1) -/* 8030FA04 0030C964 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8030FA08 0030C968 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8030FA0C 0030C96C 7C 9E 23 78 */ mr r30, r4 -/* 8030FA10 0030C970 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8030FA14 0030C974 7C 7D 1B 79 */ or. r29, r3, r3 -/* 8030FA18 0030C978 41 82 00 8C */ beq lbl_8030FAA4 -/* 8030FA1C 0030C97C 4B FF E7 45 */ bl UncountMemory__8CTextureCFv -/* 8030FA20 0030C980 38 7D 00 44 */ addi r3, r29, 0x44 -/* 8030FA24 0030C984 38 80 FF FF */ li r4, -1 -/* 8030FA28 0030C988 48 04 8F 1D */ bl __dt__10CARAMTokenFv -/* 8030FA2C 0030C98C 34 1D 00 14 */ addic. r0, r29, 0x14 -/* 8030FA30 0030C990 41 82 00 50 */ beq lbl_8030FA80 -/* 8030FA34 0030C994 83 FD 00 14 */ lwz r31, 0x14(r29) -/* 8030FA38 0030C998 28 1F 00 00 */ cmplwi r31, 0 -/* 8030FA3C 0030C99C 41 82 00 44 */ beq lbl_8030FA80 -/* 8030FA40 0030C9A0 34 1F 00 18 */ addic. r0, r31, 0x18 -/* 8030FA44 0030C9A4 41 82 00 0C */ beq lbl_8030FA50 -/* 8030FA48 0030C9A8 80 7F 00 18 */ lwz r3, 0x18(r31) -/* 8030FA4C 0030C9AC 48 00 5E E5 */ bl Free__7CMemoryFPCv -lbl_8030FA50: -/* 8030FA50 0030C9B0 34 1F 00 14 */ addic. r0, r31, 0x14 -/* 8030FA54 0030C9B4 41 82 00 24 */ beq lbl_8030FA78 -/* 8030FA58 0030C9B8 80 7F 00 14 */ lwz r3, 0x14(r31) -/* 8030FA5C 0030C9BC 28 03 00 00 */ cmplwi r3, 0 -/* 8030FA60 0030C9C0 41 82 00 18 */ beq lbl_8030FA78 -/* 8030FA64 0030C9C4 81 83 00 00 */ lwz r12, 0(r3) -/* 8030FA68 0030C9C8 38 80 00 01 */ li r4, 1 -/* 8030FA6C 0030C9CC 81 8C 00 08 */ lwz r12, 8(r12) -/* 8030FA70 0030C9D0 7D 89 03 A6 */ mtctr r12 -/* 8030FA74 0030C9D4 4E 80 04 21 */ bctrl -lbl_8030FA78: -/* 8030FA78 0030C9D8 7F E3 FB 78 */ mr r3, r31 -/* 8030FA7C 0030C9DC 48 00 5E B5 */ bl Free__7CMemoryFPCv -lbl_8030FA80: -/* 8030FA80 0030C9E0 34 1D 00 10 */ addic. r0, r29, 0x10 -/* 8030FA84 0030C9E4 41 82 00 10 */ beq lbl_8030FA94 -/* 8030FA88 0030C9E8 80 7D 00 10 */ lwz r3, 0x10(r29) -/* 8030FA8C 0030C9EC 38 80 00 01 */ li r4, 1 -/* 8030FA90 0030C9F0 4B FF E4 71 */ bl __dt__16CGraphicsPaletteFv -lbl_8030FA94: -/* 8030FA94 0030C9F4 7F C0 07 35 */ extsh. r0, r30 -/* 8030FA98 0030C9F8 40 81 00 0C */ ble lbl_8030FAA4 -/* 8030FA9C 0030C9FC 7F A3 EB 78 */ mr r3, r29 -/* 8030FAA0 0030CA00 48 00 5E 91 */ bl Free__7CMemoryFPCv -lbl_8030FAA4: -/* 8030FAA4 0030CA04 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8030FAA8 0030CA08 7F A3 EB 78 */ mr r3, r29 -/* 8030FAAC 0030CA0C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8030FAB0 0030CA10 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8030FAB4 0030CA14 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8030FAB8 0030CA18 7C 08 03 A6 */ mtlr r0 -/* 8030FABC 0030CA1C 38 21 00 20 */ addi r1, r1, 0x20 -/* 8030FAC0 0030CA20 4E 80 00 20 */ blr - -.global __ct__8CTextureFR12CInputStreamQ28CTexture11EAutoMipmapQ28CTexture9EBlackKey -__ct__8CTextureFR12CInputStreamQ28CTexture11EAutoMipmapQ28CTexture9EBlackKey: -/* 8030FAC4 0030CA24 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8030FAC8 0030CA28 7C 08 02 A6 */ mflr r0 -/* 8030FACC 0030CA2C 38 E0 00 00 */ li r7, 0 -/* 8030FAD0 0030CA30 38 C0 00 01 */ li r6, 1 -/* 8030FAD4 0030CA34 90 01 00 34 */ stw r0, 0x34(r1) -/* 8030FAD8 0030CA38 38 00 FF FF */ li r0, -1 -/* 8030FADC 0030CA3C 38 A0 00 04 */ li r5, 4 -/* 8030FAE0 0030CA40 BF 21 00 14 */ stmw r25, 0x14(r1) -/* 8030FAE4 0030CA44 7C 7D 1B 78 */ mr r29, r3 -/* 8030FAE8 0030CA48 7C 9E 23 78 */ mr r30, r4 -/* 8030FAEC 0030CA4C 90 03 00 00 */ stw r0, 0(r3) -/* 8030FAF0 0030CA50 38 00 00 09 */ li r0, 9 -/* 8030FAF4 0030CA54 B0 E3 00 04 */ sth r7, 4(r3) -/* 8030FAF8 0030CA58 38 7D 00 44 */ addi r3, r29, 0x44 -/* 8030FAFC 0030CA5C B0 FD 00 06 */ sth r7, 6(r29) -/* 8030FB00 0030CA60 98 FD 00 08 */ stb r7, 8(r29) -/* 8030FB04 0030CA64 98 FD 00 09 */ stb r7, 9(r29) -/* 8030FB08 0030CA68 88 9D 00 0A */ lbz r4, 0xa(r29) -/* 8030FB0C 0030CA6C 50 E4 3E 30 */ rlwimi r4, r7, 7, 0x18, 0x18 -/* 8030FB10 0030CA70 98 9D 00 0A */ stb r4, 0xa(r29) -/* 8030FB14 0030CA74 88 9D 00 0A */ lbz r4, 0xa(r29) -/* 8030FB18 0030CA78 50 E4 36 72 */ rlwimi r4, r7, 6, 0x19, 0x19 -/* 8030FB1C 0030CA7C 98 9D 00 0A */ stb r4, 0xa(r29) -/* 8030FB20 0030CA80 88 9D 00 0A */ lbz r4, 0xa(r29) -/* 8030FB24 0030CA84 50 E4 2E B4 */ rlwimi r4, r7, 5, 0x1a, 0x1a -/* 8030FB28 0030CA88 98 9D 00 0A */ stb r4, 0xa(r29) -/* 8030FB2C 0030CA8C 88 9D 00 0A */ lbz r4, 0xa(r29) -/* 8030FB30 0030CA90 50 C4 26 F6 */ rlwimi r4, r6, 4, 0x1b, 0x1b -/* 8030FB34 0030CA94 98 9D 00 0A */ stb r4, 0xa(r29) -/* 8030FB38 0030CA98 88 9D 00 0A */ lbz r4, 0xa(r29) -/* 8030FB3C 0030CA9C 50 E4 1F 38 */ rlwimi r4, r7, 3, 0x1c, 0x1c -/* 8030FB40 0030CAA0 98 9D 00 0A */ stb r4, 0xa(r29) -/* 8030FB44 0030CAA4 88 9D 00 0A */ lbz r4, 0xa(r29) -/* 8030FB48 0030CAA8 50 E4 17 7A */ rlwimi r4, r7, 2, 0x1d, 0x1d -/* 8030FB4C 0030CAAC 98 9D 00 0A */ stb r4, 0xa(r29) -/* 8030FB50 0030CAB0 90 FD 00 0C */ stw r7, 0xc(r29) -/* 8030FB54 0030CAB4 90 FD 00 10 */ stw r7, 0x10(r29) -/* 8030FB58 0030CAB8 90 FD 00 14 */ stw r7, 0x14(r29) -/* 8030FB5C 0030CABC 90 BD 00 18 */ stw r5, 0x18(r29) -/* 8030FB60 0030CAC0 90 1D 00 1C */ stw r0, 0x1c(r29) -/* 8030FB64 0030CAC4 90 DD 00 40 */ stw r6, 0x40(r29) -/* 8030FB68 0030CAC8 48 04 8F 95 */ bl __ct__10CARAMTokenFv -/* 8030FB6C 0030CACC 80 0D A8 70 */ lwz r0, lbl_805A9430@sda21(r13) -/* 8030FB70 0030CAD0 7F C3 F3 78 */ mr r3, r30 -/* 8030FB74 0030CAD4 90 1D 00 64 */ stw r0, 0x64(r29) -/* 8030FB78 0030CAD8 48 02 F1 0D */ bl ReadLong__12CInputStreamFv -/* 8030FB7C 0030CADC 90 7D 00 00 */ stw r3, 0(r29) -/* 8030FB80 0030CAE0 7F C3 F3 78 */ mr r3, r30 -/* 8030FB84 0030CAE4 48 02 F1 2D */ bl ReadShort__12CInputStreamFv -/* 8030FB88 0030CAE8 B0 7D 00 04 */ sth r3, 4(r29) -/* 8030FB8C 0030CAEC 7F C3 F3 78 */ mr r3, r30 -/* 8030FB90 0030CAF0 48 02 F1 21 */ bl ReadShort__12CInputStreamFv -/* 8030FB94 0030CAF4 B0 7D 00 06 */ sth r3, 6(r29) -/* 8030FB98 0030CAF8 7F C3 F3 78 */ mr r3, r30 -/* 8030FB9C 0030CAFC 48 02 F0 E9 */ bl ReadLong__12CInputStreamFv -/* 8030FBA0 0030CB00 98 7D 00 08 */ stb r3, 8(r29) -/* 8030FBA4 0030CB04 80 1D 00 00 */ lwz r0, 0(r29) -/* 8030FBA8 0030CB08 2C 00 00 04 */ cmpwi r0, 4 -/* 8030FBAC 0030CB0C 40 82 00 0C */ bne lbl_8030FBB8 -/* 8030FBB0 0030CB10 38 00 00 01 */ li r0, 1 -/* 8030FBB4 0030CB14 48 00 00 20 */ b lbl_8030FBD4 -lbl_8030FBB8: -/* 8030FBB8 0030CB18 2C 00 00 05 */ cmpwi r0, 5 -/* 8030FBBC 0030CB1C 40 82 00 0C */ bne lbl_8030FBC8 -/* 8030FBC0 0030CB20 38 00 00 01 */ li r0, 1 -/* 8030FBC4 0030CB24 48 00 00 10 */ b lbl_8030FBD4 -lbl_8030FBC8: -/* 8030FBC8 0030CB28 20 00 00 06 */ subfic r0, r0, 6 -/* 8030FBCC 0030CB2C 7C 00 00 34 */ cntlzw r0, r0 -/* 8030FBD0 0030CB30 54 00 D9 7E */ srwi r0, r0, 5 -lbl_8030FBD4: -/* 8030FBD4 0030CB34 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 8030FBD8 0030CB38 41 82 00 4C */ beq lbl_8030FC24 -/* 8030FBDC 0030CB3C 3C 80 80 3D */ lis r4, lbl_803D7400@ha -/* 8030FBE0 0030CB40 38 60 00 20 */ li r3, 0x20 -/* 8030FBE4 0030CB44 38 84 74 00 */ addi r4, r4, lbl_803D7400@l -/* 8030FBE8 0030CB48 38 A0 00 00 */ li r5, 0 -/* 8030FBEC 0030CB4C 48 00 5C 81 */ bl __nw__FUlPCcPCc -/* 8030FBF0 0030CB50 7C 7C 1B 79 */ or. r28, r3, r3 -/* 8030FBF4 0030CB54 41 82 00 10 */ beq lbl_8030FC04 -/* 8030FBF8 0030CB58 7F C4 F3 78 */ mr r4, r30 -/* 8030FBFC 0030CB5C 4B FF E3 8D */ bl __ct__16CGraphicsPaletteFR12CInputStream -/* 8030FC00 0030CB60 7C 7C 1B 78 */ mr r28, r3 -lbl_8030FC04: -/* 8030FC04 0030CB64 80 7D 00 10 */ lwz r3, 0x10(r29) -/* 8030FC08 0030CB68 38 80 00 01 */ li r4, 1 -/* 8030FC0C 0030CB6C 4B FF E2 F5 */ bl __dt__16CGraphicsPaletteFv -/* 8030FC10 0030CB70 93 9D 00 10 */ stw r28, 0x10(r29) -/* 8030FC14 0030CB74 38 60 00 01 */ li r3, 1 -/* 8030FC18 0030CB78 88 1D 00 0A */ lbz r0, 0xa(r29) -/* 8030FC1C 0030CB7C 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 8030FC20 0030CB80 98 1D 00 0A */ stb r0, 0xa(r29) -lbl_8030FC24: -/* 8030FC24 0030CB84 80 7D 00 00 */ lwz r3, 0(r29) -/* 8030FC28 0030CB88 4B FF EE DD */ bl TexelFormatBitsPerPixel__8CTextureF12ETexelFormat -/* 8030FC2C 0030CB8C 98 7D 00 09 */ stb r3, 9(r29) -/* 8030FC30 0030CB90 7F A3 EB 78 */ mr r3, r29 -/* 8030FC34 0030CB94 88 FD 00 08 */ lbz r7, 8(r29) -/* 8030FC38 0030CB98 A8 BD 00 04 */ lha r5, 4(r29) -/* 8030FC3C 0030CB9C A8 DD 00 06 */ lha r6, 6(r29) -/* 8030FC40 0030CBA0 7C E7 07 74 */ extsb r7, r7 -/* 8030FC44 0030CBA4 80 9D 00 00 */ lwz r4, 0(r29) -/* 8030FC48 0030CBA8 4B FF ED 29 */ bl InitBitmapBuffers__8CTextureF12ETexelFormatssi -/* 8030FC4C 0030CBAC 89 1D 00 08 */ lbz r8, 8(r29) -/* 8030FC50 0030CBB0 3B E0 00 00 */ li r31, 0 -/* 8030FC54 0030CBB4 39 20 00 00 */ li r9, 0 -/* 8030FC58 0030CBB8 7D 08 07 75 */ extsb. r8, r8 -/* 8030FC5C 0030CBBC 40 81 01 20 */ ble lbl_8030FD7C -/* 8030FC60 0030CBC0 55 00 F0 BF */ rlwinm. r0, r8, 0x1e, 2, 0x1f -/* 8030FC64 0030CBC4 7C 09 03 A6 */ mtctr r0 -/* 8030FC68 0030CBC8 41 82 00 D0 */ beq lbl_8030FD38 -lbl_8030FC6C: -/* 8030FC6C 0030CBCC A8 FD 00 04 */ lha r7, 4(r29) -/* 8030FC70 0030CBD0 A8 BD 00 06 */ lha r5, 6(r29) -/* 8030FC74 0030CBD4 7C E6 4E 30 */ sraw r6, r7, r9 -/* 8030FC78 0030CBD8 88 1D 00 09 */ lbz r0, 9(r29) -/* 8030FC7C 0030CBDC 7C A4 4E 30 */ sraw r4, r5, r9 -/* 8030FC80 0030CBE0 39 29 00 01 */ addi r9, r9, 1 -/* 8030FC84 0030CBE4 7C 03 07 74 */ extsb r3, r0 -/* 8030FC88 0030CBE8 38 C6 00 03 */ addi r6, r6, 3 -/* 8030FC8C 0030CBEC 38 04 00 03 */ addi r0, r4, 3 -/* 8030FC90 0030CBF0 54 C4 00 3A */ rlwinm r4, r6, 0, 0, 0x1d -/* 8030FC94 0030CBF4 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d -/* 8030FC98 0030CBF8 7C 04 01 D6 */ mullw r0, r4, r0 -/* 8030FC9C 0030CBFC 7C 00 19 D6 */ mullw r0, r0, r3 -/* 8030FCA0 0030CC00 7C 00 1E 70 */ srawi r0, r0, 3 -/* 8030FCA4 0030CC04 7C E6 4E 30 */ sraw r6, r7, r9 -/* 8030FCA8 0030CC08 7C A4 4E 30 */ sraw r4, r5, r9 -/* 8030FCAC 0030CC0C 7F FF 02 14 */ add r31, r31, r0 -/* 8030FCB0 0030CC10 38 04 00 03 */ addi r0, r4, 3 -/* 8030FCB4 0030CC14 38 C6 00 03 */ addi r6, r6, 3 -/* 8030FCB8 0030CC18 54 C4 00 3A */ rlwinm r4, r6, 0, 0, 0x1d -/* 8030FCBC 0030CC1C 39 29 00 01 */ addi r9, r9, 1 -/* 8030FCC0 0030CC20 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d -/* 8030FCC4 0030CC24 7C 04 01 D6 */ mullw r0, r4, r0 -/* 8030FCC8 0030CC28 7C 00 19 D6 */ mullw r0, r0, r3 -/* 8030FCCC 0030CC2C 7C 00 1E 70 */ srawi r0, r0, 3 -/* 8030FCD0 0030CC30 7C E6 4E 30 */ sraw r6, r7, r9 -/* 8030FCD4 0030CC34 7C A4 4E 30 */ sraw r4, r5, r9 -/* 8030FCD8 0030CC38 7F FF 02 14 */ add r31, r31, r0 -/* 8030FCDC 0030CC3C 38 04 00 03 */ addi r0, r4, 3 -/* 8030FCE0 0030CC40 38 C6 00 03 */ addi r6, r6, 3 -/* 8030FCE4 0030CC44 54 C4 00 3A */ rlwinm r4, r6, 0, 0, 0x1d -/* 8030FCE8 0030CC48 39 29 00 01 */ addi r9, r9, 1 -/* 8030FCEC 0030CC4C 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d -/* 8030FCF0 0030CC50 7C 04 01 D6 */ mullw r0, r4, r0 -/* 8030FCF4 0030CC54 7C 00 19 D6 */ mullw r0, r0, r3 -/* 8030FCF8 0030CC58 7C 00 1E 70 */ srawi r0, r0, 3 -/* 8030FCFC 0030CC5C 7C E6 4E 30 */ sraw r6, r7, r9 -/* 8030FD00 0030CC60 7C A4 4E 30 */ sraw r4, r5, r9 -/* 8030FD04 0030CC64 7F FF 02 14 */ add r31, r31, r0 -/* 8030FD08 0030CC68 38 04 00 03 */ addi r0, r4, 3 -/* 8030FD0C 0030CC6C 38 C6 00 03 */ addi r6, r6, 3 -/* 8030FD10 0030CC70 54 C4 00 3A */ rlwinm r4, r6, 0, 0, 0x1d -/* 8030FD14 0030CC74 39 29 00 01 */ addi r9, r9, 1 -/* 8030FD18 0030CC78 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d -/* 8030FD1C 0030CC7C 7C 04 01 D6 */ mullw r0, r4, r0 -/* 8030FD20 0030CC80 7C 00 19 D6 */ mullw r0, r0, r3 -/* 8030FD24 0030CC84 7C 00 1E 70 */ srawi r0, r0, 3 -/* 8030FD28 0030CC88 7F FF 02 14 */ add r31, r31, r0 -/* 8030FD2C 0030CC8C 42 00 FF 40 */ bdnz lbl_8030FC6C -/* 8030FD30 0030CC90 71 08 00 03 */ andi. r8, r8, 3 -/* 8030FD34 0030CC94 41 82 00 48 */ beq lbl_8030FD7C -lbl_8030FD38: -/* 8030FD38 0030CC98 7D 09 03 A6 */ mtctr r8 -lbl_8030FD3C: -/* 8030FD3C 0030CC9C A8 FD 00 04 */ lha r7, 4(r29) -/* 8030FD40 0030CCA0 A8 BD 00 06 */ lha r5, 6(r29) -/* 8030FD44 0030CCA4 7C E6 4E 30 */ sraw r6, r7, r9 -/* 8030FD48 0030CCA8 88 1D 00 09 */ lbz r0, 9(r29) -/* 8030FD4C 0030CCAC 7C A4 4E 30 */ sraw r4, r5, r9 -/* 8030FD50 0030CCB0 39 29 00 01 */ addi r9, r9, 1 -/* 8030FD54 0030CCB4 7C 03 07 74 */ extsb r3, r0 -/* 8030FD58 0030CCB8 38 C6 00 03 */ addi r6, r6, 3 -/* 8030FD5C 0030CCBC 38 04 00 03 */ addi r0, r4, 3 -/* 8030FD60 0030CCC0 54 C4 00 3A */ rlwinm r4, r6, 0, 0, 0x1d -/* 8030FD64 0030CCC4 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d -/* 8030FD68 0030CCC8 7C 04 01 D6 */ mullw r0, r4, r0 -/* 8030FD6C 0030CCCC 7C 00 19 D6 */ mullw r0, r0, r3 -/* 8030FD70 0030CCD0 7C 00 1E 70 */ srawi r0, r0, 3 -/* 8030FD74 0030CCD4 7F FF 02 14 */ add r31, r31, r0 -/* 8030FD78 0030CCD8 42 00 FF C4 */ bdnz lbl_8030FD3C -lbl_8030FD7C: -/* 8030FD7C 0030CCDC 38 7D 00 44 */ addi r3, r29, 0x44 -/* 8030FD80 0030CCE0 48 04 85 B5 */ bl GetMRAMSafe__10CARAMTokenFv -/* 8030FD84 0030CCE4 7C 7C 1B 78 */ mr r28, r3 -/* 8030FD88 0030CCE8 3B 40 00 00 */ li r26, 0 -/* 8030FD8C 0030CCEC 48 00 00 3C */ b lbl_8030FDC8 -lbl_8030FD90: -/* 8030FD90 0030CCF0 7F 3A F8 50 */ subf r25, r26, r31 -/* 8030FD94 0030CCF4 2C 19 01 00 */ cmpwi r25, 0x100 -/* 8030FD98 0030CCF8 40 81 00 08 */ ble lbl_8030FDA0 -/* 8030FD9C 0030CCFC 3B 20 01 00 */ li r25, 0x100 -lbl_8030FDA0: -/* 8030FDA0 0030CD00 7F 7C D2 14 */ add r27, r28, r26 -/* 8030FDA4 0030CD04 7F C3 F3 78 */ mr r3, r30 -/* 8030FDA8 0030CD08 7F 64 DB 78 */ mr r4, r27 -/* 8030FDAC 0030CD0C 7F 25 CB 78 */ mr r5, r25 -/* 8030FDB0 0030CD10 48 02 F1 A5 */ bl Get__12CInputStreamFPvUl -/* 8030FDB4 0030CD14 38 19 00 1F */ addi r0, r25, 0x1f -/* 8030FDB8 0030CD18 7F 63 DB 78 */ mr r3, r27 -/* 8030FDBC 0030CD1C 54 04 00 34 */ rlwinm r4, r0, 0, 0, 0x1a -/* 8030FDC0 0030CD20 48 06 ED 51 */ bl DCFlushRangeNoSync -/* 8030FDC4 0030CD24 7F 5A CA 14 */ add r26, r26, r25 -lbl_8030FDC8: -/* 8030FDC8 0030CD28 7C 1A F8 00 */ cmpw r26, r31 -/* 8030FDCC 0030CD2C 41 80 FF C4 */ blt lbl_8030FD90 -/* 8030FDD0 0030CD30 88 0D A8 78 */ lbz r0, lbl_805A9438@sda21(r13) -/* 8030FDD4 0030CD34 28 00 00 00 */ cmplwi r0, 0 -/* 8030FDD8 0030CD38 41 82 00 30 */ beq lbl_8030FE08 -/* 8030FDDC 0030CD3C 7F BB EB 78 */ mr r27, r29 -/* 8030FDE0 0030CD40 3B 20 00 01 */ li r25, 1 -/* 8030FDE4 0030CD44 48 00 00 14 */ b lbl_8030FDF8 -lbl_8030FDE8: -/* 8030FDE8 0030CD48 7F 63 DB 78 */ mr r3, r27 -/* 8030FDEC 0030CD4C 7F 24 CB 78 */ mr r4, r25 -/* 8030FDF0 0030CD50 4B FF E3 E5 */ bl MangleMipmap__8CTextureFi -/* 8030FDF4 0030CD54 3B 39 00 01 */ addi r25, r25, 1 -lbl_8030FDF8: -/* 8030FDF8 0030CD58 88 1D 00 08 */ lbz r0, 8(r29) -/* 8030FDFC 0030CD5C 7C 00 07 74 */ extsb r0, r0 -/* 8030FE00 0030CD60 7C 19 00 00 */ cmpw r25, r0 -/* 8030FE04 0030CD64 41 80 FF E4 */ blt lbl_8030FDE8 -lbl_8030FE08: -/* 8030FE08 0030CD68 7F A3 EB 78 */ mr r3, r29 -/* 8030FE0C 0030CD6C 4B FF FA 25 */ bl InitTextureObjects__8CTextureFv -/* 8030FE10 0030CD70 48 05 F9 FD */ bl PPCSync -/* 8030FE14 0030CD74 7F A3 EB 78 */ mr r3, r29 -/* 8030FE18 0030CD78 BB 21 00 14 */ lmw r25, 0x14(r1) -/* 8030FE1C 0030CD7C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8030FE20 0030CD80 7C 08 03 A6 */ mtlr r0 -/* 8030FE24 0030CD84 38 21 00 30 */ addi r1, r1, 0x30 -/* 8030FE28 0030CD88 4E 80 00 20 */ blr - -.global __ct__8CTextureF12ETexelFormatssi -__ct__8CTextureF12ETexelFormatssi: -/* 8030FE2C 0030CD8C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8030FE30 0030CD90 7C 08 02 A6 */ mflr r0 -/* 8030FE34 0030CD94 90 01 00 24 */ stw r0, 0x24(r1) -/* 8030FE38 0030CD98 BF 61 00 0C */ stmw r27, 0xc(r1) -/* 8030FE3C 0030CD9C 7C 9C 23 78 */ mr r28, r4 -/* 8030FE40 0030CDA0 7C BD 2B 78 */ mr r29, r5 -/* 8030FE44 0030CDA4 7C 7B 1B 78 */ mr r27, r3 -/* 8030FE48 0030CDA8 7C DE 33 78 */ mr r30, r6 -/* 8030FE4C 0030CDAC 7C FF 3B 78 */ mr r31, r7 -/* 8030FE50 0030CDB0 93 83 00 00 */ stw r28, 0(r3) -/* 8030FE54 0030CDB4 B3 A3 00 04 */ sth r29, 4(r3) -/* 8030FE58 0030CDB8 7F 83 E3 78 */ mr r3, r28 -/* 8030FE5C 0030CDBC B3 DB 00 06 */ sth r30, 6(r27) -/* 8030FE60 0030CDC0 9B FB 00 08 */ stb r31, 8(r27) -/* 8030FE64 0030CDC4 4B FF EC A1 */ bl TexelFormatBitsPerPixel__8CTextureF12ETexelFormat -/* 8030FE68 0030CDC8 98 7B 00 09 */ stb r3, 9(r27) -/* 8030FE6C 0030CDCC 38 E0 00 00 */ li r7, 0 -/* 8030FE70 0030CDD0 38 C0 00 01 */ li r6, 1 -/* 8030FE74 0030CDD4 38 80 00 04 */ li r4, 4 -/* 8030FE78 0030CDD8 88 7B 00 0A */ lbz r3, 0xa(r27) -/* 8030FE7C 0030CDDC 50 E3 3E 30 */ rlwimi r3, r7, 7, 0x18, 0x18 -/* 8030FE80 0030CDE0 38 00 00 09 */ li r0, 9 -/* 8030FE84 0030CDE4 98 7B 00 0A */ stb r3, 0xa(r27) -/* 8030FE88 0030CDE8 38 7B 00 44 */ addi r3, r27, 0x44 -/* 8030FE8C 0030CDEC 88 BB 00 0A */ lbz r5, 0xa(r27) -/* 8030FE90 0030CDF0 50 E5 36 72 */ rlwimi r5, r7, 6, 0x19, 0x19 -/* 8030FE94 0030CDF4 98 BB 00 0A */ stb r5, 0xa(r27) -/* 8030FE98 0030CDF8 88 BB 00 0A */ lbz r5, 0xa(r27) -/* 8030FE9C 0030CDFC 50 E5 2E B4 */ rlwimi r5, r7, 5, 0x1a, 0x1a -/* 8030FEA0 0030CE00 98 BB 00 0A */ stb r5, 0xa(r27) -/* 8030FEA4 0030CE04 88 BB 00 0A */ lbz r5, 0xa(r27) -/* 8030FEA8 0030CE08 50 C5 26 F6 */ rlwimi r5, r6, 4, 0x1b, 0x1b -/* 8030FEAC 0030CE0C 98 BB 00 0A */ stb r5, 0xa(r27) -/* 8030FEB0 0030CE10 88 BB 00 0A */ lbz r5, 0xa(r27) -/* 8030FEB4 0030CE14 50 E5 1F 38 */ rlwimi r5, r7, 3, 0x1c, 0x1c -/* 8030FEB8 0030CE18 98 BB 00 0A */ stb r5, 0xa(r27) -/* 8030FEBC 0030CE1C 88 BB 00 0A */ lbz r5, 0xa(r27) -/* 8030FEC0 0030CE20 50 E5 17 7A */ rlwimi r5, r7, 2, 0x1d, 0x1d -/* 8030FEC4 0030CE24 98 BB 00 0A */ stb r5, 0xa(r27) -/* 8030FEC8 0030CE28 90 FB 00 0C */ stw r7, 0xc(r27) -/* 8030FECC 0030CE2C 90 FB 00 10 */ stw r7, 0x10(r27) -/* 8030FED0 0030CE30 90 FB 00 14 */ stw r7, 0x14(r27) -/* 8030FED4 0030CE34 90 9B 00 18 */ stw r4, 0x18(r27) -/* 8030FED8 0030CE38 90 1B 00 1C */ stw r0, 0x1c(r27) -/* 8030FEDC 0030CE3C 90 DB 00 40 */ stw r6, 0x40(r27) -/* 8030FEE0 0030CE40 48 04 8C 1D */ bl __ct__10CARAMTokenFv -/* 8030FEE4 0030CE44 80 0D A8 70 */ lwz r0, lbl_805A9430@sda21(r13) -/* 8030FEE8 0030CE48 7F 63 DB 78 */ mr r3, r27 -/* 8030FEEC 0030CE4C 7F 84 E3 78 */ mr r4, r28 -/* 8030FEF0 0030CE50 7F A5 EB 78 */ mr r5, r29 -/* 8030FEF4 0030CE54 90 1B 00 64 */ stw r0, 0x64(r27) -/* 8030FEF8 0030CE58 7F C6 F3 78 */ mr r6, r30 -/* 8030FEFC 0030CE5C 7F E7 FB 78 */ mr r7, r31 -/* 8030FF00 0030CE60 4B FF EA 71 */ bl InitBitmapBuffers__8CTextureF12ETexelFormatssi -/* 8030FF04 0030CE64 7F 63 DB 78 */ mr r3, r27 -/* 8030FF08 0030CE68 4B FF F9 29 */ bl InitTextureObjects__8CTextureFv -/* 8030FF0C 0030CE6C 7F 63 DB 78 */ mr r3, r27 -/* 8030FF10 0030CE70 BB 61 00 0C */ lmw r27, 0xc(r1) -/* 8030FF14 0030CE74 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8030FF18 0030CE78 7C 08 03 A6 */ mtlr r0 -/* 8030FF1C 0030CE7C 38 21 00 20 */ addi r1, r1, 0x20 -/* 8030FF20 0030CE80 4E 80 00 20 */ blr - -.global sub_8030ff24 -sub_8030ff24: -/* 8030FF24 0030CE84 C0 43 00 00 */ lfs f2, 0(r3) -/* 8030FF28 0030CE88 38 00 00 00 */ li r0, 0 -/* 8030FF2C 0030CE8C C0 04 00 00 */ lfs f0, 0(r4) -/* 8030FF30 0030CE90 EC 02 00 28 */ fsubs f0, f2, f0 -/* 8030FF34 0030CE94 FC 00 02 10 */ fabs f0, f0 -/* 8030FF38 0030CE98 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 8030FF3C 0030CE9C 40 80 00 20 */ bge lbl_8030FF5C -/* 8030FF40 0030CEA0 C0 43 00 04 */ lfs f2, 4(r3) -/* 8030FF44 0030CEA4 C0 04 00 04 */ lfs f0, 4(r4) -/* 8030FF48 0030CEA8 EC 02 00 28 */ fsubs f0, f2, f0 -/* 8030FF4C 0030CEAC FC 00 02 10 */ fabs f0, f0 -/* 8030FF50 0030CEB0 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 8030FF54 0030CEB4 40 80 00 08 */ bge lbl_8030FF5C -/* 8030FF58 0030CEB8 38 00 00 01 */ li r0, 1 -lbl_8030FF5C: -/* 8030FF5C 0030CEBC 7C 03 03 78 */ mr r3, r0 -/* 8030FF60 0030CEC0 4E 80 00 20 */ blr - -.global close_enough__FRC9CVector3fRC9CVector3ff -close_enough__FRC9CVector3fRC9CVector3ff: -/* 8030FF64 0030CEC4 C0 43 00 00 */ lfs f2, 0(r3) -/* 8030FF68 0030CEC8 38 A0 00 00 */ li r5, 0 -/* 8030FF6C 0030CECC C0 04 00 00 */ lfs f0, 0(r4) -/* 8030FF70 0030CED0 7C A0 2B 78 */ mr r0, r5 -/* 8030FF74 0030CED4 EC 02 00 28 */ fsubs f0, f2, f0 -/* 8030FF78 0030CED8 FC 00 02 10 */ fabs f0, f0 -/* 8030FF7C 0030CEDC FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 8030FF80 0030CEE0 40 80 00 20 */ bge lbl_8030FFA0 -/* 8030FF84 0030CEE4 C0 43 00 04 */ lfs f2, 4(r3) -/* 8030FF88 0030CEE8 C0 04 00 04 */ lfs f0, 4(r4) -/* 8030FF8C 0030CEEC EC 02 00 28 */ fsubs f0, f2, f0 -/* 8030FF90 0030CEF0 FC 00 02 10 */ fabs f0, f0 -/* 8030FF94 0030CEF4 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 8030FF98 0030CEF8 40 80 00 08 */ bge lbl_8030FFA0 -/* 8030FF9C 0030CEFC 38 00 00 01 */ li r0, 1 -lbl_8030FFA0: -/* 8030FFA0 0030CF00 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 8030FFA4 0030CF04 41 82 00 20 */ beq lbl_8030FFC4 -/* 8030FFA8 0030CF08 C0 43 00 08 */ lfs f2, 8(r3) -/* 8030FFAC 0030CF0C C0 04 00 08 */ lfs f0, 8(r4) -/* 8030FFB0 0030CF10 EC 02 00 28 */ fsubs f0, f2, f0 -/* 8030FFB4 0030CF14 FC 00 02 10 */ fabs f0, f0 -/* 8030FFB8 0030CF18 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 8030FFBC 0030CF1C 40 80 00 08 */ bge lbl_8030FFC4 -/* 8030FFC0 0030CF20 38 A0 00 01 */ li r5, 1 -lbl_8030FFC4: -/* 8030FFC4 0030CF24 7C A3 2B 78 */ mr r3, r5 -/* 8030FFC8 0030CF28 4E 80 00 20 */ blr - -.global __sinit_CloseEnough_cpp -__sinit_CloseEnough_cpp: -/* 8030FFCC 0030CF2C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8030FFD0 0030CF30 7C 08 02 A6 */ mflr r0 -/* 8030FFD4 0030CF34 C0 22 C8 48 */ lfs f1, lbl_805AE568@sda21(r2) -/* 8030FFD8 0030CF38 38 6D A8 80 */ addi r3, r13, lbl_805A9440@sda21 -/* 8030FFDC 0030CF3C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8030FFE0 0030CF40 FC 40 08 90 */ fmr f2, f1 -/* 8030FFE4 0030CF44 48 00 42 1D */ bl __ct__9CVector2fFff -/* 8030FFE8 0030CF48 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8030FFEC 0030CF4C 7C 08 03 A6 */ mtlr r0 -/* 8030FFF0 0030CF50 38 21 00 10 */ addi r1, r1, 0x10 -/* 8030FFF4 0030CF54 4E 80 00 20 */ blr - -.global __as__9CMatrix3fFRC9CMatrix3f -__as__9CMatrix3fFRC9CMatrix3f: -/* 8030FFF8 0030CF58 C8 04 00 00 */ lfd f0, 0(r4) -/* 8030FFFC 0030CF5C C8 24 00 08 */ lfd f1, 8(r4) -/* 80310000 0030CF60 C8 44 00 10 */ lfd f2, 0x10(r4) -/* 80310004 0030CF64 D8 03 00 00 */ stfd f0, 0(r3) -/* 80310008 0030CF68 D8 23 00 08 */ stfd f1, 8(r3) -/* 8031000C 0030CF6C D8 43 00 10 */ stfd f2, 0x10(r3) -/* 80310010 0030CF70 C8 04 00 18 */ lfd f0, 0x18(r4) -/* 80310014 0030CF74 C0 24 00 20 */ lfs f1, 0x20(r4) -/* 80310018 0030CF78 D8 03 00 18 */ stfd f0, 0x18(r3) -/* 8031001C 0030CF7C D0 23 00 20 */ stfs f1, 0x20(r3) -/* 80310020 0030CF80 4E 80 00 20 */ blr - -.global __ct__9CMatrix3fFRC9CMatrix3f -__ct__9CMatrix3fFRC9CMatrix3f: -/* 80310024 0030CF84 C8 04 00 00 */ lfd f0, 0(r4) -/* 80310028 0030CF88 C8 24 00 08 */ lfd f1, 8(r4) -/* 8031002C 0030CF8C C8 44 00 10 */ lfd f2, 0x10(r4) -/* 80310030 0030CF90 D8 03 00 00 */ stfd f0, 0(r3) -/* 80310034 0030CF94 D8 23 00 08 */ stfd f1, 8(r3) -/* 80310038 0030CF98 D8 43 00 10 */ stfd f2, 0x10(r3) -/* 8031003C 0030CF9C C8 04 00 18 */ lfd f0, 0x18(r4) -/* 80310040 0030CFA0 C0 24 00 20 */ lfs f1, 0x20(r4) -/* 80310044 0030CFA4 D8 03 00 18 */ stfd f0, 0x18(r3) -/* 80310048 0030CFA8 D0 23 00 20 */ stfs f1, 0x20(r3) -/* 8031004C 0030CFAC 4E 80 00 20 */ blr - -.global AddScaledMatrix__9CMatrix3fFRC9CMatrix3ff -AddScaledMatrix__9CMatrix3fFRC9CMatrix3ff: -/* 80310050 0030CFB0 C0 44 00 00 */ lfs f2, 0(r4) -/* 80310054 0030CFB4 C0 03 00 00 */ lfs f0, 0(r3) -/* 80310058 0030CFB8 EC 02 00 7A */ fmadds f0, f2, f1, f0 -/* 8031005C 0030CFBC D0 03 00 00 */ stfs f0, 0(r3) -/* 80310060 0030CFC0 C0 44 00 04 */ lfs f2, 4(r4) -/* 80310064 0030CFC4 C0 03 00 04 */ lfs f0, 4(r3) -/* 80310068 0030CFC8 EC 02 00 7A */ fmadds f0, f2, f1, f0 -/* 8031006C 0030CFCC D0 03 00 04 */ stfs f0, 4(r3) -/* 80310070 0030CFD0 C0 44 00 08 */ lfs f2, 8(r4) -/* 80310074 0030CFD4 C0 03 00 08 */ lfs f0, 8(r3) -/* 80310078 0030CFD8 EC 02 00 7A */ fmadds f0, f2, f1, f0 -/* 8031007C 0030CFDC D0 03 00 08 */ stfs f0, 8(r3) -/* 80310080 0030CFE0 C0 44 00 0C */ lfs f2, 0xc(r4) -/* 80310084 0030CFE4 C0 03 00 0C */ lfs f0, 0xc(r3) -/* 80310088 0030CFE8 EC 02 00 7A */ fmadds f0, f2, f1, f0 -/* 8031008C 0030CFEC D0 03 00 0C */ stfs f0, 0xc(r3) -/* 80310090 0030CFF0 C0 44 00 10 */ lfs f2, 0x10(r4) -/* 80310094 0030CFF4 C0 03 00 10 */ lfs f0, 0x10(r3) -/* 80310098 0030CFF8 EC 02 00 7A */ fmadds f0, f2, f1, f0 -/* 8031009C 0030CFFC D0 03 00 10 */ stfs f0, 0x10(r3) -/* 803100A0 0030D000 C0 44 00 14 */ lfs f2, 0x14(r4) -/* 803100A4 0030D004 C0 03 00 14 */ lfs f0, 0x14(r3) -/* 803100A8 0030D008 EC 02 00 7A */ fmadds f0, f2, f1, f0 -/* 803100AC 0030D00C D0 03 00 14 */ stfs f0, 0x14(r3) -/* 803100B0 0030D010 C0 44 00 18 */ lfs f2, 0x18(r4) -/* 803100B4 0030D014 C0 03 00 18 */ lfs f0, 0x18(r3) -/* 803100B8 0030D018 EC 02 00 7A */ fmadds f0, f2, f1, f0 -/* 803100BC 0030D01C D0 03 00 18 */ stfs f0, 0x18(r3) -/* 803100C0 0030D020 C0 44 00 1C */ lfs f2, 0x1c(r4) -/* 803100C4 0030D024 C0 03 00 1C */ lfs f0, 0x1c(r3) -/* 803100C8 0030D028 EC 02 00 7A */ fmadds f0, f2, f1, f0 -/* 803100CC 0030D02C D0 03 00 1C */ stfs f0, 0x1c(r3) -/* 803100D0 0030D030 C0 44 00 20 */ lfs f2, 0x20(r4) -/* 803100D4 0030D034 C0 03 00 20 */ lfs f0, 0x20(r3) -/* 803100D8 0030D038 EC 02 00 7A */ fmadds f0, f2, f1, f0 -/* 803100DC 0030D03C D0 03 00 20 */ stfs f0, 0x20(r3) -/* 803100E0 0030D040 4E 80 00 20 */ blr - -.global Determinant__9CMatrix3fCFv -Determinant__9CMatrix3fCFv: -/* 803100E4 0030D044 C1 23 00 0C */ lfs f9, 0xc(r3) -/* 803100E8 0030D048 C0 C3 00 20 */ lfs f6, 0x20(r3) -/* 803100EC 0030D04C C0 83 00 18 */ lfs f4, 0x18(r3) -/* 803100F0 0030D050 EC 09 01 B2 */ fmuls f0, f9, f6 -/* 803100F4 0030D054 C0 63 00 14 */ lfs f3, 0x14(r3) -/* 803100F8 0030D058 C1 03 00 1C */ lfs f8, 0x1c(r3) -/* 803100FC 0030D05C C0 E3 00 10 */ lfs f7, 0x10(r3) -/* 80310100 0030D060 EC 43 02 32 */ fmuls f2, f3, f8 -/* 80310104 0030D064 C0 23 00 04 */ lfs f1, 4(r3) -/* 80310108 0030D068 EC 03 01 38 */ fmsubs f0, f3, f4, f0 -/* 8031010C 0030D06C C0 63 00 00 */ lfs f3, 0(r3) -/* 80310110 0030D070 EC 87 01 32 */ fmuls f4, f7, f4 -/* 80310114 0030D074 C0 A3 00 08 */ lfs f5, 8(r3) -/* 80310118 0030D078 EC 47 11 B8 */ fmsubs f2, f7, f6, f2 -/* 8031011C 0030D07C EC 01 00 32 */ fmuls f0, f1, f0 -/* 80310120 0030D080 EC 29 22 38 */ fmsubs f1, f9, f8, f4 -/* 80310124 0030D084 EC 03 00 BA */ fmadds f0, f3, f2, f0 -/* 80310128 0030D088 EC 25 00 7A */ fmadds f1, f5, f1, f0 -/* 8031012C 0030D08C 4E 80 00 20 */ blr - -.global __ml__9CMatrix3fCFRC9CMatrix3f -__ml__9CMatrix3fCFRC9CMatrix3f: -/* 80310130 0030D090 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 80310134 0030D094 DB E1 00 80 */ stfd f31, 0x80(r1) -/* 80310138 0030D098 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 -/* 8031013C 0030D09C DB C1 00 70 */ stfd f30, 0x70(r1) -/* 80310140 0030D0A0 F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 -/* 80310144 0030D0A4 DB A1 00 60 */ stfd f29, 0x60(r1) -/* 80310148 0030D0A8 F3 A1 00 68 */ psq_st f29, 104(r1), 0, qr0 -/* 8031014C 0030D0AC DB 81 00 50 */ stfd f28, 0x50(r1) -/* 80310150 0030D0B0 F3 81 00 58 */ psq_st f28, 88(r1), 0, qr0 -/* 80310154 0030D0B4 DB 61 00 40 */ stfd f27, 0x40(r1) -/* 80310158 0030D0B8 F3 61 00 48 */ psq_st f27, 72(r1), 0, qr0 -/* 8031015C 0030D0BC DB 41 00 30 */ stfd f26, 0x30(r1) -/* 80310160 0030D0C0 F3 41 00 38 */ psq_st f26, 56(r1), 0, qr0 -/* 80310164 0030D0C4 DB 21 00 20 */ stfd f25, 0x20(r1) -/* 80310168 0030D0C8 F3 21 00 28 */ psq_st f25, 40(r1), 0, qr0 -/* 8031016C 0030D0CC DB 01 00 10 */ stfd f24, 0x10(r1) -/* 80310170 0030D0D0 F3 01 00 18 */ psq_st f24, 24(r1), 0, qr0 -/* 80310174 0030D0D4 C3 05 00 0C */ lfs f24, 0xc(r5) -/* 80310178 0030D0D8 C0 C4 00 04 */ lfs f6, 4(r4) -/* 8031017C 0030D0DC C0 85 00 10 */ lfs f4, 0x10(r5) -/* 80310180 0030D0E0 EC 66 06 32 */ fmuls f3, f6, f24 -/* 80310184 0030D0E4 C0 25 00 00 */ lfs f1, 0(r5) -/* 80310188 0030D0E8 C3 44 00 00 */ lfs f26, 0(r4) -/* 8031018C 0030D0EC EC 06 01 32 */ fmuls f0, f6, f4 -/* 80310190 0030D0F0 C0 A5 00 14 */ lfs f5, 0x14(r5) -/* 80310194 0030D0F4 C1 04 00 10 */ lfs f8, 0x10(r4) -/* 80310198 0030D0F8 C0 45 00 04 */ lfs f2, 4(r5) -/* 8031019C 0030D0FC ED 7A 18 7A */ fmadds f11, f26, f1, f3 -/* 803101A0 0030D100 ED A6 01 72 */ fmuls f13, f6, f5 -/* 803101A4 0030D104 C0 65 00 08 */ lfs f3, 8(r5) -/* 803101A8 0030D108 C3 A4 00 1C */ lfs f29, 0x1c(r4) -/* 803101AC 0030D10C ED 9A 00 BA */ fmadds f12, f26, f2, f0 -/* 803101B0 0030D110 C0 C5 00 18 */ lfs f6, 0x18(r5) -/* 803101B4 0030D114 C3 24 00 08 */ lfs f25, 8(r4) -/* 803101B8 0030D118 C0 E5 00 1C */ lfs f7, 0x1c(r5) -/* 803101BC 0030D11C ED 48 06 32 */ fmuls f10, f8, f24 -/* 803101C0 0030D120 C3 64 00 0C */ lfs f27, 0xc(r4) -/* 803101C4 0030D124 ED 28 01 32 */ fmuls f9, f8, f4 -/* 803101C8 0030D128 EF C8 01 72 */ fmuls f30, f8, f5 -/* 803101CC 0030D12C C1 05 00 20 */ lfs f8, 0x20(r5) -/* 803101D0 0030D130 EF FA 68 FA */ fmadds f31, f26, f3, f13 -/* 803101D4 0030D134 ED B9 59 BA */ fmadds f13, f25, f6, f11 -/* 803101D8 0030D138 C0 04 00 20 */ lfs f0, 0x20(r4) -/* 803101DC 0030D13C C3 84 00 18 */ lfs f28, 0x18(r4) -/* 803101E0 0030D140 C3 44 00 14 */ lfs f26, 0x14(r4) -/* 803101E4 0030D144 ED 7B 50 7A */ fmadds f11, f27, f1, f10 -/* 803101E8 0030D148 ED 5B 48 BA */ fmadds f10, f27, f2, f9 -/* 803101EC 0030D14C ED 3D 06 32 */ fmuls f9, f29, f24 -/* 803101F0 0030D150 D1 A3 00 00 */ stfs f13, 0(r3) -/* 803101F4 0030D154 ED 99 61 FA */ fmadds f12, f25, f7, f12 -/* 803101F8 0030D158 ED BB F0 FA */ fmadds f13, f27, f3, f30 -/* 803101FC 0030D15C EC 9D 01 32 */ fmuls f4, f29, f4 -/* 80310200 0030D160 ED 3C 48 7A */ fmadds f9, f28, f1, f9 -/* 80310204 0030D164 D1 83 00 04 */ stfs f12, 4(r3) -/* 80310208 0030D168 ED 99 FA 3A */ fmadds f12, f25, f8, f31 -/* 8031020C 0030D16C EC BD 01 72 */ fmuls f5, f29, f5 -/* 80310210 0030D170 EC 3C 20 BA */ fmadds f1, f28, f2, f4 -/* 80310214 0030D174 EC 5A 59 BA */ fmadds f2, f26, f6, f11 -/* 80310218 0030D178 D1 83 00 08 */ stfs f12, 8(r3) -/* 8031021C 0030D17C EC 9C 28 FA */ fmadds f4, f28, f3, f5 -/* 80310220 0030D180 EC 7A 51 FA */ fmadds f3, f26, f7, f10 -/* 80310224 0030D184 D0 43 00 0C */ stfs f2, 0xc(r3) -/* 80310228 0030D188 EC BA 6A 3A */ fmadds f5, f26, f8, f13 -/* 8031022C 0030D18C EC 40 49 BA */ fmadds f2, f0, f6, f9 -/* 80310230 0030D190 D0 63 00 10 */ stfs f3, 0x10(r3) -/* 80310234 0030D194 EC 20 09 FA */ fmadds f1, f0, f7, f1 -/* 80310238 0030D198 EC 00 22 3A */ fmadds f0, f0, f8, f4 -/* 8031023C 0030D19C D0 A3 00 14 */ stfs f5, 0x14(r3) -/* 80310240 0030D1A0 D0 43 00 18 */ stfs f2, 0x18(r3) -/* 80310244 0030D1A4 D0 23 00 1C */ stfs f1, 0x1c(r3) -/* 80310248 0030D1A8 D0 03 00 20 */ stfs f0, 0x20(r3) -/* 8031024C 0030D1AC E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 -/* 80310250 0030D1B0 CB E1 00 80 */ lfd f31, 0x80(r1) -/* 80310254 0030D1B4 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 -/* 80310258 0030D1B8 CB C1 00 70 */ lfd f30, 0x70(r1) -/* 8031025C 0030D1BC E3 A1 00 68 */ psq_l f29, 104(r1), 0, qr0 -/* 80310260 0030D1C0 CB A1 00 60 */ lfd f29, 0x60(r1) -/* 80310264 0030D1C4 E3 81 00 58 */ psq_l f28, 88(r1), 0, qr0 -/* 80310268 0030D1C8 CB 81 00 50 */ lfd f28, 0x50(r1) -/* 8031026C 0030D1CC E3 61 00 48 */ psq_l f27, 72(r1), 0, qr0 -/* 80310270 0030D1D0 CB 61 00 40 */ lfd f27, 0x40(r1) -/* 80310274 0030D1D4 E3 41 00 38 */ psq_l f26, 56(r1), 0, qr0 -/* 80310278 0030D1D8 CB 41 00 30 */ lfd f26, 0x30(r1) -/* 8031027C 0030D1DC E3 21 00 28 */ psq_l f25, 40(r1), 0, qr0 -/* 80310280 0030D1E0 CB 21 00 20 */ lfd f25, 0x20(r1) -/* 80310284 0030D1E4 E3 01 00 18 */ psq_l f24, 24(r1), 0, qr0 -/* 80310288 0030D1E8 CB 01 00 10 */ lfd f24, 0x10(r1) -/* 8031028C 0030D1EC 38 21 00 90 */ addi r1, r1, 0x90 -/* 80310290 0030D1F0 4E 80 00 20 */ blr - -.global __ml__9CMatrix3fCFRC9CVector3f -__ml__9CMatrix3fCFRC9CVector3f: -/* 80310294 0030D1F4 C0 65 00 04 */ lfs f3, 4(r5) -/* 80310298 0030D1F8 C0 04 00 04 */ lfs f0, 4(r4) -/* 8031029C 0030D1FC C0 44 00 10 */ lfs f2, 0x10(r4) -/* 803102A0 0030D200 EC 03 00 32 */ fmuls f0, f3, f0 -/* 803102A4 0030D204 C0 E5 00 00 */ lfs f7, 0(r5) -/* 803102A8 0030D208 C0 24 00 00 */ lfs f1, 0(r4) -/* 803102AC 0030D20C EC 83 00 B2 */ fmuls f4, f3, f2 -/* 803102B0 0030D210 C0 44 00 1C */ lfs f2, 0x1c(r4) -/* 803102B4 0030D214 C0 A4 00 0C */ lfs f5, 0xc(r4) -/* 803102B8 0030D218 EC 07 00 7A */ fmadds f0, f7, f1, f0 -/* 803102BC 0030D21C C1 05 00 08 */ lfs f8, 8(r5) -/* 803102C0 0030D220 C0 24 00 08 */ lfs f1, 8(r4) -/* 803102C4 0030D224 EC 43 00 B2 */ fmuls f2, f3, f2 -/* 803102C8 0030D228 C0 64 00 18 */ lfs f3, 0x18(r4) -/* 803102CC 0030D22C EC A7 21 7A */ fmadds f5, f7, f5, f4 -/* 803102D0 0030D230 C0 C4 00 14 */ lfs f6, 0x14(r4) -/* 803102D4 0030D234 EC 08 00 7A */ fmadds f0, f8, f1, f0 -/* 803102D8 0030D238 C0 84 00 20 */ lfs f4, 0x20(r4) -/* 803102DC 0030D23C EC 27 10 FA */ fmadds f1, f7, f3, f2 -/* 803102E0 0030D240 EC 48 29 BA */ fmadds f2, f8, f6, f5 -/* 803102E4 0030D244 D0 03 00 00 */ stfs f0, 0(r3) -/* 803102E8 0030D248 EC 08 09 3A */ fmadds f0, f8, f4, f1 -/* 803102EC 0030D24C D0 43 00 04 */ stfs f2, 4(r3) -/* 803102F0 0030D250 D0 03 00 08 */ stfs f0, 8(r3) -/* 803102F4 0030D254 4E 80 00 20 */ blr - -.global Orthonormalized__9CMatrix3fCFv -Orthonormalized__9CMatrix3fCFv: -/* 803102F8 0030D258 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 803102FC 0030D25C 7C 08 02 A6 */ mflr r0 -/* 80310300 0030D260 90 01 00 44 */ stw r0, 0x44(r1) -/* 80310304 0030D264 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 80310308 0030D268 7C 9F 23 78 */ mr r31, r4 -/* 8031030C 0030D26C 93 C1 00 38 */ stw r30, 0x38(r1) -/* 80310310 0030D270 7C 7E 1B 78 */ mr r30, r3 -/* 80310314 0030D274 38 61 00 20 */ addi r3, r1, 0x20 -/* 80310318 0030D278 C0 44 00 18 */ lfs f2, 0x18(r4) -/* 8031031C 0030D27C C0 24 00 0C */ lfs f1, 0xc(r4) -/* 80310320 0030D280 C0 04 00 00 */ lfs f0, 0(r4) -/* 80310324 0030D284 D0 21 00 24 */ stfs f1, 0x24(r1) -/* 80310328 0030D288 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 8031032C 0030D28C D0 41 00 28 */ stfs f2, 0x28(r1) -/* 80310330 0030D290 48 00 45 C9 */ bl Normalize__9CVector3fFv -/* 80310334 0030D294 C0 5F 00 1C */ lfs f2, 0x1c(r31) -/* 80310338 0030D298 38 61 00 14 */ addi r3, r1, 0x14 -/* 8031033C 0030D29C C0 3F 00 10 */ lfs f1, 0x10(r31) -/* 80310340 0030D2A0 C0 1F 00 04 */ lfs f0, 4(r31) -/* 80310344 0030D2A4 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 80310348 0030D2A8 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 8031034C 0030D2AC D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 80310350 0030D2B0 48 00 45 A9 */ bl Normalize__9CVector3fFv -/* 80310354 0030D2B4 C0 61 00 24 */ lfs f3, 0x24(r1) -/* 80310358 0030D2B8 38 61 00 08 */ addi r3, r1, 8 -/* 8031035C 0030D2BC C0 E1 00 14 */ lfs f7, 0x14(r1) -/* 80310360 0030D2C0 C0 81 00 28 */ lfs f4, 0x28(r1) -/* 80310364 0030D2C4 C0 41 00 18 */ lfs f2, 0x18(r1) -/* 80310368 0030D2C8 EC 07 00 F2 */ fmuls f0, f7, f3 -/* 8031036C 0030D2CC C0 C1 00 20 */ lfs f6, 0x20(r1) -/* 80310370 0030D2D0 C0 A1 00 1C */ lfs f5, 0x1c(r1) -/* 80310374 0030D2D4 EC 22 01 32 */ fmuls f1, f2, f4 -/* 80310378 0030D2D8 EC 46 00 B8 */ fmsubs f2, f6, f2, f0 -/* 8031037C 0030D2DC EC 05 01 B2 */ fmuls f0, f5, f6 -/* 80310380 0030D2E0 EC 23 09 78 */ fmsubs f1, f3, f5, f1 -/* 80310384 0030D2E4 D0 41 00 10 */ stfs f2, 0x10(r1) -/* 80310388 0030D2E8 EC 04 01 F8 */ fmsubs f0, f4, f7, f0 -/* 8031038C 0030D2EC D0 21 00 08 */ stfs f1, 8(r1) -/* 80310390 0030D2F0 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 80310394 0030D2F4 48 00 45 65 */ bl Normalize__9CVector3fFv -/* 80310398 0030D2F8 C0 61 00 0C */ lfs f3, 0xc(r1) -/* 8031039C 0030D2FC 38 61 00 14 */ addi r3, r1, 0x14 -/* 803103A0 0030D300 C0 E1 00 20 */ lfs f7, 0x20(r1) -/* 803103A4 0030D304 C0 81 00 10 */ lfs f4, 0x10(r1) -/* 803103A8 0030D308 C0 41 00 24 */ lfs f2, 0x24(r1) -/* 803103AC 0030D30C EC 07 00 F2 */ fmuls f0, f7, f3 -/* 803103B0 0030D310 C0 C1 00 08 */ lfs f6, 8(r1) -/* 803103B4 0030D314 C0 A1 00 28 */ lfs f5, 0x28(r1) -/* 803103B8 0030D318 EC 22 01 32 */ fmuls f1, f2, f4 -/* 803103BC 0030D31C EC 46 00 B8 */ fmsubs f2, f6, f2, f0 -/* 803103C0 0030D320 EC 05 01 B2 */ fmuls f0, f5, f6 -/* 803103C4 0030D324 EC 23 09 78 */ fmsubs f1, f3, f5, f1 -/* 803103C8 0030D328 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 803103CC 0030D32C EC 04 01 F8 */ fmsubs f0, f4, f7, f0 -/* 803103D0 0030D330 D0 21 00 14 */ stfs f1, 0x14(r1) -/* 803103D4 0030D334 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 803103D8 0030D338 48 00 45 21 */ bl Normalize__9CVector3fFv -/* 803103DC 0030D33C 7F C3 F3 78 */ mr r3, r30 -/* 803103E0 0030D340 38 81 00 20 */ addi r4, r1, 0x20 -/* 803103E4 0030D344 38 A1 00 14 */ addi r5, r1, 0x14 -/* 803103E8 0030D348 38 C1 00 08 */ addi r6, r1, 8 -/* 803103EC 0030D34C 48 00 02 91 */ bl __ct__9CMatrix3fFRC9CVector3fRC9CVector3fRC9CVector3f -/* 803103F0 0030D350 80 01 00 44 */ lwz r0, 0x44(r1) -/* 803103F4 0030D354 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 803103F8 0030D358 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 803103FC 0030D35C 7C 08 03 A6 */ mtlr r0 -/* 80310400 0030D360 38 21 00 40 */ addi r1, r1, 0x40 -/* 80310404 0030D364 4E 80 00 20 */ blr - -.global RotateZ__9CMatrix3fFRC9CRelAngle -RotateZ__9CMatrix3fFRC9CRelAngle: -/* 80310408 0030D368 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8031040C 0030D36C 7C 08 02 A6 */ mflr r0 -/* 80310410 0030D370 90 01 00 24 */ stw r0, 0x24(r1) -/* 80310414 0030D374 DB E1 00 10 */ stfd f31, 0x10(r1) -/* 80310418 0030D378 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 -/* 8031041C 0030D37C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80310420 0030D380 93 C1 00 08 */ stw r30, 8(r1) -/* 80310424 0030D384 7C 9F 23 78 */ mr r31, r4 -/* 80310428 0030D388 7C 7E 1B 78 */ mr r30, r3 -/* 8031042C 0030D38C C0 24 00 00 */ lfs f1, 0(r4) -/* 80310430 0030D390 48 08 46 AD */ bl sin -/* 80310434 0030D394 FF E0 08 18 */ frsp f31, f1 -/* 80310438 0030D398 C0 3F 00 00 */ lfs f1, 0(r31) -/* 8031043C 0030D39C 48 08 3F B5 */ bl cos -/* 80310440 0030D3A0 FC 60 08 18 */ frsp f3, f1 -/* 80310444 0030D3A4 C0 22 C8 50 */ lfs f1, lbl_805AE570@sda21(r2) -/* 80310448 0030D3A8 FC 40 F8 50 */ fneg f2, f31 -/* 8031044C 0030D3AC C0 02 C8 54 */ lfs f0, lbl_805AE574@sda21(r2) -/* 80310450 0030D3B0 D0 7E 00 00 */ stfs f3, 0(r30) -/* 80310454 0030D3B4 D0 5E 00 04 */ stfs f2, 4(r30) -/* 80310458 0030D3B8 D0 3E 00 08 */ stfs f1, 8(r30) -/* 8031045C 0030D3BC D3 FE 00 0C */ stfs f31, 0xc(r30) -/* 80310460 0030D3C0 D0 7E 00 10 */ stfs f3, 0x10(r30) -/* 80310464 0030D3C4 D0 3E 00 14 */ stfs f1, 0x14(r30) -/* 80310468 0030D3C8 D0 3E 00 18 */ stfs f1, 0x18(r30) -/* 8031046C 0030D3CC D0 3E 00 1C */ stfs f1, 0x1c(r30) -/* 80310470 0030D3D0 D0 1E 00 20 */ stfs f0, 0x20(r30) -/* 80310474 0030D3D4 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 -/* 80310478 0030D3D8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8031047C 0030D3DC CB E1 00 10 */ lfd f31, 0x10(r1) -/* 80310480 0030D3E0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80310484 0030D3E4 83 C1 00 08 */ lwz r30, 8(r1) -/* 80310488 0030D3E8 7C 08 03 A6 */ mtlr r0 -/* 8031048C 0030D3EC 38 21 00 20 */ addi r1, r1, 0x20 -/* 80310490 0030D3F0 4E 80 00 20 */ blr - -.global RotateY__9CMatrix3fFRC9CRelAngle -RotateY__9CMatrix3fFRC9CRelAngle: -/* 80310494 0030D3F4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80310498 0030D3F8 7C 08 02 A6 */ mflr r0 -/* 8031049C 0030D3FC 90 01 00 24 */ stw r0, 0x24(r1) -/* 803104A0 0030D400 DB E1 00 10 */ stfd f31, 0x10(r1) -/* 803104A4 0030D404 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 -/* 803104A8 0030D408 93 E1 00 0C */ stw r31, 0xc(r1) -/* 803104AC 0030D40C 93 C1 00 08 */ stw r30, 8(r1) -/* 803104B0 0030D410 7C 9F 23 78 */ mr r31, r4 -/* 803104B4 0030D414 7C 7E 1B 78 */ mr r30, r3 -/* 803104B8 0030D418 C0 24 00 00 */ lfs f1, 0(r4) -/* 803104BC 0030D41C 48 08 46 21 */ bl sin -/* 803104C0 0030D420 FF E0 08 18 */ frsp f31, f1 -/* 803104C4 0030D424 C0 3F 00 00 */ lfs f1, 0(r31) -/* 803104C8 0030D428 48 08 3F 29 */ bl cos -/* 803104CC 0030D42C FC 60 08 18 */ frsp f3, f1 -/* 803104D0 0030D430 C0 42 C8 50 */ lfs f2, lbl_805AE570@sda21(r2) -/* 803104D4 0030D434 C0 22 C8 54 */ lfs f1, lbl_805AE574@sda21(r2) -/* 803104D8 0030D438 FC 00 F8 50 */ fneg f0, f31 -/* 803104DC 0030D43C D0 7E 00 00 */ stfs f3, 0(r30) -/* 803104E0 0030D440 D0 5E 00 04 */ stfs f2, 4(r30) -/* 803104E4 0030D444 D3 FE 00 08 */ stfs f31, 8(r30) -/* 803104E8 0030D448 D0 5E 00 0C */ stfs f2, 0xc(r30) -/* 803104EC 0030D44C D0 3E 00 10 */ stfs f1, 0x10(r30) -/* 803104F0 0030D450 D0 5E 00 14 */ stfs f2, 0x14(r30) -/* 803104F4 0030D454 D0 1E 00 18 */ stfs f0, 0x18(r30) -/* 803104F8 0030D458 D0 5E 00 1C */ stfs f2, 0x1c(r30) -/* 803104FC 0030D45C D0 7E 00 20 */ stfs f3, 0x20(r30) -/* 80310500 0030D460 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 -/* 80310504 0030D464 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80310508 0030D468 CB E1 00 10 */ lfd f31, 0x10(r1) -/* 8031050C 0030D46C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80310510 0030D470 83 C1 00 08 */ lwz r30, 8(r1) -/* 80310514 0030D474 7C 08 03 A6 */ mtlr r0 -/* 80310518 0030D478 38 21 00 20 */ addi r1, r1, 0x20 -/* 8031051C 0030D47C 4E 80 00 20 */ blr - -.global __ct__9CMatrix3fFR12CInputStream -__ct__9CMatrix3fFR12CInputStream: -/* 80310520 0030D480 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80310524 0030D484 7C 08 02 A6 */ mflr r0 -/* 80310528 0030D488 90 01 00 14 */ stw r0, 0x14(r1) -/* 8031052C 0030D48C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80310530 0030D490 7C 9F 23 78 */ mr r31, r4 -/* 80310534 0030D494 93 C1 00 08 */ stw r30, 8(r1) -/* 80310538 0030D498 7C 7E 1B 78 */ mr r30, r3 -/* 8031053C 0030D49C 7F E3 FB 78 */ mr r3, r31 -/* 80310540 0030D4A0 48 02 E6 E9 */ bl ReadFloat__12CInputStreamFv -/* 80310544 0030D4A4 D0 3E 00 00 */ stfs f1, 0(r30) -/* 80310548 0030D4A8 7F E3 FB 78 */ mr r3, r31 -/* 8031054C 0030D4AC 48 02 E6 DD */ bl ReadFloat__12CInputStreamFv -/* 80310550 0030D4B0 D0 3E 00 04 */ stfs f1, 4(r30) -/* 80310554 0030D4B4 7F E3 FB 78 */ mr r3, r31 -/* 80310558 0030D4B8 48 02 E6 D1 */ bl ReadFloat__12CInputStreamFv -/* 8031055C 0030D4BC D0 3E 00 08 */ stfs f1, 8(r30) -/* 80310560 0030D4C0 7F E3 FB 78 */ mr r3, r31 -/* 80310564 0030D4C4 48 02 E6 C5 */ bl ReadFloat__12CInputStreamFv -/* 80310568 0030D4C8 D0 3E 00 0C */ stfs f1, 0xc(r30) -/* 8031056C 0030D4CC 7F E3 FB 78 */ mr r3, r31 -/* 80310570 0030D4D0 48 02 E6 B9 */ bl ReadFloat__12CInputStreamFv -/* 80310574 0030D4D4 D0 3E 00 10 */ stfs f1, 0x10(r30) -/* 80310578 0030D4D8 7F E3 FB 78 */ mr r3, r31 -/* 8031057C 0030D4DC 48 02 E6 AD */ bl ReadFloat__12CInputStreamFv -/* 80310580 0030D4E0 D0 3E 00 14 */ stfs f1, 0x14(r30) -/* 80310584 0030D4E4 7F E3 FB 78 */ mr r3, r31 -/* 80310588 0030D4E8 48 02 E6 A1 */ bl ReadFloat__12CInputStreamFv -/* 8031058C 0030D4EC D0 3E 00 18 */ stfs f1, 0x18(r30) -/* 80310590 0030D4F0 7F E3 FB 78 */ mr r3, r31 -/* 80310594 0030D4F4 48 02 E6 95 */ bl ReadFloat__12CInputStreamFv -/* 80310598 0030D4F8 D0 3E 00 1C */ stfs f1, 0x1c(r30) -/* 8031059C 0030D4FC 7F E3 FB 78 */ mr r3, r31 -/* 803105A0 0030D500 48 02 E6 89 */ bl ReadFloat__12CInputStreamFv -/* 803105A4 0030D504 D0 3E 00 20 */ stfs f1, 0x20(r30) -/* 803105A8 0030D508 7F C3 F3 78 */ mr r3, r30 -/* 803105AC 0030D50C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803105B0 0030D510 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 803105B4 0030D514 83 C1 00 08 */ lwz r30, 8(r1) -/* 803105B8 0030D518 7C 08 03 A6 */ mtlr r0 -/* 803105BC 0030D51C 38 21 00 10 */ addi r1, r1, 0x10 -/* 803105C0 0030D520 4E 80 00 20 */ blr - -.global __ct__9CMatrix3fFRC9CMatrix3ffRC9CMatrix3ff -__ct__9CMatrix3fFRC9CMatrix3ffRC9CMatrix3ff: -/* 803105C4 0030D524 C0 05 00 00 */ lfs f0, 0(r5) -/* 803105C8 0030D528 C0 64 00 00 */ lfs f3, 0(r4) -/* 803105CC 0030D52C EC 00 00 B2 */ fmuls f0, f0, f2 -/* 803105D0 0030D530 EC 03 00 7A */ fmadds f0, f3, f1, f0 -/* 803105D4 0030D534 D0 03 00 00 */ stfs f0, 0(r3) -/* 803105D8 0030D538 C0 05 00 04 */ lfs f0, 4(r5) -/* 803105DC 0030D53C C0 64 00 04 */ lfs f3, 4(r4) -/* 803105E0 0030D540 EC 00 00 B2 */ fmuls f0, f0, f2 -/* 803105E4 0030D544 EC 03 00 7A */ fmadds f0, f3, f1, f0 -/* 803105E8 0030D548 D0 03 00 04 */ stfs f0, 4(r3) -/* 803105EC 0030D54C C0 05 00 08 */ lfs f0, 8(r5) -/* 803105F0 0030D550 C0 64 00 08 */ lfs f3, 8(r4) -/* 803105F4 0030D554 EC 00 00 B2 */ fmuls f0, f0, f2 -/* 803105F8 0030D558 EC 03 00 7A */ fmadds f0, f3, f1, f0 -/* 803105FC 0030D55C D0 03 00 08 */ stfs f0, 8(r3) -/* 80310600 0030D560 C0 05 00 0C */ lfs f0, 0xc(r5) -/* 80310604 0030D564 C0 64 00 0C */ lfs f3, 0xc(r4) -/* 80310608 0030D568 EC 00 00 B2 */ fmuls f0, f0, f2 -/* 8031060C 0030D56C EC 03 00 7A */ fmadds f0, f3, f1, f0 -/* 80310610 0030D570 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 80310614 0030D574 C0 05 00 10 */ lfs f0, 0x10(r5) -/* 80310618 0030D578 C0 64 00 10 */ lfs f3, 0x10(r4) -/* 8031061C 0030D57C EC 00 00 B2 */ fmuls f0, f0, f2 -/* 80310620 0030D580 EC 03 00 7A */ fmadds f0, f3, f1, f0 -/* 80310624 0030D584 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 80310628 0030D588 C0 05 00 14 */ lfs f0, 0x14(r5) -/* 8031062C 0030D58C C0 64 00 14 */ lfs f3, 0x14(r4) -/* 80310630 0030D590 EC 00 00 B2 */ fmuls f0, f0, f2 -/* 80310634 0030D594 EC 03 00 7A */ fmadds f0, f3, f1, f0 -/* 80310638 0030D598 D0 03 00 14 */ stfs f0, 0x14(r3) -/* 8031063C 0030D59C C0 05 00 18 */ lfs f0, 0x18(r5) -/* 80310640 0030D5A0 C0 64 00 18 */ lfs f3, 0x18(r4) -/* 80310644 0030D5A4 EC 00 00 B2 */ fmuls f0, f0, f2 -/* 80310648 0030D5A8 EC 03 00 7A */ fmadds f0, f3, f1, f0 -/* 8031064C 0030D5AC D0 03 00 18 */ stfs f0, 0x18(r3) -/* 80310650 0030D5B0 C0 05 00 1C */ lfs f0, 0x1c(r5) -/* 80310654 0030D5B4 C0 64 00 1C */ lfs f3, 0x1c(r4) -/* 80310658 0030D5B8 EC 00 00 B2 */ fmuls f0, f0, f2 -/* 8031065C 0030D5BC EC 03 00 7A */ fmadds f0, f3, f1, f0 -/* 80310660 0030D5C0 D0 03 00 1C */ stfs f0, 0x1c(r3) -/* 80310664 0030D5C4 C0 05 00 20 */ lfs f0, 0x20(r5) -/* 80310668 0030D5C8 C0 64 00 20 */ lfs f3, 0x20(r4) -/* 8031066C 0030D5CC EC 00 00 B2 */ fmuls f0, f0, f2 -/* 80310670 0030D5D0 EC 03 00 7A */ fmadds f0, f3, f1, f0 -/* 80310674 0030D5D4 D0 03 00 20 */ stfs f0, 0x20(r3) -/* 80310678 0030D5D8 4E 80 00 20 */ blr - -.global __ct__9CMatrix3fFRC9CVector3fRC9CVector3fRC9CVector3f -__ct__9CMatrix3fFRC9CVector3fRC9CVector3fRC9CVector3f: -/* 8031067C 0030D5DC C0 04 00 00 */ lfs f0, 0(r4) -/* 80310680 0030D5E0 D0 03 00 00 */ stfs f0, 0(r3) -/* 80310684 0030D5E4 C0 04 00 04 */ lfs f0, 4(r4) -/* 80310688 0030D5E8 D0 03 00 04 */ stfs f0, 4(r3) -/* 8031068C 0030D5EC C0 04 00 08 */ lfs f0, 8(r4) -/* 80310690 0030D5F0 D0 03 00 08 */ stfs f0, 8(r3) -/* 80310694 0030D5F4 C0 05 00 00 */ lfs f0, 0(r5) -/* 80310698 0030D5F8 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 8031069C 0030D5FC C0 05 00 04 */ lfs f0, 4(r5) -/* 803106A0 0030D600 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 803106A4 0030D604 C0 05 00 08 */ lfs f0, 8(r5) -/* 803106A8 0030D608 D0 03 00 14 */ stfs f0, 0x14(r3) -/* 803106AC 0030D60C C0 06 00 00 */ lfs f0, 0(r6) -/* 803106B0 0030D610 D0 03 00 18 */ stfs f0, 0x18(r3) -/* 803106B4 0030D614 C0 06 00 04 */ lfs f0, 4(r6) -/* 803106B8 0030D618 D0 03 00 1C */ stfs f0, 0x1c(r3) -/* 803106BC 0030D61C C0 06 00 08 */ lfs f0, 8(r6) -/* 803106C0 0030D620 D0 03 00 20 */ stfs f0, 0x20(r3) -/* 803106C4 0030D624 4E 80 00 20 */ blr - -.global __sinit_CMatrix3f_cpp -__sinit_CMatrix3f_cpp: -/* 803106C8 0030D628 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 803106CC 0030D62C 7C 08 02 A6 */ mflr r0 -/* 803106D0 0030D630 3C 60 80 5A */ lis r3, lbl_805A65FC@ha -/* 803106D4 0030D634 C0 02 C8 50 */ lfs f0, lbl_805AE570@sda21(r2) -/* 803106D8 0030D638 90 01 00 34 */ stw r0, 0x34(r1) -/* 803106DC 0030D63C 38 63 65 FC */ addi r3, r3, lbl_805A65FC@l -/* 803106E0 0030D640 C0 22 C8 54 */ lfs f1, lbl_805AE574@sda21(r2) -/* 803106E4 0030D644 38 81 00 08 */ addi r4, r1, 8 -/* 803106E8 0030D648 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 803106EC 0030D64C D0 21 00 08 */ stfs f1, 8(r1) -/* 803106F0 0030D650 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 803106F4 0030D654 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 803106F8 0030D658 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 803106FC 0030D65C D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 80310700 0030D660 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 80310704 0030D664 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 80310708 0030D668 D0 21 00 28 */ stfs f1, 0x28(r1) -/* 8031070C 0030D66C 4B FF F9 19 */ bl __ct__9CMatrix3fFRC9CMatrix3f -/* 80310710 0030D670 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80310714 0030D674 7C 08 03 A6 */ mtlr r0 -/* 80310718 0030D678 38 21 00 30 */ addi r1, r1, 0x30 -/* 8031071C 0030D67C 4E 80 00 20 */ blr - -.global MultiplyGetW__9CMatrix4fCFRC9CVector3f -MultiplyGetW__9CMatrix4fCFRC9CVector3f: -/* 80310720 0030D680 C0 24 00 04 */ lfs f1, 4(r4) -/* 80310724 0030D684 C0 03 00 34 */ lfs f0, 0x34(r3) -/* 80310728 0030D688 C0 44 00 00 */ lfs f2, 0(r4) -/* 8031072C 0030D68C EC 01 00 32 */ fmuls f0, f1, f0 -/* 80310730 0030D690 C0 23 00 30 */ lfs f1, 0x30(r3) -/* 80310734 0030D694 C0 84 00 08 */ lfs f4, 8(r4) -/* 80310738 0030D698 C0 63 00 38 */ lfs f3, 0x38(r3) -/* 8031073C 0030D69C EC 02 00 7A */ fmadds f0, f2, f1, f0 -/* 80310740 0030D6A0 C0 23 00 3C */ lfs f1, 0x3c(r3) -/* 80310744 0030D6A4 EC 04 00 FA */ fmadds f0, f4, f3, f0 -/* 80310748 0030D6A8 EC 21 00 2A */ fadds f1, f1, f0 -/* 8031074C 0030D6AC 4E 80 00 20 */ blr - -.global MultiplyOneOverW__9CMatrix4fCFRC9CVector3f -MultiplyOneOverW__9CMatrix4fCFRC9CVector3f: -/* 80310750 0030D6B0 C0 E5 00 04 */ lfs f7, 4(r5) -/* 80310754 0030D6B4 C0 04 00 34 */ lfs f0, 0x34(r4) -/* 80310758 0030D6B8 C0 44 00 04 */ lfs f2, 4(r4) -/* 8031075C 0030D6BC EC 07 00 32 */ fmuls f0, f7, f0 -/* 80310760 0030D6C0 C1 65 00 00 */ lfs f11, 0(r5) -/* 80310764 0030D6C4 C0 24 00 30 */ lfs f1, 0x30(r4) -/* 80310768 0030D6C8 EC A7 00 B2 */ fmuls f5, f7, f2 -/* 8031076C 0030D6CC C0 44 00 14 */ lfs f2, 0x14(r4) -/* 80310770 0030D6D0 EC 0B 00 7A */ fmadds f0, f11, f1, f0 -/* 80310774 0030D6D4 C1 85 00 08 */ lfs f12, 8(r5) -/* 80310778 0030D6D8 EC 87 00 B2 */ fmuls f4, f7, f2 -/* 8031077C 0030D6DC C0 24 00 38 */ lfs f1, 0x38(r4) -/* 80310780 0030D6E0 C0 44 00 3C */ lfs f2, 0x3c(r4) -/* 80310784 0030D6E4 EC 0C 00 7A */ fmadds f0, f12, f1, f0 -/* 80310788 0030D6E8 C0 C4 00 00 */ lfs f6, 0(r4) -/* 8031078C 0030D6EC C0 64 00 24 */ lfs f3, 0x24(r4) -/* 80310790 0030D6F0 C0 22 C8 58 */ lfs f1, lbl_805AE578@sda21(r2) -/* 80310794 0030D6F4 ED 0B 29 BA */ fmadds f8, f11, f6, f5 -/* 80310798 0030D6F8 EC 02 00 2A */ fadds f0, f2, f0 -/* 8031079C 0030D6FC C0 A4 00 10 */ lfs f5, 0x10(r4) -/* 803107A0 0030D700 EC 47 00 F2 */ fmuls f2, f7, f3 -/* 803107A4 0030D704 C1 24 00 08 */ lfs f9, 8(r4) -/* 803107A8 0030D708 ED A1 00 24 */ fdivs f13, f1, f0 -/* 803107AC 0030D70C C0 04 00 20 */ lfs f0, 0x20(r4) -/* 803107B0 0030D710 C0 C4 00 18 */ lfs f6, 0x18(r4) -/* 803107B4 0030D714 C1 44 00 0C */ lfs f10, 0xc(r4) -/* 803107B8 0030D718 C0 24 00 28 */ lfs f1, 0x28(r4) -/* 803107BC 0030D71C C0 E4 00 1C */ lfs f7, 0x1c(r4) -/* 803107C0 0030D720 EC 8B 21 7A */ fmadds f4, f11, f5, f4 -/* 803107C4 0030D724 C0 64 00 2C */ lfs f3, 0x2c(r4) -/* 803107C8 0030D728 EC AC 42 7A */ fmadds f5, f12, f9, f8 -/* 803107CC 0030D72C EC 0B 10 3A */ fmadds f0, f11, f0, f2 -/* 803107D0 0030D730 EC 4C 21 BA */ fmadds f2, f12, f6, f4 -/* 803107D4 0030D734 EC 8A 28 2A */ fadds f4, f10, f5 -/* 803107D8 0030D738 EC 0C 00 7A */ fmadds f0, f12, f1, f0 -/* 803107DC 0030D73C EC 27 10 2A */ fadds f1, f7, f2 -/* 803107E0 0030D740 EC 84 03 72 */ fmuls f4, f4, f13 -/* 803107E4 0030D744 EC 03 00 2A */ fadds f0, f3, f0 -/* 803107E8 0030D748 EC 21 03 72 */ fmuls f1, f1, f13 -/* 803107EC 0030D74C D0 83 00 00 */ stfs f4, 0(r3) -/* 803107F0 0030D750 EC 00 03 72 */ fmuls f0, f0, f13 -/* 803107F4 0030D754 D0 23 00 04 */ stfs f1, 4(r3) -/* 803107F8 0030D758 D0 03 00 08 */ stfs f0, 8(r3) -/* 803107FC 0030D75C 4E 80 00 20 */ blr - -.global __ml__9CMatrix4fCFRC9CVector3f -__ml__9CMatrix4fCFRC9CVector3f: -/* 80310800 0030D760 C0 65 00 04 */ lfs f3, 4(r5) -/* 80310804 0030D764 C0 04 00 04 */ lfs f0, 4(r4) -/* 80310808 0030D768 C0 44 00 14 */ lfs f2, 0x14(r4) -/* 8031080C 0030D76C EC 03 00 32 */ fmuls f0, f3, f0 -/* 80310810 0030D770 C0 C5 00 00 */ lfs f6, 0(r5) -/* 80310814 0030D774 C0 24 00 00 */ lfs f1, 0(r4) -/* 80310818 0030D778 EC 83 00 B2 */ fmuls f4, f3, f2 -/* 8031081C 0030D77C C0 44 00 24 */ lfs f2, 0x24(r4) -/* 80310820 0030D780 C0 A4 00 10 */ lfs f5, 0x10(r4) -/* 80310824 0030D784 EC 06 00 7A */ fmadds f0, f6, f1, f0 -/* 80310828 0030D788 C0 E5 00 08 */ lfs f7, 8(r5) -/* 8031082C 0030D78C C0 24 00 08 */ lfs f1, 8(r4) -/* 80310830 0030D790 EC 43 00 B2 */ fmuls f2, f3, f2 -/* 80310834 0030D794 C0 64 00 20 */ lfs f3, 0x20(r4) -/* 80310838 0030D798 EC 86 21 7A */ fmadds f4, f6, f5, f4 -/* 8031083C 0030D79C C0 A4 00 18 */ lfs f5, 0x18(r4) -/* 80310840 0030D7A0 EC 07 00 7A */ fmadds f0, f7, f1, f0 -/* 80310844 0030D7A4 C0 24 00 0C */ lfs f1, 0xc(r4) -/* 80310848 0030D7A8 EC 46 10 FA */ fmadds f2, f6, f3, f2 -/* 8031084C 0030D7AC C0 64 00 28 */ lfs f3, 0x28(r4) -/* 80310850 0030D7B0 EC A7 21 7A */ fmadds f5, f7, f5, f4 -/* 80310854 0030D7B4 C0 C4 00 1C */ lfs f6, 0x1c(r4) -/* 80310858 0030D7B8 EC 01 00 2A */ fadds f0, f1, f0 -/* 8031085C 0030D7BC C0 84 00 2C */ lfs f4, 0x2c(r4) -/* 80310860 0030D7C0 EC 27 10 FA */ fmadds f1, f7, f3, f2 -/* 80310864 0030D7C4 EC 46 28 2A */ fadds f2, f6, f5 -/* 80310868 0030D7C8 D0 03 00 00 */ stfs f0, 0(r3) -/* 8031086C 0030D7CC EC 04 08 2A */ fadds f0, f4, f1 -/* 80310870 0030D7D0 D0 43 00 04 */ stfs f2, 4(r3) -/* 80310874 0030D7D4 D0 03 00 08 */ stfs f0, 8(r3) -/* 80310878 0030D7D8 4E 80 00 20 */ blr - -.global __ct__9CMatrix4fFffffffffffffffff -__ct__9CMatrix4fFffffffffffffffff: -/* 8031087C 0030D7DC D0 23 00 00 */ stfs f1, 0(r3) -/* 80310880 0030D7E0 C1 61 00 08 */ lfs f11, 8(r1) -/* 80310884 0030D7E4 D0 43 00 04 */ stfs f2, 4(r3) -/* 80310888 0030D7E8 C1 41 00 0C */ lfs f10, 0xc(r1) -/* 8031088C 0030D7EC D0 63 00 08 */ stfs f3, 8(r3) -/* 80310890 0030D7F0 C1 21 00 10 */ lfs f9, 0x10(r1) -/* 80310894 0030D7F4 D0 83 00 0C */ stfs f4, 0xc(r3) -/* 80310898 0030D7F8 C0 81 00 14 */ lfs f4, 0x14(r1) -/* 8031089C 0030D7FC D0 A3 00 10 */ stfs f5, 0x10(r3) -/* 803108A0 0030D800 C0 61 00 18 */ lfs f3, 0x18(r1) -/* 803108A4 0030D804 D0 C3 00 14 */ stfs f6, 0x14(r3) -/* 803108A8 0030D808 C0 41 00 1C */ lfs f2, 0x1c(r1) -/* 803108AC 0030D80C D0 E3 00 18 */ stfs f7, 0x18(r3) -/* 803108B0 0030D810 C0 21 00 20 */ lfs f1, 0x20(r1) -/* 803108B4 0030D814 D1 03 00 1C */ stfs f8, 0x1c(r3) -/* 803108B8 0030D818 C0 01 00 24 */ lfs f0, 0x24(r1) -/* 803108BC 0030D81C D1 63 00 20 */ stfs f11, 0x20(r3) -/* 803108C0 0030D820 D1 43 00 24 */ stfs f10, 0x24(r3) -/* 803108C4 0030D824 D1 23 00 28 */ stfs f9, 0x28(r3) -/* 803108C8 0030D828 D0 83 00 2C */ stfs f4, 0x2c(r3) -/* 803108CC 0030D82C D0 63 00 30 */ stfs f3, 0x30(r3) -/* 803108D0 0030D830 D0 43 00 34 */ stfs f2, 0x34(r3) -/* 803108D4 0030D834 D0 23 00 38 */ stfs f1, 0x38(r3) -/* 803108D8 0030D838 D0 03 00 3C */ stfs f0, 0x3c(r3) -/* 803108DC 0030D83C 4E 80 00 20 */ blr - -.global __sinit_CMatrix4f_cpp -__sinit_CMatrix4f_cpp: -/* 803108E0 0030D840 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 803108E4 0030D844 7C 08 02 A6 */ mflr r0 -/* 803108E8 0030D848 90 01 00 94 */ stw r0, 0x94(r1) -/* 803108EC 0030D84C DB E1 00 80 */ stfd f31, 0x80(r1) -/* 803108F0 0030D850 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 -/* 803108F4 0030D854 DB C1 00 70 */ stfd f30, 0x70(r1) -/* 803108F8 0030D858 F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 -/* 803108FC 0030D85C C0 42 C8 5C */ lfs f2, lbl_805AE57C@sda21(r2) -/* 80310900 0030D860 38 61 00 28 */ addi r3, r1, 0x28 -/* 80310904 0030D864 C0 22 C8 58 */ lfs f1, lbl_805AE578@sda21(r2) -/* 80310908 0030D868 D0 41 00 08 */ stfs f2, 8(r1) -/* 8031090C 0030D86C FC 60 10 90 */ fmr f3, f2 -/* 80310910 0030D870 FC 80 10 90 */ fmr f4, f2 -/* 80310914 0030D874 D0 41 00 0C */ stfs f2, 0xc(r1) -/* 80310918 0030D878 FC A0 10 90 */ fmr f5, f2 -/* 8031091C 0030D87C FC C0 08 90 */ fmr f6, f1 -/* 80310920 0030D880 D0 21 00 10 */ stfs f1, 0x10(r1) -/* 80310924 0030D884 FC E0 10 90 */ fmr f7, f2 -/* 80310928 0030D888 FD 00 10 90 */ fmr f8, f2 -/* 8031092C 0030D88C D0 41 00 14 */ stfs f2, 0x14(r1) -/* 80310930 0030D890 D0 41 00 18 */ stfs f2, 0x18(r1) -/* 80310934 0030D894 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 80310938 0030D898 D0 41 00 20 */ stfs f2, 0x20(r1) -/* 8031093C 0030D89C D0 21 00 24 */ stfs f1, 0x24(r1) -/* 80310940 0030D8A0 4B FF FF 3D */ bl __ct__9CMatrix4fFffffffffffffffff -/* 80310944 0030D8A4 C3 C1 00 28 */ lfs f30, 0x28(r1) -/* 80310948 0030D8A8 3C 60 80 5A */ lis r3, lbl_805A6620@ha -/* 8031094C 0030D8AC C3 E1 00 2C */ lfs f31, 0x2c(r1) -/* 80310950 0030D8B0 D7 C3 66 20 */ stfsu f30, lbl_805A6620@l(r3) -/* 80310954 0030D8B4 C1 A1 00 30 */ lfs f13, 0x30(r1) -/* 80310958 0030D8B8 C1 81 00 34 */ lfs f12, 0x34(r1) -/* 8031095C 0030D8BC C1 61 00 38 */ lfs f11, 0x38(r1) -/* 80310960 0030D8C0 C1 41 00 3C */ lfs f10, 0x3c(r1) -/* 80310964 0030D8C4 C1 21 00 40 */ lfs f9, 0x40(r1) -/* 80310968 0030D8C8 C1 01 00 44 */ lfs f8, 0x44(r1) -/* 8031096C 0030D8CC C0 E1 00 48 */ lfs f7, 0x48(r1) -/* 80310970 0030D8D0 C0 C1 00 4C */ lfs f6, 0x4c(r1) -/* 80310974 0030D8D4 C0 A1 00 50 */ lfs f5, 0x50(r1) -/* 80310978 0030D8D8 C0 81 00 54 */ lfs f4, 0x54(r1) -/* 8031097C 0030D8DC C0 61 00 58 */ lfs f3, 0x58(r1) -/* 80310980 0030D8E0 C0 41 00 5C */ lfs f2, 0x5c(r1) -/* 80310984 0030D8E4 C0 21 00 60 */ lfs f1, 0x60(r1) -/* 80310988 0030D8E8 C0 01 00 64 */ lfs f0, 0x64(r1) -/* 8031098C 0030D8EC D3 E3 00 04 */ stfs f31, 4(r3) -/* 80310990 0030D8F0 D1 A3 00 08 */ stfs f13, 8(r3) -/* 80310994 0030D8F4 D1 83 00 0C */ stfs f12, 0xc(r3) -/* 80310998 0030D8F8 D1 63 00 10 */ stfs f11, 0x10(r3) -/* 8031099C 0030D8FC D1 43 00 14 */ stfs f10, 0x14(r3) -/* 803109A0 0030D900 D1 23 00 18 */ stfs f9, 0x18(r3) -/* 803109A4 0030D904 D1 03 00 1C */ stfs f8, 0x1c(r3) -/* 803109A8 0030D908 D0 E3 00 20 */ stfs f7, 0x20(r3) -/* 803109AC 0030D90C D0 C3 00 24 */ stfs f6, 0x24(r3) -/* 803109B0 0030D910 D0 A3 00 28 */ stfs f5, 0x28(r3) -/* 803109B4 0030D914 D0 83 00 2C */ stfs f4, 0x2c(r3) -/* 803109B8 0030D918 D0 63 00 30 */ stfs f3, 0x30(r3) -/* 803109BC 0030D91C D0 43 00 34 */ stfs f2, 0x34(r3) -/* 803109C0 0030D920 D0 23 00 38 */ stfs f1, 0x38(r3) -/* 803109C4 0030D924 D0 03 00 3C */ stfs f0, 0x3c(r3) -/* 803109C8 0030D928 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 -/* 803109CC 0030D92C CB E1 00 80 */ lfd f31, 0x80(r1) -/* 803109D0 0030D930 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 -/* 803109D4 0030D934 80 01 00 94 */ lwz r0, 0x94(r1) -/* 803109D8 0030D938 CB C1 00 70 */ lfd f30, 0x70(r1) -/* 803109DC 0030D93C 7C 08 03 A6 */ mtlr r0 -/* 803109E0 0030D940 38 21 00 90 */ addi r1, r1, 0x90 -/* 803109E4 0030D944 4E 80 00 20 */ blr - -.global FromNUQuaternion__11CQuaternionFRC13CNUQuaternion -FromNUQuaternion__11CQuaternionFRC13CNUQuaternion: -/* 803109E8 0030D948 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 803109EC 0030D94C 7C 08 02 A6 */ mflr r0 -/* 803109F0 0030D950 90 01 00 24 */ stw r0, 0x24(r1) -/* 803109F4 0030D954 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 803109F8 0030D958 7C 7F 1B 78 */ mr r31, r3 -/* 803109FC 0030D95C 38 61 00 08 */ addi r3, r1, 8 -/* 80310A00 0030D960 48 00 03 E9 */ bl AsNormalized__13CNUQuaternionCFv -/* 80310A04 0030D964 C0 21 00 0C */ lfs f1, 0xc(r1) -/* 80310A08 0030D968 C0 41 00 10 */ lfs f2, 0x10(r1) -/* 80310A0C 0030D96C C0 61 00 14 */ lfs f3, 0x14(r1) -/* 80310A10 0030D970 C0 01 00 08 */ lfs f0, 8(r1) -/* 80310A14 0030D974 D0 1F 00 00 */ stfs f0, 0(r31) -/* 80310A18 0030D978 D0 3F 00 04 */ stfs f1, 4(r31) -/* 80310A1C 0030D97C D0 5F 00 08 */ stfs f2, 8(r31) -/* 80310A20 0030D980 D0 7F 00 0C */ stfs f3, 0xc(r31) -/* 80310A24 0030D984 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80310A28 0030D988 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80310A2C 0030D98C 7C 08 03 A6 */ mtlr r0 -/* 80310A30 0030D990 38 21 00 20 */ addi r1, r1, 0x20 -/* 80310A34 0030D994 4E 80 00 20 */ blr - -.global __ml__FfRC13CNUQuaternion -__ml__FfRC13CNUQuaternion: -/* 80310A38 0030D998 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80310A3C 0030D99C 7C 08 02 A6 */ mflr r0 -/* 80310A40 0030D9A0 90 01 00 24 */ stw r0, 0x24(r1) -/* 80310A44 0030D9A4 C0 84 00 08 */ lfs f4, 8(r4) -/* 80310A48 0030D9A8 C0 64 00 0C */ lfs f3, 0xc(r4) -/* 80310A4C 0030D9AC C0 44 00 04 */ lfs f2, 4(r4) -/* 80310A50 0030D9B0 EC C1 01 32 */ fmuls f6, f1, f4 -/* 80310A54 0030D9B4 C0 04 00 00 */ lfs f0, 0(r4) -/* 80310A58 0030D9B8 EC A1 00 F2 */ fmuls f5, f1, f3 -/* 80310A5C 0030D9BC D0 41 00 08 */ stfs f2, 8(r1) -/* 80310A60 0030D9C0 EC 41 00 B2 */ fmuls f2, f1, f2 -/* 80310A64 0030D9C4 EC 21 00 32 */ fmuls f1, f1, f0 -/* 80310A68 0030D9C8 D0 81 00 0C */ stfs f4, 0xc(r1) -/* 80310A6C 0030D9CC 38 81 00 14 */ addi r4, r1, 0x14 -/* 80310A70 0030D9D0 D0 61 00 10 */ stfs f3, 0x10(r1) -/* 80310A74 0030D9D4 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 80310A78 0030D9D8 D0 C1 00 18 */ stfs f6, 0x18(r1) -/* 80310A7C 0030D9DC D0 A1 00 1C */ stfs f5, 0x1c(r1) -/* 80310A80 0030D9E0 48 00 05 81 */ bl __ct__13CNUQuaternionFfRC9CVector3f -/* 80310A84 0030D9E4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80310A88 0030D9E8 7C 08 03 A6 */ mtlr r0 -/* 80310A8C 0030D9EC 38 21 00 20 */ addi r1, r1, 0x20 -/* 80310A90 0030D9F0 4E 80 00 20 */ blr - -.global __ml__FRC13CNUQuaternionf -__ml__FRC13CNUQuaternionf: -/* 80310A94 0030D9F4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80310A98 0030D9F8 7C 08 02 A6 */ mflr r0 -/* 80310A9C 0030D9FC 90 01 00 24 */ stw r0, 0x24(r1) -/* 80310AA0 0030DA00 C0 84 00 08 */ lfs f4, 8(r4) -/* 80310AA4 0030DA04 C0 64 00 0C */ lfs f3, 0xc(r4) -/* 80310AA8 0030DA08 C0 44 00 04 */ lfs f2, 4(r4) -/* 80310AAC 0030DA0C EC C1 01 32 */ fmuls f6, f1, f4 -/* 80310AB0 0030DA10 C0 04 00 00 */ lfs f0, 0(r4) -/* 80310AB4 0030DA14 EC A1 00 F2 */ fmuls f5, f1, f3 -/* 80310AB8 0030DA18 D0 41 00 08 */ stfs f2, 8(r1) -/* 80310ABC 0030DA1C EC 41 00 B2 */ fmuls f2, f1, f2 -/* 80310AC0 0030DA20 EC 21 00 32 */ fmuls f1, f1, f0 -/* 80310AC4 0030DA24 D0 81 00 0C */ stfs f4, 0xc(r1) -/* 80310AC8 0030DA28 38 81 00 14 */ addi r4, r1, 0x14 -/* 80310ACC 0030DA2C D0 61 00 10 */ stfs f3, 0x10(r1) -/* 80310AD0 0030DA30 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 80310AD4 0030DA34 D0 C1 00 18 */ stfs f6, 0x18(r1) -/* 80310AD8 0030DA38 D0 A1 00 1C */ stfs f5, 0x1c(r1) -/* 80310ADC 0030DA3C 48 00 05 25 */ bl __ct__13CNUQuaternionFfRC9CVector3f -/* 80310AE0 0030DA40 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80310AE4 0030DA44 7C 08 03 A6 */ mtlr r0 -/* 80310AE8 0030DA48 38 21 00 20 */ addi r1, r1, 0x20 -/* 80310AEC 0030DA4C 4E 80 00 20 */ blr - -.global BuildFromMatrix3f__13CNUQuaternionFRC9CMatrix3f -BuildFromMatrix3f__13CNUQuaternionFRC9CMatrix3f: -/* 80310AF0 0030DA50 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80310AF4 0030DA54 7C 08 02 A6 */ mflr r0 -/* 80310AF8 0030DA58 C0 02 C8 60 */ lfs f0, lbl_805AE580@sda21(r2) -/* 80310AFC 0030DA5C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80310B00 0030DA60 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80310B04 0030DA64 7C 9F 23 78 */ mr r31, r4 -/* 80310B08 0030DA68 93 C1 00 08 */ stw r30, 8(r1) -/* 80310B0C 0030DA6C 7C 7E 1B 78 */ mr r30, r3 -/* 80310B10 0030DA70 C0 44 00 00 */ lfs f2, 0(r4) -/* 80310B14 0030DA74 C0 64 00 10 */ lfs f3, 0x10(r4) -/* 80310B18 0030DA78 C0 24 00 20 */ lfs f1, 0x20(r4) -/* 80310B1C 0030DA7C EC 82 18 2A */ fadds f4, f2, f3 -/* 80310B20 0030DA80 EC A1 20 2A */ fadds f5, f1, f4 -/* 80310B24 0030DA84 FC 05 00 40 */ fcmpo cr0, f5, f0 -/* 80310B28 0030DA88 4C 41 13 82 */ cror 2, 1, 2 -/* 80310B2C 0030DA8C 40 82 00 58 */ bne lbl_80310B84 -/* 80310B30 0030DA90 C0 02 C8 64 */ lfs f0, lbl_805AE584@sda21(r2) -/* 80310B34 0030DA94 EC 20 28 2A */ fadds f1, f0, f5 -/* 80310B38 0030DA98 48 00 49 C9 */ bl SqrtF__5CMathFf -/* 80310B3C 0030DA9C C0 E2 C8 68 */ lfs f7, lbl_805AE588@sda21(r2) -/* 80310B40 0030DAA0 7F C3 F3 78 */ mr r3, r30 -/* 80310B44 0030DAA4 C0 DF 00 1C */ lfs f6, 0x1c(r31) -/* 80310B48 0030DAA8 ED 07 08 24 */ fdivs f8, f7, f1 -/* 80310B4C 0030DAAC C0 BF 00 14 */ lfs f5, 0x14(r31) -/* 80310B50 0030DAB0 C0 9F 00 08 */ lfs f4, 8(r31) -/* 80310B54 0030DAB4 C0 7F 00 18 */ lfs f3, 0x18(r31) -/* 80310B58 0030DAB8 C0 5F 00 0C */ lfs f2, 0xc(r31) -/* 80310B5C 0030DABC C0 1F 00 04 */ lfs f0, 4(r31) -/* 80310B60 0030DAC0 EC 64 18 28 */ fsubs f3, f4, f3 -/* 80310B64 0030DAC4 EC 02 00 28 */ fsubs f0, f2, f0 -/* 80310B68 0030DAC8 EC A6 28 28 */ fsubs f5, f6, f5 -/* 80310B6C 0030DACC EC 27 00 72 */ fmuls f1, f7, f1 -/* 80310B70 0030DAD0 EC 68 00 F2 */ fmuls f3, f8, f3 -/* 80310B74 0030DAD4 EC 48 01 72 */ fmuls f2, f8, f5 -/* 80310B78 0030DAD8 EC 88 00 32 */ fmuls f4, f8, f0 -/* 80310B7C 0030DADC 48 00 04 71 */ bl __ct__13CNUQuaternionFffff -/* 80310B80 0030DAE0 48 00 01 7C */ b lbl_80310CFC -lbl_80310B84: -/* 80310B84 0030DAE4 FC 03 10 40 */ fcmpo cr0, f3, f2 -/* 80310B88 0030DAE8 38 00 00 00 */ li r0, 0 -/* 80310B8C 0030DAEC 40 81 00 18 */ ble lbl_80310BA4 -/* 80310B90 0030DAF0 FC 01 18 40 */ fcmpo cr0, f1, f3 -/* 80310B94 0030DAF4 38 00 00 01 */ li r0, 1 -/* 80310B98 0030DAF8 40 81 00 18 */ ble lbl_80310BB0 -/* 80310B9C 0030DAFC 38 00 00 02 */ li r0, 2 -/* 80310BA0 0030DB00 48 00 00 10 */ b lbl_80310BB0 -lbl_80310BA4: -/* 80310BA4 0030DB04 FC 01 10 40 */ fcmpo cr0, f1, f2 -/* 80310BA8 0030DB08 40 81 00 08 */ ble lbl_80310BB0 -/* 80310BAC 0030DB0C 38 00 00 02 */ li r0, 2 -lbl_80310BB0: -/* 80310BB0 0030DB10 2C 00 00 01 */ cmpwi r0, 1 -/* 80310BB4 0030DB14 41 82 00 7C */ beq lbl_80310C30 -/* 80310BB8 0030DB18 40 80 00 10 */ bge lbl_80310BC8 -/* 80310BBC 0030DB1C 2C 00 00 00 */ cmpwi r0, 0 -/* 80310BC0 0030DB20 40 80 00 14 */ bge lbl_80310BD4 -/* 80310BC4 0030DB24 48 00 01 20 */ b lbl_80310CE4 -lbl_80310BC8: -/* 80310BC8 0030DB28 2C 00 00 03 */ cmpwi r0, 3 -/* 80310BCC 0030DB2C 40 80 01 18 */ bge lbl_80310CE4 -/* 80310BD0 0030DB30 48 00 00 BC */ b lbl_80310C8C -lbl_80310BD4: -/* 80310BD4 0030DB34 EC 03 08 2A */ fadds f0, f3, f1 -/* 80310BD8 0030DB38 C0 22 C8 64 */ lfs f1, lbl_805AE584@sda21(r2) -/* 80310BDC 0030DB3C EC 02 00 28 */ fsubs f0, f2, f0 -/* 80310BE0 0030DB40 EC 21 00 2A */ fadds f1, f1, f0 -/* 80310BE4 0030DB44 48 00 49 1D */ bl SqrtF__5CMathFf -/* 80310BE8 0030DB48 C0 42 C8 68 */ lfs f2, lbl_805AE588@sda21(r2) -/* 80310BEC 0030DB4C 7F C3 F3 78 */ mr r3, r30 -/* 80310BF0 0030DB50 C0 FF 00 1C */ lfs f7, 0x1c(r31) -/* 80310BF4 0030DB54 ED 02 08 24 */ fdivs f8, f2, f1 -/* 80310BF8 0030DB58 C0 DF 00 14 */ lfs f6, 0x14(r31) -/* 80310BFC 0030DB5C C0 BF 00 04 */ lfs f5, 4(r31) -/* 80310C00 0030DB60 C0 9F 00 0C */ lfs f4, 0xc(r31) -/* 80310C04 0030DB64 C0 7F 00 18 */ lfs f3, 0x18(r31) -/* 80310C08 0030DB68 C0 1F 00 08 */ lfs f0, 8(r31) -/* 80310C0C 0030DB6C EC 42 00 72 */ fmuls f2, f2, f1 -/* 80310C10 0030DB70 EC 27 30 28 */ fsubs f1, f7, f6 -/* 80310C14 0030DB74 EC 85 20 2A */ fadds f4, f5, f4 -/* 80310C18 0030DB78 EC 03 00 2A */ fadds f0, f3, f0 -/* 80310C1C 0030DB7C EC 28 00 72 */ fmuls f1, f8, f1 -/* 80310C20 0030DB80 EC 68 01 32 */ fmuls f3, f8, f4 -/* 80310C24 0030DB84 EC 88 00 32 */ fmuls f4, f8, f0 -/* 80310C28 0030DB88 48 00 03 C5 */ bl __ct__13CNUQuaternionFffff -/* 80310C2C 0030DB8C 48 00 00 D0 */ b lbl_80310CFC -lbl_80310C30: -/* 80310C30 0030DB90 EC 01 10 2A */ fadds f0, f1, f2 -/* 80310C34 0030DB94 C0 22 C8 64 */ lfs f1, lbl_805AE584@sda21(r2) -/* 80310C38 0030DB98 EC 03 00 28 */ fsubs f0, f3, f0 -/* 80310C3C 0030DB9C EC 21 00 2A */ fadds f1, f1, f0 -/* 80310C40 0030DBA0 48 00 48 C1 */ bl SqrtF__5CMathFf -/* 80310C44 0030DBA4 C0 62 C8 68 */ lfs f3, lbl_805AE588@sda21(r2) -/* 80310C48 0030DBA8 7F C3 F3 78 */ mr r3, r30 -/* 80310C4C 0030DBAC C0 FF 00 08 */ lfs f7, 8(r31) -/* 80310C50 0030DBB0 ED 03 08 24 */ fdivs f8, f3, f1 -/* 80310C54 0030DBB4 C0 DF 00 18 */ lfs f6, 0x18(r31) -/* 80310C58 0030DBB8 C0 BF 00 04 */ lfs f5, 4(r31) -/* 80310C5C 0030DBBC C0 9F 00 0C */ lfs f4, 0xc(r31) -/* 80310C60 0030DBC0 C0 5F 00 14 */ lfs f2, 0x14(r31) -/* 80310C64 0030DBC4 C0 1F 00 1C */ lfs f0, 0x1c(r31) -/* 80310C68 0030DBC8 EC 63 00 72 */ fmuls f3, f3, f1 -/* 80310C6C 0030DBCC EC 27 30 28 */ fsubs f1, f7, f6 -/* 80310C70 0030DBD0 EC 85 20 2A */ fadds f4, f5, f4 -/* 80310C74 0030DBD4 EC 02 00 2A */ fadds f0, f2, f0 -/* 80310C78 0030DBD8 EC 28 00 72 */ fmuls f1, f8, f1 -/* 80310C7C 0030DBDC EC 48 01 32 */ fmuls f2, f8, f4 -/* 80310C80 0030DBE0 EC 88 00 32 */ fmuls f4, f8, f0 -/* 80310C84 0030DBE4 48 00 03 69 */ bl __ct__13CNUQuaternionFffff -/* 80310C88 0030DBE8 48 00 00 74 */ b lbl_80310CFC -lbl_80310C8C: -/* 80310C8C 0030DBEC EC 01 20 28 */ fsubs f0, f1, f4 -/* 80310C90 0030DBF0 C0 22 C8 64 */ lfs f1, lbl_805AE584@sda21(r2) -/* 80310C94 0030DBF4 EC 21 00 2A */ fadds f1, f1, f0 -/* 80310C98 0030DBF8 48 00 48 69 */ bl SqrtF__5CMathFf -/* 80310C9C 0030DBFC C0 82 C8 68 */ lfs f4, lbl_805AE588@sda21(r2) -/* 80310CA0 0030DC00 7F C3 F3 78 */ mr r3, r30 -/* 80310CA4 0030DC04 C0 FF 00 0C */ lfs f7, 0xc(r31) -/* 80310CA8 0030DC08 ED 04 08 24 */ fdivs f8, f4, f1 -/* 80310CAC 0030DC0C C0 DF 00 04 */ lfs f6, 4(r31) -/* 80310CB0 0030DC10 C0 BF 00 18 */ lfs f5, 0x18(r31) -/* 80310CB4 0030DC14 C0 7F 00 08 */ lfs f3, 8(r31) -/* 80310CB8 0030DC18 C0 5F 00 14 */ lfs f2, 0x14(r31) -/* 80310CBC 0030DC1C C0 1F 00 1C */ lfs f0, 0x1c(r31) -/* 80310CC0 0030DC20 EC 84 00 72 */ fmuls f4, f4, f1 -/* 80310CC4 0030DC24 EC 27 30 28 */ fsubs f1, f7, f6 -/* 80310CC8 0030DC28 EC 65 18 2A */ fadds f3, f5, f3 -/* 80310CCC 0030DC2C EC 02 00 2A */ fadds f0, f2, f0 -/* 80310CD0 0030DC30 EC 28 00 72 */ fmuls f1, f8, f1 -/* 80310CD4 0030DC34 EC 48 00 F2 */ fmuls f2, f8, f3 -/* 80310CD8 0030DC38 EC 68 00 32 */ fmuls f3, f8, f0 -/* 80310CDC 0030DC3C 48 00 03 11 */ bl __ct__13CNUQuaternionFffff -/* 80310CE0 0030DC40 48 00 00 1C */ b lbl_80310CFC -lbl_80310CE4: -/* 80310CE4 0030DC44 C0 22 C8 60 */ lfs f1, lbl_805AE580@sda21(r2) -/* 80310CE8 0030DC48 7F C3 F3 78 */ mr r3, r30 -/* 80310CEC 0030DC4C FC 40 08 90 */ fmr f2, f1 -/* 80310CF0 0030DC50 FC 60 08 90 */ fmr f3, f1 -/* 80310CF4 0030DC54 FC 80 08 90 */ fmr f4, f1 -/* 80310CF8 0030DC58 48 00 02 F5 */ bl __ct__13CNUQuaternionFffff -lbl_80310CFC: -/* 80310CFC 0030DC5C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80310D00 0030DC60 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80310D04 0030DC64 83 C1 00 08 */ lwz r30, 8(r1) -/* 80310D08 0030DC68 7C 08 03 A6 */ mtlr r0 -/* 80310D0C 0030DC6C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80310D10 0030DC70 4E 80 00 20 */ blr - -.global BuildFromQuaternion__13CNUQuaternionFRC11CQuaternion -BuildFromQuaternion__13CNUQuaternionFRC11CQuaternion: -/* 80310D14 0030DC74 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80310D18 0030DC78 7C 08 02 A6 */ mflr r0 -/* 80310D1C 0030DC7C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80310D20 0030DC80 C0 24 00 00 */ lfs f1, 0(r4) -/* 80310D24 0030DC84 38 84 00 04 */ addi r4, r4, 4 -/* 80310D28 0030DC88 48 00 02 D9 */ bl __ct__13CNUQuaternionFfRC9CVector3f -/* 80310D2C 0030DC8C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80310D30 0030DC90 7C 08 03 A6 */ mtlr r0 -/* 80310D34 0030DC94 38 21 00 10 */ addi r1, r1, 0x10 -/* 80310D38 0030DC98 4E 80 00 20 */ blr - -.global BuildFromAxisAngle__13CNUQuaternionFRC9CVector3ff -BuildFromAxisAngle__13CNUQuaternionFRC9CVector3ff: -/* 80310D3C 0030DC9C 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 80310D40 0030DCA0 7C 08 02 A6 */ mflr r0 -/* 80310D44 0030DCA4 90 01 00 54 */ stw r0, 0x54(r1) -/* 80310D48 0030DCA8 DB E1 00 40 */ stfd f31, 0x40(r1) -/* 80310D4C 0030DCAC F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 -/* 80310D50 0030DCB0 DB C1 00 30 */ stfd f30, 0x30(r1) -/* 80310D54 0030DCB4 F3 C1 00 38 */ psq_st f30, 56(r1), 0, qr0 -/* 80310D58 0030DCB8 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80310D5C 0030DCBC 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80310D60 0030DCC0 C0 02 C8 68 */ lfs f0, lbl_805AE588@sda21(r2) -/* 80310D64 0030DCC4 7C 7E 1B 78 */ mr r30, r3 -/* 80310D68 0030DCC8 7C 9F 23 78 */ mr r31, r4 -/* 80310D6C 0030DCCC EF C1 00 32 */ fmuls f30, f1, f0 -/* 80310D70 0030DCD0 FC 20 F0 90 */ fmr f1, f30 -/* 80310D74 0030DCD4 48 00 45 95 */ bl SlowSineR__5CMathFf -/* 80310D78 0030DCD8 FF E0 08 90 */ fmr f31, f1 -/* 80310D7C 0030DCDC 7F E4 FB 78 */ mr r4, r31 -/* 80310D80 0030DCE0 38 61 00 08 */ addi r3, r1, 8 -/* 80310D84 0030DCE4 48 00 3A CD */ bl AsNormalized__9CVector3fCFv -/* 80310D88 0030DCE8 C0 61 00 08 */ lfs f3, 8(r1) -/* 80310D8C 0030DCEC FC 20 F0 90 */ fmr f1, f30 -/* 80310D90 0030DCF0 C0 41 00 0C */ lfs f2, 0xc(r1) -/* 80310D94 0030DCF4 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 80310D98 0030DCF8 EC 7F 00 F2 */ fmuls f3, f31, f3 -/* 80310D9C 0030DCFC EC 5F 00 B2 */ fmuls f2, f31, f2 -/* 80310DA0 0030DD00 EC 1F 00 32 */ fmuls f0, f31, f0 -/* 80310DA4 0030DD04 D0 61 00 14 */ stfs f3, 0x14(r1) -/* 80310DA8 0030DD08 D0 41 00 18 */ stfs f2, 0x18(r1) -/* 80310DAC 0030DD0C D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 80310DB0 0030DD10 48 00 45 35 */ bl SlowCosineR__5CMathFf -/* 80310DB4 0030DD14 7F C3 F3 78 */ mr r3, r30 -/* 80310DB8 0030DD18 38 81 00 14 */ addi r4, r1, 0x14 -/* 80310DBC 0030DD1C 48 00 02 45 */ bl __ct__13CNUQuaternionFfRC9CVector3f -/* 80310DC0 0030DD20 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 -/* 80310DC4 0030DD24 CB E1 00 40 */ lfd f31, 0x40(r1) -/* 80310DC8 0030DD28 E3 C1 00 38 */ psq_l f30, 56(r1), 0, qr0 -/* 80310DCC 0030DD2C CB C1 00 30 */ lfd f30, 0x30(r1) -/* 80310DD0 0030DD30 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80310DD4 0030DD34 80 01 00 54 */ lwz r0, 0x54(r1) -/* 80310DD8 0030DD38 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80310DDC 0030DD3C 7C 08 03 A6 */ mtlr r0 -/* 80310DE0 0030DD40 38 21 00 50 */ addi r1, r1, 0x50 -/* 80310DE4 0030DD44 4E 80 00 20 */ blr - -.global AsNormalized__13CNUQuaternionCFv -AsNormalized__13CNUQuaternionCFv: -/* 80310DE8 0030DD48 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80310DEC 0030DD4C 7C 08 02 A6 */ mflr r0 -/* 80310DF0 0030DD50 90 01 00 34 */ stw r0, 0x34(r1) -/* 80310DF4 0030DD54 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80310DF8 0030DD58 7C 9F 23 78 */ mr r31, r4 -/* 80310DFC 0030DD5C 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80310E00 0030DD60 7C 7E 1B 78 */ mr r30, r3 -/* 80310E04 0030DD64 C0 24 00 04 */ lfs f1, 4(r4) -/* 80310E08 0030DD68 C0 04 00 08 */ lfs f0, 8(r4) -/* 80310E0C 0030DD6C EC 21 00 72 */ fmuls f1, f1, f1 -/* 80310E10 0030DD70 C0 44 00 0C */ lfs f2, 0xc(r4) -/* 80310E14 0030DD74 EC 00 00 32 */ fmuls f0, f0, f0 -/* 80310E18 0030DD78 C0 64 00 00 */ lfs f3, 0(r4) -/* 80310E1C 0030DD7C EC 42 00 B2 */ fmuls f2, f2, f2 -/* 80310E20 0030DD80 EC 63 00 F2 */ fmuls f3, f3, f3 -/* 80310E24 0030DD84 EC 01 00 2A */ fadds f0, f1, f0 -/* 80310E28 0030DD88 EC 02 00 2A */ fadds f0, f2, f0 -/* 80310E2C 0030DD8C EC 23 00 2A */ fadds f1, f3, f0 -/* 80310E30 0030DD90 48 00 45 A9 */ bl InvSqrtF__5CMathFf -/* 80310E34 0030DD94 C0 BF 00 04 */ lfs f5, 4(r31) -/* 80310E38 0030DD98 7F C3 F3 78 */ mr r3, r30 -/* 80310E3C 0030DD9C C0 9F 00 08 */ lfs f4, 8(r31) -/* 80310E40 0030DDA0 38 81 00 14 */ addi r4, r1, 0x14 -/* 80310E44 0030DDA4 C0 7F 00 0C */ lfs f3, 0xc(r31) -/* 80310E48 0030DDA8 EC 41 01 72 */ fmuls f2, f1, f5 -/* 80310E4C 0030DDAC EC E1 01 32 */ fmuls f7, f1, f4 -/* 80310E50 0030DDB0 C0 1F 00 00 */ lfs f0, 0(r31) -/* 80310E54 0030DDB4 EC C1 00 F2 */ fmuls f6, f1, f3 -/* 80310E58 0030DDB8 D0 A1 00 08 */ stfs f5, 8(r1) -/* 80310E5C 0030DDBC EC 21 00 32 */ fmuls f1, f1, f0 -/* 80310E60 0030DDC0 D0 81 00 0C */ stfs f4, 0xc(r1) -/* 80310E64 0030DDC4 D0 61 00 10 */ stfs f3, 0x10(r1) -/* 80310E68 0030DDC8 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 80310E6C 0030DDCC D0 E1 00 18 */ stfs f7, 0x18(r1) -/* 80310E70 0030DDD0 D0 C1 00 1C */ stfs f6, 0x1c(r1) -/* 80310E74 0030DDD4 48 00 01 8D */ bl __ct__13CNUQuaternionFfRC9CVector3f -/* 80310E78 0030DDD8 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80310E7C 0030DDDC 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80310E80 0030DDE0 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80310E84 0030DDE4 7C 08 03 A6 */ mtlr r0 -/* 80310E88 0030DDE8 38 21 00 30 */ addi r1, r1, 0x30 -/* 80310E8C 0030DDEC 4E 80 00 20 */ blr - -.global __apl__13CNUQuaternionFRC13CNUQuaternion -__apl__13CNUQuaternionFRC13CNUQuaternion: -/* 80310E90 0030DDF0 C0 23 00 00 */ lfs f1, 0(r3) -/* 80310E94 0030DDF4 C0 04 00 00 */ lfs f0, 0(r4) -/* 80310E98 0030DDF8 EC 01 00 2A */ fadds f0, f1, f0 -/* 80310E9C 0030DDFC D0 03 00 00 */ stfs f0, 0(r3) -/* 80310EA0 0030DE00 C0 23 00 04 */ lfs f1, 4(r3) -/* 80310EA4 0030DE04 C0 04 00 04 */ lfs f0, 4(r4) -/* 80310EA8 0030DE08 EC 01 00 2A */ fadds f0, f1, f0 -/* 80310EAC 0030DE0C D0 03 00 04 */ stfs f0, 4(r3) -/* 80310EB0 0030DE10 C0 23 00 08 */ lfs f1, 8(r3) -/* 80310EB4 0030DE14 C0 04 00 08 */ lfs f0, 8(r4) -/* 80310EB8 0030DE18 EC 01 00 2A */ fadds f0, f1, f0 -/* 80310EBC 0030DE1C D0 03 00 08 */ stfs f0, 8(r3) -/* 80310EC0 0030DE20 C0 23 00 0C */ lfs f1, 0xc(r3) -/* 80310EC4 0030DE24 C0 04 00 0C */ lfs f0, 0xc(r4) -/* 80310EC8 0030DE28 EC 01 00 2A */ fadds f0, f1, f0 -/* 80310ECC 0030DE2C D0 03 00 0C */ stfs f0, 0xc(r3) -/* 80310ED0 0030DE30 4E 80 00 20 */ blr - -.global __ml__13CNUQuaternionCFRC13CNUQuaternion -__ml__13CNUQuaternionCFRC13CNUQuaternion: -/* 80310ED4 0030DE34 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 80310ED8 0030DE38 7C 08 02 A6 */ mflr r0 -/* 80310EDC 0030DE3C 90 01 00 94 */ stw r0, 0x94(r1) -/* 80310EE0 0030DE40 DB E1 00 80 */ stfd f31, 0x80(r1) -/* 80310EE4 0030DE44 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 -/* 80310EE8 0030DE48 DB C1 00 70 */ stfd f30, 0x70(r1) -/* 80310EEC 0030DE4C F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 -/* 80310EF0 0030DE50 DB A1 00 60 */ stfd f29, 0x60(r1) -/* 80310EF4 0030DE54 F3 A1 00 68 */ psq_st f29, 104(r1), 0, qr0 -/* 80310EF8 0030DE58 DB 81 00 50 */ stfd f28, 0x50(r1) -/* 80310EFC 0030DE5C F3 81 00 58 */ psq_st f28, 88(r1), 0, qr0 -/* 80310F00 0030DE60 C1 84 00 08 */ lfs f12, 8(r4) -/* 80310F04 0030DE64 C3 A5 00 08 */ lfs f29, 8(r5) -/* 80310F08 0030DE68 C3 E4 00 0C */ lfs f31, 0xc(r4) -/* 80310F0C 0030DE6C C1 65 00 00 */ lfs f11, 0(r5) -/* 80310F10 0030DE70 EC 0C 07 72 */ fmuls f0, f12, f29 -/* 80310F14 0030DE74 C1 A4 00 04 */ lfs f13, 4(r4) -/* 80310F18 0030DE78 ED 3D 07 F2 */ fmuls f9, f29, f31 -/* 80310F1C 0030DE7C C3 C5 00 04 */ lfs f30, 4(r5) -/* 80310F20 0030DE80 EC CB 03 32 */ fmuls f6, f11, f12 -/* 80310F24 0030DE84 C1 44 00 00 */ lfs f10, 0(r4) -/* 80310F28 0030DE88 C3 85 00 0C */ lfs f28, 0xc(r5) -/* 80310F2C 0030DE8C EC FE 03 32 */ fmuls f7, f30, f12 -/* 80310F30 0030DE90 EC 2A 07 72 */ fmuls f1, f10, f29 -/* 80310F34 0030DE94 D0 C1 00 18 */ stfs f6, 0x18(r1) -/* 80310F38 0030DE98 ED 1C 03 72 */ fmuls f8, f28, f13 -/* 80310F3C 0030DE9C 38 81 00 38 */ addi r4, r1, 0x38 -/* 80310F40 0030DEA0 EC 6B 03 72 */ fmuls f3, f11, f13 -/* 80310F44 0030DEA4 EC AA 07 B2 */ fmuls f5, f10, f30 -/* 80310F48 0030DEA8 EC 4B 07 F2 */ fmuls f2, f11, f31 -/* 80310F4C 0030DEAC D0 21 00 24 */ stfs f1, 0x24(r1) -/* 80310F50 0030DEB0 EC 8A 07 32 */ fmuls f4, f10, f28 -/* 80310F54 0030DEB4 EC 0D 07 BA */ fmadds f0, f13, f30, f0 -/* 80310F58 0030DEB8 D0 61 00 14 */ stfs f3, 0x14(r1) -/* 80310F5C 0030DEBC ED 2C 4F 38 */ fmsubs f9, f12, f28, f9 -/* 80310F60 0030DEC0 EC 65 18 2A */ fadds f3, f5, f3 -/* 80310F64 0030DEC4 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 80310F68 0030DEC8 ED 1F 47 B8 */ fmsubs f8, f31, f30, f8 -/* 80310F6C 0030DECC ED 81 30 2A */ fadds f12, f1, f6 -/* 80310F70 0030DED0 D1 21 00 08 */ stfs f9, 8(r1) -/* 80310F74 0030DED4 EC 2D 3F 78 */ fmsubs f1, f13, f29, f7 -/* 80310F78 0030DED8 EC C4 10 2A */ fadds f6, f4, f2 -/* 80310F7C 0030DEDC D1 01 00 0C */ stfs f8, 0xc(r1) -/* 80310F80 0030DEE0 EC 1F 07 3A */ fmadds f0, f31, f28, f0 -/* 80310F84 0030DEE4 ED 0C 40 2A */ fadds f8, f12, f8 -/* 80310F88 0030DEE8 D0 21 00 10 */ stfs f1, 0x10(r1) -/* 80310F8C 0030DEEC EC E6 08 2A */ fadds f7, f6, f1 -/* 80310F90 0030DEF0 EC 43 48 2A */ fadds f2, f3, f9 -/* 80310F94 0030DEF4 D0 A1 00 20 */ stfs f5, 0x20(r1) -/* 80310F98 0030DEF8 EC 2A 02 F8 */ fmsubs f1, f10, f11, f0 -/* 80310F9C 0030DEFC D0 81 00 28 */ stfs f4, 0x28(r1) -/* 80310FA0 0030DF00 D0 61 00 2C */ stfs f3, 0x2c(r1) -/* 80310FA4 0030DF04 D1 81 00 30 */ stfs f12, 0x30(r1) -/* 80310FA8 0030DF08 D0 C1 00 34 */ stfs f6, 0x34(r1) -/* 80310FAC 0030DF0C D0 41 00 38 */ stfs f2, 0x38(r1) -/* 80310FB0 0030DF10 D1 01 00 3C */ stfs f8, 0x3c(r1) -/* 80310FB4 0030DF14 D0 E1 00 40 */ stfs f7, 0x40(r1) -/* 80310FB8 0030DF18 48 00 00 49 */ bl __ct__13CNUQuaternionFfRC9CVector3f -/* 80310FBC 0030DF1C E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 -/* 80310FC0 0030DF20 CB E1 00 80 */ lfd f31, 0x80(r1) -/* 80310FC4 0030DF24 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 -/* 80310FC8 0030DF28 CB C1 00 70 */ lfd f30, 0x70(r1) -/* 80310FCC 0030DF2C E3 A1 00 68 */ psq_l f29, 104(r1), 0, qr0 -/* 80310FD0 0030DF30 CB A1 00 60 */ lfd f29, 0x60(r1) -/* 80310FD4 0030DF34 E3 81 00 58 */ psq_l f28, 88(r1), 0, qr0 -/* 80310FD8 0030DF38 80 01 00 94 */ lwz r0, 0x94(r1) -/* 80310FDC 0030DF3C CB 81 00 50 */ lfd f28, 0x50(r1) -/* 80310FE0 0030DF40 7C 08 03 A6 */ mtlr r0 -/* 80310FE4 0030DF44 38 21 00 90 */ addi r1, r1, 0x90 -/* 80310FE8 0030DF48 4E 80 00 20 */ blr - -.global __ct__13CNUQuaternionFffff -__ct__13CNUQuaternionFffff: -/* 80310FEC 0030DF4C D0 23 00 00 */ stfs f1, 0(r3) -/* 80310FF0 0030DF50 D0 43 00 04 */ stfs f2, 4(r3) -/* 80310FF4 0030DF54 D0 63 00 08 */ stfs f3, 8(r3) -/* 80310FF8 0030DF58 D0 83 00 0C */ stfs f4, 0xc(r3) -/* 80310FFC 0030DF5C 4E 80 00 20 */ blr - -.global __ct__13CNUQuaternionFfRC9CVector3f -__ct__13CNUQuaternionFfRC9CVector3f: -/* 80311000 0030DF60 D0 23 00 00 */ stfs f1, 0(r3) -/* 80311004 0030DF64 C0 04 00 00 */ lfs f0, 0(r4) -/* 80311008 0030DF68 D0 03 00 04 */ stfs f0, 4(r3) -/* 8031100C 0030DF6C C0 04 00 04 */ lfs f0, 4(r4) -/* 80311010 0030DF70 D0 03 00 08 */ stfs f0, 8(r3) -/* 80311014 0030DF74 C0 04 00 08 */ lfs f0, 8(r4) -/* 80311018 0030DF78 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 8031101C 0030DF7C 4E 80 00 20 */ blr - -.global ClampedRotateTo__11CQuaternionFRC10UnitVectorRC10UnitVectorRC9CRelAngle -ClampedRotateTo__11CQuaternionFRC10UnitVectorRC10UnitVectorRC9CRelAngle: -/* 80311020 0030DF80 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 80311024 0030DF84 7C 08 02 A6 */ mflr r0 -/* 80311028 0030DF88 90 01 00 64 */ stw r0, 0x64(r1) -/* 8031102C 0030DF8C DB E1 00 50 */ stfd f31, 0x50(r1) -/* 80311030 0030DF90 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 -/* 80311034 0030DF94 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 80311038 0030DF98 93 C1 00 48 */ stw r30, 0x48(r1) -/* 8031103C 0030DF9C 93 A1 00 44 */ stw r29, 0x44(r1) -/* 80311040 0030DFA0 7C 7D 1B 78 */ mr r29, r3 -/* 80311044 0030DFA4 7C DE 33 78 */ mr r30, r6 -/* 80311048 0030DFA8 38 61 00 14 */ addi r3, r1, 0x14 -/* 8031104C 0030DFAC 48 00 0A 6D */ bl ShortestRotationArc__11CQuaternionFRC9CVector3fRC9CVector3f -/* 80311050 0030DFB0 C0 21 00 14 */ lfs f1, 0x14(r1) -/* 80311054 0030DFB4 3B E1 00 28 */ addi r31, r1, 0x28 -/* 80311058 0030DFB8 C0 61 00 18 */ lfs f3, 0x18(r1) -/* 8031105C 0030DFBC C0 41 00 1C */ lfs f2, 0x1c(r1) -/* 80311060 0030DFC0 C0 01 00 20 */ lfs f0, 0x20(r1) -/* 80311064 0030DFC4 D0 21 00 24 */ stfs f1, 0x24(r1) -/* 80311068 0030DFC8 C3 FE 00 00 */ lfs f31, 0(r30) -/* 8031106C 0030DFCC D0 61 00 28 */ stfs f3, 0x28(r1) -/* 80311070 0030DFD0 D0 41 00 2C */ stfs f2, 0x2c(r1) -/* 80311074 0030DFD4 D0 01 00 30 */ stfs f0, 0x30(r1) -/* 80311078 0030DFD8 48 08 3B B5 */ bl acos -/* 8031107C 0030DFDC FC 20 08 18 */ frsp f1, f1 -/* 80311080 0030DFE0 C0 02 C8 70 */ lfs f0, lbl_805AE590@sda21(r2) -/* 80311084 0030DFE4 EC 00 00 72 */ fmuls f0, f0, f1 -/* 80311088 0030DFE8 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 8031108C 0030DFEC 4C 41 13 82 */ cror 2, 1, 2 -/* 80311090 0030DFF0 40 82 00 28 */ bne lbl_803110B8 -/* 80311094 0030DFF4 C0 01 00 24 */ lfs f0, 0x24(r1) -/* 80311098 0030DFF8 D0 1D 00 00 */ stfs f0, 0(r29) -/* 8031109C 0030DFFC C0 01 00 28 */ lfs f0, 0x28(r1) -/* 803110A0 0030E000 D0 1D 00 04 */ stfs f0, 4(r29) -/* 803110A4 0030E004 C0 01 00 2C */ lfs f0, 0x2c(r1) -/* 803110A8 0030E008 D0 1D 00 08 */ stfs f0, 8(r29) -/* 803110AC 0030E00C C0 01 00 30 */ lfs f0, 0x30(r1) -/* 803110B0 0030E010 D0 1D 00 0C */ stfs f0, 0xc(r29) -/* 803110B4 0030E014 48 00 00 20 */ b lbl_803110D4 -lbl_803110B8: -/* 803110B8 0030E018 7F E4 FB 78 */ mr r4, r31 -/* 803110BC 0030E01C 38 61 00 08 */ addi r3, r1, 8 -/* 803110C0 0030E020 48 00 2D 11 */ bl __ct__11CUnitVectorFRC9CVector3f -/* 803110C4 0030E024 7C 64 1B 78 */ mr r4, r3 -/* 803110C8 0030E028 7F A3 EB 78 */ mr r3, r29 -/* 803110CC 0030E02C 7F C5 F3 78 */ mr r5, r30 -/* 803110D0 0030E030 48 00 02 25 */ bl AxisAngle__11CQuaternionFRC13CUnitVector3fRC9CRelAngle -lbl_803110D4: -/* 803110D4 0030E034 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 -/* 803110D8 0030E038 80 01 00 64 */ lwz r0, 0x64(r1) -/* 803110DC 0030E03C CB E1 00 50 */ lfd f31, 0x50(r1) -/* 803110E0 0030E040 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 803110E4 0030E044 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 803110E8 0030E048 83 A1 00 44 */ lwz r29, 0x44(r1) -/* 803110EC 0030E04C 7C 08 03 A6 */ mtlr r0 -/* 803110F0 0030E050 38 21 00 60 */ addi r1, r1, 0x60 -/* 803110F4 0030E054 4E 80 00 20 */ blr - -.global ZRotation__11CQuaternionFRC9CRelAngle -ZRotation__11CQuaternionFRC9CRelAngle: -/* 803110F8 0030E058 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803110FC 0030E05C 7C 08 02 A6 */ mflr r0 -/* 80311100 0030E060 3C C0 80 4C */ lis r6, lbl_804BFD48@ha -/* 80311104 0030E064 7C 85 23 78 */ mr r5, r4 -/* 80311108 0030E068 90 01 00 14 */ stw r0, 0x14(r1) -/* 8031110C 0030E06C 38 86 FD 48 */ addi r4, r6, lbl_804BFD48@l -/* 80311110 0030E070 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80311114 0030E074 7C 7F 1B 78 */ mr r31, r3 -/* 80311118 0030E078 48 00 01 DD */ bl AxisAngle__11CQuaternionFRC13CUnitVector3fRC9CRelAngle -/* 8031111C 0030E07C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80311120 0030E080 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80311124 0030E084 7C 08 03 A6 */ mtlr r0 -/* 80311128 0030E088 38 21 00 10 */ addi r1, r1, 0x10 -/* 8031112C 0030E08C 4E 80 00 20 */ blr - -.global YRotation__11CQuaternionFRC9CRelAngle -YRotation__11CQuaternionFRC9CRelAngle: -/* 80311130 0030E090 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80311134 0030E094 7C 08 02 A6 */ mflr r0 -/* 80311138 0030E098 3C C0 80 4C */ lis r6, lbl_804BFD3C@ha -/* 8031113C 0030E09C 7C 85 23 78 */ mr r5, r4 -/* 80311140 0030E0A0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80311144 0030E0A4 38 86 FD 3C */ addi r4, r6, lbl_804BFD3C@l -/* 80311148 0030E0A8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8031114C 0030E0AC 7C 7F 1B 78 */ mr r31, r3 -/* 80311150 0030E0B0 48 00 01 A5 */ bl AxisAngle__11CQuaternionFRC13CUnitVector3fRC9CRelAngle -/* 80311154 0030E0B4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80311158 0030E0B8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8031115C 0030E0BC 7C 08 03 A6 */ mtlr r0 -/* 80311160 0030E0C0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80311164 0030E0C4 4E 80 00 20 */ blr - -.global XRotation__11CQuaternionFRC9CRelAngle -XRotation__11CQuaternionFRC9CRelAngle: -/* 80311168 0030E0C8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8031116C 0030E0CC 7C 08 02 A6 */ mflr r0 -/* 80311170 0030E0D0 3C C0 80 4C */ lis r6, lbl_804BFD30@ha -/* 80311174 0030E0D4 7C 85 23 78 */ mr r5, r4 -/* 80311178 0030E0D8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8031117C 0030E0DC 38 86 FD 30 */ addi r4, r6, lbl_804BFD30@l -/* 80311180 0030E0E0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80311184 0030E0E4 7C 7F 1B 78 */ mr r31, r3 -/* 80311188 0030E0E8 48 00 01 6D */ bl AxisAngle__11CQuaternionFRC13CUnitVector3fRC9CRelAngle -/* 8031118C 0030E0EC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80311190 0030E0F0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80311194 0030E0F4 7C 08 03 A6 */ mtlr r0 -/* 80311198 0030E0F8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8031119C 0030E0FC 4E 80 00 20 */ blr - -.global __ml__11CQuaternionCFRC11CQuaternion -__ml__11CQuaternionCFRC11CQuaternion: -/* 803111A0 0030E100 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 803111A4 0030E104 DB E1 00 30 */ stfd f31, 0x30(r1) -/* 803111A8 0030E108 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 803111AC 0030E10C DB C1 00 20 */ stfd f30, 0x20(r1) -/* 803111B0 0030E110 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 -/* 803111B4 0030E114 DB A1 00 10 */ stfd f29, 0x10(r1) -/* 803111B8 0030E118 F3 A1 00 18 */ psq_st f29, 24(r1), 0, qr0 -/* 803111BC 0030E11C C1 84 00 08 */ lfs f12, 8(r4) -/* 803111C0 0030E120 C3 C5 00 08 */ lfs f30, 8(r5) -/* 803111C4 0030E124 C3 E5 00 04 */ lfs f31, 4(r5) -/* 803111C8 0030E128 EC 2C 07 B2 */ fmuls f1, f12, f30 -/* 803111CC 0030E12C C1 64 00 04 */ lfs f11, 4(r4) -/* 803111D0 0030E130 C1 24 00 00 */ lfs f9, 0(r4) -/* 803111D4 0030E134 EC 1F 03 32 */ fmuls f0, f31, f12 -/* 803111D8 0030E138 C1 45 00 00 */ lfs f10, 0(r5) -/* 803111DC 0030E13C C1 A4 00 0C */ lfs f13, 0xc(r4) -/* 803111E0 0030E140 C3 A5 00 0C */ lfs f29, 0xc(r5) -/* 803111E4 0030E144 EC 4B 0F FA */ fmadds f2, f11, f31, f1 -/* 803111E8 0030E148 EC 3E 03 72 */ fmuls f1, f30, f13 -/* 803111EC 0030E14C EC 7D 02 F2 */ fmuls f3, f29, f11 -/* 803111F0 0030E150 EC 8D 17 7A */ fmadds f4, f13, f29, f2 -/* 803111F4 0030E154 EC C9 07 F2 */ fmuls f6, f9, f31 -/* 803111F8 0030E158 EC 4A 02 F2 */ fmuls f2, f10, f11 -/* 803111FC 0030E15C ED 09 22 B8 */ fmsubs f8, f9, f10, f4 -/* 80311200 0030E160 EC A9 07 B2 */ fmuls f5, f9, f30 -/* 80311204 0030E164 EC 8A 03 32 */ fmuls f4, f10, f12 -/* 80311208 0030E168 EC E6 10 2A */ fadds f7, f6, f2 -/* 8031120C 0030E16C D1 03 00 00 */ stfs f8, 0(r3) -/* 80311210 0030E170 EC CC 0F 78 */ fmsubs f6, f12, f29, f1 -/* 80311214 0030E174 EC 49 07 72 */ fmuls f2, f9, f29 -/* 80311218 0030E178 EC 2A 03 72 */ fmuls f1, f10, f13 -/* 8031121C 0030E17C EC C7 30 2A */ fadds f6, f7, f6 -/* 80311220 0030E180 EC 85 20 2A */ fadds f4, f5, f4 -/* 80311224 0030E184 EC 6D 1F F8 */ fmsubs f3, f13, f31, f3 -/* 80311228 0030E188 EC 22 08 2A */ fadds f1, f2, f1 -/* 8031122C 0030E18C D0 C3 00 04 */ stfs f6, 4(r3) -/* 80311230 0030E190 EC 0B 07 B8 */ fmsubs f0, f11, f30, f0 -/* 80311234 0030E194 EC 44 18 2A */ fadds f2, f4, f3 -/* 80311238 0030E198 EC 01 00 2A */ fadds f0, f1, f0 -/* 8031123C 0030E19C D0 43 00 08 */ stfs f2, 8(r3) -/* 80311240 0030E1A0 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 80311244 0030E1A4 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 80311248 0030E1A8 CB E1 00 30 */ lfd f31, 0x30(r1) -/* 8031124C 0030E1AC E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 -/* 80311250 0030E1B0 CB C1 00 20 */ lfd f30, 0x20(r1) -/* 80311254 0030E1B4 E3 A1 00 18 */ psq_l f29, 24(r1), 0, qr0 -/* 80311258 0030E1B8 CB A1 00 10 */ lfd f29, 0x10(r1) -/* 8031125C 0030E1BC 38 21 00 40 */ addi r1, r1, 0x40 -/* 80311260 0030E1C0 4E 80 00 20 */ blr - -.global Transform__11CQuaternionCFRC9CVector3f -Transform__11CQuaternionCFRC9CVector3f: -/* 80311264 0030E1C4 C0 C4 00 08 */ lfs f6, 8(r4) -/* 80311268 0030E1C8 C0 85 00 04 */ lfs f4, 4(r5) -/* 8031126C 0030E1CC C1 04 00 04 */ lfs f8, 4(r4) -/* 80311270 0030E1D0 EC 06 01 32 */ fmuls f0, f6, f4 -/* 80311274 0030E1D4 C0 E5 00 00 */ lfs f7, 0(r5) -/* 80311278 0030E1D8 C1 24 00 0C */ lfs f9, 0xc(r4) -/* 8031127C 0030E1DC EC 48 01 32 */ fmuls f2, f8, f4 -/* 80311280 0030E1E0 C0 A5 00 08 */ lfs f5, 8(r5) -/* 80311284 0030E1E4 EC 68 01 FA */ fmadds f3, f8, f7, f0 -/* 80311288 0030E1E8 C1 44 00 00 */ lfs f10, 0(r4) -/* 8031128C 0030E1EC EC 06 01 72 */ fmuls f0, f6, f5 -/* 80311290 0030E1F0 EC 29 01 F2 */ fmuls f1, f9, f7 -/* 80311294 0030E1F4 EC 69 19 7A */ fmadds f3, f9, f5, f3 -/* 80311298 0030E1F8 EC 0A 01 FA */ fmadds f0, f10, f7, f0 -/* 8031129C 0030E1FC EC 2A 09 3A */ fmadds f1, f10, f4, f1 -/* 803112A0 0030E200 FD 60 18 50 */ fneg f11, f3 -/* 803112A4 0030E204 EC 6A 11 7A */ fmadds f3, f10, f5, f2 -/* 803112A8 0030E208 EC 84 02 7C */ fnmsubs f4, f4, f9, f0 -/* 803112AC 0030E20C EC 0B 02 32 */ fmuls f0, f11, f8 -/* 803112B0 0030E210 EC A5 0A 3C */ fnmsubs f5, f5, f8, f1 -/* 803112B4 0030E214 EC 2B 01 B2 */ fmuls f1, f11, f6 -/* 803112B8 0030E218 EC 4A 01 38 */ fmsubs f2, f10, f4, f0 -/* 803112BC 0030E21C EC 67 19 BC */ fnmsubs f3, f7, f6, f3 -/* 803112C0 0030E220 EC 0B 02 72 */ fmuls f0, f11, f9 -/* 803112C4 0030E224 EC 2A 09 78 */ fmsubs f1, f10, f5, f1 -/* 803112C8 0030E228 EC 45 12 7C */ fnmsubs f2, f5, f9, f2 -/* 803112CC 0030E22C EC 0A 00 F8 */ fmsubs f0, f10, f3, f0 -/* 803112D0 0030E230 EC 23 0A 3C */ fnmsubs f1, f3, f8, f1 -/* 803112D4 0030E234 EC 46 10 FA */ fmadds f2, f6, f3, f2 -/* 803112D8 0030E238 EC 04 01 BC */ fnmsubs f0, f4, f6, f0 -/* 803112DC 0030E23C EC 29 09 3A */ fmadds f1, f9, f4, f1 -/* 803112E0 0030E240 D0 43 00 00 */ stfs f2, 0(r3) -/* 803112E4 0030E244 EC 08 01 7A */ fmadds f0, f8, f5, f0 -/* 803112E8 0030E248 D0 23 00 04 */ stfs f1, 4(r3) -/* 803112EC 0030E24C D0 03 00 08 */ stfs f0, 8(r3) -/* 803112F0 0030E250 4E 80 00 20 */ blr - -.global AxisAngle__11CQuaternionFRC13CUnitVector3fRC9CRelAngle -AxisAngle__11CQuaternionFRC13CUnitVector3fRC9CRelAngle: -/* 803112F4 0030E254 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 803112F8 0030E258 7C 08 02 A6 */ mflr r0 -/* 803112FC 0030E25C 90 01 00 34 */ stw r0, 0x34(r1) -/* 80311300 0030E260 DB E1 00 20 */ stfd f31, 0x20(r1) -/* 80311304 0030E264 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 -/* 80311308 0030E268 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8031130C 0030E26C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80311310 0030E270 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80311314 0030E274 7C BF 2B 78 */ mr r31, r5 -/* 80311318 0030E278 C0 02 C8 7C */ lfs f0, lbl_805AE59C@sda21(r2) -/* 8031131C 0030E27C C0 25 00 00 */ lfs f1, 0(r5) -/* 80311320 0030E280 7C 7D 1B 78 */ mr r29, r3 -/* 80311324 0030E284 7C 9E 23 78 */ mr r30, r4 -/* 80311328 0030E288 EC 21 00 32 */ fmuls f1, f1, f0 -/* 8031132C 0030E28C 48 08 30 C5 */ bl cos -/* 80311330 0030E290 C0 5F 00 00 */ lfs f2, 0(r31) -/* 80311334 0030E294 FF E0 08 90 */ fmr f31, f1 -/* 80311338 0030E298 C0 02 C8 7C */ lfs f0, lbl_805AE59C@sda21(r2) -/* 8031133C 0030E29C EC 42 00 32 */ fmuls f2, f2, f0 -/* 80311340 0030E2A0 FC 20 10 90 */ fmr f1, f2 -/* 80311344 0030E2A4 48 08 37 99 */ bl sin -/* 80311348 0030E2A8 FC 80 08 18 */ frsp f4, f1 -/* 8031134C 0030E2AC C0 7E 00 00 */ lfs f3, 0(r30) -/* 80311350 0030E2B0 FC 00 F8 18 */ frsp f0, f31 -/* 80311354 0030E2B4 C0 5E 00 04 */ lfs f2, 4(r30) -/* 80311358 0030E2B8 C0 3E 00 08 */ lfs f1, 8(r30) -/* 8031135C 0030E2BC EC 64 00 F2 */ fmuls f3, f4, f3 -/* 80311360 0030E2C0 D0 1D 00 00 */ stfs f0, 0(r29) -/* 80311364 0030E2C4 EC 44 00 B2 */ fmuls f2, f4, f2 -/* 80311368 0030E2C8 EC 04 00 72 */ fmuls f0, f4, f1 -/* 8031136C 0030E2CC D0 7D 00 04 */ stfs f3, 4(r29) -/* 80311370 0030E2D0 D0 5D 00 08 */ stfs f2, 8(r29) -/* 80311374 0030E2D4 D0 1D 00 0C */ stfs f0, 0xc(r29) -/* 80311378 0030E2D8 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 -/* 8031137C 0030E2DC 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80311380 0030E2E0 CB E1 00 20 */ lfd f31, 0x20(r1) -/* 80311384 0030E2E4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80311388 0030E2E8 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8031138C 0030E2EC 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80311390 0030E2F0 7C 08 03 A6 */ mtlr r0 -/* 80311394 0030E2F4 38 21 00 30 */ addi r1, r1, 0x30 -/* 80311398 0030E2F8 4E 80 00 20 */ blr - -.global BuildNormalized__11CQuaternionCFv -BuildNormalized__11CQuaternionCFv: -/* 8031139C 0030E2FC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803113A0 0030E300 7C 08 02 A6 */ mflr r0 -/* 803113A4 0030E304 90 01 00 14 */ stw r0, 0x14(r1) -/* 803113A8 0030E308 93 E1 00 0C */ stw r31, 0xc(r1) -/* 803113AC 0030E30C 7C 9F 23 78 */ mr r31, r4 -/* 803113B0 0030E310 93 C1 00 08 */ stw r30, 8(r1) -/* 803113B4 0030E314 7C 7E 1B 78 */ mr r30, r3 -/* 803113B8 0030E318 C0 24 00 04 */ lfs f1, 4(r4) -/* 803113BC 0030E31C C0 04 00 08 */ lfs f0, 8(r4) -/* 803113C0 0030E320 EC 21 00 72 */ fmuls f1, f1, f1 -/* 803113C4 0030E324 C0 44 00 0C */ lfs f2, 0xc(r4) -/* 803113C8 0030E328 EC 00 00 32 */ fmuls f0, f0, f0 -/* 803113CC 0030E32C C0 64 00 00 */ lfs f3, 0(r4) -/* 803113D0 0030E330 EC 42 00 B2 */ fmuls f2, f2, f2 -/* 803113D4 0030E334 EC 63 00 F2 */ fmuls f3, f3, f3 -/* 803113D8 0030E338 EC 01 00 2A */ fadds f0, f1, f0 -/* 803113DC 0030E33C EC 02 00 2A */ fadds f0, f2, f0 -/* 803113E0 0030E340 EC 23 00 2A */ fadds f1, f3, f0 -/* 803113E4 0030E344 48 00 3F F5 */ bl InvSqrtF__5CMathFf -/* 803113E8 0030E348 C0 1F 00 00 */ lfs f0, 0(r31) -/* 803113EC 0030E34C C0 9F 00 04 */ lfs f4, 4(r31) -/* 803113F0 0030E350 EC 01 00 32 */ fmuls f0, f1, f0 -/* 803113F4 0030E354 C0 7F 00 08 */ lfs f3, 8(r31) -/* 803113F8 0030E358 C0 5F 00 0C */ lfs f2, 0xc(r31) -/* 803113FC 0030E35C EC 81 01 32 */ fmuls f4, f1, f4 -/* 80311400 0030E360 EC 61 00 F2 */ fmuls f3, f1, f3 -/* 80311404 0030E364 D0 1E 00 00 */ stfs f0, 0(r30) -/* 80311408 0030E368 EC 01 00 B2 */ fmuls f0, f1, f2 -/* 8031140C 0030E36C D0 9E 00 04 */ stfs f4, 4(r30) -/* 80311410 0030E370 D0 7E 00 08 */ stfs f3, 8(r30) -/* 80311414 0030E374 D0 1E 00 0C */ stfs f0, 0xc(r30) -/* 80311418 0030E378 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8031141C 0030E37C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80311420 0030E380 83 C1 00 08 */ lwz r30, 8(r1) -/* 80311424 0030E384 7C 08 03 A6 */ mtlr r0 -/* 80311428 0030E388 38 21 00 10 */ addi r1, r1, 0x10 -/* 8031142C 0030E38C 4E 80 00 20 */ blr - -.global BuildEquivalent__11CQuaternionCFv -BuildEquivalent__11CQuaternionCFv: -/* 80311430 0030E390 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80311434 0030E394 7C 08 02 A6 */ mflr r0 -/* 80311438 0030E398 90 01 00 44 */ stw r0, 0x44(r1) -/* 8031143C 0030E39C DB E1 00 30 */ stfd f31, 0x30(r1) -/* 80311440 0030E3A0 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 80311444 0030E3A4 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80311448 0030E3A8 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8031144C 0030E3AC 7C 9F 23 78 */ mr r31, r4 -/* 80311450 0030E3B0 C0 0D 9C A0 */ lfs f0, lbl_805A8860@sda21(r13) -/* 80311454 0030E3B4 C0 24 00 00 */ lfs f1, 0(r4) -/* 80311458 0030E3B8 7C 7E 1B 78 */ mr r30, r3 -/* 8031145C 0030E3BC FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80311460 0030E3C0 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 80311464 0030E3C4 40 80 00 0C */ bge lbl_80311470 -/* 80311468 0030E3C8 38 6D 9C A0 */ addi r3, r13, lbl_805A8860@sda21 -/* 8031146C 0030E3CC 48 00 00 08 */ b lbl_80311474 -lbl_80311470: -/* 80311470 0030E3D0 38 61 00 0C */ addi r3, r1, 0xc -lbl_80311474: -/* 80311474 0030E3D4 C0 23 00 00 */ lfs f1, 0(r3) -/* 80311478 0030E3D8 C0 0D 9C A4 */ lfs f0, lbl_805A8864@sda21(r13) -/* 8031147C 0030E3DC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80311480 0030E3E0 40 80 00 08 */ bge lbl_80311488 -/* 80311484 0030E3E4 38 6D 9C A4 */ addi r3, r13, lbl_805A8864@sda21 -lbl_80311488: -/* 80311488 0030E3E8 C0 23 00 00 */ lfs f1, 0(r3) -/* 8031148C 0030E3EC 48 08 37 A1 */ bl acos -/* 80311490 0030E3F0 C8 02 C8 80 */ lfd f0, lbl_805AE5A0@sda21(r2) -/* 80311494 0030E3F4 C8 42 C8 90 */ lfd f2, lbl_805AE5B0@sda21(r2) -/* 80311498 0030E3F8 FC 80 00 72 */ fmul f4, f0, f1 -/* 8031149C 0030E3FC C8 62 C8 88 */ lfd f3, lbl_805AE5A8@sda21(r2) -/* 803114A0 0030E400 C8 02 C8 98 */ lfd f0, lbl_805AE5B8@sda21(r2) -/* 803114A4 0030E404 FC 24 10 28 */ fsub f1, f4, f2 -/* 803114A8 0030E408 FF E3 20 2A */ fadd f31, f3, f4 -/* 803114AC 0030E40C FC 20 0A 10 */ fabs f1, f1 -/* 803114B0 0030E410 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 803114B4 0030E414 40 80 00 2C */ bge lbl_803114E0 -/* 803114B8 0030E418 C0 02 C8 A0 */ lfs f0, lbl_805AE5C0@sda21(r2) -/* 803114BC 0030E41C 3C 60 80 5A */ lis r3, skZero3f@ha -/* 803114C0 0030E420 D0 1E 00 00 */ stfs f0, 0(r30) -/* 803114C4 0030E424 C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) -/* 803114C8 0030E428 D0 1E 00 04 */ stfs f0, 4(r30) -/* 803114CC 0030E42C C0 03 00 04 */ lfs f0, 4(r3) -/* 803114D0 0030E430 D0 1E 00 08 */ stfs f0, 8(r30) -/* 803114D4 0030E434 C0 03 00 08 */ lfs f0, 8(r3) -/* 803114D8 0030E438 D0 1E 00 0C */ stfs f0, 0xc(r30) -/* 803114DC 0030E43C 48 00 00 28 */ b lbl_80311504 -lbl_803114E0: -/* 803114E0 0030E440 38 61 00 10 */ addi r3, r1, 0x10 -/* 803114E4 0030E444 38 9F 00 04 */ addi r4, r31, 4 -/* 803114E8 0030E448 48 00 28 E9 */ bl __ct__11CUnitVectorFRC9CVector3f -/* 803114EC 0030E44C FC 00 F8 18 */ frsp f0, f31 -/* 803114F0 0030E450 7F C3 F3 78 */ mr r3, r30 -/* 803114F4 0030E454 38 81 00 10 */ addi r4, r1, 0x10 -/* 803114F8 0030E458 38 A1 00 08 */ addi r5, r1, 8 -/* 803114FC 0030E45C D0 01 00 08 */ stfs f0, 8(r1) -/* 80311500 0030E460 4B FF FD F5 */ bl AxisAngle__11CQuaternionFRC13CUnitVector3fRC9CRelAngle -lbl_80311504: -/* 80311504 0030E464 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 80311508 0030E468 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8031150C 0030E46C CB E1 00 30 */ lfd f31, 0x30(r1) -/* 80311510 0030E470 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80311514 0030E474 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80311518 0030E478 7C 08 03 A6 */ mtlr r0 -/* 8031151C 0030E47C 38 21 00 40 */ addi r1, r1, 0x40 -/* 80311520 0030E480 4E 80 00 20 */ blr - -.global AngleFrom__11CQuaternionCFRC11CQuaternion -AngleFrom__11CQuaternionCFRC11CQuaternion: -/* 80311524 0030E484 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80311528 0030E488 7C 08 02 A6 */ mflr r0 -/* 8031152C 0030E48C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80311530 0030E490 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80311534 0030E494 7C 7F 1B 78 */ mr r31, r3 -/* 80311538 0030E498 C0 24 00 08 */ lfs f1, 8(r4) -/* 8031153C 0030E49C C0 05 00 08 */ lfs f0, 8(r5) -/* 80311540 0030E4A0 C0 44 00 04 */ lfs f2, 4(r4) -/* 80311544 0030E4A4 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80311548 0030E4A8 C0 25 00 04 */ lfs f1, 4(r5) -/* 8031154C 0030E4AC C0 84 00 0C */ lfs f4, 0xc(r4) -/* 80311550 0030E4B0 C0 65 00 0C */ lfs f3, 0xc(r5) -/* 80311554 0030E4B4 EC 22 00 7A */ fmadds f1, f2, f1, f0 -/* 80311558 0030E4B8 C0 A4 00 00 */ lfs f5, 0(r4) -/* 8031155C 0030E4BC C0 45 00 00 */ lfs f2, 0(r5) -/* 80311560 0030E4C0 C0 0D 9C 98 */ lfs f0, lbl_805A8858@sda21(r13) -/* 80311564 0030E4C4 EC 24 08 FA */ fmadds f1, f4, f3, f1 -/* 80311568 0030E4C8 EC 25 08 BA */ fmadds f1, f5, f2, f1 -/* 8031156C 0030E4CC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80311570 0030E4D0 D0 21 00 08 */ stfs f1, 8(r1) -/* 80311574 0030E4D4 40 80 00 0C */ bge lbl_80311580 -/* 80311578 0030E4D8 38 6D 9C 98 */ addi r3, r13, lbl_805A8858@sda21 -/* 8031157C 0030E4DC 48 00 00 08 */ b lbl_80311584 -lbl_80311580: -/* 80311580 0030E4E0 38 61 00 08 */ addi r3, r1, 8 -lbl_80311584: -/* 80311584 0030E4E4 C0 2D 9C 9C */ lfs f1, lbl_805A885C@sda21(r13) -/* 80311588 0030E4E8 C0 03 00 00 */ lfs f0, 0(r3) -/* 8031158C 0030E4EC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80311590 0030E4F0 40 80 00 08 */ bge lbl_80311598 -/* 80311594 0030E4F4 38 6D 9C 9C */ addi r3, r13, lbl_805A885C@sda21 -lbl_80311598: -/* 80311598 0030E4F8 C0 23 00 00 */ lfs f1, 0(r3) -/* 8031159C 0030E4FC 48 00 3D F5 */ bl ArcCosineR__5CMathFf -/* 803115A0 0030E500 D0 3F 00 00 */ stfs f1, 0(r31) -/* 803115A4 0030E504 80 01 00 24 */ lwz r0, 0x24(r1) -/* 803115A8 0030E508 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 803115AC 0030E50C 7C 08 03 A6 */ mtlr r0 -/* 803115B0 0030E510 38 21 00 20 */ addi r1, r1, 0x20 -/* 803115B4 0030E514 4E 80 00 20 */ blr - -.global SlerpLocal__11CQuaternionFRC11CQuaternionRC11CQuaternionf -SlerpLocal__11CQuaternionFRC11CQuaternionRC11CQuaternionf: -/* 803115B8 0030E518 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 803115BC 0030E51C 7C 08 02 A6 */ mflr r0 -/* 803115C0 0030E520 90 01 00 54 */ stw r0, 0x54(r1) -/* 803115C4 0030E524 DB E1 00 40 */ stfd f31, 0x40(r1) -/* 803115C8 0030E528 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 -/* 803115CC 0030E52C 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 803115D0 0030E530 93 C1 00 38 */ stw r30, 0x38(r1) -/* 803115D4 0030E534 C0 44 00 08 */ lfs f2, 8(r4) -/* 803115D8 0030E538 FF E0 08 90 */ fmr f31, f1 -/* 803115DC 0030E53C C0 05 00 08 */ lfs f0, 8(r5) -/* 803115E0 0030E540 7C 9F 23 78 */ mr r31, r4 -/* 803115E4 0030E544 C0 64 00 04 */ lfs f3, 4(r4) -/* 803115E8 0030E548 7C 7E 1B 78 */ mr r30, r3 -/* 803115EC 0030E54C EC 02 00 32 */ fmuls f0, f2, f0 -/* 803115F0 0030E550 C0 45 00 04 */ lfs f2, 4(r5) -/* 803115F4 0030E554 C0 A4 00 0C */ lfs f5, 0xc(r4) -/* 803115F8 0030E558 EC 43 00 BA */ fmadds f2, f3, f2, f0 -/* 803115FC 0030E55C C0 85 00 0C */ lfs f4, 0xc(r5) -/* 80311600 0030E560 C0 C4 00 00 */ lfs f6, 0(r4) -/* 80311604 0030E564 C0 65 00 00 */ lfs f3, 0(r5) -/* 80311608 0030E568 EC 45 11 3A */ fmadds f2, f5, f4, f2 -/* 8031160C 0030E56C C0 02 C8 78 */ lfs f0, lbl_805AE598@sda21(r2) -/* 80311610 0030E570 EC 46 10 FA */ fmadds f2, f6, f3, f2 -/* 80311614 0030E574 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80311618 0030E578 4C 41 13 82 */ cror 2, 1, 2 -/* 8031161C 0030E57C 40 82 00 14 */ bne lbl_80311630 -/* 80311620 0030E580 38 61 00 28 */ addi r3, r1, 0x28 -/* 80311624 0030E584 48 00 06 D5 */ bl Slerp__11CQuaternionFRC11CQuaternionRC11CQuaternionf -/* 80311628 0030E588 38 61 00 28 */ addi r3, r1, 0x28 -/* 8031162C 0030E58C 48 00 00 28 */ b lbl_80311654 -lbl_80311630: -/* 80311630 0030E590 7C A4 2B 78 */ mr r4, r5 -/* 80311634 0030E594 38 61 00 18 */ addi r3, r1, 0x18 -/* 80311638 0030E598 4B FF FD F9 */ bl BuildEquivalent__11CQuaternionCFv -/* 8031163C 0030E59C FC 20 F8 90 */ fmr f1, f31 -/* 80311640 0030E5A0 7F E4 FB 78 */ mr r4, r31 -/* 80311644 0030E5A4 38 61 00 08 */ addi r3, r1, 8 -/* 80311648 0030E5A8 38 A1 00 18 */ addi r5, r1, 0x18 -/* 8031164C 0030E5AC 48 00 06 AD */ bl Slerp__11CQuaternionFRC11CQuaternionRC11CQuaternionf -/* 80311650 0030E5B0 38 61 00 08 */ addi r3, r1, 8 -lbl_80311654: -/* 80311654 0030E5B4 C0 03 00 00 */ lfs f0, 0(r3) -/* 80311658 0030E5B8 D0 1E 00 00 */ stfs f0, 0(r30) -/* 8031165C 0030E5BC C0 03 00 04 */ lfs f0, 4(r3) -/* 80311660 0030E5C0 D0 1E 00 04 */ stfs f0, 4(r30) -/* 80311664 0030E5C4 C0 03 00 08 */ lfs f0, 8(r3) -/* 80311668 0030E5C8 D0 1E 00 08 */ stfs f0, 8(r30) -/* 8031166C 0030E5CC C0 03 00 0C */ lfs f0, 0xc(r3) -/* 80311670 0030E5D0 D0 1E 00 0C */ stfs f0, 0xc(r30) -/* 80311674 0030E5D4 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 -/* 80311678 0030E5D8 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8031167C 0030E5DC CB E1 00 40 */ lfd f31, 0x40(r1) -/* 80311680 0030E5E0 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 80311684 0030E5E4 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 80311688 0030E5E8 7C 08 03 A6 */ mtlr r0 -/* 8031168C 0030E5EC 38 21 00 50 */ addi r1, r1, 0x50 -/* 80311690 0030E5F0 4E 80 00 20 */ blr - -.global LookAt__11CQuaternionFRC13CUnitVector3fRC13CUnitVector3fRC9CRelAngle -LookAt__11CQuaternionFRC13CUnitVector3fRC13CUnitVector3fRC9CRelAngle: -/* 80311694 0030E5F4 94 21 FE D0 */ stwu r1, -0x130(r1) -/* 80311698 0030E5F8 7C 08 02 A6 */ mflr r0 -/* 8031169C 0030E5FC 90 01 01 34 */ stw r0, 0x134(r1) -/* 803116A0 0030E600 DB E1 01 20 */ stfd f31, 0x120(r1) -/* 803116A4 0030E604 F3 E1 01 28 */ psq_st f31, 296(r1), 0, qr0 -/* 803116A8 0030E608 DB C1 01 10 */ stfd f30, 0x110(r1) -/* 803116AC 0030E60C F3 C1 01 18 */ psq_st f30, 280(r1), 0, qr0 -/* 803116B0 0030E610 DB A1 01 00 */ stfd f29, 0x100(r1) -/* 803116B4 0030E614 F3 A1 01 08 */ psq_st f29, 264(r1), 0, qr0 -/* 803116B8 0030E618 DB 81 00 F0 */ stfd f28, 0xf0(r1) -/* 803116BC 0030E61C F3 81 00 F8 */ psq_st f28, 248(r1), 0, qr0 -/* 803116C0 0030E620 93 E1 00 EC */ stw r31, 0xec(r1) -/* 803116C4 0030E624 93 C1 00 E8 */ stw r30, 0xe8(r1) -/* 803116C8 0030E628 93 A1 00 E4 */ stw r29, 0xe4(r1) -/* 803116CC 0030E62C 7C 9E 23 78 */ mr r30, r4 -/* 803116D0 0030E630 C1 04 00 00 */ lfs f8, 0(r4) -/* 803116D4 0030E634 C0 FE 00 04 */ lfs f7, 4(r30) -/* 803116D8 0030E638 3C 80 80 5A */ lis r4, lbl_805A6660@ha -/* 803116DC 0030E63C C1 65 00 00 */ lfs f11, 0(r5) -/* 803116E0 0030E640 EC 68 02 32 */ fmuls f3, f8, f8 -/* 803116E4 0030E644 C1 45 00 04 */ lfs f10, 4(r5) -/* 803116E8 0030E648 EC 47 01 F2 */ fmuls f2, f7, f7 -/* 803116EC 0030E64C C0 A2 C8 78 */ lfs f5, lbl_805AE598@sda21(r2) -/* 803116F0 0030E650 EC 2B 02 F2 */ fmuls f1, f11, f11 -/* 803116F4 0030E654 EC 0A 02 B2 */ fmuls f0, f10, f10 -/* 803116F8 0030E658 EC 85 01 72 */ fmuls f4, f5, f5 -/* 803116FC 0030E65C C1 25 00 08 */ lfs f9, 8(r5) -/* 80311700 0030E660 EC 43 10 2A */ fadds f2, f3, f2 -/* 80311704 0030E664 C5 84 66 60 */ lfsu f12, lbl_805A6660@l(r4) -/* 80311708 0030E668 EC 21 00 2A */ fadds f1, f1, f0 -/* 8031170C 0030E66C D1 21 00 DC */ stfs f9, 0xdc(r1) -/* 80311710 0030E670 ED 24 10 2A */ fadds f9, f4, f2 -/* 80311714 0030E674 C0 DE 00 08 */ lfs f6, 8(r30) -/* 80311718 0030E678 C0 02 C8 A4 */ lfs f0, lbl_805AE5C4@sda21(r2) -/* 8031171C 0030E67C EC 84 08 2A */ fadds f4, f4, f1 -/* 80311720 0030E680 D0 C1 00 D0 */ stfs f6, 0xd0(r1) -/* 80311724 0030E684 7C BF 2B 78 */ mr r31, r5 -/* 80311728 0030E688 C0 C6 00 00 */ lfs f6, 0(r6) -/* 8031172C 0030E68C FC 09 00 40 */ fcmpo cr0, f9, f0 -/* 80311730 0030E690 C0 64 00 04 */ lfs f3, 4(r4) -/* 80311734 0030E694 7C 7D 1B 78 */ mr r29, r3 -/* 80311738 0030E698 C0 44 00 08 */ lfs f2, 8(r4) -/* 8031173C 0030E69C C0 24 00 0C */ lfs f1, 0xc(r4) -/* 80311740 0030E6A0 D1 61 00 D4 */ stfs f11, 0xd4(r1) -/* 80311744 0030E6A4 D1 41 00 D8 */ stfs f10, 0xd8(r1) -/* 80311748 0030E6A8 D1 01 00 C8 */ stfs f8, 0xc8(r1) -/* 8031174C 0030E6AC D0 E1 00 CC */ stfs f7, 0xcc(r1) -/* 80311750 0030E6B0 D0 C1 00 20 */ stfs f6, 0x20(r1) -/* 80311754 0030E6B4 D0 A1 00 DC */ stfs f5, 0xdc(r1) -/* 80311758 0030E6B8 D0 A1 00 D0 */ stfs f5, 0xd0(r1) -/* 8031175C 0030E6BC D1 81 00 B8 */ stfs f12, 0xb8(r1) -/* 80311760 0030E6C0 D0 61 00 BC */ stfs f3, 0xbc(r1) -/* 80311764 0030E6C4 D0 41 00 C0 */ stfs f2, 0xc0(r1) -/* 80311768 0030E6C8 D0 21 00 C4 */ stfs f1, 0xc4(r1) -/* 8031176C 0030E6CC 40 81 01 80 */ ble lbl_803118EC -/* 80311770 0030E6D0 FC 04 00 40 */ fcmpo cr0, f4, f0 -/* 80311774 0030E6D4 40 81 01 78 */ ble lbl_803118EC -/* 80311778 0030E6D8 38 61 00 C8 */ addi r3, r1, 0xc8 -/* 8031177C 0030E6DC 48 00 31 7D */ bl Normalize__9CVector3fFv -/* 80311780 0030E6E0 38 61 00 D4 */ addi r3, r1, 0xd4 -/* 80311784 0030E6E4 48 00 31 75 */ bl Normalize__9CVector3fFv -/* 80311788 0030E6E8 C0 21 00 C8 */ lfs f1, 0xc8(r1) -/* 8031178C 0030E6EC C0 41 00 CC */ lfs f2, 0xcc(r1) -/* 80311790 0030E6F0 48 08 34 DD */ bl atan2 -/* 80311794 0030E6F4 FF 80 08 18 */ frsp f28, f1 -/* 80311798 0030E6F8 C0 21 00 D4 */ lfs f1, 0xd4(r1) -/* 8031179C 0030E6FC C0 41 00 D8 */ lfs f2, 0xd8(r1) -/* 803117A0 0030E700 48 08 34 CD */ bl atan2 -/* 803117A4 0030E704 88 0D A8 8C */ lbz r0, lbl_805A944C@sda21(r13) -/* 803117A8 0030E708 FC 20 08 18 */ frsp f1, f1 -/* 803117AC 0030E70C 7C 00 07 75 */ extsb. r0, r0 -/* 803117B0 0030E710 40 82 00 14 */ bne lbl_803117C4 -/* 803117B4 0030E714 C0 02 C8 A8 */ lfs f0, lbl_805AE5C8@sda21(r2) -/* 803117B8 0030E718 38 00 00 01 */ li r0, 1 -/* 803117BC 0030E71C 98 0D A8 8C */ stb r0, lbl_805A944C@sda21(r13) -/* 803117C0 0030E720 D0 0D A8 88 */ stfs f0, lbl_805A9448@sda21(r13) -lbl_803117C4: -/* 803117C4 0030E724 EC 21 E0 28 */ fsubs f1, f1, f28 -/* 803117C8 0030E728 C0 4D A8 88 */ lfs f2, lbl_805A9448@sda21(r13) -/* 803117CC 0030E72C FC 01 10 40 */ fcmpo cr0, f1, f2 -/* 803117D0 0030E730 40 81 00 10 */ ble lbl_803117E0 -/* 803117D4 0030E734 C0 02 C8 70 */ lfs f0, lbl_805AE590@sda21(r2) -/* 803117D8 0030E738 EC 20 08 BC */ fnmsubs f1, f0, f2, f1 -/* 803117DC 0030E73C 48 00 00 18 */ b lbl_803117F4 -lbl_803117E0: -/* 803117E0 0030E740 FC 00 10 50 */ fneg f0, f2 -/* 803117E4 0030E744 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 803117E8 0030E748 40 80 00 0C */ bge lbl_803117F4 -/* 803117EC 0030E74C C0 02 C8 70 */ lfs f0, lbl_805AE590@sda21(r2) -/* 803117F0 0030E750 EC 20 08 BA */ fmadds f1, f0, f2, f1 -lbl_803117F4: -/* 803117F4 0030E754 C0 01 00 20 */ lfs f0, 0x20(r1) -/* 803117F8 0030E758 D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 803117FC 0030E75C FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80311800 0030E760 40 80 00 0C */ bge lbl_8031180C -/* 80311804 0030E764 38 61 00 20 */ addi r3, r1, 0x20 -/* 80311808 0030E768 48 00 00 08 */ b lbl_80311810 -lbl_8031180C: -/* 8031180C 0030E76C 38 61 00 1C */ addi r3, r1, 0x1c -lbl_80311810: -/* 80311810 0030E770 FC 20 00 50 */ fneg f1, f0 -/* 80311814 0030E774 C0 43 00 00 */ lfs f2, 0(r3) -/* 80311818 0030E778 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 8031181C 0030E77C FC 00 08 18 */ frsp f0, f1 -/* 80311820 0030E780 D0 21 00 14 */ stfs f1, 0x14(r1) -/* 80311824 0030E784 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80311828 0030E788 40 80 00 0C */ bge lbl_80311834 -/* 8031182C 0030E78C 38 61 00 14 */ addi r3, r1, 0x14 -/* 80311830 0030E790 48 00 00 08 */ b lbl_80311838 -lbl_80311834: -/* 80311834 0030E794 38 61 00 1C */ addi r3, r1, 0x1c -lbl_80311838: -/* 80311838 0030E798 C0 23 00 00 */ lfs f1, 0(r3) -/* 8031183C 0030E79C 38 61 00 98 */ addi r3, r1, 0x98 -/* 80311840 0030E7A0 38 81 00 10 */ addi r4, r1, 0x10 -/* 80311844 0030E7A4 FC 00 08 50 */ fneg f0, f1 -/* 80311848 0030E7A8 D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 8031184C 0030E7AC D0 01 00 10 */ stfs f0, 0x10(r1) -/* 80311850 0030E7B0 4B FF F8 A9 */ bl ZRotation__11CQuaternionFRC9CRelAngle -/* 80311854 0030E7B4 80 E1 00 9C */ lwz r7, 0x9c(r1) -/* 80311858 0030E7B8 38 61 00 78 */ addi r3, r1, 0x78 -/* 8031185C 0030E7BC 80 C1 00 A0 */ lwz r6, 0xa0(r1) -/* 80311860 0030E7C0 38 81 00 B8 */ addi r4, r1, 0xb8 -/* 80311864 0030E7C4 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 80311868 0030E7C8 38 A1 00 68 */ addi r5, r1, 0x68 -/* 8031186C 0030E7CC 90 E1 00 BC */ stw r7, 0xbc(r1) -/* 80311870 0030E7D0 C0 81 00 98 */ lfs f4, 0x98(r1) -/* 80311874 0030E7D4 90 C1 00 C0 */ stw r6, 0xc0(r1) -/* 80311878 0030E7D8 C0 01 00 BC */ lfs f0, 0xbc(r1) -/* 8031187C 0030E7DC 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 80311880 0030E7E0 C0 21 00 C0 */ lfs f1, 0xc0(r1) -/* 80311884 0030E7E4 FC A0 00 50 */ fneg f5, f0 -/* 80311888 0030E7E8 C0 01 00 C4 */ lfs f0, 0xc4(r1) -/* 8031188C 0030E7EC FC C0 08 50 */ fneg f6, f1 -/* 80311890 0030E7F0 C0 62 C8 78 */ lfs f3, lbl_805AE598@sda21(r2) -/* 80311894 0030E7F4 FC E0 00 50 */ fneg f7, f0 -/* 80311898 0030E7F8 C0 41 00 C8 */ lfs f2, 0xc8(r1) -/* 8031189C 0030E7FC C0 21 00 CC */ lfs f1, 0xcc(r1) -/* 803118A0 0030E800 C0 01 00 D0 */ lfs f0, 0xd0(r1) -/* 803118A4 0030E804 D0 81 00 B8 */ stfs f4, 0xb8(r1) -/* 803118A8 0030E808 D0 81 00 58 */ stfs f4, 0x58(r1) -/* 803118AC 0030E80C D0 A1 00 5C */ stfs f5, 0x5c(r1) -/* 803118B0 0030E810 D0 C1 00 60 */ stfs f6, 0x60(r1) -/* 803118B4 0030E814 D0 E1 00 64 */ stfs f7, 0x64(r1) -/* 803118B8 0030E818 D0 61 00 68 */ stfs f3, 0x68(r1) -/* 803118BC 0030E81C D0 41 00 6C */ stfs f2, 0x6c(r1) -/* 803118C0 0030E820 D0 21 00 70 */ stfs f1, 0x70(r1) -/* 803118C4 0030E824 D0 01 00 74 */ stfs f0, 0x74(r1) -/* 803118C8 0030E828 4B FF F8 D9 */ bl __ml__11CQuaternionCFRC11CQuaternion -/* 803118CC 0030E82C 38 61 00 88 */ addi r3, r1, 0x88 -/* 803118D0 0030E830 38 81 00 78 */ addi r4, r1, 0x78 -/* 803118D4 0030E834 38 A1 00 58 */ addi r5, r1, 0x58 -/* 803118D8 0030E838 4B FF F8 C9 */ bl __ml__11CQuaternionCFRC11CQuaternion -/* 803118DC 0030E83C C0 C1 00 8C */ lfs f6, 0x8c(r1) -/* 803118E0 0030E840 C0 E1 00 90 */ lfs f7, 0x90(r1) -/* 803118E4 0030E844 C1 01 00 94 */ lfs f8, 0x94(r1) -/* 803118E8 0030E848 48 00 00 70 */ b lbl_80311958 -lbl_803118EC: -/* 803118EC 0030E84C C0 02 C8 A4 */ lfs f0, lbl_805AE5C4@sda21(r2) -/* 803118F0 0030E850 FC 09 00 40 */ fcmpo cr0, f9, f0 -/* 803118F4 0030E854 40 81 00 20 */ ble lbl_80311914 -/* 803118F8 0030E858 38 61 00 4C */ addi r3, r1, 0x4c -/* 803118FC 0030E85C 38 81 00 C8 */ addi r4, r1, 0xc8 -/* 80311900 0030E860 48 00 2F 51 */ bl AsNormalized__9CVector3fCFv -/* 80311904 0030E864 C0 C1 00 4C */ lfs f6, 0x4c(r1) -/* 80311908 0030E868 C0 E1 00 50 */ lfs f7, 0x50(r1) -/* 8031190C 0030E86C C1 01 00 54 */ lfs f8, 0x54(r1) -/* 80311910 0030E870 48 00 00 48 */ b lbl_80311958 -lbl_80311914: -/* 80311914 0030E874 FC 04 00 40 */ fcmpo cr0, f4, f0 -/* 80311918 0030E878 40 81 00 20 */ ble lbl_80311938 -/* 8031191C 0030E87C 38 61 00 40 */ addi r3, r1, 0x40 -/* 80311920 0030E880 38 81 00 D4 */ addi r4, r1, 0xd4 -/* 80311924 0030E884 48 00 2F 2D */ bl AsNormalized__9CVector3fCFv -/* 80311928 0030E888 C0 C1 00 40 */ lfs f6, 0x40(r1) -/* 8031192C 0030E88C C0 E1 00 44 */ lfs f7, 0x44(r1) -/* 80311930 0030E890 C1 01 00 48 */ lfs f8, 0x48(r1) -/* 80311934 0030E894 48 00 00 24 */ b lbl_80311958 -lbl_80311938: -/* 80311938 0030E898 D1 9D 00 00 */ stfs f12, 0(r29) -/* 8031193C 0030E89C C0 04 00 04 */ lfs f0, 4(r4) -/* 80311940 0030E8A0 D0 1D 00 04 */ stfs f0, 4(r29) -/* 80311944 0030E8A4 C0 04 00 08 */ lfs f0, 8(r4) -/* 80311948 0030E8A8 D0 1D 00 08 */ stfs f0, 8(r29) -/* 8031194C 0030E8AC C0 04 00 0C */ lfs f0, 0xc(r4) -/* 80311950 0030E8B0 D0 1D 00 0C */ stfs f0, 0xc(r29) -/* 80311954 0030E8B4 48 00 01 28 */ b lbl_80311A7C -lbl_80311958: -/* 80311958 0030E8B8 C0 A2 C8 78 */ lfs f5, lbl_805AE598@sda21(r2) -/* 8031195C 0030E8BC C0 62 C8 74 */ lfs f3, lbl_805AE594@sda21(r2) -/* 80311960 0030E8C0 EC 85 01 F2 */ fmuls f4, f5, f7 -/* 80311964 0030E8C4 C0 3F 00 08 */ lfs f1, 8(r31) -/* 80311968 0030E8C8 EC 43 01 B2 */ fmuls f2, f3, f6 -/* 8031196C 0030E8CC EC 05 02 32 */ fmuls f0, f5, f8 -/* 80311970 0030E8D0 EF E6 21 78 */ fmsubs f31, f6, f5, f4 -/* 80311974 0030E8D4 EF 88 11 78 */ fmsubs f28, f8, f5, f2 -/* 80311978 0030E8D8 EF A7 00 F8 */ fmsubs f29, f7, f3, f0 -/* 8031197C 0030E8DC 48 08 32 B1 */ bl acos -/* 80311980 0030E8E0 FF C0 08 18 */ frsp f30, f1 -/* 80311984 0030E8E4 C0 3E 00 08 */ lfs f1, 8(r30) -/* 80311988 0030E8E8 48 08 32 A5 */ bl acos -/* 8031198C 0030E8EC 88 0D A8 8C */ lbz r0, lbl_805A944C@sda21(r13) -/* 80311990 0030E8F0 FC 20 08 18 */ frsp f1, f1 -/* 80311994 0030E8F4 7C 00 07 75 */ extsb. r0, r0 -/* 80311998 0030E8F8 40 82 00 14 */ bne lbl_803119AC -/* 8031199C 0030E8FC C0 02 C8 A8 */ lfs f0, lbl_805AE5C8@sda21(r2) -/* 803119A0 0030E900 38 00 00 01 */ li r0, 1 -/* 803119A4 0030E904 98 0D A8 8C */ stb r0, lbl_805A944C@sda21(r13) -/* 803119A8 0030E908 D0 0D A8 88 */ stfs f0, lbl_805A9448@sda21(r13) -lbl_803119AC: -/* 803119AC 0030E90C EC 3E 08 28 */ fsubs f1, f30, f1 -/* 803119B0 0030E910 C0 4D A8 88 */ lfs f2, lbl_805A9448@sda21(r13) -/* 803119B4 0030E914 FC 01 10 40 */ fcmpo cr0, f1, f2 -/* 803119B8 0030E918 40 81 00 10 */ ble lbl_803119C8 -/* 803119BC 0030E91C C0 02 C8 70 */ lfs f0, lbl_805AE590@sda21(r2) -/* 803119C0 0030E920 EC 20 08 BC */ fnmsubs f1, f0, f2, f1 -/* 803119C4 0030E924 48 00 00 18 */ b lbl_803119DC -lbl_803119C8: -/* 803119C8 0030E928 FC 00 10 50 */ fneg f0, f2 -/* 803119CC 0030E92C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 803119D0 0030E930 40 80 00 0C */ bge lbl_803119DC -/* 803119D4 0030E934 C0 02 C8 70 */ lfs f0, lbl_805AE590@sda21(r2) -/* 803119D8 0030E938 EC 20 08 BA */ fmadds f1, f0, f2, f1 -lbl_803119DC: -/* 803119DC 0030E93C C0 01 00 20 */ lfs f0, 0x20(r1) -/* 803119E0 0030E940 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 803119E4 0030E944 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 803119E8 0030E948 40 80 00 0C */ bge lbl_803119F4 -/* 803119EC 0030E94C 38 61 00 20 */ addi r3, r1, 0x20 -/* 803119F0 0030E950 48 00 00 08 */ b lbl_803119F8 -lbl_803119F4: -/* 803119F4 0030E954 38 61 00 18 */ addi r3, r1, 0x18 -lbl_803119F8: -/* 803119F8 0030E958 FC 20 00 50 */ fneg f1, f0 -/* 803119FC 0030E95C C0 43 00 00 */ lfs f2, 0(r3) -/* 80311A00 0030E960 D0 41 00 18 */ stfs f2, 0x18(r1) -/* 80311A04 0030E964 FC 00 08 18 */ frsp f0, f1 -/* 80311A08 0030E968 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 80311A0C 0030E96C FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80311A10 0030E970 40 80 00 0C */ bge lbl_80311A1C -/* 80311A14 0030E974 38 61 00 0C */ addi r3, r1, 0xc -/* 80311A18 0030E978 48 00 00 08 */ b lbl_80311A20 -lbl_80311A1C: -/* 80311A1C 0030E97C 38 61 00 18 */ addi r3, r1, 0x18 -lbl_80311A20: -/* 80311A20 0030E980 C0 23 00 00 */ lfs f1, 0(r3) -/* 80311A24 0030E984 38 61 00 30 */ addi r3, r1, 0x30 -/* 80311A28 0030E988 38 81 00 24 */ addi r4, r1, 0x24 -/* 80311A2C 0030E98C 38 A1 00 08 */ addi r5, r1, 8 -/* 80311A30 0030E990 FC 00 08 50 */ fneg f0, f1 -/* 80311A34 0030E994 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 80311A38 0030E998 D3 A1 00 24 */ stfs f29, 0x24(r1) -/* 80311A3C 0030E99C D0 01 00 08 */ stfs f0, 8(r1) -/* 80311A40 0030E9A0 D3 81 00 28 */ stfs f28, 0x28(r1) -/* 80311A44 0030E9A4 D3 E1 00 2C */ stfs f31, 0x2c(r1) -/* 80311A48 0030E9A8 4B FF F8 AD */ bl AxisAngle__11CQuaternionFRC13CUnitVector3fRC9CRelAngle -/* 80311A4C 0030E9AC C0 61 00 30 */ lfs f3, 0x30(r1) -/* 80311A50 0030E9B0 7F A3 EB 78 */ mr r3, r29 -/* 80311A54 0030E9B4 C0 41 00 34 */ lfs f2, 0x34(r1) -/* 80311A58 0030E9B8 38 81 00 A8 */ addi r4, r1, 0xa8 -/* 80311A5C 0030E9BC C0 21 00 38 */ lfs f1, 0x38(r1) -/* 80311A60 0030E9C0 38 A1 00 B8 */ addi r5, r1, 0xb8 -/* 80311A64 0030E9C4 C0 01 00 3C */ lfs f0, 0x3c(r1) -/* 80311A68 0030E9C8 D0 61 00 A8 */ stfs f3, 0xa8(r1) -/* 80311A6C 0030E9CC D0 41 00 AC */ stfs f2, 0xac(r1) -/* 80311A70 0030E9D0 D0 21 00 B0 */ stfs f1, 0xb0(r1) -/* 80311A74 0030E9D4 D0 01 00 B4 */ stfs f0, 0xb4(r1) -/* 80311A78 0030E9D8 4B FF F7 29 */ bl __ml__11CQuaternionCFRC11CQuaternion -lbl_80311A7C: -/* 80311A7C 0030E9DC E3 E1 01 28 */ psq_l f31, 296(r1), 0, qr0 -/* 80311A80 0030E9E0 CB E1 01 20 */ lfd f31, 0x120(r1) -/* 80311A84 0030E9E4 E3 C1 01 18 */ psq_l f30, 280(r1), 0, qr0 -/* 80311A88 0030E9E8 CB C1 01 10 */ lfd f30, 0x110(r1) -/* 80311A8C 0030E9EC E3 A1 01 08 */ psq_l f29, 264(r1), 0, qr0 -/* 80311A90 0030E9F0 CB A1 01 00 */ lfd f29, 0x100(r1) -/* 80311A94 0030E9F4 E3 81 00 F8 */ psq_l f28, 248(r1), 0, qr0 -/* 80311A98 0030E9F8 CB 81 00 F0 */ lfd f28, 0xf0(r1) -/* 80311A9C 0030E9FC 83 E1 00 EC */ lwz r31, 0xec(r1) -/* 80311AA0 0030EA00 83 C1 00 E8 */ lwz r30, 0xe8(r1) -/* 80311AA4 0030EA04 80 01 01 34 */ lwz r0, 0x134(r1) -/* 80311AA8 0030EA08 83 A1 00 E4 */ lwz r29, 0xe4(r1) -/* 80311AAC 0030EA0C 7C 08 03 A6 */ mtlr r0 -/* 80311AB0 0030EA10 38 21 01 30 */ addi r1, r1, 0x130 -/* 80311AB4 0030EA14 4E 80 00 20 */ blr - -.global ShortestRotationArc__11CQuaternionFRC9CVector3fRC9CVector3f -ShortestRotationArc__11CQuaternionFRC9CVector3fRC9CVector3f: -/* 80311AB8 0030EA18 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 80311ABC 0030EA1C 7C 08 02 A6 */ mflr r0 -/* 80311AC0 0030EA20 C0 02 C8 78 */ lfs f0, lbl_805AE598@sda21(r2) -/* 80311AC4 0030EA24 90 01 00 54 */ stw r0, 0x54(r1) -/* 80311AC8 0030EA28 38 00 00 00 */ li r0, 0 -/* 80311ACC 0030EA2C 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 80311AD0 0030EA30 7C 7F 1B 78 */ mr r31, r3 -/* 80311AD4 0030EA34 C0 C4 00 00 */ lfs f6, 0(r4) -/* 80311AD8 0030EA38 C0 A4 00 04 */ lfs f5, 4(r4) -/* 80311ADC 0030EA3C C0 84 00 08 */ lfs f4, 8(r4) -/* 80311AE0 0030EA40 FC 00 30 00 */ fcmpu cr0, f0, f6 -/* 80311AE4 0030EA44 C0 65 00 00 */ lfs f3, 0(r5) -/* 80311AE8 0030EA48 C0 45 00 04 */ lfs f2, 4(r5) -/* 80311AEC 0030EA4C C0 25 00 08 */ lfs f1, 8(r5) -/* 80311AF0 0030EA50 D0 C1 00 30 */ stfs f6, 0x30(r1) -/* 80311AF4 0030EA54 D0 A1 00 34 */ stfs f5, 0x34(r1) -/* 80311AF8 0030EA58 D0 81 00 38 */ stfs f4, 0x38(r1) -/* 80311AFC 0030EA5C D0 61 00 24 */ stfs f3, 0x24(r1) -/* 80311B00 0030EA60 D0 41 00 28 */ stfs f2, 0x28(r1) -/* 80311B04 0030EA64 D0 21 00 2C */ stfs f1, 0x2c(r1) -/* 80311B08 0030EA68 40 82 00 14 */ bne lbl_80311B1C -/* 80311B0C 0030EA6C FC 00 28 00 */ fcmpu cr0, f0, f5 -/* 80311B10 0030EA70 40 82 00 0C */ bne lbl_80311B1C -/* 80311B14 0030EA74 FC 00 20 00 */ fcmpu cr0, f0, f4 -/* 80311B18 0030EA78 41 82 00 08 */ beq lbl_80311B20 -lbl_80311B1C: -/* 80311B1C 0030EA7C 38 00 00 01 */ li r0, 1 -lbl_80311B20: -/* 80311B20 0030EA80 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 80311B24 0030EA84 41 82 00 0C */ beq lbl_80311B30 -/* 80311B28 0030EA88 38 61 00 30 */ addi r3, r1, 0x30 -/* 80311B2C 0030EA8C 48 00 2D CD */ bl Normalize__9CVector3fFv -lbl_80311B30: -/* 80311B30 0030EA90 C0 22 C8 78 */ lfs f1, lbl_805AE598@sda21(r2) -/* 80311B34 0030EA94 38 00 00 00 */ li r0, 0 -/* 80311B38 0030EA98 C0 01 00 24 */ lfs f0, 0x24(r1) -/* 80311B3C 0030EA9C FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80311B40 0030EAA0 40 82 00 1C */ bne lbl_80311B5C -/* 80311B44 0030EAA4 C0 01 00 28 */ lfs f0, 0x28(r1) -/* 80311B48 0030EAA8 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80311B4C 0030EAAC 40 82 00 10 */ bne lbl_80311B5C -/* 80311B50 0030EAB0 C0 01 00 2C */ lfs f0, 0x2c(r1) -/* 80311B54 0030EAB4 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80311B58 0030EAB8 41 82 00 08 */ beq lbl_80311B60 -lbl_80311B5C: -/* 80311B5C 0030EABC 38 00 00 01 */ li r0, 1 -lbl_80311B60: -/* 80311B60 0030EAC0 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 80311B64 0030EAC4 41 82 00 0C */ beq lbl_80311B70 -/* 80311B68 0030EAC8 38 61 00 24 */ addi r3, r1, 0x24 -/* 80311B6C 0030EACC 48 00 2D 8D */ bl Normalize__9CVector3fFv -lbl_80311B70: -/* 80311B70 0030EAD0 C1 61 00 38 */ lfs f11, 0x38(r1) -/* 80311B74 0030EAD4 C1 01 00 28 */ lfs f8, 0x28(r1) -/* 80311B78 0030EAD8 C1 41 00 2C */ lfs f10, 0x2c(r1) -/* 80311B7C 0030EADC C0 C1 00 30 */ lfs f6, 0x30(r1) -/* 80311B80 0030EAE0 EC 08 02 F2 */ fmuls f0, f8, f11 -/* 80311B84 0030EAE4 C1 21 00 34 */ lfs f9, 0x34(r1) -/* 80311B88 0030EAE8 C0 E1 00 24 */ lfs f7, 0x24(r1) -/* 80311B8C 0030EAEC EC 2A 01 B2 */ fmuls f1, f10, f6 -/* 80311B90 0030EAF0 EC 89 02 B8 */ fmsubs f4, f9, f10, f0 -/* 80311B94 0030EAF4 C0 02 C8 AC */ lfs f0, lbl_805AE5CC@sda21(r2) -/* 80311B98 0030EAF8 EC A7 02 72 */ fmuls f5, f7, f9 -/* 80311B9C 0030EAFC EC 6B 09 F8 */ fmsubs f3, f11, f7, f1 -/* 80311BA0 0030EB00 EC 44 01 32 */ fmuls f2, f4, f4 -/* 80311BA4 0030EB04 D0 81 00 18 */ stfs f4, 0x18(r1) -/* 80311BA8 0030EB08 EC 86 2A 38 */ fmsubs f4, f6, f8, f5 -/* 80311BAC 0030EB0C EC 23 00 F2 */ fmuls f1, f3, f3 -/* 80311BB0 0030EB10 D0 61 00 1C */ stfs f3, 0x1c(r1) -/* 80311BB4 0030EB14 EC 64 01 32 */ fmuls f3, f4, f4 -/* 80311BB8 0030EB18 D0 81 00 20 */ stfs f4, 0x20(r1) -/* 80311BBC 0030EB1C EC 22 08 2A */ fadds f1, f2, f1 -/* 80311BC0 0030EB20 EC 23 08 2A */ fadds f1, f3, f1 -/* 80311BC4 0030EB24 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80311BC8 0030EB28 40 80 00 AC */ bge lbl_80311C74 -/* 80311BCC 0030EB2C EC 29 02 32 */ fmuls f1, f9, f8 -/* 80311BD0 0030EB30 C0 02 C8 78 */ lfs f0, lbl_805AE598@sda21(r2) -/* 80311BD4 0030EB34 EC 26 09 FA */ fmadds f1, f6, f7, f1 -/* 80311BD8 0030EB38 EC 2B 0A BA */ fmadds f1, f11, f10, f1 -/* 80311BDC 0030EB3C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80311BE0 0030EB40 40 81 00 2C */ ble lbl_80311C0C -/* 80311BE4 0030EB44 3C 60 80 5A */ lis r3, lbl_805A6660@ha -/* 80311BE8 0030EB48 C4 03 66 60 */ lfsu f0, lbl_805A6660@l(r3) -/* 80311BEC 0030EB4C D0 1F 00 00 */ stfs f0, 0(r31) -/* 80311BF0 0030EB50 C0 03 00 04 */ lfs f0, 4(r3) -/* 80311BF4 0030EB54 D0 1F 00 04 */ stfs f0, 4(r31) -/* 80311BF8 0030EB58 C0 03 00 08 */ lfs f0, 8(r3) -/* 80311BFC 0030EB5C D0 1F 00 08 */ stfs f0, 8(r31) -/* 80311C00 0030EB60 C0 03 00 0C */ lfs f0, 0xc(r3) -/* 80311C04 0030EB64 D0 1F 00 0C */ stfs f0, 0xc(r31) -/* 80311C08 0030EB68 48 00 00 DC */ b lbl_80311CE4 -lbl_80311C0C: -/* 80311C0C 0030EB6C 38 61 00 18 */ addi r3, r1, 0x18 -/* 80311C10 0030EB70 48 00 2A E9 */ bl CanBeNormalized__9CVector3fCFv -/* 80311C14 0030EB74 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80311C18 0030EB78 41 82 00 34 */ beq lbl_80311C4C -/* 80311C1C 0030EB7C 38 61 00 0C */ addi r3, r1, 0xc -/* 80311C20 0030EB80 38 81 00 18 */ addi r4, r1, 0x18 -/* 80311C24 0030EB84 48 00 2C 2D */ bl AsNormalized__9CVector3fCFv -/* 80311C28 0030EB88 C0 02 C8 78 */ lfs f0, lbl_805AE598@sda21(r2) -/* 80311C2C 0030EB8C D0 1F 00 00 */ stfs f0, 0(r31) -/* 80311C30 0030EB90 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 80311C34 0030EB94 D0 1F 00 04 */ stfs f0, 4(r31) -/* 80311C38 0030EB98 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 80311C3C 0030EB9C D0 1F 00 08 */ stfs f0, 8(r31) -/* 80311C40 0030EBA0 C0 01 00 14 */ lfs f0, 0x14(r1) -/* 80311C44 0030EBA4 D0 1F 00 0C */ stfs f0, 0xc(r31) -/* 80311C48 0030EBA8 48 00 00 9C */ b lbl_80311CE4 -lbl_80311C4C: -/* 80311C4C 0030EBAC 3C 60 80 5A */ lis r3, lbl_805A6660@ha -/* 80311C50 0030EBB0 C4 03 66 60 */ lfsu f0, lbl_805A6660@l(r3) -/* 80311C54 0030EBB4 D0 1F 00 00 */ stfs f0, 0(r31) -/* 80311C58 0030EBB8 C0 03 00 04 */ lfs f0, 4(r3) -/* 80311C5C 0030EBBC D0 1F 00 04 */ stfs f0, 4(r31) -/* 80311C60 0030EBC0 C0 03 00 08 */ lfs f0, 8(r3) -/* 80311C64 0030EBC4 D0 1F 00 08 */ stfs f0, 8(r31) -/* 80311C68 0030EBC8 C0 03 00 0C */ lfs f0, 0xc(r3) -/* 80311C6C 0030EBCC D0 1F 00 0C */ stfs f0, 0xc(r31) -/* 80311C70 0030EBD0 48 00 00 74 */ b lbl_80311CE4 -lbl_80311C74: -/* 80311C74 0030EBD4 EC 09 02 32 */ fmuls f0, f9, f8 -/* 80311C78 0030EBD8 38 81 00 08 */ addi r4, r1, 8 -/* 80311C7C 0030EBDC 38 6D 9C 90 */ addi r3, r13, lbl_805A8850@sda21 -/* 80311C80 0030EBE0 38 AD 9C 94 */ addi r5, r13, lbl_805A8854@sda21 -/* 80311C84 0030EBE4 EC 06 01 FA */ fmadds f0, f6, f7, f0 -/* 80311C88 0030EBE8 EC 0B 02 BA */ fmadds f0, f11, f10, f0 -/* 80311C8C 0030EBEC D0 01 00 08 */ stfs f0, 8(r1) -/* 80311C90 0030EBF0 4B CF A6 25 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 80311C94 0030EBF4 C0 43 00 00 */ lfs f2, 0(r3) -/* 80311C98 0030EBF8 C0 22 C8 74 */ lfs f1, lbl_805AE594@sda21(r2) -/* 80311C9C 0030EBFC C0 02 C8 70 */ lfs f0, lbl_805AE590@sda21(r2) -/* 80311CA0 0030EC00 EC 21 10 2A */ fadds f1, f1, f2 -/* 80311CA4 0030EC04 EC 20 00 72 */ fmuls f1, f0, f1 -/* 80311CA8 0030EC08 48 00 38 59 */ bl SqrtF__5CMathFf -/* 80311CAC 0030EC0C C0 42 C8 74 */ lfs f2, lbl_805AE594@sda21(r2) -/* 80311CB0 0030EC10 C0 02 C8 7C */ lfs f0, lbl_805AE59C@sda21(r2) -/* 80311CB4 0030EC14 EC A2 08 24 */ fdivs f5, f2, f1 -/* 80311CB8 0030EC18 C0 81 00 18 */ lfs f4, 0x18(r1) -/* 80311CBC 0030EC1C C0 61 00 1C */ lfs f3, 0x1c(r1) -/* 80311CC0 0030EC20 C0 41 00 20 */ lfs f2, 0x20(r1) -/* 80311CC4 0030EC24 EC 00 00 72 */ fmuls f0, f0, f1 -/* 80311CC8 0030EC28 EC 85 01 32 */ fmuls f4, f5, f4 -/* 80311CCC 0030EC2C EC 25 00 F2 */ fmuls f1, f5, f3 -/* 80311CD0 0030EC30 D0 1F 00 00 */ stfs f0, 0(r31) -/* 80311CD4 0030EC34 EC 05 00 B2 */ fmuls f0, f5, f2 -/* 80311CD8 0030EC38 D0 9F 00 04 */ stfs f4, 4(r31) -/* 80311CDC 0030EC3C D0 3F 00 08 */ stfs f1, 8(r31) -/* 80311CE0 0030EC40 D0 1F 00 0C */ stfs f0, 0xc(r31) -lbl_80311CE4: -/* 80311CE4 0030EC44 80 01 00 54 */ lwz r0, 0x54(r1) -/* 80311CE8 0030EC48 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 80311CEC 0030EC4C 7C 08 03 A6 */ mtlr r0 -/* 80311CF0 0030EC50 38 21 00 50 */ addi r1, r1, 0x50 -/* 80311CF4 0030EC54 4E 80 00 20 */ blr - -.global Slerp__11CQuaternionFRC11CQuaternionRC11CQuaternionf -Slerp__11CQuaternionFRC11CQuaternionRC11CQuaternionf: -/* 80311CF8 0030EC58 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 80311CFC 0030EC5C 7C 08 02 A6 */ mflr r0 -/* 80311D00 0030EC60 90 01 00 64 */ stw r0, 0x64(r1) -/* 80311D04 0030EC64 DB E1 00 50 */ stfd f31, 0x50(r1) -/* 80311D08 0030EC68 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 -/* 80311D0C 0030EC6C DB C1 00 40 */ stfd f30, 0x40(r1) -/* 80311D10 0030EC70 F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 -/* 80311D14 0030EC74 DB A1 00 30 */ stfd f29, 0x30(r1) -/* 80311D18 0030EC78 F3 A1 00 38 */ psq_st f29, 56(r1), 0, qr0 -/* 80311D1C 0030EC7C DB 81 00 20 */ stfd f28, 0x20(r1) -/* 80311D20 0030EC80 F3 81 00 28 */ psq_st f28, 40(r1), 0, qr0 -/* 80311D24 0030EC84 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80311D28 0030EC88 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80311D2C 0030EC8C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80311D30 0030EC90 7C 9E 23 78 */ mr r30, r4 -/* 80311D34 0030EC94 7C BF 2B 78 */ mr r31, r5 -/* 80311D38 0030EC98 C0 44 00 08 */ lfs f2, 8(r4) -/* 80311D3C 0030EC9C FF C0 08 90 */ fmr f30, f1 -/* 80311D40 0030ECA0 C0 05 00 08 */ lfs f0, 8(r5) -/* 80311D44 0030ECA4 7C 7D 1B 78 */ mr r29, r3 -/* 80311D48 0030ECA8 C0 64 00 04 */ lfs f3, 4(r4) -/* 80311D4C 0030ECAC EC 02 00 32 */ fmuls f0, f2, f0 -/* 80311D50 0030ECB0 C0 25 00 04 */ lfs f1, 4(r5) -/* 80311D54 0030ECB4 C0 84 00 0C */ lfs f4, 0xc(r4) -/* 80311D58 0030ECB8 C0 45 00 0C */ lfs f2, 0xc(r5) -/* 80311D5C 0030ECBC EC 03 00 7A */ fmadds f0, f3, f1, f0 -/* 80311D60 0030ECC0 C0 64 00 00 */ lfs f3, 0(r4) -/* 80311D64 0030ECC4 C0 25 00 00 */ lfs f1, 0(r5) -/* 80311D68 0030ECC8 C3 E2 C8 74 */ lfs f31, lbl_805AE594@sda21(r2) -/* 80311D6C 0030ECCC EC 04 00 BA */ fmadds f0, f4, f2, f0 -/* 80311D70 0030ECD0 EC 03 00 7A */ fmadds f0, f3, f1, f0 -/* 80311D74 0030ECD4 FC 00 F8 40 */ fcmpo cr0, f0, f31 -/* 80311D78 0030ECD8 40 81 00 08 */ ble lbl_80311D80 -/* 80311D7C 0030ECDC 48 00 00 18 */ b lbl_80311D94 -lbl_80311D80: -/* 80311D80 0030ECE0 C3 E2 C8 A0 */ lfs f31, lbl_805AE5C0@sda21(r2) -/* 80311D84 0030ECE4 FC 00 F8 40 */ fcmpo cr0, f0, f31 -/* 80311D88 0030ECE8 40 80 00 08 */ bge lbl_80311D90 -/* 80311D8C 0030ECEC 48 00 00 08 */ b lbl_80311D94 -lbl_80311D90: -/* 80311D90 0030ECF0 FF E0 00 90 */ fmr f31, f0 -lbl_80311D94: -/* 80311D94 0030ECF4 FC 20 F8 90 */ fmr f1, f31 -/* 80311D98 0030ECF8 48 08 2E 95 */ bl acos -/* 80311D9C 0030ECFC FF 80 08 90 */ fmr f28, f1 -/* 80311DA0 0030ED00 48 08 2D 3D */ bl sin -/* 80311DA4 0030ED04 FF A0 08 90 */ fmr f29, f1 -/* 80311DA8 0030ED08 C8 02 C8 90 */ lfd f0, lbl_805AE5B0@sda21(r2) -/* 80311DAC 0030ED0C FC 00 E8 00 */ fcmpu cr0, f0, f29 -/* 80311DB0 0030ED10 40 82 00 34 */ bne lbl_80311DE4 -/* 80311DB4 0030ED14 C0 02 C8 78 */ lfs f0, lbl_805AE598@sda21(r2) -/* 80311DB8 0030ED18 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 80311DBC 0030ED1C 40 81 00 28 */ ble lbl_80311DE4 -/* 80311DC0 0030ED20 C0 1E 00 00 */ lfs f0, 0(r30) -/* 80311DC4 0030ED24 D0 1D 00 00 */ stfs f0, 0(r29) -/* 80311DC8 0030ED28 C0 1E 00 04 */ lfs f0, 4(r30) -/* 80311DCC 0030ED2C D0 1D 00 04 */ stfs f0, 4(r29) -/* 80311DD0 0030ED30 C0 1E 00 08 */ lfs f0, 8(r30) -/* 80311DD4 0030ED34 D0 1D 00 08 */ stfs f0, 8(r29) -/* 80311DD8 0030ED38 C0 1E 00 0C */ lfs f0, 0xc(r30) -/* 80311DDC 0030ED3C D0 1D 00 0C */ stfs f0, 0xc(r29) -/* 80311DE0 0030ED40 48 00 00 A0 */ b lbl_80311E80 -lbl_80311DE4: -/* 80311DE4 0030ED44 C0 02 C8 74 */ lfs f0, lbl_805AE594@sda21(r2) -/* 80311DE8 0030ED48 EC 00 F0 28 */ fsubs f0, f0, f30 -/* 80311DEC 0030ED4C FC 3C 00 32 */ fmul f1, f28, f0 -/* 80311DF0 0030ED50 48 08 2C ED */ bl sin -/* 80311DF4 0030ED54 FF E0 08 18 */ frsp f31, f1 -/* 80311DF8 0030ED58 FC 3C 07 B2 */ fmul f1, f28, f30 -/* 80311DFC 0030ED5C 48 08 2C E1 */ bl sin -/* 80311E00 0030ED60 C8 42 C8 B0 */ lfd f2, lbl_805AE5D0@sda21(r2) -/* 80311E04 0030ED64 FD 00 08 18 */ frsp f8, f1 -/* 80311E08 0030ED68 C0 1F 00 00 */ lfs f0, 0(r31) -/* 80311E0C 0030ED6C FD 22 E8 24 */ fdiv f9, f2, f29 -/* 80311E10 0030ED70 C0 FE 00 04 */ lfs f7, 4(r30) -/* 80311E14 0030ED74 C0 DF 00 04 */ lfs f6, 4(r31) -/* 80311E18 0030ED78 C0 BE 00 08 */ lfs f5, 8(r30) -/* 80311E1C 0030ED7C C0 7E 00 0C */ lfs f3, 0xc(r30) -/* 80311E20 0030ED80 C0 3E 00 00 */ lfs f1, 0(r30) -/* 80311E24 0030ED84 EC 08 00 32 */ fmuls f0, f8, f0 -/* 80311E28 0030ED88 C0 9F 00 08 */ lfs f4, 8(r31) -/* 80311E2C 0030ED8C EC FF 01 F2 */ fmuls f7, f31, f7 -/* 80311E30 0030ED90 C0 5F 00 0C */ lfs f2, 0xc(r31) -/* 80311E34 0030ED94 EC C8 01 B2 */ fmuls f6, f8, f6 -/* 80311E38 0030ED98 EC 1F 00 7A */ fmadds f0, f31, f1, f0 -/* 80311E3C 0030ED9C EC BF 01 72 */ fmuls f5, f31, f5 -/* 80311E40 0030EDA0 EC 28 01 32 */ fmuls f1, f8, f4 -/* 80311E44 0030EDA4 FC 09 00 32 */ fmul f0, f9, f0 -/* 80311E48 0030EDA8 EC 85 08 2A */ fadds f4, f5, f1 -/* 80311E4C 0030EDAC FD 20 48 18 */ frsp f9, f9 -/* 80311E50 0030EDB0 EC C7 30 2A */ fadds f6, f7, f6 -/* 80311E54 0030EDB4 FC 00 00 18 */ frsp f0, f0 -/* 80311E58 0030EDB8 EC 28 00 B2 */ fmuls f1, f8, f2 -/* 80311E5C 0030EDBC EC 7F 00 F2 */ fmuls f3, f31, f3 -/* 80311E60 0030EDC0 D0 1D 00 00 */ stfs f0, 0(r29) -/* 80311E64 0030EDC4 EC A9 01 B2 */ fmuls f5, f9, f6 -/* 80311E68 0030EDC8 EC 49 01 32 */ fmuls f2, f9, f4 -/* 80311E6C 0030EDCC EC 03 08 2A */ fadds f0, f3, f1 -/* 80311E70 0030EDD0 D0 BD 00 04 */ stfs f5, 4(r29) -/* 80311E74 0030EDD4 EC 09 00 32 */ fmuls f0, f9, f0 -/* 80311E78 0030EDD8 D0 5D 00 08 */ stfs f2, 8(r29) -/* 80311E7C 0030EDDC D0 1D 00 0C */ stfs f0, 0xc(r29) -lbl_80311E80: -/* 80311E80 0030EDE0 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 -/* 80311E84 0030EDE4 CB E1 00 50 */ lfd f31, 0x50(r1) -/* 80311E88 0030EDE8 E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 -/* 80311E8C 0030EDEC CB C1 00 40 */ lfd f30, 0x40(r1) -/* 80311E90 0030EDF0 E3 A1 00 38 */ psq_l f29, 56(r1), 0, qr0 -/* 80311E94 0030EDF4 CB A1 00 30 */ lfd f29, 0x30(r1) -/* 80311E98 0030EDF8 E3 81 00 28 */ psq_l f28, 40(r1), 0, qr0 -/* 80311E9C 0030EDFC CB 81 00 20 */ lfd f28, 0x20(r1) -/* 80311EA0 0030EE00 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80311EA4 0030EE04 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80311EA8 0030EE08 80 01 00 64 */ lwz r0, 0x64(r1) -/* 80311EAC 0030EE0C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80311EB0 0030EE10 7C 08 03 A6 */ mtlr r0 -/* 80311EB4 0030EE14 38 21 00 60 */ addi r1, r1, 0x60 -/* 80311EB8 0030EE18 4E 80 00 20 */ blr - -.global BuildTransform4f__11CQuaternionCFRC9CVector3f -BuildTransform4f__11CQuaternionCFRC9CVector3f: -/* 80311EBC 0030EE1C 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 80311EC0 0030EE20 DB E1 00 40 */ stfd f31, 0x40(r1) -/* 80311EC4 0030EE24 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 -/* 80311EC8 0030EE28 DB C1 00 30 */ stfd f30, 0x30(r1) -/* 80311ECC 0030EE2C F3 C1 00 38 */ psq_st f30, 56(r1), 0, qr0 -/* 80311ED0 0030EE30 DB A1 00 20 */ stfd f29, 0x20(r1) -/* 80311ED4 0030EE34 F3 A1 00 28 */ psq_st f29, 40(r1), 0, qr0 -/* 80311ED8 0030EE38 DB 81 00 10 */ stfd f28, 0x10(r1) -/* 80311EDC 0030EE3C F3 81 00 18 */ psq_st f28, 24(r1), 0, qr0 -/* 80311EE0 0030EE40 C0 02 C8 70 */ lfs f0, lbl_805AE590@sda21(r2) -/* 80311EE4 0030EE44 C0 44 00 08 */ lfs f2, 8(r4) -/* 80311EE8 0030EE48 C1 04 00 0C */ lfs f8, 0xc(r4) -/* 80311EEC 0030EE4C ED 60 00 B2 */ fmuls f11, f0, f2 -/* 80311EF0 0030EE50 C0 24 00 04 */ lfs f1, 4(r4) -/* 80311EF4 0030EE54 ED 20 02 32 */ fmuls f9, f0, f8 -/* 80311EF8 0030EE58 C0 84 00 00 */ lfs f4, 0(r4) -/* 80311EFC 0030EE5C ED 40 00 72 */ fmuls f10, f0, f1 -/* 80311F00 0030EE60 C0 62 C8 74 */ lfs f3, lbl_805AE594@sda21(r2) -/* 80311F04 0030EE64 EF AB 00 B2 */ fmuls f29, f11, f2 -/* 80311F08 0030EE68 C0 A5 00 08 */ lfs f5, 8(r5) -/* 80311F0C 0030EE6C EF 89 02 32 */ fmuls f28, f9, f8 -/* 80311F10 0030EE70 C0 C5 00 04 */ lfs f6, 4(r5) -/* 80311F14 0030EE74 EC 0A 00 72 */ fmuls f0, f10, f1 -/* 80311F18 0030EE78 C0 E5 00 00 */ lfs f7, 0(r5) -/* 80311F1C 0030EE7C EC 23 E8 28 */ fsubs f1, f3, f29 -/* 80311F20 0030EE80 ED A4 02 72 */ fmuls f13, f4, f9 -/* 80311F24 0030EE84 EF EA 00 B2 */ fmuls f31, f10, f2 -/* 80311F28 0030EE88 EC 21 E0 28 */ fsubs f1, f1, f28 -/* 80311F2C 0030EE8C ED 84 02 F2 */ fmuls f12, f4, f11 -/* 80311F30 0030EE90 EF CA 02 32 */ fmuls f30, f10, f8 -/* 80311F34 0030EE94 EC 5F 68 28 */ fsubs f2, f31, f13 -/* 80311F38 0030EE98 D0 23 00 00 */ stfs f1, 0(r3) -/* 80311F3C 0030EE9C ED 23 00 28 */ fsubs f9, f3, f0 -/* 80311F40 0030EEA0 EC 3E 60 2A */ fadds f1, f30, f12 -/* 80311F44 0030EEA4 D0 43 00 04 */ stfs f2, 4(r3) -/* 80311F48 0030EEA8 EC 1F 68 2A */ fadds f0, f31, f13 -/* 80311F4C 0030EEAC ED 44 02 B2 */ fmuls f10, f4, f10 -/* 80311F50 0030EEB0 ED 0B 02 32 */ fmuls f8, f11, f8 -/* 80311F54 0030EEB4 D0 23 00 08 */ stfs f1, 8(r3) -/* 80311F58 0030EEB8 EC 89 E0 28 */ fsubs f4, f9, f28 -/* 80311F5C 0030EEBC D0 E3 00 0C */ stfs f7, 0xc(r3) -/* 80311F60 0030EEC0 EC 5E 60 28 */ fsubs f2, f30, f12 -/* 80311F64 0030EEC4 EC 68 50 28 */ fsubs f3, f8, f10 -/* 80311F68 0030EEC8 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 80311F6C 0030EECC EC 28 50 2A */ fadds f1, f8, f10 -/* 80311F70 0030EED0 EC 09 E8 28 */ fsubs f0, f9, f29 -/* 80311F74 0030EED4 D0 83 00 14 */ stfs f4, 0x14(r3) -/* 80311F78 0030EED8 D0 63 00 18 */ stfs f3, 0x18(r3) -/* 80311F7C 0030EEDC D0 C3 00 1C */ stfs f6, 0x1c(r3) -/* 80311F80 0030EEE0 D0 43 00 20 */ stfs f2, 0x20(r3) -/* 80311F84 0030EEE4 D0 23 00 24 */ stfs f1, 0x24(r3) -/* 80311F88 0030EEE8 D0 03 00 28 */ stfs f0, 0x28(r3) -/* 80311F8C 0030EEEC D0 A3 00 2C */ stfs f5, 0x2c(r3) -/* 80311F90 0030EEF0 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 -/* 80311F94 0030EEF4 CB E1 00 40 */ lfd f31, 0x40(r1) -/* 80311F98 0030EEF8 E3 C1 00 38 */ psq_l f30, 56(r1), 0, qr0 -/* 80311F9C 0030EEFC CB C1 00 30 */ lfd f30, 0x30(r1) -/* 80311FA0 0030EF00 E3 A1 00 28 */ psq_l f29, 40(r1), 0, qr0 -/* 80311FA4 0030EF04 CB A1 00 20 */ lfd f29, 0x20(r1) -/* 80311FA8 0030EF08 E3 81 00 18 */ psq_l f28, 24(r1), 0, qr0 -/* 80311FAC 0030EF0C CB 81 00 10 */ lfd f28, 0x10(r1) -/* 80311FB0 0030EF10 38 21 00 50 */ addi r1, r1, 0x50 -/* 80311FB4 0030EF14 4E 80 00 20 */ blr - -.global BuildTransform4f__11CQuaternionCFv -BuildTransform4f__11CQuaternionCFv: -/* 80311FB8 0030EF18 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80311FBC 0030EF1C DB E1 00 20 */ stfd f31, 0x20(r1) -/* 80311FC0 0030EF20 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 -/* 80311FC4 0030EF24 DB C1 00 10 */ stfd f30, 0x10(r1) -/* 80311FC8 0030EF28 F3 C1 00 18 */ psq_st f30, 24(r1), 0, qr0 -/* 80311FCC 0030EF2C C0 02 C8 70 */ lfs f0, lbl_805AE590@sda21(r2) -/* 80311FD0 0030EF30 C0 44 00 08 */ lfs f2, 8(r4) -/* 80311FD4 0030EF34 C0 C4 00 0C */ lfs f6, 0xc(r4) -/* 80311FD8 0030EF38 ED 20 00 B2 */ fmuls f9, f0, f2 -/* 80311FDC 0030EF3C C0 24 00 04 */ lfs f1, 4(r4) -/* 80311FE0 0030EF40 EC E0 01 B2 */ fmuls f7, f0, f6 -/* 80311FE4 0030EF44 C0 84 00 00 */ lfs f4, 0(r4) -/* 80311FE8 0030EF48 ED 00 00 72 */ fmuls f8, f0, f1 -/* 80311FEC 0030EF4C C0 62 C8 74 */ lfs f3, lbl_805AE594@sda21(r2) -/* 80311FF0 0030EF50 EF E9 00 B2 */ fmuls f31, f9, f2 -/* 80311FF4 0030EF54 C0 A2 C8 78 */ lfs f5, lbl_805AE598@sda21(r2) -/* 80311FF8 0030EF58 EF C7 01 B2 */ fmuls f30, f7, f6 -/* 80311FFC 0030EF5C EC 08 00 72 */ fmuls f0, f8, f1 -/* 80312000 0030EF60 EC 23 F8 28 */ fsubs f1, f3, f31 -/* 80312004 0030EF64 ED 64 01 F2 */ fmuls f11, f4, f7 -/* 80312008 0030EF68 ED 88 00 B2 */ fmuls f12, f8, f2 -/* 8031200C 0030EF6C EC 21 F0 28 */ fsubs f1, f1, f30 -/* 80312010 0030EF70 ED 44 02 72 */ fmuls f10, f4, f9 -/* 80312014 0030EF74 ED A8 01 B2 */ fmuls f13, f8, f6 -/* 80312018 0030EF78 EC 4C 58 28 */ fsubs f2, f12, f11 -/* 8031201C 0030EF7C D0 23 00 00 */ stfs f1, 0(r3) -/* 80312020 0030EF80 EC E3 00 28 */ fsubs f7, f3, f0 -/* 80312024 0030EF84 EC 2D 50 2A */ fadds f1, f13, f10 -/* 80312028 0030EF88 D0 43 00 04 */ stfs f2, 4(r3) -/* 8031202C 0030EF8C EC 0C 58 2A */ fadds f0, f12, f11 -/* 80312030 0030EF90 ED 04 02 32 */ fmuls f8, f4, f8 -/* 80312034 0030EF94 EC C9 01 B2 */ fmuls f6, f9, f6 -/* 80312038 0030EF98 D0 23 00 08 */ stfs f1, 8(r3) -/* 8031203C 0030EF9C EC 87 F0 28 */ fsubs f4, f7, f30 -/* 80312040 0030EFA0 D0 A3 00 0C */ stfs f5, 0xc(r3) -/* 80312044 0030EFA4 EC 4D 50 28 */ fsubs f2, f13, f10 -/* 80312048 0030EFA8 EC 66 40 28 */ fsubs f3, f6, f8 -/* 8031204C 0030EFAC D0 03 00 10 */ stfs f0, 0x10(r3) -/* 80312050 0030EFB0 EC 26 40 2A */ fadds f1, f6, f8 -/* 80312054 0030EFB4 EC 07 F8 28 */ fsubs f0, f7, f31 -/* 80312058 0030EFB8 D0 83 00 14 */ stfs f4, 0x14(r3) -/* 8031205C 0030EFBC D0 63 00 18 */ stfs f3, 0x18(r3) -/* 80312060 0030EFC0 D0 A3 00 1C */ stfs f5, 0x1c(r3) -/* 80312064 0030EFC4 D0 43 00 20 */ stfs f2, 0x20(r3) -/* 80312068 0030EFC8 D0 23 00 24 */ stfs f1, 0x24(r3) -/* 8031206C 0030EFCC D0 03 00 28 */ stfs f0, 0x28(r3) -/* 80312070 0030EFD0 D0 A3 00 2C */ stfs f5, 0x2c(r3) -/* 80312074 0030EFD4 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 -/* 80312078 0030EFD8 CB E1 00 20 */ lfd f31, 0x20(r1) -/* 8031207C 0030EFDC E3 C1 00 18 */ psq_l f30, 24(r1), 0, qr0 -/* 80312080 0030EFE0 CB C1 00 10 */ lfd f30, 0x10(r1) -/* 80312084 0030EFE4 38 21 00 30 */ addi r1, r1, 0x30 -/* 80312088 0030EFE8 4E 80 00 20 */ blr - -.global BuildTransform__11CQuaternionCFv -BuildTransform__11CQuaternionCFv: -/* 8031208C 0030EFEC C0 02 C8 70 */ lfs f0, lbl_805AE590@sda21(r2) -/* 80312090 0030EFF0 C0 84 00 08 */ lfs f4, 8(r4) -/* 80312094 0030EFF4 C0 A4 00 0C */ lfs f5, 0xc(r4) -/* 80312098 0030EFF8 EC E0 01 32 */ fmuls f7, f0, f4 -/* 8031209C 0030EFFC C0 24 00 04 */ lfs f1, 4(r4) -/* 803120A0 0030F000 ED 00 01 72 */ fmuls f8, f0, f5 -/* 803120A4 0030F004 C0 64 00 00 */ lfs f3, 0(r4) -/* 803120A8 0030F008 EC C0 00 72 */ fmuls f6, f0, f1 -/* 803120AC 0030F00C C0 42 C8 74 */ lfs f2, lbl_805AE594@sda21(r2) -/* 803120B0 0030F010 ED 87 01 32 */ fmuls f12, f7, f4 -/* 803120B4 0030F014 ED A8 01 72 */ fmuls f13, f8, f5 -/* 803120B8 0030F018 EC 06 00 72 */ fmuls f0, f6, f1 -/* 803120BC 0030F01C EC 22 60 28 */ fsubs f1, f2, f12 -/* 803120C0 0030F020 ED 23 02 32 */ fmuls f9, f3, f8 -/* 803120C4 0030F024 ED 46 01 32 */ fmuls f10, f6, f4 -/* 803120C8 0030F028 EC 21 68 28 */ fsubs f1, f1, f13 -/* 803120CC 0030F02C ED 03 01 F2 */ fmuls f8, f3, f7 -/* 803120D0 0030F030 ED 66 01 72 */ fmuls f11, f6, f5 -/* 803120D4 0030F034 EC 82 00 28 */ fsubs f4, f2, f0 -/* 803120D8 0030F038 D0 23 00 00 */ stfs f1, 0(r3) -/* 803120DC 0030F03C EC 4A 48 28 */ fsubs f2, f10, f9 -/* 803120E0 0030F040 EC 0B 40 2A */ fadds f0, f11, f8 -/* 803120E4 0030F044 EC 2A 48 2A */ fadds f1, f10, f9 -/* 803120E8 0030F048 D0 43 00 04 */ stfs f2, 4(r3) -/* 803120EC 0030F04C EC C3 01 B2 */ fmuls f6, f3, f6 -/* 803120F0 0030F050 EC A7 01 72 */ fmuls f5, f7, f5 -/* 803120F4 0030F054 D0 03 00 08 */ stfs f0, 8(r3) -/* 803120F8 0030F058 EC 04 68 28 */ fsubs f0, f4, f13 -/* 803120FC 0030F05C EC 4B 40 28 */ fsubs f2, f11, f8 -/* 80312100 0030F060 D0 23 00 0C */ stfs f1, 0xc(r3) -/* 80312104 0030F064 EC 65 30 28 */ fsubs f3, f5, f6 -/* 80312108 0030F068 EC 25 30 2A */ fadds f1, f5, f6 -/* 8031210C 0030F06C D0 03 00 10 */ stfs f0, 0x10(r3) -/* 80312110 0030F070 EC 04 60 28 */ fsubs f0, f4, f12 -/* 80312114 0030F074 D0 63 00 14 */ stfs f3, 0x14(r3) -/* 80312118 0030F078 D0 43 00 18 */ stfs f2, 0x18(r3) -/* 8031211C 0030F07C D0 23 00 1C */ stfs f1, 0x1c(r3) -/* 80312120 0030F080 D0 03 00 20 */ stfs f0, 0x20(r3) -/* 80312124 0030F084 4E 80 00 20 */ blr - -.global FromMatrix__11CQuaternionFRC12CTransform4f -FromMatrix__11CQuaternionFRC12CTransform4f: -/* 80312128 0030F088 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8031212C 0030F08C 7C 08 02 A6 */ mflr r0 -/* 80312130 0030F090 38 A4 00 10 */ addi r5, r4, 0x10 -/* 80312134 0030F094 38 C4 00 20 */ addi r6, r4, 0x20 -/* 80312138 0030F098 90 01 00 24 */ stw r0, 0x24(r1) -/* 8031213C 0030F09C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80312140 0030F0A0 7C 7F 1B 78 */ mr r31, r3 -/* 80312144 0030F0A4 38 61 00 08 */ addi r3, r1, 8 -/* 80312148 0030F0A8 48 00 00 91 */ bl FromMatrixRows__11CQuaternionFRC9CVector3fRC9CVector3fRC9CVector3f -/* 8031214C 0030F0AC C0 21 00 0C */ lfs f1, 0xc(r1) -/* 80312150 0030F0B0 C0 41 00 10 */ lfs f2, 0x10(r1) -/* 80312154 0030F0B4 C0 61 00 14 */ lfs f3, 0x14(r1) -/* 80312158 0030F0B8 C0 01 00 08 */ lfs f0, 8(r1) -/* 8031215C 0030F0BC D0 1F 00 00 */ stfs f0, 0(r31) -/* 80312160 0030F0C0 D0 3F 00 04 */ stfs f1, 4(r31) -/* 80312164 0030F0C4 D0 5F 00 08 */ stfs f2, 8(r31) -/* 80312168 0030F0C8 D0 7F 00 0C */ stfs f3, 0xc(r31) -/* 8031216C 0030F0CC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80312170 0030F0D0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80312174 0030F0D4 7C 08 03 A6 */ mtlr r0 -/* 80312178 0030F0D8 38 21 00 20 */ addi r1, r1, 0x20 -/* 8031217C 0030F0DC 4E 80 00 20 */ blr - -.global FromMatrix__11CQuaternionFRC9CMatrix3f -FromMatrix__11CQuaternionFRC9CMatrix3f: -/* 80312180 0030F0E0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80312184 0030F0E4 7C 08 02 A6 */ mflr r0 -/* 80312188 0030F0E8 38 A4 00 0C */ addi r5, r4, 0xc -/* 8031218C 0030F0EC 38 C4 00 18 */ addi r6, r4, 0x18 -/* 80312190 0030F0F0 90 01 00 24 */ stw r0, 0x24(r1) -/* 80312194 0030F0F4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80312198 0030F0F8 7C 7F 1B 78 */ mr r31, r3 -/* 8031219C 0030F0FC 38 61 00 08 */ addi r3, r1, 8 -/* 803121A0 0030F100 48 00 00 39 */ bl FromMatrixRows__11CQuaternionFRC9CVector3fRC9CVector3fRC9CVector3f -/* 803121A4 0030F104 C0 21 00 0C */ lfs f1, 0xc(r1) -/* 803121A8 0030F108 C0 41 00 10 */ lfs f2, 0x10(r1) -/* 803121AC 0030F10C C0 61 00 14 */ lfs f3, 0x14(r1) -/* 803121B0 0030F110 C0 01 00 08 */ lfs f0, 8(r1) -/* 803121B4 0030F114 D0 1F 00 00 */ stfs f0, 0(r31) -/* 803121B8 0030F118 D0 3F 00 04 */ stfs f1, 4(r31) -/* 803121BC 0030F11C D0 5F 00 08 */ stfs f2, 8(r31) -/* 803121C0 0030F120 D0 7F 00 0C */ stfs f3, 0xc(r31) -/* 803121C4 0030F124 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 803121C8 0030F128 80 01 00 24 */ lwz r0, 0x24(r1) -/* 803121CC 0030F12C 7C 08 03 A6 */ mtlr r0 -/* 803121D0 0030F130 38 21 00 20 */ addi r1, r1, 0x20 -/* 803121D4 0030F134 4E 80 00 20 */ blr - -.global FromMatrixRows__11CQuaternionFRC9CVector3fRC9CVector3fRC9CVector3f -FromMatrixRows__11CQuaternionFRC9CVector3fRC9CVector3fRC9CVector3f: -/* 803121D8 0030F138 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 803121DC 0030F13C 7C 08 02 A6 */ mflr r0 -/* 803121E0 0030F140 C0 42 C8 74 */ lfs f2, lbl_805AE594@sda21(r2) -/* 803121E4 0030F144 90 01 00 24 */ stw r0, 0x24(r1) -/* 803121E8 0030F148 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 803121EC 0030F14C 7C DF 33 78 */ mr r31, r6 -/* 803121F0 0030F150 93 C1 00 18 */ stw r30, 0x18(r1) -/* 803121F4 0030F154 7C BE 2B 78 */ mr r30, r5 -/* 803121F8 0030F158 93 A1 00 14 */ stw r29, 0x14(r1) -/* 803121FC 0030F15C 7C 9D 23 78 */ mr r29, r4 -/* 80312200 0030F160 93 81 00 10 */ stw r28, 0x10(r1) -/* 80312204 0030F164 7C 7C 1B 78 */ mr r28, r3 -/* 80312208 0030F168 C0 64 00 00 */ lfs f3, 0(r4) -/* 8031220C 0030F16C C0 85 00 04 */ lfs f4, 4(r5) -/* 80312210 0030F170 EC 02 18 2A */ fadds f0, f2, f3 -/* 80312214 0030F174 C0 A6 00 08 */ lfs f5, 8(r6) -/* 80312218 0030F178 EC 00 20 2A */ fadds f0, f0, f4 -/* 8031221C 0030F17C EC 25 00 2A */ fadds f1, f5, f0 -/* 80312220 0030F180 FC 01 10 40 */ fcmpo cr0, f1, f2 -/* 80312224 0030F184 40 81 00 5C */ ble lbl_80312280 -/* 80312228 0030F188 48 00 32 D9 */ bl SqrtF__5CMathFf -/* 8031222C 0030F18C C0 42 C8 7C */ lfs f2, lbl_805AE59C@sda21(r2) -/* 80312230 0030F190 C0 02 C8 B8 */ lfs f0, lbl_805AE5D8@sda21(r2) -/* 80312234 0030F194 EC C1 00 B2 */ fmuls f6, f1, f2 -/* 80312238 0030F198 C0 BF 00 04 */ lfs f5, 4(r31) -/* 8031223C 0030F19C C0 9E 00 08 */ lfs f4, 8(r30) -/* 80312240 0030F1A0 C0 7D 00 08 */ lfs f3, 8(r29) -/* 80312244 0030F1A4 EC E0 30 24 */ fdivs f7, f0, f6 -/* 80312248 0030F1A8 C0 5F 00 00 */ lfs f2, 0(r31) -/* 8031224C 0030F1AC C0 3E 00 00 */ lfs f1, 0(r30) -/* 80312250 0030F1B0 C0 1D 00 04 */ lfs f0, 4(r29) -/* 80312254 0030F1B4 D0 DC 00 00 */ stfs f6, 0(r28) -/* 80312258 0030F1B8 EC 43 10 28 */ fsubs f2, f3, f2 -/* 8031225C 0030F1BC EC 01 00 28 */ fsubs f0, f1, f0 -/* 80312260 0030F1C0 EC 85 20 28 */ fsubs f4, f5, f4 -/* 80312264 0030F1C4 EC 47 00 B2 */ fmuls f2, f7, f2 -/* 80312268 0030F1C8 EC 07 00 32 */ fmuls f0, f7, f0 -/* 8031226C 0030F1CC EC 27 01 32 */ fmuls f1, f7, f4 -/* 80312270 0030F1D0 D0 3C 00 04 */ stfs f1, 4(r28) -/* 80312274 0030F1D4 D0 5C 00 08 */ stfs f2, 8(r28) -/* 80312278 0030F1D8 D0 1C 00 0C */ stfs f0, 0xc(r28) -/* 8031227C 0030F1DC 48 00 01 94 */ b lbl_80312410 -lbl_80312280: -/* 80312280 0030F1E0 FC 04 18 40 */ fcmpo cr0, f4, f3 -/* 80312284 0030F1E4 40 81 00 1C */ ble lbl_803122A0 -/* 80312288 0030F1E8 FC 05 20 40 */ fcmpo cr0, f5, f4 -/* 8031228C 0030F1EC 40 81 00 0C */ ble lbl_80312298 -/* 80312290 0030F1F0 38 00 00 02 */ li r0, 2 -/* 80312294 0030F1F4 48 00 00 20 */ b lbl_803122B4 -lbl_80312298: -/* 80312298 0030F1F8 38 00 00 01 */ li r0, 1 -/* 8031229C 0030F1FC 48 00 00 18 */ b lbl_803122B4 -lbl_803122A0: -/* 803122A0 0030F200 FC 05 18 40 */ fcmpo cr0, f5, f3 -/* 803122A4 0030F204 40 81 00 0C */ ble lbl_803122B0 -/* 803122A8 0030F208 38 00 00 02 */ li r0, 2 -/* 803122AC 0030F20C 48 00 00 08 */ b lbl_803122B4 -lbl_803122B0: -/* 803122B0 0030F210 38 00 00 00 */ li r0, 0 -lbl_803122B4: -/* 803122B4 0030F214 2C 00 00 00 */ cmpwi r0, 0 -/* 803122B8 0030F218 40 82 00 74 */ bne lbl_8031232C -/* 803122BC 0030F21C EC 03 20 28 */ fsubs f0, f3, f4 -/* 803122C0 0030F220 C0 22 C8 74 */ lfs f1, lbl_805AE594@sda21(r2) -/* 803122C4 0030F224 EC 00 28 28 */ fsubs f0, f0, f5 -/* 803122C8 0030F228 EC 21 00 2A */ fadds f1, f1, f0 -/* 803122CC 0030F22C 48 00 32 35 */ bl SqrtF__5CMathFf -/* 803122D0 0030F230 C0 02 C8 70 */ lfs f0, lbl_805AE590@sda21(r2) -/* 803122D4 0030F234 C0 62 C8 74 */ lfs f3, lbl_805AE594@sda21(r2) -/* 803122D8 0030F238 EC E0 00 72 */ fmuls f7, f0, f1 -/* 803122DC 0030F23C C0 02 C8 B8 */ lfs f0, lbl_805AE5D8@sda21(r2) -/* 803122E0 0030F240 C0 5F 00 04 */ lfs f2, 4(r31) -/* 803122E4 0030F244 C0 3E 00 08 */ lfs f1, 8(r30) -/* 803122E8 0030F248 ED 03 38 24 */ fdivs f8, f3, f7 -/* 803122EC 0030F24C C0 DD 00 04 */ lfs f6, 4(r29) -/* 803122F0 0030F250 C0 BE 00 00 */ lfs f5, 0(r30) -/* 803122F4 0030F254 C0 9D 00 08 */ lfs f4, 8(r29) -/* 803122F8 0030F258 C0 7F 00 00 */ lfs f3, 0(r31) -/* 803122FC 0030F25C EC 22 08 28 */ fsubs f1, f2, f1 -/* 80312300 0030F260 EC A6 28 2A */ fadds f5, f6, f5 -/* 80312304 0030F264 EC 07 00 32 */ fmuls f0, f7, f0 -/* 80312308 0030F268 EC 28 00 72 */ fmuls f1, f8, f1 -/* 8031230C 0030F26C EC 44 18 2A */ fadds f2, f4, f3 -/* 80312310 0030F270 EC 68 01 72 */ fmuls f3, f8, f5 -/* 80312314 0030F274 D0 3C 00 00 */ stfs f1, 0(r28) -/* 80312318 0030F278 EC 28 00 B2 */ fmuls f1, f8, f2 -/* 8031231C 0030F27C D0 1C 00 04 */ stfs f0, 4(r28) -/* 80312320 0030F280 D0 7C 00 08 */ stfs f3, 8(r28) -/* 80312324 0030F284 D0 3C 00 0C */ stfs f1, 0xc(r28) -/* 80312328 0030F288 48 00 00 E8 */ b lbl_80312410 -lbl_8031232C: -/* 8031232C 0030F28C 2C 00 00 01 */ cmpwi r0, 1 -/* 80312330 0030F290 40 82 00 74 */ bne lbl_803123A4 -/* 80312334 0030F294 EC 04 28 28 */ fsubs f0, f4, f5 -/* 80312338 0030F298 C0 22 C8 74 */ lfs f1, lbl_805AE594@sda21(r2) -/* 8031233C 0030F29C EC 00 18 28 */ fsubs f0, f0, f3 -/* 80312340 0030F2A0 EC 21 00 2A */ fadds f1, f1, f0 -/* 80312344 0030F2A4 48 00 31 BD */ bl SqrtF__5CMathFf -/* 80312348 0030F2A8 C0 02 C8 70 */ lfs f0, lbl_805AE590@sda21(r2) -/* 8031234C 0030F2AC C0 62 C8 74 */ lfs f3, lbl_805AE594@sda21(r2) -/* 80312350 0030F2B0 EC E0 00 72 */ fmuls f7, f0, f1 -/* 80312354 0030F2B4 C0 02 C8 B8 */ lfs f0, lbl_805AE5D8@sda21(r2) -/* 80312358 0030F2B8 C0 5D 00 08 */ lfs f2, 8(r29) -/* 8031235C 0030F2BC C0 3F 00 00 */ lfs f1, 0(r31) -/* 80312360 0030F2C0 ED 03 38 24 */ fdivs f8, f3, f7 -/* 80312364 0030F2C4 C0 9E 00 00 */ lfs f4, 0(r30) -/* 80312368 0030F2C8 C0 7D 00 04 */ lfs f3, 4(r29) -/* 8031236C 0030F2CC C0 DE 00 08 */ lfs f6, 8(r30) -/* 80312370 0030F2D0 C0 BF 00 04 */ lfs f5, 4(r31) -/* 80312374 0030F2D4 EC 22 08 28 */ fsubs f1, f2, f1 -/* 80312378 0030F2D8 EC 44 18 2A */ fadds f2, f4, f3 -/* 8031237C 0030F2DC EC 66 28 2A */ fadds f3, f6, f5 -/* 80312380 0030F2E0 EC 28 00 72 */ fmuls f1, f8, f1 -/* 80312384 0030F2E4 EC 48 00 B2 */ fmuls f2, f8, f2 -/* 80312388 0030F2E8 EC 07 00 32 */ fmuls f0, f7, f0 -/* 8031238C 0030F2EC D0 3C 00 00 */ stfs f1, 0(r28) -/* 80312390 0030F2F0 EC 28 00 F2 */ fmuls f1, f8, f3 -/* 80312394 0030F2F4 D0 5C 00 04 */ stfs f2, 4(r28) -/* 80312398 0030F2F8 D0 1C 00 08 */ stfs f0, 8(r28) -/* 8031239C 0030F2FC D0 3C 00 0C */ stfs f1, 0xc(r28) -/* 803123A0 0030F300 48 00 00 70 */ b lbl_80312410 -lbl_803123A4: -/* 803123A4 0030F304 EC 05 18 28 */ fsubs f0, f5, f3 -/* 803123A8 0030F308 C0 22 C8 74 */ lfs f1, lbl_805AE594@sda21(r2) -/* 803123AC 0030F30C EC 00 20 28 */ fsubs f0, f0, f4 -/* 803123B0 0030F310 EC 21 00 2A */ fadds f1, f1, f0 -/* 803123B4 0030F314 48 00 31 4D */ bl SqrtF__5CMathFf -/* 803123B8 0030F318 C0 02 C8 70 */ lfs f0, lbl_805AE590@sda21(r2) -/* 803123BC 0030F31C C0 62 C8 74 */ lfs f3, lbl_805AE594@sda21(r2) -/* 803123C0 0030F320 EC E0 00 72 */ fmuls f7, f0, f1 -/* 803123C4 0030F324 C0 02 C8 B8 */ lfs f0, lbl_805AE5D8@sda21(r2) -/* 803123C8 0030F328 C0 5E 00 00 */ lfs f2, 0(r30) -/* 803123CC 0030F32C C0 3D 00 04 */ lfs f1, 4(r29) -/* 803123D0 0030F330 ED 03 38 24 */ fdivs f8, f3, f7 -/* 803123D4 0030F334 C0 DF 00 00 */ lfs f6, 0(r31) -/* 803123D8 0030F338 C0 BD 00 08 */ lfs f5, 8(r29) -/* 803123DC 0030F33C C0 9F 00 04 */ lfs f4, 4(r31) -/* 803123E0 0030F340 C0 7E 00 08 */ lfs f3, 8(r30) -/* 803123E4 0030F344 EC 22 08 28 */ fsubs f1, f2, f1 -/* 803123E8 0030F348 EC 44 18 2A */ fadds f2, f4, f3 -/* 803123EC 0030F34C EC A6 28 2A */ fadds f5, f6, f5 -/* 803123F0 0030F350 EC 28 00 72 */ fmuls f1, f8, f1 -/* 803123F4 0030F354 EC 48 00 B2 */ fmuls f2, f8, f2 -/* 803123F8 0030F358 EC 68 01 72 */ fmuls f3, f8, f5 -/* 803123FC 0030F35C D0 3C 00 00 */ stfs f1, 0(r28) -/* 80312400 0030F360 EC 07 00 32 */ fmuls f0, f7, f0 -/* 80312404 0030F364 D0 7C 00 04 */ stfs f3, 4(r28) -/* 80312408 0030F368 D0 5C 00 08 */ stfs f2, 8(r28) -/* 8031240C 0030F36C D0 1C 00 0C */ stfs f0, 0xc(r28) -lbl_80312410: -/* 80312410 0030F370 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80312414 0030F374 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80312418 0030F378 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8031241C 0030F37C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80312420 0030F380 83 81 00 10 */ lwz r28, 0x10(r1) -/* 80312424 0030F384 7C 08 03 A6 */ mtlr r0 -/* 80312428 0030F388 38 21 00 20 */ addi r1, r1, 0x20 -/* 8031242C 0030F38C 4E 80 00 20 */ blr - -.global __ct__11CQuaternionFR12CInputStream -__ct__11CQuaternionFR12CInputStream: -/* 80312430 0030F390 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80312434 0030F394 7C 08 02 A6 */ mflr r0 -/* 80312438 0030F398 90 01 00 14 */ stw r0, 0x14(r1) -/* 8031243C 0030F39C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80312440 0030F3A0 7C 9F 23 78 */ mr r31, r4 -/* 80312444 0030F3A4 93 C1 00 08 */ stw r30, 8(r1) -/* 80312448 0030F3A8 7C 7E 1B 78 */ mr r30, r3 -/* 8031244C 0030F3AC 7F E3 FB 78 */ mr r3, r31 -/* 80312450 0030F3B0 48 02 C7 D9 */ bl ReadFloat__12CInputStreamFv -/* 80312454 0030F3B4 D0 3E 00 00 */ stfs f1, 0(r30) -/* 80312458 0030F3B8 7F E4 FB 78 */ mr r4, r31 -/* 8031245C 0030F3BC 38 7E 00 04 */ addi r3, r30, 4 -/* 80312460 0030F3C0 48 00 27 2D */ bl __ct__9CVector3fFR12CInputStream -/* 80312464 0030F3C4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80312468 0030F3C8 7F C3 F3 78 */ mr r3, r30 -/* 8031246C 0030F3CC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80312470 0030F3D0 83 C1 00 08 */ lwz r30, 8(r1) -/* 80312474 0030F3D4 7C 08 03 A6 */ mtlr r0 -/* 80312478 0030F3D8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8031247C 0030F3DC 4E 80 00 20 */ blr - -.global __sinit_CQuaternion_cpp -__sinit_CQuaternion_cpp: -/* 80312480 0030F3E0 3C 80 80 4C */ lis r4, lbl_804BFD30@ha -/* 80312484 0030F3E4 3C 60 80 5A */ lis r3, lbl_805A6660@ha -/* 80312488 0030F3E8 38 E4 FD 30 */ addi r7, r4, lbl_804BFD30@l -/* 8031248C 0030F3EC C0 02 C8 78 */ lfs f0, lbl_805AE598@sda21(r2) -/* 80312490 0030F3F0 38 C3 66 60 */ addi r6, r3, lbl_805A6660@l -/* 80312494 0030F3F4 C0 22 C8 74 */ lfs f1, lbl_805AE594@sda21(r2) -/* 80312498 0030F3F8 38 A7 00 00 */ addi r5, r7, 0 -/* 8031249C 0030F3FC 38 87 00 0C */ addi r4, r7, 0xc -/* 803124A0 0030F400 38 67 00 18 */ addi r3, r7, 0x18 -/* 803124A4 0030F404 D0 26 00 00 */ stfs f1, 0(r6) -/* 803124A8 0030F408 D0 06 00 04 */ stfs f0, 4(r6) -/* 803124AC 0030F40C D0 06 00 08 */ stfs f0, 8(r6) -/* 803124B0 0030F410 D0 06 00 0C */ stfs f0, 0xc(r6) -/* 803124B4 0030F414 D0 27 00 00 */ stfs f1, 0(r7) -/* 803124B8 0030F418 D0 05 00 04 */ stfs f0, 4(r5) -/* 803124BC 0030F41C D0 05 00 08 */ stfs f0, 8(r5) -/* 803124C0 0030F420 D0 07 00 0C */ stfs f0, 0xc(r7) -/* 803124C4 0030F424 D0 24 00 04 */ stfs f1, 4(r4) -/* 803124C8 0030F428 D0 04 00 08 */ stfs f0, 8(r4) -/* 803124CC 0030F42C D0 07 00 18 */ stfs f0, 0x18(r7) -/* 803124D0 0030F430 D0 03 00 04 */ stfs f0, 4(r3) -/* 803124D4 0030F434 D0 23 00 08 */ stfs f1, 8(r3) -/* 803124D8 0030F438 4E 80 00 20 */ blr - -.global Float__9CRandom16Fv -Float__9CRandom16Fv: -/* 803124DC 0030F43C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803124E0 0030F440 7C 08 02 A6 */ mflr r0 -/* 803124E4 0030F444 90 01 00 14 */ stw r0, 0x14(r1) -/* 803124E8 0030F448 48 00 00 39 */ bl Next__9CRandom16Fv -/* 803124EC 0030F44C 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 803124F0 0030F450 3C 00 43 30 */ lis r0, 0x4330 -/* 803124F4 0030F454 90 61 00 0C */ stw r3, 0xc(r1) -/* 803124F8 0030F458 C8 22 C8 C8 */ lfd f1, lbl_805AE5E8@sda21(r2) -/* 803124FC 0030F45C 90 01 00 08 */ stw r0, 8(r1) -/* 80312500 0030F460 C0 42 C8 C0 */ lfs f2, lbl_805AE5E0@sda21(r2) -/* 80312504 0030F464 C8 01 00 08 */ lfd f0, 8(r1) -/* 80312508 0030F468 EC 00 08 28 */ fsubs f0, f0, f1 -/* 8031250C 0030F46C EC 22 00 32 */ fmuls f1, f2, f0 -/* 80312510 0030F470 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80312514 0030F474 7C 08 03 A6 */ mtlr r0 -/* 80312518 0030F478 38 21 00 10 */ addi r1, r1, 0x10 -/* 8031251C 0030F47C 4E 80 00 20 */ blr - -.global Next__9CRandom16Fv -Next__9CRandom16Fv: -/* 80312520 0030F480 3C 80 41 C6 */ lis r4, 0x41C64E6D@ha -/* 80312524 0030F484 80 A3 00 00 */ lwz r5, 0(r3) -/* 80312528 0030F488 38 04 4E 6D */ addi r0, r4, 0x41C64E6D@l -/* 8031252C 0030F48C 7C 85 01 D6 */ mullw r4, r5, r0 -/* 80312530 0030F490 38 04 30 39 */ addi r0, r4, 0x3039 -/* 80312534 0030F494 90 03 00 00 */ stw r0, 0(r3) -/* 80312538 0030F498 80 03 00 00 */ lwz r0, 0(r3) -/* 8031253C 0030F49C 54 03 84 3E */ srwi r3, r0, 0x10 -/* 80312540 0030F4A0 4E 80 00 20 */ blr - -.global Range__9CRandom16Fff -Range__9CRandom16Fff: -/* 80312544 0030F4A4 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80312548 0030F4A8 7C 08 02 A6 */ mflr r0 -/* 8031254C 0030F4AC 90 01 00 34 */ stw r0, 0x34(r1) -/* 80312550 0030F4B0 DB E1 00 20 */ stfd f31, 0x20(r1) -/* 80312554 0030F4B4 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 -/* 80312558 0030F4B8 DB C1 00 10 */ stfd f30, 0x10(r1) -/* 8031255C 0030F4BC F3 C1 00 18 */ psq_st f30, 24(r1), 0, qr0 -/* 80312560 0030F4C0 FF C0 08 90 */ fmr f30, f1 -/* 80312564 0030F4C4 FF E0 10 90 */ fmr f31, f2 -/* 80312568 0030F4C8 4B FF FF 75 */ bl Float__9CRandom16Fv -/* 8031256C 0030F4CC EC 1F F0 28 */ fsubs f0, f31, f30 -/* 80312570 0030F4D0 EC 20 F0 7A */ fmadds f1, f0, f1, f30 -/* 80312574 0030F4D4 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 -/* 80312578 0030F4D8 CB E1 00 20 */ lfd f31, 0x20(r1) -/* 8031257C 0030F4DC E3 C1 00 18 */ psq_l f30, 24(r1), 0, qr0 -/* 80312580 0030F4E0 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80312584 0030F4E4 CB C1 00 10 */ lfd f30, 0x10(r1) -/* 80312588 0030F4E8 7C 08 03 A6 */ mtlr r0 -/* 8031258C 0030F4EC 38 21 00 30 */ addi r1, r1, 0x30 -/* 80312590 0030F4F0 4E 80 00 20 */ blr - -.global Range__9CRandom16Fii -Range__9CRandom16Fii: -/* 80312594 0030F4F4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80312598 0030F4F8 7C 08 02 A6 */ mflr r0 -/* 8031259C 0030F4FC 90 01 00 14 */ stw r0, 0x14(r1) -/* 803125A0 0030F500 93 E1 00 0C */ stw r31, 0xc(r1) -/* 803125A4 0030F504 7C BF 2B 78 */ mr r31, r5 -/* 803125A8 0030F508 93 C1 00 08 */ stw r30, 8(r1) -/* 803125AC 0030F50C 7C 9E 23 78 */ mr r30, r4 -/* 803125B0 0030F510 4B FF FF 71 */ bl Next__9CRandom16Fv -/* 803125B4 0030F514 7C 9E F8 50 */ subf r4, r30, r31 -/* 803125B8 0030F518 38 84 00 01 */ addi r4, r4, 1 -/* 803125BC 0030F51C 7C 03 23 D6 */ divw r0, r3, r4 -/* 803125C0 0030F520 7C 00 21 D6 */ mullw r0, r0, r4 -/* 803125C4 0030F524 7C 00 18 50 */ subf r0, r0, r3 -/* 803125C8 0030F528 7C 7E 02 14 */ add r3, r30, r0 -/* 803125CC 0030F52C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 803125D0 0030F530 83 C1 00 08 */ lwz r30, 8(r1) -/* 803125D4 0030F534 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803125D8 0030F538 7C 08 03 A6 */ mtlr r0 -/* 803125DC 0030F53C 38 21 00 10 */ addi r1, r1, 0x10 -/* 803125E0 0030F540 4E 80 00 20 */ blr - -.global SetSeed__9CRandom16FUi -SetSeed__9CRandom16FUi: -/* 803125E4 0030F544 90 83 00 00 */ stw r4, 0(r3) -/* 803125E8 0030F548 4E 80 00 20 */ blr - -.global __ct__9CRandom16FUi -__ct__9CRandom16FUi: -/* 803125EC 0030F54C 90 83 00 00 */ stw r4, 0(r3) -/* 803125F0 0030F550 4E 80 00 20 */ blr - -.global _SetRandomNumber__9CRandom16FP9CRandom16 -_SetRandomNumber__9CRandom16FP9CRandom16: -/* 803125F4 0030F554 90 6D A8 90 */ stw r3, lbl_805A9450@sda21(r13) -/* 803125F8 0030F558 4E 80 00 20 */ blr - -.global GetRandomNumber__9CRandom16Fv -GetRandomNumber__9CRandom16Fv: -/* 803125FC 0030F55C 80 6D A8 90 */ lwz r3, lbl_805A9450@sda21(r13) -/* 80312600 0030F560 4E 80 00 20 */ blr - -.global __dt__13CGlobalRandomFv -__dt__13CGlobalRandomFv: -/* 80312604 0030F564 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80312608 0030F568 7C 08 02 A6 */ mflr r0 -/* 8031260C 0030F56C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80312610 0030F570 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80312614 0030F574 7C 9F 23 78 */ mr r31, r4 -/* 80312618 0030F578 93 C1 00 08 */ stw r30, 8(r1) -/* 8031261C 0030F57C 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80312620 0030F580 41 82 00 44 */ beq lbl_80312664 -/* 80312624 0030F584 80 7E 00 08 */ lwz r3, 8(r30) -/* 80312628 0030F588 28 03 00 00 */ cmplwi r3, 0 -/* 8031262C 0030F58C 90 6D A8 94 */ stw r3, lbl_805A9454@sda21(r13) -/* 80312630 0030F590 41 82 00 1C */ beq lbl_8031264C -/* 80312634 0030F594 38 00 00 01 */ li r0, 1 -/* 80312638 0030F598 98 03 00 04 */ stb r0, 4(r3) -/* 8031263C 0030F59C 80 6D A8 94 */ lwz r3, lbl_805A9454@sda21(r13) -/* 80312640 0030F5A0 80 63 00 00 */ lwz r3, 0(r3) -/* 80312644 0030F5A4 4B FF FF B1 */ bl _SetRandomNumber__9CRandom16FP9CRandom16 -/* 80312648 0030F5A8 48 00 00 0C */ b lbl_80312654 -lbl_8031264C: -/* 8031264C 0030F5AC 38 60 00 00 */ li r3, 0 -/* 80312650 0030F5B0 4B FF FF A5 */ bl _SetRandomNumber__9CRandom16FP9CRandom16 -lbl_80312654: -/* 80312654 0030F5B4 7F E0 07 35 */ extsh. r0, r31 -/* 80312658 0030F5B8 40 81 00 0C */ ble lbl_80312664 -/* 8031265C 0030F5BC 7F C3 F3 78 */ mr r3, r30 -/* 80312660 0030F5C0 48 00 32 D1 */ bl Free__7CMemoryFPCv -lbl_80312664: -/* 80312664 0030F5C4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80312668 0030F5C8 7F C3 F3 78 */ mr r3, r30 -/* 8031266C 0030F5CC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80312670 0030F5D0 83 C1 00 08 */ lwz r30, 8(r1) -/* 80312674 0030F5D4 7C 08 03 A6 */ mtlr r0 -/* 80312678 0030F5D8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8031267C 0030F5DC 4E 80 00 20 */ blr - -.global __ct__13CGlobalRandomFR9CRandom16 -__ct__13CGlobalRandomFR9CRandom16: -/* 80312680 0030F5E0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80312684 0030F5E4 7C 08 02 A6 */ mflr r0 -/* 80312688 0030F5E8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8031268C 0030F5EC 38 00 00 01 */ li r0, 1 -/* 80312690 0030F5F0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80312694 0030F5F4 7C 7F 1B 78 */ mr r31, r3 -/* 80312698 0030F5F8 90 83 00 00 */ stw r4, 0(r3) -/* 8031269C 0030F5FC 98 03 00 04 */ stb r0, 4(r3) -/* 803126A0 0030F600 80 0D A8 94 */ lwz r0, lbl_805A9454@sda21(r13) -/* 803126A4 0030F604 90 03 00 08 */ stw r0, 8(r3) -/* 803126A8 0030F608 80 63 00 08 */ lwz r3, 8(r3) -/* 803126AC 0030F60C 28 03 00 00 */ cmplwi r3, 0 -/* 803126B0 0030F610 41 82 00 0C */ beq lbl_803126BC -/* 803126B4 0030F614 38 00 00 00 */ li r0, 0 -/* 803126B8 0030F618 98 03 00 04 */ stb r0, 4(r3) -lbl_803126BC: -/* 803126BC 0030F61C 93 ED A8 94 */ stw r31, lbl_805A9454@sda21(r13) -/* 803126C0 0030F620 80 7F 00 00 */ lwz r3, 0(r31) -/* 803126C4 0030F624 4B FF FF 31 */ bl _SetRandomNumber__9CRandom16FP9CRandom16 -/* 803126C8 0030F628 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803126CC 0030F62C 7F E3 FB 78 */ mr r3, r31 -/* 803126D0 0030F630 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 803126D4 0030F634 7C 08 03 A6 */ mtlr r0 -/* 803126D8 0030F638 38 21 00 10 */ addi r1, r1, 0x10 -/* 803126DC 0030F63C 4E 80 00 20 */ blr - -.global GetInverse__12CTransform4fCFv -GetInverse__12CTransform4fCFv: -/* 803126E0 0030F640 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 803126E4 0030F644 DB E1 00 20 */ stfd f31, 0x20(r1) -/* 803126E8 0030F648 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 -/* 803126EC 0030F64C DB C1 00 10 */ stfd f30, 0x10(r1) -/* 803126F0 0030F650 F3 C1 00 18 */ psq_st f30, 24(r1), 0, qr0 -/* 803126F4 0030F654 C0 C4 00 10 */ lfs f6, 0x10(r4) -/* 803126F8 0030F658 C1 04 00 28 */ lfs f8, 0x28(r4) -/* 803126FC 0030F65C C0 44 00 0C */ lfs f2, 0xc(r4) -/* 80312700 0030F660 C0 E4 00 18 */ lfs f7, 0x18(r4) -/* 80312704 0030F664 EC 06 02 32 */ fmuls f0, f6, f8 -/* 80312708 0030F668 C0 84 00 20 */ lfs f4, 0x20(r4) -/* 8031270C 0030F66C EC 22 02 32 */ fmuls f1, f2, f8 -/* 80312710 0030F670 C1 44 00 24 */ lfs f10, 0x24(r4) -/* 80312714 0030F674 EC 42 01 F2 */ fmuls f2, f2, f7 -/* 80312718 0030F678 C1 24 00 14 */ lfs f9, 0x14(r4) -/* 8031271C 0030F67C EC 67 02 B2 */ fmuls f3, f7, f10 -/* 80312720 0030F680 C3 E4 00 04 */ lfs f31, 4(r4) -/* 80312724 0030F684 EC 07 01 38 */ fmsubs f0, f7, f4, f0 -/* 80312728 0030F688 C1 64 00 2C */ lfs f11, 0x2c(r4) -/* 8031272C 0030F68C EC A9 01 32 */ fmuls f5, f9, f4 -/* 80312730 0030F690 C0 84 00 00 */ lfs f4, 0(r4) -/* 80312734 0030F694 EC 69 1A 38 */ fmsubs f3, f9, f8, f3 -/* 80312738 0030F698 C1 84 00 08 */ lfs f12, 8(r4) -/* 8031273C 0030F69C EC 1F 00 32 */ fmuls f0, f31, f0 -/* 80312740 0030F6A0 C1 A4 00 1C */ lfs f13, 0x1c(r4) -/* 80312744 0030F6A4 EC A6 2A B8 */ fmsubs f5, f6, f10, f5 -/* 80312748 0030F6A8 C0 C2 C8 D0 */ lfs f6, lbl_805AE5F0@sda21(r2) -/* 8031274C 0030F6AC EC 04 00 FA */ fmadds f0, f4, f3, f0 -/* 80312750 0030F6B0 EC 6C 02 F2 */ fmuls f3, f12, f11 -/* 80312754 0030F6B4 EF CC 03 72 */ fmuls f30, f12, f13 -/* 80312758 0030F6B8 EC 0C 01 7A */ fmadds f0, f12, f5, f0 -/* 8031275C 0030F6BC EC E7 02 F2 */ fmuls f7, f7, f11 -/* 80312760 0030F6C0 ED 0D 02 32 */ fmuls f8, f13, f8 -/* 80312764 0030F6C4 EC 06 00 24 */ fdivs f0, f6, f0 -/* 80312768 0030F6C8 FC A0 38 50 */ fneg f5, f7 -/* 8031276C 0030F6CC EC 83 08 28 */ fsubs f4, f3, f1 -/* 80312770 0030F6D0 FC C0 F0 50 */ fneg f6, f30 -/* 80312774 0030F6D4 FC 60 18 50 */ fneg f3, f3 -/* 80312778 0030F6D8 EC A5 40 2A */ fadds f5, f5, f8 -/* 8031277C 0030F6DC EC 89 01 32 */ fmuls f4, f9, f4 -/* 80312780 0030F6E0 EC C6 10 2A */ fadds f6, f6, f2 -/* 80312784 0030F6E4 EC 23 08 2A */ fadds f1, f3, f1 -/* 80312788 0030F6E8 EC 9F 21 7A */ fmadds f4, f31, f5, f4 -/* 8031278C 0030F6EC EC 67 40 28 */ fsubs f3, f7, f8 -/* 80312790 0030F6F0 EC BE 10 28 */ fsubs f5, f30, f2 -/* 80312794 0030F6F4 EC 4A 21 BA */ fmadds f2, f10, f6, f4 -/* 80312798 0030F6F8 EC 40 00 B2 */ fmuls f2, f0, f2 -/* 8031279C 0030F6FC D0 43 00 0C */ stfs f2, 0xc(r3) -/* 803127A0 0030F700 C0 44 00 10 */ lfs f2, 0x10(r4) -/* 803127A4 0030F704 C0 84 00 00 */ lfs f4, 0(r4) -/* 803127A8 0030F708 EC 22 00 72 */ fmuls f1, f2, f1 -/* 803127AC 0030F70C C0 44 00 20 */ lfs f2, 0x20(r4) -/* 803127B0 0030F710 EC 24 08 FA */ fmadds f1, f4, f3, f1 -/* 803127B4 0030F714 EC 22 09 7A */ fmadds f1, f2, f5, f1 -/* 803127B8 0030F718 EC 20 00 72 */ fmuls f1, f0, f1 -/* 803127BC 0030F71C D0 23 00 1C */ stfs f1, 0x1c(r3) -/* 803127C0 0030F720 C0 24 00 14 */ lfs f1, 0x14(r4) -/* 803127C4 0030F724 C0 64 00 0C */ lfs f3, 0xc(r4) -/* 803127C8 0030F728 C0 44 00 24 */ lfs f2, 0x24(r4) -/* 803127CC 0030F72C FC 80 08 50 */ fneg f4, f1 -/* 803127D0 0030F730 C1 44 00 1C */ lfs f10, 0x1c(r4) -/* 803127D4 0030F734 EC C3 00 72 */ fmuls f6, f3, f1 -/* 803127D8 0030F738 C0 E4 00 04 */ lfs f7, 4(r4) -/* 803127DC 0030F73C EC 23 00 B2 */ fmuls f1, f3, f2 -/* 803127E0 0030F740 C1 24 00 2C */ lfs f9, 0x2c(r4) -/* 803127E4 0030F744 EC 6A 00 B2 */ fmuls f3, f10, f2 -/* 803127E8 0030F748 C0 44 00 10 */ lfs f2, 0x10(r4) -/* 803127EC 0030F74C EC 27 0A 78 */ fmsubs f1, f7, f9, f1 -/* 803127F0 0030F750 C0 A4 00 00 */ lfs f5, 0(r4) -/* 803127F4 0030F754 FC E0 38 50 */ fneg f7, f7 -/* 803127F8 0030F758 C1 04 00 20 */ lfs f8, 0x20(r4) -/* 803127FC 0030F75C EC 64 1A 7A */ fmadds f3, f4, f9, f3 -/* 80312800 0030F760 EC 22 00 72 */ fmuls f1, f2, f1 -/* 80312804 0030F764 EC 47 32 BA */ fmadds f2, f7, f10, f6 -/* 80312808 0030F768 EC 25 08 FA */ fmadds f1, f5, f3, f1 -/* 8031280C 0030F76C EC 28 08 BA */ fmadds f1, f8, f2, f1 -/* 80312810 0030F770 EC 20 00 72 */ fmuls f1, f0, f1 -/* 80312814 0030F774 D0 23 00 2C */ stfs f1, 0x2c(r3) -/* 80312818 0030F778 C0 44 00 18 */ lfs f2, 0x18(r4) -/* 8031281C 0030F77C C0 24 00 24 */ lfs f1, 0x24(r4) -/* 80312820 0030F780 C0 64 00 14 */ lfs f3, 0x14(r4) -/* 80312824 0030F784 EC 22 00 72 */ fmuls f1, f2, f1 -/* 80312828 0030F788 C0 44 00 28 */ lfs f2, 0x28(r4) -/* 8031282C 0030F78C EC 23 08 B8 */ fmsubs f1, f3, f2, f1 -/* 80312830 0030F790 EC 20 00 72 */ fmuls f1, f0, f1 -/* 80312834 0030F794 D0 23 00 00 */ stfs f1, 0(r3) -/* 80312838 0030F798 C0 44 00 04 */ lfs f2, 4(r4) -/* 8031283C 0030F79C C0 24 00 28 */ lfs f1, 0x28(r4) -/* 80312840 0030F7A0 C0 64 00 08 */ lfs f3, 8(r4) -/* 80312844 0030F7A4 EC 22 00 72 */ fmuls f1, f2, f1 -/* 80312848 0030F7A8 C0 44 00 24 */ lfs f2, 0x24(r4) -/* 8031284C 0030F7AC EC 23 08 B8 */ fmsubs f1, f3, f2, f1 -/* 80312850 0030F7B0 EC 20 00 72 */ fmuls f1, f0, f1 -/* 80312854 0030F7B4 D0 23 00 04 */ stfs f1, 4(r3) -/* 80312858 0030F7B8 C0 44 00 08 */ lfs f2, 8(r4) -/* 8031285C 0030F7BC C0 24 00 14 */ lfs f1, 0x14(r4) -/* 80312860 0030F7C0 C0 64 00 04 */ lfs f3, 4(r4) -/* 80312864 0030F7C4 EC 22 00 72 */ fmuls f1, f2, f1 -/* 80312868 0030F7C8 C0 44 00 18 */ lfs f2, 0x18(r4) -/* 8031286C 0030F7CC EC 23 08 B8 */ fmsubs f1, f3, f2, f1 -/* 80312870 0030F7D0 EC 20 00 72 */ fmuls f1, f0, f1 -/* 80312874 0030F7D4 D0 23 00 08 */ stfs f1, 8(r3) -/* 80312878 0030F7D8 C0 44 00 10 */ lfs f2, 0x10(r4) -/* 8031287C 0030F7DC C0 24 00 28 */ lfs f1, 0x28(r4) -/* 80312880 0030F7E0 C0 64 00 18 */ lfs f3, 0x18(r4) -/* 80312884 0030F7E4 EC 22 00 72 */ fmuls f1, f2, f1 -/* 80312888 0030F7E8 C0 44 00 20 */ lfs f2, 0x20(r4) -/* 8031288C 0030F7EC EC 23 08 B8 */ fmsubs f1, f3, f2, f1 -/* 80312890 0030F7F0 EC 20 00 72 */ fmuls f1, f0, f1 -/* 80312894 0030F7F4 D0 23 00 10 */ stfs f1, 0x10(r3) -/* 80312898 0030F7F8 C0 44 00 08 */ lfs f2, 8(r4) -/* 8031289C 0030F7FC C0 24 00 20 */ lfs f1, 0x20(r4) -/* 803128A0 0030F800 C0 64 00 00 */ lfs f3, 0(r4) -/* 803128A4 0030F804 EC 22 00 72 */ fmuls f1, f2, f1 -/* 803128A8 0030F808 C0 44 00 28 */ lfs f2, 0x28(r4) -/* 803128AC 0030F80C EC 23 08 B8 */ fmsubs f1, f3, f2, f1 -/* 803128B0 0030F810 EC 20 00 72 */ fmuls f1, f0, f1 -/* 803128B4 0030F814 D0 23 00 14 */ stfs f1, 0x14(r3) -/* 803128B8 0030F818 C0 44 00 00 */ lfs f2, 0(r4) -/* 803128BC 0030F81C C0 24 00 18 */ lfs f1, 0x18(r4) -/* 803128C0 0030F820 C0 64 00 08 */ lfs f3, 8(r4) -/* 803128C4 0030F824 EC 22 00 72 */ fmuls f1, f2, f1 -/* 803128C8 0030F828 C0 44 00 10 */ lfs f2, 0x10(r4) -/* 803128CC 0030F82C EC 23 08 B8 */ fmsubs f1, f3, f2, f1 -/* 803128D0 0030F830 EC 20 00 72 */ fmuls f1, f0, f1 -/* 803128D4 0030F834 D0 23 00 18 */ stfs f1, 0x18(r3) -/* 803128D8 0030F838 C0 44 00 14 */ lfs f2, 0x14(r4) -/* 803128DC 0030F83C C0 24 00 20 */ lfs f1, 0x20(r4) -/* 803128E0 0030F840 C0 64 00 10 */ lfs f3, 0x10(r4) -/* 803128E4 0030F844 EC 22 00 72 */ fmuls f1, f2, f1 -/* 803128E8 0030F848 C0 44 00 24 */ lfs f2, 0x24(r4) -/* 803128EC 0030F84C EC 23 08 B8 */ fmsubs f1, f3, f2, f1 -/* 803128F0 0030F850 EC 20 00 72 */ fmuls f1, f0, f1 -/* 803128F4 0030F854 D0 23 00 20 */ stfs f1, 0x20(r3) -/* 803128F8 0030F858 C0 44 00 00 */ lfs f2, 0(r4) -/* 803128FC 0030F85C C0 24 00 24 */ lfs f1, 0x24(r4) -/* 80312900 0030F860 C0 64 00 04 */ lfs f3, 4(r4) -/* 80312904 0030F864 EC 22 00 72 */ fmuls f1, f2, f1 -/* 80312908 0030F868 C0 44 00 20 */ lfs f2, 0x20(r4) -/* 8031290C 0030F86C EC 23 08 B8 */ fmsubs f1, f3, f2, f1 -/* 80312910 0030F870 EC 20 00 72 */ fmuls f1, f0, f1 -/* 80312914 0030F874 D0 23 00 24 */ stfs f1, 0x24(r3) -/* 80312918 0030F878 C0 44 00 04 */ lfs f2, 4(r4) -/* 8031291C 0030F87C C0 24 00 10 */ lfs f1, 0x10(r4) -/* 80312920 0030F880 C0 64 00 00 */ lfs f3, 0(r4) -/* 80312924 0030F884 EC 22 00 72 */ fmuls f1, f2, f1 -/* 80312928 0030F888 C0 44 00 14 */ lfs f2, 0x14(r4) -/* 8031292C 0030F88C EC 23 08 B8 */ fmsubs f1, f3, f2, f1 -/* 80312930 0030F890 EC 00 00 72 */ fmuls f0, f0, f1 -/* 80312934 0030F894 D0 03 00 28 */ stfs f0, 0x28(r3) -/* 80312938 0030F898 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 -/* 8031293C 0030F89C CB E1 00 20 */ lfd f31, 0x20(r1) -/* 80312940 0030F8A0 E3 C1 00 18 */ psq_l f30, 24(r1), 0, qr0 -/* 80312944 0030F8A4 CB C1 00 10 */ lfd f30, 0x10(r1) -/* 80312948 0030F8A8 38 21 00 30 */ addi r1, r1, 0x30 -/* 8031294C 0030F8AC 4E 80 00 20 */ blr - -.global __ml__12CTransform4fCFRC12CTransform4f -__ml__12CTransform4fCFRC12CTransform4f: -/* 80312950 0030F8B0 E0 04 00 00 */ psq_l f0, 0(r4), 0, qr0 -/* 80312954 0030F8B4 E0 E5 00 08 */ psq_l f7, 8(r5), 0, qr0 -/* 80312958 0030F8B8 10 20 04 E0 */ ps_merge11 f1, f0, f0 -/* 8031295C 0030F8BC E0 85 00 00 */ psq_l f4, 0(r5), 0, qr0 -/* 80312960 0030F8C0 10 00 04 20 */ ps_merge00 f0, f0, f0 -/* 80312964 0030F8C4 C0 62 C8 D4 */ lfs f3, lbl_805AE5F4@sda21(r2) -/* 80312968 0030F8C8 E0 44 00 08 */ psq_l f2, 8(r4), 0, qr0 -/* 8031296C 0030F8CC E1 05 00 18 */ psq_l f8, 24(r5), 0, qr0 -/* 80312970 0030F8D0 11 40 01 F2 */ ps_mul f10, f0, f7 -/* 80312974 0030F8D4 E0 A5 00 10 */ psq_l f5, 16(r5), 0, qr0 -/* 80312978 0030F8D8 10 00 01 32 */ ps_mul f0, f0, f4 -/* 8031297C 0030F8DC E1 25 00 28 */ psq_l f9, 40(r5), 0, qr0 -/* 80312980 0030F8E0 10 63 14 60 */ ps_merge01 f3, f3, f2 -/* 80312984 0030F8E4 E0 C5 00 20 */ psq_l f6, 32(r5), 0, qr0 -/* 80312988 0030F8E8 10 42 14 20 */ ps_merge00 f2, f2, f2 -/* 8031298C 0030F8EC 11 41 52 3A */ ps_madd f10, f1, f8, f10 -/* 80312990 0030F8F0 10 01 01 7A */ ps_madd f0, f1, f5, f0 -/* 80312994 0030F8F4 11 42 52 7A */ ps_madd f10, f2, f9, f10 -/* 80312998 0030F8F8 10 02 01 BA */ ps_madd f0, f2, f6, f0 -/* 8031299C 0030F8FC 11 43 50 2A */ ps_add f10, f3, f10 -/* 803129A0 0030F900 F0 03 00 00 */ psq_st f0, 0(r3), 0, qr0 -/* 803129A4 0030F904 F1 43 00 08 */ psq_st f10, 8(r3), 0, qr0 -/* 803129A8 0030F908 E0 04 00 10 */ psq_l f0, 16(r4), 0, qr0 -/* 803129AC 0030F90C E0 44 00 18 */ psq_l f2, 24(r4), 0, qr0 -/* 803129B0 0030F910 10 20 04 E0 */ ps_merge11 f1, f0, f0 -/* 803129B4 0030F914 10 00 04 20 */ ps_merge00 f0, f0, f0 -/* 803129B8 0030F918 10 63 14 60 */ ps_merge01 f3, f3, f2 -/* 803129BC 0030F91C 10 42 14 20 */ ps_merge00 f2, f2, f2 -/* 803129C0 0030F920 11 40 01 F2 */ ps_mul f10, f0, f7 -/* 803129C4 0030F924 10 00 01 32 */ ps_mul f0, f0, f4 -/* 803129C8 0030F928 11 41 52 3A */ ps_madd f10, f1, f8, f10 -/* 803129CC 0030F92C 10 01 01 7A */ ps_madd f0, f1, f5, f0 -/* 803129D0 0030F930 11 42 52 7A */ ps_madd f10, f2, f9, f10 -/* 803129D4 0030F934 10 02 01 BA */ ps_madd f0, f2, f6, f0 -/* 803129D8 0030F938 11 43 50 2A */ ps_add f10, f3, f10 -/* 803129DC 0030F93C F0 03 00 10 */ psq_st f0, 16(r3), 0, qr0 -/* 803129E0 0030F940 F1 43 00 18 */ psq_st f10, 24(r3), 0, qr0 -/* 803129E4 0030F944 E0 04 00 20 */ psq_l f0, 32(r4), 0, qr0 -/* 803129E8 0030F948 E0 44 00 28 */ psq_l f2, 40(r4), 0, qr0 -/* 803129EC 0030F94C 10 20 04 E0 */ ps_merge11 f1, f0, f0 -/* 803129F0 0030F950 10 00 04 20 */ ps_merge00 f0, f0, f0 -/* 803129F4 0030F954 10 63 14 60 */ ps_merge01 f3, f3, f2 -/* 803129F8 0030F958 10 42 14 20 */ ps_merge00 f2, f2, f2 -/* 803129FC 0030F95C 11 40 01 F2 */ ps_mul f10, f0, f7 -/* 80312A00 0030F960 10 00 01 32 */ ps_mul f0, f0, f4 -/* 80312A04 0030F964 11 41 52 3A */ ps_madd f10, f1, f8, f10 -/* 80312A08 0030F968 10 01 01 7A */ ps_madd f0, f1, f5, f0 -/* 80312A0C 0030F96C 11 42 52 7A */ ps_madd f10, f2, f9, f10 -/* 80312A10 0030F970 10 02 01 BA */ ps_madd f0, f2, f6, f0 -/* 80312A14 0030F974 11 43 50 2A */ ps_add f10, f3, f10 -/* 80312A18 0030F978 F0 03 00 20 */ psq_st f0, 32(r3), 0, qr0 -/* 80312A1C 0030F97C F1 43 00 28 */ psq_st f10, 40(r3), 0, qr0 -/* 80312A20 0030F980 4E 80 00 20 */ blr - -.global TransposeRotate__12CTransform4fCFRC9CVector3f -TransposeRotate__12CTransform4fCFRC9CVector3f: -/* 80312A24 0030F984 C0 05 00 00 */ lfs f0, 0(r5) -/* 80312A28 0030F988 C0 25 00 04 */ lfs f1, 4(r5) -/* 80312A2C 0030F98C 10 60 04 20 */ ps_merge00 f3, f0, f0 -/* 80312A30 0030F990 E0 84 00 00 */ psq_l f4, 0(r4), 0, qr0 -/* 80312A34 0030F994 C0 45 00 08 */ lfs f2, 8(r5) -/* 80312A38 0030F998 10 21 0C 20 */ ps_merge00 f1, f1, f1 -/* 80312A3C 0030F99C C0 04 00 18 */ lfs f0, 0x18(r4) -/* 80312A40 0030F9A0 10 A4 00 F2 */ ps_mul f5, f4, f3 -/* 80312A44 0030F9A4 E0 C4 00 10 */ psq_l f6, 16(r4), 0, qr0 -/* 80312A48 0030F9A8 10 82 14 20 */ ps_merge00 f4, f2, f2 -/* 80312A4C 0030F9AC E0 E4 00 20 */ psq_l f7, 32(r4), 0, qr0 -/* 80312A50 0030F9B0 EC 00 00 72 */ fmuls f0, f0, f1 -/* 80312A54 0030F9B4 10 A6 28 7A */ ps_madd f5, f6, f1, f5 -/* 80312A58 0030F9B8 C0 24 00 08 */ lfs f1, 8(r4) -/* 80312A5C 0030F9BC C0 44 00 28 */ lfs f2, 0x28(r4) -/* 80312A60 0030F9C0 10 A7 29 3A */ ps_madd f5, f7, f4, f5 -/* 80312A64 0030F9C4 EC 01 00 FA */ fmadds f0, f1, f3, f0 -/* 80312A68 0030F9C8 10 25 2C E0 */ ps_merge11 f1, f5, f5 -/* 80312A6C 0030F9CC D0 A3 00 00 */ stfs f5, 0(r3) -/* 80312A70 0030F9D0 EC 02 01 3A */ fmadds f0, f2, f4, f0 -/* 80312A74 0030F9D4 D0 23 00 04 */ stfs f1, 4(r3) -/* 80312A78 0030F9D8 D0 03 00 08 */ stfs f0, 8(r3) -/* 80312A7C 0030F9DC 4E 80 00 20 */ blr - -.global Rotate__12CTransform4fCFRC9CVector3f -Rotate__12CTransform4fCFRC9CVector3f: -/* 80312A80 0030F9E0 C0 E2 C8 D4 */ lfs f7, lbl_805AE5F4@sda21(r2) -/* 80312A84 0030F9E4 E0 A4 80 08 */ psq_l f5, 8(r4), 1, qr0 -/* 80312A88 0030F9E8 E0 45 00 00 */ psq_l f2, 0(r5), 0, qr0 -/* 80312A8C 0030F9EC E0 84 00 00 */ psq_l f4, 0(r4), 0, qr0 -/* 80312A90 0030F9F0 10 A5 3C 20 */ ps_merge00 f5, f5, f7 -/* 80312A94 0030F9F4 E0 65 80 08 */ psq_l f3, 8(r5), 1, qr0 -/* 80312A98 0030F9F8 10 04 00 B2 */ ps_mul f0, f4, f2 -/* 80312A9C 0030F9FC E0 84 00 10 */ psq_l f4, 16(r4), 0, qr0 -/* 80312AA0 0030FA00 C0 C2 C8 D0 */ lfs f6, lbl_805AE5F0@sda21(r2) -/* 80312AA4 0030FA04 10 24 00 B2 */ ps_mul f1, f4, f2 -/* 80312AA8 0030FA08 E0 84 00 20 */ psq_l f4, 32(r4), 0, qr0 -/* 80312AAC 0030FA0C 10 05 00 FA */ ps_madd f0, f5, f3, f0 -/* 80312AB0 0030FA10 E0 A4 80 18 */ psq_l f5, 24(r4), 1, qr0 -/* 80312AB4 0030FA14 10 44 00 B2 */ ps_mul f2, f4, f2 -/* 80312AB8 0030FA18 10 A5 3C 20 */ ps_merge00 f5, f5, f7 -/* 80312ABC 0030FA1C 10 06 00 1E */ ps_madds1 f0, f6, f0, f0 -/* 80312AC0 0030FA20 10 25 08 FA */ ps_madd f1, f5, f3, f1 -/* 80312AC4 0030FA24 E0 A4 80 28 */ psq_l f5, 40(r4), 1, qr0 -/* 80312AC8 0030FA28 10 A5 3C 20 */ ps_merge00 f5, f5, f7 -/* 80312ACC 0030FA2C D0 03 00 00 */ stfs f0, 0(r3) -/* 80312AD0 0030FA30 10 26 08 5E */ ps_madds1 f1, f6, f1, f1 -/* 80312AD4 0030FA34 10 45 10 FA */ ps_madd f2, f5, f3, f2 -/* 80312AD8 0030FA38 D0 23 00 04 */ stfs f1, 4(r3) -/* 80312ADC 0030FA3C 10 46 10 9E */ ps_madds1 f2, f6, f2, f2 -/* 80312AE0 0030FA40 D0 43 00 08 */ stfs f2, 8(r3) -/* 80312AE4 0030FA44 4E 80 00 20 */ blr - -.global __ml__12CTransform4fCFRC9CVector3f -__ml__12CTransform4fCFRC9CVector3f: -/* 80312AE8 0030FA48 E0 45 00 00 */ psq_l f2, 0(r5), 0, qr0 -/* 80312AEC 0030FA4C E0 84 00 00 */ psq_l f4, 0(r4), 0, qr0 -/* 80312AF0 0030FA50 E0 65 80 08 */ psq_l f3, 8(r5), 1, qr0 -/* 80312AF4 0030FA54 10 04 00 B2 */ ps_mul f0, f4, f2 -/* 80312AF8 0030FA58 E0 84 00 10 */ psq_l f4, 16(r4), 0, qr0 -/* 80312AFC 0030FA5C E0 A4 00 08 */ psq_l f5, 8(r4), 0, qr0 -/* 80312B00 0030FA60 10 24 00 B2 */ ps_mul f1, f4, f2 -/* 80312B04 0030FA64 E0 84 00 20 */ psq_l f4, 32(r4), 0, qr0 -/* 80312B08 0030FA68 10 05 00 FA */ ps_madd f0, f5, f3, f0 -/* 80312B0C 0030FA6C E0 A4 00 18 */ psq_l f5, 24(r4), 0, qr0 -/* 80312B10 0030FA70 10 44 00 B2 */ ps_mul f2, f4, f2 -/* 80312B14 0030FA74 C0 C2 C8 D0 */ lfs f6, lbl_805AE5F0@sda21(r2) -/* 80312B18 0030FA78 10 25 08 FA */ ps_madd f1, f5, f3, f1 -/* 80312B1C 0030FA7C E0 A4 00 28 */ psq_l f5, 40(r4), 0, qr0 -/* 80312B20 0030FA80 10 06 00 1E */ ps_madds1 f0, f6, f0, f0 -/* 80312B24 0030FA84 10 45 10 FA */ ps_madd f2, f5, f3, f2 -/* 80312B28 0030FA88 10 26 08 5E */ ps_madds1 f1, f6, f1, f1 -/* 80312B2C 0030FA8C D0 03 00 00 */ stfs f0, 0(r3) -/* 80312B30 0030FA90 10 46 10 9E */ ps_madds1 f2, f6, f2, f2 -/* 80312B34 0030FA94 D0 23 00 04 */ stfs f1, 4(r3) -/* 80312B38 0030FA98 D0 43 00 08 */ stfs f2, 8(r3) -/* 80312B3C 0030FA9C 4E 80 00 20 */ blr - -.global __as__12CTransform4fFRC12CTransform4f -__as__12CTransform4fFRC12CTransform4f: -/* 80312B40 0030FAA0 C8 04 00 00 */ lfd f0, 0(r4) -/* 80312B44 0030FAA4 C8 24 00 08 */ lfd f1, 8(r4) -/* 80312B48 0030FAA8 C8 44 00 10 */ lfd f2, 0x10(r4) -/* 80312B4C 0030FAAC D8 03 00 00 */ stfd f0, 0(r3) -/* 80312B50 0030FAB0 D8 23 00 08 */ stfd f1, 8(r3) -/* 80312B54 0030FAB4 D8 43 00 10 */ stfd f2, 0x10(r3) -/* 80312B58 0030FAB8 C8 04 00 18 */ lfd f0, 0x18(r4) -/* 80312B5C 0030FABC C8 24 00 20 */ lfd f1, 0x20(r4) -/* 80312B60 0030FAC0 C8 44 00 28 */ lfd f2, 0x28(r4) -/* 80312B64 0030FAC4 D8 03 00 18 */ stfd f0, 0x18(r3) -/* 80312B68 0030FAC8 D8 23 00 20 */ stfd f1, 0x20(r3) -/* 80312B6C 0030FACC D8 43 00 28 */ stfd f2, 0x28(r3) -/* 80312B70 0030FAD0 4E 80 00 20 */ blr - -.global __ct__12CTransform4fFRC12CTransform4f -__ct__12CTransform4fFRC12CTransform4f: -/* 80312B74 0030FAD4 C8 04 00 00 */ lfd f0, 0(r4) -/* 80312B78 0030FAD8 C8 24 00 08 */ lfd f1, 8(r4) -/* 80312B7C 0030FADC C8 44 00 10 */ lfd f2, 0x10(r4) -/* 80312B80 0030FAE0 D8 03 00 00 */ stfd f0, 0(r3) -/* 80312B84 0030FAE4 D8 23 00 08 */ stfd f1, 8(r3) -/* 80312B88 0030FAE8 D8 43 00 10 */ stfd f2, 0x10(r3) -/* 80312B8C 0030FAEC C8 04 00 18 */ lfd f0, 0x18(r4) -/* 80312B90 0030FAF0 C8 24 00 20 */ lfd f1, 0x20(r4) -/* 80312B94 0030FAF4 C8 44 00 28 */ lfd f2, 0x28(r4) -/* 80312B98 0030FAF8 D8 03 00 18 */ stfd f0, 0x18(r3) -/* 80312B9C 0030FAFC D8 23 00 20 */ stfd f1, 0x20(r3) -/* 80312BA0 0030FB00 D8 43 00 28 */ stfd f2, 0x28(r3) -/* 80312BA4 0030FB04 4E 80 00 20 */ blr - -.global SetRotation__12CTransform4fFRC12CTransform4f -SetRotation__12CTransform4fFRC12CTransform4f: -/* 80312BA8 0030FB08 C0 04 00 00 */ lfs f0, 0(r4) -/* 80312BAC 0030FB0C D0 03 00 00 */ stfs f0, 0(r3) -/* 80312BB0 0030FB10 C0 04 00 04 */ lfs f0, 4(r4) -/* 80312BB4 0030FB14 D0 03 00 04 */ stfs f0, 4(r3) -/* 80312BB8 0030FB18 C0 04 00 08 */ lfs f0, 8(r4) -/* 80312BBC 0030FB1C D0 03 00 08 */ stfs f0, 8(r3) -/* 80312BC0 0030FB20 C0 04 00 10 */ lfs f0, 0x10(r4) -/* 80312BC4 0030FB24 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 80312BC8 0030FB28 C0 04 00 14 */ lfs f0, 0x14(r4) -/* 80312BCC 0030FB2C D0 03 00 14 */ stfs f0, 0x14(r3) -/* 80312BD0 0030FB30 C0 04 00 18 */ lfs f0, 0x18(r4) -/* 80312BD4 0030FB34 D0 03 00 18 */ stfs f0, 0x18(r3) -/* 80312BD8 0030FB38 C0 04 00 20 */ lfs f0, 0x20(r4) -/* 80312BDC 0030FB3C D0 03 00 20 */ stfs f0, 0x20(r3) -/* 80312BE0 0030FB40 C0 04 00 24 */ lfs f0, 0x24(r4) -/* 80312BE4 0030FB44 D0 03 00 24 */ stfs f0, 0x24(r3) -/* 80312BE8 0030FB48 C0 04 00 28 */ lfs f0, 0x28(r4) -/* 80312BEC 0030FB4C D0 03 00 28 */ stfs f0, 0x28(r3) -/* 80312BF0 0030FB50 4E 80 00 20 */ blr - -.global SetRotation__12CTransform4fFRC9CMatrix3f -SetRotation__12CTransform4fFRC9CMatrix3f: -/* 80312BF4 0030FB54 C0 04 00 00 */ lfs f0, 0(r4) -/* 80312BF8 0030FB58 D0 03 00 00 */ stfs f0, 0(r3) -/* 80312BFC 0030FB5C C0 04 00 04 */ lfs f0, 4(r4) -/* 80312C00 0030FB60 D0 03 00 04 */ stfs f0, 4(r3) -/* 80312C04 0030FB64 C0 04 00 08 */ lfs f0, 8(r4) -/* 80312C08 0030FB68 D0 03 00 08 */ stfs f0, 8(r3) -/* 80312C0C 0030FB6C C0 04 00 0C */ lfs f0, 0xc(r4) -/* 80312C10 0030FB70 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 80312C14 0030FB74 C0 04 00 10 */ lfs f0, 0x10(r4) -/* 80312C18 0030FB78 D0 03 00 14 */ stfs f0, 0x14(r3) -/* 80312C1C 0030FB7C C0 04 00 14 */ lfs f0, 0x14(r4) -/* 80312C20 0030FB80 D0 03 00 18 */ stfs f0, 0x18(r3) -/* 80312C24 0030FB84 C0 04 00 18 */ lfs f0, 0x18(r4) -/* 80312C28 0030FB88 D0 03 00 20 */ stfs f0, 0x20(r3) -/* 80312C2C 0030FB8C C0 04 00 1C */ lfs f0, 0x1c(r4) -/* 80312C30 0030FB90 D0 03 00 24 */ stfs f0, 0x24(r3) -/* 80312C34 0030FB94 C0 04 00 20 */ lfs f0, 0x20(r4) -/* 80312C38 0030FB98 D0 03 00 28 */ stfs f0, 0x28(r3) -/* 80312C3C 0030FB9C 4E 80 00 20 */ blr - -.global GetRotation__12CTransform4fCFv -GetRotation__12CTransform4fCFv: -/* 80312C40 0030FBA0 C1 24 00 28 */ lfs f9, 0x28(r4) -/* 80312C44 0030FBA4 C1 04 00 24 */ lfs f8, 0x24(r4) -/* 80312C48 0030FBA8 C0 E4 00 20 */ lfs f7, 0x20(r4) -/* 80312C4C 0030FBAC C0 C4 00 18 */ lfs f6, 0x18(r4) -/* 80312C50 0030FBB0 C0 A4 00 14 */ lfs f5, 0x14(r4) -/* 80312C54 0030FBB4 C0 84 00 10 */ lfs f4, 0x10(r4) -/* 80312C58 0030FBB8 C0 64 00 08 */ lfs f3, 8(r4) -/* 80312C5C 0030FBBC C0 44 00 04 */ lfs f2, 4(r4) -/* 80312C60 0030FBC0 C0 24 00 00 */ lfs f1, 0(r4) -/* 80312C64 0030FBC4 C0 02 C8 D4 */ lfs f0, lbl_805AE5F4@sda21(r2) -/* 80312C68 0030FBC8 D0 23 00 00 */ stfs f1, 0(r3) -/* 80312C6C 0030FBCC D0 43 00 04 */ stfs f2, 4(r3) -/* 80312C70 0030FBD0 D0 63 00 08 */ stfs f3, 8(r3) -/* 80312C74 0030FBD4 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 80312C78 0030FBD8 D0 83 00 10 */ stfs f4, 0x10(r3) -/* 80312C7C 0030FBDC D0 A3 00 14 */ stfs f5, 0x14(r3) -/* 80312C80 0030FBE0 D0 C3 00 18 */ stfs f6, 0x18(r3) -/* 80312C84 0030FBE4 D0 03 00 1C */ stfs f0, 0x1c(r3) -/* 80312C88 0030FBE8 D0 E3 00 20 */ stfs f7, 0x20(r3) -/* 80312C8C 0030FBEC D1 03 00 24 */ stfs f8, 0x24(r3) -/* 80312C90 0030FBF0 D1 23 00 28 */ stfs f9, 0x28(r3) -/* 80312C94 0030FBF4 D0 03 00 2C */ stfs f0, 0x2c(r3) -/* 80312C98 0030FBF8 4E 80 00 20 */ blr - -.global GetQuickInverse__12CTransform4fCFv -GetQuickInverse__12CTransform4fCFv: -/* 80312C9C 0030FBFC C0 04 00 0C */ lfs f0, 0xc(r4) -/* 80312CA0 0030FC00 C1 64 00 10 */ lfs f11, 0x10(r4) -/* 80312CA4 0030FC04 C0 64 00 1C */ lfs f3, 0x1c(r4) -/* 80312CA8 0030FC08 FC 80 00 50 */ fneg f4, f0 -/* 80312CAC 0030FC0C C1 04 00 14 */ lfs f8, 0x14(r4) -/* 80312CB0 0030FC10 C0 A4 00 18 */ lfs f5, 0x18(r4) -/* 80312CB4 0030FC14 EC 4B 00 F2 */ fmuls f2, f11, f3 -/* 80312CB8 0030FC18 C1 84 00 00 */ lfs f12, 0(r4) -/* 80312CBC 0030FC1C EC 28 00 F2 */ fmuls f1, f8, f3 -/* 80312CC0 0030FC20 C1 24 00 04 */ lfs f9, 4(r4) -/* 80312CC4 0030FC24 EC 05 00 F2 */ fmuls f0, f5, f3 -/* 80312CC8 0030FC28 C0 C4 00 08 */ lfs f6, 8(r4) -/* 80312CCC 0030FC2C C1 44 00 20 */ lfs f10, 0x20(r4) -/* 80312CD0 0030FC30 EC 4C 11 38 */ fmsubs f2, f12, f4, f2 -/* 80312CD4 0030FC34 C0 64 00 2C */ lfs f3, 0x2c(r4) -/* 80312CD8 0030FC38 EC 29 09 38 */ fmsubs f1, f9, f4, f1 -/* 80312CDC 0030FC3C C0 E4 00 24 */ lfs f7, 0x24(r4) -/* 80312CE0 0030FC40 EC 06 01 38 */ fmsubs f0, f6, f4, f0 -/* 80312CE4 0030FC44 C0 84 00 28 */ lfs f4, 0x28(r4) -/* 80312CE8 0030FC48 EC 4A 10 FC */ fnmsubs f2, f10, f3, f2 -/* 80312CEC 0030FC4C D1 83 00 00 */ stfs f12, 0(r3) -/* 80312CF0 0030FC50 EC 27 08 FC */ fnmsubs f1, f7, f3, f1 -/* 80312CF4 0030FC54 EC 04 00 FC */ fnmsubs f0, f4, f3, f0 -/* 80312CF8 0030FC58 D1 63 00 04 */ stfs f11, 4(r3) -/* 80312CFC 0030FC5C D1 43 00 08 */ stfs f10, 8(r3) -/* 80312D00 0030FC60 D0 43 00 0C */ stfs f2, 0xc(r3) -/* 80312D04 0030FC64 D1 23 00 10 */ stfs f9, 0x10(r3) -/* 80312D08 0030FC68 D1 03 00 14 */ stfs f8, 0x14(r3) -/* 80312D0C 0030FC6C D0 E3 00 18 */ stfs f7, 0x18(r3) -/* 80312D10 0030FC70 D0 23 00 1C */ stfs f1, 0x1c(r3) -/* 80312D14 0030FC74 D0 C3 00 20 */ stfs f6, 0x20(r3) -/* 80312D18 0030FC78 D0 A3 00 24 */ stfs f5, 0x24(r3) -/* 80312D1C 0030FC7C D0 83 00 28 */ stfs f4, 0x28(r3) -/* 80312D20 0030FC80 D0 03 00 2C */ stfs f0, 0x2c(r3) -/* 80312D24 0030FC84 4E 80 00 20 */ blr - -.global sub_80312d28 -sub_80312d28: -/* 80312D28 0030FC88 C0 23 00 00 */ lfs f1, 0(r3) -/* 80312D2C 0030FC8C 38 00 00 00 */ li r0, 0 -/* 80312D30 0030FC90 C0 04 00 00 */ lfs f0, 0(r4) -/* 80312D34 0030FC94 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80312D38 0030FC98 40 82 00 B8 */ bne lbl_80312DF0 -/* 80312D3C 0030FC9C C0 23 00 04 */ lfs f1, 4(r3) -/* 80312D40 0030FCA0 C0 04 00 04 */ lfs f0, 4(r4) -/* 80312D44 0030FCA4 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80312D48 0030FCA8 40 82 00 A8 */ bne lbl_80312DF0 -/* 80312D4C 0030FCAC C0 23 00 08 */ lfs f1, 8(r3) -/* 80312D50 0030FCB0 C0 04 00 08 */ lfs f0, 8(r4) -/* 80312D54 0030FCB4 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80312D58 0030FCB8 40 82 00 98 */ bne lbl_80312DF0 -/* 80312D5C 0030FCBC C0 23 00 0C */ lfs f1, 0xc(r3) -/* 80312D60 0030FCC0 C0 04 00 0C */ lfs f0, 0xc(r4) -/* 80312D64 0030FCC4 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80312D68 0030FCC8 40 82 00 88 */ bne lbl_80312DF0 -/* 80312D6C 0030FCCC C0 23 00 10 */ lfs f1, 0x10(r3) -/* 80312D70 0030FCD0 C0 04 00 10 */ lfs f0, 0x10(r4) -/* 80312D74 0030FCD4 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80312D78 0030FCD8 40 82 00 78 */ bne lbl_80312DF0 -/* 80312D7C 0030FCDC C0 23 00 14 */ lfs f1, 0x14(r3) -/* 80312D80 0030FCE0 C0 04 00 14 */ lfs f0, 0x14(r4) -/* 80312D84 0030FCE4 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80312D88 0030FCE8 40 82 00 68 */ bne lbl_80312DF0 -/* 80312D8C 0030FCEC C0 23 00 18 */ lfs f1, 0x18(r3) -/* 80312D90 0030FCF0 C0 04 00 18 */ lfs f0, 0x18(r4) -/* 80312D94 0030FCF4 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80312D98 0030FCF8 40 82 00 58 */ bne lbl_80312DF0 -/* 80312D9C 0030FCFC C0 23 00 1C */ lfs f1, 0x1c(r3) -/* 80312DA0 0030FD00 C0 04 00 1C */ lfs f0, 0x1c(r4) -/* 80312DA4 0030FD04 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80312DA8 0030FD08 40 82 00 48 */ bne lbl_80312DF0 -/* 80312DAC 0030FD0C C0 23 00 20 */ lfs f1, 0x20(r3) -/* 80312DB0 0030FD10 C0 04 00 20 */ lfs f0, 0x20(r4) -/* 80312DB4 0030FD14 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80312DB8 0030FD18 40 82 00 38 */ bne lbl_80312DF0 -/* 80312DBC 0030FD1C C0 23 00 24 */ lfs f1, 0x24(r3) -/* 80312DC0 0030FD20 C0 04 00 24 */ lfs f0, 0x24(r4) -/* 80312DC4 0030FD24 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80312DC8 0030FD28 40 82 00 28 */ bne lbl_80312DF0 -/* 80312DCC 0030FD2C C0 23 00 28 */ lfs f1, 0x28(r3) -/* 80312DD0 0030FD30 C0 04 00 28 */ lfs f0, 0x28(r4) -/* 80312DD4 0030FD34 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80312DD8 0030FD38 40 82 00 18 */ bne lbl_80312DF0 -/* 80312DDC 0030FD3C C0 23 00 2C */ lfs f1, 0x2c(r3) -/* 80312DE0 0030FD40 C0 04 00 2C */ lfs f0, 0x2c(r4) -/* 80312DE4 0030FD44 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80312DE8 0030FD48 40 82 00 08 */ bne lbl_80312DF0 -/* 80312DEC 0030FD4C 38 00 00 01 */ li r0, 1 -lbl_80312DF0: -/* 80312DF0 0030FD50 7C 03 03 78 */ mr r3, r0 -/* 80312DF4 0030FD54 4E 80 00 20 */ blr - -.global FromColumns__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f -FromColumns__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f: -/* 80312DF8 0030FD58 C0 27 00 08 */ lfs f1, 8(r7) -/* 80312DFC 0030FD5C C0 46 00 08 */ lfs f2, 8(r6) -/* 80312E00 0030FD60 C0 66 00 04 */ lfs f3, 4(r6) -/* 80312E04 0030FD64 C0 86 00 00 */ lfs f4, 0(r6) -/* 80312E08 0030FD68 C0 A7 00 04 */ lfs f5, 4(r7) -/* 80312E0C 0030FD6C C0 C5 00 08 */ lfs f6, 8(r5) -/* 80312E10 0030FD70 C0 E5 00 04 */ lfs f7, 4(r5) -/* 80312E14 0030FD74 C1 05 00 00 */ lfs f8, 0(r5) -/* 80312E18 0030FD78 C1 27 00 00 */ lfs f9, 0(r7) -/* 80312E1C 0030FD7C C1 44 00 08 */ lfs f10, 8(r4) -/* 80312E20 0030FD80 C1 64 00 04 */ lfs f11, 4(r4) -/* 80312E24 0030FD84 C0 04 00 00 */ lfs f0, 0(r4) -/* 80312E28 0030FD88 D0 03 00 00 */ stfs f0, 0(r3) -/* 80312E2C 0030FD8C D1 63 00 04 */ stfs f11, 4(r3) -/* 80312E30 0030FD90 D1 43 00 08 */ stfs f10, 8(r3) -/* 80312E34 0030FD94 D1 23 00 0C */ stfs f9, 0xc(r3) -/* 80312E38 0030FD98 D1 03 00 10 */ stfs f8, 0x10(r3) -/* 80312E3C 0030FD9C D0 E3 00 14 */ stfs f7, 0x14(r3) -/* 80312E40 0030FDA0 D0 C3 00 18 */ stfs f6, 0x18(r3) -/* 80312E44 0030FDA4 D0 A3 00 1C */ stfs f5, 0x1c(r3) -/* 80312E48 0030FDA8 D0 83 00 20 */ stfs f4, 0x20(r3) -/* 80312E4C 0030FDAC D0 63 00 24 */ stfs f3, 0x24(r3) -/* 80312E50 0030FDB0 D0 43 00 28 */ stfs f2, 0x28(r3) -/* 80312E54 0030FDB4 D0 23 00 2C */ stfs f1, 0x2c(r3) -/* 80312E58 0030FDB8 4E 80 00 20 */ blr - -.global __ct__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f_0 -__ct__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f_0: -/* 80312E5C 0030FDBC C0 27 00 08 */ lfs f1, 8(r7) -/* 80312E60 0030FDC0 C0 46 00 08 */ lfs f2, 8(r6) -/* 80312E64 0030FDC4 C0 65 00 08 */ lfs f3, 8(r5) -/* 80312E68 0030FDC8 C0 84 00 08 */ lfs f4, 8(r4) -/* 80312E6C 0030FDCC C0 A7 00 04 */ lfs f5, 4(r7) -/* 80312E70 0030FDD0 C0 C6 00 04 */ lfs f6, 4(r6) -/* 80312E74 0030FDD4 C0 E5 00 04 */ lfs f7, 4(r5) -/* 80312E78 0030FDD8 C1 04 00 04 */ lfs f8, 4(r4) -/* 80312E7C 0030FDDC C1 27 00 00 */ lfs f9, 0(r7) -/* 80312E80 0030FDE0 C1 46 00 00 */ lfs f10, 0(r6) -/* 80312E84 0030FDE4 C1 65 00 00 */ lfs f11, 0(r5) -/* 80312E88 0030FDE8 C0 04 00 00 */ lfs f0, 0(r4) -/* 80312E8C 0030FDEC D0 03 00 00 */ stfs f0, 0(r3) -/* 80312E90 0030FDF0 D1 63 00 04 */ stfs f11, 4(r3) -/* 80312E94 0030FDF4 D1 43 00 08 */ stfs f10, 8(r3) -/* 80312E98 0030FDF8 D1 23 00 0C */ stfs f9, 0xc(r3) -/* 80312E9C 0030FDFC D1 03 00 10 */ stfs f8, 0x10(r3) -/* 80312EA0 0030FE00 D0 E3 00 14 */ stfs f7, 0x14(r3) -/* 80312EA4 0030FE04 D0 C3 00 18 */ stfs f6, 0x18(r3) -/* 80312EA8 0030FE08 D0 A3 00 1C */ stfs f5, 0x1c(r3) -/* 80312EAC 0030FE0C D0 83 00 20 */ stfs f4, 0x20(r3) -/* 80312EB0 0030FE10 D0 63 00 24 */ stfs f3, 0x24(r3) -/* 80312EB4 0030FE14 D0 43 00 28 */ stfs f2, 0x28(r3) -/* 80312EB8 0030FE18 D0 23 00 2C */ stfs f1, 0x2c(r3) -/* 80312EBC 0030FE1C 4E 80 00 20 */ blr - -.global ScaleBy__12CTransform4fFf -ScaleBy__12CTransform4fFf: -/* 80312EC0 0030FE20 C0 03 00 00 */ lfs f0, 0(r3) -/* 80312EC4 0030FE24 EC 00 00 72 */ fmuls f0, f0, f1 -/* 80312EC8 0030FE28 D0 03 00 00 */ stfs f0, 0(r3) -/* 80312ECC 0030FE2C C0 03 00 04 */ lfs f0, 4(r3) -/* 80312ED0 0030FE30 EC 00 00 72 */ fmuls f0, f0, f1 -/* 80312ED4 0030FE34 D0 03 00 04 */ stfs f0, 4(r3) -/* 80312ED8 0030FE38 C0 03 00 08 */ lfs f0, 8(r3) -/* 80312EDC 0030FE3C EC 00 00 72 */ fmuls f0, f0, f1 -/* 80312EE0 0030FE40 D0 03 00 08 */ stfs f0, 8(r3) -/* 80312EE4 0030FE44 C0 03 00 10 */ lfs f0, 0x10(r3) -/* 80312EE8 0030FE48 EC 00 00 72 */ fmuls f0, f0, f1 -/* 80312EEC 0030FE4C D0 03 00 10 */ stfs f0, 0x10(r3) -/* 80312EF0 0030FE50 C0 03 00 14 */ lfs f0, 0x14(r3) -/* 80312EF4 0030FE54 EC 00 00 72 */ fmuls f0, f0, f1 -/* 80312EF8 0030FE58 D0 03 00 14 */ stfs f0, 0x14(r3) -/* 80312EFC 0030FE5C C0 03 00 18 */ lfs f0, 0x18(r3) -/* 80312F00 0030FE60 EC 00 00 72 */ fmuls f0, f0, f1 -/* 80312F04 0030FE64 D0 03 00 18 */ stfs f0, 0x18(r3) -/* 80312F08 0030FE68 C0 03 00 20 */ lfs f0, 0x20(r3) -/* 80312F0C 0030FE6C EC 00 00 72 */ fmuls f0, f0, f1 -/* 80312F10 0030FE70 D0 03 00 20 */ stfs f0, 0x20(r3) -/* 80312F14 0030FE74 C0 03 00 24 */ lfs f0, 0x24(r3) -/* 80312F18 0030FE78 EC 00 00 72 */ fmuls f0, f0, f1 -/* 80312F1C 0030FE7C D0 03 00 24 */ stfs f0, 0x24(r3) -/* 80312F20 0030FE80 C0 03 00 28 */ lfs f0, 0x28(r3) -/* 80312F24 0030FE84 EC 00 00 72 */ fmuls f0, f0, f1 -/* 80312F28 0030FE88 D0 03 00 28 */ stfs f0, 0x28(r3) -/* 80312F2C 0030FE8C 4E 80 00 20 */ blr - -.global MultiplyIgnoreTranslation__12CTransform4fCFRC12CTransform4f -MultiplyIgnoreTranslation__12CTransform4fCFRC12CTransform4f: -/* 80312F30 0030FE90 94 21 FF 40 */ stwu r1, -0xc0(r1) -/* 80312F34 0030FE94 DB E1 00 B0 */ stfd f31, 0xb0(r1) -/* 80312F38 0030FE98 F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0 -/* 80312F3C 0030FE9C DB C1 00 A0 */ stfd f30, 0xa0(r1) -/* 80312F40 0030FEA0 F3 C1 00 A8 */ psq_st f30, 168(r1), 0, qr0 -/* 80312F44 0030FEA4 DB A1 00 90 */ stfd f29, 0x90(r1) -/* 80312F48 0030FEA8 F3 A1 00 98 */ psq_st f29, 152(r1), 0, qr0 -/* 80312F4C 0030FEAC DB 81 00 80 */ stfd f28, 0x80(r1) -/* 80312F50 0030FEB0 F3 81 00 88 */ psq_st f28, 136(r1), 0, qr0 -/* 80312F54 0030FEB4 DB 61 00 70 */ stfd f27, 0x70(r1) -/* 80312F58 0030FEB8 F3 61 00 78 */ psq_st f27, 120(r1), 0, qr0 -/* 80312F5C 0030FEBC DB 41 00 60 */ stfd f26, 0x60(r1) -/* 80312F60 0030FEC0 F3 41 00 68 */ psq_st f26, 104(r1), 0, qr0 -/* 80312F64 0030FEC4 DB 21 00 50 */ stfd f25, 0x50(r1) -/* 80312F68 0030FEC8 F3 21 00 58 */ psq_st f25, 88(r1), 0, qr0 -/* 80312F6C 0030FECC DB 01 00 40 */ stfd f24, 0x40(r1) -/* 80312F70 0030FED0 F3 01 00 48 */ psq_st f24, 72(r1), 0, qr0 -/* 80312F74 0030FED4 DA E1 00 30 */ stfd f23, 0x30(r1) -/* 80312F78 0030FED8 F2 E1 00 38 */ psq_st f23, 56(r1), 0, qr0 -/* 80312F7C 0030FEDC DA C1 00 20 */ stfd f22, 0x20(r1) -/* 80312F80 0030FEE0 F2 C1 00 28 */ psq_st f22, 40(r1), 0, qr0 -/* 80312F84 0030FEE4 DA A1 00 10 */ stfd f21, 0x10(r1) -/* 80312F88 0030FEE8 F2 A1 00 18 */ psq_st f21, 24(r1), 0, qr0 -/* 80312F8C 0030FEEC C1 25 00 10 */ lfs f9, 0x10(r5) -/* 80312F90 0030FEF0 C0 44 00 04 */ lfs f2, 4(r4) -/* 80312F94 0030FEF4 C2 C5 00 14 */ lfs f22, 0x14(r5) -/* 80312F98 0030FEF8 EC 22 02 72 */ fmuls f1, f2, f9 -/* 80312F9C 0030FEFC C1 45 00 00 */ lfs f10, 0(r5) -/* 80312FA0 0030FF00 C0 84 00 00 */ lfs f4, 0(r4) -/* 80312FA4 0030FF04 EC 02 05 B2 */ fmuls f0, f2, f22 -/* 80312FA8 0030FF08 C1 A5 00 18 */ lfs f13, 0x18(r5) -/* 80312FAC 0030FF0C C1 65 00 04 */ lfs f11, 4(r5) -/* 80312FB0 0030FF10 EC 24 0A BA */ fmadds f1, f4, f10, f1 -/* 80312FB4 0030FF14 C3 E5 00 20 */ lfs f31, 0x20(r5) -/* 80312FB8 0030FF18 C0 64 00 14 */ lfs f3, 0x14(r4) -/* 80312FBC 0030FF1C EC 42 03 72 */ fmuls f2, f2, f13 -/* 80312FC0 0030FF20 C0 A4 00 24 */ lfs f5, 0x24(r4) -/* 80312FC4 0030FF24 EC 04 02 FA */ fmadds f0, f4, f11, f0 -/* 80312FC8 0030FF28 C0 C4 00 08 */ lfs f6, 8(r4) -/* 80312FCC 0030FF2C EF 23 02 72 */ fmuls f25, f3, f9 -/* 80312FD0 0030FF30 C1 85 00 08 */ lfs f12, 8(r5) -/* 80312FD4 0030FF34 EF 43 05 B2 */ fmuls f26, f3, f22 -/* 80312FD8 0030FF38 C1 04 00 10 */ lfs f8, 0x10(r4) -/* 80312FDC 0030FF3C EE E6 0F FA */ fmadds f23, f6, f31, f1 -/* 80312FE0 0030FF40 C3 C5 00 24 */ lfs f30, 0x24(r5) -/* 80312FE4 0030FF44 EE A3 03 72 */ fmuls f21, f3, f13 -/* 80312FE8 0030FF48 C3 A5 00 28 */ lfs f29, 0x28(r5) -/* 80312FEC 0030FF4C EC 24 13 3A */ fmadds f1, f4, f12, f2 -/* 80312FF0 0030FF50 C0 65 00 2C */ lfs f3, 0x2c(r5) -/* 80312FF4 0030FF54 C0 44 00 2C */ lfs f2, 0x2c(r4) -/* 80312FF8 0030FF58 EF 06 07 BA */ fmadds f24, f6, f30, f0 -/* 80312FFC 0030FF5C C0 E4 00 28 */ lfs f7, 0x28(r4) -/* 80313000 0030FF60 EC 86 0F 7A */ fmadds f4, f6, f29, f1 -/* 80313004 0030FF64 C0 C4 00 20 */ lfs f6, 0x20(r4) -/* 80313008 0030FF68 ED 25 02 72 */ fmuls f9, f5, f9 -/* 8031300C 0030FF6C EF 85 05 B2 */ fmuls f28, f5, f22 -/* 80313010 0030FF70 C0 25 00 1C */ lfs f1, 0x1c(r5) -/* 80313014 0030FF74 C0 04 00 1C */ lfs f0, 0x1c(r4) -/* 80313018 0030FF78 EF 66 4A BA */ fmadds f27, f6, f10, f9 -/* 8031301C 0030FF7C C1 24 00 18 */ lfs f9, 0x18(r4) -/* 80313020 0030FF80 EF 28 CA BA */ fmadds f25, f8, f10, f25 -/* 80313024 0030FF84 ED 48 D2 FA */ fmadds f10, f8, f11, f26 -/* 80313028 0030FF88 C2 C5 00 0C */ lfs f22, 0xc(r5) -/* 8031302C 0030FF8C C3 44 00 0C */ lfs f26, 0xc(r4) -/* 80313030 0030FF90 ED 08 AB 3A */ fmadds f8, f8, f12, f21 -/* 80313034 0030FF94 D2 E3 00 00 */ stfs f23, 0(r3) -/* 80313038 0030FF98 ED A5 03 72 */ fmuls f13, f5, f13 -/* 8031303C 0030FF9C EC A6 E2 FA */ fmadds f5, f6, f11, f28 -/* 80313040 0030FFA0 D3 03 00 04 */ stfs f24, 4(r3) -/* 80313044 0030FFA4 EE B6 D0 2A */ fadds f21, f22, f26 -/* 80313048 0030FFA8 ED 66 6B 3A */ fmadds f11, f6, f12, f13 -/* 8031304C 0030FFAC D0 83 00 08 */ stfs f4, 8(r3) -/* 80313050 0030FFB0 EC C9 CF FA */ fmadds f6, f9, f31, f25 -/* 80313054 0030FFB4 EC 89 57 BA */ fmadds f4, f9, f30, f10 -/* 80313058 0030FFB8 D2 A3 00 0C */ stfs f21, 0xc(r3) -/* 8031305C 0030FFBC ED 09 47 7A */ fmadds f8, f9, f29, f8 -/* 80313060 0030FFC0 ED 21 00 2A */ fadds f9, f1, f0 -/* 80313064 0030FFC4 D0 C3 00 10 */ stfs f6, 0x10(r3) -/* 80313068 0030FFC8 EC 27 DF FA */ fmadds f1, f7, f31, f27 -/* 8031306C 0030FFCC EC 07 2F BA */ fmadds f0, f7, f30, f5 -/* 80313070 0030FFD0 D0 83 00 14 */ stfs f4, 0x14(r3) -/* 80313074 0030FFD4 EC 87 5F 7A */ fmadds f4, f7, f29, f11 -/* 80313078 0030FFD8 EC 43 10 2A */ fadds f2, f3, f2 -/* 8031307C 0030FFDC D1 03 00 18 */ stfs f8, 0x18(r3) -/* 80313080 0030FFE0 D1 23 00 1C */ stfs f9, 0x1c(r3) -/* 80313084 0030FFE4 D0 23 00 20 */ stfs f1, 0x20(r3) -/* 80313088 0030FFE8 D0 03 00 24 */ stfs f0, 0x24(r3) -/* 8031308C 0030FFEC D0 83 00 28 */ stfs f4, 0x28(r3) -/* 80313090 0030FFF0 D0 43 00 2C */ stfs f2, 0x2c(r3) -/* 80313094 0030FFF4 E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0 -/* 80313098 0030FFF8 CB E1 00 B0 */ lfd f31, 0xb0(r1) -/* 8031309C 0030FFFC E3 C1 00 A8 */ psq_l f30, 168(r1), 0, qr0 -/* 803130A0 00310000 CB C1 00 A0 */ lfd f30, 0xa0(r1) -/* 803130A4 00310004 E3 A1 00 98 */ psq_l f29, 152(r1), 0, qr0 -/* 803130A8 00310008 CB A1 00 90 */ lfd f29, 0x90(r1) -/* 803130AC 0031000C E3 81 00 88 */ psq_l f28, 136(r1), 0, qr0 -/* 803130B0 00310010 CB 81 00 80 */ lfd f28, 0x80(r1) -/* 803130B4 00310014 E3 61 00 78 */ psq_l f27, 120(r1), 0, qr0 -/* 803130B8 00310018 CB 61 00 70 */ lfd f27, 0x70(r1) -/* 803130BC 0031001C E3 41 00 68 */ psq_l f26, 104(r1), 0, qr0 -/* 803130C0 00310020 CB 41 00 60 */ lfd f26, 0x60(r1) -/* 803130C4 00310024 E3 21 00 58 */ psq_l f25, 88(r1), 0, qr0 -/* 803130C8 00310028 CB 21 00 50 */ lfd f25, 0x50(r1) -/* 803130CC 0031002C E3 01 00 48 */ psq_l f24, 72(r1), 0, qr0 -/* 803130D0 00310030 CB 01 00 40 */ lfd f24, 0x40(r1) -/* 803130D4 00310034 E2 E1 00 38 */ psq_l f23, 56(r1), 0, qr0 -/* 803130D8 00310038 CA E1 00 30 */ lfd f23, 0x30(r1) -/* 803130DC 0031003C E2 C1 00 28 */ psq_l f22, 40(r1), 0, qr0 -/* 803130E0 00310040 CA C1 00 20 */ lfd f22, 0x20(r1) -/* 803130E4 00310044 E2 A1 00 18 */ psq_l f21, 24(r1), 0, qr0 -/* 803130E8 00310048 CA A1 00 10 */ lfd f21, 0x10(r1) -/* 803130EC 0031004C 38 21 00 C0 */ addi r1, r1, 0xc0 -/* 803130F0 00310050 4E 80 00 20 */ blr - -.global BuildMatrix3f__12CTransform4fCFv -BuildMatrix3f__12CTransform4fCFv: -/* 803130F4 00310054 C1 04 00 28 */ lfs f8, 0x28(r4) -/* 803130F8 00310058 C0 E4 00 24 */ lfs f7, 0x24(r4) -/* 803130FC 0031005C C0 C4 00 20 */ lfs f6, 0x20(r4) -/* 80313100 00310060 C0 A4 00 18 */ lfs f5, 0x18(r4) -/* 80313104 00310064 C0 84 00 14 */ lfs f4, 0x14(r4) -/* 80313108 00310068 C0 64 00 10 */ lfs f3, 0x10(r4) -/* 8031310C 0031006C C0 44 00 08 */ lfs f2, 8(r4) -/* 80313110 00310070 C0 24 00 04 */ lfs f1, 4(r4) -/* 80313114 00310074 C0 04 00 00 */ lfs f0, 0(r4) -/* 80313118 00310078 D0 03 00 00 */ stfs f0, 0(r3) -/* 8031311C 0031007C D0 23 00 04 */ stfs f1, 4(r3) -/* 80313120 00310080 D0 43 00 08 */ stfs f2, 8(r3) -/* 80313124 00310084 D0 63 00 0C */ stfs f3, 0xc(r3) -/* 80313128 00310088 D0 83 00 10 */ stfs f4, 0x10(r3) -/* 8031312C 0031008C D0 A3 00 14 */ stfs f5, 0x14(r3) -/* 80313130 00310090 D0 C3 00 18 */ stfs f6, 0x18(r3) -/* 80313134 00310094 D0 E3 00 1C */ stfs f7, 0x1c(r3) -/* 80313138 00310098 D1 03 00 20 */ stfs f8, 0x20(r3) -/* 8031313C 0031009C 4E 80 00 20 */ blr - -.global Translate__12CTransform4fFRC9CVector3f -Translate__12CTransform4fFRC9CVector3f: -/* 80313140 003100A0 C0 44 00 08 */ lfs f2, 8(r4) -/* 80313144 003100A4 C0 64 00 04 */ lfs f3, 4(r4) -/* 80313148 003100A8 C0 84 00 00 */ lfs f4, 0(r4) -/* 8031314C 003100AC C0 22 C8 D0 */ lfs f1, lbl_805AE5F0@sda21(r2) -/* 80313150 003100B0 C0 02 C8 D4 */ lfs f0, lbl_805AE5F4@sda21(r2) -/* 80313154 003100B4 D0 23 00 00 */ stfs f1, 0(r3) -/* 80313158 003100B8 D0 03 00 04 */ stfs f0, 4(r3) -/* 8031315C 003100BC D0 03 00 08 */ stfs f0, 8(r3) -/* 80313160 003100C0 D0 83 00 0C */ stfs f4, 0xc(r3) -/* 80313164 003100C4 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 80313168 003100C8 D0 23 00 14 */ stfs f1, 0x14(r3) -/* 8031316C 003100CC D0 03 00 18 */ stfs f0, 0x18(r3) -/* 80313170 003100D0 D0 63 00 1C */ stfs f3, 0x1c(r3) -/* 80313174 003100D4 D0 03 00 20 */ stfs f0, 0x20(r3) -/* 80313178 003100D8 D0 03 00 24 */ stfs f0, 0x24(r3) -/* 8031317C 003100DC D0 23 00 28 */ stfs f1, 0x28(r3) -/* 80313180 003100E0 D0 43 00 2C */ stfs f2, 0x2c(r3) -/* 80313184 003100E4 4E 80 00 20 */ blr - -.global Translate__12CTransform4fFfff -Translate__12CTransform4fFfff: -/* 80313188 003100E8 C0 82 C8 D0 */ lfs f4, lbl_805AE5F0@sda21(r2) -/* 8031318C 003100EC C0 02 C8 D4 */ lfs f0, lbl_805AE5F4@sda21(r2) -/* 80313190 003100F0 D0 83 00 00 */ stfs f4, 0(r3) -/* 80313194 003100F4 D0 03 00 04 */ stfs f0, 4(r3) -/* 80313198 003100F8 D0 03 00 08 */ stfs f0, 8(r3) -/* 8031319C 003100FC D0 23 00 0C */ stfs f1, 0xc(r3) -/* 803131A0 00310100 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 803131A4 00310104 D0 83 00 14 */ stfs f4, 0x14(r3) -/* 803131A8 00310108 D0 03 00 18 */ stfs f0, 0x18(r3) -/* 803131AC 0031010C D0 43 00 1C */ stfs f2, 0x1c(r3) -/* 803131B0 00310110 D0 03 00 20 */ stfs f0, 0x20(r3) -/* 803131B4 00310114 D0 03 00 24 */ stfs f0, 0x24(r3) -/* 803131B8 00310118 D0 83 00 28 */ stfs f4, 0x28(r3) -/* 803131BC 0031011C D0 63 00 2C */ stfs f3, 0x2c(r3) -/* 803131C0 00310120 4E 80 00 20 */ blr - -.global Scale__12CTransform4fFRC9CVector3f -Scale__12CTransform4fFRC9CVector3f: -/* 803131C4 00310124 C0 44 00 08 */ lfs f2, 8(r4) -/* 803131C8 00310128 C0 64 00 04 */ lfs f3, 4(r4) -/* 803131CC 0031012C C0 24 00 00 */ lfs f1, 0(r4) -/* 803131D0 00310130 C0 02 C8 D4 */ lfs f0, lbl_805AE5F4@sda21(r2) -/* 803131D4 00310134 D0 23 00 00 */ stfs f1, 0(r3) -/* 803131D8 00310138 D0 03 00 04 */ stfs f0, 4(r3) -/* 803131DC 0031013C D0 03 00 08 */ stfs f0, 8(r3) -/* 803131E0 00310140 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 803131E4 00310144 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 803131E8 00310148 D0 63 00 14 */ stfs f3, 0x14(r3) -/* 803131EC 0031014C D0 03 00 18 */ stfs f0, 0x18(r3) -/* 803131F0 00310150 D0 03 00 1C */ stfs f0, 0x1c(r3) -/* 803131F4 00310154 D0 03 00 20 */ stfs f0, 0x20(r3) -/* 803131F8 00310158 D0 03 00 24 */ stfs f0, 0x24(r3) -/* 803131FC 0031015C D0 43 00 28 */ stfs f2, 0x28(r3) -/* 80313200 00310160 D0 03 00 2C */ stfs f0, 0x2c(r3) -/* 80313204 00310164 4E 80 00 20 */ blr - -.global Scale__12CTransform4fFfff -Scale__12CTransform4fFfff: -/* 80313208 00310168 D0 23 00 00 */ stfs f1, 0(r3) -/* 8031320C 0031016C C0 02 C8 D4 */ lfs f0, lbl_805AE5F4@sda21(r2) -/* 80313210 00310170 D0 03 00 04 */ stfs f0, 4(r3) -/* 80313214 00310174 D0 03 00 08 */ stfs f0, 8(r3) -/* 80313218 00310178 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 8031321C 0031017C D0 03 00 10 */ stfs f0, 0x10(r3) -/* 80313220 00310180 D0 43 00 14 */ stfs f2, 0x14(r3) -/* 80313224 00310184 D0 03 00 18 */ stfs f0, 0x18(r3) -/* 80313228 00310188 D0 03 00 1C */ stfs f0, 0x1c(r3) -/* 8031322C 0031018C D0 03 00 20 */ stfs f0, 0x20(r3) -/* 80313230 00310190 D0 03 00 24 */ stfs f0, 0x24(r3) -/* 80313234 00310194 D0 63 00 28 */ stfs f3, 0x28(r3) -/* 80313238 00310198 D0 03 00 2C */ stfs f0, 0x2c(r3) -/* 8031323C 0031019C 4E 80 00 20 */ blr - -.global Scale__12CTransform4fFf -Scale__12CTransform4fFf: -/* 80313240 003101A0 D0 23 00 00 */ stfs f1, 0(r3) -/* 80313244 003101A4 C0 02 C8 D4 */ lfs f0, lbl_805AE5F4@sda21(r2) -/* 80313248 003101A8 D0 03 00 04 */ stfs f0, 4(r3) -/* 8031324C 003101AC D0 03 00 08 */ stfs f0, 8(r3) -/* 80313250 003101B0 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 80313254 003101B4 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 80313258 003101B8 D0 23 00 14 */ stfs f1, 0x14(r3) -/* 8031325C 003101BC D0 03 00 18 */ stfs f0, 0x18(r3) -/* 80313260 003101C0 D0 03 00 1C */ stfs f0, 0x1c(r3) -/* 80313264 003101C4 D0 03 00 20 */ stfs f0, 0x20(r3) -/* 80313268 003101C8 D0 03 00 24 */ stfs f0, 0x24(r3) -/* 8031326C 003101CC D0 23 00 28 */ stfs f1, 0x28(r3) -/* 80313270 003101D0 D0 03 00 2C */ stfs f0, 0x2c(r3) -/* 80313274 003101D4 4E 80 00 20 */ blr - -.global __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f -__ct__12CTransform4fFRC9CMatrix3fRC9CVector3f: -/* 80313278 003101D8 C0 04 00 00 */ lfs f0, 0(r4) -/* 8031327C 003101DC D0 03 00 00 */ stfs f0, 0(r3) -/* 80313280 003101E0 C0 04 00 04 */ lfs f0, 4(r4) -/* 80313284 003101E4 D0 03 00 04 */ stfs f0, 4(r3) -/* 80313288 003101E8 C0 04 00 08 */ lfs f0, 8(r4) -/* 8031328C 003101EC D0 03 00 08 */ stfs f0, 8(r3) -/* 80313290 003101F0 C0 05 00 00 */ lfs f0, 0(r5) -/* 80313294 003101F4 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 80313298 003101F8 C0 04 00 0C */ lfs f0, 0xc(r4) -/* 8031329C 003101FC D0 03 00 10 */ stfs f0, 0x10(r3) -/* 803132A0 00310200 C0 04 00 10 */ lfs f0, 0x10(r4) -/* 803132A4 00310204 D0 03 00 14 */ stfs f0, 0x14(r3) -/* 803132A8 00310208 C0 04 00 14 */ lfs f0, 0x14(r4) -/* 803132AC 0031020C D0 03 00 18 */ stfs f0, 0x18(r3) -/* 803132B0 00310210 C0 05 00 04 */ lfs f0, 4(r5) -/* 803132B4 00310214 D0 03 00 1C */ stfs f0, 0x1c(r3) -/* 803132B8 00310218 C0 04 00 18 */ lfs f0, 0x18(r4) -/* 803132BC 0031021C D0 03 00 20 */ stfs f0, 0x20(r3) -/* 803132C0 00310220 C0 04 00 1C */ lfs f0, 0x1c(r4) -/* 803132C4 00310224 D0 03 00 24 */ stfs f0, 0x24(r3) -/* 803132C8 00310228 C0 04 00 20 */ lfs f0, 0x20(r4) -/* 803132CC 0031022C D0 03 00 28 */ stfs f0, 0x28(r3) -/* 803132D0 00310230 C0 05 00 08 */ lfs f0, 8(r5) -/* 803132D4 00310234 D0 03 00 2C */ stfs f0, 0x2c(r3) -/* 803132D8 00310238 4E 80 00 20 */ blr - -.global __ct__12CTransform4fFR12CInputStream -__ct__12CTransform4fFR12CInputStream: -/* 803132DC 0031023C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803132E0 00310240 7C 08 02 A6 */ mflr r0 -/* 803132E4 00310244 90 01 00 14 */ stw r0, 0x14(r1) -/* 803132E8 00310248 93 E1 00 0C */ stw r31, 0xc(r1) -/* 803132EC 0031024C 7C 9F 23 78 */ mr r31, r4 -/* 803132F0 00310250 93 C1 00 08 */ stw r30, 8(r1) -/* 803132F4 00310254 7C 7E 1B 78 */ mr r30, r3 -/* 803132F8 00310258 7F E3 FB 78 */ mr r3, r31 -/* 803132FC 0031025C 48 02 B9 2D */ bl ReadFloat__12CInputStreamFv -/* 80313300 00310260 D0 3E 00 00 */ stfs f1, 0(r30) -/* 80313304 00310264 7F E3 FB 78 */ mr r3, r31 -/* 80313308 00310268 48 02 B9 21 */ bl ReadFloat__12CInputStreamFv -/* 8031330C 0031026C D0 3E 00 04 */ stfs f1, 4(r30) -/* 80313310 00310270 7F E3 FB 78 */ mr r3, r31 -/* 80313314 00310274 48 02 B9 15 */ bl ReadFloat__12CInputStreamFv -/* 80313318 00310278 D0 3E 00 08 */ stfs f1, 8(r30) -/* 8031331C 0031027C 7F E3 FB 78 */ mr r3, r31 -/* 80313320 00310280 48 02 B9 09 */ bl ReadFloat__12CInputStreamFv -/* 80313324 00310284 D0 3E 00 0C */ stfs f1, 0xc(r30) -/* 80313328 00310288 7F E3 FB 78 */ mr r3, r31 -/* 8031332C 0031028C 48 02 B8 FD */ bl ReadFloat__12CInputStreamFv -/* 80313330 00310290 D0 3E 00 10 */ stfs f1, 0x10(r30) -/* 80313334 00310294 7F E3 FB 78 */ mr r3, r31 -/* 80313338 00310298 48 02 B8 F1 */ bl ReadFloat__12CInputStreamFv -/* 8031333C 0031029C D0 3E 00 14 */ stfs f1, 0x14(r30) -/* 80313340 003102A0 7F E3 FB 78 */ mr r3, r31 -/* 80313344 003102A4 48 02 B8 E5 */ bl ReadFloat__12CInputStreamFv -/* 80313348 003102A8 D0 3E 00 18 */ stfs f1, 0x18(r30) -/* 8031334C 003102AC 7F E3 FB 78 */ mr r3, r31 -/* 80313350 003102B0 48 02 B8 D9 */ bl ReadFloat__12CInputStreamFv -/* 80313354 003102B4 D0 3E 00 1C */ stfs f1, 0x1c(r30) -/* 80313358 003102B8 7F E3 FB 78 */ mr r3, r31 -/* 8031335C 003102BC 48 02 B8 CD */ bl ReadFloat__12CInputStreamFv -/* 80313360 003102C0 D0 3E 00 20 */ stfs f1, 0x20(r30) -/* 80313364 003102C4 7F E3 FB 78 */ mr r3, r31 -/* 80313368 003102C8 48 02 B8 C1 */ bl ReadFloat__12CInputStreamFv -/* 8031336C 003102CC D0 3E 00 24 */ stfs f1, 0x24(r30) -/* 80313370 003102D0 7F E3 FB 78 */ mr r3, r31 -/* 80313374 003102D4 48 02 B8 B5 */ bl ReadFloat__12CInputStreamFv -/* 80313378 003102D8 D0 3E 00 28 */ stfs f1, 0x28(r30) -/* 8031337C 003102DC 7F E3 FB 78 */ mr r3, r31 -/* 80313380 003102E0 48 02 B8 A9 */ bl ReadFloat__12CInputStreamFv -/* 80313384 003102E4 D0 3E 00 2C */ stfs f1, 0x2c(r30) -/* 80313388 003102E8 7F C3 F3 78 */ mr r3, r30 -/* 8031338C 003102EC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80313390 003102F0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80313394 003102F4 83 C1 00 08 */ lwz r30, 8(r1) -/* 80313398 003102F8 7C 08 03 A6 */ mtlr r0 -/* 8031339C 003102FC 38 21 00 10 */ addi r1, r1, 0x10 -/* 803133A0 00310300 4E 80 00 20 */ blr - -.global Orthonormalize__12CTransform4fFv -Orthonormalize__12CTransform4fFv: -/* 803133A4 00310304 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 803133A8 00310308 7C 08 02 A6 */ mflr r0 -/* 803133AC 0031030C 90 01 00 84 */ stw r0, 0x84(r1) -/* 803133B0 00310310 DB E1 00 70 */ stfd f31, 0x70(r1) -/* 803133B4 00310314 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 -/* 803133B8 00310318 DB C1 00 60 */ stfd f30, 0x60(r1) -/* 803133BC 0031031C F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 -/* 803133C0 00310320 DB A1 00 50 */ stfd f29, 0x50(r1) -/* 803133C4 00310324 F3 A1 00 58 */ psq_st f29, 88(r1), 0, qr0 -/* 803133C8 00310328 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 803133CC 0031032C 7C 7F 1B 78 */ mr r31, r3 -/* 803133D0 00310330 38 61 00 2C */ addi r3, r1, 0x2c -/* 803133D4 00310334 C0 5F 00 20 */ lfs f2, 0x20(r31) -/* 803133D8 00310338 38 81 00 20 */ addi r4, r1, 0x20 -/* 803133DC 0031033C C0 3F 00 10 */ lfs f1, 0x10(r31) -/* 803133E0 00310340 C0 1F 00 00 */ lfs f0, 0(r31) -/* 803133E4 00310344 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 803133E8 00310348 D0 21 00 24 */ stfs f1, 0x24(r1) -/* 803133EC 0031034C D0 41 00 28 */ stfs f2, 0x28(r1) -/* 803133F0 00310350 48 00 14 61 */ bl AsNormalized__9CVector3fCFv -/* 803133F4 00310354 C0 BF 00 24 */ lfs f5, 0x24(r31) -/* 803133F8 00310358 38 61 00 08 */ addi r3, r1, 8 -/* 803133FC 0031035C C3 A1 00 2C */ lfs f29, 0x2c(r1) -/* 80313400 00310360 38 81 00 38 */ addi r4, r1, 0x38 -/* 80313404 00310364 C0 9F 00 14 */ lfs f4, 0x14(r31) -/* 80313408 00310368 C3 C1 00 34 */ lfs f30, 0x34(r1) -/* 8031340C 0031036C EC 05 07 72 */ fmuls f0, f5, f29 -/* 80313410 00310370 C0 7F 00 04 */ lfs f3, 4(r31) -/* 80313414 00310374 C3 E1 00 30 */ lfs f31, 0x30(r1) -/* 80313418 00310378 EC 44 07 B2 */ fmuls f2, f4, f30 -/* 8031341C 0031037C EC 3E 00 F8 */ fmsubs f1, f30, f3, f0 -/* 80313420 00310380 D0 61 00 14 */ stfs f3, 0x14(r1) -/* 80313424 00310384 EC 03 07 F2 */ fmuls f0, f3, f31 -/* 80313428 00310388 EC 5F 11 78 */ fmsubs f2, f31, f5, f2 -/* 8031342C 0031038C D0 81 00 18 */ stfs f4, 0x18(r1) -/* 80313430 00310390 EC 1D 01 38 */ fmsubs f0, f29, f4, f0 -/* 80313434 00310394 D0 A1 00 1C */ stfs f5, 0x1c(r1) -/* 80313438 00310398 D0 41 00 38 */ stfs f2, 0x38(r1) -/* 8031343C 0031039C D0 21 00 3C */ stfs f1, 0x3c(r1) -/* 80313440 003103A0 D0 01 00 40 */ stfs f0, 0x40(r1) -/* 80313444 003103A4 48 00 14 0D */ bl AsNormalized__9CVector3fCFv -/* 80313448 003103A8 C0 A1 00 08 */ lfs f5, 8(r1) -/* 8031344C 003103AC C0 61 00 0C */ lfs f3, 0xc(r1) -/* 80313450 003103B0 C0 81 00 10 */ lfs f4, 0x10(r1) -/* 80313454 003103B4 EC 3E 01 72 */ fmuls f1, f30, f5 -/* 80313458 003103B8 EC 1D 00 F2 */ fmuls f0, f29, f3 -/* 8031345C 003103BC D3 BF 00 00 */ stfs f29, 0(r31) -/* 80313460 003103C0 EC 5F 01 32 */ fmuls f2, f31, f4 -/* 80313464 003103C4 EC 24 0F 78 */ fmsubs f1, f4, f29, f1 -/* 80313468 003103C8 D3 FF 00 10 */ stfs f31, 0x10(r31) -/* 8031346C 003103CC EC 05 07 F8 */ fmsubs f0, f5, f31, f0 -/* 80313470 003103D0 EC 43 17 B8 */ fmsubs f2, f3, f30, f2 -/* 80313474 003103D4 D3 DF 00 20 */ stfs f30, 0x20(r31) -/* 80313478 003103D8 D0 5F 00 04 */ stfs f2, 4(r31) -/* 8031347C 003103DC D0 3F 00 14 */ stfs f1, 0x14(r31) -/* 80313480 003103E0 D0 1F 00 24 */ stfs f0, 0x24(r31) -/* 80313484 003103E4 D0 BF 00 08 */ stfs f5, 8(r31) -/* 80313488 003103E8 D0 7F 00 18 */ stfs f3, 0x18(r31) -/* 8031348C 003103EC D0 9F 00 28 */ stfs f4, 0x28(r31) -/* 80313490 003103F0 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 -/* 80313494 003103F4 CB E1 00 70 */ lfd f31, 0x70(r1) -/* 80313498 003103F8 E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 -/* 8031349C 003103FC CB C1 00 60 */ lfd f30, 0x60(r1) -/* 803134A0 00310400 E3 A1 00 58 */ psq_l f29, 88(r1), 0, qr0 -/* 803134A4 00310404 CB A1 00 50 */ lfd f29, 0x50(r1) -/* 803134A8 00310408 80 01 00 84 */ lwz r0, 0x84(r1) -/* 803134AC 0031040C 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 803134B0 00310410 7C 08 03 A6 */ mtlr r0 -/* 803134B4 00310414 38 21 00 80 */ addi r1, r1, 0x80 -/* 803134B8 00310418 4E 80 00 20 */ blr - -.global RotateLocalZ__12CTransform4fFRC9CRelAngle -RotateLocalZ__12CTransform4fFRC9CRelAngle: -/* 803134BC 0031041C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 803134C0 00310420 7C 08 02 A6 */ mflr r0 -/* 803134C4 00310424 90 01 00 24 */ stw r0, 0x24(r1) -/* 803134C8 00310428 DB E1 00 10 */ stfd f31, 0x10(r1) -/* 803134CC 0031042C F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 -/* 803134D0 00310430 93 E1 00 0C */ stw r31, 0xc(r1) -/* 803134D4 00310434 93 C1 00 08 */ stw r30, 8(r1) -/* 803134D8 00310438 7C 9F 23 78 */ mr r31, r4 -/* 803134DC 0031043C 7C 7E 1B 78 */ mr r30, r3 -/* 803134E0 00310440 C0 24 00 00 */ lfs f1, 0(r4) -/* 803134E4 00310444 48 08 15 F9 */ bl sin -/* 803134E8 00310448 FF E0 08 18 */ frsp f31, f1 -/* 803134EC 0031044C C0 3F 00 00 */ lfs f1, 0(r31) -/* 803134F0 00310450 48 08 0F 01 */ bl cos -/* 803134F4 00310454 FC 20 08 18 */ frsp f1, f1 -/* 803134F8 00310458 C0 1E 00 00 */ lfs f0, 0(r30) -/* 803134FC 0031045C C0 5E 00 00 */ lfs f2, 0(r30) -/* 80313500 00310460 C0 7E 00 10 */ lfs f3, 0x10(r30) -/* 80313504 00310464 EC 00 00 72 */ fmuls f0, f0, f1 -/* 80313508 00310468 C0 9E 00 20 */ lfs f4, 0x20(r30) -/* 8031350C 0031046C C0 BE 00 04 */ lfs f5, 4(r30) -/* 80313510 00310470 EC 42 07 F2 */ fmuls f2, f2, f31 -/* 80313514 00310474 C0 DE 00 14 */ lfs f6, 0x14(r30) -/* 80313518 00310478 EC 63 07 F2 */ fmuls f3, f3, f31 -/* 8031351C 0031047C C0 FE 00 24 */ lfs f7, 0x24(r30) -/* 80313520 00310480 EC A5 07 F2 */ fmuls f5, f5, f31 -/* 80313524 00310484 EC C6 07 F2 */ fmuls f6, f6, f31 -/* 80313528 00310488 D0 1E 00 00 */ stfs f0, 0(r30) -/* 8031352C 0031048C EC E7 07 F2 */ fmuls f7, f7, f31 -/* 80313530 00310490 EC 84 07 F2 */ fmuls f4, f4, f31 -/* 80313534 00310494 C0 1E 00 10 */ lfs f0, 0x10(r30) -/* 80313538 00310498 EC 00 00 72 */ fmuls f0, f0, f1 -/* 8031353C 0031049C D0 1E 00 10 */ stfs f0, 0x10(r30) -/* 80313540 003104A0 C0 1E 00 20 */ lfs f0, 0x20(r30) -/* 80313544 003104A4 EC 00 00 72 */ fmuls f0, f0, f1 -/* 80313548 003104A8 D0 1E 00 20 */ stfs f0, 0x20(r30) -/* 8031354C 003104AC C0 1E 00 04 */ lfs f0, 4(r30) -/* 80313550 003104B0 EC 00 00 72 */ fmuls f0, f0, f1 -/* 80313554 003104B4 D0 1E 00 04 */ stfs f0, 4(r30) -/* 80313558 003104B8 C0 1E 00 14 */ lfs f0, 0x14(r30) -/* 8031355C 003104BC EC 00 00 72 */ fmuls f0, f0, f1 -/* 80313560 003104C0 D0 1E 00 14 */ stfs f0, 0x14(r30) -/* 80313564 003104C4 C0 1E 00 24 */ lfs f0, 0x24(r30) -/* 80313568 003104C8 EC 00 00 72 */ fmuls f0, f0, f1 -/* 8031356C 003104CC D0 1E 00 24 */ stfs f0, 0x24(r30) -/* 80313570 003104D0 C0 1E 00 00 */ lfs f0, 0(r30) -/* 80313574 003104D4 EC 00 28 2A */ fadds f0, f0, f5 -/* 80313578 003104D8 D0 1E 00 00 */ stfs f0, 0(r30) -/* 8031357C 003104DC C0 1E 00 10 */ lfs f0, 0x10(r30) -/* 80313580 003104E0 EC 00 30 2A */ fadds f0, f0, f6 -/* 80313584 003104E4 D0 1E 00 10 */ stfs f0, 0x10(r30) -/* 80313588 003104E8 C0 1E 00 20 */ lfs f0, 0x20(r30) -/* 8031358C 003104EC EC 00 38 2A */ fadds f0, f0, f7 -/* 80313590 003104F0 D0 1E 00 20 */ stfs f0, 0x20(r30) -/* 80313594 003104F4 C0 1E 00 04 */ lfs f0, 4(r30) -/* 80313598 003104F8 EC 00 10 28 */ fsubs f0, f0, f2 -/* 8031359C 003104FC D0 1E 00 04 */ stfs f0, 4(r30) -/* 803135A0 00310500 C0 1E 00 14 */ lfs f0, 0x14(r30) -/* 803135A4 00310504 EC 00 18 28 */ fsubs f0, f0, f3 -/* 803135A8 00310508 D0 1E 00 14 */ stfs f0, 0x14(r30) -/* 803135AC 0031050C C0 1E 00 24 */ lfs f0, 0x24(r30) -/* 803135B0 00310510 EC 00 20 28 */ fsubs f0, f0, f4 -/* 803135B4 00310514 D0 1E 00 24 */ stfs f0, 0x24(r30) -/* 803135B8 00310518 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 -/* 803135BC 0031051C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 803135C0 00310520 CB E1 00 10 */ lfd f31, 0x10(r1) -/* 803135C4 00310524 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 803135C8 00310528 83 C1 00 08 */ lwz r30, 8(r1) -/* 803135CC 0031052C 7C 08 03 A6 */ mtlr r0 -/* 803135D0 00310530 38 21 00 20 */ addi r1, r1, 0x20 -/* 803135D4 00310534 4E 80 00 20 */ blr - -.global RotateLocalY__12CTransform4fFRC9CRelAngle -RotateLocalY__12CTransform4fFRC9CRelAngle: -/* 803135D8 00310538 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 803135DC 0031053C 7C 08 02 A6 */ mflr r0 -/* 803135E0 00310540 90 01 00 24 */ stw r0, 0x24(r1) -/* 803135E4 00310544 DB E1 00 10 */ stfd f31, 0x10(r1) -/* 803135E8 00310548 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 -/* 803135EC 0031054C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 803135F0 00310550 93 C1 00 08 */ stw r30, 8(r1) -/* 803135F4 00310554 7C 9F 23 78 */ mr r31, r4 -/* 803135F8 00310558 7C 7E 1B 78 */ mr r30, r3 -/* 803135FC 0031055C C0 24 00 00 */ lfs f1, 0(r4) -/* 80313600 00310560 48 08 14 DD */ bl sin -/* 80313604 00310564 FF E0 08 18 */ frsp f31, f1 -/* 80313608 00310568 C0 3F 00 00 */ lfs f1, 0(r31) -/* 8031360C 0031056C 48 08 0D E5 */ bl cos -/* 80313610 00310570 FC 20 08 18 */ frsp f1, f1 -/* 80313614 00310574 C0 1E 00 00 */ lfs f0, 0(r30) -/* 80313618 00310578 C0 5E 00 00 */ lfs f2, 0(r30) -/* 8031361C 0031057C C0 7E 00 10 */ lfs f3, 0x10(r30) -/* 80313620 00310580 EC 00 00 72 */ fmuls f0, f0, f1 -/* 80313624 00310584 C0 9E 00 20 */ lfs f4, 0x20(r30) -/* 80313628 00310588 C0 BE 00 08 */ lfs f5, 8(r30) -/* 8031362C 0031058C EC 42 07 F2 */ fmuls f2, f2, f31 -/* 80313630 00310590 C0 DE 00 18 */ lfs f6, 0x18(r30) -/* 80313634 00310594 EC 63 07 F2 */ fmuls f3, f3, f31 -/* 80313638 00310598 C0 FE 00 28 */ lfs f7, 0x28(r30) -/* 8031363C 0031059C EC A5 07 F2 */ fmuls f5, f5, f31 -/* 80313640 003105A0 EC C6 07 F2 */ fmuls f6, f6, f31 -/* 80313644 003105A4 D0 1E 00 00 */ stfs f0, 0(r30) -/* 80313648 003105A8 EC E7 07 F2 */ fmuls f7, f7, f31 -/* 8031364C 003105AC EC 84 07 F2 */ fmuls f4, f4, f31 -/* 80313650 003105B0 C0 1E 00 10 */ lfs f0, 0x10(r30) -/* 80313654 003105B4 EC 00 00 72 */ fmuls f0, f0, f1 -/* 80313658 003105B8 D0 1E 00 10 */ stfs f0, 0x10(r30) -/* 8031365C 003105BC C0 1E 00 20 */ lfs f0, 0x20(r30) -/* 80313660 003105C0 EC 00 00 72 */ fmuls f0, f0, f1 -/* 80313664 003105C4 D0 1E 00 20 */ stfs f0, 0x20(r30) -/* 80313668 003105C8 C0 1E 00 08 */ lfs f0, 8(r30) -/* 8031366C 003105CC EC 00 00 72 */ fmuls f0, f0, f1 -/* 80313670 003105D0 D0 1E 00 08 */ stfs f0, 8(r30) -/* 80313674 003105D4 C0 1E 00 18 */ lfs f0, 0x18(r30) -/* 80313678 003105D8 EC 00 00 72 */ fmuls f0, f0, f1 -/* 8031367C 003105DC D0 1E 00 18 */ stfs f0, 0x18(r30) -/* 80313680 003105E0 C0 1E 00 28 */ lfs f0, 0x28(r30) -/* 80313684 003105E4 EC 00 00 72 */ fmuls f0, f0, f1 -/* 80313688 003105E8 D0 1E 00 28 */ stfs f0, 0x28(r30) -/* 8031368C 003105EC C0 1E 00 00 */ lfs f0, 0(r30) -/* 80313690 003105F0 EC 00 28 28 */ fsubs f0, f0, f5 -/* 80313694 003105F4 D0 1E 00 00 */ stfs f0, 0(r30) -/* 80313698 003105F8 C0 1E 00 10 */ lfs f0, 0x10(r30) -/* 8031369C 003105FC EC 00 30 28 */ fsubs f0, f0, f6 -/* 803136A0 00310600 D0 1E 00 10 */ stfs f0, 0x10(r30) -/* 803136A4 00310604 C0 1E 00 20 */ lfs f0, 0x20(r30) -/* 803136A8 00310608 EC 00 38 28 */ fsubs f0, f0, f7 -/* 803136AC 0031060C D0 1E 00 20 */ stfs f0, 0x20(r30) -/* 803136B0 00310610 C0 1E 00 08 */ lfs f0, 8(r30) -/* 803136B4 00310614 EC 00 10 2A */ fadds f0, f0, f2 -/* 803136B8 00310618 D0 1E 00 08 */ stfs f0, 8(r30) -/* 803136BC 0031061C C0 1E 00 18 */ lfs f0, 0x18(r30) -/* 803136C0 00310620 EC 00 18 2A */ fadds f0, f0, f3 -/* 803136C4 00310624 D0 1E 00 18 */ stfs f0, 0x18(r30) -/* 803136C8 00310628 C0 1E 00 28 */ lfs f0, 0x28(r30) -/* 803136CC 0031062C EC 00 20 2A */ fadds f0, f0, f4 -/* 803136D0 00310630 D0 1E 00 28 */ stfs f0, 0x28(r30) -/* 803136D4 00310634 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 -/* 803136D8 00310638 80 01 00 24 */ lwz r0, 0x24(r1) -/* 803136DC 0031063C CB E1 00 10 */ lfd f31, 0x10(r1) -/* 803136E0 00310640 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 803136E4 00310644 83 C1 00 08 */ lwz r30, 8(r1) -/* 803136E8 00310648 7C 08 03 A6 */ mtlr r0 -/* 803136EC 0031064C 38 21 00 20 */ addi r1, r1, 0x20 -/* 803136F0 00310650 4E 80 00 20 */ blr - -.global RotateLocalX__12CTransform4fFRC9CRelAngle -RotateLocalX__12CTransform4fFRC9CRelAngle: -/* 803136F4 00310654 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 803136F8 00310658 7C 08 02 A6 */ mflr r0 -/* 803136FC 0031065C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80313700 00310660 DB E1 00 10 */ stfd f31, 0x10(r1) -/* 80313704 00310664 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 -/* 80313708 00310668 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8031370C 0031066C 93 C1 00 08 */ stw r30, 8(r1) -/* 80313710 00310670 7C 9F 23 78 */ mr r31, r4 -/* 80313714 00310674 7C 7E 1B 78 */ mr r30, r3 -/* 80313718 00310678 C0 24 00 00 */ lfs f1, 0(r4) -/* 8031371C 0031067C 48 08 13 C1 */ bl sin -/* 80313720 00310680 FF E0 08 18 */ frsp f31, f1 -/* 80313724 00310684 C0 3F 00 00 */ lfs f1, 0(r31) -/* 80313728 00310688 48 08 0C C9 */ bl cos -/* 8031372C 0031068C FC 20 08 18 */ frsp f1, f1 -/* 80313730 00310690 C0 1E 00 04 */ lfs f0, 4(r30) -/* 80313734 00310694 C0 5E 00 04 */ lfs f2, 4(r30) -/* 80313738 00310698 C0 7E 00 14 */ lfs f3, 0x14(r30) -/* 8031373C 0031069C EC 00 00 72 */ fmuls f0, f0, f1 -/* 80313740 003106A0 C0 9E 00 24 */ lfs f4, 0x24(r30) -/* 80313744 003106A4 C0 BE 00 08 */ lfs f5, 8(r30) -/* 80313748 003106A8 EC 42 07 F2 */ fmuls f2, f2, f31 -/* 8031374C 003106AC C0 DE 00 18 */ lfs f6, 0x18(r30) -/* 80313750 003106B0 EC 63 07 F2 */ fmuls f3, f3, f31 -/* 80313754 003106B4 C0 FE 00 28 */ lfs f7, 0x28(r30) -/* 80313758 003106B8 EC A5 07 F2 */ fmuls f5, f5, f31 -/* 8031375C 003106BC EC C6 07 F2 */ fmuls f6, f6, f31 -/* 80313760 003106C0 D0 1E 00 04 */ stfs f0, 4(r30) -/* 80313764 003106C4 EC E7 07 F2 */ fmuls f7, f7, f31 -/* 80313768 003106C8 EC 84 07 F2 */ fmuls f4, f4, f31 -/* 8031376C 003106CC C0 1E 00 14 */ lfs f0, 0x14(r30) -/* 80313770 003106D0 EC 00 00 72 */ fmuls f0, f0, f1 -/* 80313774 003106D4 D0 1E 00 14 */ stfs f0, 0x14(r30) -/* 80313778 003106D8 C0 1E 00 24 */ lfs f0, 0x24(r30) -/* 8031377C 003106DC EC 00 00 72 */ fmuls f0, f0, f1 -/* 80313780 003106E0 D0 1E 00 24 */ stfs f0, 0x24(r30) -/* 80313784 003106E4 C0 1E 00 08 */ lfs f0, 8(r30) -/* 80313788 003106E8 EC 00 00 72 */ fmuls f0, f0, f1 -/* 8031378C 003106EC D0 1E 00 08 */ stfs f0, 8(r30) -/* 80313790 003106F0 C0 1E 00 18 */ lfs f0, 0x18(r30) -/* 80313794 003106F4 EC 00 00 72 */ fmuls f0, f0, f1 -/* 80313798 003106F8 D0 1E 00 18 */ stfs f0, 0x18(r30) -/* 8031379C 003106FC C0 1E 00 28 */ lfs f0, 0x28(r30) -/* 803137A0 00310700 EC 00 00 72 */ fmuls f0, f0, f1 -/* 803137A4 00310704 D0 1E 00 28 */ stfs f0, 0x28(r30) -/* 803137A8 00310708 C0 1E 00 04 */ lfs f0, 4(r30) -/* 803137AC 0031070C EC 00 28 2A */ fadds f0, f0, f5 -/* 803137B0 00310710 D0 1E 00 04 */ stfs f0, 4(r30) -/* 803137B4 00310714 C0 1E 00 14 */ lfs f0, 0x14(r30) -/* 803137B8 00310718 EC 00 30 2A */ fadds f0, f0, f6 -/* 803137BC 0031071C D0 1E 00 14 */ stfs f0, 0x14(r30) -/* 803137C0 00310720 C0 1E 00 24 */ lfs f0, 0x24(r30) -/* 803137C4 00310724 EC 00 38 2A */ fadds f0, f0, f7 -/* 803137C8 00310728 D0 1E 00 24 */ stfs f0, 0x24(r30) -/* 803137CC 0031072C C0 1E 00 08 */ lfs f0, 8(r30) -/* 803137D0 00310730 EC 00 10 28 */ fsubs f0, f0, f2 -/* 803137D4 00310734 D0 1E 00 08 */ stfs f0, 8(r30) -/* 803137D8 00310738 C0 1E 00 18 */ lfs f0, 0x18(r30) -/* 803137DC 0031073C EC 00 18 28 */ fsubs f0, f0, f3 -/* 803137E0 00310740 D0 1E 00 18 */ stfs f0, 0x18(r30) -/* 803137E4 00310744 C0 1E 00 28 */ lfs f0, 0x28(r30) -/* 803137E8 00310748 EC 00 20 28 */ fsubs f0, f0, f4 -/* 803137EC 0031074C D0 1E 00 28 */ stfs f0, 0x28(r30) -/* 803137F0 00310750 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 -/* 803137F4 00310754 80 01 00 24 */ lwz r0, 0x24(r1) -/* 803137F8 00310758 CB E1 00 10 */ lfd f31, 0x10(r1) -/* 803137FC 0031075C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80313800 00310760 83 C1 00 08 */ lwz r30, 8(r1) -/* 80313804 00310764 7C 08 03 A6 */ mtlr r0 -/* 80313808 00310768 38 21 00 20 */ addi r1, r1, 0x20 -/* 8031380C 0031076C 4E 80 00 20 */ blr - -.global RotateZ__12CTransform4fFRC9CRelAngle -RotateZ__12CTransform4fFRC9CRelAngle: -/* 80313810 00310770 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80313814 00310774 7C 08 02 A6 */ mflr r0 -/* 80313818 00310778 90 01 00 24 */ stw r0, 0x24(r1) -/* 8031381C 0031077C DB E1 00 10 */ stfd f31, 0x10(r1) -/* 80313820 00310780 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 -/* 80313824 00310784 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80313828 00310788 93 C1 00 08 */ stw r30, 8(r1) -/* 8031382C 0031078C 7C 9F 23 78 */ mr r31, r4 -/* 80313830 00310790 7C 7E 1B 78 */ mr r30, r3 -/* 80313834 00310794 C0 24 00 00 */ lfs f1, 0(r4) -/* 80313838 00310798 48 08 12 A5 */ bl sin -/* 8031383C 0031079C FF E0 08 18 */ frsp f31, f1 -/* 80313840 003107A0 C0 3F 00 00 */ lfs f1, 0(r31) -/* 80313844 003107A4 48 08 0B AD */ bl cos -/* 80313848 003107A8 FC 60 08 18 */ frsp f3, f1 -/* 8031384C 003107AC C0 22 C8 D4 */ lfs f1, lbl_805AE5F4@sda21(r2) -/* 80313850 003107B0 FC 40 F8 50 */ fneg f2, f31 -/* 80313854 003107B4 C0 02 C8 D0 */ lfs f0, lbl_805AE5F0@sda21(r2) -/* 80313858 003107B8 D0 7E 00 00 */ stfs f3, 0(r30) -/* 8031385C 003107BC D0 5E 00 04 */ stfs f2, 4(r30) -/* 80313860 003107C0 D0 3E 00 08 */ stfs f1, 8(r30) -/* 80313864 003107C4 D0 3E 00 0C */ stfs f1, 0xc(r30) -/* 80313868 003107C8 D3 FE 00 10 */ stfs f31, 0x10(r30) -/* 8031386C 003107CC D0 7E 00 14 */ stfs f3, 0x14(r30) -/* 80313870 003107D0 D0 3E 00 18 */ stfs f1, 0x18(r30) -/* 80313874 003107D4 D0 3E 00 1C */ stfs f1, 0x1c(r30) -/* 80313878 003107D8 D0 3E 00 20 */ stfs f1, 0x20(r30) -/* 8031387C 003107DC D0 3E 00 24 */ stfs f1, 0x24(r30) -/* 80313880 003107E0 D0 1E 00 28 */ stfs f0, 0x28(r30) -/* 80313884 003107E4 D0 3E 00 2C */ stfs f1, 0x2c(r30) -/* 80313888 003107E8 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 -/* 8031388C 003107EC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80313890 003107F0 CB E1 00 10 */ lfd f31, 0x10(r1) -/* 80313894 003107F4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80313898 003107F8 83 C1 00 08 */ lwz r30, 8(r1) -/* 8031389C 003107FC 7C 08 03 A6 */ mtlr r0 -/* 803138A0 00310800 38 21 00 20 */ addi r1, r1, 0x20 -/* 803138A4 00310804 4E 80 00 20 */ blr - -.global RotateY__12CTransform4fFRC9CRelAngle -RotateY__12CTransform4fFRC9CRelAngle: -/* 803138A8 00310808 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 803138AC 0031080C 7C 08 02 A6 */ mflr r0 -/* 803138B0 00310810 90 01 00 24 */ stw r0, 0x24(r1) -/* 803138B4 00310814 DB E1 00 10 */ stfd f31, 0x10(r1) -/* 803138B8 00310818 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 -/* 803138BC 0031081C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 803138C0 00310820 93 C1 00 08 */ stw r30, 8(r1) -/* 803138C4 00310824 7C 9F 23 78 */ mr r31, r4 -/* 803138C8 00310828 7C 7E 1B 78 */ mr r30, r3 -/* 803138CC 0031082C C0 24 00 00 */ lfs f1, 0(r4) -/* 803138D0 00310830 48 08 12 0D */ bl sin -/* 803138D4 00310834 FF E0 08 18 */ frsp f31, f1 -/* 803138D8 00310838 C0 3F 00 00 */ lfs f1, 0(r31) -/* 803138DC 0031083C 48 08 0B 15 */ bl cos -/* 803138E0 00310840 FC 60 08 18 */ frsp f3, f1 -/* 803138E4 00310844 C0 42 C8 D4 */ lfs f2, lbl_805AE5F4@sda21(r2) -/* 803138E8 00310848 C0 22 C8 D0 */ lfs f1, lbl_805AE5F0@sda21(r2) -/* 803138EC 0031084C FC 00 F8 50 */ fneg f0, f31 -/* 803138F0 00310850 D0 7E 00 00 */ stfs f3, 0(r30) -/* 803138F4 00310854 D0 5E 00 04 */ stfs f2, 4(r30) -/* 803138F8 00310858 D3 FE 00 08 */ stfs f31, 8(r30) -/* 803138FC 0031085C D0 5E 00 0C */ stfs f2, 0xc(r30) -/* 80313900 00310860 D0 5E 00 10 */ stfs f2, 0x10(r30) -/* 80313904 00310864 D0 3E 00 14 */ stfs f1, 0x14(r30) -/* 80313908 00310868 D0 5E 00 18 */ stfs f2, 0x18(r30) -/* 8031390C 0031086C D0 5E 00 1C */ stfs f2, 0x1c(r30) -/* 80313910 00310870 D0 1E 00 20 */ stfs f0, 0x20(r30) -/* 80313914 00310874 D0 5E 00 24 */ stfs f2, 0x24(r30) -/* 80313918 00310878 D0 7E 00 28 */ stfs f3, 0x28(r30) -/* 8031391C 0031087C D0 5E 00 2C */ stfs f2, 0x2c(r30) -/* 80313920 00310880 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 -/* 80313924 00310884 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80313928 00310888 CB E1 00 10 */ lfd f31, 0x10(r1) -/* 8031392C 0031088C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80313930 00310890 83 C1 00 08 */ lwz r30, 8(r1) -/* 80313934 00310894 7C 08 03 A6 */ mtlr r0 -/* 80313938 00310898 38 21 00 20 */ addi r1, r1, 0x20 -/* 8031393C 0031089C 4E 80 00 20 */ blr - -.global RotateX__12CTransform4fFRC9CRelAngle -RotateX__12CTransform4fFRC9CRelAngle: -/* 80313940 003108A0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80313944 003108A4 7C 08 02 A6 */ mflr r0 -/* 80313948 003108A8 90 01 00 24 */ stw r0, 0x24(r1) -/* 8031394C 003108AC DB E1 00 10 */ stfd f31, 0x10(r1) -/* 80313950 003108B0 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 -/* 80313954 003108B4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80313958 003108B8 93 C1 00 08 */ stw r30, 8(r1) -/* 8031395C 003108BC 7C 9F 23 78 */ mr r31, r4 -/* 80313960 003108C0 7C 7E 1B 78 */ mr r30, r3 -/* 80313964 003108C4 C0 24 00 00 */ lfs f1, 0(r4) -/* 80313968 003108C8 48 08 11 75 */ bl sin -/* 8031396C 003108CC FF E0 08 18 */ frsp f31, f1 -/* 80313970 003108D0 C0 3F 00 00 */ lfs f1, 0(r31) -/* 80313974 003108D4 48 08 0A 7D */ bl cos -/* 80313978 003108D8 C0 42 C8 D0 */ lfs f2, lbl_805AE5F0@sda21(r2) -/* 8031397C 003108DC FC 60 08 18 */ frsp f3, f1 -/* 80313980 003108E0 C0 22 C8 D4 */ lfs f1, lbl_805AE5F4@sda21(r2) -/* 80313984 003108E4 FC 00 F8 50 */ fneg f0, f31 -/* 80313988 003108E8 D0 5E 00 00 */ stfs f2, 0(r30) -/* 8031398C 003108EC D0 3E 00 04 */ stfs f1, 4(r30) -/* 80313990 003108F0 D0 3E 00 08 */ stfs f1, 8(r30) -/* 80313994 003108F4 D0 3E 00 0C */ stfs f1, 0xc(r30) -/* 80313998 003108F8 D0 3E 00 10 */ stfs f1, 0x10(r30) -/* 8031399C 003108FC D0 7E 00 14 */ stfs f3, 0x14(r30) -/* 803139A0 00310900 D0 1E 00 18 */ stfs f0, 0x18(r30) -/* 803139A4 00310904 D0 3E 00 1C */ stfs f1, 0x1c(r30) -/* 803139A8 00310908 D0 3E 00 20 */ stfs f1, 0x20(r30) -/* 803139AC 0031090C D3 FE 00 24 */ stfs f31, 0x24(r30) -/* 803139B0 00310910 D0 7E 00 28 */ stfs f3, 0x28(r30) -/* 803139B4 00310914 D0 3E 00 2C */ stfs f1, 0x2c(r30) -/* 803139B8 00310918 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 -/* 803139BC 0031091C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 803139C0 00310920 CB E1 00 10 */ lfd f31, 0x10(r1) -/* 803139C4 00310924 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 803139C8 00310928 83 C1 00 08 */ lwz r30, 8(r1) -/* 803139CC 0031092C 7C 08 03 A6 */ mtlr r0 -/* 803139D0 00310930 38 21 00 20 */ addi r1, r1, 0x20 -/* 803139D4 00310934 4E 80 00 20 */ blr - -.global MakeRotationsBasedOnY__12CTransform4fFRC13CUnitVector3f -MakeRotationsBasedOnY__12CTransform4fFRC13CUnitVector3f: -/* 803139D8 00310938 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 803139DC 0031093C 7C 08 02 A6 */ mflr r0 -/* 803139E0 00310940 90 01 00 44 */ stw r0, 0x44(r1) -/* 803139E4 00310944 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 803139E8 00310948 7C 9F 23 78 */ mr r31, r4 -/* 803139EC 0031094C 93 C1 00 38 */ stw r30, 0x38(r1) -/* 803139F0 00310950 7C 7E 1B 78 */ mr r30, r3 -/* 803139F4 00310954 C0 24 00 04 */ lfs f1, 4(r4) -/* 803139F8 00310958 C0 44 00 00 */ lfs f2, 0(r4) -/* 803139FC 0031095C FC 01 10 40 */ fcmpo cr0, f1, f2 -/* 80313A00 00310960 40 80 00 20 */ bge lbl_80313A20 -/* 80313A04 00310964 C0 1F 00 08 */ lfs f0, 8(r31) -/* 80313A08 00310968 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80313A0C 0031096C 40 80 00 0C */ bge lbl_80313A18 -/* 80313A10 00310970 38 00 00 02 */ li r0, 2 -/* 80313A14 00310974 48 00 00 24 */ b lbl_80313A38 -lbl_80313A18: -/* 80313A18 00310978 38 00 00 01 */ li r0, 1 -/* 80313A1C 0031097C 48 00 00 1C */ b lbl_80313A38 -lbl_80313A20: -/* 80313A20 00310980 C0 1F 00 08 */ lfs f0, 8(r31) -/* 80313A24 00310984 FC 00 10 40 */ fcmpo cr0, f0, f2 -/* 80313A28 00310988 40 80 00 0C */ bge lbl_80313A34 -/* 80313A2C 0031098C 38 00 00 02 */ li r0, 2 -/* 80313A30 00310990 48 00 00 08 */ b lbl_80313A38 -lbl_80313A34: -/* 80313A34 00310994 38 00 00 01 */ li r0, 1 -lbl_80313A38: -/* 80313A38 00310998 C0 22 C8 D4 */ lfs f1, lbl_805AE5F4@sda21(r2) -/* 80313A3C 0031099C 54 00 10 3A */ slwi r0, r0, 2 -/* 80313A40 003109A0 C0 02 C8 D0 */ lfs f0, lbl_805AE5F0@sda21(r2) -/* 80313A44 003109A4 38 A1 00 2C */ addi r5, r1, 0x2c -/* 80313A48 003109A8 D0 21 00 2C */ stfs f1, 0x2c(r1) -/* 80313A4C 003109AC 38 61 00 20 */ addi r3, r1, 0x20 -/* 80313A50 003109B0 C0 7F 00 00 */ lfs f3, 0(r31) -/* 80313A54 003109B4 38 81 00 14 */ addi r4, r1, 0x14 -/* 80313A58 003109B8 D0 21 00 30 */ stfs f1, 0x30(r1) -/* 80313A5C 003109BC C0 9F 00 04 */ lfs f4, 4(r31) -/* 80313A60 003109C0 D0 21 00 34 */ stfs f1, 0x34(r1) -/* 80313A64 003109C4 C0 BF 00 08 */ lfs f5, 8(r31) -/* 80313A68 003109C8 7C 05 05 2E */ stfsx f0, r5, r0 -/* 80313A6C 003109CC C0 C1 00 30 */ lfs f6, 0x30(r1) -/* 80313A70 003109D0 C0 E1 00 34 */ lfs f7, 0x34(r1) -/* 80313A74 003109D4 C1 01 00 2C */ lfs f8, 0x2c(r1) -/* 80313A78 003109D8 EC 46 01 72 */ fmuls f2, f6, f5 -/* 80313A7C 003109DC EC 27 00 F2 */ fmuls f1, f7, f3 -/* 80313A80 003109E0 EC 08 01 32 */ fmuls f0, f8, f4 -/* 80313A84 003109E4 EC 44 11 F8 */ fmsubs f2, f4, f7, f2 -/* 80313A88 003109E8 EC 25 0A 38 */ fmsubs f1, f5, f8, f1 -/* 80313A8C 003109EC EC 03 01 B8 */ fmsubs f0, f3, f6, f0 -/* 80313A90 003109F0 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 80313A94 003109F4 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 80313A98 003109F8 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 80313A9C 003109FC 48 00 03 35 */ bl __ct__11CUnitVectorFRC9CVector3f -/* 80313AA0 00310A00 C0 61 00 24 */ lfs f3, 0x24(r1) -/* 80313AA4 00310A04 3C 60 80 5A */ lis r3, skZero3f@ha -/* 80313AA8 00310A08 C0 BF 00 00 */ lfs f5, 0(r31) -/* 80313AAC 00310A0C 38 E3 66 A0 */ addi r7, r3, skZero3f@l -/* 80313AB0 00310A10 C0 81 00 28 */ lfs f4, 0x28(r1) -/* 80313AB4 00310A14 7F C3 F3 78 */ mr r3, r30 -/* 80313AB8 00310A18 C0 3F 00 04 */ lfs f1, 4(r31) -/* 80313ABC 00310A1C EC 05 00 F2 */ fmuls f0, f5, f3 -/* 80313AC0 00310A20 C0 E1 00 20 */ lfs f7, 0x20(r1) -/* 80313AC4 00310A24 7F E5 FB 78 */ mr r5, r31 -/* 80313AC8 00310A28 C0 DF 00 08 */ lfs f6, 8(r31) -/* 80313ACC 00310A2C EC 41 01 32 */ fmuls f2, f1, f4 -/* 80313AD0 00310A30 EC 07 00 78 */ fmsubs f0, f7, f1, f0 -/* 80313AD4 00310A34 EC 26 01 F2 */ fmuls f1, f6, f7 -/* 80313AD8 00310A38 38 81 00 20 */ addi r4, r1, 0x20 -/* 80313ADC 00310A3C EC 43 11 B8 */ fmsubs f2, f3, f6, f2 -/* 80313AE0 00310A40 38 C1 00 08 */ addi r6, r1, 8 -/* 80313AE4 00310A44 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 80313AE8 00310A48 EC 04 09 78 */ fmsubs f0, f4, f5, f1 -/* 80313AEC 00310A4C D0 41 00 08 */ stfs f2, 8(r1) -/* 80313AF0 00310A50 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 80313AF4 00310A54 4B FF F3 69 */ bl __ct__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f_0 -/* 80313AF8 00310A58 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80313AFC 00310A5C 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 80313B00 00310A60 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 80313B04 00310A64 7C 08 03 A6 */ mtlr r0 -/* 80313B08 00310A68 38 21 00 40 */ addi r1, r1, 0x40 -/* 80313B0C 00310A6C 4E 80 00 20 */ blr - -.global LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f -LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f: -/* 80313B10 00310A70 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80313B14 00310A74 7C 08 02 A6 */ mflr r0 -/* 80313B18 00310A78 90 01 00 34 */ stw r0, 0x34(r1) -/* 80313B1C 00310A7C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80313B20 00310A80 7C DF 33 78 */ mr r31, r6 -/* 80313B24 00310A84 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80313B28 00310A88 7C 9E 23 78 */ mr r30, r4 -/* 80313B2C 00310A8C 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80313B30 00310A90 7C 7D 1B 78 */ mr r29, r3 -/* 80313B34 00310A94 38 61 00 14 */ addi r3, r1, 0x14 -/* 80313B38 00310A98 C0 25 00 04 */ lfs f1, 4(r5) -/* 80313B3C 00310A9C C0 04 00 04 */ lfs f0, 4(r4) -/* 80313B40 00310AA0 C0 65 00 08 */ lfs f3, 8(r5) -/* 80313B44 00310AA4 EC 81 00 28 */ fsubs f4, f1, f0 -/* 80313B48 00310AA8 C0 44 00 08 */ lfs f2, 8(r4) -/* 80313B4C 00310AAC C0 25 00 00 */ lfs f1, 0(r5) -/* 80313B50 00310AB0 C0 04 00 00 */ lfs f0, 0(r4) -/* 80313B54 00310AB4 EC 43 10 28 */ fsubs f2, f3, f2 -/* 80313B58 00310AB8 D0 81 00 18 */ stfs f4, 0x18(r1) -/* 80313B5C 00310ABC EC 01 00 28 */ fsubs f0, f1, f0 -/* 80313B60 00310AC0 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 80313B64 00310AC4 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 80313B68 00310AC8 48 00 0D 51 */ bl Magnitude__9CVector3fCFv -/* 80313B6C 00310ACC C0 02 C8 D8 */ lfs f0, lbl_805AE5F8@sda21(r2) -/* 80313B70 00310AD0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80313B74 00310AD4 4C 40 13 82 */ cror 2, 0, 2 -/* 80313B78 00310AD8 40 82 00 1C */ bne lbl_80313B94 -/* 80313B7C 00310ADC C0 22 C8 D4 */ lfs f1, lbl_805AE5F4@sda21(r2) -/* 80313B80 00310AE0 C0 02 C8 D0 */ lfs f0, lbl_805AE5F0@sda21(r2) -/* 80313B84 00310AE4 D0 21 00 14 */ stfs f1, 0x14(r1) -/* 80313B88 00310AE8 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 80313B8C 00310AEC D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 80313B90 00310AF0 48 00 00 30 */ b lbl_80313BC0 -lbl_80313B94: -/* 80313B94 00310AF4 C0 02 C8 D0 */ lfs f0, lbl_805AE5F0@sda21(r2) -/* 80313B98 00310AF8 C0 41 00 14 */ lfs f2, 0x14(r1) -/* 80313B9C 00310AFC EC 60 08 24 */ fdivs f3, f0, f1 -/* 80313BA0 00310B00 C0 21 00 18 */ lfs f1, 0x18(r1) -/* 80313BA4 00310B04 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 80313BA8 00310B08 EC 42 00 F2 */ fmuls f2, f2, f3 -/* 80313BAC 00310B0C EC 21 00 F2 */ fmuls f1, f1, f3 -/* 80313BB0 00310B10 EC 00 00 F2 */ fmuls f0, f0, f3 -/* 80313BB4 00310B14 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 80313BB8 00310B18 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 80313BBC 00310B1C D0 01 00 1C */ stfs f0, 0x1c(r1) -lbl_80313BC0: -/* 80313BC0 00310B20 C0 3F 00 04 */ lfs f1, 4(r31) -/* 80313BC4 00310B24 C0 01 00 18 */ lfs f0, 0x18(r1) -/* 80313BC8 00310B28 C0 5F 00 00 */ lfs f2, 0(r31) -/* 80313BCC 00310B2C EC 01 00 32 */ fmuls f0, f1, f0 -/* 80313BD0 00310B30 C0 21 00 14 */ lfs f1, 0x14(r1) -/* 80313BD4 00310B34 C0 9F 00 08 */ lfs f4, 8(r31) -/* 80313BD8 00310B38 C0 61 00 1C */ lfs f3, 0x1c(r1) -/* 80313BDC 00310B3C EC 22 00 7A */ fmadds f1, f2, f1, f0 -/* 80313BE0 00310B40 C8 02 C8 E0 */ lfd f0, lbl_805AE600@sda21(r2) -/* 80313BE4 00310B44 EC C4 08 FA */ fmadds f6, f4, f3, f1 -/* 80313BE8 00310B48 FC 20 32 10 */ fabs f1, f6 -/* 80313BEC 00310B4C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80313BF0 00310B50 40 81 00 14 */ ble lbl_80313C04 -/* 80313BF4 00310B54 C0 02 C8 E8 */ lfs f0, lbl_805AE608@sda21(r2) -/* 80313BF8 00310B58 C0 22 C8 D0 */ lfs f1, lbl_805AE5F0@sda21(r2) -/* 80313BFC 00310B5C FC 06 00 6E */ fsel f0, f6, f1, f0 -/* 80313C00 00310B60 EC C1 00 32 */ fmuls f6, f1, f0 -lbl_80313C04: -/* 80313C04 00310B64 C0 41 00 18 */ lfs f2, 0x18(r1) -/* 80313C08 00310B68 38 61 00 08 */ addi r3, r1, 8 -/* 80313C0C 00310B6C C0 21 00 1C */ lfs f1, 0x1c(r1) -/* 80313C10 00310B70 C0 01 00 14 */ lfs f0, 0x14(r1) -/* 80313C14 00310B74 EC 86 00 B2 */ fmuls f4, f6, f2 -/* 80313C18 00310B78 C0 BF 00 04 */ lfs f5, 4(r31) -/* 80313C1C 00310B7C EC 46 00 72 */ fmuls f2, f6, f1 -/* 80313C20 00310B80 C0 7F 00 08 */ lfs f3, 8(r31) -/* 80313C24 00310B84 EC 06 00 32 */ fmuls f0, f6, f0 -/* 80313C28 00310B88 C0 3F 00 00 */ lfs f1, 0(r31) -/* 80313C2C 00310B8C EC 85 20 28 */ fsubs f4, f5, f4 -/* 80313C30 00310B90 EC 43 10 28 */ fsubs f2, f3, f2 -/* 80313C34 00310B94 EC 01 00 28 */ fsubs f0, f1, f0 -/* 80313C38 00310B98 D0 81 00 0C */ stfs f4, 0xc(r1) -/* 80313C3C 00310B9C D0 01 00 08 */ stfs f0, 8(r1) -/* 80313C40 00310BA0 D0 41 00 10 */ stfs f2, 0x10(r1) -/* 80313C44 00310BA4 48 00 0C 75 */ bl Magnitude__9CVector3fCFv -/* 80313C48 00310BA8 C0 02 C8 D8 */ lfs f0, lbl_805AE5F8@sda21(r2) -/* 80313C4C 00310BAC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80313C50 00310BB0 4C 40 13 82 */ cror 2, 0, 2 -/* 80313C54 00310BB4 40 82 00 94 */ bne lbl_80313CE8 -/* 80313C58 00310BB8 C0 A1 00 1C */ lfs f5, 0x1c(r1) -/* 80313C5C 00310BBC 38 61 00 08 */ addi r3, r1, 8 -/* 80313C60 00310BC0 C0 61 00 18 */ lfs f3, 0x18(r1) -/* 80313C64 00310BC4 C0 41 00 14 */ lfs f2, 0x14(r1) -/* 80313C68 00310BC8 EC 05 01 72 */ fmuls f0, f5, f5 -/* 80313C6C 00310BCC C0 22 C8 D0 */ lfs f1, lbl_805AE5F0@sda21(r2) -/* 80313C70 00310BD0 EC 65 00 F2 */ fmuls f3, f5, f3 -/* 80313C74 00310BD4 C0 82 C8 D4 */ lfs f4, lbl_805AE5F4@sda21(r2) -/* 80313C78 00310BD8 EC 45 00 B2 */ fmuls f2, f5, f2 -/* 80313C7C 00310BDC EC 01 00 28 */ fsubs f0, f1, f0 -/* 80313C80 00310BE0 EC 64 18 28 */ fsubs f3, f4, f3 -/* 80313C84 00310BE4 EC 24 10 28 */ fsubs f1, f4, f2 -/* 80313C88 00310BE8 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 80313C8C 00310BEC D0 21 00 08 */ stfs f1, 8(r1) -/* 80313C90 00310BF0 D0 61 00 0C */ stfs f3, 0xc(r1) -/* 80313C94 00310BF4 48 00 0C 25 */ bl Magnitude__9CVector3fCFv -/* 80313C98 00310BF8 C0 02 C8 D8 */ lfs f0, lbl_805AE5F8@sda21(r2) -/* 80313C9C 00310BFC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80313CA0 00310C00 4C 40 13 82 */ cror 2, 0, 2 -/* 80313CA4 00310C04 40 82 00 44 */ bne lbl_80313CE8 -/* 80313CA8 00310C08 C0 A1 00 18 */ lfs f5, 0x18(r1) -/* 80313CAC 00310C0C 38 61 00 08 */ addi r3, r1, 8 -/* 80313CB0 00310C10 C0 61 00 1C */ lfs f3, 0x1c(r1) -/* 80313CB4 00310C14 C0 41 00 14 */ lfs f2, 0x14(r1) -/* 80313CB8 00310C18 EC 05 01 72 */ fmuls f0, f5, f5 -/* 80313CBC 00310C1C C0 22 C8 D0 */ lfs f1, lbl_805AE5F0@sda21(r2) -/* 80313CC0 00310C20 EC 65 00 F2 */ fmuls f3, f5, f3 -/* 80313CC4 00310C24 C0 82 C8 D4 */ lfs f4, lbl_805AE5F4@sda21(r2) -/* 80313CC8 00310C28 EC 45 00 B2 */ fmuls f2, f5, f2 -/* 80313CCC 00310C2C EC 01 00 28 */ fsubs f0, f1, f0 -/* 80313CD0 00310C30 EC 64 18 28 */ fsubs f3, f4, f3 -/* 80313CD4 00310C34 EC 24 10 28 */ fsubs f1, f4, f2 -/* 80313CD8 00310C38 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 80313CDC 00310C3C D0 21 00 08 */ stfs f1, 8(r1) -/* 80313CE0 00310C40 D0 61 00 10 */ stfs f3, 0x10(r1) -/* 80313CE4 00310C44 48 00 0B D5 */ bl Magnitude__9CVector3fCFv -lbl_80313CE8: -/* 80313CE8 00310C48 C0 02 C8 D0 */ lfs f0, lbl_805AE5F0@sda21(r2) -/* 80313CEC 00310C4C C0 41 00 0C */ lfs f2, 0xc(r1) -/* 80313CF0 00310C50 EC A0 08 24 */ fdivs f5, f0, f1 -/* 80313CF4 00310C54 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 80313CF8 00310C58 C0 21 00 08 */ lfs f1, 8(r1) -/* 80313CFC 00310C5C C1 41 00 1C */ lfs f10, 0x1c(r1) -/* 80313D00 00310C60 C1 61 00 18 */ lfs f11, 0x18(r1) -/* 80313D04 00310C64 C1 21 00 14 */ lfs f9, 0x14(r1) -/* 80313D08 00310C68 EC 82 01 72 */ fmuls f4, f2, f5 -/* 80313D0C 00310C6C C0 DE 00 08 */ lfs f6, 8(r30) -/* 80313D10 00310C70 EC 60 01 72 */ fmuls f3, f0, f5 -/* 80313D14 00310C74 C0 FE 00 04 */ lfs f7, 4(r30) -/* 80313D18 00310C78 EC A1 01 72 */ fmuls f5, f1, f5 -/* 80313D1C 00310C7C C1 1E 00 00 */ lfs f8, 0(r30) -/* 80313D20 00310C80 EC 24 02 B2 */ fmuls f1, f4, f10 -/* 80313D24 00310C84 D0 81 00 0C */ stfs f4, 0xc(r1) -/* 80313D28 00310C88 EC 03 02 72 */ fmuls f0, f3, f9 -/* 80313D2C 00310C8C D0 A1 00 08 */ stfs f5, 8(r1) -/* 80313D30 00310C90 EC 45 02 F2 */ fmuls f2, f5, f11 -/* 80313D34 00310C94 EC 2B 08 F8 */ fmsubs f1, f11, f3, f1 -/* 80313D38 00310C98 D0 61 00 10 */ stfs f3, 0x10(r1) -/* 80313D3C 00310C9C EC 0A 01 78 */ fmsubs f0, f10, f5, f0 -/* 80313D40 00310CA0 EC 49 11 38 */ fmsubs f2, f9, f4, f2 -/* 80313D44 00310CA4 D0 3D 00 00 */ stfs f1, 0(r29) -/* 80313D48 00310CA8 D1 3D 00 04 */ stfs f9, 4(r29) -/* 80313D4C 00310CAC D0 BD 00 08 */ stfs f5, 8(r29) -/* 80313D50 00310CB0 D1 1D 00 0C */ stfs f8, 0xc(r29) -/* 80313D54 00310CB4 D0 1D 00 10 */ stfs f0, 0x10(r29) -/* 80313D58 00310CB8 D1 7D 00 14 */ stfs f11, 0x14(r29) -/* 80313D5C 00310CBC D0 9D 00 18 */ stfs f4, 0x18(r29) -/* 80313D60 00310CC0 D0 FD 00 1C */ stfs f7, 0x1c(r29) -/* 80313D64 00310CC4 D0 5D 00 20 */ stfs f2, 0x20(r29) -/* 80313D68 00310CC8 D1 5D 00 24 */ stfs f10, 0x24(r29) -/* 80313D6C 00310CCC D0 7D 00 28 */ stfs f3, 0x28(r29) -/* 80313D70 00310CD0 D0 DD 00 2C */ stfs f6, 0x2c(r29) -/* 80313D74 00310CD4 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80313D78 00310CD8 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80313D7C 00310CDC 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80313D80 00310CE0 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80313D84 00310CE4 7C 08 03 A6 */ mtlr r0 -/* 80313D88 00310CE8 38 21 00 30 */ addi r1, r1, 0x30 -/* 80313D8C 00310CEC 4E 80 00 20 */ blr - -.global __sinit_CTransform4f_cpp -__sinit_CTransform4f_cpp: -/* 80313D90 00310CF0 C0 22 C8 D0 */ lfs f1, lbl_805AE5F0@sda21(r2) -/* 80313D94 00310CF4 3C 60 80 5A */ lis r3, skIdentity4f@ha -/* 80313D98 00310CF8 C0 02 C8 D4 */ lfs f0, lbl_805AE5F4@sda21(r2) -/* 80313D9C 00310CFC D4 23 66 70 */ stfsu f1, skIdentity4f@l(r3) -/* 80313DA0 00310D00 D0 03 00 04 */ stfs f0, 4(r3) -/* 80313DA4 00310D04 D0 03 00 08 */ stfs f0, 8(r3) -/* 80313DA8 00310D08 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 80313DAC 00310D0C D0 03 00 10 */ stfs f0, 0x10(r3) -/* 80313DB0 00310D10 D0 23 00 14 */ stfs f1, 0x14(r3) -/* 80313DB4 00310D14 D0 03 00 18 */ stfs f0, 0x18(r3) -/* 80313DB8 00310D18 D0 03 00 1C */ stfs f0, 0x1c(r3) -/* 80313DBC 00310D1C D0 03 00 20 */ stfs f0, 0x20(r3) -/* 80313DC0 00310D20 D0 03 00 24 */ stfs f0, 0x24(r3) -/* 80313DC4 00310D24 D0 23 00 28 */ stfs f1, 0x28(r3) -/* 80313DC8 00310D28 D0 03 00 2C */ stfs f0, 0x2c(r3) -/* 80313DCC 00310D2C 4E 80 00 20 */ blr - -.global __ct__11CUnitVectorFRC9CVector3f -__ct__11CUnitVectorFRC9CVector3f: -/* 80313DD0 00310D30 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80313DD4 00310D34 7C 08 02 A6 */ mflr r0 -/* 80313DD8 00310D38 C0 22 C8 F0 */ lfs f1, lbl_805AE610@sda21(r2) -/* 80313DDC 00310D3C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80313DE0 00310D40 38 00 00 00 */ li r0, 0 -/* 80313DE4 00310D44 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80313DE8 00310D48 7C 7F 1B 78 */ mr r31, r3 -/* 80313DEC 00310D4C C0 04 00 00 */ lfs f0, 0(r4) -/* 80313DF0 00310D50 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80313DF4 00310D54 40 82 00 1C */ bne lbl_80313E10 -/* 80313DF8 00310D58 C0 04 00 04 */ lfs f0, 4(r4) -/* 80313DFC 00310D5C FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80313E00 00310D60 40 82 00 10 */ bne lbl_80313E10 -/* 80313E04 00310D64 C0 04 00 08 */ lfs f0, 8(r4) -/* 80313E08 00310D68 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80313E0C 00310D6C 41 82 00 08 */ beq lbl_80313E14 -lbl_80313E10: -/* 80313E10 00310D70 38 00 00 01 */ li r0, 1 -lbl_80313E14: -/* 80313E14 00310D74 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 80313E18 00310D78 41 82 00 14 */ beq lbl_80313E2C -/* 80313E1C 00310D7C 38 61 00 08 */ addi r3, r1, 8 -/* 80313E20 00310D80 48 00 0A 31 */ bl AsNormalized__9CVector3fCFv -/* 80313E24 00310D84 38 81 00 08 */ addi r4, r1, 8 -/* 80313E28 00310D88 48 00 00 0C */ b lbl_80313E34 -lbl_80313E2C: -/* 80313E2C 00310D8C 3C 60 80 5A */ lis r3, skZero3f@ha -/* 80313E30 00310D90 38 83 66 A0 */ addi r4, r3, skZero3f@l -lbl_80313E34: -/* 80313E34 00310D94 C0 04 00 00 */ lfs f0, 0(r4) -/* 80313E38 00310D98 7F E3 FB 78 */ mr r3, r31 -/* 80313E3C 00310D9C D0 1F 00 00 */ stfs f0, 0(r31) -/* 80313E40 00310DA0 C0 04 00 04 */ lfs f0, 4(r4) -/* 80313E44 00310DA4 D0 1F 00 04 */ stfs f0, 4(r31) -/* 80313E48 00310DA8 C0 04 00 08 */ lfs f0, 8(r4) -/* 80313E4C 00310DAC D0 1F 00 08 */ stfs f0, 8(r31) -/* 80313E50 00310DB0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80313E54 00310DB4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80313E58 00310DB8 7C 08 03 A6 */ mtlr r0 -/* 80313E5C 00310DBC 38 21 00 20 */ addi r1, r1, 0x20 -/* 80313E60 00310DC0 4E 80 00 20 */ blr - -.global __dv__FRC9CVector2fRCf -__dv__FRC9CVector2fRCf: -/* 80313E64 00310DC4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80313E68 00310DC8 7C 08 02 A6 */ mflr r0 -/* 80313E6C 00310DCC C0 42 C8 F8 */ lfs f2, lbl_805AE618@sda21(r2) -/* 80313E70 00310DD0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80313E74 00310DD4 C0 05 00 00 */ lfs f0, 0(r5) -/* 80313E78 00310DD8 C0 24 00 00 */ lfs f1, 0(r4) -/* 80313E7C 00310DDC EC 42 00 24 */ fdivs f2, f2, f0 -/* 80313E80 00310DE0 C0 04 00 04 */ lfs f0, 4(r4) -/* 80313E84 00310DE4 EC 22 00 72 */ fmuls f1, f2, f1 -/* 80313E88 00310DE8 EC 42 00 32 */ fmuls f2, f2, f0 -/* 80313E8C 00310DEC 48 00 03 75 */ bl __ct__9CVector2fFff -/* 80313E90 00310DF0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80313E94 00310DF4 7C 08 03 A6 */ mtlr r0 -/* 80313E98 00310DF8 38 21 00 10 */ addi r1, r1, 0x10 -/* 80313E9C 00310DFC 4E 80 00 20 */ blr - -.global __ml__FRCfRC9CVector2f -__ml__FRCfRC9CVector2f: -/* 80313EA0 00310E00 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80313EA4 00310E04 7C 08 02 A6 */ mflr r0 -/* 80313EA8 00310E08 90 01 00 14 */ stw r0, 0x14(r1) -/* 80313EAC 00310E0C C0 44 00 00 */ lfs f2, 0(r4) -/* 80313EB0 00310E10 C0 25 00 00 */ lfs f1, 0(r5) -/* 80313EB4 00310E14 C0 05 00 04 */ lfs f0, 4(r5) -/* 80313EB8 00310E18 EC 22 00 72 */ fmuls f1, f2, f1 -/* 80313EBC 00310E1C EC 42 00 32 */ fmuls f2, f2, f0 -/* 80313EC0 00310E20 48 00 03 41 */ bl __ct__9CVector2fFff -/* 80313EC4 00310E24 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80313EC8 00310E28 7C 08 03 A6 */ mtlr r0 -/* 80313ECC 00310E2C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80313ED0 00310E30 4E 80 00 20 */ blr - -.global __ml__FRC9CVector2fRCf -__ml__FRC9CVector2fRCf: -/* 80313ED4 00310E34 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80313ED8 00310E38 7C 08 02 A6 */ mflr r0 -/* 80313EDC 00310E3C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80313EE0 00310E40 C0 45 00 00 */ lfs f2, 0(r5) -/* 80313EE4 00310E44 C0 24 00 00 */ lfs f1, 0(r4) -/* 80313EE8 00310E48 C0 04 00 04 */ lfs f0, 4(r4) -/* 80313EEC 00310E4C EC 22 00 72 */ fmuls f1, f2, f1 -/* 80313EF0 00310E50 EC 42 00 32 */ fmuls f2, f2, f0 -/* 80313EF4 00310E54 48 00 03 0D */ bl __ct__9CVector2fFff -/* 80313EF8 00310E58 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80313EFC 00310E5C 7C 08 03 A6 */ mtlr r0 -/* 80313F00 00310E60 38 21 00 10 */ addi r1, r1, 0x10 -/* 80313F04 00310E64 4E 80 00 20 */ blr - -.global __eq__FRC9CVector2fRC9CVector2f -__eq__FRC9CVector2fRC9CVector2f: -/* 80313F08 00310E68 C0 23 00 00 */ lfs f1, 0(r3) -/* 80313F0C 00310E6C 38 00 00 00 */ li r0, 0 -/* 80313F10 00310E70 C0 04 00 00 */ lfs f0, 0(r4) -/* 80313F14 00310E74 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80313F18 00310E78 40 82 00 18 */ bne lbl_80313F30 -/* 80313F1C 00310E7C C0 23 00 04 */ lfs f1, 4(r3) -/* 80313F20 00310E80 C0 04 00 04 */ lfs f0, 4(r4) -/* 80313F24 00310E84 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80313F28 00310E88 40 82 00 08 */ bne lbl_80313F30 -/* 80313F2C 00310E8C 38 00 00 01 */ li r0, 1 -lbl_80313F30: -/* 80313F30 00310E90 7C 03 03 78 */ mr r3, r0 -/* 80313F34 00310E94 4E 80 00 20 */ blr - -.global __mi__FRC9CVector2fRC9CVector2f -__mi__FRC9CVector2fRC9CVector2f: -/* 80313F38 00310E98 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80313F3C 00310E9C 7C 08 02 A6 */ mflr r0 -/* 80313F40 00310EA0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80313F44 00310EA4 C0 64 00 00 */ lfs f3, 0(r4) -/* 80313F48 00310EA8 C0 25 00 00 */ lfs f1, 0(r5) -/* 80313F4C 00310EAC C0 44 00 04 */ lfs f2, 4(r4) -/* 80313F50 00310EB0 C0 05 00 04 */ lfs f0, 4(r5) -/* 80313F54 00310EB4 EC 23 08 28 */ fsubs f1, f3, f1 -/* 80313F58 00310EB8 EC 42 00 28 */ fsubs f2, f2, f0 -/* 80313F5C 00310EBC 48 00 02 A5 */ bl __ct__9CVector2fFff -/* 80313F60 00310EC0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80313F64 00310EC4 7C 08 03 A6 */ mtlr r0 -/* 80313F68 00310EC8 38 21 00 10 */ addi r1, r1, 0x10 -/* 80313F6C 00310ECC 4E 80 00 20 */ blr - -.global __pl__FRC9CVector2fRC9CVector2f -__pl__FRC9CVector2fRC9CVector2f: -/* 80313F70 00310ED0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80313F74 00310ED4 7C 08 02 A6 */ mflr r0 -/* 80313F78 00310ED8 90 01 00 14 */ stw r0, 0x14(r1) -/* 80313F7C 00310EDC C0 64 00 00 */ lfs f3, 0(r4) -/* 80313F80 00310EE0 C0 25 00 00 */ lfs f1, 0(r5) -/* 80313F84 00310EE4 C0 44 00 04 */ lfs f2, 4(r4) -/* 80313F88 00310EE8 C0 05 00 04 */ lfs f0, 4(r5) -/* 80313F8C 00310EEC EC 23 08 2A */ fadds f1, f3, f1 -/* 80313F90 00310EF0 EC 42 00 2A */ fadds f2, f2, f0 -/* 80313F94 00310EF4 48 00 02 6D */ bl __ct__9CVector2fFff -/* 80313F98 00310EF8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80313F9C 00310EFC 7C 08 03 A6 */ mtlr r0 -/* 80313FA0 00310F00 38 21 00 10 */ addi r1, r1, 0x10 -/* 80313FA4 00310F04 4E 80 00 20 */ blr - -.global Dot__9CVector2fFRC9CVector2fRC9CVector2f -Dot__9CVector2fFRC9CVector2fRC9CVector2f: -/* 80313FA8 00310F08 C0 23 00 04 */ lfs f1, 4(r3) -/* 80313FAC 00310F0C C0 04 00 04 */ lfs f0, 4(r4) -/* 80313FB0 00310F10 C0 43 00 00 */ lfs f2, 0(r3) -/* 80313FB4 00310F14 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80313FB8 00310F18 C0 24 00 00 */ lfs f1, 0(r4) -/* 80313FBC 00310F1C EC 22 00 7A */ fmadds f1, f2, f1, f0 -/* 80313FC0 00310F20 4E 80 00 20 */ blr - -.global GetAngleDiff__9CVector2fFRC9CVector2fRC9CVector2f -GetAngleDiff__9CVector2fFRC9CVector2fRC9CVector2f: -/* 80313FC4 00310F24 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80313FC8 00310F28 7C 08 02 A6 */ mflr r0 -/* 80313FCC 00310F2C 90 01 00 34 */ stw r0, 0x34(r1) -/* 80313FD0 00310F30 DB E1 00 20 */ stfd f31, 0x20(r1) -/* 80313FD4 00310F34 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 -/* 80313FD8 00310F38 DB C1 00 10 */ stfd f30, 0x10(r1) -/* 80313FDC 00310F3C F3 C1 00 18 */ psq_st f30, 24(r1), 0, qr0 -/* 80313FE0 00310F40 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80313FE4 00310F44 93 C1 00 08 */ stw r30, 8(r1) -/* 80313FE8 00310F48 7C 7E 1B 78 */ mr r30, r3 -/* 80313FEC 00310F4C 7C 9F 23 78 */ mr r31, r4 -/* 80313FF0 00310F50 48 00 01 05 */ bl Magnitude__9CVector2fCFv -/* 80313FF4 00310F54 FF C0 08 90 */ fmr f30, f1 -/* 80313FF8 00310F58 7F E3 FB 78 */ mr r3, r31 -/* 80313FFC 00310F5C 48 00 00 F9 */ bl Magnitude__9CVector2fCFv -/* 80314000 00310F60 C0 02 C9 00 */ lfs f0, lbl_805AE620@sda21(r2) -/* 80314004 00310F64 FF E0 08 90 */ fmr f31, f1 -/* 80314008 00310F68 C0 22 C8 FC */ lfs f1, lbl_805AE61C@sda21(r2) -/* 8031400C 00310F6C FC 1E 00 40 */ fcmpo cr0, f30, f0 -/* 80314010 00310F70 40 81 00 48 */ ble lbl_80314058 -/* 80314014 00310F74 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 80314018 00310F78 40 81 00 40 */ ble lbl_80314058 -/* 8031401C 00310F7C 7F C3 F3 78 */ mr r3, r30 -/* 80314020 00310F80 7F E4 FB 78 */ mr r4, r31 -/* 80314024 00310F84 4B FF FF 85 */ bl Dot__9CVector2fFRC9CVector2fRC9CVector2f -/* 80314028 00310F88 EC 5E 07 F2 */ fmuls f2, f30, f31 -/* 8031402C 00310F8C C0 02 C9 04 */ lfs f0, lbl_805AE624@sda21(r2) -/* 80314030 00310F90 EC 21 10 24 */ fdivs f1, f1, f2 -/* 80314034 00310F94 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80314038 00310F98 40 80 00 0C */ bge lbl_80314044 -/* 8031403C 00310F9C FC 20 00 90 */ fmr f1, f0 -/* 80314040 00310FA0 48 00 00 14 */ b lbl_80314054 -lbl_80314044: -/* 80314044 00310FA4 C0 02 C8 F8 */ lfs f0, lbl_805AE618@sda21(r2) -/* 80314048 00310FA8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8031404C 00310FAC 40 81 00 08 */ ble lbl_80314054 -/* 80314050 00310FB0 FC 20 00 90 */ fmr f1, f0 -lbl_80314054: -/* 80314054 00310FB4 48 00 13 3D */ bl ArcCosineR__5CMathFf -lbl_80314058: -/* 80314058 00310FB8 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 -/* 8031405C 00310FBC CB E1 00 20 */ lfd f31, 0x20(r1) -/* 80314060 00310FC0 E3 C1 00 18 */ psq_l f30, 24(r1), 0, qr0 -/* 80314064 00310FC4 CB C1 00 10 */ lfd f30, 0x10(r1) -/* 80314068 00310FC8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8031406C 00310FCC 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80314070 00310FD0 83 C1 00 08 */ lwz r30, 8(r1) -/* 80314074 00310FD4 7C 08 03 A6 */ mtlr r0 -/* 80314078 00310FD8 38 21 00 30 */ addi r1, r1, 0x30 -/* 8031407C 00310FDC 4E 80 00 20 */ blr - -.global AsNormalized__9CVector2fCFv -AsNormalized__9CVector2fCFv: -/* 80314080 00310FE0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80314084 00310FE4 7C 08 02 A6 */ mflr r0 -/* 80314088 00310FE8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8031408C 00310FEC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80314090 00310FF0 7C 9F 23 78 */ mr r31, r4 -/* 80314094 00310FF4 93 C1 00 08 */ stw r30, 8(r1) -/* 80314098 00310FF8 7C 7E 1B 78 */ mr r30, r3 -/* 8031409C 00310FFC 7F E3 FB 78 */ mr r3, r31 -/* 803140A0 00311000 48 00 00 55 */ bl Magnitude__9CVector2fCFv -/* 803140A4 00311004 C0 02 C8 F8 */ lfs f0, lbl_805AE618@sda21(r2) -/* 803140A8 00311008 7F C3 F3 78 */ mr r3, r30 -/* 803140AC 0031100C C0 5F 00 00 */ lfs f2, 0(r31) -/* 803140B0 00311010 EC 60 08 24 */ fdivs f3, f0, f1 -/* 803140B4 00311014 C0 1F 00 04 */ lfs f0, 4(r31) -/* 803140B8 00311018 EC 22 00 F2 */ fmuls f1, f2, f3 -/* 803140BC 0031101C EC 40 00 F2 */ fmuls f2, f0, f3 -/* 803140C0 00311020 48 00 01 41 */ bl __ct__9CVector2fFff -/* 803140C4 00311024 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803140C8 00311028 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 803140CC 0031102C 83 C1 00 08 */ lwz r30, 8(r1) -/* 803140D0 00311030 7C 08 03 A6 */ mtlr r0 -/* 803140D4 00311034 38 21 00 10 */ addi r1, r1, 0x10 -/* 803140D8 00311038 4E 80 00 20 */ blr - -.global MagSquared__9CVector2fCFv -MagSquared__9CVector2fCFv: -/* 803140DC 0031103C C0 03 00 00 */ lfs f0, 0(r3) -/* 803140E0 00311040 C0 43 00 04 */ lfs f2, 4(r3) -/* 803140E4 00311044 EC 20 00 32 */ fmuls f1, f0, f0 -/* 803140E8 00311048 EC 02 00 B2 */ fmuls f0, f2, f2 -/* 803140EC 0031104C EC 21 00 2A */ fadds f1, f1, f0 -/* 803140F0 00311050 4E 80 00 20 */ blr - -.global Magnitude__9CVector2fCFv -Magnitude__9CVector2fCFv: -/* 803140F4 00311054 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803140F8 00311058 7C 08 02 A6 */ mflr r0 -/* 803140FC 0031105C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80314100 00311060 C0 03 00 00 */ lfs f0, 0(r3) -/* 80314104 00311064 C0 43 00 04 */ lfs f2, 4(r3) -/* 80314108 00311068 EC 20 00 32 */ fmuls f1, f0, f0 -/* 8031410C 0031106C EC 02 00 B2 */ fmuls f0, f2, f2 -/* 80314110 00311070 EC 21 00 2A */ fadds f1, f1, f0 -/* 80314114 00311074 48 00 13 ED */ bl SqrtF__5CMathFf -/* 80314118 00311078 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8031411C 0031107C 7C 08 03 A6 */ mtlr r0 -/* 80314120 00311080 38 21 00 10 */ addi r1, r1, 0x10 -/* 80314124 00311084 4E 80 00 20 */ blr - -.global sub_80314128 -sub_80314128: -/* 80314128 00311088 C0 42 C8 F8 */ lfs f2, lbl_805AE618@sda21(r2) -/* 8031412C 0031108C C0 03 00 00 */ lfs f0, 0(r3) -/* 80314130 00311090 EC 22 08 24 */ fdivs f1, f2, f1 -/* 80314134 00311094 EC 00 00 72 */ fmuls f0, f0, f1 -/* 80314138 00311098 D0 03 00 00 */ stfs f0, 0(r3) -/* 8031413C 0031109C C0 03 00 04 */ lfs f0, 4(r3) -/* 80314140 003110A0 EC 00 00 72 */ fmuls f0, f0, f1 -/* 80314144 003110A4 D0 03 00 04 */ stfs f0, 4(r3) -/* 80314148 003110A8 4E 80 00 20 */ blr - -.global __amu__9CVector2fFf -__amu__9CVector2fFf: -/* 8031414C 003110AC C0 03 00 00 */ lfs f0, 0(r3) -/* 80314150 003110B0 EC 00 00 72 */ fmuls f0, f0, f1 -/* 80314154 003110B4 D0 03 00 00 */ stfs f0, 0(r3) -/* 80314158 003110B8 C0 03 00 04 */ lfs f0, 4(r3) -/* 8031415C 003110BC EC 00 00 72 */ fmuls f0, f0, f1 -/* 80314160 003110C0 D0 03 00 04 */ stfs f0, 4(r3) -/* 80314164 003110C4 4E 80 00 20 */ blr - -.global sub_80314168 -sub_80314168: -/* 80314168 003110C8 C0 23 00 00 */ lfs f1, 0(r3) -/* 8031416C 003110CC C0 04 00 00 */ lfs f0, 0(r4) -/* 80314170 003110D0 EC 01 00 28 */ fsubs f0, f1, f0 -/* 80314174 003110D4 D0 03 00 00 */ stfs f0, 0(r3) -/* 80314178 003110D8 C0 23 00 04 */ lfs f1, 4(r3) -/* 8031417C 003110DC C0 04 00 04 */ lfs f0, 4(r4) -/* 80314180 003110E0 EC 01 00 28 */ fsubs f0, f1, f0 -/* 80314184 003110E4 D0 03 00 04 */ stfs f0, 4(r3) -/* 80314188 003110E8 4E 80 00 20 */ blr - -.global __apl__9CVector2fFRC9CVector2f -__apl__9CVector2fFRC9CVector2f: -/* 8031418C 003110EC C0 23 00 00 */ lfs f1, 0(r3) -/* 80314190 003110F0 C0 04 00 00 */ lfs f0, 0(r4) -/* 80314194 003110F4 EC 01 00 2A */ fadds f0, f1, f0 -/* 80314198 003110F8 D0 03 00 00 */ stfs f0, 0(r3) -/* 8031419C 003110FC C0 23 00 04 */ lfs f1, 4(r3) -/* 803141A0 00311100 C0 04 00 04 */ lfs f0, 4(r4) -/* 803141A4 00311104 EC 01 00 2A */ fadds f0, f1, f0 -/* 803141A8 00311108 D0 03 00 04 */ stfs f0, 4(r3) -/* 803141AC 0031110C 4E 80 00 20 */ blr - -.global Normalize__9CVector2fFv -Normalize__9CVector2fFv: -/* 803141B0 00311110 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803141B4 00311114 7C 08 02 A6 */ mflr r0 -/* 803141B8 00311118 90 01 00 14 */ stw r0, 0x14(r1) -/* 803141BC 0031111C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 803141C0 00311120 7C 7F 1B 78 */ mr r31, r3 -/* 803141C4 00311124 4B FF FF 31 */ bl Magnitude__9CVector2fCFv -/* 803141C8 00311128 C0 42 C8 F8 */ lfs f2, lbl_805AE618@sda21(r2) -/* 803141CC 0031112C 7F E3 FB 78 */ mr r3, r31 -/* 803141D0 00311130 C0 1F 00 00 */ lfs f0, 0(r31) -/* 803141D4 00311134 EC 22 08 24 */ fdivs f1, f2, f1 -/* 803141D8 00311138 EC 00 00 72 */ fmuls f0, f0, f1 -/* 803141DC 0031113C D0 1F 00 00 */ stfs f0, 0(r31) -/* 803141E0 00311140 C0 1F 00 04 */ lfs f0, 4(r31) -/* 803141E4 00311144 EC 00 00 72 */ fmuls f0, f0, f1 -/* 803141E8 00311148 D0 1F 00 04 */ stfs f0, 4(r31) -/* 803141EC 0031114C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 803141F0 00311150 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803141F4 00311154 7C 08 03 A6 */ mtlr r0 -/* 803141F8 00311158 38 21 00 10 */ addi r1, r1, 0x10 -/* 803141FC 0031115C 4E 80 00 20 */ blr - -.global __ct__9CVector2fFff -__ct__9CVector2fFff: -/* 80314200 00311160 D0 23 00 00 */ stfs f1, 0(r3) -/* 80314204 00311164 D0 43 00 04 */ stfs f2, 4(r3) -/* 80314208 00311168 4E 80 00 20 */ blr - -.global __sinit_CVector2f_cpp -__sinit_CVector2f_cpp: -/* 8031420C 0031116C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80314210 00311170 7C 08 02 A6 */ mflr r0 -/* 80314214 00311174 C0 22 C8 FC */ lfs f1, lbl_805AE61C@sda21(r2) -/* 80314218 00311178 90 01 00 14 */ stw r0, 0x14(r1) -/* 8031421C 0031117C 38 61 00 08 */ addi r3, r1, 8 -/* 80314220 00311180 FC 40 08 90 */ fmr f2, f1 -/* 80314224 00311184 4B FF FF DD */ bl __ct__9CVector2fFff -/* 80314228 00311188 C0 21 00 08 */ lfs f1, 8(r1) -/* 8031422C 0031118C 38 6D A8 98 */ addi r3, r13, lbl_805A9458@sda21 -/* 80314230 00311190 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 80314234 00311194 D0 2D A8 98 */ stfs f1, lbl_805A9458@sda21(r13) -/* 80314238 00311198 D0 03 00 04 */ stfs f0, 4(r3) -/* 8031423C 0031119C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80314240 003111A0 7C 08 03 A6 */ mtlr r0 -/* 80314244 003111A4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80314248 003111A8 4E 80 00 20 */ blr - -.global __dv__FRC9CVector2ii -__dv__FRC9CVector2ii: -/* 8031424C 003111AC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80314250 003111B0 7C 08 02 A6 */ mflr r0 -/* 80314254 003111B4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80314258 003111B8 80 C4 00 00 */ lwz r6, 0(r4) -/* 8031425C 003111BC 80 04 00 04 */ lwz r0, 4(r4) -/* 80314260 003111C0 7C 86 2B D6 */ divw r4, r6, r5 -/* 80314264 003111C4 7C A0 2B D6 */ divw r5, r0, r5 -/* 80314268 003111C8 48 00 00 E5 */ bl __ct__9CVector2iFii -/* 8031426C 003111CC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80314270 003111D0 7C 08 03 A6 */ mtlr r0 -/* 80314274 003111D4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80314278 003111D8 4E 80 00 20 */ blr - -.global __ml__FRC9CVector2ii -__ml__FRC9CVector2ii: -/* 8031427C 003111DC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80314280 003111E0 7C 08 02 A6 */ mflr r0 -/* 80314284 003111E4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80314288 003111E8 80 C4 00 00 */ lwz r6, 0(r4) -/* 8031428C 003111EC 80 04 00 04 */ lwz r0, 4(r4) -/* 80314290 003111F0 7C 85 31 D6 */ mullw r4, r5, r6 -/* 80314294 003111F4 7C A5 01 D6 */ mullw r5, r5, r0 -/* 80314298 003111F8 48 00 00 B5 */ bl __ct__9CVector2iFii -/* 8031429C 003111FC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803142A0 00311200 7C 08 03 A6 */ mtlr r0 -/* 803142A4 00311204 38 21 00 10 */ addi r1, r1, 0x10 -/* 803142A8 00311208 4E 80 00 20 */ blr - -.global __eq__FRC9CVector2iRC9CVector2i -__eq__FRC9CVector2iRC9CVector2i: -/* 803142AC 0031120C 80 A3 00 00 */ lwz r5, 0(r3) -/* 803142B0 00311210 38 C0 00 00 */ li r6, 0 -/* 803142B4 00311214 80 04 00 00 */ lwz r0, 0(r4) -/* 803142B8 00311218 7C 05 00 00 */ cmpw r5, r0 -/* 803142BC 0031121C 40 82 00 18 */ bne lbl_803142D4 -/* 803142C0 00311220 80 63 00 04 */ lwz r3, 4(r3) -/* 803142C4 00311224 80 04 00 04 */ lwz r0, 4(r4) -/* 803142C8 00311228 7C 03 00 00 */ cmpw r3, r0 -/* 803142CC 0031122C 40 82 00 08 */ bne lbl_803142D4 -/* 803142D0 00311230 38 C0 00 01 */ li r6, 1 -lbl_803142D4: -/* 803142D4 00311234 7C C3 33 78 */ mr r3, r6 -/* 803142D8 00311238 4E 80 00 20 */ blr - -.global __mi__FRC9CVector2iRC9CVector2i -__mi__FRC9CVector2iRC9CVector2i: -/* 803142DC 0031123C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803142E0 00311240 7C 08 02 A6 */ mflr r0 -/* 803142E4 00311244 90 01 00 14 */ stw r0, 0x14(r1) -/* 803142E8 00311248 80 E5 00 00 */ lwz r7, 0(r5) -/* 803142EC 0031124C 80 C4 00 00 */ lwz r6, 0(r4) -/* 803142F0 00311250 80 04 00 04 */ lwz r0, 4(r4) -/* 803142F4 00311254 80 A5 00 04 */ lwz r5, 4(r5) -/* 803142F8 00311258 7C 87 30 50 */ subf r4, r7, r6 -/* 803142FC 0031125C 7C A5 00 50 */ subf r5, r5, r0 -/* 80314300 00311260 48 00 00 4D */ bl __ct__9CVector2iFii -/* 80314304 00311264 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80314308 00311268 7C 08 03 A6 */ mtlr r0 -/* 8031430C 0031126C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80314310 00311270 4E 80 00 20 */ blr - -.global __pl__FRC9CVector2iRC9CVector2i -__pl__FRC9CVector2iRC9CVector2i: -/* 80314314 00311274 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80314318 00311278 7C 08 02 A6 */ mflr r0 -/* 8031431C 0031127C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80314320 00311280 80 E5 00 00 */ lwz r7, 0(r5) -/* 80314324 00311284 81 04 00 00 */ lwz r8, 0(r4) -/* 80314328 00311288 80 C4 00 04 */ lwz r6, 4(r4) -/* 8031432C 0031128C 80 05 00 04 */ lwz r0, 4(r5) -/* 80314330 00311290 7C 88 3A 14 */ add r4, r8, r7 -/* 80314334 00311294 7C A6 02 14 */ add r5, r6, r0 -/* 80314338 00311298 48 00 00 15 */ bl __ct__9CVector2iFii -/* 8031433C 0031129C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80314340 003112A0 7C 08 03 A6 */ mtlr r0 -/* 80314344 003112A4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80314348 003112A8 4E 80 00 20 */ blr - -.global __ct__9CVector2iFii -__ct__9CVector2iFii: -/* 8031434C 003112AC 90 83 00 00 */ stw r4, 0(r3) -/* 80314350 003112B0 90 A3 00 04 */ stw r5, 4(r3) -/* 80314354 003112B4 4E 80 00 20 */ blr - -.global __ml__FdRC9CVector3d -__ml__FdRC9CVector3d: -/* 80314358 003112B8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8031435C 003112BC 7C 08 02 A6 */ mflr r0 -/* 80314360 003112C0 FC 60 08 90 */ fmr f3, f1 -/* 80314364 003112C4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80314368 003112C8 C8 24 00 00 */ lfd f1, 0(r4) -/* 8031436C 003112CC C8 44 00 08 */ lfd f2, 8(r4) -/* 80314370 003112D0 C8 04 00 10 */ lfd f0, 0x10(r4) -/* 80314374 003112D4 FC 23 00 72 */ fmul f1, f3, f1 -/* 80314378 003112D8 FC 43 00 B2 */ fmul f2, f3, f2 -/* 8031437C 003112DC FC 63 00 32 */ fmul f3, f3, f0 -/* 80314380 003112E0 48 00 02 21 */ bl __ct__9CVector3dFddd -/* 80314384 003112E4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80314388 003112E8 7C 08 03 A6 */ mtlr r0 -/* 8031438C 003112EC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80314390 003112F0 4E 80 00 20 */ blr - -.global __mi__FRC9CVector3dRC9CVector3d -__mi__FRC9CVector3dRC9CVector3d: -/* 80314394 003112F4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80314398 003112F8 7C 08 02 A6 */ mflr r0 -/* 8031439C 003112FC 90 01 00 14 */ stw r0, 0x14(r1) -/* 803143A0 00311300 C8 24 00 00 */ lfd f1, 0(r4) -/* 803143A4 00311304 C8 05 00 00 */ lfd f0, 0(r5) -/* 803143A8 00311308 C8 84 00 08 */ lfd f4, 8(r4) -/* 803143AC 0031130C C8 45 00 08 */ lfd f2, 8(r5) -/* 803143B0 00311310 FC 21 00 28 */ fsub f1, f1, f0 -/* 803143B4 00311314 C8 64 00 10 */ lfd f3, 0x10(r4) -/* 803143B8 00311318 C8 05 00 10 */ lfd f0, 0x10(r5) -/* 803143BC 0031131C FC 44 10 28 */ fsub f2, f4, f2 -/* 803143C0 00311320 FC 63 00 28 */ fsub f3, f3, f0 -/* 803143C4 00311324 48 00 01 DD */ bl __ct__9CVector3dFddd -/* 803143C8 00311328 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803143CC 0031132C 7C 08 03 A6 */ mtlr r0 -/* 803143D0 00311330 38 21 00 10 */ addi r1, r1, 0x10 -/* 803143D4 00311334 4E 80 00 20 */ blr - -.global __pl__FRC9CVector3dRC9CVector3d -__pl__FRC9CVector3dRC9CVector3d: -/* 803143D8 00311338 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803143DC 0031133C 7C 08 02 A6 */ mflr r0 -/* 803143E0 00311340 90 01 00 14 */ stw r0, 0x14(r1) -/* 803143E4 00311344 C8 24 00 00 */ lfd f1, 0(r4) -/* 803143E8 00311348 C8 05 00 00 */ lfd f0, 0(r5) -/* 803143EC 0031134C C8 84 00 08 */ lfd f4, 8(r4) -/* 803143F0 00311350 C8 45 00 08 */ lfd f2, 8(r5) -/* 803143F4 00311354 FC 21 00 2A */ fadd f1, f1, f0 -/* 803143F8 00311358 C8 64 00 10 */ lfd f3, 0x10(r4) -/* 803143FC 0031135C C8 05 00 10 */ lfd f0, 0x10(r5) -/* 80314400 00311360 FC 44 10 2A */ fadd f2, f4, f2 -/* 80314404 00311364 FC 63 00 2A */ fadd f3, f3, f0 -/* 80314408 00311368 48 00 01 99 */ bl __ct__9CVector3dFddd -/* 8031440C 0031136C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80314410 00311370 7C 08 03 A6 */ mtlr r0 -/* 80314414 00311374 38 21 00 10 */ addi r1, r1, 0x10 -/* 80314418 00311378 4E 80 00 20 */ blr - -.global Cross__9CVector3dFRC9CVector3dRC9CVector3d -Cross__9CVector3dFRC9CVector3dRC9CVector3d: -/* 8031441C 0031137C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80314420 00311380 7C 08 02 A6 */ mflr r0 -/* 80314424 00311384 90 01 00 14 */ stw r0, 0x14(r1) -/* 80314428 00311388 C8 84 00 00 */ lfd f4, 0(r4) -/* 8031442C 0031138C C9 05 00 10 */ lfd f8, 0x10(r5) -/* 80314430 00311390 C8 A4 00 08 */ lfd f5, 8(r4) -/* 80314434 00311394 C8 C5 00 00 */ lfd f6, 0(r5) -/* 80314438 00311398 FC 28 01 32 */ fmul f1, f8, f4 -/* 8031443C 0031139C C8 44 00 10 */ lfd f2, 0x10(r4) -/* 80314440 003113A0 C8 E5 00 08 */ lfd f7, 8(r5) -/* 80314444 003113A4 FC 06 01 72 */ fmul f0, f6, f5 -/* 80314448 003113A8 FC 67 00 B2 */ fmul f3, f7, f2 -/* 8031444C 003113AC FC 42 09 B8 */ fmsub f2, f2, f6, f1 -/* 80314450 003113B0 FC 25 1A 38 */ fmsub f1, f5, f8, f3 -/* 80314454 003113B4 FC 64 01 F8 */ fmsub f3, f4, f7, f0 -/* 80314458 003113B8 48 00 01 49 */ bl __ct__9CVector3dFddd -/* 8031445C 003113BC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80314460 003113C0 7C 08 03 A6 */ mtlr r0 -/* 80314464 003113C4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80314468 003113C8 4E 80 00 20 */ blr - -.global Dot__9CVector3dFRC9CVector3dRC9CVector3d -Dot__9CVector3dFRC9CVector3dRC9CVector3d: -/* 8031446C 003113CC C8 23 00 00 */ lfd f1, 0(r3) -/* 80314470 003113D0 C8 04 00 00 */ lfd f0, 0(r4) -/* 80314474 003113D4 C8 83 00 08 */ lfd f4, 8(r3) -/* 80314478 003113D8 FC 21 00 32 */ fmul f1, f1, f0 -/* 8031447C 003113DC C8 64 00 08 */ lfd f3, 8(r4) -/* 80314480 003113E0 C8 43 00 10 */ lfd f2, 0x10(r3) -/* 80314484 003113E4 C8 04 00 10 */ lfd f0, 0x10(r4) -/* 80314488 003113E8 FC 24 08 FA */ fmadd f1, f4, f3, f1 -/* 8031448C 003113EC FC 22 08 3A */ fmadd f1, f2, f0, f1 -/* 80314490 003113F0 4E 80 00 20 */ blr - -.global AsCVector3f__9CVector3dCFv -AsCVector3f__9CVector3dCFv: -/* 80314494 003113F4 C8 04 00 00 */ lfd f0, 0(r4) -/* 80314498 003113F8 C8 44 00 08 */ lfd f2, 8(r4) -/* 8031449C 003113FC FC 00 00 18 */ frsp f0, f0 -/* 803144A0 00311400 C8 24 00 10 */ lfd f1, 0x10(r4) -/* 803144A4 00311404 FC 40 10 18 */ frsp f2, f2 -/* 803144A8 00311408 FC 20 08 18 */ frsp f1, f1 -/* 803144AC 0031140C D0 03 00 00 */ stfs f0, 0(r3) -/* 803144B0 00311410 D0 43 00 04 */ stfs f2, 4(r3) -/* 803144B4 00311414 D0 23 00 08 */ stfs f1, 8(r3) -/* 803144B8 00311418 4E 80 00 20 */ blr - -.global AsNormalized__9CVector3dCFv -AsNormalized__9CVector3dCFv: -/* 803144BC 0031141C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803144C0 00311420 7C 08 02 A6 */ mflr r0 -/* 803144C4 00311424 90 01 00 14 */ stw r0, 0x14(r1) -/* 803144C8 00311428 93 E1 00 0C */ stw r31, 0xc(r1) -/* 803144CC 0031142C 7C 9F 23 78 */ mr r31, r4 -/* 803144D0 00311430 93 C1 00 08 */ stw r30, 8(r1) -/* 803144D4 00311434 7C 7E 1B 78 */ mr r30, r3 -/* 803144D8 00311438 7F E3 FB 78 */ mr r3, r31 -/* 803144DC 0031143C 48 00 00 69 */ bl Magnitude__9CVector3dCFv -/* 803144E0 00311440 C8 02 C9 08 */ lfd f0, lbl_805AE628@sda21(r2) -/* 803144E4 00311444 7F C3 F3 78 */ mr r3, r30 -/* 803144E8 00311448 C8 7F 00 00 */ lfd f3, 0(r31) -/* 803144EC 0031144C FC 80 08 24 */ fdiv f4, f0, f1 -/* 803144F0 00311450 C8 5F 00 08 */ lfd f2, 8(r31) -/* 803144F4 00311454 C8 1F 00 10 */ lfd f0, 0x10(r31) -/* 803144F8 00311458 FC 23 01 32 */ fmul f1, f3, f4 -/* 803144FC 0031145C FC 42 01 32 */ fmul f2, f2, f4 -/* 80314500 00311460 FC 60 01 32 */ fmul f3, f0, f4 -/* 80314504 00311464 48 00 00 9D */ bl __ct__9CVector3dFddd -/* 80314508 00311468 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8031450C 0031146C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80314510 00311470 83 C1 00 08 */ lwz r30, 8(r1) -/* 80314514 00311474 7C 08 03 A6 */ mtlr r0 -/* 80314518 00311478 38 21 00 10 */ addi r1, r1, 0x10 -/* 8031451C 0031147C 4E 80 00 20 */ blr - -.global MagSquared__9CVector3dCFv -MagSquared__9CVector3dCFv: -/* 80314520 00311480 C8 03 00 00 */ lfd f0, 0(r3) -/* 80314524 00311484 C8 43 00 08 */ lfd f2, 8(r3) -/* 80314528 00311488 FC 20 00 32 */ fmul f1, f0, f0 -/* 8031452C 0031148C C8 03 00 10 */ lfd f0, 0x10(r3) -/* 80314530 00311490 FC 42 00 B2 */ fmul f2, f2, f2 -/* 80314534 00311494 FC 00 00 32 */ fmul f0, f0, f0 -/* 80314538 00311498 FC 21 10 2A */ fadd f1, f1, f2 -/* 8031453C 0031149C FC 21 00 2A */ fadd f1, f1, f0 -/* 80314540 003114A0 4E 80 00 20 */ blr - -.global Magnitude__9CVector3dCFv -Magnitude__9CVector3dCFv: -/* 80314544 003114A4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80314548 003114A8 7C 08 02 A6 */ mflr r0 -/* 8031454C 003114AC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80314550 003114B0 C8 03 00 00 */ lfd f0, 0(r3) -/* 80314554 003114B4 C8 43 00 08 */ lfd f2, 8(r3) -/* 80314558 003114B8 FC 20 00 32 */ fmul f1, f0, f0 -/* 8031455C 003114BC C8 03 00 10 */ lfd f0, 0x10(r3) -/* 80314560 003114C0 FC 42 00 B2 */ fmul f2, f2, f2 -/* 80314564 003114C4 FC 00 00 32 */ fmul f0, f0, f0 -/* 80314568 003114C8 FC 21 10 2A */ fadd f1, f1, f2 -/* 8031456C 003114CC FC 21 00 2A */ fadd f1, f1, f0 -/* 80314570 003114D0 48 00 0F 01 */ bl SqrtD__5CMathFd -/* 80314574 003114D4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80314578 003114D8 7C 08 03 A6 */ mtlr r0 -/* 8031457C 003114DC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80314580 003114E0 4E 80 00 20 */ blr - -.global __ct__9CVector3dFRC9CVector3f -__ct__9CVector3dFRC9CVector3f: -/* 80314584 003114E4 C0 04 00 00 */ lfs f0, 0(r4) -/* 80314588 003114E8 D8 03 00 00 */ stfd f0, 0(r3) -/* 8031458C 003114EC C0 04 00 04 */ lfs f0, 4(r4) -/* 80314590 003114F0 D8 03 00 08 */ stfd f0, 8(r3) -/* 80314594 003114F4 C0 04 00 08 */ lfs f0, 8(r4) -/* 80314598 003114F8 D8 03 00 10 */ stfd f0, 0x10(r3) -/* 8031459C 003114FC 4E 80 00 20 */ blr - -.global __ct__9CVector3dFddd -__ct__9CVector3dFddd: -/* 803145A0 00311500 D8 23 00 00 */ stfd f1, 0(r3) -/* 803145A4 00311504 D8 43 00 08 */ stfd f2, 8(r3) -/* 803145A8 00311508 D8 63 00 10 */ stfd f3, 0x10(r3) -/* 803145AC 0031150C 4E 80 00 20 */ blr - -.global IsEqu__9CVector3fCFRC9CVector3ff -IsEqu__9CVector3fCFRC9CVector3ff: -/* 803145B0 00311510 C0 43 00 00 */ lfs f2, 0(r3) -/* 803145B4 00311514 38 A0 00 00 */ li r5, 0 -/* 803145B8 00311518 C0 04 00 00 */ lfs f0, 0(r4) -/* 803145BC 0031151C 7C A0 2B 78 */ mr r0, r5 -/* 803145C0 00311520 EC 02 00 28 */ fsubs f0, f2, f0 -/* 803145C4 00311524 FC 00 02 10 */ fabs f0, f0 -/* 803145C8 00311528 FC 00 00 18 */ frsp f0, f0 -/* 803145CC 0031152C FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 803145D0 00311530 4C 40 13 82 */ cror 2, 0, 2 -/* 803145D4 00311534 40 82 00 28 */ bne lbl_803145FC -/* 803145D8 00311538 C0 43 00 04 */ lfs f2, 4(r3) -/* 803145DC 0031153C C0 04 00 04 */ lfs f0, 4(r4) -/* 803145E0 00311540 EC 02 00 28 */ fsubs f0, f2, f0 -/* 803145E4 00311544 FC 00 02 10 */ fabs f0, f0 -/* 803145E8 00311548 FC 00 00 18 */ frsp f0, f0 -/* 803145EC 0031154C FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 803145F0 00311550 4C 40 13 82 */ cror 2, 0, 2 -/* 803145F4 00311554 40 82 00 08 */ bne lbl_803145FC -/* 803145F8 00311558 38 00 00 01 */ li r0, 1 -lbl_803145FC: -/* 803145FC 0031155C 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 80314600 00311560 41 82 00 28 */ beq lbl_80314628 -/* 80314604 00311564 C0 43 00 08 */ lfs f2, 8(r3) -/* 80314608 00311568 C0 04 00 08 */ lfs f0, 8(r4) -/* 8031460C 0031156C EC 02 00 28 */ fsubs f0, f2, f0 -/* 80314610 00311570 FC 00 02 10 */ fabs f0, f0 -/* 80314614 00311574 FC 00 00 18 */ frsp f0, f0 -/* 80314618 00311578 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 8031461C 0031157C 4C 40 13 82 */ cror 2, 0, 2 -/* 80314620 00311580 40 82 00 08 */ bne lbl_80314628 -/* 80314624 00311584 38 A0 00 01 */ li r5, 1 -lbl_80314628: -/* 80314628 00311588 7C A3 2B 78 */ mr r3, r5 -/* 8031462C 0031158C 4E 80 00 20 */ blr - -.global GetAngleDiff__9CVector3fFRC9CVector3fRC9CVector3f -GetAngleDiff__9CVector3fFRC9CVector3fRC9CVector3f: -/* 80314630 00311590 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80314634 00311594 7C 08 02 A6 */ mflr r0 -/* 80314638 00311598 90 01 00 24 */ stw r0, 0x24(r1) -/* 8031463C 0031159C DB E1 00 10 */ stfd f31, 0x10(r1) -/* 80314640 003115A0 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 -/* 80314644 003115A4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80314648 003115A8 93 C1 00 08 */ stw r30, 8(r1) -/* 8031464C 003115AC 7C 7E 1B 78 */ mr r30, r3 -/* 80314650 003115B0 7C 9F 23 78 */ mr r31, r4 -/* 80314654 003115B4 48 00 02 65 */ bl Magnitude__9CVector3fCFv -/* 80314658 003115B8 FF E0 08 90 */ fmr f31, f1 -/* 8031465C 003115BC 7F E3 FB 78 */ mr r3, r31 -/* 80314660 003115C0 48 00 02 59 */ bl Magnitude__9CVector3fCFv -/* 80314664 003115C4 C0 02 C9 14 */ lfs f0, lbl_805AE634@sda21(r2) -/* 80314668 003115C8 C0 42 C9 10 */ lfs f2, lbl_805AE630@sda21(r2) -/* 8031466C 003115CC FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 80314670 003115D0 40 81 00 64 */ ble lbl_803146D4 -/* 80314674 003115D4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80314678 003115D8 40 81 00 5C */ ble lbl_803146D4 -/* 8031467C 003115DC C0 5E 00 04 */ lfs f2, 4(r30) -/* 80314680 003115E0 EC 3F 00 72 */ fmuls f1, f31, f1 -/* 80314684 003115E4 C0 1F 00 04 */ lfs f0, 4(r31) -/* 80314688 003115E8 C0 7E 00 00 */ lfs f3, 0(r30) -/* 8031468C 003115EC EC 02 00 32 */ fmuls f0, f2, f0 -/* 80314690 003115F0 C0 5F 00 00 */ lfs f2, 0(r31) -/* 80314694 003115F4 C0 BE 00 08 */ lfs f5, 8(r30) -/* 80314698 003115F8 C0 9F 00 08 */ lfs f4, 8(r31) -/* 8031469C 003115FC EC 43 00 BA */ fmadds f2, f3, f2, f0 -/* 803146A0 00311600 C0 02 C9 18 */ lfs f0, lbl_805AE638@sda21(r2) -/* 803146A4 00311604 EC 45 11 3A */ fmadds f2, f5, f4, f2 -/* 803146A8 00311608 EC 22 08 24 */ fdivs f1, f2, f1 -/* 803146AC 0031160C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 803146B0 00311610 40 80 00 0C */ bge lbl_803146BC -/* 803146B4 00311614 FC 20 00 90 */ fmr f1, f0 -/* 803146B8 00311618 48 00 00 14 */ b lbl_803146CC -lbl_803146BC: -/* 803146BC 0031161C C0 02 C9 1C */ lfs f0, lbl_805AE63C@sda21(r2) -/* 803146C0 00311620 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 803146C4 00311624 40 81 00 08 */ ble lbl_803146CC -/* 803146C8 00311628 FC 20 00 90 */ fmr f1, f0 -lbl_803146CC: -/* 803146CC 0031162C 48 00 0C C5 */ bl ArcCosineR__5CMathFf -/* 803146D0 00311630 FC 40 08 90 */ fmr f2, f1 -lbl_803146D4: -/* 803146D4 00311634 FC 20 10 90 */ fmr f1, f2 -/* 803146D8 00311638 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 -/* 803146DC 0031163C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 803146E0 00311640 CB E1 00 10 */ lfd f31, 0x10(r1) -/* 803146E4 00311644 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 803146E8 00311648 83 C1 00 08 */ lwz r30, 8(r1) -/* 803146EC 0031164C 7C 08 03 A6 */ mtlr r0 -/* 803146F0 00311650 38 21 00 20 */ addi r1, r1, 0x20 -/* 803146F4 00311654 4E 80 00 20 */ blr - -.global CanBeNormalized__9CVector3fCFv -CanBeNormalized__9CVector3fCFv: -/* 803146F8 00311658 80 03 00 00 */ lwz r0, 0(r3) -/* 803146FC 0031165C 80 A3 00 04 */ lwz r5, 4(r3) -/* 80314700 00311660 54 04 00 50 */ rlwinm r4, r0, 0, 1, 8 -/* 80314704 00311664 80 C3 00 08 */ lwz r6, 8(r3) -/* 80314708 00311668 3C 04 80 80 */ addis r0, r4, 0x8080 -/* 8031470C 0031166C 28 00 00 00 */ cmplwi r0, 0 -/* 80314710 00311670 41 82 00 24 */ beq lbl_80314734 -/* 80314714 00311674 54 A4 00 50 */ rlwinm r4, r5, 0, 1, 8 -/* 80314718 00311678 3C 04 80 80 */ addis r0, r4, 0x8080 -/* 8031471C 0031167C 28 00 00 00 */ cmplwi r0, 0 -/* 80314720 00311680 41 82 00 14 */ beq lbl_80314734 -/* 80314724 00311684 54 C4 00 50 */ rlwinm r4, r6, 0, 1, 8 -/* 80314728 00311688 3C 04 80 80 */ addis r0, r4, 0x8080 -/* 8031472C 0031168C 28 00 00 00 */ cmplwi r0, 0 -/* 80314730 00311690 40 82 00 0C */ bne lbl_8031473C -lbl_80314734: -/* 80314734 00311694 38 60 00 00 */ li r3, 0 -/* 80314738 00311698 4E 80 00 20 */ blr -lbl_8031473C: -/* 8031473C 0031169C C0 03 00 00 */ lfs f0, 0(r3) -/* 80314740 003116A0 C0 22 C9 14 */ lfs f1, lbl_805AE634@sda21(r2) -/* 80314744 003116A4 FC 00 02 10 */ fabs f0, f0 -/* 80314748 003116A8 FC 00 00 18 */ frsp f0, f0 -/* 8031474C 003116AC FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80314750 003116B0 40 80 00 34 */ bge lbl_80314784 -/* 80314754 003116B4 C0 03 00 04 */ lfs f0, 4(r3) -/* 80314758 003116B8 FC 00 02 10 */ fabs f0, f0 -/* 8031475C 003116BC FC 00 00 18 */ frsp f0, f0 -/* 80314760 003116C0 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80314764 003116C4 40 80 00 20 */ bge lbl_80314784 -/* 80314768 003116C8 C0 03 00 08 */ lfs f0, 8(r3) -/* 8031476C 003116CC FC 00 02 10 */ fabs f0, f0 -/* 80314770 003116D0 FC 00 00 18 */ frsp f0, f0 -/* 80314774 003116D4 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80314778 003116D8 40 80 00 0C */ bge lbl_80314784 -/* 8031477C 003116DC 38 60 00 00 */ li r3, 0 -/* 80314780 003116E0 4E 80 00 20 */ blr -lbl_80314784: -/* 80314784 003116E4 38 60 00 01 */ li r3, 1 -/* 80314788 003116E8 4E 80 00 20 */ blr - -.global IsMagnitudeSafe__9CVector3fCFv -IsMagnitudeSafe__9CVector3fCFv: -/* 8031478C 003116EC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80314790 003116F0 7C 08 02 A6 */ mflr r0 -/* 80314794 003116F4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80314798 003116F8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8031479C 003116FC 3B E0 00 00 */ li r31, 0 -/* 803147A0 00311700 93 C1 00 08 */ stw r30, 8(r1) -/* 803147A4 00311704 7C 7E 1B 78 */ mr r30, r3 -/* 803147A8 00311708 48 00 00 5D */ bl IsNotInf__9CVector3fCFv -/* 803147AC 0031170C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 803147B0 00311710 41 82 00 38 */ beq lbl_803147E8 -/* 803147B4 00311714 C0 3E 00 00 */ lfs f1, 0(r30) -/* 803147B8 00311718 C0 1E 00 04 */ lfs f0, 4(r30) -/* 803147BC 0031171C EC 41 00 72 */ fmuls f2, f1, f1 -/* 803147C0 00311720 C0 7E 00 08 */ lfs f3, 8(r30) -/* 803147C4 00311724 EC 20 00 32 */ fmuls f1, f0, f0 -/* 803147C8 00311728 C0 02 C9 20 */ lfs f0, lbl_805AE640@sda21(r2) -/* 803147CC 0031172C EC 63 00 F2 */ fmuls f3, f3, f3 -/* 803147D0 00311730 EC 22 08 2A */ fadds f1, f2, f1 -/* 803147D4 00311734 EC 23 08 2A */ fadds f1, f3, f1 -/* 803147D8 00311738 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 803147DC 0031173C 4C 41 13 82 */ cror 2, 1, 2 -/* 803147E0 00311740 40 82 00 08 */ bne lbl_803147E8 -/* 803147E4 00311744 3B E0 00 01 */ li r31, 1 -lbl_803147E8: -/* 803147E8 00311748 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803147EC 0031174C 7F E3 FB 78 */ mr r3, r31 -/* 803147F0 00311750 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 803147F4 00311754 83 C1 00 08 */ lwz r30, 8(r1) -/* 803147F8 00311758 7C 08 03 A6 */ mtlr r0 -/* 803147FC 0031175C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80314800 00311760 4E 80 00 20 */ blr - -.global IsNotInf__9CVector3fCFv -IsNotInf__9CVector3fCFv: -/* 80314804 00311764 80 03 00 00 */ lwz r0, 0(r3) -/* 80314808 00311768 80 A3 00 04 */ lwz r5, 4(r3) -/* 8031480C 0031176C 54 04 00 50 */ rlwinm r4, r0, 0, 1, 8 -/* 80314810 00311770 80 C3 00 08 */ lwz r6, 8(r3) -/* 80314814 00311774 3C 04 80 80 */ addis r0, r4, 0x8080 -/* 80314818 00311778 28 00 00 00 */ cmplwi r0, 0 -/* 8031481C 0031177C 41 82 00 24 */ beq lbl_80314840 -/* 80314820 00311780 54 A3 00 50 */ rlwinm r3, r5, 0, 1, 8 -/* 80314824 00311784 3C 03 80 80 */ addis r0, r3, 0x8080 -/* 80314828 00311788 28 00 00 00 */ cmplwi r0, 0 -/* 8031482C 0031178C 41 82 00 14 */ beq lbl_80314840 -/* 80314830 00311790 54 C3 00 50 */ rlwinm r3, r6, 0, 1, 8 -/* 80314834 00311794 3C 03 80 80 */ addis r0, r3, 0x8080 -/* 80314838 00311798 28 00 00 00 */ cmplwi r0, 0 -/* 8031483C 0031179C 40 82 00 0C */ bne lbl_80314848 -lbl_80314840: -/* 80314840 003117A0 38 60 00 00 */ li r3, 0 -/* 80314844 003117A4 4E 80 00 20 */ blr -lbl_80314848: -/* 80314848 003117A8 38 60 00 01 */ li r3, 1 -/* 8031484C 003117AC 4E 80 00 20 */ blr - -.global AsNormalized__9CVector3fCFv -AsNormalized__9CVector3fCFv: -/* 80314850 003117B0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80314854 003117B4 7C 08 02 A6 */ mflr r0 -/* 80314858 003117B8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8031485C 003117BC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80314860 003117C0 7C 9F 23 78 */ mr r31, r4 -/* 80314864 003117C4 93 C1 00 08 */ stw r30, 8(r1) -/* 80314868 003117C8 7C 7E 1B 78 */ mr r30, r3 -/* 8031486C 003117CC 7F E3 FB 78 */ mr r3, r31 -/* 80314870 003117D0 48 00 00 49 */ bl Magnitude__9CVector3fCFv -/* 80314874 003117D4 C0 42 C9 1C */ lfs f2, lbl_805AE63C@sda21(r2) -/* 80314878 003117D8 C0 1F 00 00 */ lfs f0, 0(r31) -/* 8031487C 003117DC EC 62 08 24 */ fdivs f3, f2, f1 -/* 80314880 003117E0 C0 5F 00 04 */ lfs f2, 4(r31) -/* 80314884 003117E4 C0 3F 00 08 */ lfs f1, 8(r31) -/* 80314888 003117E8 EC 00 00 F2 */ fmuls f0, f0, f3 -/* 8031488C 003117EC EC 42 00 F2 */ fmuls f2, f2, f3 -/* 80314890 003117F0 EC 21 00 F2 */ fmuls f1, f1, f3 -/* 80314894 003117F4 D0 1E 00 00 */ stfs f0, 0(r30) -/* 80314898 003117F8 D0 5E 00 04 */ stfs f2, 4(r30) -/* 8031489C 003117FC D0 3E 00 08 */ stfs f1, 8(r30) -/* 803148A0 00311800 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803148A4 00311804 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 803148A8 00311808 83 C1 00 08 */ lwz r30, 8(r1) -/* 803148AC 0031180C 7C 08 03 A6 */ mtlr r0 -/* 803148B0 00311810 38 21 00 10 */ addi r1, r1, 0x10 -/* 803148B4 00311814 4E 80 00 20 */ blr - -.global Magnitude__9CVector3fCFv -Magnitude__9CVector3fCFv: -/* 803148B8 00311818 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803148BC 0031181C 7C 08 02 A6 */ mflr r0 -/* 803148C0 00311820 90 01 00 14 */ stw r0, 0x14(r1) -/* 803148C4 00311824 C0 03 00 00 */ lfs f0, 0(r3) -/* 803148C8 00311828 C0 43 00 04 */ lfs f2, 4(r3) -/* 803148CC 0031182C EC 20 00 32 */ fmuls f1, f0, f0 -/* 803148D0 00311830 C0 03 00 08 */ lfs f0, 8(r3) -/* 803148D4 00311834 EC 42 00 B2 */ fmuls f2, f2, f2 -/* 803148D8 00311838 EC 00 00 32 */ fmuls f0, f0, f0 -/* 803148DC 0031183C EC 21 10 2A */ fadds f1, f1, f2 -/* 803148E0 00311840 EC 21 00 2A */ fadds f1, f1, f0 -/* 803148E4 00311844 48 00 0C 1D */ bl SqrtF__5CMathFf -/* 803148E8 00311848 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803148EC 0031184C 7C 08 03 A6 */ mtlr r0 -/* 803148F0 00311850 38 21 00 10 */ addi r1, r1, 0x10 -/* 803148F4 00311854 4E 80 00 20 */ blr - -.global Normalize__9CVector3fFv -Normalize__9CVector3fFv: -/* 803148F8 00311858 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803148FC 0031185C 7C 08 02 A6 */ mflr r0 -/* 80314900 00311860 90 01 00 14 */ stw r0, 0x14(r1) -/* 80314904 00311864 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80314908 00311868 7C 7F 1B 78 */ mr r31, r3 -/* 8031490C 0031186C 4B FF FF AD */ bl Magnitude__9CVector3fCFv -/* 80314910 00311870 C0 42 C9 1C */ lfs f2, lbl_805AE63C@sda21(r2) -/* 80314914 00311874 7F E3 FB 78 */ mr r3, r31 -/* 80314918 00311878 C0 1F 00 00 */ lfs f0, 0(r31) -/* 8031491C 0031187C EC 22 08 24 */ fdivs f1, f2, f1 -/* 80314920 00311880 EC 00 00 72 */ fmuls f0, f0, f1 -/* 80314924 00311884 D0 1F 00 00 */ stfs f0, 0(r31) -/* 80314928 00311888 C0 1F 00 04 */ lfs f0, 4(r31) -/* 8031492C 0031188C EC 00 00 72 */ fmuls f0, f0, f1 -/* 80314930 00311890 D0 1F 00 04 */ stfs f0, 4(r31) -/* 80314934 00311894 C0 1F 00 08 */ lfs f0, 8(r31) -/* 80314938 00311898 EC 00 00 72 */ fmuls f0, f0, f1 -/* 8031493C 0031189C D0 1F 00 08 */ stfs f0, 8(r31) -/* 80314940 003118A0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80314944 003118A4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80314948 003118A8 7C 08 03 A6 */ mtlr r0 -/* 8031494C 003118AC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80314950 003118B0 4E 80 00 20 */ blr - -.global Slerp__9CVector3fFRC9CVector3fRC9CVector3fRC9CRelAngle -Slerp__9CVector3fFRC9CVector3fRC9CVector3fRC9CRelAngle: -/* 80314954 003118B4 94 21 FF 50 */ stwu r1, -0xb0(r1) -/* 80314958 003118B8 7C 08 02 A6 */ mflr r0 -/* 8031495C 003118BC 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 80314960 003118C0 DB E1 00 A0 */ stfd f31, 0xa0(r1) -/* 80314964 003118C4 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 -/* 80314968 003118C8 DB C1 00 90 */ stfd f30, 0x90(r1) -/* 8031496C 003118CC F3 C1 00 98 */ psq_st f30, 152(r1), 0, qr0 -/* 80314970 003118D0 DB A1 00 80 */ stfd f29, 0x80(r1) -/* 80314974 003118D4 F3 A1 00 88 */ psq_st f29, 136(r1), 0, qr0 -/* 80314978 003118D8 DB 81 00 70 */ stfd f28, 0x70(r1) -/* 8031497C 003118DC F3 81 00 78 */ psq_st f28, 120(r1), 0, qr0 -/* 80314980 003118E0 DB 61 00 60 */ stfd f27, 0x60(r1) -/* 80314984 003118E4 F3 61 00 68 */ psq_st f27, 104(r1), 0, qr0 -/* 80314988 003118E8 DB 41 00 50 */ stfd f26, 0x50(r1) -/* 8031498C 003118EC F3 41 00 58 */ psq_st f26, 88(r1), 0, qr0 -/* 80314990 003118F0 DB 21 00 40 */ stfd f25, 0x40(r1) -/* 80314994 003118F4 F3 21 00 48 */ psq_st f25, 72(r1), 0, qr0 -/* 80314998 003118F8 DB 01 00 30 */ stfd f24, 0x30(r1) -/* 8031499C 003118FC F3 01 00 38 */ psq_st f24, 56(r1), 0, qr0 -/* 803149A0 00311900 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 803149A4 00311904 93 C1 00 28 */ stw r30, 0x28(r1) -/* 803149A8 00311908 93 A1 00 24 */ stw r29, 0x24(r1) -/* 803149AC 0031190C 7C 9E 23 78 */ mr r30, r4 -/* 803149B0 00311910 7C 7D 1B 78 */ mr r29, r3 -/* 803149B4 00311914 C0 64 00 00 */ lfs f3, 0(r4) -/* 803149B8 00311918 7C DF 33 78 */ mr r31, r6 -/* 803149BC 0031191C C0 E5 00 08 */ lfs f7, 8(r5) -/* 803149C0 00311920 38 61 00 14 */ addi r3, r1, 0x14 -/* 803149C4 00311924 C0 84 00 04 */ lfs f4, 4(r4) -/* 803149C8 00311928 38 81 00 08 */ addi r4, r1, 8 -/* 803149CC 0031192C C0 A5 00 00 */ lfs f5, 0(r5) -/* 803149D0 00311930 EC 27 00 F2 */ fmuls f1, f7, f3 -/* 803149D4 00311934 C0 5E 00 08 */ lfs f2, 8(r30) -/* 803149D8 00311938 C0 C5 00 04 */ lfs f6, 4(r5) -/* 803149DC 0031193C EC 05 01 32 */ fmuls f0, f5, f4 -/* 803149E0 00311940 EC 22 09 78 */ fmsubs f1, f2, f5, f1 -/* 803149E4 00311944 EC 46 00 B2 */ fmuls f2, f6, f2 -/* 803149E8 00311948 EC 03 01 B8 */ fmsubs f0, f3, f6, f0 -/* 803149EC 0031194C D0 21 00 0C */ stfs f1, 0xc(r1) -/* 803149F0 00311950 EC 24 11 F8 */ fmsubs f1, f4, f7, f2 -/* 803149F4 00311954 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 803149F8 00311958 D0 21 00 08 */ stfs f1, 8(r1) -/* 803149FC 0031195C 4B FF FE 55 */ bl AsNormalized__9CVector3fCFv -/* 80314A00 00311960 C3 41 00 18 */ lfs f26, 0x18(r1) -/* 80314A04 00311964 C3 DE 00 00 */ lfs f30, 0(r30) -/* 80314A08 00311968 C3 BE 00 04 */ lfs f29, 4(r30) -/* 80314A0C 0031196C EC 1E 06 B2 */ fmuls f0, f30, f26 -/* 80314A10 00311970 C3 01 00 14 */ lfs f24, 0x14(r1) -/* 80314A14 00311974 C3 21 00 1C */ lfs f25, 0x1c(r1) -/* 80314A18 00311978 C3 9E 00 08 */ lfs f28, 8(r30) -/* 80314A1C 0031197C EF F8 07 78 */ fmsubs f31, f24, f29, f0 -/* 80314A20 00311980 C0 3F 00 00 */ lfs f1, 0(r31) -/* 80314A24 00311984 48 08 00 B9 */ bl sin -/* 80314A28 00311988 FF 60 08 18 */ frsp f27, f1 -/* 80314A2C 0031198C C0 3F 00 00 */ lfs f1, 0(r31) -/* 80314A30 00311990 48 07 F9 C1 */ bl cos -/* 80314A34 00311994 EC 1D 06 72 */ fmuls f0, f29, f25 -/* 80314A38 00311998 C0 5E 00 00 */ lfs f2, 0(r30) -/* 80314A3C 0031199C EC 9C 06 32 */ fmuls f4, f28, f24 -/* 80314A40 003119A0 C0 BE 00 04 */ lfs f5, 4(r30) -/* 80314A44 003119A4 FC C0 08 18 */ frsp f6, f1 -/* 80314A48 003119A8 C0 7E 00 08 */ lfs f3, 8(r30) -/* 80314A4C 003119AC EC 1A 07 38 */ fmsubs f0, f26, f28, f0 -/* 80314A50 003119B0 EC 99 27 B8 */ fmsubs f4, f25, f30, f4 -/* 80314A54 003119B4 EC 26 00 B2 */ fmuls f1, f6, f2 -/* 80314A58 003119B8 EC 1B 00 32 */ fmuls f0, f27, f0 -/* 80314A5C 003119BC EC A6 01 72 */ fmuls f5, f6, f5 -/* 80314A60 003119C0 EC 9B 01 32 */ fmuls f4, f27, f4 -/* 80314A64 003119C4 EC 01 00 2A */ fadds f0, f1, f0 -/* 80314A68 003119C8 EC 46 00 F2 */ fmuls f2, f6, f3 -/* 80314A6C 003119CC EC 3B 07 F2 */ fmuls f1, f27, f31 -/* 80314A70 003119D0 D0 1D 00 00 */ stfs f0, 0(r29) -/* 80314A74 003119D4 EC 65 20 2A */ fadds f3, f5, f4 -/* 80314A78 003119D8 EC 02 08 2A */ fadds f0, f2, f1 -/* 80314A7C 003119DC D0 7D 00 04 */ stfs f3, 4(r29) -/* 80314A80 003119E0 D0 1D 00 08 */ stfs f0, 8(r29) -/* 80314A84 003119E4 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 -/* 80314A88 003119E8 CB E1 00 A0 */ lfd f31, 0xa0(r1) -/* 80314A8C 003119EC E3 C1 00 98 */ psq_l f30, 152(r1), 0, qr0 -/* 80314A90 003119F0 CB C1 00 90 */ lfd f30, 0x90(r1) -/* 80314A94 003119F4 E3 A1 00 88 */ psq_l f29, 136(r1), 0, qr0 -/* 80314A98 003119F8 CB A1 00 80 */ lfd f29, 0x80(r1) -/* 80314A9C 003119FC E3 81 00 78 */ psq_l f28, 120(r1), 0, qr0 -/* 80314AA0 00311A00 CB 81 00 70 */ lfd f28, 0x70(r1) -/* 80314AA4 00311A04 E3 61 00 68 */ psq_l f27, 104(r1), 0, qr0 -/* 80314AA8 00311A08 CB 61 00 60 */ lfd f27, 0x60(r1) -/* 80314AAC 00311A0C E3 41 00 58 */ psq_l f26, 88(r1), 0, qr0 -/* 80314AB0 00311A10 CB 41 00 50 */ lfd f26, 0x50(r1) -/* 80314AB4 00311A14 E3 21 00 48 */ psq_l f25, 72(r1), 0, qr0 -/* 80314AB8 00311A18 CB 21 00 40 */ lfd f25, 0x40(r1) -/* 80314ABC 00311A1C E3 01 00 38 */ psq_l f24, 56(r1), 0, qr0 -/* 80314AC0 00311A20 CB 01 00 30 */ lfd f24, 0x30(r1) -/* 80314AC4 00311A24 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80314AC8 00311A28 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80314ACC 00311A2C 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 80314AD0 00311A30 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80314AD4 00311A34 7C 08 03 A6 */ mtlr r0 -/* 80314AD8 00311A38 38 21 00 B0 */ addi r1, r1, 0xb0 -/* 80314ADC 00311A3C 4E 80 00 20 */ blr - -.global PutTo__9CVector3fCFR13COutputStream -PutTo__9CVector3fCFR13COutputStream: -/* 80314AE0 00311A40 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80314AE4 00311A44 7C 08 02 A6 */ mflr r0 -/* 80314AE8 00311A48 90 01 00 34 */ stw r0, 0x34(r1) -/* 80314AEC 00311A4C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80314AF0 00311A50 7C 9F 23 78 */ mr r31, r4 -/* 80314AF4 00311A54 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80314AF8 00311A58 7C 7E 1B 78 */ mr r30, r3 -/* 80314AFC 00311A5C C0 03 00 00 */ lfs f0, 0(r3) -/* 80314B00 00311A60 7F E3 FB 78 */ mr r3, r31 -/* 80314B04 00311A64 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 80314B08 00311A68 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 80314B0C 00311A6C 90 01 00 10 */ stw r0, 0x10(r1) -/* 80314B10 00311A70 48 02 A9 A9 */ bl FlushShiftRegister__13COutputStreamFv -/* 80314B14 00311A74 7F E3 FB 78 */ mr r3, r31 -/* 80314B18 00311A78 38 81 00 10 */ addi r4, r1, 0x10 -/* 80314B1C 00311A7C 38 A0 00 04 */ li r5, 4 -/* 80314B20 00311A80 48 02 AA 89 */ bl DoPut__13COutputStreamFPCvUl -/* 80314B24 00311A84 C0 1E 00 04 */ lfs f0, 4(r30) -/* 80314B28 00311A88 7F E3 FB 78 */ mr r3, r31 -/* 80314B2C 00311A8C D0 01 00 18 */ stfs f0, 0x18(r1) -/* 80314B30 00311A90 80 01 00 18 */ lwz r0, 0x18(r1) -/* 80314B34 00311A94 90 01 00 0C */ stw r0, 0xc(r1) -/* 80314B38 00311A98 48 02 A9 81 */ bl FlushShiftRegister__13COutputStreamFv -/* 80314B3C 00311A9C 7F E3 FB 78 */ mr r3, r31 -/* 80314B40 00311AA0 38 81 00 0C */ addi r4, r1, 0xc -/* 80314B44 00311AA4 38 A0 00 04 */ li r5, 4 -/* 80314B48 00311AA8 48 02 AA 61 */ bl DoPut__13COutputStreamFPCvUl -/* 80314B4C 00311AAC C0 1E 00 08 */ lfs f0, 8(r30) -/* 80314B50 00311AB0 7F E3 FB 78 */ mr r3, r31 -/* 80314B54 00311AB4 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 80314B58 00311AB8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80314B5C 00311ABC 90 01 00 08 */ stw r0, 8(r1) -/* 80314B60 00311AC0 48 02 A9 59 */ bl FlushShiftRegister__13COutputStreamFv -/* 80314B64 00311AC4 7F E3 FB 78 */ mr r3, r31 -/* 80314B68 00311AC8 38 81 00 08 */ addi r4, r1, 8 -/* 80314B6C 00311ACC 38 A0 00 04 */ li r5, 4 -/* 80314B70 00311AD0 48 02 AA 39 */ bl DoPut__13COutputStreamFPCvUl -/* 80314B74 00311AD4 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80314B78 00311AD8 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80314B7C 00311ADC 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80314B80 00311AE0 7C 08 03 A6 */ mtlr r0 -/* 80314B84 00311AE4 38 21 00 30 */ addi r1, r1, 0x30 -/* 80314B88 00311AE8 4E 80 00 20 */ blr - -.global __ct__9CVector3fFR12CInputStream -__ct__9CVector3fFR12CInputStream: -/* 80314B8C 00311AEC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80314B90 00311AF0 7C 08 02 A6 */ mflr r0 -/* 80314B94 00311AF4 38 A0 00 0C */ li r5, 0xc -/* 80314B98 00311AF8 90 01 00 14 */ stw r0, 0x14(r1) -/* 80314B9C 00311AFC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80314BA0 00311B00 7C 7F 1B 78 */ mr r31, r3 -/* 80314BA4 00311B04 7C 83 23 78 */ mr r3, r4 -/* 80314BA8 00311B08 7F E4 FB 78 */ mr r4, r31 -/* 80314BAC 00311B0C 48 02 A3 A9 */ bl Get__12CInputStreamFPvUl -/* 80314BB0 00311B10 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80314BB4 00311B14 7F E3 FB 78 */ mr r3, r31 -/* 80314BB8 00311B18 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80314BBC 00311B1C 7C 08 03 A6 */ mtlr r0 -/* 80314BC0 00311B20 38 21 00 10 */ addi r1, r1, 0x10 -/* 80314BC4 00311B24 4E 80 00 20 */ blr - -.global __sinit_CVector3f_cpp -__sinit_CVector3f_cpp: -/* 80314BC8 00311B28 C0 42 C9 10 */ lfs f2, lbl_805AE630@sda21(r2) -/* 80314BCC 00311B2C 3D 20 80 5A */ lis r9, skZero3f@ha -/* 80314BD0 00311B30 C0 02 C9 18 */ lfs f0, lbl_805AE638@sda21(r2) -/* 80314BD4 00311B34 3D 00 80 5A */ lis r8, lbl_805A66F4@ha -/* 80314BD8 00311B38 D4 49 66 A0 */ stfsu f2, skZero3f@l(r9) -/* 80314BDC 00311B3C 3C E0 80 5A */ lis r7, lbl_805A6700@ha -/* 80314BE0 00311B40 3C C0 80 5A */ lis r6, lbl_805A670C@ha -/* 80314BE4 00311B44 3C 80 80 5A */ lis r4, lbl_805A6724@ha -/* 80314BE8 00311B48 D4 47 67 00 */ stfsu f2, lbl_805A6700@l(r7) -/* 80314BEC 00311B4C 3C 60 80 5A */ lis r3, lbl_805A6730@ha -/* 80314BF0 00311B50 C0 22 C9 1C */ lfs f1, lbl_805AE63C@sda21(r2) -/* 80314BF4 00311B54 3C A0 80 5A */ lis r5, lbl_805A6718@ha -/* 80314BF8 00311B58 D4 48 66 F4 */ stfsu f2, lbl_805A66F4@l(r8) -/* 80314BFC 00311B5C D4 06 67 0C */ stfsu f0, lbl_805A670C@l(r6) -/* 80314C00 00311B60 D4 25 67 18 */ stfsu f1, lbl_805A6718@l(r5) -/* 80314C04 00311B64 D4 44 67 24 */ stfsu f2, lbl_805A6724@l(r4) -/* 80314C08 00311B68 D4 43 67 30 */ stfsu f2, lbl_805A6730@l(r3) -/* 80314C0C 00311B6C D0 49 00 04 */ stfs f2, 4(r9) -/* 80314C10 00311B70 D0 49 00 08 */ stfs f2, 8(r9) -/* 80314C14 00311B74 D0 48 00 04 */ stfs f2, 4(r8) -/* 80314C18 00311B78 D0 28 00 08 */ stfs f1, 8(r8) -/* 80314C1C 00311B7C D0 47 00 04 */ stfs f2, 4(r7) -/* 80314C20 00311B80 D0 07 00 08 */ stfs f0, 8(r7) -/* 80314C24 00311B84 D0 46 00 04 */ stfs f2, 4(r6) -/* 80314C28 00311B88 D0 46 00 08 */ stfs f2, 8(r6) -/* 80314C2C 00311B8C D0 45 00 04 */ stfs f2, 4(r5) -/* 80314C30 00311B90 D0 45 00 08 */ stfs f2, 8(r5) -/* 80314C34 00311B94 D0 24 00 04 */ stfs f1, 4(r4) -/* 80314C38 00311B98 D0 44 00 08 */ stfs f2, 8(r4) -/* 80314C3C 00311B9C D0 03 00 04 */ stfs f0, 4(r3) -/* 80314C40 00311BA0 D0 43 00 08 */ stfs f2, 8(r3) -/* 80314C44 00311BA4 4E 80 00 20 */ blr - -.global __ct__9CVector3iFiii -__ct__9CVector3iFiii: -/* 80314C48 00311BA8 90 83 00 00 */ stw r4, 0(r3) -/* 80314C4C 00311BAC 90 A3 00 04 */ stw r5, 4(r3) -/* 80314C50 00311BB0 90 C3 00 08 */ stw r6, 8(r3) -/* 80314C54 00311BB4 4E 80 00 20 */ blr - -.global FloorPowerOfTwo__5CMathFi -FloorPowerOfTwo__5CMathFi: -/* 80314C58 00311BB8 2C 03 00 00 */ cmpwi r3, 0 -/* 80314C5C 00311BBC 40 82 00 0C */ bne lbl_80314C68 -/* 80314C60 00311BC0 38 60 00 00 */ li r3, 0 -/* 80314C64 00311BC4 4E 80 00 20 */ blr -lbl_80314C68: -/* 80314C68 00311BC8 3C A0 00 01 */ lis r5, 0x0000FFFF@ha -/* 80314C6C 00311BCC 38 80 00 01 */ li r4, 1 -/* 80314C70 00311BD0 38 05 FF FF */ addi r0, r5, 0x0000FFFF@l -/* 80314C74 00311BD4 7C 03 00 50 */ subf r0, r3, r0 -/* 80314C78 00311BD8 54 05 2E F6 */ rlwinm r5, r0, 5, 0x1b, 0x1b -/* 80314C7C 00311BDC 7C 60 2C 30 */ srw r0, r3, r5 -/* 80314C80 00311BE0 54 03 04 3E */ clrlwi r3, r0, 0x10 -/* 80314C84 00311BE4 20 03 00 FF */ subfic r0, r3, 0xff -/* 80314C88 00311BE8 54 06 27 38 */ rlwinm r6, r0, 4, 0x1c, 0x1c -/* 80314C8C 00311BEC 7C 60 34 30 */ srw r0, r3, r6 -/* 80314C90 00311BF0 54 03 06 3E */ clrlwi r3, r0, 0x18 -/* 80314C94 00311BF4 20 03 00 0F */ subfic r0, r3, 0xf -/* 80314C98 00311BF8 54 07 1F 7A */ rlwinm r7, r0, 3, 0x1d, 0x1d -/* 80314C9C 00311BFC 7C 60 3C 30 */ srw r0, r3, r7 -/* 80314CA0 00311C00 54 08 07 3E */ clrlwi r8, r0, 0x1c -/* 80314CA4 00311C04 7C 06 3A 14 */ add r0, r6, r7 -/* 80314CA8 00311C08 20 68 00 03 */ subfic r3, r8, 3 -/* 80314CAC 00311C0C 54 66 17 BC */ rlwinm r6, r3, 2, 0x1e, 0x1e -/* 80314CB0 00311C10 7D 03 34 30 */ srw r3, r8, r6 -/* 80314CB4 00311C14 54 63 07 BE */ clrlwi r3, r3, 0x1e -/* 80314CB8 00311C18 7C 00 32 14 */ add r0, r0, r6 -/* 80314CBC 00311C1C 20 63 00 01 */ subfic r3, r3, 1 -/* 80314CC0 00311C20 54 63 0F FE */ srwi r3, r3, 0x1f -/* 80314CC4 00311C24 7C 00 1A 14 */ add r0, r0, r3 -/* 80314CC8 00311C28 7C 05 02 14 */ add r0, r5, r0 -/* 80314CCC 00311C2C 7C 83 00 30 */ slw r3, r4, r0 -/* 80314CD0 00311C30 4E 80 00 20 */ blr - -.global FastArcCosR__5CMathFf -FastArcCosR__5CMathFf: -/* 80314CD4 00311C34 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80314CD8 00311C38 7C 08 02 A6 */ mflr r0 -/* 80314CDC 00311C3C FC 40 0A 10 */ fabs f2, f1 -/* 80314CE0 00311C40 C8 02 C9 40 */ lfd f0, lbl_805AE660@sda21(r2) -/* 80314CE4 00311C44 90 01 00 14 */ stw r0, 0x14(r1) -/* 80314CE8 00311C48 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80314CEC 00311C4C 40 81 00 10 */ ble lbl_80314CFC -/* 80314CF0 00311C50 48 07 FF 3D */ bl acos -/* 80314CF4 00311C54 FC 20 08 18 */ frsp f1, f1 -/* 80314CF8 00311C58 48 00 00 3C */ b lbl_80314D34 -lbl_80314CFC: -/* 80314CFC 00311C5C EC 81 00 72 */ fmuls f4, f1, f1 -/* 80314D00 00311C60 C0 A2 C9 28 */ lfs f5, lbl_805AE648@sda21(r2) -/* 80314D04 00311C64 C0 02 C9 2C */ lfs f0, lbl_805AE64C@sda21(r2) -/* 80314D08 00311C68 C0 62 C9 30 */ lfs f3, lbl_805AE650@sda21(r2) -/* 80314D0C 00311C6C EC A1 28 3A */ fmadds f5, f1, f0, f5 -/* 80314D10 00311C70 C0 42 C9 34 */ lfs f2, lbl_805AE654@sda21(r2) -/* 80314D14 00311C74 EC 21 01 32 */ fmuls f1, f1, f4 -/* 80314D18 00311C78 C0 02 C9 38 */ lfs f0, lbl_805AE658@sda21(r2) -/* 80314D1C 00311C7C EC A1 28 FA */ fmadds f5, f1, f3, f5 -/* 80314D20 00311C80 EC 21 01 32 */ fmuls f1, f1, f4 -/* 80314D24 00311C84 EC A1 28 BA */ fmadds f5, f1, f2, f5 -/* 80314D28 00311C88 EC 21 01 32 */ fmuls f1, f1, f4 -/* 80314D2C 00311C8C EC A1 28 3A */ fmadds f5, f1, f0, f5 -/* 80314D30 00311C90 FC 20 28 90 */ fmr f1, f5 -lbl_80314D34: -/* 80314D34 00311C94 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80314D38 00311C98 7C 08 03 A6 */ mtlr r0 -/* 80314D3C 00311C9C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80314D40 00311CA0 4E 80 00 20 */ blr - -.global FastCosR__5CMathFf -FastCosR__5CMathFf: -/* 80314D44 00311CA4 FC 40 0A 10 */ fabs f2, f1 -/* 80314D48 00311CA8 C8 02 C9 60 */ lfd f0, lbl_805AE680@sda21(r2) -/* 80314D4C 00311CAC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80314D50 00311CB0 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80314D54 00311CB4 40 81 00 60 */ ble lbl_80314DB4 -/* 80314D58 00311CB8 C0 02 C9 68 */ lfs f0, lbl_805AE688@sda21(r2) -/* 80314D5C 00311CBC 3C 00 43 30 */ lis r0, 0x4330 -/* 80314D60 00311CC0 90 01 00 10 */ stw r0, 0x10(r1) -/* 80314D64 00311CC4 EC 61 00 32 */ fmuls f3, f1, f0 -/* 80314D68 00311CC8 C8 82 C9 78 */ lfd f4, lbl_805AE698@sda21(r2) -/* 80314D6C 00311CCC C0 42 C9 6C */ lfs f2, lbl_805AE68C@sda21(r2) -/* 80314D70 00311CD0 C0 02 C9 70 */ lfs f0, lbl_805AE690@sda21(r2) -/* 80314D74 00311CD4 FC 60 18 1E */ fctiwz f3, f3 -/* 80314D78 00311CD8 D8 61 00 08 */ stfd f3, 8(r1) -/* 80314D7C 00311CDC 80 01 00 0C */ lwz r0, 0xc(r1) -/* 80314D80 00311CE0 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 80314D84 00311CE4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80314D88 00311CE8 C8 61 00 10 */ lfd f3, 0x10(r1) -/* 80314D8C 00311CEC EC 63 20 28 */ fsubs f3, f3, f4 -/* 80314D90 00311CF0 EC 23 08 BC */ fnmsubs f1, f3, f2, f1 -/* 80314D94 00311CF4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80314D98 00311CF8 40 81 00 0C */ ble lbl_80314DA4 -/* 80314D9C 00311CFC EC 21 10 28 */ fsubs f1, f1, f2 -/* 80314DA0 00311D00 48 00 00 14 */ b lbl_80314DB4 -lbl_80314DA4: -/* 80314DA4 00311D04 C0 02 C9 74 */ lfs f0, lbl_805AE694@sda21(r2) -/* 80314DA8 00311D08 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80314DAC 00311D0C 40 80 00 08 */ bge lbl_80314DB4 -/* 80314DB0 00311D10 EC 22 08 2A */ fadds f1, f2, f1 -lbl_80314DB4: -/* 80314DB4 00311D14 EC 81 00 72 */ fmuls f4, f1, f1 -/* 80314DB8 00311D18 C0 22 C9 48 */ lfs f1, lbl_805AE668@sda21(r2) -/* 80314DBC 00311D1C C0 02 C9 4C */ lfs f0, lbl_805AE66C@sda21(r2) -/* 80314DC0 00311D20 C0 62 C9 50 */ lfs f3, lbl_805AE670@sda21(r2) -/* 80314DC4 00311D24 EC 24 08 3A */ fmadds f1, f4, f0, f1 -/* 80314DC8 00311D28 C0 42 C9 54 */ lfs f2, lbl_805AE674@sda21(r2) -/* 80314DCC 00311D2C EC A4 01 32 */ fmuls f5, f4, f4 -/* 80314DD0 00311D30 C0 02 C9 58 */ lfs f0, lbl_805AE678@sda21(r2) -/* 80314DD4 00311D34 EC 25 08 FA */ fmadds f1, f5, f3, f1 -/* 80314DD8 00311D38 EC A5 01 32 */ fmuls f5, f5, f4 -/* 80314DDC 00311D3C EC 25 08 BA */ fmadds f1, f5, f2, f1 -/* 80314DE0 00311D40 EC A5 01 32 */ fmuls f5, f5, f4 -/* 80314DE4 00311D44 EC 25 08 3A */ fmadds f1, f5, f0, f1 -/* 80314DE8 00311D48 38 21 00 20 */ addi r1, r1, 0x20 -/* 80314DEC 00311D4C 4E 80 00 20 */ blr - -.global FastSinR__5CMathFf -FastSinR__5CMathFf: -/* 80314DF0 00311D50 FC 40 0A 10 */ fabs f2, f1 -/* 80314DF4 00311D54 C8 02 C9 60 */ lfd f0, lbl_805AE680@sda21(r2) -/* 80314DF8 00311D58 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80314DFC 00311D5C FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80314E00 00311D60 40 81 00 60 */ ble lbl_80314E60 -/* 80314E04 00311D64 C0 02 C9 68 */ lfs f0, lbl_805AE688@sda21(r2) -/* 80314E08 00311D68 3C 00 43 30 */ lis r0, 0x4330 -/* 80314E0C 00311D6C 90 01 00 10 */ stw r0, 0x10(r1) -/* 80314E10 00311D70 EC 61 00 32 */ fmuls f3, f1, f0 -/* 80314E14 00311D74 C8 82 C9 78 */ lfd f4, lbl_805AE698@sda21(r2) -/* 80314E18 00311D78 C0 42 C9 6C */ lfs f2, lbl_805AE68C@sda21(r2) -/* 80314E1C 00311D7C C0 02 C9 70 */ lfs f0, lbl_805AE690@sda21(r2) -/* 80314E20 00311D80 FC 60 18 1E */ fctiwz f3, f3 -/* 80314E24 00311D84 D8 61 00 08 */ stfd f3, 8(r1) -/* 80314E28 00311D88 80 01 00 0C */ lwz r0, 0xc(r1) -/* 80314E2C 00311D8C 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 80314E30 00311D90 90 01 00 14 */ stw r0, 0x14(r1) -/* 80314E34 00311D94 C8 61 00 10 */ lfd f3, 0x10(r1) -/* 80314E38 00311D98 EC 63 20 28 */ fsubs f3, f3, f4 -/* 80314E3C 00311D9C EC 23 08 BC */ fnmsubs f1, f3, f2, f1 -/* 80314E40 00311DA0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80314E44 00311DA4 40 81 00 0C */ ble lbl_80314E50 -/* 80314E48 00311DA8 EC 21 10 28 */ fsubs f1, f1, f2 -/* 80314E4C 00311DAC 48 00 00 14 */ b lbl_80314E60 -lbl_80314E50: -/* 80314E50 00311DB0 C0 02 C9 74 */ lfs f0, lbl_805AE694@sda21(r2) -/* 80314E54 00311DB4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80314E58 00311DB8 40 80 00 08 */ bge lbl_80314E60 -/* 80314E5C 00311DBC EC 22 08 2A */ fadds f1, f2, f1 -lbl_80314E60: -/* 80314E60 00311DC0 EC 81 00 72 */ fmuls f4, f1, f1 -/* 80314E64 00311DC4 C0 02 C9 80 */ lfs f0, lbl_805AE6A0@sda21(r2) -/* 80314E68 00311DC8 C0 62 C9 84 */ lfs f3, lbl_805AE6A4@sda21(r2) -/* 80314E6C 00311DCC EC A1 00 32 */ fmuls f5, f1, f0 -/* 80314E70 00311DD0 C0 42 C9 88 */ lfs f2, lbl_805AE6A8@sda21(r2) -/* 80314E74 00311DD4 EC 21 01 32 */ fmuls f1, f1, f4 -/* 80314E78 00311DD8 C0 02 C9 8C */ lfs f0, lbl_805AE6AC@sda21(r2) -/* 80314E7C 00311DDC EC A1 28 FA */ fmadds f5, f1, f3, f5 -/* 80314E80 00311DE0 EC 21 01 32 */ fmuls f1, f1, f4 -/* 80314E84 00311DE4 EC A1 28 BA */ fmadds f5, f1, f2, f5 -/* 80314E88 00311DE8 EC 21 01 32 */ fmuls f1, f1, f4 -/* 80314E8C 00311DEC EC A1 28 3A */ fmadds f5, f1, f0, f5 -/* 80314E90 00311DF0 FC 20 28 90 */ fmr f1, f5 -/* 80314E94 00311DF4 38 21 00 20 */ addi r1, r1, 0x20 -/* 80314E98 00311DF8 4E 80 00 20 */ blr - -.global BaryToWorld__5CMathFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f -BaryToWorld__5CMathFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f: -/* 80314E9C 00311DFC C0 A7 00 04 */ lfs f5, 4(r7) -/* 80314EA0 00311E00 C0 05 00 00 */ lfs f0, 0(r5) -/* 80314EA4 00311E04 C0 45 00 04 */ lfs f2, 4(r5) -/* 80314EA8 00311E08 C0 87 00 00 */ lfs f4, 0(r7) -/* 80314EAC 00311E0C EC 25 00 32 */ fmuls f1, f5, f0 -/* 80314EB0 00311E10 C0 04 00 00 */ lfs f0, 0(r4) -/* 80314EB4 00311E14 EC C5 00 B2 */ fmuls f6, f5, f2 -/* 80314EB8 00311E18 C0 64 00 04 */ lfs f3, 4(r4) -/* 80314EBC 00311E1C EC 44 00 32 */ fmuls f2, f4, f0 -/* 80314EC0 00311E20 C0 04 00 08 */ lfs f0, 8(r4) -/* 80314EC4 00311E24 EC E4 00 F2 */ fmuls f7, f4, f3 -/* 80314EC8 00311E28 C0 65 00 08 */ lfs f3, 8(r5) -/* 80314ECC 00311E2C C1 07 00 08 */ lfs f8, 8(r7) -/* 80314ED0 00311E30 EC 84 00 32 */ fmuls f4, f4, f0 -/* 80314ED4 00311E34 C0 06 00 00 */ lfs f0, 0(r6) -/* 80314ED8 00311E38 EC 65 00 F2 */ fmuls f3, f5, f3 -/* 80314EDC 00311E3C C0 A6 00 04 */ lfs f5, 4(r6) -/* 80314EE0 00311E40 EC 22 08 2A */ fadds f1, f2, f1 -/* 80314EE4 00311E44 EC 08 00 32 */ fmuls f0, f8, f0 -/* 80314EE8 00311E48 C0 46 00 08 */ lfs f2, 8(r6) -/* 80314EEC 00311E4C EC C7 30 2A */ fadds f6, f7, f6 -/* 80314EF0 00311E50 EC A8 01 72 */ fmuls f5, f8, f5 -/* 80314EF4 00311E54 EC 01 00 2A */ fadds f0, f1, f0 -/* 80314EF8 00311E58 EC 64 18 2A */ fadds f3, f4, f3 -/* 80314EFC 00311E5C EC 28 00 B2 */ fmuls f1, f8, f2 -/* 80314F00 00311E60 EC 46 28 2A */ fadds f2, f6, f5 -/* 80314F04 00311E64 D0 03 00 00 */ stfs f0, 0(r3) -/* 80314F08 00311E68 EC 03 08 2A */ fadds f0, f3, f1 -/* 80314F0C 00311E6C D0 43 00 04 */ stfs f2, 4(r3) -/* 80314F10 00311E70 D0 03 00 08 */ stfs f0, 8(r3) -/* 80314F14 00311E74 4E 80 00 20 */ blr - -.global GetBezierPoint__5CMathFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ff -GetBezierPoint__5CMathFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ff: -/* 80314F18 00311E78 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80314F1C 00311E7C DB E1 00 20 */ stfd f31, 0x20(r1) -/* 80314F20 00311E80 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 -/* 80314F24 00311E84 DB C1 00 10 */ stfd f30, 0x10(r1) -/* 80314F28 00311E88 F3 C1 00 18 */ psq_st f30, 24(r1), 0, qr0 -/* 80314F2C 00311E8C C0 02 C9 90 */ lfs f0, lbl_805AE6B0@sda21(r2) -/* 80314F30 00311E90 C0 47 00 00 */ lfs f2, 0(r7) -/* 80314F34 00311E94 C0 87 00 04 */ lfs f4, 4(r7) -/* 80314F38 00311E98 EC 00 08 28 */ fsubs f0, f0, f1 -/* 80314F3C 00311E9C C0 A6 00 00 */ lfs f5, 0(r6) -/* 80314F40 00311EA0 EC 42 00 72 */ fmuls f2, f2, f1 -/* 80314F44 00311EA4 C0 67 00 08 */ lfs f3, 8(r7) -/* 80314F48 00311EA8 EC 84 00 72 */ fmuls f4, f4, f1 -/* 80314F4C 00311EAC C1 26 00 04 */ lfs f9, 4(r6) -/* 80314F50 00311EB0 EC 45 10 3A */ fmadds f2, f5, f0, f2 -/* 80314F54 00311EB4 C0 E5 00 00 */ lfs f7, 0(r5) -/* 80314F58 00311EB8 EC C5 00 72 */ fmuls f6, f5, f1 -/* 80314F5C 00311EBC C3 E6 00 08 */ lfs f31, 8(r6) -/* 80314F60 00311EC0 EC 63 00 72 */ fmuls f3, f3, f1 -/* 80314F64 00311EC4 C1 05 00 04 */ lfs f8, 4(r5) -/* 80314F68 00311EC8 EC A9 00 72 */ fmuls f5, f9, f1 -/* 80314F6C 00311ECC C1 A5 00 08 */ lfs f13, 8(r5) -/* 80314F70 00311ED0 EC 89 20 3A */ fmadds f4, f9, f0, f4 -/* 80314F74 00311ED4 C1 84 00 00 */ lfs f12, 0(r4) -/* 80314F78 00311ED8 ED 67 00 72 */ fmuls f11, f7, f1 -/* 80314F7C 00311EDC C1 44 00 04 */ lfs f10, 4(r4) -/* 80314F80 00311EE0 EF C7 30 3A */ fmadds f30, f7, f0, f6 -/* 80314F84 00311EE4 C1 24 00 08 */ lfs f9, 8(r4) -/* 80314F88 00311EE8 EC 42 00 72 */ fmuls f2, f2, f1 -/* 80314F8C 00311EEC EC DF 00 72 */ fmuls f6, f31, f1 -/* 80314F90 00311EF0 EC 7F 18 3A */ fmadds f3, f31, f0, f3 -/* 80314F94 00311EF4 EC E8 00 72 */ fmuls f7, f8, f1 -/* 80314F98 00311EF8 EF E8 28 3A */ fmadds f31, f8, f0, f5 -/* 80314F9C 00311EFC EC A4 00 72 */ fmuls f5, f4, f1 -/* 80314FA0 00311F00 EC 5E 10 3A */ fmadds f2, f30, f0, f2 -/* 80314FA4 00311F04 ED 0D 00 72 */ fmuls f8, f13, f1 -/* 80314FA8 00311F08 ED AD 30 3A */ fmadds f13, f13, f0, f6 -/* 80314FAC 00311F0C EC 83 00 72 */ fmuls f4, f3, f1 -/* 80314FB0 00311F10 EC DF 28 3A */ fmadds f6, f31, f0, f5 -/* 80314FB4 00311F14 EC AC 58 3A */ fmadds f5, f12, f0, f11 -/* 80314FB8 00311F18 EC 7E 00 72 */ fmuls f3, f30, f1 -/* 80314FBC 00311F1C EC 8D 20 3A */ fmadds f4, f13, f0, f4 -/* 80314FC0 00311F20 ED 4A 38 3A */ fmadds f10, f10, f0, f7 -/* 80314FC4 00311F24 EC FF 00 72 */ fmuls f7, f31, f1 -/* 80314FC8 00311F28 EC 65 18 3A */ fmadds f3, f5, f0, f3 -/* 80314FCC 00311F2C EC 42 00 72 */ fmuls f2, f2, f1 -/* 80314FD0 00311F30 ED 09 40 3A */ fmadds f8, f9, f0, f8 -/* 80314FD4 00311F34 EC AD 00 72 */ fmuls f5, f13, f1 -/* 80314FD8 00311F38 EC 43 10 3A */ fmadds f2, f3, f0, f2 -/* 80314FDC 00311F3C EC EA 38 3A */ fmadds f7, f10, f0, f7 -/* 80314FE0 00311F40 EC C6 00 72 */ fmuls f6, f6, f1 -/* 80314FE4 00311F44 EC 68 28 3A */ fmadds f3, f8, f0, f5 -/* 80314FE8 00311F48 D0 43 00 00 */ stfs f2, 0(r3) -/* 80314FEC 00311F4C EC 24 00 72 */ fmuls f1, f4, f1 -/* 80314FF0 00311F50 EC 47 30 3A */ fmadds f2, f7, f0, f6 -/* 80314FF4 00311F54 EC 03 08 3A */ fmadds f0, f3, f0, f1 -/* 80314FF8 00311F58 D0 43 00 04 */ stfs f2, 4(r3) -/* 80314FFC 00311F5C D0 03 00 08 */ stfs f0, 8(r3) -/* 80315000 00311F60 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 -/* 80315004 00311F64 CB E1 00 20 */ lfd f31, 0x20(r1) -/* 80315008 00311F68 E3 C1 00 18 */ psq_l f30, 24(r1), 0, qr0 -/* 8031500C 00311F6C CB C1 00 10 */ lfd f30, 0x10(r1) -/* 80315010 00311F70 38 21 00 30 */ addi r1, r1, 0x30 -/* 80315014 00311F74 4E 80 00 20 */ blr - -.global GetCatmullRomSplinePoint__5CMathFfffff -GetCatmullRomSplinePoint__5CMathFfffff: -/* 80315018 00311F78 C0 02 C9 94 */ lfs f0, lbl_805AE6B4@sda21(r2) -/* 8031501C 00311F7C FC 05 00 40 */ fcmpo cr0, f5, f0 -/* 80315020 00311F80 4C 40 13 82 */ cror 2, 0, 2 -/* 80315024 00311F84 40 82 00 0C */ bne lbl_80315030 -/* 80315028 00311F88 FC 20 10 90 */ fmr f1, f2 -/* 8031502C 00311F8C 4E 80 00 20 */ blr -lbl_80315030: -/* 80315030 00311F90 C1 82 C9 90 */ lfs f12, lbl_805AE6B0@sda21(r2) -/* 80315034 00311F94 FC 05 60 40 */ fcmpo cr0, f5, f12 -/* 80315038 00311F98 4C 41 13 82 */ cror 2, 1, 2 -/* 8031503C 00311F9C 40 82 00 0C */ bne lbl_80315048 -/* 80315040 00311FA0 FC 20 18 90 */ fmr f1, f3 -/* 80315044 00311FA4 4E 80 00 20 */ blr -lbl_80315048: -/* 80315048 00311FA8 C0 C2 C9 A8 */ lfs f6, lbl_805AE6C8@sda21(r2) -/* 8031504C 00311FAC EC E5 01 72 */ fmuls f7, f5, f5 -/* 80315050 00311FB0 C0 02 C9 AC */ lfs f0, lbl_805AE6CC@sda21(r2) -/* 80315054 00311FB4 EC C6 01 72 */ fmuls f6, f6, f5 -/* 80315058 00311FB8 C1 02 C9 A4 */ lfs f8, lbl_805AE6C4@sda21(r2) -/* 8031505C 00311FBC EC 00 01 72 */ fmuls f0, f0, f5 -/* 80315060 00311FC0 C1 42 C9 9C */ lfs f10, lbl_805AE6BC@sda21(r2) -/* 80315064 00311FC4 ED 08 01 72 */ fmuls f8, f8, f5 -/* 80315068 00311FC8 C1 22 C9 A0 */ lfs f9, lbl_805AE6C0@sda21(r2) -/* 8031506C 00311FCC EC C6 01 72 */ fmuls f6, f6, f5 -/* 80315070 00311FD0 C1 62 C9 98 */ lfs f11, lbl_805AE6B8@sda21(r2) -/* 80315074 00311FD4 EC 00 01 72 */ fmuls f0, f0, f5 -/* 80315078 00311FD8 ED 4A 01 72 */ fmuls f10, f10, f5 -/* 8031507C 00311FDC ED 29 01 72 */ fmuls f9, f9, f5 -/* 80315080 00311FE0 ED 08 01 72 */ fmuls f8, f8, f5 -/* 80315084 00311FE4 EC 05 01 BA */ fmadds f0, f5, f6, f0 -/* 80315088 00311FE8 ED 6B 01 72 */ fmuls f11, f11, f5 -/* 8031508C 00311FEC EC C5 3A 3A */ fmadds f6, f5, f8, f7 -/* 80315090 00311FF0 EC 0C 00 2A */ fadds f0, f12, f0 -/* 80315094 00311FF4 ED 0A 01 72 */ fmuls f8, f10, f5 -/* 80315098 00311FF8 EC E9 01 72 */ fmuls f7, f9, f5 -/* 8031509C 00311FFC ED 2B 01 72 */ fmuls f9, f11, f5 -/* 803150A0 00312000 EC C6 58 28 */ fsubs f6, f6, f11 -/* 803150A4 00312004 EC E5 3A 3A */ fmadds f7, f5, f8, f7 -/* 803150A8 00312008 EC 02 00 32 */ fmuls f0, f2, f0 -/* 803150AC 0031200C EC A5 4A 78 */ fmsubs f5, f5, f9, f9 -/* 803150B0 00312010 EC 4B 38 2A */ fadds f2, f11, f7 -/* 803150B4 00312014 EC 01 01 BA */ fmadds f0, f1, f6, f0 -/* 803150B8 00312018 EC 03 00 BA */ fmadds f0, f3, f2, f0 -/* 803150BC 0031201C EC 24 01 7A */ fmadds f1, f4, f5, f0 -/* 803150C0 00312020 4E 80 00 20 */ blr - -.global GetCatmullRomSplinePoint__5CMathFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ff -GetCatmullRomSplinePoint__5CMathFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ff: -/* 803150C4 00312024 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 803150C8 00312028 DB E1 00 30 */ stfd f31, 0x30(r1) -/* 803150CC 0031202C F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 803150D0 00312030 DB C1 00 20 */ stfd f30, 0x20(r1) -/* 803150D4 00312034 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 -/* 803150D8 00312038 DB A1 00 10 */ stfd f29, 0x10(r1) -/* 803150DC 0031203C F3 A1 00 18 */ psq_st f29, 24(r1), 0, qr0 -/* 803150E0 00312040 C0 02 C9 94 */ lfs f0, lbl_805AE6B4@sda21(r2) -/* 803150E4 00312044 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 803150E8 00312048 4C 40 13 82 */ cror 2, 0, 2 -/* 803150EC 0031204C 40 82 00 20 */ bne lbl_8031510C -/* 803150F0 00312050 C0 05 00 00 */ lfs f0, 0(r5) -/* 803150F4 00312054 D0 03 00 00 */ stfs f0, 0(r3) -/* 803150F8 00312058 C0 05 00 04 */ lfs f0, 4(r5) -/* 803150FC 0031205C D0 03 00 04 */ stfs f0, 4(r3) -/* 80315100 00312060 C0 05 00 08 */ lfs f0, 8(r5) -/* 80315104 00312064 D0 03 00 08 */ stfs f0, 8(r3) -/* 80315108 00312068 48 00 01 28 */ b lbl_80315230 -lbl_8031510C: -/* 8031510C 0031206C C1 22 C9 90 */ lfs f9, lbl_805AE6B0@sda21(r2) -/* 80315110 00312070 FC 01 48 40 */ fcmpo cr0, f1, f9 -/* 80315114 00312074 4C 41 13 82 */ cror 2, 1, 2 -/* 80315118 00312078 40 82 00 20 */ bne lbl_80315138 -/* 8031511C 0031207C C0 06 00 00 */ lfs f0, 0(r6) -/* 80315120 00312080 D0 03 00 00 */ stfs f0, 0(r3) -/* 80315124 00312084 C0 06 00 04 */ lfs f0, 4(r6) -/* 80315128 00312088 D0 03 00 04 */ stfs f0, 4(r3) -/* 8031512C 0031208C C0 06 00 08 */ lfs f0, 8(r6) -/* 80315130 00312090 D0 03 00 08 */ stfs f0, 8(r3) -/* 80315134 00312094 48 00 00 FC */ b lbl_80315230 -lbl_80315138: -/* 80315138 00312098 C0 82 C9 A8 */ lfs f4, lbl_805AE6C8@sda21(r2) -/* 8031513C 0031209C EC 01 00 72 */ fmuls f0, f1, f1 -/* 80315140 003120A0 C0 62 C9 AC */ lfs f3, lbl_805AE6CC@sda21(r2) -/* 80315144 003120A4 C0 42 C9 A4 */ lfs f2, lbl_805AE6C4@sda21(r2) -/* 80315148 003120A8 EC 84 00 72 */ fmuls f4, f4, f1 -/* 8031514C 003120AC EC 63 00 72 */ fmuls f3, f3, f1 -/* 80315150 003120B0 C0 C2 C9 9C */ lfs f6, lbl_805AE6BC@sda21(r2) -/* 80315154 003120B4 EC 42 00 72 */ fmuls f2, f2, f1 -/* 80315158 003120B8 C0 A2 C9 A0 */ lfs f5, lbl_805AE6C0@sda21(r2) -/* 8031515C 003120BC ED 06 00 72 */ fmuls f8, f6, f1 -/* 80315160 003120C0 EC E5 00 72 */ fmuls f7, f5, f1 -/* 80315164 003120C4 EC 42 00 72 */ fmuls f2, f2, f1 -/* 80315168 003120C8 C0 A2 C9 98 */ lfs f5, lbl_805AE6B8@sda21(r2) -/* 8031516C 003120CC EC 84 00 72 */ fmuls f4, f4, f1 -/* 80315170 003120D0 C0 C5 00 00 */ lfs f6, 0(r5) -/* 80315174 003120D4 EC 63 00 72 */ fmuls f3, f3, f1 -/* 80315178 003120D8 ED 45 00 72 */ fmuls f10, f5, f1 -/* 8031517C 003120DC EC 01 00 BA */ fmadds f0, f1, f2, f0 -/* 80315180 003120E0 C0 A4 00 00 */ lfs f5, 0(r4) -/* 80315184 003120E4 EC 61 19 3A */ fmadds f3, f1, f4, f3 -/* 80315188 003120E8 C0 44 00 04 */ lfs f2, 4(r4) -/* 8031518C 003120EC ED 08 00 72 */ fmuls f8, f8, f1 -/* 80315190 003120F0 EF A0 50 28 */ fsubs f29, f0, f10 -/* 80315194 003120F4 EC E7 00 72 */ fmuls f7, f7, f1 -/* 80315198 003120F8 C0 05 00 04 */ lfs f0, 4(r5) -/* 8031519C 003120FC EF C9 18 2A */ fadds f30, f9, f3 -/* 803151A0 00312100 C0 84 00 08 */ lfs f4, 8(r4) -/* 803151A4 00312104 ED 2A 00 72 */ fmuls f9, f10, f1 -/* 803151A8 00312108 EC E1 3A 3A */ fmadds f7, f1, f8, f7 -/* 803151AC 0031210C C0 65 00 08 */ lfs f3, 8(r5) -/* 803151B0 00312110 ED 7E 01 B2 */ fmuls f11, f30, f6 -/* 803151B4 00312114 ED 9D 01 72 */ fmuls f12, f29, f5 -/* 803151B8 00312118 C0 A6 00 00 */ lfs f5, 0(r6) -/* 803151BC 0031211C EF EA 38 2A */ fadds f31, f10, f7 -/* 803151C0 00312120 C0 C6 00 04 */ lfs f6, 4(r6) -/* 803151C4 00312124 ED 1D 00 B2 */ fmuls f8, f29, f2 -/* 803151C8 00312128 EC FE 00 32 */ fmuls f7, f30, f0 -/* 803151CC 0031212C C0 46 00 08 */ lfs f2, 8(r6) -/* 803151D0 00312130 ED A1 4A 78 */ fmsubs f13, f1, f9, f9 -/* 803151D4 00312134 C1 27 00 00 */ lfs f9, 0(r7) -/* 803151D8 00312138 ED 5F 01 72 */ fmuls f10, f31, f5 -/* 803151DC 0031213C EC 0C 58 2A */ fadds f0, f12, f11 -/* 803151E0 00312140 C0 A7 00 04 */ lfs f5, 4(r7) -/* 803151E4 00312144 EC 9D 01 32 */ fmuls f4, f29, f4 -/* 803151E8 00312148 EC 7E 00 F2 */ fmuls f3, f30, f3 -/* 803151EC 0031214C C0 27 00 08 */ lfs f1, 8(r7) -/* 803151F0 00312150 EC E8 38 2A */ fadds f7, f8, f7 -/* 803151F4 00312154 EC DF 01 B2 */ fmuls f6, f31, f6 -/* 803151F8 00312158 ED 0D 02 72 */ fmuls f8, f13, f9 -/* 803151FC 0031215C EC 00 50 2A */ fadds f0, f0, f10 -/* 80315200 00312160 EC 64 18 2A */ fadds f3, f4, f3 -/* 80315204 00312164 EC 5F 00 B2 */ fmuls f2, f31, f2 -/* 80315208 00312168 EC 00 40 2A */ fadds f0, f0, f8 -/* 8031520C 0031216C EC C7 30 2A */ fadds f6, f7, f6 -/* 80315210 00312170 EC 8D 01 72 */ fmuls f4, f13, f5 -/* 80315214 00312174 EC 43 10 2A */ fadds f2, f3, f2 -/* 80315218 00312178 D0 03 00 00 */ stfs f0, 0(r3) -/* 8031521C 0031217C EC 0D 00 72 */ fmuls f0, f13, f1 -/* 80315220 00312180 EC 26 20 2A */ fadds f1, f6, f4 -/* 80315224 00312184 EC 02 00 2A */ fadds f0, f2, f0 -/* 80315228 00312188 D0 23 00 04 */ stfs f1, 4(r3) -/* 8031522C 0031218C D0 03 00 08 */ stfs f0, 8(r3) -lbl_80315230: -/* 80315230 00312190 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 80315234 00312194 CB E1 00 30 */ lfd f31, 0x30(r1) -/* 80315238 00312198 E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 -/* 8031523C 0031219C CB C1 00 20 */ lfd f30, 0x20(r1) -/* 80315240 003121A0 E3 A1 00 18 */ psq_l f29, 24(r1), 0, qr0 -/* 80315244 003121A4 CB A1 00 10 */ lfd f29, 0x10(r1) -/* 80315248 003121A8 38 21 00 40 */ addi r1, r1, 0x40 -/* 8031524C 003121AC 4E 80 00 20 */ blr - -.global CeilingF__5CMathFf -CeilingF__5CMathFf: -/* 80315250 003121B0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80315254 003121B4 7C 08 02 A6 */ mflr r0 -/* 80315258 003121B8 90 01 00 24 */ stw r0, 0x24(r1) -/* 8031525C 003121BC DB E1 00 10 */ stfd f31, 0x10(r1) -/* 80315260 003121C0 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 -/* 80315264 003121C4 FF E0 08 90 */ fmr f31, f1 -/* 80315268 003121C8 48 00 00 35 */ bl FloorF__5CMathFf -/* 8031526C 003121CC FC 01 F8 00 */ fcmpu cr0, f1, f31 -/* 80315270 003121D0 40 82 00 0C */ bne lbl_8031527C -/* 80315274 003121D4 FC 20 F8 90 */ fmr f1, f31 -/* 80315278 003121D8 48 00 00 0C */ b lbl_80315284 -lbl_8031527C: -/* 8031527C 003121DC C0 02 C9 90 */ lfs f0, lbl_805AE6B0@sda21(r2) -/* 80315280 003121E0 EC 20 08 2A */ fadds f1, f0, f1 -lbl_80315284: -/* 80315284 003121E4 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 -/* 80315288 003121E8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8031528C 003121EC CB E1 00 10 */ lfd f31, 0x10(r1) -/* 80315290 003121F0 7C 08 03 A6 */ mtlr r0 -/* 80315294 003121F4 38 21 00 20 */ addi r1, r1, 0x20 -/* 80315298 003121F8 4E 80 00 20 */ blr - -.global FloorF__5CMathFf -FloorF__5CMathFf: -/* 8031529C 003121FC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803152A0 00312200 7C 08 02 A6 */ mflr r0 -/* 803152A4 00312204 90 01 00 14 */ stw r0, 0x14(r1) -/* 803152A8 00312208 48 07 F2 1D */ bl floor -/* 803152AC 0031220C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803152B0 00312210 FC 20 08 18 */ frsp f1, f1 -/* 803152B4 00312214 7C 08 03 A6 */ mtlr r0 -/* 803152B8 00312218 38 21 00 10 */ addi r1, r1, 0x10 -/* 803152BC 0031221C 4E 80 00 20 */ blr - -.global SlowTangentR__5CMathFf -SlowTangentR__5CMathFf: -/* 803152C0 00312220 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803152C4 00312224 7C 08 02 A6 */ mflr r0 -/* 803152C8 00312228 90 01 00 14 */ stw r0, 0x14(r1) -/* 803152CC 0031222C 48 07 F8 E9 */ bl tan -/* 803152D0 00312230 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803152D4 00312234 FC 20 08 18 */ frsp f1, f1 -/* 803152D8 00312238 7C 08 03 A6 */ mtlr r0 -/* 803152DC 0031223C 38 21 00 10 */ addi r1, r1, 0x10 -/* 803152E0 00312240 4E 80 00 20 */ blr - -.global SlowCosineR__5CMathFf -SlowCosineR__5CMathFf: -/* 803152E4 00312244 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803152E8 00312248 7C 08 02 A6 */ mflr r0 -/* 803152EC 0031224C 90 01 00 14 */ stw r0, 0x14(r1) -/* 803152F0 00312250 48 07 F1 01 */ bl cos -/* 803152F4 00312254 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803152F8 00312258 FC 20 08 18 */ frsp f1, f1 -/* 803152FC 0031225C 7C 08 03 A6 */ mtlr r0 -/* 80315300 00312260 38 21 00 10 */ addi r1, r1, 0x10 -/* 80315304 00312264 4E 80 00 20 */ blr - -.global SlowSineR__5CMathFf -SlowSineR__5CMathFf: -/* 80315308 00312268 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8031530C 0031226C 7C 08 02 A6 */ mflr r0 -/* 80315310 00312270 90 01 00 14 */ stw r0, 0x14(r1) -/* 80315314 00312274 48 07 F7 C9 */ bl sin -/* 80315318 00312278 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8031531C 0031227C FC 20 08 18 */ frsp f1, f1 -/* 80315320 00312280 7C 08 03 A6 */ mtlr r0 -/* 80315324 00312284 38 21 00 10 */ addi r1, r1, 0x10 -/* 80315328 00312288 4E 80 00 20 */ blr - -.global PowF__5CMathFff -PowF__5CMathFff: -/* 8031532C 0031228C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80315330 00312290 7C 08 02 A6 */ mflr r0 -/* 80315334 00312294 90 01 00 24 */ stw r0, 0x24(r1) -/* 80315338 00312298 DB E1 00 10 */ stfd f31, 0x10(r1) -/* 8031533C 0031229C F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 -/* 80315340 003122A0 FF E0 10 90 */ fmr f31, f2 -/* 80315344 003122A4 48 07 F9 89 */ bl log -/* 80315348 003122A8 FC 3F 00 72 */ fmul f1, f31, f1 -/* 8031534C 003122AC 48 07 F9 41 */ bl exp -/* 80315350 003122B0 FC 20 08 18 */ frsp f1, f1 -/* 80315354 003122B4 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 -/* 80315358 003122B8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8031535C 003122BC CB E1 00 10 */ lfd f31, 0x10(r1) -/* 80315360 003122C0 7C 08 03 A6 */ mtlr r0 -/* 80315364 003122C4 38 21 00 20 */ addi r1, r1, 0x20 -/* 80315368 003122C8 4E 80 00 20 */ blr - -.global ArcTangentR__5CMathFf -ArcTangentR__5CMathFf: -/* 8031536C 003122CC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80315370 003122D0 7C 08 02 A6 */ mflr r0 -/* 80315374 003122D4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80315378 003122D8 48 07 EE 51 */ bl atan -/* 8031537C 003122DC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80315380 003122E0 FC 20 08 18 */ frsp f1, f1 -/* 80315384 003122E4 7C 08 03 A6 */ mtlr r0 -/* 80315388 003122E8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8031538C 003122EC 4E 80 00 20 */ blr - -.global ArcCosineR__5CMathFf -ArcCosineR__5CMathFf: -/* 80315390 003122F0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80315394 003122F4 7C 08 02 A6 */ mflr r0 -/* 80315398 003122F8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8031539C 003122FC 48 07 F8 91 */ bl acos -/* 803153A0 00312300 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803153A4 00312304 FC 20 08 18 */ frsp f1, f1 -/* 803153A8 00312308 7C 08 03 A6 */ mtlr r0 -/* 803153AC 0031230C 38 21 00 10 */ addi r1, r1, 0x10 -/* 803153B0 00312310 4E 80 00 20 */ blr - -.global ArcSineR__5CMathFf -ArcSineR__5CMathFf: -/* 803153B4 00312314 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803153B8 00312318 7C 08 02 A6 */ mflr r0 -/* 803153BC 0031231C 90 01 00 14 */ stw r0, 0x14(r1) -/* 803153C0 00312320 48 07 F8 8D */ bl asin -/* 803153C4 00312324 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803153C8 00312328 FC 20 08 18 */ frsp f1, f1 -/* 803153CC 0031232C 7C 08 03 A6 */ mtlr r0 -/* 803153D0 00312330 38 21 00 10 */ addi r1, r1, 0x10 -/* 803153D4 00312334 4E 80 00 20 */ blr - -.global InvSqrtF__5CMathFf -InvSqrtF__5CMathFf: -/* 803153D8 00312338 C8 42 C9 B0 */ lfd f2, lbl_805AE6D0@sda21(r2) -/* 803153DC 0031233C FC 01 10 40 */ fcmpo cr0, f1, f2 -/* 803153E0 00312340 40 81 00 58 */ ble lbl_80315438 -/* 803153E4 00312344 FC 40 08 34 */ frsqrte f2, f1 -/* 803153E8 00312348 C8 82 C9 B8 */ lfd f4, lbl_805AE6D8@sda21(r2) -/* 803153EC 0031234C C8 62 C9 C0 */ lfd f3, lbl_805AE6E0@sda21(r2) -/* 803153F0 00312350 FC 02 00 B2 */ fmul f0, f2, f2 -/* 803153F4 00312354 FC 44 00 B2 */ fmul f2, f4, f2 -/* 803153F8 00312358 FC 01 18 3C */ fnmsub f0, f1, f0, f3 -/* 803153FC 0031235C FC 42 00 32 */ fmul f2, f2, f0 -/* 80315400 00312360 FC 02 00 B2 */ fmul f0, f2, f2 -/* 80315404 00312364 FC 44 00 B2 */ fmul f2, f4, f2 -/* 80315408 00312368 FC 01 18 3C */ fnmsub f0, f1, f0, f3 -/* 8031540C 0031236C FC 42 00 32 */ fmul f2, f2, f0 -/* 80315410 00312370 FC 02 00 B2 */ fmul f0, f2, f2 -/* 80315414 00312374 FC 44 00 B2 */ fmul f2, f4, f2 -/* 80315418 00312378 FC 01 18 3C */ fnmsub f0, f1, f0, f3 -/* 8031541C 0031237C FC 42 00 32 */ fmul f2, f2, f0 -/* 80315420 00312380 FC 02 00 B2 */ fmul f0, f2, f2 -/* 80315424 00312384 FC 44 00 B2 */ fmul f2, f4, f2 -/* 80315428 00312388 FC 01 18 3C */ fnmsub f0, f1, f0, f3 -/* 8031542C 0031238C FC 02 00 32 */ fmul f0, f2, f0 -/* 80315430 00312390 FC 41 00 32 */ fmul f2, f1, f0 -/* 80315434 00312394 48 00 00 2C */ b lbl_80315460 -lbl_80315438: -/* 80315438 00312398 FC 02 08 00 */ fcmpu cr0, f2, f1 -/* 8031543C 0031239C 40 82 00 08 */ bne lbl_80315444 -/* 80315440 003123A0 48 00 00 20 */ b lbl_80315460 -lbl_80315444: -/* 80315444 003123A4 FC 01 10 00 */ fcmpu cr0, f1, f2 -/* 80315448 003123A8 41 82 00 10 */ beq lbl_80315458 -/* 8031544C 003123AC 3C 60 80 5B */ lis r3, lbl_805A8BA0@ha -/* 80315450 003123B0 C0 43 8B A0 */ lfs f2, lbl_805A8BA0@l(r3) -/* 80315454 003123B4 48 00 00 0C */ b lbl_80315460 -lbl_80315458: -/* 80315458 003123B8 3C 60 80 5B */ lis r3, lbl_805A8BA4@ha -/* 8031545C 003123BC C0 43 8B A4 */ lfs f2, lbl_805A8BA4@l(r3) -lbl_80315460: -/* 80315460 003123C0 C8 02 C9 C8 */ lfd f0, lbl_805AE6E8@sda21(r2) -/* 80315464 003123C4 FC 20 10 24 */ fdiv f1, f0, f2 -/* 80315468 003123C8 FC 20 08 18 */ frsp f1, f1 -/* 8031546C 003123CC 4E 80 00 20 */ blr - -.global SqrtD__5CMathFd -SqrtD__5CMathFd: -/* 80315470 003123D0 C8 02 C9 B0 */ lfd f0, lbl_805AE6D0@sda21(r2) -/* 80315474 003123D4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80315478 003123D8 40 81 00 58 */ ble lbl_803154D0 -/* 8031547C 003123DC FC 40 08 34 */ frsqrte f2, f1 -/* 80315480 003123E0 C8 82 C9 B8 */ lfd f4, lbl_805AE6D8@sda21(r2) -/* 80315484 003123E4 C8 62 C9 C0 */ lfd f3, lbl_805AE6E0@sda21(r2) -/* 80315488 003123E8 FC 02 00 B2 */ fmul f0, f2, f2 -/* 8031548C 003123EC FC 44 00 B2 */ fmul f2, f4, f2 -/* 80315490 003123F0 FC 01 18 3C */ fnmsub f0, f1, f0, f3 -/* 80315494 003123F4 FC 42 00 32 */ fmul f2, f2, f0 -/* 80315498 003123F8 FC 02 00 B2 */ fmul f0, f2, f2 -/* 8031549C 003123FC FC 44 00 B2 */ fmul f2, f4, f2 -/* 803154A0 00312400 FC 01 18 3C */ fnmsub f0, f1, f0, f3 -/* 803154A4 00312404 FC 42 00 32 */ fmul f2, f2, f0 -/* 803154A8 00312408 FC 02 00 B2 */ fmul f0, f2, f2 -/* 803154AC 0031240C FC 44 00 B2 */ fmul f2, f4, f2 -/* 803154B0 00312410 FC 01 18 3C */ fnmsub f0, f1, f0, f3 -/* 803154B4 00312414 FC 42 00 32 */ fmul f2, f2, f0 -/* 803154B8 00312418 FC 02 00 B2 */ fmul f0, f2, f2 -/* 803154BC 0031241C FC 44 00 B2 */ fmul f2, f4, f2 -/* 803154C0 00312420 FC 01 18 3C */ fnmsub f0, f1, f0, f3 -/* 803154C4 00312424 FC 02 00 32 */ fmul f0, f2, f0 -/* 803154C8 00312428 FC 01 00 32 */ fmul f0, f1, f0 -/* 803154CC 0031242C 48 00 00 2C */ b lbl_803154F8 -lbl_803154D0: -/* 803154D0 00312430 FC 00 08 00 */ fcmpu cr0, f0, f1 -/* 803154D4 00312434 40 82 00 08 */ bne lbl_803154DC -/* 803154D8 00312438 48 00 00 20 */ b lbl_803154F8 -lbl_803154DC: -/* 803154DC 0031243C FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 803154E0 00312440 41 82 00 10 */ beq lbl_803154F0 -/* 803154E4 00312444 3C 60 80 5B */ lis r3, lbl_805A8BA0@ha -/* 803154E8 00312448 C0 03 8B A0 */ lfs f0, lbl_805A8BA0@l(r3) -/* 803154EC 0031244C 48 00 00 0C */ b lbl_803154F8 -lbl_803154F0: -/* 803154F0 00312450 3C 60 80 5B */ lis r3, lbl_805A8BA4@ha -/* 803154F4 00312454 C0 03 8B A4 */ lfs f0, lbl_805A8BA4@l(r3) -lbl_803154F8: -/* 803154F8 00312458 FC 20 00 90 */ fmr f1, f0 -/* 803154FC 0031245C 4E 80 00 20 */ blr - -.global SqrtF__5CMathFf -SqrtF__5CMathFf: -/* 80315500 00312460 C8 02 C9 B0 */ lfd f0, lbl_805AE6D0@sda21(r2) -/* 80315504 00312464 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80315508 00312468 40 81 00 58 */ ble lbl_80315560 -/* 8031550C 0031246C FC 40 08 34 */ frsqrte f2, f1 -/* 80315510 00312470 C8 82 C9 B8 */ lfd f4, lbl_805AE6D8@sda21(r2) -/* 80315514 00312474 C8 62 C9 C0 */ lfd f3, lbl_805AE6E0@sda21(r2) -/* 80315518 00312478 FC 02 00 B2 */ fmul f0, f2, f2 -/* 8031551C 0031247C FC 44 00 B2 */ fmul f2, f4, f2 -/* 80315520 00312480 FC 01 18 3C */ fnmsub f0, f1, f0, f3 -/* 80315524 00312484 FC 42 00 32 */ fmul f2, f2, f0 -/* 80315528 00312488 FC 02 00 B2 */ fmul f0, f2, f2 -/* 8031552C 0031248C FC 44 00 B2 */ fmul f2, f4, f2 -/* 80315530 00312490 FC 01 18 3C */ fnmsub f0, f1, f0, f3 -/* 80315534 00312494 FC 42 00 32 */ fmul f2, f2, f0 -/* 80315538 00312498 FC 02 00 B2 */ fmul f0, f2, f2 -/* 8031553C 0031249C FC 44 00 B2 */ fmul f2, f4, f2 -/* 80315540 003124A0 FC 01 18 3C */ fnmsub f0, f1, f0, f3 -/* 80315544 003124A4 FC 42 00 32 */ fmul f2, f2, f0 -/* 80315548 003124A8 FC 02 00 B2 */ fmul f0, f2, f2 -/* 8031554C 003124AC FC 44 00 B2 */ fmul f2, f4, f2 -/* 80315550 003124B0 FC 01 18 3C */ fnmsub f0, f1, f0, f3 -/* 80315554 003124B4 FC 02 00 32 */ fmul f0, f2, f0 -/* 80315558 003124B8 FC 01 00 32 */ fmul f0, f1, f0 -/* 8031555C 003124BC 48 00 00 2C */ b lbl_80315588 -lbl_80315560: -/* 80315560 003124C0 FC 00 08 00 */ fcmpu cr0, f0, f1 -/* 80315564 003124C4 40 82 00 08 */ bne lbl_8031556C -/* 80315568 003124C8 48 00 00 20 */ b lbl_80315588 -lbl_8031556C: -/* 8031556C 003124CC FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80315570 003124D0 41 82 00 10 */ beq lbl_80315580 -/* 80315574 003124D4 3C 60 80 5B */ lis r3, lbl_805A8BA0@ha -/* 80315578 003124D8 C0 03 8B A0 */ lfs f0, lbl_805A8BA0@l(r3) -/* 8031557C 003124DC 48 00 00 0C */ b lbl_80315588 -lbl_80315580: -/* 80315580 003124E0 3C 60 80 5B */ lis r3, lbl_805A8BA4@ha -/* 80315584 003124E4 C0 03 8B A4 */ lfs f0, lbl_805A8BA4@l(r3) -lbl_80315588: -/* 80315588 003124E8 FC 20 00 18 */ frsp f1, f0 -/* 8031558C 003124EC 4E 80 00 20 */ blr - -.global Calculate__6CCRC32FPCvUi -Calculate__6CCRC32FPCvUi: -/* 80315590 003124F0 28 04 00 00 */ cmplwi r4, 0 -/* 80315594 003124F4 3C A0 80 3D */ lis r5, lbl_803D7408@ha -/* 80315598 003124F8 38 A5 74 08 */ addi r5, r5, lbl_803D7408@l -/* 8031559C 003124FC 39 20 FF FF */ li r9, -1 -/* 803155A0 00312500 41 82 00 B8 */ beq lbl_80315658 -/* 803155A4 00312504 54 80 F0 BF */ rlwinm. r0, r4, 0x1e, 2, 0x1f -/* 803155A8 00312508 7C 09 03 A6 */ mtctr r0 -/* 803155AC 0031250C 41 82 00 84 */ beq lbl_80315630 -lbl_803155B0: -/* 803155B0 00312510 88 E3 00 00 */ lbz r7, 0(r3) -/* 803155B4 00312514 55 28 C2 3E */ srwi r8, r9, 8 -/* 803155B8 00312518 7C E6 07 74 */ extsb r6, r7 -/* 803155BC 0031251C 88 E3 00 01 */ lbz r7, 1(r3) -/* 803155C0 00312520 7D 20 32 78 */ xor r0, r9, r6 -/* 803155C4 00312524 54 00 15 BA */ rlwinm r0, r0, 2, 0x16, 0x1d -/* 803155C8 00312528 7C E6 07 74 */ extsb r6, r7 -/* 803155CC 0031252C 7C 05 00 2E */ lwzx r0, r5, r0 -/* 803155D0 00312530 88 E3 00 02 */ lbz r7, 2(r3) -/* 803155D4 00312534 7D 09 02 78 */ xor r9, r8, r0 -/* 803155D8 00312538 7D 20 32 78 */ xor r0, r9, r6 -/* 803155DC 0031253C 7C E6 07 74 */ extsb r6, r7 -/* 803155E0 00312540 54 00 15 BA */ rlwinm r0, r0, 2, 0x16, 0x1d -/* 803155E4 00312544 88 E3 00 03 */ lbz r7, 3(r3) -/* 803155E8 00312548 7C 05 00 2E */ lwzx r0, r5, r0 -/* 803155EC 0031254C 55 28 C2 3E */ srwi r8, r9, 8 -/* 803155F0 00312550 38 63 00 04 */ addi r3, r3, 4 -/* 803155F4 00312554 7D 09 02 78 */ xor r9, r8, r0 -/* 803155F8 00312558 7D 20 32 78 */ xor r0, r9, r6 -/* 803155FC 0031255C 7C E6 07 74 */ extsb r6, r7 -/* 80315600 00312560 54 00 15 BA */ rlwinm r0, r0, 2, 0x16, 0x1d -/* 80315604 00312564 55 28 C2 3E */ srwi r8, r9, 8 -/* 80315608 00312568 7C 05 00 2E */ lwzx r0, r5, r0 -/* 8031560C 0031256C 7D 09 02 78 */ xor r9, r8, r0 -/* 80315610 00312570 7D 20 32 78 */ xor r0, r9, r6 -/* 80315614 00312574 54 00 15 BA */ rlwinm r0, r0, 2, 0x16, 0x1d -/* 80315618 00312578 55 28 C2 3E */ srwi r8, r9, 8 -/* 8031561C 0031257C 7C 05 00 2E */ lwzx r0, r5, r0 -/* 80315620 00312580 7D 09 02 78 */ xor r9, r8, r0 -/* 80315624 00312584 42 00 FF 8C */ bdnz lbl_803155B0 -/* 80315628 00312588 70 84 00 03 */ andi. r4, r4, 3 -/* 8031562C 0031258C 41 82 00 2C */ beq lbl_80315658 -lbl_80315630: -/* 80315630 00312590 7C 89 03 A6 */ mtctr r4 -lbl_80315634: -/* 80315634 00312594 88 E3 00 00 */ lbz r7, 0(r3) -/* 80315638 00312598 55 28 C2 3E */ srwi r8, r9, 8 -/* 8031563C 0031259C 38 63 00 01 */ addi r3, r3, 1 -/* 80315640 003125A0 7C E6 07 74 */ extsb r6, r7 -/* 80315644 003125A4 7D 20 32 78 */ xor r0, r9, r6 -/* 80315648 003125A8 54 00 15 BA */ rlwinm r0, r0, 2, 0x16, 0x1d -/* 8031564C 003125AC 7C 05 00 2E */ lwzx r0, r5, r0 -/* 80315650 003125B0 7D 09 02 78 */ xor r9, r8, r0 -/* 80315654 003125B4 42 00 FF E0 */ bdnz lbl_80315634 -lbl_80315658: -/* 80315658 003125B8 7D 23 4B 78 */ mr r3, r9 -/* 8031565C 003125BC 4E 80 00 20 */ blr - -.global GetAllocatedAmount__15CCircularBufferCFv -GetAllocatedAmount__15CCircularBufferCFv: -/* 80315660 003125C0 80 A3 00 14 */ lwz r5, 0x14(r3) -/* 80315664 003125C4 80 83 00 0C */ lwz r4, 0xc(r3) -/* 80315668 003125C8 80 03 00 10 */ lwz r0, 0x10(r3) -/* 8031566C 003125CC 2C 05 FF FF */ cmpwi r5, -1 -/* 80315670 003125D0 7C 84 00 50 */ subf r4, r4, r0 -/* 80315674 003125D4 41 82 00 10 */ beq lbl_80315684 -/* 80315678 003125D8 80 03 00 08 */ lwz r0, 8(r3) -/* 8031567C 003125DC 7C 05 00 50 */ subf r0, r5, r0 -/* 80315680 003125E0 7C 84 02 14 */ add r4, r4, r0 -lbl_80315684: -/* 80315684 003125E4 7C 83 23 78 */ mr r3, r4 -/* 80315688 003125E8 4E 80 00 20 */ blr - -.global Free__15CCircularBufferFPvi -Free__15CCircularBufferFPvi: -/* 8031568C 003125EC 80 C3 00 14 */ lwz r6, 0x14(r3) -/* 80315690 003125F0 2C 06 FF FF */ cmpwi r6, -1 -/* 80315694 003125F4 40 81 00 2C */ ble lbl_803156C0 -/* 80315698 003125F8 80 03 00 04 */ lwz r0, 4(r3) -/* 8031569C 003125FC 7C 04 00 40 */ cmplw r4, r0 -/* 803156A0 00312600 40 82 00 14 */ bne lbl_803156B4 -/* 803156A4 00312604 38 00 FF FF */ li r0, -1 -/* 803156A8 00312608 90 03 00 14 */ stw r0, 0x14(r3) -/* 803156AC 0031260C 90 A3 00 0C */ stw r5, 0xc(r3) -/* 803156B0 00312610 48 00 00 1C */ b lbl_803156CC -lbl_803156B4: -/* 803156B4 00312614 7C 06 2A 14 */ add r0, r6, r5 -/* 803156B8 00312618 90 03 00 14 */ stw r0, 0x14(r3) -/* 803156BC 0031261C 48 00 00 10 */ b lbl_803156CC -lbl_803156C0: -/* 803156C0 00312620 80 03 00 0C */ lwz r0, 0xc(r3) -/* 803156C4 00312624 7C 00 2A 14 */ add r0, r0, r5 -/* 803156C8 00312628 90 03 00 0C */ stw r0, 0xc(r3) -lbl_803156CC: -/* 803156CC 0031262C 80 03 00 14 */ lwz r0, 0x14(r3) -/* 803156D0 00312630 2C 00 FF FF */ cmpwi r0, -1 -/* 803156D4 00312634 4C 82 00 20 */ bnelr -/* 803156D8 00312638 80 83 00 0C */ lwz r4, 0xc(r3) -/* 803156DC 0031263C 80 03 00 10 */ lwz r0, 0x10(r3) -/* 803156E0 00312640 7C 04 00 00 */ cmpw r4, r0 -/* 803156E4 00312644 4C 82 00 20 */ bnelr -/* 803156E8 00312648 38 00 00 00 */ li r0, 0 -/* 803156EC 0031264C 90 03 00 10 */ stw r0, 0x10(r3) -/* 803156F0 00312650 90 03 00 0C */ stw r0, 0xc(r3) -/* 803156F4 00312654 4E 80 00 20 */ blr - -.global Alloc__15CCircularBufferFi -Alloc__15CCircularBufferFi: -/* 803156F8 00312658 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803156FC 0031265C 7C 08 02 A6 */ mflr r0 -/* 80315700 00312660 90 01 00 14 */ stw r0, 0x14(r1) -/* 80315704 00312664 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80315708 00312668 7C 9F 23 78 */ mr r31, r4 -/* 8031570C 0031266C 93 C1 00 08 */ stw r30, 8(r1) -/* 80315710 00312670 7C 7E 1B 78 */ mr r30, r3 -/* 80315714 00312674 80 83 00 10 */ lwz r4, 0x10(r3) -/* 80315718 00312678 80 03 00 08 */ lwz r0, 8(r3) -/* 8031571C 0031267C 7C 04 00 50 */ subf r0, r4, r0 -/* 80315720 00312680 7C 00 F8 00 */ cmpw r0, r31 -/* 80315724 00312684 41 80 00 2C */ blt lbl_80315750 -/* 80315728 00312688 7F E5 FB 78 */ mr r5, r31 -/* 8031572C 0031268C 48 00 00 81 */ bl IsWrappedMemory__15CCircularBufferFii -/* 80315730 00312690 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80315734 00312694 40 82 00 1C */ bne lbl_80315750 -/* 80315738 00312698 80 7E 00 10 */ lwz r3, 0x10(r30) -/* 8031573C 0031269C 80 9E 00 04 */ lwz r4, 4(r30) -/* 80315740 003126A0 7C 03 FA 14 */ add r0, r3, r31 -/* 80315744 003126A4 90 1E 00 10 */ stw r0, 0x10(r30) -/* 80315748 003126A8 7C 64 1A 14 */ add r3, r4, r3 -/* 8031574C 003126AC 48 00 00 48 */ b lbl_80315794 -lbl_80315750: -/* 80315750 003126B0 80 1E 00 0C */ lwz r0, 0xc(r30) -/* 80315754 003126B4 7C 00 F8 00 */ cmpw r0, r31 -/* 80315758 003126B8 41 80 00 38 */ blt lbl_80315790 -/* 8031575C 003126BC 7F C3 F3 78 */ mr r3, r30 -/* 80315760 003126C0 7F E5 FB 78 */ mr r5, r31 -/* 80315764 003126C4 38 80 00 00 */ li r4, 0 -/* 80315768 003126C8 48 00 00 45 */ bl IsWrappedMemory__15CCircularBufferFii -/* 8031576C 003126CC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80315770 003126D0 40 82 00 20 */ bne lbl_80315790 -/* 80315774 003126D4 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 80315778 003126D8 38 00 00 00 */ li r0, 0 -/* 8031577C 003126DC 90 1E 00 0C */ stw r0, 0xc(r30) -/* 80315780 003126E0 93 FE 00 10 */ stw r31, 0x10(r30) -/* 80315784 003126E4 90 7E 00 14 */ stw r3, 0x14(r30) -/* 80315788 003126E8 80 7E 00 04 */ lwz r3, 4(r30) -/* 8031578C 003126EC 48 00 00 08 */ b lbl_80315794 -lbl_80315790: -/* 80315790 003126F0 38 60 00 00 */ li r3, 0 -lbl_80315794: -/* 80315794 003126F4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80315798 003126F8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8031579C 003126FC 83 C1 00 08 */ lwz r30, 8(r1) -/* 803157A0 00312700 7C 08 03 A6 */ mtlr r0 -/* 803157A4 00312704 38 21 00 10 */ addi r1, r1, 0x10 -/* 803157A8 00312708 4E 80 00 20 */ blr - -.global IsWrappedMemory__15CCircularBufferFii -IsWrappedMemory__15CCircularBufferFii: -/* 803157AC 0031270C 80 63 00 14 */ lwz r3, 0x14(r3) -/* 803157B0 00312710 2C 03 FF FF */ cmpwi r3, -1 -/* 803157B4 00312714 40 81 00 20 */ ble lbl_803157D4 -/* 803157B8 00312718 7C 03 20 00 */ cmpw r3, r4 -/* 803157BC 0031271C 41 80 00 18 */ blt lbl_803157D4 -/* 803157C0 00312720 7C 04 2A 14 */ add r0, r4, r5 -/* 803157C4 00312724 7C 03 00 00 */ cmpw r3, r0 -/* 803157C8 00312728 40 80 00 0C */ bge lbl_803157D4 -/* 803157CC 0031272C 38 60 00 01 */ li r3, 1 -/* 803157D0 00312730 4E 80 00 20 */ blr -lbl_803157D4: -/* 803157D4 00312734 38 60 00 00 */ li r3, 0 -/* 803157D8 00312738 4E 80 00 20 */ blr - -.global __ct__15CCircularBufferFPviQ215CCircularBuffer10EOwnership -__ct__15CCircularBufferFPviQ215CCircularBuffer10EOwnership: -/* 803157DC 0031273C 7C 04 00 D0 */ neg r0, r4 -/* 803157E0 00312740 38 E0 00 00 */ li r7, 0 -/* 803157E4 00312744 7C 00 23 78 */ or r0, r0, r4 -/* 803157E8 00312748 2C 06 00 01 */ cmpwi r6, 1 -/* 803157EC 0031274C 54 00 0F FE */ srwi r0, r0, 0x1f -/* 803157F0 00312750 98 03 00 00 */ stb r0, 0(r3) -/* 803157F4 00312754 38 00 FF FF */ li r0, -1 -/* 803157F8 00312758 90 83 00 04 */ stw r4, 4(r3) -/* 803157FC 0031275C 90 A3 00 08 */ stw r5, 8(r3) -/* 80315800 00312760 90 E3 00 0C */ stw r7, 0xc(r3) -/* 80315804 00312764 90 E3 00 10 */ stw r7, 0x10(r3) -/* 80315808 00312768 90 03 00 14 */ stw r0, 0x14(r3) -/* 8031580C 0031276C 4C 82 00 20 */ bnelr -/* 80315810 00312770 98 E3 00 00 */ stb r7, 0(r3) -/* 80315814 00312774 4E 80 00 20 */ blr - -.global __nwa__FUlPCcPCc -__nwa__FUlPCcPCc: -/* 80315818 00312778 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8031581C 0031277C 7C 08 02 A6 */ mflr r0 -/* 80315820 00312780 7C A6 2B 78 */ mr r6, r5 -/* 80315824 00312784 7C 85 23 78 */ mr r5, r4 -/* 80315828 00312788 90 01 00 24 */ stw r0, 0x24(r1) -/* 8031582C 0031278C 38 80 FF FF */ li r4, -1 -/* 80315830 00312790 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80315834 00312794 7C 7F 1B 78 */ mr r31, r3 -/* 80315838 00312798 38 61 00 08 */ addi r3, r1, 8 -/* 8031583C 0031279C 4B FC 0B 99 */ bl __ct__10CCallStackFUiPCcPCc -/* 80315840 003127A0 7C 67 1B 78 */ mr r7, r3 -/* 80315844 003127A4 7F E3 FB 78 */ mr r3, r31 -/* 80315848 003127A8 38 80 00 00 */ li r4, 0 -/* 8031584C 003127AC 38 A0 00 01 */ li r5, 1 -/* 80315850 003127B0 38 C0 00 01 */ li r6, 1 -/* 80315854 003127B4 48 00 01 41 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack -/* 80315858 003127B8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8031585C 003127BC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80315860 003127C0 7C 08 03 A6 */ mtlr r0 -/* 80315864 003127C4 38 21 00 20 */ addi r1, r1, 0x20 -/* 80315868 003127C8 4E 80 00 20 */ blr - -.global __nw__FUlPCcPCc -__nw__FUlPCcPCc: -/* 8031586C 003127CC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80315870 003127D0 7C 08 02 A6 */ mflr r0 -/* 80315874 003127D4 7C A6 2B 78 */ mr r6, r5 -/* 80315878 003127D8 7C 85 23 78 */ mr r5, r4 -/* 8031587C 003127DC 90 01 00 24 */ stw r0, 0x24(r1) -/* 80315880 003127E0 38 80 FF FF */ li r4, -1 -/* 80315884 003127E4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80315888 003127E8 7C 7F 1B 78 */ mr r31, r3 -/* 8031588C 003127EC 38 61 00 08 */ addi r3, r1, 8 -/* 80315890 003127F0 4B FC 0B 45 */ bl __ct__10CCallStackFUiPCcPCc -/* 80315894 003127F4 7C 67 1B 78 */ mr r7, r3 -/* 80315898 003127F8 7F E3 FB 78 */ mr r3, r31 -/* 8031589C 003127FC 38 80 00 00 */ li r4, 0 -/* 803158A0 00312800 38 A0 00 01 */ li r5, 1 -/* 803158A4 00312804 38 C0 00 00 */ li r6, 0 -/* 803158A8 00312808 48 00 00 ED */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack -/* 803158AC 0031280C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 803158B0 00312810 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 803158B4 00312814 7C 08 03 A6 */ mtlr r0 -/* 803158B8 00312818 38 21 00 20 */ addi r1, r1, 0x20 -/* 803158BC 0031281C 4E 80 00 20 */ blr - -.global OffsetFakeStatics__7CMemoryFi -OffsetFakeStatics__7CMemoryFi: -/* 803158C0 00312820 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803158C4 00312824 7C 08 02 A6 */ mflr r0 -/* 803158C8 00312828 7C 64 1B 78 */ mr r4, r3 -/* 803158CC 0031282C 90 01 00 14 */ stw r0, 0x14(r1) -/* 803158D0 00312830 80 6D 9C A8 */ lwz r3, lbl_805A8868@sda21(r13) -/* 803158D4 00312834 81 83 00 00 */ lwz r12, 0(r3) -/* 803158D8 00312838 81 8C 00 38 */ lwz r12, 0x38(r12) -/* 803158DC 0031283C 7D 89 03 A6 */ mtctr r12 -/* 803158E0 00312840 4E 80 04 21 */ bctrl -/* 803158E4 00312844 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803158E8 00312848 7C 08 03 A6 */ mtlr r0 -/* 803158EC 0031284C 38 21 00 10 */ addi r1, r1, 0x10 -/* 803158F0 00312850 4E 80 00 20 */ blr - -.global SetOutOfMemoryCallback__7CMemoryFPFPCvUi_CbPCv -SetOutOfMemoryCallback__7CMemoryFPFPCvUi_CbPCv: -/* 803158F4 00312854 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803158F8 00312858 7C 08 02 A6 */ mflr r0 -/* 803158FC 0031285C 7C 85 23 78 */ mr r5, r4 -/* 80315900 00312860 90 01 00 14 */ stw r0, 0x14(r1) -/* 80315904 00312864 7C 60 1B 78 */ mr r0, r3 -/* 80315908 00312868 7C 04 03 78 */ mr r4, r0 -/* 8031590C 0031286C 80 6D 9C A8 */ lwz r3, lbl_805A8868@sda21(r13) -/* 80315910 00312870 81 83 00 00 */ lwz r12, 0(r3) -/* 80315914 00312874 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 80315918 00312878 7D 89 03 A6 */ mtctr r12 -/* 8031591C 0031287C 4E 80 04 21 */ bctrl -/* 80315920 00312880 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80315924 00312884 7C 08 03 A6 */ mtlr r0 -/* 80315928 00312888 38 21 00 10 */ addi r1, r1, 0x10 -/* 8031592C 0031288C 4E 80 00 20 */ blr - -.global Free__7CMemoryFPCv -Free__7CMemoryFPCv: -/* 80315930 00312890 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80315934 00312894 7C 08 02 A6 */ mflr r0 -/* 80315938 00312898 90 01 00 24 */ stw r0, 0x24(r1) -/* 8031593C 0031289C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80315940 003128A0 7C 7F 1B 78 */ mr r31, r3 -/* 80315944 003128A4 48 06 BD 1D */ bl OSDisableInterrupts -/* 80315948 003128A8 7C 03 00 D0 */ neg r0, r3 -/* 8031594C 003128AC 28 1F 00 00 */ cmplwi r31, 0 -/* 80315950 003128B0 7C 00 1B 78 */ or r0, r0, r3 -/* 80315954 003128B4 54 00 0F FE */ srwi r0, r0, 0x1f -/* 80315958 003128B8 98 01 00 08 */ stb r0, 8(r1) -/* 8031595C 003128BC 41 82 00 1C */ beq lbl_80315978 -/* 80315960 003128C0 80 6D 9C A8 */ lwz r3, lbl_805A8868@sda21(r13) -/* 80315964 003128C4 7F E4 FB 78 */ mr r4, r31 -/* 80315968 003128C8 81 83 00 00 */ lwz r12, 0(r3) -/* 8031596C 003128CC 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 80315970 003128D0 7D 89 03 A6 */ mtctr r12 -/* 80315974 003128D4 4E 80 04 21 */ bctrl -lbl_80315978: -/* 80315978 003128D8 88 61 00 08 */ lbz r3, 8(r1) -/* 8031597C 003128DC 48 06 BD 0D */ bl OSRestoreInterrupts -/* 80315980 003128E0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80315984 003128E4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80315988 003128E8 7C 08 03 A6 */ mtlr r0 -/* 8031598C 003128EC 38 21 00 20 */ addi r1, r1, 0x20 -/* 80315990 003128F0 4E 80 00 20 */ blr - -.global Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack -Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack: -/* 80315994 003128F4 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80315998 003128F8 7C 08 02 A6 */ mflr r0 -/* 8031599C 003128FC 90 01 00 34 */ stw r0, 0x34(r1) -/* 803159A0 00312900 BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 803159A4 00312904 7C 7B 1B 78 */ mr r27, r3 -/* 803159A8 00312908 7C 9C 23 78 */ mr r28, r4 -/* 803159AC 0031290C 7C BD 2B 78 */ mr r29, r5 -/* 803159B0 00312910 7C DE 33 78 */ mr r30, r6 -/* 803159B4 00312914 7C FF 3B 78 */ mr r31, r7 -/* 803159B8 00312918 48 06 BC A9 */ bl OSDisableInterrupts -/* 803159BC 0031291C 7C 03 00 D0 */ neg r0, r3 -/* 803159C0 00312920 7F 64 DB 78 */ mr r4, r27 -/* 803159C4 00312924 7C 00 1B 78 */ or r0, r0, r3 -/* 803159C8 00312928 80 6D 9C A8 */ lwz r3, lbl_805A8868@sda21(r13) -/* 803159CC 0031292C 54 00 0F FE */ srwi r0, r0, 0x1f -/* 803159D0 00312930 7F 85 E3 78 */ mr r5, r28 -/* 803159D4 00312934 81 83 00 00 */ lwz r12, 0(r3) -/* 803159D8 00312938 7F A6 EB 78 */ mr r6, r29 -/* 803159DC 0031293C 7F C7 F3 78 */ mr r7, r30 -/* 803159E0 00312940 7F E8 FB 78 */ mr r8, r31 -/* 803159E4 00312944 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 803159E8 00312948 98 01 00 08 */ stb r0, 8(r1) -/* 803159EC 0031294C 7D 89 03 A6 */ mtctr r12 -/* 803159F0 00312950 4E 80 04 21 */ bctrl -/* 803159F4 00312954 7C 7F 1B 79 */ or. r31, r3, r3 -/* 803159F8 00312958 40 82 00 18 */ bne lbl_80315A10 -/* 803159FC 0031295C 3C 60 80 3D */ lis r3, lbl_803D7808@ha -/* 80315A00 00312960 7F 64 DB 78 */ mr r4, r27 -/* 80315A04 00312964 38 63 78 08 */ addi r3, r3, lbl_803D7808@l -/* 80315A08 00312968 4C C6 31 82 */ crclr 6 -/* 80315A0C 0031296C 4B FC 0E 21 */ bl rs_debugger_printf__FPCce -lbl_80315A10: -/* 80315A10 00312970 88 61 00 08 */ lbz r3, 8(r1) -/* 80315A14 00312974 48 06 BC 75 */ bl OSRestoreInterrupts -/* 80315A18 00312978 7F E3 FB 78 */ mr r3, r31 -/* 80315A1C 0031297C BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 80315A20 00312980 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80315A24 00312984 7C 08 03 A6 */ mtlr r0 -/* 80315A28 00312988 38 21 00 30 */ addi r1, r1, 0x30 -/* 80315A2C 0031298C 4E 80 00 20 */ blr - -.global Shutdown__7CMemoryFv -Shutdown__7CMemoryFv: -/* 80315A30 00312990 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 80315A34 00312994 7C 08 02 A6 */ mflr r0 -/* 80315A38 00312998 90 01 00 64 */ stw r0, 0x64(r1) -/* 80315A3C 0031299C 38 00 00 00 */ li r0, 0 -/* 80315A40 003129A0 38 61 00 08 */ addi r3, r1, 8 -/* 80315A44 003129A4 80 8D 9C A8 */ lwz r4, lbl_805A8868@sda21(r13) -/* 80315A48 003129A8 98 0D A8 A0 */ stb r0, lbl_805A9460@sda21(r13) -/* 80315A4C 003129AC 81 84 00 00 */ lwz r12, 0(r4) -/* 80315A50 003129B0 81 8C 00 3C */ lwz r12, 0x3c(r12) -/* 80315A54 003129B4 7D 89 03 A6 */ mtctr r12 -/* 80315A58 003129B8 4E 80 04 21 */ bctrl -/* 80315A5C 003129BC 80 01 00 10 */ lwz r0, 0x10(r1) -/* 80315A60 003129C0 28 00 00 00 */ cmplwi r0, 0 -/* 80315A64 003129C4 41 82 00 34 */ beq lbl_80315A98 -/* 80315A68 003129C8 38 00 00 00 */ li r0, 0 -/* 80315A6C 003129CC 3C 60 80 31 */ lis r3, cmemory_enum_alloc_cb__FRCQ210IAllocator10SAllocInfoPCv@ha -/* 80315A70 003129D0 38 83 5A BC */ addi r4, r3, cmemory_enum_alloc_cb__FRCQ210IAllocator10SAllocInfoPCv@l -/* 80315A74 003129D4 90 0D A8 A4 */ stw r0, lbl_805A9464@sda21(r13) -/* 80315A78 003129D8 80 6D 9C A8 */ lwz r3, lbl_805A8868@sda21(r13) -/* 80315A7C 003129DC 38 A0 00 00 */ li r5, 0 -/* 80315A80 003129E0 90 0D A8 A8 */ stw r0, lbl_805A9468@sda21(r13) -/* 80315A84 003129E4 38 C0 00 00 */ li r6, 0 -/* 80315A88 003129E8 81 83 00 00 */ lwz r12, 0(r3) -/* 80315A8C 003129EC 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 80315A90 003129F0 7D 89 03 A6 */ mtctr r12 -/* 80315A94 003129F4 4E 80 04 21 */ bctrl -lbl_80315A98: -/* 80315A98 003129F8 80 6D 9C A8 */ lwz r3, lbl_805A8868@sda21(r13) -/* 80315A9C 003129FC 81 83 00 00 */ lwz r12, 0(r3) -/* 80315AA0 00312A00 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80315AA4 00312A04 7D 89 03 A6 */ mtctr r12 -/* 80315AA8 00312A08 4E 80 04 21 */ bctrl -/* 80315AAC 00312A0C 80 01 00 64 */ lwz r0, 0x64(r1) -/* 80315AB0 00312A10 7C 08 03 A6 */ mtlr r0 -/* 80315AB4 00312A14 38 21 00 60 */ addi r1, r1, 0x60 -/* 80315AB8 00312A18 4E 80 00 20 */ blr - -.global cmemory_enum_alloc_cb__FRCQ210IAllocator10SAllocInfoPCv -cmemory_enum_alloc_cb__FRCQ210IAllocator10SAllocInfoPCv: -/* 80315ABC 00312A1C 88 03 00 08 */ lbz r0, 8(r3) -/* 80315AC0 00312A20 28 00 00 00 */ cmplwi r0, 0 -/* 80315AC4 00312A24 41 82 00 2C */ beq lbl_80315AF0 -/* 80315AC8 00312A28 88 03 00 09 */ lbz r0, 9(r3) -/* 80315ACC 00312A2C 28 00 00 00 */ cmplwi r0, 0 -/* 80315AD0 00312A30 40 82 00 20 */ bne lbl_80315AF0 -/* 80315AD4 00312A34 80 AD A8 A4 */ lwz r5, lbl_805A9464@sda21(r13) -/* 80315AD8 00312A38 80 8D A8 A8 */ lwz r4, lbl_805A9468@sda21(r13) -/* 80315ADC 00312A3C 80 03 00 04 */ lwz r0, 4(r3) -/* 80315AE0 00312A40 38 65 00 01 */ addi r3, r5, 1 -/* 80315AE4 00312A44 90 6D A8 A4 */ stw r3, lbl_805A9464@sda21(r13) -/* 80315AE8 00312A48 7C 04 02 14 */ add r0, r4, r0 -/* 80315AEC 00312A4C 90 0D A8 A8 */ stw r0, lbl_805A9468@sda21(r13) -lbl_80315AF0: -/* 80315AF0 00312A50 38 60 00 01 */ li r3, 1 -/* 80315AF4 00312A54 4E 80 00 20 */ blr - -.global SetAllocator__7CMemoryFR10COsContextR10IAllocator -SetAllocator__7CMemoryFR10COsContextR10IAllocator: -/* 80315AF8 00312A58 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80315AFC 00312A5C 7C 08 02 A6 */ mflr r0 -/* 80315B00 00312A60 90 01 00 14 */ stw r0, 0x14(r1) -/* 80315B04 00312A64 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80315B08 00312A68 7C 9F 23 78 */ mr r31, r4 -/* 80315B0C 00312A6C 93 C1 00 08 */ stw r30, 8(r1) -/* 80315B10 00312A70 7C 7E 1B 78 */ mr r30, r3 -/* 80315B14 00312A74 80 0D 9C A8 */ lwz r0, lbl_805A8868@sda21(r13) -/* 80315B18 00312A78 7C 00 F8 40 */ cmplw r0, r31 -/* 80315B1C 00312A7C 41 82 00 3C */ beq lbl_80315B58 -/* 80315B20 00312A80 28 00 00 00 */ cmplwi r0, 0 -/* 80315B24 00312A84 41 82 00 18 */ beq lbl_80315B3C -/* 80315B28 00312A88 7C 03 03 78 */ mr r3, r0 -/* 80315B2C 00312A8C 81 83 00 00 */ lwz r12, 0(r3) -/* 80315B30 00312A90 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80315B34 00312A94 7D 89 03 A6 */ mtctr r12 -/* 80315B38 00312A98 4E 80 04 21 */ bctrl -lbl_80315B3C: -/* 80315B3C 00312A9C 93 ED 9C A8 */ stw r31, lbl_805A8868@sda21(r13) -/* 80315B40 00312AA0 7F E3 FB 78 */ mr r3, r31 -/* 80315B44 00312AA4 7F C4 F3 78 */ mr r4, r30 -/* 80315B48 00312AA8 81 9F 00 00 */ lwz r12, 0(r31) -/* 80315B4C 00312AAC 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80315B50 00312AB0 7D 89 03 A6 */ mtctr r12 -/* 80315B54 00312AB4 4E 80 04 21 */ bctrl -lbl_80315B58: -/* 80315B58 00312AB8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80315B5C 00312ABC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80315B60 00312AC0 83 C1 00 08 */ lwz r30, 8(r1) -/* 80315B64 00312AC4 7C 08 03 A6 */ mtlr r0 -/* 80315B68 00312AC8 38 21 00 10 */ addi r1, r1, 0x10 -/* 80315B6C 00312ACC 4E 80 00 20 */ blr - -.global Startup__7CMemoryFR10COsContext -Startup__7CMemoryFR10COsContext: -/* 80315B70 00312AD0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80315B74 00312AD4 7C 08 02 A6 */ mflr r0 -/* 80315B78 00312AD8 7C 64 1B 78 */ mr r4, r3 -/* 80315B7C 00312ADC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80315B80 00312AE0 80 6D 9C A8 */ lwz r3, lbl_805A8868@sda21(r13) -/* 80315B84 00312AE4 81 83 00 00 */ lwz r12, 0(r3) -/* 80315B88 00312AE8 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80315B8C 00312AEC 7D 89 03 A6 */ mtctr r12 -/* 80315B90 00312AF0 4E 80 04 21 */ bctrl -/* 80315B94 00312AF4 98 6D A8 A0 */ stb r3, lbl_805A9460@sda21(r13) -/* 80315B98 00312AF8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80315B9C 00312AFC 7C 08 03 A6 */ mtlr r0 -/* 80315BA0 00312B00 38 21 00 10 */ addi r1, r1, 0x10 -/* 80315BA4 00312B04 4E 80 00 20 */ blr - -.global GetGameAllocator__10CMemorySysFv -GetGameAllocator__10CMemorySysFv: -/* 80315BA8 00312B08 3C 60 80 4C */ lis r3, lbl_804BFD64@ha -/* 80315BAC 00312B0C 38 63 FD 64 */ addi r3, r3, lbl_804BFD64@l -/* 80315BB0 00312B10 4E 80 00 20 */ blr - -.global __dt__10CMemorySysFv -__dt__10CMemorySysFv: -/* 80315BB4 00312B14 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80315BB8 00312B18 7C 08 02 A6 */ mflr r0 -/* 80315BBC 00312B1C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80315BC0 00312B20 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80315BC4 00312B24 7C 9F 23 78 */ mr r31, r4 -/* 80315BC8 00312B28 93 C1 00 08 */ stw r30, 8(r1) -/* 80315BCC 00312B2C 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80315BD0 00312B30 41 82 00 18 */ beq lbl_80315BE8 -/* 80315BD4 00312B34 4B FF FE 5D */ bl Shutdown__7CMemoryFv -/* 80315BD8 00312B38 7F E0 07 35 */ extsh. r0, r31 -/* 80315BDC 00312B3C 40 81 00 0C */ ble lbl_80315BE8 -/* 80315BE0 00312B40 7F C3 F3 78 */ mr r3, r30 -/* 80315BE4 00312B44 4B FF FD 4D */ bl Free__7CMemoryFPCv -lbl_80315BE8: -/* 80315BE8 00312B48 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80315BEC 00312B4C 7F C3 F3 78 */ mr r3, r30 -/* 80315BF0 00312B50 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80315BF4 00312B54 83 C1 00 08 */ lwz r30, 8(r1) -/* 80315BF8 00312B58 7C 08 03 A6 */ mtlr r0 -/* 80315BFC 00312B5C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80315C00 00312B60 4E 80 00 20 */ blr - -.global __ct__10CMemorySysFR10COsContextR10IAllocator -__ct__10CMemorySysFR10COsContextR10IAllocator: -/* 80315C04 00312B64 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80315C08 00312B68 7C 08 02 A6 */ mflr r0 -/* 80315C0C 00312B6C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80315C10 00312B70 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80315C14 00312B74 7C BF 2B 78 */ mr r31, r5 -/* 80315C18 00312B78 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80315C1C 00312B7C 7C 9E 23 78 */ mr r30, r4 -/* 80315C20 00312B80 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80315C24 00312B84 7C 7D 1B 78 */ mr r29, r3 -/* 80315C28 00312B88 7F C3 F3 78 */ mr r3, r30 -/* 80315C2C 00312B8C 4B FF FF 45 */ bl Startup__7CMemoryFR10COsContext -/* 80315C30 00312B90 7F C3 F3 78 */ mr r3, r30 -/* 80315C34 00312B94 7F E4 FB 78 */ mr r4, r31 -/* 80315C38 00312B98 4B FF FE C1 */ bl SetAllocator__7CMemoryFR10COsContextR10IAllocator -/* 80315C3C 00312B9C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80315C40 00312BA0 7F A3 EB 78 */ mr r3, r29 -/* 80315C44 00312BA4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80315C48 00312BA8 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80315C4C 00312BAC 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80315C50 00312BB0 7C 08 03 A6 */ mtlr r0 -/* 80315C54 00312BB4 38 21 00 20 */ addi r1, r1, 0x20 -/* 80315C58 00312BB8 4E 80 00 20 */ blr - -.global __sinit_CMemory_cpp -__sinit_CMemory_cpp: -/* 80315C5C 00312BBC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80315C60 00312BC0 7C 08 02 A6 */ mflr r0 -/* 80315C64 00312BC4 3C 60 80 4C */ lis r3, lbl_804BFD64@ha -/* 80315C68 00312BC8 90 01 00 14 */ stw r0, 0x14(r1) -/* 80315C6C 00312BCC 38 63 FD 64 */ addi r3, r3, lbl_804BFD64@l -/* 80315C70 00312BD0 48 03 C9 5D */ bl __ct__14CGameAllocatorFv -/* 80315C74 00312BD4 3C 80 80 35 */ lis r4, __dt__14CGameAllocatorFv@ha -/* 80315C78 00312BD8 3C A0 80 4C */ lis r5, lbl_804BFD58@ha -/* 80315C7C 00312BDC 38 84 25 44 */ addi r4, r4, __dt__14CGameAllocatorFv@l -/* 80315C80 00312BE0 38 A5 FD 58 */ addi r5, r5, lbl_804BFD58@l -/* 80315C84 00312BE4 48 07 3A 09 */ bl __register_global_object -/* 80315C88 00312BE8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80315C8C 00312BEC 7C 08 03 A6 */ mtlr r0 -/* 80315C90 00312BF0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80315C94 00312BF4 4E 80 00 20 */ blr - -.global __dt__10IAllocatorFv -__dt__10IAllocatorFv: -/* 80315C98 00312BF8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80315C9C 00312BFC 7C 08 02 A6 */ mflr r0 -/* 80315CA0 00312C00 90 01 00 14 */ stw r0, 0x14(r1) -/* 80315CA4 00312C04 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80315CA8 00312C08 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80315CAC 00312C0C 41 82 00 1C */ beq lbl_80315CC8 -/* 80315CB0 00312C10 3C A0 80 3F */ lis r5, lbl_803ED9C0@ha -/* 80315CB4 00312C14 7C 80 07 35 */ extsh. r0, r4 -/* 80315CB8 00312C18 38 05 D9 C0 */ addi r0, r5, lbl_803ED9C0@l -/* 80315CBC 00312C1C 90 1F 00 00 */ stw r0, 0(r31) -/* 80315CC0 00312C20 40 81 00 08 */ ble lbl_80315CC8 -/* 80315CC4 00312C24 4B FF FC 6D */ bl Free__7CMemoryFPCv -lbl_80315CC8: -/* 80315CC8 00312C28 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80315CCC 00312C2C 7F E3 FB 78 */ mr r3, r31 -/* 80315CD0 00312C30 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80315CD4 00312C34 7C 08 03 A6 */ mtlr r0 -/* 80315CD8 00312C38 38 21 00 10 */ addi r1, r1, 0x10 -/* 80315CDC 00312C3C 4E 80 00 20 */ blr - -.global __ct__Q210IAllocator8SMetricsFUiUiUiUiUiUiUiUiUiUiUiUiUiUiUiUiUiUiUiUiUiUi -__ct__Q210IAllocator8SMetricsFUiUiUiUiUiUiUiUiUiUiUiUiUiUiUiUiUiUiUiUiUiUi: -/* 80315CE0 00312C40 90 83 00 00 */ stw r4, 0(r3) -/* 80315CE4 00312C44 80 01 00 08 */ lwz r0, 8(r1) -/* 80315CE8 00312C48 90 A3 00 04 */ stw r5, 4(r3) -/* 80315CEC 00312C4C 81 81 00 0C */ lwz r12, 0xc(r1) -/* 80315CF0 00312C50 90 C3 00 08 */ stw r6, 8(r3) -/* 80315CF4 00312C54 81 61 00 10 */ lwz r11, 0x10(r1) -/* 80315CF8 00312C58 90 E3 00 0C */ stw r7, 0xc(r3) -/* 80315CFC 00312C5C 80 E1 00 14 */ lwz r7, 0x14(r1) -/* 80315D00 00312C60 91 03 00 10 */ stw r8, 0x10(r3) -/* 80315D04 00312C64 80 C1 00 18 */ lwz r6, 0x18(r1) -/* 80315D08 00312C68 91 23 00 14 */ stw r9, 0x14(r3) -/* 80315D0C 00312C6C 80 A1 00 1C */ lwz r5, 0x1c(r1) -/* 80315D10 00312C70 91 43 00 18 */ stw r10, 0x18(r3) -/* 80315D14 00312C74 80 81 00 20 */ lwz r4, 0x20(r1) -/* 80315D18 00312C78 90 03 00 1C */ stw r0, 0x1c(r3) -/* 80315D1C 00312C7C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80315D20 00312C80 91 83 00 20 */ stw r12, 0x20(r3) -/* 80315D24 00312C84 81 21 00 28 */ lwz r9, 0x28(r1) -/* 80315D28 00312C88 91 63 00 24 */ stw r11, 0x24(r3) -/* 80315D2C 00312C8C 81 01 00 2C */ lwz r8, 0x2c(r1) -/* 80315D30 00312C90 90 E3 00 28 */ stw r7, 0x28(r3) -/* 80315D34 00312C94 80 E1 00 30 */ lwz r7, 0x30(r1) -/* 80315D38 00312C98 90 C3 00 2C */ stw r6, 0x2c(r3) -/* 80315D3C 00312C9C 80 C1 00 34 */ lwz r6, 0x34(r1) -/* 80315D40 00312CA0 90 A3 00 30 */ stw r5, 0x30(r3) -/* 80315D44 00312CA4 80 A1 00 38 */ lwz r5, 0x38(r1) -/* 80315D48 00312CA8 90 83 00 34 */ stw r4, 0x34(r3) -/* 80315D4C 00312CAC 80 81 00 3C */ lwz r4, 0x3c(r1) -/* 80315D50 00312CB0 90 03 00 38 */ stw r0, 0x38(r3) -/* 80315D54 00312CB4 80 01 00 40 */ lwz r0, 0x40(r1) -/* 80315D58 00312CB8 91 23 00 3C */ stw r9, 0x3c(r3) -/* 80315D5C 00312CBC 91 03 00 40 */ stw r8, 0x40(r3) -/* 80315D60 00312CC0 90 E3 00 44 */ stw r7, 0x44(r3) -/* 80315D64 00312CC4 90 C3 00 48 */ stw r6, 0x48(r3) -/* 80315D68 00312CC8 90 A3 00 4C */ stw r5, 0x4c(r3) -/* 80315D6C 00312CCC 90 83 00 50 */ stw r4, 0x50(r3) -/* 80315D70 00312CD0 90 03 00 54 */ stw r0, 0x54(r3) -/* 80315D74 00312CD4 4E 80 00 20 */ blr - -.global GetNumChildren__13CPVSVisOctreeCFUc -GetNumChildren__13CPVSVisOctreeCFUc: -/* 80315D78 00312CD8 3C 60 80 3D */ lis r3, lbl_803D7820@ha -/* 80315D7C 00312CDC 54 80 16 FA */ rlwinm r0, r4, 2, 0x1b, 0x1d -/* 80315D80 00312CE0 38 63 78 20 */ addi r3, r3, lbl_803D7820@l -/* 80315D84 00312CE4 7C 63 00 2E */ lwzx r3, r3, r0 -/* 80315D88 00312CE8 4E 80 00 20 */ blr - -.global IterateSearch__13CPVSVisOctreeCFUcRC9CVector3f -IterateSearch__13CPVSVisOctreeCFUcRC9CVector3f: -/* 80315D8C 00312CEC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80315D90 00312CF0 54 80 07 7F */ clrlwi. r0, r4, 0x1d -/* 80315D94 00312CF4 54 84 06 3E */ clrlwi r4, r4, 0x18 -/* 80315D98 00312CF8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80315D9C 00312CFC 40 82 00 0C */ bne lbl_80315DA8 -/* 80315DA0 00312D00 38 60 FF FF */ li r3, -1 -/* 80315DA4 00312D04 48 00 01 C8 */ b lbl_80315F6C -lbl_80315DA8: -/* 80315DA8 00312D08 C0 23 00 38 */ lfs f1, 0x38(r3) -/* 80315DAC 00312D0C C0 63 00 2C */ lfs f3, 0x2c(r3) -/* 80315DB0 00312D10 C0 03 00 3C */ lfs f0, 0x3c(r3) -/* 80315DB4 00312D14 C0 E3 00 30 */ lfs f7, 0x30(r3) -/* 80315DB8 00312D18 EC 21 18 28 */ fsubs f1, f1, f3 -/* 80315DBC 00312D1C C0 82 C9 D0 */ lfs f4, lbl_805AE6F0@sda21(r2) -/* 80315DC0 00312D20 EC C0 38 28 */ fsubs f6, f0, f7 -/* 80315DC4 00312D24 C0 43 00 40 */ lfs f2, 0x40(r3) -/* 80315DC8 00312D28 C1 03 00 34 */ lfs f8, 0x34(r3) -/* 80315DCC 00312D2C EC 24 00 72 */ fmuls f1, f4, f1 -/* 80315DD0 00312D30 C0 05 00 00 */ lfs f0, 0(r5) -/* 80315DD4 00312D34 EC A2 40 28 */ fsubs f5, f2, f8 -/* 80315DD8 00312D38 EC 61 18 2A */ fadds f3, f1, f3 -/* 80315DDC 00312D3C EC 44 01 B2 */ fmuls f2, f4, f6 -/* 80315DE0 00312D40 EC 24 01 72 */ fmuls f1, f4, f5 -/* 80315DE4 00312D44 FC 00 18 40 */ fcmpo cr0, f0, f3 -/* 80315DE8 00312D48 D0 61 00 08 */ stfs f3, 8(r1) -/* 80315DEC 00312D4C EC 42 38 2A */ fadds f2, f2, f7 -/* 80315DF0 00312D50 EC 21 40 2A */ fadds f1, f1, f8 -/* 80315DF4 00312D54 D0 41 00 0C */ stfs f2, 0xc(r1) -/* 80315DF8 00312D58 D0 21 00 10 */ stfs f1, 0x10(r1) -/* 80315DFC 00312D5C 40 81 00 10 */ ble lbl_80315E0C -/* 80315E00 00312D60 C0 83 00 38 */ lfs f4, 0x38(r3) -/* 80315E04 00312D64 39 60 00 01 */ li r11, 1 -/* 80315E08 00312D68 48 00 00 10 */ b lbl_80315E18 -lbl_80315E0C: -/* 80315E0C 00312D6C FC 80 18 90 */ fmr f4, f3 -/* 80315E10 00312D70 C0 63 00 2C */ lfs f3, 0x2c(r3) -/* 80315E14 00312D74 39 60 00 00 */ li r11, 0 -lbl_80315E18: -/* 80315E18 00312D78 C0 05 00 04 */ lfs f0, 4(r5) -/* 80315E1C 00312D7C C0 21 00 0C */ lfs f1, 0xc(r1) -/* 80315E20 00312D80 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80315E24 00312D84 40 81 00 14 */ ble lbl_80315E38 -/* 80315E28 00312D88 FC 40 08 90 */ fmr f2, f1 -/* 80315E2C 00312D8C C0 A3 00 3C */ lfs f5, 0x3c(r3) -/* 80315E30 00312D90 38 C0 00 01 */ li r6, 1 -/* 80315E34 00312D94 48 00 00 10 */ b lbl_80315E44 -lbl_80315E38: -/* 80315E38 00312D98 FC A0 08 90 */ fmr f5, f1 -/* 80315E3C 00312D9C C0 43 00 30 */ lfs f2, 0x30(r3) -/* 80315E40 00312DA0 38 C0 00 00 */ li r6, 0 -lbl_80315E44: -/* 80315E44 00312DA4 C0 05 00 08 */ lfs f0, 8(r5) -/* 80315E48 00312DA8 C0 21 00 10 */ lfs f1, 0x10(r1) -/* 80315E4C 00312DAC FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80315E50 00312DB0 40 81 00 14 */ ble lbl_80315E64 -/* 80315E54 00312DB4 FC 00 08 90 */ fmr f0, f1 -/* 80315E58 00312DB8 C0 C3 00 40 */ lfs f6, 0x40(r3) -/* 80315E5C 00312DBC 38 00 00 01 */ li r0, 1 -/* 80315E60 00312DC0 48 00 00 10 */ b lbl_80315E70 -lbl_80315E64: -/* 80315E64 00312DC4 FC C0 08 90 */ fmr f6, f1 -/* 80315E68 00312DC8 C0 03 00 34 */ lfs f0, 0x34(r3) -/* 80315E6C 00312DCC 38 00 00 00 */ li r0, 0 -lbl_80315E70: -/* 80315E70 00312DD0 54 89 07 FF */ clrlwi. r9, r4, 0x1f -/* 80315E74 00312DD4 39 80 00 01 */ li r12, 1 -/* 80315E78 00312DD8 3B E0 00 01 */ li r31, 1 -/* 80315E7C 00312DDC 41 82 00 08 */ beq lbl_80315E84 -/* 80315E80 00312DE0 39 80 00 02 */ li r12, 2 -lbl_80315E84: -/* 80315E84 00312DE4 54 88 07 BD */ rlwinm. r8, r4, 0, 0x1e, 0x1e -/* 80315E88 00312DE8 41 82 00 08 */ beq lbl_80315E90 -/* 80315E8C 00312DEC 3B E0 00 02 */ li r31, 2 -lbl_80315E90: -/* 80315E90 00312DF0 54 8A 07 7B */ rlwinm. r10, r4, 0, 0x1d, 0x1d -/* 80315E94 00312DF4 41 82 00 0C */ beq lbl_80315EA0 -/* 80315E98 00312DF8 FC 20 00 90 */ fmr f1, f0 -/* 80315E9C 00312DFC 48 00 00 08 */ b lbl_80315EA4 -lbl_80315EA0: -/* 80315EA0 00312E00 C0 23 00 34 */ lfs f1, 0x34(r3) -lbl_80315EA4: -/* 80315EA4 00312E04 2C 08 00 00 */ cmpwi r8, 0 -/* 80315EA8 00312E08 41 82 00 08 */ beq lbl_80315EB0 -/* 80315EAC 00312E0C 48 00 00 08 */ b lbl_80315EB4 -lbl_80315EB0: -/* 80315EB0 00312E10 C0 43 00 30 */ lfs f2, 0x30(r3) -lbl_80315EB4: -/* 80315EB4 00312E14 2C 09 00 00 */ cmpwi r9, 0 -/* 80315EB8 00312E18 41 82 00 0C */ beq lbl_80315EC4 -/* 80315EBC 00312E1C FC 00 18 90 */ fmr f0, f3 -/* 80315EC0 00312E20 48 00 00 08 */ b lbl_80315EC8 -lbl_80315EC4: -/* 80315EC4 00312E24 C0 03 00 2C */ lfs f0, 0x2c(r3) -lbl_80315EC8: -/* 80315EC8 00312E28 D0 03 00 2C */ stfs f0, 0x2c(r3) -/* 80315ECC 00312E2C 2C 0A 00 00 */ cmpwi r10, 0 -/* 80315ED0 00312E30 D0 43 00 30 */ stfs f2, 0x30(r3) -/* 80315ED4 00312E34 D0 23 00 34 */ stfs f1, 0x34(r3) -/* 80315ED8 00312E38 41 82 00 0C */ beq lbl_80315EE4 -/* 80315EDC 00312E3C FC 20 30 90 */ fmr f1, f6 -/* 80315EE0 00312E40 48 00 00 08 */ b lbl_80315EE8 -lbl_80315EE4: -/* 80315EE4 00312E44 C0 23 00 40 */ lfs f1, 0x40(r3) -lbl_80315EE8: -/* 80315EE8 00312E48 2C 08 00 00 */ cmpwi r8, 0 -/* 80315EEC 00312E4C 41 82 00 0C */ beq lbl_80315EF8 -/* 80315EF0 00312E50 FC 40 28 90 */ fmr f2, f5 -/* 80315EF4 00312E54 48 00 00 08 */ b lbl_80315EFC -lbl_80315EF8: -/* 80315EF8 00312E58 C0 43 00 3C */ lfs f2, 0x3c(r3) -lbl_80315EFC: -/* 80315EFC 00312E5C 2C 09 00 00 */ cmpwi r9, 0 -/* 80315F00 00312E60 41 82 00 0C */ beq lbl_80315F0C -/* 80315F04 00312E64 FC 00 20 90 */ fmr f0, f4 -/* 80315F08 00312E68 48 00 00 08 */ b lbl_80315F10 -lbl_80315F0C: -/* 80315F0C 00312E6C C0 03 00 38 */ lfs f0, 0x38(r3) -lbl_80315F10: -/* 80315F10 00312E70 54 00 06 3E */ clrlwi r0, r0, 0x18 -/* 80315F14 00312E74 54 C5 06 3E */ clrlwi r5, r6, 0x18 -/* 80315F18 00312E78 7C 00 61 D6 */ mullw r0, r0, r12 -/* 80315F1C 00312E7C 7C C8 00 D0 */ neg r6, r8 -/* 80315F20 00312E80 7C 8A 00 D0 */ neg r4, r10 -/* 80315F24 00312E84 D0 03 00 38 */ stfs f0, 0x38(r3) -/* 80315F28 00312E88 7C E9 00 D0 */ neg r7, r9 -/* 80315F2C 00312E8C 7C C6 43 78 */ or r6, r6, r8 -/* 80315F30 00312E90 7C A5 61 D6 */ mullw r5, r5, r12 -/* 80315F34 00312E94 7C 84 53 78 */ or r4, r4, r10 -/* 80315F38 00312E98 7C E7 4B 78 */ or r7, r7, r9 -/* 80315F3C 00312E9C D0 43 00 3C */ stfs f2, 0x3c(r3) -/* 80315F40 00312EA0 54 C6 0F FE */ srwi r6, r6, 0x1f -/* 80315F44 00312EA4 54 84 0F FE */ srwi r4, r4, 0x1f -/* 80315F48 00312EA8 7C 1F 01 D6 */ mullw r0, r31, r0 -/* 80315F4C 00312EAC 55 68 06 3E */ clrlwi r8, r11, 0x18 -/* 80315F50 00312EB0 54 E7 0F FE */ srwi r7, r7, 0x1f -/* 80315F54 00312EB4 D0 23 00 40 */ stfs f1, 0x40(r3) -/* 80315F58 00312EB8 7C 66 29 D6 */ mullw r3, r6, r5 -/* 80315F5C 00312EBC 7C 04 01 D6 */ mullw r0, r4, r0 -/* 80315F60 00312EC0 7C 88 39 D6 */ mullw r4, r8, r7 -/* 80315F64 00312EC4 7C 63 02 14 */ add r3, r3, r0 -/* 80315F68 00312EC8 7C 64 1A 14 */ add r3, r4, r3 -lbl_80315F6C: -/* 80315F6C 00312ECC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80315F70 00312ED0 38 21 00 20 */ addi r1, r1, 0x20 -/* 80315F74 00312ED4 4E 80 00 20 */ blr - -.global SetTestPoint__10CPVSVisSetFRC13CPVSVisOctreeRC9CVector3f -SetTestPoint__10CPVSVisSetFRC13CPVSVisOctreeRC9CVector3f: -/* 80315F78 00312ED8 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80315F7C 00312EDC 7C 08 02 A6 */ mflr r0 -/* 80315F80 00312EE0 90 01 00 34 */ stw r0, 0x34(r1) -/* 80315F84 00312EE4 BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 80315F88 00312EE8 7C 9C 23 78 */ mr r28, r4 -/* 80315F8C 00312EEC 7C BD 2B 78 */ mr r29, r5 -/* 80315F90 00312EF0 7C 7B 1B 78 */ mr r27, r3 -/* 80315F94 00312EF4 7F 83 E3 78 */ mr r3, r28 -/* 80315F98 00312EF8 7F A4 EB 78 */ mr r4, r29 -/* 80315F9C 00312EFC 48 02 15 99 */ bl PointInside__6CAABoxCFRC9CVector3f -/* 80315FA0 00312F00 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80315FA4 00312F04 40 82 00 14 */ bne lbl_80315FB8 -/* 80315FA8 00312F08 7F 63 DB 78 */ mr r3, r27 -/* 80315FAC 00312F0C 38 80 00 02 */ li r4, 2 -/* 80315FB0 00312F10 48 00 03 D1 */ bl Reset__10CPVSVisSetFi -/* 80315FB4 00312F14 48 00 01 DC */ b lbl_80316190 -lbl_80315FB8: -/* 80315FB8 00312F18 83 DC 00 24 */ lwz r30, 0x24(r28) -/* 80315FBC 00312F1C C0 1C 00 00 */ lfs f0, 0(r28) -/* 80315FC0 00312F20 D0 1C 00 2C */ stfs f0, 0x2c(r28) -/* 80315FC4 00312F24 C0 1C 00 04 */ lfs f0, 4(r28) -/* 80315FC8 00312F28 D0 1C 00 30 */ stfs f0, 0x30(r28) -/* 80315FCC 00312F2C C0 1C 00 08 */ lfs f0, 8(r28) -/* 80315FD0 00312F30 D0 1C 00 34 */ stfs f0, 0x34(r28) -/* 80315FD4 00312F34 C0 1C 00 0C */ lfs f0, 0xc(r28) -/* 80315FD8 00312F38 D0 1C 00 38 */ stfs f0, 0x38(r28) -/* 80315FDC 00312F3C C0 1C 00 10 */ lfs f0, 0x10(r28) -/* 80315FE0 00312F40 D0 1C 00 3C */ stfs f0, 0x3c(r28) -/* 80315FE4 00312F44 C0 1C 00 14 */ lfs f0, 0x14(r28) -/* 80315FE8 00312F48 D0 1C 00 40 */ stfs f0, 0x40(r28) -/* 80315FEC 00312F4C 48 00 00 C8 */ b lbl_803160B4 -lbl_80315FF0: -/* 80315FF0 00312F50 2C 03 00 00 */ cmpwi r3, 0 -/* 80315FF4 00312F54 41 82 00 64 */ beq lbl_80316058 -/* 80315FF8 00312F58 57 E0 06 75 */ rlwinm. r0, r31, 0, 0x19, 0x1a -/* 80315FFC 00312F5C 40 82 00 18 */ bne lbl_80316014 -/* 80316000 00312F60 38 03 FF FF */ addi r0, r3, -1 -/* 80316004 00312F64 54 00 08 3C */ slwi r0, r0, 1 -/* 80316008 00312F68 7C 1E 02 2E */ lhzx r0, r30, r0 -/* 8031600C 00312F6C 7F DE 02 14 */ add r30, r30, r0 -/* 80316010 00312F70 48 00 00 48 */ b lbl_80316058 -lbl_80316014: -/* 80316014 00312F74 57 E0 06 B5 */ rlwinm. r0, r31, 0, 0x1a, 0x1a -/* 80316018 00312F78 41 82 00 14 */ beq lbl_8031602C -/* 8031601C 00312F7C 7C 63 F2 14 */ add r3, r3, r30 -/* 80316020 00312F80 88 03 FF FF */ lbz r0, -1(r3) -/* 80316024 00312F84 7F DE 02 14 */ add r30, r30, r0 -/* 80316028 00312F88 48 00 00 30 */ b lbl_80316058 -lbl_8031602C: -/* 8031602C 00312F8C 38 03 FF FF */ addi r0, r3, -1 -/* 80316030 00312F90 1C 00 00 03 */ mulli r0, r0, 3 -/* 80316034 00312F94 7C 7E 02 14 */ add r3, r30, r0 -/* 80316038 00312F98 88 03 00 01 */ lbz r0, 1(r3) -/* 8031603C 00312F9C 88 83 00 02 */ lbz r4, 2(r3) -/* 80316040 00312FA0 54 00 40 2E */ slwi r0, r0, 8 -/* 80316044 00312FA4 88 63 00 00 */ lbz r3, 0(r3) -/* 80316048 00312FA8 7C 00 22 14 */ add r0, r0, r4 -/* 8031604C 00312FAC 54 63 80 1E */ slwi r3, r3, 0x10 -/* 80316050 00312FB0 7F C0 F2 14 */ add r30, r0, r30 -/* 80316054 00312FB4 7F C3 F2 14 */ add r30, r3, r30 -lbl_80316058: -/* 80316058 00312FB8 57 E0 06 75 */ rlwinm. r0, r31, 0, 0x19, 0x1a -/* 8031605C 00312FBC 40 82 00 20 */ bne lbl_8031607C -/* 80316060 00312FC0 7F 83 E3 78 */ mr r3, r28 -/* 80316064 00312FC4 7F E4 FB 78 */ mr r4, r31 -/* 80316068 00312FC8 4B FF FD 11 */ bl GetNumChildren__13CPVSVisOctreeCFUc -/* 8031606C 00312FCC 38 03 FF FF */ addi r0, r3, -1 -/* 80316070 00312FD0 54 00 08 3C */ slwi r0, r0, 1 -/* 80316074 00312FD4 7F DE 02 14 */ add r30, r30, r0 -/* 80316078 00312FD8 48 00 00 3C */ b lbl_803160B4 -lbl_8031607C: -/* 8031607C 00312FDC 57 E0 06 B5 */ rlwinm. r0, r31, 0, 0x1a, 0x1a -/* 80316080 00312FE0 41 82 00 1C */ beq lbl_8031609C -/* 80316084 00312FE4 7F 83 E3 78 */ mr r3, r28 -/* 80316088 00312FE8 7F E4 FB 78 */ mr r4, r31 -/* 8031608C 00312FEC 4B FF FC ED */ bl GetNumChildren__13CPVSVisOctreeCFUc -/* 80316090 00312FF0 7F C3 F2 14 */ add r30, r3, r30 -/* 80316094 00312FF4 3B DE FF FF */ addi r30, r30, -1 -/* 80316098 00312FF8 48 00 00 1C */ b lbl_803160B4 -lbl_8031609C: -/* 8031609C 00312FFC 7F 83 E3 78 */ mr r3, r28 -/* 803160A0 00313000 7F E4 FB 78 */ mr r4, r31 -/* 803160A4 00313004 4B FF FC D5 */ bl GetNumChildren__13CPVSVisOctreeCFUc -/* 803160A8 00313008 38 03 FF FF */ addi r0, r3, -1 -/* 803160AC 0031300C 1C 00 00 03 */ mulli r0, r0, 3 -/* 803160B0 00313010 7F DE 02 14 */ add r30, r30, r0 -lbl_803160B4: -/* 803160B4 00313014 8B FE 00 00 */ lbz r31, 0(r30) -/* 803160B8 00313018 7F 83 E3 78 */ mr r3, r28 -/* 803160BC 0031301C 7F A5 EB 78 */ mr r5, r29 -/* 803160C0 00313020 3B DE 00 01 */ addi r30, r30, 1 -/* 803160C4 00313024 7F E4 FB 78 */ mr r4, r31 -/* 803160C8 00313028 4B FF FC C5 */ bl IterateSearch__13CPVSVisOctreeCFUcRC9CVector3f -/* 803160CC 0031302C 2C 03 FF FF */ cmpwi r3, -1 -/* 803160D0 00313030 40 82 FF 20 */ bne lbl_80315FF0 -/* 803160D4 00313034 57 E0 06 F8 */ rlwinm r0, r31, 0, 0x1b, 0x1c -/* 803160D8 00313038 2C 00 00 10 */ cmpwi r0, 0x10 -/* 803160DC 0031303C 41 82 00 98 */ beq lbl_80316174 -/* 803160E0 00313040 40 80 00 10 */ bge lbl_803160F0 -/* 803160E4 00313044 2C 00 00 08 */ cmpwi r0, 8 -/* 803160E8 00313048 41 82 00 7C */ beq lbl_80316164 -/* 803160EC 0031304C 48 00 00 98 */ b lbl_80316184 -lbl_803160F0: -/* 803160F0 00313050 2C 00 00 18 */ cmpwi r0, 0x18 -/* 803160F4 00313054 41 82 00 08 */ beq lbl_803160FC -/* 803160F8 00313058 48 00 00 8C */ b lbl_80316184 -lbl_803160FC: -/* 803160FC 0031305C 7C 7E 00 D0 */ neg r3, r30 -/* 80316100 00313060 38 00 00 00 */ li r0, 0 -/* 80316104 00313064 7C 63 F3 78 */ or r3, r3, r30 -/* 80316108 00313068 93 C1 00 14 */ stw r30, 0x14(r1) -/* 8031610C 0031306C 54 63 0F FE */ srwi r3, r3, 0x1f -/* 80316110 00313070 80 9C 00 18 */ lwz r4, 0x18(r28) -/* 80316114 00313074 98 61 00 10 */ stb r3, 0x10(r1) -/* 80316118 00313078 7F 63 DB 78 */ mr r3, r27 -/* 8031611C 0031307C 80 BC 00 1C */ lwz r5, 0x1c(r28) -/* 80316120 00313080 38 C1 00 08 */ addi r6, r1, 8 -/* 80316124 00313084 98 01 00 10 */ stb r0, 0x10(r1) -/* 80316128 00313088 98 01 00 08 */ stb r0, 8(r1) -/* 8031612C 0031308C 93 C1 00 0C */ stw r30, 0xc(r1) -/* 80316130 00313090 98 01 00 10 */ stb r0, 0x10(r1) -/* 80316134 00313094 48 00 02 69 */ bl SetFromMemory__10CPVSVisSetFiiPCc -/* 80316138 00313098 88 01 00 08 */ lbz r0, 8(r1) -/* 8031613C 0031309C 28 00 00 00 */ cmplwi r0, 0 -/* 80316140 003130A0 41 82 00 0C */ beq lbl_8031614C -/* 80316144 003130A4 80 61 00 0C */ lwz r3, 0xc(r1) -/* 80316148 003130A8 4B FF F7 E9 */ bl Free__7CMemoryFPCv -lbl_8031614C: -/* 8031614C 003130AC 88 01 00 10 */ lbz r0, 0x10(r1) -/* 80316150 003130B0 28 00 00 00 */ cmplwi r0, 0 -/* 80316154 003130B4 41 82 00 3C */ beq lbl_80316190 -/* 80316158 003130B8 80 61 00 14 */ lwz r3, 0x14(r1) -/* 8031615C 003130BC 4B FF F7 D5 */ bl Free__7CMemoryFPCv -/* 80316160 003130C0 48 00 00 30 */ b lbl_80316190 -lbl_80316164: -/* 80316164 003130C4 7F 63 DB 78 */ mr r3, r27 -/* 80316168 003130C8 38 80 00 02 */ li r4, 2 -/* 8031616C 003130CC 48 00 02 15 */ bl Reset__10CPVSVisSetFi -/* 80316170 003130D0 48 00 00 20 */ b lbl_80316190 -lbl_80316174: -/* 80316174 003130D4 7F 63 DB 78 */ mr r3, r27 -/* 80316178 003130D8 38 80 00 00 */ li r4, 0 -/* 8031617C 003130DC 48 00 02 05 */ bl Reset__10CPVSVisSetFi -/* 80316180 003130E0 48 00 00 10 */ b lbl_80316190 -lbl_80316184: -/* 80316184 003130E4 7F 63 DB 78 */ mr r3, r27 -/* 80316188 003130E8 38 80 00 02 */ li r4, 2 -/* 8031618C 003130EC 48 00 01 F5 */ bl Reset__10CPVSVisSetFi -lbl_80316190: -/* 80316190 003130F0 BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 80316194 003130F4 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80316198 003130F8 7C 08 03 A6 */ mtlr r0 -/* 8031619C 003130FC 38 21 00 30 */ addi r1, r1, 0x30 -/* 803161A0 00313100 4E 80 00 20 */ blr - -.global MakePVSVisOctree__13CPVSVisOctreeFPCci -MakePVSVisOctree__13CPVSVisOctreeFPCci: -/* 803161A4 00313104 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 803161A8 00313108 7C 08 02 A6 */ mflr r0 -/* 803161AC 0031310C 90 01 00 64 */ stw r0, 0x64(r1) -/* 803161B0 00313110 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 803161B4 00313114 93 C1 00 58 */ stw r30, 0x58(r1) -/* 803161B8 00313118 93 A1 00 54 */ stw r29, 0x54(r1) -/* 803161BC 0031311C 7C 9D 23 78 */ mr r29, r4 -/* 803161C0 00313120 93 81 00 50 */ stw r28, 0x50(r1) -/* 803161C4 00313124 7C 7C 1B 78 */ mr r28, r3 -/* 803161C8 00313128 38 61 00 20 */ addi r3, r1, 0x20 -/* 803161CC 0031312C 48 02 90 01 */ bl __ct__15CMemoryInStreamFPCvUl -/* 803161D0 00313130 38 61 00 08 */ addi r3, r1, 8 -/* 803161D4 00313134 38 81 00 20 */ addi r4, r1, 0x20 -/* 803161D8 00313138 48 02 23 65 */ bl __ct__6CAABoxFR12CInputStream -/* 803161DC 0031313C 38 61 00 20 */ addi r3, r1, 0x20 -/* 803161E0 00313140 48 02 8A A5 */ bl ReadLong__12CInputStreamFv -/* 803161E4 00313144 7C 7F 1B 78 */ mr r31, r3 -/* 803161E8 00313148 38 61 00 20 */ addi r3, r1, 0x20 -/* 803161EC 0031314C 48 02 8A 99 */ bl ReadLong__12CInputStreamFv -/* 803161F0 00313150 7C 7E 1B 78 */ mr r30, r3 -/* 803161F4 00313154 38 61 00 20 */ addi r3, r1, 0x20 -/* 803161F8 00313158 48 02 8A 8D */ bl ReadLong__12CInputStreamFv -/* 803161FC 0031315C 80 01 00 38 */ lwz r0, 0x38(r1) -/* 80316200 00313160 7F 83 E3 78 */ mr r3, r28 -/* 80316204 00313164 7F E5 FB 78 */ mr r5, r31 -/* 80316208 00313168 7F C6 F3 78 */ mr r6, r30 -/* 8031620C 0031316C 38 81 00 08 */ addi r4, r1, 8 -/* 80316210 00313170 7C FD 02 14 */ add r7, r29, r0 -/* 80316214 00313174 48 00 00 3D */ bl __ct__13CPVSVisOctreeFRC6CAABoxiiPCc -/* 80316218 00313178 3C 80 80 3F */ lis r4, __vt__15CMemoryInStream@ha -/* 8031621C 0031317C 38 61 00 20 */ addi r3, r1, 0x20 -/* 80316220 00313180 38 04 E3 98 */ addi r0, r4, __vt__15CMemoryInStream@l -/* 80316224 00313184 38 80 00 00 */ li r4, 0 -/* 80316228 00313188 90 01 00 20 */ stw r0, 0x20(r1) -/* 8031622C 0031318C 48 02 8E 81 */ bl __dt__12CInputStreamFv -/* 80316230 00313190 80 01 00 64 */ lwz r0, 0x64(r1) -/* 80316234 00313194 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 80316238 00313198 83 C1 00 58 */ lwz r30, 0x58(r1) -/* 8031623C 0031319C 83 A1 00 54 */ lwz r29, 0x54(r1) -/* 80316240 003131A0 83 81 00 50 */ lwz r28, 0x50(r1) -/* 80316244 003131A4 7C 08 03 A6 */ mtlr r0 -/* 80316248 003131A8 38 21 00 60 */ addi r1, r1, 0x60 -/* 8031624C 003131AC 4E 80 00 20 */ blr - -.global __ct__13CPVSVisOctreeFRC6CAABoxiiPCc -__ct__13CPVSVisOctreeFRC6CAABoxiiPCc: -/* 80316250 003131B0 C0 04 00 00 */ lfs f0, 0(r4) -/* 80316254 003131B4 7D 07 00 D0 */ neg r8, r7 -/* 80316258 003131B8 7D 08 3B 78 */ or r8, r8, r7 -/* 8031625C 003131BC 38 00 00 00 */ li r0, 0 -/* 80316260 003131C0 D0 03 00 00 */ stfs f0, 0(r3) -/* 80316264 003131C4 55 08 0F FE */ srwi r8, r8, 0x1f -/* 80316268 003131C8 C0 04 00 04 */ lfs f0, 4(r4) -/* 8031626C 003131CC D0 03 00 04 */ stfs f0, 4(r3) -/* 80316270 003131D0 C0 04 00 08 */ lfs f0, 8(r4) -/* 80316274 003131D4 D0 03 00 08 */ stfs f0, 8(r3) -/* 80316278 003131D8 C0 04 00 0C */ lfs f0, 0xc(r4) -/* 8031627C 003131DC D0 03 00 0C */ stfs f0, 0xc(r3) -/* 80316280 003131E0 C0 04 00 10 */ lfs f0, 0x10(r4) -/* 80316284 003131E4 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 80316288 003131E8 C0 04 00 14 */ lfs f0, 0x14(r4) -/* 8031628C 003131EC D0 03 00 14 */ stfs f0, 0x14(r3) -/* 80316290 003131F0 90 A3 00 18 */ stw r5, 0x18(r3) -/* 80316294 003131F4 90 C3 00 1C */ stw r6, 0x1c(r3) -/* 80316298 003131F8 99 03 00 20 */ stb r8, 0x20(r3) -/* 8031629C 003131FC 90 E3 00 24 */ stw r7, 0x24(r3) -/* 803162A0 00313200 C0 03 00 00 */ lfs f0, 0(r3) -/* 803162A4 00313204 D0 03 00 2C */ stfs f0, 0x2c(r3) -/* 803162A8 00313208 C0 03 00 04 */ lfs f0, 4(r3) -/* 803162AC 0031320C D0 03 00 30 */ stfs f0, 0x30(r3) -/* 803162B0 00313210 C0 03 00 08 */ lfs f0, 8(r3) -/* 803162B4 00313214 D0 03 00 34 */ stfs f0, 0x34(r3) -/* 803162B8 00313218 C0 03 00 0C */ lfs f0, 0xc(r3) -/* 803162BC 0031321C D0 03 00 38 */ stfs f0, 0x38(r3) -/* 803162C0 00313220 C0 03 00 10 */ lfs f0, 0x10(r3) -/* 803162C4 00313224 D0 03 00 3C */ stfs f0, 0x3c(r3) -/* 803162C8 00313228 C0 03 00 14 */ lfs f0, 0x14(r3) -/* 803162CC 0031322C D0 03 00 40 */ stfs f0, 0x40(r3) -/* 803162D0 00313230 98 03 00 20 */ stb r0, 0x20(r3) -/* 803162D4 00313234 4E 80 00 20 */ blr - -.global GetVisible__10CPVSVisSetCFi -GetVisible__10CPVSVisSetCFi: -/* 803162D8 00313238 80 03 00 00 */ lwz r0, 0(r3) -/* 803162DC 0031323C 2C 00 00 01 */ cmpwi r0, 1 -/* 803162E0 00313240 41 82 00 0C */ beq lbl_803162EC -/* 803162E4 00313244 7C 03 03 78 */ mr r3, r0 -/* 803162E8 00313248 4E 80 00 20 */ blr -lbl_803162EC: -/* 803162EC 0031324C 80 A3 00 08 */ lwz r5, 8(r3) -/* 803162F0 00313250 80 03 00 04 */ lwz r0, 4(r3) -/* 803162F4 00313254 7C 05 00 50 */ subf r0, r5, r0 -/* 803162F8 00313258 7C 04 00 00 */ cmpw r4, r0 -/* 803162FC 0031325C 40 80 00 34 */ bge lbl_80316330 -/* 80316300 00313260 7C 80 1E 70 */ srawi r0, r4, 3 -/* 80316304 00313264 80 C3 00 10 */ lwz r6, 0x10(r3) -/* 80316308 00313268 7C A0 01 94 */ addze r5, r0 -/* 8031630C 0031326C 54 80 07 7E */ clrlwi r0, r4, 0x1d -/* 80316310 00313270 38 60 00 01 */ li r3, 1 -/* 80316314 00313274 7C 86 28 AE */ lbzx r4, r6, r5 -/* 80316318 00313278 7C 60 00 30 */ slw r0, r3, r0 -/* 8031631C 0031327C 38 60 00 00 */ li r3, 0 -/* 80316320 00313280 7C 80 00 39 */ and. r0, r4, r0 -/* 80316324 00313284 4D 82 00 20 */ beqlr -/* 80316328 00313288 38 60 00 02 */ li r3, 2 -/* 8031632C 0031328C 4E 80 00 20 */ blr -lbl_80316330: -/* 80316330 00313290 7C 00 20 50 */ subf r0, r0, r4 -/* 80316334 00313294 80 63 00 10 */ lwz r3, 0x10(r3) -/* 80316338 00313298 7C 04 02 14 */ add r0, r4, r0 -/* 8031633C 0031329C 54 04 07 7E */ clrlwi r4, r0, 0x1d -/* 80316340 003132A0 7C 00 1E 70 */ srawi r0, r0, 3 -/* 80316344 003132A4 7C 00 01 94 */ addze r0, r0 -/* 80316348 003132A8 2C 04 00 07 */ cmpwi r4, 7 -/* 8031634C 003132AC 7C 63 02 14 */ add r3, r3, r0 -/* 80316350 003132B0 40 80 00 1C */ bge lbl_8031636C -/* 80316354 003132B4 38 00 00 03 */ li r0, 3 -/* 80316358 003132B8 88 63 00 00 */ lbz r3, 0(r3) -/* 8031635C 003132BC 7C 00 20 30 */ slw r0, r0, r4 -/* 80316360 003132C0 7C 60 00 38 */ and r0, r3, r0 -/* 80316364 003132C4 7C 03 26 30 */ sraw r3, r0, r4 -/* 80316368 003132C8 4E 80 00 20 */ blr -lbl_8031636C: -/* 8031636C 003132CC 88 03 00 01 */ lbz r0, 1(r3) -/* 80316370 003132D0 88 83 00 00 */ lbz r4, 0(r3) -/* 80316374 003132D4 54 03 0F BC */ rlwinm r3, r0, 1, 0x1e, 0x1e -/* 80316378 003132D8 50 83 CF FE */ rlwimi r3, r4, 0x19, 0x1f, 0x1f -/* 8031637C 003132DC 4E 80 00 20 */ blr - -.global Reset__10CPVSVisSetFi -Reset__10CPVSVisSetFi: -/* 80316380 003132E0 90 83 00 00 */ stw r4, 0(r3) -/* 80316384 003132E4 38 00 00 00 */ li r0, 0 -/* 80316388 003132E8 90 03 00 04 */ stw r0, 4(r3) -/* 8031638C 003132EC 90 03 00 08 */ stw r0, 8(r3) -/* 80316390 003132F0 98 03 00 0C */ stb r0, 0xc(r3) -/* 80316394 003132F4 90 03 00 10 */ stw r0, 0x10(r3) -/* 80316398 003132F8 4E 80 00 20 */ blr - -.global SetFromMemory__10CPVSVisSetFiiPCc -SetFromMemory__10CPVSVisSetFiiPCc: -/* 8031639C 003132FC 38 00 00 01 */ li r0, 1 -/* 803163A0 00313300 90 03 00 00 */ stw r0, 0(r3) -/* 803163A4 00313304 38 00 00 00 */ li r0, 0 -/* 803163A8 00313308 90 83 00 04 */ stw r4, 4(r3) -/* 803163AC 0031330C 90 A3 00 08 */ stw r5, 8(r3) -/* 803163B0 00313310 88 86 00 00 */ lbz r4, 0(r6) -/* 803163B4 00313314 98 83 00 0C */ stb r4, 0xc(r3) -/* 803163B8 00313318 80 86 00 04 */ lwz r4, 4(r6) -/* 803163BC 0031331C 90 83 00 10 */ stw r4, 0x10(r3) -/* 803163C0 00313320 98 06 00 00 */ stb r0, 0(r6) -/* 803163C4 00313324 4E 80 00 20 */ blr - -.global __dt__7CCEPCOL -__dt__7CCEPCOL: -/* 803163C8 00313328 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803163CC 0031332C 7C 08 02 A6 */ mflr r0 -/* 803163D0 00313330 90 01 00 14 */ stw r0, 0x14(r1) -/* 803163D4 00313334 93 E1 00 0C */ stw r31, 0xc(r1) -/* 803163D8 00313338 7C 7F 1B 79 */ or. r31, r3, r3 -/* 803163DC 0031333C 41 82 00 44 */ beq lbl_80316420 -/* 803163E0 00313340 3C 60 80 3F */ lis r3, lbl_803EDA00@ha -/* 803163E4 00313344 38 03 DA 00 */ addi r0, r3, lbl_803EDA00@l -/* 803163E8 00313348 90 1F 00 00 */ stw r0, 0(r31) -/* 803163EC 0031334C 41 82 00 20 */ beq lbl_8031640C -/* 803163F0 00313350 3C 60 80 3F */ lis r3, lbl_803EC5B4@ha -/* 803163F4 00313354 38 03 C5 B4 */ addi r0, r3, lbl_803EC5B4@l -/* 803163F8 00313358 90 1F 00 00 */ stw r0, 0(r31) -/* 803163FC 0031335C 41 82 00 10 */ beq lbl_8031640C -/* 80316400 00313360 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 80316404 00313364 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 80316408 00313368 90 1F 00 00 */ stw r0, 0(r31) -lbl_8031640C: -/* 8031640C 0031336C 7C 80 07 35 */ extsh. r0, r4 -/* 80316410 00313370 40 81 00 10 */ ble lbl_80316420 -/* 80316414 00313374 7F E3 FB 78 */ mr r3, r31 -/* 80316418 00313378 38 80 00 04 */ li r4, 4 -/* 8031641C 0031337C 48 05 66 49 */ bl sub_8036ca64 -lbl_80316420: -/* 80316420 00313380 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80316424 00313384 7F E3 FB 78 */ mr r3, r31 -/* 80316428 00313388 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8031642C 0031338C 7C 08 03 A6 */ mtlr r0 -/* 80316430 00313390 38 21 00 10 */ addi r1, r1, 0x10 -/* 80316434 00313394 4E 80 00 20 */ blr - -.global GetValue__7CCEPCOLCFiR6CColor -GetValue__7CCEPCOLCFiR6CColor: -/* 80316438 00313398 80 8D A8 EC */ lwz r4, lbl_805A94AC@sda21(r13) -/* 8031643C 0031339C 38 60 00 00 */ li r3, 0 -/* 80316440 003133A0 80 04 00 34 */ lwz r0, 0x34(r4) -/* 80316444 003133A4 90 05 00 00 */ stw r0, 0(r5) -/* 80316448 003133A8 4E 80 00 20 */ blr - -.global GetValue__18CCEKeyframeEmitterCFiR6CColor -GetValue__18CCEKeyframeEmitterCFiR6CColor: -/* 8031644C 003133AC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80316450 003133B0 7C 08 02 A6 */ mflr r0 -/* 80316454 003133B4 90 01 00 24 */ stw r0, 0x24(r1) -/* 80316458 003133B8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8031645C 003133BC 7C BF 2B 78 */ mr r31, r5 -/* 80316460 003133C0 80 03 00 04 */ lwz r0, 4(r3) -/* 80316464 003133C4 2C 00 00 00 */ cmpwi r0, 0 -/* 80316468 003133C8 40 82 00 A0 */ bne lbl_80316508 -/* 8031646C 003133CC 88 03 00 0C */ lbz r0, 0xc(r3) -/* 80316470 003133D0 80 ED A8 D8 */ lwz r7, lbl_805A9498@sda21(r13) -/* 80316474 003133D4 28 00 00 00 */ cmplwi r0, 0 -/* 80316478 003133D8 90 E1 00 10 */ stw r7, 0x10(r1) -/* 8031647C 003133DC 41 82 00 50 */ beq lbl_803164CC -/* 80316480 003133E0 80 03 00 10 */ lwz r0, 0x10(r3) -/* 80316484 003133E4 7C 07 00 00 */ cmpw r7, r0 -/* 80316488 003133E8 41 80 00 2C */ blt lbl_803164B4 -/* 8031648C 003133EC 80 C3 00 14 */ lwz r6, 0x14(r3) -/* 80316490 003133F0 7C A6 38 50 */ subf r5, r6, r7 -/* 80316494 003133F4 7C 86 00 50 */ subf r4, r6, r0 -/* 80316498 003133F8 7C 05 23 D6 */ divw r0, r5, r4 -/* 8031649C 003133FC 90 A1 00 10 */ stw r5, 0x10(r1) -/* 803164A0 00313400 7C 00 21 D6 */ mullw r0, r0, r4 -/* 803164A4 00313404 7C 00 28 50 */ subf r0, r0, r5 -/* 803164A8 00313408 90 01 00 10 */ stw r0, 0x10(r1) -/* 803164AC 0031340C 7C 00 32 14 */ add r0, r0, r6 -/* 803164B0 00313410 90 01 00 10 */ stw r0, 0x10(r1) -lbl_803164B4: -/* 803164B4 00313414 80 01 00 10 */ lwz r0, 0x10(r1) -/* 803164B8 00313418 80 63 00 24 */ lwz r3, 0x24(r3) -/* 803164BC 0031341C 54 00 10 3A */ slwi r0, r0, 2 -/* 803164C0 00313420 7C 03 00 2E */ lwzx r0, r3, r0 -/* 803164C4 00313424 90 1F 00 00 */ stw r0, 0(r31) -/* 803164C8 00313428 48 00 00 38 */ b lbl_80316500 -lbl_803164CC: -/* 803164CC 0031342C 80 A3 00 10 */ lwz r5, 0x10(r3) -/* 803164D0 00313430 38 81 00 10 */ addi r4, r1, 0x10 -/* 803164D4 00313434 38 05 FF FF */ addi r0, r5, -1 -/* 803164D8 00313438 7C 00 38 00 */ cmpw r0, r7 -/* 803164DC 0031343C 90 01 00 0C */ stw r0, 0xc(r1) -/* 803164E0 00313440 40 80 00 08 */ bge lbl_803164E8 -/* 803164E4 00313444 38 81 00 0C */ addi r4, r1, 0xc -lbl_803164E8: -/* 803164E8 00313448 80 04 00 00 */ lwz r0, 0(r4) -/* 803164EC 0031344C 80 63 00 24 */ lwz r3, 0x24(r3) -/* 803164F0 00313450 90 01 00 10 */ stw r0, 0x10(r1) -/* 803164F4 00313454 54 00 10 3A */ slwi r0, r0, 2 -/* 803164F8 00313458 7C 03 00 2E */ lwzx r0, r3, r0 -/* 803164FC 0031345C 90 1F 00 00 */ stw r0, 0(r31) -lbl_80316500: -/* 80316500 00313460 38 60 00 00 */ li r3, 0 -/* 80316504 00313464 48 00 00 54 */ b lbl_80316558 -lbl_80316508: -/* 80316508 00313468 80 8D A8 E0 */ lwz r4, lbl_805A94A0@sda21(r13) -/* 8031650C 0031346C 2C 04 00 64 */ cmpwi r4, 0x64 -/* 80316510 00313470 40 82 00 18 */ bne lbl_80316528 -/* 80316514 00313474 80 63 00 24 */ lwz r3, 0x24(r3) -/* 80316518 00313478 54 80 10 3A */ slwi r0, r4, 2 -/* 8031651C 0031347C 7C 03 00 2E */ lwzx r0, r3, r0 -/* 80316520 00313480 90 1F 00 00 */ stw r0, 0(r31) -/* 80316524 00313484 48 00 00 30 */ b lbl_80316554 -lbl_80316528: -/* 80316528 00313488 38 04 00 01 */ addi r0, r4, 1 -/* 8031652C 0031348C 80 C3 00 24 */ lwz r6, 0x24(r3) -/* 80316530 00313490 54 03 10 3A */ slwi r3, r0, 2 -/* 80316534 00313494 C0 2D A8 E8 */ lfs f1, lbl_805A94A8@sda21(r13) -/* 80316538 00313498 54 80 10 3A */ slwi r0, r4, 2 -/* 8031653C 0031349C 7C A6 1A 14 */ add r5, r6, r3 -/* 80316540 003134A0 38 61 00 08 */ addi r3, r1, 8 -/* 80316544 003134A4 7C 86 02 14 */ add r4, r6, r0 -/* 80316548 003134A8 48 04 CD 65 */ bl Lerp__6CColorFRC6CColorRC6CColorf -/* 8031654C 003134AC 80 01 00 08 */ lwz r0, 8(r1) -/* 80316550 003134B0 90 1F 00 00 */ stw r0, 0(r31) -lbl_80316554: -/* 80316554 003134B4 38 60 00 00 */ li r3, 0 -lbl_80316558: -/* 80316558 003134B8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8031655C 003134BC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80316560 003134C0 7C 08 03 A6 */ mtlr r0 -/* 80316564 003134C4 38 21 00 20 */ addi r1, r1, 0x20 -/* 80316568 003134C8 4E 80 00 20 */ blr - -.global __dt__18CCEKeyframeEmitterFv -__dt__18CCEKeyframeEmitterFv: -/* 8031656C 003134CC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80316570 003134D0 7C 08 02 A6 */ mflr r0 -/* 80316574 003134D4 90 01 00 24 */ stw r0, 0x24(r1) -/* 80316578 003134D8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8031657C 003134DC 7C 9F 23 78 */ mr r31, r4 -/* 80316580 003134E0 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80316584 003134E4 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80316588 003134E8 41 82 00 90 */ beq lbl_80316618 -/* 8031658C 003134EC 3C 60 80 3F */ lis r3, lbl_803EDA10@ha -/* 80316590 003134F0 34 1E 00 18 */ addic. r0, r30, 0x18 -/* 80316594 003134F4 38 03 DA 10 */ addi r0, r3, lbl_803EDA10@l -/* 80316598 003134F8 90 1E 00 00 */ stw r0, 0(r30) -/* 8031659C 003134FC 41 82 00 44 */ beq lbl_803165E0 -/* 803165A0 00313500 80 1E 00 1C */ lwz r0, 0x1c(r30) -/* 803165A4 00313504 80 7E 00 24 */ lwz r3, 0x24(r30) -/* 803165A8 00313508 54 00 10 3A */ slwi r0, r0, 2 -/* 803165AC 0031350C 7C 03 02 14 */ add r0, r3, r0 -/* 803165B0 00313510 90 61 00 0C */ stw r3, 0xc(r1) -/* 803165B4 00313514 7C 64 1B 78 */ mr r4, r3 -/* 803165B8 00313518 90 01 00 14 */ stw r0, 0x14(r1) -/* 803165BC 0031351C 90 01 00 10 */ stw r0, 0x10(r1) -/* 803165C0 00313520 90 61 00 08 */ stw r3, 8(r1) -/* 803165C4 00313524 48 00 00 08 */ b lbl_803165CC -lbl_803165C8: -/* 803165C8 00313528 38 84 00 04 */ addi r4, r4, 4 -lbl_803165CC: -/* 803165CC 0031352C 7C 04 00 40 */ cmplw r4, r0 -/* 803165D0 00313530 40 82 FF F8 */ bne lbl_803165C8 -/* 803165D4 00313534 28 03 00 00 */ cmplwi r3, 0 -/* 803165D8 00313538 41 82 00 08 */ beq lbl_803165E0 -/* 803165DC 0031353C 4B FF F3 55 */ bl Free__7CMemoryFPCv -lbl_803165E0: -/* 803165E0 00313540 28 1E 00 00 */ cmplwi r30, 0 -/* 803165E4 00313544 41 82 00 20 */ beq lbl_80316604 -/* 803165E8 00313548 3C 60 80 3F */ lis r3, lbl_803EC5B4@ha -/* 803165EC 0031354C 38 03 C5 B4 */ addi r0, r3, lbl_803EC5B4@l -/* 803165F0 00313550 90 1E 00 00 */ stw r0, 0(r30) -/* 803165F4 00313554 41 82 00 10 */ beq lbl_80316604 -/* 803165F8 00313558 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 803165FC 0031355C 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 80316600 00313560 90 1E 00 00 */ stw r0, 0(r30) -lbl_80316604: -/* 80316604 00313564 7F E0 07 35 */ extsh. r0, r31 -/* 80316608 00313568 40 81 00 10 */ ble lbl_80316618 -/* 8031660C 0031356C 7F C3 F3 78 */ mr r3, r30 -/* 80316610 00313570 38 80 00 28 */ li r4, 0x28 -/* 80316614 00313574 48 05 64 51 */ bl sub_8036ca64 -lbl_80316618: -/* 80316618 00313578 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8031661C 0031357C 7F C3 F3 78 */ mr r3, r30 -/* 80316620 00313580 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80316624 00313584 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80316628 00313588 7C 08 03 A6 */ mtlr r0 -/* 8031662C 0031358C 38 21 00 20 */ addi r1, r1, 0x20 -/* 80316630 00313590 4E 80 00 20 */ blr - -.global __ct__18CCEKeyframeEmitterFR12CInputStream -__ct__18CCEKeyframeEmitterFR12CInputStream: -/* 80316634 00313594 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80316638 00313598 7C 08 02 A6 */ mflr r0 -/* 8031663C 0031359C 3C A0 80 3F */ lis r5, lbl_803EC5B4@ha -/* 80316640 003135A0 90 01 00 24 */ stw r0, 0x24(r1) -/* 80316644 003135A4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80316648 003135A8 7C 9F 23 78 */ mr r31, r4 -/* 8031664C 003135AC 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80316650 003135B0 7C 7E 1B 78 */ mr r30, r3 -/* 80316654 003135B4 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 80316658 003135B8 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8031665C 003135BC 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 80316660 003135C0 3C 60 80 3F */ lis r3, lbl_803EDA10@ha -/* 80316664 003135C4 7F C6 F3 78 */ mr r6, r30 -/* 80316668 003135C8 93 81 00 10 */ stw r28, 0x10(r1) -/* 8031666C 003135CC 90 1E 00 00 */ stw r0, 0(r30) -/* 80316670 003135D0 38 05 C5 B4 */ addi r0, r5, lbl_803EC5B4@l -/* 80316674 003135D4 90 1E 00 00 */ stw r0, 0(r30) -/* 80316678 003135D8 38 03 DA 10 */ addi r0, r3, lbl_803EDA10@l -/* 8031667C 003135DC 7F E3 FB 78 */ mr r3, r31 -/* 80316680 003135E0 90 1E 00 00 */ stw r0, 0(r30) -/* 80316684 003135E4 48 02 86 01 */ bl ReadLong__12CInputStreamFv -/* 80316688 003135E8 90 7E 00 04 */ stw r3, 4(r30) -/* 8031668C 003135EC 7F E3 FB 78 */ mr r3, r31 -/* 80316690 003135F0 48 02 85 F5 */ bl ReadLong__12CInputStreamFv -/* 80316694 003135F4 90 7E 00 08 */ stw r3, 8(r30) -/* 80316698 003135F8 7F E3 FB 78 */ mr r3, r31 -/* 8031669C 003135FC 48 02 86 41 */ bl ReadBool__12CInputStreamFv -/* 803166A0 00313600 98 7E 00 0C */ stb r3, 0xc(r30) -/* 803166A4 00313604 7F E3 FB 78 */ mr r3, r31 -/* 803166A8 00313608 48 02 86 35 */ bl ReadBool__12CInputStreamFv -/* 803166AC 0031360C 98 7E 00 0D */ stb r3, 0xd(r30) -/* 803166B0 00313610 7F E3 FB 78 */ mr r3, r31 -/* 803166B4 00313614 48 02 85 D1 */ bl ReadLong__12CInputStreamFv -/* 803166B8 00313618 90 7E 00 10 */ stw r3, 0x10(r30) -/* 803166BC 0031361C 7F E3 FB 78 */ mr r3, r31 -/* 803166C0 00313620 48 02 85 C5 */ bl ReadLong__12CInputStreamFv -/* 803166C4 00313624 90 7E 00 14 */ stw r3, 0x14(r30) -/* 803166C8 00313628 38 00 00 00 */ li r0, 0 -/* 803166CC 0031362C 7F E3 FB 78 */ mr r3, r31 -/* 803166D0 00313630 90 1E 00 1C */ stw r0, 0x1c(r30) -/* 803166D4 00313634 90 1E 00 20 */ stw r0, 0x20(r30) -/* 803166D8 00313638 90 1E 00 24 */ stw r0, 0x24(r30) -/* 803166DC 0031363C 48 02 85 A9 */ bl ReadLong__12CInputStreamFv -/* 803166E0 00313640 7C 7C 1B 78 */ mr r28, r3 -/* 803166E4 00313644 38 7E 00 18 */ addi r3, r30, 0x18 -/* 803166E8 00313648 7F 84 E3 78 */ mr r4, r28 -/* 803166EC 0031364C 48 00 0E 55 */ bl "reserve__Q24rstl42vector<6CColor,Q24rstl17rmemory_allocator>Fi" -/* 803166F0 00313650 3B A0 00 00 */ li r29, 0 -/* 803166F4 00313654 48 00 00 64 */ b lbl_80316758 -lbl_803166F8: -/* 803166F8 00313658 7F E4 FB 78 */ mr r4, r31 -/* 803166FC 0031365C 38 61 00 08 */ addi r3, r1, 8 -/* 80316700 00313660 48 04 CD 4D */ bl __ct__6CColorFR12CInputStream -/* 80316704 00313664 80 1E 00 1C */ lwz r0, 0x1c(r30) -/* 80316708 00313668 80 BE 00 20 */ lwz r5, 0x20(r30) -/* 8031670C 0031366C 7C 00 28 00 */ cmpw r0, r5 -/* 80316710 00313670 41 80 00 1C */ blt lbl_8031672C -/* 80316714 00313674 2C 05 00 00 */ cmpwi r5, 0 -/* 80316718 00313678 38 7E 00 18 */ addi r3, r30, 0x18 -/* 8031671C 0031367C 38 80 00 04 */ li r4, 4 -/* 80316720 00313680 41 82 00 08 */ beq lbl_80316728 -/* 80316724 00313684 54 A4 08 3C */ slwi r4, r5, 1 -lbl_80316728: -/* 80316728 00313688 48 00 0E 19 */ bl "reserve__Q24rstl42vector<6CColor,Q24rstl17rmemory_allocator>Fi" -lbl_8031672C: -/* 8031672C 0031368C 80 1E 00 1C */ lwz r0, 0x1c(r30) -/* 80316730 00313690 80 7E 00 24 */ lwz r3, 0x24(r30) -/* 80316734 00313694 54 00 10 3A */ slwi r0, r0, 2 -/* 80316738 00313698 7C 63 02 15 */ add. r3, r3, r0 -/* 8031673C 0031369C 41 82 00 0C */ beq lbl_80316748 -/* 80316740 003136A0 80 01 00 08 */ lwz r0, 8(r1) -/* 80316744 003136A4 90 03 00 00 */ stw r0, 0(r3) -lbl_80316748: -/* 80316748 003136A8 80 7E 00 1C */ lwz r3, 0x1c(r30) -/* 8031674C 003136AC 3B BD 00 01 */ addi r29, r29, 1 -/* 80316750 003136B0 38 03 00 01 */ addi r0, r3, 1 -/* 80316754 003136B4 90 1E 00 1C */ stw r0, 0x1c(r30) -lbl_80316758: -/* 80316758 003136B8 7C 1D E0 00 */ cmpw r29, r28 -/* 8031675C 003136BC 41 80 FF 9C */ blt lbl_803166F8 -/* 80316760 003136C0 80 7E 00 14 */ lwz r3, 0x14(r30) -/* 80316764 003136C4 80 1E 00 10 */ lwz r0, 0x10(r30) -/* 80316768 003136C8 7C 03 00 00 */ cmpw r3, r0 -/* 8031676C 003136CC 41 80 00 0C */ blt lbl_80316778 -/* 80316770 003136D0 38 00 00 00 */ li r0, 0 -/* 80316774 003136D4 90 1E 00 14 */ stw r0, 0x14(r30) -lbl_80316778: -/* 80316778 003136D8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8031677C 003136DC 7F C3 F3 78 */ mr r3, r30 -/* 80316780 003136E0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80316784 003136E4 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80316788 003136E8 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8031678C 003136EC 83 81 00 10 */ lwz r28, 0x10(r1) -/* 80316790 003136F0 7C 08 03 A6 */ mtlr r0 -/* 80316794 003136F4 38 21 00 20 */ addi r1, r1, 0x20 -/* 80316798 003136F8 4E 80 00 20 */ blr - -.global GetValue__8CCEPulseCFiR6CColor -GetValue__8CCEPulseCFiR6CColor: -/* 8031679C 003136FC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 803167A0 00313700 7C 08 02 A6 */ mflr r0 -/* 803167A4 00313704 90 01 00 24 */ stw r0, 0x24(r1) -/* 803167A8 00313708 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 803167AC 0031370C 7C BF 2B 78 */ mr r31, r5 -/* 803167B0 00313710 38 A1 00 0C */ addi r5, r1, 0xc -/* 803167B4 00313714 93 C1 00 18 */ stw r30, 0x18(r1) -/* 803167B8 00313718 7C 9E 23 78 */ mr r30, r4 -/* 803167BC 0031371C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 803167C0 00313720 7C 7D 1B 78 */ mr r29, r3 -/* 803167C4 00313724 80 63 00 04 */ lwz r3, 4(r3) -/* 803167C8 00313728 81 83 00 00 */ lwz r12, 0(r3) -/* 803167CC 0031372C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 803167D0 00313730 7D 89 03 A6 */ mtctr r12 -/* 803167D4 00313734 4E 80 04 21 */ bctrl -/* 803167D8 00313738 80 7D 00 08 */ lwz r3, 8(r29) -/* 803167DC 0031373C 7F C4 F3 78 */ mr r4, r30 -/* 803167E0 00313740 38 A1 00 08 */ addi r5, r1, 8 -/* 803167E4 00313744 81 83 00 00 */ lwz r12, 0(r3) -/* 803167E8 00313748 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 803167EC 0031374C 7D 89 03 A6 */ mtctr r12 -/* 803167F0 00313750 4E 80 04 21 */ bctrl -/* 803167F4 00313754 80 61 00 08 */ lwz r3, 8(r1) -/* 803167F8 00313758 80 81 00 0C */ lwz r4, 0xc(r1) -/* 803167FC 0031375C 38 A3 00 01 */ addi r5, r3, 1 -/* 80316800 00313760 7C A4 2A 15 */ add. r5, r4, r5 -/* 80316804 00313764 40 80 00 08 */ bge lbl_8031680C -/* 80316808 00313768 38 A0 00 01 */ li r5, 1 -lbl_8031680C: -/* 8031680C 0031376C 2C 03 00 01 */ cmpwi r3, 1 -/* 80316810 00313770 41 80 00 58 */ blt lbl_80316868 -/* 80316814 00313774 7C 1E 2B D6 */ divw r0, r30, r5 -/* 80316818 00313778 7C 00 29 D6 */ mullw r0, r0, r5 -/* 8031681C 0031377C 7C 00 F0 50 */ subf r0, r0, r30 -/* 80316820 00313780 7C 00 20 00 */ cmpw r0, r4 -/* 80316824 00313784 40 81 00 24 */ ble lbl_80316848 -/* 80316828 00313788 80 7D 00 10 */ lwz r3, 0x10(r29) -/* 8031682C 0031378C 7F C4 F3 78 */ mr r4, r30 -/* 80316830 00313790 7F E5 FB 78 */ mr r5, r31 -/* 80316834 00313794 81 83 00 00 */ lwz r12, 0(r3) -/* 80316838 00313798 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8031683C 0031379C 7D 89 03 A6 */ mtctr r12 -/* 80316840 003137A0 4E 80 04 21 */ bctrl -/* 80316844 003137A4 48 00 00 40 */ b lbl_80316884 -lbl_80316848: -/* 80316848 003137A8 80 7D 00 0C */ lwz r3, 0xc(r29) -/* 8031684C 003137AC 7F C4 F3 78 */ mr r4, r30 -/* 80316850 003137B0 7F E5 FB 78 */ mr r5, r31 -/* 80316854 003137B4 81 83 00 00 */ lwz r12, 0(r3) -/* 80316858 003137B8 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8031685C 003137BC 7D 89 03 A6 */ mtctr r12 -/* 80316860 003137C0 4E 80 04 21 */ bctrl -/* 80316864 003137C4 48 00 00 20 */ b lbl_80316884 -lbl_80316868: -/* 80316868 003137C8 80 7D 00 0C */ lwz r3, 0xc(r29) -/* 8031686C 003137CC 7F C4 F3 78 */ mr r4, r30 -/* 80316870 003137D0 7F E5 FB 78 */ mr r5, r31 -/* 80316874 003137D4 81 83 00 00 */ lwz r12, 0(r3) -/* 80316878 003137D8 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8031687C 003137DC 7D 89 03 A6 */ mtctr r12 -/* 80316880 003137E0 4E 80 04 21 */ bctrl -lbl_80316884: -/* 80316884 003137E4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80316888 003137E8 38 60 00 00 */ li r3, 0 -/* 8031688C 003137EC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80316890 003137F0 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80316894 003137F4 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80316898 003137F8 7C 08 03 A6 */ mtlr r0 -/* 8031689C 003137FC 38 21 00 20 */ addi r1, r1, 0x20 -/* 803168A0 00313800 4E 80 00 20 */ blr - -.global __dt__8CCEPulseFv -__dt__8CCEPulseFv: -/* 803168A4 00313804 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803168A8 00313808 7C 08 02 A6 */ mflr r0 -/* 803168AC 0031380C 90 01 00 14 */ stw r0, 0x14(r1) -/* 803168B0 00313810 93 E1 00 0C */ stw r31, 0xc(r1) -/* 803168B4 00313814 7C 9F 23 78 */ mr r31, r4 -/* 803168B8 00313818 93 C1 00 08 */ stw r30, 8(r1) -/* 803168BC 0031381C 7C 7E 1B 79 */ or. r30, r3, r3 -/* 803168C0 00313820 41 82 00 C8 */ beq lbl_80316988 -/* 803168C4 00313824 3C 60 80 3F */ lis r3, lbl_803EDA20@ha -/* 803168C8 00313828 38 03 DA 20 */ addi r0, r3, lbl_803EDA20@l -/* 803168CC 0031382C 90 1E 00 00 */ stw r0, 0(r30) -/* 803168D0 00313830 80 7E 00 04 */ lwz r3, 4(r30) -/* 803168D4 00313834 28 03 00 00 */ cmplwi r3, 0 -/* 803168D8 00313838 41 82 00 18 */ beq lbl_803168F0 -/* 803168DC 0031383C 81 83 00 00 */ lwz r12, 0(r3) -/* 803168E0 00313840 38 80 00 01 */ li r4, 1 -/* 803168E4 00313844 81 8C 00 08 */ lwz r12, 8(r12) -/* 803168E8 00313848 7D 89 03 A6 */ mtctr r12 -/* 803168EC 0031384C 4E 80 04 21 */ bctrl -lbl_803168F0: -/* 803168F0 00313850 80 7E 00 08 */ lwz r3, 8(r30) -/* 803168F4 00313854 28 03 00 00 */ cmplwi r3, 0 -/* 803168F8 00313858 41 82 00 18 */ beq lbl_80316910 -/* 803168FC 0031385C 81 83 00 00 */ lwz r12, 0(r3) -/* 80316900 00313860 38 80 00 01 */ li r4, 1 -/* 80316904 00313864 81 8C 00 08 */ lwz r12, 8(r12) -/* 80316908 00313868 7D 89 03 A6 */ mtctr r12 -/* 8031690C 0031386C 4E 80 04 21 */ bctrl -lbl_80316910: -/* 80316910 00313870 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 80316914 00313874 28 03 00 00 */ cmplwi r3, 0 -/* 80316918 00313878 41 82 00 18 */ beq lbl_80316930 -/* 8031691C 0031387C 81 83 00 00 */ lwz r12, 0(r3) -/* 80316920 00313880 38 80 00 01 */ li r4, 1 -/* 80316924 00313884 81 8C 00 08 */ lwz r12, 8(r12) -/* 80316928 00313888 7D 89 03 A6 */ mtctr r12 -/* 8031692C 0031388C 4E 80 04 21 */ bctrl -lbl_80316930: -/* 80316930 00313890 80 7E 00 10 */ lwz r3, 0x10(r30) -/* 80316934 00313894 28 03 00 00 */ cmplwi r3, 0 -/* 80316938 00313898 41 82 00 18 */ beq lbl_80316950 -/* 8031693C 0031389C 81 83 00 00 */ lwz r12, 0(r3) -/* 80316940 003138A0 38 80 00 01 */ li r4, 1 -/* 80316944 003138A4 81 8C 00 08 */ lwz r12, 8(r12) -/* 80316948 003138A8 7D 89 03 A6 */ mtctr r12 -/* 8031694C 003138AC 4E 80 04 21 */ bctrl -lbl_80316950: -/* 80316950 003138B0 28 1E 00 00 */ cmplwi r30, 0 -/* 80316954 003138B4 41 82 00 20 */ beq lbl_80316974 -/* 80316958 003138B8 3C 60 80 3F */ lis r3, lbl_803EC5B4@ha -/* 8031695C 003138BC 38 03 C5 B4 */ addi r0, r3, lbl_803EC5B4@l -/* 80316960 003138C0 90 1E 00 00 */ stw r0, 0(r30) -/* 80316964 003138C4 41 82 00 10 */ beq lbl_80316974 -/* 80316968 003138C8 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 8031696C 003138CC 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 80316970 003138D0 90 1E 00 00 */ stw r0, 0(r30) -lbl_80316974: -/* 80316974 003138D4 7F E0 07 35 */ extsh. r0, r31 -/* 80316978 003138D8 40 81 00 10 */ ble lbl_80316988 -/* 8031697C 003138DC 7F C3 F3 78 */ mr r3, r30 -/* 80316980 003138E0 38 80 00 14 */ li r4, 0x14 -/* 80316984 003138E4 48 05 60 E1 */ bl sub_8036ca64 -lbl_80316988: -/* 80316988 003138E8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8031698C 003138EC 7F C3 F3 78 */ mr r3, r30 -/* 80316990 003138F0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80316994 003138F4 83 C1 00 08 */ lwz r30, 8(r1) -/* 80316998 003138F8 7C 08 03 A6 */ mtlr r0 -/* 8031699C 003138FC 38 21 00 10 */ addi r1, r1, 0x10 -/* 803169A0 00313900 4E 80 00 20 */ blr - -.global __ct__8CCEPulseFP11CIntElementP11CIntElementP13CColorElementP13CColorElement -__ct__8CCEPulseFP11CIntElementP11CIntElementP13CColorElementP13CColorElement: -/* 803169A4 00313904 3D 40 80 3F */ lis r10, lbl_803EC5A8@ha -/* 803169A8 00313908 3D 20 80 3F */ lis r9, lbl_803EC5B4@ha -/* 803169AC 0031390C 38 0A C5 A8 */ addi r0, r10, lbl_803EC5A8@l -/* 803169B0 00313910 3D 00 80 3F */ lis r8, lbl_803EDA20@ha -/* 803169B4 00313914 90 03 00 00 */ stw r0, 0(r3) -/* 803169B8 00313918 39 29 C5 B4 */ addi r9, r9, lbl_803EC5B4@l -/* 803169BC 0031391C 38 08 DA 20 */ addi r0, r8, lbl_803EDA20@l -/* 803169C0 00313920 91 23 00 00 */ stw r9, 0(r3) -/* 803169C4 00313924 90 03 00 00 */ stw r0, 0(r3) -/* 803169C8 00313928 90 83 00 04 */ stw r4, 4(r3) -/* 803169CC 0031392C 90 A3 00 08 */ stw r5, 8(r3) -/* 803169D0 00313930 90 C3 00 0C */ stw r6, 0xc(r3) -/* 803169D4 00313934 90 E3 00 10 */ stw r7, 0x10(r3) -/* 803169D8 00313938 4E 80 00 20 */ blr - -.global GetValue__12CCETimeChainCFiR6CColor -GetValue__12CCETimeChainCFiR6CColor: -/* 803169DC 0031393C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 803169E0 00313940 7C 08 02 A6 */ mflr r0 -/* 803169E4 00313944 90 01 00 24 */ stw r0, 0x24(r1) -/* 803169E8 00313948 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 803169EC 0031394C 7C BF 2B 78 */ mr r31, r5 -/* 803169F0 00313950 38 A1 00 08 */ addi r5, r1, 8 -/* 803169F4 00313954 93 C1 00 18 */ stw r30, 0x18(r1) -/* 803169F8 00313958 7C 9E 23 78 */ mr r30, r4 -/* 803169FC 0031395C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80316A00 00313960 7C 7D 1B 78 */ mr r29, r3 -/* 80316A04 00313964 80 63 00 0C */ lwz r3, 0xc(r3) -/* 80316A08 00313968 81 83 00 00 */ lwz r12, 0(r3) -/* 80316A0C 0031396C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80316A10 00313970 7D 89 03 A6 */ mtctr r12 -/* 80316A14 00313974 4E 80 04 21 */ bctrl -/* 80316A18 00313978 80 01 00 08 */ lwz r0, 8(r1) -/* 80316A1C 0031397C 7C 1E 00 00 */ cmpw r30, r0 -/* 80316A20 00313980 40 80 00 24 */ bge lbl_80316A44 -/* 80316A24 00313984 80 7D 00 04 */ lwz r3, 4(r29) -/* 80316A28 00313988 7F C4 F3 78 */ mr r4, r30 -/* 80316A2C 0031398C 7F E5 FB 78 */ mr r5, r31 -/* 80316A30 00313990 81 83 00 00 */ lwz r12, 0(r3) -/* 80316A34 00313994 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80316A38 00313998 7D 89 03 A6 */ mtctr r12 -/* 80316A3C 0031399C 4E 80 04 21 */ bctrl -/* 80316A40 003139A0 48 00 00 20 */ b lbl_80316A60 -lbl_80316A44: -/* 80316A44 003139A4 80 7D 00 08 */ lwz r3, 8(r29) -/* 80316A48 003139A8 7F E5 FB 78 */ mr r5, r31 -/* 80316A4C 003139AC 7C 80 F0 50 */ subf r4, r0, r30 -/* 80316A50 003139B0 81 83 00 00 */ lwz r12, 0(r3) -/* 80316A54 003139B4 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80316A58 003139B8 7D 89 03 A6 */ mtctr r12 -/* 80316A5C 003139BC 4E 80 04 21 */ bctrl -lbl_80316A60: -/* 80316A60 003139C0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80316A64 003139C4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80316A68 003139C8 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80316A6C 003139CC 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80316A70 003139D0 7C 08 03 A6 */ mtlr r0 -/* 80316A74 003139D4 38 21 00 20 */ addi r1, r1, 0x20 -/* 80316A78 003139D8 4E 80 00 20 */ blr - -.global __dt__12CCETimeChainFv -__dt__12CCETimeChainFv: -/* 80316A7C 003139DC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80316A80 003139E0 7C 08 02 A6 */ mflr r0 -/* 80316A84 003139E4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80316A88 003139E8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80316A8C 003139EC 7C 9F 23 78 */ mr r31, r4 -/* 80316A90 003139F0 93 C1 00 08 */ stw r30, 8(r1) -/* 80316A94 003139F4 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80316A98 003139F8 41 82 00 A8 */ beq lbl_80316B40 -/* 80316A9C 003139FC 3C 60 80 3F */ lis r3, lbl_803EDA30@ha -/* 80316AA0 00313A00 38 03 DA 30 */ addi r0, r3, lbl_803EDA30@l -/* 80316AA4 00313A04 90 1E 00 00 */ stw r0, 0(r30) -/* 80316AA8 00313A08 80 7E 00 04 */ lwz r3, 4(r30) -/* 80316AAC 00313A0C 28 03 00 00 */ cmplwi r3, 0 -/* 80316AB0 00313A10 41 82 00 18 */ beq lbl_80316AC8 -/* 80316AB4 00313A14 81 83 00 00 */ lwz r12, 0(r3) -/* 80316AB8 00313A18 38 80 00 01 */ li r4, 1 -/* 80316ABC 00313A1C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80316AC0 00313A20 7D 89 03 A6 */ mtctr r12 -/* 80316AC4 00313A24 4E 80 04 21 */ bctrl -lbl_80316AC8: -/* 80316AC8 00313A28 80 7E 00 08 */ lwz r3, 8(r30) -/* 80316ACC 00313A2C 28 03 00 00 */ cmplwi r3, 0 -/* 80316AD0 00313A30 41 82 00 18 */ beq lbl_80316AE8 -/* 80316AD4 00313A34 81 83 00 00 */ lwz r12, 0(r3) -/* 80316AD8 00313A38 38 80 00 01 */ li r4, 1 -/* 80316ADC 00313A3C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80316AE0 00313A40 7D 89 03 A6 */ mtctr r12 -/* 80316AE4 00313A44 4E 80 04 21 */ bctrl -lbl_80316AE8: -/* 80316AE8 00313A48 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 80316AEC 00313A4C 28 03 00 00 */ cmplwi r3, 0 -/* 80316AF0 00313A50 41 82 00 18 */ beq lbl_80316B08 -/* 80316AF4 00313A54 81 83 00 00 */ lwz r12, 0(r3) -/* 80316AF8 00313A58 38 80 00 01 */ li r4, 1 -/* 80316AFC 00313A5C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80316B00 00313A60 7D 89 03 A6 */ mtctr r12 -/* 80316B04 00313A64 4E 80 04 21 */ bctrl -lbl_80316B08: -/* 80316B08 00313A68 28 1E 00 00 */ cmplwi r30, 0 -/* 80316B0C 00313A6C 41 82 00 20 */ beq lbl_80316B2C -/* 80316B10 00313A70 3C 60 80 3F */ lis r3, lbl_803EC5B4@ha -/* 80316B14 00313A74 38 03 C5 B4 */ addi r0, r3, lbl_803EC5B4@l -/* 80316B18 00313A78 90 1E 00 00 */ stw r0, 0(r30) -/* 80316B1C 00313A7C 41 82 00 10 */ beq lbl_80316B2C -/* 80316B20 00313A80 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 80316B24 00313A84 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 80316B28 00313A88 90 1E 00 00 */ stw r0, 0(r30) -lbl_80316B2C: -/* 80316B2C 00313A8C 7F E0 07 35 */ extsh. r0, r31 -/* 80316B30 00313A90 40 81 00 10 */ ble lbl_80316B40 -/* 80316B34 00313A94 7F C3 F3 78 */ mr r3, r30 -/* 80316B38 00313A98 38 80 00 10 */ li r4, 0x10 -/* 80316B3C 00313A9C 48 05 5F 29 */ bl sub_8036ca64 -lbl_80316B40: -/* 80316B40 00313AA0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80316B44 00313AA4 7F C3 F3 78 */ mr r3, r30 -/* 80316B48 00313AA8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80316B4C 00313AAC 83 C1 00 08 */ lwz r30, 8(r1) -/* 80316B50 00313AB0 7C 08 03 A6 */ mtlr r0 -/* 80316B54 00313AB4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80316B58 00313AB8 4E 80 00 20 */ blr - -.global __ct__12CCETimeChainFP13CColorElementP13CColorElementP11CIntElement -__ct__12CCETimeChainFP13CColorElementP13CColorElementP11CIntElement: -/* 80316B5C 00313ABC 3D 20 80 3F */ lis r9, lbl_803EC5A8@ha -/* 80316B60 00313AC0 3D 00 80 3F */ lis r8, lbl_803EC5B4@ha -/* 80316B64 00313AC4 38 09 C5 A8 */ addi r0, r9, lbl_803EC5A8@l -/* 80316B68 00313AC8 3C E0 80 3F */ lis r7, lbl_803EDA30@ha -/* 80316B6C 00313ACC 90 03 00 00 */ stw r0, 0(r3) -/* 80316B70 00313AD0 39 08 C5 B4 */ addi r8, r8, lbl_803EC5B4@l -/* 80316B74 00313AD4 38 07 DA 30 */ addi r0, r7, lbl_803EDA30@l -/* 80316B78 00313AD8 91 03 00 00 */ stw r8, 0(r3) -/* 80316B7C 00313ADC 90 03 00 00 */ stw r0, 0(r3) -/* 80316B80 00313AE0 90 83 00 04 */ stw r4, 4(r3) -/* 80316B84 00313AE4 90 A3 00 08 */ stw r5, 8(r3) -/* 80316B88 00313AE8 90 C3 00 0C */ stw r6, 0xc(r3) -/* 80316B8C 00313AEC 4E 80 00 20 */ blr - -.global GetValue__10CCEFadeEndCFiR6CColor -GetValue__10CCEFadeEndCFiR6CColor: -/* 80316B90 00313AF0 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 80316B94 00313AF4 7C 08 02 A6 */ mflr r0 -/* 80316B98 00313AF8 90 01 00 74 */ stw r0, 0x74(r1) -/* 80316B9C 00313AFC DB E1 00 60 */ stfd f31, 0x60(r1) -/* 80316BA0 00313B00 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 -/* 80316BA4 00313B04 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 80316BA8 00313B08 93 C1 00 58 */ stw r30, 0x58(r1) -/* 80316BAC 00313B0C 93 A1 00 54 */ stw r29, 0x54(r1) -/* 80316BB0 00313B10 7C 7D 1B 78 */ mr r29, r3 -/* 80316BB4 00313B14 7C BF 2B 78 */ mr r31, r5 -/* 80316BB8 00313B18 80 63 00 0C */ lwz r3, 0xc(r3) -/* 80316BBC 00313B1C 7C 9E 23 78 */ mr r30, r4 -/* 80316BC0 00313B20 38 A1 00 38 */ addi r5, r1, 0x38 -/* 80316BC4 00313B24 81 83 00 00 */ lwz r12, 0(r3) -/* 80316BC8 00313B28 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80316BCC 00313B2C 7D 89 03 A6 */ mtctr r12 -/* 80316BD0 00313B30 4E 80 04 21 */ bctrl -/* 80316BD4 00313B34 6F C3 80 00 */ xoris r3, r30, 0x8000 -/* 80316BD8 00313B38 3C 00 43 30 */ lis r0, 0x4330 -/* 80316BDC 00313B3C 90 61 00 44 */ stw r3, 0x44(r1) -/* 80316BE0 00313B40 C8 42 C9 E0 */ lfd f2, lbl_805AE700@sda21(r2) -/* 80316BE4 00313B44 90 01 00 40 */ stw r0, 0x40(r1) -/* 80316BE8 00313B48 C0 01 00 38 */ lfs f0, 0x38(r1) -/* 80316BEC 00313B4C C8 21 00 40 */ lfd f1, 0x40(r1) -/* 80316BF0 00313B50 EF E1 10 28 */ fsubs f31, f1, f2 -/* 80316BF4 00313B54 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 80316BF8 00313B58 40 80 00 28 */ bge lbl_80316C20 -/* 80316BFC 00313B5C 80 7D 00 04 */ lwz r3, 4(r29) -/* 80316C00 00313B60 7F C4 F3 78 */ mr r4, r30 -/* 80316C04 00313B64 7F E5 FB 78 */ mr r5, r31 -/* 80316C08 00313B68 81 83 00 00 */ lwz r12, 0(r3) -/* 80316C0C 00313B6C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80316C10 00313B70 7D 89 03 A6 */ mtctr r12 -/* 80316C14 00313B74 4E 80 04 21 */ bctrl -/* 80316C18 00313B78 38 60 00 00 */ li r3, 0 -/* 80316C1C 00313B7C 48 00 01 20 */ b lbl_80316D3C -lbl_80316C20: -/* 80316C20 00313B80 80 7D 00 10 */ lwz r3, 0x10(r29) -/* 80316C24 00313B84 7F C4 F3 78 */ mr r4, r30 -/* 80316C28 00313B88 38 A1 00 34 */ addi r5, r1, 0x34 -/* 80316C2C 00313B8C 81 83 00 00 */ lwz r12, 0(r3) -/* 80316C30 00313B90 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80316C34 00313B94 7D 89 03 A6 */ mtctr r12 -/* 80316C38 00313B98 4E 80 04 21 */ bctrl -/* 80316C3C 00313B9C 38 C0 00 FF */ li r6, 0xff -/* 80316C40 00313BA0 38 00 00 00 */ li r0, 0 -/* 80316C44 00313BA4 98 C1 00 30 */ stb r6, 0x30(r1) -/* 80316C48 00313BA8 7F C4 F3 78 */ mr r4, r30 -/* 80316C4C 00313BAC 80 7D 00 04 */ lwz r3, 4(r29) -/* 80316C50 00313BB0 38 A1 00 30 */ addi r5, r1, 0x30 -/* 80316C54 00313BB4 98 01 00 31 */ stb r0, 0x31(r1) -/* 80316C58 00313BB8 98 C1 00 32 */ stb r6, 0x32(r1) -/* 80316C5C 00313BBC 98 C1 00 33 */ stb r6, 0x33(r1) -/* 80316C60 00313BC0 98 C1 00 2C */ stb r6, 0x2c(r1) -/* 80316C64 00313BC4 98 01 00 2D */ stb r0, 0x2d(r1) -/* 80316C68 00313BC8 98 C1 00 2E */ stb r6, 0x2e(r1) -/* 80316C6C 00313BCC 98 C1 00 2F */ stb r6, 0x2f(r1) -/* 80316C70 00313BD0 81 83 00 00 */ lwz r12, 0(r3) -/* 80316C74 00313BD4 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80316C78 00313BD8 7D 89 03 A6 */ mtctr r12 -/* 80316C7C 00313BDC 4E 80 04 21 */ bctrl -/* 80316C80 00313BE0 80 7D 00 08 */ lwz r3, 8(r29) -/* 80316C84 00313BE4 7F C4 F3 78 */ mr r4, r30 -/* 80316C88 00313BE8 38 A1 00 2C */ addi r5, r1, 0x2c -/* 80316C8C 00313BEC 81 83 00 00 */ lwz r12, 0(r3) -/* 80316C90 00313BF0 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80316C94 00313BF4 7D 89 03 A6 */ mtctr r12 -/* 80316C98 00313BF8 4E 80 04 21 */ bctrl -/* 80316C9C 00313BFC 38 61 00 30 */ addi r3, r1, 0x30 -/* 80316CA0 00313C00 38 81 00 28 */ addi r4, r1, 0x28 -/* 80316CA4 00313C04 38 A1 00 24 */ addi r5, r1, 0x24 -/* 80316CA8 00313C08 38 C1 00 20 */ addi r6, r1, 0x20 -/* 80316CAC 00313C0C 38 E1 00 1C */ addi r7, r1, 0x1c -/* 80316CB0 00313C10 48 04 C6 B5 */ bl Get__6CColorCFRfRfRfRf -/* 80316CB4 00313C14 38 61 00 2C */ addi r3, r1, 0x2c -/* 80316CB8 00313C18 38 81 00 18 */ addi r4, r1, 0x18 -/* 80316CBC 00313C1C 38 A1 00 14 */ addi r5, r1, 0x14 -/* 80316CC0 00313C20 38 C1 00 10 */ addi r6, r1, 0x10 -/* 80316CC4 00313C24 38 E1 00 0C */ addi r7, r1, 0xc -/* 80316CC8 00313C28 48 04 C6 9D */ bl Get__6CColorCFRfRfRfRf -/* 80316CCC 00313C2C C0 21 00 38 */ lfs f1, 0x38(r1) -/* 80316CD0 00313C30 38 61 00 08 */ addi r3, r1, 8 -/* 80316CD4 00313C34 C0 01 00 34 */ lfs f0, 0x34(r1) -/* 80316CD8 00313C38 EC 9F 08 28 */ fsubs f4, f31, f1 -/* 80316CDC 00313C3C C0 E2 C9 D8 */ lfs f7, lbl_805AE6F8@sda21(r2) -/* 80316CE0 00313C40 EC 00 08 28 */ fsubs f0, f0, f1 -/* 80316CE4 00313C44 C0 61 00 18 */ lfs f3, 0x18(r1) -/* 80316CE8 00313C48 C0 41 00 14 */ lfs f2, 0x14(r1) -/* 80316CEC 00313C4C C0 21 00 10 */ lfs f1, 0x10(r1) -/* 80316CF0 00313C50 ED 24 00 24 */ fdivs f9, f4, f0 -/* 80316CF4 00313C54 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 80316CF8 00313C58 C1 01 00 28 */ lfs f8, 0x28(r1) -/* 80316CFC 00313C5C C0 C1 00 24 */ lfs f6, 0x24(r1) -/* 80316D00 00313C60 C0 A1 00 20 */ lfs f5, 0x20(r1) -/* 80316D04 00313C64 C0 81 00 1C */ lfs f4, 0x1c(r1) -/* 80316D08 00313C68 ED 47 48 28 */ fsubs f10, f7, f9 -/* 80316D0C 00313C6C EC E3 02 72 */ fmuls f7, f3, f9 -/* 80316D10 00313C70 EC 42 02 72 */ fmuls f2, f2, f9 -/* 80316D14 00313C74 EC 61 02 72 */ fmuls f3, f1, f9 -/* 80316D18 00313C78 EC 00 02 72 */ fmuls f0, f0, f9 -/* 80316D1C 00313C7C EC 28 3A BA */ fmadds f1, f8, f10, f7 -/* 80316D20 00313C80 EC 46 12 BA */ fmadds f2, f6, f10, f2 -/* 80316D24 00313C84 EC 65 1A BA */ fmadds f3, f5, f10, f3 -/* 80316D28 00313C88 EC 84 02 BA */ fmadds f4, f4, f10, f0 -/* 80316D2C 00313C8C 48 04 C6 C1 */ bl __ct__6CColorFffff -/* 80316D30 00313C90 80 01 00 08 */ lwz r0, 8(r1) -/* 80316D34 00313C94 38 60 00 00 */ li r3, 0 -/* 80316D38 00313C98 90 1F 00 00 */ stw r0, 0(r31) -lbl_80316D3C: -/* 80316D3C 00313C9C E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 -/* 80316D40 00313CA0 80 01 00 74 */ lwz r0, 0x74(r1) -/* 80316D44 00313CA4 CB E1 00 60 */ lfd f31, 0x60(r1) -/* 80316D48 00313CA8 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 80316D4C 00313CAC 83 C1 00 58 */ lwz r30, 0x58(r1) -/* 80316D50 00313CB0 83 A1 00 54 */ lwz r29, 0x54(r1) -/* 80316D54 00313CB4 7C 08 03 A6 */ mtlr r0 -/* 80316D58 00313CB8 38 21 00 70 */ addi r1, r1, 0x70 -/* 80316D5C 00313CBC 4E 80 00 20 */ blr - -.global __dt__10CCEFadeEndFv -__dt__10CCEFadeEndFv: -/* 80316D60 00313CC0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80316D64 00313CC4 7C 08 02 A6 */ mflr r0 -/* 80316D68 00313CC8 90 01 00 14 */ stw r0, 0x14(r1) -/* 80316D6C 00313CCC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80316D70 00313CD0 7C 9F 23 78 */ mr r31, r4 -/* 80316D74 00313CD4 93 C1 00 08 */ stw r30, 8(r1) -/* 80316D78 00313CD8 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80316D7C 00313CDC 41 82 00 C8 */ beq lbl_80316E44 -/* 80316D80 00313CE0 3C 60 80 3F */ lis r3, lbl_803EDA40@ha -/* 80316D84 00313CE4 38 03 DA 40 */ addi r0, r3, lbl_803EDA40@l -/* 80316D88 00313CE8 90 1E 00 00 */ stw r0, 0(r30) -/* 80316D8C 00313CEC 80 7E 00 04 */ lwz r3, 4(r30) -/* 80316D90 00313CF0 28 03 00 00 */ cmplwi r3, 0 -/* 80316D94 00313CF4 41 82 00 18 */ beq lbl_80316DAC -/* 80316D98 00313CF8 81 83 00 00 */ lwz r12, 0(r3) -/* 80316D9C 00313CFC 38 80 00 01 */ li r4, 1 -/* 80316DA0 00313D00 81 8C 00 08 */ lwz r12, 8(r12) -/* 80316DA4 00313D04 7D 89 03 A6 */ mtctr r12 -/* 80316DA8 00313D08 4E 80 04 21 */ bctrl -lbl_80316DAC: -/* 80316DAC 00313D0C 80 7E 00 08 */ lwz r3, 8(r30) -/* 80316DB0 00313D10 28 03 00 00 */ cmplwi r3, 0 -/* 80316DB4 00313D14 41 82 00 18 */ beq lbl_80316DCC -/* 80316DB8 00313D18 81 83 00 00 */ lwz r12, 0(r3) -/* 80316DBC 00313D1C 38 80 00 01 */ li r4, 1 -/* 80316DC0 00313D20 81 8C 00 08 */ lwz r12, 8(r12) -/* 80316DC4 00313D24 7D 89 03 A6 */ mtctr r12 -/* 80316DC8 00313D28 4E 80 04 21 */ bctrl -lbl_80316DCC: -/* 80316DCC 00313D2C 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 80316DD0 00313D30 28 03 00 00 */ cmplwi r3, 0 -/* 80316DD4 00313D34 41 82 00 18 */ beq lbl_80316DEC -/* 80316DD8 00313D38 81 83 00 00 */ lwz r12, 0(r3) -/* 80316DDC 00313D3C 38 80 00 01 */ li r4, 1 -/* 80316DE0 00313D40 81 8C 00 08 */ lwz r12, 8(r12) -/* 80316DE4 00313D44 7D 89 03 A6 */ mtctr r12 -/* 80316DE8 00313D48 4E 80 04 21 */ bctrl -lbl_80316DEC: -/* 80316DEC 00313D4C 80 7E 00 10 */ lwz r3, 0x10(r30) -/* 80316DF0 00313D50 28 03 00 00 */ cmplwi r3, 0 -/* 80316DF4 00313D54 41 82 00 18 */ beq lbl_80316E0C -/* 80316DF8 00313D58 81 83 00 00 */ lwz r12, 0(r3) -/* 80316DFC 00313D5C 38 80 00 01 */ li r4, 1 -/* 80316E00 00313D60 81 8C 00 08 */ lwz r12, 8(r12) -/* 80316E04 00313D64 7D 89 03 A6 */ mtctr r12 -/* 80316E08 00313D68 4E 80 04 21 */ bctrl -lbl_80316E0C: -/* 80316E0C 00313D6C 28 1E 00 00 */ cmplwi r30, 0 -/* 80316E10 00313D70 41 82 00 20 */ beq lbl_80316E30 -/* 80316E14 00313D74 3C 60 80 3F */ lis r3, lbl_803EC5B4@ha -/* 80316E18 00313D78 38 03 C5 B4 */ addi r0, r3, lbl_803EC5B4@l -/* 80316E1C 00313D7C 90 1E 00 00 */ stw r0, 0(r30) -/* 80316E20 00313D80 41 82 00 10 */ beq lbl_80316E30 -/* 80316E24 00313D84 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 80316E28 00313D88 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 80316E2C 00313D8C 90 1E 00 00 */ stw r0, 0(r30) -lbl_80316E30: -/* 80316E30 00313D90 7F E0 07 35 */ extsh. r0, r31 -/* 80316E34 00313D94 40 81 00 10 */ ble lbl_80316E44 -/* 80316E38 00313D98 7F C3 F3 78 */ mr r3, r30 -/* 80316E3C 00313D9C 38 80 00 14 */ li r4, 0x14 -/* 80316E40 00313DA0 48 05 5C 25 */ bl sub_8036ca64 -lbl_80316E44: -/* 80316E44 00313DA4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80316E48 00313DA8 7F C3 F3 78 */ mr r3, r30 -/* 80316E4C 00313DAC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80316E50 00313DB0 83 C1 00 08 */ lwz r30, 8(r1) -/* 80316E54 00313DB4 7C 08 03 A6 */ mtlr r0 -/* 80316E58 00313DB8 38 21 00 10 */ addi r1, r1, 0x10 -/* 80316E5C 00313DBC 4E 80 00 20 */ blr - -.global __ct__10CCEFadeEndFP13CColorElementP13CColorElementP12CRealElementP12CRealElement -__ct__10CCEFadeEndFP13CColorElementP13CColorElementP12CRealElementP12CRealElement: -/* 80316E60 00313DC0 3D 40 80 3F */ lis r10, lbl_803EC5A8@ha -/* 80316E64 00313DC4 3D 20 80 3F */ lis r9, lbl_803EC5B4@ha -/* 80316E68 00313DC8 38 0A C5 A8 */ addi r0, r10, lbl_803EC5A8@l -/* 80316E6C 00313DCC 3D 00 80 3F */ lis r8, lbl_803EDA40@ha -/* 80316E70 00313DD0 90 03 00 00 */ stw r0, 0(r3) -/* 80316E74 00313DD4 39 29 C5 B4 */ addi r9, r9, lbl_803EC5B4@l -/* 80316E78 00313DD8 38 08 DA 40 */ addi r0, r8, lbl_803EDA40@l -/* 80316E7C 00313DDC 91 23 00 00 */ stw r9, 0(r3) -/* 80316E80 00313DE0 90 03 00 00 */ stw r0, 0(r3) -/* 80316E84 00313DE4 90 83 00 04 */ stw r4, 4(r3) -/* 80316E88 00313DE8 90 A3 00 08 */ stw r5, 8(r3) -/* 80316E8C 00313DEC 90 C3 00 0C */ stw r6, 0xc(r3) -/* 80316E90 00313DF0 90 E3 00 10 */ stw r7, 0x10(r3) -/* 80316E94 00313DF4 4E 80 00 20 */ blr - -.global GetValue__7CCEFadeCFiR6CColor -GetValue__7CCEFadeCFiR6CColor: -/* 80316E98 00313DF8 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 80316E9C 00313DFC 7C 08 02 A6 */ mflr r0 -/* 80316EA0 00313E00 90 01 00 64 */ stw r0, 0x64(r1) -/* 80316EA4 00313E04 DB E1 00 50 */ stfd f31, 0x50(r1) -/* 80316EA8 00313E08 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 -/* 80316EAC 00313E0C 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 80316EB0 00313E10 93 C1 00 48 */ stw r30, 0x48(r1) -/* 80316EB4 00313E14 93 A1 00 44 */ stw r29, 0x44(r1) -/* 80316EB8 00313E18 7C 7D 1B 78 */ mr r29, r3 -/* 80316EBC 00313E1C 7C BF 2B 78 */ mr r31, r5 -/* 80316EC0 00313E20 80 63 00 0C */ lwz r3, 0xc(r3) -/* 80316EC4 00313E24 7C 9E 23 78 */ mr r30, r4 -/* 80316EC8 00313E28 38 A1 00 34 */ addi r5, r1, 0x34 -/* 80316ECC 00313E2C 81 83 00 00 */ lwz r12, 0(r3) -/* 80316ED0 00313E30 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80316ED4 00313E34 7D 89 03 A6 */ mtctr r12 -/* 80316ED8 00313E38 4E 80 04 21 */ bctrl -/* 80316EDC 00313E3C C0 22 C9 D8 */ lfs f1, lbl_805AE6F8@sda21(r2) -/* 80316EE0 00313E40 6F C3 80 00 */ xoris r3, r30, 0x8000 -/* 80316EE4 00313E44 C0 01 00 34 */ lfs f0, 0x34(r1) -/* 80316EE8 00313E48 3C 00 43 30 */ lis r0, 0x4330 -/* 80316EEC 00313E4C 90 61 00 3C */ stw r3, 0x3c(r1) -/* 80316EF0 00313E50 EC 01 00 24 */ fdivs f0, f1, f0 -/* 80316EF4 00313E54 C8 62 C9 E0 */ lfd f3, lbl_805AE700@sda21(r2) -/* 80316EF8 00313E58 90 01 00 38 */ stw r0, 0x38(r1) -/* 80316EFC 00313E5C C8 41 00 38 */ lfd f2, 0x38(r1) -/* 80316F00 00313E60 EC 42 18 28 */ fsubs f2, f2, f3 -/* 80316F04 00313E64 EF E2 00 32 */ fmuls f31, f2, f0 -/* 80316F08 00313E68 FC 1F 08 40 */ fcmpo cr0, f31, f1 -/* 80316F0C 00313E6C 4C 41 13 82 */ cror 2, 1, 2 -/* 80316F10 00313E70 40 82 00 24 */ bne lbl_80316F34 -/* 80316F14 00313E74 80 7D 00 08 */ lwz r3, 8(r29) -/* 80316F18 00313E78 7F C4 F3 78 */ mr r4, r30 -/* 80316F1C 00313E7C 7F E5 FB 78 */ mr r5, r31 -/* 80316F20 00313E80 81 83 00 00 */ lwz r12, 0(r3) -/* 80316F24 00313E84 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80316F28 00313E88 7D 89 03 A6 */ mtctr r12 -/* 80316F2C 00313E8C 4E 80 04 21 */ bctrl -/* 80316F30 00313E90 48 00 00 EC */ b lbl_8031701C -lbl_80316F34: -/* 80316F34 00313E94 38 C0 00 FF */ li r6, 0xff -/* 80316F38 00313E98 38 00 00 00 */ li r0, 0 -/* 80316F3C 00313E9C 98 C1 00 30 */ stb r6, 0x30(r1) -/* 80316F40 00313EA0 7F C4 F3 78 */ mr r4, r30 -/* 80316F44 00313EA4 80 7D 00 04 */ lwz r3, 4(r29) -/* 80316F48 00313EA8 38 A1 00 30 */ addi r5, r1, 0x30 -/* 80316F4C 00313EAC 98 01 00 31 */ stb r0, 0x31(r1) -/* 80316F50 00313EB0 98 C1 00 32 */ stb r6, 0x32(r1) -/* 80316F54 00313EB4 98 C1 00 33 */ stb r6, 0x33(r1) -/* 80316F58 00313EB8 98 C1 00 2C */ stb r6, 0x2c(r1) -/* 80316F5C 00313EBC 98 01 00 2D */ stb r0, 0x2d(r1) -/* 80316F60 00313EC0 98 C1 00 2E */ stb r6, 0x2e(r1) -/* 80316F64 00313EC4 98 C1 00 2F */ stb r6, 0x2f(r1) -/* 80316F68 00313EC8 81 83 00 00 */ lwz r12, 0(r3) -/* 80316F6C 00313ECC 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80316F70 00313ED0 7D 89 03 A6 */ mtctr r12 -/* 80316F74 00313ED4 4E 80 04 21 */ bctrl -/* 80316F78 00313ED8 80 7D 00 08 */ lwz r3, 8(r29) -/* 80316F7C 00313EDC 7F C4 F3 78 */ mr r4, r30 -/* 80316F80 00313EE0 38 A1 00 2C */ addi r5, r1, 0x2c -/* 80316F84 00313EE4 81 83 00 00 */ lwz r12, 0(r3) -/* 80316F88 00313EE8 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80316F8C 00313EEC 7D 89 03 A6 */ mtctr r12 -/* 80316F90 00313EF0 4E 80 04 21 */ bctrl -/* 80316F94 00313EF4 38 61 00 30 */ addi r3, r1, 0x30 -/* 80316F98 00313EF8 38 81 00 28 */ addi r4, r1, 0x28 -/* 80316F9C 00313EFC 38 A1 00 24 */ addi r5, r1, 0x24 -/* 80316FA0 00313F00 38 C1 00 20 */ addi r6, r1, 0x20 -/* 80316FA4 00313F04 38 E1 00 1C */ addi r7, r1, 0x1c -/* 80316FA8 00313F08 48 04 C3 BD */ bl Get__6CColorCFRfRfRfRf -/* 80316FAC 00313F0C 38 61 00 2C */ addi r3, r1, 0x2c -/* 80316FB0 00313F10 38 81 00 18 */ addi r4, r1, 0x18 -/* 80316FB4 00313F14 38 A1 00 14 */ addi r5, r1, 0x14 -/* 80316FB8 00313F18 38 C1 00 10 */ addi r6, r1, 0x10 -/* 80316FBC 00313F1C 38 E1 00 0C */ addi r7, r1, 0xc -/* 80316FC0 00313F20 48 04 C3 A5 */ bl Get__6CColorCFRfRfRfRf -/* 80316FC4 00313F24 C0 22 C9 D8 */ lfs f1, lbl_805AE6F8@sda21(r2) -/* 80316FC8 00313F28 38 61 00 08 */ addi r3, r1, 8 -/* 80316FCC 00313F2C C0 01 00 18 */ lfs f0, 0x18(r1) -/* 80316FD0 00313F30 C0 41 00 14 */ lfs f2, 0x14(r1) -/* 80316FD4 00313F34 ED 21 F8 28 */ fsubs f9, f1, f31 -/* 80316FD8 00313F38 C0 21 00 10 */ lfs f1, 0x10(r1) -/* 80316FDC 00313F3C EC E0 07 F2 */ fmuls f7, f0, f31 -/* 80316FE0 00313F40 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 80316FE4 00313F44 EC 42 07 F2 */ fmuls f2, f2, f31 -/* 80316FE8 00313F48 C1 01 00 28 */ lfs f8, 0x28(r1) -/* 80316FEC 00313F4C C0 C1 00 24 */ lfs f6, 0x24(r1) -/* 80316FF0 00313F50 EC 61 07 F2 */ fmuls f3, f1, f31 -/* 80316FF4 00313F54 C0 A1 00 20 */ lfs f5, 0x20(r1) -/* 80316FF8 00313F58 EC 00 07 F2 */ fmuls f0, f0, f31 -/* 80316FFC 00313F5C C0 81 00 1C */ lfs f4, 0x1c(r1) -/* 80317000 00313F60 EC 28 3A 7A */ fmadds f1, f8, f9, f7 -/* 80317004 00313F64 EC 46 12 7A */ fmadds f2, f6, f9, f2 -/* 80317008 00313F68 EC 65 1A 7A */ fmadds f3, f5, f9, f3 -/* 8031700C 00313F6C EC 84 02 7A */ fmadds f4, f4, f9, f0 -/* 80317010 00313F70 48 04 C3 DD */ bl __ct__6CColorFffff -/* 80317014 00313F74 80 01 00 08 */ lwz r0, 8(r1) -/* 80317018 00313F78 90 1F 00 00 */ stw r0, 0(r31) -lbl_8031701C: -/* 8031701C 00313F7C 38 60 00 00 */ li r3, 0 -/* 80317020 00313F80 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 -/* 80317024 00313F84 80 01 00 64 */ lwz r0, 0x64(r1) -/* 80317028 00313F88 CB E1 00 50 */ lfd f31, 0x50(r1) -/* 8031702C 00313F8C 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 80317030 00313F90 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 80317034 00313F94 83 A1 00 44 */ lwz r29, 0x44(r1) -/* 80317038 00313F98 7C 08 03 A6 */ mtlr r0 -/* 8031703C 00313F9C 38 21 00 60 */ addi r1, r1, 0x60 -/* 80317040 00313FA0 4E 80 00 20 */ blr - -.global __dt__7CCEFadeFv -__dt__7CCEFadeFv: -/* 80317044 00313FA4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80317048 00313FA8 7C 08 02 A6 */ mflr r0 -/* 8031704C 00313FAC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80317050 00313FB0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80317054 00313FB4 7C 9F 23 78 */ mr r31, r4 -/* 80317058 00313FB8 93 C1 00 08 */ stw r30, 8(r1) -/* 8031705C 00313FBC 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80317060 00313FC0 41 82 00 A8 */ beq lbl_80317108 -/* 80317064 00313FC4 3C 60 80 3F */ lis r3, lbl_803EDA50@ha -/* 80317068 00313FC8 38 03 DA 50 */ addi r0, r3, lbl_803EDA50@l -/* 8031706C 00313FCC 90 1E 00 00 */ stw r0, 0(r30) -/* 80317070 00313FD0 80 7E 00 04 */ lwz r3, 4(r30) -/* 80317074 00313FD4 28 03 00 00 */ cmplwi r3, 0 -/* 80317078 00313FD8 41 82 00 18 */ beq lbl_80317090 -/* 8031707C 00313FDC 81 83 00 00 */ lwz r12, 0(r3) -/* 80317080 00313FE0 38 80 00 01 */ li r4, 1 -/* 80317084 00313FE4 81 8C 00 08 */ lwz r12, 8(r12) -/* 80317088 00313FE8 7D 89 03 A6 */ mtctr r12 -/* 8031708C 00313FEC 4E 80 04 21 */ bctrl -lbl_80317090: -/* 80317090 00313FF0 80 7E 00 08 */ lwz r3, 8(r30) -/* 80317094 00313FF4 28 03 00 00 */ cmplwi r3, 0 -/* 80317098 00313FF8 41 82 00 18 */ beq lbl_803170B0 -/* 8031709C 00313FFC 81 83 00 00 */ lwz r12, 0(r3) -/* 803170A0 00314000 38 80 00 01 */ li r4, 1 -/* 803170A4 00314004 81 8C 00 08 */ lwz r12, 8(r12) -/* 803170A8 00314008 7D 89 03 A6 */ mtctr r12 -/* 803170AC 0031400C 4E 80 04 21 */ bctrl -lbl_803170B0: -/* 803170B0 00314010 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 803170B4 00314014 28 03 00 00 */ cmplwi r3, 0 -/* 803170B8 00314018 41 82 00 18 */ beq lbl_803170D0 -/* 803170BC 0031401C 81 83 00 00 */ lwz r12, 0(r3) -/* 803170C0 00314020 38 80 00 01 */ li r4, 1 -/* 803170C4 00314024 81 8C 00 08 */ lwz r12, 8(r12) -/* 803170C8 00314028 7D 89 03 A6 */ mtctr r12 -/* 803170CC 0031402C 4E 80 04 21 */ bctrl -lbl_803170D0: -/* 803170D0 00314030 28 1E 00 00 */ cmplwi r30, 0 -/* 803170D4 00314034 41 82 00 20 */ beq lbl_803170F4 -/* 803170D8 00314038 3C 60 80 3F */ lis r3, lbl_803EC5B4@ha -/* 803170DC 0031403C 38 03 C5 B4 */ addi r0, r3, lbl_803EC5B4@l -/* 803170E0 00314040 90 1E 00 00 */ stw r0, 0(r30) -/* 803170E4 00314044 41 82 00 10 */ beq lbl_803170F4 -/* 803170E8 00314048 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 803170EC 0031404C 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 803170F0 00314050 90 1E 00 00 */ stw r0, 0(r30) -lbl_803170F4: -/* 803170F4 00314054 7F E0 07 35 */ extsh. r0, r31 -/* 803170F8 00314058 40 81 00 10 */ ble lbl_80317108 -/* 803170FC 0031405C 7F C3 F3 78 */ mr r3, r30 -/* 80317100 00314060 38 80 00 10 */ li r4, 0x10 -/* 80317104 00314064 48 05 59 61 */ bl sub_8036ca64 -lbl_80317108: -/* 80317108 00314068 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8031710C 0031406C 7F C3 F3 78 */ mr r3, r30 -/* 80317110 00314070 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80317114 00314074 83 C1 00 08 */ lwz r30, 8(r1) -/* 80317118 00314078 7C 08 03 A6 */ mtlr r0 -/* 8031711C 0031407C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80317120 00314080 4E 80 00 20 */ blr - -.global __ct__7CCEFadeFP13CColorElementP13CColorElementP12CRealElement -__ct__7CCEFadeFP13CColorElementP13CColorElementP12CRealElement: -/* 80317124 00314084 3D 20 80 3F */ lis r9, lbl_803EC5A8@ha -/* 80317128 00314088 3D 00 80 3F */ lis r8, lbl_803EC5B4@ha -/* 8031712C 0031408C 38 09 C5 A8 */ addi r0, r9, lbl_803EC5A8@l -/* 80317130 00314090 3C E0 80 3F */ lis r7, lbl_803EDA50@ha -/* 80317134 00314094 90 03 00 00 */ stw r0, 0(r3) -/* 80317138 00314098 39 08 C5 B4 */ addi r8, r8, lbl_803EC5B4@l -/* 8031713C 0031409C 38 07 DA 50 */ addi r0, r7, lbl_803EDA50@l -/* 80317140 003140A0 91 03 00 00 */ stw r8, 0(r3) -/* 80317144 003140A4 90 03 00 00 */ stw r0, 0(r3) -/* 80317148 003140A8 90 83 00 04 */ stw r4, 4(r3) -/* 8031714C 003140AC 90 A3 00 08 */ stw r5, 8(r3) -/* 80317150 003140B0 90 C3 00 0C */ stw r6, 0xc(r3) -/* 80317154 003140B4 4E 80 00 20 */ blr - -.global sub_80317158 -sub_80317158: -/* 80317158 003140B8 80 03 00 04 */ lwz r0, 4(r3) -/* 8031715C 003140BC 38 60 00 00 */ li r3, 0 -/* 80317160 003140C0 90 05 00 00 */ stw r0, 0(r5) -/* 80317164 003140C4 4E 80 00 20 */ blr - -.global __dt__15CCEFastConstantFv -__dt__15CCEFastConstantFv: -/* 80317168 003140C8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8031716C 003140CC 7C 08 02 A6 */ mflr r0 -/* 80317170 003140D0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80317174 003140D4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80317178 003140D8 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8031717C 003140DC 41 82 00 44 */ beq lbl_803171C0 -/* 80317180 003140E0 3C 60 80 3F */ lis r3, lbl_803EDA60@ha -/* 80317184 003140E4 38 03 DA 60 */ addi r0, r3, lbl_803EDA60@l -/* 80317188 003140E8 90 1F 00 00 */ stw r0, 0(r31) -/* 8031718C 003140EC 41 82 00 20 */ beq lbl_803171AC -/* 80317190 003140F0 3C 60 80 3F */ lis r3, lbl_803EC5B4@ha -/* 80317194 003140F4 38 03 C5 B4 */ addi r0, r3, lbl_803EC5B4@l -/* 80317198 003140F8 90 1F 00 00 */ stw r0, 0(r31) -/* 8031719C 003140FC 41 82 00 10 */ beq lbl_803171AC -/* 803171A0 00314100 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 803171A4 00314104 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 803171A8 00314108 90 1F 00 00 */ stw r0, 0(r31) -lbl_803171AC: -/* 803171AC 0031410C 7C 80 07 35 */ extsh. r0, r4 -/* 803171B0 00314110 40 81 00 10 */ ble lbl_803171C0 -/* 803171B4 00314114 7F E3 FB 78 */ mr r3, r31 -/* 803171B8 00314118 38 80 00 08 */ li r4, 8 -/* 803171BC 0031411C 48 05 58 A9 */ bl sub_8036ca64 -lbl_803171C0: -/* 803171C0 00314120 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803171C4 00314124 7F E3 FB 78 */ mr r3, r31 -/* 803171C8 00314128 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 803171CC 0031412C 7C 08 03 A6 */ mtlr r0 -/* 803171D0 00314130 38 21 00 10 */ addi r1, r1, 0x10 -/* 803171D4 00314134 4E 80 00 20 */ blr - -.global __ct__15CCEFastConstantFffff -__ct__15CCEFastConstantFffff: -/* 803171D8 00314138 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 803171DC 0031413C 7C 08 02 A6 */ mflr r0 -/* 803171E0 00314140 90 01 00 54 */ stw r0, 0x54(r1) -/* 803171E4 00314144 DB E1 00 40 */ stfd f31, 0x40(r1) -/* 803171E8 00314148 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 -/* 803171EC 0031414C DB C1 00 30 */ stfd f30, 0x30(r1) -/* 803171F0 00314150 F3 C1 00 38 */ psq_st f30, 56(r1), 0, qr0 -/* 803171F4 00314154 DB A1 00 20 */ stfd f29, 0x20(r1) -/* 803171F8 00314158 F3 A1 00 28 */ psq_st f29, 40(r1), 0, qr0 -/* 803171FC 0031415C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80317200 00314160 7C 7F 1B 78 */ mr r31, r3 -/* 80317204 00314164 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 80317208 00314168 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 8031720C 0031416C 3C 80 80 3F */ lis r4, lbl_803EC5B4@ha -/* 80317210 00314170 90 1F 00 00 */ stw r0, 0(r31) -/* 80317214 00314174 38 04 C5 B4 */ addi r0, r4, lbl_803EC5B4@l -/* 80317218 00314178 3C 60 80 3F */ lis r3, lbl_803EDA60@ha -/* 8031721C 0031417C 38 C0 00 FF */ li r6, 0xff -/* 80317220 00314180 90 1F 00 00 */ stw r0, 0(r31) -/* 80317224 00314184 38 63 DA 60 */ addi r3, r3, lbl_803EDA60@l -/* 80317228 00314188 38 00 00 00 */ li r0, 0 -/* 8031722C 0031418C 38 81 00 08 */ addi r4, r1, 8 -/* 80317230 00314190 90 7F 00 00 */ stw r3, 0(r31) -/* 80317234 00314194 38 6D 9C D0 */ addi r3, r13, lbl_805A8890@sda21 -/* 80317238 00314198 38 AD 9C D4 */ addi r5, r13, lbl_805A8894@sda21 -/* 8031723C 0031419C 98 DF 00 04 */ stb r6, 4(r31) -/* 80317240 003141A0 98 1F 00 05 */ stb r0, 5(r31) -/* 80317244 003141A4 98 DF 00 06 */ stb r6, 6(r31) -/* 80317248 003141A8 D0 21 00 08 */ stfs f1, 8(r1) -/* 8031724C 003141AC D0 41 00 0C */ stfs f2, 0xc(r1) -/* 80317250 003141B0 D0 61 00 10 */ stfs f3, 0x10(r1) -/* 80317254 003141B4 D0 81 00 14 */ stfs f4, 0x14(r1) -/* 80317258 003141B8 98 DF 00 07 */ stb r6, 7(r31) -/* 8031725C 003141BC 4B CF 50 59 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 80317260 003141C0 C3 E3 00 00 */ lfs f31, 0(r3) -/* 80317264 003141C4 38 81 00 0C */ addi r4, r1, 0xc -/* 80317268 003141C8 38 6D 9C D8 */ addi r3, r13, lbl_805A8898@sda21 -/* 8031726C 003141CC 38 AD 9C DC */ addi r5, r13, lbl_805A889C@sda21 -/* 80317270 003141D0 4B CF 50 45 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 80317274 003141D4 C3 C3 00 00 */ lfs f30, 0(r3) -/* 80317278 003141D8 38 81 00 10 */ addi r4, r1, 0x10 -/* 8031727C 003141DC 38 6D 9C E0 */ addi r3, r13, lbl_805A88A0@sda21 -/* 80317280 003141E0 38 AD 9C E4 */ addi r5, r13, lbl_805A88A4@sda21 -/* 80317284 003141E4 4B CF 50 31 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 80317288 003141E8 C3 A3 00 00 */ lfs f29, 0(r3) -/* 8031728C 003141EC 38 81 00 14 */ addi r4, r1, 0x14 -/* 80317290 003141F0 38 6D 9C E8 */ addi r3, r13, lbl_805A88A8@sda21 -/* 80317294 003141F4 38 AD 9C EC */ addi r5, r13, lbl_805A88AC@sda21 -/* 80317298 003141F8 4B CF 50 1D */ bl "Clamp__5CMathFRCfRCfRCf" -/* 8031729C 003141FC FC 20 F8 90 */ fmr f1, f31 -/* 803172A0 00314200 C0 83 00 00 */ lfs f4, 0(r3) -/* 803172A4 00314204 FC 40 F0 90 */ fmr f2, f30 -/* 803172A8 00314208 38 7F 00 04 */ addi r3, r31, 4 -/* 803172AC 0031420C FC 60 E8 90 */ fmr f3, f29 -/* 803172B0 00314210 48 04 C0 ED */ bl Set__6CColorFffff -/* 803172B4 00314214 7F E3 FB 78 */ mr r3, r31 -/* 803172B8 00314218 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 -/* 803172BC 0031421C CB E1 00 40 */ lfd f31, 0x40(r1) -/* 803172C0 00314220 E3 C1 00 38 */ psq_l f30, 56(r1), 0, qr0 -/* 803172C4 00314224 CB C1 00 30 */ lfd f30, 0x30(r1) -/* 803172C8 00314228 E3 A1 00 28 */ psq_l f29, 40(r1), 0, qr0 -/* 803172CC 0031422C CB A1 00 20 */ lfd f29, 0x20(r1) -/* 803172D0 00314230 80 01 00 54 */ lwz r0, 0x54(r1) -/* 803172D4 00314234 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 803172D8 00314238 7C 08 03 A6 */ mtlr r0 -/* 803172DC 0031423C 38 21 00 50 */ addi r1, r1, 0x50 -/* 803172E0 00314240 4E 80 00 20 */ blr - -.global GetValue__11CCEConstantCFiR6CColor -GetValue__11CCEConstantCFiR6CColor: -/* 803172E4 00314244 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 803172E8 00314248 7C 08 02 A6 */ mflr r0 -/* 803172EC 0031424C 90 01 00 34 */ stw r0, 0x34(r1) -/* 803172F0 00314250 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 803172F4 00314254 7C BF 2B 78 */ mr r31, r5 -/* 803172F8 00314258 38 A1 00 14 */ addi r5, r1, 0x14 -/* 803172FC 0031425C 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80317300 00314260 7C 9E 23 78 */ mr r30, r4 -/* 80317304 00314264 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80317308 00314268 7C 7D 1B 78 */ mr r29, r3 -/* 8031730C 0031426C 80 63 00 04 */ lwz r3, 4(r3) -/* 80317310 00314270 81 83 00 00 */ lwz r12, 0(r3) -/* 80317314 00314274 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80317318 00314278 7D 89 03 A6 */ mtctr r12 -/* 8031731C 0031427C 4E 80 04 21 */ bctrl -/* 80317320 00314280 38 81 00 14 */ addi r4, r1, 0x14 -/* 80317324 00314284 38 6D 9C B0 */ addi r3, r13, lbl_805A8870@sda21 -/* 80317328 00314288 38 AD 9C B4 */ addi r5, r13, lbl_805A8874@sda21 -/* 8031732C 0031428C 4B CF 4F 89 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 80317330 00314290 C0 03 00 00 */ lfs f0, 0(r3) -/* 80317334 00314294 7F C4 F3 78 */ mr r4, r30 -/* 80317338 00314298 80 7D 00 08 */ lwz r3, 8(r29) -/* 8031733C 0031429C 38 A1 00 10 */ addi r5, r1, 0x10 -/* 80317340 003142A0 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 80317344 003142A4 81 83 00 00 */ lwz r12, 0(r3) -/* 80317348 003142A8 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8031734C 003142AC 7D 89 03 A6 */ mtctr r12 -/* 80317350 003142B0 4E 80 04 21 */ bctrl -/* 80317354 003142B4 38 81 00 10 */ addi r4, r1, 0x10 -/* 80317358 003142B8 38 6D 9C B8 */ addi r3, r13, lbl_805A8878@sda21 -/* 8031735C 003142BC 38 AD 9C BC */ addi r5, r13, lbl_805A887C@sda21 -/* 80317360 003142C0 4B CF 4F 55 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 80317364 003142C4 C0 03 00 00 */ lfs f0, 0(r3) -/* 80317368 003142C8 7F C4 F3 78 */ mr r4, r30 -/* 8031736C 003142CC 80 7D 00 0C */ lwz r3, 0xc(r29) -/* 80317370 003142D0 38 A1 00 0C */ addi r5, r1, 0xc -/* 80317374 003142D4 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 80317378 003142D8 81 83 00 00 */ lwz r12, 0(r3) -/* 8031737C 003142DC 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80317380 003142E0 7D 89 03 A6 */ mtctr r12 -/* 80317384 003142E4 4E 80 04 21 */ bctrl -/* 80317388 003142E8 38 81 00 0C */ addi r4, r1, 0xc -/* 8031738C 003142EC 38 6D 9C C0 */ addi r3, r13, lbl_805A8880@sda21 -/* 80317390 003142F0 38 AD 9C C4 */ addi r5, r13, lbl_805A8884@sda21 -/* 80317394 003142F4 4B CF 4F 21 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 80317398 003142F8 C0 03 00 00 */ lfs f0, 0(r3) -/* 8031739C 003142FC 7F C4 F3 78 */ mr r4, r30 -/* 803173A0 00314300 80 7D 00 10 */ lwz r3, 0x10(r29) -/* 803173A4 00314304 38 A1 00 08 */ addi r5, r1, 8 -/* 803173A8 00314308 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 803173AC 0031430C 81 83 00 00 */ lwz r12, 0(r3) -/* 803173B0 00314310 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 803173B4 00314314 7D 89 03 A6 */ mtctr r12 -/* 803173B8 00314318 4E 80 04 21 */ bctrl -/* 803173BC 0031431C 38 81 00 08 */ addi r4, r1, 8 -/* 803173C0 00314320 38 6D 9C C8 */ addi r3, r13, lbl_805A8888@sda21 -/* 803173C4 00314324 38 AD 9C CC */ addi r5, r13, lbl_805A888C@sda21 -/* 803173C8 00314328 4B CF 4E ED */ bl "Clamp__5CMathFRCfRCfRCf" -/* 803173CC 0031432C C0 83 00 00 */ lfs f4, 0(r3) -/* 803173D0 00314330 7F E3 FB 78 */ mr r3, r31 -/* 803173D4 00314334 C0 21 00 14 */ lfs f1, 0x14(r1) -/* 803173D8 00314338 D0 81 00 08 */ stfs f4, 8(r1) -/* 803173DC 0031433C C0 41 00 10 */ lfs f2, 0x10(r1) -/* 803173E0 00314340 C0 61 00 0C */ lfs f3, 0xc(r1) -/* 803173E4 00314344 48 04 BF B9 */ bl Set__6CColorFffff -/* 803173E8 00314348 80 01 00 34 */ lwz r0, 0x34(r1) -/* 803173EC 0031434C 38 60 00 00 */ li r3, 0 -/* 803173F0 00314350 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 803173F4 00314354 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 803173F8 00314358 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 803173FC 0031435C 7C 08 03 A6 */ mtlr r0 -/* 80317400 00314360 38 21 00 30 */ addi r1, r1, 0x30 -/* 80317404 00314364 4E 80 00 20 */ blr - -.global __dt__11CCEConstantFv -__dt__11CCEConstantFv: -/* 80317408 00314368 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8031740C 0031436C 7C 08 02 A6 */ mflr r0 -/* 80317410 00314370 90 01 00 14 */ stw r0, 0x14(r1) -/* 80317414 00314374 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80317418 00314378 7C 9F 23 78 */ mr r31, r4 -/* 8031741C 0031437C 93 C1 00 08 */ stw r30, 8(r1) -/* 80317420 00314380 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80317424 00314384 41 82 00 C8 */ beq lbl_803174EC -/* 80317428 00314388 3C 60 80 3F */ lis r3, lbl_803EDA70@ha -/* 8031742C 0031438C 38 03 DA 70 */ addi r0, r3, lbl_803EDA70@l -/* 80317430 00314390 90 1E 00 00 */ stw r0, 0(r30) -/* 80317434 00314394 80 7E 00 04 */ lwz r3, 4(r30) -/* 80317438 00314398 28 03 00 00 */ cmplwi r3, 0 -/* 8031743C 0031439C 41 82 00 18 */ beq lbl_80317454 -/* 80317440 003143A0 81 83 00 00 */ lwz r12, 0(r3) -/* 80317444 003143A4 38 80 00 01 */ li r4, 1 -/* 80317448 003143A8 81 8C 00 08 */ lwz r12, 8(r12) -/* 8031744C 003143AC 7D 89 03 A6 */ mtctr r12 -/* 80317450 003143B0 4E 80 04 21 */ bctrl -lbl_80317454: -/* 80317454 003143B4 80 7E 00 08 */ lwz r3, 8(r30) -/* 80317458 003143B8 28 03 00 00 */ cmplwi r3, 0 -/* 8031745C 003143BC 41 82 00 18 */ beq lbl_80317474 -/* 80317460 003143C0 81 83 00 00 */ lwz r12, 0(r3) -/* 80317464 003143C4 38 80 00 01 */ li r4, 1 -/* 80317468 003143C8 81 8C 00 08 */ lwz r12, 8(r12) -/* 8031746C 003143CC 7D 89 03 A6 */ mtctr r12 -/* 80317470 003143D0 4E 80 04 21 */ bctrl -lbl_80317474: -/* 80317474 003143D4 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 80317478 003143D8 28 03 00 00 */ cmplwi r3, 0 -/* 8031747C 003143DC 41 82 00 18 */ beq lbl_80317494 -/* 80317480 003143E0 81 83 00 00 */ lwz r12, 0(r3) -/* 80317484 003143E4 38 80 00 01 */ li r4, 1 -/* 80317488 003143E8 81 8C 00 08 */ lwz r12, 8(r12) -/* 8031748C 003143EC 7D 89 03 A6 */ mtctr r12 -/* 80317490 003143F0 4E 80 04 21 */ bctrl -lbl_80317494: -/* 80317494 003143F4 80 7E 00 10 */ lwz r3, 0x10(r30) -/* 80317498 003143F8 28 03 00 00 */ cmplwi r3, 0 -/* 8031749C 003143FC 41 82 00 18 */ beq lbl_803174B4 -/* 803174A0 00314400 81 83 00 00 */ lwz r12, 0(r3) -/* 803174A4 00314404 38 80 00 01 */ li r4, 1 -/* 803174A8 00314408 81 8C 00 08 */ lwz r12, 8(r12) -/* 803174AC 0031440C 7D 89 03 A6 */ mtctr r12 -/* 803174B0 00314410 4E 80 04 21 */ bctrl -lbl_803174B4: -/* 803174B4 00314414 28 1E 00 00 */ cmplwi r30, 0 -/* 803174B8 00314418 41 82 00 20 */ beq lbl_803174D8 -/* 803174BC 0031441C 3C 60 80 3F */ lis r3, lbl_803EC5B4@ha -/* 803174C0 00314420 38 03 C5 B4 */ addi r0, r3, lbl_803EC5B4@l -/* 803174C4 00314424 90 1E 00 00 */ stw r0, 0(r30) -/* 803174C8 00314428 41 82 00 10 */ beq lbl_803174D8 -/* 803174CC 0031442C 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 803174D0 00314430 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 803174D4 00314434 90 1E 00 00 */ stw r0, 0(r30) -lbl_803174D8: -/* 803174D8 00314438 7F E0 07 35 */ extsh. r0, r31 -/* 803174DC 0031443C 40 81 00 10 */ ble lbl_803174EC -/* 803174E0 00314440 7F C3 F3 78 */ mr r3, r30 -/* 803174E4 00314444 38 80 00 14 */ li r4, 0x14 -/* 803174E8 00314448 48 05 55 7D */ bl sub_8036ca64 -lbl_803174EC: -/* 803174EC 0031444C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803174F0 00314450 7F C3 F3 78 */ mr r3, r30 -/* 803174F4 00314454 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 803174F8 00314458 83 C1 00 08 */ lwz r30, 8(r1) -/* 803174FC 0031445C 7C 08 03 A6 */ mtlr r0 -/* 80317500 00314460 38 21 00 10 */ addi r1, r1, 0x10 -/* 80317504 00314464 4E 80 00 20 */ blr - -.global __ct__11CCEConstantFP12CRealElementP12CRealElementP12CRealElementP12CRealElement -__ct__11CCEConstantFP12CRealElementP12CRealElementP12CRealElementP12CRealElement: -/* 80317508 00314468 3D 40 80 3F */ lis r10, lbl_803EC5A8@ha -/* 8031750C 0031446C 3D 20 80 3F */ lis r9, lbl_803EC5B4@ha -/* 80317510 00314470 38 0A C5 A8 */ addi r0, r10, lbl_803EC5A8@l -/* 80317514 00314474 3D 00 80 3F */ lis r8, lbl_803EDA70@ha -/* 80317518 00314478 90 03 00 00 */ stw r0, 0(r3) -/* 8031751C 0031447C 39 29 C5 B4 */ addi r9, r9, lbl_803EC5B4@l -/* 80317520 00314480 38 08 DA 70 */ addi r0, r8, lbl_803EDA70@l -/* 80317524 00314484 91 23 00 00 */ stw r9, 0(r3) -/* 80317528 00314488 90 03 00 00 */ stw r0, 0(r3) -/* 8031752C 0031448C 90 83 00 04 */ stw r4, 4(r3) -/* 80317530 00314490 90 A3 00 08 */ stw r5, 8(r3) -/* 80317534 00314494 90 C3 00 0C */ stw r6, 0xc(r3) -/* 80317538 00314498 90 E3 00 10 */ stw r7, 0x10(r3) -/* 8031753C 0031449C 4E 80 00 20 */ blr - -.global "reserve__Q24rstl42vector<6CColor,Q24rstl17rmemory_allocator>Fi" -"reserve__Q24rstl42vector<6CColor,Q24rstl17rmemory_allocator>Fi": -/* 80317540 003144A0 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80317544 003144A4 7C 08 02 A6 */ mflr r0 -/* 80317548 003144A8 90 01 00 34 */ stw r0, 0x34(r1) -/* 8031754C 003144AC 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80317550 003144B0 7C 9F 23 78 */ mr r31, r4 -/* 80317554 003144B4 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80317558 003144B8 7C 7E 1B 78 */ mr r30, r3 -/* 8031755C 003144BC 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80317560 003144C0 80 03 00 08 */ lwz r0, 8(r3) -/* 80317564 003144C4 7C 1F 00 00 */ cmpw r31, r0 -/* 80317568 003144C8 40 81 00 A8 */ ble lbl_80317610 -/* 8031756C 003144CC 57 E3 10 3B */ rlwinm. r3, r31, 2, 0, 0x1d -/* 80317570 003144D0 40 82 00 0C */ bne lbl_8031757C -/* 80317574 003144D4 3B A0 00 00 */ li r29, 0 -/* 80317578 003144D8 48 00 00 18 */ b lbl_80317590 -lbl_8031757C: -/* 8031757C 003144DC 3C 80 80 3D */ lis r4, lbl_803D7840@ha -/* 80317580 003144E0 38 A0 00 00 */ li r5, 0 -/* 80317584 003144E4 38 84 78 40 */ addi r4, r4, lbl_803D7840@l -/* 80317588 003144E8 4B FF E2 91 */ bl __nwa__FUlPCcPCc -/* 8031758C 003144EC 7C 7D 1B 78 */ mr r29, r3 -lbl_80317590: -/* 80317590 003144F0 80 1E 00 04 */ lwz r0, 4(r30) -/* 80317594 003144F4 7F A4 EB 78 */ mr r4, r29 -/* 80317598 003144F8 80 BE 00 0C */ lwz r5, 0xc(r30) -/* 8031759C 003144FC 54 00 10 3A */ slwi r0, r0, 2 -/* 803175A0 00314500 7C 65 02 14 */ add r3, r5, r0 -/* 803175A4 00314504 90 A1 00 10 */ stw r5, 0x10(r1) -/* 803175A8 00314508 90 61 00 08 */ stw r3, 8(r1) -/* 803175AC 0031450C 90 61 00 0C */ stw r3, 0xc(r1) -/* 803175B0 00314510 90 A1 00 14 */ stw r5, 0x14(r1) -/* 803175B4 00314514 48 00 00 1C */ b lbl_803175D0 -lbl_803175B8: -/* 803175B8 00314518 28 04 00 00 */ cmplwi r4, 0 -/* 803175BC 0031451C 41 82 00 0C */ beq lbl_803175C8 -/* 803175C0 00314520 80 05 00 00 */ lwz r0, 0(r5) -/* 803175C4 00314524 90 04 00 00 */ stw r0, 0(r4) -lbl_803175C8: -/* 803175C8 00314528 38 84 00 04 */ addi r4, r4, 4 -/* 803175CC 0031452C 38 A5 00 04 */ addi r5, r5, 4 -lbl_803175D0: -/* 803175D0 00314530 7C 05 18 40 */ cmplw r5, r3 -/* 803175D4 00314534 40 82 FF E4 */ bne lbl_803175B8 -/* 803175D8 00314538 80 1E 00 04 */ lwz r0, 4(r30) -/* 803175DC 0031453C 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 803175E0 00314540 54 00 10 3A */ slwi r0, r0, 2 -/* 803175E4 00314544 7C 64 1B 78 */ mr r4, r3 -/* 803175E8 00314548 7C 03 02 14 */ add r0, r3, r0 -/* 803175EC 0031454C 48 00 00 08 */ b lbl_803175F4 -lbl_803175F0: -/* 803175F0 00314550 38 84 00 04 */ addi r4, r4, 4 -lbl_803175F4: -/* 803175F4 00314554 7C 04 00 40 */ cmplw r4, r0 -/* 803175F8 00314558 40 82 FF F8 */ bne lbl_803175F0 -/* 803175FC 0031455C 28 03 00 00 */ cmplwi r3, 0 -/* 80317600 00314560 41 82 00 08 */ beq lbl_80317608 -/* 80317604 00314564 4B FF E3 2D */ bl Free__7CMemoryFPCv -lbl_80317608: -/* 80317608 00314568 93 BE 00 0C */ stw r29, 0xc(r30) -/* 8031760C 0031456C 93 FE 00 08 */ stw r31, 8(r30) -lbl_80317610: -/* 80317610 00314570 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80317614 00314574 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80317618 00314578 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8031761C 0031457C 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80317620 00314580 7C 08 03 A6 */ mtlr r0 -/* 80317624 00314584 38 21 00 30 */ addi r1, r1, 0x30 -/* 80317628 00314588 4E 80 00 20 */ blr - -.global GetGlobalTranslation__11CElementGenCFv -GetGlobalTranslation__11CElementGenCFv: -/* 8031762C 0031458C 38 63 00 E8 */ addi r3, r3, 0xe8 -/* 80317630 00314590 4E 80 00 20 */ blr - -.global GetGlobalOrientation__11CElementGenCFv -GetGlobalOrientation__11CElementGenCFv: -/* 80317634 00314594 38 63 02 2C */ addi r3, r3, 0x22c -/* 80317638 00314598 4E 80 00 20 */ blr - -.global GetParticleEmission__11CElementGenCFv -GetParticleEmission__11CElementGenCFv: -/* 8031763C 0031459C 88 63 00 88 */ lbz r3, 0x88(r3) -/* 80317640 003145A0 4E 80 00 20 */ blr - -.global IsIndirectTextured__11CElementGenCFv -IsIndirectTextured__11CElementGenCFv: -/* 80317644 003145A4 80 83 00 28 */ lwz r4, 0x28(r3) -/* 80317648 003145A8 38 60 00 00 */ li r3, 0 -/* 8031764C 003145AC 80 04 00 40 */ lwz r0, 0x40(r4) -/* 80317650 003145B0 28 00 00 00 */ cmplwi r0, 0 -/* 80317654 003145B4 4D 82 00 20 */ beqlr -/* 80317658 003145B8 80 04 00 44 */ lwz r0, 0x44(r4) -/* 8031765C 003145BC 28 00 00 00 */ cmplwi r0, 0 -/* 80317660 003145C0 4D 82 00 20 */ beqlr -/* 80317664 003145C4 38 60 00 01 */ li r3, 1 -/* 80317668 003145C8 4E 80 00 20 */ blr - -.global GetCEXTValue__11CElementGenCFi -GetCEXTValue__11CElementGenCFi: -/* 8031766C 003145CC 54 80 10 3A */ slwi r0, r4, 2 -/* 80317670 003145D0 7C 63 02 14 */ add r3, r3, r0 -/* 80317674 003145D4 C0 23 00 9C */ lfs f1, 0x9c(r3) -/* 80317678 003145D8 4E 80 00 20 */ blr - -.global SetCEXTValue__11CElementGenFif -SetCEXTValue__11CElementGenFif: -/* 8031767C 003145DC 54 80 10 3A */ slwi r0, r4, 2 -/* 80317680 003145E0 7C 63 02 14 */ add r3, r3, r0 -/* 80317684 003145E4 D0 23 00 9C */ stfs f1, 0x9c(r3) -/* 80317688 003145E8 4E 80 00 20 */ blr - -.global GetActiveChildParticle__11CElementGenCFi -GetActiveChildParticle__11CElementGenCFi: -/* 8031768C 003145EC 80 63 02 9C */ lwz r3, 0x29c(r3) -/* 80317690 003145F0 54 80 10 3A */ slwi r0, r4, 2 -/* 80317694 003145F4 7C 63 00 2E */ lwzx r3, r3, r0 -/* 80317698 003145F8 4E 80 00 20 */ blr - -.global GetNumActiveChildParticles__11CElementGenCFv -GetNumActiveChildParticles__11CElementGenCFv: -/* 8031769C 003145FC 80 63 02 94 */ lwz r3, 0x294(r3) -/* 803176A0 00314600 4E 80 00 20 */ blr - -.global Get4CharId__11CElementGenCF -Get4CharId__11CElementGenCF: -/* 803176A4 00314604 3C 60 50 41 */ lis r3, 0x50415254@ha -/* 803176A8 00314608 38 63 52 54 */ addi r3, r3, 0x50415254@l -/* 803176AC 0031460C 4E 80 00 20 */ blr - -.global GetGeneratorRate__11CElementGenCFv -GetGeneratorRate__11CElementGenCFv: -/* 803176B0 00314610 C0 23 00 98 */ lfs f1, 0x98(r3) -/* 803176B4 00314614 4E 80 00 20 */ blr - -.global SetGeneratorRate__11CElementGenFf -SetGeneratorRate__11CElementGenFf: -/* 803176B8 00314618 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 803176BC 0031461C 7C 08 02 A6 */ mflr r0 -/* 803176C0 00314620 FC 40 08 18 */ frsp f2, f1 -/* 803176C4 00314624 90 01 00 24 */ stw r0, 0x24(r1) -/* 803176C8 00314628 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 803176CC 0031462C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 803176D0 00314630 93 A1 00 14 */ stw r29, 0x14(r1) -/* 803176D4 00314634 7C 7D 1B 78 */ mr r29, r3 -/* 803176D8 00314638 C0 0D 9D 10 */ lfs f0, lbl_805A88D0@sda21(r13) -/* 803176DC 0031463C D0 21 00 08 */ stfs f1, 8(r1) -/* 803176E0 00314640 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 803176E4 00314644 40 80 00 0C */ bge lbl_803176F0 -/* 803176E8 00314648 38 6D 9D 10 */ addi r3, r13, lbl_805A88D0@sda21 -/* 803176EC 0031464C 48 00 00 08 */ b lbl_803176F4 -lbl_803176F0: -/* 803176F0 00314650 38 61 00 08 */ addi r3, r1, 8 -lbl_803176F4: -/* 803176F4 00314654 C0 03 00 00 */ lfs f0, 0(r3) -/* 803176F8 00314658 D0 1D 00 98 */ stfs f0, 0x98(r29) -/* 803176FC 0031465C 83 FD 02 9C */ lwz r31, 0x29c(r29) -/* 80317700 00314660 48 00 00 44 */ b lbl_80317744 -lbl_80317704: -/* 80317704 00314664 83 DF 00 00 */ lwz r30, 0(r31) -/* 80317708 00314668 7F C3 F3 78 */ mr r3, r30 -/* 8031770C 0031466C 81 9E 00 00 */ lwz r12, 0(r30) -/* 80317710 00314670 81 8C 00 74 */ lwz r12, 0x74(r12) -/* 80317714 00314674 7D 89 03 A6 */ mtctr r12 -/* 80317718 00314678 4E 80 04 21 */ bctrl -/* 8031771C 0031467C 3C 03 AF BF */ addis r0, r3, 0xafbf -/* 80317720 00314680 28 00 52 54 */ cmplwi r0, 0x5254 -/* 80317724 00314684 40 82 00 1C */ bne lbl_80317740 -/* 80317728 00314688 7F C3 F3 78 */ mr r3, r30 -/* 8031772C 0031468C C0 3D 00 98 */ lfs f1, 0x98(r29) -/* 80317730 00314690 81 9E 00 00 */ lwz r12, 0(r30) -/* 80317734 00314694 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 80317738 00314698 7D 89 03 A6 */ mtctr r12 -/* 8031773C 0031469C 4E 80 04 21 */ bctrl -lbl_80317740: -/* 80317740 003146A0 3B FF 00 04 */ addi r31, r31, 4 -lbl_80317744: -/* 80317744 003146A4 80 1D 02 94 */ lwz r0, 0x294(r29) -/* 80317748 003146A8 80 7D 02 9C */ lwz r3, 0x29c(r29) -/* 8031774C 003146AC 54 00 10 3A */ slwi r0, r0, 2 -/* 80317750 003146B0 7C 03 02 14 */ add r0, r3, r0 -/* 80317754 003146B4 7C 1F 00 40 */ cmplw r31, r0 -/* 80317758 003146B8 40 82 FF AC */ bne lbl_80317704 -/* 8031775C 003146BC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80317760 003146C0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80317764 003146C4 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80317768 003146C8 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8031776C 003146CC 7C 08 03 A6 */ mtlr r0 -/* 80317770 003146D0 38 21 00 20 */ addi r1, r1, 0x20 -/* 80317774 003146D4 4E 80 00 20 */ blr - -.global GetLight__11CElementGenCFv -GetLight__11CElementGenCFv: -/* 80317778 003146D8 94 21 FF 10 */ stwu r1, -0xf0(r1) -/* 8031777C 003146DC 7C 08 02 A6 */ mflr r0 -/* 80317780 003146E0 90 01 00 F4 */ stw r0, 0xf4(r1) -/* 80317784 003146E4 93 E1 00 EC */ stw r31, 0xec(r1) -/* 80317788 003146E8 93 C1 00 E8 */ stw r30, 0xe8(r1) -/* 8031778C 003146EC 7C 9E 23 78 */ mr r30, r4 -/* 80317790 003146F0 93 A1 00 E4 */ stw r29, 0xe4(r1) -/* 80317794 003146F4 7C 7D 1B 78 */ mr r29, r3 -/* 80317798 003146F8 80 04 03 08 */ lwz r0, 0x308(r4) -/* 8031779C 003146FC 2C 00 00 03 */ cmpwi r0, 3 -/* 803177A0 00314700 41 82 00 78 */ beq lbl_80317818 -/* 803177A4 00314704 40 80 01 40 */ bge lbl_803178E4 -/* 803177A8 00314708 2C 00 00 02 */ cmpwi r0, 2 -/* 803177AC 0031470C 40 80 00 08 */ bge lbl_803177B4 -/* 803177B0 00314710 48 00 01 34 */ b lbl_803178E4 -lbl_803177B4: -/* 803177B4 00314714 E0 3E A3 0C */ psq_l f1, 780(r30), 1, qr2 -/* 803177B8 00314718 E0 5E A3 0D */ psq_l f2, 781(r30), 1, qr2 -/* 803177BC 0031471C E0 7E A3 0E */ psq_l f3, 782(r30), 1, qr2 -/* 803177C0 00314720 E0 9E A3 0F */ psq_l f4, 783(r30), 1, qr2 -/* 803177C4 00314724 38 61 00 0C */ addi r3, r1, 0xc -/* 803177C8 00314728 C0 02 C9 EC */ lfs f0, lbl_805AE70C@sda21(r2) -/* 803177CC 0031472C C0 BE 03 10 */ lfs f5, 0x310(r30) -/* 803177D0 00314730 EC 20 00 72 */ fmuls f1, f0, f1 -/* 803177D4 00314734 EC 40 00 B2 */ fmuls f2, f0, f2 -/* 803177D8 00314738 EC 60 00 F2 */ fmuls f3, f0, f3 -/* 803177DC 0031473C EC 00 01 32 */ fmuls f0, f0, f4 -/* 803177E0 00314740 EC 25 00 72 */ fmuls f1, f5, f1 -/* 803177E4 00314744 EC 45 00 B2 */ fmuls f2, f5, f2 -/* 803177E8 00314748 EC 65 00 F2 */ fmuls f3, f5, f3 -/* 803177EC 0031474C EC 85 00 32 */ fmuls f4, f5, f0 -/* 803177F0 00314750 48 04 BB FD */ bl __ct__6CColorFffff -/* 803177F4 00314754 7C 7F 1B 78 */ mr r31, r3 -/* 803177F8 00314758 38 61 00 28 */ addi r3, r1, 0x28 -/* 803177FC 0031475C 38 9E 03 20 */ addi r4, r30, 0x320 -/* 80317800 00314760 4B FF D0 51 */ bl AsNormalized__9CVector3fCFv -/* 80317804 00314764 7F A3 EB 78 */ mr r3, r29 -/* 80317808 00314768 7F E5 FB 78 */ mr r5, r31 -/* 8031780C 0031476C 38 81 00 28 */ addi r4, r1, 0x28 -/* 80317810 00314770 4B FE EC 5D */ bl BuildDirectional__6CLightFRC9CVector3fRC6CColor -/* 80317814 00314774 48 00 01 40 */ b lbl_80317954 -lbl_80317818: -/* 80317818 00314778 E0 3E A3 0C */ psq_l f1, 780(r30), 1, qr2 -/* 8031781C 0031477C E0 5E A3 0D */ psq_l f2, 781(r30), 1, qr2 -/* 80317820 00314780 E0 7E A3 0E */ psq_l f3, 782(r30), 1, qr2 -/* 80317824 00314784 E0 9E A3 0F */ psq_l f4, 783(r30), 1, qr2 -/* 80317828 00314788 38 61 00 08 */ addi r3, r1, 8 -/* 8031782C 0031478C C0 02 C9 EC */ lfs f0, lbl_805AE70C@sda21(r2) -/* 80317830 00314790 C0 BE 03 10 */ lfs f5, 0x310(r30) -/* 80317834 00314794 EC 20 00 72 */ fmuls f1, f0, f1 -/* 80317838 00314798 EC 40 00 B2 */ fmuls f2, f0, f2 -/* 8031783C 0031479C EC 60 00 F2 */ fmuls f3, f0, f3 -/* 80317840 003147A0 EC 00 01 32 */ fmuls f0, f0, f4 -/* 80317844 003147A4 EC 25 00 72 */ fmuls f1, f5, f1 -/* 80317848 003147A8 EC 45 00 B2 */ fmuls f2, f5, f2 -/* 8031784C 003147AC EC 65 00 F2 */ fmuls f3, f5, f3 -/* 80317850 003147B0 EC 85 00 32 */ fmuls f4, f5, f0 -/* 80317854 003147B4 48 04 BB 99 */ bl __ct__6CColorFffff -/* 80317858 003147B8 7C 7F 1B 78 */ mr r31, r3 -/* 8031785C 003147BC 38 61 00 1C */ addi r3, r1, 0x1c -/* 80317860 003147C0 38 9E 03 20 */ addi r4, r30, 0x320 -/* 80317864 003147C4 4B FF CF ED */ bl AsNormalized__9CVector3fCFv -/* 80317868 003147C8 C0 3E 03 34 */ lfs f1, 0x334(r30) -/* 8031786C 003147CC 7F E6 FB 78 */ mr r6, r31 -/* 80317870 003147D0 38 61 00 34 */ addi r3, r1, 0x34 -/* 80317874 003147D4 38 9E 03 14 */ addi r4, r30, 0x314 -/* 80317878 003147D8 38 A1 00 1C */ addi r5, r1, 0x1c -/* 8031787C 003147DC 4B FE EB 81 */ bl BuildSpot__6CLightFRC9CVector3fRC9CVector3fRC6CColorf -/* 80317880 003147E0 38 61 00 84 */ addi r3, r1, 0x84 -/* 80317884 003147E4 38 81 00 34 */ addi r4, r1, 0x34 -/* 80317888 003147E8 4B D2 3C E9 */ bl __ct__6CLightFCR6CLight -/* 8031788C 003147EC 80 1E 03 2C */ lwz r0, 0x32c(r30) -/* 80317890 003147F0 2C 00 00 02 */ cmpwi r0, 2 -/* 80317894 003147F4 40 82 00 0C */ bne lbl_803178A0 -/* 80317898 003147F8 C0 7E 03 30 */ lfs f3, 0x330(r30) -/* 8031789C 003147FC 48 00 00 08 */ b lbl_803178A4 -lbl_803178A0: -/* 803178A0 00314800 C0 62 C9 E8 */ lfs f3, lbl_805AE708@sda21(r2) -lbl_803178A4: -/* 803178A4 00314804 2C 00 00 01 */ cmpwi r0, 1 -/* 803178A8 00314808 40 82 00 0C */ bne lbl_803178B4 -/* 803178AC 0031480C C0 5E 03 30 */ lfs f2, 0x330(r30) -/* 803178B0 00314810 48 00 00 08 */ b lbl_803178B8 -lbl_803178B4: -/* 803178B4 00314814 C0 42 C9 E8 */ lfs f2, lbl_805AE708@sda21(r2) -lbl_803178B8: -/* 803178B8 00314818 2C 00 00 00 */ cmpwi r0, 0 -/* 803178BC 0031481C 38 61 00 84 */ addi r3, r1, 0x84 -/* 803178C0 00314820 40 82 00 0C */ bne lbl_803178CC -/* 803178C4 00314824 C0 22 C9 F0 */ lfs f1, lbl_805AE710@sda21(r2) -/* 803178C8 00314828 48 00 00 08 */ b lbl_803178D0 -lbl_803178CC: -/* 803178CC 0031482C C0 22 C9 E8 */ lfs f1, lbl_805AE708@sda21(r2) -lbl_803178D0: -/* 803178D0 00314830 4B FE EA E1 */ bl SetAttenuation__6CLightFfff -/* 803178D4 00314834 7F A3 EB 78 */ mr r3, r29 -/* 803178D8 00314838 38 81 00 84 */ addi r4, r1, 0x84 -/* 803178DC 0031483C 4B D2 3C 95 */ bl __ct__6CLightFCR6CLight -/* 803178E0 00314840 48 00 00 74 */ b lbl_80317954 -lbl_803178E4: -/* 803178E4 00314844 80 1E 03 2C */ lwz r0, 0x32c(r30) -/* 803178E8 00314848 2C 00 00 02 */ cmpwi r0, 2 -/* 803178EC 0031484C 40 82 00 0C */ bne lbl_803178F8 -/* 803178F0 00314850 C0 7E 03 30 */ lfs f3, 0x330(r30) -/* 803178F4 00314854 48 00 00 08 */ b lbl_803178FC -lbl_803178F8: -/* 803178F8 00314858 C0 62 C9 E8 */ lfs f3, lbl_805AE708@sda21(r2) -lbl_803178FC: -/* 803178FC 0031485C 2C 00 00 01 */ cmpwi r0, 1 -/* 80317900 00314860 40 82 00 0C */ bne lbl_8031790C -/* 80317904 00314864 C0 5E 03 30 */ lfs f2, 0x330(r30) -/* 80317908 00314868 48 00 00 08 */ b lbl_80317910 -lbl_8031790C: -/* 8031790C 0031486C C0 42 C9 E8 */ lfs f2, lbl_805AE708@sda21(r2) -lbl_80317910: -/* 80317910 00314870 2C 00 00 00 */ cmpwi r0, 0 -/* 80317914 00314874 40 82 00 0C */ bne lbl_80317920 -/* 80317918 00314878 C0 22 C9 F0 */ lfs f1, lbl_805AE710@sda21(r2) -/* 8031791C 0031487C 48 00 00 08 */ b lbl_80317924 -lbl_80317920: -/* 80317920 00314880 C0 22 C9 E8 */ lfs f1, lbl_805AE708@sda21(r2) -lbl_80317924: -/* 80317924 00314884 C0 A2 C9 E8 */ lfs f5, lbl_805AE708@sda21(r2) -/* 80317928 00314888 7F A3 EB 78 */ mr r3, r29 -/* 8031792C 0031488C C0 02 C9 F0 */ lfs f0, lbl_805AE710@sda21(r2) -/* 80317930 00314890 38 9E 03 14 */ addi r4, r30, 0x314 -/* 80317934 00314894 FC C0 28 90 */ fmr f6, f5 -/* 80317938 00314898 D0 A1 00 14 */ stfs f5, 0x14(r1) -/* 8031793C 0031489C C0 9E 03 10 */ lfs f4, 0x310(r30) -/* 80317940 003148A0 38 A1 00 10 */ addi r5, r1, 0x10 -/* 80317944 003148A4 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 80317948 003148A8 38 DE 03 0C */ addi r6, r30, 0x30c -/* 8031794C 003148AC D0 A1 00 18 */ stfs f5, 0x18(r1) -/* 80317950 003148B0 4B FE EA 8D */ bl BuildCustom__6CLightFRC9CVector3fRC9CVector3fRC6CColorffffff -lbl_80317954: -/* 80317954 003148B4 80 01 00 F4 */ lwz r0, 0xf4(r1) -/* 80317958 003148B8 83 E1 00 EC */ lwz r31, 0xec(r1) -/* 8031795C 003148BC 83 C1 00 E8 */ lwz r30, 0xe8(r1) -/* 80317960 003148C0 83 A1 00 E4 */ lwz r29, 0xe4(r1) -/* 80317964 003148C4 7C 08 03 A6 */ mtlr r0 -/* 80317968 003148C8 38 21 00 F0 */ addi r1, r1, 0xf0 -/* 8031796C 003148CC 4E 80 00 20 */ blr - -.global SystemHasLight__11CElementGenCFv -SystemHasLight__11CElementGenCFv: -/* 80317970 003148D0 80 63 03 08 */ lwz r3, 0x308(r3) -/* 80317974 003148D4 7C 03 00 D0 */ neg r0, r3 -/* 80317978 003148D8 7C 00 1B 78 */ or r0, r0, r3 -/* 8031797C 003148DC 54 03 0F FE */ srwi r3, r0, 0x1f -/* 80317980 003148E0 4E 80 00 20 */ blr - -.global GetEmitterTime__11CElementGenFv -GetEmitterTime__11CElementGenFv: -/* 80317984 003148E4 80 63 00 74 */ lwz r3, 0x74(r3) -/* 80317988 003148E8 4E 80 00 20 */ blr - -.global GetBounds__11CElementGenCFv -GetBounds__11CElementGenCFv: -/* 8031798C 003148EC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80317990 003148F0 7C 08 02 A6 */ mflr r0 -/* 80317994 003148F4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80317998 003148F8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8031799C 003148FC 7C 9F 23 78 */ mr r31, r4 -/* 803179A0 00314900 93 C1 00 08 */ stw r30, 8(r1) -/* 803179A4 00314904 7C 7E 1B 78 */ mr r30, r3 -/* 803179A8 00314908 7F E3 FB 78 */ mr r3, r31 -/* 803179AC 0031490C 48 00 05 41 */ bl GetParticleCountAll__11CElementGenCFv -/* 803179B0 00314910 2C 03 00 00 */ cmpwi r3, 0 -/* 803179B4 00314914 41 81 00 10 */ bgt lbl_803179C4 -/* 803179B8 00314918 38 00 00 00 */ li r0, 0 -/* 803179BC 0031491C 98 1E 00 18 */ stb r0, 0x18(r30) -/* 803179C0 00314920 48 00 00 44 */ b lbl_80317A04 -lbl_803179C4: -/* 803179C4 00314924 38 00 00 01 */ li r0, 1 -/* 803179C8 00314928 28 1E 00 00 */ cmplwi r30, 0 -/* 803179CC 0031492C 98 1E 00 18 */ stb r0, 0x18(r30) -/* 803179D0 00314930 41 82 00 34 */ beq lbl_80317A04 -/* 803179D4 00314934 C0 1F 02 F0 */ lfs f0, 0x2f0(r31) -/* 803179D8 00314938 D0 1E 00 00 */ stfs f0, 0(r30) -/* 803179DC 0031493C C0 1F 02 F4 */ lfs f0, 0x2f4(r31) -/* 803179E0 00314940 D0 1E 00 04 */ stfs f0, 4(r30) -/* 803179E4 00314944 C0 1F 02 F8 */ lfs f0, 0x2f8(r31) -/* 803179E8 00314948 D0 1E 00 08 */ stfs f0, 8(r30) -/* 803179EC 0031494C C0 1F 02 FC */ lfs f0, 0x2fc(r31) -/* 803179F0 00314950 D0 1E 00 0C */ stfs f0, 0xc(r30) -/* 803179F4 00314954 C0 1F 03 00 */ lfs f0, 0x300(r31) -/* 803179F8 00314958 D0 1E 00 10 */ stfs f0, 0x10(r30) -/* 803179FC 0031495C C0 1F 03 04 */ lfs f0, 0x304(r31) -/* 80317A00 00314960 D0 1E 00 14 */ stfs f0, 0x14(r30) -lbl_80317A04: -/* 80317A04 00314964 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80317A08 00314968 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80317A0C 0031496C 83 C1 00 08 */ lwz r30, 8(r1) -/* 80317A10 00314970 7C 08 03 A6 */ mtlr r0 -/* 80317A14 00314974 38 21 00 10 */ addi r1, r1, 0x10 -/* 80317A18 00314978 4E 80 00 20 */ blr - -.global BuildParticleSystemBounds__11CElementGenFv -BuildParticleSystemBounds__11CElementGenFv: -/* 80317A1C 0031497C 94 21 FE 80 */ stwu r1, -0x180(r1) -/* 80317A20 00314980 7C 08 02 A6 */ mflr r0 -/* 80317A24 00314984 90 01 01 84 */ stw r0, 0x184(r1) -/* 80317A28 00314988 DB E1 01 70 */ stfd f31, 0x170(r1) -/* 80317A2C 0031498C F3 E1 01 78 */ psq_st f31, 376(r1), 0, qr0 -/* 80317A30 00314990 DB C1 01 60 */ stfd f30, 0x160(r1) -/* 80317A34 00314994 F3 C1 01 68 */ psq_st f30, 360(r1), 0, qr0 -/* 80317A38 00314998 DB A1 01 50 */ stfd f29, 0x150(r1) -/* 80317A3C 0031499C F3 A1 01 58 */ psq_st f29, 344(r1), 0, qr0 -/* 80317A40 003149A0 BF 41 01 38 */ stmw r26, 0x138(r1) -/* 80317A44 003149A4 3C 80 80 5A */ lis r4, lbl_805A6754@ha -/* 80317A48 003149A8 7C 7C 1B 78 */ mr r28, r3 -/* 80317A4C 003149AC 3B E4 67 54 */ addi r31, r4, lbl_805A6754@l -/* 80317A50 003149B0 3B C1 00 C4 */ addi r30, r1, 0xc4 -/* 80317A54 003149B4 C0 BF 00 00 */ lfs f5, 0(r31) -/* 80317A58 003149B8 3B A0 00 00 */ li r29, 0 -/* 80317A5C 003149BC C0 9F 00 04 */ lfs f4, 4(r31) -/* 80317A60 003149C0 C0 7F 00 08 */ lfs f3, 8(r31) -/* 80317A64 003149C4 C0 5F 00 0C */ lfs f2, 0xc(r31) -/* 80317A68 003149C8 C0 3F 00 10 */ lfs f1, 0x10(r31) -/* 80317A6C 003149CC C0 1F 00 14 */ lfs f0, 0x14(r31) -/* 80317A70 003149D0 D0 A1 00 B8 */ stfs f5, 0xb8(r1) -/* 80317A74 003149D4 D0 81 00 BC */ stfs f4, 0xbc(r1) -/* 80317A78 003149D8 D0 61 00 C0 */ stfs f3, 0xc0(r1) -/* 80317A7C 003149DC D0 41 00 C4 */ stfs f2, 0xc4(r1) -/* 80317A80 003149E0 D0 21 00 C8 */ stfs f1, 0xc8(r1) -/* 80317A84 003149E4 D0 01 00 CC */ stfs f0, 0xcc(r1) -/* 80317A88 003149E8 83 43 02 9C */ lwz r26, 0x29c(r3) -/* 80317A8C 003149EC 48 00 00 A4 */ b lbl_80317B30 -lbl_80317A90: -/* 80317A90 003149F0 80 9A 00 00 */ lwz r4, 0(r26) -/* 80317A94 003149F4 38 61 00 80 */ addi r3, r1, 0x80 -/* 80317A98 003149F8 81 84 00 00 */ lwz r12, 0(r4) -/* 80317A9C 003149FC 81 8C 00 5C */ lwz r12, 0x5c(r12) -/* 80317AA0 00314A00 7D 89 03 A6 */ mtctr r12 -/* 80317AA4 00314A04 4E 80 04 21 */ bctrl -/* 80317AA8 00314A08 88 01 00 98 */ lbz r0, 0x98(r1) -/* 80317AAC 00314A0C 28 00 00 00 */ cmplwi r0, 0 -/* 80317AB0 00314A10 98 01 00 B4 */ stb r0, 0xb4(r1) -/* 80317AB4 00314A14 41 82 00 3C */ beq lbl_80317AF0 -/* 80317AB8 00314A18 34 61 00 9C */ addic. r3, r1, 0x9c -/* 80317ABC 00314A1C 41 82 00 34 */ beq lbl_80317AF0 -/* 80317AC0 00314A20 C0 01 00 80 */ lfs f0, 0x80(r1) -/* 80317AC4 00314A24 D0 03 00 00 */ stfs f0, 0(r3) -/* 80317AC8 00314A28 C0 01 00 84 */ lfs f0, 0x84(r1) -/* 80317ACC 00314A2C D0 03 00 04 */ stfs f0, 4(r3) -/* 80317AD0 00314A30 C0 01 00 88 */ lfs f0, 0x88(r1) -/* 80317AD4 00314A34 D0 03 00 08 */ stfs f0, 8(r3) -/* 80317AD8 00314A38 C0 01 00 8C */ lfs f0, 0x8c(r1) -/* 80317ADC 00314A3C D0 03 00 0C */ stfs f0, 0xc(r3) -/* 80317AE0 00314A40 C0 01 00 90 */ lfs f0, 0x90(r1) -/* 80317AE4 00314A44 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 80317AE8 00314A48 C0 01 00 94 */ lfs f0, 0x94(r1) -/* 80317AEC 00314A4C D0 03 00 14 */ stfs f0, 0x14(r3) -lbl_80317AF0: -/* 80317AF0 00314A50 88 01 00 B4 */ lbz r0, 0xb4(r1) -/* 80317AF4 00314A54 38 60 00 00 */ li r3, 0 -/* 80317AF8 00314A58 98 61 00 98 */ stb r3, 0x98(r1) -/* 80317AFC 00314A5C 28 00 00 00 */ cmplwi r0, 0 -/* 80317B00 00314A60 41 82 00 24 */ beq lbl_80317B24 -/* 80317B04 00314A64 3B 61 00 9C */ addi r27, r1, 0x9c -/* 80317B08 00314A68 38 61 00 B8 */ addi r3, r1, 0xb8 -/* 80317B0C 00314A6C 7F 64 DB 78 */ mr r4, r27 -/* 80317B10 00314A70 3B A0 00 01 */ li r29, 1 -/* 80317B14 00314A74 48 01 FF F5 */ bl AccumulateBounds__6CAABoxFRC9CVector3f -/* 80317B18 00314A78 38 61 00 B8 */ addi r3, r1, 0xb8 -/* 80317B1C 00314A7C 38 9B 00 0C */ addi r4, r27, 0xc -/* 80317B20 00314A80 48 01 FF E9 */ bl AccumulateBounds__6CAABoxFRC9CVector3f -lbl_80317B24: -/* 80317B24 00314A84 38 00 00 00 */ li r0, 0 -/* 80317B28 00314A88 3B 5A 00 04 */ addi r26, r26, 4 -/* 80317B2C 00314A8C 98 01 00 B4 */ stb r0, 0xb4(r1) -lbl_80317B30: -/* 80317B30 00314A90 80 1C 02 94 */ lwz r0, 0x294(r28) -/* 80317B34 00314A94 80 7C 02 9C */ lwz r3, 0x29c(r28) -/* 80317B38 00314A98 54 00 10 3A */ slwi r0, r0, 2 -/* 80317B3C 00314A9C 7C 03 02 14 */ add r0, r3, r0 -/* 80317B40 00314AA0 7C 1A 00 40 */ cmplw r26, r0 -/* 80317B44 00314AA4 40 82 FF 4C */ bne lbl_80317A90 -/* 80317B48 00314AA8 7F 83 E3 78 */ mr r3, r28 -/* 80317B4C 00314AAC 48 00 03 05 */ bl GetParticleCountAllInternal__11CElementGenCFv -/* 80317B50 00314AB0 90 7C 02 64 */ stw r3, 0x264(r28) -/* 80317B54 00314AB4 7F 83 E3 78 */ mr r3, r28 -/* 80317B58 00314AB8 81 9C 00 00 */ lwz r12, 0(r28) -/* 80317B5C 00314ABC 81 8C 00 60 */ lwz r12, 0x60(r12) -/* 80317B60 00314AC0 7D 89 03 A6 */ mtctr r12 -/* 80317B64 00314AC4 4E 80 04 21 */ bctrl -/* 80317B68 00314AC8 2C 03 00 00 */ cmpwi r3, 0 -/* 80317B6C 00314ACC 40 81 01 28 */ ble lbl_80317C94 -/* 80317B70 00314AD0 C0 7C 02 EC */ lfs f3, 0x2ec(r28) -/* 80317B74 00314AD4 38 61 00 D0 */ addi r3, r1, 0xd0 -/* 80317B78 00314AD8 C0 5C 01 08 */ lfs f2, 0x108(r28) -/* 80317B7C 00314ADC 38 9C 01 0C */ addi r4, r28, 0x10c -/* 80317B80 00314AE0 C0 3C 01 04 */ lfs f1, 0x104(r28) -/* 80317B84 00314AE4 38 BC 02 2C */ addi r5, r28, 0x22c -/* 80317B88 00314AE8 C0 1C 01 00 */ lfs f0, 0x100(r28) -/* 80317B8C 00314AEC EF A3 00 B2 */ fmuls f29, f3, f2 -/* 80317B90 00314AF0 EF C3 00 72 */ fmuls f30, f3, f1 -/* 80317B94 00314AF4 EF E3 00 32 */ fmuls f31, f3, f0 -/* 80317B98 00314AF8 4B FF AD B9 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 80317B9C 00314AFC 38 61 01 00 */ addi r3, r1, 0x100 -/* 80317BA0 00314B00 38 81 00 D0 */ addi r4, r1, 0xd0 -/* 80317BA4 00314B04 38 BC 01 78 */ addi r5, r28, 0x178 -/* 80317BA8 00314B08 4B FF AD A9 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 80317BAC 00314B0C 38 61 00 50 */ addi r3, r1, 0x50 -/* 80317BB0 00314B10 38 9C 02 D4 */ addi r4, r28, 0x2d4 -/* 80317BB4 00314B14 38 BC 02 E0 */ addi r5, r28, 0x2e0 -/* 80317BB8 00314B18 48 02 09 51 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 80317BBC 00314B1C 7C 64 1B 78 */ mr r4, r3 -/* 80317BC0 00314B20 38 61 00 68 */ addi r3, r1, 0x68 -/* 80317BC4 00314B24 38 A1 01 00 */ addi r5, r1, 0x100 -/* 80317BC8 00314B28 48 01 FD 35 */ bl GetTransformedAABox__6CAABoxCFRC12CTransform4f -/* 80317BCC 00314B2C C0 41 00 6C */ lfs f2, 0x6c(r1) -/* 80317BD0 00314B30 38 61 00 38 */ addi r3, r1, 0x38 -/* 80317BD4 00314B34 C0 1C 00 EC */ lfs f0, 0xec(r28) -/* 80317BD8 00314B38 38 81 00 2C */ addi r4, r1, 0x2c -/* 80317BDC 00314B3C C0 21 00 78 */ lfs f1, 0x78(r1) -/* 80317BE0 00314B40 38 A1 00 14 */ addi r5, r1, 0x14 -/* 80317BE4 00314B44 EC A2 00 2A */ fadds f5, f2, f0 -/* 80317BE8 00314B48 C0 41 00 70 */ lfs f2, 0x70(r1) -/* 80317BEC 00314B4C EC C1 00 2A */ fadds f6, f1, f0 -/* 80317BF0 00314B50 C0 1C 00 F0 */ lfs f0, 0xf0(r28) -/* 80317BF4 00314B54 C0 21 00 7C */ lfs f1, 0x7c(r1) -/* 80317BF8 00314B58 EC 82 00 2A */ fadds f4, f2, f0 -/* 80317BFC 00314B5C EC E1 00 2A */ fadds f7, f1, f0 -/* 80317C00 00314B60 C0 41 00 74 */ lfs f2, 0x74(r1) -/* 80317C04 00314B64 C0 3C 00 E8 */ lfs f1, 0xe8(r28) -/* 80317C08 00314B68 ED 26 F0 2A */ fadds f9, f6, f30 -/* 80317C0C 00314B6C C0 01 00 68 */ lfs f0, 0x68(r1) -/* 80317C10 00314B70 EC 62 08 2A */ fadds f3, f2, f1 -/* 80317C14 00314B74 EC 20 08 2A */ fadds f1, f0, f1 -/* 80317C18 00314B78 D0 C1 00 0C */ stfs f6, 0xc(r1) -/* 80317C1C 00314B7C ED 07 E8 2A */ fadds f8, f7, f29 -/* 80317C20 00314B80 EC 43 F8 2A */ fadds f2, f3, f31 -/* 80317C24 00314B84 D0 61 00 08 */ stfs f3, 8(r1) -/* 80317C28 00314B88 EC C5 F0 28 */ fsubs f6, f5, f30 -/* 80317C2C 00314B8C EC 64 E8 28 */ fsubs f3, f4, f29 -/* 80317C30 00314B90 D0 E1 00 10 */ stfs f7, 0x10(r1) -/* 80317C34 00314B94 EC 01 F8 28 */ fsubs f0, f1, f31 -/* 80317C38 00314B98 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 80317C3C 00314B9C D1 21 00 18 */ stfs f9, 0x18(r1) -/* 80317C40 00314BA0 D1 01 00 1C */ stfs f8, 0x1c(r1) -/* 80317C44 00314BA4 D0 21 00 20 */ stfs f1, 0x20(r1) -/* 80317C48 00314BA8 D0 A1 00 24 */ stfs f5, 0x24(r1) -/* 80317C4C 00314BAC D0 81 00 28 */ stfs f4, 0x28(r1) -/* 80317C50 00314BB0 D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 80317C54 00314BB4 D0 C1 00 30 */ stfs f6, 0x30(r1) -/* 80317C58 00314BB8 D0 61 00 34 */ stfs f3, 0x34(r1) -/* 80317C5C 00314BBC 48 02 08 AD */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 80317C60 00314BC0 80 61 00 38 */ lwz r3, 0x38(r1) -/* 80317C64 00314BC4 80 01 00 3C */ lwz r0, 0x3c(r1) -/* 80317C68 00314BC8 90 7C 02 F0 */ stw r3, 0x2f0(r28) -/* 80317C6C 00314BCC 90 1C 02 F4 */ stw r0, 0x2f4(r28) -/* 80317C70 00314BD0 80 01 00 40 */ lwz r0, 0x40(r1) -/* 80317C74 00314BD4 90 1C 02 F8 */ stw r0, 0x2f8(r28) -/* 80317C78 00314BD8 80 61 00 44 */ lwz r3, 0x44(r1) -/* 80317C7C 00314BDC 80 01 00 48 */ lwz r0, 0x48(r1) -/* 80317C80 00314BE0 90 7C 02 FC */ stw r3, 0x2fc(r28) -/* 80317C84 00314BE4 90 1C 03 00 */ stw r0, 0x300(r28) -/* 80317C88 00314BE8 80 01 00 4C */ lwz r0, 0x4c(r1) -/* 80317C8C 00314BEC 90 1C 03 04 */ stw r0, 0x304(r28) -/* 80317C90 00314BF0 48 00 00 3C */ b lbl_80317CCC -lbl_80317C94: -/* 80317C94 00314BF4 3C 60 80 5A */ lis r3, lbl_805A6754@ha -/* 80317C98 00314BF8 38 83 67 54 */ addi r4, r3, lbl_805A6754@l -/* 80317C9C 00314BFC 80 64 00 00 */ lwz r3, 0(r4) -/* 80317CA0 00314C00 80 04 00 04 */ lwz r0, 4(r4) -/* 80317CA4 00314C04 90 7C 02 F0 */ stw r3, 0x2f0(r28) -/* 80317CA8 00314C08 90 1C 02 F4 */ stw r0, 0x2f4(r28) -/* 80317CAC 00314C0C 80 04 00 08 */ lwz r0, 8(r4) -/* 80317CB0 00314C10 90 1C 02 F8 */ stw r0, 0x2f8(r28) -/* 80317CB4 00314C14 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 80317CB8 00314C18 80 1F 00 10 */ lwz r0, 0x10(r31) -/* 80317CBC 00314C1C 90 7C 02 FC */ stw r3, 0x2fc(r28) -/* 80317CC0 00314C20 90 1C 03 00 */ stw r0, 0x300(r28) -/* 80317CC4 00314C24 80 1F 00 14 */ lwz r0, 0x14(r31) -/* 80317CC8 00314C28 90 1C 03 04 */ stw r0, 0x304(r28) -lbl_80317CCC: -/* 80317CCC 00314C2C 57 A0 06 3F */ clrlwi. r0, r29, 0x18 -/* 80317CD0 00314C30 41 82 00 1C */ beq lbl_80317CEC -/* 80317CD4 00314C34 38 7C 02 F0 */ addi r3, r28, 0x2f0 -/* 80317CD8 00314C38 38 81 00 B8 */ addi r4, r1, 0xb8 -/* 80317CDC 00314C3C 48 01 FE 2D */ bl AccumulateBounds__6CAABoxFRC9CVector3f -/* 80317CE0 00314C40 7F C4 F3 78 */ mr r4, r30 -/* 80317CE4 00314C44 38 7C 02 F0 */ addi r3, r28, 0x2f0 -/* 80317CE8 00314C48 48 01 FE 21 */ bl AccumulateBounds__6CAABoxFRC9CVector3f -lbl_80317CEC: -/* 80317CEC 00314C4C E3 E1 01 78 */ psq_l f31, 376(r1), 0, qr0 -/* 80317CF0 00314C50 CB E1 01 70 */ lfd f31, 0x170(r1) -/* 80317CF4 00314C54 E3 C1 01 68 */ psq_l f30, 360(r1), 0, qr0 -/* 80317CF8 00314C58 CB C1 01 60 */ lfd f30, 0x160(r1) -/* 80317CFC 00314C5C E3 A1 01 58 */ psq_l f29, 344(r1), 0, qr0 -/* 80317D00 00314C60 CB A1 01 50 */ lfd f29, 0x150(r1) -/* 80317D04 00314C64 BB 41 01 38 */ lmw r26, 0x138(r1) -/* 80317D08 00314C68 80 01 01 84 */ lwz r0, 0x184(r1) -/* 80317D0C 00314C6C 7C 08 03 A6 */ mtlr r0 -/* 80317D10 00314C70 38 21 01 80 */ addi r1, r1, 0x180 -/* 80317D14 00314C74 4E 80 00 20 */ blr - -.global AccumulateBounds__11CElementGenFRC9CVector3ff -AccumulateBounds__11CElementGenFRC9CVector3ff: -/* 80317D18 00314C78 C0 44 00 00 */ lfs f2, 0(r4) -/* 80317D1C 00314C7C C0 03 02 E0 */ lfs f0, 0x2e0(r3) -/* 80317D20 00314C80 C0 64 00 04 */ lfs f3, 4(r4) -/* 80317D24 00314C84 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80317D28 00314C88 C0 84 00 08 */ lfs f4, 8(r4) -/* 80317D2C 00314C8C 40 81 00 08 */ ble lbl_80317D34 -/* 80317D30 00314C90 D0 43 02 E0 */ stfs f2, 0x2e0(r3) -lbl_80317D34: -/* 80317D34 00314C94 C0 03 02 D4 */ lfs f0, 0x2d4(r3) -/* 80317D38 00314C98 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80317D3C 00314C9C 40 80 00 08 */ bge lbl_80317D44 -/* 80317D40 00314CA0 D0 43 02 D4 */ stfs f2, 0x2d4(r3) -lbl_80317D44: -/* 80317D44 00314CA4 C0 03 02 E4 */ lfs f0, 0x2e4(r3) -/* 80317D48 00314CA8 FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 80317D4C 00314CAC 40 81 00 08 */ ble lbl_80317D54 -/* 80317D50 00314CB0 D0 63 02 E4 */ stfs f3, 0x2e4(r3) -lbl_80317D54: -/* 80317D54 00314CB4 C0 03 02 D8 */ lfs f0, 0x2d8(r3) -/* 80317D58 00314CB8 FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 80317D5C 00314CBC 40 80 00 08 */ bge lbl_80317D64 -/* 80317D60 00314CC0 D0 63 02 D8 */ stfs f3, 0x2d8(r3) -lbl_80317D64: -/* 80317D64 00314CC4 C0 03 02 E8 */ lfs f0, 0x2e8(r3) -/* 80317D68 00314CC8 FC 04 00 40 */ fcmpo cr0, f4, f0 -/* 80317D6C 00314CCC 40 81 00 08 */ ble lbl_80317D74 -/* 80317D70 00314CD0 D0 83 02 E8 */ stfs f4, 0x2e8(r3) -lbl_80317D74: -/* 80317D74 00314CD4 C0 03 02 DC */ lfs f0, 0x2dc(r3) -/* 80317D78 00314CD8 FC 04 00 40 */ fcmpo cr0, f4, f0 -/* 80317D7C 00314CDC 40 80 00 08 */ bge lbl_80317D84 -/* 80317D80 00314CE0 D0 83 02 DC */ stfs f4, 0x2dc(r3) -lbl_80317D84: -/* 80317D84 00314CE4 C0 03 02 EC */ lfs f0, 0x2ec(r3) -/* 80317D88 00314CE8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80317D8C 00314CEC 4C 81 00 20 */ blelr -/* 80317D90 00314CF0 D0 23 02 EC */ stfs f1, 0x2ec(r3) -/* 80317D94 00314CF4 4E 80 00 20 */ blr - -.global GetSystemCount__11CElementGenFv -GetSystemCount__11CElementGenFv: -/* 80317D98 00314CF8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80317D9C 00314CFC 7C 08 02 A6 */ mflr r0 -/* 80317DA0 00314D00 90 01 00 24 */ stw r0, 0x24(r1) -/* 80317DA4 00314D04 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80317DA8 00314D08 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80317DAC 00314D0C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80317DB0 00314D10 93 81 00 10 */ stw r28, 0x10(r1) -/* 80317DB4 00314D14 7C 7C 1B 78 */ mr r28, r3 -/* 80317DB8 00314D18 80 63 02 5C */ lwz r3, 0x25c(r3) -/* 80317DBC 00314D1C 83 FC 02 9C */ lwz r31, 0x29c(r28) -/* 80317DC0 00314D20 7C 03 00 D0 */ neg r0, r3 -/* 80317DC4 00314D24 7C 00 18 78 */ andc r0, r0, r3 -/* 80317DC8 00314D28 54 00 0F FE */ srwi r0, r0, 0x1f -/* 80317DCC 00314D2C 7C 1E 03 78 */ mr r30, r0 -/* 80317DD0 00314D30 48 00 00 44 */ b lbl_80317E14 -lbl_80317DD4: -/* 80317DD4 00314D34 83 BF 00 00 */ lwz r29, 0(r31) -/* 80317DD8 00314D38 7F A3 EB 78 */ mr r3, r29 -/* 80317DDC 00314D3C 81 9D 00 00 */ lwz r12, 0(r29) -/* 80317DE0 00314D40 81 8C 00 74 */ lwz r12, 0x74(r12) -/* 80317DE4 00314D44 7D 89 03 A6 */ mtctr r12 -/* 80317DE8 00314D48 4E 80 04 21 */ bctrl -/* 80317DEC 00314D4C 3C 03 AF BF */ addis r0, r3, 0xafbf -/* 80317DF0 00314D50 28 00 52 54 */ cmplwi r0, 0x5254 -/* 80317DF4 00314D54 40 82 00 14 */ bne lbl_80317E08 -/* 80317DF8 00314D58 7F A3 EB 78 */ mr r3, r29 -/* 80317DFC 00314D5C 4B FF FF 9D */ bl GetSystemCount__11CElementGenFv -/* 80317E00 00314D60 7C 1E 1A 14 */ add r0, r30, r3 -/* 80317E04 00314D64 48 00 00 08 */ b lbl_80317E0C -lbl_80317E08: -/* 80317E08 00314D68 38 1E 00 01 */ addi r0, r30, 1 -lbl_80317E0C: -/* 80317E0C 00314D6C 7C 1E 03 78 */ mr r30, r0 -/* 80317E10 00314D70 3B FF 00 04 */ addi r31, r31, 4 -lbl_80317E14: -/* 80317E14 00314D74 80 1C 02 94 */ lwz r0, 0x294(r28) -/* 80317E18 00314D78 80 7C 02 9C */ lwz r3, 0x29c(r28) -/* 80317E1C 00314D7C 54 00 10 3A */ slwi r0, r0, 2 -/* 80317E20 00314D80 7C 03 02 14 */ add r0, r3, r0 -/* 80317E24 00314D84 7C 1F 00 40 */ cmplw r31, r0 -/* 80317E28 00314D88 40 82 FF AC */ bne lbl_80317DD4 -/* 80317E2C 00314D8C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80317E30 00314D90 7F C3 F3 78 */ mr r3, r30 -/* 80317E34 00314D94 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80317E38 00314D98 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80317E3C 00314D9C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80317E40 00314DA0 83 81 00 10 */ lwz r28, 0x10(r1) -/* 80317E44 00314DA4 7C 08 03 A6 */ mtlr r0 -/* 80317E48 00314DA8 38 21 00 20 */ addi r1, r1, 0x20 -/* 80317E4C 00314DAC 4E 80 00 20 */ blr - -.global GetParticleCountAllInternal__11CElementGenCFv -GetParticleCountAllInternal__11CElementGenCFv: -/* 80317E50 00314DB0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80317E54 00314DB4 7C 08 02 A6 */ mflr r0 -/* 80317E58 00314DB8 90 01 00 24 */ stw r0, 0x24(r1) -/* 80317E5C 00314DBC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80317E60 00314DC0 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80317E64 00314DC4 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80317E68 00314DC8 93 81 00 10 */ stw r28, 0x10(r1) -/* 80317E6C 00314DCC 7C 7C 1B 78 */ mr r28, r3 -/* 80317E70 00314DD0 83 C3 02 5C */ lwz r30, 0x25c(r3) -/* 80317E74 00314DD4 83 E3 02 9C */ lwz r31, 0x29c(r3) -/* 80317E78 00314DD8 48 00 00 38 */ b lbl_80317EB0 -lbl_80317E7C: -/* 80317E7C 00314DDC 83 BF 00 00 */ lwz r29, 0(r31) -/* 80317E80 00314DE0 7F A3 EB 78 */ mr r3, r29 -/* 80317E84 00314DE4 81 9D 00 00 */ lwz r12, 0(r29) -/* 80317E88 00314DE8 81 8C 00 74 */ lwz r12, 0x74(r12) -/* 80317E8C 00314DEC 7D 89 03 A6 */ mtctr r12 -/* 80317E90 00314DF0 4E 80 04 21 */ bctrl -/* 80317E94 00314DF4 3C 03 AF BF */ addis r0, r3, 0xafbf -/* 80317E98 00314DF8 28 00 52 54 */ cmplwi r0, 0x5254 -/* 80317E9C 00314DFC 40 82 00 10 */ bne lbl_80317EAC -/* 80317EA0 00314E00 7F A3 EB 78 */ mr r3, r29 -/* 80317EA4 00314E04 48 00 00 49 */ bl GetParticleCountAll__11CElementGenCFv -/* 80317EA8 00314E08 7F DE 1A 14 */ add r30, r30, r3 -lbl_80317EAC: -/* 80317EAC 00314E0C 3B FF 00 04 */ addi r31, r31, 4 -lbl_80317EB0: -/* 80317EB0 00314E10 80 1C 02 94 */ lwz r0, 0x294(r28) -/* 80317EB4 00314E14 80 7C 02 9C */ lwz r3, 0x29c(r28) -/* 80317EB8 00314E18 54 00 10 3A */ slwi r0, r0, 2 -/* 80317EBC 00314E1C 7C 03 02 14 */ add r0, r3, r0 -/* 80317EC0 00314E20 7C 1F 00 40 */ cmplw r31, r0 -/* 80317EC4 00314E24 40 82 FF B8 */ bne lbl_80317E7C -/* 80317EC8 00314E28 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80317ECC 00314E2C 7F C3 F3 78 */ mr r3, r30 -/* 80317ED0 00314E30 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80317ED4 00314E34 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80317ED8 00314E38 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80317EDC 00314E3C 83 81 00 10 */ lwz r28, 0x10(r1) -/* 80317EE0 00314E40 7C 08 03 A6 */ mtlr r0 -/* 80317EE4 00314E44 38 21 00 20 */ addi r1, r1, 0x20 -/* 80317EE8 00314E48 4E 80 00 20 */ blr - -.global GetParticleCountAll__11CElementGenCFv -GetParticleCountAll__11CElementGenCFv: -/* 80317EEC 00314E4C 80 63 02 64 */ lwz r3, 0x264(r3) -/* 80317EF0 00314E50 4E 80 00 20 */ blr - -.global RenderModels__11CElementGenFv -RenderModels__11CElementGenFv: -/* 80317EF4 00314E54 94 21 FA C0 */ stwu r1, -0x540(r1) -/* 80317EF8 00314E58 7C 08 02 A6 */ mflr r0 -/* 80317EFC 00314E5C 90 01 05 44 */ stw r0, 0x544(r1) -/* 80317F00 00314E60 DB E1 05 30 */ stfd f31, 0x530(r1) -/* 80317F04 00314E64 F3 E1 05 38 */ psq_st f31, 1336(r1), 0, qr0 -/* 80317F08 00314E68 DB C1 05 20 */ stfd f30, 0x520(r1) -/* 80317F0C 00314E6C F3 C1 05 28 */ psq_st f30, 1320(r1), 0, qr0 -/* 80317F10 00314E70 DB A1 05 10 */ stfd f29, 0x510(r1) -/* 80317F14 00314E74 F3 A1 05 18 */ psq_st f29, 1304(r1), 0, qr0 -/* 80317F18 00314E78 BE 81 04 E0 */ stmw r20, 0x4e0(r1) -/* 80317F1C 00314E7C 38 00 00 00 */ li r0, 0 -/* 80317F20 00314E80 7C 7E 1B 78 */ mr r30, r3 -/* 80317F24 00314E84 90 0D A8 F0 */ stw r0, lbl_805A94B0@sda21(r13) -/* 80317F28 00314E88 88 03 02 6D */ lbz r0, 0x26d(r3) -/* 80317F2C 00314E8C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 80317F30 00314E90 41 82 00 10 */ beq lbl_80317F40 -/* 80317F34 00314E94 88 7E 02 74 */ lbz r3, 0x274(r30) -/* 80317F38 00314E98 4B FF 49 99 */ bl SetLightState__9CGraphicsFUc -/* 80317F3C 00314E9C 48 00 00 0C */ b lbl_80317F48 -lbl_80317F40: -/* 80317F40 00314EA0 48 03 20 6D */ bl White__6CColorFv -/* 80317F44 00314EA4 4B FF 40 D9 */ bl SetAmbientColor__9CGraphicsFRC6CColor -lbl_80317F48: -/* 80317F48 00314EA8 38 61 00 F8 */ addi r3, r1, 0xf8 -/* 80317F4C 00314EAC 38 9E 02 7C */ addi r4, r30, 0x27c -/* 80317F50 00314EB0 3B E0 00 00 */ li r31, 0 -/* 80317F54 00314EB4 4B FF A7 2D */ bl __ct__13CGlobalRandomFR9CRandom16 -/* 80317F58 00314EB8 C0 22 C9 E8 */ lfs f1, lbl_805AE708@sda21(r2) -/* 80317F5C 00314EBC C0 02 C9 F0 */ lfs f0, lbl_805AE710@sda21(r2) -/* 80317F60 00314EC0 D0 21 01 04 */ stfs f1, 0x104(r1) -/* 80317F64 00314EC4 D0 01 01 0C */ stfs f0, 0x10c(r1) -/* 80317F68 00314EC8 D0 21 01 08 */ stfs f1, 0x108(r1) -/* 80317F6C 00314ECC D0 01 01 10 */ stfs f0, 0x110(r1) -/* 80317F70 00314ED0 80 9E 00 28 */ lwz r4, 0x28(r30) -/* 80317F74 00314ED4 88 64 00 31 */ lbz r3, 0x31(r4) -/* 80317F78 00314ED8 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f -/* 80317F7C 00314EDC 41 82 02 A8 */ beq lbl_80318224 -/* 80317F80 00314EE0 88 0D A8 B8 */ lbz r0, lbl_805A9478@sda21(r13) -/* 80317F84 00314EE4 3A 80 00 00 */ li r20, 0 -/* 80317F88 00314EE8 28 00 00 00 */ cmplwi r0, 0 -/* 80317F8C 00314EEC 41 82 00 1C */ beq lbl_80317FA8 -/* 80317F90 00314EF0 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f -/* 80317F94 00314EF4 41 82 00 14 */ beq lbl_80317FA8 -/* 80317F98 00314EF8 80 04 00 40 */ lwz r0, 0x40(r4) -/* 80317F9C 00314EFC 28 00 00 00 */ cmplwi r0, 0 -/* 80317FA0 00314F00 41 82 00 08 */ beq lbl_80317FA8 -/* 80317FA4 00314F04 3A 80 00 01 */ li r20, 1 -lbl_80317FA8: -/* 80317FA8 00314F08 88 04 00 31 */ lbz r0, 0x31(r4) -/* 80317FAC 00314F0C 7E 9F A3 78 */ mr r31, r20 -/* 80317FB0 00314F10 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80317FB4 00314F14 41 82 00 64 */ beq lbl_80318018 -/* 80317FB8 00314F18 38 60 00 01 */ li r3, 1 -/* 80317FBC 00314F1C 38 80 00 03 */ li r4, 3 -/* 80317FC0 00314F20 38 A0 00 00 */ li r5, 0 -/* 80317FC4 00314F24 4B FF 3A D1 */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb -/* 80317FC8 00314F28 56 80 06 3F */ clrlwi. r0, r20, 0x18 -/* 80317FCC 00314F2C 41 82 00 1C */ beq lbl_80317FE8 -/* 80317FD0 00314F30 38 60 00 01 */ li r3, 1 -/* 80317FD4 00314F34 38 80 00 01 */ li r4, 1 -/* 80317FD8 00314F38 38 A0 00 01 */ li r5, 1 -/* 80317FDC 00314F3C 38 C0 00 00 */ li r6, 0 -/* 80317FE0 00314F40 4B FF 3A 71 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp -/* 80317FE4 00314F44 48 00 00 70 */ b lbl_80318054 -lbl_80317FE8: -/* 80317FE8 00314F48 38 60 00 01 */ li r3, 1 -/* 80317FEC 00314F4C 38 80 00 04 */ li r4, 4 -/* 80317FF0 00314F50 38 A0 00 01 */ li r5, 1 -/* 80317FF4 00314F54 38 C0 00 00 */ li r6, 0 -/* 80317FF8 00314F58 4B FF 3A 59 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp -/* 80317FFC 00314F5C 38 60 00 04 */ li r3, 4 -/* 80318000 00314F60 38 80 00 00 */ li r4, 0 -/* 80318004 00314F64 38 A0 00 00 */ li r5, 0 -/* 80318008 00314F68 38 C0 00 07 */ li r6, 7 -/* 8031800C 00314F6C 38 E0 00 00 */ li r7, 0 -/* 80318010 00314F70 4B FF 3A 19 */ bl SetAlphaCompare__9CGraphicsF13ERglAlphaFuncUc11ERglAlphaOp13ERglAlphaFuncUc -/* 80318014 00314F74 48 00 00 40 */ b lbl_80318054 -lbl_80318018: -/* 80318018 00314F78 38 60 00 01 */ li r3, 1 -/* 8031801C 00314F7C 38 80 00 03 */ li r4, 3 -/* 80318020 00314F80 38 A0 00 01 */ li r5, 1 -/* 80318024 00314F84 4B FF 3A 71 */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb -/* 80318028 00314F88 38 60 00 01 */ li r3, 1 -/* 8031802C 00314F8C 38 80 00 04 */ li r4, 4 -/* 80318030 00314F90 38 A0 00 05 */ li r5, 5 -/* 80318034 00314F94 38 C0 00 00 */ li r6, 0 -/* 80318038 00314F98 4B FF 3A 19 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp -/* 8031803C 00314F9C 38 60 00 04 */ li r3, 4 -/* 80318040 00314FA0 38 80 00 00 */ li r4, 0 -/* 80318044 00314FA4 38 A0 00 00 */ li r5, 0 -/* 80318048 00314FA8 38 C0 00 07 */ li r6, 7 -/* 8031804C 00314FAC 38 E0 00 00 */ li r7, 0 -/* 80318050 00314FB0 4B FF 39 D9 */ bl SetAlphaCompare__9CGraphicsF13ERglAlphaFuncUc11ERglAlphaOp13ERglAlphaFuncUc -lbl_80318054: -/* 80318054 00314FB4 38 60 00 00 */ li r3, 0 -/* 80318058 00314FB8 4B FF 3A 19 */ bl SetCullMode__9CGraphicsF12ERglCullMode -/* 8031805C 00314FBC 80 7E 00 28 */ lwz r3, 0x28(r30) -/* 80318060 00314FC0 80 83 00 40 */ lwz r4, 0x40(r3) -/* 80318064 00314FC4 28 04 00 00 */ cmplwi r4, 0 -/* 80318068 00314FC8 41 82 01 A4 */ beq lbl_8031820C -/* 8031806C 00314FCC 80 BE 00 3C */ lwz r5, 0x3c(r30) -/* 80318070 00314FD0 38 61 00 BC */ addi r3, r1, 0xbc -/* 80318074 00314FD4 81 84 00 00 */ lwz r12, 0(r4) -/* 80318078 00314FD8 80 A5 00 28 */ lwz r5, 0x28(r5) -/* 8031807C 00314FDC 80 1E 00 74 */ lwz r0, 0x74(r30) -/* 80318080 00314FE0 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80318084 00314FE4 7C A5 00 50 */ subf r5, r5, r0 -/* 80318088 00314FE8 7D 89 03 A6 */ mtctr r12 -/* 8031808C 00314FEC 4E 80 04 21 */ bctrl -/* 80318090 00314FF0 38 61 00 60 */ addi r3, r1, 0x60 -/* 80318094 00314FF4 38 81 00 BC */ addi r4, r1, 0xbc -/* 80318098 00314FF8 48 02 8E 11 */ bl __ct__6CTokenFRC6CToken -/* 8031809C 00314FFC 38 61 00 BC */ addi r3, r1, 0xbc -/* 803180A0 00315000 38 80 00 00 */ li r4, 0 -/* 803180A4 00315004 48 02 8D 9D */ bl __dt__6CTokenFv -/* 803180A8 00315008 38 61 00 60 */ addi r3, r1, 0x60 -/* 803180AC 0031500C 48 02 8D 61 */ bl GetObj__6CTokenFv -/* 803180B0 00315010 80 63 00 04 */ lwz r3, 4(r3) -/* 803180B4 00315014 38 80 00 00 */ li r4, 0 -/* 803180B8 00315018 38 A0 00 01 */ li r5, 1 -/* 803180BC 0031501C 4B FF 76 81 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode -/* 803180C0 00315020 3C 80 80 5A */ lis r4, lbl_805A5EBC@ha -/* 803180C4 00315024 38 60 00 00 */ li r3, 0 -/* 803180C8 00315028 38 84 5E BC */ addi r4, r4, lbl_805A5EBC@l -/* 803180CC 0031502C 4B FF 21 ED */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass -/* 803180D0 00315030 56 80 06 3F */ clrlwi. r0, r20, 0x18 -/* 803180D4 00315034 41 82 00 D8 */ beq lbl_803181AC -/* 803180D8 00315038 38 60 00 01 */ li r3, 1 -/* 803180DC 0031503C 38 80 00 0F */ li r4, 0xf -/* 803180E0 00315040 38 A0 00 00 */ li r5, 0 -/* 803180E4 00315044 38 C0 00 01 */ li r6, 1 -/* 803180E8 00315048 38 E0 00 0F */ li r7, 0xf -/* 803180EC 0031504C 4B FF 0B 01 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg -/* 803180F0 00315050 38 60 00 01 */ li r3, 1 -/* 803180F4 00315054 38 80 00 07 */ li r4, 7 -/* 803180F8 00315058 38 A0 00 04 */ li r5, 4 -/* 803180FC 0031505C 38 C0 00 00 */ li r6, 0 -/* 80318100 00315060 38 E0 00 07 */ li r7, 7 -/* 80318104 00315064 4B FF 0A 91 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg -/* 80318108 00315068 38 60 00 01 */ li r3, 1 -/* 8031810C 0031506C 4B FE FB 45 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID -/* 80318110 00315070 38 60 00 01 */ li r3, 1 -/* 80318114 00315074 38 80 00 00 */ li r4, 0 -/* 80318118 00315078 38 A0 00 00 */ li r5, 0 -/* 8031811C 0031507C 38 C0 00 FF */ li r6, 0xff -/* 80318120 00315080 4B FF 08 2D */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID -/* 80318124 00315084 38 60 00 01 */ li r3, 1 -/* 80318128 00315088 38 80 00 00 */ li r4, 0 -/* 8031812C 0031508C 38 A0 00 01 */ li r5, 1 -/* 80318130 00315090 48 06 37 01 */ bl GXSetTevSwapMode -/* 80318134 00315094 38 60 00 02 */ li r3, 2 -/* 80318138 00315098 4B FF 0B 59 */ bl SetNumTevStages__3CGXFUc -/* 8031813C 0031509C 3C 60 80 3D */ lis r3, lbl_803D78F0@ha -/* 80318140 003150A0 38 63 78 F0 */ addi r3, r3, lbl_803D78F0@l -/* 80318144 003150A4 4B FE FC E5 */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList -/* 80318148 003150A8 38 60 00 00 */ li r3, 0 -/* 8031814C 003150AC 38 80 00 00 */ li r4, 0 -/* 80318150 003150B0 38 A0 00 00 */ li r5, 0 -/* 80318154 003150B4 38 C0 00 01 */ li r6, 1 -/* 80318158 003150B8 38 E0 00 00 */ li r7, 0 -/* 8031815C 003150BC 39 00 00 00 */ li r8, 0 -/* 80318160 003150C0 39 20 00 02 */ li r9, 2 -/* 80318164 003150C4 4B FF 0B 69 */ bl SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn -/* 80318168 003150C8 38 60 00 01 */ li r3, 1 -/* 8031816C 003150CC 4B FF 0C E5 */ bl SetNumChans__3CGXFUc -/* 80318170 003150D0 38 60 00 00 */ li r3, 0 -/* 80318174 003150D4 38 80 00 01 */ li r4, 1 -/* 80318178 003150D8 38 A0 00 04 */ li r5, 4 -/* 8031817C 003150DC 38 C0 00 3C */ li r6, 0x3c -/* 80318180 003150E0 38 E0 00 00 */ li r7, 0 -/* 80318184 003150E4 39 00 00 7D */ li r8, 0x7d -/* 80318188 003150E8 4B FF 05 45 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx -/* 8031818C 003150EC 38 60 00 00 */ li r3, 0 -/* 80318190 003150F0 38 80 00 00 */ li r4, 0 -/* 80318194 003150F4 38 A0 00 00 */ li r5, 0 -/* 80318198 003150F8 38 C0 00 04 */ li r6, 4 -/* 8031819C 003150FC 4B FF 07 B1 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID -/* 803181A0 00315100 38 60 00 01 */ li r3, 1 -/* 803181A4 00315104 4B FF 0C 71 */ bl SetNumTexGens__3CGXFUc -/* 803181A8 00315108 48 00 00 10 */ b lbl_803181B8 -lbl_803181AC: -/* 803181AC 0031510C 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) -/* 803181B0 00315110 38 60 00 01 */ li r3, 1 -/* 803181B4 00315114 4B FF 21 05 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass -lbl_803181B8: -/* 803181B8 00315118 80 7E 00 28 */ lwz r3, 0x28(r30) -/* 803181BC 0031511C 38 A1 01 04 */ addi r5, r1, 0x104 -/* 803181C0 00315120 80 9E 00 3C */ lwz r4, 0x3c(r30) -/* 803181C4 00315124 80 63 00 40 */ lwz r3, 0x40(r3) -/* 803181C8 00315128 80 84 00 28 */ lwz r4, 0x28(r4) -/* 803181CC 0031512C 81 83 00 00 */ lwz r12, 0(r3) -/* 803181D0 00315130 80 1E 00 74 */ lwz r0, 0x74(r30) -/* 803181D4 00315134 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 803181D8 00315138 7C 84 00 50 */ subf r4, r4, r0 -/* 803181DC 0031513C 7D 89 03 A6 */ mtctr r12 -/* 803181E0 00315140 4E 80 04 21 */ bctrl -/* 803181E4 00315144 80 7E 00 28 */ lwz r3, 0x28(r30) -/* 803181E8 00315148 80 63 00 40 */ lwz r3, 0x40(r3) -/* 803181EC 0031514C 81 83 00 00 */ lwz r12, 0(r3) -/* 803181F0 00315150 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 803181F4 00315154 7D 89 03 A6 */ mtctr r12 -/* 803181F8 00315158 4E 80 04 21 */ bctrl -/* 803181FC 0031515C 38 61 00 60 */ addi r3, r1, 0x60 -/* 80318200 00315160 38 80 00 00 */ li r4, 0 -/* 80318204 00315164 48 02 8C 3D */ bl __dt__6CTokenFv -/* 80318208 00315168 48 00 00 1C */ b lbl_80318224 -lbl_8031820C: -/* 8031820C 0031516C 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) -/* 80318210 00315170 38 60 00 00 */ li r3, 0 -/* 80318214 00315174 4B FF 20 A5 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass -/* 80318218 00315178 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) -/* 8031821C 0031517C 38 60 00 01 */ li r3, 1 -/* 80318220 00315180 4B FF 20 99 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass -lbl_80318224: -/* 80318224 00315184 C0 02 C9 E8 */ lfs f0, lbl_805AE708@sda21(r2) -/* 80318228 00315188 3C 60 80 5A */ lis r3, skIdentity4f@ha -/* 8031822C 0031518C 38 83 66 70 */ addi r4, r3, skIdentity4f@l -/* 80318230 00315190 D0 01 00 EC */ stfs f0, 0xec(r1) -/* 80318234 00315194 38 61 04 A4 */ addi r3, r1, 0x4a4 -/* 80318238 00315198 D0 01 00 F0 */ stfs f0, 0xf0(r1) -/* 8031823C 0031519C D0 01 00 F4 */ stfs f0, 0xf4(r1) -/* 80318240 003151A0 4B FF A9 35 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80318244 003151A4 80 7E 00 28 */ lwz r3, 0x28(r30) -/* 80318248 003151A8 88 03 00 31 */ lbz r0, 0x31(r3) -/* 8031824C 003151AC 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 80318250 003151B0 40 82 00 10 */ bne lbl_80318260 -/* 80318254 003151B4 38 61 04 A4 */ addi r3, r1, 0x4a4 -/* 80318258 003151B8 38 9E 01 D8 */ addi r4, r30, 0x1d8 -/* 8031825C 003151BC 4B FF A8 E5 */ bl __as__12CTransform4fFRC12CTransform4f -lbl_80318260: -/* 80318260 003151C0 38 61 03 E4 */ addi r3, r1, 0x3e4 -/* 80318264 003151C4 38 81 04 A4 */ addi r4, r1, 0x4a4 -/* 80318268 003151C8 38 BE 02 2C */ addi r5, r30, 0x22c -/* 8031826C 003151CC 4B FF A6 E5 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 80318270 003151D0 38 61 04 A4 */ addi r3, r1, 0x4a4 -/* 80318274 003151D4 38 81 03 E4 */ addi r4, r1, 0x3e4 -/* 80318278 003151D8 4B FF A8 C9 */ bl __as__12CTransform4fFRC12CTransform4f -/* 8031827C 003151DC 80 7E 00 28 */ lwz r3, 0x28(r30) -/* 80318280 003151E0 3B A0 00 00 */ li r29, 0 -/* 80318284 003151E4 80 63 00 5C */ lwz r3, 0x5c(r3) -/* 80318288 003151E8 28 03 00 00 */ cmplwi r3, 0 -/* 8031828C 003151EC 41 82 00 20 */ beq lbl_803182AC -/* 80318290 003151F0 81 83 00 00 */ lwz r12, 0(r3) -/* 80318294 003151F4 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80318298 003151F8 7D 89 03 A6 */ mtctr r12 -/* 8031829C 003151FC 4E 80 04 21 */ bctrl -/* 803182A0 00315200 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 803182A4 00315204 41 82 00 08 */ beq lbl_803182AC -/* 803182A8 00315208 3B A0 00 01 */ li r29, 1 -lbl_803182AC: -/* 803182AC 0031520C 38 61 03 B4 */ addi r3, r1, 0x3b4 -/* 803182B0 00315210 38 9E 01 3C */ addi r4, r30, 0x13c -/* 803182B4 00315214 38 BE 01 A8 */ addi r5, r30, 0x1a8 -/* 803182B8 00315218 4B FF A6 99 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 803182BC 0031521C 38 61 00 B0 */ addi r3, r1, 0xb0 -/* 803182C0 00315220 38 81 03 B4 */ addi r4, r1, 0x3b4 -/* 803182C4 00315224 38 BE 00 E8 */ addi r5, r30, 0xe8 -/* 803182C8 00315228 4B FF A8 21 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 803182CC 0031522C 3C 60 80 5A */ lis r3, skIdentity4f@ha -/* 803182D0 00315230 C3 E1 00 B0 */ lfs f31, 0xb0(r1) -/* 803182D4 00315234 38 83 66 70 */ addi r4, r3, skIdentity4f@l -/* 803182D8 00315238 C3 C1 00 B4 */ lfs f30, 0xb4(r1) -/* 803182DC 0031523C C3 A1 00 B8 */ lfs f29, 0xb8(r1) -/* 803182E0 00315240 38 61 04 74 */ addi r3, r1, 0x474 -/* 803182E4 00315244 4B FF A8 91 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 803182E8 00315248 57 A0 06 3F */ clrlwi. r0, r29, 0x18 -/* 803182EC 0031524C 41 82 00 94 */ beq lbl_80318380 -/* 803182F0 00315250 C0 02 C9 E8 */ lfs f0, lbl_805AE708@sda21(r2) -/* 803182F4 00315254 38 A1 00 E0 */ addi r5, r1, 0xe0 -/* 803182F8 00315258 D0 01 00 E0 */ stfs f0, 0xe0(r1) -/* 803182FC 0031525C D0 01 00 E4 */ stfs f0, 0xe4(r1) -/* 80318300 00315260 D0 01 00 E8 */ stfs f0, 0xe8(r1) -/* 80318304 00315264 80 7E 00 28 */ lwz r3, 0x28(r30) -/* 80318308 00315268 80 9E 00 74 */ lwz r4, 0x74(r30) -/* 8031830C 0031526C 80 63 00 5C */ lwz r3, 0x5c(r3) -/* 80318310 00315270 81 83 00 00 */ lwz r12, 0(r3) -/* 80318314 00315274 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80318318 00315278 7D 89 03 A6 */ mtctr r12 -/* 8031831C 0031527C 4E 80 04 21 */ bctrl -/* 80318320 00315280 C0 22 C9 F4 */ lfs f1, lbl_805AE714@sda21(r2) -/* 80318324 00315284 38 61 03 84 */ addi r3, r1, 0x384 -/* 80318328 00315288 C0 01 00 E8 */ lfs f0, 0xe8(r1) -/* 8031832C 0031528C 38 81 00 20 */ addi r4, r1, 0x20 -/* 80318330 00315290 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80318334 00315294 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 80318338 00315298 4B FF B4 D9 */ bl RotateZ__12CTransform4fFRC9CRelAngle -/* 8031833C 0031529C 38 61 04 74 */ addi r3, r1, 0x474 -/* 80318340 003152A0 38 81 03 84 */ addi r4, r1, 0x384 -/* 80318344 003152A4 4B FF A7 FD */ bl __as__12CTransform4fFRC12CTransform4f -/* 80318348 003152A8 C0 22 C9 F4 */ lfs f1, lbl_805AE714@sda21(r2) -/* 8031834C 003152AC 38 61 04 74 */ addi r3, r1, 0x474 -/* 80318350 003152B0 C0 01 00 E4 */ lfs f0, 0xe4(r1) -/* 80318354 003152B4 38 81 00 1C */ addi r4, r1, 0x1c -/* 80318358 003152B8 EC 01 00 32 */ fmuls f0, f1, f0 -/* 8031835C 003152BC D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 80318360 003152C0 4B FF B2 79 */ bl RotateLocalY__12CTransform4fFRC9CRelAngle -/* 80318364 003152C4 C0 22 C9 F4 */ lfs f1, lbl_805AE714@sda21(r2) -/* 80318368 003152C8 38 61 04 74 */ addi r3, r1, 0x474 -/* 8031836C 003152CC C0 01 00 E0 */ lfs f0, 0xe0(r1) -/* 80318370 003152D0 38 81 00 18 */ addi r4, r1, 0x18 -/* 80318374 003152D4 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80318378 003152D8 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 8031837C 003152DC 4B FF B3 79 */ bl RotateLocalX__12CTransform4fFRC9CRelAngle -lbl_80318380: -/* 80318380 003152E0 38 61 03 54 */ addi r3, r1, 0x354 -/* 80318384 003152E4 38 81 04 A4 */ addi r4, r1, 0x4a4 -/* 80318388 003152E8 38 A1 04 74 */ addi r5, r1, 0x474 -/* 8031838C 003152EC 4B FF A5 C5 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 80318390 003152F0 38 61 04 74 */ addi r3, r1, 0x474 -/* 80318394 003152F4 38 81 03 54 */ addi r4, r1, 0x354 -/* 80318398 003152F8 4B FF A7 A9 */ bl __as__12CTransform4fFRC12CTransform4f -/* 8031839C 003152FC 80 7E 00 74 */ lwz r3, 0x74(r30) -/* 803183A0 00315300 48 01 23 A9 */ bl SetEmitterTime__16CParticleGlobalsFi -/* 803183A4 00315304 80 1E 03 38 */ lwz r0, 0x338(r30) -/* 803183A8 00315308 3B 60 00 00 */ li r27, 0 -/* 803183AC 0031530C 7F 7A DB 78 */ mr r26, r27 -/* 803183B0 00315310 3B 01 00 54 */ addi r24, r1, 0x54 -/* 803183B4 00315314 90 01 00 24 */ stw r0, 0x24(r1) -/* 803183B8 00315318 7F 79 DB 78 */ mr r25, r27 -/* 803183BC 0031531C 3A E1 00 3C */ addi r23, r1, 0x3c -/* 803183C0 00315320 3A C1 00 2C */ addi r22, r1, 0x2c -/* 803183C4 00315324 3A A0 00 00 */ li r21, 0 -/* 803183C8 00315328 48 00 06 94 */ b lbl_80318A5C -lbl_803183CC: -/* 803183CC 0031532C 80 1E 00 3C */ lwz r0, 0x3c(r30) -/* 803183D0 00315330 7F 80 DA 14 */ add r28, r0, r27 -/* 803183D4 00315334 80 7C 00 00 */ lwz r3, 0(r28) -/* 803183D8 00315338 2C 03 FF FF */ cmpwi r3, -1 -/* 803183DC 0031533C 41 82 06 70 */ beq lbl_80318A4C -/* 803183E0 00315340 80 9C 00 28 */ lwz r4, 0x28(r28) -/* 803183E4 00315344 80 1E 00 74 */ lwz r0, 0x74(r30) -/* 803183E8 00315348 7C 64 18 50 */ subf r3, r4, r3 -/* 803183EC 0031534C 7C 84 00 50 */ subf r4, r4, r0 -/* 803183F0 00315350 3A 84 FF FF */ addi r20, r4, -1 -/* 803183F4 00315354 48 01 23 85 */ bl SetParticleLifetime__16CParticleGlobalsFi -/* 803183F8 00315358 7E 83 A3 78 */ mr r3, r20 -/* 803183FC 0031535C 48 01 22 81 */ bl UpdateParticleLifetimeTweenValues__16CParticleGlobalsFi -/* 80318400 00315360 93 8D A8 EC */ stw r28, lbl_805A94AC@sda21(r13) -/* 80318404 00315364 88 1E 02 6D */ lbz r0, 0x26d(r30) -/* 80318408 00315368 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 8031840C 0031536C 41 82 00 10 */ beq lbl_8031841C -/* 80318410 00315370 80 1E 00 6C */ lwz r0, 0x6c(r30) -/* 80318414 00315374 7C 00 D2 14 */ add r0, r0, r26 -/* 80318418 00315378 90 0D A8 F0 */ stw r0, lbl_805A94B0@sda21(r13) -lbl_8031841C: -/* 8031841C 0031537C 80 7E 00 28 */ lwz r3, 0x28(r30) -/* 80318420 00315380 80 63 00 58 */ lwz r3, 0x58(r3) -/* 80318424 00315384 28 03 00 00 */ cmplwi r3, 0 -/* 80318428 00315388 41 82 00 1C */ beq lbl_80318444 -/* 8031842C 0031538C 81 83 00 00 */ lwz r12, 0(r3) -/* 80318430 00315390 7E 84 A3 78 */ mr r4, r20 -/* 80318434 00315394 38 A1 00 EC */ addi r5, r1, 0xec -/* 80318438 00315398 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8031843C 0031539C 7D 89 03 A6 */ mtctr r12 -/* 80318440 003153A0 4E 80 04 21 */ bctrl -lbl_80318444: -/* 80318444 003153A4 C0 3C 00 08 */ lfs f1, 8(r28) -/* 80318448 003153A8 38 61 03 24 */ addi r3, r1, 0x324 -/* 8031844C 003153AC C0 9C 00 14 */ lfs f4, 0x14(r28) -/* 80318450 003153B0 38 81 00 A4 */ addi r4, r1, 0xa4 -/* 80318454 003153B4 C0 1C 00 0C */ lfs f0, 0xc(r28) -/* 80318458 003153B8 C0 7C 00 18 */ lfs f3, 0x18(r28) -/* 8031845C 003153BC EC 21 20 28 */ fsubs f1, f1, f4 -/* 80318460 003153C0 C1 1E 00 80 */ lfs f8, 0x80(r30) -/* 80318464 003153C4 EC A0 18 28 */ fsubs f5, f0, f3 -/* 80318468 003153C8 C0 1C 00 04 */ lfs f0, 4(r28) -/* 8031846C 003153CC EC E8 00 72 */ fmuls f7, f8, f1 -/* 80318470 003153D0 C0 5C 00 10 */ lfs f2, 0x10(r28) -/* 80318474 003153D4 D0 21 00 84 */ stfs f1, 0x84(r1) -/* 80318478 003153D8 EC 20 10 28 */ fsubs f1, f0, f2 -/* 8031847C 003153DC EC C8 01 72 */ fmuls f6, f8, f5 -/* 80318480 003153E0 D0 A1 00 88 */ stfs f5, 0x88(r1) -/* 80318484 003153E4 EC 87 20 2A */ fadds f4, f7, f4 -/* 80318488 003153E8 EC 08 00 72 */ fmuls f0, f8, f1 -/* 8031848C 003153EC D0 21 00 80 */ stfs f1, 0x80(r1) -/* 80318490 003153F0 EC 66 18 2A */ fadds f3, f6, f3 -/* 80318494 003153F4 EC BE 20 2A */ fadds f5, f30, f4 -/* 80318498 003153F8 D0 E1 00 90 */ stfs f7, 0x90(r1) -/* 8031849C 003153FC EC 20 10 2A */ fadds f1, f0, f2 -/* 803184A0 00315400 EC 5D 18 2A */ fadds f2, f29, f3 -/* 803184A4 00315404 D0 01 00 8C */ stfs f0, 0x8c(r1) -/* 803184A8 00315408 EC 1F 08 2A */ fadds f0, f31, f1 -/* 803184AC 0031540C D0 C1 00 94 */ stfs f6, 0x94(r1) -/* 803184B0 00315410 D0 21 00 98 */ stfs f1, 0x98(r1) -/* 803184B4 00315414 D0 81 00 9C */ stfs f4, 0x9c(r1) -/* 803184B8 00315418 D0 61 00 A0 */ stfs f3, 0xa0(r1) -/* 803184BC 0031541C D0 01 00 A4 */ stfs f0, 0xa4(r1) -/* 803184C0 00315420 D0 A1 00 A8 */ stfs f5, 0xa8(r1) -/* 803184C4 00315424 D0 41 00 AC */ stfs f2, 0xac(r1) -/* 803184C8 00315428 4B FF AC 79 */ bl Translate__12CTransform4fFRC9CVector3f -/* 803184CC 0031542C 38 61 04 44 */ addi r3, r1, 0x444 -/* 803184D0 00315430 38 81 03 24 */ addi r4, r1, 0x324 -/* 803184D4 00315434 4B FF A6 A1 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 803184D8 00315438 80 1E 00 2C */ lwz r0, 0x2c(r30) -/* 803184DC 0031543C 2C 00 00 01 */ cmpwi r0, 1 -/* 803184E0 00315440 40 82 00 8C */ bne lbl_8031856C -/* 803184E4 00315444 80 1E 00 5C */ lwz r0, 0x5c(r30) -/* 803184E8 00315448 3C 60 80 5A */ lis r3, skZero3f@ha -/* 803184EC 0031544C 38 A3 66 A0 */ addi r5, r3, skZero3f@l -/* 803184F0 00315450 38 61 04 14 */ addi r3, r1, 0x414 -/* 803184F4 00315454 7C 80 CA 14 */ add r4, r0, r25 -/* 803184F8 00315458 4B FF AD 81 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f -/* 803184FC 0031545C 38 61 02 F4 */ addi r3, r1, 0x2f4 -/* 80318500 00315460 38 81 04 A4 */ addi r4, r1, 0x4a4 -/* 80318504 00315464 38 A1 04 14 */ addi r5, r1, 0x414 -/* 80318508 00315468 4B FF A4 49 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 8031850C 0031546C 38 61 00 74 */ addi r3, r1, 0x74 -/* 80318510 00315470 38 81 02 F4 */ addi r4, r1, 0x2f4 -/* 80318514 00315474 38 A1 00 EC */ addi r5, r1, 0xec -/* 80318518 00315478 4B FF A5 D1 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 8031851C 0031547C C0 21 04 50 */ lfs f1, 0x450(r1) -/* 80318520 00315480 38 61 01 D4 */ addi r3, r1, 0x1d4 -/* 80318524 00315484 C0 01 00 74 */ lfs f0, 0x74(r1) -/* 80318528 00315488 38 81 04 44 */ addi r4, r1, 0x444 -/* 8031852C 0031548C C0 61 04 60 */ lfs f3, 0x460(r1) -/* 80318530 00315490 38 A1 04 14 */ addi r5, r1, 0x414 -/* 80318534 00315494 C0 41 00 78 */ lfs f2, 0x78(r1) -/* 80318538 00315498 EC 81 00 2A */ fadds f4, f1, f0 -/* 8031853C 0031549C C0 21 04 70 */ lfs f1, 0x470(r1) -/* 80318540 003154A0 C0 01 00 7C */ lfs f0, 0x7c(r1) -/* 80318544 003154A4 EC 43 10 2A */ fadds f2, f3, f2 -/* 80318548 003154A8 D0 81 04 50 */ stfs f4, 0x450(r1) -/* 8031854C 003154AC EC 01 00 2A */ fadds f0, f1, f0 -/* 80318550 003154B0 D0 41 04 60 */ stfs f2, 0x460(r1) -/* 80318554 003154B4 D0 01 04 70 */ stfs f0, 0x470(r1) -/* 80318558 003154B8 4B FF A3 F9 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 8031855C 003154BC 38 61 04 44 */ addi r3, r1, 0x444 -/* 80318560 003154C0 38 81 01 D4 */ addi r4, r1, 0x1d4 -/* 80318564 003154C4 4B FF A5 DD */ bl __as__12CTransform4fFRC12CTransform4f -/* 80318568 003154C8 48 00 00 44 */ b lbl_803185AC -lbl_8031856C: -/* 8031856C 003154CC 38 61 00 68 */ addi r3, r1, 0x68 -/* 80318570 003154D0 38 81 04 A4 */ addi r4, r1, 0x4a4 -/* 80318574 003154D4 38 A1 00 EC */ addi r5, r1, 0xec -/* 80318578 003154D8 4B FF A5 71 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 8031857C 003154DC C0 21 04 50 */ lfs f1, 0x450(r1) -/* 80318580 003154E0 C0 01 00 68 */ lfs f0, 0x68(r1) -/* 80318584 003154E4 C0 61 04 60 */ lfs f3, 0x460(r1) -/* 80318588 003154E8 C0 41 00 6C */ lfs f2, 0x6c(r1) -/* 8031858C 003154EC EC 81 00 2A */ fadds f4, f1, f0 -/* 80318590 003154F0 C0 21 04 70 */ lfs f1, 0x470(r1) -/* 80318594 003154F4 C0 01 00 70 */ lfs f0, 0x70(r1) -/* 80318598 003154F8 EC 43 10 2A */ fadds f2, f3, f2 -/* 8031859C 003154FC D0 81 04 50 */ stfs f4, 0x450(r1) -/* 803185A0 00315500 EC 01 00 2A */ fadds f0, f1, f0 -/* 803185A4 00315504 D0 41 04 60 */ stfs f2, 0x460(r1) -/* 803185A8 00315508 D0 01 04 70 */ stfs f0, 0x470(r1) -lbl_803185AC: -/* 803185AC 0031550C 57 A0 06 3F */ clrlwi. r0, r29, 0x18 -/* 803185B0 00315510 41 82 00 24 */ beq lbl_803185D4 -/* 803185B4 00315514 38 61 01 A4 */ addi r3, r1, 0x1a4 -/* 803185B8 00315518 38 81 04 44 */ addi r4, r1, 0x444 -/* 803185BC 0031551C 38 A1 04 74 */ addi r5, r1, 0x474 -/* 803185C0 00315520 4B FF A3 91 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 803185C4 00315524 38 61 04 44 */ addi r3, r1, 0x444 -/* 803185C8 00315528 38 81 01 A4 */ addi r4, r1, 0x1a4 -/* 803185CC 0031552C 4B FF A5 75 */ bl __as__12CTransform4fFRC12CTransform4f -/* 803185D0 00315530 48 00 00 E8 */ b lbl_803186B8 -lbl_803185D4: -/* 803185D4 00315534 80 7E 00 28 */ lwz r3, 0x28(r30) -/* 803185D8 00315538 80 63 00 5C */ lwz r3, 0x5c(r3) -/* 803185DC 0031553C 28 03 00 00 */ cmplwi r3, 0 -/* 803185E0 00315540 41 82 00 BC */ beq lbl_8031869C -/* 803185E4 00315544 C0 02 C9 E8 */ lfs f0, lbl_805AE708@sda21(r2) -/* 803185E8 00315548 7E 84 A3 78 */ mr r4, r20 -/* 803185EC 0031554C 38 A1 00 D4 */ addi r5, r1, 0xd4 -/* 803185F0 00315550 D0 01 00 D4 */ stfs f0, 0xd4(r1) -/* 803185F4 00315554 D0 01 00 D8 */ stfs f0, 0xd8(r1) -/* 803185F8 00315558 D0 01 00 DC */ stfs f0, 0xdc(r1) -/* 803185FC 0031555C 81 83 00 00 */ lwz r12, 0(r3) -/* 80318600 00315560 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80318604 00315564 7D 89 03 A6 */ mtctr r12 -/* 80318608 00315568 4E 80 04 21 */ bctrl -/* 8031860C 0031556C C0 22 C9 F4 */ lfs f1, lbl_805AE714@sda21(r2) -/* 80318610 00315570 38 61 02 C4 */ addi r3, r1, 0x2c4 -/* 80318614 00315574 C0 01 00 DC */ lfs f0, 0xdc(r1) -/* 80318618 00315578 38 81 00 14 */ addi r4, r1, 0x14 -/* 8031861C 0031557C EC 01 00 32 */ fmuls f0, f1, f0 -/* 80318620 00315580 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 80318624 00315584 4B FF B1 ED */ bl RotateZ__12CTransform4fFRC9CRelAngle -/* 80318628 00315588 38 61 04 74 */ addi r3, r1, 0x474 -/* 8031862C 0031558C 38 81 02 C4 */ addi r4, r1, 0x2c4 -/* 80318630 00315590 4B FF A5 11 */ bl __as__12CTransform4fFRC12CTransform4f -/* 80318634 00315594 C0 22 C9 F4 */ lfs f1, lbl_805AE714@sda21(r2) -/* 80318638 00315598 38 61 04 74 */ addi r3, r1, 0x474 -/* 8031863C 0031559C C0 01 00 D8 */ lfs f0, 0xd8(r1) -/* 80318640 003155A0 38 81 00 10 */ addi r4, r1, 0x10 -/* 80318644 003155A4 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80318648 003155A8 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 8031864C 003155AC 4B FF AF 8D */ bl RotateLocalY__12CTransform4fFRC9CRelAngle -/* 80318650 003155B0 C0 22 C9 F4 */ lfs f1, lbl_805AE714@sda21(r2) -/* 80318654 003155B4 38 61 04 74 */ addi r3, r1, 0x474 -/* 80318658 003155B8 C0 01 00 D4 */ lfs f0, 0xd4(r1) -/* 8031865C 003155BC 38 81 00 0C */ addi r4, r1, 0xc -/* 80318660 003155C0 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80318664 003155C4 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 80318668 003155C8 4B FF B0 8D */ bl RotateLocalX__12CTransform4fFRC9CRelAngle -/* 8031866C 003155CC 38 61 02 94 */ addi r3, r1, 0x294 -/* 80318670 003155D0 38 81 04 A4 */ addi r4, r1, 0x4a4 -/* 80318674 003155D4 38 A1 04 74 */ addi r5, r1, 0x474 -/* 80318678 003155D8 4B FF A2 D9 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 8031867C 003155DC 38 61 01 74 */ addi r3, r1, 0x174 -/* 80318680 003155E0 38 81 04 44 */ addi r4, r1, 0x444 -/* 80318684 003155E4 38 A1 02 94 */ addi r5, r1, 0x294 -/* 80318688 003155E8 4B FF A2 C9 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 8031868C 003155EC 38 61 04 44 */ addi r3, r1, 0x444 -/* 80318690 003155F0 38 81 01 74 */ addi r4, r1, 0x174 -/* 80318694 003155F4 4B FF A4 AD */ bl __as__12CTransform4fFRC12CTransform4f -/* 80318698 003155F8 48 00 00 20 */ b lbl_803186B8 -lbl_8031869C: -/* 8031869C 003155FC 38 61 01 44 */ addi r3, r1, 0x144 -/* 803186A0 00315600 38 81 04 44 */ addi r4, r1, 0x444 -/* 803186A4 00315604 38 A1 04 74 */ addi r5, r1, 0x474 -/* 803186A8 00315608 4B FF A2 A9 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 803186AC 0031560C 38 61 04 44 */ addi r3, r1, 0x444 -/* 803186B0 00315610 38 81 01 44 */ addi r4, r1, 0x144 -/* 803186B4 00315614 4B FF A4 8D */ bl __as__12CTransform4fFRC12CTransform4f -lbl_803186B8: -/* 803186B8 00315618 80 7E 00 28 */ lwz r3, 0x28(r30) -/* 803186BC 0031561C 80 63 00 60 */ lwz r3, 0x60(r3) -/* 803186C0 00315620 28 03 00 00 */ cmplwi r3, 0 -/* 803186C4 00315624 41 82 00 5C */ beq lbl_80318720 -/* 803186C8 00315628 C0 02 C9 E8 */ lfs f0, lbl_805AE708@sda21(r2) -/* 803186CC 0031562C 7E 84 A3 78 */ mr r4, r20 -/* 803186D0 00315630 38 A1 00 C8 */ addi r5, r1, 0xc8 -/* 803186D4 00315634 D0 01 00 C8 */ stfs f0, 0xc8(r1) -/* 803186D8 00315638 D0 01 00 CC */ stfs f0, 0xcc(r1) -/* 803186DC 0031563C D0 01 00 D0 */ stfs f0, 0xd0(r1) -/* 803186E0 00315640 81 83 00 00 */ lwz r12, 0(r3) -/* 803186E4 00315644 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 803186E8 00315648 7D 89 03 A6 */ mtctr r12 -/* 803186EC 0031564C 4E 80 04 21 */ bctrl -/* 803186F0 00315650 C0 21 00 C8 */ lfs f1, 0xc8(r1) -/* 803186F4 00315654 38 61 02 64 */ addi r3, r1, 0x264 -/* 803186F8 00315658 C0 41 00 CC */ lfs f2, 0xcc(r1) -/* 803186FC 0031565C C0 61 00 D0 */ lfs f3, 0xd0(r1) -/* 80318700 00315660 4B FF AB 09 */ bl Scale__12CTransform4fFfff -/* 80318704 00315664 38 61 01 14 */ addi r3, r1, 0x114 -/* 80318708 00315668 38 81 04 44 */ addi r4, r1, 0x444 -/* 8031870C 0031566C 38 A1 02 64 */ addi r5, r1, 0x264 -/* 80318710 00315670 4B FF A2 41 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 80318714 00315674 38 61 04 44 */ addi r3, r1, 0x444 -/* 80318718 00315678 38 81 01 14 */ addi r4, r1, 0x114 -/* 8031871C 0031567C 4B FF A4 25 */ bl __as__12CTransform4fFRC12CTransform4f -lbl_80318720: -/* 80318720 00315680 80 7E 00 28 */ lwz r3, 0x28(r30) -/* 80318724 00315684 80 63 00 64 */ lwz r3, 0x64(r3) -/* 80318728 00315688 28 03 00 00 */ cmplwi r3, 0 -/* 8031872C 0031568C 41 82 00 34 */ beq lbl_80318760 -/* 80318730 00315690 81 83 00 00 */ lwz r12, 0(r3) -/* 80318734 00315694 7E 84 A3 78 */ mr r4, r20 -/* 80318738 00315698 38 A1 00 24 */ addi r5, r1, 0x24 -/* 8031873C 0031569C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80318740 003156A0 7D 89 03 A6 */ mtctr r12 -/* 80318744 003156A4 4E 80 04 21 */ bctrl -/* 80318748 003156A8 38 61 00 08 */ addi r3, r1, 8 -/* 8031874C 003156AC 38 81 00 24 */ addi r4, r1, 0x24 -/* 80318750 003156B0 38 BE 03 38 */ addi r5, r30, 0x338 -/* 80318754 003156B4 48 04 AA 25 */ bl Modulate__6CColorFRC6CColorRC6CColor -/* 80318758 003156B8 80 01 00 08 */ lwz r0, 8(r1) -/* 8031875C 003156BC 90 01 00 24 */ stw r0, 0x24(r1) -lbl_80318760: -/* 80318760 003156C0 38 61 02 04 */ addi r3, r1, 0x204 -/* 80318764 003156C4 38 9E 01 0C */ addi r4, r30, 0x10c -/* 80318768 003156C8 38 A1 04 44 */ addi r5, r1, 0x444 -/* 8031876C 003156CC 4B FF A1 E5 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 80318770 003156D0 38 61 02 34 */ addi r3, r1, 0x234 -/* 80318774 003156D4 38 81 02 04 */ addi r4, r1, 0x204 -/* 80318778 003156D8 38 BE 01 78 */ addi r5, r30, 0x178 -/* 8031877C 003156DC 4B FF A1 D5 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 80318780 003156E0 38 61 02 34 */ addi r3, r1, 0x234 -/* 80318784 003156E4 4B FF 3E 5D */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f -/* 80318788 003156E8 80 9E 00 28 */ lwz r4, 0x28(r30) -/* 8031878C 003156EC 88 64 00 31 */ lbz r3, 0x31(r4) -/* 80318790 003156F0 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f -/* 80318794 003156F4 41 82 01 3C */ beq lbl_803188D0 -/* 80318798 003156F8 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 8031879C 003156FC 41 82 00 AC */ beq lbl_80318848 -/* 803187A0 00315700 38 60 00 80 */ li r3, 0x80 -/* 803187A4 00315704 38 80 00 00 */ li r4, 0 -/* 803187A8 00315708 38 A0 00 04 */ li r5, 4 -/* 803187AC 0031570C 4B FE FD D9 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs -/* 803187B0 00315710 C0 62 C9 F8 */ lfs f3, lbl_805AE718@sda21(r2) -/* 803187B4 00315714 3C 60 CC 01 */ lis r3, 0xCC008000@ha -/* 803187B8 00315718 C0 42 C9 E8 */ lfs f2, lbl_805AE708@sda21(r2) -/* 803187BC 0031571C D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) -/* 803187C0 00315720 C0 22 C9 FC */ lfs f1, lbl_805AE71C@sda21(r2) -/* 803187C4 00315724 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 803187C8 00315728 D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) -/* 803187CC 0031572C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 803187D0 00315730 90 03 80 00 */ stw r0, 0xCC008000@l(r3) -/* 803187D4 00315734 C0 01 01 0C */ lfs f0, 0x10c(r1) -/* 803187D8 00315738 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 803187DC 0031573C C0 01 01 10 */ lfs f0, 0x110(r1) -/* 803187E0 00315740 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 803187E4 00315744 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 803187E8 00315748 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 803187EC 0031574C D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) -/* 803187F0 00315750 90 03 80 00 */ stw r0, 0xCC008000@l(r3) -/* 803187F4 00315754 C0 81 01 04 */ lfs f4, 0x104(r1) -/* 803187F8 00315758 D0 83 80 00 */ stfs f4, 0xCC008000@l(r3) -/* 803187FC 0031575C C0 01 01 10 */ lfs f0, 0x110(r1) -/* 80318800 00315760 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 80318804 00315764 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 80318808 00315768 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 8031880C 0031576C D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 80318810 00315770 90 03 80 00 */ stw r0, 0xCC008000@l(r3) -/* 80318814 00315774 D0 83 80 00 */ stfs f4, 0xCC008000@l(r3) -/* 80318818 00315778 C0 01 01 08 */ lfs f0, 0x108(r1) -/* 8031881C 0031577C D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 80318820 00315780 D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) -/* 80318824 00315784 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 80318828 00315788 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 8031882C 0031578C 90 03 80 00 */ stw r0, 0xCC008000@l(r3) -/* 80318830 00315790 C0 01 01 0C */ lfs f0, 0x10c(r1) -/* 80318834 00315794 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 80318838 00315798 C0 01 01 08 */ lfs f0, 0x108(r1) -/* 8031883C 0031579C D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 80318840 003157A0 4B FE FD 41 */ bl End__3CGXFv -/* 80318844 003157A4 48 00 02 08 */ b lbl_80318A4C -lbl_80318848: -/* 80318848 003157A8 38 60 00 80 */ li r3, 0x80 -/* 8031884C 003157AC 4B FF 2E 1D */ bl StreamBegin__9CGraphicsF13ERglPrimitive -/* 80318850 003157B0 80 61 00 24 */ lwz r3, 0x24(r1) -/* 80318854 003157B4 4B FF 2D 19 */ bl StreamColor__9CGraphicsFUi -/* 80318858 003157B8 C0 21 01 0C */ lfs f1, 0x10c(r1) -/* 8031885C 003157BC C0 41 01 10 */ lfs f2, 0x110(r1) -/* 80318860 003157C0 4B FF 2C 05 */ bl StreamTexcoord__9CGraphicsFff -/* 80318864 003157C4 C0 22 C9 F8 */ lfs f1, lbl_805AE718@sda21(r2) -/* 80318868 003157C8 C0 42 C9 E8 */ lfs f2, lbl_805AE708@sda21(r2) -/* 8031886C 003157CC FC 60 08 90 */ fmr f3, f1 -/* 80318870 003157D0 4B FF 2D C9 */ bl StreamVertex__9CGraphicsFfff -/* 80318874 003157D4 C0 21 01 04 */ lfs f1, 0x104(r1) -/* 80318878 003157D8 C0 41 01 10 */ lfs f2, 0x110(r1) -/* 8031887C 003157DC 4B FF 2B E9 */ bl StreamTexcoord__9CGraphicsFff -/* 80318880 003157E0 C0 22 C9 FC */ lfs f1, lbl_805AE71C@sda21(r2) -/* 80318884 003157E4 C0 42 C9 E8 */ lfs f2, lbl_805AE708@sda21(r2) -/* 80318888 003157E8 C0 62 C9 F8 */ lfs f3, lbl_805AE718@sda21(r2) -/* 8031888C 003157EC 4B FF 2D AD */ bl StreamVertex__9CGraphicsFfff -/* 80318890 003157F0 C0 21 01 04 */ lfs f1, 0x104(r1) -/* 80318894 003157F4 C0 41 01 08 */ lfs f2, 0x108(r1) -/* 80318898 003157F8 4B FF 2B CD */ bl StreamTexcoord__9CGraphicsFff -/* 8031889C 003157FC C0 22 C9 FC */ lfs f1, lbl_805AE71C@sda21(r2) -/* 803188A0 00315800 C0 42 C9 E8 */ lfs f2, lbl_805AE708@sda21(r2) -/* 803188A4 00315804 FC 60 08 90 */ fmr f3, f1 -/* 803188A8 00315808 4B FF 2D 91 */ bl StreamVertex__9CGraphicsFfff -/* 803188AC 0031580C C0 21 01 0C */ lfs f1, 0x10c(r1) -/* 803188B0 00315810 C0 41 01 08 */ lfs f2, 0x108(r1) -/* 803188B4 00315814 4B FF 2B B1 */ bl StreamTexcoord__9CGraphicsFff -/* 803188B8 00315818 C0 22 C9 F8 */ lfs f1, lbl_805AE718@sda21(r2) -/* 803188BC 0031581C C0 42 C9 E8 */ lfs f2, lbl_805AE708@sda21(r2) -/* 803188C0 00315820 C0 62 C9 FC */ lfs f3, lbl_805AE71C@sda21(r2) -/* 803188C4 00315824 4B FF 2D 75 */ bl StreamVertex__9CGraphicsFfff -/* 803188C8 00315828 4B FF 2B 49 */ bl StreamEnd__9CGraphicsFv -/* 803188CC 0031582C 48 00 01 80 */ b lbl_80318A4C -lbl_803188D0: -/* 803188D0 00315830 88 0D A8 B9 */ lbz r0, lbl_805A9479@sda21(r13) -/* 803188D4 00315834 83 84 00 50 */ lwz r28, 0x50(r4) -/* 803188D8 00315838 28 00 00 00 */ cmplwi r0, 0 -/* 803188DC 0031583C 41 82 00 6C */ beq lbl_80318948 -/* 803188E0 00315840 C0 22 C9 F0 */ lfs f1, lbl_805AE710@sda21(r2) -/* 803188E4 00315844 38 80 00 05 */ li r4, 5 -/* 803188E8 00315848 38 60 00 00 */ li r3, 0 -/* 803188EC 0031584C 38 00 00 03 */ li r0, 3 -/* 803188F0 00315850 FC 40 08 90 */ fmr f2, f1 -/* 803188F4 00315854 98 81 00 50 */ stb r4, 0x50(r1) -/* 803188F8 00315858 FC 60 08 90 */ fmr f3, f1 -/* 803188FC 0031585C C0 82 C9 F8 */ lfs f4, lbl_805AE718@sda21(r2) -/* 80318900 00315860 98 61 00 51 */ stb r3, 0x51(r1) -/* 80318904 00315864 7F 03 C3 78 */ mr r3, r24 -/* 80318908 00315868 B0 01 00 52 */ sth r0, 0x52(r1) -/* 8031890C 0031586C 48 04 AA E1 */ bl __ct__6CColorFffff -/* 80318910 00315870 A0 01 00 52 */ lhz r0, 0x52(r1) -/* 80318914 00315874 7F 83 E3 78 */ mr r3, r28 -/* 80318918 00315878 88 E1 00 50 */ lbz r7, 0x50(r1) -/* 8031891C 0031587C 38 81 00 58 */ addi r4, r1, 0x58 -/* 80318920 00315880 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d -/* 80318924 00315884 88 C1 00 51 */ lbz r6, 0x51(r1) -/* 80318928 00315888 60 05 00 01 */ ori r5, r0, 1 -/* 8031892C 0031588C 80 01 00 54 */ lwz r0, 0x54(r1) -/* 80318930 00315890 98 E1 00 58 */ stb r7, 0x58(r1) -/* 80318934 00315894 98 C1 00 59 */ stb r6, 0x59(r1) -/* 80318938 00315898 B0 A1 00 5A */ sth r5, 0x5a(r1) -/* 8031893C 0031589C 90 01 00 5C */ stw r0, 0x5c(r1) -/* 80318940 003158A0 48 03 D2 95 */ bl Draw__6CModelCFRC11CModelFlags -/* 80318944 003158A4 48 00 01 08 */ b lbl_80318A4C -lbl_80318948: -/* 80318948 003158A8 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f -/* 8031894C 003158AC 41 82 00 4C */ beq lbl_80318998 -/* 80318950 003158B0 38 C0 00 03 */ li r6, 3 -/* 80318954 003158B4 80 A1 00 24 */ lwz r5, 0x24(r1) -/* 80318958 003158B8 54 C0 00 3A */ rlwinm r0, r6, 0, 0, 0x1d -/* 8031895C 003158BC 39 00 00 07 */ li r8, 7 -/* 80318960 003158C0 38 E0 00 00 */ li r7, 0 -/* 80318964 003158C4 99 01 00 40 */ stb r8, 0x40(r1) -/* 80318968 003158C8 60 00 00 01 */ ori r0, r0, 1 -/* 8031896C 003158CC 7F 83 E3 78 */ mr r3, r28 -/* 80318970 003158D0 98 E1 00 41 */ stb r7, 0x41(r1) -/* 80318974 003158D4 38 81 00 48 */ addi r4, r1, 0x48 -/* 80318978 003158D8 B0 C1 00 42 */ sth r6, 0x42(r1) -/* 8031897C 003158DC 90 A1 00 44 */ stw r5, 0x44(r1) -/* 80318980 003158E0 99 01 00 48 */ stb r8, 0x48(r1) -/* 80318984 003158E4 98 E1 00 49 */ stb r7, 0x49(r1) -/* 80318988 003158E8 B0 01 00 4A */ sth r0, 0x4a(r1) -/* 8031898C 003158EC 90 A1 00 4C */ stw r5, 0x4c(r1) -/* 80318990 003158F0 48 03 D2 45 */ bl Draw__6CModelCFRC11CModelFlags -/* 80318994 003158F4 48 00 00 B8 */ b lbl_80318A4C -lbl_80318998: -/* 80318998 003158F8 E0 01 A0 27 */ psq_l f0, 39(r1), 1, qr2 -/* 8031899C 003158FC C0 82 C9 EC */ lfs f4, lbl_805AE70C@sda21(r2) -/* 803189A0 00315900 C0 22 C9 F0 */ lfs f1, lbl_805AE710@sda21(r2) -/* 803189A4 00315904 EC 04 00 32 */ fmuls f0, f4, f0 -/* 803189A8 00315908 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 803189AC 0031590C 40 82 00 3C */ bne lbl_803189E8 -/* 803189B0 00315910 38 80 00 00 */ li r4, 0 -/* 803189B4 00315914 38 00 00 03 */ li r0, 3 -/* 803189B8 00315918 FC 40 08 90 */ fmr f2, f1 -/* 803189BC 0031591C 98 81 00 38 */ stb r4, 0x38(r1) -/* 803189C0 00315920 FC 60 08 90 */ fmr f3, f1 -/* 803189C4 00315924 7E E3 BB 78 */ mr r3, r23 -/* 803189C8 00315928 FC 80 08 90 */ fmr f4, f1 -/* 803189CC 0031592C 98 81 00 39 */ stb r4, 0x39(r1) -/* 803189D0 00315930 B0 01 00 3A */ sth r0, 0x3a(r1) -/* 803189D4 00315934 48 04 AA 19 */ bl __ct__6CColorFffff -/* 803189D8 00315938 7F 83 E3 78 */ mr r3, r28 -/* 803189DC 0031593C 38 81 00 38 */ addi r4, r1, 0x38 -/* 803189E0 00315940 48 03 D1 F5 */ bl Draw__6CModelCFRC11CModelFlags -/* 803189E4 00315944 48 00 00 68 */ b lbl_80318A4C -lbl_803189E8: -/* 803189E8 00315948 E0 01 A0 27 */ psq_l f0, 39(r1), 1, qr2 -/* 803189EC 0031594C 38 60 00 05 */ li r3, 5 -/* 803189F0 00315950 38 80 00 00 */ li r4, 0 -/* 803189F4 00315954 38 00 00 03 */ li r0, 3 -/* 803189F8 00315958 FC 40 08 90 */ fmr f2, f1 -/* 803189FC 0031595C 98 61 00 28 */ stb r3, 0x28(r1) -/* 80318A00 00315960 FC 60 08 90 */ fmr f3, f1 -/* 80318A04 00315964 7E C3 B3 78 */ mr r3, r22 -/* 80318A08 00315968 EC 84 00 32 */ fmuls f4, f4, f0 -/* 80318A0C 0031596C 98 81 00 29 */ stb r4, 0x29(r1) -/* 80318A10 00315970 B0 01 00 2A */ sth r0, 0x2a(r1) -/* 80318A14 00315974 48 04 A9 D9 */ bl __ct__6CColorFffff -/* 80318A18 00315978 A0 01 00 2A */ lhz r0, 0x2a(r1) -/* 80318A1C 0031597C 7F 83 E3 78 */ mr r3, r28 -/* 80318A20 00315980 88 E1 00 28 */ lbz r7, 0x28(r1) -/* 80318A24 00315984 38 81 00 30 */ addi r4, r1, 0x30 -/* 80318A28 00315988 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d -/* 80318A2C 0031598C 88 C1 00 29 */ lbz r6, 0x29(r1) -/* 80318A30 00315990 60 05 00 01 */ ori r5, r0, 1 -/* 80318A34 00315994 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 80318A38 00315998 98 E1 00 30 */ stb r7, 0x30(r1) -/* 80318A3C 0031599C 98 C1 00 31 */ stb r6, 0x31(r1) -/* 80318A40 003159A0 B0 A1 00 32 */ sth r5, 0x32(r1) -/* 80318A44 003159A4 90 01 00 34 */ stw r0, 0x34(r1) -/* 80318A48 003159A8 48 03 D1 8D */ bl Draw__6CModelCFRC11CModelFlags -lbl_80318A4C: -/* 80318A4C 003159AC 3B 7B 00 38 */ addi r27, r27, 0x38 -/* 80318A50 003159B0 3B 5A 00 20 */ addi r26, r26, 0x20 -/* 80318A54 003159B4 3B 39 00 24 */ addi r25, r25, 0x24 -/* 80318A58 003159B8 3A B5 00 01 */ addi r21, r21, 1 -lbl_80318A5C: -/* 80318A5C 003159BC 80 1E 00 34 */ lwz r0, 0x34(r30) -/* 80318A60 003159C0 7C 15 00 00 */ cmpw r21, r0 -/* 80318A64 003159C4 41 80 F9 68 */ blt lbl_803183CC -/* 80318A68 003159C8 88 1E 02 6D */ lbz r0, 0x26d(r30) -/* 80318A6C 003159CC 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 80318A70 003159D0 41 82 00 08 */ beq lbl_80318A78 -/* 80318A74 003159D4 4B FF 3F 09 */ bl DisableAllLights__9CGraphicsFv -lbl_80318A78: -/* 80318A78 003159D8 38 60 00 01 */ li r3, 1 -/* 80318A7C 003159DC 4B FF 2F F5 */ bl SetCullMode__9CGraphicsF12ERglCullMode -/* 80318A80 003159E0 4B FF 04 29 */ bl ResetStates__13CTevCombinersFv -/* 80318A84 003159E4 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 80318A88 003159E8 41 82 00 14 */ beq lbl_80318A9C -/* 80318A8C 003159EC 38 60 00 01 */ li r3, 1 -/* 80318A90 003159F0 38 80 00 00 */ li r4, 0 -/* 80318A94 003159F4 38 A0 00 00 */ li r5, 0 -/* 80318A98 003159F8 48 06 2D 99 */ bl GXSetTevSwapMode -lbl_80318A9C: -/* 80318A9C 003159FC 38 60 00 07 */ li r3, 7 -/* 80318AA0 00315A00 38 80 00 00 */ li r4, 0 -/* 80318AA4 00315A04 38 A0 00 00 */ li r5, 0 -/* 80318AA8 00315A08 38 C0 00 07 */ li r6, 7 -/* 80318AAC 00315A0C 38 E0 00 00 */ li r7, 0 -/* 80318AB0 00315A10 4B FF 2F 79 */ bl SetAlphaCompare__9CGraphicsF13ERglAlphaFuncUc11ERglAlphaOp13ERglAlphaFuncUc -/* 80318AB4 00315A14 38 61 00 F8 */ addi r3, r1, 0xf8 -/* 80318AB8 00315A18 38 80 FF FF */ li r4, -1 -/* 80318ABC 00315A1C 4B FF 9B 49 */ bl __dt__13CGlobalRandomFv -/* 80318AC0 00315A20 E3 E1 05 38 */ psq_l f31, 1336(r1), 0, qr0 -/* 80318AC4 00315A24 CB E1 05 30 */ lfd f31, 0x530(r1) -/* 80318AC8 00315A28 E3 C1 05 28 */ psq_l f30, 1320(r1), 0, qr0 -/* 80318ACC 00315A2C CB C1 05 20 */ lfd f30, 0x520(r1) -/* 80318AD0 00315A30 E3 A1 05 18 */ psq_l f29, 1304(r1), 0, qr0 -/* 80318AD4 00315A34 CB A1 05 10 */ lfd f29, 0x510(r1) -/* 80318AD8 00315A38 BA 81 04 E0 */ lmw r20, 0x4e0(r1) -/* 80318ADC 00315A3C 80 01 05 44 */ lwz r0, 0x544(r1) -/* 80318AE0 00315A40 7C 08 03 A6 */ mtlr r0 -/* 80318AE4 00315A44 38 21 05 40 */ addi r1, r1, 0x540 -/* 80318AE8 00315A48 4E 80 00 20 */ blr - -.global RenderLines__11CElementGenFv -RenderLines__11CElementGenFv: -/* 80318AEC 00315A4C 94 21 FD 00 */ stwu r1, -0x300(r1) -/* 80318AF0 00315A50 7C 08 02 A6 */ mflr r0 -/* 80318AF4 00315A54 90 01 03 04 */ stw r0, 0x304(r1) -/* 80318AF8 00315A58 DB E1 02 F0 */ stfd f31, 0x2f0(r1) -/* 80318AFC 00315A5C F3 E1 02 F8 */ psq_st f31, 760(r1), 0, qr0 -/* 80318B00 00315A60 DB C1 02 E0 */ stfd f30, 0x2e0(r1) -/* 80318B04 00315A64 F3 C1 02 E8 */ psq_st f30, 744(r1), 0, qr0 -/* 80318B08 00315A68 DB A1 02 D0 */ stfd f29, 0x2d0(r1) -/* 80318B0C 00315A6C F3 A1 02 D8 */ psq_st f29, 728(r1), 0, qr0 -/* 80318B10 00315A70 DB 81 02 C0 */ stfd f28, 0x2c0(r1) -/* 80318B14 00315A74 F3 81 02 C8 */ psq_st f28, 712(r1), 0, qr0 -/* 80318B18 00315A78 DB 61 02 B0 */ stfd f27, 0x2b0(r1) -/* 80318B1C 00315A7C F3 61 02 B8 */ psq_st f27, 696(r1), 0, qr0 -/* 80318B20 00315A80 DB 41 02 A0 */ stfd f26, 0x2a0(r1) -/* 80318B24 00315A84 F3 41 02 A8 */ psq_st f26, 680(r1), 0, qr0 -/* 80318B28 00315A88 DB 21 02 90 */ stfd f25, 0x290(r1) -/* 80318B2C 00315A8C F3 21 02 98 */ psq_st f25, 664(r1), 0, qr0 -/* 80318B30 00315A90 BF 21 02 74 */ stmw r25, 0x274(r1) -/* 80318B34 00315A94 7C 7C 1B 78 */ mr r28, r3 -/* 80318B38 00315A98 38 61 00 B0 */ addi r3, r1, 0xb0 -/* 80318B3C 00315A9C 80 DC 03 38 */ lwz r6, 0x338(r28) -/* 80318B40 00315AA0 38 9C 02 7C */ addi r4, r28, 0x27c -/* 80318B44 00315AA4 20 A6 FF FF */ subfic r5, r6, -1 -/* 80318B48 00315AA8 38 06 00 01 */ addi r0, r6, 1 -/* 80318B4C 00315AAC 7C A0 03 78 */ or r0, r5, r0 -/* 80318B50 00315AB0 54 1E 0F FE */ srwi r30, r0, 0x1f -/* 80318B54 00315AB4 4B FF 9B 2D */ bl __ct__13CGlobalRandomFR9CRandom16 -/* 80318B58 00315AB8 3C 80 80 5A */ lis r4, lbl_805A61D4@ha -/* 80318B5C 00315ABC 38 61 02 34 */ addi r3, r1, 0x234 -/* 80318B60 00315AC0 38 84 61 D4 */ addi r4, r4, lbl_805A61D4@l -/* 80318B64 00315AC4 4B FF A0 11 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80318B68 00315AC8 3C 80 80 5A */ lis r4, skZero3f@ha -/* 80318B6C 00315ACC 38 61 01 A4 */ addi r3, r1, 0x1a4 -/* 80318B70 00315AD0 38 A4 66 A0 */ addi r5, r4, skZero3f@l -/* 80318B74 00315AD4 38 81 02 34 */ addi r4, r1, 0x234 -/* 80318B78 00315AD8 C0 45 00 00 */ lfs f2, 0(r5) -/* 80318B7C 00315ADC C0 25 00 04 */ lfs f1, 4(r5) -/* 80318B80 00315AE0 C0 05 00 08 */ lfs f0, 8(r5) -/* 80318B84 00315AE4 D0 41 02 40 */ stfs f2, 0x240(r1) -/* 80318B88 00315AE8 D0 21 02 50 */ stfs f1, 0x250(r1) -/* 80318B8C 00315AEC D0 01 02 60 */ stfs f0, 0x260(r1) -/* 80318B90 00315AF0 4B FF A1 0D */ bl GetQuickInverse__12CTransform4fCFv -/* 80318B94 00315AF4 38 61 01 D4 */ addi r3, r1, 0x1d4 -/* 80318B98 00315AF8 38 81 01 A4 */ addi r4, r1, 0x1a4 -/* 80318B9C 00315AFC 38 BC 02 2C */ addi r5, r28, 0x22c -/* 80318BA0 00315B00 4B FF 9D B1 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 80318BA4 00315B04 38 61 02 04 */ addi r3, r1, 0x204 -/* 80318BA8 00315B08 38 81 01 D4 */ addi r4, r1, 0x1d4 -/* 80318BAC 00315B0C 4B FF 9F C9 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80318BB0 00315B10 38 61 00 E4 */ addi r3, r1, 0xe4 -/* 80318BB4 00315B14 38 9C 00 E8 */ addi r4, r28, 0xe8 -/* 80318BB8 00315B18 4B FF A5 89 */ bl Translate__12CTransform4fFRC9CVector3f -/* 80318BBC 00315B1C 38 61 01 14 */ addi r3, r1, 0x114 -/* 80318BC0 00315B20 38 81 00 E4 */ addi r4, r1, 0xe4 -/* 80318BC4 00315B24 38 BC 01 0C */ addi r5, r28, 0x10c -/* 80318BC8 00315B28 4B FF 9D 89 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 80318BCC 00315B2C 38 61 01 44 */ addi r3, r1, 0x144 -/* 80318BD0 00315B30 38 81 01 14 */ addi r4, r1, 0x114 -/* 80318BD4 00315B34 38 A1 02 34 */ addi r5, r1, 0x234 -/* 80318BD8 00315B38 4B FF 9D 79 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 80318BDC 00315B3C 38 61 01 74 */ addi r3, r1, 0x174 -/* 80318BE0 00315B40 38 81 01 44 */ addi r4, r1, 0x144 -/* 80318BE4 00315B44 38 BC 01 78 */ addi r5, r28, 0x178 -/* 80318BE8 00315B48 4B FF 9D 69 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 80318BEC 00315B4C 38 61 02 34 */ addi r3, r1, 0x234 -/* 80318BF0 00315B50 38 81 01 74 */ addi r4, r1, 0x174 -/* 80318BF4 00315B54 4B FF 9F 4D */ bl __as__12CTransform4fFRC12CTransform4f -/* 80318BF8 00315B58 38 61 02 34 */ addi r3, r1, 0x234 -/* 80318BFC 00315B5C 4B FF 39 E5 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f -/* 80318C00 00315B60 38 60 00 07 */ li r3, 7 -/* 80318C04 00315B64 38 80 00 00 */ li r4, 0 -/* 80318C08 00315B68 38 A0 00 00 */ li r5, 0 -/* 80318C0C 00315B6C 38 C0 00 07 */ li r6, 7 -/* 80318C10 00315B70 38 E0 00 00 */ li r7, 0 -/* 80318C14 00315B74 4B FF 2E 15 */ bl SetAlphaCompare__9CGraphicsF13ERglAlphaFuncUc11ERglAlphaOp13ERglAlphaFuncUc -/* 80318C18 00315B78 88 1C 02 6C */ lbz r0, 0x26c(r28) -/* 80318C1C 00315B7C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 80318C20 00315B80 41 82 00 2C */ beq lbl_80318C4C -/* 80318C24 00315B84 38 60 00 01 */ li r3, 1 -/* 80318C28 00315B88 38 80 00 03 */ li r4, 3 -/* 80318C2C 00315B8C 38 A0 00 00 */ li r5, 0 -/* 80318C30 00315B90 4B FF 2E 65 */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb -/* 80318C34 00315B94 38 60 00 01 */ li r3, 1 -/* 80318C38 00315B98 38 80 00 04 */ li r4, 4 -/* 80318C3C 00315B9C 38 A0 00 01 */ li r5, 1 -/* 80318C40 00315BA0 38 C0 00 00 */ li r6, 0 -/* 80318C44 00315BA4 4B FF 2E 0D */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp -/* 80318C48 00315BA8 48 00 00 28 */ b lbl_80318C70 -lbl_80318C4C: -/* 80318C4C 00315BAC 38 60 00 01 */ li r3, 1 -/* 80318C50 00315BB0 38 80 00 03 */ li r4, 3 -/* 80318C54 00315BB4 38 A0 00 01 */ li r5, 1 -/* 80318C58 00315BB8 4B FF 2E 3D */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb -/* 80318C5C 00315BBC 38 60 00 01 */ li r3, 1 -/* 80318C60 00315BC0 38 80 00 04 */ li r4, 4 -/* 80318C64 00315BC4 38 A0 00 05 */ li r5, 5 -/* 80318C68 00315BC8 38 C0 00 00 */ li r6, 0 -/* 80318C6C 00315BCC 4B FF 2D E5 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp -lbl_80318C70: -/* 80318C70 00315BD0 C0 22 C9 E8 */ lfs f1, lbl_805AE708@sda21(r2) -/* 80318C74 00315BD4 3B 20 00 01 */ li r25, 1 -/* 80318C78 00315BD8 C0 02 C9 F0 */ lfs f0, lbl_805AE710@sda21(r2) -/* 80318C7C 00315BDC 3B E0 00 00 */ li r31, 0 -/* 80318C80 00315BE0 D0 21 00 A0 */ stfs f1, 0xa0(r1) -/* 80318C84 00315BE4 D0 01 00 A8 */ stfs f0, 0xa8(r1) -/* 80318C88 00315BE8 D0 21 00 A4 */ stfs f1, 0xa4(r1) -/* 80318C8C 00315BEC D0 01 00 AC */ stfs f0, 0xac(r1) -/* 80318C90 00315BF0 80 7C 00 28 */ lwz r3, 0x28(r28) -/* 80318C94 00315BF4 80 63 00 18 */ lwz r3, 0x18(r3) -/* 80318C98 00315BF8 28 03 00 00 */ cmplwi r3, 0 -/* 80318C9C 00315BFC 41 82 00 20 */ beq lbl_80318CBC -/* 80318CA0 00315C00 81 83 00 00 */ lwz r12, 0(r3) -/* 80318CA4 00315C04 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80318CA8 00315C08 7D 89 03 A6 */ mtctr r12 -/* 80318CAC 00315C0C 4E 80 04 21 */ bctrl -/* 80318CB0 00315C10 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80318CB4 00315C14 41 82 00 08 */ beq lbl_80318CBC -/* 80318CB8 00315C18 3B E0 00 01 */ li r31, 1 -lbl_80318CBC: -/* 80318CBC 00315C1C 80 7C 00 28 */ lwz r3, 0x28(r28) -/* 80318CC0 00315C20 80 83 00 40 */ lwz r4, 0x40(r3) -/* 80318CC4 00315C24 28 04 00 00 */ cmplwi r4, 0 -/* 80318CC8 00315C28 41 82 01 EC */ beq lbl_80318EB4 -/* 80318CCC 00315C2C 80 BC 00 3C */ lwz r5, 0x3c(r28) -/* 80318CD0 00315C30 38 61 00 88 */ addi r3, r1, 0x88 -/* 80318CD4 00315C34 81 84 00 00 */ lwz r12, 0(r4) -/* 80318CD8 00315C38 80 A5 00 28 */ lwz r5, 0x28(r5) -/* 80318CDC 00315C3C 80 1C 00 74 */ lwz r0, 0x74(r28) -/* 80318CE0 00315C40 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80318CE4 00315C44 7C A5 00 50 */ subf r5, r5, r0 -/* 80318CE8 00315C48 7D 89 03 A6 */ mtctr r12 -/* 80318CEC 00315C4C 4E 80 04 21 */ bctrl -/* 80318CF0 00315C50 38 61 00 30 */ addi r3, r1, 0x30 -/* 80318CF4 00315C54 38 81 00 88 */ addi r4, r1, 0x88 -/* 80318CF8 00315C58 48 02 81 B1 */ bl __ct__6CTokenFRC6CToken -/* 80318CFC 00315C5C 38 61 00 88 */ addi r3, r1, 0x88 -/* 80318D00 00315C60 38 80 00 00 */ li r4, 0 -/* 80318D04 00315C64 48 02 81 3D */ bl __dt__6CTokenFv -/* 80318D08 00315C68 38 61 00 30 */ addi r3, r1, 0x30 -/* 80318D0C 00315C6C 48 02 81 01 */ bl GetObj__6CTokenFv -/* 80318D10 00315C70 80 63 00 04 */ lwz r3, 4(r3) -/* 80318D14 00315C74 38 80 00 00 */ li r4, 0 -/* 80318D18 00315C78 38 A0 00 01 */ li r5, 1 -/* 80318D1C 00315C7C 4B FF 6A 21 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode -/* 80318D20 00315C80 3C 80 80 5A */ lis r4, lbl_805A5EBC@ha -/* 80318D24 00315C84 38 60 00 00 */ li r3, 0 -/* 80318D28 00315C88 38 84 5E BC */ addi r4, r4, lbl_805A5EBC@l -/* 80318D2C 00315C8C 4B FF 15 8D */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass -/* 80318D30 00315C90 28 1E 00 00 */ cmplwi r30, 0 -/* 80318D34 00315C94 41 82 01 18 */ beq lbl_80318E4C -/* 80318D38 00315C98 88 0D A8 C5 */ lbz r0, lbl_805A9485@sda21(r13) -/* 80318D3C 00315C9C 7C 00 07 75 */ extsb. r0, r0 -/* 80318D40 00315CA0 40 82 00 F8 */ bne lbl_80318E38 -/* 80318D44 00315CA4 38 00 00 00 */ li r0, 0 -/* 80318D48 00315CA8 38 A0 00 01 */ li r5, 1 -/* 80318D4C 00315CAC 98 A1 00 BC */ stb r5, 0xbc(r1) -/* 80318D50 00315CB0 38 61 00 0C */ addi r3, r1, 0xc -/* 80318D54 00315CB4 38 80 00 07 */ li r4, 7 -/* 80318D58 00315CB8 90 01 00 C0 */ stw r0, 0xc0(r1) -/* 80318D5C 00315CBC 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 80318D60 00315CC0 90 01 00 C8 */ stw r0, 0xc8(r1) -/* 80318D64 00315CC4 90 01 00 CC */ stw r0, 0xcc(r1) -/* 80318D68 00315CC8 98 A1 00 D0 */ stb r5, 0xd0(r1) -/* 80318D6C 00315CCC 90 01 00 D4 */ stw r0, 0xd4(r1) -/* 80318D70 00315CD0 90 01 00 D8 */ stw r0, 0xd8(r1) -/* 80318D74 00315CD4 90 01 00 DC */ stw r0, 0xdc(r1) -/* 80318D78 00315CD8 90 01 00 E0 */ stw r0, 0xe0(r1) -/* 80318D7C 00315CDC 4B FF 03 B1 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc -/* 80318D80 00315CE0 38 61 00 10 */ addi r3, r1, 0x10 -/* 80318D84 00315CE4 38 80 00 05 */ li r4, 5 -/* 80318D88 00315CE8 4B FF 03 A5 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc -/* 80318D8C 00315CEC 38 61 00 14 */ addi r3, r1, 0x14 -/* 80318D90 00315CF0 38 80 00 00 */ li r4, 0 -/* 80318D94 00315CF4 4B FF 03 99 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc -/* 80318D98 00315CF8 38 61 00 18 */ addi r3, r1, 0x18 -/* 80318D9C 00315CFC 38 80 00 07 */ li r4, 7 -/* 80318DA0 00315D00 4B FF 03 8D */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc -/* 80318DA4 00315D04 80 E1 00 18 */ lwz r7, 0x18(r1) -/* 80318DA8 00315D08 38 61 00 1C */ addi r3, r1, 0x1c -/* 80318DAC 00315D0C 80 C1 00 14 */ lwz r6, 0x14(r1) -/* 80318DB0 00315D10 38 80 00 0F */ li r4, 0xf -/* 80318DB4 00315D14 80 A1 00 10 */ lwz r5, 0x10(r1) -/* 80318DB8 00315D18 80 01 00 0C */ lwz r0, 0xc(r1) -/* 80318DBC 00315D1C 90 E1 00 68 */ stw r7, 0x68(r1) -/* 80318DC0 00315D20 90 C1 00 6C */ stw r6, 0x6c(r1) -/* 80318DC4 00315D24 90 A1 00 70 */ stw r5, 0x70(r1) -/* 80318DC8 00315D28 90 01 00 74 */ stw r0, 0x74(r1) -/* 80318DCC 00315D2C 4B FF 03 59 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc -/* 80318DD0 00315D30 38 61 00 20 */ addi r3, r1, 0x20 -/* 80318DD4 00315D34 38 80 00 0A */ li r4, 0xa -/* 80318DD8 00315D38 4B FF 03 4D */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc -/* 80318DDC 00315D3C 38 61 00 24 */ addi r3, r1, 0x24 -/* 80318DE0 00315D40 38 80 00 00 */ li r4, 0 -/* 80318DE4 00315D44 4B FF 03 41 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc -/* 80318DE8 00315D48 38 61 00 28 */ addi r3, r1, 0x28 -/* 80318DEC 00315D4C 38 80 00 0F */ li r4, 0xf -/* 80318DF0 00315D50 4B FF 03 35 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc -/* 80318DF4 00315D54 80 A1 00 28 */ lwz r5, 0x28(r1) -/* 80318DF8 00315D58 3C 60 80 4C */ lis r3, lbl_804BFEB4@ha -/* 80318DFC 00315D5C 81 21 00 24 */ lwz r9, 0x24(r1) -/* 80318E00 00315D60 38 63 FE B4 */ addi r3, r3, lbl_804BFEB4@l -/* 80318E04 00315D64 81 01 00 20 */ lwz r8, 0x20(r1) -/* 80318E08 00315D68 38 81 00 78 */ addi r4, r1, 0x78 -/* 80318E0C 00315D6C 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 80318E10 00315D70 38 C1 00 D0 */ addi r6, r1, 0xd0 -/* 80318E14 00315D74 90 A1 00 78 */ stw r5, 0x78(r1) -/* 80318E18 00315D78 38 A1 00 68 */ addi r5, r1, 0x68 -/* 80318E1C 00315D7C 38 E1 00 BC */ addi r7, r1, 0xbc -/* 80318E20 00315D80 91 21 00 7C */ stw r9, 0x7c(r1) -/* 80318E24 00315D84 91 01 00 80 */ stw r8, 0x80(r1) -/* 80318E28 00315D88 90 01 00 84 */ stw r0, 0x84(r1) -/* 80318E2C 00315D8C 4B FF 04 29 */ bl sub_80309254 -/* 80318E30 00315D90 38 00 00 01 */ li r0, 1 -/* 80318E34 00315D94 98 0D A8 C5 */ stb r0, lbl_805A9485@sda21(r13) -lbl_80318E38: -/* 80318E38 00315D98 3C 80 80 4C */ lis r4, lbl_804BFEB4@ha -/* 80318E3C 00315D9C 38 60 00 01 */ li r3, 1 -/* 80318E40 00315DA0 38 84 FE B4 */ addi r4, r4, lbl_804BFEB4@l -/* 80318E44 00315DA4 4B FF 14 75 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass -/* 80318E48 00315DA8 48 00 00 10 */ b lbl_80318E58 -lbl_80318E4C: -/* 80318E4C 00315DAC 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) -/* 80318E50 00315DB0 38 60 00 01 */ li r3, 1 -/* 80318E54 00315DB4 4B FF 14 65 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass -lbl_80318E58: -/* 80318E58 00315DB8 80 7C 00 28 */ lwz r3, 0x28(r28) -/* 80318E5C 00315DBC 38 A1 00 A0 */ addi r5, r1, 0xa0 -/* 80318E60 00315DC0 80 9C 00 3C */ lwz r4, 0x3c(r28) -/* 80318E64 00315DC4 80 63 00 40 */ lwz r3, 0x40(r3) -/* 80318E68 00315DC8 80 84 00 28 */ lwz r4, 0x28(r4) -/* 80318E6C 00315DCC 81 83 00 00 */ lwz r12, 0(r3) -/* 80318E70 00315DD0 80 1C 00 74 */ lwz r0, 0x74(r28) -/* 80318E74 00315DD4 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80318E78 00315DD8 7C 84 00 50 */ subf r4, r4, r0 -/* 80318E7C 00315DDC 7D 89 03 A6 */ mtctr r12 -/* 80318E80 00315DE0 4E 80 04 21 */ bctrl -/* 80318E84 00315DE4 80 7C 00 28 */ lwz r3, 0x28(r28) -/* 80318E88 00315DE8 80 63 00 40 */ lwz r3, 0x40(r3) -/* 80318E8C 00315DEC 81 83 00 00 */ lwz r12, 0(r3) -/* 80318E90 00315DF0 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 80318E94 00315DF4 7D 89 03 A6 */ mtctr r12 -/* 80318E98 00315DF8 4E 80 04 21 */ bctrl -/* 80318E9C 00315DFC 7C 60 1B 78 */ mr r0, r3 -/* 80318EA0 00315E00 38 61 00 30 */ addi r3, r1, 0x30 -/* 80318EA4 00315E04 7C 19 03 78 */ mr r25, r0 -/* 80318EA8 00315E08 38 80 00 00 */ li r4, 0 -/* 80318EAC 00315E0C 48 02 7F 95 */ bl __dt__6CTokenFv -/* 80318EB0 00315E10 48 00 00 1C */ b lbl_80318ECC -lbl_80318EB4: -/* 80318EB4 00315E14 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) -/* 80318EB8 00315E18 38 60 00 00 */ li r3, 0 -/* 80318EBC 00315E1C 4B FF 13 FD */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass -/* 80318EC0 00315E20 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) -/* 80318EC4 00315E24 38 60 00 01 */ li r3, 1 -/* 80318EC8 00315E28 4B FF 13 F1 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass -lbl_80318ECC: -/* 80318ECC 00315E2C 3C 60 80 3D */ lis r3, lbl_803D78D0@ha -/* 80318ED0 00315E30 38 63 78 D0 */ addi r3, r3, lbl_803D78D0@l -/* 80318ED4 00315E34 4B FE EF 55 */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList -/* 80318ED8 00315E38 28 1E 00 00 */ cmplwi r30, 0 -/* 80318EDC 00315E3C 41 82 00 50 */ beq lbl_80318F2C -/* 80318EE0 00315E40 38 60 00 02 */ li r3, 2 -/* 80318EE4 00315E44 4B FE FF 6D */ bl SetNumChans__3CGXFUc -/* 80318EE8 00315E48 38 60 00 01 */ li r3, 1 -/* 80318EEC 00315E4C 38 80 00 FF */ li r4, 0xff -/* 80318EF0 00315E50 38 A0 00 FF */ li r5, 0xff -/* 80318EF4 00315E54 38 C0 00 05 */ li r6, 5 -/* 80318EF8 00315E58 4B FE FA 55 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID -/* 80318EFC 00315E5C 38 9C 03 38 */ addi r4, r28, 0x338 -/* 80318F00 00315E60 38 60 00 01 */ li r3, 1 -/* 80318F04 00315E64 4B FE FE 59 */ bl SetChanMatColor__3CGXFQ23CGX10EChannelIdRC8_GXColor -/* 80318F08 00315E68 38 60 00 01 */ li r3, 1 -/* 80318F0C 00315E6C 38 80 00 00 */ li r4, 0 -/* 80318F10 00315E70 38 A0 00 00 */ li r5, 0 -/* 80318F14 00315E74 38 C0 00 00 */ li r6, 0 -/* 80318F18 00315E78 38 E0 00 00 */ li r7, 0 -/* 80318F1C 00315E7C 39 00 00 00 */ li r8, 0 -/* 80318F20 00315E80 39 20 00 02 */ li r9, 2 -/* 80318F24 00315E84 4B FE FD A9 */ bl SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn -/* 80318F28 00315E88 48 00 00 0C */ b lbl_80318F34 -lbl_80318F2C: -/* 80318F2C 00315E8C 38 60 00 01 */ li r3, 1 -/* 80318F30 00315E90 4B FE FF 21 */ bl SetNumChans__3CGXFUc -lbl_80318F34: -/* 80318F34 00315E94 38 60 00 01 */ li r3, 1 -/* 80318F38 00315E98 4B FE FE DD */ bl SetNumTexGens__3CGXFUc -/* 80318F3C 00315E9C 38 60 00 00 */ li r3, 0 -/* 80318F40 00315EA0 38 80 00 00 */ li r4, 0 -/* 80318F44 00315EA4 38 A0 00 00 */ li r5, 0 -/* 80318F48 00315EA8 38 C0 00 04 */ li r6, 4 -/* 80318F4C 00315EAC 4B FE FA 01 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID -/* 80318F50 00315EB0 38 60 00 00 */ li r3, 0 -/* 80318F54 00315EB4 38 80 00 00 */ li r4, 0 -/* 80318F58 00315EB8 38 A0 00 00 */ li r5, 0 -/* 80318F5C 00315EBC 38 C0 00 01 */ li r6, 1 -/* 80318F60 00315EC0 38 E0 00 00 */ li r7, 0 -/* 80318F64 00315EC4 39 00 00 00 */ li r8, 0 -/* 80318F68 00315EC8 39 20 00 02 */ li r9, 2 -/* 80318F6C 00315ECC 4B FE FD 61 */ bl SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn -/* 80318F70 00315ED0 38 60 00 00 */ li r3, 0 -/* 80318F74 00315ED4 38 80 00 01 */ li r4, 1 -/* 80318F78 00315ED8 38 A0 00 04 */ li r5, 4 -/* 80318F7C 00315EDC 38 C0 00 3C */ li r6, 0x3c -/* 80318F80 00315EE0 38 E0 00 00 */ li r7, 0 -/* 80318F84 00315EE4 39 00 00 7D */ li r8, 0x7d -/* 80318F88 00315EE8 4B FE F7 45 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx -/* 80318F8C 00315EEC 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 80318F90 00315EF0 41 82 00 84 */ beq lbl_80319014 -/* 80318F94 00315EF4 C0 02 C9 F0 */ lfs f0, lbl_805AE710@sda21(r2) -/* 80318F98 00315EF8 38 A1 00 2C */ addi r5, r1, 0x2c -/* 80318F9C 00315EFC 38 80 00 00 */ li r4, 0 -/* 80318FA0 00315F00 D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 80318FA4 00315F04 80 7C 00 28 */ lwz r3, 0x28(r28) -/* 80318FA8 00315F08 80 63 00 18 */ lwz r3, 0x18(r3) -/* 80318FAC 00315F0C 81 83 00 00 */ lwz r12, 0(r3) -/* 80318FB0 00315F10 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80318FB4 00315F14 7D 89 03 A6 */ mtctr r12 -/* 80318FB8 00315F18 4E 80 04 21 */ bctrl -/* 80318FBC 00315F1C C0 21 00 2C */ lfs f1, 0x2c(r1) -/* 80318FC0 00315F20 C0 02 C9 E8 */ lfs f0, lbl_805AE708@sda21(r2) -/* 80318FC4 00315F24 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80318FC8 00315F28 40 80 00 0C */ bge lbl_80318FD4 -/* 80318FCC 00315F2C D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 80318FD0 00315F30 48 00 00 14 */ b lbl_80318FE4 -lbl_80318FD4: -/* 80318FD4 00315F34 C0 02 CA 00 */ lfs f0, lbl_805AE720@sda21(r2) -/* 80318FD8 00315F38 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80318FDC 00315F3C 40 81 00 08 */ ble lbl_80318FE4 -/* 80318FE0 00315F40 D0 01 00 2C */ stfs f0, 0x2c(r1) -lbl_80318FE4: -/* 80318FE4 00315F44 C0 22 CA 04 */ lfs f1, lbl_805AE724@sda21(r2) -/* 80318FE8 00315F48 C0 01 00 2C */ lfs f0, 0x2c(r1) -/* 80318FEC 00315F4C EF C1 00 32 */ fmuls f30, f1, f0 -/* 80318FF0 00315F50 F3 C1 A0 09 */ psq_st f30, 9(r1), 1, qr2 -/* 80318FF4 00315F54 38 80 00 00 */ li r4, 0 -/* 80318FF8 00315F58 88 61 00 09 */ lbz r3, 9(r1) -/* 80318FFC 00315F5C 4B FE F4 BD */ bl SetLineWidth__3CGXFUc12_GXTexOffset -/* 80319000 00315F60 80 1C 00 34 */ lwz r0, 0x34(r28) -/* 80319004 00315F64 38 60 00 A8 */ li r3, 0xa8 -/* 80319008 00315F68 38 80 00 00 */ li r4, 0 -/* 8031900C 00315F6C 54 05 0C 3C */ rlwinm r5, r0, 1, 0x10, 0x1e -/* 80319010 00315F70 4B FE F5 75 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs -lbl_80319014: -/* 80319014 00315F74 57 3A 06 3E */ clrlwi r26, r25, 0x18 -/* 80319018 00315F78 57 FB 06 3E */ clrlwi r27, r31, 0x18 -/* 8031901C 00315F7C 3B A0 00 00 */ li r29, 0 -/* 80319020 00315F80 3B C0 00 00 */ li r30, 0 -/* 80319024 00315F84 48 00 02 34 */ b lbl_80319258 -lbl_80319028: -/* 80319028 00315F88 80 1C 00 3C */ lwz r0, 0x3c(r28) -/* 8031902C 00315F8C 28 1A 00 00 */ cmplwi r26, 0 -/* 80319030 00315F90 7F 20 F2 14 */ add r25, r0, r30 -/* 80319034 00315F94 40 82 00 2C */ bne lbl_80319060 -/* 80319038 00315F98 80 7C 00 28 */ lwz r3, 0x28(r28) -/* 8031903C 00315F9C 38 A1 00 A0 */ addi r5, r1, 0xa0 -/* 80319040 00315FA0 80 99 00 28 */ lwz r4, 0x28(r25) -/* 80319044 00315FA4 80 63 00 40 */ lwz r3, 0x40(r3) -/* 80319048 00315FA8 80 1C 00 74 */ lwz r0, 0x74(r28) -/* 8031904C 00315FAC 81 83 00 00 */ lwz r12, 0(r3) -/* 80319050 00315FB0 7C 84 00 50 */ subf r4, r4, r0 -/* 80319054 00315FB4 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80319058 00315FB8 7D 89 03 A6 */ mtctr r12 -/* 8031905C 00315FBC 4E 80 04 21 */ bctrl -lbl_80319060: -/* 80319060 00315FC0 C0 39 00 08 */ lfs f1, 8(r25) -/* 80319064 00315FC4 C0 19 00 14 */ lfs f0, 0x14(r25) -/* 80319068 00315FC8 C0 79 00 0C */ lfs f3, 0xc(r25) -/* 8031906C 00315FCC EC 81 00 28 */ fsubs f4, f1, f0 -/* 80319070 00315FD0 C0 59 00 18 */ lfs f2, 0x18(r25) -/* 80319074 00315FD4 C0 39 00 04 */ lfs f1, 4(r25) -/* 80319078 00315FD8 C0 19 00 10 */ lfs f0, 0x10(r25) -/* 8031907C 00315FDC EC 43 10 28 */ fsubs f2, f3, f2 -/* 80319080 00315FE0 EC 01 00 28 */ fsubs f0, f1, f0 -/* 80319084 00315FE4 D0 81 00 98 */ stfs f4, 0x98(r1) -/* 80319088 00315FE8 D0 41 00 9C */ stfs f2, 0x9c(r1) -/* 8031908C 00315FEC D0 01 00 94 */ stfs f0, 0x94(r1) -/* 80319090 00315FF0 88 1C 02 6D */ lbz r0, 0x26d(r28) -/* 80319094 00315FF4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80319098 00315FF8 41 82 00 44 */ beq lbl_803190DC -/* 8031909C 00315FFC 38 61 00 94 */ addi r3, r1, 0x94 -/* 803190A0 00316000 4B FF B8 19 */ bl Magnitude__9CVector3fCFv -/* 803190A4 00316004 C0 02 C9 E8 */ lfs f0, lbl_805AE708@sda21(r2) -/* 803190A8 00316008 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 803190AC 0031600C 40 81 00 30 */ ble lbl_803190DC -/* 803190B0 00316010 C0 02 C9 F0 */ lfs f0, lbl_805AE710@sda21(r2) -/* 803190B4 00316014 C0 41 00 94 */ lfs f2, 0x94(r1) -/* 803190B8 00316018 EC 60 08 24 */ fdivs f3, f0, f1 -/* 803190BC 0031601C C0 21 00 98 */ lfs f1, 0x98(r1) -/* 803190C0 00316020 C0 01 00 9C */ lfs f0, 0x9c(r1) -/* 803190C4 00316024 EC 42 00 F2 */ fmuls f2, f2, f3 -/* 803190C8 00316028 EC 21 00 F2 */ fmuls f1, f1, f3 -/* 803190CC 0031602C EC 00 00 F2 */ fmuls f0, f0, f3 -/* 803190D0 00316030 D0 41 00 94 */ stfs f2, 0x94(r1) -/* 803190D4 00316034 D0 21 00 98 */ stfs f1, 0x98(r1) -/* 803190D8 00316038 D0 01 00 9C */ stfs f0, 0x9c(r1) -lbl_803190DC: -/* 803190DC 0031603C 38 61 00 5C */ addi r3, r1, 0x5c -/* 803190E0 00316040 38 81 02 04 */ addi r4, r1, 0x204 -/* 803190E4 00316044 38 B9 00 04 */ addi r5, r25, 4 -/* 803190E8 00316048 4B FF 9A 01 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 803190EC 0031604C C0 79 00 2C */ lfs f3, 0x2c(r25) -/* 803190F0 00316050 38 61 00 50 */ addi r3, r1, 0x50 -/* 803190F4 00316054 C0 41 00 98 */ lfs f2, 0x98(r1) -/* 803190F8 00316058 38 81 02 04 */ addi r4, r1, 0x204 -/* 803190FC 0031605C C0 21 00 9C */ lfs f1, 0x9c(r1) -/* 80319100 00316060 38 A1 00 44 */ addi r5, r1, 0x44 -/* 80319104 00316064 C0 01 00 94 */ lfs f0, 0x94(r1) -/* 80319108 00316068 EC A3 00 B2 */ fmuls f5, f3, f2 -/* 8031910C 0031606C EC 83 00 72 */ fmuls f4, f3, f1 -/* 80319110 00316070 C0 59 00 08 */ lfs f2, 8(r25) -/* 80319114 00316074 EC 63 00 32 */ fmuls f3, f3, f0 -/* 80319118 00316078 C0 39 00 0C */ lfs f1, 0xc(r25) -/* 8031911C 0031607C C0 19 00 04 */ lfs f0, 4(r25) -/* 80319120 00316080 EC 42 28 2A */ fadds f2, f2, f5 -/* 80319124 00316084 EC 21 20 2A */ fadds f1, f1, f4 -/* 80319128 00316088 D0 61 00 38 */ stfs f3, 0x38(r1) -/* 8031912C 0031608C EC 00 18 2A */ fadds f0, f0, f3 -/* 80319130 00316090 C3 C1 00 5C */ lfs f30, 0x5c(r1) -/* 80319134 00316094 D0 A1 00 3C */ stfs f5, 0x3c(r1) -/* 80319138 00316098 C3 A1 00 60 */ lfs f29, 0x60(r1) -/* 8031913C 0031609C D0 81 00 40 */ stfs f4, 0x40(r1) -/* 80319140 003160A0 C3 81 00 64 */ lfs f28, 0x64(r1) -/* 80319144 003160A4 D0 01 00 44 */ stfs f0, 0x44(r1) -/* 80319148 003160A8 D0 41 00 48 */ stfs f2, 0x48(r1) -/* 8031914C 003160AC D0 21 00 4C */ stfs f1, 0x4c(r1) -/* 80319150 003160B0 4B FF 99 99 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 80319154 003160B4 28 1B 00 00 */ cmplwi r27, 0 -/* 80319158 003160B8 C3 61 00 50 */ lfs f27, 0x50(r1) -/* 8031915C 003160BC C3 41 00 54 */ lfs f26, 0x54(r1) -/* 80319160 003160C0 C3 21 00 58 */ lfs f25, 0x58(r1) -/* 80319164 003160C4 41 82 00 50 */ beq lbl_803191B4 -/* 80319168 003160C8 80 19 00 34 */ lwz r0, 0x34(r25) -/* 8031916C 003160CC 3C 60 CC 01 */ lis r3, 0xCC008000@ha -/* 80319170 003160D0 D3 C3 80 00 */ stfs f30, 0xCC008000@l(r3) -/* 80319174 003160D4 D3 A3 80 00 */ stfs f29, 0xCC008000@l(r3) -/* 80319178 003160D8 D3 83 80 00 */ stfs f28, 0xCC008000@l(r3) -/* 8031917C 003160DC 90 03 80 00 */ stw r0, 0xCC008000@l(r3) -/* 80319180 003160E0 C0 01 00 A0 */ lfs f0, 0xa0(r1) -/* 80319184 003160E4 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 80319188 003160E8 C0 01 00 A4 */ lfs f0, 0xa4(r1) -/* 8031918C 003160EC D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 80319190 003160F0 D3 63 80 00 */ stfs f27, 0xCC008000@l(r3) -/* 80319194 003160F4 D3 43 80 00 */ stfs f26, 0xCC008000@l(r3) -/* 80319198 003160F8 D3 23 80 00 */ stfs f25, 0xCC008000@l(r3) -/* 8031919C 003160FC 90 03 80 00 */ stw r0, 0xCC008000@l(r3) -/* 803191A0 00316100 C0 01 00 A8 */ lfs f0, 0xa8(r1) -/* 803191A4 00316104 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 803191A8 00316108 C0 01 00 AC */ lfs f0, 0xac(r1) -/* 803191AC 0031610C D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 803191B0 00316110 48 00 00 A0 */ b lbl_80319250 -lbl_803191B4: -/* 803191B4 00316114 C0 39 00 30 */ lfs f1, 0x30(r25) -/* 803191B8 00316118 C0 02 C9 E8 */ lfs f0, lbl_805AE708@sda21(r2) -/* 803191BC 0031611C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 803191C0 00316120 40 80 00 0C */ bge lbl_803191CC -/* 803191C4 00316124 FC 20 00 90 */ fmr f1, f0 -/* 803191C8 00316128 48 00 00 14 */ b lbl_803191DC -lbl_803191CC: -/* 803191CC 0031612C C0 02 CA 00 */ lfs f0, lbl_805AE720@sda21(r2) -/* 803191D0 00316130 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 803191D4 00316134 40 81 00 08 */ ble lbl_803191DC -/* 803191D8 00316138 FC 20 00 90 */ fmr f1, f0 -lbl_803191DC: -/* 803191DC 0031613C C0 02 CA 04 */ lfs f0, lbl_805AE724@sda21(r2) -/* 803191E0 00316140 EF E0 00 72 */ fmuls f31, f0, f1 -/* 803191E4 00316144 F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2 -/* 803191E8 00316148 38 80 00 00 */ li r4, 0 -/* 803191EC 0031614C 88 61 00 08 */ lbz r3, 8(r1) -/* 803191F0 00316150 4B FE F2 C9 */ bl SetLineWidth__3CGXFUc12_GXTexOffset -/* 803191F4 00316154 38 60 00 A8 */ li r3, 0xa8 -/* 803191F8 00316158 38 80 00 00 */ li r4, 0 -/* 803191FC 0031615C 38 A0 00 02 */ li r5, 2 -/* 80319200 00316160 4B FE F3 85 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs -/* 80319204 00316164 80 19 00 34 */ lwz r0, 0x34(r25) -/* 80319208 00316168 3C 60 CC 01 */ lis r3, 0xCC008000@ha -/* 8031920C 0031616C D3 C3 80 00 */ stfs f30, 0xCC008000@l(r3) -/* 80319210 00316170 D3 A3 80 00 */ stfs f29, 0xCC008000@l(r3) -/* 80319214 00316174 D3 83 80 00 */ stfs f28, 0xCC008000@l(r3) -/* 80319218 00316178 90 03 80 00 */ stw r0, 0xCC008000@l(r3) -/* 8031921C 0031617C C0 01 00 A0 */ lfs f0, 0xa0(r1) -/* 80319220 00316180 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 80319224 00316184 C0 01 00 A4 */ lfs f0, 0xa4(r1) -/* 80319228 00316188 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 8031922C 0031618C D3 63 80 00 */ stfs f27, 0xCC008000@l(r3) -/* 80319230 00316190 D3 43 80 00 */ stfs f26, 0xCC008000@l(r3) -/* 80319234 00316194 D3 23 80 00 */ stfs f25, 0xCC008000@l(r3) -/* 80319238 00316198 90 03 80 00 */ stw r0, 0xCC008000@l(r3) -/* 8031923C 0031619C C0 01 00 A8 */ lfs f0, 0xa8(r1) -/* 80319240 003161A0 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 80319244 003161A4 C0 01 00 AC */ lfs f0, 0xac(r1) -/* 80319248 003161A8 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 8031924C 003161AC 4B FE F3 35 */ bl End__3CGXFv -lbl_80319250: -/* 80319250 003161B0 3B DE 00 38 */ addi r30, r30, 0x38 -/* 80319254 003161B4 3B BD 00 01 */ addi r29, r29, 1 -lbl_80319258: -/* 80319258 003161B8 80 1C 00 34 */ lwz r0, 0x34(r28) -/* 8031925C 003161BC 7C 1D 00 00 */ cmpw r29, r0 -/* 80319260 003161C0 41 80 FD C8 */ blt lbl_80319028 -/* 80319264 003161C4 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 80319268 003161C8 41 82 00 08 */ beq lbl_80319270 -/* 8031926C 003161CC 4B FE F3 15 */ bl End__3CGXFv -lbl_80319270: -/* 80319270 003161D0 C0 22 C9 F0 */ lfs f1, lbl_805AE710@sda21(r2) -/* 80319274 003161D4 38 60 00 00 */ li r3, 0 -/* 80319278 003161D8 4B FF 21 61 */ bl SetLineWidth__9CGraphicsFf13ERglTexOffset -/* 8031927C 003161DC 38 61 00 B0 */ addi r3, r1, 0xb0 -/* 80319280 003161E0 38 80 FF FF */ li r4, -1 -/* 80319284 003161E4 4B FF 93 81 */ bl __dt__13CGlobalRandomFv -/* 80319288 003161E8 E3 E1 02 F8 */ psq_l f31, 760(r1), 0, qr0 -/* 8031928C 003161EC CB E1 02 F0 */ lfd f31, 0x2f0(r1) -/* 80319290 003161F0 E3 C1 02 E8 */ psq_l f30, 744(r1), 0, qr0 -/* 80319294 003161F4 CB C1 02 E0 */ lfd f30, 0x2e0(r1) -/* 80319298 003161F8 E3 A1 02 D8 */ psq_l f29, 728(r1), 0, qr0 -/* 8031929C 003161FC CB A1 02 D0 */ lfd f29, 0x2d0(r1) -/* 803192A0 00316200 E3 81 02 C8 */ psq_l f28, 712(r1), 0, qr0 -/* 803192A4 00316204 CB 81 02 C0 */ lfd f28, 0x2c0(r1) -/* 803192A8 00316208 E3 61 02 B8 */ psq_l f27, 696(r1), 0, qr0 -/* 803192AC 0031620C CB 61 02 B0 */ lfd f27, 0x2b0(r1) -/* 803192B0 00316210 E3 41 02 A8 */ psq_l f26, 680(r1), 0, qr0 -/* 803192B4 00316214 CB 41 02 A0 */ lfd f26, 0x2a0(r1) -/* 803192B8 00316218 E3 21 02 98 */ psq_l f25, 664(r1), 0, qr0 -/* 803192BC 0031621C CB 21 02 90 */ lfd f25, 0x290(r1) -/* 803192C0 00316220 BB 21 02 74 */ lmw r25, 0x274(r1) -/* 803192C4 00316224 80 01 03 04 */ lwz r0, 0x304(r1) -/* 803192C8 00316228 7C 08 03 A6 */ mtlr r0 -/* 803192CC 0031622C 38 21 03 00 */ addi r1, r1, 0x300 -/* 803192D0 00316230 4E 80 00 20 */ blr - -.global RenderParticlesIndirectTexture__11CElementGenFv -RenderParticlesIndirectTexture__11CElementGenFv: -/* 803192D4 00316234 94 21 FC 50 */ stwu r1, -0x3b0(r1) -/* 803192D8 00316238 7C 08 02 A6 */ mflr r0 -/* 803192DC 0031623C 90 01 03 B4 */ stw r0, 0x3b4(r1) -/* 803192E0 00316240 DB E1 03 A0 */ stfd f31, 0x3a0(r1) -/* 803192E4 00316244 F3 E1 03 A8 */ psq_st f31, 936(r1), 0, qr0 -/* 803192E8 00316248 DB C1 03 90 */ stfd f30, 0x390(r1) -/* 803192EC 0031624C F3 C1 03 98 */ psq_st f30, 920(r1), 0, qr0 -/* 803192F0 00316250 DB A1 03 80 */ stfd f29, 0x380(r1) -/* 803192F4 00316254 F3 A1 03 88 */ psq_st f29, 904(r1), 0, qr0 -/* 803192F8 00316258 DB 81 03 70 */ stfd f28, 0x370(r1) -/* 803192FC 0031625C F3 81 03 78 */ psq_st f28, 888(r1), 0, qr0 -/* 80319300 00316260 DB 61 03 60 */ stfd f27, 0x360(r1) -/* 80319304 00316264 F3 61 03 68 */ psq_st f27, 872(r1), 0, qr0 -/* 80319308 00316268 DB 41 03 50 */ stfd f26, 0x350(r1) -/* 8031930C 0031626C F3 41 03 58 */ psq_st f26, 856(r1), 0, qr0 -/* 80319310 00316270 DB 21 03 40 */ stfd f25, 0x340(r1) -/* 80319314 00316274 F3 21 03 48 */ psq_st f25, 840(r1), 0, qr0 -/* 80319318 00316278 DB 01 03 30 */ stfd f24, 0x330(r1) -/* 8031931C 0031627C F3 01 03 38 */ psq_st f24, 824(r1), 0, qr0 -/* 80319320 00316280 DA E1 03 20 */ stfd f23, 0x320(r1) -/* 80319324 00316284 F2 E1 03 28 */ psq_st f23, 808(r1), 0, qr0 -/* 80319328 00316288 DA C1 03 10 */ stfd f22, 0x310(r1) -/* 8031932C 0031628C F2 C1 03 18 */ psq_st f22, 792(r1), 0, qr0 -/* 80319330 00316290 BD C1 02 C8 */ stmw r14, 0x2c8(r1) -/* 80319334 00316294 7C 3F 0B 78 */ mr r31, r1 -/* 80319338 00316298 3C 80 80 5A */ lis r4, lbl_805A61D4@ha -/* 8031933C 0031629C 7C 7E 1B 78 */ mr r30, r3 -/* 80319340 003162A0 38 84 61 D4 */ addi r4, r4, lbl_805A61D4@l -/* 80319344 003162A4 38 7F 02 8C */ addi r3, r31, 0x28c -/* 80319348 003162A8 4B FF 98 2D */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8031934C 003162AC 3C 80 80 5A */ lis r4, skZero3f@ha -/* 80319350 003162B0 38 7F 01 FC */ addi r3, r31, 0x1fc -/* 80319354 003162B4 38 A4 66 A0 */ addi r5, r4, skZero3f@l -/* 80319358 003162B8 38 9F 02 8C */ addi r4, r31, 0x28c -/* 8031935C 003162BC C0 45 00 00 */ lfs f2, 0(r5) -/* 80319360 003162C0 C0 25 00 04 */ lfs f1, 4(r5) -/* 80319364 003162C4 C0 05 00 08 */ lfs f0, 8(r5) -/* 80319368 003162C8 D0 5F 02 98 */ stfs f2, 0x298(r31) -/* 8031936C 003162CC D0 3F 02 A8 */ stfs f1, 0x2a8(r31) -/* 80319370 003162D0 D0 1F 02 B8 */ stfs f0, 0x2b8(r31) -/* 80319374 003162D4 4B FF 99 29 */ bl GetQuickInverse__12CTransform4fCFv -/* 80319378 003162D8 38 7F 02 2C */ addi r3, r31, 0x22c -/* 8031937C 003162DC 38 9F 01 FC */ addi r4, r31, 0x1fc -/* 80319380 003162E0 38 BE 02 2C */ addi r5, r30, 0x22c -/* 80319384 003162E4 4B FF 95 CD */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 80319388 003162E8 38 7F 02 5C */ addi r3, r31, 0x25c -/* 8031938C 003162EC 38 9F 02 2C */ addi r4, r31, 0x22c -/* 80319390 003162F0 4B FF 97 E5 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80319394 003162F4 38 7F 01 3C */ addi r3, r31, 0x13c -/* 80319398 003162F8 38 9E 00 E8 */ addi r4, r30, 0xe8 -/* 8031939C 003162FC 4B FF 9D A5 */ bl Translate__12CTransform4fFRC9CVector3f -/* 803193A0 00316300 38 7F 01 6C */ addi r3, r31, 0x16c -/* 803193A4 00316304 38 9F 01 3C */ addi r4, r31, 0x13c -/* 803193A8 00316308 38 BE 01 0C */ addi r5, r30, 0x10c -/* 803193AC 0031630C 4B FF 95 A5 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 803193B0 00316310 38 7F 01 9C */ addi r3, r31, 0x19c -/* 803193B4 00316314 38 9F 01 6C */ addi r4, r31, 0x16c -/* 803193B8 00316318 38 BF 02 8C */ addi r5, r31, 0x28c -/* 803193BC 0031631C 4B FF 95 95 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 803193C0 00316320 38 7F 01 CC */ addi r3, r31, 0x1cc -/* 803193C4 00316324 38 9F 01 9C */ addi r4, r31, 0x19c -/* 803193C8 00316328 38 BE 01 78 */ addi r5, r30, 0x178 -/* 803193CC 0031632C 4B FF 95 85 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 803193D0 00316330 38 7F 02 8C */ addi r3, r31, 0x28c -/* 803193D4 00316334 38 9F 01 CC */ addi r4, r31, 0x1cc -/* 803193D8 00316338 4B FF 97 69 */ bl __as__12CTransform4fFRC12CTransform4f -/* 803193DC 0031633C 38 7F 02 8C */ addi r3, r31, 0x28c -/* 803193E0 00316340 4B FF 32 01 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f -/* 803193E4 00316344 38 60 00 07 */ li r3, 7 -/* 803193E8 00316348 38 80 00 00 */ li r4, 0 -/* 803193EC 0031634C 38 A0 00 00 */ li r5, 0 -/* 803193F0 00316350 38 C0 00 07 */ li r6, 7 -/* 803193F4 00316354 38 E0 00 00 */ li r7, 0 -/* 803193F8 00316358 4B FE F4 1D */ bl SetAlphaCompare__3CGXF10_GXCompareUc10_GXAlphaOp10_GXCompareUc -/* 803193FC 0031635C 88 7E 02 6C */ lbz r3, 0x26c(r30) -/* 80319400 00316360 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f -/* 80319404 00316364 41 82 00 2C */ beq lbl_80319430 -/* 80319408 00316368 38 60 00 01 */ li r3, 1 -/* 8031940C 0031636C 38 80 00 03 */ li r4, 3 -/* 80319410 00316370 38 A0 00 00 */ li r5, 0 -/* 80319414 00316374 4B FE F4 69 */ bl SetZMode__3CGXFb10_GXCompareb -/* 80319418 00316378 38 60 00 01 */ li r3, 1 -/* 8031941C 0031637C 38 80 00 04 */ li r4, 4 -/* 80319420 00316380 38 A0 00 01 */ li r5, 1 -/* 80319424 00316384 38 C0 00 00 */ li r6, 0 -/* 80319428 00316388 4B FE F4 A9 */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp -/* 8031942C 0031638C 48 00 00 28 */ b lbl_80319454 -lbl_80319430: -/* 80319430 00316390 54 65 E7 FE */ rlwinm r5, r3, 0x1c, 0x1f, 0x1f -/* 80319434 00316394 38 60 00 01 */ li r3, 1 -/* 80319438 00316398 38 80 00 03 */ li r4, 3 -/* 8031943C 0031639C 4B FE F4 41 */ bl SetZMode__3CGXFb10_GXCompareb -/* 80319440 003163A0 38 60 00 01 */ li r3, 1 -/* 80319444 003163A4 38 80 00 04 */ li r4, 4 -/* 80319448 003163A8 38 A0 00 05 */ li r5, 5 -/* 8031944C 003163AC 38 C0 00 00 */ li r6, 0 -/* 80319450 003163B0 4B FE F4 81 */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp -lbl_80319454: -/* 80319454 003163B4 C0 22 C9 E8 */ lfs f1, lbl_805AE708@sda21(r2) -/* 80319458 003163B8 38 7F 00 D0 */ addi r3, r31, 0xd0 -/* 8031945C 003163BC C0 02 C9 F0 */ lfs f0, lbl_805AE710@sda21(r2) -/* 80319460 003163C0 D0 3F 00 EC */ stfs f1, 0xec(r31) -/* 80319464 003163C4 D0 1F 00 F4 */ stfs f0, 0xf4(r31) -/* 80319468 003163C8 D0 3F 00 F0 */ stfs f1, 0xf0(r31) -/* 8031946C 003163CC D0 1F 00 F8 */ stfs f0, 0xf8(r31) -/* 80319470 003163D0 D0 3F 00 DC */ stfs f1, 0xdc(r31) -/* 80319474 003163D4 D0 1F 00 E4 */ stfs f0, 0xe4(r31) -/* 80319478 003163D8 D0 3F 00 E0 */ stfs f1, 0xe0(r31) -/* 8031947C 003163DC D0 1F 00 E8 */ stfs f0, 0xe8(r31) -/* 80319480 003163E0 80 9E 00 28 */ lwz r4, 0x28(r30) -/* 80319484 003163E4 80 BE 00 3C */ lwz r5, 0x3c(r30) -/* 80319488 003163E8 80 84 00 40 */ lwz r4, 0x40(r4) -/* 8031948C 003163EC 80 A5 00 28 */ lwz r5, 0x28(r5) -/* 80319490 003163F0 81 84 00 00 */ lwz r12, 0(r4) -/* 80319494 003163F4 80 1E 00 74 */ lwz r0, 0x74(r30) -/* 80319498 003163F8 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8031949C 003163FC 7C A5 00 50 */ subf r5, r5, r0 -/* 803194A0 00316400 7D 89 03 A6 */ mtctr r12 -/* 803194A4 00316404 4E 80 04 21 */ bctrl -/* 803194A8 00316408 38 7F 00 2C */ addi r3, r31, 0x2c -/* 803194AC 0031640C 38 9F 00 D0 */ addi r4, r31, 0xd0 -/* 803194B0 00316410 48 02 79 F9 */ bl __ct__6CTokenFRC6CToken -/* 803194B4 00316414 38 7F 00 D0 */ addi r3, r31, 0xd0 -/* 803194B8 00316418 38 80 00 00 */ li r4, 0 -/* 803194BC 0031641C 48 02 79 85 */ bl __dt__6CTokenFv -/* 803194C0 00316420 38 7F 00 2C */ addi r3, r31, 0x2c -/* 803194C4 00316424 48 02 79 49 */ bl GetObj__6CTokenFv -/* 803194C8 00316428 80 63 00 04 */ lwz r3, 4(r3) -/* 803194CC 0031642C 38 80 00 00 */ li r4, 0 -/* 803194D0 00316430 38 A0 00 01 */ li r5, 1 -/* 803194D4 00316434 4B FF 62 69 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode -/* 803194D8 00316438 38 7F 00 2C */ addi r3, r31, 0x2c -/* 803194DC 0031643C 48 02 79 31 */ bl GetObj__6CTokenFv -/* 803194E0 00316440 80 9E 00 28 */ lwz r4, 0x28(r30) -/* 803194E4 00316444 82 63 00 04 */ lwz r19, 4(r3) -/* 803194E8 00316448 80 64 00 40 */ lwz r3, 0x40(r4) -/* 803194EC 0031644C 81 83 00 00 */ lwz r12, 0(r3) -/* 803194F0 00316450 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 803194F4 00316454 7D 89 03 A6 */ mtctr r12 -/* 803194F8 00316458 4E 80 04 21 */ bctrl -/* 803194FC 0031645C 80 DE 00 28 */ lwz r6, 0x28(r30) -/* 80319500 00316460 7C 74 1B 78 */ mr r20, r3 -/* 80319504 00316464 80 9E 00 3C */ lwz r4, 0x3c(r30) -/* 80319508 00316468 38 BF 00 EC */ addi r5, r31, 0xec -/* 8031950C 0031646C 80 66 00 40 */ lwz r3, 0x40(r6) -/* 80319510 00316470 80 84 00 28 */ lwz r4, 0x28(r4) -/* 80319514 00316474 81 83 00 00 */ lwz r12, 0(r3) -/* 80319518 00316478 80 1E 00 74 */ lwz r0, 0x74(r30) -/* 8031951C 0031647C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80319520 00316480 7C 84 00 50 */ subf r4, r4, r0 -/* 80319524 00316484 7D 89 03 A6 */ mtctr r12 -/* 80319528 00316488 4E 80 04 21 */ bctrl -/* 8031952C 0031648C 80 7E 00 28 */ lwz r3, 0x28(r30) -/* 80319530 00316490 80 63 00 40 */ lwz r3, 0x40(r3) -/* 80319534 00316494 81 83 00 00 */ lwz r12, 0(r3) -/* 80319538 00316498 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8031953C 0031649C 7D 89 03 A6 */ mtctr r12 -/* 80319540 003164A0 4E 80 04 21 */ bctrl -/* 80319544 003164A4 80 9E 00 28 */ lwz r4, 0x28(r30) -/* 80319548 003164A8 7C 70 1B 78 */ mr r16, r3 -/* 8031954C 003164AC 80 BE 00 3C */ lwz r5, 0x3c(r30) -/* 80319550 003164B0 38 7F 00 C4 */ addi r3, r31, 0xc4 -/* 80319554 003164B4 80 84 00 44 */ lwz r4, 0x44(r4) -/* 80319558 003164B8 80 A5 00 28 */ lwz r5, 0x28(r5) -/* 8031955C 003164BC 81 84 00 00 */ lwz r12, 0(r4) -/* 80319560 003164C0 80 1E 00 74 */ lwz r0, 0x74(r30) -/* 80319564 003164C4 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80319568 003164C8 7C A5 00 50 */ subf r5, r5, r0 -/* 8031956C 003164CC 7D 89 03 A6 */ mtctr r12 -/* 80319570 003164D0 4E 80 04 21 */ bctrl -/* 80319574 003164D4 38 7F 00 24 */ addi r3, r31, 0x24 -/* 80319578 003164D8 38 9F 00 C4 */ addi r4, r31, 0xc4 -/* 8031957C 003164DC 48 02 79 2D */ bl __ct__6CTokenFRC6CToken -/* 80319580 003164E0 38 7F 00 C4 */ addi r3, r31, 0xc4 -/* 80319584 003164E4 38 80 00 00 */ li r4, 0 -/* 80319588 003164E8 48 02 78 B9 */ bl __dt__6CTokenFv -/* 8031958C 003164EC 38 7F 00 24 */ addi r3, r31, 0x24 -/* 80319590 003164F0 48 02 78 7D */ bl GetObj__6CTokenFv -/* 80319594 003164F4 80 63 00 04 */ lwz r3, 4(r3) -/* 80319598 003164F8 38 80 00 02 */ li r4, 2 -/* 8031959C 003164FC 38 A0 00 01 */ li r5, 1 -/* 803195A0 00316500 4B FF 61 9D */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode -/* 803195A4 00316504 38 7F 00 24 */ addi r3, r31, 0x24 -/* 803195A8 00316508 48 02 78 65 */ bl GetObj__6CTokenFv -/* 803195AC 0031650C 80 9E 00 28 */ lwz r4, 0x28(r30) -/* 803195B0 00316510 82 43 00 04 */ lwz r18, 4(r3) -/* 803195B4 00316514 80 64 00 44 */ lwz r3, 0x44(r4) -/* 803195B8 00316518 81 83 00 00 */ lwz r12, 0(r3) -/* 803195BC 0031651C 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 803195C0 00316520 7D 89 03 A6 */ mtctr r12 -/* 803195C4 00316524 4E 80 04 21 */ bctrl -/* 803195C8 00316528 80 9E 00 28 */ lwz r4, 0x28(r30) -/* 803195CC 0031652C 7C 6F 1B 78 */ mr r15, r3 -/* 803195D0 00316530 80 64 00 44 */ lwz r3, 0x44(r4) -/* 803195D4 00316534 81 83 00 00 */ lwz r12, 0(r3) -/* 803195D8 00316538 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 803195DC 0031653C 7D 89 03 A6 */ mtctr r12 -/* 803195E0 00316540 4E 80 04 21 */ bctrl -/* 803195E4 00316544 80 DE 00 28 */ lwz r6, 0x28(r30) -/* 803195E8 00316548 7C 6E 1B 78 */ mr r14, r3 -/* 803195EC 0031654C 80 9E 00 3C */ lwz r4, 0x3c(r30) -/* 803195F0 00316550 38 BF 00 DC */ addi r5, r31, 0xdc -/* 803195F4 00316554 80 66 00 44 */ lwz r3, 0x44(r6) -/* 803195F8 00316558 80 84 00 28 */ lwz r4, 0x28(r4) -/* 803195FC 0031655C 81 83 00 00 */ lwz r12, 0(r3) -/* 80319600 00316560 80 1E 00 74 */ lwz r0, 0x74(r30) -/* 80319604 00316564 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80319608 00316568 7C 84 00 50 */ subf r4, r4, r0 -/* 8031960C 0031656C 7D 89 03 A6 */ mtctr r12 -/* 80319610 00316570 4E 80 04 21 */ bctrl -/* 80319614 00316574 38 60 00 03 */ li r3, 3 -/* 80319618 00316578 4B FE F7 FD */ bl SetNumTexGens__3CGXFUc -/* 8031961C 0031657C 38 60 00 00 */ li r3, 0 -/* 80319620 00316580 38 80 00 01 */ li r4, 1 -/* 80319624 00316584 38 A0 00 04 */ li r5, 4 -/* 80319628 00316588 38 C0 00 3C */ li r6, 0x3c -/* 8031962C 0031658C 38 E0 00 00 */ li r7, 0 -/* 80319630 00316590 39 00 00 7D */ li r8, 0x7d -/* 80319634 00316594 4B FE F0 99 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx -/* 80319638 00316598 38 60 00 01 */ li r3, 1 -/* 8031963C 0031659C 38 80 00 01 */ li r4, 1 -/* 80319640 003165A0 38 A0 00 05 */ li r5, 5 -/* 80319644 003165A4 38 C0 00 3C */ li r6, 0x3c -/* 80319648 003165A8 38 E0 00 00 */ li r7, 0 -/* 8031964C 003165AC 39 00 00 7D */ li r8, 0x7d -/* 80319650 003165B0 4B FE F0 7D */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx -/* 80319654 003165B4 38 60 00 02 */ li r3, 2 -/* 80319658 003165B8 38 80 00 01 */ li r4, 1 -/* 8031965C 003165BC 38 A0 00 06 */ li r5, 6 -/* 80319660 003165C0 38 C0 00 3C */ li r6, 0x3c -/* 80319664 003165C4 38 E0 00 00 */ li r7, 0 -/* 80319668 003165C8 39 00 00 7D */ li r8, 0x7d -/* 8031966C 003165CC 4B FE F0 61 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx -/* 80319670 003165D0 3C 60 80 3D */ lis r3, lbl_803D7888@ha -/* 80319674 003165D4 38 9F 00 FC */ addi r4, r31, 0xfc -/* 80319678 003165D8 39 63 78 88 */ addi r11, r3, lbl_803D7888@l -/* 8031967C 003165DC 38 60 00 01 */ li r3, 1 -/* 80319680 003165E0 81 4B 00 00 */ lwz r10, 0(r11) -/* 80319684 003165E4 38 A0 00 01 */ li r5, 1 -/* 80319688 003165E8 81 2B 00 04 */ lwz r9, 4(r11) -/* 8031968C 003165EC 81 0B 00 08 */ lwz r8, 8(r11) -/* 80319690 003165F0 80 EB 00 0C */ lwz r7, 0xc(r11) -/* 80319694 003165F4 80 CB 00 10 */ lwz r6, 0x10(r11) -/* 80319698 003165F8 80 0B 00 14 */ lwz r0, 0x14(r11) -/* 8031969C 003165FC 91 5F 00 FC */ stw r10, 0xfc(r31) -/* 803196A0 00316600 91 3F 01 00 */ stw r9, 0x100(r31) -/* 803196A4 00316604 91 1F 01 04 */ stw r8, 0x104(r31) -/* 803196A8 00316608 90 FF 01 08 */ stw r7, 0x108(r31) -/* 803196AC 0031660C 90 DF 01 0C */ stw r6, 0x10c(r31) -/* 803196B0 00316610 90 1F 01 10 */ stw r0, 0x110(r31) -/* 803196B4 00316614 48 06 18 15 */ bl GXSetIndTexMtx -/* 803196B8 00316618 38 60 00 00 */ li r3, 0 -/* 803196BC 0031661C 38 80 00 02 */ li r4, 2 -/* 803196C0 00316620 38 A0 00 02 */ li r5, 2 -/* 803196C4 00316624 48 06 1A E1 */ bl GXSetIndTexOrder -/* 803196C8 00316628 38 00 00 00 */ li r0, 0 -/* 803196CC 0031662C 38 60 00 01 */ li r3, 1 -/* 803196D0 00316630 90 01 00 08 */ stw r0, 8(r1) -/* 803196D4 00316634 38 80 00 00 */ li r4, 0 -/* 803196D8 00316638 38 A0 00 00 */ li r5, 0 -/* 803196DC 0031663C 38 C0 00 07 */ li r6, 7 -/* 803196E0 00316640 90 01 00 0C */ stw r0, 0xc(r1) -/* 803196E4 00316644 38 E0 00 01 */ li r7, 1 -/* 803196E8 00316648 39 00 00 00 */ li r8, 0 -/* 803196EC 0031664C 39 20 00 00 */ li r9, 0 -/* 803196F0 00316650 39 40 00 00 */ li r10, 0 -/* 803196F4 00316654 4B FE F0 99 */ bl SetTevIndirect__3CGXF13_GXTevStageID16_GXIndTexStageID15_GXIndTexFormat16_GXIndTexBiasSel14_GXIndTexMtxID13_GXIndTexWrap13_GXIndTexWrapUcUc17_GXIndTexAlphaSel -/* 803196F8 00316658 38 60 00 01 */ li r3, 1 -/* 803196FC 0031665C 4B FE EF 95 */ bl SetNumIndStages__3CGXFUc -/* 80319700 00316660 38 60 00 00 */ li r3, 0 -/* 80319704 00316664 38 80 00 00 */ li r4, 0 -/* 80319708 00316668 38 A0 00 00 */ li r5, 0 -/* 8031970C 0031666C 38 C0 00 04 */ li r6, 4 -/* 80319710 00316670 4B FE F2 3D */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID -/* 80319714 00316674 80 A2 C7 A8 */ lwz r5, lbl_805AE4C8@sda21(r2) -/* 80319718 00316678 38 60 00 01 */ li r3, 1 -/* 8031971C 0031667C 38 80 00 01 */ li r4, 1 -/* 80319720 00316680 38 C0 00 04 */ li r6, 4 -/* 80319724 00316684 4B FE F2 29 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID -/* 80319728 00316688 38 60 00 02 */ li r3, 2 -/* 8031972C 0031668C 4B FE F5 65 */ bl SetNumTevStages__3CGXFUc -/* 80319730 00316690 38 60 00 00 */ li r3, 0 -/* 80319734 00316694 38 80 00 00 */ li r4, 0 -/* 80319738 00316698 4B FE F2 65 */ bl SetTevKAlphaSel__3CGXF13_GXTevStageID15_GXTevKAlphaSel -/* 8031973C 0031669C 38 60 00 01 */ li r3, 1 -/* 80319740 003166A0 38 80 00 00 */ li r4, 0 -/* 80319744 003166A4 4B FE F2 59 */ bl SetTevKAlphaSel__3CGXF13_GXTevStageID15_GXTevKAlphaSel -/* 80319748 003166A8 80 7E 00 28 */ lwz r3, 0x28(r30) -/* 8031974C 003166AC 88 03 00 32 */ lbz r0, 0x32(r3) -/* 80319750 003166B0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80319754 003166B4 40 82 00 38 */ bne lbl_8031978C -/* 80319758 003166B8 38 60 00 00 */ li r3, 0 -/* 8031975C 003166BC 38 80 00 0F */ li r4, 0xf -/* 80319760 003166C0 38 A0 00 08 */ li r5, 8 -/* 80319764 003166C4 38 C0 00 0C */ li r6, 0xc -/* 80319768 003166C8 38 E0 00 0F */ li r7, 0xf -/* 8031976C 003166CC 4B FE F4 81 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg -/* 80319770 003166D0 38 60 00 01 */ li r3, 1 -/* 80319774 003166D4 38 80 00 0F */ li r4, 0xf -/* 80319778 003166D8 38 A0 00 08 */ li r5, 8 -/* 8031977C 003166DC 38 C0 00 0A */ li r6, 0xa -/* 80319780 003166E0 38 E0 00 00 */ li r7, 0 -/* 80319784 003166E4 4B FE F4 69 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg -/* 80319788 003166E8 48 00 00 34 */ b lbl_803197BC -lbl_8031978C: -/* 8031978C 003166EC 38 60 00 00 */ li r3, 0 -/* 80319790 003166F0 38 80 00 0F */ li r4, 0xf -/* 80319794 003166F4 38 A0 00 08 */ li r5, 8 -/* 80319798 003166F8 38 C0 00 0A */ li r6, 0xa -/* 8031979C 003166FC 38 E0 00 0F */ li r7, 0xf -/* 803197A0 00316700 4B FE F4 4D */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg -/* 803197A4 00316704 38 60 00 01 */ li r3, 1 -/* 803197A8 00316708 38 80 00 0F */ li r4, 0xf -/* 803197AC 0031670C 38 A0 00 08 */ li r5, 8 -/* 803197B0 00316710 38 C0 00 00 */ li r6, 0 -/* 803197B4 00316714 38 E0 00 0F */ li r7, 0xf -/* 803197B8 00316718 4B FE F4 35 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg -lbl_803197BC: -/* 803197BC 0031671C 38 60 00 00 */ li r3, 0 -/* 803197C0 00316720 38 80 00 07 */ li r4, 7 -/* 803197C4 00316724 38 A0 00 04 */ li r5, 4 -/* 803197C8 00316728 38 C0 00 06 */ li r6, 6 -/* 803197CC 0031672C 38 E0 00 07 */ li r7, 7 -/* 803197D0 00316730 4B FE F3 C5 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg -/* 803197D4 00316734 38 60 00 00 */ li r3, 0 -/* 803197D8 00316738 4B FE E4 79 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID -/* 803197DC 0031673C 38 60 00 01 */ li r3, 1 -/* 803197E0 00316740 4B FE E4 71 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID -/* 803197E4 00316744 38 60 00 01 */ li r3, 1 -/* 803197E8 00316748 38 80 00 07 */ li r4, 7 -/* 803197EC 0031674C 38 A0 00 00 */ li r5, 0 -/* 803197F0 00316750 38 C0 00 05 */ li r6, 5 -/* 803197F4 00316754 38 E0 00 07 */ li r7, 7 -/* 803197F8 00316758 4B FE F3 9D */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg -/* 803197FC 0031675C 38 60 00 01 */ li r3, 1 -/* 80319800 00316760 38 80 00 04 */ li r4, 4 -/* 80319804 00316764 38 A0 00 05 */ li r5, 5 -/* 80319808 00316768 38 C0 00 00 */ li r6, 0 -/* 8031980C 0031676C 4B FE F0 C5 */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp -/* 80319810 00316770 38 60 00 01 */ li r3, 1 -/* 80319814 00316774 4B FE F6 3D */ bl SetNumChans__3CGXFUc -/* 80319818 00316778 38 60 00 00 */ li r3, 0 -/* 8031981C 0031677C 38 80 00 00 */ li r4, 0 -/* 80319820 00316780 38 A0 00 00 */ li r5, 0 -/* 80319824 00316784 38 C0 00 01 */ li r6, 1 -/* 80319828 00316788 38 E0 00 00 */ li r7, 0 -/* 8031982C 0031678C 39 00 00 00 */ li r8, 0 -/* 80319830 00316790 39 20 00 02 */ li r9, 2 -/* 80319834 00316794 4B FE F4 99 */ bl SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn -/* 80319838 00316798 80 7E 00 28 */ lwz r3, 0x28(r30) -/* 8031983C 0031679C 3A A0 00 00 */ li r21, 0 -/* 80319840 003167A0 83 5E 00 34 */ lwz r26, 0x34(r30) -/* 80319844 003167A4 88 03 00 30 */ lbz r0, 0x30(r3) -/* 80319848 003167A8 54 11 EF FF */ rlwinm. r17, r0, 0x1d, 0x1f, 0x1f -/* 8031984C 003167AC 41 82 00 F4 */ beq lbl_80319940 -/* 80319850 003167B0 57 43 20 36 */ slwi r3, r26, 4 -/* 80319854 003167B4 80 01 00 00 */ lwz r0, 0(r1) -/* 80319858 003167B8 7E A3 00 D0 */ neg r21, r3 -/* 8031985C 003167BC 56 B5 00 38 */ rlwinm r21, r21, 0, 0, 0x1c -/* 80319860 003167C0 7C 01 A9 6E */ stwux r0, r1, r21 -/* 80319864 003167C4 3B 00 00 00 */ li r24, 0 -/* 80319868 003167C8 3A C0 00 00 */ li r22, 0 -/* 8031986C 003167CC 3A A1 00 10 */ addi r21, r1, 0x10 -/* 80319870 003167D0 7E B7 AB 78 */ mr r23, r21 -/* 80319874 003167D4 48 00 00 A8 */ b lbl_8031991C -lbl_80319878: -/* 80319878 003167D8 80 1E 00 3C */ lwz r0, 0x3c(r30) -/* 8031987C 003167DC 38 7F 00 B8 */ addi r3, r31, 0xb8 -/* 80319880 003167E0 C0 FE 00 80 */ lfs f7, 0x80(r30) -/* 80319884 003167E4 38 9F 02 5C */ addi r4, r31, 0x25c -/* 80319888 003167E8 7C C0 B2 14 */ add r6, r0, r22 -/* 8031988C 003167EC 38 BF 00 AC */ addi r5, r31, 0xac -/* 80319890 003167F0 C0 06 00 08 */ lfs f0, 8(r6) -/* 80319894 003167F4 C0 86 00 14 */ lfs f4, 0x14(r6) -/* 80319898 003167F8 C0 26 00 0C */ lfs f1, 0xc(r6) -/* 8031989C 003167FC EC A0 20 28 */ fsubs f5, f0, f4 -/* 803198A0 00316800 C0 66 00 18 */ lfs f3, 0x18(r6) -/* 803198A4 00316804 C0 06 00 04 */ lfs f0, 4(r6) -/* 803198A8 00316808 EC 21 18 28 */ fsubs f1, f1, f3 -/* 803198AC 0031680C C0 46 00 10 */ lfs f2, 0x10(r6) -/* 803198B0 00316810 EC C7 01 72 */ fmuls f6, f7, f5 -/* 803198B4 00316814 EC 00 10 28 */ fsubs f0, f0, f2 -/* 803198B8 00316818 D0 BF 00 98 */ stfs f5, 0x98(r31) -/* 803198BC 0031681C EC A7 00 72 */ fmuls f5, f7, f1 -/* 803198C0 00316820 EC 86 20 2A */ fadds f4, f6, f4 -/* 803198C4 00316824 D0 3F 00 9C */ stfs f1, 0x9c(r31) -/* 803198C8 00316828 EC 27 00 32 */ fmuls f1, f7, f0 -/* 803198CC 0031682C EC 65 18 2A */ fadds f3, f5, f3 -/* 803198D0 00316830 D0 1F 00 94 */ stfs f0, 0x94(r31) -/* 803198D4 00316834 EC 01 10 2A */ fadds f0, f1, f2 -/* 803198D8 00316838 D0 3F 00 A0 */ stfs f1, 0xa0(r31) -/* 803198DC 0031683C D0 DF 00 A4 */ stfs f6, 0xa4(r31) -/* 803198E0 00316840 D0 BF 00 A8 */ stfs f5, 0xa8(r31) -/* 803198E4 00316844 D0 1F 00 AC */ stfs f0, 0xac(r31) -/* 803198E8 00316848 D0 9F 00 B0 */ stfs f4, 0xb0(r31) -/* 803198EC 0031684C D0 7F 00 B4 */ stfs f3, 0xb4(r31) -/* 803198F0 00316850 4B FF 91 F9 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 803198F4 00316854 C0 1F 00 B8 */ lfs f0, 0xb8(r31) -/* 803198F8 00316858 3A D6 00 38 */ addi r22, r22, 0x38 -/* 803198FC 0031685C D0 17 00 04 */ stfs f0, 4(r23) -/* 80319900 00316860 C0 1F 00 BC */ lfs f0, 0xbc(r31) -/* 80319904 00316864 D0 17 00 08 */ stfs f0, 8(r23) -/* 80319908 00316868 C0 1F 00 C0 */ lfs f0, 0xc0(r31) -/* 8031990C 0031686C D0 17 00 0C */ stfs f0, 0xc(r23) -/* 80319910 00316870 B3 17 00 00 */ sth r24, 0(r23) -/* 80319914 00316874 3A F7 00 10 */ addi r23, r23, 0x10 -/* 80319918 00316878 3B 18 00 01 */ addi r24, r24, 1 -lbl_8031991C: -/* 8031991C 0031687C 7C 18 D0 00 */ cmpw r24, r26 -/* 80319920 00316880 41 80 FF 58 */ blt lbl_80319878 -/* 80319924 00316884 88 8D A8 C4 */ lbz r4, lbl_805A9484@sda21(r13) -/* 80319928 00316888 57 40 20 36 */ slwi r0, r26, 4 -/* 8031992C 0031688C 7E A3 AB 78 */ mr r3, r21 -/* 80319930 00316890 38 BF 00 10 */ addi r5, r31, 0x10 -/* 80319934 00316894 98 9F 00 10 */ stb r4, 0x10(r31) -/* 80319938 00316898 7C 95 02 14 */ add r4, r21, r0 -/* 8031993C 0031689C 48 00 67 A9 */ bl sub_803200e4 -lbl_80319940: -/* 80319940 003168A0 3C 60 80 3D */ lis r3, lbl_803D78A0@ha -/* 80319944 003168A4 38 63 78 A0 */ addi r3, r3, lbl_803D78A0@l -/* 80319948 003168A8 4B FE E4 E1 */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList -/* 8031994C 003168AC C3 E2 C9 F8 */ lfs f31, lbl_805AE718@sda21(r2) -/* 80319950 003168B0 56 9B 06 3E */ clrlwi r27, r20, 0x18 -/* 80319954 003168B4 56 1D 06 3E */ clrlwi r29, r16, 0x18 -/* 80319958 003168B8 55 FC 06 3E */ clrlwi r28, r15, 0x18 -/* 8031995C 003168BC 55 CE 06 3E */ clrlwi r14, r14, 0x18 -/* 80319960 003168C0 3A 00 00 00 */ li r16, 0 -/* 80319964 003168C4 3A 80 00 00 */ li r20, 0 -/* 80319968 003168C8 48 00 04 38 */ b lbl_80319DA0 -lbl_8031996C: -/* 8031996C 003168CC 28 11 00 00 */ cmplwi r17, 0 -/* 80319970 003168D0 41 82 00 18 */ beq lbl_80319988 -/* 80319974 003168D4 A0 15 00 00 */ lhz r0, 0(r21) -/* 80319978 003168D8 80 7E 00 3C */ lwz r3, 0x3c(r30) -/* 8031997C 003168DC 1C 00 00 38 */ mulli r0, r0, 0x38 -/* 80319980 003168E0 7F 23 02 14 */ add r25, r3, r0 -/* 80319984 003168E4 48 00 00 0C */ b lbl_80319990 -lbl_80319988: -/* 80319988 003168E8 80 1E 00 3C */ lwz r0, 0x3c(r30) -/* 8031998C 003168EC 7F 20 A2 14 */ add r25, r0, r20 -lbl_80319990: -/* 80319990 003168F0 C0 59 00 08 */ lfs f2, 8(r25) -/* 80319994 003168F4 38 7F 00 88 */ addi r3, r31, 0x88 -/* 80319998 003168F8 C0 39 00 14 */ lfs f1, 0x14(r25) -/* 8031999C 003168FC 38 9F 02 5C */ addi r4, r31, 0x25c -/* 803199A0 00316900 C0 19 00 0C */ lfs f0, 0xc(r25) -/* 803199A4 00316904 38 BF 00 7C */ addi r5, r31, 0x7c -/* 803199A8 00316908 C0 79 00 18 */ lfs f3, 0x18(r25) -/* 803199AC 0031690C EC A2 08 28 */ fsubs f5, f2, f1 -/* 803199B0 00316910 C0 FE 00 80 */ lfs f7, 0x80(r30) -/* 803199B4 00316914 EC 80 18 28 */ fsubs f4, f0, f3 -/* 803199B8 00316918 C0 19 00 04 */ lfs f0, 4(r25) -/* 803199BC 0031691C EC C7 01 72 */ fmuls f6, f7, f5 -/* 803199C0 00316920 C0 59 00 10 */ lfs f2, 0x10(r25) -/* 803199C4 00316924 D0 BF 00 68 */ stfs f5, 0x68(r31) -/* 803199C8 00316928 EC 00 10 28 */ fsubs f0, f0, f2 -/* 803199CC 0031692C EC A7 01 32 */ fmuls f5, f7, f4 -/* 803199D0 00316930 D0 9F 00 6C */ stfs f4, 0x6c(r31) -/* 803199D4 00316934 EC 86 08 2A */ fadds f4, f6, f1 -/* 803199D8 00316938 EC 27 00 32 */ fmuls f1, f7, f0 -/* 803199DC 0031693C D0 1F 00 64 */ stfs f0, 0x64(r31) -/* 803199E0 00316940 EC 65 18 2A */ fadds f3, f5, f3 -/* 803199E4 00316944 D0 DF 00 74 */ stfs f6, 0x74(r31) -/* 803199E8 00316948 EC 01 10 2A */ fadds f0, f1, f2 -/* 803199EC 0031694C D0 3F 00 70 */ stfs f1, 0x70(r31) -/* 803199F0 00316950 D0 BF 00 78 */ stfs f5, 0x78(r31) -/* 803199F4 00316954 D0 1F 00 7C */ stfs f0, 0x7c(r31) -/* 803199F8 00316958 D0 9F 00 80 */ stfs f4, 0x80(r31) -/* 803199FC 0031695C D0 7F 00 84 */ stfs f3, 0x84(r31) -/* 80319A00 00316960 4B FF 90 E9 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 80319A04 00316964 28 1B 00 00 */ cmplwi r27, 0 -/* 80319A08 00316968 C3 DF 00 88 */ lfs f30, 0x88(r31) -/* 80319A0C 0031696C C3 BF 00 8C */ lfs f29, 0x8c(r31) -/* 80319A10 00316970 C3 9F 00 90 */ lfs f28, 0x90(r31) -/* 80319A14 00316974 40 82 00 88 */ bne lbl_80319A9C -/* 80319A18 00316978 80 9E 00 28 */ lwz r4, 0x28(r30) -/* 80319A1C 0031697C 38 7F 00 58 */ addi r3, r31, 0x58 -/* 80319A20 00316980 80 B9 00 28 */ lwz r5, 0x28(r25) -/* 80319A24 00316984 80 84 00 40 */ lwz r4, 0x40(r4) -/* 80319A28 00316988 80 1E 00 74 */ lwz r0, 0x74(r30) -/* 80319A2C 0031698C 81 84 00 00 */ lwz r12, 0(r4) -/* 80319A30 00316990 7C A5 00 50 */ subf r5, r5, r0 -/* 80319A34 00316994 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80319A38 00316998 7D 89 03 A6 */ mtctr r12 -/* 80319A3C 0031699C 4E 80 04 21 */ bctrl -/* 80319A40 003169A0 38 7F 00 1C */ addi r3, r31, 0x1c -/* 80319A44 003169A4 38 9F 00 58 */ addi r4, r31, 0x58 -/* 80319A48 003169A8 48 02 74 61 */ bl __ct__6CTokenFRC6CToken -/* 80319A4C 003169AC 38 7F 00 58 */ addi r3, r31, 0x58 -/* 80319A50 003169B0 38 80 00 00 */ li r4, 0 -/* 80319A54 003169B4 48 02 73 ED */ bl __dt__6CTokenFv -/* 80319A58 003169B8 38 7F 00 1C */ addi r3, r31, 0x1c -/* 80319A5C 003169BC 48 02 73 B1 */ bl GetObj__6CTokenFv -/* 80319A60 003169C0 80 03 00 04 */ lwz r0, 4(r3) -/* 80319A64 003169C4 7C 00 98 40 */ cmplw r0, r19 -/* 80319A68 003169C8 41 82 00 28 */ beq lbl_80319A90 -/* 80319A6C 003169CC 38 7F 00 1C */ addi r3, r31, 0x1c -/* 80319A70 003169D0 48 02 73 9D */ bl GetObj__6CTokenFv -/* 80319A74 003169D4 80 63 00 04 */ lwz r3, 4(r3) -/* 80319A78 003169D8 38 80 00 00 */ li r4, 0 -/* 80319A7C 003169DC 38 A0 00 01 */ li r5, 1 -/* 80319A80 003169E0 4B FF 5C BD */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode -/* 80319A84 003169E4 38 7F 00 1C */ addi r3, r31, 0x1c -/* 80319A88 003169E8 48 02 73 85 */ bl GetObj__6CTokenFv -/* 80319A8C 003169EC 82 63 00 04 */ lwz r19, 4(r3) -lbl_80319A90: -/* 80319A90 003169F0 38 7F 00 1C */ addi r3, r31, 0x1c -/* 80319A94 003169F4 38 80 00 00 */ li r4, 0 -/* 80319A98 003169F8 48 02 73 A9 */ bl __dt__6CTokenFv -lbl_80319A9C: -/* 80319A9C 003169FC 28 1C 00 00 */ cmplwi r28, 0 -/* 80319AA0 00316A00 40 82 00 88 */ bne lbl_80319B28 -/* 80319AA4 00316A04 80 9E 00 28 */ lwz r4, 0x28(r30) -/* 80319AA8 00316A08 38 7F 00 4C */ addi r3, r31, 0x4c -/* 80319AAC 00316A0C 80 B9 00 28 */ lwz r5, 0x28(r25) -/* 80319AB0 00316A10 80 84 00 44 */ lwz r4, 0x44(r4) -/* 80319AB4 00316A14 80 1E 00 74 */ lwz r0, 0x74(r30) -/* 80319AB8 00316A18 81 84 00 00 */ lwz r12, 0(r4) -/* 80319ABC 00316A1C 7C A5 00 50 */ subf r5, r5, r0 -/* 80319AC0 00316A20 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80319AC4 00316A24 7D 89 03 A6 */ mtctr r12 -/* 80319AC8 00316A28 4E 80 04 21 */ bctrl -/* 80319ACC 00316A2C 38 7F 00 14 */ addi r3, r31, 0x14 -/* 80319AD0 00316A30 38 9F 00 4C */ addi r4, r31, 0x4c -/* 80319AD4 00316A34 48 02 73 D5 */ bl __ct__6CTokenFRC6CToken -/* 80319AD8 00316A38 38 7F 00 4C */ addi r3, r31, 0x4c -/* 80319ADC 00316A3C 38 80 00 00 */ li r4, 0 -/* 80319AE0 00316A40 48 02 73 61 */ bl __dt__6CTokenFv -/* 80319AE4 00316A44 38 7F 00 14 */ addi r3, r31, 0x14 -/* 80319AE8 00316A48 48 02 73 25 */ bl GetObj__6CTokenFv -/* 80319AEC 00316A4C 80 03 00 04 */ lwz r0, 4(r3) -/* 80319AF0 00316A50 7C 00 90 40 */ cmplw r0, r18 -/* 80319AF4 00316A54 41 82 00 28 */ beq lbl_80319B1C -/* 80319AF8 00316A58 38 7F 00 14 */ addi r3, r31, 0x14 -/* 80319AFC 00316A5C 48 02 73 11 */ bl GetObj__6CTokenFv -/* 80319B00 00316A60 80 63 00 04 */ lwz r3, 4(r3) -/* 80319B04 00316A64 38 80 00 02 */ li r4, 2 -/* 80319B08 00316A68 38 A0 00 01 */ li r5, 1 -/* 80319B0C 00316A6C 4B FF 5C 31 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode -/* 80319B10 00316A70 38 7F 00 14 */ addi r3, r31, 0x14 -/* 80319B14 00316A74 48 02 72 F9 */ bl GetObj__6CTokenFv -/* 80319B18 00316A78 82 43 00 04 */ lwz r18, 4(r3) -lbl_80319B1C: -/* 80319B1C 00316A7C 38 7F 00 14 */ addi r3, r31, 0x14 -/* 80319B20 00316A80 38 80 00 00 */ li r4, 0 -/* 80319B24 00316A84 48 02 73 1D */ bl __dt__6CTokenFv -lbl_80319B28: -/* 80319B28 00316A88 28 1D 00 00 */ cmplwi r29, 0 -/* 80319B2C 00316A8C 40 82 00 34 */ bne lbl_80319B60 -/* 80319B30 00316A90 80 7E 00 28 */ lwz r3, 0x28(r30) -/* 80319B34 00316A94 38 14 00 28 */ addi r0, r20, 0x28 -/* 80319B38 00316A98 80 9E 00 3C */ lwz r4, 0x3c(r30) -/* 80319B3C 00316A9C 38 BF 00 EC */ addi r5, r31, 0xec -/* 80319B40 00316AA0 80 63 00 40 */ lwz r3, 0x40(r3) -/* 80319B44 00316AA4 7C 84 00 2E */ lwzx r4, r4, r0 -/* 80319B48 00316AA8 81 83 00 00 */ lwz r12, 0(r3) -/* 80319B4C 00316AAC 80 1E 00 74 */ lwz r0, 0x74(r30) -/* 80319B50 00316AB0 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80319B54 00316AB4 7C 84 00 50 */ subf r4, r4, r0 -/* 80319B58 00316AB8 7D 89 03 A6 */ mtctr r12 -/* 80319B5C 00316ABC 4E 80 04 21 */ bctrl -lbl_80319B60: -/* 80319B60 00316AC0 28 0E 00 00 */ cmplwi r14, 0 -/* 80319B64 00316AC4 40 82 00 34 */ bne lbl_80319B98 -/* 80319B68 00316AC8 80 7E 00 28 */ lwz r3, 0x28(r30) -/* 80319B6C 00316ACC 38 14 00 28 */ addi r0, r20, 0x28 -/* 80319B70 00316AD0 80 9E 00 3C */ lwz r4, 0x3c(r30) -/* 80319B74 00316AD4 38 BF 00 DC */ addi r5, r31, 0xdc -/* 80319B78 00316AD8 80 63 00 44 */ lwz r3, 0x44(r3) -/* 80319B7C 00316ADC 7C 84 00 2E */ lwzx r4, r4, r0 -/* 80319B80 00316AE0 81 83 00 00 */ lwz r12, 0(r3) -/* 80319B84 00316AE4 80 1E 00 74 */ lwz r0, 0x74(r30) -/* 80319B88 00316AE8 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80319B8C 00316AEC 7C 84 00 50 */ subf r4, r4, r0 -/* 80319B90 00316AF0 7D 89 03 A6 */ mtctr r12 -/* 80319B94 00316AF4 4E 80 04 21 */ bctrl -lbl_80319B98: -/* 80319B98 00316AF8 C0 19 00 2C */ lfs f0, 0x2c(r25) -/* 80319B9C 00316AFC 38 7F 01 14 */ addi r3, r31, 0x114 -/* 80319BA0 00316B00 38 9F 00 40 */ addi r4, r31, 0x40 -/* 80319BA4 00316B04 38 BF 00 34 */ addi r5, r31, 0x34 -/* 80319BA8 00316B08 EC 1F 00 32 */ fmuls f0, f31, f0 -/* 80319BAC 00316B0C D3 BF 00 38 */ stfs f29, 0x38(r31) -/* 80319BB0 00316B10 38 C0 00 07 */ li r6, 7 -/* 80319BB4 00316B14 D3 BF 00 44 */ stfs f29, 0x44(r31) -/* 80319BB8 00316B18 EF 20 F0 2A */ fadds f25, f0, f30 -/* 80319BBC 00316B1C EF 00 E0 2A */ fadds f24, f0, f28 -/* 80319BC0 00316B20 EE FE 00 28 */ fsubs f23, f30, f0 -/* 80319BC4 00316B24 EE DC 00 28 */ fsubs f22, f28, f0 -/* 80319BC8 00316B28 D3 3F 00 34 */ stfs f25, 0x34(r31) -/* 80319BCC 00316B2C D3 1F 00 3C */ stfs f24, 0x3c(r31) -/* 80319BD0 00316B30 D2 FF 00 40 */ stfs f23, 0x40(r31) -/* 80319BD4 00316B34 D2 DF 00 48 */ stfs f22, 0x48(r31) -/* 80319BD8 00316B38 4B FE FC D5 */ bl ClipScreenRectFromMS__9CGraphicsFRC9CVector3fRC9CVector3f12ETexelFormat -/* 80319BDC 00316B3C 88 1F 01 14 */ lbz r0, 0x114(r31) -/* 80319BE0 00316B40 80 7F 01 18 */ lwz r3, 0x118(r31) -/* 80319BE4 00316B44 28 00 00 00 */ cmplwi r0, 0 -/* 80319BE8 00316B48 80 1F 01 1C */ lwz r0, 0x11c(r31) -/* 80319BEC 00316B4C 80 BF 01 20 */ lwz r5, 0x120(r31) -/* 80319BF0 00316B50 82 FF 01 24 */ lwz r23, 0x124(r31) -/* 80319BF4 00316B54 82 DF 01 28 */ lwz r22, 0x128(r31) -/* 80319BF8 00316B58 C3 9F 01 2C */ lfs f28, 0x12c(r31) -/* 80319BFC 00316B5C C3 DF 01 30 */ lfs f30, 0x130(r31) -/* 80319C00 00316B60 C3 7F 01 34 */ lfs f27, 0x134(r31) -/* 80319C04 00316B64 C3 5F 01 38 */ lfs f26, 0x138(r31) -/* 80319C08 00316B68 41 82 01 8C */ beq lbl_80319D94 -/* 80319C0C 00316B6C 81 ED A8 28 */ lwz r15, lbl_805A93E8@sda21(r13) -/* 80319C10 00316B70 54 63 04 3E */ clrlwi r3, r3, 0x10 -/* 80319C14 00316B74 54 04 04 3E */ clrlwi r4, r0, 0x10 -/* 80319C18 00316B78 54 A5 04 3E */ clrlwi r5, r5, 0x10 -/* 80319C1C 00316B7C 56 E6 04 3E */ clrlwi r6, r23, 0x10 -/* 80319C20 00316B80 48 05 F1 95 */ bl GXSetTexCopySrc -/* 80319C24 00316B84 56 C3 04 3E */ clrlwi r3, r22, 0x10 -/* 80319C28 00316B88 56 E4 04 3E */ clrlwi r4, r23, 0x10 -/* 80319C2C 00316B8C 38 A0 00 04 */ li r5, 4 -/* 80319C30 00316B90 38 C0 00 00 */ li r6, 0 -/* 80319C34 00316B94 48 05 F2 4D */ bl GXSetTexCopyDst -/* 80319C38 00316B98 83 0D A8 24 */ lwz r24, lbl_805A93E4@sda21(r13) -/* 80319C3C 00316B9C 56 C3 04 3E */ clrlwi r3, r22, 0x10 -/* 80319C40 00316BA0 56 E4 04 3E */ clrlwi r4, r23, 0x10 -/* 80319C44 00316BA4 38 A0 00 04 */ li r5, 4 -/* 80319C48 00316BA8 38 C0 00 00 */ li r6, 0 -/* 80319C4C 00316BAC 38 E0 00 00 */ li r7, 0 -/* 80319C50 00316BB0 48 05 FF F1 */ bl GXGetTexBufferSize -/* 80319C54 00316BB4 7C 03 C0 40 */ cmplw r3, r24 -/* 80319C58 00316BB8 41 81 01 3C */ bgt lbl_80319D94 -/* 80319C5C 00316BBC 4B FE FB A9 */ bl GetUseVideoFilter__9CGraphicsFv -/* 80319C60 00316BC0 7C 60 1B 78 */ mr r0, r3 -/* 80319C64 00316BC4 38 60 00 00 */ li r3, 0 -/* 80319C68 00316BC8 7C 18 03 78 */ mr r24, r0 -/* 80319C6C 00316BCC 4B FE FB A1 */ bl SetUseVideoFilter__9CGraphicsFb -/* 80319C70 00316BD0 7D E3 7B 78 */ mr r3, r15 -/* 80319C74 00316BD4 38 80 00 00 */ li r4, 0 -/* 80319C78 00316BD8 48 05 F8 BD */ bl GXCopyTex -/* 80319C7C 00316BDC 7F 03 C3 78 */ mr r3, r24 -/* 80319C80 00316BE0 4B FE FB 8D */ bl SetUseVideoFilter__9CGraphicsFb -/* 80319C84 00316BE4 48 05 E8 E1 */ bl GXPixModeSync -/* 80319C88 00316BE8 80 E2 C7 A8 */ lwz r7, lbl_805AE4C8@sda21(r2) -/* 80319C8C 00316BEC 7E C3 B3 78 */ mr r3, r22 -/* 80319C90 00316BF0 7E E4 BB 78 */ mr r4, r23 -/* 80319C94 00316BF4 38 A0 00 04 */ li r5, 4 -/* 80319C98 00316BF8 38 C0 00 00 */ li r6, 0 -/* 80319C9C 00316BFC 4B FF 03 85 */ bl LoadDolphinSpareTexture__9CGraphicsFii9_GXTexFmtPv11_GXTexMapID -/* 80319CA0 00316C00 81 F9 00 34 */ lwz r15, 0x34(r25) -/* 80319CA4 00316C04 38 60 00 80 */ li r3, 0x80 -/* 80319CA8 00316C08 38 80 00 00 */ li r4, 0 -/* 80319CAC 00316C0C 38 A0 00 04 */ li r5, 4 -/* 80319CB0 00316C10 4B FE E8 D5 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs -/* 80319CB4 00316C14 3C 60 CC 01 */ lis r3, 0xCC008000@ha -/* 80319CB8 00316C18 D3 23 80 00 */ stfs f25, 0xCC008000@l(r3) -/* 80319CBC 00316C1C D3 A3 80 00 */ stfs f29, 0xCC008000@l(r3) -/* 80319CC0 00316C20 D3 03 80 00 */ stfs f24, 0xCC008000@l(r3) -/* 80319CC4 00316C24 91 E3 80 00 */ stw r15, 0xCC008000@l(r3) -/* 80319CC8 00316C28 C0 1F 00 F4 */ lfs f0, 0xf4(r31) -/* 80319CCC 00316C2C D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 80319CD0 00316C30 C0 1F 00 F8 */ lfs f0, 0xf8(r31) -/* 80319CD4 00316C34 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 80319CD8 00316C38 D3 C3 80 00 */ stfs f30, 0xCC008000@l(r3) -/* 80319CDC 00316C3C D3 63 80 00 */ stfs f27, 0xCC008000@l(r3) -/* 80319CE0 00316C40 C0 1F 00 E4 */ lfs f0, 0xe4(r31) -/* 80319CE4 00316C44 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 80319CE8 00316C48 C0 1F 00 E8 */ lfs f0, 0xe8(r31) -/* 80319CEC 00316C4C D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 80319CF0 00316C50 D2 E3 80 00 */ stfs f23, 0xCC008000@l(r3) -/* 80319CF4 00316C54 D3 A3 80 00 */ stfs f29, 0xCC008000@l(r3) -/* 80319CF8 00316C58 D3 03 80 00 */ stfs f24, 0xCC008000@l(r3) -/* 80319CFC 00316C5C 91 E3 80 00 */ stw r15, 0xCC008000@l(r3) -/* 80319D00 00316C60 C0 3F 00 EC */ lfs f1, 0xec(r31) -/* 80319D04 00316C64 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 80319D08 00316C68 C0 1F 00 F8 */ lfs f0, 0xf8(r31) -/* 80319D0C 00316C6C D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 80319D10 00316C70 D3 83 80 00 */ stfs f28, 0xCC008000@l(r3) -/* 80319D14 00316C74 D3 63 80 00 */ stfs f27, 0xCC008000@l(r3) -/* 80319D18 00316C78 C0 5F 00 DC */ lfs f2, 0xdc(r31) -/* 80319D1C 00316C7C D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 80319D20 00316C80 C0 1F 00 E8 */ lfs f0, 0xe8(r31) -/* 80319D24 00316C84 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 80319D28 00316C88 D2 E3 80 00 */ stfs f23, 0xCC008000@l(r3) -/* 80319D2C 00316C8C D3 A3 80 00 */ stfs f29, 0xCC008000@l(r3) -/* 80319D30 00316C90 D2 C3 80 00 */ stfs f22, 0xCC008000@l(r3) -/* 80319D34 00316C94 91 E3 80 00 */ stw r15, 0xCC008000@l(r3) -/* 80319D38 00316C98 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 80319D3C 00316C9C C0 1F 00 F0 */ lfs f0, 0xf0(r31) -/* 80319D40 00316CA0 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 80319D44 00316CA4 D3 83 80 00 */ stfs f28, 0xCC008000@l(r3) -/* 80319D48 00316CA8 D3 43 80 00 */ stfs f26, 0xCC008000@l(r3) -/* 80319D4C 00316CAC D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 80319D50 00316CB0 C0 1F 00 E0 */ lfs f0, 0xe0(r31) -/* 80319D54 00316CB4 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 80319D58 00316CB8 D3 23 80 00 */ stfs f25, 0xCC008000@l(r3) -/* 80319D5C 00316CBC D3 A3 80 00 */ stfs f29, 0xCC008000@l(r3) -/* 80319D60 00316CC0 D2 C3 80 00 */ stfs f22, 0xCC008000@l(r3) -/* 80319D64 00316CC4 91 E3 80 00 */ stw r15, 0xCC008000@l(r3) -/* 80319D68 00316CC8 C0 1F 00 F4 */ lfs f0, 0xf4(r31) -/* 80319D6C 00316CCC D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 80319D70 00316CD0 C0 1F 00 F0 */ lfs f0, 0xf0(r31) -/* 80319D74 00316CD4 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 80319D78 00316CD8 D3 C3 80 00 */ stfs f30, 0xCC008000@l(r3) -/* 80319D7C 00316CDC D3 43 80 00 */ stfs f26, 0xCC008000@l(r3) -/* 80319D80 00316CE0 C0 1F 00 E4 */ lfs f0, 0xe4(r31) -/* 80319D84 00316CE4 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 80319D88 00316CE8 C0 1F 00 E0 */ lfs f0, 0xe0(r31) -/* 80319D8C 00316CEC D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 80319D90 00316CF0 4B FE E7 F1 */ bl End__3CGXFv -lbl_80319D94: -/* 80319D94 00316CF4 3A B5 00 10 */ addi r21, r21, 0x10 -/* 80319D98 00316CF8 3A 94 00 38 */ addi r20, r20, 0x38 -/* 80319D9C 00316CFC 3A 10 00 01 */ addi r16, r16, 1 -lbl_80319DA0: -/* 80319DA0 00316D00 7C 10 D0 00 */ cmpw r16, r26 -/* 80319DA4 00316D04 41 80 FB C8 */ blt lbl_8031996C -/* 80319DA8 00316D08 38 60 00 00 */ li r3, 0 -/* 80319DAC 00316D0C 4B FE E8 E5 */ bl SetNumIndStages__3CGXFUc -/* 80319DB0 00316D10 38 60 00 01 */ li r3, 1 -/* 80319DB4 00316D14 4B FE E9 91 */ bl SetTevDirect__3CGXF13_GXTevStageID -/* 80319DB8 00316D18 38 7F 00 24 */ addi r3, r31, 0x24 -/* 80319DBC 00316D1C 38 80 00 00 */ li r4, 0 -/* 80319DC0 00316D20 48 02 70 81 */ bl __dt__6CTokenFv -/* 80319DC4 00316D24 38 7F 00 2C */ addi r3, r31, 0x2c -/* 80319DC8 00316D28 38 80 00 00 */ li r4, 0 -/* 80319DCC 00316D2C 48 02 70 75 */ bl __dt__6CTokenFv -/* 80319DD0 00316D30 7F EA FB 78 */ mr r10, r31 -/* 80319DD4 00316D34 E3 EA 03 A8 */ psq_l f31, 936(r10), 0, qr0 -/* 80319DD8 00316D38 CB FF 03 A0 */ lfd f31, 0x3a0(r31) -/* 80319DDC 00316D3C E3 CA 03 98 */ psq_l f30, 920(r10), 0, qr0 -/* 80319DE0 00316D40 CB DF 03 90 */ lfd f30, 0x390(r31) -/* 80319DE4 00316D44 E3 AA 03 88 */ psq_l f29, 904(r10), 0, qr0 -/* 80319DE8 00316D48 CB BF 03 80 */ lfd f29, 0x380(r31) -/* 80319DEC 00316D4C E3 8A 03 78 */ psq_l f28, 888(r10), 0, qr0 -/* 80319DF0 00316D50 CB 9F 03 70 */ lfd f28, 0x370(r31) -/* 80319DF4 00316D54 E3 6A 03 68 */ psq_l f27, 872(r10), 0, qr0 -/* 80319DF8 00316D58 CB 7F 03 60 */ lfd f27, 0x360(r31) -/* 80319DFC 00316D5C E3 4A 03 58 */ psq_l f26, 856(r10), 0, qr0 -/* 80319E00 00316D60 CB 5F 03 50 */ lfd f26, 0x350(r31) -/* 80319E04 00316D64 E3 2A 03 48 */ psq_l f25, 840(r10), 0, qr0 -/* 80319E08 00316D68 CB 3F 03 40 */ lfd f25, 0x340(r31) -/* 80319E0C 00316D6C E3 0A 03 38 */ psq_l f24, 824(r10), 0, qr0 -/* 80319E10 00316D70 CB 1F 03 30 */ lfd f24, 0x330(r31) -/* 80319E14 00316D74 E2 EA 03 28 */ psq_l f23, 808(r10), 0, qr0 -/* 80319E18 00316D78 CA FF 03 20 */ lfd f23, 0x320(r31) -/* 80319E1C 00316D7C E2 CA 03 18 */ psq_l f22, 792(r10), 0, qr0 -/* 80319E20 00316D80 CA DF 03 10 */ lfd f22, 0x310(r31) -/* 80319E24 00316D84 B9 CA 02 C8 */ lmw r14, 0x2c8(r10) -/* 80319E28 00316D88 81 41 00 00 */ lwz r10, 0(r1) -/* 80319E2C 00316D8C 80 0A 00 04 */ lwz r0, 4(r10) -/* 80319E30 00316D90 7D 41 53 78 */ mr r1, r10 -/* 80319E34 00316D94 7C 08 03 A6 */ mtlr r0 -/* 80319E38 00316D98 4E 80 00 20 */ blr - -.global sub_80319e3c -sub_80319e3c: -/* 80319E3C 00316D9C 94 21 FE 40 */ stwu r1, -0x1c0(r1) -/* 80319E40 00316DA0 7C 08 02 A6 */ mflr r0 -/* 80319E44 00316DA4 90 01 01 C4 */ stw r0, 0x1c4(r1) -/* 80319E48 00316DA8 DB E1 01 B0 */ stfd f31, 0x1b0(r1) -/* 80319E4C 00316DAC F3 E1 01 B8 */ psq_st f31, 440(r1), 0, qr0 -/* 80319E50 00316DB0 DB C1 01 A0 */ stfd f30, 0x1a0(r1) -/* 80319E54 00316DB4 F3 C1 01 A8 */ psq_st f30, 424(r1), 0, qr0 -/* 80319E58 00316DB8 DB A1 01 90 */ stfd f29, 0x190(r1) -/* 80319E5C 00316DBC F3 A1 01 98 */ psq_st f29, 408(r1), 0, qr0 -/* 80319E60 00316DC0 DB 81 01 80 */ stfd f28, 0x180(r1) -/* 80319E64 00316DC4 F3 81 01 88 */ psq_st f28, 392(r1), 0, qr0 -/* 80319E68 00316DC8 DB 61 01 70 */ stfd f27, 0x170(r1) -/* 80319E6C 00316DCC F3 61 01 78 */ psq_st f27, 376(r1), 0, qr0 -/* 80319E70 00316DD0 BE 01 01 30 */ stmw r16, 0x130(r1) -/* 80319E74 00316DD4 7C 3F 0B 78 */ mr r31, r1 -/* 80319E78 00316DD8 3C A0 80 5A */ lis r5, lbl_805A61D4@ha -/* 80319E7C 00316DDC 7C 7E 1B 78 */ mr r30, r3 -/* 80319E80 00316DE0 38 05 61 D4 */ addi r0, r5, lbl_805A61D4@l -/* 80319E84 00316DE4 7C 93 23 78 */ mr r19, r4 -/* 80319E88 00316DE8 7C 04 03 78 */ mr r4, r0 -/* 80319E8C 00316DEC 38 7F 00 F4 */ addi r3, r31, 0xf4 -/* 80319E90 00316DF0 4B FF 8C E5 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80319E94 00316DF4 38 7F 00 C4 */ addi r3, r31, 0xc4 -/* 80319E98 00316DF8 38 9F 00 F4 */ addi r4, r31, 0xf4 -/* 80319E9C 00316DFC 4B FF 8C D9 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80319EA0 00316E00 3C 80 80 5A */ lis r4, skZero3f@ha -/* 80319EA4 00316E04 38 7F 00 64 */ addi r3, r31, 0x64 -/* 80319EA8 00316E08 38 A4 66 A0 */ addi r5, r4, skZero3f@l -/* 80319EAC 00316E0C 38 9F 00 C4 */ addi r4, r31, 0xc4 -/* 80319EB0 00316E10 C0 45 00 00 */ lfs f2, 0(r5) -/* 80319EB4 00316E14 C0 25 00 04 */ lfs f1, 4(r5) -/* 80319EB8 00316E18 C0 05 00 08 */ lfs f0, 8(r5) -/* 80319EBC 00316E1C D0 5F 00 D0 */ stfs f2, 0xd0(r31) -/* 80319EC0 00316E20 D0 3F 00 E0 */ stfs f1, 0xe0(r31) -/* 80319EC4 00316E24 D0 1F 00 F0 */ stfs f0, 0xf0(r31) -/* 80319EC8 00316E28 4B FF 8D D5 */ bl GetQuickInverse__12CTransform4fCFv -/* 80319ECC 00316E2C 38 7F 00 94 */ addi r3, r31, 0x94 -/* 80319ED0 00316E30 38 9F 00 64 */ addi r4, r31, 0x64 -/* 80319ED4 00316E34 4B FF 8C A1 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80319ED8 00316E38 38 7F 00 C4 */ addi r3, r31, 0xc4 -/* 80319EDC 00316E3C 4B FF 27 05 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f -/* 80319EE0 00316E40 38 60 00 00 */ li r3, 0 -/* 80319EE4 00316E44 4B FF 1B 8D */ bl SetCullMode__9CGraphicsF12ERglCullMode -/* 80319EE8 00316E48 38 60 00 01 */ li r3, 1 -/* 80319EEC 00316E4C 38 80 00 03 */ li r4, 3 -/* 80319EF0 00316E50 38 A0 00 00 */ li r5, 0 -/* 80319EF4 00316E54 4B FF 1B A1 */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb -/* 80319EF8 00316E58 38 60 00 04 */ li r3, 4 -/* 80319EFC 00316E5C 38 80 00 00 */ li r4, 0 -/* 80319F00 00316E60 38 A0 00 00 */ li r5, 0 -/* 80319F04 00316E64 38 C0 00 07 */ li r6, 7 -/* 80319F08 00316E68 38 E0 00 00 */ li r7, 0 -/* 80319F0C 00316E6C 4B FF 1B 1D */ bl SetAlphaCompare__9CGraphicsF13ERglAlphaFuncUc11ERglAlphaOp13ERglAlphaFuncUc -/* 80319F10 00316E70 3C 80 80 5A */ lis r4, lbl_805A5EBC@ha -/* 80319F14 00316E74 38 60 00 00 */ li r3, 0 -/* 80319F18 00316E78 38 84 5E BC */ addi r4, r4, lbl_805A5EBC@l -/* 80319F1C 00316E7C 4B FF 03 9D */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass -/* 80319F20 00316E80 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) -/* 80319F24 00316E84 38 60 00 01 */ li r3, 1 -/* 80319F28 00316E88 4B FF 03 91 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass -/* 80319F2C 00316E8C 8B AD A8 B8 */ lbz r29, lbl_805A9478@sda21(r13) -/* 80319F30 00316E90 7F D0 F3 78 */ mr r16, r30 -/* 80319F34 00316E94 3A 20 00 00 */ li r17, 0 -/* 80319F38 00316E98 48 00 00 4C */ b lbl_80319F84 -lbl_80319F3C: -/* 80319F3C 00316E9C 80 90 00 00 */ lwz r4, 0(r16) -/* 80319F40 00316EA0 38 7F 00 48 */ addi r3, r31, 0x48 -/* 80319F44 00316EA4 38 A0 00 00 */ li r5, 0 -/* 80319F48 00316EA8 80 84 00 28 */ lwz r4, 0x28(r4) -/* 80319F4C 00316EAC 80 84 00 40 */ lwz r4, 0x40(r4) -/* 80319F50 00316EB0 81 84 00 00 */ lwz r12, 0(r4) -/* 80319F54 00316EB4 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80319F58 00316EB8 7D 89 03 A6 */ mtctr r12 -/* 80319F5C 00316EBC 4E 80 04 21 */ bctrl -/* 80319F60 00316EC0 80 7F 00 50 */ lwz r3, 0x50(r31) -/* 80319F64 00316EC4 7E 24 8B 78 */ mr r4, r17 -/* 80319F68 00316EC8 38 A0 00 01 */ li r5, 1 -/* 80319F6C 00316ECC 4B FF 57 D1 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode -/* 80319F70 00316ED0 38 7F 00 48 */ addi r3, r31, 0x48 -/* 80319F74 00316ED4 38 80 00 00 */ li r4, 0 -/* 80319F78 00316ED8 48 02 6E C9 */ bl __dt__6CTokenFv -/* 80319F7C 00316EDC 3A 10 00 04 */ addi r16, r16, 4 -/* 80319F80 00316EE0 3A 31 00 01 */ addi r17, r17, 1 -lbl_80319F84: -/* 80319F84 00316EE4 7C 11 98 00 */ cmpw r17, r19 -/* 80319F88 00316EE8 41 80 FF B4 */ blt lbl_80319F3C -/* 80319F8C 00316EEC 3C 60 80 3D */ lis r3, lbl_803D7868@ha -/* 80319F90 00316EF0 38 63 78 68 */ addi r3, r3, lbl_803D7868@l -/* 80319F94 00316EF4 4B FE DE 95 */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList -/* 80319F98 00316EF8 3A 00 00 01 */ li r16, 1 -/* 80319F9C 00316EFC 38 60 00 01 */ li r3, 1 -/* 80319FA0 00316F00 4B FE EE B1 */ bl SetNumChans__3CGXFUc -/* 80319FA4 00316F04 57 A0 06 3F */ clrlwi. r0, r29, 0x18 -/* 80319FA8 00316F08 3B 00 00 00 */ li r24, 0 -/* 80319FAC 00316F0C 41 82 00 68 */ beq lbl_8031A014 -/* 80319FB0 00316F10 38 60 00 01 */ li r3, 1 -/* 80319FB4 00316F14 38 80 00 01 */ li r4, 1 -/* 80319FB8 00316F18 38 A0 00 01 */ li r5, 1 -/* 80319FBC 00316F1C 38 C0 00 00 */ li r6, 0 -/* 80319FC0 00316F20 4B FF 1A 91 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp -/* 80319FC4 00316F24 3B 00 00 01 */ li r24, 1 -/* 80319FC8 00316F28 38 60 00 01 */ li r3, 1 -/* 80319FCC 00316F2C 38 80 00 0F */ li r4, 0xf -/* 80319FD0 00316F30 38 A0 00 00 */ li r5, 0 -/* 80319FD4 00316F34 38 C0 00 01 */ li r6, 1 -/* 80319FD8 00316F38 38 E0 00 0F */ li r7, 0xf -/* 80319FDC 00316F3C 4B FE EC 11 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg -/* 80319FE0 00316F40 38 60 00 01 */ li r3, 1 -/* 80319FE4 00316F44 38 80 00 07 */ li r4, 7 -/* 80319FE8 00316F48 38 A0 00 04 */ li r5, 4 -/* 80319FEC 00316F4C 38 C0 00 00 */ li r6, 0 -/* 80319FF0 00316F50 38 E0 00 07 */ li r7, 7 -/* 80319FF4 00316F54 4B FE EB A1 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg -/* 80319FF8 00316F58 38 60 00 01 */ li r3, 1 -/* 80319FFC 00316F5C 4B FE DC 55 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID -/* 8031A000 00316F60 38 60 00 01 */ li r3, 1 -/* 8031A004 00316F64 38 80 00 00 */ li r4, 0 -/* 8031A008 00316F68 38 A0 00 01 */ li r5, 1 -/* 8031A00C 00316F6C 48 06 18 25 */ bl GXSetTevSwapMode -/* 8031A010 00316F70 3A 00 00 02 */ li r16, 2 -lbl_8031A014: -/* 8031A014 00316F74 56 03 06 3E */ clrlwi r3, r16, 0x18 -/* 8031A018 00316F78 4B FE EC 79 */ bl SetNumTevStages__3CGXFUc -/* 8031A01C 00316F7C 38 60 00 01 */ li r3, 1 -/* 8031A020 00316F80 4B FE ED F5 */ bl SetNumTexGens__3CGXFUc -/* 8031A024 00316F84 38 60 00 00 */ li r3, 0 -/* 8031A028 00316F88 38 80 00 00 */ li r4, 0 -/* 8031A02C 00316F8C 38 A0 00 00 */ li r5, 0 -/* 8031A030 00316F90 38 C0 00 01 */ li r6, 1 -/* 8031A034 00316F94 38 E0 00 00 */ li r7, 0 -/* 8031A038 00316F98 39 00 00 00 */ li r8, 0 -/* 8031A03C 00316F9C 39 20 00 02 */ li r9, 2 -/* 8031A040 00316FA0 4B FE EC 8D */ bl SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn -/* 8031A044 00316FA4 38 60 00 00 */ li r3, 0 -/* 8031A048 00316FA8 38 80 00 01 */ li r4, 1 -/* 8031A04C 00316FAC 38 A0 00 04 */ li r5, 4 -/* 8031A050 00316FB0 38 C0 00 3C */ li r6, 0x3c -/* 8031A054 00316FB4 38 E0 00 00 */ li r7, 0 -/* 8031A058 00316FB8 39 00 00 7D */ li r8, 0x7d -/* 8031A05C 00316FBC 4B FE E6 71 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx -/* 8031A060 00316FC0 38 60 00 06 */ li r3, 6 -/* 8031A064 00316FC4 38 80 00 09 */ li r4, 9 -/* 8031A068 00316FC8 38 A0 00 01 */ li r5, 1 -/* 8031A06C 00316FCC 38 C0 00 04 */ li r6, 4 -/* 8031A070 00316FD0 38 E0 00 00 */ li r7, 0 -/* 8031A074 00316FD4 48 05 D7 19 */ bl GXSetVtxAttrFmt -/* 8031A078 00316FD8 38 60 00 06 */ li r3, 6 -/* 8031A07C 00316FDC 38 80 00 0B */ li r4, 0xb -/* 8031A080 00316FE0 38 A0 00 01 */ li r5, 1 -/* 8031A084 00316FE4 38 C0 00 05 */ li r6, 5 -/* 8031A088 00316FE8 38 E0 00 00 */ li r7, 0 -/* 8031A08C 00316FEC 48 05 D7 01 */ bl GXSetVtxAttrFmt -/* 8031A090 00316FF0 38 60 00 06 */ li r3, 6 -/* 8031A094 00316FF4 38 80 00 0D */ li r4, 0xd -/* 8031A098 00316FF8 38 A0 00 01 */ li r5, 1 -/* 8031A09C 00316FFC 38 C0 00 04 */ li r6, 4 -/* 8031A0A0 00317000 38 E0 00 00 */ li r7, 0 -/* 8031A0A4 00317004 48 05 D6 E9 */ bl GXSetVtxAttrFmt -/* 8031A0A8 00317008 7F D0 F3 78 */ mr r16, r30 -/* 8031A0AC 0031700C 3A 20 00 00 */ li r17, 0 -/* 8031A0B0 00317010 3A 40 00 00 */ li r18, 0 -/* 8031A0B4 00317014 48 00 00 24 */ b lbl_8031A0D8 -lbl_8031A0B8: -/* 8031A0B8 00317018 80 70 00 00 */ lwz r3, 0(r16) -/* 8031A0BC 0031701C 81 83 00 00 */ lwz r12, 0(r3) -/* 8031A0C0 00317020 81 8C 00 60 */ lwz r12, 0x60(r12) -/* 8031A0C4 00317024 7D 89 03 A6 */ mtctr r12 -/* 8031A0C8 00317028 4E 80 04 21 */ bctrl -/* 8031A0CC 0031702C 7E 31 1A 14 */ add r17, r17, r3 -/* 8031A0D0 00317030 3A 10 00 04 */ addi r16, r16, 4 -/* 8031A0D4 00317034 3A 52 00 01 */ addi r18, r18, 1 -lbl_8031A0D8: -/* 8031A0D8 00317038 7C 12 98 00 */ cmpw r18, r19 -/* 8031A0DC 0031703C 41 80 FF DC */ blt lbl_8031A0B8 -/* 8031A0E0 00317040 56 23 20 36 */ slwi r3, r17, 4 -/* 8031A0E4 00317044 80 01 00 00 */ lwz r0, 0(r1) -/* 8031A0E8 00317048 7E E3 00 D0 */ neg r23, r3 -/* 8031A0EC 0031704C 56 F7 00 38 */ rlwinm r23, r23, 0, 0, 0x1c -/* 8031A0F0 00317050 7C 01 B9 6E */ stwux r0, r1, r23 -/* 8031A0F4 00317054 7F DB F3 78 */ mr r27, r30 -/* 8031A0F8 00317058 3B 20 00 00 */ li r25, 0 -/* 8031A0FC 0031705C 3A C0 00 00 */ li r22, 0 -/* 8031A100 00317060 3A E1 00 08 */ addi r23, r1, 8 -/* 8031A104 00317064 7E FA BB 78 */ mr r26, r23 -/* 8031A108 00317068 48 00 01 24 */ b lbl_8031A22C -lbl_8031A10C: -/* 8031A10C 0031706C 82 BB 00 00 */ lwz r21, 0(r27) -/* 8031A110 00317070 7E A3 AB 78 */ mr r3, r21 -/* 8031A114 00317074 81 95 00 00 */ lwz r12, 0(r21) -/* 8031A118 00317078 81 8C 00 60 */ lwz r12, 0x60(r12) -/* 8031A11C 0031707C 7D 89 03 A6 */ mtctr r12 -/* 8031A120 00317080 4E 80 04 21 */ bctrl -/* 8031A124 00317084 C3 D5 00 80 */ lfs f30, 0x80(r21) -/* 8031A128 00317088 7C 71 1B 78 */ mr r17, r3 -/* 8031A12C 0031708C 7F 5C D3 78 */ mr r28, r26 -/* 8031A130 00317090 3A 80 00 00 */ li r20, 0 -/* 8031A134 00317094 3A 40 00 00 */ li r18, 0 -/* 8031A138 00317098 48 00 00 E4 */ b lbl_8031A21C -lbl_8031A13C: -/* 8031A13C 0031709C 80 15 00 3C */ lwz r0, 0x3c(r21) -/* 8031A140 003170A0 7E 00 92 14 */ add r16, r0, r18 -/* 8031A144 003170A4 80 10 00 00 */ lwz r0, 0(r16) -/* 8031A148 003170A8 2C 00 FF FF */ cmpwi r0, -1 -/* 8031A14C 003170AC 41 82 00 C8 */ beq lbl_8031A214 -/* 8031A150 003170B0 38 7F 00 3C */ addi r3, r31, 0x3c -/* 8031A154 003170B4 38 9F 00 94 */ addi r4, r31, 0x94 -/* 8031A158 003170B8 38 B0 00 04 */ addi r5, r16, 4 -/* 8031A15C 003170BC 4B FF 89 8D */ bl __ml__12CTransform4fCFRC9CVector3f -/* 8031A160 003170C0 C0 1F 00 3C */ lfs f0, 0x3c(r31) -/* 8031A164 003170C4 38 7F 00 30 */ addi r3, r31, 0x30 -/* 8031A168 003170C8 38 9F 00 94 */ addi r4, r31, 0x94 -/* 8031A16C 003170CC 38 BF 00 24 */ addi r5, r31, 0x24 -/* 8031A170 003170D0 D0 1C 00 04 */ stfs f0, 4(r28) -/* 8031A174 003170D4 C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 8031A178 003170D8 D0 1C 00 08 */ stfs f0, 8(r28) -/* 8031A17C 003170DC C0 1F 00 44 */ lfs f0, 0x44(r31) -/* 8031A180 003170E0 D0 1C 00 0C */ stfs f0, 0xc(r28) -/* 8031A184 003170E4 C0 10 00 08 */ lfs f0, 8(r16) -/* 8031A188 003170E8 C0 90 00 14 */ lfs f4, 0x14(r16) -/* 8031A18C 003170EC C0 30 00 0C */ lfs f1, 0xc(r16) -/* 8031A190 003170F0 EC A0 20 28 */ fsubs f5, f0, f4 -/* 8031A194 003170F4 C0 70 00 18 */ lfs f3, 0x18(r16) -/* 8031A198 003170F8 C0 10 00 04 */ lfs f0, 4(r16) -/* 8031A19C 003170FC EC 21 18 28 */ fsubs f1, f1, f3 -/* 8031A1A0 00317100 C0 50 00 10 */ lfs f2, 0x10(r16) -/* 8031A1A4 00317104 EC DE 01 72 */ fmuls f6, f30, f5 -/* 8031A1A8 00317108 EC 00 10 28 */ fsubs f0, f0, f2 -/* 8031A1AC 0031710C D0 BF 00 10 */ stfs f5, 0x10(r31) -/* 8031A1B0 00317110 EC BE 00 72 */ fmuls f5, f30, f1 -/* 8031A1B4 00317114 EC 86 20 2A */ fadds f4, f6, f4 -/* 8031A1B8 00317118 D0 3F 00 14 */ stfs f1, 0x14(r31) -/* 8031A1BC 0031711C EC 3E 00 32 */ fmuls f1, f30, f0 -/* 8031A1C0 00317120 EC 65 18 2A */ fadds f3, f5, f3 -/* 8031A1C4 00317124 D0 1F 00 0C */ stfs f0, 0xc(r31) -/* 8031A1C8 00317128 EC 01 10 2A */ fadds f0, f1, f2 -/* 8031A1CC 0031712C D0 3F 00 18 */ stfs f1, 0x18(r31) -/* 8031A1D0 00317130 D0 DF 00 1C */ stfs f6, 0x1c(r31) -/* 8031A1D4 00317134 D0 BF 00 20 */ stfs f5, 0x20(r31) -/* 8031A1D8 00317138 D0 1F 00 24 */ stfs f0, 0x24(r31) -/* 8031A1DC 0031713C D0 9F 00 28 */ stfs f4, 0x28(r31) -/* 8031A1E0 00317140 D0 7F 00 2C */ stfs f3, 0x2c(r31) -/* 8031A1E4 00317144 4B FF 89 05 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 8031A1E8 00317148 C0 1F 00 30 */ lfs f0, 0x30(r31) -/* 8031A1EC 0031714C 3B 5A 00 10 */ addi r26, r26, 0x10 -/* 8031A1F0 00317150 3B 39 00 01 */ addi r25, r25, 1 -/* 8031A1F4 00317154 D0 1C 00 04 */ stfs f0, 4(r28) -/* 8031A1F8 00317158 C0 1F 00 34 */ lfs f0, 0x34(r31) -/* 8031A1FC 0031715C D0 1C 00 08 */ stfs f0, 8(r28) -/* 8031A200 00317160 C0 1F 00 38 */ lfs f0, 0x38(r31) -/* 8031A204 00317164 D0 1C 00 0C */ stfs f0, 0xc(r28) -/* 8031A208 00317168 B2 DC 00 00 */ sth r22, 0(r28) -/* 8031A20C 0031716C B2 9C 00 02 */ sth r20, 2(r28) -/* 8031A210 00317170 3B 9C 00 10 */ addi r28, r28, 0x10 -lbl_8031A214: -/* 8031A214 00317174 3A 94 00 01 */ addi r20, r20, 1 -/* 8031A218 00317178 3A 52 00 38 */ addi r18, r18, 0x38 -lbl_8031A21C: -/* 8031A21C 0031717C 7C 14 88 00 */ cmpw r20, r17 -/* 8031A220 00317180 41 80 FF 1C */ blt lbl_8031A13C -/* 8031A224 00317184 3B 7B 00 04 */ addi r27, r27, 4 -/* 8031A228 00317188 3A D6 00 01 */ addi r22, r22, 1 -lbl_8031A22C: -/* 8031A22C 0031718C 7C 16 98 00 */ cmpw r22, r19 -/* 8031A230 00317190 41 80 FE DC */ blt lbl_8031A10C -/* 8031A234 00317194 88 8D A8 C0 */ lbz r4, lbl_805A9480@sda21(r13) -/* 8031A238 00317198 57 20 20 36 */ slwi r0, r25, 4 -/* 8031A23C 0031719C 7E E3 BB 78 */ mr r3, r23 -/* 8031A240 003171A0 38 BF 00 08 */ addi r5, r31, 8 -/* 8031A244 003171A4 98 9F 00 08 */ stb r4, 8(r31) -/* 8031A248 003171A8 7C 97 02 14 */ add r4, r23, r0 -/* 8031A24C 003171AC 48 00 5F FD */ bl sub_80320248 -/* 8031A250 003171B0 3C 60 00 01 */ lis r3, 0x0000FFFF@ha -/* 8031A254 003171B4 C3 C2 C9 F8 */ lfs f30, lbl_805AE718@sda21(r2) -/* 8031A258 003171B8 C3 E2 C9 F4 */ lfs f31, lbl_805AE714@sda21(r2) -/* 8031A25C 003171BC 7E FA BB 78 */ mr r26, r23 -/* 8031A260 003171C0 3A 83 FF FF */ addi r20, r3, 0x0000FFFF@l -/* 8031A264 003171C4 3A A0 00 00 */ li r21, 0 -/* 8031A268 003171C8 3A C0 00 00 */ li r22, 0 -/* 8031A26C 003171CC 3A E0 00 00 */ li r23, 0 -/* 8031A270 003171D0 3B 60 00 00 */ li r27, 0 -/* 8031A274 003171D4 3E 40 CC 01 */ lis r18, 0xcc01 -/* 8031A278 003171D8 48 00 02 20 */ b lbl_8031A498 -lbl_8031A27C: -/* 8031A27C 003171DC A3 9A 00 00 */ lhz r28, 0(r26) -/* 8031A280 003171E0 56 80 04 3E */ clrlwi r0, r20, 0x10 -/* 8031A284 003171E4 7C 00 E0 40 */ cmplw r0, r28 -/* 8031A288 003171E8 41 82 00 94 */ beq lbl_8031A31C -/* 8031A28C 003171EC 57 93 13 BA */ rlwinm r19, r28, 2, 0xe, 0x1d -/* 8031A290 003171F0 7E BE 98 2E */ lwzx r21, r30, r19 -/* 8031A294 003171F4 7E A3 AB 78 */ mr r3, r21 -/* 8031A298 003171F8 4B FF D6 ED */ bl GetEmitterTime__11CElementGenFv -/* 8031A29C 003171FC 7C 9E 98 2E */ lwzx r4, r30, r19 -/* 8031A2A0 00317200 57 A0 06 3F */ clrlwi. r0, r29, 0x18 -/* 8031A2A4 00317204 7C 77 1B 78 */ mr r23, r3 -/* 8031A2A8 00317208 80 84 00 28 */ lwz r4, 0x28(r4) -/* 8031A2AC 0031720C 7C 96 23 78 */ mr r22, r4 -/* 8031A2B0 00317210 40 82 00 40 */ bne lbl_8031A2F0 -/* 8031A2B4 00317214 88 04 00 30 */ lbz r0, 0x30(r4) -/* 8031A2B8 00317218 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 8031A2BC 0031721C 41 82 00 1C */ beq lbl_8031A2D8 -/* 8031A2C0 00317220 38 60 00 01 */ li r3, 1 -/* 8031A2C4 00317224 38 80 00 04 */ li r4, 4 -/* 8031A2C8 00317228 38 A0 00 01 */ li r5, 1 -/* 8031A2CC 0031722C 38 C0 00 00 */ li r6, 0 -/* 8031A2D0 00317230 4B FF 17 81 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp -/* 8031A2D4 00317234 48 00 00 30 */ b lbl_8031A304 -lbl_8031A2D8: -/* 8031A2D8 00317238 38 60 00 01 */ li r3, 1 -/* 8031A2DC 0031723C 38 80 00 04 */ li r4, 4 -/* 8031A2E0 00317240 38 A0 00 05 */ li r5, 5 -/* 8031A2E4 00317244 38 C0 00 00 */ li r6, 0 -/* 8031A2E8 00317248 4B FF 17 69 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp -/* 8031A2EC 0031724C 48 00 00 18 */ b lbl_8031A304 -lbl_8031A2F0: -/* 8031A2F0 00317250 7F 03 C3 78 */ mr r3, r24 -/* 8031A2F4 00317254 7F 85 E3 78 */ mr r5, r28 -/* 8031A2F8 00317258 38 80 00 00 */ li r4, 0 -/* 8031A2FC 0031725C 38 C0 00 FF */ li r6, 0xff -/* 8031A300 00317260 4B FE E6 4D */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID -lbl_8031A304: -/* 8031A304 00317264 7F 85 E3 78 */ mr r5, r28 -/* 8031A308 00317268 38 60 00 00 */ li r3, 0 -/* 8031A30C 0031726C 38 80 00 00 */ li r4, 0 -/* 8031A310 00317270 38 C0 00 04 */ li r6, 4 -/* 8031A314 00317274 4B FE E6 39 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID -/* 8031A318 00317278 7F 94 E3 78 */ mr r20, r28 -lbl_8031A31C: -/* 8031A31C 0031727C A0 1A 00 02 */ lhz r0, 2(r26) -/* 8031A320 00317280 80 75 00 3C */ lwz r3, 0x3c(r21) -/* 8031A324 00317284 1C 00 00 38 */ mulli r0, r0, 0x38 -/* 8031A328 00317288 7E 03 02 14 */ add r16, r3, r0 -/* 8031A32C 0031728C 80 90 00 28 */ lwz r4, 0x28(r16) -/* 8031A330 00317290 80 10 00 00 */ lwz r0, 0(r16) -/* 8031A334 00317294 7C 64 B8 50 */ subf r3, r4, r23 -/* 8031A338 00317298 3A 23 FF FF */ addi r17, r3, -1 -/* 8031A33C 0031729C 7C 64 00 50 */ subf r3, r4, r0 -/* 8031A340 003172A0 48 01 04 39 */ bl SetParticleLifetime__16CParticleGlobalsFi -/* 8031A344 003172A4 7E 23 8B 78 */ mr r3, r17 -/* 8031A348 003172A8 48 01 03 35 */ bl UpdateParticleLifetimeTweenValues__16CParticleGlobalsFi -/* 8031A34C 003172AC 80 76 00 40 */ lwz r3, 0x40(r22) -/* 8031A350 003172B0 7E 24 8B 78 */ mr r4, r17 -/* 8031A354 003172B4 38 BF 00 54 */ addi r5, r31, 0x54 -/* 8031A358 003172B8 81 83 00 00 */ lwz r12, 0(r3) -/* 8031A35C 003172BC 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8031A360 003172C0 7D 89 03 A6 */ mtctr r12 -/* 8031A364 003172C4 4E 80 04 21 */ bctrl -/* 8031A368 003172C8 38 60 00 80 */ li r3, 0x80 -/* 8031A36C 003172CC 38 80 00 06 */ li r4, 6 -/* 8031A370 003172D0 38 A0 00 04 */ li r5, 4 -/* 8031A374 003172D4 4B FE E2 11 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs -/* 8031A378 003172D8 C0 10 00 30 */ lfs f0, 0x30(r16) -/* 8031A37C 003172DC C0 30 00 2C */ lfs f1, 0x2c(r16) -/* 8031A380 003172E0 EF 9F 00 32 */ fmuls f28, f31, f0 -/* 8031A384 003172E4 82 10 00 34 */ lwz r16, 0x34(r16) -/* 8031A388 003172E8 EF BE 00 72 */ fmuls f29, f30, f1 -/* 8031A38C 003172EC FC 20 E0 90 */ fmr f1, f28 -/* 8031A390 003172F0 4B FF AA 61 */ bl FastSinR__5CMathFf -/* 8031A394 003172F4 EF 7D 00 72 */ fmuls f27, f29, f1 -/* 8031A398 003172F8 FC 20 E0 90 */ fmr f1, f28 -/* 8031A39C 003172FC 4B FF A9 A9 */ bl FastCosR__5CMathFf -/* 8031A3A0 00317300 ED 3D 00 72 */ fmuls f9, f29, f1 -/* 8031A3A4 00317304 C0 3A 00 04 */ lfs f1, 4(r26) -/* 8031A3A8 00317308 FC 00 D8 50 */ fneg f0, f27 -/* 8031A3AC 0031730C C0 7A 00 0C */ lfs f3, 0xc(r26) -/* 8031A3B0 00317310 C0 DA 00 08 */ lfs f6, 8(r26) -/* 8031A3B4 00317314 ED 1B 48 2A */ fadds f8, f27, f9 -/* 8031A3B8 00317318 EC E9 D8 28 */ fsubs f7, f9, f27 -/* 8031A3BC 0031731C FC 40 48 50 */ fneg f2, f9 -/* 8031A3C0 00317320 EC 28 08 2A */ fadds f1, f8, f1 -/* 8031A3C4 00317324 EC A7 18 2A */ fadds f5, f7, f3 -/* 8031A3C8 00317328 EC 9B 48 28 */ fsubs f4, f27, f9 -/* 8031A3CC 0031732C D0 32 80 00 */ stfs f1, 0xCC008000@l(r18) -/* 8031A3D0 00317330 EC 20 48 2A */ fadds f1, f0, f9 -/* 8031A3D4 00317334 EC 62 D8 28 */ fsubs f3, f2, f27 -/* 8031A3D8 00317338 D0 D2 80 00 */ stfs f6, 0xCC008000@l(r18) -/* 8031A3DC 0031733C D0 B2 80 00 */ stfs f5, 0xCC008000@l(r18) -/* 8031A3E0 00317340 92 12 80 00 */ stw r16, 0xCC008000@l(r18) -/* 8031A3E4 00317344 C0 1F 00 5C */ lfs f0, 0x5c(r31) -/* 8031A3E8 00317348 D0 12 80 00 */ stfs f0, 0xCC008000@l(r18) -/* 8031A3EC 0031734C C0 1F 00 60 */ lfs f0, 0x60(r31) -/* 8031A3F0 00317350 D0 12 80 00 */ stfs f0, 0xCC008000@l(r18) -/* 8031A3F4 00317354 C0 1A 00 04 */ lfs f0, 4(r26) -/* 8031A3F8 00317358 C0 5A 00 0C */ lfs f2, 0xc(r26) -/* 8031A3FC 0031735C EC 04 00 2A */ fadds f0, f4, f0 -/* 8031A400 00317360 C0 9A 00 08 */ lfs f4, 8(r26) -/* 8031A404 00317364 EC 48 10 2A */ fadds f2, f8, f2 -/* 8031A408 00317368 D0 12 80 00 */ stfs f0, 0xCC008000@l(r18) -/* 8031A40C 0031736C D0 92 80 00 */ stfs f4, 0xCC008000@l(r18) -/* 8031A410 00317370 D0 52 80 00 */ stfs f2, 0xCC008000@l(r18) -/* 8031A414 00317374 92 12 80 00 */ stw r16, 0xCC008000@l(r18) -/* 8031A418 00317378 C0 BF 00 54 */ lfs f5, 0x54(r31) -/* 8031A41C 0031737C D0 B2 80 00 */ stfs f5, 0xCC008000@l(r18) -/* 8031A420 00317380 C0 1F 00 60 */ lfs f0, 0x60(r31) -/* 8031A424 00317384 D0 12 80 00 */ stfs f0, 0xCC008000@l(r18) -/* 8031A428 00317388 C0 1A 00 04 */ lfs f0, 4(r26) -/* 8031A42C 0031738C C0 5A 00 0C */ lfs f2, 0xc(r26) -/* 8031A430 00317390 EC 00 40 28 */ fsubs f0, f0, f8 -/* 8031A434 00317394 C0 9A 00 08 */ lfs f4, 8(r26) -/* 8031A438 00317398 EC 42 38 28 */ fsubs f2, f2, f7 -/* 8031A43C 0031739C D0 12 80 00 */ stfs f0, 0xCC008000@l(r18) -/* 8031A440 003173A0 D0 92 80 00 */ stfs f4, 0xCC008000@l(r18) -/* 8031A444 003173A4 D0 52 80 00 */ stfs f2, 0xCC008000@l(r18) -/* 8031A448 003173A8 92 12 80 00 */ stw r16, 0xCC008000@l(r18) -/* 8031A44C 003173AC D0 B2 80 00 */ stfs f5, 0xCC008000@l(r18) -/* 8031A450 003173B0 C0 1F 00 58 */ lfs f0, 0x58(r31) -/* 8031A454 003173B4 D0 12 80 00 */ stfs f0, 0xCC008000@l(r18) -/* 8031A458 003173B8 C0 1A 00 04 */ lfs f0, 4(r26) -/* 8031A45C 003173BC C0 5A 00 0C */ lfs f2, 0xc(r26) -/* 8031A460 003173C0 EC 01 00 2A */ fadds f0, f1, f0 -/* 8031A464 003173C4 C0 9A 00 08 */ lfs f4, 8(r26) -/* 8031A468 003173C8 EC 23 10 2A */ fadds f1, f3, f2 -/* 8031A46C 003173CC D0 12 80 00 */ stfs f0, 0xCC008000@l(r18) -/* 8031A470 003173D0 D0 92 80 00 */ stfs f4, 0xCC008000@l(r18) -/* 8031A474 003173D4 D0 32 80 00 */ stfs f1, 0xCC008000@l(r18) -/* 8031A478 003173D8 92 12 80 00 */ stw r16, 0xCC008000@l(r18) -/* 8031A47C 003173DC C0 1F 00 5C */ lfs f0, 0x5c(r31) -/* 8031A480 003173E0 D0 12 80 00 */ stfs f0, 0xCC008000@l(r18) -/* 8031A484 003173E4 C0 1F 00 58 */ lfs f0, 0x58(r31) -/* 8031A488 003173E8 D0 12 80 00 */ stfs f0, 0xCC008000@l(r18) -/* 8031A48C 003173EC 4B FE E0 F5 */ bl End__3CGXFv -/* 8031A490 003173F0 3B 5A 00 10 */ addi r26, r26, 0x10 -/* 8031A494 003173F4 3B 7B 00 01 */ addi r27, r27, 1 -lbl_8031A498: -/* 8031A498 003173F8 7C 1B C8 00 */ cmpw r27, r25 -/* 8031A49C 003173FC 41 80 FD E0 */ blt lbl_8031A27C -/* 8031A4A0 00317400 57 A0 06 3F */ clrlwi. r0, r29, 0x18 -/* 8031A4A4 00317404 41 82 00 14 */ beq lbl_8031A4B8 -/* 8031A4A8 00317408 7F 03 C3 78 */ mr r3, r24 -/* 8031A4AC 0031740C 38 80 00 00 */ li r4, 0 -/* 8031A4B0 00317410 38 A0 00 00 */ li r5, 0 -/* 8031A4B4 00317414 48 06 13 7D */ bl GXSetTevSwapMode -lbl_8031A4B8: -/* 8031A4B8 00317418 38 60 00 01 */ li r3, 1 -/* 8031A4BC 0031741C 4B FF 15 B5 */ bl SetCullMode__9CGraphicsF12ERglCullMode -/* 8031A4C0 00317420 38 60 00 07 */ li r3, 7 -/* 8031A4C4 00317424 38 80 00 00 */ li r4, 0 -/* 8031A4C8 00317428 38 A0 00 00 */ li r5, 0 -/* 8031A4CC 0031742C 38 C0 00 07 */ li r6, 7 -/* 8031A4D0 00317430 38 E0 00 00 */ li r7, 0 -/* 8031A4D4 00317434 4B FF 15 55 */ bl SetAlphaCompare__9CGraphicsF13ERglAlphaFuncUc11ERglAlphaOp13ERglAlphaFuncUc -/* 8031A4D8 00317438 7F EA FB 78 */ mr r10, r31 -/* 8031A4DC 0031743C E3 EA 01 B8 */ psq_l f31, 440(r10), 0, qr0 -/* 8031A4E0 00317440 CB FF 01 B0 */ lfd f31, 0x1b0(r31) -/* 8031A4E4 00317444 E3 CA 01 A8 */ psq_l f30, 424(r10), 0, qr0 -/* 8031A4E8 00317448 CB DF 01 A0 */ lfd f30, 0x1a0(r31) -/* 8031A4EC 0031744C E3 AA 01 98 */ psq_l f29, 408(r10), 0, qr0 -/* 8031A4F0 00317450 CB BF 01 90 */ lfd f29, 0x190(r31) -/* 8031A4F4 00317454 E3 8A 01 88 */ psq_l f28, 392(r10), 0, qr0 -/* 8031A4F8 00317458 CB 9F 01 80 */ lfd f28, 0x180(r31) -/* 8031A4FC 0031745C E3 6A 01 78 */ psq_l f27, 376(r10), 0, qr0 -/* 8031A500 00317460 CB 7F 01 70 */ lfd f27, 0x170(r31) -/* 8031A504 00317464 BA 0A 01 30 */ lmw r16, 0x130(r10) -/* 8031A508 00317468 81 41 00 00 */ lwz r10, 0(r1) -/* 8031A50C 0031746C 80 0A 00 04 */ lwz r0, 4(r10) -/* 8031A510 00317470 7D 41 53 78 */ mr r1, r10 -/* 8031A514 00317474 7C 08 03 A6 */ mtlr r0 -/* 8031A518 00317478 4E 80 00 20 */ blr - -.global RenderParticles__11CElementGenFv -RenderParticles__11CElementGenFv: -/* 8031A51C 0031747C 94 21 FB 60 */ stwu r1, -0x4a0(r1) -/* 8031A520 00317480 7C 08 02 A6 */ mflr r0 -/* 8031A524 00317484 90 01 04 A4 */ stw r0, 0x4a4(r1) -/* 8031A528 00317488 DB E1 04 90 */ stfd f31, 0x490(r1) -/* 8031A52C 0031748C F3 E1 04 98 */ psq_st f31, 1176(r1), 0, qr0 -/* 8031A530 00317490 DB C1 04 80 */ stfd f30, 0x480(r1) -/* 8031A534 00317494 F3 C1 04 88 */ psq_st f30, 1160(r1), 0, qr0 -/* 8031A538 00317498 DB A1 04 70 */ stfd f29, 0x470(r1) -/* 8031A53C 0031749C F3 A1 04 78 */ psq_st f29, 1144(r1), 0, qr0 -/* 8031A540 003174A0 DB 81 04 60 */ stfd f28, 0x460(r1) -/* 8031A544 003174A4 F3 81 04 68 */ psq_st f28, 1128(r1), 0, qr0 -/* 8031A548 003174A8 DB 61 04 50 */ stfd f27, 0x450(r1) -/* 8031A54C 003174AC F3 61 04 58 */ psq_st f27, 1112(r1), 0, qr0 -/* 8031A550 003174B0 DB 41 04 40 */ stfd f26, 0x440(r1) -/* 8031A554 003174B4 F3 41 04 48 */ psq_st f26, 1096(r1), 0, qr0 -/* 8031A558 003174B8 DB 21 04 30 */ stfd f25, 0x430(r1) -/* 8031A55C 003174BC F3 21 04 38 */ psq_st f25, 1080(r1), 0, qr0 -/* 8031A560 003174C0 DB 01 04 20 */ stfd f24, 0x420(r1) -/* 8031A564 003174C4 F3 01 04 28 */ psq_st f24, 1064(r1), 0, qr0 -/* 8031A568 003174C8 DA E1 04 10 */ stfd f23, 0x410(r1) -/* 8031A56C 003174CC F2 E1 04 18 */ psq_st f23, 1048(r1), 0, qr0 -/* 8031A570 003174D0 DA C1 04 00 */ stfd f22, 0x400(r1) -/* 8031A574 003174D4 F2 C1 04 08 */ psq_st f22, 1032(r1), 0, qr0 -/* 8031A578 003174D8 DA A1 03 F0 */ stfd f21, 0x3f0(r1) -/* 8031A57C 003174DC F2 A1 03 F8 */ psq_st f21, 1016(r1), 0, qr0 -/* 8031A580 003174E0 DA 81 03 E0 */ stfd f20, 0x3e0(r1) -/* 8031A584 003174E4 F2 81 03 E8 */ psq_st f20, 1000(r1), 0, qr0 -/* 8031A588 003174E8 DA 61 03 D0 */ stfd f19, 0x3d0(r1) -/* 8031A58C 003174EC F2 61 03 D8 */ psq_st f19, 984(r1), 0, qr0 -/* 8031A590 003174F0 DA 41 03 C0 */ stfd f18, 0x3c0(r1) -/* 8031A594 003174F4 F2 41 03 C8 */ psq_st f18, 968(r1), 0, qr0 -/* 8031A598 003174F8 DA 21 03 B0 */ stfd f17, 0x3b0(r1) -/* 8031A59C 003174FC F2 21 03 B8 */ psq_st f17, 952(r1), 0, qr0 -/* 8031A5A0 00317500 BE 41 03 78 */ stmw r18, 0x378(r1) -/* 8031A5A4 00317504 7C 3F 0B 78 */ mr r31, r1 -/* 8031A5A8 00317508 7C 7E 1B 78 */ mr r30, r3 -/* 8031A5AC 0031750C 38 7F 01 50 */ addi r3, r31, 0x150 -/* 8031A5B0 00317510 38 9E 02 7C */ addi r4, r30, 0x27c -/* 8031A5B4 00317514 4B FF 80 CD */ bl __ct__13CGlobalRandomFR9CRandom16 -/* 8031A5B8 00317518 7F C3 F3 78 */ mr r3, r30 -/* 8031A5BC 0031751C 4B FF D0 89 */ bl IsIndirectTextured__11CElementGenCFv -/* 8031A5C0 00317520 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8031A5C4 00317524 41 82 00 1C */ beq lbl_8031A5E0 -/* 8031A5C8 00317528 7F C3 F3 78 */ mr r3, r30 -/* 8031A5CC 0031752C 4B FF ED 09 */ bl RenderParticlesIndirectTexture__11CElementGenFv -/* 8031A5D0 00317530 38 7F 01 50 */ addi r3, r31, 0x150 -/* 8031A5D4 00317534 38 80 FF FF */ li r4, -1 -/* 8031A5D8 00317538 4B FF 80 2D */ bl __dt__13CGlobalRandomFv -/* 8031A5DC 0031753C 48 00 18 8C */ b lbl_8031BE68 -lbl_8031A5E0: -/* 8031A5E0 00317540 80 7E 00 28 */ lwz r3, 0x28(r30) -/* 8031A5E4 00317544 80 63 00 38 */ lwz r3, 0x38(r3) -/* 8031A5E8 00317548 28 03 00 00 */ cmplwi r3, 0 -/* 8031A5EC 0031754C 41 82 00 9C */ beq lbl_8031A688 -/* 8031A5F0 00317550 81 83 00 00 */ lwz r12, 0(r3) -/* 8031A5F4 00317554 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8031A5F8 00317558 7D 89 03 A6 */ mtctr r12 -/* 8031A5FC 0031755C 4E 80 04 21 */ bctrl -/* 8031A600 00317560 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8031A604 00317564 41 82 00 84 */ beq lbl_8031A688 -/* 8031A608 00317568 C0 02 C9 F0 */ lfs f0, lbl_805AE710@sda21(r2) -/* 8031A60C 0031756C 38 BF 00 3C */ addi r5, r31, 0x3c -/* 8031A610 00317570 38 80 00 00 */ li r4, 0 -/* 8031A614 00317574 D0 1F 00 3C */ stfs f0, 0x3c(r31) -/* 8031A618 00317578 80 7E 00 28 */ lwz r3, 0x28(r30) -/* 8031A61C 0031757C 80 63 00 38 */ lwz r3, 0x38(r3) -/* 8031A620 00317580 81 83 00 00 */ lwz r12, 0(r3) -/* 8031A624 00317584 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8031A628 00317588 7D 89 03 A6 */ mtctr r12 -/* 8031A62C 0031758C 4E 80 04 21 */ bctrl -/* 8031A630 00317590 C0 22 C9 E8 */ lfs f1, lbl_805AE708@sda21(r2) -/* 8031A634 00317594 C0 1F 00 3C */ lfs f0, 0x3c(r31) -/* 8031A638 00317598 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 8031A63C 0031759C 40 82 00 4C */ bne lbl_8031A688 -/* 8031A640 003175A0 C0 02 C9 F0 */ lfs f0, lbl_805AE710@sda21(r2) -/* 8031A644 003175A4 38 BF 00 3C */ addi r5, r31, 0x3c -/* 8031A648 003175A8 38 80 00 01 */ li r4, 1 -/* 8031A64C 003175AC D0 1F 00 3C */ stfs f0, 0x3c(r31) -/* 8031A650 003175B0 80 7E 00 28 */ lwz r3, 0x28(r30) -/* 8031A654 003175B4 80 63 00 38 */ lwz r3, 0x38(r3) -/* 8031A658 003175B8 81 83 00 00 */ lwz r12, 0(r3) -/* 8031A65C 003175BC 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8031A660 003175C0 7D 89 03 A6 */ mtctr r12 -/* 8031A664 003175C4 4E 80 04 21 */ bctrl -/* 8031A668 003175C8 C0 22 C9 E8 */ lfs f1, lbl_805AE708@sda21(r2) -/* 8031A66C 003175CC C0 1F 00 3C */ lfs f0, 0x3c(r31) -/* 8031A670 003175D0 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 8031A674 003175D4 40 82 00 14 */ bne lbl_8031A688 -/* 8031A678 003175D8 38 7F 01 50 */ addi r3, r31, 0x150 -/* 8031A67C 003175DC 38 80 FF FF */ li r4, -1 -/* 8031A680 003175E0 4B FF 7F 85 */ bl __dt__13CGlobalRandomFv -/* 8031A684 003175E4 48 00 17 E4 */ b lbl_8031BE68 -lbl_8031A688: -/* 8031A688 003175E8 38 60 00 00 */ li r3, 0 -/* 8031A68C 003175EC 4B FF 13 E5 */ bl SetCullMode__9CGraphicsF12ERglCullMode -/* 8031A690 003175F0 80 DE 03 38 */ lwz r6, 0x338(r30) -/* 8031A694 003175F4 3C 60 80 5A */ lis r3, lbl_805A61D4@ha -/* 8031A698 003175F8 38 83 61 D4 */ addi r4, r3, lbl_805A61D4@l -/* 8031A69C 003175FC 20 A6 FF FF */ subfic r5, r6, -1 -/* 8031A6A0 00317600 38 06 00 01 */ addi r0, r6, 1 -/* 8031A6A4 00317604 7C A0 03 78 */ or r0, r5, r0 -/* 8031A6A8 00317608 38 7F 03 34 */ addi r3, r31, 0x334 -/* 8031A6AC 0031760C 54 14 0F FE */ srwi r20, r0, 0x1f -/* 8031A6B0 00317610 4B FF 84 C5 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8031A6B4 00317614 38 7F 03 04 */ addi r3, r31, 0x304 -/* 8031A6B8 00317618 38 9F 03 34 */ addi r4, r31, 0x334 -/* 8031A6BC 0031761C 4B FF 84 B9 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8031A6C0 00317620 3C 80 80 5A */ lis r4, skZero3f@ha -/* 8031A6C4 00317624 38 7F 02 74 */ addi r3, r31, 0x274 -/* 8031A6C8 00317628 38 A4 66 A0 */ addi r5, r4, skZero3f@l -/* 8031A6CC 0031762C 38 9F 03 04 */ addi r4, r31, 0x304 -/* 8031A6D0 00317630 C0 45 00 00 */ lfs f2, 0(r5) -/* 8031A6D4 00317634 C0 25 00 04 */ lfs f1, 4(r5) -/* 8031A6D8 00317638 C0 05 00 08 */ lfs f0, 8(r5) -/* 8031A6DC 0031763C D0 5F 03 10 */ stfs f2, 0x310(r31) -/* 8031A6E0 00317640 D0 3F 03 20 */ stfs f1, 0x320(r31) -/* 8031A6E4 00317644 D0 1F 03 30 */ stfs f0, 0x330(r31) -/* 8031A6E8 00317648 4B FF 85 B5 */ bl GetQuickInverse__12CTransform4fCFv -/* 8031A6EC 0031764C 38 7F 02 A4 */ addi r3, r31, 0x2a4 -/* 8031A6F0 00317650 38 9F 02 74 */ addi r4, r31, 0x274 -/* 8031A6F4 00317654 38 BE 02 2C */ addi r5, r30, 0x22c -/* 8031A6F8 00317658 4B FF 82 59 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 8031A6FC 0031765C 38 7F 02 D4 */ addi r3, r31, 0x2d4 -/* 8031A700 00317660 38 9F 02 A4 */ addi r4, r31, 0x2a4 -/* 8031A704 00317664 4B FF 84 71 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8031A708 00317668 38 7F 01 B4 */ addi r3, r31, 0x1b4 -/* 8031A70C 0031766C 38 9E 00 E8 */ addi r4, r30, 0xe8 -/* 8031A710 00317670 4B FF 8A 31 */ bl Translate__12CTransform4fFRC9CVector3f -/* 8031A714 00317674 38 7F 01 E4 */ addi r3, r31, 0x1e4 -/* 8031A718 00317678 38 9F 01 B4 */ addi r4, r31, 0x1b4 -/* 8031A71C 0031767C 38 BE 01 0C */ addi r5, r30, 0x10c -/* 8031A720 00317680 4B FF 82 31 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 8031A724 00317684 38 7F 02 14 */ addi r3, r31, 0x214 -/* 8031A728 00317688 38 9F 01 E4 */ addi r4, r31, 0x1e4 -/* 8031A72C 0031768C 38 BF 03 04 */ addi r5, r31, 0x304 -/* 8031A730 00317690 4B FF 82 21 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 8031A734 00317694 38 7F 02 44 */ addi r3, r31, 0x244 -/* 8031A738 00317698 38 9F 02 14 */ addi r4, r31, 0x214 -/* 8031A73C 0031769C 38 BE 01 78 */ addi r5, r30, 0x178 -/* 8031A740 003176A0 4B FF 82 11 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 8031A744 003176A4 38 7F 03 04 */ addi r3, r31, 0x304 -/* 8031A748 003176A8 38 9F 02 44 */ addi r4, r31, 0x244 -/* 8031A74C 003176AC 4B FF 83 F5 */ bl __as__12CTransform4fFRC12CTransform4f -/* 8031A750 003176B0 88 1E 02 6C */ lbz r0, 0x26c(r30) -/* 8031A754 003176B4 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 8031A758 003176B8 41 82 00 20 */ beq lbl_8031A778 -/* 8031A75C 003176BC 38 7F 01 84 */ addi r3, r31, 0x184 -/* 8031A760 003176C0 38 9F 03 04 */ addi r4, r31, 0x304 -/* 8031A764 003176C4 38 BF 02 D4 */ addi r5, r31, 0x2d4 -/* 8031A768 003176C8 4B FF 81 E9 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 8031A76C 003176CC 38 7F 01 84 */ addi r3, r31, 0x184 -/* 8031A770 003176D0 4B FF 1E 71 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f -/* 8031A774 003176D4 48 00 00 0C */ b lbl_8031A780 -lbl_8031A778: -/* 8031A778 003176D8 38 7F 03 04 */ addi r3, r31, 0x304 -/* 8031A77C 003176DC 4B FF 1E 65 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f -lbl_8031A780: -/* 8031A780 003176E0 38 60 00 04 */ li r3, 4 -/* 8031A784 003176E4 38 80 00 00 */ li r4, 0 -/* 8031A788 003176E8 38 A0 00 00 */ li r5, 0 -/* 8031A78C 003176EC 38 C0 00 07 */ li r6, 7 -/* 8031A790 003176F0 38 E0 00 00 */ li r7, 0 -/* 8031A794 003176F4 4B FF 12 95 */ bl SetAlphaCompare__9CGraphicsF13ERglAlphaFuncUc11ERglAlphaOp13ERglAlphaFuncUc -/* 8031A798 003176F8 C0 22 C9 E8 */ lfs f1, lbl_805AE708@sda21(r2) -/* 8031A79C 003176FC 3B 80 00 01 */ li r28, 1 -/* 8031A7A0 00317700 C0 02 C9 F0 */ lfs f0, lbl_805AE710@sda21(r2) -/* 8031A7A4 00317704 D0 3F 01 40 */ stfs f1, 0x140(r31) -/* 8031A7A8 00317708 D0 1F 01 48 */ stfs f0, 0x148(r31) -/* 8031A7AC 0031770C D0 3F 01 44 */ stfs f1, 0x144(r31) -/* 8031A7B0 00317710 D0 1F 01 4C */ stfs f0, 0x14c(r31) -/* 8031A7B4 00317714 80 7E 00 28 */ lwz r3, 0x28(r30) -/* 8031A7B8 00317718 80 63 00 3C */ lwz r3, 0x3c(r3) -/* 8031A7BC 0031771C 7C 60 00 34 */ cntlzw r0, r3 -/* 8031A7C0 00317720 28 03 00 00 */ cmplwi r3, 0 -/* 8031A7C4 00317724 54 1D D9 7E */ srwi r29, r0, 5 -/* 8031A7C8 00317728 41 82 00 90 */ beq lbl_8031A858 -/* 8031A7CC 0031772C 81 83 00 00 */ lwz r12, 0(r3) -/* 8031A7D0 00317730 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8031A7D4 00317734 7D 89 03 A6 */ mtctr r12 -/* 8031A7D8 00317738 4E 80 04 21 */ bctrl -/* 8031A7DC 0031773C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8031A7E0 00317740 41 82 00 78 */ beq lbl_8031A858 -/* 8031A7E4 00317744 C0 02 C9 F0 */ lfs f0, lbl_805AE710@sda21(r2) -/* 8031A7E8 00317748 38 BF 00 38 */ addi r5, r31, 0x38 -/* 8031A7EC 0031774C 38 80 00 00 */ li r4, 0 -/* 8031A7F0 00317750 D0 1F 00 38 */ stfs f0, 0x38(r31) -/* 8031A7F4 00317754 80 7E 00 28 */ lwz r3, 0x28(r30) -/* 8031A7F8 00317758 80 63 00 3C */ lwz r3, 0x3c(r3) -/* 8031A7FC 0031775C 81 83 00 00 */ lwz r12, 0(r3) -/* 8031A800 00317760 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8031A804 00317764 7D 89 03 A6 */ mtctr r12 -/* 8031A808 00317768 4E 80 04 21 */ bctrl -/* 8031A80C 0031776C C0 22 C9 E8 */ lfs f1, lbl_805AE708@sda21(r2) -/* 8031A810 00317770 C0 1F 00 38 */ lfs f0, 0x38(r31) -/* 8031A814 00317774 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 8031A818 00317778 40 82 00 40 */ bne lbl_8031A858 -/* 8031A81C 0031777C C0 02 C9 F0 */ lfs f0, lbl_805AE710@sda21(r2) -/* 8031A820 00317780 38 BF 00 38 */ addi r5, r31, 0x38 -/* 8031A824 00317784 38 80 00 01 */ li r4, 1 -/* 8031A828 00317788 D0 1F 00 38 */ stfs f0, 0x38(r31) -/* 8031A82C 0031778C 80 7E 00 28 */ lwz r3, 0x28(r30) -/* 8031A830 00317790 80 63 00 3C */ lwz r3, 0x3c(r3) -/* 8031A834 00317794 81 83 00 00 */ lwz r12, 0(r3) -/* 8031A838 00317798 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8031A83C 0031779C 7D 89 03 A6 */ mtctr r12 -/* 8031A840 003177A0 4E 80 04 21 */ bctrl -/* 8031A844 003177A4 C0 22 C9 E8 */ lfs f1, lbl_805AE708@sda21(r2) -/* 8031A848 003177A8 C0 1F 00 38 */ lfs f0, 0x38(r31) -/* 8031A84C 003177AC FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 8031A850 003177B0 40 82 00 08 */ bne lbl_8031A858 -/* 8031A854 003177B4 3B A0 00 01 */ li r29, 1 -lbl_8031A858: -/* 8031A858 003177B8 80 7E 00 28 */ lwz r3, 0x28(r30) -/* 8031A85C 003177BC 80 83 00 40 */ lwz r4, 0x40(r3) -/* 8031A860 003177C0 28 04 00 00 */ cmplwi r4, 0 -/* 8031A864 003177C4 41 82 01 EC */ beq lbl_8031AA50 -/* 8031A868 003177C8 80 BE 00 3C */ lwz r5, 0x3c(r30) -/* 8031A86C 003177CC 38 7F 01 1C */ addi r3, r31, 0x11c -/* 8031A870 003177D0 81 84 00 00 */ lwz r12, 0(r4) -/* 8031A874 003177D4 80 A5 00 28 */ lwz r5, 0x28(r5) -/* 8031A878 003177D8 80 1E 00 74 */ lwz r0, 0x74(r30) -/* 8031A87C 003177DC 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8031A880 003177E0 7C A5 00 50 */ subf r5, r5, r0 -/* 8031A884 003177E4 7D 89 03 A6 */ mtctr r12 -/* 8031A888 003177E8 4E 80 04 21 */ bctrl -/* 8031A88C 003177EC 38 7F 00 40 */ addi r3, r31, 0x40 -/* 8031A890 003177F0 38 9F 01 1C */ addi r4, r31, 0x11c -/* 8031A894 003177F4 48 02 66 15 */ bl __ct__6CTokenFRC6CToken -/* 8031A898 003177F8 38 7F 01 1C */ addi r3, r31, 0x11c -/* 8031A89C 003177FC 38 80 00 00 */ li r4, 0 -/* 8031A8A0 00317800 48 02 65 A1 */ bl __dt__6CTokenFv -/* 8031A8A4 00317804 38 7F 00 40 */ addi r3, r31, 0x40 -/* 8031A8A8 00317808 48 02 65 65 */ bl GetObj__6CTokenFv -/* 8031A8AC 0031780C 80 63 00 04 */ lwz r3, 4(r3) -/* 8031A8B0 00317810 38 80 00 00 */ li r4, 0 -/* 8031A8B4 00317814 38 A0 00 01 */ li r5, 1 -/* 8031A8B8 00317818 4B FF 4E 85 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode -/* 8031A8BC 0031781C 3C 80 80 5A */ lis r4, lbl_805A5EBC@ha -/* 8031A8C0 00317820 38 60 00 00 */ li r3, 0 -/* 8031A8C4 00317824 38 84 5E BC */ addi r4, r4, lbl_805A5EBC@l -/* 8031A8C8 00317828 4B FE F9 F1 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass -/* 8031A8CC 0031782C 28 14 00 00 */ cmplwi r20, 0 -/* 8031A8D0 00317830 41 82 01 18 */ beq lbl_8031A9E8 -/* 8031A8D4 00317834 88 0D A8 BB */ lbz r0, lbl_805A947B@sda21(r13) -/* 8031A8D8 00317838 7C 00 07 75 */ extsb. r0, r0 -/* 8031A8DC 0031783C 40 82 00 F8 */ bne lbl_8031A9D4 -/* 8031A8E0 00317840 38 00 00 00 */ li r0, 0 -/* 8031A8E4 00317844 38 A0 00 01 */ li r5, 1 -/* 8031A8E8 00317848 98 BF 01 5C */ stb r5, 0x15c(r31) -/* 8031A8EC 0031784C 38 7F 00 14 */ addi r3, r31, 0x14 -/* 8031A8F0 00317850 38 80 00 07 */ li r4, 7 -/* 8031A8F4 00317854 90 1F 01 60 */ stw r0, 0x160(r31) -/* 8031A8F8 00317858 90 1F 01 64 */ stw r0, 0x164(r31) -/* 8031A8FC 0031785C 90 1F 01 68 */ stw r0, 0x168(r31) -/* 8031A900 00317860 90 1F 01 6C */ stw r0, 0x16c(r31) -/* 8031A904 00317864 98 BF 01 70 */ stb r5, 0x170(r31) -/* 8031A908 00317868 90 1F 01 74 */ stw r0, 0x174(r31) -/* 8031A90C 0031786C 90 1F 01 78 */ stw r0, 0x178(r31) -/* 8031A910 00317870 90 1F 01 7C */ stw r0, 0x17c(r31) -/* 8031A914 00317874 90 1F 01 80 */ stw r0, 0x180(r31) -/* 8031A918 00317878 4B FE E8 15 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc -/* 8031A91C 0031787C 38 7F 00 18 */ addi r3, r31, 0x18 -/* 8031A920 00317880 38 80 00 05 */ li r4, 5 -/* 8031A924 00317884 4B FE E8 09 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc -/* 8031A928 00317888 38 7F 00 1C */ addi r3, r31, 0x1c -/* 8031A92C 0031788C 38 80 00 00 */ li r4, 0 -/* 8031A930 00317890 4B FE E7 FD */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc -/* 8031A934 00317894 38 7F 00 20 */ addi r3, r31, 0x20 -/* 8031A938 00317898 38 80 00 07 */ li r4, 7 -/* 8031A93C 0031789C 4B FE E7 F1 */ bl __ct__Q213CTevCombiners8AlphaVarFQ213CTevCombiners9EAlphaSrc -/* 8031A940 003178A0 80 FF 00 20 */ lwz r7, 0x20(r31) -/* 8031A944 003178A4 38 7F 00 24 */ addi r3, r31, 0x24 -/* 8031A948 003178A8 80 DF 00 1C */ lwz r6, 0x1c(r31) -/* 8031A94C 003178AC 38 80 00 0F */ li r4, 0xf -/* 8031A950 003178B0 80 BF 00 18 */ lwz r5, 0x18(r31) -/* 8031A954 003178B4 80 1F 00 14 */ lwz r0, 0x14(r31) -/* 8031A958 003178B8 90 FF 00 FC */ stw r7, 0xfc(r31) -/* 8031A95C 003178BC 90 DF 01 00 */ stw r6, 0x100(r31) -/* 8031A960 003178C0 90 BF 01 04 */ stw r5, 0x104(r31) -/* 8031A964 003178C4 90 1F 01 08 */ stw r0, 0x108(r31) -/* 8031A968 003178C8 4B FE E7 BD */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc -/* 8031A96C 003178CC 38 7F 00 28 */ addi r3, r31, 0x28 -/* 8031A970 003178D0 38 80 00 0A */ li r4, 0xa -/* 8031A974 003178D4 4B FE E7 B1 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc -/* 8031A978 003178D8 38 7F 00 2C */ addi r3, r31, 0x2c -/* 8031A97C 003178DC 38 80 00 00 */ li r4, 0 -/* 8031A980 003178E0 4B FE E7 A5 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc -/* 8031A984 003178E4 38 7F 00 30 */ addi r3, r31, 0x30 -/* 8031A988 003178E8 38 80 00 0F */ li r4, 0xf -/* 8031A98C 003178EC 4B FE E7 99 */ bl __ct__Q213CTevCombiners8ColorVarFQ213CTevCombiners9EColorSrc -/* 8031A990 003178F0 80 BF 00 30 */ lwz r5, 0x30(r31) -/* 8031A994 003178F4 3C 60 80 4C */ lis r3, lbl_804BFE68@ha -/* 8031A998 003178F8 81 3F 00 2C */ lwz r9, 0x2c(r31) -/* 8031A99C 003178FC 38 63 FE 68 */ addi r3, r3, lbl_804BFE68@l -/* 8031A9A0 00317900 81 1F 00 28 */ lwz r8, 0x28(r31) -/* 8031A9A4 00317904 38 9F 01 0C */ addi r4, r31, 0x10c -/* 8031A9A8 00317908 80 1F 00 24 */ lwz r0, 0x24(r31) -/* 8031A9AC 0031790C 38 DF 01 70 */ addi r6, r31, 0x170 -/* 8031A9B0 00317910 90 BF 01 0C */ stw r5, 0x10c(r31) -/* 8031A9B4 00317914 38 BF 00 FC */ addi r5, r31, 0xfc -/* 8031A9B8 00317918 38 FF 01 5C */ addi r7, r31, 0x15c -/* 8031A9BC 0031791C 91 3F 01 10 */ stw r9, 0x110(r31) -/* 8031A9C0 00317920 91 1F 01 14 */ stw r8, 0x114(r31) -/* 8031A9C4 00317924 90 1F 01 18 */ stw r0, 0x118(r31) -/* 8031A9C8 00317928 4B FE E8 8D */ bl sub_80309254 -/* 8031A9CC 0031792C 38 00 00 01 */ li r0, 1 -/* 8031A9D0 00317930 98 0D A8 BB */ stb r0, lbl_805A947B@sda21(r13) -lbl_8031A9D4: -/* 8031A9D4 00317934 3C 80 80 4C */ lis r4, lbl_804BFE68@ha -/* 8031A9D8 00317938 38 60 00 01 */ li r3, 1 -/* 8031A9DC 0031793C 38 84 FE 68 */ addi r4, r4, lbl_804BFE68@l -/* 8031A9E0 00317940 4B FE F8 D9 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass -/* 8031A9E4 00317944 48 00 00 10 */ b lbl_8031A9F4 -lbl_8031A9E8: -/* 8031A9E8 00317948 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) -/* 8031A9EC 0031794C 38 60 00 01 */ li r3, 1 -/* 8031A9F0 00317950 4B FE F8 C9 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass -lbl_8031A9F4: -/* 8031A9F4 00317954 80 7E 00 28 */ lwz r3, 0x28(r30) -/* 8031A9F8 00317958 38 BF 01 40 */ addi r5, r31, 0x140 -/* 8031A9FC 0031795C 80 9E 00 3C */ lwz r4, 0x3c(r30) -/* 8031AA00 00317960 80 63 00 40 */ lwz r3, 0x40(r3) -/* 8031AA04 00317964 80 84 00 28 */ lwz r4, 0x28(r4) -/* 8031AA08 00317968 81 83 00 00 */ lwz r12, 0(r3) -/* 8031AA0C 0031796C 80 1E 00 74 */ lwz r0, 0x74(r30) -/* 8031AA10 00317970 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8031AA14 00317974 7C 84 00 50 */ subf r4, r4, r0 -/* 8031AA18 00317978 7D 89 03 A6 */ mtctr r12 -/* 8031AA1C 0031797C 4E 80 04 21 */ bctrl -/* 8031AA20 00317980 80 7E 00 28 */ lwz r3, 0x28(r30) -/* 8031AA24 00317984 80 63 00 40 */ lwz r3, 0x40(r3) -/* 8031AA28 00317988 81 83 00 00 */ lwz r12, 0(r3) -/* 8031AA2C 0031798C 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8031AA30 00317990 7D 89 03 A6 */ mtctr r12 -/* 8031AA34 00317994 4E 80 04 21 */ bctrl -/* 8031AA38 00317998 7C 60 1B 78 */ mr r0, r3 -/* 8031AA3C 0031799C 38 7F 00 40 */ addi r3, r31, 0x40 -/* 8031AA40 003179A0 7C 1C 03 78 */ mr r28, r0 -/* 8031AA44 003179A4 38 80 00 00 */ li r4, 0 -/* 8031AA48 003179A8 48 02 63 F9 */ bl __dt__6CTokenFv -/* 8031AA4C 003179AC 48 00 00 1C */ b lbl_8031AA68 -lbl_8031AA50: -/* 8031AA50 003179B0 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) -/* 8031AA54 003179B4 38 60 00 00 */ li r3, 0 -/* 8031AA58 003179B8 4B FE F8 61 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass -/* 8031AA5C 003179BC 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) -/* 8031AA60 003179C0 38 60 00 01 */ li r3, 1 -/* 8031AA64 003179C4 4B FE F8 55 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass -lbl_8031AA68: -/* 8031AA68 003179C8 3C 60 80 3D */ lis r3, lbl_803D7848@ha -/* 8031AA6C 003179CC 38 63 78 48 */ addi r3, r3, lbl_803D7848@l -/* 8031AA70 003179D0 4B FE D3 B9 */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList -/* 8031AA74 003179D4 28 14 00 00 */ cmplwi r20, 0 -/* 8031AA78 003179D8 41 82 00 78 */ beq lbl_8031AAF0 -/* 8031AA7C 003179DC 38 60 00 02 */ li r3, 2 -/* 8031AA80 003179E0 4B FE E3 D1 */ bl SetNumChans__3CGXFUc -/* 8031AA84 003179E4 3B 60 00 02 */ li r27, 2 -/* 8031AA88 003179E8 38 60 00 01 */ li r3, 1 -/* 8031AA8C 003179EC 38 80 00 FF */ li r4, 0xff -/* 8031AA90 003179F0 38 A0 00 FF */ li r5, 0xff -/* 8031AA94 003179F4 38 C0 00 05 */ li r6, 5 -/* 8031AA98 003179F8 4B FE DE B5 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID -/* 8031AA9C 003179FC C0 22 C9 E8 */ lfs f1, lbl_805AE708@sda21(r2) -/* 8031AAA0 00317A00 38 7F 00 10 */ addi r3, r31, 0x10 -/* 8031AAA4 00317A04 C0 82 C9 F0 */ lfs f4, lbl_805AE710@sda21(r2) -/* 8031AAA8 00317A08 FC 40 08 90 */ fmr f2, f1 -/* 8031AAAC 00317A0C FC 60 08 90 */ fmr f3, f1 -/* 8031AAB0 00317A10 48 04 89 3D */ bl __ct__6CColorFffff -/* 8031AAB4 00317A14 7C 64 1B 78 */ mr r4, r3 -/* 8031AAB8 00317A18 38 60 00 01 */ li r3, 1 -/* 8031AABC 00317A1C 4B FE E3 09 */ bl SetChanAmbColor__3CGXFQ23CGX10EChannelIdRC8_GXColor -/* 8031AAC0 00317A20 38 9E 03 38 */ addi r4, r30, 0x338 -/* 8031AAC4 00317A24 38 60 00 01 */ li r3, 1 -/* 8031AAC8 00317A28 4B FE E2 95 */ bl SetChanMatColor__3CGXFQ23CGX10EChannelIdRC8_GXColor -/* 8031AACC 00317A2C 38 60 00 01 */ li r3, 1 -/* 8031AAD0 00317A30 38 80 00 00 */ li r4, 0 -/* 8031AAD4 00317A34 38 A0 00 00 */ li r5, 0 -/* 8031AAD8 00317A38 38 C0 00 00 */ li r6, 0 -/* 8031AADC 00317A3C 38 E0 00 00 */ li r7, 0 -/* 8031AAE0 00317A40 39 00 00 00 */ li r8, 0 -/* 8031AAE4 00317A44 39 20 00 02 */ li r9, 2 -/* 8031AAE8 00317A48 4B FE E1 E5 */ bl SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn -/* 8031AAEC 00317A4C 48 00 00 10 */ b lbl_8031AAFC -lbl_8031AAF0: -/* 8031AAF0 00317A50 38 60 00 01 */ li r3, 1 -/* 8031AAF4 00317A54 4B FE E3 5D */ bl SetNumChans__3CGXFUc -/* 8031AAF8 00317A58 3B 60 00 01 */ li r27, 1 -lbl_8031AAFC: -/* 8031AAFC 00317A5C 88 0D A8 B9 */ lbz r0, lbl_805A9479@sda21(r13) -/* 8031AB00 00317A60 8B 4D A8 B8 */ lbz r26, lbl_805A9478@sda21(r13) -/* 8031AB04 00317A64 28 00 00 00 */ cmplwi r0, 0 -/* 8031AB08 00317A68 41 82 00 98 */ beq lbl_8031ABA0 -/* 8031AB0C 00317A6C 88 1E 02 6C */ lbz r0, 0x26c(r30) -/* 8031AB10 00317A70 38 80 00 03 */ li r4, 3 -/* 8031AB14 00317A74 38 A0 00 00 */ li r5, 0 -/* 8031AB18 00317A78 54 03 EF FE */ rlwinm r3, r0, 0x1d, 0x1f, 0x1f -/* 8031AB1C 00317A7C 4B FF 0F 79 */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb -/* 8031AB20 00317A80 38 60 00 03 */ li r3, 3 -/* 8031AB24 00317A84 38 80 00 01 */ li r4, 1 -/* 8031AB28 00317A88 38 A0 00 00 */ li r5, 0 -/* 8031AB2C 00317A8C 38 C0 00 00 */ li r6, 0 -/* 8031AB30 00317A90 4B FE DD A1 */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp -/* 8031AB34 00317A94 28 1A 00 00 */ cmplwi r26, 0 -/* 8031AB38 00317A98 41 82 01 54 */ beq lbl_8031AC8C -/* 8031AB3C 00317A9C 7F 63 DB 78 */ mr r3, r27 -/* 8031AB40 00317AA0 38 80 00 0F */ li r4, 0xf -/* 8031AB44 00317AA4 38 A0 00 00 */ li r5, 0 -/* 8031AB48 00317AA8 38 C0 00 01 */ li r6, 1 -/* 8031AB4C 00317AAC 38 E0 00 0F */ li r7, 0xf -/* 8031AB50 00317AB0 4B FE E0 9D */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg -/* 8031AB54 00317AB4 7F 63 DB 78 */ mr r3, r27 -/* 8031AB58 00317AB8 38 80 00 07 */ li r4, 7 -/* 8031AB5C 00317ABC 38 A0 00 04 */ li r5, 4 -/* 8031AB60 00317AC0 38 C0 00 00 */ li r6, 0 -/* 8031AB64 00317AC4 38 E0 00 07 */ li r7, 7 -/* 8031AB68 00317AC8 4B FE E0 2D */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg -/* 8031AB6C 00317ACC 7F 63 DB 78 */ mr r3, r27 -/* 8031AB70 00317AD0 4B FE D0 E1 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID -/* 8031AB74 00317AD4 7F 63 DB 78 */ mr r3, r27 -/* 8031AB78 00317AD8 38 80 00 00 */ li r4, 0 -/* 8031AB7C 00317ADC 38 A0 00 00 */ li r5, 0 -/* 8031AB80 00317AE0 38 C0 00 FF */ li r6, 0xff -/* 8031AB84 00317AE4 4B FE DD C9 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID -/* 8031AB88 00317AE8 7F 63 DB 78 */ mr r3, r27 -/* 8031AB8C 00317AEC 38 80 00 00 */ li r4, 0 -/* 8031AB90 00317AF0 38 A0 00 01 */ li r5, 1 -/* 8031AB94 00317AF4 48 06 0C 9D */ bl GXSetTevSwapMode -/* 8031AB98 00317AF8 3B 7B 00 01 */ addi r27, r27, 1 -/* 8031AB9C 00317AFC 48 00 00 F0 */ b lbl_8031AC8C -lbl_8031ABA0: -/* 8031ABA0 00317B00 28 1A 00 00 */ cmplwi r26, 0 -/* 8031ABA4 00317B04 41 82 00 90 */ beq lbl_8031AC34 -/* 8031ABA8 00317B08 88 1E 02 6C */ lbz r0, 0x26c(r30) -/* 8031ABAC 00317B0C 38 80 00 03 */ li r4, 3 -/* 8031ABB0 00317B10 38 A0 00 00 */ li r5, 0 -/* 8031ABB4 00317B14 54 03 EF FE */ rlwinm r3, r0, 0x1d, 0x1f, 0x1f -/* 8031ABB8 00317B18 4B FF 0E DD */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb -/* 8031ABBC 00317B1C 38 60 00 01 */ li r3, 1 -/* 8031ABC0 00317B20 38 80 00 01 */ li r4, 1 -/* 8031ABC4 00317B24 38 A0 00 01 */ li r5, 1 -/* 8031ABC8 00317B28 38 C0 00 00 */ li r6, 0 -/* 8031ABCC 00317B2C 4B FF 0E 85 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp -/* 8031ABD0 00317B30 7F 63 DB 78 */ mr r3, r27 -/* 8031ABD4 00317B34 38 80 00 0F */ li r4, 0xf -/* 8031ABD8 00317B38 38 A0 00 00 */ li r5, 0 -/* 8031ABDC 00317B3C 38 C0 00 01 */ li r6, 1 -/* 8031ABE0 00317B40 38 E0 00 0F */ li r7, 0xf -/* 8031ABE4 00317B44 4B FE E0 09 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg -/* 8031ABE8 00317B48 7F 63 DB 78 */ mr r3, r27 -/* 8031ABEC 00317B4C 38 80 00 07 */ li r4, 7 -/* 8031ABF0 00317B50 38 A0 00 04 */ li r5, 4 -/* 8031ABF4 00317B54 38 C0 00 00 */ li r6, 0 -/* 8031ABF8 00317B58 38 E0 00 07 */ li r7, 7 -/* 8031ABFC 00317B5C 4B FE DF 99 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg -/* 8031AC00 00317B60 7F 63 DB 78 */ mr r3, r27 -/* 8031AC04 00317B64 4B FE D0 4D */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID -/* 8031AC08 00317B68 7F 63 DB 78 */ mr r3, r27 -/* 8031AC0C 00317B6C 38 80 00 00 */ li r4, 0 -/* 8031AC10 00317B70 38 A0 00 00 */ li r5, 0 -/* 8031AC14 00317B74 38 C0 00 FF */ li r6, 0xff -/* 8031AC18 00317B78 4B FE DD 35 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID -/* 8031AC1C 00317B7C 7F 63 DB 78 */ mr r3, r27 -/* 8031AC20 00317B80 38 80 00 00 */ li r4, 0 -/* 8031AC24 00317B84 38 A0 00 01 */ li r5, 1 -/* 8031AC28 00317B88 48 06 0C 09 */ bl GXSetTevSwapMode -/* 8031AC2C 00317B8C 3B 7B 00 01 */ addi r27, r27, 1 -/* 8031AC30 00317B90 48 00 00 5C */ b lbl_8031AC8C -lbl_8031AC34: -/* 8031AC34 00317B94 88 9E 02 6C */ lbz r4, 0x26c(r30) -/* 8031AC38 00317B98 54 80 DF FF */ rlwinm. r0, r4, 0x1b, 0x1f, 0x1f -/* 8031AC3C 00317B9C 41 82 00 2C */ beq lbl_8031AC68 -/* 8031AC40 00317BA0 54 83 EF FE */ rlwinm r3, r4, 0x1d, 0x1f, 0x1f -/* 8031AC44 00317BA4 38 80 00 03 */ li r4, 3 -/* 8031AC48 00317BA8 38 A0 00 00 */ li r5, 0 -/* 8031AC4C 00317BAC 4B FF 0E 49 */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb -/* 8031AC50 00317BB0 38 60 00 01 */ li r3, 1 -/* 8031AC54 00317BB4 38 80 00 04 */ li r4, 4 -/* 8031AC58 00317BB8 38 A0 00 01 */ li r5, 1 -/* 8031AC5C 00317BBC 38 C0 00 00 */ li r6, 0 -/* 8031AC60 00317BC0 4B FF 0D F1 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp -/* 8031AC64 00317BC4 48 00 00 28 */ b lbl_8031AC8C -lbl_8031AC68: -/* 8031AC68 00317BC8 54 83 EF FE */ rlwinm r3, r4, 0x1d, 0x1f, 0x1f -/* 8031AC6C 00317BCC 54 85 E7 FE */ rlwinm r5, r4, 0x1c, 0x1f, 0x1f -/* 8031AC70 00317BD0 38 80 00 03 */ li r4, 3 -/* 8031AC74 00317BD4 4B FF 0E 21 */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb -/* 8031AC78 00317BD8 38 60 00 01 */ li r3, 1 -/* 8031AC7C 00317BDC 38 80 00 04 */ li r4, 4 -/* 8031AC80 00317BE0 38 A0 00 05 */ li r5, 5 -/* 8031AC84 00317BE4 38 C0 00 00 */ li r6, 0 -/* 8031AC88 00317BE8 4B FF 0D C9 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp -lbl_8031AC8C: -/* 8031AC8C 00317BEC 57 63 06 3E */ clrlwi r3, r27, 0x18 -/* 8031AC90 00317BF0 4B FE E0 01 */ bl SetNumTevStages__3CGXFUc -/* 8031AC94 00317BF4 38 60 00 01 */ li r3, 1 -/* 8031AC98 00317BF8 4B FE E1 7D */ bl SetNumTexGens__3CGXFUc -/* 8031AC9C 00317BFC 38 60 00 00 */ li r3, 0 -/* 8031ACA0 00317C00 38 80 00 00 */ li r4, 0 -/* 8031ACA4 00317C04 38 A0 00 00 */ li r5, 0 -/* 8031ACA8 00317C08 38 C0 00 04 */ li r6, 4 -/* 8031ACAC 00317C0C 4B FE DC A1 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID -/* 8031ACB0 00317C10 38 60 00 00 */ li r3, 0 -/* 8031ACB4 00317C14 38 80 00 00 */ li r4, 0 -/* 8031ACB8 00317C18 38 A0 00 00 */ li r5, 0 -/* 8031ACBC 00317C1C 38 C0 00 01 */ li r6, 1 -/* 8031ACC0 00317C20 38 E0 00 00 */ li r7, 0 -/* 8031ACC4 00317C24 39 00 00 00 */ li r8, 0 -/* 8031ACC8 00317C28 39 20 00 02 */ li r9, 2 -/* 8031ACCC 00317C2C 4B FE E0 01 */ bl SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn -/* 8031ACD0 00317C30 38 60 00 00 */ li r3, 0 -/* 8031ACD4 00317C34 38 80 00 01 */ li r4, 1 -/* 8031ACD8 00317C38 38 A0 00 04 */ li r5, 4 -/* 8031ACDC 00317C3C 38 C0 00 3C */ li r6, 0x3c -/* 8031ACE0 00317C40 38 E0 00 00 */ li r7, 0 -/* 8031ACE4 00317C44 39 00 00 7D */ li r8, 0x7d -/* 8031ACE8 00317C48 4B FE D9 E5 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx -/* 8031ACEC 00317C4C 38 60 00 06 */ li r3, 6 -/* 8031ACF0 00317C50 38 80 00 09 */ li r4, 9 -/* 8031ACF4 00317C54 38 A0 00 01 */ li r5, 1 -/* 8031ACF8 00317C58 38 C0 00 04 */ li r6, 4 -/* 8031ACFC 00317C5C 38 E0 00 00 */ li r7, 0 -/* 8031AD00 00317C60 48 05 CA 8D */ bl GXSetVtxAttrFmt -/* 8031AD04 00317C64 38 60 00 06 */ li r3, 6 -/* 8031AD08 00317C68 38 80 00 0B */ li r4, 0xb -/* 8031AD0C 00317C6C 38 A0 00 01 */ li r5, 1 -/* 8031AD10 00317C70 38 C0 00 05 */ li r6, 5 -/* 8031AD14 00317C74 38 E0 00 00 */ li r7, 0 -/* 8031AD18 00317C78 48 05 CA 75 */ bl GXSetVtxAttrFmt -/* 8031AD1C 00317C7C 57 80 06 3F */ clrlwi. r0, r28, 0x18 -/* 8031AD20 00317C80 41 82 00 20 */ beq lbl_8031AD40 -/* 8031AD24 00317C84 38 60 00 06 */ li r3, 6 -/* 8031AD28 00317C88 38 80 00 0D */ li r4, 0xd -/* 8031AD2C 00317C8C 38 A0 00 01 */ li r5, 1 -/* 8031AD30 00317C90 38 C0 00 01 */ li r6, 1 -/* 8031AD34 00317C94 38 E0 00 01 */ li r7, 1 -/* 8031AD38 00317C98 48 05 CA 55 */ bl GXSetVtxAttrFmt -/* 8031AD3C 00317C9C 48 00 00 1C */ b lbl_8031AD58 -lbl_8031AD40: -/* 8031AD40 00317CA0 38 60 00 06 */ li r3, 6 -/* 8031AD44 00317CA4 38 80 00 0D */ li r4, 0xd -/* 8031AD48 00317CA8 38 A0 00 01 */ li r5, 1 -/* 8031AD4C 00317CAC 38 C0 00 04 */ li r6, 4 -/* 8031AD50 00317CB0 38 E0 00 00 */ li r7, 0 -/* 8031AD54 00317CB4 48 05 CA 39 */ bl GXSetVtxAttrFmt -lbl_8031AD58: -/* 8031AD58 00317CB8 80 6D 9D 0C */ lwz r3, lbl_805A88CC@sda21(r13) -/* 8031AD5C 00317CBC 80 1E 02 70 */ lwz r0, 0x270(r30) -/* 8031AD60 00317CC0 82 FE 00 34 */ lwz r23, 0x34(r30) -/* 8031AD64 00317CC4 7C 03 00 00 */ cmpw r3, r0 -/* 8031AD68 00317CC8 40 80 00 0C */ bge lbl_8031AD74 -/* 8031AD6C 00317CCC 38 7E 02 70 */ addi r3, r30, 0x270 -/* 8031AD70 00317CD0 48 00 00 08 */ b lbl_8031AD78 -lbl_8031AD74: -/* 8031AD74 00317CD4 38 6D 9D 0C */ addi r3, r13, lbl_805A88CC@sda21 -lbl_8031AD78: -/* 8031AD78 00317CD8 88 1E 02 6C */ lbz r0, 0x26c(r30) -/* 8031AD7C 00317CDC 82 A3 00 00 */ lwz r21, 0(r3) -/* 8031AD80 00317CE0 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f -/* 8031AD84 00317CE4 40 82 00 18 */ bne lbl_8031AD9C -/* 8031AD88 00317CE8 56 E5 14 3A */ rlwinm r5, r23, 2, 0x10, 0x1d -/* 8031AD8C 00317CEC 38 60 00 80 */ li r3, 0x80 -/* 8031AD90 00317CF0 38 80 00 06 */ li r4, 6 -/* 8031AD94 00317CF4 4B FE D7 F1 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs -/* 8031AD98 00317CF8 48 00 00 1C */ b lbl_8031ADB4 -lbl_8031AD9C: -/* 8031AD9C 00317CFC 56 E0 10 3A */ slwi r0, r23, 2 -/* 8031ADA0 00317D00 38 60 00 80 */ li r3, 0x80 -/* 8031ADA4 00317D04 7C 15 01 D6 */ mullw r0, r21, r0 -/* 8031ADA8 00317D08 38 80 00 06 */ li r4, 6 -/* 8031ADAC 00317D0C 54 05 04 3E */ clrlwi r5, r0, 0x10 -/* 8031ADB0 00317D10 4B FE D7 D5 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs -lbl_8031ADB4: -/* 8031ADB4 00317D14 C0 5E 00 80 */ lfs f2, 0x80(r30) -/* 8031ADB8 00317D18 C0 22 C9 F0 */ lfs f1, lbl_805AE710@sda21(r2) -/* 8031ADBC 00317D1C C8 02 CA 08 */ lfd f0, lbl_805AE728@sda21(r2) -/* 8031ADC0 00317D20 EC 22 08 28 */ fsubs f1, f2, f1 -/* 8031ADC4 00317D24 FC 20 0A 10 */ fabs f1, f1 -/* 8031ADC8 00317D28 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8031ADCC 00317D2C 7C 00 00 26 */ mfcr r0 -/* 8031ADD0 00317D30 80 7E 00 28 */ lwz r3, 0x28(r30) -/* 8031ADD4 00317D34 54 04 0F FE */ srwi r4, r0, 0x1f -/* 8031ADD8 00317D38 3A 80 00 00 */ li r20, 0 -/* 8031ADDC 00317D3C 88 03 00 30 */ lbz r0, 0x30(r3) -/* 8031ADE0 00317D40 7C 83 00 34 */ cntlzw r3, r4 -/* 8031ADE4 00317D44 54 78 D9 7E */ srwi r24, r3, 5 -/* 8031ADE8 00317D48 54 19 EF FF */ rlwinm. r25, r0, 0x1d, 0x1f, 0x1f -/* 8031ADEC 00317D4C 41 82 00 F4 */ beq lbl_8031AEE0 -/* 8031ADF0 00317D50 56 E3 20 36 */ slwi r3, r23, 4 -/* 8031ADF4 00317D54 80 01 00 00 */ lwz r0, 0(r1) -/* 8031ADF8 00317D58 7E 83 00 D0 */ neg r20, r3 -/* 8031ADFC 00317D5C 56 94 00 38 */ rlwinm r20, r20, 0, 0, 0x1c -/* 8031AE00 00317D60 7C 01 A1 6E */ stwux r0, r1, r20 -/* 8031AE04 00317D64 3A C0 00 00 */ li r22, 0 -/* 8031AE08 00317D68 3A 40 00 00 */ li r18, 0 -/* 8031AE0C 00317D6C 3A 81 00 08 */ addi r20, r1, 8 -/* 8031AE10 00317D70 7E 93 A3 78 */ mr r19, r20 -/* 8031AE14 00317D74 48 00 00 A8 */ b lbl_8031AEBC -lbl_8031AE18: -/* 8031AE18 00317D78 80 1E 00 3C */ lwz r0, 0x3c(r30) -/* 8031AE1C 00317D7C 38 7F 00 F0 */ addi r3, r31, 0xf0 -/* 8031AE20 00317D80 C0 FE 00 80 */ lfs f7, 0x80(r30) -/* 8031AE24 00317D84 38 9F 02 D4 */ addi r4, r31, 0x2d4 -/* 8031AE28 00317D88 7C C0 92 14 */ add r6, r0, r18 -/* 8031AE2C 00317D8C 38 BF 00 E4 */ addi r5, r31, 0xe4 -/* 8031AE30 00317D90 C0 06 00 08 */ lfs f0, 8(r6) -/* 8031AE34 00317D94 C0 86 00 14 */ lfs f4, 0x14(r6) -/* 8031AE38 00317D98 C0 26 00 0C */ lfs f1, 0xc(r6) -/* 8031AE3C 00317D9C EC A0 20 28 */ fsubs f5, f0, f4 -/* 8031AE40 00317DA0 C0 66 00 18 */ lfs f3, 0x18(r6) -/* 8031AE44 00317DA4 C0 06 00 04 */ lfs f0, 4(r6) -/* 8031AE48 00317DA8 EC 21 18 28 */ fsubs f1, f1, f3 -/* 8031AE4C 00317DAC C0 46 00 10 */ lfs f2, 0x10(r6) -/* 8031AE50 00317DB0 EC C7 01 72 */ fmuls f6, f7, f5 -/* 8031AE54 00317DB4 EC 00 10 28 */ fsubs f0, f0, f2 -/* 8031AE58 00317DB8 D0 BF 00 D0 */ stfs f5, 0xd0(r31) -/* 8031AE5C 00317DBC EC A7 00 72 */ fmuls f5, f7, f1 -/* 8031AE60 00317DC0 EC 86 20 2A */ fadds f4, f6, f4 -/* 8031AE64 00317DC4 D0 3F 00 D4 */ stfs f1, 0xd4(r31) -/* 8031AE68 00317DC8 EC 27 00 32 */ fmuls f1, f7, f0 -/* 8031AE6C 00317DCC EC 65 18 2A */ fadds f3, f5, f3 -/* 8031AE70 00317DD0 D0 1F 00 CC */ stfs f0, 0xcc(r31) -/* 8031AE74 00317DD4 EC 01 10 2A */ fadds f0, f1, f2 -/* 8031AE78 00317DD8 D0 3F 00 D8 */ stfs f1, 0xd8(r31) -/* 8031AE7C 00317DDC D0 DF 00 DC */ stfs f6, 0xdc(r31) -/* 8031AE80 00317DE0 D0 BF 00 E0 */ stfs f5, 0xe0(r31) -/* 8031AE84 00317DE4 D0 1F 00 E4 */ stfs f0, 0xe4(r31) -/* 8031AE88 00317DE8 D0 9F 00 E8 */ stfs f4, 0xe8(r31) -/* 8031AE8C 00317DEC D0 7F 00 EC */ stfs f3, 0xec(r31) -/* 8031AE90 00317DF0 4B FF 7C 59 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 8031AE94 00317DF4 C0 1F 00 F0 */ lfs f0, 0xf0(r31) -/* 8031AE98 00317DF8 3A 52 00 38 */ addi r18, r18, 0x38 -/* 8031AE9C 00317DFC D0 13 00 04 */ stfs f0, 4(r19) -/* 8031AEA0 00317E00 C0 1F 00 F4 */ lfs f0, 0xf4(r31) -/* 8031AEA4 00317E04 D0 13 00 08 */ stfs f0, 8(r19) -/* 8031AEA8 00317E08 C0 1F 00 F8 */ lfs f0, 0xf8(r31) -/* 8031AEAC 00317E0C D0 13 00 0C */ stfs f0, 0xc(r19) -/* 8031AEB0 00317E10 B2 D3 00 00 */ sth r22, 0(r19) -/* 8031AEB4 00317E14 3A 73 00 10 */ addi r19, r19, 0x10 -/* 8031AEB8 00317E18 3A D6 00 01 */ addi r22, r22, 1 -lbl_8031AEBC: -/* 8031AEBC 00317E1C 7C 16 B8 00 */ cmpw r22, r23 -/* 8031AEC0 00317E20 41 80 FF 58 */ blt lbl_8031AE18 -/* 8031AEC4 00317E24 88 8D A8 BC */ lbz r4, lbl_805A947C@sda21(r13) -/* 8031AEC8 00317E28 56 E0 20 36 */ slwi r0, r23, 4 -/* 8031AECC 00317E2C 7E 83 A3 78 */ mr r3, r20 -/* 8031AED0 00317E30 38 BF 00 0C */ addi r5, r31, 0xc -/* 8031AED4 00317E34 98 9F 00 0C */ stb r4, 0xc(r31) -/* 8031AED8 00317E38 7C 94 02 14 */ add r4, r20, r0 -/* 8031AEDC 00317E3C 48 00 52 09 */ bl sub_803200e4 -lbl_8031AEE0: -/* 8031AEE0 00317E40 80 7E 00 74 */ lwz r3, 0x74(r30) -/* 8031AEE4 00317E44 48 00 F8 65 */ bl SetEmitterTime__16CParticleGlobalsFi -/* 8031AEE8 00317E48 88 7E 02 6C */ lbz r3, 0x26c(r30) -/* 8031AEEC 00317E4C 54 60 FF FF */ rlwinm. r0, r3, 0x1f, 0x1f, 0x1f -/* 8031AEF0 00317E50 40 82 09 C0 */ bne lbl_8031B8B0 -/* 8031AEF4 00317E54 28 19 00 00 */ cmplwi r25, 0 -/* 8031AEF8 00317E58 40 82 00 6C */ bne lbl_8031AF64 -/* 8031AEFC 00317E5C 57 80 06 3F */ clrlwi. r0, r28, 0x18 -/* 8031AF00 00317E60 41 82 00 64 */ beq lbl_8031AF64 -/* 8031AF04 00317E64 54 60 F7 FF */ rlwinm. r0, r3, 0x1e, 0x1f, 0x1f -/* 8031AF08 00317E68 40 82 00 5C */ bne lbl_8031AF64 -/* 8031AF0C 00317E6C 57 A0 06 3F */ clrlwi. r0, r29, 0x18 -/* 8031AF10 00317E70 41 82 00 2C */ beq lbl_8031AF3C -/* 8031AF14 00317E74 57 00 06 3F */ clrlwi. r0, r24, 0x18 -/* 8031AF18 00317E78 41 82 00 14 */ beq lbl_8031AF2C -/* 8031AF1C 00317E7C 7F C3 F3 78 */ mr r3, r30 -/* 8031AF20 00317E80 38 9F 02 D4 */ addi r4, r31, 0x2d4 -/* 8031AF24 00317E84 48 00 11 ED */ bl RenderBasicParticlesNoRotNoTS__11CElementGenFRC10CTransform -/* 8031AF28 00317E88 48 00 0E F8 */ b lbl_8031BE20 -lbl_8031AF2C: -/* 8031AF2C 00317E8C 7F C3 F3 78 */ mr r3, r30 -/* 8031AF30 00317E90 38 9F 02 D4 */ addi r4, r31, 0x2d4 -/* 8031AF34 00317E94 48 00 15 05 */ bl RenderBasicParticlesNoRotTS__11CElementGenFRC10CTransform -/* 8031AF38 00317E98 48 00 0E E8 */ b lbl_8031BE20 -lbl_8031AF3C: -/* 8031AF3C 00317E9C 57 00 06 3F */ clrlwi. r0, r24, 0x18 -/* 8031AF40 00317EA0 41 82 00 14 */ beq lbl_8031AF54 -/* 8031AF44 00317EA4 7F C3 F3 78 */ mr r3, r30 -/* 8031AF48 00317EA8 38 9F 02 D4 */ addi r4, r31, 0x2d4 -/* 8031AF4C 00317EAC 48 00 0F B1 */ bl RenderBasicParticlesRotNoTS__11CElementGenFRC10CTransform -/* 8031AF50 00317EB0 48 00 0E D0 */ b lbl_8031BE20 -lbl_8031AF54: -/* 8031AF54 00317EB4 7F C3 F3 78 */ mr r3, r30 -/* 8031AF58 00317EB8 38 9F 02 D4 */ addi r4, r31, 0x2d4 -/* 8031AF5C 00317EBC 48 00 13 2D */ bl RenderBasicParticlesRotTS__11CElementGenFRC10CTransform -/* 8031AF60 00317EC0 48 00 0E C0 */ b lbl_8031BE20 -lbl_8031AF64: -/* 8031AF64 00317EC4 88 1E 02 6C */ lbz r0, 0x26c(r30) -/* 8031AF68 00317EC8 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 8031AF6C 00317ECC 40 82 04 24 */ bne lbl_8031B390 -/* 8031AF70 00317ED0 7E 95 A3 78 */ mr r21, r20 -/* 8031AF74 00317ED4 57 9C 06 3E */ clrlwi r28, r28, 0x18 -/* 8031AF78 00317ED8 3A 60 00 00 */ li r19, 0 -/* 8031AF7C 00317EDC 3A 80 00 00 */ li r20, 0 -/* 8031AF80 00317EE0 48 00 04 04 */ b lbl_8031B384 -lbl_8031AF84: -/* 8031AF84 00317EE4 28 19 00 00 */ cmplwi r25, 0 -/* 8031AF88 00317EE8 41 82 00 18 */ beq lbl_8031AFA0 -/* 8031AF8C 00317EEC A0 15 00 00 */ lhz r0, 0(r21) -/* 8031AF90 00317EF0 80 7E 00 3C */ lwz r3, 0x3c(r30) -/* 8031AF94 00317EF4 1C 00 00 38 */ mulli r0, r0, 0x38 -/* 8031AF98 00317EF8 7F 03 02 14 */ add r24, r3, r0 -/* 8031AF9C 00317EFC 48 00 00 0C */ b lbl_8031AFA8 -lbl_8031AFA0: -/* 8031AFA0 00317F00 80 1E 00 3C */ lwz r0, 0x3c(r30) -/* 8031AFA4 00317F04 7F 00 A2 14 */ add r24, r0, r20 -lbl_8031AFA8: -/* 8031AFA8 00317F08 C0 58 00 08 */ lfs f2, 8(r24) -/* 8031AFAC 00317F0C 38 7F 00 C0 */ addi r3, r31, 0xc0 -/* 8031AFB0 00317F10 C0 38 00 14 */ lfs f1, 0x14(r24) -/* 8031AFB4 00317F14 38 9F 02 D4 */ addi r4, r31, 0x2d4 -/* 8031AFB8 00317F18 C0 18 00 0C */ lfs f0, 0xc(r24) -/* 8031AFBC 00317F1C 38 BF 00 B4 */ addi r5, r31, 0xb4 -/* 8031AFC0 00317F20 C0 78 00 18 */ lfs f3, 0x18(r24) -/* 8031AFC4 00317F24 EC A2 08 28 */ fsubs f5, f2, f1 -/* 8031AFC8 00317F28 C0 FE 00 80 */ lfs f7, 0x80(r30) -/* 8031AFCC 00317F2C EC 80 18 28 */ fsubs f4, f0, f3 -/* 8031AFD0 00317F30 C0 18 00 04 */ lfs f0, 4(r24) -/* 8031AFD4 00317F34 EC C7 01 72 */ fmuls f6, f7, f5 -/* 8031AFD8 00317F38 C0 58 00 10 */ lfs f2, 0x10(r24) -/* 8031AFDC 00317F3C D0 BF 00 A0 */ stfs f5, 0xa0(r31) -/* 8031AFE0 00317F40 EC 00 10 28 */ fsubs f0, f0, f2 -/* 8031AFE4 00317F44 EC A7 01 32 */ fmuls f5, f7, f4 -/* 8031AFE8 00317F48 D0 9F 00 A4 */ stfs f4, 0xa4(r31) -/* 8031AFEC 00317F4C EC 86 08 2A */ fadds f4, f6, f1 -/* 8031AFF0 00317F50 EC 27 00 32 */ fmuls f1, f7, f0 -/* 8031AFF4 00317F54 D0 1F 00 9C */ stfs f0, 0x9c(r31) -/* 8031AFF8 00317F58 EC 65 18 2A */ fadds f3, f5, f3 -/* 8031AFFC 00317F5C D0 DF 00 AC */ stfs f6, 0xac(r31) -/* 8031B000 00317F60 EC 01 10 2A */ fadds f0, f1, f2 -/* 8031B004 00317F64 D0 3F 00 A8 */ stfs f1, 0xa8(r31) -/* 8031B008 00317F68 D0 BF 00 B0 */ stfs f5, 0xb0(r31) -/* 8031B00C 00317F6C D0 1F 00 B4 */ stfs f0, 0xb4(r31) -/* 8031B010 00317F70 D0 9F 00 B8 */ stfs f4, 0xb8(r31) -/* 8031B014 00317F74 D0 7F 00 BC */ stfs f3, 0xbc(r31) -/* 8031B018 00317F78 4B FF 7A D1 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 8031B01C 00317F7C 28 1C 00 00 */ cmplwi r28, 0 -/* 8031B020 00317F80 C3 7F 00 C0 */ lfs f27, 0xc0(r31) -/* 8031B024 00317F84 C3 9F 00 C4 */ lfs f28, 0xc4(r31) -/* 8031B028 00317F88 C3 BF 00 C8 */ lfs f29, 0xc8(r31) -/* 8031B02C 00317F8C 82 D8 00 34 */ lwz r22, 0x34(r24) -/* 8031B030 00317F90 40 82 01 F0 */ bne lbl_8031B220 -/* 8031B034 00317F94 80 98 00 28 */ lwz r4, 0x28(r24) -/* 8031B038 00317F98 80 7E 00 74 */ lwz r3, 0x74(r30) -/* 8031B03C 00317F9C 80 18 00 00 */ lwz r0, 0(r24) -/* 8031B040 00317FA0 7C 64 18 50 */ subf r3, r4, r3 -/* 8031B044 00317FA4 3A 43 FF FF */ addi r18, r3, -1 -/* 8031B048 00317FA8 7C 64 00 50 */ subf r3, r4, r0 -/* 8031B04C 00317FAC 48 00 F7 2D */ bl SetParticleLifetime__16CParticleGlobalsFi -/* 8031B050 00317FB0 7E 43 93 78 */ mr r3, r18 -/* 8031B054 00317FB4 48 00 F6 29 */ bl UpdateParticleLifetimeTweenValues__16CParticleGlobalsFi -/* 8031B058 00317FB8 80 7E 00 28 */ lwz r3, 0x28(r30) -/* 8031B05C 00317FBC 7E 44 93 78 */ mr r4, r18 -/* 8031B060 00317FC0 38 BF 01 40 */ addi r5, r31, 0x140 -/* 8031B064 00317FC4 80 63 00 40 */ lwz r3, 0x40(r3) -/* 8031B068 00317FC8 81 83 00 00 */ lwz r12, 0(r3) -/* 8031B06C 00317FCC 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8031B070 00317FD0 7D 89 03 A6 */ mtctr r12 -/* 8031B074 00317FD4 4E 80 04 21 */ bctrl -/* 8031B078 00317FD8 57 A0 06 3F */ clrlwi. r0, r29, 0x18 -/* 8031B07C 00317FDC 41 82 00 B4 */ beq lbl_8031B130 -/* 8031B080 00317FE0 C0 22 C9 F8 */ lfs f1, lbl_805AE718@sda21(r2) -/* 8031B084 00317FE4 3C 60 CC 01 */ lis r3, 0xCC008000@ha -/* 8031B088 00317FE8 C0 18 00 2C */ lfs f0, 0x2c(r24) -/* 8031B08C 00317FEC EC 01 00 32 */ fmuls f0, f1, f0 -/* 8031B090 00317FF0 EC 40 D8 2A */ fadds f2, f0, f27 -/* 8031B094 00317FF4 EC 60 E8 2A */ fadds f3, f0, f29 -/* 8031B098 00317FF8 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 8031B09C 00317FFC D3 83 80 00 */ stfs f28, 0xCC008000@l(r3) -/* 8031B0A0 00318000 D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) -/* 8031B0A4 00318004 92 C3 80 00 */ stw r22, 0xCC008000@l(r3) -/* 8031B0A8 00318008 C0 1F 01 48 */ lfs f0, 0x148(r31) -/* 8031B0AC 0031800C D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 8031B0B0 00318010 C0 1F 01 4C */ lfs f0, 0x14c(r31) -/* 8031B0B4 00318014 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 8031B0B8 00318018 C0 18 00 2C */ lfs f0, 0x2c(r24) -/* 8031B0BC 0031801C EC 42 00 28 */ fsubs f2, f2, f0 -/* 8031B0C0 00318020 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 8031B0C4 00318024 D3 83 80 00 */ stfs f28, 0xCC008000@l(r3) -/* 8031B0C8 00318028 D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) -/* 8031B0CC 0031802C 92 C3 80 00 */ stw r22, 0xCC008000@l(r3) -/* 8031B0D0 00318030 C0 3F 01 40 */ lfs f1, 0x140(r31) -/* 8031B0D4 00318034 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 8031B0D8 00318038 C0 1F 01 4C */ lfs f0, 0x14c(r31) -/* 8031B0DC 0031803C D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 8031B0E0 00318040 C0 18 00 2C */ lfs f0, 0x2c(r24) -/* 8031B0E4 00318044 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 8031B0E8 00318048 EC 63 00 28 */ fsubs f3, f3, f0 -/* 8031B0EC 0031804C D3 83 80 00 */ stfs f28, 0xCC008000@l(r3) -/* 8031B0F0 00318050 D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) -/* 8031B0F4 00318054 92 C3 80 00 */ stw r22, 0xCC008000@l(r3) -/* 8031B0F8 00318058 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 8031B0FC 0031805C C0 1F 01 44 */ lfs f0, 0x144(r31) -/* 8031B100 00318060 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 8031B104 00318064 C0 18 00 2C */ lfs f0, 0x2c(r24) -/* 8031B108 00318068 EC 42 00 2A */ fadds f2, f2, f0 -/* 8031B10C 0031806C D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 8031B110 00318070 D3 83 80 00 */ stfs f28, 0xCC008000@l(r3) -/* 8031B114 00318074 D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) -/* 8031B118 00318078 92 C3 80 00 */ stw r22, 0xCC008000@l(r3) -/* 8031B11C 0031807C C0 1F 01 48 */ lfs f0, 0x148(r31) -/* 8031B120 00318080 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 8031B124 00318084 C0 1F 01 44 */ lfs f0, 0x144(r31) -/* 8031B128 00318088 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 8031B12C 0031808C 48 00 02 4C */ b lbl_8031B378 -lbl_8031B130: -/* 8031B130 00318090 C0 22 C9 F4 */ lfs f1, lbl_805AE714@sda21(r2) -/* 8031B134 00318094 C0 18 00 30 */ lfs f0, 0x30(r24) -/* 8031B138 00318098 C0 42 C9 F8 */ lfs f2, lbl_805AE718@sda21(r2) -/* 8031B13C 0031809C EE 41 00 32 */ fmuls f18, f1, f0 -/* 8031B140 003180A0 C0 18 00 2C */ lfs f0, 0x2c(r24) -/* 8031B144 003180A4 EE 22 00 32 */ fmuls f17, f2, f0 -/* 8031B148 003180A8 FC 20 90 90 */ fmr f1, f18 -/* 8031B14C 003180AC 4B FF 9C A5 */ bl FastSinR__5CMathFf -/* 8031B150 003180B0 EE 71 00 72 */ fmuls f19, f17, f1 -/* 8031B154 003180B4 FC 20 90 90 */ fmr f1, f18 -/* 8031B158 003180B8 4B FF 9B ED */ bl FastCosR__5CMathFf -/* 8031B15C 003180BC EC 91 00 72 */ fmuls f4, f17, f1 -/* 8031B160 003180C0 3C 60 CC 01 */ lis r3, 0xCC008000@ha -/* 8031B164 003180C4 FC 00 98 50 */ fneg f0, f19 -/* 8031B168 003180C8 EC D3 20 2A */ fadds f6, f19, f4 -/* 8031B16C 003180CC EC E4 98 28 */ fsubs f7, f4, f19 -/* 8031B170 003180D0 EC 53 20 28 */ fsubs f2, f19, f4 -/* 8031B174 003180D4 EC 66 D8 2A */ fadds f3, f6, f27 -/* 8031B178 003180D8 EC 20 20 2A */ fadds f1, f0, f4 -/* 8031B17C 003180DC FC 00 20 50 */ fneg f0, f4 -/* 8031B180 003180E0 D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) -/* 8031B184 003180E4 EC 67 E8 2A */ fadds f3, f7, f29 -/* 8031B188 003180E8 EC A2 D8 2A */ fadds f5, f2, f27 -/* 8031B18C 003180EC D3 83 80 00 */ stfs f28, 0xCC008000@l(r3) -/* 8031B190 003180F0 EC 00 98 28 */ fsubs f0, f0, f19 -/* 8031B194 003180F4 EC 86 E8 2A */ fadds f4, f6, f29 -/* 8031B198 003180F8 D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) -/* 8031B19C 003180FC EC 7B 30 28 */ fsubs f3, f27, f6 -/* 8031B1A0 00318100 EC 5D 38 28 */ fsubs f2, f29, f7 -/* 8031B1A4 00318104 92 C3 80 00 */ stw r22, 0xCC008000@l(r3) -/* 8031B1A8 00318108 EC 21 D8 2A */ fadds f1, f1, f27 -/* 8031B1AC 0031810C EC 00 E8 2A */ fadds f0, f0, f29 -/* 8031B1B0 00318110 C0 DF 01 48 */ lfs f6, 0x148(r31) -/* 8031B1B4 00318114 D0 C3 80 00 */ stfs f6, 0xCC008000@l(r3) -/* 8031B1B8 00318118 C0 DF 01 4C */ lfs f6, 0x14c(r31) -/* 8031B1BC 0031811C D0 C3 80 00 */ stfs f6, 0xCC008000@l(r3) -/* 8031B1C0 00318120 D0 A3 80 00 */ stfs f5, 0xCC008000@l(r3) -/* 8031B1C4 00318124 D3 83 80 00 */ stfs f28, 0xCC008000@l(r3) -/* 8031B1C8 00318128 D0 83 80 00 */ stfs f4, 0xCC008000@l(r3) -/* 8031B1CC 0031812C 92 C3 80 00 */ stw r22, 0xCC008000@l(r3) -/* 8031B1D0 00318130 C0 BF 01 40 */ lfs f5, 0x140(r31) -/* 8031B1D4 00318134 D0 A3 80 00 */ stfs f5, 0xCC008000@l(r3) -/* 8031B1D8 00318138 C0 9F 01 4C */ lfs f4, 0x14c(r31) -/* 8031B1DC 0031813C D0 83 80 00 */ stfs f4, 0xCC008000@l(r3) -/* 8031B1E0 00318140 D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) -/* 8031B1E4 00318144 D3 83 80 00 */ stfs f28, 0xCC008000@l(r3) -/* 8031B1E8 00318148 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 8031B1EC 0031814C 92 C3 80 00 */ stw r22, 0xCC008000@l(r3) -/* 8031B1F0 00318150 D0 A3 80 00 */ stfs f5, 0xCC008000@l(r3) -/* 8031B1F4 00318154 C0 5F 01 44 */ lfs f2, 0x144(r31) -/* 8031B1F8 00318158 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 8031B1FC 0031815C D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 8031B200 00318160 D3 83 80 00 */ stfs f28, 0xCC008000@l(r3) -/* 8031B204 00318164 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 8031B208 00318168 92 C3 80 00 */ stw r22, 0xCC008000@l(r3) -/* 8031B20C 0031816C C0 1F 01 48 */ lfs f0, 0x148(r31) -/* 8031B210 00318170 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 8031B214 00318174 C0 1F 01 44 */ lfs f0, 0x144(r31) -/* 8031B218 00318178 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 8031B21C 0031817C 48 00 01 5C */ b lbl_8031B378 -lbl_8031B220: -/* 8031B220 00318180 57 A0 06 3F */ clrlwi. r0, r29, 0x18 -/* 8031B224 00318184 41 82 00 98 */ beq lbl_8031B2BC -/* 8031B228 00318188 C0 22 C9 F8 */ lfs f1, lbl_805AE718@sda21(r2) -/* 8031B22C 0031818C 3C C0 CC 01 */ lis r6, 0xCC008000@ha -/* 8031B230 00318190 C0 18 00 2C */ lfs f0, 0x2c(r24) -/* 8031B234 00318194 38 A0 02 02 */ li r5, 0x202 -/* 8031B238 00318198 38 80 00 02 */ li r4, 2 -/* 8031B23C 0031819C 38 60 00 00 */ li r3, 0 -/* 8031B240 003181A0 EC 01 00 32 */ fmuls f0, f1, f0 -/* 8031B244 003181A4 38 00 02 00 */ li r0, 0x200 -/* 8031B248 003181A8 EC 20 D8 2A */ fadds f1, f0, f27 -/* 8031B24C 003181AC EC 40 E8 2A */ fadds f2, f0, f29 -/* 8031B250 003181B0 D0 26 80 00 */ stfs f1, 0xCC008000@l(r6) -/* 8031B254 003181B4 D3 86 80 00 */ stfs f28, 0xCC008000@l(r6) -/* 8031B258 003181B8 D0 46 80 00 */ stfs f2, 0xCC008000@l(r6) -/* 8031B25C 003181BC 92 C6 80 00 */ stw r22, 0xCC008000@l(r6) -/* 8031B260 003181C0 B0 A6 80 00 */ sth r5, 0xCC008000@l(r6) -/* 8031B264 003181C4 C0 18 00 2C */ lfs f0, 0x2c(r24) -/* 8031B268 003181C8 EC 21 00 28 */ fsubs f1, f1, f0 -/* 8031B26C 003181CC D0 26 80 00 */ stfs f1, 0xCC008000@l(r6) -/* 8031B270 003181D0 D3 86 80 00 */ stfs f28, 0xCC008000@l(r6) -/* 8031B274 003181D4 D0 46 80 00 */ stfs f2, 0xCC008000@l(r6) -/* 8031B278 003181D8 92 C6 80 00 */ stw r22, 0xCC008000@l(r6) -/* 8031B27C 003181DC B0 86 80 00 */ sth r4, 0xCC008000@l(r6) -/* 8031B280 003181E0 C0 18 00 2C */ lfs f0, 0x2c(r24) -/* 8031B284 003181E4 D0 26 80 00 */ stfs f1, 0xCC008000@l(r6) -/* 8031B288 003181E8 EC 42 00 28 */ fsubs f2, f2, f0 -/* 8031B28C 003181EC D3 86 80 00 */ stfs f28, 0xCC008000@l(r6) -/* 8031B290 003181F0 D0 46 80 00 */ stfs f2, 0xCC008000@l(r6) -/* 8031B294 003181F4 92 C6 80 00 */ stw r22, 0xCC008000@l(r6) -/* 8031B298 003181F8 B0 66 80 00 */ sth r3, 0xCC008000@l(r6) -/* 8031B29C 003181FC C0 18 00 2C */ lfs f0, 0x2c(r24) -/* 8031B2A0 00318200 EC 21 00 2A */ fadds f1, f1, f0 -/* 8031B2A4 00318204 D0 26 80 00 */ stfs f1, 0xCC008000@l(r6) -/* 8031B2A8 00318208 D3 86 80 00 */ stfs f28, 0xCC008000@l(r6) -/* 8031B2AC 0031820C D0 46 80 00 */ stfs f2, 0xCC008000@l(r6) -/* 8031B2B0 00318210 92 C6 80 00 */ stw r22, 0xCC008000@l(r6) -/* 8031B2B4 00318214 B0 06 80 00 */ sth r0, 0xCC008000@l(r6) -/* 8031B2B8 00318218 48 00 00 C0 */ b lbl_8031B378 -lbl_8031B2BC: -/* 8031B2BC 0031821C C0 22 C9 F4 */ lfs f1, lbl_805AE714@sda21(r2) -/* 8031B2C0 00318220 C0 18 00 30 */ lfs f0, 0x30(r24) -/* 8031B2C4 00318224 C0 42 C9 F8 */ lfs f2, lbl_805AE718@sda21(r2) -/* 8031B2C8 00318228 EE 41 00 32 */ fmuls f18, f1, f0 -/* 8031B2CC 0031822C C0 18 00 2C */ lfs f0, 0x2c(r24) -/* 8031B2D0 00318230 EE 22 00 32 */ fmuls f17, f2, f0 -/* 8031B2D4 00318234 FC 20 90 90 */ fmr f1, f18 -/* 8031B2D8 00318238 4B FF 9B 19 */ bl FastSinR__5CMathFf -/* 8031B2DC 0031823C EE 71 00 72 */ fmuls f19, f17, f1 -/* 8031B2E0 00318240 FC 20 90 90 */ fmr f1, f18 -/* 8031B2E4 00318244 4B FF 9A 61 */ bl FastCosR__5CMathFf -/* 8031B2E8 00318248 EC 11 00 72 */ fmuls f0, f17, f1 -/* 8031B2EC 0031824C 3C C0 CC 01 */ lis r6, 0xCC008000@ha -/* 8031B2F0 00318250 38 A0 02 02 */ li r5, 0x202 -/* 8031B2F4 00318254 38 80 00 02 */ li r4, 2 -/* 8031B2F8 00318258 38 60 00 00 */ li r3, 0 -/* 8031B2FC 0031825C 38 00 02 00 */ li r0, 0x200 -/* 8031B300 00318260 EC D3 00 2A */ fadds f6, f19, f0 -/* 8031B304 00318264 EC F3 00 28 */ fsubs f7, f19, f0 -/* 8031B308 00318268 EC 3B 30 2A */ fadds f1, f27, f6 -/* 8031B30C 0031826C EC 1D 38 28 */ fsubs f0, f29, f7 -/* 8031B310 00318270 EC BB 38 2A */ fadds f5, f27, f7 -/* 8031B314 00318274 D0 26 80 00 */ stfs f1, 0xCC008000@l(r6) -/* 8031B318 00318278 EC 9D 30 2A */ fadds f4, f29, f6 -/* 8031B31C 0031827C EC 7B 30 28 */ fsubs f3, f27, f6 -/* 8031B320 00318280 D3 86 80 00 */ stfs f28, 0xCC008000@l(r6) -/* 8031B324 00318284 EC 5D 38 2A */ fadds f2, f29, f7 -/* 8031B328 00318288 EC 3B 38 28 */ fsubs f1, f27, f7 -/* 8031B32C 0031828C D0 06 80 00 */ stfs f0, 0xCC008000@l(r6) -/* 8031B330 00318290 EC 1D 30 28 */ fsubs f0, f29, f6 -/* 8031B334 00318294 92 C6 80 00 */ stw r22, 0xCC008000@l(r6) -/* 8031B338 00318298 B0 A6 80 00 */ sth r5, 0xCC008000@l(r6) -/* 8031B33C 0031829C D0 A6 80 00 */ stfs f5, 0xCC008000@l(r6) -/* 8031B340 003182A0 D3 86 80 00 */ stfs f28, 0xCC008000@l(r6) -/* 8031B344 003182A4 D0 86 80 00 */ stfs f4, 0xCC008000@l(r6) -/* 8031B348 003182A8 92 C6 80 00 */ stw r22, 0xCC008000@l(r6) -/* 8031B34C 003182AC B0 86 80 00 */ sth r4, 0xCC008000@l(r6) -/* 8031B350 003182B0 D0 66 80 00 */ stfs f3, 0xCC008000@l(r6) -/* 8031B354 003182B4 D3 86 80 00 */ stfs f28, 0xCC008000@l(r6) -/* 8031B358 003182B8 D0 46 80 00 */ stfs f2, 0xCC008000@l(r6) -/* 8031B35C 003182BC 92 C6 80 00 */ stw r22, 0xCC008000@l(r6) -/* 8031B360 003182C0 B0 66 80 00 */ sth r3, 0xCC008000@l(r6) -/* 8031B364 003182C4 D0 26 80 00 */ stfs f1, 0xCC008000@l(r6) -/* 8031B368 003182C8 D3 86 80 00 */ stfs f28, 0xCC008000@l(r6) -/* 8031B36C 003182CC D0 06 80 00 */ stfs f0, 0xCC008000@l(r6) -/* 8031B370 003182D0 92 C6 80 00 */ stw r22, 0xCC008000@l(r6) -/* 8031B374 003182D4 B0 06 80 00 */ sth r0, 0xCC008000@l(r6) -lbl_8031B378: -/* 8031B378 003182D8 3A B5 00 10 */ addi r21, r21, 0x10 -/* 8031B37C 003182DC 3A 94 00 38 */ addi r20, r20, 0x38 -/* 8031B380 003182E0 3A 73 00 01 */ addi r19, r19, 1 -lbl_8031B384: -/* 8031B384 003182E4 7C 13 B8 00 */ cmpw r19, r23 -/* 8031B388 003182E8 41 80 FB FC */ blt lbl_8031AF84 -/* 8031B38C 003182EC 48 00 0A 94 */ b lbl_8031BE20 -lbl_8031B390: -/* 8031B390 003182F0 C3 5F 03 38 */ lfs f26, 0x338(r31) -/* 8031B394 003182F4 57 9C 06 3E */ clrlwi r28, r28, 0x18 -/* 8031B398 003182F8 C3 3F 03 48 */ lfs f25, 0x348(r31) -/* 8031B39C 003182FC 3A 60 00 00 */ li r19, 0 -/* 8031B3A0 00318300 C3 1F 03 58 */ lfs f24, 0x358(r31) -/* 8031B3A4 00318304 3A A0 00 00 */ li r21, 0 -/* 8031B3A8 00318308 C2 FF 03 40 */ lfs f23, 0x340(r31) -/* 8031B3AC 0031830C C2 DF 03 50 */ lfs f22, 0x350(r31) -/* 8031B3B0 00318310 C2 BF 03 60 */ lfs f21, 0x360(r31) -/* 8031B3B4 00318314 C3 82 CA 10 */ lfs f28, lbl_805AE730@sda21(r2) -/* 8031B3B8 00318318 48 00 04 EC */ b lbl_8031B8A4 -lbl_8031B3BC: -/* 8031B3BC 0031831C 28 19 00 00 */ cmplwi r25, 0 -/* 8031B3C0 00318320 41 82 00 18 */ beq lbl_8031B3D8 -/* 8031B3C4 00318324 A0 14 00 00 */ lhz r0, 0(r20) -/* 8031B3C8 00318328 80 7E 00 3C */ lwz r3, 0x3c(r30) -/* 8031B3CC 0031832C 1C 00 00 38 */ mulli r0, r0, 0x38 -/* 8031B3D0 00318330 7E C3 02 14 */ add r22, r3, r0 -/* 8031B3D4 00318334 48 00 00 0C */ b lbl_8031B3E0 -lbl_8031B3D8: -/* 8031B3D8 00318338 80 1E 00 3C */ lwz r0, 0x3c(r30) -/* 8031B3DC 0031833C 7E C0 AA 14 */ add r22, r0, r21 -lbl_8031B3E0: -/* 8031B3E0 00318340 C0 36 00 04 */ lfs f1, 4(r22) -/* 8031B3E4 00318344 C0 B6 00 10 */ lfs f5, 0x10(r22) -/* 8031B3E8 00318348 C0 16 00 08 */ lfs f0, 8(r22) -/* 8031B3EC 0031834C C0 D6 00 14 */ lfs f6, 0x14(r22) -/* 8031B3F0 00318350 EC 81 28 28 */ fsubs f4, f1, f5 -/* 8031B3F4 00318354 C0 7E 00 80 */ lfs f3, 0x80(r30) -/* 8031B3F8 00318358 EC 40 30 28 */ fsubs f2, f0, f6 -/* 8031B3FC 0031835C C0 36 00 0C */ lfs f1, 0xc(r22) -/* 8031B400 00318360 C0 F6 00 18 */ lfs f7, 0x18(r22) -/* 8031B404 00318364 EC 03 01 32 */ fmuls f0, f3, f4 -/* 8031B408 00318368 80 7E 00 28 */ lwz r3, 0x28(r30) -/* 8031B40C 0031836C EC 81 38 28 */ fsubs f4, f1, f7 -/* 8031B410 00318370 EC 23 00 B2 */ fmuls f1, f3, f2 -/* 8031B414 00318374 80 03 00 3C */ lwz r0, 0x3c(r3) -/* 8031B418 00318378 EC 40 28 2A */ fadds f2, f0, f5 -/* 8031B41C 0031837C 83 16 00 34 */ lwz r24, 0x34(r22) -/* 8031B420 00318380 EC 03 01 32 */ fmuls f0, f3, f4 -/* 8031B424 00318384 EC 21 30 2A */ fadds f1, f1, f6 -/* 8031B428 00318388 28 00 00 00 */ cmplwi r0, 0 -/* 8031B42C 0031838C D0 5F 01 34 */ stfs f2, 0x134(r31) -/* 8031B430 00318390 EC 00 38 2A */ fadds f0, f0, f7 -/* 8031B434 00318394 D0 3F 01 38 */ stfs f1, 0x138(r31) -/* 8031B438 00318398 D0 1F 01 3C */ stfs f0, 0x13c(r31) -/* 8031B43C 0031839C 40 82 00 0C */ bne lbl_8031B448 -/* 8031B440 003183A0 C3 62 C9 F0 */ lfs f27, lbl_805AE710@sda21(r2) -/* 8031B444 003183A4 48 00 00 08 */ b lbl_8031B44C -lbl_8031B448: -/* 8031B448 003183A8 C3 76 00 30 */ lfs f27, 0x30(r22) -lbl_8031B44C: -/* 8031B44C 003183AC C0 96 00 1C */ lfs f4, 0x1c(r22) -/* 8031B450 003183B0 C0 76 00 20 */ lfs f3, 0x20(r22) -/* 8031B454 003183B4 EC 24 01 32 */ fmuls f1, f4, f4 -/* 8031B458 003183B8 C0 B6 00 24 */ lfs f5, 0x24(r22) -/* 8031B45C 003183BC EC 03 00 F2 */ fmuls f0, f3, f3 -/* 8031B460 003183C0 EC 45 01 72 */ fmuls f2, f5, f5 -/* 8031B464 003183C4 EC 01 00 2A */ fadds f0, f1, f0 -/* 8031B468 003183C8 EC 02 00 2A */ fadds f0, f2, f0 -/* 8031B46C 003183CC FC 00 E0 40 */ fcmpo cr0, f0, f28 -/* 8031B470 003183D0 40 81 00 1C */ ble lbl_8031B48C -/* 8031B474 003183D4 FC 00 00 34 */ frsqrte f0, f0 -/* 8031B478 003183D8 FC 00 00 18 */ frsp f0, f0 -/* 8031B47C 003183DC EE 80 01 32 */ fmuls f20, f0, f4 -/* 8031B480 003183E0 EE 60 00 F2 */ fmuls f19, f0, f3 -/* 8031B484 003183E4 EE 40 01 72 */ fmuls f18, f0, f5 -/* 8031B488 003183E8 48 00 00 74 */ b lbl_8031B4FC -lbl_8031B48C: -/* 8031B48C 003183EC C0 56 00 08 */ lfs f2, 8(r22) -/* 8031B490 003183F0 C0 16 00 14 */ lfs f0, 0x14(r22) -/* 8031B494 003183F4 C0 36 00 04 */ lfs f1, 4(r22) -/* 8031B498 003183F8 EC A2 00 28 */ fsubs f5, f2, f0 -/* 8031B49C 003183FC C0 16 00 10 */ lfs f0, 0x10(r22) -/* 8031B4A0 00318400 C0 56 00 0C */ lfs f2, 0xc(r22) -/* 8031B4A4 00318404 EC 61 00 28 */ fsubs f3, f1, f0 -/* 8031B4A8 00318408 C0 36 00 18 */ lfs f1, 0x18(r22) -/* 8031B4AC 0031840C EC 05 01 72 */ fmuls f0, f5, f5 -/* 8031B4B0 00318410 EC 82 08 28 */ fsubs f4, f2, f1 -/* 8031B4B4 00318414 D0 BF 00 94 */ stfs f5, 0x94(r31) -/* 8031B4B8 00318418 EC 23 00 F2 */ fmuls f1, f3, f3 -/* 8031B4BC 0031841C D0 7F 00 90 */ stfs f3, 0x90(r31) -/* 8031B4C0 00318420 EC 44 01 32 */ fmuls f2, f4, f4 -/* 8031B4C4 00318424 EC 01 00 2A */ fadds f0, f1, f0 -/* 8031B4C8 00318428 D0 9F 00 98 */ stfs f4, 0x98(r31) -/* 8031B4CC 0031842C EC 02 00 2A */ fadds f0, f2, f0 -/* 8031B4D0 00318430 FC 00 E0 40 */ fcmpo cr0, f0, f28 -/* 8031B4D4 00318434 40 81 00 1C */ ble lbl_8031B4F0 -/* 8031B4D8 00318438 FC 00 00 34 */ frsqrte f0, f0 -/* 8031B4DC 0031843C FC 00 00 18 */ frsp f0, f0 -/* 8031B4E0 00318440 EE 80 00 F2 */ fmuls f20, f0, f3 -/* 8031B4E4 00318444 EE 60 01 72 */ fmuls f19, f0, f5 -/* 8031B4E8 00318448 EE 40 01 32 */ fmuls f18, f0, f4 -/* 8031B4EC 0031844C 48 00 00 10 */ b lbl_8031B4FC -lbl_8031B4F0: -/* 8031B4F0 00318450 C2 82 C9 E8 */ lfs f20, lbl_805AE708@sda21(r2) -/* 8031B4F4 00318454 C2 42 C9 F0 */ lfs f18, lbl_805AE710@sda21(r2) -/* 8031B4F8 00318458 FE 60 A0 90 */ fmr f19, f20 -lbl_8031B4FC: -/* 8031B4FC 0031845C 80 7E 00 28 */ lwz r3, 0x28(r30) -/* 8031B500 00318460 C0 96 00 2C */ lfs f4, 0x2c(r22) -/* 8031B504 00318464 88 03 00 30 */ lbz r0, 0x30(r3) -/* 8031B508 00318468 EF E4 05 32 */ fmuls f31, f4, f20 -/* 8031B50C 0031846C 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 8031B510 00318470 EF C4 04 F2 */ fmuls f30, f4, f19 -/* 8031B514 00318474 EF A4 04 B2 */ fmuls f29, f4, f18 -/* 8031B518 00318478 41 82 00 E4 */ beq lbl_8031B5FC -/* 8031B51C 0031847C EC 58 05 32 */ fmuls f2, f24, f20 -/* 8031B520 00318480 C0 02 CA 10 */ lfs f0, lbl_805AE730@sda21(r2) -/* 8031B524 00318484 EC 39 04 B2 */ fmuls f1, f25, f18 -/* 8031B528 00318488 EC 7A 04 F2 */ fmuls f3, f26, f19 -/* 8031B52C 0031848C EC B2 16 B8 */ fmsubs f5, f18, f26, f2 -/* 8031B530 00318490 EC 53 0E 38 */ fmsubs f2, f19, f24, f1 -/* 8031B534 00318494 EC 74 1E 78 */ fmsubs f3, f20, f25, f3 -/* 8031B538 00318498 EC 25 01 72 */ fmuls f1, f5, f5 -/* 8031B53C 0031849C EC 22 08 BA */ fmadds f1, f2, f2, f1 -/* 8031B540 003184A0 EC 23 08 FA */ fmadds f1, f3, f3, f1 -/* 8031B544 003184A4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8031B548 003184A8 40 81 00 24 */ ble lbl_8031B56C -/* 8031B54C 003184AC FC 20 08 34 */ frsqrte f1, f1 -/* 8031B550 003184B0 EC 04 06 F2 */ fmuls f0, f4, f27 -/* 8031B554 003184B4 FC 20 08 18 */ frsp f1, f1 -/* 8031B558 003184B8 EC 00 00 72 */ fmuls f0, f0, f1 -/* 8031B55C 003184BC EE 42 00 32 */ fmuls f18, f2, f0 -/* 8031B560 003184C0 EE 25 00 32 */ fmuls f17, f5, f0 -/* 8031B564 003184C4 EE 63 00 32 */ fmuls f19, f3, f0 -/* 8031B568 003184C8 48 00 00 B8 */ b lbl_8031B620 -lbl_8031B56C: -/* 8031B56C 003184CC C0 56 00 08 */ lfs f2, 8(r22) -/* 8031B570 003184D0 38 7F 00 84 */ addi r3, r31, 0x84 -/* 8031B574 003184D4 C0 36 00 0C */ lfs f1, 0xc(r22) -/* 8031B578 003184D8 38 9F 00 78 */ addi r4, r31, 0x78 -/* 8031B57C 003184DC C0 16 00 04 */ lfs f0, 4(r22) -/* 8031B580 003184E0 EC 56 10 28 */ fsubs f2, f22, f2 -/* 8031B584 003184E4 EC 35 08 28 */ fsubs f1, f21, f1 -/* 8031B588 003184E8 EC 17 00 28 */ fsubs f0, f23, f0 -/* 8031B58C 003184EC D0 5F 00 7C */ stfs f2, 0x7c(r31) -/* 8031B590 003184F0 D0 1F 00 78 */ stfs f0, 0x78(r31) -/* 8031B594 003184F4 D0 3F 00 80 */ stfs f1, 0x80(r31) -/* 8031B598 003184F8 4B FF 92 B9 */ bl AsNormalized__9CVector3fCFv -/* 8031B59C 003184FC C0 BF 00 8C */ lfs f5, 0x8c(r31) -/* 8031B5A0 00318500 C0 9F 00 88 */ lfs f4, 0x88(r31) -/* 8031B5A4 00318504 EC 45 05 32 */ fmuls f2, f5, f20 -/* 8031B5A8 00318508 C0 DF 00 84 */ lfs f6, 0x84(r31) -/* 8031B5AC 0031850C EC 24 04 B2 */ fmuls f1, f4, f18 -/* 8031B5B0 00318510 C0 02 CA 10 */ lfs f0, lbl_805AE730@sda21(r2) -/* 8031B5B4 00318514 EC 66 04 F2 */ fmuls f3, f6, f19 -/* 8031B5B8 00318518 EE 32 11 B8 */ fmsubs f17, f18, f6, f2 -/* 8031B5BC 0031851C EE 53 09 78 */ fmsubs f18, f19, f5, f1 -/* 8031B5C0 00318520 EE 74 19 38 */ fmsubs f19, f20, f4, f3 -/* 8031B5C4 00318524 EC 31 04 72 */ fmuls f1, f17, f17 -/* 8031B5C8 00318528 EC 32 0C BA */ fmadds f1, f18, f18, f1 -/* 8031B5CC 0031852C EC 33 0C FA */ fmadds f1, f19, f19, f1 -/* 8031B5D0 00318530 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8031B5D4 00318534 40 81 00 4C */ ble lbl_8031B620 -/* 8031B5D8 00318538 FC 20 08 34 */ frsqrte f1, f1 -/* 8031B5DC 0031853C C0 16 00 2C */ lfs f0, 0x2c(r22) -/* 8031B5E0 00318540 EC 00 06 F2 */ fmuls f0, f0, f27 -/* 8031B5E4 00318544 FC 20 08 18 */ frsp f1, f1 -/* 8031B5E8 00318548 EC 00 00 72 */ fmuls f0, f0, f1 -/* 8031B5EC 0031854C EE 52 00 32 */ fmuls f18, f18, f0 -/* 8031B5F0 00318550 EE 31 00 32 */ fmuls f17, f17, f0 -/* 8031B5F4 00318554 EE 73 00 32 */ fmuls f19, f19, f0 -/* 8031B5F8 00318558 48 00 00 28 */ b lbl_8031B620 -lbl_8031B5FC: -/* 8031B5FC 0031855C EC 59 07 72 */ fmuls f2, f25, f29 -/* 8031B600 00318560 EC 38 07 F2 */ fmuls f1, f24, f31 -/* 8031B604 00318564 EC 1A 07 B2 */ fmuls f0, f26, f30 -/* 8031B608 00318568 EC 5E 16 38 */ fmsubs f2, f30, f24, f2 -/* 8031B60C 0031856C EC 3D 0E B8 */ fmsubs f1, f29, f26, f1 -/* 8031B610 00318570 EC 1F 06 78 */ fmsubs f0, f31, f25, f0 -/* 8031B614 00318574 EE 5B 00 B2 */ fmuls f18, f27, f2 -/* 8031B618 00318578 EE 3B 00 72 */ fmuls f17, f27, f1 -/* 8031B61C 0031857C EE 7B 00 32 */ fmuls f19, f27, f0 -lbl_8031B620: -/* 8031B620 00318580 28 1C 00 00 */ cmplwi r28, 0 -/* 8031B624 00318584 40 82 01 70 */ bne lbl_8031B794 -/* 8031B628 00318588 80 96 00 28 */ lwz r4, 0x28(r22) -/* 8031B62C 0031858C 80 7E 00 74 */ lwz r3, 0x74(r30) -/* 8031B630 00318590 80 16 00 00 */ lwz r0, 0(r22) -/* 8031B634 00318594 7C 64 18 50 */ subf r3, r4, r3 -/* 8031B638 00318598 3A 43 FF FF */ addi r18, r3, -1 -/* 8031B63C 0031859C 7C 64 00 50 */ subf r3, r4, r0 -/* 8031B640 003185A0 48 00 F1 39 */ bl SetParticleLifetime__16CParticleGlobalsFi -/* 8031B644 003185A4 7E 43 93 78 */ mr r3, r18 -/* 8031B648 003185A8 48 00 F0 35 */ bl UpdateParticleLifetimeTweenValues__16CParticleGlobalsFi -/* 8031B64C 003185AC 80 7E 00 28 */ lwz r3, 0x28(r30) -/* 8031B650 003185B0 7E 44 93 78 */ mr r4, r18 -/* 8031B654 003185B4 38 BF 01 40 */ addi r5, r31, 0x140 -/* 8031B658 003185B8 80 63 00 40 */ lwz r3, 0x40(r3) -/* 8031B65C 003185BC 81 83 00 00 */ lwz r12, 0(r3) -/* 8031B660 003185C0 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8031B664 003185C4 7D 89 03 A6 */ mtctr r12 -/* 8031B668 003185C8 4E 80 04 21 */ bctrl -/* 8031B66C 003185CC C0 C2 C9 F8 */ lfs f6, lbl_805AE718@sda21(r2) -/* 8031B670 003185D0 3C 60 CC 01 */ lis r3, 0xCC008000@ha -/* 8031B674 003185D4 C0 BF 01 34 */ lfs f5, 0x134(r31) -/* 8031B678 003185D8 EC 26 04 B2 */ fmuls f1, f6, f18 -/* 8031B67C 003185DC C0 9F 01 38 */ lfs f4, 0x138(r31) -/* 8031B680 003185E0 EC 06 04 72 */ fmuls f0, f6, f17 -/* 8031B684 003185E4 C0 7F 01 3C */ lfs f3, 0x13c(r31) -/* 8031B688 003185E8 EC 46 04 F2 */ fmuls f2, f6, f19 -/* 8031B68C 003185EC EC A5 08 2A */ fadds f5, f5, f1 -/* 8031B690 003185F0 EC 26 07 F2 */ fmuls f1, f6, f31 -/* 8031B694 003185F4 EC 84 00 2A */ fadds f4, f4, f0 -/* 8031B698 003185F8 EC 06 07 B2 */ fmuls f0, f6, f30 -/* 8031B69C 003185FC D0 BF 01 34 */ stfs f5, 0x134(r31) -/* 8031B6A0 00318600 EC 25 08 2A */ fadds f1, f5, f1 -/* 8031B6A4 00318604 EC 43 10 2A */ fadds f2, f3, f2 -/* 8031B6A8 00318608 D0 9F 01 38 */ stfs f4, 0x138(r31) -/* 8031B6AC 0031860C ED 64 00 2A */ fadds f11, f4, f0 -/* 8031B6B0 00318610 EC 06 07 72 */ fmuls f0, f6, f29 -/* 8031B6B4 00318614 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 8031B6B8 00318618 ED 21 F8 28 */ fsubs f9, f1, f31 -/* 8031B6BC 0031861C D1 63 80 00 */ stfs f11, 0xCC008000@l(r3) -/* 8031B6C0 00318620 ED 0B F0 28 */ fsubs f8, f11, f30 -/* 8031B6C4 00318624 ED 42 00 2A */ fadds f10, f2, f0 -/* 8031B6C8 00318628 EC C9 90 28 */ fsubs f6, f9, f18 -/* 8031B6CC 0031862C D0 5F 01 3C */ stfs f2, 0x13c(r31) -/* 8031B6D0 00318630 EC A8 88 28 */ fsubs f5, f8, f17 -/* 8031B6D4 00318634 D1 43 80 00 */ stfs f10, 0xCC008000@l(r3) -/* 8031B6D8 00318638 EC EA E8 28 */ fsubs f7, f10, f29 -/* 8031B6DC 0031863C EC 66 F8 2A */ fadds f3, f6, f31 -/* 8031B6E0 00318640 93 03 80 00 */ stw r24, 0xCC008000@l(r3) -/* 8031B6E4 00318644 EC 45 F0 2A */ fadds f2, f5, f30 -/* 8031B6E8 00318648 EC 87 98 28 */ fsubs f4, f7, f19 -/* 8031B6EC 0031864C C0 1F 01 48 */ lfs f0, 0x148(r31) -/* 8031B6F0 00318650 D0 3F 01 34 */ stfs f1, 0x134(r31) -/* 8031B6F4 00318654 EC 24 E8 2A */ fadds f1, f4, f29 -/* 8031B6F8 00318658 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 8031B6FC 0031865C C0 1F 01 4C */ lfs f0, 0x14c(r31) -/* 8031B700 00318660 D1 7F 01 38 */ stfs f11, 0x138(r31) -/* 8031B704 00318664 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 8031B708 00318668 D1 23 80 00 */ stfs f9, 0xCC008000@l(r3) -/* 8031B70C 0031866C D1 03 80 00 */ stfs f8, 0xCC008000@l(r3) -/* 8031B710 00318670 D0 E3 80 00 */ stfs f7, 0xCC008000@l(r3) -/* 8031B714 00318674 93 03 80 00 */ stw r24, 0xCC008000@l(r3) -/* 8031B718 00318678 C0 1F 01 40 */ lfs f0, 0x140(r31) -/* 8031B71C 0031867C D1 5F 01 3C */ stfs f10, 0x13c(r31) -/* 8031B720 00318680 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 8031B724 00318684 C0 1F 01 4C */ lfs f0, 0x14c(r31) -/* 8031B728 00318688 D1 3F 01 34 */ stfs f9, 0x134(r31) -/* 8031B72C 0031868C D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 8031B730 00318690 D0 C3 80 00 */ stfs f6, 0xCC008000@l(r3) -/* 8031B734 00318694 D0 A3 80 00 */ stfs f5, 0xCC008000@l(r3) -/* 8031B738 00318698 D0 83 80 00 */ stfs f4, 0xCC008000@l(r3) -/* 8031B73C 0031869C 93 03 80 00 */ stw r24, 0xCC008000@l(r3) -/* 8031B740 003186A0 C0 1F 01 40 */ lfs f0, 0x140(r31) -/* 8031B744 003186A4 D1 1F 01 38 */ stfs f8, 0x138(r31) -/* 8031B748 003186A8 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 8031B74C 003186AC C0 1F 01 44 */ lfs f0, 0x144(r31) -/* 8031B750 003186B0 D0 FF 01 3C */ stfs f7, 0x13c(r31) -/* 8031B754 003186B4 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 8031B758 003186B8 D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) -/* 8031B75C 003186BC D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 8031B760 003186C0 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 8031B764 003186C4 93 03 80 00 */ stw r24, 0xCC008000@l(r3) -/* 8031B768 003186C8 C0 1F 01 48 */ lfs f0, 0x148(r31) -/* 8031B76C 003186CC D0 DF 01 34 */ stfs f6, 0x134(r31) -/* 8031B770 003186D0 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 8031B774 003186D4 D0 BF 01 38 */ stfs f5, 0x138(r31) -/* 8031B778 003186D8 C0 1F 01 44 */ lfs f0, 0x144(r31) -/* 8031B77C 003186DC D0 9F 01 3C */ stfs f4, 0x13c(r31) -/* 8031B780 003186E0 D0 7F 01 34 */ stfs f3, 0x134(r31) -/* 8031B784 003186E4 D0 5F 01 38 */ stfs f2, 0x138(r31) -/* 8031B788 003186E8 D0 3F 01 3C */ stfs f1, 0x13c(r31) -/* 8031B78C 003186EC D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 8031B790 003186F0 48 00 01 08 */ b lbl_8031B898 -lbl_8031B794: -/* 8031B794 003186F4 C0 C2 C9 F8 */ lfs f6, lbl_805AE718@sda21(r2) -/* 8031B798 003186F8 3C C0 CC 01 */ lis r6, 0xCC008000@ha -/* 8031B79C 003186FC C0 BF 01 34 */ lfs f5, 0x134(r31) -/* 8031B7A0 00318700 38 A0 02 02 */ li r5, 0x202 -/* 8031B7A4 00318704 EC 06 04 B2 */ fmuls f0, f6, f18 -/* 8031B7A8 00318708 C0 9F 01 38 */ lfs f4, 0x138(r31) -/* 8031B7AC 0031870C EC 26 04 72 */ fmuls f1, f6, f17 -/* 8031B7B0 00318710 C0 7F 01 3C */ lfs f3, 0x13c(r31) -/* 8031B7B4 00318714 EC 46 04 F2 */ fmuls f2, f6, f19 -/* 8031B7B8 00318718 38 80 00 02 */ li r4, 2 -/* 8031B7BC 0031871C EC A5 00 2A */ fadds f5, f5, f0 -/* 8031B7C0 00318720 38 60 00 00 */ li r3, 0 -/* 8031B7C4 00318724 EC 06 07 F2 */ fmuls f0, f6, f31 -/* 8031B7C8 00318728 38 00 02 00 */ li r0, 0x200 -/* 8031B7CC 0031872C EC 84 08 2A */ fadds f4, f4, f1 -/* 8031B7D0 00318730 EC 26 07 B2 */ fmuls f1, f6, f30 -/* 8031B7D4 00318734 ED 65 00 2A */ fadds f11, f5, f0 -/* 8031B7D8 00318738 D0 BF 01 34 */ stfs f5, 0x134(r31) -/* 8031B7DC 0031873C ED 83 10 2A */ fadds f12, f3, f2 -/* 8031B7E0 00318740 EC 06 07 72 */ fmuls f0, f6, f29 -/* 8031B7E4 00318744 D0 9F 01 38 */ stfs f4, 0x138(r31) -/* 8031B7E8 00318748 ED 44 08 2A */ fadds f10, f4, f1 -/* 8031B7EC 0031874C D1 66 80 00 */ stfs f11, 0xCC008000@l(r6) -/* 8031B7F0 00318750 ED 0B F8 28 */ fsubs f8, f11, f31 -/* 8031B7F4 00318754 ED 2C 00 2A */ fadds f9, f12, f0 -/* 8031B7F8 00318758 D1 46 80 00 */ stfs f10, 0xCC008000@l(r6) -/* 8031B7FC 0031875C EC EA F0 28 */ fsubs f7, f10, f30 -/* 8031B800 00318760 EC A8 90 28 */ fsubs f5, f8, f18 -/* 8031B804 00318764 D1 26 80 00 */ stfs f9, 0xCC008000@l(r6) -/* 8031B808 00318768 EC C9 E8 28 */ fsubs f6, f9, f29 -/* 8031B80C 0031876C EC 87 88 28 */ fsubs f4, f7, f17 -/* 8031B810 00318770 93 06 80 00 */ stw r24, 0xCC008000@l(r6) -/* 8031B814 00318774 EC 45 F8 2A */ fadds f2, f5, f31 -/* 8031B818 00318778 EC 66 98 28 */ fsubs f3, f6, f19 -/* 8031B81C 0031877C B0 A6 80 00 */ sth r5, 0xCC008000@l(r6) -/* 8031B820 00318780 EC 24 F0 2A */ fadds f1, f4, f30 -/* 8031B824 00318784 D1 06 80 00 */ stfs f8, 0xCC008000@l(r6) -/* 8031B828 00318788 EC 03 E8 2A */ fadds f0, f3, f29 -/* 8031B82C 0031878C D0 E6 80 00 */ stfs f7, 0xCC008000@l(r6) -/* 8031B830 00318790 D0 C6 80 00 */ stfs f6, 0xCC008000@l(r6) -/* 8031B834 00318794 93 06 80 00 */ stw r24, 0xCC008000@l(r6) -/* 8031B838 00318798 B0 86 80 00 */ sth r4, 0xCC008000@l(r6) -/* 8031B83C 0031879C D0 A6 80 00 */ stfs f5, 0xCC008000@l(r6) -/* 8031B840 003187A0 D0 86 80 00 */ stfs f4, 0xCC008000@l(r6) -/* 8031B844 003187A4 D0 66 80 00 */ stfs f3, 0xCC008000@l(r6) -/* 8031B848 003187A8 93 06 80 00 */ stw r24, 0xCC008000@l(r6) -/* 8031B84C 003187AC B0 66 80 00 */ sth r3, 0xCC008000@l(r6) -/* 8031B850 003187B0 D1 9F 01 3C */ stfs f12, 0x13c(r31) -/* 8031B854 003187B4 D0 46 80 00 */ stfs f2, 0xCC008000@l(r6) -/* 8031B858 003187B8 D1 7F 01 34 */ stfs f11, 0x134(r31) -/* 8031B85C 003187BC D1 5F 01 38 */ stfs f10, 0x138(r31) -/* 8031B860 003187C0 D1 3F 01 3C */ stfs f9, 0x13c(r31) -/* 8031B864 003187C4 D0 26 80 00 */ stfs f1, 0xCC008000@l(r6) -/* 8031B868 003187C8 D1 1F 01 34 */ stfs f8, 0x134(r31) -/* 8031B86C 003187CC D0 FF 01 38 */ stfs f7, 0x138(r31) -/* 8031B870 003187D0 D0 DF 01 3C */ stfs f6, 0x13c(r31) -/* 8031B874 003187D4 D0 06 80 00 */ stfs f0, 0xCC008000@l(r6) -/* 8031B878 003187D8 D0 BF 01 34 */ stfs f5, 0x134(r31) -/* 8031B87C 003187DC D0 9F 01 38 */ stfs f4, 0x138(r31) -/* 8031B880 003187E0 D0 7F 01 3C */ stfs f3, 0x13c(r31) -/* 8031B884 003187E4 93 06 80 00 */ stw r24, 0xCC008000@l(r6) -/* 8031B888 003187E8 D0 5F 01 34 */ stfs f2, 0x134(r31) -/* 8031B88C 003187EC D0 3F 01 38 */ stfs f1, 0x138(r31) -/* 8031B890 003187F0 D0 1F 01 3C */ stfs f0, 0x13c(r31) -/* 8031B894 003187F4 B0 06 80 00 */ sth r0, 0xCC008000@l(r6) -lbl_8031B898: -/* 8031B898 003187F8 3A 94 00 10 */ addi r20, r20, 0x10 -/* 8031B89C 003187FC 3A B5 00 38 */ addi r21, r21, 0x38 -/* 8031B8A0 00318800 3A 73 00 01 */ addi r19, r19, 1 -lbl_8031B8A4: -/* 8031B8A4 00318804 7C 13 B8 00 */ cmpw r19, r23 -/* 8031B8A8 00318808 41 80 FB 14 */ blt lbl_8031B3BC -/* 8031B8AC 0031880C 48 00 05 74 */ b lbl_8031BE20 -lbl_8031B8B0: -/* 8031B8B0 00318810 6E A3 80 00 */ xoris r3, r21, 0x8000 -/* 8031B8B4 00318814 3C 00 43 30 */ lis r0, 0x4330 -/* 8031B8B8 00318818 90 7F 03 6C */ stw r3, 0x36c(r31) -/* 8031B8BC 0031881C 57 9C 06 3E */ clrlwi r28, r28, 0x18 -/* 8031B8C0 00318820 C8 22 CA 18 */ lfd f1, lbl_805AE738@sda21(r2) -/* 8031B8C4 00318824 3A 60 00 00 */ li r19, 0 -/* 8031B8C8 00318828 90 1F 03 68 */ stw r0, 0x368(r31) -/* 8031B8CC 0031882C 3A 80 00 00 */ li r20, 0 -/* 8031B8D0 00318830 C0 42 C9 F0 */ lfs f2, lbl_805AE710@sda21(r2) -/* 8031B8D4 00318834 C8 1F 03 68 */ lfd f0, 0x368(r31) -/* 8031B8D8 00318838 C3 82 CA 14 */ lfs f28, lbl_805AE734@sda21(r2) -/* 8031B8DC 0031883C EC 00 08 28 */ fsubs f0, f0, f1 -/* 8031B8E0 00318840 C3 A2 C9 EC */ lfs f29, lbl_805AE70C@sda21(r2) -/* 8031B8E4 00318844 EE E2 00 24 */ fdivs f23, f2, f0 -/* 8031B8E8 00318848 48 00 05 30 */ b lbl_8031BE18 -lbl_8031B8EC: -/* 8031B8EC 0031884C 80 1E 00 3C */ lwz r0, 0x3c(r30) -/* 8031B8F0 00318850 C0 7E 00 80 */ lfs f3, 0x80(r30) -/* 8031B8F4 00318854 7E C0 A2 14 */ add r22, r0, r20 -/* 8031B8F8 00318858 C0 36 00 04 */ lfs f1, 4(r22) -/* 8031B8FC 0031885C C0 56 00 10 */ lfs f2, 0x10(r22) -/* 8031B900 00318860 C0 16 00 08 */ lfs f0, 8(r22) -/* 8031B904 00318864 EC 81 10 28 */ fsubs f4, f1, f2 -/* 8031B908 00318868 C0 F6 00 14 */ lfs f7, 0x14(r22) -/* 8031B90C 0031886C C0 36 00 0C */ lfs f1, 0xc(r22) -/* 8031B910 00318870 EC A0 38 28 */ fsubs f5, f0, f7 -/* 8031B914 00318874 C1 16 00 18 */ lfs f8, 0x18(r22) -/* 8031B918 00318878 EC 03 01 32 */ fmuls f0, f3, f4 -/* 8031B91C 0031887C EC C1 40 28 */ fsubs f6, f1, f8 -/* 8031B920 00318880 EC 23 01 72 */ fmuls f1, f3, f5 -/* 8031B924 00318884 EC 40 10 2A */ fadds f2, f0, f2 -/* 8031B928 00318888 EC 03 01 B2 */ fmuls f0, f3, f6 -/* 8031B92C 0031888C EC 21 38 2A */ fadds f1, f1, f7 -/* 8031B930 00318890 D0 5F 01 28 */ stfs f2, 0x128(r31) -/* 8031B934 00318894 EE 37 01 32 */ fmuls f17, f23, f4 -/* 8031B938 00318898 EC 00 40 2A */ fadds f0, f0, f8 -/* 8031B93C 0031889C D0 3F 01 2C */ stfs f1, 0x12c(r31) -/* 8031B940 003188A0 EE 57 01 72 */ fmuls f18, f23, f5 -/* 8031B944 003188A4 EE 77 01 B2 */ fmuls f19, f23, f6 -/* 8031B948 003188A8 D0 1F 01 30 */ stfs f0, 0x130(r31) -/* 8031B94C 003188AC 80 16 00 34 */ lwz r0, 0x34(r22) -/* 8031B950 003188B0 90 1F 00 34 */ stw r0, 0x34(r31) -/* 8031B954 003188B4 E0 1F A0 37 */ psq_l f0, 55(r31), 1, qr2 -/* 8031B958 003188B8 EC 1D 00 32 */ fmuls f0, f29, f0 -/* 8031B95C 003188BC EC 17 00 32 */ fmuls f0, f23, f0 -/* 8031B960 003188C0 EF 7C 00 32 */ fmuls f27, f28, f0 -/* 8031B964 003188C4 F3 7F A0 08 */ psq_st f27, 8(r31), 1, qr2 -/* 8031B968 003188C8 28 1C 00 00 */ cmplwi r28, 0 -/* 8031B96C 003188CC 88 1F 00 08 */ lbz r0, 8(r31) -/* 8031B970 003188D0 98 1F 00 37 */ stb r0, 0x37(r31) -/* 8031B974 003188D4 83 1F 00 34 */ lwz r24, 0x34(r31) -/* 8031B978 003188D8 40 82 02 98 */ bne lbl_8031BC10 -/* 8031B97C 003188DC 80 96 00 28 */ lwz r4, 0x28(r22) -/* 8031B980 003188E0 80 7E 00 74 */ lwz r3, 0x74(r30) -/* 8031B984 003188E4 80 16 00 00 */ lwz r0, 0(r22) -/* 8031B988 003188E8 7C 64 18 50 */ subf r3, r4, r3 -/* 8031B98C 003188EC 3A 43 FF FF */ addi r18, r3, -1 -/* 8031B990 003188F0 7C 64 00 50 */ subf r3, r4, r0 -/* 8031B994 003188F4 48 00 ED E5 */ bl SetParticleLifetime__16CParticleGlobalsFi -/* 8031B998 003188F8 7E 43 93 78 */ mr r3, r18 -/* 8031B99C 003188FC 48 00 EC E1 */ bl UpdateParticleLifetimeTweenValues__16CParticleGlobalsFi -/* 8031B9A0 00318900 80 7E 00 28 */ lwz r3, 0x28(r30) -/* 8031B9A4 00318904 7E 44 93 78 */ mr r4, r18 -/* 8031B9A8 00318908 38 BF 01 40 */ addi r5, r31, 0x140 -/* 8031B9AC 0031890C 80 63 00 40 */ lwz r3, 0x40(r3) -/* 8031B9B0 00318910 81 83 00 00 */ lwz r12, 0(r3) -/* 8031B9B4 00318914 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8031B9B8 00318918 7D 89 03 A6 */ mtctr r12 -/* 8031B9BC 0031891C 4E 80 04 21 */ bctrl -/* 8031B9C0 00318920 57 A0 06 3F */ clrlwi. r0, r29, 0x18 -/* 8031B9C4 00318924 41 82 01 08 */ beq lbl_8031BACC -/* 8031B9C8 00318928 C3 C2 C9 F8 */ lfs f30, lbl_805AE718@sda21(r2) -/* 8031B9CC 0031892C 3B 20 00 00 */ li r25, 0 -/* 8031B9D0 00318930 3E 40 CC 01 */ lis r18, 0xcc01 -/* 8031B9D4 00318934 48 00 00 EC */ b lbl_8031BAC0 -lbl_8031B9D8: -/* 8031B9D8 00318938 C0 5F 01 28 */ lfs f2, 0x128(r31) -/* 8031B9DC 0031893C 38 7F 00 6C */ addi r3, r31, 0x6c -/* 8031B9E0 00318940 C0 3F 01 2C */ lfs f1, 0x12c(r31) -/* 8031B9E4 00318944 38 9F 02 D4 */ addi r4, r31, 0x2d4 -/* 8031B9E8 00318948 C0 1F 01 30 */ lfs f0, 0x130(r31) -/* 8031B9EC 0031894C EC 42 88 2A */ fadds f2, f2, f17 -/* 8031B9F0 00318950 EC 21 90 2A */ fadds f1, f1, f18 -/* 8031B9F4 00318954 38 BF 01 28 */ addi r5, r31, 0x128 -/* 8031B9F8 00318958 EC 00 98 2A */ fadds f0, f0, f19 -/* 8031B9FC 0031895C D0 5F 01 28 */ stfs f2, 0x128(r31) -/* 8031BA00 00318960 D0 3F 01 2C */ stfs f1, 0x12c(r31) -/* 8031BA04 00318964 D0 1F 01 30 */ stfs f0, 0x130(r31) -/* 8031BA08 00318968 4B FF 70 E1 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 8031BA0C 0031896C C0 16 00 2C */ lfs f0, 0x2c(r22) -/* 8031BA10 00318970 3B 39 00 01 */ addi r25, r25, 1 -/* 8031BA14 00318974 C0 3F 00 6C */ lfs f1, 0x6c(r31) -/* 8031BA18 00318978 EC 7E 00 32 */ fmuls f3, f30, f0 -/* 8031BA1C 0031897C C0 1F 00 74 */ lfs f0, 0x74(r31) -/* 8031BA20 00318980 C0 5F 00 70 */ lfs f2, 0x70(r31) -/* 8031BA24 00318984 EC 83 08 2A */ fadds f4, f3, f1 -/* 8031BA28 00318988 EC 63 00 2A */ fadds f3, f3, f0 -/* 8031BA2C 0031898C D0 92 80 00 */ stfs f4, 0xCC008000@l(r18) -/* 8031BA30 00318990 D0 52 80 00 */ stfs f2, 0xCC008000@l(r18) -/* 8031BA34 00318994 D0 72 80 00 */ stfs f3, 0xCC008000@l(r18) -/* 8031BA38 00318998 93 12 80 00 */ stw r24, 0xCC008000@l(r18) -/* 8031BA3C 0031899C C0 1F 01 48 */ lfs f0, 0x148(r31) -/* 8031BA40 003189A0 D0 12 80 00 */ stfs f0, 0xCC008000@l(r18) -/* 8031BA44 003189A4 C0 1F 01 4C */ lfs f0, 0x14c(r31) -/* 8031BA48 003189A8 D0 12 80 00 */ stfs f0, 0xCC008000@l(r18) -/* 8031BA4C 003189AC C0 16 00 2C */ lfs f0, 0x2c(r22) -/* 8031BA50 003189B0 EC 84 00 28 */ fsubs f4, f4, f0 -/* 8031BA54 003189B4 D0 92 80 00 */ stfs f4, 0xCC008000@l(r18) -/* 8031BA58 003189B8 D0 52 80 00 */ stfs f2, 0xCC008000@l(r18) -/* 8031BA5C 003189BC D0 72 80 00 */ stfs f3, 0xCC008000@l(r18) -/* 8031BA60 003189C0 93 12 80 00 */ stw r24, 0xCC008000@l(r18) -/* 8031BA64 003189C4 C0 3F 01 40 */ lfs f1, 0x140(r31) -/* 8031BA68 003189C8 D0 32 80 00 */ stfs f1, 0xCC008000@l(r18) -/* 8031BA6C 003189CC C0 1F 01 4C */ lfs f0, 0x14c(r31) -/* 8031BA70 003189D0 D0 12 80 00 */ stfs f0, 0xCC008000@l(r18) -/* 8031BA74 003189D4 C0 16 00 2C */ lfs f0, 0x2c(r22) -/* 8031BA78 003189D8 D0 92 80 00 */ stfs f4, 0xCC008000@l(r18) -/* 8031BA7C 003189DC EC 63 00 28 */ fsubs f3, f3, f0 -/* 8031BA80 003189E0 D0 52 80 00 */ stfs f2, 0xCC008000@l(r18) -/* 8031BA84 003189E4 D0 72 80 00 */ stfs f3, 0xCC008000@l(r18) -/* 8031BA88 003189E8 93 12 80 00 */ stw r24, 0xCC008000@l(r18) -/* 8031BA8C 003189EC D0 32 80 00 */ stfs f1, 0xCC008000@l(r18) -/* 8031BA90 003189F0 C0 1F 01 44 */ lfs f0, 0x144(r31) -/* 8031BA94 003189F4 D0 12 80 00 */ stfs f0, 0xCC008000@l(r18) -/* 8031BA98 003189F8 C0 16 00 2C */ lfs f0, 0x2c(r22) -/* 8031BA9C 003189FC EC 84 00 2A */ fadds f4, f4, f0 -/* 8031BAA0 00318A00 D0 92 80 00 */ stfs f4, 0xCC008000@l(r18) -/* 8031BAA4 00318A04 D0 52 80 00 */ stfs f2, 0xCC008000@l(r18) -/* 8031BAA8 00318A08 D0 72 80 00 */ stfs f3, 0xCC008000@l(r18) -/* 8031BAAC 00318A0C 93 12 80 00 */ stw r24, 0xCC008000@l(r18) -/* 8031BAB0 00318A10 C0 1F 01 48 */ lfs f0, 0x148(r31) -/* 8031BAB4 00318A14 D0 12 80 00 */ stfs f0, 0xCC008000@l(r18) -/* 8031BAB8 00318A18 C0 1F 01 44 */ lfs f0, 0x144(r31) -/* 8031BABC 00318A1C D0 12 80 00 */ stfs f0, 0xCC008000@l(r18) -lbl_8031BAC0: -/* 8031BAC0 00318A20 7C 19 A8 00 */ cmpw r25, r21 -/* 8031BAC4 00318A24 41 80 FF 14 */ blt lbl_8031B9D8 -/* 8031BAC8 00318A28 48 00 03 48 */ b lbl_8031BE10 -lbl_8031BACC: -/* 8031BACC 00318A2C C3 E2 C9 F8 */ lfs f31, lbl_805AE718@sda21(r2) -/* 8031BAD0 00318A30 3B 20 00 00 */ li r25, 0 -/* 8031BAD4 00318A34 C3 C2 C9 F4 */ lfs f30, lbl_805AE714@sda21(r2) -/* 8031BAD8 00318A38 3E 40 CC 01 */ lis r18, 0xcc01 -/* 8031BADC 00318A3C 48 00 01 28 */ b lbl_8031BC04 -lbl_8031BAE0: -/* 8031BAE0 00318A40 C0 5F 01 28 */ lfs f2, 0x128(r31) -/* 8031BAE4 00318A44 38 7F 00 60 */ addi r3, r31, 0x60 -/* 8031BAE8 00318A48 C0 3F 01 2C */ lfs f1, 0x12c(r31) -/* 8031BAEC 00318A4C 38 9F 02 D4 */ addi r4, r31, 0x2d4 -/* 8031BAF0 00318A50 C0 1F 01 30 */ lfs f0, 0x130(r31) -/* 8031BAF4 00318A54 EC 42 88 2A */ fadds f2, f2, f17 -/* 8031BAF8 00318A58 EC 21 90 2A */ fadds f1, f1, f18 -/* 8031BAFC 00318A5C 38 BF 01 28 */ addi r5, r31, 0x128 -/* 8031BB00 00318A60 EC 00 98 2A */ fadds f0, f0, f19 -/* 8031BB04 00318A64 D0 5F 01 28 */ stfs f2, 0x128(r31) -/* 8031BB08 00318A68 D0 3F 01 2C */ stfs f1, 0x12c(r31) -/* 8031BB0C 00318A6C D0 1F 01 30 */ stfs f0, 0x130(r31) -/* 8031BB10 00318A70 4B FF 6F D9 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 8031BB14 00318A74 C0 16 00 30 */ lfs f0, 0x30(r22) -/* 8031BB18 00318A78 C0 36 00 2C */ lfs f1, 0x2c(r22) -/* 8031BB1C 00318A7C EF 5E 00 32 */ fmuls f26, f30, f0 -/* 8031BB20 00318A80 C2 9F 00 60 */ lfs f20, 0x60(r31) -/* 8031BB24 00318A84 EF 3F 00 72 */ fmuls f25, f31, f1 -/* 8031BB28 00318A88 C2 BF 00 64 */ lfs f21, 0x64(r31) -/* 8031BB2C 00318A8C C2 DF 00 68 */ lfs f22, 0x68(r31) -/* 8031BB30 00318A90 FC 20 D0 90 */ fmr f1, f26 -/* 8031BB34 00318A94 4B FF 92 BD */ bl FastSinR__5CMathFf -/* 8031BB38 00318A98 EF 19 00 72 */ fmuls f24, f25, f1 -/* 8031BB3C 00318A9C FC 20 D0 90 */ fmr f1, f26 -/* 8031BB40 00318AA0 4B FF 92 05 */ bl FastCosR__5CMathFf -/* 8031BB44 00318AA4 EC 99 00 72 */ fmuls f4, f25, f1 -/* 8031BB48 00318AA8 3B 39 00 01 */ addi r25, r25, 1 -/* 8031BB4C 00318AAC FC 00 C0 50 */ fneg f0, f24 -/* 8031BB50 00318AB0 EC D8 20 2A */ fadds f6, f24, f4 -/* 8031BB54 00318AB4 EC 20 20 2A */ fadds f1, f0, f4 -/* 8031BB58 00318AB8 EC 58 20 28 */ fsubs f2, f24, f4 -/* 8031BB5C 00318ABC EC 66 A0 2A */ fadds f3, f6, f20 -/* 8031BB60 00318AC0 EC E4 C0 28 */ fsubs f7, f4, f24 -/* 8031BB64 00318AC4 FC 00 20 50 */ fneg f0, f4 -/* 8031BB68 00318AC8 D0 72 80 00 */ stfs f3, 0xCC008000@l(r18) -/* 8031BB6C 00318ACC EC A2 A0 2A */ fadds f5, f2, f20 -/* 8031BB70 00318AD0 EC 67 B0 2A */ fadds f3, f7, f22 -/* 8031BB74 00318AD4 D2 B2 80 00 */ stfs f21, 0xCC008000@l(r18) -/* 8031BB78 00318AD8 EC 00 C0 28 */ fsubs f0, f0, f24 -/* 8031BB7C 00318ADC EC 86 B0 2A */ fadds f4, f6, f22 -/* 8031BB80 00318AE0 D0 72 80 00 */ stfs f3, 0xCC008000@l(r18) -/* 8031BB84 00318AE4 EC 74 30 28 */ fsubs f3, f20, f6 -/* 8031BB88 00318AE8 EC 56 38 28 */ fsubs f2, f22, f7 -/* 8031BB8C 00318AEC 93 12 80 00 */ stw r24, 0xCC008000@l(r18) -/* 8031BB90 00318AF0 EC 21 A0 2A */ fadds f1, f1, f20 -/* 8031BB94 00318AF4 EC 00 B0 2A */ fadds f0, f0, f22 -/* 8031BB98 00318AF8 C0 DF 01 48 */ lfs f6, 0x148(r31) -/* 8031BB9C 00318AFC D0 D2 80 00 */ stfs f6, 0xCC008000@l(r18) -/* 8031BBA0 00318B00 C0 DF 01 4C */ lfs f6, 0x14c(r31) -/* 8031BBA4 00318B04 D0 D2 80 00 */ stfs f6, 0xCC008000@l(r18) -/* 8031BBA8 00318B08 D0 B2 80 00 */ stfs f5, 0xCC008000@l(r18) -/* 8031BBAC 00318B0C D2 B2 80 00 */ stfs f21, 0xCC008000@l(r18) -/* 8031BBB0 00318B10 D0 92 80 00 */ stfs f4, 0xCC008000@l(r18) -/* 8031BBB4 00318B14 93 12 80 00 */ stw r24, 0xCC008000@l(r18) -/* 8031BBB8 00318B18 C0 BF 01 40 */ lfs f5, 0x140(r31) -/* 8031BBBC 00318B1C D0 B2 80 00 */ stfs f5, 0xCC008000@l(r18) -/* 8031BBC0 00318B20 C0 9F 01 4C */ lfs f4, 0x14c(r31) -/* 8031BBC4 00318B24 D0 92 80 00 */ stfs f4, 0xCC008000@l(r18) -/* 8031BBC8 00318B28 D0 72 80 00 */ stfs f3, 0xCC008000@l(r18) -/* 8031BBCC 00318B2C D2 B2 80 00 */ stfs f21, 0xCC008000@l(r18) -/* 8031BBD0 00318B30 D0 52 80 00 */ stfs f2, 0xCC008000@l(r18) -/* 8031BBD4 00318B34 93 12 80 00 */ stw r24, 0xCC008000@l(r18) -/* 8031BBD8 00318B38 D0 B2 80 00 */ stfs f5, 0xCC008000@l(r18) -/* 8031BBDC 00318B3C C0 5F 01 44 */ lfs f2, 0x144(r31) -/* 8031BBE0 00318B40 D0 52 80 00 */ stfs f2, 0xCC008000@l(r18) -/* 8031BBE4 00318B44 D0 32 80 00 */ stfs f1, 0xCC008000@l(r18) -/* 8031BBE8 00318B48 D2 B2 80 00 */ stfs f21, 0xCC008000@l(r18) -/* 8031BBEC 00318B4C D0 12 80 00 */ stfs f0, 0xCC008000@l(r18) -/* 8031BBF0 00318B50 93 12 80 00 */ stw r24, 0xCC008000@l(r18) -/* 8031BBF4 00318B54 C0 1F 01 48 */ lfs f0, 0x148(r31) -/* 8031BBF8 00318B58 D0 12 80 00 */ stfs f0, 0xCC008000@l(r18) -/* 8031BBFC 00318B5C C0 1F 01 44 */ lfs f0, 0x144(r31) -/* 8031BC00 00318B60 D0 12 80 00 */ stfs f0, 0xCC008000@l(r18) -lbl_8031BC04: -/* 8031BC04 00318B64 7C 19 A8 00 */ cmpw r25, r21 -/* 8031BC08 00318B68 41 80 FE D8 */ blt lbl_8031BAE0 -/* 8031BC0C 00318B6C 48 00 02 04 */ b lbl_8031BE10 -lbl_8031BC10: -/* 8031BC10 00318B70 57 A0 06 3F */ clrlwi. r0, r29, 0x18 -/* 8031BC14 00318B74 41 82 00 EC */ beq lbl_8031BD00 -/* 8031BC18 00318B78 C2 82 C9 F8 */ lfs f20, lbl_805AE718@sda21(r2) -/* 8031BC1C 00318B7C 3A 40 00 00 */ li r18, 0 -/* 8031BC20 00318B80 3F 20 CC 01 */ lis r25, 0xcc01 -/* 8031BC24 00318B84 48 00 00 D0 */ b lbl_8031BCF4 -lbl_8031BC28: -/* 8031BC28 00318B88 C0 5F 01 28 */ lfs f2, 0x128(r31) -/* 8031BC2C 00318B8C 38 7F 00 54 */ addi r3, r31, 0x54 -/* 8031BC30 00318B90 C0 3F 01 2C */ lfs f1, 0x12c(r31) -/* 8031BC34 00318B94 38 9F 02 D4 */ addi r4, r31, 0x2d4 -/* 8031BC38 00318B98 C0 1F 01 30 */ lfs f0, 0x130(r31) -/* 8031BC3C 00318B9C EC 42 88 2A */ fadds f2, f2, f17 -/* 8031BC40 00318BA0 EC 21 90 2A */ fadds f1, f1, f18 -/* 8031BC44 00318BA4 38 BF 01 28 */ addi r5, r31, 0x128 -/* 8031BC48 00318BA8 EC 00 98 2A */ fadds f0, f0, f19 -/* 8031BC4C 00318BAC D0 5F 01 28 */ stfs f2, 0x128(r31) -/* 8031BC50 00318BB0 D0 3F 01 2C */ stfs f1, 0x12c(r31) -/* 8031BC54 00318BB4 D0 1F 01 30 */ stfs f0, 0x130(r31) -/* 8031BC58 00318BB8 4B FF 6E 91 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 8031BC5C 00318BBC C0 16 00 2C */ lfs f0, 0x2c(r22) -/* 8031BC60 00318BC0 38 A0 02 02 */ li r5, 0x202 -/* 8031BC64 00318BC4 C0 3F 00 54 */ lfs f1, 0x54(r31) -/* 8031BC68 00318BC8 38 80 00 02 */ li r4, 2 -/* 8031BC6C 00318BCC EC 74 00 32 */ fmuls f3, f20, f0 -/* 8031BC70 00318BD0 C0 1F 00 5C */ lfs f0, 0x5c(r31) -/* 8031BC74 00318BD4 C0 5F 00 58 */ lfs f2, 0x58(r31) -/* 8031BC78 00318BD8 38 60 00 00 */ li r3, 0 -/* 8031BC7C 00318BDC 38 00 02 00 */ li r0, 0x200 -/* 8031BC80 00318BE0 3A 52 00 01 */ addi r18, r18, 1 -/* 8031BC84 00318BE4 EC 23 08 2A */ fadds f1, f3, f1 -/* 8031BC88 00318BE8 EC 63 00 2A */ fadds f3, f3, f0 -/* 8031BC8C 00318BEC D0 39 80 00 */ stfs f1, 0xCC008000@l(r25) -/* 8031BC90 00318BF0 D0 59 80 00 */ stfs f2, 0xCC008000@l(r25) -/* 8031BC94 00318BF4 D0 79 80 00 */ stfs f3, 0xCC008000@l(r25) -/* 8031BC98 00318BF8 93 19 80 00 */ stw r24, 0xCC008000@l(r25) -/* 8031BC9C 00318BFC B0 B9 80 00 */ sth r5, 0xCC008000@l(r25) -/* 8031BCA0 00318C00 C0 16 00 2C */ lfs f0, 0x2c(r22) -/* 8031BCA4 00318C04 EC 21 00 28 */ fsubs f1, f1, f0 -/* 8031BCA8 00318C08 D0 39 80 00 */ stfs f1, 0xCC008000@l(r25) -/* 8031BCAC 00318C0C D0 59 80 00 */ stfs f2, 0xCC008000@l(r25) -/* 8031BCB0 00318C10 D0 79 80 00 */ stfs f3, 0xCC008000@l(r25) -/* 8031BCB4 00318C14 93 19 80 00 */ stw r24, 0xCC008000@l(r25) -/* 8031BCB8 00318C18 B0 99 80 00 */ sth r4, 0xCC008000@l(r25) -/* 8031BCBC 00318C1C C0 16 00 2C */ lfs f0, 0x2c(r22) -/* 8031BCC0 00318C20 D0 39 80 00 */ stfs f1, 0xCC008000@l(r25) -/* 8031BCC4 00318C24 EC 63 00 28 */ fsubs f3, f3, f0 -/* 8031BCC8 00318C28 D0 59 80 00 */ stfs f2, 0xCC008000@l(r25) -/* 8031BCCC 00318C2C D0 79 80 00 */ stfs f3, 0xCC008000@l(r25) -/* 8031BCD0 00318C30 93 19 80 00 */ stw r24, 0xCC008000@l(r25) -/* 8031BCD4 00318C34 B0 79 80 00 */ sth r3, 0xCC008000@l(r25) -/* 8031BCD8 00318C38 C0 16 00 2C */ lfs f0, 0x2c(r22) -/* 8031BCDC 00318C3C EC 21 00 2A */ fadds f1, f1, f0 -/* 8031BCE0 00318C40 D0 39 80 00 */ stfs f1, 0xCC008000@l(r25) -/* 8031BCE4 00318C44 D0 59 80 00 */ stfs f2, 0xCC008000@l(r25) -/* 8031BCE8 00318C48 D0 79 80 00 */ stfs f3, 0xCC008000@l(r25) -/* 8031BCEC 00318C4C 93 19 80 00 */ stw r24, 0xCC008000@l(r25) -/* 8031BCF0 00318C50 B0 19 80 00 */ sth r0, 0xCC008000@l(r25) -lbl_8031BCF4: -/* 8031BCF4 00318C54 7C 12 A8 00 */ cmpw r18, r21 -/* 8031BCF8 00318C58 41 80 FF 30 */ blt lbl_8031BC28 -/* 8031BCFC 00318C5C 48 00 01 14 */ b lbl_8031BE10 -lbl_8031BD00: -/* 8031BD00 00318C60 C3 C2 C9 F8 */ lfs f30, lbl_805AE718@sda21(r2) -/* 8031BD04 00318C64 3A 40 00 00 */ li r18, 0 -/* 8031BD08 00318C68 C3 E2 C9 F4 */ lfs f31, lbl_805AE714@sda21(r2) -/* 8031BD0C 00318C6C 3F 20 CC 01 */ lis r25, 0xcc01 -/* 8031BD10 00318C70 48 00 00 F8 */ b lbl_8031BE08 -lbl_8031BD14: -/* 8031BD14 00318C74 C0 5F 01 28 */ lfs f2, 0x128(r31) -/* 8031BD18 00318C78 38 7F 00 48 */ addi r3, r31, 0x48 -/* 8031BD1C 00318C7C C0 3F 01 2C */ lfs f1, 0x12c(r31) -/* 8031BD20 00318C80 38 9F 02 D4 */ addi r4, r31, 0x2d4 -/* 8031BD24 00318C84 C0 1F 01 30 */ lfs f0, 0x130(r31) -/* 8031BD28 00318C88 EC 42 88 2A */ fadds f2, f2, f17 -/* 8031BD2C 00318C8C EC 21 90 2A */ fadds f1, f1, f18 -/* 8031BD30 00318C90 38 BF 01 28 */ addi r5, r31, 0x128 -/* 8031BD34 00318C94 EC 00 98 2A */ fadds f0, f0, f19 -/* 8031BD38 00318C98 D0 5F 01 28 */ stfs f2, 0x128(r31) -/* 8031BD3C 00318C9C D0 3F 01 2C */ stfs f1, 0x12c(r31) -/* 8031BD40 00318CA0 D0 1F 01 30 */ stfs f0, 0x130(r31) -/* 8031BD44 00318CA4 4B FF 6D A5 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 8031BD48 00318CA8 C0 16 00 30 */ lfs f0, 0x30(r22) -/* 8031BD4C 00318CAC C0 36 00 2C */ lfs f1, 0x2c(r22) -/* 8031BD50 00318CB0 EF 3F 00 32 */ fmuls f25, f31, f0 -/* 8031BD54 00318CB4 C2 9F 00 48 */ lfs f20, 0x48(r31) -/* 8031BD58 00318CB8 EF 1E 00 72 */ fmuls f24, f30, f1 -/* 8031BD5C 00318CBC C2 BF 00 4C */ lfs f21, 0x4c(r31) -/* 8031BD60 00318CC0 C2 DF 00 50 */ lfs f22, 0x50(r31) -/* 8031BD64 00318CC4 FC 20 C8 90 */ fmr f1, f25 -/* 8031BD68 00318CC8 4B FF 90 89 */ bl FastSinR__5CMathFf -/* 8031BD6C 00318CCC EF 58 00 72 */ fmuls f26, f24, f1 -/* 8031BD70 00318CD0 FC 20 C8 90 */ fmr f1, f25 -/* 8031BD74 00318CD4 4B FF 8F D1 */ bl FastCosR__5CMathFf -/* 8031BD78 00318CD8 EC 18 00 72 */ fmuls f0, f24, f1 -/* 8031BD7C 00318CDC 38 A0 02 02 */ li r5, 0x202 -/* 8031BD80 00318CE0 38 80 00 02 */ li r4, 2 -/* 8031BD84 00318CE4 38 60 00 00 */ li r3, 0 -/* 8031BD88 00318CE8 38 00 02 00 */ li r0, 0x200 -/* 8031BD8C 00318CEC 3A 52 00 01 */ addi r18, r18, 1 -/* 8031BD90 00318CF0 EC DA 00 2A */ fadds f6, f26, f0 -/* 8031BD94 00318CF4 EC FA 00 28 */ fsubs f7, f26, f0 -/* 8031BD98 00318CF8 EC 34 30 2A */ fadds f1, f20, f6 -/* 8031BD9C 00318CFC EC 16 38 28 */ fsubs f0, f22, f7 -/* 8031BDA0 00318D00 EC B4 38 2A */ fadds f5, f20, f7 -/* 8031BDA4 00318D04 D0 39 80 00 */ stfs f1, 0xCC008000@l(r25) -/* 8031BDA8 00318D08 EC 96 30 2A */ fadds f4, f22, f6 -/* 8031BDAC 00318D0C EC 74 30 28 */ fsubs f3, f20, f6 -/* 8031BDB0 00318D10 D2 B9 80 00 */ stfs f21, 0xCC008000@l(r25) -/* 8031BDB4 00318D14 EC 56 38 2A */ fadds f2, f22, f7 -/* 8031BDB8 00318D18 EC 34 38 28 */ fsubs f1, f20, f7 -/* 8031BDBC 00318D1C D0 19 80 00 */ stfs f0, 0xCC008000@l(r25) -/* 8031BDC0 00318D20 EC 16 30 28 */ fsubs f0, f22, f6 -/* 8031BDC4 00318D24 93 19 80 00 */ stw r24, 0xCC008000@l(r25) -/* 8031BDC8 00318D28 B0 B9 80 00 */ sth r5, 0xCC008000@l(r25) -/* 8031BDCC 00318D2C D0 B9 80 00 */ stfs f5, 0xCC008000@l(r25) -/* 8031BDD0 00318D30 D2 B9 80 00 */ stfs f21, 0xCC008000@l(r25) -/* 8031BDD4 00318D34 D0 99 80 00 */ stfs f4, 0xCC008000@l(r25) -/* 8031BDD8 00318D38 93 19 80 00 */ stw r24, 0xCC008000@l(r25) -/* 8031BDDC 00318D3C B0 99 80 00 */ sth r4, 0xCC008000@l(r25) -/* 8031BDE0 00318D40 D0 79 80 00 */ stfs f3, 0xCC008000@l(r25) -/* 8031BDE4 00318D44 D2 B9 80 00 */ stfs f21, 0xCC008000@l(r25) -/* 8031BDE8 00318D48 D0 59 80 00 */ stfs f2, 0xCC008000@l(r25) -/* 8031BDEC 00318D4C 93 19 80 00 */ stw r24, 0xCC008000@l(r25) -/* 8031BDF0 00318D50 B0 79 80 00 */ sth r3, 0xCC008000@l(r25) -/* 8031BDF4 00318D54 D0 39 80 00 */ stfs f1, 0xCC008000@l(r25) -/* 8031BDF8 00318D58 D2 B9 80 00 */ stfs f21, 0xCC008000@l(r25) -/* 8031BDFC 00318D5C D0 19 80 00 */ stfs f0, 0xCC008000@l(r25) -/* 8031BE00 00318D60 93 19 80 00 */ stw r24, 0xCC008000@l(r25) -/* 8031BE04 00318D64 B0 19 80 00 */ sth r0, 0xCC008000@l(r25) -lbl_8031BE08: -/* 8031BE08 00318D68 7C 12 A8 00 */ cmpw r18, r21 -/* 8031BE0C 00318D6C 41 80 FF 08 */ blt lbl_8031BD14 -lbl_8031BE10: -/* 8031BE10 00318D70 3A 94 00 38 */ addi r20, r20, 0x38 -/* 8031BE14 00318D74 3A 73 00 01 */ addi r19, r19, 1 -lbl_8031BE18: -/* 8031BE18 00318D78 7C 13 B8 00 */ cmpw r19, r23 -/* 8031BE1C 00318D7C 41 80 FA D0 */ blt lbl_8031B8EC -lbl_8031BE20: -/* 8031BE20 00318D80 4B FE C7 61 */ bl End__3CGXFv -/* 8031BE24 00318D84 28 1A 00 00 */ cmplwi r26, 0 -/* 8031BE28 00318D88 41 82 00 14 */ beq lbl_8031BE3C -/* 8031BE2C 00318D8C 38 7B FF FF */ addi r3, r27, -1 -/* 8031BE30 00318D90 38 80 00 00 */ li r4, 0 -/* 8031BE34 00318D94 38 A0 00 00 */ li r5, 0 -/* 8031BE38 00318D98 48 05 F9 F9 */ bl GXSetTevSwapMode -lbl_8031BE3C: -/* 8031BE3C 00318D9C 38 60 00 01 */ li r3, 1 -/* 8031BE40 00318DA0 4B FE FC 31 */ bl SetCullMode__9CGraphicsF12ERglCullMode -/* 8031BE44 00318DA4 38 60 00 07 */ li r3, 7 -/* 8031BE48 00318DA8 38 80 00 00 */ li r4, 0 -/* 8031BE4C 00318DAC 38 A0 00 00 */ li r5, 0 -/* 8031BE50 00318DB0 38 C0 00 07 */ li r6, 7 -/* 8031BE54 00318DB4 38 E0 00 00 */ li r7, 0 -/* 8031BE58 00318DB8 4B FE FB D1 */ bl SetAlphaCompare__9CGraphicsF13ERglAlphaFuncUc11ERglAlphaOp13ERglAlphaFuncUc -/* 8031BE5C 00318DBC 38 7F 01 50 */ addi r3, r31, 0x150 -/* 8031BE60 00318DC0 38 80 FF FF */ li r4, -1 -/* 8031BE64 00318DC4 4B FF 67 A1 */ bl __dt__13CGlobalRandomFv -lbl_8031BE68: -/* 8031BE68 00318DC8 7F EA FB 78 */ mr r10, r31 -/* 8031BE6C 00318DCC E3 EA 04 98 */ psq_l f31, 1176(r10), 0, qr0 -/* 8031BE70 00318DD0 CB FF 04 90 */ lfd f31, 0x490(r31) -/* 8031BE74 00318DD4 E3 CA 04 88 */ psq_l f30, 1160(r10), 0, qr0 -/* 8031BE78 00318DD8 CB DF 04 80 */ lfd f30, 0x480(r31) -/* 8031BE7C 00318DDC E3 AA 04 78 */ psq_l f29, 1144(r10), 0, qr0 -/* 8031BE80 00318DE0 CB BF 04 70 */ lfd f29, 0x470(r31) -/* 8031BE84 00318DE4 E3 8A 04 68 */ psq_l f28, 1128(r10), 0, qr0 -/* 8031BE88 00318DE8 CB 9F 04 60 */ lfd f28, 0x460(r31) -/* 8031BE8C 00318DEC E3 6A 04 58 */ psq_l f27, 1112(r10), 0, qr0 -/* 8031BE90 00318DF0 CB 7F 04 50 */ lfd f27, 0x450(r31) -/* 8031BE94 00318DF4 E3 4A 04 48 */ psq_l f26, 1096(r10), 0, qr0 -/* 8031BE98 00318DF8 CB 5F 04 40 */ lfd f26, 0x440(r31) -/* 8031BE9C 00318DFC E3 2A 04 38 */ psq_l f25, 1080(r10), 0, qr0 -/* 8031BEA0 00318E00 CB 3F 04 30 */ lfd f25, 0x430(r31) -/* 8031BEA4 00318E04 E3 0A 04 28 */ psq_l f24, 1064(r10), 0, qr0 -/* 8031BEA8 00318E08 CB 1F 04 20 */ lfd f24, 0x420(r31) -/* 8031BEAC 00318E0C E2 EA 04 18 */ psq_l f23, 1048(r10), 0, qr0 -/* 8031BEB0 00318E10 CA FF 04 10 */ lfd f23, 0x410(r31) -/* 8031BEB4 00318E14 E2 CA 04 08 */ psq_l f22, 1032(r10), 0, qr0 -/* 8031BEB8 00318E18 CA DF 04 00 */ lfd f22, 0x400(r31) -/* 8031BEBC 00318E1C E2 AA 03 F8 */ psq_l f21, 1016(r10), 0, qr0 -/* 8031BEC0 00318E20 CA BF 03 F0 */ lfd f21, 0x3f0(r31) -/* 8031BEC4 00318E24 E2 8A 03 E8 */ psq_l f20, 1000(r10), 0, qr0 -/* 8031BEC8 00318E28 CA 9F 03 E0 */ lfd f20, 0x3e0(r31) -/* 8031BECC 00318E2C E2 6A 03 D8 */ psq_l f19, 984(r10), 0, qr0 -/* 8031BED0 00318E30 CA 7F 03 D0 */ lfd f19, 0x3d0(r31) -/* 8031BED4 00318E34 E2 4A 03 C8 */ psq_l f18, 968(r10), 0, qr0 -/* 8031BED8 00318E38 CA 5F 03 C0 */ lfd f18, 0x3c0(r31) -/* 8031BEDC 00318E3C E2 2A 03 B8 */ psq_l f17, 952(r10), 0, qr0 -/* 8031BEE0 00318E40 CA 3F 03 B0 */ lfd f17, 0x3b0(r31) -/* 8031BEE4 00318E44 BA 4A 03 78 */ lmw r18, 0x378(r10) -/* 8031BEE8 00318E48 81 41 00 00 */ lwz r10, 0(r1) -/* 8031BEEC 00318E4C 80 0A 00 04 */ lwz r0, 4(r10) -/* 8031BEF0 00318E50 7D 41 53 78 */ mr r1, r10 -/* 8031BEF4 00318E54 7C 08 03 A6 */ mtlr r0 -/* 8031BEF8 00318E58 4E 80 00 20 */ blr - -.global RenderBasicParticlesRotNoTS__11CElementGenFRC10CTransform -RenderBasicParticlesRotNoTS__11CElementGenFRC10CTransform: -/* 8031BEFC 00318E5C 94 21 FF 30 */ stwu r1, -0xd0(r1) -/* 8031BF00 00318E60 7C 08 02 A6 */ mflr r0 -/* 8031BF04 00318E64 90 01 00 D4 */ stw r0, 0xd4(r1) -/* 8031BF08 00318E68 DB E1 00 C0 */ stfd f31, 0xc0(r1) -/* 8031BF0C 00318E6C F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 -/* 8031BF10 00318E70 DB C1 00 B0 */ stfd f30, 0xb0(r1) -/* 8031BF14 00318E74 F3 C1 00 B8 */ psq_st f30, 184(r1), 0, qr0 -/* 8031BF18 00318E78 DB A1 00 A0 */ stfd f29, 0xa0(r1) -/* 8031BF1C 00318E7C F3 A1 00 A8 */ psq_st f29, 168(r1), 0, qr0 -/* 8031BF20 00318E80 DB 81 00 90 */ stfd f28, 0x90(r1) -/* 8031BF24 00318E84 F3 81 00 98 */ psq_st f28, 152(r1), 0, qr0 -/* 8031BF28 00318E88 DB 61 00 80 */ stfd f27, 0x80(r1) -/* 8031BF2C 00318E8C F3 61 00 88 */ psq_st f27, 136(r1), 0, qr0 -/* 8031BF30 00318E90 DB 41 00 70 */ stfd f26, 0x70(r1) -/* 8031BF34 00318E94 F3 41 00 78 */ psq_st f26, 120(r1), 0, qr0 -/* 8031BF38 00318E98 DB 21 00 60 */ stfd f25, 0x60(r1) -/* 8031BF3C 00318E9C F3 21 00 68 */ psq_st f25, 104(r1), 0, qr0 -/* 8031BF40 00318EA0 DB 01 00 50 */ stfd f24, 0x50(r1) -/* 8031BF44 00318EA4 F3 01 00 58 */ psq_st f24, 88(r1), 0, qr0 -/* 8031BF48 00318EA8 BF 41 00 38 */ stmw r26, 0x38(r1) -/* 8031BF4C 00318EAC C3 C2 C9 F8 */ lfs f30, lbl_805AE718@sda21(r2) -/* 8031BF50 00318EB0 7C 7A 1B 78 */ mr r26, r3 -/* 8031BF54 00318EB4 C3 E2 C9 F4 */ lfs f31, lbl_805AE714@sda21(r2) -/* 8031BF58 00318EB8 7C 9B 23 78 */ mr r27, r4 -/* 8031BF5C 00318EBC 3B 80 00 00 */ li r28, 0 -/* 8031BF60 00318EC0 3B A0 00 00 */ li r29, 0 -/* 8031BF64 00318EC4 3F E0 CC 01 */ lis r31, 0xcc01 -/* 8031BF68 00318EC8 48 00 01 48 */ b lbl_8031C0B0 -lbl_8031BF6C: -/* 8031BF6C 00318ECC 80 1A 00 3C */ lwz r0, 0x3c(r26) -/* 8031BF70 00318ED0 7F 64 DB 78 */ mr r4, r27 -/* 8031BF74 00318ED4 C0 FA 00 80 */ lfs f7, 0x80(r26) -/* 8031BF78 00318ED8 38 61 00 2C */ addi r3, r1, 0x2c -/* 8031BF7C 00318EDC 7F C0 EA 14 */ add r30, r0, r29 -/* 8031BF80 00318EE0 38 A1 00 20 */ addi r5, r1, 0x20 -/* 8031BF84 00318EE4 C0 1E 00 08 */ lfs f0, 8(r30) -/* 8031BF88 00318EE8 C0 9E 00 14 */ lfs f4, 0x14(r30) -/* 8031BF8C 00318EEC C0 3E 00 0C */ lfs f1, 0xc(r30) -/* 8031BF90 00318EF0 EC A0 20 28 */ fsubs f5, f0, f4 -/* 8031BF94 00318EF4 C0 7E 00 18 */ lfs f3, 0x18(r30) -/* 8031BF98 00318EF8 C0 1E 00 04 */ lfs f0, 4(r30) -/* 8031BF9C 00318EFC EC 21 18 28 */ fsubs f1, f1, f3 -/* 8031BFA0 00318F00 C0 5E 00 10 */ lfs f2, 0x10(r30) -/* 8031BFA4 00318F04 EC C7 01 72 */ fmuls f6, f7, f5 -/* 8031BFA8 00318F08 EC 00 10 28 */ fsubs f0, f0, f2 -/* 8031BFAC 00318F0C D0 A1 00 0C */ stfs f5, 0xc(r1) -/* 8031BFB0 00318F10 EC A7 00 72 */ fmuls f5, f7, f1 -/* 8031BFB4 00318F14 EC 86 20 2A */ fadds f4, f6, f4 -/* 8031BFB8 00318F18 D0 21 00 10 */ stfs f1, 0x10(r1) -/* 8031BFBC 00318F1C EC 27 00 32 */ fmuls f1, f7, f0 -/* 8031BFC0 00318F20 EC 65 18 2A */ fadds f3, f5, f3 -/* 8031BFC4 00318F24 D0 01 00 08 */ stfs f0, 8(r1) -/* 8031BFC8 00318F28 EC 01 10 2A */ fadds f0, f1, f2 -/* 8031BFCC 00318F2C D0 21 00 14 */ stfs f1, 0x14(r1) -/* 8031BFD0 00318F30 D0 C1 00 18 */ stfs f6, 0x18(r1) -/* 8031BFD4 00318F34 D0 A1 00 1C */ stfs f5, 0x1c(r1) -/* 8031BFD8 00318F38 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 8031BFDC 00318F3C D0 81 00 24 */ stfs f4, 0x24(r1) -/* 8031BFE0 00318F40 D0 61 00 28 */ stfs f3, 0x28(r1) -/* 8031BFE4 00318F44 4B FF 6B 05 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 8031BFE8 00318F48 C0 1E 00 30 */ lfs f0, 0x30(r30) -/* 8031BFEC 00318F4C C0 3E 00 2C */ lfs f1, 0x2c(r30) -/* 8031BFF0 00318F50 EF 3F 00 32 */ fmuls f25, f31, f0 -/* 8031BFF4 00318F54 C3 A1 00 2C */ lfs f29, 0x2c(r1) -/* 8031BFF8 00318F58 EF 5E 00 72 */ fmuls f26, f30, f1 -/* 8031BFFC 00318F5C C3 81 00 30 */ lfs f28, 0x30(r1) -/* 8031C000 00318F60 C3 61 00 34 */ lfs f27, 0x34(r1) -/* 8031C004 00318F64 FC 20 C8 90 */ fmr f1, f25 -/* 8031C008 00318F68 83 DE 00 34 */ lwz r30, 0x34(r30) -/* 8031C00C 00318F6C 4B FF 8D E5 */ bl FastSinR__5CMathFf -/* 8031C010 00318F70 EF 1A 00 72 */ fmuls f24, f26, f1 -/* 8031C014 00318F74 FC 20 C8 90 */ fmr f1, f25 -/* 8031C018 00318F78 4B FF 8D 2D */ bl FastCosR__5CMathFf -/* 8031C01C 00318F7C EC 1A 00 72 */ fmuls f0, f26, f1 -/* 8031C020 00318F80 38 A0 02 02 */ li r5, 0x202 -/* 8031C024 00318F84 38 80 00 02 */ li r4, 2 -/* 8031C028 00318F88 38 60 00 00 */ li r3, 0 -/* 8031C02C 00318F8C 38 00 02 00 */ li r0, 0x200 -/* 8031C030 00318F90 3B BD 00 38 */ addi r29, r29, 0x38 -/* 8031C034 00318F94 EC D8 00 2A */ fadds f6, f24, f0 -/* 8031C038 00318F98 3B 9C 00 01 */ addi r28, r28, 1 -/* 8031C03C 00318F9C EC F8 00 28 */ fsubs f7, f24, f0 -/* 8031C040 00318FA0 EC 3D 30 2A */ fadds f1, f29, f6 -/* 8031C044 00318FA4 EC 1B 38 28 */ fsubs f0, f27, f7 -/* 8031C048 00318FA8 EC BD 38 2A */ fadds f5, f29, f7 -/* 8031C04C 00318FAC D0 3F 80 00 */ stfs f1, 0xCC008000@l(r31) -/* 8031C050 00318FB0 EC 9B 30 2A */ fadds f4, f27, f6 -/* 8031C054 00318FB4 EC 7D 30 28 */ fsubs f3, f29, f6 -/* 8031C058 00318FB8 D3 9F 80 00 */ stfs f28, 0xCC008000@l(r31) -/* 8031C05C 00318FBC EC 5B 38 2A */ fadds f2, f27, f7 -/* 8031C060 00318FC0 EC 3D 38 28 */ fsubs f1, f29, f7 -/* 8031C064 00318FC4 D0 1F 80 00 */ stfs f0, 0xCC008000@l(r31) -/* 8031C068 00318FC8 EC 1B 30 28 */ fsubs f0, f27, f6 -/* 8031C06C 00318FCC 93 DF 80 00 */ stw r30, 0xCC008000@l(r31) -/* 8031C070 00318FD0 B0 BF 80 00 */ sth r5, 0xCC008000@l(r31) -/* 8031C074 00318FD4 D0 BF 80 00 */ stfs f5, 0xCC008000@l(r31) -/* 8031C078 00318FD8 D3 9F 80 00 */ stfs f28, 0xCC008000@l(r31) -/* 8031C07C 00318FDC D0 9F 80 00 */ stfs f4, 0xCC008000@l(r31) -/* 8031C080 00318FE0 93 DF 80 00 */ stw r30, 0xCC008000@l(r31) -/* 8031C084 00318FE4 B0 9F 80 00 */ sth r4, 0xCC008000@l(r31) -/* 8031C088 00318FE8 D0 7F 80 00 */ stfs f3, 0xCC008000@l(r31) -/* 8031C08C 00318FEC D3 9F 80 00 */ stfs f28, 0xCC008000@l(r31) -/* 8031C090 00318FF0 D0 5F 80 00 */ stfs f2, 0xCC008000@l(r31) -/* 8031C094 00318FF4 93 DF 80 00 */ stw r30, 0xCC008000@l(r31) -/* 8031C098 00318FF8 B0 7F 80 00 */ sth r3, 0xCC008000@l(r31) -/* 8031C09C 00318FFC D0 3F 80 00 */ stfs f1, 0xCC008000@l(r31) -/* 8031C0A0 00319000 D3 9F 80 00 */ stfs f28, 0xCC008000@l(r31) -/* 8031C0A4 00319004 D0 1F 80 00 */ stfs f0, 0xCC008000@l(r31) -/* 8031C0A8 00319008 93 DF 80 00 */ stw r30, 0xCC008000@l(r31) -/* 8031C0AC 0031900C B0 1F 80 00 */ sth r0, 0xCC008000@l(r31) -lbl_8031C0B0: -/* 8031C0B0 00319010 80 1A 00 34 */ lwz r0, 0x34(r26) -/* 8031C0B4 00319014 7C 1C 00 00 */ cmpw r28, r0 -/* 8031C0B8 00319018 41 80 FE B4 */ blt lbl_8031BF6C -/* 8031C0BC 0031901C E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 -/* 8031C0C0 00319020 CB E1 00 C0 */ lfd f31, 0xc0(r1) -/* 8031C0C4 00319024 E3 C1 00 B8 */ psq_l f30, 184(r1), 0, qr0 -/* 8031C0C8 00319028 CB C1 00 B0 */ lfd f30, 0xb0(r1) -/* 8031C0CC 0031902C E3 A1 00 A8 */ psq_l f29, 168(r1), 0, qr0 -/* 8031C0D0 00319030 CB A1 00 A0 */ lfd f29, 0xa0(r1) -/* 8031C0D4 00319034 E3 81 00 98 */ psq_l f28, 152(r1), 0, qr0 -/* 8031C0D8 00319038 CB 81 00 90 */ lfd f28, 0x90(r1) -/* 8031C0DC 0031903C E3 61 00 88 */ psq_l f27, 136(r1), 0, qr0 -/* 8031C0E0 00319040 CB 61 00 80 */ lfd f27, 0x80(r1) -/* 8031C0E4 00319044 E3 41 00 78 */ psq_l f26, 120(r1), 0, qr0 -/* 8031C0E8 00319048 CB 41 00 70 */ lfd f26, 0x70(r1) -/* 8031C0EC 0031904C E3 21 00 68 */ psq_l f25, 104(r1), 0, qr0 -/* 8031C0F0 00319050 CB 21 00 60 */ lfd f25, 0x60(r1) -/* 8031C0F4 00319054 E3 01 00 58 */ psq_l f24, 88(r1), 0, qr0 -/* 8031C0F8 00319058 CB 01 00 50 */ lfd f24, 0x50(r1) -/* 8031C0FC 0031905C BB 41 00 38 */ lmw r26, 0x38(r1) -/* 8031C100 00319060 80 01 00 D4 */ lwz r0, 0xd4(r1) -/* 8031C104 00319064 7C 08 03 A6 */ mtlr r0 -/* 8031C108 00319068 38 21 00 D0 */ addi r1, r1, 0xd0 -/* 8031C10C 0031906C 4E 80 00 20 */ blr - -.global RenderBasicParticlesNoRotNoTS__11CElementGenFRC10CTransform -RenderBasicParticlesNoRotNoTS__11CElementGenFRC10CTransform: -/* 8031C110 00319070 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 8031C114 00319074 7C 08 02 A6 */ mflr r0 -/* 8031C118 00319078 90 01 00 64 */ stw r0, 0x64(r1) -/* 8031C11C 0031907C DB E1 00 50 */ stfd f31, 0x50(r1) -/* 8031C120 00319080 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 -/* 8031C124 00319084 BF 41 00 38 */ stmw r26, 0x38(r1) -/* 8031C128 00319088 C3 E2 C9 F8 */ lfs f31, lbl_805AE718@sda21(r2) -/* 8031C12C 0031908C 7C 7A 1B 78 */ mr r26, r3 -/* 8031C130 00319090 7C 9B 23 78 */ mr r27, r4 -/* 8031C134 00319094 3B 80 00 00 */ li r28, 0 -/* 8031C138 00319098 3B A0 00 00 */ li r29, 0 -/* 8031C13C 0031909C 3F E0 CC 01 */ lis r31, 0xcc01 -/* 8031C140 003190A0 48 00 01 20 */ b lbl_8031C260 -lbl_8031C144: -/* 8031C144 003190A4 80 1A 00 3C */ lwz r0, 0x3c(r26) -/* 8031C148 003190A8 7F 64 DB 78 */ mr r4, r27 -/* 8031C14C 003190AC C0 FA 00 80 */ lfs f7, 0x80(r26) -/* 8031C150 003190B0 38 61 00 2C */ addi r3, r1, 0x2c -/* 8031C154 003190B4 7F C0 EA 14 */ add r30, r0, r29 -/* 8031C158 003190B8 38 A1 00 20 */ addi r5, r1, 0x20 -/* 8031C15C 003190BC C0 1E 00 08 */ lfs f0, 8(r30) -/* 8031C160 003190C0 C0 9E 00 14 */ lfs f4, 0x14(r30) -/* 8031C164 003190C4 C0 3E 00 0C */ lfs f1, 0xc(r30) -/* 8031C168 003190C8 EC A0 20 28 */ fsubs f5, f0, f4 -/* 8031C16C 003190CC C0 7E 00 18 */ lfs f3, 0x18(r30) -/* 8031C170 003190D0 C0 1E 00 04 */ lfs f0, 4(r30) -/* 8031C174 003190D4 EC 21 18 28 */ fsubs f1, f1, f3 -/* 8031C178 003190D8 C0 5E 00 10 */ lfs f2, 0x10(r30) -/* 8031C17C 003190DC EC C7 01 72 */ fmuls f6, f7, f5 -/* 8031C180 003190E0 EC 00 10 28 */ fsubs f0, f0, f2 -/* 8031C184 003190E4 D0 A1 00 0C */ stfs f5, 0xc(r1) -/* 8031C188 003190E8 EC A7 00 72 */ fmuls f5, f7, f1 -/* 8031C18C 003190EC EC 86 20 2A */ fadds f4, f6, f4 -/* 8031C190 003190F0 D0 21 00 10 */ stfs f1, 0x10(r1) -/* 8031C194 003190F4 EC 27 00 32 */ fmuls f1, f7, f0 -/* 8031C198 003190F8 EC 65 18 2A */ fadds f3, f5, f3 -/* 8031C19C 003190FC D0 01 00 08 */ stfs f0, 8(r1) -/* 8031C1A0 00319100 EC 01 10 2A */ fadds f0, f1, f2 -/* 8031C1A4 00319104 D0 21 00 14 */ stfs f1, 0x14(r1) -/* 8031C1A8 00319108 D0 C1 00 18 */ stfs f6, 0x18(r1) -/* 8031C1AC 0031910C D0 A1 00 1C */ stfs f5, 0x1c(r1) -/* 8031C1B0 00319110 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 8031C1B4 00319114 D0 81 00 24 */ stfs f4, 0x24(r1) -/* 8031C1B8 00319118 D0 61 00 28 */ stfs f3, 0x28(r1) -/* 8031C1BC 0031911C 4B FF 69 2D */ bl __ml__12CTransform4fCFRC9CVector3f -/* 8031C1C0 00319120 C0 1E 00 2C */ lfs f0, 0x2c(r30) -/* 8031C1C4 00319124 38 A0 02 02 */ li r5, 0x202 -/* 8031C1C8 00319128 C0 21 00 2C */ lfs f1, 0x2c(r1) -/* 8031C1CC 0031912C 38 80 00 02 */ li r4, 2 -/* 8031C1D0 00319130 EC 7F 00 32 */ fmuls f3, f31, f0 -/* 8031C1D4 00319134 C0 01 00 34 */ lfs f0, 0x34(r1) -/* 8031C1D8 00319138 C0 41 00 30 */ lfs f2, 0x30(r1) -/* 8031C1DC 0031913C 38 60 00 00 */ li r3, 0 -/* 8031C1E0 00319140 80 DE 00 34 */ lwz r6, 0x34(r30) -/* 8031C1E4 00319144 38 00 02 00 */ li r0, 0x200 -/* 8031C1E8 00319148 EC 23 08 2A */ fadds f1, f3, f1 -/* 8031C1EC 0031914C 3B BD 00 38 */ addi r29, r29, 0x38 -/* 8031C1F0 00319150 EC 63 00 2A */ fadds f3, f3, f0 -/* 8031C1F4 00319154 3B 9C 00 01 */ addi r28, r28, 1 -/* 8031C1F8 00319158 D0 3F 80 00 */ stfs f1, 0xCC008000@l(r31) -/* 8031C1FC 0031915C D0 5F 80 00 */ stfs f2, 0xCC008000@l(r31) -/* 8031C200 00319160 D0 7F 80 00 */ stfs f3, 0xCC008000@l(r31) -/* 8031C204 00319164 90 DF 80 00 */ stw r6, 0xCC008000@l(r31) -/* 8031C208 00319168 B0 BF 80 00 */ sth r5, 0xCC008000@l(r31) -/* 8031C20C 0031916C C0 1E 00 2C */ lfs f0, 0x2c(r30) -/* 8031C210 00319170 EC 21 00 28 */ fsubs f1, f1, f0 -/* 8031C214 00319174 D0 3F 80 00 */ stfs f1, 0xCC008000@l(r31) -/* 8031C218 00319178 D0 5F 80 00 */ stfs f2, 0xCC008000@l(r31) -/* 8031C21C 0031917C D0 7F 80 00 */ stfs f3, 0xCC008000@l(r31) -/* 8031C220 00319180 90 DF 80 00 */ stw r6, 0xCC008000@l(r31) -/* 8031C224 00319184 B0 9F 80 00 */ sth r4, 0xCC008000@l(r31) -/* 8031C228 00319188 C0 1E 00 2C */ lfs f0, 0x2c(r30) -/* 8031C22C 0031918C D0 3F 80 00 */ stfs f1, 0xCC008000@l(r31) -/* 8031C230 00319190 EC 63 00 28 */ fsubs f3, f3, f0 -/* 8031C234 00319194 D0 5F 80 00 */ stfs f2, 0xCC008000@l(r31) -/* 8031C238 00319198 D0 7F 80 00 */ stfs f3, 0xCC008000@l(r31) -/* 8031C23C 0031919C 90 DF 80 00 */ stw r6, 0xCC008000@l(r31) -/* 8031C240 003191A0 B0 7F 80 00 */ sth r3, 0xCC008000@l(r31) -/* 8031C244 003191A4 C0 1E 00 2C */ lfs f0, 0x2c(r30) -/* 8031C248 003191A8 EC 21 00 2A */ fadds f1, f1, f0 -/* 8031C24C 003191AC D0 3F 80 00 */ stfs f1, 0xCC008000@l(r31) -/* 8031C250 003191B0 D0 5F 80 00 */ stfs f2, 0xCC008000@l(r31) -/* 8031C254 003191B4 D0 7F 80 00 */ stfs f3, 0xCC008000@l(r31) -/* 8031C258 003191B8 90 DF 80 00 */ stw r6, 0xCC008000@l(r31) -/* 8031C25C 003191BC B0 1F 80 00 */ sth r0, 0xCC008000@l(r31) -lbl_8031C260: -/* 8031C260 003191C0 80 1A 00 34 */ lwz r0, 0x34(r26) -/* 8031C264 003191C4 7C 1C 00 00 */ cmpw r28, r0 -/* 8031C268 003191C8 41 80 FE DC */ blt lbl_8031C144 -/* 8031C26C 003191CC E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 -/* 8031C270 003191D0 CB E1 00 50 */ lfd f31, 0x50(r1) -/* 8031C274 003191D4 BB 41 00 38 */ lmw r26, 0x38(r1) -/* 8031C278 003191D8 80 01 00 64 */ lwz r0, 0x64(r1) -/* 8031C27C 003191DC 7C 08 03 A6 */ mtlr r0 -/* 8031C280 003191E0 38 21 00 60 */ addi r1, r1, 0x60 -/* 8031C284 003191E4 4E 80 00 20 */ blr - -.global RenderBasicParticlesRotTS__11CElementGenFRC10CTransform -RenderBasicParticlesRotTS__11CElementGenFRC10CTransform: -/* 8031C288 003191E8 94 21 FF 50 */ stwu r1, -0xb0(r1) -/* 8031C28C 003191EC 7C 08 02 A6 */ mflr r0 -/* 8031C290 003191F0 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 8031C294 003191F4 DB E1 00 A0 */ stfd f31, 0xa0(r1) -/* 8031C298 003191F8 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 -/* 8031C29C 003191FC DB C1 00 90 */ stfd f30, 0x90(r1) -/* 8031C2A0 00319200 F3 C1 00 98 */ psq_st f30, 152(r1), 0, qr0 -/* 8031C2A4 00319204 DB A1 00 80 */ stfd f29, 0x80(r1) -/* 8031C2A8 00319208 F3 A1 00 88 */ psq_st f29, 136(r1), 0, qr0 -/* 8031C2AC 0031920C DB 81 00 70 */ stfd f28, 0x70(r1) -/* 8031C2B0 00319210 F3 81 00 78 */ psq_st f28, 120(r1), 0, qr0 -/* 8031C2B4 00319214 DB 61 00 60 */ stfd f27, 0x60(r1) -/* 8031C2B8 00319218 F3 61 00 68 */ psq_st f27, 104(r1), 0, qr0 -/* 8031C2BC 0031921C DB 41 00 50 */ stfd f26, 0x50(r1) -/* 8031C2C0 00319220 F3 41 00 58 */ psq_st f26, 88(r1), 0, qr0 -/* 8031C2C4 00319224 DB 21 00 40 */ stfd f25, 0x40(r1) -/* 8031C2C8 00319228 F3 21 00 48 */ psq_st f25, 72(r1), 0, qr0 -/* 8031C2CC 0031922C DB 01 00 30 */ stfd f24, 0x30(r1) -/* 8031C2D0 00319230 F3 01 00 38 */ psq_st f24, 56(r1), 0, qr0 -/* 8031C2D4 00319234 BF 41 00 18 */ stmw r26, 0x18(r1) -/* 8031C2D8 00319238 C3 C2 C9 F8 */ lfs f30, lbl_805AE718@sda21(r2) -/* 8031C2DC 0031923C 7C 7A 1B 78 */ mr r26, r3 -/* 8031C2E0 00319240 C3 E2 C9 F4 */ lfs f31, lbl_805AE714@sda21(r2) -/* 8031C2E4 00319244 7C 9B 23 78 */ mr r27, r4 -/* 8031C2E8 00319248 3B 80 00 00 */ li r28, 0 -/* 8031C2EC 0031924C 3B A0 00 00 */ li r29, 0 -/* 8031C2F0 00319250 3F E0 CC 01 */ lis r31, 0xcc01 -/* 8031C2F4 00319254 48 00 00 E4 */ b lbl_8031C3D8 -lbl_8031C2F8: -/* 8031C2F8 00319258 80 1A 00 3C */ lwz r0, 0x3c(r26) -/* 8031C2FC 0031925C 7F 64 DB 78 */ mr r4, r27 -/* 8031C300 00319260 38 61 00 08 */ addi r3, r1, 8 -/* 8031C304 00319264 7F C0 EA 14 */ add r30, r0, r29 -/* 8031C308 00319268 38 BE 00 04 */ addi r5, r30, 4 -/* 8031C30C 0031926C 4B FF 67 DD */ bl __ml__12CTransform4fCFRC9CVector3f -/* 8031C310 00319270 C0 1E 00 30 */ lfs f0, 0x30(r30) -/* 8031C314 00319274 C0 3E 00 2C */ lfs f1, 0x2c(r30) -/* 8031C318 00319278 EF 3F 00 32 */ fmuls f25, f31, f0 -/* 8031C31C 0031927C C3 A1 00 08 */ lfs f29, 8(r1) -/* 8031C320 00319280 EF 5E 00 72 */ fmuls f26, f30, f1 -/* 8031C324 00319284 C3 81 00 0C */ lfs f28, 0xc(r1) -/* 8031C328 00319288 C3 61 00 10 */ lfs f27, 0x10(r1) -/* 8031C32C 0031928C FC 20 C8 90 */ fmr f1, f25 -/* 8031C330 00319290 83 DE 00 34 */ lwz r30, 0x34(r30) -/* 8031C334 00319294 4B FF 8A BD */ bl FastSinR__5CMathFf -/* 8031C338 00319298 EF 1A 00 72 */ fmuls f24, f26, f1 -/* 8031C33C 0031929C FC 20 C8 90 */ fmr f1, f25 -/* 8031C340 003192A0 4B FF 8A 05 */ bl FastCosR__5CMathFf -/* 8031C344 003192A4 EC 1A 00 72 */ fmuls f0, f26, f1 -/* 8031C348 003192A8 38 A0 02 02 */ li r5, 0x202 -/* 8031C34C 003192AC 38 80 00 02 */ li r4, 2 -/* 8031C350 003192B0 38 60 00 00 */ li r3, 0 -/* 8031C354 003192B4 38 00 02 00 */ li r0, 0x200 -/* 8031C358 003192B8 3B BD 00 38 */ addi r29, r29, 0x38 -/* 8031C35C 003192BC EC D8 00 2A */ fadds f6, f24, f0 -/* 8031C360 003192C0 3B 9C 00 01 */ addi r28, r28, 1 -/* 8031C364 003192C4 EC F8 00 28 */ fsubs f7, f24, f0 -/* 8031C368 003192C8 EC 3D 30 2A */ fadds f1, f29, f6 -/* 8031C36C 003192CC EC 1B 38 28 */ fsubs f0, f27, f7 -/* 8031C370 003192D0 EC BD 38 2A */ fadds f5, f29, f7 -/* 8031C374 003192D4 D0 3F 80 00 */ stfs f1, 0xCC008000@l(r31) -/* 8031C378 003192D8 EC 9B 30 2A */ fadds f4, f27, f6 -/* 8031C37C 003192DC EC 7D 30 28 */ fsubs f3, f29, f6 -/* 8031C380 003192E0 D3 9F 80 00 */ stfs f28, 0xCC008000@l(r31) -/* 8031C384 003192E4 EC 5B 38 2A */ fadds f2, f27, f7 -/* 8031C388 003192E8 EC 3D 38 28 */ fsubs f1, f29, f7 -/* 8031C38C 003192EC D0 1F 80 00 */ stfs f0, 0xCC008000@l(r31) -/* 8031C390 003192F0 EC 1B 30 28 */ fsubs f0, f27, f6 -/* 8031C394 003192F4 93 DF 80 00 */ stw r30, 0xCC008000@l(r31) -/* 8031C398 003192F8 B0 BF 80 00 */ sth r5, 0xCC008000@l(r31) -/* 8031C39C 003192FC D0 BF 80 00 */ stfs f5, 0xCC008000@l(r31) -/* 8031C3A0 00319300 D3 9F 80 00 */ stfs f28, 0xCC008000@l(r31) -/* 8031C3A4 00319304 D0 9F 80 00 */ stfs f4, 0xCC008000@l(r31) -/* 8031C3A8 00319308 93 DF 80 00 */ stw r30, 0xCC008000@l(r31) -/* 8031C3AC 0031930C B0 9F 80 00 */ sth r4, 0xCC008000@l(r31) -/* 8031C3B0 00319310 D0 7F 80 00 */ stfs f3, 0xCC008000@l(r31) -/* 8031C3B4 00319314 D3 9F 80 00 */ stfs f28, 0xCC008000@l(r31) -/* 8031C3B8 00319318 D0 5F 80 00 */ stfs f2, 0xCC008000@l(r31) -/* 8031C3BC 0031931C 93 DF 80 00 */ stw r30, 0xCC008000@l(r31) -/* 8031C3C0 00319320 B0 7F 80 00 */ sth r3, 0xCC008000@l(r31) -/* 8031C3C4 00319324 D0 3F 80 00 */ stfs f1, 0xCC008000@l(r31) -/* 8031C3C8 00319328 D3 9F 80 00 */ stfs f28, 0xCC008000@l(r31) -/* 8031C3CC 0031932C D0 1F 80 00 */ stfs f0, 0xCC008000@l(r31) -/* 8031C3D0 00319330 93 DF 80 00 */ stw r30, 0xCC008000@l(r31) -/* 8031C3D4 00319334 B0 1F 80 00 */ sth r0, 0xCC008000@l(r31) -lbl_8031C3D8: -/* 8031C3D8 00319338 80 1A 00 34 */ lwz r0, 0x34(r26) -/* 8031C3DC 0031933C 7C 1C 00 00 */ cmpw r28, r0 -/* 8031C3E0 00319340 41 80 FF 18 */ blt lbl_8031C2F8 -/* 8031C3E4 00319344 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 -/* 8031C3E8 00319348 CB E1 00 A0 */ lfd f31, 0xa0(r1) -/* 8031C3EC 0031934C E3 C1 00 98 */ psq_l f30, 152(r1), 0, qr0 -/* 8031C3F0 00319350 CB C1 00 90 */ lfd f30, 0x90(r1) -/* 8031C3F4 00319354 E3 A1 00 88 */ psq_l f29, 136(r1), 0, qr0 -/* 8031C3F8 00319358 CB A1 00 80 */ lfd f29, 0x80(r1) -/* 8031C3FC 0031935C E3 81 00 78 */ psq_l f28, 120(r1), 0, qr0 -/* 8031C400 00319360 CB 81 00 70 */ lfd f28, 0x70(r1) -/* 8031C404 00319364 E3 61 00 68 */ psq_l f27, 104(r1), 0, qr0 -/* 8031C408 00319368 CB 61 00 60 */ lfd f27, 0x60(r1) -/* 8031C40C 0031936C E3 41 00 58 */ psq_l f26, 88(r1), 0, qr0 -/* 8031C410 00319370 CB 41 00 50 */ lfd f26, 0x50(r1) -/* 8031C414 00319374 E3 21 00 48 */ psq_l f25, 72(r1), 0, qr0 -/* 8031C418 00319378 CB 21 00 40 */ lfd f25, 0x40(r1) -/* 8031C41C 0031937C E3 01 00 38 */ psq_l f24, 56(r1), 0, qr0 -/* 8031C420 00319380 CB 01 00 30 */ lfd f24, 0x30(r1) -/* 8031C424 00319384 BB 41 00 18 */ lmw r26, 0x18(r1) -/* 8031C428 00319388 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 8031C42C 0031938C 7C 08 03 A6 */ mtlr r0 -/* 8031C430 00319390 38 21 00 B0 */ addi r1, r1, 0xb0 -/* 8031C434 00319394 4E 80 00 20 */ blr - -.global RenderBasicParticlesNoRotTS__11CElementGenFRC10CTransform -RenderBasicParticlesNoRotTS__11CElementGenFRC10CTransform: -/* 8031C438 00319398 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8031C43C 0031939C 7C 08 02 A6 */ mflr r0 -/* 8031C440 003193A0 90 01 00 44 */ stw r0, 0x44(r1) -/* 8031C444 003193A4 DB E1 00 30 */ stfd f31, 0x30(r1) -/* 8031C448 003193A8 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 8031C44C 003193AC BF 41 00 18 */ stmw r26, 0x18(r1) -/* 8031C450 003193B0 C3 E2 C9 F8 */ lfs f31, lbl_805AE718@sda21(r2) -/* 8031C454 003193B4 7C 7A 1B 78 */ mr r26, r3 -/* 8031C458 003193B8 7C 9B 23 78 */ mr r27, r4 -/* 8031C45C 003193BC 3B 80 00 00 */ li r28, 0 -/* 8031C460 003193C0 3B A0 00 00 */ li r29, 0 -/* 8031C464 003193C4 3F E0 CC 01 */ lis r31, 0xcc01 -/* 8031C468 003193C8 48 00 00 BC */ b lbl_8031C524 -lbl_8031C46C: -/* 8031C46C 003193CC 80 1A 00 3C */ lwz r0, 0x3c(r26) -/* 8031C470 003193D0 7F 64 DB 78 */ mr r4, r27 -/* 8031C474 003193D4 38 61 00 08 */ addi r3, r1, 8 -/* 8031C478 003193D8 7F C0 EA 14 */ add r30, r0, r29 -/* 8031C47C 003193DC 38 BE 00 04 */ addi r5, r30, 4 -/* 8031C480 003193E0 4B FF 66 69 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 8031C484 003193E4 C0 1E 00 2C */ lfs f0, 0x2c(r30) -/* 8031C488 003193E8 38 A0 02 02 */ li r5, 0x202 -/* 8031C48C 003193EC C0 21 00 08 */ lfs f1, 8(r1) -/* 8031C490 003193F0 38 80 00 02 */ li r4, 2 -/* 8031C494 003193F4 EC 7F 00 32 */ fmuls f3, f31, f0 -/* 8031C498 003193F8 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 8031C49C 003193FC C0 41 00 0C */ lfs f2, 0xc(r1) -/* 8031C4A0 00319400 38 60 00 00 */ li r3, 0 -/* 8031C4A4 00319404 80 DE 00 34 */ lwz r6, 0x34(r30) -/* 8031C4A8 00319408 38 00 02 00 */ li r0, 0x200 -/* 8031C4AC 0031940C EC 23 08 2A */ fadds f1, f3, f1 -/* 8031C4B0 00319410 3B BD 00 38 */ addi r29, r29, 0x38 -/* 8031C4B4 00319414 EC 63 00 2A */ fadds f3, f3, f0 -/* 8031C4B8 00319418 3B 9C 00 01 */ addi r28, r28, 1 -/* 8031C4BC 0031941C D0 3F 80 00 */ stfs f1, 0xCC008000@l(r31) -/* 8031C4C0 00319420 D0 5F 80 00 */ stfs f2, 0xCC008000@l(r31) -/* 8031C4C4 00319424 D0 7F 80 00 */ stfs f3, 0xCC008000@l(r31) -/* 8031C4C8 00319428 90 DF 80 00 */ stw r6, 0xCC008000@l(r31) -/* 8031C4CC 0031942C B0 BF 80 00 */ sth r5, 0xCC008000@l(r31) -/* 8031C4D0 00319430 C0 1E 00 2C */ lfs f0, 0x2c(r30) -/* 8031C4D4 00319434 EC 21 00 28 */ fsubs f1, f1, f0 -/* 8031C4D8 00319438 D0 3F 80 00 */ stfs f1, 0xCC008000@l(r31) -/* 8031C4DC 0031943C D0 5F 80 00 */ stfs f2, 0xCC008000@l(r31) -/* 8031C4E0 00319440 D0 7F 80 00 */ stfs f3, 0xCC008000@l(r31) -/* 8031C4E4 00319444 90 DF 80 00 */ stw r6, 0xCC008000@l(r31) -/* 8031C4E8 00319448 B0 9F 80 00 */ sth r4, 0xCC008000@l(r31) -/* 8031C4EC 0031944C C0 1E 00 2C */ lfs f0, 0x2c(r30) -/* 8031C4F0 00319450 D0 3F 80 00 */ stfs f1, 0xCC008000@l(r31) -/* 8031C4F4 00319454 EC 63 00 28 */ fsubs f3, f3, f0 -/* 8031C4F8 00319458 D0 5F 80 00 */ stfs f2, 0xCC008000@l(r31) -/* 8031C4FC 0031945C D0 7F 80 00 */ stfs f3, 0xCC008000@l(r31) -/* 8031C500 00319460 90 DF 80 00 */ stw r6, 0xCC008000@l(r31) -/* 8031C504 00319464 B0 7F 80 00 */ sth r3, 0xCC008000@l(r31) -/* 8031C508 00319468 C0 1E 00 2C */ lfs f0, 0x2c(r30) -/* 8031C50C 0031946C EC 21 00 2A */ fadds f1, f1, f0 -/* 8031C510 00319470 D0 3F 80 00 */ stfs f1, 0xCC008000@l(r31) -/* 8031C514 00319474 D0 5F 80 00 */ stfs f2, 0xCC008000@l(r31) -/* 8031C518 00319478 D0 7F 80 00 */ stfs f3, 0xCC008000@l(r31) -/* 8031C51C 0031947C 90 DF 80 00 */ stw r6, 0xCC008000@l(r31) -/* 8031C520 00319480 B0 1F 80 00 */ sth r0, 0xCC008000@l(r31) -lbl_8031C524: -/* 8031C524 00319484 80 1A 00 34 */ lwz r0, 0x34(r26) -/* 8031C528 00319488 7C 1C 00 00 */ cmpw r28, r0 -/* 8031C52C 0031948C 41 80 FF 40 */ blt lbl_8031C46C -/* 8031C530 00319490 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 8031C534 00319494 CB E1 00 30 */ lfd f31, 0x30(r1) -/* 8031C538 00319498 BB 41 00 18 */ lmw r26, 0x18(r1) -/* 8031C53C 0031949C 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8031C540 003194A0 7C 08 03 A6 */ mtlr r0 -/* 8031C544 003194A4 38 21 00 40 */ addi r1, r1, 0x40 -/* 8031C548 003194A8 4E 80 00 20 */ blr - -.global Render__11CElementGenFv -Render__11CElementGenFv: -/* 8031C54C 003194AC 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8031C550 003194B0 7C 08 02 A6 */ mflr r0 -/* 8031C554 003194B4 90 01 00 34 */ stw r0, 0x34(r1) -/* 8031C558 003194B8 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8031C55C 003194BC 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8031C560 003194C0 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8031C564 003194C4 7C 7D 1B 78 */ mr r29, r3 -/* 8031C568 003194C8 93 81 00 20 */ stw r28, 0x20(r1) -/* 8031C56C 003194CC 48 06 8E 3D */ bl OSGetTime -/* 8031C570 003194D0 88 0D A8 16 */ lbz r0, lbl_805A93D6@sda21(r13) -/* 8031C574 003194D4 7C 9E 23 78 */ mr r30, r4 -/* 8031C578 003194D8 7C 7F 1B 78 */ mr r31, r3 -/* 8031C57C 003194DC 98 1D 02 74 */ stb r0, 0x274(r29) -/* 8031C580 003194E0 4B FF 03 FD */ bl DisableAllLights__9CGraphicsFv -/* 8031C584 003194E4 83 9D 02 9C */ lwz r28, 0x29c(r29) -/* 8031C588 003194E8 48 00 00 1C */ b lbl_8031C5A4 -lbl_8031C58C: -/* 8031C58C 003194EC 80 7C 00 00 */ lwz r3, 0(r28) -/* 8031C590 003194F0 81 83 00 00 */ lwz r12, 0(r3) -/* 8031C594 003194F4 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8031C598 003194F8 7D 89 03 A6 */ mtctr r12 -/* 8031C59C 003194FC 4E 80 04 21 */ bctrl -/* 8031C5A0 00319500 3B 9C 00 04 */ addi r28, r28, 4 -lbl_8031C5A4: -/* 8031C5A4 00319504 80 1D 02 94 */ lwz r0, 0x294(r29) -/* 8031C5A8 00319508 80 7D 02 9C */ lwz r3, 0x29c(r29) -/* 8031C5AC 0031950C 54 00 10 3A */ slwi r0, r0, 2 -/* 8031C5B0 00319510 7C 03 02 14 */ add r0, r3, r0 -/* 8031C5B4 00319514 7C 1C 00 40 */ cmplw r28, r0 -/* 8031C5B8 00319518 40 82 FF D4 */ bne lbl_8031C58C -/* 8031C5BC 0031951C 80 6D A8 F4 */ lwz r3, lbl_805A94B4@sda21(r13) -/* 8031C5C0 00319520 3C 80 50 41 */ lis r4, 0x50415254@ha -/* 8031C5C4 00319524 38 84 52 54 */ addi r4, r4, 0x50415254@l -/* 8031C5C8 00319528 38 01 00 08 */ addi r0, r1, 8 -/* 8031C5CC 0031952C 90 81 00 08 */ stw r4, 8(r1) -/* 8031C5D0 00319530 93 A1 00 0C */ stw r29, 0xc(r1) -/* 8031C5D4 00319534 90 61 00 10 */ stw r3, 0x10(r1) -/* 8031C5D8 00319538 90 0D A8 F4 */ stw r0, lbl_805A94B4@sda21(r13) -/* 8031C5DC 0031953C 80 1D 00 34 */ lwz r0, 0x34(r29) -/* 8031C5E0 00319540 2C 00 00 00 */ cmpwi r0, 0 -/* 8031C5E4 00319544 40 81 00 48 */ ble lbl_8031C62C -/* 8031C5E8 00319548 80 7D 00 28 */ lwz r3, 0x28(r29) -/* 8031C5EC 0031954C 88 03 00 54 */ lbz r0, 0x54(r3) -/* 8031C5F0 00319550 28 00 00 00 */ cmplwi r0, 0 -/* 8031C5F4 00319554 40 82 00 10 */ bne lbl_8031C604 -/* 8031C5F8 00319558 88 03 00 31 */ lbz r0, 0x31(r3) -/* 8031C5FC 0031955C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 8031C600 00319560 41 82 00 0C */ beq lbl_8031C60C -lbl_8031C604: -/* 8031C604 00319564 7F A3 EB 78 */ mr r3, r29 -/* 8031C608 00319568 4B FF B8 ED */ bl RenderModels__11CElementGenFv -lbl_8031C60C: -/* 8031C60C 0031956C 88 1D 02 6C */ lbz r0, 0x26c(r29) -/* 8031C610 00319570 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 8031C614 00319574 41 82 00 10 */ beq lbl_8031C624 -/* 8031C618 00319578 7F A3 EB 78 */ mr r3, r29 -/* 8031C61C 0031957C 4B FF C4 D1 */ bl RenderLines__11CElementGenFv -/* 8031C620 00319580 48 00 00 0C */ b lbl_8031C62C -lbl_8031C624: -/* 8031C624 00319584 7F A3 EB 78 */ mr r3, r29 -/* 8031C628 00319588 4B FF DE F5 */ bl RenderParticles__11CElementGenFv -lbl_8031C62C: -/* 8031C62C 0031958C 48 06 8D 7D */ bl OSGetTime -/* 8031C630 00319590 7C 9E 20 10 */ subfc r4, r30, r4 -/* 8031C634 00319594 7C 7F 19 10 */ subfe r3, r31, r3 -/* 8031C638 00319598 48 06 D9 2D */ bl __cvt_sll_flt -/* 8031C63C 0031959C 3C 60 80 5A */ lis r3, mData__10CStopwatch@ha -/* 8031C640 003195A0 34 01 00 08 */ addic. r0, r1, 8 -/* 8031C644 003195A4 38 63 FD 30 */ addi r3, r3, mData__10CStopwatch@l -/* 8031C648 003195A8 C0 03 00 10 */ lfs f0, 0x10(r3) -/* 8031C64C 003195AC EC 01 00 32 */ fmuls f0, f1, f0 -/* 8031C650 003195B0 D0 1D 02 D0 */ stfs f0, 0x2d0(r29) -/* 8031C654 003195B4 41 82 00 0C */ beq lbl_8031C660 -/* 8031C658 003195B8 80 01 00 10 */ lwz r0, 0x10(r1) -/* 8031C65C 003195BC 90 0D A8 F4 */ stw r0, lbl_805A94B4@sda21(r13) -lbl_8031C660: -/* 8031C660 003195C0 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8031C664 003195C4 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8031C668 003195C8 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8031C66C 003195CC 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 8031C670 003195D0 83 81 00 20 */ lwz r28, 0x20(r1) -/* 8031C674 003195D4 7C 08 03 A6 */ mtlr r0 -/* 8031C678 003195D8 38 21 00 30 */ addi r1, r1, 0x30 -/* 8031C67C 003195DC 4E 80 00 20 */ blr - -.global IsSystemDeletable__11CElementGenCFv -IsSystemDeletable__11CElementGenCFv: -/* 8031C680 003195E0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8031C684 003195E4 7C 08 02 A6 */ mflr r0 -/* 8031C688 003195E8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8031C68C 003195EC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8031C690 003195F0 93 C1 00 08 */ stw r30, 8(r1) -/* 8031C694 003195F4 7C 7E 1B 78 */ mr r30, r3 -/* 8031C698 003195F8 83 E3 02 9C */ lwz r31, 0x29c(r3) -/* 8031C69C 003195FC 48 00 00 2C */ b lbl_8031C6C8 -lbl_8031C6A0: -/* 8031C6A0 00319600 80 7F 00 00 */ lwz r3, 0(r31) -/* 8031C6A4 00319604 81 83 00 00 */ lwz r12, 0(r3) -/* 8031C6A8 00319608 81 8C 00 58 */ lwz r12, 0x58(r12) -/* 8031C6AC 0031960C 7D 89 03 A6 */ mtctr r12 -/* 8031C6B0 00319610 4E 80 04 21 */ bctrl -/* 8031C6B4 00319614 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8031C6B8 00319618 40 82 00 0C */ bne lbl_8031C6C4 -/* 8031C6BC 0031961C 38 60 00 00 */ li r3, 0 -/* 8031C6C0 00319620 48 00 00 48 */ b lbl_8031C708 -lbl_8031C6C4: -/* 8031C6C4 00319624 3B FF 00 04 */ addi r31, r31, 4 -lbl_8031C6C8: -/* 8031C6C8 00319628 80 1E 02 94 */ lwz r0, 0x294(r30) -/* 8031C6CC 0031962C 80 7E 02 9C */ lwz r3, 0x29c(r30) -/* 8031C6D0 00319630 54 00 10 3A */ slwi r0, r0, 2 -/* 8031C6D4 00319634 7C 03 02 14 */ add r0, r3, r0 -/* 8031C6D8 00319638 7C 1F 00 40 */ cmplw r31, r0 -/* 8031C6DC 0031963C 40 82 FF C4 */ bne lbl_8031C6A0 -/* 8031C6E0 00319640 80 7E 02 68 */ lwz r3, 0x268(r30) -/* 8031C6E4 00319644 80 1E 00 74 */ lwz r0, 0x74(r30) -/* 8031C6E8 00319648 7C 03 00 00 */ cmpw r3, r0 -/* 8031C6EC 0031964C 40 80 00 18 */ bge lbl_8031C704 -/* 8031C6F0 00319650 80 1E 02 5C */ lwz r0, 0x25c(r30) -/* 8031C6F4 00319654 2C 00 00 00 */ cmpwi r0, 0 -/* 8031C6F8 00319658 40 82 00 0C */ bne lbl_8031C704 -/* 8031C6FC 0031965C 38 60 00 01 */ li r3, 1 -/* 8031C700 00319660 48 00 00 08 */ b lbl_8031C708 -lbl_8031C704: -/* 8031C704 00319664 38 60 00 00 */ li r3, 0 -lbl_8031C708: -/* 8031C708 00319668 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8031C70C 0031966C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8031C710 00319670 83 C1 00 08 */ lwz r30, 8(r1) -/* 8031C714 00319674 7C 08 03 A6 */ mtlr r0 -/* 8031C718 00319678 38 21 00 10 */ addi r1, r1, 0x10 -/* 8031C71C 0031967C 4E 80 00 20 */ blr - -.global DestroyParticles__11CElementGenFv -DestroyParticles__11CElementGenFv: -/* 8031C720 00319680 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8031C724 00319684 7C 08 02 A6 */ mflr r0 -/* 8031C728 00319688 90 01 00 34 */ stw r0, 0x34(r1) -/* 8031C72C 0031968C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8031C730 00319690 7C 7F 1B 78 */ mr r31, r3 -/* 8031C734 00319694 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8031C738 00319698 80 0D A8 B0 */ lwz r0, lbl_805A9470@sda21(r13) -/* 8031C73C 0031969C 80 63 00 34 */ lwz r3, 0x34(r3) -/* 8031C740 003196A0 7C 03 00 50 */ subf r0, r3, r0 -/* 8031C744 003196A4 90 0D A8 B0 */ stw r0, lbl_805A9470@sda21(r13) -/* 8031C748 003196A8 80 1F 00 34 */ lwz r0, 0x34(r31) -/* 8031C74C 003196AC 80 7F 00 3C */ lwz r3, 0x3c(r31) -/* 8031C750 003196B0 1C 00 00 38 */ mulli r0, r0, 0x38 -/* 8031C754 003196B4 90 61 00 1C */ stw r3, 0x1c(r1) -/* 8031C758 003196B8 7C 03 02 14 */ add r0, r3, r0 -/* 8031C75C 003196BC 90 61 00 18 */ stw r3, 0x18(r1) -/* 8031C760 003196C0 90 01 00 24 */ stw r0, 0x24(r1) -/* 8031C764 003196C4 90 01 00 20 */ stw r0, 0x20(r1) -/* 8031C768 003196C8 48 00 00 08 */ b lbl_8031C770 -lbl_8031C76C: -/* 8031C76C 003196CC 38 63 00 38 */ addi r3, r3, 0x38 -lbl_8031C770: -/* 8031C770 003196D0 7C 03 00 40 */ cmplw r3, r0 -/* 8031C774 003196D4 40 82 FF F8 */ bne lbl_8031C76C -/* 8031C778 003196D8 38 00 00 00 */ li r0, 0 -/* 8031C77C 003196DC 90 1F 00 34 */ stw r0, 0x34(r31) -/* 8031C780 003196E0 80 1F 00 2C */ lwz r0, 0x2c(r31) -/* 8031C784 003196E4 2C 00 00 01 */ cmpwi r0, 1 -/* 8031C788 003196E8 40 82 00 3C */ bne lbl_8031C7C4 -/* 8031C78C 003196EC 80 1F 00 54 */ lwz r0, 0x54(r31) -/* 8031C790 003196F0 80 7F 00 5C */ lwz r3, 0x5c(r31) -/* 8031C794 003196F4 1C 00 00 24 */ mulli r0, r0, 0x24 -/* 8031C798 003196F8 90 61 00 0C */ stw r3, 0xc(r1) -/* 8031C79C 003196FC 7C 03 02 14 */ add r0, r3, r0 -/* 8031C7A0 00319700 90 61 00 08 */ stw r3, 8(r1) -/* 8031C7A4 00319704 90 01 00 14 */ stw r0, 0x14(r1) -/* 8031C7A8 00319708 90 01 00 10 */ stw r0, 0x10(r1) -/* 8031C7AC 0031970C 48 00 00 08 */ b lbl_8031C7B4 -lbl_8031C7B0: -/* 8031C7B0 00319710 38 63 00 24 */ addi r3, r3, 0x24 -lbl_8031C7B4: -/* 8031C7B4 00319714 7C 03 00 40 */ cmplw r3, r0 -/* 8031C7B8 00319718 40 82 FF F8 */ bne lbl_8031C7B0 -/* 8031C7BC 0031971C 38 00 00 00 */ li r0, 0 -/* 8031C7C0 00319720 90 1F 00 54 */ stw r0, 0x54(r31) -lbl_8031C7C4: -/* 8031C7C4 00319724 83 DF 02 9C */ lwz r30, 0x29c(r31) -/* 8031C7C8 00319728 48 00 00 1C */ b lbl_8031C7E4 -lbl_8031C7CC: -/* 8031C7CC 0031972C 80 7E 00 00 */ lwz r3, 0(r30) -/* 8031C7D0 00319730 81 83 00 00 */ lwz r12, 0(r3) -/* 8031C7D4 00319734 81 8C 00 6C */ lwz r12, 0x6c(r12) -/* 8031C7D8 00319738 7D 89 03 A6 */ mtctr r12 -/* 8031C7DC 0031973C 4E 80 04 21 */ bctrl -/* 8031C7E0 00319740 3B DE 00 04 */ addi r30, r30, 4 -lbl_8031C7E4: -/* 8031C7E4 00319744 80 1F 02 94 */ lwz r0, 0x294(r31) -/* 8031C7E8 00319748 80 7F 02 9C */ lwz r3, 0x29c(r31) -/* 8031C7EC 0031974C 54 00 10 3A */ slwi r0, r0, 2 -/* 8031C7F0 00319750 7C 03 02 14 */ add r0, r3, r0 -/* 8031C7F4 00319754 7C 1E 00 40 */ cmplw r30, r0 -/* 8031C7F8 00319758 40 82 FF D4 */ bne lbl_8031C7CC -/* 8031C7FC 0031975C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8031C800 00319760 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8031C804 00319764 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8031C808 00319768 7C 08 03 A6 */ mtlr r0 -/* 8031C80C 0031976C 38 21 00 30 */ addi r1, r1, 0x30 -/* 8031C810 00319770 4E 80 00 20 */ blr - -.global EndLifetime__11CElementGenFv -EndLifetime__11CElementGenFv: -/* 8031C814 00319774 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8031C818 00319778 7C 08 02 A6 */ mflr r0 -/* 8031C81C 0031977C 90 01 00 24 */ stw r0, 0x24(r1) -/* 8031C820 00319780 38 00 00 00 */ li r0, 0 -/* 8031C824 00319784 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8031C828 00319788 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8031C82C 0031978C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8031C830 00319790 7C 7D 1B 78 */ mr r29, r3 -/* 8031C834 00319794 90 03 02 68 */ stw r0, 0x268(r3) -/* 8031C838 00319798 83 E3 02 9C */ lwz r31, 0x29c(r3) -/* 8031C83C 0031979C 48 00 00 50 */ b lbl_8031C88C -lbl_8031C840: -/* 8031C840 003197A0 83 DF 00 00 */ lwz r30, 0(r31) -/* 8031C844 003197A4 7F C3 F3 78 */ mr r3, r30 -/* 8031C848 003197A8 81 9E 00 00 */ lwz r12, 0(r30) -/* 8031C84C 003197AC 81 8C 00 74 */ lwz r12, 0x74(r12) -/* 8031C850 003197B0 7D 89 03 A6 */ mtctr r12 -/* 8031C854 003197B4 4E 80 04 21 */ bctrl -/* 8031C858 003197B8 3C 03 AF BF */ addis r0, r3, 0xafbf -/* 8031C85C 003197BC 28 00 52 54 */ cmplwi r0, 0x5254 -/* 8031C860 003197C0 40 82 00 10 */ bne lbl_8031C870 -/* 8031C864 003197C4 7F C3 F3 78 */ mr r3, r30 -/* 8031C868 003197C8 4B FF FF AD */ bl EndLifetime__11CElementGenFv -/* 8031C86C 003197CC 48 00 00 1C */ b lbl_8031C888 -lbl_8031C870: -/* 8031C870 003197D0 7F C3 F3 78 */ mr r3, r30 -/* 8031C874 003197D4 38 80 00 00 */ li r4, 0 -/* 8031C878 003197D8 81 9E 00 00 */ lwz r12, 0(r30) -/* 8031C87C 003197DC 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 8031C880 003197E0 7D 89 03 A6 */ mtctr r12 -/* 8031C884 003197E4 4E 80 04 21 */ bctrl -lbl_8031C888: -/* 8031C888 003197E8 3B FF 00 04 */ addi r31, r31, 4 -lbl_8031C88C: -/* 8031C88C 003197EC 80 1D 02 94 */ lwz r0, 0x294(r29) -/* 8031C890 003197F0 80 7D 02 9C */ lwz r3, 0x29c(r29) -/* 8031C894 003197F4 54 00 10 3A */ slwi r0, r0, 2 -/* 8031C898 003197F8 7C 03 02 14 */ add r0, r3, r0 -/* 8031C89C 003197FC 7C 1F 00 40 */ cmplw r31, r0 -/* 8031C8A0 00319800 40 82 FF A0 */ bne lbl_8031C840 -/* 8031C8A4 00319804 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8031C8A8 00319808 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8031C8AC 0031980C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8031C8B0 00319810 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8031C8B4 00319814 7C 08 03 A6 */ mtlr r0 -/* 8031C8B8 00319818 38 21 00 20 */ addi r1, r1, 0x20 -/* 8031C8BC 0031981C 4E 80 00 20 */ blr - -.global ForceParticleCreation__11CElementGenFi -ForceParticleCreation__11CElementGenFi: -/* 8031C8C0 00319820 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8031C8C4 00319824 7C 08 02 A6 */ mflr r0 -/* 8031C8C8 00319828 3C C0 50 41 */ lis r6, 0x50415254@ha -/* 8031C8CC 0031982C 90 01 00 24 */ stw r0, 0x24(r1) -/* 8031C8D0 00319830 38 01 00 08 */ addi r0, r1, 8 -/* 8031C8D4 00319834 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8031C8D8 00319838 7C 9F 23 78 */ mr r31, r4 -/* 8031C8DC 0031983C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8031C8E0 00319840 7C 7E 1B 78 */ mr r30, r3 -/* 8031C8E4 00319844 38 66 52 54 */ addi r3, r6, 0x50415254@l -/* 8031C8E8 00319848 80 AD A8 F4 */ lwz r5, lbl_805A94B4@sda21(r13) -/* 8031C8EC 0031984C 93 C1 00 0C */ stw r30, 0xc(r1) -/* 8031C8F0 00319850 90 61 00 08 */ stw r3, 8(r1) -/* 8031C8F4 00319854 90 A1 00 10 */ stw r5, 0x10(r1) -/* 8031C8F8 00319858 90 0D A8 F4 */ stw r0, lbl_805A94B4@sda21(r13) -/* 8031C8FC 0031985C 80 7E 00 74 */ lwz r3, 0x74(r30) -/* 8031C900 00319860 48 00 DE 49 */ bl SetEmitterTime__16CParticleGlobalsFi -/* 8031C904 00319864 7F C3 F3 78 */ mr r3, r30 -/* 8031C908 00319868 7F E4 FB 78 */ mr r4, r31 -/* 8031C90C 0031986C 48 00 0D D9 */ bl CreateNewParticles__11CElementGenFi -/* 8031C910 00319870 34 01 00 08 */ addic. r0, r1, 8 -/* 8031C914 00319874 41 82 00 0C */ beq lbl_8031C920 -/* 8031C918 00319878 80 01 00 10 */ lwz r0, 0x10(r1) -/* 8031C91C 0031987C 90 0D A8 F4 */ stw r0, lbl_805A94B4@sda21(r13) -lbl_8031C920: -/* 8031C920 00319880 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8031C924 00319884 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8031C928 00319888 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8031C92C 0031988C 7C 08 03 A6 */ mtlr r0 -/* 8031C930 00319890 38 21 00 20 */ addi r1, r1, 0x20 -/* 8031C934 00319894 4E 80 00 20 */ blr - -.global SetParticleEmission__11CElementGenFb -SetParticleEmission__11CElementGenFb: -/* 8031C938 00319898 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8031C93C 0031989C 7C 08 02 A6 */ mflr r0 -/* 8031C940 003198A0 90 01 00 24 */ stw r0, 0x24(r1) -/* 8031C944 003198A4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8031C948 003198A8 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8031C94C 003198AC 7C 9E 23 78 */ mr r30, r4 -/* 8031C950 003198B0 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8031C954 003198B4 7C 7D 1B 78 */ mr r29, r3 -/* 8031C958 003198B8 9B C3 00 88 */ stb r30, 0x88(r3) -/* 8031C95C 003198BC 83 E3 02 9C */ lwz r31, 0x29c(r3) -/* 8031C960 003198C0 48 00 00 20 */ b lbl_8031C980 -lbl_8031C964: -/* 8031C964 003198C4 80 7F 00 00 */ lwz r3, 0(r31) -/* 8031C968 003198C8 7F C4 F3 78 */ mr r4, r30 -/* 8031C96C 003198CC 81 83 00 00 */ lwz r12, 0(r3) -/* 8031C970 003198D0 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 8031C974 003198D4 7D 89 03 A6 */ mtctr r12 -/* 8031C978 003198D8 4E 80 04 21 */ bctrl -/* 8031C97C 003198DC 3B FF 00 04 */ addi r31, r31, 4 -lbl_8031C980: -/* 8031C980 003198E0 80 1D 02 94 */ lwz r0, 0x294(r29) -/* 8031C984 003198E4 80 7D 02 9C */ lwz r3, 0x29c(r29) -/* 8031C988 003198E8 54 00 10 3A */ slwi r0, r0, 2 -/* 8031C98C 003198EC 7C 03 02 14 */ add r0, r3, r0 -/* 8031C990 003198F0 7C 1F 00 40 */ cmplw r31, r0 -/* 8031C994 003198F4 40 82 FF D0 */ bne lbl_8031C964 -/* 8031C998 003198F8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8031C99C 003198FC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8031C9A0 00319900 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8031C9A4 00319904 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8031C9A8 00319908 7C 08 03 A6 */ mtlr r0 -/* 8031C9AC 0031990C 38 21 00 20 */ addi r1, r1, 0x20 -/* 8031C9B0 00319910 4E 80 00 20 */ blr - -.global UpdateChildParticleSystems__11CElementGenFd -UpdateChildParticleSystems__11CElementGenFd: -/* 8031C9B4 00319914 94 21 FF 20 */ stwu r1, -0xe0(r1) -/* 8031C9B8 00319918 7C 08 02 A6 */ mflr r0 -/* 8031C9BC 0031991C 90 01 00 E4 */ stw r0, 0xe4(r1) -/* 8031C9C0 00319920 DB E1 00 D0 */ stfd f31, 0xd0(r1) -/* 8031C9C4 00319924 F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 -/* 8031C9C8 00319928 BF 01 00 B0 */ stmw r24, 0xb0(r1) -/* 8031C9CC 0031992C FF E0 08 90 */ fmr f31, f1 -/* 8031C9D0 00319930 C8 22 CA 20 */ lfd f1, lbl_805AE740@sda21(r2) -/* 8031C9D4 00319934 C8 02 CA 28 */ lfd f0, lbl_805AE748@sda21(r2) -/* 8031C9D8 00319938 7C 7F 1B 78 */ mr r31, r3 -/* 8031C9DC 0031993C FC 3F 08 28 */ fsub f1, f31, f1 -/* 8031C9E0 00319940 FC 20 0A 10 */ fabs f1, f1 -/* 8031C9E4 00319944 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8031C9E8 00319948 41 80 09 74 */ blt lbl_8031D35C -/* 8031C9EC 0031994C 38 61 00 A0 */ addi r3, r1, 0xa0 -/* 8031C9F0 00319950 38 9F 02 7C */ addi r4, r31, 0x27c -/* 8031C9F4 00319954 4B FF 5C 8D */ bl __ct__13CGlobalRandomFR9CRandom16 -/* 8031C9F8 00319958 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 8031C9FC 0031995C 88 03 00 84 */ lbz r0, 0x84(r3) -/* 8031CA00 00319960 28 00 00 00 */ cmplwi r0, 0 -/* 8031CA04 00319964 41 82 01 4C */ beq lbl_8031CB50 -/* 8031CA08 00319968 80 1F 00 84 */ lwz r0, 0x84(r31) -/* 8031CA0C 0031996C 80 7F 00 74 */ lwz r3, 0x74(r31) -/* 8031CA10 00319970 7C 00 18 00 */ cmpw r0, r3 -/* 8031CA14 00319974 41 82 01 3C */ beq lbl_8031CB50 -/* 8031CA18 00319978 80 1F 02 A0 */ lwz r0, 0x2a0(r31) -/* 8031CA1C 0031997C 7C 03 00 00 */ cmpw r3, r0 -/* 8031CA20 00319980 40 82 01 30 */ bne lbl_8031CB50 -/* 8031CA24 00319984 38 00 00 01 */ li r0, 1 -/* 8031CA28 00319988 90 01 00 18 */ stw r0, 0x18(r1) -/* 8031CA2C 0031998C 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 8031CA30 00319990 80 63 00 88 */ lwz r3, 0x88(r3) -/* 8031CA34 00319994 28 03 00 00 */ cmplwi r3, 0 -/* 8031CA38 00319998 41 82 00 1C */ beq lbl_8031CA54 -/* 8031CA3C 0031999C 81 83 00 00 */ lwz r12, 0(r3) -/* 8031CA40 003199A0 38 A1 00 18 */ addi r5, r1, 0x18 -/* 8031CA44 003199A4 80 9F 00 74 */ lwz r4, 0x74(r31) -/* 8031CA48 003199A8 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8031CA4C 003199AC 7D 89 03 A6 */ mtctr r12 -/* 8031CA50 003199B0 4E 80 04 21 */ bctrl -lbl_8031CA54: -/* 8031CA54 003199B4 80 81 00 18 */ lwz r4, 0x18(r1) -/* 8031CA58 003199B8 38 7F 02 90 */ addi r3, r31, 0x290 -/* 8031CA5C 003199BC 80 1F 02 94 */ lwz r0, 0x294(r31) -/* 8031CA60 003199C0 7C 84 02 14 */ add r4, r4, r0 -/* 8031CA64 003199C4 48 00 3C DD */ bl sub_80320740 -/* 8031CA68 003199C8 3B 41 00 94 */ addi r26, r1, 0x94 -/* 8031CA6C 003199CC 3B 60 00 00 */ li r27, 0 -/* 8031CA70 003199D0 48 00 00 D4 */ b lbl_8031CB44 -lbl_8031CA74: -/* 8031CA74 003199D4 80 9F 00 28 */ lwz r4, 0x28(r31) -/* 8031CA78 003199D8 7F 43 D3 78 */ mr r3, r26 -/* 8031CA7C 003199DC 38 84 00 78 */ addi r4, r4, 0x78 -/* 8031CA80 003199E0 48 02 44 29 */ bl __ct__6CTokenFRC6CToken -/* 8031CA84 003199E4 7F 43 D3 78 */ mr r3, r26 -/* 8031CA88 003199E8 48 02 43 85 */ bl GetObj__6CTokenFv -/* 8031CA8C 003199EC 80 63 00 04 */ lwz r3, 4(r3) -/* 8031CA90 003199F0 90 61 00 9C */ stw r3, 0x9c(r1) -/* 8031CA94 003199F4 88 1F 02 6D */ lbz r0, 0x26d(r31) -/* 8031CA98 003199F8 88 63 00 32 */ lbz r3, 0x32(r3) -/* 8031CA9C 003199FC 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 8031CAA0 00319A00 54 60 D7 FE */ rlwinm r0, r3, 0x1a, 0x1f, 0x1f -/* 8031CAA4 00319A04 41 82 00 1C */ beq lbl_8031CAC0 -/* 8031CAA8 00319A08 28 00 00 00 */ cmplwi r0, 0 -/* 8031CAAC 00319A0C 41 82 00 14 */ beq lbl_8031CAC0 -/* 8031CAB0 00319A10 38 61 00 94 */ addi r3, r1, 0x94 -/* 8031CAB4 00319A14 38 80 00 00 */ li r4, 0 -/* 8031CAB8 00319A18 48 02 43 89 */ bl __dt__6CTokenFv -/* 8031CABC 00319A1C 48 00 00 94 */ b lbl_8031CB50 -lbl_8031CAC0: -/* 8031CAC0 00319A20 38 61 00 44 */ addi r3, r1, 0x44 -/* 8031CAC4 00319A24 38 81 00 94 */ addi r4, r1, 0x94 -/* 8031CAC8 00319A28 48 02 43 E1 */ bl __ct__6CTokenFRC6CToken -/* 8031CACC 00319A2C 7F E3 FB 78 */ mr r3, r31 -/* 8031CAD0 00319A30 38 81 00 44 */ addi r4, r1, 0x44 -/* 8031CAD4 00319A34 48 00 09 C5 */ bl "ConstructChildParticleSystem__11CElementGenCF25TToken<15CGenDescription>" -/* 8031CAD8 00319A38 80 1F 02 94 */ lwz r0, 0x294(r31) -/* 8031CADC 00319A3C 7C 78 1B 78 */ mr r24, r3 -/* 8031CAE0 00319A40 80 BF 02 98 */ lwz r5, 0x298(r31) -/* 8031CAE4 00319A44 7C 00 28 00 */ cmpw r0, r5 -/* 8031CAE8 00319A48 41 80 00 1C */ blt lbl_8031CB04 -/* 8031CAEC 00319A4C 2C 05 00 00 */ cmpwi r5, 0 -/* 8031CAF0 00319A50 38 7F 02 90 */ addi r3, r31, 0x290 -/* 8031CAF4 00319A54 38 80 00 04 */ li r4, 4 -/* 8031CAF8 00319A58 41 82 00 08 */ beq lbl_8031CB00 -/* 8031CAFC 00319A5C 54 A4 08 3C */ slwi r4, r5, 1 -lbl_8031CB00: -/* 8031CB00 00319A60 48 00 3C 41 */ bl sub_80320740 -lbl_8031CB04: -/* 8031CB04 00319A64 80 1F 02 94 */ lwz r0, 0x294(r31) -/* 8031CB08 00319A68 80 7F 02 9C */ lwz r3, 0x29c(r31) -/* 8031CB0C 00319A6C 54 00 10 3A */ slwi r0, r0, 2 -/* 8031CB10 00319A70 7C 63 02 15 */ add. r3, r3, r0 -/* 8031CB14 00319A74 41 82 00 08 */ beq lbl_8031CB1C -/* 8031CB18 00319A78 93 03 00 00 */ stw r24, 0(r3) -lbl_8031CB1C: -/* 8031CB1C 00319A7C 80 BF 02 94 */ lwz r5, 0x294(r31) -/* 8031CB20 00319A80 38 61 00 44 */ addi r3, r1, 0x44 -/* 8031CB24 00319A84 38 80 00 00 */ li r4, 0 -/* 8031CB28 00319A88 38 05 00 01 */ addi r0, r5, 1 -/* 8031CB2C 00319A8C 90 1F 02 94 */ stw r0, 0x294(r31) -/* 8031CB30 00319A90 48 02 43 11 */ bl __dt__6CTokenFv -/* 8031CB34 00319A94 38 61 00 94 */ addi r3, r1, 0x94 -/* 8031CB38 00319A98 38 80 00 00 */ li r4, 0 -/* 8031CB3C 00319A9C 48 02 43 05 */ bl __dt__6CTokenFv -/* 8031CB40 00319AA0 3B 7B 00 01 */ addi r27, r27, 1 -lbl_8031CB44: -/* 8031CB44 00319AA4 80 01 00 18 */ lwz r0, 0x18(r1) -/* 8031CB48 00319AA8 7C 1B 00 00 */ cmpw r27, r0 -/* 8031CB4C 00319AAC 41 80 FF 28 */ blt lbl_8031CA74 -lbl_8031CB50: -/* 8031CB50 00319AB0 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 8031CB54 00319AB4 38 83 00 A4 */ addi r4, r3, 0xa4 -/* 8031CB58 00319AB8 88 03 00 B0 */ lbz r0, 0xb0(r3) -/* 8031CB5C 00319ABC 28 00 00 00 */ cmplwi r0, 0 -/* 8031CB60 00319AC0 41 82 01 18 */ beq lbl_8031CC78 -/* 8031CB64 00319AC4 80 1F 00 84 */ lwz r0, 0x84(r31) -/* 8031CB68 00319AC8 80 BF 00 74 */ lwz r5, 0x74(r31) -/* 8031CB6C 00319ACC 7C 00 28 00 */ cmpw r0, r5 -/* 8031CB70 00319AD0 41 82 01 08 */ beq lbl_8031CC78 -/* 8031CB74 00319AD4 80 1F 02 68 */ lwz r0, 0x268(r31) -/* 8031CB78 00319AD8 7C 05 00 00 */ cmpw r5, r0 -/* 8031CB7C 00319ADC 40 80 00 FC */ bge lbl_8031CC78 -/* 8031CB80 00319AE0 88 1F 00 88 */ lbz r0, 0x88(r31) -/* 8031CB84 00319AE4 28 00 00 01 */ cmplwi r0, 1 -/* 8031CB88 00319AE8 40 82 00 F0 */ bne lbl_8031CC78 -/* 8031CB8C 00319AEC 80 1F 02 A4 */ lwz r0, 0x2a4(r31) -/* 8031CB90 00319AF0 7C 05 00 00 */ cmpw r5, r0 -/* 8031CB94 00319AF4 41 80 00 E4 */ blt lbl_8031CC78 -/* 8031CB98 00319AF8 80 7F 02 A8 */ lwz r3, 0x2a8(r31) -/* 8031CB9C 00319AFC 7C A0 28 50 */ subf r5, r0, r5 -/* 8031CBA0 00319B00 7C 05 1B D6 */ divw r0, r5, r3 -/* 8031CBA4 00319B04 7C 00 19 D6 */ mullw r0, r0, r3 -/* 8031CBA8 00319B08 7C 00 28 51 */ subf. r0, r0, r5 -/* 8031CBAC 00319B0C 40 82 00 CC */ bne lbl_8031CC78 -/* 8031CBB0 00319B10 3B 01 00 88 */ addi r24, r1, 0x88 -/* 8031CBB4 00319B14 7F 03 C3 78 */ mr r3, r24 -/* 8031CBB8 00319B18 48 02 42 F1 */ bl __ct__6CTokenFRC6CToken -/* 8031CBBC 00319B1C 7F 03 C3 78 */ mr r3, r24 -/* 8031CBC0 00319B20 48 02 42 4D */ bl GetObj__6CTokenFv -/* 8031CBC4 00319B24 80 63 00 04 */ lwz r3, 4(r3) -/* 8031CBC8 00319B28 90 61 00 90 */ stw r3, 0x90(r1) -/* 8031CBCC 00319B2C 88 1F 02 6D */ lbz r0, 0x26d(r31) -/* 8031CBD0 00319B30 88 63 00 32 */ lbz r3, 0x32(r3) -/* 8031CBD4 00319B34 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 8031CBD8 00319B38 54 60 D7 FE */ rlwinm r0, r3, 0x1a, 0x1f, 0x1f -/* 8031CBDC 00319B3C 41 82 00 0C */ beq lbl_8031CBE8 -/* 8031CBE0 00319B40 28 00 00 00 */ cmplwi r0, 0 -/* 8031CBE4 00319B44 40 82 00 88 */ bne lbl_8031CC6C -lbl_8031CBE8: -/* 8031CBE8 00319B48 80 9F 02 94 */ lwz r4, 0x294(r31) -/* 8031CBEC 00319B4C 38 7F 02 90 */ addi r3, r31, 0x290 -/* 8031CBF0 00319B50 38 84 00 01 */ addi r4, r4, 1 -/* 8031CBF4 00319B54 48 00 3B 4D */ bl sub_80320740 -/* 8031CBF8 00319B58 38 61 00 3C */ addi r3, r1, 0x3c -/* 8031CBFC 00319B5C 38 81 00 88 */ addi r4, r1, 0x88 -/* 8031CC00 00319B60 48 02 42 A9 */ bl __ct__6CTokenFRC6CToken -/* 8031CC04 00319B64 7F E3 FB 78 */ mr r3, r31 -/* 8031CC08 00319B68 38 81 00 3C */ addi r4, r1, 0x3c -/* 8031CC0C 00319B6C 48 00 08 8D */ bl "ConstructChildParticleSystem__11CElementGenCF25TToken<15CGenDescription>" -/* 8031CC10 00319B70 80 1F 02 94 */ lwz r0, 0x294(r31) -/* 8031CC14 00319B74 7C 78 1B 78 */ mr r24, r3 -/* 8031CC18 00319B78 80 BF 02 98 */ lwz r5, 0x298(r31) -/* 8031CC1C 00319B7C 7C 00 28 00 */ cmpw r0, r5 -/* 8031CC20 00319B80 41 80 00 1C */ blt lbl_8031CC3C -/* 8031CC24 00319B84 2C 05 00 00 */ cmpwi r5, 0 -/* 8031CC28 00319B88 38 7F 02 90 */ addi r3, r31, 0x290 -/* 8031CC2C 00319B8C 38 80 00 04 */ li r4, 4 -/* 8031CC30 00319B90 41 82 00 08 */ beq lbl_8031CC38 -/* 8031CC34 00319B94 54 A4 08 3C */ slwi r4, r5, 1 -lbl_8031CC38: -/* 8031CC38 00319B98 48 00 3B 09 */ bl sub_80320740 -lbl_8031CC3C: -/* 8031CC3C 00319B9C 80 1F 02 94 */ lwz r0, 0x294(r31) -/* 8031CC40 00319BA0 80 7F 02 9C */ lwz r3, 0x29c(r31) -/* 8031CC44 00319BA4 54 00 10 3A */ slwi r0, r0, 2 -/* 8031CC48 00319BA8 7C 63 02 15 */ add. r3, r3, r0 -/* 8031CC4C 00319BAC 41 82 00 08 */ beq lbl_8031CC54 -/* 8031CC50 00319BB0 93 03 00 00 */ stw r24, 0(r3) -lbl_8031CC54: -/* 8031CC54 00319BB4 80 BF 02 94 */ lwz r5, 0x294(r31) -/* 8031CC58 00319BB8 38 61 00 3C */ addi r3, r1, 0x3c -/* 8031CC5C 00319BBC 38 80 00 00 */ li r4, 0 -/* 8031CC60 00319BC0 38 05 00 01 */ addi r0, r5, 1 -/* 8031CC64 00319BC4 90 1F 02 94 */ stw r0, 0x294(r31) -/* 8031CC68 00319BC8 48 02 41 D9 */ bl __dt__6CTokenFv -lbl_8031CC6C: -/* 8031CC6C 00319BCC 38 61 00 88 */ addi r3, r1, 0x88 -/* 8031CC70 00319BD0 38 80 00 00 */ li r4, 0 -/* 8031CC74 00319BD4 48 02 41 CD */ bl __dt__6CTokenFv -lbl_8031CC78: -/* 8031CC78 00319BD8 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 8031CC7C 00319BDC 80 63 00 BC */ lwz r3, 0xbc(r3) -/* 8031CC80 00319BE0 28 03 00 00 */ cmplwi r3, 0 -/* 8031CC84 00319BE4 41 82 01 70 */ beq lbl_8031CDF4 -/* 8031CC88 00319BE8 80 1F 00 84 */ lwz r0, 0x84(r31) -/* 8031CC8C 00319BEC 80 9F 00 74 */ lwz r4, 0x74(r31) -/* 8031CC90 00319BF0 7C 00 20 00 */ cmpw r0, r4 -/* 8031CC94 00319BF4 41 82 01 60 */ beq lbl_8031CDF4 -/* 8031CC98 00319BF8 80 1F 02 68 */ lwz r0, 0x268(r31) -/* 8031CC9C 00319BFC 7C 04 00 00 */ cmpw r4, r0 -/* 8031CCA0 00319C00 40 80 01 54 */ bge lbl_8031CDF4 -/* 8031CCA4 00319C04 A3 AD 9C F8 */ lhz r29, lbl_805A88B8@sda21(r13) -/* 8031CCA8 00319C08 48 01 68 5D */ bl sub_80333504 -/* 8031CCAC 00319C0C 7C 7E 1B 78 */ mr r30, r3 -/* 8031CCB0 00319C10 80 1F 02 94 */ lwz r0, 0x294(r31) -/* 8031CCB4 00319C14 80 83 00 04 */ lwz r4, 4(r3) -/* 8031CCB8 00319C18 38 7F 02 90 */ addi r3, r31, 0x290 -/* 8031CCBC 00319C1C 7C 84 02 14 */ add r4, r4, r0 -/* 8031CCC0 00319C20 48 00 3A 81 */ bl sub_80320740 -/* 8031CCC4 00319C24 57 BB 04 3E */ clrlwi r27, r29, 0x10 -/* 8031CCC8 00319C28 3B 21 00 7C */ addi r25, r1, 0x7c -/* 8031CCCC 00319C2C 3B 40 00 00 */ li r26, 0 -/* 8031CCD0 00319C30 3B 80 00 00 */ li r28, 0 -/* 8031CCD4 00319C34 48 00 01 10 */ b lbl_8031CDE4 -lbl_8031CCD8: -/* 8031CCD8 00319C38 80 1E 00 0C */ lwz r0, 0xc(r30) -/* 8031CCDC 00319C3C 38 61 00 64 */ addi r3, r1, 0x64 -/* 8031CCE0 00319C40 7C 80 E2 14 */ add r4, r0, r28 -/* 8031CCE4 00319C44 48 00 07 75 */ bl sub_8031d458 -/* 8031CCE8 00319C48 7F 23 CB 78 */ mr r3, r25 -/* 8031CCEC 00319C4C 38 81 00 64 */ addi r4, r1, 0x64 -/* 8031CCF0 00319C50 48 02 41 B9 */ bl __ct__6CTokenFRC6CToken -/* 8031CCF4 00319C54 7F 23 CB 78 */ mr r3, r25 -/* 8031CCF8 00319C58 48 02 41 15 */ bl GetObj__6CTokenFv -/* 8031CCFC 00319C5C 88 01 00 6C */ lbz r0, 0x6c(r1) -/* 8031CD00 00319C60 80 63 00 04 */ lwz r3, 4(r3) -/* 8031CD04 00319C64 28 00 00 00 */ cmplwi r0, 0 -/* 8031CD08 00319C68 90 61 00 84 */ stw r3, 0x84(r1) -/* 8031CD0C 00319C6C 41 82 00 10 */ beq lbl_8031CD1C -/* 8031CD10 00319C70 38 61 00 64 */ addi r3, r1, 0x64 -/* 8031CD14 00319C74 38 80 FF FF */ li r4, -1 -/* 8031CD18 00319C78 48 02 41 29 */ bl __dt__6CTokenFv -lbl_8031CD1C: -/* 8031CD1C 00319C7C 38 00 00 00 */ li r0, 0 -/* 8031CD20 00319C80 80 61 00 84 */ lwz r3, 0x84(r1) -/* 8031CD24 00319C84 98 01 00 6C */ stb r0, 0x6c(r1) -/* 8031CD28 00319C88 88 1F 02 6D */ lbz r0, 0x26d(r31) -/* 8031CD2C 00319C8C 88 63 00 32 */ lbz r3, 0x32(r3) -/* 8031CD30 00319C90 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 8031CD34 00319C94 54 60 D7 FE */ rlwinm r0, r3, 0x1a, 0x1f, 0x1f -/* 8031CD38 00319C98 41 82 00 1C */ beq lbl_8031CD54 -/* 8031CD3C 00319C9C 28 00 00 00 */ cmplwi r0, 0 -/* 8031CD40 00319CA0 41 82 00 14 */ beq lbl_8031CD54 -/* 8031CD44 00319CA4 38 61 00 7C */ addi r3, r1, 0x7c -/* 8031CD48 00319CA8 38 80 00 00 */ li r4, 0 -/* 8031CD4C 00319CAC 48 02 40 F5 */ bl __dt__6CTokenFv -/* 8031CD50 00319CB0 48 00 00 88 */ b lbl_8031CDD8 -lbl_8031CD54: -/* 8031CD54 00319CB4 B3 6D 9C F8 */ sth r27, lbl_805A88B8@sda21(r13) -/* 8031CD58 00319CB8 38 61 00 34 */ addi r3, r1, 0x34 -/* 8031CD5C 00319CBC 38 81 00 7C */ addi r4, r1, 0x7c -/* 8031CD60 00319CC0 48 02 41 49 */ bl __ct__6CTokenFRC6CToken -/* 8031CD64 00319CC4 7F E3 FB 78 */ mr r3, r31 -/* 8031CD68 00319CC8 38 81 00 34 */ addi r4, r1, 0x34 -/* 8031CD6C 00319CCC 48 00 07 2D */ bl "ConstructChildParticleSystem__11CElementGenCF25TToken<15CGenDescription>" -/* 8031CD70 00319CD0 80 1F 02 94 */ lwz r0, 0x294(r31) -/* 8031CD74 00319CD4 7C 78 1B 78 */ mr r24, r3 -/* 8031CD78 00319CD8 80 BF 02 98 */ lwz r5, 0x298(r31) -/* 8031CD7C 00319CDC 7C 00 28 00 */ cmpw r0, r5 -/* 8031CD80 00319CE0 41 80 00 1C */ blt lbl_8031CD9C -/* 8031CD84 00319CE4 2C 05 00 00 */ cmpwi r5, 0 -/* 8031CD88 00319CE8 38 7F 02 90 */ addi r3, r31, 0x290 -/* 8031CD8C 00319CEC 38 80 00 04 */ li r4, 4 -/* 8031CD90 00319CF0 41 82 00 08 */ beq lbl_8031CD98 -/* 8031CD94 00319CF4 54 A4 08 3C */ slwi r4, r5, 1 -lbl_8031CD98: -/* 8031CD98 00319CF8 48 00 39 A9 */ bl sub_80320740 -lbl_8031CD9C: -/* 8031CD9C 00319CFC 80 1F 02 94 */ lwz r0, 0x294(r31) -/* 8031CDA0 00319D00 80 7F 02 9C */ lwz r3, 0x29c(r31) -/* 8031CDA4 00319D04 54 00 10 3A */ slwi r0, r0, 2 -/* 8031CDA8 00319D08 7C 63 02 15 */ add. r3, r3, r0 -/* 8031CDAC 00319D0C 41 82 00 08 */ beq lbl_8031CDB4 -/* 8031CDB0 00319D10 93 03 00 00 */ stw r24, 0(r3) -lbl_8031CDB4: -/* 8031CDB4 00319D14 80 BF 02 94 */ lwz r5, 0x294(r31) -/* 8031CDB8 00319D18 38 61 00 34 */ addi r3, r1, 0x34 -/* 8031CDBC 00319D1C 38 80 00 00 */ li r4, 0 -/* 8031CDC0 00319D20 38 05 00 01 */ addi r0, r5, 1 -/* 8031CDC4 00319D24 90 1F 02 94 */ stw r0, 0x294(r31) -/* 8031CDC8 00319D28 48 02 40 79 */ bl __dt__6CTokenFv -/* 8031CDCC 00319D2C 38 61 00 7C */ addi r3, r1, 0x7c -/* 8031CDD0 00319D30 38 80 00 00 */ li r4, 0 -/* 8031CDD4 00319D34 48 02 40 6D */ bl __dt__6CTokenFv -lbl_8031CDD8: -/* 8031CDD8 00319D38 3B 9C 00 1C */ addi r28, r28, 0x1c -/* 8031CDDC 00319D3C 3B 7B 00 01 */ addi r27, r27, 1 -/* 8031CDE0 00319D40 3B 5A 00 01 */ addi r26, r26, 1 -lbl_8031CDE4: -/* 8031CDE4 00319D44 80 1E 00 04 */ lwz r0, 4(r30) -/* 8031CDE8 00319D48 7C 1A 00 00 */ cmpw r26, r0 -/* 8031CDEC 00319D4C 41 80 FE EC */ blt lbl_8031CCD8 -/* 8031CDF0 00319D50 B3 AD 9C F8 */ sth r29, lbl_805A88B8@sda21(r13) -lbl_8031CDF4: -/* 8031CDF4 00319D54 80 7F 00 74 */ lwz r3, 0x74(r31) -/* 8031CDF8 00319D58 80 1F 02 68 */ lwz r0, 0x268(r31) -/* 8031CDFC 00319D5C 7C 03 00 00 */ cmpw r3, r0 -/* 8031CE00 00319D60 40 82 01 4C */ bne lbl_8031CF4C -/* 8031CE04 00319D64 80 1F 00 84 */ lwz r0, 0x84(r31) -/* 8031CE08 00319D68 7C 00 18 00 */ cmpw r0, r3 -/* 8031CE0C 00319D6C 41 82 01 40 */ beq lbl_8031CF4C -/* 8031CE10 00319D70 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 8031CE14 00319D74 88 03 00 9C */ lbz r0, 0x9c(r3) -/* 8031CE18 00319D78 28 00 00 00 */ cmplwi r0, 0 -/* 8031CE1C 00319D7C 41 82 01 30 */ beq lbl_8031CF4C -/* 8031CE20 00319D80 38 00 00 01 */ li r0, 1 -/* 8031CE24 00319D84 90 01 00 14 */ stw r0, 0x14(r1) -/* 8031CE28 00319D88 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 8031CE2C 00319D8C 80 63 00 A0 */ lwz r3, 0xa0(r3) -/* 8031CE30 00319D90 28 03 00 00 */ cmplwi r3, 0 -/* 8031CE34 00319D94 41 82 00 1C */ beq lbl_8031CE50 -/* 8031CE38 00319D98 81 83 00 00 */ lwz r12, 0(r3) -/* 8031CE3C 00319D9C 38 A1 00 14 */ addi r5, r1, 0x14 -/* 8031CE40 00319DA0 38 80 00 00 */ li r4, 0 -/* 8031CE44 00319DA4 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8031CE48 00319DA8 7D 89 03 A6 */ mtctr r12 -/* 8031CE4C 00319DAC 4E 80 04 21 */ bctrl -lbl_8031CE50: -/* 8031CE50 00319DB0 80 81 00 14 */ lwz r4, 0x14(r1) -/* 8031CE54 00319DB4 38 7F 02 90 */ addi r3, r31, 0x290 -/* 8031CE58 00319DB8 80 1F 02 94 */ lwz r0, 0x294(r31) -/* 8031CE5C 00319DBC 7C 84 02 14 */ add r4, r4, r0 -/* 8031CE60 00319DC0 48 00 38 E1 */ bl sub_80320740 -/* 8031CE64 00319DC4 3B 21 00 70 */ addi r25, r1, 0x70 -/* 8031CE68 00319DC8 3B 40 00 00 */ li r26, 0 -/* 8031CE6C 00319DCC 48 00 00 D4 */ b lbl_8031CF40 -lbl_8031CE70: -/* 8031CE70 00319DD0 80 9F 00 28 */ lwz r4, 0x28(r31) -/* 8031CE74 00319DD4 7F 23 CB 78 */ mr r3, r25 -/* 8031CE78 00319DD8 38 84 00 90 */ addi r4, r4, 0x90 -/* 8031CE7C 00319DDC 48 02 40 2D */ bl __ct__6CTokenFRC6CToken -/* 8031CE80 00319DE0 7F 23 CB 78 */ mr r3, r25 -/* 8031CE84 00319DE4 48 02 3F 89 */ bl GetObj__6CTokenFv -/* 8031CE88 00319DE8 80 63 00 04 */ lwz r3, 4(r3) -/* 8031CE8C 00319DEC 90 61 00 78 */ stw r3, 0x78(r1) -/* 8031CE90 00319DF0 88 1F 02 6D */ lbz r0, 0x26d(r31) -/* 8031CE94 00319DF4 88 63 00 32 */ lbz r3, 0x32(r3) -/* 8031CE98 00319DF8 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 8031CE9C 00319DFC 54 60 D7 FE */ rlwinm r0, r3, 0x1a, 0x1f, 0x1f -/* 8031CEA0 00319E00 41 82 00 1C */ beq lbl_8031CEBC -/* 8031CEA4 00319E04 28 00 00 00 */ cmplwi r0, 0 -/* 8031CEA8 00319E08 41 82 00 14 */ beq lbl_8031CEBC -/* 8031CEAC 00319E0C 38 61 00 70 */ addi r3, r1, 0x70 -/* 8031CEB0 00319E10 38 80 00 00 */ li r4, 0 -/* 8031CEB4 00319E14 48 02 3F 8D */ bl __dt__6CTokenFv -/* 8031CEB8 00319E18 48 00 00 94 */ b lbl_8031CF4C -lbl_8031CEBC: -/* 8031CEBC 00319E1C 38 61 00 2C */ addi r3, r1, 0x2c -/* 8031CEC0 00319E20 38 81 00 70 */ addi r4, r1, 0x70 -/* 8031CEC4 00319E24 48 02 3F E5 */ bl __ct__6CTokenFRC6CToken -/* 8031CEC8 00319E28 7F E3 FB 78 */ mr r3, r31 -/* 8031CECC 00319E2C 38 81 00 2C */ addi r4, r1, 0x2c -/* 8031CED0 00319E30 48 00 05 C9 */ bl "ConstructChildParticleSystem__11CElementGenCF25TToken<15CGenDescription>" -/* 8031CED4 00319E34 80 1F 02 94 */ lwz r0, 0x294(r31) -/* 8031CED8 00319E38 7C 7B 1B 78 */ mr r27, r3 -/* 8031CEDC 00319E3C 80 BF 02 98 */ lwz r5, 0x298(r31) -/* 8031CEE0 00319E40 7C 00 28 00 */ cmpw r0, r5 -/* 8031CEE4 00319E44 41 80 00 1C */ blt lbl_8031CF00 -/* 8031CEE8 00319E48 2C 05 00 00 */ cmpwi r5, 0 -/* 8031CEEC 00319E4C 38 7F 02 90 */ addi r3, r31, 0x290 -/* 8031CEF0 00319E50 38 80 00 04 */ li r4, 4 -/* 8031CEF4 00319E54 41 82 00 08 */ beq lbl_8031CEFC -/* 8031CEF8 00319E58 54 A4 08 3C */ slwi r4, r5, 1 -lbl_8031CEFC: -/* 8031CEFC 00319E5C 48 00 38 45 */ bl sub_80320740 -lbl_8031CF00: -/* 8031CF00 00319E60 80 1F 02 94 */ lwz r0, 0x294(r31) -/* 8031CF04 00319E64 80 7F 02 9C */ lwz r3, 0x29c(r31) -/* 8031CF08 00319E68 54 00 10 3A */ slwi r0, r0, 2 -/* 8031CF0C 00319E6C 7C 63 02 15 */ add. r3, r3, r0 -/* 8031CF10 00319E70 41 82 00 08 */ beq lbl_8031CF18 -/* 8031CF14 00319E74 93 63 00 00 */ stw r27, 0(r3) -lbl_8031CF18: -/* 8031CF18 00319E78 80 BF 02 94 */ lwz r5, 0x294(r31) -/* 8031CF1C 00319E7C 38 61 00 2C */ addi r3, r1, 0x2c -/* 8031CF20 00319E80 38 80 00 00 */ li r4, 0 -/* 8031CF24 00319E84 38 05 00 01 */ addi r0, r5, 1 -/* 8031CF28 00319E88 90 1F 02 94 */ stw r0, 0x294(r31) -/* 8031CF2C 00319E8C 48 02 3F 15 */ bl __dt__6CTokenFv -/* 8031CF30 00319E90 38 61 00 70 */ addi r3, r1, 0x70 -/* 8031CF34 00319E94 38 80 00 00 */ li r4, 0 -/* 8031CF38 00319E98 48 02 3F 09 */ bl __dt__6CTokenFv -/* 8031CF3C 00319E9C 3B 5A 00 01 */ addi r26, r26, 1 -lbl_8031CF40: -/* 8031CF40 00319EA0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8031CF44 00319EA4 7C 1A 00 00 */ cmpw r26, r0 -/* 8031CF48 00319EA8 41 80 FF 28 */ blt lbl_8031CE70 -lbl_8031CF4C: -/* 8031CF4C 00319EAC 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 8031CF50 00319EB0 88 03 00 CC */ lbz r0, 0xcc(r3) -/* 8031CF54 00319EB4 28 00 00 00 */ cmplwi r0, 0 -/* 8031CF58 00319EB8 41 82 01 98 */ beq lbl_8031D0F0 -/* 8031CF5C 00319EBC 80 1F 00 84 */ lwz r0, 0x84(r31) -/* 8031CF60 00319EC0 80 7F 00 74 */ lwz r3, 0x74(r31) -/* 8031CF64 00319EC4 7C 00 18 00 */ cmpw r0, r3 -/* 8031CF68 00319EC8 41 82 01 88 */ beq lbl_8031D0F0 -/* 8031CF6C 00319ECC 80 1F 02 AC */ lwz r0, 0x2ac(r31) -/* 8031CF70 00319ED0 7C 03 00 00 */ cmpw r3, r0 -/* 8031CF74 00319ED4 40 82 01 7C */ bne lbl_8031D0F0 -/* 8031CF78 00319ED8 3C 60 80 3D */ lis r3, lbl_803D7910@ha -/* 8031CF7C 00319EDC 3B 20 00 00 */ li r25, 0 -/* 8031CF80 00319EE0 38 83 79 10 */ addi r4, r3, lbl_803D7910@l -/* 8031CF84 00319EE4 38 A0 00 00 */ li r5, 0 -/* 8031CF88 00319EE8 38 60 02 10 */ li r3, 0x210 -/* 8031CF8C 00319EEC 4B FF 88 E1 */ bl __nw__FUlPCcPCc -/* 8031CF90 00319EF0 7C 78 1B 79 */ or. r24, r3, r3 -/* 8031CF94 00319EF4 41 82 00 2C */ beq lbl_8031CFC0 -/* 8031CF98 00319EF8 80 9F 00 28 */ lwz r4, 0x28(r31) -/* 8031CF9C 00319EFC 38 61 00 24 */ addi r3, r1, 0x24 -/* 8031CFA0 00319F00 38 84 00 C0 */ addi r4, r4, 0xc0 -/* 8031CFA4 00319F04 48 02 3F 05 */ bl __ct__6CTokenFRC6CToken -/* 8031CFA8 00319F08 7F 03 C3 78 */ mr r3, r24 -/* 8031CFAC 00319F0C 38 81 00 24 */ addi r4, r1, 0x24 -/* 8031CFB0 00319F10 3B 20 00 01 */ li r25, 1 -/* 8031CFB4 00319F14 38 A0 00 00 */ li r5, 0 -/* 8031CFB8 00319F18 48 01 1E 2D */ bl "__ct__15CParticleSwooshF28TToken<18CSwooshDescription>i" -/* 8031CFBC 00319F1C 7C 78 1B 78 */ mr r24, r3 -lbl_8031CFC0: -/* 8031CFC0 00319F20 7F 20 07 75 */ extsb. r0, r25 -/* 8031CFC4 00319F24 41 82 00 10 */ beq lbl_8031CFD4 -/* 8031CFC8 00319F28 38 61 00 24 */ addi r3, r1, 0x24 -/* 8031CFCC 00319F2C 38 80 00 00 */ li r4, 0 -/* 8031CFD0 00319F30 48 02 3E 71 */ bl __dt__6CTokenFv -lbl_8031CFD4: -/* 8031CFD4 00319F34 7F 03 C3 78 */ mr r3, r24 -/* 8031CFD8 00319F38 38 9F 00 E8 */ addi r4, r31, 0xe8 -/* 8031CFDC 00319F3C 81 98 00 00 */ lwz r12, 0(r24) -/* 8031CFE0 00319F40 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 8031CFE4 00319F44 7D 89 03 A6 */ mtctr r12 -/* 8031CFE8 00319F48 4E 80 04 21 */ bctrl -/* 8031CFEC 00319F4C 7F 03 C3 78 */ mr r3, r24 -/* 8031CFF0 00319F50 38 9F 01 00 */ addi r4, r31, 0x100 -/* 8031CFF4 00319F54 81 98 00 00 */ lwz r12, 0(r24) -/* 8031CFF8 00319F58 81 8C 00 24 */ lwz r12, 0x24(r12) -/* 8031CFFC 00319F5C 7D 89 03 A6 */ mtctr r12 -/* 8031D000 00319F60 4E 80 04 21 */ bctrl -/* 8031D004 00319F64 7F 03 C3 78 */ mr r3, r24 -/* 8031D008 00319F68 38 9F 01 6C */ addi r4, r31, 0x16c -/* 8031D00C 00319F6C 81 98 00 00 */ lwz r12, 0(r24) -/* 8031D010 00319F70 81 8C 00 28 */ lwz r12, 0x28(r12) -/* 8031D014 00319F74 7D 89 03 A6 */ mtctr r12 -/* 8031D018 00319F78 4E 80 04 21 */ bctrl -/* 8031D01C 00319F7C C0 3F 00 E0 */ lfs f1, 0xe0(r31) -/* 8031D020 00319F80 7F 03 C3 78 */ mr r3, r24 -/* 8031D024 00319F84 C0 1F 02 B4 */ lfs f0, 0x2b4(r31) -/* 8031D028 00319F88 38 81 00 58 */ addi r4, r1, 0x58 -/* 8031D02C 00319F8C C0 7F 00 E4 */ lfs f3, 0xe4(r31) -/* 8031D030 00319F90 C0 5F 02 B8 */ lfs f2, 0x2b8(r31) -/* 8031D034 00319F94 EC 81 00 2A */ fadds f4, f1, f0 -/* 8031D038 00319F98 C0 3F 00 DC */ lfs f1, 0xdc(r31) -/* 8031D03C 00319F9C C0 1F 02 B0 */ lfs f0, 0x2b0(r31) -/* 8031D040 00319FA0 EC 43 10 2A */ fadds f2, f3, f2 -/* 8031D044 00319FA4 EC 01 00 2A */ fadds f0, f1, f0 -/* 8031D048 00319FA8 D0 81 00 5C */ stfs f4, 0x5c(r1) -/* 8031D04C 00319FAC D0 41 00 60 */ stfs f2, 0x60(r1) -/* 8031D050 00319FB0 D0 01 00 58 */ stfs f0, 0x58(r1) -/* 8031D054 00319FB4 81 98 00 00 */ lwz r12, 0(r24) -/* 8031D058 00319FB8 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8031D05C 00319FBC 7D 89 03 A6 */ mtctr r12 -/* 8031D060 00319FC0 4E 80 04 21 */ bctrl -/* 8031D064 00319FC4 7F 03 C3 78 */ mr r3, r24 -/* 8031D068 00319FC8 38 9F 01 D8 */ addi r4, r31, 0x1d8 -/* 8031D06C 00319FCC 81 98 00 00 */ lwz r12, 0(r24) -/* 8031D070 00319FD0 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8031D074 00319FD4 7D 89 03 A6 */ mtctr r12 -/* 8031D078 00319FD8 4E 80 04 21 */ bctrl -/* 8031D07C 00319FDC 81 98 00 00 */ lwz r12, 0(r24) -/* 8031D080 00319FE0 7F 03 C3 78 */ mr r3, r24 -/* 8031D084 00319FE4 88 9F 00 88 */ lbz r4, 0x88(r31) -/* 8031D088 00319FE8 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 8031D08C 00319FEC 7D 89 03 A6 */ mtctr r12 -/* 8031D090 00319FF0 4E 80 04 21 */ bctrl -/* 8031D094 00319FF4 80 9F 02 94 */ lwz r4, 0x294(r31) -/* 8031D098 00319FF8 38 7F 02 90 */ addi r3, r31, 0x290 -/* 8031D09C 00319FFC 38 84 00 01 */ addi r4, r4, 1 -/* 8031D0A0 0031A000 48 00 36 A1 */ bl sub_80320740 -/* 8031D0A4 0031A004 80 1F 02 94 */ lwz r0, 0x294(r31) -/* 8031D0A8 0031A008 80 BF 02 98 */ lwz r5, 0x298(r31) -/* 8031D0AC 0031A00C 7C 00 28 00 */ cmpw r0, r5 -/* 8031D0B0 0031A010 41 80 00 1C */ blt lbl_8031D0CC -/* 8031D0B4 0031A014 2C 05 00 00 */ cmpwi r5, 0 -/* 8031D0B8 0031A018 38 7F 02 90 */ addi r3, r31, 0x290 -/* 8031D0BC 0031A01C 38 80 00 04 */ li r4, 4 -/* 8031D0C0 0031A020 41 82 00 08 */ beq lbl_8031D0C8 -/* 8031D0C4 0031A024 54 A4 08 3C */ slwi r4, r5, 1 -lbl_8031D0C8: -/* 8031D0C8 0031A028 48 00 36 79 */ bl sub_80320740 -lbl_8031D0CC: -/* 8031D0CC 0031A02C 80 1F 02 94 */ lwz r0, 0x294(r31) -/* 8031D0D0 0031A030 80 7F 02 9C */ lwz r3, 0x29c(r31) -/* 8031D0D4 0031A034 54 00 10 3A */ slwi r0, r0, 2 -/* 8031D0D8 0031A038 7C 63 02 15 */ add. r3, r3, r0 -/* 8031D0DC 0031A03C 41 82 00 08 */ beq lbl_8031D0E4 -/* 8031D0E0 0031A040 93 03 00 00 */ stw r24, 0(r3) -lbl_8031D0E4: -/* 8031D0E4 0031A044 80 7F 02 94 */ lwz r3, 0x294(r31) -/* 8031D0E8 0031A048 38 03 00 01 */ addi r0, r3, 1 -/* 8031D0EC 0031A04C 90 1F 02 94 */ stw r0, 0x294(r31) -lbl_8031D0F0: -/* 8031D0F0 0031A050 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 8031D0F4 0031A054 88 03 00 E0 */ lbz r0, 0xe0(r3) -/* 8031D0F8 0031A058 28 00 00 00 */ cmplwi r0, 0 -/* 8031D0FC 0031A05C 41 82 01 94 */ beq lbl_8031D290 -/* 8031D100 0031A060 80 1F 00 84 */ lwz r0, 0x84(r31) -/* 8031D104 0031A064 80 7F 00 74 */ lwz r3, 0x74(r31) -/* 8031D108 0031A068 7C 00 18 00 */ cmpw r0, r3 -/* 8031D10C 0031A06C 41 82 01 84 */ beq lbl_8031D290 -/* 8031D110 0031A070 80 1F 02 BC */ lwz r0, 0x2bc(r31) -/* 8031D114 0031A074 7C 03 00 00 */ cmpw r3, r0 -/* 8031D118 0031A078 40 82 01 78 */ bne lbl_8031D290 -/* 8031D11C 0031A07C 3C 60 80 3D */ lis r3, lbl_803D7910@ha -/* 8031D120 0031A080 3B 20 00 00 */ li r25, 0 -/* 8031D124 0031A084 38 83 79 10 */ addi r4, r3, lbl_803D7910@l -/* 8031D128 0031A088 38 A0 00 00 */ li r5, 0 -/* 8031D12C 0031A08C 38 60 04 58 */ li r3, 0x458 -/* 8031D130 0031A090 4B FF 87 3D */ bl __nw__FUlPCcPCc -/* 8031D134 0031A094 7C 78 1B 79 */ or. r24, r3, r3 -/* 8031D138 0031A098 41 82 00 28 */ beq lbl_8031D160 -/* 8031D13C 0031A09C 80 9F 00 28 */ lwz r4, 0x28(r31) -/* 8031D140 0031A0A0 38 61 00 1C */ addi r3, r1, 0x1c -/* 8031D144 0031A0A4 38 84 00 D8 */ addi r4, r4, 0xd8 -/* 8031D148 0031A0A8 48 02 3D 61 */ bl __ct__6CTokenFRC6CToken -/* 8031D14C 0031A0AC 7F 03 C3 78 */ mr r3, r24 -/* 8031D150 0031A0B0 38 81 00 1C */ addi r4, r1, 0x1c -/* 8031D154 0031A0B4 3B 20 00 01 */ li r25, 1 -/* 8031D158 0031A0B8 48 04 50 19 */ bl "__ct__17CParticleElectricF30TToken<20CElectricDescription>" -/* 8031D15C 0031A0BC 7C 78 1B 78 */ mr r24, r3 -lbl_8031D160: -/* 8031D160 0031A0C0 7F 20 07 75 */ extsb. r0, r25 -/* 8031D164 0031A0C4 41 82 00 10 */ beq lbl_8031D174 -/* 8031D168 0031A0C8 38 61 00 1C */ addi r3, r1, 0x1c -/* 8031D16C 0031A0CC 38 80 00 00 */ li r4, 0 -/* 8031D170 0031A0D0 48 02 3C D1 */ bl __dt__6CTokenFv -lbl_8031D174: -/* 8031D174 0031A0D4 7F 03 C3 78 */ mr r3, r24 -/* 8031D178 0031A0D8 38 9F 00 E8 */ addi r4, r31, 0xe8 -/* 8031D17C 0031A0DC 81 98 00 00 */ lwz r12, 0(r24) -/* 8031D180 0031A0E0 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 8031D184 0031A0E4 7D 89 03 A6 */ mtctr r12 -/* 8031D188 0031A0E8 4E 80 04 21 */ bctrl -/* 8031D18C 0031A0EC 7F 03 C3 78 */ mr r3, r24 -/* 8031D190 0031A0F0 38 9F 01 00 */ addi r4, r31, 0x100 -/* 8031D194 0031A0F4 81 98 00 00 */ lwz r12, 0(r24) -/* 8031D198 0031A0F8 81 8C 00 24 */ lwz r12, 0x24(r12) -/* 8031D19C 0031A0FC 7D 89 03 A6 */ mtctr r12 -/* 8031D1A0 0031A100 4E 80 04 21 */ bctrl -/* 8031D1A4 0031A104 7F 03 C3 78 */ mr r3, r24 -/* 8031D1A8 0031A108 38 9F 01 6C */ addi r4, r31, 0x16c -/* 8031D1AC 0031A10C 81 98 00 00 */ lwz r12, 0(r24) -/* 8031D1B0 0031A110 81 8C 00 28 */ lwz r12, 0x28(r12) -/* 8031D1B4 0031A114 7D 89 03 A6 */ mtctr r12 -/* 8031D1B8 0031A118 4E 80 04 21 */ bctrl -/* 8031D1BC 0031A11C C0 3F 00 E0 */ lfs f1, 0xe0(r31) -/* 8031D1C0 0031A120 7F 03 C3 78 */ mr r3, r24 -/* 8031D1C4 0031A124 C0 1F 02 C4 */ lfs f0, 0x2c4(r31) -/* 8031D1C8 0031A128 38 81 00 4C */ addi r4, r1, 0x4c -/* 8031D1CC 0031A12C C0 7F 00 E4 */ lfs f3, 0xe4(r31) -/* 8031D1D0 0031A130 C0 5F 02 C8 */ lfs f2, 0x2c8(r31) -/* 8031D1D4 0031A134 EC 81 00 2A */ fadds f4, f1, f0 -/* 8031D1D8 0031A138 C0 3F 00 DC */ lfs f1, 0xdc(r31) -/* 8031D1DC 0031A13C C0 1F 02 C0 */ lfs f0, 0x2c0(r31) -/* 8031D1E0 0031A140 EC 43 10 2A */ fadds f2, f3, f2 -/* 8031D1E4 0031A144 EC 01 00 2A */ fadds f0, f1, f0 -/* 8031D1E8 0031A148 D0 81 00 50 */ stfs f4, 0x50(r1) -/* 8031D1EC 0031A14C D0 41 00 54 */ stfs f2, 0x54(r1) -/* 8031D1F0 0031A150 D0 01 00 4C */ stfs f0, 0x4c(r1) -/* 8031D1F4 0031A154 81 98 00 00 */ lwz r12, 0(r24) -/* 8031D1F8 0031A158 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8031D1FC 0031A15C 7D 89 03 A6 */ mtctr r12 -/* 8031D200 0031A160 4E 80 04 21 */ bctrl -/* 8031D204 0031A164 7F 03 C3 78 */ mr r3, r24 -/* 8031D208 0031A168 38 9F 01 D8 */ addi r4, r31, 0x1d8 -/* 8031D20C 0031A16C 81 98 00 00 */ lwz r12, 0(r24) -/* 8031D210 0031A170 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8031D214 0031A174 7D 89 03 A6 */ mtctr r12 -/* 8031D218 0031A178 4E 80 04 21 */ bctrl -/* 8031D21C 0031A17C 81 98 00 00 */ lwz r12, 0(r24) -/* 8031D220 0031A180 7F 03 C3 78 */ mr r3, r24 -/* 8031D224 0031A184 88 9F 00 88 */ lbz r4, 0x88(r31) -/* 8031D228 0031A188 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 8031D22C 0031A18C 7D 89 03 A6 */ mtctr r12 -/* 8031D230 0031A190 4E 80 04 21 */ bctrl -/* 8031D234 0031A194 80 9F 02 94 */ lwz r4, 0x294(r31) -/* 8031D238 0031A198 38 7F 02 90 */ addi r3, r31, 0x290 -/* 8031D23C 0031A19C 38 84 00 01 */ addi r4, r4, 1 -/* 8031D240 0031A1A0 48 00 35 01 */ bl sub_80320740 -/* 8031D244 0031A1A4 80 1F 02 94 */ lwz r0, 0x294(r31) -/* 8031D248 0031A1A8 80 BF 02 98 */ lwz r5, 0x298(r31) -/* 8031D24C 0031A1AC 7C 00 28 00 */ cmpw r0, r5 -/* 8031D250 0031A1B0 41 80 00 1C */ blt lbl_8031D26C -/* 8031D254 0031A1B4 2C 05 00 00 */ cmpwi r5, 0 -/* 8031D258 0031A1B8 38 7F 02 90 */ addi r3, r31, 0x290 -/* 8031D25C 0031A1BC 38 80 00 04 */ li r4, 4 -/* 8031D260 0031A1C0 41 82 00 08 */ beq lbl_8031D268 -/* 8031D264 0031A1C4 54 A4 08 3C */ slwi r4, r5, 1 -lbl_8031D268: -/* 8031D268 0031A1C8 48 00 34 D9 */ bl sub_80320740 -lbl_8031D26C: -/* 8031D26C 0031A1CC 80 1F 02 94 */ lwz r0, 0x294(r31) -/* 8031D270 0031A1D0 80 7F 02 9C */ lwz r3, 0x29c(r31) -/* 8031D274 0031A1D4 54 00 10 3A */ slwi r0, r0, 2 -/* 8031D278 0031A1D8 7C 63 02 15 */ add. r3, r3, r0 -/* 8031D27C 0031A1DC 41 82 00 08 */ beq lbl_8031D284 -/* 8031D280 0031A1E0 93 03 00 00 */ stw r24, 0(r3) -lbl_8031D284: -/* 8031D284 0031A1E4 80 7F 02 94 */ lwz r3, 0x294(r31) -/* 8031D288 0031A1E8 38 03 00 01 */ addi r0, r3, 1 -/* 8031D28C 0031A1EC 90 1F 02 94 */ stw r0, 0x294(r31) -lbl_8031D290: -/* 8031D290 0031A1F0 80 1F 02 9C */ lwz r0, 0x29c(r31) -/* 8031D294 0031A1F4 90 01 00 10 */ stw r0, 0x10(r1) -/* 8031D298 0031A1F8 48 00 00 94 */ b lbl_8031D32C -lbl_8031D29C: -/* 8031D29C 0031A1FC 80 61 00 10 */ lwz r3, 0x10(r1) -/* 8031D2A0 0031A200 FC 20 F8 90 */ fmr f1, f31 -/* 8031D2A4 0031A204 83 03 00 00 */ lwz r24, 0(r3) -/* 8031D2A8 0031A208 7F 03 C3 78 */ mr r3, r24 -/* 8031D2AC 0031A20C 81 98 00 00 */ lwz r12, 0(r24) -/* 8031D2B0 0031A210 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8031D2B4 0031A214 7D 89 03 A6 */ mtctr r12 -/* 8031D2B8 0031A218 4E 80 04 21 */ bctrl -/* 8031D2BC 0031A21C 7F 03 C3 78 */ mr r3, r24 -/* 8031D2C0 0031A220 81 98 00 00 */ lwz r12, 0(r24) -/* 8031D2C4 0031A224 81 8C 00 58 */ lwz r12, 0x58(r12) -/* 8031D2C8 0031A228 7D 89 03 A6 */ mtctr r12 -/* 8031D2CC 0031A22C 4E 80 04 21 */ bctrl -/* 8031D2D0 0031A230 54 60 06 3E */ clrlwi r0, r3, 0x18 -/* 8031D2D4 0031A234 28 00 00 01 */ cmplwi r0, 1 -/* 8031D2D8 0031A238 40 82 00 48 */ bne lbl_8031D320 -/* 8031D2DC 0031A23C 28 18 00 00 */ cmplwi r24, 0 -/* 8031D2E0 0031A240 41 82 00 1C */ beq lbl_8031D2FC -/* 8031D2E4 0031A244 7F 03 C3 78 */ mr r3, r24 -/* 8031D2E8 0031A248 38 80 00 01 */ li r4, 1 -/* 8031D2EC 0031A24C 81 98 00 00 */ lwz r12, 0(r24) -/* 8031D2F0 0031A250 81 8C 00 08 */ lwz r12, 8(r12) -/* 8031D2F4 0031A254 7D 89 03 A6 */ mtctr r12 -/* 8031D2F8 0031A258 4E 80 04 21 */ bctrl -lbl_8031D2FC: -/* 8031D2FC 0031A25C 80 01 00 10 */ lwz r0, 0x10(r1) -/* 8031D300 0031A260 38 61 00 0C */ addi r3, r1, 0xc -/* 8031D304 0031A264 38 9F 02 90 */ addi r4, r31, 0x290 -/* 8031D308 0031A268 38 A1 00 08 */ addi r5, r1, 8 -/* 8031D30C 0031A26C 90 01 00 08 */ stw r0, 8(r1) -/* 8031D310 0031A270 48 00 00 69 */ bl sub_8031d378 -/* 8031D314 0031A274 80 01 00 0C */ lwz r0, 0xc(r1) -/* 8031D318 0031A278 90 01 00 10 */ stw r0, 0x10(r1) -/* 8031D31C 0031A27C 48 00 00 10 */ b lbl_8031D32C -lbl_8031D320: -/* 8031D320 0031A280 80 61 00 10 */ lwz r3, 0x10(r1) -/* 8031D324 0031A284 38 03 00 04 */ addi r0, r3, 4 -/* 8031D328 0031A288 90 01 00 10 */ stw r0, 0x10(r1) -lbl_8031D32C: -/* 8031D32C 0031A28C 80 1F 02 94 */ lwz r0, 0x294(r31) -/* 8031D330 0031A290 80 7F 02 9C */ lwz r3, 0x29c(r31) -/* 8031D334 0031A294 54 00 10 3A */ slwi r0, r0, 2 -/* 8031D338 0031A298 80 81 00 10 */ lwz r4, 0x10(r1) -/* 8031D33C 0031A29C 7C 03 02 14 */ add r0, r3, r0 -/* 8031D340 0031A2A0 7C 04 00 40 */ cmplw r4, r0 -/* 8031D344 0031A2A4 40 82 FF 58 */ bne lbl_8031D29C -/* 8031D348 0031A2A8 80 1F 00 74 */ lwz r0, 0x74(r31) -/* 8031D34C 0031A2AC 38 61 00 A0 */ addi r3, r1, 0xa0 -/* 8031D350 0031A2B0 38 80 FF FF */ li r4, -1 -/* 8031D354 0031A2B4 90 1F 00 84 */ stw r0, 0x84(r31) -/* 8031D358 0031A2B8 4B FF 52 AD */ bl __dt__13CGlobalRandomFv -lbl_8031D35C: -/* 8031D35C 0031A2BC E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 -/* 8031D360 0031A2C0 CB E1 00 D0 */ lfd f31, 0xd0(r1) -/* 8031D364 0031A2C4 BB 01 00 B0 */ lmw r24, 0xb0(r1) -/* 8031D368 0031A2C8 80 01 00 E4 */ lwz r0, 0xe4(r1) -/* 8031D36C 0031A2CC 7C 08 03 A6 */ mtlr r0 -/* 8031D370 0031A2D0 38 21 00 E0 */ addi r1, r1, 0xe0 -/* 8031D374 0031A2D4 4E 80 00 20 */ blr - -.global sub_8031d378 -sub_8031d378: -/* 8031D378 0031A2D8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8031D37C 0031A2DC 7C 08 02 A6 */ mflr r0 -/* 8031D380 0031A2E0 90 01 00 24 */ stw r0, 0x24(r1) -/* 8031D384 0031A2E4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8031D388 0031A2E8 7C 7F 1B 78 */ mr r31, r3 -/* 8031D38C 0031A2EC 80 C5 00 00 */ lwz r6, 0(r5) -/* 8031D390 0031A2F0 80 05 00 00 */ lwz r0, 0(r5) -/* 8031D394 0031A2F4 38 A1 00 10 */ addi r5, r1, 0x10 -/* 8031D398 0031A2F8 38 E6 00 04 */ addi r7, r6, 4 -/* 8031D39C 0031A2FC 38 C1 00 0C */ addi r6, r1, 0xc -/* 8031D3A0 0031A300 90 E1 00 08 */ stw r7, 8(r1) -/* 8031D3A4 0031A304 90 E1 00 0C */ stw r7, 0xc(r1) -/* 8031D3A8 0031A308 90 01 00 10 */ stw r0, 0x10(r1) -/* 8031D3AC 0031A30C 48 00 00 19 */ bl sub_8031d3c4 -/* 8031D3B0 0031A310 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8031D3B4 0031A314 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8031D3B8 0031A318 7C 08 03 A6 */ mtlr r0 -/* 8031D3BC 0031A31C 38 21 00 20 */ addi r1, r1, 0x20 -/* 8031D3C0 0031A320 4E 80 00 20 */ blr - -.global sub_8031d3c4 -sub_8031d3c4: -/* 8031D3C4 0031A324 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8031D3C8 0031A328 80 E5 00 00 */ lwz r7, 0(r5) -/* 8031D3CC 0031A32C 80 06 00 00 */ lwz r0, 0(r6) -/* 8031D3D0 0031A330 90 E1 00 0C */ stw r7, 0xc(r1) -/* 8031D3D4 0031A334 90 01 00 08 */ stw r0, 8(r1) -/* 8031D3D8 0031A338 48 00 00 08 */ b lbl_8031D3E0 -lbl_8031D3DC: -/* 8031D3DC 0031A33C 38 E7 00 04 */ addi r7, r7, 4 -lbl_8031D3E0: -/* 8031D3E0 0031A340 7C 07 00 40 */ cmplw r7, r0 -/* 8031D3E4 0031A344 40 82 FF F8 */ bne lbl_8031D3DC -/* 8031D3E8 0031A348 81 04 00 0C */ lwz r8, 0xc(r4) -/* 8031D3EC 0031A34C 80 05 00 00 */ lwz r0, 0(r5) -/* 8031D3F0 0031A350 80 E6 00 00 */ lwz r7, 0(r6) -/* 8031D3F4 0031A354 7C 08 00 50 */ subf r0, r8, r0 -/* 8031D3F8 0031A358 7C 00 16 70 */ srawi r0, r0, 2 -/* 8031D3FC 0031A35C 7C C0 01 94 */ addze r6, r0 -/* 8031D400 0031A360 54 C0 10 3A */ slwi r0, r6, 2 -/* 8031D404 0031A364 7C C9 33 78 */ mr r9, r6 -/* 8031D408 0031A368 7D 08 02 14 */ add r8, r8, r0 -/* 8031D40C 0031A36C 48 00 00 20 */ b lbl_8031D42C -lbl_8031D410: -/* 8031D410 0031A370 28 08 00 00 */ cmplwi r8, 0 -/* 8031D414 0031A374 41 82 00 0C */ beq lbl_8031D420 -/* 8031D418 0031A378 80 07 00 00 */ lwz r0, 0(r7) -/* 8031D41C 0031A37C 90 08 00 00 */ stw r0, 0(r8) -lbl_8031D420: -/* 8031D420 0031A380 39 08 00 04 */ addi r8, r8, 4 -/* 8031D424 0031A384 39 29 00 01 */ addi r9, r9, 1 -/* 8031D428 0031A388 38 E7 00 04 */ addi r7, r7, 4 -lbl_8031D42C: -/* 8031D42C 0031A38C 80 04 00 04 */ lwz r0, 4(r4) -/* 8031D430 0031A390 80 C4 00 0C */ lwz r6, 0xc(r4) -/* 8031D434 0031A394 54 00 10 3A */ slwi r0, r0, 2 -/* 8031D438 0031A398 7C 06 02 14 */ add r0, r6, r0 -/* 8031D43C 0031A39C 7C 07 00 40 */ cmplw r7, r0 -/* 8031D440 0031A3A0 40 82 FF D0 */ bne lbl_8031D410 -/* 8031D444 0031A3A4 91 24 00 04 */ stw r9, 4(r4) -/* 8031D448 0031A3A8 80 05 00 00 */ lwz r0, 0(r5) -/* 8031D44C 0031A3AC 90 03 00 00 */ stw r0, 0(r3) -/* 8031D450 0031A3B0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8031D454 0031A3B4 4E 80 00 20 */ blr - -.global sub_8031d458 -sub_8031d458: -/* 8031D458 0031A3B8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8031D45C 0031A3BC 7C 08 02 A6 */ mflr r0 -/* 8031D460 0031A3C0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8031D464 0031A3C4 88 04 00 18 */ lbz r0, 0x18(r4) -/* 8031D468 0031A3C8 98 03 00 08 */ stb r0, 8(r3) -/* 8031D46C 0031A3CC 88 04 00 18 */ lbz r0, 0x18(r4) -/* 8031D470 0031A3D0 28 00 00 00 */ cmplwi r0, 0 -/* 8031D474 0031A3D4 41 82 00 14 */ beq lbl_8031D488 -/* 8031D478 0031A3D8 28 03 00 00 */ cmplwi r3, 0 -/* 8031D47C 0031A3DC 38 84 00 10 */ addi r4, r4, 0x10 -/* 8031D480 0031A3E0 41 82 00 08 */ beq lbl_8031D488 -/* 8031D484 0031A3E4 48 02 3A 25 */ bl __ct__6CTokenFRC6CToken -lbl_8031D488: -/* 8031D488 0031A3E8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8031D48C 0031A3EC 7C 08 03 A6 */ mtlr r0 -/* 8031D490 0031A3F0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8031D494 0031A3F4 4E 80 00 20 */ blr - -.global "ConstructChildParticleSystem__11CElementGenCF25TToken<15CGenDescription>" -"ConstructChildParticleSystem__11CElementGenCF25TToken<15CGenDescription>": -/* 8031D498 0031A3F8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8031D49C 0031A3FC 7C 08 02 A6 */ mflr r0 -/* 8031D4A0 0031A400 3C A0 80 3D */ lis r5, lbl_803D7910@ha -/* 8031D4A4 0031A404 90 01 00 24 */ stw r0, 0x24(r1) -/* 8031D4A8 0031A408 38 05 79 10 */ addi r0, r5, lbl_803D7910@l -/* 8031D4AC 0031A40C 38 A0 00 00 */ li r5, 0 -/* 8031D4B0 0031A410 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8031D4B4 0031A414 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8031D4B8 0031A418 7C 9E 23 78 */ mr r30, r4 -/* 8031D4BC 0031A41C 7C 04 03 78 */ mr r4, r0 -/* 8031D4C0 0031A420 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8031D4C4 0031A424 7C 7D 1B 78 */ mr r29, r3 -/* 8031D4C8 0031A428 38 60 03 40 */ li r3, 0x340 -/* 8031D4CC 0031A42C 93 81 00 10 */ stw r28, 0x10(r1) -/* 8031D4D0 0031A430 3B 80 00 00 */ li r28, 0 -/* 8031D4D4 0031A434 4B FF 83 99 */ bl __nw__FUlPCcPCc -/* 8031D4D8 0031A438 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8031D4DC 0031A43C 41 82 00 3C */ beq lbl_8031D518 -/* 8031D4E0 0031A440 7F C4 F3 78 */ mr r4, r30 -/* 8031D4E4 0031A444 38 61 00 08 */ addi r3, r1, 8 -/* 8031D4E8 0031A448 48 02 39 C1 */ bl __ct__6CTokenFRC6CToken -/* 8031D4EC 0031A44C 88 1D 02 6D */ lbz r0, 0x26d(r29) -/* 8031D4F0 0031A450 7F E3 FB 78 */ mr r3, r31 -/* 8031D4F4 0031A454 38 81 00 08 */ addi r4, r1, 8 -/* 8031D4F8 0031A458 3B 80 00 01 */ li r28, 1 -/* 8031D4FC 0031A45C 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 8031D500 0031A460 38 A0 00 00 */ li r5, 0 -/* 8031D504 0031A464 38 C0 00 01 */ li r6, 1 -/* 8031D508 0031A468 41 82 00 08 */ beq lbl_8031D510 -/* 8031D50C 0031A46C 38 C0 00 02 */ li r6, 2 -lbl_8031D510: -/* 8031D510 0031A470 48 00 1E D1 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" -/* 8031D514 0031A474 7C 7F 1B 78 */ mr r31, r3 -lbl_8031D518: -/* 8031D518 0031A478 7F 80 07 75 */ extsb. r0, r28 -/* 8031D51C 0031A47C 41 82 00 10 */ beq lbl_8031D52C -/* 8031D520 0031A480 38 61 00 08 */ addi r3, r1, 8 -/* 8031D524 0031A484 38 80 00 00 */ li r4, 0 -/* 8031D528 0031A488 48 02 39 19 */ bl __dt__6CTokenFv -lbl_8031D52C: -/* 8031D52C 0031A48C 88 BD 02 6D */ lbz r5, 0x26d(r29) -/* 8031D530 0031A490 7F E3 FB 78 */ mr r3, r31 -/* 8031D534 0031A494 88 1F 02 6D */ lbz r0, 0x26d(r31) -/* 8031D538 0031A498 38 9D 00 E8 */ addi r4, r29, 0xe8 -/* 8031D53C 0031A49C 50 A0 06 B4 */ rlwimi r0, r5, 0, 0x1a, 0x1a -/* 8031D540 0031A4A0 98 1F 02 6D */ stb r0, 0x26d(r31) -/* 8031D544 0031A4A4 81 9F 00 00 */ lwz r12, 0(r31) -/* 8031D548 0031A4A8 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 8031D54C 0031A4AC 7D 89 03 A6 */ mtctr r12 -/* 8031D550 0031A4B0 4E 80 04 21 */ bctrl -/* 8031D554 0031A4B4 7F E3 FB 78 */ mr r3, r31 -/* 8031D558 0031A4B8 38 9D 02 2C */ addi r4, r29, 0x22c -/* 8031D55C 0031A4BC 81 9F 00 00 */ lwz r12, 0(r31) -/* 8031D560 0031A4C0 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8031D564 0031A4C4 7D 89 03 A6 */ mtctr r12 -/* 8031D568 0031A4C8 4E 80 04 21 */ bctrl -/* 8031D56C 0031A4CC 7F E3 FB 78 */ mr r3, r31 -/* 8031D570 0031A4D0 38 9D 01 00 */ addi r4, r29, 0x100 -/* 8031D574 0031A4D4 81 9F 00 00 */ lwz r12, 0(r31) -/* 8031D578 0031A4D8 81 8C 00 24 */ lwz r12, 0x24(r12) -/* 8031D57C 0031A4DC 7D 89 03 A6 */ mtctr r12 -/* 8031D580 0031A4E0 4E 80 04 21 */ bctrl -/* 8031D584 0031A4E4 7F E3 FB 78 */ mr r3, r31 -/* 8031D588 0031A4E8 38 9D 01 6C */ addi r4, r29, 0x16c -/* 8031D58C 0031A4EC 81 9F 00 00 */ lwz r12, 0(r31) -/* 8031D590 0031A4F0 81 8C 00 28 */ lwz r12, 0x28(r12) -/* 8031D594 0031A4F4 7D 89 03 A6 */ mtctr r12 -/* 8031D598 0031A4F8 4E 80 04 21 */ bctrl -/* 8031D59C 0031A4FC 7F E3 FB 78 */ mr r3, r31 -/* 8031D5A0 0031A500 38 9D 00 DC */ addi r4, r29, 0xdc -/* 8031D5A4 0031A504 81 9F 00 00 */ lwz r12, 0(r31) -/* 8031D5A8 0031A508 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8031D5AC 0031A50C 7D 89 03 A6 */ mtctr r12 -/* 8031D5B0 0031A510 4E 80 04 21 */ bctrl -/* 8031D5B4 0031A514 7F E3 FB 78 */ mr r3, r31 -/* 8031D5B8 0031A518 38 9D 01 D8 */ addi r4, r29, 0x1d8 -/* 8031D5BC 0031A51C 81 9F 00 00 */ lwz r12, 0(r31) -/* 8031D5C0 0031A520 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8031D5C4 0031A524 7D 89 03 A6 */ mtctr r12 -/* 8031D5C8 0031A528 4E 80 04 21 */ bctrl -/* 8031D5CC 0031A52C 7F E3 FB 78 */ mr r3, r31 -/* 8031D5D0 0031A530 88 9D 00 88 */ lbz r4, 0x88(r29) -/* 8031D5D4 0031A534 81 9F 00 00 */ lwz r12, 0(r31) -/* 8031D5D8 0031A538 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 8031D5DC 0031A53C 7D 89 03 A6 */ mtctr r12 -/* 8031D5E0 0031A540 4E 80 04 21 */ bctrl -/* 8031D5E4 0031A544 7F E3 FB 78 */ mr r3, r31 -/* 8031D5E8 0031A548 38 9D 03 38 */ addi r4, r29, 0x338 -/* 8031D5EC 0031A54C 81 9F 00 00 */ lwz r12, 0(r31) -/* 8031D5F0 0031A550 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 8031D5F4 0031A554 7D 89 03 A6 */ mtctr r12 -/* 8031D5F8 0031A558 4E 80 04 21 */ bctrl -/* 8031D5FC 0031A55C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8031D600 0031A560 7F E3 FB 78 */ mr r3, r31 -/* 8031D604 0031A564 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8031D608 0031A568 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8031D60C 0031A56C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8031D610 0031A570 83 81 00 10 */ lwz r28, 0x10(r1) -/* 8031D614 0031A574 7C 08 03 A6 */ mtlr r0 -/* 8031D618 0031A578 38 21 00 20 */ addi r1, r1, 0x20 -/* 8031D61C 0031A57C 4E 80 00 20 */ blr - -.global UpdatePSTranslationAndOrientation__11CElementGenFv -UpdatePSTranslationAndOrientation__11CElementGenFv: -/* 8031D620 0031A580 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8031D624 0031A584 7C 08 02 A6 */ mflr r0 -/* 8031D628 0031A588 90 01 00 24 */ stw r0, 0x24(r1) -/* 8031D62C 0031A58C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8031D630 0031A590 7C 7F 1B 78 */ mr r31, r3 -/* 8031D634 0031A594 38 61 00 08 */ addi r3, r1, 8 -/* 8031D638 0031A598 38 9F 02 7C */ addi r4, r31, 0x27c -/* 8031D63C 0031A59C 4B FF 50 45 */ bl __ct__13CGlobalRandomFR9CRandom16 -/* 8031D640 0031A5A0 80 1F 02 68 */ lwz r0, 0x268(r31) -/* 8031D644 0031A5A4 80 9F 00 74 */ lwz r4, 0x74(r31) -/* 8031D648 0031A5A8 7C 00 20 00 */ cmpw r0, r4 -/* 8031D64C 0031A5AC 41 80 00 78 */ blt lbl_8031D6C4 -/* 8031D650 0031A5B0 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 8031D654 0031A5B4 80 63 00 0C */ lwz r3, 0xc(r3) -/* 8031D658 0031A5B8 28 03 00 00 */ cmplwi r3, 0 -/* 8031D65C 0031A5BC 41 82 00 18 */ beq lbl_8031D674 -/* 8031D660 0031A5C0 81 83 00 00 */ lwz r12, 0(r3) -/* 8031D664 0031A5C4 38 BF 00 F4 */ addi r5, r31, 0xf4 -/* 8031D668 0031A5C8 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8031D66C 0031A5CC 7D 89 03 A6 */ mtctr r12 -/* 8031D670 0031A5D0 4E 80 04 21 */ bctrl -lbl_8031D674: -/* 8031D674 0031A5D4 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 8031D678 0031A5D8 80 63 00 D4 */ lwz r3, 0xd4(r3) -/* 8031D67C 0031A5DC 28 03 00 00 */ cmplwi r3, 0 -/* 8031D680 0031A5E0 41 82 00 1C */ beq lbl_8031D69C -/* 8031D684 0031A5E4 81 83 00 00 */ lwz r12, 0(r3) -/* 8031D688 0031A5E8 38 BF 02 B0 */ addi r5, r31, 0x2b0 -/* 8031D68C 0031A5EC 80 9F 00 74 */ lwz r4, 0x74(r31) -/* 8031D690 0031A5F0 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8031D694 0031A5F4 7D 89 03 A6 */ mtctr r12 -/* 8031D698 0031A5F8 4E 80 04 21 */ bctrl -lbl_8031D69C: -/* 8031D69C 0031A5FC 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 8031D6A0 0031A600 80 63 00 E8 */ lwz r3, 0xe8(r3) -/* 8031D6A4 0031A604 28 03 00 00 */ cmplwi r3, 0 -/* 8031D6A8 0031A608 41 82 00 1C */ beq lbl_8031D6C4 -/* 8031D6AC 0031A60C 81 83 00 00 */ lwz r12, 0(r3) -/* 8031D6B0 0031A610 38 BF 02 C0 */ addi r5, r31, 0x2c0 -/* 8031D6B4 0031A614 80 9F 00 74 */ lwz r4, 0x74(r31) -/* 8031D6B8 0031A618 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8031D6BC 0031A61C 7D 89 03 A6 */ mtctr r12 -/* 8031D6C0 0031A620 4E 80 04 21 */ bctrl -lbl_8031D6C4: -/* 8031D6C4 0031A624 38 61 00 08 */ addi r3, r1, 8 -/* 8031D6C8 0031A628 38 80 FF FF */ li r4, -1 -/* 8031D6CC 0031A62C 4B FF 4F 39 */ bl __dt__13CGlobalRandomFv -/* 8031D6D0 0031A630 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8031D6D4 0031A634 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8031D6D8 0031A638 7C 08 03 A6 */ mtlr r0 -/* 8031D6DC 0031A63C 38 21 00 20 */ addi r1, r1, 0x20 -/* 8031D6E0 0031A640 4E 80 00 20 */ blr - -.global CreateNewParticles__11CElementGenFi -CreateNewParticles__11CElementGenFi: -/* 8031D6E4 0031A644 94 21 FE C0 */ stwu r1, -0x140(r1) -/* 8031D6E8 0031A648 7C 08 02 A6 */ mflr r0 -/* 8031D6EC 0031A64C 90 01 01 44 */ stw r0, 0x144(r1) -/* 8031D6F0 0031A650 BF 41 01 28 */ stmw r26, 0x128(r1) -/* 8031D6F4 0031A654 7C 7A 1B 78 */ mr r26, r3 -/* 8031D6F8 0031A658 7C 9B 23 78 */ mr r27, r4 -/* 8031D6FC 0031A65C 88 0D A8 BA */ lbz r0, lbl_805A947A@sda21(r13) -/* 8031D700 0031A660 28 00 00 00 */ cmplwi r0, 0 -/* 8031D704 0031A664 40 82 00 08 */ bne lbl_8031D70C -/* 8031D708 0031A668 48 00 1A 61 */ bl Initialize__11CElementGenFv -lbl_8031D70C: -/* 8031D70C 0031A66C 80 7A 00 34 */ lwz r3, 0x34(r26) -/* 8031D710 0031A670 7F 7D DB 78 */ mr r29, r27 -/* 8031D714 0031A674 80 9A 00 90 */ lwz r4, 0x90(r26) -/* 8031D718 0031A678 7C 03 20 00 */ cmpw r3, r4 -/* 8031D71C 0031A67C 40 80 05 54 */ bge lbl_8031DC70 -/* 8031D720 0031A680 7C 1B 1A 14 */ add r0, r27, r3 -/* 8031D724 0031A684 7C 00 20 00 */ cmpw r0, r4 -/* 8031D728 0031A688 40 81 00 08 */ ble lbl_8031D730 -/* 8031D72C 0031A68C 7F A3 20 50 */ subf r29, r3, r4 -lbl_8031D730: -/* 8031D730 0031A690 80 6D A8 B0 */ lwz r3, lbl_805A9470@sda21(r13) -/* 8031D734 0031A694 7C 1D 1A 14 */ add r0, r29, r3 -/* 8031D738 0031A698 2C 00 0A 00 */ cmpwi r0, 0xa00 -/* 8031D73C 0031A69C 40 81 00 08 */ ble lbl_8031D744 -/* 8031D740 0031A6A0 23 A3 0A 00 */ subfic r29, r3, 0xa00 -lbl_8031D744: -/* 8031D744 0031A6A4 38 61 00 3C */ addi r3, r1, 0x3c -/* 8031D748 0031A6A8 38 9A 02 7C */ addi r4, r26, 0x27c -/* 8031D74C 0031A6AC 4B FF 4F 35 */ bl __ct__13CGlobalRandomFR9CRandom16 -/* 8031D750 0031A6B0 80 1A 00 34 */ lwz r0, 0x34(r26) -/* 8031D754 0031A6B4 38 7A 00 30 */ addi r3, r26, 0x30 -/* 8031D758 0031A6B8 7C 9D 02 14 */ add r4, r29, r0 -/* 8031D75C 0031A6BC 48 00 2C 65 */ bl sub_803203c0 -/* 8031D760 0031A6C0 88 1A 02 6D */ lbz r0, 0x26d(r26) -/* 8031D764 0031A6C4 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 8031D768 0031A6C8 41 82 01 28 */ beq lbl_8031D890 -/* 8031D76C 0031A6CC 80 1A 00 34 */ lwz r0, 0x34(r26) -/* 8031D770 0031A6D0 80 7A 00 68 */ lwz r3, 0x68(r26) -/* 8031D774 0031A6D4 7C 1D 02 14 */ add r0, r29, r0 -/* 8031D778 0031A6D8 7C 03 00 00 */ cmpw r3, r0 -/* 8031D77C 0031A6DC 40 80 01 14 */ bge lbl_8031D890 -/* 8031D780 0031A6E0 54 63 08 3C */ slwi r3, r3, 1 -/* 8031D784 0031A6E4 90 61 00 08 */ stw r3, 8(r1) -/* 8031D788 0031A6E8 80 1A 00 90 */ lwz r0, 0x90(r26) -/* 8031D78C 0031A6EC 7C 03 00 00 */ cmpw r3, r0 -/* 8031D790 0031A6F0 40 80 00 0C */ bge lbl_8031D79C -/* 8031D794 0031A6F4 38 61 00 08 */ addi r3, r1, 8 -/* 8031D798 0031A6F8 48 00 00 08 */ b lbl_8031D7A0 -lbl_8031D79C: -/* 8031D79C 0031A6FC 38 7A 00 90 */ addi r3, r26, 0x90 -lbl_8031D7A0: -/* 8031D7A0 0031A700 80 83 00 00 */ lwz r4, 0(r3) -/* 8031D7A4 0031A704 38 7A 00 60 */ addi r3, r26, 0x60 -/* 8031D7A8 0031A708 48 00 2E 75 */ bl "reserve__Q24rstl69vectorFi" -/* 8031D7AC 0031A70C 3C 60 80 4C */ lis r3, lbl_804BFE48@ha -/* 8031D7B0 0031A710 3B E3 FE 48 */ addi r31, r3, lbl_804BFE48@l -/* 8031D7B4 0031A714 48 00 00 CC */ b lbl_8031D880 -lbl_8031D7B8: -/* 8031D7B8 0031A718 80 1A 00 64 */ lwz r0, 0x64(r26) -/* 8031D7BC 0031A71C 81 5A 00 68 */ lwz r10, 0x68(r26) -/* 8031D7C0 0031A720 81 3F 00 00 */ lwz r9, 0(r31) -/* 8031D7C4 0031A724 81 1F 00 04 */ lwz r8, 4(r31) -/* 8031D7C8 0031A728 7C 00 50 00 */ cmpw r0, r10 -/* 8031D7CC 0031A72C 80 FF 00 08 */ lwz r7, 8(r31) -/* 8031D7D0 0031A730 80 DF 00 0C */ lwz r6, 0xc(r31) -/* 8031D7D4 0031A734 80 BF 00 10 */ lwz r5, 0x10(r31) -/* 8031D7D8 0031A738 80 9F 00 14 */ lwz r4, 0x14(r31) -/* 8031D7DC 0031A73C 80 7F 00 18 */ lwz r3, 0x18(r31) -/* 8031D7E0 0031A740 80 1F 00 1C */ lwz r0, 0x1c(r31) -/* 8031D7E4 0031A744 91 21 00 48 */ stw r9, 0x48(r1) -/* 8031D7E8 0031A748 91 01 00 4C */ stw r8, 0x4c(r1) -/* 8031D7EC 0031A74C 90 E1 00 50 */ stw r7, 0x50(r1) -/* 8031D7F0 0031A750 90 C1 00 54 */ stw r6, 0x54(r1) -/* 8031D7F4 0031A754 90 A1 00 58 */ stw r5, 0x58(r1) -/* 8031D7F8 0031A758 90 81 00 5C */ stw r4, 0x5c(r1) -/* 8031D7FC 0031A75C 90 61 00 60 */ stw r3, 0x60(r1) -/* 8031D800 0031A760 90 01 00 64 */ stw r0, 0x64(r1) -/* 8031D804 0031A764 41 80 00 1C */ blt lbl_8031D820 -/* 8031D808 0031A768 2C 0A 00 00 */ cmpwi r10, 0 -/* 8031D80C 0031A76C 38 7A 00 60 */ addi r3, r26, 0x60 -/* 8031D810 0031A770 38 80 00 04 */ li r4, 4 -/* 8031D814 0031A774 41 82 00 08 */ beq lbl_8031D81C -/* 8031D818 0031A778 55 44 08 3C */ slwi r4, r10, 1 -lbl_8031D81C: -/* 8031D81C 0031A77C 48 00 2E 01 */ bl "reserve__Q24rstl69vectorFi" -lbl_8031D820: -/* 8031D820 0031A780 80 1A 00 64 */ lwz r0, 0x64(r26) -/* 8031D824 0031A784 80 7A 00 6C */ lwz r3, 0x6c(r26) -/* 8031D828 0031A788 54 00 28 34 */ slwi r0, r0, 5 -/* 8031D82C 0031A78C 7C 83 02 15 */ add. r4, r3, r0 -/* 8031D830 0031A790 41 82 00 44 */ beq lbl_8031D874 -/* 8031D834 0031A794 80 61 00 48 */ lwz r3, 0x48(r1) -/* 8031D838 0031A798 80 01 00 4C */ lwz r0, 0x4c(r1) -/* 8031D83C 0031A79C 90 64 00 00 */ stw r3, 0(r4) -/* 8031D840 0031A7A0 80 61 00 50 */ lwz r3, 0x50(r1) -/* 8031D844 0031A7A4 90 04 00 04 */ stw r0, 4(r4) -/* 8031D848 0031A7A8 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8031D84C 0031A7AC 90 64 00 08 */ stw r3, 8(r4) -/* 8031D850 0031A7B0 80 61 00 58 */ lwz r3, 0x58(r1) -/* 8031D854 0031A7B4 90 04 00 0C */ stw r0, 0xc(r4) -/* 8031D858 0031A7B8 80 01 00 5C */ lwz r0, 0x5c(r1) -/* 8031D85C 0031A7BC 90 64 00 10 */ stw r3, 0x10(r4) -/* 8031D860 0031A7C0 80 61 00 60 */ lwz r3, 0x60(r1) -/* 8031D864 0031A7C4 90 04 00 14 */ stw r0, 0x14(r4) -/* 8031D868 0031A7C8 80 01 00 64 */ lwz r0, 0x64(r1) -/* 8031D86C 0031A7CC 90 64 00 18 */ stw r3, 0x18(r4) -/* 8031D870 0031A7D0 90 04 00 1C */ stw r0, 0x1c(r4) -lbl_8031D874: -/* 8031D874 0031A7D4 80 7A 00 64 */ lwz r3, 0x64(r26) -/* 8031D878 0031A7D8 38 03 00 01 */ addi r0, r3, 1 -/* 8031D87C 0031A7DC 90 1A 00 64 */ stw r0, 0x64(r26) -lbl_8031D880: -/* 8031D880 0031A7E0 80 7A 00 64 */ lwz r3, 0x64(r26) -/* 8031D884 0031A7E4 80 1A 00 68 */ lwz r0, 0x68(r26) -/* 8031D888 0031A7E8 7C 03 00 00 */ cmpw r3, r0 -/* 8031D88C 0031A7EC 41 80 FF 2C */ blt lbl_8031D7B8 -lbl_8031D890: -/* 8031D890 0031A7F0 38 00 00 00 */ li r0, 0 -/* 8031D894 0031A7F4 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8031D898 0031A7F8 90 0D A8 F0 */ stw r0, lbl_805A94B0@sda21(r13) -/* 8031D89C 0031A7FC 3B E3 66 A0 */ addi r31, r3, skZero3f@l -/* 8031D8A0 0031A800 3B 80 00 00 */ li r28, 0 -/* 8031D8A4 0031A804 48 00 03 B8 */ b lbl_8031DC5C -lbl_8031D8A8: -/* 8031D8A8 0031A808 C0 BF 00 00 */ lfs f5, 0(r31) -/* 8031D8AC 0031A80C 38 A0 00 FF */ li r5, 0xff -/* 8031D8B0 0031A810 C0 9F 00 04 */ lfs f4, 4(r31) -/* 8031D8B4 0031A814 38 00 00 00 */ li r0, 0 -/* 8031D8B8 0031A818 C0 7F 00 08 */ lfs f3, 8(r31) -/* 8031D8BC 0031A81C FC 40 28 18 */ frsp f2, f5 -/* 8031D8C0 0031A820 FC 20 20 18 */ frsp f1, f4 -/* 8031D8C4 0031A824 D0 A1 00 F0 */ stfs f5, 0xf0(r1) -/* 8031D8C8 0031A828 FC 00 18 18 */ frsp f0, f3 -/* 8031D8CC 0031A82C 38 7A 00 30 */ addi r3, r26, 0x30 -/* 8031D8D0 0031A830 D0 81 00 F4 */ stfs f4, 0xf4(r1) -/* 8031D8D4 0031A834 38 81 00 EC */ addi r4, r1, 0xec -/* 8031D8D8 0031A838 D0 61 00 F8 */ stfs f3, 0xf8(r1) -/* 8031D8DC 0031A83C D0 A1 00 FC */ stfs f5, 0xfc(r1) -/* 8031D8E0 0031A840 D0 81 01 00 */ stfs f4, 0x100(r1) -/* 8031D8E4 0031A844 D0 61 01 04 */ stfs f3, 0x104(r1) -/* 8031D8E8 0031A848 D0 41 01 08 */ stfs f2, 0x108(r1) -/* 8031D8EC 0031A84C D0 21 01 0C */ stfs f1, 0x10c(r1) -/* 8031D8F0 0031A850 D0 01 01 10 */ stfs f0, 0x110(r1) -/* 8031D8F4 0031A854 98 A1 01 20 */ stb r5, 0x120(r1) -/* 8031D8F8 0031A858 98 01 01 21 */ stb r0, 0x121(r1) -/* 8031D8FC 0031A85C 98 A1 01 22 */ stb r5, 0x122(r1) -/* 8031D900 0031A860 98 A1 01 23 */ stb r5, 0x123(r1) -/* 8031D904 0031A864 48 00 03 81 */ bl sub_8031dc84 -/* 8031D908 0031A868 80 6D A8 B0 */ lwz r3, lbl_805A9470@sda21(r13) -/* 8031D90C 0031A86C 80 9A 00 34 */ lwz r4, 0x34(r26) -/* 8031D910 0031A870 38 03 00 01 */ addi r0, r3, 1 -/* 8031D914 0031A874 90 0D A8 B0 */ stw r0, lbl_805A9470@sda21(r13) -/* 8031D918 0031A878 3B 64 FF FF */ addi r27, r4, -1 -/* 8031D91C 0031A87C 80 7A 02 5C */ lwz r3, 0x25c(r26) -/* 8031D920 0031A880 38 03 00 01 */ addi r0, r3, 1 -/* 8031D924 0031A884 90 1A 02 5C */ stw r0, 0x25c(r26) -/* 8031D928 0031A888 80 7A 02 60 */ lwz r3, 0x260(r26) -/* 8031D92C 0031A88C 38 03 00 01 */ addi r0, r3, 1 -/* 8031D930 0031A890 90 1A 02 60 */ stw r0, 0x260(r26) -/* 8031D934 0031A894 80 1A 00 2C */ lwz r0, 0x2c(r26) -/* 8031D938 0031A898 2C 00 00 01 */ cmpwi r0, 1 -/* 8031D93C 0031A89C 40 82 00 28 */ bne lbl_8031D964 -/* 8031D940 0031A8A0 1C 1B 00 24 */ mulli r0, r27, 0x24 -/* 8031D944 0031A8A4 80 BA 00 5C */ lwz r5, 0x5c(r26) -/* 8031D948 0031A8A8 38 61 00 C8 */ addi r3, r1, 0xc8 -/* 8031D94C 0031A8AC 38 9A 01 D8 */ addi r4, r26, 0x1d8 -/* 8031D950 0031A8B0 7F C5 02 14 */ add r30, r5, r0 -/* 8031D954 0031A8B4 4B FF 57 A1 */ bl BuildMatrix3f__12CTransform4fCFv -/* 8031D958 0031A8B8 7F C3 F3 78 */ mr r3, r30 -/* 8031D95C 0031A8BC 38 81 00 C8 */ addi r4, r1, 0xc8 -/* 8031D960 0031A8C0 4B FF 26 99 */ bl __as__9CMatrix3fFRC9CMatrix3f -lbl_8031D964: -/* 8031D964 0031A8C4 1C 7B 00 38 */ mulli r3, r27, 0x38 -/* 8031D968 0031A8C8 80 9A 00 3C */ lwz r4, 0x3c(r26) -/* 8031D96C 0031A8CC 80 1A 00 74 */ lwz r0, 0x74(r26) -/* 8031D970 0031A8D0 7F C4 1A 14 */ add r30, r4, r3 -/* 8031D974 0031A8D4 90 1E 00 28 */ stw r0, 0x28(r30) -/* 8031D978 0031A8D8 80 7A 00 28 */ lwz r3, 0x28(r26) -/* 8031D97C 0031A8DC 80 63 00 28 */ lwz r3, 0x28(r3) -/* 8031D980 0031A8E0 28 03 00 00 */ cmplwi r3, 0 -/* 8031D984 0031A8E4 41 82 00 1C */ beq lbl_8031D9A0 -/* 8031D988 0031A8E8 81 83 00 00 */ lwz r12, 0(r3) -/* 8031D98C 0031A8EC 7F C5 F3 78 */ mr r5, r30 -/* 8031D990 0031A8F0 38 80 00 00 */ li r4, 0 -/* 8031D994 0031A8F4 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8031D998 0031A8F8 7D 89 03 A6 */ mtctr r12 -/* 8031D99C 0031A8FC 4E 80 04 21 */ bctrl -lbl_8031D9A0: -/* 8031D9A0 0031A900 80 7E 00 00 */ lwz r3, 0(r30) -/* 8031D9A4 0031A904 48 00 CD D5 */ bl SetParticleLifetime__16CParticleGlobalsFi -/* 8031D9A8 0031A908 38 60 00 00 */ li r3, 0 -/* 8031D9AC 0031A90C 48 00 CC D1 */ bl UpdateParticleLifetimeTweenValues__16CParticleGlobalsFi -/* 8031D9B0 0031A910 93 CD A8 EC */ stw r30, lbl_805A94AC@sda21(r13) -/* 8031D9B4 0031A914 88 1A 02 6D */ lbz r0, 0x26d(r26) -/* 8031D9B8 0031A918 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 8031D9BC 0031A91C 41 82 00 14 */ beq lbl_8031D9D0 -/* 8031D9C0 0031A920 7F 43 D3 78 */ mr r3, r26 -/* 8031D9C4 0031A924 7F 64 DB 78 */ mr r4, r27 -/* 8031D9C8 0031A928 38 A0 00 00 */ li r5, 0 -/* 8031D9CC 0031A92C 48 00 09 E5 */ bl UpdateAdvanceAccessParameters__11CElementGenFii -lbl_8031D9D0: -/* 8031D9D0 0031A930 80 7E 00 00 */ lwz r3, 0(r30) -/* 8031D9D4 0031A934 80 1A 00 74 */ lwz r0, 0x74(r26) -/* 8031D9D8 0031A938 7C 03 02 14 */ add r0, r3, r0 -/* 8031D9DC 0031A93C 90 1E 00 00 */ stw r0, 0(r30) -/* 8031D9E0 0031A940 80 7A 00 28 */ lwz r3, 0x28(r26) -/* 8031D9E4 0031A944 80 63 00 24 */ lwz r3, 0x24(r3) -/* 8031D9E8 0031A948 28 03 00 00 */ cmplwi r3, 0 -/* 8031D9EC 0031A94C 41 82 00 20 */ beq lbl_8031DA0C -/* 8031D9F0 0031A950 81 83 00 00 */ lwz r12, 0(r3) -/* 8031D9F4 0031A954 38 BE 00 34 */ addi r5, r30, 0x34 -/* 8031D9F8 0031A958 38 80 00 00 */ li r4, 0 -/* 8031D9FC 0031A95C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8031DA00 0031A960 7D 89 03 A6 */ mtctr r12 -/* 8031DA04 0031A964 4E 80 04 21 */ bctrl -/* 8031DA08 0031A968 48 00 00 0C */ b lbl_8031DA14 -lbl_8031DA0C: -/* 8031DA0C 0031A96C 38 00 FF FF */ li r0, -1 -/* 8031DA10 0031A970 90 1E 00 34 */ stw r0, 0x34(r30) -lbl_8031DA14: -/* 8031DA14 0031A974 80 7A 00 28 */ lwz r3, 0x28(r26) -/* 8031DA18 0031A978 80 63 00 2C */ lwz r3, 0x2c(r3) -/* 8031DA1C 0031A97C 28 03 00 00 */ cmplwi r3, 0 -/* 8031DA20 0031A980 41 82 00 C4 */ beq lbl_8031DAE4 -/* 8031DA24 0031A984 81 83 00 00 */ lwz r12, 0(r3) -/* 8031DA28 0031A988 38 BE 00 04 */ addi r5, r30, 4 -/* 8031DA2C 0031A98C 38 DE 00 1C */ addi r6, r30, 0x1c -/* 8031DA30 0031A990 80 9A 00 74 */ lwz r4, 0x74(r26) -/* 8031DA34 0031A994 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8031DA38 0031A998 7D 89 03 A6 */ mtctr r12 -/* 8031DA3C 0031A99C 4E 80 04 21 */ bctrl -/* 8031DA40 0031A9A0 38 61 00 98 */ addi r3, r1, 0x98 -/* 8031DA44 0031A9A4 38 9A 01 3C */ addi r4, r26, 0x13c -/* 8031DA48 0031A9A8 38 BA 01 A8 */ addi r5, r26, 0x1a8 -/* 8031DA4C 0031A9AC 4B FF 4F 05 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 8031DA50 0031A9B0 38 61 00 24 */ addi r3, r1, 0x24 -/* 8031DA54 0031A9B4 38 81 00 98 */ addi r4, r1, 0x98 -/* 8031DA58 0031A9B8 38 BA 00 DC */ addi r5, r26, 0xdc -/* 8031DA5C 0031A9BC 4B FF 50 8D */ bl __ml__12CTransform4fCFRC9CVector3f -/* 8031DA60 0031A9C0 38 61 00 30 */ addi r3, r1, 0x30 -/* 8031DA64 0031A9C4 38 9A 01 D8 */ addi r4, r26, 0x1d8 -/* 8031DA68 0031A9C8 38 BE 00 04 */ addi r5, r30, 4 -/* 8031DA6C 0031A9CC 4B FF 50 15 */ bl Rotate__12CTransform4fCFRC9CVector3f -/* 8031DA70 0031A9D0 C0 21 00 30 */ lfs f1, 0x30(r1) -/* 8031DA74 0031A9D4 38 61 00 18 */ addi r3, r1, 0x18 -/* 8031DA78 0031A9D8 C0 01 00 24 */ lfs f0, 0x24(r1) -/* 8031DA7C 0031A9DC 38 9A 01 D8 */ addi r4, r26, 0x1d8 -/* 8031DA80 0031A9E0 C0 61 00 34 */ lfs f3, 0x34(r1) -/* 8031DA84 0031A9E4 38 BE 00 1C */ addi r5, r30, 0x1c -/* 8031DA88 0031A9E8 C0 41 00 28 */ lfs f2, 0x28(r1) -/* 8031DA8C 0031A9EC EC 21 00 2A */ fadds f1, f1, f0 -/* 8031DA90 0031A9F0 C0 1A 00 F4 */ lfs f0, 0xf4(r26) -/* 8031DA94 0031A9F4 EC A3 10 2A */ fadds f5, f3, f2 -/* 8031DA98 0031A9F8 C0 9A 00 F8 */ lfs f4, 0xf8(r26) -/* 8031DA9C 0031A9FC C0 61 00 38 */ lfs f3, 0x38(r1) -/* 8031DAA0 0031AA00 EC 01 00 2A */ fadds f0, f1, f0 -/* 8031DAA4 0031AA04 C0 41 00 2C */ lfs f2, 0x2c(r1) -/* 8031DAA8 0031AA08 C0 3A 00 FC */ lfs f1, 0xfc(r26) -/* 8031DAAC 0031AA0C EC 43 10 2A */ fadds f2, f3, f2 -/* 8031DAB0 0031AA10 EC 65 20 2A */ fadds f3, f5, f4 -/* 8031DAB4 0031AA14 D0 1E 00 04 */ stfs f0, 4(r30) -/* 8031DAB8 0031AA18 EC 02 08 2A */ fadds f0, f2, f1 -/* 8031DABC 0031AA1C D0 7E 00 08 */ stfs f3, 8(r30) -/* 8031DAC0 0031AA20 D0 1E 00 0C */ stfs f0, 0xc(r30) -/* 8031DAC4 0031AA24 4B FF 4F BD */ bl Rotate__12CTransform4fCFRC9CVector3f -/* 8031DAC8 0031AA28 C0 01 00 18 */ lfs f0, 0x18(r1) -/* 8031DACC 0031AA2C D0 1E 00 1C */ stfs f0, 0x1c(r30) -/* 8031DAD0 0031AA30 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 8031DAD4 0031AA34 D0 1E 00 20 */ stfs f0, 0x20(r30) -/* 8031DAD8 0031AA38 C0 01 00 20 */ lfs f0, 0x20(r1) -/* 8031DADC 0031AA3C D0 1E 00 24 */ stfs f0, 0x24(r30) -/* 8031DAE0 0031AA40 48 00 00 70 */ b lbl_8031DB50 -lbl_8031DAE4: -/* 8031DAE4 0031AA44 38 61 00 68 */ addi r3, r1, 0x68 -/* 8031DAE8 0031AA48 38 9A 01 3C */ addi r4, r26, 0x13c -/* 8031DAEC 0031AA4C 38 BA 01 A8 */ addi r5, r26, 0x1a8 -/* 8031DAF0 0031AA50 4B FF 4E 61 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 8031DAF4 0031AA54 38 61 00 0C */ addi r3, r1, 0xc -/* 8031DAF8 0031AA58 38 81 00 68 */ addi r4, r1, 0x68 -/* 8031DAFC 0031AA5C 38 BA 00 DC */ addi r5, r26, 0xdc -/* 8031DB00 0031AA60 4B FF 4F E9 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 8031DB04 0031AA64 C0 21 00 0C */ lfs f1, 0xc(r1) -/* 8031DB08 0031AA68 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8031DB0C 0031AA6C C0 1A 00 F4 */ lfs f0, 0xf4(r26) -/* 8031DB10 0031AA70 C0 81 00 10 */ lfs f4, 0x10(r1) -/* 8031DB14 0031AA74 C0 7A 00 F8 */ lfs f3, 0xf8(r26) -/* 8031DB18 0031AA78 EC 01 00 2A */ fadds f0, f1, f0 -/* 8031DB1C 0031AA7C C0 41 00 14 */ lfs f2, 0x14(r1) -/* 8031DB20 0031AA80 C0 3A 00 FC */ lfs f1, 0xfc(r26) -/* 8031DB24 0031AA84 EC 64 18 2A */ fadds f3, f4, f3 -/* 8031DB28 0031AA88 D0 1E 00 04 */ stfs f0, 4(r30) -/* 8031DB2C 0031AA8C EC 02 08 2A */ fadds f0, f2, f1 -/* 8031DB30 0031AA90 D0 7E 00 08 */ stfs f3, 8(r30) -/* 8031DB34 0031AA94 D0 1E 00 0C */ stfs f0, 0xc(r30) -/* 8031DB38 0031AA98 C0 03 66 A0 */ lfs f0, skZero3f@l(r3) -/* 8031DB3C 0031AA9C D0 1E 00 1C */ stfs f0, 0x1c(r30) -/* 8031DB40 0031AAA0 C0 1F 00 04 */ lfs f0, 4(r31) -/* 8031DB44 0031AAA4 D0 1E 00 20 */ stfs f0, 0x20(r30) -/* 8031DB48 0031AAA8 C0 1F 00 08 */ lfs f0, 8(r31) -/* 8031DB4C 0031AAAC D0 1E 00 24 */ stfs f0, 0x24(r30) -lbl_8031DB50: -/* 8031DB50 0031AAB0 C0 1E 00 04 */ lfs f0, 4(r30) -/* 8031DB54 0031AAB4 D0 1E 00 10 */ stfs f0, 0x10(r30) -/* 8031DB58 0031AAB8 C0 1E 00 08 */ lfs f0, 8(r30) -/* 8031DB5C 0031AABC D0 1E 00 14 */ stfs f0, 0x14(r30) -/* 8031DB60 0031AAC0 C0 1E 00 0C */ lfs f0, 0xc(r30) -/* 8031DB64 0031AAC4 D0 1E 00 18 */ stfs f0, 0x18(r30) -/* 8031DB68 0031AAC8 88 1A 02 6C */ lbz r0, 0x26c(r26) -/* 8031DB6C 0031AACC 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 8031DB70 0031AAD0 41 82 00 70 */ beq lbl_8031DBE0 -/* 8031DB74 0031AAD4 80 7A 00 28 */ lwz r3, 0x28(r26) -/* 8031DB78 0031AAD8 80 63 00 14 */ lwz r3, 0x14(r3) -/* 8031DB7C 0031AADC 28 03 00 00 */ cmplwi r3, 0 -/* 8031DB80 0031AAE0 41 82 00 20 */ beq lbl_8031DBA0 -/* 8031DB84 0031AAE4 81 83 00 00 */ lwz r12, 0(r3) -/* 8031DB88 0031AAE8 38 BE 00 2C */ addi r5, r30, 0x2c -/* 8031DB8C 0031AAEC 38 80 00 00 */ li r4, 0 -/* 8031DB90 0031AAF0 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8031DB94 0031AAF4 7D 89 03 A6 */ mtctr r12 -/* 8031DB98 0031AAF8 4E 80 04 21 */ bctrl -/* 8031DB9C 0031AAFC 48 00 00 0C */ b lbl_8031DBA8 -lbl_8031DBA0: -/* 8031DBA0 0031AB00 C0 02 C9 F0 */ lfs f0, lbl_805AE710@sda21(r2) -/* 8031DBA4 0031AB04 D0 1E 00 2C */ stfs f0, 0x2c(r30) -lbl_8031DBA8: -/* 8031DBA8 0031AB08 80 7A 00 28 */ lwz r3, 0x28(r26) -/* 8031DBAC 0031AB0C 80 63 00 18 */ lwz r3, 0x18(r3) -/* 8031DBB0 0031AB10 28 03 00 00 */ cmplwi r3, 0 -/* 8031DBB4 0031AB14 41 82 00 20 */ beq lbl_8031DBD4 -/* 8031DBB8 0031AB18 81 83 00 00 */ lwz r12, 0(r3) -/* 8031DBBC 0031AB1C 38 BE 00 30 */ addi r5, r30, 0x30 -/* 8031DBC0 0031AB20 38 80 00 00 */ li r4, 0 -/* 8031DBC4 0031AB24 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8031DBC8 0031AB28 7D 89 03 A6 */ mtctr r12 -/* 8031DBCC 0031AB2C 4E 80 04 21 */ bctrl -/* 8031DBD0 0031AB30 48 00 00 78 */ b lbl_8031DC48 -lbl_8031DBD4: -/* 8031DBD4 0031AB34 C0 02 C9 F0 */ lfs f0, lbl_805AE710@sda21(r2) -/* 8031DBD8 0031AB38 D0 1E 00 30 */ stfs f0, 0x30(r30) -/* 8031DBDC 0031AB3C 48 00 00 6C */ b lbl_8031DC48 -lbl_8031DBE0: -/* 8031DBE0 0031AB40 80 7A 00 28 */ lwz r3, 0x28(r26) -/* 8031DBE4 0031AB44 80 63 00 3C */ lwz r3, 0x3c(r3) -/* 8031DBE8 0031AB48 28 03 00 00 */ cmplwi r3, 0 -/* 8031DBEC 0031AB4C 41 82 00 20 */ beq lbl_8031DC0C -/* 8031DBF0 0031AB50 81 83 00 00 */ lwz r12, 0(r3) -/* 8031DBF4 0031AB54 38 BE 00 30 */ addi r5, r30, 0x30 -/* 8031DBF8 0031AB58 38 80 00 00 */ li r4, 0 -/* 8031DBFC 0031AB5C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8031DC00 0031AB60 7D 89 03 A6 */ mtctr r12 -/* 8031DC04 0031AB64 4E 80 04 21 */ bctrl -/* 8031DC08 0031AB68 48 00 00 0C */ b lbl_8031DC14 -lbl_8031DC0C: -/* 8031DC0C 0031AB6C C0 02 C9 E8 */ lfs f0, lbl_805AE708@sda21(r2) -/* 8031DC10 0031AB70 D0 1E 00 30 */ stfs f0, 0x30(r30) -lbl_8031DC14: -/* 8031DC14 0031AB74 80 7A 00 28 */ lwz r3, 0x28(r26) -/* 8031DC18 0031AB78 80 63 00 38 */ lwz r3, 0x38(r3) -/* 8031DC1C 0031AB7C 28 03 00 00 */ cmplwi r3, 0 -/* 8031DC20 0031AB80 41 82 00 20 */ beq lbl_8031DC40 -/* 8031DC24 0031AB84 81 83 00 00 */ lwz r12, 0(r3) -/* 8031DC28 0031AB88 38 BE 00 2C */ addi r5, r30, 0x2c -/* 8031DC2C 0031AB8C 38 80 00 00 */ li r4, 0 -/* 8031DC30 0031AB90 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8031DC34 0031AB94 7D 89 03 A6 */ mtctr r12 -/* 8031DC38 0031AB98 4E 80 04 21 */ bctrl -/* 8031DC3C 0031AB9C 48 00 00 0C */ b lbl_8031DC48 -lbl_8031DC40: -/* 8031DC40 0031ABA0 C0 02 CA 30 */ lfs f0, lbl_805AE750@sda21(r2) -/* 8031DC44 0031ABA4 D0 1E 00 2C */ stfs f0, 0x2c(r30) -lbl_8031DC48: -/* 8031DC48 0031ABA8 C0 3E 00 2C */ lfs f1, 0x2c(r30) -/* 8031DC4C 0031ABAC 7F 43 D3 78 */ mr r3, r26 -/* 8031DC50 0031ABB0 38 9E 00 04 */ addi r4, r30, 4 -/* 8031DC54 0031ABB4 4B FF A0 C5 */ bl AccumulateBounds__11CElementGenFRC9CVector3ff -/* 8031DC58 0031ABB8 3B 9C 00 01 */ addi r28, r28, 1 -lbl_8031DC5C: -/* 8031DC5C 0031ABBC 7C 1C E8 00 */ cmpw r28, r29 -/* 8031DC60 0031ABC0 41 80 FC 48 */ blt lbl_8031D8A8 -/* 8031DC64 0031ABC4 38 61 00 3C */ addi r3, r1, 0x3c -/* 8031DC68 0031ABC8 38 80 FF FF */ li r4, -1 -/* 8031DC6C 0031ABCC 4B FF 49 99 */ bl __dt__13CGlobalRandomFv -lbl_8031DC70: -/* 8031DC70 0031ABD0 BB 41 01 28 */ lmw r26, 0x128(r1) -/* 8031DC74 0031ABD4 80 01 01 44 */ lwz r0, 0x144(r1) -/* 8031DC78 0031ABD8 7C 08 03 A6 */ mtlr r0 -/* 8031DC7C 0031ABDC 38 21 01 40 */ addi r1, r1, 0x140 -/* 8031DC80 0031ABE0 4E 80 00 20 */ blr - -.global sub_8031dc84 -sub_8031dc84: -/* 8031DC84 0031ABE4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8031DC88 0031ABE8 7C 08 02 A6 */ mflr r0 -/* 8031DC8C 0031ABEC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8031DC90 0031ABF0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8031DC94 0031ABF4 7C 9F 23 78 */ mr r31, r4 -/* 8031DC98 0031ABF8 93 C1 00 08 */ stw r30, 8(r1) -/* 8031DC9C 0031ABFC 7C 7E 1B 78 */ mr r30, r3 -/* 8031DCA0 0031AC00 80 03 00 04 */ lwz r0, 4(r3) -/* 8031DCA4 0031AC04 80 A3 00 08 */ lwz r5, 8(r3) -/* 8031DCA8 0031AC08 7C 00 28 00 */ cmpw r0, r5 -/* 8031DCAC 0031AC0C 41 80 00 18 */ blt lbl_8031DCC4 -/* 8031DCB0 0031AC10 2C 05 00 00 */ cmpwi r5, 0 -/* 8031DCB4 0031AC14 38 80 00 04 */ li r4, 4 -/* 8031DCB8 0031AC18 41 82 00 08 */ beq lbl_8031DCC0 -/* 8031DCBC 0031AC1C 54 A4 08 3C */ slwi r4, r5, 1 -lbl_8031DCC0: -/* 8031DCC0 0031AC20 48 00 27 01 */ bl sub_803203c0 -lbl_8031DCC4: -/* 8031DCC4 0031AC24 80 1E 00 04 */ lwz r0, 4(r30) -/* 8031DCC8 0031AC28 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 8031DCCC 0031AC2C 1C 00 00 38 */ mulli r0, r0, 0x38 -/* 8031DCD0 0031AC30 7C 63 02 15 */ add. r3, r3, r0 -/* 8031DCD4 0031AC34 41 82 00 74 */ beq lbl_8031DD48 -/* 8031DCD8 0031AC38 80 1F 00 00 */ lwz r0, 0(r31) -/* 8031DCDC 0031AC3C 90 03 00 00 */ stw r0, 0(r3) -/* 8031DCE0 0031AC40 C0 1F 00 04 */ lfs f0, 4(r31) -/* 8031DCE4 0031AC44 D0 03 00 04 */ stfs f0, 4(r3) -/* 8031DCE8 0031AC48 C0 1F 00 08 */ lfs f0, 8(r31) -/* 8031DCEC 0031AC4C D0 03 00 08 */ stfs f0, 8(r3) -/* 8031DCF0 0031AC50 C0 1F 00 0C */ lfs f0, 0xc(r31) -/* 8031DCF4 0031AC54 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 8031DCF8 0031AC58 C0 1F 00 10 */ lfs f0, 0x10(r31) -/* 8031DCFC 0031AC5C D0 03 00 10 */ stfs f0, 0x10(r3) -/* 8031DD00 0031AC60 C0 1F 00 14 */ lfs f0, 0x14(r31) -/* 8031DD04 0031AC64 D0 03 00 14 */ stfs f0, 0x14(r3) -/* 8031DD08 0031AC68 C0 1F 00 18 */ lfs f0, 0x18(r31) -/* 8031DD0C 0031AC6C D0 03 00 18 */ stfs f0, 0x18(r3) -/* 8031DD10 0031AC70 C0 1F 00 1C */ lfs f0, 0x1c(r31) -/* 8031DD14 0031AC74 D0 03 00 1C */ stfs f0, 0x1c(r3) -/* 8031DD18 0031AC78 C0 1F 00 20 */ lfs f0, 0x20(r31) -/* 8031DD1C 0031AC7C D0 03 00 20 */ stfs f0, 0x20(r3) -/* 8031DD20 0031AC80 C0 1F 00 24 */ lfs f0, 0x24(r31) -/* 8031DD24 0031AC84 D0 03 00 24 */ stfs f0, 0x24(r3) -/* 8031DD28 0031AC88 80 1F 00 28 */ lwz r0, 0x28(r31) -/* 8031DD2C 0031AC8C 90 03 00 28 */ stw r0, 0x28(r3) -/* 8031DD30 0031AC90 C0 1F 00 2C */ lfs f0, 0x2c(r31) -/* 8031DD34 0031AC94 D0 03 00 2C */ stfs f0, 0x2c(r3) -/* 8031DD38 0031AC98 C0 1F 00 30 */ lfs f0, 0x30(r31) -/* 8031DD3C 0031AC9C D0 03 00 30 */ stfs f0, 0x30(r3) -/* 8031DD40 0031ACA0 80 1F 00 34 */ lwz r0, 0x34(r31) -/* 8031DD44 0031ACA4 90 03 00 34 */ stw r0, 0x34(r3) -lbl_8031DD48: -/* 8031DD48 0031ACA8 80 7E 00 04 */ lwz r3, 4(r30) -/* 8031DD4C 0031ACAC 38 03 00 01 */ addi r0, r3, 1 -/* 8031DD50 0031ACB0 90 1E 00 04 */ stw r0, 4(r30) -/* 8031DD54 0031ACB4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8031DD58 0031ACB8 83 C1 00 08 */ lwz r30, 8(r1) -/* 8031DD5C 0031ACBC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8031DD60 0031ACC0 7C 08 03 A6 */ mtlr r0 -/* 8031DD64 0031ACC4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8031DD68 0031ACC8 4E 80 00 20 */ blr - -.global UpdateExistingParticles__11CElementGenFv -UpdateExistingParticles__11CElementGenFv: -/* 8031DD6C 0031ACCC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8031DD70 0031ACD0 7C 08 02 A6 */ mflr r0 -/* 8031DD74 0031ACD4 90 01 00 24 */ stw r0, 0x24(r1) -/* 8031DD78 0031ACD8 38 00 00 00 */ li r0, 0 -/* 8031DD7C 0031ACDC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8031DD80 0031ACE0 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8031DD84 0031ACE4 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8031DD88 0031ACE8 7C 7D 1B 78 */ mr r29, r3 -/* 8031DD8C 0031ACEC 83 E3 00 3C */ lwz r31, 0x3c(r3) -/* 8031DD90 0031ACF0 90 03 02 5C */ stw r0, 0x25c(r3) -/* 8031DD94 0031ACF4 80 63 00 74 */ lwz r3, 0x74(r3) -/* 8031DD98 0031ACF8 48 00 C9 B1 */ bl SetEmitterTime__16CParticleGlobalsFi -/* 8031DD9C 0031ACFC 38 00 00 00 */ li r0, 0 -/* 8031DDA0 0031AD00 90 0D A8 F0 */ stw r0, lbl_805A94B0@sda21(r13) -/* 8031DDA4 0031AD04 48 00 03 98 */ b lbl_8031E13C -lbl_8031DDA8: -/* 8031DDA8 0031AD08 80 7F 00 00 */ lwz r3, 0(r31) -/* 8031DDAC 0031AD0C 80 1D 00 74 */ lwz r0, 0x74(r29) -/* 8031DDB0 0031AD10 7C 03 00 00 */ cmpw r3, r0 -/* 8031DDB4 0031AD14 40 80 01 84 */ bge lbl_8031DF38 -/* 8031DDB8 0031AD18 80 6D A8 B0 */ lwz r3, lbl_805A9470@sda21(r13) -/* 8031DDBC 0031AD1C 38 1F 00 38 */ addi r0, r31, 0x38 -/* 8031DDC0 0031AD20 38 63 FF FF */ addi r3, r3, -1 -/* 8031DDC4 0031AD24 90 6D A8 B0 */ stw r3, lbl_805A9470@sda21(r13) -/* 8031DDC8 0031AD28 80 9D 00 34 */ lwz r4, 0x34(r29) -/* 8031DDCC 0031AD2C 80 BD 00 3C */ lwz r5, 0x3c(r29) -/* 8031DDD0 0031AD30 1C 64 00 38 */ mulli r3, r4, 0x38 -/* 8031DDD4 0031AD34 7C 65 1A 14 */ add r3, r5, r3 -/* 8031DDD8 0031AD38 7C 00 18 40 */ cmplw r0, r3 -/* 8031DDDC 0031AD3C 40 82 00 10 */ bne lbl_8031DDEC -/* 8031DDE0 0031AD40 38 04 FF FF */ addi r0, r4, -1 -/* 8031DDE4 0031AD44 90 1D 00 34 */ stw r0, 0x34(r29) -/* 8031DDE8 0031AD48 48 00 03 6C */ b lbl_8031E154 -lbl_8031DDEC: -/* 8031DDEC 0031AD4C 38 04 FF FF */ addi r0, r4, -1 -/* 8031DDF0 0031AD50 1C 00 00 38 */ mulli r0, r0, 0x38 -/* 8031DDF4 0031AD54 7C 85 02 14 */ add r4, r5, r0 -/* 8031DDF8 0031AD58 80 04 00 00 */ lwz r0, 0(r4) -/* 8031DDFC 0031AD5C 90 1F 00 00 */ stw r0, 0(r31) -/* 8031DE00 0031AD60 80 64 00 04 */ lwz r3, 4(r4) -/* 8031DE04 0031AD64 80 04 00 08 */ lwz r0, 8(r4) -/* 8031DE08 0031AD68 90 7F 00 04 */ stw r3, 4(r31) -/* 8031DE0C 0031AD6C 90 1F 00 08 */ stw r0, 8(r31) -/* 8031DE10 0031AD70 80 04 00 0C */ lwz r0, 0xc(r4) -/* 8031DE14 0031AD74 90 1F 00 0C */ stw r0, 0xc(r31) -/* 8031DE18 0031AD78 80 64 00 10 */ lwz r3, 0x10(r4) -/* 8031DE1C 0031AD7C 80 04 00 14 */ lwz r0, 0x14(r4) -/* 8031DE20 0031AD80 90 7F 00 10 */ stw r3, 0x10(r31) -/* 8031DE24 0031AD84 90 1F 00 14 */ stw r0, 0x14(r31) -/* 8031DE28 0031AD88 80 04 00 18 */ lwz r0, 0x18(r4) -/* 8031DE2C 0031AD8C 90 1F 00 18 */ stw r0, 0x18(r31) -/* 8031DE30 0031AD90 80 64 00 1C */ lwz r3, 0x1c(r4) -/* 8031DE34 0031AD94 80 04 00 20 */ lwz r0, 0x20(r4) -/* 8031DE38 0031AD98 90 7F 00 1C */ stw r3, 0x1c(r31) -/* 8031DE3C 0031AD9C 90 1F 00 20 */ stw r0, 0x20(r31) -/* 8031DE40 0031ADA0 80 04 00 24 */ lwz r0, 0x24(r4) -/* 8031DE44 0031ADA4 90 1F 00 24 */ stw r0, 0x24(r31) -/* 8031DE48 0031ADA8 80 04 00 28 */ lwz r0, 0x28(r4) -/* 8031DE4C 0031ADAC 90 1F 00 28 */ stw r0, 0x28(r31) -/* 8031DE50 0031ADB0 C0 04 00 2C */ lfs f0, 0x2c(r4) -/* 8031DE54 0031ADB4 D0 1F 00 2C */ stfs f0, 0x2c(r31) -/* 8031DE58 0031ADB8 C0 04 00 30 */ lfs f0, 0x30(r4) -/* 8031DE5C 0031ADBC D0 1F 00 30 */ stfs f0, 0x30(r31) -/* 8031DE60 0031ADC0 80 04 00 34 */ lwz r0, 0x34(r4) -/* 8031DE64 0031ADC4 90 1F 00 34 */ stw r0, 0x34(r31) -/* 8031DE68 0031ADC8 80 1D 00 2C */ lwz r0, 0x2c(r29) -/* 8031DE6C 0031ADCC 2C 00 00 01 */ cmpwi r0, 1 -/* 8031DE70 0031ADD0 40 82 00 28 */ bne lbl_8031DE98 -/* 8031DE74 0031ADD4 80 7D 00 34 */ lwz r3, 0x34(r29) -/* 8031DE78 0031ADD8 80 1D 02 5C */ lwz r0, 0x25c(r29) -/* 8031DE7C 0031ADDC 38 63 FF FF */ addi r3, r3, -1 -/* 8031DE80 0031ADE0 80 BD 00 5C */ lwz r5, 0x5c(r29) -/* 8031DE84 0031ADE4 1C 63 00 24 */ mulli r3, r3, 0x24 -/* 8031DE88 0031ADE8 1C 00 00 24 */ mulli r0, r0, 0x24 -/* 8031DE8C 0031ADEC 7C 85 1A 14 */ add r4, r5, r3 -/* 8031DE90 0031ADF0 7C 65 02 14 */ add r3, r5, r0 -/* 8031DE94 0031ADF4 4B FF 21 65 */ bl __as__9CMatrix3fFRC9CMatrix3f -lbl_8031DE98: -/* 8031DE98 0031ADF8 88 1D 02 6D */ lbz r0, 0x26d(r29) -/* 8031DE9C 0031ADFC 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 8031DEA0 0031AE00 41 82 00 64 */ beq lbl_8031DF04 -/* 8031DEA4 0031AE04 80 7D 00 34 */ lwz r3, 0x34(r29) -/* 8031DEA8 0031AE08 80 1D 02 5C */ lwz r0, 0x25c(r29) -/* 8031DEAC 0031AE0C 38 63 FF FF */ addi r3, r3, -1 -/* 8031DEB0 0031AE10 80 9D 00 6C */ lwz r4, 0x6c(r29) -/* 8031DEB4 0031AE14 54 63 28 34 */ slwi r3, r3, 5 -/* 8031DEB8 0031AE18 54 00 28 34 */ slwi r0, r0, 5 -/* 8031DEBC 0031AE1C 7C A4 1A 14 */ add r5, r4, r3 -/* 8031DEC0 0031AE20 80 65 00 00 */ lwz r3, 0(r5) -/* 8031DEC4 0031AE24 7C 84 02 14 */ add r4, r4, r0 -/* 8031DEC8 0031AE28 80 05 00 04 */ lwz r0, 4(r5) -/* 8031DECC 0031AE2C 90 64 00 00 */ stw r3, 0(r4) -/* 8031DED0 0031AE30 90 04 00 04 */ stw r0, 4(r4) -/* 8031DED4 0031AE34 80 65 00 08 */ lwz r3, 8(r5) -/* 8031DED8 0031AE38 80 05 00 0C */ lwz r0, 0xc(r5) -/* 8031DEDC 0031AE3C 90 64 00 08 */ stw r3, 8(r4) -/* 8031DEE0 0031AE40 90 04 00 0C */ stw r0, 0xc(r4) -/* 8031DEE4 0031AE44 80 65 00 10 */ lwz r3, 0x10(r5) -/* 8031DEE8 0031AE48 80 05 00 14 */ lwz r0, 0x14(r5) -/* 8031DEEC 0031AE4C 90 64 00 10 */ stw r3, 0x10(r4) -/* 8031DEF0 0031AE50 90 04 00 14 */ stw r0, 0x14(r4) -/* 8031DEF4 0031AE54 80 65 00 18 */ lwz r3, 0x18(r5) -/* 8031DEF8 0031AE58 80 05 00 1C */ lwz r0, 0x1c(r5) -/* 8031DEFC 0031AE5C 90 64 00 18 */ stw r3, 0x18(r4) -/* 8031DF00 0031AE60 90 04 00 1C */ stw r0, 0x1c(r4) -lbl_8031DF04: -/* 8031DF04 0031AE64 80 7D 00 34 */ lwz r3, 0x34(r29) -/* 8031DF08 0031AE68 38 03 FF FF */ addi r0, r3, -1 -/* 8031DF0C 0031AE6C 90 1D 00 34 */ stw r0, 0x34(r29) -/* 8031DF10 0031AE70 80 1D 00 34 */ lwz r0, 0x34(r29) -/* 8031DF14 0031AE74 80 7D 00 3C */ lwz r3, 0x3c(r29) -/* 8031DF18 0031AE78 1C 00 00 38 */ mulli r0, r0, 0x38 -/* 8031DF1C 0031AE7C 7C 03 02 14 */ add r0, r3, r0 -/* 8031DF20 0031AE80 7C 1F 00 40 */ cmplw r31, r0 -/* 8031DF24 0031AE84 41 82 00 14 */ beq lbl_8031DF38 -/* 8031DF28 0031AE88 80 7F 00 00 */ lwz r3, 0(r31) -/* 8031DF2C 0031AE8C 80 1D 00 74 */ lwz r0, 0x74(r29) -/* 8031DF30 0031AE90 7C 03 00 00 */ cmpw r3, r0 -/* 8031DF34 0031AE94 41 80 02 08 */ blt lbl_8031E13C -lbl_8031DF38: -/* 8031DF38 0031AE98 C0 1F 00 04 */ lfs f0, 4(r31) -/* 8031DF3C 0031AE9C D0 1F 00 10 */ stfs f0, 0x10(r31) -/* 8031DF40 0031AEA0 C0 1F 00 08 */ lfs f0, 8(r31) -/* 8031DF44 0031AEA4 D0 1F 00 14 */ stfs f0, 0x14(r31) -/* 8031DF48 0031AEA8 C0 1F 00 0C */ lfs f0, 0xc(r31) -/* 8031DF4C 0031AEAC D0 1F 00 18 */ stfs f0, 0x18(r31) -/* 8031DF50 0031AEB0 C0 3F 00 04 */ lfs f1, 4(r31) -/* 8031DF54 0031AEB4 C0 1F 00 1C */ lfs f0, 0x1c(r31) -/* 8031DF58 0031AEB8 EC 01 00 2A */ fadds f0, f1, f0 -/* 8031DF5C 0031AEBC D0 1F 00 04 */ stfs f0, 4(r31) -/* 8031DF60 0031AEC0 C0 3F 00 08 */ lfs f1, 8(r31) -/* 8031DF64 0031AEC4 C0 1F 00 20 */ lfs f0, 0x20(r31) -/* 8031DF68 0031AEC8 EC 01 00 2A */ fadds f0, f1, f0 -/* 8031DF6C 0031AECC D0 1F 00 08 */ stfs f0, 8(r31) -/* 8031DF70 0031AED0 C0 3F 00 0C */ lfs f1, 0xc(r31) -/* 8031DF74 0031AED4 C0 1F 00 24 */ lfs f0, 0x24(r31) -/* 8031DF78 0031AED8 EC 01 00 2A */ fadds f0, f1, f0 -/* 8031DF7C 0031AEDC D0 1F 00 0C */ stfs f0, 0xc(r31) -/* 8031DF80 0031AEE0 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 8031DF84 0031AEE4 80 1D 00 74 */ lwz r0, 0x74(r29) -/* 8031DF88 0031AEE8 93 ED A8 EC */ stw r31, lbl_805A94AC@sda21(r13) -/* 8031DF8C 0031AEEC 7F C3 00 50 */ subf r30, r3, r0 -/* 8031DF90 0031AEF0 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 8031DF94 0031AEF4 80 1F 00 00 */ lwz r0, 0(r31) -/* 8031DF98 0031AEF8 7C 63 00 50 */ subf r3, r3, r0 -/* 8031DF9C 0031AEFC 48 00 C7 DD */ bl SetParticleLifetime__16CParticleGlobalsFi -/* 8031DFA0 0031AF00 7F C3 F3 78 */ mr r3, r30 -/* 8031DFA4 0031AF04 48 00 C6 D9 */ bl UpdateParticleLifetimeTweenValues__16CParticleGlobalsFi -/* 8031DFA8 0031AF08 88 1D 02 6D */ lbz r0, 0x26d(r29) -/* 8031DFAC 0031AF0C 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 8031DFB0 0031AF10 41 82 00 14 */ beq lbl_8031DFC4 -/* 8031DFB4 0031AF14 80 9D 02 5C */ lwz r4, 0x25c(r29) -/* 8031DFB8 0031AF18 7F A3 EB 78 */ mr r3, r29 -/* 8031DFBC 0031AF1C 7F C5 F3 78 */ mr r5, r30 -/* 8031DFC0 0031AF20 48 00 03 F1 */ bl UpdateAdvanceAccessParameters__11CElementGenFii -lbl_8031DFC4: -/* 8031DFC4 0031AF24 80 7D 02 5C */ lwz r3, 0x25c(r29) -/* 8031DFC8 0031AF28 38 03 00 01 */ addi r0, r3, 1 -/* 8031DFCC 0031AF2C 90 1D 02 5C */ stw r0, 0x25c(r29) -/* 8031DFD0 0031AF30 80 1D 02 80 */ lwz r0, 0x280(r29) -/* 8031DFD4 0031AF34 28 00 00 00 */ cmplwi r0, 0 -/* 8031DFD8 0031AF38 41 82 00 78 */ beq lbl_8031E050 -/* 8031DFDC 0031AF3C 7F A3 EB 78 */ mr r3, r29 -/* 8031DFE0 0031AF40 7F C5 F3 78 */ mr r5, r30 -/* 8031DFE4 0031AF44 7F E6 FB 78 */ mr r6, r31 -/* 8031DFE8 0031AF48 38 80 00 00 */ li r4, 0 -/* 8031DFEC 0031AF4C 48 00 02 05 */ bl UpdateVelocitySource__11CElementGenFiiRQ211CElementGen9CParticle -/* 8031DFF0 0031AF50 80 1D 02 84 */ lwz r0, 0x284(r29) -/* 8031DFF4 0031AF54 28 00 00 00 */ cmplwi r0, 0 -/* 8031DFF8 0031AF58 41 82 00 58 */ beq lbl_8031E050 -/* 8031DFFC 0031AF5C 7F A3 EB 78 */ mr r3, r29 -/* 8031E000 0031AF60 7F C5 F3 78 */ mr r5, r30 -/* 8031E004 0031AF64 7F E6 FB 78 */ mr r6, r31 -/* 8031E008 0031AF68 38 80 00 01 */ li r4, 1 -/* 8031E00C 0031AF6C 48 00 01 E5 */ bl UpdateVelocitySource__11CElementGenFiiRQ211CElementGen9CParticle -/* 8031E010 0031AF70 80 1D 02 88 */ lwz r0, 0x288(r29) -/* 8031E014 0031AF74 28 00 00 00 */ cmplwi r0, 0 -/* 8031E018 0031AF78 41 82 00 38 */ beq lbl_8031E050 -/* 8031E01C 0031AF7C 7F A3 EB 78 */ mr r3, r29 -/* 8031E020 0031AF80 7F C5 F3 78 */ mr r5, r30 -/* 8031E024 0031AF84 7F E6 FB 78 */ mr r6, r31 -/* 8031E028 0031AF88 38 80 00 02 */ li r4, 2 -/* 8031E02C 0031AF8C 48 00 01 C5 */ bl UpdateVelocitySource__11CElementGenFiiRQ211CElementGen9CParticle -/* 8031E030 0031AF90 80 1D 02 8C */ lwz r0, 0x28c(r29) -/* 8031E034 0031AF94 28 00 00 00 */ cmplwi r0, 0 -/* 8031E038 0031AF98 41 82 00 18 */ beq lbl_8031E050 -/* 8031E03C 0031AF9C 7F A3 EB 78 */ mr r3, r29 -/* 8031E040 0031AFA0 7F C5 F3 78 */ mr r5, r30 -/* 8031E044 0031AFA4 7F E6 FB 78 */ mr r6, r31 -/* 8031E048 0031AFA8 38 80 00 03 */ li r4, 3 -/* 8031E04C 0031AFAC 48 00 01 A5 */ bl UpdateVelocitySource__11CElementGenFiiRQ211CElementGen9CParticle -lbl_8031E050: -/* 8031E050 0031AFB0 88 1D 02 6C */ lbz r0, 0x26c(r29) -/* 8031E054 0031AFB4 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 8031E058 0031AFB8 41 82 00 58 */ beq lbl_8031E0B0 -/* 8031E05C 0031AFBC 80 7D 00 28 */ lwz r3, 0x28(r29) -/* 8031E060 0031AFC0 80 63 00 14 */ lwz r3, 0x14(r3) -/* 8031E064 0031AFC4 28 03 00 00 */ cmplwi r3, 0 -/* 8031E068 0031AFC8 41 82 00 1C */ beq lbl_8031E084 -/* 8031E06C 0031AFCC 81 83 00 00 */ lwz r12, 0(r3) -/* 8031E070 0031AFD0 7F C4 F3 78 */ mr r4, r30 -/* 8031E074 0031AFD4 38 BF 00 2C */ addi r5, r31, 0x2c -/* 8031E078 0031AFD8 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8031E07C 0031AFDC 7D 89 03 A6 */ mtctr r12 -/* 8031E080 0031AFE0 4E 80 04 21 */ bctrl -lbl_8031E084: -/* 8031E084 0031AFE4 80 7D 00 28 */ lwz r3, 0x28(r29) -/* 8031E088 0031AFE8 80 63 00 18 */ lwz r3, 0x18(r3) -/* 8031E08C 0031AFEC 28 03 00 00 */ cmplwi r3, 0 -/* 8031E090 0031AFF0 41 82 00 70 */ beq lbl_8031E100 -/* 8031E094 0031AFF4 81 83 00 00 */ lwz r12, 0(r3) -/* 8031E098 0031AFF8 7F C4 F3 78 */ mr r4, r30 -/* 8031E09C 0031AFFC 38 BF 00 30 */ addi r5, r31, 0x30 -/* 8031E0A0 0031B000 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8031E0A4 0031B004 7D 89 03 A6 */ mtctr r12 -/* 8031E0A8 0031B008 4E 80 04 21 */ bctrl -/* 8031E0AC 0031B00C 48 00 00 54 */ b lbl_8031E100 -lbl_8031E0B0: -/* 8031E0B0 0031B010 80 7D 00 28 */ lwz r3, 0x28(r29) -/* 8031E0B4 0031B014 80 63 00 3C */ lwz r3, 0x3c(r3) -/* 8031E0B8 0031B018 28 03 00 00 */ cmplwi r3, 0 -/* 8031E0BC 0031B01C 41 82 00 1C */ beq lbl_8031E0D8 -/* 8031E0C0 0031B020 81 83 00 00 */ lwz r12, 0(r3) -/* 8031E0C4 0031B024 7F C4 F3 78 */ mr r4, r30 -/* 8031E0C8 0031B028 38 BF 00 30 */ addi r5, r31, 0x30 -/* 8031E0CC 0031B02C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8031E0D0 0031B030 7D 89 03 A6 */ mtctr r12 -/* 8031E0D4 0031B034 4E 80 04 21 */ bctrl -lbl_8031E0D8: -/* 8031E0D8 0031B038 80 7D 00 28 */ lwz r3, 0x28(r29) -/* 8031E0DC 0031B03C 80 63 00 38 */ lwz r3, 0x38(r3) -/* 8031E0E0 0031B040 28 03 00 00 */ cmplwi r3, 0 -/* 8031E0E4 0031B044 41 82 00 1C */ beq lbl_8031E100 -/* 8031E0E8 0031B048 81 83 00 00 */ lwz r12, 0(r3) -/* 8031E0EC 0031B04C 7F C4 F3 78 */ mr r4, r30 -/* 8031E0F0 0031B050 38 BF 00 2C */ addi r5, r31, 0x2c -/* 8031E0F4 0031B054 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8031E0F8 0031B058 7D 89 03 A6 */ mtctr r12 -/* 8031E0FC 0031B05C 4E 80 04 21 */ bctrl -lbl_8031E100: -/* 8031E100 0031B060 80 7D 00 28 */ lwz r3, 0x28(r29) -/* 8031E104 0031B064 80 63 00 24 */ lwz r3, 0x24(r3) -/* 8031E108 0031B068 28 03 00 00 */ cmplwi r3, 0 -/* 8031E10C 0031B06C 41 82 00 1C */ beq lbl_8031E128 -/* 8031E110 0031B070 81 83 00 00 */ lwz r12, 0(r3) -/* 8031E114 0031B074 7F C4 F3 78 */ mr r4, r30 -/* 8031E118 0031B078 38 BF 00 34 */ addi r5, r31, 0x34 -/* 8031E11C 0031B07C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8031E120 0031B080 7D 89 03 A6 */ mtctr r12 -/* 8031E124 0031B084 4E 80 04 21 */ bctrl -lbl_8031E128: -/* 8031E128 0031B088 C0 3F 00 2C */ lfs f1, 0x2c(r31) -/* 8031E12C 0031B08C 7F A3 EB 78 */ mr r3, r29 -/* 8031E130 0031B090 38 9F 00 04 */ addi r4, r31, 4 -/* 8031E134 0031B094 4B FF 9B E5 */ bl AccumulateBounds__11CElementGenFRC9CVector3ff -/* 8031E138 0031B098 3B FF 00 38 */ addi r31, r31, 0x38 -lbl_8031E13C: -/* 8031E13C 0031B09C 80 1D 00 34 */ lwz r0, 0x34(r29) -/* 8031E140 0031B0A0 80 7D 00 3C */ lwz r3, 0x3c(r29) -/* 8031E144 0031B0A4 1C 00 00 38 */ mulli r0, r0, 0x38 -/* 8031E148 0031B0A8 7C 03 02 14 */ add r0, r3, r0 -/* 8031E14C 0031B0AC 7C 1F 00 40 */ cmplw r31, r0 -/* 8031E150 0031B0B0 40 82 FC 58 */ bne lbl_8031DDA8 -lbl_8031E154: -/* 8031E154 0031B0B4 80 1D 00 34 */ lwz r0, 0x34(r29) -/* 8031E158 0031B0B8 2C 00 00 00 */ cmpwi r0, 0 -/* 8031E15C 0031B0BC 40 81 00 78 */ ble lbl_8031E1D4 -/* 8031E160 0031B0C0 83 DD 00 08 */ lwz r30, 8(r29) -/* 8031E164 0031B0C4 83 FD 00 0C */ lwz r31, 0xc(r29) -/* 8031E168 0031B0C8 48 00 00 64 */ b lbl_8031E1CC -lbl_8031E16C: -/* 8031E16C 0031B0CC 80 7E 00 08 */ lwz r3, 8(r30) -/* 8031E170 0031B0D0 81 83 00 00 */ lwz r12, 0(r3) -/* 8031E174 0031B0D4 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8031E178 0031B0D8 7D 89 03 A6 */ mtctr r12 -/* 8031E17C 0031B0DC 4E 80 04 21 */ bctrl -/* 8031E180 0031B0E0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8031E184 0031B0E4 41 82 00 44 */ beq lbl_8031E1C8 -/* 8031E188 0031B0E8 80 DD 00 3C */ lwz r6, 0x3c(r29) -/* 8031E18C 0031B0EC 38 A0 00 38 */ li r5, 0x38 -/* 8031E190 0031B0F0 38 66 00 2C */ addi r3, r6, 0x2c -/* 8031E194 0031B0F4 38 06 00 30 */ addi r0, r6, 0x30 -/* 8031E198 0031B0F8 90 61 00 08 */ stw r3, 8(r1) -/* 8031E19C 0031B0FC 38 E6 00 10 */ addi r7, r6, 0x10 -/* 8031E1A0 0031B100 39 06 00 04 */ addi r8, r6, 4 -/* 8031E1A4 0031B104 39 26 00 1C */ addi r9, r6, 0x1c -/* 8031E1A8 0031B108 90 01 00 0C */ stw r0, 0xc(r1) -/* 8031E1AC 0031B10C 39 46 00 34 */ addi r10, r6, 0x34 -/* 8031E1B0 0031B110 80 7E 00 08 */ lwz r3, 8(r30) -/* 8031E1B4 0031B114 80 9D 00 34 */ lwz r4, 0x34(r29) -/* 8031E1B8 0031B118 81 83 00 00 */ lwz r12, 0(r3) -/* 8031E1BC 0031B11C 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8031E1C0 0031B120 7D 89 03 A6 */ mtctr r12 -/* 8031E1C4 0031B124 4E 80 04 21 */ bctrl -lbl_8031E1C8: -/* 8031E1C8 0031B128 83 DE 00 04 */ lwz r30, 4(r30) -lbl_8031E1CC: -/* 8031E1CC 0031B12C 7C 1E F8 40 */ cmplw r30, r31 -/* 8031E1D0 0031B130 40 82 FF 9C */ bne lbl_8031E16C -lbl_8031E1D4: -/* 8031E1D4 0031B134 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8031E1D8 0031B138 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8031E1DC 0031B13C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8031E1E0 0031B140 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8031E1E4 0031B144 7C 08 03 A6 */ mtlr r0 -/* 8031E1E8 0031B148 38 21 00 20 */ addi r1, r1, 0x20 -/* 8031E1EC 0031B14C 4E 80 00 20 */ blr - -.global UpdateVelocitySource__11CElementGenFiiRQ211CElementGen9CParticle -UpdateVelocitySource__11CElementGenFiiRQ211CElementGen9CParticle: -/* 8031E1F0 0031B150 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 8031E1F4 0031B154 7C 08 02 A6 */ mflr r0 -/* 8031E1F8 0031B158 90 01 00 74 */ stw r0, 0x74(r1) -/* 8031E1FC 0031B15C 93 E1 00 6C */ stw r31, 0x6c(r1) -/* 8031E200 0031B160 7C BF 2B 78 */ mr r31, r5 -/* 8031E204 0031B164 93 C1 00 68 */ stw r30, 0x68(r1) -/* 8031E208 0031B168 7C DE 33 78 */ mr r30, r6 -/* 8031E20C 0031B16C 93 A1 00 64 */ stw r29, 0x64(r1) -/* 8031E210 0031B170 7C 9D 23 78 */ mr r29, r4 -/* 8031E214 0031B174 93 81 00 60 */ stw r28, 0x60(r1) -/* 8031E218 0031B178 7C 7C 1B 78 */ mr r28, r3 -/* 8031E21C 0031B17C 7C 7C EA 14 */ add r3, r28, r29 -/* 8031E220 0031B180 88 03 02 78 */ lbz r0, 0x278(r3) -/* 8031E224 0031B184 28 00 00 00 */ cmplwi r0, 0 -/* 8031E228 0031B188 41 82 01 20 */ beq lbl_8031E348 -/* 8031E22C 0031B18C 38 61 00 38 */ addi r3, r1, 0x38 -/* 8031E230 0031B190 38 9C 02 08 */ addi r4, r28, 0x208 -/* 8031E234 0031B194 38 BE 00 1C */ addi r5, r30, 0x1c -/* 8031E238 0031B198 4B FF 20 5D */ bl __ml__9CMatrix3fCFRC9CVector3f -/* 8031E23C 0031B19C C0 41 00 38 */ lfs f2, 0x38(r1) -/* 8031E240 0031B1A0 38 61 00 2C */ addi r3, r1, 0x2c -/* 8031E244 0031B1A4 C0 21 00 3C */ lfs f1, 0x3c(r1) -/* 8031E248 0031B1A8 38 9C 02 08 */ addi r4, r28, 0x208 -/* 8031E24C 0031B1AC C0 01 00 40 */ lfs f0, 0x40(r1) -/* 8031E250 0031B1B0 38 A1 00 20 */ addi r5, r1, 0x20 -/* 8031E254 0031B1B4 D0 41 00 50 */ stfs f2, 0x50(r1) -/* 8031E258 0031B1B8 D0 21 00 54 */ stfs f1, 0x54(r1) -/* 8031E25C 0031B1BC D0 01 00 58 */ stfs f0, 0x58(r1) -/* 8031E260 0031B1C0 C0 3E 00 08 */ lfs f1, 8(r30) -/* 8031E264 0031B1C4 C0 1C 00 E0 */ lfs f0, 0xe0(r28) -/* 8031E268 0031B1C8 C0 7E 00 0C */ lfs f3, 0xc(r30) -/* 8031E26C 0031B1CC C0 5C 00 E4 */ lfs f2, 0xe4(r28) -/* 8031E270 0031B1D0 EC 81 00 28 */ fsubs f4, f1, f0 -/* 8031E274 0031B1D4 C0 3E 00 04 */ lfs f1, 4(r30) -/* 8031E278 0031B1D8 C0 1C 00 DC */ lfs f0, 0xdc(r28) -/* 8031E27C 0031B1DC EC 43 10 28 */ fsubs f2, f3, f2 -/* 8031E280 0031B1E0 EC 01 00 28 */ fsubs f0, f1, f0 -/* 8031E284 0031B1E4 D0 81 00 24 */ stfs f4, 0x24(r1) -/* 8031E288 0031B1E8 D0 41 00 28 */ stfs f2, 0x28(r1) -/* 8031E28C 0031B1EC D0 01 00 20 */ stfs f0, 0x20(r1) -/* 8031E290 0031B1F0 4B FF 20 05 */ bl __ml__9CMatrix3fCFRC9CVector3f -/* 8031E294 0031B1F4 C0 41 00 2C */ lfs f2, 0x2c(r1) -/* 8031E298 0031B1F8 57 A0 10 3A */ slwi r0, r29, 2 -/* 8031E29C 0031B1FC C0 21 00 30 */ lfs f1, 0x30(r1) -/* 8031E2A0 0031B200 7C 7C 02 14 */ add r3, r28, r0 -/* 8031E2A4 0031B204 C0 01 00 34 */ lfs f0, 0x34(r1) -/* 8031E2A8 0031B208 7F E4 FB 78 */ mr r4, r31 -/* 8031E2AC 0031B20C D0 41 00 44 */ stfs f2, 0x44(r1) -/* 8031E2B0 0031B210 38 A1 00 50 */ addi r5, r1, 0x50 -/* 8031E2B4 0031B214 38 C1 00 44 */ addi r6, r1, 0x44 -/* 8031E2B8 0031B218 D0 21 00 48 */ stfs f1, 0x48(r1) -/* 8031E2BC 0031B21C D0 01 00 4C */ stfs f0, 0x4c(r1) -/* 8031E2C0 0031B220 80 63 02 80 */ lwz r3, 0x280(r3) -/* 8031E2C4 0031B224 81 83 00 00 */ lwz r12, 0(r3) -/* 8031E2C8 0031B228 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8031E2CC 0031B22C 7D 89 03 A6 */ mtctr r12 -/* 8031E2D0 0031B230 4E 80 04 21 */ bctrl -/* 8031E2D4 0031B234 7C 60 1B 78 */ mr r0, r3 -/* 8031E2D8 0031B238 38 61 00 14 */ addi r3, r1, 0x14 -/* 8031E2DC 0031B23C 7C 1F 03 78 */ mr r31, r0 -/* 8031E2E0 0031B240 38 9C 01 D8 */ addi r4, r28, 0x1d8 -/* 8031E2E4 0031B244 38 A1 00 50 */ addi r5, r1, 0x50 -/* 8031E2E8 0031B248 4B FF 47 99 */ bl Rotate__12CTransform4fCFRC9CVector3f -/* 8031E2EC 0031B24C C0 01 00 14 */ lfs f0, 0x14(r1) -/* 8031E2F0 0031B250 38 61 00 08 */ addi r3, r1, 8 -/* 8031E2F4 0031B254 38 9C 01 D8 */ addi r4, r28, 0x1d8 -/* 8031E2F8 0031B258 38 A1 00 44 */ addi r5, r1, 0x44 -/* 8031E2FC 0031B25C D0 1E 00 1C */ stfs f0, 0x1c(r30) -/* 8031E300 0031B260 C0 01 00 18 */ lfs f0, 0x18(r1) -/* 8031E304 0031B264 D0 1E 00 20 */ stfs f0, 0x20(r30) -/* 8031E308 0031B268 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 8031E30C 0031B26C D0 1E 00 24 */ stfs f0, 0x24(r30) -/* 8031E310 0031B270 4B FF 47 71 */ bl Rotate__12CTransform4fCFRC9CVector3f -/* 8031E314 0031B274 C0 21 00 08 */ lfs f1, 8(r1) -/* 8031E318 0031B278 C0 1C 00 DC */ lfs f0, 0xdc(r28) -/* 8031E31C 0031B27C C0 81 00 0C */ lfs f4, 0xc(r1) -/* 8031E320 0031B280 C0 7C 00 E0 */ lfs f3, 0xe0(r28) -/* 8031E324 0031B284 EC 01 00 2A */ fadds f0, f1, f0 -/* 8031E328 0031B288 C0 41 00 10 */ lfs f2, 0x10(r1) -/* 8031E32C 0031B28C C0 3C 00 E4 */ lfs f1, 0xe4(r28) -/* 8031E330 0031B290 EC 64 18 2A */ fadds f3, f4, f3 -/* 8031E334 0031B294 D0 1E 00 04 */ stfs f0, 4(r30) -/* 8031E338 0031B298 EC 02 08 2A */ fadds f0, f2, f1 -/* 8031E33C 0031B29C D0 7E 00 08 */ stfs f3, 8(r30) -/* 8031E340 0031B2A0 D0 1E 00 0C */ stfs f0, 0xc(r30) -/* 8031E344 0031B2A4 48 00 00 30 */ b lbl_8031E374 -lbl_8031E348: -/* 8031E348 0031B2A8 57 A0 10 3A */ slwi r0, r29, 2 -/* 8031E34C 0031B2AC 7F E4 FB 78 */ mr r4, r31 -/* 8031E350 0031B2B0 7C 7C 02 14 */ add r3, r28, r0 -/* 8031E354 0031B2B4 38 BE 00 1C */ addi r5, r30, 0x1c -/* 8031E358 0031B2B8 80 63 02 80 */ lwz r3, 0x280(r3) -/* 8031E35C 0031B2BC 38 DE 00 04 */ addi r6, r30, 4 -/* 8031E360 0031B2C0 81 83 00 00 */ lwz r12, 0(r3) -/* 8031E364 0031B2C4 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8031E368 0031B2C8 7D 89 03 A6 */ mtctr r12 -/* 8031E36C 0031B2CC 4E 80 04 21 */ bctrl -/* 8031E370 0031B2D0 7C 7F 1B 78 */ mr r31, r3 -lbl_8031E374: -/* 8031E374 0031B2D4 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 8031E378 0031B2D8 41 82 00 14 */ beq lbl_8031E38C -/* 8031E37C 0031B2DC 38 00 FF FF */ li r0, -1 -/* 8031E380 0031B2E0 38 60 00 01 */ li r3, 1 -/* 8031E384 0031B2E4 90 1E 00 00 */ stw r0, 0(r30) -/* 8031E388 0031B2E8 48 00 00 08 */ b lbl_8031E390 -lbl_8031E38C: -/* 8031E38C 0031B2EC 38 60 00 00 */ li r3, 0 -lbl_8031E390: -/* 8031E390 0031B2F0 80 01 00 74 */ lwz r0, 0x74(r1) -/* 8031E394 0031B2F4 83 E1 00 6C */ lwz r31, 0x6c(r1) -/* 8031E398 0031B2F8 83 C1 00 68 */ lwz r30, 0x68(r1) -/* 8031E39C 0031B2FC 83 A1 00 64 */ lwz r29, 0x64(r1) -/* 8031E3A0 0031B300 83 81 00 60 */ lwz r28, 0x60(r1) -/* 8031E3A4 0031B304 7C 08 03 A6 */ mtlr r0 -/* 8031E3A8 0031B308 38 21 00 70 */ addi r1, r1, 0x70 -/* 8031E3AC 0031B30C 4E 80 00 20 */ blr - -.global UpdateAdvanceAccessParameters__11CElementGenFii -UpdateAdvanceAccessParameters__11CElementGenFii: -/* 8031E3B0 0031B310 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8031E3B4 0031B314 7C 08 02 A6 */ mflr r0 -/* 8031E3B8 0031B318 90 01 00 24 */ stw r0, 0x24(r1) -/* 8031E3BC 0031B31C 54 80 28 34 */ slwi r0, r4, 5 -/* 8031E3C0 0031B320 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8031E3C4 0031B324 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8031E3C8 0031B328 7C BE 2B 78 */ mr r30, r5 -/* 8031E3CC 0031B32C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8031E3D0 0031B330 7C 7D 1B 78 */ mr r29, r3 -/* 8031E3D4 0031B334 80 63 00 6C */ lwz r3, 0x6c(r3) -/* 8031E3D8 0031B338 7F E3 02 14 */ add r31, r3, r0 -/* 8031E3DC 0031B33C 93 ED A8 F0 */ stw r31, lbl_805A94B0@sda21(r13) -/* 8031E3E0 0031B340 80 7D 00 28 */ lwz r3, 0x28(r29) -/* 8031E3E4 0031B344 80 63 01 0C */ lwz r3, 0x10c(r3) -/* 8031E3E8 0031B348 28 03 00 00 */ cmplwi r3, 0 -/* 8031E3EC 0031B34C 41 82 00 1C */ beq lbl_8031E408 -/* 8031E3F0 0031B350 81 83 00 00 */ lwz r12, 0(r3) -/* 8031E3F4 0031B354 7F C4 F3 78 */ mr r4, r30 -/* 8031E3F8 0031B358 7F E5 FB 78 */ mr r5, r31 -/* 8031E3FC 0031B35C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8031E400 0031B360 7D 89 03 A6 */ mtctr r12 -/* 8031E404 0031B364 4E 80 04 21 */ bctrl -lbl_8031E408: -/* 8031E408 0031B368 80 7D 00 28 */ lwz r3, 0x28(r29) -/* 8031E40C 0031B36C 80 63 01 10 */ lwz r3, 0x110(r3) -/* 8031E410 0031B370 28 03 00 00 */ cmplwi r3, 0 -/* 8031E414 0031B374 41 82 00 1C */ beq lbl_8031E430 -/* 8031E418 0031B378 81 83 00 00 */ lwz r12, 0(r3) -/* 8031E41C 0031B37C 7F C4 F3 78 */ mr r4, r30 -/* 8031E420 0031B380 38 BF 00 04 */ addi r5, r31, 4 -/* 8031E424 0031B384 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8031E428 0031B388 7D 89 03 A6 */ mtctr r12 -/* 8031E42C 0031B38C 4E 80 04 21 */ bctrl -lbl_8031E430: -/* 8031E430 0031B390 80 7D 00 28 */ lwz r3, 0x28(r29) -/* 8031E434 0031B394 80 63 01 14 */ lwz r3, 0x114(r3) -/* 8031E438 0031B398 28 03 00 00 */ cmplwi r3, 0 -/* 8031E43C 0031B39C 41 82 00 1C */ beq lbl_8031E458 -/* 8031E440 0031B3A0 81 83 00 00 */ lwz r12, 0(r3) -/* 8031E444 0031B3A4 7F C4 F3 78 */ mr r4, r30 -/* 8031E448 0031B3A8 38 BF 00 08 */ addi r5, r31, 8 -/* 8031E44C 0031B3AC 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8031E450 0031B3B0 7D 89 03 A6 */ mtctr r12 -/* 8031E454 0031B3B4 4E 80 04 21 */ bctrl -lbl_8031E458: -/* 8031E458 0031B3B8 80 7D 00 28 */ lwz r3, 0x28(r29) -/* 8031E45C 0031B3BC 80 63 01 18 */ lwz r3, 0x118(r3) -/* 8031E460 0031B3C0 28 03 00 00 */ cmplwi r3, 0 -/* 8031E464 0031B3C4 41 82 00 1C */ beq lbl_8031E480 -/* 8031E468 0031B3C8 81 83 00 00 */ lwz r12, 0(r3) -/* 8031E46C 0031B3CC 7F C4 F3 78 */ mr r4, r30 -/* 8031E470 0031B3D0 38 BF 00 0C */ addi r5, r31, 0xc -/* 8031E474 0031B3D4 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8031E478 0031B3D8 7D 89 03 A6 */ mtctr r12 -/* 8031E47C 0031B3DC 4E 80 04 21 */ bctrl -lbl_8031E480: -/* 8031E480 0031B3E0 80 7D 00 28 */ lwz r3, 0x28(r29) -/* 8031E484 0031B3E4 80 63 01 1C */ lwz r3, 0x11c(r3) -/* 8031E488 0031B3E8 28 03 00 00 */ cmplwi r3, 0 -/* 8031E48C 0031B3EC 41 82 00 1C */ beq lbl_8031E4A8 -/* 8031E490 0031B3F0 81 83 00 00 */ lwz r12, 0(r3) -/* 8031E494 0031B3F4 7F C4 F3 78 */ mr r4, r30 -/* 8031E498 0031B3F8 38 BF 00 10 */ addi r5, r31, 0x10 -/* 8031E49C 0031B3FC 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8031E4A0 0031B400 7D 89 03 A6 */ mtctr r12 -/* 8031E4A4 0031B404 4E 80 04 21 */ bctrl -lbl_8031E4A8: -/* 8031E4A8 0031B408 80 7D 00 28 */ lwz r3, 0x28(r29) -/* 8031E4AC 0031B40C 80 63 01 20 */ lwz r3, 0x120(r3) -/* 8031E4B0 0031B410 28 03 00 00 */ cmplwi r3, 0 -/* 8031E4B4 0031B414 41 82 00 1C */ beq lbl_8031E4D0 -/* 8031E4B8 0031B418 81 83 00 00 */ lwz r12, 0(r3) -/* 8031E4BC 0031B41C 7F C4 F3 78 */ mr r4, r30 -/* 8031E4C0 0031B420 38 BF 00 14 */ addi r5, r31, 0x14 -/* 8031E4C4 0031B424 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8031E4C8 0031B428 7D 89 03 A6 */ mtctr r12 -/* 8031E4CC 0031B42C 4E 80 04 21 */ bctrl -lbl_8031E4D0: -/* 8031E4D0 0031B430 80 7D 00 28 */ lwz r3, 0x28(r29) -/* 8031E4D4 0031B434 80 63 01 24 */ lwz r3, 0x124(r3) -/* 8031E4D8 0031B438 28 03 00 00 */ cmplwi r3, 0 -/* 8031E4DC 0031B43C 41 82 00 1C */ beq lbl_8031E4F8 -/* 8031E4E0 0031B440 81 83 00 00 */ lwz r12, 0(r3) -/* 8031E4E4 0031B444 7F C4 F3 78 */ mr r4, r30 -/* 8031E4E8 0031B448 38 BF 00 18 */ addi r5, r31, 0x18 -/* 8031E4EC 0031B44C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8031E4F0 0031B450 7D 89 03 A6 */ mtctr r12 -/* 8031E4F4 0031B454 4E 80 04 21 */ bctrl -lbl_8031E4F8: -/* 8031E4F8 0031B458 80 7D 00 28 */ lwz r3, 0x28(r29) -/* 8031E4FC 0031B45C 80 63 01 28 */ lwz r3, 0x128(r3) -/* 8031E500 0031B460 28 03 00 00 */ cmplwi r3, 0 -/* 8031E504 0031B464 41 82 00 1C */ beq lbl_8031E520 -/* 8031E508 0031B468 81 83 00 00 */ lwz r12, 0(r3) -/* 8031E50C 0031B46C 7F C4 F3 78 */ mr r4, r30 -/* 8031E510 0031B470 38 BF 00 1C */ addi r5, r31, 0x1c -/* 8031E514 0031B474 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8031E518 0031B478 7D 89 03 A6 */ mtctr r12 -/* 8031E51C 0031B47C 4E 80 04 21 */ bctrl -lbl_8031E520: -/* 8031E520 0031B480 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8031E524 0031B484 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8031E528 0031B488 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8031E52C 0031B48C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8031E530 0031B490 7C 08 03 A6 */ mtlr r0 -/* 8031E534 0031B494 38 21 00 20 */ addi r1, r1, 0x20 -/* 8031E538 0031B498 4E 80 00 20 */ blr - -.global UpdateLightParameters__11CElementGenFv -UpdateLightParameters__11CElementGenFv: -/* 8031E53C 0031B49C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8031E540 0031B4A0 7C 08 02 A6 */ mflr r0 -/* 8031E544 0031B4A4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8031E548 0031B4A8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8031E54C 0031B4AC 7C 7F 1B 78 */ mr r31, r3 -/* 8031E550 0031B4B0 38 BF 03 0C */ addi r5, r31, 0x30c -/* 8031E554 0031B4B4 80 63 00 28 */ lwz r3, 0x28(r3) -/* 8031E558 0031B4B8 80 9F 00 74 */ lwz r4, 0x74(r31) -/* 8031E55C 0031B4BC 80 63 00 F0 */ lwz r3, 0xf0(r3) -/* 8031E560 0031B4C0 81 83 00 00 */ lwz r12, 0(r3) -/* 8031E564 0031B4C4 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8031E568 0031B4C8 7D 89 03 A6 */ mtctr r12 -/* 8031E56C 0031B4CC 4E 80 04 21 */ bctrl -/* 8031E570 0031B4D0 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 8031E574 0031B4D4 38 BF 03 10 */ addi r5, r31, 0x310 -/* 8031E578 0031B4D8 80 9F 00 74 */ lwz r4, 0x74(r31) -/* 8031E57C 0031B4DC 80 63 00 F4 */ lwz r3, 0xf4(r3) -/* 8031E580 0031B4E0 81 83 00 00 */ lwz r12, 0(r3) -/* 8031E584 0031B4E4 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8031E588 0031B4E8 7D 89 03 A6 */ mtctr r12 -/* 8031E58C 0031B4EC 4E 80 04 21 */ bctrl -/* 8031E590 0031B4F0 80 1F 03 08 */ lwz r0, 0x308(r31) -/* 8031E594 0031B4F4 2C 00 00 02 */ cmpwi r0, 2 -/* 8031E598 0031B4F8 41 82 00 70 */ beq lbl_8031E608 -/* 8031E59C 0031B4FC 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 8031E5A0 0031B500 38 BF 03 14 */ addi r5, r31, 0x314 -/* 8031E5A4 0031B504 80 9F 00 74 */ lwz r4, 0x74(r31) -/* 8031E5A8 0031B508 80 63 00 F8 */ lwz r3, 0xf8(r3) -/* 8031E5AC 0031B50C 81 83 00 00 */ lwz r12, 0(r3) -/* 8031E5B0 0031B510 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8031E5B4 0031B514 7D 89 03 A6 */ mtctr r12 -/* 8031E5B8 0031B518 4E 80 04 21 */ bctrl -/* 8031E5BC 0031B51C 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 8031E5C0 0031B520 38 BF 03 30 */ addi r5, r31, 0x330 -/* 8031E5C4 0031B524 80 9F 00 74 */ lwz r4, 0x74(r31) -/* 8031E5C8 0031B528 80 63 01 04 */ lwz r3, 0x104(r3) -/* 8031E5CC 0031B52C 81 83 00 00 */ lwz r12, 0(r3) -/* 8031E5D0 0031B530 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8031E5D4 0031B534 7D 89 03 A6 */ mtctr r12 -/* 8031E5D8 0031B538 4E 80 04 21 */ bctrl -/* 8031E5DC 0031B53C 80 1F 03 08 */ lwz r0, 0x308(r31) -/* 8031E5E0 0031B540 2C 00 00 03 */ cmpwi r0, 3 -/* 8031E5E4 0031B544 40 82 00 24 */ bne lbl_8031E608 -/* 8031E5E8 0031B548 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 8031E5EC 0031B54C 38 BF 03 34 */ addi r5, r31, 0x334 -/* 8031E5F0 0031B550 80 9F 00 74 */ lwz r4, 0x74(r31) -/* 8031E5F4 0031B554 80 63 01 08 */ lwz r3, 0x108(r3) -/* 8031E5F8 0031B558 81 83 00 00 */ lwz r12, 0(r3) -/* 8031E5FC 0031B55C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8031E600 0031B560 7D 89 03 A6 */ mtctr r12 -/* 8031E604 0031B564 4E 80 04 21 */ bctrl -lbl_8031E608: -/* 8031E608 0031B568 80 1F 03 08 */ lwz r0, 0x308(r31) -/* 8031E60C 0031B56C 2C 00 00 01 */ cmpwi r0, 1 -/* 8031E610 0031B570 41 82 00 24 */ beq lbl_8031E634 -/* 8031E614 0031B574 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 8031E618 0031B578 38 BF 03 20 */ addi r5, r31, 0x320 -/* 8031E61C 0031B57C 80 9F 00 74 */ lwz r4, 0x74(r31) -/* 8031E620 0031B580 80 63 00 FC */ lwz r3, 0xfc(r3) -/* 8031E624 0031B584 81 83 00 00 */ lwz r12, 0(r3) -/* 8031E628 0031B588 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8031E62C 0031B58C 7D 89 03 A6 */ mtctr r12 -/* 8031E630 0031B590 4E 80 04 21 */ bctrl -lbl_8031E634: -/* 8031E634 0031B594 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8031E638 0031B598 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8031E63C 0031B59C 7C 08 03 A6 */ mtlr r0 -/* 8031E640 0031B5A0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8031E644 0031B5A4 4E 80 00 20 */ blr - -.global InternalUpdate__11CElementGenFd -InternalUpdate__11CElementGenFd: -/* 8031E648 0031B5A8 94 21 FF 40 */ stwu r1, -0xc0(r1) -/* 8031E64C 0031B5AC 7C 08 02 A6 */ mflr r0 -/* 8031E650 0031B5B0 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 8031E654 0031B5B4 DB E1 00 B0 */ stfd f31, 0xb0(r1) -/* 8031E658 0031B5B8 F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0 -/* 8031E65C 0031B5BC DB C1 00 A0 */ stfd f30, 0xa0(r1) -/* 8031E660 0031B5C0 F3 C1 00 A8 */ psq_st f30, 168(r1), 0, qr0 -/* 8031E664 0031B5C4 DB A1 00 90 */ stfd f29, 0x90(r1) -/* 8031E668 0031B5C8 F3 A1 00 98 */ psq_st f29, 152(r1), 0, qr0 -/* 8031E66C 0031B5CC DB 81 00 80 */ stfd f28, 0x80(r1) -/* 8031E670 0031B5D0 F3 81 00 88 */ psq_st f28, 136(r1), 0, qr0 -/* 8031E674 0031B5D4 DB 61 00 70 */ stfd f27, 0x70(r1) -/* 8031E678 0031B5D8 F3 61 00 78 */ psq_st f27, 120(r1), 0, qr0 -/* 8031E67C 0031B5DC BF 61 00 5C */ stmw r27, 0x5c(r1) -/* 8031E680 0031B5E0 7C 7C 1B 78 */ mr r28, r3 -/* 8031E684 0031B5E4 FF A0 08 90 */ fmr f29, f1 -/* 8031E688 0031B5E8 48 06 6D 21 */ bl OSGetTime -/* 8031E68C 0031B5EC 7C 9E 23 78 */ mr r30, r4 -/* 8031E690 0031B5F0 7C 7F 1B 78 */ mr r31, r3 -/* 8031E694 0031B5F4 38 61 00 30 */ addi r3, r1, 0x30 -/* 8031E698 0031B5F8 38 9C 02 7C */ addi r4, r28, 0x27c -/* 8031E69C 0031B5FC 4B FF 3F E5 */ bl __ct__13CGlobalRandomFR9CRandom16 -/* 8031E6A0 0031B600 80 7C 00 74 */ lwz r3, 0x74(r28) -/* 8031E6A4 0031B604 3C 00 43 30 */ lis r0, 0x4330 -/* 8031E6A8 0031B608 C8 AD 9C F0 */ lfd f5, lbl_805A88B0@sda21(r13) -/* 8031E6AC 0031B60C 3B A0 00 00 */ li r29, 0 -/* 8031E6B0 0031B610 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 8031E6B4 0031B614 90 01 00 40 */ stw r0, 0x40(r1) -/* 8031E6B8 0031B618 FC 3D 28 28 */ fsub f1, f29, f5 -/* 8031E6BC 0031B61C C8 62 CA 18 */ lfd f3, lbl_805AE738@sda21(r2) -/* 8031E6C0 0031B620 90 61 00 44 */ stw r3, 0x44(r1) -/* 8031E6C4 0031B624 C8 02 CA 38 */ lfd f0, lbl_805AE758@sda21(r2) -/* 8031E6C8 0031B628 C8 41 00 40 */ lfd f2, 0x40(r1) -/* 8031E6CC 0031B62C FC 80 0A 10 */ fabs f4, f1 -/* 8031E6D0 0031B630 FC 22 18 28 */ fsub f1, f2, f3 -/* 8031E6D4 0031B634 FC 04 00 40 */ fcmpo cr0, f4, f0 -/* 8031E6D8 0031B638 FF 81 01 72 */ fmul f28, f1, f5 -/* 8031E6DC 0031B63C 40 80 00 08 */ bge lbl_8031E6E4 -/* 8031E6E0 0031B640 48 00 00 08 */ b lbl_8031E6E8 -lbl_8031E6E4: -/* 8031E6E4 0031B644 FC A0 E8 90 */ fmr f5, f29 -lbl_8031E6E8: -/* 8031E6E8 0031B648 D8 A1 00 28 */ stfd f5, 0x28(r1) -/* 8031E6EC 0031B64C 80 7C 00 74 */ lwz r3, 0x74(r28) -/* 8031E6F0 0031B650 48 00 C0 59 */ bl SetEmitterTime__16CParticleGlobalsFi -/* 8031E6F4 0031B654 80 7C 00 28 */ lwz r3, 0x28(r28) -/* 8031E6F8 0031B658 80 03 00 08 */ lwz r0, 8(r3) -/* 8031E6FC 0031B65C 28 00 00 00 */ cmplwi r0, 0 -/* 8031E700 0031B660 41 82 00 5C */ beq lbl_8031E75C -/* 8031E704 0031B664 C0 02 C9 F0 */ lfs f0, lbl_805AE710@sda21(r2) -/* 8031E708 0031B668 38 A1 00 20 */ addi r5, r1, 0x20 -/* 8031E70C 0031B66C D0 01 00 20 */ stfs f0, 0x20(r1) -/* 8031E710 0031B670 80 7C 00 28 */ lwz r3, 0x28(r28) -/* 8031E714 0031B674 80 9C 00 74 */ lwz r4, 0x74(r28) -/* 8031E718 0031B678 80 63 00 08 */ lwz r3, 8(r3) -/* 8031E71C 0031B67C 81 83 00 00 */ lwz r12, 0(r3) -/* 8031E720 0031B680 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8031E724 0031B684 7D 89 03 A6 */ mtctr r12 -/* 8031E728 0031B688 4E 80 04 21 */ bctrl -/* 8031E72C 0031B68C C8 41 00 28 */ lfd f2, 0x28(r1) -/* 8031E730 0031B690 C0 21 00 20 */ lfs f1, 0x20(r1) -/* 8031E734 0031B694 C8 0D 9D 00 */ lfd f0, lbl_805A88C0@sda21(r13) -/* 8031E738 0031B698 FC 22 00 72 */ fmul f1, f2, f1 -/* 8031E73C 0031B69C FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 8031E740 0031B6A0 D8 21 00 28 */ stfd f1, 0x28(r1) -/* 8031E744 0031B6A4 40 80 00 0C */ bge lbl_8031E750 -/* 8031E748 0031B6A8 38 61 00 28 */ addi r3, r1, 0x28 -/* 8031E74C 0031B6AC 48 00 00 08 */ b lbl_8031E754 -lbl_8031E750: -/* 8031E750 0031B6B0 38 6D 9D 00 */ addi r3, r13, lbl_805A88C0@sda21 -lbl_8031E754: -/* 8031E754 0031B6B4 C8 03 00 00 */ lfd f0, 0(r3) -/* 8031E758 0031B6B8 D8 01 00 28 */ stfd f0, 0x28(r1) -lbl_8031E75C: -/* 8031E75C 0031B6BC C8 3C 00 78 */ lfd f1, 0x78(r28) -/* 8031E760 0031B6C0 C8 01 00 28 */ lfd f0, 0x28(r1) -/* 8031E764 0031B6C4 FC 01 00 2A */ fadd f0, f1, f0 -/* 8031E768 0031B6C8 D8 1C 00 78 */ stfd f0, 0x78(r28) -/* 8031E76C 0031B6CC 88 1C 02 6C */ lbz r0, 0x26c(r28) -/* 8031E770 0031B6D0 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f -/* 8031E774 0031B6D4 41 82 00 38 */ beq lbl_8031E7AC -/* 8031E778 0031B6D8 C8 02 CA 20 */ lfd f0, lbl_805AE740@sda21(r2) -/* 8031E77C 0031B6DC FC 1D 00 40 */ fcmpo cr0, f29, f0 -/* 8031E780 0031B6E0 40 81 00 2C */ ble lbl_8031E7AC -/* 8031E784 0031B6E4 80 7C 00 28 */ lwz r3, 0x28(r28) -/* 8031E788 0031B6E8 80 63 00 34 */ lwz r3, 0x34(r3) -/* 8031E78C 0031B6EC 28 03 00 00 */ cmplwi r3, 0 -/* 8031E790 0031B6F0 41 82 00 1C */ beq lbl_8031E7AC -/* 8031E794 0031B6F4 81 83 00 00 */ lwz r12, 0(r3) -/* 8031E798 0031B6F8 38 BC 02 70 */ addi r5, r28, 0x270 -/* 8031E79C 0031B6FC 80 9C 00 74 */ lwz r4, 0x74(r28) -/* 8031E7A0 0031B700 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8031E7A4 0031B704 7D 89 03 A6 */ mtctr r12 -/* 8031E7A8 0031B708 4E 80 04 21 */ bctrl -lbl_8031E7AC: -/* 8031E7AC 0031B70C CB 62 CA 38 */ lfd f27, lbl_805AE758@sda21(r2) -/* 8031E7B0 0031B710 C3 A2 CA 40 */ lfs f29, lbl_805AE760@sda21(r2) -/* 8031E7B4 0031B714 C3 C2 CA 44 */ lfs f30, lbl_805AE764@sda21(r2) -/* 8031E7B8 0031B718 C3 E2 C9 E8 */ lfs f31, lbl_805AE708@sda21(r2) -/* 8031E7BC 0031B71C 48 00 01 C8 */ b lbl_8031E984 -lbl_8031E7C0: -/* 8031E7C0 0031B720 D3 BC 02 D4 */ stfs f29, 0x2d4(r28) -/* 8031E7C4 0031B724 D3 BC 02 D8 */ stfs f29, 0x2d8(r28) -/* 8031E7C8 0031B728 D3 BC 02 DC */ stfs f29, 0x2dc(r28) -/* 8031E7CC 0031B72C D3 DC 02 E0 */ stfs f30, 0x2e0(r28) -/* 8031E7D0 0031B730 D3 DC 02 E4 */ stfs f30, 0x2e4(r28) -/* 8031E7D4 0031B734 D3 DC 02 E8 */ stfs f30, 0x2e8(r28) -/* 8031E7D8 0031B738 D3 FC 02 EC */ stfs f31, 0x2ec(r28) -/* 8031E7DC 0031B73C 80 7C 00 74 */ lwz r3, 0x74(r28) -/* 8031E7E0 0031B740 48 00 BF 69 */ bl SetEmitterTime__16CParticleGlobalsFi -/* 8031E7E4 0031B744 7F 83 E3 78 */ mr r3, r28 -/* 8031E7E8 0031B748 4B FF F5 85 */ bl UpdateExistingParticles__11CElementGenFv -/* 8031E7EC 0031B74C 80 7C 02 68 */ lwz r3, 0x268(r28) -/* 8031E7F0 0031B750 48 00 BF 89 */ bl SetParticleLifetime__16CParticleGlobalsFi -/* 8031E7F4 0031B754 80 7C 00 74 */ lwz r3, 0x74(r28) -/* 8031E7F8 0031B758 80 1C 02 68 */ lwz r0, 0x268(r28) -/* 8031E7FC 0031B75C 7C 03 00 00 */ cmpw r3, r0 -/* 8031E800 0031B760 40 80 01 38 */ bge lbl_8031E938 -/* 8031E804 0031B764 88 1C 00 88 */ lbz r0, 0x88(r28) -/* 8031E808 0031B768 28 00 00 00 */ cmplwi r0, 0 -/* 8031E80C 0031B76C 41 82 01 2C */ beq lbl_8031E938 -/* 8031E810 0031B770 C0 02 C9 E8 */ lfs f0, lbl_805AE708@sda21(r2) -/* 8031E814 0031B774 38 A1 00 1C */ addi r5, r1, 0x1c -/* 8031E818 0031B778 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 8031E81C 0031B77C 80 7C 00 28 */ lwz r3, 0x28(r28) -/* 8031E820 0031B780 80 9C 00 74 */ lwz r4, 0x74(r28) -/* 8031E824 0031B784 80 63 00 20 */ lwz r3, 0x20(r3) -/* 8031E828 0031B788 81 83 00 00 */ lwz r12, 0(r3) -/* 8031E82C 0031B78C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8031E830 0031B790 7D 89 03 A6 */ mtctr r12 -/* 8031E834 0031B794 4E 80 04 21 */ bctrl -/* 8031E838 0031B798 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8031E83C 0031B79C 41 82 00 50 */ beq lbl_8031E88C -/* 8031E840 0031B7A0 80 1C 00 34 */ lwz r0, 0x34(r28) -/* 8031E844 0031B7A4 80 7C 00 3C */ lwz r3, 0x3c(r28) -/* 8031E848 0031B7A8 1C 00 00 38 */ mulli r0, r0, 0x38 -/* 8031E84C 0031B7AC 90 61 00 0C */ stw r3, 0xc(r1) -/* 8031E850 0031B7B0 7C 03 02 14 */ add r0, r3, r0 -/* 8031E854 0031B7B4 90 61 00 08 */ stw r3, 8(r1) -/* 8031E858 0031B7B8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8031E85C 0031B7BC 90 01 00 10 */ stw r0, 0x10(r1) -/* 8031E860 0031B7C0 48 00 00 08 */ b lbl_8031E868 -lbl_8031E864: -/* 8031E864 0031B7C4 38 63 00 38 */ addi r3, r3, 0x38 -lbl_8031E868: -/* 8031E868 0031B7C8 7C 03 00 40 */ cmplw r3, r0 -/* 8031E86C 0031B7CC 40 82 FF F8 */ bne lbl_8031E864 -/* 8031E870 0031B7D0 38 00 00 00 */ li r0, 0 -/* 8031E874 0031B7D4 38 61 00 30 */ addi r3, r1, 0x30 -/* 8031E878 0031B7D8 90 1C 00 34 */ stw r0, 0x34(r28) -/* 8031E87C 0031B7DC 38 80 FF FF */ li r4, -1 -/* 8031E880 0031B7E0 4B FF 3D 85 */ bl __dt__13CGlobalRandomFv -/* 8031E884 0031B7E4 38 60 00 01 */ li r3, 1 -/* 8031E888 0031B7E8 48 00 01 CC */ b lbl_8031EA54 -lbl_8031E88C: -/* 8031E88C 0031B7EC C0 41 00 1C */ lfs f2, 0x1c(r1) -/* 8031E890 0031B7F0 C0 3C 00 98 */ lfs f1, 0x98(r28) -/* 8031E894 0031B7F4 C0 0D 9D 08 */ lfs f0, lbl_805A88C8@sda21(r13) -/* 8031E898 0031B7F8 EC 22 00 72 */ fmuls f1, f2, f1 -/* 8031E89C 0031B7FC FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 8031E8A0 0031B800 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 8031E8A4 0031B804 40 80 00 0C */ bge lbl_8031E8B0 -/* 8031E8A8 0031B808 38 61 00 18 */ addi r3, r1, 0x18 -/* 8031E8AC 0031B80C 48 00 00 08 */ b lbl_8031E8B4 -lbl_8031E8B0: -/* 8031E8B0 0031B810 38 6D 9D 08 */ addi r3, r13, lbl_805A88C8@sda21 -lbl_8031E8B4: -/* 8031E8B4 0031B814 C0 23 00 00 */ lfs f1, 0(r3) -/* 8031E8B8 0031B818 D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 8031E8BC 0031B81C C0 1C 00 8C */ lfs f0, 0x8c(r28) -/* 8031E8C0 0031B820 EC 00 08 2A */ fadds f0, f0, f1 -/* 8031E8C4 0031B824 D0 1C 00 8C */ stfs f0, 0x8c(r28) -/* 8031E8C8 0031B828 C0 3C 00 8C */ lfs f1, 0x8c(r28) -/* 8031E8CC 0031B82C 48 07 5B F9 */ bl floor -/* 8031E8D0 0031B830 FC 00 08 1E */ fctiwz f0, f1 -/* 8031E8D4 0031B834 3C 00 43 30 */ lis r0, 0x4330 -/* 8031E8D8 0031B838 90 01 00 48 */ stw r0, 0x48(r1) -/* 8031E8DC 0031B83C C8 22 CA 18 */ lfd f1, lbl_805AE738@sda21(r2) -/* 8031E8E0 0031B840 D8 01 00 40 */ stfd f0, 0x40(r1) -/* 8031E8E4 0031B844 C0 5C 00 8C */ lfs f2, 0x8c(r28) -/* 8031E8E8 0031B848 83 61 00 44 */ lwz r27, 0x44(r1) -/* 8031E8EC 0031B84C 6F 60 80 00 */ xoris r0, r27, 0x8000 -/* 8031E8F0 0031B850 90 01 00 4C */ stw r0, 0x4c(r1) -/* 8031E8F4 0031B854 C8 01 00 48 */ lfd f0, 0x48(r1) -/* 8031E8F8 0031B858 EC 00 08 28 */ fsubs f0, f0, f1 -/* 8031E8FC 0031B85C EC 02 00 28 */ fsubs f0, f2, f0 -/* 8031E900 0031B860 D0 1C 00 8C */ stfs f0, 0x8c(r28) -/* 8031E904 0031B864 80 7C 00 28 */ lwz r3, 0x28(r28) -/* 8031E908 0031B868 80 63 00 1C */ lwz r3, 0x1c(r3) -/* 8031E90C 0031B86C 28 03 00 00 */ cmplwi r3, 0 -/* 8031E910 0031B870 41 82 00 1C */ beq lbl_8031E92C -/* 8031E914 0031B874 81 83 00 00 */ lwz r12, 0(r3) -/* 8031E918 0031B878 38 BC 00 90 */ addi r5, r28, 0x90 -/* 8031E91C 0031B87C 80 9C 00 74 */ lwz r4, 0x74(r28) -/* 8031E920 0031B880 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8031E924 0031B884 7D 89 03 A6 */ mtctr r12 -/* 8031E928 0031B888 4E 80 04 21 */ bctrl -lbl_8031E92C: -/* 8031E92C 0031B88C 7F 83 E3 78 */ mr r3, r28 -/* 8031E930 0031B890 7F 64 DB 78 */ mr r4, r27 -/* 8031E934 0031B894 4B FF ED B1 */ bl CreateNewParticles__11CElementGenFi -lbl_8031E938: -/* 8031E938 0031B898 88 1C 02 6C */ lbz r0, 0x26c(r28) -/* 8031E93C 0031B89C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8031E940 0031B8A0 41 82 00 0C */ beq lbl_8031E94C -/* 8031E944 0031B8A4 7F 83 E3 78 */ mr r3, r28 -/* 8031E948 0031B8A8 4B FF EC D9 */ bl UpdatePSTranslationAndOrientation__11CElementGenFv -lbl_8031E94C: -/* 8031E94C 0031B8AC 80 1C 03 08 */ lwz r0, 0x308(r28) -/* 8031E950 0031B8B0 2C 00 00 00 */ cmpwi r0, 0 -/* 8031E954 0031B8B4 41 82 00 0C */ beq lbl_8031E960 -/* 8031E958 0031B8B8 7F 83 E3 78 */ mr r3, r28 -/* 8031E95C 0031B8BC 4B FF FB E1 */ bl UpdateLightParameters__11CElementGenFv -lbl_8031E960: -/* 8031E960 0031B8C0 C8 2D 9C F0 */ lfd f1, lbl_805A88B0@sda21(r13) -/* 8031E964 0031B8C4 7F 83 E3 78 */ mr r3, r28 -/* 8031E968 0031B8C8 4B FF E0 4D */ bl UpdateChildParticleSystems__11CElementGenFd -/* 8031E96C 0031B8CC C8 0D 9C F0 */ lfd f0, lbl_805A88B0@sda21(r13) -/* 8031E970 0031B8D0 3B BD 00 01 */ addi r29, r29, 1 -/* 8031E974 0031B8D4 80 7C 00 74 */ lwz r3, 0x74(r28) -/* 8031E978 0031B8D8 FF 9C 00 2A */ fadd f28, f28, f0 -/* 8031E97C 0031B8DC 38 03 00 01 */ addi r0, r3, 1 -/* 8031E980 0031B8E0 90 1C 00 74 */ stw r0, 0x74(r28) -lbl_8031E984: -/* 8031E984 0031B8E4 C8 1C 00 78 */ lfd f0, 0x78(r28) -/* 8031E988 0031B8E8 FC 1C 00 40 */ fcmpo cr0, f28, f0 -/* 8031E98C 0031B8EC 40 80 00 14 */ bge lbl_8031E9A0 -/* 8031E990 0031B8F0 FC 1C 00 28 */ fsub f0, f28, f0 -/* 8031E994 0031B8F4 FC 00 02 10 */ fabs f0, f0 -/* 8031E998 0031B8F8 FC 00 D8 40 */ fcmpo cr0, f0, f27 -/* 8031E99C 0031B8FC 40 80 FE 24 */ bge lbl_8031E7C0 -lbl_8031E9A0: -/* 8031E9A0 0031B900 C8 3C 00 78 */ lfd f1, 0x78(r28) -/* 8031E9A4 0031B904 C8 02 CA 38 */ lfd f0, lbl_805AE758@sda21(r2) -/* 8031E9A8 0031B908 FC 3C 08 28 */ fsub f1, f28, f1 -/* 8031E9AC 0031B90C FC 20 0A 10 */ fabs f1, f1 -/* 8031E9B0 0031B910 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8031E9B4 0031B914 40 80 00 14 */ bge lbl_8031E9C8 -/* 8031E9B8 0031B918 DB 9C 00 78 */ stfd f28, 0x78(r28) -/* 8031E9BC 0031B91C C0 02 C9 F0 */ lfs f0, lbl_805AE710@sda21(r2) -/* 8031E9C0 0031B920 D0 1C 00 80 */ stfs f0, 0x80(r28) -/* 8031E9C4 0031B924 48 00 00 54 */ b lbl_8031EA18 -lbl_8031E9C8: -/* 8031E9C8 0031B928 6F A3 80 00 */ xoris r3, r29, 0x8000 -/* 8031E9CC 0031B92C 3C 00 43 30 */ lis r0, 0x4330 -/* 8031E9D0 0031B930 90 61 00 4C */ stw r3, 0x4c(r1) -/* 8031E9D4 0031B934 7F 83 E3 78 */ mr r3, r28 -/* 8031E9D8 0031B938 C8 62 CA 18 */ lfd f3, lbl_805AE738@sda21(r2) -/* 8031E9DC 0031B93C 90 01 00 48 */ stw r0, 0x48(r1) -/* 8031E9E0 0031B940 C8 2D 9C F0 */ lfd f1, lbl_805A88B0@sda21(r13) -/* 8031E9E4 0031B944 C8 41 00 48 */ lfd f2, 0x48(r1) -/* 8031E9E8 0031B948 C8 01 00 28 */ lfd f0, 0x28(r1) -/* 8031E9EC 0031B94C FC 42 18 28 */ fsub f2, f2, f3 -/* 8031E9F0 0031B950 FC 22 00 7C */ fnmsub f1, f2, f1, f0 -/* 8031E9F4 0031B954 4B FF DF C1 */ bl UpdateChildParticleSystems__11CElementGenFd -/* 8031E9F8 0031B958 C8 3C 00 78 */ lfd f1, 0x78(r28) -/* 8031E9FC 0031B95C C8 0D 9C F0 */ lfd f0, lbl_805A88B0@sda21(r13) -/* 8031EA00 0031B960 FC 3C 08 28 */ fsub f1, f28, f1 -/* 8031EA04 0031B964 C0 42 C9 F0 */ lfs f2, lbl_805AE710@sda21(r2) -/* 8031EA08 0031B968 FC 01 00 24 */ fdiv f0, f1, f0 -/* 8031EA0C 0031B96C FC 00 00 18 */ frsp f0, f0 -/* 8031EA10 0031B970 EC 02 00 28 */ fsubs f0, f2, f0 -/* 8031EA14 0031B974 D0 1C 00 80 */ stfs f0, 0x80(r28) -lbl_8031EA18: -/* 8031EA18 0031B978 7F 83 E3 78 */ mr r3, r28 -/* 8031EA1C 0031B97C 4B FF 90 01 */ bl BuildParticleSystemBounds__11CElementGenFv -/* 8031EA20 0031B980 48 06 69 89 */ bl OSGetTime -/* 8031EA24 0031B984 7C 9E 20 10 */ subfc r4, r30, r4 -/* 8031EA28 0031B988 7C 7F 19 10 */ subfe r3, r31, r3 -/* 8031EA2C 0031B98C 48 06 B5 39 */ bl __cvt_sll_flt -/* 8031EA30 0031B990 3C 80 80 5A */ lis r4, mData__10CStopwatch@ha -/* 8031EA34 0031B994 38 61 00 30 */ addi r3, r1, 0x30 -/* 8031EA38 0031B998 38 A4 FD 30 */ addi r5, r4, mData__10CStopwatch@l -/* 8031EA3C 0031B99C 38 80 FF FF */ li r4, -1 -/* 8031EA40 0031B9A0 C0 05 00 10 */ lfs f0, 0x10(r5) -/* 8031EA44 0031B9A4 EC 01 00 32 */ fmuls f0, f1, f0 -/* 8031EA48 0031B9A8 D0 1C 02 CC */ stfs f0, 0x2cc(r28) -/* 8031EA4C 0031B9AC 4B FF 3B B9 */ bl __dt__13CGlobalRandomFv -/* 8031EA50 0031B9B0 38 60 00 00 */ li r3, 0 -lbl_8031EA54: -/* 8031EA54 0031B9B4 E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0 -/* 8031EA58 0031B9B8 CB E1 00 B0 */ lfd f31, 0xb0(r1) -/* 8031EA5C 0031B9BC E3 C1 00 A8 */ psq_l f30, 168(r1), 0, qr0 -/* 8031EA60 0031B9C0 CB C1 00 A0 */ lfd f30, 0xa0(r1) -/* 8031EA64 0031B9C4 E3 A1 00 98 */ psq_l f29, 152(r1), 0, qr0 -/* 8031EA68 0031B9C8 CB A1 00 90 */ lfd f29, 0x90(r1) -/* 8031EA6C 0031B9CC E3 81 00 88 */ psq_l f28, 136(r1), 0, qr0 -/* 8031EA70 0031B9D0 CB 81 00 80 */ lfd f28, 0x80(r1) -/* 8031EA74 0031B9D4 E3 61 00 78 */ psq_l f27, 120(r1), 0, qr0 -/* 8031EA78 0031B9D8 CB 61 00 70 */ lfd f27, 0x70(r1) -/* 8031EA7C 0031B9DC BB 61 00 5C */ lmw r27, 0x5c(r1) -/* 8031EA80 0031B9E0 80 01 00 C4 */ lwz r0, 0xc4(r1) -/* 8031EA84 0031B9E4 7C 08 03 A6 */ mtlr r0 -/* 8031EA88 0031B9E8 38 21 00 C0 */ addi r1, r1, 0xc0 -/* 8031EA8C 0031B9EC 4E 80 00 20 */ blr - -.global Update__11CElementGenFd -Update__11CElementGenFd: -/* 8031EA90 0031B9F0 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8031EA94 0031B9F4 7C 08 02 A6 */ mflr r0 -/* 8031EA98 0031B9F8 3C A0 50 41 */ lis r5, 0x50415254@ha -/* 8031EA9C 0031B9FC 90 01 00 34 */ stw r0, 0x34(r1) -/* 8031EAA0 0031BA00 38 01 00 0C */ addi r0, r1, 0xc -/* 8031EAA4 0031BA04 DB E1 00 28 */ stfd f31, 0x28(r1) -/* 8031EAA8 0031BA08 FF E0 08 90 */ fmr f31, f1 -/* 8031EAAC 0031BA0C 93 E1 00 24 */ stw r31, 0x24(r1) -/* 8031EAB0 0031BA10 7C 7F 1B 78 */ mr r31, r3 -/* 8031EAB4 0031BA14 38 65 52 54 */ addi r3, r5, 0x50415254@l -/* 8031EAB8 0031BA18 80 8D A8 F4 */ lwz r4, lbl_805A94B4@sda21(r13) -/* 8031EABC 0031BA1C 93 E1 00 10 */ stw r31, 0x10(r1) -/* 8031EAC0 0031BA20 90 61 00 0C */ stw r3, 0xc(r1) -/* 8031EAC4 0031BA24 90 81 00 14 */ stw r4, 0x14(r1) -/* 8031EAC8 0031BA28 90 0D A8 F4 */ stw r0, lbl_805A94B4@sda21(r13) -/* 8031EACC 0031BA2C 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 8031EAD0 0031BA30 80 03 00 04 */ lwz r0, 4(r3) -/* 8031EAD4 0031BA34 28 00 00 00 */ cmplwi r0, 0 -/* 8031EAD8 0031BA38 41 82 00 78 */ beq lbl_8031EB50 -/* 8031EADC 0031BA3C 88 1F 02 6D */ lbz r0, 0x26d(r31) -/* 8031EAE0 0031BA40 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 8031EAE4 0031BA44 40 82 00 6C */ bne lbl_8031EB50 -/* 8031EAE8 0031BA48 38 00 00 00 */ li r0, 0 -/* 8031EAEC 0031BA4C 38 A1 00 08 */ addi r5, r1, 8 -/* 8031EAF0 0031BA50 90 01 00 08 */ stw r0, 8(r1) -/* 8031EAF4 0031BA54 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 8031EAF8 0031BA58 80 9F 00 74 */ lwz r4, 0x74(r31) -/* 8031EAFC 0031BA5C 80 63 00 04 */ lwz r3, 4(r3) -/* 8031EB00 0031BA60 81 83 00 00 */ lwz r12, 0(r3) -/* 8031EB04 0031BA64 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8031EB08 0031BA68 7D 89 03 A6 */ mtctr r12 -/* 8031EB0C 0031BA6C 4E 80 04 21 */ bctrl -/* 8031EB10 0031BA70 80 81 00 08 */ lwz r4, 8(r1) -/* 8031EB14 0031BA74 3C 00 43 30 */ lis r0, 0x4330 -/* 8031EB18 0031BA78 90 01 00 18 */ stw r0, 0x18(r1) -/* 8031EB1C 0031BA7C 7F E3 FB 78 */ mr r3, r31 -/* 8031EB20 0031BA80 6C 80 80 00 */ xoris r0, r4, 0x8000 -/* 8031EB24 0031BA84 C8 22 CA 18 */ lfd f1, lbl_805AE738@sda21(r2) -/* 8031EB28 0031BA88 90 01 00 1C */ stw r0, 0x1c(r1) -/* 8031EB2C 0031BA8C C8 4D 9C F0 */ lfd f2, lbl_805A88B0@sda21(r13) -/* 8031EB30 0031BA90 C8 01 00 18 */ lfd f0, 0x18(r1) -/* 8031EB34 0031BA94 FC 00 08 28 */ fsub f0, f0, f1 -/* 8031EB38 0031BA98 FC 22 00 32 */ fmul f1, f2, f0 -/* 8031EB3C 0031BA9C 4B FF FB 0D */ bl InternalUpdate__11CElementGenFd -/* 8031EB40 0031BAA0 88 1F 02 6D */ lbz r0, 0x26d(r31) -/* 8031EB44 0031BAA4 38 60 00 01 */ li r3, 1 -/* 8031EB48 0031BAA8 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 8031EB4C 0031BAAC 98 1F 02 6D */ stb r0, 0x26d(r31) -lbl_8031EB50: -/* 8031EB50 0031BAB0 FC 20 F8 90 */ fmr f1, f31 -/* 8031EB54 0031BAB4 7F E3 FB 78 */ mr r3, r31 -/* 8031EB58 0031BAB8 4B FF FA F1 */ bl InternalUpdate__11CElementGenFd -/* 8031EB5C 0031BABC 34 01 00 0C */ addic. r0, r1, 0xc -/* 8031EB60 0031BAC0 41 82 00 0C */ beq lbl_8031EB6C -/* 8031EB64 0031BAC4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8031EB68 0031BAC8 90 0D A8 F4 */ stw r0, lbl_805A94B4@sda21(r13) -lbl_8031EB6C: -/* 8031EB6C 0031BACC 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8031EB70 0031BAD0 CB E1 00 28 */ lfd f31, 0x28(r1) -/* 8031EB74 0031BAD4 83 E1 00 24 */ lwz r31, 0x24(r1) -/* 8031EB78 0031BAD8 7C 08 03 A6 */ mtlr r0 -/* 8031EB7C 0031BADC 38 21 00 30 */ addi r1, r1, 0x30 -/* 8031EB80 0031BAE0 4E 80 00 20 */ blr - -.global SetGlobalOrientAndTrans__11CElementGenFRC12CTransform4f -SetGlobalOrientAndTrans__11CElementGenFRC12CTransform4f: -/* 8031EB84 0031BAE4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8031EB88 0031BAE8 7C 08 02 A6 */ mflr r0 -/* 8031EB8C 0031BAEC 90 01 00 24 */ stw r0, 0x24(r1) -/* 8031EB90 0031BAF0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8031EB94 0031BAF4 7C 9F 23 78 */ mr r31, r4 -/* 8031EB98 0031BAF8 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8031EB9C 0031BAFC 7C 7E 1B 78 */ mr r30, r3 -/* 8031EBA0 0031BB00 81 83 00 00 */ lwz r12, 0(r3) -/* 8031EBA4 0031BB04 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8031EBA8 0031BB08 7D 89 03 A6 */ mtctr r12 -/* 8031EBAC 0031BB0C 4E 80 04 21 */ bctrl -/* 8031EBB0 0031BB10 C0 5F 00 2C */ lfs f2, 0x2c(r31) -/* 8031EBB4 0031BB14 7F C3 F3 78 */ mr r3, r30 -/* 8031EBB8 0031BB18 C0 3F 00 1C */ lfs f1, 0x1c(r31) -/* 8031EBBC 0031BB1C 38 81 00 08 */ addi r4, r1, 8 -/* 8031EBC0 0031BB20 C0 1F 00 0C */ lfs f0, 0xc(r31) -/* 8031EBC4 0031BB24 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 8031EBC8 0031BB28 D0 01 00 08 */ stfs f0, 8(r1) -/* 8031EBCC 0031BB2C D0 41 00 10 */ stfs f2, 0x10(r1) -/* 8031EBD0 0031BB30 81 9E 00 00 */ lwz r12, 0(r30) -/* 8031EBD4 0031BB34 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 8031EBD8 0031BB38 7D 89 03 A6 */ mtctr r12 -/* 8031EBDC 0031BB3C 4E 80 04 21 */ bctrl -/* 8031EBE0 0031BB40 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8031EBE4 0031BB44 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8031EBE8 0031BB48 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8031EBEC 0031BB4C 7C 08 03 A6 */ mtlr r0 -/* 8031EBF0 0031BB50 38 21 00 20 */ addi r1, r1, 0x20 -/* 8031EBF4 0031BB54 4E 80 00 20 */ blr - -.global SetGlobalOrientation__11CElementGenFRC12CTransform4f -SetGlobalOrientation__11CElementGenFRC12CTransform4f: -/* 8031EBF8 0031BB58 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8031EBFC 0031BB5C 7C 08 02 A6 */ mflr r0 -/* 8031EC00 0031BB60 90 01 00 14 */ stw r0, 0x14(r1) -/* 8031EC04 0031BB64 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8031EC08 0031BB68 93 C1 00 08 */ stw r30, 8(r1) -/* 8031EC0C 0031BB6C 7C 7E 1B 78 */ mr r30, r3 -/* 8031EC10 0031BB70 38 7E 02 2C */ addi r3, r30, 0x22c -/* 8031EC14 0031BB74 4B FF 3F 95 */ bl SetRotation__12CTransform4fFRC12CTransform4f -/* 8031EC18 0031BB78 83 FE 02 9C */ lwz r31, 0x29c(r30) -/* 8031EC1C 0031BB7C 48 00 00 20 */ b lbl_8031EC3C -lbl_8031EC20: -/* 8031EC20 0031BB80 80 7F 00 00 */ lwz r3, 0(r31) -/* 8031EC24 0031BB84 38 9E 02 2C */ addi r4, r30, 0x22c -/* 8031EC28 0031BB88 81 83 00 00 */ lwz r12, 0(r3) -/* 8031EC2C 0031BB8C 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8031EC30 0031BB90 7D 89 03 A6 */ mtctr r12 -/* 8031EC34 0031BB94 4E 80 04 21 */ bctrl -/* 8031EC38 0031BB98 3B FF 00 04 */ addi r31, r31, 4 -lbl_8031EC3C: -/* 8031EC3C 0031BB9C 80 1E 02 94 */ lwz r0, 0x294(r30) -/* 8031EC40 0031BBA0 80 7E 02 9C */ lwz r3, 0x29c(r30) -/* 8031EC44 0031BBA4 54 00 10 3A */ slwi r0, r0, 2 -/* 8031EC48 0031BBA8 7C 03 02 14 */ add r0, r3, r0 -/* 8031EC4C 0031BBAC 7C 1F 00 40 */ cmplw r31, r0 -/* 8031EC50 0031BBB0 40 82 FF D0 */ bne lbl_8031EC20 -/* 8031EC54 0031BBB4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8031EC58 0031BBB8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8031EC5C 0031BBBC 83 C1 00 08 */ lwz r30, 8(r1) -/* 8031EC60 0031BBC0 7C 08 03 A6 */ mtlr r0 -/* 8031EC64 0031BBC4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8031EC68 0031BBC8 4E 80 00 20 */ blr - -.global SetOrientation__11CElementGenFRC12CTransform4f -SetOrientation__11CElementGenFRC12CTransform4f: -/* 8031EC6C 0031BBCC 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 8031EC70 0031BBD0 7C 08 02 A6 */ mflr r0 -/* 8031EC74 0031BBD4 90 01 00 74 */ stw r0, 0x74(r1) -/* 8031EC78 0031BBD8 93 E1 00 6C */ stw r31, 0x6c(r1) -/* 8031EC7C 0031BBDC 93 C1 00 68 */ stw r30, 0x68(r1) -/* 8031EC80 0031BBE0 7C 9E 23 78 */ mr r30, r4 -/* 8031EC84 0031BBE4 93 A1 00 64 */ stw r29, 0x64(r1) -/* 8031EC88 0031BBE8 7C 7D 1B 78 */ mr r29, r3 -/* 8031EC8C 0031BBEC 38 7D 01 D8 */ addi r3, r29, 0x1d8 -/* 8031EC90 0031BBF0 4B FF 3E B1 */ bl __as__12CTransform4fFRC12CTransform4f -/* 8031EC94 0031BBF4 38 61 00 08 */ addi r3, r1, 8 -/* 8031EC98 0031BBF8 38 9D 01 D8 */ addi r4, r29, 0x1d8 -/* 8031EC9C 0031BBFC 4B FF 40 01 */ bl GetQuickInverse__12CTransform4fCFv -/* 8031ECA0 0031BC00 38 61 00 38 */ addi r3, r1, 0x38 -/* 8031ECA4 0031BC04 38 81 00 08 */ addi r4, r1, 8 -/* 8031ECA8 0031BC08 4B FF 44 4D */ bl BuildMatrix3f__12CTransform4fCFv -/* 8031ECAC 0031BC0C 38 7D 02 08 */ addi r3, r29, 0x208 -/* 8031ECB0 0031BC10 38 81 00 38 */ addi r4, r1, 0x38 -/* 8031ECB4 0031BC14 4B FF 13 45 */ bl __as__9CMatrix3fFRC9CMatrix3f -/* 8031ECB8 0031BC18 83 FD 02 9C */ lwz r31, 0x29c(r29) -/* 8031ECBC 0031BC1C 48 00 00 20 */ b lbl_8031ECDC -lbl_8031ECC0: -/* 8031ECC0 0031BC20 80 7F 00 00 */ lwz r3, 0(r31) -/* 8031ECC4 0031BC24 7F C4 F3 78 */ mr r4, r30 -/* 8031ECC8 0031BC28 81 83 00 00 */ lwz r12, 0(r3) -/* 8031ECCC 0031BC2C 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8031ECD0 0031BC30 7D 89 03 A6 */ mtctr r12 -/* 8031ECD4 0031BC34 4E 80 04 21 */ bctrl -/* 8031ECD8 0031BC38 3B FF 00 04 */ addi r31, r31, 4 -lbl_8031ECDC: -/* 8031ECDC 0031BC3C 80 1D 02 94 */ lwz r0, 0x294(r29) -/* 8031ECE0 0031BC40 80 7D 02 9C */ lwz r3, 0x29c(r29) -/* 8031ECE4 0031BC44 54 00 10 3A */ slwi r0, r0, 2 -/* 8031ECE8 0031BC48 7C 03 02 14 */ add r0, r3, r0 -/* 8031ECEC 0031BC4C 7C 1F 00 40 */ cmplw r31, r0 -/* 8031ECF0 0031BC50 40 82 FF D0 */ bne lbl_8031ECC0 -/* 8031ECF4 0031BC54 80 01 00 74 */ lwz r0, 0x74(r1) -/* 8031ECF8 0031BC58 83 E1 00 6C */ lwz r31, 0x6c(r1) -/* 8031ECFC 0031BC5C 83 C1 00 68 */ lwz r30, 0x68(r1) -/* 8031ED00 0031BC60 83 A1 00 64 */ lwz r29, 0x64(r1) -/* 8031ED04 0031BC64 7C 08 03 A6 */ mtlr r0 -/* 8031ED08 0031BC68 38 21 00 70 */ addi r1, r1, 0x70 -/* 8031ED0C 0031BC6C 4E 80 00 20 */ blr - -.global SetLocalScale__11CElementGenFRC9CVector3f -SetLocalScale__11CElementGenFRC9CVector3f: -/* 8031ED10 0031BC70 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 8031ED14 0031BC74 7C 08 02 A6 */ mflr r0 -/* 8031ED18 0031BC78 90 01 00 84 */ stw r0, 0x84(r1) -/* 8031ED1C 0031BC7C 93 E1 00 7C */ stw r31, 0x7c(r1) -/* 8031ED20 0031BC80 93 C1 00 78 */ stw r30, 0x78(r1) -/* 8031ED24 0031BC84 7C 9E 23 78 */ mr r30, r4 -/* 8031ED28 0031BC88 93 A1 00 74 */ stw r29, 0x74(r1) -/* 8031ED2C 0031BC8C 7C 7D 1B 78 */ mr r29, r3 -/* 8031ED30 0031BC90 38 61 00 38 */ addi r3, r1, 0x38 -/* 8031ED34 0031BC94 C0 04 00 00 */ lfs f0, 0(r4) -/* 8031ED38 0031BC98 D0 1D 01 6C */ stfs f0, 0x16c(r29) -/* 8031ED3C 0031BC9C C0 04 00 04 */ lfs f0, 4(r4) -/* 8031ED40 0031BCA0 D0 1D 01 70 */ stfs f0, 0x170(r29) -/* 8031ED44 0031BCA4 C0 04 00 08 */ lfs f0, 8(r4) -/* 8031ED48 0031BCA8 D0 1D 01 74 */ stfs f0, 0x174(r29) -/* 8031ED4C 0031BCAC C0 3D 01 6C */ lfs f1, 0x16c(r29) -/* 8031ED50 0031BCB0 C0 5D 01 70 */ lfs f2, 0x170(r29) -/* 8031ED54 0031BCB4 C0 7D 01 74 */ lfs f3, 0x174(r29) -/* 8031ED58 0031BCB8 4B FF 44 B1 */ bl Scale__12CTransform4fFfff -/* 8031ED5C 0031BCBC 38 7D 01 78 */ addi r3, r29, 0x178 -/* 8031ED60 0031BCC0 38 81 00 38 */ addi r4, r1, 0x38 -/* 8031ED64 0031BCC4 4B FF 3D DD */ bl __as__12CTransform4fFRC12CTransform4f -/* 8031ED68 0031BCC8 C0 62 C9 F0 */ lfs f3, lbl_805AE710@sda21(r2) -/* 8031ED6C 0031BCCC 38 61 00 08 */ addi r3, r1, 8 -/* 8031ED70 0031BCD0 C0 3D 01 6C */ lfs f1, 0x16c(r29) -/* 8031ED74 0031BCD4 C0 5D 01 70 */ lfs f2, 0x170(r29) -/* 8031ED78 0031BCD8 C0 1D 01 74 */ lfs f0, 0x174(r29) -/* 8031ED7C 0031BCDC EC 23 08 24 */ fdivs f1, f3, f1 -/* 8031ED80 0031BCE0 EC 43 10 24 */ fdivs f2, f3, f2 -/* 8031ED84 0031BCE4 EC 63 00 24 */ fdivs f3, f3, f0 -/* 8031ED88 0031BCE8 4B FF 44 81 */ bl Scale__12CTransform4fFfff -/* 8031ED8C 0031BCEC 38 7D 01 A8 */ addi r3, r29, 0x1a8 -/* 8031ED90 0031BCF0 38 81 00 08 */ addi r4, r1, 8 -/* 8031ED94 0031BCF4 4B FF 3D AD */ bl __as__12CTransform4fFRC12CTransform4f -/* 8031ED98 0031BCF8 83 FD 02 9C */ lwz r31, 0x29c(r29) -/* 8031ED9C 0031BCFC 48 00 00 20 */ b lbl_8031EDBC -lbl_8031EDA0: -/* 8031EDA0 0031BD00 80 7F 00 00 */ lwz r3, 0(r31) -/* 8031EDA4 0031BD04 7F C4 F3 78 */ mr r4, r30 -/* 8031EDA8 0031BD08 81 83 00 00 */ lwz r12, 0(r3) -/* 8031EDAC 0031BD0C 81 8C 00 28 */ lwz r12, 0x28(r12) -/* 8031EDB0 0031BD10 7D 89 03 A6 */ mtctr r12 -/* 8031EDB4 0031BD14 4E 80 04 21 */ bctrl -/* 8031EDB8 0031BD18 3B FF 00 04 */ addi r31, r31, 4 -lbl_8031EDBC: -/* 8031EDBC 0031BD1C 80 1D 02 94 */ lwz r0, 0x294(r29) -/* 8031EDC0 0031BD20 80 7D 02 9C */ lwz r3, 0x29c(r29) -/* 8031EDC4 0031BD24 54 00 10 3A */ slwi r0, r0, 2 -/* 8031EDC8 0031BD28 7C 03 02 14 */ add r0, r3, r0 -/* 8031EDCC 0031BD2C 7C 1F 00 40 */ cmplw r31, r0 -/* 8031EDD0 0031BD30 40 82 FF D0 */ bne lbl_8031EDA0 -/* 8031EDD4 0031BD34 80 01 00 84 */ lwz r0, 0x84(r1) -/* 8031EDD8 0031BD38 83 E1 00 7C */ lwz r31, 0x7c(r1) -/* 8031EDDC 0031BD3C 83 C1 00 78 */ lwz r30, 0x78(r1) -/* 8031EDE0 0031BD40 83 A1 00 74 */ lwz r29, 0x74(r1) -/* 8031EDE4 0031BD44 7C 08 03 A6 */ mtlr r0 -/* 8031EDE8 0031BD48 38 21 00 80 */ addi r1, r1, 0x80 -/* 8031EDEC 0031BD4C 4E 80 00 20 */ blr - -.global SetGlobalScale__11CElementGenFRC9CVector3f -SetGlobalScale__11CElementGenFRC9CVector3f: -/* 8031EDF0 0031BD50 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 8031EDF4 0031BD54 7C 08 02 A6 */ mflr r0 -/* 8031EDF8 0031BD58 90 01 00 84 */ stw r0, 0x84(r1) -/* 8031EDFC 0031BD5C 93 E1 00 7C */ stw r31, 0x7c(r1) -/* 8031EE00 0031BD60 93 C1 00 78 */ stw r30, 0x78(r1) -/* 8031EE04 0031BD64 7C 9E 23 78 */ mr r30, r4 -/* 8031EE08 0031BD68 93 A1 00 74 */ stw r29, 0x74(r1) -/* 8031EE0C 0031BD6C 7C 7D 1B 78 */ mr r29, r3 -/* 8031EE10 0031BD70 38 61 00 38 */ addi r3, r1, 0x38 -/* 8031EE14 0031BD74 C0 04 00 00 */ lfs f0, 0(r4) -/* 8031EE18 0031BD78 D0 1D 01 00 */ stfs f0, 0x100(r29) -/* 8031EE1C 0031BD7C C0 04 00 04 */ lfs f0, 4(r4) -/* 8031EE20 0031BD80 D0 1D 01 04 */ stfs f0, 0x104(r29) -/* 8031EE24 0031BD84 C0 04 00 08 */ lfs f0, 8(r4) -/* 8031EE28 0031BD88 D0 1D 01 08 */ stfs f0, 0x108(r29) -/* 8031EE2C 0031BD8C C0 3D 01 00 */ lfs f1, 0x100(r29) -/* 8031EE30 0031BD90 C0 5D 01 04 */ lfs f2, 0x104(r29) -/* 8031EE34 0031BD94 C0 7D 01 08 */ lfs f3, 0x108(r29) -/* 8031EE38 0031BD98 4B FF 43 D1 */ bl Scale__12CTransform4fFfff -/* 8031EE3C 0031BD9C 38 7D 01 0C */ addi r3, r29, 0x10c -/* 8031EE40 0031BDA0 38 81 00 38 */ addi r4, r1, 0x38 -/* 8031EE44 0031BDA4 4B FF 3C FD */ bl __as__12CTransform4fFRC12CTransform4f -/* 8031EE48 0031BDA8 C0 62 C9 F0 */ lfs f3, lbl_805AE710@sda21(r2) -/* 8031EE4C 0031BDAC 38 61 00 08 */ addi r3, r1, 8 -/* 8031EE50 0031BDB0 C0 3D 01 00 */ lfs f1, 0x100(r29) -/* 8031EE54 0031BDB4 C0 5D 01 04 */ lfs f2, 0x104(r29) -/* 8031EE58 0031BDB8 C0 1D 01 08 */ lfs f0, 0x108(r29) -/* 8031EE5C 0031BDBC EC 23 08 24 */ fdivs f1, f3, f1 -/* 8031EE60 0031BDC0 EC 43 10 24 */ fdivs f2, f3, f2 -/* 8031EE64 0031BDC4 EC 63 00 24 */ fdivs f3, f3, f0 -/* 8031EE68 0031BDC8 4B FF 43 A1 */ bl Scale__12CTransform4fFfff -/* 8031EE6C 0031BDCC 38 7D 01 3C */ addi r3, r29, 0x13c -/* 8031EE70 0031BDD0 38 81 00 08 */ addi r4, r1, 8 -/* 8031EE74 0031BDD4 4B FF 3C CD */ bl __as__12CTransform4fFRC12CTransform4f -/* 8031EE78 0031BDD8 83 FD 02 9C */ lwz r31, 0x29c(r29) -/* 8031EE7C 0031BDDC 48 00 00 20 */ b lbl_8031EE9C -lbl_8031EE80: -/* 8031EE80 0031BDE0 80 7F 00 00 */ lwz r3, 0(r31) -/* 8031EE84 0031BDE4 7F C4 F3 78 */ mr r4, r30 -/* 8031EE88 0031BDE8 81 83 00 00 */ lwz r12, 0(r3) -/* 8031EE8C 0031BDEC 81 8C 00 24 */ lwz r12, 0x24(r12) -/* 8031EE90 0031BDF0 7D 89 03 A6 */ mtctr r12 -/* 8031EE94 0031BDF4 4E 80 04 21 */ bctrl -/* 8031EE98 0031BDF8 3B FF 00 04 */ addi r31, r31, 4 -lbl_8031EE9C: -/* 8031EE9C 0031BDFC 80 1D 02 94 */ lwz r0, 0x294(r29) -/* 8031EEA0 0031BE00 80 7D 02 9C */ lwz r3, 0x29c(r29) -/* 8031EEA4 0031BE04 54 00 10 3A */ slwi r0, r0, 2 -/* 8031EEA8 0031BE08 7C 03 02 14 */ add r0, r3, r0 -/* 8031EEAC 0031BE0C 7C 1F 00 40 */ cmplw r31, r0 -/* 8031EEB0 0031BE10 40 82 FF D0 */ bne lbl_8031EE80 -/* 8031EEB4 0031BE14 80 01 00 84 */ lwz r0, 0x84(r1) -/* 8031EEB8 0031BE18 83 E1 00 7C */ lwz r31, 0x7c(r1) -/* 8031EEBC 0031BE1C 83 C1 00 78 */ lwz r30, 0x78(r1) -/* 8031EEC0 0031BE20 83 A1 00 74 */ lwz r29, 0x74(r1) -/* 8031EEC4 0031BE24 7C 08 03 A6 */ mtlr r0 -/* 8031EEC8 0031BE28 38 21 00 80 */ addi r1, r1, 0x80 -/* 8031EECC 0031BE2C 4E 80 00 20 */ blr - -.global GetModulationColor__11CElementGenCFv -GetModulationColor__11CElementGenCFv: -/* 8031EED0 0031BE30 38 63 03 38 */ addi r3, r3, 0x338 -/* 8031EED4 0031BE34 4E 80 00 20 */ blr - -.global SetModulationColor__11CElementGenFRC6CColor -SetModulationColor__11CElementGenFRC6CColor: -/* 8031EED8 0031BE38 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8031EEDC 0031BE3C 7C 08 02 A6 */ mflr r0 -/* 8031EEE0 0031BE40 90 01 00 24 */ stw r0, 0x24(r1) -/* 8031EEE4 0031BE44 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8031EEE8 0031BE48 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8031EEEC 0031BE4C 7C 9E 23 78 */ mr r30, r4 -/* 8031EEF0 0031BE50 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8031EEF4 0031BE54 7C 7D 1B 78 */ mr r29, r3 -/* 8031EEF8 0031BE58 80 04 00 00 */ lwz r0, 0(r4) -/* 8031EEFC 0031BE5C 90 03 03 38 */ stw r0, 0x338(r3) -/* 8031EF00 0031BE60 83 E3 02 9C */ lwz r31, 0x29c(r3) -/* 8031EF04 0031BE64 48 00 00 20 */ b lbl_8031EF24 -lbl_8031EF08: -/* 8031EF08 0031BE68 80 7F 00 00 */ lwz r3, 0(r31) -/* 8031EF0C 0031BE6C 7F C4 F3 78 */ mr r4, r30 -/* 8031EF10 0031BE70 81 83 00 00 */ lwz r12, 0(r3) -/* 8031EF14 0031BE74 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 8031EF18 0031BE78 7D 89 03 A6 */ mtctr r12 -/* 8031EF1C 0031BE7C 4E 80 04 21 */ bctrl -/* 8031EF20 0031BE80 3B FF 00 04 */ addi r31, r31, 4 -lbl_8031EF24: -/* 8031EF24 0031BE84 80 1D 02 94 */ lwz r0, 0x294(r29) -/* 8031EF28 0031BE88 80 7D 02 9C */ lwz r3, 0x29c(r29) -/* 8031EF2C 0031BE8C 54 00 10 3A */ slwi r0, r0, 2 -/* 8031EF30 0031BE90 7C 03 02 14 */ add r0, r3, r0 -/* 8031EF34 0031BE94 7C 1F 00 40 */ cmplw r31, r0 -/* 8031EF38 0031BE98 40 82 FF D0 */ bne lbl_8031EF08 -/* 8031EF3C 0031BE9C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8031EF40 0031BEA0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8031EF44 0031BEA4 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8031EF48 0031BEA8 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8031EF4C 0031BEAC 7C 08 03 A6 */ mtlr r0 -/* 8031EF50 0031BEB0 38 21 00 20 */ addi r1, r1, 0x20 -/* 8031EF54 0031BEB4 4E 80 00 20 */ blr - -.global SetGlobalTranslation__11CElementGenFRC9CVector3f -SetGlobalTranslation__11CElementGenFRC9CVector3f: -/* 8031EF58 0031BEB8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8031EF5C 0031BEBC 7C 08 02 A6 */ mflr r0 -/* 8031EF60 0031BEC0 90 01 00 24 */ stw r0, 0x24(r1) -/* 8031EF64 0031BEC4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8031EF68 0031BEC8 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8031EF6C 0031BECC 7C 9E 23 78 */ mr r30, r4 -/* 8031EF70 0031BED0 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8031EF74 0031BED4 7C 7D 1B 78 */ mr r29, r3 -/* 8031EF78 0031BED8 C0 04 00 00 */ lfs f0, 0(r4) -/* 8031EF7C 0031BEDC D0 03 00 E8 */ stfs f0, 0xe8(r3) -/* 8031EF80 0031BEE0 C0 04 00 04 */ lfs f0, 4(r4) -/* 8031EF84 0031BEE4 D0 03 00 EC */ stfs f0, 0xec(r3) -/* 8031EF88 0031BEE8 C0 04 00 08 */ lfs f0, 8(r4) -/* 8031EF8C 0031BEEC D0 03 00 F0 */ stfs f0, 0xf0(r3) -/* 8031EF90 0031BEF0 83 E3 02 9C */ lwz r31, 0x29c(r3) -/* 8031EF94 0031BEF4 48 00 00 20 */ b lbl_8031EFB4 -lbl_8031EF98: -/* 8031EF98 0031BEF8 80 7F 00 00 */ lwz r3, 0(r31) -/* 8031EF9C 0031BEFC 7F C4 F3 78 */ mr r4, r30 -/* 8031EFA0 0031BF00 81 83 00 00 */ lwz r12, 0(r3) -/* 8031EFA4 0031BF04 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 8031EFA8 0031BF08 7D 89 03 A6 */ mtctr r12 -/* 8031EFAC 0031BF0C 4E 80 04 21 */ bctrl -/* 8031EFB0 0031BF10 3B FF 00 04 */ addi r31, r31, 4 -lbl_8031EFB4: -/* 8031EFB4 0031BF14 80 1D 02 94 */ lwz r0, 0x294(r29) -/* 8031EFB8 0031BF18 80 7D 02 9C */ lwz r3, 0x29c(r29) -/* 8031EFBC 0031BF1C 54 00 10 3A */ slwi r0, r0, 2 -/* 8031EFC0 0031BF20 7C 03 02 14 */ add r0, r3, r0 -/* 8031EFC4 0031BF24 7C 1F 00 40 */ cmplw r31, r0 -/* 8031EFC8 0031BF28 40 82 FF D0 */ bne lbl_8031EF98 -/* 8031EFCC 0031BF2C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8031EFD0 0031BF30 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8031EFD4 0031BF34 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8031EFD8 0031BF38 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8031EFDC 0031BF3C 7C 08 03 A6 */ mtlr r0 -/* 8031EFE0 0031BF40 38 21 00 20 */ addi r1, r1, 0x20 -/* 8031EFE4 0031BF44 4E 80 00 20 */ blr - -.global SetTranslation__11CElementGenFRC9CVector3f -SetTranslation__11CElementGenFRC9CVector3f: -/* 8031EFE8 0031BF48 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8031EFEC 0031BF4C 7C 08 02 A6 */ mflr r0 -/* 8031EFF0 0031BF50 90 01 00 34 */ stw r0, 0x34(r1) -/* 8031EFF4 0031BF54 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8031EFF8 0031BF58 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8031EFFC 0031BF5C 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8031F000 0031BF60 7C 9D 23 78 */ mr r29, r4 -/* 8031F004 0031BF64 93 81 00 20 */ stw r28, 0x20(r1) -/* 8031F008 0031BF68 7C 7C 1B 78 */ mr r28, r3 -/* 8031F00C 0031BF6C C0 04 00 00 */ lfs f0, 0(r4) -/* 8031F010 0031BF70 D0 03 00 DC */ stfs f0, 0xdc(r3) -/* 8031F014 0031BF74 C0 04 00 04 */ lfs f0, 4(r4) -/* 8031F018 0031BF78 D0 03 00 E0 */ stfs f0, 0xe0(r3) -/* 8031F01C 0031BF7C C0 04 00 08 */ lfs f0, 8(r4) -/* 8031F020 0031BF80 D0 03 00 E4 */ stfs f0, 0xe4(r3) -/* 8031F024 0031BF84 83 E3 02 9C */ lwz r31, 0x29c(r3) -/* 8031F028 0031BF88 48 00 00 FC */ b lbl_8031F124 -lbl_8031F02C: -/* 8031F02C 0031BF8C 83 DF 00 00 */ lwz r30, 0(r31) -/* 8031F030 0031BF90 7F C3 F3 78 */ mr r3, r30 -/* 8031F034 0031BF94 81 9E 00 00 */ lwz r12, 0(r30) -/* 8031F038 0031BF98 81 8C 00 74 */ lwz r12, 0x74(r12) -/* 8031F03C 0031BF9C 7D 89 03 A6 */ mtctr r12 -/* 8031F040 0031BFA0 4E 80 04 21 */ bctrl -/* 8031F044 0031BFA4 3C 03 BA B4 */ addis r0, r3, 0xbab4 -/* 8031F048 0031BFA8 28 00 53 43 */ cmplwi r0, 0x5343 -/* 8031F04C 0031BFAC 40 82 00 50 */ bne lbl_8031F09C -/* 8031F050 0031BFB0 C0 3D 00 04 */ lfs f1, 4(r29) -/* 8031F054 0031BFB4 7F C3 F3 78 */ mr r3, r30 -/* 8031F058 0031BFB8 C0 1C 02 C4 */ lfs f0, 0x2c4(r28) -/* 8031F05C 0031BFBC 38 81 00 14 */ addi r4, r1, 0x14 -/* 8031F060 0031BFC0 C0 7D 00 08 */ lfs f3, 8(r29) -/* 8031F064 0031BFC4 C0 5C 02 C8 */ lfs f2, 0x2c8(r28) -/* 8031F068 0031BFC8 EC 81 00 2A */ fadds f4, f1, f0 -/* 8031F06C 0031BFCC C0 1C 02 C0 */ lfs f0, 0x2c0(r28) -/* 8031F070 0031BFD0 C0 3D 00 00 */ lfs f1, 0(r29) -/* 8031F074 0031BFD4 EC 43 10 2A */ fadds f2, f3, f2 -/* 8031F078 0031BFD8 D0 81 00 18 */ stfs f4, 0x18(r1) -/* 8031F07C 0031BFDC EC 01 00 2A */ fadds f0, f1, f0 -/* 8031F080 0031BFE0 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 8031F084 0031BFE4 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 8031F088 0031BFE8 81 9E 00 00 */ lwz r12, 0(r30) -/* 8031F08C 0031BFEC 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8031F090 0031BFF0 7D 89 03 A6 */ mtctr r12 -/* 8031F094 0031BFF4 4E 80 04 21 */ bctrl -/* 8031F098 0031BFF8 48 00 00 88 */ b lbl_8031F120 -lbl_8031F09C: -/* 8031F09C 0031BFFC 7F C3 F3 78 */ mr r3, r30 -/* 8031F0A0 0031C000 81 9E 00 00 */ lwz r12, 0(r30) -/* 8031F0A4 0031C004 81 8C 00 74 */ lwz r12, 0x74(r12) -/* 8031F0A8 0031C008 7D 89 03 A6 */ mtctr r12 -/* 8031F0AC 0031C00C 4E 80 04 21 */ bctrl -/* 8031F0B0 0031C010 3C 03 AC A9 */ addis r0, r3, 0xaca9 -/* 8031F0B4 0031C014 28 00 48 43 */ cmplwi r0, 0x4843 -/* 8031F0B8 0031C018 40 82 00 50 */ bne lbl_8031F108 -/* 8031F0BC 0031C01C C0 3D 00 04 */ lfs f1, 4(r29) -/* 8031F0C0 0031C020 7F C3 F3 78 */ mr r3, r30 -/* 8031F0C4 0031C024 C0 1C 02 B4 */ lfs f0, 0x2b4(r28) -/* 8031F0C8 0031C028 38 81 00 08 */ addi r4, r1, 8 -/* 8031F0CC 0031C02C C0 7D 00 08 */ lfs f3, 8(r29) -/* 8031F0D0 0031C030 C0 5C 02 B8 */ lfs f2, 0x2b8(r28) -/* 8031F0D4 0031C034 EC 81 00 2A */ fadds f4, f1, f0 -/* 8031F0D8 0031C038 C0 1C 02 B0 */ lfs f0, 0x2b0(r28) -/* 8031F0DC 0031C03C C0 3D 00 00 */ lfs f1, 0(r29) -/* 8031F0E0 0031C040 EC 43 10 2A */ fadds f2, f3, f2 -/* 8031F0E4 0031C044 D0 81 00 0C */ stfs f4, 0xc(r1) -/* 8031F0E8 0031C048 EC 01 00 2A */ fadds f0, f1, f0 -/* 8031F0EC 0031C04C D0 41 00 10 */ stfs f2, 0x10(r1) -/* 8031F0F0 0031C050 D0 01 00 08 */ stfs f0, 8(r1) -/* 8031F0F4 0031C054 81 9E 00 00 */ lwz r12, 0(r30) -/* 8031F0F8 0031C058 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8031F0FC 0031C05C 7D 89 03 A6 */ mtctr r12 -/* 8031F100 0031C060 4E 80 04 21 */ bctrl -/* 8031F104 0031C064 48 00 00 1C */ b lbl_8031F120 -lbl_8031F108: -/* 8031F108 0031C068 7F C3 F3 78 */ mr r3, r30 -/* 8031F10C 0031C06C 7F A4 EB 78 */ mr r4, r29 -/* 8031F110 0031C070 81 9E 00 00 */ lwz r12, 0(r30) -/* 8031F114 0031C074 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8031F118 0031C078 7D 89 03 A6 */ mtctr r12 -/* 8031F11C 0031C07C 4E 80 04 21 */ bctrl -lbl_8031F120: -/* 8031F120 0031C080 3B FF 00 04 */ addi r31, r31, 4 -lbl_8031F124: -/* 8031F124 0031C084 80 1C 02 94 */ lwz r0, 0x294(r28) -/* 8031F128 0031C088 80 7C 02 9C */ lwz r3, 0x29c(r28) -/* 8031F12C 0031C08C 54 00 10 3A */ slwi r0, r0, 2 -/* 8031F130 0031C090 7C 03 02 14 */ add r0, r3, r0 -/* 8031F134 0031C094 7C 1F 00 40 */ cmplw r31, r0 -/* 8031F138 0031C098 40 82 FE F4 */ bne lbl_8031F02C -/* 8031F13C 0031C09C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8031F140 0031C0A0 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8031F144 0031C0A4 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8031F148 0031C0A8 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 8031F14C 0031C0AC 83 81 00 20 */ lwz r28, 0x20(r1) -/* 8031F150 0031C0B0 7C 08 03 A6 */ mtlr r0 -/* 8031F154 0031C0B4 38 21 00 30 */ addi r1, r1, 0x30 -/* 8031F158 0031C0B8 4E 80 00 20 */ blr - -.global ShutDown__11CElementGenFv -ShutDown__11CElementGenFv: -/* 8031F15C 0031C0BC 38 00 00 00 */ li r0, 0 -/* 8031F160 0031C0C0 98 0D A8 BA */ stb r0, lbl_805A947A@sda21(r13) -/* 8031F164 0031C0C4 4E 80 00 20 */ blr - -.global Initialize__11CElementGenFv -Initialize__11CElementGenFv: -/* 8031F168 0031C0C8 88 0D A8 BA */ lbz r0, lbl_805A947A@sda21(r13) -/* 8031F16C 0031C0CC 28 00 00 00 */ cmplwi r0, 0 -/* 8031F170 0031C0D0 4C 82 00 20 */ bnelr -/* 8031F174 0031C0D4 38 60 00 00 */ li r3, 0 -/* 8031F178 0031C0D8 38 00 00 01 */ li r0, 1 -/* 8031F17C 0031C0DC 90 6D A8 B0 */ stw r3, lbl_805A9470@sda21(r13) -/* 8031F180 0031C0E0 90 6D A8 B4 */ stw r3, lbl_805A9474@sda21(r13) -/* 8031F184 0031C0E4 98 0D A8 BA */ stb r0, lbl_805A947A@sda21(r13) -/* 8031F188 0031C0E8 4E 80 00 20 */ blr - -.global __dt__11CElementGenFv -__dt__11CElementGenFv: -/* 8031F18C 0031C0EC 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 8031F190 0031C0F0 7C 08 02 A6 */ mflr r0 -/* 8031F194 0031C0F4 90 01 00 74 */ stw r0, 0x74(r1) -/* 8031F198 0031C0F8 93 E1 00 6C */ stw r31, 0x6c(r1) -/* 8031F19C 0031C0FC 7C 9F 23 78 */ mr r31, r4 -/* 8031F1A0 0031C100 93 C1 00 68 */ stw r30, 0x68(r1) -/* 8031F1A4 0031C104 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8031F1A8 0031C108 93 A1 00 64 */ stw r29, 0x64(r1) -/* 8031F1AC 0031C10C 41 82 02 14 */ beq lbl_8031F3C0 -/* 8031F1B0 0031C110 3C 60 80 3F */ lis r3, lbl_803EDA80@ha -/* 8031F1B4 0031C114 38 03 DA 80 */ addi r0, r3, lbl_803EDA80@l -/* 8031F1B8 0031C118 90 1E 00 00 */ stw r0, 0(r30) -/* 8031F1BC 0031C11C 80 6D A8 B4 */ lwz r3, lbl_805A9474@sda21(r13) -/* 8031F1C0 0031C120 80 0D A8 B0 */ lwz r0, lbl_805A9470@sda21(r13) -/* 8031F1C4 0031C124 38 63 FF FF */ addi r3, r3, -1 -/* 8031F1C8 0031C128 90 6D A8 B4 */ stw r3, lbl_805A9474@sda21(r13) -/* 8031F1CC 0031C12C 80 7E 00 34 */ lwz r3, 0x34(r30) -/* 8031F1D0 0031C130 7C 03 00 50 */ subf r0, r3, r0 -/* 8031F1D4 0031C134 90 0D A8 B0 */ stw r0, lbl_805A9470@sda21(r13) -/* 8031F1D8 0031C138 83 BE 02 9C */ lwz r29, 0x29c(r30) -/* 8031F1DC 0031C13C 48 00 00 28 */ b lbl_8031F204 -lbl_8031F1E0: -/* 8031F1E0 0031C140 80 7D 00 00 */ lwz r3, 0(r29) -/* 8031F1E4 0031C144 28 03 00 00 */ cmplwi r3, 0 -/* 8031F1E8 0031C148 41 82 00 18 */ beq lbl_8031F200 -/* 8031F1EC 0031C14C 81 83 00 00 */ lwz r12, 0(r3) -/* 8031F1F0 0031C150 38 80 00 01 */ li r4, 1 -/* 8031F1F4 0031C154 81 8C 00 08 */ lwz r12, 8(r12) -/* 8031F1F8 0031C158 7D 89 03 A6 */ mtctr r12 -/* 8031F1FC 0031C15C 4E 80 04 21 */ bctrl -lbl_8031F200: -/* 8031F200 0031C160 3B BD 00 04 */ addi r29, r29, 4 -lbl_8031F204: -/* 8031F204 0031C164 80 1E 02 94 */ lwz r0, 0x294(r30) -/* 8031F208 0031C168 80 7E 02 9C */ lwz r3, 0x29c(r30) -/* 8031F20C 0031C16C 54 00 10 3A */ slwi r0, r0, 2 -/* 8031F210 0031C170 7C A3 02 14 */ add r5, r3, r0 -/* 8031F214 0031C174 7C 1D 28 40 */ cmplw r29, r5 -/* 8031F218 0031C178 40 82 FF C8 */ bne lbl_8031F1E0 -/* 8031F21C 0031C17C 34 1E 02 90 */ addic. r0, r30, 0x290 -/* 8031F220 0031C180 41 82 00 34 */ beq lbl_8031F254 -/* 8031F224 0031C184 90 A1 00 54 */ stw r5, 0x54(r1) -/* 8031F228 0031C188 7C 64 1B 78 */ mr r4, r3 -/* 8031F22C 0031C18C 90 A1 00 50 */ stw r5, 0x50(r1) -/* 8031F230 0031C190 90 61 00 4C */ stw r3, 0x4c(r1) -/* 8031F234 0031C194 90 61 00 48 */ stw r3, 0x48(r1) -/* 8031F238 0031C198 48 00 00 08 */ b lbl_8031F240 -lbl_8031F23C: -/* 8031F23C 0031C19C 38 84 00 04 */ addi r4, r4, 4 -lbl_8031F240: -/* 8031F240 0031C1A0 7C 04 28 40 */ cmplw r4, r5 -/* 8031F244 0031C1A4 40 82 FF F8 */ bne lbl_8031F23C -/* 8031F248 0031C1A8 28 03 00 00 */ cmplwi r3, 0 -/* 8031F24C 0031C1AC 41 82 00 08 */ beq lbl_8031F254 -/* 8031F250 0031C1B0 4B FF 66 E1 */ bl Free__7CMemoryFPCv -lbl_8031F254: -/* 8031F254 0031C1B4 34 1E 00 60 */ addic. r0, r30, 0x60 -/* 8031F258 0031C1B8 41 82 00 44 */ beq lbl_8031F29C -/* 8031F25C 0031C1BC 80 1E 00 64 */ lwz r0, 0x64(r30) -/* 8031F260 0031C1C0 80 7E 00 6C */ lwz r3, 0x6c(r30) -/* 8031F264 0031C1C4 54 00 28 34 */ slwi r0, r0, 5 -/* 8031F268 0031C1C8 7C 03 02 14 */ add r0, r3, r0 -/* 8031F26C 0031C1CC 90 61 00 3C */ stw r3, 0x3c(r1) -/* 8031F270 0031C1D0 7C 64 1B 78 */ mr r4, r3 -/* 8031F274 0031C1D4 90 01 00 44 */ stw r0, 0x44(r1) -/* 8031F278 0031C1D8 90 01 00 40 */ stw r0, 0x40(r1) -/* 8031F27C 0031C1DC 90 61 00 38 */ stw r3, 0x38(r1) -/* 8031F280 0031C1E0 48 00 00 08 */ b lbl_8031F288 -lbl_8031F284: -/* 8031F284 0031C1E4 38 84 00 20 */ addi r4, r4, 0x20 -lbl_8031F288: -/* 8031F288 0031C1E8 7C 04 00 40 */ cmplw r4, r0 -/* 8031F28C 0031C1EC 40 82 FF F8 */ bne lbl_8031F284 -/* 8031F290 0031C1F0 28 03 00 00 */ cmplwi r3, 0 -/* 8031F294 0031C1F4 41 82 00 08 */ beq lbl_8031F29C -/* 8031F298 0031C1F8 4B FF 66 99 */ bl Free__7CMemoryFPCv -lbl_8031F29C: -/* 8031F29C 0031C1FC 34 1E 00 50 */ addic. r0, r30, 0x50 -/* 8031F2A0 0031C200 41 82 00 44 */ beq lbl_8031F2E4 -/* 8031F2A4 0031C204 80 1E 00 54 */ lwz r0, 0x54(r30) -/* 8031F2A8 0031C208 80 7E 00 5C */ lwz r3, 0x5c(r30) -/* 8031F2AC 0031C20C 1C 00 00 24 */ mulli r0, r0, 0x24 -/* 8031F2B0 0031C210 90 61 00 2C */ stw r3, 0x2c(r1) -/* 8031F2B4 0031C214 7C 64 1B 78 */ mr r4, r3 -/* 8031F2B8 0031C218 7C 03 02 14 */ add r0, r3, r0 -/* 8031F2BC 0031C21C 90 61 00 28 */ stw r3, 0x28(r1) -/* 8031F2C0 0031C220 90 01 00 34 */ stw r0, 0x34(r1) -/* 8031F2C4 0031C224 90 01 00 30 */ stw r0, 0x30(r1) -/* 8031F2C8 0031C228 48 00 00 08 */ b lbl_8031F2D0 -lbl_8031F2CC: -/* 8031F2CC 0031C22C 38 84 00 24 */ addi r4, r4, 0x24 -lbl_8031F2D0: -/* 8031F2D0 0031C230 7C 04 00 40 */ cmplw r4, r0 -/* 8031F2D4 0031C234 40 82 FF F8 */ bne lbl_8031F2CC -/* 8031F2D8 0031C238 28 03 00 00 */ cmplwi r3, 0 -/* 8031F2DC 0031C23C 41 82 00 08 */ beq lbl_8031F2E4 -/* 8031F2E0 0031C240 4B FF 66 51 */ bl Free__7CMemoryFPCv -lbl_8031F2E4: -/* 8031F2E4 0031C244 34 1E 00 40 */ addic. r0, r30, 0x40 -/* 8031F2E8 0031C248 41 82 00 44 */ beq lbl_8031F32C -/* 8031F2EC 0031C24C 80 1E 00 44 */ lwz r0, 0x44(r30) -/* 8031F2F0 0031C250 80 7E 00 4C */ lwz r3, 0x4c(r30) -/* 8031F2F4 0031C254 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8031F2F8 0031C258 90 61 00 1C */ stw r3, 0x1c(r1) -/* 8031F2FC 0031C25C 7C 64 1B 78 */ mr r4, r3 -/* 8031F300 0031C260 7C 03 02 14 */ add r0, r3, r0 -/* 8031F304 0031C264 90 61 00 18 */ stw r3, 0x18(r1) -/* 8031F308 0031C268 90 01 00 24 */ stw r0, 0x24(r1) -/* 8031F30C 0031C26C 90 01 00 20 */ stw r0, 0x20(r1) -/* 8031F310 0031C270 48 00 00 08 */ b lbl_8031F318 -lbl_8031F314: -/* 8031F314 0031C274 38 84 00 0C */ addi r4, r4, 0xc -lbl_8031F318: -/* 8031F318 0031C278 7C 04 00 40 */ cmplw r4, r0 -/* 8031F31C 0031C27C 40 82 FF F8 */ bne lbl_8031F314 -/* 8031F320 0031C280 28 03 00 00 */ cmplwi r3, 0 -/* 8031F324 0031C284 41 82 00 08 */ beq lbl_8031F32C -/* 8031F328 0031C288 4B FF 66 09 */ bl Free__7CMemoryFPCv -lbl_8031F32C: -/* 8031F32C 0031C28C 34 1E 00 30 */ addic. r0, r30, 0x30 -/* 8031F330 0031C290 41 82 00 44 */ beq lbl_8031F374 -/* 8031F334 0031C294 80 1E 00 34 */ lwz r0, 0x34(r30) -/* 8031F338 0031C298 80 7E 00 3C */ lwz r3, 0x3c(r30) -/* 8031F33C 0031C29C 1C 00 00 38 */ mulli r0, r0, 0x38 -/* 8031F340 0031C2A0 90 61 00 0C */ stw r3, 0xc(r1) -/* 8031F344 0031C2A4 7C 64 1B 78 */ mr r4, r3 -/* 8031F348 0031C2A8 7C 03 02 14 */ add r0, r3, r0 -/* 8031F34C 0031C2AC 90 61 00 08 */ stw r3, 8(r1) -/* 8031F350 0031C2B0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8031F354 0031C2B4 90 01 00 10 */ stw r0, 0x10(r1) -/* 8031F358 0031C2B8 48 00 00 08 */ b lbl_8031F360 -lbl_8031F35C: -/* 8031F35C 0031C2BC 38 84 00 38 */ addi r4, r4, 0x38 -lbl_8031F360: -/* 8031F360 0031C2C0 7C 04 00 40 */ cmplw r4, r0 -/* 8031F364 0031C2C4 40 82 FF F8 */ bne lbl_8031F35C -/* 8031F368 0031C2C8 28 03 00 00 */ cmplwi r3, 0 -/* 8031F36C 0031C2CC 41 82 00 08 */ beq lbl_8031F374 -/* 8031F370 0031C2D0 4B FF 65 C1 */ bl Free__7CMemoryFPCv -lbl_8031F374: -/* 8031F374 0031C2D4 34 1E 00 1C */ addic. r0, r30, 0x1c -/* 8031F378 0031C2D8 41 82 00 18 */ beq lbl_8031F390 -/* 8031F37C 0031C2DC 34 1E 00 1C */ addic. r0, r30, 0x1c -/* 8031F380 0031C2E0 41 82 00 10 */ beq lbl_8031F390 -/* 8031F384 0031C2E4 38 7E 00 1C */ addi r3, r30, 0x1c -/* 8031F388 0031C2E8 38 80 00 00 */ li r4, 0 -/* 8031F38C 0031C2EC 48 02 1A B5 */ bl __dt__6CTokenFv -lbl_8031F390: -/* 8031F390 0031C2F0 28 1E 00 00 */ cmplwi r30, 0 -/* 8031F394 0031C2F4 41 82 00 1C */ beq lbl_8031F3B0 -/* 8031F398 0031C2F8 3C 80 80 3F */ lis r4, lbl_803EDD08@ha -/* 8031F39C 0031C2FC 38 7E 00 04 */ addi r3, r30, 4 -/* 8031F3A0 0031C300 38 04 DD 08 */ addi r0, r4, lbl_803EDD08@l -/* 8031F3A4 0031C304 38 80 FF FF */ li r4, -1 -/* 8031F3A8 0031C308 90 1E 00 00 */ stw r0, 0(r30) -/* 8031F3AC 0031C30C 4B D3 B9 25 */ bl __dt__12CParticleGenFv -lbl_8031F3B0: -/* 8031F3B0 0031C310 7F E0 07 35 */ extsh. r0, r31 -/* 8031F3B4 0031C314 40 81 00 0C */ ble lbl_8031F3C0 -/* 8031F3B8 0031C318 7F C3 F3 78 */ mr r3, r30 -/* 8031F3BC 0031C31C 4B FF 65 75 */ bl Free__7CMemoryFPCv -lbl_8031F3C0: -/* 8031F3C0 0031C320 80 01 00 74 */ lwz r0, 0x74(r1) -/* 8031F3C4 0031C324 7F C3 F3 78 */ mr r3, r30 -/* 8031F3C8 0031C328 83 E1 00 6C */ lwz r31, 0x6c(r1) -/* 8031F3CC 0031C32C 83 C1 00 68 */ lwz r30, 0x68(r1) -/* 8031F3D0 0031C330 83 A1 00 64 */ lwz r29, 0x64(r1) -/* 8031F3D4 0031C334 7C 08 03 A6 */ mtlr r0 -/* 8031F3D8 0031C338 38 21 00 70 */ addi r1, r1, 0x70 -/* 8031F3DC 0031C33C 4E 80 00 20 */ blr - -.global "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" -"__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags": -/* 8031F3E0 0031C340 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 8031F3E4 0031C344 7C 08 02 A6 */ mflr r0 -/* 8031F3E8 0031C348 3C E0 80 3F */ lis r7, lbl_803EDD08@ha -/* 8031F3EC 0031C34C 90 01 00 54 */ stw r0, 0x54(r1) -/* 8031F3F0 0031C350 38 07 DD 08 */ addi r0, r7, lbl_803EDD08@l -/* 8031F3F4 0031C354 38 E0 00 00 */ li r7, 0 -/* 8031F3F8 0031C358 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 8031F3FC 0031C35C 7C 7F 1B 78 */ mr r31, r3 -/* 8031F400 0031C360 39 1F 00 10 */ addi r8, r31, 0x10 -/* 8031F404 0031C364 3C 60 80 3F */ lis r3, lbl_803EDA80@ha -/* 8031F408 0031C368 93 C1 00 48 */ stw r30, 0x48(r1) -/* 8031F40C 0031C36C 3B DF 00 1C */ addi r30, r31, 0x1c -/* 8031F410 0031C370 93 A1 00 44 */ stw r29, 0x44(r1) -/* 8031F414 0031C374 7C DD 33 78 */ mr r29, r6 -/* 8031F418 0031C378 93 81 00 40 */ stw r28, 0x40(r1) -/* 8031F41C 0031C37C 7C BC 2B 78 */ mr r28, r5 -/* 8031F420 0031C380 90 1F 00 00 */ stw r0, 0(r31) -/* 8031F424 0031C384 38 03 DA 80 */ addi r0, r3, lbl_803EDA80@l -/* 8031F428 0031C388 7F C3 F3 78 */ mr r3, r30 -/* 8031F42C 0031C38C 91 1F 00 08 */ stw r8, 8(r31) -/* 8031F430 0031C390 91 1F 00 0C */ stw r8, 0xc(r31) -/* 8031F434 0031C394 91 1F 00 10 */ stw r8, 0x10(r31) -/* 8031F438 0031C398 91 1F 00 14 */ stw r8, 0x14(r31) -/* 8031F43C 0031C39C 90 FF 00 18 */ stw r7, 0x18(r31) -/* 8031F440 0031C3A0 90 1F 00 00 */ stw r0, 0(r31) -/* 8031F444 0031C3A4 48 02 1A 65 */ bl __ct__6CTokenFRC6CToken -/* 8031F448 0031C3A8 7F C3 F3 78 */ mr r3, r30 -/* 8031F44C 0031C3AC 48 02 19 C1 */ bl GetObj__6CTokenFv -/* 8031F450 0031C3B0 80 03 00 04 */ lwz r0, 4(r3) -/* 8031F454 0031C3B4 3C 60 80 5A */ lis r3, skIdentity4f@ha -/* 8031F458 0031C3B8 38 83 66 70 */ addi r4, r3, skIdentity4f@l -/* 8031F45C 0031C3BC 38 E0 00 00 */ li r7, 0 -/* 8031F460 0031C3C0 90 1E 00 08 */ stw r0, 8(r30) -/* 8031F464 0031C3C4 3C A0 80 5A */ lis r5, skZero3f@ha -/* 8031F468 0031C3C8 C8 42 CA 20 */ lfd f2, lbl_805AE740@sda21(r2) -/* 8031F46C 0031C3CC 38 C0 FF FF */ li r6, -1 -/* 8031F470 0031C3D0 80 7F 00 24 */ lwz r3, 0x24(r31) -/* 8031F474 0031C3D4 38 00 00 01 */ li r0, 1 -/* 8031F478 0031C3D8 C0 02 C9 E8 */ lfs f0, lbl_805AE708@sda21(r2) -/* 8031F47C 0031C3DC 3B C5 66 A0 */ addi r30, r5, skZero3f@l -/* 8031F480 0031C3E0 90 7F 00 28 */ stw r3, 0x28(r31) -/* 8031F484 0031C3E4 38 7F 01 0C */ addi r3, r31, 0x10c -/* 8031F488 0031C3E8 C0 22 C9 F0 */ lfs f1, lbl_805AE710@sda21(r2) -/* 8031F48C 0031C3EC 93 9F 00 2C */ stw r28, 0x2c(r31) -/* 8031F490 0031C3F0 90 FF 00 34 */ stw r7, 0x34(r31) -/* 8031F494 0031C3F4 90 FF 00 38 */ stw r7, 0x38(r31) -/* 8031F498 0031C3F8 90 FF 00 3C */ stw r7, 0x3c(r31) -/* 8031F49C 0031C3FC 90 FF 00 44 */ stw r7, 0x44(r31) -/* 8031F4A0 0031C400 90 FF 00 48 */ stw r7, 0x48(r31) -/* 8031F4A4 0031C404 90 FF 00 4C */ stw r7, 0x4c(r31) -/* 8031F4A8 0031C408 90 FF 00 54 */ stw r7, 0x54(r31) -/* 8031F4AC 0031C40C 90 FF 00 58 */ stw r7, 0x58(r31) -/* 8031F4B0 0031C410 90 FF 00 5C */ stw r7, 0x5c(r31) -/* 8031F4B4 0031C414 90 FF 00 64 */ stw r7, 0x64(r31) -/* 8031F4B8 0031C418 90 FF 00 68 */ stw r7, 0x68(r31) -/* 8031F4BC 0031C41C 90 FF 00 6C */ stw r7, 0x6c(r31) -/* 8031F4C0 0031C420 90 FF 00 70 */ stw r7, 0x70(r31) -/* 8031F4C4 0031C424 90 FF 00 74 */ stw r7, 0x74(r31) -/* 8031F4C8 0031C428 D8 5F 00 78 */ stfd f2, 0x78(r31) -/* 8031F4CC 0031C42C 90 DF 00 84 */ stw r6, 0x84(r31) -/* 8031F4D0 0031C430 98 1F 00 88 */ stb r0, 0x88(r31) -/* 8031F4D4 0031C434 D0 1F 00 8C */ stfs f0, 0x8c(r31) -/* 8031F4D8 0031C438 90 FF 00 90 */ stw r7, 0x90(r31) -/* 8031F4DC 0031C43C A0 0D 9C F8 */ lhz r0, lbl_805A88B8@sda21(r13) -/* 8031F4E0 0031C440 B0 1F 00 94 */ sth r0, 0x94(r31) -/* 8031F4E4 0031C444 D0 3F 00 98 */ stfs f1, 0x98(r31) -/* 8031F4E8 0031C448 C0 1E 00 00 */ lfs f0, 0(r30) -/* 8031F4EC 0031C44C D0 1F 00 DC */ stfs f0, 0xdc(r31) -/* 8031F4F0 0031C450 C0 1E 00 04 */ lfs f0, 4(r30) -/* 8031F4F4 0031C454 D0 1F 00 E0 */ stfs f0, 0xe0(r31) -/* 8031F4F8 0031C458 C0 1E 00 08 */ lfs f0, 8(r30) -/* 8031F4FC 0031C45C D0 1F 00 E4 */ stfs f0, 0xe4(r31) -/* 8031F500 0031C460 C0 1E 00 00 */ lfs f0, 0(r30) -/* 8031F504 0031C464 D0 1F 00 E8 */ stfs f0, 0xe8(r31) -/* 8031F508 0031C468 C0 1E 00 04 */ lfs f0, 4(r30) -/* 8031F50C 0031C46C D0 1F 00 EC */ stfs f0, 0xec(r31) -/* 8031F510 0031C470 C0 1E 00 08 */ lfs f0, 8(r30) -/* 8031F514 0031C474 D0 1F 00 F0 */ stfs f0, 0xf0(r31) -/* 8031F518 0031C478 C0 1E 00 00 */ lfs f0, 0(r30) -/* 8031F51C 0031C47C D0 1F 00 F4 */ stfs f0, 0xf4(r31) -/* 8031F520 0031C480 C0 1E 00 04 */ lfs f0, 4(r30) -/* 8031F524 0031C484 D0 1F 00 F8 */ stfs f0, 0xf8(r31) -/* 8031F528 0031C488 C0 1E 00 08 */ lfs f0, 8(r30) -/* 8031F52C 0031C48C D0 1F 00 FC */ stfs f0, 0xfc(r31) -/* 8031F530 0031C490 D0 3F 01 00 */ stfs f1, 0x100(r31) -/* 8031F534 0031C494 D0 3F 01 04 */ stfs f1, 0x104(r31) -/* 8031F538 0031C498 D0 3F 01 08 */ stfs f1, 0x108(r31) -/* 8031F53C 0031C49C 4B FF 36 39 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8031F540 0031C4A0 3C 80 80 5A */ lis r4, skIdentity4f@ha -/* 8031F544 0031C4A4 38 7F 01 3C */ addi r3, r31, 0x13c -/* 8031F548 0031C4A8 38 84 66 70 */ addi r4, r4, skIdentity4f@l -/* 8031F54C 0031C4AC 4B FF 36 29 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8031F550 0031C4B0 C0 02 C9 F0 */ lfs f0, lbl_805AE710@sda21(r2) -/* 8031F554 0031C4B4 3C 60 80 5A */ lis r3, skIdentity4f@ha -/* 8031F558 0031C4B8 38 83 66 70 */ addi r4, r3, skIdentity4f@l -/* 8031F55C 0031C4BC D0 1F 01 6C */ stfs f0, 0x16c(r31) -/* 8031F560 0031C4C0 38 7F 01 78 */ addi r3, r31, 0x178 -/* 8031F564 0031C4C4 D0 1F 01 70 */ stfs f0, 0x170(r31) -/* 8031F568 0031C4C8 D0 1F 01 74 */ stfs f0, 0x174(r31) -/* 8031F56C 0031C4CC 4B FF 36 09 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8031F570 0031C4D0 3C 80 80 5A */ lis r4, skIdentity4f@ha -/* 8031F574 0031C4D4 38 7F 01 A8 */ addi r3, r31, 0x1a8 -/* 8031F578 0031C4D8 38 84 66 70 */ addi r4, r4, skIdentity4f@l -/* 8031F57C 0031C4DC 4B FF 35 F9 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8031F580 0031C4E0 3C 80 80 5A */ lis r4, skIdentity4f@ha -/* 8031F584 0031C4E4 38 7F 01 D8 */ addi r3, r31, 0x1d8 -/* 8031F588 0031C4E8 38 84 66 70 */ addi r4, r4, skIdentity4f@l -/* 8031F58C 0031C4EC 4B FF 35 E9 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8031F590 0031C4F0 3C 80 80 5A */ lis r4, lbl_805A65FC@ha -/* 8031F594 0031C4F4 38 7F 02 08 */ addi r3, r31, 0x208 -/* 8031F598 0031C4F8 38 84 65 FC */ addi r4, r4, lbl_805A65FC@l -/* 8031F59C 0031C4FC 4B FF 0A 89 */ bl __ct__9CMatrix3fFRC9CMatrix3f -/* 8031F5A0 0031C500 3C 80 80 5A */ lis r4, skIdentity4f@ha -/* 8031F5A4 0031C504 38 7F 02 2C */ addi r3, r31, 0x22c -/* 8031F5A8 0031C508 38 84 66 70 */ addi r4, r4, skIdentity4f@l -/* 8031F5AC 0031C50C 4B FF 35 C9 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8031F5B0 0031C510 38 C0 00 00 */ li r6, 0 -/* 8031F5B4 0031C514 38 A0 00 01 */ li r5, 1 -/* 8031F5B8 0031C518 90 DF 02 5C */ stw r6, 0x25c(r31) -/* 8031F5BC 0031C51C 38 7F 02 7C */ addi r3, r31, 0x27c -/* 8031F5C0 0031C520 90 DF 02 60 */ stw r6, 0x260(r31) -/* 8031F5C4 0031C524 90 DF 02 64 */ stw r6, 0x264(r31) -/* 8031F5C8 0031C528 88 1F 02 6C */ lbz r0, 0x26c(r31) -/* 8031F5CC 0031C52C 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 -/* 8031F5D0 0031C530 98 1F 02 6C */ stb r0, 0x26c(r31) -/* 8031F5D4 0031C534 88 1F 02 6C */ lbz r0, 0x26c(r31) -/* 8031F5D8 0031C538 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c -/* 8031F5DC 0031C53C 98 1F 02 6C */ stb r0, 0x26c(r31) -/* 8031F5E0 0031C540 88 1F 02 6C */ lbz r0, 0x26c(r31) -/* 8031F5E4 0031C544 50 C0 17 7A */ rlwimi r0, r6, 2, 0x1d, 0x1d -/* 8031F5E8 0031C548 98 1F 02 6C */ stb r0, 0x26c(r31) -/* 8031F5EC 0031C54C 88 1F 02 6D */ lbz r0, 0x26d(r31) -/* 8031F5F0 0031C550 50 C0 36 72 */ rlwimi r0, r6, 6, 0x19, 0x19 -/* 8031F5F4 0031C554 98 1F 02 6D */ stb r0, 0x26d(r31) -/* 8031F5F8 0031C558 88 1F 02 6D */ lbz r0, 0x26d(r31) -/* 8031F5FC 0031C55C 50 C0 2E B4 */ rlwimi r0, r6, 5, 0x1a, 0x1a -/* 8031F600 0031C560 98 1F 02 6D */ stb r0, 0x26d(r31) -/* 8031F604 0031C564 88 1F 02 6D */ lbz r0, 0x26d(r31) -/* 8031F608 0031C568 53 A0 1E F6 */ rlwimi r0, r29, 3, 0x1b, 0x1b -/* 8031F60C 0031C56C 98 1F 02 6D */ stb r0, 0x26d(r31) -/* 8031F610 0031C570 88 1F 02 6D */ lbz r0, 0x26d(r31) -/* 8031F614 0031C574 50 C0 1F 38 */ rlwimi r0, r6, 3, 0x1c, 0x1c -/* 8031F618 0031C578 98 1F 02 6D */ stb r0, 0x26d(r31) -/* 8031F61C 0031C57C 98 DF 02 74 */ stb r6, 0x274(r31) -/* 8031F620 0031C580 A8 9F 00 94 */ lha r4, 0x94(r31) -/* 8031F624 0031C584 4B FF 2F C9 */ bl __ct__9CRandom16FUi -/* 8031F628 0031C588 38 00 00 00 */ li r0, 0 -/* 8031F62C 0031C58C 3C 80 80 5A */ lis r4, skZero3f@ha -/* 8031F630 0031C590 90 1F 02 94 */ stw r0, 0x294(r31) -/* 8031F634 0031C594 3C 60 80 5A */ lis r3, lbl_805A6754@ha -/* 8031F638 0031C598 C0 22 C9 E8 */ lfs f1, lbl_805AE708@sda21(r2) -/* 8031F63C 0031C59C 90 1F 02 98 */ stw r0, 0x298(r31) -/* 8031F640 0031C5A0 90 1F 02 9C */ stw r0, 0x29c(r31) -/* 8031F644 0031C5A4 C4 04 66 A0 */ lfsu f0, skZero3f@l(r4) -/* 8031F648 0031C5A8 D0 1F 02 B0 */ stfs f0, 0x2b0(r31) -/* 8031F64C 0031C5AC C0 1E 00 04 */ lfs f0, 4(r30) -/* 8031F650 0031C5B0 D0 1F 02 B4 */ stfs f0, 0x2b4(r31) -/* 8031F654 0031C5B4 C0 1E 00 08 */ lfs f0, 8(r30) -/* 8031F658 0031C5B8 D0 1F 02 B8 */ stfs f0, 0x2b8(r31) -/* 8031F65C 0031C5BC C0 04 00 00 */ lfs f0, 0(r4) -/* 8031F660 0031C5C0 D0 1F 02 C0 */ stfs f0, 0x2c0(r31) -/* 8031F664 0031C5C4 C0 1E 00 04 */ lfs f0, 4(r30) -/* 8031F668 0031C5C8 D0 1F 02 C4 */ stfs f0, 0x2c4(r31) -/* 8031F66C 0031C5CC C0 1E 00 08 */ lfs f0, 8(r30) -/* 8031F670 0031C5D0 D0 1F 02 C8 */ stfs f0, 0x2c8(r31) -/* 8031F674 0031C5D4 D0 3F 02 CC */ stfs f1, 0x2cc(r31) -/* 8031F678 0031C5D8 D0 3F 02 D0 */ stfs f1, 0x2d0(r31) -/* 8031F67C 0031C5DC C0 04 00 00 */ lfs f0, 0(r4) -/* 8031F680 0031C5E0 D0 1F 02 D4 */ stfs f0, 0x2d4(r31) -/* 8031F684 0031C5E4 C0 1E 00 04 */ lfs f0, 4(r30) -/* 8031F688 0031C5E8 D0 1F 02 D8 */ stfs f0, 0x2d8(r31) -/* 8031F68C 0031C5EC C0 1E 00 08 */ lfs f0, 8(r30) -/* 8031F690 0031C5F0 D0 1F 02 DC */ stfs f0, 0x2dc(r31) -/* 8031F694 0031C5F4 C0 04 00 00 */ lfs f0, 0(r4) -/* 8031F698 0031C5F8 D0 1F 02 E0 */ stfs f0, 0x2e0(r31) -/* 8031F69C 0031C5FC C0 1E 00 04 */ lfs f0, 4(r30) -/* 8031F6A0 0031C600 D0 1F 02 E4 */ stfs f0, 0x2e4(r31) -/* 8031F6A4 0031C604 C0 1E 00 08 */ lfs f0, 8(r30) -/* 8031F6A8 0031C608 D0 1F 02 E8 */ stfs f0, 0x2e8(r31) -/* 8031F6AC 0031C60C D0 3F 02 EC */ stfs f1, 0x2ec(r31) -/* 8031F6B0 0031C610 C4 03 67 54 */ lfsu f0, lbl_805A6754@l(r3) -/* 8031F6B4 0031C614 D0 1F 02 F0 */ stfs f0, 0x2f0(r31) -/* 8031F6B8 0031C618 C0 03 00 04 */ lfs f0, 4(r3) -/* 8031F6BC 0031C61C D0 1F 02 F4 */ stfs f0, 0x2f4(r31) -/* 8031F6C0 0031C620 C0 03 00 08 */ lfs f0, 8(r3) -/* 8031F6C4 0031C624 D0 1F 02 F8 */ stfs f0, 0x2f8(r31) -/* 8031F6C8 0031C628 C0 03 00 0C */ lfs f0, 0xc(r3) -/* 8031F6CC 0031C62C D0 1F 02 FC */ stfs f0, 0x2fc(r31) -/* 8031F6D0 0031C630 C0 03 00 10 */ lfs f0, 0x10(r3) -/* 8031F6D4 0031C634 D0 1F 03 00 */ stfs f0, 0x300(r31) -/* 8031F6D8 0031C638 C0 03 00 14 */ lfs f0, 0x14(r3) -/* 8031F6DC 0031C63C D0 1F 03 04 */ stfs f0, 0x304(r31) -/* 8031F6E0 0031C640 90 1F 03 08 */ stw r0, 0x308(r31) -/* 8031F6E4 0031C644 48 02 A8 C9 */ bl White__6CColorFv -/* 8031F6E8 0031C648 80 03 00 00 */ lwz r0, 0(r3) -/* 8031F6EC 0031C64C 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8031F6F0 0031C650 C0 62 C9 F0 */ lfs f3, lbl_805AE710@sda21(r2) -/* 8031F6F4 0031C654 38 C3 66 A0 */ addi r6, r3, skZero3f@l -/* 8031F6F8 0031C658 90 1F 03 0C */ stw r0, 0x30c(r31) -/* 8031F6FC 0031C65C 38 A0 00 01 */ li r5, 1 -/* 8031F700 0031C660 C0 22 C9 E8 */ lfs f1, lbl_805AE708@sda21(r2) -/* 8031F704 0031C664 38 00 FF FF */ li r0, -1 -/* 8031F708 0031C668 D0 7F 03 10 */ stfs f3, 0x310(r31) -/* 8031F70C 0031C66C 38 61 00 14 */ addi r3, r1, 0x14 -/* 8031F710 0031C670 C0 02 CA 48 */ lfs f0, lbl_805AE768@sda21(r2) -/* 8031F714 0031C674 38 9F 02 7C */ addi r4, r31, 0x27c -/* 8031F718 0031C678 C0 46 00 00 */ lfs f2, 0(r6) -/* 8031F71C 0031C67C D0 5F 03 14 */ stfs f2, 0x314(r31) -/* 8031F720 0031C680 C0 5E 00 04 */ lfs f2, 4(r30) -/* 8031F724 0031C684 D0 5F 03 18 */ stfs f2, 0x318(r31) -/* 8031F728 0031C688 C0 5E 00 08 */ lfs f2, 8(r30) -/* 8031F72C 0031C68C D0 5F 03 1C */ stfs f2, 0x31c(r31) -/* 8031F730 0031C690 D0 7F 03 20 */ stfs f3, 0x320(r31) -/* 8031F734 0031C694 D0 3F 03 24 */ stfs f1, 0x324(r31) -/* 8031F738 0031C698 D0 3F 03 28 */ stfs f1, 0x328(r31) -/* 8031F73C 0031C69C 90 BF 03 2C */ stw r5, 0x32c(r31) -/* 8031F740 0031C6A0 D0 7F 03 30 */ stfs f3, 0x330(r31) -/* 8031F744 0031C6A4 D0 1F 03 34 */ stfs f0, 0x334(r31) -/* 8031F748 0031C6A8 90 1F 03 38 */ stw r0, 0x338(r31) -/* 8031F74C 0031C6AC 4B FF 2F 35 */ bl __ct__13CGlobalRandomFR9CRandom16 -/* 8031F750 0031C6B0 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 8031F754 0031C6B4 80 63 00 10 */ lwz r3, 0x10(r3) -/* 8031F758 0031C6B8 28 03 00 00 */ cmplwi r3, 0 -/* 8031F75C 0031C6BC 41 82 00 24 */ beq lbl_8031F780 -/* 8031F760 0031C6C0 81 83 00 00 */ lwz r12, 0(r3) -/* 8031F764 0031C6C4 38 A1 00 10 */ addi r5, r1, 0x10 -/* 8031F768 0031C6C8 80 9F 00 74 */ lwz r4, 0x74(r31) -/* 8031F76C 0031C6CC 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8031F770 0031C6D0 7D 89 03 A6 */ mtctr r12 -/* 8031F774 0031C6D4 4E 80 04 21 */ bctrl -/* 8031F778 0031C6D8 80 01 00 10 */ lwz r0, 0x10(r1) -/* 8031F77C 0031C6DC B0 1F 00 94 */ sth r0, 0x94(r31) -lbl_8031F780: -/* 8031F780 0031C6E0 A8 9F 00 94 */ lha r4, 0x94(r31) -/* 8031F784 0031C6E4 38 7F 02 7C */ addi r3, r31, 0x27c -/* 8031F788 0031C6E8 4B FF 2E 5D */ bl SetSeed__9CRandom16FUi -/* 8031F78C 0031C6EC 80 6D A8 B4 */ lwz r3, lbl_805A9474@sda21(r13) -/* 8031F790 0031C6F0 38 03 00 01 */ addi r0, r3, 1 -/* 8031F794 0031C6F4 90 0D A8 B4 */ stw r0, lbl_805A9474@sda21(r13) -/* 8031F798 0031C6F8 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 8031F79C 0031C6FC 88 1F 02 6C */ lbz r0, 0x26c(r31) -/* 8031F7A0 0031C700 88 63 00 30 */ lbz r3, 0x30(r3) -/* 8031F7A4 0031C704 50 60 26 72 */ rlwimi r0, r3, 4, 0x19, 0x19 -/* 8031F7A8 0031C708 98 1F 02 6C */ stb r0, 0x26c(r31) -/* 8031F7AC 0031C70C 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 8031F7B0 0031C710 88 1F 02 6C */ lbz r0, 0x26c(r31) -/* 8031F7B4 0031C714 88 63 00 30 */ lbz r3, 0x30(r3) -/* 8031F7B8 0031C718 50 60 06 B4 */ rlwimi r0, r3, 0, 0x1a, 0x1a -/* 8031F7BC 0031C71C 98 1F 02 6C */ stb r0, 0x26c(r31) -/* 8031F7C0 0031C720 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 8031F7C4 0031C724 88 1F 02 6C */ lbz r0, 0x26c(r31) -/* 8031F7C8 0031C728 88 63 00 30 */ lbz r3, 0x30(r3) -/* 8031F7CC 0031C72C 50 60 06 F6 */ rlwimi r0, r3, 0, 0x1b, 0x1b -/* 8031F7D0 0031C730 98 1F 02 6C */ stb r0, 0x26c(r31) -/* 8031F7D4 0031C734 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 8031F7D8 0031C738 88 1F 02 6C */ lbz r0, 0x26c(r31) -/* 8031F7DC 0031C73C 88 63 00 30 */ lbz r3, 0x30(r3) -/* 8031F7E0 0031C740 50 60 0F 7A */ rlwimi r0, r3, 1, 0x1d, 0x1d -/* 8031F7E4 0031C744 98 1F 02 6C */ stb r0, 0x26c(r31) -/* 8031F7E8 0031C748 88 1F 02 6C */ lbz r0, 0x26c(r31) -/* 8031F7EC 0031C74C 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 8031F7F0 0031C750 41 82 00 0C */ beq lbl_8031F7FC -/* 8031F7F4 0031C754 38 60 00 00 */ li r3, 0 -/* 8031F7F8 0031C758 48 00 00 10 */ b lbl_8031F808 -lbl_8031F7FC: -/* 8031F7FC 0031C75C 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 8031F800 0031C760 88 03 00 31 */ lbz r0, 0x31(r3) -/* 8031F804 0031C764 54 03 CF FE */ rlwinm r3, r0, 0x19, 0x1f, 0x1f -lbl_8031F808: -/* 8031F808 0031C768 88 1F 02 6C */ lbz r0, 0x26c(r31) -/* 8031F80C 0031C76C 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e -/* 8031F810 0031C770 98 1F 02 6C */ stb r0, 0x26c(r31) -/* 8031F814 0031C774 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 8031F818 0031C778 80 63 00 34 */ lwz r3, 0x34(r3) -/* 8031F81C 0031C77C 28 03 00 00 */ cmplwi r3, 0 -/* 8031F820 0031C780 41 82 00 1C */ beq lbl_8031F83C -/* 8031F824 0031C784 81 83 00 00 */ lwz r12, 0(r3) -/* 8031F828 0031C788 38 BF 02 70 */ addi r5, r31, 0x270 -/* 8031F82C 0031C78C 80 9F 00 74 */ lwz r4, 0x74(r31) -/* 8031F830 0031C790 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8031F834 0031C794 7D 89 03 A6 */ mtctr r12 -/* 8031F838 0031C798 4E 80 04 21 */ bctrl -lbl_8031F83C: -/* 8031F83C 0031C79C 80 9F 00 28 */ lwz r4, 0x28(r31) -/* 8031F840 0031C7A0 38 60 00 00 */ li r3, 0 -/* 8031F844 0031C7A4 80 04 00 68 */ lwz r0, 0x68(r4) -/* 8031F848 0031C7A8 28 00 00 00 */ cmplwi r0, 0 -/* 8031F84C 0031C7AC 41 82 00 1C */ beq lbl_8031F868 -/* 8031F850 0031C7B0 90 1F 02 80 */ stw r0, 0x280(r31) -/* 8031F854 0031C7B4 38 60 00 01 */ li r3, 1 -/* 8031F858 0031C7B8 80 9F 00 28 */ lwz r4, 0x28(r31) -/* 8031F85C 0031C7BC 88 04 00 31 */ lbz r0, 0x31(r4) -/* 8031F860 0031C7C0 54 00 EF FE */ rlwinm r0, r0, 0x1d, 0x1f, 0x1f -/* 8031F864 0031C7C4 98 1F 02 78 */ stb r0, 0x278(r31) -lbl_8031F868: -/* 8031F868 0031C7C8 80 9F 00 28 */ lwz r4, 0x28(r31) -/* 8031F86C 0031C7CC 80 C4 00 6C */ lwz r6, 0x6c(r4) -/* 8031F870 0031C7D0 28 06 00 00 */ cmplwi r6, 0 -/* 8031F874 0031C7D4 41 82 00 28 */ beq lbl_8031F89C -/* 8031F878 0031C7D8 54 60 10 3A */ slwi r0, r3, 2 -/* 8031F87C 0031C7DC 7C 9F 1A 14 */ add r4, r31, r3 -/* 8031F880 0031C7E0 7C BF 02 14 */ add r5, r31, r0 -/* 8031F884 0031C7E4 38 63 00 01 */ addi r3, r3, 1 -/* 8031F888 0031C7E8 90 C5 02 80 */ stw r6, 0x280(r5) -/* 8031F88C 0031C7EC 80 BF 00 28 */ lwz r5, 0x28(r31) -/* 8031F890 0031C7F0 88 05 00 31 */ lbz r0, 0x31(r5) -/* 8031F894 0031C7F4 54 00 F7 FE */ rlwinm r0, r0, 0x1e, 0x1f, 0x1f -/* 8031F898 0031C7F8 98 04 02 78 */ stb r0, 0x278(r4) -lbl_8031F89C: -/* 8031F89C 0031C7FC 80 9F 00 28 */ lwz r4, 0x28(r31) -/* 8031F8A0 0031C800 80 C4 00 70 */ lwz r6, 0x70(r4) -/* 8031F8A4 0031C804 28 06 00 00 */ cmplwi r6, 0 -/* 8031F8A8 0031C808 41 82 00 28 */ beq lbl_8031F8D0 -/* 8031F8AC 0031C80C 54 60 10 3A */ slwi r0, r3, 2 -/* 8031F8B0 0031C810 7C 9F 1A 14 */ add r4, r31, r3 -/* 8031F8B4 0031C814 7C BF 02 14 */ add r5, r31, r0 -/* 8031F8B8 0031C818 38 63 00 01 */ addi r3, r3, 1 -/* 8031F8BC 0031C81C 90 C5 02 80 */ stw r6, 0x280(r5) -/* 8031F8C0 0031C820 80 BF 00 28 */ lwz r5, 0x28(r31) -/* 8031F8C4 0031C824 88 05 00 31 */ lbz r0, 0x31(r5) -/* 8031F8C8 0031C828 54 00 FF FE */ rlwinm r0, r0, 0x1f, 0x1f, 0x1f -/* 8031F8CC 0031C82C 98 04 02 78 */ stb r0, 0x278(r4) -lbl_8031F8D0: -/* 8031F8D0 0031C830 80 9F 00 28 */ lwz r4, 0x28(r31) -/* 8031F8D4 0031C834 80 C4 00 74 */ lwz r6, 0x74(r4) -/* 8031F8D8 0031C838 28 06 00 00 */ cmplwi r6, 0 -/* 8031F8DC 0031C83C 41 82 00 28 */ beq lbl_8031F904 -/* 8031F8E0 0031C840 54 60 10 3A */ slwi r0, r3, 2 -/* 8031F8E4 0031C844 7C 9F 1A 14 */ add r4, r31, r3 -/* 8031F8E8 0031C848 7C BF 02 14 */ add r5, r31, r0 -/* 8031F8EC 0031C84C 38 63 00 01 */ addi r3, r3, 1 -/* 8031F8F0 0031C850 90 C5 02 80 */ stw r6, 0x280(r5) -/* 8031F8F4 0031C854 80 BF 00 28 */ lwz r5, 0x28(r31) -/* 8031F8F8 0031C858 88 05 00 31 */ lbz r0, 0x31(r5) -/* 8031F8FC 0031C85C 54 00 07 FE */ clrlwi r0, r0, 0x1f -/* 8031F900 0031C860 98 04 02 78 */ stb r0, 0x278(r4) -lbl_8031F904: -/* 8031F904 0031C864 2C 03 00 04 */ cmpwi r3, 4 -/* 8031F908 0031C868 54 65 10 3A */ slwi r5, r3, 2 -/* 8031F90C 0031C86C 20 63 00 04 */ subfic r3, r3, 4 -/* 8031F910 0031C870 38 80 00 00 */ li r4, 0 -/* 8031F914 0031C874 40 80 00 74 */ bge lbl_8031F988 -/* 8031F918 0031C878 54 60 E8 FF */ rlwinm. r0, r3, 0x1d, 3, 0x1f -/* 8031F91C 0031C87C 7C 09 03 A6 */ mtctr r0 -/* 8031F920 0031C880 41 82 00 54 */ beq lbl_8031F974 -lbl_8031F924: -/* 8031F924 0031C884 38 05 02 80 */ addi r0, r5, 0x280 -/* 8031F928 0031C888 7C 9F 01 2E */ stwx r4, r31, r0 -/* 8031F92C 0031C88C 38 05 02 84 */ addi r0, r5, 0x284 -/* 8031F930 0031C890 7C 9F 01 2E */ stwx r4, r31, r0 -/* 8031F934 0031C894 38 05 02 88 */ addi r0, r5, 0x288 -/* 8031F938 0031C898 7C 9F 01 2E */ stwx r4, r31, r0 -/* 8031F93C 0031C89C 38 05 02 8C */ addi r0, r5, 0x28c -/* 8031F940 0031C8A0 7C 9F 01 2E */ stwx r4, r31, r0 -/* 8031F944 0031C8A4 38 05 02 90 */ addi r0, r5, 0x290 -/* 8031F948 0031C8A8 7C 9F 01 2E */ stwx r4, r31, r0 -/* 8031F94C 0031C8AC 38 05 02 94 */ addi r0, r5, 0x294 -/* 8031F950 0031C8B0 7C 9F 01 2E */ stwx r4, r31, r0 -/* 8031F954 0031C8B4 38 05 02 98 */ addi r0, r5, 0x298 -/* 8031F958 0031C8B8 7C 9F 01 2E */ stwx r4, r31, r0 -/* 8031F95C 0031C8BC 38 05 02 9C */ addi r0, r5, 0x29c -/* 8031F960 0031C8C0 38 A5 00 20 */ addi r5, r5, 0x20 -/* 8031F964 0031C8C4 7C 9F 01 2E */ stwx r4, r31, r0 -/* 8031F968 0031C8C8 42 00 FF BC */ bdnz lbl_8031F924 -/* 8031F96C 0031C8CC 70 63 00 07 */ andi. r3, r3, 7 -/* 8031F970 0031C8D0 41 82 00 18 */ beq lbl_8031F988 -lbl_8031F974: -/* 8031F974 0031C8D4 7C 69 03 A6 */ mtctr r3 -lbl_8031F978: -/* 8031F978 0031C8D8 38 05 02 80 */ addi r0, r5, 0x280 -/* 8031F97C 0031C8DC 38 A5 00 04 */ addi r5, r5, 4 -/* 8031F980 0031C8E0 7C 9F 01 2E */ stwx r4, r31, r0 -/* 8031F984 0031C8E4 42 00 FF F4 */ bdnz lbl_8031F978 -lbl_8031F988: -/* 8031F988 0031C8E8 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 8031F98C 0031C8EC 80 03 01 0C */ lwz r0, 0x10c(r3) -/* 8031F990 0031C8F0 28 00 00 00 */ cmplwi r0, 0 -/* 8031F994 0031C8F4 40 82 00 58 */ bne lbl_8031F9EC -/* 8031F998 0031C8F8 80 03 01 10 */ lwz r0, 0x110(r3) -/* 8031F99C 0031C8FC 28 00 00 00 */ cmplwi r0, 0 -/* 8031F9A0 0031C900 40 82 00 4C */ bne lbl_8031F9EC -/* 8031F9A4 0031C904 80 03 01 14 */ lwz r0, 0x114(r3) -/* 8031F9A8 0031C908 28 00 00 00 */ cmplwi r0, 0 -/* 8031F9AC 0031C90C 40 82 00 40 */ bne lbl_8031F9EC -/* 8031F9B0 0031C910 80 03 01 18 */ lwz r0, 0x118(r3) -/* 8031F9B4 0031C914 28 00 00 00 */ cmplwi r0, 0 -/* 8031F9B8 0031C918 40 82 00 34 */ bne lbl_8031F9EC -/* 8031F9BC 0031C91C 80 03 01 1C */ lwz r0, 0x11c(r3) -/* 8031F9C0 0031C920 28 00 00 00 */ cmplwi r0, 0 -/* 8031F9C4 0031C924 40 82 00 28 */ bne lbl_8031F9EC -/* 8031F9C8 0031C928 80 03 01 20 */ lwz r0, 0x120(r3) -/* 8031F9CC 0031C92C 28 00 00 00 */ cmplwi r0, 0 -/* 8031F9D0 0031C930 40 82 00 1C */ bne lbl_8031F9EC -/* 8031F9D4 0031C934 80 03 01 24 */ lwz r0, 0x124(r3) -/* 8031F9D8 0031C938 28 00 00 00 */ cmplwi r0, 0 -/* 8031F9DC 0031C93C 40 82 00 10 */ bne lbl_8031F9EC -/* 8031F9E0 0031C940 80 03 01 28 */ lwz r0, 0x128(r3) -/* 8031F9E4 0031C944 28 00 00 00 */ cmplwi r0, 0 -/* 8031F9E8 0031C948 41 82 00 14 */ beq lbl_8031F9FC -lbl_8031F9EC: -/* 8031F9EC 0031C94C 88 1F 02 6D */ lbz r0, 0x26d(r31) -/* 8031F9F0 0031C950 38 60 00 01 */ li r3, 1 -/* 8031F9F4 0031C954 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 8031F9F8 0031C958 98 1F 02 6D */ stb r0, 0x26d(r31) -lbl_8031F9FC: -/* 8031F9FC 0031C95C C0 02 C9 E8 */ lfs f0, lbl_805AE708@sda21(r2) -/* 8031FA00 0031C960 38 00 00 00 */ li r0, 0 -/* 8031FA04 0031C964 D0 1F 00 9C */ stfs f0, 0x9c(r31) -/* 8031FA08 0031C968 D0 1F 00 A0 */ stfs f0, 0xa0(r31) -/* 8031FA0C 0031C96C D0 1F 00 A4 */ stfs f0, 0xa4(r31) -/* 8031FA10 0031C970 D0 1F 00 A8 */ stfs f0, 0xa8(r31) -/* 8031FA14 0031C974 D0 1F 00 AC */ stfs f0, 0xac(r31) -/* 8031FA18 0031C978 D0 1F 00 B0 */ stfs f0, 0xb0(r31) -/* 8031FA1C 0031C97C D0 1F 00 B4 */ stfs f0, 0xb4(r31) -/* 8031FA20 0031C980 D0 1F 00 B8 */ stfs f0, 0xb8(r31) -/* 8031FA24 0031C984 D0 1F 00 BC */ stfs f0, 0xbc(r31) -/* 8031FA28 0031C988 D0 1F 00 C0 */ stfs f0, 0xc0(r31) -/* 8031FA2C 0031C98C D0 1F 00 C4 */ stfs f0, 0xc4(r31) -/* 8031FA30 0031C990 D0 1F 00 C8 */ stfs f0, 0xc8(r31) -/* 8031FA34 0031C994 D0 1F 00 CC */ stfs f0, 0xcc(r31) -/* 8031FA38 0031C998 D0 1F 00 D0 */ stfs f0, 0xd0(r31) -/* 8031FA3C 0031C99C D0 1F 00 D4 */ stfs f0, 0xd4(r31) -/* 8031FA40 0031C9A0 D0 1F 00 D8 */ stfs f0, 0xd8(r31) -/* 8031FA44 0031C9A4 90 1F 02 A0 */ stw r0, 0x2a0(r31) -/* 8031FA48 0031C9A8 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 8031FA4C 0031C9AC 80 63 00 8C */ lwz r3, 0x8c(r3) -/* 8031FA50 0031C9B0 28 03 00 00 */ cmplwi r3, 0 -/* 8031FA54 0031C9B4 41 82 00 1C */ beq lbl_8031FA70 -/* 8031FA58 0031C9B8 81 83 00 00 */ lwz r12, 0(r3) -/* 8031FA5C 0031C9BC 38 BF 02 A0 */ addi r5, r31, 0x2a0 -/* 8031FA60 0031C9C0 38 80 00 00 */ li r4, 0 -/* 8031FA64 0031C9C4 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8031FA68 0031C9C8 7D 89 03 A6 */ mtctr r12 -/* 8031FA6C 0031C9CC 4E 80 04 21 */ bctrl -lbl_8031FA70: -/* 8031FA70 0031C9D0 38 00 00 10 */ li r0, 0x10 -/* 8031FA74 0031C9D4 90 1F 02 A8 */ stw r0, 0x2a8(r31) -/* 8031FA78 0031C9D8 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 8031FA7C 0031C9DC 80 63 00 B4 */ lwz r3, 0xb4(r3) -/* 8031FA80 0031C9E0 28 03 00 00 */ cmplwi r3, 0 -/* 8031FA84 0031C9E4 41 82 00 30 */ beq lbl_8031FAB4 -/* 8031FA88 0031C9E8 81 83 00 00 */ lwz r12, 0(r3) -/* 8031FA8C 0031C9EC 38 BF 02 A8 */ addi r5, r31, 0x2a8 -/* 8031FA90 0031C9F0 38 80 00 00 */ li r4, 0 -/* 8031FA94 0031C9F4 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8031FA98 0031C9F8 7D 89 03 A6 */ mtctr r12 -/* 8031FA9C 0031C9FC 4E 80 04 21 */ bctrl -/* 8031FAA0 0031CA00 80 1F 02 A8 */ lwz r0, 0x2a8(r31) -/* 8031FAA4 0031CA04 2C 00 00 00 */ cmpwi r0, 0 -/* 8031FAA8 0031CA08 41 81 00 0C */ bgt lbl_8031FAB4 -/* 8031FAAC 0031CA0C 38 00 00 01 */ li r0, 1 -/* 8031FAB0 0031CA10 90 1F 02 A8 */ stw r0, 0x2a8(r31) -lbl_8031FAB4: -/* 8031FAB4 0031CA14 38 00 00 10 */ li r0, 0x10 -/* 8031FAB8 0031CA18 90 1F 02 A4 */ stw r0, 0x2a4(r31) -/* 8031FABC 0031CA1C 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 8031FAC0 0031CA20 80 63 00 B8 */ lwz r3, 0xb8(r3) -/* 8031FAC4 0031CA24 28 03 00 00 */ cmplwi r3, 0 -/* 8031FAC8 0031CA28 41 82 00 1C */ beq lbl_8031FAE4 -/* 8031FACC 0031CA2C 81 83 00 00 */ lwz r12, 0(r3) -/* 8031FAD0 0031CA30 38 BF 02 A4 */ addi r5, r31, 0x2a4 -/* 8031FAD4 0031CA34 38 80 00 00 */ li r4, 0 -/* 8031FAD8 0031CA38 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8031FADC 0031CA3C 7D 89 03 A6 */ mtctr r12 -/* 8031FAE0 0031CA40 4E 80 04 21 */ bctrl -lbl_8031FAE4: -/* 8031FAE4 0031CA44 38 00 00 00 */ li r0, 0 -/* 8031FAE8 0031CA48 90 1F 02 AC */ stw r0, 0x2ac(r31) -/* 8031FAEC 0031CA4C 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 8031FAF0 0031CA50 80 63 00 D0 */ lwz r3, 0xd0(r3) -/* 8031FAF4 0031CA54 28 03 00 00 */ cmplwi r3, 0 -/* 8031FAF8 0031CA58 41 82 00 1C */ beq lbl_8031FB14 -/* 8031FAFC 0031CA5C 81 83 00 00 */ lwz r12, 0(r3) -/* 8031FB00 0031CA60 38 BF 02 AC */ addi r5, r31, 0x2ac -/* 8031FB04 0031CA64 38 80 00 00 */ li r4, 0 -/* 8031FB08 0031CA68 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8031FB0C 0031CA6C 7D 89 03 A6 */ mtctr r12 -/* 8031FB10 0031CA70 4E 80 04 21 */ bctrl -lbl_8031FB14: -/* 8031FB14 0031CA74 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 8031FB18 0031CA78 80 63 00 D4 */ lwz r3, 0xd4(r3) -/* 8031FB1C 0031CA7C 28 03 00 00 */ cmplwi r3, 0 -/* 8031FB20 0031CA80 41 82 00 4C */ beq lbl_8031FB6C -/* 8031FB24 0031CA84 81 83 00 00 */ lwz r12, 0(r3) -/* 8031FB28 0031CA88 38 BF 02 B0 */ addi r5, r31, 0x2b0 -/* 8031FB2C 0031CA8C 38 80 00 00 */ li r4, 0 -/* 8031FB30 0031CA90 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8031FB34 0031CA94 7D 89 03 A6 */ mtctr r12 -/* 8031FB38 0031CA98 4E 80 04 21 */ bctrl -/* 8031FB3C 0031CA9C 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 8031FB40 0031CAA0 80 63 00 D4 */ lwz r3, 0xd4(r3) -/* 8031FB44 0031CAA4 81 83 00 00 */ lwz r12, 0(r3) -/* 8031FB48 0031CAA8 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8031FB4C 0031CAAC 7D 89 03 A6 */ mtctr r12 -/* 8031FB50 0031CAB0 4E 80 04 21 */ bctrl -/* 8031FB54 0031CAB4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8031FB58 0031CAB8 40 82 00 14 */ bne lbl_8031FB6C -/* 8031FB5C 0031CABC 88 1F 02 6C */ lbz r0, 0x26c(r31) -/* 8031FB60 0031CAC0 38 60 00 01 */ li r3, 1 -/* 8031FB64 0031CAC4 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 8031FB68 0031CAC8 98 1F 02 6C */ stb r0, 0x26c(r31) -lbl_8031FB6C: -/* 8031FB6C 0031CACC 38 00 00 00 */ li r0, 0 -/* 8031FB70 0031CAD0 90 1F 02 BC */ stw r0, 0x2bc(r31) -/* 8031FB74 0031CAD4 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 8031FB78 0031CAD8 80 63 00 E4 */ lwz r3, 0xe4(r3) -/* 8031FB7C 0031CADC 28 03 00 00 */ cmplwi r3, 0 -/* 8031FB80 0031CAE0 41 82 00 1C */ beq lbl_8031FB9C -/* 8031FB84 0031CAE4 81 83 00 00 */ lwz r12, 0(r3) -/* 8031FB88 0031CAE8 38 BF 02 BC */ addi r5, r31, 0x2bc -/* 8031FB8C 0031CAEC 38 80 00 00 */ li r4, 0 -/* 8031FB90 0031CAF0 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8031FB94 0031CAF4 7D 89 03 A6 */ mtctr r12 -/* 8031FB98 0031CAF8 4E 80 04 21 */ bctrl -lbl_8031FB9C: -/* 8031FB9C 0031CAFC 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 8031FBA0 0031CB00 80 63 00 E8 */ lwz r3, 0xe8(r3) -/* 8031FBA4 0031CB04 28 03 00 00 */ cmplwi r3, 0 -/* 8031FBA8 0031CB08 41 82 00 4C */ beq lbl_8031FBF4 -/* 8031FBAC 0031CB0C 81 83 00 00 */ lwz r12, 0(r3) -/* 8031FBB0 0031CB10 38 BF 02 C0 */ addi r5, r31, 0x2c0 -/* 8031FBB4 0031CB14 38 80 00 00 */ li r4, 0 -/* 8031FBB8 0031CB18 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8031FBBC 0031CB1C 7D 89 03 A6 */ mtctr r12 -/* 8031FBC0 0031CB20 4E 80 04 21 */ bctrl -/* 8031FBC4 0031CB24 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 8031FBC8 0031CB28 80 63 00 E8 */ lwz r3, 0xe8(r3) -/* 8031FBCC 0031CB2C 81 83 00 00 */ lwz r12, 0(r3) -/* 8031FBD0 0031CB30 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8031FBD4 0031CB34 7D 89 03 A6 */ mtctr r12 -/* 8031FBD8 0031CB38 4E 80 04 21 */ bctrl -/* 8031FBDC 0031CB3C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8031FBE0 0031CB40 40 82 00 14 */ bne lbl_8031FBF4 -/* 8031FBE4 0031CB44 88 1F 02 6C */ lbz r0, 0x26c(r31) -/* 8031FBE8 0031CB48 38 60 00 01 */ li r3, 1 -/* 8031FBEC 0031CB4C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 8031FBF0 0031CB50 98 1F 02 6C */ stb r0, 0x26c(r31) -lbl_8031FBF4: -/* 8031FBF4 0031CB54 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 8031FBF8 0031CB58 80 63 00 0C */ lwz r3, 0xc(r3) -/* 8031FBFC 0031CB5C 28 03 00 00 */ cmplwi r3, 0 -/* 8031FC00 0031CB60 41 82 00 4C */ beq lbl_8031FC4C -/* 8031FC04 0031CB64 81 83 00 00 */ lwz r12, 0(r3) -/* 8031FC08 0031CB68 38 BF 00 F4 */ addi r5, r31, 0xf4 -/* 8031FC0C 0031CB6C 80 9F 00 74 */ lwz r4, 0x74(r31) -/* 8031FC10 0031CB70 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8031FC14 0031CB74 7D 89 03 A6 */ mtctr r12 -/* 8031FC18 0031CB78 4E 80 04 21 */ bctrl -/* 8031FC1C 0031CB7C 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 8031FC20 0031CB80 80 63 00 0C */ lwz r3, 0xc(r3) -/* 8031FC24 0031CB84 81 83 00 00 */ lwz r12, 0(r3) -/* 8031FC28 0031CB88 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8031FC2C 0031CB8C 7D 89 03 A6 */ mtctr r12 -/* 8031FC30 0031CB90 4E 80 04 21 */ bctrl -/* 8031FC34 0031CB94 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8031FC38 0031CB98 40 82 00 14 */ bne lbl_8031FC4C -/* 8031FC3C 0031CB9C 88 1F 02 6C */ lbz r0, 0x26c(r31) -/* 8031FC40 0031CBA0 38 60 00 01 */ li r3, 1 -/* 8031FC44 0031CBA4 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 8031FC48 0031CBA8 98 1F 02 6C */ stb r0, 0x26c(r31) -lbl_8031FC4C: -/* 8031FC4C 0031CBAC 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 8031FC50 0031CBB0 80 63 00 00 */ lwz r3, 0(r3) -/* 8031FC54 0031CBB4 28 03 00 00 */ cmplwi r3, 0 -/* 8031FC58 0031CBB8 41 82 00 20 */ beq lbl_8031FC78 -/* 8031FC5C 0031CBBC 81 83 00 00 */ lwz r12, 0(r3) -/* 8031FC60 0031CBC0 38 BF 02 68 */ addi r5, r31, 0x268 -/* 8031FC64 0031CBC4 38 80 00 00 */ li r4, 0 -/* 8031FC68 0031CBC8 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8031FC6C 0031CBCC 7D 89 03 A6 */ mtctr r12 -/* 8031FC70 0031CBD0 4E 80 04 21 */ bctrl -/* 8031FC74 0031CBD4 48 00 00 10 */ b lbl_8031FC84 -lbl_8031FC78: -/* 8031FC78 0031CBD8 3C 60 00 80 */ lis r3, 0x007FFFFF@ha -/* 8031FC7C 0031CBDC 38 03 FF FF */ addi r0, r3, 0x007FFFFF@l -/* 8031FC80 0031CBE0 90 1F 02 68 */ stw r0, 0x268(r31) -lbl_8031FC84: -/* 8031FC84 0031CBE4 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 8031FC88 0031CBE8 80 63 00 1C */ lwz r3, 0x1c(r3) -/* 8031FC8C 0031CBEC 28 03 00 00 */ cmplwi r3, 0 -/* 8031FC90 0031CBF0 41 82 00 1C */ beq lbl_8031FCAC -/* 8031FC94 0031CBF4 81 83 00 00 */ lwz r12, 0(r3) -/* 8031FC98 0031CBF8 38 BF 00 90 */ addi r5, r31, 0x90 -/* 8031FC9C 0031CBFC 80 9F 00 74 */ lwz r4, 0x74(r31) -/* 8031FCA0 0031CC00 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8031FCA4 0031CC04 7D 89 03 A6 */ mtctr r12 -/* 8031FCA8 0031CC08 4E 80 04 21 */ bctrl -lbl_8031FCAC: -/* 8031FCAC 0031CC0C 83 DF 00 90 */ lwz r30, 0x90(r31) -/* 8031FCB0 0031CC10 2C 1E 01 00 */ cmpwi r30, 0x100 -/* 8031FCB4 0031CC14 40 81 00 08 */ ble lbl_8031FCBC -/* 8031FCB8 0031CC18 3B C0 01 00 */ li r30, 0x100 -lbl_8031FCBC: -/* 8031FCBC 0031CC1C 7F C4 F3 78 */ mr r4, r30 -/* 8031FCC0 0031CC20 38 7F 00 30 */ addi r3, r31, 0x30 -/* 8031FCC4 0031CC24 48 00 06 FD */ bl sub_803203c0 -/* 8031FCC8 0031CC28 88 1F 02 6D */ lbz r0, 0x26d(r31) -/* 8031FCCC 0031CC2C 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 8031FCD0 0031CC30 41 82 00 5C */ beq lbl_8031FD2C -/* 8031FCD4 0031CC34 3C 60 80 4C */ lis r3, lbl_804BFE28@ha -/* 8031FCD8 0031CC38 38 A1 00 20 */ addi r5, r1, 0x20 -/* 8031FCDC 0031CC3C 3B A3 FE 28 */ addi r29, r3, lbl_804BFE28@l -/* 8031FCE0 0031CC40 7F C4 F3 78 */ mr r4, r30 -/* 8031FCE4 0031CC44 81 9D 00 00 */ lwz r12, 0(r29) -/* 8031FCE8 0031CC48 38 7F 00 60 */ addi r3, r31, 0x60 -/* 8031FCEC 0031CC4C 81 7D 00 04 */ lwz r11, 4(r29) -/* 8031FCF0 0031CC50 81 5D 00 08 */ lwz r10, 8(r29) -/* 8031FCF4 0031CC54 81 3D 00 0C */ lwz r9, 0xc(r29) -/* 8031FCF8 0031CC58 81 1D 00 10 */ lwz r8, 0x10(r29) -/* 8031FCFC 0031CC5C 80 FD 00 14 */ lwz r7, 0x14(r29) -/* 8031FD00 0031CC60 80 DD 00 18 */ lwz r6, 0x18(r29) -/* 8031FD04 0031CC64 80 1D 00 1C */ lwz r0, 0x1c(r29) -/* 8031FD08 0031CC68 91 81 00 20 */ stw r12, 0x20(r1) -/* 8031FD0C 0031CC6C 91 61 00 24 */ stw r11, 0x24(r1) -/* 8031FD10 0031CC70 91 41 00 28 */ stw r10, 0x28(r1) -/* 8031FD14 0031CC74 91 21 00 2C */ stw r9, 0x2c(r1) -/* 8031FD18 0031CC78 91 01 00 30 */ stw r8, 0x30(r1) -/* 8031FD1C 0031CC7C 90 E1 00 34 */ stw r7, 0x34(r1) -/* 8031FD20 0031CC80 90 C1 00 38 */ stw r6, 0x38(r1) -/* 8031FD24 0031CC84 90 01 00 3C */ stw r0, 0x3c(r1) -/* 8031FD28 0031CC88 48 00 02 95 */ bl sub_8031ffbc -lbl_8031FD2C: -/* 8031FD2C 0031CC8C 80 1F 00 2C */ lwz r0, 0x2c(r31) -/* 8031FD30 0031CC90 2C 00 00 01 */ cmpwi r0, 1 -/* 8031FD34 0031CC94 40 82 00 18 */ bne lbl_8031FD4C -/* 8031FD38 0031CC98 3C 60 80 5A */ lis r3, lbl_805A65FC@ha -/* 8031FD3C 0031CC9C 80 9F 00 90 */ lwz r4, 0x90(r31) -/* 8031FD40 0031CCA0 38 A3 65 FC */ addi r5, r3, lbl_805A65FC@l -/* 8031FD44 0031CCA4 38 7F 00 50 */ addi r3, r31, 0x50 -/* 8031FD48 0031CCA8 48 00 01 85 */ bl sub_8031fecc -lbl_8031FD4C: -/* 8031FD4C 0031CCAC 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 8031FD50 0031CCB0 88 1F 02 6C */ lbz r0, 0x26c(r31) -/* 8031FD54 0031CCB4 88 63 00 30 */ lbz r3, 0x30(r3) -/* 8031FD58 0031CCB8 50 60 CF FE */ rlwimi r0, r3, 0x19, 0x1f, 0x1f -/* 8031FD5C 0031CCBC 98 1F 02 6C */ stb r0, 0x26c(r31) -/* 8031FD60 0031CCC0 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 8031FD64 0031CCC4 88 1F 02 6D */ lbz r0, 0x26d(r31) -/* 8031FD68 0031CCC8 88 63 00 30 */ lbz r3, 0x30(r3) -/* 8031FD6C 0031CCCC 50 60 0E 30 */ rlwimi r0, r3, 1, 0x18, 0x18 -/* 8031FD70 0031CCD0 98 1F 02 6D */ stb r0, 0x26d(r31) -/* 8031FD74 0031CCD4 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 8031FD78 0031CCD8 80 03 00 EC */ lwz r0, 0xec(r3) -/* 8031FD7C 0031CCDC 28 00 00 00 */ cmplwi r0, 0 -/* 8031FD80 0031CCE0 41 82 01 1C */ beq lbl_8031FE9C -/* 8031FD84 0031CCE4 38 00 00 00 */ li r0, 0 -/* 8031FD88 0031CCE8 38 A1 00 0C */ addi r5, r1, 0xc -/* 8031FD8C 0031CCEC 90 01 00 0C */ stw r0, 0xc(r1) -/* 8031FD90 0031CCF0 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 8031FD94 0031CCF4 80 9F 00 74 */ lwz r4, 0x74(r31) -/* 8031FD98 0031CCF8 80 63 00 EC */ lwz r3, 0xec(r3) -/* 8031FD9C 0031CCFC 81 83 00 00 */ lwz r12, 0(r3) -/* 8031FDA0 0031CD00 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8031FDA4 0031CD04 7D 89 03 A6 */ mtctr r12 -/* 8031FDA8 0031CD08 4E 80 04 21 */ bctrl -/* 8031FDAC 0031CD0C 80 01 00 0C */ lwz r0, 0xc(r1) -/* 8031FDB0 0031CD10 2C 00 00 02 */ cmpwi r0, 2 -/* 8031FDB4 0031CD14 41 82 00 3C */ beq lbl_8031FDF0 -/* 8031FDB8 0031CD18 40 80 00 14 */ bge lbl_8031FDCC -/* 8031FDBC 0031CD1C 2C 00 00 00 */ cmpwi r0, 0 -/* 8031FDC0 0031CD20 41 82 00 18 */ beq lbl_8031FDD8 -/* 8031FDC4 0031CD24 40 80 00 20 */ bge lbl_8031FDE4 -/* 8031FDC8 0031CD28 48 00 00 40 */ b lbl_8031FE08 -lbl_8031FDCC: -/* 8031FDCC 0031CD2C 2C 00 00 04 */ cmpwi r0, 4 -/* 8031FDD0 0031CD30 40 80 00 38 */ bge lbl_8031FE08 -/* 8031FDD4 0031CD34 48 00 00 28 */ b lbl_8031FDFC -lbl_8031FDD8: -/* 8031FDD8 0031CD38 38 00 00 00 */ li r0, 0 -/* 8031FDDC 0031CD3C 90 1F 03 08 */ stw r0, 0x308(r31) -/* 8031FDE0 0031CD40 48 00 00 30 */ b lbl_8031FE10 -lbl_8031FDE4: -/* 8031FDE4 0031CD44 38 00 00 01 */ li r0, 1 -/* 8031FDE8 0031CD48 90 1F 03 08 */ stw r0, 0x308(r31) -/* 8031FDEC 0031CD4C 48 00 00 24 */ b lbl_8031FE10 -lbl_8031FDF0: -/* 8031FDF0 0031CD50 38 00 00 02 */ li r0, 2 -/* 8031FDF4 0031CD54 90 1F 03 08 */ stw r0, 0x308(r31) -/* 8031FDF8 0031CD58 48 00 00 18 */ b lbl_8031FE10 -lbl_8031FDFC: -/* 8031FDFC 0031CD5C 38 00 00 03 */ li r0, 3 -/* 8031FE00 0031CD60 90 1F 03 08 */ stw r0, 0x308(r31) -/* 8031FE04 0031CD64 48 00 00 0C */ b lbl_8031FE10 -lbl_8031FE08: -/* 8031FE08 0031CD68 38 00 00 00 */ li r0, 0 -/* 8031FE0C 0031CD6C 90 1F 03 08 */ stw r0, 0x308(r31) -lbl_8031FE10: -/* 8031FE10 0031CD70 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 8031FE14 0031CD74 80 03 01 00 */ lwz r0, 0x100(r3) -/* 8031FE18 0031CD78 28 00 00 00 */ cmplwi r0, 0 -/* 8031FE1C 0031CD7C 41 82 00 80 */ beq lbl_8031FE9C -/* 8031FE20 0031CD80 38 00 00 01 */ li r0, 1 -/* 8031FE24 0031CD84 38 A1 00 08 */ addi r5, r1, 8 -/* 8031FE28 0031CD88 90 01 00 08 */ stw r0, 8(r1) -/* 8031FE2C 0031CD8C 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 8031FE30 0031CD90 80 9F 00 74 */ lwz r4, 0x74(r31) -/* 8031FE34 0031CD94 80 63 01 00 */ lwz r3, 0x100(r3) -/* 8031FE38 0031CD98 81 83 00 00 */ lwz r12, 0(r3) -/* 8031FE3C 0031CD9C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8031FE40 0031CDA0 7D 89 03 A6 */ mtctr r12 -/* 8031FE44 0031CDA4 4E 80 04 21 */ bctrl -/* 8031FE48 0031CDA8 80 01 00 08 */ lwz r0, 8(r1) -/* 8031FE4C 0031CDAC 2C 00 00 01 */ cmpwi r0, 1 -/* 8031FE50 0031CDB0 41 82 00 2C */ beq lbl_8031FE7C -/* 8031FE54 0031CDB4 40 80 00 10 */ bge lbl_8031FE64 -/* 8031FE58 0031CDB8 2C 00 00 00 */ cmpwi r0, 0 -/* 8031FE5C 0031CDBC 40 80 00 14 */ bge lbl_8031FE70 -/* 8031FE60 0031CDC0 48 00 00 34 */ b lbl_8031FE94 -lbl_8031FE64: -/* 8031FE64 0031CDC4 2C 00 00 03 */ cmpwi r0, 3 -/* 8031FE68 0031CDC8 40 80 00 2C */ bge lbl_8031FE94 -/* 8031FE6C 0031CDCC 48 00 00 1C */ b lbl_8031FE88 -lbl_8031FE70: -/* 8031FE70 0031CDD0 38 00 00 00 */ li r0, 0 -/* 8031FE74 0031CDD4 90 1F 03 2C */ stw r0, 0x32c(r31) -/* 8031FE78 0031CDD8 48 00 00 24 */ b lbl_8031FE9C -lbl_8031FE7C: -/* 8031FE7C 0031CDDC 38 00 00 01 */ li r0, 1 -/* 8031FE80 0031CDE0 90 1F 03 2C */ stw r0, 0x32c(r31) -/* 8031FE84 0031CDE4 48 00 00 18 */ b lbl_8031FE9C -lbl_8031FE88: -/* 8031FE88 0031CDE8 38 00 00 02 */ li r0, 2 -/* 8031FE8C 0031CDEC 90 1F 03 2C */ stw r0, 0x32c(r31) -/* 8031FE90 0031CDF0 48 00 00 0C */ b lbl_8031FE9C -lbl_8031FE94: -/* 8031FE94 0031CDF4 38 00 00 01 */ li r0, 1 -/* 8031FE98 0031CDF8 90 1F 03 2C */ stw r0, 0x32c(r31) -lbl_8031FE9C: -/* 8031FE9C 0031CDFC 38 61 00 14 */ addi r3, r1, 0x14 -/* 8031FEA0 0031CE00 38 80 FF FF */ li r4, -1 -/* 8031FEA4 0031CE04 4B FF 27 61 */ bl __dt__13CGlobalRandomFv -/* 8031FEA8 0031CE08 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8031FEAC 0031CE0C 7F E3 FB 78 */ mr r3, r31 -/* 8031FEB0 0031CE10 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 8031FEB4 0031CE14 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 8031FEB8 0031CE18 83 A1 00 44 */ lwz r29, 0x44(r1) -/* 8031FEBC 0031CE1C 83 81 00 40 */ lwz r28, 0x40(r1) -/* 8031FEC0 0031CE20 7C 08 03 A6 */ mtlr r0 -/* 8031FEC4 0031CE24 38 21 00 50 */ addi r1, r1, 0x50 -/* 8031FEC8 0031CE28 4E 80 00 20 */ blr - -.global sub_8031fecc -sub_8031fecc: -/* 8031FECC 0031CE2C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8031FED0 0031CE30 7C 08 02 A6 */ mflr r0 -/* 8031FED4 0031CE34 90 01 00 34 */ stw r0, 0x34(r1) -/* 8031FED8 0031CE38 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8031FEDC 0031CE3C 7C BF 2B 78 */ mr r31, r5 -/* 8031FEE0 0031CE40 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8031FEE4 0031CE44 7C 9E 23 78 */ mr r30, r4 -/* 8031FEE8 0031CE48 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8031FEEC 0031CE4C 7C 7D 1B 78 */ mr r29, r3 -/* 8031FEF0 0031CE50 93 81 00 20 */ stw r28, 0x20(r1) -/* 8031FEF4 0031CE54 80 03 00 04 */ lwz r0, 4(r3) -/* 8031FEF8 0031CE58 80 63 00 0C */ lwz r3, 0xc(r3) -/* 8031FEFC 0031CE5C 1C 00 00 24 */ mulli r0, r0, 0x24 -/* 8031FF00 0031CE60 90 61 00 0C */ stw r3, 0xc(r1) -/* 8031FF04 0031CE64 7C 03 02 14 */ add r0, r3, r0 -/* 8031FF08 0031CE68 90 61 00 08 */ stw r3, 8(r1) -/* 8031FF0C 0031CE6C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8031FF10 0031CE70 90 01 00 10 */ stw r0, 0x10(r1) -/* 8031FF14 0031CE74 48 00 00 08 */ b lbl_8031FF1C -lbl_8031FF18: -/* 8031FF18 0031CE78 38 63 00 24 */ addi r3, r3, 0x24 -lbl_8031FF1C: -/* 8031FF1C 0031CE7C 7C 03 00 40 */ cmplw r3, r0 -/* 8031FF20 0031CE80 40 82 FF F8 */ bne lbl_8031FF18 -/* 8031FF24 0031CE84 38 00 00 00 */ li r0, 0 -/* 8031FF28 0031CE88 7F A3 EB 78 */ mr r3, r29 -/* 8031FF2C 0031CE8C 90 1D 00 04 */ stw r0, 4(r29) -/* 8031FF30 0031CE90 7F C4 F3 78 */ mr r4, r30 -/* 8031FF34 0031CE94 48 00 06 05 */ bl sub_80320538 -/* 8031FF38 0031CE98 3B 80 00 00 */ li r28, 0 -/* 8031FF3C 0031CE9C 48 00 00 58 */ b lbl_8031FF94 -lbl_8031FF40: -/* 8031FF40 0031CEA0 80 1D 00 04 */ lwz r0, 4(r29) -/* 8031FF44 0031CEA4 80 BD 00 08 */ lwz r5, 8(r29) -/* 8031FF48 0031CEA8 7C 00 28 00 */ cmpw r0, r5 -/* 8031FF4C 0031CEAC 41 80 00 1C */ blt lbl_8031FF68 -/* 8031FF50 0031CEB0 2C 05 00 00 */ cmpwi r5, 0 -/* 8031FF54 0031CEB4 7F A3 EB 78 */ mr r3, r29 -/* 8031FF58 0031CEB8 38 80 00 04 */ li r4, 4 -/* 8031FF5C 0031CEBC 41 82 00 08 */ beq lbl_8031FF64 -/* 8031FF60 0031CEC0 54 A4 08 3C */ slwi r4, r5, 1 -lbl_8031FF64: -/* 8031FF64 0031CEC4 48 00 05 D5 */ bl sub_80320538 -lbl_8031FF68: -/* 8031FF68 0031CEC8 80 1D 00 04 */ lwz r0, 4(r29) -/* 8031FF6C 0031CECC 80 7D 00 0C */ lwz r3, 0xc(r29) -/* 8031FF70 0031CED0 1C 00 00 24 */ mulli r0, r0, 0x24 -/* 8031FF74 0031CED4 7C 63 02 15 */ add. r3, r3, r0 -/* 8031FF78 0031CED8 41 82 00 0C */ beq lbl_8031FF84 -/* 8031FF7C 0031CEDC 7F E4 FB 78 */ mr r4, r31 -/* 8031FF80 0031CEE0 4B FF 00 A5 */ bl __ct__9CMatrix3fFRC9CMatrix3f -lbl_8031FF84: -/* 8031FF84 0031CEE4 80 7D 00 04 */ lwz r3, 4(r29) -/* 8031FF88 0031CEE8 3B 9C 00 01 */ addi r28, r28, 1 -/* 8031FF8C 0031CEEC 38 03 00 01 */ addi r0, r3, 1 -/* 8031FF90 0031CEF0 90 1D 00 04 */ stw r0, 4(r29) -lbl_8031FF94: -/* 8031FF94 0031CEF4 7C 1C F0 00 */ cmpw r28, r30 -/* 8031FF98 0031CEF8 41 80 FF A8 */ blt lbl_8031FF40 -/* 8031FF9C 0031CEFC 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8031FFA0 0031CF00 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8031FFA4 0031CF04 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8031FFA8 0031CF08 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 8031FFAC 0031CF0C 83 81 00 20 */ lwz r28, 0x20(r1) -/* 8031FFB0 0031CF10 7C 08 03 A6 */ mtlr r0 -/* 8031FFB4 0031CF14 38 21 00 30 */ addi r1, r1, 0x30 -/* 8031FFB8 0031CF18 4E 80 00 20 */ blr - -.global sub_8031ffbc -sub_8031ffbc: -/* 8031FFBC 0031CF1C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8031FFC0 0031CF20 7C 08 02 A6 */ mflr r0 -/* 8031FFC4 0031CF24 90 01 00 34 */ stw r0, 0x34(r1) -/* 8031FFC8 0031CF28 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8031FFCC 0031CF2C 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8031FFD0 0031CF30 7C BE 2B 78 */ mr r30, r5 -/* 8031FFD4 0031CF34 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8031FFD8 0031CF38 7C 9D 23 78 */ mr r29, r4 -/* 8031FFDC 0031CF3C 93 81 00 20 */ stw r28, 0x20(r1) -/* 8031FFE0 0031CF40 7C 7C 1B 78 */ mr r28, r3 -/* 8031FFE4 0031CF44 80 03 00 04 */ lwz r0, 4(r3) -/* 8031FFE8 0031CF48 80 63 00 0C */ lwz r3, 0xc(r3) -/* 8031FFEC 0031CF4C 54 00 28 34 */ slwi r0, r0, 5 -/* 8031FFF0 0031CF50 7C 03 02 14 */ add r0, r3, r0 -/* 8031FFF4 0031CF54 90 61 00 0C */ stw r3, 0xc(r1) -/* 8031FFF8 0031CF58 90 01 00 14 */ stw r0, 0x14(r1) -/* 8031FFFC 0031CF5C 90 01 00 10 */ stw r0, 0x10(r1) -/* 80320000 0031CF60 90 61 00 08 */ stw r3, 8(r1) -/* 80320004 0031CF64 48 00 00 08 */ b lbl_8032000C -lbl_80320008: -/* 80320008 0031CF68 38 63 00 20 */ addi r3, r3, 0x20 -lbl_8032000C: -/* 8032000C 0031CF6C 7C 03 00 40 */ cmplw r3, r0 -/* 80320010 0031CF70 40 82 FF F8 */ bne lbl_80320008 -/* 80320014 0031CF74 38 00 00 00 */ li r0, 0 -/* 80320018 0031CF78 7F 83 E3 78 */ mr r3, r28 -/* 8032001C 0031CF7C 90 1C 00 04 */ stw r0, 4(r28) -/* 80320020 0031CF80 7F A4 EB 78 */ mr r4, r29 -/* 80320024 0031CF84 48 00 05 F9 */ bl "reserve__Q24rstl69vectorFi" -/* 80320028 0031CF88 3B E0 00 00 */ li r31, 0 -/* 8032002C 0031CF8C 48 00 00 90 */ b lbl_803200BC -lbl_80320030: -/* 80320030 0031CF90 80 1C 00 04 */ lwz r0, 4(r28) -/* 80320034 0031CF94 80 BC 00 08 */ lwz r5, 8(r28) -/* 80320038 0031CF98 7C 00 28 00 */ cmpw r0, r5 -/* 8032003C 0031CF9C 41 80 00 1C */ blt lbl_80320058 -/* 80320040 0031CFA0 2C 05 00 00 */ cmpwi r5, 0 -/* 80320044 0031CFA4 7F 83 E3 78 */ mr r3, r28 -/* 80320048 0031CFA8 38 80 00 04 */ li r4, 4 -/* 8032004C 0031CFAC 41 82 00 08 */ beq lbl_80320054 -/* 80320050 0031CFB0 54 A4 08 3C */ slwi r4, r5, 1 -lbl_80320054: -/* 80320054 0031CFB4 48 00 05 C9 */ bl "reserve__Q24rstl69vectorFi" -lbl_80320058: -/* 80320058 0031CFB8 80 1C 00 04 */ lwz r0, 4(r28) -/* 8032005C 0031CFBC 80 7C 00 0C */ lwz r3, 0xc(r28) -/* 80320060 0031CFC0 54 00 28 34 */ slwi r0, r0, 5 -/* 80320064 0031CFC4 7C 83 02 15 */ add. r4, r3, r0 -/* 80320068 0031CFC8 41 82 00 44 */ beq lbl_803200AC -/* 8032006C 0031CFCC 80 7E 00 00 */ lwz r3, 0(r30) -/* 80320070 0031CFD0 80 1E 00 04 */ lwz r0, 4(r30) -/* 80320074 0031CFD4 90 64 00 00 */ stw r3, 0(r4) -/* 80320078 0031CFD8 90 04 00 04 */ stw r0, 4(r4) -/* 8032007C 0031CFDC 80 7E 00 08 */ lwz r3, 8(r30) -/* 80320080 0031CFE0 80 1E 00 0C */ lwz r0, 0xc(r30) -/* 80320084 0031CFE4 90 64 00 08 */ stw r3, 8(r4) -/* 80320088 0031CFE8 90 04 00 0C */ stw r0, 0xc(r4) -/* 8032008C 0031CFEC 80 7E 00 10 */ lwz r3, 0x10(r30) -/* 80320090 0031CFF0 80 1E 00 14 */ lwz r0, 0x14(r30) -/* 80320094 0031CFF4 90 64 00 10 */ stw r3, 0x10(r4) -/* 80320098 0031CFF8 90 04 00 14 */ stw r0, 0x14(r4) -/* 8032009C 0031CFFC 80 7E 00 18 */ lwz r3, 0x18(r30) -/* 803200A0 0031D000 80 1E 00 1C */ lwz r0, 0x1c(r30) -/* 803200A4 0031D004 90 64 00 18 */ stw r3, 0x18(r4) -/* 803200A8 0031D008 90 04 00 1C */ stw r0, 0x1c(r4) -lbl_803200AC: -/* 803200AC 0031D00C 80 7C 00 04 */ lwz r3, 4(r28) -/* 803200B0 0031D010 3B FF 00 01 */ addi r31, r31, 1 -/* 803200B4 0031D014 38 03 00 01 */ addi r0, r3, 1 -/* 803200B8 0031D018 90 1C 00 04 */ stw r0, 4(r28) -lbl_803200BC: -/* 803200BC 0031D01C 7C 1F E8 00 */ cmpw r31, r29 -/* 803200C0 0031D020 41 80 FF 70 */ blt lbl_80320030 -/* 803200C4 0031D024 80 01 00 34 */ lwz r0, 0x34(r1) -/* 803200C8 0031D028 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 803200CC 0031D02C 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 803200D0 0031D030 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 803200D4 0031D034 83 81 00 20 */ lwz r28, 0x20(r1) -/* 803200D8 0031D038 7C 08 03 A6 */ mtlr r0 -/* 803200DC 0031D03C 38 21 00 30 */ addi r1, r1, 0x30 -/* 803200E0 0031D040 4E 80 00 20 */ blr - -.global sub_803200e4 -sub_803200e4: -/* 803200E4 0031D044 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 803200E8 0031D048 7C 08 02 A6 */ mflr r0 -/* 803200EC 0031D04C 90 01 00 44 */ stw r0, 0x44(r1) -/* 803200F0 0031D050 BF 61 00 2C */ stmw r27, 0x2c(r1) -/* 803200F4 0031D054 7C 7D 1B 78 */ mr r29, r3 -/* 803200F8 0031D058 7C 9E 23 78 */ mr r30, r4 -/* 803200FC 0031D05C 7C BF 2B 78 */ mr r31, r5 -/* 80320100 0031D060 7C 1D F0 50 */ subf r0, r29, r30 -/* 80320104 0031D064 7C 00 26 70 */ srawi r0, r0, 4 -/* 80320108 0031D068 7C A0 01 94 */ addze r5, r0 -/* 8032010C 0031D06C 2C 05 00 01 */ cmpwi r5, 1 -/* 80320110 0031D070 40 81 01 24 */ ble lbl_80320234 -/* 80320114 0031D074 2C 05 00 14 */ cmpwi r5, 0x14 -/* 80320118 0031D078 41 81 00 18 */ bgt lbl_80320130 -/* 8032011C 0031D07C 88 1F 00 00 */ lbz r0, 0(r31) -/* 80320120 0031D080 38 A1 00 14 */ addi r5, r1, 0x14 -/* 80320124 0031D084 98 01 00 14 */ stb r0, 0x14(r1) -/* 80320128 0031D088 48 00 07 05 */ bl sub_8032082c -/* 8032012C 0031D08C 48 00 01 08 */ b lbl_80320234 -lbl_80320130: -/* 80320130 0031D090 54 A4 0F FE */ srwi r4, r5, 0x1f -/* 80320134 0031D094 88 1F 00 00 */ lbz r0, 0(r31) -/* 80320138 0031D098 7C 84 2A 14 */ add r4, r4, r5 -/* 8032013C 0031D09C 3B 7E FF F0 */ addi r27, r30, -16 -/* 80320140 0031D0A0 7C 84 0E 70 */ srawi r4, r4, 1 -/* 80320144 0031D0A4 98 01 00 10 */ stb r0, 0x10(r1) -/* 80320148 0031D0A8 54 80 20 36 */ slwi r0, r4, 4 -/* 8032014C 0031D0AC 7F 65 DB 78 */ mr r5, r27 -/* 80320150 0031D0B0 7F 9D 02 14 */ add r28, r29, r0 -/* 80320154 0031D0B4 38 C1 00 10 */ addi r6, r1, 0x10 -/* 80320158 0031D0B8 7F 84 E3 78 */ mr r4, r28 -/* 8032015C 0031D0BC 48 00 09 DD */ bl sub_80320b38 -/* 80320160 0031D0C0 C0 7C 00 08 */ lfs f3, 8(r28) -/* 80320164 0031D0C4 3B 9D 00 10 */ addi r28, r29, 0x10 -/* 80320168 0031D0C8 3B 7B FF F0 */ addi r27, r27, -16 -/* 8032016C 0031D0CC 48 00 00 08 */ b lbl_80320174 -lbl_80320170: -/* 80320170 0031D0D0 3B 9C 00 10 */ addi r28, r28, 0x10 -lbl_80320174: -/* 80320174 0031D0D4 C0 1C 00 08 */ lfs f0, 8(r28) -/* 80320178 0031D0D8 FC 00 18 40 */ fcmpo cr0, f0, f3 -/* 8032017C 0031D0DC 41 81 FF F4 */ bgt lbl_80320170 -/* 80320180 0031D0E0 48 00 00 08 */ b lbl_80320188 -lbl_80320184: -/* 80320184 0031D0E4 3B 7B FF F0 */ addi r27, r27, -16 -lbl_80320188: -/* 80320188 0031D0E8 C0 1B 00 08 */ lfs f0, 8(r27) -/* 8032018C 0031D0EC FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 80320190 0031D0F0 41 81 FF F4 */ bgt lbl_80320184 -/* 80320194 0031D0F4 7C 1C D8 40 */ cmplw r28, r27 -/* 80320198 0031D0F8 40 80 00 6C */ bge lbl_80320204 -/* 8032019C 0031D0FC A0 BC 00 00 */ lhz r5, 0(r28) -/* 803201A0 0031D100 C0 5C 00 04 */ lfs f2, 4(r28) -/* 803201A4 0031D104 C0 3C 00 08 */ lfs f1, 8(r28) -/* 803201A8 0031D108 C0 1C 00 0C */ lfs f0, 0xc(r28) -/* 803201AC 0031D10C A0 1B 00 00 */ lhz r0, 0(r27) -/* 803201B0 0031D110 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 803201B4 0031D114 B0 1C 00 00 */ sth r0, 0(r28) -/* 803201B8 0031D118 80 81 00 1C */ lwz r4, 0x1c(r1) -/* 803201BC 0031D11C 80 7B 00 04 */ lwz r3, 4(r27) -/* 803201C0 0031D120 80 1B 00 08 */ lwz r0, 8(r27) -/* 803201C4 0031D124 D0 21 00 20 */ stfs f1, 0x20(r1) -/* 803201C8 0031D128 90 7C 00 04 */ stw r3, 4(r28) -/* 803201CC 0031D12C 80 61 00 20 */ lwz r3, 0x20(r1) -/* 803201D0 0031D130 90 1C 00 08 */ stw r0, 8(r28) -/* 803201D4 0031D134 80 1B 00 0C */ lwz r0, 0xc(r27) -/* 803201D8 0031D138 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 803201DC 0031D13C 90 1C 00 0C */ stw r0, 0xc(r28) -/* 803201E0 0031D140 3B 9C 00 10 */ addi r28, r28, 0x10 -/* 803201E4 0031D144 80 01 00 24 */ lwz r0, 0x24(r1) -/* 803201E8 0031D148 B0 BB 00 00 */ sth r5, 0(r27) -/* 803201EC 0031D14C 90 9B 00 04 */ stw r4, 4(r27) -/* 803201F0 0031D150 90 7B 00 08 */ stw r3, 8(r27) -/* 803201F4 0031D154 90 1B 00 0C */ stw r0, 0xc(r27) -/* 803201F8 0031D158 3B 7B FF F0 */ addi r27, r27, -16 -/* 803201FC 0031D15C B0 A1 00 18 */ sth r5, 0x18(r1) -/* 80320200 0031D160 4B FF FF 74 */ b lbl_80320174 -lbl_80320204: -/* 80320204 0031D164 88 1F 00 00 */ lbz r0, 0(r31) -/* 80320208 0031D168 7F A3 EB 78 */ mr r3, r29 -/* 8032020C 0031D16C 7F 84 E3 78 */ mr r4, r28 -/* 80320210 0031D170 38 A1 00 0C */ addi r5, r1, 0xc -/* 80320214 0031D174 98 01 00 0C */ stb r0, 0xc(r1) -/* 80320218 0031D178 4B FF FE CD */ bl sub_803200e4 -/* 8032021C 0031D17C 88 1F 00 00 */ lbz r0, 0(r31) -/* 80320220 0031D180 7F 83 E3 78 */ mr r3, r28 -/* 80320224 0031D184 7F C4 F3 78 */ mr r4, r30 -/* 80320228 0031D188 38 A1 00 08 */ addi r5, r1, 8 -/* 8032022C 0031D18C 98 01 00 08 */ stb r0, 8(r1) -/* 80320230 0031D190 4B FF FE B5 */ bl sub_803200e4 -lbl_80320234: -/* 80320234 0031D194 BB 61 00 2C */ lmw r27, 0x2c(r1) -/* 80320238 0031D198 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8032023C 0031D19C 7C 08 03 A6 */ mtlr r0 -/* 80320240 0031D1A0 38 21 00 40 */ addi r1, r1, 0x40 -/* 80320244 0031D1A4 4E 80 00 20 */ blr - -.global sub_80320248 -sub_80320248: -/* 80320248 0031D1A8 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8032024C 0031D1AC 7C 08 02 A6 */ mflr r0 -/* 80320250 0031D1B0 90 01 00 44 */ stw r0, 0x44(r1) -/* 80320254 0031D1B4 BF 61 00 2C */ stmw r27, 0x2c(r1) -/* 80320258 0031D1B8 7C 7C 1B 78 */ mr r28, r3 -/* 8032025C 0031D1BC 7C 9D 23 78 */ mr r29, r4 -/* 80320260 0031D1C0 7C BE 2B 78 */ mr r30, r5 -/* 80320264 0031D1C4 7C 1C E8 50 */ subf r0, r28, r29 -/* 80320268 0031D1C8 7C 00 26 70 */ srawi r0, r0, 4 -/* 8032026C 0031D1CC 7C A0 01 94 */ addze r5, r0 -/* 80320270 0031D1D0 2C 05 00 01 */ cmpwi r5, 1 -/* 80320274 0031D1D4 40 81 01 38 */ ble lbl_803203AC -/* 80320278 0031D1D8 2C 05 00 14 */ cmpwi r5, 0x14 -/* 8032027C 0031D1DC 41 81 00 18 */ bgt lbl_80320294 -/* 80320280 0031D1E0 88 1E 00 00 */ lbz r0, 0(r30) -/* 80320284 0031D1E4 38 A1 00 14 */ addi r5, r1, 0x14 -/* 80320288 0031D1E8 98 01 00 14 */ stb r0, 0x14(r1) -/* 8032028C 0031D1EC 48 00 06 59 */ bl sub_803208e4 -/* 80320290 0031D1F0 48 00 01 1C */ b lbl_803203AC -lbl_80320294: -/* 80320294 0031D1F4 54 A4 0F FE */ srwi r4, r5, 0x1f -/* 80320298 0031D1F8 88 1E 00 00 */ lbz r0, 0(r30) -/* 8032029C 0031D1FC 7C 84 2A 14 */ add r4, r4, r5 -/* 803202A0 0031D200 3B FD FF F0 */ addi r31, r29, -16 -/* 803202A4 0031D204 7C 84 0E 70 */ srawi r4, r4, 1 -/* 803202A8 0031D208 98 01 00 10 */ stb r0, 0x10(r1) -/* 803202AC 0031D20C 54 80 20 36 */ slwi r0, r4, 4 -/* 803202B0 0031D210 7F E5 FB 78 */ mr r5, r31 -/* 803202B4 0031D214 7F 7C 02 14 */ add r27, r28, r0 -/* 803202B8 0031D218 38 C1 00 10 */ addi r6, r1, 0x10 -/* 803202BC 0031D21C 7F 64 DB 78 */ mr r4, r27 -/* 803202C0 0031D220 48 00 06 F5 */ bl sub_803209b4 -/* 803202C4 0031D224 C0 7B 00 08 */ lfs f3, 8(r27) -/* 803202C8 0031D228 3B 7C 00 10 */ addi r27, r28, 0x10 -/* 803202CC 0031D22C 3B FF FF F0 */ addi r31, r31, -16 -/* 803202D0 0031D230 48 00 00 08 */ b lbl_803202D8 -lbl_803202D4: -/* 803202D4 0031D234 3B 7B 00 10 */ addi r27, r27, 0x10 -lbl_803202D8: -/* 803202D8 0031D238 C0 1B 00 08 */ lfs f0, 8(r27) -/* 803202DC 0031D23C FC 00 18 40 */ fcmpo cr0, f0, f3 -/* 803202E0 0031D240 41 81 FF F4 */ bgt lbl_803202D4 -/* 803202E4 0031D244 48 00 00 08 */ b lbl_803202EC -lbl_803202E8: -/* 803202E8 0031D248 3B FF FF F0 */ addi r31, r31, -16 -lbl_803202EC: -/* 803202EC 0031D24C C0 1F 00 08 */ lfs f0, 8(r31) -/* 803202F0 0031D250 FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 803202F4 0031D254 41 81 FF F4 */ bgt lbl_803202E8 -/* 803202F8 0031D258 7C 1B F8 40 */ cmplw r27, r31 -/* 803202FC 0031D25C 40 80 00 80 */ bge lbl_8032037C -/* 80320300 0031D260 A0 FB 00 00 */ lhz r7, 0(r27) -/* 80320304 0031D264 A0 DB 00 02 */ lhz r6, 2(r27) -/* 80320308 0031D268 C0 5B 00 04 */ lfs f2, 4(r27) -/* 8032030C 0031D26C C0 3B 00 08 */ lfs f1, 8(r27) -/* 80320310 0031D270 C0 1B 00 0C */ lfs f0, 0xc(r27) -/* 80320314 0031D274 A0 1F 00 00 */ lhz r0, 0(r31) -/* 80320318 0031D278 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 8032031C 0031D27C B0 1B 00 00 */ sth r0, 0(r27) -/* 80320320 0031D280 80 81 00 1C */ lwz r4, 0x1c(r1) -/* 80320324 0031D284 A0 1F 00 02 */ lhz r0, 2(r31) -/* 80320328 0031D288 D0 21 00 20 */ stfs f1, 0x20(r1) -/* 8032032C 0031D28C B0 1B 00 02 */ sth r0, 2(r27) -/* 80320330 0031D290 80 61 00 20 */ lwz r3, 0x20(r1) -/* 80320334 0031D294 80 1F 00 04 */ lwz r0, 4(r31) -/* 80320338 0031D298 80 BF 00 08 */ lwz r5, 8(r31) -/* 8032033C 0031D29C D0 01 00 24 */ stfs f0, 0x24(r1) -/* 80320340 0031D2A0 90 1B 00 04 */ stw r0, 4(r27) -/* 80320344 0031D2A4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80320348 0031D2A8 90 BB 00 08 */ stw r5, 8(r27) -/* 8032034C 0031D2AC 80 BF 00 0C */ lwz r5, 0xc(r31) -/* 80320350 0031D2B0 B0 E1 00 18 */ sth r7, 0x18(r1) -/* 80320354 0031D2B4 90 BB 00 0C */ stw r5, 0xc(r27) -/* 80320358 0031D2B8 3B 7B 00 10 */ addi r27, r27, 0x10 -/* 8032035C 0031D2BC B0 FF 00 00 */ sth r7, 0(r31) -/* 80320360 0031D2C0 B0 DF 00 02 */ sth r6, 2(r31) -/* 80320364 0031D2C4 90 9F 00 04 */ stw r4, 4(r31) -/* 80320368 0031D2C8 90 7F 00 08 */ stw r3, 8(r31) -/* 8032036C 0031D2CC 90 1F 00 0C */ stw r0, 0xc(r31) -/* 80320370 0031D2D0 3B FF FF F0 */ addi r31, r31, -16 -/* 80320374 0031D2D4 B0 C1 00 1A */ sth r6, 0x1a(r1) -/* 80320378 0031D2D8 4B FF FF 60 */ b lbl_803202D8 -lbl_8032037C: -/* 8032037C 0031D2DC 88 1E 00 00 */ lbz r0, 0(r30) -/* 80320380 0031D2E0 7F 83 E3 78 */ mr r3, r28 -/* 80320384 0031D2E4 7F 64 DB 78 */ mr r4, r27 -/* 80320388 0031D2E8 38 A1 00 0C */ addi r5, r1, 0xc -/* 8032038C 0031D2EC 98 01 00 0C */ stb r0, 0xc(r1) -/* 80320390 0031D2F0 4B FF FE B9 */ bl sub_80320248 -/* 80320394 0031D2F4 88 1E 00 00 */ lbz r0, 0(r30) -/* 80320398 0031D2F8 7F 63 DB 78 */ mr r3, r27 -/* 8032039C 0031D2FC 7F A4 EB 78 */ mr r4, r29 -/* 803203A0 0031D300 38 A1 00 08 */ addi r5, r1, 8 -/* 803203A4 0031D304 98 01 00 08 */ stb r0, 8(r1) -/* 803203A8 0031D308 4B FF FE A1 */ bl sub_80320248 -lbl_803203AC: -/* 803203AC 0031D30C BB 61 00 2C */ lmw r27, 0x2c(r1) -/* 803203B0 0031D310 80 01 00 44 */ lwz r0, 0x44(r1) -/* 803203B4 0031D314 7C 08 03 A6 */ mtlr r0 -/* 803203B8 0031D318 38 21 00 40 */ addi r1, r1, 0x40 -/* 803203BC 0031D31C 4E 80 00 20 */ blr - -.global sub_803203c0 -sub_803203c0: -/* 803203C0 0031D320 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 803203C4 0031D324 7C 08 02 A6 */ mflr r0 -/* 803203C8 0031D328 90 01 00 34 */ stw r0, 0x34(r1) -/* 803203CC 0031D32C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 803203D0 0031D330 7C 9F 23 78 */ mr r31, r4 -/* 803203D4 0031D334 93 C1 00 28 */ stw r30, 0x28(r1) -/* 803203D8 0031D338 7C 7E 1B 78 */ mr r30, r3 -/* 803203DC 0031D33C 93 A1 00 24 */ stw r29, 0x24(r1) -/* 803203E0 0031D340 80 03 00 08 */ lwz r0, 8(r3) -/* 803203E4 0031D344 7C 1F 00 00 */ cmpw r31, r0 -/* 803203E8 0031D348 40 81 00 98 */ ble lbl_80320480 -/* 803203EC 0031D34C 1C 7F 00 38 */ mulli r3, r31, 0x38 -/* 803203F0 0031D350 2C 03 00 00 */ cmpwi r3, 0 -/* 803203F4 0031D354 40 82 00 0C */ bne lbl_80320400 -/* 803203F8 0031D358 3B A0 00 00 */ li r29, 0 -/* 803203FC 0031D35C 48 00 00 18 */ b lbl_80320414 -lbl_80320400: -/* 80320400 0031D360 3C 80 80 3D */ lis r4, lbl_803D7910@ha -/* 80320404 0031D364 38 A0 00 00 */ li r5, 0 -/* 80320408 0031D368 38 84 79 10 */ addi r4, r4, lbl_803D7910@l -/* 8032040C 0031D36C 4B FF 54 0D */ bl __nwa__FUlPCcPCc -/* 80320410 0031D370 7C 7D 1B 78 */ mr r29, r3 -lbl_80320414: -/* 80320414 0031D374 80 1E 00 04 */ lwz r0, 4(r30) -/* 80320418 0031D378 7F A5 EB 78 */ mr r5, r29 -/* 8032041C 0031D37C 80 DE 00 0C */ lwz r6, 0xc(r30) -/* 80320420 0031D380 38 61 00 14 */ addi r3, r1, 0x14 -/* 80320424 0031D384 1C 00 00 38 */ mulli r0, r0, 0x38 -/* 80320428 0031D388 38 81 00 0C */ addi r4, r1, 0xc -/* 8032042C 0031D38C 7C C6 02 14 */ add r6, r6, r0 -/* 80320430 0031D390 90 C1 00 0C */ stw r6, 0xc(r1) -/* 80320434 0031D394 80 1E 00 0C */ lwz r0, 0xc(r30) -/* 80320438 0031D398 90 C1 00 08 */ stw r6, 8(r1) -/* 8032043C 0031D39C 90 01 00 10 */ stw r0, 0x10(r1) -/* 80320440 0031D3A0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80320444 0031D3A4 48 00 00 59 */ bl sub_8032049c -/* 80320448 0031D3A8 80 1E 00 04 */ lwz r0, 4(r30) -/* 8032044C 0031D3AC 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 80320450 0031D3B0 1C 00 00 38 */ mulli r0, r0, 0x38 -/* 80320454 0031D3B4 7C 64 1B 78 */ mr r4, r3 -/* 80320458 0031D3B8 7C 03 02 14 */ add r0, r3, r0 -/* 8032045C 0031D3BC 48 00 00 08 */ b lbl_80320464 -lbl_80320460: -/* 80320460 0031D3C0 38 84 00 38 */ addi r4, r4, 0x38 -lbl_80320464: -/* 80320464 0031D3C4 7C 04 00 40 */ cmplw r4, r0 -/* 80320468 0031D3C8 40 82 FF F8 */ bne lbl_80320460 -/* 8032046C 0031D3CC 28 03 00 00 */ cmplwi r3, 0 -/* 80320470 0031D3D0 41 82 00 08 */ beq lbl_80320478 -/* 80320474 0031D3D4 4B FF 54 BD */ bl Free__7CMemoryFPCv -lbl_80320478: -/* 80320478 0031D3D8 93 BE 00 0C */ stw r29, 0xc(r30) -/* 8032047C 0031D3DC 93 FE 00 08 */ stw r31, 8(r30) -lbl_80320480: -/* 80320480 0031D3E0 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80320484 0031D3E4 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80320488 0031D3E8 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8032048C 0031D3EC 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80320490 0031D3F0 7C 08 03 A6 */ mtlr r0 -/* 80320494 0031D3F4 38 21 00 30 */ addi r1, r1, 0x30 -/* 80320498 0031D3F8 4E 80 00 20 */ blr - -.global sub_8032049c -sub_8032049c: -/* 8032049C 0031D3FC 80 63 00 00 */ lwz r3, 0(r3) -/* 803204A0 0031D400 48 00 00 84 */ b lbl_80320524 -lbl_803204A4: -/* 803204A4 0031D404 28 05 00 00 */ cmplwi r5, 0 -/* 803204A8 0031D408 41 82 00 74 */ beq lbl_8032051C -/* 803204AC 0031D40C 80 03 00 00 */ lwz r0, 0(r3) -/* 803204B0 0031D410 90 05 00 00 */ stw r0, 0(r5) -/* 803204B4 0031D414 C0 03 00 04 */ lfs f0, 4(r3) -/* 803204B8 0031D418 D0 05 00 04 */ stfs f0, 4(r5) -/* 803204BC 0031D41C C0 03 00 08 */ lfs f0, 8(r3) -/* 803204C0 0031D420 D0 05 00 08 */ stfs f0, 8(r5) -/* 803204C4 0031D424 C0 03 00 0C */ lfs f0, 0xc(r3) -/* 803204C8 0031D428 D0 05 00 0C */ stfs f0, 0xc(r5) -/* 803204CC 0031D42C C0 03 00 10 */ lfs f0, 0x10(r3) -/* 803204D0 0031D430 D0 05 00 10 */ stfs f0, 0x10(r5) -/* 803204D4 0031D434 C0 03 00 14 */ lfs f0, 0x14(r3) -/* 803204D8 0031D438 D0 05 00 14 */ stfs f0, 0x14(r5) -/* 803204DC 0031D43C C0 03 00 18 */ lfs f0, 0x18(r3) -/* 803204E0 0031D440 D0 05 00 18 */ stfs f0, 0x18(r5) -/* 803204E4 0031D444 C0 03 00 1C */ lfs f0, 0x1c(r3) -/* 803204E8 0031D448 D0 05 00 1C */ stfs f0, 0x1c(r5) -/* 803204EC 0031D44C C0 03 00 20 */ lfs f0, 0x20(r3) -/* 803204F0 0031D450 D0 05 00 20 */ stfs f0, 0x20(r5) -/* 803204F4 0031D454 C0 03 00 24 */ lfs f0, 0x24(r3) -/* 803204F8 0031D458 D0 05 00 24 */ stfs f0, 0x24(r5) -/* 803204FC 0031D45C 80 03 00 28 */ lwz r0, 0x28(r3) -/* 80320500 0031D460 90 05 00 28 */ stw r0, 0x28(r5) -/* 80320504 0031D464 C0 03 00 2C */ lfs f0, 0x2c(r3) -/* 80320508 0031D468 D0 05 00 2C */ stfs f0, 0x2c(r5) -/* 8032050C 0031D46C C0 03 00 30 */ lfs f0, 0x30(r3) -/* 80320510 0031D470 D0 05 00 30 */ stfs f0, 0x30(r5) -/* 80320514 0031D474 80 03 00 34 */ lwz r0, 0x34(r3) -/* 80320518 0031D478 90 05 00 34 */ stw r0, 0x34(r5) -lbl_8032051C: -/* 8032051C 0031D47C 38 A5 00 38 */ addi r5, r5, 0x38 -/* 80320520 0031D480 38 63 00 38 */ addi r3, r3, 0x38 -lbl_80320524: -/* 80320524 0031D484 80 04 00 00 */ lwz r0, 0(r4) -/* 80320528 0031D488 7C 03 00 40 */ cmplw r3, r0 -/* 8032052C 0031D48C 40 82 FF 78 */ bne lbl_803204A4 -/* 80320530 0031D490 7C A3 2B 78 */ mr r3, r5 -/* 80320534 0031D494 4E 80 00 20 */ blr - -.global sub_80320538 -sub_80320538: -/* 80320538 0031D498 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8032053C 0031D49C 7C 08 02 A6 */ mflr r0 -/* 80320540 0031D4A0 90 01 00 34 */ stw r0, 0x34(r1) -/* 80320544 0031D4A4 BF 41 00 18 */ stmw r26, 0x18(r1) -/* 80320548 0031D4A8 7C 9F 23 78 */ mr r31, r4 -/* 8032054C 0031D4AC 7C 7E 1B 78 */ mr r30, r3 -/* 80320550 0031D4B0 80 03 00 08 */ lwz r0, 8(r3) -/* 80320554 0031D4B4 7C 1F 00 00 */ cmpw r31, r0 -/* 80320558 0031D4B8 40 81 00 B0 */ ble lbl_80320608 -/* 8032055C 0031D4BC 1C 7F 00 24 */ mulli r3, r31, 0x24 -/* 80320560 0031D4C0 2C 03 00 00 */ cmpwi r3, 0 -/* 80320564 0031D4C4 40 82 00 0C */ bne lbl_80320570 -/* 80320568 0031D4C8 3B 80 00 00 */ li r28, 0 -/* 8032056C 0031D4CC 48 00 00 18 */ b lbl_80320584 -lbl_80320570: -/* 80320570 0031D4D0 3C 80 80 3D */ lis r4, lbl_803D7910@ha -/* 80320574 0031D4D4 38 A0 00 00 */ li r5, 0 -/* 80320578 0031D4D8 38 84 79 10 */ addi r4, r4, lbl_803D7910@l -/* 8032057C 0031D4DC 4B FF 52 9D */ bl __nwa__FUlPCcPCc -/* 80320580 0031D4E0 7C 7C 1B 78 */ mr r28, r3 -lbl_80320584: -/* 80320584 0031D4E4 80 1E 00 04 */ lwz r0, 4(r30) -/* 80320588 0031D4E8 7F 9B E3 78 */ mr r27, r28 -/* 8032058C 0031D4EC 83 5E 00 0C */ lwz r26, 0xc(r30) -/* 80320590 0031D4F0 1C 00 00 24 */ mulli r0, r0, 0x24 -/* 80320594 0031D4F4 93 41 00 10 */ stw r26, 0x10(r1) -/* 80320598 0031D4F8 7F BA 02 14 */ add r29, r26, r0 -/* 8032059C 0031D4FC 93 41 00 14 */ stw r26, 0x14(r1) -/* 803205A0 0031D500 93 A1 00 08 */ stw r29, 8(r1) -/* 803205A4 0031D504 93 A1 00 0C */ stw r29, 0xc(r1) -/* 803205A8 0031D508 48 00 00 20 */ b lbl_803205C8 -lbl_803205AC: -/* 803205AC 0031D50C 28 1B 00 00 */ cmplwi r27, 0 -/* 803205B0 0031D510 41 82 00 10 */ beq lbl_803205C0 -/* 803205B4 0031D514 7F 63 DB 78 */ mr r3, r27 -/* 803205B8 0031D518 7F 44 D3 78 */ mr r4, r26 -/* 803205BC 0031D51C 4B FE FA 69 */ bl __ct__9CMatrix3fFRC9CMatrix3f -lbl_803205C0: -/* 803205C0 0031D520 3B 7B 00 24 */ addi r27, r27, 0x24 -/* 803205C4 0031D524 3B 5A 00 24 */ addi r26, r26, 0x24 -lbl_803205C8: -/* 803205C8 0031D528 7C 1A E8 40 */ cmplw r26, r29 -/* 803205CC 0031D52C 40 82 FF E0 */ bne lbl_803205AC -/* 803205D0 0031D530 80 1E 00 04 */ lwz r0, 4(r30) -/* 803205D4 0031D534 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 803205D8 0031D538 1C 00 00 24 */ mulli r0, r0, 0x24 -/* 803205DC 0031D53C 7C 64 1B 78 */ mr r4, r3 -/* 803205E0 0031D540 7C 03 02 14 */ add r0, r3, r0 -/* 803205E4 0031D544 48 00 00 08 */ b lbl_803205EC -lbl_803205E8: -/* 803205E8 0031D548 38 84 00 24 */ addi r4, r4, 0x24 -lbl_803205EC: -/* 803205EC 0031D54C 7C 04 00 40 */ cmplw r4, r0 -/* 803205F0 0031D550 40 82 FF F8 */ bne lbl_803205E8 -/* 803205F4 0031D554 28 03 00 00 */ cmplwi r3, 0 -/* 803205F8 0031D558 41 82 00 08 */ beq lbl_80320600 -/* 803205FC 0031D55C 4B FF 53 35 */ bl Free__7CMemoryFPCv -lbl_80320600: -/* 80320600 0031D560 93 9E 00 0C */ stw r28, 0xc(r30) -/* 80320604 0031D564 93 FE 00 08 */ stw r31, 8(r30) -lbl_80320608: -/* 80320608 0031D568 BB 41 00 18 */ lmw r26, 0x18(r1) -/* 8032060C 0031D56C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80320610 0031D570 7C 08 03 A6 */ mtlr r0 -/* 80320614 0031D574 38 21 00 30 */ addi r1, r1, 0x30 -/* 80320618 0031D578 4E 80 00 20 */ blr - -.global "reserve__Q24rstl69vectorFi" -"reserve__Q24rstl69vectorFi": -/* 8032061C 0031D57C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80320620 0031D580 7C 08 02 A6 */ mflr r0 -/* 80320624 0031D584 90 01 00 34 */ stw r0, 0x34(r1) -/* 80320628 0031D588 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8032062C 0031D58C 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80320630 0031D590 7C 9E 23 78 */ mr r30, r4 -/* 80320634 0031D594 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80320638 0031D598 7C 7D 1B 78 */ mr r29, r3 -/* 8032063C 0031D59C 80 03 00 08 */ lwz r0, 8(r3) -/* 80320640 0031D5A0 7C 1E 00 00 */ cmpw r30, r0 -/* 80320644 0031D5A4 40 81 00 E0 */ ble lbl_80320724 -/* 80320648 0031D5A8 57 C3 28 35 */ rlwinm. r3, r30, 5, 0, 0x1a -/* 8032064C 0031D5AC 40 82 00 0C */ bne lbl_80320658 -/* 80320650 0031D5B0 3B E0 00 00 */ li r31, 0 -/* 80320654 0031D5B4 48 00 00 18 */ b lbl_8032066C -lbl_80320658: -/* 80320658 0031D5B8 3C 80 80 3D */ lis r4, lbl_803D7910@ha -/* 8032065C 0031D5BC 38 A0 00 00 */ li r5, 0 -/* 80320660 0031D5C0 38 84 79 10 */ addi r4, r4, lbl_803D7910@l -/* 80320664 0031D5C4 4B FF 51 B5 */ bl __nwa__FUlPCcPCc -/* 80320668 0031D5C8 7C 7F 1B 78 */ mr r31, r3 -lbl_8032066C: -/* 8032066C 0031D5CC 80 1D 00 04 */ lwz r0, 4(r29) -/* 80320670 0031D5D0 7F E5 FB 78 */ mr r5, r31 -/* 80320674 0031D5D4 80 DD 00 0C */ lwz r6, 0xc(r29) -/* 80320678 0031D5D8 54 00 28 34 */ slwi r0, r0, 5 -/* 8032067C 0031D5DC 7C 86 02 14 */ add r4, r6, r0 -/* 80320680 0031D5E0 90 C1 00 10 */ stw r6, 0x10(r1) -/* 80320684 0031D5E4 90 81 00 08 */ stw r4, 8(r1) -/* 80320688 0031D5E8 90 81 00 0C */ stw r4, 0xc(r1) -/* 8032068C 0031D5EC 90 C1 00 14 */ stw r6, 0x14(r1) -/* 80320690 0031D5F0 48 00 00 54 */ b lbl_803206E4 -lbl_80320694: -/* 80320694 0031D5F4 28 05 00 00 */ cmplwi r5, 0 -/* 80320698 0031D5F8 41 82 00 44 */ beq lbl_803206DC -/* 8032069C 0031D5FC 80 66 00 00 */ lwz r3, 0(r6) -/* 803206A0 0031D600 80 06 00 04 */ lwz r0, 4(r6) -/* 803206A4 0031D604 90 65 00 00 */ stw r3, 0(r5) -/* 803206A8 0031D608 90 05 00 04 */ stw r0, 4(r5) -/* 803206AC 0031D60C 80 66 00 08 */ lwz r3, 8(r6) -/* 803206B0 0031D610 80 06 00 0C */ lwz r0, 0xc(r6) -/* 803206B4 0031D614 90 65 00 08 */ stw r3, 8(r5) -/* 803206B8 0031D618 90 05 00 0C */ stw r0, 0xc(r5) -/* 803206BC 0031D61C 80 66 00 10 */ lwz r3, 0x10(r6) -/* 803206C0 0031D620 80 06 00 14 */ lwz r0, 0x14(r6) -/* 803206C4 0031D624 90 65 00 10 */ stw r3, 0x10(r5) -/* 803206C8 0031D628 90 05 00 14 */ stw r0, 0x14(r5) -/* 803206CC 0031D62C 80 66 00 18 */ lwz r3, 0x18(r6) -/* 803206D0 0031D630 80 06 00 1C */ lwz r0, 0x1c(r6) -/* 803206D4 0031D634 90 65 00 18 */ stw r3, 0x18(r5) -/* 803206D8 0031D638 90 05 00 1C */ stw r0, 0x1c(r5) -lbl_803206DC: -/* 803206DC 0031D63C 38 A5 00 20 */ addi r5, r5, 0x20 -/* 803206E0 0031D640 38 C6 00 20 */ addi r6, r6, 0x20 -lbl_803206E4: -/* 803206E4 0031D644 7C 06 20 40 */ cmplw r6, r4 -/* 803206E8 0031D648 40 82 FF AC */ bne lbl_80320694 -/* 803206EC 0031D64C 80 1D 00 04 */ lwz r0, 4(r29) -/* 803206F0 0031D650 80 7D 00 0C */ lwz r3, 0xc(r29) -/* 803206F4 0031D654 54 00 28 34 */ slwi r0, r0, 5 -/* 803206F8 0031D658 7C 64 1B 78 */ mr r4, r3 -/* 803206FC 0031D65C 7C 03 02 14 */ add r0, r3, r0 -/* 80320700 0031D660 48 00 00 08 */ b lbl_80320708 -lbl_80320704: -/* 80320704 0031D664 38 84 00 20 */ addi r4, r4, 0x20 -lbl_80320708: -/* 80320708 0031D668 7C 04 00 40 */ cmplw r4, r0 -/* 8032070C 0031D66C 40 82 FF F8 */ bne lbl_80320704 -/* 80320710 0031D670 28 03 00 00 */ cmplwi r3, 0 -/* 80320714 0031D674 41 82 00 08 */ beq lbl_8032071C -/* 80320718 0031D678 4B FF 52 19 */ bl Free__7CMemoryFPCv -lbl_8032071C: -/* 8032071C 0031D67C 93 FD 00 0C */ stw r31, 0xc(r29) -/* 80320720 0031D680 93 DD 00 08 */ stw r30, 8(r29) -lbl_80320724: -/* 80320724 0031D684 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80320728 0031D688 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8032072C 0031D68C 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80320730 0031D690 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80320734 0031D694 7C 08 03 A6 */ mtlr r0 -/* 80320738 0031D698 38 21 00 30 */ addi r1, r1, 0x30 -/* 8032073C 0031D69C 4E 80 00 20 */ blr - -.global sub_80320740 -sub_80320740: -/* 80320740 0031D6A0 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80320744 0031D6A4 7C 08 02 A6 */ mflr r0 -/* 80320748 0031D6A8 90 01 00 34 */ stw r0, 0x34(r1) -/* 8032074C 0031D6AC 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80320750 0031D6B0 7C 9F 23 78 */ mr r31, r4 -/* 80320754 0031D6B4 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80320758 0031D6B8 7C 7E 1B 78 */ mr r30, r3 -/* 8032075C 0031D6BC 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80320760 0031D6C0 80 03 00 08 */ lwz r0, 8(r3) -/* 80320764 0031D6C4 7C 1F 00 00 */ cmpw r31, r0 -/* 80320768 0031D6C8 40 81 00 A8 */ ble lbl_80320810 -/* 8032076C 0031D6CC 57 E3 10 3B */ rlwinm. r3, r31, 2, 0, 0x1d -/* 80320770 0031D6D0 40 82 00 0C */ bne lbl_8032077C -/* 80320774 0031D6D4 3B A0 00 00 */ li r29, 0 -/* 80320778 0031D6D8 48 00 00 18 */ b lbl_80320790 -lbl_8032077C: -/* 8032077C 0031D6DC 3C 80 80 3D */ lis r4, lbl_803D7910@ha -/* 80320780 0031D6E0 38 A0 00 00 */ li r5, 0 -/* 80320784 0031D6E4 38 84 79 10 */ addi r4, r4, lbl_803D7910@l -/* 80320788 0031D6E8 4B FF 50 91 */ bl __nwa__FUlPCcPCc -/* 8032078C 0031D6EC 7C 7D 1B 78 */ mr r29, r3 -lbl_80320790: -/* 80320790 0031D6F0 80 1E 00 04 */ lwz r0, 4(r30) -/* 80320794 0031D6F4 7F A4 EB 78 */ mr r4, r29 -/* 80320798 0031D6F8 80 BE 00 0C */ lwz r5, 0xc(r30) -/* 8032079C 0031D6FC 54 00 10 3A */ slwi r0, r0, 2 -/* 803207A0 0031D700 7C 65 02 14 */ add r3, r5, r0 -/* 803207A4 0031D704 90 A1 00 10 */ stw r5, 0x10(r1) -/* 803207A8 0031D708 90 61 00 08 */ stw r3, 8(r1) -/* 803207AC 0031D70C 90 61 00 0C */ stw r3, 0xc(r1) -/* 803207B0 0031D710 90 A1 00 14 */ stw r5, 0x14(r1) -/* 803207B4 0031D714 48 00 00 1C */ b lbl_803207D0 -lbl_803207B8: -/* 803207B8 0031D718 28 04 00 00 */ cmplwi r4, 0 -/* 803207BC 0031D71C 41 82 00 0C */ beq lbl_803207C8 -/* 803207C0 0031D720 80 05 00 00 */ lwz r0, 0(r5) -/* 803207C4 0031D724 90 04 00 00 */ stw r0, 0(r4) -lbl_803207C8: -/* 803207C8 0031D728 38 84 00 04 */ addi r4, r4, 4 -/* 803207CC 0031D72C 38 A5 00 04 */ addi r5, r5, 4 -lbl_803207D0: -/* 803207D0 0031D730 7C 05 18 40 */ cmplw r5, r3 -/* 803207D4 0031D734 40 82 FF E4 */ bne lbl_803207B8 -/* 803207D8 0031D738 80 1E 00 04 */ lwz r0, 4(r30) -/* 803207DC 0031D73C 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 803207E0 0031D740 54 00 10 3A */ slwi r0, r0, 2 -/* 803207E4 0031D744 7C 64 1B 78 */ mr r4, r3 -/* 803207E8 0031D748 7C 03 02 14 */ add r0, r3, r0 -/* 803207EC 0031D74C 48 00 00 08 */ b lbl_803207F4 -lbl_803207F0: -/* 803207F0 0031D750 38 84 00 04 */ addi r4, r4, 4 -lbl_803207F4: -/* 803207F4 0031D754 7C 04 00 40 */ cmplw r4, r0 -/* 803207F8 0031D758 40 82 FF F8 */ bne lbl_803207F0 -/* 803207FC 0031D75C 28 03 00 00 */ cmplwi r3, 0 -/* 80320800 0031D760 41 82 00 08 */ beq lbl_80320808 -/* 80320804 0031D764 4B FF 51 2D */ bl Free__7CMemoryFPCv -lbl_80320808: -/* 80320808 0031D768 93 BE 00 0C */ stw r29, 0xc(r30) -/* 8032080C 0031D76C 93 FE 00 08 */ stw r31, 8(r30) -lbl_80320810: -/* 80320810 0031D770 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80320814 0031D774 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80320818 0031D778 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8032081C 0031D77C 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80320820 0031D780 7C 08 03 A6 */ mtlr r0 -/* 80320824 0031D784 38 21 00 30 */ addi r1, r1, 0x30 -/* 80320828 0031D788 4E 80 00 20 */ blr - -.global sub_8032082c -sub_8032082c: -/* 8032082C 0031D78C 38 A3 00 10 */ addi r5, r3, 0x10 -/* 80320830 0031D790 38 04 00 0F */ addi r0, r4, 0xf -/* 80320834 0031D794 7C 05 00 50 */ subf r0, r5, r0 -/* 80320838 0031D798 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8032083C 0031D79C 54 00 E1 3E */ srwi r0, r0, 4 -/* 80320840 0031D7A0 7C 09 03 A6 */ mtctr r0 -/* 80320844 0031D7A4 7C 05 20 40 */ cmplw r5, r4 -/* 80320848 0031D7A8 40 80 00 94 */ bge lbl_803208DC -lbl_8032084C: -/* 8032084C 0031D7AC A0 05 00 00 */ lhz r0, 0(r5) -/* 80320850 0031D7B0 7C A7 2B 78 */ mr r7, r5 -/* 80320854 0031D7B4 C0 45 00 04 */ lfs f2, 4(r5) -/* 80320858 0031D7B8 38 C5 FF F0 */ addi r6, r5, -16 -/* 8032085C 0031D7BC C0 25 00 08 */ lfs f1, 8(r5) -/* 80320860 0031D7C0 C0 05 00 0C */ lfs f0, 0xc(r5) -/* 80320864 0031D7C4 B0 01 00 08 */ sth r0, 8(r1) -/* 80320868 0031D7C8 D0 41 00 0C */ stfs f2, 0xc(r1) -/* 8032086C 0031D7CC D0 21 00 10 */ stfs f1, 0x10(r1) -/* 80320870 0031D7D0 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 80320874 0031D7D4 48 00 00 2C */ b lbl_803208A0 -lbl_80320878: -/* 80320878 0031D7D8 A0 06 00 00 */ lhz r0, 0(r6) -/* 8032087C 0031D7DC B0 07 00 00 */ sth r0, 0(r7) -/* 80320880 0031D7E0 80 86 00 04 */ lwz r4, 4(r6) -/* 80320884 0031D7E4 80 06 00 08 */ lwz r0, 8(r6) -/* 80320888 0031D7E8 90 87 00 04 */ stw r4, 4(r7) -/* 8032088C 0031D7EC 90 07 00 08 */ stw r0, 8(r7) -/* 80320890 0031D7F0 80 06 00 0C */ lwz r0, 0xc(r6) -/* 80320894 0031D7F4 38 C6 FF F0 */ addi r6, r6, -16 -/* 80320898 0031D7F8 90 07 00 0C */ stw r0, 0xc(r7) -/* 8032089C 0031D7FC 38 E7 FF F0 */ addi r7, r7, -16 -lbl_803208A0: -/* 803208A0 0031D800 7C 03 38 40 */ cmplw r3, r7 -/* 803208A4 0031D804 40 80 00 10 */ bge lbl_803208B4 -/* 803208A8 0031D808 C0 06 00 08 */ lfs f0, 8(r6) -/* 803208AC 0031D80C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 803208B0 0031D810 41 81 FF C8 */ bgt lbl_80320878 -lbl_803208B4: -/* 803208B4 0031D814 A0 81 00 08 */ lhz r4, 8(r1) -/* 803208B8 0031D818 38 A5 00 10 */ addi r5, r5, 0x10 -/* 803208BC 0031D81C 80 01 00 0C */ lwz r0, 0xc(r1) -/* 803208C0 0031D820 B0 87 00 00 */ sth r4, 0(r7) -/* 803208C4 0031D824 80 81 00 10 */ lwz r4, 0x10(r1) -/* 803208C8 0031D828 90 07 00 04 */ stw r0, 4(r7) -/* 803208CC 0031D82C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803208D0 0031D830 90 87 00 08 */ stw r4, 8(r7) -/* 803208D4 0031D834 90 07 00 0C */ stw r0, 0xc(r7) -/* 803208D8 0031D838 42 00 FF 74 */ bdnz lbl_8032084C -lbl_803208DC: -/* 803208DC 0031D83C 38 21 00 20 */ addi r1, r1, 0x20 -/* 803208E0 0031D840 4E 80 00 20 */ blr - -.global sub_803208e4 -sub_803208e4: -/* 803208E4 0031D844 38 A3 00 10 */ addi r5, r3, 0x10 -/* 803208E8 0031D848 38 04 00 0F */ addi r0, r4, 0xf -/* 803208EC 0031D84C 7C 05 00 50 */ subf r0, r5, r0 -/* 803208F0 0031D850 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 803208F4 0031D854 54 00 E1 3E */ srwi r0, r0, 4 -/* 803208F8 0031D858 7C 09 03 A6 */ mtctr r0 -/* 803208FC 0031D85C 7C 05 20 40 */ cmplw r5, r4 -/* 80320900 0031D860 40 80 00 AC */ bge lbl_803209AC -lbl_80320904: -/* 80320904 0031D864 A0 85 00 00 */ lhz r4, 0(r5) -/* 80320908 0031D868 7C A7 2B 78 */ mr r7, r5 -/* 8032090C 0031D86C A0 05 00 02 */ lhz r0, 2(r5) -/* 80320910 0031D870 38 C5 FF F0 */ addi r6, r5, -16 -/* 80320914 0031D874 C0 45 00 04 */ lfs f2, 4(r5) -/* 80320918 0031D878 C0 25 00 08 */ lfs f1, 8(r5) -/* 8032091C 0031D87C C0 05 00 0C */ lfs f0, 0xc(r5) -/* 80320920 0031D880 B0 81 00 08 */ sth r4, 8(r1) -/* 80320924 0031D884 B0 01 00 0A */ sth r0, 0xa(r1) -/* 80320928 0031D888 D0 41 00 0C */ stfs f2, 0xc(r1) -/* 8032092C 0031D88C D0 21 00 10 */ stfs f1, 0x10(r1) -/* 80320930 0031D890 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 80320934 0031D894 48 00 00 34 */ b lbl_80320968 -lbl_80320938: -/* 80320938 0031D898 A0 06 00 00 */ lhz r0, 0(r6) -/* 8032093C 0031D89C B0 07 00 00 */ sth r0, 0(r7) -/* 80320940 0031D8A0 A0 06 00 02 */ lhz r0, 2(r6) -/* 80320944 0031D8A4 B0 07 00 02 */ sth r0, 2(r7) -/* 80320948 0031D8A8 80 86 00 04 */ lwz r4, 4(r6) -/* 8032094C 0031D8AC 80 06 00 08 */ lwz r0, 8(r6) -/* 80320950 0031D8B0 90 87 00 04 */ stw r4, 4(r7) -/* 80320954 0031D8B4 90 07 00 08 */ stw r0, 8(r7) -/* 80320958 0031D8B8 80 06 00 0C */ lwz r0, 0xc(r6) -/* 8032095C 0031D8BC 38 C6 FF F0 */ addi r6, r6, -16 -/* 80320960 0031D8C0 90 07 00 0C */ stw r0, 0xc(r7) -/* 80320964 0031D8C4 38 E7 FF F0 */ addi r7, r7, -16 -lbl_80320968: -/* 80320968 0031D8C8 7C 03 38 40 */ cmplw r3, r7 -/* 8032096C 0031D8CC 40 80 00 10 */ bge lbl_8032097C -/* 80320970 0031D8D0 C0 06 00 08 */ lfs f0, 8(r6) -/* 80320974 0031D8D4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80320978 0031D8D8 41 81 FF C0 */ bgt lbl_80320938 -lbl_8032097C: -/* 8032097C 0031D8DC A0 01 00 08 */ lhz r0, 8(r1) -/* 80320980 0031D8E0 38 A5 00 10 */ addi r5, r5, 0x10 -/* 80320984 0031D8E4 A0 81 00 0A */ lhz r4, 0xa(r1) -/* 80320988 0031D8E8 B0 07 00 00 */ sth r0, 0(r7) -/* 8032098C 0031D8EC 80 01 00 0C */ lwz r0, 0xc(r1) -/* 80320990 0031D8F0 B0 87 00 02 */ sth r4, 2(r7) -/* 80320994 0031D8F4 80 81 00 10 */ lwz r4, 0x10(r1) -/* 80320998 0031D8F8 90 07 00 04 */ stw r0, 4(r7) -/* 8032099C 0031D8FC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803209A0 0031D900 90 87 00 08 */ stw r4, 8(r7) -/* 803209A4 0031D904 90 07 00 0C */ stw r0, 0xc(r7) -/* 803209A8 0031D908 42 00 FF 5C */ bdnz lbl_80320904 -lbl_803209AC: -/* 803209AC 0031D90C 38 21 00 20 */ addi r1, r1, 0x20 -/* 803209B0 0031D910 4E 80 00 20 */ blr - -.global sub_803209b4 -sub_803209b4: -/* 803209B4 0031D914 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 803209B8 0031D918 C0 04 00 08 */ lfs f0, 8(r4) -/* 803209BC 0031D91C C0 43 00 08 */ lfs f2, 8(r3) -/* 803209C0 0031D920 FC 00 10 40 */ fcmpo cr0, f0, f2 -/* 803209C4 0031D924 40 81 00 0C */ ble lbl_803209D0 -/* 803209C8 0031D928 38 00 00 01 */ li r0, 1 -/* 803209CC 0031D92C 48 00 00 08 */ b lbl_803209D4 -lbl_803209D0: -/* 803209D0 0031D930 38 00 00 00 */ li r0, 0 -lbl_803209D4: -/* 803209D4 0031D934 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 803209D8 0031D938 41 82 00 70 */ beq lbl_80320A48 -/* 803209DC 0031D93C A1 43 00 00 */ lhz r10, 0(r3) -/* 803209E0 0031D940 A1 23 00 02 */ lhz r9, 2(r3) -/* 803209E4 0031D944 C0 23 00 04 */ lfs f1, 4(r3) -/* 803209E8 0031D948 C0 03 00 0C */ lfs f0, 0xc(r3) -/* 803209EC 0031D94C A0 04 00 00 */ lhz r0, 0(r4) -/* 803209F0 0031D950 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 803209F4 0031D954 B0 03 00 00 */ sth r0, 0(r3) -/* 803209F8 0031D958 80 E1 00 0C */ lwz r7, 0xc(r1) -/* 803209FC 0031D95C A0 04 00 02 */ lhz r0, 2(r4) -/* 80320A00 0031D960 D0 41 00 10 */ stfs f2, 0x10(r1) -/* 80320A04 0031D964 B0 03 00 02 */ sth r0, 2(r3) -/* 80320A08 0031D968 80 C1 00 10 */ lwz r6, 0x10(r1) -/* 80320A0C 0031D96C 80 04 00 04 */ lwz r0, 4(r4) -/* 80320A10 0031D970 81 04 00 08 */ lwz r8, 8(r4) -/* 80320A14 0031D974 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 80320A18 0031D978 90 03 00 04 */ stw r0, 4(r3) -/* 80320A1C 0031D97C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80320A20 0031D980 91 03 00 08 */ stw r8, 8(r3) -/* 80320A24 0031D984 81 04 00 0C */ lwz r8, 0xc(r4) -/* 80320A28 0031D988 B1 41 00 08 */ sth r10, 8(r1) -/* 80320A2C 0031D98C 91 03 00 0C */ stw r8, 0xc(r3) -/* 80320A30 0031D990 B1 44 00 00 */ sth r10, 0(r4) -/* 80320A34 0031D994 B1 24 00 02 */ sth r9, 2(r4) -/* 80320A38 0031D998 90 E4 00 04 */ stw r7, 4(r4) -/* 80320A3C 0031D99C 90 C4 00 08 */ stw r6, 8(r4) -/* 80320A40 0031D9A0 B1 21 00 0A */ sth r9, 0xa(r1) -/* 80320A44 0031D9A4 90 04 00 0C */ stw r0, 0xc(r4) -lbl_80320A48: -/* 80320A48 0031D9A8 C0 45 00 08 */ lfs f2, 8(r5) -/* 80320A4C 0031D9AC C0 04 00 08 */ lfs f0, 8(r4) -/* 80320A50 0031D9B0 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80320A54 0031D9B4 40 81 00 0C */ ble lbl_80320A60 -/* 80320A58 0031D9B8 38 00 00 01 */ li r0, 1 -/* 80320A5C 0031D9BC 48 00 00 08 */ b lbl_80320A64 -lbl_80320A60: -/* 80320A60 0031D9C0 38 00 00 00 */ li r0, 0 -lbl_80320A64: -/* 80320A64 0031D9C4 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 80320A68 0031D9C8 41 82 00 C8 */ beq lbl_80320B30 -/* 80320A6C 0031D9CC A1 45 00 00 */ lhz r10, 0(r5) -/* 80320A70 0031D9D0 A1 25 00 02 */ lhz r9, 2(r5) -/* 80320A74 0031D9D4 C0 05 00 04 */ lfs f0, 4(r5) -/* 80320A78 0031D9D8 C0 25 00 0C */ lfs f1, 0xc(r5) -/* 80320A7C 0031D9DC A0 04 00 00 */ lhz r0, 0(r4) -/* 80320A80 0031D9E0 B1 41 00 18 */ sth r10, 0x18(r1) -/* 80320A84 0031D9E4 B0 05 00 00 */ sth r0, 0(r5) -/* 80320A88 0031D9E8 A0 04 00 02 */ lhz r0, 2(r4) -/* 80320A8C 0031D9EC B1 21 00 1A */ sth r9, 0x1a(r1) -/* 80320A90 0031D9F0 B0 05 00 02 */ sth r0, 2(r5) -/* 80320A94 0031D9F4 80 C4 00 04 */ lwz r6, 4(r4) -/* 80320A98 0031D9F8 80 04 00 08 */ lwz r0, 8(r4) -/* 80320A9C 0031D9FC D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 80320AA0 0031DA00 90 C5 00 04 */ stw r6, 4(r5) -/* 80320AA4 0031DA04 90 05 00 08 */ stw r0, 8(r5) -/* 80320AA8 0031DA08 80 04 00 0C */ lwz r0, 0xc(r4) -/* 80320AAC 0031DA0C D0 41 00 20 */ stfs f2, 0x20(r1) -/* 80320AB0 0031DA10 90 05 00 0C */ stw r0, 0xc(r5) -/* 80320AB4 0031DA14 C0 03 00 08 */ lfs f0, 8(r3) -/* 80320AB8 0031DA18 D0 21 00 24 */ stfs f1, 0x24(r1) -/* 80320ABC 0031DA1C FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80320AC0 0031DA20 40 81 00 50 */ ble lbl_80320B10 -/* 80320AC4 0031DA24 A0 03 00 00 */ lhz r0, 0(r3) -/* 80320AC8 0031DA28 80 C1 00 1C */ lwz r6, 0x1c(r1) -/* 80320ACC 0031DA2C B0 04 00 00 */ sth r0, 0(r4) -/* 80320AD0 0031DA30 80 A1 00 20 */ lwz r5, 0x20(r1) -/* 80320AD4 0031DA34 A0 E3 00 02 */ lhz r7, 2(r3) -/* 80320AD8 0031DA38 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80320ADC 0031DA3C B0 E4 00 02 */ sth r7, 2(r4) -/* 80320AE0 0031DA40 81 03 00 04 */ lwz r8, 4(r3) -/* 80320AE4 0031DA44 80 E3 00 08 */ lwz r7, 8(r3) -/* 80320AE8 0031DA48 91 04 00 04 */ stw r8, 4(r4) -/* 80320AEC 0031DA4C 90 E4 00 08 */ stw r7, 8(r4) -/* 80320AF0 0031DA50 80 E3 00 0C */ lwz r7, 0xc(r3) -/* 80320AF4 0031DA54 90 E4 00 0C */ stw r7, 0xc(r4) -/* 80320AF8 0031DA58 B1 43 00 00 */ sth r10, 0(r3) -/* 80320AFC 0031DA5C B1 23 00 02 */ sth r9, 2(r3) -/* 80320B00 0031DA60 90 C3 00 04 */ stw r6, 4(r3) -/* 80320B04 0031DA64 90 A3 00 08 */ stw r5, 8(r3) -/* 80320B08 0031DA68 90 03 00 0C */ stw r0, 0xc(r3) -/* 80320B0C 0031DA6C 48 00 00 24 */ b lbl_80320B30 -lbl_80320B10: -/* 80320B10 0031DA70 B1 44 00 00 */ sth r10, 0(r4) -/* 80320B14 0031DA74 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 80320B18 0031DA78 B1 24 00 02 */ sth r9, 2(r4) -/* 80320B1C 0031DA7C 80 61 00 20 */ lwz r3, 0x20(r1) -/* 80320B20 0031DA80 90 04 00 04 */ stw r0, 4(r4) -/* 80320B24 0031DA84 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80320B28 0031DA88 90 64 00 08 */ stw r3, 8(r4) -/* 80320B2C 0031DA8C 90 04 00 0C */ stw r0, 0xc(r4) -lbl_80320B30: -/* 80320B30 0031DA90 38 21 00 30 */ addi r1, r1, 0x30 -/* 80320B34 0031DA94 4E 80 00 20 */ blr - -.global sub_80320b38 -sub_80320b38: -/* 80320B38 0031DA98 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80320B3C 0031DA9C C0 04 00 08 */ lfs f0, 8(r4) -/* 80320B40 0031DAA0 C0 43 00 08 */ lfs f2, 8(r3) -/* 80320B44 0031DAA4 FC 00 10 40 */ fcmpo cr0, f0, f2 -/* 80320B48 0031DAA8 40 81 00 0C */ ble lbl_80320B54 -/* 80320B4C 0031DAAC 38 00 00 01 */ li r0, 1 -/* 80320B50 0031DAB0 48 00 00 08 */ b lbl_80320B58 -lbl_80320B54: -/* 80320B54 0031DAB4 38 00 00 00 */ li r0, 0 -lbl_80320B58: -/* 80320B58 0031DAB8 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 80320B5C 0031DABC 41 82 00 5C */ beq lbl_80320BB8 -/* 80320B60 0031DAC0 A1 03 00 00 */ lhz r8, 0(r3) -/* 80320B64 0031DAC4 C0 23 00 04 */ lfs f1, 4(r3) -/* 80320B68 0031DAC8 C0 03 00 0C */ lfs f0, 0xc(r3) -/* 80320B6C 0031DACC A0 04 00 00 */ lhz r0, 0(r4) -/* 80320B70 0031DAD0 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 80320B74 0031DAD4 B0 03 00 00 */ sth r0, 0(r3) -/* 80320B78 0031DAD8 80 E1 00 0C */ lwz r7, 0xc(r1) -/* 80320B7C 0031DADC 80 C4 00 04 */ lwz r6, 4(r4) -/* 80320B80 0031DAE0 80 04 00 08 */ lwz r0, 8(r4) -/* 80320B84 0031DAE4 D0 41 00 10 */ stfs f2, 0x10(r1) -/* 80320B88 0031DAE8 90 C3 00 04 */ stw r6, 4(r3) -/* 80320B8C 0031DAEC 80 C1 00 10 */ lwz r6, 0x10(r1) -/* 80320B90 0031DAF0 90 03 00 08 */ stw r0, 8(r3) -/* 80320B94 0031DAF4 80 04 00 0C */ lwz r0, 0xc(r4) -/* 80320B98 0031DAF8 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 80320B9C 0031DAFC 90 03 00 0C */ stw r0, 0xc(r3) -/* 80320BA0 0031DB00 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80320BA4 0031DB04 B1 04 00 00 */ sth r8, 0(r4) -/* 80320BA8 0031DB08 90 E4 00 04 */ stw r7, 4(r4) -/* 80320BAC 0031DB0C 90 C4 00 08 */ stw r6, 8(r4) -/* 80320BB0 0031DB10 B1 01 00 08 */ sth r8, 8(r1) -/* 80320BB4 0031DB14 90 04 00 0C */ stw r0, 0xc(r4) -lbl_80320BB8: -/* 80320BB8 0031DB18 C0 45 00 08 */ lfs f2, 8(r5) -/* 80320BBC 0031DB1C C0 04 00 08 */ lfs f0, 8(r4) -/* 80320BC0 0031DB20 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80320BC4 0031DB24 40 81 00 0C */ ble lbl_80320BD0 -/* 80320BC8 0031DB28 38 00 00 01 */ li r0, 1 -/* 80320BCC 0031DB2C 48 00 00 08 */ b lbl_80320BD4 -lbl_80320BD0: -/* 80320BD0 0031DB30 38 00 00 00 */ li r0, 0 -lbl_80320BD4: -/* 80320BD4 0031DB34 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 80320BD8 0031DB38 41 82 00 A8 */ beq lbl_80320C80 -/* 80320BDC 0031DB3C A1 25 00 00 */ lhz r9, 0(r5) -/* 80320BE0 0031DB40 C0 05 00 04 */ lfs f0, 4(r5) -/* 80320BE4 0031DB44 C0 25 00 0C */ lfs f1, 0xc(r5) -/* 80320BE8 0031DB48 A0 04 00 00 */ lhz r0, 0(r4) -/* 80320BEC 0031DB4C B1 21 00 18 */ sth r9, 0x18(r1) -/* 80320BF0 0031DB50 B0 05 00 00 */ sth r0, 0(r5) -/* 80320BF4 0031DB54 80 C4 00 04 */ lwz r6, 4(r4) -/* 80320BF8 0031DB58 80 04 00 08 */ lwz r0, 8(r4) -/* 80320BFC 0031DB5C D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 80320C00 0031DB60 90 C5 00 04 */ stw r6, 4(r5) -/* 80320C04 0031DB64 90 05 00 08 */ stw r0, 8(r5) -/* 80320C08 0031DB68 80 04 00 0C */ lwz r0, 0xc(r4) -/* 80320C0C 0031DB6C D0 41 00 20 */ stfs f2, 0x20(r1) -/* 80320C10 0031DB70 90 05 00 0C */ stw r0, 0xc(r5) -/* 80320C14 0031DB74 C0 03 00 08 */ lfs f0, 8(r3) -/* 80320C18 0031DB78 D0 21 00 24 */ stfs f1, 0x24(r1) -/* 80320C1C 0031DB7C FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80320C20 0031DB80 40 81 00 44 */ ble lbl_80320C64 -/* 80320C24 0031DB84 A0 03 00 00 */ lhz r0, 0(r3) -/* 80320C28 0031DB88 80 C1 00 1C */ lwz r6, 0x1c(r1) -/* 80320C2C 0031DB8C B0 04 00 00 */ sth r0, 0(r4) -/* 80320C30 0031DB90 80 A1 00 20 */ lwz r5, 0x20(r1) -/* 80320C34 0031DB94 81 03 00 04 */ lwz r8, 4(r3) -/* 80320C38 0031DB98 80 E3 00 08 */ lwz r7, 8(r3) -/* 80320C3C 0031DB9C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80320C40 0031DBA0 91 04 00 04 */ stw r8, 4(r4) -/* 80320C44 0031DBA4 90 E4 00 08 */ stw r7, 8(r4) -/* 80320C48 0031DBA8 80 E3 00 0C */ lwz r7, 0xc(r3) -/* 80320C4C 0031DBAC 90 E4 00 0C */ stw r7, 0xc(r4) -/* 80320C50 0031DBB0 B1 23 00 00 */ sth r9, 0(r3) -/* 80320C54 0031DBB4 90 C3 00 04 */ stw r6, 4(r3) -/* 80320C58 0031DBB8 90 A3 00 08 */ stw r5, 8(r3) -/* 80320C5C 0031DBBC 90 03 00 0C */ stw r0, 0xc(r3) -/* 80320C60 0031DBC0 48 00 00 20 */ b lbl_80320C80 -lbl_80320C64: -/* 80320C64 0031DBC4 B1 24 00 00 */ sth r9, 0(r4) -/* 80320C68 0031DBC8 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 80320C6C 0031DBCC 80 61 00 20 */ lwz r3, 0x20(r1) -/* 80320C70 0031DBD0 90 04 00 04 */ stw r0, 4(r4) -/* 80320C74 0031DBD4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80320C78 0031DBD8 90 64 00 08 */ stw r3, 8(r4) -/* 80320C7C 0031DBDC 90 04 00 0C */ stw r0, 0xc(r4) -lbl_80320C80: -/* 80320C80 0031DBE0 38 21 00 30 */ addi r1, r1, 0x30 -/* 80320C84 0031DBE4 4E 80 00 20 */ blr - -.global __dt__7CIEGEMT -__dt__7CIEGEMT: -/* 80320C88 0031DBE8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80320C8C 0031DBEC 7C 08 02 A6 */ mflr r0 -/* 80320C90 0031DBF0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80320C94 0031DBF4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80320C98 0031DBF8 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80320C9C 0031DBFC 41 82 00 44 */ beq lbl_80320CE0 -/* 80320CA0 0031DC00 3C 60 80 3F */ lis r3, lbl_803EDAF8@ha -/* 80320CA4 0031DC04 38 03 DA F8 */ addi r0, r3, lbl_803EDAF8@l -/* 80320CA8 0031DC08 90 1F 00 00 */ stw r0, 0(r31) -/* 80320CAC 0031DC0C 41 82 00 20 */ beq lbl_80320CCC -/* 80320CB0 0031DC10 3C 60 80 3F */ lis r3, lbl_803EC584@ha -/* 80320CB4 0031DC14 38 03 C5 84 */ addi r0, r3, lbl_803EC584@l -/* 80320CB8 0031DC18 90 1F 00 00 */ stw r0, 0(r31) -/* 80320CBC 0031DC1C 41 82 00 10 */ beq lbl_80320CCC -/* 80320CC0 0031DC20 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 80320CC4 0031DC24 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 80320CC8 0031DC28 90 1F 00 00 */ stw r0, 0(r31) -lbl_80320CCC: -/* 80320CCC 0031DC2C 7C 80 07 35 */ extsh. r0, r4 -/* 80320CD0 0031DC30 40 81 00 10 */ ble lbl_80320CE0 -/* 80320CD4 0031DC34 7F E3 FB 78 */ mr r3, r31 -/* 80320CD8 0031DC38 38 80 00 04 */ li r4, 4 -/* 80320CDC 0031DC3C 48 04 BD 89 */ bl sub_8036ca64 -lbl_80320CE0: -/* 80320CE0 0031DC40 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80320CE4 0031DC44 7F E3 FB 78 */ mr r3, r31 -/* 80320CE8 0031DC48 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80320CEC 0031DC4C 7C 08 03 A6 */ mtlr r0 -/* 80320CF0 0031DC50 38 21 00 10 */ addi r1, r1, 0x10 -/* 80320CF4 0031DC54 4E 80 00 20 */ blr - -.global GetValue__7CIEGEMTCFiRi -GetValue__7CIEGEMTCFiRi: -/* 80320CF8 0031DC58 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80320CFC 0031DC5C 7C 08 02 A6 */ mflr r0 -/* 80320D00 0031DC60 90 01 00 14 */ stw r0, 0x14(r1) -/* 80320D04 0031DC64 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80320D08 0031DC68 7C BF 2B 78 */ mr r31, r5 -/* 80320D0C 0031DC6C 80 6D A8 F4 */ lwz r3, lbl_805A94B4@sda21(r13) -/* 80320D10 0031DC70 80 63 00 04 */ lwz r3, 4(r3) -/* 80320D14 0031DC74 4B FF 6C 71 */ bl GetEmitterTime__11CElementGenFv -/* 80320D18 0031DC78 90 7F 00 00 */ stw r3, 0(r31) -/* 80320D1C 0031DC7C 38 60 00 00 */ li r3, 0 -/* 80320D20 0031DC80 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80320D24 0031DC84 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80320D28 0031DC88 7C 08 03 A6 */ mtlr r0 -/* 80320D2C 0031DC8C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80320D30 0031DC90 4E 80 00 20 */ blr - -.global GetValue__7CIEGAPCCFiRi -GetValue__7CIEGAPCCFiRi: -/* 80320D34 0031DC94 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80320D38 0031DC98 7C 08 02 A6 */ mflr r0 -/* 80320D3C 0031DC9C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80320D40 0031DCA0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80320D44 0031DCA4 7C BF 2B 78 */ mr r31, r5 -/* 80320D48 0031DCA8 80 6D A8 F4 */ lwz r3, lbl_805A94B4@sda21(r13) -/* 80320D4C 0031DCAC 80 63 00 04 */ lwz r3, 4(r3) -/* 80320D50 0031DCB0 81 83 00 00 */ lwz r12, 0(r3) -/* 80320D54 0031DCB4 81 8C 00 60 */ lwz r12, 0x60(r12) -/* 80320D58 0031DCB8 7D 89 03 A6 */ mtctr r12 -/* 80320D5C 0031DCBC 4E 80 04 21 */ bctrl -/* 80320D60 0031DCC0 90 7F 00 00 */ stw r3, 0(r31) -/* 80320D64 0031DCC4 38 60 00 00 */ li r3, 0 -/* 80320D68 0031DCC8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80320D6C 0031DCCC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80320D70 0031DCD0 7C 08 03 A6 */ mtlr r0 -/* 80320D74 0031DCD4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80320D78 0031DCD8 4E 80 00 20 */ blr - -.global GetValue__7CIEGTCPCFiRi -GetValue__7CIEGTCPCFiRi: -/* 80320D7C 0031DCDC 80 8D A8 F4 */ lwz r4, lbl_805A94B4@sda21(r13) -/* 80320D80 0031DCE0 38 60 00 00 */ li r3, 0 -/* 80320D84 0031DCE4 80 84 00 04 */ lwz r4, 4(r4) -/* 80320D88 0031DCE8 80 04 02 60 */ lwz r0, 0x260(r4) -/* 80320D8C 0031DCEC 90 05 00 00 */ stw r0, 0(r5) -/* 80320D90 0031DCF0 4E 80 00 20 */ blr - -.global GetValue__12CIERealToIntCFiRi -GetValue__12CIERealToIntCFiRi: -/* 80320D94 0031DCF4 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80320D98 0031DCF8 7C 08 02 A6 */ mflr r0 -/* 80320D9C 0031DCFC C0 22 CA 50 */ lfs f1, lbl_805AE770@sda21(r2) -/* 80320DA0 0031DD00 90 01 00 34 */ stw r0, 0x34(r1) -/* 80320DA4 0031DD04 C0 02 CA 54 */ lfs f0, lbl_805AE774@sda21(r2) -/* 80320DA8 0031DD08 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80320DAC 0031DD0C 7C BF 2B 78 */ mr r31, r5 -/* 80320DB0 0031DD10 38 A1 00 08 */ addi r5, r1, 8 -/* 80320DB4 0031DD14 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80320DB8 0031DD18 7C 9E 23 78 */ mr r30, r4 -/* 80320DBC 0031DD1C 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80320DC0 0031DD20 7C 7D 1B 78 */ mr r29, r3 -/* 80320DC4 0031DD24 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 80320DC8 0031DD28 80 63 00 08 */ lwz r3, 8(r3) -/* 80320DCC 0031DD2C D0 01 00 08 */ stfs f0, 8(r1) -/* 80320DD0 0031DD30 81 83 00 00 */ lwz r12, 0(r3) -/* 80320DD4 0031DD34 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80320DD8 0031DD38 7D 89 03 A6 */ mtctr r12 -/* 80320DDC 0031DD3C 4E 80 04 21 */ bctrl -/* 80320DE0 0031DD40 80 7D 00 04 */ lwz r3, 4(r29) -/* 80320DE4 0031DD44 7F C4 F3 78 */ mr r4, r30 -/* 80320DE8 0031DD48 38 A1 00 0C */ addi r5, r1, 0xc -/* 80320DEC 0031DD4C 81 83 00 00 */ lwz r12, 0(r3) -/* 80320DF0 0031DD50 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80320DF4 0031DD54 7D 89 03 A6 */ mtctr r12 -/* 80320DF8 0031DD58 4E 80 04 21 */ bctrl -/* 80320DFC 0031DD5C C0 21 00 0C */ lfs f1, 0xc(r1) -/* 80320E00 0031DD60 38 60 00 00 */ li r3, 0 -/* 80320E04 0031DD64 C0 01 00 08 */ lfs f0, 8(r1) -/* 80320E08 0031DD68 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80320E0C 0031DD6C FC 00 00 1E */ fctiwz f0, f0 -/* 80320E10 0031DD70 D8 01 00 10 */ stfd f0, 0x10(r1) -/* 80320E14 0031DD74 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80320E18 0031DD78 90 1F 00 00 */ stw r0, 0(r31) -/* 80320E1C 0031DD7C 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80320E20 0031DD80 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80320E24 0031DD84 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80320E28 0031DD88 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80320E2C 0031DD8C 7C 08 03 A6 */ mtlr r0 -/* 80320E30 0031DD90 38 21 00 30 */ addi r1, r1, 0x30 -/* 80320E34 0031DD94 4E 80 00 20 */ blr - -.global __dt__12CIERealToInt -__dt__12CIERealToInt: -/* 80320E38 0031DD98 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80320E3C 0031DD9C 7C 08 02 A6 */ mflr r0 -/* 80320E40 0031DDA0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80320E44 0031DDA4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80320E48 0031DDA8 7C 9F 23 78 */ mr r31, r4 -/* 80320E4C 0031DDAC 93 C1 00 08 */ stw r30, 8(r1) -/* 80320E50 0031DDB0 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80320E54 0031DDB4 41 82 00 88 */ beq lbl_80320EDC -/* 80320E58 0031DDB8 3C 60 80 3F */ lis r3, lbl_803EDB28@ha -/* 80320E5C 0031DDBC 38 03 DB 28 */ addi r0, r3, lbl_803EDB28@l -/* 80320E60 0031DDC0 90 1E 00 00 */ stw r0, 0(r30) -/* 80320E64 0031DDC4 80 7E 00 04 */ lwz r3, 4(r30) -/* 80320E68 0031DDC8 28 03 00 00 */ cmplwi r3, 0 -/* 80320E6C 0031DDCC 41 82 00 18 */ beq lbl_80320E84 -/* 80320E70 0031DDD0 81 83 00 00 */ lwz r12, 0(r3) -/* 80320E74 0031DDD4 38 80 00 01 */ li r4, 1 -/* 80320E78 0031DDD8 81 8C 00 08 */ lwz r12, 8(r12) -/* 80320E7C 0031DDDC 7D 89 03 A6 */ mtctr r12 -/* 80320E80 0031DDE0 4E 80 04 21 */ bctrl -lbl_80320E84: -/* 80320E84 0031DDE4 80 7E 00 08 */ lwz r3, 8(r30) -/* 80320E88 0031DDE8 28 03 00 00 */ cmplwi r3, 0 -/* 80320E8C 0031DDEC 41 82 00 18 */ beq lbl_80320EA4 -/* 80320E90 0031DDF0 81 83 00 00 */ lwz r12, 0(r3) -/* 80320E94 0031DDF4 38 80 00 01 */ li r4, 1 -/* 80320E98 0031DDF8 81 8C 00 08 */ lwz r12, 8(r12) -/* 80320E9C 0031DDFC 7D 89 03 A6 */ mtctr r12 -/* 80320EA0 0031DE00 4E 80 04 21 */ bctrl -lbl_80320EA4: -/* 80320EA4 0031DE04 28 1E 00 00 */ cmplwi r30, 0 -/* 80320EA8 0031DE08 41 82 00 20 */ beq lbl_80320EC8 -/* 80320EAC 0031DE0C 3C 60 80 3F */ lis r3, lbl_803EC584@ha -/* 80320EB0 0031DE10 38 03 C5 84 */ addi r0, r3, lbl_803EC584@l -/* 80320EB4 0031DE14 90 1E 00 00 */ stw r0, 0(r30) -/* 80320EB8 0031DE18 41 82 00 10 */ beq lbl_80320EC8 -/* 80320EBC 0031DE1C 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 80320EC0 0031DE20 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 80320EC4 0031DE24 90 1E 00 00 */ stw r0, 0(r30) -lbl_80320EC8: -/* 80320EC8 0031DE28 7F E0 07 35 */ extsh. r0, r31 -/* 80320ECC 0031DE2C 40 81 00 10 */ ble lbl_80320EDC -/* 80320ED0 0031DE30 7F C3 F3 78 */ mr r3, r30 -/* 80320ED4 0031DE34 38 80 00 0C */ li r4, 0xc -/* 80320ED8 0031DE38 48 04 BB 8D */ bl sub_8036ca64 -lbl_80320EDC: -/* 80320EDC 0031DE3C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80320EE0 0031DE40 7F C3 F3 78 */ mr r3, r30 -/* 80320EE4 0031DE44 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80320EE8 0031DE48 83 C1 00 08 */ lwz r30, 8(r1) -/* 80320EEC 0031DE4C 7C 08 03 A6 */ mtlr r0 -/* 80320EF0 0031DE50 38 21 00 10 */ addi r1, r1, 0x10 -/* 80320EF4 0031DE54 4E 80 00 20 */ blr - -.global __ct__12CIERealToIntFP12CRealElementP12CRealElement -__ct__12CIERealToIntFP12CRealElementP12CRealElement: -/* 80320EF8 0031DE58 3D 00 80 3F */ lis r8, lbl_803EC5A8@ha -/* 80320EFC 0031DE5C 3C E0 80 3F */ lis r7, lbl_803EC584@ha -/* 80320F00 0031DE60 38 08 C5 A8 */ addi r0, r8, lbl_803EC5A8@l -/* 80320F04 0031DE64 3C C0 80 3F */ lis r6, lbl_803EDB28@ha -/* 80320F08 0031DE68 90 03 00 00 */ stw r0, 0(r3) -/* 80320F0C 0031DE6C 38 E7 C5 84 */ addi r7, r7, lbl_803EC584@l -/* 80320F10 0031DE70 38 06 DB 28 */ addi r0, r6, lbl_803EDB28@l -/* 80320F14 0031DE74 90 E3 00 00 */ stw r7, 0(r3) -/* 80320F18 0031DE78 90 03 00 00 */ stw r0, 0(r3) -/* 80320F1C 0031DE7C 90 83 00 04 */ stw r4, 4(r3) -/* 80320F20 0031DE80 90 A3 00 08 */ stw r5, 8(r3) -/* 80320F24 0031DE84 4E 80 00 20 */ blr - -.global GetValue__11CIESubtractCFiRi -GetValue__11CIESubtractCFiRi: -/* 80320F28 0031DE88 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80320F2C 0031DE8C 7C 08 02 A6 */ mflr r0 -/* 80320F30 0031DE90 90 01 00 24 */ stw r0, 0x24(r1) -/* 80320F34 0031DE94 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80320F38 0031DE98 7C BF 2B 78 */ mr r31, r5 -/* 80320F3C 0031DE9C 38 A1 00 0C */ addi r5, r1, 0xc -/* 80320F40 0031DEA0 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80320F44 0031DEA4 7C 9E 23 78 */ mr r30, r4 -/* 80320F48 0031DEA8 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80320F4C 0031DEAC 7C 7D 1B 78 */ mr r29, r3 -/* 80320F50 0031DEB0 80 63 00 04 */ lwz r3, 4(r3) -/* 80320F54 0031DEB4 81 83 00 00 */ lwz r12, 0(r3) -/* 80320F58 0031DEB8 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80320F5C 0031DEBC 7D 89 03 A6 */ mtctr r12 -/* 80320F60 0031DEC0 4E 80 04 21 */ bctrl -/* 80320F64 0031DEC4 80 7D 00 08 */ lwz r3, 8(r29) -/* 80320F68 0031DEC8 7F C4 F3 78 */ mr r4, r30 -/* 80320F6C 0031DECC 38 A1 00 08 */ addi r5, r1, 8 -/* 80320F70 0031DED0 81 83 00 00 */ lwz r12, 0(r3) -/* 80320F74 0031DED4 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80320F78 0031DED8 7D 89 03 A6 */ mtctr r12 -/* 80320F7C 0031DEDC 4E 80 04 21 */ bctrl -/* 80320F80 0031DEE0 80 81 00 08 */ lwz r4, 8(r1) -/* 80320F84 0031DEE4 38 60 00 00 */ li r3, 0 -/* 80320F88 0031DEE8 80 01 00 0C */ lwz r0, 0xc(r1) -/* 80320F8C 0031DEEC 7C 04 00 50 */ subf r0, r4, r0 -/* 80320F90 0031DEF0 90 1F 00 00 */ stw r0, 0(r31) -/* 80320F94 0031DEF4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80320F98 0031DEF8 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80320F9C 0031DEFC 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80320FA0 0031DF00 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80320FA4 0031DF04 7C 08 03 A6 */ mtlr r0 -/* 80320FA8 0031DF08 38 21 00 20 */ addi r1, r1, 0x20 -/* 80320FAC 0031DF0C 4E 80 00 20 */ blr - -.global __dt__11CIESubtract -__dt__11CIESubtract: -/* 80320FB0 0031DF10 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80320FB4 0031DF14 7C 08 02 A6 */ mflr r0 -/* 80320FB8 0031DF18 90 01 00 14 */ stw r0, 0x14(r1) -/* 80320FBC 0031DF1C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80320FC0 0031DF20 7C 9F 23 78 */ mr r31, r4 -/* 80320FC4 0031DF24 93 C1 00 08 */ stw r30, 8(r1) -/* 80320FC8 0031DF28 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80320FCC 0031DF2C 41 82 00 88 */ beq lbl_80321054 -/* 80320FD0 0031DF30 3C 60 80 3F */ lis r3, lbl_803EDB38@ha -/* 80320FD4 0031DF34 38 03 DB 38 */ addi r0, r3, lbl_803EDB38@l -/* 80320FD8 0031DF38 90 1E 00 00 */ stw r0, 0(r30) -/* 80320FDC 0031DF3C 80 7E 00 04 */ lwz r3, 4(r30) -/* 80320FE0 0031DF40 28 03 00 00 */ cmplwi r3, 0 -/* 80320FE4 0031DF44 41 82 00 18 */ beq lbl_80320FFC -/* 80320FE8 0031DF48 81 83 00 00 */ lwz r12, 0(r3) -/* 80320FEC 0031DF4C 38 80 00 01 */ li r4, 1 -/* 80320FF0 0031DF50 81 8C 00 08 */ lwz r12, 8(r12) -/* 80320FF4 0031DF54 7D 89 03 A6 */ mtctr r12 -/* 80320FF8 0031DF58 4E 80 04 21 */ bctrl -lbl_80320FFC: -/* 80320FFC 0031DF5C 80 7E 00 08 */ lwz r3, 8(r30) -/* 80321000 0031DF60 28 03 00 00 */ cmplwi r3, 0 -/* 80321004 0031DF64 41 82 00 18 */ beq lbl_8032101C -/* 80321008 0031DF68 81 83 00 00 */ lwz r12, 0(r3) -/* 8032100C 0031DF6C 38 80 00 01 */ li r4, 1 -/* 80321010 0031DF70 81 8C 00 08 */ lwz r12, 8(r12) -/* 80321014 0031DF74 7D 89 03 A6 */ mtctr r12 -/* 80321018 0031DF78 4E 80 04 21 */ bctrl -lbl_8032101C: -/* 8032101C 0031DF7C 28 1E 00 00 */ cmplwi r30, 0 -/* 80321020 0031DF80 41 82 00 20 */ beq lbl_80321040 -/* 80321024 0031DF84 3C 60 80 3F */ lis r3, lbl_803EC584@ha -/* 80321028 0031DF88 38 03 C5 84 */ addi r0, r3, lbl_803EC584@l -/* 8032102C 0031DF8C 90 1E 00 00 */ stw r0, 0(r30) -/* 80321030 0031DF90 41 82 00 10 */ beq lbl_80321040 -/* 80321034 0031DF94 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 80321038 0031DF98 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 8032103C 0031DF9C 90 1E 00 00 */ stw r0, 0(r30) -lbl_80321040: -/* 80321040 0031DFA0 7F E0 07 35 */ extsh. r0, r31 -/* 80321044 0031DFA4 40 81 00 10 */ ble lbl_80321054 -/* 80321048 0031DFA8 7F C3 F3 78 */ mr r3, r30 -/* 8032104C 0031DFAC 38 80 00 0C */ li r4, 0xc -/* 80321050 0031DFB0 48 04 BA 15 */ bl sub_8036ca64 -lbl_80321054: -/* 80321054 0031DFB4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80321058 0031DFB8 7F C3 F3 78 */ mr r3, r30 -/* 8032105C 0031DFBC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80321060 0031DFC0 83 C1 00 08 */ lwz r30, 8(r1) -/* 80321064 0031DFC4 7C 08 03 A6 */ mtlr r0 -/* 80321068 0031DFC8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8032106C 0031DFCC 4E 80 00 20 */ blr - -.global __ct__11CIESubtractFP11CIntElementP11CIntElement -__ct__11CIESubtractFP11CIntElementP11CIntElement: -/* 80321070 0031DFD0 3D 00 80 3F */ lis r8, lbl_803EC5A8@ha -/* 80321074 0031DFD4 3C E0 80 3F */ lis r7, lbl_803EC584@ha -/* 80321078 0031DFD8 38 08 C5 A8 */ addi r0, r8, lbl_803EC5A8@l -/* 8032107C 0031DFDC 3C C0 80 3F */ lis r6, lbl_803EDB38@ha -/* 80321080 0031DFE0 90 03 00 00 */ stw r0, 0(r3) -/* 80321084 0031DFE4 38 E7 C5 84 */ addi r7, r7, lbl_803EC584@l -/* 80321088 0031DFE8 38 06 DB 38 */ addi r0, r6, lbl_803EDB38@l -/* 8032108C 0031DFEC 90 E3 00 00 */ stw r7, 0(r3) -/* 80321090 0031DFF0 90 03 00 00 */ stw r0, 0(r3) -/* 80321094 0031DFF4 90 83 00 04 */ stw r4, 4(r3) -/* 80321098 0031DFF8 90 A3 00 08 */ stw r5, 8(r3) -/* 8032109C 0031DFFC 4E 80 00 20 */ blr - -.global GetValue__18CIEKeyframeEmitterCFiRi -GetValue__18CIEKeyframeEmitterCFiRi: -/* 803210A0 0031E000 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 803210A4 0031E004 80 03 00 04 */ lwz r0, 4(r3) -/* 803210A8 0031E008 2C 00 00 00 */ cmpwi r0, 0 -/* 803210AC 0031E00C 40 82 00 A0 */ bne lbl_8032114C -/* 803210B0 0031E010 88 03 00 0C */ lbz r0, 0xc(r3) -/* 803210B4 0031E014 81 0D A8 D8 */ lwz r8, lbl_805A9498@sda21(r13) -/* 803210B8 0031E018 28 00 00 00 */ cmplwi r0, 0 -/* 803210BC 0031E01C 91 01 00 0C */ stw r8, 0xc(r1) -/* 803210C0 0031E020 41 82 00 50 */ beq lbl_80321110 -/* 803210C4 0031E024 80 03 00 10 */ lwz r0, 0x10(r3) -/* 803210C8 0031E028 7C 08 00 00 */ cmpw r8, r0 -/* 803210CC 0031E02C 41 80 00 2C */ blt lbl_803210F8 -/* 803210D0 0031E030 80 E3 00 14 */ lwz r7, 0x14(r3) -/* 803210D4 0031E034 7C C7 40 50 */ subf r6, r7, r8 -/* 803210D8 0031E038 7C 87 00 50 */ subf r4, r7, r0 -/* 803210DC 0031E03C 7C 06 23 D6 */ divw r0, r6, r4 -/* 803210E0 0031E040 90 C1 00 0C */ stw r6, 0xc(r1) -/* 803210E4 0031E044 7C 00 21 D6 */ mullw r0, r0, r4 -/* 803210E8 0031E048 7C 00 30 50 */ subf r0, r0, r6 -/* 803210EC 0031E04C 90 01 00 0C */ stw r0, 0xc(r1) -/* 803210F0 0031E050 7C 00 3A 14 */ add r0, r0, r7 -/* 803210F4 0031E054 90 01 00 0C */ stw r0, 0xc(r1) -lbl_803210F8: -/* 803210F8 0031E058 80 01 00 0C */ lwz r0, 0xc(r1) -/* 803210FC 0031E05C 80 63 00 24 */ lwz r3, 0x24(r3) -/* 80321100 0031E060 54 00 10 3A */ slwi r0, r0, 2 -/* 80321104 0031E064 7C 03 00 2E */ lwzx r0, r3, r0 -/* 80321108 0031E068 90 05 00 00 */ stw r0, 0(r5) -/* 8032110C 0031E06C 48 00 00 38 */ b lbl_80321144 -lbl_80321110: -/* 80321110 0031E070 80 C3 00 10 */ lwz r6, 0x10(r3) -/* 80321114 0031E074 38 81 00 0C */ addi r4, r1, 0xc -/* 80321118 0031E078 38 06 FF FF */ addi r0, r6, -1 -/* 8032111C 0031E07C 7C 00 40 00 */ cmpw r0, r8 -/* 80321120 0031E080 90 01 00 08 */ stw r0, 8(r1) -/* 80321124 0031E084 40 80 00 08 */ bge lbl_8032112C -/* 80321128 0031E088 38 81 00 08 */ addi r4, r1, 8 -lbl_8032112C: -/* 8032112C 0031E08C 80 04 00 00 */ lwz r0, 0(r4) -/* 80321130 0031E090 80 63 00 24 */ lwz r3, 0x24(r3) -/* 80321134 0031E094 90 01 00 0C */ stw r0, 0xc(r1) -/* 80321138 0031E098 54 00 10 3A */ slwi r0, r0, 2 -/* 8032113C 0031E09C 7C 03 00 2E */ lwzx r0, r3, r0 -/* 80321140 0031E0A0 90 05 00 00 */ stw r0, 0(r5) -lbl_80321144: -/* 80321144 0031E0A4 38 60 00 00 */ li r3, 0 -/* 80321148 0031E0A8 48 00 00 94 */ b lbl_803211DC -lbl_8032114C: -/* 8032114C 0031E0AC 80 8D A8 E0 */ lwz r4, lbl_805A94A0@sda21(r13) -/* 80321150 0031E0B0 2C 04 00 64 */ cmpwi r4, 0x64 -/* 80321154 0031E0B4 40 82 00 18 */ bne lbl_8032116C -/* 80321158 0031E0B8 80 63 00 24 */ lwz r3, 0x24(r3) -/* 8032115C 0031E0BC 54 80 10 3A */ slwi r0, r4, 2 -/* 80321160 0031E0C0 7C 03 00 2E */ lwzx r0, r3, r0 -/* 80321164 0031E0C4 90 05 00 00 */ stw r0, 0(r5) -/* 80321168 0031E0C8 48 00 00 70 */ b lbl_803211D8 -lbl_8032116C: -/* 8032116C 0031E0CC 38 04 00 01 */ addi r0, r4, 1 -/* 80321170 0031E0D0 80 C3 00 24 */ lwz r6, 0x24(r3) -/* 80321174 0031E0D4 54 00 10 3A */ slwi r0, r0, 2 -/* 80321178 0031E0D8 3C 60 43 30 */ lis r3, 0x4330 -/* 8032117C 0031E0DC 7C 06 00 2E */ lwzx r0, r6, r0 -/* 80321180 0031E0E0 54 84 10 3A */ slwi r4, r4, 2 -/* 80321184 0031E0E4 7C 86 20 2E */ lwzx r4, r6, r4 -/* 80321188 0031E0E8 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 8032118C 0031E0EC 90 61 00 18 */ stw r3, 0x18(r1) -/* 80321190 0031E0F0 6C 84 80 00 */ xoris r4, r4, 0x8000 -/* 80321194 0031E0F4 C8 42 CA 58 */ lfd f2, lbl_805AE778@sda21(r2) -/* 80321198 0031E0F8 90 01 00 1C */ stw r0, 0x1c(r1) -/* 8032119C 0031E0FC C0 8D A8 E8 */ lfs f4, lbl_805A94A8@sda21(r13) -/* 803211A0 0031E100 C8 01 00 18 */ lfd f0, 0x18(r1) -/* 803211A4 0031E104 90 81 00 14 */ stw r4, 0x14(r1) -/* 803211A8 0031E108 EC 00 10 28 */ fsubs f0, f0, f2 -/* 803211AC 0031E10C C0 22 CA 54 */ lfs f1, lbl_805AE774@sda21(r2) -/* 803211B0 0031E110 90 61 00 10 */ stw r3, 0x10(r1) -/* 803211B4 0031E114 EC 61 20 28 */ fsubs f3, f1, f4 -/* 803211B8 0031E118 C8 21 00 10 */ lfd f1, 0x10(r1) -/* 803211BC 0031E11C EC 04 00 32 */ fmuls f0, f4, f0 -/* 803211C0 0031E120 EC 21 10 28 */ fsubs f1, f1, f2 -/* 803211C4 0031E124 EC 03 00 7A */ fmadds f0, f3, f1, f0 -/* 803211C8 0031E128 FC 00 00 1E */ fctiwz f0, f0 -/* 803211CC 0031E12C D8 01 00 20 */ stfd f0, 0x20(r1) -/* 803211D0 0031E130 80 01 00 24 */ lwz r0, 0x24(r1) -/* 803211D4 0031E134 90 05 00 00 */ stw r0, 0(r5) -lbl_803211D8: -/* 803211D8 0031E138 38 60 00 00 */ li r3, 0 -lbl_803211DC: -/* 803211DC 0031E13C 38 21 00 30 */ addi r1, r1, 0x30 -/* 803211E0 0031E140 4E 80 00 20 */ blr - -.global __dt__18CIEKeyframeEmitter -__dt__18CIEKeyframeEmitter: -/* 803211E4 0031E144 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 803211E8 0031E148 7C 08 02 A6 */ mflr r0 -/* 803211EC 0031E14C 90 01 00 24 */ stw r0, 0x24(r1) -/* 803211F0 0031E150 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 803211F4 0031E154 7C 9F 23 78 */ mr r31, r4 -/* 803211F8 0031E158 93 C1 00 18 */ stw r30, 0x18(r1) -/* 803211FC 0031E15C 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80321200 0031E160 41 82 00 90 */ beq lbl_80321290 -/* 80321204 0031E164 3C 60 80 3F */ lis r3, lbl_803EDB48@ha -/* 80321208 0031E168 34 1E 00 18 */ addic. r0, r30, 0x18 -/* 8032120C 0031E16C 38 03 DB 48 */ addi r0, r3, lbl_803EDB48@l -/* 80321210 0031E170 90 1E 00 00 */ stw r0, 0(r30) -/* 80321214 0031E174 41 82 00 44 */ beq lbl_80321258 -/* 80321218 0031E178 80 1E 00 1C */ lwz r0, 0x1c(r30) -/* 8032121C 0031E17C 80 7E 00 24 */ lwz r3, 0x24(r30) -/* 80321220 0031E180 54 00 10 3A */ slwi r0, r0, 2 -/* 80321224 0031E184 7C 03 02 14 */ add r0, r3, r0 -/* 80321228 0031E188 90 61 00 0C */ stw r3, 0xc(r1) -/* 8032122C 0031E18C 7C 64 1B 78 */ mr r4, r3 -/* 80321230 0031E190 90 01 00 14 */ stw r0, 0x14(r1) -/* 80321234 0031E194 90 01 00 10 */ stw r0, 0x10(r1) -/* 80321238 0031E198 90 61 00 08 */ stw r3, 8(r1) -/* 8032123C 0031E19C 48 00 00 08 */ b lbl_80321244 -lbl_80321240: -/* 80321240 0031E1A0 38 84 00 04 */ addi r4, r4, 4 -lbl_80321244: -/* 80321244 0031E1A4 7C 04 00 40 */ cmplw r4, r0 -/* 80321248 0031E1A8 40 82 FF F8 */ bne lbl_80321240 -/* 8032124C 0031E1AC 28 03 00 00 */ cmplwi r3, 0 -/* 80321250 0031E1B0 41 82 00 08 */ beq lbl_80321258 -/* 80321254 0031E1B4 4B FF 46 DD */ bl Free__7CMemoryFPCv -lbl_80321258: -/* 80321258 0031E1B8 28 1E 00 00 */ cmplwi r30, 0 -/* 8032125C 0031E1BC 41 82 00 20 */ beq lbl_8032127C -/* 80321260 0031E1C0 3C 60 80 3F */ lis r3, lbl_803EC584@ha -/* 80321264 0031E1C4 38 03 C5 84 */ addi r0, r3, lbl_803EC584@l -/* 80321268 0031E1C8 90 1E 00 00 */ stw r0, 0(r30) -/* 8032126C 0031E1CC 41 82 00 10 */ beq lbl_8032127C -/* 80321270 0031E1D0 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 80321274 0031E1D4 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 80321278 0031E1D8 90 1E 00 00 */ stw r0, 0(r30) -lbl_8032127C: -/* 8032127C 0031E1DC 7F E0 07 35 */ extsh. r0, r31 -/* 80321280 0031E1E0 40 81 00 10 */ ble lbl_80321290 -/* 80321284 0031E1E4 7F C3 F3 78 */ mr r3, r30 -/* 80321288 0031E1E8 38 80 00 28 */ li r4, 0x28 -/* 8032128C 0031E1EC 48 04 B7 D9 */ bl sub_8036ca64 -lbl_80321290: -/* 80321290 0031E1F0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80321294 0031E1F4 7F C3 F3 78 */ mr r3, r30 -/* 80321298 0031E1F8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8032129C 0031E1FC 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 803212A0 0031E200 7C 08 03 A6 */ mtlr r0 -/* 803212A4 0031E204 38 21 00 20 */ addi r1, r1, 0x20 -/* 803212A8 0031E208 4E 80 00 20 */ blr - -.global __ct__18CIEKeyframeEmitterFR12CInputStream -__ct__18CIEKeyframeEmitterFR12CInputStream: -/* 803212AC 0031E20C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 803212B0 0031E210 7C 08 02 A6 */ mflr r0 -/* 803212B4 0031E214 3C A0 80 3F */ lis r5, lbl_803EC584@ha -/* 803212B8 0031E218 90 01 00 24 */ stw r0, 0x24(r1) -/* 803212BC 0031E21C BF 61 00 0C */ stmw r27, 0xc(r1) -/* 803212C0 0031E220 7C 7E 1B 78 */ mr r30, r3 -/* 803212C4 0031E224 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 803212C8 0031E228 7C 9F 23 78 */ mr r31, r4 -/* 803212CC 0031E22C 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 803212D0 0031E230 7F C6 F3 78 */ mr r6, r30 -/* 803212D4 0031E234 3C 60 80 3F */ lis r3, lbl_803EDB48@ha -/* 803212D8 0031E238 90 1E 00 00 */ stw r0, 0(r30) -/* 803212DC 0031E23C 38 05 C5 84 */ addi r0, r5, lbl_803EC584@l -/* 803212E0 0031E240 90 1E 00 00 */ stw r0, 0(r30) -/* 803212E4 0031E244 38 03 DB 48 */ addi r0, r3, lbl_803EDB48@l -/* 803212E8 0031E248 7F E3 FB 78 */ mr r3, r31 -/* 803212EC 0031E24C 90 1E 00 00 */ stw r0, 0(r30) -/* 803212F0 0031E250 48 01 D9 95 */ bl ReadLong__12CInputStreamFv -/* 803212F4 0031E254 90 7E 00 04 */ stw r3, 4(r30) -/* 803212F8 0031E258 7F E3 FB 78 */ mr r3, r31 -/* 803212FC 0031E25C 48 01 D9 89 */ bl ReadLong__12CInputStreamFv -/* 80321300 0031E260 90 7E 00 08 */ stw r3, 8(r30) -/* 80321304 0031E264 7F E3 FB 78 */ mr r3, r31 -/* 80321308 0031E268 48 01 D9 D5 */ bl ReadBool__12CInputStreamFv -/* 8032130C 0031E26C 98 7E 00 0C */ stb r3, 0xc(r30) -/* 80321310 0031E270 7F E3 FB 78 */ mr r3, r31 -/* 80321314 0031E274 48 01 D9 C9 */ bl ReadBool__12CInputStreamFv -/* 80321318 0031E278 98 7E 00 0D */ stb r3, 0xd(r30) -/* 8032131C 0031E27C 7F E3 FB 78 */ mr r3, r31 -/* 80321320 0031E280 48 01 D9 65 */ bl ReadLong__12CInputStreamFv -/* 80321324 0031E284 90 7E 00 10 */ stw r3, 0x10(r30) -/* 80321328 0031E288 7F E3 FB 78 */ mr r3, r31 -/* 8032132C 0031E28C 48 01 D9 59 */ bl ReadLong__12CInputStreamFv -/* 80321330 0031E290 90 7E 00 14 */ stw r3, 0x14(r30) -/* 80321334 0031E294 38 00 00 00 */ li r0, 0 -/* 80321338 0031E298 7F E3 FB 78 */ mr r3, r31 -/* 8032133C 0031E29C 90 1E 00 1C */ stw r0, 0x1c(r30) -/* 80321340 0031E2A0 90 1E 00 20 */ stw r0, 0x20(r30) -/* 80321344 0031E2A4 90 1E 00 24 */ stw r0, 0x24(r30) -/* 80321348 0031E2A8 48 01 D9 3D */ bl ReadLong__12CInputStreamFv -/* 8032134C 0031E2AC 7C 7B 1B 78 */ mr r27, r3 -/* 80321350 0031E2B0 38 7E 00 18 */ addi r3, r30, 0x18 -/* 80321354 0031E2B4 7F 64 DB 78 */ mr r4, r27 -/* 80321358 0031E2B8 4B D3 89 51 */ bl "reserve__Q24rstl36vectorFi" -/* 8032135C 0031E2BC 3B 80 00 00 */ li r28, 0 -/* 80321360 0031E2C0 48 00 00 60 */ b lbl_803213C0 -lbl_80321364: -/* 80321364 0031E2C4 7F E3 FB 78 */ mr r3, r31 -/* 80321368 0031E2C8 48 01 D9 1D */ bl ReadLong__12CInputStreamFv -/* 8032136C 0031E2CC 80 1E 00 1C */ lwz r0, 0x1c(r30) -/* 80321370 0031E2D0 7C 7D 1B 78 */ mr r29, r3 -/* 80321374 0031E2D4 80 BE 00 20 */ lwz r5, 0x20(r30) -/* 80321378 0031E2D8 7C 00 28 00 */ cmpw r0, r5 -/* 8032137C 0031E2DC 41 80 00 1C */ blt lbl_80321398 -/* 80321380 0031E2E0 2C 05 00 00 */ cmpwi r5, 0 -/* 80321384 0031E2E4 38 7E 00 18 */ addi r3, r30, 0x18 -/* 80321388 0031E2E8 38 80 00 04 */ li r4, 4 -/* 8032138C 0031E2EC 41 82 00 08 */ beq lbl_80321394 -/* 80321390 0031E2F0 54 A4 08 3C */ slwi r4, r5, 1 -lbl_80321394: -/* 80321394 0031E2F4 4B D3 89 15 */ bl "reserve__Q24rstl36vectorFi" -lbl_80321398: -/* 80321398 0031E2F8 80 1E 00 1C */ lwz r0, 0x1c(r30) -/* 8032139C 0031E2FC 80 7E 00 24 */ lwz r3, 0x24(r30) -/* 803213A0 0031E300 54 00 10 3A */ slwi r0, r0, 2 -/* 803213A4 0031E304 7C 63 02 15 */ add. r3, r3, r0 -/* 803213A8 0031E308 41 82 00 08 */ beq lbl_803213B0 -/* 803213AC 0031E30C 93 A3 00 00 */ stw r29, 0(r3) -lbl_803213B0: -/* 803213B0 0031E310 80 7E 00 1C */ lwz r3, 0x1c(r30) -/* 803213B4 0031E314 3B 9C 00 01 */ addi r28, r28, 1 -/* 803213B8 0031E318 38 03 00 01 */ addi r0, r3, 1 -/* 803213BC 0031E31C 90 1E 00 1C */ stw r0, 0x1c(r30) -lbl_803213C0: -/* 803213C0 0031E320 7C 1C D8 00 */ cmpw r28, r27 -/* 803213C4 0031E324 41 80 FF A0 */ blt lbl_80321364 -/* 803213C8 0031E328 7F C3 F3 78 */ mr r3, r30 -/* 803213CC 0031E32C BB 61 00 0C */ lmw r27, 0xc(r1) -/* 803213D0 0031E330 80 01 00 24 */ lwz r0, 0x24(r1) -/* 803213D4 0031E334 7C 08 03 A6 */ mtlr r0 -/* 803213D8 0031E338 38 21 00 20 */ addi r1, r1, 0x20 -/* 803213DC 0031E33C 4E 80 00 20 */ blr - -.global GetValue__18CIELifetimePercentCFiRi -GetValue__18CIELifetimePercentCFiRi: -/* 803213E0 0031E340 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 803213E4 0031E344 7C 08 02 A6 */ mflr r0 -/* 803213E8 0031E348 90 01 00 34 */ stw r0, 0x34(r1) -/* 803213EC 0031E34C 38 00 00 00 */ li r0, 0 -/* 803213F0 0031E350 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 803213F4 0031E354 7C BF 2B 78 */ mr r31, r5 -/* 803213F8 0031E358 38 A1 00 08 */ addi r5, r1, 8 -/* 803213FC 0031E35C 90 01 00 08 */ stw r0, 8(r1) -/* 80321400 0031E360 80 63 00 04 */ lwz r3, 4(r3) -/* 80321404 0031E364 81 83 00 00 */ lwz r12, 0(r3) -/* 80321408 0031E368 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8032140C 0031E36C 7D 89 03 A6 */ mtctr r12 -/* 80321410 0031E370 4E 80 04 21 */ bctrl -/* 80321414 0031E374 80 01 00 08 */ lwz r0, 8(r1) -/* 80321418 0031E378 2C 00 00 00 */ cmpwi r0, 0 -/* 8032141C 0031E37C 40 80 00 0C */ bge lbl_80321428 -/* 80321420 0031E380 38 00 00 00 */ li r0, 0 -/* 80321424 0031E384 90 01 00 08 */ stw r0, 8(r1) -lbl_80321428: -/* 80321428 0031E388 80 81 00 08 */ lwz r4, 8(r1) -/* 8032142C 0031E38C 3C 00 43 30 */ lis r0, 0x4330 -/* 80321430 0031E390 90 01 00 10 */ stw r0, 0x10(r1) -/* 80321434 0031E394 38 60 00 00 */ li r3, 0 -/* 80321438 0031E398 6C 80 80 00 */ xoris r0, r4, 0x8000 -/* 8032143C 0031E39C C8 62 CA 58 */ lfd f3, lbl_805AE778@sda21(r2) -/* 80321440 0031E3A0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80321444 0031E3A4 C0 42 CA 64 */ lfs f2, lbl_805AE784@sda21(r2) -/* 80321448 0031E3A8 C8 01 00 10 */ lfd f0, 0x10(r1) -/* 8032144C 0031E3AC C0 2D A8 D4 */ lfs f1, lbl_805A9494@sda21(r13) -/* 80321450 0031E3B0 EC 60 18 28 */ fsubs f3, f0, f3 -/* 80321454 0031E3B4 C0 02 CA 60 */ lfs f0, lbl_805AE780@sda21(r2) -/* 80321458 0031E3B8 EC 43 10 24 */ fdivs f2, f3, f2 -/* 8032145C 0031E3BC EC 02 00 7A */ fmadds f0, f2, f1, f0 -/* 80321460 0031E3C0 FC 00 00 1E */ fctiwz f0, f0 -/* 80321464 0031E3C4 D8 01 00 18 */ stfd f0, 0x18(r1) -/* 80321468 0031E3C8 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 8032146C 0031E3CC 90 1F 00 00 */ stw r0, 0(r31) -/* 80321470 0031E3D0 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80321474 0031E3D4 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80321478 0031E3D8 7C 08 03 A6 */ mtlr r0 -/* 8032147C 0031E3DC 38 21 00 30 */ addi r1, r1, 0x30 -/* 80321480 0031E3E0 4E 80 00 20 */ blr - -.global __dt__18CIELifetimePercent -__dt__18CIELifetimePercent: -/* 80321484 0031E3E4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80321488 0031E3E8 7C 08 02 A6 */ mflr r0 -/* 8032148C 0031E3EC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80321490 0031E3F0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80321494 0031E3F4 7C 9F 23 78 */ mr r31, r4 -/* 80321498 0031E3F8 93 C1 00 08 */ stw r30, 8(r1) -/* 8032149C 0031E3FC 7C 7E 1B 79 */ or. r30, r3, r3 -/* 803214A0 0031E400 41 82 00 68 */ beq lbl_80321508 -/* 803214A4 0031E404 3C 60 80 3F */ lis r3, lbl_803EDB58@ha -/* 803214A8 0031E408 38 03 DB 58 */ addi r0, r3, lbl_803EDB58@l -/* 803214AC 0031E40C 90 1E 00 00 */ stw r0, 0(r30) -/* 803214B0 0031E410 80 7E 00 04 */ lwz r3, 4(r30) -/* 803214B4 0031E414 28 03 00 00 */ cmplwi r3, 0 -/* 803214B8 0031E418 41 82 00 18 */ beq lbl_803214D0 -/* 803214BC 0031E41C 81 83 00 00 */ lwz r12, 0(r3) -/* 803214C0 0031E420 38 80 00 01 */ li r4, 1 -/* 803214C4 0031E424 81 8C 00 08 */ lwz r12, 8(r12) -/* 803214C8 0031E428 7D 89 03 A6 */ mtctr r12 -/* 803214CC 0031E42C 4E 80 04 21 */ bctrl -lbl_803214D0: -/* 803214D0 0031E430 28 1E 00 00 */ cmplwi r30, 0 -/* 803214D4 0031E434 41 82 00 20 */ beq lbl_803214F4 -/* 803214D8 0031E438 3C 60 80 3F */ lis r3, lbl_803EC584@ha -/* 803214DC 0031E43C 38 03 C5 84 */ addi r0, r3, lbl_803EC584@l -/* 803214E0 0031E440 90 1E 00 00 */ stw r0, 0(r30) -/* 803214E4 0031E444 41 82 00 10 */ beq lbl_803214F4 -/* 803214E8 0031E448 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 803214EC 0031E44C 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 803214F0 0031E450 90 1E 00 00 */ stw r0, 0(r30) -lbl_803214F4: -/* 803214F4 0031E454 7F E0 07 35 */ extsh. r0, r31 -/* 803214F8 0031E458 40 81 00 10 */ ble lbl_80321508 -/* 803214FC 0031E45C 7F C3 F3 78 */ mr r3, r30 -/* 80321500 0031E460 38 80 00 08 */ li r4, 8 -/* 80321504 0031E464 48 04 B5 61 */ bl sub_8036ca64 -lbl_80321508: -/* 80321508 0031E468 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8032150C 0031E46C 7F C3 F3 78 */ mr r3, r30 -/* 80321510 0031E470 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80321514 0031E474 83 C1 00 08 */ lwz r30, 8(r1) -/* 80321518 0031E478 7C 08 03 A6 */ mtlr r0 -/* 8032151C 0031E47C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80321520 0031E480 4E 80 00 20 */ blr - -.global __ct__18CIELifetimePercentFP11CIntElement -__ct__18CIELifetimePercentFP11CIntElement: -/* 80321524 0031E484 3C E0 80 3F */ lis r7, lbl_803EC5A8@ha -/* 80321528 0031E488 3C C0 80 3F */ lis r6, lbl_803EC584@ha -/* 8032152C 0031E48C 38 07 C5 A8 */ addi r0, r7, lbl_803EC5A8@l -/* 80321530 0031E490 3C A0 80 3F */ lis r5, lbl_803EDB58@ha -/* 80321534 0031E494 90 03 00 00 */ stw r0, 0(r3) -/* 80321538 0031E498 38 C6 C5 84 */ addi r6, r6, lbl_803EC584@l -/* 8032153C 0031E49C 38 05 DB 58 */ addi r0, r5, lbl_803EDB58@l -/* 80321540 0031E4A0 90 C3 00 00 */ stw r6, 0(r3) -/* 80321544 0031E4A4 90 03 00 00 */ stw r0, 0(r3) -/* 80321548 0031E4A8 90 83 00 04 */ stw r4, 4(r3) -/* 8032154C 0031E4AC 4E 80 00 20 */ blr - -.global GetValue__8CIEPulseCFiRi -GetValue__8CIEPulseCFiRi: -/* 80321550 0031E4B0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80321554 0031E4B4 7C 08 02 A6 */ mflr r0 -/* 80321558 0031E4B8 90 01 00 24 */ stw r0, 0x24(r1) -/* 8032155C 0031E4BC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80321560 0031E4C0 7C BF 2B 78 */ mr r31, r5 -/* 80321564 0031E4C4 38 A1 00 0C */ addi r5, r1, 0xc -/* 80321568 0031E4C8 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8032156C 0031E4CC 7C 9E 23 78 */ mr r30, r4 -/* 80321570 0031E4D0 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80321574 0031E4D4 7C 7D 1B 78 */ mr r29, r3 -/* 80321578 0031E4D8 80 63 00 04 */ lwz r3, 4(r3) -/* 8032157C 0031E4DC 81 83 00 00 */ lwz r12, 0(r3) -/* 80321580 0031E4E0 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80321584 0031E4E4 7D 89 03 A6 */ mtctr r12 -/* 80321588 0031E4E8 4E 80 04 21 */ bctrl -/* 8032158C 0031E4EC 80 7D 00 08 */ lwz r3, 8(r29) -/* 80321590 0031E4F0 7F C4 F3 78 */ mr r4, r30 -/* 80321594 0031E4F4 38 A1 00 08 */ addi r5, r1, 8 -/* 80321598 0031E4F8 81 83 00 00 */ lwz r12, 0(r3) -/* 8032159C 0031E4FC 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 803215A0 0031E500 7D 89 03 A6 */ mtctr r12 -/* 803215A4 0031E504 4E 80 04 21 */ bctrl -/* 803215A8 0031E508 80 61 00 08 */ lwz r3, 8(r1) -/* 803215AC 0031E50C 80 81 00 0C */ lwz r4, 0xc(r1) -/* 803215B0 0031E510 38 A3 00 01 */ addi r5, r3, 1 -/* 803215B4 0031E514 7C A4 2A 15 */ add. r5, r4, r5 -/* 803215B8 0031E518 40 80 00 08 */ bge lbl_803215C0 -/* 803215BC 0031E51C 38 A0 00 01 */ li r5, 1 -lbl_803215C0: -/* 803215C0 0031E520 2C 03 00 01 */ cmpwi r3, 1 -/* 803215C4 0031E524 41 80 00 58 */ blt lbl_8032161C -/* 803215C8 0031E528 7C 1E 2B D6 */ divw r0, r30, r5 -/* 803215CC 0031E52C 7C 00 29 D6 */ mullw r0, r0, r5 -/* 803215D0 0031E530 7C 00 F0 50 */ subf r0, r0, r30 -/* 803215D4 0031E534 7C 00 20 00 */ cmpw r0, r4 -/* 803215D8 0031E538 40 81 00 24 */ ble lbl_803215FC -/* 803215DC 0031E53C 80 7D 00 10 */ lwz r3, 0x10(r29) -/* 803215E0 0031E540 7F C4 F3 78 */ mr r4, r30 -/* 803215E4 0031E544 7F E5 FB 78 */ mr r5, r31 -/* 803215E8 0031E548 81 83 00 00 */ lwz r12, 0(r3) -/* 803215EC 0031E54C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 803215F0 0031E550 7D 89 03 A6 */ mtctr r12 -/* 803215F4 0031E554 4E 80 04 21 */ bctrl -/* 803215F8 0031E558 48 00 00 40 */ b lbl_80321638 -lbl_803215FC: -/* 803215FC 0031E55C 80 7D 00 0C */ lwz r3, 0xc(r29) -/* 80321600 0031E560 7F C4 F3 78 */ mr r4, r30 -/* 80321604 0031E564 7F E5 FB 78 */ mr r5, r31 -/* 80321608 0031E568 81 83 00 00 */ lwz r12, 0(r3) -/* 8032160C 0031E56C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80321610 0031E570 7D 89 03 A6 */ mtctr r12 -/* 80321614 0031E574 4E 80 04 21 */ bctrl -/* 80321618 0031E578 48 00 00 20 */ b lbl_80321638 -lbl_8032161C: -/* 8032161C 0031E57C 80 7D 00 0C */ lwz r3, 0xc(r29) -/* 80321620 0031E580 7F C4 F3 78 */ mr r4, r30 -/* 80321624 0031E584 7F E5 FB 78 */ mr r5, r31 -/* 80321628 0031E588 81 83 00 00 */ lwz r12, 0(r3) -/* 8032162C 0031E58C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80321630 0031E590 7D 89 03 A6 */ mtctr r12 -/* 80321634 0031E594 4E 80 04 21 */ bctrl -lbl_80321638: -/* 80321638 0031E598 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8032163C 0031E59C 38 60 00 00 */ li r3, 0 -/* 80321640 0031E5A0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80321644 0031E5A4 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80321648 0031E5A8 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8032164C 0031E5AC 7C 08 03 A6 */ mtlr r0 -/* 80321650 0031E5B0 38 21 00 20 */ addi r1, r1, 0x20 -/* 80321654 0031E5B4 4E 80 00 20 */ blr - -.global __dt__8CIEPulse -__dt__8CIEPulse: -/* 80321658 0031E5B8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8032165C 0031E5BC 7C 08 02 A6 */ mflr r0 -/* 80321660 0031E5C0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80321664 0031E5C4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80321668 0031E5C8 7C 9F 23 78 */ mr r31, r4 -/* 8032166C 0031E5CC 93 C1 00 08 */ stw r30, 8(r1) -/* 80321670 0031E5D0 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80321674 0031E5D4 41 82 00 C8 */ beq lbl_8032173C -/* 80321678 0031E5D8 3C 60 80 3F */ lis r3, lbl_803EDB68@ha -/* 8032167C 0031E5DC 38 03 DB 68 */ addi r0, r3, lbl_803EDB68@l -/* 80321680 0031E5E0 90 1E 00 00 */ stw r0, 0(r30) -/* 80321684 0031E5E4 80 7E 00 04 */ lwz r3, 4(r30) -/* 80321688 0031E5E8 28 03 00 00 */ cmplwi r3, 0 -/* 8032168C 0031E5EC 41 82 00 18 */ beq lbl_803216A4 -/* 80321690 0031E5F0 81 83 00 00 */ lwz r12, 0(r3) -/* 80321694 0031E5F4 38 80 00 01 */ li r4, 1 -/* 80321698 0031E5F8 81 8C 00 08 */ lwz r12, 8(r12) -/* 8032169C 0031E5FC 7D 89 03 A6 */ mtctr r12 -/* 803216A0 0031E600 4E 80 04 21 */ bctrl -lbl_803216A4: -/* 803216A4 0031E604 80 7E 00 08 */ lwz r3, 8(r30) -/* 803216A8 0031E608 28 03 00 00 */ cmplwi r3, 0 -/* 803216AC 0031E60C 41 82 00 18 */ beq lbl_803216C4 -/* 803216B0 0031E610 81 83 00 00 */ lwz r12, 0(r3) -/* 803216B4 0031E614 38 80 00 01 */ li r4, 1 -/* 803216B8 0031E618 81 8C 00 08 */ lwz r12, 8(r12) -/* 803216BC 0031E61C 7D 89 03 A6 */ mtctr r12 -/* 803216C0 0031E620 4E 80 04 21 */ bctrl -lbl_803216C4: -/* 803216C4 0031E624 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 803216C8 0031E628 28 03 00 00 */ cmplwi r3, 0 -/* 803216CC 0031E62C 41 82 00 18 */ beq lbl_803216E4 -/* 803216D0 0031E630 81 83 00 00 */ lwz r12, 0(r3) -/* 803216D4 0031E634 38 80 00 01 */ li r4, 1 -/* 803216D8 0031E638 81 8C 00 08 */ lwz r12, 8(r12) -/* 803216DC 0031E63C 7D 89 03 A6 */ mtctr r12 -/* 803216E0 0031E640 4E 80 04 21 */ bctrl -lbl_803216E4: -/* 803216E4 0031E644 80 7E 00 10 */ lwz r3, 0x10(r30) -/* 803216E8 0031E648 28 03 00 00 */ cmplwi r3, 0 -/* 803216EC 0031E64C 41 82 00 18 */ beq lbl_80321704 -/* 803216F0 0031E650 81 83 00 00 */ lwz r12, 0(r3) -/* 803216F4 0031E654 38 80 00 01 */ li r4, 1 -/* 803216F8 0031E658 81 8C 00 08 */ lwz r12, 8(r12) -/* 803216FC 0031E65C 7D 89 03 A6 */ mtctr r12 -/* 80321700 0031E660 4E 80 04 21 */ bctrl -lbl_80321704: -/* 80321704 0031E664 28 1E 00 00 */ cmplwi r30, 0 -/* 80321708 0031E668 41 82 00 20 */ beq lbl_80321728 -/* 8032170C 0031E66C 3C 60 80 3F */ lis r3, lbl_803EC584@ha -/* 80321710 0031E670 38 03 C5 84 */ addi r0, r3, lbl_803EC584@l -/* 80321714 0031E674 90 1E 00 00 */ stw r0, 0(r30) -/* 80321718 0031E678 41 82 00 10 */ beq lbl_80321728 -/* 8032171C 0031E67C 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 80321720 0031E680 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 80321724 0031E684 90 1E 00 00 */ stw r0, 0(r30) -lbl_80321728: -/* 80321728 0031E688 7F E0 07 35 */ extsh. r0, r31 -/* 8032172C 0031E68C 40 81 00 10 */ ble lbl_8032173C -/* 80321730 0031E690 7F C3 F3 78 */ mr r3, r30 -/* 80321734 0031E694 38 80 00 14 */ li r4, 0x14 -/* 80321738 0031E698 48 04 B3 2D */ bl sub_8036ca64 -lbl_8032173C: -/* 8032173C 0031E69C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80321740 0031E6A0 7F C3 F3 78 */ mr r3, r30 -/* 80321744 0031E6A4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80321748 0031E6A8 83 C1 00 08 */ lwz r30, 8(r1) -/* 8032174C 0031E6AC 7C 08 03 A6 */ mtlr r0 -/* 80321750 0031E6B0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80321754 0031E6B4 4E 80 00 20 */ blr - -.global __ct__8CIEPulseFP11CIntElementP11CIntElementP11CIntElementP11CIntElement -__ct__8CIEPulseFP11CIntElementP11CIntElementP11CIntElementP11CIntElement: -/* 80321758 0031E6B8 3D 40 80 3F */ lis r10, lbl_803EC5A8@ha -/* 8032175C 0031E6BC 3D 20 80 3F */ lis r9, lbl_803EC584@ha -/* 80321760 0031E6C0 38 0A C5 A8 */ addi r0, r10, lbl_803EC5A8@l -/* 80321764 0031E6C4 3D 00 80 3F */ lis r8, lbl_803EDB68@ha -/* 80321768 0031E6C8 90 03 00 00 */ stw r0, 0(r3) -/* 8032176C 0031E6CC 39 29 C5 84 */ addi r9, r9, lbl_803EC584@l -/* 80321770 0031E6D0 38 08 DB 68 */ addi r0, r8, lbl_803EDB68@l -/* 80321774 0031E6D4 91 23 00 00 */ stw r9, 0(r3) -/* 80321778 0031E6D8 90 03 00 00 */ stw r0, 0(r3) -/* 8032177C 0031E6DC 90 83 00 04 */ stw r4, 4(r3) -/* 80321780 0031E6E0 90 A3 00 08 */ stw r5, 8(r3) -/* 80321784 0031E6E4 90 C3 00 0C */ stw r6, 0xc(r3) -/* 80321788 0031E6E8 90 E3 00 10 */ stw r7, 0x10(r3) -/* 8032178C 0031E6EC 4E 80 00 20 */ blr - -.global GetValue__8CIEClampCFiRi -GetValue__8CIEClampCFiRi: -/* 80321790 0031E6F0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80321794 0031E6F4 7C 08 02 A6 */ mflr r0 -/* 80321798 0031E6F8 90 01 00 24 */ stw r0, 0x24(r1) -/* 8032179C 0031E6FC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 803217A0 0031E700 7C BF 2B 78 */ mr r31, r5 -/* 803217A4 0031E704 38 A1 00 0C */ addi r5, r1, 0xc -/* 803217A8 0031E708 93 C1 00 18 */ stw r30, 0x18(r1) -/* 803217AC 0031E70C 7C 9E 23 78 */ mr r30, r4 -/* 803217B0 0031E710 93 A1 00 14 */ stw r29, 0x14(r1) -/* 803217B4 0031E714 7C 7D 1B 78 */ mr r29, r3 -/* 803217B8 0031E718 80 63 00 04 */ lwz r3, 4(r3) -/* 803217BC 0031E71C 81 83 00 00 */ lwz r12, 0(r3) -/* 803217C0 0031E720 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 803217C4 0031E724 7D 89 03 A6 */ mtctr r12 -/* 803217C8 0031E728 4E 80 04 21 */ bctrl -/* 803217CC 0031E72C 80 7D 00 08 */ lwz r3, 8(r29) -/* 803217D0 0031E730 7F C4 F3 78 */ mr r4, r30 -/* 803217D4 0031E734 38 A1 00 08 */ addi r5, r1, 8 -/* 803217D8 0031E738 81 83 00 00 */ lwz r12, 0(r3) -/* 803217DC 0031E73C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 803217E0 0031E740 7D 89 03 A6 */ mtctr r12 -/* 803217E4 0031E744 4E 80 04 21 */ bctrl -/* 803217E8 0031E748 80 7D 00 0C */ lwz r3, 0xc(r29) -/* 803217EC 0031E74C 7F C4 F3 78 */ mr r4, r30 -/* 803217F0 0031E750 7F E5 FB 78 */ mr r5, r31 -/* 803217F4 0031E754 81 83 00 00 */ lwz r12, 0(r3) -/* 803217F8 0031E758 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 803217FC 0031E75C 7D 89 03 A6 */ mtctr r12 -/* 80321800 0031E760 4E 80 04 21 */ bctrl -/* 80321804 0031E764 80 1F 00 00 */ lwz r0, 0(r31) -/* 80321808 0031E768 80 61 00 08 */ lwz r3, 8(r1) -/* 8032180C 0031E76C 7C 00 18 00 */ cmpw r0, r3 -/* 80321810 0031E770 40 81 00 08 */ ble lbl_80321818 -/* 80321814 0031E774 90 7F 00 00 */ stw r3, 0(r31) -lbl_80321818: -/* 80321818 0031E778 80 1F 00 00 */ lwz r0, 0(r31) -/* 8032181C 0031E77C 80 61 00 0C */ lwz r3, 0xc(r1) -/* 80321820 0031E780 7C 00 18 00 */ cmpw r0, r3 -/* 80321824 0031E784 40 80 00 08 */ bge lbl_8032182C -/* 80321828 0031E788 90 7F 00 00 */ stw r3, 0(r31) -lbl_8032182C: -/* 8032182C 0031E78C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80321830 0031E790 38 60 00 00 */ li r3, 0 -/* 80321834 0031E794 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80321838 0031E798 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8032183C 0031E79C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80321840 0031E7A0 7C 08 03 A6 */ mtlr r0 -/* 80321844 0031E7A4 38 21 00 20 */ addi r1, r1, 0x20 -/* 80321848 0031E7A8 4E 80 00 20 */ blr - -.global __dt__8CIEClamp -__dt__8CIEClamp: -/* 8032184C 0031E7AC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80321850 0031E7B0 7C 08 02 A6 */ mflr r0 -/* 80321854 0031E7B4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80321858 0031E7B8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8032185C 0031E7BC 7C 9F 23 78 */ mr r31, r4 -/* 80321860 0031E7C0 93 C1 00 08 */ stw r30, 8(r1) -/* 80321864 0031E7C4 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80321868 0031E7C8 41 82 00 A8 */ beq lbl_80321910 -/* 8032186C 0031E7CC 3C 60 80 3F */ lis r3, lbl_803EDB78@ha -/* 80321870 0031E7D0 38 03 DB 78 */ addi r0, r3, lbl_803EDB78@l -/* 80321874 0031E7D4 90 1E 00 00 */ stw r0, 0(r30) -/* 80321878 0031E7D8 80 7E 00 04 */ lwz r3, 4(r30) -/* 8032187C 0031E7DC 28 03 00 00 */ cmplwi r3, 0 -/* 80321880 0031E7E0 41 82 00 18 */ beq lbl_80321898 -/* 80321884 0031E7E4 81 83 00 00 */ lwz r12, 0(r3) -/* 80321888 0031E7E8 38 80 00 01 */ li r4, 1 -/* 8032188C 0031E7EC 81 8C 00 08 */ lwz r12, 8(r12) -/* 80321890 0031E7F0 7D 89 03 A6 */ mtctr r12 -/* 80321894 0031E7F4 4E 80 04 21 */ bctrl -lbl_80321898: -/* 80321898 0031E7F8 80 7E 00 08 */ lwz r3, 8(r30) -/* 8032189C 0031E7FC 28 03 00 00 */ cmplwi r3, 0 -/* 803218A0 0031E800 41 82 00 18 */ beq lbl_803218B8 -/* 803218A4 0031E804 81 83 00 00 */ lwz r12, 0(r3) -/* 803218A8 0031E808 38 80 00 01 */ li r4, 1 -/* 803218AC 0031E80C 81 8C 00 08 */ lwz r12, 8(r12) -/* 803218B0 0031E810 7D 89 03 A6 */ mtctr r12 -/* 803218B4 0031E814 4E 80 04 21 */ bctrl -lbl_803218B8: -/* 803218B8 0031E818 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 803218BC 0031E81C 28 03 00 00 */ cmplwi r3, 0 -/* 803218C0 0031E820 41 82 00 18 */ beq lbl_803218D8 -/* 803218C4 0031E824 81 83 00 00 */ lwz r12, 0(r3) -/* 803218C8 0031E828 38 80 00 01 */ li r4, 1 -/* 803218CC 0031E82C 81 8C 00 08 */ lwz r12, 8(r12) -/* 803218D0 0031E830 7D 89 03 A6 */ mtctr r12 -/* 803218D4 0031E834 4E 80 04 21 */ bctrl -lbl_803218D8: -/* 803218D8 0031E838 28 1E 00 00 */ cmplwi r30, 0 -/* 803218DC 0031E83C 41 82 00 20 */ beq lbl_803218FC -/* 803218E0 0031E840 3C 60 80 3F */ lis r3, lbl_803EC584@ha -/* 803218E4 0031E844 38 03 C5 84 */ addi r0, r3, lbl_803EC584@l -/* 803218E8 0031E848 90 1E 00 00 */ stw r0, 0(r30) -/* 803218EC 0031E84C 41 82 00 10 */ beq lbl_803218FC -/* 803218F0 0031E850 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 803218F4 0031E854 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 803218F8 0031E858 90 1E 00 00 */ stw r0, 0(r30) -lbl_803218FC: -/* 803218FC 0031E85C 7F E0 07 35 */ extsh. r0, r31 -/* 80321900 0031E860 40 81 00 10 */ ble lbl_80321910 -/* 80321904 0031E864 7F C3 F3 78 */ mr r3, r30 -/* 80321908 0031E868 38 80 00 10 */ li r4, 0x10 -/* 8032190C 0031E86C 48 04 B1 59 */ bl sub_8036ca64 -lbl_80321910: -/* 80321910 0031E870 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80321914 0031E874 7F C3 F3 78 */ mr r3, r30 -/* 80321918 0031E878 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8032191C 0031E87C 83 C1 00 08 */ lwz r30, 8(r1) -/* 80321920 0031E880 7C 08 03 A6 */ mtlr r0 -/* 80321924 0031E884 38 21 00 10 */ addi r1, r1, 0x10 -/* 80321928 0031E888 4E 80 00 20 */ blr - -.global __ct__8CIEClampFP11CIntElementP11CIntElementP11CIntElement -__ct__8CIEClampFP11CIntElementP11CIntElementP11CIntElement: -/* 8032192C 0031E88C 3D 20 80 3F */ lis r9, lbl_803EC5A8@ha -/* 80321930 0031E890 3D 00 80 3F */ lis r8, lbl_803EC584@ha -/* 80321934 0031E894 38 09 C5 A8 */ addi r0, r9, lbl_803EC5A8@l -/* 80321938 0031E898 3C E0 80 3F */ lis r7, lbl_803EDB78@ha -/* 8032193C 0031E89C 90 03 00 00 */ stw r0, 0(r3) -/* 80321940 0031E8A0 39 08 C5 84 */ addi r8, r8, lbl_803EC584@l -/* 80321944 0031E8A4 38 07 DB 78 */ addi r0, r7, lbl_803EDB78@l -/* 80321948 0031E8A8 91 03 00 00 */ stw r8, 0(r3) -/* 8032194C 0031E8AC 90 03 00 00 */ stw r0, 0(r3) -/* 80321950 0031E8B0 90 83 00 04 */ stw r4, 4(r3) -/* 80321954 0031E8B4 90 A3 00 08 */ stw r5, 8(r3) -/* 80321958 0031E8B8 90 C3 00 0C */ stw r6, 0xc(r3) -/* 8032195C 0031E8BC 4E 80 00 20 */ blr - -.global GetValue__12CIETimeChainCFiRi -GetValue__12CIETimeChainCFiRi: -/* 80321960 0031E8C0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80321964 0031E8C4 7C 08 02 A6 */ mflr r0 -/* 80321968 0031E8C8 90 01 00 24 */ stw r0, 0x24(r1) -/* 8032196C 0031E8CC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80321970 0031E8D0 7C BF 2B 78 */ mr r31, r5 -/* 80321974 0031E8D4 38 A1 00 08 */ addi r5, r1, 8 -/* 80321978 0031E8D8 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8032197C 0031E8DC 7C 9E 23 78 */ mr r30, r4 -/* 80321980 0031E8E0 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80321984 0031E8E4 7C 7D 1B 78 */ mr r29, r3 -/* 80321988 0031E8E8 80 63 00 0C */ lwz r3, 0xc(r3) -/* 8032198C 0031E8EC 81 83 00 00 */ lwz r12, 0(r3) -/* 80321990 0031E8F0 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80321994 0031E8F4 7D 89 03 A6 */ mtctr r12 -/* 80321998 0031E8F8 4E 80 04 21 */ bctrl -/* 8032199C 0031E8FC 80 01 00 08 */ lwz r0, 8(r1) -/* 803219A0 0031E900 7C 1E 00 00 */ cmpw r30, r0 -/* 803219A4 0031E904 40 80 00 24 */ bge lbl_803219C8 -/* 803219A8 0031E908 80 7D 00 04 */ lwz r3, 4(r29) -/* 803219AC 0031E90C 7F C4 F3 78 */ mr r4, r30 -/* 803219B0 0031E910 7F E5 FB 78 */ mr r5, r31 -/* 803219B4 0031E914 81 83 00 00 */ lwz r12, 0(r3) -/* 803219B8 0031E918 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 803219BC 0031E91C 7D 89 03 A6 */ mtctr r12 -/* 803219C0 0031E920 4E 80 04 21 */ bctrl -/* 803219C4 0031E924 48 00 00 20 */ b lbl_803219E4 -lbl_803219C8: -/* 803219C8 0031E928 80 7D 00 08 */ lwz r3, 8(r29) -/* 803219CC 0031E92C 7F E5 FB 78 */ mr r5, r31 -/* 803219D0 0031E930 7C 80 F0 50 */ subf r4, r0, r30 -/* 803219D4 0031E934 81 83 00 00 */ lwz r12, 0(r3) -/* 803219D8 0031E938 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 803219DC 0031E93C 7D 89 03 A6 */ mtctr r12 -/* 803219E0 0031E940 4E 80 04 21 */ bctrl -lbl_803219E4: -/* 803219E4 0031E944 80 01 00 24 */ lwz r0, 0x24(r1) -/* 803219E8 0031E948 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 803219EC 0031E94C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 803219F0 0031E950 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 803219F4 0031E954 7C 08 03 A6 */ mtlr r0 -/* 803219F8 0031E958 38 21 00 20 */ addi r1, r1, 0x20 -/* 803219FC 0031E95C 4E 80 00 20 */ blr - -.global __dt__12CIETimeChain -__dt__12CIETimeChain: -/* 80321A00 0031E960 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80321A04 0031E964 7C 08 02 A6 */ mflr r0 -/* 80321A08 0031E968 90 01 00 14 */ stw r0, 0x14(r1) -/* 80321A0C 0031E96C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80321A10 0031E970 7C 9F 23 78 */ mr r31, r4 -/* 80321A14 0031E974 93 C1 00 08 */ stw r30, 8(r1) -/* 80321A18 0031E978 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80321A1C 0031E97C 41 82 00 A8 */ beq lbl_80321AC4 -/* 80321A20 0031E980 3C 60 80 3F */ lis r3, lbl_803EDB88@ha -/* 80321A24 0031E984 38 03 DB 88 */ addi r0, r3, lbl_803EDB88@l -/* 80321A28 0031E988 90 1E 00 00 */ stw r0, 0(r30) -/* 80321A2C 0031E98C 80 7E 00 04 */ lwz r3, 4(r30) -/* 80321A30 0031E990 28 03 00 00 */ cmplwi r3, 0 -/* 80321A34 0031E994 41 82 00 18 */ beq lbl_80321A4C -/* 80321A38 0031E998 81 83 00 00 */ lwz r12, 0(r3) -/* 80321A3C 0031E99C 38 80 00 01 */ li r4, 1 -/* 80321A40 0031E9A0 81 8C 00 08 */ lwz r12, 8(r12) -/* 80321A44 0031E9A4 7D 89 03 A6 */ mtctr r12 -/* 80321A48 0031E9A8 4E 80 04 21 */ bctrl -lbl_80321A4C: -/* 80321A4C 0031E9AC 80 7E 00 08 */ lwz r3, 8(r30) -/* 80321A50 0031E9B0 28 03 00 00 */ cmplwi r3, 0 -/* 80321A54 0031E9B4 41 82 00 18 */ beq lbl_80321A6C -/* 80321A58 0031E9B8 81 83 00 00 */ lwz r12, 0(r3) -/* 80321A5C 0031E9BC 38 80 00 01 */ li r4, 1 -/* 80321A60 0031E9C0 81 8C 00 08 */ lwz r12, 8(r12) -/* 80321A64 0031E9C4 7D 89 03 A6 */ mtctr r12 -/* 80321A68 0031E9C8 4E 80 04 21 */ bctrl -lbl_80321A6C: -/* 80321A6C 0031E9CC 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 80321A70 0031E9D0 28 03 00 00 */ cmplwi r3, 0 -/* 80321A74 0031E9D4 41 82 00 18 */ beq lbl_80321A8C -/* 80321A78 0031E9D8 81 83 00 00 */ lwz r12, 0(r3) -/* 80321A7C 0031E9DC 38 80 00 01 */ li r4, 1 -/* 80321A80 0031E9E0 81 8C 00 08 */ lwz r12, 8(r12) -/* 80321A84 0031E9E4 7D 89 03 A6 */ mtctr r12 -/* 80321A88 0031E9E8 4E 80 04 21 */ bctrl -lbl_80321A8C: -/* 80321A8C 0031E9EC 28 1E 00 00 */ cmplwi r30, 0 -/* 80321A90 0031E9F0 41 82 00 20 */ beq lbl_80321AB0 -/* 80321A94 0031E9F4 3C 60 80 3F */ lis r3, lbl_803EC584@ha -/* 80321A98 0031E9F8 38 03 C5 84 */ addi r0, r3, lbl_803EC584@l -/* 80321A9C 0031E9FC 90 1E 00 00 */ stw r0, 0(r30) -/* 80321AA0 0031EA00 41 82 00 10 */ beq lbl_80321AB0 -/* 80321AA4 0031EA04 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 80321AA8 0031EA08 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 80321AAC 0031EA0C 90 1E 00 00 */ stw r0, 0(r30) -lbl_80321AB0: -/* 80321AB0 0031EA10 7F E0 07 35 */ extsh. r0, r31 -/* 80321AB4 0031EA14 40 81 00 10 */ ble lbl_80321AC4 -/* 80321AB8 0031EA18 7F C3 F3 78 */ mr r3, r30 -/* 80321ABC 0031EA1C 38 80 00 10 */ li r4, 0x10 -/* 80321AC0 0031EA20 48 04 AF A5 */ bl sub_8036ca64 -lbl_80321AC4: -/* 80321AC4 0031EA24 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80321AC8 0031EA28 7F C3 F3 78 */ mr r3, r30 -/* 80321ACC 0031EA2C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80321AD0 0031EA30 83 C1 00 08 */ lwz r30, 8(r1) -/* 80321AD4 0031EA34 7C 08 03 A6 */ mtlr r0 -/* 80321AD8 0031EA38 38 21 00 10 */ addi r1, r1, 0x10 -/* 80321ADC 0031EA3C 4E 80 00 20 */ blr - -.global __ct__12CIETimeChainFP11CIntElementP11CIntElementP11CIntElement -__ct__12CIETimeChainFP11CIntElementP11CIntElementP11CIntElement: -/* 80321AE0 0031EA40 3D 20 80 3F */ lis r9, lbl_803EC5A8@ha -/* 80321AE4 0031EA44 3D 00 80 3F */ lis r8, lbl_803EC584@ha -/* 80321AE8 0031EA48 38 09 C5 A8 */ addi r0, r9, lbl_803EC5A8@l -/* 80321AEC 0031EA4C 3C E0 80 3F */ lis r7, lbl_803EDB88@ha -/* 80321AF0 0031EA50 90 03 00 00 */ stw r0, 0(r3) -/* 80321AF4 0031EA54 39 08 C5 84 */ addi r8, r8, lbl_803EC584@l -/* 80321AF8 0031EA58 38 07 DB 88 */ addi r0, r7, lbl_803EDB88@l -/* 80321AFC 0031EA5C 91 03 00 00 */ stw r8, 0(r3) -/* 80321B00 0031EA60 90 03 00 00 */ stw r0, 0(r3) -/* 80321B04 0031EA64 90 83 00 04 */ stw r4, 4(r3) -/* 80321B08 0031EA68 90 A3 00 08 */ stw r5, 8(r3) -/* 80321B0C 0031EA6C 90 C3 00 0C */ stw r6, 0xc(r3) -/* 80321B10 0031EA70 4E 80 00 20 */ blr - -.global GetValue__16CIEInitialRandomCFiRi -GetValue__16CIEInitialRandomCFiRi: -/* 80321B14 0031EA74 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80321B18 0031EA78 7C 08 02 A6 */ mflr r0 -/* 80321B1C 0031EA7C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80321B20 0031EA80 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80321B24 0031EA84 7C BF 2B 78 */ mr r31, r5 -/* 80321B28 0031EA88 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80321B2C 0031EA8C 7C 9E 23 79 */ or. r30, r4, r4 -/* 80321B30 0031EA90 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80321B34 0031EA94 7C 7D 1B 78 */ mr r29, r3 -/* 80321B38 0031EA98 40 82 00 4C */ bne lbl_80321B84 -/* 80321B3C 0031EA9C 80 7D 00 04 */ lwz r3, 4(r29) -/* 80321B40 0031EAA0 38 A1 00 0C */ addi r5, r1, 0xc -/* 80321B44 0031EAA4 81 83 00 00 */ lwz r12, 0(r3) -/* 80321B48 0031EAA8 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80321B4C 0031EAAC 7D 89 03 A6 */ mtctr r12 -/* 80321B50 0031EAB0 4E 80 04 21 */ bctrl -/* 80321B54 0031EAB4 80 7D 00 08 */ lwz r3, 8(r29) -/* 80321B58 0031EAB8 7F C4 F3 78 */ mr r4, r30 -/* 80321B5C 0031EABC 38 A1 00 08 */ addi r5, r1, 8 -/* 80321B60 0031EAC0 81 83 00 00 */ lwz r12, 0(r3) -/* 80321B64 0031EAC4 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80321B68 0031EAC8 7D 89 03 A6 */ mtctr r12 -/* 80321B6C 0031EACC 4E 80 04 21 */ bctrl -/* 80321B70 0031EAD0 4B FF 0A 8D */ bl GetRandomNumber__9CRandom16Fv -/* 80321B74 0031EAD4 80 81 00 0C */ lwz r4, 0xc(r1) -/* 80321B78 0031EAD8 80 A1 00 08 */ lwz r5, 8(r1) -/* 80321B7C 0031EADC 4B FF 0A 19 */ bl Range__9CRandom16Fii -/* 80321B80 0031EAE0 90 7F 00 00 */ stw r3, 0(r31) -lbl_80321B84: -/* 80321B84 0031EAE4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80321B88 0031EAE8 38 60 00 00 */ li r3, 0 -/* 80321B8C 0031EAEC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80321B90 0031EAF0 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80321B94 0031EAF4 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80321B98 0031EAF8 7C 08 03 A6 */ mtlr r0 -/* 80321B9C 0031EAFC 38 21 00 20 */ addi r1, r1, 0x20 -/* 80321BA0 0031EB00 4E 80 00 20 */ blr - -.global __dt__16CIEInitialRandom -__dt__16CIEInitialRandom: -/* 80321BA4 0031EB04 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80321BA8 0031EB08 7C 08 02 A6 */ mflr r0 -/* 80321BAC 0031EB0C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80321BB0 0031EB10 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80321BB4 0031EB14 7C 9F 23 78 */ mr r31, r4 -/* 80321BB8 0031EB18 93 C1 00 08 */ stw r30, 8(r1) -/* 80321BBC 0031EB1C 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80321BC0 0031EB20 41 82 00 88 */ beq lbl_80321C48 -/* 80321BC4 0031EB24 3C 60 80 3F */ lis r3, lbl_803EDB98@ha -/* 80321BC8 0031EB28 38 03 DB 98 */ addi r0, r3, lbl_803EDB98@l -/* 80321BCC 0031EB2C 90 1E 00 00 */ stw r0, 0(r30) -/* 80321BD0 0031EB30 80 7E 00 04 */ lwz r3, 4(r30) -/* 80321BD4 0031EB34 28 03 00 00 */ cmplwi r3, 0 -/* 80321BD8 0031EB38 41 82 00 18 */ beq lbl_80321BF0 -/* 80321BDC 0031EB3C 81 83 00 00 */ lwz r12, 0(r3) -/* 80321BE0 0031EB40 38 80 00 01 */ li r4, 1 -/* 80321BE4 0031EB44 81 8C 00 08 */ lwz r12, 8(r12) -/* 80321BE8 0031EB48 7D 89 03 A6 */ mtctr r12 -/* 80321BEC 0031EB4C 4E 80 04 21 */ bctrl -lbl_80321BF0: -/* 80321BF0 0031EB50 80 7E 00 08 */ lwz r3, 8(r30) -/* 80321BF4 0031EB54 28 03 00 00 */ cmplwi r3, 0 -/* 80321BF8 0031EB58 41 82 00 18 */ beq lbl_80321C10 -/* 80321BFC 0031EB5C 81 83 00 00 */ lwz r12, 0(r3) -/* 80321C00 0031EB60 38 80 00 01 */ li r4, 1 -/* 80321C04 0031EB64 81 8C 00 08 */ lwz r12, 8(r12) -/* 80321C08 0031EB68 7D 89 03 A6 */ mtctr r12 -/* 80321C0C 0031EB6C 4E 80 04 21 */ bctrl -lbl_80321C10: -/* 80321C10 0031EB70 28 1E 00 00 */ cmplwi r30, 0 -/* 80321C14 0031EB74 41 82 00 20 */ beq lbl_80321C34 -/* 80321C18 0031EB78 3C 60 80 3F */ lis r3, lbl_803EC584@ha -/* 80321C1C 0031EB7C 38 03 C5 84 */ addi r0, r3, lbl_803EC584@l -/* 80321C20 0031EB80 90 1E 00 00 */ stw r0, 0(r30) -/* 80321C24 0031EB84 41 82 00 10 */ beq lbl_80321C34 -/* 80321C28 0031EB88 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 80321C2C 0031EB8C 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 80321C30 0031EB90 90 1E 00 00 */ stw r0, 0(r30) -lbl_80321C34: -/* 80321C34 0031EB94 7F E0 07 35 */ extsh. r0, r31 -/* 80321C38 0031EB98 40 81 00 10 */ ble lbl_80321C48 -/* 80321C3C 0031EB9C 7F C3 F3 78 */ mr r3, r30 -/* 80321C40 0031EBA0 38 80 00 0C */ li r4, 0xc -/* 80321C44 0031EBA4 48 04 AE 21 */ bl sub_8036ca64 -lbl_80321C48: -/* 80321C48 0031EBA8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80321C4C 0031EBAC 7F C3 F3 78 */ mr r3, r30 -/* 80321C50 0031EBB0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80321C54 0031EBB4 83 C1 00 08 */ lwz r30, 8(r1) -/* 80321C58 0031EBB8 7C 08 03 A6 */ mtlr r0 -/* 80321C5C 0031EBBC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80321C60 0031EBC0 4E 80 00 20 */ blr - -.global __ct__16CIEInitialRandomFP11CIntElementP11CIntElement -__ct__16CIEInitialRandomFP11CIntElementP11CIntElement: -/* 80321C64 0031EBC4 3D 00 80 3F */ lis r8, lbl_803EC5A8@ha -/* 80321C68 0031EBC8 3C E0 80 3F */ lis r7, lbl_803EC584@ha -/* 80321C6C 0031EBCC 38 08 C5 A8 */ addi r0, r8, lbl_803EC5A8@l -/* 80321C70 0031EBD0 3C C0 80 3F */ lis r6, lbl_803EDB98@ha -/* 80321C74 0031EBD4 90 03 00 00 */ stw r0, 0(r3) -/* 80321C78 0031EBD8 38 E7 C5 84 */ addi r7, r7, lbl_803EC584@l -/* 80321C7C 0031EBDC 38 06 DB 98 */ addi r0, r6, lbl_803EDB98@l -/* 80321C80 0031EBE0 90 E3 00 00 */ stw r7, 0(r3) -/* 80321C84 0031EBE4 90 03 00 00 */ stw r0, 0(r3) -/* 80321C88 0031EBE8 90 83 00 04 */ stw r4, 4(r3) -/* 80321C8C 0031EBEC 90 A3 00 08 */ stw r5, 8(r3) -/* 80321C90 0031EBF0 4E 80 00 20 */ blr - -.global GetValue__12CIETimescaleCFiRi -GetValue__12CIETimescaleCFiRi: -/* 80321C94 0031EBF4 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80321C98 0031EBF8 7C 08 02 A6 */ mflr r0 -/* 80321C9C 0031EBFC 90 01 00 34 */ stw r0, 0x34(r1) -/* 80321CA0 0031EC00 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80321CA4 0031EC04 7C BF 2B 78 */ mr r31, r5 -/* 80321CA8 0031EC08 38 A1 00 08 */ addi r5, r1, 8 -/* 80321CAC 0031EC0C 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80321CB0 0031EC10 7C 9E 23 78 */ mr r30, r4 -/* 80321CB4 0031EC14 80 63 00 04 */ lwz r3, 4(r3) -/* 80321CB8 0031EC18 81 83 00 00 */ lwz r12, 0(r3) -/* 80321CBC 0031EC1C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80321CC0 0031EC20 7D 89 03 A6 */ mtctr r12 -/* 80321CC4 0031EC24 4E 80 04 21 */ bctrl -/* 80321CC8 0031EC28 6F C3 80 00 */ xoris r3, r30, 0x8000 -/* 80321CCC 0031EC2C 3C 00 43 30 */ lis r0, 0x4330 -/* 80321CD0 0031EC30 90 61 00 14 */ stw r3, 0x14(r1) -/* 80321CD4 0031EC34 38 60 00 00 */ li r3, 0 -/* 80321CD8 0031EC38 C8 42 CA 58 */ lfd f2, lbl_805AE778@sda21(r2) -/* 80321CDC 0031EC3C 90 01 00 10 */ stw r0, 0x10(r1) -/* 80321CE0 0031EC40 C0 01 00 08 */ lfs f0, 8(r1) -/* 80321CE4 0031EC44 C8 21 00 10 */ lfd f1, 0x10(r1) -/* 80321CE8 0031EC48 EC 21 10 28 */ fsubs f1, f1, f2 -/* 80321CEC 0031EC4C EC 01 00 32 */ fmuls f0, f1, f0 -/* 80321CF0 0031EC50 FC 00 00 1E */ fctiwz f0, f0 -/* 80321CF4 0031EC54 D8 01 00 18 */ stfd f0, 0x18(r1) -/* 80321CF8 0031EC58 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 80321CFC 0031EC5C 90 1F 00 00 */ stw r0, 0(r31) -/* 80321D00 0031EC60 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80321D04 0031EC64 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80321D08 0031EC68 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80321D0C 0031EC6C 7C 08 03 A6 */ mtlr r0 -/* 80321D10 0031EC70 38 21 00 30 */ addi r1, r1, 0x30 -/* 80321D14 0031EC74 4E 80 00 20 */ blr - -.global __dt__12CIETimeScale -__dt__12CIETimeScale: -/* 80321D18 0031EC78 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80321D1C 0031EC7C 7C 08 02 A6 */ mflr r0 -/* 80321D20 0031EC80 90 01 00 14 */ stw r0, 0x14(r1) -/* 80321D24 0031EC84 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80321D28 0031EC88 7C 9F 23 78 */ mr r31, r4 -/* 80321D2C 0031EC8C 93 C1 00 08 */ stw r30, 8(r1) -/* 80321D30 0031EC90 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80321D34 0031EC94 41 82 00 68 */ beq lbl_80321D9C -/* 80321D38 0031EC98 3C 60 80 3F */ lis r3, lbl_803EDBA8@ha -/* 80321D3C 0031EC9C 38 03 DB A8 */ addi r0, r3, lbl_803EDBA8@l -/* 80321D40 0031ECA0 90 1E 00 00 */ stw r0, 0(r30) -/* 80321D44 0031ECA4 80 7E 00 04 */ lwz r3, 4(r30) -/* 80321D48 0031ECA8 28 03 00 00 */ cmplwi r3, 0 -/* 80321D4C 0031ECAC 41 82 00 18 */ beq lbl_80321D64 -/* 80321D50 0031ECB0 81 83 00 00 */ lwz r12, 0(r3) -/* 80321D54 0031ECB4 38 80 00 01 */ li r4, 1 -/* 80321D58 0031ECB8 81 8C 00 08 */ lwz r12, 8(r12) -/* 80321D5C 0031ECBC 7D 89 03 A6 */ mtctr r12 -/* 80321D60 0031ECC0 4E 80 04 21 */ bctrl -lbl_80321D64: -/* 80321D64 0031ECC4 28 1E 00 00 */ cmplwi r30, 0 -/* 80321D68 0031ECC8 41 82 00 20 */ beq lbl_80321D88 -/* 80321D6C 0031ECCC 3C 60 80 3F */ lis r3, lbl_803EC584@ha -/* 80321D70 0031ECD0 38 03 C5 84 */ addi r0, r3, lbl_803EC584@l -/* 80321D74 0031ECD4 90 1E 00 00 */ stw r0, 0(r30) -/* 80321D78 0031ECD8 41 82 00 10 */ beq lbl_80321D88 -/* 80321D7C 0031ECDC 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 80321D80 0031ECE0 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 80321D84 0031ECE4 90 1E 00 00 */ stw r0, 0(r30) -lbl_80321D88: -/* 80321D88 0031ECE8 7F E0 07 35 */ extsh. r0, r31 -/* 80321D8C 0031ECEC 40 81 00 10 */ ble lbl_80321D9C -/* 80321D90 0031ECF0 7F C3 F3 78 */ mr r3, r30 -/* 80321D94 0031ECF4 38 80 00 08 */ li r4, 8 -/* 80321D98 0031ECF8 48 04 AC CD */ bl sub_8036ca64 -lbl_80321D9C: -/* 80321D9C 0031ECFC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80321DA0 0031ED00 7F C3 F3 78 */ mr r3, r30 -/* 80321DA4 0031ED04 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80321DA8 0031ED08 83 C1 00 08 */ lwz r30, 8(r1) -/* 80321DAC 0031ED0C 7C 08 03 A6 */ mtlr r0 -/* 80321DB0 0031ED10 38 21 00 10 */ addi r1, r1, 0x10 -/* 80321DB4 0031ED14 4E 80 00 20 */ blr - -.global __ct__12CIETimescaleFP12CRealElement -__ct__12CIETimescaleFP12CRealElement: -/* 80321DB8 0031ED18 3C E0 80 3F */ lis r7, lbl_803EC5A8@ha -/* 80321DBC 0031ED1C 3C C0 80 3F */ lis r6, lbl_803EC584@ha -/* 80321DC0 0031ED20 38 07 C5 A8 */ addi r0, r7, lbl_803EC5A8@l -/* 80321DC4 0031ED24 3C A0 80 3F */ lis r5, lbl_803EDBA8@ha -/* 80321DC8 0031ED28 90 03 00 00 */ stw r0, 0(r3) -/* 80321DCC 0031ED2C 38 C6 C5 84 */ addi r6, r6, lbl_803EC584@l -/* 80321DD0 0031ED30 38 05 DB A8 */ addi r0, r5, lbl_803EDBA8@l -/* 80321DD4 0031ED34 90 C3 00 00 */ stw r6, 0(r3) -/* 80321DD8 0031ED38 90 03 00 00 */ stw r0, 0(r3) -/* 80321DDC 0031ED3C 90 83 00 04 */ stw r4, 4(r3) -/* 80321DE0 0031ED40 4E 80 00 20 */ blr - -.global GetValue__10CIEImpulseCFiRi -GetValue__10CIEImpulseCFiRi: -/* 80321DE4 0031ED44 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80321DE8 0031ED48 7C 08 02 A6 */ mflr r0 -/* 80321DEC 0031ED4C 2C 04 00 00 */ cmpwi r4, 0 -/* 80321DF0 0031ED50 90 01 00 14 */ stw r0, 0x14(r1) -/* 80321DF4 0031ED54 40 82 00 1C */ bne lbl_80321E10 -/* 80321DF8 0031ED58 80 63 00 04 */ lwz r3, 4(r3) -/* 80321DFC 0031ED5C 81 83 00 00 */ lwz r12, 0(r3) -/* 80321E00 0031ED60 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80321E04 0031ED64 7D 89 03 A6 */ mtctr r12 -/* 80321E08 0031ED68 4E 80 04 21 */ bctrl -/* 80321E0C 0031ED6C 48 00 00 0C */ b lbl_80321E18 -lbl_80321E10: -/* 80321E10 0031ED70 38 00 00 00 */ li r0, 0 -/* 80321E14 0031ED74 90 05 00 00 */ stw r0, 0(r5) -lbl_80321E18: -/* 80321E18 0031ED78 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80321E1C 0031ED7C 38 60 00 00 */ li r3, 0 -/* 80321E20 0031ED80 7C 08 03 A6 */ mtlr r0 -/* 80321E24 0031ED84 38 21 00 10 */ addi r1, r1, 0x10 -/* 80321E28 0031ED88 4E 80 00 20 */ blr - -.global __dt__10CIEImpulse -__dt__10CIEImpulse: -/* 80321E2C 0031ED8C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80321E30 0031ED90 7C 08 02 A6 */ mflr r0 -/* 80321E34 0031ED94 90 01 00 14 */ stw r0, 0x14(r1) -/* 80321E38 0031ED98 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80321E3C 0031ED9C 7C 9F 23 78 */ mr r31, r4 -/* 80321E40 0031EDA0 93 C1 00 08 */ stw r30, 8(r1) -/* 80321E44 0031EDA4 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80321E48 0031EDA8 41 82 00 68 */ beq lbl_80321EB0 -/* 80321E4C 0031EDAC 3C 60 80 3F */ lis r3, lbl_803EDBB8@ha -/* 80321E50 0031EDB0 38 03 DB B8 */ addi r0, r3, lbl_803EDBB8@l -/* 80321E54 0031EDB4 90 1E 00 00 */ stw r0, 0(r30) -/* 80321E58 0031EDB8 80 7E 00 04 */ lwz r3, 4(r30) -/* 80321E5C 0031EDBC 28 03 00 00 */ cmplwi r3, 0 -/* 80321E60 0031EDC0 41 82 00 18 */ beq lbl_80321E78 -/* 80321E64 0031EDC4 81 83 00 00 */ lwz r12, 0(r3) -/* 80321E68 0031EDC8 38 80 00 01 */ li r4, 1 -/* 80321E6C 0031EDCC 81 8C 00 08 */ lwz r12, 8(r12) -/* 80321E70 0031EDD0 7D 89 03 A6 */ mtctr r12 -/* 80321E74 0031EDD4 4E 80 04 21 */ bctrl -lbl_80321E78: -/* 80321E78 0031EDD8 28 1E 00 00 */ cmplwi r30, 0 -/* 80321E7C 0031EDDC 41 82 00 20 */ beq lbl_80321E9C -/* 80321E80 0031EDE0 3C 60 80 3F */ lis r3, lbl_803EC584@ha -/* 80321E84 0031EDE4 38 03 C5 84 */ addi r0, r3, lbl_803EC584@l -/* 80321E88 0031EDE8 90 1E 00 00 */ stw r0, 0(r30) -/* 80321E8C 0031EDEC 41 82 00 10 */ beq lbl_80321E9C -/* 80321E90 0031EDF0 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 80321E94 0031EDF4 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 80321E98 0031EDF8 90 1E 00 00 */ stw r0, 0(r30) -lbl_80321E9C: -/* 80321E9C 0031EDFC 7F E0 07 35 */ extsh. r0, r31 -/* 80321EA0 0031EE00 40 81 00 10 */ ble lbl_80321EB0 -/* 80321EA4 0031EE04 7F C3 F3 78 */ mr r3, r30 -/* 80321EA8 0031EE08 38 80 00 08 */ li r4, 8 -/* 80321EAC 0031EE0C 48 04 AB B9 */ bl sub_8036ca64 -lbl_80321EB0: -/* 80321EB0 0031EE10 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80321EB4 0031EE14 7F C3 F3 78 */ mr r3, r30 -/* 80321EB8 0031EE18 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80321EBC 0031EE1C 83 C1 00 08 */ lwz r30, 8(r1) -/* 80321EC0 0031EE20 7C 08 03 A6 */ mtlr r0 -/* 80321EC4 0031EE24 38 21 00 10 */ addi r1, r1, 0x10 -/* 80321EC8 0031EE28 4E 80 00 20 */ blr - -.global __ct__10CIEImpulseFP11CIntElement -__ct__10CIEImpulseFP11CIntElement: -/* 80321ECC 0031EE2C 3C E0 80 3F */ lis r7, lbl_803EC5A8@ha -/* 80321ED0 0031EE30 3C C0 80 3F */ lis r6, lbl_803EC584@ha -/* 80321ED4 0031EE34 38 07 C5 A8 */ addi r0, r7, lbl_803EC5A8@l -/* 80321ED8 0031EE38 3C A0 80 3F */ lis r5, lbl_803EDBB8@ha -/* 80321EDC 0031EE3C 90 03 00 00 */ stw r0, 0(r3) -/* 80321EE0 0031EE40 38 C6 C5 84 */ addi r6, r6, lbl_803EC584@l -/* 80321EE4 0031EE44 38 05 DB B8 */ addi r0, r5, lbl_803EDBB8@l -/* 80321EE8 0031EE48 90 C3 00 00 */ stw r6, 0(r3) -/* 80321EEC 0031EE4C 90 03 00 00 */ stw r0, 0(r3) -/* 80321EF0 0031EE50 90 83 00 04 */ stw r4, 4(r3) -/* 80321EF4 0031EE54 4E 80 00 20 */ blr - -.global GetValue__16CIESampleAndHoldCFiRi -GetValue__16CIESampleAndHoldCFiRi: -/* 80321EF8 0031EE58 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80321EFC 0031EE5C 7C 08 02 A6 */ mflr r0 -/* 80321F00 0031EE60 90 01 00 24 */ stw r0, 0x24(r1) -/* 80321F04 0031EE64 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80321F08 0031EE68 7C BF 2B 78 */ mr r31, r5 -/* 80321F0C 0031EE6C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80321F10 0031EE70 7C 9E 23 78 */ mr r30, r4 -/* 80321F14 0031EE74 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80321F18 0031EE78 7C 7D 1B 78 */ mr r29, r3 -/* 80321F1C 0031EE7C 80 03 00 08 */ lwz r0, 8(r3) -/* 80321F20 0031EE80 7C 00 F0 00 */ cmpw r0, r30 -/* 80321F24 0031EE84 40 80 00 78 */ bge lbl_80321F9C -/* 80321F28 0031EE88 80 7D 00 0C */ lwz r3, 0xc(r29) -/* 80321F2C 0031EE8C 38 A1 00 0C */ addi r5, r1, 0xc -/* 80321F30 0031EE90 81 83 00 00 */ lwz r12, 0(r3) -/* 80321F34 0031EE94 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80321F38 0031EE98 7D 89 03 A6 */ mtctr r12 -/* 80321F3C 0031EE9C 4E 80 04 21 */ bctrl -/* 80321F40 0031EEA0 80 7D 00 10 */ lwz r3, 0x10(r29) -/* 80321F44 0031EEA4 7F C4 F3 78 */ mr r4, r30 -/* 80321F48 0031EEA8 38 A1 00 08 */ addi r5, r1, 8 -/* 80321F4C 0031EEAC 81 83 00 00 */ lwz r12, 0(r3) -/* 80321F50 0031EEB0 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80321F54 0031EEB4 7D 89 03 A6 */ mtctr r12 -/* 80321F58 0031EEB8 4E 80 04 21 */ bctrl -/* 80321F5C 0031EEBC 4B FF 06 A1 */ bl GetRandomNumber__9CRandom16Fv -/* 80321F60 0031EEC0 80 81 00 0C */ lwz r4, 0xc(r1) -/* 80321F64 0031EEC4 80 A1 00 08 */ lwz r5, 8(r1) -/* 80321F68 0031EEC8 4B FF 06 2D */ bl Range__9CRandom16Fii -/* 80321F6C 0031EECC 7C 1E 1A 14 */ add r0, r30, r3 -/* 80321F70 0031EED0 7F C4 F3 78 */ mr r4, r30 -/* 80321F74 0031EED4 90 1D 00 08 */ stw r0, 8(r29) -/* 80321F78 0031EED8 7F E5 FB 78 */ mr r5, r31 -/* 80321F7C 0031EEDC 80 7D 00 04 */ lwz r3, 4(r29) -/* 80321F80 0031EEE0 81 83 00 00 */ lwz r12, 0(r3) -/* 80321F84 0031EEE4 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80321F88 0031EEE8 7D 89 03 A6 */ mtctr r12 -/* 80321F8C 0031EEEC 4E 80 04 21 */ bctrl -/* 80321F90 0031EEF0 80 1F 00 00 */ lwz r0, 0(r31) -/* 80321F94 0031EEF4 90 1D 00 14 */ stw r0, 0x14(r29) -/* 80321F98 0031EEF8 48 00 00 10 */ b lbl_80321FA8 -lbl_80321F9C: -/* 80321F9C 0031EEFC 80 1D 00 14 */ lwz r0, 0x14(r29) -/* 80321FA0 0031EF00 38 60 00 00 */ li r3, 0 -/* 80321FA4 0031EF04 90 1F 00 00 */ stw r0, 0(r31) -lbl_80321FA8: -/* 80321FA8 0031EF08 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80321FAC 0031EF0C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80321FB0 0031EF10 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80321FB4 0031EF14 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80321FB8 0031EF18 7C 08 03 A6 */ mtlr r0 -/* 80321FBC 0031EF1C 38 21 00 20 */ addi r1, r1, 0x20 -/* 80321FC0 0031EF20 4E 80 00 20 */ blr - -.global __dt__16CIESampleAndHold -__dt__16CIESampleAndHold: -/* 80321FC4 0031EF24 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80321FC8 0031EF28 7C 08 02 A6 */ mflr r0 -/* 80321FCC 0031EF2C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80321FD0 0031EF30 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80321FD4 0031EF34 7C 9F 23 78 */ mr r31, r4 -/* 80321FD8 0031EF38 93 C1 00 08 */ stw r30, 8(r1) -/* 80321FDC 0031EF3C 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80321FE0 0031EF40 41 82 00 A8 */ beq lbl_80322088 -/* 80321FE4 0031EF44 3C 60 80 3F */ lis r3, lbl_803EDBC8@ha -/* 80321FE8 0031EF48 38 03 DB C8 */ addi r0, r3, lbl_803EDBC8@l -/* 80321FEC 0031EF4C 90 1E 00 00 */ stw r0, 0(r30) -/* 80321FF0 0031EF50 80 7E 00 04 */ lwz r3, 4(r30) -/* 80321FF4 0031EF54 28 03 00 00 */ cmplwi r3, 0 -/* 80321FF8 0031EF58 41 82 00 18 */ beq lbl_80322010 -/* 80321FFC 0031EF5C 81 83 00 00 */ lwz r12, 0(r3) -/* 80322000 0031EF60 38 80 00 01 */ li r4, 1 -/* 80322004 0031EF64 81 8C 00 08 */ lwz r12, 8(r12) -/* 80322008 0031EF68 7D 89 03 A6 */ mtctr r12 -/* 8032200C 0031EF6C 4E 80 04 21 */ bctrl -lbl_80322010: -/* 80322010 0031EF70 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 80322014 0031EF74 28 03 00 00 */ cmplwi r3, 0 -/* 80322018 0031EF78 41 82 00 18 */ beq lbl_80322030 -/* 8032201C 0031EF7C 81 83 00 00 */ lwz r12, 0(r3) -/* 80322020 0031EF80 38 80 00 01 */ li r4, 1 -/* 80322024 0031EF84 81 8C 00 08 */ lwz r12, 8(r12) -/* 80322028 0031EF88 7D 89 03 A6 */ mtctr r12 -/* 8032202C 0031EF8C 4E 80 04 21 */ bctrl -lbl_80322030: -/* 80322030 0031EF90 80 7E 00 10 */ lwz r3, 0x10(r30) -/* 80322034 0031EF94 28 03 00 00 */ cmplwi r3, 0 -/* 80322038 0031EF98 41 82 00 18 */ beq lbl_80322050 -/* 8032203C 0031EF9C 81 83 00 00 */ lwz r12, 0(r3) -/* 80322040 0031EFA0 38 80 00 01 */ li r4, 1 -/* 80322044 0031EFA4 81 8C 00 08 */ lwz r12, 8(r12) -/* 80322048 0031EFA8 7D 89 03 A6 */ mtctr r12 -/* 8032204C 0031EFAC 4E 80 04 21 */ bctrl -lbl_80322050: -/* 80322050 0031EFB0 28 1E 00 00 */ cmplwi r30, 0 -/* 80322054 0031EFB4 41 82 00 20 */ beq lbl_80322074 -/* 80322058 0031EFB8 3C 60 80 3F */ lis r3, lbl_803EC584@ha -/* 8032205C 0031EFBC 38 03 C5 84 */ addi r0, r3, lbl_803EC584@l -/* 80322060 0031EFC0 90 1E 00 00 */ stw r0, 0(r30) -/* 80322064 0031EFC4 41 82 00 10 */ beq lbl_80322074 -/* 80322068 0031EFC8 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 8032206C 0031EFCC 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 80322070 0031EFD0 90 1E 00 00 */ stw r0, 0(r30) -lbl_80322074: -/* 80322074 0031EFD4 7F E0 07 35 */ extsh. r0, r31 -/* 80322078 0031EFD8 40 81 00 10 */ ble lbl_80322088 -/* 8032207C 0031EFDC 7F C3 F3 78 */ mr r3, r30 -/* 80322080 0031EFE0 38 80 00 18 */ li r4, 0x18 -/* 80322084 0031EFE4 48 04 A9 E1 */ bl sub_8036ca64 -lbl_80322088: -/* 80322088 0031EFE8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8032208C 0031EFEC 7F C3 F3 78 */ mr r3, r30 -/* 80322090 0031EFF0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80322094 0031EFF4 83 C1 00 08 */ lwz r30, 8(r1) -/* 80322098 0031EFF8 7C 08 03 A6 */ mtlr r0 -/* 8032209C 0031EFFC 38 21 00 10 */ addi r1, r1, 0x10 -/* 803220A0 0031F000 4E 80 00 20 */ blr - -.global __ct__16CIESampleAndHoldFP11CIntElementP11CIntElementP11CIntElement -__ct__16CIESampleAndHoldFP11CIntElementP11CIntElementP11CIntElement: -/* 803220A4 0031F004 3D 20 80 3F */ lis r9, lbl_803EC5A8@ha -/* 803220A8 0031F008 3D 00 80 3F */ lis r8, lbl_803EC584@ha -/* 803220AC 0031F00C 38 09 C5 A8 */ addi r0, r9, lbl_803EC5A8@l -/* 803220B0 0031F010 3C E0 80 3F */ lis r7, lbl_803EDBC8@ha -/* 803220B4 0031F014 90 03 00 00 */ stw r0, 0(r3) -/* 803220B8 0031F018 39 08 C5 84 */ addi r8, r8, lbl_803EC584@l -/* 803220BC 0031F01C 38 E7 DB C8 */ addi r7, r7, lbl_803EDBC8@l -/* 803220C0 0031F020 38 00 00 00 */ li r0, 0 -/* 803220C4 0031F024 91 03 00 00 */ stw r8, 0(r3) -/* 803220C8 0031F028 90 E3 00 00 */ stw r7, 0(r3) -/* 803220CC 0031F02C 90 83 00 04 */ stw r4, 4(r3) -/* 803220D0 0031F030 90 03 00 08 */ stw r0, 8(r3) -/* 803220D4 0031F034 90 A3 00 0C */ stw r5, 0xc(r3) -/* 803220D8 0031F038 90 C3 00 10 */ stw r6, 0x10(r3) -/* 803220DC 0031F03C 4E 80 00 20 */ blr - -.global GetValue__9CIERandomCFiRi -GetValue__9CIERandomCFiRi: -/* 803220E0 0031F040 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 803220E4 0031F044 7C 08 02 A6 */ mflr r0 -/* 803220E8 0031F048 90 01 00 24 */ stw r0, 0x24(r1) -/* 803220EC 0031F04C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 803220F0 0031F050 7C 9F 23 78 */ mr r31, r4 -/* 803220F4 0031F054 93 C1 00 18 */ stw r30, 0x18(r1) -/* 803220F8 0031F058 7C BE 2B 78 */ mr r30, r5 -/* 803220FC 0031F05C 38 A1 00 0C */ addi r5, r1, 0xc -/* 80322100 0031F060 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80322104 0031F064 7C 7D 1B 78 */ mr r29, r3 -/* 80322108 0031F068 80 63 00 04 */ lwz r3, 4(r3) -/* 8032210C 0031F06C 81 83 00 00 */ lwz r12, 0(r3) -/* 80322110 0031F070 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80322114 0031F074 7D 89 03 A6 */ mtctr r12 -/* 80322118 0031F078 4E 80 04 21 */ bctrl -/* 8032211C 0031F07C 80 7D 00 08 */ lwz r3, 8(r29) -/* 80322120 0031F080 7F E4 FB 78 */ mr r4, r31 -/* 80322124 0031F084 38 A1 00 08 */ addi r5, r1, 8 -/* 80322128 0031F088 81 83 00 00 */ lwz r12, 0(r3) -/* 8032212C 0031F08C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80322130 0031F090 7D 89 03 A6 */ mtctr r12 -/* 80322134 0031F094 4E 80 04 21 */ bctrl -/* 80322138 0031F098 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8032213C 0031F09C 2C 1F 00 00 */ cmpwi r31, 0 -/* 80322140 0031F0A0 40 81 00 1C */ ble lbl_8032215C -/* 80322144 0031F0A4 4B FF 04 B9 */ bl GetRandomNumber__9CRandom16Fv -/* 80322148 0031F0A8 80 A1 00 08 */ lwz r5, 8(r1) -/* 8032214C 0031F0AC 7F E4 FB 78 */ mr r4, r31 -/* 80322150 0031F0B0 4B FF 04 45 */ bl Range__9CRandom16Fii -/* 80322154 0031F0B4 90 7E 00 00 */ stw r3, 0(r30) -/* 80322158 0031F0B8 48 00 00 10 */ b lbl_80322168 -lbl_8032215C: -/* 8032215C 0031F0BC 4B FF 04 A1 */ bl GetRandomNumber__9CRandom16Fv -/* 80322160 0031F0C0 4B FF 03 C1 */ bl Next__9CRandom16Fv -/* 80322164 0031F0C4 90 7E 00 00 */ stw r3, 0(r30) -lbl_80322168: -/* 80322168 0031F0C8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8032216C 0031F0CC 38 60 00 00 */ li r3, 0 -/* 80322170 0031F0D0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80322174 0031F0D4 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80322178 0031F0D8 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8032217C 0031F0DC 7C 08 03 A6 */ mtlr r0 -/* 80322180 0031F0E0 38 21 00 20 */ addi r1, r1, 0x20 -/* 80322184 0031F0E4 4E 80 00 20 */ blr - -.global __dt__9CIERandom -__dt__9CIERandom: -/* 80322188 0031F0E8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8032218C 0031F0EC 7C 08 02 A6 */ mflr r0 -/* 80322190 0031F0F0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80322194 0031F0F4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80322198 0031F0F8 7C 9F 23 78 */ mr r31, r4 -/* 8032219C 0031F0FC 93 C1 00 08 */ stw r30, 8(r1) -/* 803221A0 0031F100 7C 7E 1B 79 */ or. r30, r3, r3 -/* 803221A4 0031F104 41 82 00 88 */ beq lbl_8032222C -/* 803221A8 0031F108 3C 60 80 3F */ lis r3, lbl_803EDBD8@ha -/* 803221AC 0031F10C 38 03 DB D8 */ addi r0, r3, lbl_803EDBD8@l -/* 803221B0 0031F110 90 1E 00 00 */ stw r0, 0(r30) -/* 803221B4 0031F114 80 7E 00 04 */ lwz r3, 4(r30) -/* 803221B8 0031F118 28 03 00 00 */ cmplwi r3, 0 -/* 803221BC 0031F11C 41 82 00 18 */ beq lbl_803221D4 -/* 803221C0 0031F120 81 83 00 00 */ lwz r12, 0(r3) -/* 803221C4 0031F124 38 80 00 01 */ li r4, 1 -/* 803221C8 0031F128 81 8C 00 08 */ lwz r12, 8(r12) -/* 803221CC 0031F12C 7D 89 03 A6 */ mtctr r12 -/* 803221D0 0031F130 4E 80 04 21 */ bctrl -lbl_803221D4: -/* 803221D4 0031F134 80 7E 00 08 */ lwz r3, 8(r30) -/* 803221D8 0031F138 28 03 00 00 */ cmplwi r3, 0 -/* 803221DC 0031F13C 41 82 00 18 */ beq lbl_803221F4 -/* 803221E0 0031F140 81 83 00 00 */ lwz r12, 0(r3) -/* 803221E4 0031F144 38 80 00 01 */ li r4, 1 -/* 803221E8 0031F148 81 8C 00 08 */ lwz r12, 8(r12) -/* 803221EC 0031F14C 7D 89 03 A6 */ mtctr r12 -/* 803221F0 0031F150 4E 80 04 21 */ bctrl -lbl_803221F4: -/* 803221F4 0031F154 28 1E 00 00 */ cmplwi r30, 0 -/* 803221F8 0031F158 41 82 00 20 */ beq lbl_80322218 -/* 803221FC 0031F15C 3C 60 80 3F */ lis r3, lbl_803EC584@ha -/* 80322200 0031F160 38 03 C5 84 */ addi r0, r3, lbl_803EC584@l -/* 80322204 0031F164 90 1E 00 00 */ stw r0, 0(r30) -/* 80322208 0031F168 41 82 00 10 */ beq lbl_80322218 -/* 8032220C 0031F16C 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 80322210 0031F170 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 80322214 0031F174 90 1E 00 00 */ stw r0, 0(r30) -lbl_80322218: -/* 80322218 0031F178 7F E0 07 35 */ extsh. r0, r31 -/* 8032221C 0031F17C 40 81 00 10 */ ble lbl_8032222C -/* 80322220 0031F180 7F C3 F3 78 */ mr r3, r30 -/* 80322224 0031F184 38 80 00 0C */ li r4, 0xc -/* 80322228 0031F188 48 04 A8 3D */ bl sub_8036ca64 -lbl_8032222C: -/* 8032222C 0031F18C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80322230 0031F190 7F C3 F3 78 */ mr r3, r30 -/* 80322234 0031F194 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80322238 0031F198 83 C1 00 08 */ lwz r30, 8(r1) -/* 8032223C 0031F19C 7C 08 03 A6 */ mtlr r0 -/* 80322240 0031F1A0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80322244 0031F1A4 4E 80 00 20 */ blr - -.global __ct__9CIERandomFP11CIntElementP11CIntElement -__ct__9CIERandomFP11CIntElementP11CIntElement: -/* 80322248 0031F1A8 3D 00 80 3F */ lis r8, lbl_803EC5A8@ha -/* 8032224C 0031F1AC 3C E0 80 3F */ lis r7, lbl_803EC584@ha -/* 80322250 0031F1B0 38 08 C5 A8 */ addi r0, r8, lbl_803EC5A8@l -/* 80322254 0031F1B4 3C C0 80 3F */ lis r6, lbl_803EDBD8@ha -/* 80322258 0031F1B8 90 03 00 00 */ stw r0, 0(r3) -/* 8032225C 0031F1BC 38 E7 C5 84 */ addi r7, r7, lbl_803EC584@l -/* 80322260 0031F1C0 38 06 DB D8 */ addi r0, r6, lbl_803EDBD8@l -/* 80322264 0031F1C4 90 E3 00 00 */ stw r7, 0(r3) -/* 80322268 0031F1C8 90 03 00 00 */ stw r0, 0(r3) -/* 8032226C 0031F1CC 90 83 00 04 */ stw r4, 4(r3) -/* 80322270 0031F1D0 90 A3 00 08 */ stw r5, 8(r3) -/* 80322274 0031F1D4 4E 80 00 20 */ blr - -.global GetValue__9CIEModuloCFiRi -GetValue__9CIEModuloCFiRi: -/* 80322278 0031F1D8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8032227C 0031F1DC 7C 08 02 A6 */ mflr r0 -/* 80322280 0031F1E0 90 01 00 24 */ stw r0, 0x24(r1) -/* 80322284 0031F1E4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80322288 0031F1E8 7C BF 2B 78 */ mr r31, r5 -/* 8032228C 0031F1EC 38 A1 00 0C */ addi r5, r1, 0xc -/* 80322290 0031F1F0 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80322294 0031F1F4 7C 9E 23 78 */ mr r30, r4 -/* 80322298 0031F1F8 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8032229C 0031F1FC 7C 7D 1B 78 */ mr r29, r3 -/* 803222A0 0031F200 80 63 00 04 */ lwz r3, 4(r3) -/* 803222A4 0031F204 81 83 00 00 */ lwz r12, 0(r3) -/* 803222A8 0031F208 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 803222AC 0031F20C 7D 89 03 A6 */ mtctr r12 -/* 803222B0 0031F210 4E 80 04 21 */ bctrl -/* 803222B4 0031F214 80 7D 00 08 */ lwz r3, 8(r29) -/* 803222B8 0031F218 7F C4 F3 78 */ mr r4, r30 -/* 803222BC 0031F21C 38 A1 00 08 */ addi r5, r1, 8 -/* 803222C0 0031F220 81 83 00 00 */ lwz r12, 0(r3) -/* 803222C4 0031F224 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 803222C8 0031F228 7D 89 03 A6 */ mtctr r12 -/* 803222CC 0031F22C 4E 80 04 21 */ bctrl -/* 803222D0 0031F230 80 81 00 08 */ lwz r4, 8(r1) -/* 803222D4 0031F234 2C 04 00 00 */ cmpwi r4, 0 -/* 803222D8 0031F238 41 82 00 1C */ beq lbl_803222F4 -/* 803222DC 0031F23C 80 61 00 0C */ lwz r3, 0xc(r1) -/* 803222E0 0031F240 7C 03 23 D6 */ divw r0, r3, r4 -/* 803222E4 0031F244 7C 00 21 D6 */ mullw r0, r0, r4 -/* 803222E8 0031F248 7C 00 18 50 */ subf r0, r0, r3 -/* 803222EC 0031F24C 90 1F 00 00 */ stw r0, 0(r31) -/* 803222F0 0031F250 48 00 00 0C */ b lbl_803222FC -lbl_803222F4: -/* 803222F4 0031F254 80 01 00 0C */ lwz r0, 0xc(r1) -/* 803222F8 0031F258 90 1F 00 00 */ stw r0, 0(r31) -lbl_803222FC: -/* 803222FC 0031F25C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80322300 0031F260 38 60 00 00 */ li r3, 0 -/* 80322304 0031F264 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80322308 0031F268 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8032230C 0031F26C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80322310 0031F270 7C 08 03 A6 */ mtlr r0 -/* 80322314 0031F274 38 21 00 20 */ addi r1, r1, 0x20 -/* 80322318 0031F278 4E 80 00 20 */ blr - -.global __dt__9CIEModulo -__dt__9CIEModulo: -/* 8032231C 0031F27C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80322320 0031F280 7C 08 02 A6 */ mflr r0 -/* 80322324 0031F284 90 01 00 14 */ stw r0, 0x14(r1) -/* 80322328 0031F288 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8032232C 0031F28C 7C 9F 23 78 */ mr r31, r4 -/* 80322330 0031F290 93 C1 00 08 */ stw r30, 8(r1) -/* 80322334 0031F294 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80322338 0031F298 41 82 00 88 */ beq lbl_803223C0 -/* 8032233C 0031F29C 3C 60 80 3F */ lis r3, lbl_803EDBE8@ha -/* 80322340 0031F2A0 38 03 DB E8 */ addi r0, r3, lbl_803EDBE8@l -/* 80322344 0031F2A4 90 1E 00 00 */ stw r0, 0(r30) -/* 80322348 0031F2A8 80 7E 00 04 */ lwz r3, 4(r30) -/* 8032234C 0031F2AC 28 03 00 00 */ cmplwi r3, 0 -/* 80322350 0031F2B0 41 82 00 18 */ beq lbl_80322368 -/* 80322354 0031F2B4 81 83 00 00 */ lwz r12, 0(r3) -/* 80322358 0031F2B8 38 80 00 01 */ li r4, 1 -/* 8032235C 0031F2BC 81 8C 00 08 */ lwz r12, 8(r12) -/* 80322360 0031F2C0 7D 89 03 A6 */ mtctr r12 -/* 80322364 0031F2C4 4E 80 04 21 */ bctrl -lbl_80322368: -/* 80322368 0031F2C8 80 7E 00 08 */ lwz r3, 8(r30) -/* 8032236C 0031F2CC 28 03 00 00 */ cmplwi r3, 0 -/* 80322370 0031F2D0 41 82 00 18 */ beq lbl_80322388 -/* 80322374 0031F2D4 81 83 00 00 */ lwz r12, 0(r3) -/* 80322378 0031F2D8 38 80 00 01 */ li r4, 1 -/* 8032237C 0031F2DC 81 8C 00 08 */ lwz r12, 8(r12) -/* 80322380 0031F2E0 7D 89 03 A6 */ mtctr r12 -/* 80322384 0031F2E4 4E 80 04 21 */ bctrl -lbl_80322388: -/* 80322388 0031F2E8 28 1E 00 00 */ cmplwi r30, 0 -/* 8032238C 0031F2EC 41 82 00 20 */ beq lbl_803223AC -/* 80322390 0031F2F0 3C 60 80 3F */ lis r3, lbl_803EC584@ha -/* 80322394 0031F2F4 38 03 C5 84 */ addi r0, r3, lbl_803EC584@l -/* 80322398 0031F2F8 90 1E 00 00 */ stw r0, 0(r30) -/* 8032239C 0031F2FC 41 82 00 10 */ beq lbl_803223AC -/* 803223A0 0031F300 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 803223A4 0031F304 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 803223A8 0031F308 90 1E 00 00 */ stw r0, 0(r30) -lbl_803223AC: -/* 803223AC 0031F30C 7F E0 07 35 */ extsh. r0, r31 -/* 803223B0 0031F310 40 81 00 10 */ ble lbl_803223C0 -/* 803223B4 0031F314 7F C3 F3 78 */ mr r3, r30 -/* 803223B8 0031F318 38 80 00 0C */ li r4, 0xc -/* 803223BC 0031F31C 48 04 A6 A9 */ bl sub_8036ca64 -lbl_803223C0: -/* 803223C0 0031F320 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803223C4 0031F324 7F C3 F3 78 */ mr r3, r30 -/* 803223C8 0031F328 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 803223CC 0031F32C 83 C1 00 08 */ lwz r30, 8(r1) -/* 803223D0 0031F330 7C 08 03 A6 */ mtlr r0 -/* 803223D4 0031F334 38 21 00 10 */ addi r1, r1, 0x10 -/* 803223D8 0031F338 4E 80 00 20 */ blr - -.global __ct__9CIEModuloFP11CIntElementP11CIntElement -__ct__9CIEModuloFP11CIntElementP11CIntElement: -/* 803223DC 0031F33C 3D 00 80 3F */ lis r8, lbl_803EC5A8@ha -/* 803223E0 0031F340 3C E0 80 3F */ lis r7, lbl_803EC584@ha -/* 803223E4 0031F344 38 08 C5 A8 */ addi r0, r8, lbl_803EC5A8@l -/* 803223E8 0031F348 3C C0 80 3F */ lis r6, lbl_803EDBE8@ha -/* 803223EC 0031F34C 90 03 00 00 */ stw r0, 0(r3) -/* 803223F0 0031F350 38 E7 C5 84 */ addi r7, r7, lbl_803EC584@l -/* 803223F4 0031F354 38 06 DB E8 */ addi r0, r6, lbl_803EDBE8@l -/* 803223F8 0031F358 90 E3 00 00 */ stw r7, 0(r3) -/* 803223FC 0031F35C 90 03 00 00 */ stw r0, 0(r3) -/* 80322400 0031F360 90 83 00 04 */ stw r4, 4(r3) -/* 80322404 0031F364 90 A3 00 08 */ stw r5, 8(r3) -/* 80322408 0031F368 4E 80 00 20 */ blr - -.global GetValue__11CIEMultiplyCFiRi -GetValue__11CIEMultiplyCFiRi: -/* 8032240C 0031F36C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80322410 0031F370 7C 08 02 A6 */ mflr r0 -/* 80322414 0031F374 90 01 00 24 */ stw r0, 0x24(r1) -/* 80322418 0031F378 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8032241C 0031F37C 7C BF 2B 78 */ mr r31, r5 -/* 80322420 0031F380 38 A1 00 0C */ addi r5, r1, 0xc -/* 80322424 0031F384 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80322428 0031F388 7C 9E 23 78 */ mr r30, r4 -/* 8032242C 0031F38C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80322430 0031F390 7C 7D 1B 78 */ mr r29, r3 -/* 80322434 0031F394 80 63 00 04 */ lwz r3, 4(r3) -/* 80322438 0031F398 81 83 00 00 */ lwz r12, 0(r3) -/* 8032243C 0031F39C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80322440 0031F3A0 7D 89 03 A6 */ mtctr r12 -/* 80322444 0031F3A4 4E 80 04 21 */ bctrl -/* 80322448 0031F3A8 80 7D 00 08 */ lwz r3, 8(r29) -/* 8032244C 0031F3AC 7F C4 F3 78 */ mr r4, r30 -/* 80322450 0031F3B0 38 A1 00 08 */ addi r5, r1, 8 -/* 80322454 0031F3B4 81 83 00 00 */ lwz r12, 0(r3) -/* 80322458 0031F3B8 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8032245C 0031F3BC 7D 89 03 A6 */ mtctr r12 -/* 80322460 0031F3C0 4E 80 04 21 */ bctrl -/* 80322464 0031F3C4 80 81 00 0C */ lwz r4, 0xc(r1) -/* 80322468 0031F3C8 38 60 00 00 */ li r3, 0 -/* 8032246C 0031F3CC 80 01 00 08 */ lwz r0, 8(r1) -/* 80322470 0031F3D0 7C 04 01 D6 */ mullw r0, r4, r0 -/* 80322474 0031F3D4 90 1F 00 00 */ stw r0, 0(r31) -/* 80322478 0031F3D8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8032247C 0031F3DC 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80322480 0031F3E0 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80322484 0031F3E4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80322488 0031F3E8 7C 08 03 A6 */ mtlr r0 -/* 8032248C 0031F3EC 38 21 00 20 */ addi r1, r1, 0x20 -/* 80322490 0031F3F0 4E 80 00 20 */ blr - -.global __dt__11CIEMultiply -__dt__11CIEMultiply: -/* 80322494 0031F3F4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80322498 0031F3F8 7C 08 02 A6 */ mflr r0 -/* 8032249C 0031F3FC 90 01 00 14 */ stw r0, 0x14(r1) -/* 803224A0 0031F400 93 E1 00 0C */ stw r31, 0xc(r1) -/* 803224A4 0031F404 7C 9F 23 78 */ mr r31, r4 -/* 803224A8 0031F408 93 C1 00 08 */ stw r30, 8(r1) -/* 803224AC 0031F40C 7C 7E 1B 79 */ or. r30, r3, r3 -/* 803224B0 0031F410 41 82 00 88 */ beq lbl_80322538 -/* 803224B4 0031F414 3C 60 80 3F */ lis r3, lbl_803EDBF8@ha -/* 803224B8 0031F418 38 03 DB F8 */ addi r0, r3, lbl_803EDBF8@l -/* 803224BC 0031F41C 90 1E 00 00 */ stw r0, 0(r30) -/* 803224C0 0031F420 80 7E 00 04 */ lwz r3, 4(r30) -/* 803224C4 0031F424 28 03 00 00 */ cmplwi r3, 0 -/* 803224C8 0031F428 41 82 00 18 */ beq lbl_803224E0 -/* 803224CC 0031F42C 81 83 00 00 */ lwz r12, 0(r3) -/* 803224D0 0031F430 38 80 00 01 */ li r4, 1 -/* 803224D4 0031F434 81 8C 00 08 */ lwz r12, 8(r12) -/* 803224D8 0031F438 7D 89 03 A6 */ mtctr r12 -/* 803224DC 0031F43C 4E 80 04 21 */ bctrl -lbl_803224E0: -/* 803224E0 0031F440 80 7E 00 08 */ lwz r3, 8(r30) -/* 803224E4 0031F444 28 03 00 00 */ cmplwi r3, 0 -/* 803224E8 0031F448 41 82 00 18 */ beq lbl_80322500 -/* 803224EC 0031F44C 81 83 00 00 */ lwz r12, 0(r3) -/* 803224F0 0031F450 38 80 00 01 */ li r4, 1 -/* 803224F4 0031F454 81 8C 00 08 */ lwz r12, 8(r12) -/* 803224F8 0031F458 7D 89 03 A6 */ mtctr r12 -/* 803224FC 0031F45C 4E 80 04 21 */ bctrl -lbl_80322500: -/* 80322500 0031F460 28 1E 00 00 */ cmplwi r30, 0 -/* 80322504 0031F464 41 82 00 20 */ beq lbl_80322524 -/* 80322508 0031F468 3C 60 80 3F */ lis r3, lbl_803EC584@ha -/* 8032250C 0031F46C 38 03 C5 84 */ addi r0, r3, lbl_803EC584@l -/* 80322510 0031F470 90 1E 00 00 */ stw r0, 0(r30) -/* 80322514 0031F474 41 82 00 10 */ beq lbl_80322524 -/* 80322518 0031F478 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 8032251C 0031F47C 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 80322520 0031F480 90 1E 00 00 */ stw r0, 0(r30) -lbl_80322524: -/* 80322524 0031F484 7F E0 07 35 */ extsh. r0, r31 -/* 80322528 0031F488 40 81 00 10 */ ble lbl_80322538 -/* 8032252C 0031F48C 7F C3 F3 78 */ mr r3, r30 -/* 80322530 0031F490 38 80 00 0C */ li r4, 0xc -/* 80322534 0031F494 48 04 A5 31 */ bl sub_8036ca64 -lbl_80322538: -/* 80322538 0031F498 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8032253C 0031F49C 7F C3 F3 78 */ mr r3, r30 -/* 80322540 0031F4A0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80322544 0031F4A4 83 C1 00 08 */ lwz r30, 8(r1) -/* 80322548 0031F4A8 7C 08 03 A6 */ mtlr r0 -/* 8032254C 0031F4AC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80322550 0031F4B0 4E 80 00 20 */ blr - -.global __ct__11CIEMultiplyFP11CIntElementP11CIntElement -__ct__11CIEMultiplyFP11CIntElementP11CIntElement: -/* 80322554 0031F4B4 3D 00 80 3F */ lis r8, lbl_803EC5A8@ha -/* 80322558 0031F4B8 3C E0 80 3F */ lis r7, lbl_803EC584@ha -/* 8032255C 0031F4BC 38 08 C5 A8 */ addi r0, r8, lbl_803EC5A8@l -/* 80322560 0031F4C0 3C C0 80 3F */ lis r6, lbl_803EDBF8@ha -/* 80322564 0031F4C4 90 03 00 00 */ stw r0, 0(r3) -/* 80322568 0031F4C8 38 E7 C5 84 */ addi r7, r7, lbl_803EC584@l -/* 8032256C 0031F4CC 38 06 DB F8 */ addi r0, r6, lbl_803EDBF8@l -/* 80322570 0031F4D0 90 E3 00 00 */ stw r7, 0(r3) -/* 80322574 0031F4D4 90 03 00 00 */ stw r0, 0(r3) -/* 80322578 0031F4D8 90 83 00 04 */ stw r4, 4(r3) -/* 8032257C 0031F4DC 90 A3 00 08 */ stw r5, 8(r3) -/* 80322580 0031F4E0 4E 80 00 20 */ blr - -.global GetValue__6CIEAddCFiRi -GetValue__6CIEAddCFiRi: -/* 80322584 0031F4E4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80322588 0031F4E8 7C 08 02 A6 */ mflr r0 -/* 8032258C 0031F4EC 90 01 00 24 */ stw r0, 0x24(r1) -/* 80322590 0031F4F0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80322594 0031F4F4 7C BF 2B 78 */ mr r31, r5 -/* 80322598 0031F4F8 38 A1 00 0C */ addi r5, r1, 0xc -/* 8032259C 0031F4FC 93 C1 00 18 */ stw r30, 0x18(r1) -/* 803225A0 0031F500 7C 9E 23 78 */ mr r30, r4 -/* 803225A4 0031F504 93 A1 00 14 */ stw r29, 0x14(r1) -/* 803225A8 0031F508 7C 7D 1B 78 */ mr r29, r3 -/* 803225AC 0031F50C 80 63 00 04 */ lwz r3, 4(r3) -/* 803225B0 0031F510 81 83 00 00 */ lwz r12, 0(r3) -/* 803225B4 0031F514 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 803225B8 0031F518 7D 89 03 A6 */ mtctr r12 -/* 803225BC 0031F51C 4E 80 04 21 */ bctrl -/* 803225C0 0031F520 80 7D 00 08 */ lwz r3, 8(r29) -/* 803225C4 0031F524 7F C4 F3 78 */ mr r4, r30 -/* 803225C8 0031F528 38 A1 00 08 */ addi r5, r1, 8 -/* 803225CC 0031F52C 81 83 00 00 */ lwz r12, 0(r3) -/* 803225D0 0031F530 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 803225D4 0031F534 7D 89 03 A6 */ mtctr r12 -/* 803225D8 0031F538 4E 80 04 21 */ bctrl -/* 803225DC 0031F53C 80 81 00 0C */ lwz r4, 0xc(r1) -/* 803225E0 0031F540 38 60 00 00 */ li r3, 0 -/* 803225E4 0031F544 80 01 00 08 */ lwz r0, 8(r1) -/* 803225E8 0031F548 7C 04 02 14 */ add r0, r4, r0 -/* 803225EC 0031F54C 90 1F 00 00 */ stw r0, 0(r31) -/* 803225F0 0031F550 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 803225F4 0031F554 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 803225F8 0031F558 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 803225FC 0031F55C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80322600 0031F560 7C 08 03 A6 */ mtlr r0 -/* 80322604 0031F564 38 21 00 20 */ addi r1, r1, 0x20 -/* 80322608 0031F568 4E 80 00 20 */ blr - -.global __dt__6CIEAdd -__dt__6CIEAdd: -/* 8032260C 0031F56C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80322610 0031F570 7C 08 02 A6 */ mflr r0 -/* 80322614 0031F574 90 01 00 14 */ stw r0, 0x14(r1) -/* 80322618 0031F578 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8032261C 0031F57C 7C 9F 23 78 */ mr r31, r4 -/* 80322620 0031F580 93 C1 00 08 */ stw r30, 8(r1) -/* 80322624 0031F584 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80322628 0031F588 41 82 00 88 */ beq lbl_803226B0 -/* 8032262C 0031F58C 3C 60 80 3F */ lis r3, lbl_803EDC08@ha -/* 80322630 0031F590 38 03 DC 08 */ addi r0, r3, lbl_803EDC08@l -/* 80322634 0031F594 90 1E 00 00 */ stw r0, 0(r30) -/* 80322638 0031F598 80 7E 00 04 */ lwz r3, 4(r30) -/* 8032263C 0031F59C 28 03 00 00 */ cmplwi r3, 0 -/* 80322640 0031F5A0 41 82 00 18 */ beq lbl_80322658 -/* 80322644 0031F5A4 81 83 00 00 */ lwz r12, 0(r3) -/* 80322648 0031F5A8 38 80 00 01 */ li r4, 1 -/* 8032264C 0031F5AC 81 8C 00 08 */ lwz r12, 8(r12) -/* 80322650 0031F5B0 7D 89 03 A6 */ mtctr r12 -/* 80322654 0031F5B4 4E 80 04 21 */ bctrl -lbl_80322658: -/* 80322658 0031F5B8 80 7E 00 08 */ lwz r3, 8(r30) -/* 8032265C 0031F5BC 28 03 00 00 */ cmplwi r3, 0 -/* 80322660 0031F5C0 41 82 00 18 */ beq lbl_80322678 -/* 80322664 0031F5C4 81 83 00 00 */ lwz r12, 0(r3) -/* 80322668 0031F5C8 38 80 00 01 */ li r4, 1 -/* 8032266C 0031F5CC 81 8C 00 08 */ lwz r12, 8(r12) -/* 80322670 0031F5D0 7D 89 03 A6 */ mtctr r12 -/* 80322674 0031F5D4 4E 80 04 21 */ bctrl -lbl_80322678: -/* 80322678 0031F5D8 28 1E 00 00 */ cmplwi r30, 0 -/* 8032267C 0031F5DC 41 82 00 20 */ beq lbl_8032269C -/* 80322680 0031F5E0 3C 60 80 3F */ lis r3, lbl_803EC584@ha -/* 80322684 0031F5E4 38 03 C5 84 */ addi r0, r3, lbl_803EC584@l -/* 80322688 0031F5E8 90 1E 00 00 */ stw r0, 0(r30) -/* 8032268C 0031F5EC 41 82 00 10 */ beq lbl_8032269C -/* 80322690 0031F5F0 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 80322694 0031F5F4 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 80322698 0031F5F8 90 1E 00 00 */ stw r0, 0(r30) -lbl_8032269C: -/* 8032269C 0031F5FC 7F E0 07 35 */ extsh. r0, r31 -/* 803226A0 0031F600 40 81 00 10 */ ble lbl_803226B0 -/* 803226A4 0031F604 7F C3 F3 78 */ mr r3, r30 -/* 803226A8 0031F608 38 80 00 0C */ li r4, 0xc -/* 803226AC 0031F60C 48 04 A3 B9 */ bl sub_8036ca64 -lbl_803226B0: -/* 803226B0 0031F610 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803226B4 0031F614 7F C3 F3 78 */ mr r3, r30 -/* 803226B8 0031F618 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 803226BC 0031F61C 83 C1 00 08 */ lwz r30, 8(r1) -/* 803226C0 0031F620 7C 08 03 A6 */ mtlr r0 -/* 803226C4 0031F624 38 21 00 10 */ addi r1, r1, 0x10 -/* 803226C8 0031F628 4E 80 00 20 */ blr - -.global __ct__6CIEAddFP11CIntElementP11CIntElement -__ct__6CIEAddFP11CIntElementP11CIntElement: -/* 803226CC 0031F62C 3D 00 80 3F */ lis r8, lbl_803EC5A8@ha -/* 803226D0 0031F630 3C E0 80 3F */ lis r7, lbl_803EC584@ha -/* 803226D4 0031F634 38 08 C5 A8 */ addi r0, r8, lbl_803EC5A8@l -/* 803226D8 0031F638 3C C0 80 3F */ lis r6, lbl_803EDC08@ha -/* 803226DC 0031F63C 90 03 00 00 */ stw r0, 0(r3) -/* 803226E0 0031F640 38 E7 C5 84 */ addi r7, r7, lbl_803EC584@l -/* 803226E4 0031F644 38 06 DC 08 */ addi r0, r6, lbl_803EDC08@l -/* 803226E8 0031F648 90 E3 00 00 */ stw r7, 0(r3) -/* 803226EC 0031F64C 90 03 00 00 */ stw r0, 0(r3) -/* 803226F0 0031F650 90 83 00 04 */ stw r4, 4(r3) -/* 803226F4 0031F654 90 A3 00 08 */ stw r5, 8(r3) -/* 803226F8 0031F658 4E 80 00 20 */ blr - -.global GetValue__8CIEDeathCFiRi -GetValue__8CIEDeathCFiRi: -/* 803226FC 0031F65C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80322700 0031F660 7C 08 02 A6 */ mflr r0 -/* 80322704 0031F664 90 01 00 24 */ stw r0, 0x24(r1) -/* 80322708 0031F668 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8032270C 0031F66C 7C 9F 23 78 */ mr r31, r4 -/* 80322710 0031F670 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80322714 0031F674 7C 7E 1B 78 */ mr r30, r3 -/* 80322718 0031F678 80 63 00 04 */ lwz r3, 4(r3) -/* 8032271C 0031F67C 81 83 00 00 */ lwz r12, 0(r3) -/* 80322720 0031F680 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80322724 0031F684 7D 89 03 A6 */ mtctr r12 -/* 80322728 0031F688 4E 80 04 21 */ bctrl -/* 8032272C 0031F68C 80 7E 00 08 */ lwz r3, 8(r30) -/* 80322730 0031F690 7F E4 FB 78 */ mr r4, r31 -/* 80322734 0031F694 38 A1 00 08 */ addi r5, r1, 8 -/* 80322738 0031F698 81 83 00 00 */ lwz r12, 0(r3) -/* 8032273C 0031F69C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80322740 0031F6A0 7D 89 03 A6 */ mtctr r12 -/* 80322744 0031F6A4 4E 80 04 21 */ bctrl -/* 80322748 0031F6A8 80 01 00 08 */ lwz r0, 8(r1) -/* 8032274C 0031F6AC 7F E4 FE 70 */ srawi r4, r31, 0x1f -/* 80322750 0031F6B0 54 03 0F FE */ srwi r3, r0, 0x1f -/* 80322754 0031F6B4 7C 00 F8 10 */ subfc r0, r0, r31 -/* 80322758 0031F6B8 7C 04 19 14 */ adde r0, r4, r3 -/* 8032275C 0031F6BC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80322760 0031F6C0 54 03 06 3E */ clrlwi r3, r0, 0x18 -/* 80322764 0031F6C4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80322768 0031F6C8 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8032276C 0031F6CC 7C 08 03 A6 */ mtlr r0 -/* 80322770 0031F6D0 38 21 00 20 */ addi r1, r1, 0x20 -/* 80322774 0031F6D4 4E 80 00 20 */ blr - -.global __dt__8CIEDeath -__dt__8CIEDeath: -/* 80322778 0031F6D8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8032277C 0031F6DC 7C 08 02 A6 */ mflr r0 -/* 80322780 0031F6E0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80322784 0031F6E4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80322788 0031F6E8 7C 9F 23 78 */ mr r31, r4 -/* 8032278C 0031F6EC 93 C1 00 08 */ stw r30, 8(r1) -/* 80322790 0031F6F0 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80322794 0031F6F4 41 82 00 88 */ beq lbl_8032281C -/* 80322798 0031F6F8 3C 60 80 3F */ lis r3, lbl_803EDC18@ha -/* 8032279C 0031F6FC 38 03 DC 18 */ addi r0, r3, lbl_803EDC18@l -/* 803227A0 0031F700 90 1E 00 00 */ stw r0, 0(r30) -/* 803227A4 0031F704 80 7E 00 04 */ lwz r3, 4(r30) -/* 803227A8 0031F708 28 03 00 00 */ cmplwi r3, 0 -/* 803227AC 0031F70C 41 82 00 18 */ beq lbl_803227C4 -/* 803227B0 0031F710 81 83 00 00 */ lwz r12, 0(r3) -/* 803227B4 0031F714 38 80 00 01 */ li r4, 1 -/* 803227B8 0031F718 81 8C 00 08 */ lwz r12, 8(r12) -/* 803227BC 0031F71C 7D 89 03 A6 */ mtctr r12 -/* 803227C0 0031F720 4E 80 04 21 */ bctrl -lbl_803227C4: -/* 803227C4 0031F724 80 7E 00 08 */ lwz r3, 8(r30) -/* 803227C8 0031F728 28 03 00 00 */ cmplwi r3, 0 -/* 803227CC 0031F72C 41 82 00 18 */ beq lbl_803227E4 -/* 803227D0 0031F730 81 83 00 00 */ lwz r12, 0(r3) -/* 803227D4 0031F734 38 80 00 01 */ li r4, 1 -/* 803227D8 0031F738 81 8C 00 08 */ lwz r12, 8(r12) -/* 803227DC 0031F73C 7D 89 03 A6 */ mtctr r12 -/* 803227E0 0031F740 4E 80 04 21 */ bctrl -lbl_803227E4: -/* 803227E4 0031F744 28 1E 00 00 */ cmplwi r30, 0 -/* 803227E8 0031F748 41 82 00 20 */ beq lbl_80322808 -/* 803227EC 0031F74C 3C 60 80 3F */ lis r3, lbl_803EC584@ha -/* 803227F0 0031F750 38 03 C5 84 */ addi r0, r3, lbl_803EC584@l -/* 803227F4 0031F754 90 1E 00 00 */ stw r0, 0(r30) -/* 803227F8 0031F758 41 82 00 10 */ beq lbl_80322808 -/* 803227FC 0031F75C 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 80322800 0031F760 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 80322804 0031F764 90 1E 00 00 */ stw r0, 0(r30) -lbl_80322808: -/* 80322808 0031F768 7F E0 07 35 */ extsh. r0, r31 -/* 8032280C 0031F76C 40 81 00 10 */ ble lbl_8032281C -/* 80322810 0031F770 7F C3 F3 78 */ mr r3, r30 -/* 80322814 0031F774 38 80 00 0C */ li r4, 0xc -/* 80322818 0031F778 48 04 A2 4D */ bl sub_8036ca64 -lbl_8032281C: -/* 8032281C 0031F77C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80322820 0031F780 7F C3 F3 78 */ mr r3, r30 -/* 80322824 0031F784 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80322828 0031F788 83 C1 00 08 */ lwz r30, 8(r1) -/* 8032282C 0031F78C 7C 08 03 A6 */ mtlr r0 -/* 80322830 0031F790 38 21 00 10 */ addi r1, r1, 0x10 -/* 80322834 0031F794 4E 80 00 20 */ blr - -.global __ct__8CIEDeathFP11CIntElementP11CIntElement -__ct__8CIEDeathFP11CIntElementP11CIntElement: -/* 80322838 0031F798 3D 00 80 3F */ lis r8, lbl_803EC5A8@ha -/* 8032283C 0031F79C 3C E0 80 3F */ lis r7, lbl_803EC584@ha -/* 80322840 0031F7A0 38 08 C5 A8 */ addi r0, r8, lbl_803EC5A8@l -/* 80322844 0031F7A4 3C C0 80 3F */ lis r6, lbl_803EDC18@ha -/* 80322848 0031F7A8 90 03 00 00 */ stw r0, 0(r3) -/* 8032284C 0031F7AC 38 E7 C5 84 */ addi r7, r7, lbl_803EC584@l -/* 80322850 0031F7B0 38 06 DC 18 */ addi r0, r6, lbl_803EDC18@l -/* 80322854 0031F7B4 90 E3 00 00 */ stw r7, 0(r3) -/* 80322858 0031F7B8 90 03 00 00 */ stw r0, 0(r3) -/* 8032285C 0031F7BC 90 83 00 04 */ stw r4, 4(r3) -/* 80322860 0031F7C0 90 A3 00 08 */ stw r5, 8(r3) -/* 80322864 0031F7C4 4E 80 00 20 */ blr - -.global sub_80322868 -sub_80322868: -/* 80322868 0031F7C8 80 03 00 04 */ lwz r0, 4(r3) -/* 8032286C 0031F7CC 38 60 00 00 */ li r3, 0 -/* 80322870 0031F7D0 90 05 00 00 */ stw r0, 0(r5) -/* 80322874 0031F7D4 4E 80 00 20 */ blr - -.global __dt__11CIEConstant -__dt__11CIEConstant: -/* 80322878 0031F7D8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8032287C 0031F7DC 7C 08 02 A6 */ mflr r0 -/* 80322880 0031F7E0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80322884 0031F7E4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80322888 0031F7E8 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8032288C 0031F7EC 41 82 00 44 */ beq lbl_803228D0 -/* 80322890 0031F7F0 3C 60 80 3F */ lis r3, lbl_803EDC28@ha -/* 80322894 0031F7F4 38 03 DC 28 */ addi r0, r3, lbl_803EDC28@l -/* 80322898 0031F7F8 90 1F 00 00 */ stw r0, 0(r31) -/* 8032289C 0031F7FC 41 82 00 20 */ beq lbl_803228BC -/* 803228A0 0031F800 3C 60 80 3F */ lis r3, lbl_803EC584@ha -/* 803228A4 0031F804 38 03 C5 84 */ addi r0, r3, lbl_803EC584@l -/* 803228A8 0031F808 90 1F 00 00 */ stw r0, 0(r31) -/* 803228AC 0031F80C 41 82 00 10 */ beq lbl_803228BC -/* 803228B0 0031F810 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 803228B4 0031F814 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 803228B8 0031F818 90 1F 00 00 */ stw r0, 0(r31) -lbl_803228BC: -/* 803228BC 0031F81C 7C 80 07 35 */ extsh. r0, r4 -/* 803228C0 0031F820 40 81 00 10 */ ble lbl_803228D0 -/* 803228C4 0031F824 7F E3 FB 78 */ mr r3, r31 -/* 803228C8 0031F828 38 80 00 08 */ li r4, 8 -/* 803228CC 0031F82C 48 04 A1 99 */ bl sub_8036ca64 -lbl_803228D0: -/* 803228D0 0031F830 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803228D4 0031F834 7F E3 FB 78 */ mr r3, r31 -/* 803228D8 0031F838 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 803228DC 0031F83C 7C 08 03 A6 */ mtlr r0 -/* 803228E0 0031F840 38 21 00 10 */ addi r1, r1, 0x10 -/* 803228E4 0031F844 4E 80 00 20 */ blr - -.global __ct__11CIEConstantFi -__ct__11CIEConstantFi: -/* 803228E8 0031F848 3C E0 80 3F */ lis r7, lbl_803EC5A8@ha -/* 803228EC 0031F84C 3C C0 80 3F */ lis r6, lbl_803EC584@ha -/* 803228F0 0031F850 38 07 C5 A8 */ addi r0, r7, lbl_803EC5A8@l -/* 803228F4 0031F854 3C A0 80 3F */ lis r5, lbl_803EDC28@ha -/* 803228F8 0031F858 90 03 00 00 */ stw r0, 0(r3) -/* 803228FC 0031F85C 38 C6 C5 84 */ addi r6, r6, lbl_803EC584@l -/* 80322900 0031F860 38 05 DC 28 */ addi r0, r5, lbl_803EDC28@l -/* 80322904 0031F864 90 C3 00 00 */ stw r6, 0(r3) -/* 80322908 0031F868 90 03 00 00 */ stw r0, 0(r3) -/* 8032290C 0031F86C 90 83 00 04 */ stw r4, 4(r3) -/* 80322910 0031F870 4E 80 00 20 */ blr - -.global __dt__7CIEGAPC -__dt__7CIEGAPC: -/* 80322914 0031F874 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80322918 0031F878 7C 08 02 A6 */ mflr r0 -/* 8032291C 0031F87C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80322920 0031F880 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80322924 0031F884 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80322928 0031F888 41 82 00 44 */ beq lbl_8032296C -/* 8032292C 0031F88C 3C 60 80 3F */ lis r3, lbl_803EDB08@ha -/* 80322930 0031F890 38 03 DB 08 */ addi r0, r3, lbl_803EDB08@l -/* 80322934 0031F894 90 1F 00 00 */ stw r0, 0(r31) -/* 80322938 0031F898 41 82 00 20 */ beq lbl_80322958 -/* 8032293C 0031F89C 3C 60 80 3F */ lis r3, lbl_803EC584@ha -/* 80322940 0031F8A0 38 03 C5 84 */ addi r0, r3, lbl_803EC584@l -/* 80322944 0031F8A4 90 1F 00 00 */ stw r0, 0(r31) -/* 80322948 0031F8A8 41 82 00 10 */ beq lbl_80322958 -/* 8032294C 0031F8AC 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 80322950 0031F8B0 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 80322954 0031F8B4 90 1F 00 00 */ stw r0, 0(r31) -lbl_80322958: -/* 80322958 0031F8B8 7C 80 07 35 */ extsh. r0, r4 -/* 8032295C 0031F8BC 40 81 00 10 */ ble lbl_8032296C -/* 80322960 0031F8C0 7F E3 FB 78 */ mr r3, r31 -/* 80322964 0031F8C4 38 80 00 04 */ li r4, 4 -/* 80322968 0031F8C8 48 04 A0 FD */ bl sub_8036ca64 -lbl_8032296C: -/* 8032296C 0031F8CC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80322970 0031F8D0 7F E3 FB 78 */ mr r3, r31 -/* 80322974 0031F8D4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80322978 0031F8D8 7C 08 03 A6 */ mtlr r0 -/* 8032297C 0031F8DC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80322980 0031F8E0 4E 80 00 20 */ blr - -.global __dt__7CIEGTCP -__dt__7CIEGTCP: -/* 80322984 0031F8E4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80322988 0031F8E8 7C 08 02 A6 */ mflr r0 -/* 8032298C 0031F8EC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80322990 0031F8F0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80322994 0031F8F4 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80322998 0031F8F8 41 82 00 44 */ beq lbl_803229DC -/* 8032299C 0031F8FC 3C 60 80 3F */ lis r3, lbl_803EDB18@ha -/* 803229A0 0031F900 38 03 DB 18 */ addi r0, r3, lbl_803EDB18@l -/* 803229A4 0031F904 90 1F 00 00 */ stw r0, 0(r31) -/* 803229A8 0031F908 41 82 00 20 */ beq lbl_803229C8 -/* 803229AC 0031F90C 3C 60 80 3F */ lis r3, lbl_803EC584@ha -/* 803229B0 0031F910 38 03 C5 84 */ addi r0, r3, lbl_803EC584@l -/* 803229B4 0031F914 90 1F 00 00 */ stw r0, 0(r31) -/* 803229B8 0031F918 41 82 00 10 */ beq lbl_803229C8 -/* 803229BC 0031F91C 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 803229C0 0031F920 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 803229C4 0031F924 90 1F 00 00 */ stw r0, 0(r31) -lbl_803229C8: -/* 803229C8 0031F928 7C 80 07 35 */ extsh. r0, r4 -/* 803229CC 0031F92C 40 81 00 10 */ ble lbl_803229DC -/* 803229D0 0031F930 7F E3 FB 78 */ mr r3, r31 -/* 803229D4 0031F934 38 80 00 04 */ li r4, 4 -/* 803229D8 0031F938 48 04 A0 8D */ bl sub_8036ca64 -lbl_803229DC: -/* 803229DC 0031F93C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803229E0 0031F940 7F E3 FB 78 */ mr r3, r31 -/* 803229E4 0031F944 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 803229E8 0031F948 7C 08 03 A6 */ mtlr r0 -/* 803229EC 0031F94C 38 21 00 10 */ addi r1, r1, 0x10 -/* 803229F0 0031F950 4E 80 00 20 */ blr - -.global GetValue__15CMVESetPositionCFiR9CVector3fR9CVector3f -GetValue__15CMVESetPositionCFiR9CVector3fR9CVector3f: -/* 803229F4 0031F954 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803229F8 0031F958 7C 08 02 A6 */ mflr r0 -/* 803229FC 0031F95C 7C C5 33 78 */ mr r5, r6 -/* 80322A00 0031F960 90 01 00 14 */ stw r0, 0x14(r1) -/* 80322A04 0031F964 80 63 00 04 */ lwz r3, 4(r3) -/* 80322A08 0031F968 81 83 00 00 */ lwz r12, 0(r3) -/* 80322A0C 0031F96C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80322A10 0031F970 7D 89 03 A6 */ mtctr r12 -/* 80322A14 0031F974 4E 80 04 21 */ bctrl -/* 80322A18 0031F978 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80322A1C 0031F97C 38 60 00 00 */ li r3, 0 -/* 80322A20 0031F980 7C 08 03 A6 */ mtlr r0 -/* 80322A24 0031F984 38 21 00 10 */ addi r1, r1, 0x10 -/* 80322A28 0031F988 4E 80 00 20 */ blr - -.global __dt__15CMVESetPositionFv -__dt__15CMVESetPositionFv: -/* 80322A2C 0031F98C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80322A30 0031F990 7C 08 02 A6 */ mflr r0 -/* 80322A34 0031F994 90 01 00 14 */ stw r0, 0x14(r1) -/* 80322A38 0031F998 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80322A3C 0031F99C 7C 9F 23 78 */ mr r31, r4 -/* 80322A40 0031F9A0 93 C1 00 08 */ stw r30, 8(r1) -/* 80322A44 0031F9A4 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80322A48 0031F9A8 41 82 00 68 */ beq lbl_80322AB0 -/* 80322A4C 0031F9AC 3C 60 80 3F */ lis r3, lbl_803EDC38@ha -/* 80322A50 0031F9B0 38 03 DC 38 */ addi r0, r3, lbl_803EDC38@l -/* 80322A54 0031F9B4 90 1E 00 00 */ stw r0, 0(r30) -/* 80322A58 0031F9B8 80 7E 00 04 */ lwz r3, 4(r30) -/* 80322A5C 0031F9BC 28 03 00 00 */ cmplwi r3, 0 -/* 80322A60 0031F9C0 41 82 00 18 */ beq lbl_80322A78 -/* 80322A64 0031F9C4 81 83 00 00 */ lwz r12, 0(r3) -/* 80322A68 0031F9C8 38 80 00 01 */ li r4, 1 -/* 80322A6C 0031F9CC 81 8C 00 08 */ lwz r12, 8(r12) -/* 80322A70 0031F9D0 7D 89 03 A6 */ mtctr r12 -/* 80322A74 0031F9D4 4E 80 04 21 */ bctrl -lbl_80322A78: -/* 80322A78 0031F9D8 28 1E 00 00 */ cmplwi r30, 0 -/* 80322A7C 0031F9DC 41 82 00 20 */ beq lbl_80322A9C -/* 80322A80 0031F9E0 3C 60 80 3F */ lis r3, lbl_803EC5C8@ha -/* 80322A84 0031F9E4 38 03 C5 C8 */ addi r0, r3, lbl_803EC5C8@l -/* 80322A88 0031F9E8 90 1E 00 00 */ stw r0, 0(r30) -/* 80322A8C 0031F9EC 41 82 00 10 */ beq lbl_80322A9C -/* 80322A90 0031F9F0 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 80322A94 0031F9F4 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 80322A98 0031F9F8 90 1E 00 00 */ stw r0, 0(r30) -lbl_80322A9C: -/* 80322A9C 0031F9FC 7F E0 07 35 */ extsh. r0, r31 -/* 80322AA0 0031FA00 40 81 00 10 */ ble lbl_80322AB0 -/* 80322AA4 0031FA04 7F C3 F3 78 */ mr r3, r30 -/* 80322AA8 0031FA08 38 80 00 08 */ li r4, 8 -/* 80322AAC 0031FA0C 48 04 9F B9 */ bl sub_8036ca64 -lbl_80322AB0: -/* 80322AB0 0031FA10 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80322AB4 0031FA14 7F C3 F3 78 */ mr r3, r30 -/* 80322AB8 0031FA18 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80322ABC 0031FA1C 83 C1 00 08 */ lwz r30, 8(r1) -/* 80322AC0 0031FA20 7C 08 03 A6 */ mtlr r0 -/* 80322AC4 0031FA24 38 21 00 10 */ addi r1, r1, 0x10 -/* 80322AC8 0031FA28 4E 80 00 20 */ blr - -.global __ct__15CMVESetPositionFP14CVectorElement -__ct__15CMVESetPositionFP14CVectorElement: -/* 80322ACC 0031FA2C 3C E0 80 3F */ lis r7, lbl_803EC5A8@ha -/* 80322AD0 0031FA30 3C C0 80 3F */ lis r6, lbl_803EC5C8@ha -/* 80322AD4 0031FA34 38 07 C5 A8 */ addi r0, r7, lbl_803EC5A8@l -/* 80322AD8 0031FA38 3C A0 80 3F */ lis r5, lbl_803EDC38@ha -/* 80322ADC 0031FA3C 90 03 00 00 */ stw r0, 0(r3) -/* 80322AE0 0031FA40 38 C6 C5 C8 */ addi r6, r6, lbl_803EC5C8@l -/* 80322AE4 0031FA44 38 05 DC 38 */ addi r0, r5, lbl_803EDC38@l -/* 80322AE8 0031FA48 90 C3 00 00 */ stw r6, 0(r3) -/* 80322AEC 0031FA4C 90 03 00 00 */ stw r0, 0(r3) -/* 80322AF0 0031FA50 90 83 00 04 */ stw r4, 4(r3) -/* 80322AF4 0031FA54 4E 80 00 20 */ blr - -.global GetValue__10CMVEBounceCFiR9CVector3fR9CVector3f -GetValue__10CMVEBounceCFiR9CVector3fR9CVector3f: -/* 80322AF8 0031FA58 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 80322AFC 0031FA5C 7C 08 02 A6 */ mflr r0 -/* 80322B00 0031FA60 90 01 00 64 */ stw r0, 0x64(r1) -/* 80322B04 0031FA64 DB E1 00 50 */ stfd f31, 0x50(r1) -/* 80322B08 0031FA68 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 -/* 80322B0C 0031FA6C DB C1 00 40 */ stfd f30, 0x40(r1) -/* 80322B10 0031FA70 F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 -/* 80322B14 0031FA74 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 80322B18 0031FA78 93 C1 00 38 */ stw r30, 0x38(r1) -/* 80322B1C 0031FA7C 93 A1 00 34 */ stw r29, 0x34(r1) -/* 80322B20 0031FA80 93 81 00 30 */ stw r28, 0x30(r1) -/* 80322B24 0031FA84 7C 7C 1B 78 */ mr r28, r3 -/* 80322B28 0031FA88 7C 9D 23 78 */ mr r29, r4 -/* 80322B2C 0031FA8C 88 03 00 14 */ lbz r0, 0x14(r3) -/* 80322B30 0031FA90 7C BE 2B 78 */ mr r30, r5 -/* 80322B34 0031FA94 7C DF 33 78 */ mr r31, r6 -/* 80322B38 0031FA98 28 00 00 00 */ cmplwi r0, 0 -/* 80322B3C 0031FA9C 40 82 00 78 */ bne lbl_80322BB4 -/* 80322B40 0031FAA0 80 7C 00 08 */ lwz r3, 8(r28) -/* 80322B44 0031FAA4 38 BC 00 18 */ addi r5, r28, 0x18 -/* 80322B48 0031FAA8 81 83 00 00 */ lwz r12, 0(r3) -/* 80322B4C 0031FAAC 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80322B50 0031FAB0 7D 89 03 A6 */ mtctr r12 -/* 80322B54 0031FAB4 4E 80 04 21 */ bctrl -/* 80322B58 0031FAB8 38 7C 00 18 */ addi r3, r28, 0x18 -/* 80322B5C 0031FABC 4B FF 1D 9D */ bl Normalize__9CVector3fFv -/* 80322B60 0031FAC0 C0 02 CA 68 */ lfs f0, lbl_805AE788@sda21(r2) -/* 80322B64 0031FAC4 7F A4 EB 78 */ mr r4, r29 -/* 80322B68 0031FAC8 80 7C 00 04 */ lwz r3, 4(r28) -/* 80322B6C 0031FACC 38 A1 00 1C */ addi r5, r1, 0x1c -/* 80322B70 0031FAD0 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 80322B74 0031FAD4 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 80322B78 0031FAD8 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 80322B7C 0031FADC 81 83 00 00 */ lwz r12, 0(r3) -/* 80322B80 0031FAE0 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80322B84 0031FAE4 7D 89 03 A6 */ mtctr r12 -/* 80322B88 0031FAE8 4E 80 04 21 */ bctrl -/* 80322B8C 0031FAEC C0 3C 00 1C */ lfs f1, 0x1c(r28) -/* 80322B90 0031FAF0 C0 01 00 20 */ lfs f0, 0x20(r1) -/* 80322B94 0031FAF4 C0 5C 00 18 */ lfs f2, 0x18(r28) -/* 80322B98 0031FAF8 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80322B9C 0031FAFC C0 21 00 1C */ lfs f1, 0x1c(r1) -/* 80322BA0 0031FB00 C0 9C 00 20 */ lfs f4, 0x20(r28) -/* 80322BA4 0031FB04 C0 61 00 24 */ lfs f3, 0x24(r1) -/* 80322BA8 0031FB08 EC 02 00 7A */ fmadds f0, f2, f1, f0 -/* 80322BAC 0031FB0C EC 04 00 FA */ fmadds f0, f4, f3, f0 -/* 80322BB0 0031FB10 D0 1C 00 24 */ stfs f0, 0x24(r28) -lbl_80322BB4: -/* 80322BB4 0031FB14 C0 7C 00 1C */ lfs f3, 0x1c(r28) -/* 80322BB8 0031FB18 C1 BF 00 04 */ lfs f13, 4(r31) -/* 80322BBC 0031FB1C C1 1C 00 18 */ lfs f8, 0x18(r28) -/* 80322BC0 0031FB20 EC 23 03 72 */ fmuls f1, f3, f13 -/* 80322BC4 0031FB24 C1 7F 00 00 */ lfs f11, 0(r31) -/* 80322BC8 0031FB28 C1 3C 00 20 */ lfs f9, 0x20(r28) -/* 80322BCC 0031FB2C C0 1F 00 08 */ lfs f0, 8(r31) -/* 80322BD0 0031FB30 EC 28 0A FA */ fmadds f1, f8, f11, f1 -/* 80322BD4 0031FB34 C3 DC 00 24 */ lfs f30, 0x24(r28) -/* 80322BD8 0031FB38 C0 E2 CA 68 */ lfs f7, lbl_805AE788@sda21(r2) -/* 80322BDC 0031FB3C EC 29 08 3A */ fmadds f1, f9, f0, f1 -/* 80322BE0 0031FB40 EC 21 F0 28 */ fsubs f1, f1, f30 -/* 80322BE4 0031FB44 FC 01 38 40 */ fcmpo cr0, f1, f7 -/* 80322BE8 0031FB48 40 81 00 0C */ ble lbl_80322BF4 -/* 80322BEC 0031FB4C 38 60 00 00 */ li r3, 0 -/* 80322BF0 0031FB50 48 00 01 88 */ b lbl_80322D78 -lbl_80322BF4: -/* 80322BF4 0031FB54 88 1C 00 15 */ lbz r0, 0x15(r28) -/* 80322BF8 0031FB58 28 00 00 00 */ cmplwi r0, 0 -/* 80322BFC 0031FB5C 41 82 00 0C */ beq lbl_80322C08 -/* 80322C00 0031FB60 38 60 00 01 */ li r3, 1 -/* 80322C04 0031FB64 48 00 01 74 */ b lbl_80322D78 -lbl_80322C08: -/* 80322C08 0031FB68 C1 9E 00 04 */ lfs f12, 4(r30) -/* 80322C0C 0031FB6C C1 5E 00 00 */ lfs f10, 0(r30) -/* 80322C10 0031FB70 EC 43 03 32 */ fmuls f2, f3, f12 -/* 80322C14 0031FB74 C3 FE 00 08 */ lfs f31, 8(r30) -/* 80322C18 0031FB78 EC 28 12 BA */ fmadds f1, f8, f10, f2 -/* 80322C1C 0031FB7C EC 29 0F FA */ fmadds f1, f9, f31, f1 -/* 80322C20 0031FB80 FC 01 38 40 */ fcmpo cr0, f1, f7 -/* 80322C24 0031FB84 40 80 01 50 */ bge lbl_80322D74 -/* 80322C28 0031FB88 EC AD 60 28 */ fsubs f5, f13, f12 -/* 80322C2C 0031FB8C C0 22 CA 6C */ lfs f1, lbl_805AE78C@sda21(r2) -/* 80322C30 0031FB90 EC CB 50 28 */ fsubs f6, f11, f10 -/* 80322C34 0031FB94 7F A4 EB 78 */ mr r4, r29 -/* 80322C38 0031FB98 EC 80 F8 28 */ fsubs f4, f0, f31 -/* 80322C3C 0031FB9C 38 A1 00 0C */ addi r5, r1, 0xc -/* 80322C40 0031FBA0 EC 65 00 F2 */ fmuls f3, f5, f3 -/* 80322C44 0031FBA4 D0 C1 00 10 */ stfs f6, 0x10(r1) -/* 80322C48 0031FBA8 EC 4A 12 3A */ fmadds f2, f10, f8, f2 -/* 80322C4C 0031FBAC D0 A1 00 14 */ stfs f5, 0x14(r1) -/* 80322C50 0031FBB0 EC 66 1A 3A */ fmadds f3, f6, f8, f3 -/* 80322C54 0031FBB4 EC 5F 12 7A */ fmadds f2, f31, f9, f2 -/* 80322C58 0031FBB8 D0 81 00 18 */ stfs f4, 0x18(r1) -/* 80322C5C 0031FBBC EC 64 1A 7A */ fmadds f3, f4, f9, f3 -/* 80322C60 0031FBC0 EC 63 F0 28 */ fsubs f3, f3, f30 -/* 80322C64 0031FBC4 FC 60 18 50 */ fneg f3, f3 -/* 80322C68 0031FBC8 EC 43 10 24 */ fdivs f2, f3, f2 -/* 80322C6C 0031FBCC EC 22 08 28 */ fsubs f1, f2, f1 -/* 80322C70 0031FBD0 EC 61 02 B2 */ fmuls f3, f1, f10 -/* 80322C74 0031FBD4 EC 41 03 32 */ fmuls f2, f1, f12 -/* 80322C78 0031FBD8 EC 21 07 F2 */ fmuls f1, f1, f31 -/* 80322C7C 0031FBDC EC 6B 18 2A */ fadds f3, f11, f3 -/* 80322C80 0031FBE0 EC 4D 10 2A */ fadds f2, f13, f2 -/* 80322C84 0031FBE4 EC 00 08 2A */ fadds f0, f0, f1 -/* 80322C88 0031FBE8 D0 7F 00 00 */ stfs f3, 0(r31) -/* 80322C8C 0031FBEC D0 5F 00 04 */ stfs f2, 4(r31) -/* 80322C90 0031FBF0 D0 1F 00 08 */ stfs f0, 8(r31) -/* 80322C94 0031FBF4 D0 E1 00 0C */ stfs f7, 0xc(r1) -/* 80322C98 0031FBF8 80 7C 00 10 */ lwz r3, 0x10(r28) -/* 80322C9C 0031FBFC 81 83 00 00 */ lwz r12, 0(r3) -/* 80322CA0 0031FC00 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80322CA4 0031FC04 7D 89 03 A6 */ mtctr r12 -/* 80322CA8 0031FC08 4E 80 04 21 */ bctrl -/* 80322CAC 0031FC0C C0 A1 00 0C */ lfs f5, 0xc(r1) -/* 80322CB0 0031FC10 7F A4 EB 78 */ mr r4, r29 -/* 80322CB4 0031FC14 C0 1E 00 00 */ lfs f0, 0(r30) -/* 80322CB8 0031FC18 38 A1 00 08 */ addi r5, r1, 8 -/* 80322CBC 0031FC1C C0 9E 00 04 */ lfs f4, 4(r30) -/* 80322CC0 0031FC20 EC 25 00 32 */ fmuls f1, f5, f0 -/* 80322CC4 0031FC24 C0 5E 00 00 */ lfs f2, 0(r30) -/* 80322CC8 0031FC28 C0 7E 00 08 */ lfs f3, 8(r30) -/* 80322CCC 0031FC2C EC 85 01 32 */ fmuls f4, f5, f4 -/* 80322CD0 0031FC30 C0 02 CA 68 */ lfs f0, lbl_805AE788@sda21(r2) -/* 80322CD4 0031FC34 EC 22 08 28 */ fsubs f1, f2, f1 -/* 80322CD8 0031FC38 EC 45 00 F2 */ fmuls f2, f5, f3 -/* 80322CDC 0031FC3C D0 3E 00 00 */ stfs f1, 0(r30) -/* 80322CE0 0031FC40 C0 3E 00 04 */ lfs f1, 4(r30) -/* 80322CE4 0031FC44 EC 21 20 28 */ fsubs f1, f1, f4 -/* 80322CE8 0031FC48 D0 3E 00 04 */ stfs f1, 4(r30) -/* 80322CEC 0031FC4C C0 3E 00 08 */ lfs f1, 8(r30) -/* 80322CF0 0031FC50 EC 21 10 28 */ fsubs f1, f1, f2 -/* 80322CF4 0031FC54 D0 3E 00 08 */ stfs f1, 8(r30) -/* 80322CF8 0031FC58 D0 01 00 08 */ stfs f0, 8(r1) -/* 80322CFC 0031FC5C 80 7C 00 0C */ lwz r3, 0xc(r28) -/* 80322D00 0031FC60 81 83 00 00 */ lwz r12, 0(r3) -/* 80322D04 0031FC64 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80322D08 0031FC68 7D 89 03 A6 */ mtctr r12 -/* 80322D0C 0031FC6C 4E 80 04 21 */ bctrl -/* 80322D10 0031FC70 C0 BC 00 1C */ lfs f5, 0x1c(r28) -/* 80322D14 0031FC74 C0 1E 00 04 */ lfs f0, 4(r30) -/* 80322D18 0031FC78 C0 9C 00 18 */ lfs f4, 0x18(r28) -/* 80322D1C 0031FC7C EC 05 00 32 */ fmuls f0, f5, f0 -/* 80322D20 0031FC80 C0 3E 00 00 */ lfs f1, 0(r30) -/* 80322D24 0031FC84 C0 62 CA 6C */ lfs f3, lbl_805AE78C@sda21(r2) -/* 80322D28 0031FC88 C0 41 00 08 */ lfs f2, 8(r1) -/* 80322D2C 0031FC8C EC 04 00 7A */ fmadds f0, f4, f1, f0 -/* 80322D30 0031FC90 C0 DC 00 20 */ lfs f6, 0x20(r28) -/* 80322D34 0031FC94 C0 3E 00 08 */ lfs f1, 8(r30) -/* 80322D38 0031FC98 EC 43 10 2A */ fadds f2, f3, f2 -/* 80322D3C 0031FC9C C0 7E 00 00 */ lfs f3, 0(r30) -/* 80322D40 0031FCA0 EC 06 00 7A */ fmadds f0, f6, f1, f0 -/* 80322D44 0031FCA4 EC 02 00 32 */ fmuls f0, f2, f0 -/* 80322D48 0031FCA8 EC 40 01 32 */ fmuls f2, f0, f4 -/* 80322D4C 0031FCAC EC 20 01 72 */ fmuls f1, f0, f5 -/* 80322D50 0031FCB0 EC 00 01 B2 */ fmuls f0, f0, f6 -/* 80322D54 0031FCB4 EC 43 10 28 */ fsubs f2, f3, f2 -/* 80322D58 0031FCB8 D0 5E 00 00 */ stfs f2, 0(r30) -/* 80322D5C 0031FCBC C0 5E 00 04 */ lfs f2, 4(r30) -/* 80322D60 0031FCC0 EC 22 08 28 */ fsubs f1, f2, f1 -/* 80322D64 0031FCC4 D0 3E 00 04 */ stfs f1, 4(r30) -/* 80322D68 0031FCC8 C0 3E 00 08 */ lfs f1, 8(r30) -/* 80322D6C 0031FCCC EC 01 00 28 */ fsubs f0, f1, f0 -/* 80322D70 0031FCD0 D0 1E 00 08 */ stfs f0, 8(r30) -lbl_80322D74: -/* 80322D74 0031FCD4 38 60 00 00 */ li r3, 0 -lbl_80322D78: -/* 80322D78 0031FCD8 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 -/* 80322D7C 0031FCDC CB E1 00 50 */ lfd f31, 0x50(r1) -/* 80322D80 0031FCE0 E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 -/* 80322D84 0031FCE4 CB C1 00 40 */ lfd f30, 0x40(r1) -/* 80322D88 0031FCE8 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 80322D8C 0031FCEC 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 80322D90 0031FCF0 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 80322D94 0031FCF4 80 01 00 64 */ lwz r0, 0x64(r1) -/* 80322D98 0031FCF8 83 81 00 30 */ lwz r28, 0x30(r1) -/* 80322D9C 0031FCFC 7C 08 03 A6 */ mtlr r0 -/* 80322DA0 0031FD00 38 21 00 60 */ addi r1, r1, 0x60 -/* 80322DA4 0031FD04 4E 80 00 20 */ blr - -.global __dt__10CMVEBounceFv -__dt__10CMVEBounceFv: -/* 80322DA8 0031FD08 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80322DAC 0031FD0C 7C 08 02 A6 */ mflr r0 -/* 80322DB0 0031FD10 90 01 00 14 */ stw r0, 0x14(r1) -/* 80322DB4 0031FD14 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80322DB8 0031FD18 7C 9F 23 78 */ mr r31, r4 -/* 80322DBC 0031FD1C 93 C1 00 08 */ stw r30, 8(r1) -/* 80322DC0 0031FD20 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80322DC4 0031FD24 41 82 00 C8 */ beq lbl_80322E8C -/* 80322DC8 0031FD28 3C 60 80 3F */ lis r3, lbl_803EDC48@ha -/* 80322DCC 0031FD2C 38 03 DC 48 */ addi r0, r3, lbl_803EDC48@l -/* 80322DD0 0031FD30 90 1E 00 00 */ stw r0, 0(r30) -/* 80322DD4 0031FD34 80 7E 00 04 */ lwz r3, 4(r30) -/* 80322DD8 0031FD38 28 03 00 00 */ cmplwi r3, 0 -/* 80322DDC 0031FD3C 41 82 00 18 */ beq lbl_80322DF4 -/* 80322DE0 0031FD40 81 83 00 00 */ lwz r12, 0(r3) -/* 80322DE4 0031FD44 38 80 00 01 */ li r4, 1 -/* 80322DE8 0031FD48 81 8C 00 08 */ lwz r12, 8(r12) -/* 80322DEC 0031FD4C 7D 89 03 A6 */ mtctr r12 -/* 80322DF0 0031FD50 4E 80 04 21 */ bctrl -lbl_80322DF4: -/* 80322DF4 0031FD54 80 7E 00 08 */ lwz r3, 8(r30) -/* 80322DF8 0031FD58 28 03 00 00 */ cmplwi r3, 0 -/* 80322DFC 0031FD5C 41 82 00 18 */ beq lbl_80322E14 -/* 80322E00 0031FD60 81 83 00 00 */ lwz r12, 0(r3) -/* 80322E04 0031FD64 38 80 00 01 */ li r4, 1 -/* 80322E08 0031FD68 81 8C 00 08 */ lwz r12, 8(r12) -/* 80322E0C 0031FD6C 7D 89 03 A6 */ mtctr r12 -/* 80322E10 0031FD70 4E 80 04 21 */ bctrl -lbl_80322E14: -/* 80322E14 0031FD74 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 80322E18 0031FD78 28 03 00 00 */ cmplwi r3, 0 -/* 80322E1C 0031FD7C 41 82 00 18 */ beq lbl_80322E34 -/* 80322E20 0031FD80 81 83 00 00 */ lwz r12, 0(r3) -/* 80322E24 0031FD84 38 80 00 01 */ li r4, 1 -/* 80322E28 0031FD88 81 8C 00 08 */ lwz r12, 8(r12) -/* 80322E2C 0031FD8C 7D 89 03 A6 */ mtctr r12 -/* 80322E30 0031FD90 4E 80 04 21 */ bctrl -lbl_80322E34: -/* 80322E34 0031FD94 80 7E 00 10 */ lwz r3, 0x10(r30) -/* 80322E38 0031FD98 28 03 00 00 */ cmplwi r3, 0 -/* 80322E3C 0031FD9C 41 82 00 18 */ beq lbl_80322E54 -/* 80322E40 0031FDA0 81 83 00 00 */ lwz r12, 0(r3) -/* 80322E44 0031FDA4 38 80 00 01 */ li r4, 1 -/* 80322E48 0031FDA8 81 8C 00 08 */ lwz r12, 8(r12) -/* 80322E4C 0031FDAC 7D 89 03 A6 */ mtctr r12 -/* 80322E50 0031FDB0 4E 80 04 21 */ bctrl -lbl_80322E54: -/* 80322E54 0031FDB4 28 1E 00 00 */ cmplwi r30, 0 -/* 80322E58 0031FDB8 41 82 00 20 */ beq lbl_80322E78 -/* 80322E5C 0031FDBC 3C 60 80 3F */ lis r3, lbl_803EC5C8@ha -/* 80322E60 0031FDC0 38 03 C5 C8 */ addi r0, r3, lbl_803EC5C8@l -/* 80322E64 0031FDC4 90 1E 00 00 */ stw r0, 0(r30) -/* 80322E68 0031FDC8 41 82 00 10 */ beq lbl_80322E78 -/* 80322E6C 0031FDCC 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 80322E70 0031FDD0 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 80322E74 0031FDD4 90 1E 00 00 */ stw r0, 0(r30) -lbl_80322E78: -/* 80322E78 0031FDD8 7F E0 07 35 */ extsh. r0, r31 -/* 80322E7C 0031FDDC 40 81 00 10 */ ble lbl_80322E8C -/* 80322E80 0031FDE0 7F C3 F3 78 */ mr r3, r30 -/* 80322E84 0031FDE4 38 80 00 28 */ li r4, 0x28 -/* 80322E88 0031FDE8 48 04 9B DD */ bl sub_8036ca64 -lbl_80322E8C: -/* 80322E8C 0031FDEC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80322E90 0031FDF0 7F C3 F3 78 */ mr r3, r30 -/* 80322E94 0031FDF4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80322E98 0031FDF8 83 C1 00 08 */ lwz r30, 8(r1) -/* 80322E9C 0031FDFC 7C 08 03 A6 */ mtlr r0 -/* 80322EA0 0031FE00 38 21 00 10 */ addi r1, r1, 0x10 -/* 80322EA4 0031FE04 4E 80 00 20 */ blr - -.global __ct__10CMVEBounceFP14CVectorElementP14CVectorElementP12CRealElementP12CRealElementb -__ct__10CMVEBounceFP14CVectorElementP14CVectorElementP12CRealElementP12CRealElementb: -/* 80322EA8 0031FE08 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80322EAC 0031FE0C 7C 08 02 A6 */ mflr r0 -/* 80322EB0 0031FE10 3D 20 80 3F */ lis r9, lbl_803EC5C8@ha -/* 80322EB4 0031FE14 C0 02 CA 68 */ lfs f0, lbl_805AE788@sda21(r2) -/* 80322EB8 0031FE18 90 01 00 34 */ stw r0, 0x34(r1) -/* 80322EBC 0031FE1C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80322EC0 0031FE20 7C BF 2B 78 */ mr r31, r5 -/* 80322EC4 0031FE24 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80322EC8 0031FE28 7C 9E 23 79 */ or. r30, r4, r4 -/* 80322ECC 0031FE2C 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80322ED0 0031FE30 7C 7D 1B 78 */ mr r29, r3 -/* 80322ED4 0031FE34 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 80322ED8 0031FE38 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 80322EDC 0031FE3C 7F AA EB 78 */ mr r10, r29 -/* 80322EE0 0031FE40 90 1D 00 00 */ stw r0, 0(r29) -/* 80322EE4 0031FE44 38 09 C5 C8 */ addi r0, r9, lbl_803EC5C8@l -/* 80322EE8 0031FE48 3C 60 80 3F */ lis r3, lbl_803EDC48@ha -/* 80322EEC 0031FE4C 90 1D 00 00 */ stw r0, 0(r29) -/* 80322EF0 0031FE50 38 63 DC 48 */ addi r3, r3, lbl_803EDC48@l -/* 80322EF4 0031FE54 38 00 00 00 */ li r0, 0 -/* 80322EF8 0031FE58 90 7D 00 00 */ stw r3, 0(r29) -/* 80322EFC 0031FE5C 93 DD 00 04 */ stw r30, 4(r29) -/* 80322F00 0031FE60 93 FD 00 08 */ stw r31, 8(r29) -/* 80322F04 0031FE64 90 DD 00 0C */ stw r6, 0xc(r29) -/* 80322F08 0031FE68 90 FD 00 10 */ stw r7, 0x10(r29) -/* 80322F0C 0031FE6C 98 1D 00 14 */ stb r0, 0x14(r29) -/* 80322F10 0031FE70 99 1D 00 15 */ stb r8, 0x15(r29) -/* 80322F14 0031FE74 D0 1D 00 18 */ stfs f0, 0x18(r29) -/* 80322F18 0031FE78 D0 1D 00 1C */ stfs f0, 0x1c(r29) -/* 80322F1C 0031FE7C D0 1D 00 20 */ stfs f0, 0x20(r29) -/* 80322F20 0031FE80 D0 1D 00 24 */ stfs f0, 0x24(r29) -/* 80322F24 0031FE84 41 82 00 F0 */ beq lbl_80323014 -/* 80322F28 0031FE88 28 1F 00 00 */ cmplwi r31, 0 -/* 80322F2C 0031FE8C 41 82 00 E8 */ beq lbl_80323014 -/* 80322F30 0031FE90 7F C3 F3 78 */ mr r3, r30 -/* 80322F34 0031FE94 81 9E 00 00 */ lwz r12, 0(r30) -/* 80322F38 0031FE98 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80322F3C 0031FE9C 7D 89 03 A6 */ mtctr r12 -/* 80322F40 0031FEA0 4E 80 04 21 */ bctrl -/* 80322F44 0031FEA4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80322F48 0031FEA8 41 82 00 CC */ beq lbl_80323014 -/* 80322F4C 0031FEAC 7F E3 FB 78 */ mr r3, r31 -/* 80322F50 0031FEB0 81 9F 00 00 */ lwz r12, 0(r31) -/* 80322F54 0031FEB4 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80322F58 0031FEB8 7D 89 03 A6 */ mtctr r12 -/* 80322F5C 0031FEBC 4E 80 04 21 */ bctrl -/* 80322F60 0031FEC0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80322F64 0031FEC4 41 82 00 B0 */ beq lbl_80323014 -/* 80322F68 0031FEC8 38 00 00 01 */ li r0, 1 -/* 80322F6C 0031FECC 7F E3 FB 78 */ mr r3, r31 -/* 80322F70 0031FED0 98 1D 00 14 */ stb r0, 0x14(r29) -/* 80322F74 0031FED4 38 BD 00 18 */ addi r5, r29, 0x18 -/* 80322F78 0031FED8 38 80 00 00 */ li r4, 0 -/* 80322F7C 0031FEDC 81 9F 00 00 */ lwz r12, 0(r31) -/* 80322F80 0031FEE0 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80322F84 0031FEE4 7D 89 03 A6 */ mtctr r12 -/* 80322F88 0031FEE8 4E 80 04 21 */ bctrl -/* 80322F8C 0031FEEC 38 7D 00 18 */ addi r3, r29, 0x18 -/* 80322F90 0031FEF0 C0 1D 00 1C */ lfs f0, 0x1c(r29) -/* 80322F94 0031FEF4 C0 5D 00 18 */ lfs f2, 0x18(r29) -/* 80322F98 0031FEF8 C0 7D 00 20 */ lfs f3, 0x20(r29) -/* 80322F9C 0031FEFC EC 20 00 32 */ fmuls f1, f0, f0 -/* 80322FA0 0031FF00 EC 42 00 B2 */ fmuls f2, f2, f2 -/* 80322FA4 0031FF04 C0 02 CA 68 */ lfs f0, lbl_805AE788@sda21(r2) -/* 80322FA8 0031FF08 EC 63 00 F2 */ fmuls f3, f3, f3 -/* 80322FAC 0031FF0C EC 22 08 2A */ fadds f1, f2, f1 -/* 80322FB0 0031FF10 EC 23 08 2A */ fadds f1, f3, f1 -/* 80322FB4 0031FF14 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80322FB8 0031FF18 40 81 00 08 */ ble lbl_80322FC0 -/* 80322FBC 0031FF1C 4B FF 19 3D */ bl Normalize__9CVector3fFv -lbl_80322FC0: -/* 80322FC0 0031FF20 C0 02 CA 68 */ lfs f0, lbl_805AE788@sda21(r2) -/* 80322FC4 0031FF24 7F C3 F3 78 */ mr r3, r30 -/* 80322FC8 0031FF28 38 A1 00 08 */ addi r5, r1, 8 -/* 80322FCC 0031FF2C 38 80 00 00 */ li r4, 0 -/* 80322FD0 0031FF30 D0 01 00 08 */ stfs f0, 8(r1) -/* 80322FD4 0031FF34 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 80322FD8 0031FF38 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 80322FDC 0031FF3C 81 9E 00 00 */ lwz r12, 0(r30) -/* 80322FE0 0031FF40 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80322FE4 0031FF44 7D 89 03 A6 */ mtctr r12 -/* 80322FE8 0031FF48 4E 80 04 21 */ bctrl -/* 80322FEC 0031FF4C C0 3D 00 1C */ lfs f1, 0x1c(r29) -/* 80322FF0 0031FF50 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 80322FF4 0031FF54 C0 5D 00 18 */ lfs f2, 0x18(r29) -/* 80322FF8 0031FF58 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80322FFC 0031FF5C C0 21 00 08 */ lfs f1, 8(r1) -/* 80323000 0031FF60 C0 9D 00 20 */ lfs f4, 0x20(r29) -/* 80323004 0031FF64 C0 61 00 10 */ lfs f3, 0x10(r1) -/* 80323008 0031FF68 EC 02 00 7A */ fmadds f0, f2, f1, f0 -/* 8032300C 0031FF6C EC 04 00 FA */ fmadds f0, f4, f3, f0 -/* 80323010 0031FF70 D0 1D 00 24 */ stfs f0, 0x24(r29) -lbl_80323014: -/* 80323014 0031FF74 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80323018 0031FF78 7F A3 EB 78 */ mr r3, r29 -/* 8032301C 0031FF7C 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80323020 0031FF80 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80323024 0031FF84 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80323028 0031FF88 7C 08 03 A6 */ mtlr r0 -/* 8032302C 0031FF8C 38 21 00 30 */ addi r1, r1, 0x30 -/* 80323030 0031FF90 4E 80 00 20 */ blr - -.global GetValue__9CMVESwirlCFiR9CVector3fR9CVector3f -GetValue__9CMVESwirlCFiR9CVector3fR9CVector3f: -/* 80323034 0031FF94 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 80323038 0031FF98 7C 08 02 A6 */ mflr r0 -/* 8032303C 0031FF9C 90 01 00 74 */ stw r0, 0x74(r1) -/* 80323040 0031FFA0 DB E1 00 60 */ stfd f31, 0x60(r1) -/* 80323044 0031FFA4 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 -/* 80323048 0031FFA8 DB C1 00 50 */ stfd f30, 0x50(r1) -/* 8032304C 0031FFAC F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 -/* 80323050 0031FFB0 DB A1 00 40 */ stfd f29, 0x40(r1) -/* 80323054 0031FFB4 F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0 -/* 80323058 0031FFB8 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 8032305C 0031FFBC 93 C1 00 38 */ stw r30, 0x38(r1) -/* 80323060 0031FFC0 93 A1 00 34 */ stw r29, 0x34(r1) -/* 80323064 0031FFC4 93 81 00 30 */ stw r28, 0x30(r1) -/* 80323068 0031FFC8 C0 02 CA 68 */ lfs f0, lbl_805AE788@sda21(r2) -/* 8032306C 0031FFCC 7C 7C 1B 78 */ mr r28, r3 -/* 80323070 0031FFD0 7C BE 2B 78 */ mr r30, r5 -/* 80323074 0031FFD4 80 63 00 04 */ lwz r3, 4(r3) -/* 80323078 0031FFD8 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 8032307C 0031FFDC 7C 9D 23 78 */ mr r29, r4 -/* 80323080 0031FFE0 7C DF 33 78 */ mr r31, r6 -/* 80323084 0031FFE4 38 A1 00 1C */ addi r5, r1, 0x1c -/* 80323088 0031FFE8 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 8032308C 0031FFEC D0 01 00 24 */ stfs f0, 0x24(r1) -/* 80323090 0031FFF0 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 80323094 0031FFF4 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 80323098 0031FFF8 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 8032309C 0031FFFC 81 83 00 00 */ lwz r12, 0(r3) -/* 803230A0 00320000 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 803230A4 00320004 7D 89 03 A6 */ mtctr r12 -/* 803230A8 00320008 4E 80 04 21 */ bctrl -/* 803230AC 0032000C 80 7C 00 08 */ lwz r3, 8(r28) -/* 803230B0 00320010 7F A4 EB 78 */ mr r4, r29 -/* 803230B4 00320014 38 A1 00 10 */ addi r5, r1, 0x10 -/* 803230B8 00320018 81 83 00 00 */ lwz r12, 0(r3) -/* 803230BC 0032001C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 803230C0 00320020 7D 89 03 A6 */ mtctr r12 -/* 803230C4 00320024 4E 80 04 21 */ bctrl -/* 803230C8 00320028 C0 21 00 20 */ lfs f1, 0x20(r1) -/* 803230CC 0032002C 7F A4 EB 78 */ mr r4, r29 -/* 803230D0 00320030 C0 1F 00 04 */ lfs f0, 4(r31) -/* 803230D4 00320034 38 A1 00 0C */ addi r5, r1, 0xc -/* 803230D8 00320038 C0 61 00 1C */ lfs f3, 0x1c(r1) -/* 803230DC 0032003C C0 5F 00 00 */ lfs f2, 0(r31) -/* 803230E0 00320040 EC 81 00 28 */ fsubs f4, f1, f0 -/* 803230E4 00320044 C1 01 00 14 */ lfs f8, 0x14(r1) -/* 803230E8 00320048 EC A3 10 28 */ fsubs f5, f3, f2 -/* 803230EC 0032004C C0 41 00 24 */ lfs f2, 0x24(r1) -/* 803230F0 00320050 C0 3F 00 08 */ lfs f1, 8(r31) -/* 803230F4 00320054 EC 04 02 32 */ fmuls f0, f4, f8 -/* 803230F8 00320058 C0 E1 00 10 */ lfs f7, 0x10(r1) -/* 803230FC 0032005C EC 62 08 28 */ fsubs f3, f2, f1 -/* 80323100 00320060 EC 25 01 FA */ fmadds f1, f5, f7, f0 -/* 80323104 00320064 C1 21 00 18 */ lfs f9, 0x18(r1) -/* 80323108 00320068 C0 02 CA 68 */ lfs f0, lbl_805AE788@sda21(r2) -/* 8032310C 0032006C 80 7C 00 0C */ lwz r3, 0xc(r28) -/* 80323110 00320070 EC C3 0A 7A */ fmadds f6, f3, f9, f1 -/* 80323114 00320074 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 80323118 00320078 D0 01 00 08 */ stfs f0, 8(r1) -/* 8032311C 0032007C EC 46 01 F2 */ fmuls f2, f6, f7 -/* 80323120 00320080 EC 26 02 32 */ fmuls f1, f6, f8 -/* 80323124 00320084 81 83 00 00 */ lwz r12, 0(r3) -/* 80323128 00320088 EC 06 02 72 */ fmuls f0, f6, f9 -/* 8032312C 0032008C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80323130 00320090 EF A5 10 28 */ fsubs f29, f5, f2 -/* 80323134 00320094 EF C4 08 28 */ fsubs f30, f4, f1 -/* 80323138 00320098 EF E3 00 28 */ fsubs f31, f3, f0 -/* 8032313C 0032009C 7D 89 03 A6 */ mtctr r12 -/* 80323140 003200A0 4E 80 04 21 */ bctrl -/* 80323144 003200A4 80 7C 00 10 */ lwz r3, 0x10(r28) -/* 80323148 003200A8 7F A4 EB 78 */ mr r4, r29 -/* 8032314C 003200AC 38 A1 00 08 */ addi r5, r1, 8 -/* 80323150 003200B0 81 83 00 00 */ lwz r12, 0(r3) -/* 80323154 003200B4 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80323158 003200B8 7D 89 03 A6 */ mtctr r12 -/* 8032315C 003200BC 4E 80 04 21 */ bctrl -/* 80323160 003200C0 C0 E1 00 14 */ lfs f7, 0x14(r1) -/* 80323164 003200C4 38 60 00 00 */ li r3, 0 -/* 80323168 003200C8 C1 7E 00 04 */ lfs f11, 4(r30) -/* 8032316C 003200CC C1 A1 00 18 */ lfs f13, 0x18(r1) -/* 80323170 003200D0 EC 9D 01 F2 */ fmuls f4, f29, f7 -/* 80323174 003200D4 C0 A1 00 10 */ lfs f5, 0x10(r1) -/* 80323178 003200D8 EC 07 02 F2 */ fmuls f0, f7, f11 -/* 8032317C 003200DC C1 9E 00 00 */ lfs f12, 0(r30) -/* 80323180 003200E0 EC 5E 03 72 */ fmuls f2, f30, f13 -/* 80323184 003200E4 EC 3F 01 72 */ fmuls f1, f31, f5 -/* 80323188 003200E8 EC 65 03 3A */ fmadds f3, f5, f12, f0 -/* 8032318C 003200EC C0 1E 00 08 */ lfs f0, 8(r30) -/* 80323190 003200F0 EC 47 17 F8 */ fmsubs f2, f7, f31, f2 -/* 80323194 003200F4 C0 C1 00 08 */ lfs f6, 8(r1) -/* 80323198 003200F8 EC 2D 0F 78 */ fmsubs f1, f13, f29, f1 -/* 8032319C 003200FC ED 2D 18 3A */ fmadds f9, f13, f0, f3 -/* 803231A0 00320100 ED 05 27 B8 */ fmsubs f8, f5, f30, f4 -/* 803231A4 00320104 C0 62 CA 6C */ lfs f3, lbl_805AE78C@sda21(r2) -/* 803231A8 00320108 EC 46 00 B2 */ fmuls f2, f6, f2 -/* 803231AC 0032010C C1 41 00 0C */ lfs f10, 0xc(r1) -/* 803231B0 00320110 EC A9 01 72 */ fmuls f5, f9, f5 -/* 803231B4 00320114 EC 89 01 F2 */ fmuls f4, f9, f7 -/* 803231B8 00320118 EC E3 50 28 */ fsubs f7, f3, f10 -/* 803231BC 0032011C EC 66 00 72 */ fmuls f3, f6, f1 -/* 803231C0 00320120 EC A5 10 2A */ fadds f5, f5, f2 -/* 803231C4 00320124 EC 49 03 72 */ fmuls f2, f9, f13 -/* 803231C8 00320128 EC 26 02 32 */ fmuls f1, f6, f8 -/* 803231CC 0032012C EC 64 18 2A */ fadds f3, f4, f3 -/* 803231D0 00320130 EC C7 03 32 */ fmuls f6, f7, f12 -/* 803231D4 00320134 EC 8A 01 72 */ fmuls f4, f10, f5 -/* 803231D8 00320138 EC 22 08 2A */ fadds f1, f2, f1 -/* 803231DC 0032013C EC A7 02 F2 */ fmuls f5, f7, f11 -/* 803231E0 00320140 EC 4A 00 F2 */ fmuls f2, f10, f3 -/* 803231E4 00320144 EC 64 30 2A */ fadds f3, f4, f6 -/* 803231E8 00320148 EC 87 00 32 */ fmuls f4, f7, f0 -/* 803231EC 0032014C EC 0A 00 72 */ fmuls f0, f10, f1 -/* 803231F0 00320150 EC 22 28 2A */ fadds f1, f2, f5 -/* 803231F4 00320154 D0 7E 00 00 */ stfs f3, 0(r30) -/* 803231F8 00320158 EC 00 20 2A */ fadds f0, f0, f4 -/* 803231FC 0032015C D0 3E 00 04 */ stfs f1, 4(r30) -/* 80323200 00320160 D0 1E 00 08 */ stfs f0, 8(r30) -/* 80323204 00320164 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 -/* 80323208 00320168 CB E1 00 60 */ lfd f31, 0x60(r1) -/* 8032320C 0032016C E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 -/* 80323210 00320170 CB C1 00 50 */ lfd f30, 0x50(r1) -/* 80323214 00320174 E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0 -/* 80323218 00320178 CB A1 00 40 */ lfd f29, 0x40(r1) -/* 8032321C 0032017C 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 80323220 00320180 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 80323224 00320184 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 80323228 00320188 80 01 00 74 */ lwz r0, 0x74(r1) -/* 8032322C 0032018C 83 81 00 30 */ lwz r28, 0x30(r1) -/* 80323230 00320190 7C 08 03 A6 */ mtlr r0 -/* 80323234 00320194 38 21 00 70 */ addi r1, r1, 0x70 -/* 80323238 00320198 4E 80 00 20 */ blr - -.global __dt__9CMVESwirlFv -__dt__9CMVESwirlFv: -/* 8032323C 0032019C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80323240 003201A0 7C 08 02 A6 */ mflr r0 -/* 80323244 003201A4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80323248 003201A8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8032324C 003201AC 7C 9F 23 78 */ mr r31, r4 -/* 80323250 003201B0 93 C1 00 08 */ stw r30, 8(r1) -/* 80323254 003201B4 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80323258 003201B8 41 82 00 C8 */ beq lbl_80323320 -/* 8032325C 003201BC 3C 60 80 3F */ lis r3, lbl_803EDC58@ha -/* 80323260 003201C0 38 03 DC 58 */ addi r0, r3, lbl_803EDC58@l -/* 80323264 003201C4 90 1E 00 00 */ stw r0, 0(r30) -/* 80323268 003201C8 80 7E 00 04 */ lwz r3, 4(r30) -/* 8032326C 003201CC 28 03 00 00 */ cmplwi r3, 0 -/* 80323270 003201D0 41 82 00 18 */ beq lbl_80323288 -/* 80323274 003201D4 81 83 00 00 */ lwz r12, 0(r3) -/* 80323278 003201D8 38 80 00 01 */ li r4, 1 -/* 8032327C 003201DC 81 8C 00 08 */ lwz r12, 8(r12) -/* 80323280 003201E0 7D 89 03 A6 */ mtctr r12 -/* 80323284 003201E4 4E 80 04 21 */ bctrl -lbl_80323288: -/* 80323288 003201E8 80 7E 00 08 */ lwz r3, 8(r30) -/* 8032328C 003201EC 28 03 00 00 */ cmplwi r3, 0 -/* 80323290 003201F0 41 82 00 18 */ beq lbl_803232A8 -/* 80323294 003201F4 81 83 00 00 */ lwz r12, 0(r3) -/* 80323298 003201F8 38 80 00 01 */ li r4, 1 -/* 8032329C 003201FC 81 8C 00 08 */ lwz r12, 8(r12) -/* 803232A0 00320200 7D 89 03 A6 */ mtctr r12 -/* 803232A4 00320204 4E 80 04 21 */ bctrl -lbl_803232A8: -/* 803232A8 00320208 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 803232AC 0032020C 28 03 00 00 */ cmplwi r3, 0 -/* 803232B0 00320210 41 82 00 18 */ beq lbl_803232C8 -/* 803232B4 00320214 81 83 00 00 */ lwz r12, 0(r3) -/* 803232B8 00320218 38 80 00 01 */ li r4, 1 -/* 803232BC 0032021C 81 8C 00 08 */ lwz r12, 8(r12) -/* 803232C0 00320220 7D 89 03 A6 */ mtctr r12 -/* 803232C4 00320224 4E 80 04 21 */ bctrl -lbl_803232C8: -/* 803232C8 00320228 80 7E 00 10 */ lwz r3, 0x10(r30) -/* 803232CC 0032022C 28 03 00 00 */ cmplwi r3, 0 -/* 803232D0 00320230 41 82 00 18 */ beq lbl_803232E8 -/* 803232D4 00320234 81 83 00 00 */ lwz r12, 0(r3) -/* 803232D8 00320238 38 80 00 01 */ li r4, 1 -/* 803232DC 0032023C 81 8C 00 08 */ lwz r12, 8(r12) -/* 803232E0 00320240 7D 89 03 A6 */ mtctr r12 -/* 803232E4 00320244 4E 80 04 21 */ bctrl -lbl_803232E8: -/* 803232E8 00320248 28 1E 00 00 */ cmplwi r30, 0 -/* 803232EC 0032024C 41 82 00 20 */ beq lbl_8032330C -/* 803232F0 00320250 3C 60 80 3F */ lis r3, lbl_803EC5C8@ha -/* 803232F4 00320254 38 03 C5 C8 */ addi r0, r3, lbl_803EC5C8@l -/* 803232F8 00320258 90 1E 00 00 */ stw r0, 0(r30) -/* 803232FC 0032025C 41 82 00 10 */ beq lbl_8032330C -/* 80323300 00320260 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 80323304 00320264 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 80323308 00320268 90 1E 00 00 */ stw r0, 0(r30) -lbl_8032330C: -/* 8032330C 0032026C 7F E0 07 35 */ extsh. r0, r31 -/* 80323310 00320270 40 81 00 10 */ ble lbl_80323320 -/* 80323314 00320274 7F C3 F3 78 */ mr r3, r30 -/* 80323318 00320278 38 80 00 14 */ li r4, 0x14 -/* 8032331C 0032027C 48 04 97 49 */ bl sub_8036ca64 -lbl_80323320: -/* 80323320 00320280 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80323324 00320284 7F C3 F3 78 */ mr r3, r30 -/* 80323328 00320288 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8032332C 0032028C 83 C1 00 08 */ lwz r30, 8(r1) -/* 80323330 00320290 7C 08 03 A6 */ mtlr r0 -/* 80323334 00320294 38 21 00 10 */ addi r1, r1, 0x10 -/* 80323338 00320298 4E 80 00 20 */ blr - -.global __ct__9CMVESwirlFP14CVectorElementP14CVectorElementP12CRealElementP12CRealElement -__ct__9CMVESwirlFP14CVectorElementP14CVectorElementP12CRealElementP12CRealElement: -/* 8032333C 0032029C 3D 40 80 3F */ lis r10, lbl_803EC5A8@ha -/* 80323340 003202A0 3D 20 80 3F */ lis r9, lbl_803EC5C8@ha -/* 80323344 003202A4 38 0A C5 A8 */ addi r0, r10, lbl_803EC5A8@l -/* 80323348 003202A8 3D 00 80 3F */ lis r8, lbl_803EDC58@ha -/* 8032334C 003202AC 90 03 00 00 */ stw r0, 0(r3) -/* 80323350 003202B0 39 29 C5 C8 */ addi r9, r9, lbl_803EC5C8@l -/* 80323354 003202B4 38 08 DC 58 */ addi r0, r8, lbl_803EDC58@l -/* 80323358 003202B8 91 23 00 00 */ stw r9, 0(r3) -/* 8032335C 003202BC 90 03 00 00 */ stw r0, 0(r3) -/* 80323360 003202C0 90 83 00 04 */ stw r4, 4(r3) -/* 80323364 003202C4 90 A3 00 08 */ stw r5, 8(r3) -/* 80323368 003202C8 90 C3 00 0C */ stw r6, 0xc(r3) -/* 8032336C 003202CC 90 E3 00 10 */ stw r7, 0x10(r3) -/* 80323370 003202D0 4E 80 00 20 */ blr - -.global GetValue__24CMVEExponentialImplosionCFiR9CVector3fR9CVector3f -GetValue__24CMVEExponentialImplosionCFiR9CVector3fR9CVector3f: -/* 80323374 003202D4 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 80323378 003202D8 7C 08 02 A6 */ mflr r0 -/* 8032337C 003202DC 90 01 00 84 */ stw r0, 0x84(r1) -/* 80323380 003202E0 DB E1 00 70 */ stfd f31, 0x70(r1) -/* 80323384 003202E4 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 -/* 80323388 003202E8 DB C1 00 60 */ stfd f30, 0x60(r1) -/* 8032338C 003202EC F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 -/* 80323390 003202F0 DB A1 00 50 */ stfd f29, 0x50(r1) -/* 80323394 003202F4 F3 A1 00 58 */ psq_st f29, 88(r1), 0, qr0 -/* 80323398 003202F8 DB 81 00 40 */ stfd f28, 0x40(r1) -/* 8032339C 003202FC F3 81 00 48 */ psq_st f28, 72(r1), 0, qr0 -/* 803233A0 00320300 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 803233A4 00320304 93 C1 00 38 */ stw r30, 0x38(r1) -/* 803233A8 00320308 93 A1 00 34 */ stw r29, 0x34(r1) -/* 803233AC 0032030C 93 81 00 30 */ stw r28, 0x30(r1) -/* 803233B0 00320310 C0 02 CA 68 */ lfs f0, lbl_805AE788@sda21(r2) -/* 803233B4 00320314 7C 7C 1B 78 */ mr r28, r3 -/* 803233B8 00320318 7C BE 2B 78 */ mr r30, r5 -/* 803233BC 0032031C 80 63 00 04 */ lwz r3, 4(r3) -/* 803233C0 00320320 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 803233C4 00320324 7C 9D 23 78 */ mr r29, r4 -/* 803233C8 00320328 7C DF 33 78 */ mr r31, r6 -/* 803233CC 0032032C 38 A1 00 20 */ addi r5, r1, 0x20 -/* 803233D0 00320330 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 803233D4 00320334 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 803233D8 00320338 81 83 00 00 */ lwz r12, 0(r3) -/* 803233DC 0032033C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 803233E0 00320340 7D 89 03 A6 */ mtctr r12 -/* 803233E4 00320344 4E 80 04 21 */ bctrl -/* 803233E8 00320348 C0 21 00 24 */ lfs f1, 0x24(r1) -/* 803233EC 0032034C 38 61 00 14 */ addi r3, r1, 0x14 -/* 803233F0 00320350 C0 1F 00 04 */ lfs f0, 4(r31) -/* 803233F4 00320354 C0 61 00 28 */ lfs f3, 0x28(r1) -/* 803233F8 00320358 C0 5F 00 08 */ lfs f2, 8(r31) -/* 803233FC 0032035C EC 81 00 28 */ fsubs f4, f1, f0 -/* 80323400 00320360 C0 1F 00 00 */ lfs f0, 0(r31) -/* 80323404 00320364 C0 21 00 20 */ lfs f1, 0x20(r1) -/* 80323408 00320368 EC 43 10 28 */ fsubs f2, f3, f2 -/* 8032340C 0032036C D0 81 00 18 */ stfs f4, 0x18(r1) -/* 80323410 00320370 EC 01 00 28 */ fsubs f0, f1, f0 -/* 80323414 00320374 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 80323418 00320378 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 8032341C 0032037C 4B FF 14 9D */ bl Magnitude__9CVector3fCFv -/* 80323420 00320380 80 7C 00 0C */ lwz r3, 0xc(r28) -/* 80323424 00320384 FF E0 08 90 */ fmr f31, f1 -/* 80323428 00320388 7F A4 EB 78 */ mr r4, r29 -/* 8032342C 0032038C 38 A1 00 10 */ addi r5, r1, 0x10 -/* 80323430 00320390 81 83 00 00 */ lwz r12, 0(r3) -/* 80323434 00320394 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80323438 00320398 7D 89 03 A6 */ mtctr r12 -/* 8032343C 0032039C 4E 80 04 21 */ bctrl -/* 80323440 003203A0 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 80323444 003203A4 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 80323448 003203A8 40 81 00 0C */ ble lbl_80323454 -/* 8032344C 003203AC 38 60 00 00 */ li r3, 0 -/* 80323450 003203B0 48 00 00 D4 */ b lbl_80323524 -lbl_80323454: -/* 80323454 003203B4 80 7C 00 10 */ lwz r3, 0x10(r28) -/* 80323458 003203B8 7F A4 EB 78 */ mr r4, r29 -/* 8032345C 003203BC 38 A1 00 0C */ addi r5, r1, 0xc -/* 80323460 003203C0 81 83 00 00 */ lwz r12, 0(r3) -/* 80323464 003203C4 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80323468 003203C8 7D 89 03 A6 */ mtctr r12 -/* 8032346C 003203CC 4E 80 04 21 */ bctrl -/* 80323470 003203D0 88 1C 00 14 */ lbz r0, 0x14(r28) -/* 80323474 003203D4 28 00 00 00 */ cmplwi r0, 0 -/* 80323478 003203D8 41 82 00 18 */ beq lbl_80323490 -/* 8032347C 003203DC C0 01 00 0C */ lfs f0, 0xc(r1) -/* 80323480 003203E0 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 80323484 003203E4 40 80 00 0C */ bge lbl_80323490 -/* 80323488 003203E8 38 60 00 01 */ li r3, 1 -/* 8032348C 003203EC 48 00 00 98 */ b lbl_80323524 -lbl_80323490: -/* 80323490 003203F0 C0 02 CA 68 */ lfs f0, lbl_805AE788@sda21(r2) -/* 80323494 003203F4 FC 00 F8 00 */ fcmpu cr0, f0, f31 -/* 80323498 003203F8 40 82 00 0C */ bne lbl_803234A4 -/* 8032349C 003203FC 38 60 00 00 */ li r3, 0 -/* 803234A0 00320400 48 00 00 84 */ b lbl_80323524 -lbl_803234A4: -/* 803234A4 00320404 C0 02 CA 6C */ lfs f0, lbl_805AE78C@sda21(r2) -/* 803234A8 00320408 7F A4 EB 78 */ mr r4, r29 -/* 803234AC 0032040C 80 7C 00 08 */ lwz r3, 8(r28) -/* 803234B0 00320410 38 A1 00 08 */ addi r5, r1, 8 -/* 803234B4 00320414 EC 60 F8 24 */ fdivs f3, f0, f31 -/* 803234B8 00320418 C0 41 00 14 */ lfs f2, 0x14(r1) -/* 803234BC 0032041C 81 83 00 00 */ lwz r12, 0(r3) -/* 803234C0 00320420 C0 21 00 18 */ lfs f1, 0x18(r1) -/* 803234C4 00320424 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 803234C8 00320428 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 803234CC 0032042C EF 83 00 B2 */ fmuls f28, f3, f2 -/* 803234D0 00320430 EF A3 00 72 */ fmuls f29, f3, f1 -/* 803234D4 00320434 EF C3 00 32 */ fmuls f30, f3, f0 -/* 803234D8 00320438 7D 89 03 A6 */ mtctr r12 -/* 803234DC 0032043C 4E 80 04 21 */ bctrl -/* 803234E0 00320440 C0 01 00 08 */ lfs f0, 8(r1) -/* 803234E4 00320444 38 60 00 00 */ li r3, 0 -/* 803234E8 00320448 C0 7E 00 00 */ lfs f3, 0(r30) -/* 803234EC 0032044C EC 40 07 32 */ fmuls f2, f0, f28 -/* 803234F0 00320450 EC 20 07 72 */ fmuls f1, f0, f29 -/* 803234F4 00320454 EC 00 07 B2 */ fmuls f0, f0, f30 -/* 803234F8 00320458 EC 5F 00 B2 */ fmuls f2, f31, f2 -/* 803234FC 0032045C EC 3F 00 72 */ fmuls f1, f31, f1 -/* 80323500 00320460 EC 1F 00 32 */ fmuls f0, f31, f0 -/* 80323504 00320464 EC 43 10 2A */ fadds f2, f3, f2 -/* 80323508 00320468 D0 5E 00 00 */ stfs f2, 0(r30) -/* 8032350C 0032046C C0 5E 00 04 */ lfs f2, 4(r30) -/* 80323510 00320470 EC 22 08 2A */ fadds f1, f2, f1 -/* 80323514 00320474 D0 3E 00 04 */ stfs f1, 4(r30) -/* 80323518 00320478 C0 3E 00 08 */ lfs f1, 8(r30) -/* 8032351C 0032047C EC 01 00 2A */ fadds f0, f1, f0 -/* 80323520 00320480 D0 1E 00 08 */ stfs f0, 8(r30) -lbl_80323524: -/* 80323524 00320484 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 -/* 80323528 00320488 CB E1 00 70 */ lfd f31, 0x70(r1) -/* 8032352C 0032048C E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 -/* 80323530 00320490 CB C1 00 60 */ lfd f30, 0x60(r1) -/* 80323534 00320494 E3 A1 00 58 */ psq_l f29, 88(r1), 0, qr0 -/* 80323538 00320498 CB A1 00 50 */ lfd f29, 0x50(r1) -/* 8032353C 0032049C E3 81 00 48 */ psq_l f28, 72(r1), 0, qr0 -/* 80323540 003204A0 CB 81 00 40 */ lfd f28, 0x40(r1) -/* 80323544 003204A4 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 80323548 003204A8 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 8032354C 003204AC 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 80323550 003204B0 80 01 00 84 */ lwz r0, 0x84(r1) -/* 80323554 003204B4 83 81 00 30 */ lwz r28, 0x30(r1) -/* 80323558 003204B8 7C 08 03 A6 */ mtlr r0 -/* 8032355C 003204BC 38 21 00 80 */ addi r1, r1, 0x80 -/* 80323560 003204C0 4E 80 00 20 */ blr - -.global __dt__24CMVEExponentialImplosionFv -__dt__24CMVEExponentialImplosionFv: -/* 80323564 003204C4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80323568 003204C8 7C 08 02 A6 */ mflr r0 -/* 8032356C 003204CC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80323570 003204D0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80323574 003204D4 7C 9F 23 78 */ mr r31, r4 -/* 80323578 003204D8 93 C1 00 08 */ stw r30, 8(r1) -/* 8032357C 003204DC 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80323580 003204E0 41 82 00 C8 */ beq lbl_80323648 -/* 80323584 003204E4 3C 60 80 3F */ lis r3, lbl_803EDC68@ha -/* 80323588 003204E8 38 03 DC 68 */ addi r0, r3, lbl_803EDC68@l -/* 8032358C 003204EC 90 1E 00 00 */ stw r0, 0(r30) -/* 80323590 003204F0 80 7E 00 04 */ lwz r3, 4(r30) -/* 80323594 003204F4 28 03 00 00 */ cmplwi r3, 0 -/* 80323598 003204F8 41 82 00 18 */ beq lbl_803235B0 -/* 8032359C 003204FC 81 83 00 00 */ lwz r12, 0(r3) -/* 803235A0 00320500 38 80 00 01 */ li r4, 1 -/* 803235A4 00320504 81 8C 00 08 */ lwz r12, 8(r12) -/* 803235A8 00320508 7D 89 03 A6 */ mtctr r12 -/* 803235AC 0032050C 4E 80 04 21 */ bctrl -lbl_803235B0: -/* 803235B0 00320510 80 7E 00 08 */ lwz r3, 8(r30) -/* 803235B4 00320514 28 03 00 00 */ cmplwi r3, 0 -/* 803235B8 00320518 41 82 00 18 */ beq lbl_803235D0 -/* 803235BC 0032051C 81 83 00 00 */ lwz r12, 0(r3) -/* 803235C0 00320520 38 80 00 01 */ li r4, 1 -/* 803235C4 00320524 81 8C 00 08 */ lwz r12, 8(r12) -/* 803235C8 00320528 7D 89 03 A6 */ mtctr r12 -/* 803235CC 0032052C 4E 80 04 21 */ bctrl -lbl_803235D0: -/* 803235D0 00320530 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 803235D4 00320534 28 03 00 00 */ cmplwi r3, 0 -/* 803235D8 00320538 41 82 00 18 */ beq lbl_803235F0 -/* 803235DC 0032053C 81 83 00 00 */ lwz r12, 0(r3) -/* 803235E0 00320540 38 80 00 01 */ li r4, 1 -/* 803235E4 00320544 81 8C 00 08 */ lwz r12, 8(r12) -/* 803235E8 00320548 7D 89 03 A6 */ mtctr r12 -/* 803235EC 0032054C 4E 80 04 21 */ bctrl -lbl_803235F0: -/* 803235F0 00320550 80 7E 00 10 */ lwz r3, 0x10(r30) -/* 803235F4 00320554 28 03 00 00 */ cmplwi r3, 0 -/* 803235F8 00320558 41 82 00 18 */ beq lbl_80323610 -/* 803235FC 0032055C 81 83 00 00 */ lwz r12, 0(r3) -/* 80323600 00320560 38 80 00 01 */ li r4, 1 -/* 80323604 00320564 81 8C 00 08 */ lwz r12, 8(r12) -/* 80323608 00320568 7D 89 03 A6 */ mtctr r12 -/* 8032360C 0032056C 4E 80 04 21 */ bctrl -lbl_80323610: -/* 80323610 00320570 28 1E 00 00 */ cmplwi r30, 0 -/* 80323614 00320574 41 82 00 20 */ beq lbl_80323634 -/* 80323618 00320578 3C 60 80 3F */ lis r3, lbl_803EC5C8@ha -/* 8032361C 0032057C 38 03 C5 C8 */ addi r0, r3, lbl_803EC5C8@l -/* 80323620 00320580 90 1E 00 00 */ stw r0, 0(r30) -/* 80323624 00320584 41 82 00 10 */ beq lbl_80323634 -/* 80323628 00320588 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 8032362C 0032058C 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 80323630 00320590 90 1E 00 00 */ stw r0, 0(r30) -lbl_80323634: -/* 80323634 00320594 7F E0 07 35 */ extsh. r0, r31 -/* 80323638 00320598 40 81 00 10 */ ble lbl_80323648 -/* 8032363C 0032059C 7F C3 F3 78 */ mr r3, r30 -/* 80323640 003205A0 38 80 00 18 */ li r4, 0x18 -/* 80323644 003205A4 48 04 94 21 */ bl sub_8036ca64 -lbl_80323648: -/* 80323648 003205A8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8032364C 003205AC 7F C3 F3 78 */ mr r3, r30 -/* 80323650 003205B0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80323654 003205B4 83 C1 00 08 */ lwz r30, 8(r1) -/* 80323658 003205B8 7C 08 03 A6 */ mtlr r0 -/* 8032365C 003205BC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80323660 003205C0 4E 80 00 20 */ blr - -.global __ct__24CMVEExponentialImplosionFP14CVectorElementP12CRealElementP12CRealElementP12CRealElementb -__ct__24CMVEExponentialImplosionFP14CVectorElementP12CRealElementP12CRealElementP12CRealElementb: -/* 80323664 003205C4 3D 60 80 3F */ lis r11, lbl_803EC5A8@ha -/* 80323668 003205C8 3D 40 80 3F */ lis r10, lbl_803EC5C8@ha -/* 8032366C 003205CC 38 0B C5 A8 */ addi r0, r11, lbl_803EC5A8@l -/* 80323670 003205D0 3D 20 80 3F */ lis r9, lbl_803EDC68@ha -/* 80323674 003205D4 90 03 00 00 */ stw r0, 0(r3) -/* 80323678 003205D8 39 4A C5 C8 */ addi r10, r10, lbl_803EC5C8@l -/* 8032367C 003205DC 38 09 DC 68 */ addi r0, r9, lbl_803EDC68@l -/* 80323680 003205E0 91 43 00 00 */ stw r10, 0(r3) -/* 80323684 003205E4 90 03 00 00 */ stw r0, 0(r3) -/* 80323688 003205E8 90 83 00 04 */ stw r4, 4(r3) -/* 8032368C 003205EC 90 A3 00 08 */ stw r5, 8(r3) -/* 80323690 003205F0 90 C3 00 0C */ stw r6, 0xc(r3) -/* 80323694 003205F4 90 E3 00 10 */ stw r7, 0x10(r3) -/* 80323698 003205F8 99 03 00 14 */ stb r8, 0x14(r3) -/* 8032369C 003205FC 4E 80 00 20 */ blr - -.global GetValue__19CMVELinearImplosionCFiR9CVector3fR9CVector3f -GetValue__19CMVELinearImplosionCFiR9CVector3fR9CVector3f: -/* 803236A0 00320600 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 803236A4 00320604 7C 08 02 A6 */ mflr r0 -/* 803236A8 00320608 90 01 00 74 */ stw r0, 0x74(r1) -/* 803236AC 0032060C DB E1 00 60 */ stfd f31, 0x60(r1) -/* 803236B0 00320610 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 -/* 803236B4 00320614 DB C1 00 50 */ stfd f30, 0x50(r1) -/* 803236B8 00320618 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 -/* 803236BC 0032061C DB A1 00 40 */ stfd f29, 0x40(r1) -/* 803236C0 00320620 F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0 -/* 803236C4 00320624 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 803236C8 00320628 93 C1 00 38 */ stw r30, 0x38(r1) -/* 803236CC 0032062C 93 A1 00 34 */ stw r29, 0x34(r1) -/* 803236D0 00320630 93 81 00 30 */ stw r28, 0x30(r1) -/* 803236D4 00320634 C0 02 CA 68 */ lfs f0, lbl_805AE788@sda21(r2) -/* 803236D8 00320638 7C 7C 1B 78 */ mr r28, r3 -/* 803236DC 0032063C 7C BE 2B 78 */ mr r30, r5 -/* 803236E0 00320640 80 63 00 04 */ lwz r3, 4(r3) -/* 803236E4 00320644 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 803236E8 00320648 7C 9D 23 78 */ mr r29, r4 -/* 803236EC 0032064C 7C DF 33 78 */ mr r31, r6 -/* 803236F0 00320650 38 A1 00 20 */ addi r5, r1, 0x20 -/* 803236F4 00320654 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 803236F8 00320658 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 803236FC 0032065C 81 83 00 00 */ lwz r12, 0(r3) -/* 80323700 00320660 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80323704 00320664 7D 89 03 A6 */ mtctr r12 -/* 80323708 00320668 4E 80 04 21 */ bctrl -/* 8032370C 0032066C C0 21 00 24 */ lfs f1, 0x24(r1) -/* 80323710 00320670 38 61 00 14 */ addi r3, r1, 0x14 -/* 80323714 00320674 C0 1F 00 04 */ lfs f0, 4(r31) -/* 80323718 00320678 C0 61 00 28 */ lfs f3, 0x28(r1) -/* 8032371C 0032067C C0 5F 00 08 */ lfs f2, 8(r31) -/* 80323720 00320680 EC 81 00 28 */ fsubs f4, f1, f0 -/* 80323724 00320684 C0 1F 00 00 */ lfs f0, 0(r31) -/* 80323728 00320688 C0 21 00 20 */ lfs f1, 0x20(r1) -/* 8032372C 0032068C EC 43 10 28 */ fsubs f2, f3, f2 -/* 80323730 00320690 D0 81 00 18 */ stfs f4, 0x18(r1) -/* 80323734 00320694 EC 01 00 28 */ fsubs f0, f1, f0 -/* 80323738 00320698 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 8032373C 0032069C D0 01 00 14 */ stfs f0, 0x14(r1) -/* 80323740 003206A0 4B FF 11 79 */ bl Magnitude__9CVector3fCFv -/* 80323744 003206A4 80 7C 00 0C */ lwz r3, 0xc(r28) -/* 80323748 003206A8 FF E0 08 90 */ fmr f31, f1 -/* 8032374C 003206AC 7F A4 EB 78 */ mr r4, r29 -/* 80323750 003206B0 38 A1 00 10 */ addi r5, r1, 0x10 -/* 80323754 003206B4 81 83 00 00 */ lwz r12, 0(r3) -/* 80323758 003206B8 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8032375C 003206BC 7D 89 03 A6 */ mtctr r12 -/* 80323760 003206C0 4E 80 04 21 */ bctrl -/* 80323764 003206C4 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 80323768 003206C8 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 8032376C 003206CC 40 81 00 0C */ ble lbl_80323778 -/* 80323770 003206D0 38 60 00 00 */ li r3, 0 -/* 80323774 003206D4 48 00 00 B0 */ b lbl_80323824 -lbl_80323778: -/* 80323778 003206D8 80 7C 00 10 */ lwz r3, 0x10(r28) -/* 8032377C 003206DC 7F A4 EB 78 */ mr r4, r29 -/* 80323780 003206E0 38 A1 00 0C */ addi r5, r1, 0xc -/* 80323784 003206E4 81 83 00 00 */ lwz r12, 0(r3) -/* 80323788 003206E8 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8032378C 003206EC 7D 89 03 A6 */ mtctr r12 -/* 80323790 003206F0 4E 80 04 21 */ bctrl -/* 80323794 003206F4 88 1C 00 14 */ lbz r0, 0x14(r28) -/* 80323798 003206F8 28 00 00 00 */ cmplwi r0, 0 -/* 8032379C 003206FC 41 82 00 18 */ beq lbl_803237B4 -/* 803237A0 00320700 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 803237A4 00320704 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 803237A8 00320708 40 80 00 0C */ bge lbl_803237B4 -/* 803237AC 0032070C 38 60 00 01 */ li r3, 1 -/* 803237B0 00320710 48 00 00 74 */ b lbl_80323824 -lbl_803237B4: -/* 803237B4 00320714 C0 02 CA 68 */ lfs f0, lbl_805AE788@sda21(r2) -/* 803237B8 00320718 FC 00 F8 00 */ fcmpu cr0, f0, f31 -/* 803237BC 0032071C 40 82 00 0C */ bne lbl_803237C8 -/* 803237C0 00320720 38 60 00 00 */ li r3, 0 -/* 803237C4 00320724 48 00 00 60 */ b lbl_80323824 -lbl_803237C8: -/* 803237C8 00320728 C0 02 CA 6C */ lfs f0, lbl_805AE78C@sda21(r2) -/* 803237CC 0032072C 7F A4 EB 78 */ mr r4, r29 -/* 803237D0 00320730 80 7C 00 08 */ lwz r3, 8(r28) -/* 803237D4 00320734 38 A1 00 08 */ addi r5, r1, 8 -/* 803237D8 00320738 EC 60 F8 24 */ fdivs f3, f0, f31 -/* 803237DC 0032073C C0 41 00 14 */ lfs f2, 0x14(r1) -/* 803237E0 00320740 81 83 00 00 */ lwz r12, 0(r3) -/* 803237E4 00320744 C0 21 00 18 */ lfs f1, 0x18(r1) -/* 803237E8 00320748 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 803237EC 0032074C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 803237F0 00320750 EF A3 00 B2 */ fmuls f29, f3, f2 -/* 803237F4 00320754 EF C3 00 72 */ fmuls f30, f3, f1 -/* 803237F8 00320758 EF E3 00 32 */ fmuls f31, f3, f0 -/* 803237FC 0032075C 7D 89 03 A6 */ mtctr r12 -/* 80323800 00320760 4E 80 04 21 */ bctrl -/* 80323804 00320764 C0 01 00 08 */ lfs f0, 8(r1) -/* 80323808 00320768 38 60 00 00 */ li r3, 0 -/* 8032380C 0032076C EC 40 07 72 */ fmuls f2, f0, f29 -/* 80323810 00320770 EC 20 07 B2 */ fmuls f1, f0, f30 -/* 80323814 00320774 EC 00 07 F2 */ fmuls f0, f0, f31 -/* 80323818 00320778 D0 5E 00 00 */ stfs f2, 0(r30) -/* 8032381C 0032077C D0 3E 00 04 */ stfs f1, 4(r30) -/* 80323820 00320780 D0 1E 00 08 */ stfs f0, 8(r30) -lbl_80323824: -/* 80323824 00320784 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 -/* 80323828 00320788 CB E1 00 60 */ lfd f31, 0x60(r1) -/* 8032382C 0032078C E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 -/* 80323830 00320790 CB C1 00 50 */ lfd f30, 0x50(r1) -/* 80323834 00320794 E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0 -/* 80323838 00320798 CB A1 00 40 */ lfd f29, 0x40(r1) -/* 8032383C 0032079C 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 80323840 003207A0 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 80323844 003207A4 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 80323848 003207A8 80 01 00 74 */ lwz r0, 0x74(r1) -/* 8032384C 003207AC 83 81 00 30 */ lwz r28, 0x30(r1) -/* 80323850 003207B0 7C 08 03 A6 */ mtlr r0 -/* 80323854 003207B4 38 21 00 70 */ addi r1, r1, 0x70 -/* 80323858 003207B8 4E 80 00 20 */ blr - -.global __dt__19CMVELinearImplosionFv -__dt__19CMVELinearImplosionFv: -/* 8032385C 003207BC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80323860 003207C0 7C 08 02 A6 */ mflr r0 -/* 80323864 003207C4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80323868 003207C8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8032386C 003207CC 7C 9F 23 78 */ mr r31, r4 -/* 80323870 003207D0 93 C1 00 08 */ stw r30, 8(r1) -/* 80323874 003207D4 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80323878 003207D8 41 82 00 C8 */ beq lbl_80323940 -/* 8032387C 003207DC 3C 60 80 3F */ lis r3, lbl_803EDC78@ha -/* 80323880 003207E0 38 03 DC 78 */ addi r0, r3, lbl_803EDC78@l -/* 80323884 003207E4 90 1E 00 00 */ stw r0, 0(r30) -/* 80323888 003207E8 80 7E 00 04 */ lwz r3, 4(r30) -/* 8032388C 003207EC 28 03 00 00 */ cmplwi r3, 0 -/* 80323890 003207F0 41 82 00 18 */ beq lbl_803238A8 -/* 80323894 003207F4 81 83 00 00 */ lwz r12, 0(r3) -/* 80323898 003207F8 38 80 00 01 */ li r4, 1 -/* 8032389C 003207FC 81 8C 00 08 */ lwz r12, 8(r12) -/* 803238A0 00320800 7D 89 03 A6 */ mtctr r12 -/* 803238A4 00320804 4E 80 04 21 */ bctrl -lbl_803238A8: -/* 803238A8 00320808 80 7E 00 08 */ lwz r3, 8(r30) -/* 803238AC 0032080C 28 03 00 00 */ cmplwi r3, 0 -/* 803238B0 00320810 41 82 00 18 */ beq lbl_803238C8 -/* 803238B4 00320814 81 83 00 00 */ lwz r12, 0(r3) -/* 803238B8 00320818 38 80 00 01 */ li r4, 1 -/* 803238BC 0032081C 81 8C 00 08 */ lwz r12, 8(r12) -/* 803238C0 00320820 7D 89 03 A6 */ mtctr r12 -/* 803238C4 00320824 4E 80 04 21 */ bctrl -lbl_803238C8: -/* 803238C8 00320828 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 803238CC 0032082C 28 03 00 00 */ cmplwi r3, 0 -/* 803238D0 00320830 41 82 00 18 */ beq lbl_803238E8 -/* 803238D4 00320834 81 83 00 00 */ lwz r12, 0(r3) -/* 803238D8 00320838 38 80 00 01 */ li r4, 1 -/* 803238DC 0032083C 81 8C 00 08 */ lwz r12, 8(r12) -/* 803238E0 00320840 7D 89 03 A6 */ mtctr r12 -/* 803238E4 00320844 4E 80 04 21 */ bctrl -lbl_803238E8: -/* 803238E8 00320848 80 7E 00 10 */ lwz r3, 0x10(r30) -/* 803238EC 0032084C 28 03 00 00 */ cmplwi r3, 0 -/* 803238F0 00320850 41 82 00 18 */ beq lbl_80323908 -/* 803238F4 00320854 81 83 00 00 */ lwz r12, 0(r3) -/* 803238F8 00320858 38 80 00 01 */ li r4, 1 -/* 803238FC 0032085C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80323900 00320860 7D 89 03 A6 */ mtctr r12 -/* 80323904 00320864 4E 80 04 21 */ bctrl -lbl_80323908: -/* 80323908 00320868 28 1E 00 00 */ cmplwi r30, 0 -/* 8032390C 0032086C 41 82 00 20 */ beq lbl_8032392C -/* 80323910 00320870 3C 60 80 3F */ lis r3, lbl_803EC5C8@ha -/* 80323914 00320874 38 03 C5 C8 */ addi r0, r3, lbl_803EC5C8@l -/* 80323918 00320878 90 1E 00 00 */ stw r0, 0(r30) -/* 8032391C 0032087C 41 82 00 10 */ beq lbl_8032392C -/* 80323920 00320880 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 80323924 00320884 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 80323928 00320888 90 1E 00 00 */ stw r0, 0(r30) -lbl_8032392C: -/* 8032392C 0032088C 7F E0 07 35 */ extsh. r0, r31 -/* 80323930 00320890 40 81 00 10 */ ble lbl_80323940 -/* 80323934 00320894 7F C3 F3 78 */ mr r3, r30 -/* 80323938 00320898 38 80 00 18 */ li r4, 0x18 -/* 8032393C 0032089C 48 04 91 29 */ bl sub_8036ca64 -lbl_80323940: -/* 80323940 003208A0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80323944 003208A4 7F C3 F3 78 */ mr r3, r30 -/* 80323948 003208A8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8032394C 003208AC 83 C1 00 08 */ lwz r30, 8(r1) -/* 80323950 003208B0 7C 08 03 A6 */ mtlr r0 -/* 80323954 003208B4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80323958 003208B8 4E 80 00 20 */ blr - -.global __ct__19CMVELinearImplosionFP14CVectorElementP12CRealElementP12CRealElementP12CRealElementb -__ct__19CMVELinearImplosionFP14CVectorElementP12CRealElementP12CRealElementP12CRealElementb: -/* 8032395C 003208BC 3D 60 80 3F */ lis r11, lbl_803EC5A8@ha -/* 80323960 003208C0 3D 40 80 3F */ lis r10, lbl_803EC5C8@ha -/* 80323964 003208C4 38 0B C5 A8 */ addi r0, r11, lbl_803EC5A8@l -/* 80323968 003208C8 3D 20 80 3F */ lis r9, lbl_803EDC78@ha -/* 8032396C 003208CC 90 03 00 00 */ stw r0, 0(r3) -/* 80323970 003208D0 39 4A C5 C8 */ addi r10, r10, lbl_803EC5C8@l -/* 80323974 003208D4 38 09 DC 78 */ addi r0, r9, lbl_803EDC78@l -/* 80323978 003208D8 91 43 00 00 */ stw r10, 0(r3) -/* 8032397C 003208DC 90 03 00 00 */ stw r0, 0(r3) -/* 80323980 003208E0 90 83 00 04 */ stw r4, 4(r3) -/* 80323984 003208E4 90 A3 00 08 */ stw r5, 8(r3) -/* 80323988 003208E8 90 C3 00 0C */ stw r6, 0xc(r3) -/* 8032398C 003208EC 90 E3 00 10 */ stw r7, 0x10(r3) -/* 80323990 003208F0 99 03 00 14 */ stb r8, 0x14(r3) -/* 80323994 003208F4 4E 80 00 20 */ blr - -.global GetValue__13CMVEImplosionCFiR9CVector3fR9CVector3f -GetValue__13CMVEImplosionCFiR9CVector3fR9CVector3f: -/* 80323998 003208F8 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 8032399C 003208FC 7C 08 02 A6 */ mflr r0 -/* 803239A0 00320900 90 01 00 74 */ stw r0, 0x74(r1) -/* 803239A4 00320904 DB E1 00 60 */ stfd f31, 0x60(r1) -/* 803239A8 00320908 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 -/* 803239AC 0032090C DB C1 00 50 */ stfd f30, 0x50(r1) -/* 803239B0 00320910 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 -/* 803239B4 00320914 DB A1 00 40 */ stfd f29, 0x40(r1) -/* 803239B8 00320918 F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0 -/* 803239BC 0032091C 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 803239C0 00320920 93 C1 00 38 */ stw r30, 0x38(r1) -/* 803239C4 00320924 93 A1 00 34 */ stw r29, 0x34(r1) -/* 803239C8 00320928 93 81 00 30 */ stw r28, 0x30(r1) -/* 803239CC 0032092C C0 02 CA 68 */ lfs f0, lbl_805AE788@sda21(r2) -/* 803239D0 00320930 7C 7C 1B 78 */ mr r28, r3 -/* 803239D4 00320934 7C BE 2B 78 */ mr r30, r5 -/* 803239D8 00320938 80 63 00 04 */ lwz r3, 4(r3) -/* 803239DC 0032093C D0 01 00 20 */ stfs f0, 0x20(r1) -/* 803239E0 00320940 7C 9D 23 78 */ mr r29, r4 -/* 803239E4 00320944 7C DF 33 78 */ mr r31, r6 -/* 803239E8 00320948 38 A1 00 20 */ addi r5, r1, 0x20 -/* 803239EC 0032094C D0 01 00 24 */ stfs f0, 0x24(r1) -/* 803239F0 00320950 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 803239F4 00320954 81 83 00 00 */ lwz r12, 0(r3) -/* 803239F8 00320958 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 803239FC 0032095C 7D 89 03 A6 */ mtctr r12 -/* 80323A00 00320960 4E 80 04 21 */ bctrl -/* 80323A04 00320964 C0 21 00 24 */ lfs f1, 0x24(r1) -/* 80323A08 00320968 38 61 00 14 */ addi r3, r1, 0x14 -/* 80323A0C 0032096C C0 1F 00 04 */ lfs f0, 4(r31) -/* 80323A10 00320970 C0 61 00 28 */ lfs f3, 0x28(r1) -/* 80323A14 00320974 C0 5F 00 08 */ lfs f2, 8(r31) -/* 80323A18 00320978 EC 81 00 28 */ fsubs f4, f1, f0 -/* 80323A1C 0032097C C0 1F 00 00 */ lfs f0, 0(r31) -/* 80323A20 00320980 C0 21 00 20 */ lfs f1, 0x20(r1) -/* 80323A24 00320984 EC 43 10 28 */ fsubs f2, f3, f2 -/* 80323A28 00320988 D0 81 00 18 */ stfs f4, 0x18(r1) -/* 80323A2C 0032098C EC 01 00 28 */ fsubs f0, f1, f0 -/* 80323A30 00320990 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 80323A34 00320994 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 80323A38 00320998 4B FF 0E 81 */ bl Magnitude__9CVector3fCFv -/* 80323A3C 0032099C 80 7C 00 0C */ lwz r3, 0xc(r28) -/* 80323A40 003209A0 FF E0 08 90 */ fmr f31, f1 -/* 80323A44 003209A4 7F A4 EB 78 */ mr r4, r29 -/* 80323A48 003209A8 38 A1 00 10 */ addi r5, r1, 0x10 -/* 80323A4C 003209AC 81 83 00 00 */ lwz r12, 0(r3) -/* 80323A50 003209B0 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80323A54 003209B4 7D 89 03 A6 */ mtctr r12 -/* 80323A58 003209B8 4E 80 04 21 */ bctrl -/* 80323A5C 003209BC C0 01 00 10 */ lfs f0, 0x10(r1) -/* 80323A60 003209C0 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 80323A64 003209C4 40 81 00 0C */ ble lbl_80323A70 -/* 80323A68 003209C8 38 60 00 00 */ li r3, 0 -/* 80323A6C 003209CC 48 00 00 C8 */ b lbl_80323B34 -lbl_80323A70: -/* 80323A70 003209D0 80 7C 00 10 */ lwz r3, 0x10(r28) -/* 80323A74 003209D4 7F A4 EB 78 */ mr r4, r29 -/* 80323A78 003209D8 38 A1 00 0C */ addi r5, r1, 0xc -/* 80323A7C 003209DC 81 83 00 00 */ lwz r12, 0(r3) -/* 80323A80 003209E0 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80323A84 003209E4 7D 89 03 A6 */ mtctr r12 -/* 80323A88 003209E8 4E 80 04 21 */ bctrl -/* 80323A8C 003209EC 88 1C 00 14 */ lbz r0, 0x14(r28) -/* 80323A90 003209F0 28 00 00 00 */ cmplwi r0, 0 -/* 80323A94 003209F4 41 82 00 18 */ beq lbl_80323AAC -/* 80323A98 003209F8 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 80323A9C 003209FC FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 80323AA0 00320A00 40 80 00 0C */ bge lbl_80323AAC -/* 80323AA4 00320A04 38 60 00 01 */ li r3, 1 -/* 80323AA8 00320A08 48 00 00 8C */ b lbl_80323B34 -lbl_80323AAC: -/* 80323AAC 00320A0C C0 02 CA 68 */ lfs f0, lbl_805AE788@sda21(r2) -/* 80323AB0 00320A10 FC 00 F8 00 */ fcmpu cr0, f0, f31 -/* 80323AB4 00320A14 40 82 00 0C */ bne lbl_80323AC0 -/* 80323AB8 00320A18 38 60 00 00 */ li r3, 0 -/* 80323ABC 00320A1C 48 00 00 78 */ b lbl_80323B34 -lbl_80323AC0: -/* 80323AC0 00320A20 C0 02 CA 6C */ lfs f0, lbl_805AE78C@sda21(r2) -/* 80323AC4 00320A24 7F A4 EB 78 */ mr r4, r29 -/* 80323AC8 00320A28 80 7C 00 08 */ lwz r3, 8(r28) -/* 80323ACC 00320A2C 38 A1 00 08 */ addi r5, r1, 8 -/* 80323AD0 00320A30 EC 60 F8 24 */ fdivs f3, f0, f31 -/* 80323AD4 00320A34 C0 41 00 14 */ lfs f2, 0x14(r1) -/* 80323AD8 00320A38 81 83 00 00 */ lwz r12, 0(r3) -/* 80323ADC 00320A3C C0 21 00 18 */ lfs f1, 0x18(r1) -/* 80323AE0 00320A40 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 80323AE4 00320A44 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80323AE8 00320A48 EF A3 00 B2 */ fmuls f29, f3, f2 -/* 80323AEC 00320A4C EF C3 00 72 */ fmuls f30, f3, f1 -/* 80323AF0 00320A50 EF E3 00 32 */ fmuls f31, f3, f0 -/* 80323AF4 00320A54 7D 89 03 A6 */ mtctr r12 -/* 80323AF8 00320A58 4E 80 04 21 */ bctrl -/* 80323AFC 00320A5C C0 01 00 08 */ lfs f0, 8(r1) -/* 80323B00 00320A60 38 60 00 00 */ li r3, 0 -/* 80323B04 00320A64 C0 7E 00 00 */ lfs f3, 0(r30) -/* 80323B08 00320A68 EC 40 07 72 */ fmuls f2, f0, f29 -/* 80323B0C 00320A6C EC 20 07 B2 */ fmuls f1, f0, f30 -/* 80323B10 00320A70 EC 00 07 F2 */ fmuls f0, f0, f31 -/* 80323B14 00320A74 EC 43 10 2A */ fadds f2, f3, f2 -/* 80323B18 00320A78 D0 5E 00 00 */ stfs f2, 0(r30) -/* 80323B1C 00320A7C C0 5E 00 04 */ lfs f2, 4(r30) -/* 80323B20 00320A80 EC 22 08 2A */ fadds f1, f2, f1 -/* 80323B24 00320A84 D0 3E 00 04 */ stfs f1, 4(r30) -/* 80323B28 00320A88 C0 3E 00 08 */ lfs f1, 8(r30) -/* 80323B2C 00320A8C EC 01 00 2A */ fadds f0, f1, f0 -/* 80323B30 00320A90 D0 1E 00 08 */ stfs f0, 8(r30) -lbl_80323B34: -/* 80323B34 00320A94 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 -/* 80323B38 00320A98 CB E1 00 60 */ lfd f31, 0x60(r1) -/* 80323B3C 00320A9C E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 -/* 80323B40 00320AA0 CB C1 00 50 */ lfd f30, 0x50(r1) -/* 80323B44 00320AA4 E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0 -/* 80323B48 00320AA8 CB A1 00 40 */ lfd f29, 0x40(r1) -/* 80323B4C 00320AAC 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 80323B50 00320AB0 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 80323B54 00320AB4 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 80323B58 00320AB8 80 01 00 74 */ lwz r0, 0x74(r1) -/* 80323B5C 00320ABC 83 81 00 30 */ lwz r28, 0x30(r1) -/* 80323B60 00320AC0 7C 08 03 A6 */ mtlr r0 -/* 80323B64 00320AC4 38 21 00 70 */ addi r1, r1, 0x70 -/* 80323B68 00320AC8 4E 80 00 20 */ blr - -.global __dt__13CMVEImplosionFv -__dt__13CMVEImplosionFv: -/* 80323B6C 00320ACC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80323B70 00320AD0 7C 08 02 A6 */ mflr r0 -/* 80323B74 00320AD4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80323B78 00320AD8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80323B7C 00320ADC 7C 9F 23 78 */ mr r31, r4 -/* 80323B80 00320AE0 93 C1 00 08 */ stw r30, 8(r1) -/* 80323B84 00320AE4 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80323B88 00320AE8 41 82 00 C8 */ beq lbl_80323C50 -/* 80323B8C 00320AEC 3C 60 80 3F */ lis r3, lbl_803EDC88@ha -/* 80323B90 00320AF0 38 03 DC 88 */ addi r0, r3, lbl_803EDC88@l -/* 80323B94 00320AF4 90 1E 00 00 */ stw r0, 0(r30) -/* 80323B98 00320AF8 80 7E 00 04 */ lwz r3, 4(r30) -/* 80323B9C 00320AFC 28 03 00 00 */ cmplwi r3, 0 -/* 80323BA0 00320B00 41 82 00 18 */ beq lbl_80323BB8 -/* 80323BA4 00320B04 81 83 00 00 */ lwz r12, 0(r3) -/* 80323BA8 00320B08 38 80 00 01 */ li r4, 1 -/* 80323BAC 00320B0C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80323BB0 00320B10 7D 89 03 A6 */ mtctr r12 -/* 80323BB4 00320B14 4E 80 04 21 */ bctrl -lbl_80323BB8: -/* 80323BB8 00320B18 80 7E 00 08 */ lwz r3, 8(r30) -/* 80323BBC 00320B1C 28 03 00 00 */ cmplwi r3, 0 -/* 80323BC0 00320B20 41 82 00 18 */ beq lbl_80323BD8 -/* 80323BC4 00320B24 81 83 00 00 */ lwz r12, 0(r3) -/* 80323BC8 00320B28 38 80 00 01 */ li r4, 1 -/* 80323BCC 00320B2C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80323BD0 00320B30 7D 89 03 A6 */ mtctr r12 -/* 80323BD4 00320B34 4E 80 04 21 */ bctrl -lbl_80323BD8: -/* 80323BD8 00320B38 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 80323BDC 00320B3C 28 03 00 00 */ cmplwi r3, 0 -/* 80323BE0 00320B40 41 82 00 18 */ beq lbl_80323BF8 -/* 80323BE4 00320B44 81 83 00 00 */ lwz r12, 0(r3) -/* 80323BE8 00320B48 38 80 00 01 */ li r4, 1 -/* 80323BEC 00320B4C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80323BF0 00320B50 7D 89 03 A6 */ mtctr r12 -/* 80323BF4 00320B54 4E 80 04 21 */ bctrl -lbl_80323BF8: -/* 80323BF8 00320B58 80 7E 00 10 */ lwz r3, 0x10(r30) -/* 80323BFC 00320B5C 28 03 00 00 */ cmplwi r3, 0 -/* 80323C00 00320B60 41 82 00 18 */ beq lbl_80323C18 -/* 80323C04 00320B64 81 83 00 00 */ lwz r12, 0(r3) -/* 80323C08 00320B68 38 80 00 01 */ li r4, 1 -/* 80323C0C 00320B6C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80323C10 00320B70 7D 89 03 A6 */ mtctr r12 -/* 80323C14 00320B74 4E 80 04 21 */ bctrl -lbl_80323C18: -/* 80323C18 00320B78 28 1E 00 00 */ cmplwi r30, 0 -/* 80323C1C 00320B7C 41 82 00 20 */ beq lbl_80323C3C -/* 80323C20 00320B80 3C 60 80 3F */ lis r3, lbl_803EC5C8@ha -/* 80323C24 00320B84 38 03 C5 C8 */ addi r0, r3, lbl_803EC5C8@l -/* 80323C28 00320B88 90 1E 00 00 */ stw r0, 0(r30) -/* 80323C2C 00320B8C 41 82 00 10 */ beq lbl_80323C3C -/* 80323C30 00320B90 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 80323C34 00320B94 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 80323C38 00320B98 90 1E 00 00 */ stw r0, 0(r30) -lbl_80323C3C: -/* 80323C3C 00320B9C 7F E0 07 35 */ extsh. r0, r31 -/* 80323C40 00320BA0 40 81 00 10 */ ble lbl_80323C50 -/* 80323C44 00320BA4 7F C3 F3 78 */ mr r3, r30 -/* 80323C48 00320BA8 38 80 00 18 */ li r4, 0x18 -/* 80323C4C 00320BAC 48 04 8E 19 */ bl sub_8036ca64 -lbl_80323C50: -/* 80323C50 00320BB0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80323C54 00320BB4 7F C3 F3 78 */ mr r3, r30 -/* 80323C58 00320BB8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80323C5C 00320BBC 83 C1 00 08 */ lwz r30, 8(r1) -/* 80323C60 00320BC0 7C 08 03 A6 */ mtlr r0 -/* 80323C64 00320BC4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80323C68 00320BC8 4E 80 00 20 */ blr - -.global __ct__13CMVEImplosionFP14CVectorElementP12CRealElementP12CRealElementP12CRealElementb -__ct__13CMVEImplosionFP14CVectorElementP12CRealElementP12CRealElementP12CRealElementb: -/* 80323C6C 00320BCC 3D 60 80 3F */ lis r11, lbl_803EC5A8@ha -/* 80323C70 00320BD0 3D 40 80 3F */ lis r10, lbl_803EC5C8@ha -/* 80323C74 00320BD4 38 0B C5 A8 */ addi r0, r11, lbl_803EC5A8@l -/* 80323C78 00320BD8 3D 20 80 3F */ lis r9, lbl_803EDC88@ha -/* 80323C7C 00320BDC 90 03 00 00 */ stw r0, 0(r3) -/* 80323C80 00320BE0 39 4A C5 C8 */ addi r10, r10, lbl_803EC5C8@l -/* 80323C84 00320BE4 38 09 DC 88 */ addi r0, r9, lbl_803EDC88@l -/* 80323C88 00320BE8 91 43 00 00 */ stw r10, 0(r3) -/* 80323C8C 00320BEC 90 03 00 00 */ stw r0, 0(r3) -/* 80323C90 00320BF0 90 83 00 04 */ stw r4, 4(r3) -/* 80323C94 00320BF4 90 A3 00 08 */ stw r5, 8(r3) -/* 80323C98 00320BF8 90 C3 00 0C */ stw r6, 0xc(r3) -/* 80323C9C 00320BFC 90 E3 00 10 */ stw r7, 0x10(r3) -/* 80323CA0 00320C00 99 03 00 14 */ stb r8, 0x14(r3) -/* 80323CA4 00320C04 4E 80 00 20 */ blr - -.global GetValue__9CMVEPulseCFiR9CVector3fR9CVector3f -GetValue__9CMVEPulseCFiR9CVector3fR9CVector3f: -/* 80323CA8 00320C08 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80323CAC 00320C0C 7C 08 02 A6 */ mflr r0 -/* 80323CB0 00320C10 90 01 00 24 */ stw r0, 0x24(r1) -/* 80323CB4 00320C14 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80323CB8 00320C18 7C DF 33 78 */ mr r31, r6 -/* 80323CBC 00320C1C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80323CC0 00320C20 7C BE 2B 78 */ mr r30, r5 -/* 80323CC4 00320C24 38 A1 00 0C */ addi r5, r1, 0xc -/* 80323CC8 00320C28 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80323CCC 00320C2C 7C 9D 23 78 */ mr r29, r4 -/* 80323CD0 00320C30 93 81 00 10 */ stw r28, 0x10(r1) -/* 80323CD4 00320C34 7C 7C 1B 78 */ mr r28, r3 -/* 80323CD8 00320C38 80 63 00 04 */ lwz r3, 4(r3) -/* 80323CDC 00320C3C 81 83 00 00 */ lwz r12, 0(r3) -/* 80323CE0 00320C40 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80323CE4 00320C44 7D 89 03 A6 */ mtctr r12 -/* 80323CE8 00320C48 4E 80 04 21 */ bctrl -/* 80323CEC 00320C4C 80 7C 00 08 */ lwz r3, 8(r28) -/* 80323CF0 00320C50 7F A4 EB 78 */ mr r4, r29 -/* 80323CF4 00320C54 38 A1 00 08 */ addi r5, r1, 8 -/* 80323CF8 00320C58 81 83 00 00 */ lwz r12, 0(r3) -/* 80323CFC 00320C5C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80323D00 00320C60 7D 89 03 A6 */ mtctr r12 -/* 80323D04 00320C64 4E 80 04 21 */ bctrl -/* 80323D08 00320C68 80 61 00 08 */ lwz r3, 8(r1) -/* 80323D0C 00320C6C 80 81 00 0C */ lwz r4, 0xc(r1) -/* 80323D10 00320C70 38 A3 00 01 */ addi r5, r3, 1 -/* 80323D14 00320C74 7C A4 2A 15 */ add. r5, r4, r5 -/* 80323D18 00320C78 40 80 00 08 */ bge lbl_80323D20 -/* 80323D1C 00320C7C 38 A0 00 01 */ li r5, 1 -lbl_80323D20: -/* 80323D20 00320C80 2C 03 00 01 */ cmpwi r3, 1 -/* 80323D24 00320C84 41 80 00 60 */ blt lbl_80323D84 -/* 80323D28 00320C88 7C 1D 2B D6 */ divw r0, r29, r5 -/* 80323D2C 00320C8C 7C 00 29 D6 */ mullw r0, r0, r5 -/* 80323D30 00320C90 7C 00 E8 50 */ subf r0, r0, r29 -/* 80323D34 00320C94 7C 00 20 00 */ cmpw r0, r4 -/* 80323D38 00320C98 40 81 00 28 */ ble lbl_80323D60 -/* 80323D3C 00320C9C 80 7C 00 10 */ lwz r3, 0x10(r28) -/* 80323D40 00320CA0 7F A4 EB 78 */ mr r4, r29 -/* 80323D44 00320CA4 7F C5 F3 78 */ mr r5, r30 -/* 80323D48 00320CA8 7F E6 FB 78 */ mr r6, r31 -/* 80323D4C 00320CAC 81 83 00 00 */ lwz r12, 0(r3) -/* 80323D50 00320CB0 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80323D54 00320CB4 7D 89 03 A6 */ mtctr r12 -/* 80323D58 00320CB8 4E 80 04 21 */ bctrl -/* 80323D5C 00320CBC 48 00 00 48 */ b lbl_80323DA4 -lbl_80323D60: -/* 80323D60 00320CC0 80 7C 00 0C */ lwz r3, 0xc(r28) -/* 80323D64 00320CC4 7F A4 EB 78 */ mr r4, r29 -/* 80323D68 00320CC8 7F C5 F3 78 */ mr r5, r30 -/* 80323D6C 00320CCC 7F E6 FB 78 */ mr r6, r31 -/* 80323D70 00320CD0 81 83 00 00 */ lwz r12, 0(r3) -/* 80323D74 00320CD4 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80323D78 00320CD8 7D 89 03 A6 */ mtctr r12 -/* 80323D7C 00320CDC 4E 80 04 21 */ bctrl -/* 80323D80 00320CE0 48 00 00 24 */ b lbl_80323DA4 -lbl_80323D84: -/* 80323D84 00320CE4 80 7C 00 0C */ lwz r3, 0xc(r28) -/* 80323D88 00320CE8 7F A4 EB 78 */ mr r4, r29 -/* 80323D8C 00320CEC 7F C5 F3 78 */ mr r5, r30 -/* 80323D90 00320CF0 7F E6 FB 78 */ mr r6, r31 -/* 80323D94 00320CF4 81 83 00 00 */ lwz r12, 0(r3) -/* 80323D98 00320CF8 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80323D9C 00320CFC 7D 89 03 A6 */ mtctr r12 -/* 80323DA0 00320D00 4E 80 04 21 */ bctrl -lbl_80323DA4: -/* 80323DA4 00320D04 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80323DA8 00320D08 38 60 00 00 */ li r3, 0 -/* 80323DAC 00320D0C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80323DB0 00320D10 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80323DB4 00320D14 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80323DB8 00320D18 83 81 00 10 */ lwz r28, 0x10(r1) -/* 80323DBC 00320D1C 7C 08 03 A6 */ mtlr r0 -/* 80323DC0 00320D20 38 21 00 20 */ addi r1, r1, 0x20 -/* 80323DC4 00320D24 4E 80 00 20 */ blr - -.global __dt__9CMVEPulseFv -__dt__9CMVEPulseFv: -/* 80323DC8 00320D28 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80323DCC 00320D2C 7C 08 02 A6 */ mflr r0 -/* 80323DD0 00320D30 90 01 00 14 */ stw r0, 0x14(r1) -/* 80323DD4 00320D34 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80323DD8 00320D38 7C 9F 23 78 */ mr r31, r4 -/* 80323DDC 00320D3C 93 C1 00 08 */ stw r30, 8(r1) -/* 80323DE0 00320D40 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80323DE4 00320D44 41 82 00 C8 */ beq lbl_80323EAC -/* 80323DE8 00320D48 3C 60 80 3F */ lis r3, lbl_803EDC98@ha -/* 80323DEC 00320D4C 38 03 DC 98 */ addi r0, r3, lbl_803EDC98@l -/* 80323DF0 00320D50 90 1E 00 00 */ stw r0, 0(r30) -/* 80323DF4 00320D54 80 7E 00 04 */ lwz r3, 4(r30) -/* 80323DF8 00320D58 28 03 00 00 */ cmplwi r3, 0 -/* 80323DFC 00320D5C 41 82 00 18 */ beq lbl_80323E14 -/* 80323E00 00320D60 81 83 00 00 */ lwz r12, 0(r3) -/* 80323E04 00320D64 38 80 00 01 */ li r4, 1 -/* 80323E08 00320D68 81 8C 00 08 */ lwz r12, 8(r12) -/* 80323E0C 00320D6C 7D 89 03 A6 */ mtctr r12 -/* 80323E10 00320D70 4E 80 04 21 */ bctrl -lbl_80323E14: -/* 80323E14 00320D74 80 7E 00 08 */ lwz r3, 8(r30) -/* 80323E18 00320D78 28 03 00 00 */ cmplwi r3, 0 -/* 80323E1C 00320D7C 41 82 00 18 */ beq lbl_80323E34 -/* 80323E20 00320D80 81 83 00 00 */ lwz r12, 0(r3) -/* 80323E24 00320D84 38 80 00 01 */ li r4, 1 -/* 80323E28 00320D88 81 8C 00 08 */ lwz r12, 8(r12) -/* 80323E2C 00320D8C 7D 89 03 A6 */ mtctr r12 -/* 80323E30 00320D90 4E 80 04 21 */ bctrl -lbl_80323E34: -/* 80323E34 00320D94 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 80323E38 00320D98 28 03 00 00 */ cmplwi r3, 0 -/* 80323E3C 00320D9C 41 82 00 18 */ beq lbl_80323E54 -/* 80323E40 00320DA0 81 83 00 00 */ lwz r12, 0(r3) -/* 80323E44 00320DA4 38 80 00 01 */ li r4, 1 -/* 80323E48 00320DA8 81 8C 00 08 */ lwz r12, 8(r12) -/* 80323E4C 00320DAC 7D 89 03 A6 */ mtctr r12 -/* 80323E50 00320DB0 4E 80 04 21 */ bctrl -lbl_80323E54: -/* 80323E54 00320DB4 80 7E 00 10 */ lwz r3, 0x10(r30) -/* 80323E58 00320DB8 28 03 00 00 */ cmplwi r3, 0 -/* 80323E5C 00320DBC 41 82 00 18 */ beq lbl_80323E74 -/* 80323E60 00320DC0 81 83 00 00 */ lwz r12, 0(r3) -/* 80323E64 00320DC4 38 80 00 01 */ li r4, 1 -/* 80323E68 00320DC8 81 8C 00 08 */ lwz r12, 8(r12) -/* 80323E6C 00320DCC 7D 89 03 A6 */ mtctr r12 -/* 80323E70 00320DD0 4E 80 04 21 */ bctrl -lbl_80323E74: -/* 80323E74 00320DD4 28 1E 00 00 */ cmplwi r30, 0 -/* 80323E78 00320DD8 41 82 00 20 */ beq lbl_80323E98 -/* 80323E7C 00320DDC 3C 60 80 3F */ lis r3, lbl_803EC5C8@ha -/* 80323E80 00320DE0 38 03 C5 C8 */ addi r0, r3, lbl_803EC5C8@l -/* 80323E84 00320DE4 90 1E 00 00 */ stw r0, 0(r30) -/* 80323E88 00320DE8 41 82 00 10 */ beq lbl_80323E98 -/* 80323E8C 00320DEC 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 80323E90 00320DF0 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 80323E94 00320DF4 90 1E 00 00 */ stw r0, 0(r30) -lbl_80323E98: -/* 80323E98 00320DF8 7F E0 07 35 */ extsh. r0, r31 -/* 80323E9C 00320DFC 40 81 00 10 */ ble lbl_80323EAC -/* 80323EA0 00320E00 7F C3 F3 78 */ mr r3, r30 -/* 80323EA4 00320E04 38 80 00 14 */ li r4, 0x14 -/* 80323EA8 00320E08 48 04 8B BD */ bl sub_8036ca64 -lbl_80323EAC: -/* 80323EAC 00320E0C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80323EB0 00320E10 7F C3 F3 78 */ mr r3, r30 -/* 80323EB4 00320E14 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80323EB8 00320E18 83 C1 00 08 */ lwz r30, 8(r1) -/* 80323EBC 00320E1C 7C 08 03 A6 */ mtlr r0 -/* 80323EC0 00320E20 38 21 00 10 */ addi r1, r1, 0x10 -/* 80323EC4 00320E24 4E 80 00 20 */ blr - -.global __ct__9CMVEPulseFP11CIntElementP11CIntElementP17CModVectorElementP17CModVectorElement -__ct__9CMVEPulseFP11CIntElementP11CIntElementP17CModVectorElementP17CModVectorElement: -/* 80323EC8 00320E28 3D 40 80 3F */ lis r10, lbl_803EC5A8@ha -/* 80323ECC 00320E2C 3D 20 80 3F */ lis r9, lbl_803EC5C8@ha -/* 80323ED0 00320E30 38 0A C5 A8 */ addi r0, r10, lbl_803EC5A8@l -/* 80323ED4 00320E34 3D 00 80 3F */ lis r8, lbl_803EDC98@ha -/* 80323ED8 00320E38 90 03 00 00 */ stw r0, 0(r3) -/* 80323EDC 00320E3C 39 29 C5 C8 */ addi r9, r9, lbl_803EC5C8@l -/* 80323EE0 00320E40 38 08 DC 98 */ addi r0, r8, lbl_803EDC98@l -/* 80323EE4 00320E44 91 23 00 00 */ stw r9, 0(r3) -/* 80323EE8 00320E48 90 03 00 00 */ stw r0, 0(r3) -/* 80323EEC 00320E4C 90 83 00 04 */ stw r4, 4(r3) -/* 80323EF0 00320E50 90 A3 00 08 */ stw r5, 8(r3) -/* 80323EF4 00320E54 90 C3 00 0C */ stw r6, 0xc(r3) -/* 80323EF8 00320E58 90 E3 00 10 */ stw r7, 0x10(r3) -/* 80323EFC 00320E5C 4E 80 00 20 */ blr - -.global GetValue__13CMVETimeChainCFiR9CVector3fR9CVector3f -GetValue__13CMVETimeChainCFiR9CVector3fR9CVector3f: -/* 80323F00 00320E60 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80323F04 00320E64 7C 08 02 A6 */ mflr r0 -/* 80323F08 00320E68 90 01 00 24 */ stw r0, 0x24(r1) -/* 80323F0C 00320E6C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80323F10 00320E70 7C DF 33 78 */ mr r31, r6 -/* 80323F14 00320E74 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80323F18 00320E78 7C BE 2B 78 */ mr r30, r5 -/* 80323F1C 00320E7C 38 A1 00 08 */ addi r5, r1, 8 -/* 80323F20 00320E80 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80323F24 00320E84 7C 9D 23 78 */ mr r29, r4 -/* 80323F28 00320E88 93 81 00 10 */ stw r28, 0x10(r1) -/* 80323F2C 00320E8C 7C 7C 1B 78 */ mr r28, r3 -/* 80323F30 00320E90 80 63 00 0C */ lwz r3, 0xc(r3) -/* 80323F34 00320E94 81 83 00 00 */ lwz r12, 0(r3) -/* 80323F38 00320E98 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80323F3C 00320E9C 7D 89 03 A6 */ mtctr r12 -/* 80323F40 00320EA0 4E 80 04 21 */ bctrl -/* 80323F44 00320EA4 80 01 00 08 */ lwz r0, 8(r1) -/* 80323F48 00320EA8 7C 1D 00 00 */ cmpw r29, r0 -/* 80323F4C 00320EAC 40 80 00 28 */ bge lbl_80323F74 -/* 80323F50 00320EB0 80 7C 00 04 */ lwz r3, 4(r28) -/* 80323F54 00320EB4 7F A4 EB 78 */ mr r4, r29 -/* 80323F58 00320EB8 7F C5 F3 78 */ mr r5, r30 -/* 80323F5C 00320EBC 7F E6 FB 78 */ mr r6, r31 -/* 80323F60 00320EC0 81 83 00 00 */ lwz r12, 0(r3) -/* 80323F64 00320EC4 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80323F68 00320EC8 7D 89 03 A6 */ mtctr r12 -/* 80323F6C 00320ECC 4E 80 04 21 */ bctrl -/* 80323F70 00320ED0 48 00 00 24 */ b lbl_80323F94 -lbl_80323F74: -/* 80323F74 00320ED4 80 7C 00 08 */ lwz r3, 8(r28) -/* 80323F78 00320ED8 7F C5 F3 78 */ mr r5, r30 -/* 80323F7C 00320EDC 7F E6 FB 78 */ mr r6, r31 -/* 80323F80 00320EE0 7C 80 E8 50 */ subf r4, r0, r29 -/* 80323F84 00320EE4 81 83 00 00 */ lwz r12, 0(r3) -/* 80323F88 00320EE8 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80323F8C 00320EEC 7D 89 03 A6 */ mtctr r12 -/* 80323F90 00320EF0 4E 80 04 21 */ bctrl -lbl_80323F94: -/* 80323F94 00320EF4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80323F98 00320EF8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80323F9C 00320EFC 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80323FA0 00320F00 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80323FA4 00320F04 83 81 00 10 */ lwz r28, 0x10(r1) -/* 80323FA8 00320F08 7C 08 03 A6 */ mtlr r0 -/* 80323FAC 00320F0C 38 21 00 20 */ addi r1, r1, 0x20 -/* 80323FB0 00320F10 4E 80 00 20 */ blr - -.global __dt__13CMVETimeChainFv -__dt__13CMVETimeChainFv: -/* 80323FB4 00320F14 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80323FB8 00320F18 7C 08 02 A6 */ mflr r0 -/* 80323FBC 00320F1C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80323FC0 00320F20 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80323FC4 00320F24 7C 9F 23 78 */ mr r31, r4 -/* 80323FC8 00320F28 93 C1 00 08 */ stw r30, 8(r1) -/* 80323FCC 00320F2C 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80323FD0 00320F30 41 82 00 A8 */ beq lbl_80324078 -/* 80323FD4 00320F34 3C 60 80 3F */ lis r3, lbl_803EDCA8@ha -/* 80323FD8 00320F38 38 03 DC A8 */ addi r0, r3, lbl_803EDCA8@l -/* 80323FDC 00320F3C 90 1E 00 00 */ stw r0, 0(r30) -/* 80323FE0 00320F40 80 7E 00 04 */ lwz r3, 4(r30) -/* 80323FE4 00320F44 28 03 00 00 */ cmplwi r3, 0 -/* 80323FE8 00320F48 41 82 00 18 */ beq lbl_80324000 -/* 80323FEC 00320F4C 81 83 00 00 */ lwz r12, 0(r3) -/* 80323FF0 00320F50 38 80 00 01 */ li r4, 1 -/* 80323FF4 00320F54 81 8C 00 08 */ lwz r12, 8(r12) -/* 80323FF8 00320F58 7D 89 03 A6 */ mtctr r12 -/* 80323FFC 00320F5C 4E 80 04 21 */ bctrl -lbl_80324000: -/* 80324000 00320F60 80 7E 00 08 */ lwz r3, 8(r30) -/* 80324004 00320F64 28 03 00 00 */ cmplwi r3, 0 -/* 80324008 00320F68 41 82 00 18 */ beq lbl_80324020 -/* 8032400C 00320F6C 81 83 00 00 */ lwz r12, 0(r3) -/* 80324010 00320F70 38 80 00 01 */ li r4, 1 -/* 80324014 00320F74 81 8C 00 08 */ lwz r12, 8(r12) -/* 80324018 00320F78 7D 89 03 A6 */ mtctr r12 -/* 8032401C 00320F7C 4E 80 04 21 */ bctrl -lbl_80324020: -/* 80324020 00320F80 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 80324024 00320F84 28 03 00 00 */ cmplwi r3, 0 -/* 80324028 00320F88 41 82 00 18 */ beq lbl_80324040 -/* 8032402C 00320F8C 81 83 00 00 */ lwz r12, 0(r3) -/* 80324030 00320F90 38 80 00 01 */ li r4, 1 -/* 80324034 00320F94 81 8C 00 08 */ lwz r12, 8(r12) -/* 80324038 00320F98 7D 89 03 A6 */ mtctr r12 -/* 8032403C 00320F9C 4E 80 04 21 */ bctrl -lbl_80324040: -/* 80324040 00320FA0 28 1E 00 00 */ cmplwi r30, 0 -/* 80324044 00320FA4 41 82 00 20 */ beq lbl_80324064 -/* 80324048 00320FA8 3C 60 80 3F */ lis r3, lbl_803EC5C8@ha -/* 8032404C 00320FAC 38 03 C5 C8 */ addi r0, r3, lbl_803EC5C8@l -/* 80324050 00320FB0 90 1E 00 00 */ stw r0, 0(r30) -/* 80324054 00320FB4 41 82 00 10 */ beq lbl_80324064 -/* 80324058 00320FB8 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 8032405C 00320FBC 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 80324060 00320FC0 90 1E 00 00 */ stw r0, 0(r30) -lbl_80324064: -/* 80324064 00320FC4 7F E0 07 35 */ extsh. r0, r31 -/* 80324068 00320FC8 40 81 00 10 */ ble lbl_80324078 -/* 8032406C 00320FCC 7F C3 F3 78 */ mr r3, r30 -/* 80324070 00320FD0 38 80 00 10 */ li r4, 0x10 -/* 80324074 00320FD4 48 04 89 F1 */ bl sub_8036ca64 -lbl_80324078: -/* 80324078 00320FD8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8032407C 00320FDC 7F C3 F3 78 */ mr r3, r30 -/* 80324080 00320FE0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80324084 00320FE4 83 C1 00 08 */ lwz r30, 8(r1) -/* 80324088 00320FE8 7C 08 03 A6 */ mtlr r0 -/* 8032408C 00320FEC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80324090 00320FF0 4E 80 00 20 */ blr - -.global __ct__13CMVETimeChainFP17CModVectorElementP17CModVectorElementP11CIntElement -__ct__13CMVETimeChainFP17CModVectorElementP17CModVectorElementP11CIntElement: -/* 80324094 00320FF4 3D 20 80 3F */ lis r9, lbl_803EC5A8@ha -/* 80324098 00320FF8 3D 00 80 3F */ lis r8, lbl_803EC5C8@ha -/* 8032409C 00320FFC 38 09 C5 A8 */ addi r0, r9, lbl_803EC5A8@l -/* 803240A0 00321000 3C E0 80 3F */ lis r7, lbl_803EDCA8@ha -/* 803240A4 00321004 90 03 00 00 */ stw r0, 0(r3) -/* 803240A8 00321008 39 08 C5 C8 */ addi r8, r8, lbl_803EC5C8@l -/* 803240AC 0032100C 38 07 DC A8 */ addi r0, r7, lbl_803EDCA8@l -/* 803240B0 00321010 91 03 00 00 */ stw r8, 0(r3) -/* 803240B4 00321014 90 03 00 00 */ stw r0, 0(r3) -/* 803240B8 00321018 90 83 00 04 */ stw r4, 4(r3) -/* 803240BC 0032101C 90 A3 00 08 */ stw r5, 8(r3) -/* 803240C0 00321020 90 C3 00 0C */ stw r6, 0xc(r3) -/* 803240C4 00321024 4E 80 00 20 */ blr - -.global GetValue__11CMVEExplodeCFiR9CVector3fR9CVector3f -GetValue__11CMVEExplodeCFiR9CVector3fR9CVector3f: -/* 803240C8 00321028 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 803240CC 0032102C 7C 08 02 A6 */ mflr r0 -/* 803240D0 00321030 90 01 00 84 */ stw r0, 0x84(r1) -/* 803240D4 00321034 DB E1 00 70 */ stfd f31, 0x70(r1) -/* 803240D8 00321038 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 -/* 803240DC 0032103C DB C1 00 60 */ stfd f30, 0x60(r1) -/* 803240E0 00321040 F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 -/* 803240E4 00321044 DB A1 00 50 */ stfd f29, 0x50(r1) -/* 803240E8 00321048 F3 A1 00 58 */ psq_st f29, 88(r1), 0, qr0 -/* 803240EC 0032104C DB 81 00 40 */ stfd f28, 0x40(r1) -/* 803240F0 00321050 F3 81 00 48 */ psq_st f28, 72(r1), 0, qr0 -/* 803240F4 00321054 DB 61 00 30 */ stfd f27, 0x30(r1) -/* 803240F8 00321058 F3 61 00 38 */ psq_st f27, 56(r1), 0, qr0 -/* 803240FC 0032105C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80324100 00321060 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80324104 00321064 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80324108 00321068 7C 9E 23 79 */ or. r30, r4, r4 -/* 8032410C 0032106C 7C 7D 1B 78 */ mr r29, r3 -/* 80324110 00321070 7C BF 2B 78 */ mr r31, r5 -/* 80324114 00321074 40 82 00 B4 */ bne lbl_803241C8 -/* 80324118 00321078 C3 C2 CA 70 */ lfs f30, lbl_805AE790@sda21(r2) -/* 8032411C 0032107C C3 E2 CA 6C */ lfs f31, lbl_805AE78C@sda21(r2) -lbl_80324120: -/* 80324120 00321080 4B FE E4 DD */ bl GetRandomNumber__9CRandom16Fv -/* 80324124 00321084 4B FE E3 B9 */ bl Float__9CRandom16Fv -/* 80324128 00321088 EF A1 F0 28 */ fsubs f29, f1, f30 -/* 8032412C 0032108C 4B FE E4 D1 */ bl GetRandomNumber__9CRandom16Fv -/* 80324130 00321090 4B FE E3 AD */ bl Float__9CRandom16Fv -/* 80324134 00321094 EF 81 F0 28 */ fsubs f28, f1, f30 -/* 80324138 00321098 4B FE E4 C5 */ bl GetRandomNumber__9CRandom16Fv -/* 8032413C 0032109C 4B FE E3 A1 */ bl Float__9CRandom16Fv -/* 80324140 003210A0 EC 1C 07 32 */ fmuls f0, f28, f28 -/* 80324144 003210A4 EF 61 F0 28 */ fsubs f27, f1, f30 -/* 80324148 003210A8 EC 1D 07 7A */ fmadds f0, f29, f29, f0 -/* 8032414C 003210AC EC 1B 06 FA */ fmadds f0, f27, f27, f0 -/* 80324150 003210B0 FC 00 F8 40 */ fcmpo cr0, f0, f31 -/* 80324154 003210B4 41 81 FF CC */ bgt lbl_80324120 -/* 80324158 003210B8 80 7D 00 04 */ lwz r3, 4(r29) -/* 8032415C 003210BC 7F C4 F3 78 */ mr r4, r30 -/* 80324160 003210C0 38 A1 00 0C */ addi r5, r1, 0xc -/* 80324164 003210C4 81 83 00 00 */ lwz r12, 0(r3) -/* 80324168 003210C8 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8032416C 003210CC 7D 89 03 A6 */ mtctr r12 -/* 80324170 003210D0 4E 80 04 21 */ bctrl -/* 80324174 003210D4 D3 A1 00 10 */ stfs f29, 0x10(r1) -/* 80324178 003210D8 38 61 00 10 */ addi r3, r1, 0x10 -/* 8032417C 003210DC D3 81 00 14 */ stfs f28, 0x14(r1) -/* 80324180 003210E0 D3 61 00 18 */ stfs f27, 0x18(r1) -/* 80324184 003210E4 4B FF 07 75 */ bl Normalize__9CVector3fFv -/* 80324188 003210E8 C0 61 00 0C */ lfs f3, 0xc(r1) -/* 8032418C 003210EC C0 41 00 10 */ lfs f2, 0x10(r1) -/* 80324190 003210F0 C0 21 00 14 */ lfs f1, 0x14(r1) -/* 80324194 003210F4 C0 01 00 18 */ lfs f0, 0x18(r1) -/* 80324198 003210F8 EC 42 00 F2 */ fmuls f2, f2, f3 -/* 8032419C 003210FC EC 21 00 F2 */ fmuls f1, f1, f3 -/* 803241A0 00321100 EC 00 00 F2 */ fmuls f0, f0, f3 -/* 803241A4 00321104 D0 41 00 10 */ stfs f2, 0x10(r1) -/* 803241A8 00321108 D0 21 00 14 */ stfs f1, 0x14(r1) -/* 803241AC 0032110C D0 01 00 18 */ stfs f0, 0x18(r1) -/* 803241B0 00321110 D0 5F 00 00 */ stfs f2, 0(r31) -/* 803241B4 00321114 C0 01 00 14 */ lfs f0, 0x14(r1) -/* 803241B8 00321118 D0 1F 00 04 */ stfs f0, 4(r31) -/* 803241BC 0032111C C0 01 00 18 */ lfs f0, 0x18(r1) -/* 803241C0 00321120 D0 1F 00 08 */ stfs f0, 8(r31) -/* 803241C4 00321124 48 00 00 44 */ b lbl_80324208 -lbl_803241C8: -/* 803241C8 00321128 80 7D 00 08 */ lwz r3, 8(r29) -/* 803241CC 0032112C 38 A1 00 08 */ addi r5, r1, 8 -/* 803241D0 00321130 81 83 00 00 */ lwz r12, 0(r3) -/* 803241D4 00321134 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 803241D8 00321138 7D 89 03 A6 */ mtctr r12 -/* 803241DC 0032113C 4E 80 04 21 */ bctrl -/* 803241E0 00321140 C0 21 00 08 */ lfs f1, 8(r1) -/* 803241E4 00321144 C0 1F 00 00 */ lfs f0, 0(r31) -/* 803241E8 00321148 EC 00 00 72 */ fmuls f0, f0, f1 -/* 803241EC 0032114C D0 1F 00 00 */ stfs f0, 0(r31) -/* 803241F0 00321150 C0 1F 00 04 */ lfs f0, 4(r31) -/* 803241F4 00321154 EC 00 00 72 */ fmuls f0, f0, f1 -/* 803241F8 00321158 D0 1F 00 04 */ stfs f0, 4(r31) -/* 803241FC 0032115C C0 1F 00 08 */ lfs f0, 8(r31) -/* 80324200 00321160 EC 00 00 72 */ fmuls f0, f0, f1 -/* 80324204 00321164 D0 1F 00 08 */ stfs f0, 8(r31) -lbl_80324208: -/* 80324208 00321168 38 60 00 00 */ li r3, 0 -/* 8032420C 0032116C E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 -/* 80324210 00321170 CB E1 00 70 */ lfd f31, 0x70(r1) -/* 80324214 00321174 E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 -/* 80324218 00321178 CB C1 00 60 */ lfd f30, 0x60(r1) -/* 8032421C 0032117C E3 A1 00 58 */ psq_l f29, 88(r1), 0, qr0 -/* 80324220 00321180 CB A1 00 50 */ lfd f29, 0x50(r1) -/* 80324224 00321184 E3 81 00 48 */ psq_l f28, 72(r1), 0, qr0 -/* 80324228 00321188 CB 81 00 40 */ lfd f28, 0x40(r1) -/* 8032422C 0032118C E3 61 00 38 */ psq_l f27, 56(r1), 0, qr0 -/* 80324230 00321190 CB 61 00 30 */ lfd f27, 0x30(r1) -/* 80324234 00321194 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80324238 00321198 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8032423C 0032119C 80 01 00 84 */ lwz r0, 0x84(r1) -/* 80324240 003211A0 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80324244 003211A4 7C 08 03 A6 */ mtlr r0 -/* 80324248 003211A8 38 21 00 80 */ addi r1, r1, 0x80 -/* 8032424C 003211AC 4E 80 00 20 */ blr - -.global __dt__11CMVEExplodeFv -__dt__11CMVEExplodeFv: -/* 80324250 003211B0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80324254 003211B4 7C 08 02 A6 */ mflr r0 -/* 80324258 003211B8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8032425C 003211BC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80324260 003211C0 7C 9F 23 78 */ mr r31, r4 -/* 80324264 003211C4 93 C1 00 08 */ stw r30, 8(r1) -/* 80324268 003211C8 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8032426C 003211CC 41 82 00 88 */ beq lbl_803242F4 -/* 80324270 003211D0 3C 60 80 3F */ lis r3, lbl_803EDCB8@ha -/* 80324274 003211D4 38 03 DC B8 */ addi r0, r3, lbl_803EDCB8@l -/* 80324278 003211D8 90 1E 00 00 */ stw r0, 0(r30) -/* 8032427C 003211DC 80 7E 00 04 */ lwz r3, 4(r30) -/* 80324280 003211E0 28 03 00 00 */ cmplwi r3, 0 -/* 80324284 003211E4 41 82 00 18 */ beq lbl_8032429C -/* 80324288 003211E8 81 83 00 00 */ lwz r12, 0(r3) -/* 8032428C 003211EC 38 80 00 01 */ li r4, 1 -/* 80324290 003211F0 81 8C 00 08 */ lwz r12, 8(r12) -/* 80324294 003211F4 7D 89 03 A6 */ mtctr r12 -/* 80324298 003211F8 4E 80 04 21 */ bctrl -lbl_8032429C: -/* 8032429C 003211FC 80 7E 00 08 */ lwz r3, 8(r30) -/* 803242A0 00321200 28 03 00 00 */ cmplwi r3, 0 -/* 803242A4 00321204 41 82 00 18 */ beq lbl_803242BC -/* 803242A8 00321208 81 83 00 00 */ lwz r12, 0(r3) -/* 803242AC 0032120C 38 80 00 01 */ li r4, 1 -/* 803242B0 00321210 81 8C 00 08 */ lwz r12, 8(r12) -/* 803242B4 00321214 7D 89 03 A6 */ mtctr r12 -/* 803242B8 00321218 4E 80 04 21 */ bctrl -lbl_803242BC: -/* 803242BC 0032121C 28 1E 00 00 */ cmplwi r30, 0 -/* 803242C0 00321220 41 82 00 20 */ beq lbl_803242E0 -/* 803242C4 00321224 3C 60 80 3F */ lis r3, lbl_803EC5C8@ha -/* 803242C8 00321228 38 03 C5 C8 */ addi r0, r3, lbl_803EC5C8@l -/* 803242CC 0032122C 90 1E 00 00 */ stw r0, 0(r30) -/* 803242D0 00321230 41 82 00 10 */ beq lbl_803242E0 -/* 803242D4 00321234 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 803242D8 00321238 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 803242DC 0032123C 90 1E 00 00 */ stw r0, 0(r30) -lbl_803242E0: -/* 803242E0 00321240 7F E0 07 35 */ extsh. r0, r31 -/* 803242E4 00321244 40 81 00 10 */ ble lbl_803242F4 -/* 803242E8 00321248 7F C3 F3 78 */ mr r3, r30 -/* 803242EC 0032124C 38 80 00 0C */ li r4, 0xc -/* 803242F0 00321250 48 04 87 75 */ bl sub_8036ca64 -lbl_803242F4: -/* 803242F4 00321254 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803242F8 00321258 7F C3 F3 78 */ mr r3, r30 -/* 803242FC 0032125C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80324300 00321260 83 C1 00 08 */ lwz r30, 8(r1) -/* 80324304 00321264 7C 08 03 A6 */ mtlr r0 -/* 80324308 00321268 38 21 00 10 */ addi r1, r1, 0x10 -/* 8032430C 0032126C 4E 80 00 20 */ blr - -.global __ct__11CMVEExplodeFP12CRealElementP12CRealElement -__ct__11CMVEExplodeFP12CRealElementP12CRealElement: -/* 80324310 00321270 3D 00 80 3F */ lis r8, lbl_803EC5A8@ha -/* 80324314 00321274 3C E0 80 3F */ lis r7, lbl_803EC5C8@ha -/* 80324318 00321278 38 08 C5 A8 */ addi r0, r8, lbl_803EC5A8@l -/* 8032431C 0032127C 3C C0 80 3F */ lis r6, lbl_803EDCB8@ha -/* 80324320 00321280 90 03 00 00 */ stw r0, 0(r3) -/* 80324324 00321284 38 E7 C5 C8 */ addi r7, r7, lbl_803EC5C8@l -/* 80324328 00321288 38 06 DC B8 */ addi r0, r6, lbl_803EDCB8@l -/* 8032432C 0032128C 90 E3 00 00 */ stw r7, 0(r3) -/* 80324330 00321290 90 03 00 00 */ stw r0, 0(r3) -/* 80324334 00321294 90 83 00 04 */ stw r4, 4(r3) -/* 80324338 00321298 90 A3 00 08 */ stw r5, 8(r3) -/* 8032433C 0032129C 4E 80 00 20 */ blr - -.global GetValue__8CMVEWindCFiR9CVector3fR9CVector3f -GetValue__8CMVEWindCFiR9CVector3fR9CVector3f: -/* 80324340 003212A0 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 80324344 003212A4 7C 08 02 A6 */ mflr r0 -/* 80324348 003212A8 90 01 00 64 */ stw r0, 0x64(r1) -/* 8032434C 003212AC DB E1 00 50 */ stfd f31, 0x50(r1) -/* 80324350 003212B0 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 -/* 80324354 003212B4 DB C1 00 40 */ stfd f30, 0x40(r1) -/* 80324358 003212B8 F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 -/* 8032435C 003212BC DB A1 00 30 */ stfd f29, 0x30(r1) -/* 80324360 003212C0 F3 A1 00 38 */ psq_st f29, 56(r1), 0, qr0 -/* 80324364 003212C4 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80324368 003212C8 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8032436C 003212CC 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80324370 003212D0 C0 02 CA 68 */ lfs f0, lbl_805AE788@sda21(r2) -/* 80324374 003212D4 7C 7D 1B 78 */ mr r29, r3 -/* 80324378 003212D8 7C BF 2B 78 */ mr r31, r5 -/* 8032437C 003212DC 80 63 00 04 */ lwz r3, 4(r3) -/* 80324380 003212E0 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 80324384 003212E4 7C 9E 23 78 */ mr r30, r4 -/* 80324388 003212E8 38 A1 00 0C */ addi r5, r1, 0xc -/* 8032438C 003212EC D0 01 00 10 */ stfs f0, 0x10(r1) -/* 80324390 003212F0 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 80324394 003212F4 81 83 00 00 */ lwz r12, 0(r3) -/* 80324398 003212F8 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8032439C 003212FC 7D 89 03 A6 */ mtctr r12 -/* 803243A0 00321300 4E 80 04 21 */ bctrl -/* 803243A4 00321304 80 7D 00 08 */ lwz r3, 8(r29) -/* 803243A8 00321308 7F C4 F3 78 */ mr r4, r30 -/* 803243AC 0032130C C0 21 00 0C */ lfs f1, 0xc(r1) -/* 803243B0 00321310 38 A1 00 08 */ addi r5, r1, 8 -/* 803243B4 00321314 81 83 00 00 */ lwz r12, 0(r3) -/* 803243B8 00321318 C0 1F 00 00 */ lfs f0, 0(r31) -/* 803243BC 0032131C C0 61 00 10 */ lfs f3, 0x10(r1) -/* 803243C0 00321320 C0 5F 00 04 */ lfs f2, 4(r31) -/* 803243C4 00321324 EF E1 00 28 */ fsubs f31, f1, f0 -/* 803243C8 00321328 C0 21 00 14 */ lfs f1, 0x14(r1) -/* 803243CC 0032132C C0 1F 00 08 */ lfs f0, 8(r31) -/* 803243D0 00321330 EF C3 10 28 */ fsubs f30, f3, f2 -/* 803243D4 00321334 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 803243D8 00321338 EF A1 00 28 */ fsubs f29, f1, f0 -/* 803243DC 0032133C 7D 89 03 A6 */ mtctr r12 -/* 803243E0 00321340 4E 80 04 21 */ bctrl -/* 803243E4 00321344 C0 21 00 08 */ lfs f1, 8(r1) -/* 803243E8 00321348 38 60 00 00 */ li r3, 0 -/* 803243EC 0032134C C0 1F 00 00 */ lfs f0, 0(r31) -/* 803243F0 00321350 EF FF 00 72 */ fmuls f31, f31, f1 -/* 803243F4 00321354 EF DE 00 72 */ fmuls f30, f30, f1 -/* 803243F8 00321358 EF BD 00 72 */ fmuls f29, f29, f1 -/* 803243FC 0032135C EC 00 F8 2A */ fadds f0, f0, f31 -/* 80324400 00321360 D0 1F 00 00 */ stfs f0, 0(r31) -/* 80324404 00321364 C0 1F 00 04 */ lfs f0, 4(r31) -/* 80324408 00321368 EC 00 F0 2A */ fadds f0, f0, f30 -/* 8032440C 0032136C D0 1F 00 04 */ stfs f0, 4(r31) -/* 80324410 00321370 C0 1F 00 08 */ lfs f0, 8(r31) -/* 80324414 00321374 EC 00 E8 2A */ fadds f0, f0, f29 -/* 80324418 00321378 D0 1F 00 08 */ stfs f0, 8(r31) -/* 8032441C 0032137C E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 -/* 80324420 00321380 CB E1 00 50 */ lfd f31, 0x50(r1) -/* 80324424 00321384 E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 -/* 80324428 00321388 CB C1 00 40 */ lfd f30, 0x40(r1) -/* 8032442C 0032138C E3 A1 00 38 */ psq_l f29, 56(r1), 0, qr0 -/* 80324430 00321390 CB A1 00 30 */ lfd f29, 0x30(r1) -/* 80324434 00321394 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80324438 00321398 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8032443C 0032139C 80 01 00 64 */ lwz r0, 0x64(r1) -/* 80324440 003213A0 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80324444 003213A4 7C 08 03 A6 */ mtlr r0 -/* 80324448 003213A8 38 21 00 60 */ addi r1, r1, 0x60 -/* 8032444C 003213AC 4E 80 00 20 */ blr - -.global __dt__8CMVEWindFv -__dt__8CMVEWindFv: -/* 80324450 003213B0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80324454 003213B4 7C 08 02 A6 */ mflr r0 -/* 80324458 003213B8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8032445C 003213BC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80324460 003213C0 7C 9F 23 78 */ mr r31, r4 -/* 80324464 003213C4 93 C1 00 08 */ stw r30, 8(r1) -/* 80324468 003213C8 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8032446C 003213CC 41 82 00 88 */ beq lbl_803244F4 -/* 80324470 003213D0 3C 60 80 3F */ lis r3, lbl_803EDCC8@ha -/* 80324474 003213D4 38 03 DC C8 */ addi r0, r3, lbl_803EDCC8@l -/* 80324478 003213D8 90 1E 00 00 */ stw r0, 0(r30) -/* 8032447C 003213DC 80 7E 00 04 */ lwz r3, 4(r30) -/* 80324480 003213E0 28 03 00 00 */ cmplwi r3, 0 -/* 80324484 003213E4 41 82 00 18 */ beq lbl_8032449C -/* 80324488 003213E8 81 83 00 00 */ lwz r12, 0(r3) -/* 8032448C 003213EC 38 80 00 01 */ li r4, 1 -/* 80324490 003213F0 81 8C 00 08 */ lwz r12, 8(r12) -/* 80324494 003213F4 7D 89 03 A6 */ mtctr r12 -/* 80324498 003213F8 4E 80 04 21 */ bctrl -lbl_8032449C: -/* 8032449C 003213FC 80 7E 00 08 */ lwz r3, 8(r30) -/* 803244A0 00321400 28 03 00 00 */ cmplwi r3, 0 -/* 803244A4 00321404 41 82 00 18 */ beq lbl_803244BC -/* 803244A8 00321408 81 83 00 00 */ lwz r12, 0(r3) -/* 803244AC 0032140C 38 80 00 01 */ li r4, 1 -/* 803244B0 00321410 81 8C 00 08 */ lwz r12, 8(r12) -/* 803244B4 00321414 7D 89 03 A6 */ mtctr r12 -/* 803244B8 00321418 4E 80 04 21 */ bctrl -lbl_803244BC: -/* 803244BC 0032141C 28 1E 00 00 */ cmplwi r30, 0 -/* 803244C0 00321420 41 82 00 20 */ beq lbl_803244E0 -/* 803244C4 00321424 3C 60 80 3F */ lis r3, lbl_803EC5C8@ha -/* 803244C8 00321428 38 03 C5 C8 */ addi r0, r3, lbl_803EC5C8@l -/* 803244CC 0032142C 90 1E 00 00 */ stw r0, 0(r30) -/* 803244D0 00321430 41 82 00 10 */ beq lbl_803244E0 -/* 803244D4 00321434 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 803244D8 00321438 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 803244DC 0032143C 90 1E 00 00 */ stw r0, 0(r30) -lbl_803244E0: -/* 803244E0 00321440 7F E0 07 35 */ extsh. r0, r31 -/* 803244E4 00321444 40 81 00 10 */ ble lbl_803244F4 -/* 803244E8 00321448 7F C3 F3 78 */ mr r3, r30 -/* 803244EC 0032144C 38 80 00 0C */ li r4, 0xc -/* 803244F0 00321450 48 04 85 75 */ bl sub_8036ca64 -lbl_803244F4: -/* 803244F4 00321454 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803244F8 00321458 7F C3 F3 78 */ mr r3, r30 -/* 803244FC 0032145C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80324500 00321460 83 C1 00 08 */ lwz r30, 8(r1) -/* 80324504 00321464 7C 08 03 A6 */ mtlr r0 -/* 80324508 00321468 38 21 00 10 */ addi r1, r1, 0x10 -/* 8032450C 0032146C 4E 80 00 20 */ blr - -.global __ct__8CMVEWindFP14CVectorElementP12CRealElement -__ct__8CMVEWindFP14CVectorElementP12CRealElement: -/* 80324510 00321470 3D 00 80 3F */ lis r8, lbl_803EC5A8@ha -/* 80324514 00321474 3C E0 80 3F */ lis r7, lbl_803EC5C8@ha -/* 80324518 00321478 38 08 C5 A8 */ addi r0, r8, lbl_803EC5A8@l -/* 8032451C 0032147C 3C C0 80 3F */ lis r6, lbl_803EDCC8@ha -/* 80324520 00321480 90 03 00 00 */ stw r0, 0(r3) -/* 80324524 00321484 38 E7 C5 C8 */ addi r7, r7, lbl_803EC5C8@l -/* 80324528 00321488 38 06 DC C8 */ addi r0, r6, lbl_803EDCC8@l -/* 8032452C 0032148C 90 E3 00 00 */ stw r7, 0(r3) -/* 80324530 00321490 90 03 00 00 */ stw r0, 0(r3) -/* 80324534 00321494 90 83 00 04 */ stw r4, 4(r3) -/* 80324538 00321498 90 A3 00 08 */ stw r5, 8(r3) -/* 8032453C 0032149C 4E 80 00 20 */ blr - -.global GetValue__11CMVEGravityCFiR9CVector3fR9CVector3f -GetValue__11CMVEGravityCFiR9CVector3fR9CVector3f: -/* 80324540 003214A0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80324544 003214A4 7C 08 02 A6 */ mflr r0 -/* 80324548 003214A8 C0 02 CA 68 */ lfs f0, lbl_805AE788@sda21(r2) -/* 8032454C 003214AC 90 01 00 24 */ stw r0, 0x24(r1) -/* 80324550 003214B0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80324554 003214B4 7C BF 2B 78 */ mr r31, r5 -/* 80324558 003214B8 38 A1 00 08 */ addi r5, r1, 8 -/* 8032455C 003214BC 80 63 00 04 */ lwz r3, 4(r3) -/* 80324560 003214C0 D0 01 00 08 */ stfs f0, 8(r1) -/* 80324564 003214C4 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 80324568 003214C8 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 8032456C 003214CC 81 83 00 00 */ lwz r12, 0(r3) -/* 80324570 003214D0 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80324574 003214D4 7D 89 03 A6 */ mtctr r12 -/* 80324578 003214D8 4E 80 04 21 */ bctrl -/* 8032457C 003214DC C0 3F 00 00 */ lfs f1, 0(r31) -/* 80324580 003214E0 38 60 00 00 */ li r3, 0 -/* 80324584 003214E4 C0 01 00 08 */ lfs f0, 8(r1) -/* 80324588 003214E8 EC 01 00 2A */ fadds f0, f1, f0 -/* 8032458C 003214EC D0 1F 00 00 */ stfs f0, 0(r31) -/* 80324590 003214F0 C0 3F 00 04 */ lfs f1, 4(r31) -/* 80324594 003214F4 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 80324598 003214F8 EC 01 00 2A */ fadds f0, f1, f0 -/* 8032459C 003214FC D0 1F 00 04 */ stfs f0, 4(r31) -/* 803245A0 00321500 C0 3F 00 08 */ lfs f1, 8(r31) -/* 803245A4 00321504 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 803245A8 00321508 EC 01 00 2A */ fadds f0, f1, f0 -/* 803245AC 0032150C D0 1F 00 08 */ stfs f0, 8(r31) -/* 803245B0 00321510 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 803245B4 00321514 80 01 00 24 */ lwz r0, 0x24(r1) -/* 803245B8 00321518 7C 08 03 A6 */ mtlr r0 -/* 803245BC 0032151C 38 21 00 20 */ addi r1, r1, 0x20 -/* 803245C0 00321520 4E 80 00 20 */ blr - -.global __dt__11CMVEGravityFv -__dt__11CMVEGravityFv: -/* 803245C4 00321524 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803245C8 00321528 7C 08 02 A6 */ mflr r0 -/* 803245CC 0032152C 90 01 00 14 */ stw r0, 0x14(r1) -/* 803245D0 00321530 93 E1 00 0C */ stw r31, 0xc(r1) -/* 803245D4 00321534 7C 9F 23 78 */ mr r31, r4 -/* 803245D8 00321538 93 C1 00 08 */ stw r30, 8(r1) -/* 803245DC 0032153C 7C 7E 1B 79 */ or. r30, r3, r3 -/* 803245E0 00321540 41 82 00 68 */ beq lbl_80324648 -/* 803245E4 00321544 3C 60 80 3F */ lis r3, lbl_803EDCD8@ha -/* 803245E8 00321548 38 03 DC D8 */ addi r0, r3, lbl_803EDCD8@l -/* 803245EC 0032154C 90 1E 00 00 */ stw r0, 0(r30) -/* 803245F0 00321550 80 7E 00 04 */ lwz r3, 4(r30) -/* 803245F4 00321554 28 03 00 00 */ cmplwi r3, 0 -/* 803245F8 00321558 41 82 00 18 */ beq lbl_80324610 -/* 803245FC 0032155C 81 83 00 00 */ lwz r12, 0(r3) -/* 80324600 00321560 38 80 00 01 */ li r4, 1 -/* 80324604 00321564 81 8C 00 08 */ lwz r12, 8(r12) -/* 80324608 00321568 7D 89 03 A6 */ mtctr r12 -/* 8032460C 0032156C 4E 80 04 21 */ bctrl -lbl_80324610: -/* 80324610 00321570 28 1E 00 00 */ cmplwi r30, 0 -/* 80324614 00321574 41 82 00 20 */ beq lbl_80324634 -/* 80324618 00321578 3C 60 80 3F */ lis r3, lbl_803EC5C8@ha -/* 8032461C 0032157C 38 03 C5 C8 */ addi r0, r3, lbl_803EC5C8@l -/* 80324620 00321580 90 1E 00 00 */ stw r0, 0(r30) -/* 80324624 00321584 41 82 00 10 */ beq lbl_80324634 -/* 80324628 00321588 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 8032462C 0032158C 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 80324630 00321590 90 1E 00 00 */ stw r0, 0(r30) -lbl_80324634: -/* 80324634 00321594 7F E0 07 35 */ extsh. r0, r31 -/* 80324638 00321598 40 81 00 10 */ ble lbl_80324648 -/* 8032463C 0032159C 7F C3 F3 78 */ mr r3, r30 -/* 80324640 003215A0 38 80 00 08 */ li r4, 8 -/* 80324644 003215A4 48 04 84 21 */ bl sub_8036ca64 -lbl_80324648: -/* 80324648 003215A8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8032464C 003215AC 7F C3 F3 78 */ mr r3, r30 -/* 80324650 003215B0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80324654 003215B4 83 C1 00 08 */ lwz r30, 8(r1) -/* 80324658 003215B8 7C 08 03 A6 */ mtlr r0 -/* 8032465C 003215BC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80324660 003215C0 4E 80 00 20 */ blr - -.global __ct__11CMVEGravityFP14CVectorElement -__ct__11CMVEGravityFP14CVectorElement: -/* 80324664 003215C4 3C E0 80 3F */ lis r7, lbl_803EC5A8@ha -/* 80324668 003215C8 3C C0 80 3F */ lis r6, lbl_803EC5C8@ha -/* 8032466C 003215CC 38 07 C5 A8 */ addi r0, r7, lbl_803EC5A8@l -/* 80324670 003215D0 3C A0 80 3F */ lis r5, lbl_803EDCD8@ha -/* 80324674 003215D4 90 03 00 00 */ stw r0, 0(r3) -/* 80324678 003215D8 38 C6 C5 C8 */ addi r6, r6, lbl_803EC5C8@l -/* 8032467C 003215DC 38 05 DC D8 */ addi r0, r5, lbl_803EDCD8@l -/* 80324680 003215E0 90 C3 00 00 */ stw r6, 0(r3) -/* 80324684 003215E4 90 03 00 00 */ stw r0, 0(r3) -/* 80324688 003215E8 90 83 00 04 */ stw r4, 4(r3) -/* 8032468C 003215EC 4E 80 00 20 */ blr - -.global GetValue__16CMVEFastConstantCFiR9CVector3fR9CVector3f -GetValue__16CMVEFastConstantCFiR9CVector3fR9CVector3f: -/* 80324690 003215F0 C0 03 00 04 */ lfs f0, 4(r3) -/* 80324694 003215F4 D0 05 00 00 */ stfs f0, 0(r5) -/* 80324698 003215F8 C0 03 00 08 */ lfs f0, 8(r3) -/* 8032469C 003215FC D0 05 00 04 */ stfs f0, 4(r5) -/* 803246A0 00321600 C0 03 00 0C */ lfs f0, 0xc(r3) -/* 803246A4 00321604 38 60 00 00 */ li r3, 0 -/* 803246A8 00321608 D0 05 00 08 */ stfs f0, 8(r5) -/* 803246AC 0032160C 4E 80 00 20 */ blr - -.global __dt__16CMVEFastConstantFv -__dt__16CMVEFastConstantFv: -/* 803246B0 00321610 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803246B4 00321614 7C 08 02 A6 */ mflr r0 -/* 803246B8 00321618 90 01 00 14 */ stw r0, 0x14(r1) -/* 803246BC 0032161C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 803246C0 00321620 7C 7F 1B 79 */ or. r31, r3, r3 -/* 803246C4 00321624 41 82 00 44 */ beq lbl_80324708 -/* 803246C8 00321628 3C 60 80 3F */ lis r3, lbl_803EDCE8@ha -/* 803246CC 0032162C 38 03 DC E8 */ addi r0, r3, lbl_803EDCE8@l -/* 803246D0 00321630 90 1F 00 00 */ stw r0, 0(r31) -/* 803246D4 00321634 41 82 00 20 */ beq lbl_803246F4 -/* 803246D8 00321638 3C 60 80 3F */ lis r3, lbl_803EC5C8@ha -/* 803246DC 0032163C 38 03 C5 C8 */ addi r0, r3, lbl_803EC5C8@l -/* 803246E0 00321640 90 1F 00 00 */ stw r0, 0(r31) -/* 803246E4 00321644 41 82 00 10 */ beq lbl_803246F4 -/* 803246E8 00321648 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 803246EC 0032164C 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 803246F0 00321650 90 1F 00 00 */ stw r0, 0(r31) -lbl_803246F4: -/* 803246F4 00321654 7C 80 07 35 */ extsh. r0, r4 -/* 803246F8 00321658 40 81 00 10 */ ble lbl_80324708 -/* 803246FC 0032165C 7F E3 FB 78 */ mr r3, r31 -/* 80324700 00321660 38 80 00 10 */ li r4, 0x10 -/* 80324704 00321664 48 04 83 61 */ bl sub_8036ca64 -lbl_80324708: -/* 80324708 00321668 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8032470C 0032166C 7F E3 FB 78 */ mr r3, r31 -/* 80324710 00321670 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80324714 00321674 7C 08 03 A6 */ mtlr r0 -/* 80324718 00321678 38 21 00 10 */ addi r1, r1, 0x10 -/* 8032471C 0032167C 4E 80 00 20 */ blr - -.global __ct__16CMVEFastConstantFfff -__ct__16CMVEFastConstantFfff: -/* 80324720 00321680 3C C0 80 3F */ lis r6, lbl_803EC5A8@ha -/* 80324724 00321684 3C A0 80 3F */ lis r5, lbl_803EC5C8@ha -/* 80324728 00321688 38 06 C5 A8 */ addi r0, r6, lbl_803EC5A8@l -/* 8032472C 0032168C 3C 80 80 3F */ lis r4, lbl_803EDCE8@ha -/* 80324730 00321690 90 03 00 00 */ stw r0, 0(r3) -/* 80324734 00321694 38 A5 C5 C8 */ addi r5, r5, lbl_803EC5C8@l -/* 80324738 00321698 38 04 DC E8 */ addi r0, r4, lbl_803EDCE8@l -/* 8032473C 0032169C 90 A3 00 00 */ stw r5, 0(r3) -/* 80324740 003216A0 90 03 00 00 */ stw r0, 0(r3) -/* 80324744 003216A4 D0 23 00 04 */ stfs f1, 4(r3) -/* 80324748 003216A8 D0 43 00 08 */ stfs f2, 8(r3) -/* 8032474C 003216AC D0 63 00 0C */ stfs f3, 0xc(r3) -/* 80324750 003216B0 4E 80 00 20 */ blr - -.global GetValue__12CMVEConstantCFiR9CVector3fR9CVector3f -GetValue__12CMVEConstantCFiR9CVector3fR9CVector3f: -/* 80324754 003216B4 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80324758 003216B8 7C 08 02 A6 */ mflr r0 -/* 8032475C 003216BC 90 01 00 34 */ stw r0, 0x34(r1) -/* 80324760 003216C0 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80324764 003216C4 7C BF 2B 78 */ mr r31, r5 -/* 80324768 003216C8 38 A1 00 10 */ addi r5, r1, 0x10 -/* 8032476C 003216CC 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80324770 003216D0 7C 9E 23 78 */ mr r30, r4 -/* 80324774 003216D4 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80324778 003216D8 7C 7D 1B 78 */ mr r29, r3 -/* 8032477C 003216DC 80 63 00 04 */ lwz r3, 4(r3) -/* 80324780 003216E0 81 83 00 00 */ lwz r12, 0(r3) -/* 80324784 003216E4 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80324788 003216E8 7D 89 03 A6 */ mtctr r12 -/* 8032478C 003216EC 4E 80 04 21 */ bctrl -/* 80324790 003216F0 80 7D 00 08 */ lwz r3, 8(r29) -/* 80324794 003216F4 7F C4 F3 78 */ mr r4, r30 -/* 80324798 003216F8 38 A1 00 0C */ addi r5, r1, 0xc -/* 8032479C 003216FC 81 83 00 00 */ lwz r12, 0(r3) -/* 803247A0 00321700 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 803247A4 00321704 7D 89 03 A6 */ mtctr r12 -/* 803247A8 00321708 4E 80 04 21 */ bctrl -/* 803247AC 0032170C 80 7D 00 0C */ lwz r3, 0xc(r29) -/* 803247B0 00321710 7F C4 F3 78 */ mr r4, r30 -/* 803247B4 00321714 38 A1 00 08 */ addi r5, r1, 8 -/* 803247B8 00321718 81 83 00 00 */ lwz r12, 0(r3) -/* 803247BC 0032171C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 803247C0 00321720 7D 89 03 A6 */ mtctr r12 -/* 803247C4 00321724 4E 80 04 21 */ bctrl -/* 803247C8 00321728 C0 41 00 08 */ lfs f2, 8(r1) -/* 803247CC 0032172C 38 60 00 00 */ li r3, 0 -/* 803247D0 00321730 C0 21 00 0C */ lfs f1, 0xc(r1) -/* 803247D4 00321734 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 803247D8 00321738 D0 1F 00 00 */ stfs f0, 0(r31) -/* 803247DC 0032173C D0 3F 00 04 */ stfs f1, 4(r31) -/* 803247E0 00321740 D0 5F 00 08 */ stfs f2, 8(r31) -/* 803247E4 00321744 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 803247E8 00321748 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 803247EC 0032174C 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 803247F0 00321750 80 01 00 34 */ lwz r0, 0x34(r1) -/* 803247F4 00321754 7C 08 03 A6 */ mtlr r0 -/* 803247F8 00321758 38 21 00 30 */ addi r1, r1, 0x30 -/* 803247FC 0032175C 4E 80 00 20 */ blr - -.global __dt__12CMVEConstantFv -__dt__12CMVEConstantFv: -/* 80324800 00321760 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80324804 00321764 7C 08 02 A6 */ mflr r0 -/* 80324808 00321768 90 01 00 14 */ stw r0, 0x14(r1) -/* 8032480C 0032176C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80324810 00321770 7C 9F 23 78 */ mr r31, r4 -/* 80324814 00321774 93 C1 00 08 */ stw r30, 8(r1) -/* 80324818 00321778 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8032481C 0032177C 41 82 00 A8 */ beq lbl_803248C4 -/* 80324820 00321780 3C 60 80 3F */ lis r3, lbl_803EDCF8@ha -/* 80324824 00321784 38 03 DC F8 */ addi r0, r3, lbl_803EDCF8@l -/* 80324828 00321788 90 1E 00 00 */ stw r0, 0(r30) -/* 8032482C 0032178C 80 7E 00 04 */ lwz r3, 4(r30) -/* 80324830 00321790 28 03 00 00 */ cmplwi r3, 0 -/* 80324834 00321794 41 82 00 18 */ beq lbl_8032484C -/* 80324838 00321798 81 83 00 00 */ lwz r12, 0(r3) -/* 8032483C 0032179C 38 80 00 01 */ li r4, 1 -/* 80324840 003217A0 81 8C 00 08 */ lwz r12, 8(r12) -/* 80324844 003217A4 7D 89 03 A6 */ mtctr r12 -/* 80324848 003217A8 4E 80 04 21 */ bctrl -lbl_8032484C: -/* 8032484C 003217AC 80 7E 00 08 */ lwz r3, 8(r30) -/* 80324850 003217B0 28 03 00 00 */ cmplwi r3, 0 -/* 80324854 003217B4 41 82 00 18 */ beq lbl_8032486C -/* 80324858 003217B8 81 83 00 00 */ lwz r12, 0(r3) -/* 8032485C 003217BC 38 80 00 01 */ li r4, 1 -/* 80324860 003217C0 81 8C 00 08 */ lwz r12, 8(r12) -/* 80324864 003217C4 7D 89 03 A6 */ mtctr r12 -/* 80324868 003217C8 4E 80 04 21 */ bctrl -lbl_8032486C: -/* 8032486C 003217CC 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 80324870 003217D0 28 03 00 00 */ cmplwi r3, 0 -/* 80324874 003217D4 41 82 00 18 */ beq lbl_8032488C -/* 80324878 003217D8 81 83 00 00 */ lwz r12, 0(r3) -/* 8032487C 003217DC 38 80 00 01 */ li r4, 1 -/* 80324880 003217E0 81 8C 00 08 */ lwz r12, 8(r12) -/* 80324884 003217E4 7D 89 03 A6 */ mtctr r12 -/* 80324888 003217E8 4E 80 04 21 */ bctrl -lbl_8032488C: -/* 8032488C 003217EC 28 1E 00 00 */ cmplwi r30, 0 -/* 80324890 003217F0 41 82 00 20 */ beq lbl_803248B0 -/* 80324894 003217F4 3C 60 80 3F */ lis r3, lbl_803EC5C8@ha -/* 80324898 003217F8 38 03 C5 C8 */ addi r0, r3, lbl_803EC5C8@l -/* 8032489C 003217FC 90 1E 00 00 */ stw r0, 0(r30) -/* 803248A0 00321800 41 82 00 10 */ beq lbl_803248B0 -/* 803248A4 00321804 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 803248A8 00321808 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 803248AC 0032180C 90 1E 00 00 */ stw r0, 0(r30) -lbl_803248B0: -/* 803248B0 00321810 7F E0 07 35 */ extsh. r0, r31 -/* 803248B4 00321814 40 81 00 10 */ ble lbl_803248C4 -/* 803248B8 00321818 7F C3 F3 78 */ mr r3, r30 -/* 803248BC 0032181C 38 80 00 10 */ li r4, 0x10 -/* 803248C0 00321820 48 04 81 A5 */ bl sub_8036ca64 -lbl_803248C4: -/* 803248C4 00321824 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803248C8 00321828 7F C3 F3 78 */ mr r3, r30 -/* 803248CC 0032182C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 803248D0 00321830 83 C1 00 08 */ lwz r30, 8(r1) -/* 803248D4 00321834 7C 08 03 A6 */ mtlr r0 -/* 803248D8 00321838 38 21 00 10 */ addi r1, r1, 0x10 -/* 803248DC 0032183C 4E 80 00 20 */ blr - -.global __ct__12CMVEConstantFP12CRealElementP12CRealElementP12CRealElement -__ct__12CMVEConstantFP12CRealElementP12CRealElementP12CRealElement: -/* 803248E0 00321840 3D 20 80 3F */ lis r9, lbl_803EC5A8@ha -/* 803248E4 00321844 3D 00 80 3F */ lis r8, lbl_803EC5C8@ha -/* 803248E8 00321848 38 09 C5 A8 */ addi r0, r9, lbl_803EC5A8@l -/* 803248EC 0032184C 3C E0 80 3F */ lis r7, lbl_803EDCF8@ha -/* 803248F0 00321850 90 03 00 00 */ stw r0, 0(r3) -/* 803248F4 00321854 39 08 C5 C8 */ addi r8, r8, lbl_803EC5C8@l -/* 803248F8 00321858 38 07 DC F8 */ addi r0, r7, lbl_803EDCF8@l -/* 803248FC 0032185C 91 03 00 00 */ stw r8, 0(r3) -/* 80324900 00321860 90 03 00 00 */ stw r0, 0(r3) -/* 80324904 00321864 90 83 00 04 */ stw r4, 4(r3) -/* 80324908 00321868 90 A3 00 08 */ stw r5, 8(r3) -/* 8032490C 0032186C 90 C3 00 0C */ stw r6, 0xc(r3) -/* 80324910 00321870 4E 80 00 20 */ blr - -.global CreateTexture__Fi -CreateTexture__Fi: -/* 80324914 00321874 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80324918 00321878 7C 08 02 A6 */ mflr r0 -/* 8032491C 0032187C 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 80324920 00321880 38 A0 00 00 */ li r5, 0 -/* 80324924 00321884 90 01 00 14 */ stw r0, 0x14(r1) -/* 80324928 00321888 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 8032492C 0032188C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80324930 00321890 93 C1 00 08 */ stw r30, 8(r1) -/* 80324934 00321894 7C 7E 1B 78 */ mr r30, r3 -/* 80324938 00321898 38 60 00 68 */ li r3, 0x68 -/* 8032493C 0032189C 4B FF 0F 31 */ bl __nw__FUlPCcPCc -/* 80324940 003218A0 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80324944 003218A4 41 82 00 1C */ beq lbl_80324960 -/* 80324948 003218A8 38 80 00 09 */ li r4, 9 -/* 8032494C 003218AC 38 A0 00 04 */ li r5, 4 -/* 80324950 003218B0 38 C0 00 04 */ li r6, 4 -/* 80324954 003218B4 38 E0 00 01 */ li r7, 1 -/* 80324958 003218B8 4B FE B4 D5 */ bl __ct__8CTextureF12ETexelFormatssi -/* 8032495C 003218BC 7C 7F 1B 78 */ mr r31, r3 -lbl_80324960: -/* 80324960 003218C0 88 1F 00 0A */ lbz r0, 0xa(r31) -/* 80324964 003218C4 38 60 00 01 */ li r3, 1 -/* 80324968 003218C8 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 8032496C 003218CC 7F E3 FB 78 */ mr r3, r31 -/* 80324970 003218D0 98 1F 00 0A */ stb r0, 0xa(r31) -/* 80324974 003218D4 38 80 00 00 */ li r4, 0 -/* 80324978 003218D8 4B FE 9C 5D */ bl GetBitMapData__8CTextureFi -/* 8032497C 003218DC 93 C3 00 00 */ stw r30, 0(r3) -/* 80324980 003218E0 93 C3 00 04 */ stw r30, 4(r3) -/* 80324984 003218E4 93 C3 00 08 */ stw r30, 8(r3) -/* 80324988 003218E8 93 C3 00 0C */ stw r30, 0xc(r3) -/* 8032498C 003218EC 93 C3 00 10 */ stw r30, 0x10(r3) -/* 80324990 003218F0 93 C3 00 14 */ stw r30, 0x14(r3) -/* 80324994 003218F4 93 C3 00 18 */ stw r30, 0x18(r3) -/* 80324998 003218F8 93 C3 00 1C */ stw r30, 0x1c(r3) -/* 8032499C 003218FC 93 C3 00 20 */ stw r30, 0x20(r3) -/* 803249A0 00321900 93 C3 00 24 */ stw r30, 0x24(r3) -/* 803249A4 00321904 93 C3 00 28 */ stw r30, 0x28(r3) -/* 803249A8 00321908 93 C3 00 2C */ stw r30, 0x2c(r3) -/* 803249AC 0032190C 93 C3 00 30 */ stw r30, 0x30(r3) -/* 803249B0 00321910 93 C3 00 34 */ stw r30, 0x34(r3) -/* 803249B4 00321914 93 C3 00 38 */ stw r30, 0x38(r3) -/* 803249B8 00321918 93 C3 00 3C */ stw r30, 0x3c(r3) -/* 803249BC 0032191C 7F E3 FB 78 */ mr r3, r31 -/* 803249C0 00321920 4B FE 9F 5D */ bl UnLock__8CTextureFv -/* 803249C4 00321924 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803249C8 00321928 7F E3 FB 78 */ mr r3, r31 -/* 803249CC 0032192C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 803249D0 00321930 83 C1 00 08 */ lwz r30, 8(r1) -/* 803249D4 00321934 7C 08 03 A6 */ mtlr r0 -/* 803249D8 00321938 38 21 00 10 */ addi r1, r1, 0x10 -/* 803249DC 0032193C 4E 80 00 20 */ blr - -.global GetModel__20CParticleDataFactoryFR12CInputStreamP11CSimplePool -GetModel__20CParticleDataFactoryFR12CInputStreamP11CSimplePool: -/* 803249E0 00321940 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 803249E4 00321944 7C 08 02 A6 */ mflr r0 -/* 803249E8 00321948 90 01 00 34 */ stw r0, 0x34(r1) -/* 803249EC 0032194C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 803249F0 00321950 7C BF 2B 78 */ mr r31, r5 -/* 803249F4 00321954 93 C1 00 28 */ stw r30, 0x28(r1) -/* 803249F8 00321958 7C 9E 23 78 */ mr r30, r4 -/* 803249FC 0032195C 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80324A00 00321960 7C 7D 1B 78 */ mr r29, r3 -/* 80324A04 00321964 7F C3 F3 78 */ mr r3, r30 -/* 80324A08 00321968 48 00 3A 55 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream -/* 80324A0C 0032196C 3C 03 B1 B1 */ addis r0, r3, 0xb1b1 -/* 80324A10 00321970 28 00 4E 45 */ cmplwi r0, 0x4e45 -/* 80324A14 00321974 41 82 00 10 */ beq lbl_80324A24 -/* 80324A18 00321978 7F C3 F3 78 */ mr r3, r30 -/* 80324A1C 0032197C 48 01 A2 69 */ bl ReadLong__12CInputStreamFv -/* 80324A20 00321980 48 00 00 10 */ b lbl_80324A30 -lbl_80324A24: -/* 80324A24 00321984 38 00 00 00 */ li r0, 0 -/* 80324A28 00321988 98 1D 00 08 */ stb r0, 8(r29) -/* 80324A2C 0032198C 48 00 00 84 */ b lbl_80324AB0 -lbl_80324A30: -/* 80324A30 00321990 28 03 00 00 */ cmplwi r3, 0 -/* 80324A34 00321994 40 82 00 10 */ bne lbl_80324A44 -/* 80324A38 00321998 38 00 00 00 */ li r0, 0 -/* 80324A3C 0032199C 98 1D 00 08 */ stb r0, 8(r29) -/* 80324A40 003219A0 48 00 00 70 */ b lbl_80324AB0 -lbl_80324A44: -/* 80324A44 003219A4 3C 80 43 4D */ lis r4, 0x434D444C@ha -/* 80324A48 003219A8 90 61 00 1C */ stw r3, 0x1c(r1) -/* 80324A4C 003219AC 38 04 44 4C */ addi r0, r4, 0x434D444C@l -/* 80324A50 003219B0 7F E4 FB 78 */ mr r4, r31 -/* 80324A54 003219B4 90 01 00 18 */ stw r0, 0x18(r1) -/* 80324A58 003219B8 38 61 00 10 */ addi r3, r1, 0x10 -/* 80324A5C 003219BC 38 A1 00 18 */ addi r5, r1, 0x18 -/* 80324A60 003219C0 81 9F 00 00 */ lwz r12, 0(r31) -/* 80324A64 003219C4 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80324A68 003219C8 7D 89 03 A6 */ mtctr r12 -/* 80324A6C 003219CC 4E 80 04 21 */ bctrl -/* 80324A70 003219D0 38 61 00 08 */ addi r3, r1, 8 -/* 80324A74 003219D4 38 81 00 10 */ addi r4, r1, 0x10 -/* 80324A78 003219D8 48 01 C4 31 */ bl __ct__6CTokenFRC6CToken -/* 80324A7C 003219DC 38 00 00 01 */ li r0, 1 -/* 80324A80 003219E0 28 1D 00 00 */ cmplwi r29, 0 -/* 80324A84 003219E4 98 1D 00 08 */ stb r0, 8(r29) -/* 80324A88 003219E8 41 82 00 10 */ beq lbl_80324A98 -/* 80324A8C 003219EC 7F A3 EB 78 */ mr r3, r29 -/* 80324A90 003219F0 38 81 00 08 */ addi r4, r1, 8 -/* 80324A94 003219F4 48 01 C4 15 */ bl __ct__6CTokenFRC6CToken -lbl_80324A98: -/* 80324A98 003219F8 38 61 00 08 */ addi r3, r1, 8 -/* 80324A9C 003219FC 38 80 00 00 */ li r4, 0 -/* 80324AA0 00321A00 48 01 C3 A1 */ bl __dt__6CTokenFv -/* 80324AA4 00321A04 38 61 00 10 */ addi r3, r1, 0x10 -/* 80324AA8 00321A08 38 80 FF FF */ li r4, -1 -/* 80324AAC 00321A0C 48 01 C3 95 */ bl __dt__6CTokenFv -lbl_80324AB0: -/* 80324AB0 00321A10 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80324AB4 00321A14 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80324AB8 00321A18 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80324ABC 00321A1C 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80324AC0 00321A20 7C 08 03 A6 */ mtlr r0 -/* 80324AC4 00321A24 38 21 00 30 */ addi r1, r1, 0x30 -/* 80324AC8 00321A28 4E 80 00 20 */ blr - -.global GetElectricGeneratorDesc__20CParticleDataFactoryFR12CInputStreamP11CSimplePool -GetElectricGeneratorDesc__20CParticleDataFactoryFR12CInputStreamP11CSimplePool: -/* 80324ACC 00321A2C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80324AD0 00321A30 7C 08 02 A6 */ mflr r0 -/* 80324AD4 00321A34 90 01 00 34 */ stw r0, 0x34(r1) -/* 80324AD8 00321A38 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80324ADC 00321A3C 7C BF 2B 78 */ mr r31, r5 -/* 80324AE0 00321A40 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80324AE4 00321A44 7C 9E 23 78 */ mr r30, r4 -/* 80324AE8 00321A48 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80324AEC 00321A4C 7C 7D 1B 78 */ mr r29, r3 -/* 80324AF0 00321A50 7F C3 F3 78 */ mr r3, r30 -/* 80324AF4 00321A54 48 00 39 69 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream -/* 80324AF8 00321A58 3C 03 B1 B1 */ addis r0, r3, 0xb1b1 -/* 80324AFC 00321A5C 28 00 4E 45 */ cmplwi r0, 0x4e45 -/* 80324B00 00321A60 41 82 00 10 */ beq lbl_80324B10 -/* 80324B04 00321A64 7F C3 F3 78 */ mr r3, r30 -/* 80324B08 00321A68 48 01 A1 7D */ bl ReadLong__12CInputStreamFv -/* 80324B0C 00321A6C 48 00 00 10 */ b lbl_80324B1C -lbl_80324B10: -/* 80324B10 00321A70 38 00 00 00 */ li r0, 0 -/* 80324B14 00321A74 98 1D 00 08 */ stb r0, 8(r29) -/* 80324B18 00321A78 48 00 00 84 */ b lbl_80324B9C -lbl_80324B1C: -/* 80324B1C 00321A7C 28 03 00 00 */ cmplwi r3, 0 -/* 80324B20 00321A80 40 82 00 10 */ bne lbl_80324B30 -/* 80324B24 00321A84 38 00 00 00 */ li r0, 0 -/* 80324B28 00321A88 98 1D 00 08 */ stb r0, 8(r29) -/* 80324B2C 00321A8C 48 00 00 70 */ b lbl_80324B9C -lbl_80324B30: -/* 80324B30 00321A90 3C 80 45 4C */ lis r4, 0x454C5343@ha -/* 80324B34 00321A94 90 61 00 1C */ stw r3, 0x1c(r1) -/* 80324B38 00321A98 38 04 53 43 */ addi r0, r4, 0x454C5343@l -/* 80324B3C 00321A9C 7F E4 FB 78 */ mr r4, r31 -/* 80324B40 00321AA0 90 01 00 18 */ stw r0, 0x18(r1) -/* 80324B44 00321AA4 38 61 00 10 */ addi r3, r1, 0x10 -/* 80324B48 00321AA8 38 A1 00 18 */ addi r5, r1, 0x18 -/* 80324B4C 00321AAC 81 9F 00 00 */ lwz r12, 0(r31) -/* 80324B50 00321AB0 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80324B54 00321AB4 7D 89 03 A6 */ mtctr r12 -/* 80324B58 00321AB8 4E 80 04 21 */ bctrl -/* 80324B5C 00321ABC 38 61 00 08 */ addi r3, r1, 8 -/* 80324B60 00321AC0 38 81 00 10 */ addi r4, r1, 0x10 -/* 80324B64 00321AC4 48 01 C3 45 */ bl __ct__6CTokenFRC6CToken -/* 80324B68 00321AC8 38 00 00 01 */ li r0, 1 -/* 80324B6C 00321ACC 28 1D 00 00 */ cmplwi r29, 0 -/* 80324B70 00321AD0 98 1D 00 08 */ stb r0, 8(r29) -/* 80324B74 00321AD4 41 82 00 10 */ beq lbl_80324B84 -/* 80324B78 00321AD8 7F A3 EB 78 */ mr r3, r29 -/* 80324B7C 00321ADC 38 81 00 08 */ addi r4, r1, 8 -/* 80324B80 00321AE0 48 01 C3 29 */ bl __ct__6CTokenFRC6CToken -lbl_80324B84: -/* 80324B84 00321AE4 38 61 00 08 */ addi r3, r1, 8 -/* 80324B88 00321AE8 38 80 00 00 */ li r4, 0 -/* 80324B8C 00321AEC 48 01 C2 B5 */ bl __dt__6CTokenFv -/* 80324B90 00321AF0 38 61 00 10 */ addi r3, r1, 0x10 -/* 80324B94 00321AF4 38 80 FF FF */ li r4, -1 -/* 80324B98 00321AF8 48 01 C2 A9 */ bl __dt__6CTokenFv -lbl_80324B9C: -/* 80324B9C 00321AFC 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80324BA0 00321B00 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80324BA4 00321B04 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80324BA8 00321B08 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80324BAC 00321B0C 7C 08 03 A6 */ mtlr r0 -/* 80324BB0 00321B10 38 21 00 30 */ addi r1, r1, 0x30 -/* 80324BB4 00321B14 4E 80 00 20 */ blr - -.global GetSwooshGeneratorDesc__20CParticleDataFactoryFR12CInputStreamP11CSimplePool -GetSwooshGeneratorDesc__20CParticleDataFactoryFR12CInputStreamP11CSimplePool: -/* 80324BB8 00321B18 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80324BBC 00321B1C 7C 08 02 A6 */ mflr r0 -/* 80324BC0 00321B20 90 01 00 34 */ stw r0, 0x34(r1) -/* 80324BC4 00321B24 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80324BC8 00321B28 7C BF 2B 78 */ mr r31, r5 -/* 80324BCC 00321B2C 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80324BD0 00321B30 7C 9E 23 78 */ mr r30, r4 -/* 80324BD4 00321B34 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80324BD8 00321B38 7C 7D 1B 78 */ mr r29, r3 -/* 80324BDC 00321B3C 7F C3 F3 78 */ mr r3, r30 -/* 80324BE0 00321B40 48 00 38 7D */ bl GetClassID__20CParticleDataFactoryFR12CInputStream -/* 80324BE4 00321B44 3C 03 B1 B1 */ addis r0, r3, 0xb1b1 -/* 80324BE8 00321B48 28 00 4E 45 */ cmplwi r0, 0x4e45 -/* 80324BEC 00321B4C 41 82 00 10 */ beq lbl_80324BFC -/* 80324BF0 00321B50 7F C3 F3 78 */ mr r3, r30 -/* 80324BF4 00321B54 48 01 A0 91 */ bl ReadLong__12CInputStreamFv -/* 80324BF8 00321B58 48 00 00 10 */ b lbl_80324C08 -lbl_80324BFC: -/* 80324BFC 00321B5C 38 00 00 00 */ li r0, 0 -/* 80324C00 00321B60 98 1D 00 08 */ stb r0, 8(r29) -/* 80324C04 00321B64 48 00 00 84 */ b lbl_80324C88 -lbl_80324C08: -/* 80324C08 00321B68 28 03 00 00 */ cmplwi r3, 0 -/* 80324C0C 00321B6C 40 82 00 10 */ bne lbl_80324C1C -/* 80324C10 00321B70 38 00 00 00 */ li r0, 0 -/* 80324C14 00321B74 98 1D 00 08 */ stb r0, 8(r29) -/* 80324C18 00321B78 48 00 00 70 */ b lbl_80324C88 -lbl_80324C1C: -/* 80324C1C 00321B7C 3C 80 53 57 */ lis r4, 0x53574843@ha -/* 80324C20 00321B80 90 61 00 1C */ stw r3, 0x1c(r1) -/* 80324C24 00321B84 38 04 48 43 */ addi r0, r4, 0x53574843@l -/* 80324C28 00321B88 7F E4 FB 78 */ mr r4, r31 -/* 80324C2C 00321B8C 90 01 00 18 */ stw r0, 0x18(r1) -/* 80324C30 00321B90 38 61 00 10 */ addi r3, r1, 0x10 -/* 80324C34 00321B94 38 A1 00 18 */ addi r5, r1, 0x18 -/* 80324C38 00321B98 81 9F 00 00 */ lwz r12, 0(r31) -/* 80324C3C 00321B9C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80324C40 00321BA0 7D 89 03 A6 */ mtctr r12 -/* 80324C44 00321BA4 4E 80 04 21 */ bctrl -/* 80324C48 00321BA8 38 61 00 08 */ addi r3, r1, 8 -/* 80324C4C 00321BAC 38 81 00 10 */ addi r4, r1, 0x10 -/* 80324C50 00321BB0 48 01 C2 59 */ bl __ct__6CTokenFRC6CToken -/* 80324C54 00321BB4 38 00 00 01 */ li r0, 1 -/* 80324C58 00321BB8 28 1D 00 00 */ cmplwi r29, 0 -/* 80324C5C 00321BBC 98 1D 00 08 */ stb r0, 8(r29) -/* 80324C60 00321BC0 41 82 00 10 */ beq lbl_80324C70 -/* 80324C64 00321BC4 7F A3 EB 78 */ mr r3, r29 -/* 80324C68 00321BC8 38 81 00 08 */ addi r4, r1, 8 -/* 80324C6C 00321BCC 48 01 C2 3D */ bl __ct__6CTokenFRC6CToken -lbl_80324C70: -/* 80324C70 00321BD0 38 61 00 08 */ addi r3, r1, 8 -/* 80324C74 00321BD4 38 80 00 00 */ li r4, 0 -/* 80324C78 00321BD8 48 01 C1 C9 */ bl __dt__6CTokenFv -/* 80324C7C 00321BDC 38 61 00 10 */ addi r3, r1, 0x10 -/* 80324C80 00321BE0 38 80 FF FF */ li r4, -1 -/* 80324C84 00321BE4 48 01 C1 BD */ bl __dt__6CTokenFv -lbl_80324C88: -/* 80324C88 00321BE8 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80324C8C 00321BEC 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80324C90 00321BF0 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80324C94 00321BF4 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80324C98 00321BF8 7C 08 03 A6 */ mtlr r0 -/* 80324C9C 00321BFC 38 21 00 30 */ addi r1, r1, 0x30 -/* 80324CA0 00321C00 4E 80 00 20 */ blr - -.global "GetChildGeneratorDesc__20CParticleDataFactoryFUiP11CSimplePoolRCQ24rstl37vector" -"GetChildGeneratorDesc__20CParticleDataFactoryFUiP11CSimplePoolRCQ24rstl37vector": -/* 80324CA4 00321C04 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80324CA8 00321C08 7C 08 02 A6 */ mflr r0 -/* 80324CAC 00321C0C 90 01 00 44 */ stw r0, 0x44(r1) -/* 80324CB0 00321C10 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 80324CB4 00321C14 7C BF 2B 78 */ mr r31, r5 -/* 80324CB8 00321C18 38 A1 00 08 */ addi r5, r1, 8 -/* 80324CBC 00321C1C 93 C1 00 38 */ stw r30, 0x38(r1) -/* 80324CC0 00321C20 7C 7E 1B 78 */ mr r30, r3 -/* 80324CC4 00321C24 38 61 00 18 */ addi r3, r1, 0x18 -/* 80324CC8 00321C28 80 06 00 04 */ lwz r0, 4(r6) -/* 80324CCC 00321C2C 80 C6 00 0C */ lwz r6, 0xc(r6) -/* 80324CD0 00321C30 54 00 10 3A */ slwi r0, r0, 2 -/* 80324CD4 00321C34 90 81 00 08 */ stw r4, 8(r1) -/* 80324CD8 00321C38 7C 06 02 14 */ add r0, r6, r0 -/* 80324CDC 00321C3C 38 81 00 10 */ addi r4, r1, 0x10 -/* 80324CE0 00321C40 90 01 00 0C */ stw r0, 0xc(r1) -/* 80324CE4 00321C44 90 01 00 10 */ stw r0, 0x10(r1) -/* 80324CE8 00321C48 90 C1 00 14 */ stw r6, 0x14(r1) -/* 80324CEC 00321C4C 90 C1 00 18 */ stw r6, 0x18(r1) -/* 80324CF0 00321C50 48 00 57 59 */ bl "count,Q24rstl17rmemory_allocator>,Ui>__4rstlFQ24rstl100const_pointer_iterator,Q24rstl17rmemory_allocator>Q24rstl100const_pointer_iterator,Q24rstl17rmemory_allocator>RCUi" -/* 80324CF4 00321C54 2C 03 00 00 */ cmpwi r3, 0 -/* 80324CF8 00321C58 40 82 00 78 */ bne lbl_80324D70 -/* 80324CFC 00321C5C 80 01 00 08 */ lwz r0, 8(r1) -/* 80324D00 00321C60 3C 60 50 41 */ lis r3, 0x50415254@ha -/* 80324D04 00321C64 38 63 52 54 */ addi r3, r3, 0x50415254@l -/* 80324D08 00321C68 7F E4 FB 78 */ mr r4, r31 -/* 80324D0C 00321C6C 90 61 00 2C */ stw r3, 0x2c(r1) -/* 80324D10 00321C70 38 61 00 24 */ addi r3, r1, 0x24 -/* 80324D14 00321C74 38 A1 00 2C */ addi r5, r1, 0x2c -/* 80324D18 00321C78 90 01 00 30 */ stw r0, 0x30(r1) -/* 80324D1C 00321C7C 81 9F 00 00 */ lwz r12, 0(r31) -/* 80324D20 00321C80 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80324D24 00321C84 7D 89 03 A6 */ mtctr r12 -/* 80324D28 00321C88 4E 80 04 21 */ bctrl -/* 80324D2C 00321C8C 38 61 00 1C */ addi r3, r1, 0x1c -/* 80324D30 00321C90 38 81 00 24 */ addi r4, r1, 0x24 -/* 80324D34 00321C94 48 01 C1 75 */ bl __ct__6CTokenFRC6CToken -/* 80324D38 00321C98 38 00 00 01 */ li r0, 1 -/* 80324D3C 00321C9C 28 1E 00 00 */ cmplwi r30, 0 -/* 80324D40 00321CA0 98 1E 00 08 */ stb r0, 8(r30) -/* 80324D44 00321CA4 41 82 00 10 */ beq lbl_80324D54 -/* 80324D48 00321CA8 7F C3 F3 78 */ mr r3, r30 -/* 80324D4C 00321CAC 38 81 00 1C */ addi r4, r1, 0x1c -/* 80324D50 00321CB0 48 01 C1 59 */ bl __ct__6CTokenFRC6CToken -lbl_80324D54: -/* 80324D54 00321CB4 38 61 00 1C */ addi r3, r1, 0x1c -/* 80324D58 00321CB8 38 80 00 00 */ li r4, 0 -/* 80324D5C 00321CBC 48 01 C0 E5 */ bl __dt__6CTokenFv -/* 80324D60 00321CC0 38 61 00 24 */ addi r3, r1, 0x24 -/* 80324D64 00321CC4 38 80 FF FF */ li r4, -1 -/* 80324D68 00321CC8 48 01 C0 D9 */ bl __dt__6CTokenFv -/* 80324D6C 00321CCC 48 00 00 0C */ b lbl_80324D78 -lbl_80324D70: -/* 80324D70 00321CD0 38 00 00 00 */ li r0, 0 -/* 80324D74 00321CD4 98 1E 00 08 */ stb r0, 8(r30) -lbl_80324D78: -/* 80324D78 00321CD8 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80324D7C 00321CDC 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 80324D80 00321CE0 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 80324D84 00321CE4 7C 08 03 A6 */ mtlr r0 -/* 80324D88 00321CE8 38 21 00 40 */ addi r1, r1, 0x40 -/* 80324D8C 00321CEC 4E 80 00 20 */ blr - -.global "GetChildGeneratorDesc__20CParticleDataFactoryFR12CInputStreamP11CSimplePoolRCQ24rstl37vector" -"GetChildGeneratorDesc__20CParticleDataFactoryFR12CInputStreamP11CSimplePoolRCQ24rstl37vector": -/* 80324D90 00321CF0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80324D94 00321CF4 7C 08 02 A6 */ mflr r0 -/* 80324D98 00321CF8 90 01 00 24 */ stw r0, 0x24(r1) -/* 80324D9C 00321CFC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80324DA0 00321D00 7C DF 33 78 */ mr r31, r6 -/* 80324DA4 00321D04 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80324DA8 00321D08 7C BE 2B 78 */ mr r30, r5 -/* 80324DAC 00321D0C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80324DB0 00321D10 7C 9D 23 78 */ mr r29, r4 -/* 80324DB4 00321D14 93 81 00 10 */ stw r28, 0x10(r1) -/* 80324DB8 00321D18 7C 7C 1B 78 */ mr r28, r3 -/* 80324DBC 00321D1C 7F A3 EB 78 */ mr r3, r29 -/* 80324DC0 00321D20 48 00 36 9D */ bl GetClassID__20CParticleDataFactoryFR12CInputStream -/* 80324DC4 00321D24 3C 03 B1 B1 */ addis r0, r3, 0xb1b1 -/* 80324DC8 00321D28 28 00 4E 45 */ cmplwi r0, 0x4e45 -/* 80324DCC 00321D2C 41 82 00 14 */ beq lbl_80324DE0 -/* 80324DD0 00321D30 7F A3 EB 78 */ mr r3, r29 -/* 80324DD4 00321D34 48 01 9E B1 */ bl ReadLong__12CInputStreamFv -/* 80324DD8 00321D38 7C 64 1B 78 */ mr r4, r3 -/* 80324DDC 00321D3C 48 00 00 10 */ b lbl_80324DEC -lbl_80324DE0: -/* 80324DE0 00321D40 38 00 00 00 */ li r0, 0 -/* 80324DE4 00321D44 98 1C 00 08 */ stb r0, 8(r28) -/* 80324DE8 00321D48 48 00 00 28 */ b lbl_80324E10 -lbl_80324DEC: -/* 80324DEC 00321D4C 28 04 00 00 */ cmplwi r4, 0 -/* 80324DF0 00321D50 40 82 00 10 */ bne lbl_80324E00 -/* 80324DF4 00321D54 38 00 00 00 */ li r0, 0 -/* 80324DF8 00321D58 98 1C 00 08 */ stb r0, 8(r28) -/* 80324DFC 00321D5C 48 00 00 14 */ b lbl_80324E10 -lbl_80324E00: -/* 80324E00 00321D60 7F 83 E3 78 */ mr r3, r28 -/* 80324E04 00321D64 7F C5 F3 78 */ mr r5, r30 -/* 80324E08 00321D68 7F E6 FB 78 */ mr r6, r31 -/* 80324E0C 00321D6C 4B FF FE 99 */ bl "GetChildGeneratorDesc__20CParticleDataFactoryFUiP11CSimplePoolRCQ24rstl37vector" -lbl_80324E10: -/* 80324E10 00321D70 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80324E14 00321D74 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80324E18 00321D78 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80324E1C 00321D7C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80324E20 00321D80 83 81 00 10 */ lwz r28, 0x10(r1) -/* 80324E24 00321D84 7C 08 03 A6 */ mtlr r0 -/* 80324E28 00321D88 38 21 00 20 */ addi r1, r1, 0x20 -/* 80324E2C 00321D8C 4E 80 00 20 */ blr - -.global GetTextureElement__20CParticleDataFactoryFR12CInputStreamP11CSimplePool -GetTextureElement__20CParticleDataFactoryFR12CInputStreamP11CSimplePool: -/* 80324E30 00321D90 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 80324E34 00321D94 7C 08 02 A6 */ mflr r0 -/* 80324E38 00321D98 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 80324E3C 00321D9C BF 01 00 80 */ stmw r24, 0x80(r1) -/* 80324E40 00321DA0 7C 7A 1B 78 */ mr r26, r3 -/* 80324E44 00321DA4 7C 99 23 78 */ mr r25, r4 -/* 80324E48 00321DA8 48 00 36 15 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream -/* 80324E4C 00321DAC 3C 80 43 4E */ lis r4, 0x434E5354@ha -/* 80324E50 00321DB0 38 04 53 54 */ addi r0, r4, 0x434E5354@l -/* 80324E54 00321DB4 7C 03 00 00 */ cmpw r3, r0 -/* 80324E58 00321DB8 41 82 00 38 */ beq lbl_80324E90 -/* 80324E5C 00321DBC 40 80 00 18 */ bge lbl_80324E74 -/* 80324E60 00321DC0 3C 80 41 54 */ lis r4, 0x41544558@ha -/* 80324E64 00321DC4 38 04 45 58 */ addi r0, r4, 0x41544558@l -/* 80324E68 00321DC8 7C 03 00 00 */ cmpw r3, r0 -/* 80324E6C 00321DCC 41 82 01 B4 */ beq lbl_80325020 -/* 80324E70 00321DD0 48 00 03 CC */ b lbl_8032523C -lbl_80324E74: -/* 80324E74 00321DD4 3C 80 4E 4F */ lis r4, 0x4E4F4E45@ha -/* 80324E78 00321DD8 38 04 4E 45 */ addi r0, r4, 0x4E4F4E45@l -/* 80324E7C 00321DDC 7C 03 00 00 */ cmpw r3, r0 -/* 80324E80 00321DE0 41 82 00 08 */ beq lbl_80324E88 -/* 80324E84 00321DE4 48 00 03 B8 */ b lbl_8032523C -lbl_80324E88: -/* 80324E88 00321DE8 3B 20 00 00 */ li r25, 0 -/* 80324E8C 00321DEC 48 00 03 B8 */ b lbl_80325244 -lbl_80324E90: -/* 80324E90 00321DF0 7F 43 D3 78 */ mr r3, r26 -/* 80324E94 00321DF4 3B 60 00 00 */ li r27, 0 -/* 80324E98 00321DF8 48 00 35 C5 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream -/* 80324E9C 00321DFC 3C 03 B1 B1 */ addis r0, r3, 0xb1b1 -/* 80324EA0 00321E00 28 00 4E 45 */ cmplwi r0, 0x4e45 -/* 80324EA4 00321E04 41 82 00 10 */ beq lbl_80324EB4 -/* 80324EA8 00321E08 7F 43 D3 78 */ mr r3, r26 -/* 80324EAC 00321E0C 48 01 9D D9 */ bl ReadLong__12CInputStreamFv -/* 80324EB0 00321E10 7C 7B 1B 78 */ mr r27, r3 -lbl_80324EB4: -/* 80324EB4 00321E14 28 1B 00 00 */ cmplwi r27, 0 -/* 80324EB8 00321E18 40 82 00 C0 */ bne lbl_80324F78 -/* 80324EBC 00321E1C 38 60 FF FF */ li r3, -1 -/* 80324EC0 00321E20 4B FF FA 55 */ bl CreateTexture__Fi -/* 80324EC4 00321E24 7C 64 1B 78 */ mr r4, r3 -/* 80324EC8 00321E28 3B 01 00 70 */ addi r24, r1, 0x70 -/* 80324ECC 00321E2C 38 61 00 10 */ addi r3, r1, 0x10 -/* 80324ED0 00321E30 4B CE 2B 5D */ bl "GetNewDerivedObject__35TObjOwnerDerivedFromIObj<8CTexture>FP8CTexture" -/* 80324ED4 00321E34 38 00 00 00 */ li r0, 0 -/* 80324ED8 00321E38 80 81 00 14 */ lwz r4, 0x14(r1) -/* 80324EDC 00321E3C 98 01 00 10 */ stb r0, 0x10(r1) -/* 80324EE0 00321E40 7F 03 C3 78 */ mr r3, r24 -/* 80324EE4 00321E44 48 01 C0 21 */ bl __ct__6CTokenFP4IObj -/* 80324EE8 00321E48 88 01 00 10 */ lbz r0, 0x10(r1) -/* 80324EEC 00321E4C 28 00 00 00 */ cmplwi r0, 0 -/* 80324EF0 00321E50 41 82 00 24 */ beq lbl_80324F14 -/* 80324EF4 00321E54 80 61 00 14 */ lwz r3, 0x14(r1) -/* 80324EF8 00321E58 28 03 00 00 */ cmplwi r3, 0 -/* 80324EFC 00321E5C 41 82 00 18 */ beq lbl_80324F14 -/* 80324F00 00321E60 81 83 00 00 */ lwz r12, 0(r3) -/* 80324F04 00321E64 38 80 00 01 */ li r4, 1 -/* 80324F08 00321E68 81 8C 00 08 */ lwz r12, 8(r12) -/* 80324F0C 00321E6C 7D 89 03 A6 */ mtctr r12 -/* 80324F10 00321E70 4E 80 04 21 */ bctrl -lbl_80324F14: -/* 80324F14 00321E74 3C 60 80 3D */ lis r3, lbl_803D7918@ha -/* 80324F18 00321E78 3B 00 00 00 */ li r24, 0 -/* 80324F1C 00321E7C 38 83 79 18 */ addi r4, r3, lbl_803D7918@l -/* 80324F20 00321E80 38 A0 00 00 */ li r5, 0 -/* 80324F24 00321E84 38 60 00 10 */ li r3, 0x10 -/* 80324F28 00321E88 48 04 7B 5D */ bl __nw__FUlPCcPCc_0 -/* 80324F2C 00321E8C 7C 79 1B 79 */ or. r25, r3, r3 -/* 80324F30 00321E90 41 82 00 24 */ beq lbl_80324F54 -/* 80324F34 00321E94 38 61 00 50 */ addi r3, r1, 0x50 -/* 80324F38 00321E98 38 81 00 70 */ addi r4, r1, 0x70 -/* 80324F3C 00321E9C 48 01 BF 6D */ bl __ct__6CTokenFRC6CToken -/* 80324F40 00321EA0 7F 23 CB 78 */ mr r3, r25 -/* 80324F44 00321EA4 38 81 00 50 */ addi r4, r1, 0x50 -/* 80324F48 00321EA8 3B 00 00 01 */ li r24, 1 -/* 80324F4C 00321EAC 48 00 F7 A1 */ bl "__ct__12CUVEConstantF17TToken<8CTexture>" -/* 80324F50 00321EB0 7C 79 1B 78 */ mr r25, r3 -lbl_80324F54: -/* 80324F54 00321EB4 7F 00 07 75 */ extsb. r0, r24 -/* 80324F58 00321EB8 41 82 00 10 */ beq lbl_80324F68 -/* 80324F5C 00321EBC 38 61 00 50 */ addi r3, r1, 0x50 -/* 80324F60 00321EC0 38 80 00 00 */ li r4, 0 -/* 80324F64 00321EC4 48 01 BE DD */ bl __dt__6CTokenFv -lbl_80324F68: -/* 80324F68 00321EC8 38 61 00 70 */ addi r3, r1, 0x70 -/* 80324F6C 00321ECC 38 80 00 00 */ li r4, 0 -/* 80324F70 00321ED0 48 01 BE D1 */ bl __dt__6CTokenFv -/* 80324F74 00321ED4 48 00 02 D0 */ b lbl_80325244 -lbl_80324F78: -/* 80324F78 00321ED8 3C 60 54 58 */ lis r3, 0x54585452@ha -/* 80324F7C 00321EDC 93 61 00 4C */ stw r27, 0x4c(r1) -/* 80324F80 00321EE0 38 03 54 52 */ addi r0, r3, 0x54585452@l -/* 80324F84 00321EE4 7F 24 CB 78 */ mr r4, r25 -/* 80324F88 00321EE8 90 01 00 48 */ stw r0, 0x48(r1) -/* 80324F8C 00321EEC 38 61 00 40 */ addi r3, r1, 0x40 -/* 80324F90 00321EF0 38 A1 00 48 */ addi r5, r1, 0x48 -/* 80324F94 00321EF4 81 99 00 00 */ lwz r12, 0(r25) -/* 80324F98 00321EF8 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80324F9C 00321EFC 7D 89 03 A6 */ mtctr r12 -/* 80324FA0 00321F00 4E 80 04 21 */ bctrl -/* 80324FA4 00321F04 38 61 00 68 */ addi r3, r1, 0x68 -/* 80324FA8 00321F08 38 81 00 40 */ addi r4, r1, 0x40 -/* 80324FAC 00321F0C 48 01 BE FD */ bl __ct__6CTokenFRC6CToken -/* 80324FB0 00321F10 38 61 00 40 */ addi r3, r1, 0x40 -/* 80324FB4 00321F14 38 80 FF FF */ li r4, -1 -/* 80324FB8 00321F18 48 01 BE 89 */ bl __dt__6CTokenFv -/* 80324FBC 00321F1C 3C 60 80 3D */ lis r3, lbl_803D7918@ha -/* 80324FC0 00321F20 3B 00 00 00 */ li r24, 0 -/* 80324FC4 00321F24 38 83 79 18 */ addi r4, r3, lbl_803D7918@l -/* 80324FC8 00321F28 38 A0 00 00 */ li r5, 0 -/* 80324FCC 00321F2C 38 60 00 10 */ li r3, 0x10 -/* 80324FD0 00321F30 48 04 7A B5 */ bl __nw__FUlPCcPCc_0 -/* 80324FD4 00321F34 7C 79 1B 79 */ or. r25, r3, r3 -/* 80324FD8 00321F38 41 82 00 24 */ beq lbl_80324FFC -/* 80324FDC 00321F3C 38 61 00 38 */ addi r3, r1, 0x38 -/* 80324FE0 00321F40 38 81 00 68 */ addi r4, r1, 0x68 -/* 80324FE4 00321F44 48 01 BE C5 */ bl __ct__6CTokenFRC6CToken -/* 80324FE8 00321F48 7F 23 CB 78 */ mr r3, r25 -/* 80324FEC 00321F4C 38 81 00 38 */ addi r4, r1, 0x38 -/* 80324FF0 00321F50 3B 00 00 01 */ li r24, 1 -/* 80324FF4 00321F54 48 00 F6 F9 */ bl "__ct__12CUVEConstantF17TToken<8CTexture>" -/* 80324FF8 00321F58 7C 79 1B 78 */ mr r25, r3 -lbl_80324FFC: -/* 80324FFC 00321F5C 7F 00 07 75 */ extsb. r0, r24 -/* 80325000 00321F60 41 82 00 10 */ beq lbl_80325010 -/* 80325004 00321F64 38 61 00 38 */ addi r3, r1, 0x38 -/* 80325008 00321F68 38 80 00 00 */ li r4, 0 -/* 8032500C 00321F6C 48 01 BE 35 */ bl __dt__6CTokenFv -lbl_80325010: -/* 80325010 00321F70 38 61 00 68 */ addi r3, r1, 0x68 -/* 80325014 00321F74 38 80 00 00 */ li r4, 0 -/* 80325018 00321F78 48 01 BE 29 */ bl __dt__6CTokenFv -/* 8032501C 00321F7C 48 00 02 28 */ b lbl_80325244 -lbl_80325020: -/* 80325020 00321F80 7F 43 D3 78 */ mr r3, r26 -/* 80325024 00321F84 3B 00 00 00 */ li r24, 0 -/* 80325028 00321F88 48 00 34 35 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream -/* 8032502C 00321F8C 3C 03 B1 B1 */ addis r0, r3, 0xb1b1 -/* 80325030 00321F90 28 00 4E 45 */ cmplwi r0, 0x4e45 -/* 80325034 00321F94 41 82 00 10 */ beq lbl_80325044 -/* 80325038 00321F98 7F 43 D3 78 */ mr r3, r26 -/* 8032503C 00321F9C 48 01 9C 49 */ bl ReadLong__12CInputStreamFv -/* 80325040 00321FA0 7C 78 1B 78 */ mr r24, r3 -lbl_80325044: -/* 80325044 00321FA4 7F 43 D3 78 */ mr r3, r26 -/* 80325048 00321FA8 48 00 2B 5D */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream -/* 8032504C 00321FAC 7C 60 1B 78 */ mr r0, r3 -/* 80325050 00321FB0 7F 43 D3 78 */ mr r3, r26 -/* 80325054 00321FB4 7C 1F 03 78 */ mr r31, r0 -/* 80325058 00321FB8 48 00 2B 4D */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream -/* 8032505C 00321FBC 7C 60 1B 78 */ mr r0, r3 -/* 80325060 00321FC0 7F 43 D3 78 */ mr r3, r26 -/* 80325064 00321FC4 7C 1E 03 78 */ mr r30, r0 -/* 80325068 00321FC8 48 00 2B 3D */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream -/* 8032506C 00321FCC 7C 60 1B 78 */ mr r0, r3 -/* 80325070 00321FD0 7F 43 D3 78 */ mr r3, r26 -/* 80325074 00321FD4 7C 1D 03 78 */ mr r29, r0 -/* 80325078 00321FD8 48 00 2B 2D */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream -/* 8032507C 00321FDC 7C 60 1B 78 */ mr r0, r3 -/* 80325080 00321FE0 7F 43 D3 78 */ mr r3, r26 -/* 80325084 00321FE4 7C 1C 03 78 */ mr r28, r0 -/* 80325088 00321FE8 48 00 2B 1D */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream -/* 8032508C 00321FEC 7C 60 1B 78 */ mr r0, r3 -/* 80325090 00321FF0 7F 43 D3 78 */ mr r3, r26 -/* 80325094 00321FF4 7C 1B 03 78 */ mr r27, r0 -/* 80325098 00321FF8 48 00 33 91 */ bl GetBool__20CParticleDataFactoryFR12CInputStream -/* 8032509C 00321FFC 28 18 00 00 */ cmplwi r24, 0 -/* 803250A0 00322000 7C 7A 1B 78 */ mr r26, r3 -/* 803250A4 00322004 40 82 00 D8 */ bne lbl_8032517C -/* 803250A8 00322008 38 60 FF FF */ li r3, -1 -/* 803250AC 0032200C 4B FF F8 69 */ bl CreateTexture__Fi -/* 803250B0 00322010 7C 64 1B 78 */ mr r4, r3 -/* 803250B4 00322014 3B 01 00 60 */ addi r24, r1, 0x60 -/* 803250B8 00322018 38 61 00 08 */ addi r3, r1, 8 -/* 803250BC 0032201C 4B CE 29 71 */ bl "GetNewDerivedObject__35TObjOwnerDerivedFromIObj<8CTexture>FP8CTexture" -/* 803250C0 00322020 38 00 00 00 */ li r0, 0 -/* 803250C4 00322024 80 81 00 0C */ lwz r4, 0xc(r1) -/* 803250C8 00322028 98 01 00 08 */ stb r0, 8(r1) -/* 803250CC 0032202C 7F 03 C3 78 */ mr r3, r24 -/* 803250D0 00322030 48 01 BE 35 */ bl __ct__6CTokenFP4IObj -/* 803250D4 00322034 88 01 00 08 */ lbz r0, 8(r1) -/* 803250D8 00322038 28 00 00 00 */ cmplwi r0, 0 -/* 803250DC 0032203C 41 82 00 24 */ beq lbl_80325100 -/* 803250E0 00322040 80 61 00 0C */ lwz r3, 0xc(r1) -/* 803250E4 00322044 28 03 00 00 */ cmplwi r3, 0 -/* 803250E8 00322048 41 82 00 18 */ beq lbl_80325100 -/* 803250EC 0032204C 81 83 00 00 */ lwz r12, 0(r3) -/* 803250F0 00322050 38 80 00 01 */ li r4, 1 -/* 803250F4 00322054 81 8C 00 08 */ lwz r12, 8(r12) -/* 803250F8 00322058 7D 89 03 A6 */ mtctr r12 -/* 803250FC 0032205C 4E 80 04 21 */ bctrl -lbl_80325100: -/* 80325100 00322060 3C 60 80 3D */ lis r3, lbl_803D7918@ha -/* 80325104 00322064 3B 00 00 00 */ li r24, 0 -/* 80325108 00322068 38 83 79 18 */ addi r4, r3, lbl_803D7918@l -/* 8032510C 0032206C 38 A0 00 00 */ li r5, 0 -/* 80325110 00322070 38 60 00 3C */ li r3, 0x3c -/* 80325114 00322074 48 04 79 71 */ bl __nw__FUlPCcPCc_0 -/* 80325118 00322078 7C 79 1B 79 */ or. r25, r3, r3 -/* 8032511C 0032207C 41 82 00 3C */ beq lbl_80325158 -/* 80325120 00322080 38 61 00 30 */ addi r3, r1, 0x30 -/* 80325124 00322084 38 81 00 60 */ addi r4, r1, 0x60 -/* 80325128 00322088 48 01 BD 81 */ bl __ct__6CTokenFRC6CToken -/* 8032512C 0032208C 7F 23 CB 78 */ mr r3, r25 -/* 80325130 00322090 7F E5 FB 78 */ mr r5, r31 -/* 80325134 00322094 7F C6 F3 78 */ mr r6, r30 -/* 80325138 00322098 7F A7 EB 78 */ mr r7, r29 -/* 8032513C 0032209C 7F 88 E3 78 */ mr r8, r28 -/* 80325140 003220A0 7F 69 DB 78 */ mr r9, r27 -/* 80325144 003220A4 7F 4A D3 78 */ mr r10, r26 -/* 80325148 003220A8 38 81 00 30 */ addi r4, r1, 0x30 -/* 8032514C 003220AC 3B 00 00 01 */ li r24, 1 -/* 80325150 003220B0 48 00 F1 05 */ bl "__ct__15CUVEAnimTextureF17TToken<8CTexture>P11CIntElementP11CIntElementP11CIntElementP11CIntElementP11CIntElementb" -/* 80325154 003220B4 7C 79 1B 78 */ mr r25, r3 -lbl_80325158: -/* 80325158 003220B8 7F 00 07 75 */ extsb. r0, r24 -/* 8032515C 003220BC 41 82 00 10 */ beq lbl_8032516C -/* 80325160 003220C0 38 61 00 30 */ addi r3, r1, 0x30 -/* 80325164 003220C4 38 80 00 00 */ li r4, 0 -/* 80325168 003220C8 48 01 BC D9 */ bl __dt__6CTokenFv -lbl_8032516C: -/* 8032516C 003220CC 38 61 00 60 */ addi r3, r1, 0x60 -/* 80325170 003220D0 38 80 00 00 */ li r4, 0 -/* 80325174 003220D4 48 01 BC CD */ bl __dt__6CTokenFv -/* 80325178 003220D8 48 00 00 CC */ b lbl_80325244 -lbl_8032517C: -/* 8032517C 003220DC 3C 60 54 58 */ lis r3, 0x54585452@ha -/* 80325180 003220E0 93 01 00 2C */ stw r24, 0x2c(r1) -/* 80325184 003220E4 38 03 54 52 */ addi r0, r3, 0x54585452@l -/* 80325188 003220E8 7F 24 CB 78 */ mr r4, r25 -/* 8032518C 003220EC 90 01 00 28 */ stw r0, 0x28(r1) -/* 80325190 003220F0 38 61 00 20 */ addi r3, r1, 0x20 -/* 80325194 003220F4 38 A1 00 28 */ addi r5, r1, 0x28 -/* 80325198 003220F8 81 99 00 00 */ lwz r12, 0(r25) -/* 8032519C 003220FC 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 803251A0 00322100 7D 89 03 A6 */ mtctr r12 -/* 803251A4 00322104 4E 80 04 21 */ bctrl -/* 803251A8 00322108 38 61 00 58 */ addi r3, r1, 0x58 -/* 803251AC 0032210C 38 81 00 20 */ addi r4, r1, 0x20 -/* 803251B0 00322110 48 01 BC F9 */ bl __ct__6CTokenFRC6CToken -/* 803251B4 00322114 38 61 00 20 */ addi r3, r1, 0x20 -/* 803251B8 00322118 38 80 FF FF */ li r4, -1 -/* 803251BC 0032211C 48 01 BC 85 */ bl __dt__6CTokenFv -/* 803251C0 00322120 3C 60 80 3D */ lis r3, lbl_803D7918@ha -/* 803251C4 00322124 3B 00 00 00 */ li r24, 0 -/* 803251C8 00322128 38 83 79 18 */ addi r4, r3, lbl_803D7918@l -/* 803251CC 0032212C 38 A0 00 00 */ li r5, 0 -/* 803251D0 00322130 38 60 00 3C */ li r3, 0x3c -/* 803251D4 00322134 48 04 78 B1 */ bl __nw__FUlPCcPCc_0 -/* 803251D8 00322138 7C 79 1B 79 */ or. r25, r3, r3 -/* 803251DC 0032213C 41 82 00 3C */ beq lbl_80325218 -/* 803251E0 00322140 38 61 00 18 */ addi r3, r1, 0x18 -/* 803251E4 00322144 38 81 00 58 */ addi r4, r1, 0x58 -/* 803251E8 00322148 48 01 BC C1 */ bl __ct__6CTokenFRC6CToken -/* 803251EC 0032214C 7F 23 CB 78 */ mr r3, r25 -/* 803251F0 00322150 7F E5 FB 78 */ mr r5, r31 -/* 803251F4 00322154 7F C6 F3 78 */ mr r6, r30 -/* 803251F8 00322158 7F A7 EB 78 */ mr r7, r29 -/* 803251FC 0032215C 7F 88 E3 78 */ mr r8, r28 -/* 80325200 00322160 7F 69 DB 78 */ mr r9, r27 -/* 80325204 00322164 7F 4A D3 78 */ mr r10, r26 -/* 80325208 00322168 38 81 00 18 */ addi r4, r1, 0x18 -/* 8032520C 0032216C 3B 00 00 01 */ li r24, 1 -/* 80325210 00322170 48 00 F0 45 */ bl "__ct__15CUVEAnimTextureF17TToken<8CTexture>P11CIntElementP11CIntElementP11CIntElementP11CIntElementP11CIntElementb" -/* 80325214 00322174 7C 79 1B 78 */ mr r25, r3 -lbl_80325218: -/* 80325218 00322178 7F 00 07 75 */ extsb. r0, r24 -/* 8032521C 0032217C 41 82 00 10 */ beq lbl_8032522C -/* 80325220 00322180 38 61 00 18 */ addi r3, r1, 0x18 -/* 80325224 00322184 38 80 00 00 */ li r4, 0 -/* 80325228 00322188 48 01 BC 19 */ bl __dt__6CTokenFv -lbl_8032522C: -/* 8032522C 0032218C 38 61 00 58 */ addi r3, r1, 0x58 -/* 80325230 00322190 38 80 00 00 */ li r4, 0 -/* 80325234 00322194 48 01 BC 0D */ bl __dt__6CTokenFv -/* 80325238 00322198 48 00 00 0C */ b lbl_80325244 -lbl_8032523C: -/* 8032523C 0032219C 38 60 00 00 */ li r3, 0 -/* 80325240 003221A0 48 00 00 08 */ b lbl_80325248 -lbl_80325244: -/* 80325244 003221A4 7F 23 CB 78 */ mr r3, r25 -lbl_80325248: -/* 80325248 003221A8 BB 01 00 80 */ lmw r24, 0x80(r1) -/* 8032524C 003221AC 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 80325250 003221B0 7C 08 03 A6 */ mtlr r0 -/* 80325254 003221B4 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 80325258 003221B8 4E 80 00 20 */ blr - -.global GetColorElement__20CParticleDataFactoryFR12CInputStream -GetColorElement__20CParticleDataFactoryFR12CInputStream: -/* 8032525C 003221BC 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80325260 003221C0 7C 08 02 A6 */ mflr r0 -/* 80325264 003221C4 90 01 00 34 */ stw r0, 0x34(r1) -/* 80325268 003221C8 BF 41 00 18 */ stmw r26, 0x18(r1) -/* 8032526C 003221CC 7C 7F 1B 78 */ mr r31, r3 -/* 80325270 003221D0 48 00 31 ED */ bl GetClassID__20CParticleDataFactoryFR12CInputStream -/* 80325274 003221D4 3C A0 4B 45 */ lis r5, 0x4B455945@ha -/* 80325278 003221D8 38 05 59 45 */ addi r0, r5, 0x4B455945@l -/* 8032527C 003221DC 7C 03 00 00 */ cmpw r3, r0 -/* 80325280 003221E0 41 82 03 20 */ beq lbl_803255A0 -/* 80325284 003221E4 40 80 00 54 */ bge lbl_803252D8 -/* 80325288 003221E8 3C 80 43 4E */ lis r4, 0x434E5354@ha -/* 8032528C 003221EC 38 04 53 54 */ addi r0, r4, 0x434E5354@l -/* 80325290 003221F0 7C 03 00 00 */ cmpw r3, r0 -/* 80325294 003221F4 41 82 00 90 */ beq lbl_80325324 -/* 80325298 003221F8 40 80 00 2C */ bge lbl_803252C4 -/* 8032529C 003221FC 3C 80 43 48 */ lis r4, 0x4348414E@ha -/* 803252A0 00322200 38 04 41 4E */ addi r0, r4, 0x4348414E@l -/* 803252A4 00322204 7C 03 00 00 */ cmpw r3, r0 -/* 803252A8 00322208 41 82 04 0C */ beq lbl_803256B4 -/* 803252AC 0032220C 40 80 05 38 */ bge lbl_803257E4 -/* 803252B0 00322210 3C 80 43 46 */ lis r4, 0x43464445@ha -/* 803252B4 00322214 38 04 44 45 */ addi r0, r4, 0x43464445@l -/* 803252B8 00322218 7C 03 00 00 */ cmpw r3, r0 -/* 803252BC 0032221C 41 82 03 7C */ beq lbl_80325638 -/* 803252C0 00322220 48 00 05 24 */ b lbl_803257E4 -lbl_803252C4: -/* 803252C4 00322224 3C 80 46 41 */ lis r4, 0x46414445@ha -/* 803252C8 00322228 38 04 44 45 */ addi r0, r4, 0x46414445@l -/* 803252CC 0032222C 7C 03 00 00 */ cmpw r3, r0 -/* 803252D0 00322230 41 82 03 00 */ beq lbl_803255D0 -/* 803252D4 00322234 48 00 05 10 */ b lbl_803257E4 -lbl_803252D8: -/* 803252D8 00322238 3C 80 50 43 */ lis r4, 0x50434F4C@ha -/* 803252DC 0032223C 38 04 4F 4C */ addi r0, r4, 0x50434F4C@l -/* 803252E0 00322240 7C 03 00 00 */ cmpw r3, r0 -/* 803252E4 00322244 41 82 04 B4 */ beq lbl_80325798 -/* 803252E8 00322248 40 80 00 28 */ bge lbl_80325310 -/* 803252EC 0032224C 3C 80 4E 4F */ lis r4, 0x4E4F4E45@ha -/* 803252F0 00322250 38 04 4E 45 */ addi r0, r4, 0x4E4F4E45@l -/* 803252F4 00322254 7C 03 00 00 */ cmpw r3, r0 -/* 803252F8 00322258 41 82 04 E4 */ beq lbl_803257DC -/* 803252FC 0032225C 40 80 04 E8 */ bge lbl_803257E4 -/* 80325300 00322260 38 05 59 50 */ addi r0, r5, 0x5950 -/* 80325304 00322264 7C 03 00 00 */ cmpw r3, r0 -/* 80325308 00322268 41 82 02 98 */ beq lbl_803255A0 -/* 8032530C 0032226C 48 00 04 D8 */ b lbl_803257E4 -lbl_80325310: -/* 80325310 00322270 3C 80 50 55 */ lis r4, 0x50554C53@ha -/* 80325314 00322274 38 04 4C 53 */ addi r0, r4, 0x50554C53@l -/* 80325318 00322278 7C 03 00 00 */ cmpw r3, r0 -/* 8032531C 0032227C 41 82 04 00 */ beq lbl_8032571C -/* 80325320 00322280 48 00 04 C4 */ b lbl_803257E4 -lbl_80325324: -/* 80325324 00322284 83 AD A8 C8 */ lwz r29, lbl_805A9488@sda21(r13) -/* 80325328 00322288 28 1D 00 00 */ cmplwi r29, 0 -/* 8032532C 0032228C 41 82 00 14 */ beq lbl_80325340 -/* 80325330 00322290 7F A3 EB 78 */ mr r3, r29 -/* 80325334 00322294 48 04 77 79 */ bl sub_8036caac -/* 80325338 00322298 7C 7E 1B 78 */ mr r30, r3 -/* 8032533C 0032229C 48 00 00 08 */ b lbl_80325344 -lbl_80325340: -/* 80325340 003222A0 3B C0 00 00 */ li r30, 0 -lbl_80325344: -/* 80325344 003222A4 7F E3 FB 78 */ mr r3, r31 -/* 80325348 003222A8 48 00 19 49 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 8032534C 003222AC 7C 60 1B 78 */ mr r0, r3 -/* 80325350 003222B0 7F E3 FB 78 */ mr r3, r31 -/* 80325354 003222B4 7C 1C 03 78 */ mr r28, r0 -/* 80325358 003222B8 48 00 19 39 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 8032535C 003222BC 7C 60 1B 78 */ mr r0, r3 -/* 80325360 003222C0 7F E3 FB 78 */ mr r3, r31 -/* 80325364 003222C4 7C 1B 03 78 */ mr r27, r0 -/* 80325368 003222C8 48 00 19 29 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 8032536C 003222CC 7C 60 1B 78 */ mr r0, r3 -/* 80325370 003222D0 7F E3 FB 78 */ mr r3, r31 -/* 80325374 003222D4 7C 1F 03 78 */ mr r31, r0 -/* 80325378 003222D8 48 00 19 19 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 8032537C 003222DC 28 1C 00 00 */ cmplwi r28, 0 -/* 80325380 003222E0 7C 7A 1B 78 */ mr r26, r3 -/* 80325384 003222E4 41 82 01 E0 */ beq lbl_80325564 -/* 80325388 003222E8 28 1B 00 00 */ cmplwi r27, 0 -/* 8032538C 003222EC 41 82 01 D8 */ beq lbl_80325564 -/* 80325390 003222F0 28 1F 00 00 */ cmplwi r31, 0 -/* 80325394 003222F4 41 82 01 D0 */ beq lbl_80325564 -/* 80325398 003222F8 28 1A 00 00 */ cmplwi r26, 0 -/* 8032539C 003222FC 41 82 01 C8 */ beq lbl_80325564 -/* 803253A0 00322300 7F 83 E3 78 */ mr r3, r28 -/* 803253A4 00322304 81 9C 00 00 */ lwz r12, 0(r28) -/* 803253A8 00322308 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 803253AC 0032230C 7D 89 03 A6 */ mtctr r12 -/* 803253B0 00322310 4E 80 04 21 */ bctrl -/* 803253B4 00322314 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 803253B8 00322318 41 82 01 AC */ beq lbl_80325564 -/* 803253BC 0032231C 7F 63 DB 78 */ mr r3, r27 -/* 803253C0 00322320 81 9B 00 00 */ lwz r12, 0(r27) -/* 803253C4 00322324 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 803253C8 00322328 7D 89 03 A6 */ mtctr r12 -/* 803253CC 0032232C 4E 80 04 21 */ bctrl -/* 803253D0 00322330 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 803253D4 00322334 41 82 01 90 */ beq lbl_80325564 -/* 803253D8 00322338 7F E3 FB 78 */ mr r3, r31 -/* 803253DC 0032233C 81 9F 00 00 */ lwz r12, 0(r31) -/* 803253E0 00322340 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 803253E4 00322344 7D 89 03 A6 */ mtctr r12 -/* 803253E8 00322348 4E 80 04 21 */ bctrl -/* 803253EC 0032234C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 803253F0 00322350 41 82 01 74 */ beq lbl_80325564 -/* 803253F4 00322354 7F 43 D3 78 */ mr r3, r26 -/* 803253F8 00322358 81 9A 00 00 */ lwz r12, 0(r26) -/* 803253FC 0032235C 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80325400 00322360 7D 89 03 A6 */ mtctr r12 -/* 80325404 00322364 4E 80 04 21 */ bctrl -/* 80325408 00322368 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8032540C 0032236C 41 82 01 58 */ beq lbl_80325564 -/* 80325410 00322370 7F 83 E3 78 */ mr r3, r28 -/* 80325414 00322374 38 A1 00 14 */ addi r5, r1, 0x14 -/* 80325418 00322378 81 9C 00 00 */ lwz r12, 0(r28) -/* 8032541C 0032237C 38 80 00 00 */ li r4, 0 -/* 80325420 00322380 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80325424 00322384 7D 89 03 A6 */ mtctr r12 -/* 80325428 00322388 4E 80 04 21 */ bctrl -/* 8032542C 0032238C 7F 63 DB 78 */ mr r3, r27 -/* 80325430 00322390 38 A1 00 10 */ addi r5, r1, 0x10 -/* 80325434 00322394 81 9B 00 00 */ lwz r12, 0(r27) -/* 80325438 00322398 38 80 00 00 */ li r4, 0 -/* 8032543C 0032239C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80325440 003223A0 7D 89 03 A6 */ mtctr r12 -/* 80325444 003223A4 4E 80 04 21 */ bctrl -/* 80325448 003223A8 7F E3 FB 78 */ mr r3, r31 -/* 8032544C 003223AC 38 A1 00 0C */ addi r5, r1, 0xc -/* 80325450 003223B0 81 9F 00 00 */ lwz r12, 0(r31) -/* 80325454 003223B4 38 80 00 00 */ li r4, 0 -/* 80325458 003223B8 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8032545C 003223BC 7D 89 03 A6 */ mtctr r12 -/* 80325460 003223C0 4E 80 04 21 */ bctrl -/* 80325464 003223C4 7F 43 D3 78 */ mr r3, r26 -/* 80325468 003223C8 38 A1 00 08 */ addi r5, r1, 8 -/* 8032546C 003223CC 81 9A 00 00 */ lwz r12, 0(r26) -/* 80325470 003223D0 38 80 00 00 */ li r4, 0 -/* 80325474 003223D4 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80325478 003223D8 7D 89 03 A6 */ mtctr r12 -/* 8032547C 003223DC 4E 80 04 21 */ bctrl -/* 80325480 003223E0 28 1C 00 00 */ cmplwi r28, 0 -/* 80325484 003223E4 41 82 00 1C */ beq lbl_803254A0 -/* 80325488 003223E8 7F 83 E3 78 */ mr r3, r28 -/* 8032548C 003223EC 38 80 00 01 */ li r4, 1 -/* 80325490 003223F0 81 9C 00 00 */ lwz r12, 0(r28) -/* 80325494 003223F4 81 8C 00 08 */ lwz r12, 8(r12) -/* 80325498 003223F8 7D 89 03 A6 */ mtctr r12 -/* 8032549C 003223FC 4E 80 04 21 */ bctrl -lbl_803254A0: -/* 803254A0 00322400 28 1B 00 00 */ cmplwi r27, 0 -/* 803254A4 00322404 41 82 00 1C */ beq lbl_803254C0 -/* 803254A8 00322408 7F 63 DB 78 */ mr r3, r27 -/* 803254AC 0032240C 38 80 00 01 */ li r4, 1 -/* 803254B0 00322410 81 9B 00 00 */ lwz r12, 0(r27) -/* 803254B4 00322414 81 8C 00 08 */ lwz r12, 8(r12) -/* 803254B8 00322418 7D 89 03 A6 */ mtctr r12 -/* 803254BC 0032241C 4E 80 04 21 */ bctrl -lbl_803254C0: -/* 803254C0 00322420 28 1F 00 00 */ cmplwi r31, 0 -/* 803254C4 00322424 41 82 00 1C */ beq lbl_803254E0 -/* 803254C8 00322428 7F E3 FB 78 */ mr r3, r31 -/* 803254CC 0032242C 38 80 00 01 */ li r4, 1 -/* 803254D0 00322430 81 9F 00 00 */ lwz r12, 0(r31) -/* 803254D4 00322434 81 8C 00 08 */ lwz r12, 8(r12) -/* 803254D8 00322438 7D 89 03 A6 */ mtctr r12 -/* 803254DC 0032243C 4E 80 04 21 */ bctrl -lbl_803254E0: -/* 803254E0 00322440 28 1A 00 00 */ cmplwi r26, 0 -/* 803254E4 00322444 41 82 00 1C */ beq lbl_80325500 -/* 803254E8 00322448 7F 43 D3 78 */ mr r3, r26 -/* 803254EC 0032244C 38 80 00 01 */ li r4, 1 -/* 803254F0 00322450 81 9A 00 00 */ lwz r12, 0(r26) -/* 803254F4 00322454 81 8C 00 08 */ lwz r12, 8(r12) -/* 803254F8 00322458 7D 89 03 A6 */ mtctr r12 -/* 803254FC 0032245C 4E 80 04 21 */ bctrl -lbl_80325500: -/* 80325500 00322460 28 1D 00 00 */ cmplwi r29, 0 -/* 80325504 00322464 41 82 00 24 */ beq lbl_80325528 -/* 80325508 00322468 80 0D A8 C8 */ lwz r0, lbl_805A9488@sda21(r13) -/* 8032550C 0032246C 7C 1D 00 40 */ cmplw r29, r0 -/* 80325510 00322470 40 82 00 18 */ bne lbl_80325528 -/* 80325514 00322474 7F A3 EB 78 */ mr r3, r29 -/* 80325518 00322478 48 04 75 95 */ bl sub_8036caac -/* 8032551C 0032247C 7C 9E 18 50 */ subf r4, r30, r3 -/* 80325520 00322480 7F A3 EB 78 */ mr r3, r29 -/* 80325524 00322484 48 04 75 95 */ bl sub_8036cab8 -lbl_80325528: -/* 80325528 00322488 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 8032552C 0032248C 38 60 00 08 */ li r3, 8 -/* 80325530 00322490 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 80325534 00322494 38 A0 00 00 */ li r5, 0 -/* 80325538 00322498 48 04 75 4D */ bl __nw__FUlPCcPCc_0 -/* 8032553C 0032249C 7C 60 1B 79 */ or. r0, r3, r3 -/* 80325540 003224A0 41 82 00 1C */ beq lbl_8032555C -/* 80325544 003224A4 C0 21 00 14 */ lfs f1, 0x14(r1) -/* 80325548 003224A8 C0 41 00 10 */ lfs f2, 0x10(r1) -/* 8032554C 003224AC C0 61 00 0C */ lfs f3, 0xc(r1) -/* 80325550 003224B0 C0 81 00 08 */ lfs f4, 8(r1) -/* 80325554 003224B4 4B FF 1C 85 */ bl __ct__15CCEFastConstantFffff -/* 80325558 003224B8 7C 60 1B 78 */ mr r0, r3 -lbl_8032555C: -/* 8032555C 003224BC 7C 03 03 78 */ mr r3, r0 -/* 80325560 003224C0 48 00 02 88 */ b lbl_803257E8 -lbl_80325564: -/* 80325564 003224C4 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 80325568 003224C8 38 60 00 14 */ li r3, 0x14 -/* 8032556C 003224CC 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 80325570 003224D0 38 A0 00 00 */ li r5, 0 -/* 80325574 003224D4 48 04 75 11 */ bl __nw__FUlPCcPCc_0 -/* 80325578 003224D8 7C 60 1B 79 */ or. r0, r3, r3 -/* 8032557C 003224DC 41 82 00 1C */ beq lbl_80325598 -/* 80325580 003224E0 7F 84 E3 78 */ mr r4, r28 -/* 80325584 003224E4 7F 65 DB 78 */ mr r5, r27 -/* 80325588 003224E8 7F E6 FB 78 */ mr r6, r31 -/* 8032558C 003224EC 7F 47 D3 78 */ mr r7, r26 -/* 80325590 003224F0 4B FF 1F 79 */ bl __ct__11CCEConstantFP12CRealElementP12CRealElementP12CRealElementP12CRealElement -/* 80325594 003224F4 7C 60 1B 78 */ mr r0, r3 -lbl_80325598: -/* 80325598 003224F8 7C 03 03 78 */ mr r3, r0 -/* 8032559C 003224FC 48 00 02 4C */ b lbl_803257E8 -lbl_803255A0: -/* 803255A0 00322500 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 803255A4 00322504 38 60 00 28 */ li r3, 0x28 -/* 803255A8 00322508 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 803255AC 0032250C 38 A0 00 00 */ li r5, 0 -/* 803255B0 00322510 48 04 74 D5 */ bl __nw__FUlPCcPCc_0 -/* 803255B4 00322514 7C 60 1B 79 */ or. r0, r3, r3 -/* 803255B8 00322518 41 82 00 10 */ beq lbl_803255C8 -/* 803255BC 0032251C 7F E4 FB 78 */ mr r4, r31 -/* 803255C0 00322520 4B FF 10 75 */ bl __ct__18CCEKeyframeEmitterFR12CInputStream -/* 803255C4 00322524 7C 60 1B 78 */ mr r0, r3 -lbl_803255C8: -/* 803255C8 00322528 7C 03 03 78 */ mr r3, r0 -/* 803255CC 0032252C 48 00 02 1C */ b lbl_803257E8 -lbl_803255D0: -/* 803255D0 00322530 7F E3 FB 78 */ mr r3, r31 -/* 803255D4 00322534 4B FF FC 89 */ bl GetColorElement__20CParticleDataFactoryFR12CInputStream -/* 803255D8 00322538 7C 60 1B 78 */ mr r0, r3 -/* 803255DC 0032253C 7F E3 FB 78 */ mr r3, r31 -/* 803255E0 00322540 7C 1A 03 78 */ mr r26, r0 -/* 803255E4 00322544 4B FF FC 79 */ bl GetColorElement__20CParticleDataFactoryFR12CInputStream -/* 803255E8 00322548 7C 60 1B 78 */ mr r0, r3 -/* 803255EC 0032254C 7F E3 FB 78 */ mr r3, r31 -/* 803255F0 00322550 7C 1B 03 78 */ mr r27, r0 -/* 803255F4 00322554 48 00 16 9D */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 803255F8 00322558 7C 60 1B 78 */ mr r0, r3 -/* 803255FC 0032255C 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 80325600 00322560 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 80325604 00322564 38 60 00 10 */ li r3, 0x10 -/* 80325608 00322568 7C 1C 03 78 */ mr r28, r0 -/* 8032560C 0032256C 38 A0 00 00 */ li r5, 0 -/* 80325610 00322570 48 04 74 75 */ bl __nw__FUlPCcPCc_0 -/* 80325614 00322574 7C 60 1B 79 */ or. r0, r3, r3 -/* 80325618 00322578 41 82 00 18 */ beq lbl_80325630 -/* 8032561C 0032257C 7F 44 D3 78 */ mr r4, r26 -/* 80325620 00322580 7F 65 DB 78 */ mr r5, r27 -/* 80325624 00322584 7F 86 E3 78 */ mr r6, r28 -/* 80325628 00322588 4B FF 1A FD */ bl __ct__7CCEFadeFP13CColorElementP13CColorElementP12CRealElement -/* 8032562C 0032258C 7C 60 1B 78 */ mr r0, r3 -lbl_80325630: -/* 80325630 00322590 7C 03 03 78 */ mr r3, r0 -/* 80325634 00322594 48 00 01 B4 */ b lbl_803257E8 -lbl_80325638: -/* 80325638 00322598 7F E3 FB 78 */ mr r3, r31 -/* 8032563C 0032259C 4B FF FC 21 */ bl GetColorElement__20CParticleDataFactoryFR12CInputStream -/* 80325640 003225A0 7C 60 1B 78 */ mr r0, r3 -/* 80325644 003225A4 7F E3 FB 78 */ mr r3, r31 -/* 80325648 003225A8 7C 1A 03 78 */ mr r26, r0 -/* 8032564C 003225AC 4B FF FC 11 */ bl GetColorElement__20CParticleDataFactoryFR12CInputStream -/* 80325650 003225B0 7C 60 1B 78 */ mr r0, r3 -/* 80325654 003225B4 7F E3 FB 78 */ mr r3, r31 -/* 80325658 003225B8 7C 1B 03 78 */ mr r27, r0 -/* 8032565C 003225BC 48 00 16 35 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 80325660 003225C0 7C 60 1B 78 */ mr r0, r3 -/* 80325664 003225C4 7F E3 FB 78 */ mr r3, r31 -/* 80325668 003225C8 7C 1C 03 78 */ mr r28, r0 -/* 8032566C 003225CC 48 00 16 25 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 80325670 003225D0 7C 60 1B 78 */ mr r0, r3 -/* 80325674 003225D4 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 80325678 003225D8 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 8032567C 003225DC 38 60 00 14 */ li r3, 0x14 -/* 80325680 003225E0 7C 1D 03 78 */ mr r29, r0 -/* 80325684 003225E4 38 A0 00 00 */ li r5, 0 -/* 80325688 003225E8 48 04 73 FD */ bl __nw__FUlPCcPCc_0 -/* 8032568C 003225EC 7C 60 1B 79 */ or. r0, r3, r3 -/* 80325690 003225F0 41 82 00 1C */ beq lbl_803256AC -/* 80325694 003225F4 7F 44 D3 78 */ mr r4, r26 -/* 80325698 003225F8 7F 65 DB 78 */ mr r5, r27 -/* 8032569C 003225FC 7F 86 E3 78 */ mr r6, r28 -/* 803256A0 00322600 7F A7 EB 78 */ mr r7, r29 -/* 803256A4 00322604 4B FF 17 BD */ bl __ct__10CCEFadeEndFP13CColorElementP13CColorElementP12CRealElementP12CRealElement -/* 803256A8 00322608 7C 60 1B 78 */ mr r0, r3 -lbl_803256AC: -/* 803256AC 0032260C 7C 03 03 78 */ mr r3, r0 -/* 803256B0 00322610 48 00 01 38 */ b lbl_803257E8 -lbl_803256B4: -/* 803256B4 00322614 7F E3 FB 78 */ mr r3, r31 -/* 803256B8 00322618 4B FF FB A5 */ bl GetColorElement__20CParticleDataFactoryFR12CInputStream -/* 803256BC 0032261C 7C 60 1B 78 */ mr r0, r3 -/* 803256C0 00322620 7F E3 FB 78 */ mr r3, r31 -/* 803256C4 00322624 7C 1A 03 78 */ mr r26, r0 -/* 803256C8 00322628 4B FF FB 95 */ bl GetColorElement__20CParticleDataFactoryFR12CInputStream -/* 803256CC 0032262C 7C 60 1B 78 */ mr r0, r3 -/* 803256D0 00322630 7F E3 FB 78 */ mr r3, r31 -/* 803256D4 00322634 7C 1B 03 78 */ mr r27, r0 -/* 803256D8 00322638 48 00 24 CD */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream -/* 803256DC 0032263C 7C 60 1B 78 */ mr r0, r3 -/* 803256E0 00322640 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 803256E4 00322644 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 803256E8 00322648 38 60 00 10 */ li r3, 0x10 -/* 803256EC 0032264C 7C 1C 03 78 */ mr r28, r0 -/* 803256F0 00322650 38 A0 00 00 */ li r5, 0 -/* 803256F4 00322654 48 04 73 91 */ bl __nw__FUlPCcPCc_0 -/* 803256F8 00322658 7C 60 1B 79 */ or. r0, r3, r3 -/* 803256FC 0032265C 41 82 00 18 */ beq lbl_80325714 -/* 80325700 00322660 7F 44 D3 78 */ mr r4, r26 -/* 80325704 00322664 7F 65 DB 78 */ mr r5, r27 -/* 80325708 00322668 7F 86 E3 78 */ mr r6, r28 -/* 8032570C 0032266C 4B FF 14 51 */ bl __ct__12CCETimeChainFP13CColorElementP13CColorElementP11CIntElement -/* 80325710 00322670 7C 60 1B 78 */ mr r0, r3 -lbl_80325714: -/* 80325714 00322674 7C 03 03 78 */ mr r3, r0 -/* 80325718 00322678 48 00 00 D0 */ b lbl_803257E8 -lbl_8032571C: -/* 8032571C 0032267C 7F E3 FB 78 */ mr r3, r31 -/* 80325720 00322680 48 00 24 85 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream -/* 80325724 00322684 7C 60 1B 78 */ mr r0, r3 -/* 80325728 00322688 7F E3 FB 78 */ mr r3, r31 -/* 8032572C 0032268C 7C 1A 03 78 */ mr r26, r0 -/* 80325730 00322690 48 00 24 75 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream -/* 80325734 00322694 7C 60 1B 78 */ mr r0, r3 -/* 80325738 00322698 7F E3 FB 78 */ mr r3, r31 -/* 8032573C 0032269C 7C 1B 03 78 */ mr r27, r0 -/* 80325740 003226A0 4B FF FB 1D */ bl GetColorElement__20CParticleDataFactoryFR12CInputStream -/* 80325744 003226A4 7C 60 1B 78 */ mr r0, r3 -/* 80325748 003226A8 7F E3 FB 78 */ mr r3, r31 -/* 8032574C 003226AC 7C 1C 03 78 */ mr r28, r0 -/* 80325750 003226B0 4B FF FB 0D */ bl GetColorElement__20CParticleDataFactoryFR12CInputStream -/* 80325754 003226B4 7C 60 1B 78 */ mr r0, r3 -/* 80325758 003226B8 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 8032575C 003226BC 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 80325760 003226C0 38 60 00 14 */ li r3, 0x14 -/* 80325764 003226C4 7C 1D 03 78 */ mr r29, r0 -/* 80325768 003226C8 38 A0 00 00 */ li r5, 0 -/* 8032576C 003226CC 48 04 73 19 */ bl __nw__FUlPCcPCc_0 -/* 80325770 003226D0 7C 60 1B 79 */ or. r0, r3, r3 -/* 80325774 003226D4 41 82 00 1C */ beq lbl_80325790 -/* 80325778 003226D8 7F 44 D3 78 */ mr r4, r26 -/* 8032577C 003226DC 7F 65 DB 78 */ mr r5, r27 -/* 80325780 003226E0 7F 86 E3 78 */ mr r6, r28 -/* 80325784 003226E4 7F A7 EB 78 */ mr r7, r29 -/* 80325788 003226E8 4B FF 12 1D */ bl __ct__8CCEPulseFP11CIntElementP11CIntElementP13CColorElementP13CColorElement -/* 8032578C 003226EC 7C 60 1B 78 */ mr r0, r3 -lbl_80325790: -/* 80325790 003226F0 7C 03 03 78 */ mr r3, r0 -/* 80325794 003226F4 48 00 00 54 */ b lbl_803257E8 -lbl_80325798: -/* 80325798 003226F8 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 8032579C 003226FC 38 60 00 04 */ li r3, 4 -/* 803257A0 00322700 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 803257A4 00322704 38 A0 00 00 */ li r5, 0 -/* 803257A8 00322708 48 04 72 DD */ bl __nw__FUlPCcPCc_0 -/* 803257AC 0032270C 28 03 00 00 */ cmplwi r3, 0 -/* 803257B0 00322710 41 82 00 38 */ beq lbl_803257E8 -/* 803257B4 00322714 3C 80 80 3F */ lis r4, lbl_803EC5A8@ha -/* 803257B8 00322718 3C A0 80 3F */ lis r5, lbl_803EC5B4@ha -/* 803257BC 0032271C 38 04 C5 A8 */ addi r0, r4, lbl_803EC5A8@l -/* 803257C0 00322720 3C 80 80 3F */ lis r4, lbl_803EDA00@ha -/* 803257C4 00322724 90 03 00 00 */ stw r0, 0(r3) -/* 803257C8 00322728 38 A5 C5 B4 */ addi r5, r5, lbl_803EC5B4@l -/* 803257CC 0032272C 38 04 DA 00 */ addi r0, r4, lbl_803EDA00@l -/* 803257D0 00322730 90 A3 00 00 */ stw r5, 0(r3) -/* 803257D4 00322734 90 03 00 00 */ stw r0, 0(r3) -/* 803257D8 00322738 48 00 00 10 */ b lbl_803257E8 -lbl_803257DC: -/* 803257DC 0032273C 38 60 00 00 */ li r3, 0 -/* 803257E0 00322740 48 00 00 08 */ b lbl_803257E8 -lbl_803257E4: -/* 803257E4 00322744 38 60 00 00 */ li r3, 0 -lbl_803257E8: -/* 803257E8 00322748 BB 41 00 18 */ lmw r26, 0x18(r1) -/* 803257EC 0032274C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 803257F0 00322750 7C 08 03 A6 */ mtlr r0 -/* 803257F4 00322754 38 21 00 30 */ addi r1, r1, 0x30 -/* 803257F8 00322758 4E 80 00 20 */ blr - -.global GetModVectorElement__20CParticleDataFactoryFR12CInputStream -GetModVectorElement__20CParticleDataFactoryFR12CInputStream: -/* 803257FC 0032275C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80325800 00322760 7C 08 02 A6 */ mflr r0 -/* 80325804 00322764 90 01 00 34 */ stw r0, 0x34(r1) -/* 80325808 00322768 BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 8032580C 0032276C 7C 7F 1B 78 */ mr r31, r3 -/* 80325810 00322770 48 00 2C 4D */ bl GetClassID__20CParticleDataFactoryFR12CInputStream -/* 80325814 00322774 3C 80 49 4D */ lis r4, 0x494D504C@ha -/* 80325818 00322778 38 04 50 4C */ addi r0, r4, 0x494D504C@l -/* 8032581C 0032277C 7C 03 00 00 */ cmpw r3, r0 -/* 80325820 00322780 41 82 04 80 */ beq lbl_80325CA0 -/* 80325824 00322784 40 80 00 7C */ bge lbl_803258A0 -/* 80325828 00322788 3C 80 45 4D */ lis r4, 0x454D504C@ha -/* 8032582C 0032278C 38 04 50 4C */ addi r0, r4, 0x454D504C@l -/* 80325830 00322790 7C 03 00 00 */ cmpw r3, r0 -/* 80325834 00322794 41 82 05 8C */ beq lbl_80325DC0 -/* 80325838 00322798 40 80 00 40 */ bge lbl_80325878 -/* 8032583C 0032279C 3C 80 43 48 */ lis r4, 0x4348414E@ha -/* 80325840 003227A0 38 04 41 4E */ addi r0, r4, 0x4348414E@l -/* 80325844 003227A4 7C 03 00 00 */ cmpw r3, r0 -/* 80325848 003227A8 41 82 03 74 */ beq lbl_80325BBC -/* 8032584C 003227AC 40 80 00 18 */ bge lbl_80325864 -/* 80325850 003227B0 3C 80 42 4E */ lis r4, 0x424E4345@ha -/* 80325854 003227B4 38 04 43 45 */ addi r0, r4, 0x424E4345@l -/* 80325858 003227B8 7C 03 00 00 */ cmpw r3, r0 -/* 8032585C 003227BC 41 82 06 70 */ beq lbl_80325ECC -/* 80325860 003227C0 48 00 07 30 */ b lbl_80325F90 -lbl_80325864: -/* 80325864 003227C4 3C 80 43 4E */ lis r4, 0x434E5354@ha -/* 80325868 003227C8 38 04 53 54 */ addi r0, r4, 0x434E5354@l -/* 8032586C 003227CC 7C 03 00 00 */ cmpw r3, r0 -/* 80325870 003227D0 41 82 00 B0 */ beq lbl_80325920 -/* 80325874 003227D4 48 00 07 1C */ b lbl_80325F90 -lbl_80325878: -/* 80325878 003227D8 3C 80 47 52 */ lis r4, 0x47524156@ha -/* 8032587C 003227DC 38 04 41 56 */ addi r0, r4, 0x47524156@l -/* 80325880 003227E0 7C 03 00 00 */ cmpw r3, r0 -/* 80325884 003227E4 41 82 02 58 */ beq lbl_80325ADC -/* 80325888 003227E8 40 80 07 08 */ bge lbl_80325F90 -/* 8032588C 003227EC 3C 80 45 58 */ lis r4, 0x4558504C@ha -/* 80325890 003227F0 38 04 50 4C */ addi r0, r4, 0x4558504C@l -/* 80325894 003227F4 7C 03 00 00 */ cmpw r3, r0 -/* 80325898 003227F8 41 82 02 D0 */ beq lbl_80325B68 -/* 8032589C 003227FC 48 00 06 F4 */ b lbl_80325F90 -lbl_803258A0: -/* 803258A0 00322800 3C 80 53 50 */ lis r4, 0x53504F53@ha -/* 803258A4 00322804 38 04 4F 53 */ addi r0, r4, 0x53504F53@l -/* 803258A8 00322808 7C 03 00 00 */ cmpw r3, r0 -/* 803258AC 0032280C 41 82 06 AC */ beq lbl_80325F58 -/* 803258B0 00322810 40 80 00 40 */ bge lbl_803258F0 -/* 803258B4 00322814 3C 80 4E 4F */ lis r4, 0x4E4F4E45@ha -/* 803258B8 00322818 38 04 4E 45 */ addi r0, r4, 0x4E4F4E45@l -/* 803258BC 0032281C 7C 03 00 00 */ cmpw r3, r0 -/* 803258C0 00322820 41 82 00 58 */ beq lbl_80325918 -/* 803258C4 00322824 40 80 00 18 */ bge lbl_803258DC -/* 803258C8 00322828 3C 80 4C 4D */ lis r4, 0x4C4D504C@ha -/* 803258CC 0032282C 38 04 50 4C */ addi r0, r4, 0x4C4D504C@l -/* 803258D0 00322830 7C 03 00 00 */ cmpw r3, r0 -/* 803258D4 00322834 41 82 04 5C */ beq lbl_80325D30 -/* 803258D8 00322838 48 00 06 B8 */ b lbl_80325F90 -lbl_803258DC: -/* 803258DC 0032283C 3C 80 50 55 */ lis r4, 0x50554C53@ha -/* 803258E0 00322840 38 04 4C 53 */ addi r0, r4, 0x50554C53@l -/* 803258E4 00322844 7C 03 00 00 */ cmpw r3, r0 -/* 803258E8 00322848 41 82 03 3C */ beq lbl_80325C24 -/* 803258EC 0032284C 48 00 06 A4 */ b lbl_80325F90 -lbl_803258F0: -/* 803258F0 00322850 3C 80 57 49 */ lis r4, 0x57494E44@ha -/* 803258F4 00322854 38 04 4E 44 */ addi r0, r4, 0x57494E44@l -/* 803258F8 00322858 7C 03 00 00 */ cmpw r3, r0 -/* 803258FC 0032285C 41 82 02 18 */ beq lbl_80325B14 -/* 80325900 00322860 40 80 06 90 */ bge lbl_80325F90 -/* 80325904 00322864 3C 80 53 57 */ lis r4, 0x5357524C@ha -/* 80325908 00322868 38 04 52 4C */ addi r0, r4, 0x5357524C@l -/* 8032590C 0032286C 7C 03 00 00 */ cmpw r3, r0 -/* 80325910 00322870 41 82 05 40 */ beq lbl_80325E50 -/* 80325914 00322874 48 00 06 7C */ b lbl_80325F90 -lbl_80325918: -/* 80325918 00322878 3B C0 00 00 */ li r30, 0 -/* 8032591C 0032287C 48 00 06 7C */ b lbl_80325F98 -lbl_80325920: -/* 80325920 00322880 7F E3 FB 78 */ mr r3, r31 -/* 80325924 00322884 48 00 13 6D */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 80325928 00322888 7C 60 1B 78 */ mr r0, r3 -/* 8032592C 0032288C 7F E3 FB 78 */ mr r3, r31 -/* 80325930 00322890 7C 1D 03 78 */ mr r29, r0 -/* 80325934 00322894 48 00 13 5D */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 80325938 00322898 7C 60 1B 78 */ mr r0, r3 -/* 8032593C 0032289C 7F E3 FB 78 */ mr r3, r31 -/* 80325940 003228A0 7C 1F 03 78 */ mr r31, r0 -/* 80325944 003228A4 48 00 13 4D */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 80325948 003228A8 28 1D 00 00 */ cmplwi r29, 0 -/* 8032594C 003228AC 7C 7C 1B 78 */ mr r28, r3 -/* 80325950 003228B0 41 82 01 54 */ beq lbl_80325AA4 -/* 80325954 003228B4 28 1F 00 00 */ cmplwi r31, 0 -/* 80325958 003228B8 41 82 01 4C */ beq lbl_80325AA4 -/* 8032595C 003228BC 28 1C 00 00 */ cmplwi r28, 0 -/* 80325960 003228C0 41 82 01 44 */ beq lbl_80325AA4 -/* 80325964 003228C4 7F A3 EB 78 */ mr r3, r29 -/* 80325968 003228C8 81 9D 00 00 */ lwz r12, 0(r29) -/* 8032596C 003228CC 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80325970 003228D0 7D 89 03 A6 */ mtctr r12 -/* 80325974 003228D4 4E 80 04 21 */ bctrl -/* 80325978 003228D8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8032597C 003228DC 41 82 01 28 */ beq lbl_80325AA4 -/* 80325980 003228E0 7F E3 FB 78 */ mr r3, r31 -/* 80325984 003228E4 81 9F 00 00 */ lwz r12, 0(r31) -/* 80325988 003228E8 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8032598C 003228EC 7D 89 03 A6 */ mtctr r12 -/* 80325990 003228F0 4E 80 04 21 */ bctrl -/* 80325994 003228F4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80325998 003228F8 41 82 01 0C */ beq lbl_80325AA4 -/* 8032599C 003228FC 7F 83 E3 78 */ mr r3, r28 -/* 803259A0 00322900 81 9C 00 00 */ lwz r12, 0(r28) -/* 803259A4 00322904 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 803259A8 00322908 7D 89 03 A6 */ mtctr r12 -/* 803259AC 0032290C 4E 80 04 21 */ bctrl -/* 803259B0 00322910 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 803259B4 00322914 41 82 00 F0 */ beq lbl_80325AA4 -/* 803259B8 00322918 7F A3 EB 78 */ mr r3, r29 -/* 803259BC 0032291C 38 A1 00 10 */ addi r5, r1, 0x10 -/* 803259C0 00322920 81 9D 00 00 */ lwz r12, 0(r29) -/* 803259C4 00322924 38 80 00 00 */ li r4, 0 -/* 803259C8 00322928 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 803259CC 0032292C 7D 89 03 A6 */ mtctr r12 -/* 803259D0 00322930 4E 80 04 21 */ bctrl -/* 803259D4 00322934 7F A3 EB 78 */ mr r3, r29 -/* 803259D8 00322938 38 A1 00 0C */ addi r5, r1, 0xc -/* 803259DC 0032293C 81 9D 00 00 */ lwz r12, 0(r29) -/* 803259E0 00322940 38 80 00 00 */ li r4, 0 -/* 803259E4 00322944 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 803259E8 00322948 7D 89 03 A6 */ mtctr r12 -/* 803259EC 0032294C 4E 80 04 21 */ bctrl -/* 803259F0 00322950 7F A3 EB 78 */ mr r3, r29 -/* 803259F4 00322954 38 A1 00 08 */ addi r5, r1, 8 -/* 803259F8 00322958 81 9D 00 00 */ lwz r12, 0(r29) -/* 803259FC 0032295C 38 80 00 00 */ li r4, 0 -/* 80325A00 00322960 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80325A04 00322964 7D 89 03 A6 */ mtctr r12 -/* 80325A08 00322968 4E 80 04 21 */ bctrl -/* 80325A0C 0032296C 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 80325A10 00322970 38 60 00 10 */ li r3, 0x10 -/* 80325A14 00322974 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 80325A18 00322978 38 A0 00 00 */ li r5, 0 -/* 80325A1C 0032297C 48 04 70 69 */ bl __nw__FUlPCcPCc_0 -/* 80325A20 00322980 7C 60 1B 79 */ or. r0, r3, r3 -/* 80325A24 00322984 41 82 00 18 */ beq lbl_80325A3C -/* 80325A28 00322988 C0 21 00 10 */ lfs f1, 0x10(r1) -/* 80325A2C 0032298C C0 41 00 0C */ lfs f2, 0xc(r1) -/* 80325A30 00322990 C0 61 00 08 */ lfs f3, 8(r1) -/* 80325A34 00322994 4B FF EC ED */ bl __ct__16CMVEFastConstantFfff -/* 80325A38 00322998 7C 60 1B 78 */ mr r0, r3 -lbl_80325A3C: -/* 80325A3C 0032299C 28 1D 00 00 */ cmplwi r29, 0 -/* 80325A40 003229A0 7C 1E 03 78 */ mr r30, r0 -/* 80325A44 003229A4 41 82 00 1C */ beq lbl_80325A60 -/* 80325A48 003229A8 7F A3 EB 78 */ mr r3, r29 -/* 80325A4C 003229AC 38 80 00 01 */ li r4, 1 -/* 80325A50 003229B0 81 9D 00 00 */ lwz r12, 0(r29) -/* 80325A54 003229B4 81 8C 00 08 */ lwz r12, 8(r12) -/* 80325A58 003229B8 7D 89 03 A6 */ mtctr r12 -/* 80325A5C 003229BC 4E 80 04 21 */ bctrl -lbl_80325A60: -/* 80325A60 003229C0 28 1F 00 00 */ cmplwi r31, 0 -/* 80325A64 003229C4 41 82 00 1C */ beq lbl_80325A80 -/* 80325A68 003229C8 7F E3 FB 78 */ mr r3, r31 -/* 80325A6C 003229CC 38 80 00 01 */ li r4, 1 -/* 80325A70 003229D0 81 9F 00 00 */ lwz r12, 0(r31) -/* 80325A74 003229D4 81 8C 00 08 */ lwz r12, 8(r12) -/* 80325A78 003229D8 7D 89 03 A6 */ mtctr r12 -/* 80325A7C 003229DC 4E 80 04 21 */ bctrl -lbl_80325A80: -/* 80325A80 003229E0 28 1C 00 00 */ cmplwi r28, 0 -/* 80325A84 003229E4 41 82 05 14 */ beq lbl_80325F98 -/* 80325A88 003229E8 7F 83 E3 78 */ mr r3, r28 -/* 80325A8C 003229EC 38 80 00 01 */ li r4, 1 -/* 80325A90 003229F0 81 9C 00 00 */ lwz r12, 0(r28) -/* 80325A94 003229F4 81 8C 00 08 */ lwz r12, 8(r12) -/* 80325A98 003229F8 7D 89 03 A6 */ mtctr r12 -/* 80325A9C 003229FC 4E 80 04 21 */ bctrl -/* 80325AA0 00322A00 48 00 04 F8 */ b lbl_80325F98 -lbl_80325AA4: -/* 80325AA4 00322A04 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 80325AA8 00322A08 38 60 00 10 */ li r3, 0x10 -/* 80325AAC 00322A0C 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 80325AB0 00322A10 38 A0 00 00 */ li r5, 0 -/* 80325AB4 00322A14 48 04 6F D1 */ bl __nw__FUlPCcPCc_0 -/* 80325AB8 00322A18 7C 60 1B 79 */ or. r0, r3, r3 -/* 80325ABC 00322A1C 41 82 00 18 */ beq lbl_80325AD4 -/* 80325AC0 00322A20 7F A4 EB 78 */ mr r4, r29 -/* 80325AC4 00322A24 7F E5 FB 78 */ mr r5, r31 -/* 80325AC8 00322A28 7F 86 E3 78 */ mr r6, r28 -/* 80325ACC 00322A2C 4B FF EE 15 */ bl __ct__12CMVEConstantFP12CRealElementP12CRealElementP12CRealElement -/* 80325AD0 00322A30 7C 60 1B 78 */ mr r0, r3 -lbl_80325AD4: -/* 80325AD4 00322A34 7C 1E 03 78 */ mr r30, r0 -/* 80325AD8 00322A38 48 00 04 C0 */ b lbl_80325F98 -lbl_80325ADC: -/* 80325ADC 00322A3C 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 80325AE0 00322A40 38 60 00 08 */ li r3, 8 -/* 80325AE4 00322A44 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 80325AE8 00322A48 38 A0 00 00 */ li r5, 0 -/* 80325AEC 00322A4C 48 04 6F 99 */ bl __nw__FUlPCcPCc_0 -/* 80325AF0 00322A50 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80325AF4 00322A54 41 82 04 A4 */ beq lbl_80325F98 -/* 80325AF8 00322A58 7F E3 FB 78 */ mr r3, r31 -/* 80325AFC 00322A5C 48 00 07 59 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream -/* 80325B00 00322A60 7C 64 1B 78 */ mr r4, r3 -/* 80325B04 00322A64 7F C3 F3 78 */ mr r3, r30 -/* 80325B08 00322A68 4B FF EB 5D */ bl __ct__11CMVEGravityFP14CVectorElement -/* 80325B0C 00322A6C 7C 7E 1B 78 */ mr r30, r3 -/* 80325B10 00322A70 48 00 04 88 */ b lbl_80325F98 -lbl_80325B14: -/* 80325B14 00322A74 7F E3 FB 78 */ mr r3, r31 -/* 80325B18 00322A78 48 00 07 3D */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream -/* 80325B1C 00322A7C 7C 60 1B 78 */ mr r0, r3 -/* 80325B20 00322A80 7F E3 FB 78 */ mr r3, r31 -/* 80325B24 00322A84 7C 1C 03 78 */ mr r28, r0 -/* 80325B28 00322A88 48 00 11 69 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 80325B2C 00322A8C 7C 60 1B 78 */ mr r0, r3 -/* 80325B30 00322A90 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 80325B34 00322A94 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 80325B38 00322A98 38 60 00 0C */ li r3, 0xc -/* 80325B3C 00322A9C 7C 1D 03 78 */ mr r29, r0 -/* 80325B40 00322AA0 38 A0 00 00 */ li r5, 0 -/* 80325B44 00322AA4 48 04 6F 41 */ bl __nw__FUlPCcPCc_0 -/* 80325B48 00322AA8 7C 60 1B 79 */ or. r0, r3, r3 -/* 80325B4C 00322AAC 41 82 00 14 */ beq lbl_80325B60 -/* 80325B50 00322AB0 7F 84 E3 78 */ mr r4, r28 -/* 80325B54 00322AB4 7F A5 EB 78 */ mr r5, r29 -/* 80325B58 00322AB8 4B FF E9 B9 */ bl __ct__8CMVEWindFP14CVectorElementP12CRealElement -/* 80325B5C 00322ABC 7C 60 1B 78 */ mr r0, r3 -lbl_80325B60: -/* 80325B60 00322AC0 7C 1E 03 78 */ mr r30, r0 -/* 80325B64 00322AC4 48 00 04 34 */ b lbl_80325F98 -lbl_80325B68: -/* 80325B68 00322AC8 7F E3 FB 78 */ mr r3, r31 -/* 80325B6C 00322ACC 48 00 11 25 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 80325B70 00322AD0 7C 60 1B 78 */ mr r0, r3 -/* 80325B74 00322AD4 7F E3 FB 78 */ mr r3, r31 -/* 80325B78 00322AD8 7C 1C 03 78 */ mr r28, r0 -/* 80325B7C 00322ADC 48 00 11 15 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 80325B80 00322AE0 7C 60 1B 78 */ mr r0, r3 -/* 80325B84 00322AE4 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 80325B88 00322AE8 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 80325B8C 00322AEC 38 60 00 0C */ li r3, 0xc -/* 80325B90 00322AF0 7C 1D 03 78 */ mr r29, r0 -/* 80325B94 00322AF4 38 A0 00 00 */ li r5, 0 -/* 80325B98 00322AF8 48 04 6E ED */ bl __nw__FUlPCcPCc_0 -/* 80325B9C 00322AFC 7C 60 1B 79 */ or. r0, r3, r3 -/* 80325BA0 00322B00 41 82 00 14 */ beq lbl_80325BB4 -/* 80325BA4 00322B04 7F 84 E3 78 */ mr r4, r28 -/* 80325BA8 00322B08 7F A5 EB 78 */ mr r5, r29 -/* 80325BAC 00322B0C 4B FF E7 65 */ bl __ct__11CMVEExplodeFP12CRealElementP12CRealElement -/* 80325BB0 00322B10 7C 60 1B 78 */ mr r0, r3 -lbl_80325BB4: -/* 80325BB4 00322B14 7C 1E 03 78 */ mr r30, r0 -/* 80325BB8 00322B18 48 00 03 E0 */ b lbl_80325F98 -lbl_80325BBC: -/* 80325BBC 00322B1C 7F E3 FB 78 */ mr r3, r31 -/* 80325BC0 00322B20 4B FF FC 3D */ bl GetModVectorElement__20CParticleDataFactoryFR12CInputStream -/* 80325BC4 00322B24 7C 60 1B 78 */ mr r0, r3 -/* 80325BC8 00322B28 7F E3 FB 78 */ mr r3, r31 -/* 80325BCC 00322B2C 7C 1C 03 78 */ mr r28, r0 -/* 80325BD0 00322B30 4B FF FC 2D */ bl GetModVectorElement__20CParticleDataFactoryFR12CInputStream -/* 80325BD4 00322B34 7C 60 1B 78 */ mr r0, r3 -/* 80325BD8 00322B38 7F E3 FB 78 */ mr r3, r31 -/* 80325BDC 00322B3C 7C 1D 03 78 */ mr r29, r0 -/* 80325BE0 00322B40 48 00 1F C5 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream -/* 80325BE4 00322B44 7C 60 1B 78 */ mr r0, r3 -/* 80325BE8 00322B48 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 80325BEC 00322B4C 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 80325BF0 00322B50 38 60 00 10 */ li r3, 0x10 -/* 80325BF4 00322B54 7C 1E 03 78 */ mr r30, r0 -/* 80325BF8 00322B58 38 A0 00 00 */ li r5, 0 -/* 80325BFC 00322B5C 48 04 6E 89 */ bl __nw__FUlPCcPCc_0 -/* 80325C00 00322B60 7C 60 1B 79 */ or. r0, r3, r3 -/* 80325C04 00322B64 41 82 00 18 */ beq lbl_80325C1C -/* 80325C08 00322B68 7F 84 E3 78 */ mr r4, r28 -/* 80325C0C 00322B6C 7F A5 EB 78 */ mr r5, r29 -/* 80325C10 00322B70 7F C6 F3 78 */ mr r6, r30 -/* 80325C14 00322B74 4B FF E4 81 */ bl __ct__13CMVETimeChainFP17CModVectorElementP17CModVectorElementP11CIntElement -/* 80325C18 00322B78 7C 60 1B 78 */ mr r0, r3 -lbl_80325C1C: -/* 80325C1C 00322B7C 7C 1E 03 78 */ mr r30, r0 -/* 80325C20 00322B80 48 00 03 78 */ b lbl_80325F98 -lbl_80325C24: -/* 80325C24 00322B84 7F E3 FB 78 */ mr r3, r31 -/* 80325C28 00322B88 48 00 1F 7D */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream -/* 80325C2C 00322B8C 7C 60 1B 78 */ mr r0, r3 -/* 80325C30 00322B90 7F E3 FB 78 */ mr r3, r31 -/* 80325C34 00322B94 7C 1C 03 78 */ mr r28, r0 -/* 80325C38 00322B98 48 00 1F 6D */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream -/* 80325C3C 00322B9C 7C 60 1B 78 */ mr r0, r3 -/* 80325C40 00322BA0 7F E3 FB 78 */ mr r3, r31 -/* 80325C44 00322BA4 7C 1D 03 78 */ mr r29, r0 -/* 80325C48 00322BA8 4B FF FB B5 */ bl GetModVectorElement__20CParticleDataFactoryFR12CInputStream -/* 80325C4C 00322BAC 7C 60 1B 78 */ mr r0, r3 -/* 80325C50 00322BB0 7F E3 FB 78 */ mr r3, r31 -/* 80325C54 00322BB4 7C 1E 03 78 */ mr r30, r0 -/* 80325C58 00322BB8 4B FF FB A5 */ bl GetModVectorElement__20CParticleDataFactoryFR12CInputStream -/* 80325C5C 00322BBC 7C 60 1B 78 */ mr r0, r3 -/* 80325C60 00322BC0 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 80325C64 00322BC4 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 80325C68 00322BC8 38 60 00 14 */ li r3, 0x14 -/* 80325C6C 00322BCC 7C 1F 03 78 */ mr r31, r0 -/* 80325C70 00322BD0 38 A0 00 00 */ li r5, 0 -/* 80325C74 00322BD4 48 04 6E 11 */ bl __nw__FUlPCcPCc_0 -/* 80325C78 00322BD8 7C 60 1B 79 */ or. r0, r3, r3 -/* 80325C7C 00322BDC 41 82 00 1C */ beq lbl_80325C98 -/* 80325C80 00322BE0 7F 84 E3 78 */ mr r4, r28 -/* 80325C84 00322BE4 7F A5 EB 78 */ mr r5, r29 -/* 80325C88 00322BE8 7F C6 F3 78 */ mr r6, r30 -/* 80325C8C 00322BEC 7F E7 FB 78 */ mr r7, r31 -/* 80325C90 00322BF0 4B FF E2 39 */ bl __ct__9CMVEPulseFP11CIntElementP11CIntElementP17CModVectorElementP17CModVectorElement -/* 80325C94 00322BF4 7C 60 1B 78 */ mr r0, r3 -lbl_80325C98: -/* 80325C98 00322BF8 7C 1E 03 78 */ mr r30, r0 -/* 80325C9C 00322BFC 48 00 02 FC */ b lbl_80325F98 -lbl_80325CA0: -/* 80325CA0 00322C00 7F E3 FB 78 */ mr r3, r31 -/* 80325CA4 00322C04 48 00 05 B1 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream -/* 80325CA8 00322C08 7C 60 1B 78 */ mr r0, r3 -/* 80325CAC 00322C0C 7F E3 FB 78 */ mr r3, r31 -/* 80325CB0 00322C10 7C 1C 03 78 */ mr r28, r0 -/* 80325CB4 00322C14 48 00 0F DD */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 80325CB8 00322C18 7C 60 1B 78 */ mr r0, r3 -/* 80325CBC 00322C1C 7F E3 FB 78 */ mr r3, r31 -/* 80325CC0 00322C20 7C 1D 03 78 */ mr r29, r0 -/* 80325CC4 00322C24 48 00 0F CD */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 80325CC8 00322C28 7C 60 1B 78 */ mr r0, r3 -/* 80325CCC 00322C2C 7F E3 FB 78 */ mr r3, r31 -/* 80325CD0 00322C30 7C 1E 03 78 */ mr r30, r0 -/* 80325CD4 00322C34 48 00 0F BD */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 80325CD8 00322C38 7C 60 1B 78 */ mr r0, r3 -/* 80325CDC 00322C3C 7F E3 FB 78 */ mr r3, r31 -/* 80325CE0 00322C40 7C 1F 03 78 */ mr r31, r0 -/* 80325CE4 00322C44 48 00 27 45 */ bl GetBool__20CParticleDataFactoryFR12CInputStream -/* 80325CE8 00322C48 7C 60 1B 78 */ mr r0, r3 -/* 80325CEC 00322C4C 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 80325CF0 00322C50 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 80325CF4 00322C54 38 60 00 18 */ li r3, 0x18 -/* 80325CF8 00322C58 7C 1B 03 78 */ mr r27, r0 -/* 80325CFC 00322C5C 38 A0 00 00 */ li r5, 0 -/* 80325D00 00322C60 48 04 6D 85 */ bl __nw__FUlPCcPCc_0 -/* 80325D04 00322C64 7C 60 1B 79 */ or. r0, r3, r3 -/* 80325D08 00322C68 41 82 00 20 */ beq lbl_80325D28 -/* 80325D0C 00322C6C 7F 84 E3 78 */ mr r4, r28 -/* 80325D10 00322C70 7F A5 EB 78 */ mr r5, r29 -/* 80325D14 00322C74 7F C6 F3 78 */ mr r6, r30 -/* 80325D18 00322C78 7F E7 FB 78 */ mr r7, r31 -/* 80325D1C 00322C7C 7F 68 DB 78 */ mr r8, r27 -/* 80325D20 00322C80 4B FF DF 4D */ bl __ct__13CMVEImplosionFP14CVectorElementP12CRealElementP12CRealElementP12CRealElementb -/* 80325D24 00322C84 7C 60 1B 78 */ mr r0, r3 -lbl_80325D28: -/* 80325D28 00322C88 7C 1E 03 78 */ mr r30, r0 -/* 80325D2C 00322C8C 48 00 02 6C */ b lbl_80325F98 -lbl_80325D30: -/* 80325D30 00322C90 7F E3 FB 78 */ mr r3, r31 -/* 80325D34 00322C94 48 00 05 21 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream -/* 80325D38 00322C98 7C 60 1B 78 */ mr r0, r3 -/* 80325D3C 00322C9C 7F E3 FB 78 */ mr r3, r31 -/* 80325D40 00322CA0 7C 1B 03 78 */ mr r27, r0 -/* 80325D44 00322CA4 48 00 0F 4D */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 80325D48 00322CA8 7C 60 1B 78 */ mr r0, r3 -/* 80325D4C 00322CAC 7F E3 FB 78 */ mr r3, r31 -/* 80325D50 00322CB0 7C 1C 03 78 */ mr r28, r0 -/* 80325D54 00322CB4 48 00 0F 3D */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 80325D58 00322CB8 7C 60 1B 78 */ mr r0, r3 -/* 80325D5C 00322CBC 7F E3 FB 78 */ mr r3, r31 -/* 80325D60 00322CC0 7C 1D 03 78 */ mr r29, r0 -/* 80325D64 00322CC4 48 00 0F 2D */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 80325D68 00322CC8 7C 60 1B 78 */ mr r0, r3 -/* 80325D6C 00322CCC 7F E3 FB 78 */ mr r3, r31 -/* 80325D70 00322CD0 7C 1E 03 78 */ mr r30, r0 -/* 80325D74 00322CD4 48 00 26 B5 */ bl GetBool__20CParticleDataFactoryFR12CInputStream -/* 80325D78 00322CD8 7C 60 1B 78 */ mr r0, r3 -/* 80325D7C 00322CDC 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 80325D80 00322CE0 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 80325D84 00322CE4 38 60 00 18 */ li r3, 0x18 -/* 80325D88 00322CE8 7C 1F 03 78 */ mr r31, r0 -/* 80325D8C 00322CEC 38 A0 00 00 */ li r5, 0 -/* 80325D90 00322CF0 48 04 6C F5 */ bl __nw__FUlPCcPCc_0 -/* 80325D94 00322CF4 7C 60 1B 79 */ or. r0, r3, r3 -/* 80325D98 00322CF8 41 82 00 20 */ beq lbl_80325DB8 -/* 80325D9C 00322CFC 7F 64 DB 78 */ mr r4, r27 -/* 80325DA0 00322D00 7F 85 E3 78 */ mr r5, r28 -/* 80325DA4 00322D04 7F A6 EB 78 */ mr r6, r29 -/* 80325DA8 00322D08 7F C7 F3 78 */ mr r7, r30 -/* 80325DAC 00322D0C 7F E8 FB 78 */ mr r8, r31 -/* 80325DB0 00322D10 4B FF DB AD */ bl __ct__19CMVELinearImplosionFP14CVectorElementP12CRealElementP12CRealElementP12CRealElementb -/* 80325DB4 00322D14 7C 60 1B 78 */ mr r0, r3 -lbl_80325DB8: -/* 80325DB8 00322D18 7C 1E 03 78 */ mr r30, r0 -/* 80325DBC 00322D1C 48 00 01 DC */ b lbl_80325F98 -lbl_80325DC0: -/* 80325DC0 00322D20 7F E3 FB 78 */ mr r3, r31 -/* 80325DC4 00322D24 48 00 04 91 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream -/* 80325DC8 00322D28 7C 60 1B 78 */ mr r0, r3 -/* 80325DCC 00322D2C 7F E3 FB 78 */ mr r3, r31 -/* 80325DD0 00322D30 7C 1B 03 78 */ mr r27, r0 -/* 80325DD4 00322D34 48 00 0E BD */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 80325DD8 00322D38 7C 60 1B 78 */ mr r0, r3 -/* 80325DDC 00322D3C 7F E3 FB 78 */ mr r3, r31 -/* 80325DE0 00322D40 7C 1C 03 78 */ mr r28, r0 -/* 80325DE4 00322D44 48 00 0E AD */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 80325DE8 00322D48 7C 60 1B 78 */ mr r0, r3 -/* 80325DEC 00322D4C 7F E3 FB 78 */ mr r3, r31 -/* 80325DF0 00322D50 7C 1D 03 78 */ mr r29, r0 -/* 80325DF4 00322D54 48 00 0E 9D */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 80325DF8 00322D58 7C 60 1B 78 */ mr r0, r3 -/* 80325DFC 00322D5C 7F E3 FB 78 */ mr r3, r31 -/* 80325E00 00322D60 7C 1E 03 78 */ mr r30, r0 -/* 80325E04 00322D64 48 00 26 25 */ bl GetBool__20CParticleDataFactoryFR12CInputStream -/* 80325E08 00322D68 7C 60 1B 78 */ mr r0, r3 -/* 80325E0C 00322D6C 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 80325E10 00322D70 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 80325E14 00322D74 38 60 00 18 */ li r3, 0x18 -/* 80325E18 00322D78 7C 1F 03 78 */ mr r31, r0 -/* 80325E1C 00322D7C 38 A0 00 00 */ li r5, 0 -/* 80325E20 00322D80 48 04 6C 65 */ bl __nw__FUlPCcPCc_0 -/* 80325E24 00322D84 7C 60 1B 79 */ or. r0, r3, r3 -/* 80325E28 00322D88 41 82 00 20 */ beq lbl_80325E48 -/* 80325E2C 00322D8C 7F 64 DB 78 */ mr r4, r27 -/* 80325E30 00322D90 7F 85 E3 78 */ mr r5, r28 -/* 80325E34 00322D94 7F A6 EB 78 */ mr r6, r29 -/* 80325E38 00322D98 7F C7 F3 78 */ mr r7, r30 -/* 80325E3C 00322D9C 7F E8 FB 78 */ mr r8, r31 -/* 80325E40 00322DA0 4B FF D8 25 */ bl __ct__24CMVEExponentialImplosionFP14CVectorElementP12CRealElementP12CRealElementP12CRealElementb -/* 80325E44 00322DA4 7C 60 1B 78 */ mr r0, r3 -lbl_80325E48: -/* 80325E48 00322DA8 7C 1E 03 78 */ mr r30, r0 -/* 80325E4C 00322DAC 48 00 01 4C */ b lbl_80325F98 -lbl_80325E50: -/* 80325E50 00322DB0 7F E3 FB 78 */ mr r3, r31 -/* 80325E54 00322DB4 48 00 04 01 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream -/* 80325E58 00322DB8 7C 60 1B 78 */ mr r0, r3 -/* 80325E5C 00322DBC 7F E3 FB 78 */ mr r3, r31 -/* 80325E60 00322DC0 7C 1B 03 78 */ mr r27, r0 -/* 80325E64 00322DC4 48 00 03 F1 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream -/* 80325E68 00322DC8 7C 60 1B 78 */ mr r0, r3 -/* 80325E6C 00322DCC 7F E3 FB 78 */ mr r3, r31 -/* 80325E70 00322DD0 7C 1C 03 78 */ mr r28, r0 -/* 80325E74 00322DD4 48 00 0E 1D */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 80325E78 00322DD8 7C 60 1B 78 */ mr r0, r3 -/* 80325E7C 00322DDC 7F E3 FB 78 */ mr r3, r31 -/* 80325E80 00322DE0 7C 1D 03 78 */ mr r29, r0 -/* 80325E84 00322DE4 48 00 0E 0D */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 80325E88 00322DE8 7C 60 1B 78 */ mr r0, r3 -/* 80325E8C 00322DEC 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 80325E90 00322DF0 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 80325E94 00322DF4 38 60 00 14 */ li r3, 0x14 -/* 80325E98 00322DF8 7C 1E 03 78 */ mr r30, r0 -/* 80325E9C 00322DFC 38 A0 00 00 */ li r5, 0 -/* 80325EA0 00322E00 48 04 6B E5 */ bl __nw__FUlPCcPCc_0 -/* 80325EA4 00322E04 7C 60 1B 79 */ or. r0, r3, r3 -/* 80325EA8 00322E08 41 82 00 1C */ beq lbl_80325EC4 -/* 80325EAC 00322E0C 7F 64 DB 78 */ mr r4, r27 -/* 80325EB0 00322E10 7F 85 E3 78 */ mr r5, r28 -/* 80325EB4 00322E14 7F A6 EB 78 */ mr r6, r29 -/* 80325EB8 00322E18 7F C7 F3 78 */ mr r7, r30 -/* 80325EBC 00322E1C 4B FF D4 81 */ bl __ct__9CMVESwirlFP14CVectorElementP14CVectorElementP12CRealElementP12CRealElement -/* 80325EC0 00322E20 7C 60 1B 78 */ mr r0, r3 -lbl_80325EC4: -/* 80325EC4 00322E24 7C 1E 03 78 */ mr r30, r0 -/* 80325EC8 00322E28 48 00 00 D0 */ b lbl_80325F98 -lbl_80325ECC: -/* 80325ECC 00322E2C 7F E3 FB 78 */ mr r3, r31 -/* 80325ED0 00322E30 48 00 03 85 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream -/* 80325ED4 00322E34 7C 60 1B 78 */ mr r0, r3 -/* 80325ED8 00322E38 7F E3 FB 78 */ mr r3, r31 -/* 80325EDC 00322E3C 7C 1B 03 78 */ mr r27, r0 -/* 80325EE0 00322E40 48 00 03 75 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream -/* 80325EE4 00322E44 7C 60 1B 78 */ mr r0, r3 -/* 80325EE8 00322E48 7F E3 FB 78 */ mr r3, r31 -/* 80325EEC 00322E4C 7C 1C 03 78 */ mr r28, r0 -/* 80325EF0 00322E50 48 00 0D A1 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 80325EF4 00322E54 7C 60 1B 78 */ mr r0, r3 -/* 80325EF8 00322E58 7F E3 FB 78 */ mr r3, r31 -/* 80325EFC 00322E5C 7C 1D 03 78 */ mr r29, r0 -/* 80325F00 00322E60 48 00 0D 91 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 80325F04 00322E64 7C 60 1B 78 */ mr r0, r3 -/* 80325F08 00322E68 7F E3 FB 78 */ mr r3, r31 -/* 80325F0C 00322E6C 7C 1E 03 78 */ mr r30, r0 -/* 80325F10 00322E70 48 00 25 19 */ bl GetBool__20CParticleDataFactoryFR12CInputStream -/* 80325F14 00322E74 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 80325F18 00322E78 7C 7F 1B 78 */ mr r31, r3 -/* 80325F1C 00322E7C 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 80325F20 00322E80 38 60 00 28 */ li r3, 0x28 -/* 80325F24 00322E84 38 A0 00 00 */ li r5, 0 -/* 80325F28 00322E88 48 04 6B 5D */ bl __nw__FUlPCcPCc_0 -/* 80325F2C 00322E8C 7C 60 1B 79 */ or. r0, r3, r3 -/* 80325F30 00322E90 41 82 00 20 */ beq lbl_80325F50 -/* 80325F34 00322E94 7F 64 DB 78 */ mr r4, r27 -/* 80325F38 00322E98 7F 85 E3 78 */ mr r5, r28 -/* 80325F3C 00322E9C 7F A6 EB 78 */ mr r6, r29 -/* 80325F40 00322EA0 7F C7 F3 78 */ mr r7, r30 -/* 80325F44 00322EA4 57 E8 06 3E */ clrlwi r8, r31, 0x18 -/* 80325F48 00322EA8 4B FF CF 61 */ bl __ct__10CMVEBounceFP14CVectorElementP14CVectorElementP12CRealElementP12CRealElementb -/* 80325F4C 00322EAC 7C 60 1B 78 */ mr r0, r3 -lbl_80325F50: -/* 80325F50 00322EB0 7C 1E 03 78 */ mr r30, r0 -/* 80325F54 00322EB4 48 00 00 44 */ b lbl_80325F98 -lbl_80325F58: -/* 80325F58 00322EB8 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 80325F5C 00322EBC 38 60 00 08 */ li r3, 8 -/* 80325F60 00322EC0 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 80325F64 00322EC4 38 A0 00 00 */ li r5, 0 -/* 80325F68 00322EC8 48 04 6B 1D */ bl __nw__FUlPCcPCc_0 -/* 80325F6C 00322ECC 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80325F70 00322ED0 41 82 00 28 */ beq lbl_80325F98 -/* 80325F74 00322ED4 7F E3 FB 78 */ mr r3, r31 -/* 80325F78 00322ED8 48 00 02 DD */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream -/* 80325F7C 00322EDC 7C 64 1B 78 */ mr r4, r3 -/* 80325F80 00322EE0 7F C3 F3 78 */ mr r3, r30 -/* 80325F84 00322EE4 4B FF CB 49 */ bl __ct__15CMVESetPositionFP14CVectorElement -/* 80325F88 00322EE8 7C 7E 1B 78 */ mr r30, r3 -/* 80325F8C 00322EEC 48 00 00 0C */ b lbl_80325F98 -lbl_80325F90: -/* 80325F90 00322EF0 38 60 00 00 */ li r3, 0 -/* 80325F94 00322EF4 48 00 00 08 */ b lbl_80325F9C -lbl_80325F98: -/* 80325F98 00322EF8 7F C3 F3 78 */ mr r3, r30 -lbl_80325F9C: -/* 80325F9C 00322EFC BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 80325FA0 00322F00 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80325FA4 00322F04 7C 08 03 A6 */ mtlr r0 -/* 80325FA8 00322F08 38 21 00 30 */ addi r1, r1, 0x30 -/* 80325FAC 00322F0C 4E 80 00 20 */ blr - -.global GetEmitterElement__20CParticleDataFactoryFR12CInputStream -GetEmitterElement__20CParticleDataFactoryFR12CInputStream: -/* 80325FB0 00322F10 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80325FB4 00322F14 7C 08 02 A6 */ mflr r0 -/* 80325FB8 00322F18 90 01 00 34 */ stw r0, 0x34(r1) -/* 80325FBC 00322F1C BF 21 00 14 */ stmw r25, 0x14(r1) -/* 80325FC0 00322F20 7C 7F 1B 78 */ mr r31, r3 -/* 80325FC4 00322F24 48 00 24 99 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream -/* 80325FC8 00322F28 3C A0 53 45 */ lis r5, 0x53454D52@ha -/* 80325FCC 00322F2C 38 05 4D 52 */ addi r0, r5, 0x53454D52@l -/* 80325FD0 00322F30 7C 03 00 00 */ cmpw r3, r0 -/* 80325FD4 00322F34 41 82 00 F4 */ beq lbl_803260C8 -/* 80325FD8 00322F38 40 80 00 2C */ bge lbl_80326004 -/* 80325FDC 00322F3C 3C 80 4E 4F */ lis r4, 0x4E4F4E45@ha -/* 80325FE0 00322F40 38 04 4E 45 */ addi r0, r4, 0x4E4F4E45@l -/* 80325FE4 00322F44 7C 03 00 00 */ cmpw r3, r0 -/* 80325FE8 00322F48 41 82 00 40 */ beq lbl_80326028 -/* 80325FEC 00322F4C 40 80 02 50 */ bge lbl_8032623C -/* 80325FF0 00322F50 3C 80 41 53 */ lis r4, 0x41535048@ha -/* 80325FF4 00322F54 38 04 50 48 */ addi r0, r4, 0x41535048@l -/* 80325FF8 00322F58 7C 03 00 00 */ cmpw r3, r0 -/* 80325FFC 00322F5C 41 82 01 88 */ beq lbl_80326184 -/* 80326000 00322F60 48 00 02 3C */ b lbl_8032623C -lbl_80326004: -/* 80326004 00322F64 3C 80 53 50 */ lis r4, 0x53504845@ha -/* 80326008 00322F68 38 04 48 45 */ addi r0, r4, 0x53504845@l -/* 8032600C 00322F6C 7C 03 00 00 */ cmpw r3, r0 -/* 80326010 00322F70 41 82 01 0C */ beq lbl_8032611C -/* 80326014 00322F74 40 80 02 28 */ bge lbl_8032623C -/* 80326018 00322F78 38 05 54 52 */ addi r0, r5, 0x5452 -/* 8032601C 00322F7C 7C 03 00 00 */ cmpw r3, r0 -/* 80326020 00322F80 41 82 00 10 */ beq lbl_80326030 -/* 80326024 00322F84 48 00 02 18 */ b lbl_8032623C -lbl_80326028: -/* 80326028 00322F88 38 60 00 00 */ li r3, 0 -/* 8032602C 00322F8C 48 00 02 14 */ b lbl_80326240 -lbl_80326030: -/* 80326030 00322F90 7F E3 FB 78 */ mr r3, r31 -/* 80326034 00322F94 48 00 24 29 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream -/* 80326038 00322F98 3C 03 B6 B4 */ addis r0, r3, 0xb6b4 -/* 8032603C 00322F9C 3B C0 00 00 */ li r30, 0 -/* 80326040 00322FA0 28 00 4F 43 */ cmplwi r0, 0x4f43 -/* 80326044 00322FA4 3B A0 00 00 */ li r29, 0 -/* 80326048 00322FA8 3B 80 00 00 */ li r28, 0 -/* 8032604C 00322FAC 40 82 00 38 */ bne lbl_80326084 -/* 80326050 00322FB0 7F E3 FB 78 */ mr r3, r31 -/* 80326054 00322FB4 48 00 02 01 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream -/* 80326058 00322FB8 7C 60 1B 78 */ mr r0, r3 -/* 8032605C 00322FBC 7F E3 FB 78 */ mr r3, r31 -/* 80326060 00322FC0 7C 1E 03 78 */ mr r30, r0 -/* 80326064 00322FC4 48 00 23 F9 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream -/* 80326068 00322FC8 3C 03 B6 AA */ addis r0, r3, 0xb6aa -/* 8032606C 00322FCC 28 00 45 43 */ cmplwi r0, 0x4543 -/* 80326070 00322FD0 40 82 00 14 */ bne lbl_80326084 -/* 80326074 00322FD4 7F E3 FB 78 */ mr r3, r31 -/* 80326078 00322FD8 48 00 01 DD */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream -/* 8032607C 00322FDC 3B 80 00 01 */ li r28, 1 -/* 80326080 00322FE0 7C 7D 1B 78 */ mr r29, r3 -lbl_80326084: -/* 80326084 00322FE4 57 80 06 3F */ clrlwi. r0, r28, 0x18 -/* 80326088 00322FE8 41 82 00 34 */ beq lbl_803260BC -/* 8032608C 00322FEC 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 80326090 00322FF0 38 60 00 0C */ li r3, 0xc -/* 80326094 00322FF4 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 80326098 00322FF8 38 A0 00 00 */ li r5, 0 -/* 8032609C 00322FFC 48 04 69 E9 */ bl __nw__FUlPCcPCc_0 -/* 803260A0 00323000 7C 60 1B 79 */ or. r0, r3, r3 -/* 803260A4 00323004 41 82 00 1C */ beq lbl_803260C0 -/* 803260A8 00323008 7F C4 F3 78 */ mr r4, r30 -/* 803260AC 0032300C 7F A5 EB 78 */ mr r5, r29 -/* 803260B0 00323010 48 03 12 39 */ bl __ct__16CEESimpleEmitterFP14CVectorElementP14CVectorElement -/* 803260B4 00323014 7C 60 1B 78 */ mr r0, r3 -/* 803260B8 00323018 48 00 00 08 */ b lbl_803260C0 -lbl_803260BC: -/* 803260BC 0032301C 38 00 00 00 */ li r0, 0 -lbl_803260C0: -/* 803260C0 00323020 7C 03 03 78 */ mr r3, r0 -/* 803260C4 00323024 48 00 01 7C */ b lbl_80326240 -lbl_803260C8: -/* 803260C8 00323028 7F E3 FB 78 */ mr r3, r31 -/* 803260CC 0032302C 48 00 01 89 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream -/* 803260D0 00323030 7C 60 1B 78 */ mr r0, r3 -/* 803260D4 00323034 7F E3 FB 78 */ mr r3, r31 -/* 803260D8 00323038 7C 1C 03 78 */ mr r28, r0 -/* 803260DC 0032303C 48 00 01 79 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream -/* 803260E0 00323040 7C 60 1B 78 */ mr r0, r3 -/* 803260E4 00323044 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 803260E8 00323048 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 803260EC 0032304C 38 60 00 0C */ li r3, 0xc -/* 803260F0 00323050 7C 1D 03 78 */ mr r29, r0 -/* 803260F4 00323054 38 A0 00 00 */ li r5, 0 -/* 803260F8 00323058 48 04 69 8D */ bl __nw__FUlPCcPCc_0 -/* 803260FC 0032305C 7C 60 1B 79 */ or. r0, r3, r3 -/* 80326100 00323060 41 82 00 14 */ beq lbl_80326114 -/* 80326104 00323064 7F 84 E3 78 */ mr r4, r28 -/* 80326108 00323068 7F A5 EB 78 */ mr r5, r29 -/* 8032610C 0032306C 48 03 11 DD */ bl __ct__16CEESimpleEmitterFP14CVectorElementP14CVectorElement -/* 80326110 00323070 7C 60 1B 78 */ mr r0, r3 -lbl_80326114: -/* 80326114 00323074 7C 03 03 78 */ mr r3, r0 -/* 80326118 00323078 48 00 01 28 */ b lbl_80326240 -lbl_8032611C: -/* 8032611C 0032307C 7F E3 FB 78 */ mr r3, r31 -/* 80326120 00323080 48 00 01 35 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream -/* 80326124 00323084 7C 60 1B 78 */ mr r0, r3 -/* 80326128 00323088 7F E3 FB 78 */ mr r3, r31 -/* 8032612C 0032308C 7C 1C 03 78 */ mr r28, r0 -/* 80326130 00323090 48 00 0B 61 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 80326134 00323094 7C 60 1B 78 */ mr r0, r3 -/* 80326138 00323098 7F E3 FB 78 */ mr r3, r31 -/* 8032613C 0032309C 7C 1D 03 78 */ mr r29, r0 -/* 80326140 003230A0 48 00 0B 51 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 80326144 003230A4 7C 60 1B 78 */ mr r0, r3 -/* 80326148 003230A8 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 8032614C 003230AC 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 80326150 003230B0 38 60 00 10 */ li r3, 0x10 -/* 80326154 003230B4 7C 1E 03 78 */ mr r30, r0 -/* 80326158 003230B8 38 A0 00 00 */ li r5, 0 -/* 8032615C 003230BC 48 04 69 29 */ bl __nw__FUlPCcPCc_0 -/* 80326160 003230C0 7C 60 1B 79 */ or. r0, r3, r3 -/* 80326164 003230C4 41 82 00 18 */ beq lbl_8032617C -/* 80326168 003230C8 7F 84 E3 78 */ mr r4, r28 -/* 8032616C 003230CC 7F A5 EB 78 */ mr r5, r29 -/* 80326170 003230D0 7F C6 F3 78 */ mr r6, r30 -/* 80326174 003230D4 48 03 0F E5 */ bl __ct__9CVESphereFP14CVectorElementP12CRealElementP12CRealElement -/* 80326178 003230D8 7C 60 1B 78 */ mr r0, r3 -lbl_8032617C: -/* 8032617C 003230DC 7C 03 03 78 */ mr r3, r0 -/* 80326180 003230E0 48 00 00 C0 */ b lbl_80326240 -lbl_80326184: -/* 80326184 003230E4 7F E3 FB 78 */ mr r3, r31 -/* 80326188 003230E8 48 00 00 CD */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream -/* 8032618C 003230EC 7C 60 1B 78 */ mr r0, r3 -/* 80326190 003230F0 7F E3 FB 78 */ mr r3, r31 -/* 80326194 003230F4 7C 1C 03 78 */ mr r28, r0 -/* 80326198 003230F8 48 00 0A F9 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 8032619C 003230FC 7C 60 1B 78 */ mr r0, r3 -/* 803261A0 00323100 7F E3 FB 78 */ mr r3, r31 -/* 803261A4 00323104 7C 1D 03 78 */ mr r29, r0 -/* 803261A8 00323108 48 00 0A E9 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 803261AC 0032310C 7C 60 1B 78 */ mr r0, r3 -/* 803261B0 00323110 7F E3 FB 78 */ mr r3, r31 -/* 803261B4 00323114 7C 1E 03 78 */ mr r30, r0 -/* 803261B8 00323118 48 00 0A D9 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 803261BC 0032311C 7C 60 1B 78 */ mr r0, r3 -/* 803261C0 00323120 7F E3 FB 78 */ mr r3, r31 -/* 803261C4 00323124 7C 1B 03 78 */ mr r27, r0 -/* 803261C8 00323128 48 00 0A C9 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 803261CC 0032312C 7C 60 1B 78 */ mr r0, r3 -/* 803261D0 00323130 7F E3 FB 78 */ mr r3, r31 -/* 803261D4 00323134 7C 1A 03 78 */ mr r26, r0 -/* 803261D8 00323138 48 00 0A B9 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 803261DC 0032313C 7C 60 1B 78 */ mr r0, r3 -/* 803261E0 00323140 7F E3 FB 78 */ mr r3, r31 -/* 803261E4 00323144 7C 1F 03 78 */ mr r31, r0 -/* 803261E8 00323148 48 00 0A A9 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 803261EC 0032314C 7C 60 1B 78 */ mr r0, r3 -/* 803261F0 00323150 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 803261F4 00323154 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 803261F8 00323158 38 60 00 20 */ li r3, 0x20 -/* 803261FC 0032315C 7C 19 03 78 */ mr r25, r0 -/* 80326200 00323160 38 A0 00 00 */ li r5, 0 -/* 80326204 00323164 48 04 68 81 */ bl __nw__FUlPCcPCc_0 -/* 80326208 00323168 7C 60 1B 79 */ or. r0, r3, r3 -/* 8032620C 0032316C 41 82 00 28 */ beq lbl_80326234 -/* 80326210 00323170 7F 84 E3 78 */ mr r4, r28 -/* 80326214 00323174 7F E5 FB 78 */ mr r5, r31 -/* 80326218 00323178 7F 26 CB 78 */ mr r6, r25 -/* 8032621C 0032317C 7F A7 EB 78 */ mr r7, r29 -/* 80326220 00323180 7F C8 F3 78 */ mr r8, r30 -/* 80326224 00323184 7F 69 DB 78 */ mr r9, r27 -/* 80326228 00323188 7F 4A D3 78 */ mr r10, r26 -/* 8032622C 0032318C 48 03 0A D5 */ bl __ct__14CVEAngleSphereFP14CVectorElementP12CRealElementP12CRealElementP12CRealElementP12CRealElementP12CRealElementP12CRealElement -/* 80326230 00323190 7C 60 1B 78 */ mr r0, r3 -lbl_80326234: -/* 80326234 00323194 7C 03 03 78 */ mr r3, r0 -/* 80326238 00323198 48 00 00 08 */ b lbl_80326240 -lbl_8032623C: -/* 8032623C 0032319C 38 60 00 00 */ li r3, 0 -lbl_80326240: -/* 80326240 003231A0 BB 21 00 14 */ lmw r25, 0x14(r1) -/* 80326244 003231A4 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80326248 003231A8 7C 08 03 A6 */ mtlr r0 -/* 8032624C 003231AC 38 21 00 30 */ addi r1, r1, 0x30 -/* 80326250 003231B0 4E 80 00 20 */ blr - -.global GetVectorElement__20CParticleDataFactoryFR12CInputStream -GetVectorElement__20CParticleDataFactoryFR12CInputStream: -/* 80326254 003231B4 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80326258 003231B8 7C 08 02 A6 */ mflr r0 -/* 8032625C 003231BC 90 01 00 34 */ stw r0, 0x34(r1) -/* 80326260 003231C0 BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 80326264 003231C4 7C 7F 1B 78 */ mr r31, r3 -/* 80326268 003231C8 48 00 21 F5 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream -/* 8032626C 003231CC 3C 80 4E 4F */ lis r4, 0x4E4F4E45@ha -/* 80326270 003231D0 38 04 4E 45 */ addi r0, r4, 0x4E4F4E45@l -/* 80326274 003231D4 7C 03 00 00 */ cmpw r3, r0 -/* 80326278 003231D8 41 82 01 98 */ beq lbl_80326410 -/* 8032627C 003231DC 40 80 00 DC */ bge lbl_80326358 -/* 80326280 003231E0 3C 80 43 4E */ lis r4, 0x434E5354@ha -/* 80326284 003231E4 38 04 53 54 */ addi r0, r4, 0x434E5354@l -/* 80326288 003231E8 7C 03 00 00 */ cmpw r3, r0 -/* 8032628C 003231EC 41 82 01 8C */ beq lbl_80326418 -/* 80326290 003231F0 40 80 00 68 */ bge lbl_803262F8 -/* 80326294 003231F4 3C 80 43 43 */ lis r4, 0x43434C55@ha -/* 80326298 003231F8 38 04 4C 55 */ addi r0, r4, 0x43434C55@l -/* 8032629C 003231FC 7C 03 00 00 */ cmpw r3, r0 -/* 803262A0 00323200 41 82 05 20 */ beq lbl_803267C0 -/* 803262A4 00323204 40 80 00 2C */ bge lbl_803262D0 -/* 803262A8 00323208 3C 80 41 4E */ lis r4, 0x414E4743@ha -/* 803262AC 0032320C 38 04 47 43 */ addi r0, r4, 0x414E4743@l -/* 803262B0 00323210 7C 03 00 00 */ cmpw r3, r0 -/* 803262B4 00323214 41 82 03 98 */ beq lbl_8032664C -/* 803262B8 00323218 40 80 09 C0 */ bge lbl_80326C78 -/* 803262BC 0032321C 3C 80 41 44 */ lis r4, 0x4144445F@ha -/* 803262C0 00323220 38 04 44 5F */ addi r0, r4, 0x4144445F@l -/* 803262C4 00323224 7C 03 00 00 */ cmpw r3, r0 -/* 803262C8 00323228 41 82 05 74 */ beq lbl_8032683C -/* 803262CC 0032322C 48 00 09 AC */ b lbl_80326C78 -lbl_803262D0: -/* 803262D0 00323230 3C 80 43 49 */ lis r4, 0x43495243@ha -/* 803262D4 00323234 38 04 52 43 */ addi r0, r4, 0x43495243@l -/* 803262D8 00323238 7C 03 00 00 */ cmpw r3, r0 -/* 803262DC 0032323C 41 82 04 54 */ beq lbl_80326730 -/* 803262E0 00323240 40 80 09 98 */ bge lbl_80326C78 -/* 803262E4 00323244 3C 80 43 48 */ lis r4, 0x4348414E@ha -/* 803262E8 00323248 38 04 41 4E */ addi r0, r4, 0x4348414E@l -/* 803262EC 0032324C 7C 03 00 00 */ cmpw r3, r0 -/* 803262F0 00323250 41 82 05 F4 */ beq lbl_803268E4 -/* 803262F4 00323254 48 00 09 84 */ b lbl_80326C78 -lbl_803262F8: -/* 803262F8 00323258 3C A0 4B 45 */ lis r5, 0x4B455945@ha -/* 803262FC 0032325C 38 05 59 45 */ addi r0, r5, 0x4B455945@l -/* 80326300 00323260 7C 03 00 00 */ cmpw r3, r0 -/* 80326304 00323264 41 82 03 18 */ beq lbl_8032661C -/* 80326308 00323268 40 80 00 2C */ bge lbl_80326334 -/* 8032630C 0032326C 3C 80 43 54 */ lis r4, 0x43545643@ha -/* 80326310 00323270 38 04 56 43 */ addi r0, r4, 0x43545643@l -/* 80326314 00323274 7C 03 00 00 */ cmpw r3, r0 -/* 80326318 00323278 41 82 09 20 */ beq lbl_80326C38 -/* 8032631C 0032327C 40 80 09 5C */ bge lbl_80326C78 -/* 80326320 00323280 3C 80 43 4F */ lis r4, 0x434F4E45@ha -/* 80326324 00323284 38 04 4E 45 */ addi r0, r4, 0x434F4E45@l -/* 80326328 00323288 7C 03 00 00 */ cmpw r3, r0 -/* 8032632C 0032328C 41 82 03 B0 */ beq lbl_803266DC -/* 80326330 00323290 48 00 09 48 */ b lbl_80326C78 -lbl_80326334: -/* 80326334 00323294 3C 80 4D 55 */ lis r4, 0x4D554C54@ha -/* 80326338 00323298 38 04 4C 54 */ addi r0, r4, 0x4D554C54@l -/* 8032633C 0032329C 7C 03 00 00 */ cmpw r3, r0 -/* 80326340 003232A0 41 82 05 50 */ beq lbl_80326890 -/* 80326344 003232A4 40 80 09 34 */ bge lbl_80326C78 -/* 80326348 003232A8 38 05 59 50 */ addi r0, r5, 0x5950 -/* 8032634C 003232AC 7C 03 00 00 */ cmpw r3, r0 -/* 80326350 003232B0 41 82 02 CC */ beq lbl_8032661C -/* 80326354 003232B4 48 00 09 24 */ b lbl_80326C78 -lbl_80326358: -/* 80326358 003232B8 3C 80 50 53 */ lis r4, 0x50535452@ha -/* 8032635C 003232BC 38 04 54 52 */ addi r0, r4, 0x50535452@l -/* 80326360 003232C0 7C 03 00 00 */ cmpw r3, r0 -/* 80326364 003232C4 41 82 08 3C */ beq lbl_80326BA0 -/* 80326368 003232C8 40 80 00 58 */ bge lbl_803263C0 -/* 8032636C 003232CC 38 04 4F 46 */ addi r0, r4, 0x4f46 -/* 80326370 003232D0 7C 03 00 00 */ cmpw r3, r0 -/* 80326374 003232D4 41 82 07 60 */ beq lbl_80326AD4 -/* 80326378 003232D8 40 80 00 28 */ bge lbl_803263A0 -/* 8032637C 003232DC 3C 80 50 4C */ lis r4, 0x504C4F43@ha -/* 80326380 003232E0 38 04 4F 43 */ addi r0, r4, 0x504C4F43@l -/* 80326384 003232E4 7C 03 00 00 */ cmpw r3, r0 -/* 80326388 003232E8 41 82 06 80 */ beq lbl_80326A08 -/* 8032638C 003232EC 40 80 08 EC */ bge lbl_80326C78 -/* 80326390 003232F0 38 04 43 4F */ addi r0, r4, 0x434f -/* 80326394 003232F4 7C 03 00 00 */ cmpw r3, r0 -/* 80326398 003232F8 41 82 06 B4 */ beq lbl_80326A4C -/* 8032639C 003232FC 48 00 08 DC */ b lbl_80326C78 -lbl_803263A0: -/* 803263A0 00323300 38 04 4F 55 */ addi r0, r4, 0x4f55 -/* 803263A4 00323304 7C 03 00 00 */ cmpw r3, r0 -/* 803263A8 00323308 41 82 07 70 */ beq lbl_80326B18 -/* 803263AC 0032330C 40 80 08 CC */ bge lbl_80326C78 -/* 803263B0 00323310 38 04 4F 52 */ addi r0, r4, 0x4f52 -/* 803263B4 00323314 7C 03 00 00 */ cmpw r3, r0 -/* 803263B8 00323318 41 82 07 A4 */ beq lbl_80326B5C -/* 803263BC 0032331C 48 00 08 BC */ b lbl_80326C78 -lbl_803263C0: -/* 803263C0 00323320 3C 80 52 54 */ lis r4, 0x52544F56@ha -/* 803263C4 00323324 38 04 4F 56 */ addi r0, r4, 0x52544F56@l -/* 803263C8 00323328 7C 03 00 00 */ cmpw r3, r0 -/* 803263CC 0032332C 41 82 05 FC */ beq lbl_803269C8 -/* 803263D0 00323330 40 80 00 2C */ bge lbl_803263FC -/* 803263D4 00323334 3C 80 50 56 */ lis r4, 0x5056454C@ha -/* 803263D8 00323338 38 04 45 4C */ addi r0, r4, 0x5056454C@l -/* 803263DC 0032333C 7C 03 00 00 */ cmpw r3, r0 -/* 803263E0 00323340 41 82 06 B0 */ beq lbl_80326A90 -/* 803263E4 00323344 40 80 08 94 */ bge lbl_80326C78 -/* 803263E8 00323348 3C 80 50 55 */ lis r4, 0x50554C53@ha -/* 803263EC 0032334C 38 04 4C 53 */ addi r0, r4, 0x50554C53@l -/* 803263F0 00323350 7C 03 00 00 */ cmpw r3, r0 -/* 803263F4 00323354 41 82 05 58 */ beq lbl_8032694C -/* 803263F8 00323358 48 00 08 80 */ b lbl_80326C78 -lbl_803263FC: -/* 803263FC 0032335C 3C 80 53 55 */ lis r4, 0x5355425F@ha -/* 80326400 00323360 38 04 42 5F */ addi r0, r4, 0x5355425F@l -/* 80326404 00323364 7C 03 00 00 */ cmpw r3, r0 -/* 80326408 00323368 41 82 07 DC */ beq lbl_80326BE4 -/* 8032640C 0032336C 48 00 08 6C */ b lbl_80326C78 -lbl_80326410: -/* 80326410 00323370 38 60 00 00 */ li r3, 0 -/* 80326414 00323374 48 00 08 68 */ b lbl_80326C7C -lbl_80326418: -/* 80326418 00323378 83 AD A8 C8 */ lwz r29, lbl_805A9488@sda21(r13) -/* 8032641C 0032337C 28 1D 00 00 */ cmplwi r29, 0 -/* 80326420 00323380 41 82 00 14 */ beq lbl_80326434 -/* 80326424 00323384 7F A3 EB 78 */ mr r3, r29 -/* 80326428 00323388 48 04 66 85 */ bl sub_8036caac -/* 8032642C 0032338C 7C 7E 1B 78 */ mr r30, r3 -/* 80326430 00323390 48 00 00 08 */ b lbl_80326438 -lbl_80326434: -/* 80326434 00323394 3B C0 00 00 */ li r30, 0 -lbl_80326438: -/* 80326438 00323398 7F E3 FB 78 */ mr r3, r31 -/* 8032643C 0032339C 48 00 08 55 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 80326440 003233A0 7C 60 1B 78 */ mr r0, r3 -/* 80326444 003233A4 7F E3 FB 78 */ mr r3, r31 -/* 80326448 003233A8 7C 1C 03 78 */ mr r28, r0 -/* 8032644C 003233AC 48 00 08 45 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 80326450 003233B0 7C 60 1B 78 */ mr r0, r3 -/* 80326454 003233B4 7F E3 FB 78 */ mr r3, r31 -/* 80326458 003233B8 7C 1F 03 78 */ mr r31, r0 -/* 8032645C 003233BC 48 00 08 35 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 80326460 003233C0 28 1C 00 00 */ cmplwi r28, 0 -/* 80326464 003233C4 7C 7B 1B 78 */ mr r27, r3 -/* 80326468 003233C8 41 82 01 7C */ beq lbl_803265E4 -/* 8032646C 003233CC 28 1F 00 00 */ cmplwi r31, 0 -/* 80326470 003233D0 41 82 01 74 */ beq lbl_803265E4 -/* 80326474 003233D4 28 1B 00 00 */ cmplwi r27, 0 -/* 80326478 003233D8 41 82 01 6C */ beq lbl_803265E4 -/* 8032647C 003233DC 7F 83 E3 78 */ mr r3, r28 -/* 80326480 003233E0 81 9C 00 00 */ lwz r12, 0(r28) -/* 80326484 003233E4 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80326488 003233E8 7D 89 03 A6 */ mtctr r12 -/* 8032648C 003233EC 4E 80 04 21 */ bctrl -/* 80326490 003233F0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80326494 003233F4 41 82 01 50 */ beq lbl_803265E4 -/* 80326498 003233F8 7F E3 FB 78 */ mr r3, r31 -/* 8032649C 003233FC 81 9F 00 00 */ lwz r12, 0(r31) -/* 803264A0 00323400 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 803264A4 00323404 7D 89 03 A6 */ mtctr r12 -/* 803264A8 00323408 4E 80 04 21 */ bctrl -/* 803264AC 0032340C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 803264B0 00323410 41 82 01 34 */ beq lbl_803265E4 -/* 803264B4 00323414 7F 63 DB 78 */ mr r3, r27 -/* 803264B8 00323418 81 9B 00 00 */ lwz r12, 0(r27) -/* 803264BC 0032341C 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 803264C0 00323420 7D 89 03 A6 */ mtctr r12 -/* 803264C4 00323424 4E 80 04 21 */ bctrl -/* 803264C8 00323428 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 803264CC 0032342C 41 82 01 18 */ beq lbl_803265E4 -/* 803264D0 00323430 7F 83 E3 78 */ mr r3, r28 -/* 803264D4 00323434 38 A1 00 10 */ addi r5, r1, 0x10 -/* 803264D8 00323438 81 9C 00 00 */ lwz r12, 0(r28) -/* 803264DC 0032343C 38 80 00 00 */ li r4, 0 -/* 803264E0 00323440 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 803264E4 00323444 7D 89 03 A6 */ mtctr r12 -/* 803264E8 00323448 4E 80 04 21 */ bctrl -/* 803264EC 0032344C 7F E3 FB 78 */ mr r3, r31 -/* 803264F0 00323450 38 A1 00 0C */ addi r5, r1, 0xc -/* 803264F4 00323454 81 9F 00 00 */ lwz r12, 0(r31) -/* 803264F8 00323458 38 80 00 00 */ li r4, 0 -/* 803264FC 0032345C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80326500 00323460 7D 89 03 A6 */ mtctr r12 -/* 80326504 00323464 4E 80 04 21 */ bctrl -/* 80326508 00323468 7F 63 DB 78 */ mr r3, r27 -/* 8032650C 0032346C 38 A1 00 08 */ addi r5, r1, 8 -/* 80326510 00323470 81 9B 00 00 */ lwz r12, 0(r27) -/* 80326514 00323474 38 80 00 00 */ li r4, 0 -/* 80326518 00323478 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8032651C 0032347C 7D 89 03 A6 */ mtctr r12 -/* 80326520 00323480 4E 80 04 21 */ bctrl -/* 80326524 00323484 28 1C 00 00 */ cmplwi r28, 0 -/* 80326528 00323488 41 82 00 1C */ beq lbl_80326544 -/* 8032652C 0032348C 7F 83 E3 78 */ mr r3, r28 -/* 80326530 00323490 38 80 00 01 */ li r4, 1 -/* 80326534 00323494 81 9C 00 00 */ lwz r12, 0(r28) -/* 80326538 00323498 81 8C 00 08 */ lwz r12, 8(r12) -/* 8032653C 0032349C 7D 89 03 A6 */ mtctr r12 -/* 80326540 003234A0 4E 80 04 21 */ bctrl -lbl_80326544: -/* 80326544 003234A4 28 1F 00 00 */ cmplwi r31, 0 -/* 80326548 003234A8 41 82 00 1C */ beq lbl_80326564 -/* 8032654C 003234AC 7F E3 FB 78 */ mr r3, r31 -/* 80326550 003234B0 38 80 00 01 */ li r4, 1 -/* 80326554 003234B4 81 9F 00 00 */ lwz r12, 0(r31) -/* 80326558 003234B8 81 8C 00 08 */ lwz r12, 8(r12) -/* 8032655C 003234BC 7D 89 03 A6 */ mtctr r12 -/* 80326560 003234C0 4E 80 04 21 */ bctrl -lbl_80326564: -/* 80326564 003234C4 28 1B 00 00 */ cmplwi r27, 0 -/* 80326568 003234C8 41 82 00 1C */ beq lbl_80326584 -/* 8032656C 003234CC 7F 63 DB 78 */ mr r3, r27 -/* 80326570 003234D0 38 80 00 01 */ li r4, 1 -/* 80326574 003234D4 81 9B 00 00 */ lwz r12, 0(r27) -/* 80326578 003234D8 81 8C 00 08 */ lwz r12, 8(r12) -/* 8032657C 003234DC 7D 89 03 A6 */ mtctr r12 -/* 80326580 003234E0 4E 80 04 21 */ bctrl -lbl_80326584: -/* 80326584 003234E4 28 1D 00 00 */ cmplwi r29, 0 -/* 80326588 003234E8 41 82 00 24 */ beq lbl_803265AC -/* 8032658C 003234EC 80 0D A8 C8 */ lwz r0, lbl_805A9488@sda21(r13) -/* 80326590 003234F0 7C 1D 00 40 */ cmplw r29, r0 -/* 80326594 003234F4 40 82 00 18 */ bne lbl_803265AC -/* 80326598 003234F8 7F A3 EB 78 */ mr r3, r29 -/* 8032659C 003234FC 48 04 65 11 */ bl sub_8036caac -/* 803265A0 00323500 7C 9E 18 50 */ subf r4, r30, r3 -/* 803265A4 00323504 7F A3 EB 78 */ mr r3, r29 -/* 803265A8 00323508 48 04 65 11 */ bl sub_8036cab8 -lbl_803265AC: -/* 803265AC 0032350C 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 803265B0 00323510 38 60 00 10 */ li r3, 0x10 -/* 803265B4 00323514 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 803265B8 00323518 38 A0 00 00 */ li r5, 0 -/* 803265BC 0032351C 48 04 64 C9 */ bl __nw__FUlPCcPCc_0 -/* 803265C0 00323520 7C 60 1B 79 */ or. r0, r3, r3 -/* 803265C4 00323524 41 82 00 18 */ beq lbl_803265DC -/* 803265C8 00323528 C0 21 00 10 */ lfs f1, 0x10(r1) -/* 803265CC 0032352C C0 41 00 0C */ lfs f2, 0xc(r1) -/* 803265D0 00323530 C0 61 00 08 */ lfs f3, 8(r1) -/* 803265D4 00323534 48 01 04 E5 */ bl __ct__15CVEFastConstantFfff -/* 803265D8 00323538 7C 60 1B 78 */ mr r0, r3 -lbl_803265DC: -/* 803265DC 0032353C 7C 03 03 78 */ mr r3, r0 -/* 803265E0 00323540 48 00 06 9C */ b lbl_80326C7C -lbl_803265E4: -/* 803265E4 00323544 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 803265E8 00323548 38 60 00 10 */ li r3, 0x10 -/* 803265EC 0032354C 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 803265F0 00323550 38 A0 00 00 */ li r5, 0 -/* 803265F4 00323554 48 04 64 91 */ bl __nw__FUlPCcPCc_0 -/* 803265F8 00323558 7C 60 1B 79 */ or. r0, r3, r3 -/* 803265FC 0032355C 41 82 00 18 */ beq lbl_80326614 -/* 80326600 00323560 7F 84 E3 78 */ mr r4, r28 -/* 80326604 00323564 7F E5 FB 78 */ mr r5, r31 -/* 80326608 00323568 7F 66 DB 78 */ mr r6, r27 -/* 8032660C 0032356C 48 01 06 6D */ bl __ct__11CVEConstantFP12CRealElementP12CRealElementP12CRealElement -/* 80326610 00323570 7C 60 1B 78 */ mr r0, r3 -lbl_80326614: -/* 80326614 00323574 7C 03 03 78 */ mr r3, r0 -/* 80326618 00323578 48 00 06 64 */ b lbl_80326C7C -lbl_8032661C: -/* 8032661C 0032357C 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 80326620 00323580 38 60 00 28 */ li r3, 0x28 -/* 80326624 00323584 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 80326628 00323588 38 A0 00 00 */ li r5, 0 -/* 8032662C 0032358C 48 04 64 59 */ bl __nw__FUlPCcPCc_0 -/* 80326630 00323590 7C 60 1B 79 */ or. r0, r3, r3 -/* 80326634 00323594 41 82 00 10 */ beq lbl_80326644 -/* 80326638 00323598 7F E4 FB 78 */ mr r4, r31 -/* 8032663C 0032359C 48 00 EA AD */ bl __ct__18CVEKeyframeEmitterFR12CInputStream -/* 80326640 003235A0 7C 60 1B 78 */ mr r0, r3 -lbl_80326644: -/* 80326644 003235A4 7C 03 03 78 */ mr r3, r0 -/* 80326648 003235A8 48 00 06 34 */ b lbl_80326C7C -lbl_8032664C: -/* 8032664C 003235AC 7F E3 FB 78 */ mr r3, r31 -/* 80326650 003235B0 48 00 06 41 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 80326654 003235B4 7C 60 1B 78 */ mr r0, r3 -/* 80326658 003235B8 7F E3 FB 78 */ mr r3, r31 -/* 8032665C 003235BC 7C 1B 03 78 */ mr r27, r0 -/* 80326660 003235C0 48 00 06 31 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 80326664 003235C4 7C 60 1B 78 */ mr r0, r3 -/* 80326668 003235C8 7F E3 FB 78 */ mr r3, r31 -/* 8032666C 003235CC 7C 1C 03 78 */ mr r28, r0 -/* 80326670 003235D0 48 00 06 21 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 80326674 003235D4 7C 60 1B 78 */ mr r0, r3 -/* 80326678 003235D8 7F E3 FB 78 */ mr r3, r31 -/* 8032667C 003235DC 7C 1D 03 78 */ mr r29, r0 -/* 80326680 003235E0 48 00 06 11 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 80326684 003235E4 7C 60 1B 78 */ mr r0, r3 -/* 80326688 003235E8 7F E3 FB 78 */ mr r3, r31 -/* 8032668C 003235EC 7C 1E 03 78 */ mr r30, r0 -/* 80326690 003235F0 48 00 06 01 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 80326694 003235F4 7C 60 1B 78 */ mr r0, r3 -/* 80326698 003235F8 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 8032669C 003235FC 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 803266A0 00323600 38 60 00 18 */ li r3, 0x18 -/* 803266A4 00323604 7C 1F 03 78 */ mr r31, r0 -/* 803266A8 00323608 38 A0 00 00 */ li r5, 0 -/* 803266AC 0032360C 48 04 63 D9 */ bl __nw__FUlPCcPCc_0 -/* 803266B0 00323610 7C 60 1B 79 */ or. r0, r3, r3 -/* 803266B4 00323614 41 82 00 20 */ beq lbl_803266D4 -/* 803266B8 00323618 7F 64 DB 78 */ mr r4, r27 -/* 803266BC 0032361C 7F 85 E3 78 */ mr r5, r28 -/* 803266C0 00323620 7F A6 EB 78 */ mr r6, r29 -/* 803266C4 00323624 7F C7 F3 78 */ mr r7, r30 -/* 803266C8 00323628 7F E8 FB 78 */ mr r8, r31 -/* 803266CC 0032362C 48 00 FF 45 */ bl __ct__12CVEAngleConeFP12CRealElementP12CRealElementP12CRealElementP12CRealElementP12CRealElement -/* 803266D0 00323630 7C 60 1B 78 */ mr r0, r3 -lbl_803266D4: -/* 803266D4 00323634 7C 03 03 78 */ mr r3, r0 -/* 803266D8 00323638 48 00 05 A4 */ b lbl_80326C7C -lbl_803266DC: -/* 803266DC 0032363C 7F E3 FB 78 */ mr r3, r31 -/* 803266E0 00323640 4B FF FB 75 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream -/* 803266E4 00323644 7C 60 1B 78 */ mr r0, r3 -/* 803266E8 00323648 7F E3 FB 78 */ mr r3, r31 -/* 803266EC 0032364C 7C 1B 03 78 */ mr r27, r0 -/* 803266F0 00323650 48 00 05 A1 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 803266F4 00323654 7C 60 1B 78 */ mr r0, r3 -/* 803266F8 00323658 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 803266FC 0032365C 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 80326700 00323660 38 60 00 24 */ li r3, 0x24 -/* 80326704 00323664 7C 1C 03 78 */ mr r28, r0 -/* 80326708 00323668 38 A0 00 00 */ li r5, 0 -/* 8032670C 0032366C 48 04 63 79 */ bl __nw__FUlPCcPCc_0 -/* 80326710 00323670 7C 60 1B 79 */ or. r0, r3, r3 -/* 80326714 00323674 41 82 00 14 */ beq lbl_80326728 -/* 80326718 00323678 7F 64 DB 78 */ mr r4, r27 -/* 8032671C 0032367C 7F 85 E3 78 */ mr r5, r28 -/* 80326720 00323680 48 01 01 85 */ bl __ct__7CVEConeFP14CVectorElementP12CRealElement -/* 80326724 00323684 7C 60 1B 78 */ mr r0, r3 -lbl_80326728: -/* 80326728 00323688 7C 03 03 78 */ mr r3, r0 -/* 8032672C 0032368C 48 00 05 50 */ b lbl_80326C7C -lbl_80326730: -/* 80326730 00323690 7F E3 FB 78 */ mr r3, r31 -/* 80326734 00323694 4B FF FB 21 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream -/* 80326738 00323698 7C 60 1B 78 */ mr r0, r3 -/* 8032673C 0032369C 7F E3 FB 78 */ mr r3, r31 -/* 80326740 003236A0 7C 1B 03 78 */ mr r27, r0 -/* 80326744 003236A4 4B FF FB 11 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream -/* 80326748 003236A8 7C 60 1B 78 */ mr r0, r3 -/* 8032674C 003236AC 7F E3 FB 78 */ mr r3, r31 -/* 80326750 003236B0 7C 1C 03 78 */ mr r28, r0 -/* 80326754 003236B4 48 00 05 3D */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 80326758 003236B8 7C 60 1B 78 */ mr r0, r3 -/* 8032675C 003236BC 7F E3 FB 78 */ mr r3, r31 -/* 80326760 003236C0 7C 1D 03 78 */ mr r29, r0 -/* 80326764 003236C4 48 00 05 2D */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 80326768 003236C8 7C 60 1B 78 */ mr r0, r3 -/* 8032676C 003236CC 7F E3 FB 78 */ mr r3, r31 -/* 80326770 003236D0 7C 1E 03 78 */ mr r30, r0 -/* 80326774 003236D4 48 00 05 1D */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 80326778 003236D8 7C 60 1B 78 */ mr r0, r3 -/* 8032677C 003236DC 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 80326780 003236E0 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 80326784 003236E4 38 60 00 2C */ li r3, 0x2c -/* 80326788 003236E8 7C 1F 03 78 */ mr r31, r0 -/* 8032678C 003236EC 38 A0 00 00 */ li r5, 0 -/* 80326790 003236F0 48 04 62 F5 */ bl __nw__FUlPCcPCc_0 -/* 80326794 003236F4 7C 60 1B 79 */ or. r0, r3, r3 -/* 80326798 003236F8 41 82 00 20 */ beq lbl_803267B8 -/* 8032679C 003236FC 7F 64 DB 78 */ mr r4, r27 -/* 803267A0 00323700 7F 85 E3 78 */ mr r5, r28 -/* 803267A4 00323704 7F A6 EB 78 */ mr r6, r29 -/* 803267A8 00323708 7F C7 F3 78 */ mr r7, r30 -/* 803267AC 0032370C 7F E8 FB 78 */ mr r8, r31 -/* 803267B0 00323710 48 00 F9 DD */ bl __ct__9CVECircleFP14CVectorElementP14CVectorElementP12CRealElementP12CRealElementP12CRealElement -/* 803267B4 00323714 7C 60 1B 78 */ mr r0, r3 -lbl_803267B8: -/* 803267B8 00323718 7C 03 03 78 */ mr r3, r0 -/* 803267BC 0032371C 48 00 04 C0 */ b lbl_80326C7C -lbl_803267C0: -/* 803267C0 00323720 7F E3 FB 78 */ mr r3, r31 -/* 803267C4 00323724 4B FF FA 91 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream -/* 803267C8 00323728 7C 60 1B 78 */ mr r0, r3 -/* 803267CC 0032372C 7F E3 FB 78 */ mr r3, r31 -/* 803267D0 00323730 7C 1B 03 78 */ mr r27, r0 -/* 803267D4 00323734 4B FF FA 81 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream -/* 803267D8 00323738 7C 60 1B 78 */ mr r0, r3 -/* 803267DC 0032373C 7F E3 FB 78 */ mr r3, r31 -/* 803267E0 00323740 7C 1C 03 78 */ mr r28, r0 -/* 803267E4 00323744 48 00 13 C1 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream -/* 803267E8 00323748 7C 60 1B 78 */ mr r0, r3 -/* 803267EC 0032374C 7F E3 FB 78 */ mr r3, r31 -/* 803267F0 00323750 7C 1D 03 78 */ mr r29, r0 -/* 803267F4 00323754 48 00 04 9D */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 803267F8 00323758 7C 60 1B 78 */ mr r0, r3 -/* 803267FC 0032375C 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 80326800 00323760 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 80326804 00323764 38 60 00 28 */ li r3, 0x28 -/* 80326808 00323768 7C 1E 03 78 */ mr r30, r0 -/* 8032680C 0032376C 38 A0 00 00 */ li r5, 0 -/* 80326810 00323770 48 04 62 75 */ bl __nw__FUlPCcPCc_0 -/* 80326814 00323774 7C 60 1B 79 */ or. r0, r3, r3 -/* 80326818 00323778 41 82 00 1C */ beq lbl_80326834 -/* 8032681C 0032377C 7F 64 DB 78 */ mr r4, r27 -/* 80326820 00323780 7F 85 E3 78 */ mr r5, r28 -/* 80326824 00323784 7F A6 EB 78 */ mr r6, r29 -/* 80326828 00323788 7F C7 F3 78 */ mr r7, r30 -/* 8032682C 0032378C 48 00 F2 51 */ bl __ct__16CVECircleClusterFP14CVectorElementP14CVectorElementP11CIntElementP12CRealElement -/* 80326830 00323790 7C 60 1B 78 */ mr r0, r3 -lbl_80326834: -/* 80326834 00323794 7C 03 03 78 */ mr r3, r0 -/* 80326838 00323798 48 00 04 44 */ b lbl_80326C7C -lbl_8032683C: -/* 8032683C 0032379C 7F E3 FB 78 */ mr r3, r31 -/* 80326840 003237A0 4B FF FA 15 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream -/* 80326844 003237A4 7C 60 1B 78 */ mr r0, r3 -/* 80326848 003237A8 7F E3 FB 78 */ mr r3, r31 -/* 8032684C 003237AC 7C 1B 03 78 */ mr r27, r0 -/* 80326850 003237B0 4B FF FA 05 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream -/* 80326854 003237B4 7C 60 1B 78 */ mr r0, r3 -/* 80326858 003237B8 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 8032685C 003237BC 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 80326860 003237C0 38 60 00 0C */ li r3, 0xc -/* 80326864 003237C4 7C 1C 03 78 */ mr r28, r0 -/* 80326868 003237C8 38 A0 00 00 */ li r5, 0 -/* 8032686C 003237CC 48 04 62 19 */ bl __nw__FUlPCcPCc_0 -/* 80326870 003237D0 7C 60 1B 79 */ or. r0, r3, r3 -/* 80326874 003237D4 41 82 00 14 */ beq lbl_80326888 -/* 80326878 003237D8 7F 64 DB 78 */ mr r4, r27 -/* 8032687C 003237DC 7F 85 E3 78 */ mr r5, r28 -/* 80326880 003237E0 48 00 EF 61 */ bl __ct__6CVEAddFP14CVectorElementP14CVectorElement -/* 80326884 003237E4 7C 60 1B 78 */ mr r0, r3 -lbl_80326888: -/* 80326888 003237E8 7C 03 03 78 */ mr r3, r0 -/* 8032688C 003237EC 48 00 03 F0 */ b lbl_80326C7C -lbl_80326890: -/* 80326890 003237F0 7F E3 FB 78 */ mr r3, r31 -/* 80326894 003237F4 4B FF F9 C1 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream -/* 80326898 003237F8 7C 60 1B 78 */ mr r0, r3 -/* 8032689C 003237FC 7F E3 FB 78 */ mr r3, r31 -/* 803268A0 00323800 7C 1B 03 78 */ mr r27, r0 -/* 803268A4 00323804 4B FF F9 B1 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream -/* 803268A8 00323808 7C 60 1B 78 */ mr r0, r3 -/* 803268AC 0032380C 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 803268B0 00323810 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 803268B4 00323814 38 60 00 0C */ li r3, 0xc -/* 803268B8 00323818 7C 1C 03 78 */ mr r28, r0 -/* 803268BC 0032381C 38 A0 00 00 */ li r5, 0 -/* 803268C0 00323820 48 04 61 C5 */ bl __nw__FUlPCcPCc_0 -/* 803268C4 00323824 7C 60 1B 79 */ or. r0, r3, r3 -/* 803268C8 00323828 41 82 00 14 */ beq lbl_803268DC -/* 803268CC 0032382C 7F 64 DB 78 */ mr r4, r27 -/* 803268D0 00323830 7F 85 E3 78 */ mr r5, r28 -/* 803268D4 00323834 48 00 ED 49 */ bl __ct__11CVEMultiplyFP14CVectorElementP14CVectorElement -/* 803268D8 00323838 7C 60 1B 78 */ mr r0, r3 -lbl_803268DC: -/* 803268DC 0032383C 7C 03 03 78 */ mr r3, r0 -/* 803268E0 00323840 48 00 03 9C */ b lbl_80326C7C -lbl_803268E4: -/* 803268E4 00323844 7F E3 FB 78 */ mr r3, r31 -/* 803268E8 00323848 4B FF F9 6D */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream -/* 803268EC 0032384C 7C 60 1B 78 */ mr r0, r3 -/* 803268F0 00323850 7F E3 FB 78 */ mr r3, r31 -/* 803268F4 00323854 7C 1B 03 78 */ mr r27, r0 -/* 803268F8 00323858 4B FF F9 5D */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream -/* 803268FC 0032385C 7C 60 1B 78 */ mr r0, r3 -/* 80326900 00323860 7F E3 FB 78 */ mr r3, r31 -/* 80326904 00323864 7C 1C 03 78 */ mr r28, r0 -/* 80326908 00323868 48 00 12 9D */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream -/* 8032690C 0032386C 7C 60 1B 78 */ mr r0, r3 -/* 80326910 00323870 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 80326914 00323874 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 80326918 00323878 38 60 00 10 */ li r3, 0x10 -/* 8032691C 0032387C 7C 1D 03 78 */ mr r29, r0 -/* 80326920 00323880 38 A0 00 00 */ li r5, 0 -/* 80326924 00323884 48 04 61 61 */ bl __nw__FUlPCcPCc_0 -/* 80326928 00323888 7C 60 1B 79 */ or. r0, r3, r3 -/* 8032692C 0032388C 41 82 00 18 */ beq lbl_80326944 -/* 80326930 00323890 7F 64 DB 78 */ mr r4, r27 -/* 80326934 00323894 7F 85 E3 78 */ mr r5, r28 -/* 80326938 00323898 7F A6 EB 78 */ mr r6, r29 -/* 8032693C 0032389C 48 00 F5 65 */ bl __ct__12CVETimeChainFP14CVectorElementP14CVectorElementP11CIntElement -/* 80326940 003238A0 7C 60 1B 78 */ mr r0, r3 -lbl_80326944: -/* 80326944 003238A4 7C 03 03 78 */ mr r3, r0 -/* 80326948 003238A8 48 00 03 34 */ b lbl_80326C7C -lbl_8032694C: -/* 8032694C 003238AC 7F E3 FB 78 */ mr r3, r31 -/* 80326950 003238B0 48 00 12 55 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream -/* 80326954 003238B4 7C 60 1B 78 */ mr r0, r3 -/* 80326958 003238B8 7F E3 FB 78 */ mr r3, r31 -/* 8032695C 003238BC 7C 1B 03 78 */ mr r27, r0 -/* 80326960 003238C0 48 00 12 45 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream -/* 80326964 003238C4 7C 60 1B 78 */ mr r0, r3 -/* 80326968 003238C8 7F E3 FB 78 */ mr r3, r31 -/* 8032696C 003238CC 7C 1C 03 78 */ mr r28, r0 -/* 80326970 003238D0 4B FF F8 E5 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream -/* 80326974 003238D4 7C 60 1B 78 */ mr r0, r3 -/* 80326978 003238D8 7F E3 FB 78 */ mr r3, r31 -/* 8032697C 003238DC 7C 1D 03 78 */ mr r29, r0 -/* 80326980 003238E0 4B FF F8 D5 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream -/* 80326984 003238E4 7C 60 1B 78 */ mr r0, r3 -/* 80326988 003238E8 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 8032698C 003238EC 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 80326990 003238F0 38 60 00 14 */ li r3, 0x14 -/* 80326994 003238F4 7C 1E 03 78 */ mr r30, r0 -/* 80326998 003238F8 38 A0 00 00 */ li r5, 0 -/* 8032699C 003238FC 48 04 60 E9 */ bl __nw__FUlPCcPCc_0 -/* 803269A0 00323900 7C 60 1B 79 */ or. r0, r3, r3 -/* 803269A4 00323904 41 82 00 1C */ beq lbl_803269C0 -/* 803269A8 00323908 7F 64 DB 78 */ mr r4, r27 -/* 803269AC 0032390C 7F 85 E3 78 */ mr r5, r28 -/* 803269B0 00323910 7F A6 EB 78 */ mr r6, r29 -/* 803269B4 00323914 7F C7 F3 78 */ mr r7, r30 -/* 803269B8 00323918 48 00 EA 99 */ bl __ct__8CVEPulseFP11CIntElementP11CIntElementP14CVectorElementP14CVectorElement -/* 803269BC 0032391C 7C 60 1B 78 */ mr r0, r3 -lbl_803269C0: -/* 803269C0 00323920 7C 03 03 78 */ mr r3, r0 -/* 803269C4 00323924 48 00 02 B8 */ b lbl_80326C7C -lbl_803269C8: -/* 803269C8 00323928 7F E3 FB 78 */ mr r3, r31 -/* 803269CC 0032392C 48 00 02 C5 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 803269D0 00323930 7C 60 1B 78 */ mr r0, r3 -/* 803269D4 00323934 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 803269D8 00323938 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 803269DC 0032393C 38 60 00 08 */ li r3, 8 -/* 803269E0 00323940 7C 1B 03 78 */ mr r27, r0 -/* 803269E4 00323944 38 A0 00 00 */ li r5, 0 -/* 803269E8 00323948 48 04 60 9D */ bl __nw__FUlPCcPCc_0 -/* 803269EC 0032394C 7C 60 1B 79 */ or. r0, r3, r3 -/* 803269F0 00323950 41 82 00 10 */ beq lbl_80326A00 -/* 803269F4 00323954 7F 64 DB 78 */ mr r4, r27 -/* 803269F8 00323958 48 00 E4 7D */ bl __ct__15CVERealToVectorFP12CRealElement -/* 803269FC 0032395C 7C 60 1B 78 */ mr r0, r3 -lbl_80326A00: -/* 80326A00 00323960 7C 03 03 78 */ mr r3, r0 -/* 80326A04 00323964 48 00 02 78 */ b lbl_80326C7C -lbl_80326A08: -/* 80326A08 00323968 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 80326A0C 0032396C 38 60 00 04 */ li r3, 4 -/* 80326A10 00323970 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 80326A14 00323974 38 A0 00 00 */ li r5, 0 -/* 80326A18 00323978 48 04 60 6D */ bl __nw__FUlPCcPCc_0 -/* 80326A1C 0032397C 28 03 00 00 */ cmplwi r3, 0 -/* 80326A20 00323980 41 82 02 5C */ beq lbl_80326C7C -/* 80326A24 00323984 3C 80 80 3F */ lis r4, lbl_803EC5A8@ha -/* 80326A28 00323988 3C A0 80 3F */ lis r5, lbl_803EC594@ha -/* 80326A2C 0032398C 38 04 C5 A8 */ addi r0, r4, lbl_803EC5A8@l -/* 80326A30 00323990 3C 80 80 3F */ lis r4, lbl_803EE1F0@ha -/* 80326A34 00323994 90 03 00 00 */ stw r0, 0(r3) -/* 80326A38 00323998 38 A5 C5 94 */ addi r5, r5, lbl_803EC594@l -/* 80326A3C 0032399C 38 04 E1 F0 */ addi r0, r4, lbl_803EE1F0@l -/* 80326A40 003239A0 90 A3 00 00 */ stw r5, 0(r3) -/* 80326A44 003239A4 90 03 00 00 */ stw r0, 0(r3) -/* 80326A48 003239A8 48 00 02 34 */ b lbl_80326C7C -lbl_80326A4C: -/* 80326A4C 003239AC 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 80326A50 003239B0 38 60 00 04 */ li r3, 4 -/* 80326A54 003239B4 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 80326A58 003239B8 38 A0 00 00 */ li r5, 0 -/* 80326A5C 003239BC 48 04 60 29 */ bl __nw__FUlPCcPCc_0 -/* 80326A60 003239C0 28 03 00 00 */ cmplwi r3, 0 -/* 80326A64 003239C4 41 82 02 18 */ beq lbl_80326C7C -/* 80326A68 003239C8 3C 80 80 3F */ lis r4, lbl_803EC5A8@ha -/* 80326A6C 003239CC 3C A0 80 3F */ lis r5, lbl_803EC594@ha -/* 80326A70 003239D0 38 04 C5 A8 */ addi r0, r4, lbl_803EC5A8@l -/* 80326A74 003239D4 3C 80 80 3F */ lis r4, lbl_803EE1DC@ha -/* 80326A78 003239D8 90 03 00 00 */ stw r0, 0(r3) -/* 80326A7C 003239DC 38 A5 C5 94 */ addi r5, r5, lbl_803EC594@l -/* 80326A80 003239E0 38 04 E1 DC */ addi r0, r4, lbl_803EE1DC@l -/* 80326A84 003239E4 90 A3 00 00 */ stw r5, 0(r3) -/* 80326A88 003239E8 90 03 00 00 */ stw r0, 0(r3) -/* 80326A8C 003239EC 48 00 01 F0 */ b lbl_80326C7C -lbl_80326A90: -/* 80326A90 003239F0 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 80326A94 003239F4 38 60 00 04 */ li r3, 4 -/* 80326A98 003239F8 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 80326A9C 003239FC 38 A0 00 00 */ li r5, 0 -/* 80326AA0 00323A00 48 04 5F E5 */ bl __nw__FUlPCcPCc_0 -/* 80326AA4 00323A04 28 03 00 00 */ cmplwi r3, 0 -/* 80326AA8 00323A08 41 82 01 D4 */ beq lbl_80326C7C -/* 80326AAC 00323A0C 3C 80 80 3F */ lis r4, lbl_803EC5A8@ha -/* 80326AB0 00323A10 3C A0 80 3F */ lis r5, lbl_803EC594@ha -/* 80326AB4 00323A14 38 04 C5 A8 */ addi r0, r4, lbl_803EC5A8@l -/* 80326AB8 00323A18 3C 80 80 3F */ lis r4, lbl_803EE1C8@ha -/* 80326ABC 00323A1C 90 03 00 00 */ stw r0, 0(r3) -/* 80326AC0 00323A20 38 A5 C5 94 */ addi r5, r5, lbl_803EC594@l -/* 80326AC4 00323A24 38 04 E1 C8 */ addi r0, r4, lbl_803EE1C8@l -/* 80326AC8 00323A28 90 A3 00 00 */ stw r5, 0(r3) -/* 80326ACC 00323A2C 90 03 00 00 */ stw r0, 0(r3) -/* 80326AD0 00323A30 48 00 01 AC */ b lbl_80326C7C -lbl_80326AD4: -/* 80326AD4 00323A34 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 80326AD8 00323A38 38 60 00 04 */ li r3, 4 -/* 80326ADC 00323A3C 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 80326AE0 00323A40 38 A0 00 00 */ li r5, 0 -/* 80326AE4 00323A44 48 04 5F A1 */ bl __nw__FUlPCcPCc_0 -/* 80326AE8 00323A48 28 03 00 00 */ cmplwi r3, 0 -/* 80326AEC 00323A4C 41 82 01 90 */ beq lbl_80326C7C -/* 80326AF0 00323A50 3C 80 80 3F */ lis r4, lbl_803EC5A8@ha -/* 80326AF4 00323A54 3C A0 80 3F */ lis r5, lbl_803EC594@ha -/* 80326AF8 00323A58 38 04 C5 A8 */ addi r0, r4, lbl_803EC5A8@l -/* 80326AFC 00323A5C 3C 80 80 3F */ lis r4, lbl_803EE1B4@ha -/* 80326B00 00323A60 90 03 00 00 */ stw r0, 0(r3) -/* 80326B04 00323A64 38 A5 C5 94 */ addi r5, r5, lbl_803EC594@l -/* 80326B08 00323A68 38 04 E1 B4 */ addi r0, r4, lbl_803EE1B4@l -/* 80326B0C 00323A6C 90 A3 00 00 */ stw r5, 0(r3) -/* 80326B10 00323A70 90 03 00 00 */ stw r0, 0(r3) -/* 80326B14 00323A74 48 00 01 68 */ b lbl_80326C7C -lbl_80326B18: -/* 80326B18 00323A78 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 80326B1C 00323A7C 38 60 00 04 */ li r3, 4 -/* 80326B20 00323A80 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 80326B24 00323A84 38 A0 00 00 */ li r5, 0 -/* 80326B28 00323A88 48 04 5F 5D */ bl __nw__FUlPCcPCc_0 -/* 80326B2C 00323A8C 28 03 00 00 */ cmplwi r3, 0 -/* 80326B30 00323A90 41 82 01 4C */ beq lbl_80326C7C -/* 80326B34 00323A94 3C 80 80 3F */ lis r4, lbl_803EC5A8@ha -/* 80326B38 00323A98 3C A0 80 3F */ lis r5, lbl_803EC594@ha -/* 80326B3C 00323A9C 38 04 C5 A8 */ addi r0, r4, lbl_803EC5A8@l -/* 80326B40 00323AA0 3C 80 80 3F */ lis r4, lbl_803EE1A0@ha -/* 80326B44 00323AA4 90 03 00 00 */ stw r0, 0(r3) -/* 80326B48 00323AA8 38 A5 C5 94 */ addi r5, r5, lbl_803EC594@l -/* 80326B4C 00323AAC 38 04 E1 A0 */ addi r0, r4, lbl_803EE1A0@l -/* 80326B50 00323AB0 90 A3 00 00 */ stw r5, 0(r3) -/* 80326B54 00323AB4 90 03 00 00 */ stw r0, 0(r3) -/* 80326B58 00323AB8 48 00 01 24 */ b lbl_80326C7C -lbl_80326B5C: -/* 80326B5C 00323ABC 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 80326B60 00323AC0 38 60 00 04 */ li r3, 4 -/* 80326B64 00323AC4 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 80326B68 00323AC8 38 A0 00 00 */ li r5, 0 -/* 80326B6C 00323ACC 48 04 5F 19 */ bl __nw__FUlPCcPCc_0 -/* 80326B70 00323AD0 28 03 00 00 */ cmplwi r3, 0 -/* 80326B74 00323AD4 41 82 01 08 */ beq lbl_80326C7C -/* 80326B78 00323AD8 3C 80 80 3F */ lis r4, lbl_803EC5A8@ha -/* 80326B7C 00323ADC 3C A0 80 3F */ lis r5, lbl_803EC594@ha -/* 80326B80 00323AE0 38 04 C5 A8 */ addi r0, r4, lbl_803EC5A8@l -/* 80326B84 00323AE4 3C 80 80 3F */ lis r4, lbl_803EE18C@ha -/* 80326B88 00323AE8 90 03 00 00 */ stw r0, 0(r3) -/* 80326B8C 00323AEC 38 A5 C5 94 */ addi r5, r5, lbl_803EC594@l -/* 80326B90 00323AF0 38 04 E1 8C */ addi r0, r4, lbl_803EE18C@l -/* 80326B94 00323AF4 90 A3 00 00 */ stw r5, 0(r3) -/* 80326B98 00323AF8 90 03 00 00 */ stw r0, 0(r3) -/* 80326B9C 00323AFC 48 00 00 E0 */ b lbl_80326C7C -lbl_80326BA0: -/* 80326BA0 00323B00 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 80326BA4 00323B04 38 60 00 04 */ li r3, 4 -/* 80326BA8 00323B08 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 80326BAC 00323B0C 38 A0 00 00 */ li r5, 0 -/* 80326BB0 00323B10 48 04 5E D5 */ bl __nw__FUlPCcPCc_0 -/* 80326BB4 00323B14 28 03 00 00 */ cmplwi r3, 0 -/* 80326BB8 00323B18 41 82 00 C4 */ beq lbl_80326C7C -/* 80326BBC 00323B1C 3C 80 80 3F */ lis r4, lbl_803EC5A8@ha -/* 80326BC0 00323B20 3C A0 80 3F */ lis r5, lbl_803EC594@ha -/* 80326BC4 00323B24 38 04 C5 A8 */ addi r0, r4, lbl_803EC5A8@l -/* 80326BC8 00323B28 3C 80 80 3F */ lis r4, lbl_803EE178@ha -/* 80326BCC 00323B2C 90 03 00 00 */ stw r0, 0(r3) -/* 80326BD0 00323B30 38 A5 C5 94 */ addi r5, r5, lbl_803EC594@l -/* 80326BD4 00323B34 38 04 E1 78 */ addi r0, r4, lbl_803EE178@l -/* 80326BD8 00323B38 90 A3 00 00 */ stw r5, 0(r3) -/* 80326BDC 00323B3C 90 03 00 00 */ stw r0, 0(r3) -/* 80326BE0 00323B40 48 00 00 9C */ b lbl_80326C7C -lbl_80326BE4: -/* 80326BE4 00323B44 7F E3 FB 78 */ mr r3, r31 -/* 80326BE8 00323B48 4B FF F6 6D */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream -/* 80326BEC 00323B4C 7C 60 1B 78 */ mr r0, r3 -/* 80326BF0 00323B50 7F E3 FB 78 */ mr r3, r31 -/* 80326BF4 00323B54 7C 1B 03 78 */ mr r27, r0 -/* 80326BF8 00323B58 4B FF F6 5D */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream -/* 80326BFC 00323B5C 7C 60 1B 78 */ mr r0, r3 -/* 80326C00 00323B60 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 80326C04 00323B64 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 80326C08 00323B68 38 60 00 0C */ li r3, 0xc -/* 80326C0C 00323B6C 7C 1C 03 78 */ mr r28, r0 -/* 80326C10 00323B70 38 A0 00 00 */ li r5, 0 -/* 80326C14 00323B74 48 04 5E 71 */ bl __nw__FUlPCcPCc_0 -/* 80326C18 00323B78 7C 60 1B 79 */ or. r0, r3, r3 -/* 80326C1C 00323B7C 41 82 00 14 */ beq lbl_80326C30 -/* 80326C20 00323B80 7F 64 DB 78 */ mr r4, r27 -/* 80326C24 00323B84 7F 85 E3 78 */ mr r5, r28 -/* 80326C28 00323B88 48 00 DF 45 */ bl __ct__10CVESubractFP14CVectorElementP14CVectorElement -/* 80326C2C 00323B8C 7C 60 1B 78 */ mr r0, r3 -lbl_80326C30: -/* 80326C30 00323B90 7C 03 03 78 */ mr r3, r0 -/* 80326C34 00323B94 48 00 00 48 */ b lbl_80326C7C -lbl_80326C38: -/* 80326C38 00323B98 7F E3 FB 78 */ mr r3, r31 -/* 80326C3C 00323B9C 4B FF E6 21 */ bl GetColorElement__20CParticleDataFactoryFR12CInputStream -/* 80326C40 00323BA0 7C 60 1B 78 */ mr r0, r3 -/* 80326C44 00323BA4 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 80326C48 00323BA8 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 80326C4C 00323BAC 38 60 00 08 */ li r3, 8 -/* 80326C50 00323BB0 7C 1B 03 78 */ mr r27, r0 -/* 80326C54 00323BB4 38 A0 00 00 */ li r5, 0 -/* 80326C58 00323BB8 48 04 5E 2D */ bl __nw__FUlPCcPCc_0 -/* 80326C5C 00323BBC 7C 60 1B 79 */ or. r0, r3, r3 -/* 80326C60 00323BC0 41 82 00 10 */ beq lbl_80326C70 -/* 80326C64 00323BC4 7F 64 DB 78 */ mr r4, r27 -/* 80326C68 00323BC8 48 00 DD 45 */ bl __ct__7CVECTVCFP13CColorElement -/* 80326C6C 00323BCC 7C 60 1B 78 */ mr r0, r3 -lbl_80326C70: -/* 80326C70 00323BD0 7C 03 03 78 */ mr r3, r0 -/* 80326C74 00323BD4 48 00 00 08 */ b lbl_80326C7C -lbl_80326C78: -/* 80326C78 00323BD8 38 60 00 00 */ li r3, 0 -lbl_80326C7C: -/* 80326C7C 00323BDC BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 80326C80 00323BE0 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80326C84 00323BE4 7C 08 03 A6 */ mtlr r0 -/* 80326C88 00323BE8 38 21 00 30 */ addi r1, r1, 0x30 -/* 80326C8C 00323BEC 4E 80 00 20 */ blr - -.global GetRealElement__20CParticleDataFactoryFR12CInputStream -GetRealElement__20CParticleDataFactoryFR12CInputStream: -/* 80326C90 00323BF0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80326C94 00323BF4 7C 08 02 A6 */ mflr r0 -/* 80326C98 00323BF8 90 01 00 24 */ stw r0, 0x24(r1) -/* 80326C9C 00323BFC BF 61 00 0C */ stmw r27, 0xc(r1) -/* 80326CA0 00323C00 7C 7F 1B 78 */ mr r31, r3 -/* 80326CA4 00323C04 48 00 17 B9 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream -/* 80326CA8 00323C08 3C 80 4D 55 */ lis r4, 0x4D554C54@ha -/* 80326CAC 00323C0C 38 04 4C 54 */ addi r0, r4, 0x4D554C54@l -/* 80326CB0 00323C10 7C 03 00 00 */ cmpw r3, r0 -/* 80326CB4 00323C14 41 82 04 3C */ beq lbl_803270F0 -/* 80326CB8 00323C18 40 80 01 68 */ bge lbl_80326E20 -/* 80326CBC 00323C1C 3C A0 47 54 */ lis r5, 0x47544341@ha -/* 80326CC0 00323C20 38 05 43 41 */ addi r0, r5, 0x47544341@l -/* 80326CC4 00323C24 7C 03 00 00 */ cmpw r3, r0 -/* 80326CC8 00323C28 41 82 0E 84 */ beq lbl_80327B4C -/* 80326CCC 00323C2C 40 80 00 B0 */ bge lbl_80326D7C -/* 80326CD0 00323C30 3C A0 43 4C */ lis r5, 0x434C4D50@ha -/* 80326CD4 00323C34 38 05 4D 50 */ addi r0, r5, 0x434C4D50@l -/* 80326CD8 00323C38 7C 03 00 00 */ cmpw r3, r0 -/* 80326CDC 00323C3C 41 82 05 CC */ beq lbl_803272A8 -/* 80326CE0 00323C40 40 80 00 50 */ bge lbl_80326D30 -/* 80326CE4 00323C44 3C 80 43 45 */ lis r4, 0x43455854@ha -/* 80326CE8 00323C48 38 04 58 54 */ addi r0, r4, 0x43455854@l -/* 80326CEC 00323C4C 7C 03 00 00 */ cmpw r3, r0 -/* 80326CF0 00323C50 41 82 0C B4 */ beq lbl_803279A4 -/* 80326CF4 00323C54 40 80 00 28 */ bge lbl_80326D1C -/* 80326CF8 00323C58 38 04 51 4C */ addi r0, r4, 0x514c -/* 80326CFC 00323C5C 7C 03 00 00 */ cmpw r3, r0 -/* 80326D00 00323C60 41 82 0B 98 */ beq lbl_80327898 -/* 80326D04 00323C64 40 80 0E 88 */ bge lbl_80327B8C -/* 80326D08 00323C68 3C 80 41 44 */ lis r4, 0x4144445F@ha -/* 80326D0C 00323C6C 38 04 44 5F */ addi r0, r4, 0x4144445F@l -/* 80326D10 00323C70 7C 03 00 00 */ cmpw r3, r0 -/* 80326D14 00323C74 41 82 03 88 */ beq lbl_8032709C -/* 80326D18 00323C78 48 00 0E 74 */ b lbl_80327B8C -lbl_80326D1C: -/* 80326D1C 00323C7C 3C 80 43 48 */ lis r4, 0x4348414E@ha -/* 80326D20 00323C80 38 04 41 4E */ addi r0, r4, 0x4348414E@l -/* 80326D24 00323C84 7C 03 00 00 */ cmpw r3, r0 -/* 80326D28 00323C88 41 82 05 18 */ beq lbl_80327240 -/* 80326D2C 00323C8C 48 00 0E 60 */ b lbl_80327B8C -lbl_80326D30: -/* 80326D30 00323C90 3C 80 43 52 */ lis r4, 0x43524E47@ha -/* 80326D34 00323C94 38 04 4E 47 */ addi r0, r4, 0x43524E47@l -/* 80326D38 00323C98 7C 03 00 00 */ cmpw r3, r0 -/* 80326D3C 00323C9C 41 82 0B D8 */ beq lbl_80327914 -/* 80326D40 00323CA0 40 80 00 28 */ bge lbl_80326D68 -/* 80326D44 00323CA4 3C 80 43 4E */ lis r4, 0x434E5354@ha -/* 80326D48 00323CA8 38 04 53 54 */ addi r0, r4, 0x434E5354@l -/* 80326D4C 00323CAC 7C 03 00 00 */ cmpw r3, r0 -/* 80326D50 00323CB0 41 82 02 38 */ beq lbl_80326F88 -/* 80326D54 00323CB4 40 80 0E 38 */ bge lbl_80327B8C -/* 80326D58 00323CB8 38 05 54 4E */ addi r0, r5, 0x544e -/* 80326D5C 00323CBC 7C 03 00 00 */ cmpw r3, r0 -/* 80326D60 00323CC0 41 82 0A BC */ beq lbl_8032781C -/* 80326D64 00323CC4 48 00 0E 28 */ b lbl_80327B8C -lbl_80326D68: -/* 80326D68 00323CC8 3C 80 44 4F */ lis r4, 0x444F5450@ha -/* 80326D6C 00323CCC 38 04 54 50 */ addi r0, r4, 0x444F5450@l -/* 80326D70 00323CD0 7C 03 00 00 */ cmpw r3, r0 -/* 80326D74 00323CD4 41 82 03 D0 */ beq lbl_80327144 -/* 80326D78 00323CD8 48 00 0E 14 */ b lbl_80327B8C -lbl_80326D7C: -/* 80326D7C 00323CDC 3C 80 49 53 */ lis r4, 0x49535754@ha -/* 80326D80 00323CE0 38 04 57 54 */ addi r0, r4, 0x49535754@l -/* 80326D84 00323CE4 7C 03 00 00 */ cmpw r3, r0 -/* 80326D88 00323CE8 41 82 0A 40 */ beq lbl_803277C8 -/* 80326D8C 00323CEC 40 80 00 48 */ bge lbl_80326DD4 -/* 80326D90 00323CF0 38 05 43 52 */ addi r0, r5, 0x4352 -/* 80326D94 00323CF4 7C 03 00 00 */ cmpw r3, r0 -/* 80326D98 00323CF8 41 82 0C F4 */ beq lbl_80327A8C -/* 80326D9C 00323CFC 40 80 00 24 */ bge lbl_80326DC0 -/* 80326DA0 00323D00 38 05 43 47 */ addi r0, r5, 0x4347 -/* 80326DA4 00323D04 7C 03 00 00 */ cmpw r3, r0 -/* 80326DA8 00323D08 41 82 0D 24 */ beq lbl_80327ACC -/* 80326DAC 00323D0C 40 80 0D E0 */ bge lbl_80327B8C -/* 80326DB0 00323D10 38 05 43 43 */ addi r0, r5, 0x4343 -/* 80326DB4 00323D14 7C 03 00 00 */ cmpw r3, r0 -/* 80326DB8 00323D18 40 80 0D D4 */ bge lbl_80327B8C -/* 80326DBC 00323D1C 48 00 0D 50 */ b lbl_80327B0C -lbl_80326DC0: -/* 80326DC0 00323D20 3C 80 49 52 */ lis r4, 0x49524E44@ha -/* 80326DC4 00323D24 38 04 4E 44 */ addi r0, r4, 0x49524E44@l -/* 80326DC8 00323D28 7C 03 00 00 */ cmpw r3, r0 -/* 80326DCC 00323D2C 41 82 04 20 */ beq lbl_803271EC -/* 80326DD0 00323D30 48 00 0D BC */ b lbl_80327B8C -lbl_80326DD4: -/* 80326DD4 00323D34 3C 80 4B 45 */ lis r4, 0x4B455950@ha -/* 80326DD8 00323D38 38 04 59 50 */ addi r0, r4, 0x4B455950@l -/* 80326DDC 00323D3C 7C 03 00 00 */ cmpw r3, r0 -/* 80326DE0 00323D40 41 82 01 E8 */ beq lbl_80326FC8 -/* 80326DE4 00323D44 40 80 00 28 */ bge lbl_80326E0C -/* 80326DE8 00323D48 38 04 59 45 */ addi r0, r4, 0x5945 -/* 80326DEC 00323D4C 7C 03 00 00 */ cmpw r3, r0 -/* 80326DF0 00323D50 41 82 01 D8 */ beq lbl_80326FC8 -/* 80326DF4 00323D54 40 80 0D 98 */ bge lbl_80327B8C -/* 80326DF8 00323D58 3C 80 49 54 */ lis r4, 0x4954524C@ha -/* 80326DFC 00323D5C 38 04 52 4C */ addi r0, r4, 0x4954524C@l -/* 80326E00 00323D60 7C 03 00 00 */ cmpw r3, r0 -/* 80326E04 00323D64 41 82 0B E0 */ beq lbl_803279E4 -/* 80326E08 00323D68 48 00 0D 84 */ b lbl_80327B8C -lbl_80326E0C: -/* 80326E0C 00323D6C 3C 80 4C 46 */ lis r4, 0x4C465457@ha -/* 80326E10 00323D70 38 04 54 57 */ addi r0, r4, 0x4C465457@l -/* 80326E14 00323D74 7C 03 00 00 */ cmpw r3, r0 -/* 80326E18 00323D78 41 82 05 B4 */ beq lbl_803273CC -/* 80326E1C 00323D7C 48 00 0D 70 */ b lbl_80327B8C -lbl_80326E20: -/* 80326E20 00323D80 3C 80 52 41 */ lis r4, 0x52414E44@ha -/* 80326E24 00323D84 38 04 4E 44 */ addi r0, r4, 0x52414E44@l -/* 80326E28 00323D88 7C 03 00 00 */ cmpw r3, r0 -/* 80326E2C 00323D8C 41 82 03 6C */ beq lbl_80327198 -/* 80326E30 00323D90 40 80 00 B8 */ bge lbl_80326EE8 -/* 80326E34 00323D94 3C A0 50 41 */ lis r5, 0x50415037@ha -/* 80326E38 00323D98 38 05 50 37 */ addi r0, r5, 0x50415037@l -/* 80326E3C 00323D9C 7C 03 00 00 */ cmpw r3, r0 -/* 80326E40 00323DA0 41 82 08 00 */ beq lbl_80327640 -/* 80326E44 00323DA4 40 80 00 58 */ bge lbl_80326E9C -/* 80326E48 00323DA8 38 05 50 32 */ addi r0, r5, 0x5032 -/* 80326E4C 00323DAC 7C 03 00 00 */ cmpw r3, r0 -/* 80326E50 00323DB0 41 82 06 9C */ beq lbl_803274EC -/* 80326E54 00323DB4 40 80 00 28 */ bge lbl_80326E7C -/* 80326E58 00323DB8 3C 80 4E 4F */ lis r4, 0x4E4F4E45@ha -/* 80326E5C 00323DBC 38 04 4E 45 */ addi r0, r4, 0x4E4F4E45@l -/* 80326E60 00323DC0 7C 03 00 00 */ cmpw r3, r0 -/* 80326E64 00323DC4 41 82 01 5C */ beq lbl_80326FC0 -/* 80326E68 00323DC8 41 80 0D 24 */ blt lbl_80327B8C -/* 80326E6C 00323DCC 38 05 50 31 */ addi r0, r5, 0x5031 -/* 80326E70 00323DD0 7C 03 00 00 */ cmpw r3, r0 -/* 80326E74 00323DD4 40 80 06 34 */ bge lbl_803274A8 -/* 80326E78 00323DD8 48 00 0D 14 */ b lbl_80327B8C -lbl_80326E7C: -/* 80326E7C 00323DDC 38 05 50 35 */ addi r0, r5, 0x5035 -/* 80326E80 00323DE0 7C 03 00 00 */ cmpw r3, r0 -/* 80326E84 00323DE4 41 82 07 34 */ beq lbl_803275B8 -/* 80326E88 00323DE8 40 80 07 74 */ bge lbl_803275FC -/* 80326E8C 00323DEC 38 05 50 34 */ addi r0, r5, 0x5034 -/* 80326E90 00323DF0 7C 03 00 00 */ cmpw r3, r0 -/* 80326E94 00323DF4 40 80 06 E0 */ bge lbl_80327574 -/* 80326E98 00323DF8 48 00 06 98 */ b lbl_80327530 -lbl_80326E9C: -/* 80326E9C 00323DFC 3C 80 50 53 */ lis r4, 0x50534C4C@ha -/* 80326EA0 00323E00 38 04 4C 4C */ addi r0, r4, 0x50534C4C@l -/* 80326EA4 00323E04 7C 03 00 00 */ cmpw r3, r0 -/* 80326EA8 00323E08 41 82 05 BC */ beq lbl_80327464 -/* 80326EAC 00323E0C 40 80 00 28 */ bge lbl_80326ED4 -/* 80326EB0 00323E10 3C 80 50 52 */ lis r4, 0x50524C57@ha -/* 80326EB4 00323E14 38 04 4C 57 */ addi r0, r4, 0x50524C57@l -/* 80326EB8 00323E18 7C 03 00 00 */ cmpw r3, r0 -/* 80326EBC 00323E1C 41 82 05 64 */ beq lbl_80327420 -/* 80326EC0 00323E20 40 80 0C CC */ bge lbl_80327B8C -/* 80326EC4 00323E24 38 05 50 39 */ addi r0, r5, 0x5039 -/* 80326EC8 00323E28 7C 03 00 00 */ cmpw r3, r0 -/* 80326ECC 00323E2C 40 80 0C C0 */ bge lbl_80327B8C -/* 80326ED0 00323E30 48 00 07 B4 */ b lbl_80327684 -lbl_80326ED4: -/* 80326ED4 00323E34 3C 80 50 55 */ lis r4, 0x50554C53@ha -/* 80326ED8 00323E38 38 04 4C 53 */ addi r0, r4, 0x50554C53@l -/* 80326EDC 00323E3C 7C 03 00 00 */ cmpw r3, r0 -/* 80326EE0 00323E40 41 82 04 30 */ beq lbl_80327310 -/* 80326EE4 00323E44 48 00 0C A8 */ b lbl_80327B8C -lbl_80326EE8: -/* 80326EE8 00323E48 3C 80 56 4D */ lis r4, 0x564D4147@ha -/* 80326EEC 00323E4C 38 04 41 47 */ addi r0, r4, 0x564D4147@l -/* 80326EF0 00323E50 7C 03 00 00 */ cmpw r3, r0 -/* 80326EF4 00323E54 41 82 08 94 */ beq lbl_80327788 -/* 80326EF8 00323E58 40 80 00 54 */ bge lbl_80326F4C -/* 80326EFC 00323E5C 3C 80 53 49 */ lis r4, 0x53494E45@ha -/* 80326F00 00323E60 38 04 4E 45 */ addi r0, r4, 0x53494E45@l -/* 80326F04 00323E64 7C 03 00 00 */ cmpw r3, r0 -/* 80326F08 00323E68 41 82 01 2C */ beq lbl_80327034 -/* 80326F0C 00323E6C 40 80 00 2C */ bge lbl_80326F38 -/* 80326F10 00323E70 3C 80 53 43 */ lis r4, 0x5343414C@ha -/* 80326F14 00323E74 38 04 41 4C */ addi r0, r4, 0x5343414C@l -/* 80326F18 00323E78 7C 03 00 00 */ cmpw r3, r0 -/* 80326F1C 00323E7C 41 82 00 DC */ beq lbl_80326FF8 -/* 80326F20 00323E80 40 80 0C 6C */ bge lbl_80327B8C -/* 80326F24 00323E84 3C 80 52 4C */ lis r4, 0x524C5054@ha -/* 80326F28 00323E88 38 04 50 54 */ addi r0, r4, 0x524C5054@l -/* 80326F2C 00323E8C 7C 03 00 00 */ cmpw r3, r0 -/* 80326F30 00323E90 41 82 04 5C */ beq lbl_8032738C -/* 80326F34 00323E94 48 00 0C 58 */ b lbl_80327B8C -lbl_80326F38: -/* 80326F38 00323E98 3C 80 53 55 */ lis r4, 0x5355425F@ha -/* 80326F3C 00323E9C 38 04 42 5F */ addi r0, r4, 0x5355425F@l -/* 80326F40 00323EA0 7C 03 00 00 */ cmpw r3, r0 -/* 80326F44 00323EA4 41 82 0A F4 */ beq lbl_80327A38 -/* 80326F48 00323EA8 48 00 0C 44 */ b lbl_80327B8C -lbl_80326F4C: -/* 80326F4C 00323EAC 3C 80 56 59 */ lis r4, 0x56595452@ha -/* 80326F50 00323EB0 38 04 54 52 */ addi r0, r4, 0x56595452@l -/* 80326F54 00323EB4 7C 03 00 00 */ cmpw r3, r0 -/* 80326F58 00323EB8 41 82 07 B0 */ beq lbl_80327708 -/* 80326F5C 00323EBC 40 80 00 18 */ bge lbl_80326F74 -/* 80326F60 00323EC0 3C 80 56 58 */ lis r4, 0x56585452@ha -/* 80326F64 00323EC4 38 04 54 52 */ addi r0, r4, 0x56585452@l -/* 80326F68 00323EC8 7C 03 00 00 */ cmpw r3, r0 -/* 80326F6C 00323ECC 41 82 07 5C */ beq lbl_803276C8 -/* 80326F70 00323ED0 48 00 0C 1C */ b lbl_80327B8C -lbl_80326F74: -/* 80326F74 00323ED4 3C 80 56 5A */ lis r4, 0x565A5452@ha -/* 80326F78 00323ED8 38 04 54 52 */ addi r0, r4, 0x565A5452@l -/* 80326F7C 00323EDC 7C 03 00 00 */ cmpw r3, r0 -/* 80326F80 00323EE0 41 82 07 C8 */ beq lbl_80327748 -/* 80326F84 00323EE4 48 00 0C 08 */ b lbl_80327B8C -lbl_80326F88: -/* 80326F88 00323EE8 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 80326F8C 00323EEC 38 60 00 08 */ li r3, 8 -/* 80326F90 00323EF0 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 80326F94 00323EF4 38 A0 00 00 */ li r5, 0 -/* 80326F98 00323EF8 48 04 5A ED */ bl __nw__FUlPCcPCc_0 -/* 80326F9C 00323EFC 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80326FA0 00323F00 41 82 00 18 */ beq lbl_80326FB8 -/* 80326FA4 00323F04 7F E3 FB 78 */ mr r3, r31 -/* 80326FA8 00323F08 48 00 14 41 */ bl GetReal__20CParticleDataFactoryFR12CInputStream -/* 80326FAC 00323F0C 7F C3 F3 78 */ mr r3, r30 -/* 80326FB0 00323F10 48 00 C0 1D */ bl __ct__11CREConstantFf -/* 80326FB4 00323F14 7C 7E 1B 78 */ mr r30, r3 -lbl_80326FB8: -/* 80326FB8 00323F18 7F C3 F3 78 */ mr r3, r30 -/* 80326FBC 00323F1C 48 00 0B D4 */ b lbl_80327B90 -lbl_80326FC0: -/* 80326FC0 00323F20 38 60 00 00 */ li r3, 0 -/* 80326FC4 00323F24 48 00 0B CC */ b lbl_80327B90 -lbl_80326FC8: -/* 80326FC8 00323F28 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 80326FCC 00323F2C 38 60 00 28 */ li r3, 0x28 -/* 80326FD0 00323F30 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 80326FD4 00323F34 38 A0 00 00 */ li r5, 0 -/* 80326FD8 00323F38 48 04 5A AD */ bl __nw__FUlPCcPCc_0 -/* 80326FDC 00323F3C 7C 60 1B 79 */ or. r0, r3, r3 -/* 80326FE0 00323F40 41 82 00 10 */ beq lbl_80326FF0 -/* 80326FE4 00323F44 7F E4 FB 78 */ mr r4, r31 -/* 80326FE8 00323F48 48 00 AA 49 */ bl __ct__18CREKeyframeEmitterFR12CInputStream -/* 80326FEC 00323F4C 7C 60 1B 78 */ mr r0, r3 -lbl_80326FF0: -/* 80326FF0 00323F50 7C 03 03 78 */ mr r3, r0 -/* 80326FF4 00323F54 48 00 0B 9C */ b lbl_80327B90 -lbl_80326FF8: -/* 80326FF8 00323F58 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 80326FFC 00323F5C 38 60 00 08 */ li r3, 8 -/* 80327000 00323F60 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 80327004 00323F64 38 A0 00 00 */ li r5, 0 -/* 80327008 00323F68 48 04 5A 7D */ bl __nw__FUlPCcPCc_0 -/* 8032700C 00323F6C 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80327010 00323F70 41 82 00 1C */ beq lbl_8032702C -/* 80327014 00323F74 7F E3 FB 78 */ mr r3, r31 -/* 80327018 00323F78 4B FF FC 79 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 8032701C 00323F7C 7C 64 1B 78 */ mr r4, r3 -/* 80327020 00323F80 7F C3 F3 78 */ mr r3, r30 -/* 80327024 00323F84 48 00 BD 11 */ bl __ct__12CRETimeScaleFP12CRealElement -/* 80327028 00323F88 7C 7E 1B 78 */ mr r30, r3 -lbl_8032702C: -/* 8032702C 00323F8C 7F C3 F3 78 */ mr r3, r30 -/* 80327030 00323F90 48 00 0B 60 */ b lbl_80327B90 -lbl_80327034: -/* 80327034 00323F94 7F E3 FB 78 */ mr r3, r31 -/* 80327038 00323F98 4B FF FC 59 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 8032703C 00323F9C 7C 60 1B 78 */ mr r0, r3 -/* 80327040 00323FA0 7F E3 FB 78 */ mr r3, r31 -/* 80327044 00323FA4 7C 1E 03 78 */ mr r30, r0 -/* 80327048 00323FA8 4B FF FC 49 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 8032704C 00323FAC 7C 60 1B 78 */ mr r0, r3 -/* 80327050 00323FB0 7F E3 FB 78 */ mr r3, r31 -/* 80327054 00323FB4 7C 1F 03 78 */ mr r31, r0 -/* 80327058 00323FB8 4B FF FC 39 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 8032705C 00323FBC 7C 60 1B 78 */ mr r0, r3 -/* 80327060 00323FC0 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 80327064 00323FC4 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 80327068 00323FC8 38 60 00 10 */ li r3, 0x10 -/* 8032706C 00323FCC 7C 1D 03 78 */ mr r29, r0 -/* 80327070 00323FD0 38 A0 00 00 */ li r5, 0 -/* 80327074 00323FD4 48 04 5A 11 */ bl __nw__FUlPCcPCc_0 -/* 80327078 00323FD8 7C 60 1B 79 */ or. r0, r3, r3 -/* 8032707C 00323FDC 41 82 00 18 */ beq lbl_80327094 -/* 80327080 00323FE0 7F A4 EB 78 */ mr r4, r29 -/* 80327084 00323FE4 7F C5 F3 78 */ mr r5, r30 -/* 80327088 00323FE8 7F E6 FB 78 */ mr r6, r31 -/* 8032708C 00323FEC 48 00 BE 8D */ bl __ct__11CRESineWaveFP12CRealElementP12CRealElementP12CRealElement -/* 80327090 00323FF0 7C 60 1B 78 */ mr r0, r3 -lbl_80327094: -/* 80327094 00323FF4 7C 03 03 78 */ mr r3, r0 -/* 80327098 00323FF8 48 00 0A F8 */ b lbl_80327B90 -lbl_8032709C: -/* 8032709C 00323FFC 7F E3 FB 78 */ mr r3, r31 -/* 803270A0 00324000 4B FF FB F1 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 803270A4 00324004 7C 60 1B 78 */ mr r0, r3 -/* 803270A8 00324008 7F E3 FB 78 */ mr r3, r31 -/* 803270AC 0032400C 7C 1D 03 78 */ mr r29, r0 -/* 803270B0 00324010 4B FF FB E1 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 803270B4 00324014 7C 60 1B 78 */ mr r0, r3 -/* 803270B8 00324018 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 803270BC 0032401C 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 803270C0 00324020 38 60 00 0C */ li r3, 0xc -/* 803270C4 00324024 7C 1E 03 78 */ mr r30, r0 -/* 803270C8 00324028 38 A0 00 00 */ li r5, 0 -/* 803270CC 0032402C 48 04 59 B9 */ bl __nw__FUlPCcPCc_0 -/* 803270D0 00324030 7C 60 1B 79 */ or. r0, r3, r3 -/* 803270D4 00324034 41 82 00 14 */ beq lbl_803270E8 -/* 803270D8 00324038 7F A4 EB 78 */ mr r4, r29 -/* 803270DC 0032403C 7F C5 F3 78 */ mr r5, r30 -/* 803270E0 00324040 48 00 BB 0D */ bl __ct__6CREAddFP12CRealElementP12CRealElement -/* 803270E4 00324044 7C 60 1B 78 */ mr r0, r3 -lbl_803270E8: -/* 803270E8 00324048 7C 03 03 78 */ mr r3, r0 -/* 803270EC 0032404C 48 00 0A A4 */ b lbl_80327B90 -lbl_803270F0: -/* 803270F0 00324050 7F E3 FB 78 */ mr r3, r31 -/* 803270F4 00324054 4B FF FB 9D */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 803270F8 00324058 7C 60 1B 78 */ mr r0, r3 -/* 803270FC 0032405C 7F E3 FB 78 */ mr r3, r31 -/* 80327100 00324060 7C 1D 03 78 */ mr r29, r0 -/* 80327104 00324064 4B FF FB 8D */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 80327108 00324068 7C 60 1B 78 */ mr r0, r3 -/* 8032710C 0032406C 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 80327110 00324070 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 80327114 00324074 38 60 00 0C */ li r3, 0xc -/* 80327118 00324078 7C 1E 03 78 */ mr r30, r0 -/* 8032711C 0032407C 38 A0 00 00 */ li r5, 0 -/* 80327120 00324080 48 04 59 65 */ bl __nw__FUlPCcPCc_0 -/* 80327124 00324084 7C 60 1B 79 */ or. r0, r3, r3 -/* 80327128 00324088 41 82 00 14 */ beq lbl_8032713C -/* 8032712C 0032408C 7F A4 EB 78 */ mr r4, r29 -/* 80327130 00324090 7F C5 F3 78 */ mr r5, r30 -/* 80327134 00324094 48 00 B9 41 */ bl __ct__11CREMultiplyFP12CRealElementP12CRealElement -/* 80327138 00324098 7C 60 1B 78 */ mr r0, r3 -lbl_8032713C: -/* 8032713C 0032409C 7C 03 03 78 */ mr r3, r0 -/* 80327140 003240A0 48 00 0A 50 */ b lbl_80327B90 -lbl_80327144: -/* 80327144 003240A4 7F E3 FB 78 */ mr r3, r31 -/* 80327148 003240A8 4B FF F1 0D */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream -/* 8032714C 003240AC 7C 60 1B 78 */ mr r0, r3 -/* 80327150 003240B0 7F E3 FB 78 */ mr r3, r31 -/* 80327154 003240B4 7C 1D 03 78 */ mr r29, r0 -/* 80327158 003240B8 4B FF F0 FD */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream -/* 8032715C 003240BC 7C 60 1B 78 */ mr r0, r3 -/* 80327160 003240C0 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 80327164 003240C4 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 80327168 003240C8 38 60 00 0C */ li r3, 0xc -/* 8032716C 003240CC 7C 1E 03 78 */ mr r30, r0 -/* 80327170 003240D0 38 A0 00 00 */ li r5, 0 -/* 80327174 003240D4 48 04 59 11 */ bl __nw__FUlPCcPCc_0 -/* 80327178 003240D8 7C 60 1B 79 */ or. r0, r3, r3 -/* 8032717C 003240DC 41 82 00 14 */ beq lbl_80327190 -/* 80327180 003240E0 7F A4 EB 78 */ mr r4, r29 -/* 80327184 003240E4 7F C5 F3 78 */ mr r5, r30 -/* 80327188 003240E8 48 00 B7 75 */ bl __ct__13CREDotProductFP14CVectorElementP14CVectorElement -/* 8032718C 003240EC 7C 60 1B 78 */ mr r0, r3 -lbl_80327190: -/* 80327190 003240F0 7C 03 03 78 */ mr r3, r0 -/* 80327194 003240F4 48 00 09 FC */ b lbl_80327B90 -lbl_80327198: -/* 80327198 003240F8 7F E3 FB 78 */ mr r3, r31 -/* 8032719C 003240FC 4B FF FA F5 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 803271A0 00324100 7C 60 1B 78 */ mr r0, r3 -/* 803271A4 00324104 7F E3 FB 78 */ mr r3, r31 -/* 803271A8 00324108 7C 1D 03 78 */ mr r29, r0 -/* 803271AC 0032410C 4B FF FA E5 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 803271B0 00324110 7C 60 1B 78 */ mr r0, r3 -/* 803271B4 00324114 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 803271B8 00324118 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 803271BC 0032411C 38 60 00 0C */ li r3, 0xc -/* 803271C0 00324120 7C 1E 03 78 */ mr r30, r0 -/* 803271C4 00324124 38 A0 00 00 */ li r5, 0 -/* 803271C8 00324128 48 04 58 BD */ bl __nw__FUlPCcPCc_0 -/* 803271CC 0032412C 7C 60 1B 79 */ or. r0, r3, r3 -/* 803271D0 00324130 41 82 00 14 */ beq lbl_803271E4 -/* 803271D4 00324134 7F A4 EB 78 */ mr r4, r29 -/* 803271D8 00324138 7F C5 F3 78 */ mr r5, r30 -/* 803271DC 0032413C 48 00 B5 65 */ bl __ct__9CRERandomFP12CRealElementP12CRealElement -/* 803271E0 00324140 7C 60 1B 78 */ mr r0, r3 -lbl_803271E4: -/* 803271E4 00324144 7C 03 03 78 */ mr r3, r0 -/* 803271E8 00324148 48 00 09 A8 */ b lbl_80327B90 -lbl_803271EC: -/* 803271EC 0032414C 7F E3 FB 78 */ mr r3, r31 -/* 803271F0 00324150 4B FF FA A1 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 803271F4 00324154 7C 60 1B 78 */ mr r0, r3 -/* 803271F8 00324158 7F E3 FB 78 */ mr r3, r31 -/* 803271FC 0032415C 7C 1D 03 78 */ mr r29, r0 -/* 80327200 00324160 4B FF FA 91 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 80327204 00324164 7C 60 1B 78 */ mr r0, r3 -/* 80327208 00324168 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 8032720C 0032416C 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 80327210 00324170 38 60 00 0C */ li r3, 0xc -/* 80327214 00324174 7C 1E 03 78 */ mr r30, r0 -/* 80327218 00324178 38 A0 00 00 */ li r5, 0 -/* 8032721C 0032417C 48 04 58 69 */ bl __nw__FUlPCcPCc_0 -/* 80327220 00324180 7C 60 1B 79 */ or. r0, r3, r3 -/* 80327224 00324184 41 82 00 14 */ beq lbl_80327238 -/* 80327228 00324188 7F A4 EB 78 */ mr r4, r29 -/* 8032722C 0032418C 7F C5 F3 78 */ mr r5, r30 -/* 80327230 00324190 48 00 B3 7D */ bl __ct__16CREInitialRandomFC12CRealElementC12CRealElement -/* 80327234 00324194 7C 60 1B 78 */ mr r0, r3 -lbl_80327238: -/* 80327238 00324198 7C 03 03 78 */ mr r3, r0 -/* 8032723C 0032419C 48 00 09 54 */ b lbl_80327B90 -lbl_80327240: -/* 80327240 003241A0 7F E3 FB 78 */ mr r3, r31 -/* 80327244 003241A4 4B FF FA 4D */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 80327248 003241A8 7C 60 1B 78 */ mr r0, r3 -/* 8032724C 003241AC 7F E3 FB 78 */ mr r3, r31 -/* 80327250 003241B0 7C 1D 03 78 */ mr r29, r0 -/* 80327254 003241B4 4B FF FA 3D */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 80327258 003241B8 7C 60 1B 78 */ mr r0, r3 -/* 8032725C 003241BC 7F E3 FB 78 */ mr r3, r31 -/* 80327260 003241C0 7C 1E 03 78 */ mr r30, r0 -/* 80327264 003241C4 48 00 09 41 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream -/* 80327268 003241C8 7C 60 1B 78 */ mr r0, r3 -/* 8032726C 003241CC 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 80327270 003241D0 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 80327274 003241D4 38 60 00 10 */ li r3, 0x10 -/* 80327278 003241D8 7C 1F 03 78 */ mr r31, r0 -/* 8032727C 003241DC 38 A0 00 00 */ li r5, 0 -/* 80327280 003241E0 48 04 58 05 */ bl __nw__FUlPCcPCc_0 -/* 80327284 003241E4 7C 60 1B 79 */ or. r0, r3, r3 -/* 80327288 003241E8 41 82 00 18 */ beq lbl_803272A0 -/* 8032728C 003241EC 7F A4 EB 78 */ mr r4, r29 -/* 80327290 003241F0 7F C5 F3 78 */ mr r5, r30 -/* 80327294 003241F4 7F E6 FB 78 */ mr r6, r31 -/* 80327298 003241F8 48 00 B1 79 */ bl __ct__12CRETimeChainFP12CRealElementP12CRealElementP11CIntElement -/* 8032729C 003241FC 7C 60 1B 78 */ mr r0, r3 -lbl_803272A0: -/* 803272A0 00324200 7C 03 03 78 */ mr r3, r0 -/* 803272A4 00324204 48 00 08 EC */ b lbl_80327B90 -lbl_803272A8: -/* 803272A8 00324208 7F E3 FB 78 */ mr r3, r31 -/* 803272AC 0032420C 4B FF F9 E5 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 803272B0 00324210 7C 60 1B 78 */ mr r0, r3 -/* 803272B4 00324214 7F E3 FB 78 */ mr r3, r31 -/* 803272B8 00324218 7C 1D 03 78 */ mr r29, r0 -/* 803272BC 0032421C 4B FF F9 D5 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 803272C0 00324220 7C 60 1B 78 */ mr r0, r3 -/* 803272C4 00324224 7F E3 FB 78 */ mr r3, r31 -/* 803272C8 00324228 7C 1E 03 78 */ mr r30, r0 -/* 803272CC 0032422C 4B FF F9 C5 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 803272D0 00324230 7C 60 1B 78 */ mr r0, r3 -/* 803272D4 00324234 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 803272D8 00324238 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 803272DC 0032423C 38 60 00 10 */ li r3, 0x10 -/* 803272E0 00324240 7C 1F 03 78 */ mr r31, r0 -/* 803272E4 00324244 38 A0 00 00 */ li r5, 0 -/* 803272E8 00324248 48 04 57 9D */ bl __nw__FUlPCcPCc_0 -/* 803272EC 0032424C 7C 60 1B 79 */ or. r0, r3, r3 -/* 803272F0 00324250 41 82 00 18 */ beq lbl_80327308 -/* 803272F4 00324254 7F A4 EB 78 */ mr r4, r29 -/* 803272F8 00324258 7F C5 F3 78 */ mr r5, r30 -/* 803272FC 0032425C 7F E6 FB 78 */ mr r6, r31 -/* 80327300 00324260 48 00 AF 5D */ bl __ct__8CREClampFP12CRealElementP12CRealElementP12CRealElement -/* 80327304 00324264 7C 60 1B 78 */ mr r0, r3 -lbl_80327308: -/* 80327308 00324268 7C 03 03 78 */ mr r3, r0 -/* 8032730C 0032426C 48 00 08 84 */ b lbl_80327B90 -lbl_80327310: -/* 80327310 00324270 7F E3 FB 78 */ mr r3, r31 -/* 80327314 00324274 48 00 08 91 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream -/* 80327318 00324278 7C 60 1B 78 */ mr r0, r3 -/* 8032731C 0032427C 7F E3 FB 78 */ mr r3, r31 -/* 80327320 00324280 7C 1D 03 78 */ mr r29, r0 -/* 80327324 00324284 48 00 08 81 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream -/* 80327328 00324288 7C 60 1B 78 */ mr r0, r3 -/* 8032732C 0032428C 7F E3 FB 78 */ mr r3, r31 -/* 80327330 00324290 7C 1E 03 78 */ mr r30, r0 -/* 80327334 00324294 4B FF F9 5D */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 80327338 00324298 7C 60 1B 78 */ mr r0, r3 -/* 8032733C 0032429C 7F E3 FB 78 */ mr r3, r31 -/* 80327340 003242A0 7C 1F 03 78 */ mr r31, r0 -/* 80327344 003242A4 4B FF F9 4D */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 80327348 003242A8 7C 60 1B 78 */ mr r0, r3 -/* 8032734C 003242AC 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 80327350 003242B0 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 80327354 003242B4 38 60 00 14 */ li r3, 0x14 -/* 80327358 003242B8 7C 1C 03 78 */ mr r28, r0 -/* 8032735C 003242BC 38 A0 00 00 */ li r5, 0 -/* 80327360 003242C0 48 04 57 25 */ bl __nw__FUlPCcPCc_0 -/* 80327364 003242C4 7C 60 1B 79 */ or. r0, r3, r3 -/* 80327368 003242C8 41 82 00 1C */ beq lbl_80327384 -/* 8032736C 003242CC 7F A4 EB 78 */ mr r4, r29 -/* 80327370 003242D0 7F C5 F3 78 */ mr r5, r30 -/* 80327374 003242D4 7F E6 FB 78 */ mr r6, r31 -/* 80327378 003242D8 7F 87 E3 78 */ mr r7, r28 -/* 8032737C 003242DC 48 00 AD 0D */ bl __ct__8CREPulseFP11CIntElementP11CIntElementP12CRealElementP12CRealElement -/* 80327380 003242E0 7C 60 1B 78 */ mr r0, r3 -lbl_80327384: -/* 80327384 003242E4 7C 03 03 78 */ mr r3, r0 -/* 80327388 003242E8 48 00 08 08 */ b lbl_80327B90 -lbl_8032738C: -/* 8032738C 003242EC 7F E3 FB 78 */ mr r3, r31 -/* 80327390 003242F0 4B FF F9 01 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 80327394 003242F4 7C 60 1B 78 */ mr r0, r3 -/* 80327398 003242F8 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 8032739C 003242FC 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 803273A0 00324300 38 60 00 08 */ li r3, 8 -/* 803273A4 00324304 7C 1C 03 78 */ mr r28, r0 -/* 803273A8 00324308 38 A0 00 00 */ li r5, 0 -/* 803273AC 0032430C 48 04 56 D9 */ bl __nw__FUlPCcPCc_0 -/* 803273B0 00324310 7C 60 1B 79 */ or. r0, r3, r3 -/* 803273B4 00324314 41 82 00 10 */ beq lbl_803273C4 -/* 803273B8 00324318 7F 84 E3 78 */ mr r4, r28 -/* 803273BC 0032431C 48 00 AA 99 */ bl __ct__18CRELifetimePercentFP12CRealElement -/* 803273C0 00324320 7C 60 1B 78 */ mr r0, r3 -lbl_803273C4: -/* 803273C4 00324324 7C 03 03 78 */ mr r3, r0 -/* 803273C8 00324328 48 00 07 C8 */ b lbl_80327B90 -lbl_803273CC: -/* 803273CC 0032432C 7F E3 FB 78 */ mr r3, r31 -/* 803273D0 00324330 4B FF F8 C1 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 803273D4 00324334 7C 60 1B 78 */ mr r0, r3 -/* 803273D8 00324338 7F E3 FB 78 */ mr r3, r31 -/* 803273DC 0032433C 7C 1C 03 78 */ mr r28, r0 -/* 803273E0 00324340 4B FF F8 B1 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 803273E4 00324344 7C 60 1B 78 */ mr r0, r3 -/* 803273E8 00324348 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 803273EC 0032434C 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 803273F0 00324350 38 60 00 0C */ li r3, 0xc -/* 803273F4 00324354 7C 1D 03 78 */ mr r29, r0 -/* 803273F8 00324358 38 A0 00 00 */ li r5, 0 -/* 803273FC 0032435C 48 04 56 89 */ bl __nw__FUlPCcPCc_0 -/* 80327400 00324360 7C 60 1B 79 */ or. r0, r3, r3 -/* 80327404 00324364 41 82 00 14 */ beq lbl_80327418 -/* 80327408 00324368 7F 84 E3 78 */ mr r4, r28 -/* 8032740C 0032436C 7F A5 EB 78 */ mr r5, r29 -/* 80327410 00324370 48 00 A8 FD */ bl __ct__16CRELifetimeTweenFP12CRealElementP12CRealElement -/* 80327414 00324374 7C 60 1B 78 */ mr r0, r3 -lbl_80327418: -/* 80327418 00324378 7C 03 03 78 */ mr r3, r0 -/* 8032741C 0032437C 48 00 07 74 */ b lbl_80327B90 -lbl_80327420: -/* 80327420 00324380 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 80327424 00324384 38 60 00 04 */ li r3, 4 -/* 80327428 00324388 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 8032742C 0032438C 38 A0 00 00 */ li r5, 0 -/* 80327430 00324390 48 04 56 55 */ bl __nw__FUlPCcPCc_0 -/* 80327434 00324394 28 03 00 00 */ cmplwi r3, 0 -/* 80327438 00324398 41 82 07 58 */ beq lbl_80327B90 -/* 8032743C 0032439C 3C 80 80 3F */ lis r4, lbl_803EC5A8@ha -/* 80327440 003243A0 3C A0 80 3F */ lis r5, lbl_803EC554@ha -/* 80327444 003243A4 38 04 C5 A8 */ addi r0, r4, lbl_803EC5A8@l -/* 80327448 003243A8 3C 80 80 3F */ lis r4, lbl_803EDF34@ha -/* 8032744C 003243AC 90 03 00 00 */ stw r0, 0(r3) -/* 80327450 003243B0 38 A5 C5 54 */ addi r5, r5, lbl_803EC554@l -/* 80327454 003243B4 38 04 DF 34 */ addi r0, r4, lbl_803EDF34@l -/* 80327458 003243B8 90 A3 00 00 */ stw r5, 0(r3) -/* 8032745C 003243BC 90 03 00 00 */ stw r0, 0(r3) -/* 80327460 003243C0 48 00 07 30 */ b lbl_80327B90 -lbl_80327464: -/* 80327464 003243C4 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 80327468 003243C8 38 60 00 04 */ li r3, 4 -/* 8032746C 003243CC 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 80327470 003243D0 38 A0 00 00 */ li r5, 0 -/* 80327474 003243D4 48 04 56 11 */ bl __nw__FUlPCcPCc_0 -/* 80327478 003243D8 28 03 00 00 */ cmplwi r3, 0 -/* 8032747C 003243DC 41 82 07 14 */ beq lbl_80327B90 -/* 80327480 003243E0 3C 80 80 3F */ lis r4, lbl_803EC5A8@ha -/* 80327484 003243E4 3C A0 80 3F */ lis r5, lbl_803EC554@ha -/* 80327488 003243E8 38 04 C5 A8 */ addi r0, r4, lbl_803EC5A8@l -/* 8032748C 003243EC 3C 80 80 3F */ lis r4, lbl_803EDF48@ha -/* 80327490 003243F0 90 03 00 00 */ stw r0, 0(r3) -/* 80327494 003243F4 38 A5 C5 54 */ addi r5, r5, lbl_803EC554@l -/* 80327498 003243F8 38 04 DF 48 */ addi r0, r4, lbl_803EDF48@l -/* 8032749C 003243FC 90 A3 00 00 */ stw r5, 0(r3) -/* 803274A0 00324400 90 03 00 00 */ stw r0, 0(r3) -/* 803274A4 00324404 48 00 06 EC */ b lbl_80327B90 -lbl_803274A8: -/* 803274A8 00324408 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 803274AC 0032440C 38 60 00 04 */ li r3, 4 -/* 803274B0 00324410 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 803274B4 00324414 38 A0 00 00 */ li r5, 0 -/* 803274B8 00324418 48 04 55 CD */ bl __nw__FUlPCcPCc_0 -/* 803274BC 0032441C 28 03 00 00 */ cmplwi r3, 0 -/* 803274C0 00324420 41 82 06 D0 */ beq lbl_80327B90 -/* 803274C4 00324424 3C 80 80 3F */ lis r4, lbl_803EC5A8@ha -/* 803274C8 00324428 3C A0 80 3F */ lis r5, lbl_803EC554@ha -/* 803274CC 0032442C 38 04 C5 A8 */ addi r0, r4, lbl_803EC5A8@l -/* 803274D0 00324430 3C 80 80 3F */ lis r4, lbl_803EDFE8@ha -/* 803274D4 00324434 90 03 00 00 */ stw r0, 0(r3) -/* 803274D8 00324438 38 A5 C5 54 */ addi r5, r5, lbl_803EC554@l -/* 803274DC 0032443C 38 04 DF E8 */ addi r0, r4, lbl_803EDFE8@l -/* 803274E0 00324440 90 A3 00 00 */ stw r5, 0(r3) -/* 803274E4 00324444 90 03 00 00 */ stw r0, 0(r3) -/* 803274E8 00324448 48 00 06 A8 */ b lbl_80327B90 -lbl_803274EC: -/* 803274EC 0032444C 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 803274F0 00324450 38 60 00 04 */ li r3, 4 -/* 803274F4 00324454 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 803274F8 00324458 38 A0 00 00 */ li r5, 0 -/* 803274FC 0032445C 48 04 55 89 */ bl __nw__FUlPCcPCc_0 -/* 80327500 00324460 28 03 00 00 */ cmplwi r3, 0 -/* 80327504 00324464 41 82 06 8C */ beq lbl_80327B90 -/* 80327508 00324468 3C 80 80 3F */ lis r4, lbl_803EC5A8@ha -/* 8032750C 0032446C 3C A0 80 3F */ lis r5, lbl_803EC554@ha -/* 80327510 00324470 38 04 C5 A8 */ addi r0, r4, lbl_803EC5A8@l -/* 80327514 00324474 3C 80 80 3F */ lis r4, lbl_803EDFD4@ha -/* 80327518 00324478 90 03 00 00 */ stw r0, 0(r3) -/* 8032751C 0032447C 38 A5 C5 54 */ addi r5, r5, lbl_803EC554@l -/* 80327520 00324480 38 04 DF D4 */ addi r0, r4, lbl_803EDFD4@l -/* 80327524 00324484 90 A3 00 00 */ stw r5, 0(r3) -/* 80327528 00324488 90 03 00 00 */ stw r0, 0(r3) -/* 8032752C 0032448C 48 00 06 64 */ b lbl_80327B90 -lbl_80327530: -/* 80327530 00324490 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 80327534 00324494 38 60 00 04 */ li r3, 4 -/* 80327538 00324498 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 8032753C 0032449C 38 A0 00 00 */ li r5, 0 -/* 80327540 003244A0 48 04 55 45 */ bl __nw__FUlPCcPCc_0 -/* 80327544 003244A4 28 03 00 00 */ cmplwi r3, 0 -/* 80327548 003244A8 41 82 06 48 */ beq lbl_80327B90 -/* 8032754C 003244AC 3C 80 80 3F */ lis r4, lbl_803EC5A8@ha -/* 80327550 003244B0 3C A0 80 3F */ lis r5, lbl_803EC554@ha -/* 80327554 003244B4 38 04 C5 A8 */ addi r0, r4, lbl_803EC5A8@l -/* 80327558 003244B8 3C 80 80 3F */ lis r4, lbl_803EDFC0@ha -/* 8032755C 003244BC 90 03 00 00 */ stw r0, 0(r3) -/* 80327560 003244C0 38 A5 C5 54 */ addi r5, r5, lbl_803EC554@l -/* 80327564 003244C4 38 04 DF C0 */ addi r0, r4, lbl_803EDFC0@l -/* 80327568 003244C8 90 A3 00 00 */ stw r5, 0(r3) -/* 8032756C 003244CC 90 03 00 00 */ stw r0, 0(r3) -/* 80327570 003244D0 48 00 06 20 */ b lbl_80327B90 -lbl_80327574: -/* 80327574 003244D4 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 80327578 003244D8 38 60 00 04 */ li r3, 4 -/* 8032757C 003244DC 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 80327580 003244E0 38 A0 00 00 */ li r5, 0 -/* 80327584 003244E4 48 04 55 01 */ bl __nw__FUlPCcPCc_0 -/* 80327588 003244E8 28 03 00 00 */ cmplwi r3, 0 -/* 8032758C 003244EC 41 82 06 04 */ beq lbl_80327B90 -/* 80327590 003244F0 3C 80 80 3F */ lis r4, lbl_803EC5A8@ha -/* 80327594 003244F4 3C A0 80 3F */ lis r5, lbl_803EC554@ha -/* 80327598 003244F8 38 04 C5 A8 */ addi r0, r4, lbl_803EC5A8@l -/* 8032759C 003244FC 3C 80 80 3F */ lis r4, lbl_803EDFAC@ha -/* 803275A0 00324500 90 03 00 00 */ stw r0, 0(r3) -/* 803275A4 00324504 38 A5 C5 54 */ addi r5, r5, lbl_803EC554@l -/* 803275A8 00324508 38 04 DF AC */ addi r0, r4, lbl_803EDFAC@l -/* 803275AC 0032450C 90 A3 00 00 */ stw r5, 0(r3) -/* 803275B0 00324510 90 03 00 00 */ stw r0, 0(r3) -/* 803275B4 00324514 48 00 05 DC */ b lbl_80327B90 -lbl_803275B8: -/* 803275B8 00324518 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 803275BC 0032451C 38 60 00 04 */ li r3, 4 -/* 803275C0 00324520 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 803275C4 00324524 38 A0 00 00 */ li r5, 0 -/* 803275C8 00324528 48 04 54 BD */ bl __nw__FUlPCcPCc_0 -/* 803275CC 0032452C 28 03 00 00 */ cmplwi r3, 0 -/* 803275D0 00324530 41 82 05 C0 */ beq lbl_80327B90 -/* 803275D4 00324534 3C 80 80 3F */ lis r4, lbl_803EC5A8@ha -/* 803275D8 00324538 3C A0 80 3F */ lis r5, lbl_803EC554@ha -/* 803275DC 0032453C 38 04 C5 A8 */ addi r0, r4, lbl_803EC5A8@l -/* 803275E0 00324540 3C 80 80 3F */ lis r4, lbl_803EDF98@ha -/* 803275E4 00324544 90 03 00 00 */ stw r0, 0(r3) -/* 803275E8 00324548 38 A5 C5 54 */ addi r5, r5, lbl_803EC554@l -/* 803275EC 0032454C 38 04 DF 98 */ addi r0, r4, lbl_803EDF98@l -/* 803275F0 00324550 90 A3 00 00 */ stw r5, 0(r3) -/* 803275F4 00324554 90 03 00 00 */ stw r0, 0(r3) -/* 803275F8 00324558 48 00 05 98 */ b lbl_80327B90 -lbl_803275FC: -/* 803275FC 0032455C 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 80327600 00324560 38 60 00 04 */ li r3, 4 -/* 80327604 00324564 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 80327608 00324568 38 A0 00 00 */ li r5, 0 -/* 8032760C 0032456C 48 04 54 79 */ bl __nw__FUlPCcPCc_0 -/* 80327610 00324570 28 03 00 00 */ cmplwi r3, 0 -/* 80327614 00324574 41 82 05 7C */ beq lbl_80327B90 -/* 80327618 00324578 3C 80 80 3F */ lis r4, lbl_803EC5A8@ha -/* 8032761C 0032457C 3C A0 80 3F */ lis r5, lbl_803EC554@ha -/* 80327620 00324580 38 04 C5 A8 */ addi r0, r4, lbl_803EC5A8@l -/* 80327624 00324584 3C 80 80 3F */ lis r4, lbl_803EDF84@ha -/* 80327628 00324588 90 03 00 00 */ stw r0, 0(r3) -/* 8032762C 0032458C 38 A5 C5 54 */ addi r5, r5, lbl_803EC554@l -/* 80327630 00324590 38 04 DF 84 */ addi r0, r4, lbl_803EDF84@l -/* 80327634 00324594 90 A3 00 00 */ stw r5, 0(r3) -/* 80327638 00324598 90 03 00 00 */ stw r0, 0(r3) -/* 8032763C 0032459C 48 00 05 54 */ b lbl_80327B90 -lbl_80327640: -/* 80327640 003245A0 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 80327644 003245A4 38 60 00 04 */ li r3, 4 -/* 80327648 003245A8 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 8032764C 003245AC 38 A0 00 00 */ li r5, 0 -/* 80327650 003245B0 48 04 54 35 */ bl __nw__FUlPCcPCc_0 -/* 80327654 003245B4 28 03 00 00 */ cmplwi r3, 0 -/* 80327658 003245B8 41 82 05 38 */ beq lbl_80327B90 -/* 8032765C 003245BC 3C 80 80 3F */ lis r4, lbl_803EC5A8@ha -/* 80327660 003245C0 3C A0 80 3F */ lis r5, lbl_803EC554@ha -/* 80327664 003245C4 38 04 C5 A8 */ addi r0, r4, lbl_803EC5A8@l -/* 80327668 003245C8 3C 80 80 3F */ lis r4, lbl_803EDF70@ha -/* 8032766C 003245CC 90 03 00 00 */ stw r0, 0(r3) -/* 80327670 003245D0 38 A5 C5 54 */ addi r5, r5, lbl_803EC554@l -/* 80327674 003245D4 38 04 DF 70 */ addi r0, r4, lbl_803EDF70@l -/* 80327678 003245D8 90 A3 00 00 */ stw r5, 0(r3) -/* 8032767C 003245DC 90 03 00 00 */ stw r0, 0(r3) -/* 80327680 003245E0 48 00 05 10 */ b lbl_80327B90 -lbl_80327684: -/* 80327684 003245E4 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 80327688 003245E8 38 60 00 04 */ li r3, 4 -/* 8032768C 003245EC 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 80327690 003245F0 38 A0 00 00 */ li r5, 0 -/* 80327694 003245F4 48 04 53 F1 */ bl __nw__FUlPCcPCc_0 -/* 80327698 003245F8 28 03 00 00 */ cmplwi r3, 0 -/* 8032769C 003245FC 41 82 04 F4 */ beq lbl_80327B90 -/* 803276A0 00324600 3C 80 80 3F */ lis r4, lbl_803EC5A8@ha -/* 803276A4 00324604 3C A0 80 3F */ lis r5, lbl_803EC554@ha -/* 803276A8 00324608 38 04 C5 A8 */ addi r0, r4, lbl_803EC5A8@l -/* 803276AC 0032460C 3C 80 80 3F */ lis r4, lbl_803EDF5C@ha -/* 803276B0 00324610 90 03 00 00 */ stw r0, 0(r3) -/* 803276B4 00324614 38 A5 C5 54 */ addi r5, r5, lbl_803EC554@l -/* 803276B8 00324618 38 04 DF 5C */ addi r0, r4, lbl_803EDF5C@l -/* 803276BC 0032461C 90 A3 00 00 */ stw r5, 0(r3) -/* 803276C0 00324620 90 03 00 00 */ stw r0, 0(r3) -/* 803276C4 00324624 48 00 04 CC */ b lbl_80327B90 -lbl_803276C8: -/* 803276C8 00324628 7F E3 FB 78 */ mr r3, r31 -/* 803276CC 0032462C 4B FF EB 89 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream -/* 803276D0 00324630 7C 60 1B 78 */ mr r0, r3 -/* 803276D4 00324634 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 803276D8 00324638 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 803276DC 0032463C 38 60 00 08 */ li r3, 8 -/* 803276E0 00324640 7C 1C 03 78 */ mr r28, r0 -/* 803276E4 00324644 38 A0 00 00 */ li r5, 0 -/* 803276E8 00324648 48 04 53 9D */ bl __nw__FUlPCcPCc_0 -/* 803276EC 0032464C 7C 60 1B 79 */ or. r0, r3, r3 -/* 803276F0 00324650 41 82 00 10 */ beq lbl_80327700 -/* 803276F4 00324654 7F 84 E3 78 */ mr r4, r28 -/* 803276F8 00324658 48 00 A0 75 */ bl __ct__16CREVectorXToRealFP14CVectorElement -/* 803276FC 0032465C 7C 60 1B 78 */ mr r0, r3 -lbl_80327700: -/* 80327700 00324660 7C 03 03 78 */ mr r3, r0 -/* 80327704 00324664 48 00 04 8C */ b lbl_80327B90 -lbl_80327708: -/* 80327708 00324668 7F E3 FB 78 */ mr r3, r31 -/* 8032770C 0032466C 4B FF EB 49 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream -/* 80327710 00324670 7C 60 1B 78 */ mr r0, r3 -/* 80327714 00324674 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 80327718 00324678 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 8032771C 0032467C 38 60 00 08 */ li r3, 8 -/* 80327720 00324680 7C 1C 03 78 */ mr r28, r0 -/* 80327724 00324684 38 A0 00 00 */ li r5, 0 -/* 80327728 00324688 48 04 53 5D */ bl __nw__FUlPCcPCc_0 -/* 8032772C 0032468C 7C 60 1B 79 */ or. r0, r3, r3 -/* 80327730 00324690 41 82 00 10 */ beq lbl_80327740 -/* 80327734 00324694 7F 84 E3 78 */ mr r4, r28 -/* 80327738 00324698 48 00 9F 01 */ bl __ct__16CREVectorYToRealFP14CVectorElement -/* 8032773C 0032469C 7C 60 1B 78 */ mr r0, r3 -lbl_80327740: -/* 80327740 003246A0 7C 03 03 78 */ mr r3, r0 -/* 80327744 003246A4 48 00 04 4C */ b lbl_80327B90 -lbl_80327748: -/* 80327748 003246A8 7F E3 FB 78 */ mr r3, r31 -/* 8032774C 003246AC 4B FF EB 09 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream -/* 80327750 003246B0 7C 60 1B 78 */ mr r0, r3 -/* 80327754 003246B4 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 80327758 003246B8 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 8032775C 003246BC 38 60 00 08 */ li r3, 8 -/* 80327760 003246C0 7C 1C 03 78 */ mr r28, r0 -/* 80327764 003246C4 38 A0 00 00 */ li r5, 0 -/* 80327768 003246C8 48 04 53 1D */ bl __nw__FUlPCcPCc_0 -/* 8032776C 003246CC 7C 60 1B 79 */ or. r0, r3, r3 -/* 80327770 003246D0 41 82 00 10 */ beq lbl_80327780 -/* 80327774 003246D4 7F 84 E3 78 */ mr r4, r28 -/* 80327778 003246D8 48 00 9D 8D */ bl __ct__16CREVectorZToRealFP14CVectorElement -/* 8032777C 003246DC 7C 60 1B 78 */ mr r0, r3 -lbl_80327780: -/* 80327780 003246E0 7C 03 03 78 */ mr r3, r0 -/* 80327784 003246E4 48 00 04 0C */ b lbl_80327B90 -lbl_80327788: -/* 80327788 003246E8 7F E3 FB 78 */ mr r3, r31 -/* 8032778C 003246EC 4B FF EA C9 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream -/* 80327790 003246F0 7C 60 1B 78 */ mr r0, r3 -/* 80327794 003246F4 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 80327798 003246F8 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 8032779C 003246FC 38 60 00 08 */ li r3, 8 -/* 803277A0 00324700 7C 1C 03 78 */ mr r28, r0 -/* 803277A4 00324704 38 A0 00 00 */ li r5, 0 -/* 803277A8 00324708 48 04 52 DD */ bl __nw__FUlPCcPCc_0 -/* 803277AC 0032470C 7C 60 1B 79 */ or. r0, r3, r3 -/* 803277B0 00324710 41 82 00 10 */ beq lbl_803277C0 -/* 803277B4 00324714 7F 84 E3 78 */ mr r4, r28 -/* 803277B8 00324718 48 00 9C 19 */ bl __ct__18CREVectorMagnitudeFP14CVectorElement -/* 803277BC 0032471C 7C 60 1B 78 */ mr r0, r3 -lbl_803277C0: -/* 803277C0 00324720 7C 03 03 78 */ mr r3, r0 -/* 803277C4 00324724 48 00 03 CC */ b lbl_80327B90 -lbl_803277C8: -/* 803277C8 00324728 7F E3 FB 78 */ mr r3, r31 -/* 803277CC 0032472C 4B FF F4 C5 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 803277D0 00324730 7C 60 1B 78 */ mr r0, r3 -/* 803277D4 00324734 7F E3 FB 78 */ mr r3, r31 -/* 803277D8 00324738 7C 1C 03 78 */ mr r28, r0 -/* 803277DC 0032473C 4B FF F4 B5 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 803277E0 00324740 7C 60 1B 78 */ mr r0, r3 -/* 803277E4 00324744 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 803277E8 00324748 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 803277EC 0032474C 38 60 00 0C */ li r3, 0xc -/* 803277F0 00324750 7C 1D 03 78 */ mr r29, r0 -/* 803277F4 00324754 38 A0 00 00 */ li r5, 0 -/* 803277F8 00324758 48 04 52 8D */ bl __nw__FUlPCcPCc_0 -/* 803277FC 0032475C 7C 60 1B 79 */ or. r0, r3, r3 -/* 80327800 00324760 41 82 00 14 */ beq lbl_80327814 -/* 80327804 00324764 7F 84 E3 78 */ mr r4, r28 -/* 80327808 00324768 7F A5 EB 78 */ mr r5, r29 -/* 8032780C 0032476C 48 00 9A 89 */ bl __ct__7CREISWTFP12CRealElementP12CRealElement -/* 80327810 00324770 7C 60 1B 78 */ mr r0, r3 -lbl_80327814: -/* 80327814 00324774 7C 03 03 78 */ mr r3, r0 -/* 80327818 00324778 48 00 03 78 */ b lbl_80327B90 -lbl_8032781C: -/* 8032781C 0032477C 7F E3 FB 78 */ mr r3, r31 -/* 80327820 00324780 4B FF F4 71 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 80327824 00324784 7C 60 1B 78 */ mr r0, r3 -/* 80327828 00324788 7F E3 FB 78 */ mr r3, r31 -/* 8032782C 0032478C 7C 1C 03 78 */ mr r28, r0 -/* 80327830 00324790 4B FF F4 61 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 80327834 00324794 7C 60 1B 78 */ mr r0, r3 -/* 80327838 00324798 7F E3 FB 78 */ mr r3, r31 -/* 8032783C 0032479C 7C 1D 03 78 */ mr r29, r0 -/* 80327840 003247A0 4B FF F4 51 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 80327844 003247A4 7C 60 1B 78 */ mr r0, r3 -/* 80327848 003247A8 7F E3 FB 78 */ mr r3, r31 -/* 8032784C 003247AC 7C 1E 03 78 */ mr r30, r0 -/* 80327850 003247B0 4B FF F4 41 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 80327854 003247B4 7C 60 1B 78 */ mr r0, r3 -/* 80327858 003247B8 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 8032785C 003247BC 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 80327860 003247C0 38 60 00 14 */ li r3, 0x14 -/* 80327864 003247C4 7C 1F 03 78 */ mr r31, r0 -/* 80327868 003247C8 38 A0 00 00 */ li r5, 0 -/* 8032786C 003247CC 48 04 52 19 */ bl __nw__FUlPCcPCc_0 -/* 80327870 003247D0 7C 60 1B 79 */ or. r0, r3, r3 -/* 80327874 003247D4 41 82 00 1C */ beq lbl_80327890 -/* 80327878 003247D8 7F 84 E3 78 */ mr r4, r28 -/* 8032787C 003247DC 7F A5 EB 78 */ mr r5, r29 -/* 80327880 003247E0 7F C6 F3 78 */ mr r6, r30 -/* 80327884 003247E4 7F E7 FB 78 */ mr r7, r31 -/* 80327888 003247E8 48 00 98 B9 */ bl __ct__18CRECompareLessThanFP12CRealElementP12CRealElementP12CRealElementP12CRealElement -/* 8032788C 003247EC 7C 60 1B 78 */ mr r0, r3 -lbl_80327890: -/* 80327890 003247F0 7C 03 03 78 */ mr r3, r0 -/* 80327894 003247F4 48 00 02 FC */ b lbl_80327B90 -lbl_80327898: -/* 80327898 003247F8 7F E3 FB 78 */ mr r3, r31 -/* 8032789C 003247FC 4B FF F3 F5 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 803278A0 00324800 7C 60 1B 78 */ mr r0, r3 -/* 803278A4 00324804 7F E3 FB 78 */ mr r3, r31 -/* 803278A8 00324808 7C 1C 03 78 */ mr r28, r0 -/* 803278AC 0032480C 4B FF F3 E5 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 803278B0 00324810 7C 60 1B 78 */ mr r0, r3 -/* 803278B4 00324814 7F E3 FB 78 */ mr r3, r31 -/* 803278B8 00324818 7C 1D 03 78 */ mr r29, r0 -/* 803278BC 0032481C 4B FF F3 D5 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 803278C0 00324820 7C 60 1B 78 */ mr r0, r3 -/* 803278C4 00324824 7F E3 FB 78 */ mr r3, r31 -/* 803278C8 00324828 7C 1E 03 78 */ mr r30, r0 -/* 803278CC 0032482C 4B FF F3 C5 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 803278D0 00324830 7C 60 1B 78 */ mr r0, r3 -/* 803278D4 00324834 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 803278D8 00324838 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 803278DC 0032483C 38 60 00 14 */ li r3, 0x14 -/* 803278E0 00324840 7C 1F 03 78 */ mr r31, r0 -/* 803278E4 00324844 38 A0 00 00 */ li r5, 0 -/* 803278E8 00324848 48 04 51 9D */ bl __nw__FUlPCcPCc_0 -/* 803278EC 0032484C 7C 60 1B 79 */ or. r0, r3, r3 -/* 803278F0 00324850 41 82 00 1C */ beq lbl_8032790C -/* 803278F4 00324854 7F 84 E3 78 */ mr r4, r28 -/* 803278F8 00324858 7F A5 EB 78 */ mr r5, r29 -/* 803278FC 0032485C 7F C6 F3 78 */ mr r6, r30 -/* 80327900 00324860 7F E7 FB 78 */ mr r7, r31 -/* 80327904 00324864 48 00 96 41 */ bl __ct__15CRECompareEqualFP12CRealElementP12CRealElementP12CRealElementP12CRealElement -/* 80327908 00324868 7C 60 1B 78 */ mr r0, r3 -lbl_8032790C: -/* 8032790C 0032486C 7C 03 03 78 */ mr r3, r0 -/* 80327910 00324870 48 00 02 80 */ b lbl_80327B90 -lbl_80327914: -/* 80327914 00324874 7F E3 FB 78 */ mr r3, r31 -/* 80327918 00324878 4B FF F3 79 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 8032791C 0032487C 7C 60 1B 78 */ mr r0, r3 -/* 80327920 00324880 7F E3 FB 78 */ mr r3, r31 -/* 80327924 00324884 7C 1C 03 78 */ mr r28, r0 -/* 80327928 00324888 4B FF F3 69 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 8032792C 0032488C 7C 60 1B 78 */ mr r0, r3 -/* 80327930 00324890 7F E3 FB 78 */ mr r3, r31 -/* 80327934 00324894 7C 1D 03 78 */ mr r29, r0 -/* 80327938 00324898 4B FF F3 59 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 8032793C 0032489C 7C 60 1B 78 */ mr r0, r3 -/* 80327940 003248A0 7F E3 FB 78 */ mr r3, r31 -/* 80327944 003248A4 7C 1E 03 78 */ mr r30, r0 -/* 80327948 003248A8 4B FF F3 49 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 8032794C 003248AC 7C 60 1B 78 */ mr r0, r3 -/* 80327950 003248B0 7F E3 FB 78 */ mr r3, r31 -/* 80327954 003248B4 7C 1F 03 78 */ mr r31, r0 -/* 80327958 003248B8 4B FF F3 39 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 8032795C 003248BC 7C 60 1B 78 */ mr r0, r3 -/* 80327960 003248C0 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 80327964 003248C4 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 80327968 003248C8 38 60 00 18 */ li r3, 0x18 -/* 8032796C 003248CC 7C 1B 03 78 */ mr r27, r0 -/* 80327970 003248D0 38 A0 00 00 */ li r5, 0 -/* 80327974 003248D4 48 04 51 11 */ bl __nw__FUlPCcPCc_0 -/* 80327978 003248D8 7C 60 1B 79 */ or. r0, r3, r3 -/* 8032797C 003248DC 41 82 00 20 */ beq lbl_8032799C -/* 80327980 003248E0 7F 84 E3 78 */ mr r4, r28 -/* 80327984 003248E4 7F A5 EB 78 */ mr r5, r29 -/* 80327988 003248E8 7F C6 F3 78 */ mr r6, r30 -/* 8032798C 003248EC 7F E7 FB 78 */ mr r7, r31 -/* 80327990 003248F0 7F 68 DB 78 */ mr r8, r27 -/* 80327994 003248F4 48 00 93 A5 */ bl __ct__16CREConstantRangeFP12CRealElementP12CRealElementP12CRealElementP12CRealElementP12CRealElement -/* 80327998 003248F8 7C 60 1B 78 */ mr r0, r3 -lbl_8032799C: -/* 8032799C 003248FC 7C 03 03 78 */ mr r3, r0 -/* 803279A0 00324900 48 00 01 F0 */ b lbl_80327B90 -lbl_803279A4: -/* 803279A4 00324904 7F E3 FB 78 */ mr r3, r31 -/* 803279A8 00324908 48 00 01 FD */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream -/* 803279AC 0032490C 7C 60 1B 78 */ mr r0, r3 -/* 803279B0 00324910 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 803279B4 00324914 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 803279B8 00324918 38 60 00 08 */ li r3, 8 -/* 803279BC 0032491C 7C 1B 03 78 */ mr r27, r0 -/* 803279C0 00324920 38 A0 00 00 */ li r5, 0 -/* 803279C4 00324924 48 04 50 C1 */ bl __nw__FUlPCcPCc_0 -/* 803279C8 00324928 7C 60 1B 79 */ or. r0, r3, r3 -/* 803279CC 0032492C 41 82 00 10 */ beq lbl_803279DC -/* 803279D0 00324930 7F 64 DB 78 */ mr r4, r27 -/* 803279D4 00324934 48 00 91 2D */ bl __ct__7CRECEXTFP11CIntElement -/* 803279D8 00324938 7C 60 1B 78 */ mr r0, r3 -lbl_803279DC: -/* 803279DC 0032493C 7C 03 03 78 */ mr r3, r0 -/* 803279E0 00324940 48 00 01 B0 */ b lbl_80327B90 -lbl_803279E4: -/* 803279E4 00324944 7F E3 FB 78 */ mr r3, r31 -/* 803279E8 00324948 48 00 01 BD */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream -/* 803279EC 0032494C 7C 60 1B 78 */ mr r0, r3 -/* 803279F0 00324950 7F E3 FB 78 */ mr r3, r31 -/* 803279F4 00324954 7C 1B 03 78 */ mr r27, r0 -/* 803279F8 00324958 4B FF F2 99 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 803279FC 0032495C 7C 60 1B 78 */ mr r0, r3 -/* 80327A00 00324960 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 80327A04 00324964 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 80327A08 00324968 38 60 00 0C */ li r3, 0xc -/* 80327A0C 0032496C 7C 1C 03 78 */ mr r28, r0 -/* 80327A10 00324970 38 A0 00 00 */ li r5, 0 -/* 80327A14 00324974 48 04 50 71 */ bl __nw__FUlPCcPCc_0 -/* 80327A18 00324978 7C 60 1B 79 */ or. r0, r3, r3 -/* 80327A1C 0032497C 41 82 00 14 */ beq lbl_80327A30 -/* 80327A20 00324980 7F 64 DB 78 */ mr r4, r27 -/* 80327A24 00324984 7F 85 E3 78 */ mr r5, r28 -/* 80327A28 00324988 48 00 88 D1 */ bl __ct__15CREIntTimesRealFP12CRealElementP11CIntElement -/* 80327A2C 0032498C 7C 60 1B 78 */ mr r0, r3 -lbl_80327A30: -/* 80327A30 00324990 7C 03 03 78 */ mr r3, r0 -/* 80327A34 00324994 48 00 01 5C */ b lbl_80327B90 -lbl_80327A38: -/* 80327A38 00324998 7F E3 FB 78 */ mr r3, r31 -/* 80327A3C 0032499C 4B FF F2 55 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 80327A40 003249A0 7C 60 1B 78 */ mr r0, r3 -/* 80327A44 003249A4 7F E3 FB 78 */ mr r3, r31 -/* 80327A48 003249A8 7C 1B 03 78 */ mr r27, r0 -/* 80327A4C 003249AC 4B FF F2 45 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 80327A50 003249B0 7C 60 1B 78 */ mr r0, r3 -/* 80327A54 003249B4 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 80327A58 003249B8 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 80327A5C 003249BC 38 60 00 0C */ li r3, 0xc -/* 80327A60 003249C0 7C 1C 03 78 */ mr r28, r0 -/* 80327A64 003249C4 38 A0 00 00 */ li r5, 0 -/* 80327A68 003249C8 48 04 50 1D */ bl __nw__FUlPCcPCc_0 -/* 80327A6C 003249CC 7C 60 1B 79 */ or. r0, r3, r3 -/* 80327A70 003249D0 41 82 00 14 */ beq lbl_80327A84 -/* 80327A74 003249D4 7F 64 DB 78 */ mr r4, r27 -/* 80327A78 003249D8 7F 85 E3 78 */ mr r5, r28 -/* 80327A7C 003249DC 48 00 8F 21 */ bl __ct__11CRESubtractFP12CRealElementP12CRealElement -/* 80327A80 003249E0 7C 60 1B 78 */ mr r0, r3 -lbl_80327A84: -/* 80327A84 003249E4 7C 03 03 78 */ mr r3, r0 -/* 80327A88 003249E8 48 00 01 08 */ b lbl_80327B90 -lbl_80327A8C: -/* 80327A8C 003249EC 7F E3 FB 78 */ mr r3, r31 -/* 80327A90 003249F0 4B FF D7 CD */ bl GetColorElement__20CParticleDataFactoryFR12CInputStream -/* 80327A94 003249F4 7C 60 1B 78 */ mr r0, r3 -/* 80327A98 003249F8 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 80327A9C 003249FC 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 80327AA0 00324A00 38 60 00 08 */ li r3, 8 -/* 80327AA4 00324A04 7C 1B 03 78 */ mr r27, r0 -/* 80327AA8 00324A08 38 A0 00 00 */ li r5, 0 -/* 80327AAC 00324A0C 48 04 4F D9 */ bl __nw__FUlPCcPCc_0 -/* 80327AB0 00324A10 7C 60 1B 79 */ or. r0, r3, r3 -/* 80327AB4 00324A14 41 82 00 10 */ beq lbl_80327AC4 -/* 80327AB8 00324A18 7F 64 DB 78 */ mr r4, r27 -/* 80327ABC 00324A1C 48 00 8D 61 */ bl __ct__18CREGetComponentRedFP13CColorElement -/* 80327AC0 00324A20 7C 60 1B 78 */ mr r0, r3 -lbl_80327AC4: -/* 80327AC4 00324A24 7C 03 03 78 */ mr r3, r0 -/* 80327AC8 00324A28 48 00 00 C8 */ b lbl_80327B90 -lbl_80327ACC: -/* 80327ACC 00324A2C 7F E3 FB 78 */ mr r3, r31 -/* 80327AD0 00324A30 4B FF D7 8D */ bl GetColorElement__20CParticleDataFactoryFR12CInputStream -/* 80327AD4 00324A34 7C 60 1B 78 */ mr r0, r3 -/* 80327AD8 00324A38 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 80327ADC 00324A3C 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 80327AE0 00324A40 38 60 00 08 */ li r3, 8 -/* 80327AE4 00324A44 7C 1B 03 78 */ mr r27, r0 -/* 80327AE8 00324A48 38 A0 00 00 */ li r5, 0 -/* 80327AEC 00324A4C 48 04 4F 99 */ bl __nw__FUlPCcPCc_0 -/* 80327AF0 00324A50 7C 60 1B 79 */ or. r0, r3, r3 -/* 80327AF4 00324A54 41 82 00 10 */ beq lbl_80327B04 -/* 80327AF8 00324A58 7F 64 DB 78 */ mr r4, r27 -/* 80327AFC 00324A5C 48 00 8B D9 */ bl __ct__20CREGetComponentGreenFP13CColorElement -/* 80327B00 00324A60 7C 60 1B 78 */ mr r0, r3 -lbl_80327B04: -/* 80327B04 00324A64 7C 03 03 78 */ mr r3, r0 -/* 80327B08 00324A68 48 00 00 88 */ b lbl_80327B90 -lbl_80327B0C: -/* 80327B0C 00324A6C 7F E3 FB 78 */ mr r3, r31 -/* 80327B10 00324A70 4B FF D7 4D */ bl GetColorElement__20CParticleDataFactoryFR12CInputStream -/* 80327B14 00324A74 7C 60 1B 78 */ mr r0, r3 -/* 80327B18 00324A78 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 80327B1C 00324A7C 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 80327B20 00324A80 38 60 00 08 */ li r3, 8 -/* 80327B24 00324A84 7C 1B 03 78 */ mr r27, r0 -/* 80327B28 00324A88 38 A0 00 00 */ li r5, 0 -/* 80327B2C 00324A8C 48 04 4F 59 */ bl __nw__FUlPCcPCc_0 -/* 80327B30 00324A90 7C 60 1B 79 */ or. r0, r3, r3 -/* 80327B34 00324A94 41 82 00 10 */ beq lbl_80327B44 -/* 80327B38 00324A98 7F 64 DB 78 */ mr r4, r27 -/* 80327B3C 00324A9C 48 00 8A 51 */ bl __ct__19CREGetComponentBlueFP13CColorElement -/* 80327B40 00324AA0 7C 60 1B 78 */ mr r0, r3 -lbl_80327B44: -/* 80327B44 00324AA4 7C 03 03 78 */ mr r3, r0 -/* 80327B48 00324AA8 48 00 00 48 */ b lbl_80327B90 -lbl_80327B4C: -/* 80327B4C 00324AAC 7F E3 FB 78 */ mr r3, r31 -/* 80327B50 00324AB0 4B FF D7 0D */ bl GetColorElement__20CParticleDataFactoryFR12CInputStream -/* 80327B54 00324AB4 7C 60 1B 78 */ mr r0, r3 -/* 80327B58 00324AB8 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 80327B5C 00324ABC 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 80327B60 00324AC0 38 60 00 08 */ li r3, 8 -/* 80327B64 00324AC4 7C 1B 03 78 */ mr r27, r0 -/* 80327B68 00324AC8 38 A0 00 00 */ li r5, 0 -/* 80327B6C 00324ACC 48 04 4F 19 */ bl __nw__FUlPCcPCc_0 -/* 80327B70 00324AD0 7C 60 1B 79 */ or. r0, r3, r3 -/* 80327B74 00324AD4 41 82 00 10 */ beq lbl_80327B84 -/* 80327B78 00324AD8 7F 64 DB 78 */ mr r4, r27 -/* 80327B7C 00324ADC 48 00 88 C9 */ bl __ct__20CREGetComponentAlphaFP13CColorElement -/* 80327B80 00324AE0 7C 60 1B 78 */ mr r0, r3 -lbl_80327B84: -/* 80327B84 00324AE4 7C 03 03 78 */ mr r3, r0 -/* 80327B88 00324AE8 48 00 00 08 */ b lbl_80327B90 -lbl_80327B8C: -/* 80327B8C 00324AEC 38 60 00 00 */ li r3, 0 -lbl_80327B90: -/* 80327B90 00324AF0 BB 61 00 0C */ lmw r27, 0xc(r1) -/* 80327B94 00324AF4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80327B98 00324AF8 7C 08 03 A6 */ mtlr r0 -/* 80327B9C 00324AFC 38 21 00 20 */ addi r1, r1, 0x20 -/* 80327BA0 00324B00 4E 80 00 20 */ blr - -.global GetIntElement__20CParticleDataFactoryFR12CInputStream -GetIntElement__20CParticleDataFactoryFR12CInputStream: -/* 80327BA4 00324B04 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80327BA8 00324B08 7C 08 02 A6 */ mflr r0 -/* 80327BAC 00324B0C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80327BB0 00324B10 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80327BB4 00324B14 7C 7F 1B 78 */ mr r31, r3 -/* 80327BB8 00324B18 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80327BBC 00324B1C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80327BC0 00324B20 93 81 00 10 */ stw r28, 0x10(r1) -/* 80327BC4 00324B24 48 00 08 99 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream -/* 80327BC8 00324B28 3C A0 4B 45 */ lis r5, 0x4B455945@ha -/* 80327BCC 00324B2C 38 05 59 45 */ addi r0, r5, 0x4B455945@l -/* 80327BD0 00324B30 7C 03 00 00 */ cmpw r3, r0 -/* 80327BD4 00324B34 41 82 01 E4 */ beq lbl_80327DB8 -/* 80327BD8 00324B38 40 80 00 E0 */ bge lbl_80327CB8 -/* 80327BDC 00324B3C 3C 80 47 41 */ lis r4, 0x47415043@ha -/* 80327BE0 00324B40 38 04 50 43 */ addi r0, r4, 0x47415043@l -/* 80327BE4 00324B44 7C 03 00 00 */ cmpw r3, r0 -/* 80327BE8 00324B48 41 82 07 54 */ beq lbl_8032833C -/* 80327BEC 00324B4C 40 80 00 68 */ bge lbl_80327C54 -/* 80327BF0 00324B50 3C 80 43 4C */ lis r4, 0x434C4D50@ha -/* 80327BF4 00324B54 38 04 4D 50 */ addi r0, r4, 0x434C4D50@l -/* 80327BF8 00324B58 7C 03 00 00 */ cmpw r3, r0 -/* 80327BFC 00324B5C 41 82 05 68 */ beq lbl_80328164 -/* 80327C00 00324B60 40 80 00 2C */ bge lbl_80327C2C -/* 80327C04 00324B64 3C 80 43 48 */ lis r4, 0x4348414E@ha -/* 80327C08 00324B68 38 04 41 4E */ addi r0, r4, 0x4348414E@l -/* 80327C0C 00324B6C 7C 03 00 00 */ cmpw r3, r0 -/* 80327C10 00324B70 41 82 02 68 */ beq lbl_80327E78 -/* 80327C14 00324B74 40 80 07 B0 */ bge lbl_803283C4 -/* 80327C18 00324B78 3C 80 41 44 */ lis r4, 0x4144445F@ha -/* 80327C1C 00324B7C 38 04 44 5F */ addi r0, r4, 0x4144445F@l -/* 80327C20 00324B80 7C 03 00 00 */ cmpw r3, r0 -/* 80327C24 00324B84 41 82 02 BC */ beq lbl_80327EE0 -/* 80327C28 00324B88 48 00 07 9C */ b lbl_803283C4 -lbl_80327C2C: -/* 80327C2C 00324B8C 3C 80 44 45 */ lis r4, 0x44455448@ha -/* 80327C30 00324B90 38 04 54 48 */ addi r0, r4, 0x44455448@l -/* 80327C34 00324B94 7C 03 00 00 */ cmpw r3, r0 -/* 80327C38 00324B98 41 82 01 EC */ beq lbl_80327E24 -/* 80327C3C 00324B9C 40 80 07 88 */ bge lbl_803283C4 -/* 80327C40 00324BA0 3C 80 43 4E */ lis r4, 0x434E5354@ha -/* 80327C44 00324BA4 38 04 53 54 */ addi r0, r4, 0x434E5354@l -/* 80327C48 00324BA8 7C 03 00 00 */ cmpw r3, r0 -/* 80327C4C 00324BAC 41 82 01 30 */ beq lbl_80327D7C -/* 80327C50 00324BB0 48 00 07 74 */ b lbl_803283C4 -lbl_80327C54: -/* 80327C54 00324BB4 3C 80 49 4C */ lis r4, 0x494C5054@ha -/* 80327C58 00324BB8 38 04 50 54 */ addi r0, r4, 0x494C5054@l -/* 80327C5C 00324BBC 7C 03 00 00 */ cmpw r3, r0 -/* 80327C60 00324BC0 41 82 04 0C */ beq lbl_8032806C -/* 80327C64 00324BC4 40 80 00 2C */ bge lbl_80327C90 -/* 80327C68 00324BC8 3C 80 47 54 */ lis r4, 0x47544350@ha -/* 80327C6C 00324BCC 38 04 43 50 */ addi r0, r4, 0x47544350@l -/* 80327C70 00324BD0 7C 03 00 00 */ cmpw r3, r0 -/* 80327C74 00324BD4 41 82 06 84 */ beq lbl_803282F8 -/* 80327C78 00324BD8 40 80 07 4C */ bge lbl_803283C4 -/* 80327C7C 00324BDC 3C 80 47 45 */ lis r4, 0x47454D54@ha -/* 80327C80 00324BE0 38 04 4D 54 */ addi r0, r4, 0x47454D54@l -/* 80327C84 00324BE4 7C 03 00 00 */ cmpw r3, r0 -/* 80327C88 00324BE8 41 82 06 F8 */ beq lbl_80328380 -/* 80327C8C 00324BEC 48 00 07 38 */ b lbl_803283C4 -lbl_80327C90: -/* 80327C90 00324BF0 3C 80 49 52 */ lis r4, 0x49524E44@ha -/* 80327C94 00324BF4 38 04 4E 44 */ addi r0, r4, 0x49524E44@l -/* 80327C98 00324BF8 7C 03 00 00 */ cmpw r3, r0 -/* 80327C9C 00324BFC 41 82 04 74 */ beq lbl_80328110 -/* 80327CA0 00324C00 40 80 07 24 */ bge lbl_803283C4 -/* 80327CA4 00324C04 3C 80 49 4D */ lis r4, 0x494D504C@ha -/* 80327CA8 00324C08 38 04 50 4C */ addi r0, r4, 0x494D504C@l -/* 80327CAC 00324C0C 7C 03 00 00 */ cmpw r3, r0 -/* 80327CB0 00324C10 41 82 03 80 */ beq lbl_80328030 -/* 80327CB4 00324C14 48 00 07 10 */ b lbl_803283C4 -lbl_80327CB8: -/* 80327CB8 00324C18 3C 80 52 41 */ lis r4, 0x52414E44@ha -/* 80327CBC 00324C1C 38 04 4E 44 */ addi r0, r4, 0x52414E44@l -/* 80327CC0 00324C20 7C 03 00 00 */ cmpw r3, r0 -/* 80327CC4 00324C24 41 82 03 18 */ beq lbl_80327FDC -/* 80327CC8 00324C28 40 80 00 64 */ bge lbl_80327D2C -/* 80327CCC 00324C2C 3C 80 4D 55 */ lis r4, 0x4D554C54@ha -/* 80327CD0 00324C30 38 04 4C 54 */ addi r0, r4, 0x4D554C54@l -/* 80327CD4 00324C34 7C 03 00 00 */ cmpw r3, r0 -/* 80327CD8 00324C38 41 82 02 5C */ beq lbl_80327F34 -/* 80327CDC 00324C3C 40 80 00 28 */ bge lbl_80327D04 -/* 80327CE0 00324C40 3C 80 4D 4F */ lis r4, 0x4D4F4455@ha -/* 80327CE4 00324C44 38 04 44 55 */ addi r0, r4, 0x4D4F4455@l -/* 80327CE8 00324C48 7C 03 00 00 */ cmpw r3, r0 -/* 80327CEC 00324C4C 41 82 02 9C */ beq lbl_80327F88 -/* 80327CF0 00324C50 40 80 06 D4 */ bge lbl_803283C4 -/* 80327CF4 00324C54 38 05 59 50 */ addi r0, r5, 0x5950 -/* 80327CF8 00324C58 7C 03 00 00 */ cmpw r3, r0 -/* 80327CFC 00324C5C 41 82 00 BC */ beq lbl_80327DB8 -/* 80327D00 00324C60 48 00 06 C4 */ b lbl_803283C4 -lbl_80327D04: -/* 80327D04 00324C64 3C 80 50 55 */ lis r4, 0x50554C53@ha -/* 80327D08 00324C68 38 04 4C 53 */ addi r0, r4, 0x50554C53@l -/* 80327D0C 00324C6C 7C 03 00 00 */ cmpw r3, r0 -/* 80327D10 00324C70 41 82 04 BC */ beq lbl_803281CC -/* 80327D14 00324C74 40 80 06 B0 */ bge lbl_803283C4 -/* 80327D18 00324C78 3C 80 4E 4F */ lis r4, 0x4E4F4E45@ha -/* 80327D1C 00324C7C 38 04 4E 45 */ addi r0, r4, 0x4E4F4E45@l -/* 80327D20 00324C80 7C 03 00 00 */ cmpw r3, r0 -/* 80327D24 00324C84 41 82 05 24 */ beq lbl_80328248 -/* 80327D28 00324C88 48 00 06 9C */ b lbl_803283C4 -lbl_80327D2C: -/* 80327D2C 00324C8C 3C 80 53 55 */ lis r4, 0x5355425F@ha -/* 80327D30 00324C90 38 04 42 5F */ addi r0, r4, 0x5355425F@l -/* 80327D34 00324C94 7C 03 00 00 */ cmpw r3, r0 -/* 80327D38 00324C98 41 82 05 6C */ beq lbl_803282A4 -/* 80327D3C 00324C9C 40 80 00 2C */ bge lbl_80327D68 -/* 80327D40 00324CA0 3C 80 53 50 */ lis r4, 0x53504148@ha -/* 80327D44 00324CA4 38 04 41 48 */ addi r0, r4, 0x53504148@l -/* 80327D48 00324CA8 7C 03 00 00 */ cmpw r3, r0 -/* 80327D4C 00324CAC 41 82 03 5C */ beq lbl_803280A8 -/* 80327D50 00324CB0 40 80 06 74 */ bge lbl_803283C4 -/* 80327D54 00324CB4 3C 80 52 54 */ lis r4, 0x52544F49@ha -/* 80327D58 00324CB8 38 04 4F 49 */ addi r0, r4, 0x52544F49@l -/* 80327D5C 00324CBC 7C 03 00 00 */ cmpw r3, r0 -/* 80327D60 00324CC0 41 82 04 F0 */ beq lbl_80328250 -/* 80327D64 00324CC4 48 00 06 60 */ b lbl_803283C4 -lbl_80327D68: -/* 80327D68 00324CC8 3C 80 54 53 */ lis r4, 0x5453434C@ha -/* 80327D6C 00324CCC 38 04 43 4C */ addi r0, r4, 0x5453434C@l -/* 80327D70 00324CD0 7C 03 00 00 */ cmpw r3, r0 -/* 80327D74 00324CD4 41 82 00 74 */ beq lbl_80327DE8 -/* 80327D78 00324CD8 48 00 06 4C */ b lbl_803283C4 -lbl_80327D7C: -/* 80327D7C 00324CDC 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 80327D80 00324CE0 38 60 00 08 */ li r3, 8 -/* 80327D84 00324CE4 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 80327D88 00324CE8 38 A0 00 00 */ li r5, 0 -/* 80327D8C 00324CEC 48 04 4C F9 */ bl __nw__FUlPCcPCc_0 -/* 80327D90 00324CF0 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80327D94 00324CF4 41 82 00 1C */ beq lbl_80327DB0 -/* 80327D98 00324CF8 7F E3 FB 78 */ mr r3, r31 -/* 80327D9C 00324CFC 48 00 06 6D */ bl GetInt__20CParticleDataFactoryFR12CInputStream -/* 80327DA0 00324D00 7C 64 1B 78 */ mr r4, r3 -/* 80327DA4 00324D04 7F C3 F3 78 */ mr r3, r30 -/* 80327DA8 00324D08 4B FF AB 41 */ bl __ct__11CIEConstantFi -/* 80327DAC 00324D0C 7C 7E 1B 78 */ mr r30, r3 -lbl_80327DB0: -/* 80327DB0 00324D10 7F C3 F3 78 */ mr r3, r30 -/* 80327DB4 00324D14 48 00 06 14 */ b lbl_803283C8 -lbl_80327DB8: -/* 80327DB8 00324D18 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 80327DBC 00324D1C 38 60 00 28 */ li r3, 0x28 -/* 80327DC0 00324D20 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 80327DC4 00324D24 38 A0 00 00 */ li r5, 0 -/* 80327DC8 00324D28 48 04 4C BD */ bl __nw__FUlPCcPCc_0 -/* 80327DCC 00324D2C 7C 60 1B 79 */ or. r0, r3, r3 -/* 80327DD0 00324D30 41 82 00 10 */ beq lbl_80327DE0 -/* 80327DD4 00324D34 7F E4 FB 78 */ mr r4, r31 -/* 80327DD8 00324D38 4B FF 94 D5 */ bl __ct__18CIEKeyframeEmitterFR12CInputStream -/* 80327DDC 00324D3C 7C 60 1B 78 */ mr r0, r3 -lbl_80327DE0: -/* 80327DE0 00324D40 7C 03 03 78 */ mr r3, r0 -/* 80327DE4 00324D44 48 00 05 E4 */ b lbl_803283C8 -lbl_80327DE8: -/* 80327DE8 00324D48 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 80327DEC 00324D4C 38 60 00 08 */ li r3, 8 -/* 80327DF0 00324D50 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 80327DF4 00324D54 38 A0 00 00 */ li r5, 0 -/* 80327DF8 00324D58 48 04 4C 8D */ bl __nw__FUlPCcPCc_0 -/* 80327DFC 00324D5C 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80327E00 00324D60 41 82 00 1C */ beq lbl_80327E1C -/* 80327E04 00324D64 7F E3 FB 78 */ mr r3, r31 -/* 80327E08 00324D68 4B FF EE 89 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 80327E0C 00324D6C 7C 64 1B 78 */ mr r4, r3 -/* 80327E10 00324D70 7F C3 F3 78 */ mr r3, r30 -/* 80327E14 00324D74 4B FF 9F A5 */ bl __ct__12CIETimescaleFP12CRealElement -/* 80327E18 00324D78 7C 7E 1B 78 */ mr r30, r3 -lbl_80327E1C: -/* 80327E1C 00324D7C 7F C3 F3 78 */ mr r3, r30 -/* 80327E20 00324D80 48 00 05 A8 */ b lbl_803283C8 -lbl_80327E24: -/* 80327E24 00324D84 7F E3 FB 78 */ mr r3, r31 -/* 80327E28 00324D88 4B FF FD 7D */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream -/* 80327E2C 00324D8C 7C 60 1B 78 */ mr r0, r3 -/* 80327E30 00324D90 7F E3 FB 78 */ mr r3, r31 -/* 80327E34 00324D94 7C 1E 03 78 */ mr r30, r0 -/* 80327E38 00324D98 4B FF FD 6D */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream -/* 80327E3C 00324D9C 7C 60 1B 78 */ mr r0, r3 -/* 80327E40 00324DA0 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 80327E44 00324DA4 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 80327E48 00324DA8 38 60 00 0C */ li r3, 0xc -/* 80327E4C 00324DAC 7C 1F 03 78 */ mr r31, r0 -/* 80327E50 00324DB0 38 A0 00 00 */ li r5, 0 -/* 80327E54 00324DB4 48 04 4C 31 */ bl __nw__FUlPCcPCc_0 -/* 80327E58 00324DB8 7C 60 1B 79 */ or. r0, r3, r3 -/* 80327E5C 00324DBC 41 82 00 14 */ beq lbl_80327E70 -/* 80327E60 00324DC0 7F C4 F3 78 */ mr r4, r30 -/* 80327E64 00324DC4 7F E5 FB 78 */ mr r5, r31 -/* 80327E68 00324DC8 4B FF A9 D1 */ bl __ct__8CIEDeathFP11CIntElementP11CIntElement -/* 80327E6C 00324DCC 7C 60 1B 78 */ mr r0, r3 -lbl_80327E70: -/* 80327E70 00324DD0 7C 03 03 78 */ mr r3, r0 -/* 80327E74 00324DD4 48 00 05 54 */ b lbl_803283C8 -lbl_80327E78: -/* 80327E78 00324DD8 7F E3 FB 78 */ mr r3, r31 -/* 80327E7C 00324DDC 4B FF FD 29 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream -/* 80327E80 00324DE0 7C 60 1B 78 */ mr r0, r3 -/* 80327E84 00324DE4 7F E3 FB 78 */ mr r3, r31 -/* 80327E88 00324DE8 7C 1E 03 78 */ mr r30, r0 -/* 80327E8C 00324DEC 4B FF FD 19 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream -/* 80327E90 00324DF0 7C 60 1B 78 */ mr r0, r3 -/* 80327E94 00324DF4 7F E3 FB 78 */ mr r3, r31 -/* 80327E98 00324DF8 7C 1F 03 78 */ mr r31, r0 -/* 80327E9C 00324DFC 4B FF FD 09 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream -/* 80327EA0 00324E00 7C 60 1B 78 */ mr r0, r3 -/* 80327EA4 00324E04 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 80327EA8 00324E08 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 80327EAC 00324E0C 38 60 00 10 */ li r3, 0x10 -/* 80327EB0 00324E10 7C 1D 03 78 */ mr r29, r0 -/* 80327EB4 00324E14 38 A0 00 00 */ li r5, 0 -/* 80327EB8 00324E18 48 04 4B CD */ bl __nw__FUlPCcPCc_0 -/* 80327EBC 00324E1C 7C 60 1B 79 */ or. r0, r3, r3 -/* 80327EC0 00324E20 41 82 00 18 */ beq lbl_80327ED8 -/* 80327EC4 00324E24 7F C4 F3 78 */ mr r4, r30 -/* 80327EC8 00324E28 7F E5 FB 78 */ mr r5, r31 -/* 80327ECC 00324E2C 7F A6 EB 78 */ mr r6, r29 -/* 80327ED0 00324E30 4B FF 9C 11 */ bl __ct__12CIETimeChainFP11CIntElementP11CIntElementP11CIntElement -/* 80327ED4 00324E34 7C 60 1B 78 */ mr r0, r3 -lbl_80327ED8: -/* 80327ED8 00324E38 7C 03 03 78 */ mr r3, r0 -/* 80327EDC 00324E3C 48 00 04 EC */ b lbl_803283C8 -lbl_80327EE0: -/* 80327EE0 00324E40 7F E3 FB 78 */ mr r3, r31 -/* 80327EE4 00324E44 4B FF FC C1 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream -/* 80327EE8 00324E48 7C 60 1B 78 */ mr r0, r3 -/* 80327EEC 00324E4C 7F E3 FB 78 */ mr r3, r31 -/* 80327EF0 00324E50 7C 1D 03 78 */ mr r29, r0 -/* 80327EF4 00324E54 4B FF FC B1 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream -/* 80327EF8 00324E58 7C 60 1B 78 */ mr r0, r3 -/* 80327EFC 00324E5C 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 80327F00 00324E60 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 80327F04 00324E64 38 60 00 0C */ li r3, 0xc -/* 80327F08 00324E68 7C 1E 03 78 */ mr r30, r0 -/* 80327F0C 00324E6C 38 A0 00 00 */ li r5, 0 -/* 80327F10 00324E70 48 04 4B 75 */ bl __nw__FUlPCcPCc_0 -/* 80327F14 00324E74 7C 60 1B 79 */ or. r0, r3, r3 -/* 80327F18 00324E78 41 82 00 14 */ beq lbl_80327F2C -/* 80327F1C 00324E7C 7F A4 EB 78 */ mr r4, r29 -/* 80327F20 00324E80 7F C5 F3 78 */ mr r5, r30 -/* 80327F24 00324E84 4B FF A7 A9 */ bl __ct__6CIEAddFP11CIntElementP11CIntElement -/* 80327F28 00324E88 7C 60 1B 78 */ mr r0, r3 -lbl_80327F2C: -/* 80327F2C 00324E8C 7C 03 03 78 */ mr r3, r0 -/* 80327F30 00324E90 48 00 04 98 */ b lbl_803283C8 -lbl_80327F34: -/* 80327F34 00324E94 7F E3 FB 78 */ mr r3, r31 -/* 80327F38 00324E98 4B FF FC 6D */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream -/* 80327F3C 00324E9C 7C 60 1B 78 */ mr r0, r3 -/* 80327F40 00324EA0 7F E3 FB 78 */ mr r3, r31 -/* 80327F44 00324EA4 7C 1D 03 78 */ mr r29, r0 -/* 80327F48 00324EA8 4B FF FC 5D */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream -/* 80327F4C 00324EAC 7C 60 1B 78 */ mr r0, r3 -/* 80327F50 00324EB0 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 80327F54 00324EB4 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 80327F58 00324EB8 38 60 00 0C */ li r3, 0xc -/* 80327F5C 00324EBC 7C 1E 03 78 */ mr r30, r0 -/* 80327F60 00324EC0 38 A0 00 00 */ li r5, 0 -/* 80327F64 00324EC4 48 04 4B 21 */ bl __nw__FUlPCcPCc_0 -/* 80327F68 00324EC8 7C 60 1B 79 */ or. r0, r3, r3 -/* 80327F6C 00324ECC 41 82 00 14 */ beq lbl_80327F80 -/* 80327F70 00324ED0 7F A4 EB 78 */ mr r4, r29 -/* 80327F74 00324ED4 7F C5 F3 78 */ mr r5, r30 -/* 80327F78 00324ED8 4B FF A5 DD */ bl __ct__11CIEMultiplyFP11CIntElementP11CIntElement -/* 80327F7C 00324EDC 7C 60 1B 78 */ mr r0, r3 -lbl_80327F80: -/* 80327F80 00324EE0 7C 03 03 78 */ mr r3, r0 -/* 80327F84 00324EE4 48 00 04 44 */ b lbl_803283C8 -lbl_80327F88: -/* 80327F88 00324EE8 7F E3 FB 78 */ mr r3, r31 -/* 80327F8C 00324EEC 4B FF FC 19 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream -/* 80327F90 00324EF0 7C 60 1B 78 */ mr r0, r3 -/* 80327F94 00324EF4 7F E3 FB 78 */ mr r3, r31 -/* 80327F98 00324EF8 7C 1D 03 78 */ mr r29, r0 -/* 80327F9C 00324EFC 4B FF FC 09 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream -/* 80327FA0 00324F00 7C 60 1B 78 */ mr r0, r3 -/* 80327FA4 00324F04 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 80327FA8 00324F08 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 80327FAC 00324F0C 38 60 00 0C */ li r3, 0xc -/* 80327FB0 00324F10 7C 1E 03 78 */ mr r30, r0 -/* 80327FB4 00324F14 38 A0 00 00 */ li r5, 0 -/* 80327FB8 00324F18 48 04 4A CD */ bl __nw__FUlPCcPCc_0 -/* 80327FBC 00324F1C 7C 60 1B 79 */ or. r0, r3, r3 -/* 80327FC0 00324F20 41 82 00 14 */ beq lbl_80327FD4 -/* 80327FC4 00324F24 7F A4 EB 78 */ mr r4, r29 -/* 80327FC8 00324F28 7F C5 F3 78 */ mr r5, r30 -/* 80327FCC 00324F2C 4B FF A4 11 */ bl __ct__9CIEModuloFP11CIntElementP11CIntElement -/* 80327FD0 00324F30 7C 60 1B 78 */ mr r0, r3 -lbl_80327FD4: -/* 80327FD4 00324F34 7C 03 03 78 */ mr r3, r0 -/* 80327FD8 00324F38 48 00 03 F0 */ b lbl_803283C8 -lbl_80327FDC: -/* 80327FDC 00324F3C 7F E3 FB 78 */ mr r3, r31 -/* 80327FE0 00324F40 4B FF FB C5 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream -/* 80327FE4 00324F44 7C 60 1B 78 */ mr r0, r3 -/* 80327FE8 00324F48 7F E3 FB 78 */ mr r3, r31 -/* 80327FEC 00324F4C 7C 1D 03 78 */ mr r29, r0 -/* 80327FF0 00324F50 4B FF FB B5 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream -/* 80327FF4 00324F54 7C 60 1B 78 */ mr r0, r3 -/* 80327FF8 00324F58 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 80327FFC 00324F5C 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 80328000 00324F60 38 60 00 0C */ li r3, 0xc -/* 80328004 00324F64 7C 1E 03 78 */ mr r30, r0 -/* 80328008 00324F68 38 A0 00 00 */ li r5, 0 -/* 8032800C 00324F6C 48 04 4A 79 */ bl __nw__FUlPCcPCc_0 -/* 80328010 00324F70 7C 60 1B 79 */ or. r0, r3, r3 -/* 80328014 00324F74 41 82 00 14 */ beq lbl_80328028 -/* 80328018 00324F78 7F A4 EB 78 */ mr r4, r29 -/* 8032801C 00324F7C 7F C5 F3 78 */ mr r5, r30 -/* 80328020 00324F80 4B FF A2 29 */ bl __ct__9CIERandomFP11CIntElementP11CIntElement -/* 80328024 00324F84 7C 60 1B 78 */ mr r0, r3 -lbl_80328028: -/* 80328028 00324F88 7C 03 03 78 */ mr r3, r0 -/* 8032802C 00324F8C 48 00 03 9C */ b lbl_803283C8 -lbl_80328030: -/* 80328030 00324F90 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 80328034 00324F94 38 60 00 08 */ li r3, 8 -/* 80328038 00324F98 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 8032803C 00324F9C 38 A0 00 00 */ li r5, 0 -/* 80328040 00324FA0 48 04 4A 45 */ bl __nw__FUlPCcPCc_0 -/* 80328044 00324FA4 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80328048 00324FA8 41 82 00 1C */ beq lbl_80328064 -/* 8032804C 00324FAC 7F E3 FB 78 */ mr r3, r31 -/* 80328050 00324FB0 4B FF FB 55 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream -/* 80328054 00324FB4 7C 64 1B 78 */ mr r4, r3 -/* 80328058 00324FB8 7F C3 F3 78 */ mr r3, r30 -/* 8032805C 00324FBC 4B FF 9E 71 */ bl __ct__10CIEImpulseFP11CIntElement -/* 80328060 00324FC0 7C 7E 1B 78 */ mr r30, r3 -lbl_80328064: -/* 80328064 00324FC4 7F C3 F3 78 */ mr r3, r30 -/* 80328068 00324FC8 48 00 03 60 */ b lbl_803283C8 -lbl_8032806C: -/* 8032806C 00324FCC 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 80328070 00324FD0 38 60 00 08 */ li r3, 8 -/* 80328074 00324FD4 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 80328078 00324FD8 38 A0 00 00 */ li r5, 0 -/* 8032807C 00324FDC 48 04 4A 09 */ bl __nw__FUlPCcPCc_0 -/* 80328080 00324FE0 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80328084 00324FE4 41 82 00 1C */ beq lbl_803280A0 -/* 80328088 00324FE8 7F E3 FB 78 */ mr r3, r31 -/* 8032808C 00324FEC 4B FF FB 19 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream -/* 80328090 00324FF0 7C 64 1B 78 */ mr r4, r3 -/* 80328094 00324FF4 7F C3 F3 78 */ mr r3, r30 -/* 80328098 00324FF8 4B FF 94 8D */ bl __ct__18CIELifetimePercentFP11CIntElement -/* 8032809C 00324FFC 7C 7E 1B 78 */ mr r30, r3 -lbl_803280A0: -/* 803280A0 00325000 7F C3 F3 78 */ mr r3, r30 -/* 803280A4 00325004 48 00 03 24 */ b lbl_803283C8 -lbl_803280A8: -/* 803280A8 00325008 7F E3 FB 78 */ mr r3, r31 -/* 803280AC 0032500C 4B FF FA F9 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream -/* 803280B0 00325010 7C 60 1B 78 */ mr r0, r3 -/* 803280B4 00325014 7F E3 FB 78 */ mr r3, r31 -/* 803280B8 00325018 7C 1D 03 78 */ mr r29, r0 -/* 803280BC 0032501C 4B FF FA E9 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream -/* 803280C0 00325020 7C 60 1B 78 */ mr r0, r3 -/* 803280C4 00325024 7F E3 FB 78 */ mr r3, r31 -/* 803280C8 00325028 7C 1E 03 78 */ mr r30, r0 -/* 803280CC 0032502C 4B FF FA D9 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream -/* 803280D0 00325030 7C 60 1B 78 */ mr r0, r3 -/* 803280D4 00325034 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 803280D8 00325038 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 803280DC 0032503C 38 60 00 18 */ li r3, 0x18 -/* 803280E0 00325040 7C 1F 03 78 */ mr r31, r0 -/* 803280E4 00325044 38 A0 00 00 */ li r5, 0 -/* 803280E8 00325048 48 04 49 9D */ bl __nw__FUlPCcPCc_0 -/* 803280EC 0032504C 7C 60 1B 79 */ or. r0, r3, r3 -/* 803280F0 00325050 41 82 00 18 */ beq lbl_80328108 -/* 803280F4 00325054 7F E4 FB 78 */ mr r4, r31 -/* 803280F8 00325058 7F A5 EB 78 */ mr r5, r29 -/* 803280FC 0032505C 7F C6 F3 78 */ mr r6, r30 -/* 80328100 00325060 4B FF 9F A5 */ bl __ct__16CIESampleAndHoldFP11CIntElementP11CIntElementP11CIntElement -/* 80328104 00325064 7C 60 1B 78 */ mr r0, r3 -lbl_80328108: -/* 80328108 00325068 7C 03 03 78 */ mr r3, r0 -/* 8032810C 0032506C 48 00 02 BC */ b lbl_803283C8 -lbl_80328110: -/* 80328110 00325070 7F E3 FB 78 */ mr r3, r31 -/* 80328114 00325074 4B FF FA 91 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream -/* 80328118 00325078 7C 60 1B 78 */ mr r0, r3 -/* 8032811C 0032507C 7F E3 FB 78 */ mr r3, r31 -/* 80328120 00325080 7C 1D 03 78 */ mr r29, r0 -/* 80328124 00325084 4B FF FA 81 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream -/* 80328128 00325088 7C 60 1B 78 */ mr r0, r3 -/* 8032812C 0032508C 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 80328130 00325090 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 80328134 00325094 38 60 00 0C */ li r3, 0xc -/* 80328138 00325098 7C 1E 03 78 */ mr r30, r0 -/* 8032813C 0032509C 38 A0 00 00 */ li r5, 0 -/* 80328140 003250A0 48 04 49 45 */ bl __nw__FUlPCcPCc_0 -/* 80328144 003250A4 7C 60 1B 79 */ or. r0, r3, r3 -/* 80328148 003250A8 41 82 00 14 */ beq lbl_8032815C -/* 8032814C 003250AC 7F A4 EB 78 */ mr r4, r29 -/* 80328150 003250B0 7F C5 F3 78 */ mr r5, r30 -/* 80328154 003250B4 4B FF 9B 11 */ bl __ct__16CIEInitialRandomFP11CIntElementP11CIntElement -/* 80328158 003250B8 7C 60 1B 78 */ mr r0, r3 -lbl_8032815C: -/* 8032815C 003250BC 7C 03 03 78 */ mr r3, r0 -/* 80328160 003250C0 48 00 02 68 */ b lbl_803283C8 -lbl_80328164: -/* 80328164 003250C4 7F E3 FB 78 */ mr r3, r31 -/* 80328168 003250C8 4B FF FA 3D */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream -/* 8032816C 003250CC 7C 60 1B 78 */ mr r0, r3 -/* 80328170 003250D0 7F E3 FB 78 */ mr r3, r31 -/* 80328174 003250D4 7C 1D 03 78 */ mr r29, r0 -/* 80328178 003250D8 4B FF FA 2D */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream -/* 8032817C 003250DC 7C 60 1B 78 */ mr r0, r3 -/* 80328180 003250E0 7F E3 FB 78 */ mr r3, r31 -/* 80328184 003250E4 7C 1E 03 78 */ mr r30, r0 -/* 80328188 003250E8 4B FF FA 1D */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream -/* 8032818C 003250EC 7C 60 1B 78 */ mr r0, r3 -/* 80328190 003250F0 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 80328194 003250F4 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 80328198 003250F8 38 60 00 10 */ li r3, 0x10 -/* 8032819C 003250FC 7C 1F 03 78 */ mr r31, r0 -/* 803281A0 00325100 38 A0 00 00 */ li r5, 0 -/* 803281A4 00325104 48 04 48 E1 */ bl __nw__FUlPCcPCc_0 -/* 803281A8 00325108 7C 60 1B 79 */ or. r0, r3, r3 -/* 803281AC 0032510C 41 82 00 18 */ beq lbl_803281C4 -/* 803281B0 00325110 7F A4 EB 78 */ mr r4, r29 -/* 803281B4 00325114 7F C5 F3 78 */ mr r5, r30 -/* 803281B8 00325118 7F E6 FB 78 */ mr r6, r31 -/* 803281BC 0032511C 4B FF 97 71 */ bl __ct__8CIEClampFP11CIntElementP11CIntElementP11CIntElement -/* 803281C0 00325120 7C 60 1B 78 */ mr r0, r3 -lbl_803281C4: -/* 803281C4 00325124 7C 03 03 78 */ mr r3, r0 -/* 803281C8 00325128 48 00 02 00 */ b lbl_803283C8 -lbl_803281CC: -/* 803281CC 0032512C 7F E3 FB 78 */ mr r3, r31 -/* 803281D0 00325130 4B FF F9 D5 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream -/* 803281D4 00325134 7C 60 1B 78 */ mr r0, r3 -/* 803281D8 00325138 7F E3 FB 78 */ mr r3, r31 -/* 803281DC 0032513C 7C 1D 03 78 */ mr r29, r0 -/* 803281E0 00325140 4B FF F9 C5 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream -/* 803281E4 00325144 7C 60 1B 78 */ mr r0, r3 -/* 803281E8 00325148 7F E3 FB 78 */ mr r3, r31 -/* 803281EC 0032514C 7C 1E 03 78 */ mr r30, r0 -/* 803281F0 00325150 4B FF F9 B5 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream -/* 803281F4 00325154 7C 60 1B 78 */ mr r0, r3 -/* 803281F8 00325158 7F E3 FB 78 */ mr r3, r31 -/* 803281FC 0032515C 7C 1F 03 78 */ mr r31, r0 -/* 80328200 00325160 4B FF F9 A5 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream -/* 80328204 00325164 7C 60 1B 78 */ mr r0, r3 -/* 80328208 00325168 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 8032820C 0032516C 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 80328210 00325170 38 60 00 14 */ li r3, 0x14 -/* 80328214 00325174 7C 1C 03 78 */ mr r28, r0 -/* 80328218 00325178 38 A0 00 00 */ li r5, 0 -/* 8032821C 0032517C 48 04 48 69 */ bl __nw__FUlPCcPCc_0 -/* 80328220 00325180 7C 60 1B 79 */ or. r0, r3, r3 -/* 80328224 00325184 41 82 00 1C */ beq lbl_80328240 -/* 80328228 00325188 7F A4 EB 78 */ mr r4, r29 -/* 8032822C 0032518C 7F C5 F3 78 */ mr r5, r30 -/* 80328230 00325190 7F E6 FB 78 */ mr r6, r31 -/* 80328234 00325194 7F 87 E3 78 */ mr r7, r28 -/* 80328238 00325198 4B FF 95 21 */ bl __ct__8CIEPulseFP11CIntElementP11CIntElementP11CIntElementP11CIntElement -/* 8032823C 0032519C 7C 60 1B 78 */ mr r0, r3 -lbl_80328240: -/* 80328240 003251A0 7C 03 03 78 */ mr r3, r0 -/* 80328244 003251A4 48 00 01 84 */ b lbl_803283C8 -lbl_80328248: -/* 80328248 003251A8 38 60 00 00 */ li r3, 0 -/* 8032824C 003251AC 48 00 01 7C */ b lbl_803283C8 -lbl_80328250: -/* 80328250 003251B0 7F E3 FB 78 */ mr r3, r31 -/* 80328254 003251B4 4B FF EA 3D */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 80328258 003251B8 7C 60 1B 78 */ mr r0, r3 -/* 8032825C 003251BC 7F E3 FB 78 */ mr r3, r31 -/* 80328260 003251C0 7C 1C 03 78 */ mr r28, r0 -/* 80328264 003251C4 4B FF EA 2D */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 80328268 003251C8 7C 60 1B 78 */ mr r0, r3 -/* 8032826C 003251CC 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 80328270 003251D0 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 80328274 003251D4 38 60 00 0C */ li r3, 0xc -/* 80328278 003251D8 7C 1D 03 78 */ mr r29, r0 -/* 8032827C 003251DC 38 A0 00 00 */ li r5, 0 -/* 80328280 003251E0 48 04 48 05 */ bl __nw__FUlPCcPCc_0 -/* 80328284 003251E4 7C 60 1B 79 */ or. r0, r3, r3 -/* 80328288 003251E8 41 82 00 14 */ beq lbl_8032829C -/* 8032828C 003251EC 7F 84 E3 78 */ mr r4, r28 -/* 80328290 003251F0 7F A5 EB 78 */ mr r5, r29 -/* 80328294 003251F4 4B FF 8C 65 */ bl __ct__12CIERealToIntFP12CRealElementP12CRealElement -/* 80328298 003251F8 7C 60 1B 78 */ mr r0, r3 -lbl_8032829C: -/* 8032829C 003251FC 7C 03 03 78 */ mr r3, r0 -/* 803282A0 00325200 48 00 01 28 */ b lbl_803283C8 -lbl_803282A4: -/* 803282A4 00325204 7F E3 FB 78 */ mr r3, r31 -/* 803282A8 00325208 4B FF F8 FD */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream -/* 803282AC 0032520C 7C 60 1B 78 */ mr r0, r3 -/* 803282B0 00325210 7F E3 FB 78 */ mr r3, r31 -/* 803282B4 00325214 7C 1C 03 78 */ mr r28, r0 -/* 803282B8 00325218 4B FF F8 ED */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream -/* 803282BC 0032521C 7C 60 1B 78 */ mr r0, r3 -/* 803282C0 00325220 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 803282C4 00325224 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 803282C8 00325228 38 60 00 0C */ li r3, 0xc -/* 803282CC 0032522C 7C 1D 03 78 */ mr r29, r0 -/* 803282D0 00325230 38 A0 00 00 */ li r5, 0 -/* 803282D4 00325234 48 04 47 B1 */ bl __nw__FUlPCcPCc_0 -/* 803282D8 00325238 7C 60 1B 79 */ or. r0, r3, r3 -/* 803282DC 0032523C 41 82 00 14 */ beq lbl_803282F0 -/* 803282E0 00325240 7F 84 E3 78 */ mr r4, r28 -/* 803282E4 00325244 7F A5 EB 78 */ mr r5, r29 -/* 803282E8 00325248 4B FF 8D 89 */ bl __ct__11CIESubtractFP11CIntElementP11CIntElement -/* 803282EC 0032524C 7C 60 1B 78 */ mr r0, r3 -lbl_803282F0: -/* 803282F0 00325250 7C 03 03 78 */ mr r3, r0 -/* 803282F4 00325254 48 00 00 D4 */ b lbl_803283C8 -lbl_803282F8: -/* 803282F8 00325258 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 803282FC 0032525C 38 60 00 04 */ li r3, 4 -/* 80328300 00325260 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 80328304 00325264 38 A0 00 00 */ li r5, 0 -/* 80328308 00325268 48 04 47 7D */ bl __nw__FUlPCcPCc_0 -/* 8032830C 0032526C 28 03 00 00 */ cmplwi r3, 0 -/* 80328310 00325270 41 82 00 B8 */ beq lbl_803283C8 -/* 80328314 00325274 3C 80 80 3F */ lis r4, lbl_803EC5A8@ha -/* 80328318 00325278 3C A0 80 3F */ lis r5, lbl_803EC584@ha -/* 8032831C 0032527C 38 04 C5 A8 */ addi r0, r4, lbl_803EC5A8@l -/* 80328320 00325280 3C 80 80 3F */ lis r4, lbl_803EDB18@ha -/* 80328324 00325284 90 03 00 00 */ stw r0, 0(r3) -/* 80328328 00325288 38 A5 C5 84 */ addi r5, r5, lbl_803EC584@l -/* 8032832C 0032528C 38 04 DB 18 */ addi r0, r4, lbl_803EDB18@l -/* 80328330 00325290 90 A3 00 00 */ stw r5, 0(r3) -/* 80328334 00325294 90 03 00 00 */ stw r0, 0(r3) -/* 80328338 00325298 48 00 00 90 */ b lbl_803283C8 -lbl_8032833C: -/* 8032833C 0032529C 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 80328340 003252A0 38 60 00 04 */ li r3, 4 -/* 80328344 003252A4 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 80328348 003252A8 38 A0 00 00 */ li r5, 0 -/* 8032834C 003252AC 48 04 47 39 */ bl __nw__FUlPCcPCc_0 -/* 80328350 003252B0 28 03 00 00 */ cmplwi r3, 0 -/* 80328354 003252B4 41 82 00 74 */ beq lbl_803283C8 -/* 80328358 003252B8 3C 80 80 3F */ lis r4, lbl_803EC5A8@ha -/* 8032835C 003252BC 3C A0 80 3F */ lis r5, lbl_803EC584@ha -/* 80328360 003252C0 38 04 C5 A8 */ addi r0, r4, lbl_803EC5A8@l -/* 80328364 003252C4 3C 80 80 3F */ lis r4, lbl_803EDB08@ha -/* 80328368 003252C8 90 03 00 00 */ stw r0, 0(r3) -/* 8032836C 003252CC 38 A5 C5 84 */ addi r5, r5, lbl_803EC584@l -/* 80328370 003252D0 38 04 DB 08 */ addi r0, r4, lbl_803EDB08@l -/* 80328374 003252D4 90 A3 00 00 */ stw r5, 0(r3) -/* 80328378 003252D8 90 03 00 00 */ stw r0, 0(r3) -/* 8032837C 003252DC 48 00 00 4C */ b lbl_803283C8 -lbl_80328380: -/* 80328380 003252E0 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 80328384 003252E4 38 60 00 04 */ li r3, 4 -/* 80328388 003252E8 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 8032838C 003252EC 38 A0 00 00 */ li r5, 0 -/* 80328390 003252F0 48 04 46 F5 */ bl __nw__FUlPCcPCc_0 -/* 80328394 003252F4 28 03 00 00 */ cmplwi r3, 0 -/* 80328398 003252F8 41 82 00 30 */ beq lbl_803283C8 -/* 8032839C 003252FC 3C 80 80 3F */ lis r4, lbl_803EC5A8@ha -/* 803283A0 00325300 3C A0 80 3F */ lis r5, lbl_803EC584@ha -/* 803283A4 00325304 38 04 C5 A8 */ addi r0, r4, lbl_803EC5A8@l -/* 803283A8 00325308 3C 80 80 3F */ lis r4, lbl_803EDAF8@ha -/* 803283AC 0032530C 90 03 00 00 */ stw r0, 0(r3) -/* 803283B0 00325310 38 A5 C5 84 */ addi r5, r5, lbl_803EC584@l -/* 803283B4 00325314 38 04 DA F8 */ addi r0, r4, lbl_803EDAF8@l -/* 803283B8 00325318 90 A3 00 00 */ stw r5, 0(r3) -/* 803283BC 0032531C 90 03 00 00 */ stw r0, 0(r3) -/* 803283C0 00325320 48 00 00 08 */ b lbl_803283C8 -lbl_803283C4: -/* 803283C4 00325324 38 60 00 00 */ li r3, 0 -lbl_803283C8: -/* 803283C8 00325328 80 01 00 24 */ lwz r0, 0x24(r1) -/* 803283CC 0032532C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 803283D0 00325330 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 803283D4 00325334 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 803283D8 00325338 83 81 00 10 */ lwz r28, 0x10(r1) -/* 803283DC 0032533C 7C 08 03 A6 */ mtlr r0 -/* 803283E0 00325340 38 21 00 20 */ addi r1, r1, 0x20 -/* 803283E4 00325344 4E 80 00 20 */ blr - -.global GetReal__20CParticleDataFactoryFR12CInputStream -GetReal__20CParticleDataFactoryFR12CInputStream: -/* 803283E8 00325348 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803283EC 0032534C 7C 08 02 A6 */ mflr r0 -/* 803283F0 00325350 90 01 00 14 */ stw r0, 0x14(r1) -/* 803283F4 00325354 48 01 68 35 */ bl ReadFloat__12CInputStreamFv -/* 803283F8 00325358 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803283FC 0032535C 7C 08 03 A6 */ mtlr r0 -/* 80328400 00325360 38 21 00 10 */ addi r1, r1, 0x10 -/* 80328404 00325364 4E 80 00 20 */ blr - -.global GetInt__20CParticleDataFactoryFR12CInputStream -GetInt__20CParticleDataFactoryFR12CInputStream: -/* 80328408 00325368 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8032840C 0032536C 7C 08 02 A6 */ mflr r0 -/* 80328410 00325370 90 01 00 14 */ stw r0, 0x14(r1) -/* 80328414 00325374 48 01 68 71 */ bl ReadLong__12CInputStreamFv -/* 80328418 00325378 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8032841C 0032537C 7C 08 03 A6 */ mtlr r0 -/* 80328420 00325380 38 21 00 10 */ addi r1, r1, 0x10 -/* 80328424 00325384 4E 80 00 20 */ blr - -.global GetBool__20CParticleDataFactoryFR12CInputStream -GetBool__20CParticleDataFactoryFR12CInputStream: -/* 80328428 00325388 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8032842C 0032538C 7C 08 02 A6 */ mflr r0 -/* 80328430 00325390 90 01 00 14 */ stw r0, 0x14(r1) -/* 80328434 00325394 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80328438 00325398 7C 7F 1B 78 */ mr r31, r3 -/* 8032843C 0032539C 48 00 00 21 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream -/* 80328440 003253A0 7F E3 FB 78 */ mr r3, r31 -/* 80328444 003253A4 48 01 68 99 */ bl ReadBool__12CInputStreamFv -/* 80328448 003253A8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8032844C 003253AC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80328450 003253B0 7C 08 03 A6 */ mtlr r0 -/* 80328454 003253B4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80328458 003253B8 4E 80 00 20 */ blr - -.global GetClassID__20CParticleDataFactoryFR12CInputStream -GetClassID__20CParticleDataFactoryFR12CInputStream: -/* 8032845C 003253BC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80328460 003253C0 7C 08 02 A6 */ mflr r0 -/* 80328464 003253C4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80328468 003253C8 48 01 68 1D */ bl ReadLong__12CInputStreamFv -/* 8032846C 003253CC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80328470 003253D0 7C 08 03 A6 */ mtlr r0 -/* 80328474 003253D4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80328478 003253D8 4E 80 00 20 */ blr - -.global "CreateGPSM__20CParticleDataFactoryFP15CGenDescriptionR12CInputStreamRQ24rstl37vectorP11CSimplePool" -"CreateGPSM__20CParticleDataFactoryFP15CGenDescriptionR12CInputStreamRQ24rstl37vectorP11CSimplePool": -/* 8032847C 003253DC 94 21 FE A0 */ stwu r1, -0x160(r1) -/* 80328480 003253E0 7C 08 02 A6 */ mflr r0 -/* 80328484 003253E4 90 01 01 64 */ stw r0, 0x164(r1) -/* 80328488 003253E8 BF 21 01 44 */ stmw r25, 0x144(r1) -/* 8032848C 003253EC 7C 7F 1B 78 */ mr r31, r3 -/* 80328490 003253F0 7C 9E 23 78 */ mr r30, r4 -/* 80328494 003253F4 7C BC 2B 78 */ mr r28, r5 -/* 80328498 003253F8 7C DD 33 78 */ mr r29, r6 -/* 8032849C 003253FC 38 61 00 08 */ addi r3, r1, 8 -/* 803284A0 00325400 3B 60 00 00 */ li r27, 0 -/* 803284A4 00325404 38 80 00 63 */ li r4, 0x63 -/* 803284A8 00325408 4B FE A1 45 */ bl __ct__9CRandom16FUi -/* 803284AC 0032540C 38 61 01 34 */ addi r3, r1, 0x134 -/* 803284B0 00325410 38 81 00 08 */ addi r4, r1, 8 -/* 803284B4 00325414 4B FE A1 CD */ bl __ct__13CGlobalRandomFR9CRandom16 -/* 803284B8 00325418 48 00 15 58 */ b lbl_80329A10 -lbl_803284BC: -/* 803284BC 0032541C 7F C3 F3 78 */ mr r3, r30 -/* 803284C0 00325420 4B FF FF 9D */ bl GetClassID__20CParticleDataFactoryFR12CInputStream -/* 803284C4 00325424 7C 03 D0 00 */ cmpw r3, r26 -/* 803284C8 00325428 41 82 10 40 */ beq lbl_80329508 -/* 803284CC 0032542C 40 80 02 D4 */ bge lbl_803287A0 -/* 803284D0 00325430 3C 80 4C 43 */ lis r4, 0x4C434C52@ha -/* 803284D4 00325434 38 04 4C 52 */ addi r0, r4, 0x4C434C52@l -/* 803284D8 00325438 7C 03 00 00 */ cmpw r3, r0 -/* 803284DC 0032543C 41 82 14 10 */ beq lbl_803298EC -/* 803284E0 00325440 40 80 01 6C */ bge lbl_8032864C -/* 803284E4 00325444 3C 80 45 4D */ lis r4, 0x454D5452@ha -/* 803284E8 00325448 38 04 54 52 */ addi r0, r4, 0x454D5452@l -/* 803284EC 0032544C 7C 03 00 00 */ cmpw r3, r0 -/* 803284F0 00325450 41 82 07 24 */ beq lbl_80328C14 -/* 803284F4 00325454 40 80 00 B8 */ bge lbl_803285AC -/* 803284F8 00325458 3C A0 41 44 */ lis r5, 0x41445637@ha -/* 803284FC 0032545C 38 05 56 37 */ addi r0, r5, 0x41445637@l -/* 80328500 00325460 7C 03 00 00 */ cmpw r3, r0 -/* 80328504 00325464 41 82 14 D0 */ beq lbl_803299D4 -/* 80328508 00325468 40 80 00 58 */ bge lbl_80328560 -/* 8032850C 0032546C 38 05 56 32 */ addi r0, r5, 0x5632 -/* 80328510 00325470 7C 03 00 00 */ cmpw r3, r0 -/* 80328514 00325474 41 82 14 70 */ beq lbl_80329984 -/* 80328518 00325478 40 80 00 28 */ bge lbl_80328540 -/* 8032851C 0032547C 3C 80 41 41 */ lis r4, 0x41415048@ha -/* 80328520 00325480 38 04 50 48 */ addi r0, r4, 0x41415048@l -/* 80328524 00325484 7C 03 00 00 */ cmpw r3, r0 -/* 80328528 00325488 41 82 06 0C */ beq lbl_80328B34 -/* 8032852C 0032548C 41 80 14 D0 */ blt lbl_803299FC -/* 80328530 00325490 38 05 56 31 */ addi r0, r5, 0x5631 -/* 80328534 00325494 7C 03 00 00 */ cmpw r3, r0 -/* 80328538 00325498 40 80 14 3C */ bge lbl_80329974 -/* 8032853C 0032549C 48 00 14 C0 */ b lbl_803299FC -lbl_80328540: -/* 80328540 003254A0 38 05 56 35 */ addi r0, r5, 0x5635 -/* 80328544 003254A4 7C 03 00 00 */ cmpw r3, r0 -/* 80328548 003254A8 41 82 14 6C */ beq lbl_803299B4 -/* 8032854C 003254AC 40 80 14 78 */ bge lbl_803299C4 -/* 80328550 003254B0 38 05 56 34 */ addi r0, r5, 0x5634 -/* 80328554 003254B4 7C 03 00 00 */ cmpw r3, r0 -/* 80328558 003254B8 40 80 14 4C */ bge lbl_803299A4 -/* 8032855C 003254BC 48 00 14 38 */ b lbl_80329994 -lbl_80328560: -/* 80328560 003254C0 3C 80 43 4F */ lis r4, 0x434F4C52@ha -/* 80328564 003254C4 38 04 4C 52 */ addi r0, r4, 0x434F4C52@l -/* 80328568 003254C8 7C 03 00 00 */ cmpw r3, r0 -/* 8032856C 003254CC 41 82 06 C8 */ beq lbl_80328C34 -/* 80328570 003254D0 40 80 00 28 */ bge lbl_80328598 -/* 80328574 003254D4 3C 80 43 49 */ lis r4, 0x43494E44@ha -/* 80328578 003254D8 38 04 4E 44 */ addi r0, r4, 0x43494E44@l -/* 8032857C 003254DC 7C 03 00 00 */ cmpw r3, r0 -/* 80328580 003254E0 41 82 07 DC */ beq lbl_80328D5C -/* 80328584 003254E4 40 80 14 78 */ bge lbl_803299FC -/* 80328588 003254E8 38 05 56 39 */ addi r0, r5, 0x5639 -/* 8032858C 003254EC 7C 03 00 00 */ cmpw r3, r0 -/* 80328590 003254F0 40 80 14 6C */ bge lbl_803299FC -/* 80328594 003254F4 48 00 14 50 */ b lbl_803299E4 -lbl_80328598: -/* 80328598 003254F8 3C 80 43 53 */ lis r4, 0x43535344@ha -/* 8032859C 003254FC 38 04 53 44 */ addi r0, r4, 0x43535344@l -/* 803285A0 00325500 7C 03 00 00 */ cmpw r3, r0 -/* 803285A4 00325504 41 82 0B DC */ beq lbl_80329180 -/* 803285A8 00325508 48 00 14 54 */ b lbl_803299FC -lbl_803285AC: -/* 803285AC 0032550C 3C 80 49 49 */ lis r4, 0x49495453@ha -/* 803285B0 00325510 38 04 54 53 */ addi r0, r4, 0x49495453@l -/* 803285B4 00325514 7C 03 00 00 */ cmpw r3, r0 -/* 803285B8 00325518 41 82 0D 9C */ beq lbl_80329354 -/* 803285BC 0032551C 40 80 00 54 */ bge lbl_80328610 -/* 803285C0 00325520 3C 80 49 43 */ lis r4, 0x49435453@ha -/* 803285C4 00325524 38 04 54 53 */ addi r0, r4, 0x49435453@l -/* 803285C8 00325528 7C 03 00 00 */ cmpw r3, r0 -/* 803285CC 0032552C 41 82 09 F0 */ beq lbl_80328FBC -/* 803285D0 00325530 40 80 00 2C */ bge lbl_803285FC -/* 803285D4 00325534 3C 80 47 52 */ lis r4, 0x47525445@ha -/* 803285D8 00325538 38 04 54 45 */ addi r0, r4, 0x47525445@l -/* 803285DC 0032553C 7C 03 00 00 */ cmpw r3, r0 -/* 803285E0 00325540 41 82 05 D4 */ beq lbl_80328BB4 -/* 803285E4 00325544 40 80 14 18 */ bge lbl_803299FC -/* 803285E8 00325548 3C 80 46 58 */ lis r4, 0x46584C4C@ha -/* 803285EC 0032554C 38 04 4C 4C */ addi r0, r4, 0x46584C4C@l -/* 803285F0 00325550 7C 03 00 00 */ cmpw r3, r0 -/* 803285F4 00325554 41 82 12 D0 */ beq lbl_803298C4 -/* 803285F8 00325558 48 00 14 04 */ b lbl_803299FC -lbl_803285FC: -/* 803285FC 0032555C 3C 80 49 44 */ lis r4, 0x49445453@ha -/* 80328600 00325560 38 04 54 53 */ addi r0, r4, 0x49445453@l -/* 80328604 00325564 7C 03 00 00 */ cmpw r3, r0 -/* 80328608 00325568 41 82 0B 88 */ beq lbl_80329190 -/* 8032860C 0032556C 48 00 13 F0 */ b lbl_803299FC -lbl_80328610: -/* 80328610 00325570 3C 80 49 56 */ lis r4, 0x49564543@ha -/* 80328614 00325574 38 04 45 43 */ addi r0, r4, 0x49564543@l -/* 80328618 00325578 7C 03 00 00 */ cmpw r3, r0 -/* 8032861C 0032557C 41 82 05 D0 */ beq lbl_80328BEC -/* 80328620 00325580 40 80 00 18 */ bge lbl_80328638 -/* 80328624 00325584 3C 80 49 4C */ lis r4, 0x494C4F43@ha -/* 80328628 00325588 38 04 4F 43 */ addi r0, r4, 0x494C4F43@l -/* 8032862C 0032558C 7C 03 00 00 */ cmpw r3, r0 -/* 80328630 00325590 41 82 05 94 */ beq lbl_80328BC4 -/* 80328634 00325594 48 00 13 C8 */ b lbl_803299FC -lbl_80328638: -/* 80328638 00325598 3C 80 4B 53 */ lis r4, 0x4B53534D@ha -/* 8032863C 0032559C 38 04 53 4D */ addi r0, r4, 0x4B53534D@l -/* 80328640 003255A0 7C 03 00 00 */ cmpw r3, r0 -/* 80328644 003255A4 41 82 12 14 */ beq lbl_80329858 -/* 80328648 003255A8 48 00 13 B4 */ b lbl_803299FC -lbl_8032864C: -/* 8032864C 003255AC 3C A0 4C 54 */ lis r5, 0x4C544D45@ha -/* 80328650 003255B0 38 05 4D 45 */ addi r0, r5, 0x4C544D45@l -/* 80328654 003255B4 7C 03 00 00 */ cmpw r3, r0 -/* 80328658 003255B8 41 82 06 9C */ beq lbl_80328CF4 -/* 8032865C 003255BC 40 80 00 AC */ bge lbl_80328708 -/* 80328660 003255C0 3C A0 4C 49 */ lis r5, 0x4C494E45@ha -/* 80328664 003255C4 38 05 4E 45 */ addi r0, r5, 0x4C494E45@l -/* 80328668 003255C8 7C 03 00 00 */ cmpw r3, r0 -/* 8032866C 003255CC 41 82 12 40 */ beq lbl_803298AC -/* 80328670 003255D0 40 80 00 50 */ bge lbl_803286C0 -/* 80328674 003255D4 3C 80 4C 46 */ lis r4, 0x4C464F52@ha -/* 80328678 003255D8 38 04 4F 52 */ addi r0, r4, 0x4C464F52@l -/* 8032867C 003255DC 7C 03 00 00 */ cmpw r3, r0 -/* 80328680 003255E0 41 82 12 BC */ beq lbl_8032993C -/* 80328684 003255E4 40 80 00 2C */ bge lbl_803286B0 -/* 80328688 003255E8 3C 80 4C 45 */ lis r4, 0x4C454E47@ha -/* 8032868C 003255EC 38 04 4E 47 */ addi r0, r4, 0x4C454E47@l -/* 80328690 003255F0 7C 03 00 00 */ cmpw r3, r0 -/* 80328694 003255F4 41 82 06 80 */ beq lbl_80328D14 -/* 80328698 003255F8 40 80 13 64 */ bge lbl_803299FC -/* 8032869C 003255FC 3C 80 4C 44 */ lis r4, 0x4C444952@ha -/* 803286A0 00325600 38 04 49 52 */ addi r0, r4, 0x4C444952@l -/* 803286A4 00325604 7C 03 00 00 */ cmpw r3, r0 -/* 803286A8 00325608 41 82 12 74 */ beq lbl_8032991C -/* 803286AC 0032560C 48 00 13 50 */ b lbl_803299FC -lbl_803286B0: -/* 803286B0 00325610 38 04 4F 54 */ addi r0, r4, 0x4f54 -/* 803286B4 00325614 7C 03 00 00 */ cmpw r3, r0 -/* 803286B8 00325618 41 82 12 74 */ beq lbl_8032992C -/* 803286BC 0032561C 48 00 13 40 */ b lbl_803299FC -lbl_803286C0: -/* 803286C0 00325620 3C 80 4C 4F */ lis r4, 0x4C4F4646@ha -/* 803286C4 00325624 38 04 46 46 */ addi r0, r4, 0x4C4F4646@l -/* 803286C8 00325628 7C 03 00 00 */ cmpw r3, r0 -/* 803286CC 0032562C 41 82 12 40 */ beq lbl_8032990C -/* 803286D0 00325630 40 80 00 24 */ bge lbl_803286F4 -/* 803286D4 00325634 38 05 54 5F */ addi r0, r5, 0x545f -/* 803286D8 00325638 7C 03 00 00 */ cmpw r3, r0 -/* 803286DC 0032563C 41 82 04 10 */ beq lbl_80328AEC -/* 803286E0 00325640 40 80 13 1C */ bge lbl_803299FC -/* 803286E4 00325644 38 05 4E 54 */ addi r0, r5, 0x4e54 -/* 803286E8 00325648 7C 03 00 00 */ cmpw r3, r0 -/* 803286EC 0032564C 41 82 12 10 */ beq lbl_803298FC -/* 803286F0 00325650 48 00 13 0C */ b lbl_803299FC -lbl_803286F4: -/* 803286F4 00325654 3C 80 4C 53 */ lis r4, 0x4C534C41@ha -/* 803286F8 00325658 38 04 4C 41 */ addi r0, r4, 0x4C534C41@l -/* 803286FC 0032565C 7C 03 00 00 */ cmpw r3, r0 -/* 80328700 00325660 41 82 12 4C */ beq lbl_8032994C -/* 80328704 00325664 48 00 12 F8 */ b lbl_803299FC -lbl_80328708: -/* 80328708 00325668 3C 80 4E 43 */ lis r4, 0x4E435359@ha -/* 8032870C 0032566C 38 04 53 59 */ addi r0, r4, 0x4E435359@l -/* 80328710 00325670 7C 03 00 00 */ cmpw r3, r0 -/* 80328714 00325674 41 82 0A 5C */ beq lbl_80329170 -/* 80328718 00325678 40 80 00 4C */ bge lbl_80328764 -/* 8032871C 0032567C 3C 80 4D 42 */ lis r4, 0x4D424C52@ha -/* 80328720 00325680 38 04 4C 52 */ addi r0, r4, 0x4D424C52@l -/* 80328724 00325684 7C 03 00 00 */ cmpw r3, r0 -/* 80328728 00325688 41 82 04 54 */ beq lbl_80328B7C -/* 8032872C 0032568C 40 80 00 28 */ bge lbl_80328754 -/* 80328730 00325690 3C 80 4D 41 */ lis r4, 0x4D415850@ha -/* 80328734 00325694 38 04 58 50 */ addi r0, r4, 0x4D415850@l -/* 80328738 00325698 7C 03 00 00 */ cmpw r3, r0 -/* 8032873C 0032569C 41 82 04 68 */ beq lbl_80328BA4 -/* 80328740 003256A0 40 80 12 BC */ bge lbl_803299FC -/* 80328744 003256A4 38 05 59 50 */ addi r0, r5, 0x5950 -/* 80328748 003256A8 7C 03 00 00 */ cmpw r3, r0 -/* 8032874C 003256AC 41 82 11 90 */ beq lbl_803298DC -/* 80328750 003256B0 48 00 12 AC */ b lbl_803299FC -lbl_80328754: -/* 80328754 003256B4 38 04 53 50 */ addi r0, r4, 0x5350 -/* 80328758 003256B8 7C 03 00 00 */ cmpw r3, r0 -/* 8032875C 003256BC 41 82 04 38 */ beq lbl_80328B94 -/* 80328760 003256C0 48 00 12 9C */ b lbl_803299FC -lbl_80328764: -/* 80328764 003256C4 3C 80 4F 50 */ lis r4, 0x4F505453@ha -/* 80328768 003256C8 38 04 54 53 */ addi r0, r4, 0x4F505453@l -/* 8032876C 003256CC 7C 03 00 00 */ cmpw r3, r0 -/* 80328770 003256D0 41 82 11 EC */ beq lbl_8032995C -/* 80328774 003256D4 40 80 00 18 */ bge lbl_8032878C -/* 80328778 003256D8 3C 80 4E 44 */ lis r4, 0x4E445359@ha -/* 8032877C 003256DC 38 04 53 59 */ addi r0, r4, 0x4E445359@l -/* 80328780 003256E0 7C 03 00 00 */ cmpw r3, r0 -/* 80328784 003256E4 41 82 0B C0 */ beq lbl_80329344 -/* 80328788 003256E8 48 00 12 74 */ b lbl_803299FC -lbl_8032878C: -/* 8032878C 003256EC 3C 80 4F 52 */ lis r4, 0x4F524E54@ha -/* 80328790 003256F0 38 04 4E 54 */ addi r0, r4, 0x4F524E54@l -/* 80328794 003256F4 7C 03 00 00 */ cmpw r3, r0 -/* 80328798 003256F8 41 82 03 6C */ beq lbl_80328B04 -/* 8032879C 003256FC 48 00 12 60 */ b lbl_803299FC -lbl_803287A0: -/* 803287A0 00325700 3C A0 53 45 */ lis r5, 0x53454C43@ha -/* 803287A4 00325704 38 05 4C 43 */ addi r0, r5, 0x53454C43@l -/* 803287A8 00325708 7C 03 00 00 */ cmpw r3, r0 -/* 803287AC 0032570C 41 82 0F 4C */ beq lbl_803296F8 -/* 803287B0 00325710 40 80 01 38 */ bge lbl_803288E8 -/* 803287B4 00325714 3C 80 50 53 */ lis r4, 0x50534956@ha -/* 803287B8 00325718 38 04 49 56 */ addi r0, r4, 0x50534956@l -/* 803287BC 0032571C 7C 03 00 00 */ cmpw r3, r0 -/* 803287C0 00325720 41 82 02 84 */ beq lbl_80328A44 -/* 803287C4 00325724 40 80 00 9C */ bge lbl_80328860 -/* 803287C8 00325728 3C 80 50 4D */ lis r4, 0x504D4F50@ha -/* 803287CC 0032572C 38 04 4F 50 */ addi r0, r4, 0x504D4F50@l -/* 803287D0 00325730 7C 03 00 00 */ cmpw r3, r0 -/* 803287D4 00325734 41 82 07 50 */ beq lbl_80328F24 -/* 803287D8 00325738 40 80 00 44 */ bge lbl_8032881C -/* 803287DC 0032573C 38 04 43 4C */ addi r0, r4, 0x434c -/* 803287E0 00325740 7C 03 00 00 */ cmpw r3, r0 -/* 803287E4 00325744 41 82 07 70 */ beq lbl_80328F54 -/* 803287E8 00325748 40 80 00 14 */ bge lbl_803287FC -/* 803287EC 0032574C 38 04 41 42 */ addi r0, r4, 0x4142 -/* 803287F0 00325750 7C 03 00 00 */ cmpw r3, r0 -/* 803287F4 00325754 41 82 07 70 */ beq lbl_80328F64 -/* 803287F8 00325758 48 00 12 04 */ b lbl_803299FC -lbl_803287FC: -/* 803287FC 0032575C 38 04 44 4C */ addi r0, r4, 0x444c -/* 80328800 00325760 7C 03 00 00 */ cmpw r3, r0 -/* 80328804 00325764 41 82 05 70 */ beq lbl_80328D74 -/* 80328808 00325768 41 80 11 F4 */ blt lbl_803299FC -/* 8032880C 0032576C 38 04 4F 4F */ addi r0, r4, 0x4f4f -/* 80328810 00325770 7C 03 00 00 */ cmpw r3, r0 -/* 80328814 00325774 40 80 07 80 */ bge lbl_80328F94 -/* 80328818 00325778 48 00 11 E4 */ b lbl_803299FC -lbl_8032881C: -/* 8032881C 0032577C 38 04 55 53 */ addi r0, r4, 0x5553 -/* 80328820 00325780 7C 03 00 00 */ cmpw r3, r0 -/* 80328824 00325784 41 82 07 58 */ beq lbl_80328F7C -/* 80328828 00325788 40 80 00 24 */ bge lbl_8032884C -/* 8032882C 0032578C 38 04 53 43 */ addi r0, r4, 0x5343 -/* 80328830 00325790 7C 03 00 00 */ cmpw r3, r0 -/* 80328834 00325794 41 82 07 10 */ beq lbl_80328F44 -/* 80328838 00325798 40 80 11 C4 */ bge lbl_803299FC -/* 8032883C 0032579C 38 04 52 54 */ addi r0, r4, 0x5254 -/* 80328840 003257A0 7C 03 00 00 */ cmpw r3, r0 -/* 80328844 003257A4 41 82 06 F0 */ beq lbl_80328F34 -/* 80328848 003257A8 48 00 11 B4 */ b lbl_803299FC -lbl_8032884C: -/* 8032884C 003257AC 3C 80 50 4F */ lis r4, 0x504F4653@ha -/* 80328850 003257B0 38 04 46 53 */ addi r0, r4, 0x504F4653@l -/* 80328854 003257B4 7C 03 00 00 */ cmpw r3, r0 -/* 80328858 003257B8 41 82 03 EC */ beq lbl_80328C44 -/* 8032885C 003257BC 48 00 11 A0 */ b lbl_803299FC -lbl_80328860: -/* 80328860 003257C0 38 04 57 54 */ addi r0, r4, 0x5754 -/* 80328864 003257C4 7C 03 00 00 */ cmpw r3, r0 -/* 80328868 003257C8 41 82 02 74 */ beq lbl_80328ADC -/* 8032886C 003257CC 40 80 00 44 */ bge lbl_803288B0 -/* 80328870 003257D0 38 04 54 53 */ addi r0, r4, 0x5453 -/* 80328874 003257D4 7C 03 00 00 */ cmpw r3, r0 -/* 80328878 003257D8 41 82 02 44 */ beq lbl_80328ABC -/* 8032887C 003257DC 40 80 00 24 */ bge lbl_803288A0 -/* 80328880 003257E0 38 04 4F 56 */ addi r0, r4, 0x4f56 -/* 80328884 003257E4 7C 03 00 00 */ cmpw r3, r0 -/* 80328888 003257E8 41 82 02 0C */ beq lbl_80328A94 -/* 8032888C 003257EC 40 80 11 70 */ bge lbl_803299FC -/* 80328890 003257F0 38 04 4C 54 */ addi r0, r4, 0x4c54 -/* 80328894 003257F4 7C 03 00 00 */ cmpw r3, r0 -/* 80328898 003257F8 41 82 02 34 */ beq lbl_80328ACC -/* 8032889C 003257FC 48 00 11 60 */ b lbl_803299FC -lbl_803288A0: -/* 803288A0 00325800 38 04 56 4D */ addi r0, r4, 0x564d -/* 803288A4 00325804 7C 03 00 00 */ cmpw r3, r0 -/* 803288A8 00325808 41 82 01 C4 */ beq lbl_80328A6C -/* 803288AC 0032580C 48 00 11 50 */ b lbl_803299FC -lbl_803288B0: -/* 803288B0 00325810 3C 80 52 53 */ lis r4, 0x52534F50@ha -/* 803288B4 00325814 38 04 4F 50 */ addi r0, r4, 0x52534F50@l -/* 803288B8 00325818 7C 03 00 00 */ cmpw r3, r0 -/* 803288BC 0032581C 41 82 02 60 */ beq lbl_80328B1C -/* 803288C0 00325820 40 80 00 18 */ bge lbl_803288D8 -/* 803288C4 00325824 3C 80 52 4F */ lis r4, 0x524F5441@ha -/* 803288C8 00325828 38 04 54 41 */ addi r0, r4, 0x524F5441@l -/* 803288CC 0032582C 7C 03 00 00 */ cmpw r3, r0 -/* 803288D0 00325830 41 82 04 34 */ beq lbl_80328D04 -/* 803288D4 00325834 48 00 11 28 */ b lbl_803299FC -lbl_803288D8: -/* 803288D8 00325838 38 05 45 44 */ addi r0, r5, 0x4544 -/* 803288DC 0032583C 7C 03 00 00 */ cmpw r3, r0 -/* 803288E0 00325840 41 82 06 CC */ beq lbl_80328FAC -/* 803288E4 00325844 48 00 11 18 */ b lbl_803299FC -lbl_803288E8: -/* 803288E8 00325848 3C 80 54 49 */ lis r4, 0x54494E44@ha -/* 803288EC 0032584C 38 04 4E 44 */ addi r0, r4, 0x54494E44@l -/* 803288F0 00325850 7C 03 00 00 */ cmpw r3, r0 -/* 803288F4 00325854 41 82 04 54 */ beq lbl_80328D48 -/* 803288F8 00325858 40 80 00 A4 */ bge lbl_8032899C -/* 803288FC 0032585C 3C 80 53 4F */ lis r4, 0x534F5254@ha -/* 80328900 00325860 38 04 52 54 */ addi r0, r4, 0x534F5254@l -/* 80328904 00325864 7C 03 00 00 */ cmpw r3, r0 -/* 80328908 00325868 41 82 02 5C */ beq lbl_80328B64 -/* 8032890C 0032586C 40 80 00 48 */ bge lbl_80328954 -/* 80328910 00325870 3C 80 53 49 */ lis r4, 0x53495359@ha -/* 80328914 00325874 38 04 53 59 */ addi r0, r4, 0x53495359@l -/* 80328918 00325878 7C 03 00 00 */ cmpw r3, r0 -/* 8032891C 0032587C 41 82 0B FC */ beq lbl_80329518 -/* 80328920 00325880 40 80 00 24 */ bge lbl_80328944 -/* 80328924 00325884 38 05 53 44 */ addi r0, r5, 0x5344 -/* 80328928 00325888 7C 03 00 00 */ cmpw r3, r0 -/* 8032892C 0032588C 41 82 0F 0C */ beq lbl_80329838 -/* 80328930 00325890 40 80 10 CC */ bge lbl_803299FC -/* 80328934 00325894 38 05 50 4F */ addi r0, r5, 0x504f -/* 80328938 00325898 7C 03 00 00 */ cmpw r3, r0 -/* 8032893C 0032589C 41 82 0F 0C */ beq lbl_80329848 -/* 80328940 003258A0 48 00 10 BC */ b lbl_803299FC -lbl_80328944: -/* 80328944 003258A4 38 04 5A 45 */ addi r0, r4, 0x5a45 -/* 80328948 003258A8 7C 03 00 00 */ cmpw r3, r0 -/* 8032894C 003258AC 41 82 02 D8 */ beq lbl_80328C24 -/* 80328950 003258B0 48 00 10 AC */ b lbl_803299FC -lbl_80328954: -/* 80328954 003258B4 3C 80 53 53 */ lis r4, 0x53535748@ha -/* 80328958 003258B8 38 04 57 48 */ addi r0, r4, 0x53535748@l -/* 8032895C 003258BC 7C 03 00 00 */ cmpw r3, r0 -/* 80328960 003258C0 41 82 0B C8 */ beq lbl_80329528 -/* 80328964 003258C4 40 80 00 24 */ bge lbl_80328988 -/* 80328968 003258C8 38 04 53 44 */ addi r0, r4, 0x5344 -/* 8032896C 003258CC 7C 03 00 00 */ cmpw r3, r0 -/* 80328970 003258D0 41 82 0D 68 */ beq lbl_803296D8 -/* 80328974 003258D4 40 80 10 88 */ bge lbl_803299FC -/* 80328978 003258D8 38 04 50 4F */ addi r0, r4, 0x504f -/* 8032897C 003258DC 7C 03 00 00 */ cmpw r3, r0 -/* 80328980 003258E0 41 82 0D 68 */ beq lbl_803296E8 -/* 80328984 003258E4 48 00 10 78 */ b lbl_803299FC -lbl_80328988: -/* 80328988 003258E8 3C 80 54 45 */ lis r4, 0x54455852@ha -/* 8032898C 003258EC 38 04 58 52 */ addi r0, r4, 0x54455852@l -/* 80328990 003258F0 7C 03 00 00 */ cmpw r3, r0 -/* 80328994 003258F4 41 82 03 A0 */ beq lbl_80328D34 -/* 80328998 003258F8 48 00 10 64 */ b lbl_803299FC -lbl_8032899C: -/* 8032899C 003258FC 3C A0 56 4D */ lis r5, 0x564D4433@ha -/* 803289A0 00325900 38 05 44 33 */ addi r0, r5, 0x564D4433@l -/* 803289A4 00325904 7C 03 00 00 */ cmpw r3, r0 -/* 803289A8 00325908 41 82 02 DC */ beq lbl_80328C84 -/* 803289AC 0032590C 40 80 00 4C */ bge lbl_803289F8 -/* 803289B0 00325910 3C 80 56 45 */ lis r4, 0x56454C34@ha -/* 803289B4 00325914 38 04 4C 34 */ addi r0, r4, 0x56454C34@l -/* 803289B8 00325918 7C 03 00 00 */ cmpw r3, r0 -/* 803289BC 0032591C 41 82 03 28 */ beq lbl_80328CE4 -/* 803289C0 00325920 40 80 00 24 */ bge lbl_803289E4 -/* 803289C4 00325924 38 04 4C 32 */ addi r0, r4, 0x4c32 -/* 803289C8 00325928 7C 03 00 00 */ cmpw r3, r0 -/* 803289CC 0032592C 41 82 02 F8 */ beq lbl_80328CC4 -/* 803289D0 00325930 40 80 03 04 */ bge lbl_80328CD4 -/* 803289D4 00325934 38 04 4C 31 */ addi r0, r4, 0x4c31 -/* 803289D8 00325938 7C 03 00 00 */ cmpw r3, r0 -/* 803289DC 0032593C 40 80 02 D8 */ bge lbl_80328CB4 -/* 803289E0 00325940 48 00 10 1C */ b lbl_803299FC -lbl_803289E4: -/* 803289E4 00325944 38 05 44 31 */ addi r0, r5, 0x4431 -/* 803289E8 00325948 7C 03 00 00 */ cmpw r3, r0 -/* 803289EC 0032594C 41 82 02 68 */ beq lbl_80328C54 -/* 803289F0 00325950 40 80 02 7C */ bge lbl_80328C6C -/* 803289F4 00325954 48 00 10 08 */ b lbl_803299FC -lbl_803289F8: -/* 803289F8 00325958 3C 80 5A 42 */ lis r4, 0x5A425546@ha -/* 803289FC 0032595C 38 04 55 46 */ addi r0, r4, 0x5A425546@l -/* 80328A00 00325960 7C 03 00 00 */ cmpw r3, r0 -/* 80328A04 00325964 41 82 01 48 */ beq lbl_80328B4C -/* 80328A08 00325968 40 80 00 28 */ bge lbl_80328A30 -/* 80328A0C 0032596C 3C 80 57 49 */ lis r4, 0x57494454@ha -/* 80328A10 00325970 38 04 44 54 */ addi r0, r4, 0x57494454@l -/* 80328A14 00325974 7C 03 00 00 */ cmpw r3, r0 -/* 80328A18 00325978 41 82 03 0C */ beq lbl_80328D24 -/* 80328A1C 0032597C 40 80 0F E0 */ bge lbl_803299FC -/* 80328A20 00325980 38 05 44 35 */ addi r0, r5, 0x4435 -/* 80328A24 00325984 7C 03 00 00 */ cmpw r3, r0 -/* 80328A28 00325988 40 80 0F D4 */ bge lbl_803299FC -/* 80328A2C 0032598C 48 00 02 70 */ b lbl_80328C9C -lbl_80328A30: -/* 80328A30 00325990 3C 80 5F 45 */ lis r4, 0x5F454E44@ha -/* 80328A34 00325994 38 04 4E 44 */ addi r0, r4, 0x5F454E44@l -/* 80328A38 00325998 7C 03 00 00 */ cmpw r3, r0 -/* 80328A3C 0032599C 41 82 0F B8 */ beq lbl_803299F4 -/* 80328A40 003259A0 48 00 0F BC */ b lbl_803299FC -lbl_80328A44: -/* 80328A44 003259A4 7F C3 F3 78 */ mr r3, r30 -/* 80328A48 003259A8 4B FF D8 0D */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream -/* 80328A4C 003259AC 28 03 00 00 */ cmplwi r3, 0 -/* 80328A50 003259B0 41 82 0F C8 */ beq lbl_80329A18 -/* 80328A54 003259B4 81 83 00 00 */ lwz r12, 0(r3) -/* 80328A58 003259B8 38 80 00 01 */ li r4, 1 -/* 80328A5C 003259BC 81 8C 00 08 */ lwz r12, 8(r12) -/* 80328A60 003259C0 7D 89 03 A6 */ mtctr r12 -/* 80328A64 003259C4 4E 80 04 21 */ bctrl -/* 80328A68 003259C8 48 00 0F B0 */ b lbl_80329A18 -lbl_80328A6C: -/* 80328A6C 003259CC 7F C3 F3 78 */ mr r3, r30 -/* 80328A70 003259D0 4B FF CD 8D */ bl GetModVectorElement__20CParticleDataFactoryFR12CInputStream -/* 80328A74 003259D4 28 03 00 00 */ cmplwi r3, 0 -/* 80328A78 003259D8 41 82 0F A0 */ beq lbl_80329A18 -/* 80328A7C 003259DC 81 83 00 00 */ lwz r12, 0(r3) -/* 80328A80 003259E0 38 80 00 01 */ li r4, 1 -/* 80328A84 003259E4 81 8C 00 08 */ lwz r12, 8(r12) -/* 80328A88 003259E8 7D 89 03 A6 */ mtctr r12 -/* 80328A8C 003259EC 4E 80 04 21 */ bctrl -/* 80328A90 003259F0 48 00 0F 88 */ b lbl_80329A18 -lbl_80328A94: -/* 80328A94 003259F4 7F C3 F3 78 */ mr r3, r30 -/* 80328A98 003259F8 4B FF D7 BD */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream -/* 80328A9C 003259FC 28 03 00 00 */ cmplwi r3, 0 -/* 80328AA0 00325A00 41 82 0F 78 */ beq lbl_80329A18 -/* 80328AA4 00325A04 81 83 00 00 */ lwz r12, 0(r3) -/* 80328AA8 00325A08 38 80 00 01 */ li r4, 1 -/* 80328AAC 00325A0C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80328AB0 00325A10 7D 89 03 A6 */ mtctr r12 -/* 80328AB4 00325A14 4E 80 04 21 */ bctrl -/* 80328AB8 00325A18 48 00 0F 60 */ b lbl_80329A18 -lbl_80328ABC: -/* 80328ABC 00325A1C 7F C3 F3 78 */ mr r3, r30 -/* 80328AC0 00325A20 4B FF E1 D1 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 80328AC4 00325A24 90 7F 00 08 */ stw r3, 8(r31) -/* 80328AC8 00325A28 48 00 0F 50 */ b lbl_80329A18 -lbl_80328ACC: -/* 80328ACC 00325A2C 7F C3 F3 78 */ mr r3, r30 -/* 80328AD0 00325A30 4B FF F0 D5 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream -/* 80328AD4 00325A34 90 7F 00 00 */ stw r3, 0(r31) -/* 80328AD8 00325A38 48 00 0F 40 */ b lbl_80329A18 -lbl_80328ADC: -/* 80328ADC 00325A3C 7F C3 F3 78 */ mr r3, r30 -/* 80328AE0 00325A40 4B FF F0 C5 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream -/* 80328AE4 00325A44 90 7F 00 04 */ stw r3, 4(r31) -/* 80328AE8 00325A48 48 00 0F 30 */ b lbl_80329A18 -lbl_80328AEC: -/* 80328AEC 00325A4C 7F C3 F3 78 */ mr r3, r30 -/* 80328AF0 00325A50 4B FF F9 39 */ bl GetBool__20CParticleDataFactoryFR12CInputStream -/* 80328AF4 00325A54 88 1F 00 30 */ lbz r0, 0x30(r31) -/* 80328AF8 00325A58 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 80328AFC 00325A5C 98 1F 00 30 */ stb r0, 0x30(r31) -/* 80328B00 00325A60 48 00 0F 18 */ b lbl_80329A18 -lbl_80328B04: -/* 80328B04 00325A64 7F C3 F3 78 */ mr r3, r30 -/* 80328B08 00325A68 4B FF F9 21 */ bl GetBool__20CParticleDataFactoryFR12CInputStream -/* 80328B0C 00325A6C 88 1F 00 30 */ lbz r0, 0x30(r31) -/* 80328B10 00325A70 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e -/* 80328B14 00325A74 98 1F 00 30 */ stb r0, 0x30(r31) -/* 80328B18 00325A78 48 00 0F 00 */ b lbl_80329A18 -lbl_80328B1C: -/* 80328B1C 00325A7C 7F C3 F3 78 */ mr r3, r30 -/* 80328B20 00325A80 4B FF F9 09 */ bl GetBool__20CParticleDataFactoryFR12CInputStream -/* 80328B24 00325A84 88 1F 00 30 */ lbz r0, 0x30(r31) -/* 80328B28 00325A88 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f -/* 80328B2C 00325A8C 98 1F 00 30 */ stb r0, 0x30(r31) -/* 80328B30 00325A90 48 00 0E E8 */ b lbl_80329A18 -lbl_80328B34: -/* 80328B34 00325A94 7F C3 F3 78 */ mr r3, r30 -/* 80328B38 00325A98 4B FF F8 F1 */ bl GetBool__20CParticleDataFactoryFR12CInputStream -/* 80328B3C 00325A9C 88 1F 00 30 */ lbz r0, 0x30(r31) -/* 80328B40 00325AA0 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 80328B44 00325AA4 98 1F 00 30 */ stb r0, 0x30(r31) -/* 80328B48 00325AA8 48 00 0E D0 */ b lbl_80329A18 -lbl_80328B4C: -/* 80328B4C 00325AAC 7F C3 F3 78 */ mr r3, r30 -/* 80328B50 00325AB0 4B FF F8 D9 */ bl GetBool__20CParticleDataFactoryFR12CInputStream -/* 80328B54 00325AB4 88 1F 00 30 */ lbz r0, 0x30(r31) -/* 80328B58 00325AB8 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 80328B5C 00325ABC 98 1F 00 30 */ stb r0, 0x30(r31) -/* 80328B60 00325AC0 48 00 0E B8 */ b lbl_80329A18 -lbl_80328B64: -/* 80328B64 00325AC4 7F C3 F3 78 */ mr r3, r30 -/* 80328B68 00325AC8 4B FF F8 C1 */ bl GetBool__20CParticleDataFactoryFR12CInputStream -/* 80328B6C 00325ACC 88 1F 00 30 */ lbz r0, 0x30(r31) -/* 80328B70 00325AD0 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 80328B74 00325AD4 98 1F 00 30 */ stb r0, 0x30(r31) -/* 80328B78 00325AD8 48 00 0E A0 */ b lbl_80329A18 -lbl_80328B7C: -/* 80328B7C 00325ADC 7F C3 F3 78 */ mr r3, r30 -/* 80328B80 00325AE0 4B FF F8 A9 */ bl GetBool__20CParticleDataFactoryFR12CInputStream -/* 80328B84 00325AE4 88 1F 00 31 */ lbz r0, 0x31(r31) -/* 80328B88 00325AE8 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 80328B8C 00325AEC 98 1F 00 31 */ stb r0, 0x31(r31) -/* 80328B90 00325AF0 48 00 0E 88 */ b lbl_80329A18 -lbl_80328B94: -/* 80328B94 00325AF4 7F C3 F3 78 */ mr r3, r30 -/* 80328B98 00325AF8 4B FF F0 0D */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream -/* 80328B9C 00325AFC 90 7F 00 34 */ stw r3, 0x34(r31) -/* 80328BA0 00325B00 48 00 0E 78 */ b lbl_80329A18 -lbl_80328BA4: -/* 80328BA4 00325B04 7F C3 F3 78 */ mr r3, r30 -/* 80328BA8 00325B08 4B FF EF FD */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream -/* 80328BAC 00325B0C 90 7F 00 1C */ stw r3, 0x1c(r31) -/* 80328BB0 00325B10 48 00 0E 68 */ b lbl_80329A18 -lbl_80328BB4: -/* 80328BB4 00325B14 7F C3 F3 78 */ mr r3, r30 -/* 80328BB8 00325B18 4B FF E0 D9 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 80328BBC 00325B1C 90 7F 00 20 */ stw r3, 0x20(r31) -/* 80328BC0 00325B20 48 00 0E 58 */ b lbl_80329A18 -lbl_80328BC4: -/* 80328BC4 00325B24 7F C3 F3 78 */ mr r3, r30 -/* 80328BC8 00325B28 4B FF D6 8D */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream -/* 80328BCC 00325B2C 28 03 00 00 */ cmplwi r3, 0 -/* 80328BD0 00325B30 41 82 0E 48 */ beq lbl_80329A18 -/* 80328BD4 00325B34 81 83 00 00 */ lwz r12, 0(r3) -/* 80328BD8 00325B38 38 80 00 01 */ li r4, 1 -/* 80328BDC 00325B3C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80328BE0 00325B40 7D 89 03 A6 */ mtctr r12 -/* 80328BE4 00325B44 4E 80 04 21 */ bctrl -/* 80328BE8 00325B48 48 00 0E 30 */ b lbl_80329A18 -lbl_80328BEC: -/* 80328BEC 00325B4C 7F C3 F3 78 */ mr r3, r30 -/* 80328BF0 00325B50 4B FF D6 65 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream -/* 80328BF4 00325B54 28 03 00 00 */ cmplwi r3, 0 -/* 80328BF8 00325B58 41 82 0E 20 */ beq lbl_80329A18 -/* 80328BFC 00325B5C 81 83 00 00 */ lwz r12, 0(r3) -/* 80328C00 00325B60 38 80 00 01 */ li r4, 1 -/* 80328C04 00325B64 81 8C 00 08 */ lwz r12, 8(r12) -/* 80328C08 00325B68 7D 89 03 A6 */ mtctr r12 -/* 80328C0C 00325B6C 4E 80 04 21 */ bctrl -/* 80328C10 00325B70 48 00 0E 08 */ b lbl_80329A18 -lbl_80328C14: -/* 80328C14 00325B74 7F C3 F3 78 */ mr r3, r30 -/* 80328C18 00325B78 4B FF D3 99 */ bl GetEmitterElement__20CParticleDataFactoryFR12CInputStream -/* 80328C1C 00325B7C 90 7F 00 2C */ stw r3, 0x2c(r31) -/* 80328C20 00325B80 48 00 0D F8 */ b lbl_80329A18 -lbl_80328C24: -/* 80328C24 00325B84 7F C3 F3 78 */ mr r3, r30 -/* 80328C28 00325B88 4B FF E0 69 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 80328C2C 00325B8C 90 7F 00 38 */ stw r3, 0x38(r31) -/* 80328C30 00325B90 48 00 0D E8 */ b lbl_80329A18 -lbl_80328C34: -/* 80328C34 00325B94 7F C3 F3 78 */ mr r3, r30 -/* 80328C38 00325B98 4B FF C6 25 */ bl GetColorElement__20CParticleDataFactoryFR12CInputStream -/* 80328C3C 00325B9C 90 7F 00 24 */ stw r3, 0x24(r31) -/* 80328C40 00325BA0 48 00 0D D8 */ b lbl_80329A18 -lbl_80328C44: -/* 80328C44 00325BA4 7F C3 F3 78 */ mr r3, r30 -/* 80328C48 00325BA8 4B FF D6 0D */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream -/* 80328C4C 00325BAC 90 7F 00 0C */ stw r3, 0xc(r31) -/* 80328C50 00325BB0 48 00 0D C8 */ b lbl_80329A18 -lbl_80328C54: -/* 80328C54 00325BB4 7F C3 F3 78 */ mr r3, r30 -/* 80328C58 00325BB8 4B FF F7 D1 */ bl GetBool__20CParticleDataFactoryFR12CInputStream -/* 80328C5C 00325BBC 88 1F 00 31 */ lbz r0, 0x31(r31) -/* 80328C60 00325BC0 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 80328C64 00325BC4 98 1F 00 31 */ stb r0, 0x31(r31) -/* 80328C68 00325BC8 48 00 0D B0 */ b lbl_80329A18 -lbl_80328C6C: -/* 80328C6C 00325BCC 7F C3 F3 78 */ mr r3, r30 -/* 80328C70 00325BD0 4B FF F7 B9 */ bl GetBool__20CParticleDataFactoryFR12CInputStream -/* 80328C74 00325BD4 88 1F 00 31 */ lbz r0, 0x31(r31) -/* 80328C78 00325BD8 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 80328C7C 00325BDC 98 1F 00 31 */ stb r0, 0x31(r31) -/* 80328C80 00325BE0 48 00 0D 98 */ b lbl_80329A18 -lbl_80328C84: -/* 80328C84 00325BE4 7F C3 F3 78 */ mr r3, r30 -/* 80328C88 00325BE8 4B FF F7 A1 */ bl GetBool__20CParticleDataFactoryFR12CInputStream -/* 80328C8C 00325BEC 88 1F 00 31 */ lbz r0, 0x31(r31) -/* 80328C90 00325BF0 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e -/* 80328C94 00325BF4 98 1F 00 31 */ stb r0, 0x31(r31) -/* 80328C98 00325BF8 48 00 0D 80 */ b lbl_80329A18 -lbl_80328C9C: -/* 80328C9C 00325BFC 7F C3 F3 78 */ mr r3, r30 -/* 80328CA0 00325C00 4B FF F7 89 */ bl GetBool__20CParticleDataFactoryFR12CInputStream -/* 80328CA4 00325C04 88 1F 00 31 */ lbz r0, 0x31(r31) -/* 80328CA8 00325C08 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f -/* 80328CAC 00325C0C 98 1F 00 31 */ stb r0, 0x31(r31) -/* 80328CB0 00325C10 48 00 0D 68 */ b lbl_80329A18 -lbl_80328CB4: -/* 80328CB4 00325C14 7F C3 F3 78 */ mr r3, r30 -/* 80328CB8 00325C18 4B FF CB 45 */ bl GetModVectorElement__20CParticleDataFactoryFR12CInputStream -/* 80328CBC 00325C1C 90 7F 00 68 */ stw r3, 0x68(r31) -/* 80328CC0 00325C20 48 00 0D 58 */ b lbl_80329A18 -lbl_80328CC4: -/* 80328CC4 00325C24 7F C3 F3 78 */ mr r3, r30 -/* 80328CC8 00325C28 4B FF CB 35 */ bl GetModVectorElement__20CParticleDataFactoryFR12CInputStream -/* 80328CCC 00325C2C 90 7F 00 6C */ stw r3, 0x6c(r31) -/* 80328CD0 00325C30 48 00 0D 48 */ b lbl_80329A18 -lbl_80328CD4: -/* 80328CD4 00325C34 7F C3 F3 78 */ mr r3, r30 -/* 80328CD8 00325C38 4B FF CB 25 */ bl GetModVectorElement__20CParticleDataFactoryFR12CInputStream -/* 80328CDC 00325C3C 90 7F 00 70 */ stw r3, 0x70(r31) -/* 80328CE0 00325C40 48 00 0D 38 */ b lbl_80329A18 -lbl_80328CE4: -/* 80328CE4 00325C44 7F C3 F3 78 */ mr r3, r30 -/* 80328CE8 00325C48 4B FF CB 15 */ bl GetModVectorElement__20CParticleDataFactoryFR12CInputStream -/* 80328CEC 00325C4C 90 7F 00 74 */ stw r3, 0x74(r31) -/* 80328CF0 00325C50 48 00 0D 28 */ b lbl_80329A18 -lbl_80328CF4: -/* 80328CF4 00325C54 7F C3 F3 78 */ mr r3, r30 -/* 80328CF8 00325C58 4B FF EE AD */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream -/* 80328CFC 00325C5C 90 7F 00 28 */ stw r3, 0x28(r31) -/* 80328D00 00325C60 48 00 0D 18 */ b lbl_80329A18 -lbl_80328D04: -/* 80328D04 00325C64 7F C3 F3 78 */ mr r3, r30 -/* 80328D08 00325C68 4B FF DF 89 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 80328D0C 00325C6C 90 7F 00 3C */ stw r3, 0x3c(r31) -/* 80328D10 00325C70 48 00 0D 08 */ b lbl_80329A18 -lbl_80328D14: -/* 80328D14 00325C74 7F C3 F3 78 */ mr r3, r30 -/* 80328D18 00325C78 4B FF DF 79 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 80328D1C 00325C7C 90 7F 00 14 */ stw r3, 0x14(r31) -/* 80328D20 00325C80 48 00 0C F8 */ b lbl_80329A18 -lbl_80328D24: -/* 80328D24 00325C84 7F C3 F3 78 */ mr r3, r30 -/* 80328D28 00325C88 4B FF DF 69 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 80328D2C 00325C8C 90 7F 00 18 */ stw r3, 0x18(r31) -/* 80328D30 00325C90 48 00 0C E8 */ b lbl_80329A18 -lbl_80328D34: -/* 80328D34 00325C94 7F C3 F3 78 */ mr r3, r30 -/* 80328D38 00325C98 7F A4 EB 78 */ mr r4, r29 -/* 80328D3C 00325C9C 4B FF C0 F5 */ bl GetTextureElement__20CParticleDataFactoryFR12CInputStreamP11CSimplePool -/* 80328D40 00325CA0 90 7F 00 40 */ stw r3, 0x40(r31) -/* 80328D44 00325CA4 48 00 0C D4 */ b lbl_80329A18 -lbl_80328D48: -/* 80328D48 00325CA8 7F C3 F3 78 */ mr r3, r30 -/* 80328D4C 00325CAC 7F A4 EB 78 */ mr r4, r29 -/* 80328D50 00325CB0 4B FF C0 E1 */ bl GetTextureElement__20CParticleDataFactoryFR12CInputStreamP11CSimplePool -/* 80328D54 00325CB4 90 7F 00 44 */ stw r3, 0x44(r31) -/* 80328D58 00325CB8 48 00 0C C0 */ b lbl_80329A18 -lbl_80328D5C: -/* 80328D5C 00325CBC 7F C3 F3 78 */ mr r3, r30 -/* 80328D60 00325CC0 4B FF F6 C9 */ bl GetBool__20CParticleDataFactoryFR12CInputStream -/* 80328D64 00325CC4 88 1F 00 32 */ lbz r0, 0x32(r31) -/* 80328D68 00325CC8 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 80328D6C 00325CCC 98 1F 00 32 */ stb r0, 0x32(r31) -/* 80328D70 00325CD0 48 00 0C A8 */ b lbl_80329A18 -lbl_80328D74: -/* 80328D74 00325CD4 7F C4 F3 78 */ mr r4, r30 -/* 80328D78 00325CD8 7F A5 EB 78 */ mr r5, r29 -/* 80328D7C 00325CDC 38 61 00 E0 */ addi r3, r1, 0xe0 -/* 80328D80 00325CE0 4B FF BC 61 */ bl GetModel__20CParticleDataFactoryFR12CInputStreamP11CSimplePool -/* 80328D84 00325CE4 88 01 00 E8 */ lbz r0, 0xe8(r1) -/* 80328D88 00325CE8 28 00 00 00 */ cmplwi r0, 0 -/* 80328D8C 00325CEC 98 01 01 30 */ stb r0, 0x130(r1) -/* 80328D90 00325CF0 41 82 00 14 */ beq lbl_80328DA4 -/* 80328D94 00325CF4 34 61 01 28 */ addic. r3, r1, 0x128 -/* 80328D98 00325CF8 38 81 00 E0 */ addi r4, r1, 0xe0 -/* 80328D9C 00325CFC 41 82 00 08 */ beq lbl_80328DA4 -/* 80328DA0 00325D00 48 01 81 09 */ bl __ct__6CTokenFRC6CToken -lbl_80328DA4: -/* 80328DA4 00325D04 88 01 00 E8 */ lbz r0, 0xe8(r1) -/* 80328DA8 00325D08 28 00 00 00 */ cmplwi r0, 0 -/* 80328DAC 00325D0C 41 82 00 14 */ beq lbl_80328DC0 -/* 80328DB0 00325D10 34 61 00 E0 */ addic. r3, r1, 0xe0 -/* 80328DB4 00325D14 41 82 00 0C */ beq lbl_80328DC0 -/* 80328DB8 00325D18 38 80 00 00 */ li r4, 0 -/* 80328DBC 00325D1C 48 01 80 85 */ bl __dt__6CTokenFv -lbl_80328DC0: -/* 80328DC0 00325D20 88 01 01 30 */ lbz r0, 0x130(r1) -/* 80328DC4 00325D24 38 60 00 00 */ li r3, 0 -/* 80328DC8 00325D28 98 61 00 E8 */ stb r3, 0xe8(r1) -/* 80328DCC 00325D2C 28 00 00 00 */ cmplwi r0, 0 -/* 80328DD0 00325D30 41 82 00 74 */ beq lbl_80328E44 -/* 80328DD4 00325D34 38 61 00 D4 */ addi r3, r1, 0xd4 -/* 80328DD8 00325D38 38 81 01 28 */ addi r4, r1, 0x128 -/* 80328DDC 00325D3C 48 01 80 CD */ bl __ct__6CTokenFRC6CToken -/* 80328DE0 00325D40 38 00 00 00 */ li r0, 0 -/* 80328DE4 00325D44 90 01 00 DC */ stw r0, 0xdc(r1) -/* 80328DE8 00325D48 88 1F 00 54 */ lbz r0, 0x54(r31) -/* 80328DEC 00325D4C 28 00 00 00 */ cmplwi r0, 0 -/* 80328DF0 00325D50 40 82 00 2C */ bne lbl_80328E1C -/* 80328DF4 00325D54 37 3F 00 48 */ addic. r25, r31, 0x48 -/* 80328DF8 00325D58 41 82 00 18 */ beq lbl_80328E10 -/* 80328DFC 00325D5C 7F 23 CB 78 */ mr r3, r25 -/* 80328E00 00325D60 38 81 00 D4 */ addi r4, r1, 0xd4 -/* 80328E04 00325D64 48 01 80 A5 */ bl __ct__6CTokenFRC6CToken -/* 80328E08 00325D68 80 01 00 DC */ lwz r0, 0xdc(r1) -/* 80328E0C 00325D6C 90 19 00 08 */ stw r0, 8(r25) -lbl_80328E10: -/* 80328E10 00325D70 38 00 00 01 */ li r0, 1 -/* 80328E14 00325D74 98 1F 00 54 */ stb r0, 0x54(r31) -/* 80328E18 00325D78 48 00 00 1C */ b lbl_80328E34 -lbl_80328E1C: -/* 80328E1C 00325D7C 3B 3F 00 48 */ addi r25, r31, 0x48 -/* 80328E20 00325D80 38 81 00 D4 */ addi r4, r1, 0xd4 -/* 80328E24 00325D84 7F 23 CB 78 */ mr r3, r25 -/* 80328E28 00325D88 48 01 7E 9D */ bl __as__6CTokenFRC6CToken -/* 80328E2C 00325D8C 80 01 00 DC */ lwz r0, 0xdc(r1) -/* 80328E30 00325D90 90 19 00 08 */ stw r0, 8(r25) -lbl_80328E34: -/* 80328E34 00325D94 38 61 00 D4 */ addi r3, r1, 0xd4 -/* 80328E38 00325D98 38 80 00 00 */ li r4, 0 -/* 80328E3C 00325D9C 48 01 80 05 */ bl __dt__6CTokenFv -/* 80328E40 00325DA0 48 00 00 BC */ b lbl_80328EFC -lbl_80328E44: -/* 80328E44 00325DA4 3B 3F 00 48 */ addi r25, r31, 0x48 -/* 80328E48 00325DA8 38 81 00 C4 */ addi r4, r1, 0xc4 -/* 80328E4C 00325DAC 7C 19 20 40 */ cmplw r25, r4 -/* 80328E50 00325DB0 98 61 00 D0 */ stb r3, 0xd0(r1) -/* 80328E54 00325DB4 41 82 00 7C */ beq lbl_80328ED0 -/* 80328E58 00325DB8 28 03 00 00 */ cmplwi r3, 0 -/* 80328E5C 00325DBC 41 82 00 48 */ beq lbl_80328EA4 -/* 80328E60 00325DC0 88 1F 00 54 */ lbz r0, 0x54(r31) -/* 80328E64 00325DC4 28 00 00 00 */ cmplwi r0, 0 -/* 80328E68 00325DC8 40 82 00 28 */ bne lbl_80328E90 -/* 80328E6C 00325DCC 37 3F 00 48 */ addic. r25, r31, 0x48 -/* 80328E70 00325DD0 41 82 00 14 */ beq lbl_80328E84 -/* 80328E74 00325DD4 7F 23 CB 78 */ mr r3, r25 -/* 80328E78 00325DD8 48 01 80 31 */ bl __ct__6CTokenFRC6CToken -/* 80328E7C 00325DDC 80 01 00 CC */ lwz r0, 0xcc(r1) -/* 80328E80 00325DE0 90 19 00 08 */ stw r0, 8(r25) -lbl_80328E84: -/* 80328E84 00325DE4 38 00 00 01 */ li r0, 1 -/* 80328E88 00325DE8 98 1F 00 54 */ stb r0, 0x54(r31) -/* 80328E8C 00325DEC 48 00 00 44 */ b lbl_80328ED0 -lbl_80328E90: -/* 80328E90 00325DF0 7F 23 CB 78 */ mr r3, r25 -/* 80328E94 00325DF4 48 01 7E 31 */ bl __as__6CTokenFRC6CToken -/* 80328E98 00325DF8 80 01 00 CC */ lwz r0, 0xcc(r1) -/* 80328E9C 00325DFC 90 19 00 08 */ stw r0, 8(r25) -/* 80328EA0 00325E00 48 00 00 30 */ b lbl_80328ED0 -lbl_80328EA4: -/* 80328EA4 00325E04 88 1F 00 54 */ lbz r0, 0x54(r31) -/* 80328EA8 00325E08 28 00 00 00 */ cmplwi r0, 0 -/* 80328EAC 00325E0C 41 82 00 1C */ beq lbl_80328EC8 -/* 80328EB0 00325E10 34 7F 00 48 */ addic. r3, r31, 0x48 -/* 80328EB4 00325E14 41 82 00 14 */ beq lbl_80328EC8 -/* 80328EB8 00325E18 28 03 00 00 */ cmplwi r3, 0 -/* 80328EBC 00325E1C 41 82 00 0C */ beq lbl_80328EC8 -/* 80328EC0 00325E20 38 80 00 00 */ li r4, 0 -/* 80328EC4 00325E24 48 01 7F 7D */ bl __dt__6CTokenFv -lbl_80328EC8: -/* 80328EC8 00325E28 38 00 00 00 */ li r0, 0 -/* 80328ECC 00325E2C 98 1F 00 54 */ stb r0, 0x54(r31) -lbl_80328ED0: -/* 80328ED0 00325E30 88 01 00 D0 */ lbz r0, 0xd0(r1) -/* 80328ED4 00325E34 28 00 00 00 */ cmplwi r0, 0 -/* 80328ED8 00325E38 41 82 00 1C */ beq lbl_80328EF4 -/* 80328EDC 00325E3C 34 61 00 C4 */ addic. r3, r1, 0xc4 -/* 80328EE0 00325E40 41 82 00 14 */ beq lbl_80328EF4 -/* 80328EE4 00325E44 28 03 00 00 */ cmplwi r3, 0 -/* 80328EE8 00325E48 41 82 00 0C */ beq lbl_80328EF4 -/* 80328EEC 00325E4C 38 80 00 00 */ li r4, 0 -/* 80328EF0 00325E50 48 01 7F 51 */ bl __dt__6CTokenFv -lbl_80328EF4: -/* 80328EF4 00325E54 38 00 00 00 */ li r0, 0 -/* 80328EF8 00325E58 98 01 00 D0 */ stb r0, 0xd0(r1) -lbl_80328EFC: -/* 80328EFC 00325E5C 88 01 01 30 */ lbz r0, 0x130(r1) -/* 80328F00 00325E60 28 00 00 00 */ cmplwi r0, 0 -/* 80328F04 00325E64 41 82 00 14 */ beq lbl_80328F18 -/* 80328F08 00325E68 34 61 01 28 */ addic. r3, r1, 0x128 -/* 80328F0C 00325E6C 41 82 00 0C */ beq lbl_80328F18 -/* 80328F10 00325E70 38 80 00 00 */ li r4, 0 -/* 80328F14 00325E74 48 01 7F 2D */ bl __dt__6CTokenFv -lbl_80328F18: -/* 80328F18 00325E78 38 00 00 00 */ li r0, 0 -/* 80328F1C 00325E7C 98 01 01 30 */ stb r0, 0x130(r1) -/* 80328F20 00325E80 48 00 0A F8 */ b lbl_80329A18 -lbl_80328F24: -/* 80328F24 00325E84 7F C3 F3 78 */ mr r3, r30 -/* 80328F28 00325E88 4B FF D3 2D */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream -/* 80328F2C 00325E8C 90 7F 00 58 */ stw r3, 0x58(r31) -/* 80328F30 00325E90 48 00 0A E8 */ b lbl_80329A18 -lbl_80328F34: -/* 80328F34 00325E94 7F C3 F3 78 */ mr r3, r30 -/* 80328F38 00325E98 4B FF D3 1D */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream -/* 80328F3C 00325E9C 90 7F 00 5C */ stw r3, 0x5c(r31) -/* 80328F40 00325EA0 48 00 0A D8 */ b lbl_80329A18 -lbl_80328F44: -/* 80328F44 00325EA4 7F C3 F3 78 */ mr r3, r30 -/* 80328F48 00325EA8 4B FF D3 0D */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream -/* 80328F4C 00325EAC 90 7F 00 60 */ stw r3, 0x60(r31) -/* 80328F50 00325EB0 48 00 0A C8 */ b lbl_80329A18 -lbl_80328F54: -/* 80328F54 00325EB4 7F C3 F3 78 */ mr r3, r30 -/* 80328F58 00325EB8 4B FF C3 05 */ bl GetColorElement__20CParticleDataFactoryFR12CInputStream -/* 80328F5C 00325EBC 90 7F 00 64 */ stw r3, 0x64(r31) -/* 80328F60 00325EC0 48 00 0A B8 */ b lbl_80329A18 -lbl_80328F64: -/* 80328F64 00325EC4 7F C3 F3 78 */ mr r3, r30 -/* 80328F68 00325EC8 4B FF F4 C1 */ bl GetBool__20CParticleDataFactoryFR12CInputStream -/* 80328F6C 00325ECC 88 1F 00 31 */ lbz r0, 0x31(r31) -/* 80328F70 00325ED0 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 80328F74 00325ED4 98 1F 00 31 */ stb r0, 0x31(r31) -/* 80328F78 00325ED8 48 00 0A A0 */ b lbl_80329A18 -lbl_80328F7C: -/* 80328F7C 00325EDC 7F C3 F3 78 */ mr r3, r30 -/* 80328F80 00325EE0 4B FF F4 A9 */ bl GetBool__20CParticleDataFactoryFR12CInputStream -/* 80328F84 00325EE4 88 1F 00 31 */ lbz r0, 0x31(r31) -/* 80328F88 00325EE8 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 80328F8C 00325EEC 98 1F 00 31 */ stb r0, 0x31(r31) -/* 80328F90 00325EF0 48 00 0A 88 */ b lbl_80329A18 -lbl_80328F94: -/* 80328F94 00325EF4 7F C3 F3 78 */ mr r3, r30 -/* 80328F98 00325EF8 4B FF F4 91 */ bl GetBool__20CParticleDataFactoryFR12CInputStream -/* 80328F9C 00325EFC 88 1F 00 31 */ lbz r0, 0x31(r31) -/* 80328FA0 00325F00 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 80328FA4 00325F04 98 1F 00 31 */ stb r0, 0x31(r31) -/* 80328FA8 00325F08 48 00 0A 70 */ b lbl_80329A18 -lbl_80328FAC: -/* 80328FAC 00325F0C 7F C3 F3 78 */ mr r3, r30 -/* 80328FB0 00325F10 4B FF EB F5 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream -/* 80328FB4 00325F14 90 7F 00 10 */ stw r3, 0x10(r31) -/* 80328FB8 00325F18 48 00 0A 60 */ b lbl_80329A18 -lbl_80328FBC: -/* 80328FBC 00325F1C 7F C4 F3 78 */ mr r4, r30 -/* 80328FC0 00325F20 7F A5 EB 78 */ mr r5, r29 -/* 80328FC4 00325F24 7F 86 E3 78 */ mr r6, r28 -/* 80328FC8 00325F28 38 61 00 B8 */ addi r3, r1, 0xb8 -/* 80328FCC 00325F2C 4B FF BD C5 */ bl "GetChildGeneratorDesc__20CParticleDataFactoryFR12CInputStreamP11CSimplePoolRCQ24rstl37vector" -/* 80328FD0 00325F30 88 01 00 C0 */ lbz r0, 0xc0(r1) -/* 80328FD4 00325F34 28 00 00 00 */ cmplwi r0, 0 -/* 80328FD8 00325F38 98 01 01 24 */ stb r0, 0x124(r1) -/* 80328FDC 00325F3C 41 82 00 14 */ beq lbl_80328FF0 -/* 80328FE0 00325F40 34 61 01 1C */ addic. r3, r1, 0x11c -/* 80328FE4 00325F44 38 81 00 B8 */ addi r4, r1, 0xb8 -/* 80328FE8 00325F48 41 82 00 08 */ beq lbl_80328FF0 -/* 80328FEC 00325F4C 48 01 7E BD */ bl __ct__6CTokenFRC6CToken -lbl_80328FF0: -/* 80328FF0 00325F50 88 01 00 C0 */ lbz r0, 0xc0(r1) -/* 80328FF4 00325F54 28 00 00 00 */ cmplwi r0, 0 -/* 80328FF8 00325F58 41 82 00 14 */ beq lbl_8032900C -/* 80328FFC 00325F5C 34 61 00 B8 */ addic. r3, r1, 0xb8 -/* 80329000 00325F60 41 82 00 0C */ beq lbl_8032900C -/* 80329004 00325F64 38 80 00 00 */ li r4, 0 -/* 80329008 00325F68 48 01 7E 39 */ bl __dt__6CTokenFv -lbl_8032900C: -/* 8032900C 00325F6C 88 01 01 24 */ lbz r0, 0x124(r1) -/* 80329010 00325F70 38 60 00 00 */ li r3, 0 -/* 80329014 00325F74 98 61 00 C0 */ stb r3, 0xc0(r1) -/* 80329018 00325F78 28 00 00 00 */ cmplwi r0, 0 -/* 8032901C 00325F7C 41 82 00 74 */ beq lbl_80329090 -/* 80329020 00325F80 38 61 00 AC */ addi r3, r1, 0xac -/* 80329024 00325F84 38 81 01 1C */ addi r4, r1, 0x11c -/* 80329028 00325F88 48 01 7E 81 */ bl __ct__6CTokenFRC6CToken -/* 8032902C 00325F8C 38 00 00 00 */ li r0, 0 -/* 80329030 00325F90 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 80329034 00325F94 88 1F 00 84 */ lbz r0, 0x84(r31) -/* 80329038 00325F98 28 00 00 00 */ cmplwi r0, 0 -/* 8032903C 00325F9C 40 82 00 2C */ bne lbl_80329068 -/* 80329040 00325FA0 37 3F 00 78 */ addic. r25, r31, 0x78 -/* 80329044 00325FA4 41 82 00 18 */ beq lbl_8032905C -/* 80329048 00325FA8 7F 23 CB 78 */ mr r3, r25 -/* 8032904C 00325FAC 38 81 00 AC */ addi r4, r1, 0xac -/* 80329050 00325FB0 48 01 7E 59 */ bl __ct__6CTokenFRC6CToken -/* 80329054 00325FB4 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 80329058 00325FB8 90 19 00 08 */ stw r0, 8(r25) -lbl_8032905C: -/* 8032905C 00325FBC 38 00 00 01 */ li r0, 1 -/* 80329060 00325FC0 98 1F 00 84 */ stb r0, 0x84(r31) -/* 80329064 00325FC4 48 00 00 1C */ b lbl_80329080 -lbl_80329068: -/* 80329068 00325FC8 3B 3F 00 78 */ addi r25, r31, 0x78 -/* 8032906C 00325FCC 38 81 00 AC */ addi r4, r1, 0xac -/* 80329070 00325FD0 7F 23 CB 78 */ mr r3, r25 -/* 80329074 00325FD4 48 01 7C 51 */ bl __as__6CTokenFRC6CToken -/* 80329078 00325FD8 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 8032907C 00325FDC 90 19 00 08 */ stw r0, 8(r25) -lbl_80329080: -/* 80329080 00325FE0 38 61 00 AC */ addi r3, r1, 0xac -/* 80329084 00325FE4 38 80 00 00 */ li r4, 0 -/* 80329088 00325FE8 48 01 7D B9 */ bl __dt__6CTokenFv -/* 8032908C 00325FEC 48 00 00 BC */ b lbl_80329148 -lbl_80329090: -/* 80329090 00325FF0 3B 3F 00 78 */ addi r25, r31, 0x78 -/* 80329094 00325FF4 38 81 00 9C */ addi r4, r1, 0x9c -/* 80329098 00325FF8 7C 19 20 40 */ cmplw r25, r4 -/* 8032909C 00325FFC 98 61 00 A8 */ stb r3, 0xa8(r1) -/* 803290A0 00326000 41 82 00 7C */ beq lbl_8032911C -/* 803290A4 00326004 28 03 00 00 */ cmplwi r3, 0 -/* 803290A8 00326008 41 82 00 48 */ beq lbl_803290F0 -/* 803290AC 0032600C 88 1F 00 84 */ lbz r0, 0x84(r31) -/* 803290B0 00326010 28 00 00 00 */ cmplwi r0, 0 -/* 803290B4 00326014 40 82 00 28 */ bne lbl_803290DC -/* 803290B8 00326018 37 3F 00 78 */ addic. r25, r31, 0x78 -/* 803290BC 0032601C 41 82 00 14 */ beq lbl_803290D0 -/* 803290C0 00326020 7F 23 CB 78 */ mr r3, r25 -/* 803290C4 00326024 48 01 7D E5 */ bl __ct__6CTokenFRC6CToken -/* 803290C8 00326028 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 803290CC 0032602C 90 19 00 08 */ stw r0, 8(r25) -lbl_803290D0: -/* 803290D0 00326030 38 00 00 01 */ li r0, 1 -/* 803290D4 00326034 98 1F 00 84 */ stb r0, 0x84(r31) -/* 803290D8 00326038 48 00 00 44 */ b lbl_8032911C -lbl_803290DC: -/* 803290DC 0032603C 7F 23 CB 78 */ mr r3, r25 -/* 803290E0 00326040 48 01 7B E5 */ bl __as__6CTokenFRC6CToken -/* 803290E4 00326044 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 803290E8 00326048 90 19 00 08 */ stw r0, 8(r25) -/* 803290EC 0032604C 48 00 00 30 */ b lbl_8032911C -lbl_803290F0: -/* 803290F0 00326050 88 1F 00 84 */ lbz r0, 0x84(r31) -/* 803290F4 00326054 28 00 00 00 */ cmplwi r0, 0 -/* 803290F8 00326058 41 82 00 1C */ beq lbl_80329114 -/* 803290FC 0032605C 34 7F 00 78 */ addic. r3, r31, 0x78 -/* 80329100 00326060 41 82 00 14 */ beq lbl_80329114 -/* 80329104 00326064 28 03 00 00 */ cmplwi r3, 0 -/* 80329108 00326068 41 82 00 0C */ beq lbl_80329114 -/* 8032910C 0032606C 38 80 00 00 */ li r4, 0 -/* 80329110 00326070 48 01 7D 31 */ bl __dt__6CTokenFv -lbl_80329114: -/* 80329114 00326074 38 00 00 00 */ li r0, 0 -/* 80329118 00326078 98 1F 00 84 */ stb r0, 0x84(r31) -lbl_8032911C: -/* 8032911C 0032607C 88 01 00 A8 */ lbz r0, 0xa8(r1) -/* 80329120 00326080 28 00 00 00 */ cmplwi r0, 0 -/* 80329124 00326084 41 82 00 1C */ beq lbl_80329140 -/* 80329128 00326088 34 61 00 9C */ addic. r3, r1, 0x9c -/* 8032912C 0032608C 41 82 00 14 */ beq lbl_80329140 -/* 80329130 00326090 28 03 00 00 */ cmplwi r3, 0 -/* 80329134 00326094 41 82 00 0C */ beq lbl_80329140 -/* 80329138 00326098 38 80 00 00 */ li r4, 0 -/* 8032913C 0032609C 48 01 7D 05 */ bl __dt__6CTokenFv -lbl_80329140: -/* 80329140 003260A0 38 00 00 00 */ li r0, 0 -/* 80329144 003260A4 98 01 00 A8 */ stb r0, 0xa8(r1) -lbl_80329148: -/* 80329148 003260A8 88 01 01 24 */ lbz r0, 0x124(r1) -/* 8032914C 003260AC 28 00 00 00 */ cmplwi r0, 0 -/* 80329150 003260B0 41 82 00 14 */ beq lbl_80329164 -/* 80329154 003260B4 34 61 01 1C */ addic. r3, r1, 0x11c -/* 80329158 003260B8 41 82 00 0C */ beq lbl_80329164 -/* 8032915C 003260BC 38 80 00 00 */ li r4, 0 -/* 80329160 003260C0 48 01 7C E1 */ bl __dt__6CTokenFv -lbl_80329164: -/* 80329164 003260C4 38 00 00 00 */ li r0, 0 -/* 80329168 003260C8 98 01 01 24 */ stb r0, 0x124(r1) -/* 8032916C 003260CC 48 00 08 AC */ b lbl_80329A18 -lbl_80329170: -/* 80329170 003260D0 7F C3 F3 78 */ mr r3, r30 -/* 80329174 003260D4 4B FF EA 31 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream -/* 80329178 003260D8 90 7F 00 88 */ stw r3, 0x88(r31) -/* 8032917C 003260DC 48 00 08 9C */ b lbl_80329A18 -lbl_80329180: -/* 80329180 003260E0 7F C3 F3 78 */ mr r3, r30 -/* 80329184 003260E4 4B FF EA 21 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream -/* 80329188 003260E8 90 7F 00 8C */ stw r3, 0x8c(r31) -/* 8032918C 003260EC 48 00 08 8C */ b lbl_80329A18 -lbl_80329190: -/* 80329190 003260F0 7F C4 F3 78 */ mr r4, r30 -/* 80329194 003260F4 7F A5 EB 78 */ mr r5, r29 -/* 80329198 003260F8 7F 86 E3 78 */ mr r6, r28 -/* 8032919C 003260FC 38 61 00 90 */ addi r3, r1, 0x90 -/* 803291A0 00326100 4B FF BB F1 */ bl "GetChildGeneratorDesc__20CParticleDataFactoryFR12CInputStreamP11CSimplePoolRCQ24rstl37vector" -/* 803291A4 00326104 88 01 00 98 */ lbz r0, 0x98(r1) -/* 803291A8 00326108 28 00 00 00 */ cmplwi r0, 0 -/* 803291AC 0032610C 98 01 01 18 */ stb r0, 0x118(r1) -/* 803291B0 00326110 41 82 00 14 */ beq lbl_803291C4 -/* 803291B4 00326114 34 61 01 10 */ addic. r3, r1, 0x110 -/* 803291B8 00326118 38 81 00 90 */ addi r4, r1, 0x90 -/* 803291BC 0032611C 41 82 00 08 */ beq lbl_803291C4 -/* 803291C0 00326120 48 01 7C E9 */ bl __ct__6CTokenFRC6CToken -lbl_803291C4: -/* 803291C4 00326124 88 01 00 98 */ lbz r0, 0x98(r1) -/* 803291C8 00326128 28 00 00 00 */ cmplwi r0, 0 -/* 803291CC 0032612C 41 82 00 14 */ beq lbl_803291E0 -/* 803291D0 00326130 34 61 00 90 */ addic. r3, r1, 0x90 -/* 803291D4 00326134 41 82 00 0C */ beq lbl_803291E0 -/* 803291D8 00326138 38 80 00 00 */ li r4, 0 -/* 803291DC 0032613C 48 01 7C 65 */ bl __dt__6CTokenFv -lbl_803291E0: -/* 803291E0 00326140 88 01 01 18 */ lbz r0, 0x118(r1) -/* 803291E4 00326144 38 60 00 00 */ li r3, 0 -/* 803291E8 00326148 98 61 00 98 */ stb r3, 0x98(r1) -/* 803291EC 0032614C 28 00 00 00 */ cmplwi r0, 0 -/* 803291F0 00326150 41 82 00 74 */ beq lbl_80329264 -/* 803291F4 00326154 38 61 00 84 */ addi r3, r1, 0x84 -/* 803291F8 00326158 38 81 01 10 */ addi r4, r1, 0x110 -/* 803291FC 0032615C 48 01 7C AD */ bl __ct__6CTokenFRC6CToken -/* 80329200 00326160 38 00 00 00 */ li r0, 0 -/* 80329204 00326164 90 01 00 8C */ stw r0, 0x8c(r1) -/* 80329208 00326168 88 1F 00 9C */ lbz r0, 0x9c(r31) -/* 8032920C 0032616C 28 00 00 00 */ cmplwi r0, 0 -/* 80329210 00326170 40 82 00 2C */ bne lbl_8032923C -/* 80329214 00326174 37 3F 00 90 */ addic. r25, r31, 0x90 -/* 80329218 00326178 41 82 00 18 */ beq lbl_80329230 -/* 8032921C 0032617C 7F 23 CB 78 */ mr r3, r25 -/* 80329220 00326180 38 81 00 84 */ addi r4, r1, 0x84 -/* 80329224 00326184 48 01 7C 85 */ bl __ct__6CTokenFRC6CToken -/* 80329228 00326188 80 01 00 8C */ lwz r0, 0x8c(r1) -/* 8032922C 0032618C 90 19 00 08 */ stw r0, 8(r25) -lbl_80329230: -/* 80329230 00326190 38 00 00 01 */ li r0, 1 -/* 80329234 00326194 98 1F 00 9C */ stb r0, 0x9c(r31) -/* 80329238 00326198 48 00 00 1C */ b lbl_80329254 -lbl_8032923C: -/* 8032923C 0032619C 3B 3F 00 90 */ addi r25, r31, 0x90 -/* 80329240 003261A0 38 81 00 84 */ addi r4, r1, 0x84 -/* 80329244 003261A4 7F 23 CB 78 */ mr r3, r25 -/* 80329248 003261A8 48 01 7A 7D */ bl __as__6CTokenFRC6CToken -/* 8032924C 003261AC 80 01 00 8C */ lwz r0, 0x8c(r1) -/* 80329250 003261B0 90 19 00 08 */ stw r0, 8(r25) -lbl_80329254: -/* 80329254 003261B4 38 61 00 84 */ addi r3, r1, 0x84 -/* 80329258 003261B8 38 80 00 00 */ li r4, 0 -/* 8032925C 003261BC 48 01 7B E5 */ bl __dt__6CTokenFv -/* 80329260 003261C0 48 00 00 BC */ b lbl_8032931C -lbl_80329264: -/* 80329264 003261C4 3B 3F 00 90 */ addi r25, r31, 0x90 -/* 80329268 003261C8 38 81 00 74 */ addi r4, r1, 0x74 -/* 8032926C 003261CC 7C 19 20 40 */ cmplw r25, r4 -/* 80329270 003261D0 98 61 00 80 */ stb r3, 0x80(r1) -/* 80329274 003261D4 41 82 00 7C */ beq lbl_803292F0 -/* 80329278 003261D8 28 03 00 00 */ cmplwi r3, 0 -/* 8032927C 003261DC 41 82 00 48 */ beq lbl_803292C4 -/* 80329280 003261E0 88 1F 00 9C */ lbz r0, 0x9c(r31) -/* 80329284 003261E4 28 00 00 00 */ cmplwi r0, 0 -/* 80329288 003261E8 40 82 00 28 */ bne lbl_803292B0 -/* 8032928C 003261EC 37 3F 00 90 */ addic. r25, r31, 0x90 -/* 80329290 003261F0 41 82 00 14 */ beq lbl_803292A4 -/* 80329294 003261F4 7F 23 CB 78 */ mr r3, r25 -/* 80329298 003261F8 48 01 7C 11 */ bl __ct__6CTokenFRC6CToken -/* 8032929C 003261FC 80 01 00 7C */ lwz r0, 0x7c(r1) -/* 803292A0 00326200 90 19 00 08 */ stw r0, 8(r25) -lbl_803292A4: -/* 803292A4 00326204 38 00 00 01 */ li r0, 1 -/* 803292A8 00326208 98 1F 00 9C */ stb r0, 0x9c(r31) -/* 803292AC 0032620C 48 00 00 44 */ b lbl_803292F0 -lbl_803292B0: -/* 803292B0 00326210 7F 23 CB 78 */ mr r3, r25 -/* 803292B4 00326214 48 01 7A 11 */ bl __as__6CTokenFRC6CToken -/* 803292B8 00326218 80 01 00 7C */ lwz r0, 0x7c(r1) -/* 803292BC 0032621C 90 19 00 08 */ stw r0, 8(r25) -/* 803292C0 00326220 48 00 00 30 */ b lbl_803292F0 -lbl_803292C4: -/* 803292C4 00326224 88 1F 00 9C */ lbz r0, 0x9c(r31) -/* 803292C8 00326228 28 00 00 00 */ cmplwi r0, 0 -/* 803292CC 0032622C 41 82 00 1C */ beq lbl_803292E8 -/* 803292D0 00326230 34 7F 00 90 */ addic. r3, r31, 0x90 -/* 803292D4 00326234 41 82 00 14 */ beq lbl_803292E8 -/* 803292D8 00326238 28 03 00 00 */ cmplwi r3, 0 -/* 803292DC 0032623C 41 82 00 0C */ beq lbl_803292E8 -/* 803292E0 00326240 38 80 00 00 */ li r4, 0 -/* 803292E4 00326244 48 01 7B 5D */ bl __dt__6CTokenFv -lbl_803292E8: -/* 803292E8 00326248 38 00 00 00 */ li r0, 0 -/* 803292EC 0032624C 98 1F 00 9C */ stb r0, 0x9c(r31) -lbl_803292F0: -/* 803292F0 00326250 88 01 00 80 */ lbz r0, 0x80(r1) -/* 803292F4 00326254 28 00 00 00 */ cmplwi r0, 0 -/* 803292F8 00326258 41 82 00 1C */ beq lbl_80329314 -/* 803292FC 0032625C 34 61 00 74 */ addic. r3, r1, 0x74 -/* 80329300 00326260 41 82 00 14 */ beq lbl_80329314 -/* 80329304 00326264 28 03 00 00 */ cmplwi r3, 0 -/* 80329308 00326268 41 82 00 0C */ beq lbl_80329314 -/* 8032930C 0032626C 38 80 00 00 */ li r4, 0 -/* 80329310 00326270 48 01 7B 31 */ bl __dt__6CTokenFv -lbl_80329314: -/* 80329314 00326274 38 00 00 00 */ li r0, 0 -/* 80329318 00326278 98 01 00 80 */ stb r0, 0x80(r1) -lbl_8032931C: -/* 8032931C 0032627C 88 01 01 18 */ lbz r0, 0x118(r1) -/* 80329320 00326280 28 00 00 00 */ cmplwi r0, 0 -/* 80329324 00326284 41 82 00 14 */ beq lbl_80329338 -/* 80329328 00326288 34 61 01 10 */ addic. r3, r1, 0x110 -/* 8032932C 0032628C 41 82 00 0C */ beq lbl_80329338 -/* 80329330 00326290 38 80 00 00 */ li r4, 0 -/* 80329334 00326294 48 01 7B 0D */ bl __dt__6CTokenFv -lbl_80329338: -/* 80329338 00326298 38 00 00 00 */ li r0, 0 -/* 8032933C 0032629C 98 01 01 18 */ stb r0, 0x118(r1) -/* 80329340 003262A0 48 00 06 D8 */ b lbl_80329A18 -lbl_80329344: -/* 80329344 003262A4 7F C3 F3 78 */ mr r3, r30 -/* 80329348 003262A8 4B FF E8 5D */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream -/* 8032934C 003262AC 90 7F 00 A0 */ stw r3, 0xa0(r31) -/* 80329350 003262B0 48 00 06 C8 */ b lbl_80329A18 -lbl_80329354: -/* 80329354 003262B4 7F C4 F3 78 */ mr r4, r30 -/* 80329358 003262B8 7F A5 EB 78 */ mr r5, r29 -/* 8032935C 003262BC 7F 86 E3 78 */ mr r6, r28 -/* 80329360 003262C0 38 61 00 68 */ addi r3, r1, 0x68 -/* 80329364 003262C4 4B FF BA 2D */ bl "GetChildGeneratorDesc__20CParticleDataFactoryFR12CInputStreamP11CSimplePoolRCQ24rstl37vector" -/* 80329368 003262C8 88 01 00 70 */ lbz r0, 0x70(r1) -/* 8032936C 003262CC 28 00 00 00 */ cmplwi r0, 0 -/* 80329370 003262D0 98 01 01 0C */ stb r0, 0x10c(r1) -/* 80329374 003262D4 41 82 00 14 */ beq lbl_80329388 -/* 80329378 003262D8 34 61 01 04 */ addic. r3, r1, 0x104 -/* 8032937C 003262DC 38 81 00 68 */ addi r4, r1, 0x68 -/* 80329380 003262E0 41 82 00 08 */ beq lbl_80329388 -/* 80329384 003262E4 48 01 7B 25 */ bl __ct__6CTokenFRC6CToken -lbl_80329388: -/* 80329388 003262E8 88 01 00 70 */ lbz r0, 0x70(r1) -/* 8032938C 003262EC 28 00 00 00 */ cmplwi r0, 0 -/* 80329390 003262F0 41 82 00 14 */ beq lbl_803293A4 -/* 80329394 003262F4 34 61 00 68 */ addic. r3, r1, 0x68 -/* 80329398 003262F8 41 82 00 0C */ beq lbl_803293A4 -/* 8032939C 003262FC 38 80 00 00 */ li r4, 0 -/* 803293A0 00326300 48 01 7A A1 */ bl __dt__6CTokenFv -lbl_803293A4: -/* 803293A4 00326304 88 01 01 0C */ lbz r0, 0x10c(r1) -/* 803293A8 00326308 38 60 00 00 */ li r3, 0 -/* 803293AC 0032630C 98 61 00 70 */ stb r3, 0x70(r1) -/* 803293B0 00326310 28 00 00 00 */ cmplwi r0, 0 -/* 803293B4 00326314 41 82 00 74 */ beq lbl_80329428 -/* 803293B8 00326318 38 61 00 5C */ addi r3, r1, 0x5c -/* 803293BC 0032631C 38 81 01 04 */ addi r4, r1, 0x104 -/* 803293C0 00326320 48 01 7A E9 */ bl __ct__6CTokenFRC6CToken -/* 803293C4 00326324 38 00 00 00 */ li r0, 0 -/* 803293C8 00326328 90 01 00 64 */ stw r0, 0x64(r1) -/* 803293CC 0032632C 88 1F 00 B0 */ lbz r0, 0xb0(r31) -/* 803293D0 00326330 28 00 00 00 */ cmplwi r0, 0 -/* 803293D4 00326334 40 82 00 2C */ bne lbl_80329400 -/* 803293D8 00326338 37 3F 00 A4 */ addic. r25, r31, 0xa4 -/* 803293DC 0032633C 41 82 00 18 */ beq lbl_803293F4 -/* 803293E0 00326340 7F 23 CB 78 */ mr r3, r25 -/* 803293E4 00326344 38 81 00 5C */ addi r4, r1, 0x5c -/* 803293E8 00326348 48 01 7A C1 */ bl __ct__6CTokenFRC6CToken -/* 803293EC 0032634C 80 01 00 64 */ lwz r0, 0x64(r1) -/* 803293F0 00326350 90 19 00 08 */ stw r0, 8(r25) -lbl_803293F4: -/* 803293F4 00326354 38 00 00 01 */ li r0, 1 -/* 803293F8 00326358 98 1F 00 B0 */ stb r0, 0xb0(r31) -/* 803293FC 0032635C 48 00 00 1C */ b lbl_80329418 -lbl_80329400: -/* 80329400 00326360 3B 3F 00 A4 */ addi r25, r31, 0xa4 -/* 80329404 00326364 38 81 00 5C */ addi r4, r1, 0x5c -/* 80329408 00326368 7F 23 CB 78 */ mr r3, r25 -/* 8032940C 0032636C 48 01 78 B9 */ bl __as__6CTokenFRC6CToken -/* 80329410 00326370 80 01 00 64 */ lwz r0, 0x64(r1) -/* 80329414 00326374 90 19 00 08 */ stw r0, 8(r25) -lbl_80329418: -/* 80329418 00326378 38 61 00 5C */ addi r3, r1, 0x5c -/* 8032941C 0032637C 38 80 00 00 */ li r4, 0 -/* 80329420 00326380 48 01 7A 21 */ bl __dt__6CTokenFv -/* 80329424 00326384 48 00 00 BC */ b lbl_803294E0 -lbl_80329428: -/* 80329428 00326388 3B 3F 00 A4 */ addi r25, r31, 0xa4 -/* 8032942C 0032638C 38 81 00 4C */ addi r4, r1, 0x4c -/* 80329430 00326390 7C 19 20 40 */ cmplw r25, r4 -/* 80329434 00326394 98 61 00 58 */ stb r3, 0x58(r1) -/* 80329438 00326398 41 82 00 7C */ beq lbl_803294B4 -/* 8032943C 0032639C 28 03 00 00 */ cmplwi r3, 0 -/* 80329440 003263A0 41 82 00 48 */ beq lbl_80329488 -/* 80329444 003263A4 88 1F 00 B0 */ lbz r0, 0xb0(r31) -/* 80329448 003263A8 28 00 00 00 */ cmplwi r0, 0 -/* 8032944C 003263AC 40 82 00 28 */ bne lbl_80329474 -/* 80329450 003263B0 37 3F 00 A4 */ addic. r25, r31, 0xa4 -/* 80329454 003263B4 41 82 00 14 */ beq lbl_80329468 -/* 80329458 003263B8 7F 23 CB 78 */ mr r3, r25 -/* 8032945C 003263BC 48 01 7A 4D */ bl __ct__6CTokenFRC6CToken -/* 80329460 003263C0 80 01 00 54 */ lwz r0, 0x54(r1) -/* 80329464 003263C4 90 19 00 08 */ stw r0, 8(r25) -lbl_80329468: -/* 80329468 003263C8 38 00 00 01 */ li r0, 1 -/* 8032946C 003263CC 98 1F 00 B0 */ stb r0, 0xb0(r31) -/* 80329470 003263D0 48 00 00 44 */ b lbl_803294B4 -lbl_80329474: -/* 80329474 003263D4 7F 23 CB 78 */ mr r3, r25 -/* 80329478 003263D8 48 01 78 4D */ bl __as__6CTokenFRC6CToken -/* 8032947C 003263DC 80 01 00 54 */ lwz r0, 0x54(r1) -/* 80329480 003263E0 90 19 00 08 */ stw r0, 8(r25) -/* 80329484 003263E4 48 00 00 30 */ b lbl_803294B4 -lbl_80329488: -/* 80329488 003263E8 88 1F 00 B0 */ lbz r0, 0xb0(r31) -/* 8032948C 003263EC 28 00 00 00 */ cmplwi r0, 0 -/* 80329490 003263F0 41 82 00 1C */ beq lbl_803294AC -/* 80329494 003263F4 34 7F 00 A4 */ addic. r3, r31, 0xa4 -/* 80329498 003263F8 41 82 00 14 */ beq lbl_803294AC -/* 8032949C 003263FC 28 03 00 00 */ cmplwi r3, 0 -/* 803294A0 00326400 41 82 00 0C */ beq lbl_803294AC -/* 803294A4 00326404 38 80 00 00 */ li r4, 0 -/* 803294A8 00326408 48 01 79 99 */ bl __dt__6CTokenFv -lbl_803294AC: -/* 803294AC 0032640C 38 00 00 00 */ li r0, 0 -/* 803294B0 00326410 98 1F 00 B0 */ stb r0, 0xb0(r31) -lbl_803294B4: -/* 803294B4 00326414 88 01 00 58 */ lbz r0, 0x58(r1) -/* 803294B8 00326418 28 00 00 00 */ cmplwi r0, 0 -/* 803294BC 0032641C 41 82 00 1C */ beq lbl_803294D8 -/* 803294C0 00326420 34 61 00 4C */ addic. r3, r1, 0x4c -/* 803294C4 00326424 41 82 00 14 */ beq lbl_803294D8 -/* 803294C8 00326428 28 03 00 00 */ cmplwi r3, 0 -/* 803294CC 0032642C 41 82 00 0C */ beq lbl_803294D8 -/* 803294D0 00326430 38 80 00 00 */ li r4, 0 -/* 803294D4 00326434 48 01 79 6D */ bl __dt__6CTokenFv -lbl_803294D8: -/* 803294D8 00326438 38 00 00 00 */ li r0, 0 -/* 803294DC 0032643C 98 01 00 58 */ stb r0, 0x58(r1) -lbl_803294E0: -/* 803294E0 00326440 88 01 01 0C */ lbz r0, 0x10c(r1) -/* 803294E4 00326444 28 00 00 00 */ cmplwi r0, 0 -/* 803294E8 00326448 41 82 00 14 */ beq lbl_803294FC -/* 803294EC 0032644C 34 61 01 04 */ addic. r3, r1, 0x104 -/* 803294F0 00326450 41 82 00 0C */ beq lbl_803294FC -/* 803294F4 00326454 38 80 00 00 */ li r4, 0 -/* 803294F8 00326458 48 01 79 49 */ bl __dt__6CTokenFv -lbl_803294FC: -/* 803294FC 0032645C 38 00 00 00 */ li r0, 0 -/* 80329500 00326460 98 01 01 0C */ stb r0, 0x10c(r1) -/* 80329504 00326464 48 00 05 14 */ b lbl_80329A18 -lbl_80329508: -/* 80329508 00326468 7F C3 F3 78 */ mr r3, r30 -/* 8032950C 0032646C 4B FF E6 99 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream -/* 80329510 00326470 90 7F 00 B4 */ stw r3, 0xb4(r31) -/* 80329514 00326474 48 00 05 04 */ b lbl_80329A18 -lbl_80329518: -/* 80329518 00326478 7F C3 F3 78 */ mr r3, r30 -/* 8032951C 0032647C 4B FF E6 89 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream -/* 80329520 00326480 90 7F 00 B8 */ stw r3, 0xb8(r31) -/* 80329524 00326484 48 00 04 F4 */ b lbl_80329A18 -lbl_80329528: -/* 80329528 00326488 7F C4 F3 78 */ mr r4, r30 -/* 8032952C 0032648C 7F A5 EB 78 */ mr r5, r29 -/* 80329530 00326490 38 61 00 40 */ addi r3, r1, 0x40 -/* 80329534 00326494 4B FF B6 85 */ bl GetSwooshGeneratorDesc__20CParticleDataFactoryFR12CInputStreamP11CSimplePool -/* 80329538 00326498 88 01 00 48 */ lbz r0, 0x48(r1) -/* 8032953C 0032649C 28 00 00 00 */ cmplwi r0, 0 -/* 80329540 003264A0 98 01 01 00 */ stb r0, 0x100(r1) -/* 80329544 003264A4 41 82 00 14 */ beq lbl_80329558 -/* 80329548 003264A8 34 61 00 F8 */ addic. r3, r1, 0xf8 -/* 8032954C 003264AC 38 81 00 40 */ addi r4, r1, 0x40 -/* 80329550 003264B0 41 82 00 08 */ beq lbl_80329558 -/* 80329554 003264B4 48 01 79 55 */ bl __ct__6CTokenFRC6CToken -lbl_80329558: -/* 80329558 003264B8 88 01 00 48 */ lbz r0, 0x48(r1) -/* 8032955C 003264BC 28 00 00 00 */ cmplwi r0, 0 -/* 80329560 003264C0 41 82 00 14 */ beq lbl_80329574 -/* 80329564 003264C4 34 61 00 40 */ addic. r3, r1, 0x40 -/* 80329568 003264C8 41 82 00 0C */ beq lbl_80329574 -/* 8032956C 003264CC 38 80 00 00 */ li r4, 0 -/* 80329570 003264D0 48 01 78 D1 */ bl __dt__6CTokenFv -lbl_80329574: -/* 80329574 003264D4 88 01 01 00 */ lbz r0, 0x100(r1) -/* 80329578 003264D8 38 60 00 00 */ li r3, 0 -/* 8032957C 003264DC 98 61 00 48 */ stb r3, 0x48(r1) -/* 80329580 003264E0 28 00 00 00 */ cmplwi r0, 0 -/* 80329584 003264E4 41 82 00 74 */ beq lbl_803295F8 -/* 80329588 003264E8 38 61 00 34 */ addi r3, r1, 0x34 -/* 8032958C 003264EC 38 81 00 F8 */ addi r4, r1, 0xf8 -/* 80329590 003264F0 48 01 79 19 */ bl __ct__6CTokenFRC6CToken -/* 80329594 003264F4 38 00 00 00 */ li r0, 0 -/* 80329598 003264F8 90 01 00 3C */ stw r0, 0x3c(r1) -/* 8032959C 003264FC 88 1F 00 CC */ lbz r0, 0xcc(r31) -/* 803295A0 00326500 28 00 00 00 */ cmplwi r0, 0 -/* 803295A4 00326504 40 82 00 2C */ bne lbl_803295D0 -/* 803295A8 00326508 37 3F 00 C0 */ addic. r25, r31, 0xc0 -/* 803295AC 0032650C 41 82 00 18 */ beq lbl_803295C4 -/* 803295B0 00326510 7F 23 CB 78 */ mr r3, r25 -/* 803295B4 00326514 38 81 00 34 */ addi r4, r1, 0x34 -/* 803295B8 00326518 48 01 78 F1 */ bl __ct__6CTokenFRC6CToken -/* 803295BC 0032651C 80 01 00 3C */ lwz r0, 0x3c(r1) -/* 803295C0 00326520 90 19 00 08 */ stw r0, 8(r25) -lbl_803295C4: -/* 803295C4 00326524 38 00 00 01 */ li r0, 1 -/* 803295C8 00326528 98 1F 00 CC */ stb r0, 0xcc(r31) -/* 803295CC 0032652C 48 00 00 1C */ b lbl_803295E8 -lbl_803295D0: -/* 803295D0 00326530 3B 3F 00 C0 */ addi r25, r31, 0xc0 -/* 803295D4 00326534 38 81 00 34 */ addi r4, r1, 0x34 -/* 803295D8 00326538 7F 23 CB 78 */ mr r3, r25 -/* 803295DC 0032653C 48 01 76 E9 */ bl __as__6CTokenFRC6CToken -/* 803295E0 00326540 80 01 00 3C */ lwz r0, 0x3c(r1) -/* 803295E4 00326544 90 19 00 08 */ stw r0, 8(r25) -lbl_803295E8: -/* 803295E8 00326548 38 61 00 34 */ addi r3, r1, 0x34 -/* 803295EC 0032654C 38 80 00 00 */ li r4, 0 -/* 803295F0 00326550 48 01 78 51 */ bl __dt__6CTokenFv -/* 803295F4 00326554 48 00 00 BC */ b lbl_803296B0 -lbl_803295F8: -/* 803295F8 00326558 3B 3F 00 C0 */ addi r25, r31, 0xc0 -/* 803295FC 0032655C 38 81 00 24 */ addi r4, r1, 0x24 -/* 80329600 00326560 7C 19 20 40 */ cmplw r25, r4 -/* 80329604 00326564 98 61 00 30 */ stb r3, 0x30(r1) -/* 80329608 00326568 41 82 00 7C */ beq lbl_80329684 -/* 8032960C 0032656C 28 03 00 00 */ cmplwi r3, 0 -/* 80329610 00326570 41 82 00 48 */ beq lbl_80329658 -/* 80329614 00326574 88 1F 00 CC */ lbz r0, 0xcc(r31) -/* 80329618 00326578 28 00 00 00 */ cmplwi r0, 0 -/* 8032961C 0032657C 40 82 00 28 */ bne lbl_80329644 -/* 80329620 00326580 37 3F 00 C0 */ addic. r25, r31, 0xc0 -/* 80329624 00326584 41 82 00 14 */ beq lbl_80329638 -/* 80329628 00326588 7F 23 CB 78 */ mr r3, r25 -/* 8032962C 0032658C 48 01 78 7D */ bl __ct__6CTokenFRC6CToken -/* 80329630 00326590 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 80329634 00326594 90 19 00 08 */ stw r0, 8(r25) -lbl_80329638: -/* 80329638 00326598 38 00 00 01 */ li r0, 1 -/* 8032963C 0032659C 98 1F 00 CC */ stb r0, 0xcc(r31) -/* 80329640 003265A0 48 00 00 44 */ b lbl_80329684 -lbl_80329644: -/* 80329644 003265A4 7F 23 CB 78 */ mr r3, r25 -/* 80329648 003265A8 48 01 76 7D */ bl __as__6CTokenFRC6CToken -/* 8032964C 003265AC 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 80329650 003265B0 90 19 00 08 */ stw r0, 8(r25) -/* 80329654 003265B4 48 00 00 30 */ b lbl_80329684 -lbl_80329658: -/* 80329658 003265B8 88 1F 00 CC */ lbz r0, 0xcc(r31) -/* 8032965C 003265BC 28 00 00 00 */ cmplwi r0, 0 -/* 80329660 003265C0 41 82 00 1C */ beq lbl_8032967C -/* 80329664 003265C4 34 7F 00 C0 */ addic. r3, r31, 0xc0 -/* 80329668 003265C8 41 82 00 14 */ beq lbl_8032967C -/* 8032966C 003265CC 28 03 00 00 */ cmplwi r3, 0 -/* 80329670 003265D0 41 82 00 0C */ beq lbl_8032967C -/* 80329674 003265D4 38 80 00 00 */ li r4, 0 -/* 80329678 003265D8 48 01 77 C9 */ bl __dt__6CTokenFv -lbl_8032967C: -/* 8032967C 003265DC 38 00 00 00 */ li r0, 0 -/* 80329680 003265E0 98 1F 00 CC */ stb r0, 0xcc(r31) -lbl_80329684: -/* 80329684 003265E4 88 01 00 30 */ lbz r0, 0x30(r1) -/* 80329688 003265E8 28 00 00 00 */ cmplwi r0, 0 -/* 8032968C 003265EC 41 82 00 1C */ beq lbl_803296A8 -/* 80329690 003265F0 34 61 00 24 */ addic. r3, r1, 0x24 -/* 80329694 003265F4 41 82 00 14 */ beq lbl_803296A8 -/* 80329698 003265F8 28 03 00 00 */ cmplwi r3, 0 -/* 8032969C 003265FC 41 82 00 0C */ beq lbl_803296A8 -/* 803296A0 00326600 38 80 00 00 */ li r4, 0 -/* 803296A4 00326604 48 01 77 9D */ bl __dt__6CTokenFv -lbl_803296A8: -/* 803296A8 00326608 38 00 00 00 */ li r0, 0 -/* 803296AC 0032660C 98 01 00 30 */ stb r0, 0x30(r1) -lbl_803296B0: -/* 803296B0 00326610 88 01 01 00 */ lbz r0, 0x100(r1) -/* 803296B4 00326614 28 00 00 00 */ cmplwi r0, 0 -/* 803296B8 00326618 41 82 00 14 */ beq lbl_803296CC -/* 803296BC 0032661C 34 61 00 F8 */ addic. r3, r1, 0xf8 -/* 803296C0 00326620 41 82 00 0C */ beq lbl_803296CC -/* 803296C4 00326624 38 80 00 00 */ li r4, 0 -/* 803296C8 00326628 48 01 77 79 */ bl __dt__6CTokenFv -lbl_803296CC: -/* 803296CC 0032662C 38 00 00 00 */ li r0, 0 -/* 803296D0 00326630 98 01 01 00 */ stb r0, 0x100(r1) -/* 803296D4 00326634 48 00 03 44 */ b lbl_80329A18 -lbl_803296D8: -/* 803296D8 00326638 7F C3 F3 78 */ mr r3, r30 -/* 803296DC 0032663C 4B FF E4 C9 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream -/* 803296E0 00326640 90 7F 00 D0 */ stw r3, 0xd0(r31) -/* 803296E4 00326644 48 00 03 34 */ b lbl_80329A18 -lbl_803296E8: -/* 803296E8 00326648 7F C3 F3 78 */ mr r3, r30 -/* 803296EC 0032664C 4B FF CB 69 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream -/* 803296F0 00326650 90 7F 00 D4 */ stw r3, 0xd4(r31) -/* 803296F4 00326654 48 00 03 24 */ b lbl_80329A18 -lbl_803296F8: -/* 803296F8 00326658 7F C4 F3 78 */ mr r4, r30 -/* 803296FC 0032665C 7F A5 EB 78 */ mr r5, r29 -/* 80329700 00326660 38 61 00 18 */ addi r3, r1, 0x18 -/* 80329704 00326664 4B FF B3 C9 */ bl GetElectricGeneratorDesc__20CParticleDataFactoryFR12CInputStreamP11CSimplePool -/* 80329708 00326668 88 01 00 20 */ lbz r0, 0x20(r1) -/* 8032970C 0032666C 28 00 00 00 */ cmplwi r0, 0 -/* 80329710 00326670 98 01 00 F4 */ stb r0, 0xf4(r1) -/* 80329714 00326674 41 82 00 14 */ beq lbl_80329728 -/* 80329718 00326678 34 61 00 EC */ addic. r3, r1, 0xec -/* 8032971C 0032667C 38 81 00 18 */ addi r4, r1, 0x18 -/* 80329720 00326680 41 82 00 08 */ beq lbl_80329728 -/* 80329724 00326684 48 01 77 85 */ bl __ct__6CTokenFRC6CToken -lbl_80329728: -/* 80329728 00326688 88 01 00 20 */ lbz r0, 0x20(r1) -/* 8032972C 0032668C 28 00 00 00 */ cmplwi r0, 0 -/* 80329730 00326690 41 82 00 14 */ beq lbl_80329744 -/* 80329734 00326694 34 61 00 18 */ addic. r3, r1, 0x18 -/* 80329738 00326698 41 82 00 0C */ beq lbl_80329744 -/* 8032973C 0032669C 38 80 00 00 */ li r4, 0 -/* 80329740 003266A0 48 01 77 01 */ bl __dt__6CTokenFv -lbl_80329744: -/* 80329744 003266A4 88 01 00 F4 */ lbz r0, 0xf4(r1) -/* 80329748 003266A8 38 A0 00 00 */ li r5, 0 -/* 8032974C 003266AC 98 A1 00 20 */ stb r5, 0x20(r1) -/* 80329750 003266B0 28 00 00 00 */ cmplwi r0, 0 -/* 80329754 003266B4 41 82 00 38 */ beq lbl_8032978C -/* 80329758 003266B8 88 1F 00 E0 */ lbz r0, 0xe0(r31) -/* 8032975C 003266BC 38 81 00 EC */ addi r4, r1, 0xec -/* 80329760 003266C0 28 00 00 00 */ cmplwi r0, 0 -/* 80329764 003266C4 40 82 00 1C */ bne lbl_80329780 -/* 80329768 003266C8 34 7F 00 D8 */ addic. r3, r31, 0xd8 -/* 8032976C 003266CC 41 82 00 08 */ beq lbl_80329774 -/* 80329770 003266D0 48 01 77 39 */ bl __ct__6CTokenFRC6CToken -lbl_80329774: -/* 80329774 003266D4 38 00 00 01 */ li r0, 1 -/* 80329778 003266D8 98 1F 00 E0 */ stb r0, 0xe0(r31) -/* 8032977C 003266DC 48 00 00 94 */ b lbl_80329810 -lbl_80329780: -/* 80329780 003266E0 38 7F 00 D8 */ addi r3, r31, 0xd8 -/* 80329784 003266E4 48 01 75 41 */ bl __as__6CTokenFRC6CToken -/* 80329788 003266E8 48 00 00 88 */ b lbl_80329810 -lbl_8032978C: -/* 8032978C 003266EC 38 7F 00 D8 */ addi r3, r31, 0xd8 -/* 80329790 003266F0 38 81 00 0C */ addi r4, r1, 0xc -/* 80329794 003266F4 7C 03 20 40 */ cmplw r3, r4 -/* 80329798 003266F8 98 A1 00 14 */ stb r5, 0x14(r1) -/* 8032979C 003266FC 41 82 00 54 */ beq lbl_803297F0 -/* 803297A0 00326700 28 05 00 00 */ cmplwi r5, 0 -/* 803297A4 00326704 41 82 00 30 */ beq lbl_803297D4 -/* 803297A8 00326708 88 1F 00 E0 */ lbz r0, 0xe0(r31) -/* 803297AC 0032670C 28 00 00 00 */ cmplwi r0, 0 -/* 803297B0 00326710 40 82 00 1C */ bne lbl_803297CC -/* 803297B4 00326714 34 7F 00 D8 */ addic. r3, r31, 0xd8 -/* 803297B8 00326718 41 82 00 08 */ beq lbl_803297C0 -/* 803297BC 0032671C 48 01 76 ED */ bl __ct__6CTokenFRC6CToken -lbl_803297C0: -/* 803297C0 00326720 38 00 00 01 */ li r0, 1 -/* 803297C4 00326724 98 1F 00 E0 */ stb r0, 0xe0(r31) -/* 803297C8 00326728 48 00 00 28 */ b lbl_803297F0 -lbl_803297CC: -/* 803297CC 0032672C 48 01 74 F9 */ bl __as__6CTokenFRC6CToken -/* 803297D0 00326730 48 00 00 20 */ b lbl_803297F0 -lbl_803297D4: -/* 803297D4 00326734 88 1F 00 E0 */ lbz r0, 0xe0(r31) -/* 803297D8 00326738 28 00 00 00 */ cmplwi r0, 0 -/* 803297DC 0032673C 41 82 00 0C */ beq lbl_803297E8 -/* 803297E0 00326740 38 80 FF FF */ li r4, -1 -/* 803297E4 00326744 48 01 76 5D */ bl __dt__6CTokenFv -lbl_803297E8: -/* 803297E8 00326748 38 00 00 00 */ li r0, 0 -/* 803297EC 0032674C 98 1F 00 E0 */ stb r0, 0xe0(r31) -lbl_803297F0: -/* 803297F0 00326750 88 01 00 14 */ lbz r0, 0x14(r1) -/* 803297F4 00326754 28 00 00 00 */ cmplwi r0, 0 -/* 803297F8 00326758 41 82 00 10 */ beq lbl_80329808 -/* 803297FC 0032675C 38 61 00 0C */ addi r3, r1, 0xc -/* 80329800 00326760 38 80 FF FF */ li r4, -1 -/* 80329804 00326764 48 01 76 3D */ bl __dt__6CTokenFv -lbl_80329808: -/* 80329808 00326768 38 00 00 00 */ li r0, 0 -/* 8032980C 0032676C 98 01 00 14 */ stb r0, 0x14(r1) -lbl_80329810: -/* 80329810 00326770 88 01 00 F4 */ lbz r0, 0xf4(r1) -/* 80329814 00326774 28 00 00 00 */ cmplwi r0, 0 -/* 80329818 00326778 41 82 00 14 */ beq lbl_8032982C -/* 8032981C 0032677C 34 61 00 EC */ addic. r3, r1, 0xec -/* 80329820 00326780 41 82 00 0C */ beq lbl_8032982C -/* 80329824 00326784 38 80 00 00 */ li r4, 0 -/* 80329828 00326788 48 01 76 19 */ bl __dt__6CTokenFv -lbl_8032982C: -/* 8032982C 0032678C 38 00 00 00 */ li r0, 0 -/* 80329830 00326790 98 01 00 F4 */ stb r0, 0xf4(r1) -/* 80329834 00326794 48 00 01 E4 */ b lbl_80329A18 -lbl_80329838: -/* 80329838 00326798 7F C3 F3 78 */ mr r3, r30 -/* 8032983C 0032679C 4B FF E3 69 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream -/* 80329840 003267A0 90 7F 00 E4 */ stw r3, 0xe4(r31) -/* 80329844 003267A4 48 00 01 D4 */ b lbl_80329A18 -lbl_80329848: -/* 80329848 003267A8 7F C3 F3 78 */ mr r3, r30 -/* 8032984C 003267AC 4B FF CA 09 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream -/* 80329850 003267B0 90 7F 00 E8 */ stw r3, 0xe8(r31) -/* 80329854 003267B4 48 00 01 C4 */ b lbl_80329A18 -lbl_80329858: -/* 80329858 003267B8 7F C3 F3 78 */ mr r3, r30 -/* 8032985C 003267BC 4B FF EC 01 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream -/* 80329860 003267C0 3C 03 BC B2 */ addis r0, r3, 0xbcb2 -/* 80329864 003267C4 28 00 53 54 */ cmplwi r0, 0x5354 -/* 80329868 003267C8 40 82 01 B0 */ bne lbl_80329A18 -/* 8032986C 003267CC 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 80329870 003267D0 38 60 00 20 */ li r3, 0x20 -/* 80329874 003267D4 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 80329878 003267D8 38 A0 00 00 */ li r5, 0 -/* 8032987C 003267DC 4B FE BF F1 */ bl __nw__FUlPCcPCc -/* 80329880 003267E0 7C 64 1B 79 */ or. r4, r3, r3 -/* 80329884 003267E4 41 82 00 10 */ beq lbl_80329894 -/* 80329888 003267E8 7F C4 F3 78 */ mr r4, r30 -/* 8032988C 003267EC 48 00 9E E5 */ bl __ct__24CSpawnSystemKeyframeDataFR12CInputStream -/* 80329890 003267F0 7C 64 1B 78 */ mr r4, r3 -lbl_80329894: -/* 80329894 003267F4 38 7F 00 BC */ addi r3, r31, 0xbc -/* 80329898 003267F8 48 00 01 AD */ bl __dt__24CSpawnSystemKeyframeDataFv -/* 8032989C 003267FC 80 7F 00 BC */ lwz r3, 0xbc(r31) -/* 803298A0 00326800 7F A4 EB 78 */ mr r4, r29 -/* 803298A4 00326804 48 00 9E 49 */ bl sub_803336ec -/* 803298A8 00326808 48 00 01 70 */ b lbl_80329A18 -lbl_803298AC: -/* 803298AC 0032680C 7F C3 F3 78 */ mr r3, r30 -/* 803298B0 00326810 4B FF EB 79 */ bl GetBool__20CParticleDataFactoryFR12CInputStream -/* 803298B4 00326814 88 1F 00 30 */ lbz r0, 0x30(r31) -/* 803298B8 00326818 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 803298BC 0032681C 98 1F 00 30 */ stb r0, 0x30(r31) -/* 803298C0 00326820 48 00 01 58 */ b lbl_80329A18 -lbl_803298C4: -/* 803298C4 00326824 7F C3 F3 78 */ mr r3, r30 -/* 803298C8 00326828 4B FF EB 61 */ bl GetBool__20CParticleDataFactoryFR12CInputStream -/* 803298CC 0032682C 88 1F 00 30 */ lbz r0, 0x30(r31) -/* 803298D0 00326830 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 803298D4 00326834 98 1F 00 30 */ stb r0, 0x30(r31) -/* 803298D8 00326838 48 00 01 40 */ b lbl_80329A18 -lbl_803298DC: -/* 803298DC 0032683C 7F C3 F3 78 */ mr r3, r30 -/* 803298E0 00326840 4B FF E2 C5 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream -/* 803298E4 00326844 90 7F 00 EC */ stw r3, 0xec(r31) -/* 803298E8 00326848 48 00 01 30 */ b lbl_80329A18 -lbl_803298EC: -/* 803298EC 0032684C 7F C3 F3 78 */ mr r3, r30 -/* 803298F0 00326850 4B FF B9 6D */ bl GetColorElement__20CParticleDataFactoryFR12CInputStream -/* 803298F4 00326854 90 7F 00 F0 */ stw r3, 0xf0(r31) -/* 803298F8 00326858 48 00 01 20 */ b lbl_80329A18 -lbl_803298FC: -/* 803298FC 0032685C 7F C3 F3 78 */ mr r3, r30 -/* 80329900 00326860 4B FF D3 91 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 80329904 00326864 90 7F 00 F4 */ stw r3, 0xf4(r31) -/* 80329908 00326868 48 00 01 10 */ b lbl_80329A18 -lbl_8032990C: -/* 8032990C 0032686C 7F C3 F3 78 */ mr r3, r30 -/* 80329910 00326870 4B FF C9 45 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream -/* 80329914 00326874 90 7F 00 F8 */ stw r3, 0xf8(r31) -/* 80329918 00326878 48 00 01 00 */ b lbl_80329A18 -lbl_8032991C: -/* 8032991C 0032687C 7F C3 F3 78 */ mr r3, r30 -/* 80329920 00326880 4B FF C9 35 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream -/* 80329924 00326884 90 7F 00 FC */ stw r3, 0xfc(r31) -/* 80329928 00326888 48 00 00 F0 */ b lbl_80329A18 -lbl_8032992C: -/* 8032992C 0032688C 7F C3 F3 78 */ mr r3, r30 -/* 80329930 00326890 4B FF E2 75 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream -/* 80329934 00326894 90 7F 01 00 */ stw r3, 0x100(r31) -/* 80329938 00326898 48 00 00 E0 */ b lbl_80329A18 -lbl_8032993C: -/* 8032993C 0032689C 7F C3 F3 78 */ mr r3, r30 -/* 80329940 003268A0 4B FF D3 51 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 80329944 003268A4 90 7F 01 04 */ stw r3, 0x104(r31) -/* 80329948 003268A8 48 00 00 D0 */ b lbl_80329A18 -lbl_8032994C: -/* 8032994C 003268AC 7F C3 F3 78 */ mr r3, r30 -/* 80329950 003268B0 4B FF D3 41 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 80329954 003268B4 90 7F 01 08 */ stw r3, 0x108(r31) -/* 80329958 003268B8 48 00 00 C0 */ b lbl_80329A18 -lbl_8032995C: -/* 8032995C 003268BC 7F C3 F3 78 */ mr r3, r30 -/* 80329960 003268C0 4B FF EA C9 */ bl GetBool__20CParticleDataFactoryFR12CInputStream -/* 80329964 003268C4 88 1F 00 32 */ lbz r0, 0x32(r31) -/* 80329968 003268C8 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 8032996C 003268CC 98 1F 00 32 */ stb r0, 0x32(r31) -/* 80329970 003268D0 48 00 00 A8 */ b lbl_80329A18 -lbl_80329974: -/* 80329974 003268D4 7F C3 F3 78 */ mr r3, r30 -/* 80329978 003268D8 4B FF D3 19 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 8032997C 003268DC 90 7F 01 0C */ stw r3, 0x10c(r31) -/* 80329980 003268E0 48 00 00 98 */ b lbl_80329A18 -lbl_80329984: -/* 80329984 003268E4 7F C3 F3 78 */ mr r3, r30 -/* 80329988 003268E8 4B FF D3 09 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 8032998C 003268EC 90 7F 01 10 */ stw r3, 0x110(r31) -/* 80329990 003268F0 48 00 00 88 */ b lbl_80329A18 -lbl_80329994: -/* 80329994 003268F4 7F C3 F3 78 */ mr r3, r30 -/* 80329998 003268F8 4B FF D2 F9 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 8032999C 003268FC 90 7F 01 14 */ stw r3, 0x114(r31) -/* 803299A0 00326900 48 00 00 78 */ b lbl_80329A18 -lbl_803299A4: -/* 803299A4 00326904 7F C3 F3 78 */ mr r3, r30 -/* 803299A8 00326908 4B FF D2 E9 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 803299AC 0032690C 90 7F 01 18 */ stw r3, 0x118(r31) -/* 803299B0 00326910 48 00 00 68 */ b lbl_80329A18 -lbl_803299B4: -/* 803299B4 00326914 7F C3 F3 78 */ mr r3, r30 -/* 803299B8 00326918 4B FF D2 D9 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 803299BC 0032691C 90 7F 01 1C */ stw r3, 0x11c(r31) -/* 803299C0 00326920 48 00 00 58 */ b lbl_80329A18 -lbl_803299C4: -/* 803299C4 00326924 7F C3 F3 78 */ mr r3, r30 -/* 803299C8 00326928 4B FF D2 C9 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 803299CC 0032692C 90 7F 01 20 */ stw r3, 0x120(r31) -/* 803299D0 00326930 48 00 00 48 */ b lbl_80329A18 -lbl_803299D4: -/* 803299D4 00326934 7F C3 F3 78 */ mr r3, r30 -/* 803299D8 00326938 4B FF D2 B9 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 803299DC 0032693C 90 7F 01 24 */ stw r3, 0x124(r31) -/* 803299E0 00326940 48 00 00 38 */ b lbl_80329A18 -lbl_803299E4: -/* 803299E4 00326944 7F C3 F3 78 */ mr r3, r30 -/* 803299E8 00326948 4B FF D2 A9 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 803299EC 0032694C 90 7F 01 28 */ stw r3, 0x128(r31) -/* 803299F0 00326950 48 00 00 28 */ b lbl_80329A18 -lbl_803299F4: -/* 803299F4 00326954 3B 60 00 01 */ li r27, 1 -/* 803299F8 00326958 48 00 00 20 */ b lbl_80329A18 -lbl_803299FC: -/* 803299FC 0032695C 38 61 01 34 */ addi r3, r1, 0x134 -/* 80329A00 00326960 38 80 FF FF */ li r4, -1 -/* 80329A04 00326964 4B FE 8C 01 */ bl __dt__13CGlobalRandomFv -/* 80329A08 00326968 38 60 00 00 */ li r3, 0 -/* 80329A0C 0032696C 48 00 00 24 */ b lbl_80329A30 -lbl_80329A10: -/* 80329A10 00326970 3C 60 50 49 */ lis r3, 0x50495359@ha -/* 80329A14 00326974 3B 43 53 59 */ addi r26, r3, 0x50495359@l -lbl_80329A18: -/* 80329A18 00326978 57 60 06 3F */ clrlwi. r0, r27, 0x18 -/* 80329A1C 0032697C 41 82 EA A0 */ beq lbl_803284BC -/* 80329A20 00326980 38 61 01 34 */ addi r3, r1, 0x134 -/* 80329A24 00326984 38 80 FF FF */ li r4, -1 -/* 80329A28 00326988 4B FE 8B DD */ bl __dt__13CGlobalRandomFv -/* 80329A2C 0032698C 38 60 00 01 */ li r3, 1 -lbl_80329A30: -/* 80329A30 00326990 BB 21 01 44 */ lmw r25, 0x144(r1) -/* 80329A34 00326994 80 01 01 64 */ lwz r0, 0x164(r1) -/* 80329A38 00326998 7C 08 03 A6 */ mtlr r0 -/* 80329A3C 0032699C 38 21 01 60 */ addi r1, r1, 0x160 -/* 80329A40 003269A0 4E 80 00 20 */ blr - -.global __dt__24CSpawnSystemKeyframeDataFv -__dt__24CSpawnSystemKeyframeDataFv: -/* 80329A44 003269A4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80329A48 003269A8 7C 08 02 A6 */ mflr r0 -/* 80329A4C 003269AC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80329A50 003269B0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80329A54 003269B4 7C 9F 23 78 */ mr r31, r4 -/* 80329A58 003269B8 38 80 00 01 */ li r4, 1 -/* 80329A5C 003269BC 93 C1 00 08 */ stw r30, 8(r1) -/* 80329A60 003269C0 7C 7E 1B 78 */ mr r30, r3 -/* 80329A64 003269C4 80 63 00 00 */ lwz r3, 0(r3) -/* 80329A68 003269C8 48 00 00 25 */ bl sub_80329a8c -/* 80329A6C 003269CC 93 FE 00 00 */ stw r31, 0(r30) -/* 80329A70 003269D0 7F C3 F3 78 */ mr r3, r30 -/* 80329A74 003269D4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80329A78 003269D8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80329A7C 003269DC 83 C1 00 08 */ lwz r30, 8(r1) -/* 80329A80 003269E0 7C 08 03 A6 */ mtlr r0 -/* 80329A84 003269E4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80329A88 003269E8 4E 80 00 20 */ blr - -.global sub_80329a8c -sub_80329a8c: -/* 80329A8C 003269EC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80329A90 003269F0 7C 08 02 A6 */ mflr r0 -/* 80329A94 003269F4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80329A98 003269F8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80329A9C 003269FC 7C 9F 23 78 */ mr r31, r4 -/* 80329AA0 00326A00 93 C1 00 08 */ stw r30, 8(r1) -/* 80329AA4 00326A04 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80329AA8 00326A08 41 82 00 20 */ beq lbl_80329AC8 -/* 80329AAC 00326A0C 38 7E 00 10 */ addi r3, r30, 0x10 -/* 80329AB0 00326A10 38 80 FF FF */ li r4, -1 -/* 80329AB4 00326A14 48 00 00 31 */ bl sub_80329ae4 -/* 80329AB8 00326A18 7F E0 07 35 */ extsh. r0, r31 -/* 80329ABC 00326A1C 40 81 00 0C */ ble lbl_80329AC8 -/* 80329AC0 00326A20 7F C3 F3 78 */ mr r3, r30 -/* 80329AC4 00326A24 4B FE BE 6D */ bl Free__7CMemoryFPCv -lbl_80329AC8: -/* 80329AC8 00326A28 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80329ACC 00326A2C 7F C3 F3 78 */ mr r3, r30 -/* 80329AD0 00326A30 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80329AD4 00326A34 83 C1 00 08 */ lwz r30, 8(r1) -/* 80329AD8 00326A38 7C 08 03 A6 */ mtlr r0 -/* 80329ADC 00326A3C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80329AE0 00326A40 4E 80 00 20 */ blr - -.global sub_80329ae4 -sub_80329ae4: -/* 80329AE4 00326A44 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80329AE8 00326A48 7C 08 02 A6 */ mflr r0 -/* 80329AEC 00326A4C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80329AF0 00326A50 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80329AF4 00326A54 7C 9F 23 78 */ mr r31, r4 -/* 80329AF8 00326A58 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80329AFC 00326A5C 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80329B00 00326A60 41 82 00 54 */ beq lbl_80329B54 -/* 80329B04 00326A64 80 1E 00 04 */ lwz r0, 4(r30) -/* 80329B08 00326A68 38 61 00 14 */ addi r3, r1, 0x14 -/* 80329B0C 00326A6C 80 BE 00 0C */ lwz r5, 0xc(r30) -/* 80329B10 00326A70 38 81 00 0C */ addi r4, r1, 0xc -/* 80329B14 00326A74 1C 00 00 14 */ mulli r0, r0, 0x14 -/* 80329B18 00326A78 7C A5 02 14 */ add r5, r5, r0 -/* 80329B1C 00326A7C 90 A1 00 0C */ stw r5, 0xc(r1) -/* 80329B20 00326A80 80 1E 00 0C */ lwz r0, 0xc(r30) -/* 80329B24 00326A84 90 A1 00 08 */ stw r5, 8(r1) -/* 80329B28 00326A88 90 01 00 10 */ stw r0, 0x10(r1) -/* 80329B2C 00326A8C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80329B30 00326A90 48 00 00 41 */ bl sub_80329b70 -/* 80329B34 00326A94 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 80329B38 00326A98 28 03 00 00 */ cmplwi r3, 0 -/* 80329B3C 00326A9C 41 82 00 08 */ beq lbl_80329B44 -/* 80329B40 00326AA0 4B FE BD F1 */ bl Free__7CMemoryFPCv -lbl_80329B44: -/* 80329B44 00326AA4 7F E0 07 35 */ extsh. r0, r31 -/* 80329B48 00326AA8 40 81 00 0C */ ble lbl_80329B54 -/* 80329B4C 00326AAC 7F C3 F3 78 */ mr r3, r30 -/* 80329B50 00326AB0 4B FE BD E1 */ bl Free__7CMemoryFPCv -lbl_80329B54: -/* 80329B54 00326AB4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80329B58 00326AB8 7F C3 F3 78 */ mr r3, r30 -/* 80329B5C 00326ABC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80329B60 00326AC0 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80329B64 00326AC4 7C 08 03 A6 */ mtlr r0 -/* 80329B68 00326AC8 38 21 00 20 */ addi r1, r1, 0x20 -/* 80329B6C 00326ACC 4E 80 00 20 */ blr - -.global sub_80329b70 -sub_80329b70: -/* 80329B70 00326AD0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80329B74 00326AD4 7C 08 02 A6 */ mflr r0 -/* 80329B78 00326AD8 90 01 00 14 */ stw r0, 0x14(r1) -/* 80329B7C 00326ADC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80329B80 00326AE0 93 C1 00 08 */ stw r30, 8(r1) -/* 80329B84 00326AE4 7C 9E 23 78 */ mr r30, r4 -/* 80329B88 00326AE8 83 E3 00 00 */ lwz r31, 0(r3) -/* 80329B8C 00326AEC 48 00 00 10 */ b lbl_80329B9C -lbl_80329B90: -/* 80329B90 00326AF0 7F E3 FB 78 */ mr r3, r31 -/* 80329B94 00326AF4 48 00 00 2D */ bl sub_80329bc0 -/* 80329B98 00326AF8 3B FF 00 14 */ addi r31, r31, 0x14 -lbl_80329B9C: -/* 80329B9C 00326AFC 80 1E 00 00 */ lwz r0, 0(r30) -/* 80329BA0 00326B00 7C 1F 00 40 */ cmplw r31, r0 -/* 80329BA4 00326B04 40 82 FF EC */ bne lbl_80329B90 -/* 80329BA8 00326B08 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80329BAC 00326B0C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80329BB0 00326B10 83 C1 00 08 */ lwz r30, 8(r1) -/* 80329BB4 00326B14 7C 08 03 A6 */ mtlr r0 -/* 80329BB8 00326B18 38 21 00 10 */ addi r1, r1, 0x10 -/* 80329BBC 00326B1C 4E 80 00 20 */ blr - -.global sub_80329bc0 -sub_80329bc0: -/* 80329BC0 00326B20 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80329BC4 00326B24 7C 08 02 A6 */ mflr r0 -/* 80329BC8 00326B28 38 80 FF FF */ li r4, -1 -/* 80329BCC 00326B2C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80329BD0 00326B30 48 00 00 15 */ bl sub_80329be4 -/* 80329BD4 00326B34 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80329BD8 00326B38 7C 08 03 A6 */ mtlr r0 -/* 80329BDC 00326B3C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80329BE0 00326B40 4E 80 00 20 */ blr - -.global sub_80329be4 -sub_80329be4: -/* 80329BE4 00326B44 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80329BE8 00326B48 7C 08 02 A6 */ mflr r0 -/* 80329BEC 00326B4C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80329BF0 00326B50 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80329BF4 00326B54 7C 9F 23 78 */ mr r31, r4 -/* 80329BF8 00326B58 93 C1 00 08 */ stw r30, 8(r1) -/* 80329BFC 00326B5C 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80329C00 00326B60 41 82 00 20 */ beq lbl_80329C20 -/* 80329C04 00326B64 38 7E 00 04 */ addi r3, r30, 4 -/* 80329C08 00326B68 38 80 FF FF */ li r4, -1 -/* 80329C0C 00326B6C 48 00 00 31 */ bl sub_80329c3c -/* 80329C10 00326B70 7F E0 07 35 */ extsh. r0, r31 -/* 80329C14 00326B74 40 81 00 0C */ ble lbl_80329C20 -/* 80329C18 00326B78 7F C3 F3 78 */ mr r3, r30 -/* 80329C1C 00326B7C 4B FE BD 15 */ bl Free__7CMemoryFPCv -lbl_80329C20: -/* 80329C20 00326B80 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80329C24 00326B84 7F C3 F3 78 */ mr r3, r30 -/* 80329C28 00326B88 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80329C2C 00326B8C 83 C1 00 08 */ lwz r30, 8(r1) -/* 80329C30 00326B90 7C 08 03 A6 */ mtlr r0 -/* 80329C34 00326B94 38 21 00 10 */ addi r1, r1, 0x10 -/* 80329C38 00326B98 4E 80 00 20 */ blr - -.global sub_80329c3c -sub_80329c3c: -/* 80329C3C 00326B9C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80329C40 00326BA0 7C 08 02 A6 */ mflr r0 -/* 80329C44 00326BA4 90 01 00 34 */ stw r0, 0x34(r1) -/* 80329C48 00326BA8 BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 80329C4C 00326BAC 7C 7B 1B 79 */ or. r27, r3, r3 -/* 80329C50 00326BB0 7C 9C 23 78 */ mr r28, r4 -/* 80329C54 00326BB4 41 82 00 98 */ beq lbl_80329CEC -/* 80329C58 00326BB8 80 1B 00 04 */ lwz r0, 4(r27) -/* 80329C5C 00326BBC 3B E0 00 00 */ li r31, 0 -/* 80329C60 00326BC0 83 BB 00 0C */ lwz r29, 0xc(r27) -/* 80329C64 00326BC4 1C 00 00 1C */ mulli r0, r0, 0x1c -/* 80329C68 00326BC8 93 A1 00 10 */ stw r29, 0x10(r1) -/* 80329C6C 00326BCC 7F DD 02 14 */ add r30, r29, r0 -/* 80329C70 00326BD0 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80329C74 00326BD4 93 C1 00 08 */ stw r30, 8(r1) -/* 80329C78 00326BD8 93 C1 00 0C */ stw r30, 0xc(r1) -/* 80329C7C 00326BDC 48 00 00 48 */ b lbl_80329CC4 -lbl_80329C80: -/* 80329C80 00326BE0 28 1D 00 00 */ cmplwi r29, 0 -/* 80329C84 00326BE4 41 82 00 3C */ beq lbl_80329CC0 -/* 80329C88 00326BE8 88 1D 00 18 */ lbz r0, 0x18(r29) -/* 80329C8C 00326BEC 28 00 00 00 */ cmplwi r0, 0 -/* 80329C90 00326BF0 41 82 00 0C */ beq lbl_80329C9C -/* 80329C94 00326BF4 38 7D 00 10 */ addi r3, r29, 0x10 -/* 80329C98 00326BF8 48 01 70 A9 */ bl Unlock__6CTokenFv -lbl_80329C9C: -/* 80329C9C 00326BFC 34 1D 00 10 */ addic. r0, r29, 0x10 -/* 80329CA0 00326C00 41 82 00 20 */ beq lbl_80329CC0 -/* 80329CA4 00326C04 88 1D 00 18 */ lbz r0, 0x18(r29) -/* 80329CA8 00326C08 28 00 00 00 */ cmplwi r0, 0 -/* 80329CAC 00326C0C 41 82 00 10 */ beq lbl_80329CBC -/* 80329CB0 00326C10 38 7D 00 10 */ addi r3, r29, 0x10 -/* 80329CB4 00326C14 38 80 FF FF */ li r4, -1 -/* 80329CB8 00326C18 48 01 71 89 */ bl __dt__6CTokenFv -lbl_80329CBC: -/* 80329CBC 00326C1C 9B FD 00 18 */ stb r31, 0x18(r29) -lbl_80329CC0: -/* 80329CC0 00326C20 3B BD 00 1C */ addi r29, r29, 0x1c -lbl_80329CC4: -/* 80329CC4 00326C24 7C 1D F0 40 */ cmplw r29, r30 -/* 80329CC8 00326C28 40 82 FF B8 */ bne lbl_80329C80 -/* 80329CCC 00326C2C 80 7B 00 0C */ lwz r3, 0xc(r27) -/* 80329CD0 00326C30 28 03 00 00 */ cmplwi r3, 0 -/* 80329CD4 00326C34 41 82 00 08 */ beq lbl_80329CDC -/* 80329CD8 00326C38 4B FE BC 59 */ bl Free__7CMemoryFPCv -lbl_80329CDC: -/* 80329CDC 00326C3C 7F 80 07 35 */ extsh. r0, r28 -/* 80329CE0 00326C40 40 81 00 0C */ ble lbl_80329CEC -/* 80329CE4 00326C44 7F 63 DB 78 */ mr r3, r27 -/* 80329CE8 00326C48 4B FE BC 49 */ bl Free__7CMemoryFPCv -lbl_80329CEC: -/* 80329CEC 00326C4C 7F 63 DB 78 */ mr r3, r27 -/* 80329CF0 00326C50 BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 80329CF4 00326C54 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80329CF8 00326C58 7C 08 03 A6 */ mtlr r0 -/* 80329CFC 00326C5C 38 21 00 30 */ addi r1, r1, 0x30 -/* 80329D00 00326C60 4E 80 00 20 */ blr - -.global LoadGPSMTokens__20CParticleDataFactoryFP15CGenDescription -LoadGPSMTokens__20CParticleDataFactoryFP15CGenDescription: -/* 80329D04 00326C64 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80329D08 00326C68 7C 08 02 A6 */ mflr r0 -/* 80329D0C 00326C6C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80329D10 00326C70 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80329D14 00326C74 93 C1 00 08 */ stw r30, 8(r1) -/* 80329D18 00326C78 7C 7E 1B 78 */ mr r30, r3 -/* 80329D1C 00326C7C 88 03 00 54 */ lbz r0, 0x54(r3) -/* 80329D20 00326C80 28 00 00 00 */ cmplwi r0, 0 -/* 80329D24 00326C84 41 82 00 24 */ beq lbl_80329D48 -/* 80329D28 00326C88 3B FE 00 48 */ addi r31, r30, 0x48 -/* 80329D2C 00326C8C 80 1E 00 50 */ lwz r0, 0x50(r30) -/* 80329D30 00326C90 28 00 00 00 */ cmplwi r0, 0 -/* 80329D34 00326C94 40 82 00 14 */ bne lbl_80329D48 -/* 80329D38 00326C98 7F E3 FB 78 */ mr r3, r31 -/* 80329D3C 00326C9C 48 01 70 D1 */ bl GetObj__6CTokenFv -/* 80329D40 00326CA0 80 03 00 04 */ lwz r0, 4(r3) -/* 80329D44 00326CA4 90 1F 00 08 */ stw r0, 8(r31) -lbl_80329D48: -/* 80329D48 00326CA8 88 1E 00 84 */ lbz r0, 0x84(r30) -/* 80329D4C 00326CAC 28 00 00 00 */ cmplwi r0, 0 -/* 80329D50 00326CB0 41 82 00 24 */ beq lbl_80329D74 -/* 80329D54 00326CB4 3B FE 00 78 */ addi r31, r30, 0x78 -/* 80329D58 00326CB8 80 1E 00 80 */ lwz r0, 0x80(r30) -/* 80329D5C 00326CBC 28 00 00 00 */ cmplwi r0, 0 -/* 80329D60 00326CC0 40 82 00 14 */ bne lbl_80329D74 -/* 80329D64 00326CC4 7F E3 FB 78 */ mr r3, r31 -/* 80329D68 00326CC8 48 01 70 A5 */ bl GetObj__6CTokenFv -/* 80329D6C 00326CCC 80 03 00 04 */ lwz r0, 4(r3) -/* 80329D70 00326CD0 90 1F 00 08 */ stw r0, 8(r31) -lbl_80329D74: -/* 80329D74 00326CD4 88 1E 00 9C */ lbz r0, 0x9c(r30) -/* 80329D78 00326CD8 28 00 00 00 */ cmplwi r0, 0 -/* 80329D7C 00326CDC 41 82 00 24 */ beq lbl_80329DA0 -/* 80329D80 00326CE0 3B FE 00 90 */ addi r31, r30, 0x90 -/* 80329D84 00326CE4 80 1E 00 98 */ lwz r0, 0x98(r30) -/* 80329D88 00326CE8 28 00 00 00 */ cmplwi r0, 0 -/* 80329D8C 00326CEC 40 82 00 14 */ bne lbl_80329DA0 -/* 80329D90 00326CF0 7F E3 FB 78 */ mr r3, r31 -/* 80329D94 00326CF4 48 01 70 79 */ bl GetObj__6CTokenFv -/* 80329D98 00326CF8 80 03 00 04 */ lwz r0, 4(r3) -/* 80329D9C 00326CFC 90 1F 00 08 */ stw r0, 8(r31) -lbl_80329DA0: -/* 80329DA0 00326D00 88 1E 00 B0 */ lbz r0, 0xb0(r30) -/* 80329DA4 00326D04 28 00 00 00 */ cmplwi r0, 0 -/* 80329DA8 00326D08 41 82 00 24 */ beq lbl_80329DCC -/* 80329DAC 00326D0C 3B FE 00 A4 */ addi r31, r30, 0xa4 -/* 80329DB0 00326D10 80 1E 00 AC */ lwz r0, 0xac(r30) -/* 80329DB4 00326D14 28 00 00 00 */ cmplwi r0, 0 -/* 80329DB8 00326D18 40 82 00 14 */ bne lbl_80329DCC -/* 80329DBC 00326D1C 7F E3 FB 78 */ mr r3, r31 -/* 80329DC0 00326D20 48 01 70 4D */ bl GetObj__6CTokenFv -/* 80329DC4 00326D24 80 03 00 04 */ lwz r0, 4(r3) -/* 80329DC8 00326D28 90 1F 00 08 */ stw r0, 8(r31) -lbl_80329DCC: -/* 80329DCC 00326D2C 88 1E 00 CC */ lbz r0, 0xcc(r30) -/* 80329DD0 00326D30 28 00 00 00 */ cmplwi r0, 0 -/* 80329DD4 00326D34 41 82 00 24 */ beq lbl_80329DF8 -/* 80329DD8 00326D38 3B FE 00 C0 */ addi r31, r30, 0xc0 -/* 80329DDC 00326D3C 80 1E 00 C8 */ lwz r0, 0xc8(r30) -/* 80329DE0 00326D40 28 00 00 00 */ cmplwi r0, 0 -/* 80329DE4 00326D44 40 82 00 14 */ bne lbl_80329DF8 -/* 80329DE8 00326D48 7F E3 FB 78 */ mr r3, r31 -/* 80329DEC 00326D4C 48 01 70 21 */ bl GetObj__6CTokenFv -/* 80329DF0 00326D50 80 03 00 04 */ lwz r0, 4(r3) -/* 80329DF4 00326D54 90 1F 00 08 */ stw r0, 8(r31) -lbl_80329DF8: -/* 80329DF8 00326D58 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80329DFC 00326D5C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80329E00 00326D60 83 C1 00 08 */ lwz r30, 8(r1) -/* 80329E04 00326D64 7C 08 03 A6 */ mtlr r0 -/* 80329E08 00326D68 38 21 00 10 */ addi r1, r1, 0x10 -/* 80329E0C 00326D6C 4E 80 00 20 */ blr - -.global "CreateGeneratorDescription__20CParticleDataFactoryFR12CInputStreamRQ24rstl37vectorUiP11CSimplePool" -"CreateGeneratorDescription__20CParticleDataFactoryFR12CInputStreamRQ24rstl37vectorUiP11CSimplePool": -/* 80329E10 00326D70 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80329E14 00326D74 7C 08 02 A6 */ mflr r0 -/* 80329E18 00326D78 90 01 00 34 */ stw r0, 0x34(r1) -/* 80329E1C 00326D7C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80329E20 00326D80 7C DF 33 78 */ mr r31, r6 -/* 80329E24 00326D84 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80329E28 00326D88 7C 9E 23 78 */ mr r30, r4 -/* 80329E2C 00326D8C 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80329E30 00326D90 7C 7D 1B 78 */ mr r29, r3 -/* 80329E34 00326D94 38 61 00 18 */ addi r3, r1, 0x18 -/* 80329E38 00326D98 93 81 00 20 */ stw r28, 0x20(r1) -/* 80329E3C 00326D9C 80 04 00 04 */ lwz r0, 4(r4) -/* 80329E40 00326DA0 80 84 00 0C */ lwz r4, 0xc(r4) -/* 80329E44 00326DA4 54 00 10 3A */ slwi r0, r0, 2 -/* 80329E48 00326DA8 90 A1 00 08 */ stw r5, 8(r1) -/* 80329E4C 00326DAC 7C C4 02 14 */ add r6, r4, r0 -/* 80329E50 00326DB0 38 81 00 10 */ addi r4, r1, 0x10 -/* 80329E54 00326DB4 90 C1 00 10 */ stw r6, 0x10(r1) -/* 80329E58 00326DB8 38 A1 00 08 */ addi r5, r1, 8 -/* 80329E5C 00326DBC 80 1E 00 0C */ lwz r0, 0xc(r30) -/* 80329E60 00326DC0 90 C1 00 0C */ stw r6, 0xc(r1) -/* 80329E64 00326DC4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80329E68 00326DC8 90 01 00 18 */ stw r0, 0x18(r1) -/* 80329E6C 00326DCC 48 00 05 9D */ bl "count,Q24rstl17rmemory_allocator>,Ui>__4rstlFQ24rstl94pointer_iterator,Q24rstl17rmemory_allocator>Q24rstl94pointer_iterator,Q24rstl17rmemory_allocator>RCUi" -/* 80329E70 00326DD0 2C 03 00 00 */ cmpwi r3, 0 -/* 80329E74 00326DD4 41 82 00 0C */ beq lbl_80329E80 -/* 80329E78 00326DD8 38 60 00 00 */ li r3, 0 -/* 80329E7C 00326DDC 48 00 00 B4 */ b lbl_80329F30 -lbl_80329E80: -/* 80329E80 00326DE0 80 1E 00 04 */ lwz r0, 4(r30) -/* 80329E84 00326DE4 80 BE 00 08 */ lwz r5, 8(r30) -/* 80329E88 00326DE8 7C 00 28 00 */ cmpw r0, r5 -/* 80329E8C 00326DEC 41 80 00 1C */ blt lbl_80329EA8 -/* 80329E90 00326DF0 2C 05 00 00 */ cmpwi r5, 0 -/* 80329E94 00326DF4 7F C3 F3 78 */ mr r3, r30 -/* 80329E98 00326DF8 38 80 00 04 */ li r4, 4 -/* 80329E9C 00326DFC 41 82 00 08 */ beq lbl_80329EA4 -/* 80329EA0 00326E00 54 A4 08 3C */ slwi r4, r5, 1 -lbl_80329EA4: -/* 80329EA4 00326E04 4B D3 9C 81 */ bl "reserve__Q24rstl37vectorFi" -lbl_80329EA8: -/* 80329EA8 00326E08 80 1E 00 04 */ lwz r0, 4(r30) -/* 80329EAC 00326E0C 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 80329EB0 00326E10 54 00 10 3A */ slwi r0, r0, 2 -/* 80329EB4 00326E14 7C 63 02 15 */ add. r3, r3, r0 -/* 80329EB8 00326E18 41 82 00 0C */ beq lbl_80329EC4 -/* 80329EBC 00326E1C 80 01 00 08 */ lwz r0, 8(r1) -/* 80329EC0 00326E20 90 03 00 00 */ stw r0, 0(r3) -lbl_80329EC4: -/* 80329EC4 00326E24 80 9E 00 04 */ lwz r4, 4(r30) -/* 80329EC8 00326E28 7F A3 EB 78 */ mr r3, r29 -/* 80329ECC 00326E2C 38 04 00 01 */ addi r0, r4, 1 -/* 80329ED0 00326E30 90 1E 00 04 */ stw r0, 4(r30) -/* 80329ED4 00326E34 4B FF E5 89 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream -/* 80329ED8 00326E38 3C 03 B8 B0 */ addis r0, r3, 0xb8b0 -/* 80329EDC 00326E3C 28 00 53 4D */ cmplwi r0, 0x534d -/* 80329EE0 00326E40 41 82 00 0C */ beq lbl_80329EEC -/* 80329EE4 00326E44 38 60 00 00 */ li r3, 0 -/* 80329EE8 00326E48 48 00 00 48 */ b lbl_80329F30 -lbl_80329EEC: -/* 80329EEC 00326E4C 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 80329EF0 00326E50 38 60 01 2C */ li r3, 0x12c -/* 80329EF4 00326E54 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 80329EF8 00326E58 38 A0 00 00 */ li r5, 0 -/* 80329EFC 00326E5C 4B FE B9 71 */ bl __nw__FUlPCcPCc -/* 80329F00 00326E60 7C 7C 1B 79 */ or. r28, r3, r3 -/* 80329F04 00326E64 41 82 00 0C */ beq lbl_80329F10 -/* 80329F08 00326E68 48 03 D1 65 */ bl __ct__15CGenDescriptionFv -/* 80329F0C 00326E6C 7C 7C 1B 78 */ mr r28, r3 -lbl_80329F10: -/* 80329F10 00326E70 7F 83 E3 78 */ mr r3, r28 -/* 80329F14 00326E74 7F A4 EB 78 */ mr r4, r29 -/* 80329F18 00326E78 7F C5 F3 78 */ mr r5, r30 -/* 80329F1C 00326E7C 7F E6 FB 78 */ mr r6, r31 -/* 80329F20 00326E80 4B FF E5 5D */ bl "CreateGPSM__20CParticleDataFactoryFP15CGenDescriptionR12CInputStreamRQ24rstl37vectorP11CSimplePool" -/* 80329F24 00326E84 7F 83 E3 78 */ mr r3, r28 -/* 80329F28 00326E88 4B FF FD DD */ bl LoadGPSMTokens__20CParticleDataFactoryFP15CGenDescription -/* 80329F2C 00326E8C 7F 83 E3 78 */ mr r3, r28 -lbl_80329F30: -/* 80329F30 00326E90 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80329F34 00326E94 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80329F38 00326E98 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80329F3C 00326E9C 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80329F40 00326EA0 83 81 00 20 */ lwz r28, 0x20(r1) -/* 80329F44 00326EA4 7C 08 03 A6 */ mtlr r0 -/* 80329F48 00326EA8 38 21 00 30 */ addi r1, r1, 0x30 -/* 80329F4C 00326EAC 4E 80 00 20 */ blr - -.global GetGeneratorDesc__20CParticleDataFactoryFR12CInputStreamP11CSimplePool -GetGeneratorDesc__20CParticleDataFactoryFR12CInputStreamP11CSimplePool: -/* 80329F50 00326EB0 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80329F54 00326EB4 7C 08 02 A6 */ mflr r0 -/* 80329F58 00326EB8 90 01 00 44 */ stw r0, 0x44(r1) -/* 80329F5C 00326EBC 38 00 00 00 */ li r0, 0 -/* 80329F60 00326EC0 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 80329F64 00326EC4 7C BF 2B 78 */ mr r31, r5 -/* 80329F68 00326EC8 93 C1 00 38 */ stw r30, 0x38(r1) -/* 80329F6C 00326ECC 7C 9E 23 78 */ mr r30, r4 -/* 80329F70 00326ED0 38 80 00 08 */ li r4, 8 -/* 80329F74 00326ED4 93 A1 00 34 */ stw r29, 0x34(r1) -/* 80329F78 00326ED8 7C 7D 1B 78 */ mr r29, r3 -/* 80329F7C 00326EDC 38 61 00 18 */ addi r3, r1, 0x18 -/* 80329F80 00326EE0 90 01 00 1C */ stw r0, 0x1c(r1) -/* 80329F84 00326EE4 90 01 00 20 */ stw r0, 0x20(r1) -/* 80329F88 00326EE8 90 01 00 24 */ stw r0, 0x24(r1) -/* 80329F8C 00326EEC 4B D3 9B 99 */ bl "reserve__Q24rstl37vectorFi" -/* 80329F90 00326EF0 7F A3 EB 78 */ mr r3, r29 -/* 80329F94 00326EF4 7F E5 FB 78 */ mr r5, r31 -/* 80329F98 00326EF8 7F C6 F3 78 */ mr r6, r30 -/* 80329F9C 00326EFC 38 81 00 18 */ addi r4, r1, 0x18 -/* 80329FA0 00326F00 4B FF FE 71 */ bl "CreateGeneratorDescription__20CParticleDataFactoryFR12CInputStreamRQ24rstl37vectorUiP11CSimplePool" -/* 80329FA4 00326F04 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 80329FA8 00326F08 7C 7F 1B 78 */ mr r31, r3 -/* 80329FAC 00326F0C 80 81 00 24 */ lwz r4, 0x24(r1) -/* 80329FB0 00326F10 54 00 10 3A */ slwi r0, r0, 2 -/* 80329FB4 00326F14 7C 04 02 14 */ add r0, r4, r0 -/* 80329FB8 00326F18 90 81 00 0C */ stw r4, 0xc(r1) -/* 80329FBC 00326F1C 7C 83 23 78 */ mr r3, r4 -/* 80329FC0 00326F20 90 01 00 14 */ stw r0, 0x14(r1) -/* 80329FC4 00326F24 90 01 00 10 */ stw r0, 0x10(r1) -/* 80329FC8 00326F28 90 81 00 08 */ stw r4, 8(r1) -/* 80329FCC 00326F2C 48 00 00 08 */ b lbl_80329FD4 -lbl_80329FD0: -/* 80329FD0 00326F30 38 63 00 04 */ addi r3, r3, 4 -lbl_80329FD4: -/* 80329FD4 00326F34 7C 03 00 40 */ cmplw r3, r0 -/* 80329FD8 00326F38 40 82 FF F8 */ bne lbl_80329FD0 -/* 80329FDC 00326F3C 28 04 00 00 */ cmplwi r4, 0 -/* 80329FE0 00326F40 41 82 00 0C */ beq lbl_80329FEC -/* 80329FE4 00326F44 7C 83 23 78 */ mr r3, r4 -/* 80329FE8 00326F48 4B FE B9 49 */ bl Free__7CMemoryFPCv -lbl_80329FEC: -/* 80329FEC 00326F4C 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80329FF0 00326F50 7F E3 FB 78 */ mr r3, r31 -/* 80329FF4 00326F54 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 80329FF8 00326F58 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 80329FFC 00326F5C 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 8032A000 00326F60 7C 08 03 A6 */ mtlr r0 -/* 8032A004 00326F64 38 21 00 40 */ addi r1, r1, 0x40 -/* 8032A008 00326F68 4E 80 00 20 */ blr - -.global FParticleFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer -FParticleFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer: -/* 8032A00C 00326F6C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8032A010 00326F70 7C 08 02 A6 */ mflr r0 -/* 8032A014 00326F74 90 01 00 34 */ stw r0, 0x34(r1) -/* 8032A018 00326F78 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8032A01C 00326F7C 7C 7F 1B 78 */ mr r31, r3 -/* 8032A020 00326F80 7C A3 2B 78 */ mr r3, r5 -/* 8032A024 00326F84 80 C6 00 00 */ lwz r6, 0(r6) -/* 8032A028 00326F88 90 C1 00 08 */ stw r6, 8(r1) -/* 8032A02C 00326F8C 80 A6 00 04 */ lwz r5, 4(r6) -/* 8032A030 00326F90 38 05 00 01 */ addi r0, r5, 1 -/* 8032A034 00326F94 90 06 00 04 */ stw r0, 4(r6) -/* 8032A038 00326F98 80 C1 00 08 */ lwz r6, 8(r1) -/* 8032A03C 00326F9C 80 A4 00 04 */ lwz r5, 4(r4) -/* 8032A040 00326FA0 80 86 00 00 */ lwz r4, 0(r6) -/* 8032A044 00326FA4 80 84 00 04 */ lwz r4, 4(r4) -/* 8032A048 00326FA8 4B FF FF 09 */ bl GetGeneratorDesc__20CParticleDataFactoryFR12CInputStreamP11CSimplePool -/* 8032A04C 00326FAC 7C 03 00 D0 */ neg r0, r3 -/* 8032A050 00326FB0 90 61 00 10 */ stw r3, 0x10(r1) -/* 8032A054 00326FB4 7C 00 1B 78 */ or r0, r0, r3 -/* 8032A058 00326FB8 38 61 00 14 */ addi r3, r1, 0x14 -/* 8032A05C 00326FBC 54 00 0F FE */ srwi r0, r0, 0x1f -/* 8032A060 00326FC0 38 81 00 0C */ addi r4, r1, 0xc -/* 8032A064 00326FC4 98 01 00 0C */ stb r0, 0xc(r1) -/* 8032A068 00326FC8 48 00 00 85 */ bl "GetIObjObjectFor__25TToken<15CGenDescription>FRCQ24rstl27auto_ptr<15CGenDescription>" -/* 8032A06C 00326FCC 80 61 00 18 */ lwz r3, 0x18(r1) -/* 8032A070 00326FD0 38 00 00 00 */ li r0, 0 -/* 8032A074 00326FD4 98 01 00 14 */ stb r0, 0x14(r1) -/* 8032A078 00326FD8 7C 03 00 D0 */ neg r0, r3 -/* 8032A07C 00326FDC 7C 00 1B 78 */ or r0, r0, r3 -/* 8032A080 00326FE0 54 00 0F FE */ srwi r0, r0, 0x1f -/* 8032A084 00326FE4 98 1F 00 00 */ stb r0, 0(r31) -/* 8032A088 00326FE8 90 7F 00 04 */ stw r3, 4(r31) -/* 8032A08C 00326FEC 88 01 00 14 */ lbz r0, 0x14(r1) -/* 8032A090 00326FF0 28 00 00 00 */ cmplwi r0, 0 -/* 8032A094 00326FF4 41 82 00 24 */ beq lbl_8032A0B8 -/* 8032A098 00326FF8 80 61 00 18 */ lwz r3, 0x18(r1) -/* 8032A09C 00326FFC 28 03 00 00 */ cmplwi r3, 0 -/* 8032A0A0 00327000 41 82 00 18 */ beq lbl_8032A0B8 -/* 8032A0A4 00327004 81 83 00 00 */ lwz r12, 0(r3) -/* 8032A0A8 00327008 38 80 00 01 */ li r4, 1 -/* 8032A0AC 0032700C 81 8C 00 08 */ lwz r12, 8(r12) -/* 8032A0B0 00327010 7D 89 03 A6 */ mtctr r12 -/* 8032A0B4 00327014 4E 80 04 21 */ bctrl -lbl_8032A0B8: -/* 8032A0B8 00327018 88 01 00 0C */ lbz r0, 0xc(r1) -/* 8032A0BC 0032701C 28 00 00 00 */ cmplwi r0, 0 -/* 8032A0C0 00327020 41 82 00 10 */ beq lbl_8032A0D0 -/* 8032A0C4 00327024 80 61 00 10 */ lwz r3, 0x10(r1) -/* 8032A0C8 00327028 38 80 00 01 */ li r4, 1 -/* 8032A0CC 0032702C 48 03 CD 6D */ bl __dt__15CGenDescriptionFv -lbl_8032A0D0: -/* 8032A0D0 00327030 38 61 00 08 */ addi r3, r1, 8 -/* 8032A0D4 00327034 4B D0 A2 31 */ bl sub_80034304 -/* 8032A0D8 00327038 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8032A0DC 0032703C 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8032A0E0 00327040 7C 08 03 A6 */ mtlr r0 -/* 8032A0E4 00327044 38 21 00 30 */ addi r1, r1, 0x30 -/* 8032A0E8 00327048 4E 80 00 20 */ blr - -.global "GetIObjObjectFor__25TToken<15CGenDescription>FRCQ24rstl27auto_ptr<15CGenDescription>" -"GetIObjObjectFor__25TToken<15CGenDescription>FRCQ24rstl27auto_ptr<15CGenDescription>": -/* 8032A0EC 0032704C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8032A0F0 00327050 7C 08 02 A6 */ mflr r0 -/* 8032A0F4 00327054 90 01 00 14 */ stw r0, 0x14(r1) -/* 8032A0F8 00327058 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8032A0FC 0032705C 7C 7F 1B 78 */ mr r31, r3 -/* 8032A100 00327060 48 00 00 19 */ bl "GetNewDerivedObject__43TObjOwnerDerivedFromIObj<15CGenDescription>FRCQ24rstl27auto_ptr<15CGenDescription>" -/* 8032A104 00327064 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8032A108 00327068 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8032A10C 0032706C 7C 08 03 A6 */ mtlr r0 -/* 8032A110 00327070 38 21 00 10 */ addi r1, r1, 0x10 -/* 8032A114 00327074 4E 80 00 20 */ blr - -.global "GetNewDerivedObject__43TObjOwnerDerivedFromIObj<15CGenDescription>FRCQ24rstl27auto_ptr<15CGenDescription>" -"GetNewDerivedObject__43TObjOwnerDerivedFromIObj<15CGenDescription>FRCQ24rstl27auto_ptr<15CGenDescription>": -/* 8032A118 00327078 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8032A11C 0032707C 7C 08 02 A6 */ mflr r0 -/* 8032A120 00327080 3C A0 80 3D */ lis r5, lbl_803D7918@ha -/* 8032A124 00327084 90 01 00 14 */ stw r0, 0x14(r1) -/* 8032A128 00327088 38 05 79 18 */ addi r0, r5, lbl_803D7918@l -/* 8032A12C 0032708C 38 A0 00 00 */ li r5, 0 -/* 8032A130 00327090 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8032A134 00327094 7C 9F 23 78 */ mr r31, r4 -/* 8032A138 00327098 7C 04 03 78 */ mr r4, r0 -/* 8032A13C 0032709C 93 C1 00 08 */ stw r30, 8(r1) -/* 8032A140 003270A0 7C 7E 1B 78 */ mr r30, r3 -/* 8032A144 003270A4 38 60 00 08 */ li r3, 8 -/* 8032A148 003270A8 4B FE B7 25 */ bl __nw__FUlPCcPCc -/* 8032A14C 003270AC 28 03 00 00 */ cmplwi r3, 0 -/* 8032A150 003270B0 41 82 00 38 */ beq lbl_8032A188 -/* 8032A154 003270B4 3C 80 80 3E */ lis r4, lbl_803D8D6C@ha -/* 8032A158 003270B8 3C A0 80 3E */ lis r5, lbl_803D8D78@ha -/* 8032A15C 003270BC 38 04 8D 6C */ addi r0, r4, lbl_803D8D6C@l -/* 8032A160 003270C0 3C 80 80 3E */ lis r4, lbl_803DACB0@ha -/* 8032A164 003270C4 90 03 00 00 */ stw r0, 0(r3) -/* 8032A168 003270C8 38 C5 8D 78 */ addi r6, r5, lbl_803D8D78@l -/* 8032A16C 003270CC 38 A0 00 00 */ li r5, 0 -/* 8032A170 003270D0 38 04 AC B0 */ addi r0, r4, lbl_803DACB0@l -/* 8032A174 003270D4 90 C3 00 00 */ stw r6, 0(r3) -/* 8032A178 003270D8 98 BF 00 00 */ stb r5, 0(r31) -/* 8032A17C 003270DC 80 9F 00 04 */ lwz r4, 4(r31) -/* 8032A180 003270E0 90 83 00 04 */ stw r4, 4(r3) -/* 8032A184 003270E4 90 03 00 00 */ stw r0, 0(r3) -lbl_8032A188: -/* 8032A188 003270E8 7C 03 00 D0 */ neg r0, r3 -/* 8032A18C 003270EC 7C 00 1B 78 */ or r0, r0, r3 -/* 8032A190 003270F0 54 00 0F FE */ srwi r0, r0, 0x1f -/* 8032A194 003270F4 98 1E 00 00 */ stb r0, 0(r30) -/* 8032A198 003270F8 90 7E 00 04 */ stw r3, 4(r30) -/* 8032A19C 003270FC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8032A1A0 00327100 83 C1 00 08 */ lwz r30, 8(r1) -/* 8032A1A4 00327104 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8032A1A8 00327108 7C 08 03 A6 */ mtlr r0 -/* 8032A1AC 0032710C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8032A1B0 00327110 4E 80 00 20 */ blr - -.global sub_8032a1b4 -sub_8032a1b4: -/* 8032A1B4 00327114 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8032A1B8 00327118 7C 08 02 A6 */ mflr r0 -/* 8032A1BC 0032711C 90 01 00 24 */ stw r0, 0x24(r1) -/* 8032A1C0 00327120 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8032A1C4 00327124 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8032A1C8 00327128 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8032A1CC 0032712C 7C 7D 1B 79 */ or. r29, r3, r3 -/* 8032A1D0 00327130 41 82 00 E4 */ beq lbl_8032A2B4 -/* 8032A1D4 00327134 80 6D A8 CC */ lwz r3, lbl_805A948C@sda21(r13) -/* 8032A1D8 00327138 28 03 00 00 */ cmplwi r3, 0 -/* 8032A1DC 0032713C 41 82 00 14 */ beq lbl_8032A1F0 -/* 8032A1E0 00327140 7F A4 EB 78 */ mr r4, r29 -/* 8032A1E4 00327144 48 04 29 45 */ bl sub_8036cb28 -/* 8032A1E8 00327148 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8032A1EC 0032714C 40 82 00 4C */ bne lbl_8032A238 -lbl_8032A1F0: -/* 8032A1F0 00327150 3C 60 80 5A */ lis r3, lbl_805A673C@ha -/* 8032A1F4 00327154 38 00 00 00 */ li r0, 0 -/* 8032A1F8 00327158 3B E3 67 3C */ addi r31, r3, lbl_805A673C@l -/* 8032A1FC 0032715C 90 0D A8 CC */ stw r0, lbl_805A948C@sda21(r13) -/* 8032A200 00327160 83 DF 00 04 */ lwz r30, 4(r31) -/* 8032A204 00327164 48 00 00 28 */ b lbl_8032A22C -lbl_8032A208: -/* 8032A208 00327168 7F A4 EB 78 */ mr r4, r29 -/* 8032A20C 0032716C 38 7E 00 08 */ addi r3, r30, 8 -/* 8032A210 00327170 48 04 29 19 */ bl sub_8036cb28 -/* 8032A214 00327174 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8032A218 00327178 41 82 00 10 */ beq lbl_8032A228 -/* 8032A21C 0032717C 38 1E 00 08 */ addi r0, r30, 8 -/* 8032A220 00327180 90 0D A8 CC */ stw r0, lbl_805A948C@sda21(r13) -/* 8032A224 00327184 48 00 00 14 */ b lbl_8032A238 -lbl_8032A228: -/* 8032A228 00327188 83 DE 00 04 */ lwz r30, 4(r30) -lbl_8032A22C: -/* 8032A22C 0032718C 80 1F 00 08 */ lwz r0, 8(r31) -/* 8032A230 00327190 7C 1E 00 40 */ cmplw r30, r0 -/* 8032A234 00327194 40 82 FF D4 */ bne lbl_8032A208 -lbl_8032A238: -/* 8032A238 00327198 80 6D A8 CC */ lwz r3, lbl_805A948C@sda21(r13) -/* 8032A23C 0032719C 7F A4 EB 78 */ mr r4, r29 -/* 8032A240 003271A0 48 04 28 A5 */ bl sub_8036cae4 -/* 8032A244 003271A4 80 6D A8 CC */ lwz r3, lbl_805A948C@sda21(r13) -/* 8032A248 003271A8 48 04 28 5D */ bl sub_8036caa4 -/* 8032A24C 003271AC 28 03 00 00 */ cmplwi r3, 0 -/* 8032A250 003271B0 40 82 00 64 */ bne lbl_8032A2B4 -/* 8032A254 003271B4 3C 60 80 5A */ lis r3, lbl_805A673C@ha -/* 8032A258 003271B8 80 AD A8 CC */ lwz r5, lbl_805A948C@sda21(r13) -/* 8032A25C 003271BC 38 63 67 3C */ addi r3, r3, lbl_805A673C@l -/* 8032A260 003271C0 80 83 00 04 */ lwz r4, 4(r3) -/* 8032A264 003271C4 80 63 00 08 */ lwz r3, 8(r3) -/* 8032A268 003271C8 48 00 00 3C */ b lbl_8032A2A4 -lbl_8032A26C: -/* 8032A26C 003271CC 38 04 00 08 */ addi r0, r4, 8 -/* 8032A270 003271D0 7C 00 28 40 */ cmplw r0, r5 -/* 8032A274 003271D4 40 82 00 2C */ bne lbl_8032A2A0 -/* 8032A278 003271D8 3C 60 80 5A */ lis r3, lbl_805A673C@ha -/* 8032A27C 003271DC 38 63 67 3C */ addi r3, r3, lbl_805A673C@l -/* 8032A280 003271E0 48 00 02 09 */ bl sub_8032a488 -/* 8032A284 003271E4 80 6D A8 C8 */ lwz r3, lbl_805A9488@sda21(r13) -/* 8032A288 003271E8 80 0D A8 CC */ lwz r0, lbl_805A948C@sda21(r13) -/* 8032A28C 003271EC 7C 03 00 40 */ cmplw r3, r0 -/* 8032A290 003271F0 40 82 00 1C */ bne lbl_8032A2AC -/* 8032A294 003271F4 38 00 00 00 */ li r0, 0 -/* 8032A298 003271F8 90 0D A8 C8 */ stw r0, lbl_805A9488@sda21(r13) -/* 8032A29C 003271FC 48 00 00 10 */ b lbl_8032A2AC -lbl_8032A2A0: -/* 8032A2A0 00327200 80 84 00 04 */ lwz r4, 4(r4) -lbl_8032A2A4: -/* 8032A2A4 00327204 7C 04 18 40 */ cmplw r4, r3 -/* 8032A2A8 00327208 40 82 FF C4 */ bne lbl_8032A26C -lbl_8032A2AC: -/* 8032A2AC 0032720C 38 00 00 00 */ li r0, 0 -/* 8032A2B0 00327210 90 0D A8 CC */ stw r0, lbl_805A948C@sda21(r13) -lbl_8032A2B4: -/* 8032A2B4 00327214 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8032A2B8 00327218 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8032A2BC 0032721C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8032A2C0 00327220 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8032A2C4 00327224 7C 08 03 A6 */ mtlr r0 -/* 8032A2C8 00327228 38 21 00 20 */ addi r1, r1, 0x20 -/* 8032A2CC 0032722C 4E 80 00 20 */ blr - -.global sub_8032a2d0 -sub_8032a2d0: -/* 8032A2D0 00327230 94 21 FB D0 */ stwu r1, -0x430(r1) -/* 8032A2D4 00327234 7C 08 02 A6 */ mflr r0 -/* 8032A2D8 00327238 90 01 04 34 */ stw r0, 0x434(r1) -/* 8032A2DC 0032723C 93 E1 04 2C */ stw r31, 0x42c(r1) -/* 8032A2E0 00327240 93 C1 04 28 */ stw r30, 0x428(r1) -/* 8032A2E4 00327244 7C 7E 1B 78 */ mr r30, r3 -/* 8032A2E8 00327248 93 A1 04 24 */ stw r29, 0x424(r1) -/* 8032A2EC 0032724C 93 81 04 20 */ stw r28, 0x420(r1) -/* 8032A2F0 00327250 80 0D A8 C8 */ lwz r0, lbl_805A9488@sda21(r13) -/* 8032A2F4 00327254 28 00 00 00 */ cmplwi r0, 0 -/* 8032A2F8 00327258 41 82 00 18 */ beq lbl_8032A310 -/* 8032A2FC 0032725C 7C 03 03 78 */ mr r3, r0 -/* 8032A300 00327260 7F C4 F3 78 */ mr r4, r30 -/* 8032A304 00327264 48 04 28 4D */ bl sub_8036cb50 -/* 8032A308 00327268 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8032A30C 0032726C 40 82 00 D0 */ bne lbl_8032A3DC -lbl_8032A310: -/* 8032A310 00327270 38 61 00 08 */ addi r3, r1, 8 -/* 8032A314 00327274 48 04 28 65 */ bl sub_8036cb78 -/* 8032A318 00327278 3C 60 80 5A */ lis r3, lbl_805A673C@ha -/* 8032A31C 0032727C 3C 80 80 3D */ lis r4, lbl_803D7918@ha -/* 8032A320 00327280 3B E3 67 3C */ addi r31, r3, lbl_805A673C@l -/* 8032A324 00327284 38 A0 00 00 */ li r5, 0 -/* 8032A328 00327288 83 BF 00 08 */ lwz r29, 8(r31) -/* 8032A32C 0032728C 38 60 04 14 */ li r3, 0x414 -/* 8032A330 00327290 38 84 79 18 */ addi r4, r4, lbl_803D7918@l -/* 8032A334 00327294 83 9D 00 00 */ lwz r28, 0(r29) -/* 8032A338 00327298 4B FE B4 E1 */ bl __nwa__FUlPCcPCc -/* 8032A33C 0032729C 28 03 00 00 */ cmplwi r3, 0 -/* 8032A340 003272A0 41 82 00 0C */ beq lbl_8032A34C -/* 8032A344 003272A4 93 83 00 00 */ stw r28, 0(r3) -/* 8032A348 003272A8 93 A3 00 04 */ stw r29, 4(r3) -lbl_8032A34C: -/* 8032A34C 003272AC 34 E3 00 08 */ addic. r7, r3, 8 -/* 8032A350 003272B0 41 82 00 40 */ beq lbl_8032A390 -/* 8032A354 003272B4 80 81 00 08 */ lwz r4, 8(r1) -/* 8032A358 003272B8 38 00 00 80 */ li r0, 0x80 -/* 8032A35C 003272BC 38 C7 00 08 */ addi r6, r7, 8 -/* 8032A360 003272C0 38 A1 00 10 */ addi r5, r1, 0x10 -/* 8032A364 003272C4 90 87 00 00 */ stw r4, 0(r7) -/* 8032A368 003272C8 80 81 00 0C */ lwz r4, 0xc(r1) -/* 8032A36C 003272CC 90 87 00 04 */ stw r4, 4(r7) -/* 8032A370 003272D0 80 81 00 10 */ lwz r4, 0x10(r1) -/* 8032A374 003272D4 90 87 00 08 */ stw r4, 8(r7) -/* 8032A378 003272D8 7C 09 03 A6 */ mtctr r0 -lbl_8032A37C: -/* 8032A37C 003272DC 80 85 00 04 */ lwz r4, 4(r5) -/* 8032A380 003272E0 84 05 00 08 */ lwzu r0, 8(r5) -/* 8032A384 003272E4 90 86 00 04 */ stw r4, 4(r6) -/* 8032A388 003272E8 94 06 00 08 */ stwu r0, 8(r6) -/* 8032A38C 003272EC 42 00 FF F0 */ bdnz lbl_8032A37C -lbl_8032A390: -/* 8032A390 003272F0 3C 80 80 5A */ lis r4, lbl_805A673C@ha -/* 8032A394 003272F4 38 84 67 3C */ addi r4, r4, lbl_805A673C@l -/* 8032A398 003272F8 80 04 00 04 */ lwz r0, 4(r4) -/* 8032A39C 003272FC 7C 1D 00 40 */ cmplw r29, r0 -/* 8032A3A0 00327300 40 82 00 08 */ bne lbl_8032A3A8 -/* 8032A3A4 00327304 90 64 00 04 */ stw r3, 4(r4) -lbl_8032A3A8: -/* 8032A3A8 00327308 80 C3 00 00 */ lwz r6, 0(r3) -/* 8032A3AC 0032730C 3C 80 80 5A */ lis r4, lbl_805A673C@ha -/* 8032A3B0 00327310 38 A4 67 3C */ addi r5, r4, lbl_805A673C@l -/* 8032A3B4 00327314 90 66 00 04 */ stw r3, 4(r6) -/* 8032A3B8 00327318 80 83 00 04 */ lwz r4, 4(r3) -/* 8032A3BC 0032731C 90 64 00 00 */ stw r3, 0(r4) -/* 8032A3C0 00327320 80 85 00 14 */ lwz r4, 0x14(r5) -/* 8032A3C4 00327324 80 7F 00 08 */ lwz r3, 8(r31) -/* 8032A3C8 00327328 38 04 00 01 */ addi r0, r4, 1 -/* 8032A3CC 0032732C 90 05 00 14 */ stw r0, 0x14(r5) -/* 8032A3D0 00327330 80 63 00 00 */ lwz r3, 0(r3) -/* 8032A3D4 00327334 38 03 00 08 */ addi r0, r3, 8 -/* 8032A3D8 00327338 90 0D A8 C8 */ stw r0, lbl_805A9488@sda21(r13) -lbl_8032A3DC: -/* 8032A3DC 0032733C 80 6D A8 C8 */ lwz r3, lbl_805A9488@sda21(r13) -/* 8032A3E0 00327340 7F C4 F3 78 */ mr r4, r30 -/* 8032A3E4 00327344 48 04 27 11 */ bl sub_8036caf4 -/* 8032A3E8 00327348 80 01 04 34 */ lwz r0, 0x434(r1) -/* 8032A3EC 0032734C 83 E1 04 2C */ lwz r31, 0x42c(r1) -/* 8032A3F0 00327350 83 C1 04 28 */ lwz r30, 0x428(r1) -/* 8032A3F4 00327354 83 A1 04 24 */ lwz r29, 0x424(r1) -/* 8032A3F8 00327358 83 81 04 20 */ lwz r28, 0x420(r1) -/* 8032A3FC 0032735C 7C 08 03 A6 */ mtlr r0 -/* 8032A400 00327360 38 21 04 30 */ addi r1, r1, 0x430 -/* 8032A404 00327364 4E 80 00 20 */ blr - -.global "count,Q24rstl17rmemory_allocator>,Ui>__4rstlFQ24rstl94pointer_iterator,Q24rstl17rmemory_allocator>Q24rstl94pointer_iterator,Q24rstl17rmemory_allocator>RCUi" -"count,Q24rstl17rmemory_allocator>,Ui>__4rstlFQ24rstl94pointer_iterator,Q24rstl17rmemory_allocator>Q24rstl94pointer_iterator,Q24rstl17rmemory_allocator>RCUi": -/* 8032A408 00327368 39 00 00 00 */ li r8, 0 -/* 8032A40C 0032736C 48 00 00 24 */ b lbl_8032A430 -lbl_8032A410: -/* 8032A410 00327370 80 C5 00 00 */ lwz r6, 0(r5) -/* 8032A414 00327374 80 07 00 00 */ lwz r0, 0(r7) -/* 8032A418 00327378 7C 06 00 40 */ cmplw r6, r0 -/* 8032A41C 0032737C 40 82 00 08 */ bne lbl_8032A424 -/* 8032A420 00327380 39 08 00 01 */ addi r8, r8, 1 -lbl_8032A424: -/* 8032A424 00327384 80 C3 00 00 */ lwz r6, 0(r3) -/* 8032A428 00327388 38 06 00 04 */ addi r0, r6, 4 -/* 8032A42C 0032738C 90 03 00 00 */ stw r0, 0(r3) -lbl_8032A430: -/* 8032A430 00327390 80 E3 00 00 */ lwz r7, 0(r3) -/* 8032A434 00327394 80 04 00 00 */ lwz r0, 0(r4) -/* 8032A438 00327398 7C 07 00 40 */ cmplw r7, r0 -/* 8032A43C 0032739C 40 82 FF D4 */ bne lbl_8032A410 -/* 8032A440 003273A0 7D 03 43 78 */ mr r3, r8 -/* 8032A444 003273A4 4E 80 00 20 */ blr - -.global "count,Q24rstl17rmemory_allocator>,Ui>__4rstlFQ24rstl100const_pointer_iterator,Q24rstl17rmemory_allocator>Q24rstl100const_pointer_iterator,Q24rstl17rmemory_allocator>RCUi" -"count,Q24rstl17rmemory_allocator>,Ui>__4rstlFQ24rstl100const_pointer_iterator,Q24rstl17rmemory_allocator>Q24rstl100const_pointer_iterator,Q24rstl17rmemory_allocator>RCUi": -/* 8032A448 003273A8 39 00 00 00 */ li r8, 0 -/* 8032A44C 003273AC 48 00 00 24 */ b lbl_8032A470 -lbl_8032A450: -/* 8032A450 003273B0 80 C5 00 00 */ lwz r6, 0(r5) -/* 8032A454 003273B4 80 07 00 00 */ lwz r0, 0(r7) -/* 8032A458 003273B8 7C 06 00 40 */ cmplw r6, r0 -/* 8032A45C 003273BC 40 82 00 08 */ bne lbl_8032A464 -/* 8032A460 003273C0 39 08 00 01 */ addi r8, r8, 1 -lbl_8032A464: -/* 8032A464 003273C4 80 C3 00 00 */ lwz r6, 0(r3) -/* 8032A468 003273C8 38 06 00 04 */ addi r0, r6, 4 -/* 8032A46C 003273CC 90 03 00 00 */ stw r0, 0(r3) -lbl_8032A470: -/* 8032A470 003273D0 80 E3 00 00 */ lwz r7, 0(r3) -/* 8032A474 003273D4 80 04 00 00 */ lwz r0, 0(r4) -/* 8032A478 003273D8 7C 07 00 40 */ cmplw r7, r0 -/* 8032A47C 003273DC 40 82 FF D4 */ bne lbl_8032A450 -/* 8032A480 003273E0 7D 03 43 78 */ mr r3, r8 -/* 8032A484 003273E4 4E 80 00 20 */ blr - -.global sub_8032a488 -sub_8032a488: -/* 8032A488 003273E8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8032A48C 003273EC 7C 08 02 A6 */ mflr r0 -/* 8032A490 003273F0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8032A494 003273F4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8032A498 003273F8 93 C1 00 08 */ stw r30, 8(r1) -/* 8032A49C 003273FC 7C 7E 1B 78 */ mr r30, r3 -/* 8032A4A0 00327400 80 03 00 04 */ lwz r0, 4(r3) -/* 8032A4A4 00327404 83 E4 00 04 */ lwz r31, 4(r4) -/* 8032A4A8 00327408 7C 04 00 40 */ cmplw r4, r0 -/* 8032A4AC 0032740C 40 82 00 08 */ bne lbl_8032A4B4 -/* 8032A4B0 00327410 93 FE 00 04 */ stw r31, 4(r30) -lbl_8032A4B4: -/* 8032A4B4 00327414 80 04 00 04 */ lwz r0, 4(r4) -/* 8032A4B8 00327418 28 04 00 00 */ cmplwi r4, 0 -/* 8032A4BC 0032741C 80 64 00 00 */ lwz r3, 0(r4) -/* 8032A4C0 00327420 90 03 00 04 */ stw r0, 4(r3) -/* 8032A4C4 00327424 80 04 00 00 */ lwz r0, 0(r4) -/* 8032A4C8 00327428 80 64 00 04 */ lwz r3, 4(r4) -/* 8032A4CC 0032742C 90 03 00 00 */ stw r0, 0(r3) -/* 8032A4D0 00327430 41 82 00 0C */ beq lbl_8032A4DC -/* 8032A4D4 00327434 7C 83 23 78 */ mr r3, r4 -/* 8032A4D8 00327438 4B FE B4 59 */ bl Free__7CMemoryFPCv -lbl_8032A4DC: -/* 8032A4DC 0032743C 80 9E 00 14 */ lwz r4, 0x14(r30) -/* 8032A4E0 00327440 7F E3 FB 78 */ mr r3, r31 -/* 8032A4E4 00327444 38 04 FF FF */ addi r0, r4, -1 -/* 8032A4E8 00327448 90 1E 00 14 */ stw r0, 0x14(r30) -/* 8032A4EC 0032744C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8032A4F0 00327450 83 C1 00 08 */ lwz r30, 8(r1) -/* 8032A4F4 00327454 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8032A4F8 00327458 7C 08 03 A6 */ mtlr r0 -/* 8032A4FC 0032745C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8032A500 00327460 4E 80 00 20 */ blr - -.global __sinit_CElementGen_cpp -__sinit_CElementGen_cpp: -/* 8032A504 00327464 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8032A508 00327468 7C 08 02 A6 */ mflr r0 -/* 8032A50C 0032746C 3C 60 80 5A */ lis r3, lbl_805A673C@ha -/* 8032A510 00327470 3C 80 80 33 */ lis r4, sub_8032a558@ha -/* 8032A514 00327474 90 01 00 14 */ stw r0, 0x14(r1) -/* 8032A518 00327478 38 63 67 3C */ addi r3, r3, lbl_805A673C@l -/* 8032A51C 0032747C 38 C3 00 0C */ addi r6, r3, 0xc -/* 8032A520 00327480 38 00 00 00 */ li r0, 0 -/* 8032A524 00327484 3C A0 80 4C */ lis r5, lbl_804BFF00@ha -/* 8032A528 00327488 90 C3 00 04 */ stw r6, 4(r3) -/* 8032A52C 0032748C 38 84 A5 58 */ addi r4, r4, sub_8032a558@l -/* 8032A530 00327490 90 C3 00 08 */ stw r6, 8(r3) -/* 8032A534 00327494 38 A5 FF 00 */ addi r5, r5, lbl_804BFF00@l -/* 8032A538 00327498 90 C6 00 00 */ stw r6, 0(r6) -/* 8032A53C 0032749C 90 C3 00 10 */ stw r6, 0x10(r3) -/* 8032A540 003274A0 90 03 00 14 */ stw r0, 0x14(r3) -/* 8032A544 003274A4 48 05 F1 49 */ bl __register_global_object -/* 8032A548 003274A8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8032A54C 003274AC 7C 08 03 A6 */ mtlr r0 -/* 8032A550 003274B0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8032A554 003274B4 4E 80 00 20 */ blr - -.global sub_8032a558 -sub_8032a558: -/* 8032A558 003274B8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8032A55C 003274BC 7C 08 02 A6 */ mflr r0 -/* 8032A560 003274C0 90 01 00 24 */ stw r0, 0x24(r1) -/* 8032A564 003274C4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8032A568 003274C8 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8032A56C 003274CC 7C 9E 23 78 */ mr r30, r4 -/* 8032A570 003274D0 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8032A574 003274D4 7C 7D 1B 79 */ or. r29, r3, r3 -/* 8032A578 003274D8 41 82 00 38 */ beq lbl_8032A5B0 -/* 8032A57C 003274DC 83 FD 00 04 */ lwz r31, 4(r29) -/* 8032A580 003274E0 48 00 00 14 */ b lbl_8032A594 -lbl_8032A584: -/* 8032A584 003274E4 7F E3 FB 79 */ or. r3, r31, r31 -/* 8032A588 003274E8 83 FF 00 04 */ lwz r31, 4(r31) -/* 8032A58C 003274EC 41 82 00 08 */ beq lbl_8032A594 -/* 8032A590 003274F0 4B FE B3 A1 */ bl Free__7CMemoryFPCv -lbl_8032A594: -/* 8032A594 003274F4 80 1D 00 08 */ lwz r0, 8(r29) -/* 8032A598 003274F8 7C 1F 00 40 */ cmplw r31, r0 -/* 8032A59C 003274FC 40 82 FF E8 */ bne lbl_8032A584 -/* 8032A5A0 00327500 7F C0 07 35 */ extsh. r0, r30 -/* 8032A5A4 00327504 40 81 00 0C */ ble lbl_8032A5B0 -/* 8032A5A8 00327508 7F A3 EB 78 */ mr r3, r29 -/* 8032A5AC 0032750C 4B FE B3 85 */ bl Free__7CMemoryFPCv -lbl_8032A5B0: -/* 8032A5B0 00327510 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8032A5B4 00327514 7F A3 EB 78 */ mr r3, r29 -/* 8032A5B8 00327518 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8032A5BC 0032751C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8032A5C0 00327520 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8032A5C4 00327524 7C 08 03 A6 */ mtlr r0 -/* 8032A5C8 00327528 38 21 00 20 */ addi r1, r1, 0x20 -/* 8032A5CC 0032752C 4E 80 00 20 */ blr - -.global AddModifier__12CParticleGenFP5CWarp -AddModifier__12CParticleGenFP5CWarp: -/* 8032A5D0 00327530 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8032A5D4 00327534 7C 08 02 A6 */ mflr r0 -/* 8032A5D8 00327538 38 A0 00 00 */ li r5, 0 -/* 8032A5DC 0032753C 90 01 00 24 */ stw r0, 0x24(r1) -/* 8032A5E0 00327540 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8032A5E4 00327544 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8032A5E8 00327548 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8032A5EC 0032754C 7C 9D 23 78 */ mr r29, r4 -/* 8032A5F0 00327550 93 81 00 10 */ stw r28, 0x10(r1) -/* 8032A5F4 00327554 7C 7C 1B 78 */ mr r28, r3 -/* 8032A5F8 00327558 3C 60 80 3D */ lis r3, lbl_803D7920@ha -/* 8032A5FC 0032755C 83 FC 00 0C */ lwz r31, 0xc(r28) -/* 8032A600 00327560 38 03 79 20 */ addi r0, r3, lbl_803D7920@l -/* 8032A604 00327564 38 60 00 0C */ li r3, 0xc -/* 8032A608 00327568 83 DF 00 00 */ lwz r30, 0(r31) -/* 8032A60C 0032756C 7C 04 03 78 */ mr r4, r0 -/* 8032A610 00327570 4B FE B2 09 */ bl __nwa__FUlPCcPCc -/* 8032A614 00327574 28 03 00 00 */ cmplwi r3, 0 -/* 8032A618 00327578 41 82 00 0C */ beq lbl_8032A624 -/* 8032A61C 0032757C 93 C3 00 00 */ stw r30, 0(r3) -/* 8032A620 00327580 93 E3 00 04 */ stw r31, 4(r3) -lbl_8032A624: -/* 8032A624 00327584 34 83 00 08 */ addic. r4, r3, 8 -/* 8032A628 00327588 41 82 00 08 */ beq lbl_8032A630 -/* 8032A62C 0032758C 93 A4 00 00 */ stw r29, 0(r4) -lbl_8032A630: -/* 8032A630 00327590 80 1C 00 08 */ lwz r0, 8(r28) -/* 8032A634 00327594 7C 1F 00 40 */ cmplw r31, r0 -/* 8032A638 00327598 40 82 00 08 */ bne lbl_8032A640 -/* 8032A63C 0032759C 90 7C 00 08 */ stw r3, 8(r28) -lbl_8032A640: -/* 8032A640 003275A0 80 83 00 00 */ lwz r4, 0(r3) -/* 8032A644 003275A4 90 64 00 04 */ stw r3, 4(r4) -/* 8032A648 003275A8 80 83 00 04 */ lwz r4, 4(r3) -/* 8032A64C 003275AC 90 64 00 00 */ stw r3, 0(r4) -/* 8032A650 003275B0 80 7C 00 18 */ lwz r3, 0x18(r28) -/* 8032A654 003275B4 38 03 00 01 */ addi r0, r3, 1 -/* 8032A658 003275B8 90 1C 00 18 */ stw r0, 0x18(r28) -/* 8032A65C 003275BC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8032A660 003275C0 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8032A664 003275C4 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8032A668 003275C8 83 81 00 10 */ lwz r28, 0x10(r1) -/* 8032A66C 003275CC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8032A670 003275D0 7C 08 03 A6 */ mtlr r0 -/* 8032A674 003275D4 38 21 00 20 */ addi r1, r1, 0x20 -/* 8032A678 003275D8 4E 80 00 20 */ blr - -.global UpdateParticleLifetimeTweenValues__16CParticleGlobalsFi -UpdateParticleLifetimeTweenValues__16CParticleGlobalsFi: -/* 8032A67C 003275DC 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8032A680 003275E0 3C 00 43 30 */ lis r0, 0x4330 -/* 8032A684 003275E4 C8 22 CA 88 */ lfd f1, lbl_805AE7A8@sda21(r2) -/* 8032A688 003275E8 80 8D A8 D0 */ lwz r4, lbl_805A9490@sda21(r13) -/* 8032A68C 003275EC 90 01 00 08 */ stw r0, 8(r1) -/* 8032A690 003275F0 6C 84 80 00 */ xoris r4, r4, 0x8000 -/* 8032A694 003275F4 C0 42 CA 7C */ lfs f2, lbl_805AE79C@sda21(r2) -/* 8032A698 003275F8 90 81 00 0C */ stw r4, 0xc(r1) -/* 8032A69C 003275FC C8 01 00 08 */ lfd f0, 8(r1) -/* 8032A6A0 00327600 EC 00 08 28 */ fsubs f0, f0, f1 -/* 8032A6A4 00327604 FC 02 00 00 */ fcmpu cr0, f2, f0 -/* 8032A6A8 00327608 41 82 00 18 */ beq lbl_8032A6C0 -/* 8032A6AC 0032760C 90 81 00 14 */ stw r4, 0x14(r1) -/* 8032A6B0 00327610 90 01 00 10 */ stw r0, 0x10(r1) -/* 8032A6B4 00327614 C8 01 00 10 */ lfd f0, 0x10(r1) -/* 8032A6B8 00327618 EC 60 08 28 */ fsubs f3, f0, f1 -/* 8032A6BC 0032761C 48 00 00 08 */ b lbl_8032A6C4 -lbl_8032A6C0: -/* 8032A6C0 00327620 C0 62 CA 78 */ lfs f3, lbl_805AE798@sda21(r2) -lbl_8032A6C4: -/* 8032A6C4 00327624 3C 00 43 30 */ lis r0, 0x4330 -/* 8032A6C8 00327628 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 8032A6CC 0032762C 90 61 00 1C */ stw r3, 0x1c(r1) -/* 8032A6D0 00327630 C8 42 CA 88 */ lfd f2, lbl_805AE7A8@sda21(r2) -/* 8032A6D4 00327634 90 01 00 18 */ stw r0, 0x18(r1) -/* 8032A6D8 00327638 C0 22 CA 80 */ lfs f1, lbl_805AE7A0@sda21(r2) -/* 8032A6DC 0032763C C8 01 00 18 */ lfd f0, 0x18(r1) -/* 8032A6E0 00327640 90 01 00 28 */ stw r0, 0x28(r1) -/* 8032A6E4 00327644 EC 00 10 28 */ fsubs f0, f0, f2 -/* 8032A6E8 00327648 EC 01 00 32 */ fmuls f0, f1, f0 -/* 8032A6EC 0032764C EC 20 18 24 */ fdivs f1, f0, f3 -/* 8032A6F0 00327650 FC 00 08 1E */ fctiwz f0, f1 -/* 8032A6F4 00327654 D0 2D A8 E4 */ stfs f1, lbl_805A94A4@sda21(r13) -/* 8032A6F8 00327658 D8 01 00 20 */ stfd f0, 0x20(r1) -/* 8032A6FC 0032765C 80 61 00 24 */ lwz r3, 0x24(r1) -/* 8032A700 00327660 6C 60 80 00 */ xoris r0, r3, 0x8000 -/* 8032A704 00327664 2C 03 00 00 */ cmpwi r3, 0 -/* 8032A708 00327668 90 01 00 2C */ stw r0, 0x2c(r1) -/* 8032A70C 0032766C C8 01 00 28 */ lfd f0, 0x28(r1) -/* 8032A710 00327670 90 6D A8 E0 */ stw r3, lbl_805A94A0@sda21(r13) -/* 8032A714 00327674 EC 00 10 28 */ fsubs f0, f0, f2 -/* 8032A718 00327678 EC 01 00 28 */ fsubs f0, f1, f0 -/* 8032A71C 0032767C D0 0D A8 E8 */ stfs f0, lbl_805A94A8@sda21(r13) -/* 8032A720 00327680 40 80 00 10 */ bge lbl_8032A730 -/* 8032A724 00327684 38 00 00 00 */ li r0, 0 -/* 8032A728 00327688 90 0D A8 E0 */ stw r0, lbl_805A94A0@sda21(r13) -/* 8032A72C 0032768C 48 00 00 14 */ b lbl_8032A740 -lbl_8032A730: -/* 8032A730 00327690 2C 03 00 64 */ cmpwi r3, 0x64 -/* 8032A734 00327694 40 81 00 0C */ ble lbl_8032A740 -/* 8032A738 00327698 38 00 00 64 */ li r0, 0x64 -/* 8032A73C 0032769C 90 0D A8 E0 */ stw r0, lbl_805A94A0@sda21(r13) -lbl_8032A740: -/* 8032A740 003276A0 38 21 00 30 */ addi r1, r1, 0x30 -/* 8032A744 003276A4 4E 80 00 20 */ blr - -.global SetEmitterTime__16CParticleGlobalsFi -SetEmitterTime__16CParticleGlobalsFi: -/* 8032A748 003276A8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8032A74C 003276AC 6C 64 80 00 */ xoris r4, r3, 0x8000 -/* 8032A750 003276B0 3C 00 43 30 */ lis r0, 0x4330 -/* 8032A754 003276B4 C8 22 CA 88 */ lfd f1, lbl_805AE7A8@sda21(r2) -/* 8032A758 003276B8 90 81 00 0C */ stw r4, 0xc(r1) -/* 8032A75C 003276BC 90 01 00 08 */ stw r0, 8(r1) -/* 8032A760 003276C0 C8 01 00 08 */ lfd f0, 8(r1) -/* 8032A764 003276C4 90 6D A8 D8 */ stw r3, lbl_805A9498@sda21(r13) -/* 8032A768 003276C8 EC 00 08 28 */ fsubs f0, f0, f1 -/* 8032A76C 003276CC D0 0D A8 DC */ stfs f0, lbl_805A949C@sda21(r13) -/* 8032A770 003276D0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8032A774 003276D4 4E 80 00 20 */ blr - -.global SetParticleLifetime__16CParticleGlobalsFi -SetParticleLifetime__16CParticleGlobalsFi: -/* 8032A778 003276D8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8032A77C 003276DC 6C 64 80 00 */ xoris r4, r3, 0x8000 -/* 8032A780 003276E0 3C 00 43 30 */ lis r0, 0x4330 -/* 8032A784 003276E4 C8 22 CA 88 */ lfd f1, lbl_805AE7A8@sda21(r2) -/* 8032A788 003276E8 90 81 00 0C */ stw r4, 0xc(r1) -/* 8032A78C 003276EC 90 01 00 08 */ stw r0, 8(r1) -/* 8032A790 003276F0 C8 01 00 08 */ lfd f0, 8(r1) -/* 8032A794 003276F4 90 6D A8 D0 */ stw r3, lbl_805A9490@sda21(r13) -/* 8032A798 003276F8 EC 00 08 28 */ fsubs f0, f0, f1 -/* 8032A79C 003276FC D0 0D A8 D4 */ stfs f0, lbl_805A9494@sda21(r13) -/* 8032A7A0 00327700 38 21 00 10 */ addi r1, r1, 0x10 -/* 8032A7A4 00327704 4E 80 00 20 */ blr - -.global GetTranslation__15CParticleSwooshCFv -GetTranslation__15CParticleSwooshCFv: -/* 8032A7A8 00327708 38 63 00 38 */ addi r3, r3, 0x38 -/* 8032A7AC 0032770C 4E 80 00 20 */ blr - -.global GetGlobalTranslation__15CParticleSwooshCFv -GetGlobalTranslation__15CParticleSwooshCFv: -/* 8032A7B0 00327710 38 63 00 A4 */ addi r3, r3, 0xa4 -/* 8032A7B4 00327714 4E 80 00 20 */ blr - -.global GetGlobalOrientation__15CParticleSwooshCFv -GetGlobalOrientation__15CParticleSwooshCFv: -/* 8032A7B8 00327718 38 63 00 B0 */ addi r3, r3, 0xb0 -/* 8032A7BC 0032771C 4E 80 00 20 */ blr - -.global GetGlobalScale__15CParticleSwooshCFv -GetGlobalScale__15CParticleSwooshCFv: -/* 8032A7C0 00327720 38 63 00 E0 */ addi r3, r3, 0xe0 -/* 8032A7C4 00327724 4E 80 00 20 */ blr - -.global GetOrientation__15CParticleSwooshCFv -GetOrientation__15CParticleSwooshCFv: -/* 8032A7C8 00327728 38 63 00 44 */ addi r3, r3, 0x44 -/* 8032A7CC 0032772C 4E 80 00 20 */ blr - -.global GetParticleEmission__15CParticleSwooshCFv -GetParticleEmission__15CParticleSwooshCFv: -/* 8032A7D0 00327730 88 03 01 D0 */ lbz r0, 0x1d0(r3) -/* 8032A7D4 00327734 54 03 CF FE */ rlwinm r3, r0, 0x19, 0x1f, 0x1f -/* 8032A7D8 00327738 4E 80 00 20 */ blr - -.global DestroyParticles__15CParticleSwooshFv -DestroyParticles__15CParticleSwooshFv: -/* 8032A7DC 0032773C 4E 80 00 20 */ blr - -.global SystemHasLight__15CParticleSwooshCFv -SystemHasLight__15CParticleSwooshCFv: -/* 8032A7E0 00327740 38 60 00 00 */ li r3, 0 -/* 8032A7E4 00327744 4E 80 00 20 */ blr - -.global SetGlobalScale__15CParticleSwooshFRC9CVector3f -SetGlobalScale__15CParticleSwooshFRC9CVector3f: -/* 8032A7E8 00327748 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 8032A7EC 0032774C 7C 08 02 A6 */ mflr r0 -/* 8032A7F0 00327750 90 01 00 74 */ stw r0, 0x74(r1) -/* 8032A7F4 00327754 93 E1 00 6C */ stw r31, 0x6c(r1) -/* 8032A7F8 00327758 7C 9F 23 78 */ mr r31, r4 -/* 8032A7FC 0032775C 93 C1 00 68 */ stw r30, 0x68(r1) -/* 8032A800 00327760 7C 7E 1B 78 */ mr r30, r3 -/* 8032A804 00327764 38 61 00 38 */ addi r3, r1, 0x38 -/* 8032A808 00327768 C0 04 00 00 */ lfs f0, 0(r4) -/* 8032A80C 0032776C D0 1E 00 E0 */ stfs f0, 0xe0(r30) -/* 8032A810 00327770 C0 04 00 04 */ lfs f0, 4(r4) -/* 8032A814 00327774 D0 1E 00 E4 */ stfs f0, 0xe4(r30) -/* 8032A818 00327778 C0 04 00 08 */ lfs f0, 8(r4) -/* 8032A81C 0032777C D0 1E 00 E8 */ stfs f0, 0xe8(r30) -/* 8032A820 00327780 4B FE 89 A5 */ bl Scale__12CTransform4fFRC9CVector3f -/* 8032A824 00327784 38 7E 00 EC */ addi r3, r30, 0xec -/* 8032A828 00327788 38 81 00 38 */ addi r4, r1, 0x38 -/* 8032A82C 0032778C 4B FE 83 15 */ bl __as__12CTransform4fFRC12CTransform4f -/* 8032A830 00327790 C0 62 CA 90 */ lfs f3, lbl_805AE7B0@sda21(r2) -/* 8032A834 00327794 38 61 00 08 */ addi r3, r1, 8 -/* 8032A838 00327798 C0 3F 00 00 */ lfs f1, 0(r31) -/* 8032A83C 0032779C C0 5F 00 04 */ lfs f2, 4(r31) -/* 8032A840 003277A0 C0 1F 00 08 */ lfs f0, 8(r31) -/* 8032A844 003277A4 EC 23 08 24 */ fdivs f1, f3, f1 -/* 8032A848 003277A8 EC 43 10 24 */ fdivs f2, f3, f2 -/* 8032A84C 003277AC EC 63 00 24 */ fdivs f3, f3, f0 -/* 8032A850 003277B0 4B FE 89 B9 */ bl Scale__12CTransform4fFfff -/* 8032A854 003277B4 38 7E 01 1C */ addi r3, r30, 0x11c -/* 8032A858 003277B8 38 81 00 08 */ addi r4, r1, 8 -/* 8032A85C 003277BC 4B FE 82 E5 */ bl __as__12CTransform4fFRC12CTransform4f -/* 8032A860 003277C0 80 01 00 74 */ lwz r0, 0x74(r1) -/* 8032A864 003277C4 83 E1 00 6C */ lwz r31, 0x6c(r1) -/* 8032A868 003277C8 83 C1 00 68 */ lwz r30, 0x68(r1) -/* 8032A86C 003277CC 7C 08 03 A6 */ mtlr r0 -/* 8032A870 003277D0 38 21 00 70 */ addi r1, r1, 0x70 -/* 8032A874 003277D4 4E 80 00 20 */ blr - -.global UpdateSwooshTranslation__15CParticleSwooshFRC9CVector3f -UpdateSwooshTranslation__15CParticleSwooshFRC9CVector3f: -/* 8032A878 003277D8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8032A87C 003277DC 7C 08 02 A6 */ mflr r0 -/* 8032A880 003277E0 7C 85 23 78 */ mr r5, r4 -/* 8032A884 003277E4 90 01 00 24 */ stw r0, 0x24(r1) -/* 8032A888 003277E8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8032A88C 003277EC 7C 7F 1B 78 */ mr r31, r3 -/* 8032A890 003277F0 38 61 00 08 */ addi r3, r1, 8 -/* 8032A894 003277F4 38 9F 01 1C */ addi r4, r31, 0x11c -/* 8032A898 003277F8 4B FE 82 51 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 8032A89C 003277FC 80 1F 01 58 */ lwz r0, 0x158(r31) -/* 8032A8A0 00327800 80 9F 01 68 */ lwz r4, 0x168(r31) -/* 8032A8A4 00327804 54 03 38 30 */ slwi r3, r0, 7 -/* 8032A8A8 00327808 C0 01 00 08 */ lfs f0, 8(r1) -/* 8032A8AC 0032780C 38 63 00 0C */ addi r3, r3, 0xc -/* 8032A8B0 00327810 7C 64 1A 14 */ add r3, r4, r3 -/* 8032A8B4 00327814 D0 03 00 00 */ stfs f0, 0(r3) -/* 8032A8B8 00327818 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 8032A8BC 0032781C D0 03 00 04 */ stfs f0, 4(r3) -/* 8032A8C0 00327820 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 8032A8C4 00327824 D0 03 00 08 */ stfs f0, 8(r3) -/* 8032A8C8 00327828 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8032A8CC 0032782C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8032A8D0 00327830 7C 08 03 A6 */ mtlr r0 -/* 8032A8D4 00327834 38 21 00 20 */ addi r1, r1, 0x20 -/* 8032A8D8 00327838 4E 80 00 20 */ blr - -.global Get4CharId__15CParticleSwooshCF -Get4CharId__15CParticleSwooshCF: -/* 8032A8DC 0032783C 3C 60 53 57 */ lis r3, 0x53574843@ha -/* 8032A8E0 00327840 38 63 48 43 */ addi r3, r3, 0x53574843@l -/* 8032A8E4 00327844 4E 80 00 20 */ blr - -.global GetLight__15CParticleSwooshCFv -GetLight__15CParticleSwooshCFv: -/* 8032A8E8 00327848 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8032A8EC 0032784C 7C 08 02 A6 */ mflr r0 -/* 8032A8F0 00327850 90 01 00 14 */ stw r0, 0x14(r1) -/* 8032A8F4 00327854 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8032A8F8 00327858 7C 7F 1B 78 */ mr r31, r3 -/* 8032A8FC 0032785C 48 01 F6 B1 */ bl White__6CColorFv -/* 8032A900 00327860 3C 80 80 5A */ lis r4, skZero3f@ha -/* 8032A904 00327864 7C 65 1B 78 */ mr r5, r3 -/* 8032A908 00327868 38 84 66 A0 */ addi r4, r4, skZero3f@l -/* 8032A90C 0032786C 7F E3 FB 78 */ mr r3, r31 -/* 8032A910 00327870 4B FD BB 95 */ bl BuildLocalAmbient__6CLightFRC9CVector3fRC6CColor -/* 8032A914 00327874 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8032A918 00327878 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8032A91C 0032787C 7C 08 03 A6 */ mtlr r0 -/* 8032A920 00327880 38 21 00 10 */ addi r1, r1, 0x10 -/* 8032A924 00327884 4E 80 00 20 */ blr - -.global UpdateMaxRadius__15CParticleSwooshFf -UpdateMaxRadius__15CParticleSwooshFf: -/* 8032A928 00327888 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8032A92C 0032788C FC 00 08 18 */ frsp f0, f1 -/* 8032A930 00327890 D0 21 00 08 */ stfs f1, 8(r1) -/* 8032A934 00327894 C0 23 02 08 */ lfs f1, 0x208(r3) -/* 8032A938 00327898 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8032A93C 0032789C 40 80 00 0C */ bge lbl_8032A948 -/* 8032A940 003278A0 38 81 00 08 */ addi r4, r1, 8 -/* 8032A944 003278A4 48 00 00 08 */ b lbl_8032A94C -lbl_8032A948: -/* 8032A948 003278A8 38 83 02 08 */ addi r4, r3, 0x208 -lbl_8032A94C: -/* 8032A94C 003278AC C0 04 00 00 */ lfs f0, 0(r4) -/* 8032A950 003278B0 D0 03 02 08 */ stfs f0, 0x208(r3) -/* 8032A954 003278B4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8032A958 003278B8 4E 80 00 20 */ blr - -.global UpdateBounds__15CParticleSwooshFRC9CVector3f -UpdateBounds__15CParticleSwooshFRC9CVector3f: -/* 8032A95C 003278BC 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8032A960 003278C0 C0 03 02 04 */ lfs f0, 0x204(r3) -/* 8032A964 003278C4 C0 24 00 08 */ lfs f1, 8(r4) -/* 8032A968 003278C8 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 8032A96C 003278CC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8032A970 003278D0 D0 21 00 24 */ stfs f1, 0x24(r1) -/* 8032A974 003278D4 40 80 00 0C */ bge lbl_8032A980 -/* 8032A978 003278D8 38 A1 00 20 */ addi r5, r1, 0x20 -/* 8032A97C 003278DC 48 00 00 08 */ b lbl_8032A984 -lbl_8032A980: -/* 8032A980 003278E0 38 A1 00 24 */ addi r5, r1, 0x24 -lbl_8032A984: -/* 8032A984 003278E4 C0 03 02 00 */ lfs f0, 0x200(r3) -/* 8032A988 003278E8 C0 24 00 04 */ lfs f1, 4(r4) -/* 8032A98C 003278EC C0 45 00 00 */ lfs f2, 0(r5) -/* 8032A990 003278F0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8032A994 003278F4 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 8032A998 003278F8 D0 21 00 2C */ stfs f1, 0x2c(r1) -/* 8032A99C 003278FC 40 80 00 0C */ bge lbl_8032A9A8 -/* 8032A9A0 00327900 38 A1 00 28 */ addi r5, r1, 0x28 -/* 8032A9A4 00327904 48 00 00 08 */ b lbl_8032A9AC -lbl_8032A9A8: -/* 8032A9A8 00327908 38 A1 00 2C */ addi r5, r1, 0x2c -lbl_8032A9AC: -/* 8032A9AC 0032790C C0 03 01 FC */ lfs f0, 0x1fc(r3) -/* 8032A9B0 00327910 C0 64 00 00 */ lfs f3, 0(r4) -/* 8032A9B4 00327914 C0 25 00 00 */ lfs f1, 0(r5) -/* 8032A9B8 00327918 FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 8032A9BC 0032791C D0 01 00 30 */ stfs f0, 0x30(r1) -/* 8032A9C0 00327920 D0 61 00 34 */ stfs f3, 0x34(r1) -/* 8032A9C4 00327924 40 80 00 0C */ bge lbl_8032A9D0 -/* 8032A9C8 00327928 38 A1 00 30 */ addi r5, r1, 0x30 -/* 8032A9CC 0032792C 48 00 00 08 */ b lbl_8032A9D4 -lbl_8032A9D0: -/* 8032A9D0 00327930 38 A1 00 34 */ addi r5, r1, 0x34 -lbl_8032A9D4: -/* 8032A9D4 00327934 C0 05 00 00 */ lfs f0, 0(r5) -/* 8032A9D8 00327938 D0 03 01 FC */ stfs f0, 0x1fc(r3) -/* 8032A9DC 0032793C D0 23 02 00 */ stfs f1, 0x200(r3) -/* 8032A9E0 00327940 D0 43 02 04 */ stfs f2, 0x204(r3) -/* 8032A9E4 00327944 C0 03 01 F8 */ lfs f0, 0x1f8(r3) -/* 8032A9E8 00327948 C0 24 00 08 */ lfs f1, 8(r4) -/* 8032A9EC 0032794C D0 01 00 08 */ stfs f0, 8(r1) -/* 8032A9F0 00327950 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 8032A9F4 00327954 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 8032A9F8 00327958 40 80 00 0C */ bge lbl_8032AA04 -/* 8032A9FC 0032795C 38 A1 00 08 */ addi r5, r1, 8 -/* 8032AA00 00327960 48 00 00 08 */ b lbl_8032AA08 -lbl_8032AA04: -/* 8032AA04 00327964 38 A1 00 0C */ addi r5, r1, 0xc -lbl_8032AA08: -/* 8032AA08 00327968 C0 03 01 F4 */ lfs f0, 0x1f4(r3) -/* 8032AA0C 0032796C C0 24 00 04 */ lfs f1, 4(r4) -/* 8032AA10 00327970 C0 45 00 00 */ lfs f2, 0(r5) -/* 8032AA14 00327974 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 8032AA18 00327978 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 8032AA1C 0032797C D0 21 00 14 */ stfs f1, 0x14(r1) -/* 8032AA20 00327980 40 80 00 0C */ bge lbl_8032AA2C -/* 8032AA24 00327984 38 A1 00 10 */ addi r5, r1, 0x10 -/* 8032AA28 00327988 48 00 00 08 */ b lbl_8032AA30 -lbl_8032AA2C: -/* 8032AA2C 0032798C 38 A1 00 14 */ addi r5, r1, 0x14 -lbl_8032AA30: -/* 8032AA30 00327990 C0 03 01 F0 */ lfs f0, 0x1f0(r3) -/* 8032AA34 00327994 C0 64 00 00 */ lfs f3, 0(r4) -/* 8032AA38 00327998 C0 25 00 00 */ lfs f1, 0(r5) -/* 8032AA3C 0032799C FC 00 18 40 */ fcmpo cr0, f0, f3 -/* 8032AA40 003279A0 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 8032AA44 003279A4 D0 61 00 1C */ stfs f3, 0x1c(r1) -/* 8032AA48 003279A8 40 80 00 0C */ bge lbl_8032AA54 -/* 8032AA4C 003279AC 38 81 00 18 */ addi r4, r1, 0x18 -/* 8032AA50 003279B0 48 00 00 08 */ b lbl_8032AA58 -lbl_8032AA54: -/* 8032AA54 003279B4 38 81 00 1C */ addi r4, r1, 0x1c -lbl_8032AA58: -/* 8032AA58 003279B8 C0 04 00 00 */ lfs f0, 0(r4) -/* 8032AA5C 003279BC D0 03 01 F0 */ stfs f0, 0x1f0(r3) -/* 8032AA60 003279C0 D0 23 01 F4 */ stfs f1, 0x1f4(r3) -/* 8032AA64 003279C4 D0 43 01 F8 */ stfs f2, 0x1f8(r3) -/* 8032AA68 003279C8 38 21 00 40 */ addi r1, r1, 0x40 -/* 8032AA6C 003279CC 4E 80 00 20 */ blr - -.global GetBounds__15CParticleSwooshCFv -GetBounds__15CParticleSwooshCFv: -/* 8032AA70 003279D0 94 21 FE E0 */ stwu r1, -0x120(r1) -/* 8032AA74 003279D4 7C 08 02 A6 */ mflr r0 -/* 8032AA78 003279D8 90 01 01 24 */ stw r0, 0x124(r1) -/* 8032AA7C 003279DC 93 E1 01 1C */ stw r31, 0x11c(r1) -/* 8032AA80 003279E0 7C 9F 23 78 */ mr r31, r4 -/* 8032AA84 003279E4 93 C1 01 18 */ stw r30, 0x118(r1) -/* 8032AA88 003279E8 7C 7E 1B 78 */ mr r30, r3 -/* 8032AA8C 003279EC 7F E3 FB 78 */ mr r3, r31 -/* 8032AA90 003279F0 81 9F 00 00 */ lwz r12, 0(r31) -/* 8032AA94 003279F4 81 8C 00 60 */ lwz r12, 0x60(r12) -/* 8032AA98 003279F8 7D 89 03 A6 */ mtctr r12 -/* 8032AA9C 003279FC 4E 80 04 21 */ bctrl -/* 8032AAA0 00327A00 2C 03 00 01 */ cmpwi r3, 1 -/* 8032AAA4 00327A04 41 81 00 94 */ bgt lbl_8032AB38 -/* 8032AAA8 00327A08 C0 3F 00 3C */ lfs f1, 0x3c(r31) -/* 8032AAAC 00327A0C 38 61 00 68 */ addi r3, r1, 0x68 -/* 8032AAB0 00327A10 C0 1F 00 A8 */ lfs f0, 0xa8(r31) -/* 8032AAB4 00327A14 38 81 00 2C */ addi r4, r1, 0x2c -/* 8032AAB8 00327A18 C0 5F 00 40 */ lfs f2, 0x40(r31) -/* 8032AABC 00327A1C 38 A1 00 20 */ addi r5, r1, 0x20 -/* 8032AAC0 00327A20 EC 61 00 2A */ fadds f3, f1, f0 -/* 8032AAC4 00327A24 C0 1F 00 AC */ lfs f0, 0xac(r31) -/* 8032AAC8 00327A28 C0 3F 00 38 */ lfs f1, 0x38(r31) -/* 8032AACC 00327A2C EC 42 00 2A */ fadds f2, f2, f0 -/* 8032AAD0 00327A30 C0 1F 00 A4 */ lfs f0, 0xa4(r31) -/* 8032AAD4 00327A34 D0 61 00 24 */ stfs f3, 0x24(r1) -/* 8032AAD8 00327A38 EC 01 00 2A */ fadds f0, f1, f0 -/* 8032AADC 00327A3C D0 41 00 28 */ stfs f2, 0x28(r1) -/* 8032AAE0 00327A40 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 8032AAE4 00327A44 D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 8032AAE8 00327A48 D0 61 00 30 */ stfs f3, 0x30(r1) -/* 8032AAEC 00327A4C D0 41 00 34 */ stfs f2, 0x34(r1) -/* 8032AAF0 00327A50 48 00 DA 19 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 8032AAF4 00327A54 38 00 00 01 */ li r0, 1 -/* 8032AAF8 00327A58 28 1E 00 00 */ cmplwi r30, 0 -/* 8032AAFC 00327A5C 98 1E 00 18 */ stb r0, 0x18(r30) -/* 8032AB00 00327A60 41 82 01 10 */ beq lbl_8032AC10 -/* 8032AB04 00327A64 C0 01 00 68 */ lfs f0, 0x68(r1) -/* 8032AB08 00327A68 D0 1E 00 00 */ stfs f0, 0(r30) -/* 8032AB0C 00327A6C C0 01 00 6C */ lfs f0, 0x6c(r1) -/* 8032AB10 00327A70 D0 1E 00 04 */ stfs f0, 4(r30) -/* 8032AB14 00327A74 C0 01 00 70 */ lfs f0, 0x70(r1) -/* 8032AB18 00327A78 D0 1E 00 08 */ stfs f0, 8(r30) -/* 8032AB1C 00327A7C C0 01 00 74 */ lfs f0, 0x74(r1) -/* 8032AB20 00327A80 D0 1E 00 0C */ stfs f0, 0xc(r30) -/* 8032AB24 00327A84 C0 01 00 78 */ lfs f0, 0x78(r1) -/* 8032AB28 00327A88 D0 1E 00 10 */ stfs f0, 0x10(r30) -/* 8032AB2C 00327A8C C0 01 00 7C */ lfs f0, 0x7c(r1) -/* 8032AB30 00327A90 D0 1E 00 14 */ stfs f0, 0x14(r30) -/* 8032AB34 00327A94 48 00 00 DC */ b lbl_8032AC10 -lbl_8032AB38: -/* 8032AB38 00327A98 C0 DF 02 08 */ lfs f6, 0x208(r31) -/* 8032AB3C 00327A9C 38 61 00 80 */ addi r3, r1, 0x80 -/* 8032AB40 00327AA0 C0 5F 02 00 */ lfs f2, 0x200(r31) -/* 8032AB44 00327AA4 38 9F 00 A4 */ addi r4, r31, 0xa4 -/* 8032AB48 00327AA8 C0 3F 02 04 */ lfs f1, 0x204(r31) -/* 8032AB4C 00327AAC C0 1F 01 FC */ lfs f0, 0x1fc(r31) -/* 8032AB50 00327AB0 EC A2 30 2A */ fadds f5, f2, f6 -/* 8032AB54 00327AB4 C0 5F 01 F4 */ lfs f2, 0x1f4(r31) -/* 8032AB58 00327AB8 EC 81 30 2A */ fadds f4, f1, f6 -/* 8032AB5C 00327ABC C0 3F 01 F8 */ lfs f1, 0x1f8(r31) -/* 8032AB60 00327AC0 EC 60 30 2A */ fadds f3, f0, f6 -/* 8032AB64 00327AC4 C0 1F 01 F0 */ lfs f0, 0x1f0(r31) -/* 8032AB68 00327AC8 EC 42 30 28 */ fsubs f2, f2, f6 -/* 8032AB6C 00327ACC D0 A1 00 0C */ stfs f5, 0xc(r1) -/* 8032AB70 00327AD0 EC 21 30 28 */ fsubs f1, f1, f6 -/* 8032AB74 00327AD4 EC 00 30 28 */ fsubs f0, f0, f6 -/* 8032AB78 00327AD8 D0 61 00 08 */ stfs f3, 8(r1) -/* 8032AB7C 00327ADC D0 81 00 10 */ stfs f4, 0x10(r1) -/* 8032AB80 00327AE0 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 8032AB84 00327AE4 D0 41 00 18 */ stfs f2, 0x18(r1) -/* 8032AB88 00327AE8 D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 8032AB8C 00327AEC 4B FE 85 B5 */ bl Translate__12CTransform4fFRC9CVector3f -/* 8032AB90 00327AF0 38 61 00 B0 */ addi r3, r1, 0xb0 -/* 8032AB94 00327AF4 38 81 00 80 */ addi r4, r1, 0x80 -/* 8032AB98 00327AF8 38 BF 00 B0 */ addi r5, r31, 0xb0 -/* 8032AB9C 00327AFC 4B FE 7D B5 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 8032ABA0 00327B00 38 61 00 E0 */ addi r3, r1, 0xe0 -/* 8032ABA4 00327B04 38 81 00 B0 */ addi r4, r1, 0xb0 -/* 8032ABA8 00327B08 38 BF 00 EC */ addi r5, r31, 0xec -/* 8032ABAC 00327B0C 4B FE 7D A5 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 8032ABB0 00327B10 38 61 00 38 */ addi r3, r1, 0x38 -/* 8032ABB4 00327B14 38 81 00 14 */ addi r4, r1, 0x14 -/* 8032ABB8 00327B18 38 A1 00 08 */ addi r5, r1, 8 -/* 8032ABBC 00327B1C 48 00 D9 4D */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 8032ABC0 00327B20 7C 64 1B 78 */ mr r4, r3 -/* 8032ABC4 00327B24 38 61 00 50 */ addi r3, r1, 0x50 -/* 8032ABC8 00327B28 38 A1 00 E0 */ addi r5, r1, 0xe0 -/* 8032ABCC 00327B2C 48 00 CD 31 */ bl GetTransformedAABox__6CAABoxCFRC12CTransform4f -/* 8032ABD0 00327B30 38 00 00 01 */ li r0, 1 -/* 8032ABD4 00327B34 28 1E 00 00 */ cmplwi r30, 0 -/* 8032ABD8 00327B38 98 1E 00 18 */ stb r0, 0x18(r30) -/* 8032ABDC 00327B3C 41 82 00 34 */ beq lbl_8032AC10 -/* 8032ABE0 00327B40 C0 01 00 50 */ lfs f0, 0x50(r1) -/* 8032ABE4 00327B44 D0 1E 00 00 */ stfs f0, 0(r30) -/* 8032ABE8 00327B48 C0 01 00 54 */ lfs f0, 0x54(r1) -/* 8032ABEC 00327B4C D0 1E 00 04 */ stfs f0, 4(r30) -/* 8032ABF0 00327B50 C0 01 00 58 */ lfs f0, 0x58(r1) -/* 8032ABF4 00327B54 D0 1E 00 08 */ stfs f0, 8(r30) -/* 8032ABF8 00327B58 C0 01 00 5C */ lfs f0, 0x5c(r1) -/* 8032ABFC 00327B5C D0 1E 00 0C */ stfs f0, 0xc(r30) -/* 8032AC00 00327B60 C0 01 00 60 */ lfs f0, 0x60(r1) -/* 8032AC04 00327B64 D0 1E 00 10 */ stfs f0, 0x10(r30) -/* 8032AC08 00327B68 C0 01 00 64 */ lfs f0, 0x64(r1) -/* 8032AC0C 00327B6C D0 1E 00 14 */ stfs f0, 0x14(r30) -lbl_8032AC10: -/* 8032AC10 00327B70 80 01 01 24 */ lwz r0, 0x124(r1) -/* 8032AC14 00327B74 83 E1 01 1C */ lwz r31, 0x11c(r1) -/* 8032AC18 00327B78 83 C1 01 18 */ lwz r30, 0x118(r1) -/* 8032AC1C 00327B7C 7C 08 03 A6 */ mtlr r0 -/* 8032AC20 00327B80 38 21 01 20 */ addi r1, r1, 0x120 -/* 8032AC24 00327B84 4E 80 00 20 */ blr - -.global GetSplinePoint__15CParticleSwooshCFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ff -GetSplinePoint__15CParticleSwooshCFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ff: -/* 8032AC28 00327B88 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 8032AC2C 00327B8C DB E1 00 60 */ stfd f31, 0x60(r1) -/* 8032AC30 00327B90 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 -/* 8032AC34 00327B94 DB C1 00 50 */ stfd f30, 0x50(r1) -/* 8032AC38 00327B98 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 -/* 8032AC3C 00327B9C DB A1 00 40 */ stfd f29, 0x40(r1) -/* 8032AC40 00327BA0 F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0 -/* 8032AC44 00327BA4 DB 81 00 30 */ stfd f28, 0x30(r1) -/* 8032AC48 00327BA8 F3 81 00 38 */ psq_st f28, 56(r1), 0, qr0 -/* 8032AC4C 00327BAC DB 61 00 20 */ stfd f27, 0x20(r1) -/* 8032AC50 00327BB0 F3 61 00 28 */ psq_st f27, 40(r1), 0, qr0 -/* 8032AC54 00327BB4 DB 41 00 10 */ stfd f26, 0x10(r1) -/* 8032AC58 00327BB8 F3 41 00 18 */ psq_st f26, 24(r1), 0, qr0 -/* 8032AC5C 00327BBC C0 42 CA 94 */ lfs f2, lbl_805AE7B4@sda21(r2) -/* 8032AC60 00327BC0 C3 A6 00 00 */ lfs f29, 0(r6) -/* 8032AC64 00327BC4 FC 01 10 40 */ fcmpo cr0, f1, f2 -/* 8032AC68 00327BC8 C0 06 00 04 */ lfs f0, 4(r6) -/* 8032AC6C 00327BCC C0 46 00 08 */ lfs f2, 8(r6) -/* 8032AC70 00327BD0 4C 40 13 82 */ cror 2, 0, 2 -/* 8032AC74 00327BD4 41 82 00 E4 */ beq lbl_8032AD58 -/* 8032AC78 00327BD8 C1 A2 CA 90 */ lfs f13, lbl_805AE7B0@sda21(r2) -/* 8032AC7C 00327BDC FC 01 68 40 */ fcmpo cr0, f1, f13 -/* 8032AC80 00327BE0 4C 41 13 82 */ cror 2, 1, 2 -/* 8032AC84 00327BE4 40 82 00 14 */ bne lbl_8032AC98 -/* 8032AC88 00327BE8 C3 A7 00 00 */ lfs f29, 0(r7) -/* 8032AC8C 00327BEC C0 07 00 04 */ lfs f0, 4(r7) -/* 8032AC90 00327BF0 C0 47 00 08 */ lfs f2, 8(r7) -/* 8032AC94 00327BF4 48 00 00 C4 */ b lbl_8032AD58 -lbl_8032AC98: -/* 8032AC98 00327BF8 EF E1 00 72 */ fmuls f31, f1, f1 -/* 8032AC9C 00327BFC C1 82 CA 98 */ lfs f12, lbl_805AE7B8@sda21(r2) -/* 8032ACA0 00327C00 C0 82 CA 9C */ lfs f4, lbl_805AE7BC@sda21(r2) -/* 8032ACA4 00327C04 C0 62 CA A4 */ lfs f3, lbl_805AE7C4@sda21(r2) -/* 8032ACA8 00327C08 EF CC 00 72 */ fmuls f30, f12, f1 -/* 8032ACAC 00327C0C EC 3F 00 72 */ fmuls f1, f31, f1 -/* 8032ACB0 00327C10 C1 62 CA A0 */ lfs f11, lbl_805AE7C0@sda21(r2) -/* 8032ACB4 00327C14 C1 05 00 00 */ lfs f8, 0(r5) -/* 8032ACB8 00327C18 EF 4C 00 72 */ fmuls f26, f12, f1 -/* 8032ACBC 00327C1C C0 E5 00 04 */ lfs f7, 4(r5) -/* 8032ACC0 00327C20 EC A4 00 72 */ fmuls f5, f4, f1 -/* 8032ACC4 00327C24 C0 85 00 08 */ lfs f4, 8(r5) -/* 8032ACC8 00327C28 C1 27 00 00 */ lfs f9, 0(r7) -/* 8032ACCC 00327C2C FC 20 D0 50 */ fneg f1, f26 -/* 8032ACD0 00327C30 FD 40 28 50 */ fneg f10, f5 -/* 8032ACD4 00327C34 C0 C7 00 04 */ lfs f6, 4(r7) -/* 8032ACD8 00327C38 EC A3 2F FA */ fmadds f5, f3, f31, f5 -/* 8032ACDC 00327C3C C0 67 00 08 */ lfs f3, 8(r7) -/* 8032ACE0 00327C40 EC 21 F8 2A */ fadds f1, f1, f31 -/* 8032ACE4 00327C44 ED 4B 57 FA */ fmadds f10, f11, f31, f10 -/* 8032ACE8 00327C48 EF 8D 28 2A */ fadds f28, f13, f5 -/* 8032ACEC 00327C4C C1 68 00 00 */ lfs f11, 0(r8) -/* 8032ACF0 00327C50 EF 61 F0 28 */ fsubs f27, f1, f30 -/* 8032ACF4 00327C54 C0 A8 00 04 */ lfs f5, 4(r8) -/* 8032ACF8 00327C58 EF DE 50 2A */ fadds f30, f30, f10 -/* 8032ACFC 00327C5C EF EC D7 FC */ fnmsubs f31, f12, f31, f26 -/* 8032AD00 00327C60 ED 5C 07 72 */ fmuls f10, f28, f29 -/* 8032AD04 00327C64 C0 28 00 08 */ lfs f1, 8(r8) -/* 8032AD08 00327C68 ED BB 02 32 */ fmuls f13, f27, f8 -/* 8032AD0C 00327C6C ED 1B 01 F2 */ fmuls f8, f27, f7 -/* 8032AD10 00327C70 EC FC 00 32 */ fmuls f7, f28, f0 -/* 8032AD14 00327C74 EC 9B 01 32 */ fmuls f4, f27, f4 -/* 8032AD18 00327C78 EC 1C 00 B2 */ fmuls f0, f28, f2 -/* 8032AD1C 00327C7C ED 9E 02 72 */ fmuls f12, f30, f9 -/* 8032AD20 00327C80 ED 2D 50 2A */ fadds f9, f13, f10 -/* 8032AD24 00327C84 EC E8 38 2A */ fadds f7, f8, f7 -/* 8032AD28 00327C88 EC DE 01 B2 */ fmuls f6, f30, f6 -/* 8032AD2C 00327C8C EC 44 00 2A */ fadds f2, f4, f0 -/* 8032AD30 00327C90 EC 1E 00 F2 */ fmuls f0, f30, f3 -/* 8032AD34 00327C94 ED 5F 02 F2 */ fmuls f10, f31, f11 -/* 8032AD38 00327C98 ED 09 60 2A */ fadds f8, f9, f12 -/* 8032AD3C 00327C9C EC 87 30 2A */ fadds f4, f7, f6 -/* 8032AD40 00327CA0 EC 7F 01 72 */ fmuls f3, f31, f5 -/* 8032AD44 00327CA4 EC 42 00 2A */ fadds f2, f2, f0 -/* 8032AD48 00327CA8 EC 3F 00 72 */ fmuls f1, f31, f1 -/* 8032AD4C 00327CAC EF A8 50 2A */ fadds f29, f8, f10 -/* 8032AD50 00327CB0 EC 04 18 2A */ fadds f0, f4, f3 -/* 8032AD54 00327CB4 EC 42 08 2A */ fadds f2, f2, f1 -lbl_8032AD58: -/* 8032AD58 00327CB8 D3 A3 00 00 */ stfs f29, 0(r3) -/* 8032AD5C 00327CBC D0 03 00 04 */ stfs f0, 4(r3) -/* 8032AD60 00327CC0 D0 43 00 08 */ stfs f2, 8(r3) -/* 8032AD64 00327CC4 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 -/* 8032AD68 00327CC8 CB E1 00 60 */ lfd f31, 0x60(r1) -/* 8032AD6C 00327CCC E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 -/* 8032AD70 00327CD0 CB C1 00 50 */ lfd f30, 0x50(r1) -/* 8032AD74 00327CD4 E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0 -/* 8032AD78 00327CD8 CB A1 00 40 */ lfd f29, 0x40(r1) -/* 8032AD7C 00327CDC E3 81 00 38 */ psq_l f28, 56(r1), 0, qr0 -/* 8032AD80 00327CE0 CB 81 00 30 */ lfd f28, 0x30(r1) -/* 8032AD84 00327CE4 E3 61 00 28 */ psq_l f27, 40(r1), 0, qr0 -/* 8032AD88 00327CE8 CB 61 00 20 */ lfd f27, 0x20(r1) -/* 8032AD8C 00327CEC E3 41 00 18 */ psq_l f26, 24(r1), 0, qr0 -/* 8032AD90 00327CF0 CB 41 00 10 */ lfd f26, 0x10(r1) -/* 8032AD94 00327CF4 38 21 00 70 */ addi r1, r1, 0x70 -/* 8032AD98 00327CF8 4E 80 00 20 */ blr - -.global GetRightRadius__15CParticleSwooshFi -GetRightRadius__15CParticleSwooshFi: -/* 8032AD9C 00327CFC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8032ADA0 00327D00 7C 08 02 A6 */ mflr r0 -/* 8032ADA4 00327D04 C0 02 CA 94 */ lfs f0, lbl_805AE7B4@sda21(r2) -/* 8032ADA8 00327D08 7C 65 1B 78 */ mr r5, r3 -/* 8032ADAC 00327D0C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8032ADB0 00327D10 D0 01 00 08 */ stfs f0, 8(r1) -/* 8032ADB4 00327D14 80 63 00 24 */ lwz r3, 0x24(r3) -/* 8032ADB8 00327D18 80 63 00 0C */ lwz r3, 0xc(r3) -/* 8032ADBC 00327D1C 28 03 00 00 */ cmplwi r3, 0 -/* 8032ADC0 00327D20 41 82 00 28 */ beq lbl_8032ADE8 -/* 8032ADC4 00327D24 81 83 00 00 */ lwz r12, 0(r3) -/* 8032ADC8 00327D28 54 84 38 30 */ slwi r4, r4, 7 -/* 8032ADCC 00327D2C 38 04 00 68 */ addi r0, r4, 0x68 -/* 8032ADD0 00327D30 80 85 01 68 */ lwz r4, 0x168(r5) -/* 8032ADD4 00327D34 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8032ADD8 00327D38 38 A1 00 08 */ addi r5, r1, 8 -/* 8032ADDC 00327D3C 7C 84 00 2E */ lwzx r4, r4, r0 -/* 8032ADE0 00327D40 7D 89 03 A6 */ mtctr r12 -/* 8032ADE4 00327D44 4E 80 04 21 */ bctrl -lbl_8032ADE8: -/* 8032ADE8 00327D48 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8032ADEC 00327D4C C0 21 00 08 */ lfs f1, 8(r1) -/* 8032ADF0 00327D50 7C 08 03 A6 */ mtlr r0 -/* 8032ADF4 00327D54 38 21 00 10 */ addi r1, r1, 0x10 -/* 8032ADF8 00327D58 4E 80 00 20 */ blr - -.global GetLeftRadius__15CParticleSwooshFi -GetLeftRadius__15CParticleSwooshFi: -/* 8032ADFC 00327D5C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8032AE00 00327D60 7C 08 02 A6 */ mflr r0 -/* 8032AE04 00327D64 C0 02 CA 94 */ lfs f0, lbl_805AE7B4@sda21(r2) -/* 8032AE08 00327D68 7C 65 1B 78 */ mr r5, r3 -/* 8032AE0C 00327D6C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8032AE10 00327D70 D0 01 00 08 */ stfs f0, 8(r1) -/* 8032AE14 00327D74 80 63 00 24 */ lwz r3, 0x24(r3) -/* 8032AE18 00327D78 80 63 00 08 */ lwz r3, 8(r3) -/* 8032AE1C 00327D7C 28 03 00 00 */ cmplwi r3, 0 -/* 8032AE20 00327D80 41 82 00 28 */ beq lbl_8032AE48 -/* 8032AE24 00327D84 81 83 00 00 */ lwz r12, 0(r3) -/* 8032AE28 00327D88 54 84 38 30 */ slwi r4, r4, 7 -/* 8032AE2C 00327D8C 38 04 00 68 */ addi r0, r4, 0x68 -/* 8032AE30 00327D90 80 85 01 68 */ lwz r4, 0x168(r5) -/* 8032AE34 00327D94 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8032AE38 00327D98 38 A1 00 08 */ addi r5, r1, 8 -/* 8032AE3C 00327D9C 7C 84 00 2E */ lwzx r4, r4, r0 -/* 8032AE40 00327DA0 7D 89 03 A6 */ mtctr r12 -/* 8032AE44 00327DA4 4E 80 04 21 */ bctrl -lbl_8032AE48: -/* 8032AE48 00327DA8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8032AE4C 00327DAC C0 21 00 08 */ lfs f1, 8(r1) -/* 8032AE50 00327DB0 7C 08 03 A6 */ mtlr r0 -/* 8032AE54 00327DB4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8032AE58 00327DB8 4E 80 00 20 */ blr - -.global WrapIndex__15CParticleSwooshFi -WrapIndex__15CParticleSwooshFi: -/* 8032AE5C 00327DBC 48 00 00 0C */ b lbl_8032AE68 -lbl_8032AE60: -/* 8032AE60 00327DC0 80 03 01 B4 */ lwz r0, 0x1b4(r3) -/* 8032AE64 00327DC4 7C 84 02 14 */ add r4, r4, r0 -lbl_8032AE68: -/* 8032AE68 00327DC8 2C 04 00 00 */ cmpwi r4, 0 -/* 8032AE6C 00327DCC 41 80 FF F4 */ blt lbl_8032AE60 -/* 8032AE70 00327DD0 80 03 01 B4 */ lwz r0, 0x1b4(r3) -/* 8032AE74 00327DD4 48 00 00 08 */ b lbl_8032AE7C -lbl_8032AE78: -/* 8032AE78 00327DD8 7C 80 20 50 */ subf r4, r0, r4 -lbl_8032AE7C: -/* 8032AE7C 00327DDC 7C 04 00 00 */ cmpw r4, r0 -/* 8032AE80 00327DE0 40 80 FF F8 */ bge lbl_8032AE78 -/* 8032AE84 00327DE4 7C 83 23 78 */ mr r3, r4 -/* 8032AE88 00327DE8 4E 80 00 20 */ blr - -.global SetParticleEmission__15CParticleSwooshFb -SetParticleEmission__15CParticleSwooshFb: -/* 8032AE8C 00327DEC 88 03 01 D0 */ lbz r0, 0x1d0(r3) -/* 8032AE90 00327DF0 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 8032AE94 00327DF4 98 03 01 D0 */ stb r0, 0x1d0(r3) -/* 8032AE98 00327DF8 4E 80 00 20 */ blr - -.global RenderNSidedSpline__15CParticleSwooshFv -RenderNSidedSpline__15CParticleSwooshFv: -/* 8032AE9C 00327DFC 94 21 FD 50 */ stwu r1, -0x2b0(r1) -/* 8032AEA0 00327E00 7C 08 02 A6 */ mflr r0 -/* 8032AEA4 00327E04 90 01 02 B4 */ stw r0, 0x2b4(r1) -/* 8032AEA8 00327E08 DB E1 02 A0 */ stfd f31, 0x2a0(r1) -/* 8032AEAC 00327E0C F3 E1 02 A8 */ psq_st f31, 680(r1), 0, qr0 -/* 8032AEB0 00327E10 DB C1 02 90 */ stfd f30, 0x290(r1) -/* 8032AEB4 00327E14 F3 C1 02 98 */ psq_st f30, 664(r1), 0, qr0 -/* 8032AEB8 00327E18 DB A1 02 80 */ stfd f29, 0x280(r1) -/* 8032AEBC 00327E1C F3 A1 02 88 */ psq_st f29, 648(r1), 0, qr0 -/* 8032AEC0 00327E20 DB 81 02 70 */ stfd f28, 0x270(r1) -/* 8032AEC4 00327E24 F3 81 02 78 */ psq_st f28, 632(r1), 0, qr0 -/* 8032AEC8 00327E28 DB 61 02 60 */ stfd f27, 0x260(r1) -/* 8032AECC 00327E2C F3 61 02 68 */ psq_st f27, 616(r1), 0, qr0 -/* 8032AED0 00327E30 DB 41 02 50 */ stfd f26, 0x250(r1) -/* 8032AED4 00327E34 F3 41 02 58 */ psq_st f26, 600(r1), 0, qr0 -/* 8032AED8 00327E38 DB 21 02 40 */ stfd f25, 0x240(r1) -/* 8032AEDC 00327E3C F3 21 02 48 */ psq_st f25, 584(r1), 0, qr0 -/* 8032AEE0 00327E40 DB 01 02 30 */ stfd f24, 0x230(r1) -/* 8032AEE4 00327E44 F3 01 02 38 */ psq_st f24, 568(r1), 0, qr0 -/* 8032AEE8 00327E48 DA E1 02 20 */ stfd f23, 0x220(r1) -/* 8032AEEC 00327E4C F2 E1 02 28 */ psq_st f23, 552(r1), 0, qr0 -/* 8032AEF0 00327E50 DA C1 02 10 */ stfd f22, 0x210(r1) -/* 8032AEF4 00327E54 F2 C1 02 18 */ psq_st f22, 536(r1), 0, qr0 -/* 8032AEF8 00327E58 DA A1 02 00 */ stfd f21, 0x200(r1) -/* 8032AEFC 00327E5C F2 A1 02 08 */ psq_st f21, 520(r1), 0, qr0 -/* 8032AF00 00327E60 DA 81 01 F0 */ stfd f20, 0x1f0(r1) -/* 8032AF04 00327E64 F2 81 01 F8 */ psq_st f20, 504(r1), 0, qr0 -/* 8032AF08 00327E68 DA 61 01 E0 */ stfd f19, 0x1e0(r1) -/* 8032AF0C 00327E6C F2 61 01 E8 */ psq_st f19, 488(r1), 0, qr0 -/* 8032AF10 00327E70 DA 41 01 D0 */ stfd f18, 0x1d0(r1) -/* 8032AF14 00327E74 F2 41 01 D8 */ psq_st f18, 472(r1), 0, qr0 -/* 8032AF18 00327E78 DA 21 01 C0 */ stfd f17, 0x1c0(r1) -/* 8032AF1C 00327E7C F2 21 01 C8 */ psq_st f17, 456(r1), 0, qr0 -/* 8032AF20 00327E80 DA 01 01 B0 */ stfd f16, 0x1b0(r1) -/* 8032AF24 00327E84 F2 01 01 B8 */ psq_st f16, 440(r1), 0, qr0 -/* 8032AF28 00327E88 D9 E1 01 A0 */ stfd f15, 0x1a0(r1) -/* 8032AF2C 00327E8C F1 E1 01 A8 */ psq_st f15, 424(r1), 0, qr0 -/* 8032AF30 00327E90 BD C1 01 58 */ stmw r14, 0x158(r1) -/* 8032AF34 00327E94 7C 79 1B 78 */ mr r25, r3 -/* 8032AF38 00327E98 80 63 00 24 */ lwz r3, 0x24(r3) -/* 8032AF3C 00327E9C 88 03 00 44 */ lbz r0, 0x44(r3) -/* 8032AF40 00327EA0 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 8032AF44 00327EA4 41 82 00 10 */ beq lbl_8032AF54 -/* 8032AF48 00327EA8 38 00 00 A8 */ li r0, 0xa8 -/* 8032AF4C 00327EAC 90 19 01 BC */ stw r0, 0x1bc(r25) -/* 8032AF50 00327EB0 48 00 00 0C */ b lbl_8032AF5C -lbl_8032AF54: -/* 8032AF54 00327EB4 38 00 00 80 */ li r0, 0x80 -/* 8032AF58 00327EB8 90 19 01 BC */ stw r0, 0x1bc(r25) -lbl_8032AF5C: -/* 8032AF5C 00327EBC 80 79 01 BC */ lwz r3, 0x1bc(r25) -/* 8032AF60 00327EC0 4B FE 07 09 */ bl StreamBegin__9CGraphicsF13ERglPrimitive -/* 8032AF64 00327EC4 80 79 00 24 */ lwz r3, 0x24(r25) -/* 8032AF68 00327EC8 80 99 01 B8 */ lwz r4, 0x1b8(r25) -/* 8032AF6C 00327ECC 88 03 00 44 */ lbz r0, 0x44(r3) -/* 8032AF70 00327ED0 2C 04 00 04 */ cmpwi r4, 4 -/* 8032AF74 00327ED4 54 00 D7 FE */ rlwinm r0, r0, 0x1a, 0x1f, 0x1f -/* 8032AF78 00327ED8 98 01 01 50 */ stb r0, 0x150(r1) -/* 8032AF7C 00327EDC 41 80 00 18 */ blt lbl_8032AF94 -/* 8032AF80 00327EE0 54 83 0F FE */ srwi r3, r4, 0x1f -/* 8032AF84 00327EE4 54 80 07 FE */ clrlwi r0, r4, 0x1f -/* 8032AF88 00327EE8 7C 00 1A 78 */ xor r0, r0, r3 -/* 8032AF8C 00327EEC 7C 03 00 51 */ subf. r0, r3, r0 -/* 8032AF90 00327EF0 41 82 00 0C */ beq lbl_8032AF9C -lbl_8032AF94: -/* 8032AF94 00327EF4 38 00 00 00 */ li r0, 0 -/* 8032AF98 00327EF8 98 01 01 50 */ stb r0, 0x150(r1) -lbl_8032AF9C: -/* 8032AF9C 00327EFC 38 00 00 00 */ li r0, 0 -/* 8032AFA0 00327F00 83 99 01 58 */ lwz r28, 0x158(r25) -/* 8032AFA4 00327F04 90 01 01 54 */ stw r0, 0x154(r1) -/* 8032AFA8 00327F08 48 00 0A 44 */ b lbl_8032B9EC -lbl_8032AFAC: -/* 8032AFAC 00327F0C 7F 23 CB 78 */ mr r3, r25 -/* 8032AFB0 00327F10 38 9C FF FF */ addi r4, r28, -1 -/* 8032AFB4 00327F14 4B FF FE A9 */ bl WrapIndex__15CParticleSwooshFi -/* 8032AFB8 00327F18 80 B9 01 68 */ lwz r5, 0x168(r25) -/* 8032AFBC 00327F1C 54 60 38 30 */ slwi r0, r3, 7 -/* 8032AFC0 00327F20 7F 23 CB 78 */ mr r3, r25 -/* 8032AFC4 00327F24 7F 84 E3 78 */ mr r4, r28 -/* 8032AFC8 00327F28 7D C5 00 AE */ lbzx r14, r5, r0 -/* 8032AFCC 00327F2C 4B FF FE 91 */ bl WrapIndex__15CParticleSwooshFi -/* 8032AFD0 00327F30 80 99 01 68 */ lwz r4, 0x168(r25) -/* 8032AFD4 00327F34 54 60 38 30 */ slwi r0, r3, 7 -/* 8032AFD8 00327F38 7C 04 00 AE */ lbzx r0, r4, r0 -/* 8032AFDC 00327F3C 28 00 00 00 */ cmplwi r0, 0 -/* 8032AFE0 00327F40 41 82 00 14 */ beq lbl_8032AFF4 -/* 8032AFE4 00327F44 28 00 00 01 */ cmplwi r0, 1 -/* 8032AFE8 00327F48 40 82 00 20 */ bne lbl_8032B008 -/* 8032AFEC 00327F4C 28 0E 00 00 */ cmplwi r14, 0 -/* 8032AFF0 00327F50 40 82 00 18 */ bne lbl_8032B008 -lbl_8032AFF4: -/* 8032AFF4 00327F54 37 9C FF FF */ addic. r28, r28, -1 -/* 8032AFF8 00327F58 40 80 09 E8 */ bge lbl_8032B9E0 -/* 8032AFFC 00327F5C 80 79 01 60 */ lwz r3, 0x160(r25) -/* 8032B000 00327F60 3B 83 FF FF */ addi r28, r3, -1 -/* 8032B004 00327F64 48 00 09 DC */ b lbl_8032B9E0 -lbl_8032B008: -/* 8032B008 00327F68 80 19 01 B8 */ lwz r0, 0x1b8(r25) -/* 8032B00C 00327F6C 3D C0 43 30 */ lis r14, 0x4330 -/* 8032B010 00327F70 57 83 38 30 */ slwi r3, r28, 7 -/* 8032B014 00327F74 91 C1 01 30 */ stw r14, 0x130(r1) -/* 8032B018 00327F78 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 8032B01C 00327F7C CA 42 CA F0 */ lfd f18, lbl_805AE810@sda21(r2) -/* 8032B020 00327F80 90 01 01 34 */ stw r0, 0x134(r1) -/* 8032B024 00327F84 7F 64 1A 14 */ add r27, r4, r3 -/* 8032B028 00327F88 C0 22 CA CC */ lfs f1, lbl_805AE7EC@sda21(r2) -/* 8032B02C 00327F8C 3A 00 00 00 */ li r16, 0 -/* 8032B030 00327F90 C8 01 01 30 */ lfd f0, 0x130(r1) -/* 8032B034 00327F94 C2 62 CA D0 */ lfs f19, lbl_805AE7F0@sda21(r2) -/* 8032B038 00327F98 EC 00 90 28 */ fsubs f0, f0, f18 -/* 8032B03C 00327F9C C2 82 CA D4 */ lfs f20, lbl_805AE7F4@sda21(r2) -/* 8032B040 00327FA0 CA A2 CA D8 */ lfd f21, lbl_805AE7F8@sda21(r2) -/* 8032B044 00327FA4 C2 C2 CA AC */ lfs f22, lbl_805AE7CC@sda21(r2) -/* 8032B048 00327FA8 EF E1 00 24 */ fdivs f31, f1, f0 -/* 8032B04C 00327FAC C2 E2 CA B0 */ lfs f23, lbl_805AE7D0@sda21(r2) -/* 8032B050 00327FB0 C3 02 CA B4 */ lfs f24, lbl_805AE7D4@sda21(r2) -/* 8032B054 00327FB4 C3 22 CA B8 */ lfs f25, lbl_805AE7D8@sda21(r2) -/* 8032B058 00327FB8 C3 42 CA BC */ lfs f26, lbl_805AE7DC@sda21(r2) -/* 8032B05C 00327FBC C3 62 CA C0 */ lfs f27, lbl_805AE7E0@sda21(r2) -/* 8032B060 00327FC0 C3 82 CA C4 */ lfs f28, lbl_805AE7E4@sda21(r2) -/* 8032B064 00327FC4 C3 A2 CA C8 */ lfs f29, lbl_805AE7E8@sda21(r2) -/* 8032B068 00327FC8 C3 C2 CA 94 */ lfs f30, lbl_805AE7B4@sda21(r2) -lbl_8032B06C: -/* 8032B06C 00327FCC 2C 10 00 00 */ cmpwi r16, 0 -/* 8032B070 00327FD0 39 E0 00 00 */ li r15, 0 -/* 8032B074 00327FD4 40 82 00 30 */ bne lbl_8032B0A4 -/* 8032B078 00327FD8 7F 23 CB 78 */ mr r3, r25 -/* 8032B07C 00327FDC 38 9C 00 01 */ addi r4, r28, 1 -/* 8032B080 00327FE0 4B FF FD DD */ bl WrapIndex__15CParticleSwooshFi -/* 8032B084 00327FE4 80 99 01 68 */ lwz r4, 0x168(r25) -/* 8032B088 00327FE8 54 60 38 30 */ slwi r0, r3, 7 -/* 8032B08C 00327FEC 7C 6F 1B 78 */ mr r15, r3 -/* 8032B090 00327FF0 7C 04 00 AE */ lbzx r0, r4, r0 -/* 8032B094 00327FF4 28 00 00 00 */ cmplwi r0, 0 -/* 8032B098 00327FF8 40 82 00 80 */ bne lbl_8032B118 -/* 8032B09C 00327FFC 7F 8F E3 78 */ mr r15, r28 -/* 8032B0A0 00328000 48 00 00 78 */ b lbl_8032B118 -lbl_8032B0A4: -/* 8032B0A4 00328004 2C 10 00 01 */ cmpwi r16, 1 -/* 8032B0A8 00328008 40 82 00 18 */ bne lbl_8032B0C0 -/* 8032B0AC 0032800C 7F 23 CB 78 */ mr r3, r25 -/* 8032B0B0 00328010 7F 84 E3 78 */ mr r4, r28 -/* 8032B0B4 00328014 4B FF FD A9 */ bl WrapIndex__15CParticleSwooshFi -/* 8032B0B8 00328018 7C 6F 1B 78 */ mr r15, r3 -/* 8032B0BC 0032801C 48 00 00 5C */ b lbl_8032B118 -lbl_8032B0C0: -/* 8032B0C0 00328020 2C 10 00 02 */ cmpwi r16, 2 -/* 8032B0C4 00328024 40 82 00 18 */ bne lbl_8032B0DC -/* 8032B0C8 00328028 7F 23 CB 78 */ mr r3, r25 -/* 8032B0CC 0032802C 38 9C FF FF */ addi r4, r28, -1 -/* 8032B0D0 00328030 4B FF FD 8D */ bl WrapIndex__15CParticleSwooshFi -/* 8032B0D4 00328034 7C 6F 1B 78 */ mr r15, r3 -/* 8032B0D8 00328038 48 00 00 40 */ b lbl_8032B118 -lbl_8032B0DC: -/* 8032B0DC 0032803C 2C 10 00 03 */ cmpwi r16, 3 -/* 8032B0E0 00328040 40 82 00 38 */ bne lbl_8032B118 -/* 8032B0E4 00328044 7F 23 CB 78 */ mr r3, r25 -/* 8032B0E8 00328048 38 9C FF FE */ addi r4, r28, -2 -/* 8032B0EC 0032804C 4B FF FD 71 */ bl WrapIndex__15CParticleSwooshFi -/* 8032B0F0 00328050 80 99 01 68 */ lwz r4, 0x168(r25) -/* 8032B0F4 00328054 54 60 38 30 */ slwi r0, r3, 7 -/* 8032B0F8 00328058 7C 6F 1B 78 */ mr r15, r3 -/* 8032B0FC 0032805C 7C 04 00 AE */ lbzx r0, r4, r0 -/* 8032B100 00328060 28 00 00 00 */ cmplwi r0, 0 -/* 8032B104 00328064 40 82 00 14 */ bne lbl_8032B118 -/* 8032B108 00328068 7F 23 CB 78 */ mr r3, r25 -/* 8032B10C 0032806C 38 9C FF FF */ addi r4, r28, -1 -/* 8032B110 00328070 4B FF FD 4D */ bl WrapIndex__15CParticleSwooshFi -/* 8032B114 00328074 7C 6F 1B 78 */ mr r15, r3 -lbl_8032B118: -/* 8032B118 00328078 80 19 01 B4 */ lwz r0, 0x1b4(r25) -/* 8032B11C 0032807C 2C 00 00 02 */ cmpwi r0, 2 -/* 8032B120 00328080 40 82 00 3C */ bne lbl_8032B15C -/* 8032B124 00328084 2C 10 00 00 */ cmpwi r16, 0 -/* 8032B128 00328088 40 82 00 18 */ bne lbl_8032B140 -/* 8032B12C 0032808C 7F 23 CB 78 */ mr r3, r25 -/* 8032B130 00328090 7F 84 E3 78 */ mr r4, r28 -/* 8032B134 00328094 4B FF FD 29 */ bl WrapIndex__15CParticleSwooshFi -/* 8032B138 00328098 7C 6F 1B 78 */ mr r15, r3 -/* 8032B13C 0032809C 48 00 00 90 */ b lbl_8032B1CC -lbl_8032B140: -/* 8032B140 003280A0 2C 10 00 03 */ cmpwi r16, 3 -/* 8032B144 003280A4 40 82 00 88 */ bne lbl_8032B1CC -/* 8032B148 003280A8 7F 23 CB 78 */ mr r3, r25 -/* 8032B14C 003280AC 38 9C FF FF */ addi r4, r28, -1 -/* 8032B150 003280B0 4B FF FD 0D */ bl WrapIndex__15CParticleSwooshFi -/* 8032B154 003280B4 7C 6F 1B 78 */ mr r15, r3 -/* 8032B158 003280B8 48 00 00 74 */ b lbl_8032B1CC -lbl_8032B15C: -/* 8032B15C 003280BC 80 99 01 58 */ lwz r4, 0x158(r25) -/* 8032B160 003280C0 7C 1C 20 00 */ cmpw r28, r4 -/* 8032B164 003280C4 40 82 00 14 */ bne lbl_8032B178 -/* 8032B168 003280C8 2C 10 00 00 */ cmpwi r16, 0 -/* 8032B16C 003280CC 40 82 00 0C */ bne lbl_8032B178 -/* 8032B170 003280D0 7C 8F 23 78 */ mr r15, r4 -/* 8032B174 003280D4 48 00 00 58 */ b lbl_8032B1CC -lbl_8032B178: -/* 8032B178 003280D8 7F 23 CB 78 */ mr r3, r25 -/* 8032B17C 003280DC 38 84 00 02 */ addi r4, r4, 2 -/* 8032B180 003280E0 4B FF FC DD */ bl WrapIndex__15CParticleSwooshFi -/* 8032B184 003280E4 7C 1C 18 00 */ cmpw r28, r3 -/* 8032B188 003280E8 40 82 00 24 */ bne lbl_8032B1AC -/* 8032B18C 003280EC 2C 10 00 03 */ cmpwi r16, 3 -/* 8032B190 003280F0 40 82 00 1C */ bne lbl_8032B1AC -/* 8032B194 003280F4 80 99 01 58 */ lwz r4, 0x158(r25) -/* 8032B198 003280F8 7F 23 CB 78 */ mr r3, r25 -/* 8032B19C 003280FC 38 84 00 01 */ addi r4, r4, 1 -/* 8032B1A0 00328100 4B FF FC BD */ bl WrapIndex__15CParticleSwooshFi -/* 8032B1A4 00328104 7C 6F 1B 78 */ mr r15, r3 -/* 8032B1A8 00328108 48 00 00 24 */ b lbl_8032B1CC -lbl_8032B1AC: -/* 8032B1AC 0032810C 80 79 01 AC */ lwz r3, 0x1ac(r25) -/* 8032B1B0 00328110 80 01 01 54 */ lwz r0, 0x154(r1) -/* 8032B1B4 00328114 38 63 FF FE */ addi r3, r3, -2 -/* 8032B1B8 00328118 7C 00 18 00 */ cmpw r0, r3 -/* 8032B1BC 0032811C 40 82 00 10 */ bne lbl_8032B1CC -/* 8032B1C0 00328120 2C 10 00 03 */ cmpwi r16, 3 -/* 8032B1C4 00328124 40 82 00 08 */ bne lbl_8032B1CC -/* 8032B1C8 00328128 39 E0 00 00 */ li r15, 0 -lbl_8032B1CC: -/* 8032B1CC 0032812C 80 79 01 68 */ lwz r3, 0x168(r25) -/* 8032B1D0 00328130 55 E0 38 30 */ slwi r0, r15, 7 -/* 8032B1D4 00328134 3A 20 00 00 */ li r17, 0 -/* 8032B1D8 00328138 39 E0 00 00 */ li r15, 0 -/* 8032B1DC 0032813C 7E 43 02 14 */ add r18, r3, r0 -/* 8032B1E0 00328140 3A 72 00 38 */ addi r19, r18, 0x38 -/* 8032B1E4 00328144 48 00 02 88 */ b lbl_8032B46C -lbl_8032B1E8: -/* 8032B1E8 00328148 6E 20 80 00 */ xoris r0, r17, 0x8000 -/* 8032B1EC 0032814C 91 C1 01 30 */ stw r14, 0x130(r1) -/* 8032B1F0 00328150 C0 32 00 30 */ lfs f1, 0x30(r18) -/* 8032B1F4 00328154 90 01 01 34 */ stw r0, 0x134(r1) -/* 8032B1F8 00328158 C0 12 00 34 */ lfs f0, 0x34(r18) -/* 8032B1FC 0032815C C8 41 01 30 */ lfd f2, 0x130(r1) -/* 8032B200 00328160 EC 21 00 2A */ fadds f1, f1, f0 -/* 8032B204 00328164 EC 02 90 28 */ fsubs f0, f2, f18 -/* 8032B208 00328168 EC 1F 00 32 */ fmuls f0, f31, f0 -/* 8032B20C 0032816C EC 20 08 2A */ fadds f1, f0, f1 -/* 8032B210 00328170 EC 33 00 72 */ fmuls f1, f19, f1 -/* 8032B214 00328174 EC 61 A0 24 */ fdivs f3, f1, f20 -/* 8032B218 00328178 FC 20 1A 10 */ fabs f1, f3 -/* 8032B21C 0032817C FC 01 A8 40 */ fcmpo cr0, f1, f21 -/* 8032B220 00328180 40 81 00 58 */ ble lbl_8032B278 -/* 8032B224 00328184 C0 22 CA E0 */ lfs f1, lbl_805AE800@sda21(r2) -/* 8032B228 00328188 3C 00 43 30 */ lis r0, 0x4330 -/* 8032B22C 0032818C 90 01 01 38 */ stw r0, 0x138(r1) -/* 8032B230 00328190 EC 23 00 72 */ fmuls f1, f3, f1 -/* 8032B234 00328194 C0 42 CA E4 */ lfs f2, lbl_805AE804@sda21(r2) -/* 8032B238 00328198 FC 20 08 1E */ fctiwz f1, f1 -/* 8032B23C 0032819C D8 21 01 30 */ stfd f1, 0x130(r1) -/* 8032B240 003281A0 80 01 01 34 */ lwz r0, 0x134(r1) -/* 8032B244 003281A4 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 8032B248 003281A8 90 01 01 3C */ stw r0, 0x13c(r1) -/* 8032B24C 003281AC C8 21 01 38 */ lfd f1, 0x138(r1) -/* 8032B250 003281B0 EC 21 90 28 */ fsubs f1, f1, f18 -/* 8032B254 003281B4 EC 61 18 BC */ fnmsubs f3, f1, f2, f3 -/* 8032B258 003281B8 FC 03 98 40 */ fcmpo cr0, f3, f19 -/* 8032B25C 003281BC 40 81 00 0C */ ble lbl_8032B268 -/* 8032B260 003281C0 EC 63 10 28 */ fsubs f3, f3, f2 -/* 8032B264 003281C4 48 00 00 14 */ b lbl_8032B278 -lbl_8032B268: -/* 8032B268 003281C8 C0 22 CA E8 */ lfs f1, lbl_805AE808@sda21(r2) -/* 8032B26C 003281CC FC 03 08 40 */ fcmpo cr0, f3, f1 -/* 8032B270 003281D0 40 80 00 08 */ bge lbl_8032B278 -/* 8032B274 003281D4 EC 62 18 2A */ fadds f3, f2, f3 -lbl_8032B278: -/* 8032B278 003281D8 EC A3 00 F2 */ fmuls f5, f3, f3 -/* 8032B27C 003281DC C0 42 CA A8 */ lfs f2, lbl_805AE7C8@sda21(r2) -/* 8032B280 003281E0 EC 83 06 B2 */ fmuls f4, f3, f26 -/* 8032B284 003281E4 FC 00 F0 40 */ fcmpo cr0, f0, f30 -/* 8032B288 003281E8 EC 63 01 72 */ fmuls f3, f3, f5 -/* 8032B28C 003281EC EC 45 15 BA */ fmadds f2, f5, f22, f2 -/* 8032B290 003281F0 EC 25 01 72 */ fmuls f1, f5, f5 -/* 8032B294 003281F4 EC 83 26 FA */ fmadds f4, f3, f27, f4 -/* 8032B298 003281F8 EC 63 01 72 */ fmuls f3, f3, f5 -/* 8032B29C 003281FC EC 41 15 FA */ fmadds f2, f1, f23, f2 -/* 8032B2A0 00328200 EC 21 01 72 */ fmuls f1, f1, f5 -/* 8032B2A4 00328204 EC 83 27 3A */ fmadds f4, f3, f28, f4 -/* 8032B2A8 00328208 EC 63 01 72 */ fmuls f3, f3, f5 -/* 8032B2AC 0032820C EC 41 16 3A */ fmadds f2, f1, f24, f2 -/* 8032B2B0 00328210 EC 21 01 72 */ fmuls f1, f1, f5 -/* 8032B2B4 00328214 EC 83 27 7A */ fmadds f4, f3, f29, f4 -/* 8032B2B8 00328218 EC 41 16 7A */ fmadds f2, f1, f25, f2 -/* 8032B2BC 0032821C 40 81 00 1C */ ble lbl_8032B2D8 -/* 8032B2C0 00328220 C0 22 CA D4 */ lfs f1, lbl_805AE7F4@sda21(r2) -/* 8032B2C4 00328224 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 8032B2C8 00328228 4C 40 13 82 */ cror 2, 0, 2 -/* 8032B2CC 0032822C 40 82 00 0C */ bne lbl_8032B2D8 -/* 8032B2D0 00328230 C0 D2 00 04 */ lfs f6, 4(r18) -/* 8032B2D4 00328234 48 00 00 08 */ b lbl_8032B2DC -lbl_8032B2D8: -/* 8032B2D8 00328238 C0 D2 00 08 */ lfs f6, 8(r18) -lbl_8032B2DC: -/* 8032B2DC 0032823C C0 32 00 0C */ lfs f1, 0xc(r18) -/* 8032B2E0 00328240 2C 10 00 00 */ cmpwi r16, 0 -/* 8032B2E4 00328244 C0 12 00 24 */ lfs f0, 0x24(r18) -/* 8032B2E8 00328248 EC A6 00 B2 */ fmuls f5, f6, f2 -/* 8032B2EC 0032824C C0 72 00 10 */ lfs f3, 0x10(r18) -/* 8032B2F0 00328250 EC 86 01 32 */ fmuls f4, f6, f4 -/* 8032B2F4 00328254 C0 52 00 28 */ lfs f2, 0x28(r18) -/* 8032B2F8 00328258 ED E1 00 2A */ fadds f15, f1, f0 -/* 8032B2FC 0032825C C0 32 00 14 */ lfs f1, 0x14(r18) -/* 8032B300 00328260 C0 12 00 2C */ lfs f0, 0x2c(r18) -/* 8032B304 00328264 EE 03 10 2A */ fadds f16, f3, f2 -/* 8032B308 00328268 EE 21 00 2A */ fadds f17, f1, f0 -/* 8032B30C 0032826C 40 82 00 54 */ bne lbl_8032B360 -/* 8032B310 00328270 C0 02 CA 94 */ lfs f0, lbl_805AE7B4@sda21(r2) -/* 8032B314 00328274 7E 64 9B 78 */ mr r4, r19 -/* 8032B318 00328278 D0 A1 00 B4 */ stfs f5, 0xb4(r1) -/* 8032B31C 0032827C 38 61 00 C0 */ addi r3, r1, 0xc0 -/* 8032B320 00328280 38 A1 00 B4 */ addi r5, r1, 0xb4 -/* 8032B324 00328284 D0 01 00 B8 */ stfs f0, 0xb8(r1) -/* 8032B328 00328288 D0 81 00 BC */ stfs f4, 0xbc(r1) -/* 8032B32C 0032828C 4B FE 77 BD */ bl __ml__12CTransform4fCFRC9CVector3f -/* 8032B330 00328290 C0 01 00 C0 */ lfs f0, 0xc0(r1) -/* 8032B334 00328294 C0 41 00 C4 */ lfs f2, 0xc4(r1) -/* 8032B338 00328298 80 19 01 78 */ lwz r0, 0x178(r25) -/* 8032B33C 0032829C EC 00 78 2A */ fadds f0, f0, f15 -/* 8032B340 003282A0 C0 21 00 C8 */ lfs f1, 0xc8(r1) -/* 8032B344 003282A4 EC 42 80 2A */ fadds f2, f2, f16 -/* 8032B348 003282A8 7C 60 7A 14 */ add r3, r0, r15 -/* 8032B34C 003282AC D0 03 00 00 */ stfs f0, 0(r3) -/* 8032B350 003282B0 EC 01 88 2A */ fadds f0, f1, f17 -/* 8032B354 003282B4 D0 43 00 04 */ stfs f2, 4(r3) -/* 8032B358 003282B8 D0 03 00 08 */ stfs f0, 8(r3) -/* 8032B35C 003282BC 48 00 01 08 */ b lbl_8032B464 -lbl_8032B360: -/* 8032B360 003282C0 2C 10 00 01 */ cmpwi r16, 1 -/* 8032B364 003282C4 40 82 00 54 */ bne lbl_8032B3B8 -/* 8032B368 003282C8 C0 02 CA 94 */ lfs f0, lbl_805AE7B4@sda21(r2) -/* 8032B36C 003282CC 7E 64 9B 78 */ mr r4, r19 -/* 8032B370 003282D0 D0 A1 00 9C */ stfs f5, 0x9c(r1) -/* 8032B374 003282D4 38 61 00 A8 */ addi r3, r1, 0xa8 -/* 8032B378 003282D8 38 A1 00 9C */ addi r5, r1, 0x9c -/* 8032B37C 003282DC D0 01 00 A0 */ stfs f0, 0xa0(r1) -/* 8032B380 003282E0 D0 81 00 A4 */ stfs f4, 0xa4(r1) -/* 8032B384 003282E4 4B FE 77 65 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 8032B388 003282E8 C0 01 00 A8 */ lfs f0, 0xa8(r1) -/* 8032B38C 003282EC C0 41 00 AC */ lfs f2, 0xac(r1) -/* 8032B390 003282F0 80 19 01 88 */ lwz r0, 0x188(r25) -/* 8032B394 003282F4 EC 00 78 2A */ fadds f0, f0, f15 -/* 8032B398 003282F8 C0 21 00 B0 */ lfs f1, 0xb0(r1) -/* 8032B39C 003282FC EC 42 80 2A */ fadds f2, f2, f16 -/* 8032B3A0 00328300 7C 60 7A 14 */ add r3, r0, r15 -/* 8032B3A4 00328304 D0 03 00 00 */ stfs f0, 0(r3) -/* 8032B3A8 00328308 EC 01 88 2A */ fadds f0, f1, f17 -/* 8032B3AC 0032830C D0 43 00 04 */ stfs f2, 4(r3) -/* 8032B3B0 00328310 D0 03 00 08 */ stfs f0, 8(r3) -/* 8032B3B4 00328314 48 00 00 B0 */ b lbl_8032B464 -lbl_8032B3B8: -/* 8032B3B8 00328318 2C 10 00 02 */ cmpwi r16, 2 -/* 8032B3BC 0032831C 40 82 00 54 */ bne lbl_8032B410 -/* 8032B3C0 00328320 C0 02 CA 94 */ lfs f0, lbl_805AE7B4@sda21(r2) -/* 8032B3C4 00328324 7E 64 9B 78 */ mr r4, r19 -/* 8032B3C8 00328328 D0 A1 00 84 */ stfs f5, 0x84(r1) -/* 8032B3CC 0032832C 38 61 00 90 */ addi r3, r1, 0x90 -/* 8032B3D0 00328330 38 A1 00 84 */ addi r5, r1, 0x84 -/* 8032B3D4 00328334 D0 01 00 88 */ stfs f0, 0x88(r1) -/* 8032B3D8 00328338 D0 81 00 8C */ stfs f4, 0x8c(r1) -/* 8032B3DC 0032833C 4B FE 77 0D */ bl __ml__12CTransform4fCFRC9CVector3f -/* 8032B3E0 00328340 C0 01 00 90 */ lfs f0, 0x90(r1) -/* 8032B3E4 00328344 C0 41 00 94 */ lfs f2, 0x94(r1) -/* 8032B3E8 00328348 80 19 01 98 */ lwz r0, 0x198(r25) -/* 8032B3EC 0032834C EC 00 78 2A */ fadds f0, f0, f15 -/* 8032B3F0 00328350 C0 21 00 98 */ lfs f1, 0x98(r1) -/* 8032B3F4 00328354 EC 42 80 2A */ fadds f2, f2, f16 -/* 8032B3F8 00328358 7C 60 7A 14 */ add r3, r0, r15 -/* 8032B3FC 0032835C D0 03 00 00 */ stfs f0, 0(r3) -/* 8032B400 00328360 EC 01 88 2A */ fadds f0, f1, f17 -/* 8032B404 00328364 D0 43 00 04 */ stfs f2, 4(r3) -/* 8032B408 00328368 D0 03 00 08 */ stfs f0, 8(r3) -/* 8032B40C 0032836C 48 00 00 58 */ b lbl_8032B464 -lbl_8032B410: -/* 8032B410 00328370 2C 10 00 03 */ cmpwi r16, 3 -/* 8032B414 00328374 40 82 00 50 */ bne lbl_8032B464 -/* 8032B418 00328378 C0 02 CA 94 */ lfs f0, lbl_805AE7B4@sda21(r2) -/* 8032B41C 0032837C 7E 64 9B 78 */ mr r4, r19 -/* 8032B420 00328380 D0 A1 00 6C */ stfs f5, 0x6c(r1) -/* 8032B424 00328384 38 61 00 78 */ addi r3, r1, 0x78 -/* 8032B428 00328388 38 A1 00 6C */ addi r5, r1, 0x6c -/* 8032B42C 0032838C D0 01 00 70 */ stfs f0, 0x70(r1) -/* 8032B430 00328390 D0 81 00 74 */ stfs f4, 0x74(r1) -/* 8032B434 00328394 4B FE 76 B5 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 8032B438 00328398 C0 01 00 78 */ lfs f0, 0x78(r1) -/* 8032B43C 0032839C C0 41 00 7C */ lfs f2, 0x7c(r1) -/* 8032B440 003283A0 80 19 01 A8 */ lwz r0, 0x1a8(r25) -/* 8032B444 003283A4 EC 00 78 2A */ fadds f0, f0, f15 -/* 8032B448 003283A8 C0 21 00 80 */ lfs f1, 0x80(r1) -/* 8032B44C 003283AC EC 42 80 2A */ fadds f2, f2, f16 -/* 8032B450 003283B0 7C 60 7A 14 */ add r3, r0, r15 -/* 8032B454 003283B4 D0 03 00 00 */ stfs f0, 0(r3) -/* 8032B458 003283B8 EC 01 88 2A */ fadds f0, f1, f17 -/* 8032B45C 003283BC D0 43 00 04 */ stfs f2, 4(r3) -/* 8032B460 003283C0 D0 03 00 08 */ stfs f0, 8(r3) -lbl_8032B464: -/* 8032B464 003283C4 39 EF 00 0C */ addi r15, r15, 0xc -/* 8032B468 003283C8 3A 31 00 01 */ addi r17, r17, 1 -lbl_8032B46C: -/* 8032B46C 003283CC 80 19 01 B8 */ lwz r0, 0x1b8(r25) -/* 8032B470 003283D0 7C 11 00 00 */ cmpw r17, r0 -/* 8032B474 003283D4 41 80 FD 74 */ blt lbl_8032B1E8 -/* 8032B478 003283D8 3A 10 00 01 */ addi r16, r16, 1 -/* 8032B47C 003283DC 2C 10 00 04 */ cmpwi r16, 4 -/* 8032B480 003283E0 41 80 FB EC */ blt lbl_8032B06C -/* 8032B484 003283E4 80 79 00 24 */ lwz r3, 0x24(r25) -/* 8032B488 003283E8 80 03 00 3C */ lwz r0, 0x3c(r3) -/* 8032B48C 003283EC 28 00 00 00 */ cmplwi r0, 0 -/* 8032B490 003283F0 41 82 00 7C */ beq lbl_8032B50C -/* 8032B494 003283F4 80 99 01 EC */ lwz r4, 0x1ec(r25) -/* 8032B498 003283F8 2C 04 00 00 */ cmpwi r4, 0 -/* 8032B49C 003283FC 40 81 00 44 */ ble lbl_8032B4E0 -/* 8032B4A0 00328400 80 01 01 54 */ lwz r0, 0x154(r1) -/* 8032B4A4 00328404 C8 22 CA F0 */ lfd f1, lbl_805AE810@sda21(r2) -/* 8032B4A8 00328408 7C 60 23 D6 */ divw r3, r0, r4 -/* 8032B4AC 0032840C 3C 00 43 30 */ lis r0, 0x4330 -/* 8032B4B0 00328410 90 01 01 38 */ stw r0, 0x138(r1) -/* 8032B4B4 00328414 80 01 01 54 */ lwz r0, 0x154(r1) -/* 8032B4B8 00328418 C0 59 01 E8 */ lfs f2, 0x1e8(r25) -/* 8032B4BC 0032841C 7C 63 21 D6 */ mullw r3, r3, r4 -/* 8032B4C0 00328420 7C 03 00 50 */ subf r0, r3, r0 -/* 8032B4C4 00328424 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 8032B4C8 00328428 90 01 01 3C */ stw r0, 0x13c(r1) -/* 8032B4CC 0032842C C8 01 01 38 */ lfd f0, 0x138(r1) -/* 8032B4D0 00328430 EC 00 08 28 */ fsubs f0, f0, f1 -/* 8032B4D4 00328434 EC 02 00 32 */ fmuls f0, f2, f0 -/* 8032B4D8 00328438 D0 19 01 D4 */ stfs f0, 0x1d4(r25) -/* 8032B4DC 0032843C 48 00 00 30 */ b lbl_8032B50C -lbl_8032B4E0: -/* 8032B4E0 00328440 80 01 01 54 */ lwz r0, 0x154(r1) -/* 8032B4E4 00328444 C8 42 CA F0 */ lfd f2, lbl_805AE810@sda21(r2) -/* 8032B4E8 00328448 6C 03 80 00 */ xoris r3, r0, 0x8000 -/* 8032B4EC 0032844C 3C 00 43 30 */ lis r0, 0x4330 -/* 8032B4F0 00328450 90 61 01 3C */ stw r3, 0x13c(r1) -/* 8032B4F4 00328454 C0 19 01 E8 */ lfs f0, 0x1e8(r25) -/* 8032B4F8 00328458 90 01 01 38 */ stw r0, 0x138(r1) -/* 8032B4FC 0032845C C8 21 01 38 */ lfd f1, 0x138(r1) -/* 8032B500 00328460 EC 21 10 28 */ fsubs f1, f1, f2 -/* 8032B504 00328464 EC 01 00 32 */ fmuls f0, f1, f0 -/* 8032B508 00328468 D0 19 01 D4 */ stfs f0, 0x1d4(r25) -lbl_8032B50C: -/* 8032B50C 0032846C 80 79 01 B0 */ lwz r3, 0x1b0(r25) -/* 8032B510 00328470 3D C0 43 30 */ lis r14, 0x4330 -/* 8032B514 00328474 91 C1 01 38 */ stw r14, 0x138(r1) -/* 8032B518 00328478 3B A0 00 00 */ li r29, 0 -/* 8032B51C 0032847C 38 03 00 01 */ addi r0, r3, 1 -/* 8032B520 00328480 CB E2 CA F0 */ lfd f31, lbl_805AE810@sda21(r2) -/* 8032B524 00328484 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 8032B528 00328488 C0 39 01 E8 */ lfs f1, 0x1e8(r25) -/* 8032B52C 0032848C 90 01 01 3C */ stw r0, 0x13c(r1) -/* 8032B530 00328490 8B 01 01 50 */ lbz r24, 0x150(r1) -/* 8032B534 00328494 C8 01 01 38 */ lfd f0, 0x138(r1) -/* 8032B538 00328498 EC 00 F8 28 */ fsubs f0, f0, f31 -/* 8032B53C 0032849C ED E1 00 24 */ fdivs f15, f1, f0 -/* 8032B540 003284A0 48 00 04 80 */ b lbl_8032B9C0 -lbl_8032B544: -/* 8032B544 003284A4 38 1D 00 01 */ addi r0, r29, 1 -/* 8032B548 003284A8 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 8032B54C 003284AC 6F A4 80 00 */ xoris r4, r29, 0x8000 -/* 8032B550 003284B0 80 B9 01 B8 */ lwz r5, 0x1b8(r25) -/* 8032B554 003284B4 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 8032B558 003284B8 90 81 01 3C */ stw r4, 0x13c(r1) -/* 8032B55C 003284BC 2C 05 00 02 */ cmpwi r5, 2 -/* 8032B560 003284C0 7C BA 2B 78 */ mr r26, r5 -/* 8032B564 003284C4 91 C1 01 38 */ stw r14, 0x138(r1) -/* 8032B568 003284C8 C8 01 01 38 */ lfd f0, 0x138(r1) -/* 8032B56C 003284CC 90 61 01 34 */ stw r3, 0x134(r1) -/* 8032B570 003284D0 EC 40 F8 28 */ fsubs f2, f0, f31 -/* 8032B574 003284D4 91 C1 01 30 */ stw r14, 0x130(r1) -/* 8032B578 003284D8 C8 01 01 30 */ lfd f0, 0x130(r1) -/* 8032B57C 003284DC 90 01 01 44 */ stw r0, 0x144(r1) -/* 8032B580 003284E0 EC 00 F8 28 */ fsubs f0, f0, f31 -/* 8032B584 003284E4 91 C1 01 40 */ stw r14, 0x140(r1) -/* 8032B588 003284E8 C8 21 01 40 */ lfd f1, 0x140(r1) -/* 8032B58C 003284EC EE 02 00 24 */ fdivs f16, f2, f0 -/* 8032B590 003284F0 90 61 01 4C */ stw r3, 0x14c(r1) -/* 8032B594 003284F4 91 C1 01 48 */ stw r14, 0x148(r1) -/* 8032B598 003284F8 C8 01 01 48 */ lfd f0, 0x148(r1) -/* 8032B59C 003284FC EC 21 F8 28 */ fsubs f1, f1, f31 -/* 8032B5A0 00328500 EC 00 F8 28 */ fsubs f0, f0, f31 -/* 8032B5A4 00328504 EE 21 00 24 */ fdivs f17, f1, f0 -/* 8032B5A8 00328508 41 81 00 0C */ bgt lbl_8032B5B4 -/* 8032B5AC 0032850C 3B 40 00 01 */ li r26, 1 -/* 8032B5B0 00328510 48 00 00 1C */ b lbl_8032B5CC -lbl_8032B5B4: -/* 8032B5B4 00328514 88 01 01 50 */ lbz r0, 0x150(r1) -/* 8032B5B8 00328518 28 00 00 01 */ cmplwi r0, 1 -/* 8032B5BC 0032851C 40 82 00 10 */ bne lbl_8032B5CC -/* 8032B5C0 00328520 54 A0 0F FE */ srwi r0, r5, 0x1f -/* 8032B5C4 00328524 7C 00 2A 14 */ add r0, r0, r5 -/* 8032B5C8 00328528 7C 1A 0E 70 */ srawi r26, r0, 1 -lbl_8032B5CC: -/* 8032B5CC 0032852C C0 19 01 D4 */ lfs f0, 0x1d4(r25) -/* 8032B5D0 00328530 3B C0 00 00 */ li r30, 0 -/* 8032B5D4 00328534 7F DF F3 78 */ mr r31, r30 -/* 8032B5D8 00328538 EC 00 78 2A */ fadds f0, f0, f15 -/* 8032B5DC 0032853C D0 19 01 DC */ stfs f0, 0x1dc(r25) -/* 8032B5E0 00328540 48 00 03 AC */ b lbl_8032B98C -lbl_8032B5E4: -/* 8032B5E4 00328544 80 19 01 B8 */ lwz r0, 0x1b8(r25) -/* 8032B5E8 00328548 39 FE 00 01 */ addi r15, r30, 1 -/* 8032B5EC 0032854C 7C 0F 00 00 */ cmpw r15, r0 -/* 8032B5F0 00328550 41 80 00 08 */ blt lbl_8032B5F8 -/* 8032B5F4 00328554 39 E0 00 00 */ li r15, 0 -lbl_8032B5F8: -/* 8032B5F8 00328558 38 61 00 08 */ addi r3, r1, 8 -/* 8032B5FC 0032855C 38 9B 00 6C */ addi r4, r27, 0x6c -/* 8032B600 00328560 38 B9 02 0C */ addi r5, r25, 0x20c -/* 8032B604 00328564 48 03 7B 75 */ bl Modulate__6CColorFRC6CColorRC6CColor -/* 8032B608 00328568 28 18 00 00 */ cmplwi r24, 0 -/* 8032B60C 0032856C 82 E1 00 08 */ lwz r23, 8(r1) -/* 8032B610 00328570 41 82 01 88 */ beq lbl_8032B798 -/* 8032B614 00328574 80 79 01 B8 */ lwz r3, 0x1b8(r25) -/* 8032B618 00328578 FC 20 80 90 */ fmr f1, f16 -/* 8032B61C 0032857C 81 39 01 78 */ lwz r9, 0x178(r25) -/* 8032B620 00328580 7F 24 CB 78 */ mr r4, r25 -/* 8032B624 00328584 54 60 0F FE */ srwi r0, r3, 0x1f -/* 8032B628 00328588 81 59 01 88 */ lwz r10, 0x188(r25) -/* 8032B62C 0032858C 7C 00 1A 14 */ add r0, r0, r3 -/* 8032B630 00328590 7C 00 0E 70 */ srawi r0, r0, 1 -/* 8032B634 00328594 80 79 01 98 */ lwz r3, 0x198(r25) -/* 8032B638 00328598 7C 1E 02 14 */ add r0, r30, r0 -/* 8032B63C 0032859C 81 79 01 A8 */ lwz r11, 0x1a8(r25) -/* 8032B640 003285A0 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8032B644 003285A4 7E C9 FA 14 */ add r22, r9, r31 -/* 8032B648 003285A8 7E AA FA 14 */ add r21, r10, r31 -/* 8032B64C 003285AC 7E 83 FA 14 */ add r20, r3, r31 -/* 8032B650 003285B0 7E 6B FA 14 */ add r19, r11, r31 -/* 8032B654 003285B4 7E C5 B3 78 */ mr r5, r22 -/* 8032B658 003285B8 7E A6 AB 78 */ mr r6, r21 -/* 8032B65C 003285BC 7E 87 A3 78 */ mr r7, r20 -/* 8032B660 003285C0 7E 68 9B 78 */ mr r8, r19 -/* 8032B664 003285C4 7E 49 02 14 */ add r18, r9, r0 -/* 8032B668 003285C8 7E 2A 02 14 */ add r17, r10, r0 -/* 8032B66C 003285CC 7E 03 02 14 */ add r16, r3, r0 -/* 8032B670 003285D0 7D EB 02 14 */ add r15, r11, r0 -/* 8032B674 003285D4 38 61 00 60 */ addi r3, r1, 0x60 -/* 8032B678 003285D8 4B FF F5 B1 */ bl GetSplinePoint__15CParticleSwooshCFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ff -/* 8032B67C 003285DC C0 61 00 60 */ lfs f3, 0x60(r1) -/* 8032B680 003285E0 FC 20 80 90 */ fmr f1, f16 -/* 8032B684 003285E4 C0 41 00 64 */ lfs f2, 0x64(r1) -/* 8032B688 003285E8 7F 24 CB 78 */ mr r4, r25 -/* 8032B68C 003285EC C0 01 00 68 */ lfs f0, 0x68(r1) -/* 8032B690 003285F0 7E 45 93 78 */ mr r5, r18 -/* 8032B694 003285F4 D0 61 01 20 */ stfs f3, 0x120(r1) -/* 8032B698 003285F8 7E 26 8B 78 */ mr r6, r17 -/* 8032B69C 003285FC 7E 07 83 78 */ mr r7, r16 -/* 8032B6A0 00328600 D0 41 01 24 */ stfs f2, 0x124(r1) -/* 8032B6A4 00328604 7D E8 7B 78 */ mr r8, r15 -/* 8032B6A8 00328608 38 61 00 54 */ addi r3, r1, 0x54 -/* 8032B6AC 0032860C D0 01 01 28 */ stfs f0, 0x128(r1) -/* 8032B6B0 00328610 4B FF F5 79 */ bl GetSplinePoint__15CParticleSwooshCFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ff -/* 8032B6B4 00328614 C0 61 00 54 */ lfs f3, 0x54(r1) -/* 8032B6B8 00328618 FC 20 88 90 */ fmr f1, f17 -/* 8032B6BC 0032861C C0 41 00 58 */ lfs f2, 0x58(r1) -/* 8032B6C0 00328620 7F 24 CB 78 */ mr r4, r25 -/* 8032B6C4 00328624 C0 01 00 5C */ lfs f0, 0x5c(r1) -/* 8032B6C8 00328628 7E 45 93 78 */ mr r5, r18 -/* 8032B6CC 0032862C D0 61 01 14 */ stfs f3, 0x114(r1) -/* 8032B6D0 00328630 7E 26 8B 78 */ mr r6, r17 -/* 8032B6D4 00328634 7E 07 83 78 */ mr r7, r16 -/* 8032B6D8 00328638 D0 41 01 18 */ stfs f2, 0x118(r1) -/* 8032B6DC 0032863C 7D E8 7B 78 */ mr r8, r15 -/* 8032B6E0 00328640 38 61 00 48 */ addi r3, r1, 0x48 -/* 8032B6E4 00328644 D0 01 01 1C */ stfs f0, 0x11c(r1) -/* 8032B6E8 00328648 4B FF F5 41 */ bl GetSplinePoint__15CParticleSwooshCFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ff -/* 8032B6EC 0032864C C0 61 00 48 */ lfs f3, 0x48(r1) -/* 8032B6F0 00328650 FC 20 88 90 */ fmr f1, f17 -/* 8032B6F4 00328654 C0 41 00 4C */ lfs f2, 0x4c(r1) -/* 8032B6F8 00328658 7F 24 CB 78 */ mr r4, r25 -/* 8032B6FC 0032865C C0 01 00 50 */ lfs f0, 0x50(r1) -/* 8032B700 00328660 7E C5 B3 78 */ mr r5, r22 -/* 8032B704 00328664 D0 61 01 08 */ stfs f3, 0x108(r1) -/* 8032B708 00328668 7E A6 AB 78 */ mr r6, r21 -/* 8032B70C 0032866C 7E 87 A3 78 */ mr r7, r20 -/* 8032B710 00328670 D0 41 01 0C */ stfs f2, 0x10c(r1) -/* 8032B714 00328674 7E 68 9B 78 */ mr r8, r19 -/* 8032B718 00328678 38 61 00 3C */ addi r3, r1, 0x3c -/* 8032B71C 0032867C D0 01 01 10 */ stfs f0, 0x110(r1) -/* 8032B720 00328680 4B FF F5 09 */ bl GetSplinePoint__15CParticleSwooshCFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ff -/* 8032B724 00328684 C0 41 00 3C */ lfs f2, 0x3c(r1) -/* 8032B728 00328688 7E E3 BB 78 */ mr r3, r23 -/* 8032B72C 0032868C C0 21 00 40 */ lfs f1, 0x40(r1) -/* 8032B730 00328690 C0 01 00 44 */ lfs f0, 0x44(r1) -/* 8032B734 00328694 D0 41 00 FC */ stfs f2, 0xfc(r1) -/* 8032B738 00328698 D0 21 01 00 */ stfs f1, 0x100(r1) -/* 8032B73C 0032869C D0 01 01 04 */ stfs f0, 0x104(r1) -/* 8032B740 003286A0 4B FD FE 2D */ bl StreamColor__9CGraphicsFUi -/* 8032B744 003286A4 C0 39 01 D4 */ lfs f1, 0x1d4(r25) -/* 8032B748 003286A8 C0 59 01 D8 */ lfs f2, 0x1d8(r25) -/* 8032B74C 003286AC 4B FD FD 19 */ bl StreamTexcoord__9CGraphicsFff -/* 8032B750 003286B0 38 61 01 20 */ addi r3, r1, 0x120 -/* 8032B754 003286B4 4B FD FE 6D */ bl StreamVertex__9CGraphicsFRC9CVector3f -/* 8032B758 003286B8 C0 39 01 D4 */ lfs f1, 0x1d4(r25) -/* 8032B75C 003286BC C0 59 01 E0 */ lfs f2, 0x1e0(r25) -/* 8032B760 003286C0 4B FD FD 05 */ bl StreamTexcoord__9CGraphicsFff -/* 8032B764 003286C4 38 61 01 14 */ addi r3, r1, 0x114 -/* 8032B768 003286C8 4B FD FE 59 */ bl StreamVertex__9CGraphicsFRC9CVector3f -/* 8032B76C 003286CC C0 39 01 DC */ lfs f1, 0x1dc(r25) -/* 8032B770 003286D0 C0 59 01 E0 */ lfs f2, 0x1e0(r25) -/* 8032B774 003286D4 4B FD FC F1 */ bl StreamTexcoord__9CGraphicsFff -/* 8032B778 003286D8 38 61 01 08 */ addi r3, r1, 0x108 -/* 8032B77C 003286DC 4B FD FE 45 */ bl StreamVertex__9CGraphicsFRC9CVector3f -/* 8032B780 003286E0 C0 39 01 DC */ lfs f1, 0x1dc(r25) -/* 8032B784 003286E4 C0 59 01 D8 */ lfs f2, 0x1d8(r25) -/* 8032B788 003286E8 4B FD FC DD */ bl StreamTexcoord__9CGraphicsFff -/* 8032B78C 003286EC 38 61 00 FC */ addi r3, r1, 0xfc -/* 8032B790 003286F0 4B FD FE 31 */ bl StreamVertex__9CGraphicsFRC9CVector3f -/* 8032B794 003286F4 48 00 01 F0 */ b lbl_8032B984 -lbl_8032B798: -/* 8032B798 003286F8 80 19 01 78 */ lwz r0, 0x178(r25) -/* 8032B79C 003286FC 1C 6F 00 0C */ mulli r3, r15, 0xc -/* 8032B7A0 00328700 81 39 01 88 */ lwz r9, 0x188(r25) -/* 8032B7A4 00328704 FC 20 80 90 */ fmr f1, f16 -/* 8032B7A8 00328708 81 59 01 98 */ lwz r10, 0x198(r25) -/* 8032B7AC 0032870C 7D E0 FA 14 */ add r15, r0, r31 -/* 8032B7B0 00328710 81 79 01 A8 */ lwz r11, 0x1a8(r25) -/* 8032B7B4 00328714 7E 09 FA 14 */ add r16, r9, r31 -/* 8032B7B8 00328718 7E 2A FA 14 */ add r17, r10, r31 -/* 8032B7BC 0032871C 7E 4B FA 14 */ add r18, r11, r31 -/* 8032B7C0 00328720 7F 24 CB 78 */ mr r4, r25 -/* 8032B7C4 00328724 7D E5 7B 78 */ mr r5, r15 -/* 8032B7C8 00328728 7E 06 83 78 */ mr r6, r16 -/* 8032B7CC 0032872C 7E 27 8B 78 */ mr r7, r17 -/* 8032B7D0 00328730 7E 48 93 78 */ mr r8, r18 -/* 8032B7D4 00328734 7E 60 1A 14 */ add r19, r0, r3 -/* 8032B7D8 00328738 7E 89 1A 14 */ add r20, r9, r3 -/* 8032B7DC 0032873C 7E AA 1A 14 */ add r21, r10, r3 -/* 8032B7E0 00328740 7E CB 1A 14 */ add r22, r11, r3 -/* 8032B7E4 00328744 38 61 00 30 */ addi r3, r1, 0x30 -/* 8032B7E8 00328748 4B FF F4 41 */ bl GetSplinePoint__15CParticleSwooshCFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ff -/* 8032B7EC 0032874C C0 61 00 30 */ lfs f3, 0x30(r1) -/* 8032B7F0 00328750 FC 20 80 90 */ fmr f1, f16 -/* 8032B7F4 00328754 C0 41 00 34 */ lfs f2, 0x34(r1) -/* 8032B7F8 00328758 7F 24 CB 78 */ mr r4, r25 -/* 8032B7FC 0032875C C0 01 00 38 */ lfs f0, 0x38(r1) -/* 8032B800 00328760 7E 65 9B 78 */ mr r5, r19 -/* 8032B804 00328764 D0 61 00 F0 */ stfs f3, 0xf0(r1) -/* 8032B808 00328768 7E 86 A3 78 */ mr r6, r20 -/* 8032B80C 0032876C 7E A7 AB 78 */ mr r7, r21 -/* 8032B810 00328770 D0 41 00 F4 */ stfs f2, 0xf4(r1) -/* 8032B814 00328774 7E C8 B3 78 */ mr r8, r22 -/* 8032B818 00328778 38 61 00 24 */ addi r3, r1, 0x24 -/* 8032B81C 0032877C D0 01 00 F8 */ stfs f0, 0xf8(r1) -/* 8032B820 00328780 4B FF F4 09 */ bl GetSplinePoint__15CParticleSwooshCFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ff -/* 8032B824 00328784 C0 61 00 24 */ lfs f3, 0x24(r1) -/* 8032B828 00328788 FC 20 88 90 */ fmr f1, f17 -/* 8032B82C 0032878C C0 41 00 28 */ lfs f2, 0x28(r1) -/* 8032B830 00328790 7F 24 CB 78 */ mr r4, r25 -/* 8032B834 00328794 C0 01 00 2C */ lfs f0, 0x2c(r1) -/* 8032B838 00328798 7E 65 9B 78 */ mr r5, r19 -/* 8032B83C 0032879C D0 61 00 E4 */ stfs f3, 0xe4(r1) -/* 8032B840 003287A0 7E 86 A3 78 */ mr r6, r20 -/* 8032B844 003287A4 7E A7 AB 78 */ mr r7, r21 -/* 8032B848 003287A8 D0 41 00 E8 */ stfs f2, 0xe8(r1) -/* 8032B84C 003287AC 7E C8 B3 78 */ mr r8, r22 -/* 8032B850 003287B0 38 61 00 18 */ addi r3, r1, 0x18 -/* 8032B854 003287B4 D0 01 00 EC */ stfs f0, 0xec(r1) -/* 8032B858 003287B8 4B FF F3 D1 */ bl GetSplinePoint__15CParticleSwooshCFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ff -/* 8032B85C 003287BC C0 61 00 18 */ lfs f3, 0x18(r1) -/* 8032B860 003287C0 FC 20 88 90 */ fmr f1, f17 -/* 8032B864 003287C4 C0 41 00 1C */ lfs f2, 0x1c(r1) -/* 8032B868 003287C8 7F 24 CB 78 */ mr r4, r25 -/* 8032B86C 003287CC C0 01 00 20 */ lfs f0, 0x20(r1) -/* 8032B870 003287D0 7D E5 7B 78 */ mr r5, r15 -/* 8032B874 003287D4 D0 61 00 D8 */ stfs f3, 0xd8(r1) -/* 8032B878 003287D8 7E 06 83 78 */ mr r6, r16 -/* 8032B87C 003287DC 7E 27 8B 78 */ mr r7, r17 -/* 8032B880 003287E0 D0 41 00 DC */ stfs f2, 0xdc(r1) -/* 8032B884 003287E4 7E 48 93 78 */ mr r8, r18 -/* 8032B888 003287E8 38 61 00 0C */ addi r3, r1, 0xc -/* 8032B88C 003287EC D0 01 00 E0 */ stfs f0, 0xe0(r1) -/* 8032B890 003287F0 4B FF F3 99 */ bl GetSplinePoint__15CParticleSwooshCFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ff -/* 8032B894 003287F4 C0 41 00 0C */ lfs f2, 0xc(r1) -/* 8032B898 003287F8 C0 21 00 10 */ lfs f1, 0x10(r1) -/* 8032B89C 003287FC C0 01 00 14 */ lfs f0, 0x14(r1) -/* 8032B8A0 00328800 D0 41 00 CC */ stfs f2, 0xcc(r1) -/* 8032B8A4 00328804 D0 21 00 D0 */ stfs f1, 0xd0(r1) -/* 8032B8A8 00328808 D0 01 00 D4 */ stfs f0, 0xd4(r1) -/* 8032B8AC 0032880C 80 19 01 BC */ lwz r0, 0x1bc(r25) -/* 8032B8B0 00328810 2C 00 00 A8 */ cmpwi r0, 0xa8 -/* 8032B8B4 00328814 40 82 00 68 */ bne lbl_8032B91C -/* 8032B8B8 00328818 38 61 00 F0 */ addi r3, r1, 0xf0 -/* 8032B8BC 0032881C 4B FD FD 05 */ bl StreamVertex__9CGraphicsFRC9CVector3f -/* 8032B8C0 00328820 38 61 00 E4 */ addi r3, r1, 0xe4 -/* 8032B8C4 00328824 4B FD FC FD */ bl StreamVertex__9CGraphicsFRC9CVector3f -/* 8032B8C8 00328828 38 61 00 E4 */ addi r3, r1, 0xe4 -/* 8032B8CC 0032882C 4B FD FC F5 */ bl StreamVertex__9CGraphicsFRC9CVector3f -/* 8032B8D0 00328830 38 61 00 D8 */ addi r3, r1, 0xd8 -/* 8032B8D4 00328834 4B FD FC ED */ bl StreamVertex__9CGraphicsFRC9CVector3f -/* 8032B8D8 00328838 38 61 00 D8 */ addi r3, r1, 0xd8 -/* 8032B8DC 0032883C 4B FD FC E5 */ bl StreamVertex__9CGraphicsFRC9CVector3f -/* 8032B8E0 00328840 38 61 00 F0 */ addi r3, r1, 0xf0 -/* 8032B8E4 00328844 4B FD FC DD */ bl StreamVertex__9CGraphicsFRC9CVector3f -/* 8032B8E8 00328848 38 61 00 F0 */ addi r3, r1, 0xf0 -/* 8032B8EC 0032884C 4B FD FC D5 */ bl StreamVertex__9CGraphicsFRC9CVector3f -/* 8032B8F0 00328850 38 61 00 D8 */ addi r3, r1, 0xd8 -/* 8032B8F4 00328854 4B FD FC CD */ bl StreamVertex__9CGraphicsFRC9CVector3f -/* 8032B8F8 00328858 38 61 00 D8 */ addi r3, r1, 0xd8 -/* 8032B8FC 0032885C 4B FD FC C5 */ bl StreamVertex__9CGraphicsFRC9CVector3f -/* 8032B900 00328860 38 61 00 CC */ addi r3, r1, 0xcc -/* 8032B904 00328864 4B FD FC BD */ bl StreamVertex__9CGraphicsFRC9CVector3f -/* 8032B908 00328868 38 61 00 CC */ addi r3, r1, 0xcc -/* 8032B90C 0032886C 4B FD FC B5 */ bl StreamVertex__9CGraphicsFRC9CVector3f -/* 8032B910 00328870 38 61 00 F0 */ addi r3, r1, 0xf0 -/* 8032B914 00328874 4B FD FC AD */ bl StreamVertex__9CGraphicsFRC9CVector3f -/* 8032B918 00328878 48 00 00 6C */ b lbl_8032B984 -lbl_8032B91C: -/* 8032B91C 0032887C 2C 00 00 80 */ cmpwi r0, 0x80 -/* 8032B920 00328880 40 82 00 64 */ bne lbl_8032B984 -/* 8032B924 00328884 7E E3 BB 78 */ mr r3, r23 -/* 8032B928 00328888 4B FD FC 45 */ bl StreamColor__9CGraphicsFUi -/* 8032B92C 0032888C C0 39 01 D4 */ lfs f1, 0x1d4(r25) -/* 8032B930 00328890 C0 59 01 D8 */ lfs f2, 0x1d8(r25) -/* 8032B934 00328894 4B FD FB 31 */ bl StreamTexcoord__9CGraphicsFff -/* 8032B938 00328898 38 61 00 F0 */ addi r3, r1, 0xf0 -/* 8032B93C 0032889C 4B FD FC 85 */ bl StreamVertex__9CGraphicsFRC9CVector3f -/* 8032B940 003288A0 C0 39 01 D4 */ lfs f1, 0x1d4(r25) -/* 8032B944 003288A4 C0 59 01 E0 */ lfs f2, 0x1e0(r25) -/* 8032B948 003288A8 4B FD FB 1D */ bl StreamTexcoord__9CGraphicsFff -/* 8032B94C 003288AC 38 61 00 E4 */ addi r3, r1, 0xe4 -/* 8032B950 003288B0 4B FD FC 71 */ bl StreamVertex__9CGraphicsFRC9CVector3f -/* 8032B954 003288B4 7E E3 BB 78 */ mr r3, r23 -/* 8032B958 003288B8 4B FD FC 15 */ bl StreamColor__9CGraphicsFUi -/* 8032B95C 003288BC C0 39 01 DC */ lfs f1, 0x1dc(r25) -/* 8032B960 003288C0 C0 59 01 E0 */ lfs f2, 0x1e0(r25) -/* 8032B964 003288C4 4B FD FB 01 */ bl StreamTexcoord__9CGraphicsFff -/* 8032B968 003288C8 38 61 00 D8 */ addi r3, r1, 0xd8 -/* 8032B96C 003288CC 4B FD FC 55 */ bl StreamVertex__9CGraphicsFRC9CVector3f -/* 8032B970 003288D0 C0 39 01 DC */ lfs f1, 0x1dc(r25) -/* 8032B974 003288D4 C0 59 01 D8 */ lfs f2, 0x1d8(r25) -/* 8032B978 003288D8 4B FD FA ED */ bl StreamTexcoord__9CGraphicsFff -/* 8032B97C 003288DC 38 61 00 CC */ addi r3, r1, 0xcc -/* 8032B980 003288E0 4B FD FC 41 */ bl StreamVertex__9CGraphicsFRC9CVector3f -lbl_8032B984: -/* 8032B984 003288E4 3B FF 00 0C */ addi r31, r31, 0xc -/* 8032B988 003288E8 3B DE 00 01 */ addi r30, r30, 1 -lbl_8032B98C: -/* 8032B98C 003288EC 7C 1E D0 00 */ cmpw r30, r26 -/* 8032B990 003288F0 41 80 FC 54 */ blt lbl_8032B5E4 -/* 8032B994 003288F4 80 79 00 24 */ lwz r3, 0x24(r25) -/* 8032B998 003288F8 80 03 00 3C */ lwz r0, 0x3c(r3) -/* 8032B99C 003288FC 28 00 00 00 */ cmplwi r0, 0 -/* 8032B9A0 00328900 41 82 00 1C */ beq lbl_8032B9BC -/* 8032B9A4 00328904 80 19 01 B0 */ lwz r0, 0x1b0(r25) -/* 8032B9A8 00328908 2C 00 00 00 */ cmpwi r0, 0 -/* 8032B9AC 0032890C 40 81 00 10 */ ble lbl_8032B9BC -/* 8032B9B0 00328910 C0 19 01 D4 */ lfs f0, 0x1d4(r25) -/* 8032B9B4 00328914 EC 00 78 2A */ fadds f0, f0, f15 -/* 8032B9B8 00328918 D0 19 01 D4 */ stfs f0, 0x1d4(r25) -lbl_8032B9BC: -/* 8032B9BC 0032891C 3B BD 00 01 */ addi r29, r29, 1 -lbl_8032B9C0: -/* 8032B9C0 00328920 80 79 01 B0 */ lwz r3, 0x1b0(r25) -/* 8032B9C4 00328924 38 63 00 01 */ addi r3, r3, 1 -/* 8032B9C8 00328928 7C 1D 18 00 */ cmpw r29, r3 -/* 8032B9CC 0032892C 41 80 FB 78 */ blt lbl_8032B544 -/* 8032B9D0 00328930 37 9C FF FF */ addic. r28, r28, -1 -/* 8032B9D4 00328934 40 80 00 0C */ bge lbl_8032B9E0 -/* 8032B9D8 00328938 80 79 01 60 */ lwz r3, 0x160(r25) -/* 8032B9DC 0032893C 3B 83 FF FF */ addi r28, r3, -1 -lbl_8032B9E0: -/* 8032B9E0 00328940 80 61 01 54 */ lwz r3, 0x154(r1) -/* 8032B9E4 00328944 38 63 00 01 */ addi r3, r3, 1 -/* 8032B9E8 00328948 90 61 01 54 */ stw r3, 0x154(r1) -lbl_8032B9EC: -/* 8032B9EC 0032894C 80 79 01 60 */ lwz r3, 0x160(r25) -/* 8032B9F0 00328950 80 01 01 54 */ lwz r0, 0x154(r1) -/* 8032B9F4 00328954 38 63 FF FF */ addi r3, r3, -1 -/* 8032B9F8 00328958 7C 00 18 00 */ cmpw r0, r3 -/* 8032B9FC 0032895C 41 80 F5 B0 */ blt lbl_8032AFAC -/* 8032BA00 00328960 4B FD FA 11 */ bl StreamEnd__9CGraphicsFv -/* 8032BA04 00328964 E3 E1 02 A8 */ psq_l f31, 680(r1), 0, qr0 -/* 8032BA08 00328968 CB E1 02 A0 */ lfd f31, 0x2a0(r1) -/* 8032BA0C 0032896C E3 C1 02 98 */ psq_l f30, 664(r1), 0, qr0 -/* 8032BA10 00328970 CB C1 02 90 */ lfd f30, 0x290(r1) -/* 8032BA14 00328974 E3 A1 02 88 */ psq_l f29, 648(r1), 0, qr0 -/* 8032BA18 00328978 CB A1 02 80 */ lfd f29, 0x280(r1) -/* 8032BA1C 0032897C E3 81 02 78 */ psq_l f28, 632(r1), 0, qr0 -/* 8032BA20 00328980 CB 81 02 70 */ lfd f28, 0x270(r1) -/* 8032BA24 00328984 E3 61 02 68 */ psq_l f27, 616(r1), 0, qr0 -/* 8032BA28 00328988 CB 61 02 60 */ lfd f27, 0x260(r1) -/* 8032BA2C 0032898C E3 41 02 58 */ psq_l f26, 600(r1), 0, qr0 -/* 8032BA30 00328990 CB 41 02 50 */ lfd f26, 0x250(r1) -/* 8032BA34 00328994 E3 21 02 48 */ psq_l f25, 584(r1), 0, qr0 -/* 8032BA38 00328998 CB 21 02 40 */ lfd f25, 0x240(r1) -/* 8032BA3C 0032899C E3 01 02 38 */ psq_l f24, 568(r1), 0, qr0 -/* 8032BA40 003289A0 CB 01 02 30 */ lfd f24, 0x230(r1) -/* 8032BA44 003289A4 E2 E1 02 28 */ psq_l f23, 552(r1), 0, qr0 -/* 8032BA48 003289A8 CA E1 02 20 */ lfd f23, 0x220(r1) -/* 8032BA4C 003289AC E2 C1 02 18 */ psq_l f22, 536(r1), 0, qr0 -/* 8032BA50 003289B0 CA C1 02 10 */ lfd f22, 0x210(r1) -/* 8032BA54 003289B4 E2 A1 02 08 */ psq_l f21, 520(r1), 0, qr0 -/* 8032BA58 003289B8 CA A1 02 00 */ lfd f21, 0x200(r1) -/* 8032BA5C 003289BC E2 81 01 F8 */ psq_l f20, 504(r1), 0, qr0 -/* 8032BA60 003289C0 CA 81 01 F0 */ lfd f20, 0x1f0(r1) -/* 8032BA64 003289C4 E2 61 01 E8 */ psq_l f19, 488(r1), 0, qr0 -/* 8032BA68 003289C8 CA 61 01 E0 */ lfd f19, 0x1e0(r1) -/* 8032BA6C 003289CC E2 41 01 D8 */ psq_l f18, 472(r1), 0, qr0 -/* 8032BA70 003289D0 CA 41 01 D0 */ lfd f18, 0x1d0(r1) -/* 8032BA74 003289D4 E2 21 01 C8 */ psq_l f17, 456(r1), 0, qr0 -/* 8032BA78 003289D8 CA 21 01 C0 */ lfd f17, 0x1c0(r1) -/* 8032BA7C 003289DC E2 01 01 B8 */ psq_l f16, 440(r1), 0, qr0 -/* 8032BA80 003289E0 CA 01 01 B0 */ lfd f16, 0x1b0(r1) -/* 8032BA84 003289E4 E1 E1 01 A8 */ psq_l f15, 424(r1), 0, qr0 -/* 8032BA88 003289E8 C9 E1 01 A0 */ lfd f15, 0x1a0(r1) -/* 8032BA8C 003289EC B9 C1 01 58 */ lmw r14, 0x158(r1) -/* 8032BA90 003289F0 80 01 02 B4 */ lwz r0, 0x2b4(r1) -/* 8032BA94 003289F4 7C 08 03 A6 */ mtlr r0 -/* 8032BA98 003289F8 38 21 02 B0 */ addi r1, r1, 0x2b0 -/* 8032BA9C 003289FC 4E 80 00 20 */ blr - -.global RenderNSidedNoSpline__15CParticleSwooshFv -RenderNSidedNoSpline__15CParticleSwooshFv: -/* 8032BAA0 00328A00 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8032BAA4 00328A04 7C 08 02 A6 */ mflr r0 -/* 8032BAA8 00328A08 90 01 00 14 */ stw r0, 0x14(r1) -/* 8032BAAC 00328A0C 4B FF F3 F1 */ bl RenderNSidedSpline__15CParticleSwooshFv -/* 8032BAB0 00328A10 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8032BAB4 00328A14 7C 08 03 A6 */ mtlr r0 -/* 8032BAB8 00328A18 38 21 00 10 */ addi r1, r1, 0x10 -/* 8032BABC 00328A1C 4E 80 00 20 */ blr - -.global Render3SidedSolidSpline__15CParticleSwooshFv -Render3SidedSolidSpline__15CParticleSwooshFv: -/* 8032BAC0 00328A20 94 21 FD 80 */ stwu r1, -0x280(r1) -/* 8032BAC4 00328A24 7C 08 02 A6 */ mflr r0 -/* 8032BAC8 00328A28 90 01 02 84 */ stw r0, 0x284(r1) -/* 8032BACC 00328A2C DB E1 02 70 */ stfd f31, 0x270(r1) -/* 8032BAD0 00328A30 F3 E1 02 78 */ psq_st f31, 632(r1), 0, qr0 -/* 8032BAD4 00328A34 DB C1 02 60 */ stfd f30, 0x260(r1) -/* 8032BAD8 00328A38 F3 C1 02 68 */ psq_st f30, 616(r1), 0, qr0 -/* 8032BADC 00328A3C DB A1 02 50 */ stfd f29, 0x250(r1) -/* 8032BAE0 00328A40 F3 A1 02 58 */ psq_st f29, 600(r1), 0, qr0 -/* 8032BAE4 00328A44 DB 81 02 40 */ stfd f28, 0x240(r1) -/* 8032BAE8 00328A48 F3 81 02 48 */ psq_st f28, 584(r1), 0, qr0 -/* 8032BAEC 00328A4C DB 61 02 30 */ stfd f27, 0x230(r1) -/* 8032BAF0 00328A50 F3 61 02 38 */ psq_st f27, 568(r1), 0, qr0 -/* 8032BAF4 00328A54 DB 41 02 20 */ stfd f26, 0x220(r1) -/* 8032BAF8 00328A58 F3 41 02 28 */ psq_st f26, 552(r1), 0, qr0 -/* 8032BAFC 00328A5C DB 21 02 10 */ stfd f25, 0x210(r1) -/* 8032BB00 00328A60 F3 21 02 18 */ psq_st f25, 536(r1), 0, qr0 -/* 8032BB04 00328A64 DB 01 02 00 */ stfd f24, 0x200(r1) -/* 8032BB08 00328A68 F3 01 02 08 */ psq_st f24, 520(r1), 0, qr0 -/* 8032BB0C 00328A6C DA E1 01 F0 */ stfd f23, 0x1f0(r1) -/* 8032BB10 00328A70 F2 E1 01 F8 */ psq_st f23, 504(r1), 0, qr0 -/* 8032BB14 00328A74 DA C1 01 E0 */ stfd f22, 0x1e0(r1) -/* 8032BB18 00328A78 F2 C1 01 E8 */ psq_st f22, 488(r1), 0, qr0 -/* 8032BB1C 00328A7C DA A1 01 D0 */ stfd f21, 0x1d0(r1) -/* 8032BB20 00328A80 F2 A1 01 D8 */ psq_st f21, 472(r1), 0, qr0 -/* 8032BB24 00328A84 DA 81 01 C0 */ stfd f20, 0x1c0(r1) -/* 8032BB28 00328A88 F2 81 01 C8 */ psq_st f20, 456(r1), 0, qr0 -/* 8032BB2C 00328A8C DA 61 01 B0 */ stfd f19, 0x1b0(r1) -/* 8032BB30 00328A90 F2 61 01 B8 */ psq_st f19, 440(r1), 0, qr0 -/* 8032BB34 00328A94 DA 41 01 A0 */ stfd f18, 0x1a0(r1) -/* 8032BB38 00328A98 F2 41 01 A8 */ psq_st f18, 424(r1), 0, qr0 -/* 8032BB3C 00328A9C DA 21 01 90 */ stfd f17, 0x190(r1) -/* 8032BB40 00328AA0 F2 21 01 98 */ psq_st f17, 408(r1), 0, qr0 -/* 8032BB44 00328AA4 DA 01 01 80 */ stfd f16, 0x180(r1) -/* 8032BB48 00328AA8 F2 01 01 88 */ psq_st f16, 392(r1), 0, qr0 -/* 8032BB4C 00328AAC D9 E1 01 70 */ stfd f15, 0x170(r1) -/* 8032BB50 00328AB0 F1 E1 01 78 */ psq_st f15, 376(r1), 0, qr0 -/* 8032BB54 00328AB4 D9 C1 01 60 */ stfd f14, 0x160(r1) -/* 8032BB58 00328AB8 F1 C1 01 68 */ psq_st f14, 360(r1), 0, qr0 -/* 8032BB5C 00328ABC BE 81 01 30 */ stmw r20, 0x130(r1) -/* 8032BB60 00328AC0 7C 75 1B 78 */ mr r21, r3 -/* 8032BB64 00328AC4 80 03 01 60 */ lwz r0, 0x160(r3) -/* 8032BB68 00328AC8 2C 00 00 02 */ cmpwi r0, 2 -/* 8032BB6C 00328ACC 41 80 0A 88 */ blt lbl_8032C5F4 -/* 8032BB70 00328AD0 3C 60 80 3D */ lis r3, lbl_803D7948@ha -/* 8032BB74 00328AD4 38 63 79 48 */ addi r3, r3, lbl_803D7948@l -/* 8032BB78 00328AD8 4B FD C2 B1 */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList -/* 8032BB7C 00328ADC 38 60 00 01 */ li r3, 1 -/* 8032BB80 00328AE0 4B FD D2 D1 */ bl SetNumChans__3CGXFUc -/* 8032BB84 00328AE4 38 60 00 01 */ li r3, 1 -/* 8032BB88 00328AE8 4B FD D2 8D */ bl SetNumTexGens__3CGXFUc -/* 8032BB8C 00328AEC 38 60 00 00 */ li r3, 0 -/* 8032BB90 00328AF0 38 80 00 00 */ li r4, 0 -/* 8032BB94 00328AF4 38 A0 00 00 */ li r5, 0 -/* 8032BB98 00328AF8 38 C0 00 04 */ li r6, 4 -/* 8032BB9C 00328AFC 4B FD CD B1 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID -/* 8032BBA0 00328B00 38 60 00 00 */ li r3, 0 -/* 8032BBA4 00328B04 38 80 00 00 */ li r4, 0 -/* 8032BBA8 00328B08 38 A0 00 00 */ li r5, 0 -/* 8032BBAC 00328B0C 38 C0 00 01 */ li r6, 1 -/* 8032BBB0 00328B10 38 E0 00 00 */ li r7, 0 -/* 8032BBB4 00328B14 39 00 00 00 */ li r8, 0 -/* 8032BBB8 00328B18 39 20 00 02 */ li r9, 2 -/* 8032BBBC 00328B1C 4B FD D1 11 */ bl SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn -/* 8032BBC0 00328B20 38 60 00 00 */ li r3, 0 -/* 8032BBC4 00328B24 38 80 00 01 */ li r4, 1 -/* 8032BBC8 00328B28 38 A0 00 04 */ li r5, 4 -/* 8032BBCC 00328B2C 38 C0 00 3C */ li r6, 0x3c -/* 8032BBD0 00328B30 38 E0 00 00 */ li r7, 0 -/* 8032BBD4 00328B34 39 00 00 7D */ li r8, 0x7d -/* 8032BBD8 00328B38 4B FD CA F5 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx -/* 8032BBDC 00328B3C C0 15 01 E8 */ lfs f0, 0x1e8(r21) -/* 8032BBE0 00328B40 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8032BBE4 00328B44 83 55 01 58 */ lwz r26, 0x158(r21) -/* 8032BBE8 00328B48 3B C3 66 A0 */ addi r30, r3, skZero3f@l -/* 8032BBEC 00328B4C FC 00 00 50 */ fneg f0, f0 -/* 8032BBF0 00328B50 3B 80 00 00 */ li r28, 0 -/* 8032BBF4 00328B54 3B 60 00 00 */ li r27, 0 -/* 8032BBF8 00328B58 3B 20 00 00 */ li r25, 0 -/* 8032BBFC 00328B5C D0 01 00 B0 */ stfs f0, 0xb0(r1) -/* 8032BC00 00328B60 C0 02 CA D0 */ lfs f0, lbl_805AE7F0@sda21(r2) -/* 8032BC04 00328B64 D8 01 00 C8 */ stfd f0, 0xc8(r1) -/* 8032BC08 00328B68 C0 02 CA D4 */ lfs f0, lbl_805AE7F4@sda21(r2) -/* 8032BC0C 00328B6C D8 01 00 D0 */ stfd f0, 0xd0(r1) -/* 8032BC10 00328B70 C8 02 CA D8 */ lfd f0, lbl_805AE7F8@sda21(r2) -/* 8032BC14 00328B74 D8 01 00 D8 */ stfd f0, 0xd8(r1) -/* 8032BC18 00328B78 C0 02 CA AC */ lfs f0, lbl_805AE7CC@sda21(r2) -/* 8032BC1C 00328B7C D8 01 00 E0 */ stfd f0, 0xe0(r1) -/* 8032BC20 00328B80 C0 02 CA B0 */ lfs f0, lbl_805AE7D0@sda21(r2) -/* 8032BC24 00328B84 D8 01 00 E8 */ stfd f0, 0xe8(r1) -/* 8032BC28 00328B88 C0 02 CA B4 */ lfs f0, lbl_805AE7D4@sda21(r2) -/* 8032BC2C 00328B8C D8 01 00 F0 */ stfd f0, 0xf0(r1) -/* 8032BC30 00328B90 C0 02 CA B8 */ lfs f0, lbl_805AE7D8@sda21(r2) -/* 8032BC34 00328B94 D8 01 00 F8 */ stfd f0, 0xf8(r1) -/* 8032BC38 00328B98 C0 02 CA BC */ lfs f0, lbl_805AE7DC@sda21(r2) -/* 8032BC3C 00328B9C D8 01 01 00 */ stfd f0, 0x100(r1) -/* 8032BC40 00328BA0 C0 02 CA C0 */ lfs f0, lbl_805AE7E0@sda21(r2) -/* 8032BC44 00328BA4 D8 01 01 08 */ stfd f0, 0x108(r1) -/* 8032BC48 00328BA8 C0 02 CA C4 */ lfs f0, lbl_805AE7E4@sda21(r2) -/* 8032BC4C 00328BAC D8 01 01 10 */ stfd f0, 0x110(r1) -/* 8032BC50 00328BB0 C0 02 CA C8 */ lfs f0, lbl_805AE7E8@sda21(r2) -/* 8032BC54 00328BB4 D8 01 01 18 */ stfd f0, 0x118(r1) -/* 8032BC58 00328BB8 C0 02 CA 94 */ lfs f0, lbl_805AE7B4@sda21(r2) -/* 8032BC5C 00328BBC D8 01 01 20 */ stfd f0, 0x120(r1) -/* 8032BC60 00328BC0 C0 02 CA F8 */ lfs f0, lbl_805AE818@sda21(r2) -/* 8032BC64 00328BC4 D8 01 01 28 */ stfd f0, 0x128(r1) -/* 8032BC68 00328BC8 48 00 09 80 */ b lbl_8032C5E8 -lbl_8032BC6C: -/* 8032BC6C 00328BCC 57 40 38 30 */ slwi r0, r26, 7 -/* 8032BC70 00328BD0 80 75 01 68 */ lwz r3, 0x168(r21) -/* 8032BC74 00328BD4 37 5A FF FF */ addic. r26, r26, -1 -/* 8032BC78 00328BD8 7F A3 02 14 */ add r29, r3, r0 -/* 8032BC7C 00328BDC 40 80 00 08 */ bge lbl_8032BC84 -/* 8032BC80 00328BE0 3B 44 FF FF */ addi r26, r4, -1 -lbl_8032BC84: -/* 8032BC84 00328BE4 C0 3D 00 30 */ lfs f1, 0x30(r29) -/* 8032BC88 00328BE8 C0 1D 00 34 */ lfs f0, 0x34(r29) -/* 8032BC8C 00328BEC EC 21 00 2A */ fadds f1, f1, f0 -/* 8032BC90 00328BF0 C8 01 00 C8 */ lfd f0, 0xc8(r1) -/* 8032BC94 00328BF4 EC 20 00 72 */ fmuls f1, f0, f1 -/* 8032BC98 00328BF8 C8 01 00 D0 */ lfd f0, 0xd0(r1) -/* 8032BC9C 00328BFC EC 61 00 24 */ fdivs f3, f1, f0 -/* 8032BCA0 00328C00 C8 01 00 D8 */ lfd f0, 0xd8(r1) -/* 8032BCA4 00328C04 FC 20 1A 10 */ fabs f1, f3 -/* 8032BCA8 00328C08 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8032BCAC 00328C0C 40 81 00 64 */ ble lbl_8032BD10 -/* 8032BCB0 00328C10 C0 02 CA E0 */ lfs f0, lbl_805AE800@sda21(r2) -/* 8032BCB4 00328C14 3C 00 43 30 */ lis r0, 0x4330 -/* 8032BCB8 00328C18 90 01 00 A8 */ stw r0, 0xa8(r1) -/* 8032BCBC 00328C1C EC 03 00 32 */ fmuls f0, f3, f0 -/* 8032BCC0 00328C20 C8 42 CA F0 */ lfd f2, lbl_805AE810@sda21(r2) -/* 8032BCC4 00328C24 C0 22 CA E4 */ lfs f1, lbl_805AE804@sda21(r2) -/* 8032BCC8 00328C28 FC 00 00 1E */ fctiwz f0, f0 -/* 8032BCCC 00328C2C D8 01 00 A0 */ stfd f0, 0xa0(r1) -/* 8032BCD0 00328C30 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 8032BCD4 00328C34 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 8032BCD8 00328C38 90 01 00 AC */ stw r0, 0xac(r1) -/* 8032BCDC 00328C3C C8 01 00 A8 */ lfd f0, 0xa8(r1) -/* 8032BCE0 00328C40 EC 00 10 28 */ fsubs f0, f0, f2 -/* 8032BCE4 00328C44 EC 80 18 7C */ fnmsubs f4, f0, f1, f3 -/* 8032BCE8 00328C48 C8 01 00 C8 */ lfd f0, 0xc8(r1) -/* 8032BCEC 00328C4C FC 04 00 40 */ fcmpo cr0, f4, f0 -/* 8032BCF0 00328C50 40 81 00 0C */ ble lbl_8032BCFC -/* 8032BCF4 00328C54 EC 84 08 28 */ fsubs f4, f4, f1 -/* 8032BCF8 00328C58 48 00 00 1C */ b lbl_8032BD14 -lbl_8032BCFC: -/* 8032BCFC 00328C5C C0 02 CA E8 */ lfs f0, lbl_805AE808@sda21(r2) -/* 8032BD00 00328C60 FC 04 00 40 */ fcmpo cr0, f4, f0 -/* 8032BD04 00328C64 40 80 00 10 */ bge lbl_8032BD14 -/* 8032BD08 00328C68 EC 81 20 2A */ fadds f4, f1, f4 -/* 8032BD0C 00328C6C 48 00 00 08 */ b lbl_8032BD14 -lbl_8032BD10: -/* 8032BD10 00328C70 FC 80 18 90 */ fmr f4, f3 -lbl_8032BD14: -/* 8032BD14 00328C74 C8 41 01 00 */ lfd f2, 0x100(r1) -/* 8032BD18 00328C78 EC E4 01 32 */ fmuls f7, f4, f4 -/* 8032BD1C 00328C7C C8 01 01 28 */ lfd f0, 0x128(r1) -/* 8032BD20 00328C80 EC A4 00 B2 */ fmuls f5, f4, f2 -/* 8032BD24 00328C84 C0 62 CA A8 */ lfs f3, lbl_805AE7C8@sda21(r2) -/* 8032BD28 00328C88 C8 41 00 E0 */ lfd f2, 0xe0(r1) -/* 8032BD2C 00328C8C EC C4 01 F2 */ fmuls f6, f4, f7 -/* 8032BD30 00328C90 C0 3D 00 04 */ lfs f1, 4(r29) -/* 8032BD34 00328C94 EC 04 00 2A */ fadds f0, f4, f0 -/* 8032BD38 00328C98 EC 67 18 BA */ fmadds f3, f7, f2, f3 -/* 8032BD3C 00328C9C C8 41 01 20 */ lfd f2, 0x120(r1) -/* 8032BD40 00328CA0 EC 87 01 F2 */ fmuls f4, f7, f7 -/* 8032BD44 00328CA4 D0 41 00 94 */ stfs f2, 0x94(r1) -/* 8032BD48 00328CA8 C8 41 01 08 */ lfd f2, 0x108(r1) -/* 8032BD4C 00328CAC EC A6 28 BA */ fmadds f5, f6, f2, f5 -/* 8032BD50 00328CB0 C8 41 00 E8 */ lfd f2, 0xe8(r1) -/* 8032BD54 00328CB4 EC C6 01 F2 */ fmuls f6, f6, f7 -/* 8032BD58 00328CB8 EC 64 18 BA */ fmadds f3, f4, f2, f3 -/* 8032BD5C 00328CBC C8 41 01 10 */ lfd f2, 0x110(r1) -/* 8032BD60 00328CC0 EC 84 01 F2 */ fmuls f4, f4, f7 -/* 8032BD64 00328CC4 EC A6 28 BA */ fmadds f5, f6, f2, f5 -/* 8032BD68 00328CC8 C8 41 00 F0 */ lfd f2, 0xf0(r1) -/* 8032BD6C 00328CCC EC C6 01 F2 */ fmuls f6, f6, f7 -/* 8032BD70 00328CD0 EC 64 18 BA */ fmadds f3, f4, f2, f3 -/* 8032BD74 00328CD4 C8 41 01 18 */ lfd f2, 0x118(r1) -/* 8032BD78 00328CD8 EC 84 01 F2 */ fmuls f4, f4, f7 -/* 8032BD7C 00328CDC EC A6 28 BA */ fmadds f5, f6, f2, f5 -/* 8032BD80 00328CE0 C8 41 00 C8 */ lfd f2, 0xc8(r1) -/* 8032BD84 00328CE4 FC 00 10 40 */ fcmpo cr0, f0, f2 -/* 8032BD88 00328CE8 C8 41 00 F8 */ lfd f2, 0xf8(r1) -/* 8032BD8C 00328CEC EC 64 18 BA */ fmadds f3, f4, f2, f3 -/* 8032BD90 00328CF0 EC 41 01 72 */ fmuls f2, f1, f5 -/* 8032BD94 00328CF4 EC 61 00 F2 */ fmuls f3, f1, f3 -/* 8032BD98 00328CF8 D0 41 00 98 */ stfs f2, 0x98(r1) -/* 8032BD9C 00328CFC D0 61 00 90 */ stfs f3, 0x90(r1) -/* 8032BDA0 00328D00 40 81 00 0C */ ble lbl_8032BDAC -/* 8032BDA4 00328D04 C0 42 CA E4 */ lfs f2, lbl_805AE804@sda21(r2) -/* 8032BDA8 00328D08 EC 00 10 28 */ fsubs f0, f0, f2 -lbl_8032BDAC: -/* 8032BDAC 00328D0C C8 41 01 00 */ lfd f2, 0x100(r1) -/* 8032BDB0 00328D10 EC E0 00 32 */ fmuls f7, f0, f0 -/* 8032BDB4 00328D14 C0 82 CA A8 */ lfs f4, lbl_805AE7C8@sda21(r2) -/* 8032BDB8 00328D18 EC A0 00 B2 */ fmuls f5, f0, f2 -/* 8032BDBC 00328D1C C8 41 01 20 */ lfd f2, 0x120(r1) -/* 8032BDC0 00328D20 EC C0 01 F2 */ fmuls f6, f0, f7 -/* 8032BDC4 00328D24 D0 41 00 88 */ stfs f2, 0x88(r1) -/* 8032BDC8 00328D28 EC 67 01 F2 */ fmuls f3, f7, f7 -/* 8032BDCC 00328D2C C8 41 00 E0 */ lfd f2, 0xe0(r1) -/* 8032BDD0 00328D30 EC 87 20 BA */ fmadds f4, f7, f2, f4 -/* 8032BDD4 00328D34 C8 41 01 08 */ lfd f2, 0x108(r1) -/* 8032BDD8 00328D38 EC A6 28 BA */ fmadds f5, f6, f2, f5 -/* 8032BDDC 00328D3C C8 41 00 E8 */ lfd f2, 0xe8(r1) -/* 8032BDE0 00328D40 EC C6 01 F2 */ fmuls f6, f6, f7 -/* 8032BDE4 00328D44 EC 83 20 BA */ fmadds f4, f3, f2, f4 -/* 8032BDE8 00328D48 C8 41 01 10 */ lfd f2, 0x110(r1) -/* 8032BDEC 00328D4C EC 63 01 F2 */ fmuls f3, f3, f7 -/* 8032BDF0 00328D50 EC A6 28 BA */ fmadds f5, f6, f2, f5 -/* 8032BDF4 00328D54 C8 41 00 F0 */ lfd f2, 0xf0(r1) -/* 8032BDF8 00328D58 EC C6 01 F2 */ fmuls f6, f6, f7 -/* 8032BDFC 00328D5C EC 83 20 BA */ fmadds f4, f3, f2, f4 -/* 8032BE00 00328D60 C8 41 01 18 */ lfd f2, 0x118(r1) -/* 8032BE04 00328D64 EC 63 01 F2 */ fmuls f3, f3, f7 -/* 8032BE08 00328D68 EC A6 28 BA */ fmadds f5, f6, f2, f5 -/* 8032BE0C 00328D6C C8 41 01 28 */ lfd f2, 0x128(r1) -/* 8032BE10 00328D70 EC 00 10 2A */ fadds f0, f0, f2 -/* 8032BE14 00328D74 C8 41 00 F8 */ lfd f2, 0xf8(r1) -/* 8032BE18 00328D78 EC 83 20 BA */ fmadds f4, f3, f2, f4 -/* 8032BE1C 00328D7C C8 41 00 C8 */ lfd f2, 0xc8(r1) -/* 8032BE20 00328D80 EC 61 01 72 */ fmuls f3, f1, f5 -/* 8032BE24 00328D84 FC 00 10 40 */ fcmpo cr0, f0, f2 -/* 8032BE28 00328D88 EC 41 01 32 */ fmuls f2, f1, f4 -/* 8032BE2C 00328D8C D0 61 00 8C */ stfs f3, 0x8c(r1) -/* 8032BE30 00328D90 D0 41 00 84 */ stfs f2, 0x84(r1) -/* 8032BE34 00328D94 40 81 00 0C */ ble lbl_8032BE40 -/* 8032BE38 00328D98 C0 42 CA E4 */ lfs f2, lbl_805AE804@sda21(r2) -/* 8032BE3C 00328D9C EC 00 10 28 */ fsubs f0, f0, f2 -lbl_8032BE40: -/* 8032BE40 00328DA0 EC C0 00 32 */ fmuls f6, f0, f0 -/* 8032BE44 00328DA4 C8 41 01 00 */ lfd f2, 0x100(r1) -/* 8032BE48 00328DA8 C0 62 CA A8 */ lfs f3, lbl_805AE7C8@sda21(r2) -/* 8032BE4C 00328DAC 2C 19 00 02 */ cmpwi r25, 2 -/* 8032BE50 00328DB0 EC 80 00 B2 */ fmuls f4, f0, f2 -/* 8032BE54 00328DB4 C8 41 01 20 */ lfd f2, 0x120(r1) -/* 8032BE58 00328DB8 EC A0 01 B2 */ fmuls f5, f0, f6 -/* 8032BE5C 00328DBC C8 01 00 E0 */ lfd f0, 0xe0(r1) -/* 8032BE60 00328DC0 D0 41 00 7C */ stfs f2, 0x7c(r1) -/* 8032BE64 00328DC4 EC 46 01 B2 */ fmuls f2, f6, f6 -/* 8032BE68 00328DC8 EC 66 18 3A */ fmadds f3, f6, f0, f3 -/* 8032BE6C 00328DCC C8 01 01 08 */ lfd f0, 0x108(r1) -/* 8032BE70 00328DD0 EC 85 20 3A */ fmadds f4, f5, f0, f4 -/* 8032BE74 00328DD4 C8 01 00 E8 */ lfd f0, 0xe8(r1) -/* 8032BE78 00328DD8 EC A5 01 B2 */ fmuls f5, f5, f6 -/* 8032BE7C 00328DDC EC 62 18 3A */ fmadds f3, f2, f0, f3 -/* 8032BE80 00328DE0 C8 01 01 10 */ lfd f0, 0x110(r1) -/* 8032BE84 00328DE4 EC 42 01 B2 */ fmuls f2, f2, f6 -/* 8032BE88 00328DE8 EC 85 20 3A */ fmadds f4, f5, f0, f4 -/* 8032BE8C 00328DEC C8 01 00 F0 */ lfd f0, 0xf0(r1) -/* 8032BE90 00328DF0 EC A5 01 B2 */ fmuls f5, f5, f6 -/* 8032BE94 00328DF4 EC 62 18 3A */ fmadds f3, f2, f0, f3 -/* 8032BE98 00328DF8 C8 01 01 18 */ lfd f0, 0x118(r1) -/* 8032BE9C 00328DFC EC 42 01 B2 */ fmuls f2, f2, f6 -/* 8032BEA0 00328E00 EC 85 20 3A */ fmadds f4, f5, f0, f4 -/* 8032BEA4 00328E04 C8 01 00 F8 */ lfd f0, 0xf8(r1) -/* 8032BEA8 00328E08 EC 62 18 3A */ fmadds f3, f2, f0, f3 -/* 8032BEAC 00328E0C EC 01 01 32 */ fmuls f0, f1, f4 -/* 8032BEB0 00328E10 EC 21 00 F2 */ fmuls f1, f1, f3 -/* 8032BEB4 00328E14 D0 01 00 80 */ stfs f0, 0x80(r1) -/* 8032BEB8 00328E18 D0 21 00 78 */ stfs f1, 0x78(r1) -/* 8032BEBC 00328E1C C0 3D 00 0C */ lfs f1, 0xc(r29) -/* 8032BEC0 00328E20 C0 1D 00 24 */ lfs f0, 0x24(r29) -/* 8032BEC4 00328E24 C0 7D 00 10 */ lfs f3, 0x10(r29) -/* 8032BEC8 00328E28 EF A1 00 2A */ fadds f29, f1, f0 -/* 8032BECC 00328E2C C0 5D 00 28 */ lfs f2, 0x28(r29) -/* 8032BED0 00328E30 C0 3D 00 14 */ lfs f1, 0x14(r29) -/* 8032BED4 00328E34 C0 1D 00 2C */ lfs f0, 0x2c(r29) -/* 8032BED8 00328E38 EF E3 10 2A */ fadds f31, f3, f2 -/* 8032BEDC 00328E3C EF C1 00 2A */ fadds f30, f1, f0 -/* 8032BEE0 00328E40 40 82 00 E4 */ bne lbl_8032BFC4 -/* 8032BEE4 00328E44 80 95 01 88 */ lwz r4, 0x188(r21) -/* 8032BEE8 00328E48 80 75 01 78 */ lwz r3, 0x178(r21) -/* 8032BEEC 00328E4C C0 C2 CA A0 */ lfs f6, lbl_805AE7C0@sda21(r2) -/* 8032BEF0 00328E50 C0 04 00 00 */ lfs f0, 0(r4) -/* 8032BEF4 00328E54 C0 64 00 04 */ lfs f3, 4(r4) -/* 8032BEF8 00328E58 EC 26 00 32 */ fmuls f1, f6, f0 -/* 8032BEFC 00328E5C C0 03 00 00 */ lfs f0, 0(r3) -/* 8032BF00 00328E60 C0 44 00 08 */ lfs f2, 8(r4) -/* 8032BF04 00328E64 EC 86 00 F2 */ fmuls f4, f6, f3 -/* 8032BF08 00328E68 C0 63 00 04 */ lfs f3, 4(r3) -/* 8032BF0C 00328E6C EC 01 00 28 */ fsubs f0, f1, f0 -/* 8032BF10 00328E70 EC 46 00 B2 */ fmuls f2, f6, f2 -/* 8032BF14 00328E74 C0 23 00 08 */ lfs f1, 8(r3) -/* 8032BF18 00328E78 80 75 01 A8 */ lwz r3, 0x1a8(r21) -/* 8032BF1C 00328E7C EC 64 18 28 */ fsubs f3, f4, f3 -/* 8032BF20 00328E80 D0 03 00 00 */ stfs f0, 0(r3) -/* 8032BF24 00328E84 EC 02 08 28 */ fsubs f0, f2, f1 -/* 8032BF28 00328E88 D0 63 00 04 */ stfs f3, 4(r3) -/* 8032BF2C 00328E8C D0 03 00 08 */ stfs f0, 8(r3) -/* 8032BF30 00328E90 80 75 01 88 */ lwz r3, 0x188(r21) -/* 8032BF34 00328E94 80 95 01 78 */ lwz r4, 0x178(r21) -/* 8032BF38 00328E98 C0 03 00 0C */ lfs f0, 0xc(r3) -/* 8032BF3C 00328E9C C0 63 00 10 */ lfs f3, 0x10(r3) -/* 8032BF40 00328EA0 C0 43 00 14 */ lfs f2, 0x14(r3) -/* 8032BF44 00328EA4 EC 26 00 32 */ fmuls f1, f6, f0 -/* 8032BF48 00328EA8 C0 04 00 0C */ lfs f0, 0xc(r4) -/* 8032BF4C 00328EAC EC A6 00 F2 */ fmuls f5, f6, f3 -/* 8032BF50 00328EB0 C0 84 00 10 */ lfs f4, 0x10(r4) -/* 8032BF54 00328EB4 EC 66 00 B2 */ fmuls f3, f6, f2 -/* 8032BF58 00328EB8 C0 44 00 14 */ lfs f2, 0x14(r4) -/* 8032BF5C 00328EBC EC 01 00 28 */ fsubs f0, f1, f0 -/* 8032BF60 00328EC0 80 75 01 A8 */ lwz r3, 0x1a8(r21) -/* 8032BF64 00328EC4 EC 85 20 28 */ fsubs f4, f5, f4 -/* 8032BF68 00328EC8 EC 23 10 28 */ fsubs f1, f3, f2 -/* 8032BF6C 00328ECC D0 03 00 0C */ stfs f0, 0xc(r3) -/* 8032BF70 00328ED0 D0 83 00 10 */ stfs f4, 0x10(r3) -/* 8032BF74 00328ED4 D0 23 00 14 */ stfs f1, 0x14(r3) -/* 8032BF78 00328ED8 80 75 01 88 */ lwz r3, 0x188(r21) -/* 8032BF7C 00328EDC 80 95 01 78 */ lwz r4, 0x178(r21) -/* 8032BF80 00328EE0 C0 03 00 18 */ lfs f0, 0x18(r3) -/* 8032BF84 00328EE4 C0 63 00 1C */ lfs f3, 0x1c(r3) -/* 8032BF88 00328EE8 C0 43 00 20 */ lfs f2, 0x20(r3) -/* 8032BF8C 00328EEC EC 26 00 32 */ fmuls f1, f6, f0 -/* 8032BF90 00328EF0 C0 04 00 18 */ lfs f0, 0x18(r4) -/* 8032BF94 00328EF4 EC A6 00 F2 */ fmuls f5, f6, f3 -/* 8032BF98 00328EF8 C0 84 00 1C */ lfs f4, 0x1c(r4) -/* 8032BF9C 00328EFC EC 66 00 B2 */ fmuls f3, f6, f2 -/* 8032BFA0 00328F00 C0 44 00 20 */ lfs f2, 0x20(r4) -/* 8032BFA4 00328F04 EC 01 00 28 */ fsubs f0, f1, f0 -/* 8032BFA8 00328F08 80 75 01 A8 */ lwz r3, 0x1a8(r21) -/* 8032BFAC 00328F0C EC 85 20 28 */ fsubs f4, f5, f4 -/* 8032BFB0 00328F10 EC 23 10 28 */ fsubs f1, f3, f2 -/* 8032BFB4 00328F14 D0 03 00 18 */ stfs f0, 0x18(r3) -/* 8032BFB8 00328F18 D0 83 00 1C */ stfs f4, 0x1c(r3) -/* 8032BFBC 00328F1C D0 23 00 20 */ stfs f1, 0x20(r3) -/* 8032BFC0 00328F20 48 00 00 64 */ b lbl_8032C024 -lbl_8032BFC4: -/* 8032BFC4 00328F24 80 75 01 98 */ lwz r3, 0x198(r21) -/* 8032BFC8 00328F28 80 95 01 A8 */ lwz r4, 0x1a8(r21) -/* 8032BFCC 00328F2C C0 03 00 00 */ lfs f0, 0(r3) -/* 8032BFD0 00328F30 D0 04 00 00 */ stfs f0, 0(r4) -/* 8032BFD4 00328F34 C0 03 00 04 */ lfs f0, 4(r3) -/* 8032BFD8 00328F38 D0 04 00 04 */ stfs f0, 4(r4) -/* 8032BFDC 00328F3C C0 03 00 08 */ lfs f0, 8(r3) -/* 8032BFE0 00328F40 D0 04 00 08 */ stfs f0, 8(r4) -/* 8032BFE4 00328F44 80 95 01 98 */ lwz r4, 0x198(r21) -/* 8032BFE8 00328F48 80 75 01 A8 */ lwz r3, 0x1a8(r21) -/* 8032BFEC 00328F4C C0 04 00 0C */ lfs f0, 0xc(r4) -/* 8032BFF0 00328F50 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 8032BFF4 00328F54 C0 04 00 10 */ lfs f0, 0x10(r4) -/* 8032BFF8 00328F58 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 8032BFFC 00328F5C C0 04 00 14 */ lfs f0, 0x14(r4) -/* 8032C000 00328F60 D0 03 00 14 */ stfs f0, 0x14(r3) -/* 8032C004 00328F64 80 95 01 98 */ lwz r4, 0x198(r21) -/* 8032C008 00328F68 80 75 01 A8 */ lwz r3, 0x1a8(r21) -/* 8032C00C 00328F6C C0 04 00 18 */ lfs f0, 0x18(r4) -/* 8032C010 00328F70 D0 03 00 18 */ stfs f0, 0x18(r3) -/* 8032C014 00328F74 C0 04 00 1C */ lfs f0, 0x1c(r4) -/* 8032C018 00328F78 D0 03 00 1C */ stfs f0, 0x1c(r3) -/* 8032C01C 00328F7C C0 04 00 20 */ lfs f0, 0x20(r4) -/* 8032C020 00328F80 D0 03 00 20 */ stfs f0, 0x20(r3) -lbl_8032C024: -/* 8032C024 00328F84 80 D5 01 88 */ lwz r6, 0x188(r21) -/* 8032C028 00328F88 38 61 00 6C */ addi r3, r1, 0x6c -/* 8032C02C 00328F8C 80 F5 01 98 */ lwz r7, 0x198(r21) -/* 8032C030 00328F90 38 9D 00 38 */ addi r4, r29, 0x38 -/* 8032C034 00328F94 C0 06 00 00 */ lfs f0, 0(r6) -/* 8032C038 00328F98 38 A1 00 90 */ addi r5, r1, 0x90 -/* 8032C03C 00328F9C D0 07 00 00 */ stfs f0, 0(r7) -/* 8032C040 00328FA0 C0 06 00 04 */ lfs f0, 4(r6) -/* 8032C044 00328FA4 D0 07 00 04 */ stfs f0, 4(r7) -/* 8032C048 00328FA8 C0 06 00 08 */ lfs f0, 8(r6) -/* 8032C04C 00328FAC D0 07 00 08 */ stfs f0, 8(r7) -/* 8032C050 00328FB0 80 F5 01 88 */ lwz r7, 0x188(r21) -/* 8032C054 00328FB4 80 D5 01 98 */ lwz r6, 0x198(r21) -/* 8032C058 00328FB8 C0 07 00 0C */ lfs f0, 0xc(r7) -/* 8032C05C 00328FBC D0 06 00 0C */ stfs f0, 0xc(r6) -/* 8032C060 00328FC0 C0 07 00 10 */ lfs f0, 0x10(r7) -/* 8032C064 00328FC4 D0 06 00 10 */ stfs f0, 0x10(r6) -/* 8032C068 00328FC8 C0 07 00 14 */ lfs f0, 0x14(r7) -/* 8032C06C 00328FCC D0 06 00 14 */ stfs f0, 0x14(r6) -/* 8032C070 00328FD0 80 F5 01 88 */ lwz r7, 0x188(r21) -/* 8032C074 00328FD4 80 D5 01 98 */ lwz r6, 0x198(r21) -/* 8032C078 00328FD8 C0 07 00 18 */ lfs f0, 0x18(r7) -/* 8032C07C 00328FDC D0 06 00 18 */ stfs f0, 0x18(r6) -/* 8032C080 00328FE0 C0 07 00 1C */ lfs f0, 0x1c(r7) -/* 8032C084 00328FE4 D0 06 00 1C */ stfs f0, 0x1c(r6) -/* 8032C088 00328FE8 C0 07 00 20 */ lfs f0, 0x20(r7) -/* 8032C08C 00328FEC D0 06 00 20 */ stfs f0, 0x20(r6) -/* 8032C090 00328FF0 80 D5 01 78 */ lwz r6, 0x178(r21) -/* 8032C094 00328FF4 80 F5 01 88 */ lwz r7, 0x188(r21) -/* 8032C098 00328FF8 C0 06 00 00 */ lfs f0, 0(r6) -/* 8032C09C 00328FFC D0 07 00 00 */ stfs f0, 0(r7) -/* 8032C0A0 00329000 C0 06 00 04 */ lfs f0, 4(r6) -/* 8032C0A4 00329004 D0 07 00 04 */ stfs f0, 4(r7) -/* 8032C0A8 00329008 C0 06 00 08 */ lfs f0, 8(r6) -/* 8032C0AC 0032900C D0 07 00 08 */ stfs f0, 8(r7) -/* 8032C0B0 00329010 80 F5 01 78 */ lwz r7, 0x178(r21) -/* 8032C0B4 00329014 80 D5 01 88 */ lwz r6, 0x188(r21) -/* 8032C0B8 00329018 C0 07 00 0C */ lfs f0, 0xc(r7) -/* 8032C0BC 0032901C D0 06 00 0C */ stfs f0, 0xc(r6) -/* 8032C0C0 00329020 C0 07 00 10 */ lfs f0, 0x10(r7) -/* 8032C0C4 00329024 D0 06 00 10 */ stfs f0, 0x10(r6) -/* 8032C0C8 00329028 C0 07 00 14 */ lfs f0, 0x14(r7) -/* 8032C0CC 0032902C D0 06 00 14 */ stfs f0, 0x14(r6) -/* 8032C0D0 00329030 80 F5 01 78 */ lwz r7, 0x178(r21) -/* 8032C0D4 00329034 80 D5 01 88 */ lwz r6, 0x188(r21) -/* 8032C0D8 00329038 C0 07 00 18 */ lfs f0, 0x18(r7) -/* 8032C0DC 0032903C D0 06 00 18 */ stfs f0, 0x18(r6) -/* 8032C0E0 00329040 C0 07 00 1C */ lfs f0, 0x1c(r7) -/* 8032C0E4 00329044 D0 06 00 1C */ stfs f0, 0x1c(r6) -/* 8032C0E8 00329048 C0 07 00 20 */ lfs f0, 0x20(r7) -/* 8032C0EC 0032904C D0 06 00 20 */ stfs f0, 0x20(r6) -/* 8032C0F0 00329050 4B FE 69 F9 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 8032C0F4 00329054 C0 01 00 6C */ lfs f0, 0x6c(r1) -/* 8032C0F8 00329058 38 61 00 60 */ addi r3, r1, 0x60 -/* 8032C0FC 0032905C C0 41 00 70 */ lfs f2, 0x70(r1) -/* 8032C100 00329060 38 9D 00 38 */ addi r4, r29, 0x38 -/* 8032C104 00329064 EC 00 E8 2A */ fadds f0, f0, f29 -/* 8032C108 00329068 C0 21 00 74 */ lfs f1, 0x74(r1) -/* 8032C10C 0032906C 80 D5 01 78 */ lwz r6, 0x178(r21) -/* 8032C110 00329070 EC 42 F8 2A */ fadds f2, f2, f31 -/* 8032C114 00329074 EC 21 F0 2A */ fadds f1, f1, f30 -/* 8032C118 00329078 38 A1 00 84 */ addi r5, r1, 0x84 -/* 8032C11C 0032907C D0 06 00 00 */ stfs f0, 0(r6) -/* 8032C120 00329080 D0 46 00 04 */ stfs f2, 4(r6) -/* 8032C124 00329084 D0 26 00 08 */ stfs f1, 8(r6) -/* 8032C128 00329088 4B FE 69 C1 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 8032C12C 0032908C C0 01 00 60 */ lfs f0, 0x60(r1) -/* 8032C130 00329090 38 61 00 54 */ addi r3, r1, 0x54 -/* 8032C134 00329094 C0 41 00 64 */ lfs f2, 0x64(r1) -/* 8032C138 00329098 38 9D 00 38 */ addi r4, r29, 0x38 -/* 8032C13C 0032909C EC 00 E8 2A */ fadds f0, f0, f29 -/* 8032C140 003290A0 C0 21 00 68 */ lfs f1, 0x68(r1) -/* 8032C144 003290A4 80 D5 01 78 */ lwz r6, 0x178(r21) -/* 8032C148 003290A8 EC 42 F8 2A */ fadds f2, f2, f31 -/* 8032C14C 003290AC EC 21 F0 2A */ fadds f1, f1, f30 -/* 8032C150 003290B0 38 A1 00 78 */ addi r5, r1, 0x78 -/* 8032C154 003290B4 D0 06 00 0C */ stfs f0, 0xc(r6) -/* 8032C158 003290B8 D0 46 00 10 */ stfs f2, 0x10(r6) -/* 8032C15C 003290BC D0 26 00 14 */ stfs f1, 0x14(r6) -/* 8032C160 003290C0 4B FE 69 89 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 8032C164 003290C4 C0 01 00 54 */ lfs f0, 0x54(r1) -/* 8032C168 003290C8 7F 94 E3 78 */ mr r20, r28 -/* 8032C16C 003290CC C0 41 00 58 */ lfs f2, 0x58(r1) -/* 8032C170 003290D0 7F 7C DB 78 */ mr r28, r27 -/* 8032C174 003290D4 EC 00 E8 2A */ fadds f0, f0, f29 -/* 8032C178 003290D8 C0 21 00 5C */ lfs f1, 0x5c(r1) -/* 8032C17C 003290DC 80 75 01 78 */ lwz r3, 0x178(r21) -/* 8032C180 003290E0 EC 42 F8 2A */ fadds f2, f2, f31 -/* 8032C184 003290E4 EC 21 F0 2A */ fadds f1, f1, f30 -/* 8032C188 003290E8 D0 03 00 18 */ stfs f0, 0x18(r3) -/* 8032C18C 003290EC D0 43 00 1C */ stfs f2, 0x1c(r3) -/* 8032C190 003290F0 D0 23 00 20 */ stfs f1, 0x20(r3) -/* 8032C194 003290F4 88 1D 00 00 */ lbz r0, 0(r29) -/* 8032C198 003290F8 28 00 00 00 */ cmplwi r0, 0 -/* 8032C19C 003290FC 41 82 04 48 */ beq lbl_8032C5E4 -/* 8032C1A0 00329100 C2 41 00 B0 */ lfs f18, 0xb0(r1) -/* 8032C1A4 00329104 38 61 00 08 */ addi r3, r1, 8 -/* 8032C1A8 00329108 38 9D 00 6C */ addi r4, r29, 0x6c -/* 8032C1AC 0032910C 38 B5 02 0C */ addi r5, r21, 0x20c -/* 8032C1B0 00329110 48 03 6F C9 */ bl Modulate__6CColorFRC6CColorRC6CColor -/* 8032C1B4 00329114 FC 00 90 90 */ fmr f0, f18 -/* 8032C1B8 00329118 C0 35 01 E8 */ lfs f1, 0x1e8(r21) -/* 8032C1BC 0032911C 2C 19 00 01 */ cmpwi r25, 1 -/* 8032C1C0 00329120 83 61 00 08 */ lwz r27, 8(r1) -/* 8032C1C4 00329124 EC 00 08 2A */ fadds f0, f0, f1 -/* 8032C1C8 00329128 D0 01 00 B0 */ stfs f0, 0xb0(r1) -/* 8032C1CC 0032912C 40 81 04 18 */ ble lbl_8032C5E4 -/* 8032C1D0 00329130 80 75 01 B0 */ lwz r3, 0x1b0(r21) -/* 8032C1D4 00329134 3C 80 80 5A */ lis r4, skZero3f@ha -/* 8032C1D8 00329138 C2 24 66 A0 */ lfs f17, skZero3f@l(r4) -/* 8032C1DC 0032913C 3B 00 00 00 */ li r24, 0 -/* 8032C1E0 00329140 C2 1E 00 04 */ lfs f16, 4(r30) -/* 8032C1E4 00329144 38 03 00 01 */ addi r0, r3, 1 -/* 8032C1E8 00329148 C1 FE 00 08 */ lfs f15, 8(r30) -/* 8032C1EC 0032914C 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8032C1F0 00329150 FF A0 88 90 */ fmr f29, f17 -/* 8032C1F4 00329154 C1 C2 CA 94 */ lfs f14, lbl_805AE7B4@sda21(r2) -/* 8032C1F8 00329158 FF 80 80 90 */ fmr f28, f16 -/* 8032C1FC 0032915C 38 60 00 80 */ li r3, 0x80 -/* 8032C200 00329160 FF 60 78 90 */ fmr f27, f15 -/* 8032C204 00329164 FF 40 88 90 */ fmr f26, f17 -/* 8032C208 00329168 FF 20 80 90 */ fmr f25, f16 -/* 8032C20C 0032916C 54 05 04 3E */ clrlwi r5, r0, 0x10 -/* 8032C210 00329170 FF 00 78 90 */ fmr f24, f15 -/* 8032C214 00329174 38 80 00 00 */ li r4, 0 -/* 8032C218 00329178 4B FD C3 6D */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs -/* 8032C21C 0032917C C0 01 00 B0 */ lfs f0, 0xb0(r1) -/* 8032C220 00329180 7E 9D A3 78 */ mr r29, r20 -/* 8032C224 00329184 CB C2 CA F0 */ lfd f30, lbl_805AE810@sda21(r2) -/* 8032C228 00329188 3A E0 00 00 */ li r23, 0 -/* 8032C22C 0032918C EC 12 00 28 */ fsubs f0, f18, f0 -/* 8032C230 00329190 3F E0 43 30 */ lis r31, 0x4330 -/* 8032C234 00329194 3E 80 CC 01 */ lis r20, 0xcc01 -/* 8032C238 00329198 D0 01 00 B4 */ stfs f0, 0xb4(r1) -/* 8032C23C 0032919C 48 00 03 94 */ b lbl_8032C5D0 -lbl_8032C240: -/* 8032C240 003291A0 38 17 00 01 */ addi r0, r23, 1 -/* 8032C244 003291A4 6C 67 80 00 */ xoris r7, r3, 0x8000 -/* 8032C248 003291A8 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 8032C24C 003291AC 93 E1 00 A8 */ stw r31, 0xa8(r1) -/* 8032C250 003291B0 FF E0 70 90 */ fmr f31, f14 -/* 8032C254 003291B4 2C 17 00 00 */ cmpwi r23, 0 -/* 8032C258 003291B8 90 01 00 AC */ stw r0, 0xac(r1) -/* 8032C25C 003291BC FE E0 E8 90 */ fmr f23, f29 -/* 8032C260 003291C0 FE C0 E0 90 */ fmr f22, f28 -/* 8032C264 003291C4 7F 16 C3 78 */ mr r22, r24 -/* 8032C268 003291C8 C8 01 00 A8 */ lfd f0, 0xa8(r1) -/* 8032C26C 003291CC FE A0 D8 90 */ fmr f21, f27 -/* 8032C270 003291D0 90 E1 00 A4 */ stw r7, 0xa4(r1) -/* 8032C274 003291D4 FE 80 D0 90 */ fmr f20, f26 -/* 8032C278 003291D8 EC 20 F0 28 */ fsubs f1, f0, f30 -/* 8032C27C 003291DC 93 E1 00 A0 */ stw r31, 0xa0(r1) -/* 8032C280 003291E0 FE 60 C8 90 */ fmr f19, f25 -/* 8032C284 003291E4 FE 40 C0 90 */ fmr f18, f24 -/* 8032C288 003291E8 C8 01 00 A0 */ lfd f0, 0xa0(r1) -/* 8032C28C 003291EC D2 21 00 C0 */ stfs f17, 0xc0(r1) -/* 8032C290 003291F0 EC 00 F0 28 */ fsubs f0, f0, f30 -/* 8032C294 003291F4 D2 01 00 BC */ stfs f16, 0xbc(r1) -/* 8032C298 003291F8 ED C1 00 24 */ fdivs f14, f1, f0 -/* 8032C29C 003291FC D1 E1 00 B8 */ stfs f15, 0xb8(r1) -/* 8032C2A0 00329200 40 82 01 00 */ bne lbl_8032C3A0 -/* 8032C2A4 00329204 3C 00 43 30 */ lis r0, 0x4330 -/* 8032C2A8 00329208 6E E3 80 00 */ xoris r3, r23, 0x8000 -/* 8032C2AC 0032920C 90 61 00 AC */ stw r3, 0xac(r1) -/* 8032C2B0 00329210 7E A4 AB 78 */ mr r4, r21 -/* 8032C2B4 00329214 80 B5 01 78 */ lwz r5, 0x178(r21) -/* 8032C2B8 00329218 38 61 00 48 */ addi r3, r1, 0x48 -/* 8032C2BC 0032921C 90 01 00 A8 */ stw r0, 0xa8(r1) -/* 8032C2C0 00329220 80 D5 01 88 */ lwz r6, 0x188(r21) -/* 8032C2C4 00329224 C8 01 00 A8 */ lfd f0, 0xa8(r1) -/* 8032C2C8 00329228 90 E1 00 A4 */ stw r7, 0xa4(r1) -/* 8032C2CC 0032922C EC 20 F0 28 */ fsubs f1, f0, f30 -/* 8032C2D0 00329230 80 F5 01 98 */ lwz r7, 0x198(r21) -/* 8032C2D4 00329234 90 01 00 A0 */ stw r0, 0xa0(r1) -/* 8032C2D8 00329238 81 15 01 A8 */ lwz r8, 0x1a8(r21) -/* 8032C2DC 0032923C C8 01 00 A0 */ lfd f0, 0xa0(r1) -/* 8032C2E0 00329240 EC 00 F0 28 */ fsubs f0, f0, f30 -/* 8032C2E4 00329244 ED E1 00 24 */ fdivs f15, f1, f0 -/* 8032C2E8 00329248 FC 20 78 90 */ fmr f1, f15 -/* 8032C2EC 0032924C 4B FF E9 3D */ bl GetSplinePoint__15CParticleSwooshCFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ff -/* 8032C2F0 00329250 C0 01 00 48 */ lfs f0, 0x48(r1) -/* 8032C2F4 00329254 FC 20 78 90 */ fmr f1, f15 -/* 8032C2F8 00329258 80 B5 01 78 */ lwz r5, 0x178(r21) -/* 8032C2FC 0032925C 7E A4 AB 78 */ mr r4, r21 -/* 8032C300 00329260 D0 01 00 C0 */ stfs f0, 0xc0(r1) -/* 8032C304 00329264 38 61 00 3C */ addi r3, r1, 0x3c -/* 8032C308 00329268 C0 01 00 4C */ lfs f0, 0x4c(r1) -/* 8032C30C 0032926C 80 D5 01 88 */ lwz r6, 0x188(r21) -/* 8032C310 00329270 38 A5 00 0C */ addi r5, r5, 0xc -/* 8032C314 00329274 D0 01 00 BC */ stfs f0, 0xbc(r1) -/* 8032C318 00329278 C0 01 00 50 */ lfs f0, 0x50(r1) -/* 8032C31C 0032927C 38 C6 00 0C */ addi r6, r6, 0xc -/* 8032C320 00329280 80 F5 01 98 */ lwz r7, 0x198(r21) -/* 8032C324 00329284 81 15 01 A8 */ lwz r8, 0x1a8(r21) -/* 8032C328 00329288 D0 01 00 B8 */ stfs f0, 0xb8(r1) -/* 8032C32C 0032928C 38 E7 00 0C */ addi r7, r7, 0xc -/* 8032C330 00329290 39 08 00 0C */ addi r8, r8, 0xc -/* 8032C334 00329294 4B FF E8 F5 */ bl GetSplinePoint__15CParticleSwooshCFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ff -/* 8032C338 00329298 80 B5 01 78 */ lwz r5, 0x178(r21) -/* 8032C33C 0032929C FC 20 78 90 */ fmr f1, f15 -/* 8032C340 003292A0 80 D5 01 88 */ lwz r6, 0x188(r21) -/* 8032C344 003292A4 7E A4 AB 78 */ mr r4, r21 -/* 8032C348 003292A8 80 F5 01 98 */ lwz r7, 0x198(r21) -/* 8032C34C 003292AC 38 61 00 30 */ addi r3, r1, 0x30 -/* 8032C350 003292B0 81 15 01 A8 */ lwz r8, 0x1a8(r21) -/* 8032C354 003292B4 C2 E1 00 3C */ lfs f23, 0x3c(r1) -/* 8032C358 003292B8 38 A5 00 18 */ addi r5, r5, 0x18 -/* 8032C35C 003292BC C2 C1 00 40 */ lfs f22, 0x40(r1) -/* 8032C360 003292C0 38 C6 00 18 */ addi r6, r6, 0x18 -/* 8032C364 003292C4 C2 A1 00 44 */ lfs f21, 0x44(r1) -/* 8032C368 003292C8 38 E7 00 18 */ addi r7, r7, 0x18 -/* 8032C36C 003292CC 39 08 00 18 */ addi r8, r8, 0x18 -/* 8032C370 003292D0 4B FF E8 B9 */ bl GetSplinePoint__15CParticleSwooshCFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ff -/* 8032C374 003292D4 FC 20 78 90 */ fmr f1, f15 -/* 8032C378 003292D8 C2 81 00 30 */ lfs f20, 0x30(r1) -/* 8032C37C 003292DC C2 61 00 34 */ lfs f19, 0x34(r1) -/* 8032C380 003292E0 7F 83 E3 78 */ mr r3, r28 -/* 8032C384 003292E4 C2 41 00 38 */ lfs f18, 0x38(r1) -/* 8032C388 003292E8 7F A4 EB 78 */ mr r4, r29 -/* 8032C38C 003292EC 48 03 6E 89 */ bl Lerp__6CColorFUiUif -/* 8032C390 003292F0 C0 21 00 B4 */ lfs f1, 0xb4(r1) -/* 8032C394 003292F4 7C 76 1B 78 */ mr r22, r3 -/* 8032C398 003292F8 C0 01 00 B0 */ lfs f0, 0xb0(r1) -/* 8032C39C 003292FC EF EF 00 7A */ fmadds f31, f15, f1, f0 -lbl_8032C3A0: -/* 8032C3A0 00329300 FC 20 70 90 */ fmr f1, f14 -/* 8032C3A4 00329304 80 B5 01 78 */ lwz r5, 0x178(r21) -/* 8032C3A8 00329308 80 D5 01 88 */ lwz r6, 0x188(r21) -/* 8032C3AC 0032930C 7E A4 AB 78 */ mr r4, r21 -/* 8032C3B0 00329310 80 F5 01 98 */ lwz r7, 0x198(r21) -/* 8032C3B4 00329314 38 61 00 24 */ addi r3, r1, 0x24 -/* 8032C3B8 00329318 81 15 01 A8 */ lwz r8, 0x1a8(r21) -/* 8032C3BC 0032931C 4B FF E8 6D */ bl GetSplinePoint__15CParticleSwooshCFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ff -/* 8032C3C0 00329320 80 B5 01 78 */ lwz r5, 0x178(r21) -/* 8032C3C4 00329324 FC 20 70 90 */ fmr f1, f14 -/* 8032C3C8 00329328 80 D5 01 88 */ lwz r6, 0x188(r21) -/* 8032C3CC 0032932C 7E A4 AB 78 */ mr r4, r21 -/* 8032C3D0 00329330 80 F5 01 98 */ lwz r7, 0x198(r21) -/* 8032C3D4 00329334 38 61 00 18 */ addi r3, r1, 0x18 -/* 8032C3D8 00329338 81 15 01 A8 */ lwz r8, 0x1a8(r21) -/* 8032C3DC 0032933C C2 21 00 24 */ lfs f17, 0x24(r1) -/* 8032C3E0 00329340 38 A5 00 0C */ addi r5, r5, 0xc -/* 8032C3E4 00329344 C2 01 00 28 */ lfs f16, 0x28(r1) -/* 8032C3E8 00329348 38 C6 00 0C */ addi r6, r6, 0xc -/* 8032C3EC 0032934C C1 E1 00 2C */ lfs f15, 0x2c(r1) -/* 8032C3F0 00329350 38 E7 00 0C */ addi r7, r7, 0xc -/* 8032C3F4 00329354 39 08 00 0C */ addi r8, r8, 0xc -/* 8032C3F8 00329358 4B FF E8 31 */ bl GetSplinePoint__15CParticleSwooshCFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ff -/* 8032C3FC 0032935C 80 B5 01 78 */ lwz r5, 0x178(r21) -/* 8032C400 00329360 FC 20 70 90 */ fmr f1, f14 -/* 8032C404 00329364 80 D5 01 88 */ lwz r6, 0x188(r21) -/* 8032C408 00329368 7E A4 AB 78 */ mr r4, r21 -/* 8032C40C 0032936C 80 F5 01 98 */ lwz r7, 0x198(r21) -/* 8032C410 00329370 38 61 00 0C */ addi r3, r1, 0xc -/* 8032C414 00329374 81 15 01 A8 */ lwz r8, 0x1a8(r21) -/* 8032C418 00329378 C3 A1 00 18 */ lfs f29, 0x18(r1) -/* 8032C41C 0032937C 38 A5 00 18 */ addi r5, r5, 0x18 -/* 8032C420 00329380 C3 81 00 1C */ lfs f28, 0x1c(r1) -/* 8032C424 00329384 38 C6 00 18 */ addi r6, r6, 0x18 -/* 8032C428 00329388 C3 61 00 20 */ lfs f27, 0x20(r1) -/* 8032C42C 0032938C 38 E7 00 18 */ addi r7, r7, 0x18 -/* 8032C430 00329390 39 08 00 18 */ addi r8, r8, 0x18 -/* 8032C434 00329394 4B FF E7 F5 */ bl GetSplinePoint__15CParticleSwooshCFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ff -/* 8032C438 00329398 FC 20 70 90 */ fmr f1, f14 -/* 8032C43C 0032939C C3 41 00 0C */ lfs f26, 0xc(r1) -/* 8032C440 003293A0 C3 21 00 10 */ lfs f25, 0x10(r1) -/* 8032C444 003293A4 7F 83 E3 78 */ mr r3, r28 -/* 8032C448 003293A8 C3 01 00 14 */ lfs f24, 0x14(r1) -/* 8032C44C 003293AC 7F A4 EB 78 */ mr r4, r29 -/* 8032C450 003293B0 48 03 6D C5 */ bl Lerp__6CColorFUiUif -/* 8032C454 003293B4 C0 01 00 C0 */ lfs f0, 0xc0(r1) -/* 8032C458 003293B8 7C 78 1B 78 */ mr r24, r3 -/* 8032C45C 003293BC C0 21 00 B4 */ lfs f1, 0xb4(r1) -/* 8032C460 003293C0 3A F7 00 01 */ addi r23, r23, 1 -/* 8032C464 003293C4 D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) -/* 8032C468 003293C8 C0 01 00 B0 */ lfs f0, 0xb0(r1) -/* 8032C46C 003293CC ED CE 00 7A */ fmadds f14, f14, f1, f0 -/* 8032C470 003293D0 C0 01 00 BC */ lfs f0, 0xbc(r1) -/* 8032C474 003293D4 D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) -/* 8032C478 003293D8 C0 01 00 B8 */ lfs f0, 0xb8(r1) -/* 8032C47C 003293DC D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) -/* 8032C480 003293E0 92 D4 80 00 */ stw r22, 0xCC008000@l(r20) -/* 8032C484 003293E4 C0 15 01 D8 */ lfs f0, 0x1d8(r21) -/* 8032C488 003293E8 D3 F4 80 00 */ stfs f31, 0xCC008000@l(r20) -/* 8032C48C 003293EC D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) -/* 8032C490 003293F0 D2 F4 80 00 */ stfs f23, 0xCC008000@l(r20) -/* 8032C494 003293F4 D2 D4 80 00 */ stfs f22, 0xCC008000@l(r20) -/* 8032C498 003293F8 D2 B4 80 00 */ stfs f21, 0xCC008000@l(r20) -/* 8032C49C 003293FC 92 D4 80 00 */ stw r22, 0xCC008000@l(r20) -/* 8032C4A0 00329400 C0 15 01 E0 */ lfs f0, 0x1e0(r21) -/* 8032C4A4 00329404 D3 F4 80 00 */ stfs f31, 0xCC008000@l(r20) -/* 8032C4A8 00329408 D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) -/* 8032C4AC 0032940C D3 B4 80 00 */ stfs f29, 0xCC008000@l(r20) -/* 8032C4B0 00329410 D3 94 80 00 */ stfs f28, 0xCC008000@l(r20) -/* 8032C4B4 00329414 D3 74 80 00 */ stfs f27, 0xCC008000@l(r20) -/* 8032C4B8 00329418 93 14 80 00 */ stw r24, 0xCC008000@l(r20) -/* 8032C4BC 0032941C C0 15 01 E0 */ lfs f0, 0x1e0(r21) -/* 8032C4C0 00329420 D1 D4 80 00 */ stfs f14, 0xCC008000@l(r20) -/* 8032C4C4 00329424 D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) -/* 8032C4C8 00329428 D2 34 80 00 */ stfs f17, 0xCC008000@l(r20) -/* 8032C4CC 0032942C D2 14 80 00 */ stfs f16, 0xCC008000@l(r20) -/* 8032C4D0 00329430 D1 F4 80 00 */ stfs f15, 0xCC008000@l(r20) -/* 8032C4D4 00329434 93 14 80 00 */ stw r24, 0xCC008000@l(r20) -/* 8032C4D8 00329438 C0 15 01 D8 */ lfs f0, 0x1d8(r21) -/* 8032C4DC 0032943C D1 D4 80 00 */ stfs f14, 0xCC008000@l(r20) -/* 8032C4E0 00329440 D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) -/* 8032C4E4 00329444 D2 F4 80 00 */ stfs f23, 0xCC008000@l(r20) -/* 8032C4E8 00329448 D2 D4 80 00 */ stfs f22, 0xCC008000@l(r20) -/* 8032C4EC 0032944C D2 B4 80 00 */ stfs f21, 0xCC008000@l(r20) -/* 8032C4F0 00329450 92 D4 80 00 */ stw r22, 0xCC008000@l(r20) -/* 8032C4F4 00329454 C0 15 01 D8 */ lfs f0, 0x1d8(r21) -/* 8032C4F8 00329458 D3 F4 80 00 */ stfs f31, 0xCC008000@l(r20) -/* 8032C4FC 0032945C D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) -/* 8032C500 00329460 D2 94 80 00 */ stfs f20, 0xCC008000@l(r20) -/* 8032C504 00329464 D2 74 80 00 */ stfs f19, 0xCC008000@l(r20) -/* 8032C508 00329468 D2 54 80 00 */ stfs f18, 0xCC008000@l(r20) -/* 8032C50C 0032946C 92 D4 80 00 */ stw r22, 0xCC008000@l(r20) -/* 8032C510 00329470 C0 15 01 E0 */ lfs f0, 0x1e0(r21) -/* 8032C514 00329474 D3 F4 80 00 */ stfs f31, 0xCC008000@l(r20) -/* 8032C518 00329478 D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) -/* 8032C51C 0032947C D3 54 80 00 */ stfs f26, 0xCC008000@l(r20) -/* 8032C520 00329480 D3 34 80 00 */ stfs f25, 0xCC008000@l(r20) -/* 8032C524 00329484 D3 14 80 00 */ stfs f24, 0xCC008000@l(r20) -/* 8032C528 00329488 93 14 80 00 */ stw r24, 0xCC008000@l(r20) -/* 8032C52C 0032948C C0 15 01 E0 */ lfs f0, 0x1e0(r21) -/* 8032C530 00329490 D1 D4 80 00 */ stfs f14, 0xCC008000@l(r20) -/* 8032C534 00329494 D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) -/* 8032C538 00329498 D3 B4 80 00 */ stfs f29, 0xCC008000@l(r20) -/* 8032C53C 0032949C D3 94 80 00 */ stfs f28, 0xCC008000@l(r20) -/* 8032C540 003294A0 D3 74 80 00 */ stfs f27, 0xCC008000@l(r20) -/* 8032C544 003294A4 93 14 80 00 */ stw r24, 0xCC008000@l(r20) -/* 8032C548 003294A8 C0 15 01 D8 */ lfs f0, 0x1d8(r21) -/* 8032C54C 003294AC D1 D4 80 00 */ stfs f14, 0xCC008000@l(r20) -/* 8032C550 003294B0 D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) -/* 8032C554 003294B4 D2 94 80 00 */ stfs f20, 0xCC008000@l(r20) -/* 8032C558 003294B8 D2 74 80 00 */ stfs f19, 0xCC008000@l(r20) -/* 8032C55C 003294BC D2 54 80 00 */ stfs f18, 0xCC008000@l(r20) -/* 8032C560 003294C0 92 D4 80 00 */ stw r22, 0xCC008000@l(r20) -/* 8032C564 003294C4 C0 15 01 D8 */ lfs f0, 0x1d8(r21) -/* 8032C568 003294C8 D3 F4 80 00 */ stfs f31, 0xCC008000@l(r20) -/* 8032C56C 003294CC D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) -/* 8032C570 003294D0 C0 01 00 C0 */ lfs f0, 0xc0(r1) -/* 8032C574 003294D4 D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) -/* 8032C578 003294D8 C0 01 00 BC */ lfs f0, 0xbc(r1) -/* 8032C57C 003294DC D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) -/* 8032C580 003294E0 C0 01 00 B8 */ lfs f0, 0xb8(r1) -/* 8032C584 003294E4 D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) -/* 8032C588 003294E8 92 D4 80 00 */ stw r22, 0xCC008000@l(r20) -/* 8032C58C 003294EC C0 15 01 E0 */ lfs f0, 0x1e0(r21) -/* 8032C590 003294F0 D3 F4 80 00 */ stfs f31, 0xCC008000@l(r20) -/* 8032C594 003294F4 D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) -/* 8032C598 003294F8 D2 34 80 00 */ stfs f17, 0xCC008000@l(r20) -/* 8032C59C 003294FC D2 14 80 00 */ stfs f16, 0xCC008000@l(r20) -/* 8032C5A0 00329500 D1 F4 80 00 */ stfs f15, 0xCC008000@l(r20) -/* 8032C5A4 00329504 93 14 80 00 */ stw r24, 0xCC008000@l(r20) -/* 8032C5A8 00329508 C0 15 01 E0 */ lfs f0, 0x1e0(r21) -/* 8032C5AC 0032950C D1 D4 80 00 */ stfs f14, 0xCC008000@l(r20) -/* 8032C5B0 00329510 D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) -/* 8032C5B4 00329514 D3 54 80 00 */ stfs f26, 0xCC008000@l(r20) -/* 8032C5B8 00329518 D3 34 80 00 */ stfs f25, 0xCC008000@l(r20) -/* 8032C5BC 0032951C D3 14 80 00 */ stfs f24, 0xCC008000@l(r20) -/* 8032C5C0 00329520 93 14 80 00 */ stw r24, 0xCC008000@l(r20) -/* 8032C5C4 00329524 C0 15 01 D8 */ lfs f0, 0x1d8(r21) -/* 8032C5C8 00329528 D1 D4 80 00 */ stfs f14, 0xCC008000@l(r20) -/* 8032C5CC 0032952C D0 14 80 00 */ stfs f0, 0xCC008000@l(r20) -lbl_8032C5D0: -/* 8032C5D0 00329530 80 75 01 B0 */ lwz r3, 0x1b0(r21) -/* 8032C5D4 00329534 38 63 00 01 */ addi r3, r3, 1 -/* 8032C5D8 00329538 7C 17 18 00 */ cmpw r23, r3 -/* 8032C5DC 0032953C 41 80 FC 64 */ blt lbl_8032C240 -/* 8032C5E0 00329540 4B FD BF A1 */ bl End__3CGXFv -lbl_8032C5E4: -/* 8032C5E4 00329544 3B 39 00 01 */ addi r25, r25, 1 -lbl_8032C5E8: -/* 8032C5E8 00329548 80 95 01 60 */ lwz r4, 0x160(r21) -/* 8032C5EC 0032954C 7C 19 20 00 */ cmpw r25, r4 -/* 8032C5F0 00329550 41 80 F6 7C */ blt lbl_8032BC6C -lbl_8032C5F4: -/* 8032C5F4 00329554 E3 E1 02 78 */ psq_l f31, 632(r1), 0, qr0 -/* 8032C5F8 00329558 CB E1 02 70 */ lfd f31, 0x270(r1) -/* 8032C5FC 0032955C E3 C1 02 68 */ psq_l f30, 616(r1), 0, qr0 -/* 8032C600 00329560 CB C1 02 60 */ lfd f30, 0x260(r1) -/* 8032C604 00329564 E3 A1 02 58 */ psq_l f29, 600(r1), 0, qr0 -/* 8032C608 00329568 CB A1 02 50 */ lfd f29, 0x250(r1) -/* 8032C60C 0032956C E3 81 02 48 */ psq_l f28, 584(r1), 0, qr0 -/* 8032C610 00329570 CB 81 02 40 */ lfd f28, 0x240(r1) -/* 8032C614 00329574 E3 61 02 38 */ psq_l f27, 568(r1), 0, qr0 -/* 8032C618 00329578 CB 61 02 30 */ lfd f27, 0x230(r1) -/* 8032C61C 0032957C E3 41 02 28 */ psq_l f26, 552(r1), 0, qr0 -/* 8032C620 00329580 CB 41 02 20 */ lfd f26, 0x220(r1) -/* 8032C624 00329584 E3 21 02 18 */ psq_l f25, 536(r1), 0, qr0 -/* 8032C628 00329588 CB 21 02 10 */ lfd f25, 0x210(r1) -/* 8032C62C 0032958C E3 01 02 08 */ psq_l f24, 520(r1), 0, qr0 -/* 8032C630 00329590 CB 01 02 00 */ lfd f24, 0x200(r1) -/* 8032C634 00329594 E2 E1 01 F8 */ psq_l f23, 504(r1), 0, qr0 -/* 8032C638 00329598 CA E1 01 F0 */ lfd f23, 0x1f0(r1) -/* 8032C63C 0032959C E2 C1 01 E8 */ psq_l f22, 488(r1), 0, qr0 -/* 8032C640 003295A0 CA C1 01 E0 */ lfd f22, 0x1e0(r1) -/* 8032C644 003295A4 E2 A1 01 D8 */ psq_l f21, 472(r1), 0, qr0 -/* 8032C648 003295A8 CA A1 01 D0 */ lfd f21, 0x1d0(r1) -/* 8032C64C 003295AC E2 81 01 C8 */ psq_l f20, 456(r1), 0, qr0 -/* 8032C650 003295B0 CA 81 01 C0 */ lfd f20, 0x1c0(r1) -/* 8032C654 003295B4 E2 61 01 B8 */ psq_l f19, 440(r1), 0, qr0 -/* 8032C658 003295B8 CA 61 01 B0 */ lfd f19, 0x1b0(r1) -/* 8032C65C 003295BC E2 41 01 A8 */ psq_l f18, 424(r1), 0, qr0 -/* 8032C660 003295C0 CA 41 01 A0 */ lfd f18, 0x1a0(r1) -/* 8032C664 003295C4 E2 21 01 98 */ psq_l f17, 408(r1), 0, qr0 -/* 8032C668 003295C8 CA 21 01 90 */ lfd f17, 0x190(r1) -/* 8032C66C 003295CC E2 01 01 88 */ psq_l f16, 392(r1), 0, qr0 -/* 8032C670 003295D0 CA 01 01 80 */ lfd f16, 0x180(r1) -/* 8032C674 003295D4 E1 E1 01 78 */ psq_l f15, 376(r1), 0, qr0 -/* 8032C678 003295D8 C9 E1 01 70 */ lfd f15, 0x170(r1) -/* 8032C67C 003295DC E1 C1 01 68 */ psq_l f14, 360(r1), 0, qr0 -/* 8032C680 003295E0 C9 C1 01 60 */ lfd f14, 0x160(r1) -/* 8032C684 003295E4 BA 81 01 30 */ lmw r20, 0x130(r1) -/* 8032C688 003295E8 80 01 02 84 */ lwz r0, 0x284(r1) -/* 8032C68C 003295EC 7C 08 03 A6 */ mtlr r0 -/* 8032C690 003295F0 38 21 02 80 */ addi r1, r1, 0x280 -/* 8032C694 003295F4 4E 80 00 20 */ blr - -.global Render3SidedSolidNoSplineNoGaps__15CParticleSwooshFv -Render3SidedSolidNoSplineNoGaps__15CParticleSwooshFv: -/* 8032C698 003295F8 94 21 FD F0 */ stwu r1, -0x210(r1) -/* 8032C69C 003295FC 7C 08 02 A6 */ mflr r0 -/* 8032C6A0 00329600 90 01 02 14 */ stw r0, 0x214(r1) -/* 8032C6A4 00329604 DB E1 02 00 */ stfd f31, 0x200(r1) -/* 8032C6A8 00329608 F3 E1 02 08 */ psq_st f31, 520(r1), 0, qr0 -/* 8032C6AC 0032960C DB C1 01 F0 */ stfd f30, 0x1f0(r1) -/* 8032C6B0 00329610 F3 C1 01 F8 */ psq_st f30, 504(r1), 0, qr0 -/* 8032C6B4 00329614 DB A1 01 E0 */ stfd f29, 0x1e0(r1) -/* 8032C6B8 00329618 F3 A1 01 E8 */ psq_st f29, 488(r1), 0, qr0 -/* 8032C6BC 0032961C DB 81 01 D0 */ stfd f28, 0x1d0(r1) -/* 8032C6C0 00329620 F3 81 01 D8 */ psq_st f28, 472(r1), 0, qr0 -/* 8032C6C4 00329624 DB 61 01 C0 */ stfd f27, 0x1c0(r1) -/* 8032C6C8 00329628 F3 61 01 C8 */ psq_st f27, 456(r1), 0, qr0 -/* 8032C6CC 0032962C DB 41 01 B0 */ stfd f26, 0x1b0(r1) -/* 8032C6D0 00329630 F3 41 01 B8 */ psq_st f26, 440(r1), 0, qr0 -/* 8032C6D4 00329634 DB 21 01 A0 */ stfd f25, 0x1a0(r1) -/* 8032C6D8 00329638 F3 21 01 A8 */ psq_st f25, 424(r1), 0, qr0 -/* 8032C6DC 0032963C DB 01 01 90 */ stfd f24, 0x190(r1) -/* 8032C6E0 00329640 F3 01 01 98 */ psq_st f24, 408(r1), 0, qr0 -/* 8032C6E4 00329644 DA E1 01 80 */ stfd f23, 0x180(r1) -/* 8032C6E8 00329648 F2 E1 01 88 */ psq_st f23, 392(r1), 0, qr0 -/* 8032C6EC 0032964C DA C1 01 70 */ stfd f22, 0x170(r1) -/* 8032C6F0 00329650 F2 C1 01 78 */ psq_st f22, 376(r1), 0, qr0 -/* 8032C6F4 00329654 DA A1 01 60 */ stfd f21, 0x160(r1) -/* 8032C6F8 00329658 F2 A1 01 68 */ psq_st f21, 360(r1), 0, qr0 -/* 8032C6FC 0032965C DA 81 01 50 */ stfd f20, 0x150(r1) -/* 8032C700 00329660 F2 81 01 58 */ psq_st f20, 344(r1), 0, qr0 -/* 8032C704 00329664 DA 61 01 40 */ stfd f19, 0x140(r1) -/* 8032C708 00329668 F2 61 01 48 */ psq_st f19, 328(r1), 0, qr0 -/* 8032C70C 0032966C DA 41 01 30 */ stfd f18, 0x130(r1) -/* 8032C710 00329670 F2 41 01 38 */ psq_st f18, 312(r1), 0, qr0 -/* 8032C714 00329674 DA 21 01 20 */ stfd f17, 0x120(r1) -/* 8032C718 00329678 F2 21 01 28 */ psq_st f17, 296(r1), 0, qr0 -/* 8032C71C 0032967C DA 01 01 10 */ stfd f16, 0x110(r1) -/* 8032C720 00329680 F2 01 01 18 */ psq_st f16, 280(r1), 0, qr0 -/* 8032C724 00329684 D9 E1 01 00 */ stfd f15, 0x100(r1) -/* 8032C728 00329688 F1 E1 01 08 */ psq_st f15, 264(r1), 0, qr0 -/* 8032C72C 0032968C BE 21 00 C4 */ stmw r17, 0xc4(r1) -/* 8032C730 00329690 7C 71 1B 78 */ mr r17, r3 -/* 8032C734 00329694 80 03 01 60 */ lwz r0, 0x160(r3) -/* 8032C738 00329698 2C 00 00 02 */ cmpwi r0, 2 -/* 8032C73C 0032969C 41 80 07 F0 */ blt lbl_8032CF2C -/* 8032C740 003296A0 38 80 00 00 */ li r4, 0 -/* 8032C744 003296A4 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8032C748 003296A8 1C 04 00 0C */ mulli r0, r4, 0xc -/* 8032C74C 003296AC 3B E1 00 90 */ addi r31, r1, 0x90 -/* 8032C750 003296B0 90 81 00 8C */ stw r4, 0x8c(r1) -/* 8032C754 003296B4 38 63 66 A0 */ addi r3, r3, skZero3f@l -/* 8032C758 003296B8 7C 9F 02 15 */ add. r4, r31, r0 -/* 8032C75C 003296BC 41 82 00 1C */ beq lbl_8032C778 -/* 8032C760 003296C0 C0 03 00 00 */ lfs f0, 0(r3) -/* 8032C764 003296C4 C0 23 00 04 */ lfs f1, 4(r3) -/* 8032C768 003296C8 D0 04 00 00 */ stfs f0, 0(r4) -/* 8032C76C 003296CC C0 03 00 08 */ lfs f0, 8(r3) -/* 8032C770 003296D0 D0 24 00 04 */ stfs f1, 4(r4) -/* 8032C774 003296D4 D0 04 00 08 */ stfs f0, 8(r4) -lbl_8032C778: -/* 8032C778 003296D8 80 81 00 8C */ lwz r4, 0x8c(r1) -/* 8032C77C 003296DC 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8032C780 003296E0 38 63 66 A0 */ addi r3, r3, skZero3f@l -/* 8032C784 003296E4 38 84 00 01 */ addi r4, r4, 1 -/* 8032C788 003296E8 1C 04 00 0C */ mulli r0, r4, 0xc -/* 8032C78C 003296EC 90 81 00 8C */ stw r4, 0x8c(r1) -/* 8032C790 003296F0 7C 9F 02 15 */ add. r4, r31, r0 -/* 8032C794 003296F4 41 82 00 1C */ beq lbl_8032C7B0 -/* 8032C798 003296F8 C0 03 00 00 */ lfs f0, 0(r3) -/* 8032C79C 003296FC C0 23 00 04 */ lfs f1, 4(r3) -/* 8032C7A0 00329700 D0 04 00 00 */ stfs f0, 0(r4) -/* 8032C7A4 00329704 C0 03 00 08 */ lfs f0, 8(r3) -/* 8032C7A8 00329708 D0 24 00 04 */ stfs f1, 4(r4) -/* 8032C7AC 0032970C D0 04 00 08 */ stfs f0, 8(r4) -lbl_8032C7B0: -/* 8032C7B0 00329710 38 60 00 00 */ li r3, 0 -/* 8032C7B4 00329714 80 81 00 8C */ lwz r4, 0x8c(r1) -/* 8032C7B8 00329718 1C 03 00 0C */ mulli r0, r3, 0xc -/* 8032C7BC 0032971C 3B C1 00 74 */ addi r30, r1, 0x74 -/* 8032C7C0 00329720 38 84 00 01 */ addi r4, r4, 1 -/* 8032C7C4 00329724 90 61 00 70 */ stw r3, 0x70(r1) -/* 8032C7C8 00329728 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8032C7CC 0032972C 7C BE 02 15 */ add. r5, r30, r0 -/* 8032C7D0 00329730 90 81 00 8C */ stw r4, 0x8c(r1) -/* 8032C7D4 00329734 38 63 66 A0 */ addi r3, r3, skZero3f@l -/* 8032C7D8 00329738 41 82 00 1C */ beq lbl_8032C7F4 -/* 8032C7DC 0032973C C0 03 00 00 */ lfs f0, 0(r3) -/* 8032C7E0 00329740 C0 23 00 04 */ lfs f1, 4(r3) -/* 8032C7E4 00329744 D0 05 00 00 */ stfs f0, 0(r5) -/* 8032C7E8 00329748 C0 03 00 08 */ lfs f0, 8(r3) -/* 8032C7EC 0032974C D0 25 00 04 */ stfs f1, 4(r5) -/* 8032C7F0 00329750 D0 05 00 08 */ stfs f0, 8(r5) -lbl_8032C7F4: -/* 8032C7F4 00329754 80 81 00 70 */ lwz r4, 0x70(r1) -/* 8032C7F8 00329758 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8032C7FC 0032975C 38 63 66 A0 */ addi r3, r3, skZero3f@l -/* 8032C800 00329760 38 84 00 01 */ addi r4, r4, 1 -/* 8032C804 00329764 1C 04 00 0C */ mulli r0, r4, 0xc -/* 8032C808 00329768 90 81 00 70 */ stw r4, 0x70(r1) -/* 8032C80C 0032976C 7C 9E 02 15 */ add. r4, r30, r0 -/* 8032C810 00329770 41 82 00 1C */ beq lbl_8032C82C -/* 8032C814 00329774 C0 03 00 00 */ lfs f0, 0(r3) -/* 8032C818 00329778 C0 23 00 04 */ lfs f1, 4(r3) -/* 8032C81C 0032977C D0 04 00 00 */ stfs f0, 0(r4) -/* 8032C820 00329780 C0 03 00 08 */ lfs f0, 8(r3) -/* 8032C824 00329784 D0 24 00 04 */ stfs f1, 4(r4) -/* 8032C828 00329788 D0 04 00 08 */ stfs f0, 8(r4) -lbl_8032C82C: -/* 8032C82C 0032978C 38 60 00 00 */ li r3, 0 -/* 8032C830 00329790 80 81 00 70 */ lwz r4, 0x70(r1) -/* 8032C834 00329794 1C 03 00 0C */ mulli r0, r3, 0xc -/* 8032C838 00329798 3B A1 00 58 */ addi r29, r1, 0x58 -/* 8032C83C 0032979C 38 84 00 01 */ addi r4, r4, 1 -/* 8032C840 003297A0 90 61 00 54 */ stw r3, 0x54(r1) -/* 8032C844 003297A4 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8032C848 003297A8 7C BD 02 15 */ add. r5, r29, r0 -/* 8032C84C 003297AC 90 81 00 70 */ stw r4, 0x70(r1) -/* 8032C850 003297B0 38 63 66 A0 */ addi r3, r3, skZero3f@l -/* 8032C854 003297B4 41 82 00 1C */ beq lbl_8032C870 -/* 8032C858 003297B8 C0 03 00 00 */ lfs f0, 0(r3) -/* 8032C85C 003297BC C0 23 00 04 */ lfs f1, 4(r3) -/* 8032C860 003297C0 D0 05 00 00 */ stfs f0, 0(r5) -/* 8032C864 003297C4 C0 03 00 08 */ lfs f0, 8(r3) -/* 8032C868 003297C8 D0 25 00 04 */ stfs f1, 4(r5) -/* 8032C86C 003297CC D0 05 00 08 */ stfs f0, 8(r5) -lbl_8032C870: -/* 8032C870 003297D0 80 81 00 54 */ lwz r4, 0x54(r1) -/* 8032C874 003297D4 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8032C878 003297D8 38 63 66 A0 */ addi r3, r3, skZero3f@l -/* 8032C87C 003297DC 38 84 00 01 */ addi r4, r4, 1 -/* 8032C880 003297E0 1C 04 00 0C */ mulli r0, r4, 0xc -/* 8032C884 003297E4 90 81 00 54 */ stw r4, 0x54(r1) -/* 8032C888 003297E8 7C 9D 02 15 */ add. r4, r29, r0 -/* 8032C88C 003297EC 41 82 00 1C */ beq lbl_8032C8A8 -/* 8032C890 003297F0 C0 03 00 00 */ lfs f0, 0(r3) -/* 8032C894 003297F4 C0 23 00 04 */ lfs f1, 4(r3) -/* 8032C898 003297F8 D0 04 00 00 */ stfs f0, 0(r4) -/* 8032C89C 003297FC C0 03 00 08 */ lfs f0, 8(r3) -/* 8032C8A0 00329800 D0 24 00 04 */ stfs f1, 4(r4) -/* 8032C8A4 00329804 D0 04 00 08 */ stfs f0, 8(r4) -lbl_8032C8A8: -/* 8032C8A8 00329808 80 81 00 54 */ lwz r4, 0x54(r1) -/* 8032C8AC 0032980C 3C 60 80 3D */ lis r3, lbl_803D7928@ha -/* 8032C8B0 00329810 38 63 79 28 */ addi r3, r3, lbl_803D7928@l -/* 8032C8B4 00329814 38 04 00 01 */ addi r0, r4, 1 -/* 8032C8B8 00329818 90 01 00 54 */ stw r0, 0x54(r1) -/* 8032C8BC 0032981C 4B FD B5 6D */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList -/* 8032C8C0 00329820 38 60 00 01 */ li r3, 1 -/* 8032C8C4 00329824 4B FD C5 8D */ bl SetNumChans__3CGXFUc -/* 8032C8C8 00329828 38 60 00 01 */ li r3, 1 -/* 8032C8CC 0032982C 4B FD C5 49 */ bl SetNumTexGens__3CGXFUc -/* 8032C8D0 00329830 38 60 00 00 */ li r3, 0 -/* 8032C8D4 00329834 38 80 00 00 */ li r4, 0 -/* 8032C8D8 00329838 38 A0 00 00 */ li r5, 0 -/* 8032C8DC 0032983C 38 C0 00 04 */ li r6, 4 -/* 8032C8E0 00329840 4B FD C0 6D */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID -/* 8032C8E4 00329844 38 60 00 00 */ li r3, 0 -/* 8032C8E8 00329848 38 80 00 00 */ li r4, 0 -/* 8032C8EC 0032984C 38 A0 00 00 */ li r5, 0 -/* 8032C8F0 00329850 38 C0 00 01 */ li r6, 1 -/* 8032C8F4 00329854 38 E0 00 00 */ li r7, 0 -/* 8032C8F8 00329858 39 00 00 00 */ li r8, 0 -/* 8032C8FC 0032985C 39 20 00 02 */ li r9, 2 -/* 8032C900 00329860 4B FD C3 CD */ bl SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn -/* 8032C904 00329864 38 60 00 00 */ li r3, 0 -/* 8032C908 00329868 38 80 00 01 */ li r4, 1 -/* 8032C90C 0032986C 38 A0 00 04 */ li r5, 4 -/* 8032C910 00329870 38 C0 00 3C */ li r6, 0x3c -/* 8032C914 00329874 38 E0 00 00 */ li r7, 0 -/* 8032C918 00329878 39 00 00 7D */ li r8, 0x7d -/* 8032C91C 0032987C 4B FD BD B1 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx -/* 8032C920 00329880 C0 11 01 E8 */ lfs f0, 0x1e8(r17) -/* 8032C924 00329884 3B 20 00 00 */ li r25, 0 -/* 8032C928 00329888 82 B1 01 58 */ lwz r21, 0x158(r17) -/* 8032C92C 0032988C 3B 00 00 01 */ li r24, 1 -/* 8032C930 00329890 FF E0 00 50 */ fneg f31, f0 -/* 8032C934 00329894 C2 22 CA D0 */ lfs f17, lbl_805AE7F0@sda21(r2) -/* 8032C938 00329898 C2 42 CA D4 */ lfs f18, lbl_805AE7F4@sda21(r2) -/* 8032C93C 0032989C 3A C0 00 00 */ li r22, 0 -/* 8032C940 003298A0 CA 62 CA D8 */ lfd f19, lbl_805AE7F8@sda21(r2) -/* 8032C944 003298A4 3A 80 00 00 */ li r20, 0 -/* 8032C948 003298A8 C2 82 CA AC */ lfs f20, lbl_805AE7CC@sda21(r2) -/* 8032C94C 003298AC 3A 60 00 00 */ li r19, 0 -/* 8032C950 003298B0 C2 A2 CA B0 */ lfs f21, lbl_805AE7D0@sda21(r2) -/* 8032C954 003298B4 C2 C2 CA B4 */ lfs f22, lbl_805AE7D4@sda21(r2) -/* 8032C958 003298B8 C2 E2 CA B8 */ lfs f23, lbl_805AE7D8@sda21(r2) -/* 8032C95C 003298BC C3 02 CA BC */ lfs f24, lbl_805AE7DC@sda21(r2) -/* 8032C960 003298C0 C3 22 CA C0 */ lfs f25, lbl_805AE7E0@sda21(r2) -/* 8032C964 003298C4 C3 42 CA C4 */ lfs f26, lbl_805AE7E4@sda21(r2) -/* 8032C968 003298C8 C3 62 CA C8 */ lfs f27, lbl_805AE7E8@sda21(r2) -/* 8032C96C 003298CC C3 82 CA 94 */ lfs f28, lbl_805AE7B4@sda21(r2) -/* 8032C970 003298D0 C3 A2 CA F8 */ lfs f29, lbl_805AE818@sda21(r2) -/* 8032C974 003298D4 48 00 04 B8 */ b lbl_8032CE2C -lbl_8032C978: -/* 8032C978 003298D8 56 A0 38 30 */ slwi r0, r21, 7 -/* 8032C97C 003298DC 80 71 01 68 */ lwz r3, 0x168(r17) -/* 8032C980 003298E0 36 B5 FF FF */ addic. r21, r21, -1 -/* 8032C984 003298E4 7E 43 02 14 */ add r18, r3, r0 -/* 8032C988 003298E8 40 80 00 08 */ bge lbl_8032C990 -/* 8032C98C 003298EC 3A A4 FF FF */ addi r21, r4, -1 -lbl_8032C990: -/* 8032C990 003298F0 C0 32 00 30 */ lfs f1, 0x30(r18) -/* 8032C994 003298F4 C0 12 00 34 */ lfs f0, 0x34(r18) -/* 8032C998 003298F8 EC 01 00 2A */ fadds f0, f1, f0 -/* 8032C99C 003298FC EC 11 00 32 */ fmuls f0, f17, f0 -/* 8032C9A0 00329900 EC 60 90 24 */ fdivs f3, f0, f18 -/* 8032C9A4 00329904 FC 00 1A 10 */ fabs f0, f3 -/* 8032C9A8 00329908 FC 00 98 40 */ fcmpo cr0, f0, f19 -/* 8032C9AC 0032990C 40 81 00 60 */ ble lbl_8032CA0C -/* 8032C9B0 00329910 C0 02 CA E0 */ lfs f0, lbl_805AE800@sda21(r2) -/* 8032C9B4 00329914 3C 00 43 30 */ lis r0, 0x4330 -/* 8032C9B8 00329918 90 01 00 B0 */ stw r0, 0xb0(r1) -/* 8032C9BC 0032991C EC 03 00 32 */ fmuls f0, f3, f0 -/* 8032C9C0 00329920 C8 42 CA F0 */ lfd f2, lbl_805AE810@sda21(r2) -/* 8032C9C4 00329924 C0 22 CA E4 */ lfs f1, lbl_805AE804@sda21(r2) -/* 8032C9C8 00329928 FC 00 00 1E */ fctiwz f0, f0 -/* 8032C9CC 0032992C D8 01 00 A8 */ stfd f0, 0xa8(r1) -/* 8032C9D0 00329930 80 01 00 AC */ lwz r0, 0xac(r1) -/* 8032C9D4 00329934 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 8032C9D8 00329938 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 8032C9DC 0032993C C8 01 00 B0 */ lfd f0, 0xb0(r1) -/* 8032C9E0 00329940 EC 00 10 28 */ fsubs f0, f0, f2 -/* 8032C9E4 00329944 EC 40 18 7C */ fnmsubs f2, f0, f1, f3 -/* 8032C9E8 00329948 FC 02 88 40 */ fcmpo cr0, f2, f17 -/* 8032C9EC 0032994C 40 81 00 0C */ ble lbl_8032C9F8 -/* 8032C9F0 00329950 EC 42 08 28 */ fsubs f2, f2, f1 -/* 8032C9F4 00329954 48 00 00 1C */ b lbl_8032CA10 -lbl_8032C9F8: -/* 8032C9F8 00329958 C0 02 CA E8 */ lfs f0, lbl_805AE808@sda21(r2) -/* 8032C9FC 0032995C FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8032CA00 00329960 40 80 00 10 */ bge lbl_8032CA10 -/* 8032CA04 00329964 EC 41 10 2A */ fadds f2, f1, f2 -/* 8032CA08 00329968 48 00 00 08 */ b lbl_8032CA10 -lbl_8032CA0C: -/* 8032CA0C 0032996C FC 40 18 90 */ fmr f2, f3 -lbl_8032CA10: -/* 8032CA10 00329970 EC C2 00 B2 */ fmuls f6, f2, f2 -/* 8032CA14 00329974 C0 62 CA A8 */ lfs f3, lbl_805AE7C8@sda21(r2) -/* 8032CA18 00329978 C0 32 00 04 */ lfs f1, 4(r18) -/* 8032CA1C 0032997C EC 02 E8 2A */ fadds f0, f2, f29 -/* 8032CA20 00329980 EC 82 06 32 */ fmuls f4, f2, f24 -/* 8032CA24 00329984 EC A2 01 B2 */ fmuls f5, f2, f6 -/* 8032CA28 00329988 EC 66 1D 3A */ fmadds f3, f6, f20, f3 -/* 8032CA2C 0032998C D3 81 00 4C */ stfs f28, 0x4c(r1) -/* 8032CA30 00329990 EC 46 01 B2 */ fmuls f2, f6, f6 -/* 8032CA34 00329994 EC 85 26 7A */ fmadds f4, f5, f25, f4 -/* 8032CA38 00329998 EC A5 01 B2 */ fmuls f5, f5, f6 -/* 8032CA3C 0032999C EC 62 1D 7A */ fmadds f3, f2, f21, f3 -/* 8032CA40 003299A0 EC 42 01 B2 */ fmuls f2, f2, f6 -/* 8032CA44 003299A4 EC 85 26 BA */ fmadds f4, f5, f26, f4 -/* 8032CA48 003299A8 EC A5 01 B2 */ fmuls f5, f5, f6 -/* 8032CA4C 003299AC EC 62 1D BA */ fmadds f3, f2, f22, f3 -/* 8032CA50 003299B0 EC 42 01 B2 */ fmuls f2, f2, f6 -/* 8032CA54 003299B4 EC 85 26 FA */ fmadds f4, f5, f27, f4 -/* 8032CA58 003299B8 FC 00 88 40 */ fcmpo cr0, f0, f17 -/* 8032CA5C 003299BC EC 62 1D FA */ fmadds f3, f2, f23, f3 -/* 8032CA60 003299C0 EC 41 01 32 */ fmuls f2, f1, f4 -/* 8032CA64 003299C4 EC 61 00 F2 */ fmuls f3, f1, f3 -/* 8032CA68 003299C8 D0 41 00 50 */ stfs f2, 0x50(r1) -/* 8032CA6C 003299CC D0 61 00 48 */ stfs f3, 0x48(r1) -/* 8032CA70 003299D0 40 81 00 0C */ ble lbl_8032CA7C -/* 8032CA74 003299D4 C0 42 CA E4 */ lfs f2, lbl_805AE804@sda21(r2) -/* 8032CA78 003299D8 EC 00 10 28 */ fsubs f0, f0, f2 -lbl_8032CA7C: -/* 8032CA7C 003299DC EC C0 00 32 */ fmuls f6, f0, f0 -/* 8032CA80 003299E0 C0 62 CA A8 */ lfs f3, lbl_805AE7C8@sda21(r2) -/* 8032CA84 003299E4 EC 80 06 32 */ fmuls f4, f0, f24 -/* 8032CA88 003299E8 D3 81 00 40 */ stfs f28, 0x40(r1) -/* 8032CA8C 003299EC EC A0 01 B2 */ fmuls f5, f0, f6 -/* 8032CA90 003299F0 EC 66 1D 3A */ fmadds f3, f6, f20, f3 -/* 8032CA94 003299F4 EC 46 01 B2 */ fmuls f2, f6, f6 -/* 8032CA98 003299F8 EC 85 26 7A */ fmadds f4, f5, f25, f4 -/* 8032CA9C 003299FC EC A5 01 B2 */ fmuls f5, f5, f6 -/* 8032CAA0 00329A00 EC 62 1D 7A */ fmadds f3, f2, f21, f3 -/* 8032CAA4 00329A04 EC 42 01 B2 */ fmuls f2, f2, f6 -/* 8032CAA8 00329A08 EC 85 26 BA */ fmadds f4, f5, f26, f4 -/* 8032CAAC 00329A0C EC A5 01 B2 */ fmuls f5, f5, f6 -/* 8032CAB0 00329A10 EC 62 1D BA */ fmadds f3, f2, f22, f3 -/* 8032CAB4 00329A14 EC 42 01 B2 */ fmuls f2, f2, f6 -/* 8032CAB8 00329A18 EC 85 26 FA */ fmadds f4, f5, f27, f4 -/* 8032CABC 00329A1C EC 00 E8 2A */ fadds f0, f0, f29 -/* 8032CAC0 00329A20 EC 62 1D FA */ fmadds f3, f2, f23, f3 -/* 8032CAC4 00329A24 EC 41 01 32 */ fmuls f2, f1, f4 -/* 8032CAC8 00329A28 FC 00 88 40 */ fcmpo cr0, f0, f17 -/* 8032CACC 00329A2C EC 61 00 F2 */ fmuls f3, f1, f3 -/* 8032CAD0 00329A30 D0 41 00 44 */ stfs f2, 0x44(r1) -/* 8032CAD4 00329A34 D0 61 00 3C */ stfs f3, 0x3c(r1) -/* 8032CAD8 00329A38 40 81 00 0C */ ble lbl_8032CAE4 -/* 8032CADC 00329A3C C0 42 CA E4 */ lfs f2, lbl_805AE804@sda21(r2) -/* 8032CAE0 00329A40 EC 00 10 28 */ fsubs f0, f0, f2 -lbl_8032CAE4: -/* 8032CAE4 00329A44 EC A0 00 32 */ fmuls f5, f0, f0 -/* 8032CAE8 00329A48 C0 42 CA A8 */ lfs f2, lbl_805AE7C8@sda21(r2) -/* 8032CAEC 00329A4C EC 60 06 32 */ fmuls f3, f0, f24 -/* 8032CAF0 00329A50 D3 81 00 34 */ stfs f28, 0x34(r1) -/* 8032CAF4 00329A54 38 61 00 24 */ addi r3, r1, 0x24 -/* 8032CAF8 00329A58 38 92 00 38 */ addi r4, r18, 0x38 -/* 8032CAFC 00329A5C EC 80 01 72 */ fmuls f4, f0, f5 -/* 8032CB00 00329A60 38 A1 00 48 */ addi r5, r1, 0x48 -/* 8032CB04 00329A64 EC 45 15 3A */ fmadds f2, f5, f20, f2 -/* 8032CB08 00329A68 EC 05 01 72 */ fmuls f0, f5, f5 -/* 8032CB0C 00329A6C EC 64 1E 7A */ fmadds f3, f4, f25, f3 -/* 8032CB10 00329A70 EC 84 01 72 */ fmuls f4, f4, f5 -/* 8032CB14 00329A74 EC 40 15 7A */ fmadds f2, f0, f21, f2 -/* 8032CB18 00329A78 EC 00 01 72 */ fmuls f0, f0, f5 -/* 8032CB1C 00329A7C EC 64 1E BA */ fmadds f3, f4, f26, f3 -/* 8032CB20 00329A80 EC 84 01 72 */ fmuls f4, f4, f5 -/* 8032CB24 00329A84 EC 40 15 BA */ fmadds f2, f0, f22, f2 -/* 8032CB28 00329A88 EC 00 01 72 */ fmuls f0, f0, f5 -/* 8032CB2C 00329A8C EC 64 1E FA */ fmadds f3, f4, f27, f3 -/* 8032CB30 00329A90 EC 40 15 FA */ fmadds f2, f0, f23, f2 -/* 8032CB34 00329A94 EC 01 00 F2 */ fmuls f0, f1, f3 -/* 8032CB38 00329A98 EC 21 00 B2 */ fmuls f1, f1, f2 -/* 8032CB3C 00329A9C D0 01 00 38 */ stfs f0, 0x38(r1) -/* 8032CB40 00329AA0 D0 21 00 30 */ stfs f1, 0x30(r1) -/* 8032CB44 00329AA4 C0 32 00 0C */ lfs f1, 0xc(r18) -/* 8032CB48 00329AA8 C0 12 00 24 */ lfs f0, 0x24(r18) -/* 8032CB4C 00329AAC C0 72 00 10 */ lfs f3, 0x10(r18) -/* 8032CB50 00329AB0 C0 52 00 28 */ lfs f2, 0x28(r18) -/* 8032CB54 00329AB4 ED E1 00 2A */ fadds f15, f1, f0 -/* 8032CB58 00329AB8 C0 32 00 14 */ lfs f1, 0x14(r18) -/* 8032CB5C 00329ABC C0 12 00 2C */ lfs f0, 0x2c(r18) -/* 8032CB60 00329AC0 EE 03 10 2A */ fadds f16, f3, f2 -/* 8032CB64 00329AC4 EF C1 00 2A */ fadds f30, f1, f0 -/* 8032CB68 00329AC8 4B FE 5F 81 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 8032CB6C 00329ACC C0 01 00 24 */ lfs f0, 0x24(r1) -/* 8032CB70 00329AD0 1E F9 00 0C */ mulli r23, r25, 0xc -/* 8032CB74 00329AD4 C0 41 00 28 */ lfs f2, 0x28(r1) -/* 8032CB78 00329AD8 38 61 00 18 */ addi r3, r1, 0x18 -/* 8032CB7C 00329ADC EC 00 78 2A */ fadds f0, f0, f15 -/* 8032CB80 00329AE0 C0 21 00 2C */ lfs f1, 0x2c(r1) -/* 8032CB84 00329AE4 7F 9F BA 14 */ add r28, r31, r23 -/* 8032CB88 00329AE8 EC 42 80 2A */ fadds f2, f2, f16 -/* 8032CB8C 00329AEC 38 92 00 38 */ addi r4, r18, 0x38 -/* 8032CB90 00329AF0 D0 1C 00 00 */ stfs f0, 0(r28) -/* 8032CB94 00329AF4 EC 01 F0 2A */ fadds f0, f1, f30 -/* 8032CB98 00329AF8 38 A1 00 3C */ addi r5, r1, 0x3c -/* 8032CB9C 00329AFC D0 5C 00 04 */ stfs f2, 4(r28) -/* 8032CBA0 00329B00 D0 1C 00 08 */ stfs f0, 8(r28) -/* 8032CBA4 00329B04 4B FE 5F 45 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 8032CBA8 00329B08 C0 01 00 18 */ lfs f0, 0x18(r1) -/* 8032CBAC 00329B0C 7F 7E BA 14 */ add r27, r30, r23 -/* 8032CBB0 00329B10 C0 41 00 1C */ lfs f2, 0x1c(r1) -/* 8032CBB4 00329B14 38 61 00 0C */ addi r3, r1, 0xc -/* 8032CBB8 00329B18 EC 00 78 2A */ fadds f0, f0, f15 -/* 8032CBBC 00329B1C C0 21 00 20 */ lfs f1, 0x20(r1) -/* 8032CBC0 00329B20 EC 42 80 2A */ fadds f2, f2, f16 -/* 8032CBC4 00329B24 38 92 00 38 */ addi r4, r18, 0x38 -/* 8032CBC8 00329B28 EC 21 F0 2A */ fadds f1, f1, f30 -/* 8032CBCC 00329B2C 38 A1 00 30 */ addi r5, r1, 0x30 -/* 8032CBD0 00329B30 D0 1B 00 00 */ stfs f0, 0(r27) -/* 8032CBD4 00329B34 D0 5B 00 04 */ stfs f2, 4(r27) -/* 8032CBD8 00329B38 D0 3B 00 08 */ stfs f1, 8(r27) -/* 8032CBDC 00329B3C 4B FE 5F 0D */ bl __ml__12CTransform4fCFRC9CVector3f -/* 8032CBE0 00329B40 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 8032CBE4 00329B44 7F 5D BA 14 */ add r26, r29, r23 -/* 8032CBE8 00329B48 C0 41 00 10 */ lfs f2, 0x10(r1) -/* 8032CBEC 00329B4C 7E D7 B3 78 */ mr r23, r22 -/* 8032CBF0 00329B50 EC 00 78 2A */ fadds f0, f0, f15 -/* 8032CBF4 00329B54 C0 21 00 14 */ lfs f1, 0x14(r1) -/* 8032CBF8 00329B58 88 12 00 00 */ lbz r0, 0(r18) -/* 8032CBFC 00329B5C EC 42 80 2A */ fadds f2, f2, f16 -/* 8032CC00 00329B60 EC 21 F0 2A */ fadds f1, f1, f30 -/* 8032CC04 00329B64 D0 1A 00 00 */ stfs f0, 0(r26) -/* 8032CC08 00329B68 28 00 00 00 */ cmplwi r0, 0 -/* 8032CC0C 00329B6C D0 5A 00 04 */ stfs f2, 4(r26) -/* 8032CC10 00329B70 D0 3A 00 08 */ stfs f1, 8(r26) -/* 8032CC14 00329B74 40 82 00 0C */ bne lbl_8032CC20 -/* 8032CC18 00329B78 3A 80 00 00 */ li r20, 0 -/* 8032CC1C 00329B7C 48 00 01 FC */ b lbl_8032CE18 -lbl_8032CC20: -/* 8032CC20 00329B80 56 80 06 3F */ clrlwi. r0, r20, 0x18 -/* 8032CC24 00329B84 40 82 00 0C */ bne lbl_8032CC30 -/* 8032CC28 00329B88 3A 80 00 01 */ li r20, 1 -/* 8032CC2C 00329B8C 48 00 01 EC */ b lbl_8032CE18 -lbl_8032CC30: -/* 8032CC30 00329B90 38 61 00 08 */ addi r3, r1, 8 -/* 8032CC34 00329B94 38 92 00 6C */ addi r4, r18, 0x6c -/* 8032CC38 00329B98 38 B1 02 0C */ addi r5, r17, 0x20c -/* 8032CC3C 00329B9C 3A 80 00 01 */ li r20, 1 -/* 8032CC40 00329BA0 48 03 65 39 */ bl Modulate__6CColorFRC6CColorRC6CColor -/* 8032CC44 00329BA4 C0 11 01 E8 */ lfs f0, 0x1e8(r17) -/* 8032CC48 00329BA8 FF C0 F8 90 */ fmr f30, f31 -/* 8032CC4C 00329BAC 82 41 00 08 */ lwz r18, 8(r1) -/* 8032CC50 00329BB0 38 60 00 80 */ li r3, 0x80 -/* 8032CC54 00329BB4 EF FF 00 2A */ fadds f31, f31, f0 -/* 8032CC58 00329BB8 38 80 00 00 */ li r4, 0 -/* 8032CC5C 00329BBC 7E 56 93 78 */ mr r22, r18 -/* 8032CC60 00329BC0 38 A0 00 0C */ li r5, 0xc -/* 8032CC64 00329BC4 4B FD B9 21 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs -/* 8032CC68 00329BC8 C0 1C 00 00 */ lfs f0, 0(r28) -/* 8032CC6C 00329BCC 1C 18 00 0C */ mulli r0, r24, 0xc -/* 8032CC70 00329BD0 3C 60 CC 01 */ lis r3, 0xCC008000@ha -/* 8032CC74 00329BD4 C0 5C 00 04 */ lfs f2, 4(r28) -/* 8032CC78 00329BD8 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 8032CC7C 00329BDC 7C 9E 02 14 */ add r4, r30, r0 -/* 8032CC80 00329BE0 C0 3C 00 08 */ lfs f1, 8(r28) -/* 8032CC84 00329BE4 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 8032CC88 00329BE8 7C BF 02 14 */ add r5, r31, r0 -/* 8032CC8C 00329BEC C1 7B 00 00 */ lfs f11, 0(r27) -/* 8032CC90 00329BF0 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 8032CC94 00329BF4 C0 9B 00 04 */ lfs f4, 4(r27) -/* 8032CC98 00329BF8 92 43 80 00 */ stw r18, 0xCC008000@l(r3) -/* 8032CC9C 00329BFC C0 7B 00 08 */ lfs f3, 8(r27) -/* 8032CCA0 00329C00 C0 B1 01 D8 */ lfs f5, 0x1d8(r17) -/* 8032CCA4 00329C04 C1 E4 00 00 */ lfs f15, 0(r4) -/* 8032CCA8 00329C08 D3 E3 80 00 */ stfs f31, 0xCC008000@l(r3) -/* 8032CCAC 00329C0C C0 C4 00 04 */ lfs f6, 4(r4) -/* 8032CCB0 00329C10 D0 A3 80 00 */ stfs f5, 0xCC008000@l(r3) -/* 8032CCB4 00329C14 C0 A4 00 08 */ lfs f5, 8(r4) -/* 8032CCB8 00329C18 D1 63 80 00 */ stfs f11, 0xCC008000@l(r3) -/* 8032CCBC 00329C1C C1 A5 00 00 */ lfs f13, 0(r5) -/* 8032CCC0 00329C20 D0 83 80 00 */ stfs f4, 0xCC008000@l(r3) -/* 8032CCC4 00329C24 C1 05 00 04 */ lfs f8, 4(r5) -/* 8032CCC8 00329C28 D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) -/* 8032CCCC 00329C2C C0 E5 00 08 */ lfs f7, 8(r5) -/* 8032CCD0 00329C30 92 43 80 00 */ stw r18, 0xCC008000@l(r3) -/* 8032CCD4 00329C34 C1 9A 00 00 */ lfs f12, 0(r26) -/* 8032CCD8 00329C38 C2 11 01 E0 */ lfs f16, 0x1e0(r17) -/* 8032CCDC 00329C3C C1 5A 00 04 */ lfs f10, 4(r26) -/* 8032CCE0 00329C40 D3 E3 80 00 */ stfs f31, 0xCC008000@l(r3) -/* 8032CCE4 00329C44 C1 3A 00 08 */ lfs f9, 8(r26) -/* 8032CCE8 00329C48 D2 03 80 00 */ stfs f16, 0xCC008000@l(r3) -/* 8032CCEC 00329C4C D1 E3 80 00 */ stfs f15, 0xCC008000@l(r3) -/* 8032CCF0 00329C50 D0 C3 80 00 */ stfs f6, 0xCC008000@l(r3) -/* 8032CCF4 00329C54 D0 A3 80 00 */ stfs f5, 0xCC008000@l(r3) -/* 8032CCF8 00329C58 92 E3 80 00 */ stw r23, 0xCC008000@l(r3) -/* 8032CCFC 00329C5C C2 11 01 E0 */ lfs f16, 0x1e0(r17) -/* 8032CD00 00329C60 D3 C3 80 00 */ stfs f30, 0xCC008000@l(r3) -/* 8032CD04 00329C64 D2 03 80 00 */ stfs f16, 0xCC008000@l(r3) -/* 8032CD08 00329C68 D1 A3 80 00 */ stfs f13, 0xCC008000@l(r3) -/* 8032CD0C 00329C6C D1 03 80 00 */ stfs f8, 0xCC008000@l(r3) -/* 8032CD10 00329C70 D0 E3 80 00 */ stfs f7, 0xCC008000@l(r3) -/* 8032CD14 00329C74 92 E3 80 00 */ stw r23, 0xCC008000@l(r3) -/* 8032CD18 00329C78 C2 11 01 D8 */ lfs f16, 0x1d8(r17) -/* 8032CD1C 00329C7C D3 C3 80 00 */ stfs f30, 0xCC008000@l(r3) -/* 8032CD20 00329C80 D2 03 80 00 */ stfs f16, 0xCC008000@l(r3) -/* 8032CD24 00329C84 D1 63 80 00 */ stfs f11, 0xCC008000@l(r3) -/* 8032CD28 00329C88 D0 83 80 00 */ stfs f4, 0xCC008000@l(r3) -/* 8032CD2C 00329C8C D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) -/* 8032CD30 00329C90 92 43 80 00 */ stw r18, 0xCC008000@l(r3) -/* 8032CD34 00329C94 C0 71 01 D8 */ lfs f3, 0x1d8(r17) -/* 8032CD38 00329C98 D3 E3 80 00 */ stfs f31, 0xCC008000@l(r3) -/* 8032CD3C 00329C9C D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) -/* 8032CD40 00329CA0 D1 83 80 00 */ stfs f12, 0xCC008000@l(r3) -/* 8032CD44 00329CA4 D1 43 80 00 */ stfs f10, 0xCC008000@l(r3) -/* 8032CD48 00329CA8 D1 23 80 00 */ stfs f9, 0xCC008000@l(r3) -/* 8032CD4C 00329CAC 92 43 80 00 */ stw r18, 0xCC008000@l(r3) -/* 8032CD50 00329CB0 C0 71 01 E0 */ lfs f3, 0x1e0(r17) -/* 8032CD54 00329CB4 D3 E3 80 00 */ stfs f31, 0xCC008000@l(r3) -/* 8032CD58 00329CB8 7C 9D 02 14 */ add r4, r29, r0 -/* 8032CD5C 00329CBC D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) -/* 8032CD60 00329CC0 C1 64 00 00 */ lfs f11, 0(r4) -/* 8032CD64 00329CC4 C0 84 00 04 */ lfs f4, 4(r4) -/* 8032CD68 00329CC8 D1 63 80 00 */ stfs f11, 0xCC008000@l(r3) -/* 8032CD6C 00329CCC C0 64 00 08 */ lfs f3, 8(r4) -/* 8032CD70 00329CD0 D0 83 80 00 */ stfs f4, 0xCC008000@l(r3) -/* 8032CD74 00329CD4 D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) -/* 8032CD78 00329CD8 92 E3 80 00 */ stw r23, 0xCC008000@l(r3) -/* 8032CD7C 00329CDC C2 11 01 E0 */ lfs f16, 0x1e0(r17) -/* 8032CD80 00329CE0 D3 C3 80 00 */ stfs f30, 0xCC008000@l(r3) -/* 8032CD84 00329CE4 D2 03 80 00 */ stfs f16, 0xCC008000@l(r3) -/* 8032CD88 00329CE8 D1 E3 80 00 */ stfs f15, 0xCC008000@l(r3) -/* 8032CD8C 00329CEC D0 C3 80 00 */ stfs f6, 0xCC008000@l(r3) -/* 8032CD90 00329CF0 D0 A3 80 00 */ stfs f5, 0xCC008000@l(r3) -/* 8032CD94 00329CF4 92 E3 80 00 */ stw r23, 0xCC008000@l(r3) -/* 8032CD98 00329CF8 C0 B1 01 D8 */ lfs f5, 0x1d8(r17) -/* 8032CD9C 00329CFC D3 C3 80 00 */ stfs f30, 0xCC008000@l(r3) -/* 8032CDA0 00329D00 D0 A3 80 00 */ stfs f5, 0xCC008000@l(r3) -/* 8032CDA4 00329D04 D1 83 80 00 */ stfs f12, 0xCC008000@l(r3) -/* 8032CDA8 00329D08 D1 43 80 00 */ stfs f10, 0xCC008000@l(r3) -/* 8032CDAC 00329D0C D1 23 80 00 */ stfs f9, 0xCC008000@l(r3) -/* 8032CDB0 00329D10 92 43 80 00 */ stw r18, 0xCC008000@l(r3) -/* 8032CDB4 00329D14 C0 B1 01 D8 */ lfs f5, 0x1d8(r17) -/* 8032CDB8 00329D18 D3 E3 80 00 */ stfs f31, 0xCC008000@l(r3) -/* 8032CDBC 00329D1C D0 A3 80 00 */ stfs f5, 0xCC008000@l(r3) -/* 8032CDC0 00329D20 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 8032CDC4 00329D24 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 8032CDC8 00329D28 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 8032CDCC 00329D2C 92 43 80 00 */ stw r18, 0xCC008000@l(r3) -/* 8032CDD0 00329D30 C0 11 01 E0 */ lfs f0, 0x1e0(r17) -/* 8032CDD4 00329D34 D3 E3 80 00 */ stfs f31, 0xCC008000@l(r3) -/* 8032CDD8 00329D38 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 8032CDDC 00329D3C D1 A3 80 00 */ stfs f13, 0xCC008000@l(r3) -/* 8032CDE0 00329D40 D1 03 80 00 */ stfs f8, 0xCC008000@l(r3) -/* 8032CDE4 00329D44 D0 E3 80 00 */ stfs f7, 0xCC008000@l(r3) -/* 8032CDE8 00329D48 92 E3 80 00 */ stw r23, 0xCC008000@l(r3) -/* 8032CDEC 00329D4C C0 11 01 E0 */ lfs f0, 0x1e0(r17) -/* 8032CDF0 00329D50 D3 C3 80 00 */ stfs f30, 0xCC008000@l(r3) -/* 8032CDF4 00329D54 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 8032CDF8 00329D58 D1 63 80 00 */ stfs f11, 0xCC008000@l(r3) -/* 8032CDFC 00329D5C D0 83 80 00 */ stfs f4, 0xCC008000@l(r3) -/* 8032CE00 00329D60 D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) -/* 8032CE04 00329D64 92 E3 80 00 */ stw r23, 0xCC008000@l(r3) -/* 8032CE08 00329D68 C0 11 01 D8 */ lfs f0, 0x1d8(r17) -/* 8032CE0C 00329D6C D3 C3 80 00 */ stfs f30, 0xCC008000@l(r3) -/* 8032CE10 00329D70 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 8032CE14 00329D74 4B FD B7 6D */ bl End__3CGXFv -lbl_8032CE18: -/* 8032CE18 00329D78 3B 39 00 01 */ addi r25, r25, 1 -/* 8032CE1C 00329D7C 3B 18 00 01 */ addi r24, r24, 1 -/* 8032CE20 00329D80 57 39 07 FE */ clrlwi r25, r25, 0x1f -/* 8032CE24 00329D84 3A 73 00 01 */ addi r19, r19, 1 -/* 8032CE28 00329D88 57 18 07 FE */ clrlwi r24, r24, 0x1f -lbl_8032CE2C: -/* 8032CE2C 00329D8C 80 91 01 60 */ lwz r4, 0x160(r17) -/* 8032CE30 00329D90 7C 13 20 00 */ cmpw r19, r4 -/* 8032CE34 00329D94 41 80 FB 44 */ blt lbl_8032C978 -/* 8032CE38 00329D98 80 A1 00 54 */ lwz r5, 0x54(r1) -/* 8032CE3C 00329D9C 38 60 00 00 */ li r3, 0 -/* 8032CE40 00329DA0 2C 05 00 00 */ cmpwi r5, 0 -/* 8032CE44 00329DA4 40 81 00 40 */ ble lbl_8032CE84 -/* 8032CE48 00329DA8 2C 05 00 08 */ cmpwi r5, 8 -/* 8032CE4C 00329DAC 38 85 FF F8 */ addi r4, r5, -8 -/* 8032CE50 00329DB0 40 81 00 20 */ ble lbl_8032CE70 -/* 8032CE54 00329DB4 38 04 00 07 */ addi r0, r4, 7 -/* 8032CE58 00329DB8 54 00 E8 FE */ srwi r0, r0, 3 -/* 8032CE5C 00329DBC 7C 09 03 A6 */ mtctr r0 -/* 8032CE60 00329DC0 2C 04 00 00 */ cmpwi r4, 0 -/* 8032CE64 00329DC4 40 81 00 0C */ ble lbl_8032CE70 -lbl_8032CE68: -/* 8032CE68 00329DC8 38 63 00 08 */ addi r3, r3, 8 -/* 8032CE6C 00329DCC 42 00 FF FC */ bdnz lbl_8032CE68 -lbl_8032CE70: -/* 8032CE70 00329DD0 7C 03 28 50 */ subf r0, r3, r5 -/* 8032CE74 00329DD4 7C 09 03 A6 */ mtctr r0 -/* 8032CE78 00329DD8 7C 03 28 00 */ cmpw r3, r5 -/* 8032CE7C 00329DDC 40 80 00 08 */ bge lbl_8032CE84 -lbl_8032CE80: -/* 8032CE80 00329DE0 42 00 00 00 */ bdnz lbl_8032CE80 -lbl_8032CE84: -/* 8032CE84 00329DE4 80 A1 00 70 */ lwz r5, 0x70(r1) -/* 8032CE88 00329DE8 38 60 00 00 */ li r3, 0 -/* 8032CE8C 00329DEC 90 61 00 54 */ stw r3, 0x54(r1) -/* 8032CE90 00329DF0 2C 05 00 00 */ cmpwi r5, 0 -/* 8032CE94 00329DF4 40 81 00 40 */ ble lbl_8032CED4 -/* 8032CE98 00329DF8 2C 05 00 08 */ cmpwi r5, 8 -/* 8032CE9C 00329DFC 38 85 FF F8 */ addi r4, r5, -8 -/* 8032CEA0 00329E00 40 81 00 20 */ ble lbl_8032CEC0 -/* 8032CEA4 00329E04 38 04 00 07 */ addi r0, r4, 7 -/* 8032CEA8 00329E08 54 00 E8 FE */ srwi r0, r0, 3 -/* 8032CEAC 00329E0C 7C 09 03 A6 */ mtctr r0 -/* 8032CEB0 00329E10 2C 04 00 00 */ cmpwi r4, 0 -/* 8032CEB4 00329E14 40 81 00 0C */ ble lbl_8032CEC0 -lbl_8032CEB8: -/* 8032CEB8 00329E18 38 63 00 08 */ addi r3, r3, 8 -/* 8032CEBC 00329E1C 42 00 FF FC */ bdnz lbl_8032CEB8 -lbl_8032CEC0: -/* 8032CEC0 00329E20 7C 03 28 50 */ subf r0, r3, r5 -/* 8032CEC4 00329E24 7C 09 03 A6 */ mtctr r0 -/* 8032CEC8 00329E28 7C 03 28 00 */ cmpw r3, r5 -/* 8032CECC 00329E2C 40 80 00 08 */ bge lbl_8032CED4 -lbl_8032CED0: -/* 8032CED0 00329E30 42 00 00 00 */ bdnz lbl_8032CED0 -lbl_8032CED4: -/* 8032CED4 00329E34 80 A1 00 8C */ lwz r5, 0x8c(r1) -/* 8032CED8 00329E38 38 60 00 00 */ li r3, 0 -/* 8032CEDC 00329E3C 90 61 00 70 */ stw r3, 0x70(r1) -/* 8032CEE0 00329E40 2C 05 00 00 */ cmpwi r5, 0 -/* 8032CEE4 00329E44 40 81 00 40 */ ble lbl_8032CF24 -/* 8032CEE8 00329E48 2C 05 00 08 */ cmpwi r5, 8 -/* 8032CEEC 00329E4C 38 85 FF F8 */ addi r4, r5, -8 -/* 8032CEF0 00329E50 40 81 00 20 */ ble lbl_8032CF10 -/* 8032CEF4 00329E54 38 04 00 07 */ addi r0, r4, 7 -/* 8032CEF8 00329E58 54 00 E8 FE */ srwi r0, r0, 3 -/* 8032CEFC 00329E5C 7C 09 03 A6 */ mtctr r0 -/* 8032CF00 00329E60 2C 04 00 00 */ cmpwi r4, 0 -/* 8032CF04 00329E64 40 81 00 0C */ ble lbl_8032CF10 -lbl_8032CF08: -/* 8032CF08 00329E68 38 63 00 08 */ addi r3, r3, 8 -/* 8032CF0C 00329E6C 42 00 FF FC */ bdnz lbl_8032CF08 -lbl_8032CF10: -/* 8032CF10 00329E70 7C 03 28 50 */ subf r0, r3, r5 -/* 8032CF14 00329E74 7C 09 03 A6 */ mtctr r0 -/* 8032CF18 00329E78 7C 03 28 00 */ cmpw r3, r5 -/* 8032CF1C 00329E7C 40 80 00 08 */ bge lbl_8032CF24 -lbl_8032CF20: -/* 8032CF20 00329E80 42 00 00 00 */ bdnz lbl_8032CF20 -lbl_8032CF24: -/* 8032CF24 00329E84 38 00 00 00 */ li r0, 0 -/* 8032CF28 00329E88 90 01 00 8C */ stw r0, 0x8c(r1) -lbl_8032CF2C: -/* 8032CF2C 00329E8C E3 E1 02 08 */ psq_l f31, 520(r1), 0, qr0 -/* 8032CF30 00329E90 CB E1 02 00 */ lfd f31, 0x200(r1) -/* 8032CF34 00329E94 E3 C1 01 F8 */ psq_l f30, 504(r1), 0, qr0 -/* 8032CF38 00329E98 CB C1 01 F0 */ lfd f30, 0x1f0(r1) -/* 8032CF3C 00329E9C E3 A1 01 E8 */ psq_l f29, 488(r1), 0, qr0 -/* 8032CF40 00329EA0 CB A1 01 E0 */ lfd f29, 0x1e0(r1) -/* 8032CF44 00329EA4 E3 81 01 D8 */ psq_l f28, 472(r1), 0, qr0 -/* 8032CF48 00329EA8 CB 81 01 D0 */ lfd f28, 0x1d0(r1) -/* 8032CF4C 00329EAC E3 61 01 C8 */ psq_l f27, 456(r1), 0, qr0 -/* 8032CF50 00329EB0 CB 61 01 C0 */ lfd f27, 0x1c0(r1) -/* 8032CF54 00329EB4 E3 41 01 B8 */ psq_l f26, 440(r1), 0, qr0 -/* 8032CF58 00329EB8 CB 41 01 B0 */ lfd f26, 0x1b0(r1) -/* 8032CF5C 00329EBC E3 21 01 A8 */ psq_l f25, 424(r1), 0, qr0 -/* 8032CF60 00329EC0 CB 21 01 A0 */ lfd f25, 0x1a0(r1) -/* 8032CF64 00329EC4 E3 01 01 98 */ psq_l f24, 408(r1), 0, qr0 -/* 8032CF68 00329EC8 CB 01 01 90 */ lfd f24, 0x190(r1) -/* 8032CF6C 00329ECC E2 E1 01 88 */ psq_l f23, 392(r1), 0, qr0 -/* 8032CF70 00329ED0 CA E1 01 80 */ lfd f23, 0x180(r1) -/* 8032CF74 00329ED4 E2 C1 01 78 */ psq_l f22, 376(r1), 0, qr0 -/* 8032CF78 00329ED8 CA C1 01 70 */ lfd f22, 0x170(r1) -/* 8032CF7C 00329EDC E2 A1 01 68 */ psq_l f21, 360(r1), 0, qr0 -/* 8032CF80 00329EE0 CA A1 01 60 */ lfd f21, 0x160(r1) -/* 8032CF84 00329EE4 E2 81 01 58 */ psq_l f20, 344(r1), 0, qr0 -/* 8032CF88 00329EE8 CA 81 01 50 */ lfd f20, 0x150(r1) -/* 8032CF8C 00329EEC E2 61 01 48 */ psq_l f19, 328(r1), 0, qr0 -/* 8032CF90 00329EF0 CA 61 01 40 */ lfd f19, 0x140(r1) -/* 8032CF94 00329EF4 E2 41 01 38 */ psq_l f18, 312(r1), 0, qr0 -/* 8032CF98 00329EF8 CA 41 01 30 */ lfd f18, 0x130(r1) -/* 8032CF9C 00329EFC E2 21 01 28 */ psq_l f17, 296(r1), 0, qr0 -/* 8032CFA0 00329F00 CA 21 01 20 */ lfd f17, 0x120(r1) -/* 8032CFA4 00329F04 E2 01 01 18 */ psq_l f16, 280(r1), 0, qr0 -/* 8032CFA8 00329F08 CA 01 01 10 */ lfd f16, 0x110(r1) -/* 8032CFAC 00329F0C E1 E1 01 08 */ psq_l f15, 264(r1), 0, qr0 -/* 8032CFB0 00329F10 C9 E1 01 00 */ lfd f15, 0x100(r1) -/* 8032CFB4 00329F14 BA 21 00 C4 */ lmw r17, 0xc4(r1) -/* 8032CFB8 00329F18 80 01 02 14 */ lwz r0, 0x214(r1) -/* 8032CFBC 00329F1C 7C 08 03 A6 */ mtlr r0 -/* 8032CFC0 00329F20 38 21 02 10 */ addi r1, r1, 0x210 -/* 8032CFC4 00329F24 4E 80 00 20 */ blr - -.global Render2SidedSpline__15CParticleSwooshFv -Render2SidedSpline__15CParticleSwooshFv: -/* 8032CFC8 00329F28 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8032CFCC 00329F2C 7C 08 02 A6 */ mflr r0 -/* 8032CFD0 00329F30 90 01 00 14 */ stw r0, 0x14(r1) -/* 8032CFD4 00329F34 4B FF DE C9 */ bl RenderNSidedSpline__15CParticleSwooshFv -/* 8032CFD8 00329F38 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8032CFDC 00329F3C 7C 08 03 A6 */ mtlr r0 -/* 8032CFE0 00329F40 38 21 00 10 */ addi r1, r1, 0x10 -/* 8032CFE4 00329F44 4E 80 00 20 */ blr - -.global Render2SidedNoSplineGaps__15CParticleSwooshFv -Render2SidedNoSplineGaps__15CParticleSwooshFv: -/* 8032CFE8 00329F48 94 21 FF 50 */ stwu r1, -0xb0(r1) -/* 8032CFEC 00329F4C 7C 08 02 A6 */ mflr r0 -/* 8032CFF0 00329F50 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 8032CFF4 00329F54 DB E1 00 A0 */ stfd f31, 0xa0(r1) -/* 8032CFF8 00329F58 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 -/* 8032CFFC 00329F5C DB C1 00 90 */ stfd f30, 0x90(r1) -/* 8032D000 00329F60 F3 C1 00 98 */ psq_st f30, 152(r1), 0, qr0 -/* 8032D004 00329F64 DB A1 00 80 */ stfd f29, 0x80(r1) -/* 8032D008 00329F68 F3 A1 00 88 */ psq_st f29, 136(r1), 0, qr0 -/* 8032D00C 00329F6C BF 61 00 6C */ stmw r27, 0x6c(r1) -/* 8032D010 00329F70 7C 7C 1B 78 */ mr r28, r3 -/* 8032D014 00329F74 3B C0 00 00 */ li r30, 0 -/* 8032D018 00329F78 83 A3 01 58 */ lwz r29, 0x158(r3) -/* 8032D01C 00329F7C 3B E0 00 00 */ li r31, 0 -/* 8032D020 00329F80 48 00 02 DC */ b lbl_8032D2FC -lbl_8032D024: -/* 8032D024 00329F84 80 BC 01 68 */ lwz r5, 0x168(r28) -/* 8032D028 00329F88 57 A0 38 30 */ slwi r0, r29, 7 -/* 8032D02C 00329F8C 7F 83 E3 78 */ mr r3, r28 -/* 8032D030 00329F90 38 9D FF FF */ addi r4, r29, -1 -/* 8032D034 00329F94 7F 65 02 14 */ add r27, r5, r0 -/* 8032D038 00329F98 4B FF DE 25 */ bl WrapIndex__15CParticleSwooshFi -/* 8032D03C 00329F9C 37 BD FF FF */ addic. r29, r29, -1 -/* 8032D040 00329FA0 80 BC 01 68 */ lwz r5, 0x168(r28) -/* 8032D044 00329FA4 54 64 38 30 */ slwi r4, r3, 7 -/* 8032D048 00329FA8 40 80 00 0C */ bge lbl_8032D054 -/* 8032D04C 00329FAC 80 7C 01 60 */ lwz r3, 0x160(r28) -/* 8032D050 00329FB0 3B A3 FF FE */ addi r29, r3, -2 -lbl_8032D054: -/* 8032D054 00329FB4 88 1B 00 00 */ lbz r0, 0(r27) -/* 8032D058 00329FB8 28 00 00 00 */ cmplwi r0, 0 -/* 8032D05C 00329FBC 40 82 00 1C */ bne lbl_8032D078 -/* 8032D060 00329FC0 57 C0 06 3E */ clrlwi r0, r30, 0x18 -/* 8032D064 00329FC4 28 00 00 01 */ cmplwi r0, 1 -/* 8032D068 00329FC8 40 82 02 90 */ bne lbl_8032D2F8 -/* 8032D06C 00329FCC 3B C0 00 00 */ li r30, 0 -/* 8032D070 00329FD0 4B FD E3 A1 */ bl StreamEnd__9CGraphicsFv -/* 8032D074 00329FD4 48 00 02 84 */ b lbl_8032D2F8 -lbl_8032D078: -/* 8032D078 00329FD8 57 C0 06 3F */ clrlwi. r0, r30, 0x18 -/* 8032D07C 00329FDC 40 82 00 2C */ bne lbl_8032D0A8 -/* 8032D080 00329FE0 7C 05 20 AE */ lbzx r0, r5, r4 -/* 8032D084 00329FE4 28 00 00 01 */ cmplwi r0, 1 -/* 8032D088 00329FE8 40 82 02 70 */ bne lbl_8032D2F8 -/* 8032D08C 00329FEC 80 7C 01 60 */ lwz r3, 0x160(r28) -/* 8032D090 00329FF0 38 03 FF FE */ addi r0, r3, -2 -/* 8032D094 00329FF4 7C 1F 00 00 */ cmpw r31, r0 -/* 8032D098 00329FF8 40 80 02 60 */ bge lbl_8032D2F8 -/* 8032D09C 00329FFC 3B C0 00 01 */ li r30, 1 -/* 8032D0A0 0032A000 38 60 00 98 */ li r3, 0x98 -/* 8032D0A4 0032A004 4B FD E5 C5 */ bl StreamBegin__9CGraphicsF13ERglPrimitive -lbl_8032D0A8: -/* 8032D0A8 0032A008 C0 3B 00 30 */ lfs f1, 0x30(r27) -/* 8032D0AC 0032A00C C0 1B 00 34 */ lfs f0, 0x34(r27) -/* 8032D0B0 0032A010 C0 42 CA FC */ lfs f2, lbl_805AE81C@sda21(r2) -/* 8032D0B4 0032A014 EC 21 00 2A */ fadds f1, f1, f0 -/* 8032D0B8 0032A018 C8 02 CA D8 */ lfd f0, lbl_805AE7F8@sda21(r2) -/* 8032D0BC 0032A01C EC 82 00 72 */ fmuls f4, f2, f1 -/* 8032D0C0 0032A020 FC 20 22 10 */ fabs f1, f4 -/* 8032D0C4 0032A024 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8032D0C8 0032A028 40 81 00 64 */ ble lbl_8032D12C -/* 8032D0CC 0032A02C C0 02 CA E0 */ lfs f0, lbl_805AE800@sda21(r2) -/* 8032D0D0 0032A030 3C 00 43 30 */ lis r0, 0x4330 -/* 8032D0D4 0032A034 90 01 00 60 */ stw r0, 0x60(r1) -/* 8032D0D8 0032A038 EC 44 00 32 */ fmuls f2, f4, f0 -/* 8032D0DC 0032A03C C8 62 CA F0 */ lfd f3, lbl_805AE810@sda21(r2) -/* 8032D0E0 0032A040 C0 22 CA E4 */ lfs f1, lbl_805AE804@sda21(r2) -/* 8032D0E4 0032A044 C0 02 CA D0 */ lfs f0, lbl_805AE7F0@sda21(r2) -/* 8032D0E8 0032A048 FC 40 10 1E */ fctiwz f2, f2 -/* 8032D0EC 0032A04C D8 41 00 58 */ stfd f2, 0x58(r1) -/* 8032D0F0 0032A050 80 01 00 5C */ lwz r0, 0x5c(r1) -/* 8032D0F4 0032A054 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 8032D0F8 0032A058 90 01 00 64 */ stw r0, 0x64(r1) -/* 8032D0FC 0032A05C C8 41 00 60 */ lfd f2, 0x60(r1) -/* 8032D100 0032A060 EC 42 18 28 */ fsubs f2, f2, f3 -/* 8032D104 0032A064 EC 62 20 7C */ fnmsubs f3, f2, f1, f4 -/* 8032D108 0032A068 FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 8032D10C 0032A06C 40 81 00 0C */ ble lbl_8032D118 -/* 8032D110 0032A070 EC 63 08 28 */ fsubs f3, f3, f1 -/* 8032D114 0032A074 48 00 00 1C */ b lbl_8032D130 -lbl_8032D118: -/* 8032D118 0032A078 C0 02 CA E8 */ lfs f0, lbl_805AE808@sda21(r2) -/* 8032D11C 0032A07C FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 8032D120 0032A080 40 80 00 10 */ bge lbl_8032D130 -/* 8032D124 0032A084 EC 61 18 2A */ fadds f3, f1, f3 -/* 8032D128 0032A088 48 00 00 08 */ b lbl_8032D130 -lbl_8032D12C: -/* 8032D12C 0032A08C FC 60 20 90 */ fmr f3, f4 -lbl_8032D130: -/* 8032D130 0032A090 EC E3 00 F2 */ fmuls f7, f3, f3 -/* 8032D134 0032A094 C0 02 CA BC */ lfs f0, lbl_805AE7DC@sda21(r2) -/* 8032D138 0032A098 C3 A2 CA A8 */ lfs f29, lbl_805AE7C8@sda21(r2) -/* 8032D13C 0032A09C 38 61 00 30 */ addi r3, r1, 0x30 -/* 8032D140 0032A0A0 C0 42 CA AC */ lfs f2, lbl_805AE7CC@sda21(r2) -/* 8032D144 0032A0A4 EC A3 00 32 */ fmuls f5, f3, f0 -/* 8032D148 0032A0A8 EC C3 01 F2 */ fmuls f6, f3, f7 -/* 8032D14C 0032A0AC C0 22 CA C0 */ lfs f1, lbl_805AE7E0@sda21(r2) -/* 8032D150 0032A0B0 EF A7 E8 BA */ fmadds f29, f7, f2, f29 -/* 8032D154 0032A0B4 C0 42 CA B0 */ lfs f2, lbl_805AE7D0@sda21(r2) -/* 8032D158 0032A0B8 EC 87 01 F2 */ fmuls f4, f7, f7 -/* 8032D15C 0032A0BC C0 02 CA C4 */ lfs f0, lbl_805AE7E4@sda21(r2) -/* 8032D160 0032A0C0 EC A6 28 7A */ fmadds f5, f6, f1, f5 -/* 8032D164 0032A0C4 C0 62 CA B4 */ lfs f3, lbl_805AE7D4@sda21(r2) -/* 8032D168 0032A0C8 EC C6 01 F2 */ fmuls f6, f6, f7 -/* 8032D16C 0032A0CC C0 22 CA C8 */ lfs f1, lbl_805AE7E8@sda21(r2) -/* 8032D170 0032A0D0 EF A4 E8 BA */ fmadds f29, f4, f2, f29 -/* 8032D174 0032A0D4 C0 42 CA B8 */ lfs f2, lbl_805AE7D8@sda21(r2) -/* 8032D178 0032A0D8 EC 84 01 F2 */ fmuls f4, f4, f7 -/* 8032D17C 0032A0DC C1 1B 00 04 */ lfs f8, 4(r27) -/* 8032D180 0032A0E0 EC A6 28 3A */ fmadds f5, f6, f0, f5 -/* 8032D184 0032A0E4 C3 DB 00 08 */ lfs f30, 8(r27) -/* 8032D188 0032A0E8 EC C6 01 F2 */ fmuls f6, f6, f7 -/* 8032D18C 0032A0EC C0 02 CA 94 */ lfs f0, lbl_805AE7B4@sda21(r2) -/* 8032D190 0032A0F0 EF A4 E8 FA */ fmadds f29, f4, f3, f29 -/* 8032D194 0032A0F4 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 8032D198 0032A0F8 EC A6 28 7A */ fmadds f5, f6, f1, f5 -/* 8032D19C 0032A0FC 38 9B 00 38 */ addi r4, r27, 0x38 -/* 8032D1A0 0032A100 EC 84 01 F2 */ fmuls f4, f4, f7 -/* 8032D1A4 0032A104 38 A1 00 24 */ addi r5, r1, 0x24 -/* 8032D1A8 0032A108 FC 00 28 50 */ fneg f0, f5 -/* 8032D1AC 0032A10C EF A4 E8 BA */ fmadds f29, f4, f2, f29 -/* 8032D1B0 0032A110 EC 28 01 72 */ fmuls f1, f8, f5 -/* 8032D1B4 0032A114 EF FE 00 32 */ fmuls f31, f30, f0 -/* 8032D1B8 0032A118 EC 08 07 72 */ fmuls f0, f8, f29 -/* 8032D1BC 0032A11C D0 21 00 2C */ stfs f1, 0x2c(r1) -/* 8032D1C0 0032A120 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 8032D1C4 0032A124 4B FE 59 25 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 8032D1C8 0032A128 C0 A1 00 34 */ lfs f5, 0x34(r1) -/* 8032D1CC 0032A12C FC 00 E8 50 */ fneg f0, f29 -/* 8032D1D0 0032A130 C0 7B 00 10 */ lfs f3, 0x10(r27) -/* 8032D1D4 0032A134 38 61 00 18 */ addi r3, r1, 0x18 -/* 8032D1D8 0032A138 C0 41 00 38 */ lfs f2, 0x38(r1) -/* 8032D1DC 0032A13C 38 9B 00 38 */ addi r4, r27, 0x38 -/* 8032D1E0 0032A140 C0 3B 00 14 */ lfs f1, 0x14(r27) -/* 8032D1E4 0032A144 C0 81 00 30 */ lfs f4, 0x30(r1) -/* 8032D1E8 0032A148 ED 05 18 2A */ fadds f8, f5, f3 -/* 8032D1EC 0032A14C C0 7B 00 0C */ lfs f3, 0xc(r27) -/* 8032D1F0 0032A150 EC C2 08 2A */ fadds f6, f2, f1 -/* 8032D1F4 0032A154 C0 FB 00 28 */ lfs f7, 0x28(r27) -/* 8032D1F8 0032A158 EC 3E 00 32 */ fmuls f1, f30, f0 -/* 8032D1FC 0032A15C C0 BB 00 2C */ lfs f5, 0x2c(r27) -/* 8032D200 0032A160 C0 5B 00 24 */ lfs f2, 0x24(r27) -/* 8032D204 0032A164 EC 64 18 2A */ fadds f3, f4, f3 -/* 8032D208 0032A168 EC E8 38 2A */ fadds f7, f8, f7 -/* 8032D20C 0032A16C C0 02 CA 94 */ lfs f0, lbl_805AE7B4@sda21(r2) -/* 8032D210 0032A170 EC 86 28 2A */ fadds f4, f6, f5 -/* 8032D214 0032A174 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 8032D218 0032A178 EC 23 10 2A */ fadds f1, f3, f2 -/* 8032D21C 0032A17C D0 E1 00 4C */ stfs f7, 0x4c(r1) -/* 8032D220 0032A180 38 A1 00 0C */ addi r5, r1, 0xc -/* 8032D224 0032A184 D0 21 00 48 */ stfs f1, 0x48(r1) -/* 8032D228 0032A188 D0 81 00 50 */ stfs f4, 0x50(r1) -/* 8032D22C 0032A18C D0 01 00 10 */ stfs f0, 0x10(r1) -/* 8032D230 0032A190 D3 E1 00 14 */ stfs f31, 0x14(r1) -/* 8032D234 0032A194 4B FE 58 B5 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 8032D238 0032A198 C0 61 00 1C */ lfs f3, 0x1c(r1) -/* 8032D23C 0032A19C 38 61 00 08 */ addi r3, r1, 8 -/* 8032D240 0032A1A0 C0 5B 00 10 */ lfs f2, 0x10(r27) -/* 8032D244 0032A1A4 38 9B 00 6C */ addi r4, r27, 0x6c -/* 8032D248 0032A1A8 C0 21 00 20 */ lfs f1, 0x20(r1) -/* 8032D24C 0032A1AC 38 BC 02 0C */ addi r5, r28, 0x20c -/* 8032D250 0032A1B0 C0 1B 00 14 */ lfs f0, 0x14(r27) -/* 8032D254 0032A1B4 EC A3 10 2A */ fadds f5, f3, f2 -/* 8032D258 0032A1B8 C0 7B 00 28 */ lfs f3, 0x28(r27) -/* 8032D25C 0032A1BC C0 41 00 18 */ lfs f2, 0x18(r1) -/* 8032D260 0032A1C0 EC 81 00 2A */ fadds f4, f1, f0 -/* 8032D264 0032A1C4 C0 3B 00 0C */ lfs f1, 0xc(r27) -/* 8032D268 0032A1C8 EC A5 18 2A */ fadds f5, f5, f3 -/* 8032D26C 0032A1CC C0 7B 00 2C */ lfs f3, 0x2c(r27) -/* 8032D270 0032A1D0 C0 1B 00 24 */ lfs f0, 0x24(r27) -/* 8032D274 0032A1D4 EC 22 08 2A */ fadds f1, f2, f1 -/* 8032D278 0032A1D8 EC 44 18 2A */ fadds f2, f4, f3 -/* 8032D27C 0032A1DC D0 A1 00 40 */ stfs f5, 0x40(r1) -/* 8032D280 0032A1E0 EC 01 00 2A */ fadds f0, f1, f0 -/* 8032D284 0032A1E4 D0 41 00 44 */ stfs f2, 0x44(r1) -/* 8032D288 0032A1E8 D0 01 00 3C */ stfs f0, 0x3c(r1) -/* 8032D28C 0032A1EC 48 03 5E ED */ bl Modulate__6CColorFRC6CColorRC6CColor -/* 8032D290 0032A1F0 80 61 00 08 */ lwz r3, 8(r1) -/* 8032D294 0032A1F4 4B FD E2 D9 */ bl StreamColor__9CGraphicsFUi -/* 8032D298 0032A1F8 C0 22 CA 90 */ lfs f1, lbl_805AE7B0@sda21(r2) -/* 8032D29C 0032A1FC C0 5C 01 D8 */ lfs f2, 0x1d8(r28) -/* 8032D2A0 0032A200 4B FD E1 C5 */ bl StreamTexcoord__9CGraphicsFff -/* 8032D2A4 0032A204 38 61 00 48 */ addi r3, r1, 0x48 -/* 8032D2A8 0032A208 4B FD E3 19 */ bl StreamVertex__9CGraphicsFRC9CVector3f -/* 8032D2AC 0032A20C C0 22 CA 90 */ lfs f1, lbl_805AE7B0@sda21(r2) -/* 8032D2B0 0032A210 C0 5C 01 E0 */ lfs f2, 0x1e0(r28) -/* 8032D2B4 0032A214 4B FD E1 B1 */ bl StreamTexcoord__9CGraphicsFff -/* 8032D2B8 0032A218 38 61 00 3C */ addi r3, r1, 0x3c -/* 8032D2BC 0032A21C 4B FD E3 05 */ bl StreamVertex__9CGraphicsFRC9CVector3f -/* 8032D2C0 0032A220 80 7C 01 60 */ lwz r3, 0x160(r28) -/* 8032D2C4 0032A224 38 03 FF FF */ addi r0, r3, -1 -/* 8032D2C8 0032A228 7C 1F 00 00 */ cmpw r31, r0 -/* 8032D2CC 0032A22C 40 80 00 2C */ bge lbl_8032D2F8 -/* 8032D2D0 0032A230 C0 22 CA 94 */ lfs f1, lbl_805AE7B4@sda21(r2) -/* 8032D2D4 0032A234 C0 5C 01 D8 */ lfs f2, 0x1d8(r28) -/* 8032D2D8 0032A238 4B FD E1 8D */ bl StreamTexcoord__9CGraphicsFff -/* 8032D2DC 0032A23C 38 61 00 48 */ addi r3, r1, 0x48 -/* 8032D2E0 0032A240 4B FD E2 E1 */ bl StreamVertex__9CGraphicsFRC9CVector3f -/* 8032D2E4 0032A244 C0 22 CA 94 */ lfs f1, lbl_805AE7B4@sda21(r2) -/* 8032D2E8 0032A248 C0 5C 01 E0 */ lfs f2, 0x1e0(r28) -/* 8032D2EC 0032A24C 4B FD E1 79 */ bl StreamTexcoord__9CGraphicsFff -/* 8032D2F0 0032A250 38 61 00 3C */ addi r3, r1, 0x3c -/* 8032D2F4 0032A254 4B FD E2 CD */ bl StreamVertex__9CGraphicsFRC9CVector3f -lbl_8032D2F8: -/* 8032D2F8 0032A258 3B FF 00 01 */ addi r31, r31, 1 -lbl_8032D2FC: -/* 8032D2FC 0032A25C 80 1C 01 60 */ lwz r0, 0x160(r28) -/* 8032D300 0032A260 7C 1F 00 00 */ cmpw r31, r0 -/* 8032D304 0032A264 41 80 FD 20 */ blt lbl_8032D024 -/* 8032D308 0032A268 57 C0 06 3E */ clrlwi r0, r30, 0x18 -/* 8032D30C 0032A26C 28 00 00 01 */ cmplwi r0, 1 -/* 8032D310 0032A270 40 82 00 08 */ bne lbl_8032D318 -/* 8032D314 0032A274 4B FD E0 FD */ bl StreamEnd__9CGraphicsFv -lbl_8032D318: -/* 8032D318 0032A278 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 -/* 8032D31C 0032A27C CB E1 00 A0 */ lfd f31, 0xa0(r1) -/* 8032D320 0032A280 E3 C1 00 98 */ psq_l f30, 152(r1), 0, qr0 -/* 8032D324 0032A284 CB C1 00 90 */ lfd f30, 0x90(r1) -/* 8032D328 0032A288 E3 A1 00 88 */ psq_l f29, 136(r1), 0, qr0 -/* 8032D32C 0032A28C CB A1 00 80 */ lfd f29, 0x80(r1) -/* 8032D330 0032A290 BB 61 00 6C */ lmw r27, 0x6c(r1) -/* 8032D334 0032A294 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 8032D338 0032A298 7C 08 03 A6 */ mtlr r0 -/* 8032D33C 0032A29C 38 21 00 B0 */ addi r1, r1, 0xb0 -/* 8032D340 0032A2A0 4E 80 00 20 */ blr - -.global Render2SidedNoSplineNoGaps__15CParticleSwooshFv -Render2SidedNoSplineNoGaps__15CParticleSwooshFv: -/* 8032D344 0032A2A4 94 21 FD 40 */ stwu r1, -0x2c0(r1) -/* 8032D348 0032A2A8 7C 08 02 A6 */ mflr r0 -/* 8032D34C 0032A2AC 90 01 02 C4 */ stw r0, 0x2c4(r1) -/* 8032D350 0032A2B0 DB E1 02 B0 */ stfd f31, 0x2b0(r1) -/* 8032D354 0032A2B4 F3 E1 02 B8 */ psq_st f31, 696(r1), 0, qr0 -/* 8032D358 0032A2B8 DB C1 02 A0 */ stfd f30, 0x2a0(r1) -/* 8032D35C 0032A2BC F3 C1 02 A8 */ psq_st f30, 680(r1), 0, qr0 -/* 8032D360 0032A2C0 DB A1 02 90 */ stfd f29, 0x290(r1) -/* 8032D364 0032A2C4 F3 A1 02 98 */ psq_st f29, 664(r1), 0, qr0 -/* 8032D368 0032A2C8 DB 81 02 80 */ stfd f28, 0x280(r1) -/* 8032D36C 0032A2CC F3 81 02 88 */ psq_st f28, 648(r1), 0, qr0 -/* 8032D370 0032A2D0 DB 61 02 70 */ stfd f27, 0x270(r1) -/* 8032D374 0032A2D4 F3 61 02 78 */ psq_st f27, 632(r1), 0, qr0 -/* 8032D378 0032A2D8 DB 41 02 60 */ stfd f26, 0x260(r1) -/* 8032D37C 0032A2DC F3 41 02 68 */ psq_st f26, 616(r1), 0, qr0 -/* 8032D380 0032A2E0 DB 21 02 50 */ stfd f25, 0x250(r1) -/* 8032D384 0032A2E4 F3 21 02 58 */ psq_st f25, 600(r1), 0, qr0 -/* 8032D388 0032A2E8 BF 61 02 3C */ stmw r27, 0x23c(r1) -/* 8032D38C 0032A2EC 7C 7B 1B 78 */ mr r27, r3 -/* 8032D390 0032A2F0 38 60 00 98 */ li r3, 0x98 -/* 8032D394 0032A2F4 4B FD E2 D5 */ bl StreamBegin__9CGraphicsF13ERglPrimitive -/* 8032D398 0032A2F8 80 7B 00 24 */ lwz r3, 0x24(r27) -/* 8032D39C 0032A2FC 83 DB 01 AC */ lwz r30, 0x1ac(r27) -/* 8032D3A0 0032A300 80 03 00 3C */ lwz r0, 0x3c(r3) -/* 8032D3A4 0032A304 83 BB 01 58 */ lwz r29, 0x158(r27) -/* 8032D3A8 0032A308 28 00 00 00 */ cmplwi r0, 0 -/* 8032D3AC 0032A30C C3 22 CA 94 */ lfs f25, lbl_805AE7B4@sda21(r2) -/* 8032D3B0 0032A310 41 82 06 6C */ beq lbl_8032DA1C -/* 8032D3B4 0032A314 88 03 00 45 */ lbz r0, 0x45(r3) -/* 8032D3B8 0032A318 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 8032D3BC 0032A31C 41 82 03 6C */ beq lbl_8032D728 -/* 8032D3C0 0032A320 38 61 01 04 */ addi r3, r1, 0x104 -/* 8032D3C4 0032A324 38 9B 00 A4 */ addi r4, r27, 0xa4 -/* 8032D3C8 0032A328 4B FE 5D 79 */ bl Translate__12CTransform4fFRC9CVector3f -/* 8032D3CC 0032A32C 38 61 01 34 */ addi r3, r1, 0x134 -/* 8032D3D0 0032A330 38 81 01 04 */ addi r4, r1, 0x104 -/* 8032D3D4 0032A334 38 BB 00 B0 */ addi r5, r27, 0xb0 -/* 8032D3D8 0032A338 4B FE 55 79 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 8032D3DC 0032A33C 38 61 01 64 */ addi r3, r1, 0x164 -/* 8032D3E0 0032A340 38 81 01 34 */ addi r4, r1, 0x134 -/* 8032D3E4 0032A344 38 BB 00 EC */ addi r5, r27, 0xec -/* 8032D3E8 0032A348 4B FE 55 69 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 8032D3EC 0032A34C 38 61 01 94 */ addi r3, r1, 0x194 -/* 8032D3F0 0032A350 38 81 01 64 */ addi r4, r1, 0x164 -/* 8032D3F4 0032A354 4B FE 52 ED */ bl GetInverse__12CTransform4fCFv -/* 8032D3F8 0032A358 38 61 01 F4 */ addi r3, r1, 0x1f4 -/* 8032D3FC 0032A35C 38 81 01 94 */ addi r4, r1, 0x194 -/* 8032D400 0032A360 4B FE 57 75 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8032D404 0032A364 3C 80 80 5A */ lis r4, lbl_805A61D4@ha -/* 8032D408 0032A368 38 61 00 D4 */ addi r3, r1, 0xd4 -/* 8032D40C 0032A36C 38 A4 61 D4 */ addi r5, r4, lbl_805A61D4@l -/* 8032D410 0032A370 38 81 01 F4 */ addi r4, r1, 0x1f4 -/* 8032D414 0032A374 4B FE 55 3D */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 8032D418 0032A378 38 61 01 C4 */ addi r3, r1, 0x1c4 -/* 8032D41C 0032A37C 38 81 00 D4 */ addi r4, r1, 0xd4 -/* 8032D420 0032A380 4B FE 57 55 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8032D424 0032A384 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8032D428 0032A388 C7 83 66 A0 */ lfsu f28, skZero3f@l(r3) -/* 8032D42C 0032A38C C3 E1 01 D0 */ lfs f31, 0x1d0(r1) -/* 8032D430 0032A390 3B 80 00 00 */ li r28, 0 -/* 8032D434 0032A394 C3 C1 01 E0 */ lfs f30, 0x1e0(r1) -/* 8032D438 0032A398 C3 A1 01 F0 */ lfs f29, 0x1f0(r1) -/* 8032D43C 0032A39C C3 63 00 04 */ lfs f27, 4(r3) -/* 8032D440 0032A3A0 C3 43 00 08 */ lfs f26, 8(r3) -/* 8032D444 0032A3A4 48 00 02 D4 */ b lbl_8032D718 -lbl_8032D448: -/* 8032D448 0032A3A8 57 A0 38 30 */ slwi r0, r29, 7 -/* 8032D44C 0032A3AC 80 9B 01 68 */ lwz r4, 0x168(r27) -/* 8032D450 0032A3B0 37 BD FF FF */ addic. r29, r29, -1 -/* 8032D454 0032A3B4 7F E4 02 14 */ add r31, r4, r0 -/* 8032D458 0032A3B8 40 80 00 08 */ bge lbl_8032D460 -/* 8032D45C 0032A3BC 3B A3 FF FF */ addi r29, r3, -1 -lbl_8032D460: -/* 8032D460 0032A3C0 88 1F 00 00 */ lbz r0, 0(r31) -/* 8032D464 0032A3C4 28 00 00 00 */ cmplwi r0, 0 -/* 8032D468 0032A3C8 41 82 02 AC */ beq lbl_8032D714 -/* 8032D46C 0032A3CC 34 BD FF FF */ addic. r5, r29, -1 -/* 8032D470 0032A3D0 3B DE FF FF */ addi r30, r30, -1 -/* 8032D474 0032A3D4 40 80 00 08 */ bge lbl_8032D47C -/* 8032D478 0032A3D8 38 A3 FF FF */ addi r5, r3, -1 -lbl_8032D47C: -/* 8032D47C 0032A3DC 54 A0 38 30 */ slwi r0, r5, 7 -/* 8032D480 0032A3E0 C0 BF 00 10 */ lfs f5, 0x10(r31) -/* 8032D484 0032A3E4 7C 64 02 14 */ add r3, r4, r0 -/* 8032D488 0032A3E8 C0 9F 00 14 */ lfs f4, 0x14(r31) -/* 8032D48C 0032A3EC C0 43 00 10 */ lfs f2, 0x10(r3) -/* 8032D490 0032A3F0 C0 23 00 14 */ lfs f1, 0x14(r3) -/* 8032D494 0032A3F4 C0 03 00 0C */ lfs f0, 0xc(r3) -/* 8032D498 0032A3F8 EC 42 28 28 */ fsubs f2, f2, f5 -/* 8032D49C 0032A3FC C0 7F 00 0C */ lfs f3, 0xc(r31) -/* 8032D4A0 0032A400 EC 21 20 28 */ fsubs f1, f1, f4 -/* 8032D4A4 0032A404 EC 00 18 28 */ fsubs f0, f0, f3 -/* 8032D4A8 0032A408 D0 41 00 CC */ stfs f2, 0xcc(r1) -/* 8032D4AC 0032A40C D0 21 00 D0 */ stfs f1, 0xd0(r1) -/* 8032D4B0 0032A410 D0 01 00 C8 */ stfs f0, 0xc8(r1) -/* 8032D4B4 0032A414 80 1B 01 58 */ lwz r0, 0x158(r27) -/* 8032D4B8 0032A418 7C 05 00 00 */ cmpw r5, r0 -/* 8032D4BC 0032A41C 40 82 00 4C */ bne lbl_8032D508 -/* 8032D4C0 0032A420 80 7B 01 60 */ lwz r3, 0x160(r27) -/* 8032D4C4 0032A424 38 9D 00 01 */ addi r4, r29, 1 -/* 8032D4C8 0032A428 80 BB 01 68 */ lwz r5, 0x168(r27) -/* 8032D4CC 0032A42C 7C 04 1B D6 */ divw r0, r4, r3 -/* 8032D4D0 0032A430 7C 00 19 D6 */ mullw r0, r0, r3 -/* 8032D4D4 0032A434 7C 00 20 50 */ subf r0, r0, r4 -/* 8032D4D8 0032A438 54 03 38 30 */ slwi r3, r0, 7 -/* 8032D4DC 0032A43C 38 63 00 0C */ addi r3, r3, 0xc -/* 8032D4E0 0032A440 7C 65 1A 14 */ add r3, r5, r3 -/* 8032D4E4 0032A444 C0 43 00 04 */ lfs f2, 4(r3) -/* 8032D4E8 0032A448 C0 23 00 08 */ lfs f1, 8(r3) -/* 8032D4EC 0032A44C C0 03 00 00 */ lfs f0, 0(r3) -/* 8032D4F0 0032A450 EC 45 10 28 */ fsubs f2, f5, f2 -/* 8032D4F4 0032A454 EC 24 08 28 */ fsubs f1, f4, f1 -/* 8032D4F8 0032A458 EC 03 00 28 */ fsubs f0, f3, f0 -/* 8032D4FC 0032A45C D0 41 00 CC */ stfs f2, 0xcc(r1) -/* 8032D500 0032A460 D0 01 00 C8 */ stfs f0, 0xc8(r1) -/* 8032D504 0032A464 D0 21 00 D0 */ stfs f1, 0xd0(r1) -lbl_8032D508: -/* 8032D508 0032A468 38 61 00 C8 */ addi r3, r1, 0xc8 -/* 8032D50C 0032A46C 4B FE 71 ED */ bl CanBeNormalized__9CVector3fCFv -/* 8032D510 0032A470 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8032D514 0032A474 41 82 01 C4 */ beq lbl_8032D6D8 -/* 8032D518 0032A478 C0 5F 00 0C */ lfs f2, 0xc(r31) -/* 8032D51C 0032A47C 38 61 00 BC */ addi r3, r1, 0xbc -/* 8032D520 0032A480 C0 3F 00 10 */ lfs f1, 0x10(r31) -/* 8032D524 0032A484 C0 1F 00 14 */ lfs f0, 0x14(r31) -/* 8032D528 0032A488 EC BF 10 28 */ fsubs f5, f31, f2 -/* 8032D52C 0032A48C C0 C1 00 CC */ lfs f6, 0xcc(r1) -/* 8032D530 0032A490 EC 9E 08 28 */ fsubs f4, f30, f1 -/* 8032D534 0032A494 C0 E1 00 D0 */ lfs f7, 0xd0(r1) -/* 8032D538 0032A498 EC 7D 00 28 */ fsubs f3, f29, f0 -/* 8032D53C 0032A49C C1 01 00 C8 */ lfs f8, 0xc8(r1) -/* 8032D540 0032A4A0 EC 45 01 B2 */ fmuls f2, f5, f6 -/* 8032D544 0032A4A4 EC 24 01 F2 */ fmuls f1, f4, f7 -/* 8032D548 0032A4A8 EC 03 02 32 */ fmuls f0, f3, f8 -/* 8032D54C 0032A4AC EC 48 11 38 */ fmsubs f2, f8, f4, f2 -/* 8032D550 0032A4B0 EC 26 08 F8 */ fmsubs f1, f6, f3, f1 -/* 8032D554 0032A4B4 EC 07 01 78 */ fmsubs f0, f7, f5, f0 -/* 8032D558 0032A4B8 D0 41 00 C4 */ stfs f2, 0xc4(r1) -/* 8032D55C 0032A4BC D0 21 00 BC */ stfs f1, 0xbc(r1) -/* 8032D560 0032A4C0 D0 01 00 C0 */ stfs f0, 0xc0(r1) -/* 8032D564 0032A4C4 4B FE 71 95 */ bl CanBeNormalized__9CVector3fCFv -/* 8032D568 0032A4C8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8032D56C 0032A4CC 41 82 01 6C */ beq lbl_8032D6D8 -/* 8032D570 0032A4D0 38 61 00 BC */ addi r3, r1, 0xbc -/* 8032D574 0032A4D4 4B FE 73 85 */ bl Normalize__9CVector3fFv -/* 8032D578 0032A4D8 C0 61 00 C0 */ lfs f3, 0xc0(r1) -/* 8032D57C 0032A4DC C0 41 00 BC */ lfs f2, 0xbc(r1) -/* 8032D580 0032A4E0 EC 23 06 F2 */ fmuls f1, f3, f27 -/* 8032D584 0032A4E4 C0 81 00 C4 */ lfs f4, 0xc4(r1) -/* 8032D588 0032A4E8 C0 02 CA 94 */ lfs f0, lbl_805AE7B4@sda21(r2) -/* 8032D58C 0032A4EC EC 22 0F 3A */ fmadds f1, f2, f28, f1 -/* 8032D590 0032A4F0 EC 24 0E BA */ fmadds f1, f4, f26, f1 -/* 8032D594 0032A4F4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8032D598 0032A4F8 40 80 00 0C */ bge lbl_8032D5A4 -/* 8032D59C 0032A4FC C0 02 CB 00 */ lfs f0, lbl_805AE820@sda21(r2) -/* 8032D5A0 0032A500 48 00 00 08 */ b lbl_8032D5A8 -lbl_8032D5A4: -/* 8032D5A4 0032A504 C0 02 CA 90 */ lfs f0, lbl_805AE7B0@sda21(r2) -lbl_8032D5A8: -/* 8032D5A8 0032A508 EF 60 00 F2 */ fmuls f27, f0, f3 -/* 8032D5AC 0032A50C C0 3F 00 10 */ lfs f1, 0x10(r31) -/* 8032D5B0 0032A510 EF 40 01 32 */ fmuls f26, f0, f4 -/* 8032D5B4 0032A514 C1 1F 00 04 */ lfs f8, 4(r31) -/* 8032D5B8 0032A518 EF 80 00 B2 */ fmuls f28, f0, f2 -/* 8032D5BC 0032A51C C0 1F 00 28 */ lfs f0, 0x28(r31) -/* 8032D5C0 0032A520 EC E1 00 2A */ fadds f7, f1, f0 -/* 8032D5C4 0032A524 C0 9F 00 14 */ lfs f4, 0x14(r31) -/* 8032D5C8 0032A528 C0 7F 00 2C */ lfs f3, 0x2c(r31) -/* 8032D5CC 0032A52C EC C8 06 F2 */ fmuls f6, f8, f27 -/* 8032D5D0 0032A530 C0 3F 00 0C */ lfs f1, 0xc(r31) -/* 8032D5D4 0032A534 EC 48 06 B2 */ fmuls f2, f8, f26 -/* 8032D5D8 0032A538 EC A4 18 2A */ fadds f5, f4, f3 -/* 8032D5DC 0032A53C C0 1F 00 24 */ lfs f0, 0x24(r31) -/* 8032D5E0 0032A540 EC C7 30 2A */ fadds f6, f7, f6 -/* 8032D5E4 0032A544 C0 62 CB 00 */ lfs f3, lbl_805AE820@sda21(r2) -/* 8032D5E8 0032A548 EC 81 00 2A */ fadds f4, f1, f0 -/* 8032D5EC 0032A54C 38 61 00 10 */ addi r3, r1, 0x10 -/* 8032D5F0 0032A550 EC 08 07 32 */ fmuls f0, f8, f28 -/* 8032D5F4 0032A554 D0 C1 00 B4 */ stfs f6, 0xb4(r1) -/* 8032D5F8 0032A558 EC 25 10 2A */ fadds f1, f5, f2 -/* 8032D5FC 0032A55C 38 9F 00 6C */ addi r4, r31, 0x6c -/* 8032D600 0032A560 38 BB 02 0C */ addi r5, r27, 0x20c -/* 8032D604 0032A564 EC 04 00 2A */ fadds f0, f4, f0 -/* 8032D608 0032A568 D0 21 00 B8 */ stfs f1, 0xb8(r1) -/* 8032D60C 0032A56C D0 01 00 B0 */ stfs f0, 0xb0(r1) -/* 8032D610 0032A570 C0 1F 00 08 */ lfs f0, 8(r31) -/* 8032D614 0032A574 EC 40 06 F2 */ fmuls f2, f0, f27 -/* 8032D618 0032A578 EC 20 06 B2 */ fmuls f1, f0, f26 -/* 8032D61C 0032A57C EC 00 07 32 */ fmuls f0, f0, f28 -/* 8032D620 0032A580 EC 43 00 B2 */ fmuls f2, f3, f2 -/* 8032D624 0032A584 EC 23 00 72 */ fmuls f1, f3, f1 -/* 8032D628 0032A588 EC 03 00 32 */ fmuls f0, f3, f0 -/* 8032D62C 0032A58C EC 47 10 2A */ fadds f2, f7, f2 -/* 8032D630 0032A590 EC 25 08 2A */ fadds f1, f5, f1 -/* 8032D634 0032A594 EC 04 00 2A */ fadds f0, f4, f0 -/* 8032D638 0032A598 D0 41 00 A8 */ stfs f2, 0xa8(r1) -/* 8032D63C 0032A59C D0 01 00 A4 */ stfs f0, 0xa4(r1) -/* 8032D640 0032A5A0 D0 21 00 AC */ stfs f1, 0xac(r1) -/* 8032D644 0032A5A4 48 03 5B 35 */ bl Modulate__6CColorFRC6CColorRC6CColor -/* 8032D648 0032A5A8 83 E1 00 10 */ lwz r31, 0x10(r1) -/* 8032D64C 0032A5AC 7F E3 FB 78 */ mr r3, r31 -/* 8032D650 0032A5B0 4B FD DF 1D */ bl StreamColor__9CGraphicsFUi -/* 8032D654 0032A5B4 FC 20 C8 90 */ fmr f1, f25 -/* 8032D658 0032A5B8 C0 5B 01 D8 */ lfs f2, 0x1d8(r27) -/* 8032D65C 0032A5BC 4B FD DE 09 */ bl StreamTexcoord__9CGraphicsFff -/* 8032D660 0032A5C0 38 61 00 B0 */ addi r3, r1, 0xb0 -/* 8032D664 0032A5C4 4B FD DF 5D */ bl StreamVertex__9CGraphicsFRC9CVector3f -/* 8032D668 0032A5C8 FC 20 C8 90 */ fmr f1, f25 -/* 8032D66C 0032A5CC C0 5B 01 E0 */ lfs f2, 0x1e0(r27) -/* 8032D670 0032A5D0 4B FD DD F5 */ bl StreamTexcoord__9CGraphicsFff -/* 8032D674 0032A5D4 38 61 00 A4 */ addi r3, r1, 0xa4 -/* 8032D678 0032A5D8 4B FD DF 49 */ bl StreamVertex__9CGraphicsFRC9CVector3f -/* 8032D67C 0032A5DC C0 02 CA 90 */ lfs f0, lbl_805AE7B0@sda21(r2) -/* 8032D680 0032A5E0 FC 19 00 40 */ fcmpo cr0, f25, f0 -/* 8032D684 0032A5E4 4C 41 13 82 */ cror 2, 1, 2 -/* 8032D688 0032A5E8 40 82 00 50 */ bne lbl_8032D6D8 -/* 8032D68C 0032A5EC 2C 1E 00 00 */ cmpwi r30, 0 -/* 8032D690 0032A5F0 41 82 00 48 */ beq lbl_8032D6D8 -/* 8032D694 0032A5F4 4B FD DD 7D */ bl StreamEnd__9CGraphicsFv -/* 8032D698 0032A5F8 38 60 00 98 */ li r3, 0x98 -/* 8032D69C 0032A5FC 4B FD DF CD */ bl StreamBegin__9CGraphicsF13ERglPrimitive -/* 8032D6A0 0032A600 C0 02 CA 90 */ lfs f0, lbl_805AE7B0@sda21(r2) -/* 8032D6A4 0032A604 7F E3 FB 78 */ mr r3, r31 -/* 8032D6A8 0032A608 EF 39 00 28 */ fsubs f25, f25, f0 -/* 8032D6AC 0032A60C 4B FD DE C1 */ bl StreamColor__9CGraphicsFUi -/* 8032D6B0 0032A610 FC 20 C8 90 */ fmr f1, f25 -/* 8032D6B4 0032A614 C0 5B 01 D8 */ lfs f2, 0x1d8(r27) -/* 8032D6B8 0032A618 4B FD DD AD */ bl StreamTexcoord__9CGraphicsFff -/* 8032D6BC 0032A61C 38 61 00 B0 */ addi r3, r1, 0xb0 -/* 8032D6C0 0032A620 4B FD DF 01 */ bl StreamVertex__9CGraphicsFRC9CVector3f -/* 8032D6C4 0032A624 FC 20 C8 90 */ fmr f1, f25 -/* 8032D6C8 0032A628 C0 5B 01 E0 */ lfs f2, 0x1e0(r27) -/* 8032D6CC 0032A62C 4B FD DD 99 */ bl StreamTexcoord__9CGraphicsFff -/* 8032D6D0 0032A630 38 61 00 A4 */ addi r3, r1, 0xa4 -/* 8032D6D4 0032A634 4B FD DE ED */ bl StreamVertex__9CGraphicsFRC9CVector3f -lbl_8032D6D8: -/* 8032D6D8 0032A638 80 1B 01 EC */ lwz r0, 0x1ec(r27) -/* 8032D6DC 0032A63C 2C 00 00 00 */ cmpwi r0, 0 -/* 8032D6E0 0032A640 40 81 00 10 */ ble lbl_8032D6F0 -/* 8032D6E4 0032A644 C0 1B 01 E8 */ lfs f0, 0x1e8(r27) -/* 8032D6E8 0032A648 EF 39 00 2A */ fadds f25, f25, f0 -/* 8032D6EC 0032A64C 48 00 00 28 */ b lbl_8032D714 -lbl_8032D6F0: -/* 8032D6F0 0032A650 6F 83 80 00 */ xoris r3, r28, 0x8000 -/* 8032D6F4 0032A654 3C 00 43 30 */ lis r0, 0x4330 -/* 8032D6F8 0032A658 90 61 02 2C */ stw r3, 0x22c(r1) -/* 8032D6FC 0032A65C C8 22 CA F0 */ lfd f1, lbl_805AE810@sda21(r2) -/* 8032D700 0032A660 90 01 02 28 */ stw r0, 0x228(r1) -/* 8032D704 0032A664 C0 5B 01 E8 */ lfs f2, 0x1e8(r27) -/* 8032D708 0032A668 C8 01 02 28 */ lfd f0, 0x228(r1) -/* 8032D70C 0032A66C EC 00 08 28 */ fsubs f0, f0, f1 -/* 8032D710 0032A670 EF 22 00 32 */ fmuls f25, f2, f0 -lbl_8032D714: -/* 8032D714 0032A674 3B 9C 00 01 */ addi r28, r28, 1 -lbl_8032D718: -/* 8032D718 0032A678 80 7B 01 60 */ lwz r3, 0x160(r27) -/* 8032D71C 0032A67C 7C 1C 18 00 */ cmpw r28, r3 -/* 8032D720 0032A680 41 80 FD 28 */ blt lbl_8032D448 -/* 8032D724 0032A684 48 00 05 30 */ b lbl_8032DC54 -lbl_8032D728: -/* 8032D728 0032A688 3B E0 00 00 */ li r31, 0 -/* 8032D72C 0032A68C 48 00 02 E0 */ b lbl_8032DA0C -lbl_8032D730: -/* 8032D730 0032A690 57 A0 38 30 */ slwi r0, r29, 7 -/* 8032D734 0032A694 80 7B 01 68 */ lwz r3, 0x168(r27) -/* 8032D738 0032A698 37 BD FF FF */ addic. r29, r29, -1 -/* 8032D73C 0032A69C 7F 83 02 14 */ add r28, r3, r0 -/* 8032D740 0032A6A0 40 80 00 08 */ bge lbl_8032D748 -/* 8032D744 0032A6A4 3B A4 FF FF */ addi r29, r4, -1 -lbl_8032D748: -/* 8032D748 0032A6A8 88 1C 00 00 */ lbz r0, 0(r28) -/* 8032D74C 0032A6AC 28 00 00 00 */ cmplwi r0, 0 -/* 8032D750 0032A6B0 41 82 02 B8 */ beq lbl_8032DA08 -/* 8032D754 0032A6B4 C0 3C 00 30 */ lfs f1, 0x30(r28) -/* 8032D758 0032A6B8 3B DE FF FF */ addi r30, r30, -1 -/* 8032D75C 0032A6BC C0 1C 00 34 */ lfs f0, 0x34(r28) -/* 8032D760 0032A6C0 C0 62 CA D0 */ lfs f3, lbl_805AE7F0@sda21(r2) -/* 8032D764 0032A6C4 EC 41 00 2A */ fadds f2, f1, f0 -/* 8032D768 0032A6C8 C0 22 CA D4 */ lfs f1, lbl_805AE7F4@sda21(r2) -/* 8032D76C 0032A6CC C8 02 CA D8 */ lfd f0, lbl_805AE7F8@sda21(r2) -/* 8032D770 0032A6D0 EC 43 00 B2 */ fmuls f2, f3, f2 -/* 8032D774 0032A6D4 EC 82 08 24 */ fdivs f4, f2, f1 -/* 8032D778 0032A6D8 FC 20 22 10 */ fabs f1, f4 -/* 8032D77C 0032A6DC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8032D780 0032A6E0 40 81 00 5C */ ble lbl_8032D7DC -/* 8032D784 0032A6E4 C0 02 CA E0 */ lfs f0, lbl_805AE800@sda21(r2) -/* 8032D788 0032A6E8 3C 00 43 30 */ lis r0, 0x4330 -/* 8032D78C 0032A6EC 90 01 02 30 */ stw r0, 0x230(r1) -/* 8032D790 0032A6F0 EC 04 00 32 */ fmuls f0, f4, f0 -/* 8032D794 0032A6F4 C8 42 CA F0 */ lfd f2, lbl_805AE810@sda21(r2) -/* 8032D798 0032A6F8 C0 22 CA E4 */ lfs f1, lbl_805AE804@sda21(r2) -/* 8032D79C 0032A6FC FC 00 00 1E */ fctiwz f0, f0 -/* 8032D7A0 0032A700 D8 01 02 28 */ stfd f0, 0x228(r1) -/* 8032D7A4 0032A704 80 01 02 2C */ lwz r0, 0x22c(r1) -/* 8032D7A8 0032A708 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 8032D7AC 0032A70C 90 01 02 34 */ stw r0, 0x234(r1) -/* 8032D7B0 0032A710 C8 01 02 30 */ lfd f0, 0x230(r1) -/* 8032D7B4 0032A714 EC 00 10 28 */ fsubs f0, f0, f2 -/* 8032D7B8 0032A718 EC 80 20 7C */ fnmsubs f4, f0, f1, f4 -/* 8032D7BC 0032A71C FC 04 18 40 */ fcmpo cr0, f4, f3 -/* 8032D7C0 0032A720 40 81 00 0C */ ble lbl_8032D7CC -/* 8032D7C4 0032A724 EC 84 08 28 */ fsubs f4, f4, f1 -/* 8032D7C8 0032A728 48 00 00 14 */ b lbl_8032D7DC -lbl_8032D7CC: -/* 8032D7CC 0032A72C C0 02 CA E8 */ lfs f0, lbl_805AE808@sda21(r2) -/* 8032D7D0 0032A730 FC 04 00 40 */ fcmpo cr0, f4, f0 -/* 8032D7D4 0032A734 40 80 00 08 */ bge lbl_8032D7DC -/* 8032D7D8 0032A738 EC 81 20 2A */ fadds f4, f1, f4 -lbl_8032D7DC: -/* 8032D7DC 0032A73C EC E4 01 32 */ fmuls f7, f4, f4 -/* 8032D7E0 0032A740 C0 02 CA BC */ lfs f0, lbl_805AE7DC@sda21(r2) -/* 8032D7E4 0032A744 C3 62 CA A8 */ lfs f27, lbl_805AE7C8@sda21(r2) -/* 8032D7E8 0032A748 38 61 00 68 */ addi r3, r1, 0x68 -/* 8032D7EC 0032A74C C0 42 CA AC */ lfs f2, lbl_805AE7CC@sda21(r2) -/* 8032D7F0 0032A750 EC A4 00 32 */ fmuls f5, f4, f0 -/* 8032D7F4 0032A754 EC C4 01 F2 */ fmuls f6, f4, f7 -/* 8032D7F8 0032A758 C0 22 CA C0 */ lfs f1, lbl_805AE7E0@sda21(r2) -/* 8032D7FC 0032A75C EF 67 D8 BA */ fmadds f27, f7, f2, f27 -/* 8032D800 0032A760 C0 42 CA B0 */ lfs f2, lbl_805AE7D0@sda21(r2) -/* 8032D804 0032A764 EC 87 01 F2 */ fmuls f4, f7, f7 -/* 8032D808 0032A768 C0 02 CA C4 */ lfs f0, lbl_805AE7E4@sda21(r2) -/* 8032D80C 0032A76C EC A6 28 7A */ fmadds f5, f6, f1, f5 -/* 8032D810 0032A770 C0 62 CA B4 */ lfs f3, lbl_805AE7D4@sda21(r2) -/* 8032D814 0032A774 EC C6 01 F2 */ fmuls f6, f6, f7 -/* 8032D818 0032A778 C0 22 CA C8 */ lfs f1, lbl_805AE7E8@sda21(r2) -/* 8032D81C 0032A77C EF 64 D8 BA */ fmadds f27, f4, f2, f27 -/* 8032D820 0032A780 C0 42 CA B8 */ lfs f2, lbl_805AE7D8@sda21(r2) -/* 8032D824 0032A784 EC 84 01 F2 */ fmuls f4, f4, f7 -/* 8032D828 0032A788 C1 1C 00 04 */ lfs f8, 4(r28) -/* 8032D82C 0032A78C EC A6 28 3A */ fmadds f5, f6, f0, f5 -/* 8032D830 0032A790 C3 5C 00 08 */ lfs f26, 8(r28) -/* 8032D834 0032A794 EC C6 01 F2 */ fmuls f6, f6, f7 -/* 8032D838 0032A798 C0 02 CA 94 */ lfs f0, lbl_805AE7B4@sda21(r2) -/* 8032D83C 0032A79C EF 64 D8 FA */ fmadds f27, f4, f3, f27 -/* 8032D840 0032A7A0 D0 01 00 60 */ stfs f0, 0x60(r1) -/* 8032D844 0032A7A4 EC A6 28 7A */ fmadds f5, f6, f1, f5 -/* 8032D848 0032A7A8 38 9C 00 38 */ addi r4, r28, 0x38 -/* 8032D84C 0032A7AC EC 84 01 F2 */ fmuls f4, f4, f7 -/* 8032D850 0032A7B0 38 A1 00 5C */ addi r5, r1, 0x5c -/* 8032D854 0032A7B4 FC 00 28 50 */ fneg f0, f5 -/* 8032D858 0032A7B8 EF 64 D8 BA */ fmadds f27, f4, f2, f27 -/* 8032D85C 0032A7BC EC 28 01 72 */ fmuls f1, f8, f5 -/* 8032D860 0032A7C0 EF FA 00 32 */ fmuls f31, f26, f0 -/* 8032D864 0032A7C4 EC 08 06 F2 */ fmuls f0, f8, f27 -/* 8032D868 0032A7C8 D0 21 00 64 */ stfs f1, 0x64(r1) -/* 8032D86C 0032A7CC D0 01 00 5C */ stfs f0, 0x5c(r1) -/* 8032D870 0032A7D0 4B FE 52 79 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 8032D874 0032A7D4 C0 A1 00 6C */ lfs f5, 0x6c(r1) -/* 8032D878 0032A7D8 FC 00 D8 50 */ fneg f0, f27 -/* 8032D87C 0032A7DC C0 7C 00 10 */ lfs f3, 0x10(r28) -/* 8032D880 0032A7E0 38 61 00 50 */ addi r3, r1, 0x50 -/* 8032D884 0032A7E4 C0 41 00 70 */ lfs f2, 0x70(r1) -/* 8032D888 0032A7E8 38 9C 00 38 */ addi r4, r28, 0x38 -/* 8032D88C 0032A7EC C0 3C 00 14 */ lfs f1, 0x14(r28) -/* 8032D890 0032A7F0 C0 81 00 68 */ lfs f4, 0x68(r1) -/* 8032D894 0032A7F4 ED 05 18 2A */ fadds f8, f5, f3 -/* 8032D898 0032A7F8 C0 7C 00 0C */ lfs f3, 0xc(r28) -/* 8032D89C 0032A7FC EC C2 08 2A */ fadds f6, f2, f1 -/* 8032D8A0 0032A800 C0 FC 00 28 */ lfs f7, 0x28(r28) -/* 8032D8A4 0032A804 EC 3A 00 32 */ fmuls f1, f26, f0 -/* 8032D8A8 0032A808 C0 BC 00 2C */ lfs f5, 0x2c(r28) -/* 8032D8AC 0032A80C C0 5C 00 24 */ lfs f2, 0x24(r28) -/* 8032D8B0 0032A810 EC 64 18 2A */ fadds f3, f4, f3 -/* 8032D8B4 0032A814 EC E8 38 2A */ fadds f7, f8, f7 -/* 8032D8B8 0032A818 C0 02 CA 94 */ lfs f0, lbl_805AE7B4@sda21(r2) -/* 8032D8BC 0032A81C EC 86 28 2A */ fadds f4, f6, f5 -/* 8032D8C0 0032A820 D0 21 00 44 */ stfs f1, 0x44(r1) -/* 8032D8C4 0032A824 EC 23 10 2A */ fadds f1, f3, f2 -/* 8032D8C8 0032A828 D0 E1 00 9C */ stfs f7, 0x9c(r1) -/* 8032D8CC 0032A82C 38 A1 00 44 */ addi r5, r1, 0x44 -/* 8032D8D0 0032A830 D0 21 00 98 */ stfs f1, 0x98(r1) -/* 8032D8D4 0032A834 D0 81 00 A0 */ stfs f4, 0xa0(r1) -/* 8032D8D8 0032A838 D0 01 00 48 */ stfs f0, 0x48(r1) -/* 8032D8DC 0032A83C D3 E1 00 4C */ stfs f31, 0x4c(r1) -/* 8032D8E0 0032A840 4B FE 52 09 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 8032D8E4 0032A844 C0 61 00 54 */ lfs f3, 0x54(r1) -/* 8032D8E8 0032A848 38 61 00 0C */ addi r3, r1, 0xc -/* 8032D8EC 0032A84C C0 5C 00 10 */ lfs f2, 0x10(r28) -/* 8032D8F0 0032A850 38 9C 00 6C */ addi r4, r28, 0x6c -/* 8032D8F4 0032A854 C0 21 00 58 */ lfs f1, 0x58(r1) -/* 8032D8F8 0032A858 38 BB 02 0C */ addi r5, r27, 0x20c -/* 8032D8FC 0032A85C C0 1C 00 14 */ lfs f0, 0x14(r28) -/* 8032D900 0032A860 EC A3 10 2A */ fadds f5, f3, f2 -/* 8032D904 0032A864 C0 7C 00 28 */ lfs f3, 0x28(r28) -/* 8032D908 0032A868 C0 41 00 50 */ lfs f2, 0x50(r1) -/* 8032D90C 0032A86C EC 81 00 2A */ fadds f4, f1, f0 -/* 8032D910 0032A870 C0 3C 00 0C */ lfs f1, 0xc(r28) -/* 8032D914 0032A874 EC A5 18 2A */ fadds f5, f5, f3 -/* 8032D918 0032A878 C0 7C 00 2C */ lfs f3, 0x2c(r28) -/* 8032D91C 0032A87C C0 1C 00 24 */ lfs f0, 0x24(r28) -/* 8032D920 0032A880 EC 22 08 2A */ fadds f1, f2, f1 -/* 8032D924 0032A884 EC 44 18 2A */ fadds f2, f4, f3 -/* 8032D928 0032A888 D0 A1 00 90 */ stfs f5, 0x90(r1) -/* 8032D92C 0032A88C EC 01 00 2A */ fadds f0, f1, f0 -/* 8032D930 0032A890 D0 41 00 94 */ stfs f2, 0x94(r1) -/* 8032D934 0032A894 D0 01 00 8C */ stfs f0, 0x8c(r1) -/* 8032D938 0032A898 48 03 58 41 */ bl Modulate__6CColorFRC6CColorRC6CColor -/* 8032D93C 0032A89C 83 81 00 0C */ lwz r28, 0xc(r1) -/* 8032D940 0032A8A0 7F 83 E3 78 */ mr r3, r28 -/* 8032D944 0032A8A4 4B FD DC 29 */ bl StreamColor__9CGraphicsFUi -/* 8032D948 0032A8A8 FC 20 C8 90 */ fmr f1, f25 -/* 8032D94C 0032A8AC C0 5B 01 D8 */ lfs f2, 0x1d8(r27) -/* 8032D950 0032A8B0 4B FD DB 15 */ bl StreamTexcoord__9CGraphicsFff -/* 8032D954 0032A8B4 38 61 00 98 */ addi r3, r1, 0x98 -/* 8032D958 0032A8B8 4B FD DC 69 */ bl StreamVertex__9CGraphicsFRC9CVector3f -/* 8032D95C 0032A8BC FC 20 C8 90 */ fmr f1, f25 -/* 8032D960 0032A8C0 C0 5B 01 E0 */ lfs f2, 0x1e0(r27) -/* 8032D964 0032A8C4 4B FD DB 01 */ bl StreamTexcoord__9CGraphicsFff -/* 8032D968 0032A8C8 38 61 00 8C */ addi r3, r1, 0x8c -/* 8032D96C 0032A8CC 4B FD DC 55 */ bl StreamVertex__9CGraphicsFRC9CVector3f -/* 8032D970 0032A8D0 C0 02 CA 90 */ lfs f0, lbl_805AE7B0@sda21(r2) -/* 8032D974 0032A8D4 FC 19 00 40 */ fcmpo cr0, f25, f0 -/* 8032D978 0032A8D8 4C 41 13 82 */ cror 2, 1, 2 -/* 8032D97C 0032A8DC 40 82 00 50 */ bne lbl_8032D9CC -/* 8032D980 0032A8E0 2C 1E 00 00 */ cmpwi r30, 0 -/* 8032D984 0032A8E4 41 82 00 48 */ beq lbl_8032D9CC -/* 8032D988 0032A8E8 4B FD DA 89 */ bl StreamEnd__9CGraphicsFv -/* 8032D98C 0032A8EC 38 60 00 98 */ li r3, 0x98 -/* 8032D990 0032A8F0 4B FD DC D9 */ bl StreamBegin__9CGraphicsF13ERglPrimitive -/* 8032D994 0032A8F4 C0 02 CA 90 */ lfs f0, lbl_805AE7B0@sda21(r2) -/* 8032D998 0032A8F8 7F 83 E3 78 */ mr r3, r28 -/* 8032D99C 0032A8FC EF 39 00 28 */ fsubs f25, f25, f0 -/* 8032D9A0 0032A900 4B FD DB CD */ bl StreamColor__9CGraphicsFUi -/* 8032D9A4 0032A904 FC 20 C8 90 */ fmr f1, f25 -/* 8032D9A8 0032A908 C0 5B 01 D8 */ lfs f2, 0x1d8(r27) -/* 8032D9AC 0032A90C 4B FD DA B9 */ bl StreamTexcoord__9CGraphicsFff -/* 8032D9B0 0032A910 38 61 00 98 */ addi r3, r1, 0x98 -/* 8032D9B4 0032A914 4B FD DC 0D */ bl StreamVertex__9CGraphicsFRC9CVector3f -/* 8032D9B8 0032A918 FC 20 C8 90 */ fmr f1, f25 -/* 8032D9BC 0032A91C C0 5B 01 E0 */ lfs f2, 0x1e0(r27) -/* 8032D9C0 0032A920 4B FD DA A5 */ bl StreamTexcoord__9CGraphicsFff -/* 8032D9C4 0032A924 38 61 00 8C */ addi r3, r1, 0x8c -/* 8032D9C8 0032A928 4B FD DB F9 */ bl StreamVertex__9CGraphicsFRC9CVector3f -lbl_8032D9CC: -/* 8032D9CC 0032A92C 80 1B 01 EC */ lwz r0, 0x1ec(r27) -/* 8032D9D0 0032A930 2C 00 00 00 */ cmpwi r0, 0 -/* 8032D9D4 0032A934 40 81 00 10 */ ble lbl_8032D9E4 -/* 8032D9D8 0032A938 C0 1B 01 E8 */ lfs f0, 0x1e8(r27) -/* 8032D9DC 0032A93C EF 39 00 2A */ fadds f25, f25, f0 -/* 8032D9E0 0032A940 48 00 00 28 */ b lbl_8032DA08 -lbl_8032D9E4: -/* 8032D9E4 0032A944 6F E3 80 00 */ xoris r3, r31, 0x8000 -/* 8032D9E8 0032A948 3C 00 43 30 */ lis r0, 0x4330 -/* 8032D9EC 0032A94C 90 61 02 34 */ stw r3, 0x234(r1) -/* 8032D9F0 0032A950 C8 22 CA F0 */ lfd f1, lbl_805AE810@sda21(r2) -/* 8032D9F4 0032A954 90 01 02 30 */ stw r0, 0x230(r1) -/* 8032D9F8 0032A958 C0 5B 01 E8 */ lfs f2, 0x1e8(r27) -/* 8032D9FC 0032A95C C8 01 02 30 */ lfd f0, 0x230(r1) -/* 8032DA00 0032A960 EC 00 08 28 */ fsubs f0, f0, f1 -/* 8032DA04 0032A964 EF 22 00 32 */ fmuls f25, f2, f0 -lbl_8032DA08: -/* 8032DA08 0032A968 3B FF 00 01 */ addi r31, r31, 1 -lbl_8032DA0C: -/* 8032DA0C 0032A96C 80 9B 01 60 */ lwz r4, 0x160(r27) -/* 8032DA10 0032A970 7C 1F 20 00 */ cmpw r31, r4 -/* 8032DA14 0032A974 41 80 FD 1C */ blt lbl_8032D730 -/* 8032DA18 0032A978 48 00 02 3C */ b lbl_8032DC54 -lbl_8032DA1C: -/* 8032DA1C 0032A97C 3B 80 00 00 */ li r28, 0 -/* 8032DA20 0032A980 48 00 02 28 */ b lbl_8032DC48 -lbl_8032DA24: -/* 8032DA24 0032A984 57 A0 38 30 */ slwi r0, r29, 7 -/* 8032DA28 0032A988 80 7B 01 68 */ lwz r3, 0x168(r27) -/* 8032DA2C 0032A98C 37 BD FF FF */ addic. r29, r29, -1 -/* 8032DA30 0032A990 7F C3 02 14 */ add r30, r3, r0 -/* 8032DA34 0032A994 40 80 00 08 */ bge lbl_8032DA3C -/* 8032DA38 0032A998 3B A4 FF FF */ addi r29, r4, -1 -lbl_8032DA3C: -/* 8032DA3C 0032A99C 88 1E 00 00 */ lbz r0, 0(r30) -/* 8032DA40 0032A9A0 28 00 00 00 */ cmplwi r0, 0 -/* 8032DA44 0032A9A4 41 82 02 00 */ beq lbl_8032DC44 -/* 8032DA48 0032A9A8 C0 3E 00 30 */ lfs f1, 0x30(r30) -/* 8032DA4C 0032A9AC C0 1E 00 34 */ lfs f0, 0x34(r30) -/* 8032DA50 0032A9B0 C0 62 CA D0 */ lfs f3, lbl_805AE7F0@sda21(r2) -/* 8032DA54 0032A9B4 EC 41 00 2A */ fadds f2, f1, f0 -/* 8032DA58 0032A9B8 C0 22 CA D4 */ lfs f1, lbl_805AE7F4@sda21(r2) -/* 8032DA5C 0032A9BC C8 02 CA D8 */ lfd f0, lbl_805AE7F8@sda21(r2) -/* 8032DA60 0032A9C0 EC 43 00 B2 */ fmuls f2, f3, f2 -/* 8032DA64 0032A9C4 EC 82 08 24 */ fdivs f4, f2, f1 -/* 8032DA68 0032A9C8 FC 20 22 10 */ fabs f1, f4 -/* 8032DA6C 0032A9CC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8032DA70 0032A9D0 40 81 00 5C */ ble lbl_8032DACC -/* 8032DA74 0032A9D4 C0 02 CA E0 */ lfs f0, lbl_805AE800@sda21(r2) -/* 8032DA78 0032A9D8 3C 00 43 30 */ lis r0, 0x4330 -/* 8032DA7C 0032A9DC 90 01 02 28 */ stw r0, 0x228(r1) -/* 8032DA80 0032A9E0 EC 04 00 32 */ fmuls f0, f4, f0 -/* 8032DA84 0032A9E4 C8 42 CA F0 */ lfd f2, lbl_805AE810@sda21(r2) -/* 8032DA88 0032A9E8 C0 22 CA E4 */ lfs f1, lbl_805AE804@sda21(r2) -/* 8032DA8C 0032A9EC FC 00 00 1E */ fctiwz f0, f0 -/* 8032DA90 0032A9F0 D8 01 02 30 */ stfd f0, 0x230(r1) -/* 8032DA94 0032A9F4 80 01 02 34 */ lwz r0, 0x234(r1) -/* 8032DA98 0032A9F8 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 8032DA9C 0032A9FC 90 01 02 2C */ stw r0, 0x22c(r1) -/* 8032DAA0 0032AA00 C8 01 02 28 */ lfd f0, 0x228(r1) -/* 8032DAA4 0032AA04 EC 00 10 28 */ fsubs f0, f0, f2 -/* 8032DAA8 0032AA08 EC 80 20 7C */ fnmsubs f4, f0, f1, f4 -/* 8032DAAC 0032AA0C FC 04 18 40 */ fcmpo cr0, f4, f3 -/* 8032DAB0 0032AA10 40 81 00 0C */ ble lbl_8032DABC -/* 8032DAB4 0032AA14 EC 84 08 28 */ fsubs f4, f4, f1 -/* 8032DAB8 0032AA18 48 00 00 14 */ b lbl_8032DACC -lbl_8032DABC: -/* 8032DABC 0032AA1C C0 02 CA E8 */ lfs f0, lbl_805AE808@sda21(r2) -/* 8032DAC0 0032AA20 FC 04 00 40 */ fcmpo cr0, f4, f0 -/* 8032DAC4 0032AA24 40 80 00 08 */ bge lbl_8032DACC -/* 8032DAC8 0032AA28 EC 81 20 2A */ fadds f4, f1, f4 -lbl_8032DACC: -/* 8032DACC 0032AA2C EC E4 01 32 */ fmuls f7, f4, f4 -/* 8032DAD0 0032AA30 C0 02 CA BC */ lfs f0, lbl_805AE7DC@sda21(r2) -/* 8032DAD4 0032AA34 C3 22 CA A8 */ lfs f25, lbl_805AE7C8@sda21(r2) -/* 8032DAD8 0032AA38 38 61 00 38 */ addi r3, r1, 0x38 -/* 8032DADC 0032AA3C C0 42 CA AC */ lfs f2, lbl_805AE7CC@sda21(r2) -/* 8032DAE0 0032AA40 EC A4 00 32 */ fmuls f5, f4, f0 -/* 8032DAE4 0032AA44 EC C4 01 F2 */ fmuls f6, f4, f7 -/* 8032DAE8 0032AA48 C0 22 CA C0 */ lfs f1, lbl_805AE7E0@sda21(r2) -/* 8032DAEC 0032AA4C EF 27 C8 BA */ fmadds f25, f7, f2, f25 -/* 8032DAF0 0032AA50 C0 42 CA B0 */ lfs f2, lbl_805AE7D0@sda21(r2) -/* 8032DAF4 0032AA54 EC 87 01 F2 */ fmuls f4, f7, f7 -/* 8032DAF8 0032AA58 C0 02 CA C4 */ lfs f0, lbl_805AE7E4@sda21(r2) -/* 8032DAFC 0032AA5C EC A6 28 7A */ fmadds f5, f6, f1, f5 -/* 8032DB00 0032AA60 C0 62 CA B4 */ lfs f3, lbl_805AE7D4@sda21(r2) -/* 8032DB04 0032AA64 EC C6 01 F2 */ fmuls f6, f6, f7 -/* 8032DB08 0032AA68 C0 22 CA C8 */ lfs f1, lbl_805AE7E8@sda21(r2) -/* 8032DB0C 0032AA6C EF 24 C8 BA */ fmadds f25, f4, f2, f25 -/* 8032DB10 0032AA70 C0 42 CA B8 */ lfs f2, lbl_805AE7D8@sda21(r2) -/* 8032DB14 0032AA74 EC 84 01 F2 */ fmuls f4, f4, f7 -/* 8032DB18 0032AA78 C1 1E 00 04 */ lfs f8, 4(r30) -/* 8032DB1C 0032AA7C EC A6 28 3A */ fmadds f5, f6, f0, f5 -/* 8032DB20 0032AA80 C3 5E 00 08 */ lfs f26, 8(r30) -/* 8032DB24 0032AA84 EC C6 01 F2 */ fmuls f6, f6, f7 -/* 8032DB28 0032AA88 C0 02 CA 94 */ lfs f0, lbl_805AE7B4@sda21(r2) -/* 8032DB2C 0032AA8C EF 24 C8 FA */ fmadds f25, f4, f3, f25 -/* 8032DB30 0032AA90 D0 01 00 30 */ stfs f0, 0x30(r1) -/* 8032DB34 0032AA94 EC A6 28 7A */ fmadds f5, f6, f1, f5 -/* 8032DB38 0032AA98 38 9E 00 38 */ addi r4, r30, 0x38 -/* 8032DB3C 0032AA9C EC 84 01 F2 */ fmuls f4, f4, f7 -/* 8032DB40 0032AAA0 38 A1 00 2C */ addi r5, r1, 0x2c -/* 8032DB44 0032AAA4 FC 00 28 50 */ fneg f0, f5 -/* 8032DB48 0032AAA8 EF 24 C8 BA */ fmadds f25, f4, f2, f25 -/* 8032DB4C 0032AAAC EC 28 01 72 */ fmuls f1, f8, f5 -/* 8032DB50 0032AAB0 EF FA 00 32 */ fmuls f31, f26, f0 -/* 8032DB54 0032AAB4 EC 08 06 72 */ fmuls f0, f8, f25 -/* 8032DB58 0032AAB8 D0 21 00 34 */ stfs f1, 0x34(r1) -/* 8032DB5C 0032AABC D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 8032DB60 0032AAC0 4B FE 4F 89 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 8032DB64 0032AAC4 C0 A1 00 3C */ lfs f5, 0x3c(r1) -/* 8032DB68 0032AAC8 FC 00 C8 50 */ fneg f0, f25 -/* 8032DB6C 0032AACC C0 7E 00 10 */ lfs f3, 0x10(r30) -/* 8032DB70 0032AAD0 38 61 00 20 */ addi r3, r1, 0x20 -/* 8032DB74 0032AAD4 C0 41 00 40 */ lfs f2, 0x40(r1) -/* 8032DB78 0032AAD8 38 9E 00 38 */ addi r4, r30, 0x38 -/* 8032DB7C 0032AADC C0 3E 00 14 */ lfs f1, 0x14(r30) -/* 8032DB80 0032AAE0 C0 81 00 38 */ lfs f4, 0x38(r1) -/* 8032DB84 0032AAE4 ED 05 18 2A */ fadds f8, f5, f3 -/* 8032DB88 0032AAE8 C0 7E 00 0C */ lfs f3, 0xc(r30) -/* 8032DB8C 0032AAEC EC C2 08 2A */ fadds f6, f2, f1 -/* 8032DB90 0032AAF0 C0 FE 00 28 */ lfs f7, 0x28(r30) -/* 8032DB94 0032AAF4 EC 3A 00 32 */ fmuls f1, f26, f0 -/* 8032DB98 0032AAF8 C0 BE 00 2C */ lfs f5, 0x2c(r30) -/* 8032DB9C 0032AAFC C0 5E 00 24 */ lfs f2, 0x24(r30) -/* 8032DBA0 0032AB00 EC 64 18 2A */ fadds f3, f4, f3 -/* 8032DBA4 0032AB04 EC E8 38 2A */ fadds f7, f8, f7 -/* 8032DBA8 0032AB08 C0 02 CA 94 */ lfs f0, lbl_805AE7B4@sda21(r2) -/* 8032DBAC 0032AB0C EC 86 28 2A */ fadds f4, f6, f5 -/* 8032DBB0 0032AB10 D0 21 00 14 */ stfs f1, 0x14(r1) -/* 8032DBB4 0032AB14 EC 23 10 2A */ fadds f1, f3, f2 -/* 8032DBB8 0032AB18 D0 E1 00 84 */ stfs f7, 0x84(r1) -/* 8032DBBC 0032AB1C 38 A1 00 14 */ addi r5, r1, 0x14 -/* 8032DBC0 0032AB20 D0 21 00 80 */ stfs f1, 0x80(r1) -/* 8032DBC4 0032AB24 D0 81 00 88 */ stfs f4, 0x88(r1) -/* 8032DBC8 0032AB28 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 8032DBCC 0032AB2C D3 E1 00 1C */ stfs f31, 0x1c(r1) -/* 8032DBD0 0032AB30 4B FE 4F 19 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 8032DBD4 0032AB34 C0 61 00 24 */ lfs f3, 0x24(r1) -/* 8032DBD8 0032AB38 38 61 00 08 */ addi r3, r1, 8 -/* 8032DBDC 0032AB3C C0 5E 00 10 */ lfs f2, 0x10(r30) -/* 8032DBE0 0032AB40 38 9E 00 6C */ addi r4, r30, 0x6c -/* 8032DBE4 0032AB44 C0 21 00 28 */ lfs f1, 0x28(r1) -/* 8032DBE8 0032AB48 38 BB 02 0C */ addi r5, r27, 0x20c -/* 8032DBEC 0032AB4C C0 1E 00 14 */ lfs f0, 0x14(r30) -/* 8032DBF0 0032AB50 EC A3 10 2A */ fadds f5, f3, f2 -/* 8032DBF4 0032AB54 C0 7E 00 28 */ lfs f3, 0x28(r30) -/* 8032DBF8 0032AB58 C0 41 00 20 */ lfs f2, 0x20(r1) -/* 8032DBFC 0032AB5C EC 81 00 2A */ fadds f4, f1, f0 -/* 8032DC00 0032AB60 C0 3E 00 0C */ lfs f1, 0xc(r30) -/* 8032DC04 0032AB64 EC A5 18 2A */ fadds f5, f5, f3 -/* 8032DC08 0032AB68 C0 7E 00 2C */ lfs f3, 0x2c(r30) -/* 8032DC0C 0032AB6C C0 1E 00 24 */ lfs f0, 0x24(r30) -/* 8032DC10 0032AB70 EC 22 08 2A */ fadds f1, f2, f1 -/* 8032DC14 0032AB74 EC 44 18 2A */ fadds f2, f4, f3 -/* 8032DC18 0032AB78 D0 A1 00 78 */ stfs f5, 0x78(r1) -/* 8032DC1C 0032AB7C EC 01 00 2A */ fadds f0, f1, f0 -/* 8032DC20 0032AB80 D0 41 00 7C */ stfs f2, 0x7c(r1) -/* 8032DC24 0032AB84 D0 01 00 74 */ stfs f0, 0x74(r1) -/* 8032DC28 0032AB88 48 03 55 51 */ bl Modulate__6CColorFRC6CColorRC6CColor -/* 8032DC2C 0032AB8C 80 61 00 08 */ lwz r3, 8(r1) -/* 8032DC30 0032AB90 4B FD D9 3D */ bl StreamColor__9CGraphicsFUi -/* 8032DC34 0032AB94 38 61 00 80 */ addi r3, r1, 0x80 -/* 8032DC38 0032AB98 4B FD D9 89 */ bl StreamVertex__9CGraphicsFRC9CVector3f -/* 8032DC3C 0032AB9C 38 61 00 74 */ addi r3, r1, 0x74 -/* 8032DC40 0032ABA0 4B FD D9 81 */ bl StreamVertex__9CGraphicsFRC9CVector3f -lbl_8032DC44: -/* 8032DC44 0032ABA4 3B 9C 00 01 */ addi r28, r28, 1 -lbl_8032DC48: -/* 8032DC48 0032ABA8 80 9B 01 60 */ lwz r4, 0x160(r27) -/* 8032DC4C 0032ABAC 7C 1C 20 00 */ cmpw r28, r4 -/* 8032DC50 0032ABB0 41 80 FD D4 */ blt lbl_8032DA24 -lbl_8032DC54: -/* 8032DC54 0032ABB4 4B FD D7 BD */ bl StreamEnd__9CGraphicsFv -/* 8032DC58 0032ABB8 E3 E1 02 B8 */ psq_l f31, 696(r1), 0, qr0 -/* 8032DC5C 0032ABBC CB E1 02 B0 */ lfd f31, 0x2b0(r1) -/* 8032DC60 0032ABC0 E3 C1 02 A8 */ psq_l f30, 680(r1), 0, qr0 -/* 8032DC64 0032ABC4 CB C1 02 A0 */ lfd f30, 0x2a0(r1) -/* 8032DC68 0032ABC8 E3 A1 02 98 */ psq_l f29, 664(r1), 0, qr0 -/* 8032DC6C 0032ABCC CB A1 02 90 */ lfd f29, 0x290(r1) -/* 8032DC70 0032ABD0 E3 81 02 88 */ psq_l f28, 648(r1), 0, qr0 -/* 8032DC74 0032ABD4 CB 81 02 80 */ lfd f28, 0x280(r1) -/* 8032DC78 0032ABD8 E3 61 02 78 */ psq_l f27, 632(r1), 0, qr0 -/* 8032DC7C 0032ABDC CB 61 02 70 */ lfd f27, 0x270(r1) -/* 8032DC80 0032ABE0 E3 41 02 68 */ psq_l f26, 616(r1), 0, qr0 -/* 8032DC84 0032ABE4 CB 41 02 60 */ lfd f26, 0x260(r1) -/* 8032DC88 0032ABE8 E3 21 02 58 */ psq_l f25, 600(r1), 0, qr0 -/* 8032DC8C 0032ABEC CB 21 02 50 */ lfd f25, 0x250(r1) -/* 8032DC90 0032ABF0 BB 61 02 3C */ lmw r27, 0x23c(r1) -/* 8032DC94 0032ABF4 80 01 02 C4 */ lwz r0, 0x2c4(r1) -/* 8032DC98 0032ABF8 7C 08 03 A6 */ mtlr r0 -/* 8032DC9C 0032ABFC 38 21 02 C0 */ addi r1, r1, 0x2c0 -/* 8032DCA0 0032AC00 4E 80 00 20 */ blr - -.global Render__15CParticleSwooshFv -Render__15CParticleSwooshFv: -/* 8032DCA4 0032AC04 94 21 FE C0 */ stwu r1, -0x140(r1) -/* 8032DCA8 0032AC08 7C 08 02 A6 */ mflr r0 -/* 8032DCAC 0032AC0C 90 01 01 44 */ stw r0, 0x144(r1) -/* 8032DCB0 0032AC10 93 E1 01 3C */ stw r31, 0x13c(r1) -/* 8032DCB4 0032AC14 93 C1 01 38 */ stw r30, 0x138(r1) -/* 8032DCB8 0032AC18 93 A1 01 34 */ stw r29, 0x134(r1) -/* 8032DCBC 0032AC1C 7C 7D 1B 78 */ mr r29, r3 -/* 8032DCC0 0032AC20 80 03 01 B4 */ lwz r0, 0x1b4(r3) -/* 8032DCC4 0032AC24 2C 00 00 02 */ cmpwi r0, 2 -/* 8032DCC8 0032AC28 41 80 03 48 */ blt lbl_8032E010 -/* 8032DCCC 0032AC2C 80 1D 01 AC */ lwz r0, 0x1ac(r29) -/* 8032DCD0 0032AC30 2C 00 00 01 */ cmpwi r0, 1 -/* 8032DCD4 0032AC34 40 81 03 3C */ ble lbl_8032E010 -/* 8032DCD8 0032AC38 48 05 76 D1 */ bl OSGetTime -/* 8032DCDC 0032AC3C 7C 7F 1B 78 */ mr r31, r3 -/* 8032DCE0 0032AC40 80 7D 01 B4 */ lwz r3, 0x1b4(r29) -/* 8032DCE4 0032AC44 7C 9E 23 78 */ mr r30, r4 -/* 8032DCE8 0032AC48 4B FF CA 91 */ bl SetParticleLifetime__16CParticleGlobalsFi -/* 8032DCEC 0032AC4C 38 61 00 2C */ addi r3, r1, 0x2c -/* 8032DCF0 0032AC50 38 9D 01 C0 */ addi r4, r29, 0x1c0 -/* 8032DCF4 0032AC54 4B FE 49 8D */ bl __ct__13CGlobalRandomFR9CRandom16 -/* 8032DCF8 0032AC58 4B FD EC 85 */ bl DisableAllLights__9CGraphicsFv -/* 8032DCFC 0032AC5C 80 BD 00 24 */ lwz r5, 0x24(r29) -/* 8032DD00 0032AC60 38 60 00 01 */ li r3, 1 -/* 8032DD04 0032AC64 38 80 00 03 */ li r4, 3 -/* 8032DD08 0032AC68 88 05 00 45 */ lbz r0, 0x45(r5) -/* 8032DD0C 0032AC6C 54 05 CF FE */ rlwinm r5, r0, 0x19, 0x1f, 0x1f -/* 8032DD10 0032AC70 4B FD DD 85 */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb -/* 8032DD14 0032AC74 88 1D 01 D0 */ lbz r0, 0x1d0(r29) -/* 8032DD18 0032AC78 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 8032DD1C 0032AC7C 41 82 00 1C */ beq lbl_8032DD38 -/* 8032DD20 0032AC80 38 60 00 01 */ li r3, 1 -/* 8032DD24 0032AC84 38 80 00 04 */ li r4, 4 -/* 8032DD28 0032AC88 38 A0 00 01 */ li r5, 1 -/* 8032DD2C 0032AC8C 38 C0 00 00 */ li r6, 0 -/* 8032DD30 0032AC90 4B FD DD 21 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp -/* 8032DD34 0032AC94 48 00 00 18 */ b lbl_8032DD4C -lbl_8032DD38: -/* 8032DD38 0032AC98 38 60 00 01 */ li r3, 1 -/* 8032DD3C 0032AC9C 38 80 00 04 */ li r4, 4 -/* 8032DD40 0032ACA0 38 A0 00 05 */ li r5, 5 -/* 8032DD44 0032ACA4 38 C0 00 00 */ li r6, 0 -/* 8032DD48 0032ACA8 4B FD DD 09 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp -lbl_8032DD4C: -/* 8032DD4C 0032ACAC 38 61 00 38 */ addi r3, r1, 0x38 -/* 8032DD50 0032ACB0 38 9D 01 4C */ addi r4, r29, 0x14c -/* 8032DD54 0032ACB4 4B FE 54 71 */ bl Scale__12CTransform4fFRC9CVector3f -/* 8032DD58 0032ACB8 38 61 00 68 */ addi r3, r1, 0x68 -/* 8032DD5C 0032ACBC 38 9D 00 A4 */ addi r4, r29, 0xa4 -/* 8032DD60 0032ACC0 4B FE 53 E1 */ bl Translate__12CTransform4fFRC9CVector3f -/* 8032DD64 0032ACC4 38 61 00 98 */ addi r3, r1, 0x98 -/* 8032DD68 0032ACC8 38 81 00 68 */ addi r4, r1, 0x68 -/* 8032DD6C 0032ACCC 38 BD 00 B0 */ addi r5, r29, 0xb0 -/* 8032DD70 0032ACD0 4B FE 4B E1 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 8032DD74 0032ACD4 38 61 00 C8 */ addi r3, r1, 0xc8 -/* 8032DD78 0032ACD8 38 81 00 98 */ addi r4, r1, 0x98 -/* 8032DD7C 0032ACDC 38 BD 00 EC */ addi r5, r29, 0xec -/* 8032DD80 0032ACE0 4B FE 4B D1 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 8032DD84 0032ACE4 38 61 00 F8 */ addi r3, r1, 0xf8 -/* 8032DD88 0032ACE8 38 81 00 C8 */ addi r4, r1, 0xc8 -/* 8032DD8C 0032ACEC 38 A1 00 38 */ addi r5, r1, 0x38 -/* 8032DD90 0032ACF0 4B FE 4B C1 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 8032DD94 0032ACF4 38 61 00 F8 */ addi r3, r1, 0xf8 -/* 8032DD98 0032ACF8 4B FD E8 49 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f -/* 8032DD9C 0032ACFC 38 60 00 00 */ li r3, 0 -/* 8032DDA0 0032AD00 4B FD DC D1 */ bl SetCullMode__9CGraphicsF12ERglCullMode -/* 8032DDA4 0032AD04 80 7D 00 24 */ lwz r3, 0x24(r29) -/* 8032DDA8 0032AD08 80 83 00 3C */ lwz r4, 0x3c(r3) -/* 8032DDAC 0032AD0C 28 04 00 00 */ cmplwi r4, 0 -/* 8032DDB0 0032AD10 41 82 01 7C */ beq lbl_8032DF2C -/* 8032DDB4 0032AD14 81 84 00 00 */ lwz r12, 0(r4) -/* 8032DDB8 0032AD18 38 61 00 10 */ addi r3, r1, 0x10 -/* 8032DDBC 0032AD1C 80 BD 00 28 */ lwz r5, 0x28(r29) -/* 8032DDC0 0032AD20 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8032DDC4 0032AD24 7D 89 03 A6 */ mtctr r12 -/* 8032DDC8 0032AD28 4E 80 04 21 */ bctrl -/* 8032DDCC 0032AD2C 38 61 00 08 */ addi r3, r1, 8 -/* 8032DDD0 0032AD30 38 81 00 10 */ addi r4, r1, 0x10 -/* 8032DDD4 0032AD34 48 01 30 D5 */ bl __ct__6CTokenFRC6CToken -/* 8032DDD8 0032AD38 38 61 00 10 */ addi r3, r1, 0x10 -/* 8032DDDC 0032AD3C 38 80 00 00 */ li r4, 0 -/* 8032DDE0 0032AD40 48 01 30 61 */ bl __dt__6CTokenFv -/* 8032DDE4 0032AD44 38 61 00 08 */ addi r3, r1, 8 -/* 8032DDE8 0032AD48 48 01 30 25 */ bl GetObj__6CTokenFv -/* 8032DDEC 0032AD4C 80 63 00 04 */ lwz r3, 4(r3) -/* 8032DDF0 0032AD50 38 80 00 00 */ li r4, 0 -/* 8032DDF4 0032AD54 38 A0 00 01 */ li r5, 1 -/* 8032DDF8 0032AD58 4B FE 19 45 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode -/* 8032DDFC 0032AD5C 38 61 00 08 */ addi r3, r1, 8 -/* 8032DE00 0032AD60 48 01 30 0D */ bl GetObj__6CTokenFv -/* 8032DE04 0032AD64 80 03 00 04 */ lwz r0, 4(r3) -/* 8032DE08 0032AD68 38 61 00 08 */ addi r3, r1, 8 -/* 8032DE0C 0032AD6C 38 80 00 00 */ li r4, 0 -/* 8032DE10 0032AD70 90 1D 01 E4 */ stw r0, 0x1e4(r29) -/* 8032DE14 0032AD74 48 01 30 2D */ bl __dt__6CTokenFv -/* 8032DE18 0032AD78 80 7D 00 24 */ lwz r3, 0x24(r29) -/* 8032DE1C 0032AD7C 38 A1 00 1C */ addi r5, r1, 0x1c -/* 8032DE20 0032AD80 80 9D 00 28 */ lwz r4, 0x28(r29) -/* 8032DE24 0032AD84 80 63 00 3C */ lwz r3, 0x3c(r3) -/* 8032DE28 0032AD88 81 83 00 00 */ lwz r12, 0(r3) -/* 8032DE2C 0032AD8C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8032DE30 0032AD90 7D 89 03 A6 */ mtctr r12 -/* 8032DE34 0032AD94 4E 80 04 21 */ bctrl -/* 8032DE38 0032AD98 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 8032DE3C 0032AD9C D0 1D 01 D4 */ stfs f0, 0x1d4(r29) -/* 8032DE40 0032ADA0 C0 01 00 20 */ lfs f0, 0x20(r1) -/* 8032DE44 0032ADA4 D0 1D 01 D8 */ stfs f0, 0x1d8(r29) -/* 8032DE48 0032ADA8 C0 01 00 24 */ lfs f0, 0x24(r1) -/* 8032DE4C 0032ADAC D0 1D 01 DC */ stfs f0, 0x1dc(r29) -/* 8032DE50 0032ADB0 C0 01 00 28 */ lfs f0, 0x28(r1) -/* 8032DE54 0032ADB4 D0 1D 01 E0 */ stfs f0, 0x1e0(r29) -/* 8032DE58 0032ADB8 80 7D 00 24 */ lwz r3, 0x24(r29) -/* 8032DE5C 0032ADBC 80 63 00 3C */ lwz r3, 0x3c(r3) -/* 8032DE60 0032ADC0 81 83 00 00 */ lwz r12, 0(r3) -/* 8032DE64 0032ADC4 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8032DE68 0032ADC8 7D 89 03 A6 */ mtctr r12 -/* 8032DE6C 0032ADCC 4E 80 04 21 */ bctrl -/* 8032DE70 0032ADD0 88 1D 01 D0 */ lbz r0, 0x1d0(r29) -/* 8032DE74 0032ADD4 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f -/* 8032DE78 0032ADD8 98 1D 01 D0 */ stb r0, 0x1d0(r29) -/* 8032DE7C 0032ADDC 80 7D 00 24 */ lwz r3, 0x24(r29) -/* 8032DE80 0032ADE0 80 63 00 3C */ lwz r3, 0x3c(r3) -/* 8032DE84 0032ADE4 81 83 00 00 */ lwz r12, 0(r3) -/* 8032DE88 0032ADE8 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8032DE8C 0032ADEC 7D 89 03 A6 */ mtctr r12 -/* 8032DE90 0032ADF0 4E 80 04 21 */ bctrl -/* 8032DE94 0032ADF4 88 1D 01 D1 */ lbz r0, 0x1d1(r29) -/* 8032DE98 0032ADF8 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 8032DE9C 0032ADFC 98 1D 01 D1 */ stb r0, 0x1d1(r29) -/* 8032DEA0 0032AE00 80 7D 00 24 */ lwz r3, 0x24(r29) -/* 8032DEA4 0032AE04 80 63 00 40 */ lwz r3, 0x40(r3) -/* 8032DEA8 0032AE08 28 03 00 00 */ cmplwi r3, 0 -/* 8032DEAC 0032AE0C 41 82 00 1C */ beq lbl_8032DEC8 -/* 8032DEB0 0032AE10 81 83 00 00 */ lwz r12, 0(r3) -/* 8032DEB4 0032AE14 38 BD 01 EC */ addi r5, r29, 0x1ec -/* 8032DEB8 0032AE18 80 9D 00 28 */ lwz r4, 0x28(r29) -/* 8032DEBC 0032AE1C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8032DEC0 0032AE20 7D 89 03 A6 */ mtctr r12 -/* 8032DEC4 0032AE24 4E 80 04 21 */ bctrl -lbl_8032DEC8: -/* 8032DEC8 0032AE28 80 1D 01 EC */ lwz r0, 0x1ec(r29) -/* 8032DECC 0032AE2C 2C 00 00 00 */ cmpwi r0, 0 -/* 8032DED0 0032AE30 41 81 00 10 */ bgt lbl_8032DEE0 -/* 8032DED4 0032AE34 80 7D 01 60 */ lwz r3, 0x160(r29) -/* 8032DED8 0032AE38 38 03 FF FF */ addi r0, r3, -1 -/* 8032DEDC 0032AE3C 90 1D 01 EC */ stw r0, 0x1ec(r29) -lbl_8032DEE0: -/* 8032DEE0 0032AE40 C0 42 CA 90 */ lfs f2, lbl_805AE7B0@sda21(r2) -/* 8032DEE4 0032AE44 D0 5D 01 E8 */ stfs f2, 0x1e8(r29) -/* 8032DEE8 0032AE48 80 1D 01 EC */ lwz r0, 0x1ec(r29) -/* 8032DEEC 0032AE4C 2C 00 00 00 */ cmpwi r0, 0 -/* 8032DEF0 0032AE50 40 81 00 28 */ ble lbl_8032DF18 -/* 8032DEF4 0032AE54 6C 03 80 00 */ xoris r3, r0, 0x8000 -/* 8032DEF8 0032AE58 3C 00 43 30 */ lis r0, 0x4330 -/* 8032DEFC 0032AE5C 90 61 01 2C */ stw r3, 0x12c(r1) -/* 8032DF00 0032AE60 C8 22 CA F0 */ lfd f1, lbl_805AE810@sda21(r2) -/* 8032DF04 0032AE64 90 01 01 28 */ stw r0, 0x128(r1) -/* 8032DF08 0032AE68 C8 01 01 28 */ lfd f0, 0x128(r1) -/* 8032DF0C 0032AE6C EC 00 08 28 */ fsubs f0, f0, f1 -/* 8032DF10 0032AE70 EC 02 00 24 */ fdivs f0, f2, f0 -/* 8032DF14 0032AE74 D0 1D 01 E8 */ stfs f0, 0x1e8(r29) -lbl_8032DF18: -/* 8032DF18 0032AE78 3C 80 80 5A */ lis r4, lbl_805A5EBC@ha -/* 8032DF1C 0032AE7C 38 60 00 00 */ li r3, 0 -/* 8032DF20 0032AE80 38 84 5E BC */ addi r4, r4, lbl_805A5EBC@l -/* 8032DF24 0032AE84 4B FD C3 95 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass -/* 8032DF28 0032AE88 48 00 00 10 */ b lbl_8032DF38 -lbl_8032DF2C: -/* 8032DF2C 0032AE8C 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) -/* 8032DF30 0032AE90 38 60 00 00 */ li r3, 0 -/* 8032DF34 0032AE94 4B FD C3 85 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass -lbl_8032DF38: -/* 8032DF38 0032AE98 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) -/* 8032DF3C 0032AE9C 38 60 00 01 */ li r3, 1 -/* 8032DF40 0032AEA0 4B FD C3 79 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass -/* 8032DF44 0032AEA4 80 1D 01 B8 */ lwz r0, 0x1b8(r29) -/* 8032DF48 0032AEA8 2C 00 00 02 */ cmpwi r0, 2 -/* 8032DF4C 0032AEAC 40 82 00 40 */ bne lbl_8032DF8C -/* 8032DF50 0032AEB0 80 1D 01 B0 */ lwz r0, 0x1b0(r29) -/* 8032DF54 0032AEB4 2C 00 00 00 */ cmpwi r0, 0 -/* 8032DF58 0032AEB8 41 81 00 28 */ bgt lbl_8032DF80 -/* 8032DF5C 0032AEBC 88 1D 01 D0 */ lbz r0, 0x1d0(r29) -/* 8032DF60 0032AEC0 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 8032DF64 0032AEC4 41 82 00 10 */ beq lbl_8032DF74 -/* 8032DF68 0032AEC8 7F A3 EB 78 */ mr r3, r29 -/* 8032DF6C 0032AECC 4B FF F0 7D */ bl Render2SidedNoSplineGaps__15CParticleSwooshFv -/* 8032DF70 0032AED0 48 00 00 68 */ b lbl_8032DFD8 -lbl_8032DF74: -/* 8032DF74 0032AED4 7F A3 EB 78 */ mr r3, r29 -/* 8032DF78 0032AED8 4B FF F3 CD */ bl Render2SidedNoSplineNoGaps__15CParticleSwooshFv -/* 8032DF7C 0032AEDC 48 00 00 5C */ b lbl_8032DFD8 -lbl_8032DF80: -/* 8032DF80 0032AEE0 7F A3 EB 78 */ mr r3, r29 -/* 8032DF84 0032AEE4 4B FF F0 45 */ bl Render2SidedSpline__15CParticleSwooshFv -/* 8032DF88 0032AEE8 48 00 00 50 */ b lbl_8032DFD8 -lbl_8032DF8C: -/* 8032DF8C 0032AEEC 2C 00 00 03 */ cmpwi r0, 3 -/* 8032DF90 0032AEF0 40 82 00 28 */ bne lbl_8032DFB8 -/* 8032DF94 0032AEF4 80 1D 01 B0 */ lwz r0, 0x1b0(r29) -/* 8032DF98 0032AEF8 2C 00 00 00 */ cmpwi r0, 0 -/* 8032DF9C 0032AEFC 40 81 00 10 */ ble lbl_8032DFAC -/* 8032DFA0 0032AF00 7F A3 EB 78 */ mr r3, r29 -/* 8032DFA4 0032AF04 4B FF DB 1D */ bl Render3SidedSolidSpline__15CParticleSwooshFv -/* 8032DFA8 0032AF08 48 00 00 30 */ b lbl_8032DFD8 -lbl_8032DFAC: -/* 8032DFAC 0032AF0C 7F A3 EB 78 */ mr r3, r29 -/* 8032DFB0 0032AF10 4B FF E6 E9 */ bl Render3SidedSolidNoSplineNoGaps__15CParticleSwooshFv -/* 8032DFB4 0032AF14 48 00 00 24 */ b lbl_8032DFD8 -lbl_8032DFB8: -/* 8032DFB8 0032AF18 80 1D 01 B0 */ lwz r0, 0x1b0(r29) -/* 8032DFBC 0032AF1C 2C 00 00 00 */ cmpwi r0, 0 -/* 8032DFC0 0032AF20 40 81 00 10 */ ble lbl_8032DFD0 -/* 8032DFC4 0032AF24 7F A3 EB 78 */ mr r3, r29 -/* 8032DFC8 0032AF28 4B FF CE D5 */ bl RenderNSidedSpline__15CParticleSwooshFv -/* 8032DFCC 0032AF2C 48 00 00 0C */ b lbl_8032DFD8 -lbl_8032DFD0: -/* 8032DFD0 0032AF30 7F A3 EB 78 */ mr r3, r29 -/* 8032DFD4 0032AF34 4B FF DA CD */ bl RenderNSidedNoSpline__15CParticleSwooshFv -lbl_8032DFD8: -/* 8032DFD8 0032AF38 48 05 73 D1 */ bl OSGetTime -/* 8032DFDC 0032AF3C 7C 9E 20 10 */ subfc r4, r30, r4 -/* 8032DFE0 0032AF40 7C 7F 19 10 */ subfe r3, r31, r3 -/* 8032DFE4 0032AF44 48 05 BF 81 */ bl __cvt_sll_flt -/* 8032DFE8 0032AF48 3C 80 80 5A */ lis r4, mData__10CStopwatch@ha -/* 8032DFEC 0032AF4C 38 60 00 01 */ li r3, 1 -/* 8032DFF0 0032AF50 38 84 FD 30 */ addi r4, r4, mData__10CStopwatch@l -/* 8032DFF4 0032AF54 C0 04 00 10 */ lfs f0, 0x10(r4) -/* 8032DFF8 0032AF58 EC 01 00 32 */ fmuls f0, f1, f0 -/* 8032DFFC 0032AF5C D0 1D 01 C8 */ stfs f0, 0x1c8(r29) -/* 8032E000 0032AF60 4B FD DA 71 */ bl SetCullMode__9CGraphicsF12ERglCullMode -/* 8032E004 0032AF64 38 61 00 2C */ addi r3, r1, 0x2c -/* 8032E008 0032AF68 38 80 FF FF */ li r4, -1 -/* 8032E00C 0032AF6C 4B FE 45 F9 */ bl __dt__13CGlobalRandomFv -lbl_8032E010: -/* 8032E010 0032AF70 80 01 01 44 */ lwz r0, 0x144(r1) -/* 8032E014 0032AF74 83 E1 01 3C */ lwz r31, 0x13c(r1) -/* 8032E018 0032AF78 83 C1 01 38 */ lwz r30, 0x138(r1) -/* 8032E01C 0032AF7C 83 A1 01 34 */ lwz r29, 0x134(r1) -/* 8032E020 0032AF80 7C 08 03 A6 */ mtlr r0 -/* 8032E024 0032AF84 38 21 01 40 */ addi r1, r1, 0x140 -/* 8032E028 0032AF88 4E 80 00 20 */ blr - -.global IsSystemDeletable__15CParticleSwooshCFv -IsSystemDeletable__15CParticleSwooshCFv: -/* 8032E02C 0032AF8C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8032E030 0032AF90 7C 08 02 A6 */ mflr r0 -/* 8032E034 0032AF94 90 01 00 14 */ stw r0, 0x14(r1) -/* 8032E038 0032AF98 88 03 01 D0 */ lbz r0, 0x1d0(r3) -/* 8032E03C 0032AF9C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8032E040 0032AFA0 41 82 00 1C */ beq lbl_8032E05C -/* 8032E044 0032AFA4 80 83 00 28 */ lwz r4, 0x28(r3) -/* 8032E048 0032AFA8 80 03 00 2C */ lwz r0, 0x2c(r3) -/* 8032E04C 0032AFAC 7C 04 00 00 */ cmpw r4, r0 -/* 8032E050 0032AFB0 40 80 00 0C */ bge lbl_8032E05C -/* 8032E054 0032AFB4 38 60 00 00 */ li r3, 0 -/* 8032E058 0032AFB8 48 00 00 28 */ b lbl_8032E080 -lbl_8032E05C: -/* 8032E05C 0032AFBC 81 83 00 00 */ lwz r12, 0(r3) -/* 8032E060 0032AFC0 81 8C 00 60 */ lwz r12, 0x60(r12) -/* 8032E064 0032AFC4 7D 89 03 A6 */ mtctr r12 -/* 8032E068 0032AFC8 4E 80 04 21 */ bctrl -/* 8032E06C 0032AFCC 2C 03 00 02 */ cmpwi r3, 2 -/* 8032E070 0032AFD0 41 80 00 0C */ blt lbl_8032E07C -/* 8032E074 0032AFD4 38 60 00 00 */ li r3, 0 -/* 8032E078 0032AFD8 48 00 00 08 */ b lbl_8032E080 -lbl_8032E07C: -/* 8032E07C 0032AFDC 38 60 00 01 */ li r3, 1 -lbl_8032E080: -/* 8032E080 0032AFE0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8032E084 0032AFE4 7C 08 03 A6 */ mtlr r0 -/* 8032E088 0032AFE8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8032E08C 0032AFEC 4E 80 00 20 */ blr - -.global GetModulationColor__15CParticleSwooshCFv -GetModulationColor__15CParticleSwooshCFv: -/* 8032E090 0032AFF0 38 63 02 0C */ addi r3, r3, 0x20c -/* 8032E094 0032AFF4 4E 80 00 20 */ blr - -.global SetModulationColor__15CParticleSwooshFRC6CColor -SetModulationColor__15CParticleSwooshFRC6CColor: -/* 8032E098 0032AFF8 80 04 00 00 */ lwz r0, 0(r4) -/* 8032E09C 0032AFFC 90 03 02 0C */ stw r0, 0x20c(r3) -/* 8032E0A0 0032B000 4E 80 00 20 */ blr - -.global GetParticleCount__15CParticleSwooshCFv -GetParticleCount__15CParticleSwooshCFv: -/* 8032E0A4 0032B004 80 63 01 AC */ lwz r3, 0x1ac(r3) -/* 8032E0A8 0032B008 4E 80 00 20 */ blr - -.global SetLocalScale__15CParticleSwooshFRC9CVector3f -SetLocalScale__15CParticleSwooshFRC9CVector3f: -/* 8032E0AC 0032B00C C0 04 00 00 */ lfs f0, 0(r4) -/* 8032E0B0 0032B010 D0 03 01 4C */ stfs f0, 0x14c(r3) -/* 8032E0B4 0032B014 C0 04 00 04 */ lfs f0, 4(r4) -/* 8032E0B8 0032B018 D0 03 01 50 */ stfs f0, 0x150(r3) -/* 8032E0BC 0032B01C C0 04 00 08 */ lfs f0, 8(r4) -/* 8032E0C0 0032B020 D0 03 01 54 */ stfs f0, 0x154(r3) -/* 8032E0C4 0032B024 4E 80 00 20 */ blr - -.global SetGlobalOrientation__15CParticleSwooshFRC12CTransform4f -SetGlobalOrientation__15CParticleSwooshFRC12CTransform4f: -/* 8032E0C8 0032B028 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8032E0CC 0032B02C 7C 08 02 A6 */ mflr r0 -/* 8032E0D0 0032B030 90 01 00 44 */ stw r0, 0x44(r1) -/* 8032E0D4 0032B034 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 8032E0D8 0032B038 7C 7F 1B 78 */ mr r31, r3 -/* 8032E0DC 0032B03C 38 61 00 08 */ addi r3, r1, 8 -/* 8032E0E0 0032B040 4B FE 4B 61 */ bl GetRotation__12CTransform4fCFv -/* 8032E0E4 0032B044 38 7F 00 B0 */ addi r3, r31, 0xb0 -/* 8032E0E8 0032B048 38 81 00 08 */ addi r4, r1, 8 -/* 8032E0EC 0032B04C 4B FE 4A 55 */ bl __as__12CTransform4fFRC12CTransform4f -/* 8032E0F0 0032B050 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8032E0F4 0032B054 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 8032E0F8 0032B058 7C 08 03 A6 */ mtlr r0 -/* 8032E0FC 0032B05C 38 21 00 40 */ addi r1, r1, 0x40 -/* 8032E100 0032B060 4E 80 00 20 */ blr - -.global SetGlobalTranslation__15CParticleSwooshFRC9CVector3f -SetGlobalTranslation__15CParticleSwooshFRC9CVector3f: -/* 8032E104 0032B064 C0 04 00 00 */ lfs f0, 0(r4) -/* 8032E108 0032B068 D0 03 00 A4 */ stfs f0, 0xa4(r3) -/* 8032E10C 0032B06C C0 04 00 04 */ lfs f0, 4(r4) -/* 8032E110 0032B070 D0 03 00 A8 */ stfs f0, 0xa8(r3) -/* 8032E114 0032B074 C0 04 00 08 */ lfs f0, 8(r4) -/* 8032E118 0032B078 D0 03 00 AC */ stfs f0, 0xac(r3) -/* 8032E11C 0032B07C 4E 80 00 20 */ blr - -.global SetTranslation__15CParticleSwooshFRC9CVector3f -SetTranslation__15CParticleSwooshFRC9CVector3f: -/* 8032E120 0032B080 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8032E124 0032B084 7C 08 02 A6 */ mflr r0 -/* 8032E128 0032B088 90 01 00 14 */ stw r0, 0x14(r1) -/* 8032E12C 0032B08C C0 04 00 00 */ lfs f0, 0(r4) -/* 8032E130 0032B090 D0 03 00 38 */ stfs f0, 0x38(r3) -/* 8032E134 0032B094 C0 04 00 04 */ lfs f0, 4(r4) -/* 8032E138 0032B098 D0 03 00 3C */ stfs f0, 0x3c(r3) -/* 8032E13C 0032B09C C0 04 00 08 */ lfs f0, 8(r4) -/* 8032E140 0032B0A0 38 83 00 38 */ addi r4, r3, 0x38 -/* 8032E144 0032B0A4 D0 03 00 40 */ stfs f0, 0x40(r3) -/* 8032E148 0032B0A8 4B FF C7 31 */ bl UpdateSwooshTranslation__15CParticleSwooshFRC9CVector3f -/* 8032E14C 0032B0AC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8032E150 0032B0B0 7C 08 03 A6 */ mtlr r0 -/* 8032E154 0032B0B4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8032E158 0032B0B8 4E 80 00 20 */ blr - -.global UpdateTranslationAndOrientation__15CParticleSwooshFv -UpdateTranslationAndOrientation__15CParticleSwooshFv: -/* 8032E15C 0032B0BC 94 21 FF 40 */ stwu r1, -0xc0(r1) -/* 8032E160 0032B0C0 7C 08 02 A6 */ mflr r0 -/* 8032E164 0032B0C4 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 8032E168 0032B0C8 93 E1 00 BC */ stw r31, 0xbc(r1) -/* 8032E16C 0032B0CC 93 C1 00 B8 */ stw r30, 0xb8(r1) -/* 8032E170 0032B0D0 93 A1 00 B4 */ stw r29, 0xb4(r1) -/* 8032E174 0032B0D4 93 81 00 B0 */ stw r28, 0xb0(r1) -/* 8032E178 0032B0D8 7C 7C 1B 78 */ mr r28, r3 -/* 8032E17C 0032B0DC 80 03 01 AC */ lwz r0, 0x1ac(r3) -/* 8032E180 0032B0E0 2C 00 00 00 */ cmpwi r0, 0 -/* 8032E184 0032B0E4 40 81 04 FC */ ble lbl_8032E680 -/* 8032E188 0032B0E8 C0 02 CA 94 */ lfs f0, lbl_805AE7B4@sda21(r2) -/* 8032E18C 0032B0EC C0 22 CB 04 */ lfs f1, lbl_805AE824@sda21(r2) -/* 8032E190 0032B0F0 D0 1C 02 08 */ stfs f0, 0x208(r28) -/* 8032E194 0032B0F4 C0 02 CB 08 */ lfs f0, lbl_805AE828@sda21(r2) -/* 8032E198 0032B0F8 D0 3C 01 F0 */ stfs f1, 0x1f0(r28) -/* 8032E19C 0032B0FC D0 3C 01 F4 */ stfs f1, 0x1f4(r28) -/* 8032E1A0 0032B100 D0 3C 01 F8 */ stfs f1, 0x1f8(r28) -/* 8032E1A4 0032B104 D0 1C 01 FC */ stfs f0, 0x1fc(r28) -/* 8032E1A8 0032B108 D0 1C 02 00 */ stfs f0, 0x200(r28) -/* 8032E1AC 0032B10C D0 1C 02 04 */ stfs f0, 0x204(r28) -/* 8032E1B0 0032B110 80 7C 01 B4 */ lwz r3, 0x1b4(r28) -/* 8032E1B4 0032B114 4B FF C5 C5 */ bl SetParticleLifetime__16CParticleGlobalsFi -/* 8032E1B8 0032B118 80 7C 00 28 */ lwz r3, 0x28(r28) -/* 8032E1BC 0032B11C 4B FF C5 8D */ bl SetEmitterTime__16CParticleGlobalsFi -/* 8032E1C0 0032B120 C0 02 CA 94 */ lfs f0, lbl_805AE7B4@sda21(r2) -/* 8032E1C4 0032B124 3B C0 00 00 */ li r30, 0 -/* 8032E1C8 0032B128 3B E0 00 00 */ li r31, 0 -/* 8032E1CC 0032B12C D0 01 00 A4 */ stfs f0, 0xa4(r1) -/* 8032E1D0 0032B130 D0 01 00 A8 */ stfs f0, 0xa8(r1) -/* 8032E1D4 0032B134 D0 01 00 AC */ stfs f0, 0xac(r1) -/* 8032E1D8 0032B138 D0 01 00 98 */ stfs f0, 0x98(r1) -/* 8032E1DC 0032B13C D0 01 00 9C */ stfs f0, 0x9c(r1) -/* 8032E1E0 0032B140 D0 01 00 A0 */ stfs f0, 0xa0(r1) -/* 8032E1E4 0032B144 D0 01 00 8C */ stfs f0, 0x8c(r1) -/* 8032E1E8 0032B148 D0 01 00 90 */ stfs f0, 0x90(r1) -/* 8032E1EC 0032B14C D0 01 00 94 */ stfs f0, 0x94(r1) -/* 8032E1F0 0032B150 48 00 04 84 */ b lbl_8032E674 -lbl_8032E1F4: -/* 8032E1F4 0032B154 80 1C 01 68 */ lwz r0, 0x168(r28) -/* 8032E1F8 0032B158 7F A0 FA 14 */ add r29, r0, r31 -/* 8032E1FC 0032B15C 88 1D 00 00 */ lbz r0, 0(r29) -/* 8032E200 0032B160 28 00 00 00 */ cmplwi r0, 0 -/* 8032E204 0032B164 41 82 04 68 */ beq lbl_8032E66C -/* 8032E208 0032B168 80 7D 00 70 */ lwz r3, 0x70(r29) -/* 8032E20C 0032B16C 80 1C 00 28 */ lwz r0, 0x28(r28) -/* 8032E210 0032B170 7C 03 00 50 */ subf r0, r3, r0 -/* 8032E214 0032B174 90 1D 00 68 */ stw r0, 0x68(r29) -/* 8032E218 0032B178 80 7D 00 68 */ lwz r3, 0x68(r29) -/* 8032E21C 0032B17C 4B FF C4 61 */ bl UpdateParticleLifetimeTweenValues__16CParticleGlobalsFi -/* 8032E220 0032B180 80 7C 00 24 */ lwz r3, 0x24(r28) -/* 8032E224 0032B184 88 03 00 44 */ lbz r0, 0x44(r3) -/* 8032E228 0032B188 54 00 EF FE */ rlwinm r0, r0, 0x1d, 0x1f, 0x1f -/* 8032E22C 0032B18C 28 00 00 01 */ cmplwi r0, 1 -/* 8032E230 0032B190 40 82 00 34 */ bne lbl_8032E264 -/* 8032E234 0032B194 80 63 00 1C */ lwz r3, 0x1c(r3) -/* 8032E238 0032B198 28 03 00 00 */ cmplwi r3, 0 -/* 8032E23C 0032B19C 41 82 00 1C */ beq lbl_8032E258 -/* 8032E240 0032B1A0 81 83 00 00 */ lwz r12, 0(r3) -/* 8032E244 0032B1A4 38 BD 00 30 */ addi r5, r29, 0x30 -/* 8032E248 0032B1A8 80 9C 00 28 */ lwz r4, 0x28(r28) -/* 8032E24C 0032B1AC 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8032E250 0032B1B0 7D 89 03 A6 */ mtctr r12 -/* 8032E254 0032B1B4 4E 80 04 21 */ bctrl -lbl_8032E258: -/* 8032E258 0032B1B8 C0 02 CA 94 */ lfs f0, lbl_805AE7B4@sda21(r2) -/* 8032E25C 0032B1BC D0 1D 00 34 */ stfs f0, 0x34(r29) -/* 8032E260 0032B1C0 48 00 00 34 */ b lbl_8032E294 -lbl_8032E264: -/* 8032E264 0032B1C4 80 63 00 20 */ lwz r3, 0x20(r3) -/* 8032E268 0032B1C8 28 03 00 00 */ cmplwi r3, 0 -/* 8032E26C 0032B1CC 41 82 00 20 */ beq lbl_8032E28C -/* 8032E270 0032B1D0 81 83 00 00 */ lwz r12, 0(r3) -/* 8032E274 0032B1D4 38 BD 00 34 */ addi r5, r29, 0x34 -/* 8032E278 0032B1D8 80 9C 00 28 */ lwz r4, 0x28(r28) -/* 8032E27C 0032B1DC 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8032E280 0032B1E0 7D 89 03 A6 */ mtctr r12 -/* 8032E284 0032B1E4 4E 80 04 21 */ bctrl -/* 8032E288 0032B1E8 48 00 00 0C */ b lbl_8032E294 -lbl_8032E28C: -/* 8032E28C 0032B1EC C0 02 CA 94 */ lfs f0, lbl_805AE7B4@sda21(r2) -/* 8032E290 0032B1F0 D0 1D 00 34 */ stfs f0, 0x34(r29) -lbl_8032E294: -/* 8032E294 0032B1F4 80 7C 00 24 */ lwz r3, 0x24(r28) -/* 8032E298 0032B1F8 80 63 00 30 */ lwz r3, 0x30(r3) -/* 8032E29C 0032B1FC 28 03 00 00 */ cmplwi r3, 0 -/* 8032E2A0 0032B200 41 82 01 3C */ beq lbl_8032E3DC -/* 8032E2A4 0032B204 88 1C 01 D0 */ lbz r0, 0x1d0(r28) -/* 8032E2A8 0032B208 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 8032E2AC 0032B20C 41 82 01 14 */ beq lbl_8032E3C0 -/* 8032E2B0 0032B210 38 61 00 80 */ addi r3, r1, 0x80 -/* 8032E2B4 0032B214 38 9C 00 74 */ addi r4, r28, 0x74 -/* 8032E2B8 0032B218 38 BD 00 74 */ addi r5, r29, 0x74 -/* 8032E2BC 0032B21C 4B FE 48 2D */ bl __ml__12CTransform4fCFRC9CVector3f -/* 8032E2C0 0032B220 C0 41 00 80 */ lfs f2, 0x80(r1) -/* 8032E2C4 0032B224 38 61 00 74 */ addi r3, r1, 0x74 -/* 8032E2C8 0032B228 C0 21 00 84 */ lfs f1, 0x84(r1) -/* 8032E2CC 0032B22C 38 9C 00 74 */ addi r4, r28, 0x74 -/* 8032E2D0 0032B230 C0 01 00 88 */ lfs f0, 0x88(r1) -/* 8032E2D4 0032B234 38 A1 00 68 */ addi r5, r1, 0x68 -/* 8032E2D8 0032B238 D0 41 00 98 */ stfs f2, 0x98(r1) -/* 8032E2DC 0032B23C D0 21 00 9C */ stfs f1, 0x9c(r1) -/* 8032E2E0 0032B240 D0 01 00 A0 */ stfs f0, 0xa0(r1) -/* 8032E2E4 0032B244 C0 3D 00 10 */ lfs f1, 0x10(r29) -/* 8032E2E8 0032B248 C0 1C 00 3C */ lfs f0, 0x3c(r28) -/* 8032E2EC 0032B24C C0 7D 00 14 */ lfs f3, 0x14(r29) -/* 8032E2F0 0032B250 C0 5C 00 40 */ lfs f2, 0x40(r28) -/* 8032E2F4 0032B254 EC 81 00 28 */ fsubs f4, f1, f0 -/* 8032E2F8 0032B258 C0 3D 00 0C */ lfs f1, 0xc(r29) -/* 8032E2FC 0032B25C C0 1C 00 38 */ lfs f0, 0x38(r28) -/* 8032E300 0032B260 EC 43 10 28 */ fsubs f2, f3, f2 -/* 8032E304 0032B264 EC 01 00 28 */ fsubs f0, f1, f0 -/* 8032E308 0032B268 D0 81 00 6C */ stfs f4, 0x6c(r1) -/* 8032E30C 0032B26C D0 41 00 70 */ stfs f2, 0x70(r1) -/* 8032E310 0032B270 D0 01 00 68 */ stfs f0, 0x68(r1) -/* 8032E314 0032B274 4B FE 47 D5 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 8032E318 0032B278 C0 41 00 74 */ lfs f2, 0x74(r1) -/* 8032E31C 0032B27C 38 A1 00 98 */ addi r5, r1, 0x98 -/* 8032E320 0032B280 C0 21 00 78 */ lfs f1, 0x78(r1) -/* 8032E324 0032B284 38 C1 00 8C */ addi r6, r1, 0x8c -/* 8032E328 0032B288 C0 01 00 7C */ lfs f0, 0x7c(r1) -/* 8032E32C 0032B28C D0 41 00 8C */ stfs f2, 0x8c(r1) -/* 8032E330 0032B290 D0 21 00 90 */ stfs f1, 0x90(r1) -/* 8032E334 0032B294 D0 01 00 94 */ stfs f0, 0x94(r1) -/* 8032E338 0032B298 80 7C 00 24 */ lwz r3, 0x24(r28) -/* 8032E33C 0032B29C 80 9D 00 68 */ lwz r4, 0x68(r29) -/* 8032E340 0032B2A0 80 63 00 30 */ lwz r3, 0x30(r3) -/* 8032E344 0032B2A4 81 83 00 00 */ lwz r12, 0(r3) -/* 8032E348 0032B2A8 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8032E34C 0032B2AC 7D 89 03 A6 */ mtctr r12 -/* 8032E350 0032B2B0 4E 80 04 21 */ bctrl -/* 8032E354 0032B2B4 38 61 00 5C */ addi r3, r1, 0x5c -/* 8032E358 0032B2B8 38 9C 00 44 */ addi r4, r28, 0x44 -/* 8032E35C 0032B2BC 38 A1 00 98 */ addi r5, r1, 0x98 -/* 8032E360 0032B2C0 4B FE 47 89 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 8032E364 0032B2C4 C0 01 00 5C */ lfs f0, 0x5c(r1) -/* 8032E368 0032B2C8 38 61 00 50 */ addi r3, r1, 0x50 -/* 8032E36C 0032B2CC 38 9C 00 44 */ addi r4, r28, 0x44 -/* 8032E370 0032B2D0 38 A1 00 8C */ addi r5, r1, 0x8c -/* 8032E374 0032B2D4 D0 1D 00 74 */ stfs f0, 0x74(r29) -/* 8032E378 0032B2D8 C0 01 00 60 */ lfs f0, 0x60(r1) -/* 8032E37C 0032B2DC D0 1D 00 78 */ stfs f0, 0x78(r29) -/* 8032E380 0032B2E0 C0 01 00 64 */ lfs f0, 0x64(r1) -/* 8032E384 0032B2E4 D0 1D 00 7C */ stfs f0, 0x7c(r29) -/* 8032E388 0032B2E8 4B FE 47 61 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 8032E38C 0032B2EC C0 21 00 50 */ lfs f1, 0x50(r1) -/* 8032E390 0032B2F0 C0 1C 00 38 */ lfs f0, 0x38(r28) -/* 8032E394 0032B2F4 C0 81 00 54 */ lfs f4, 0x54(r1) -/* 8032E398 0032B2F8 C0 7C 00 3C */ lfs f3, 0x3c(r28) -/* 8032E39C 0032B2FC EC 01 00 2A */ fadds f0, f1, f0 -/* 8032E3A0 0032B300 C0 41 00 58 */ lfs f2, 0x58(r1) -/* 8032E3A4 0032B304 C0 3C 00 40 */ lfs f1, 0x40(r28) -/* 8032E3A8 0032B308 EC 64 18 2A */ fadds f3, f4, f3 -/* 8032E3AC 0032B30C D0 1D 00 0C */ stfs f0, 0xc(r29) -/* 8032E3B0 0032B310 EC 02 08 2A */ fadds f0, f2, f1 -/* 8032E3B4 0032B314 D0 7D 00 10 */ stfs f3, 0x10(r29) -/* 8032E3B8 0032B318 D0 1D 00 14 */ stfs f0, 0x14(r29) -/* 8032E3BC 0032B31C 48 00 00 20 */ b lbl_8032E3DC -lbl_8032E3C0: -/* 8032E3C0 0032B320 81 83 00 00 */ lwz r12, 0(r3) -/* 8032E3C4 0032B324 38 BD 00 74 */ addi r5, r29, 0x74 -/* 8032E3C8 0032B328 38 DD 00 0C */ addi r6, r29, 0xc -/* 8032E3CC 0032B32C 80 9D 00 68 */ lwz r4, 0x68(r29) -/* 8032E3D0 0032B330 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8032E3D4 0032B334 7D 89 03 A6 */ mtctr r12 -/* 8032E3D8 0032B338 4E 80 04 21 */ bctrl -lbl_8032E3DC: -/* 8032E3DC 0032B33C 80 7C 00 24 */ lwz r3, 0x24(r28) -/* 8032E3E0 0032B340 80 63 00 34 */ lwz r3, 0x34(r3) -/* 8032E3E4 0032B344 28 03 00 00 */ cmplwi r3, 0 -/* 8032E3E8 0032B348 41 82 01 3C */ beq lbl_8032E524 -/* 8032E3EC 0032B34C 88 1C 01 D0 */ lbz r0, 0x1d0(r28) -/* 8032E3F0 0032B350 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f -/* 8032E3F4 0032B354 41 82 01 14 */ beq lbl_8032E508 -/* 8032E3F8 0032B358 38 61 00 44 */ addi r3, r1, 0x44 -/* 8032E3FC 0032B35C 38 9C 00 74 */ addi r4, r28, 0x74 -/* 8032E400 0032B360 38 BD 00 74 */ addi r5, r29, 0x74 -/* 8032E404 0032B364 4B FE 46 E5 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 8032E408 0032B368 C0 41 00 44 */ lfs f2, 0x44(r1) -/* 8032E40C 0032B36C 38 61 00 38 */ addi r3, r1, 0x38 -/* 8032E410 0032B370 C0 21 00 48 */ lfs f1, 0x48(r1) -/* 8032E414 0032B374 38 9C 00 74 */ addi r4, r28, 0x74 -/* 8032E418 0032B378 C0 01 00 4C */ lfs f0, 0x4c(r1) -/* 8032E41C 0032B37C 38 A1 00 2C */ addi r5, r1, 0x2c -/* 8032E420 0032B380 D0 41 00 98 */ stfs f2, 0x98(r1) -/* 8032E424 0032B384 D0 21 00 9C */ stfs f1, 0x9c(r1) -/* 8032E428 0032B388 D0 01 00 A0 */ stfs f0, 0xa0(r1) -/* 8032E42C 0032B38C C0 3D 00 10 */ lfs f1, 0x10(r29) -/* 8032E430 0032B390 C0 1C 00 3C */ lfs f0, 0x3c(r28) -/* 8032E434 0032B394 C0 7D 00 14 */ lfs f3, 0x14(r29) -/* 8032E438 0032B398 C0 5C 00 40 */ lfs f2, 0x40(r28) -/* 8032E43C 0032B39C EC 81 00 28 */ fsubs f4, f1, f0 -/* 8032E440 0032B3A0 C0 3D 00 0C */ lfs f1, 0xc(r29) -/* 8032E444 0032B3A4 C0 1C 00 38 */ lfs f0, 0x38(r28) -/* 8032E448 0032B3A8 EC 43 10 28 */ fsubs f2, f3, f2 -/* 8032E44C 0032B3AC EC 01 00 28 */ fsubs f0, f1, f0 -/* 8032E450 0032B3B0 D0 81 00 30 */ stfs f4, 0x30(r1) -/* 8032E454 0032B3B4 D0 41 00 34 */ stfs f2, 0x34(r1) -/* 8032E458 0032B3B8 D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 8032E45C 0032B3BC 4B FE 46 8D */ bl __ml__12CTransform4fCFRC9CVector3f -/* 8032E460 0032B3C0 C0 41 00 38 */ lfs f2, 0x38(r1) -/* 8032E464 0032B3C4 38 A1 00 98 */ addi r5, r1, 0x98 -/* 8032E468 0032B3C8 C0 21 00 3C */ lfs f1, 0x3c(r1) -/* 8032E46C 0032B3CC 38 C1 00 8C */ addi r6, r1, 0x8c -/* 8032E470 0032B3D0 C0 01 00 40 */ lfs f0, 0x40(r1) -/* 8032E474 0032B3D4 D0 41 00 8C */ stfs f2, 0x8c(r1) -/* 8032E478 0032B3D8 D0 21 00 90 */ stfs f1, 0x90(r1) -/* 8032E47C 0032B3DC D0 01 00 94 */ stfs f0, 0x94(r1) -/* 8032E480 0032B3E0 80 7C 00 24 */ lwz r3, 0x24(r28) -/* 8032E484 0032B3E4 80 9D 00 68 */ lwz r4, 0x68(r29) -/* 8032E488 0032B3E8 80 63 00 34 */ lwz r3, 0x34(r3) -/* 8032E48C 0032B3EC 81 83 00 00 */ lwz r12, 0(r3) -/* 8032E490 0032B3F0 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8032E494 0032B3F4 7D 89 03 A6 */ mtctr r12 -/* 8032E498 0032B3F8 4E 80 04 21 */ bctrl -/* 8032E49C 0032B3FC 38 61 00 20 */ addi r3, r1, 0x20 -/* 8032E4A0 0032B400 38 9C 00 44 */ addi r4, r28, 0x44 -/* 8032E4A4 0032B404 38 A1 00 98 */ addi r5, r1, 0x98 -/* 8032E4A8 0032B408 4B FE 46 41 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 8032E4AC 0032B40C C0 01 00 20 */ lfs f0, 0x20(r1) -/* 8032E4B0 0032B410 38 61 00 14 */ addi r3, r1, 0x14 -/* 8032E4B4 0032B414 38 9C 00 44 */ addi r4, r28, 0x44 -/* 8032E4B8 0032B418 38 A1 00 8C */ addi r5, r1, 0x8c -/* 8032E4BC 0032B41C D0 1D 00 74 */ stfs f0, 0x74(r29) -/* 8032E4C0 0032B420 C0 01 00 24 */ lfs f0, 0x24(r1) -/* 8032E4C4 0032B424 D0 1D 00 78 */ stfs f0, 0x78(r29) -/* 8032E4C8 0032B428 C0 01 00 28 */ lfs f0, 0x28(r1) -/* 8032E4CC 0032B42C D0 1D 00 7C */ stfs f0, 0x7c(r29) -/* 8032E4D0 0032B430 4B FE 46 19 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 8032E4D4 0032B434 C0 21 00 14 */ lfs f1, 0x14(r1) -/* 8032E4D8 0032B438 C0 1C 00 38 */ lfs f0, 0x38(r28) -/* 8032E4DC 0032B43C C0 81 00 18 */ lfs f4, 0x18(r1) -/* 8032E4E0 0032B440 C0 7C 00 3C */ lfs f3, 0x3c(r28) -/* 8032E4E4 0032B444 EC 01 00 2A */ fadds f0, f1, f0 -/* 8032E4E8 0032B448 C0 41 00 1C */ lfs f2, 0x1c(r1) -/* 8032E4EC 0032B44C C0 3C 00 40 */ lfs f1, 0x40(r28) -/* 8032E4F0 0032B450 EC 64 18 2A */ fadds f3, f4, f3 -/* 8032E4F4 0032B454 D0 1D 00 0C */ stfs f0, 0xc(r29) -/* 8032E4F8 0032B458 EC 02 08 2A */ fadds f0, f2, f1 -/* 8032E4FC 0032B45C D0 7D 00 10 */ stfs f3, 0x10(r29) -/* 8032E500 0032B460 D0 1D 00 14 */ stfs f0, 0x14(r29) -/* 8032E504 0032B464 48 00 00 20 */ b lbl_8032E524 -lbl_8032E508: -/* 8032E508 0032B468 81 83 00 00 */ lwz r12, 0(r3) -/* 8032E50C 0032B46C 38 BD 00 74 */ addi r5, r29, 0x74 -/* 8032E510 0032B470 38 DD 00 0C */ addi r6, r29, 0xc -/* 8032E514 0032B474 80 9D 00 68 */ lwz r4, 0x68(r29) -/* 8032E518 0032B478 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8032E51C 0032B47C 7D 89 03 A6 */ mtctr r12 -/* 8032E520 0032B480 4E 80 04 21 */ bctrl -lbl_8032E524: -/* 8032E524 0032B484 80 1D 00 68 */ lwz r0, 0x68(r29) -/* 8032E528 0032B488 2C 00 00 00 */ cmpwi r0, 0 -/* 8032E52C 0032B48C 40 81 00 34 */ ble lbl_8032E560 -/* 8032E530 0032B490 C0 3D 00 0C */ lfs f1, 0xc(r29) -/* 8032E534 0032B494 C0 1D 00 74 */ lfs f0, 0x74(r29) -/* 8032E538 0032B498 EC 01 00 2A */ fadds f0, f1, f0 -/* 8032E53C 0032B49C D0 1D 00 0C */ stfs f0, 0xc(r29) -/* 8032E540 0032B4A0 C0 3D 00 10 */ lfs f1, 0x10(r29) -/* 8032E544 0032B4A4 C0 1D 00 78 */ lfs f0, 0x78(r29) -/* 8032E548 0032B4A8 EC 01 00 2A */ fadds f0, f1, f0 -/* 8032E54C 0032B4AC D0 1D 00 10 */ stfs f0, 0x10(r29) -/* 8032E550 0032B4B0 C0 3D 00 14 */ lfs f1, 0x14(r29) -/* 8032E554 0032B4B4 C0 1D 00 7C */ lfs f0, 0x7c(r29) -/* 8032E558 0032B4B8 EC 01 00 2A */ fadds f0, f1, f0 -/* 8032E55C 0032B4BC D0 1D 00 14 */ stfs f0, 0x14(r29) -lbl_8032E560: -/* 8032E560 0032B4C0 80 7C 00 24 */ lwz r3, 0x24(r28) -/* 8032E564 0032B4C4 80 63 00 2C */ lwz r3, 0x2c(r3) -/* 8032E568 0032B4C8 28 03 00 00 */ cmplwi r3, 0 -/* 8032E56C 0032B4CC 41 82 00 4C */ beq lbl_8032E5B8 -/* 8032E570 0032B4D0 81 83 00 00 */ lwz r12, 0(r3) -/* 8032E574 0032B4D4 38 A1 00 A4 */ addi r5, r1, 0xa4 -/* 8032E578 0032B4D8 80 9D 00 68 */ lwz r4, 0x68(r29) -/* 8032E57C 0032B4DC 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8032E580 0032B4E0 7D 89 03 A6 */ mtctr r12 -/* 8032E584 0032B4E4 4E 80 04 21 */ bctrl -/* 8032E588 0032B4E8 C0 3D 00 18 */ lfs f1, 0x18(r29) -/* 8032E58C 0032B4EC C0 01 00 A4 */ lfs f0, 0xa4(r1) -/* 8032E590 0032B4F0 C0 9D 00 1C */ lfs f4, 0x1c(r29) -/* 8032E594 0032B4F4 C0 61 00 A8 */ lfs f3, 0xa8(r1) -/* 8032E598 0032B4F8 EC 01 00 2A */ fadds f0, f1, f0 -/* 8032E59C 0032B4FC C0 5D 00 20 */ lfs f2, 0x20(r29) -/* 8032E5A0 0032B500 C0 21 00 AC */ lfs f1, 0xac(r1) -/* 8032E5A4 0032B504 EC 64 18 2A */ fadds f3, f4, f3 -/* 8032E5A8 0032B508 D0 1D 00 24 */ stfs f0, 0x24(r29) -/* 8032E5AC 0032B50C EC 02 08 2A */ fadds f0, f2, f1 -/* 8032E5B0 0032B510 D0 7D 00 28 */ stfs f3, 0x28(r29) -/* 8032E5B4 0032B514 D0 1D 00 2C */ stfs f0, 0x2c(r29) -lbl_8032E5B8: -/* 8032E5B8 0032B518 80 7C 00 24 */ lwz r3, 0x24(r28) -/* 8032E5BC 0032B51C 80 63 00 14 */ lwz r3, 0x14(r3) -/* 8032E5C0 0032B520 28 03 00 00 */ cmplwi r3, 0 -/* 8032E5C4 0032B524 41 82 00 1C */ beq lbl_8032E5E0 -/* 8032E5C8 0032B528 81 83 00 00 */ lwz r12, 0(r3) -/* 8032E5CC 0032B52C 38 BD 00 6C */ addi r5, r29, 0x6c -/* 8032E5D0 0032B530 80 9D 00 68 */ lwz r4, 0x68(r29) -/* 8032E5D4 0032B534 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8032E5D8 0032B538 7D 89 03 A6 */ mtctr r12 -/* 8032E5DC 0032B53C 4E 80 04 21 */ bctrl -lbl_8032E5E0: -/* 8032E5E0 0032B540 7F 83 E3 78 */ mr r3, r28 -/* 8032E5E4 0032B544 7F C4 F3 78 */ mr r4, r30 -/* 8032E5E8 0032B548 4B FF C8 15 */ bl GetLeftRadius__15CParticleSwooshFi -/* 8032E5EC 0032B54C D0 3D 00 04 */ stfs f1, 4(r29) -/* 8032E5F0 0032B550 7F 83 E3 78 */ mr r3, r28 -/* 8032E5F4 0032B554 C0 3D 00 04 */ lfs f1, 4(r29) -/* 8032E5F8 0032B558 4B FF C3 31 */ bl UpdateMaxRadius__15CParticleSwooshFf -/* 8032E5FC 0032B55C 88 1C 01 D0 */ lbz r0, 0x1d0(r28) -/* 8032E600 0032B560 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 8032E604 0032B564 41 82 00 10 */ beq lbl_8032E614 -/* 8032E608 0032B568 C0 1D 00 04 */ lfs f0, 4(r29) -/* 8032E60C 0032B56C D0 1D 00 08 */ stfs f0, 8(r29) -/* 8032E610 0032B570 48 00 00 20 */ b lbl_8032E630 -lbl_8032E614: -/* 8032E614 0032B574 7F 83 E3 78 */ mr r3, r28 -/* 8032E618 0032B578 7F C4 F3 78 */ mr r4, r30 -/* 8032E61C 0032B57C 4B FF C7 81 */ bl GetRightRadius__15CParticleSwooshFi -/* 8032E620 0032B580 D0 3D 00 08 */ stfs f1, 8(r29) -/* 8032E624 0032B584 7F 83 E3 78 */ mr r3, r28 -/* 8032E628 0032B588 C0 3D 00 08 */ lfs f1, 8(r29) -/* 8032E62C 0032B58C 4B FF C2 FD */ bl UpdateMaxRadius__15CParticleSwooshFf -lbl_8032E630: -/* 8032E630 0032B590 C0 3D 00 10 */ lfs f1, 0x10(r29) -/* 8032E634 0032B594 7F 83 E3 78 */ mr r3, r28 -/* 8032E638 0032B598 C0 1D 00 28 */ lfs f0, 0x28(r29) -/* 8032E63C 0032B59C 38 81 00 08 */ addi r4, r1, 8 -/* 8032E640 0032B5A0 C0 7D 00 14 */ lfs f3, 0x14(r29) -/* 8032E644 0032B5A4 C0 5D 00 2C */ lfs f2, 0x2c(r29) -/* 8032E648 0032B5A8 EC 81 00 2A */ fadds f4, f1, f0 -/* 8032E64C 0032B5AC C0 3D 00 0C */ lfs f1, 0xc(r29) -/* 8032E650 0032B5B0 C0 1D 00 24 */ lfs f0, 0x24(r29) -/* 8032E654 0032B5B4 EC 43 10 2A */ fadds f2, f3, f2 -/* 8032E658 0032B5B8 EC 01 00 2A */ fadds f0, f1, f0 -/* 8032E65C 0032B5BC D0 81 00 0C */ stfs f4, 0xc(r1) -/* 8032E660 0032B5C0 D0 41 00 10 */ stfs f2, 0x10(r1) -/* 8032E664 0032B5C4 D0 01 00 08 */ stfs f0, 8(r1) -/* 8032E668 0032B5C8 4B FF C2 F5 */ bl UpdateBounds__15CParticleSwooshFRC9CVector3f -lbl_8032E66C: -/* 8032E66C 0032B5CC 3B FF 00 80 */ addi r31, r31, 0x80 -/* 8032E670 0032B5D0 3B DE 00 01 */ addi r30, r30, 1 -lbl_8032E674: -/* 8032E674 0032B5D4 80 1C 01 64 */ lwz r0, 0x164(r28) -/* 8032E678 0032B5D8 7C 1E 00 00 */ cmpw r30, r0 -/* 8032E67C 0032B5DC 41 80 FB 78 */ blt lbl_8032E1F4 -lbl_8032E680: -/* 8032E680 0032B5E0 80 01 00 C4 */ lwz r0, 0xc4(r1) -/* 8032E684 0032B5E4 83 E1 00 BC */ lwz r31, 0xbc(r1) -/* 8032E688 0032B5E8 83 C1 00 B8 */ lwz r30, 0xb8(r1) -/* 8032E68C 0032B5EC 83 A1 00 B4 */ lwz r29, 0xb4(r1) -/* 8032E690 0032B5F0 83 81 00 B0 */ lwz r28, 0xb0(r1) -/* 8032E694 0032B5F4 7C 08 03 A6 */ mtlr r0 -/* 8032E698 0032B5F8 38 21 00 C0 */ addi r1, r1, 0xc0 -/* 8032E69C 0032B5FC 4E 80 00 20 */ blr - -.global SetOrientation__15CParticleSwooshFRC12CTransform4f -SetOrientation__15CParticleSwooshFRC12CTransform4f: -/* 8032E6A0 0032B600 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8032E6A4 0032B604 7C 08 02 A6 */ mflr r0 -/* 8032E6A8 0032B608 90 01 00 44 */ stw r0, 0x44(r1) -/* 8032E6AC 0032B60C 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 8032E6B0 0032B610 7C 7F 1B 78 */ mr r31, r3 -/* 8032E6B4 0032B614 38 7F 00 44 */ addi r3, r31, 0x44 -/* 8032E6B8 0032B618 4B FE 44 89 */ bl __as__12CTransform4fFRC12CTransform4f -/* 8032E6BC 0032B61C 38 61 00 08 */ addi r3, r1, 8 -/* 8032E6C0 0032B620 38 9F 00 44 */ addi r4, r31, 0x44 -/* 8032E6C4 0032B624 4B FE 45 D9 */ bl GetQuickInverse__12CTransform4fCFv -/* 8032E6C8 0032B628 38 7F 00 74 */ addi r3, r31, 0x74 -/* 8032E6CC 0032B62C 38 81 00 08 */ addi r4, r1, 8 -/* 8032E6D0 0032B630 4B FE 44 71 */ bl __as__12CTransform4fFRC12CTransform4f -/* 8032E6D4 0032B634 80 1F 01 58 */ lwz r0, 0x158(r31) -/* 8032E6D8 0032B638 38 9F 00 44 */ addi r4, r31, 0x44 -/* 8032E6DC 0032B63C 80 BF 01 68 */ lwz r5, 0x168(r31) -/* 8032E6E0 0032B640 54 03 38 30 */ slwi r3, r0, 7 -/* 8032E6E4 0032B644 38 63 00 38 */ addi r3, r3, 0x38 -/* 8032E6E8 0032B648 7C 65 1A 14 */ add r3, r5, r3 -/* 8032E6EC 0032B64C 4B FE 44 55 */ bl __as__12CTransform4fFRC12CTransform4f -/* 8032E6F0 0032B650 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8032E6F4 0032B654 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 8032E6F8 0032B658 7C 08 03 A6 */ mtlr r0 -/* 8032E6FC 0032B65C 38 21 00 40 */ addi r1, r1, 0x40 -/* 8032E700 0032B660 4E 80 00 20 */ blr - -.global Update__15CParticleSwooshFd -Update__15CParticleSwooshFd: -/* 8032E704 0032B664 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 8032E708 0032B668 7C 08 02 A6 */ mflr r0 -/* 8032E70C 0032B66C 90 01 00 74 */ stw r0, 0x74(r1) -/* 8032E710 0032B670 DB E1 00 60 */ stfd f31, 0x60(r1) -/* 8032E714 0032B674 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 -/* 8032E718 0032B678 DB C1 00 50 */ stfd f30, 0x50(r1) -/* 8032E71C 0032B67C F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 -/* 8032E720 0032B680 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 8032E724 0032B684 93 C1 00 48 */ stw r30, 0x48(r1) -/* 8032E728 0032B688 93 A1 00 44 */ stw r29, 0x44(r1) -/* 8032E72C 0032B68C 7C 7D 1B 78 */ mr r29, r3 -/* 8032E730 0032B690 FF C0 08 90 */ fmr f30, f1 -/* 8032E734 0032B694 48 00 04 81 */ bl IsLargeEnough__15CParticleSwooshCFv -/* 8032E738 0032B698 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8032E73C 0032B69C 40 82 00 0C */ bne lbl_8032E748 -/* 8032E740 0032B6A0 38 60 00 00 */ li r3, 0 -/* 8032E744 0032B6A4 48 00 04 44 */ b lbl_8032EB88 -lbl_8032E748: -/* 8032E748 0032B6A8 48 05 6C 61 */ bl OSGetTime -/* 8032E74C 0032B6AC 7C 7F 1B 78 */ mr r31, r3 -/* 8032E750 0032B6B0 80 7D 01 B4 */ lwz r3, 0x1b4(r29) -/* 8032E754 0032B6B4 7C 9E 23 78 */ mr r30, r4 -/* 8032E758 0032B6B8 4B FF C0 21 */ bl SetParticleLifetime__16CParticleGlobalsFi -/* 8032E75C 0032B6BC 80 7D 00 28 */ lwz r3, 0x28(r29) -/* 8032E760 0032B6C0 4B FF BF E9 */ bl SetEmitterTime__16CParticleGlobalsFi -/* 8032E764 0032B6C4 38 60 00 00 */ li r3, 0 -/* 8032E768 0032B6C8 4B FF BF 15 */ bl UpdateParticleLifetimeTweenValues__16CParticleGlobalsFi -/* 8032E76C 0032B6CC 38 61 00 24 */ addi r3, r1, 0x24 -/* 8032E770 0032B6D0 38 9D 01 C0 */ addi r4, r29, 0x1c0 -/* 8032E774 0032B6D4 4B FE 3F 0D */ bl __ct__13CGlobalRandomFR9CRandom16 -/* 8032E778 0032B6D8 80 7D 00 28 */ lwz r3, 0x28(r29) -/* 8032E77C 0032B6DC 3C 00 43 30 */ lis r0, 0x4330 -/* 8032E780 0032B6E0 C0 02 CA 90 */ lfs f0, lbl_805AE7B0@sda21(r2) -/* 8032E784 0032B6E4 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 8032E788 0032B6E8 90 01 00 30 */ stw r0, 0x30(r1) -/* 8032E78C 0032B6EC C8 42 CA F0 */ lfd f2, lbl_805AE810@sda21(r2) -/* 8032E790 0032B6F0 90 61 00 34 */ stw r3, 0x34(r1) -/* 8032E794 0032B6F4 C0 2D 9D 18 */ lfs f1, lbl_805A88D8@sda21(r13) -/* 8032E798 0032B6F8 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 8032E79C 0032B6FC C8 01 00 30 */ lfd f0, 0x30(r1) -/* 8032E7A0 0032B700 80 7D 00 24 */ lwz r3, 0x24(r29) -/* 8032E7A4 0032B704 EC 00 10 28 */ fsubs f0, f0, f2 -/* 8032E7A8 0032B708 80 63 00 04 */ lwz r3, 4(r3) -/* 8032E7AC 0032B70C 28 03 00 00 */ cmplwi r3, 0 -/* 8032E7B0 0032B710 EF E0 00 72 */ fmuls f31, f0, f1 -/* 8032E7B4 0032B714 41 82 00 1C */ beq lbl_8032E7D0 -/* 8032E7B8 0032B718 81 83 00 00 */ lwz r12, 0(r3) -/* 8032E7BC 0032B71C 38 A1 00 14 */ addi r5, r1, 0x14 -/* 8032E7C0 0032B720 80 9D 00 28 */ lwz r4, 0x28(r29) -/* 8032E7C4 0032B724 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8032E7C8 0032B728 7D 89 03 A6 */ mtctr r12 -/* 8032E7CC 0032B72C 4E 80 04 21 */ bctrl -lbl_8032E7D0: -/* 8032E7D0 0032B730 C0 21 00 14 */ lfs f1, 0x14(r1) -/* 8032E7D4 0032B734 C8 02 CB 10 */ lfd f0, lbl_805AE830@sda21(r2) -/* 8032E7D8 0032B738 FC 3E 00 72 */ fmul f1, f30, f1 -/* 8032E7DC 0032B73C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8032E7E0 0032B740 40 80 00 08 */ bge lbl_8032E7E8 -/* 8032E7E4 0032B744 FC 20 00 90 */ fmr f1, f0 -lbl_8032E7E8: -/* 8032E7E8 0032B748 C8 1D 00 30 */ lfd f0, 0x30(r29) -/* 8032E7EC 0032B74C FC 00 08 2A */ fadd f0, f0, f1 -/* 8032E7F0 0032B750 D8 1D 00 30 */ stfd f0, 0x30(r29) -/* 8032E7F4 0032B754 48 00 03 48 */ b lbl_8032EB3C -lbl_8032E7F8: -/* 8032E7F8 0032B758 88 1D 01 D0 */ lbz r0, 0x1d0(r29) -/* 8032E7FC 0032B75C 38 80 00 00 */ li r4, 0 -/* 8032E800 0032B760 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a -/* 8032E804 0032B764 98 1D 01 D0 */ stb r0, 0x1d0(r29) -/* 8032E808 0032B768 80 7D 01 58 */ lwz r3, 0x158(r29) -/* 8032E80C 0032B76C 38 63 00 01 */ addi r3, r3, 1 -/* 8032E810 0032B770 90 7D 01 58 */ stw r3, 0x158(r29) -/* 8032E814 0032B774 80 1D 01 64 */ lwz r0, 0x164(r29) -/* 8032E818 0032B778 7C 03 00 00 */ cmpw r3, r0 -/* 8032E81C 0032B77C 41 80 00 08 */ blt lbl_8032E824 -/* 8032E820 0032B780 90 9D 01 58 */ stw r4, 0x158(r29) -lbl_8032E824: -/* 8032E824 0032B784 88 1D 01 D0 */ lbz r0, 0x1d0(r29) -/* 8032E828 0032B788 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8032E82C 0032B78C 41 82 02 A0 */ beq lbl_8032EACC -/* 8032E830 0032B790 80 7D 00 28 */ lwz r3, 0x28(r29) -/* 8032E834 0032B794 80 1D 00 2C */ lwz r0, 0x2c(r29) -/* 8032E838 0032B798 7C 03 00 00 */ cmpw r3, r0 -/* 8032E83C 0032B79C 40 80 02 90 */ bge lbl_8032EACC -/* 8032E840 0032B7A0 7F A3 EB 78 */ mr r3, r29 -/* 8032E844 0032B7A4 38 9D 00 38 */ addi r4, r29, 0x38 -/* 8032E848 0032B7A8 4B FF C0 31 */ bl UpdateSwooshTranslation__15CParticleSwooshFRC9CVector3f -/* 8032E84C 0032B7AC 80 7D 00 24 */ lwz r3, 0x24(r29) -/* 8032E850 0032B7B0 80 63 00 1C */ lwz r3, 0x1c(r3) -/* 8032E854 0032B7B4 28 03 00 00 */ cmplwi r3, 0 -/* 8032E858 0032B7B8 41 82 00 30 */ beq lbl_8032E888 -/* 8032E85C 0032B7BC 80 1D 01 58 */ lwz r0, 0x158(r29) -/* 8032E860 0032B7C0 81 83 00 00 */ lwz r12, 0(r3) -/* 8032E864 0032B7C4 54 04 38 30 */ slwi r4, r0, 7 -/* 8032E868 0032B7C8 80 1D 01 68 */ lwz r0, 0x168(r29) -/* 8032E86C 0032B7CC 38 A4 00 30 */ addi r5, r4, 0x30 -/* 8032E870 0032B7D0 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8032E874 0032B7D4 7C A0 2A 14 */ add r5, r0, r5 -/* 8032E878 0032B7D8 80 9D 00 28 */ lwz r4, 0x28(r29) -/* 8032E87C 0032B7DC 7D 89 03 A6 */ mtctr r12 -/* 8032E880 0032B7E0 4E 80 04 21 */ bctrl -/* 8032E884 0032B7E4 48 00 00 1C */ b lbl_8032E8A0 -lbl_8032E888: -/* 8032E888 0032B7E8 80 1D 01 58 */ lwz r0, 0x158(r29) -/* 8032E88C 0032B7EC C0 02 CA 94 */ lfs f0, lbl_805AE7B4@sda21(r2) -/* 8032E890 0032B7F0 54 03 38 30 */ slwi r3, r0, 7 -/* 8032E894 0032B7F4 80 9D 01 68 */ lwz r4, 0x168(r29) -/* 8032E898 0032B7F8 38 03 00 30 */ addi r0, r3, 0x30 -/* 8032E89C 0032B7FC 7C 04 05 2E */ stfsx f0, r4, r0 -lbl_8032E8A0: -/* 8032E8A0 0032B800 80 1D 01 58 */ lwz r0, 0x158(r29) -/* 8032E8A4 0032B804 C0 02 CA 94 */ lfs f0, lbl_805AE7B4@sda21(r2) -/* 8032E8A8 0032B808 54 03 38 30 */ slwi r3, r0, 7 -/* 8032E8AC 0032B80C 80 9D 01 68 */ lwz r4, 0x168(r29) -/* 8032E8B0 0032B810 38 03 00 34 */ addi r0, r3, 0x34 -/* 8032E8B4 0032B814 7C 04 05 2E */ stfsx f0, r4, r0 -/* 8032E8B8 0032B818 80 1D 01 58 */ lwz r0, 0x158(r29) -/* 8032E8BC 0032B81C 80 BD 00 28 */ lwz r5, 0x28(r29) -/* 8032E8C0 0032B820 54 03 38 30 */ slwi r3, r0, 7 -/* 8032E8C4 0032B824 80 9D 01 68 */ lwz r4, 0x168(r29) -/* 8032E8C8 0032B828 38 03 00 70 */ addi r0, r3, 0x70 -/* 8032E8CC 0032B82C 7C A4 01 2E */ stwx r5, r4, r0 -/* 8032E8D0 0032B830 80 1D 01 58 */ lwz r0, 0x158(r29) -/* 8032E8D4 0032B834 80 7D 01 68 */ lwz r3, 0x168(r29) -/* 8032E8D8 0032B838 54 00 38 30 */ slwi r0, r0, 7 -/* 8032E8DC 0032B83C 7C 03 00 AE */ lbzx r0, r3, r0 -/* 8032E8E0 0032B840 28 00 00 00 */ cmplwi r0, 0 -/* 8032E8E4 0032B844 40 82 00 24 */ bne lbl_8032E908 -/* 8032E8E8 0032B848 80 7D 01 AC */ lwz r3, 0x1ac(r29) -/* 8032E8EC 0032B84C 38 80 00 01 */ li r4, 1 -/* 8032E8F0 0032B850 38 03 00 01 */ addi r0, r3, 1 -/* 8032E8F4 0032B854 90 1D 01 AC */ stw r0, 0x1ac(r29) -/* 8032E8F8 0032B858 80 1D 01 58 */ lwz r0, 0x158(r29) -/* 8032E8FC 0032B85C 80 7D 01 68 */ lwz r3, 0x168(r29) -/* 8032E900 0032B860 54 00 38 30 */ slwi r0, r0, 7 -/* 8032E904 0032B864 7C 83 01 AE */ stbx r4, r3, r0 -lbl_8032E908: -/* 8032E908 0032B868 80 1D 01 58 */ lwz r0, 0x158(r29) -/* 8032E90C 0032B86C 38 9D 00 44 */ addi r4, r29, 0x44 -/* 8032E910 0032B870 80 BD 01 68 */ lwz r5, 0x168(r29) -/* 8032E914 0032B874 54 03 38 30 */ slwi r3, r0, 7 -/* 8032E918 0032B878 38 63 00 38 */ addi r3, r3, 0x38 -/* 8032E91C 0032B87C 7C 65 1A 14 */ add r3, r5, r3 -/* 8032E920 0032B880 4B FE 42 21 */ bl __as__12CTransform4fFRC12CTransform4f -/* 8032E924 0032B884 80 7D 00 24 */ lwz r3, 0x24(r29) -/* 8032E928 0032B888 80 63 00 28 */ lwz r3, 0x28(r3) -/* 8032E92C 0032B88C 28 03 00 00 */ cmplwi r3, 0 -/* 8032E930 0032B890 41 82 00 78 */ beq lbl_8032E9A8 -/* 8032E934 0032B894 80 1D 01 58 */ lwz r0, 0x158(r29) -/* 8032E938 0032B898 81 83 00 00 */ lwz r12, 0(r3) -/* 8032E93C 0032B89C 54 04 38 30 */ slwi r4, r0, 7 -/* 8032E940 0032B8A0 80 1D 01 68 */ lwz r0, 0x168(r29) -/* 8032E944 0032B8A4 38 A4 00 74 */ addi r5, r4, 0x74 -/* 8032E948 0032B8A8 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8032E94C 0032B8AC 7C A0 2A 14 */ add r5, r0, r5 -/* 8032E950 0032B8B0 80 9D 00 28 */ lwz r4, 0x28(r29) -/* 8032E954 0032B8B4 7D 89 03 A6 */ mtctr r12 -/* 8032E958 0032B8B8 4E 80 04 21 */ bctrl -/* 8032E95C 0032B8BC 80 1D 01 58 */ lwz r0, 0x158(r29) -/* 8032E960 0032B8C0 38 61 00 18 */ addi r3, r1, 0x18 -/* 8032E964 0032B8C4 80 DD 01 68 */ lwz r6, 0x168(r29) -/* 8032E968 0032B8C8 38 9D 00 44 */ addi r4, r29, 0x44 -/* 8032E96C 0032B8CC 54 05 38 30 */ slwi r5, r0, 7 -/* 8032E970 0032B8D0 38 A5 00 74 */ addi r5, r5, 0x74 -/* 8032E974 0032B8D4 7C A6 2A 14 */ add r5, r6, r5 -/* 8032E978 0032B8D8 4B FE 41 71 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 8032E97C 0032B8DC 80 1D 01 58 */ lwz r0, 0x158(r29) -/* 8032E980 0032B8E0 80 9D 01 68 */ lwz r4, 0x168(r29) -/* 8032E984 0032B8E4 54 03 38 30 */ slwi r3, r0, 7 -/* 8032E988 0032B8E8 C0 01 00 18 */ lfs f0, 0x18(r1) -/* 8032E98C 0032B8EC 38 63 00 74 */ addi r3, r3, 0x74 -/* 8032E990 0032B8F0 7C 64 1A 14 */ add r3, r4, r3 -/* 8032E994 0032B8F4 D0 03 00 00 */ stfs f0, 0(r3) -/* 8032E998 0032B8F8 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 8032E99C 0032B8FC D0 03 00 04 */ stfs f0, 4(r3) -/* 8032E9A0 0032B900 C0 01 00 20 */ lfs f0, 0x20(r1) -/* 8032E9A4 0032B904 D0 03 00 08 */ stfs f0, 8(r3) -lbl_8032E9A8: -/* 8032E9A8 0032B908 80 7D 00 24 */ lwz r3, 0x24(r29) -/* 8032E9AC 0032B90C 80 63 00 24 */ lwz r3, 0x24(r3) -/* 8032E9B0 0032B910 28 03 00 00 */ cmplwi r3, 0 -/* 8032E9B4 0032B914 41 82 00 2C */ beq lbl_8032E9E0 -/* 8032E9B8 0032B918 80 1D 01 58 */ lwz r0, 0x158(r29) -/* 8032E9BC 0032B91C 81 83 00 00 */ lwz r12, 0(r3) -/* 8032E9C0 0032B920 54 04 38 30 */ slwi r4, r0, 7 -/* 8032E9C4 0032B924 80 1D 01 68 */ lwz r0, 0x168(r29) -/* 8032E9C8 0032B928 38 A4 00 18 */ addi r5, r4, 0x18 -/* 8032E9CC 0032B92C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8032E9D0 0032B930 7C A0 2A 14 */ add r5, r0, r5 -/* 8032E9D4 0032B934 80 9D 00 28 */ lwz r4, 0x28(r29) -/* 8032E9D8 0032B938 7D 89 03 A6 */ mtctr r12 -/* 8032E9DC 0032B93C 4E 80 04 21 */ bctrl -lbl_8032E9E0: -/* 8032E9E0 0032B940 80 1D 01 58 */ lwz r0, 0x158(r29) -/* 8032E9E4 0032B944 80 7D 01 68 */ lwz r3, 0x168(r29) -/* 8032E9E8 0032B948 54 00 38 30 */ slwi r0, r0, 7 -/* 8032E9EC 0032B94C 7C 63 02 14 */ add r3, r3, r0 -/* 8032E9F0 0032B950 C0 03 00 18 */ lfs f0, 0x18(r3) -/* 8032E9F4 0032B954 D0 03 00 24 */ stfs f0, 0x24(r3) -/* 8032E9F8 0032B958 C0 03 00 1C */ lfs f0, 0x1c(r3) -/* 8032E9FC 0032B95C D0 03 00 28 */ stfs f0, 0x28(r3) -/* 8032EA00 0032B960 C0 03 00 20 */ lfs f0, 0x20(r3) -/* 8032EA04 0032B964 D0 03 00 2C */ stfs f0, 0x2c(r3) -/* 8032EA08 0032B968 80 7D 00 24 */ lwz r3, 0x24(r29) -/* 8032EA0C 0032B96C 80 63 00 14 */ lwz r3, 0x14(r3) -/* 8032EA10 0032B970 28 03 00 00 */ cmplwi r3, 0 -/* 8032EA14 0032B974 41 82 00 30 */ beq lbl_8032EA44 -/* 8032EA18 0032B978 80 1D 01 58 */ lwz r0, 0x158(r29) -/* 8032EA1C 0032B97C 81 83 00 00 */ lwz r12, 0(r3) -/* 8032EA20 0032B980 54 04 38 30 */ slwi r4, r0, 7 -/* 8032EA24 0032B984 80 1D 01 68 */ lwz r0, 0x168(r29) -/* 8032EA28 0032B988 38 A4 00 6C */ addi r5, r4, 0x6c -/* 8032EA2C 0032B98C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8032EA30 0032B990 7C A0 2A 14 */ add r5, r0, r5 -/* 8032EA34 0032B994 80 9D 00 28 */ lwz r4, 0x28(r29) -/* 8032EA38 0032B998 7D 89 03 A6 */ mtctr r12 -/* 8032EA3C 0032B99C 4E 80 04 21 */ bctrl -/* 8032EA40 0032B9A0 48 00 00 34 */ b lbl_8032EA74 -lbl_8032EA44: -/* 8032EA44 0032B9A4 C0 22 CA 90 */ lfs f1, lbl_805AE7B0@sda21(r2) -/* 8032EA48 0032B9A8 38 61 00 0C */ addi r3, r1, 0xc -/* 8032EA4C 0032B9AC FC 40 08 90 */ fmr f2, f1 -/* 8032EA50 0032B9B0 FC 60 08 90 */ fmr f3, f1 -/* 8032EA54 0032B9B4 FC 80 08 90 */ fmr f4, f1 -/* 8032EA58 0032B9B8 48 03 49 95 */ bl __ct__6CColorFffff -/* 8032EA5C 0032B9BC 80 1D 01 58 */ lwz r0, 0x158(r29) -/* 8032EA60 0032B9C0 80 A1 00 0C */ lwz r5, 0xc(r1) -/* 8032EA64 0032B9C4 54 03 38 30 */ slwi r3, r0, 7 -/* 8032EA68 0032B9C8 80 9D 01 68 */ lwz r4, 0x168(r29) -/* 8032EA6C 0032B9CC 38 03 00 6C */ addi r0, r3, 0x6c -/* 8032EA70 0032B9D0 7C A4 01 2E */ stwx r5, r4, r0 -lbl_8032EA74: -/* 8032EA74 0032B9D4 38 00 00 00 */ li r0, 0 -/* 8032EA78 0032B9D8 90 01 00 10 */ stw r0, 0x10(r1) -/* 8032EA7C 0032B9DC 80 7D 00 24 */ lwz r3, 0x24(r29) -/* 8032EA80 0032B9E0 80 63 00 40 */ lwz r3, 0x40(r3) -/* 8032EA84 0032B9E4 28 03 00 00 */ cmplwi r3, 0 -/* 8032EA88 0032B9E8 41 82 00 1C */ beq lbl_8032EAA4 -/* 8032EA8C 0032B9EC 81 83 00 00 */ lwz r12, 0(r3) -/* 8032EA90 0032B9F0 38 A1 00 10 */ addi r5, r1, 0x10 -/* 8032EA94 0032B9F4 80 9D 00 28 */ lwz r4, 0x28(r29) -/* 8032EA98 0032B9F8 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8032EA9C 0032B9FC 7D 89 03 A6 */ mtctr r12 -/* 8032EAA0 0032BA00 4E 80 04 21 */ bctrl -lbl_8032EAA4: -/* 8032EAA4 0032BA04 80 61 00 10 */ lwz r3, 0x10(r1) -/* 8032EAA8 0032BA08 3C 00 43 30 */ lis r0, 0x4330 -/* 8032EAAC 0032BA0C 90 01 00 30 */ stw r0, 0x30(r1) -/* 8032EAB0 0032BA10 6C 60 80 00 */ xoris r0, r3, 0x8000 -/* 8032EAB4 0032BA14 C8 22 CA F0 */ lfd f1, lbl_805AE810@sda21(r2) -/* 8032EAB8 0032BA18 90 01 00 34 */ stw r0, 0x34(r1) -/* 8032EABC 0032BA1C C8 01 00 30 */ lfd f0, 0x30(r1) -/* 8032EAC0 0032BA20 EC 00 08 28 */ fsubs f0, f0, f1 -/* 8032EAC4 0032BA24 D0 1D 01 CC */ stfs f0, 0x1cc(r29) -/* 8032EAC8 0032BA28 48 00 00 58 */ b lbl_8032EB20 -lbl_8032EACC: -/* 8032EACC 0032BA2C 80 1D 01 58 */ lwz r0, 0x158(r29) -/* 8032EAD0 0032BA30 80 7D 01 68 */ lwz r3, 0x168(r29) -/* 8032EAD4 0032BA34 54 00 38 30 */ slwi r0, r0, 7 -/* 8032EAD8 0032BA38 7C 03 00 AE */ lbzx r0, r3, r0 -/* 8032EADC 0032BA3C 28 00 00 00 */ cmplwi r0, 0 -/* 8032EAE0 0032BA40 41 82 00 40 */ beq lbl_8032EB20 -/* 8032EAE4 0032BA44 80 9D 01 AC */ lwz r4, 0x1ac(r29) -/* 8032EAE8 0032BA48 38 6D 9D 1C */ addi r3, r13, lbl_805A88DC@sda21 -/* 8032EAEC 0032BA4C 80 0D 9D 1C */ lwz r0, lbl_805A88DC@sda21(r13) -/* 8032EAF0 0032BA50 38 84 FF FF */ addi r4, r4, -1 -/* 8032EAF4 0032BA54 7C 00 20 00 */ cmpw r0, r4 -/* 8032EAF8 0032BA58 90 81 00 08 */ stw r4, 8(r1) -/* 8032EAFC 0032BA5C 40 80 00 08 */ bge lbl_8032EB04 -/* 8032EB00 0032BA60 38 61 00 08 */ addi r3, r1, 8 -lbl_8032EB04: -/* 8032EB04 0032BA64 80 03 00 00 */ lwz r0, 0(r3) -/* 8032EB08 0032BA68 38 80 00 00 */ li r4, 0 -/* 8032EB0C 0032BA6C 90 1D 01 AC */ stw r0, 0x1ac(r29) -/* 8032EB10 0032BA70 80 1D 01 58 */ lwz r0, 0x158(r29) -/* 8032EB14 0032BA74 80 7D 01 68 */ lwz r3, 0x168(r29) -/* 8032EB18 0032BA78 54 00 38 30 */ slwi r0, r0, 7 -/* 8032EB1C 0032BA7C 7C 83 01 AE */ stbx r4, r3, r0 -lbl_8032EB20: -/* 8032EB20 0032BA80 7F A3 EB 78 */ mr r3, r29 -/* 8032EB24 0032BA84 4B FF F6 39 */ bl UpdateTranslationAndOrientation__15CParticleSwooshFv -/* 8032EB28 0032BA88 C0 0D 9D 18 */ lfs f0, lbl_805A88D8@sda21(r13) -/* 8032EB2C 0032BA8C 80 7D 00 28 */ lwz r3, 0x28(r29) -/* 8032EB30 0032BA90 FF FF 00 2A */ fadd f31, f31, f0 -/* 8032EB34 0032BA94 38 03 00 01 */ addi r0, r3, 1 -/* 8032EB38 0032BA98 90 1D 00 28 */ stw r0, 0x28(r29) -lbl_8032EB3C: -/* 8032EB3C 0032BA9C 88 1D 01 D0 */ lbz r0, 0x1d0(r29) -/* 8032EB40 0032BAA0 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 8032EB44 0032BAA4 40 82 FC B4 */ bne lbl_8032E7F8 -/* 8032EB48 0032BAA8 C8 1D 00 30 */ lfd f0, 0x30(r29) -/* 8032EB4C 0032BAAC FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 8032EB50 0032BAB0 41 80 FC A8 */ blt lbl_8032E7F8 -/* 8032EB54 0032BAB4 48 05 68 55 */ bl OSGetTime -/* 8032EB58 0032BAB8 7C 9E 20 10 */ subfc r4, r30, r4 -/* 8032EB5C 0032BABC 7C 7F 19 10 */ subfe r3, r31, r3 -/* 8032EB60 0032BAC0 48 05 B4 05 */ bl __cvt_sll_flt -/* 8032EB64 0032BAC4 3C 80 80 5A */ lis r4, mData__10CStopwatch@ha -/* 8032EB68 0032BAC8 38 61 00 24 */ addi r3, r1, 0x24 -/* 8032EB6C 0032BACC 38 A4 FD 30 */ addi r5, r4, mData__10CStopwatch@l -/* 8032EB70 0032BAD0 38 80 FF FF */ li r4, -1 -/* 8032EB74 0032BAD4 C0 05 00 10 */ lfs f0, 0x10(r5) -/* 8032EB78 0032BAD8 EC 01 00 32 */ fmuls f0, f1, f0 -/* 8032EB7C 0032BADC D0 1D 01 C4 */ stfs f0, 0x1c4(r29) -/* 8032EB80 0032BAE0 4B FE 3A 85 */ bl __dt__13CGlobalRandomFv -/* 8032EB84 0032BAE4 38 60 00 00 */ li r3, 0 -lbl_8032EB88: -/* 8032EB88 0032BAE8 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 -/* 8032EB8C 0032BAEC CB E1 00 60 */ lfd f31, 0x60(r1) -/* 8032EB90 0032BAF0 E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 -/* 8032EB94 0032BAF4 CB C1 00 50 */ lfd f30, 0x50(r1) -/* 8032EB98 0032BAF8 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 8032EB9C 0032BAFC 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 8032EBA0 0032BB00 80 01 00 74 */ lwz r0, 0x74(r1) -/* 8032EBA4 0032BB04 83 A1 00 44 */ lwz r29, 0x44(r1) -/* 8032EBA8 0032BB08 7C 08 03 A6 */ mtlr r0 -/* 8032EBAC 0032BB0C 38 21 00 70 */ addi r1, r1, 0x70 -/* 8032EBB0 0032BB10 4E 80 00 20 */ blr - -.global IsLargeEnough__15CParticleSwooshCFv -IsLargeEnough__15CParticleSwooshCFv: -/* 8032EBB4 0032BB14 80 03 01 B4 */ lwz r0, 0x1b4(r3) -/* 8032EBB8 0032BB18 38 80 00 00 */ li r4, 0 -/* 8032EBBC 0032BB1C 2C 00 00 02 */ cmpwi r0, 2 -/* 8032EBC0 0032BB20 41 80 00 14 */ blt lbl_8032EBD4 -/* 8032EBC4 0032BB24 80 03 01 B8 */ lwz r0, 0x1b8(r3) -/* 8032EBC8 0032BB28 2C 00 00 02 */ cmpwi r0, 2 -/* 8032EBCC 0032BB2C 41 80 00 08 */ blt lbl_8032EBD4 -/* 8032EBD0 0032BB30 38 80 00 01 */ li r4, 1 -lbl_8032EBD4: -/* 8032EBD4 0032BB34 7C 83 23 78 */ mr r3, r4 -/* 8032EBD8 0032BB38 4E 80 00 20 */ blr - -.global __dt__15CParticleSwooshFv -__dt__15CParticleSwooshFv: -/* 8032EBDC 0032BB3C 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 8032EBE0 0032BB40 7C 08 02 A6 */ mflr r0 -/* 8032EBE4 0032BB44 90 01 00 64 */ stw r0, 0x64(r1) -/* 8032EBE8 0032BB48 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 8032EBEC 0032BB4C 7C 9F 23 78 */ mr r31, r4 -/* 8032EBF0 0032BB50 93 C1 00 58 */ stw r30, 0x58(r1) -/* 8032EBF4 0032BB54 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8032EBF8 0032BB58 41 82 01 D0 */ beq lbl_8032EDC8 -/* 8032EBFC 0032BB5C 3C 60 80 3F */ lis r3, lbl_803EDD80@ha -/* 8032EC00 0032BB60 34 1E 01 9C */ addic. r0, r30, 0x19c -/* 8032EC04 0032BB64 38 03 DD 80 */ addi r0, r3, lbl_803EDD80@l -/* 8032EC08 0032BB68 90 1E 00 00 */ stw r0, 0(r30) -/* 8032EC0C 0032BB6C 80 6D A8 F8 */ lwz r3, lbl_805A94B8@sda21(r13) -/* 8032EC10 0032BB70 38 03 FF FF */ addi r0, r3, -1 -/* 8032EC14 0032BB74 90 0D A8 F8 */ stw r0, lbl_805A94B8@sda21(r13) -/* 8032EC18 0032BB78 41 82 00 44 */ beq lbl_8032EC5C -/* 8032EC1C 0032BB7C 80 1E 01 A0 */ lwz r0, 0x1a0(r30) -/* 8032EC20 0032BB80 80 7E 01 A8 */ lwz r3, 0x1a8(r30) -/* 8032EC24 0032BB84 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8032EC28 0032BB88 90 61 00 4C */ stw r3, 0x4c(r1) -/* 8032EC2C 0032BB8C 7C 64 1B 78 */ mr r4, r3 -/* 8032EC30 0032BB90 7C 03 02 14 */ add r0, r3, r0 -/* 8032EC34 0032BB94 90 61 00 48 */ stw r3, 0x48(r1) -/* 8032EC38 0032BB98 90 01 00 54 */ stw r0, 0x54(r1) -/* 8032EC3C 0032BB9C 90 01 00 50 */ stw r0, 0x50(r1) -/* 8032EC40 0032BBA0 48 00 00 08 */ b lbl_8032EC48 -lbl_8032EC44: -/* 8032EC44 0032BBA4 38 84 00 0C */ addi r4, r4, 0xc -lbl_8032EC48: -/* 8032EC48 0032BBA8 7C 04 00 40 */ cmplw r4, r0 -/* 8032EC4C 0032BBAC 40 82 FF F8 */ bne lbl_8032EC44 -/* 8032EC50 0032BBB0 28 03 00 00 */ cmplwi r3, 0 -/* 8032EC54 0032BBB4 41 82 00 08 */ beq lbl_8032EC5C -/* 8032EC58 0032BBB8 4B FE 6C D9 */ bl Free__7CMemoryFPCv -lbl_8032EC5C: -/* 8032EC5C 0032BBBC 34 1E 01 8C */ addic. r0, r30, 0x18c -/* 8032EC60 0032BBC0 41 82 00 44 */ beq lbl_8032ECA4 -/* 8032EC64 0032BBC4 80 1E 01 90 */ lwz r0, 0x190(r30) -/* 8032EC68 0032BBC8 80 7E 01 98 */ lwz r3, 0x198(r30) -/* 8032EC6C 0032BBCC 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8032EC70 0032BBD0 90 61 00 3C */ stw r3, 0x3c(r1) -/* 8032EC74 0032BBD4 7C 64 1B 78 */ mr r4, r3 -/* 8032EC78 0032BBD8 7C 03 02 14 */ add r0, r3, r0 -/* 8032EC7C 0032BBDC 90 61 00 38 */ stw r3, 0x38(r1) -/* 8032EC80 0032BBE0 90 01 00 44 */ stw r0, 0x44(r1) -/* 8032EC84 0032BBE4 90 01 00 40 */ stw r0, 0x40(r1) -/* 8032EC88 0032BBE8 48 00 00 08 */ b lbl_8032EC90 -lbl_8032EC8C: -/* 8032EC8C 0032BBEC 38 84 00 0C */ addi r4, r4, 0xc -lbl_8032EC90: -/* 8032EC90 0032BBF0 7C 04 00 40 */ cmplw r4, r0 -/* 8032EC94 0032BBF4 40 82 FF F8 */ bne lbl_8032EC8C -/* 8032EC98 0032BBF8 28 03 00 00 */ cmplwi r3, 0 -/* 8032EC9C 0032BBFC 41 82 00 08 */ beq lbl_8032ECA4 -/* 8032ECA0 0032BC00 4B FE 6C 91 */ bl Free__7CMemoryFPCv -lbl_8032ECA4: -/* 8032ECA4 0032BC04 34 1E 01 7C */ addic. r0, r30, 0x17c -/* 8032ECA8 0032BC08 41 82 00 44 */ beq lbl_8032ECEC -/* 8032ECAC 0032BC0C 80 1E 01 80 */ lwz r0, 0x180(r30) -/* 8032ECB0 0032BC10 80 7E 01 88 */ lwz r3, 0x188(r30) -/* 8032ECB4 0032BC14 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8032ECB8 0032BC18 90 61 00 2C */ stw r3, 0x2c(r1) -/* 8032ECBC 0032BC1C 7C 64 1B 78 */ mr r4, r3 -/* 8032ECC0 0032BC20 7C 03 02 14 */ add r0, r3, r0 -/* 8032ECC4 0032BC24 90 61 00 28 */ stw r3, 0x28(r1) -/* 8032ECC8 0032BC28 90 01 00 34 */ stw r0, 0x34(r1) -/* 8032ECCC 0032BC2C 90 01 00 30 */ stw r0, 0x30(r1) -/* 8032ECD0 0032BC30 48 00 00 08 */ b lbl_8032ECD8 -lbl_8032ECD4: -/* 8032ECD4 0032BC34 38 84 00 0C */ addi r4, r4, 0xc -lbl_8032ECD8: -/* 8032ECD8 0032BC38 7C 04 00 40 */ cmplw r4, r0 -/* 8032ECDC 0032BC3C 40 82 FF F8 */ bne lbl_8032ECD4 -/* 8032ECE0 0032BC40 28 03 00 00 */ cmplwi r3, 0 -/* 8032ECE4 0032BC44 41 82 00 08 */ beq lbl_8032ECEC -/* 8032ECE8 0032BC48 4B FE 6C 49 */ bl Free__7CMemoryFPCv -lbl_8032ECEC: -/* 8032ECEC 0032BC4C 34 1E 01 6C */ addic. r0, r30, 0x16c -/* 8032ECF0 0032BC50 41 82 00 44 */ beq lbl_8032ED34 -/* 8032ECF4 0032BC54 80 1E 01 70 */ lwz r0, 0x170(r30) -/* 8032ECF8 0032BC58 80 7E 01 78 */ lwz r3, 0x178(r30) -/* 8032ECFC 0032BC5C 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8032ED00 0032BC60 90 61 00 1C */ stw r3, 0x1c(r1) -/* 8032ED04 0032BC64 7C 64 1B 78 */ mr r4, r3 -/* 8032ED08 0032BC68 7C 03 02 14 */ add r0, r3, r0 -/* 8032ED0C 0032BC6C 90 61 00 18 */ stw r3, 0x18(r1) -/* 8032ED10 0032BC70 90 01 00 24 */ stw r0, 0x24(r1) -/* 8032ED14 0032BC74 90 01 00 20 */ stw r0, 0x20(r1) -/* 8032ED18 0032BC78 48 00 00 08 */ b lbl_8032ED20 -lbl_8032ED1C: -/* 8032ED1C 0032BC7C 38 84 00 0C */ addi r4, r4, 0xc -lbl_8032ED20: -/* 8032ED20 0032BC80 7C 04 00 40 */ cmplw r4, r0 -/* 8032ED24 0032BC84 40 82 FF F8 */ bne lbl_8032ED1C -/* 8032ED28 0032BC88 28 03 00 00 */ cmplwi r3, 0 -/* 8032ED2C 0032BC8C 41 82 00 08 */ beq lbl_8032ED34 -/* 8032ED30 0032BC90 4B FE 6C 01 */ bl Free__7CMemoryFPCv -lbl_8032ED34: -/* 8032ED34 0032BC94 34 1E 01 5C */ addic. r0, r30, 0x15c -/* 8032ED38 0032BC98 41 82 00 44 */ beq lbl_8032ED7C -/* 8032ED3C 0032BC9C 80 1E 01 60 */ lwz r0, 0x160(r30) -/* 8032ED40 0032BCA0 80 7E 01 68 */ lwz r3, 0x168(r30) -/* 8032ED44 0032BCA4 54 00 38 30 */ slwi r0, r0, 7 -/* 8032ED48 0032BCA8 7C 03 02 14 */ add r0, r3, r0 -/* 8032ED4C 0032BCAC 90 61 00 0C */ stw r3, 0xc(r1) -/* 8032ED50 0032BCB0 7C 64 1B 78 */ mr r4, r3 -/* 8032ED54 0032BCB4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8032ED58 0032BCB8 90 01 00 10 */ stw r0, 0x10(r1) -/* 8032ED5C 0032BCBC 90 61 00 08 */ stw r3, 8(r1) -/* 8032ED60 0032BCC0 48 00 00 08 */ b lbl_8032ED68 -lbl_8032ED64: -/* 8032ED64 0032BCC4 38 84 00 80 */ addi r4, r4, 0x80 -lbl_8032ED68: -/* 8032ED68 0032BCC8 7C 04 00 40 */ cmplw r4, r0 -/* 8032ED6C 0032BCCC 40 82 FF F8 */ bne lbl_8032ED64 -/* 8032ED70 0032BCD0 28 03 00 00 */ cmplwi r3, 0 -/* 8032ED74 0032BCD4 41 82 00 08 */ beq lbl_8032ED7C -/* 8032ED78 0032BCD8 4B FE 6B B9 */ bl Free__7CMemoryFPCv -lbl_8032ED7C: -/* 8032ED7C 0032BCDC 34 1E 00 1C */ addic. r0, r30, 0x1c -/* 8032ED80 0032BCE0 41 82 00 18 */ beq lbl_8032ED98 -/* 8032ED84 0032BCE4 34 1E 00 1C */ addic. r0, r30, 0x1c -/* 8032ED88 0032BCE8 41 82 00 10 */ beq lbl_8032ED98 -/* 8032ED8C 0032BCEC 38 7E 00 1C */ addi r3, r30, 0x1c -/* 8032ED90 0032BCF0 38 80 00 00 */ li r4, 0 -/* 8032ED94 0032BCF4 48 01 20 AD */ bl __dt__6CTokenFv -lbl_8032ED98: -/* 8032ED98 0032BCF8 28 1E 00 00 */ cmplwi r30, 0 -/* 8032ED9C 0032BCFC 41 82 00 1C */ beq lbl_8032EDB8 -/* 8032EDA0 0032BD00 3C 80 80 3F */ lis r4, lbl_803EDD08@ha -/* 8032EDA4 0032BD04 38 7E 00 04 */ addi r3, r30, 4 -/* 8032EDA8 0032BD08 38 04 DD 08 */ addi r0, r4, lbl_803EDD08@l -/* 8032EDAC 0032BD0C 38 80 FF FF */ li r4, -1 -/* 8032EDB0 0032BD10 90 1E 00 00 */ stw r0, 0(r30) -/* 8032EDB4 0032BD14 4B D2 BF 1D */ bl __dt__12CParticleGenFv -lbl_8032EDB8: -/* 8032EDB8 0032BD18 7F E0 07 35 */ extsh. r0, r31 -/* 8032EDBC 0032BD1C 40 81 00 0C */ ble lbl_8032EDC8 -/* 8032EDC0 0032BD20 7F C3 F3 78 */ mr r3, r30 -/* 8032EDC4 0032BD24 4B FE 6B 6D */ bl Free__7CMemoryFPCv -lbl_8032EDC8: -/* 8032EDC8 0032BD28 80 01 00 64 */ lwz r0, 0x64(r1) -/* 8032EDCC 0032BD2C 7F C3 F3 78 */ mr r3, r30 -/* 8032EDD0 0032BD30 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 8032EDD4 0032BD34 83 C1 00 58 */ lwz r30, 0x58(r1) -/* 8032EDD8 0032BD38 7C 08 03 A6 */ mtlr r0 -/* 8032EDDC 0032BD3C 38 21 00 60 */ addi r1, r1, 0x60 -/* 8032EDE0 0032BD40 4E 80 00 20 */ blr - -.global "__ct__15CParticleSwooshF28TToken<18CSwooshDescription>i" -"__ct__15CParticleSwooshF28TToken<18CSwooshDescription>i": -/* 8032EDE4 0032BD44 94 21 FF 00 */ stwu r1, -0x100(r1) -/* 8032EDE8 0032BD48 7C 08 02 A6 */ mflr r0 -/* 8032EDEC 0032BD4C 3C C0 80 3F */ lis r6, lbl_803EDD08@ha -/* 8032EDF0 0032BD50 90 01 01 04 */ stw r0, 0x104(r1) -/* 8032EDF4 0032BD54 38 06 DD 08 */ addi r0, r6, lbl_803EDD08@l -/* 8032EDF8 0032BD58 38 C0 00 00 */ li r6, 0 -/* 8032EDFC 0032BD5C BF 61 00 EC */ stmw r27, 0xec(r1) -/* 8032EE00 0032BD60 7C 7F 1B 78 */ mr r31, r3 -/* 8032EE04 0032BD64 38 FF 00 10 */ addi r7, r31, 0x10 -/* 8032EE08 0032BD68 3C 60 80 3F */ lis r3, lbl_803EDD80@ha -/* 8032EE0C 0032BD6C 3B 7F 00 1C */ addi r27, r31, 0x1c -/* 8032EE10 0032BD70 7C BE 2B 78 */ mr r30, r5 -/* 8032EE14 0032BD74 90 1F 00 00 */ stw r0, 0(r31) -/* 8032EE18 0032BD78 38 03 DD 80 */ addi r0, r3, lbl_803EDD80@l -/* 8032EE1C 0032BD7C 7F 63 DB 78 */ mr r3, r27 -/* 8032EE20 0032BD80 90 FF 00 08 */ stw r7, 8(r31) -/* 8032EE24 0032BD84 90 FF 00 0C */ stw r7, 0xc(r31) -/* 8032EE28 0032BD88 90 FF 00 10 */ stw r7, 0x10(r31) -/* 8032EE2C 0032BD8C 90 FF 00 14 */ stw r7, 0x14(r31) -/* 8032EE30 0032BD90 90 DF 00 18 */ stw r6, 0x18(r31) -/* 8032EE34 0032BD94 90 1F 00 00 */ stw r0, 0(r31) -/* 8032EE38 0032BD98 48 01 20 71 */ bl __ct__6CTokenFRC6CToken -/* 8032EE3C 0032BD9C 7F 63 DB 78 */ mr r3, r27 -/* 8032EE40 0032BDA0 48 01 1F CD */ bl GetObj__6CTokenFv -/* 8032EE44 0032BDA4 80 A3 00 04 */ lwz r5, 4(r3) -/* 8032EE48 0032BDA8 3C 60 80 5A */ lis r3, skIdentity4f@ha -/* 8032EE4C 0032BDAC 38 83 66 70 */ addi r4, r3, skIdentity4f@l -/* 8032EE50 0032BDB0 38 00 00 00 */ li r0, 0 -/* 8032EE54 0032BDB4 90 BB 00 08 */ stw r5, 8(r27) -/* 8032EE58 0032BDB8 38 7F 00 44 */ addi r3, r31, 0x44 -/* 8032EE5C 0032BDBC C8 22 CB 10 */ lfd f1, lbl_805AE830@sda21(r2) -/* 8032EE60 0032BDC0 90 1F 00 28 */ stw r0, 0x28(r31) -/* 8032EE64 0032BDC4 C0 02 CA 94 */ lfs f0, lbl_805AE7B4@sda21(r2) -/* 8032EE68 0032BDC8 90 1F 00 2C */ stw r0, 0x2c(r31) -/* 8032EE6C 0032BDCC D8 3F 00 30 */ stfd f1, 0x30(r31) -/* 8032EE70 0032BDD0 D0 1F 00 38 */ stfs f0, 0x38(r31) -/* 8032EE74 0032BDD4 D0 1F 00 3C */ stfs f0, 0x3c(r31) -/* 8032EE78 0032BDD8 D0 1F 00 40 */ stfs f0, 0x40(r31) -/* 8032EE7C 0032BDDC 4B FE 3C F9 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8032EE80 0032BDE0 3C 80 80 5A */ lis r4, skIdentity4f@ha -/* 8032EE84 0032BDE4 38 7F 00 74 */ addi r3, r31, 0x74 -/* 8032EE88 0032BDE8 38 84 66 70 */ addi r4, r4, skIdentity4f@l -/* 8032EE8C 0032BDEC 4B FE 3C E9 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8032EE90 0032BDF0 C0 02 CA 94 */ lfs f0, lbl_805AE7B4@sda21(r2) -/* 8032EE94 0032BDF4 3C 60 80 5A */ lis r3, skIdentity4f@ha -/* 8032EE98 0032BDF8 38 83 66 70 */ addi r4, r3, skIdentity4f@l -/* 8032EE9C 0032BDFC D0 1F 00 A4 */ stfs f0, 0xa4(r31) -/* 8032EEA0 0032BE00 38 7F 00 B0 */ addi r3, r31, 0xb0 -/* 8032EEA4 0032BE04 D0 1F 00 A8 */ stfs f0, 0xa8(r31) -/* 8032EEA8 0032BE08 D0 1F 00 AC */ stfs f0, 0xac(r31) -/* 8032EEAC 0032BE0C 4B FE 3C C9 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8032EEB0 0032BE10 C0 02 CA 90 */ lfs f0, lbl_805AE7B0@sda21(r2) -/* 8032EEB4 0032BE14 3C 60 80 5A */ lis r3, skIdentity4f@ha -/* 8032EEB8 0032BE18 38 83 66 70 */ addi r4, r3, skIdentity4f@l -/* 8032EEBC 0032BE1C D0 1F 00 E0 */ stfs f0, 0xe0(r31) -/* 8032EEC0 0032BE20 38 7F 00 EC */ addi r3, r31, 0xec -/* 8032EEC4 0032BE24 D0 1F 00 E4 */ stfs f0, 0xe4(r31) -/* 8032EEC8 0032BE28 D0 1F 00 E8 */ stfs f0, 0xe8(r31) -/* 8032EECC 0032BE2C 4B FE 3C A9 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8032EED0 0032BE30 3C 80 80 5A */ lis r4, skIdentity4f@ha -/* 8032EED4 0032BE34 38 7F 01 1C */ addi r3, r31, 0x11c -/* 8032EED8 0032BE38 38 84 66 70 */ addi r4, r4, skIdentity4f@l -/* 8032EEDC 0032BE3C 4B FE 3C 99 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8032EEE0 0032BE40 C0 02 CA 90 */ lfs f0, lbl_805AE7B0@sda21(r2) -/* 8032EEE4 0032BE44 38 00 00 00 */ li r0, 0 -/* 8032EEE8 0032BE48 D0 1F 01 4C */ stfs f0, 0x14c(r31) -/* 8032EEEC 0032BE4C D0 1F 01 50 */ stfs f0, 0x150(r31) -/* 8032EEF0 0032BE50 D0 1F 01 54 */ stfs f0, 0x154(r31) -/* 8032EEF4 0032BE54 90 1F 01 58 */ stw r0, 0x158(r31) -/* 8032EEF8 0032BE58 90 1F 01 60 */ stw r0, 0x160(r31) -/* 8032EEFC 0032BE5C 90 1F 01 64 */ stw r0, 0x164(r31) -/* 8032EF00 0032BE60 90 1F 01 68 */ stw r0, 0x168(r31) -/* 8032EF04 0032BE64 90 1F 01 70 */ stw r0, 0x170(r31) -/* 8032EF08 0032BE68 90 1F 01 74 */ stw r0, 0x174(r31) -/* 8032EF0C 0032BE6C 90 1F 01 78 */ stw r0, 0x178(r31) -/* 8032EF10 0032BE70 90 1F 01 80 */ stw r0, 0x180(r31) -/* 8032EF14 0032BE74 90 1F 01 84 */ stw r0, 0x184(r31) -/* 8032EF18 0032BE78 90 1F 01 88 */ stw r0, 0x188(r31) -/* 8032EF1C 0032BE7C 90 1F 01 90 */ stw r0, 0x190(r31) -/* 8032EF20 0032BE80 90 1F 01 94 */ stw r0, 0x194(r31) -/* 8032EF24 0032BE84 90 1F 01 98 */ stw r0, 0x198(r31) -/* 8032EF28 0032BE88 90 1F 01 A0 */ stw r0, 0x1a0(r31) -/* 8032EF2C 0032BE8C 90 1F 01 A4 */ stw r0, 0x1a4(r31) -/* 8032EF30 0032BE90 90 1F 01 A8 */ stw r0, 0x1a8(r31) -/* 8032EF34 0032BE94 90 1F 01 AC */ stw r0, 0x1ac(r31) -/* 8032EF38 0032BE98 90 1F 01 B0 */ stw r0, 0x1b0(r31) -/* 8032EF3C 0032BE9C 80 7F 00 24 */ lwz r3, 0x24(r31) -/* 8032EF40 0032BEA0 88 03 00 45 */ lbz r0, 0x45(r3) -/* 8032EF44 0032BEA4 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 8032EF48 0032BEA8 41 82 00 54 */ beq lbl_8032EF9C -/* 8032EF4C 0032BEAC 48 05 64 5D */ bl OSGetTime -/* 8032EF50 0032BEB0 80 ED A6 7C */ lwz r7, lbl_805A923C@sda21(r13) -/* 8032EF54 0032BEB4 3C A0 80 5A */ lis r5, mData__10CStopwatch@ha -/* 8032EF58 0032BEB8 38 C5 FD 30 */ addi r6, r5, mData__10CStopwatch@l -/* 8032EF5C 0032BEBC 80 0D A6 78 */ lwz r0, lbl_805A9238@sda21(r13) -/* 8032EF60 0032BEC0 7C 87 20 10 */ subfc r4, r7, r4 -/* 8032EF64 0032BEC4 80 A6 00 08 */ lwz r5, 8(r6) -/* 8032EF68 0032BEC8 80 C6 00 0C */ lwz r6, 0xc(r6) -/* 8032EF6C 0032BECC 7C 60 19 10 */ subfe r3, r0, r3 -/* 8032EF70 0032BED0 48 05 AC 5D */ bl __div2i -/* 8032EF74 0032BED4 7C 60 1B 78 */ mr r0, r3 -/* 8032EF78 0032BED8 54 86 A0 3E */ rotlwi r6, r4, 0x14 -/* 8032EF7C 0032BEDC 50 80 05 3E */ rlwimi r0, r4, 0, 0x14, 0x1f -/* 8032EF80 0032BEE0 50 66 A0 16 */ rlwimi r6, r3, 0x14, 0, 0xb -/* 8032EF84 0032BEE4 7C 00 66 70 */ srawi r0, r0, 0xc -/* 8032EF88 0032BEE8 7C C6 01 94 */ addze r6, r6 -/* 8032EF8C 0032BEEC 7C 00 01 94 */ addze r0, r0 -/* 8032EF90 0032BEF0 54 C5 60 26 */ slwi r5, r6, 0xc -/* 8032EF94 0032BEF4 7C C5 20 10 */ subfc r6, r5, r4 -/* 8032EF98 0032BEF8 48 00 00 08 */ b lbl_8032EFA0 -lbl_8032EF9C: -/* 8032EF9C 0032BEFC 38 C0 00 63 */ li r6, 0x63 -lbl_8032EFA0: -/* 8032EFA0 0032BF00 38 7F 01 C0 */ addi r3, r31, 0x1c0 -/* 8032EFA4 0032BF04 7C C4 07 34 */ extsh r4, r6 -/* 8032EFA8 0032BF08 4B FE 36 45 */ bl __ct__9CRandom16FUi -/* 8032EFAC 0032BF0C C0 22 CA 94 */ lfs f1, lbl_805AE7B4@sda21(r2) -/* 8032EFB0 0032BF10 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8032EFB4 0032BF14 39 00 00 01 */ li r8, 1 -/* 8032EFB8 0032BF18 38 E0 00 00 */ li r7, 0 -/* 8032EFBC 0032BF1C D0 3F 01 C4 */ stfs f1, 0x1c4(r31) -/* 8032EFC0 0032BF20 38 A3 66 A0 */ addi r5, r3, skZero3f@l -/* 8032EFC4 0032BF24 C0 02 CA 90 */ lfs f0, lbl_805AE7B0@sda21(r2) -/* 8032EFC8 0032BF28 38 00 FF FF */ li r0, -1 -/* 8032EFCC 0032BF2C D0 3F 01 C8 */ stfs f1, 0x1c8(r31) -/* 8032EFD0 0032BF30 38 61 00 5C */ addi r3, r1, 0x5c -/* 8032EFD4 0032BF34 38 9F 01 C0 */ addi r4, r31, 0x1c0 -/* 8032EFD8 0032BF38 88 DF 01 D0 */ lbz r6, 0x1d0(r31) -/* 8032EFDC 0032BF3C 51 06 3E 30 */ rlwimi r6, r8, 7, 0x18, 0x18 -/* 8032EFE0 0032BF40 98 DF 01 D0 */ stb r6, 0x1d0(r31) -/* 8032EFE4 0032BF44 88 DF 01 D0 */ lbz r6, 0x1d0(r31) -/* 8032EFE8 0032BF48 50 E6 2E B4 */ rlwimi r6, r7, 5, 0x1a, 0x1a -/* 8032EFEC 0032BF4C 98 DF 01 D0 */ stb r6, 0x1d0(r31) -/* 8032EFF0 0032BF50 88 DF 01 D0 */ lbz r6, 0x1d0(r31) -/* 8032EFF4 0032BF54 50 E6 26 F6 */ rlwimi r6, r7, 4, 0x1b, 0x1b -/* 8032EFF8 0032BF58 98 DF 01 D0 */ stb r6, 0x1d0(r31) -/* 8032EFFC 0032BF5C 88 DF 01 D0 */ lbz r6, 0x1d0(r31) -/* 8032F000 0032BF60 50 E6 07 FE */ rlwimi r6, r7, 0, 0x1f, 0x1f -/* 8032F004 0032BF64 98 DF 01 D0 */ stb r6, 0x1d0(r31) -/* 8032F008 0032BF68 88 DF 01 D1 */ lbz r6, 0x1d1(r31) -/* 8032F00C 0032BF6C 50 E6 3E 30 */ rlwimi r6, r7, 7, 0x18, 0x18 -/* 8032F010 0032BF70 98 DF 01 D1 */ stb r6, 0x1d1(r31) -/* 8032F014 0032BF74 D0 3F 01 D4 */ stfs f1, 0x1d4(r31) -/* 8032F018 0032BF78 D0 3F 01 D8 */ stfs f1, 0x1d8(r31) -/* 8032F01C 0032BF7C D0 3F 01 DC */ stfs f1, 0x1dc(r31) -/* 8032F020 0032BF80 D0 3F 01 E0 */ stfs f1, 0x1e0(r31) -/* 8032F024 0032BF84 90 FF 01 E4 */ stw r7, 0x1e4(r31) -/* 8032F028 0032BF88 D0 1F 01 E8 */ stfs f0, 0x1e8(r31) -/* 8032F02C 0032BF8C 90 FF 01 EC */ stw r7, 0x1ec(r31) -/* 8032F030 0032BF90 C0 05 00 00 */ lfs f0, 0(r5) -/* 8032F034 0032BF94 D0 1F 01 F0 */ stfs f0, 0x1f0(r31) -/* 8032F038 0032BF98 C0 05 00 04 */ lfs f0, 4(r5) -/* 8032F03C 0032BF9C D0 1F 01 F4 */ stfs f0, 0x1f4(r31) -/* 8032F040 0032BFA0 C0 05 00 08 */ lfs f0, 8(r5) -/* 8032F044 0032BFA4 D0 1F 01 F8 */ stfs f0, 0x1f8(r31) -/* 8032F048 0032BFA8 C0 05 00 00 */ lfs f0, 0(r5) -/* 8032F04C 0032BFAC D0 1F 01 FC */ stfs f0, 0x1fc(r31) -/* 8032F050 0032BFB0 C0 05 00 04 */ lfs f0, 4(r5) -/* 8032F054 0032BFB4 D0 1F 02 00 */ stfs f0, 0x200(r31) -/* 8032F058 0032BFB8 C0 05 00 08 */ lfs f0, 8(r5) -/* 8032F05C 0032BFBC D0 1F 02 04 */ stfs f0, 0x204(r31) -/* 8032F060 0032BFC0 D0 3F 02 08 */ stfs f1, 0x208(r31) -/* 8032F064 0032BFC4 90 1F 02 0C */ stw r0, 0x20c(r31) -/* 8032F068 0032BFC8 4B FE 36 19 */ bl __ct__13CGlobalRandomFR9CRandom16 -/* 8032F06C 0032BFCC 80 6D A8 F8 */ lwz r3, lbl_805A94B8@sda21(r13) -/* 8032F070 0032BFD0 2C 1E 00 00 */ cmpwi r30, 0 -/* 8032F074 0032BFD4 38 03 00 01 */ addi r0, r3, 1 -/* 8032F078 0032BFD8 90 0D A8 F8 */ stw r0, lbl_805A94B8@sda21(r13) -/* 8032F07C 0032BFDC 40 81 00 0C */ ble lbl_8032F088 -/* 8032F080 0032BFE0 93 DF 01 B4 */ stw r30, 0x1b4(r31) -/* 8032F084 0032BFE4 48 00 00 2C */ b lbl_8032F0B0 -lbl_8032F088: -/* 8032F088 0032BFE8 80 7F 00 24 */ lwz r3, 0x24(r31) -/* 8032F08C 0032BFEC 80 63 00 10 */ lwz r3, 0x10(r3) -/* 8032F090 0032BFF0 28 03 00 00 */ cmplwi r3, 0 -/* 8032F094 0032BFF4 41 82 00 1C */ beq lbl_8032F0B0 -/* 8032F098 0032BFF8 81 83 00 00 */ lwz r12, 0(r3) -/* 8032F09C 0032BFFC 38 BF 01 B4 */ addi r5, r31, 0x1b4 -/* 8032F0A0 0032C000 38 80 00 00 */ li r4, 0 -/* 8032F0A4 0032C004 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8032F0A8 0032C008 7D 89 03 A6 */ mtctr r12 -/* 8032F0AC 0032C00C 4E 80 04 21 */ bctrl -lbl_8032F0B0: -/* 8032F0B0 0032C010 80 7F 01 B4 */ lwz r3, 0x1b4(r31) -/* 8032F0B4 0032C014 38 03 00 01 */ addi r0, r3, 1 -/* 8032F0B8 0032C018 90 1F 01 B4 */ stw r0, 0x1b4(r31) -/* 8032F0BC 0032C01C 80 7F 00 24 */ lwz r3, 0x24(r31) -/* 8032F0C0 0032C020 80 63 00 18 */ lwz r3, 0x18(r3) -/* 8032F0C4 0032C024 28 03 00 00 */ cmplwi r3, 0 -/* 8032F0C8 0032C028 41 82 00 1C */ beq lbl_8032F0E4 -/* 8032F0CC 0032C02C 81 83 00 00 */ lwz r12, 0(r3) -/* 8032F0D0 0032C030 38 BF 01 B8 */ addi r5, r31, 0x1b8 -/* 8032F0D4 0032C034 38 80 00 00 */ li r4, 0 -/* 8032F0D8 0032C038 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8032F0DC 0032C03C 7D 89 03 A6 */ mtctr r12 -/* 8032F0E0 0032C040 4E 80 04 21 */ bctrl -lbl_8032F0E4: -/* 8032F0E4 0032C044 80 9F 00 24 */ lwz r4, 0x24(r31) -/* 8032F0E8 0032C048 7F E3 FB 78 */ mr r3, r31 -/* 8032F0EC 0032C04C 88 1F 01 D0 */ lbz r0, 0x1d0(r31) -/* 8032F0F0 0032C050 88 84 00 44 */ lbz r4, 0x44(r4) -/* 8032F0F4 0032C054 50 80 E7 38 */ rlwimi r0, r4, 0x1c, 0x1c, 0x1c -/* 8032F0F8 0032C058 98 1F 01 D0 */ stb r0, 0x1d0(r31) -/* 8032F0FC 0032C05C 80 9F 00 24 */ lwz r4, 0x24(r31) -/* 8032F100 0032C060 88 1F 01 D0 */ lbz r0, 0x1d0(r31) -/* 8032F104 0032C064 88 84 00 44 */ lbz r4, 0x44(r4) -/* 8032F108 0032C068 50 80 EF 7A */ rlwimi r0, r4, 0x1d, 0x1d, 0x1d -/* 8032F10C 0032C06C 98 1F 01 D0 */ stb r0, 0x1d0(r31) -/* 8032F110 0032C070 80 9F 00 24 */ lwz r4, 0x24(r31) -/* 8032F114 0032C074 88 1F 01 D0 */ lbz r0, 0x1d0(r31) -/* 8032F118 0032C078 88 84 00 44 */ lbz r4, 0x44(r4) -/* 8032F11C 0032C07C 50 80 EF BC */ rlwimi r0, r4, 0x1d, 0x1e, 0x1e -/* 8032F120 0032C080 98 1F 01 D0 */ stb r0, 0x1d0(r31) -/* 8032F124 0032C084 4B FF FA 91 */ bl IsLargeEnough__15CParticleSwooshCFv -/* 8032F128 0032C088 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8032F12C 0032C08C 41 82 04 70 */ beq lbl_8032F59C -/* 8032F130 0032C090 80 7F 00 24 */ lwz r3, 0x24(r31) -/* 8032F134 0032C094 80 63 00 00 */ lwz r3, 0(r3) -/* 8032F138 0032C098 28 03 00 00 */ cmplwi r3, 0 -/* 8032F13C 0032C09C 41 82 00 20 */ beq lbl_8032F15C -/* 8032F140 0032C0A0 81 83 00 00 */ lwz r12, 0(r3) -/* 8032F144 0032C0A4 38 BF 00 2C */ addi r5, r31, 0x2c -/* 8032F148 0032C0A8 38 80 00 00 */ li r4, 0 -/* 8032F14C 0032C0AC 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8032F150 0032C0B0 7D 89 03 A6 */ mtctr r12 -/* 8032F154 0032C0B4 4E 80 04 21 */ bctrl -/* 8032F158 0032C0B8 48 00 00 10 */ b lbl_8032F168 -lbl_8032F15C: -/* 8032F15C 0032C0BC 3C 60 00 80 */ lis r3, 0x007FFFFF@ha -/* 8032F160 0032C0C0 38 03 FF FF */ addi r0, r3, 0x007FFFFF@l -/* 8032F164 0032C0C4 90 1F 00 2C */ stw r0, 0x2c(r31) -lbl_8032F168: -/* 8032F168 0032C0C8 80 7F 00 24 */ lwz r3, 0x24(r31) -/* 8032F16C 0032C0CC 88 1F 01 D0 */ lbz r0, 0x1d0(r31) -/* 8032F170 0032C0D0 88 63 00 44 */ lbz r3, 0x44(r3) -/* 8032F174 0032C0D4 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 8032F178 0032C0D8 98 1F 01 D0 */ stb r0, 0x1d0(r31) -/* 8032F17C 0032C0DC 80 7F 00 24 */ lwz r3, 0x24(r31) -/* 8032F180 0032C0E0 80 63 00 38 */ lwz r3, 0x38(r3) -/* 8032F184 0032C0E4 28 03 00 00 */ cmplwi r3, 0 -/* 8032F188 0032C0E8 41 82 00 1C */ beq lbl_8032F1A4 -/* 8032F18C 0032C0EC 81 83 00 00 */ lwz r12, 0(r3) -/* 8032F190 0032C0F0 38 BF 01 B0 */ addi r5, r31, 0x1b0 -/* 8032F194 0032C0F4 38 80 00 00 */ li r4, 0 -/* 8032F198 0032C0F8 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8032F19C 0032C0FC 7D 89 03 A6 */ mtctr r12 -/* 8032F1A0 0032C100 4E 80 04 21 */ bctrl -lbl_8032F1A4: -/* 8032F1A4 0032C104 80 1F 01 B0 */ lwz r0, 0x1b0(r31) -/* 8032F1A8 0032C108 2C 00 00 00 */ cmpwi r0, 0 -/* 8032F1AC 0032C10C 40 80 00 0C */ bge lbl_8032F1B8 -/* 8032F1B0 0032C110 38 00 00 00 */ li r0, 0 -/* 8032F1B4 0032C114 90 1F 01 B0 */ stw r0, 0x1b0(r31) -lbl_8032F1B8: -/* 8032F1B8 0032C118 80 1F 01 60 */ lwz r0, 0x160(r31) -/* 8032F1BC 0032C11C 80 7F 01 68 */ lwz r3, 0x168(r31) -/* 8032F1C0 0032C120 54 00 38 30 */ slwi r0, r0, 7 -/* 8032F1C4 0032C124 7C 03 02 14 */ add r0, r3, r0 -/* 8032F1C8 0032C128 90 61 00 4C */ stw r3, 0x4c(r1) -/* 8032F1CC 0032C12C 90 01 00 54 */ stw r0, 0x54(r1) -/* 8032F1D0 0032C130 90 01 00 50 */ stw r0, 0x50(r1) -/* 8032F1D4 0032C134 90 61 00 48 */ stw r3, 0x48(r1) -/* 8032F1D8 0032C138 48 00 00 08 */ b lbl_8032F1E0 -lbl_8032F1DC: -/* 8032F1DC 0032C13C 38 63 00 80 */ addi r3, r3, 0x80 -lbl_8032F1E0: -/* 8032F1E0 0032C140 7C 03 00 40 */ cmplw r3, r0 -/* 8032F1E4 0032C144 40 82 FF F8 */ bne lbl_8032F1DC -/* 8032F1E8 0032C148 38 00 00 00 */ li r0, 0 -/* 8032F1EC 0032C14C 38 7F 01 5C */ addi r3, r31, 0x15c -/* 8032F1F0 0032C150 90 1F 01 60 */ stw r0, 0x160(r31) -/* 8032F1F4 0032C154 80 9F 01 B4 */ lwz r4, 0x1b4(r31) -/* 8032F1F8 0032C158 48 00 06 2D */ bl sub_8032f824 -/* 8032F1FC 0032C15C 3C 80 80 5A */ lis r4, skZero3f@ha -/* 8032F200 0032C160 3C 60 80 5A */ lis r3, skIdentity4f@ha -/* 8032F204 0032C164 3B 84 66 A0 */ addi r28, r4, skZero3f@l -/* 8032F208 0032C168 3B 60 00 00 */ li r27, 0 -/* 8032F20C 0032C16C 3B A3 66 70 */ addi r29, r3, skIdentity4f@l -/* 8032F210 0032C170 7F 9E E3 78 */ mr r30, r28 -/* 8032F214 0032C174 48 00 00 60 */ b lbl_8032F274 -lbl_8032F218: -/* 8032F218 0032C178 C0 22 CA 94 */ lfs f1, lbl_805AE7B4@sda21(r2) -/* 8032F21C 0032C17C 38 61 00 58 */ addi r3, r1, 0x58 -/* 8032F220 0032C180 FC 40 08 90 */ fmr f2, f1 -/* 8032F224 0032C184 FC 60 08 90 */ fmr f3, f1 -/* 8032F228 0032C188 FC 80 08 90 */ fmr f4, f1 -/* 8032F22C 0032C18C 48 03 41 C1 */ bl __ct__6CColorFffff -/* 8032F230 0032C190 C0 22 CA 94 */ lfs f1, lbl_805AE7B4@sda21(r2) -/* 8032F234 0032C194 7C 6A 1B 78 */ mr r10, r3 -/* 8032F238 0032C198 7F 84 E3 78 */ mr r4, r28 -/* 8032F23C 0032C19C 7F 85 E3 78 */ mr r5, r28 -/* 8032F240 0032C1A0 FC 40 08 90 */ fmr f2, f1 -/* 8032F244 0032C1A4 7F A8 EB 78 */ mr r8, r29 -/* 8032F248 0032C1A8 FC 60 08 90 */ fmr f3, f1 -/* 8032F24C 0032C1AC 7F C9 F3 78 */ mr r9, r30 -/* 8032F250 0032C1B0 FC 80 08 90 */ fmr f4, f1 -/* 8032F254 0032C1B4 38 61 00 68 */ addi r3, r1, 0x68 -/* 8032F258 0032C1B8 38 C0 00 00 */ li r6, 0 -/* 8032F25C 0032C1BC 38 E0 00 00 */ li r7, 0 -/* 8032F260 0032C1C0 48 00 04 E9 */ bl __ct__Q215CParticleSwoosh11SSwooshDataFRC9CVector3fRC9CVector3fffibRC12CTransform4fRC9CVector3fffRC6CColor -/* 8032F264 0032C1C4 7C 64 1B 78 */ mr r4, r3 -/* 8032F268 0032C1C8 38 7F 01 5C */ addi r3, r31, 0x15c -/* 8032F26C 0032C1CC 48 00 03 55 */ bl sub_8032f5c0 -/* 8032F270 0032C1D0 3B 7B 00 01 */ addi r27, r27, 1 -lbl_8032F274: -/* 8032F274 0032C1D4 80 1F 01 64 */ lwz r0, 0x164(r31) -/* 8032F278 0032C1D8 7C 1B 00 00 */ cmpw r27, r0 -/* 8032F27C 0032C1DC 41 80 FF 9C */ blt lbl_8032F218 -/* 8032F280 0032C1E0 81 9F 00 00 */ lwz r12, 0(r31) -/* 8032F284 0032C1E4 3C 80 80 5A */ lis r4, skIdentity4f@ha -/* 8032F288 0032C1E8 7F E3 FB 78 */ mr r3, r31 -/* 8032F28C 0032C1EC 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8032F290 0032C1F0 38 84 66 70 */ addi r4, r4, skIdentity4f@l -/* 8032F294 0032C1F4 7D 89 03 A6 */ mtctr r12 -/* 8032F298 0032C1F8 4E 80 04 21 */ bctrl -/* 8032F29C 0032C1FC 80 1F 01 70 */ lwz r0, 0x170(r31) -/* 8032F2A0 0032C200 80 7F 01 78 */ lwz r3, 0x178(r31) -/* 8032F2A4 0032C204 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8032F2A8 0032C208 90 61 00 3C */ stw r3, 0x3c(r1) -/* 8032F2AC 0032C20C 7C 03 02 14 */ add r0, r3, r0 -/* 8032F2B0 0032C210 90 61 00 38 */ stw r3, 0x38(r1) -/* 8032F2B4 0032C214 90 01 00 44 */ stw r0, 0x44(r1) -/* 8032F2B8 0032C218 90 01 00 40 */ stw r0, 0x40(r1) -/* 8032F2BC 0032C21C 48 00 00 08 */ b lbl_8032F2C4 -lbl_8032F2C0: -/* 8032F2C0 0032C220 38 63 00 0C */ addi r3, r3, 0xc -lbl_8032F2C4: -/* 8032F2C4 0032C224 7C 03 00 40 */ cmplw r3, r0 -/* 8032F2C8 0032C228 40 82 FF F8 */ bne lbl_8032F2C0 -/* 8032F2CC 0032C22C 38 00 00 00 */ li r0, 0 -/* 8032F2D0 0032C230 38 7F 01 6C */ addi r3, r31, 0x16c -/* 8032F2D4 0032C234 90 1F 01 70 */ stw r0, 0x170(r31) -/* 8032F2D8 0032C238 80 9F 01 B8 */ lwz r4, 0x1b8(r31) -/* 8032F2DC 0032C23C 4B D2 EA 1D */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" -/* 8032F2E0 0032C240 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8032F2E4 0032C244 3B 80 00 00 */ li r28, 0 -/* 8032F2E8 0032C248 3B C3 66 A0 */ addi r30, r3, skZero3f@l -/* 8032F2EC 0032C24C 48 00 00 64 */ b lbl_8032F350 -lbl_8032F2F0: -/* 8032F2F0 0032C250 80 1F 01 70 */ lwz r0, 0x170(r31) -/* 8032F2F4 0032C254 7C 00 28 00 */ cmpw r0, r5 -/* 8032F2F8 0032C258 41 80 00 1C */ blt lbl_8032F314 -/* 8032F2FC 0032C25C 2C 05 00 00 */ cmpwi r5, 0 -/* 8032F300 0032C260 38 7F 01 6C */ addi r3, r31, 0x16c -/* 8032F304 0032C264 38 80 00 04 */ li r4, 4 -/* 8032F308 0032C268 41 82 00 08 */ beq lbl_8032F310 -/* 8032F30C 0032C26C 54 A4 08 3C */ slwi r4, r5, 1 -lbl_8032F310: -/* 8032F310 0032C270 4B D2 E9 E9 */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" -lbl_8032F314: -/* 8032F314 0032C274 80 1F 01 70 */ lwz r0, 0x170(r31) -/* 8032F318 0032C278 80 7F 01 78 */ lwz r3, 0x178(r31) -/* 8032F31C 0032C27C 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8032F320 0032C280 7C 63 02 15 */ add. r3, r3, r0 -/* 8032F324 0032C284 41 82 00 1C */ beq lbl_8032F340 -/* 8032F328 0032C288 C0 1E 00 00 */ lfs f0, 0(r30) -/* 8032F32C 0032C28C D0 03 00 00 */ stfs f0, 0(r3) -/* 8032F330 0032C290 C0 1E 00 04 */ lfs f0, 4(r30) -/* 8032F334 0032C294 D0 03 00 04 */ stfs f0, 4(r3) -/* 8032F338 0032C298 C0 1E 00 08 */ lfs f0, 8(r30) -/* 8032F33C 0032C29C D0 03 00 08 */ stfs f0, 8(r3) -lbl_8032F340: -/* 8032F340 0032C2A0 80 7F 01 70 */ lwz r3, 0x170(r31) -/* 8032F344 0032C2A4 3B 9C 00 01 */ addi r28, r28, 1 -/* 8032F348 0032C2A8 38 03 00 01 */ addi r0, r3, 1 -/* 8032F34C 0032C2AC 90 1F 01 70 */ stw r0, 0x170(r31) -lbl_8032F350: -/* 8032F350 0032C2B0 80 BF 01 74 */ lwz r5, 0x174(r31) -/* 8032F354 0032C2B4 7C 1C 28 00 */ cmpw r28, r5 -/* 8032F358 0032C2B8 41 80 FF 98 */ blt lbl_8032F2F0 -/* 8032F35C 0032C2BC 80 1F 01 80 */ lwz r0, 0x180(r31) -/* 8032F360 0032C2C0 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 8032F364 0032C2C4 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8032F368 0032C2C8 90 61 00 2C */ stw r3, 0x2c(r1) -/* 8032F36C 0032C2CC 7C 03 02 14 */ add r0, r3, r0 -/* 8032F370 0032C2D0 90 61 00 28 */ stw r3, 0x28(r1) -/* 8032F374 0032C2D4 90 01 00 34 */ stw r0, 0x34(r1) -/* 8032F378 0032C2D8 90 01 00 30 */ stw r0, 0x30(r1) -/* 8032F37C 0032C2DC 48 00 00 08 */ b lbl_8032F384 -lbl_8032F380: -/* 8032F380 0032C2E0 38 63 00 0C */ addi r3, r3, 0xc -lbl_8032F384: -/* 8032F384 0032C2E4 7C 03 00 40 */ cmplw r3, r0 -/* 8032F388 0032C2E8 40 82 FF F8 */ bne lbl_8032F380 -/* 8032F38C 0032C2EC 38 00 00 00 */ li r0, 0 -/* 8032F390 0032C2F0 38 7F 01 7C */ addi r3, r31, 0x17c -/* 8032F394 0032C2F4 90 1F 01 80 */ stw r0, 0x180(r31) -/* 8032F398 0032C2F8 80 9F 01 B8 */ lwz r4, 0x1b8(r31) -/* 8032F39C 0032C2FC 4B D2 E9 5D */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" -/* 8032F3A0 0032C300 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8032F3A4 0032C304 3B 80 00 00 */ li r28, 0 -/* 8032F3A8 0032C308 3B C3 66 A0 */ addi r30, r3, skZero3f@l -/* 8032F3AC 0032C30C 48 00 00 64 */ b lbl_8032F410 -lbl_8032F3B0: -/* 8032F3B0 0032C310 80 1F 01 80 */ lwz r0, 0x180(r31) -/* 8032F3B4 0032C314 7C 00 28 00 */ cmpw r0, r5 -/* 8032F3B8 0032C318 41 80 00 1C */ blt lbl_8032F3D4 -/* 8032F3BC 0032C31C 2C 05 00 00 */ cmpwi r5, 0 -/* 8032F3C0 0032C320 38 7F 01 7C */ addi r3, r31, 0x17c -/* 8032F3C4 0032C324 38 80 00 04 */ li r4, 4 -/* 8032F3C8 0032C328 41 82 00 08 */ beq lbl_8032F3D0 -/* 8032F3CC 0032C32C 54 A4 08 3C */ slwi r4, r5, 1 -lbl_8032F3D0: -/* 8032F3D0 0032C330 4B D2 E9 29 */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" -lbl_8032F3D4: -/* 8032F3D4 0032C334 80 1F 01 80 */ lwz r0, 0x180(r31) -/* 8032F3D8 0032C338 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 8032F3DC 0032C33C 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8032F3E0 0032C340 7C 63 02 15 */ add. r3, r3, r0 -/* 8032F3E4 0032C344 41 82 00 1C */ beq lbl_8032F400 -/* 8032F3E8 0032C348 C0 1E 00 00 */ lfs f0, 0(r30) -/* 8032F3EC 0032C34C D0 03 00 00 */ stfs f0, 0(r3) -/* 8032F3F0 0032C350 C0 1E 00 04 */ lfs f0, 4(r30) -/* 8032F3F4 0032C354 D0 03 00 04 */ stfs f0, 4(r3) -/* 8032F3F8 0032C358 C0 1E 00 08 */ lfs f0, 8(r30) -/* 8032F3FC 0032C35C D0 03 00 08 */ stfs f0, 8(r3) -lbl_8032F400: -/* 8032F400 0032C360 80 7F 01 80 */ lwz r3, 0x180(r31) -/* 8032F404 0032C364 3B 9C 00 01 */ addi r28, r28, 1 -/* 8032F408 0032C368 38 03 00 01 */ addi r0, r3, 1 -/* 8032F40C 0032C36C 90 1F 01 80 */ stw r0, 0x180(r31) -lbl_8032F410: -/* 8032F410 0032C370 80 BF 01 84 */ lwz r5, 0x184(r31) -/* 8032F414 0032C374 7C 1C 28 00 */ cmpw r28, r5 -/* 8032F418 0032C378 41 80 FF 98 */ blt lbl_8032F3B0 -/* 8032F41C 0032C37C 80 1F 01 90 */ lwz r0, 0x190(r31) -/* 8032F420 0032C380 80 7F 01 98 */ lwz r3, 0x198(r31) -/* 8032F424 0032C384 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8032F428 0032C388 90 61 00 1C */ stw r3, 0x1c(r1) -/* 8032F42C 0032C38C 7C 03 02 14 */ add r0, r3, r0 -/* 8032F430 0032C390 90 61 00 18 */ stw r3, 0x18(r1) -/* 8032F434 0032C394 90 01 00 24 */ stw r0, 0x24(r1) -/* 8032F438 0032C398 90 01 00 20 */ stw r0, 0x20(r1) -/* 8032F43C 0032C39C 48 00 00 08 */ b lbl_8032F444 -lbl_8032F440: -/* 8032F440 0032C3A0 38 63 00 0C */ addi r3, r3, 0xc -lbl_8032F444: -/* 8032F444 0032C3A4 7C 03 00 40 */ cmplw r3, r0 -/* 8032F448 0032C3A8 40 82 FF F8 */ bne lbl_8032F440 -/* 8032F44C 0032C3AC 38 00 00 00 */ li r0, 0 -/* 8032F450 0032C3B0 38 7F 01 8C */ addi r3, r31, 0x18c -/* 8032F454 0032C3B4 90 1F 01 90 */ stw r0, 0x190(r31) -/* 8032F458 0032C3B8 80 9F 01 B8 */ lwz r4, 0x1b8(r31) -/* 8032F45C 0032C3BC 4B D2 E8 9D */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" -/* 8032F460 0032C3C0 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8032F464 0032C3C4 3B 80 00 00 */ li r28, 0 -/* 8032F468 0032C3C8 3B C3 66 A0 */ addi r30, r3, skZero3f@l -/* 8032F46C 0032C3CC 48 00 00 64 */ b lbl_8032F4D0 -lbl_8032F470: -/* 8032F470 0032C3D0 80 1F 01 90 */ lwz r0, 0x190(r31) -/* 8032F474 0032C3D4 7C 00 28 00 */ cmpw r0, r5 -/* 8032F478 0032C3D8 41 80 00 1C */ blt lbl_8032F494 -/* 8032F47C 0032C3DC 2C 05 00 00 */ cmpwi r5, 0 -/* 8032F480 0032C3E0 38 7F 01 8C */ addi r3, r31, 0x18c -/* 8032F484 0032C3E4 38 80 00 04 */ li r4, 4 -/* 8032F488 0032C3E8 41 82 00 08 */ beq lbl_8032F490 -/* 8032F48C 0032C3EC 54 A4 08 3C */ slwi r4, r5, 1 -lbl_8032F490: -/* 8032F490 0032C3F0 4B D2 E8 69 */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" -lbl_8032F494: -/* 8032F494 0032C3F4 80 1F 01 90 */ lwz r0, 0x190(r31) -/* 8032F498 0032C3F8 80 7F 01 98 */ lwz r3, 0x198(r31) -/* 8032F49C 0032C3FC 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8032F4A0 0032C400 7C 63 02 15 */ add. r3, r3, r0 -/* 8032F4A4 0032C404 41 82 00 1C */ beq lbl_8032F4C0 -/* 8032F4A8 0032C408 C0 1E 00 00 */ lfs f0, 0(r30) -/* 8032F4AC 0032C40C D0 03 00 00 */ stfs f0, 0(r3) -/* 8032F4B0 0032C410 C0 1E 00 04 */ lfs f0, 4(r30) -/* 8032F4B4 0032C414 D0 03 00 04 */ stfs f0, 4(r3) -/* 8032F4B8 0032C418 C0 1E 00 08 */ lfs f0, 8(r30) -/* 8032F4BC 0032C41C D0 03 00 08 */ stfs f0, 8(r3) -lbl_8032F4C0: -/* 8032F4C0 0032C420 80 7F 01 90 */ lwz r3, 0x190(r31) -/* 8032F4C4 0032C424 3B 9C 00 01 */ addi r28, r28, 1 -/* 8032F4C8 0032C428 38 03 00 01 */ addi r0, r3, 1 -/* 8032F4CC 0032C42C 90 1F 01 90 */ stw r0, 0x190(r31) -lbl_8032F4D0: -/* 8032F4D0 0032C430 80 BF 01 94 */ lwz r5, 0x194(r31) -/* 8032F4D4 0032C434 7C 1C 28 00 */ cmpw r28, r5 -/* 8032F4D8 0032C438 41 80 FF 98 */ blt lbl_8032F470 -/* 8032F4DC 0032C43C 80 1F 01 A0 */ lwz r0, 0x1a0(r31) -/* 8032F4E0 0032C440 80 7F 01 A8 */ lwz r3, 0x1a8(r31) -/* 8032F4E4 0032C444 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8032F4E8 0032C448 90 61 00 0C */ stw r3, 0xc(r1) -/* 8032F4EC 0032C44C 7C 03 02 14 */ add r0, r3, r0 -/* 8032F4F0 0032C450 90 61 00 08 */ stw r3, 8(r1) -/* 8032F4F4 0032C454 90 01 00 14 */ stw r0, 0x14(r1) -/* 8032F4F8 0032C458 90 01 00 10 */ stw r0, 0x10(r1) -/* 8032F4FC 0032C45C 48 00 00 08 */ b lbl_8032F504 -lbl_8032F500: -/* 8032F500 0032C460 38 63 00 0C */ addi r3, r3, 0xc -lbl_8032F504: -/* 8032F504 0032C464 7C 03 00 40 */ cmplw r3, r0 -/* 8032F508 0032C468 40 82 FF F8 */ bne lbl_8032F500 -/* 8032F50C 0032C46C 38 00 00 00 */ li r0, 0 -/* 8032F510 0032C470 38 7F 01 9C */ addi r3, r31, 0x19c -/* 8032F514 0032C474 90 1F 01 A0 */ stw r0, 0x1a0(r31) -/* 8032F518 0032C478 80 9F 01 B8 */ lwz r4, 0x1b8(r31) -/* 8032F51C 0032C47C 4B D2 E7 DD */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" -/* 8032F520 0032C480 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8032F524 0032C484 3B 80 00 00 */ li r28, 0 -/* 8032F528 0032C488 3B C3 66 A0 */ addi r30, r3, skZero3f@l -/* 8032F52C 0032C48C 48 00 00 64 */ b lbl_8032F590 -lbl_8032F530: -/* 8032F530 0032C490 80 1F 01 A0 */ lwz r0, 0x1a0(r31) -/* 8032F534 0032C494 7C 00 28 00 */ cmpw r0, r5 -/* 8032F538 0032C498 41 80 00 1C */ blt lbl_8032F554 -/* 8032F53C 0032C49C 2C 05 00 00 */ cmpwi r5, 0 -/* 8032F540 0032C4A0 38 7F 01 9C */ addi r3, r31, 0x19c -/* 8032F544 0032C4A4 38 80 00 04 */ li r4, 4 -/* 8032F548 0032C4A8 41 82 00 08 */ beq lbl_8032F550 -/* 8032F54C 0032C4AC 54 A4 08 3C */ slwi r4, r5, 1 -lbl_8032F550: -/* 8032F550 0032C4B0 4B D2 E7 A9 */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" -lbl_8032F554: -/* 8032F554 0032C4B4 80 1F 01 A0 */ lwz r0, 0x1a0(r31) -/* 8032F558 0032C4B8 80 7F 01 A8 */ lwz r3, 0x1a8(r31) -/* 8032F55C 0032C4BC 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8032F560 0032C4C0 7C 63 02 15 */ add. r3, r3, r0 -/* 8032F564 0032C4C4 41 82 00 1C */ beq lbl_8032F580 -/* 8032F568 0032C4C8 C0 1E 00 00 */ lfs f0, 0(r30) -/* 8032F56C 0032C4CC D0 03 00 00 */ stfs f0, 0(r3) -/* 8032F570 0032C4D0 C0 1E 00 04 */ lfs f0, 4(r30) -/* 8032F574 0032C4D4 D0 03 00 04 */ stfs f0, 4(r3) -/* 8032F578 0032C4D8 C0 1E 00 08 */ lfs f0, 8(r30) -/* 8032F57C 0032C4DC D0 03 00 08 */ stfs f0, 8(r3) -lbl_8032F580: -/* 8032F580 0032C4E0 80 7F 01 A0 */ lwz r3, 0x1a0(r31) -/* 8032F584 0032C4E4 3B 9C 00 01 */ addi r28, r28, 1 -/* 8032F588 0032C4E8 38 03 00 01 */ addi r0, r3, 1 -/* 8032F58C 0032C4EC 90 1F 01 A0 */ stw r0, 0x1a0(r31) -lbl_8032F590: -/* 8032F590 0032C4F0 80 BF 01 A4 */ lwz r5, 0x1a4(r31) -/* 8032F594 0032C4F4 7C 1C 28 00 */ cmpw r28, r5 -/* 8032F598 0032C4F8 41 80 FF 98 */ blt lbl_8032F530 -lbl_8032F59C: -/* 8032F59C 0032C4FC 38 61 00 5C */ addi r3, r1, 0x5c -/* 8032F5A0 0032C500 38 80 FF FF */ li r4, -1 -/* 8032F5A4 0032C504 4B FE 30 61 */ bl __dt__13CGlobalRandomFv -/* 8032F5A8 0032C508 7F E3 FB 78 */ mr r3, r31 -/* 8032F5AC 0032C50C BB 61 00 EC */ lmw r27, 0xec(r1) -/* 8032F5B0 0032C510 80 01 01 04 */ lwz r0, 0x104(r1) -/* 8032F5B4 0032C514 7C 08 03 A6 */ mtlr r0 -/* 8032F5B8 0032C518 38 21 01 00 */ addi r1, r1, 0x100 -/* 8032F5BC 0032C51C 4E 80 00 20 */ blr - -.global sub_8032f5c0 -sub_8032f5c0: -/* 8032F5C0 0032C520 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8032F5C4 0032C524 7C 08 02 A6 */ mflr r0 -/* 8032F5C8 0032C528 90 01 00 14 */ stw r0, 0x14(r1) -/* 8032F5CC 0032C52C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8032F5D0 0032C530 7C 9F 23 78 */ mr r31, r4 -/* 8032F5D4 0032C534 93 C1 00 08 */ stw r30, 8(r1) -/* 8032F5D8 0032C538 7C 7E 1B 78 */ mr r30, r3 -/* 8032F5DC 0032C53C 80 03 00 04 */ lwz r0, 4(r3) -/* 8032F5E0 0032C540 80 A3 00 08 */ lwz r5, 8(r3) -/* 8032F5E4 0032C544 7C 00 28 00 */ cmpw r0, r5 -/* 8032F5E8 0032C548 41 80 00 18 */ blt lbl_8032F600 -/* 8032F5EC 0032C54C 2C 05 00 00 */ cmpwi r5, 0 -/* 8032F5F0 0032C550 38 80 00 04 */ li r4, 4 -/* 8032F5F4 0032C554 41 82 00 08 */ beq lbl_8032F5FC -/* 8032F5F8 0032C558 54 A4 08 3C */ slwi r4, r5, 1 -lbl_8032F5FC: -/* 8032F5FC 0032C55C 48 00 02 29 */ bl sub_8032f824 -lbl_8032F600: -/* 8032F600 0032C560 80 1E 00 04 */ lwz r0, 4(r30) -/* 8032F604 0032C564 7F E4 FB 78 */ mr r4, r31 -/* 8032F608 0032C568 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 8032F60C 0032C56C 54 00 38 30 */ slwi r0, r0, 7 -/* 8032F610 0032C570 7C 63 02 14 */ add r3, r3, r0 -/* 8032F614 0032C574 48 00 00 29 */ bl sub_8032f63c -/* 8032F618 0032C578 80 7E 00 04 */ lwz r3, 4(r30) -/* 8032F61C 0032C57C 38 03 00 01 */ addi r0, r3, 1 -/* 8032F620 0032C580 90 1E 00 04 */ stw r0, 4(r30) -/* 8032F624 0032C584 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8032F628 0032C588 83 C1 00 08 */ lwz r30, 8(r1) -/* 8032F62C 0032C58C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8032F630 0032C590 7C 08 03 A6 */ mtlr r0 -/* 8032F634 0032C594 38 21 00 10 */ addi r1, r1, 0x10 -/* 8032F638 0032C598 4E 80 00 20 */ blr - -.global sub_8032f63c -sub_8032f63c: -/* 8032F63C 0032C59C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8032F640 0032C5A0 7C 08 02 A6 */ mflr r0 -/* 8032F644 0032C5A4 28 03 00 00 */ cmplwi r3, 0 -/* 8032F648 0032C5A8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8032F64C 0032C5AC 41 82 00 08 */ beq lbl_8032F654 -/* 8032F650 0032C5B0 48 00 00 15 */ bl sub_8032f664 -lbl_8032F654: -/* 8032F654 0032C5B4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8032F658 0032C5B8 7C 08 03 A6 */ mtlr r0 -/* 8032F65C 0032C5BC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8032F660 0032C5C0 4E 80 00 20 */ blr - -.global sub_8032f664 -sub_8032f664: -/* 8032F664 0032C5C4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8032F668 0032C5C8 7C 08 02 A6 */ mflr r0 -/* 8032F66C 0032C5CC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8032F670 0032C5D0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8032F674 0032C5D4 7C 9F 23 78 */ mr r31, r4 -/* 8032F678 0032C5D8 93 C1 00 08 */ stw r30, 8(r1) -/* 8032F67C 0032C5DC 7C 7E 1B 78 */ mr r30, r3 -/* 8032F680 0032C5E0 38 7E 00 38 */ addi r3, r30, 0x38 -/* 8032F684 0032C5E4 88 04 00 00 */ lbz r0, 0(r4) -/* 8032F688 0032C5E8 38 9F 00 38 */ addi r4, r31, 0x38 -/* 8032F68C 0032C5EC 98 1E 00 00 */ stb r0, 0(r30) -/* 8032F690 0032C5F0 C0 1F 00 04 */ lfs f0, 4(r31) -/* 8032F694 0032C5F4 D0 1E 00 04 */ stfs f0, 4(r30) -/* 8032F698 0032C5F8 C0 1F 00 08 */ lfs f0, 8(r31) -/* 8032F69C 0032C5FC D0 1E 00 08 */ stfs f0, 8(r30) -/* 8032F6A0 0032C600 C0 1F 00 0C */ lfs f0, 0xc(r31) -/* 8032F6A4 0032C604 D0 1E 00 0C */ stfs f0, 0xc(r30) -/* 8032F6A8 0032C608 C0 1F 00 10 */ lfs f0, 0x10(r31) -/* 8032F6AC 0032C60C D0 1E 00 10 */ stfs f0, 0x10(r30) -/* 8032F6B0 0032C610 C0 1F 00 14 */ lfs f0, 0x14(r31) -/* 8032F6B4 0032C614 D0 1E 00 14 */ stfs f0, 0x14(r30) -/* 8032F6B8 0032C618 C0 1F 00 18 */ lfs f0, 0x18(r31) -/* 8032F6BC 0032C61C D0 1E 00 18 */ stfs f0, 0x18(r30) -/* 8032F6C0 0032C620 C0 1F 00 1C */ lfs f0, 0x1c(r31) -/* 8032F6C4 0032C624 D0 1E 00 1C */ stfs f0, 0x1c(r30) -/* 8032F6C8 0032C628 C0 1F 00 20 */ lfs f0, 0x20(r31) -/* 8032F6CC 0032C62C D0 1E 00 20 */ stfs f0, 0x20(r30) -/* 8032F6D0 0032C630 C0 1F 00 24 */ lfs f0, 0x24(r31) -/* 8032F6D4 0032C634 D0 1E 00 24 */ stfs f0, 0x24(r30) -/* 8032F6D8 0032C638 C0 1F 00 28 */ lfs f0, 0x28(r31) -/* 8032F6DC 0032C63C D0 1E 00 28 */ stfs f0, 0x28(r30) -/* 8032F6E0 0032C640 C0 1F 00 2C */ lfs f0, 0x2c(r31) -/* 8032F6E4 0032C644 D0 1E 00 2C */ stfs f0, 0x2c(r30) -/* 8032F6E8 0032C648 C0 1F 00 30 */ lfs f0, 0x30(r31) -/* 8032F6EC 0032C64C D0 1E 00 30 */ stfs f0, 0x30(r30) -/* 8032F6F0 0032C650 C0 1F 00 34 */ lfs f0, 0x34(r31) -/* 8032F6F4 0032C654 D0 1E 00 34 */ stfs f0, 0x34(r30) -/* 8032F6F8 0032C658 4B FE 34 7D */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8032F6FC 0032C65C 80 1F 00 68 */ lwz r0, 0x68(r31) -/* 8032F700 0032C660 7F C3 F3 78 */ mr r3, r30 -/* 8032F704 0032C664 90 1E 00 68 */ stw r0, 0x68(r30) -/* 8032F708 0032C668 80 1F 00 6C */ lwz r0, 0x6c(r31) -/* 8032F70C 0032C66C 90 1E 00 6C */ stw r0, 0x6c(r30) -/* 8032F710 0032C670 80 1F 00 70 */ lwz r0, 0x70(r31) -/* 8032F714 0032C674 90 1E 00 70 */ stw r0, 0x70(r30) -/* 8032F718 0032C678 C0 1F 00 74 */ lfs f0, 0x74(r31) -/* 8032F71C 0032C67C D0 1E 00 74 */ stfs f0, 0x74(r30) -/* 8032F720 0032C680 C0 1F 00 78 */ lfs f0, 0x78(r31) -/* 8032F724 0032C684 D0 1E 00 78 */ stfs f0, 0x78(r30) -/* 8032F728 0032C688 C0 1F 00 7C */ lfs f0, 0x7c(r31) -/* 8032F72C 0032C68C D0 1E 00 7C */ stfs f0, 0x7c(r30) -/* 8032F730 0032C690 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8032F734 0032C694 83 C1 00 08 */ lwz r30, 8(r1) -/* 8032F738 0032C698 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8032F73C 0032C69C 7C 08 03 A6 */ mtlr r0 -/* 8032F740 0032C6A0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8032F744 0032C6A4 4E 80 00 20 */ blr - -.global __ct__Q215CParticleSwoosh11SSwooshDataFRC9CVector3fRC9CVector3fffibRC12CTransform4fRC9CVector3fffRC6CColor -__ct__Q215CParticleSwoosh11SSwooshDataFRC9CVector3fRC9CVector3fffibRC12CTransform4fRC9CVector3fffRC6CColor: -/* 8032F748 0032C6A8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8032F74C 0032C6AC 7C 08 02 A6 */ mflr r0 -/* 8032F750 0032C6B0 90 01 00 24 */ stw r0, 0x24(r1) -/* 8032F754 0032C6B4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8032F758 0032C6B8 7D 5F 53 78 */ mr r31, r10 -/* 8032F75C 0032C6BC 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8032F760 0032C6C0 7D 3E 4B 78 */ mr r30, r9 -/* 8032F764 0032C6C4 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8032F768 0032C6C8 7C DD 33 78 */ mr r29, r6 -/* 8032F76C 0032C6CC 93 81 00 10 */ stw r28, 0x10(r1) -/* 8032F770 0032C6D0 7C 7C 1B 78 */ mr r28, r3 -/* 8032F774 0032C6D4 98 E3 00 00 */ stb r7, 0(r3) -/* 8032F778 0032C6D8 D0 63 00 04 */ stfs f3, 4(r3) -/* 8032F77C 0032C6DC 38 7C 00 38 */ addi r3, r28, 0x38 -/* 8032F780 0032C6E0 D0 9C 00 08 */ stfs f4, 8(r28) -/* 8032F784 0032C6E4 C0 04 00 00 */ lfs f0, 0(r4) -/* 8032F788 0032C6E8 D0 1C 00 0C */ stfs f0, 0xc(r28) -/* 8032F78C 0032C6EC C0 04 00 04 */ lfs f0, 4(r4) -/* 8032F790 0032C6F0 D0 1C 00 10 */ stfs f0, 0x10(r28) -/* 8032F794 0032C6F4 C0 04 00 08 */ lfs f0, 8(r4) -/* 8032F798 0032C6F8 7D 04 43 78 */ mr r4, r8 -/* 8032F79C 0032C6FC D0 1C 00 14 */ stfs f0, 0x14(r28) -/* 8032F7A0 0032C700 C0 05 00 00 */ lfs f0, 0(r5) -/* 8032F7A4 0032C704 D0 1C 00 18 */ stfs f0, 0x18(r28) -/* 8032F7A8 0032C708 C0 05 00 04 */ lfs f0, 4(r5) -/* 8032F7AC 0032C70C D0 1C 00 1C */ stfs f0, 0x1c(r28) -/* 8032F7B0 0032C710 C0 05 00 08 */ lfs f0, 8(r5) -/* 8032F7B4 0032C714 D0 1C 00 20 */ stfs f0, 0x20(r28) -/* 8032F7B8 0032C718 C0 05 00 00 */ lfs f0, 0(r5) -/* 8032F7BC 0032C71C D0 1C 00 24 */ stfs f0, 0x24(r28) -/* 8032F7C0 0032C720 C0 05 00 04 */ lfs f0, 4(r5) -/* 8032F7C4 0032C724 D0 1C 00 28 */ stfs f0, 0x28(r28) -/* 8032F7C8 0032C728 C0 05 00 08 */ lfs f0, 8(r5) -/* 8032F7CC 0032C72C D0 1C 00 2C */ stfs f0, 0x2c(r28) -/* 8032F7D0 0032C730 D0 3C 00 30 */ stfs f1, 0x30(r28) -/* 8032F7D4 0032C734 D0 5C 00 34 */ stfs f2, 0x34(r28) -/* 8032F7D8 0032C738 4B FE 33 9D */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8032F7DC 0032C73C 80 1F 00 00 */ lwz r0, 0(r31) -/* 8032F7E0 0032C740 7F 83 E3 78 */ mr r3, r28 -/* 8032F7E4 0032C744 90 1C 00 6C */ stw r0, 0x6c(r28) -/* 8032F7E8 0032C748 93 BC 00 70 */ stw r29, 0x70(r28) -/* 8032F7EC 0032C74C C0 1E 00 00 */ lfs f0, 0(r30) -/* 8032F7F0 0032C750 D0 1C 00 74 */ stfs f0, 0x74(r28) -/* 8032F7F4 0032C754 C0 1E 00 04 */ lfs f0, 4(r30) -/* 8032F7F8 0032C758 D0 1C 00 78 */ stfs f0, 0x78(r28) -/* 8032F7FC 0032C75C C0 1E 00 08 */ lfs f0, 8(r30) -/* 8032F800 0032C760 D0 1C 00 7C */ stfs f0, 0x7c(r28) -/* 8032F804 0032C764 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8032F808 0032C768 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8032F80C 0032C76C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8032F810 0032C770 83 81 00 10 */ lwz r28, 0x10(r1) -/* 8032F814 0032C774 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8032F818 0032C778 7C 08 03 A6 */ mtlr r0 -/* 8032F81C 0032C77C 38 21 00 20 */ addi r1, r1, 0x20 -/* 8032F820 0032C780 4E 80 00 20 */ blr - -.global sub_8032f824 -sub_8032f824: -/* 8032F824 0032C784 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8032F828 0032C788 7C 08 02 A6 */ mflr r0 -/* 8032F82C 0032C78C 90 01 00 34 */ stw r0, 0x34(r1) -/* 8032F830 0032C790 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8032F834 0032C794 7C 9F 23 78 */ mr r31, r4 -/* 8032F838 0032C798 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8032F83C 0032C79C 7C 7E 1B 78 */ mr r30, r3 -/* 8032F840 0032C7A0 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8032F844 0032C7A4 80 03 00 08 */ lwz r0, 8(r3) -/* 8032F848 0032C7A8 7C 1F 00 00 */ cmpw r31, r0 -/* 8032F84C 0032C7AC 40 81 00 94 */ ble lbl_8032F8E0 -/* 8032F850 0032C7B0 57 E3 38 31 */ rlwinm. r3, r31, 7, 0, 0x18 -/* 8032F854 0032C7B4 40 82 00 0C */ bne lbl_8032F860 -/* 8032F858 0032C7B8 3B A0 00 00 */ li r29, 0 -/* 8032F85C 0032C7BC 48 00 00 18 */ b lbl_8032F874 -lbl_8032F860: -/* 8032F860 0032C7C0 3C 80 80 3D */ lis r4, lbl_803D7968@ha -/* 8032F864 0032C7C4 38 A0 00 00 */ li r5, 0 -/* 8032F868 0032C7C8 38 84 79 68 */ addi r4, r4, lbl_803D7968@l -/* 8032F86C 0032C7CC 4B FE 5F AD */ bl __nwa__FUlPCcPCc -/* 8032F870 0032C7D0 7C 7D 1B 78 */ mr r29, r3 -lbl_8032F874: -/* 8032F874 0032C7D4 80 1E 00 04 */ lwz r0, 4(r30) -/* 8032F878 0032C7D8 7F A5 EB 78 */ mr r5, r29 -/* 8032F87C 0032C7DC 80 DE 00 0C */ lwz r6, 0xc(r30) -/* 8032F880 0032C7E0 38 61 00 14 */ addi r3, r1, 0x14 -/* 8032F884 0032C7E4 54 00 38 30 */ slwi r0, r0, 7 -/* 8032F888 0032C7E8 38 81 00 0C */ addi r4, r1, 0xc -/* 8032F88C 0032C7EC 7C C6 02 14 */ add r6, r6, r0 -/* 8032F890 0032C7F0 90 C1 00 0C */ stw r6, 0xc(r1) -/* 8032F894 0032C7F4 80 1E 00 0C */ lwz r0, 0xc(r30) -/* 8032F898 0032C7F8 90 C1 00 08 */ stw r6, 8(r1) -/* 8032F89C 0032C7FC 90 01 00 10 */ stw r0, 0x10(r1) -/* 8032F8A0 0032C800 90 01 00 14 */ stw r0, 0x14(r1) -/* 8032F8A4 0032C804 48 00 00 59 */ bl sub_8032f8fc -/* 8032F8A8 0032C808 80 1E 00 04 */ lwz r0, 4(r30) -/* 8032F8AC 0032C80C 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 8032F8B0 0032C810 54 00 38 30 */ slwi r0, r0, 7 -/* 8032F8B4 0032C814 7C 64 1B 78 */ mr r4, r3 -/* 8032F8B8 0032C818 7C 03 02 14 */ add r0, r3, r0 -/* 8032F8BC 0032C81C 48 00 00 08 */ b lbl_8032F8C4 -lbl_8032F8C0: -/* 8032F8C0 0032C820 38 84 00 80 */ addi r4, r4, 0x80 -lbl_8032F8C4: -/* 8032F8C4 0032C824 7C 04 00 40 */ cmplw r4, r0 -/* 8032F8C8 0032C828 40 82 FF F8 */ bne lbl_8032F8C0 -/* 8032F8CC 0032C82C 28 03 00 00 */ cmplwi r3, 0 -/* 8032F8D0 0032C830 41 82 00 08 */ beq lbl_8032F8D8 -/* 8032F8D4 0032C834 4B FE 60 5D */ bl Free__7CMemoryFPCv -lbl_8032F8D8: -/* 8032F8D8 0032C838 93 BE 00 0C */ stw r29, 0xc(r30) -/* 8032F8DC 0032C83C 93 FE 00 08 */ stw r31, 8(r30) -lbl_8032F8E0: -/* 8032F8E0 0032C840 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8032F8E4 0032C844 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8032F8E8 0032C848 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8032F8EC 0032C84C 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 8032F8F0 0032C850 7C 08 03 A6 */ mtlr r0 -/* 8032F8F4 0032C854 38 21 00 30 */ addi r1, r1, 0x30 -/* 8032F8F8 0032C858 4E 80 00 20 */ blr - -.global sub_8032f8fc -sub_8032f8fc: -/* 8032F8FC 0032C85C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8032F900 0032C860 7C 08 02 A6 */ mflr r0 -/* 8032F904 0032C864 90 01 00 24 */ stw r0, 0x24(r1) -/* 8032F908 0032C868 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8032F90C 0032C86C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8032F910 0032C870 7C BE 2B 78 */ mr r30, r5 -/* 8032F914 0032C874 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8032F918 0032C878 7C 9D 23 78 */ mr r29, r4 -/* 8032F91C 0032C87C 83 E3 00 00 */ lwz r31, 0(r3) -/* 8032F920 0032C880 48 00 00 18 */ b lbl_8032F938 -lbl_8032F924: -/* 8032F924 0032C884 7F C3 F3 78 */ mr r3, r30 -/* 8032F928 0032C888 7F E4 FB 78 */ mr r4, r31 -/* 8032F92C 0032C88C 4B FF FD 11 */ bl sub_8032f63c -/* 8032F930 0032C890 3B DE 00 80 */ addi r30, r30, 0x80 -/* 8032F934 0032C894 3B FF 00 80 */ addi r31, r31, 0x80 -lbl_8032F938: -/* 8032F938 0032C898 80 1D 00 00 */ lwz r0, 0(r29) -/* 8032F93C 0032C89C 7C 1F 00 40 */ cmplw r31, r0 -/* 8032F940 0032C8A0 40 82 FF E4 */ bne lbl_8032F924 -/* 8032F944 0032C8A4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8032F948 0032C8A8 7F C3 F3 78 */ mr r3, r30 -/* 8032F94C 0032C8AC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8032F950 0032C8B0 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8032F954 0032C8B4 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8032F958 0032C8B8 7C 08 03 A6 */ mtlr r0 -/* 8032F95C 0032C8BC 38 21 00 20 */ addi r1, r1, 0x20 -/* 8032F960 0032C8C0 4E 80 00 20 */ blr - -.global CreateWPSM__26CParticleSwooshDataFactoryFP18CSwooshDescriptionR12CInputStreamP11CSimplePool -CreateWPSM__26CParticleSwooshDataFactoryFP18CSwooshDescriptionR12CInputStreamP11CSimplePool: -/* 8032F964 0032C8C4 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8032F968 0032C8C8 7C 08 02 A6 */ mflr r0 -/* 8032F96C 0032C8CC 90 01 00 34 */ stw r0, 0x34(r1) -/* 8032F970 0032C8D0 BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 8032F974 0032C8D4 7C 7B 1B 78 */ mr r27, r3 -/* 8032F978 0032C8D8 7C 9C 23 78 */ mr r28, r4 -/* 8032F97C 0032C8DC 7C BD 2B 78 */ mr r29, r5 -/* 8032F980 0032C8E0 38 61 00 08 */ addi r3, r1, 8 -/* 8032F984 0032C8E4 3B C0 00 00 */ li r30, 0 -/* 8032F988 0032C8E8 38 80 00 63 */ li r4, 0x63 -/* 8032F98C 0032C8EC 4B FE 2C 61 */ bl __ct__9CRandom16FUi -/* 8032F990 0032C8F0 38 61 00 0C */ addi r3, r1, 0xc -/* 8032F994 0032C8F4 38 81 00 08 */ addi r4, r1, 8 -/* 8032F998 0032C8F8 4B FE 2C E9 */ bl __ct__13CGlobalRandomFR9CRandom16 -/* 8032F99C 0032C8FC 48 00 04 70 */ b lbl_8032FE0C -lbl_8032F9A0: -/* 8032F9A0 0032C900 7F 83 E3 78 */ mr r3, r28 -/* 8032F9A4 0032C904 4B FF 8A B9 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream -/* 8032F9A8 0032C908 7C 03 F8 00 */ cmpw r3, r31 -/* 8032F9AC 0032C90C 41 82 02 58 */ beq lbl_8032FC04 -/* 8032F9B0 0032C910 40 80 01 18 */ bge lbl_8032FAC8 -/* 8032F9B4 0032C914 3C 80 4C 4C */ lis r4, 0x4C4C5244@ha -/* 8032F9B8 0032C918 38 04 52 44 */ addi r0, r4, 0x4C4C5244@l -/* 8032F9BC 0032C91C 7C 03 00 00 */ cmpw r3, r0 -/* 8032F9C0 0032C920 41 82 02 54 */ beq lbl_8032FC14 -/* 8032F9C4 0032C924 40 80 00 8C */ bge lbl_8032FA50 -/* 8032F9C8 0032C928 3C A0 43 52 */ lis r5, 0x43524F53@ha -/* 8032F9CC 0032C92C 38 05 4F 53 */ addi r0, r5, 0x43524F53@l -/* 8032F9D0 0032C930 7C 03 00 00 */ cmpw r3, r0 -/* 8032F9D4 0032C934 41 82 02 88 */ beq lbl_8032FC5C -/* 8032F9D8 0032C938 40 80 00 3C */ bge lbl_8032FA14 -/* 8032F9DC 0032C93C 3C 80 43 4F */ lis r4, 0x434F4C52@ha -/* 8032F9E0 0032C940 38 04 4C 52 */ addi r0, r4, 0x434F4C52@l -/* 8032F9E4 0032C944 7C 03 00 00 */ cmpw r3, r0 -/* 8032F9E8 0032C948 41 82 02 54 */ beq lbl_8032FC3C -/* 8032F9EC 0032C94C 40 80 00 18 */ bge lbl_8032FA04 -/* 8032F9F0 0032C950 3C 80 41 41 */ lis r4, 0x41414C50@ha -/* 8032F9F4 0032C954 38 04 4C 50 */ addi r0, r4, 0x41414C50@l -/* 8032F9F8 0032C958 7C 03 00 00 */ cmpw r3, r0 -/* 8032F9FC 0032C95C 41 82 03 7C */ beq lbl_8032FD78 -/* 8032FA00 0032C960 48 00 03 F8 */ b lbl_8032FDF8 -lbl_8032FA04: -/* 8032FA04 0032C964 38 05 4E 44 */ addi r0, r5, 0x4e44 -/* 8032FA08 0032C968 7C 03 00 00 */ cmpw r3, r0 -/* 8032FA0C 0032C96C 41 82 03 CC */ beq lbl_8032FDD8 -/* 8032FA10 0032C970 48 00 03 E8 */ b lbl_8032FDF8 -lbl_8032FA14: -/* 8032FA14 0032C974 3C 80 49 56 */ lis r4, 0x4956454C@ha -/* 8032FA18 0032C978 38 04 45 4C */ addi r0, r4, 0x4956454C@l -/* 8032FA1C 0032C97C 7C 03 00 00 */ cmpw r3, r0 -/* 8032FA20 0032C980 41 82 02 9C */ beq lbl_8032FCBC -/* 8032FA24 0032C984 40 80 00 18 */ bge lbl_8032FA3C -/* 8032FA28 0032C988 3C 80 49 52 */ lis r4, 0x49524F54@ha -/* 8032FA2C 0032C98C 38 04 4F 54 */ addi r0, r4, 0x49524F54@l -/* 8032FA30 0032C990 7C 03 00 00 */ cmpw r3, r0 -/* 8032FA34 0032C994 41 82 02 58 */ beq lbl_8032FC8C -/* 8032FA38 0032C998 48 00 03 C0 */ b lbl_8032FDF8 -lbl_8032FA3C: -/* 8032FA3C 0032C99C 3C 80 4C 45 */ lis r4, 0x4C454E47@ha -/* 8032FA40 0032C9A0 38 04 4E 47 */ addi r0, r4, 0x4C454E47@l -/* 8032FA44 0032C9A4 7C 03 00 00 */ cmpw r3, r0 -/* 8032FA48 0032C9A8 41 82 01 E4 */ beq lbl_8032FC2C -/* 8032FA4C 0032C9AC 48 00 03 AC */ b lbl_8032FDF8 -lbl_8032FA50: -/* 8032FA50 0032C9B0 3C 80 50 4F */ lis r4, 0x504F4653@ha -/* 8032FA54 0032C9B4 38 04 46 53 */ addi r0, r4, 0x504F4653@l -/* 8032FA58 0032C9B8 7C 03 00 00 */ cmpw r3, r0 -/* 8032FA5C 0032C9BC 41 82 02 50 */ beq lbl_8032FCAC -/* 8032FA60 0032C9C0 40 80 00 40 */ bge lbl_8032FAA0 -/* 8032FA64 0032C9C4 3C 80 4E 50 */ lis r4, 0x4E504F53@ha -/* 8032FA68 0032C9C8 38 04 4F 53 */ addi r0, r4, 0x4E504F53@l -/* 8032FA6C 0032C9CC 7C 03 00 00 */ cmpw r3, r0 -/* 8032FA70 0032C9D0 41 82 02 5C */ beq lbl_8032FCCC -/* 8032FA74 0032C9D4 40 80 00 18 */ bge lbl_8032FA8C -/* 8032FA78 0032C9D8 3C 80 4C 52 */ lis r4, 0x4C524144@ha -/* 8032FA7C 0032C9DC 38 04 41 44 */ addi r0, r4, 0x4C524144@l -/* 8032FA80 0032C9E0 7C 03 00 00 */ cmpw r3, r0 -/* 8032FA84 0032C9E4 41 82 01 70 */ beq lbl_8032FBF4 -/* 8032FA88 0032C9E8 48 00 03 70 */ b lbl_8032FDF8 -lbl_8032FA8C: -/* 8032FA8C 0032C9EC 3C 80 4F 52 */ lis r4, 0x4F524E54@ha -/* 8032FA90 0032C9F0 38 04 4E 54 */ addi r0, r4, 0x4F524E54@l -/* 8032FA94 0032C9F4 7C 03 00 00 */ cmpw r3, r0 -/* 8032FA98 0032C9F8 41 82 03 10 */ beq lbl_8032FDA8 -/* 8032FA9C 0032C9FC 48 00 03 5C */ b lbl_8032FDF8 -lbl_8032FAA0: -/* 8032FAA0 0032CA00 3C 80 52 4F */ lis r4, 0x524F544D@ha -/* 8032FAA4 0032CA04 38 04 54 4D */ addi r0, r4, 0x524F544D@l -/* 8032FAA8 0032CA08 7C 03 00 00 */ cmpw r3, r0 -/* 8032FAAC 0032CA0C 41 82 01 F0 */ beq lbl_8032FC9C -/* 8032FAB0 0032CA10 40 80 03 48 */ bge lbl_8032FDF8 -/* 8032FAB4 0032CA14 3C 80 50 53 */ lis r4, 0x50534C54@ha -/* 8032FAB8 0032CA18 38 04 4C 54 */ addi r0, r4, 0x50534C54@l -/* 8032FABC 0032CA1C 7C 03 00 00 */ cmpw r3, r0 -/* 8032FAC0 0032CA20 41 82 01 14 */ beq lbl_8032FBD4 -/* 8032FAC4 0032CA24 48 00 03 34 */ b lbl_8032FDF8 -lbl_8032FAC8: -/* 8032FAC8 0032CA28 3C 80 54 53 */ lis r4, 0x5453504E@ha -/* 8032FACC 0032CA2C 38 04 50 4E */ addi r0, r4, 0x5453504E@l -/* 8032FAD0 0032CA30 7C 03 00 00 */ cmpw r3, r0 -/* 8032FAD4 0032CA34 41 82 02 94 */ beq lbl_8032FD68 -/* 8032FAD8 0032CA38 40 80 00 78 */ bge lbl_8032FB50 -/* 8032FADC 0032CA3C 3C A0 54 45 */ lis r5, 0x54455852@ha -/* 8032FAE0 0032CA40 38 05 58 52 */ addi r0, r5, 0x54455852@l -/* 8032FAE4 0032CA44 7C 03 00 00 */ cmpw r3, r0 -/* 8032FAE8 0032CA48 41 82 02 6C */ beq lbl_8032FD54 -/* 8032FAEC 0032CA4C 40 80 00 40 */ bge lbl_8032FB2C -/* 8032FAF0 0032CA50 3C 80 53 50 */ lis r4, 0x53504C4E@ha -/* 8032FAF4 0032CA54 38 04 4C 4E */ addi r0, r4, 0x53504C4E@l -/* 8032FAF8 0032CA58 7C 03 00 00 */ cmpw r3, r0 -/* 8032FAFC 0032CA5C 41 82 02 30 */ beq lbl_8032FD2C -/* 8032FB00 0032CA60 40 80 00 18 */ bge lbl_8032FB18 -/* 8032FB04 0032CA64 3C 80 53 49 */ lis r4, 0x53494445@ha -/* 8032FB08 0032CA68 38 04 44 45 */ addi r0, r4, 0x53494445@l -/* 8032FB0C 0032CA6C 7C 03 00 00 */ cmpw r3, r0 -/* 8032FB10 0032CA70 41 82 01 3C */ beq lbl_8032FC4C -/* 8032FB14 0032CA74 48 00 02 E4 */ b lbl_8032FDF8 -lbl_8032FB18: -/* 8032FB18 0032CA78 3C 80 53 52 */ lis r4, 0x53524F54@ha -/* 8032FB1C 0032CA7C 38 04 4F 54 */ addi r0, r4, 0x53524F54@l -/* 8032FB20 0032CA80 7C 03 00 00 */ cmpw r3, r0 -/* 8032FB24 0032CA84 41 82 01 50 */ beq lbl_8032FC74 -/* 8032FB28 0032CA88 48 00 02 D0 */ b lbl_8032FDF8 -lbl_8032FB2C: -/* 8032FB2C 0032CA8C 3C 80 54 49 */ lis r4, 0x54494D45@ha -/* 8032FB30 0032CA90 38 04 4D 45 */ addi r0, r4, 0x54494D45@l -/* 8032FB34 0032CA94 7C 03 00 00 */ cmpw r3, r0 -/* 8032FB38 0032CA98 41 82 00 AC */ beq lbl_8032FBE4 -/* 8032FB3C 0032CA9C 40 80 02 BC */ bge lbl_8032FDF8 -/* 8032FB40 0032CAA0 38 05 58 57 */ addi r0, r5, 0x5857 -/* 8032FB44 0032CAA4 7C 03 00 00 */ cmpw r3, r0 -/* 8032FB48 0032CAA8 41 82 02 78 */ beq lbl_8032FDC0 -/* 8032FB4C 0032CAAC 48 00 02 AC */ b lbl_8032FDF8 -lbl_8032FB50: -/* 8032FB50 0032CAB0 3C 80 56 4C */ lis r4, 0x564C5332@ha -/* 8032FB54 0032CAB4 38 04 53 32 */ addi r0, r4, 0x564C5332@l -/* 8032FB58 0032CAB8 7C 03 00 00 */ cmpw r3, r0 -/* 8032FB5C 0032CABC 41 82 01 B8 */ beq lbl_8032FD14 -/* 8032FB60 0032CAC0 40 80 00 38 */ bge lbl_8032FB98 -/* 8032FB64 0032CAC4 38 04 4D 32 */ addi r0, r4, 0x4d32 -/* 8032FB68 0032CAC8 7C 03 00 00 */ cmpw r3, r0 -/* 8032FB6C 0032CACC 41 82 01 98 */ beq lbl_8032FD04 -/* 8032FB70 0032CAD0 40 80 00 18 */ bge lbl_8032FB88 -/* 8032FB74 0032CAD4 3C 80 56 45 */ lis r4, 0x56454C4D@ha -/* 8032FB78 0032CAD8 38 04 4C 4D */ addi r0, r4, 0x56454C4D@l -/* 8032FB7C 0032CADC 7C 03 00 00 */ cmpw r3, r0 -/* 8032FB80 0032CAE0 41 82 01 5C */ beq lbl_8032FCDC -/* 8032FB84 0032CAE4 48 00 02 74 */ b lbl_8032FDF8 -lbl_8032FB88: -/* 8032FB88 0032CAE8 38 04 53 31 */ addi r0, r4, 0x5331 -/* 8032FB8C 0032CAEC 7C 03 00 00 */ cmpw r3, r0 -/* 8032FB90 0032CAF0 40 80 01 5C */ bge lbl_8032FCEC -/* 8032FB94 0032CAF4 48 00 02 64 */ b lbl_8032FDF8 -lbl_8032FB98: -/* 8032FB98 0032CAF8 3C 80 5A 42 */ lis r4, 0x5A425546@ha -/* 8032FB9C 0032CAFC 38 04 55 46 */ addi r0, r4, 0x5A425546@l -/* 8032FBA0 0032CB00 7C 03 00 00 */ cmpw r3, r0 -/* 8032FBA4 0032CB04 41 82 01 EC */ beq lbl_8032FD90 -/* 8032FBA8 0032CB08 40 80 00 18 */ bge lbl_8032FBC0 -/* 8032FBAC 0032CB0C 3C 80 57 49 */ lis r4, 0x57495245@ha -/* 8032FBB0 0032CB10 38 04 52 45 */ addi r0, r4, 0x57495245@l -/* 8032FBB4 0032CB14 7C 03 00 00 */ cmpw r3, r0 -/* 8032FBB8 0032CB18 41 82 01 84 */ beq lbl_8032FD3C -/* 8032FBBC 0032CB1C 48 00 02 3C */ b lbl_8032FDF8 -lbl_8032FBC0: -/* 8032FBC0 0032CB20 3C 80 5F 45 */ lis r4, 0x5F454E44@ha -/* 8032FBC4 0032CB24 38 04 4E 44 */ addi r0, r4, 0x5F454E44@l -/* 8032FBC8 0032CB28 7C 03 00 00 */ cmpw r3, r0 -/* 8032FBCC 0032CB2C 41 82 02 24 */ beq lbl_8032FDF0 -/* 8032FBD0 0032CB30 48 00 02 28 */ b lbl_8032FDF8 -lbl_8032FBD4: -/* 8032FBD4 0032CB34 7F 83 E3 78 */ mr r3, r28 -/* 8032FBD8 0032CB38 4B FF 7F CD */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream -/* 8032FBDC 0032CB3C 90 7B 00 00 */ stw r3, 0(r27) -/* 8032FBE0 0032CB40 48 00 02 34 */ b lbl_8032FE14 -lbl_8032FBE4: -/* 8032FBE4 0032CB44 7F 83 E3 78 */ mr r3, r28 -/* 8032FBE8 0032CB48 4B FF 70 A9 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 8032FBEC 0032CB4C 90 7B 00 04 */ stw r3, 4(r27) -/* 8032FBF0 0032CB50 48 00 02 24 */ b lbl_8032FE14 -lbl_8032FBF4: -/* 8032FBF4 0032CB54 7F 83 E3 78 */ mr r3, r28 -/* 8032FBF8 0032CB58 4B FF 70 99 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 8032FBFC 0032CB5C 90 7B 00 08 */ stw r3, 8(r27) -/* 8032FC00 0032CB60 48 00 02 14 */ b lbl_8032FE14 -lbl_8032FC04: -/* 8032FC04 0032CB64 7F 83 E3 78 */ mr r3, r28 -/* 8032FC08 0032CB68 4B FF 70 89 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 8032FC0C 0032CB6C 90 7B 00 0C */ stw r3, 0xc(r27) -/* 8032FC10 0032CB70 48 00 02 04 */ b lbl_8032FE14 -lbl_8032FC14: -/* 8032FC14 0032CB74 7F 83 E3 78 */ mr r3, r28 -/* 8032FC18 0032CB78 4B FF 88 11 */ bl GetBool__20CParticleDataFactoryFR12CInputStream -/* 8032FC1C 0032CB7C 88 1B 00 44 */ lbz r0, 0x44(r27) -/* 8032FC20 0032CB80 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 8032FC24 0032CB84 98 1B 00 44 */ stb r0, 0x44(r27) -/* 8032FC28 0032CB88 48 00 01 EC */ b lbl_8032FE14 -lbl_8032FC2C: -/* 8032FC2C 0032CB8C 7F 83 E3 78 */ mr r3, r28 -/* 8032FC30 0032CB90 4B FF 7F 75 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream -/* 8032FC34 0032CB94 90 7B 00 10 */ stw r3, 0x10(r27) -/* 8032FC38 0032CB98 48 00 01 DC */ b lbl_8032FE14 -lbl_8032FC3C: -/* 8032FC3C 0032CB9C 7F 83 E3 78 */ mr r3, r28 -/* 8032FC40 0032CBA0 4B FF 56 1D */ bl GetColorElement__20CParticleDataFactoryFR12CInputStream -/* 8032FC44 0032CBA4 90 7B 00 14 */ stw r3, 0x14(r27) -/* 8032FC48 0032CBA8 48 00 01 CC */ b lbl_8032FE14 -lbl_8032FC4C: -/* 8032FC4C 0032CBAC 7F 83 E3 78 */ mr r3, r28 -/* 8032FC50 0032CBB0 4B FF 7F 55 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream -/* 8032FC54 0032CBB4 90 7B 00 18 */ stw r3, 0x18(r27) -/* 8032FC58 0032CBB8 48 00 01 BC */ b lbl_8032FE14 -lbl_8032FC5C: -/* 8032FC5C 0032CBBC 7F 83 E3 78 */ mr r3, r28 -/* 8032FC60 0032CBC0 4B FF 87 C9 */ bl GetBool__20CParticleDataFactoryFR12CInputStream -/* 8032FC64 0032CBC4 88 1B 00 44 */ lbz r0, 0x44(r27) -/* 8032FC68 0032CBC8 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 8032FC6C 0032CBCC 98 1B 00 44 */ stb r0, 0x44(r27) -/* 8032FC70 0032CBD0 48 00 01 A4 */ b lbl_8032FE14 -lbl_8032FC74: -/* 8032FC74 0032CBD4 7F 83 E3 78 */ mr r3, r28 -/* 8032FC78 0032CBD8 4B FF 87 B1 */ bl GetBool__20CParticleDataFactoryFR12CInputStream -/* 8032FC7C 0032CBDC 88 1B 00 44 */ lbz r0, 0x44(r27) -/* 8032FC80 0032CBE0 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 8032FC84 0032CBE4 98 1B 00 44 */ stb r0, 0x44(r27) -/* 8032FC88 0032CBE8 48 00 01 8C */ b lbl_8032FE14 -lbl_8032FC8C: -/* 8032FC8C 0032CBEC 7F 83 E3 78 */ mr r3, r28 -/* 8032FC90 0032CBF0 4B FF 70 01 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 8032FC94 0032CBF4 90 7B 00 1C */ stw r3, 0x1c(r27) -/* 8032FC98 0032CBF8 48 00 01 7C */ b lbl_8032FE14 -lbl_8032FC9C: -/* 8032FC9C 0032CBFC 7F 83 E3 78 */ mr r3, r28 -/* 8032FCA0 0032CC00 4B FF 6F F1 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 8032FCA4 0032CC04 90 7B 00 20 */ stw r3, 0x20(r27) -/* 8032FCA8 0032CC08 48 00 01 6C */ b lbl_8032FE14 -lbl_8032FCAC: -/* 8032FCAC 0032CC0C 7F 83 E3 78 */ mr r3, r28 -/* 8032FCB0 0032CC10 4B FF 65 A5 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream -/* 8032FCB4 0032CC14 90 7B 00 24 */ stw r3, 0x24(r27) -/* 8032FCB8 0032CC18 48 00 01 5C */ b lbl_8032FE14 -lbl_8032FCBC: -/* 8032FCBC 0032CC1C 7F 83 E3 78 */ mr r3, r28 -/* 8032FCC0 0032CC20 4B FF 65 95 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream -/* 8032FCC4 0032CC24 90 7B 00 28 */ stw r3, 0x28(r27) -/* 8032FCC8 0032CC28 48 00 01 4C */ b lbl_8032FE14 -lbl_8032FCCC: -/* 8032FCCC 0032CC2C 7F 83 E3 78 */ mr r3, r28 -/* 8032FCD0 0032CC30 4B FF 65 85 */ bl GetVectorElement__20CParticleDataFactoryFR12CInputStream -/* 8032FCD4 0032CC34 90 7B 00 2C */ stw r3, 0x2c(r27) -/* 8032FCD8 0032CC38 48 00 01 3C */ b lbl_8032FE14 -lbl_8032FCDC: -/* 8032FCDC 0032CC3C 7F 83 E3 78 */ mr r3, r28 -/* 8032FCE0 0032CC40 4B FF 5B 1D */ bl GetModVectorElement__20CParticleDataFactoryFR12CInputStream -/* 8032FCE4 0032CC44 90 7B 00 30 */ stw r3, 0x30(r27) -/* 8032FCE8 0032CC48 48 00 01 2C */ b lbl_8032FE14 -lbl_8032FCEC: -/* 8032FCEC 0032CC4C 7F 83 E3 78 */ mr r3, r28 -/* 8032FCF0 0032CC50 4B FF 87 39 */ bl GetBool__20CParticleDataFactoryFR12CInputStream -/* 8032FCF4 0032CC54 88 1B 00 44 */ lbz r0, 0x44(r27) -/* 8032FCF8 0032CC58 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 8032FCFC 0032CC5C 98 1B 00 44 */ stb r0, 0x44(r27) -/* 8032FD00 0032CC60 48 00 01 14 */ b lbl_8032FE14 -lbl_8032FD04: -/* 8032FD04 0032CC64 7F 83 E3 78 */ mr r3, r28 -/* 8032FD08 0032CC68 4B FF 5A F5 */ bl GetModVectorElement__20CParticleDataFactoryFR12CInputStream -/* 8032FD0C 0032CC6C 90 7B 00 34 */ stw r3, 0x34(r27) -/* 8032FD10 0032CC70 48 00 01 04 */ b lbl_8032FE14 -lbl_8032FD14: -/* 8032FD14 0032CC74 7F 83 E3 78 */ mr r3, r28 -/* 8032FD18 0032CC78 4B FF 87 11 */ bl GetBool__20CParticleDataFactoryFR12CInputStream -/* 8032FD1C 0032CC7C 88 1B 00 44 */ lbz r0, 0x44(r27) -/* 8032FD20 0032CC80 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 8032FD24 0032CC84 98 1B 00 44 */ stb r0, 0x44(r27) -/* 8032FD28 0032CC88 48 00 00 EC */ b lbl_8032FE14 -lbl_8032FD2C: -/* 8032FD2C 0032CC8C 7F 83 E3 78 */ mr r3, r28 -/* 8032FD30 0032CC90 4B FF 7E 75 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream -/* 8032FD34 0032CC94 90 7B 00 38 */ stw r3, 0x38(r27) -/* 8032FD38 0032CC98 48 00 00 DC */ b lbl_8032FE14 -lbl_8032FD3C: -/* 8032FD3C 0032CC9C 7F 83 E3 78 */ mr r3, r28 -/* 8032FD40 0032CCA0 4B FF 86 E9 */ bl GetBool__20CParticleDataFactoryFR12CInputStream -/* 8032FD44 0032CCA4 88 1B 00 44 */ lbz r0, 0x44(r27) -/* 8032FD48 0032CCA8 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 8032FD4C 0032CCAC 98 1B 00 44 */ stb r0, 0x44(r27) -/* 8032FD50 0032CCB0 48 00 00 C4 */ b lbl_8032FE14 -lbl_8032FD54: -/* 8032FD54 0032CCB4 7F 83 E3 78 */ mr r3, r28 -/* 8032FD58 0032CCB8 7F A4 EB 78 */ mr r4, r29 -/* 8032FD5C 0032CCBC 4B FF 50 D5 */ bl GetTextureElement__20CParticleDataFactoryFR12CInputStreamP11CSimplePool -/* 8032FD60 0032CCC0 90 7B 00 3C */ stw r3, 0x3c(r27) -/* 8032FD64 0032CCC4 48 00 00 B0 */ b lbl_8032FE14 -lbl_8032FD68: -/* 8032FD68 0032CCC8 7F 83 E3 78 */ mr r3, r28 -/* 8032FD6C 0032CCCC 4B FF 7E 39 */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream -/* 8032FD70 0032CCD0 90 7B 00 40 */ stw r3, 0x40(r27) -/* 8032FD74 0032CCD4 48 00 00 A0 */ b lbl_8032FE14 -lbl_8032FD78: -/* 8032FD78 0032CCD8 7F 83 E3 78 */ mr r3, r28 -/* 8032FD7C 0032CCDC 4B FF 86 AD */ bl GetBool__20CParticleDataFactoryFR12CInputStream -/* 8032FD80 0032CCE0 88 1B 00 44 */ lbz r0, 0x44(r27) -/* 8032FD84 0032CCE4 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f -/* 8032FD88 0032CCE8 98 1B 00 44 */ stb r0, 0x44(r27) -/* 8032FD8C 0032CCEC 48 00 00 88 */ b lbl_8032FE14 -lbl_8032FD90: -/* 8032FD90 0032CCF0 7F 83 E3 78 */ mr r3, r28 -/* 8032FD94 0032CCF4 4B FF 86 95 */ bl GetBool__20CParticleDataFactoryFR12CInputStream -/* 8032FD98 0032CCF8 88 1B 00 45 */ lbz r0, 0x45(r27) -/* 8032FD9C 0032CCFC 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 8032FDA0 0032CD00 98 1B 00 45 */ stb r0, 0x45(r27) -/* 8032FDA4 0032CD04 48 00 00 70 */ b lbl_8032FE14 -lbl_8032FDA8: -/* 8032FDA8 0032CD08 7F 83 E3 78 */ mr r3, r28 -/* 8032FDAC 0032CD0C 4B FF 86 7D */ bl GetBool__20CParticleDataFactoryFR12CInputStream -/* 8032FDB0 0032CD10 88 1B 00 45 */ lbz r0, 0x45(r27) -/* 8032FDB4 0032CD14 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 8032FDB8 0032CD18 98 1B 00 45 */ stb r0, 0x45(r27) -/* 8032FDBC 0032CD1C 48 00 00 58 */ b lbl_8032FE14 -lbl_8032FDC0: -/* 8032FDC0 0032CD20 7F 83 E3 78 */ mr r3, r28 -/* 8032FDC4 0032CD24 4B FF 86 65 */ bl GetBool__20CParticleDataFactoryFR12CInputStream -/* 8032FDC8 0032CD28 88 1B 00 44 */ lbz r0, 0x44(r27) -/* 8032FDCC 0032CD2C 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e -/* 8032FDD0 0032CD30 98 1B 00 44 */ stb r0, 0x44(r27) -/* 8032FDD4 0032CD34 48 00 00 40 */ b lbl_8032FE14 -lbl_8032FDD8: -/* 8032FDD8 0032CD38 7F 83 E3 78 */ mr r3, r28 -/* 8032FDDC 0032CD3C 4B FF 86 4D */ bl GetBool__20CParticleDataFactoryFR12CInputStream -/* 8032FDE0 0032CD40 88 1B 00 45 */ lbz r0, 0x45(r27) -/* 8032FDE4 0032CD44 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 8032FDE8 0032CD48 98 1B 00 45 */ stb r0, 0x45(r27) -/* 8032FDEC 0032CD4C 48 00 00 28 */ b lbl_8032FE14 -lbl_8032FDF0: -/* 8032FDF0 0032CD50 3B C0 00 01 */ li r30, 1 -/* 8032FDF4 0032CD54 48 00 00 20 */ b lbl_8032FE14 -lbl_8032FDF8: -/* 8032FDF8 0032CD58 38 61 00 0C */ addi r3, r1, 0xc -/* 8032FDFC 0032CD5C 38 80 FF FF */ li r4, -1 -/* 8032FE00 0032CD60 4B FE 28 05 */ bl __dt__13CGlobalRandomFv -/* 8032FE04 0032CD64 38 60 00 00 */ li r3, 0 -/* 8032FE08 0032CD68 48 00 00 24 */ b lbl_8032FE2C -lbl_8032FE0C: -/* 8032FE0C 0032CD6C 3C 60 52 52 */ lis r3, 0x52524144@ha -/* 8032FE10 0032CD70 3B E3 41 44 */ addi r31, r3, 0x52524144@l -lbl_8032FE14: -/* 8032FE14 0032CD74 57 C0 06 3F */ clrlwi. r0, r30, 0x18 -/* 8032FE18 0032CD78 41 82 FB 88 */ beq lbl_8032F9A0 -/* 8032FE1C 0032CD7C 38 61 00 0C */ addi r3, r1, 0xc -/* 8032FE20 0032CD80 38 80 FF FF */ li r4, -1 -/* 8032FE24 0032CD84 4B FE 27 E1 */ bl __dt__13CGlobalRandomFv -/* 8032FE28 0032CD88 38 60 00 01 */ li r3, 1 -lbl_8032FE2C: -/* 8032FE2C 0032CD8C BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 8032FE30 0032CD90 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8032FE34 0032CD94 7C 08 03 A6 */ mtlr r0 -/* 8032FE38 0032CD98 38 21 00 30 */ addi r1, r1, 0x30 -/* 8032FE3C 0032CD9C 4E 80 00 20 */ blr - -.global CreateGeneratorDescription__26CParticleSwooshDataFactoryFR12CInputStreamP11CSimplePool -CreateGeneratorDescription__26CParticleSwooshDataFactoryFR12CInputStreamP11CSimplePool: -/* 8032FE40 0032CDA0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8032FE44 0032CDA4 7C 08 02 A6 */ mflr r0 -/* 8032FE48 0032CDA8 90 01 00 24 */ stw r0, 0x24(r1) -/* 8032FE4C 0032CDAC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8032FE50 0032CDB0 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8032FE54 0032CDB4 7C 9E 23 78 */ mr r30, r4 -/* 8032FE58 0032CDB8 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8032FE5C 0032CDBC 7C 7D 1B 78 */ mr r29, r3 -/* 8032FE60 0032CDC0 4B FF 85 FD */ bl GetClassID__20CParticleDataFactoryFR12CInputStream -/* 8032FE64 0032CDC4 3C 03 AC A9 */ addis r0, r3, 0xaca9 -/* 8032FE68 0032CDC8 28 00 53 48 */ cmplwi r0, 0x5348 -/* 8032FE6C 0032CDCC 41 82 00 0C */ beq lbl_8032FE78 -/* 8032FE70 0032CDD0 38 60 00 00 */ li r3, 0 -/* 8032FE74 0032CDD4 48 00 00 3C */ b lbl_8032FEB0 -lbl_8032FE78: -/* 8032FE78 0032CDD8 3C 80 80 3D */ lis r4, lbl_803D7970@ha -/* 8032FE7C 0032CDDC 38 60 00 48 */ li r3, 0x48 -/* 8032FE80 0032CDE0 38 84 79 70 */ addi r4, r4, lbl_803D7970@l -/* 8032FE84 0032CDE4 38 A0 00 00 */ li r5, 0 -/* 8032FE88 0032CDE8 4B FE 59 E5 */ bl __nw__FUlPCcPCc -/* 8032FE8C 0032CDEC 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8032FE90 0032CDF0 41 82 00 0C */ beq lbl_8032FE9C -/* 8032FE94 0032CDF4 48 03 6E D1 */ bl __ct__18CSwooshDescriptionFv -/* 8032FE98 0032CDF8 7C 7F 1B 78 */ mr r31, r3 -lbl_8032FE9C: -/* 8032FE9C 0032CDFC 7F E3 FB 78 */ mr r3, r31 -/* 8032FEA0 0032CE00 7F A4 EB 78 */ mr r4, r29 -/* 8032FEA4 0032CE04 7F C5 F3 78 */ mr r5, r30 -/* 8032FEA8 0032CE08 4B FF FA BD */ bl CreateWPSM__26CParticleSwooshDataFactoryFP18CSwooshDescriptionR12CInputStreamP11CSimplePool -/* 8032FEAC 0032CE0C 7F E3 FB 78 */ mr r3, r31 -lbl_8032FEB0: -/* 8032FEB0 0032CE10 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8032FEB4 0032CE14 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8032FEB8 0032CE18 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8032FEBC 0032CE1C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8032FEC0 0032CE20 7C 08 03 A6 */ mtlr r0 -/* 8032FEC4 0032CE24 38 21 00 20 */ addi r1, r1, 0x20 -/* 8032FEC8 0032CE28 4E 80 00 20 */ blr - -.global GetGeneratorDesc__26CParticleSwooshDataFactoryFR12CInputStreamP11CSimplePool -GetGeneratorDesc__26CParticleSwooshDataFactoryFR12CInputStreamP11CSimplePool: -/* 8032FECC 0032CE2C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8032FED0 0032CE30 7C 08 02 A6 */ mflr r0 -/* 8032FED4 0032CE34 90 01 00 34 */ stw r0, 0x34(r1) -/* 8032FED8 0032CE38 38 00 00 00 */ li r0, 0 -/* 8032FEDC 0032CE3C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8032FEE0 0032CE40 90 01 00 1C */ stw r0, 0x1c(r1) -/* 8032FEE4 0032CE44 90 01 00 20 */ stw r0, 0x20(r1) -/* 8032FEE8 0032CE48 90 01 00 24 */ stw r0, 0x24(r1) -/* 8032FEEC 0032CE4C 4B FF FF 55 */ bl CreateGeneratorDescription__26CParticleSwooshDataFactoryFR12CInputStreamP11CSimplePool -/* 8032FEF0 0032CE50 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 8032FEF4 0032CE54 7C 7F 1B 78 */ mr r31, r3 -/* 8032FEF8 0032CE58 80 81 00 24 */ lwz r4, 0x24(r1) -/* 8032FEFC 0032CE5C 54 00 10 3A */ slwi r0, r0, 2 -/* 8032FF00 0032CE60 7C 04 02 14 */ add r0, r4, r0 -/* 8032FF04 0032CE64 90 81 00 0C */ stw r4, 0xc(r1) -/* 8032FF08 0032CE68 7C 83 23 78 */ mr r3, r4 -/* 8032FF0C 0032CE6C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8032FF10 0032CE70 90 01 00 10 */ stw r0, 0x10(r1) -/* 8032FF14 0032CE74 90 81 00 08 */ stw r4, 8(r1) -/* 8032FF18 0032CE78 48 00 00 08 */ b lbl_8032FF20 -lbl_8032FF1C: -/* 8032FF1C 0032CE7C 38 63 00 04 */ addi r3, r3, 4 -lbl_8032FF20: -/* 8032FF20 0032CE80 7C 03 00 40 */ cmplw r3, r0 -/* 8032FF24 0032CE84 40 82 FF F8 */ bne lbl_8032FF1C -/* 8032FF28 0032CE88 28 04 00 00 */ cmplwi r4, 0 -/* 8032FF2C 0032CE8C 41 82 00 0C */ beq lbl_8032FF38 -/* 8032FF30 0032CE90 7C 83 23 78 */ mr r3, r4 -/* 8032FF34 0032CE94 4B FE 59 FD */ bl Free__7CMemoryFPCv -lbl_8032FF38: -/* 8032FF38 0032CE98 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8032FF3C 0032CE9C 7F E3 FB 78 */ mr r3, r31 -/* 8032FF40 0032CEA0 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8032FF44 0032CEA4 7C 08 03 A6 */ mtlr r0 -/* 8032FF48 0032CEA8 38 21 00 30 */ addi r1, r1, 0x30 -/* 8032FF4C 0032CEAC 4E 80 00 20 */ blr - -.global "__dt__46TObjOwnerDerivedFromIObj<18CSwooshDescription>Fv" -"__dt__46TObjOwnerDerivedFromIObj<18CSwooshDescription>Fv": -/* 8032FF50 0032CEB0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8032FF54 0032CEB4 7C 08 02 A6 */ mflr r0 -/* 8032FF58 0032CEB8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8032FF5C 0032CEBC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8032FF60 0032CEC0 7C 9F 23 78 */ mr r31, r4 -/* 8032FF64 0032CEC4 93 C1 00 08 */ stw r30, 8(r1) -/* 8032FF68 0032CEC8 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8032FF6C 0032CECC 41 82 00 58 */ beq lbl_8032FFC4 -/* 8032FF70 0032CED0 3C 60 80 3F */ lis r3, lbl_803EDDF8@ha -/* 8032FF74 0032CED4 38 03 DD F8 */ addi r0, r3, lbl_803EDDF8@l -/* 8032FF78 0032CED8 90 1E 00 00 */ stw r0, 0(r30) -/* 8032FF7C 0032CEDC 80 7E 00 04 */ lwz r3, 4(r30) -/* 8032FF80 0032CEE0 28 03 00 00 */ cmplwi r3, 0 -/* 8032FF84 0032CEE4 41 82 00 0C */ beq lbl_8032FF90 -/* 8032FF88 0032CEE8 38 80 00 01 */ li r4, 1 -/* 8032FF8C 0032CEEC 48 03 6B 6D */ bl __dt__18CSwooshDescriptionFv -lbl_8032FF90: -/* 8032FF90 0032CEF0 28 1E 00 00 */ cmplwi r30, 0 -/* 8032FF94 0032CEF4 41 82 00 20 */ beq lbl_8032FFB4 -/* 8032FF98 0032CEF8 3C 60 80 3E */ lis r3, lbl_803D8D78@ha -/* 8032FF9C 0032CEFC 38 03 8D 78 */ addi r0, r3, lbl_803D8D78@l -/* 8032FFA0 0032CF00 90 1E 00 00 */ stw r0, 0(r30) -/* 8032FFA4 0032CF04 41 82 00 10 */ beq lbl_8032FFB4 -/* 8032FFA8 0032CF08 3C 60 80 3E */ lis r3, lbl_803D8D6C@ha -/* 8032FFAC 0032CF0C 38 03 8D 6C */ addi r0, r3, lbl_803D8D6C@l -/* 8032FFB0 0032CF10 90 1E 00 00 */ stw r0, 0(r30) -lbl_8032FFB4: -/* 8032FFB4 0032CF14 7F E0 07 35 */ extsh. r0, r31 -/* 8032FFB8 0032CF18 40 81 00 0C */ ble lbl_8032FFC4 -/* 8032FFBC 0032CF1C 7F C3 F3 78 */ mr r3, r30 -/* 8032FFC0 0032CF20 4B FE 59 71 */ bl Free__7CMemoryFPCv -lbl_8032FFC4: -/* 8032FFC4 0032CF24 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8032FFC8 0032CF28 7F C3 F3 78 */ mr r3, r30 -/* 8032FFCC 0032CF2C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8032FFD0 0032CF30 83 C1 00 08 */ lwz r30, 8(r1) -/* 8032FFD4 0032CF34 7C 08 03 A6 */ mtlr r0 -/* 8032FFD8 0032CF38 38 21 00 10 */ addi r1, r1, 0x10 -/* 8032FFDC 0032CF3C 4E 80 00 20 */ blr - -.global FParticleSwooshDataFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer -FParticleSwooshDataFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer: -/* 8032FFE0 0032CF40 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8032FFE4 0032CF44 7C 08 02 A6 */ mflr r0 -/* 8032FFE8 0032CF48 90 01 00 34 */ stw r0, 0x34(r1) -/* 8032FFEC 0032CF4C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8032FFF0 0032CF50 7C 7F 1B 78 */ mr r31, r3 -/* 8032FFF4 0032CF54 7C A3 2B 78 */ mr r3, r5 -/* 8032FFF8 0032CF58 80 C6 00 00 */ lwz r6, 0(r6) -/* 8032FFFC 0032CF5C 90 C1 00 08 */ stw r6, 8(r1) -/* 80330000 0032CF60 80 86 00 04 */ lwz r4, 4(r6) -/* 80330004 0032CF64 38 04 00 01 */ addi r0, r4, 1 -/* 80330008 0032CF68 90 06 00 04 */ stw r0, 4(r6) -/* 8033000C 0032CF6C 80 81 00 08 */ lwz r4, 8(r1) -/* 80330010 0032CF70 80 84 00 00 */ lwz r4, 0(r4) -/* 80330014 0032CF74 80 84 00 04 */ lwz r4, 4(r4) -/* 80330018 0032CF78 4B FF FE B5 */ bl GetGeneratorDesc__26CParticleSwooshDataFactoryFR12CInputStreamP11CSimplePool -/* 8033001C 0032CF7C 7C 03 00 D0 */ neg r0, r3 -/* 80330020 0032CF80 90 61 00 10 */ stw r3, 0x10(r1) -/* 80330024 0032CF84 7C 00 1B 78 */ or r0, r0, r3 -/* 80330028 0032CF88 38 61 00 14 */ addi r3, r1, 0x14 -/* 8033002C 0032CF8C 54 00 0F FE */ srwi r0, r0, 0x1f -/* 80330030 0032CF90 38 81 00 0C */ addi r4, r1, 0xc -/* 80330034 0032CF94 98 01 00 0C */ stb r0, 0xc(r1) -/* 80330038 0032CF98 48 00 00 85 */ bl "GetIObjObjectFor__28TToken<18CSwooshDescription>FRCQ24rstl30auto_ptr<18CSwooshDescription>" -/* 8033003C 0032CF9C 80 61 00 18 */ lwz r3, 0x18(r1) -/* 80330040 0032CFA0 38 00 00 00 */ li r0, 0 -/* 80330044 0032CFA4 98 01 00 14 */ stb r0, 0x14(r1) -/* 80330048 0032CFA8 7C 03 00 D0 */ neg r0, r3 -/* 8033004C 0032CFAC 7C 00 1B 78 */ or r0, r0, r3 -/* 80330050 0032CFB0 54 00 0F FE */ srwi r0, r0, 0x1f -/* 80330054 0032CFB4 98 1F 00 00 */ stb r0, 0(r31) -/* 80330058 0032CFB8 90 7F 00 04 */ stw r3, 4(r31) -/* 8033005C 0032CFBC 88 01 00 14 */ lbz r0, 0x14(r1) -/* 80330060 0032CFC0 28 00 00 00 */ cmplwi r0, 0 -/* 80330064 0032CFC4 41 82 00 24 */ beq lbl_80330088 -/* 80330068 0032CFC8 80 61 00 18 */ lwz r3, 0x18(r1) -/* 8033006C 0032CFCC 28 03 00 00 */ cmplwi r3, 0 -/* 80330070 0032CFD0 41 82 00 18 */ beq lbl_80330088 -/* 80330074 0032CFD4 81 83 00 00 */ lwz r12, 0(r3) -/* 80330078 0032CFD8 38 80 00 01 */ li r4, 1 -/* 8033007C 0032CFDC 81 8C 00 08 */ lwz r12, 8(r12) -/* 80330080 0032CFE0 7D 89 03 A6 */ mtctr r12 -/* 80330084 0032CFE4 4E 80 04 21 */ bctrl -lbl_80330088: -/* 80330088 0032CFE8 88 01 00 0C */ lbz r0, 0xc(r1) -/* 8033008C 0032CFEC 28 00 00 00 */ cmplwi r0, 0 -/* 80330090 0032CFF0 41 82 00 10 */ beq lbl_803300A0 -/* 80330094 0032CFF4 80 61 00 10 */ lwz r3, 0x10(r1) -/* 80330098 0032CFF8 38 80 00 01 */ li r4, 1 -/* 8033009C 0032CFFC 48 03 6A 5D */ bl __dt__18CSwooshDescriptionFv -lbl_803300A0: -/* 803300A0 0032D000 38 61 00 08 */ addi r3, r1, 8 -/* 803300A4 0032D004 4B D0 42 61 */ bl sub_80034304 -/* 803300A8 0032D008 80 01 00 34 */ lwz r0, 0x34(r1) -/* 803300AC 0032D00C 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 803300B0 0032D010 7C 08 03 A6 */ mtlr r0 -/* 803300B4 0032D014 38 21 00 30 */ addi r1, r1, 0x30 -/* 803300B8 0032D018 4E 80 00 20 */ blr - -.global "GetIObjObjectFor__28TToken<18CSwooshDescription>FRCQ24rstl30auto_ptr<18CSwooshDescription>" -"GetIObjObjectFor__28TToken<18CSwooshDescription>FRCQ24rstl30auto_ptr<18CSwooshDescription>": -/* 803300BC 0032D01C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803300C0 0032D020 7C 08 02 A6 */ mflr r0 -/* 803300C4 0032D024 90 01 00 14 */ stw r0, 0x14(r1) -/* 803300C8 0032D028 93 E1 00 0C */ stw r31, 0xc(r1) -/* 803300CC 0032D02C 7C 7F 1B 78 */ mr r31, r3 -/* 803300D0 0032D030 48 00 00 19 */ bl sub_803300e8 -/* 803300D4 0032D034 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803300D8 0032D038 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 803300DC 0032D03C 7C 08 03 A6 */ mtlr r0 -/* 803300E0 0032D040 38 21 00 10 */ addi r1, r1, 0x10 -/* 803300E4 0032D044 4E 80 00 20 */ blr - -.global sub_803300e8 -sub_803300e8: -/* 803300E8 0032D048 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803300EC 0032D04C 7C 08 02 A6 */ mflr r0 -/* 803300F0 0032D050 3C A0 80 3D */ lis r5, lbl_803D7970@ha -/* 803300F4 0032D054 90 01 00 14 */ stw r0, 0x14(r1) -/* 803300F8 0032D058 38 05 79 70 */ addi r0, r5, lbl_803D7970@l -/* 803300FC 0032D05C 38 A0 00 00 */ li r5, 0 -/* 80330100 0032D060 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80330104 0032D064 7C 9F 23 78 */ mr r31, r4 -/* 80330108 0032D068 7C 04 03 78 */ mr r4, r0 -/* 8033010C 0032D06C 93 C1 00 08 */ stw r30, 8(r1) -/* 80330110 0032D070 7C 7E 1B 78 */ mr r30, r3 -/* 80330114 0032D074 38 60 00 08 */ li r3, 8 -/* 80330118 0032D078 4B FE 57 55 */ bl __nw__FUlPCcPCc -/* 8033011C 0032D07C 28 03 00 00 */ cmplwi r3, 0 -/* 80330120 0032D080 41 82 00 38 */ beq lbl_80330158 -/* 80330124 0032D084 3C 80 80 3E */ lis r4, lbl_803D8D6C@ha -/* 80330128 0032D088 3C A0 80 3E */ lis r5, lbl_803D8D78@ha -/* 8033012C 0032D08C 38 04 8D 6C */ addi r0, r4, lbl_803D8D6C@l -/* 80330130 0032D090 3C 80 80 3F */ lis r4, lbl_803EDDF8@ha -/* 80330134 0032D094 90 03 00 00 */ stw r0, 0(r3) -/* 80330138 0032D098 38 C5 8D 78 */ addi r6, r5, lbl_803D8D78@l -/* 8033013C 0032D09C 38 A0 00 00 */ li r5, 0 -/* 80330140 0032D0A0 38 04 DD F8 */ addi r0, r4, lbl_803EDDF8@l -/* 80330144 0032D0A4 90 C3 00 00 */ stw r6, 0(r3) -/* 80330148 0032D0A8 98 BF 00 00 */ stb r5, 0(r31) -/* 8033014C 0032D0AC 80 9F 00 04 */ lwz r4, 4(r31) -/* 80330150 0032D0B0 90 83 00 04 */ stw r4, 4(r3) -/* 80330154 0032D0B4 90 03 00 00 */ stw r0, 0(r3) -lbl_80330158: -/* 80330158 0032D0B8 7C 03 00 D0 */ neg r0, r3 -/* 8033015C 0032D0BC 7C 00 1B 78 */ or r0, r0, r3 -/* 80330160 0032D0C0 54 00 0F FE */ srwi r0, r0, 0x1f -/* 80330164 0032D0C4 98 1E 00 00 */ stb r0, 0(r30) -/* 80330168 0032D0C8 90 7E 00 04 */ stw r3, 4(r30) -/* 8033016C 0032D0CC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80330170 0032D0D0 83 C1 00 08 */ lwz r30, 8(r1) -/* 80330174 0032D0D4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80330178 0032D0D8 7C 08 03 A6 */ mtlr r0 -/* 8033017C 0032D0DC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80330180 0032D0E0 4E 80 00 20 */ blr - -.global GetValue__15CREIntTimesRealCFiRf -GetValue__15CREIntTimesRealCFiRf: -/* 80330184 0032D0E4 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80330188 0032D0E8 7C 08 02 A6 */ mflr r0 -/* 8033018C 0032D0EC C0 02 CB 18 */ lfs f0, lbl_805AE838@sda21(r2) -/* 80330190 0032D0F0 90 01 00 34 */ stw r0, 0x34(r1) -/* 80330194 0032D0F4 38 00 00 00 */ li r0, 0 -/* 80330198 0032D0F8 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8033019C 0032D0FC 7C BF 2B 78 */ mr r31, r5 -/* 803301A0 0032D100 38 A1 00 08 */ addi r5, r1, 8 -/* 803301A4 0032D104 93 C1 00 28 */ stw r30, 0x28(r1) -/* 803301A8 0032D108 7C 9E 23 78 */ mr r30, r4 -/* 803301AC 0032D10C 93 A1 00 24 */ stw r29, 0x24(r1) -/* 803301B0 0032D110 7C 7D 1B 78 */ mr r29, r3 -/* 803301B4 0032D114 90 01 00 0C */ stw r0, 0xc(r1) -/* 803301B8 0032D118 80 63 00 08 */ lwz r3, 8(r3) -/* 803301BC 0032D11C D0 01 00 08 */ stfs f0, 8(r1) -/* 803301C0 0032D120 81 83 00 00 */ lwz r12, 0(r3) -/* 803301C4 0032D124 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 803301C8 0032D128 7D 89 03 A6 */ mtctr r12 -/* 803301CC 0032D12C 4E 80 04 21 */ bctrl -/* 803301D0 0032D130 80 7D 00 04 */ lwz r3, 4(r29) -/* 803301D4 0032D134 7F C4 F3 78 */ mr r4, r30 -/* 803301D8 0032D138 38 A1 00 0C */ addi r5, r1, 0xc -/* 803301DC 0032D13C 81 83 00 00 */ lwz r12, 0(r3) -/* 803301E0 0032D140 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 803301E4 0032D144 7D 89 03 A6 */ mtctr r12 -/* 803301E8 0032D148 4E 80 04 21 */ bctrl -/* 803301EC 0032D14C 80 81 00 0C */ lwz r4, 0xc(r1) -/* 803301F0 0032D150 3C 00 43 30 */ lis r0, 0x4330 -/* 803301F4 0032D154 90 01 00 10 */ stw r0, 0x10(r1) -/* 803301F8 0032D158 38 60 00 00 */ li r3, 0 -/* 803301FC 0032D15C 6C 80 80 00 */ xoris r0, r4, 0x8000 -/* 80330200 0032D160 C8 22 CB 20 */ lfd f1, lbl_805AE840@sda21(r2) -/* 80330204 0032D164 90 01 00 14 */ stw r0, 0x14(r1) -/* 80330208 0032D168 C0 41 00 08 */ lfs f2, 8(r1) -/* 8033020C 0032D16C C8 01 00 10 */ lfd f0, 0x10(r1) -/* 80330210 0032D170 EC 00 08 28 */ fsubs f0, f0, f1 -/* 80330214 0032D174 EC 02 00 32 */ fmuls f0, f2, f0 -/* 80330218 0032D178 D0 1F 00 00 */ stfs f0, 0(r31) -/* 8033021C 0032D17C 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80330220 0032D180 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80330224 0032D184 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80330228 0032D188 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8033022C 0032D18C 7C 08 03 A6 */ mtlr r0 -/* 80330230 0032D190 38 21 00 30 */ addi r1, r1, 0x30 -/* 80330234 0032D194 4E 80 00 20 */ blr - -.global __dt__15CREIntTimesReal -__dt__15CREIntTimesReal: -/* 80330238 0032D198 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8033023C 0032D19C 7C 08 02 A6 */ mflr r0 -/* 80330240 0032D1A0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80330244 0032D1A4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80330248 0032D1A8 7C 9F 23 78 */ mr r31, r4 -/* 8033024C 0032D1AC 93 C1 00 08 */ stw r30, 8(r1) -/* 80330250 0032D1B0 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80330254 0032D1B4 41 82 00 88 */ beq lbl_803302DC -/* 80330258 0032D1B8 3C 60 80 3F */ lis r3, lbl_803EDE08@ha -/* 8033025C 0032D1BC 38 03 DE 08 */ addi r0, r3, lbl_803EDE08@l -/* 80330260 0032D1C0 90 1E 00 00 */ stw r0, 0(r30) -/* 80330264 0032D1C4 80 7E 00 04 */ lwz r3, 4(r30) -/* 80330268 0032D1C8 28 03 00 00 */ cmplwi r3, 0 -/* 8033026C 0032D1CC 41 82 00 18 */ beq lbl_80330284 -/* 80330270 0032D1D0 81 83 00 00 */ lwz r12, 0(r3) -/* 80330274 0032D1D4 38 80 00 01 */ li r4, 1 -/* 80330278 0032D1D8 81 8C 00 08 */ lwz r12, 8(r12) -/* 8033027C 0032D1DC 7D 89 03 A6 */ mtctr r12 -/* 80330280 0032D1E0 4E 80 04 21 */ bctrl -lbl_80330284: -/* 80330284 0032D1E4 80 7E 00 08 */ lwz r3, 8(r30) -/* 80330288 0032D1E8 28 03 00 00 */ cmplwi r3, 0 -/* 8033028C 0032D1EC 41 82 00 18 */ beq lbl_803302A4 -/* 80330290 0032D1F0 81 83 00 00 */ lwz r12, 0(r3) -/* 80330294 0032D1F4 38 80 00 01 */ li r4, 1 -/* 80330298 0032D1F8 81 8C 00 08 */ lwz r12, 8(r12) -/* 8033029C 0032D1FC 7D 89 03 A6 */ mtctr r12 -/* 803302A0 0032D200 4E 80 04 21 */ bctrl -lbl_803302A4: -/* 803302A4 0032D204 28 1E 00 00 */ cmplwi r30, 0 -/* 803302A8 0032D208 41 82 00 20 */ beq lbl_803302C8 -/* 803302AC 0032D20C 3C 60 80 3F */ lis r3, lbl_803EC554@ha -/* 803302B0 0032D210 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l -/* 803302B4 0032D214 90 1E 00 00 */ stw r0, 0(r30) -/* 803302B8 0032D218 41 82 00 10 */ beq lbl_803302C8 -/* 803302BC 0032D21C 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 803302C0 0032D220 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 803302C4 0032D224 90 1E 00 00 */ stw r0, 0(r30) -lbl_803302C8: -/* 803302C8 0032D228 7F E0 07 35 */ extsh. r0, r31 -/* 803302CC 0032D22C 40 81 00 10 */ ble lbl_803302DC -/* 803302D0 0032D230 7F C3 F3 78 */ mr r3, r30 -/* 803302D4 0032D234 38 80 00 0C */ li r4, 0xc -/* 803302D8 0032D238 48 03 C7 8D */ bl sub_8036ca64 -lbl_803302DC: -/* 803302DC 0032D23C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803302E0 0032D240 7F C3 F3 78 */ mr r3, r30 -/* 803302E4 0032D244 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 803302E8 0032D248 83 C1 00 08 */ lwz r30, 8(r1) -/* 803302EC 0032D24C 7C 08 03 A6 */ mtlr r0 -/* 803302F0 0032D250 38 21 00 10 */ addi r1, r1, 0x10 -/* 803302F4 0032D254 4E 80 00 20 */ blr - -.global __ct__15CREIntTimesRealFP12CRealElementP11CIntElement -__ct__15CREIntTimesRealFP12CRealElementP11CIntElement: -/* 803302F8 0032D258 3D 00 80 3F */ lis r8, lbl_803EC5A8@ha -/* 803302FC 0032D25C 3C E0 80 3F */ lis r7, lbl_803EC554@ha -/* 80330300 0032D260 38 08 C5 A8 */ addi r0, r8, lbl_803EC5A8@l -/* 80330304 0032D264 3C C0 80 3F */ lis r6, lbl_803EDE08@ha -/* 80330308 0032D268 90 03 00 00 */ stw r0, 0(r3) -/* 8033030C 0032D26C 38 E7 C5 54 */ addi r7, r7, lbl_803EC554@l -/* 80330310 0032D270 38 06 DE 08 */ addi r0, r6, lbl_803EDE08@l -/* 80330314 0032D274 90 E3 00 00 */ stw r7, 0(r3) -/* 80330318 0032D278 90 03 00 00 */ stw r0, 0(r3) -/* 8033031C 0032D27C 90 83 00 04 */ stw r4, 4(r3) -/* 80330320 0032D280 90 A3 00 08 */ stw r5, 8(r3) -/* 80330324 0032D284 4E 80 00 20 */ blr - -.global GetValue__20CREGetComponentAlphaCFiRf -GetValue__20CREGetComponentAlphaCFiRf: -/* 80330328 0032D288 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8033032C 0032D28C 7C 08 02 A6 */ mflr r0 -/* 80330330 0032D290 90 01 00 24 */ stw r0, 0x24(r1) -/* 80330334 0032D294 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80330338 0032D298 7C BF 2B 78 */ mr r31, r5 -/* 8033033C 0032D29C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80330340 0032D2A0 7C 9E 23 78 */ mr r30, r4 -/* 80330344 0032D2A4 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80330348 0032D2A8 7C 7D 1B 78 */ mr r29, r3 -/* 8033034C 0032D2AC 48 01 9C 69 */ bl Black__6CColorFv -/* 80330350 0032D2B0 80 03 00 00 */ lwz r0, 0(r3) -/* 80330354 0032D2B4 7F C4 F3 78 */ mr r4, r30 -/* 80330358 0032D2B8 80 7D 00 04 */ lwz r3, 4(r29) -/* 8033035C 0032D2BC 38 A1 00 08 */ addi r5, r1, 8 -/* 80330360 0032D2C0 90 01 00 08 */ stw r0, 8(r1) -/* 80330364 0032D2C4 81 83 00 00 */ lwz r12, 0(r3) -/* 80330368 0032D2C8 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8033036C 0032D2CC 7D 89 03 A6 */ mtctr r12 -/* 80330370 0032D2D0 4E 80 04 21 */ bctrl -/* 80330374 0032D2D4 E0 21 A0 0B */ psq_l f1, 11(r1), 1, qr2 -/* 80330378 0032D2D8 38 60 00 00 */ li r3, 0 -/* 8033037C 0032D2DC C0 02 CB 28 */ lfs f0, lbl_805AE848@sda21(r2) -/* 80330380 0032D2E0 EC 00 00 72 */ fmuls f0, f0, f1 -/* 80330384 0032D2E4 D0 1F 00 00 */ stfs f0, 0(r31) -/* 80330388 0032D2E8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8033038C 0032D2EC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80330390 0032D2F0 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80330394 0032D2F4 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80330398 0032D2F8 7C 08 03 A6 */ mtlr r0 -/* 8033039C 0032D2FC 38 21 00 20 */ addi r1, r1, 0x20 -/* 803303A0 0032D300 4E 80 00 20 */ blr - -.global __dt__20CREGetComponentAlpha -__dt__20CREGetComponentAlpha: -/* 803303A4 0032D304 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803303A8 0032D308 7C 08 02 A6 */ mflr r0 -/* 803303AC 0032D30C 90 01 00 14 */ stw r0, 0x14(r1) -/* 803303B0 0032D310 93 E1 00 0C */ stw r31, 0xc(r1) -/* 803303B4 0032D314 7C 9F 23 78 */ mr r31, r4 -/* 803303B8 0032D318 93 C1 00 08 */ stw r30, 8(r1) -/* 803303BC 0032D31C 7C 7E 1B 79 */ or. r30, r3, r3 -/* 803303C0 0032D320 41 82 00 68 */ beq lbl_80330428 -/* 803303C4 0032D324 3C 60 80 3F */ lis r3, lbl_803EDE1C@ha -/* 803303C8 0032D328 38 03 DE 1C */ addi r0, r3, lbl_803EDE1C@l -/* 803303CC 0032D32C 90 1E 00 00 */ stw r0, 0(r30) -/* 803303D0 0032D330 80 7E 00 04 */ lwz r3, 4(r30) -/* 803303D4 0032D334 28 03 00 00 */ cmplwi r3, 0 -/* 803303D8 0032D338 41 82 00 18 */ beq lbl_803303F0 -/* 803303DC 0032D33C 81 83 00 00 */ lwz r12, 0(r3) -/* 803303E0 0032D340 38 80 00 01 */ li r4, 1 -/* 803303E4 0032D344 81 8C 00 08 */ lwz r12, 8(r12) -/* 803303E8 0032D348 7D 89 03 A6 */ mtctr r12 -/* 803303EC 0032D34C 4E 80 04 21 */ bctrl -lbl_803303F0: -/* 803303F0 0032D350 28 1E 00 00 */ cmplwi r30, 0 -/* 803303F4 0032D354 41 82 00 20 */ beq lbl_80330414 -/* 803303F8 0032D358 3C 60 80 3F */ lis r3, lbl_803EC554@ha -/* 803303FC 0032D35C 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l -/* 80330400 0032D360 90 1E 00 00 */ stw r0, 0(r30) -/* 80330404 0032D364 41 82 00 10 */ beq lbl_80330414 -/* 80330408 0032D368 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 8033040C 0032D36C 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 80330410 0032D370 90 1E 00 00 */ stw r0, 0(r30) -lbl_80330414: -/* 80330414 0032D374 7F E0 07 35 */ extsh. r0, r31 -/* 80330418 0032D378 40 81 00 10 */ ble lbl_80330428 -/* 8033041C 0032D37C 7F C3 F3 78 */ mr r3, r30 -/* 80330420 0032D380 38 80 00 08 */ li r4, 8 -/* 80330424 0032D384 48 03 C6 41 */ bl sub_8036ca64 -lbl_80330428: -/* 80330428 0032D388 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8033042C 0032D38C 7F C3 F3 78 */ mr r3, r30 -/* 80330430 0032D390 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80330434 0032D394 83 C1 00 08 */ lwz r30, 8(r1) -/* 80330438 0032D398 7C 08 03 A6 */ mtlr r0 -/* 8033043C 0032D39C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80330440 0032D3A0 4E 80 00 20 */ blr - -.global __ct__20CREGetComponentAlphaFP13CColorElement -__ct__20CREGetComponentAlphaFP13CColorElement: -/* 80330444 0032D3A4 3C E0 80 3F */ lis r7, lbl_803EC5A8@ha -/* 80330448 0032D3A8 3C C0 80 3F */ lis r6, lbl_803EC554@ha -/* 8033044C 0032D3AC 38 07 C5 A8 */ addi r0, r7, lbl_803EC5A8@l -/* 80330450 0032D3B0 3C A0 80 3F */ lis r5, lbl_803EDE1C@ha -/* 80330454 0032D3B4 90 03 00 00 */ stw r0, 0(r3) -/* 80330458 0032D3B8 38 C6 C5 54 */ addi r6, r6, lbl_803EC554@l -/* 8033045C 0032D3BC 38 05 DE 1C */ addi r0, r5, lbl_803EDE1C@l -/* 80330460 0032D3C0 90 C3 00 00 */ stw r6, 0(r3) -/* 80330464 0032D3C4 90 03 00 00 */ stw r0, 0(r3) -/* 80330468 0032D3C8 90 83 00 04 */ stw r4, 4(r3) -/* 8033046C 0032D3CC 4E 80 00 20 */ blr - -.global GetValue__19CREGetComponentBlueCFiRf -GetValue__19CREGetComponentBlueCFiRf: -/* 80330470 0032D3D0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80330474 0032D3D4 7C 08 02 A6 */ mflr r0 -/* 80330478 0032D3D8 90 01 00 24 */ stw r0, 0x24(r1) -/* 8033047C 0032D3DC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80330480 0032D3E0 7C BF 2B 78 */ mr r31, r5 -/* 80330484 0032D3E4 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80330488 0032D3E8 7C 9E 23 78 */ mr r30, r4 -/* 8033048C 0032D3EC 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80330490 0032D3F0 7C 7D 1B 78 */ mr r29, r3 -/* 80330494 0032D3F4 48 01 9B 21 */ bl Black__6CColorFv -/* 80330498 0032D3F8 80 03 00 00 */ lwz r0, 0(r3) -/* 8033049C 0032D3FC 7F C4 F3 78 */ mr r4, r30 -/* 803304A0 0032D400 80 7D 00 04 */ lwz r3, 4(r29) -/* 803304A4 0032D404 38 A1 00 08 */ addi r5, r1, 8 -/* 803304A8 0032D408 90 01 00 08 */ stw r0, 8(r1) -/* 803304AC 0032D40C 81 83 00 00 */ lwz r12, 0(r3) -/* 803304B0 0032D410 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 803304B4 0032D414 7D 89 03 A6 */ mtctr r12 -/* 803304B8 0032D418 4E 80 04 21 */ bctrl -/* 803304BC 0032D41C E0 21 A0 0A */ psq_l f1, 10(r1), 1, qr2 -/* 803304C0 0032D420 38 60 00 00 */ li r3, 0 -/* 803304C4 0032D424 C0 02 CB 28 */ lfs f0, lbl_805AE848@sda21(r2) -/* 803304C8 0032D428 EC 00 00 72 */ fmuls f0, f0, f1 -/* 803304CC 0032D42C D0 1F 00 00 */ stfs f0, 0(r31) -/* 803304D0 0032D430 80 01 00 24 */ lwz r0, 0x24(r1) -/* 803304D4 0032D434 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 803304D8 0032D438 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 803304DC 0032D43C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 803304E0 0032D440 7C 08 03 A6 */ mtlr r0 -/* 803304E4 0032D444 38 21 00 20 */ addi r1, r1, 0x20 -/* 803304E8 0032D448 4E 80 00 20 */ blr - -.global __dt__19CREGetComponentBlue -__dt__19CREGetComponentBlue: -/* 803304EC 0032D44C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803304F0 0032D450 7C 08 02 A6 */ mflr r0 -/* 803304F4 0032D454 90 01 00 14 */ stw r0, 0x14(r1) -/* 803304F8 0032D458 93 E1 00 0C */ stw r31, 0xc(r1) -/* 803304FC 0032D45C 7C 9F 23 78 */ mr r31, r4 -/* 80330500 0032D460 93 C1 00 08 */ stw r30, 8(r1) -/* 80330504 0032D464 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80330508 0032D468 41 82 00 68 */ beq lbl_80330570 -/* 8033050C 0032D46C 3C 60 80 3F */ lis r3, lbl_803EDE30@ha -/* 80330510 0032D470 38 03 DE 30 */ addi r0, r3, lbl_803EDE30@l -/* 80330514 0032D474 90 1E 00 00 */ stw r0, 0(r30) -/* 80330518 0032D478 80 7E 00 04 */ lwz r3, 4(r30) -/* 8033051C 0032D47C 28 03 00 00 */ cmplwi r3, 0 -/* 80330520 0032D480 41 82 00 18 */ beq lbl_80330538 -/* 80330524 0032D484 81 83 00 00 */ lwz r12, 0(r3) -/* 80330528 0032D488 38 80 00 01 */ li r4, 1 -/* 8033052C 0032D48C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80330530 0032D490 7D 89 03 A6 */ mtctr r12 -/* 80330534 0032D494 4E 80 04 21 */ bctrl -lbl_80330538: -/* 80330538 0032D498 28 1E 00 00 */ cmplwi r30, 0 -/* 8033053C 0032D49C 41 82 00 20 */ beq lbl_8033055C -/* 80330540 0032D4A0 3C 60 80 3F */ lis r3, lbl_803EC554@ha -/* 80330544 0032D4A4 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l -/* 80330548 0032D4A8 90 1E 00 00 */ stw r0, 0(r30) -/* 8033054C 0032D4AC 41 82 00 10 */ beq lbl_8033055C -/* 80330550 0032D4B0 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 80330554 0032D4B4 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 80330558 0032D4B8 90 1E 00 00 */ stw r0, 0(r30) -lbl_8033055C: -/* 8033055C 0032D4BC 7F E0 07 35 */ extsh. r0, r31 -/* 80330560 0032D4C0 40 81 00 10 */ ble lbl_80330570 -/* 80330564 0032D4C4 7F C3 F3 78 */ mr r3, r30 -/* 80330568 0032D4C8 38 80 00 08 */ li r4, 8 -/* 8033056C 0032D4CC 48 03 C4 F9 */ bl sub_8036ca64 -lbl_80330570: -/* 80330570 0032D4D0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80330574 0032D4D4 7F C3 F3 78 */ mr r3, r30 -/* 80330578 0032D4D8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8033057C 0032D4DC 83 C1 00 08 */ lwz r30, 8(r1) -/* 80330580 0032D4E0 7C 08 03 A6 */ mtlr r0 -/* 80330584 0032D4E4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80330588 0032D4E8 4E 80 00 20 */ blr - -.global __ct__19CREGetComponentBlueFP13CColorElement -__ct__19CREGetComponentBlueFP13CColorElement: -/* 8033058C 0032D4EC 3C E0 80 3F */ lis r7, lbl_803EC5A8@ha -/* 80330590 0032D4F0 3C C0 80 3F */ lis r6, lbl_803EC554@ha -/* 80330594 0032D4F4 38 07 C5 A8 */ addi r0, r7, lbl_803EC5A8@l -/* 80330598 0032D4F8 3C A0 80 3F */ lis r5, lbl_803EDE30@ha -/* 8033059C 0032D4FC 90 03 00 00 */ stw r0, 0(r3) -/* 803305A0 0032D500 38 C6 C5 54 */ addi r6, r6, lbl_803EC554@l -/* 803305A4 0032D504 38 05 DE 30 */ addi r0, r5, lbl_803EDE30@l -/* 803305A8 0032D508 90 C3 00 00 */ stw r6, 0(r3) -/* 803305AC 0032D50C 90 03 00 00 */ stw r0, 0(r3) -/* 803305B0 0032D510 90 83 00 04 */ stw r4, 4(r3) -/* 803305B4 0032D514 4E 80 00 20 */ blr - -.global GetValue__20CREGetComponentGreenCFiRf -GetValue__20CREGetComponentGreenCFiRf: -/* 803305B8 0032D518 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 803305BC 0032D51C 7C 08 02 A6 */ mflr r0 -/* 803305C0 0032D520 90 01 00 24 */ stw r0, 0x24(r1) -/* 803305C4 0032D524 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 803305C8 0032D528 7C BF 2B 78 */ mr r31, r5 -/* 803305CC 0032D52C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 803305D0 0032D530 7C 9E 23 78 */ mr r30, r4 -/* 803305D4 0032D534 93 A1 00 14 */ stw r29, 0x14(r1) -/* 803305D8 0032D538 7C 7D 1B 78 */ mr r29, r3 -/* 803305DC 0032D53C 48 01 99 D9 */ bl Black__6CColorFv -/* 803305E0 0032D540 80 03 00 00 */ lwz r0, 0(r3) -/* 803305E4 0032D544 7F C4 F3 78 */ mr r4, r30 -/* 803305E8 0032D548 80 7D 00 04 */ lwz r3, 4(r29) -/* 803305EC 0032D54C 38 A1 00 08 */ addi r5, r1, 8 -/* 803305F0 0032D550 90 01 00 08 */ stw r0, 8(r1) -/* 803305F4 0032D554 81 83 00 00 */ lwz r12, 0(r3) -/* 803305F8 0032D558 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 803305FC 0032D55C 7D 89 03 A6 */ mtctr r12 -/* 80330600 0032D560 4E 80 04 21 */ bctrl -/* 80330604 0032D564 E0 21 A0 09 */ psq_l f1, 9(r1), 1, qr2 -/* 80330608 0032D568 38 60 00 00 */ li r3, 0 -/* 8033060C 0032D56C C0 02 CB 28 */ lfs f0, lbl_805AE848@sda21(r2) -/* 80330610 0032D570 EC 00 00 72 */ fmuls f0, f0, f1 -/* 80330614 0032D574 D0 1F 00 00 */ stfs f0, 0(r31) -/* 80330618 0032D578 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8033061C 0032D57C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80330620 0032D580 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80330624 0032D584 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80330628 0032D588 7C 08 03 A6 */ mtlr r0 -/* 8033062C 0032D58C 38 21 00 20 */ addi r1, r1, 0x20 -/* 80330630 0032D590 4E 80 00 20 */ blr - -.global __dt__20CREGetComponentGreen -__dt__20CREGetComponentGreen: -/* 80330634 0032D594 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80330638 0032D598 7C 08 02 A6 */ mflr r0 -/* 8033063C 0032D59C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80330640 0032D5A0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80330644 0032D5A4 7C 9F 23 78 */ mr r31, r4 -/* 80330648 0032D5A8 93 C1 00 08 */ stw r30, 8(r1) -/* 8033064C 0032D5AC 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80330650 0032D5B0 41 82 00 68 */ beq lbl_803306B8 -/* 80330654 0032D5B4 3C 60 80 3F */ lis r3, lbl_803EDE44@ha -/* 80330658 0032D5B8 38 03 DE 44 */ addi r0, r3, lbl_803EDE44@l -/* 8033065C 0032D5BC 90 1E 00 00 */ stw r0, 0(r30) -/* 80330660 0032D5C0 80 7E 00 04 */ lwz r3, 4(r30) -/* 80330664 0032D5C4 28 03 00 00 */ cmplwi r3, 0 -/* 80330668 0032D5C8 41 82 00 18 */ beq lbl_80330680 -/* 8033066C 0032D5CC 81 83 00 00 */ lwz r12, 0(r3) -/* 80330670 0032D5D0 38 80 00 01 */ li r4, 1 -/* 80330674 0032D5D4 81 8C 00 08 */ lwz r12, 8(r12) -/* 80330678 0032D5D8 7D 89 03 A6 */ mtctr r12 -/* 8033067C 0032D5DC 4E 80 04 21 */ bctrl -lbl_80330680: -/* 80330680 0032D5E0 28 1E 00 00 */ cmplwi r30, 0 -/* 80330684 0032D5E4 41 82 00 20 */ beq lbl_803306A4 -/* 80330688 0032D5E8 3C 60 80 3F */ lis r3, lbl_803EC554@ha -/* 8033068C 0032D5EC 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l -/* 80330690 0032D5F0 90 1E 00 00 */ stw r0, 0(r30) -/* 80330694 0032D5F4 41 82 00 10 */ beq lbl_803306A4 -/* 80330698 0032D5F8 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 8033069C 0032D5FC 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 803306A0 0032D600 90 1E 00 00 */ stw r0, 0(r30) -lbl_803306A4: -/* 803306A4 0032D604 7F E0 07 35 */ extsh. r0, r31 -/* 803306A8 0032D608 40 81 00 10 */ ble lbl_803306B8 -/* 803306AC 0032D60C 7F C3 F3 78 */ mr r3, r30 -/* 803306B0 0032D610 38 80 00 08 */ li r4, 8 -/* 803306B4 0032D614 48 03 C3 B1 */ bl sub_8036ca64 -lbl_803306B8: -/* 803306B8 0032D618 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803306BC 0032D61C 7F C3 F3 78 */ mr r3, r30 -/* 803306C0 0032D620 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 803306C4 0032D624 83 C1 00 08 */ lwz r30, 8(r1) -/* 803306C8 0032D628 7C 08 03 A6 */ mtlr r0 -/* 803306CC 0032D62C 38 21 00 10 */ addi r1, r1, 0x10 -/* 803306D0 0032D630 4E 80 00 20 */ blr - -.global __ct__20CREGetComponentGreenFP13CColorElement -__ct__20CREGetComponentGreenFP13CColorElement: -/* 803306D4 0032D634 3C E0 80 3F */ lis r7, lbl_803EC5A8@ha -/* 803306D8 0032D638 3C C0 80 3F */ lis r6, lbl_803EC554@ha -/* 803306DC 0032D63C 38 07 C5 A8 */ addi r0, r7, lbl_803EC5A8@l -/* 803306E0 0032D640 3C A0 80 3F */ lis r5, lbl_803EDE44@ha -/* 803306E4 0032D644 90 03 00 00 */ stw r0, 0(r3) -/* 803306E8 0032D648 38 C6 C5 54 */ addi r6, r6, lbl_803EC554@l -/* 803306EC 0032D64C 38 05 DE 44 */ addi r0, r5, lbl_803EDE44@l -/* 803306F0 0032D650 90 C3 00 00 */ stw r6, 0(r3) -/* 803306F4 0032D654 90 03 00 00 */ stw r0, 0(r3) -/* 803306F8 0032D658 90 83 00 04 */ stw r4, 4(r3) -/* 803306FC 0032D65C 4E 80 00 20 */ blr - -.global GetValue__18CREGetComponentRedCFiRf -GetValue__18CREGetComponentRedCFiRf: -/* 80330700 0032D660 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80330704 0032D664 7C 08 02 A6 */ mflr r0 -/* 80330708 0032D668 90 01 00 24 */ stw r0, 0x24(r1) -/* 8033070C 0032D66C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80330710 0032D670 7C BF 2B 78 */ mr r31, r5 -/* 80330714 0032D674 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80330718 0032D678 7C 9E 23 78 */ mr r30, r4 -/* 8033071C 0032D67C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80330720 0032D680 7C 7D 1B 78 */ mr r29, r3 -/* 80330724 0032D684 48 01 98 91 */ bl Black__6CColorFv -/* 80330728 0032D688 80 03 00 00 */ lwz r0, 0(r3) -/* 8033072C 0032D68C 7F C4 F3 78 */ mr r4, r30 -/* 80330730 0032D690 80 7D 00 04 */ lwz r3, 4(r29) -/* 80330734 0032D694 38 A1 00 08 */ addi r5, r1, 8 -/* 80330738 0032D698 90 01 00 08 */ stw r0, 8(r1) -/* 8033073C 0032D69C 81 83 00 00 */ lwz r12, 0(r3) -/* 80330740 0032D6A0 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80330744 0032D6A4 7D 89 03 A6 */ mtctr r12 -/* 80330748 0032D6A8 4E 80 04 21 */ bctrl -/* 8033074C 0032D6AC E0 21 A0 08 */ psq_l f1, 8(r1), 1, qr2 -/* 80330750 0032D6B0 38 60 00 00 */ li r3, 0 -/* 80330754 0032D6B4 C0 02 CB 28 */ lfs f0, lbl_805AE848@sda21(r2) -/* 80330758 0032D6B8 EC 00 00 72 */ fmuls f0, f0, f1 -/* 8033075C 0032D6BC D0 1F 00 00 */ stfs f0, 0(r31) -/* 80330760 0032D6C0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80330764 0032D6C4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80330768 0032D6C8 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8033076C 0032D6CC 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80330770 0032D6D0 7C 08 03 A6 */ mtlr r0 -/* 80330774 0032D6D4 38 21 00 20 */ addi r1, r1, 0x20 -/* 80330778 0032D6D8 4E 80 00 20 */ blr - -.global __dt__18CREGetComponentRed -__dt__18CREGetComponentRed: -/* 8033077C 0032D6DC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80330780 0032D6E0 7C 08 02 A6 */ mflr r0 -/* 80330784 0032D6E4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80330788 0032D6E8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8033078C 0032D6EC 7C 9F 23 78 */ mr r31, r4 -/* 80330790 0032D6F0 93 C1 00 08 */ stw r30, 8(r1) -/* 80330794 0032D6F4 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80330798 0032D6F8 41 82 00 68 */ beq lbl_80330800 -/* 8033079C 0032D6FC 3C 60 80 3F */ lis r3, lbl_803EDE58@ha -/* 803307A0 0032D700 38 03 DE 58 */ addi r0, r3, lbl_803EDE58@l -/* 803307A4 0032D704 90 1E 00 00 */ stw r0, 0(r30) -/* 803307A8 0032D708 80 7E 00 04 */ lwz r3, 4(r30) -/* 803307AC 0032D70C 28 03 00 00 */ cmplwi r3, 0 -/* 803307B0 0032D710 41 82 00 18 */ beq lbl_803307C8 -/* 803307B4 0032D714 81 83 00 00 */ lwz r12, 0(r3) -/* 803307B8 0032D718 38 80 00 01 */ li r4, 1 -/* 803307BC 0032D71C 81 8C 00 08 */ lwz r12, 8(r12) -/* 803307C0 0032D720 7D 89 03 A6 */ mtctr r12 -/* 803307C4 0032D724 4E 80 04 21 */ bctrl -lbl_803307C8: -/* 803307C8 0032D728 28 1E 00 00 */ cmplwi r30, 0 -/* 803307CC 0032D72C 41 82 00 20 */ beq lbl_803307EC -/* 803307D0 0032D730 3C 60 80 3F */ lis r3, lbl_803EC554@ha -/* 803307D4 0032D734 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l -/* 803307D8 0032D738 90 1E 00 00 */ stw r0, 0(r30) -/* 803307DC 0032D73C 41 82 00 10 */ beq lbl_803307EC -/* 803307E0 0032D740 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 803307E4 0032D744 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 803307E8 0032D748 90 1E 00 00 */ stw r0, 0(r30) -lbl_803307EC: -/* 803307EC 0032D74C 7F E0 07 35 */ extsh. r0, r31 -/* 803307F0 0032D750 40 81 00 10 */ ble lbl_80330800 -/* 803307F4 0032D754 7F C3 F3 78 */ mr r3, r30 -/* 803307F8 0032D758 38 80 00 08 */ li r4, 8 -/* 803307FC 0032D75C 48 03 C2 69 */ bl sub_8036ca64 -lbl_80330800: -/* 80330800 0032D760 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80330804 0032D764 7F C3 F3 78 */ mr r3, r30 -/* 80330808 0032D768 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8033080C 0032D76C 83 C1 00 08 */ lwz r30, 8(r1) -/* 80330810 0032D770 7C 08 03 A6 */ mtlr r0 -/* 80330814 0032D774 38 21 00 10 */ addi r1, r1, 0x10 -/* 80330818 0032D778 4E 80 00 20 */ blr - -.global __ct__18CREGetComponentRedFP13CColorElement -__ct__18CREGetComponentRedFP13CColorElement: -/* 8033081C 0032D77C 3C E0 80 3F */ lis r7, lbl_803EC5A8@ha -/* 80330820 0032D780 3C C0 80 3F */ lis r6, lbl_803EC554@ha -/* 80330824 0032D784 38 07 C5 A8 */ addi r0, r7, lbl_803EC5A8@l -/* 80330828 0032D788 3C A0 80 3F */ lis r5, lbl_803EDE58@ha -/* 8033082C 0032D78C 90 03 00 00 */ stw r0, 0(r3) -/* 80330830 0032D790 38 C6 C5 54 */ addi r6, r6, lbl_803EC554@l -/* 80330834 0032D794 38 05 DE 58 */ addi r0, r5, lbl_803EDE58@l -/* 80330838 0032D798 90 C3 00 00 */ stw r6, 0(r3) -/* 8033083C 0032D79C 90 03 00 00 */ stw r0, 0(r3) -/* 80330840 0032D7A0 90 83 00 04 */ stw r4, 4(r3) -/* 80330844 0032D7A4 4E 80 00 20 */ blr - -.global GetValue__11CRESubtractCFiRf -GetValue__11CRESubtractCFiRf: -/* 80330848 0032D7A8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8033084C 0032D7AC 7C 08 02 A6 */ mflr r0 -/* 80330850 0032D7B0 C0 02 CB 2C */ lfs f0, lbl_805AE84C@sda21(r2) -/* 80330854 0032D7B4 90 01 00 24 */ stw r0, 0x24(r1) -/* 80330858 0032D7B8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8033085C 0032D7BC 7C BF 2B 78 */ mr r31, r5 -/* 80330860 0032D7C0 38 A1 00 0C */ addi r5, r1, 0xc -/* 80330864 0032D7C4 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80330868 0032D7C8 7C 9E 23 78 */ mr r30, r4 -/* 8033086C 0032D7CC 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80330870 0032D7D0 7C 7D 1B 78 */ mr r29, r3 -/* 80330874 0032D7D4 80 63 00 04 */ lwz r3, 4(r3) -/* 80330878 0032D7D8 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 8033087C 0032D7DC D0 01 00 08 */ stfs f0, 8(r1) -/* 80330880 0032D7E0 81 83 00 00 */ lwz r12, 0(r3) -/* 80330884 0032D7E4 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80330888 0032D7E8 7D 89 03 A6 */ mtctr r12 -/* 8033088C 0032D7EC 4E 80 04 21 */ bctrl -/* 80330890 0032D7F0 80 7D 00 08 */ lwz r3, 8(r29) -/* 80330894 0032D7F4 7F C4 F3 78 */ mr r4, r30 -/* 80330898 0032D7F8 38 A1 00 08 */ addi r5, r1, 8 -/* 8033089C 0032D7FC 81 83 00 00 */ lwz r12, 0(r3) -/* 803308A0 0032D800 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 803308A4 0032D804 7D 89 03 A6 */ mtctr r12 -/* 803308A8 0032D808 4E 80 04 21 */ bctrl -/* 803308AC 0032D80C C0 21 00 0C */ lfs f1, 0xc(r1) -/* 803308B0 0032D810 38 60 00 00 */ li r3, 0 -/* 803308B4 0032D814 C0 01 00 08 */ lfs f0, 8(r1) -/* 803308B8 0032D818 EC 01 00 28 */ fsubs f0, f1, f0 -/* 803308BC 0032D81C D0 1F 00 00 */ stfs f0, 0(r31) -/* 803308C0 0032D820 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 803308C4 0032D824 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 803308C8 0032D828 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 803308CC 0032D82C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 803308D0 0032D830 7C 08 03 A6 */ mtlr r0 -/* 803308D4 0032D834 38 21 00 20 */ addi r1, r1, 0x20 -/* 803308D8 0032D838 4E 80 00 20 */ blr - -.global __dt__11CRESubtract -__dt__11CRESubtract: -/* 803308DC 0032D83C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803308E0 0032D840 7C 08 02 A6 */ mflr r0 -/* 803308E4 0032D844 90 01 00 14 */ stw r0, 0x14(r1) -/* 803308E8 0032D848 93 E1 00 0C */ stw r31, 0xc(r1) -/* 803308EC 0032D84C 7C 9F 23 78 */ mr r31, r4 -/* 803308F0 0032D850 93 C1 00 08 */ stw r30, 8(r1) -/* 803308F4 0032D854 7C 7E 1B 79 */ or. r30, r3, r3 -/* 803308F8 0032D858 41 82 00 88 */ beq lbl_80330980 -/* 803308FC 0032D85C 3C 60 80 3F */ lis r3, lbl_803EDE6C@ha -/* 80330900 0032D860 38 03 DE 6C */ addi r0, r3, lbl_803EDE6C@l -/* 80330904 0032D864 90 1E 00 00 */ stw r0, 0(r30) -/* 80330908 0032D868 80 7E 00 04 */ lwz r3, 4(r30) -/* 8033090C 0032D86C 28 03 00 00 */ cmplwi r3, 0 -/* 80330910 0032D870 41 82 00 18 */ beq lbl_80330928 -/* 80330914 0032D874 81 83 00 00 */ lwz r12, 0(r3) -/* 80330918 0032D878 38 80 00 01 */ li r4, 1 -/* 8033091C 0032D87C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80330920 0032D880 7D 89 03 A6 */ mtctr r12 -/* 80330924 0032D884 4E 80 04 21 */ bctrl -lbl_80330928: -/* 80330928 0032D888 80 7E 00 08 */ lwz r3, 8(r30) -/* 8033092C 0032D88C 28 03 00 00 */ cmplwi r3, 0 -/* 80330930 0032D890 41 82 00 18 */ beq lbl_80330948 -/* 80330934 0032D894 81 83 00 00 */ lwz r12, 0(r3) -/* 80330938 0032D898 38 80 00 01 */ li r4, 1 -/* 8033093C 0032D89C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80330940 0032D8A0 7D 89 03 A6 */ mtctr r12 -/* 80330944 0032D8A4 4E 80 04 21 */ bctrl -lbl_80330948: -/* 80330948 0032D8A8 28 1E 00 00 */ cmplwi r30, 0 -/* 8033094C 0032D8AC 41 82 00 20 */ beq lbl_8033096C -/* 80330950 0032D8B0 3C 60 80 3F */ lis r3, lbl_803EC554@ha -/* 80330954 0032D8B4 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l -/* 80330958 0032D8B8 90 1E 00 00 */ stw r0, 0(r30) -/* 8033095C 0032D8BC 41 82 00 10 */ beq lbl_8033096C -/* 80330960 0032D8C0 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 80330964 0032D8C4 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 80330968 0032D8C8 90 1E 00 00 */ stw r0, 0(r30) -lbl_8033096C: -/* 8033096C 0032D8CC 7F E0 07 35 */ extsh. r0, r31 -/* 80330970 0032D8D0 40 81 00 10 */ ble lbl_80330980 -/* 80330974 0032D8D4 7F C3 F3 78 */ mr r3, r30 -/* 80330978 0032D8D8 38 80 00 0C */ li r4, 0xc -/* 8033097C 0032D8DC 48 03 C0 E9 */ bl sub_8036ca64 -lbl_80330980: -/* 80330980 0032D8E0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80330984 0032D8E4 7F C3 F3 78 */ mr r3, r30 -/* 80330988 0032D8E8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8033098C 0032D8EC 83 C1 00 08 */ lwz r30, 8(r1) -/* 80330990 0032D8F0 7C 08 03 A6 */ mtlr r0 -/* 80330994 0032D8F4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80330998 0032D8F8 4E 80 00 20 */ blr - -.global __ct__11CRESubtractFP12CRealElementP12CRealElement -__ct__11CRESubtractFP12CRealElementP12CRealElement: -/* 8033099C 0032D8FC 3D 00 80 3F */ lis r8, lbl_803EC5A8@ha -/* 803309A0 0032D900 3C E0 80 3F */ lis r7, lbl_803EC554@ha -/* 803309A4 0032D904 38 08 C5 A8 */ addi r0, r8, lbl_803EC5A8@l -/* 803309A8 0032D908 3C C0 80 3F */ lis r6, lbl_803EDE6C@ha -/* 803309AC 0032D90C 90 03 00 00 */ stw r0, 0(r3) -/* 803309B0 0032D910 38 E7 C5 54 */ addi r7, r7, lbl_803EC554@l -/* 803309B4 0032D914 38 06 DE 6C */ addi r0, r6, lbl_803EDE6C@l -/* 803309B8 0032D918 90 E3 00 00 */ stw r7, 0(r3) -/* 803309BC 0032D91C 90 03 00 00 */ stw r0, 0(r3) -/* 803309C0 0032D920 90 83 00 04 */ stw r4, 4(r3) -/* 803309C4 0032D924 90 A3 00 08 */ stw r5, 8(r3) -/* 803309C8 0032D928 4E 80 00 20 */ blr - -.global GetValue__7CRECEXTCFiRf -GetValue__7CRECEXTCFiRf: -/* 803309CC 0032D92C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 803309D0 0032D930 7C 08 02 A6 */ mflr r0 -/* 803309D4 0032D934 90 01 00 24 */ stw r0, 0x24(r1) -/* 803309D8 0032D938 38 00 00 00 */ li r0, 0 -/* 803309DC 0032D93C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 803309E0 0032D940 7C BF 2B 78 */ mr r31, r5 -/* 803309E4 0032D944 38 A1 00 08 */ addi r5, r1, 8 -/* 803309E8 0032D948 90 01 00 08 */ stw r0, 8(r1) -/* 803309EC 0032D94C 80 63 00 04 */ lwz r3, 4(r3) -/* 803309F0 0032D950 81 83 00 00 */ lwz r12, 0(r3) -/* 803309F4 0032D954 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 803309F8 0032D958 7D 89 03 A6 */ mtctr r12 -/* 803309FC 0032D95C 4E 80 04 21 */ bctrl -/* 80330A00 0032D960 80 6D 9D 20 */ lwz r3, lbl_805A88E0@sda21(r13) -/* 80330A04 0032D964 38 8D 9D 20 */ addi r4, r13, lbl_805A88E0@sda21 -/* 80330A08 0032D968 80 01 00 08 */ lwz r0, 8(r1) -/* 80330A0C 0032D96C 7C 03 00 00 */ cmpw r3, r0 -/* 80330A10 0032D970 40 80 00 08 */ bge lbl_80330A18 -/* 80330A14 0032D974 38 81 00 08 */ addi r4, r1, 8 -lbl_80330A18: -/* 80330A18 0032D978 80 A4 00 00 */ lwz r5, 0(r4) -/* 80330A1C 0032D97C 80 6D A8 F4 */ lwz r3, lbl_805A94B4@sda21(r13) -/* 80330A20 0032D980 54 A0 E0 06 */ slwi r0, r5, 0x1c -/* 80330A24 0032D984 54 A4 0F FE */ srwi r4, r5, 0x1f -/* 80330A28 0032D988 7C 04 00 50 */ subf r0, r4, r0 -/* 80330A2C 0032D98C 90 A1 00 08 */ stw r5, 8(r1) -/* 80330A30 0032D990 54 00 20 3E */ rotlwi r0, r0, 4 -/* 80330A34 0032D994 7C 80 22 14 */ add r4, r0, r4 -/* 80330A38 0032D998 90 81 00 08 */ stw r4, 8(r1) -/* 80330A3C 0032D99C 80 63 00 04 */ lwz r3, 4(r3) -/* 80330A40 0032D9A0 4B FE 6C 2D */ bl GetCEXTValue__11CElementGenCFi -/* 80330A44 0032D9A4 D0 3F 00 00 */ stfs f1, 0(r31) -/* 80330A48 0032D9A8 38 60 00 00 */ li r3, 0 -/* 80330A4C 0032D9AC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80330A50 0032D9B0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80330A54 0032D9B4 7C 08 03 A6 */ mtlr r0 -/* 80330A58 0032D9B8 38 21 00 20 */ addi r1, r1, 0x20 -/* 80330A5C 0032D9BC 4E 80 00 20 */ blr - -.global __dt__7CRECEXT -__dt__7CRECEXT: -/* 80330A60 0032D9C0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80330A64 0032D9C4 7C 08 02 A6 */ mflr r0 -/* 80330A68 0032D9C8 90 01 00 14 */ stw r0, 0x14(r1) -/* 80330A6C 0032D9CC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80330A70 0032D9D0 7C 9F 23 78 */ mr r31, r4 -/* 80330A74 0032D9D4 93 C1 00 08 */ stw r30, 8(r1) -/* 80330A78 0032D9D8 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80330A7C 0032D9DC 41 82 00 68 */ beq lbl_80330AE4 -/* 80330A80 0032D9E0 3C 60 80 3F */ lis r3, lbl_803EDE80@ha -/* 80330A84 0032D9E4 38 03 DE 80 */ addi r0, r3, lbl_803EDE80@l -/* 80330A88 0032D9E8 90 1E 00 00 */ stw r0, 0(r30) -/* 80330A8C 0032D9EC 80 7E 00 04 */ lwz r3, 4(r30) -/* 80330A90 0032D9F0 28 03 00 00 */ cmplwi r3, 0 -/* 80330A94 0032D9F4 41 82 00 18 */ beq lbl_80330AAC -/* 80330A98 0032D9F8 81 83 00 00 */ lwz r12, 0(r3) -/* 80330A9C 0032D9FC 38 80 00 01 */ li r4, 1 -/* 80330AA0 0032DA00 81 8C 00 08 */ lwz r12, 8(r12) -/* 80330AA4 0032DA04 7D 89 03 A6 */ mtctr r12 -/* 80330AA8 0032DA08 4E 80 04 21 */ bctrl -lbl_80330AAC: -/* 80330AAC 0032DA0C 28 1E 00 00 */ cmplwi r30, 0 -/* 80330AB0 0032DA10 41 82 00 20 */ beq lbl_80330AD0 -/* 80330AB4 0032DA14 3C 60 80 3F */ lis r3, lbl_803EC554@ha -/* 80330AB8 0032DA18 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l -/* 80330ABC 0032DA1C 90 1E 00 00 */ stw r0, 0(r30) -/* 80330AC0 0032DA20 41 82 00 10 */ beq lbl_80330AD0 -/* 80330AC4 0032DA24 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 80330AC8 0032DA28 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 80330ACC 0032DA2C 90 1E 00 00 */ stw r0, 0(r30) -lbl_80330AD0: -/* 80330AD0 0032DA30 7F E0 07 35 */ extsh. r0, r31 -/* 80330AD4 0032DA34 40 81 00 10 */ ble lbl_80330AE4 -/* 80330AD8 0032DA38 7F C3 F3 78 */ mr r3, r30 -/* 80330ADC 0032DA3C 38 80 00 08 */ li r4, 8 -/* 80330AE0 0032DA40 48 03 BF 85 */ bl sub_8036ca64 -lbl_80330AE4: -/* 80330AE4 0032DA44 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80330AE8 0032DA48 7F C3 F3 78 */ mr r3, r30 -/* 80330AEC 0032DA4C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80330AF0 0032DA50 83 C1 00 08 */ lwz r30, 8(r1) -/* 80330AF4 0032DA54 7C 08 03 A6 */ mtlr r0 -/* 80330AF8 0032DA58 38 21 00 10 */ addi r1, r1, 0x10 -/* 80330AFC 0032DA5C 4E 80 00 20 */ blr - -.global __ct__7CRECEXTFP11CIntElement -__ct__7CRECEXTFP11CIntElement: -/* 80330B00 0032DA60 3C E0 80 3F */ lis r7, lbl_803EC5A8@ha -/* 80330B04 0032DA64 3C C0 80 3F */ lis r6, lbl_803EC554@ha -/* 80330B08 0032DA68 38 07 C5 A8 */ addi r0, r7, lbl_803EC5A8@l -/* 80330B0C 0032DA6C 3C A0 80 3F */ lis r5, lbl_803EDE80@ha -/* 80330B10 0032DA70 90 03 00 00 */ stw r0, 0(r3) -/* 80330B14 0032DA74 38 C6 C5 54 */ addi r6, r6, lbl_803EC554@l -/* 80330B18 0032DA78 38 05 DE 80 */ addi r0, r5, lbl_803EDE80@l -/* 80330B1C 0032DA7C 90 C3 00 00 */ stw r6, 0(r3) -/* 80330B20 0032DA80 90 03 00 00 */ stw r0, 0(r3) -/* 80330B24 0032DA84 90 83 00 04 */ stw r4, 4(r3) -/* 80330B28 0032DA88 4E 80 00 20 */ blr - -.global GetValue__16CREConstantRangeCFiRf -GetValue__16CREConstantRangeCFiRf: -/* 80330B2C 0032DA8C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80330B30 0032DA90 7C 08 02 A6 */ mflr r0 -/* 80330B34 0032DA94 90 01 00 34 */ stw r0, 0x34(r1) -/* 80330B38 0032DA98 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80330B3C 0032DA9C 7C BF 2B 78 */ mr r31, r5 -/* 80330B40 0032DAA0 38 A1 00 10 */ addi r5, r1, 0x10 -/* 80330B44 0032DAA4 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80330B48 0032DAA8 7C 9E 23 78 */ mr r30, r4 -/* 80330B4C 0032DAAC 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80330B50 0032DAB0 7C 7D 1B 78 */ mr r29, r3 -/* 80330B54 0032DAB4 80 63 00 04 */ lwz r3, 4(r3) -/* 80330B58 0032DAB8 81 83 00 00 */ lwz r12, 0(r3) -/* 80330B5C 0032DABC 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80330B60 0032DAC0 7D 89 03 A6 */ mtctr r12 -/* 80330B64 0032DAC4 4E 80 04 21 */ bctrl -/* 80330B68 0032DAC8 80 7D 00 08 */ lwz r3, 8(r29) -/* 80330B6C 0032DACC 7F C4 F3 78 */ mr r4, r30 -/* 80330B70 0032DAD0 38 A1 00 0C */ addi r5, r1, 0xc -/* 80330B74 0032DAD4 81 83 00 00 */ lwz r12, 0(r3) -/* 80330B78 0032DAD8 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80330B7C 0032DADC 7D 89 03 A6 */ mtctr r12 -/* 80330B80 0032DAE0 4E 80 04 21 */ bctrl -/* 80330B84 0032DAE4 80 7D 00 0C */ lwz r3, 0xc(r29) -/* 80330B88 0032DAE8 7F C4 F3 78 */ mr r4, r30 -/* 80330B8C 0032DAEC 38 A1 00 08 */ addi r5, r1, 8 -/* 80330B90 0032DAF0 81 83 00 00 */ lwz r12, 0(r3) -/* 80330B94 0032DAF4 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80330B98 0032DAF8 7D 89 03 A6 */ mtctr r12 -/* 80330B9C 0032DAFC 4E 80 04 21 */ bctrl -/* 80330BA0 0032DB00 C0 21 00 10 */ lfs f1, 0x10(r1) -/* 80330BA4 0032DB04 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 80330BA8 0032DB08 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80330BAC 0032DB0C 40 81 00 30 */ ble lbl_80330BDC -/* 80330BB0 0032DB10 C0 01 00 08 */ lfs f0, 8(r1) -/* 80330BB4 0032DB14 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80330BB8 0032DB18 40 80 00 24 */ bge lbl_80330BDC -/* 80330BBC 0032DB1C 80 7D 00 10 */ lwz r3, 0x10(r29) -/* 80330BC0 0032DB20 7F C4 F3 78 */ mr r4, r30 -/* 80330BC4 0032DB24 7F E5 FB 78 */ mr r5, r31 -/* 80330BC8 0032DB28 81 83 00 00 */ lwz r12, 0(r3) -/* 80330BCC 0032DB2C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80330BD0 0032DB30 7D 89 03 A6 */ mtctr r12 -/* 80330BD4 0032DB34 4E 80 04 21 */ bctrl -/* 80330BD8 0032DB38 48 00 00 20 */ b lbl_80330BF8 -lbl_80330BDC: -/* 80330BDC 0032DB3C 80 7D 00 14 */ lwz r3, 0x14(r29) -/* 80330BE0 0032DB40 7F C4 F3 78 */ mr r4, r30 -/* 80330BE4 0032DB44 7F E5 FB 78 */ mr r5, r31 -/* 80330BE8 0032DB48 81 83 00 00 */ lwz r12, 0(r3) -/* 80330BEC 0032DB4C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80330BF0 0032DB50 7D 89 03 A6 */ mtctr r12 -/* 80330BF4 0032DB54 4E 80 04 21 */ bctrl -lbl_80330BF8: -/* 80330BF8 0032DB58 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80330BFC 0032DB5C 38 60 00 00 */ li r3, 0 -/* 80330C00 0032DB60 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80330C04 0032DB64 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80330C08 0032DB68 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80330C0C 0032DB6C 7C 08 03 A6 */ mtlr r0 -/* 80330C10 0032DB70 38 21 00 30 */ addi r1, r1, 0x30 -/* 80330C14 0032DB74 4E 80 00 20 */ blr - -.global __dt__16CREConstantRange -__dt__16CREConstantRange: -/* 80330C18 0032DB78 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80330C1C 0032DB7C 7C 08 02 A6 */ mflr r0 -/* 80330C20 0032DB80 90 01 00 14 */ stw r0, 0x14(r1) -/* 80330C24 0032DB84 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80330C28 0032DB88 7C 9F 23 78 */ mr r31, r4 -/* 80330C2C 0032DB8C 93 C1 00 08 */ stw r30, 8(r1) -/* 80330C30 0032DB90 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80330C34 0032DB94 41 82 00 E8 */ beq lbl_80330D1C -/* 80330C38 0032DB98 3C 60 80 3F */ lis r3, lbl_803EDE94@ha -/* 80330C3C 0032DB9C 38 03 DE 94 */ addi r0, r3, lbl_803EDE94@l -/* 80330C40 0032DBA0 90 1E 00 00 */ stw r0, 0(r30) -/* 80330C44 0032DBA4 80 7E 00 04 */ lwz r3, 4(r30) -/* 80330C48 0032DBA8 28 03 00 00 */ cmplwi r3, 0 -/* 80330C4C 0032DBAC 41 82 00 18 */ beq lbl_80330C64 -/* 80330C50 0032DBB0 81 83 00 00 */ lwz r12, 0(r3) -/* 80330C54 0032DBB4 38 80 00 01 */ li r4, 1 -/* 80330C58 0032DBB8 81 8C 00 08 */ lwz r12, 8(r12) -/* 80330C5C 0032DBBC 7D 89 03 A6 */ mtctr r12 -/* 80330C60 0032DBC0 4E 80 04 21 */ bctrl -lbl_80330C64: -/* 80330C64 0032DBC4 80 7E 00 08 */ lwz r3, 8(r30) -/* 80330C68 0032DBC8 28 03 00 00 */ cmplwi r3, 0 -/* 80330C6C 0032DBCC 41 82 00 18 */ beq lbl_80330C84 -/* 80330C70 0032DBD0 81 83 00 00 */ lwz r12, 0(r3) -/* 80330C74 0032DBD4 38 80 00 01 */ li r4, 1 -/* 80330C78 0032DBD8 81 8C 00 08 */ lwz r12, 8(r12) -/* 80330C7C 0032DBDC 7D 89 03 A6 */ mtctr r12 -/* 80330C80 0032DBE0 4E 80 04 21 */ bctrl -lbl_80330C84: -/* 80330C84 0032DBE4 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 80330C88 0032DBE8 28 03 00 00 */ cmplwi r3, 0 -/* 80330C8C 0032DBEC 41 82 00 18 */ beq lbl_80330CA4 -/* 80330C90 0032DBF0 81 83 00 00 */ lwz r12, 0(r3) -/* 80330C94 0032DBF4 38 80 00 01 */ li r4, 1 -/* 80330C98 0032DBF8 81 8C 00 08 */ lwz r12, 8(r12) -/* 80330C9C 0032DBFC 7D 89 03 A6 */ mtctr r12 -/* 80330CA0 0032DC00 4E 80 04 21 */ bctrl -lbl_80330CA4: -/* 80330CA4 0032DC04 80 7E 00 10 */ lwz r3, 0x10(r30) -/* 80330CA8 0032DC08 28 03 00 00 */ cmplwi r3, 0 -/* 80330CAC 0032DC0C 41 82 00 18 */ beq lbl_80330CC4 -/* 80330CB0 0032DC10 81 83 00 00 */ lwz r12, 0(r3) -/* 80330CB4 0032DC14 38 80 00 01 */ li r4, 1 -/* 80330CB8 0032DC18 81 8C 00 08 */ lwz r12, 8(r12) -/* 80330CBC 0032DC1C 7D 89 03 A6 */ mtctr r12 -/* 80330CC0 0032DC20 4E 80 04 21 */ bctrl -lbl_80330CC4: -/* 80330CC4 0032DC24 80 7E 00 14 */ lwz r3, 0x14(r30) -/* 80330CC8 0032DC28 28 03 00 00 */ cmplwi r3, 0 -/* 80330CCC 0032DC2C 41 82 00 18 */ beq lbl_80330CE4 -/* 80330CD0 0032DC30 81 83 00 00 */ lwz r12, 0(r3) -/* 80330CD4 0032DC34 38 80 00 01 */ li r4, 1 -/* 80330CD8 0032DC38 81 8C 00 08 */ lwz r12, 8(r12) -/* 80330CDC 0032DC3C 7D 89 03 A6 */ mtctr r12 -/* 80330CE0 0032DC40 4E 80 04 21 */ bctrl -lbl_80330CE4: -/* 80330CE4 0032DC44 28 1E 00 00 */ cmplwi r30, 0 -/* 80330CE8 0032DC48 41 82 00 20 */ beq lbl_80330D08 -/* 80330CEC 0032DC4C 3C 60 80 3F */ lis r3, lbl_803EC554@ha -/* 80330CF0 0032DC50 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l -/* 80330CF4 0032DC54 90 1E 00 00 */ stw r0, 0(r30) -/* 80330CF8 0032DC58 41 82 00 10 */ beq lbl_80330D08 -/* 80330CFC 0032DC5C 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 80330D00 0032DC60 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 80330D04 0032DC64 90 1E 00 00 */ stw r0, 0(r30) -lbl_80330D08: -/* 80330D08 0032DC68 7F E0 07 35 */ extsh. r0, r31 -/* 80330D0C 0032DC6C 40 81 00 10 */ ble lbl_80330D1C -/* 80330D10 0032DC70 7F C3 F3 78 */ mr r3, r30 -/* 80330D14 0032DC74 38 80 00 18 */ li r4, 0x18 -/* 80330D18 0032DC78 48 03 BD 4D */ bl sub_8036ca64 -lbl_80330D1C: -/* 80330D1C 0032DC7C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80330D20 0032DC80 7F C3 F3 78 */ mr r3, r30 -/* 80330D24 0032DC84 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80330D28 0032DC88 83 C1 00 08 */ lwz r30, 8(r1) -/* 80330D2C 0032DC8C 7C 08 03 A6 */ mtlr r0 -/* 80330D30 0032DC90 38 21 00 10 */ addi r1, r1, 0x10 -/* 80330D34 0032DC94 4E 80 00 20 */ blr - -.global __ct__16CREConstantRangeFP12CRealElementP12CRealElementP12CRealElementP12CRealElementP12CRealElement -__ct__16CREConstantRangeFP12CRealElementP12CRealElementP12CRealElementP12CRealElementP12CRealElement: -/* 80330D38 0032DC98 3D 60 80 3F */ lis r11, lbl_803EC5A8@ha -/* 80330D3C 0032DC9C 3D 40 80 3F */ lis r10, lbl_803EC554@ha -/* 80330D40 0032DCA0 38 0B C5 A8 */ addi r0, r11, lbl_803EC5A8@l -/* 80330D44 0032DCA4 3D 20 80 3F */ lis r9, lbl_803EDE94@ha -/* 80330D48 0032DCA8 90 03 00 00 */ stw r0, 0(r3) -/* 80330D4C 0032DCAC 39 4A C5 54 */ addi r10, r10, lbl_803EC554@l -/* 80330D50 0032DCB0 38 09 DE 94 */ addi r0, r9, lbl_803EDE94@l -/* 80330D54 0032DCB4 91 43 00 00 */ stw r10, 0(r3) -/* 80330D58 0032DCB8 90 03 00 00 */ stw r0, 0(r3) -/* 80330D5C 0032DCBC 90 83 00 04 */ stw r4, 4(r3) -/* 80330D60 0032DCC0 90 A3 00 08 */ stw r5, 8(r3) -/* 80330D64 0032DCC4 90 C3 00 0C */ stw r6, 0xc(r3) -/* 80330D68 0032DCC8 90 E3 00 10 */ stw r7, 0x10(r3) -/* 80330D6C 0032DCCC 91 03 00 14 */ stw r8, 0x14(r3) -/* 80330D70 0032DCD0 4E 80 00 20 */ blr - -.global GetValue__15CRECompareEqualCFiRf -GetValue__15CRECompareEqualCFiRf: -/* 80330D74 0032DCD4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80330D78 0032DCD8 7C 08 02 A6 */ mflr r0 -/* 80330D7C 0032DCDC 90 01 00 24 */ stw r0, 0x24(r1) -/* 80330D80 0032DCE0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80330D84 0032DCE4 7C BF 2B 78 */ mr r31, r5 -/* 80330D88 0032DCE8 38 A1 00 0C */ addi r5, r1, 0xc -/* 80330D8C 0032DCEC 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80330D90 0032DCF0 7C 9E 23 78 */ mr r30, r4 -/* 80330D94 0032DCF4 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80330D98 0032DCF8 7C 7D 1B 78 */ mr r29, r3 -/* 80330D9C 0032DCFC 80 63 00 04 */ lwz r3, 4(r3) -/* 80330DA0 0032DD00 81 83 00 00 */ lwz r12, 0(r3) -/* 80330DA4 0032DD04 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80330DA8 0032DD08 7D 89 03 A6 */ mtctr r12 -/* 80330DAC 0032DD0C 4E 80 04 21 */ bctrl -/* 80330DB0 0032DD10 80 7D 00 08 */ lwz r3, 8(r29) -/* 80330DB4 0032DD14 7F C4 F3 78 */ mr r4, r30 -/* 80330DB8 0032DD18 38 A1 00 08 */ addi r5, r1, 8 -/* 80330DBC 0032DD1C 81 83 00 00 */ lwz r12, 0(r3) -/* 80330DC0 0032DD20 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80330DC4 0032DD24 7D 89 03 A6 */ mtctr r12 -/* 80330DC8 0032DD28 4E 80 04 21 */ bctrl -/* 80330DCC 0032DD2C C0 41 00 0C */ lfs f2, 0xc(r1) -/* 80330DD0 0032DD30 C0 21 00 08 */ lfs f1, 8(r1) -/* 80330DD4 0032DD34 C0 02 CB 30 */ lfs f0, lbl_805AE850@sda21(r2) -/* 80330DD8 0032DD38 EC 22 08 28 */ fsubs f1, f2, f1 -/* 80330DDC 0032DD3C FC 20 0A 10 */ fabs f1, f1 -/* 80330DE0 0032DD40 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80330DE4 0032DD44 40 80 00 24 */ bge lbl_80330E08 -/* 80330DE8 0032DD48 80 7D 00 0C */ lwz r3, 0xc(r29) -/* 80330DEC 0032DD4C 7F C4 F3 78 */ mr r4, r30 -/* 80330DF0 0032DD50 7F E5 FB 78 */ mr r5, r31 -/* 80330DF4 0032DD54 81 83 00 00 */ lwz r12, 0(r3) -/* 80330DF8 0032DD58 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80330DFC 0032DD5C 7D 89 03 A6 */ mtctr r12 -/* 80330E00 0032DD60 4E 80 04 21 */ bctrl -/* 80330E04 0032DD64 48 00 00 20 */ b lbl_80330E24 -lbl_80330E08: -/* 80330E08 0032DD68 80 7D 00 10 */ lwz r3, 0x10(r29) -/* 80330E0C 0032DD6C 7F C4 F3 78 */ mr r4, r30 -/* 80330E10 0032DD70 7F E5 FB 78 */ mr r5, r31 -/* 80330E14 0032DD74 81 83 00 00 */ lwz r12, 0(r3) -/* 80330E18 0032DD78 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80330E1C 0032DD7C 7D 89 03 A6 */ mtctr r12 -/* 80330E20 0032DD80 4E 80 04 21 */ bctrl -lbl_80330E24: -/* 80330E24 0032DD84 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80330E28 0032DD88 38 60 00 00 */ li r3, 0 -/* 80330E2C 0032DD8C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80330E30 0032DD90 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80330E34 0032DD94 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80330E38 0032DD98 7C 08 03 A6 */ mtlr r0 -/* 80330E3C 0032DD9C 38 21 00 20 */ addi r1, r1, 0x20 -/* 80330E40 0032DDA0 4E 80 00 20 */ blr - -.global __dt__15CRECompareEqual -__dt__15CRECompareEqual: -/* 80330E44 0032DDA4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80330E48 0032DDA8 7C 08 02 A6 */ mflr r0 -/* 80330E4C 0032DDAC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80330E50 0032DDB0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80330E54 0032DDB4 7C 9F 23 78 */ mr r31, r4 -/* 80330E58 0032DDB8 93 C1 00 08 */ stw r30, 8(r1) -/* 80330E5C 0032DDBC 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80330E60 0032DDC0 41 82 00 C8 */ beq lbl_80330F28 -/* 80330E64 0032DDC4 3C 60 80 3F */ lis r3, lbl_803EDEA8@ha -/* 80330E68 0032DDC8 38 03 DE A8 */ addi r0, r3, lbl_803EDEA8@l -/* 80330E6C 0032DDCC 90 1E 00 00 */ stw r0, 0(r30) -/* 80330E70 0032DDD0 80 7E 00 04 */ lwz r3, 4(r30) -/* 80330E74 0032DDD4 28 03 00 00 */ cmplwi r3, 0 -/* 80330E78 0032DDD8 41 82 00 18 */ beq lbl_80330E90 -/* 80330E7C 0032DDDC 81 83 00 00 */ lwz r12, 0(r3) -/* 80330E80 0032DDE0 38 80 00 01 */ li r4, 1 -/* 80330E84 0032DDE4 81 8C 00 08 */ lwz r12, 8(r12) -/* 80330E88 0032DDE8 7D 89 03 A6 */ mtctr r12 -/* 80330E8C 0032DDEC 4E 80 04 21 */ bctrl -lbl_80330E90: -/* 80330E90 0032DDF0 80 7E 00 08 */ lwz r3, 8(r30) -/* 80330E94 0032DDF4 28 03 00 00 */ cmplwi r3, 0 -/* 80330E98 0032DDF8 41 82 00 18 */ beq lbl_80330EB0 -/* 80330E9C 0032DDFC 81 83 00 00 */ lwz r12, 0(r3) -/* 80330EA0 0032DE00 38 80 00 01 */ li r4, 1 -/* 80330EA4 0032DE04 81 8C 00 08 */ lwz r12, 8(r12) -/* 80330EA8 0032DE08 7D 89 03 A6 */ mtctr r12 -/* 80330EAC 0032DE0C 4E 80 04 21 */ bctrl -lbl_80330EB0: -/* 80330EB0 0032DE10 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 80330EB4 0032DE14 28 03 00 00 */ cmplwi r3, 0 -/* 80330EB8 0032DE18 41 82 00 18 */ beq lbl_80330ED0 -/* 80330EBC 0032DE1C 81 83 00 00 */ lwz r12, 0(r3) -/* 80330EC0 0032DE20 38 80 00 01 */ li r4, 1 -/* 80330EC4 0032DE24 81 8C 00 08 */ lwz r12, 8(r12) -/* 80330EC8 0032DE28 7D 89 03 A6 */ mtctr r12 -/* 80330ECC 0032DE2C 4E 80 04 21 */ bctrl -lbl_80330ED0: -/* 80330ED0 0032DE30 80 7E 00 10 */ lwz r3, 0x10(r30) -/* 80330ED4 0032DE34 28 03 00 00 */ cmplwi r3, 0 -/* 80330ED8 0032DE38 41 82 00 18 */ beq lbl_80330EF0 -/* 80330EDC 0032DE3C 81 83 00 00 */ lwz r12, 0(r3) -/* 80330EE0 0032DE40 38 80 00 01 */ li r4, 1 -/* 80330EE4 0032DE44 81 8C 00 08 */ lwz r12, 8(r12) -/* 80330EE8 0032DE48 7D 89 03 A6 */ mtctr r12 -/* 80330EEC 0032DE4C 4E 80 04 21 */ bctrl -lbl_80330EF0: -/* 80330EF0 0032DE50 28 1E 00 00 */ cmplwi r30, 0 -/* 80330EF4 0032DE54 41 82 00 20 */ beq lbl_80330F14 -/* 80330EF8 0032DE58 3C 60 80 3F */ lis r3, lbl_803EC554@ha -/* 80330EFC 0032DE5C 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l -/* 80330F00 0032DE60 90 1E 00 00 */ stw r0, 0(r30) -/* 80330F04 0032DE64 41 82 00 10 */ beq lbl_80330F14 -/* 80330F08 0032DE68 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 80330F0C 0032DE6C 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 80330F10 0032DE70 90 1E 00 00 */ stw r0, 0(r30) -lbl_80330F14: -/* 80330F14 0032DE74 7F E0 07 35 */ extsh. r0, r31 -/* 80330F18 0032DE78 40 81 00 10 */ ble lbl_80330F28 -/* 80330F1C 0032DE7C 7F C3 F3 78 */ mr r3, r30 -/* 80330F20 0032DE80 38 80 00 14 */ li r4, 0x14 -/* 80330F24 0032DE84 48 03 BB 41 */ bl sub_8036ca64 -lbl_80330F28: -/* 80330F28 0032DE88 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80330F2C 0032DE8C 7F C3 F3 78 */ mr r3, r30 -/* 80330F30 0032DE90 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80330F34 0032DE94 83 C1 00 08 */ lwz r30, 8(r1) -/* 80330F38 0032DE98 7C 08 03 A6 */ mtlr r0 -/* 80330F3C 0032DE9C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80330F40 0032DEA0 4E 80 00 20 */ blr - -.global __ct__15CRECompareEqualFP12CRealElementP12CRealElementP12CRealElementP12CRealElement -__ct__15CRECompareEqualFP12CRealElementP12CRealElementP12CRealElementP12CRealElement: -/* 80330F44 0032DEA4 3D 40 80 3F */ lis r10, lbl_803EC5A8@ha -/* 80330F48 0032DEA8 3D 20 80 3F */ lis r9, lbl_803EC554@ha -/* 80330F4C 0032DEAC 38 0A C5 A8 */ addi r0, r10, lbl_803EC5A8@l -/* 80330F50 0032DEB0 3D 00 80 3F */ lis r8, lbl_803EDEA8@ha -/* 80330F54 0032DEB4 90 03 00 00 */ stw r0, 0(r3) -/* 80330F58 0032DEB8 39 29 C5 54 */ addi r9, r9, lbl_803EC554@l -/* 80330F5C 0032DEBC 38 08 DE A8 */ addi r0, r8, lbl_803EDEA8@l -/* 80330F60 0032DEC0 91 23 00 00 */ stw r9, 0(r3) -/* 80330F64 0032DEC4 90 03 00 00 */ stw r0, 0(r3) -/* 80330F68 0032DEC8 90 83 00 04 */ stw r4, 4(r3) -/* 80330F6C 0032DECC 90 A3 00 08 */ stw r5, 8(r3) -/* 80330F70 0032DED0 90 C3 00 0C */ stw r6, 0xc(r3) -/* 80330F74 0032DED4 90 E3 00 10 */ stw r7, 0x10(r3) -/* 80330F78 0032DED8 4E 80 00 20 */ blr - -.global GetValue__18CRECompareLessThanCFiRf -GetValue__18CRECompareLessThanCFiRf: -/* 80330F7C 0032DEDC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80330F80 0032DEE0 7C 08 02 A6 */ mflr r0 -/* 80330F84 0032DEE4 90 01 00 24 */ stw r0, 0x24(r1) -/* 80330F88 0032DEE8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80330F8C 0032DEEC 7C BF 2B 78 */ mr r31, r5 -/* 80330F90 0032DEF0 38 A1 00 0C */ addi r5, r1, 0xc -/* 80330F94 0032DEF4 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80330F98 0032DEF8 7C 9E 23 78 */ mr r30, r4 -/* 80330F9C 0032DEFC 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80330FA0 0032DF00 7C 7D 1B 78 */ mr r29, r3 -/* 80330FA4 0032DF04 80 63 00 04 */ lwz r3, 4(r3) -/* 80330FA8 0032DF08 81 83 00 00 */ lwz r12, 0(r3) -/* 80330FAC 0032DF0C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80330FB0 0032DF10 7D 89 03 A6 */ mtctr r12 -/* 80330FB4 0032DF14 4E 80 04 21 */ bctrl -/* 80330FB8 0032DF18 80 7D 00 08 */ lwz r3, 8(r29) -/* 80330FBC 0032DF1C 7F C4 F3 78 */ mr r4, r30 -/* 80330FC0 0032DF20 38 A1 00 08 */ addi r5, r1, 8 -/* 80330FC4 0032DF24 81 83 00 00 */ lwz r12, 0(r3) -/* 80330FC8 0032DF28 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80330FCC 0032DF2C 7D 89 03 A6 */ mtctr r12 -/* 80330FD0 0032DF30 4E 80 04 21 */ bctrl -/* 80330FD4 0032DF34 C0 21 00 0C */ lfs f1, 0xc(r1) -/* 80330FD8 0032DF38 C0 01 00 08 */ lfs f0, 8(r1) -/* 80330FDC 0032DF3C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80330FE0 0032DF40 40 80 00 24 */ bge lbl_80331004 -/* 80330FE4 0032DF44 80 7D 00 0C */ lwz r3, 0xc(r29) -/* 80330FE8 0032DF48 7F C4 F3 78 */ mr r4, r30 -/* 80330FEC 0032DF4C 7F E5 FB 78 */ mr r5, r31 -/* 80330FF0 0032DF50 81 83 00 00 */ lwz r12, 0(r3) -/* 80330FF4 0032DF54 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80330FF8 0032DF58 7D 89 03 A6 */ mtctr r12 -/* 80330FFC 0032DF5C 4E 80 04 21 */ bctrl -/* 80331000 0032DF60 48 00 00 20 */ b lbl_80331020 -lbl_80331004: -/* 80331004 0032DF64 80 7D 00 10 */ lwz r3, 0x10(r29) -/* 80331008 0032DF68 7F C4 F3 78 */ mr r4, r30 -/* 8033100C 0032DF6C 7F E5 FB 78 */ mr r5, r31 -/* 80331010 0032DF70 81 83 00 00 */ lwz r12, 0(r3) -/* 80331014 0032DF74 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80331018 0032DF78 7D 89 03 A6 */ mtctr r12 -/* 8033101C 0032DF7C 4E 80 04 21 */ bctrl -lbl_80331020: -/* 80331020 0032DF80 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80331024 0032DF84 38 60 00 00 */ li r3, 0 -/* 80331028 0032DF88 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8033102C 0032DF8C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80331030 0032DF90 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80331034 0032DF94 7C 08 03 A6 */ mtlr r0 -/* 80331038 0032DF98 38 21 00 20 */ addi r1, r1, 0x20 -/* 8033103C 0032DF9C 4E 80 00 20 */ blr - -.global __dt__18CRECompareLessThan -__dt__18CRECompareLessThan: -/* 80331040 0032DFA0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80331044 0032DFA4 7C 08 02 A6 */ mflr r0 -/* 80331048 0032DFA8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8033104C 0032DFAC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80331050 0032DFB0 7C 9F 23 78 */ mr r31, r4 -/* 80331054 0032DFB4 93 C1 00 08 */ stw r30, 8(r1) -/* 80331058 0032DFB8 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8033105C 0032DFBC 41 82 00 C8 */ beq lbl_80331124 -/* 80331060 0032DFC0 3C 60 80 3F */ lis r3, lbl_803EDEBC@ha -/* 80331064 0032DFC4 38 03 DE BC */ addi r0, r3, lbl_803EDEBC@l -/* 80331068 0032DFC8 90 1E 00 00 */ stw r0, 0(r30) -/* 8033106C 0032DFCC 80 7E 00 04 */ lwz r3, 4(r30) -/* 80331070 0032DFD0 28 03 00 00 */ cmplwi r3, 0 -/* 80331074 0032DFD4 41 82 00 18 */ beq lbl_8033108C -/* 80331078 0032DFD8 81 83 00 00 */ lwz r12, 0(r3) -/* 8033107C 0032DFDC 38 80 00 01 */ li r4, 1 -/* 80331080 0032DFE0 81 8C 00 08 */ lwz r12, 8(r12) -/* 80331084 0032DFE4 7D 89 03 A6 */ mtctr r12 -/* 80331088 0032DFE8 4E 80 04 21 */ bctrl -lbl_8033108C: -/* 8033108C 0032DFEC 80 7E 00 08 */ lwz r3, 8(r30) -/* 80331090 0032DFF0 28 03 00 00 */ cmplwi r3, 0 -/* 80331094 0032DFF4 41 82 00 18 */ beq lbl_803310AC -/* 80331098 0032DFF8 81 83 00 00 */ lwz r12, 0(r3) -/* 8033109C 0032DFFC 38 80 00 01 */ li r4, 1 -/* 803310A0 0032E000 81 8C 00 08 */ lwz r12, 8(r12) -/* 803310A4 0032E004 7D 89 03 A6 */ mtctr r12 -/* 803310A8 0032E008 4E 80 04 21 */ bctrl -lbl_803310AC: -/* 803310AC 0032E00C 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 803310B0 0032E010 28 03 00 00 */ cmplwi r3, 0 -/* 803310B4 0032E014 41 82 00 18 */ beq lbl_803310CC -/* 803310B8 0032E018 81 83 00 00 */ lwz r12, 0(r3) -/* 803310BC 0032E01C 38 80 00 01 */ li r4, 1 -/* 803310C0 0032E020 81 8C 00 08 */ lwz r12, 8(r12) -/* 803310C4 0032E024 7D 89 03 A6 */ mtctr r12 -/* 803310C8 0032E028 4E 80 04 21 */ bctrl -lbl_803310CC: -/* 803310CC 0032E02C 80 7E 00 10 */ lwz r3, 0x10(r30) -/* 803310D0 0032E030 28 03 00 00 */ cmplwi r3, 0 -/* 803310D4 0032E034 41 82 00 18 */ beq lbl_803310EC -/* 803310D8 0032E038 81 83 00 00 */ lwz r12, 0(r3) -/* 803310DC 0032E03C 38 80 00 01 */ li r4, 1 -/* 803310E0 0032E040 81 8C 00 08 */ lwz r12, 8(r12) -/* 803310E4 0032E044 7D 89 03 A6 */ mtctr r12 -/* 803310E8 0032E048 4E 80 04 21 */ bctrl -lbl_803310EC: -/* 803310EC 0032E04C 28 1E 00 00 */ cmplwi r30, 0 -/* 803310F0 0032E050 41 82 00 20 */ beq lbl_80331110 -/* 803310F4 0032E054 3C 60 80 3F */ lis r3, lbl_803EC554@ha -/* 803310F8 0032E058 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l -/* 803310FC 0032E05C 90 1E 00 00 */ stw r0, 0(r30) -/* 80331100 0032E060 41 82 00 10 */ beq lbl_80331110 -/* 80331104 0032E064 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 80331108 0032E068 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 8033110C 0032E06C 90 1E 00 00 */ stw r0, 0(r30) -lbl_80331110: -/* 80331110 0032E070 7F E0 07 35 */ extsh. r0, r31 -/* 80331114 0032E074 40 81 00 10 */ ble lbl_80331124 -/* 80331118 0032E078 7F C3 F3 78 */ mr r3, r30 -/* 8033111C 0032E07C 38 80 00 14 */ li r4, 0x14 -/* 80331120 0032E080 48 03 B9 45 */ bl sub_8036ca64 -lbl_80331124: -/* 80331124 0032E084 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80331128 0032E088 7F C3 F3 78 */ mr r3, r30 -/* 8033112C 0032E08C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80331130 0032E090 83 C1 00 08 */ lwz r30, 8(r1) -/* 80331134 0032E094 7C 08 03 A6 */ mtlr r0 -/* 80331138 0032E098 38 21 00 10 */ addi r1, r1, 0x10 -/* 8033113C 0032E09C 4E 80 00 20 */ blr - -.global __ct__18CRECompareLessThanFP12CRealElementP12CRealElementP12CRealElementP12CRealElement -__ct__18CRECompareLessThanFP12CRealElementP12CRealElementP12CRealElementP12CRealElement: -/* 80331140 0032E0A0 3D 40 80 3F */ lis r10, lbl_803EC5A8@ha -/* 80331144 0032E0A4 3D 20 80 3F */ lis r9, lbl_803EC554@ha -/* 80331148 0032E0A8 38 0A C5 A8 */ addi r0, r10, lbl_803EC5A8@l -/* 8033114C 0032E0AC 3D 00 80 3F */ lis r8, lbl_803EDEBC@ha -/* 80331150 0032E0B0 90 03 00 00 */ stw r0, 0(r3) -/* 80331154 0032E0B4 39 29 C5 54 */ addi r9, r9, lbl_803EC554@l -/* 80331158 0032E0B8 38 08 DE BC */ addi r0, r8, lbl_803EDEBC@l -/* 8033115C 0032E0BC 91 23 00 00 */ stw r9, 0(r3) -/* 80331160 0032E0C0 90 03 00 00 */ stw r0, 0(r3) -/* 80331164 0032E0C4 90 83 00 04 */ stw r4, 4(r3) -/* 80331168 0032E0C8 90 A3 00 08 */ stw r5, 8(r3) -/* 8033116C 0032E0CC 90 C3 00 0C */ stw r6, 0xc(r3) -/* 80331170 0032E0D0 90 E3 00 10 */ stw r7, 0x10(r3) -/* 80331174 0032E0D4 4E 80 00 20 */ blr - -.global GetValue__7CREIWSTGCFiRf -GetValue__7CREIWSTGCFiRf: -/* 80331178 0032E0D8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8033117C 0032E0DC 7C 08 02 A6 */ mflr r0 -/* 80331180 0032E0E0 2C 04 00 00 */ cmpwi r4, 0 -/* 80331184 0032E0E4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80331188 0032E0E8 40 82 00 20 */ bne lbl_803311A8 -/* 8033118C 0032E0EC 80 63 00 04 */ lwz r3, 4(r3) -/* 80331190 0032E0F0 38 80 00 00 */ li r4, 0 -/* 80331194 0032E0F4 81 83 00 00 */ lwz r12, 0(r3) -/* 80331198 0032E0F8 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8033119C 0032E0FC 7D 89 03 A6 */ mtctr r12 -/* 803311A0 0032E100 4E 80 04 21 */ bctrl -/* 803311A4 0032E104 48 00 00 1C */ b lbl_803311C0 -lbl_803311A8: -/* 803311A8 0032E108 80 63 00 08 */ lwz r3, 8(r3) -/* 803311AC 0032E10C 38 84 FF FF */ addi r4, r4, -1 -/* 803311B0 0032E110 81 83 00 00 */ lwz r12, 0(r3) -/* 803311B4 0032E114 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 803311B8 0032E118 7D 89 03 A6 */ mtctr r12 -/* 803311BC 0032E11C 4E 80 04 21 */ bctrl -lbl_803311C0: -/* 803311C0 0032E120 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803311C4 0032E124 38 60 00 00 */ li r3, 0 -/* 803311C8 0032E128 7C 08 03 A6 */ mtlr r0 -/* 803311CC 0032E12C 38 21 00 10 */ addi r1, r1, 0x10 -/* 803311D0 0032E130 4E 80 00 20 */ blr - -.global __dt__7CREIWST -__dt__7CREIWST: -/* 803311D4 0032E134 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803311D8 0032E138 7C 08 02 A6 */ mflr r0 -/* 803311DC 0032E13C 90 01 00 14 */ stw r0, 0x14(r1) -/* 803311E0 0032E140 93 E1 00 0C */ stw r31, 0xc(r1) -/* 803311E4 0032E144 7C 9F 23 78 */ mr r31, r4 -/* 803311E8 0032E148 93 C1 00 08 */ stw r30, 8(r1) -/* 803311EC 0032E14C 7C 7E 1B 79 */ or. r30, r3, r3 -/* 803311F0 0032E150 41 82 00 88 */ beq lbl_80331278 -/* 803311F4 0032E154 3C 60 80 3F */ lis r3, lbl_803EDED0@ha -/* 803311F8 0032E158 38 03 DE D0 */ addi r0, r3, lbl_803EDED0@l -/* 803311FC 0032E15C 90 1E 00 00 */ stw r0, 0(r30) -/* 80331200 0032E160 80 7E 00 04 */ lwz r3, 4(r30) -/* 80331204 0032E164 28 03 00 00 */ cmplwi r3, 0 -/* 80331208 0032E168 41 82 00 18 */ beq lbl_80331220 -/* 8033120C 0032E16C 81 83 00 00 */ lwz r12, 0(r3) -/* 80331210 0032E170 38 80 00 01 */ li r4, 1 -/* 80331214 0032E174 81 8C 00 08 */ lwz r12, 8(r12) -/* 80331218 0032E178 7D 89 03 A6 */ mtctr r12 -/* 8033121C 0032E17C 4E 80 04 21 */ bctrl -lbl_80331220: -/* 80331220 0032E180 80 7E 00 08 */ lwz r3, 8(r30) -/* 80331224 0032E184 28 03 00 00 */ cmplwi r3, 0 -/* 80331228 0032E188 41 82 00 18 */ beq lbl_80331240 -/* 8033122C 0032E18C 81 83 00 00 */ lwz r12, 0(r3) -/* 80331230 0032E190 38 80 00 01 */ li r4, 1 -/* 80331234 0032E194 81 8C 00 08 */ lwz r12, 8(r12) -/* 80331238 0032E198 7D 89 03 A6 */ mtctr r12 -/* 8033123C 0032E19C 4E 80 04 21 */ bctrl -lbl_80331240: -/* 80331240 0032E1A0 28 1E 00 00 */ cmplwi r30, 0 -/* 80331244 0032E1A4 41 82 00 20 */ beq lbl_80331264 -/* 80331248 0032E1A8 3C 60 80 3F */ lis r3, lbl_803EC554@ha -/* 8033124C 0032E1AC 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l -/* 80331250 0032E1B0 90 1E 00 00 */ stw r0, 0(r30) -/* 80331254 0032E1B4 41 82 00 10 */ beq lbl_80331264 -/* 80331258 0032E1B8 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 8033125C 0032E1BC 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 80331260 0032E1C0 90 1E 00 00 */ stw r0, 0(r30) -lbl_80331264: -/* 80331264 0032E1C4 7F E0 07 35 */ extsh. r0, r31 -/* 80331268 0032E1C8 40 81 00 10 */ ble lbl_80331278 -/* 8033126C 0032E1CC 7F C3 F3 78 */ mr r3, r30 -/* 80331270 0032E1D0 38 80 00 0C */ li r4, 0xc -/* 80331274 0032E1D4 48 03 B7 F1 */ bl sub_8036ca64 -lbl_80331278: -/* 80331278 0032E1D8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8033127C 0032E1DC 7F C3 F3 78 */ mr r3, r30 -/* 80331280 0032E1E0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80331284 0032E1E4 83 C1 00 08 */ lwz r30, 8(r1) -/* 80331288 0032E1E8 7C 08 03 A6 */ mtlr r0 -/* 8033128C 0032E1EC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80331290 0032E1F0 4E 80 00 20 */ blr - -.global __ct__7CREISWTFP12CRealElementP12CRealElement -__ct__7CREISWTFP12CRealElementP12CRealElement: -/* 80331294 0032E1F4 3D 00 80 3F */ lis r8, lbl_803EC5A8@ha -/* 80331298 0032E1F8 3C E0 80 3F */ lis r7, lbl_803EC554@ha -/* 8033129C 0032E1FC 38 08 C5 A8 */ addi r0, r8, lbl_803EC5A8@l -/* 803312A0 0032E200 3C C0 80 3F */ lis r6, lbl_803EDED0@ha -/* 803312A4 0032E204 90 03 00 00 */ stw r0, 0(r3) -/* 803312A8 0032E208 38 E7 C5 54 */ addi r7, r7, lbl_803EC554@l -/* 803312AC 0032E20C 38 06 DE D0 */ addi r0, r6, lbl_803EDED0@l -/* 803312B0 0032E210 90 E3 00 00 */ stw r7, 0(r3) -/* 803312B4 0032E214 90 03 00 00 */ stw r0, 0(r3) -/* 803312B8 0032E218 90 83 00 04 */ stw r4, 4(r3) -/* 803312BC 0032E21C 90 A3 00 08 */ stw r5, 8(r3) -/* 803312C0 0032E220 4E 80 00 20 */ blr - -.global GetValue__18CREVectorMagnitudeCFiRf -GetValue__18CREVectorMagnitudeCFiRf: -/* 803312C4 0032E224 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 803312C8 0032E228 7C 08 02 A6 */ mflr r0 -/* 803312CC 0032E22C 3C C0 80 5A */ lis r6, skZero3f@ha -/* 803312D0 0032E230 90 01 00 24 */ stw r0, 0x24(r1) -/* 803312D4 0032E234 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 803312D8 0032E238 7C BF 2B 78 */ mr r31, r5 -/* 803312DC 0032E23C 38 A1 00 08 */ addi r5, r1, 8 -/* 803312E0 0032E240 C4 46 66 A0 */ lfsu f2, skZero3f@l(r6) -/* 803312E4 0032E244 80 63 00 04 */ lwz r3, 4(r3) -/* 803312E8 0032E248 C0 26 00 04 */ lfs f1, 4(r6) -/* 803312EC 0032E24C C0 06 00 08 */ lfs f0, 8(r6) -/* 803312F0 0032E250 D0 41 00 08 */ stfs f2, 8(r1) -/* 803312F4 0032E254 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 803312F8 0032E258 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 803312FC 0032E25C 81 83 00 00 */ lwz r12, 0(r3) -/* 80331300 0032E260 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80331304 0032E264 7D 89 03 A6 */ mtctr r12 -/* 80331308 0032E268 4E 80 04 21 */ bctrl -/* 8033130C 0032E26C 38 61 00 08 */ addi r3, r1, 8 -/* 80331310 0032E270 4B FE 35 A9 */ bl Magnitude__9CVector3fCFv -/* 80331314 0032E274 D0 3F 00 00 */ stfs f1, 0(r31) -/* 80331318 0032E278 38 60 00 00 */ li r3, 0 -/* 8033131C 0032E27C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80331320 0032E280 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80331324 0032E284 7C 08 03 A6 */ mtlr r0 -/* 80331328 0032E288 38 21 00 20 */ addi r1, r1, 0x20 -/* 8033132C 0032E28C 4E 80 00 20 */ blr - -.global __dt__18CREVectorMagnitude -__dt__18CREVectorMagnitude: -/* 80331330 0032E290 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80331334 0032E294 7C 08 02 A6 */ mflr r0 -/* 80331338 0032E298 90 01 00 14 */ stw r0, 0x14(r1) -/* 8033133C 0032E29C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80331340 0032E2A0 7C 9F 23 78 */ mr r31, r4 -/* 80331344 0032E2A4 93 C1 00 08 */ stw r30, 8(r1) -/* 80331348 0032E2A8 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8033134C 0032E2AC 41 82 00 68 */ beq lbl_803313B4 -/* 80331350 0032E2B0 3C 60 80 3F */ lis r3, lbl_803EDEE4@ha -/* 80331354 0032E2B4 38 03 DE E4 */ addi r0, r3, lbl_803EDEE4@l -/* 80331358 0032E2B8 90 1E 00 00 */ stw r0, 0(r30) -/* 8033135C 0032E2BC 80 7E 00 04 */ lwz r3, 4(r30) -/* 80331360 0032E2C0 28 03 00 00 */ cmplwi r3, 0 -/* 80331364 0032E2C4 41 82 00 18 */ beq lbl_8033137C -/* 80331368 0032E2C8 81 83 00 00 */ lwz r12, 0(r3) -/* 8033136C 0032E2CC 38 80 00 01 */ li r4, 1 -/* 80331370 0032E2D0 81 8C 00 08 */ lwz r12, 8(r12) -/* 80331374 0032E2D4 7D 89 03 A6 */ mtctr r12 -/* 80331378 0032E2D8 4E 80 04 21 */ bctrl -lbl_8033137C: -/* 8033137C 0032E2DC 28 1E 00 00 */ cmplwi r30, 0 -/* 80331380 0032E2E0 41 82 00 20 */ beq lbl_803313A0 -/* 80331384 0032E2E4 3C 60 80 3F */ lis r3, lbl_803EC554@ha -/* 80331388 0032E2E8 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l -/* 8033138C 0032E2EC 90 1E 00 00 */ stw r0, 0(r30) -/* 80331390 0032E2F0 41 82 00 10 */ beq lbl_803313A0 -/* 80331394 0032E2F4 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 80331398 0032E2F8 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 8033139C 0032E2FC 90 1E 00 00 */ stw r0, 0(r30) -lbl_803313A0: -/* 803313A0 0032E300 7F E0 07 35 */ extsh. r0, r31 -/* 803313A4 0032E304 40 81 00 10 */ ble lbl_803313B4 -/* 803313A8 0032E308 7F C3 F3 78 */ mr r3, r30 -/* 803313AC 0032E30C 38 80 00 08 */ li r4, 8 -/* 803313B0 0032E310 48 03 B6 B5 */ bl sub_8036ca64 -lbl_803313B4: -/* 803313B4 0032E314 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803313B8 0032E318 7F C3 F3 78 */ mr r3, r30 -/* 803313BC 0032E31C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 803313C0 0032E320 83 C1 00 08 */ lwz r30, 8(r1) -/* 803313C4 0032E324 7C 08 03 A6 */ mtlr r0 -/* 803313C8 0032E328 38 21 00 10 */ addi r1, r1, 0x10 -/* 803313CC 0032E32C 4E 80 00 20 */ blr - -.global __ct__18CREVectorMagnitudeFP14CVectorElement -__ct__18CREVectorMagnitudeFP14CVectorElement: -/* 803313D0 0032E330 3C E0 80 3F */ lis r7, lbl_803EC5A8@ha -/* 803313D4 0032E334 3C C0 80 3F */ lis r6, lbl_803EC554@ha -/* 803313D8 0032E338 38 07 C5 A8 */ addi r0, r7, lbl_803EC5A8@l -/* 803313DC 0032E33C 3C A0 80 3F */ lis r5, lbl_803EDEE4@ha -/* 803313E0 0032E340 90 03 00 00 */ stw r0, 0(r3) -/* 803313E4 0032E344 38 C6 C5 54 */ addi r6, r6, lbl_803EC554@l -/* 803313E8 0032E348 38 05 DE E4 */ addi r0, r5, lbl_803EDEE4@l -/* 803313EC 0032E34C 90 C3 00 00 */ stw r6, 0(r3) -/* 803313F0 0032E350 90 03 00 00 */ stw r0, 0(r3) -/* 803313F4 0032E354 90 83 00 04 */ stw r4, 4(r3) -/* 803313F8 0032E358 4E 80 00 20 */ blr - -.global GetValue__16CREVectorZToRealCFiRf -GetValue__16CREVectorZToRealCFiRf: -/* 803313FC 0032E35C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80331400 0032E360 7C 08 02 A6 */ mflr r0 -/* 80331404 0032E364 3C C0 80 5A */ lis r6, skZero3f@ha -/* 80331408 0032E368 90 01 00 24 */ stw r0, 0x24(r1) -/* 8033140C 0032E36C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80331410 0032E370 7C BF 2B 78 */ mr r31, r5 -/* 80331414 0032E374 38 A1 00 08 */ addi r5, r1, 8 -/* 80331418 0032E378 C4 46 66 A0 */ lfsu f2, skZero3f@l(r6) -/* 8033141C 0032E37C 80 63 00 04 */ lwz r3, 4(r3) -/* 80331420 0032E380 C0 26 00 04 */ lfs f1, 4(r6) -/* 80331424 0032E384 C0 06 00 08 */ lfs f0, 8(r6) -/* 80331428 0032E388 D0 41 00 08 */ stfs f2, 8(r1) -/* 8033142C 0032E38C D0 21 00 0C */ stfs f1, 0xc(r1) -/* 80331430 0032E390 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 80331434 0032E394 81 83 00 00 */ lwz r12, 0(r3) -/* 80331438 0032E398 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8033143C 0032E39C 7D 89 03 A6 */ mtctr r12 -/* 80331440 0032E3A0 4E 80 04 21 */ bctrl -/* 80331444 0032E3A4 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 80331448 0032E3A8 38 60 00 00 */ li r3, 0 -/* 8033144C 0032E3AC D0 1F 00 00 */ stfs f0, 0(r31) -/* 80331450 0032E3B0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80331454 0032E3B4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80331458 0032E3B8 7C 08 03 A6 */ mtlr r0 -/* 8033145C 0032E3BC 38 21 00 20 */ addi r1, r1, 0x20 -/* 80331460 0032E3C0 4E 80 00 20 */ blr - -.global __dt__16CREVectorZToReal -__dt__16CREVectorZToReal: -/* 80331464 0032E3C4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80331468 0032E3C8 7C 08 02 A6 */ mflr r0 -/* 8033146C 0032E3CC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80331470 0032E3D0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80331474 0032E3D4 7C 9F 23 78 */ mr r31, r4 -/* 80331478 0032E3D8 93 C1 00 08 */ stw r30, 8(r1) -/* 8033147C 0032E3DC 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80331480 0032E3E0 41 82 00 68 */ beq lbl_803314E8 -/* 80331484 0032E3E4 3C 60 80 3F */ lis r3, lbl_803EDEF8@ha -/* 80331488 0032E3E8 38 03 DE F8 */ addi r0, r3, lbl_803EDEF8@l -/* 8033148C 0032E3EC 90 1E 00 00 */ stw r0, 0(r30) -/* 80331490 0032E3F0 80 7E 00 04 */ lwz r3, 4(r30) -/* 80331494 0032E3F4 28 03 00 00 */ cmplwi r3, 0 -/* 80331498 0032E3F8 41 82 00 18 */ beq lbl_803314B0 -/* 8033149C 0032E3FC 81 83 00 00 */ lwz r12, 0(r3) -/* 803314A0 0032E400 38 80 00 01 */ li r4, 1 -/* 803314A4 0032E404 81 8C 00 08 */ lwz r12, 8(r12) -/* 803314A8 0032E408 7D 89 03 A6 */ mtctr r12 -/* 803314AC 0032E40C 4E 80 04 21 */ bctrl -lbl_803314B0: -/* 803314B0 0032E410 28 1E 00 00 */ cmplwi r30, 0 -/* 803314B4 0032E414 41 82 00 20 */ beq lbl_803314D4 -/* 803314B8 0032E418 3C 60 80 3F */ lis r3, lbl_803EC554@ha -/* 803314BC 0032E41C 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l -/* 803314C0 0032E420 90 1E 00 00 */ stw r0, 0(r30) -/* 803314C4 0032E424 41 82 00 10 */ beq lbl_803314D4 -/* 803314C8 0032E428 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 803314CC 0032E42C 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 803314D0 0032E430 90 1E 00 00 */ stw r0, 0(r30) -lbl_803314D4: -/* 803314D4 0032E434 7F E0 07 35 */ extsh. r0, r31 -/* 803314D8 0032E438 40 81 00 10 */ ble lbl_803314E8 -/* 803314DC 0032E43C 7F C3 F3 78 */ mr r3, r30 -/* 803314E0 0032E440 38 80 00 08 */ li r4, 8 -/* 803314E4 0032E444 48 03 B5 81 */ bl sub_8036ca64 -lbl_803314E8: -/* 803314E8 0032E448 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803314EC 0032E44C 7F C3 F3 78 */ mr r3, r30 -/* 803314F0 0032E450 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 803314F4 0032E454 83 C1 00 08 */ lwz r30, 8(r1) -/* 803314F8 0032E458 7C 08 03 A6 */ mtlr r0 -/* 803314FC 0032E45C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80331500 0032E460 4E 80 00 20 */ blr - -.global __ct__16CREVectorZToRealFP14CVectorElement -__ct__16CREVectorZToRealFP14CVectorElement: -/* 80331504 0032E464 3C E0 80 3F */ lis r7, lbl_803EC5A8@ha -/* 80331508 0032E468 3C C0 80 3F */ lis r6, lbl_803EC554@ha -/* 8033150C 0032E46C 38 07 C5 A8 */ addi r0, r7, lbl_803EC5A8@l -/* 80331510 0032E470 3C A0 80 3F */ lis r5, lbl_803EDEF8@ha -/* 80331514 0032E474 90 03 00 00 */ stw r0, 0(r3) -/* 80331518 0032E478 38 C6 C5 54 */ addi r6, r6, lbl_803EC554@l -/* 8033151C 0032E47C 38 05 DE F8 */ addi r0, r5, lbl_803EDEF8@l -/* 80331520 0032E480 90 C3 00 00 */ stw r6, 0(r3) -/* 80331524 0032E484 90 03 00 00 */ stw r0, 0(r3) -/* 80331528 0032E488 90 83 00 04 */ stw r4, 4(r3) -/* 8033152C 0032E48C 4E 80 00 20 */ blr - -.global GetValue__16CREVectorYToRealCFiRf -GetValue__16CREVectorYToRealCFiRf: -/* 80331530 0032E490 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80331534 0032E494 7C 08 02 A6 */ mflr r0 -/* 80331538 0032E498 3C C0 80 5A */ lis r6, skZero3f@ha -/* 8033153C 0032E49C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80331540 0032E4A0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80331544 0032E4A4 7C BF 2B 78 */ mr r31, r5 -/* 80331548 0032E4A8 38 A1 00 08 */ addi r5, r1, 8 -/* 8033154C 0032E4AC C4 46 66 A0 */ lfsu f2, skZero3f@l(r6) -/* 80331550 0032E4B0 80 63 00 04 */ lwz r3, 4(r3) -/* 80331554 0032E4B4 C0 26 00 04 */ lfs f1, 4(r6) -/* 80331558 0032E4B8 C0 06 00 08 */ lfs f0, 8(r6) -/* 8033155C 0032E4BC D0 41 00 08 */ stfs f2, 8(r1) -/* 80331560 0032E4C0 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 80331564 0032E4C4 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 80331568 0032E4C8 81 83 00 00 */ lwz r12, 0(r3) -/* 8033156C 0032E4CC 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80331570 0032E4D0 7D 89 03 A6 */ mtctr r12 -/* 80331574 0032E4D4 4E 80 04 21 */ bctrl -/* 80331578 0032E4D8 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 8033157C 0032E4DC 38 60 00 00 */ li r3, 0 -/* 80331580 0032E4E0 D0 1F 00 00 */ stfs f0, 0(r31) -/* 80331584 0032E4E4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80331588 0032E4E8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8033158C 0032E4EC 7C 08 03 A6 */ mtlr r0 -/* 80331590 0032E4F0 38 21 00 20 */ addi r1, r1, 0x20 -/* 80331594 0032E4F4 4E 80 00 20 */ blr - -.global __dt__16CREVectorYToReal -__dt__16CREVectorYToReal: -/* 80331598 0032E4F8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8033159C 0032E4FC 7C 08 02 A6 */ mflr r0 -/* 803315A0 0032E500 90 01 00 14 */ stw r0, 0x14(r1) -/* 803315A4 0032E504 93 E1 00 0C */ stw r31, 0xc(r1) -/* 803315A8 0032E508 7C 9F 23 78 */ mr r31, r4 -/* 803315AC 0032E50C 93 C1 00 08 */ stw r30, 8(r1) -/* 803315B0 0032E510 7C 7E 1B 79 */ or. r30, r3, r3 -/* 803315B4 0032E514 41 82 00 68 */ beq lbl_8033161C -/* 803315B8 0032E518 3C 60 80 3F */ lis r3, lbl_803EDF0C@ha -/* 803315BC 0032E51C 38 03 DF 0C */ addi r0, r3, lbl_803EDF0C@l -/* 803315C0 0032E520 90 1E 00 00 */ stw r0, 0(r30) -/* 803315C4 0032E524 80 7E 00 04 */ lwz r3, 4(r30) -/* 803315C8 0032E528 28 03 00 00 */ cmplwi r3, 0 -/* 803315CC 0032E52C 41 82 00 18 */ beq lbl_803315E4 -/* 803315D0 0032E530 81 83 00 00 */ lwz r12, 0(r3) -/* 803315D4 0032E534 38 80 00 01 */ li r4, 1 -/* 803315D8 0032E538 81 8C 00 08 */ lwz r12, 8(r12) -/* 803315DC 0032E53C 7D 89 03 A6 */ mtctr r12 -/* 803315E0 0032E540 4E 80 04 21 */ bctrl -lbl_803315E4: -/* 803315E4 0032E544 28 1E 00 00 */ cmplwi r30, 0 -/* 803315E8 0032E548 41 82 00 20 */ beq lbl_80331608 -/* 803315EC 0032E54C 3C 60 80 3F */ lis r3, lbl_803EC554@ha -/* 803315F0 0032E550 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l -/* 803315F4 0032E554 90 1E 00 00 */ stw r0, 0(r30) -/* 803315F8 0032E558 41 82 00 10 */ beq lbl_80331608 -/* 803315FC 0032E55C 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 80331600 0032E560 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 80331604 0032E564 90 1E 00 00 */ stw r0, 0(r30) -lbl_80331608: -/* 80331608 0032E568 7F E0 07 35 */ extsh. r0, r31 -/* 8033160C 0032E56C 40 81 00 10 */ ble lbl_8033161C -/* 80331610 0032E570 7F C3 F3 78 */ mr r3, r30 -/* 80331614 0032E574 38 80 00 08 */ li r4, 8 -/* 80331618 0032E578 48 03 B4 4D */ bl sub_8036ca64 -lbl_8033161C: -/* 8033161C 0032E57C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80331620 0032E580 7F C3 F3 78 */ mr r3, r30 -/* 80331624 0032E584 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80331628 0032E588 83 C1 00 08 */ lwz r30, 8(r1) -/* 8033162C 0032E58C 7C 08 03 A6 */ mtlr r0 -/* 80331630 0032E590 38 21 00 10 */ addi r1, r1, 0x10 -/* 80331634 0032E594 4E 80 00 20 */ blr - -.global __ct__16CREVectorYToRealFP14CVectorElement -__ct__16CREVectorYToRealFP14CVectorElement: -/* 80331638 0032E598 3C E0 80 3F */ lis r7, lbl_803EC5A8@ha -/* 8033163C 0032E59C 3C C0 80 3F */ lis r6, lbl_803EC554@ha -/* 80331640 0032E5A0 38 07 C5 A8 */ addi r0, r7, lbl_803EC5A8@l -/* 80331644 0032E5A4 3C A0 80 3F */ lis r5, lbl_803EDF0C@ha -/* 80331648 0032E5A8 90 03 00 00 */ stw r0, 0(r3) -/* 8033164C 0032E5AC 38 C6 C5 54 */ addi r6, r6, lbl_803EC554@l -/* 80331650 0032E5B0 38 05 DF 0C */ addi r0, r5, lbl_803EDF0C@l -/* 80331654 0032E5B4 90 C3 00 00 */ stw r6, 0(r3) -/* 80331658 0032E5B8 90 03 00 00 */ stw r0, 0(r3) -/* 8033165C 0032E5BC 90 83 00 04 */ stw r4, 4(r3) -/* 80331660 0032E5C0 4E 80 00 20 */ blr - -.global GetValue__16CREVectorXToRealCFiRf -GetValue__16CREVectorXToRealCFiRf: -/* 80331664 0032E5C4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80331668 0032E5C8 7C 08 02 A6 */ mflr r0 -/* 8033166C 0032E5CC 3C C0 80 5A */ lis r6, skZero3f@ha -/* 80331670 0032E5D0 90 01 00 24 */ stw r0, 0x24(r1) -/* 80331674 0032E5D4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80331678 0032E5D8 7C BF 2B 78 */ mr r31, r5 -/* 8033167C 0032E5DC 38 A1 00 08 */ addi r5, r1, 8 -/* 80331680 0032E5E0 C4 46 66 A0 */ lfsu f2, skZero3f@l(r6) -/* 80331684 0032E5E4 80 63 00 04 */ lwz r3, 4(r3) -/* 80331688 0032E5E8 C0 26 00 04 */ lfs f1, 4(r6) -/* 8033168C 0032E5EC C0 06 00 08 */ lfs f0, 8(r6) -/* 80331690 0032E5F0 D0 41 00 08 */ stfs f2, 8(r1) -/* 80331694 0032E5F4 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 80331698 0032E5F8 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 8033169C 0032E5FC 81 83 00 00 */ lwz r12, 0(r3) -/* 803316A0 0032E600 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 803316A4 0032E604 7D 89 03 A6 */ mtctr r12 -/* 803316A8 0032E608 4E 80 04 21 */ bctrl -/* 803316AC 0032E60C C0 01 00 08 */ lfs f0, 8(r1) -/* 803316B0 0032E610 38 60 00 00 */ li r3, 0 -/* 803316B4 0032E614 D0 1F 00 00 */ stfs f0, 0(r31) -/* 803316B8 0032E618 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 803316BC 0032E61C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 803316C0 0032E620 7C 08 03 A6 */ mtlr r0 -/* 803316C4 0032E624 38 21 00 20 */ addi r1, r1, 0x20 -/* 803316C8 0032E628 4E 80 00 20 */ blr - -.global __dt__16CREVectorXToReal -__dt__16CREVectorXToReal: -/* 803316CC 0032E62C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803316D0 0032E630 7C 08 02 A6 */ mflr r0 -/* 803316D4 0032E634 90 01 00 14 */ stw r0, 0x14(r1) -/* 803316D8 0032E638 93 E1 00 0C */ stw r31, 0xc(r1) -/* 803316DC 0032E63C 7C 9F 23 78 */ mr r31, r4 -/* 803316E0 0032E640 93 C1 00 08 */ stw r30, 8(r1) -/* 803316E4 0032E644 7C 7E 1B 79 */ or. r30, r3, r3 -/* 803316E8 0032E648 41 82 00 68 */ beq lbl_80331750 -/* 803316EC 0032E64C 3C 60 80 3F */ lis r3, lbl_803EDF20@ha -/* 803316F0 0032E650 38 03 DF 20 */ addi r0, r3, lbl_803EDF20@l -/* 803316F4 0032E654 90 1E 00 00 */ stw r0, 0(r30) -/* 803316F8 0032E658 80 7E 00 04 */ lwz r3, 4(r30) -/* 803316FC 0032E65C 28 03 00 00 */ cmplwi r3, 0 -/* 80331700 0032E660 41 82 00 18 */ beq lbl_80331718 -/* 80331704 0032E664 81 83 00 00 */ lwz r12, 0(r3) -/* 80331708 0032E668 38 80 00 01 */ li r4, 1 -/* 8033170C 0032E66C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80331710 0032E670 7D 89 03 A6 */ mtctr r12 -/* 80331714 0032E674 4E 80 04 21 */ bctrl -lbl_80331718: -/* 80331718 0032E678 28 1E 00 00 */ cmplwi r30, 0 -/* 8033171C 0032E67C 41 82 00 20 */ beq lbl_8033173C -/* 80331720 0032E680 3C 60 80 3F */ lis r3, lbl_803EC554@ha -/* 80331724 0032E684 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l -/* 80331728 0032E688 90 1E 00 00 */ stw r0, 0(r30) -/* 8033172C 0032E68C 41 82 00 10 */ beq lbl_8033173C -/* 80331730 0032E690 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 80331734 0032E694 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 80331738 0032E698 90 1E 00 00 */ stw r0, 0(r30) -lbl_8033173C: -/* 8033173C 0032E69C 7F E0 07 35 */ extsh. r0, r31 -/* 80331740 0032E6A0 40 81 00 10 */ ble lbl_80331750 -/* 80331744 0032E6A4 7F C3 F3 78 */ mr r3, r30 -/* 80331748 0032E6A8 38 80 00 08 */ li r4, 8 -/* 8033174C 0032E6AC 48 03 B3 19 */ bl sub_8036ca64 -lbl_80331750: -/* 80331750 0032E6B0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80331754 0032E6B4 7F C3 F3 78 */ mr r3, r30 -/* 80331758 0032E6B8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8033175C 0032E6BC 83 C1 00 08 */ lwz r30, 8(r1) -/* 80331760 0032E6C0 7C 08 03 A6 */ mtlr r0 -/* 80331764 0032E6C4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80331768 0032E6C8 4E 80 00 20 */ blr - -.global __ct__16CREVectorXToRealFP14CVectorElement -__ct__16CREVectorXToRealFP14CVectorElement: -/* 8033176C 0032E6CC 3C E0 80 3F */ lis r7, lbl_803EC5A8@ha -/* 80331770 0032E6D0 3C C0 80 3F */ lis r6, lbl_803EC554@ha -/* 80331774 0032E6D4 38 07 C5 A8 */ addi r0, r7, lbl_803EC5A8@l -/* 80331778 0032E6D8 3C A0 80 3F */ lis r5, lbl_803EDF20@ha -/* 8033177C 0032E6DC 90 03 00 00 */ stw r0, 0(r3) -/* 80331780 0032E6E0 38 C6 C5 54 */ addi r6, r6, lbl_803EC554@l -/* 80331784 0032E6E4 38 05 DF 20 */ addi r0, r5, lbl_803EDF20@l -/* 80331788 0032E6E8 90 C3 00 00 */ stw r6, 0(r3) -/* 8033178C 0032E6EC 90 03 00 00 */ stw r0, 0(r3) -/* 80331790 0032E6F0 90 83 00 04 */ stw r4, 4(r3) -/* 80331794 0032E6F4 4E 80 00 20 */ blr - -.global GetValue__7CREPRLWGCFiRf -GetValue__7CREPRLWGCFiRf: -/* 80331798 0032E6F8 80 8D A8 EC */ lwz r4, lbl_805A94AC@sda21(r13) -/* 8033179C 0032E6FC 38 60 00 00 */ li r3, 0 -/* 803317A0 0032E700 C0 04 00 30 */ lfs f0, 0x30(r4) -/* 803317A4 0032E704 D0 05 00 00 */ stfs f0, 0(r5) -/* 803317A8 0032E708 4E 80 00 20 */ blr - -.global GetValue__7CREPSLLGCFiRf -GetValue__7CREPSLLGCFiRf: -/* 803317AC 0032E70C 80 8D A8 EC */ lwz r4, lbl_805A94AC@sda21(r13) -/* 803317B0 0032E710 38 60 00 00 */ li r3, 0 -/* 803317B4 0032E714 C0 04 00 2C */ lfs f0, 0x2c(r4) -/* 803317B8 0032E718 D0 05 00 00 */ stfs f0, 0(r5) -/* 803317BC 0032E71C 4E 80 00 20 */ blr - -.global GetValue__27CREParticleAccessParameter8CFiRf -GetValue__27CREParticleAccessParameter8CFiRf: -/* 803317C0 0032E720 80 8D A8 F0 */ lwz r4, lbl_805A94B0@sda21(r13) -/* 803317C4 0032E724 38 60 00 00 */ li r3, 0 -/* 803317C8 0032E728 C0 04 00 1C */ lfs f0, 0x1c(r4) -/* 803317CC 0032E72C D0 05 00 00 */ stfs f0, 0(r5) -/* 803317D0 0032E730 4E 80 00 20 */ blr - -.global GetValue__27CREParticleAccessParameter7CFiRf -GetValue__27CREParticleAccessParameter7CFiRf: -/* 803317D4 0032E734 80 8D A8 F0 */ lwz r4, lbl_805A94B0@sda21(r13) -/* 803317D8 0032E738 38 60 00 00 */ li r3, 0 -/* 803317DC 0032E73C C0 04 00 18 */ lfs f0, 0x18(r4) -/* 803317E0 0032E740 D0 05 00 00 */ stfs f0, 0(r5) -/* 803317E4 0032E744 4E 80 00 20 */ blr - -.global GetValue__27CREParticleAccessParameter6CFiRf -GetValue__27CREParticleAccessParameter6CFiRf: -/* 803317E8 0032E748 80 8D A8 F0 */ lwz r4, lbl_805A94B0@sda21(r13) -/* 803317EC 0032E74C 38 60 00 00 */ li r3, 0 -/* 803317F0 0032E750 C0 04 00 14 */ lfs f0, 0x14(r4) -/* 803317F4 0032E754 D0 05 00 00 */ stfs f0, 0(r5) -/* 803317F8 0032E758 4E 80 00 20 */ blr - -.global GetValue__27CREParticleAccessParameter5CFiRf -GetValue__27CREParticleAccessParameter5CFiRf: -/* 803317FC 0032E75C 80 8D A8 F0 */ lwz r4, lbl_805A94B0@sda21(r13) -/* 80331800 0032E760 38 60 00 00 */ li r3, 0 -/* 80331804 0032E764 C0 04 00 10 */ lfs f0, 0x10(r4) -/* 80331808 0032E768 D0 05 00 00 */ stfs f0, 0(r5) -/* 8033180C 0032E76C 4E 80 00 20 */ blr - -.global GetValue__27CREParticleAccessParameter4CFiRf -GetValue__27CREParticleAccessParameter4CFiRf: -/* 80331810 0032E770 80 8D A8 F0 */ lwz r4, lbl_805A94B0@sda21(r13) -/* 80331814 0032E774 38 60 00 00 */ li r3, 0 -/* 80331818 0032E778 C0 04 00 0C */ lfs f0, 0xc(r4) -/* 8033181C 0032E77C D0 05 00 00 */ stfs f0, 0(r5) -/* 80331820 0032E780 4E 80 00 20 */ blr - -.global GetValue__27CREParticleAccessParameter3CFiRf -GetValue__27CREParticleAccessParameter3CFiRf: -/* 80331824 0032E784 80 8D A8 F0 */ lwz r4, lbl_805A94B0@sda21(r13) -/* 80331828 0032E788 38 60 00 00 */ li r3, 0 -/* 8033182C 0032E78C C0 04 00 08 */ lfs f0, 8(r4) -/* 80331830 0032E790 D0 05 00 00 */ stfs f0, 0(r5) -/* 80331834 0032E794 4E 80 00 20 */ blr - -.global GetValue__27CREParticleAccessParameter2CFiRf -GetValue__27CREParticleAccessParameter2CFiRf: -/* 80331838 0032E798 80 8D A8 F0 */ lwz r4, lbl_805A94B0@sda21(r13) -/* 8033183C 0032E79C 38 60 00 00 */ li r3, 0 -/* 80331840 0032E7A0 C0 04 00 04 */ lfs f0, 4(r4) -/* 80331844 0032E7A4 D0 05 00 00 */ stfs f0, 0(r5) -/* 80331848 0032E7A8 4E 80 00 20 */ blr - -.global GetValue__27CREParticleAccessParameter1CFiRf -GetValue__27CREParticleAccessParameter1CFiRf: -/* 8033184C 0032E7AC 80 8D A8 F0 */ lwz r4, lbl_805A94B0@sda21(r13) -/* 80331850 0032E7B0 38 60 00 00 */ li r3, 0 -/* 80331854 0032E7B4 C0 04 00 00 */ lfs f0, 0(r4) -/* 80331858 0032E7B8 D0 05 00 00 */ stfs f0, 0(r5) -/* 8033185C 0032E7BC 4E 80 00 20 */ blr - -.global GetValue__18CREKeyframeEmitterCFiRf -GetValue__18CREKeyframeEmitterCFiRf: -/* 80331860 0032E7C0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80331864 0032E7C4 80 03 00 04 */ lwz r0, 4(r3) -/* 80331868 0032E7C8 2C 00 00 00 */ cmpwi r0, 0 -/* 8033186C 0032E7CC 40 82 00 A0 */ bne lbl_8033190C -/* 80331870 0032E7D0 88 03 00 0C */ lbz r0, 0xc(r3) -/* 80331874 0032E7D4 81 0D A8 D8 */ lwz r8, lbl_805A9498@sda21(r13) -/* 80331878 0032E7D8 28 00 00 00 */ cmplwi r0, 0 -/* 8033187C 0032E7DC 91 01 00 0C */ stw r8, 0xc(r1) -/* 80331880 0032E7E0 41 82 00 50 */ beq lbl_803318D0 -/* 80331884 0032E7E4 80 03 00 10 */ lwz r0, 0x10(r3) -/* 80331888 0032E7E8 7C 08 00 00 */ cmpw r8, r0 -/* 8033188C 0032E7EC 41 80 00 2C */ blt lbl_803318B8 -/* 80331890 0032E7F0 80 E3 00 14 */ lwz r7, 0x14(r3) -/* 80331894 0032E7F4 7C C7 40 50 */ subf r6, r7, r8 -/* 80331898 0032E7F8 7C 87 00 50 */ subf r4, r7, r0 -/* 8033189C 0032E7FC 7C 06 23 D6 */ divw r0, r6, r4 -/* 803318A0 0032E800 90 C1 00 0C */ stw r6, 0xc(r1) -/* 803318A4 0032E804 7C 00 21 D6 */ mullw r0, r0, r4 -/* 803318A8 0032E808 7C 00 30 50 */ subf r0, r0, r6 -/* 803318AC 0032E80C 90 01 00 0C */ stw r0, 0xc(r1) -/* 803318B0 0032E810 7C 00 3A 14 */ add r0, r0, r7 -/* 803318B4 0032E814 90 01 00 0C */ stw r0, 0xc(r1) -lbl_803318B8: -/* 803318B8 0032E818 80 01 00 0C */ lwz r0, 0xc(r1) -/* 803318BC 0032E81C 80 63 00 24 */ lwz r3, 0x24(r3) -/* 803318C0 0032E820 54 00 10 3A */ slwi r0, r0, 2 -/* 803318C4 0032E824 7C 03 04 2E */ lfsx f0, r3, r0 -/* 803318C8 0032E828 D0 05 00 00 */ stfs f0, 0(r5) -/* 803318CC 0032E82C 48 00 00 38 */ b lbl_80331904 -lbl_803318D0: -/* 803318D0 0032E830 80 C3 00 10 */ lwz r6, 0x10(r3) -/* 803318D4 0032E834 38 81 00 0C */ addi r4, r1, 0xc -/* 803318D8 0032E838 38 06 FF FF */ addi r0, r6, -1 -/* 803318DC 0032E83C 7C 00 40 00 */ cmpw r0, r8 -/* 803318E0 0032E840 90 01 00 08 */ stw r0, 8(r1) -/* 803318E4 0032E844 40 80 00 08 */ bge lbl_803318EC -/* 803318E8 0032E848 38 81 00 08 */ addi r4, r1, 8 -lbl_803318EC: -/* 803318EC 0032E84C 80 04 00 00 */ lwz r0, 0(r4) -/* 803318F0 0032E850 80 63 00 24 */ lwz r3, 0x24(r3) -/* 803318F4 0032E854 90 01 00 0C */ stw r0, 0xc(r1) -/* 803318F8 0032E858 54 00 10 3A */ slwi r0, r0, 2 -/* 803318FC 0032E85C 7C 03 04 2E */ lfsx f0, r3, r0 -/* 80331900 0032E860 D0 05 00 00 */ stfs f0, 0(r5) -lbl_80331904: -/* 80331904 0032E864 38 60 00 00 */ li r3, 0 -/* 80331908 0032E868 48 00 00 58 */ b lbl_80331960 -lbl_8033190C: -/* 8033190C 0032E86C 80 8D A8 E0 */ lwz r4, lbl_805A94A0@sda21(r13) -/* 80331910 0032E870 2C 04 00 64 */ cmpwi r4, 0x64 -/* 80331914 0032E874 40 82 00 18 */ bne lbl_8033192C -/* 80331918 0032E878 80 63 00 24 */ lwz r3, 0x24(r3) -/* 8033191C 0032E87C 54 80 10 3A */ slwi r0, r4, 2 -/* 80331920 0032E880 7C 03 04 2E */ lfsx f0, r3, r0 -/* 80331924 0032E884 D0 05 00 00 */ stfs f0, 0(r5) -/* 80331928 0032E888 48 00 00 34 */ b lbl_8033195C -lbl_8033192C: -/* 8033192C 0032E88C 38 04 00 01 */ addi r0, r4, 1 -/* 80331930 0032E890 80 C3 00 24 */ lwz r6, 0x24(r3) -/* 80331934 0032E894 54 03 10 3A */ slwi r3, r0, 2 -/* 80331938 0032E898 54 80 10 3A */ slwi r0, r4, 2 -/* 8033193C 0032E89C C0 6D A8 E8 */ lfs f3, lbl_805A94A8@sda21(r13) -/* 80331940 0032E8A0 C0 22 CB 18 */ lfs f1, lbl_805AE838@sda21(r2) -/* 80331944 0032E8A4 7C 06 1C 2E */ lfsx f0, r6, r3 -/* 80331948 0032E8A8 EC 41 18 28 */ fsubs f2, f1, f3 -/* 8033194C 0032E8AC 7C 26 04 2E */ lfsx f1, r6, r0 -/* 80331950 0032E8B0 EC 03 00 32 */ fmuls f0, f3, f0 -/* 80331954 0032E8B4 EC 02 00 7A */ fmadds f0, f2, f1, f0 -/* 80331958 0032E8B8 D0 05 00 00 */ stfs f0, 0(r5) -lbl_8033195C: -/* 8033195C 0032E8BC 38 60 00 00 */ li r3, 0 -lbl_80331960: -/* 80331960 0032E8C0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80331964 0032E8C4 4E 80 00 20 */ blr - -.global __dt__18CREKeyframeEmitter -__dt__18CREKeyframeEmitter: -/* 80331968 0032E8C8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8033196C 0032E8CC 7C 08 02 A6 */ mflr r0 -/* 80331970 0032E8D0 90 01 00 24 */ stw r0, 0x24(r1) -/* 80331974 0032E8D4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80331978 0032E8D8 7C 9F 23 78 */ mr r31, r4 -/* 8033197C 0032E8DC 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80331980 0032E8E0 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80331984 0032E8E4 41 82 00 90 */ beq lbl_80331A14 -/* 80331988 0032E8E8 3C 60 80 3F */ lis r3, lbl_803EDFFC@ha -/* 8033198C 0032E8EC 34 1E 00 18 */ addic. r0, r30, 0x18 -/* 80331990 0032E8F0 38 03 DF FC */ addi r0, r3, lbl_803EDFFC@l -/* 80331994 0032E8F4 90 1E 00 00 */ stw r0, 0(r30) -/* 80331998 0032E8F8 41 82 00 44 */ beq lbl_803319DC -/* 8033199C 0032E8FC 80 1E 00 1C */ lwz r0, 0x1c(r30) -/* 803319A0 0032E900 80 7E 00 24 */ lwz r3, 0x24(r30) -/* 803319A4 0032E904 54 00 10 3A */ slwi r0, r0, 2 -/* 803319A8 0032E908 7C 03 02 14 */ add r0, r3, r0 -/* 803319AC 0032E90C 90 61 00 0C */ stw r3, 0xc(r1) -/* 803319B0 0032E910 7C 64 1B 78 */ mr r4, r3 -/* 803319B4 0032E914 90 01 00 14 */ stw r0, 0x14(r1) -/* 803319B8 0032E918 90 01 00 10 */ stw r0, 0x10(r1) -/* 803319BC 0032E91C 90 61 00 08 */ stw r3, 8(r1) -/* 803319C0 0032E920 48 00 00 08 */ b lbl_803319C8 -lbl_803319C4: -/* 803319C4 0032E924 38 84 00 04 */ addi r4, r4, 4 -lbl_803319C8: -/* 803319C8 0032E928 7C 04 00 40 */ cmplw r4, r0 -/* 803319CC 0032E92C 40 82 FF F8 */ bne lbl_803319C4 -/* 803319D0 0032E930 28 03 00 00 */ cmplwi r3, 0 -/* 803319D4 0032E934 41 82 00 08 */ beq lbl_803319DC -/* 803319D8 0032E938 4B FE 3F 59 */ bl Free__7CMemoryFPCv -lbl_803319DC: -/* 803319DC 0032E93C 28 1E 00 00 */ cmplwi r30, 0 -/* 803319E0 0032E940 41 82 00 20 */ beq lbl_80331A00 -/* 803319E4 0032E944 3C 60 80 3F */ lis r3, lbl_803EC554@ha -/* 803319E8 0032E948 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l -/* 803319EC 0032E94C 90 1E 00 00 */ stw r0, 0(r30) -/* 803319F0 0032E950 41 82 00 10 */ beq lbl_80331A00 -/* 803319F4 0032E954 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 803319F8 0032E958 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 803319FC 0032E95C 90 1E 00 00 */ stw r0, 0(r30) -lbl_80331A00: -/* 80331A00 0032E960 7F E0 07 35 */ extsh. r0, r31 -/* 80331A04 0032E964 40 81 00 10 */ ble lbl_80331A14 -/* 80331A08 0032E968 7F C3 F3 78 */ mr r3, r30 -/* 80331A0C 0032E96C 38 80 00 28 */ li r4, 0x28 -/* 80331A10 0032E970 48 03 B0 55 */ bl sub_8036ca64 -lbl_80331A14: -/* 80331A14 0032E974 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80331A18 0032E978 7F C3 F3 78 */ mr r3, r30 -/* 80331A1C 0032E97C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80331A20 0032E980 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80331A24 0032E984 7C 08 03 A6 */ mtlr r0 -/* 80331A28 0032E988 38 21 00 20 */ addi r1, r1, 0x20 -/* 80331A2C 0032E98C 4E 80 00 20 */ blr - -.global __ct__18CREKeyframeEmitterFR12CInputStream -__ct__18CREKeyframeEmitterFR12CInputStream: -/* 80331A30 0032E990 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80331A34 0032E994 7C 08 02 A6 */ mflr r0 -/* 80331A38 0032E998 3C A0 80 3F */ lis r5, lbl_803EC554@ha -/* 80331A3C 0032E99C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80331A40 0032E9A0 DB E1 00 18 */ stfd f31, 0x18(r1) -/* 80331A44 0032E9A4 93 E1 00 14 */ stw r31, 0x14(r1) -/* 80331A48 0032E9A8 7C 7F 1B 78 */ mr r31, r3 -/* 80331A4C 0032E9AC 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 80331A50 0032E9B0 93 C1 00 10 */ stw r30, 0x10(r1) -/* 80331A54 0032E9B4 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 80331A58 0032E9B8 3C 60 80 3F */ lis r3, lbl_803EDFFC@ha -/* 80331A5C 0032E9BC 7F E6 FB 78 */ mr r6, r31 -/* 80331A60 0032E9C0 93 A1 00 0C */ stw r29, 0xc(r1) -/* 80331A64 0032E9C4 93 81 00 08 */ stw r28, 8(r1) -/* 80331A68 0032E9C8 7C 9C 23 78 */ mr r28, r4 -/* 80331A6C 0032E9CC 90 1F 00 00 */ stw r0, 0(r31) -/* 80331A70 0032E9D0 38 05 C5 54 */ addi r0, r5, lbl_803EC554@l -/* 80331A74 0032E9D4 90 1F 00 00 */ stw r0, 0(r31) -/* 80331A78 0032E9D8 38 03 DF FC */ addi r0, r3, lbl_803EDFFC@l -/* 80331A7C 0032E9DC 7F 83 E3 78 */ mr r3, r28 -/* 80331A80 0032E9E0 90 1F 00 00 */ stw r0, 0(r31) -/* 80331A84 0032E9E4 48 00 D2 01 */ bl ReadLong__12CInputStreamFv -/* 80331A88 0032E9E8 90 7F 00 04 */ stw r3, 4(r31) -/* 80331A8C 0032E9EC 7F 83 E3 78 */ mr r3, r28 -/* 80331A90 0032E9F0 48 00 D1 F5 */ bl ReadLong__12CInputStreamFv -/* 80331A94 0032E9F4 90 7F 00 08 */ stw r3, 8(r31) -/* 80331A98 0032E9F8 7F 83 E3 78 */ mr r3, r28 -/* 80331A9C 0032E9FC 48 00 D2 41 */ bl ReadBool__12CInputStreamFv -/* 80331AA0 0032EA00 98 7F 00 0C */ stb r3, 0xc(r31) -/* 80331AA4 0032EA04 7F 83 E3 78 */ mr r3, r28 -/* 80331AA8 0032EA08 48 00 D2 35 */ bl ReadBool__12CInputStreamFv -/* 80331AAC 0032EA0C 98 7F 00 0D */ stb r3, 0xd(r31) -/* 80331AB0 0032EA10 7F 83 E3 78 */ mr r3, r28 -/* 80331AB4 0032EA14 48 00 D1 D1 */ bl ReadLong__12CInputStreamFv -/* 80331AB8 0032EA18 90 7F 00 10 */ stw r3, 0x10(r31) -/* 80331ABC 0032EA1C 7F 83 E3 78 */ mr r3, r28 -/* 80331AC0 0032EA20 48 00 D1 C5 */ bl ReadLong__12CInputStreamFv -/* 80331AC4 0032EA24 90 7F 00 14 */ stw r3, 0x14(r31) -/* 80331AC8 0032EA28 38 00 00 00 */ li r0, 0 -/* 80331ACC 0032EA2C 7F 83 E3 78 */ mr r3, r28 -/* 80331AD0 0032EA30 90 1F 00 1C */ stw r0, 0x1c(r31) -/* 80331AD4 0032EA34 90 1F 00 20 */ stw r0, 0x20(r31) -/* 80331AD8 0032EA38 90 1F 00 24 */ stw r0, 0x24(r31) -/* 80331ADC 0032EA3C 48 00 D1 A9 */ bl ReadLong__12CInputStreamFv -/* 80331AE0 0032EA40 7C 7D 1B 78 */ mr r29, r3 -/* 80331AE4 0032EA44 38 7F 00 18 */ addi r3, r31, 0x18 -/* 80331AE8 0032EA48 7F A4 EB 78 */ mr r4, r29 -/* 80331AEC 0032EA4C 4B D2 C3 0D */ bl "reserve__Q24rstl36vectorFi" -/* 80331AF0 0032EA50 3B C0 00 00 */ li r30, 0 -/* 80331AF4 0032EA54 48 00 00 60 */ b lbl_80331B54 -lbl_80331AF8: -/* 80331AF8 0032EA58 7F 83 E3 78 */ mr r3, r28 -/* 80331AFC 0032EA5C 48 00 D1 2D */ bl ReadFloat__12CInputStreamFv -/* 80331B00 0032EA60 80 1F 00 1C */ lwz r0, 0x1c(r31) -/* 80331B04 0032EA64 FF E0 08 90 */ fmr f31, f1 -/* 80331B08 0032EA68 80 BF 00 20 */ lwz r5, 0x20(r31) -/* 80331B0C 0032EA6C 7C 00 28 00 */ cmpw r0, r5 -/* 80331B10 0032EA70 41 80 00 1C */ blt lbl_80331B2C -/* 80331B14 0032EA74 2C 05 00 00 */ cmpwi r5, 0 -/* 80331B18 0032EA78 38 7F 00 18 */ addi r3, r31, 0x18 -/* 80331B1C 0032EA7C 38 80 00 04 */ li r4, 4 -/* 80331B20 0032EA80 41 82 00 08 */ beq lbl_80331B28 -/* 80331B24 0032EA84 54 A4 08 3C */ slwi r4, r5, 1 -lbl_80331B28: -/* 80331B28 0032EA88 4B D2 C2 D1 */ bl "reserve__Q24rstl36vectorFi" -lbl_80331B2C: -/* 80331B2C 0032EA8C 80 1F 00 1C */ lwz r0, 0x1c(r31) -/* 80331B30 0032EA90 80 7F 00 24 */ lwz r3, 0x24(r31) -/* 80331B34 0032EA94 54 00 10 3A */ slwi r0, r0, 2 -/* 80331B38 0032EA98 7C 63 02 15 */ add. r3, r3, r0 -/* 80331B3C 0032EA9C 41 82 00 08 */ beq lbl_80331B44 -/* 80331B40 0032EAA0 D3 E3 00 00 */ stfs f31, 0(r3) -lbl_80331B44: -/* 80331B44 0032EAA4 80 7F 00 1C */ lwz r3, 0x1c(r31) -/* 80331B48 0032EAA8 3B DE 00 01 */ addi r30, r30, 1 -/* 80331B4C 0032EAAC 38 03 00 01 */ addi r0, r3, 1 -/* 80331B50 0032EAB0 90 1F 00 1C */ stw r0, 0x1c(r31) -lbl_80331B54: -/* 80331B54 0032EAB4 7C 1E E8 00 */ cmpw r30, r29 -/* 80331B58 0032EAB8 41 80 FF A0 */ blt lbl_80331AF8 -/* 80331B5C 0032EABC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80331B60 0032EAC0 7F E3 FB 78 */ mr r3, r31 -/* 80331B64 0032EAC4 CB E1 00 18 */ lfd f31, 0x18(r1) -/* 80331B68 0032EAC8 83 E1 00 14 */ lwz r31, 0x14(r1) -/* 80331B6C 0032EACC 83 C1 00 10 */ lwz r30, 0x10(r1) -/* 80331B70 0032EAD0 83 A1 00 0C */ lwz r29, 0xc(r1) -/* 80331B74 0032EAD4 83 81 00 08 */ lwz r28, 8(r1) -/* 80331B78 0032EAD8 7C 08 03 A6 */ mtlr r0 -/* 80331B7C 0032EADC 38 21 00 20 */ addi r1, r1, 0x20 -/* 80331B80 0032EAE0 4E 80 00 20 */ blr - -.global GetValue__16CRELifetimeTweenCFiRf -GetValue__16CRELifetimeTweenCFiRf: -/* 80331B84 0032EAE4 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80331B88 0032EAE8 7C 08 02 A6 */ mflr r0 -/* 80331B8C 0032EAEC 90 01 00 44 */ stw r0, 0x44(r1) -/* 80331B90 0032EAF0 DB E1 00 30 */ stfd f31, 0x30(r1) -/* 80331B94 0032EAF4 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 80331B98 0032EAF8 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80331B9C 0032EAFC 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80331BA0 0032EB00 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80331BA4 0032EB04 7C 9E 23 78 */ mr r30, r4 -/* 80331BA8 0032EB08 3C 00 43 30 */ lis r0, 0x4330 -/* 80331BAC 0032EB0C 6F C6 80 00 */ xoris r6, r30, 0x8000 -/* 80331BB0 0032EB10 7C 7D 1B 78 */ mr r29, r3 -/* 80331BB4 0032EB14 90 C1 00 14 */ stw r6, 0x14(r1) -/* 80331BB8 0032EB18 7C BF 2B 78 */ mr r31, r5 -/* 80331BBC 0032EB1C 80 63 00 04 */ lwz r3, 4(r3) -/* 80331BC0 0032EB20 38 A1 00 0C */ addi r5, r1, 0xc -/* 80331BC4 0032EB24 90 01 00 10 */ stw r0, 0x10(r1) -/* 80331BC8 0032EB28 C8 42 CB 20 */ lfd f2, lbl_805AE840@sda21(r2) -/* 80331BCC 0032EB2C C8 21 00 10 */ lfd f1, 0x10(r1) -/* 80331BD0 0032EB30 C0 0D A8 D4 */ lfs f0, lbl_805A9494@sda21(r13) -/* 80331BD4 0032EB34 EC 21 10 28 */ fsubs f1, f1, f2 -/* 80331BD8 0032EB38 81 83 00 00 */ lwz r12, 0(r3) -/* 80331BDC 0032EB3C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80331BE0 0032EB40 EF E1 00 24 */ fdivs f31, f1, f0 -/* 80331BE4 0032EB44 7D 89 03 A6 */ mtctr r12 -/* 80331BE8 0032EB48 4E 80 04 21 */ bctrl -/* 80331BEC 0032EB4C 80 7D 00 08 */ lwz r3, 8(r29) -/* 80331BF0 0032EB50 7F C4 F3 78 */ mr r4, r30 -/* 80331BF4 0032EB54 38 A1 00 08 */ addi r5, r1, 8 -/* 80331BF8 0032EB58 81 83 00 00 */ lwz r12, 0(r3) -/* 80331BFC 0032EB5C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80331C00 0032EB60 7D 89 03 A6 */ mtctr r12 -/* 80331C04 0032EB64 4E 80 04 21 */ bctrl -/* 80331C08 0032EB68 C0 02 CB 18 */ lfs f0, lbl_805AE838@sda21(r2) -/* 80331C0C 0032EB6C 38 60 00 00 */ li r3, 0 -/* 80331C10 0032EB70 C0 21 00 0C */ lfs f1, 0xc(r1) -/* 80331C14 0032EB74 EC 00 F8 28 */ fsubs f0, f0, f31 -/* 80331C18 0032EB78 C0 41 00 08 */ lfs f2, 8(r1) -/* 80331C1C 0032EB7C EC 01 00 32 */ fmuls f0, f1, f0 -/* 80331C20 0032EB80 EC 02 07 FA */ fmadds f0, f2, f31, f0 -/* 80331C24 0032EB84 D0 1F 00 00 */ stfs f0, 0(r31) -/* 80331C28 0032EB88 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 80331C2C 0032EB8C 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80331C30 0032EB90 CB E1 00 30 */ lfd f31, 0x30(r1) -/* 80331C34 0032EB94 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80331C38 0032EB98 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80331C3C 0032EB9C 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80331C40 0032EBA0 7C 08 03 A6 */ mtlr r0 -/* 80331C44 0032EBA4 38 21 00 40 */ addi r1, r1, 0x40 -/* 80331C48 0032EBA8 4E 80 00 20 */ blr - -.global __dt__16CRELifetimeTween -__dt__16CRELifetimeTween: -/* 80331C4C 0032EBAC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80331C50 0032EBB0 7C 08 02 A6 */ mflr r0 -/* 80331C54 0032EBB4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80331C58 0032EBB8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80331C5C 0032EBBC 7C 9F 23 78 */ mr r31, r4 -/* 80331C60 0032EBC0 93 C1 00 08 */ stw r30, 8(r1) -/* 80331C64 0032EBC4 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80331C68 0032EBC8 41 82 00 88 */ beq lbl_80331CF0 -/* 80331C6C 0032EBCC 3C 60 80 3F */ lis r3, lbl_803EE010@ha -/* 80331C70 0032EBD0 38 03 E0 10 */ addi r0, r3, lbl_803EE010@l -/* 80331C74 0032EBD4 90 1E 00 00 */ stw r0, 0(r30) -/* 80331C78 0032EBD8 80 7E 00 04 */ lwz r3, 4(r30) -/* 80331C7C 0032EBDC 28 03 00 00 */ cmplwi r3, 0 -/* 80331C80 0032EBE0 41 82 00 18 */ beq lbl_80331C98 -/* 80331C84 0032EBE4 81 83 00 00 */ lwz r12, 0(r3) -/* 80331C88 0032EBE8 38 80 00 01 */ li r4, 1 -/* 80331C8C 0032EBEC 81 8C 00 08 */ lwz r12, 8(r12) -/* 80331C90 0032EBF0 7D 89 03 A6 */ mtctr r12 -/* 80331C94 0032EBF4 4E 80 04 21 */ bctrl -lbl_80331C98: -/* 80331C98 0032EBF8 80 7E 00 08 */ lwz r3, 8(r30) -/* 80331C9C 0032EBFC 28 03 00 00 */ cmplwi r3, 0 -/* 80331CA0 0032EC00 41 82 00 18 */ beq lbl_80331CB8 -/* 80331CA4 0032EC04 81 83 00 00 */ lwz r12, 0(r3) -/* 80331CA8 0032EC08 38 80 00 01 */ li r4, 1 -/* 80331CAC 0032EC0C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80331CB0 0032EC10 7D 89 03 A6 */ mtctr r12 -/* 80331CB4 0032EC14 4E 80 04 21 */ bctrl -lbl_80331CB8: -/* 80331CB8 0032EC18 28 1E 00 00 */ cmplwi r30, 0 -/* 80331CBC 0032EC1C 41 82 00 20 */ beq lbl_80331CDC -/* 80331CC0 0032EC20 3C 60 80 3F */ lis r3, lbl_803EC554@ha -/* 80331CC4 0032EC24 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l -/* 80331CC8 0032EC28 90 1E 00 00 */ stw r0, 0(r30) -/* 80331CCC 0032EC2C 41 82 00 10 */ beq lbl_80331CDC -/* 80331CD0 0032EC30 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 80331CD4 0032EC34 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 80331CD8 0032EC38 90 1E 00 00 */ stw r0, 0(r30) -lbl_80331CDC: -/* 80331CDC 0032EC3C 7F E0 07 35 */ extsh. r0, r31 -/* 80331CE0 0032EC40 40 81 00 10 */ ble lbl_80331CF0 -/* 80331CE4 0032EC44 7F C3 F3 78 */ mr r3, r30 -/* 80331CE8 0032EC48 38 80 00 0C */ li r4, 0xc -/* 80331CEC 0032EC4C 48 03 AD 79 */ bl sub_8036ca64 -lbl_80331CF0: -/* 80331CF0 0032EC50 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80331CF4 0032EC54 7F C3 F3 78 */ mr r3, r30 -/* 80331CF8 0032EC58 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80331CFC 0032EC5C 83 C1 00 08 */ lwz r30, 8(r1) -/* 80331D00 0032EC60 7C 08 03 A6 */ mtlr r0 -/* 80331D04 0032EC64 38 21 00 10 */ addi r1, r1, 0x10 -/* 80331D08 0032EC68 4E 80 00 20 */ blr - -.global __ct__16CRELifetimeTweenFP12CRealElementP12CRealElement -__ct__16CRELifetimeTweenFP12CRealElementP12CRealElement: -/* 80331D0C 0032EC6C 3D 00 80 3F */ lis r8, lbl_803EC5A8@ha -/* 80331D10 0032EC70 3C E0 80 3F */ lis r7, lbl_803EC554@ha -/* 80331D14 0032EC74 38 08 C5 A8 */ addi r0, r8, lbl_803EC5A8@l -/* 80331D18 0032EC78 3C C0 80 3F */ lis r6, lbl_803EE010@ha -/* 80331D1C 0032EC7C 90 03 00 00 */ stw r0, 0(r3) -/* 80331D20 0032EC80 38 E7 C5 54 */ addi r7, r7, lbl_803EC554@l -/* 80331D24 0032EC84 38 06 E0 10 */ addi r0, r6, lbl_803EE010@l -/* 80331D28 0032EC88 90 E3 00 00 */ stw r7, 0(r3) -/* 80331D2C 0032EC8C 90 03 00 00 */ stw r0, 0(r3) -/* 80331D30 0032EC90 90 83 00 04 */ stw r4, 4(r3) -/* 80331D34 0032EC94 90 A3 00 08 */ stw r5, 8(r3) -/* 80331D38 0032EC98 4E 80 00 20 */ blr - -.global GetValue__18CRELifetimePercentCFiRf -GetValue__18CRELifetimePercentCFiRf: -/* 80331D3C 0032EC9C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80331D40 0032ECA0 7C 08 02 A6 */ mflr r0 -/* 80331D44 0032ECA4 C0 02 CB 2C */ lfs f0, lbl_805AE84C@sda21(r2) -/* 80331D48 0032ECA8 90 01 00 24 */ stw r0, 0x24(r1) -/* 80331D4C 0032ECAC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80331D50 0032ECB0 7C BF 2B 78 */ mr r31, r5 -/* 80331D54 0032ECB4 38 A1 00 08 */ addi r5, r1, 8 -/* 80331D58 0032ECB8 80 63 00 04 */ lwz r3, 4(r3) -/* 80331D5C 0032ECBC D0 01 00 08 */ stfs f0, 8(r1) -/* 80331D60 0032ECC0 81 83 00 00 */ lwz r12, 0(r3) -/* 80331D64 0032ECC4 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80331D68 0032ECC8 7D 89 03 A6 */ mtctr r12 -/* 80331D6C 0032ECCC 4E 80 04 21 */ bctrl -/* 80331D70 0032ECD0 C0 21 00 08 */ lfs f1, 8(r1) -/* 80331D74 0032ECD4 C0 02 CB 2C */ lfs f0, lbl_805AE84C@sda21(r2) -/* 80331D78 0032ECD8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80331D7C 0032ECDC 40 80 00 08 */ bge lbl_80331D84 -/* 80331D80 0032ECE0 D0 01 00 08 */ stfs f0, 8(r1) -lbl_80331D84: -/* 80331D84 0032ECE4 C0 41 00 08 */ lfs f2, 8(r1) -/* 80331D88 0032ECE8 38 60 00 00 */ li r3, 0 -/* 80331D8C 0032ECEC C0 22 CB 34 */ lfs f1, lbl_805AE854@sda21(r2) -/* 80331D90 0032ECF0 C0 0D A8 D4 */ lfs f0, lbl_805A9494@sda21(r13) -/* 80331D94 0032ECF4 EC 22 08 24 */ fdivs f1, f2, f1 -/* 80331D98 0032ECF8 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80331D9C 0032ECFC D0 1F 00 00 */ stfs f0, 0(r31) -/* 80331DA0 0032ED00 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80331DA4 0032ED04 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80331DA8 0032ED08 7C 08 03 A6 */ mtlr r0 -/* 80331DAC 0032ED0C 38 21 00 20 */ addi r1, r1, 0x20 -/* 80331DB0 0032ED10 4E 80 00 20 */ blr - -.global __dt__18CRELifetimePercent -__dt__18CRELifetimePercent: -/* 80331DB4 0032ED14 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80331DB8 0032ED18 7C 08 02 A6 */ mflr r0 -/* 80331DBC 0032ED1C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80331DC0 0032ED20 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80331DC4 0032ED24 7C 9F 23 78 */ mr r31, r4 -/* 80331DC8 0032ED28 93 C1 00 08 */ stw r30, 8(r1) -/* 80331DCC 0032ED2C 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80331DD0 0032ED30 41 82 00 68 */ beq lbl_80331E38 -/* 80331DD4 0032ED34 3C 60 80 3F */ lis r3, lbl_803EE024@ha -/* 80331DD8 0032ED38 38 03 E0 24 */ addi r0, r3, lbl_803EE024@l -/* 80331DDC 0032ED3C 90 1E 00 00 */ stw r0, 0(r30) -/* 80331DE0 0032ED40 80 7E 00 04 */ lwz r3, 4(r30) -/* 80331DE4 0032ED44 28 03 00 00 */ cmplwi r3, 0 -/* 80331DE8 0032ED48 41 82 00 18 */ beq lbl_80331E00 -/* 80331DEC 0032ED4C 81 83 00 00 */ lwz r12, 0(r3) -/* 80331DF0 0032ED50 38 80 00 01 */ li r4, 1 -/* 80331DF4 0032ED54 81 8C 00 08 */ lwz r12, 8(r12) -/* 80331DF8 0032ED58 7D 89 03 A6 */ mtctr r12 -/* 80331DFC 0032ED5C 4E 80 04 21 */ bctrl -lbl_80331E00: -/* 80331E00 0032ED60 28 1E 00 00 */ cmplwi r30, 0 -/* 80331E04 0032ED64 41 82 00 20 */ beq lbl_80331E24 -/* 80331E08 0032ED68 3C 60 80 3F */ lis r3, lbl_803EC554@ha -/* 80331E0C 0032ED6C 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l -/* 80331E10 0032ED70 90 1E 00 00 */ stw r0, 0(r30) -/* 80331E14 0032ED74 41 82 00 10 */ beq lbl_80331E24 -/* 80331E18 0032ED78 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 80331E1C 0032ED7C 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 80331E20 0032ED80 90 1E 00 00 */ stw r0, 0(r30) -lbl_80331E24: -/* 80331E24 0032ED84 7F E0 07 35 */ extsh. r0, r31 -/* 80331E28 0032ED88 40 81 00 10 */ ble lbl_80331E38 -/* 80331E2C 0032ED8C 7F C3 F3 78 */ mr r3, r30 -/* 80331E30 0032ED90 38 80 00 08 */ li r4, 8 -/* 80331E34 0032ED94 48 03 AC 31 */ bl sub_8036ca64 -lbl_80331E38: -/* 80331E38 0032ED98 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80331E3C 0032ED9C 7F C3 F3 78 */ mr r3, r30 -/* 80331E40 0032EDA0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80331E44 0032EDA4 83 C1 00 08 */ lwz r30, 8(r1) -/* 80331E48 0032EDA8 7C 08 03 A6 */ mtlr r0 -/* 80331E4C 0032EDAC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80331E50 0032EDB0 4E 80 00 20 */ blr - -.global __ct__18CRELifetimePercentFP12CRealElement -__ct__18CRELifetimePercentFP12CRealElement: -/* 80331E54 0032EDB4 3C E0 80 3F */ lis r7, lbl_803EC5A8@ha -/* 80331E58 0032EDB8 3C C0 80 3F */ lis r6, lbl_803EC554@ha -/* 80331E5C 0032EDBC 38 07 C5 A8 */ addi r0, r7, lbl_803EC5A8@l -/* 80331E60 0032EDC0 3C A0 80 3F */ lis r5, lbl_803EE024@ha -/* 80331E64 0032EDC4 90 03 00 00 */ stw r0, 0(r3) -/* 80331E68 0032EDC8 38 C6 C5 54 */ addi r6, r6, lbl_803EC554@l -/* 80331E6C 0032EDCC 38 05 E0 24 */ addi r0, r5, lbl_803EE024@l -/* 80331E70 0032EDD0 90 C3 00 00 */ stw r6, 0(r3) -/* 80331E74 0032EDD4 90 03 00 00 */ stw r0, 0(r3) -/* 80331E78 0032EDD8 90 83 00 04 */ stw r4, 4(r3) -/* 80331E7C 0032EDDC 4E 80 00 20 */ blr - -.global GetValue__8CREPulseCFiRf -GetValue__8CREPulseCFiRf: -/* 80331E80 0032EDE0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80331E84 0032EDE4 7C 08 02 A6 */ mflr r0 -/* 80331E88 0032EDE8 90 01 00 24 */ stw r0, 0x24(r1) -/* 80331E8C 0032EDEC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80331E90 0032EDF0 7C BF 2B 78 */ mr r31, r5 -/* 80331E94 0032EDF4 38 A1 00 0C */ addi r5, r1, 0xc -/* 80331E98 0032EDF8 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80331E9C 0032EDFC 7C 9E 23 78 */ mr r30, r4 -/* 80331EA0 0032EE00 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80331EA4 0032EE04 7C 7D 1B 78 */ mr r29, r3 -/* 80331EA8 0032EE08 80 63 00 04 */ lwz r3, 4(r3) -/* 80331EAC 0032EE0C 81 83 00 00 */ lwz r12, 0(r3) -/* 80331EB0 0032EE10 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80331EB4 0032EE14 7D 89 03 A6 */ mtctr r12 -/* 80331EB8 0032EE18 4E 80 04 21 */ bctrl -/* 80331EBC 0032EE1C 80 7D 00 08 */ lwz r3, 8(r29) -/* 80331EC0 0032EE20 7F C4 F3 78 */ mr r4, r30 -/* 80331EC4 0032EE24 38 A1 00 08 */ addi r5, r1, 8 -/* 80331EC8 0032EE28 81 83 00 00 */ lwz r12, 0(r3) -/* 80331ECC 0032EE2C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80331ED0 0032EE30 7D 89 03 A6 */ mtctr r12 -/* 80331ED4 0032EE34 4E 80 04 21 */ bctrl -/* 80331ED8 0032EE38 80 61 00 08 */ lwz r3, 8(r1) -/* 80331EDC 0032EE3C 80 81 00 0C */ lwz r4, 0xc(r1) -/* 80331EE0 0032EE40 38 A3 00 01 */ addi r5, r3, 1 -/* 80331EE4 0032EE44 7C A4 2A 15 */ add. r5, r4, r5 -/* 80331EE8 0032EE48 40 80 00 08 */ bge lbl_80331EF0 -/* 80331EEC 0032EE4C 38 A0 00 01 */ li r5, 1 -lbl_80331EF0: -/* 80331EF0 0032EE50 2C 03 00 01 */ cmpwi r3, 1 -/* 80331EF4 0032EE54 41 80 00 58 */ blt lbl_80331F4C -/* 80331EF8 0032EE58 7C 1E 2B D6 */ divw r0, r30, r5 -/* 80331EFC 0032EE5C 7C 00 29 D6 */ mullw r0, r0, r5 -/* 80331F00 0032EE60 7C 00 F0 50 */ subf r0, r0, r30 -/* 80331F04 0032EE64 7C 00 20 00 */ cmpw r0, r4 -/* 80331F08 0032EE68 41 80 00 24 */ blt lbl_80331F2C -/* 80331F0C 0032EE6C 80 7D 00 10 */ lwz r3, 0x10(r29) -/* 80331F10 0032EE70 7F C4 F3 78 */ mr r4, r30 -/* 80331F14 0032EE74 7F E5 FB 78 */ mr r5, r31 -/* 80331F18 0032EE78 81 83 00 00 */ lwz r12, 0(r3) -/* 80331F1C 0032EE7C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80331F20 0032EE80 7D 89 03 A6 */ mtctr r12 -/* 80331F24 0032EE84 4E 80 04 21 */ bctrl -/* 80331F28 0032EE88 48 00 00 40 */ b lbl_80331F68 -lbl_80331F2C: -/* 80331F2C 0032EE8C 80 7D 00 0C */ lwz r3, 0xc(r29) -/* 80331F30 0032EE90 7F C4 F3 78 */ mr r4, r30 -/* 80331F34 0032EE94 7F E5 FB 78 */ mr r5, r31 -/* 80331F38 0032EE98 81 83 00 00 */ lwz r12, 0(r3) -/* 80331F3C 0032EE9C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80331F40 0032EEA0 7D 89 03 A6 */ mtctr r12 -/* 80331F44 0032EEA4 4E 80 04 21 */ bctrl -/* 80331F48 0032EEA8 48 00 00 20 */ b lbl_80331F68 -lbl_80331F4C: -/* 80331F4C 0032EEAC 80 7D 00 0C */ lwz r3, 0xc(r29) -/* 80331F50 0032EEB0 7F C4 F3 78 */ mr r4, r30 -/* 80331F54 0032EEB4 7F E5 FB 78 */ mr r5, r31 -/* 80331F58 0032EEB8 81 83 00 00 */ lwz r12, 0(r3) -/* 80331F5C 0032EEBC 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80331F60 0032EEC0 7D 89 03 A6 */ mtctr r12 -/* 80331F64 0032EEC4 4E 80 04 21 */ bctrl -lbl_80331F68: -/* 80331F68 0032EEC8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80331F6C 0032EECC 38 60 00 00 */ li r3, 0 -/* 80331F70 0032EED0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80331F74 0032EED4 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80331F78 0032EED8 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80331F7C 0032EEDC 7C 08 03 A6 */ mtlr r0 -/* 80331F80 0032EEE0 38 21 00 20 */ addi r1, r1, 0x20 -/* 80331F84 0032EEE4 4E 80 00 20 */ blr - -.global __dt__8CREPulse -__dt__8CREPulse: -/* 80331F88 0032EEE8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80331F8C 0032EEEC 7C 08 02 A6 */ mflr r0 -/* 80331F90 0032EEF0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80331F94 0032EEF4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80331F98 0032EEF8 7C 9F 23 78 */ mr r31, r4 -/* 80331F9C 0032EEFC 93 C1 00 08 */ stw r30, 8(r1) -/* 80331FA0 0032EF00 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80331FA4 0032EF04 41 82 00 C8 */ beq lbl_8033206C -/* 80331FA8 0032EF08 3C 60 80 3F */ lis r3, lbl_803EE038@ha -/* 80331FAC 0032EF0C 38 03 E0 38 */ addi r0, r3, lbl_803EE038@l -/* 80331FB0 0032EF10 90 1E 00 00 */ stw r0, 0(r30) -/* 80331FB4 0032EF14 80 7E 00 04 */ lwz r3, 4(r30) -/* 80331FB8 0032EF18 28 03 00 00 */ cmplwi r3, 0 -/* 80331FBC 0032EF1C 41 82 00 18 */ beq lbl_80331FD4 -/* 80331FC0 0032EF20 81 83 00 00 */ lwz r12, 0(r3) -/* 80331FC4 0032EF24 38 80 00 01 */ li r4, 1 -/* 80331FC8 0032EF28 81 8C 00 08 */ lwz r12, 8(r12) -/* 80331FCC 0032EF2C 7D 89 03 A6 */ mtctr r12 -/* 80331FD0 0032EF30 4E 80 04 21 */ bctrl -lbl_80331FD4: -/* 80331FD4 0032EF34 80 7E 00 08 */ lwz r3, 8(r30) -/* 80331FD8 0032EF38 28 03 00 00 */ cmplwi r3, 0 -/* 80331FDC 0032EF3C 41 82 00 18 */ beq lbl_80331FF4 -/* 80331FE0 0032EF40 81 83 00 00 */ lwz r12, 0(r3) -/* 80331FE4 0032EF44 38 80 00 01 */ li r4, 1 -/* 80331FE8 0032EF48 81 8C 00 08 */ lwz r12, 8(r12) -/* 80331FEC 0032EF4C 7D 89 03 A6 */ mtctr r12 -/* 80331FF0 0032EF50 4E 80 04 21 */ bctrl -lbl_80331FF4: -/* 80331FF4 0032EF54 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 80331FF8 0032EF58 28 03 00 00 */ cmplwi r3, 0 -/* 80331FFC 0032EF5C 41 82 00 18 */ beq lbl_80332014 -/* 80332000 0032EF60 81 83 00 00 */ lwz r12, 0(r3) -/* 80332004 0032EF64 38 80 00 01 */ li r4, 1 -/* 80332008 0032EF68 81 8C 00 08 */ lwz r12, 8(r12) -/* 8033200C 0032EF6C 7D 89 03 A6 */ mtctr r12 -/* 80332010 0032EF70 4E 80 04 21 */ bctrl -lbl_80332014: -/* 80332014 0032EF74 80 7E 00 10 */ lwz r3, 0x10(r30) -/* 80332018 0032EF78 28 03 00 00 */ cmplwi r3, 0 -/* 8033201C 0032EF7C 41 82 00 18 */ beq lbl_80332034 -/* 80332020 0032EF80 81 83 00 00 */ lwz r12, 0(r3) -/* 80332024 0032EF84 38 80 00 01 */ li r4, 1 -/* 80332028 0032EF88 81 8C 00 08 */ lwz r12, 8(r12) -/* 8033202C 0032EF8C 7D 89 03 A6 */ mtctr r12 -/* 80332030 0032EF90 4E 80 04 21 */ bctrl -lbl_80332034: -/* 80332034 0032EF94 28 1E 00 00 */ cmplwi r30, 0 -/* 80332038 0032EF98 41 82 00 20 */ beq lbl_80332058 -/* 8033203C 0032EF9C 3C 60 80 3F */ lis r3, lbl_803EC554@ha -/* 80332040 0032EFA0 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l -/* 80332044 0032EFA4 90 1E 00 00 */ stw r0, 0(r30) -/* 80332048 0032EFA8 41 82 00 10 */ beq lbl_80332058 -/* 8033204C 0032EFAC 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 80332050 0032EFB0 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 80332054 0032EFB4 90 1E 00 00 */ stw r0, 0(r30) -lbl_80332058: -/* 80332058 0032EFB8 7F E0 07 35 */ extsh. r0, r31 -/* 8033205C 0032EFBC 40 81 00 10 */ ble lbl_8033206C -/* 80332060 0032EFC0 7F C3 F3 78 */ mr r3, r30 -/* 80332064 0032EFC4 38 80 00 14 */ li r4, 0x14 -/* 80332068 0032EFC8 48 03 A9 FD */ bl sub_8036ca64 -lbl_8033206C: -/* 8033206C 0032EFCC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80332070 0032EFD0 7F C3 F3 78 */ mr r3, r30 -/* 80332074 0032EFD4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80332078 0032EFD8 83 C1 00 08 */ lwz r30, 8(r1) -/* 8033207C 0032EFDC 7C 08 03 A6 */ mtlr r0 -/* 80332080 0032EFE0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80332084 0032EFE4 4E 80 00 20 */ blr - -.global __ct__8CREPulseFP11CIntElementP11CIntElementP12CRealElementP12CRealElement -__ct__8CREPulseFP11CIntElementP11CIntElementP12CRealElementP12CRealElement: -/* 80332088 0032EFE8 3D 40 80 3F */ lis r10, lbl_803EC5A8@ha -/* 8033208C 0032EFEC 3D 20 80 3F */ lis r9, lbl_803EC554@ha -/* 80332090 0032EFF0 38 0A C5 A8 */ addi r0, r10, lbl_803EC5A8@l -/* 80332094 0032EFF4 3D 00 80 3F */ lis r8, lbl_803EE038@ha -/* 80332098 0032EFF8 90 03 00 00 */ stw r0, 0(r3) -/* 8033209C 0032EFFC 39 29 C5 54 */ addi r9, r9, lbl_803EC554@l -/* 803320A0 0032F000 38 08 E0 38 */ addi r0, r8, lbl_803EE038@l -/* 803320A4 0032F004 91 23 00 00 */ stw r9, 0(r3) -/* 803320A8 0032F008 90 03 00 00 */ stw r0, 0(r3) -/* 803320AC 0032F00C 90 83 00 04 */ stw r4, 4(r3) -/* 803320B0 0032F010 90 A3 00 08 */ stw r5, 8(r3) -/* 803320B4 0032F014 90 C3 00 0C */ stw r6, 0xc(r3) -/* 803320B8 0032F018 90 E3 00 10 */ stw r7, 0x10(r3) -/* 803320BC 0032F01C 4E 80 00 20 */ blr - -.global GetValue__8CREClampCFiRf -GetValue__8CREClampCFiRf: -/* 803320C0 0032F020 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 803320C4 0032F024 7C 08 02 A6 */ mflr r0 -/* 803320C8 0032F028 90 01 00 24 */ stw r0, 0x24(r1) -/* 803320CC 0032F02C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 803320D0 0032F030 7C BF 2B 78 */ mr r31, r5 -/* 803320D4 0032F034 38 A1 00 0C */ addi r5, r1, 0xc -/* 803320D8 0032F038 93 C1 00 18 */ stw r30, 0x18(r1) -/* 803320DC 0032F03C 7C 9E 23 78 */ mr r30, r4 -/* 803320E0 0032F040 93 A1 00 14 */ stw r29, 0x14(r1) -/* 803320E4 0032F044 7C 7D 1B 78 */ mr r29, r3 -/* 803320E8 0032F048 80 63 00 04 */ lwz r3, 4(r3) -/* 803320EC 0032F04C 81 83 00 00 */ lwz r12, 0(r3) -/* 803320F0 0032F050 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 803320F4 0032F054 7D 89 03 A6 */ mtctr r12 -/* 803320F8 0032F058 4E 80 04 21 */ bctrl -/* 803320FC 0032F05C 80 7D 00 08 */ lwz r3, 8(r29) -/* 80332100 0032F060 7F C4 F3 78 */ mr r4, r30 -/* 80332104 0032F064 38 A1 00 08 */ addi r5, r1, 8 -/* 80332108 0032F068 81 83 00 00 */ lwz r12, 0(r3) -/* 8033210C 0032F06C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80332110 0032F070 7D 89 03 A6 */ mtctr r12 -/* 80332114 0032F074 4E 80 04 21 */ bctrl -/* 80332118 0032F078 80 7D 00 0C */ lwz r3, 0xc(r29) -/* 8033211C 0032F07C 7F C4 F3 78 */ mr r4, r30 -/* 80332120 0032F080 7F E5 FB 78 */ mr r5, r31 -/* 80332124 0032F084 81 83 00 00 */ lwz r12, 0(r3) -/* 80332128 0032F088 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8033212C 0032F08C 7D 89 03 A6 */ mtctr r12 -/* 80332130 0032F090 4E 80 04 21 */ bctrl -/* 80332134 0032F094 C0 1F 00 00 */ lfs f0, 0(r31) -/* 80332138 0032F098 C0 21 00 08 */ lfs f1, 8(r1) -/* 8033213C 0032F09C FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80332140 0032F0A0 40 81 00 08 */ ble lbl_80332148 -/* 80332144 0032F0A4 D0 3F 00 00 */ stfs f1, 0(r31) -lbl_80332148: -/* 80332148 0032F0A8 C0 1F 00 00 */ lfs f0, 0(r31) -/* 8033214C 0032F0AC C0 21 00 0C */ lfs f1, 0xc(r1) -/* 80332150 0032F0B0 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80332154 0032F0B4 40 80 00 08 */ bge lbl_8033215C -/* 80332158 0032F0B8 D0 3F 00 00 */ stfs f1, 0(r31) -lbl_8033215C: -/* 8033215C 0032F0BC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80332160 0032F0C0 38 60 00 00 */ li r3, 0 -/* 80332164 0032F0C4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80332168 0032F0C8 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8033216C 0032F0CC 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80332170 0032F0D0 7C 08 03 A6 */ mtlr r0 -/* 80332174 0032F0D4 38 21 00 20 */ addi r1, r1, 0x20 -/* 80332178 0032F0D8 4E 80 00 20 */ blr - -.global __dt__8CREClamp -__dt__8CREClamp: -/* 8033217C 0032F0DC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80332180 0032F0E0 7C 08 02 A6 */ mflr r0 -/* 80332184 0032F0E4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80332188 0032F0E8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8033218C 0032F0EC 7C 9F 23 78 */ mr r31, r4 -/* 80332190 0032F0F0 93 C1 00 08 */ stw r30, 8(r1) -/* 80332194 0032F0F4 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80332198 0032F0F8 41 82 00 A8 */ beq lbl_80332240 -/* 8033219C 0032F0FC 3C 60 80 3F */ lis r3, lbl_803EE04C@ha -/* 803321A0 0032F100 38 03 E0 4C */ addi r0, r3, lbl_803EE04C@l -/* 803321A4 0032F104 90 1E 00 00 */ stw r0, 0(r30) -/* 803321A8 0032F108 80 7E 00 04 */ lwz r3, 4(r30) -/* 803321AC 0032F10C 28 03 00 00 */ cmplwi r3, 0 -/* 803321B0 0032F110 41 82 00 18 */ beq lbl_803321C8 -/* 803321B4 0032F114 81 83 00 00 */ lwz r12, 0(r3) -/* 803321B8 0032F118 38 80 00 01 */ li r4, 1 -/* 803321BC 0032F11C 81 8C 00 08 */ lwz r12, 8(r12) -/* 803321C0 0032F120 7D 89 03 A6 */ mtctr r12 -/* 803321C4 0032F124 4E 80 04 21 */ bctrl -lbl_803321C8: -/* 803321C8 0032F128 80 7E 00 08 */ lwz r3, 8(r30) -/* 803321CC 0032F12C 28 03 00 00 */ cmplwi r3, 0 -/* 803321D0 0032F130 41 82 00 18 */ beq lbl_803321E8 -/* 803321D4 0032F134 81 83 00 00 */ lwz r12, 0(r3) -/* 803321D8 0032F138 38 80 00 01 */ li r4, 1 -/* 803321DC 0032F13C 81 8C 00 08 */ lwz r12, 8(r12) -/* 803321E0 0032F140 7D 89 03 A6 */ mtctr r12 -/* 803321E4 0032F144 4E 80 04 21 */ bctrl -lbl_803321E8: -/* 803321E8 0032F148 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 803321EC 0032F14C 28 03 00 00 */ cmplwi r3, 0 -/* 803321F0 0032F150 41 82 00 18 */ beq lbl_80332208 -/* 803321F4 0032F154 81 83 00 00 */ lwz r12, 0(r3) -/* 803321F8 0032F158 38 80 00 01 */ li r4, 1 -/* 803321FC 0032F15C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80332200 0032F160 7D 89 03 A6 */ mtctr r12 -/* 80332204 0032F164 4E 80 04 21 */ bctrl -lbl_80332208: -/* 80332208 0032F168 28 1E 00 00 */ cmplwi r30, 0 -/* 8033220C 0032F16C 41 82 00 20 */ beq lbl_8033222C -/* 80332210 0032F170 3C 60 80 3F */ lis r3, lbl_803EC554@ha -/* 80332214 0032F174 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l -/* 80332218 0032F178 90 1E 00 00 */ stw r0, 0(r30) -/* 8033221C 0032F17C 41 82 00 10 */ beq lbl_8033222C -/* 80332220 0032F180 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 80332224 0032F184 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 80332228 0032F188 90 1E 00 00 */ stw r0, 0(r30) -lbl_8033222C: -/* 8033222C 0032F18C 7F E0 07 35 */ extsh. r0, r31 -/* 80332230 0032F190 40 81 00 10 */ ble lbl_80332240 -/* 80332234 0032F194 7F C3 F3 78 */ mr r3, r30 -/* 80332238 0032F198 38 80 00 10 */ li r4, 0x10 -/* 8033223C 0032F19C 48 03 A8 29 */ bl sub_8036ca64 -lbl_80332240: -/* 80332240 0032F1A0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80332244 0032F1A4 7F C3 F3 78 */ mr r3, r30 -/* 80332248 0032F1A8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8033224C 0032F1AC 83 C1 00 08 */ lwz r30, 8(r1) -/* 80332250 0032F1B0 7C 08 03 A6 */ mtlr r0 -/* 80332254 0032F1B4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80332258 0032F1B8 4E 80 00 20 */ blr - -.global __ct__8CREClampFP12CRealElementP12CRealElementP12CRealElement -__ct__8CREClampFP12CRealElementP12CRealElementP12CRealElement: -/* 8033225C 0032F1BC 3D 20 80 3F */ lis r9, lbl_803EC5A8@ha -/* 80332260 0032F1C0 3D 00 80 3F */ lis r8, lbl_803EC554@ha -/* 80332264 0032F1C4 38 09 C5 A8 */ addi r0, r9, lbl_803EC5A8@l -/* 80332268 0032F1C8 3C E0 80 3F */ lis r7, lbl_803EE04C@ha -/* 8033226C 0032F1CC 90 03 00 00 */ stw r0, 0(r3) -/* 80332270 0032F1D0 39 08 C5 54 */ addi r8, r8, lbl_803EC554@l -/* 80332274 0032F1D4 38 07 E0 4C */ addi r0, r7, lbl_803EE04C@l -/* 80332278 0032F1D8 91 03 00 00 */ stw r8, 0(r3) -/* 8033227C 0032F1DC 90 03 00 00 */ stw r0, 0(r3) -/* 80332280 0032F1E0 90 83 00 04 */ stw r4, 4(r3) -/* 80332284 0032F1E4 90 A3 00 08 */ stw r5, 8(r3) -/* 80332288 0032F1E8 90 C3 00 0C */ stw r6, 0xc(r3) -/* 8033228C 0032F1EC 4E 80 00 20 */ blr - -.global GetValue__12CRETimeChainCFiRf -GetValue__12CRETimeChainCFiRf: -/* 80332290 0032F1F0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80332294 0032F1F4 7C 08 02 A6 */ mflr r0 -/* 80332298 0032F1F8 90 01 00 24 */ stw r0, 0x24(r1) -/* 8033229C 0032F1FC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 803322A0 0032F200 7C BF 2B 78 */ mr r31, r5 -/* 803322A4 0032F204 38 A1 00 08 */ addi r5, r1, 8 -/* 803322A8 0032F208 93 C1 00 18 */ stw r30, 0x18(r1) -/* 803322AC 0032F20C 7C 9E 23 78 */ mr r30, r4 -/* 803322B0 0032F210 93 A1 00 14 */ stw r29, 0x14(r1) -/* 803322B4 0032F214 7C 7D 1B 78 */ mr r29, r3 -/* 803322B8 0032F218 80 63 00 0C */ lwz r3, 0xc(r3) -/* 803322BC 0032F21C 81 83 00 00 */ lwz r12, 0(r3) -/* 803322C0 0032F220 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 803322C4 0032F224 7D 89 03 A6 */ mtctr r12 -/* 803322C8 0032F228 4E 80 04 21 */ bctrl -/* 803322CC 0032F22C 80 01 00 08 */ lwz r0, 8(r1) -/* 803322D0 0032F230 7C 1E 00 00 */ cmpw r30, r0 -/* 803322D4 0032F234 40 80 00 24 */ bge lbl_803322F8 -/* 803322D8 0032F238 80 7D 00 04 */ lwz r3, 4(r29) -/* 803322DC 0032F23C 7F C4 F3 78 */ mr r4, r30 -/* 803322E0 0032F240 7F E5 FB 78 */ mr r5, r31 -/* 803322E4 0032F244 81 83 00 00 */ lwz r12, 0(r3) -/* 803322E8 0032F248 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 803322EC 0032F24C 7D 89 03 A6 */ mtctr r12 -/* 803322F0 0032F250 4E 80 04 21 */ bctrl -/* 803322F4 0032F254 48 00 00 20 */ b lbl_80332314 -lbl_803322F8: -/* 803322F8 0032F258 80 7D 00 08 */ lwz r3, 8(r29) -/* 803322FC 0032F25C 7F E5 FB 78 */ mr r5, r31 -/* 80332300 0032F260 7C 80 F0 50 */ subf r4, r0, r30 -/* 80332304 0032F264 81 83 00 00 */ lwz r12, 0(r3) -/* 80332308 0032F268 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8033230C 0032F26C 7D 89 03 A6 */ mtctr r12 -/* 80332310 0032F270 4E 80 04 21 */ bctrl -lbl_80332314: -/* 80332314 0032F274 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80332318 0032F278 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8033231C 0032F27C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80332320 0032F280 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80332324 0032F284 7C 08 03 A6 */ mtlr r0 -/* 80332328 0032F288 38 21 00 20 */ addi r1, r1, 0x20 -/* 8033232C 0032F28C 4E 80 00 20 */ blr - -.global __dt__12CRETimeChain -__dt__12CRETimeChain: -/* 80332330 0032F290 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80332334 0032F294 7C 08 02 A6 */ mflr r0 -/* 80332338 0032F298 90 01 00 14 */ stw r0, 0x14(r1) -/* 8033233C 0032F29C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80332340 0032F2A0 7C 9F 23 78 */ mr r31, r4 -/* 80332344 0032F2A4 93 C1 00 08 */ stw r30, 8(r1) -/* 80332348 0032F2A8 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8033234C 0032F2AC 41 82 00 A8 */ beq lbl_803323F4 -/* 80332350 0032F2B0 3C 60 80 3F */ lis r3, lbl_803EE060@ha -/* 80332354 0032F2B4 38 03 E0 60 */ addi r0, r3, lbl_803EE060@l -/* 80332358 0032F2B8 90 1E 00 00 */ stw r0, 0(r30) -/* 8033235C 0032F2BC 80 7E 00 04 */ lwz r3, 4(r30) -/* 80332360 0032F2C0 28 03 00 00 */ cmplwi r3, 0 -/* 80332364 0032F2C4 41 82 00 18 */ beq lbl_8033237C -/* 80332368 0032F2C8 81 83 00 00 */ lwz r12, 0(r3) -/* 8033236C 0032F2CC 38 80 00 01 */ li r4, 1 -/* 80332370 0032F2D0 81 8C 00 08 */ lwz r12, 8(r12) -/* 80332374 0032F2D4 7D 89 03 A6 */ mtctr r12 -/* 80332378 0032F2D8 4E 80 04 21 */ bctrl -lbl_8033237C: -/* 8033237C 0032F2DC 80 7E 00 08 */ lwz r3, 8(r30) -/* 80332380 0032F2E0 28 03 00 00 */ cmplwi r3, 0 -/* 80332384 0032F2E4 41 82 00 18 */ beq lbl_8033239C -/* 80332388 0032F2E8 81 83 00 00 */ lwz r12, 0(r3) -/* 8033238C 0032F2EC 38 80 00 01 */ li r4, 1 -/* 80332390 0032F2F0 81 8C 00 08 */ lwz r12, 8(r12) -/* 80332394 0032F2F4 7D 89 03 A6 */ mtctr r12 -/* 80332398 0032F2F8 4E 80 04 21 */ bctrl -lbl_8033239C: -/* 8033239C 0032F2FC 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 803323A0 0032F300 28 03 00 00 */ cmplwi r3, 0 -/* 803323A4 0032F304 41 82 00 18 */ beq lbl_803323BC -/* 803323A8 0032F308 81 83 00 00 */ lwz r12, 0(r3) -/* 803323AC 0032F30C 38 80 00 01 */ li r4, 1 -/* 803323B0 0032F310 81 8C 00 08 */ lwz r12, 8(r12) -/* 803323B4 0032F314 7D 89 03 A6 */ mtctr r12 -/* 803323B8 0032F318 4E 80 04 21 */ bctrl -lbl_803323BC: -/* 803323BC 0032F31C 28 1E 00 00 */ cmplwi r30, 0 -/* 803323C0 0032F320 41 82 00 20 */ beq lbl_803323E0 -/* 803323C4 0032F324 3C 60 80 3F */ lis r3, lbl_803EC554@ha -/* 803323C8 0032F328 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l -/* 803323CC 0032F32C 90 1E 00 00 */ stw r0, 0(r30) -/* 803323D0 0032F330 41 82 00 10 */ beq lbl_803323E0 -/* 803323D4 0032F334 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 803323D8 0032F338 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 803323DC 0032F33C 90 1E 00 00 */ stw r0, 0(r30) -lbl_803323E0: -/* 803323E0 0032F340 7F E0 07 35 */ extsh. r0, r31 -/* 803323E4 0032F344 40 81 00 10 */ ble lbl_803323F4 -/* 803323E8 0032F348 7F C3 F3 78 */ mr r3, r30 -/* 803323EC 0032F34C 38 80 00 10 */ li r4, 0x10 -/* 803323F0 0032F350 48 03 A6 75 */ bl sub_8036ca64 -lbl_803323F4: -/* 803323F4 0032F354 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803323F8 0032F358 7F C3 F3 78 */ mr r3, r30 -/* 803323FC 0032F35C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80332400 0032F360 83 C1 00 08 */ lwz r30, 8(r1) -/* 80332404 0032F364 7C 08 03 A6 */ mtlr r0 -/* 80332408 0032F368 38 21 00 10 */ addi r1, r1, 0x10 -/* 8033240C 0032F36C 4E 80 00 20 */ blr - -.global __ct__12CRETimeChainFP12CRealElementP12CRealElementP11CIntElement -__ct__12CRETimeChainFP12CRealElementP12CRealElementP11CIntElement: -/* 80332410 0032F370 3D 20 80 3F */ lis r9, lbl_803EC5A8@ha -/* 80332414 0032F374 3D 00 80 3F */ lis r8, lbl_803EC554@ha -/* 80332418 0032F378 38 09 C5 A8 */ addi r0, r9, lbl_803EC5A8@l -/* 8033241C 0032F37C 3C E0 80 3F */ lis r7, lbl_803EE060@ha -/* 80332420 0032F380 90 03 00 00 */ stw r0, 0(r3) -/* 80332424 0032F384 39 08 C5 54 */ addi r8, r8, lbl_803EC554@l -/* 80332428 0032F388 38 07 E0 60 */ addi r0, r7, lbl_803EE060@l -/* 8033242C 0032F38C 91 03 00 00 */ stw r8, 0(r3) -/* 80332430 0032F390 90 03 00 00 */ stw r0, 0(r3) -/* 80332434 0032F394 90 83 00 04 */ stw r4, 4(r3) -/* 80332438 0032F398 90 A3 00 08 */ stw r5, 8(r3) -/* 8033243C 0032F39C 90 C3 00 0C */ stw r6, 0xc(r3) -/* 80332440 0032F3A0 4E 80 00 20 */ blr - -.global GetValue__16CREInitialRandomCFiRf -GetValue__16CREInitialRandomCFiRf: -/* 80332444 0032F3A4 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80332448 0032F3A8 7C 08 02 A6 */ mflr r0 -/* 8033244C 0032F3AC 90 01 00 34 */ stw r0, 0x34(r1) -/* 80332450 0032F3B0 DB E1 00 20 */ stfd f31, 0x20(r1) -/* 80332454 0032F3B4 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 -/* 80332458 0032F3B8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8033245C 0032F3BC 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80332460 0032F3C0 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80332464 0032F3C4 7C 9E 23 79 */ or. r30, r4, r4 -/* 80332468 0032F3C8 7C 7D 1B 78 */ mr r29, r3 -/* 8033246C 0032F3CC 7C BF 2B 78 */ mr r31, r5 -/* 80332470 0032F3D0 40 82 00 54 */ bne lbl_803324C4 -/* 80332474 0032F3D4 80 7D 00 04 */ lwz r3, 4(r29) -/* 80332478 0032F3D8 38 A1 00 0C */ addi r5, r1, 0xc -/* 8033247C 0032F3DC 81 83 00 00 */ lwz r12, 0(r3) -/* 80332480 0032F3E0 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80332484 0032F3E4 7D 89 03 A6 */ mtctr r12 -/* 80332488 0032F3E8 4E 80 04 21 */ bctrl -/* 8033248C 0032F3EC 80 7D 00 08 */ lwz r3, 8(r29) -/* 80332490 0032F3F0 7F C4 F3 78 */ mr r4, r30 -/* 80332494 0032F3F4 38 A1 00 08 */ addi r5, r1, 8 -/* 80332498 0032F3F8 81 83 00 00 */ lwz r12, 0(r3) -/* 8033249C 0032F3FC 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 803324A0 0032F400 7D 89 03 A6 */ mtctr r12 -/* 803324A4 0032F404 4E 80 04 21 */ bctrl -/* 803324A8 0032F408 C3 E1 00 0C */ lfs f31, 0xc(r1) -/* 803324AC 0032F40C 4B FE 01 51 */ bl GetRandomNumber__9CRandom16Fv -/* 803324B0 0032F410 4B FE 00 2D */ bl Float__9CRandom16Fv -/* 803324B4 0032F414 C0 01 00 08 */ lfs f0, 8(r1) -/* 803324B8 0032F418 EC 00 F8 28 */ fsubs f0, f0, f31 -/* 803324BC 0032F41C EC 00 F8 7A */ fmadds f0, f0, f1, f31 -/* 803324C0 0032F420 D0 1F 00 00 */ stfs f0, 0(r31) -lbl_803324C4: -/* 803324C4 0032F424 38 60 00 00 */ li r3, 0 -/* 803324C8 0032F428 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 -/* 803324CC 0032F42C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 803324D0 0032F430 CB E1 00 20 */ lfd f31, 0x20(r1) -/* 803324D4 0032F434 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 803324D8 0032F438 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 803324DC 0032F43C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 803324E0 0032F440 7C 08 03 A6 */ mtlr r0 -/* 803324E4 0032F444 38 21 00 30 */ addi r1, r1, 0x30 -/* 803324E8 0032F448 4E 80 00 20 */ blr - -.global __dt__16CREInitialRandom -__dt__16CREInitialRandom: -/* 803324EC 0032F44C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803324F0 0032F450 7C 08 02 A6 */ mflr r0 -/* 803324F4 0032F454 90 01 00 14 */ stw r0, 0x14(r1) -/* 803324F8 0032F458 93 E1 00 0C */ stw r31, 0xc(r1) -/* 803324FC 0032F45C 7C 9F 23 78 */ mr r31, r4 -/* 80332500 0032F460 93 C1 00 08 */ stw r30, 8(r1) -/* 80332504 0032F464 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80332508 0032F468 41 82 00 88 */ beq lbl_80332590 -/* 8033250C 0032F46C 3C 60 80 3F */ lis r3, lbl_803EE074@ha -/* 80332510 0032F470 38 03 E0 74 */ addi r0, r3, lbl_803EE074@l -/* 80332514 0032F474 90 1E 00 00 */ stw r0, 0(r30) -/* 80332518 0032F478 80 7E 00 04 */ lwz r3, 4(r30) -/* 8033251C 0032F47C 28 03 00 00 */ cmplwi r3, 0 -/* 80332520 0032F480 41 82 00 18 */ beq lbl_80332538 -/* 80332524 0032F484 81 83 00 00 */ lwz r12, 0(r3) -/* 80332528 0032F488 38 80 00 01 */ li r4, 1 -/* 8033252C 0032F48C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80332530 0032F490 7D 89 03 A6 */ mtctr r12 -/* 80332534 0032F494 4E 80 04 21 */ bctrl -lbl_80332538: -/* 80332538 0032F498 80 7E 00 08 */ lwz r3, 8(r30) -/* 8033253C 0032F49C 28 03 00 00 */ cmplwi r3, 0 -/* 80332540 0032F4A0 41 82 00 18 */ beq lbl_80332558 -/* 80332544 0032F4A4 81 83 00 00 */ lwz r12, 0(r3) -/* 80332548 0032F4A8 38 80 00 01 */ li r4, 1 -/* 8033254C 0032F4AC 81 8C 00 08 */ lwz r12, 8(r12) -/* 80332550 0032F4B0 7D 89 03 A6 */ mtctr r12 -/* 80332554 0032F4B4 4E 80 04 21 */ bctrl -lbl_80332558: -/* 80332558 0032F4B8 28 1E 00 00 */ cmplwi r30, 0 -/* 8033255C 0032F4BC 41 82 00 20 */ beq lbl_8033257C -/* 80332560 0032F4C0 3C 60 80 3F */ lis r3, lbl_803EC554@ha -/* 80332564 0032F4C4 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l -/* 80332568 0032F4C8 90 1E 00 00 */ stw r0, 0(r30) -/* 8033256C 0032F4CC 41 82 00 10 */ beq lbl_8033257C -/* 80332570 0032F4D0 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 80332574 0032F4D4 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 80332578 0032F4D8 90 1E 00 00 */ stw r0, 0(r30) -lbl_8033257C: -/* 8033257C 0032F4DC 7F E0 07 35 */ extsh. r0, r31 -/* 80332580 0032F4E0 40 81 00 10 */ ble lbl_80332590 -/* 80332584 0032F4E4 7F C3 F3 78 */ mr r3, r30 -/* 80332588 0032F4E8 38 80 00 0C */ li r4, 0xc -/* 8033258C 0032F4EC 48 03 A4 D9 */ bl sub_8036ca64 -lbl_80332590: -/* 80332590 0032F4F0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80332594 0032F4F4 7F C3 F3 78 */ mr r3, r30 -/* 80332598 0032F4F8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8033259C 0032F4FC 83 C1 00 08 */ lwz r30, 8(r1) -/* 803325A0 0032F500 7C 08 03 A6 */ mtlr r0 -/* 803325A4 0032F504 38 21 00 10 */ addi r1, r1, 0x10 -/* 803325A8 0032F508 4E 80 00 20 */ blr - -.global __ct__16CREInitialRandomFC12CRealElementC12CRealElement -__ct__16CREInitialRandomFC12CRealElementC12CRealElement: -/* 803325AC 0032F50C 3D 00 80 3F */ lis r8, lbl_803EC5A8@ha -/* 803325B0 0032F510 3C E0 80 3F */ lis r7, lbl_803EC554@ha -/* 803325B4 0032F514 38 08 C5 A8 */ addi r0, r8, lbl_803EC5A8@l -/* 803325B8 0032F518 3C C0 80 3F */ lis r6, lbl_803EE074@ha -/* 803325BC 0032F51C 90 03 00 00 */ stw r0, 0(r3) -/* 803325C0 0032F520 38 E7 C5 54 */ addi r7, r7, lbl_803EC554@l -/* 803325C4 0032F524 38 06 E0 74 */ addi r0, r6, lbl_803EE074@l -/* 803325C8 0032F528 90 E3 00 00 */ stw r7, 0(r3) -/* 803325CC 0032F52C 90 03 00 00 */ stw r0, 0(r3) -/* 803325D0 0032F530 90 83 00 04 */ stw r4, 4(r3) -/* 803325D4 0032F534 90 A3 00 08 */ stw r5, 8(r3) -/* 803325D8 0032F538 4E 80 00 20 */ blr - -.global GetValue__9CRERandomCFiRf -GetValue__9CRERandomCFiRf: -/* 803325DC 0032F53C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 803325E0 0032F540 7C 08 02 A6 */ mflr r0 -/* 803325E4 0032F544 90 01 00 34 */ stw r0, 0x34(r1) -/* 803325E8 0032F548 DB E1 00 20 */ stfd f31, 0x20(r1) -/* 803325EC 0032F54C F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 -/* 803325F0 0032F550 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 803325F4 0032F554 93 C1 00 18 */ stw r30, 0x18(r1) -/* 803325F8 0032F558 93 A1 00 14 */ stw r29, 0x14(r1) -/* 803325FC 0032F55C 7C 7D 1B 78 */ mr r29, r3 -/* 80332600 0032F560 7C BF 2B 78 */ mr r31, r5 -/* 80332604 0032F564 80 63 00 04 */ lwz r3, 4(r3) -/* 80332608 0032F568 7C 9E 23 78 */ mr r30, r4 -/* 8033260C 0032F56C 38 A1 00 0C */ addi r5, r1, 0xc -/* 80332610 0032F570 81 83 00 00 */ lwz r12, 0(r3) -/* 80332614 0032F574 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80332618 0032F578 7D 89 03 A6 */ mtctr r12 -/* 8033261C 0032F57C 4E 80 04 21 */ bctrl -/* 80332620 0032F580 80 7D 00 08 */ lwz r3, 8(r29) -/* 80332624 0032F584 7F C4 F3 78 */ mr r4, r30 -/* 80332628 0032F588 38 A1 00 08 */ addi r5, r1, 8 -/* 8033262C 0032F58C 81 83 00 00 */ lwz r12, 0(r3) -/* 80332630 0032F590 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80332634 0032F594 7D 89 03 A6 */ mtctr r12 -/* 80332638 0032F598 4E 80 04 21 */ bctrl -/* 8033263C 0032F59C C3 E1 00 0C */ lfs f31, 0xc(r1) -/* 80332640 0032F5A0 4B FD FF BD */ bl GetRandomNumber__9CRandom16Fv -/* 80332644 0032F5A4 4B FD FE 99 */ bl Float__9CRandom16Fv -/* 80332648 0032F5A8 C0 01 00 08 */ lfs f0, 8(r1) -/* 8033264C 0032F5AC 38 60 00 00 */ li r3, 0 -/* 80332650 0032F5B0 EC 00 F8 28 */ fsubs f0, f0, f31 -/* 80332654 0032F5B4 EC 00 F8 7A */ fmadds f0, f0, f1, f31 -/* 80332658 0032F5B8 D0 1F 00 00 */ stfs f0, 0(r31) -/* 8033265C 0032F5BC E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 -/* 80332660 0032F5C0 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80332664 0032F5C4 CB E1 00 20 */ lfd f31, 0x20(r1) -/* 80332668 0032F5C8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8033266C 0032F5CC 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80332670 0032F5D0 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80332674 0032F5D4 7C 08 03 A6 */ mtlr r0 -/* 80332678 0032F5D8 38 21 00 30 */ addi r1, r1, 0x30 -/* 8033267C 0032F5DC 4E 80 00 20 */ blr - -.global __dt__9CRERandomFv -__dt__9CRERandomFv: -/* 80332680 0032F5E0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80332684 0032F5E4 7C 08 02 A6 */ mflr r0 -/* 80332688 0032F5E8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8033268C 0032F5EC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80332690 0032F5F0 7C 9F 23 78 */ mr r31, r4 -/* 80332694 0032F5F4 93 C1 00 08 */ stw r30, 8(r1) -/* 80332698 0032F5F8 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8033269C 0032F5FC 41 82 00 88 */ beq lbl_80332724 -/* 803326A0 0032F600 3C 60 80 3F */ lis r3, lbl_803EE088@ha -/* 803326A4 0032F604 38 03 E0 88 */ addi r0, r3, lbl_803EE088@l -/* 803326A8 0032F608 90 1E 00 00 */ stw r0, 0(r30) -/* 803326AC 0032F60C 80 7E 00 04 */ lwz r3, 4(r30) -/* 803326B0 0032F610 28 03 00 00 */ cmplwi r3, 0 -/* 803326B4 0032F614 41 82 00 18 */ beq lbl_803326CC -/* 803326B8 0032F618 81 83 00 00 */ lwz r12, 0(r3) -/* 803326BC 0032F61C 38 80 00 01 */ li r4, 1 -/* 803326C0 0032F620 81 8C 00 08 */ lwz r12, 8(r12) -/* 803326C4 0032F624 7D 89 03 A6 */ mtctr r12 -/* 803326C8 0032F628 4E 80 04 21 */ bctrl -lbl_803326CC: -/* 803326CC 0032F62C 80 7E 00 08 */ lwz r3, 8(r30) -/* 803326D0 0032F630 28 03 00 00 */ cmplwi r3, 0 -/* 803326D4 0032F634 41 82 00 18 */ beq lbl_803326EC -/* 803326D8 0032F638 81 83 00 00 */ lwz r12, 0(r3) -/* 803326DC 0032F63C 38 80 00 01 */ li r4, 1 -/* 803326E0 0032F640 81 8C 00 08 */ lwz r12, 8(r12) -/* 803326E4 0032F644 7D 89 03 A6 */ mtctr r12 -/* 803326E8 0032F648 4E 80 04 21 */ bctrl -lbl_803326EC: -/* 803326EC 0032F64C 28 1E 00 00 */ cmplwi r30, 0 -/* 803326F0 0032F650 41 82 00 20 */ beq lbl_80332710 -/* 803326F4 0032F654 3C 60 80 3F */ lis r3, lbl_803EC554@ha -/* 803326F8 0032F658 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l -/* 803326FC 0032F65C 90 1E 00 00 */ stw r0, 0(r30) -/* 80332700 0032F660 41 82 00 10 */ beq lbl_80332710 -/* 80332704 0032F664 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 80332708 0032F668 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 8033270C 0032F66C 90 1E 00 00 */ stw r0, 0(r30) -lbl_80332710: -/* 80332710 0032F670 7F E0 07 35 */ extsh. r0, r31 -/* 80332714 0032F674 40 81 00 10 */ ble lbl_80332724 -/* 80332718 0032F678 7F C3 F3 78 */ mr r3, r30 -/* 8033271C 0032F67C 38 80 00 0C */ li r4, 0xc -/* 80332720 0032F680 48 03 A3 45 */ bl sub_8036ca64 -lbl_80332724: -/* 80332724 0032F684 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80332728 0032F688 7F C3 F3 78 */ mr r3, r30 -/* 8033272C 0032F68C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80332730 0032F690 83 C1 00 08 */ lwz r30, 8(r1) -/* 80332734 0032F694 7C 08 03 A6 */ mtlr r0 -/* 80332738 0032F698 38 21 00 10 */ addi r1, r1, 0x10 -/* 8033273C 0032F69C 4E 80 00 20 */ blr - -.global __ct__9CRERandomFP12CRealElementP12CRealElement -__ct__9CRERandomFP12CRealElementP12CRealElement: -/* 80332740 0032F6A0 3D 00 80 3F */ lis r8, lbl_803EC5A8@ha -/* 80332744 0032F6A4 3C E0 80 3F */ lis r7, lbl_803EC554@ha -/* 80332748 0032F6A8 38 08 C5 A8 */ addi r0, r8, lbl_803EC5A8@l -/* 8033274C 0032F6AC 3C C0 80 3F */ lis r6, lbl_803EE088@ha -/* 80332750 0032F6B0 90 03 00 00 */ stw r0, 0(r3) -/* 80332754 0032F6B4 38 E7 C5 54 */ addi r7, r7, lbl_803EC554@l -/* 80332758 0032F6B8 38 06 E0 88 */ addi r0, r6, lbl_803EE088@l -/* 8033275C 0032F6BC 90 E3 00 00 */ stw r7, 0(r3) -/* 80332760 0032F6C0 90 03 00 00 */ stw r0, 0(r3) -/* 80332764 0032F6C4 90 83 00 04 */ stw r4, 4(r3) -/* 80332768 0032F6C8 90 A3 00 08 */ stw r5, 8(r3) -/* 8033276C 0032F6CC 4E 80 00 20 */ blr - -.global GetValue__13CREDotProductCFiRf -GetValue__13CREDotProductCFiRf: -/* 80332770 0032F6D0 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80332774 0032F6D4 7C 08 02 A6 */ mflr r0 -/* 80332778 0032F6D8 3C C0 80 5A */ lis r6, skZero3f@ha -/* 8033277C 0032F6DC 90 01 00 34 */ stw r0, 0x34(r1) -/* 80332780 0032F6E0 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80332784 0032F6E4 7C BF 2B 78 */ mr r31, r5 -/* 80332788 0032F6E8 38 A1 00 14 */ addi r5, r1, 0x14 -/* 8033278C 0032F6EC 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80332790 0032F6F0 7C 9E 23 78 */ mr r30, r4 -/* 80332794 0032F6F4 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80332798 0032F6F8 7C 7D 1B 78 */ mr r29, r3 -/* 8033279C 0032F6FC 38 66 66 A0 */ addi r3, r6, skZero3f@l -/* 803327A0 0032F700 C0 03 00 00 */ lfs f0, 0(r3) -/* 803327A4 0032F704 C0 23 00 04 */ lfs f1, 4(r3) -/* 803327A8 0032F708 C0 43 00 08 */ lfs f2, 8(r3) -/* 803327AC 0032F70C D0 01 00 14 */ stfs f0, 0x14(r1) -/* 803327B0 0032F710 80 7D 00 04 */ lwz r3, 4(r29) -/* 803327B4 0032F714 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 803327B8 0032F718 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 803327BC 0032F71C D0 01 00 08 */ stfs f0, 8(r1) -/* 803327C0 0032F720 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 803327C4 0032F724 D0 41 00 10 */ stfs f2, 0x10(r1) -/* 803327C8 0032F728 81 83 00 00 */ lwz r12, 0(r3) -/* 803327CC 0032F72C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 803327D0 0032F730 7D 89 03 A6 */ mtctr r12 -/* 803327D4 0032F734 4E 80 04 21 */ bctrl -/* 803327D8 0032F738 80 7D 00 08 */ lwz r3, 8(r29) -/* 803327DC 0032F73C 7F C4 F3 78 */ mr r4, r30 -/* 803327E0 0032F740 38 A1 00 08 */ addi r5, r1, 8 -/* 803327E4 0032F744 81 83 00 00 */ lwz r12, 0(r3) -/* 803327E8 0032F748 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 803327EC 0032F74C 7D 89 03 A6 */ mtctr r12 -/* 803327F0 0032F750 4E 80 04 21 */ bctrl -/* 803327F4 0032F754 C0 21 00 18 */ lfs f1, 0x18(r1) -/* 803327F8 0032F758 38 60 00 00 */ li r3, 0 -/* 803327FC 0032F75C C0 01 00 0C */ lfs f0, 0xc(r1) -/* 80332800 0032F760 C0 41 00 14 */ lfs f2, 0x14(r1) -/* 80332804 0032F764 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80332808 0032F768 C0 21 00 08 */ lfs f1, 8(r1) -/* 8033280C 0032F76C C0 81 00 1C */ lfs f4, 0x1c(r1) -/* 80332810 0032F770 C0 61 00 10 */ lfs f3, 0x10(r1) -/* 80332814 0032F774 EC 02 00 7A */ fmadds f0, f2, f1, f0 -/* 80332818 0032F778 EC 04 00 FA */ fmadds f0, f4, f3, f0 -/* 8033281C 0032F77C D0 1F 00 00 */ stfs f0, 0(r31) -/* 80332820 0032F780 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80332824 0032F784 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80332828 0032F788 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 8033282C 0032F78C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80332830 0032F790 7C 08 03 A6 */ mtlr r0 -/* 80332834 0032F794 38 21 00 30 */ addi r1, r1, 0x30 -/* 80332838 0032F798 4E 80 00 20 */ blr - -.global __dt__13CREDotProduct -__dt__13CREDotProduct: -/* 8033283C 0032F79C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80332840 0032F7A0 7C 08 02 A6 */ mflr r0 -/* 80332844 0032F7A4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80332848 0032F7A8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8033284C 0032F7AC 7C 9F 23 78 */ mr r31, r4 -/* 80332850 0032F7B0 93 C1 00 08 */ stw r30, 8(r1) -/* 80332854 0032F7B4 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80332858 0032F7B8 41 82 00 88 */ beq lbl_803328E0 -/* 8033285C 0032F7BC 3C 60 80 3F */ lis r3, lbl_803EE09C@ha -/* 80332860 0032F7C0 38 03 E0 9C */ addi r0, r3, lbl_803EE09C@l -/* 80332864 0032F7C4 90 1E 00 00 */ stw r0, 0(r30) -/* 80332868 0032F7C8 80 7E 00 04 */ lwz r3, 4(r30) -/* 8033286C 0032F7CC 28 03 00 00 */ cmplwi r3, 0 -/* 80332870 0032F7D0 41 82 00 18 */ beq lbl_80332888 -/* 80332874 0032F7D4 81 83 00 00 */ lwz r12, 0(r3) -/* 80332878 0032F7D8 38 80 00 01 */ li r4, 1 -/* 8033287C 0032F7DC 81 8C 00 08 */ lwz r12, 8(r12) -/* 80332880 0032F7E0 7D 89 03 A6 */ mtctr r12 -/* 80332884 0032F7E4 4E 80 04 21 */ bctrl -lbl_80332888: -/* 80332888 0032F7E8 80 7E 00 08 */ lwz r3, 8(r30) -/* 8033288C 0032F7EC 28 03 00 00 */ cmplwi r3, 0 -/* 80332890 0032F7F0 41 82 00 18 */ beq lbl_803328A8 -/* 80332894 0032F7F4 81 83 00 00 */ lwz r12, 0(r3) -/* 80332898 0032F7F8 38 80 00 01 */ li r4, 1 -/* 8033289C 0032F7FC 81 8C 00 08 */ lwz r12, 8(r12) -/* 803328A0 0032F800 7D 89 03 A6 */ mtctr r12 -/* 803328A4 0032F804 4E 80 04 21 */ bctrl -lbl_803328A8: -/* 803328A8 0032F808 28 1E 00 00 */ cmplwi r30, 0 -/* 803328AC 0032F80C 41 82 00 20 */ beq lbl_803328CC -/* 803328B0 0032F810 3C 60 80 3F */ lis r3, lbl_803EC554@ha -/* 803328B4 0032F814 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l -/* 803328B8 0032F818 90 1E 00 00 */ stw r0, 0(r30) -/* 803328BC 0032F81C 41 82 00 10 */ beq lbl_803328CC -/* 803328C0 0032F820 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 803328C4 0032F824 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 803328C8 0032F828 90 1E 00 00 */ stw r0, 0(r30) -lbl_803328CC: -/* 803328CC 0032F82C 7F E0 07 35 */ extsh. r0, r31 -/* 803328D0 0032F830 40 81 00 10 */ ble lbl_803328E0 -/* 803328D4 0032F834 7F C3 F3 78 */ mr r3, r30 -/* 803328D8 0032F838 38 80 00 0C */ li r4, 0xc -/* 803328DC 0032F83C 48 03 A1 89 */ bl sub_8036ca64 -lbl_803328E0: -/* 803328E0 0032F840 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803328E4 0032F844 7F C3 F3 78 */ mr r3, r30 -/* 803328E8 0032F848 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 803328EC 0032F84C 83 C1 00 08 */ lwz r30, 8(r1) -/* 803328F0 0032F850 7C 08 03 A6 */ mtlr r0 -/* 803328F4 0032F854 38 21 00 10 */ addi r1, r1, 0x10 -/* 803328F8 0032F858 4E 80 00 20 */ blr - -.global __ct__13CREDotProductFP14CVectorElementP14CVectorElement -__ct__13CREDotProductFP14CVectorElementP14CVectorElement: -/* 803328FC 0032F85C 3D 00 80 3F */ lis r8, lbl_803EC5A8@ha -/* 80332900 0032F860 3C E0 80 3F */ lis r7, lbl_803EC554@ha -/* 80332904 0032F864 38 08 C5 A8 */ addi r0, r8, lbl_803EC5A8@l -/* 80332908 0032F868 3C C0 80 3F */ lis r6, lbl_803EE09C@ha -/* 8033290C 0032F86C 90 03 00 00 */ stw r0, 0(r3) -/* 80332910 0032F870 38 E7 C5 54 */ addi r7, r7, lbl_803EC554@l -/* 80332914 0032F874 38 06 E0 9C */ addi r0, r6, lbl_803EE09C@l -/* 80332918 0032F878 90 E3 00 00 */ stw r7, 0(r3) -/* 8033291C 0032F87C 90 03 00 00 */ stw r0, 0(r3) -/* 80332920 0032F880 90 83 00 04 */ stw r4, 4(r3) -/* 80332924 0032F884 90 A3 00 08 */ stw r5, 8(r3) -/* 80332928 0032F888 4E 80 00 20 */ blr - -.global GetValue__11CREMultiplyCFiRf -GetValue__11CREMultiplyCFiRf: -/* 8033292C 0032F88C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80332930 0032F890 7C 08 02 A6 */ mflr r0 -/* 80332934 0032F894 90 01 00 24 */ stw r0, 0x24(r1) -/* 80332938 0032F898 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8033293C 0032F89C 7C BF 2B 78 */ mr r31, r5 -/* 80332940 0032F8A0 38 A1 00 0C */ addi r5, r1, 0xc -/* 80332944 0032F8A4 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80332948 0032F8A8 7C 9E 23 78 */ mr r30, r4 -/* 8033294C 0032F8AC 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80332950 0032F8B0 7C 7D 1B 78 */ mr r29, r3 -/* 80332954 0032F8B4 80 63 00 04 */ lwz r3, 4(r3) -/* 80332958 0032F8B8 81 83 00 00 */ lwz r12, 0(r3) -/* 8033295C 0032F8BC 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80332960 0032F8C0 7D 89 03 A6 */ mtctr r12 -/* 80332964 0032F8C4 4E 80 04 21 */ bctrl -/* 80332968 0032F8C8 80 7D 00 08 */ lwz r3, 8(r29) -/* 8033296C 0032F8CC 7F C4 F3 78 */ mr r4, r30 -/* 80332970 0032F8D0 38 A1 00 08 */ addi r5, r1, 8 -/* 80332974 0032F8D4 81 83 00 00 */ lwz r12, 0(r3) -/* 80332978 0032F8D8 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8033297C 0032F8DC 7D 89 03 A6 */ mtctr r12 -/* 80332980 0032F8E0 4E 80 04 21 */ bctrl -/* 80332984 0032F8E4 C0 21 00 0C */ lfs f1, 0xc(r1) -/* 80332988 0032F8E8 38 60 00 00 */ li r3, 0 -/* 8033298C 0032F8EC C0 01 00 08 */ lfs f0, 8(r1) -/* 80332990 0032F8F0 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80332994 0032F8F4 D0 1F 00 00 */ stfs f0, 0(r31) -/* 80332998 0032F8F8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8033299C 0032F8FC 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 803329A0 0032F900 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 803329A4 0032F904 80 01 00 24 */ lwz r0, 0x24(r1) -/* 803329A8 0032F908 7C 08 03 A6 */ mtlr r0 -/* 803329AC 0032F90C 38 21 00 20 */ addi r1, r1, 0x20 -/* 803329B0 0032F910 4E 80 00 20 */ blr - -.global __dt__11CREMultiplyFv -__dt__11CREMultiplyFv: -/* 803329B4 0032F914 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803329B8 0032F918 7C 08 02 A6 */ mflr r0 -/* 803329BC 0032F91C 90 01 00 14 */ stw r0, 0x14(r1) -/* 803329C0 0032F920 93 E1 00 0C */ stw r31, 0xc(r1) -/* 803329C4 0032F924 7C 9F 23 78 */ mr r31, r4 -/* 803329C8 0032F928 93 C1 00 08 */ stw r30, 8(r1) -/* 803329CC 0032F92C 7C 7E 1B 79 */ or. r30, r3, r3 -/* 803329D0 0032F930 41 82 00 88 */ beq lbl_80332A58 -/* 803329D4 0032F934 3C 60 80 3F */ lis r3, lbl_803EE0B0@ha -/* 803329D8 0032F938 38 03 E0 B0 */ addi r0, r3, lbl_803EE0B0@l -/* 803329DC 0032F93C 90 1E 00 00 */ stw r0, 0(r30) -/* 803329E0 0032F940 80 7E 00 04 */ lwz r3, 4(r30) -/* 803329E4 0032F944 28 03 00 00 */ cmplwi r3, 0 -/* 803329E8 0032F948 41 82 00 18 */ beq lbl_80332A00 -/* 803329EC 0032F94C 81 83 00 00 */ lwz r12, 0(r3) -/* 803329F0 0032F950 38 80 00 01 */ li r4, 1 -/* 803329F4 0032F954 81 8C 00 08 */ lwz r12, 8(r12) -/* 803329F8 0032F958 7D 89 03 A6 */ mtctr r12 -/* 803329FC 0032F95C 4E 80 04 21 */ bctrl -lbl_80332A00: -/* 80332A00 0032F960 80 7E 00 08 */ lwz r3, 8(r30) -/* 80332A04 0032F964 28 03 00 00 */ cmplwi r3, 0 -/* 80332A08 0032F968 41 82 00 18 */ beq lbl_80332A20 -/* 80332A0C 0032F96C 81 83 00 00 */ lwz r12, 0(r3) -/* 80332A10 0032F970 38 80 00 01 */ li r4, 1 -/* 80332A14 0032F974 81 8C 00 08 */ lwz r12, 8(r12) -/* 80332A18 0032F978 7D 89 03 A6 */ mtctr r12 -/* 80332A1C 0032F97C 4E 80 04 21 */ bctrl -lbl_80332A20: -/* 80332A20 0032F980 28 1E 00 00 */ cmplwi r30, 0 -/* 80332A24 0032F984 41 82 00 20 */ beq lbl_80332A44 -/* 80332A28 0032F988 3C 60 80 3F */ lis r3, lbl_803EC554@ha -/* 80332A2C 0032F98C 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l -/* 80332A30 0032F990 90 1E 00 00 */ stw r0, 0(r30) -/* 80332A34 0032F994 41 82 00 10 */ beq lbl_80332A44 -/* 80332A38 0032F998 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 80332A3C 0032F99C 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 80332A40 0032F9A0 90 1E 00 00 */ stw r0, 0(r30) -lbl_80332A44: -/* 80332A44 0032F9A4 7F E0 07 35 */ extsh. r0, r31 -/* 80332A48 0032F9A8 40 81 00 10 */ ble lbl_80332A58 -/* 80332A4C 0032F9AC 7F C3 F3 78 */ mr r3, r30 -/* 80332A50 0032F9B0 38 80 00 0C */ li r4, 0xc -/* 80332A54 0032F9B4 48 03 A0 11 */ bl sub_8036ca64 -lbl_80332A58: -/* 80332A58 0032F9B8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80332A5C 0032F9BC 7F C3 F3 78 */ mr r3, r30 -/* 80332A60 0032F9C0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80332A64 0032F9C4 83 C1 00 08 */ lwz r30, 8(r1) -/* 80332A68 0032F9C8 7C 08 03 A6 */ mtlr r0 -/* 80332A6C 0032F9CC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80332A70 0032F9D0 4E 80 00 20 */ blr - -.global __ct__11CREMultiplyFP12CRealElementP12CRealElement -__ct__11CREMultiplyFP12CRealElementP12CRealElement: -/* 80332A74 0032F9D4 3D 00 80 3F */ lis r8, lbl_803EC5A8@ha -/* 80332A78 0032F9D8 3C E0 80 3F */ lis r7, lbl_803EC554@ha -/* 80332A7C 0032F9DC 38 08 C5 A8 */ addi r0, r8, lbl_803EC5A8@l -/* 80332A80 0032F9E0 3C C0 80 3F */ lis r6, lbl_803EE0B0@ha -/* 80332A84 0032F9E4 90 03 00 00 */ stw r0, 0(r3) -/* 80332A88 0032F9E8 38 E7 C5 54 */ addi r7, r7, lbl_803EC554@l -/* 80332A8C 0032F9EC 38 06 E0 B0 */ addi r0, r6, lbl_803EE0B0@l -/* 80332A90 0032F9F0 90 E3 00 00 */ stw r7, 0(r3) -/* 80332A94 0032F9F4 90 03 00 00 */ stw r0, 0(r3) -/* 80332A98 0032F9F8 90 83 00 04 */ stw r4, 4(r3) -/* 80332A9C 0032F9FC 90 A3 00 08 */ stw r5, 8(r3) -/* 80332AA0 0032FA00 4E 80 00 20 */ blr - -.global GetValue__6CREAddCFiRf -GetValue__6CREAddCFiRf: -/* 80332AA4 0032FA04 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80332AA8 0032FA08 7C 08 02 A6 */ mflr r0 -/* 80332AAC 0032FA0C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80332AB0 0032FA10 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80332AB4 0032FA14 7C BF 2B 78 */ mr r31, r5 -/* 80332AB8 0032FA18 38 A1 00 0C */ addi r5, r1, 0xc -/* 80332ABC 0032FA1C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80332AC0 0032FA20 7C 9E 23 78 */ mr r30, r4 -/* 80332AC4 0032FA24 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80332AC8 0032FA28 7C 7D 1B 78 */ mr r29, r3 -/* 80332ACC 0032FA2C 80 63 00 04 */ lwz r3, 4(r3) -/* 80332AD0 0032FA30 81 83 00 00 */ lwz r12, 0(r3) -/* 80332AD4 0032FA34 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80332AD8 0032FA38 7D 89 03 A6 */ mtctr r12 -/* 80332ADC 0032FA3C 4E 80 04 21 */ bctrl -/* 80332AE0 0032FA40 80 7D 00 08 */ lwz r3, 8(r29) -/* 80332AE4 0032FA44 7F C4 F3 78 */ mr r4, r30 -/* 80332AE8 0032FA48 38 A1 00 08 */ addi r5, r1, 8 -/* 80332AEC 0032FA4C 81 83 00 00 */ lwz r12, 0(r3) -/* 80332AF0 0032FA50 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80332AF4 0032FA54 7D 89 03 A6 */ mtctr r12 -/* 80332AF8 0032FA58 4E 80 04 21 */ bctrl -/* 80332AFC 0032FA5C C0 21 00 0C */ lfs f1, 0xc(r1) -/* 80332B00 0032FA60 38 60 00 00 */ li r3, 0 -/* 80332B04 0032FA64 C0 01 00 08 */ lfs f0, 8(r1) -/* 80332B08 0032FA68 EC 01 00 2A */ fadds f0, f1, f0 -/* 80332B0C 0032FA6C D0 1F 00 00 */ stfs f0, 0(r31) -/* 80332B10 0032FA70 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80332B14 0032FA74 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80332B18 0032FA78 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80332B1C 0032FA7C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80332B20 0032FA80 7C 08 03 A6 */ mtlr r0 -/* 80332B24 0032FA84 38 21 00 20 */ addi r1, r1, 0x20 -/* 80332B28 0032FA88 4E 80 00 20 */ blr - -.global __dt__6CREAddFv -__dt__6CREAddFv: -/* 80332B2C 0032FA8C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80332B30 0032FA90 7C 08 02 A6 */ mflr r0 -/* 80332B34 0032FA94 90 01 00 14 */ stw r0, 0x14(r1) -/* 80332B38 0032FA98 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80332B3C 0032FA9C 7C 9F 23 78 */ mr r31, r4 -/* 80332B40 0032FAA0 93 C1 00 08 */ stw r30, 8(r1) -/* 80332B44 0032FAA4 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80332B48 0032FAA8 41 82 00 88 */ beq lbl_80332BD0 -/* 80332B4C 0032FAAC 3C 60 80 3F */ lis r3, lbl_803EE0C4@ha -/* 80332B50 0032FAB0 38 03 E0 C4 */ addi r0, r3, lbl_803EE0C4@l -/* 80332B54 0032FAB4 90 1E 00 00 */ stw r0, 0(r30) -/* 80332B58 0032FAB8 80 7E 00 04 */ lwz r3, 4(r30) -/* 80332B5C 0032FABC 28 03 00 00 */ cmplwi r3, 0 -/* 80332B60 0032FAC0 41 82 00 18 */ beq lbl_80332B78 -/* 80332B64 0032FAC4 81 83 00 00 */ lwz r12, 0(r3) -/* 80332B68 0032FAC8 38 80 00 01 */ li r4, 1 -/* 80332B6C 0032FACC 81 8C 00 08 */ lwz r12, 8(r12) -/* 80332B70 0032FAD0 7D 89 03 A6 */ mtctr r12 -/* 80332B74 0032FAD4 4E 80 04 21 */ bctrl -lbl_80332B78: -/* 80332B78 0032FAD8 80 7E 00 08 */ lwz r3, 8(r30) -/* 80332B7C 0032FADC 28 03 00 00 */ cmplwi r3, 0 -/* 80332B80 0032FAE0 41 82 00 18 */ beq lbl_80332B98 -/* 80332B84 0032FAE4 81 83 00 00 */ lwz r12, 0(r3) -/* 80332B88 0032FAE8 38 80 00 01 */ li r4, 1 -/* 80332B8C 0032FAEC 81 8C 00 08 */ lwz r12, 8(r12) -/* 80332B90 0032FAF0 7D 89 03 A6 */ mtctr r12 -/* 80332B94 0032FAF4 4E 80 04 21 */ bctrl -lbl_80332B98: -/* 80332B98 0032FAF8 28 1E 00 00 */ cmplwi r30, 0 -/* 80332B9C 0032FAFC 41 82 00 20 */ beq lbl_80332BBC -/* 80332BA0 0032FB00 3C 60 80 3F */ lis r3, lbl_803EC554@ha -/* 80332BA4 0032FB04 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l -/* 80332BA8 0032FB08 90 1E 00 00 */ stw r0, 0(r30) -/* 80332BAC 0032FB0C 41 82 00 10 */ beq lbl_80332BBC -/* 80332BB0 0032FB10 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 80332BB4 0032FB14 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 80332BB8 0032FB18 90 1E 00 00 */ stw r0, 0(r30) -lbl_80332BBC: -/* 80332BBC 0032FB1C 7F E0 07 35 */ extsh. r0, r31 -/* 80332BC0 0032FB20 40 81 00 10 */ ble lbl_80332BD0 -/* 80332BC4 0032FB24 7F C3 F3 78 */ mr r3, r30 -/* 80332BC8 0032FB28 38 80 00 0C */ li r4, 0xc -/* 80332BCC 0032FB2C 48 03 9E 99 */ bl sub_8036ca64 -lbl_80332BD0: -/* 80332BD0 0032FB30 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80332BD4 0032FB34 7F C3 F3 78 */ mr r3, r30 -/* 80332BD8 0032FB38 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80332BDC 0032FB3C 83 C1 00 08 */ lwz r30, 8(r1) -/* 80332BE0 0032FB40 7C 08 03 A6 */ mtlr r0 -/* 80332BE4 0032FB44 38 21 00 10 */ addi r1, r1, 0x10 -/* 80332BE8 0032FB48 4E 80 00 20 */ blr - -.global __ct__6CREAddFP12CRealElementP12CRealElement -__ct__6CREAddFP12CRealElementP12CRealElement: -/* 80332BEC 0032FB4C 3D 00 80 3F */ lis r8, lbl_803EC5A8@ha -/* 80332BF0 0032FB50 3C E0 80 3F */ lis r7, lbl_803EC554@ha -/* 80332BF4 0032FB54 38 08 C5 A8 */ addi r0, r8, lbl_803EC5A8@l -/* 80332BF8 0032FB58 3C C0 80 3F */ lis r6, lbl_803EE0C4@ha -/* 80332BFC 0032FB5C 90 03 00 00 */ stw r0, 0(r3) -/* 80332C00 0032FB60 38 E7 C5 54 */ addi r7, r7, lbl_803EC554@l -/* 80332C04 0032FB64 38 06 E0 C4 */ addi r0, r6, lbl_803EE0C4@l -/* 80332C08 0032FB68 90 E3 00 00 */ stw r7, 0(r3) -/* 80332C0C 0032FB6C 90 03 00 00 */ stw r0, 0(r3) -/* 80332C10 0032FB70 90 83 00 04 */ stw r4, 4(r3) -/* 80332C14 0032FB74 90 A3 00 08 */ stw r5, 8(r3) -/* 80332C18 0032FB78 4E 80 00 20 */ blr - -.global GetValue__12CRETimeScaleCFiRf -GetValue__12CRETimeScaleCFiRf: -/* 80332C1C 0032FB7C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80332C20 0032FB80 7C 08 02 A6 */ mflr r0 -/* 80332C24 0032FB84 90 01 00 24 */ stw r0, 0x24(r1) -/* 80332C28 0032FB88 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80332C2C 0032FB8C 7C BF 2B 78 */ mr r31, r5 -/* 80332C30 0032FB90 38 A1 00 08 */ addi r5, r1, 8 -/* 80332C34 0032FB94 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80332C38 0032FB98 7C 9E 23 78 */ mr r30, r4 -/* 80332C3C 0032FB9C 80 63 00 04 */ lwz r3, 4(r3) -/* 80332C40 0032FBA0 81 83 00 00 */ lwz r12, 0(r3) -/* 80332C44 0032FBA4 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80332C48 0032FBA8 7D 89 03 A6 */ mtctr r12 -/* 80332C4C 0032FBAC 4E 80 04 21 */ bctrl -/* 80332C50 0032FBB0 6F C3 80 00 */ xoris r3, r30, 0x8000 -/* 80332C54 0032FBB4 3C 00 43 30 */ lis r0, 0x4330 -/* 80332C58 0032FBB8 90 61 00 14 */ stw r3, 0x14(r1) -/* 80332C5C 0032FBBC 38 60 00 00 */ li r3, 0 -/* 80332C60 0032FBC0 C8 42 CB 20 */ lfd f2, lbl_805AE840@sda21(r2) -/* 80332C64 0032FBC4 90 01 00 10 */ stw r0, 0x10(r1) -/* 80332C68 0032FBC8 C0 01 00 08 */ lfs f0, 8(r1) -/* 80332C6C 0032FBCC C8 21 00 10 */ lfd f1, 0x10(r1) -/* 80332C70 0032FBD0 EC 21 10 28 */ fsubs f1, f1, f2 -/* 80332C74 0032FBD4 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80332C78 0032FBD8 D0 1F 00 00 */ stfs f0, 0(r31) -/* 80332C7C 0032FBDC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80332C80 0032FBE0 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80332C84 0032FBE4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80332C88 0032FBE8 7C 08 03 A6 */ mtlr r0 -/* 80332C8C 0032FBEC 38 21 00 20 */ addi r1, r1, 0x20 -/* 80332C90 0032FBF0 4E 80 00 20 */ blr - -.global __dt__12CRETimeScaleFv -__dt__12CRETimeScaleFv: -/* 80332C94 0032FBF4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80332C98 0032FBF8 7C 08 02 A6 */ mflr r0 -/* 80332C9C 0032FBFC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80332CA0 0032FC00 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80332CA4 0032FC04 7C 9F 23 78 */ mr r31, r4 -/* 80332CA8 0032FC08 93 C1 00 08 */ stw r30, 8(r1) -/* 80332CAC 0032FC0C 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80332CB0 0032FC10 41 82 00 68 */ beq lbl_80332D18 -/* 80332CB4 0032FC14 3C 60 80 3F */ lis r3, lbl_803EE0D8@ha -/* 80332CB8 0032FC18 38 03 E0 D8 */ addi r0, r3, lbl_803EE0D8@l -/* 80332CBC 0032FC1C 90 1E 00 00 */ stw r0, 0(r30) -/* 80332CC0 0032FC20 80 7E 00 04 */ lwz r3, 4(r30) -/* 80332CC4 0032FC24 28 03 00 00 */ cmplwi r3, 0 -/* 80332CC8 0032FC28 41 82 00 18 */ beq lbl_80332CE0 -/* 80332CCC 0032FC2C 81 83 00 00 */ lwz r12, 0(r3) -/* 80332CD0 0032FC30 38 80 00 01 */ li r4, 1 -/* 80332CD4 0032FC34 81 8C 00 08 */ lwz r12, 8(r12) -/* 80332CD8 0032FC38 7D 89 03 A6 */ mtctr r12 -/* 80332CDC 0032FC3C 4E 80 04 21 */ bctrl -lbl_80332CE0: -/* 80332CE0 0032FC40 28 1E 00 00 */ cmplwi r30, 0 -/* 80332CE4 0032FC44 41 82 00 20 */ beq lbl_80332D04 -/* 80332CE8 0032FC48 3C 60 80 3F */ lis r3, lbl_803EC554@ha -/* 80332CEC 0032FC4C 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l -/* 80332CF0 0032FC50 90 1E 00 00 */ stw r0, 0(r30) -/* 80332CF4 0032FC54 41 82 00 10 */ beq lbl_80332D04 -/* 80332CF8 0032FC58 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 80332CFC 0032FC5C 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 80332D00 0032FC60 90 1E 00 00 */ stw r0, 0(r30) -lbl_80332D04: -/* 80332D04 0032FC64 7F E0 07 35 */ extsh. r0, r31 -/* 80332D08 0032FC68 40 81 00 10 */ ble lbl_80332D18 -/* 80332D0C 0032FC6C 7F C3 F3 78 */ mr r3, r30 -/* 80332D10 0032FC70 38 80 00 08 */ li r4, 8 -/* 80332D14 0032FC74 48 03 9D 51 */ bl sub_8036ca64 -lbl_80332D18: -/* 80332D18 0032FC78 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80332D1C 0032FC7C 7F C3 F3 78 */ mr r3, r30 -/* 80332D20 0032FC80 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80332D24 0032FC84 83 C1 00 08 */ lwz r30, 8(r1) -/* 80332D28 0032FC88 7C 08 03 A6 */ mtlr r0 -/* 80332D2C 0032FC8C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80332D30 0032FC90 4E 80 00 20 */ blr - -.global __ct__12CRETimeScaleFP12CRealElement -__ct__12CRETimeScaleFP12CRealElement: -/* 80332D34 0032FC94 3C E0 80 3F */ lis r7, lbl_803EC5A8@ha -/* 80332D38 0032FC98 3C C0 80 3F */ lis r6, lbl_803EC554@ha -/* 80332D3C 0032FC9C 38 07 C5 A8 */ addi r0, r7, lbl_803EC5A8@l -/* 80332D40 0032FCA0 3C A0 80 3F */ lis r5, lbl_803EE0D8@ha -/* 80332D44 0032FCA4 90 03 00 00 */ stw r0, 0(r3) -/* 80332D48 0032FCA8 38 C6 C5 54 */ addi r6, r6, lbl_803EC554@l -/* 80332D4C 0032FCAC 38 05 E0 D8 */ addi r0, r5, lbl_803EE0D8@l -/* 80332D50 0032FCB0 90 C3 00 00 */ stw r6, 0(r3) -/* 80332D54 0032FCB4 90 03 00 00 */ stw r0, 0(r3) -/* 80332D58 0032FCB8 90 83 00 04 */ stw r4, 4(r3) -/* 80332D5C 0032FCBC 4E 80 00 20 */ blr - -.global GetValue__11CRESineWaveCFiRf -GetValue__11CRESineWaveCFiRf: -/* 80332D60 0032FCC0 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80332D64 0032FCC4 7C 08 02 A6 */ mflr r0 -/* 80332D68 0032FCC8 90 01 00 34 */ stw r0, 0x34(r1) -/* 80332D6C 0032FCCC 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80332D70 0032FCD0 7C BF 2B 78 */ mr r31, r5 -/* 80332D74 0032FCD4 38 A1 00 10 */ addi r5, r1, 0x10 -/* 80332D78 0032FCD8 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80332D7C 0032FCDC 7C 9E 23 78 */ mr r30, r4 -/* 80332D80 0032FCE0 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80332D84 0032FCE4 7C 7D 1B 78 */ mr r29, r3 -/* 80332D88 0032FCE8 80 63 00 08 */ lwz r3, 8(r3) -/* 80332D8C 0032FCEC 81 83 00 00 */ lwz r12, 0(r3) -/* 80332D90 0032FCF0 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80332D94 0032FCF4 7D 89 03 A6 */ mtctr r12 -/* 80332D98 0032FCF8 4E 80 04 21 */ bctrl -/* 80332D9C 0032FCFC 80 7D 00 04 */ lwz r3, 4(r29) -/* 80332DA0 0032FD00 7F C4 F3 78 */ mr r4, r30 -/* 80332DA4 0032FD04 38 A1 00 0C */ addi r5, r1, 0xc -/* 80332DA8 0032FD08 81 83 00 00 */ lwz r12, 0(r3) -/* 80332DAC 0032FD0C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80332DB0 0032FD10 7D 89 03 A6 */ mtctr r12 -/* 80332DB4 0032FD14 4E 80 04 21 */ bctrl -/* 80332DB8 0032FD18 80 7D 00 0C */ lwz r3, 0xc(r29) -/* 80332DBC 0032FD1C 7F C4 F3 78 */ mr r4, r30 -/* 80332DC0 0032FD20 38 A1 00 08 */ addi r5, r1, 8 -/* 80332DC4 0032FD24 81 83 00 00 */ lwz r12, 0(r3) -/* 80332DC8 0032FD28 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80332DCC 0032FD2C 7D 89 03 A6 */ mtctr r12 -/* 80332DD0 0032FD30 4E 80 04 21 */ bctrl -/* 80332DD4 0032FD34 6F C3 80 00 */ xoris r3, r30, 0x8000 -/* 80332DD8 0032FD38 3C 00 43 30 */ lis r0, 0x4330 -/* 80332DDC 0032FD3C 90 61 00 1C */ stw r3, 0x1c(r1) -/* 80332DE0 0032FD40 C8 62 CB 20 */ lfd f3, lbl_805AE840@sda21(r2) -/* 80332DE4 0032FD44 90 01 00 18 */ stw r0, 0x18(r1) -/* 80332DE8 0032FD48 C0 21 00 0C */ lfs f1, 0xc(r1) -/* 80332DEC 0032FD4C C8 41 00 18 */ lfd f2, 0x18(r1) -/* 80332DF0 0032FD50 C0 01 00 08 */ lfs f0, 8(r1) -/* 80332DF4 0032FD54 EC 42 18 28 */ fsubs f2, f2, f3 -/* 80332DF8 0032FD58 C0 62 CB 38 */ lfs f3, lbl_805AE858@sda21(r2) -/* 80332DFC 0032FD5C EC 02 00 7A */ fmadds f0, f2, f1, f0 -/* 80332E00 0032FD60 EC 23 00 32 */ fmuls f1, f3, f0 -/* 80332E04 0032FD64 48 06 1C D9 */ bl sin -/* 80332E08 0032FD68 FC 20 08 18 */ frsp f1, f1 -/* 80332E0C 0032FD6C C0 01 00 10 */ lfs f0, 0x10(r1) -/* 80332E10 0032FD70 38 60 00 00 */ li r3, 0 -/* 80332E14 0032FD74 EC 00 00 72 */ fmuls f0, f0, f1 -/* 80332E18 0032FD78 D0 1F 00 00 */ stfs f0, 0(r31) -/* 80332E1C 0032FD7C 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80332E20 0032FD80 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80332E24 0032FD84 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80332E28 0032FD88 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80332E2C 0032FD8C 7C 08 03 A6 */ mtlr r0 -/* 80332E30 0032FD90 38 21 00 30 */ addi r1, r1, 0x30 -/* 80332E34 0032FD94 4E 80 00 20 */ blr - -.global __dt__11CRESineWaveFv -__dt__11CRESineWaveFv: -/* 80332E38 0032FD98 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80332E3C 0032FD9C 7C 08 02 A6 */ mflr r0 -/* 80332E40 0032FDA0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80332E44 0032FDA4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80332E48 0032FDA8 7C 9F 23 78 */ mr r31, r4 -/* 80332E4C 0032FDAC 93 C1 00 08 */ stw r30, 8(r1) -/* 80332E50 0032FDB0 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80332E54 0032FDB4 41 82 00 A8 */ beq lbl_80332EFC -/* 80332E58 0032FDB8 3C 60 80 3F */ lis r3, lbl_803EE0EC@ha -/* 80332E5C 0032FDBC 38 03 E0 EC */ addi r0, r3, lbl_803EE0EC@l -/* 80332E60 0032FDC0 90 1E 00 00 */ stw r0, 0(r30) -/* 80332E64 0032FDC4 80 7E 00 04 */ lwz r3, 4(r30) -/* 80332E68 0032FDC8 28 03 00 00 */ cmplwi r3, 0 -/* 80332E6C 0032FDCC 41 82 00 18 */ beq lbl_80332E84 -/* 80332E70 0032FDD0 81 83 00 00 */ lwz r12, 0(r3) -/* 80332E74 0032FDD4 38 80 00 01 */ li r4, 1 -/* 80332E78 0032FDD8 81 8C 00 08 */ lwz r12, 8(r12) -/* 80332E7C 0032FDDC 7D 89 03 A6 */ mtctr r12 -/* 80332E80 0032FDE0 4E 80 04 21 */ bctrl -lbl_80332E84: -/* 80332E84 0032FDE4 80 7E 00 08 */ lwz r3, 8(r30) -/* 80332E88 0032FDE8 28 03 00 00 */ cmplwi r3, 0 -/* 80332E8C 0032FDEC 41 82 00 18 */ beq lbl_80332EA4 -/* 80332E90 0032FDF0 81 83 00 00 */ lwz r12, 0(r3) -/* 80332E94 0032FDF4 38 80 00 01 */ li r4, 1 -/* 80332E98 0032FDF8 81 8C 00 08 */ lwz r12, 8(r12) -/* 80332E9C 0032FDFC 7D 89 03 A6 */ mtctr r12 -/* 80332EA0 0032FE00 4E 80 04 21 */ bctrl -lbl_80332EA4: -/* 80332EA4 0032FE04 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 80332EA8 0032FE08 28 03 00 00 */ cmplwi r3, 0 -/* 80332EAC 0032FE0C 41 82 00 18 */ beq lbl_80332EC4 -/* 80332EB0 0032FE10 81 83 00 00 */ lwz r12, 0(r3) -/* 80332EB4 0032FE14 38 80 00 01 */ li r4, 1 -/* 80332EB8 0032FE18 81 8C 00 08 */ lwz r12, 8(r12) -/* 80332EBC 0032FE1C 7D 89 03 A6 */ mtctr r12 -/* 80332EC0 0032FE20 4E 80 04 21 */ bctrl -lbl_80332EC4: -/* 80332EC4 0032FE24 28 1E 00 00 */ cmplwi r30, 0 -/* 80332EC8 0032FE28 41 82 00 20 */ beq lbl_80332EE8 -/* 80332ECC 0032FE2C 3C 60 80 3F */ lis r3, lbl_803EC554@ha -/* 80332ED0 0032FE30 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l -/* 80332ED4 0032FE34 90 1E 00 00 */ stw r0, 0(r30) -/* 80332ED8 0032FE38 41 82 00 10 */ beq lbl_80332EE8 -/* 80332EDC 0032FE3C 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 80332EE0 0032FE40 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 80332EE4 0032FE44 90 1E 00 00 */ stw r0, 0(r30) -lbl_80332EE8: -/* 80332EE8 0032FE48 7F E0 07 35 */ extsh. r0, r31 -/* 80332EEC 0032FE4C 40 81 00 10 */ ble lbl_80332EFC -/* 80332EF0 0032FE50 7F C3 F3 78 */ mr r3, r30 -/* 80332EF4 0032FE54 38 80 00 10 */ li r4, 0x10 -/* 80332EF8 0032FE58 48 03 9B 6D */ bl sub_8036ca64 -lbl_80332EFC: -/* 80332EFC 0032FE5C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80332F00 0032FE60 7F C3 F3 78 */ mr r3, r30 -/* 80332F04 0032FE64 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80332F08 0032FE68 83 C1 00 08 */ lwz r30, 8(r1) -/* 80332F0C 0032FE6C 7C 08 03 A6 */ mtlr r0 -/* 80332F10 0032FE70 38 21 00 10 */ addi r1, r1, 0x10 -/* 80332F14 0032FE74 4E 80 00 20 */ blr - -.global __ct__11CRESineWaveFP12CRealElementP12CRealElementP12CRealElement -__ct__11CRESineWaveFP12CRealElementP12CRealElementP12CRealElement: -/* 80332F18 0032FE78 3D 20 80 3F */ lis r9, lbl_803EC5A8@ha -/* 80332F1C 0032FE7C 3D 00 80 3F */ lis r8, lbl_803EC554@ha -/* 80332F20 0032FE80 38 09 C5 A8 */ addi r0, r9, lbl_803EC5A8@l -/* 80332F24 0032FE84 3C E0 80 3F */ lis r7, lbl_803EE0EC@ha -/* 80332F28 0032FE88 90 03 00 00 */ stw r0, 0(r3) -/* 80332F2C 0032FE8C 39 08 C5 54 */ addi r8, r8, lbl_803EC554@l -/* 80332F30 0032FE90 38 07 E0 EC */ addi r0, r7, lbl_803EE0EC@l -/* 80332F34 0032FE94 91 03 00 00 */ stw r8, 0(r3) -/* 80332F38 0032FE98 90 03 00 00 */ stw r0, 0(r3) -/* 80332F3C 0032FE9C 90 A3 00 04 */ stw r5, 4(r3) -/* 80332F40 0032FEA0 90 C3 00 08 */ stw r6, 8(r3) -/* 80332F44 0032FEA4 90 83 00 0C */ stw r4, 0xc(r3) -/* 80332F48 0032FEA8 4E 80 00 20 */ blr - -.global GetValue__11CREConstantCFiRf -GetValue__11CREConstantCFiRf: -/* 80332F4C 0032FEAC C0 03 00 04 */ lfs f0, 4(r3) -/* 80332F50 0032FEB0 38 60 00 00 */ li r3, 0 -/* 80332F54 0032FEB4 D0 05 00 00 */ stfs f0, 0(r5) -/* 80332F58 0032FEB8 4E 80 00 20 */ blr - -.global __dt__11CREConstantFv -__dt__11CREConstantFv: -/* 80332F5C 0032FEBC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80332F60 0032FEC0 7C 08 02 A6 */ mflr r0 -/* 80332F64 0032FEC4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80332F68 0032FEC8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80332F6C 0032FECC 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80332F70 0032FED0 41 82 00 44 */ beq lbl_80332FB4 -/* 80332F74 0032FED4 3C 60 80 3F */ lis r3, lbl_803EE100@ha -/* 80332F78 0032FED8 38 03 E1 00 */ addi r0, r3, lbl_803EE100@l -/* 80332F7C 0032FEDC 90 1F 00 00 */ stw r0, 0(r31) -/* 80332F80 0032FEE0 41 82 00 20 */ beq lbl_80332FA0 -/* 80332F84 0032FEE4 3C 60 80 3F */ lis r3, lbl_803EC554@ha -/* 80332F88 0032FEE8 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l -/* 80332F8C 0032FEEC 90 1F 00 00 */ stw r0, 0(r31) -/* 80332F90 0032FEF0 41 82 00 10 */ beq lbl_80332FA0 -/* 80332F94 0032FEF4 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 80332F98 0032FEF8 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 80332F9C 0032FEFC 90 1F 00 00 */ stw r0, 0(r31) -lbl_80332FA0: -/* 80332FA0 0032FF00 7C 80 07 35 */ extsh. r0, r4 -/* 80332FA4 0032FF04 40 81 00 10 */ ble lbl_80332FB4 -/* 80332FA8 0032FF08 7F E3 FB 78 */ mr r3, r31 -/* 80332FAC 0032FF0C 38 80 00 08 */ li r4, 8 -/* 80332FB0 0032FF10 48 03 9A B5 */ bl sub_8036ca64 -lbl_80332FB4: -/* 80332FB4 0032FF14 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80332FB8 0032FF18 7F E3 FB 78 */ mr r3, r31 -/* 80332FBC 0032FF1C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80332FC0 0032FF20 7C 08 03 A6 */ mtlr r0 -/* 80332FC4 0032FF24 38 21 00 10 */ addi r1, r1, 0x10 -/* 80332FC8 0032FF28 4E 80 00 20 */ blr - -.global __ct__11CREConstantFf -__ct__11CREConstantFf: -/* 80332FCC 0032FF2C 3C C0 80 3F */ lis r6, lbl_803EC5A8@ha -/* 80332FD0 0032FF30 3C A0 80 3F */ lis r5, lbl_803EC554@ha -/* 80332FD4 0032FF34 38 06 C5 A8 */ addi r0, r6, lbl_803EC5A8@l -/* 80332FD8 0032FF38 3C 80 80 3F */ lis r4, lbl_803EE100@ha -/* 80332FDC 0032FF3C 90 03 00 00 */ stw r0, 0(r3) -/* 80332FE0 0032FF40 38 A5 C5 54 */ addi r5, r5, lbl_803EC554@l -/* 80332FE4 0032FF44 38 04 E1 00 */ addi r0, r4, lbl_803EE100@l -/* 80332FE8 0032FF48 90 A3 00 00 */ stw r5, 0(r3) -/* 80332FEC 0032FF4C 90 03 00 00 */ stw r0, 0(r3) -/* 80332FF0 0032FF50 D0 23 00 04 */ stfs f1, 4(r3) -/* 80332FF4 0032FF54 4E 80 00 20 */ blr - -.global __dt__7CREPRLW -__dt__7CREPRLW: -/* 80332FF8 0032FF58 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80332FFC 0032FF5C 7C 08 02 A6 */ mflr r0 -/* 80333000 0032FF60 90 01 00 14 */ stw r0, 0x14(r1) -/* 80333004 0032FF64 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80333008 0032FF68 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8033300C 0032FF6C 41 82 00 44 */ beq lbl_80333050 -/* 80333010 0032FF70 3C 60 80 3F */ lis r3, lbl_803EDF34@ha -/* 80333014 0032FF74 38 03 DF 34 */ addi r0, r3, lbl_803EDF34@l -/* 80333018 0032FF78 90 1F 00 00 */ stw r0, 0(r31) -/* 8033301C 0032FF7C 41 82 00 20 */ beq lbl_8033303C -/* 80333020 0032FF80 3C 60 80 3F */ lis r3, lbl_803EC554@ha -/* 80333024 0032FF84 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l -/* 80333028 0032FF88 90 1F 00 00 */ stw r0, 0(r31) -/* 8033302C 0032FF8C 41 82 00 10 */ beq lbl_8033303C -/* 80333030 0032FF90 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 80333034 0032FF94 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 80333038 0032FF98 90 1F 00 00 */ stw r0, 0(r31) -lbl_8033303C: -/* 8033303C 0032FF9C 7C 80 07 35 */ extsh. r0, r4 -/* 80333040 0032FFA0 40 81 00 10 */ ble lbl_80333050 -/* 80333044 0032FFA4 7F E3 FB 78 */ mr r3, r31 -/* 80333048 0032FFA8 38 80 00 04 */ li r4, 4 -/* 8033304C 0032FFAC 48 03 9A 19 */ bl sub_8036ca64 -lbl_80333050: -/* 80333050 0032FFB0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80333054 0032FFB4 7F E3 FB 78 */ mr r3, r31 -/* 80333058 0032FFB8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8033305C 0032FFBC 7C 08 03 A6 */ mtlr r0 -/* 80333060 0032FFC0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80333064 0032FFC4 4E 80 00 20 */ blr - -.global __dt__7CREPSLL -__dt__7CREPSLL: -/* 80333068 0032FFC8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8033306C 0032FFCC 7C 08 02 A6 */ mflr r0 -/* 80333070 0032FFD0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80333074 0032FFD4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80333078 0032FFD8 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8033307C 0032FFDC 41 82 00 44 */ beq lbl_803330C0 -/* 80333080 0032FFE0 3C 60 80 3F */ lis r3, lbl_803EDF48@ha -/* 80333084 0032FFE4 38 03 DF 48 */ addi r0, r3, lbl_803EDF48@l -/* 80333088 0032FFE8 90 1F 00 00 */ stw r0, 0(r31) -/* 8033308C 0032FFEC 41 82 00 20 */ beq lbl_803330AC -/* 80333090 0032FFF0 3C 60 80 3F */ lis r3, lbl_803EC554@ha -/* 80333094 0032FFF4 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l -/* 80333098 0032FFF8 90 1F 00 00 */ stw r0, 0(r31) -/* 8033309C 0032FFFC 41 82 00 10 */ beq lbl_803330AC -/* 803330A0 00330000 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 803330A4 00330004 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 803330A8 00330008 90 1F 00 00 */ stw r0, 0(r31) -lbl_803330AC: -/* 803330AC 0033000C 7C 80 07 35 */ extsh. r0, r4 -/* 803330B0 00330010 40 81 00 10 */ ble lbl_803330C0 -/* 803330B4 00330014 7F E3 FB 78 */ mr r3, r31 -/* 803330B8 00330018 38 80 00 04 */ li r4, 4 -/* 803330BC 0033001C 48 03 99 A9 */ bl sub_8036ca64 -lbl_803330C0: -/* 803330C0 00330020 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803330C4 00330024 7F E3 FB 78 */ mr r3, r31 -/* 803330C8 00330028 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 803330CC 0033002C 7C 08 03 A6 */ mtlr r0 -/* 803330D0 00330030 38 21 00 10 */ addi r1, r1, 0x10 -/* 803330D4 00330034 4E 80 00 20 */ blr - -.global __dt__27CREParticleAccessParameter8 -__dt__27CREParticleAccessParameter8: -/* 803330D8 00330038 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803330DC 0033003C 7C 08 02 A6 */ mflr r0 -/* 803330E0 00330040 90 01 00 14 */ stw r0, 0x14(r1) -/* 803330E4 00330044 93 E1 00 0C */ stw r31, 0xc(r1) -/* 803330E8 00330048 7C 7F 1B 79 */ or. r31, r3, r3 -/* 803330EC 0033004C 41 82 00 44 */ beq lbl_80333130 -/* 803330F0 00330050 3C 60 80 3F */ lis r3, lbl_803EDF5C@ha -/* 803330F4 00330054 38 03 DF 5C */ addi r0, r3, lbl_803EDF5C@l -/* 803330F8 00330058 90 1F 00 00 */ stw r0, 0(r31) -/* 803330FC 0033005C 41 82 00 20 */ beq lbl_8033311C -/* 80333100 00330060 3C 60 80 3F */ lis r3, lbl_803EC554@ha -/* 80333104 00330064 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l -/* 80333108 00330068 90 1F 00 00 */ stw r0, 0(r31) -/* 8033310C 0033006C 41 82 00 10 */ beq lbl_8033311C -/* 80333110 00330070 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 80333114 00330074 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 80333118 00330078 90 1F 00 00 */ stw r0, 0(r31) -lbl_8033311C: -/* 8033311C 0033007C 7C 80 07 35 */ extsh. r0, r4 -/* 80333120 00330080 40 81 00 10 */ ble lbl_80333130 -/* 80333124 00330084 7F E3 FB 78 */ mr r3, r31 -/* 80333128 00330088 38 80 00 04 */ li r4, 4 -/* 8033312C 0033008C 48 03 99 39 */ bl sub_8036ca64 -lbl_80333130: -/* 80333130 00330090 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80333134 00330094 7F E3 FB 78 */ mr r3, r31 -/* 80333138 00330098 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8033313C 0033009C 7C 08 03 A6 */ mtlr r0 -/* 80333140 003300A0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80333144 003300A4 4E 80 00 20 */ blr - -.global __dt__27CREParticleAccessParameter7 -__dt__27CREParticleAccessParameter7: -/* 80333148 003300A8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8033314C 003300AC 7C 08 02 A6 */ mflr r0 -/* 80333150 003300B0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80333154 003300B4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80333158 003300B8 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8033315C 003300BC 41 82 00 44 */ beq lbl_803331A0 -/* 80333160 003300C0 3C 60 80 3F */ lis r3, lbl_803EDF70@ha -/* 80333164 003300C4 38 03 DF 70 */ addi r0, r3, lbl_803EDF70@l -/* 80333168 003300C8 90 1F 00 00 */ stw r0, 0(r31) -/* 8033316C 003300CC 41 82 00 20 */ beq lbl_8033318C -/* 80333170 003300D0 3C 60 80 3F */ lis r3, lbl_803EC554@ha -/* 80333174 003300D4 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l -/* 80333178 003300D8 90 1F 00 00 */ stw r0, 0(r31) -/* 8033317C 003300DC 41 82 00 10 */ beq lbl_8033318C -/* 80333180 003300E0 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 80333184 003300E4 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 80333188 003300E8 90 1F 00 00 */ stw r0, 0(r31) -lbl_8033318C: -/* 8033318C 003300EC 7C 80 07 35 */ extsh. r0, r4 -/* 80333190 003300F0 40 81 00 10 */ ble lbl_803331A0 -/* 80333194 003300F4 7F E3 FB 78 */ mr r3, r31 -/* 80333198 003300F8 38 80 00 04 */ li r4, 4 -/* 8033319C 003300FC 48 03 98 C9 */ bl sub_8036ca64 -lbl_803331A0: -/* 803331A0 00330100 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803331A4 00330104 7F E3 FB 78 */ mr r3, r31 -/* 803331A8 00330108 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 803331AC 0033010C 7C 08 03 A6 */ mtlr r0 -/* 803331B0 00330110 38 21 00 10 */ addi r1, r1, 0x10 -/* 803331B4 00330114 4E 80 00 20 */ blr - -.global __dt__27CREParticleAccessParameter6 -__dt__27CREParticleAccessParameter6: -/* 803331B8 00330118 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803331BC 0033011C 7C 08 02 A6 */ mflr r0 -/* 803331C0 00330120 90 01 00 14 */ stw r0, 0x14(r1) -/* 803331C4 00330124 93 E1 00 0C */ stw r31, 0xc(r1) -/* 803331C8 00330128 7C 7F 1B 79 */ or. r31, r3, r3 -/* 803331CC 0033012C 41 82 00 44 */ beq lbl_80333210 -/* 803331D0 00330130 3C 60 80 3F */ lis r3, lbl_803EDF84@ha -/* 803331D4 00330134 38 03 DF 84 */ addi r0, r3, lbl_803EDF84@l -/* 803331D8 00330138 90 1F 00 00 */ stw r0, 0(r31) -/* 803331DC 0033013C 41 82 00 20 */ beq lbl_803331FC -/* 803331E0 00330140 3C 60 80 3F */ lis r3, lbl_803EC554@ha -/* 803331E4 00330144 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l -/* 803331E8 00330148 90 1F 00 00 */ stw r0, 0(r31) -/* 803331EC 0033014C 41 82 00 10 */ beq lbl_803331FC -/* 803331F0 00330150 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 803331F4 00330154 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 803331F8 00330158 90 1F 00 00 */ stw r0, 0(r31) -lbl_803331FC: -/* 803331FC 0033015C 7C 80 07 35 */ extsh. r0, r4 -/* 80333200 00330160 40 81 00 10 */ ble lbl_80333210 -/* 80333204 00330164 7F E3 FB 78 */ mr r3, r31 -/* 80333208 00330168 38 80 00 04 */ li r4, 4 -/* 8033320C 0033016C 48 03 98 59 */ bl sub_8036ca64 -lbl_80333210: -/* 80333210 00330170 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80333214 00330174 7F E3 FB 78 */ mr r3, r31 -/* 80333218 00330178 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8033321C 0033017C 7C 08 03 A6 */ mtlr r0 -/* 80333220 00330180 38 21 00 10 */ addi r1, r1, 0x10 -/* 80333224 00330184 4E 80 00 20 */ blr - -.global __dt__27CREParticleAccessParameter5 -__dt__27CREParticleAccessParameter5: -/* 80333228 00330188 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8033322C 0033018C 7C 08 02 A6 */ mflr r0 -/* 80333230 00330190 90 01 00 14 */ stw r0, 0x14(r1) -/* 80333234 00330194 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80333238 00330198 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8033323C 0033019C 41 82 00 44 */ beq lbl_80333280 -/* 80333240 003301A0 3C 60 80 3F */ lis r3, lbl_803EDF98@ha -/* 80333244 003301A4 38 03 DF 98 */ addi r0, r3, lbl_803EDF98@l -/* 80333248 003301A8 90 1F 00 00 */ stw r0, 0(r31) -/* 8033324C 003301AC 41 82 00 20 */ beq lbl_8033326C -/* 80333250 003301B0 3C 60 80 3F */ lis r3, lbl_803EC554@ha -/* 80333254 003301B4 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l -/* 80333258 003301B8 90 1F 00 00 */ stw r0, 0(r31) -/* 8033325C 003301BC 41 82 00 10 */ beq lbl_8033326C -/* 80333260 003301C0 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 80333264 003301C4 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 80333268 003301C8 90 1F 00 00 */ stw r0, 0(r31) -lbl_8033326C: -/* 8033326C 003301CC 7C 80 07 35 */ extsh. r0, r4 -/* 80333270 003301D0 40 81 00 10 */ ble lbl_80333280 -/* 80333274 003301D4 7F E3 FB 78 */ mr r3, r31 -/* 80333278 003301D8 38 80 00 04 */ li r4, 4 -/* 8033327C 003301DC 48 03 97 E9 */ bl sub_8036ca64 -lbl_80333280: -/* 80333280 003301E0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80333284 003301E4 7F E3 FB 78 */ mr r3, r31 -/* 80333288 003301E8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8033328C 003301EC 7C 08 03 A6 */ mtlr r0 -/* 80333290 003301F0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80333294 003301F4 4E 80 00 20 */ blr - -.global __dt__27CREParticleAccessParameter4 -__dt__27CREParticleAccessParameter4: -/* 80333298 003301F8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8033329C 003301FC 7C 08 02 A6 */ mflr r0 -/* 803332A0 00330200 90 01 00 14 */ stw r0, 0x14(r1) -/* 803332A4 00330204 93 E1 00 0C */ stw r31, 0xc(r1) -/* 803332A8 00330208 7C 7F 1B 79 */ or. r31, r3, r3 -/* 803332AC 0033020C 41 82 00 44 */ beq lbl_803332F0 -/* 803332B0 00330210 3C 60 80 3F */ lis r3, lbl_803EDFAC@ha -/* 803332B4 00330214 38 03 DF AC */ addi r0, r3, lbl_803EDFAC@l -/* 803332B8 00330218 90 1F 00 00 */ stw r0, 0(r31) -/* 803332BC 0033021C 41 82 00 20 */ beq lbl_803332DC -/* 803332C0 00330220 3C 60 80 3F */ lis r3, lbl_803EC554@ha -/* 803332C4 00330224 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l -/* 803332C8 00330228 90 1F 00 00 */ stw r0, 0(r31) -/* 803332CC 0033022C 41 82 00 10 */ beq lbl_803332DC -/* 803332D0 00330230 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 803332D4 00330234 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 803332D8 00330238 90 1F 00 00 */ stw r0, 0(r31) -lbl_803332DC: -/* 803332DC 0033023C 7C 80 07 35 */ extsh. r0, r4 -/* 803332E0 00330240 40 81 00 10 */ ble lbl_803332F0 -/* 803332E4 00330244 7F E3 FB 78 */ mr r3, r31 -/* 803332E8 00330248 38 80 00 04 */ li r4, 4 -/* 803332EC 0033024C 48 03 97 79 */ bl sub_8036ca64 -lbl_803332F0: -/* 803332F0 00330250 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803332F4 00330254 7F E3 FB 78 */ mr r3, r31 -/* 803332F8 00330258 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 803332FC 0033025C 7C 08 03 A6 */ mtlr r0 -/* 80333300 00330260 38 21 00 10 */ addi r1, r1, 0x10 -/* 80333304 00330264 4E 80 00 20 */ blr - -.global __dt__27CREParticleAccessParameter3 -__dt__27CREParticleAccessParameter3: -/* 80333308 00330268 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8033330C 0033026C 7C 08 02 A6 */ mflr r0 -/* 80333310 00330270 90 01 00 14 */ stw r0, 0x14(r1) -/* 80333314 00330274 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80333318 00330278 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8033331C 0033027C 41 82 00 44 */ beq lbl_80333360 -/* 80333320 00330280 3C 60 80 3F */ lis r3, lbl_803EDFC0@ha -/* 80333324 00330284 38 03 DF C0 */ addi r0, r3, lbl_803EDFC0@l -/* 80333328 00330288 90 1F 00 00 */ stw r0, 0(r31) -/* 8033332C 0033028C 41 82 00 20 */ beq lbl_8033334C -/* 80333330 00330290 3C 60 80 3F */ lis r3, lbl_803EC554@ha -/* 80333334 00330294 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l -/* 80333338 00330298 90 1F 00 00 */ stw r0, 0(r31) -/* 8033333C 0033029C 41 82 00 10 */ beq lbl_8033334C -/* 80333340 003302A0 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 80333344 003302A4 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 80333348 003302A8 90 1F 00 00 */ stw r0, 0(r31) -lbl_8033334C: -/* 8033334C 003302AC 7C 80 07 35 */ extsh. r0, r4 -/* 80333350 003302B0 40 81 00 10 */ ble lbl_80333360 -/* 80333354 003302B4 7F E3 FB 78 */ mr r3, r31 -/* 80333358 003302B8 38 80 00 04 */ li r4, 4 -/* 8033335C 003302BC 48 03 97 09 */ bl sub_8036ca64 -lbl_80333360: -/* 80333360 003302C0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80333364 003302C4 7F E3 FB 78 */ mr r3, r31 -/* 80333368 003302C8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8033336C 003302CC 7C 08 03 A6 */ mtlr r0 -/* 80333370 003302D0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80333374 003302D4 4E 80 00 20 */ blr - -.global __dt__27CREParticleAccessParameter2 -__dt__27CREParticleAccessParameter2: -/* 80333378 003302D8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8033337C 003302DC 7C 08 02 A6 */ mflr r0 -/* 80333380 003302E0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80333384 003302E4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80333388 003302E8 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8033338C 003302EC 41 82 00 44 */ beq lbl_803333D0 -/* 80333390 003302F0 3C 60 80 3F */ lis r3, lbl_803EDFD4@ha -/* 80333394 003302F4 38 03 DF D4 */ addi r0, r3, lbl_803EDFD4@l -/* 80333398 003302F8 90 1F 00 00 */ stw r0, 0(r31) -/* 8033339C 003302FC 41 82 00 20 */ beq lbl_803333BC -/* 803333A0 00330300 3C 60 80 3F */ lis r3, lbl_803EC554@ha -/* 803333A4 00330304 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l -/* 803333A8 00330308 90 1F 00 00 */ stw r0, 0(r31) -/* 803333AC 0033030C 41 82 00 10 */ beq lbl_803333BC -/* 803333B0 00330310 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 803333B4 00330314 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 803333B8 00330318 90 1F 00 00 */ stw r0, 0(r31) -lbl_803333BC: -/* 803333BC 0033031C 7C 80 07 35 */ extsh. r0, r4 -/* 803333C0 00330320 40 81 00 10 */ ble lbl_803333D0 -/* 803333C4 00330324 7F E3 FB 78 */ mr r3, r31 -/* 803333C8 00330328 38 80 00 04 */ li r4, 4 -/* 803333CC 0033032C 48 03 96 99 */ bl sub_8036ca64 -lbl_803333D0: -/* 803333D0 00330330 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803333D4 00330334 7F E3 FB 78 */ mr r3, r31 -/* 803333D8 00330338 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 803333DC 0033033C 7C 08 03 A6 */ mtlr r0 -/* 803333E0 00330340 38 21 00 10 */ addi r1, r1, 0x10 -/* 803333E4 00330344 4E 80 00 20 */ blr - -.global __dt__27CREParticleAccessParameter1 -__dt__27CREParticleAccessParameter1: -/* 803333E8 00330348 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803333EC 0033034C 7C 08 02 A6 */ mflr r0 -/* 803333F0 00330350 90 01 00 14 */ stw r0, 0x14(r1) -/* 803333F4 00330354 93 E1 00 0C */ stw r31, 0xc(r1) -/* 803333F8 00330358 7C 7F 1B 79 */ or. r31, r3, r3 -/* 803333FC 0033035C 41 82 00 44 */ beq lbl_80333440 -/* 80333400 00330360 3C 60 80 3F */ lis r3, lbl_803EDFE8@ha -/* 80333404 00330364 38 03 DF E8 */ addi r0, r3, lbl_803EDFE8@l -/* 80333408 00330368 90 1F 00 00 */ stw r0, 0(r31) -/* 8033340C 0033036C 41 82 00 20 */ beq lbl_8033342C -/* 80333410 00330370 3C 60 80 3F */ lis r3, lbl_803EC554@ha -/* 80333414 00330374 38 03 C5 54 */ addi r0, r3, lbl_803EC554@l -/* 80333418 00330378 90 1F 00 00 */ stw r0, 0(r31) -/* 8033341C 0033037C 41 82 00 10 */ beq lbl_8033342C -/* 80333420 00330380 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 80333424 00330384 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 80333428 00330388 90 1F 00 00 */ stw r0, 0(r31) -lbl_8033342C: -/* 8033342C 0033038C 7C 80 07 35 */ extsh. r0, r4 -/* 80333430 00330390 40 81 00 10 */ ble lbl_80333440 -/* 80333434 00330394 7F E3 FB 78 */ mr r3, r31 -/* 80333438 00330398 38 80 00 04 */ li r4, 4 -/* 8033343C 0033039C 48 03 96 29 */ bl sub_8036ca64 -lbl_80333440: -/* 80333440 003303A0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80333444 003303A4 7F E3 FB 78 */ mr r3, r31 -/* 80333448 003303A8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8033344C 003303AC 7C 08 03 A6 */ mtlr r0 -/* 80333450 003303B0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80333454 003303B4 4E 80 00 20 */ blr - -.global IsConstant__16CREInitialRandomCF -IsConstant__16CREInitialRandomCF: -/* 80333458 003303B8 38 60 00 01 */ li r3, 1 -/* 8033345C 003303BC 4E 80 00 20 */ blr - -.global IsConstant__11CREConstantCFv -IsConstant__11CREConstantCFv: -/* 80333460 003303C0 38 60 00 01 */ li r3, 1 -/* 80333464 003303C4 4E 80 00 20 */ blr - -.global sub_80333468 -sub_80333468: -/* 80333468 003303C8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8033346C 003303CC 7C 08 02 A6 */ mflr r0 -/* 80333470 003303D0 90 01 00 24 */ stw r0, 0x24(r1) -/* 80333474 003303D4 38 A1 00 10 */ addi r5, r1, 0x10 -/* 80333478 003303D8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8033347C 003303DC 7C 7F 1B 78 */ mr r31, r3 -/* 80333480 003303E0 3C 60 50 41 */ lis r3, 0x50415254@ha -/* 80333484 003303E4 80 DF 00 00 */ lwz r6, 0(r31) -/* 80333488 003303E8 38 03 52 54 */ addi r0, r3, 0x50415254@l -/* 8033348C 003303EC 38 61 00 08 */ addi r3, r1, 8 -/* 80333490 003303F0 90 01 00 10 */ stw r0, 0x10(r1) -/* 80333494 003303F4 90 C1 00 14 */ stw r6, 0x14(r1) -/* 80333498 003303F8 81 84 00 00 */ lwz r12, 0(r4) -/* 8033349C 003303FC 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 803334A0 00330400 7D 89 03 A6 */ mtctr r12 -/* 803334A4 00330404 4E 80 04 21 */ bctrl -/* 803334A8 00330408 88 1F 00 18 */ lbz r0, 0x18(r31) -/* 803334AC 0033040C 28 00 00 00 */ cmplwi r0, 0 -/* 803334B0 00330410 40 82 00 20 */ bne lbl_803334D0 -/* 803334B4 00330414 34 7F 00 10 */ addic. r3, r31, 0x10 -/* 803334B8 00330418 41 82 00 0C */ beq lbl_803334C4 -/* 803334BC 0033041C 38 81 00 08 */ addi r4, r1, 8 -/* 803334C0 00330420 48 00 D9 E9 */ bl __ct__6CTokenFRC6CToken -lbl_803334C4: -/* 803334C4 00330424 38 00 00 01 */ li r0, 1 -/* 803334C8 00330428 98 1F 00 18 */ stb r0, 0x18(r31) -/* 803334CC 0033042C 48 00 00 10 */ b lbl_803334DC -lbl_803334D0: -/* 803334D0 00330430 38 7F 00 10 */ addi r3, r31, 0x10 -/* 803334D4 00330434 38 81 00 08 */ addi r4, r1, 8 -/* 803334D8 00330438 48 00 D7 ED */ bl __as__6CTokenFRC6CToken -lbl_803334DC: -/* 803334DC 0033043C 38 61 00 08 */ addi r3, r1, 8 -/* 803334E0 00330440 38 80 FF FF */ li r4, -1 -/* 803334E4 00330444 48 00 D9 5D */ bl __dt__6CTokenFv -/* 803334E8 00330448 38 7F 00 10 */ addi r3, r31, 0x10 -/* 803334EC 0033044C 48 00 D8 99 */ bl Lock__6CTokenFv -/* 803334F0 00330450 80 01 00 24 */ lwz r0, 0x24(r1) -/* 803334F4 00330454 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 803334F8 00330458 7C 08 03 A6 */ mtlr r0 -/* 803334FC 0033045C 38 21 00 20 */ addi r1, r1, 0x20 -/* 80333500 00330460 4E 80 00 20 */ blr - -.global sub_80333504 -sub_80333504: -/* 80333504 00330464 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80333508 00330468 7C 08 02 A6 */ mflr r0 -/* 8033350C 0033046C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80333510 00330470 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80333514 00330474 7C 9F 23 78 */ mr r31, r4 -/* 80333518 00330478 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8033351C 0033047C 7C 7E 1B 78 */ mr r30, r3 -/* 80333520 00330480 88 0D A9 15 */ lbz r0, lbl_805A94D5@sda21(r13) -/* 80333524 00330484 7C 00 07 75 */ extsb. r0, r0 -/* 80333528 00330488 40 82 00 4C */ bne lbl_80333574 -/* 8033352C 0033048C 38 00 00 00 */ li r0, 0 -/* 80333530 00330490 3C 60 80 4C */ lis r3, lbl_804BFF1C@ha -/* 80333534 00330494 90 01 00 0C */ stw r0, 0xc(r1) -/* 80333538 00330498 38 63 FF 1C */ addi r3, r3, lbl_804BFF1C@l -/* 8033353C 0033049C 38 81 00 08 */ addi r4, r1, 8 -/* 80333540 003304A0 90 01 00 10 */ stw r0, 0x10(r1) -/* 80333544 003304A4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80333548 003304A8 48 00 00 9D */ bl sub_803335e4 -/* 8033354C 003304AC 3C 80 80 33 */ lis r4, sub_80329c3c@ha -/* 80333550 003304B0 3C A0 80 4C */ lis r5, lbl_804BFF10@ha -/* 80333554 003304B4 38 84 9C 3C */ addi r4, r4, sub_80329c3c@l -/* 80333558 003304B8 38 A5 FF 10 */ addi r5, r5, lbl_804BFF10@l -/* 8033355C 003304BC 48 05 61 31 */ bl __register_global_object -/* 80333560 003304C0 38 61 00 08 */ addi r3, r1, 8 -/* 80333564 003304C4 38 80 FF FF */ li r4, -1 -/* 80333568 003304C8 4B FF 66 D5 */ bl sub_80329c3c -/* 8033356C 003304CC 38 00 00 01 */ li r0, 1 -/* 80333570 003304D0 98 0D A9 15 */ stb r0, lbl_805A94D5@sda21(r13) -lbl_80333574: -/* 80333574 003304D4 80 1E 00 08 */ lwz r0, 8(r30) -/* 80333578 003304D8 7C 1F 00 40 */ cmplw r31, r0 -/* 8033357C 003304DC 41 80 00 10 */ blt lbl_8033358C -/* 80333580 003304E0 3C 60 80 4C */ lis r3, lbl_804BFF1C@ha -/* 80333584 003304E4 38 63 FF 1C */ addi r3, r3, lbl_804BFF1C@l -/* 80333588 003304E8 48 00 00 44 */ b lbl_803335CC -lbl_8033358C: -/* 8033358C 003304EC 80 1E 00 14 */ lwz r0, 0x14(r30) -/* 80333590 003304F0 38 80 00 00 */ li r4, 0 -/* 80333594 003304F4 7C 09 03 A6 */ mtctr r0 -/* 80333598 003304F8 2C 00 00 00 */ cmpwi r0, 0 -/* 8033359C 003304FC 40 81 00 28 */ ble lbl_803335C4 -lbl_803335A0: -/* 803335A0 00330500 80 1E 00 1C */ lwz r0, 0x1c(r30) -/* 803335A4 00330504 7C 60 22 14 */ add r3, r0, r4 -/* 803335A8 00330508 80 03 00 00 */ lwz r0, 0(r3) -/* 803335AC 0033050C 7C 00 F8 40 */ cmplw r0, r31 -/* 803335B0 00330510 40 82 00 0C */ bne lbl_803335BC -/* 803335B4 00330514 38 63 00 04 */ addi r3, r3, 4 -/* 803335B8 00330518 48 00 00 14 */ b lbl_803335CC -lbl_803335BC: -/* 803335BC 0033051C 38 84 00 14 */ addi r4, r4, 0x14 -/* 803335C0 00330520 42 00 FF E0 */ bdnz lbl_803335A0 -lbl_803335C4: -/* 803335C4 00330524 3C 60 80 4C */ lis r3, lbl_804BFF1C@ha -/* 803335C8 00330528 38 63 FF 1C */ addi r3, r3, lbl_804BFF1C@l -lbl_803335CC: -/* 803335CC 0033052C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 803335D0 00330530 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 803335D4 00330534 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 803335D8 00330538 7C 08 03 A6 */ mtlr r0 -/* 803335DC 0033053C 38 21 00 20 */ addi r1, r1, 0x20 -/* 803335E0 00330540 4E 80 00 20 */ blr - -.global sub_803335e4 -sub_803335e4: -/* 803335E4 00330544 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 803335E8 00330548 7C 08 02 A6 */ mflr r0 -/* 803335EC 0033054C 90 01 00 24 */ stw r0, 0x24(r1) -/* 803335F0 00330550 BF 61 00 0C */ stmw r27, 0xc(r1) -/* 803335F4 00330554 7C 9C 23 78 */ mr r28, r4 -/* 803335F8 00330558 7C 7F 1B 78 */ mr r31, r3 -/* 803335FC 0033055C 80 04 00 04 */ lwz r0, 4(r4) -/* 80333600 00330560 90 03 00 04 */ stw r0, 4(r3) -/* 80333604 00330564 80 04 00 08 */ lwz r0, 8(r4) -/* 80333608 00330568 90 03 00 08 */ stw r0, 8(r3) -/* 8033360C 0033056C 80 04 00 04 */ lwz r0, 4(r4) -/* 80333610 00330570 2C 00 00 00 */ cmpwi r0, 0 -/* 80333614 00330574 40 82 00 1C */ bne lbl_80333630 -/* 80333618 00330578 80 1C 00 08 */ lwz r0, 8(r28) -/* 8033361C 0033057C 2C 00 00 00 */ cmpwi r0, 0 -/* 80333620 00330580 40 82 00 10 */ bne lbl_80333630 -/* 80333624 00330584 38 00 00 00 */ li r0, 0 -/* 80333628 00330588 90 1F 00 0C */ stw r0, 0xc(r31) -/* 8033362C 0033058C 48 00 00 A8 */ b lbl_803336D4 -lbl_80333630: -/* 80333630 00330590 80 1F 00 08 */ lwz r0, 8(r31) -/* 80333634 00330594 1C 60 00 1C */ mulli r3, r0, 0x1c -/* 80333638 00330598 2C 03 00 00 */ cmpwi r3, 0 -/* 8033363C 0033059C 40 82 00 10 */ bne lbl_8033364C -/* 80333640 003305A0 38 00 00 00 */ li r0, 0 -/* 80333644 003305A4 90 1F 00 0C */ stw r0, 0xc(r31) -/* 80333648 003305A8 48 00 00 18 */ b lbl_80333660 -lbl_8033364C: -/* 8033364C 003305AC 3C 80 80 3D */ lis r4, lbl_803D7978@ha -/* 80333650 003305B0 38 A0 00 00 */ li r5, 0 -/* 80333654 003305B4 38 84 79 78 */ addi r4, r4, lbl_803D7978@l -/* 80333658 003305B8 4B FE 21 C1 */ bl __nwa__FUlPCcPCc -/* 8033365C 003305BC 90 7F 00 0C */ stw r3, 0xc(r31) -lbl_80333660: -/* 80333660 003305C0 83 7F 00 04 */ lwz r27, 4(r31) -/* 80333664 003305C4 3B C0 00 00 */ li r30, 0 -/* 80333668 003305C8 83 9C 00 0C */ lwz r28, 0xc(r28) -/* 8033366C 003305CC 83 BF 00 0C */ lwz r29, 0xc(r31) -/* 80333670 003305D0 48 00 00 5C */ b lbl_803336CC -lbl_80333674: -/* 80333674 003305D4 28 1D 00 00 */ cmplwi r29, 0 -/* 80333678 003305D8 41 82 00 48 */ beq lbl_803336C0 -/* 8033367C 003305DC 80 1C 00 00 */ lwz r0, 0(r28) -/* 80333680 003305E0 90 1D 00 00 */ stw r0, 0(r29) -/* 80333684 003305E4 80 1C 00 04 */ lwz r0, 4(r28) -/* 80333688 003305E8 90 1D 00 04 */ stw r0, 4(r29) -/* 8033368C 003305EC 80 1C 00 08 */ lwz r0, 8(r28) -/* 80333690 003305F0 90 1D 00 08 */ stw r0, 8(r29) -/* 80333694 003305F4 80 1C 00 0C */ lwz r0, 0xc(r28) -/* 80333698 003305F8 90 1D 00 0C */ stw r0, 0xc(r29) -/* 8033369C 003305FC 88 1C 00 18 */ lbz r0, 0x18(r28) -/* 803336A0 00330600 98 1D 00 18 */ stb r0, 0x18(r29) -/* 803336A4 00330604 88 1C 00 18 */ lbz r0, 0x18(r28) -/* 803336A8 00330608 28 00 00 00 */ cmplwi r0, 0 -/* 803336AC 0033060C 41 82 00 14 */ beq lbl_803336C0 -/* 803336B0 00330610 34 7D 00 10 */ addic. r3, r29, 0x10 -/* 803336B4 00330614 38 9C 00 10 */ addi r4, r28, 0x10 -/* 803336B8 00330618 41 82 00 08 */ beq lbl_803336C0 -/* 803336BC 0033061C 48 00 D7 ED */ bl __ct__6CTokenFRC6CToken -lbl_803336C0: -/* 803336C0 00330620 3B BD 00 1C */ addi r29, r29, 0x1c -/* 803336C4 00330624 3B DE 00 01 */ addi r30, r30, 1 -/* 803336C8 00330628 3B 9C 00 1C */ addi r28, r28, 0x1c -lbl_803336CC: -/* 803336CC 0033062C 7C 1E D8 00 */ cmpw r30, r27 -/* 803336D0 00330630 41 80 FF A4 */ blt lbl_80333674 -lbl_803336D4: -/* 803336D4 00330634 7F E3 FB 78 */ mr r3, r31 -/* 803336D8 00330638 BB 61 00 0C */ lmw r27, 0xc(r1) -/* 803336DC 0033063C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 803336E0 00330640 7C 08 03 A6 */ mtlr r0 -/* 803336E4 00330644 38 21 00 20 */ addi r1, r1, 0x20 -/* 803336E8 00330648 4E 80 00 20 */ blr - -.global sub_803336ec -sub_803336ec: -/* 803336EC 0033064C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 803336F0 00330650 7C 08 02 A6 */ mflr r0 -/* 803336F4 00330654 90 01 00 34 */ stw r0, 0x34(r1) -/* 803336F8 00330658 BF 21 00 14 */ stmw r25, 0x14(r1) -/* 803336FC 0033065C 7C 79 1B 78 */ mr r25, r3 -/* 80333700 00330660 7C 9A 23 78 */ mr r26, r4 -/* 80333704 00330664 3B 80 00 00 */ li r28, 0 -/* 80333708 00330668 3B A0 00 00 */ li r29, 0 -/* 8033370C 0033066C 48 00 00 44 */ b lbl_80333750 -lbl_80333710: -/* 80333710 00330670 80 19 00 1C */ lwz r0, 0x1c(r25) -/* 80333714 00330674 3B 60 00 00 */ li r27, 0 -/* 80333718 00330678 3B C0 00 00 */ li r30, 0 -/* 8033371C 0033067C 7F E0 EA 14 */ add r31, r0, r29 -/* 80333720 00330680 48 00 00 1C */ b lbl_8033373C -lbl_80333724: -/* 80333724 00330684 80 1F 00 10 */ lwz r0, 0x10(r31) -/* 80333728 00330688 7F 44 D3 78 */ mr r4, r26 -/* 8033372C 0033068C 7C 60 F2 14 */ add r3, r0, r30 -/* 80333730 00330690 4B FF FD 39 */ bl sub_80333468 -/* 80333734 00330694 3B DE 00 1C */ addi r30, r30, 0x1c -/* 80333738 00330698 3B 7B 00 01 */ addi r27, r27, 1 -lbl_8033373C: -/* 8033373C 0033069C 80 1F 00 08 */ lwz r0, 8(r31) -/* 80333740 003306A0 7C 1B 00 00 */ cmpw r27, r0 -/* 80333744 003306A4 41 80 FF E0 */ blt lbl_80333724 -/* 80333748 003306A8 3B BD 00 14 */ addi r29, r29, 0x14 -/* 8033374C 003306AC 3B 9C 00 01 */ addi r28, r28, 1 -lbl_80333750: -/* 80333750 003306B0 80 19 00 14 */ lwz r0, 0x14(r25) -/* 80333754 003306B4 7C 1C 00 00 */ cmpw r28, r0 -/* 80333758 003306B8 41 80 FF B8 */ blt lbl_80333710 -/* 8033375C 003306BC BB 21 00 14 */ lmw r25, 0x14(r1) -/* 80333760 003306C0 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80333764 003306C4 7C 08 03 A6 */ mtlr r0 -/* 80333768 003306C8 38 21 00 30 */ addi r1, r1, 0x30 -/* 8033376C 003306CC 4E 80 00 20 */ blr - -.global __ct__24CSpawnSystemKeyframeDataFR12CInputStream -__ct__24CSpawnSystemKeyframeDataFR12CInputStream: -/* 80333770 003306D0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80333774 003306D4 7C 08 02 A6 */ mflr r0 -/* 80333778 003306D8 90 01 00 24 */ stw r0, 0x24(r1) -/* 8033377C 003306DC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80333780 003306E0 7C 9F 23 78 */ mr r31, r4 -/* 80333784 003306E4 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80333788 003306E8 7C 7E 1B 78 */ mr r30, r3 -/* 8033378C 003306EC 7F E3 FB 78 */ mr r3, r31 -/* 80333790 003306F0 48 00 B4 F5 */ bl ReadLong__12CInputStreamFv -/* 80333794 003306F4 90 7E 00 00 */ stw r3, 0(r30) -/* 80333798 003306F8 7F E3 FB 78 */ mr r3, r31 -/* 8033379C 003306FC 48 00 B4 E9 */ bl ReadLong__12CInputStreamFv -/* 803337A0 00330700 90 7E 00 04 */ stw r3, 4(r30) -/* 803337A4 00330704 7F E3 FB 78 */ mr r3, r31 -/* 803337A8 00330708 48 00 B4 DD */ bl ReadLong__12CInputStreamFv -/* 803337AC 0033070C 90 7E 00 08 */ stw r3, 8(r30) -/* 803337B0 00330710 7F E3 FB 78 */ mr r3, r31 -/* 803337B4 00330714 48 00 B4 D1 */ bl ReadLong__12CInputStreamFv -/* 803337B8 00330718 90 7E 00 0C */ stw r3, 0xc(r30) -/* 803337BC 0033071C 7F E4 FB 78 */ mr r4, r31 -/* 803337C0 00330720 38 7E 00 10 */ addi r3, r30, 0x10 -/* 803337C4 00330724 38 A1 00 08 */ addi r5, r1, 8 -/* 803337C8 00330728 48 00 00 45 */ bl sub_8033380c -/* 803337CC 0033072C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 803337D0 00330730 7F C3 F3 78 */ mr r3, r30 -/* 803337D4 00330734 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 803337D8 00330738 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 803337DC 0033073C 7C 08 03 A6 */ mtlr r0 -/* 803337E0 00330740 38 21 00 20 */ addi r1, r1, 0x20 -/* 803337E4 00330744 4E 80 00 20 */ blr - -.global sub_803337e8 -sub_803337e8: -/* 803337E8 00330748 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803337EC 0033074C 7C 08 02 A6 */ mflr r0 -/* 803337F0 00330750 38 80 FF FF */ li r4, -1 -/* 803337F4 00330754 90 01 00 14 */ stw r0, 0x14(r1) -/* 803337F8 00330758 4B FF 63 ED */ bl sub_80329be4 -/* 803337FC 0033075C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80333800 00330760 7C 08 03 A6 */ mtlr r0 -/* 80333804 00330764 38 21 00 10 */ addi r1, r1, 0x10 -/* 80333808 00330768 4E 80 00 20 */ blr - -.global sub_8033380c -sub_8033380c: -/* 8033380C 0033076C 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80333810 00330770 7C 08 02 A6 */ mflr r0 -/* 80333814 00330774 90 01 00 44 */ stw r0, 0x44(r1) -/* 80333818 00330778 38 00 00 00 */ li r0, 0 -/* 8033381C 0033077C BF 61 00 2C */ stmw r27, 0x2c(r1) -/* 80333820 00330780 7C 7B 1B 78 */ mr r27, r3 -/* 80333824 00330784 7C 9C 23 78 */ mr r28, r4 -/* 80333828 00330788 90 03 00 04 */ stw r0, 4(r3) -/* 8033382C 0033078C 7F 83 E3 78 */ mr r3, r28 -/* 80333830 00330790 90 1B 00 08 */ stw r0, 8(r27) -/* 80333834 00330794 90 1B 00 0C */ stw r0, 0xc(r27) -/* 80333838 00330798 48 00 B4 4D */ bl ReadLong__12CInputStreamFv -/* 8033383C 0033079C 7C 7E 1B 78 */ mr r30, r3 -/* 80333840 003307A0 7F 63 DB 78 */ mr r3, r27 -/* 80333844 003307A4 7F C4 F3 78 */ mr r4, r30 -/* 80333848 003307A8 48 00 05 DD */ bl sub_80333e24 -/* 8033384C 003307AC 3B E1 00 08 */ addi r31, r1, 8 -/* 80333850 003307B0 3B A0 00 00 */ li r29, 0 -/* 80333854 003307B4 48 00 00 38 */ b lbl_8033388C -lbl_80333858: -/* 80333858 003307B8 88 0D A9 00 */ lbz r0, lbl_805A94C0@sda21(r13) -/* 8033385C 003307BC 7F 84 E3 78 */ mr r4, r28 -/* 80333860 003307C0 7F E5 FB 78 */ mr r5, r31 -/* 80333864 003307C4 38 61 00 0C */ addi r3, r1, 0xc -/* 80333868 003307C8 98 01 00 08 */ stb r0, 8(r1) -/* 8033386C 003307CC 48 00 01 25 */ bl sub_80333990 -/* 80333870 003307D0 7F 63 DB 78 */ mr r3, r27 -/* 80333874 003307D4 38 81 00 0C */ addi r4, r1, 0xc -/* 80333878 003307D8 48 00 00 35 */ bl sub_803338ac -/* 8033387C 003307DC 38 61 00 0C */ addi r3, r1, 0xc -/* 80333880 003307E0 38 80 FF FF */ li r4, -1 -/* 80333884 003307E4 4B FF 63 61 */ bl sub_80329be4 -/* 80333888 003307E8 3B BD 00 01 */ addi r29, r29, 1 -lbl_8033388C: -/* 8033388C 003307EC 7C 1D F0 00 */ cmpw r29, r30 -/* 80333890 003307F0 41 80 FF C8 */ blt lbl_80333858 -/* 80333894 003307F4 7F 63 DB 78 */ mr r3, r27 -/* 80333898 003307F8 BB 61 00 2C */ lmw r27, 0x2c(r1) -/* 8033389C 003307FC 80 01 00 44 */ lwz r0, 0x44(r1) -/* 803338A0 00330800 7C 08 03 A6 */ mtlr r0 -/* 803338A4 00330804 38 21 00 40 */ addi r1, r1, 0x40 -/* 803338A8 00330808 4E 80 00 20 */ blr - -.global sub_803338ac -sub_803338ac: -/* 803338AC 0033080C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803338B0 00330810 7C 08 02 A6 */ mflr r0 -/* 803338B4 00330814 90 01 00 14 */ stw r0, 0x14(r1) -/* 803338B8 00330818 93 E1 00 0C */ stw r31, 0xc(r1) -/* 803338BC 0033081C 7C 9F 23 78 */ mr r31, r4 -/* 803338C0 00330820 93 C1 00 08 */ stw r30, 8(r1) -/* 803338C4 00330824 7C 7E 1B 78 */ mr r30, r3 -/* 803338C8 00330828 80 03 00 04 */ lwz r0, 4(r3) -/* 803338CC 0033082C 80 A3 00 08 */ lwz r5, 8(r3) -/* 803338D0 00330830 7C 00 28 00 */ cmpw r0, r5 -/* 803338D4 00330834 41 80 00 18 */ blt lbl_803338EC -/* 803338D8 00330838 2C 05 00 00 */ cmpwi r5, 0 -/* 803338DC 0033083C 38 80 00 04 */ li r4, 4 -/* 803338E0 00330840 41 82 00 08 */ beq lbl_803338E8 -/* 803338E4 00330844 54 A4 08 3C */ slwi r4, r5, 1 -lbl_803338E8: -/* 803338E8 00330848 48 00 05 3D */ bl sub_80333e24 -lbl_803338EC: -/* 803338EC 0033084C 80 1E 00 04 */ lwz r0, 4(r30) -/* 803338F0 00330850 7F E4 FB 78 */ mr r4, r31 -/* 803338F4 00330854 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 803338F8 00330858 1C 00 00 14 */ mulli r0, r0, 0x14 -/* 803338FC 0033085C 7C 63 02 14 */ add r3, r3, r0 -/* 80333900 00330860 48 00 00 29 */ bl sub_80333928 -/* 80333904 00330864 80 7E 00 04 */ lwz r3, 4(r30) -/* 80333908 00330868 38 03 00 01 */ addi r0, r3, 1 -/* 8033390C 0033086C 90 1E 00 04 */ stw r0, 4(r30) -/* 80333910 00330870 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80333914 00330874 83 C1 00 08 */ lwz r30, 8(r1) -/* 80333918 00330878 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8033391C 0033087C 7C 08 03 A6 */ mtlr r0 -/* 80333920 00330880 38 21 00 10 */ addi r1, r1, 0x10 -/* 80333924 00330884 4E 80 00 20 */ blr - -.global sub_80333928 -sub_80333928: -/* 80333928 00330888 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8033392C 0033088C 7C 08 02 A6 */ mflr r0 -/* 80333930 00330890 28 03 00 00 */ cmplwi r3, 0 -/* 80333934 00330894 90 01 00 14 */ stw r0, 0x14(r1) -/* 80333938 00330898 41 82 00 08 */ beq lbl_80333940 -/* 8033393C 0033089C 48 00 00 15 */ bl sub_80333950 -lbl_80333940: -/* 80333940 003308A0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80333944 003308A4 7C 08 03 A6 */ mtlr r0 -/* 80333948 003308A8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8033394C 003308AC 4E 80 00 20 */ blr - -.global sub_80333950 -sub_80333950: -/* 80333950 003308B0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80333954 003308B4 7C 08 02 A6 */ mflr r0 -/* 80333958 003308B8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8033395C 003308BC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80333960 003308C0 7C 7F 1B 78 */ mr r31, r3 -/* 80333964 003308C4 38 7F 00 04 */ addi r3, r31, 4 -/* 80333968 003308C8 80 04 00 00 */ lwz r0, 0(r4) -/* 8033396C 003308CC 38 84 00 04 */ addi r4, r4, 4 -/* 80333970 003308D0 90 1F 00 00 */ stw r0, 0(r31) -/* 80333974 003308D4 4B FF FC 71 */ bl sub_803335e4 -/* 80333978 003308D8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8033397C 003308DC 7F E3 FB 78 */ mr r3, r31 -/* 80333980 003308E0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80333984 003308E4 7C 08 03 A6 */ mtlr r0 -/* 80333988 003308E8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8033398C 003308EC 4E 80 00 20 */ blr - -.global sub_80333990 -sub_80333990: -/* 80333990 003308F0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80333994 003308F4 7C 08 02 A6 */ mflr r0 -/* 80333998 003308F8 7C 85 23 78 */ mr r5, r4 -/* 8033399C 003308FC 90 01 00 24 */ stw r0, 0x24(r1) -/* 803339A0 00330900 38 81 00 08 */ addi r4, r1, 8 -/* 803339A4 00330904 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 803339A8 00330908 7C 7F 1B 78 */ mr r31, r3 -/* 803339AC 0033090C 88 0D A9 04 */ lbz r0, lbl_805A94C4@sda21(r13) -/* 803339B0 00330910 98 01 00 08 */ stb r0, 8(r1) -/* 803339B4 00330914 48 00 00 19 */ bl sub_803339cc -/* 803339B8 00330918 80 01 00 24 */ lwz r0, 0x24(r1) -/* 803339BC 0033091C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 803339C0 00330920 7C 08 03 A6 */ mtlr r0 -/* 803339C4 00330924 38 21 00 20 */ addi r1, r1, 0x20 -/* 803339C8 00330928 4E 80 00 20 */ blr - -.global sub_803339cc -sub_803339cc: -/* 803339CC 0033092C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803339D0 00330930 7C 08 02 A6 */ mflr r0 -/* 803339D4 00330934 7C A4 2B 78 */ mr r4, r5 -/* 803339D8 00330938 90 01 00 14 */ stw r0, 0x14(r1) -/* 803339DC 0033093C 48 00 00 15 */ bl sub_803339f0 -/* 803339E0 00330940 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803339E4 00330944 7C 08 03 A6 */ mtlr r0 -/* 803339E8 00330948 38 21 00 10 */ addi r1, r1, 0x10 -/* 803339EC 0033094C 4E 80 00 20 */ blr - -.global sub_803339f0 -sub_803339f0: -/* 803339F0 00330950 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 803339F4 00330954 7C 08 02 A6 */ mflr r0 -/* 803339F8 00330958 90 01 00 34 */ stw r0, 0x34(r1) -/* 803339FC 0033095C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80333A00 00330960 7C 9F 23 78 */ mr r31, r4 -/* 80333A04 00330964 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80333A08 00330968 7C 7E 1B 78 */ mr r30, r3 -/* 80333A0C 0033096C 7F E3 FB 78 */ mr r3, r31 -/* 80333A10 00330970 48 00 B2 75 */ bl ReadLong__12CInputStreamFv -/* 80333A14 00330974 90 7E 00 00 */ stw r3, 0(r30) -/* 80333A18 00330978 7F E4 FB 78 */ mr r4, r31 -/* 80333A1C 0033097C 38 61 00 0C */ addi r3, r1, 0xc -/* 80333A20 00330980 38 A1 00 08 */ addi r5, r1, 8 -/* 80333A24 00330984 88 0D A9 08 */ lbz r0, lbl_805A94C8@sda21(r13) -/* 80333A28 00330988 98 01 00 08 */ stb r0, 8(r1) -/* 80333A2C 0033098C 48 00 00 39 */ bl sub_80333a64 -/* 80333A30 00330990 38 7E 00 04 */ addi r3, r30, 4 -/* 80333A34 00330994 38 81 00 0C */ addi r4, r1, 0xc -/* 80333A38 00330998 4B FF FB AD */ bl sub_803335e4 -/* 80333A3C 0033099C 38 61 00 0C */ addi r3, r1, 0xc -/* 80333A40 003309A0 38 80 FF FF */ li r4, -1 -/* 80333A44 003309A4 4B FF 61 F9 */ bl sub_80329c3c -/* 80333A48 003309A8 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80333A4C 003309AC 7F C3 F3 78 */ mr r3, r30 -/* 80333A50 003309B0 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80333A54 003309B4 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80333A58 003309B8 7C 08 03 A6 */ mtlr r0 -/* 80333A5C 003309BC 38 21 00 30 */ addi r1, r1, 0x30 -/* 80333A60 003309C0 4E 80 00 20 */ blr - -.global sub_80333a64 -sub_80333a64: -/* 80333A64 003309C4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80333A68 003309C8 7C 08 02 A6 */ mflr r0 -/* 80333A6C 003309CC 7C 85 23 78 */ mr r5, r4 -/* 80333A70 003309D0 90 01 00 24 */ stw r0, 0x24(r1) -/* 80333A74 003309D4 38 81 00 08 */ addi r4, r1, 8 -/* 80333A78 003309D8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80333A7C 003309DC 7C 7F 1B 78 */ mr r31, r3 -/* 80333A80 003309E0 88 0D A9 0C */ lbz r0, lbl_805A94CC@sda21(r13) -/* 80333A84 003309E4 98 01 00 08 */ stb r0, 8(r1) -/* 80333A88 003309E8 48 00 00 19 */ bl sub_80333aa0 -/* 80333A8C 003309EC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80333A90 003309F0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80333A94 003309F4 7C 08 03 A6 */ mtlr r0 -/* 80333A98 003309F8 38 21 00 20 */ addi r1, r1, 0x20 -/* 80333A9C 003309FC 4E 80 00 20 */ blr - -.global sub_80333aa0 -sub_80333aa0: -/* 80333AA0 00330A00 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80333AA4 00330A04 7C 08 02 A6 */ mflr r0 -/* 80333AA8 00330A08 7C A4 2B 78 */ mr r4, r5 -/* 80333AAC 00330A0C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80333AB0 00330A10 38 A1 00 08 */ addi r5, r1, 8 -/* 80333AB4 00330A14 48 00 00 15 */ bl sub_80333ac8 -/* 80333AB8 00330A18 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80333ABC 00330A1C 7C 08 03 A6 */ mtlr r0 -/* 80333AC0 00330A20 38 21 00 10 */ addi r1, r1, 0x10 -/* 80333AC4 00330A24 4E 80 00 20 */ blr - -.global sub_80333ac8 -sub_80333ac8: -/* 80333AC8 00330A28 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80333ACC 00330A2C 7C 08 02 A6 */ mflr r0 -/* 80333AD0 00330A30 90 01 00 44 */ stw r0, 0x44(r1) -/* 80333AD4 00330A34 38 00 00 00 */ li r0, 0 -/* 80333AD8 00330A38 BF 41 00 28 */ stmw r26, 0x28(r1) -/* 80333ADC 00330A3C 7C 7A 1B 78 */ mr r26, r3 -/* 80333AE0 00330A40 7C 9B 23 78 */ mr r27, r4 -/* 80333AE4 00330A44 90 03 00 04 */ stw r0, 4(r3) -/* 80333AE8 00330A48 7F 63 DB 78 */ mr r3, r27 -/* 80333AEC 00330A4C 90 1A 00 08 */ stw r0, 8(r26) -/* 80333AF0 00330A50 90 1A 00 0C */ stw r0, 0xc(r26) -/* 80333AF4 00330A54 48 00 B1 91 */ bl ReadLong__12CInputStreamFv -/* 80333AF8 00330A58 7C 7E 1B 78 */ mr r30, r3 -/* 80333AFC 00330A5C 7F 43 D3 78 */ mr r3, r26 -/* 80333B00 00330A60 7F C4 F3 78 */ mr r4, r30 -/* 80333B04 00330A64 48 00 01 C1 */ bl sub_80333cc4 -/* 80333B08 00330A68 3B A1 00 1C */ addi r29, r1, 0x1c -/* 80333B0C 00330A6C 3B E1 00 08 */ addi r31, r1, 8 -/* 80333B10 00330A70 3B 80 00 00 */ li r28, 0 -/* 80333B14 00330A74 48 00 00 E8 */ b lbl_80333BFC -lbl_80333B18: -/* 80333B18 00330A78 88 0D A9 10 */ lbz r0, lbl_805A94D0@sda21(r13) -/* 80333B1C 00330A7C 7F 64 DB 78 */ mr r4, r27 -/* 80333B20 00330A80 7F E5 FB 78 */ mr r5, r31 -/* 80333B24 00330A84 38 61 00 0C */ addi r3, r1, 0xc -/* 80333B28 00330A88 98 01 00 08 */ stb r0, 8(r1) -/* 80333B2C 00330A8C 48 00 00 F1 */ bl sub_80333c1c -/* 80333B30 00330A90 80 1A 00 04 */ lwz r0, 4(r26) -/* 80333B34 00330A94 80 BA 00 08 */ lwz r5, 8(r26) -/* 80333B38 00330A98 7C 00 28 00 */ cmpw r0, r5 -/* 80333B3C 00330A9C 41 80 00 1C */ blt lbl_80333B58 -/* 80333B40 00330AA0 2C 05 00 00 */ cmpwi r5, 0 -/* 80333B44 00330AA4 7F 43 D3 78 */ mr r3, r26 -/* 80333B48 00330AA8 38 80 00 04 */ li r4, 4 -/* 80333B4C 00330AAC 41 82 00 08 */ beq lbl_80333B54 -/* 80333B50 00330AB0 54 A4 08 3C */ slwi r4, r5, 1 -lbl_80333B54: -/* 80333B54 00330AB4 48 00 01 71 */ bl sub_80333cc4 -lbl_80333B58: -/* 80333B58 00330AB8 80 1A 00 04 */ lwz r0, 4(r26) -/* 80333B5C 00330ABC 80 7A 00 0C */ lwz r3, 0xc(r26) -/* 80333B60 00330AC0 1C 00 00 1C */ mulli r0, r0, 0x1c -/* 80333B64 00330AC4 7C 63 02 15 */ add. r3, r3, r0 -/* 80333B68 00330AC8 41 82 00 48 */ beq lbl_80333BB0 -/* 80333B6C 00330ACC 80 01 00 0C */ lwz r0, 0xc(r1) -/* 80333B70 00330AD0 90 03 00 00 */ stw r0, 0(r3) -/* 80333B74 00330AD4 80 01 00 10 */ lwz r0, 0x10(r1) -/* 80333B78 00330AD8 90 03 00 04 */ stw r0, 4(r3) -/* 80333B7C 00330ADC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80333B80 00330AE0 90 03 00 08 */ stw r0, 8(r3) -/* 80333B84 00330AE4 80 01 00 18 */ lwz r0, 0x18(r1) -/* 80333B88 00330AE8 90 03 00 0C */ stw r0, 0xc(r3) -/* 80333B8C 00330AEC 88 01 00 24 */ lbz r0, 0x24(r1) -/* 80333B90 00330AF0 98 03 00 18 */ stb r0, 0x18(r3) -/* 80333B94 00330AF4 88 01 00 24 */ lbz r0, 0x24(r1) -/* 80333B98 00330AF8 28 00 00 00 */ cmplwi r0, 0 -/* 80333B9C 00330AFC 41 82 00 14 */ beq lbl_80333BB0 -/* 80333BA0 00330B00 34 63 00 10 */ addic. r3, r3, 0x10 -/* 80333BA4 00330B04 41 82 00 0C */ beq lbl_80333BB0 -/* 80333BA8 00330B08 7F A4 EB 78 */ mr r4, r29 -/* 80333BAC 00330B0C 48 00 D2 FD */ bl __ct__6CTokenFRC6CToken -lbl_80333BB0: -/* 80333BB0 00330B10 80 7A 00 04 */ lwz r3, 4(r26) -/* 80333BB4 00330B14 38 03 00 01 */ addi r0, r3, 1 -/* 80333BB8 00330B18 90 1A 00 04 */ stw r0, 4(r26) -/* 80333BBC 00330B1C 88 01 00 24 */ lbz r0, 0x24(r1) -/* 80333BC0 00330B20 28 00 00 00 */ cmplwi r0, 0 -/* 80333BC4 00330B24 41 82 00 0C */ beq lbl_80333BD0 -/* 80333BC8 00330B28 7F A3 EB 78 */ mr r3, r29 -/* 80333BCC 00330B2C 48 00 D1 75 */ bl Unlock__6CTokenFv -lbl_80333BD0: -/* 80333BD0 00330B30 28 1D 00 00 */ cmplwi r29, 0 -/* 80333BD4 00330B34 41 82 00 24 */ beq lbl_80333BF8 -/* 80333BD8 00330B38 88 01 00 24 */ lbz r0, 0x24(r1) -/* 80333BDC 00330B3C 28 00 00 00 */ cmplwi r0, 0 -/* 80333BE0 00330B40 41 82 00 10 */ beq lbl_80333BF0 -/* 80333BE4 00330B44 7F A3 EB 78 */ mr r3, r29 -/* 80333BE8 00330B48 38 80 FF FF */ li r4, -1 -/* 80333BEC 00330B4C 48 00 D2 55 */ bl __dt__6CTokenFv -lbl_80333BF0: -/* 80333BF0 00330B50 38 00 00 00 */ li r0, 0 -/* 80333BF4 00330B54 98 01 00 24 */ stb r0, 0x24(r1) -lbl_80333BF8: -/* 80333BF8 00330B58 3B 9C 00 01 */ addi r28, r28, 1 -lbl_80333BFC: -/* 80333BFC 00330B5C 7C 1C F0 00 */ cmpw r28, r30 -/* 80333C00 00330B60 41 80 FF 18 */ blt lbl_80333B18 -/* 80333C04 00330B64 7F 43 D3 78 */ mr r3, r26 -/* 80333C08 00330B68 BB 41 00 28 */ lmw r26, 0x28(r1) -/* 80333C0C 00330B6C 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80333C10 00330B70 7C 08 03 A6 */ mtlr r0 -/* 80333C14 00330B74 38 21 00 40 */ addi r1, r1, 0x40 -/* 80333C18 00330B78 4E 80 00 20 */ blr - -.global sub_80333c1c -sub_80333c1c: -/* 80333C1C 00330B7C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80333C20 00330B80 7C 08 02 A6 */ mflr r0 -/* 80333C24 00330B84 7C 85 23 78 */ mr r5, r4 -/* 80333C28 00330B88 90 01 00 24 */ stw r0, 0x24(r1) -/* 80333C2C 00330B8C 38 81 00 08 */ addi r4, r1, 8 -/* 80333C30 00330B90 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80333C34 00330B94 7C 7F 1B 78 */ mr r31, r3 -/* 80333C38 00330B98 88 0D A9 14 */ lbz r0, lbl_805A94D4@sda21(r13) -/* 80333C3C 00330B9C 98 01 00 08 */ stb r0, 8(r1) -/* 80333C40 00330BA0 48 00 00 19 */ bl sub_80333c58 -/* 80333C44 00330BA4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80333C48 00330BA8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80333C4C 00330BAC 7C 08 03 A6 */ mtlr r0 -/* 80333C50 00330BB0 38 21 00 20 */ addi r1, r1, 0x20 -/* 80333C54 00330BB4 4E 80 00 20 */ blr - -.global sub_80333c58 -sub_80333c58: -/* 80333C58 00330BB8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80333C5C 00330BBC 7C 08 02 A6 */ mflr r0 -/* 80333C60 00330BC0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80333C64 00330BC4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80333C68 00330BC8 7C BF 2B 78 */ mr r31, r5 -/* 80333C6C 00330BCC 93 C1 00 08 */ stw r30, 8(r1) -/* 80333C70 00330BD0 7C 7E 1B 78 */ mr r30, r3 -/* 80333C74 00330BD4 7F E3 FB 78 */ mr r3, r31 -/* 80333C78 00330BD8 48 00 B0 0D */ bl ReadLong__12CInputStreamFv -/* 80333C7C 00330BDC 90 7E 00 00 */ stw r3, 0(r30) -/* 80333C80 00330BE0 7F E3 FB 78 */ mr r3, r31 -/* 80333C84 00330BE4 48 00 B0 01 */ bl ReadLong__12CInputStreamFv -/* 80333C88 00330BE8 90 7E 00 04 */ stw r3, 4(r30) -/* 80333C8C 00330BEC 7F E3 FB 78 */ mr r3, r31 -/* 80333C90 00330BF0 48 00 AF F5 */ bl ReadLong__12CInputStreamFv -/* 80333C94 00330BF4 90 7E 00 08 */ stw r3, 8(r30) -/* 80333C98 00330BF8 7F E3 FB 78 */ mr r3, r31 -/* 80333C9C 00330BFC 48 00 AF E9 */ bl ReadLong__12CInputStreamFv -/* 80333CA0 00330C00 90 7E 00 0C */ stw r3, 0xc(r30) -/* 80333CA4 00330C04 38 00 00 00 */ li r0, 0 -/* 80333CA8 00330C08 98 1E 00 18 */ stb r0, 0x18(r30) -/* 80333CAC 00330C0C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80333CB0 00330C10 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80333CB4 00330C14 83 C1 00 08 */ lwz r30, 8(r1) -/* 80333CB8 00330C18 7C 08 03 A6 */ mtlr r0 -/* 80333CBC 00330C1C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80333CC0 00330C20 4E 80 00 20 */ blr - -.global sub_80333cc4 -sub_80333cc4: -/* 80333CC4 00330C24 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80333CC8 00330C28 7C 08 02 A6 */ mflr r0 -/* 80333CCC 00330C2C 90 01 00 34 */ stw r0, 0x34(r1) -/* 80333CD0 00330C30 BF 41 00 18 */ stmw r26, 0x18(r1) -/* 80333CD4 00330C34 7C 9E 23 78 */ mr r30, r4 -/* 80333CD8 00330C38 7C 7D 1B 78 */ mr r29, r3 -/* 80333CDC 00330C3C 80 03 00 08 */ lwz r0, 8(r3) -/* 80333CE0 00330C40 7C 1E 00 00 */ cmpw r30, r0 -/* 80333CE4 00330C44 40 81 01 2C */ ble lbl_80333E10 -/* 80333CE8 00330C48 1C 7E 00 1C */ mulli r3, r30, 0x1c -/* 80333CEC 00330C4C 2C 03 00 00 */ cmpwi r3, 0 -/* 80333CF0 00330C50 40 82 00 0C */ bne lbl_80333CFC -/* 80333CF4 00330C54 3B E0 00 00 */ li r31, 0 -/* 80333CF8 00330C58 48 00 00 18 */ b lbl_80333D10 -lbl_80333CFC: -/* 80333CFC 00330C5C 3C 80 80 3D */ lis r4, lbl_803D7978@ha -/* 80333D00 00330C60 38 A0 00 00 */ li r5, 0 -/* 80333D04 00330C64 38 84 79 78 */ addi r4, r4, lbl_803D7978@l -/* 80333D08 00330C68 4B FE 1B 11 */ bl __nwa__FUlPCcPCc -/* 80333D0C 00330C6C 7C 7F 1B 78 */ mr r31, r3 -lbl_80333D10: -/* 80333D10 00330C70 80 1D 00 04 */ lwz r0, 4(r29) -/* 80333D14 00330C74 7F FB FB 78 */ mr r27, r31 -/* 80333D18 00330C78 83 5D 00 0C */ lwz r26, 0xc(r29) -/* 80333D1C 00330C7C 1C 00 00 1C */ mulli r0, r0, 0x1c -/* 80333D20 00330C80 93 41 00 10 */ stw r26, 0x10(r1) -/* 80333D24 00330C84 7F 9A 02 14 */ add r28, r26, r0 -/* 80333D28 00330C88 93 41 00 14 */ stw r26, 0x14(r1) -/* 80333D2C 00330C8C 93 81 00 08 */ stw r28, 8(r1) -/* 80333D30 00330C90 93 81 00 0C */ stw r28, 0xc(r1) -/* 80333D34 00330C94 48 00 00 58 */ b lbl_80333D8C -lbl_80333D38: -/* 80333D38 00330C98 28 1B 00 00 */ cmplwi r27, 0 -/* 80333D3C 00330C9C 41 82 00 48 */ beq lbl_80333D84 -/* 80333D40 00330CA0 80 1A 00 00 */ lwz r0, 0(r26) -/* 80333D44 00330CA4 90 1B 00 00 */ stw r0, 0(r27) -/* 80333D48 00330CA8 80 1A 00 04 */ lwz r0, 4(r26) -/* 80333D4C 00330CAC 90 1B 00 04 */ stw r0, 4(r27) -/* 80333D50 00330CB0 80 1A 00 08 */ lwz r0, 8(r26) -/* 80333D54 00330CB4 90 1B 00 08 */ stw r0, 8(r27) -/* 80333D58 00330CB8 80 1A 00 0C */ lwz r0, 0xc(r26) -/* 80333D5C 00330CBC 90 1B 00 0C */ stw r0, 0xc(r27) -/* 80333D60 00330CC0 88 1A 00 18 */ lbz r0, 0x18(r26) -/* 80333D64 00330CC4 98 1B 00 18 */ stb r0, 0x18(r27) -/* 80333D68 00330CC8 88 1A 00 18 */ lbz r0, 0x18(r26) -/* 80333D6C 00330CCC 28 00 00 00 */ cmplwi r0, 0 -/* 80333D70 00330CD0 41 82 00 14 */ beq lbl_80333D84 -/* 80333D74 00330CD4 34 7B 00 10 */ addic. r3, r27, 0x10 -/* 80333D78 00330CD8 38 9A 00 10 */ addi r4, r26, 0x10 -/* 80333D7C 00330CDC 41 82 00 08 */ beq lbl_80333D84 -/* 80333D80 00330CE0 48 00 D1 29 */ bl __ct__6CTokenFRC6CToken -lbl_80333D84: -/* 80333D84 00330CE4 3B 7B 00 1C */ addi r27, r27, 0x1c -/* 80333D88 00330CE8 3B 5A 00 1C */ addi r26, r26, 0x1c -lbl_80333D8C: -/* 80333D8C 00330CEC 7C 1A E0 40 */ cmplw r26, r28 -/* 80333D90 00330CF0 40 82 FF A8 */ bne lbl_80333D38 -/* 80333D94 00330CF4 80 1D 00 04 */ lwz r0, 4(r29) -/* 80333D98 00330CF8 3B 80 00 00 */ li r28, 0 -/* 80333D9C 00330CFC 83 5D 00 0C */ lwz r26, 0xc(r29) -/* 80333DA0 00330D00 1C 00 00 1C */ mulli r0, r0, 0x1c -/* 80333DA4 00330D04 7F 7A 02 14 */ add r27, r26, r0 -/* 80333DA8 00330D08 48 00 00 48 */ b lbl_80333DF0 -lbl_80333DAC: -/* 80333DAC 00330D0C 28 1A 00 00 */ cmplwi r26, 0 -/* 80333DB0 00330D10 41 82 00 3C */ beq lbl_80333DEC -/* 80333DB4 00330D14 88 1A 00 18 */ lbz r0, 0x18(r26) -/* 80333DB8 00330D18 28 00 00 00 */ cmplwi r0, 0 -/* 80333DBC 00330D1C 41 82 00 0C */ beq lbl_80333DC8 -/* 80333DC0 00330D20 38 7A 00 10 */ addi r3, r26, 0x10 -/* 80333DC4 00330D24 48 00 CF 7D */ bl Unlock__6CTokenFv -lbl_80333DC8: -/* 80333DC8 00330D28 34 1A 00 10 */ addic. r0, r26, 0x10 -/* 80333DCC 00330D2C 41 82 00 20 */ beq lbl_80333DEC -/* 80333DD0 00330D30 88 1A 00 18 */ lbz r0, 0x18(r26) -/* 80333DD4 00330D34 28 00 00 00 */ cmplwi r0, 0 -/* 80333DD8 00330D38 41 82 00 10 */ beq lbl_80333DE8 -/* 80333DDC 00330D3C 38 7A 00 10 */ addi r3, r26, 0x10 -/* 80333DE0 00330D40 38 80 FF FF */ li r4, -1 -/* 80333DE4 00330D44 48 00 D0 5D */ bl __dt__6CTokenFv -lbl_80333DE8: -/* 80333DE8 00330D48 9B 9A 00 18 */ stb r28, 0x18(r26) -lbl_80333DEC: -/* 80333DEC 00330D4C 3B 5A 00 1C */ addi r26, r26, 0x1c -lbl_80333DF0: -/* 80333DF0 00330D50 7C 1A D8 40 */ cmplw r26, r27 -/* 80333DF4 00330D54 40 82 FF B8 */ bne lbl_80333DAC -/* 80333DF8 00330D58 80 7D 00 0C */ lwz r3, 0xc(r29) -/* 80333DFC 00330D5C 28 03 00 00 */ cmplwi r3, 0 -/* 80333E00 00330D60 41 82 00 08 */ beq lbl_80333E08 -/* 80333E04 00330D64 4B FE 1B 2D */ bl Free__7CMemoryFPCv -lbl_80333E08: -/* 80333E08 00330D68 93 FD 00 0C */ stw r31, 0xc(r29) -/* 80333E0C 00330D6C 93 DD 00 08 */ stw r30, 8(r29) -lbl_80333E10: -/* 80333E10 00330D70 BB 41 00 18 */ lmw r26, 0x18(r1) -/* 80333E14 00330D74 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80333E18 00330D78 7C 08 03 A6 */ mtlr r0 -/* 80333E1C 00330D7C 38 21 00 30 */ addi r1, r1, 0x30 -/* 80333E20 00330D80 4E 80 00 20 */ blr - -.global sub_80333e24 -sub_80333e24: -/* 80333E24 00330D84 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80333E28 00330D88 7C 08 02 A6 */ mflr r0 -/* 80333E2C 00330D8C 90 01 00 34 */ stw r0, 0x34(r1) -/* 80333E30 00330D90 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80333E34 00330D94 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80333E38 00330D98 7C 9E 23 78 */ mr r30, r4 -/* 80333E3C 00330D9C 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80333E40 00330DA0 7C 7D 1B 78 */ mr r29, r3 -/* 80333E44 00330DA4 80 03 00 08 */ lwz r0, 8(r3) -/* 80333E48 00330DA8 7C 1E 00 00 */ cmpw r30, r0 -/* 80333E4C 00330DAC 40 81 00 8C */ ble lbl_80333ED8 -/* 80333E50 00330DB0 1C 7E 00 14 */ mulli r3, r30, 0x14 -/* 80333E54 00330DB4 2C 03 00 00 */ cmpwi r3, 0 -/* 80333E58 00330DB8 40 82 00 0C */ bne lbl_80333E64 -/* 80333E5C 00330DBC 3B E0 00 00 */ li r31, 0 -/* 80333E60 00330DC0 48 00 00 18 */ b lbl_80333E78 -lbl_80333E64: -/* 80333E64 00330DC4 3C 80 80 3D */ lis r4, lbl_803D7978@ha -/* 80333E68 00330DC8 38 A0 00 00 */ li r5, 0 -/* 80333E6C 00330DCC 38 84 79 78 */ addi r4, r4, lbl_803D7978@l -/* 80333E70 00330DD0 4B FE 19 A9 */ bl __nwa__FUlPCcPCc -/* 80333E74 00330DD4 7C 7F 1B 78 */ mr r31, r3 -lbl_80333E78: -/* 80333E78 00330DD8 80 1D 00 04 */ lwz r0, 4(r29) -/* 80333E7C 00330DDC 7F E5 FB 78 */ mr r5, r31 -/* 80333E80 00330DE0 80 DD 00 0C */ lwz r6, 0xc(r29) -/* 80333E84 00330DE4 38 61 00 14 */ addi r3, r1, 0x14 -/* 80333E88 00330DE8 1C 00 00 14 */ mulli r0, r0, 0x14 -/* 80333E8C 00330DEC 38 81 00 0C */ addi r4, r1, 0xc -/* 80333E90 00330DF0 7C C6 02 14 */ add r6, r6, r0 -/* 80333E94 00330DF4 90 C1 00 0C */ stw r6, 0xc(r1) -/* 80333E98 00330DF8 80 1D 00 0C */ lwz r0, 0xc(r29) -/* 80333E9C 00330DFC 90 C1 00 08 */ stw r6, 8(r1) -/* 80333EA0 00330E00 90 01 00 10 */ stw r0, 0x10(r1) -/* 80333EA4 00330E04 90 01 00 14 */ stw r0, 0x14(r1) -/* 80333EA8 00330E08 48 00 00 99 */ bl sub_80333f40 -/* 80333EAC 00330E0C 80 1D 00 04 */ lwz r0, 4(r29) -/* 80333EB0 00330E10 80 7D 00 0C */ lwz r3, 0xc(r29) -/* 80333EB4 00330E14 1C 00 00 14 */ mulli r0, r0, 0x14 -/* 80333EB8 00330E18 7C 83 02 14 */ add r4, r3, r0 -/* 80333EBC 00330E1C 48 00 00 39 */ bl sub_80333ef4 -/* 80333EC0 00330E20 80 7D 00 0C */ lwz r3, 0xc(r29) -/* 80333EC4 00330E24 28 03 00 00 */ cmplwi r3, 0 -/* 80333EC8 00330E28 41 82 00 08 */ beq lbl_80333ED0 -/* 80333ECC 00330E2C 4B FE 1A 65 */ bl Free__7CMemoryFPCv -lbl_80333ED0: -/* 80333ED0 00330E30 93 FD 00 0C */ stw r31, 0xc(r29) -/* 80333ED4 00330E34 93 DD 00 08 */ stw r30, 8(r29) -lbl_80333ED8: -/* 80333ED8 00330E38 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80333EDC 00330E3C 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80333EE0 00330E40 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80333EE4 00330E44 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80333EE8 00330E48 7C 08 03 A6 */ mtlr r0 -/* 80333EEC 00330E4C 38 21 00 30 */ addi r1, r1, 0x30 -/* 80333EF0 00330E50 4E 80 00 20 */ blr - -.global sub_80333ef4 -sub_80333ef4: -/* 80333EF4 00330E54 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80333EF8 00330E58 7C 08 02 A6 */ mflr r0 -/* 80333EFC 00330E5C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80333F00 00330E60 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80333F04 00330E64 7C 7F 1B 78 */ mr r31, r3 -/* 80333F08 00330E68 93 C1 00 08 */ stw r30, 8(r1) -/* 80333F0C 00330E6C 7C 9E 23 78 */ mr r30, r4 -/* 80333F10 00330E70 48 00 00 10 */ b lbl_80333F20 -lbl_80333F14: -/* 80333F14 00330E74 7F E3 FB 78 */ mr r3, r31 -/* 80333F18 00330E78 4B FF F8 D1 */ bl sub_803337e8 -/* 80333F1C 00330E7C 3B FF 00 14 */ addi r31, r31, 0x14 -lbl_80333F20: -/* 80333F20 00330E80 7C 1F F0 40 */ cmplw r31, r30 -/* 80333F24 00330E84 40 82 FF F0 */ bne lbl_80333F14 -/* 80333F28 00330E88 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80333F2C 00330E8C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80333F30 00330E90 83 C1 00 08 */ lwz r30, 8(r1) -/* 80333F34 00330E94 7C 08 03 A6 */ mtlr r0 -/* 80333F38 00330E98 38 21 00 10 */ addi r1, r1, 0x10 -/* 80333F3C 00330E9C 4E 80 00 20 */ blr - -.global sub_80333f40 -sub_80333f40: -/* 80333F40 00330EA0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80333F44 00330EA4 7C 08 02 A6 */ mflr r0 -/* 80333F48 00330EA8 90 01 00 24 */ stw r0, 0x24(r1) -/* 80333F4C 00330EAC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80333F50 00330EB0 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80333F54 00330EB4 7C BE 2B 78 */ mr r30, r5 -/* 80333F58 00330EB8 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80333F5C 00330EBC 7C 9D 23 78 */ mr r29, r4 -/* 80333F60 00330EC0 83 E3 00 00 */ lwz r31, 0(r3) -/* 80333F64 00330EC4 48 00 00 18 */ b lbl_80333F7C -lbl_80333F68: -/* 80333F68 00330EC8 7F C3 F3 78 */ mr r3, r30 -/* 80333F6C 00330ECC 7F E4 FB 78 */ mr r4, r31 -/* 80333F70 00330ED0 4B FF F9 B9 */ bl sub_80333928 -/* 80333F74 00330ED4 3B DE 00 14 */ addi r30, r30, 0x14 -/* 80333F78 00330ED8 3B FF 00 14 */ addi r31, r31, 0x14 -lbl_80333F7C: -/* 80333F7C 00330EDC 80 1D 00 00 */ lwz r0, 0(r29) -/* 80333F80 00330EE0 7C 1F 00 40 */ cmplw r31, r0 -/* 80333F84 00330EE4 40 82 FF E4 */ bne lbl_80333F68 -/* 80333F88 00330EE8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80333F8C 00330EEC 7F C3 F3 78 */ mr r3, r30 -/* 80333F90 00330EF0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80333F94 00330EF4 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80333F98 00330EF8 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80333F9C 00330EFC 7C 08 03 A6 */ mtlr r0 -/* 80333FA0 00330F00 38 21 00 20 */ addi r1, r1, 0x20 -/* 80333FA4 00330F04 4E 80 00 20 */ blr - -.global HasConstantTexture__15CUVEAnimTextureFv -HasConstantTexture__15CUVEAnimTextureFv: -/* 80333FA8 00330F08 38 60 00 01 */ li r3, 1 -/* 80333FAC 00330F0C 4E 80 00 20 */ blr - -.global HasConstantUV__15CUVEAnimTextureFv -HasConstantUV__15CUVEAnimTextureFv: -/* 80333FB0 00330F10 38 60 00 00 */ li r3, 0 -/* 80333FB4 00330F14 4E 80 00 20 */ blr - -.global GetValueTexture__15CUVEAnimTextureCFi -GetValueTexture__15CUVEAnimTextureCFi: -/* 80333FB8 00330F18 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80333FBC 00330F1C 7C 08 02 A6 */ mflr r0 -/* 80333FC0 00330F20 90 01 00 14 */ stw r0, 0x14(r1) -/* 80333FC4 00330F24 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80333FC8 00330F28 7C 9F 23 78 */ mr r31, r4 -/* 80333FCC 00330F2C 38 9F 00 04 */ addi r4, r31, 4 -/* 80333FD0 00330F30 93 C1 00 08 */ stw r30, 8(r1) -/* 80333FD4 00330F34 7C 7E 1B 78 */ mr r30, r3 -/* 80333FD8 00330F38 48 00 CE D1 */ bl __ct__6CTokenFRC6CToken -/* 80333FDC 00330F3C 80 1F 00 0C */ lwz r0, 0xc(r31) -/* 80333FE0 00330F40 7F C3 F3 78 */ mr r3, r30 -/* 80333FE4 00330F44 90 1E 00 08 */ stw r0, 8(r30) -/* 80333FE8 00330F48 48 00 CD 9D */ bl Lock__6CTokenFv -/* 80333FEC 00330F4C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80333FF0 00330F50 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80333FF4 00330F54 83 C1 00 08 */ lwz r30, 8(r1) -/* 80333FF8 00330F58 7C 08 03 A6 */ mtlr r0 -/* 80333FFC 00330F5C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80334000 00330F60 4E 80 00 20 */ blr - -.global GetValueUV__15CUVEAnimTextureCFiR13SUVElementSet -GetValueUV__15CUVEAnimTextureCFiR13SUVElementSet: -/* 80334004 00330F64 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80334008 00330F68 7C 08 02 A6 */ mflr r0 -/* 8033400C 00330F6C 90 01 00 44 */ stw r0, 0x44(r1) -/* 80334010 00330F70 38 00 00 01 */ li r0, 1 -/* 80334014 00330F74 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 80334018 00330F78 7C BF 2B 78 */ mr r31, r5 -/* 8033401C 00330F7C 38 A1 00 0C */ addi r5, r1, 0xc -/* 80334020 00330F80 93 C1 00 38 */ stw r30, 0x38(r1) -/* 80334024 00330F84 7C 7E 1B 78 */ mr r30, r3 -/* 80334028 00330F88 93 A1 00 34 */ stw r29, 0x34(r1) -/* 8033402C 00330F8C 7C 9D 23 78 */ mr r29, r4 -/* 80334030 00330F90 90 01 00 0C */ stw r0, 0xc(r1) -/* 80334034 00330F94 80 63 00 28 */ lwz r3, 0x28(r3) -/* 80334038 00330F98 81 83 00 00 */ lwz r12, 0(r3) -/* 8033403C 00330F9C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80334040 00330FA0 7D 89 03 A6 */ mtctr r12 -/* 80334044 00330FA4 4E 80 04 21 */ bctrl -/* 80334048 00330FA8 80 01 00 0C */ lwz r0, 0xc(r1) -/* 8033404C 00330FAC 3C A0 43 30 */ lis r5, 0x4330 -/* 80334050 00330FB0 80 FE 00 20 */ lwz r7, 0x20(r30) -/* 80334054 00330FB4 6F A6 80 00 */ xoris r6, r29, 0x8000 -/* 80334058 00330FB8 6C 04 80 00 */ xoris r4, r0, 0x8000 -/* 8033405C 00330FBC 88 1E 00 24 */ lbz r0, 0x24(r30) -/* 80334060 00330FC0 6C E3 80 00 */ xoris r3, r7, 0x8000 -/* 80334064 00330FC4 90 81 00 1C */ stw r4, 0x1c(r1) -/* 80334068 00330FC8 C8 42 CB 40 */ lfd f2, lbl_805AE860@sda21(r2) -/* 8033406C 00330FCC 28 00 00 00 */ cmplwi r0, 0 -/* 80334070 00330FD0 90 A1 00 18 */ stw r5, 0x18(r1) -/* 80334074 00330FD4 C8 01 00 18 */ lfd f0, 0x18(r1) -/* 80334078 00330FD8 90 61 00 24 */ stw r3, 0x24(r1) -/* 8033407C 00330FDC EC 20 10 28 */ fsubs f1, f0, f2 -/* 80334080 00330FE0 90 A1 00 20 */ stw r5, 0x20(r1) -/* 80334084 00330FE4 C8 01 00 20 */ lfd f0, 0x20(r1) -/* 80334088 00330FE8 90 C1 00 14 */ stw r6, 0x14(r1) -/* 8033408C 00330FEC EC 00 10 28 */ fsubs f0, f0, f2 -/* 80334090 00330FF0 90 A1 00 10 */ stw r5, 0x10(r1) -/* 80334094 00330FF4 EC 01 00 24 */ fdivs f0, f1, f0 -/* 80334098 00330FF8 C8 21 00 10 */ lfd f1, 0x10(r1) -/* 8033409C 00330FFC EC 21 10 28 */ fsubs f1, f1, f2 -/* 803340A0 00331000 EC 01 00 24 */ fdivs f0, f1, f0 -/* 803340A4 00331004 41 82 00 48 */ beq lbl_803340EC -/* 803340A8 00331008 FC 00 00 1E */ fctiwz f0, f0 -/* 803340AC 0033100C 80 0D 9D 30 */ lwz r0, lbl_805A88F0@sda21(r13) -/* 803340B0 00331010 38 61 00 08 */ addi r3, r1, 8 -/* 803340B4 00331014 D8 01 00 20 */ stfd f0, 0x20(r1) -/* 803340B8 00331018 80 81 00 24 */ lwz r4, 0x24(r1) -/* 803340BC 0033101C 7C 04 00 00 */ cmpw r4, r0 -/* 803340C0 00331020 90 81 00 08 */ stw r4, 8(r1) -/* 803340C4 00331024 40 80 00 08 */ bge lbl_803340CC -/* 803340C8 00331028 38 6D 9D 30 */ addi r3, r13, lbl_805A88F0@sda21 -lbl_803340CC: -/* 803340CC 0033102C 80 83 00 00 */ lwz r4, 0(r3) -/* 803340D0 00331030 80 7E 00 20 */ lwz r3, 0x20(r30) -/* 803340D4 00331034 7C 04 18 00 */ cmpw r4, r3 -/* 803340D8 00331038 41 80 00 30 */ blt lbl_80334108 -/* 803340DC 0033103C 7C 04 1B D6 */ divw r0, r4, r3 -/* 803340E0 00331040 7C 00 19 D6 */ mullw r0, r0, r3 -/* 803340E4 00331044 7C 80 20 50 */ subf r4, r0, r4 -/* 803340E8 00331048 48 00 00 20 */ b lbl_80334108 -lbl_803340EC: -/* 803340EC 0033104C FC 00 00 1E */ fctiwz f0, f0 -/* 803340F0 00331050 D8 01 00 20 */ stfd f0, 0x20(r1) -/* 803340F4 00331054 80 01 00 24 */ lwz r0, 0x24(r1) -/* 803340F8 00331058 7C 00 38 00 */ cmpw r0, r7 -/* 803340FC 0033105C 7C 04 03 78 */ mr r4, r0 -/* 80334100 00331060 41 80 00 08 */ blt lbl_80334108 -/* 80334104 00331064 38 87 FF FF */ addi r4, r7, -1 -lbl_80334108: -/* 80334108 00331068 80 7E 00 38 */ lwz r3, 0x38(r30) -/* 8033410C 0033106C 54 80 20 36 */ slwi r0, r4, 4 -/* 80334110 00331070 7C 63 02 14 */ add r3, r3, r0 -/* 80334114 00331074 C0 03 00 00 */ lfs f0, 0(r3) -/* 80334118 00331078 D0 1F 00 00 */ stfs f0, 0(r31) -/* 8033411C 0033107C C0 03 00 04 */ lfs f0, 4(r3) -/* 80334120 00331080 D0 1F 00 04 */ stfs f0, 4(r31) -/* 80334124 00331084 C0 03 00 08 */ lfs f0, 8(r3) -/* 80334128 00331088 D0 1F 00 08 */ stfs f0, 8(r31) -/* 8033412C 0033108C C0 03 00 0C */ lfs f0, 0xc(r3) -/* 80334130 00331090 D0 1F 00 0C */ stfs f0, 0xc(r31) -/* 80334134 00331094 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 80334138 00331098 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 8033413C 0033109C 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 80334140 003310A0 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80334144 003310A4 7C 08 03 A6 */ mtlr r0 -/* 80334148 003310A8 38 21 00 40 */ addi r1, r1, 0x40 -/* 8033414C 003310AC 4E 80 00 20 */ blr - -.global __dt__15CUVEAnimTextureFv -__dt__15CUVEAnimTextureFv: -/* 80334150 003310B0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80334154 003310B4 7C 08 02 A6 */ mflr r0 -/* 80334158 003310B8 90 01 00 24 */ stw r0, 0x24(r1) -/* 8033415C 003310BC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80334160 003310C0 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80334164 003310C4 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80334168 003310C8 7C 9E 23 78 */ mr r30, r4 -/* 8033416C 003310CC 41 82 00 CC */ beq lbl_80334238 -/* 80334170 003310D0 3C 60 80 3F */ lis r3, lbl_803EE118@ha -/* 80334174 003310D4 38 03 E1 18 */ addi r0, r3, lbl_803EE118@l -/* 80334178 003310D8 90 1F 00 00 */ stw r0, 0(r31) -/* 8033417C 003310DC 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 80334180 003310E0 28 03 00 00 */ cmplwi r3, 0 -/* 80334184 003310E4 41 82 00 18 */ beq lbl_8033419C -/* 80334188 003310E8 81 83 00 00 */ lwz r12, 0(r3) -/* 8033418C 003310EC 38 80 00 01 */ li r4, 1 -/* 80334190 003310F0 81 8C 00 08 */ lwz r12, 8(r12) -/* 80334194 003310F4 7D 89 03 A6 */ mtctr r12 -/* 80334198 003310F8 4E 80 04 21 */ bctrl -lbl_8033419C: -/* 8033419C 003310FC 34 1F 00 2C */ addic. r0, r31, 0x2c -/* 803341A0 00331100 41 82 00 44 */ beq lbl_803341E4 -/* 803341A4 00331104 80 1F 00 30 */ lwz r0, 0x30(r31) -/* 803341A8 00331108 80 7F 00 38 */ lwz r3, 0x38(r31) -/* 803341AC 0033110C 54 00 20 36 */ slwi r0, r0, 4 -/* 803341B0 00331110 7C 03 02 14 */ add r0, r3, r0 -/* 803341B4 00331114 90 61 00 0C */ stw r3, 0xc(r1) -/* 803341B8 00331118 7C 64 1B 78 */ mr r4, r3 -/* 803341BC 0033111C 90 01 00 14 */ stw r0, 0x14(r1) -/* 803341C0 00331120 90 01 00 10 */ stw r0, 0x10(r1) -/* 803341C4 00331124 90 61 00 08 */ stw r3, 8(r1) -/* 803341C8 00331128 48 00 00 08 */ b lbl_803341D0 -lbl_803341CC: -/* 803341CC 0033112C 38 84 00 10 */ addi r4, r4, 0x10 -lbl_803341D0: -/* 803341D0 00331130 7C 04 00 40 */ cmplw r4, r0 -/* 803341D4 00331134 40 82 FF F8 */ bne lbl_803341CC -/* 803341D8 00331138 28 03 00 00 */ cmplwi r3, 0 -/* 803341DC 0033113C 41 82 00 08 */ beq lbl_803341E4 -/* 803341E0 00331140 4B FE 17 51 */ bl Free__7CMemoryFPCv -lbl_803341E4: -/* 803341E4 00331144 34 1F 00 04 */ addic. r0, r31, 4 -/* 803341E8 00331148 41 82 00 18 */ beq lbl_80334200 -/* 803341EC 0033114C 34 1F 00 04 */ addic. r0, r31, 4 -/* 803341F0 00331150 41 82 00 10 */ beq lbl_80334200 -/* 803341F4 00331154 38 7F 00 04 */ addi r3, r31, 4 -/* 803341F8 00331158 38 80 00 00 */ li r4, 0 -/* 803341FC 0033115C 48 00 CC 45 */ bl __dt__6CTokenFv -lbl_80334200: -/* 80334200 00331160 28 1F 00 00 */ cmplwi r31, 0 -/* 80334204 00331164 41 82 00 20 */ beq lbl_80334224 -/* 80334208 00331168 3C 60 80 3F */ lis r3, lbl_803EC568@ha -/* 8033420C 0033116C 38 03 C5 68 */ addi r0, r3, lbl_803EC568@l -/* 80334210 00331170 90 1F 00 00 */ stw r0, 0(r31) -/* 80334214 00331174 41 82 00 10 */ beq lbl_80334224 -/* 80334218 00331178 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 8033421C 0033117C 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 80334220 00331180 90 1F 00 00 */ stw r0, 0(r31) -lbl_80334224: -/* 80334224 00331184 7F C0 07 35 */ extsh. r0, r30 -/* 80334228 00331188 40 81 00 10 */ ble lbl_80334238 -/* 8033422C 0033118C 7F E3 FB 78 */ mr r3, r31 -/* 80334230 00331190 38 80 00 3C */ li r4, 0x3c -/* 80334234 00331194 48 03 88 31 */ bl sub_8036ca64 -lbl_80334238: -/* 80334238 00331198 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8033423C 0033119C 7F E3 FB 78 */ mr r3, r31 -/* 80334240 003311A0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80334244 003311A4 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80334248 003311A8 7C 08 03 A6 */ mtlr r0 -/* 8033424C 003311AC 38 21 00 20 */ addi r1, r1, 0x20 -/* 80334250 003311B0 4E 80 00 20 */ blr - -.global "__ct__15CUVEAnimTextureF17TToken<8CTexture>P11CIntElementP11CIntElementP11CIntElementP11CIntElementP11CIntElementb" -"__ct__15CUVEAnimTextureF17TToken<8CTexture>P11CIntElementP11CIntElementP11CIntElementP11CIntElementP11CIntElementb": -/* 80334254 003311B4 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 80334258 003311B8 7C 08 02 A6 */ mflr r0 -/* 8033425C 003311BC 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 80334260 003311C0 DB E1 00 90 */ stfd f31, 0x90(r1) -/* 80334264 003311C4 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 -/* 80334268 003311C8 BF 01 00 70 */ stmw r24, 0x70(r1) -/* 8033426C 003311CC 7C 79 1B 78 */ mr r25, r3 -/* 80334270 003311D0 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 80334274 003311D4 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 80334278 003311D8 3D 60 80 3F */ lis r11, lbl_803EC568@ha -/* 8033427C 003311DC 90 19 00 00 */ stw r0, 0(r25) -/* 80334280 003311E0 38 0B C5 68 */ addi r0, r11, lbl_803EC568@l -/* 80334284 003311E4 3C 60 80 3F */ lis r3, lbl_803EE118@ha -/* 80334288 003311E8 3B 19 00 04 */ addi r24, r25, 4 -/* 8033428C 003311EC 90 19 00 00 */ stw r0, 0(r25) -/* 80334290 003311F0 38 03 E1 18 */ addi r0, r3, lbl_803EE118@l -/* 80334294 003311F4 7C BF 2B 78 */ mr r31, r5 -/* 80334298 003311F8 7C DE 33 78 */ mr r30, r6 -/* 8033429C 003311FC 90 19 00 00 */ stw r0, 0(r25) -/* 803342A0 00331200 7C FD 3B 78 */ mr r29, r7 -/* 803342A4 00331204 7D 1C 43 78 */ mr r28, r8 -/* 803342A8 00331208 7D 3B 4B 78 */ mr r27, r9 -/* 803342AC 0033120C 7D 5A 53 78 */ mr r26, r10 -/* 803342B0 00331210 7F 03 C3 78 */ mr r3, r24 -/* 803342B4 00331214 48 00 CB F5 */ bl __ct__6CTokenFRC6CToken -/* 803342B8 00331218 7F 03 C3 78 */ mr r3, r24 -/* 803342BC 0033121C 48 00 CB 51 */ bl GetObj__6CTokenFv -/* 803342C0 00331220 80 83 00 04 */ lwz r4, 4(r3) -/* 803342C4 00331224 38 00 00 00 */ li r0, 0 -/* 803342C8 00331228 7F E3 FB 78 */ mr r3, r31 -/* 803342CC 0033122C 38 A1 00 10 */ addi r5, r1, 0x10 -/* 803342D0 00331230 90 98 00 08 */ stw r4, 8(r24) -/* 803342D4 00331234 38 80 00 00 */ li r4, 0 -/* 803342D8 00331238 9B 59 00 24 */ stb r26, 0x24(r25) -/* 803342DC 0033123C 90 19 00 30 */ stw r0, 0x30(r25) -/* 803342E0 00331240 90 19 00 34 */ stw r0, 0x34(r25) -/* 803342E4 00331244 90 19 00 38 */ stw r0, 0x38(r25) -/* 803342E8 00331248 90 01 00 10 */ stw r0, 0x10(r1) -/* 803342EC 0033124C 81 9F 00 00 */ lwz r12, 0(r31) -/* 803342F0 00331250 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 803342F4 00331254 7D 89 03 A6 */ mtctr r12 -/* 803342F8 00331258 4E 80 04 21 */ bctrl -/* 803342FC 0033125C 80 01 00 10 */ lwz r0, 0x10(r1) -/* 80334300 00331260 28 1F 00 00 */ cmplwi r31, 0 -/* 80334304 00331264 90 19 00 10 */ stw r0, 0x10(r25) -/* 80334308 00331268 41 82 00 1C */ beq lbl_80334324 -/* 8033430C 0033126C 7F E3 FB 78 */ mr r3, r31 -/* 80334310 00331270 38 80 00 01 */ li r4, 1 -/* 80334314 00331274 81 9F 00 00 */ lwz r12, 0(r31) -/* 80334318 00331278 81 8C 00 08 */ lwz r12, 8(r12) -/* 8033431C 0033127C 7D 89 03 A6 */ mtctr r12 -/* 80334320 00331280 4E 80 04 21 */ bctrl -lbl_80334324: -/* 80334324 00331284 7F C3 F3 78 */ mr r3, r30 -/* 80334328 00331288 38 A1 00 10 */ addi r5, r1, 0x10 -/* 8033432C 0033128C 81 9E 00 00 */ lwz r12, 0(r30) -/* 80334330 00331290 38 80 00 00 */ li r4, 0 -/* 80334334 00331294 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80334338 00331298 7D 89 03 A6 */ mtctr r12 -/* 8033433C 0033129C 4E 80 04 21 */ bctrl -/* 80334340 003312A0 80 01 00 10 */ lwz r0, 0x10(r1) -/* 80334344 003312A4 28 1E 00 00 */ cmplwi r30, 0 -/* 80334348 003312A8 90 19 00 14 */ stw r0, 0x14(r25) -/* 8033434C 003312AC 41 82 00 1C */ beq lbl_80334368 -/* 80334350 003312B0 7F C3 F3 78 */ mr r3, r30 -/* 80334354 003312B4 38 80 00 01 */ li r4, 1 -/* 80334358 003312B8 81 9E 00 00 */ lwz r12, 0(r30) -/* 8033435C 003312BC 81 8C 00 08 */ lwz r12, 8(r12) -/* 80334360 003312C0 7D 89 03 A6 */ mtctr r12 -/* 80334364 003312C4 4E 80 04 21 */ bctrl -lbl_80334368: -/* 80334368 003312C8 7F A3 EB 78 */ mr r3, r29 -/* 8033436C 003312CC 38 A1 00 10 */ addi r5, r1, 0x10 -/* 80334370 003312D0 81 9D 00 00 */ lwz r12, 0(r29) -/* 80334374 003312D4 38 80 00 00 */ li r4, 0 -/* 80334378 003312D8 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8033437C 003312DC 7D 89 03 A6 */ mtctr r12 -/* 80334380 003312E0 4E 80 04 21 */ bctrl -/* 80334384 003312E4 80 01 00 10 */ lwz r0, 0x10(r1) -/* 80334388 003312E8 28 1D 00 00 */ cmplwi r29, 0 -/* 8033438C 003312EC 90 19 00 18 */ stw r0, 0x18(r25) -/* 80334390 003312F0 41 82 00 1C */ beq lbl_803343AC -/* 80334394 003312F4 7F A3 EB 78 */ mr r3, r29 -/* 80334398 003312F8 38 80 00 01 */ li r4, 1 -/* 8033439C 003312FC 81 9D 00 00 */ lwz r12, 0(r29) -/* 803343A0 00331300 81 8C 00 08 */ lwz r12, 8(r12) -/* 803343A4 00331304 7D 89 03 A6 */ mtctr r12 -/* 803343A8 00331308 4E 80 04 21 */ bctrl -lbl_803343AC: -/* 803343AC 0033130C 7F 83 E3 78 */ mr r3, r28 -/* 803343B0 00331310 38 A1 00 10 */ addi r5, r1, 0x10 -/* 803343B4 00331314 81 9C 00 00 */ lwz r12, 0(r28) -/* 803343B8 00331318 38 80 00 00 */ li r4, 0 -/* 803343BC 0033131C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 803343C0 00331320 7D 89 03 A6 */ mtctr r12 -/* 803343C4 00331324 4E 80 04 21 */ bctrl -/* 803343C8 00331328 80 01 00 10 */ lwz r0, 0x10(r1) -/* 803343CC 0033132C 28 1C 00 00 */ cmplwi r28, 0 -/* 803343D0 00331330 90 19 00 1C */ stw r0, 0x1c(r25) -/* 803343D4 00331334 41 82 00 1C */ beq lbl_803343F0 -/* 803343D8 00331338 7F 83 E3 78 */ mr r3, r28 -/* 803343DC 0033133C 38 80 00 01 */ li r4, 1 -/* 803343E0 00331340 81 9C 00 00 */ lwz r12, 0(r28) -/* 803343E4 00331344 81 8C 00 08 */ lwz r12, 8(r12) -/* 803343E8 00331348 7D 89 03 A6 */ mtctr r12 -/* 803343EC 0033134C 4E 80 04 21 */ bctrl -lbl_803343F0: -/* 803343F0 00331350 93 79 00 28 */ stw r27, 0x28(r25) -/* 803343F4 00331354 38 AD 9D 28 */ addi r5, r13, lbl_805A88E8@sda21 -/* 803343F8 00331358 80 99 00 0C */ lwz r4, 0xc(r25) -/* 803343FC 0033135C 80 79 00 18 */ lwz r3, 0x18(r25) -/* 80334400 00331360 AB 64 00 04 */ lha r27, 4(r4) -/* 80334404 00331364 80 0D 9D 28 */ lwz r0, lbl_805A88E8@sda21(r13) -/* 80334408 00331368 7C 7B 1B D6 */ divw r3, r27, r3 -/* 8033440C 0033136C AB A4 00 06 */ lha r29, 6(r4) -/* 80334410 00331370 7C 00 18 00 */ cmpw r0, r3 -/* 80334414 00331374 90 61 00 0C */ stw r3, 0xc(r1) -/* 80334418 00331378 40 80 00 08 */ bge lbl_80334420 -/* 8033441C 0033137C 38 A1 00 0C */ addi r5, r1, 0xc -lbl_80334420: -/* 80334420 00331380 80 99 00 1C */ lwz r4, 0x1c(r25) -/* 80334424 00331384 38 6D 9D 2C */ addi r3, r13, lbl_805A88EC@sda21 -/* 80334428 00331388 80 0D 9D 2C */ lwz r0, lbl_805A88EC@sda21(r13) -/* 8033442C 0033138C 7C 9D 23 D6 */ divw r4, r29, r4 -/* 80334430 00331390 83 85 00 00 */ lwz r28, 0(r5) -/* 80334434 00331394 7C 00 20 00 */ cmpw r0, r4 -/* 80334438 00331398 90 81 00 08 */ stw r4, 8(r1) -/* 8033443C 0033139C 40 80 00 08 */ bge lbl_80334444 -/* 80334440 003313A0 38 61 00 08 */ addi r3, r1, 8 -lbl_80334444: -/* 80334444 003313A4 83 43 00 00 */ lwz r26, 0(r3) -/* 80334448 003313A8 38 79 00 2C */ addi r3, r25, 0x2c -/* 8033444C 003313AC 7C 9C D1 D6 */ mullw r4, r28, r26 -/* 80334450 003313B0 90 99 00 20 */ stw r4, 0x20(r25) -/* 80334454 003313B4 48 00 03 21 */ bl sub_80334774 -/* 80334458 003313B8 CB E2 CB 40 */ lfd f31, lbl_805AE860@sda21(r2) -/* 8033445C 003313BC 3B 5A FF FF */ addi r26, r26, -1 -/* 80334460 003313C0 6F 7E 80 00 */ xoris r30, r27, 0x8000 -/* 80334464 003313C4 6F BF 80 00 */ xoris r31, r29, 0x8000 -/* 80334468 003313C8 3F A0 43 30 */ lis r29, 0x4330 -/* 8033446C 003313CC 48 00 01 54 */ b lbl_803345C0 -lbl_80334470: -/* 80334470 003313D0 3B 60 00 00 */ li r27, 0 -/* 80334474 003313D4 48 00 01 40 */ b lbl_803345B4 -lbl_80334478: -/* 80334478 003313D8 80 19 00 18 */ lwz r0, 0x18(r25) -/* 8033447C 003313DC 80 B9 00 1C */ lwz r5, 0x1c(r25) -/* 80334480 003313E0 7C C0 D9 D6 */ mullw r6, r0, r27 -/* 80334484 003313E4 80 99 00 10 */ lwz r4, 0x10(r25) -/* 80334488 003313E8 80 79 00 14 */ lwz r3, 0x14(r25) -/* 8033448C 003313EC 93 A1 00 28 */ stw r29, 0x28(r1) -/* 80334490 003313F0 80 19 00 30 */ lwz r0, 0x30(r25) -/* 80334494 003313F4 80 F9 00 34 */ lwz r7, 0x34(r25) -/* 80334498 003313F8 7C A5 D1 D6 */ mullw r5, r5, r26 -/* 8033449C 003313FC 7C 84 32 14 */ add r4, r4, r6 -/* 803344A0 00331400 6C C6 80 00 */ xoris r6, r6, 0x8000 -/* 803344A4 00331404 93 C1 00 34 */ stw r30, 0x34(r1) -/* 803344A8 00331408 6C 84 80 00 */ xoris r4, r4, 0x8000 -/* 803344AC 0033140C 90 C1 00 2C */ stw r6, 0x2c(r1) -/* 803344B0 00331410 7C 63 2A 14 */ add r3, r3, r5 -/* 803344B4 00331414 6C A5 80 00 */ xoris r5, r5, 0x8000 -/* 803344B8 00331418 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 803344BC 0033141C 93 A1 00 30 */ stw r29, 0x30(r1) -/* 803344C0 00331420 C8 21 00 28 */ lfd f1, 0x28(r1) -/* 803344C4 00331424 7C 00 38 00 */ cmpw r0, r7 -/* 803344C8 00331428 C8 01 00 30 */ lfd f0, 0x30(r1) -/* 803344CC 0033142C 90 A1 00 3C */ stw r5, 0x3c(r1) -/* 803344D0 00331430 EC 21 F8 28 */ fsubs f1, f1, f31 -/* 803344D4 00331434 EC 00 F8 28 */ fsubs f0, f0, f31 -/* 803344D8 00331438 93 A1 00 38 */ stw r29, 0x38(r1) -/* 803344DC 0033143C C8 41 00 38 */ lfd f2, 0x38(r1) -/* 803344E0 00331440 EC 61 00 24 */ fdivs f3, f1, f0 -/* 803344E4 00331444 93 E1 00 44 */ stw r31, 0x44(r1) -/* 803344E8 00331448 93 A1 00 40 */ stw r29, 0x40(r1) -/* 803344EC 0033144C C8 21 00 40 */ lfd f1, 0x40(r1) -/* 803344F0 00331450 90 81 00 4C */ stw r4, 0x4c(r1) -/* 803344F4 00331454 93 A1 00 48 */ stw r29, 0x48(r1) -/* 803344F8 00331458 C8 01 00 48 */ lfd f0, 0x48(r1) -/* 803344FC 0033145C EC 42 F8 28 */ fsubs f2, f2, f31 -/* 80334500 00331460 EC 21 F8 28 */ fsubs f1, f1, f31 -/* 80334504 00331464 93 C1 00 54 */ stw r30, 0x54(r1) -/* 80334508 00331468 EC 80 F8 28 */ fsubs f4, f0, f31 -/* 8033450C 0033146C 93 A1 00 50 */ stw r29, 0x50(r1) -/* 80334510 00331470 EC 42 08 24 */ fdivs f2, f2, f1 -/* 80334514 00331474 C8 21 00 50 */ lfd f1, 0x50(r1) -/* 80334518 00331478 90 61 00 5C */ stw r3, 0x5c(r1) -/* 8033451C 0033147C 93 A1 00 58 */ stw r29, 0x58(r1) -/* 80334520 00331480 C8 01 00 58 */ lfd f0, 0x58(r1) -/* 80334524 00331484 93 E1 00 64 */ stw r31, 0x64(r1) -/* 80334528 00331488 93 A1 00 60 */ stw r29, 0x60(r1) -/* 8033452C 0033148C EC 21 F8 28 */ fsubs f1, f1, f31 -/* 80334530 00331490 EC A0 F8 28 */ fsubs f5, f0, f31 -/* 80334534 00331494 C8 01 00 60 */ lfd f0, 0x60(r1) -/* 80334538 00331498 EC 24 08 24 */ fdivs f1, f4, f1 -/* 8033453C 0033149C D0 61 00 14 */ stfs f3, 0x14(r1) -/* 80334540 003314A0 D0 41 00 18 */ stfs f2, 0x18(r1) -/* 80334544 003314A4 EC 00 F8 28 */ fsubs f0, f0, f31 -/* 80334548 003314A8 D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 8033454C 003314AC EC 05 00 24 */ fdivs f0, f5, f0 -/* 80334550 003314B0 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 80334554 003314B4 41 80 00 1C */ blt lbl_80334570 -/* 80334558 003314B8 2C 07 00 00 */ cmpwi r7, 0 -/* 8033455C 003314BC 38 79 00 2C */ addi r3, r25, 0x2c -/* 80334560 003314C0 38 80 00 04 */ li r4, 4 -/* 80334564 003314C4 41 82 00 08 */ beq lbl_8033456C -/* 80334568 003314C8 54 E4 08 3C */ slwi r4, r7, 1 -lbl_8033456C: -/* 8033456C 003314CC 48 00 02 09 */ bl sub_80334774 -lbl_80334570: -/* 80334570 003314D0 80 19 00 30 */ lwz r0, 0x30(r25) -/* 80334574 003314D4 80 79 00 38 */ lwz r3, 0x38(r25) -/* 80334578 003314D8 54 00 20 36 */ slwi r0, r0, 4 -/* 8033457C 003314DC 7C 83 02 15 */ add. r4, r3, r0 -/* 80334580 003314E0 41 82 00 24 */ beq lbl_803345A4 -/* 80334584 003314E4 80 61 00 14 */ lwz r3, 0x14(r1) -/* 80334588 003314E8 80 01 00 18 */ lwz r0, 0x18(r1) -/* 8033458C 003314EC 90 64 00 00 */ stw r3, 0(r4) -/* 80334590 003314F0 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 80334594 003314F4 90 04 00 04 */ stw r0, 4(r4) -/* 80334598 003314F8 80 01 00 20 */ lwz r0, 0x20(r1) -/* 8033459C 003314FC 90 64 00 08 */ stw r3, 8(r4) -/* 803345A0 00331500 90 04 00 0C */ stw r0, 0xc(r4) -lbl_803345A4: -/* 803345A4 00331504 80 79 00 30 */ lwz r3, 0x30(r25) -/* 803345A8 00331508 3B 7B 00 01 */ addi r27, r27, 1 -/* 803345AC 0033150C 38 03 00 01 */ addi r0, r3, 1 -/* 803345B0 00331510 90 19 00 30 */ stw r0, 0x30(r25) -lbl_803345B4: -/* 803345B4 00331514 7C 1B E0 00 */ cmpw r27, r28 -/* 803345B8 00331518 41 80 FE C0 */ blt lbl_80334478 -/* 803345BC 0033151C 3B 5A FF FF */ addi r26, r26, -1 -lbl_803345C0: -/* 803345C0 00331520 2C 1A 00 00 */ cmpwi r26, 0 -/* 803345C4 00331524 40 80 FE AC */ bge lbl_80334470 -/* 803345C8 00331528 7F 23 CB 78 */ mr r3, r25 -/* 803345CC 0033152C E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 -/* 803345D0 00331530 CB E1 00 90 */ lfd f31, 0x90(r1) -/* 803345D4 00331534 BB 01 00 70 */ lmw r24, 0x70(r1) -/* 803345D8 00331538 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 803345DC 0033153C 7C 08 03 A6 */ mtlr r0 -/* 803345E0 00331540 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 803345E4 00331544 4E 80 00 20 */ blr - -.global GetValueTexture__12CUVEConstantCFi -GetValueTexture__12CUVEConstantCFi: -/* 803345E8 00331548 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803345EC 0033154C 7C 08 02 A6 */ mflr r0 -/* 803345F0 00331550 90 01 00 14 */ stw r0, 0x14(r1) -/* 803345F4 00331554 93 E1 00 0C */ stw r31, 0xc(r1) -/* 803345F8 00331558 7C 9F 23 78 */ mr r31, r4 -/* 803345FC 0033155C 38 9F 00 04 */ addi r4, r31, 4 -/* 80334600 00331560 93 C1 00 08 */ stw r30, 8(r1) -/* 80334604 00331564 7C 7E 1B 78 */ mr r30, r3 -/* 80334608 00331568 48 00 C8 A1 */ bl __ct__6CTokenFRC6CToken -/* 8033460C 0033156C 80 1F 00 0C */ lwz r0, 0xc(r31) -/* 80334610 00331570 7F C3 F3 78 */ mr r3, r30 -/* 80334614 00331574 90 1E 00 08 */ stw r0, 8(r30) -/* 80334618 00331578 48 00 C7 6D */ bl Lock__6CTokenFv -/* 8033461C 0033157C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80334620 00331580 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80334624 00331584 83 C1 00 08 */ lwz r30, 8(r1) -/* 80334628 00331588 7C 08 03 A6 */ mtlr r0 -/* 8033462C 0033158C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80334630 00331590 4E 80 00 20 */ blr - -.global GetValueUV__12CUVEConstantCFiR13SUVElementSet -GetValueUV__12CUVEConstantCFiR13SUVElementSet: -/* 80334634 00331594 C0 22 CB 48 */ lfs f1, lbl_805AE868@sda21(r2) -/* 80334638 00331598 C0 02 CB 4C */ lfs f0, lbl_805AE86C@sda21(r2) -/* 8033463C 0033159C D0 25 00 00 */ stfs f1, 0(r5) -/* 80334640 003315A0 D0 25 00 04 */ stfs f1, 4(r5) -/* 80334644 003315A4 D0 05 00 08 */ stfs f0, 8(r5) -/* 80334648 003315A8 D0 05 00 0C */ stfs f0, 0xc(r5) -/* 8033464C 003315AC 4E 80 00 20 */ blr - -.global __dt__12CUVEConstantFv -__dt__12CUVEConstantFv: -/* 80334650 003315B0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80334654 003315B4 7C 08 02 A6 */ mflr r0 -/* 80334658 003315B8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8033465C 003315BC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80334660 003315C0 7C 9F 23 78 */ mr r31, r4 -/* 80334664 003315C4 93 C1 00 08 */ stw r30, 8(r1) -/* 80334668 003315C8 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8033466C 003315CC 41 82 00 64 */ beq lbl_803346D0 -/* 80334670 003315D0 3C 60 80 3F */ lis r3, lbl_803EE134@ha -/* 80334674 003315D4 34 1E 00 04 */ addic. r0, r30, 4 -/* 80334678 003315D8 38 03 E1 34 */ addi r0, r3, lbl_803EE134@l -/* 8033467C 003315DC 90 1E 00 00 */ stw r0, 0(r30) -/* 80334680 003315E0 41 82 00 18 */ beq lbl_80334698 -/* 80334684 003315E4 34 1E 00 04 */ addic. r0, r30, 4 -/* 80334688 003315E8 41 82 00 10 */ beq lbl_80334698 -/* 8033468C 003315EC 38 7E 00 04 */ addi r3, r30, 4 -/* 80334690 003315F0 38 80 00 00 */ li r4, 0 -/* 80334694 003315F4 48 00 C7 AD */ bl __dt__6CTokenFv -lbl_80334698: -/* 80334698 003315F8 28 1E 00 00 */ cmplwi r30, 0 -/* 8033469C 003315FC 41 82 00 20 */ beq lbl_803346BC -/* 803346A0 00331600 3C 60 80 3F */ lis r3, lbl_803EC568@ha -/* 803346A4 00331604 38 03 C5 68 */ addi r0, r3, lbl_803EC568@l -/* 803346A8 00331608 90 1E 00 00 */ stw r0, 0(r30) -/* 803346AC 0033160C 41 82 00 10 */ beq lbl_803346BC -/* 803346B0 00331610 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 803346B4 00331614 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 803346B8 00331618 90 1E 00 00 */ stw r0, 0(r30) -lbl_803346BC: -/* 803346BC 0033161C 7F E0 07 35 */ extsh. r0, r31 -/* 803346C0 00331620 40 81 00 10 */ ble lbl_803346D0 -/* 803346C4 00331624 7F C3 F3 78 */ mr r3, r30 -/* 803346C8 00331628 38 80 00 10 */ li r4, 0x10 -/* 803346CC 0033162C 48 03 83 99 */ bl sub_8036ca64 -lbl_803346D0: -/* 803346D0 00331630 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803346D4 00331634 7F C3 F3 78 */ mr r3, r30 -/* 803346D8 00331638 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 803346DC 0033163C 83 C1 00 08 */ lwz r30, 8(r1) -/* 803346E0 00331640 7C 08 03 A6 */ mtlr r0 -/* 803346E4 00331644 38 21 00 10 */ addi r1, r1, 0x10 -/* 803346E8 00331648 4E 80 00 20 */ blr - -.global "__ct__12CUVEConstantF17TToken<8CTexture>" -"__ct__12CUVEConstantF17TToken<8CTexture>": -/* 803346EC 0033164C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803346F0 00331650 7C 08 02 A6 */ mflr r0 -/* 803346F4 00331654 3C A0 80 3F */ lis r5, lbl_803EC568@ha -/* 803346F8 00331658 90 01 00 14 */ stw r0, 0x14(r1) -/* 803346FC 0033165C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80334700 00331660 7C 7F 1B 78 */ mr r31, r3 -/* 80334704 00331664 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 80334708 00331668 93 C1 00 08 */ stw r30, 8(r1) -/* 8033470C 0033166C 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 80334710 00331670 3C 60 80 3F */ lis r3, lbl_803EE134@ha -/* 80334714 00331674 3B DF 00 04 */ addi r30, r31, 4 -/* 80334718 00331678 90 1F 00 00 */ stw r0, 0(r31) -/* 8033471C 0033167C 38 05 C5 68 */ addi r0, r5, lbl_803EC568@l -/* 80334720 00331680 7F E6 FB 78 */ mr r6, r31 -/* 80334724 00331684 90 1F 00 00 */ stw r0, 0(r31) -/* 80334728 00331688 38 03 E1 34 */ addi r0, r3, lbl_803EE134@l -/* 8033472C 0033168C 7F C3 F3 78 */ mr r3, r30 -/* 80334730 00331690 90 1F 00 00 */ stw r0, 0(r31) -/* 80334734 00331694 48 00 C7 75 */ bl __ct__6CTokenFRC6CToken -/* 80334738 00331698 7F C3 F3 78 */ mr r3, r30 -/* 8033473C 0033169C 48 00 C6 D1 */ bl GetObj__6CTokenFv -/* 80334740 003316A0 80 03 00 04 */ lwz r0, 4(r3) -/* 80334744 003316A4 7F E3 FB 78 */ mr r3, r31 -/* 80334748 003316A8 90 1E 00 08 */ stw r0, 8(r30) -/* 8033474C 003316AC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80334750 003316B0 83 C1 00 08 */ lwz r30, 8(r1) -/* 80334754 003316B4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80334758 003316B8 7C 08 03 A6 */ mtlr r0 -/* 8033475C 003316BC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80334760 003316C0 4E 80 00 20 */ blr - -.global HasConstantTexture__12CUVEConstantFv -HasConstantTexture__12CUVEConstantFv: -/* 80334764 003316C4 38 60 00 01 */ li r3, 1 -/* 80334768 003316C8 4E 80 00 20 */ blr - -.global HasConstantUV__12CUVEConstantFv -HasConstantUV__12CUVEConstantFv: -/* 8033476C 003316CC 38 60 00 01 */ li r3, 1 -/* 80334770 003316D0 4E 80 00 20 */ blr - -.global sub_80334774 -sub_80334774: -/* 80334774 003316D4 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80334778 003316D8 7C 08 02 A6 */ mflr r0 -/* 8033477C 003316DC 90 01 00 34 */ stw r0, 0x34(r1) -/* 80334780 003316E0 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80334784 003316E4 7C 9F 23 78 */ mr r31, r4 -/* 80334788 003316E8 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8033478C 003316EC 7C 7E 1B 78 */ mr r30, r3 -/* 80334790 003316F0 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80334794 003316F4 80 03 00 08 */ lwz r0, 8(r3) -/* 80334798 003316F8 7C 1F 00 00 */ cmpw r31, r0 -/* 8033479C 003316FC 40 81 00 C0 */ ble lbl_8033485C -/* 803347A0 00331700 57 E3 20 37 */ rlwinm. r3, r31, 4, 0, 0x1b -/* 803347A4 00331704 40 82 00 0C */ bne lbl_803347B0 -/* 803347A8 00331708 3B A0 00 00 */ li r29, 0 -/* 803347AC 0033170C 48 00 00 18 */ b lbl_803347C4 -lbl_803347B0: -/* 803347B0 00331710 3C 80 80 3D */ lis r4, lbl_803D7980@ha -/* 803347B4 00331714 38 A0 00 00 */ li r5, 0 -/* 803347B8 00331718 38 84 79 80 */ addi r4, r4, lbl_803D7980@l -/* 803347BC 0033171C 4B FE 10 5D */ bl __nwa__FUlPCcPCc -/* 803347C0 00331720 7C 7D 1B 78 */ mr r29, r3 -lbl_803347C4: -/* 803347C4 00331724 80 1E 00 04 */ lwz r0, 4(r30) -/* 803347C8 00331728 7F A5 EB 78 */ mr r5, r29 -/* 803347CC 0033172C 80 DE 00 0C */ lwz r6, 0xc(r30) -/* 803347D0 00331730 54 00 20 36 */ slwi r0, r0, 4 -/* 803347D4 00331734 7C 86 02 14 */ add r4, r6, r0 -/* 803347D8 00331738 90 C1 00 10 */ stw r6, 0x10(r1) -/* 803347DC 0033173C 90 81 00 08 */ stw r4, 8(r1) -/* 803347E0 00331740 90 81 00 0C */ stw r4, 0xc(r1) -/* 803347E4 00331744 90 C1 00 14 */ stw r6, 0x14(r1) -/* 803347E8 00331748 48 00 00 34 */ b lbl_8033481C -lbl_803347EC: -/* 803347EC 0033174C 28 05 00 00 */ cmplwi r5, 0 -/* 803347F0 00331750 41 82 00 24 */ beq lbl_80334814 -/* 803347F4 00331754 80 66 00 00 */ lwz r3, 0(r6) -/* 803347F8 00331758 80 06 00 04 */ lwz r0, 4(r6) -/* 803347FC 0033175C 90 65 00 00 */ stw r3, 0(r5) -/* 80334800 00331760 90 05 00 04 */ stw r0, 4(r5) -/* 80334804 00331764 80 66 00 08 */ lwz r3, 8(r6) -/* 80334808 00331768 80 06 00 0C */ lwz r0, 0xc(r6) -/* 8033480C 0033176C 90 65 00 08 */ stw r3, 8(r5) -/* 80334810 00331770 90 05 00 0C */ stw r0, 0xc(r5) -lbl_80334814: -/* 80334814 00331774 38 A5 00 10 */ addi r5, r5, 0x10 -/* 80334818 00331778 38 C6 00 10 */ addi r6, r6, 0x10 -lbl_8033481C: -/* 8033481C 0033177C 7C 06 20 40 */ cmplw r6, r4 -/* 80334820 00331780 40 82 FF CC */ bne lbl_803347EC -/* 80334824 00331784 80 1E 00 04 */ lwz r0, 4(r30) -/* 80334828 00331788 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 8033482C 0033178C 54 00 20 36 */ slwi r0, r0, 4 -/* 80334830 00331790 7C 64 1B 78 */ mr r4, r3 -/* 80334834 00331794 7C 03 02 14 */ add r0, r3, r0 -/* 80334838 00331798 48 00 00 08 */ b lbl_80334840 -lbl_8033483C: -/* 8033483C 0033179C 38 84 00 10 */ addi r4, r4, 0x10 -lbl_80334840: -/* 80334840 003317A0 7C 04 00 40 */ cmplw r4, r0 -/* 80334844 003317A4 40 82 FF F8 */ bne lbl_8033483C -/* 80334848 003317A8 28 03 00 00 */ cmplwi r3, 0 -/* 8033484C 003317AC 41 82 00 08 */ beq lbl_80334854 -/* 80334850 003317B0 4B FE 10 E1 */ bl Free__7CMemoryFPCv -lbl_80334854: -/* 80334854 003317B4 93 BE 00 0C */ stw r29, 0xc(r30) -/* 80334858 003317B8 93 FE 00 08 */ stw r31, 8(r30) -lbl_8033485C: -/* 8033485C 003317BC 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80334860 003317C0 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80334864 003317C4 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80334868 003317C8 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 8033486C 003317CC 7C 08 03 A6 */ mtlr r0 -/* 80334870 003317D0 38 21 00 30 */ addi r1, r1, 0x30 -/* 80334874 003317D4 4E 80 00 20 */ blr - -.global GetValue__7CVECVTCCFiR9CVector3f -GetValue__7CVECVTCCFiR9CVector3f: -/* 80334878 003317D8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8033487C 003317DC 7C 08 02 A6 */ mflr r0 -/* 80334880 003317E0 90 01 00 24 */ stw r0, 0x24(r1) -/* 80334884 003317E4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80334888 003317E8 7C BF 2B 78 */ mr r31, r5 -/* 8033488C 003317EC 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80334890 003317F0 7C 9E 23 78 */ mr r30, r4 -/* 80334894 003317F4 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80334898 003317F8 7C 7D 1B 78 */ mr r29, r3 -/* 8033489C 003317FC 48 01 57 19 */ bl Black__6CColorFv -/* 803348A0 00331800 80 03 00 00 */ lwz r0, 0(r3) -/* 803348A4 00331804 7F C4 F3 78 */ mr r4, r30 -/* 803348A8 00331808 80 7D 00 04 */ lwz r3, 4(r29) -/* 803348AC 0033180C 38 A1 00 08 */ addi r5, r1, 8 -/* 803348B0 00331810 90 01 00 08 */ stw r0, 8(r1) -/* 803348B4 00331814 81 83 00 00 */ lwz r12, 0(r3) -/* 803348B8 00331818 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 803348BC 0033181C 7D 89 03 A6 */ mtctr r12 -/* 803348C0 00331820 4E 80 04 21 */ bctrl -/* 803348C4 00331824 E0 01 A0 08 */ psq_l f0, 8(r1), 1, qr2 -/* 803348C8 00331828 C0 22 CB 50 */ lfs f1, lbl_805AE870@sda21(r2) -/* 803348CC 0033182C EC 01 00 32 */ fmuls f0, f1, f0 -/* 803348D0 00331830 D0 1F 00 00 */ stfs f0, 0(r31) -/* 803348D4 00331834 E0 01 A0 09 */ psq_l f0, 9(r1), 1, qr2 -/* 803348D8 00331838 EC 01 00 32 */ fmuls f0, f1, f0 -/* 803348DC 0033183C D0 1F 00 04 */ stfs f0, 4(r31) -/* 803348E0 00331840 E0 01 A0 0A */ psq_l f0, 10(r1), 1, qr2 -/* 803348E4 00331844 38 60 00 00 */ li r3, 0 -/* 803348E8 00331848 EC 01 00 32 */ fmuls f0, f1, f0 -/* 803348EC 0033184C D0 1F 00 08 */ stfs f0, 8(r31) -/* 803348F0 00331850 80 01 00 24 */ lwz r0, 0x24(r1) -/* 803348F4 00331854 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 803348F8 00331858 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 803348FC 0033185C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80334900 00331860 7C 08 03 A6 */ mtlr r0 -/* 80334904 00331864 38 21 00 20 */ addi r1, r1, 0x20 -/* 80334908 00331868 4E 80 00 20 */ blr - -.global __dt__7CVECVTC -__dt__7CVECVTC: -/* 8033490C 0033186C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80334910 00331870 7C 08 02 A6 */ mflr r0 -/* 80334914 00331874 90 01 00 14 */ stw r0, 0x14(r1) -/* 80334918 00331878 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8033491C 0033187C 7C 9F 23 78 */ mr r31, r4 -/* 80334920 00331880 93 C1 00 08 */ stw r30, 8(r1) -/* 80334924 00331884 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80334928 00331888 41 82 00 68 */ beq lbl_80334990 -/* 8033492C 0033188C 3C 60 80 3F */ lis r3, lbl_803EE150@ha -/* 80334930 00331890 38 03 E1 50 */ addi r0, r3, lbl_803EE150@l -/* 80334934 00331894 90 1E 00 00 */ stw r0, 0(r30) -/* 80334938 00331898 80 7E 00 04 */ lwz r3, 4(r30) -/* 8033493C 0033189C 28 03 00 00 */ cmplwi r3, 0 -/* 80334940 003318A0 41 82 00 18 */ beq lbl_80334958 -/* 80334944 003318A4 81 83 00 00 */ lwz r12, 0(r3) -/* 80334948 003318A8 38 80 00 01 */ li r4, 1 -/* 8033494C 003318AC 81 8C 00 08 */ lwz r12, 8(r12) -/* 80334950 003318B0 7D 89 03 A6 */ mtctr r12 -/* 80334954 003318B4 4E 80 04 21 */ bctrl -lbl_80334958: -/* 80334958 003318B8 28 1E 00 00 */ cmplwi r30, 0 -/* 8033495C 003318BC 41 82 00 20 */ beq lbl_8033497C -/* 80334960 003318C0 3C 60 80 3F */ lis r3, lbl_803EC594@ha -/* 80334964 003318C4 38 03 C5 94 */ addi r0, r3, lbl_803EC594@l -/* 80334968 003318C8 90 1E 00 00 */ stw r0, 0(r30) -/* 8033496C 003318CC 41 82 00 10 */ beq lbl_8033497C -/* 80334970 003318D0 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 80334974 003318D4 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 80334978 003318D8 90 1E 00 00 */ stw r0, 0(r30) -lbl_8033497C: -/* 8033497C 003318DC 7F E0 07 35 */ extsh. r0, r31 -/* 80334980 003318E0 40 81 00 10 */ ble lbl_80334990 -/* 80334984 003318E4 7F C3 F3 78 */ mr r3, r30 -/* 80334988 003318E8 38 80 00 08 */ li r4, 8 -/* 8033498C 003318EC 48 03 80 D9 */ bl sub_8036ca64 -lbl_80334990: -/* 80334990 003318F0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80334994 003318F4 7F C3 F3 78 */ mr r3, r30 -/* 80334998 003318F8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8033499C 003318FC 83 C1 00 08 */ lwz r30, 8(r1) -/* 803349A0 00331900 7C 08 03 A6 */ mtlr r0 -/* 803349A4 00331904 38 21 00 10 */ addi r1, r1, 0x10 -/* 803349A8 00331908 4E 80 00 20 */ blr - -.global __ct__7CVECTVCFP13CColorElement -__ct__7CVECTVCFP13CColorElement: -/* 803349AC 0033190C 3C E0 80 3F */ lis r7, lbl_803EC5A8@ha -/* 803349B0 00331910 3C C0 80 3F */ lis r6, lbl_803EC594@ha -/* 803349B4 00331914 38 07 C5 A8 */ addi r0, r7, lbl_803EC5A8@l -/* 803349B8 00331918 3C A0 80 3F */ lis r5, lbl_803EE150@ha -/* 803349BC 0033191C 90 03 00 00 */ stw r0, 0(r3) -/* 803349C0 00331920 38 C6 C5 94 */ addi r6, r6, lbl_803EC594@l -/* 803349C4 00331924 38 05 E1 50 */ addi r0, r5, lbl_803EE150@l -/* 803349C8 00331928 90 C3 00 00 */ stw r6, 0(r3) -/* 803349CC 0033192C 90 03 00 00 */ stw r0, 0(r3) -/* 803349D0 00331930 90 83 00 04 */ stw r4, 4(r3) -/* 803349D4 00331934 4E 80 00 20 */ blr - -.global GetValue__11CVESubtractCFiR9CVector3f -GetValue__11CVESubtractCFiR9CVector3f: -/* 803349D8 00331938 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 803349DC 0033193C 7C 08 02 A6 */ mflr r0 -/* 803349E0 00331940 3C C0 80 5A */ lis r6, skZero3f@ha -/* 803349E4 00331944 90 01 00 34 */ stw r0, 0x34(r1) -/* 803349E8 00331948 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 803349EC 0033194C 7C BF 2B 78 */ mr r31, r5 -/* 803349F0 00331950 38 A1 00 14 */ addi r5, r1, 0x14 -/* 803349F4 00331954 93 C1 00 28 */ stw r30, 0x28(r1) -/* 803349F8 00331958 7C 9E 23 78 */ mr r30, r4 -/* 803349FC 0033195C 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80334A00 00331960 7C 7D 1B 78 */ mr r29, r3 -/* 80334A04 00331964 38 66 66 A0 */ addi r3, r6, skZero3f@l -/* 80334A08 00331968 C0 03 00 00 */ lfs f0, 0(r3) -/* 80334A0C 0033196C C0 23 00 04 */ lfs f1, 4(r3) -/* 80334A10 00331970 C0 43 00 08 */ lfs f2, 8(r3) -/* 80334A14 00331974 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 80334A18 00331978 80 7D 00 04 */ lwz r3, 4(r29) -/* 80334A1C 0033197C D0 21 00 18 */ stfs f1, 0x18(r1) -/* 80334A20 00331980 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 80334A24 00331984 D0 01 00 08 */ stfs f0, 8(r1) -/* 80334A28 00331988 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 80334A2C 0033198C D0 41 00 10 */ stfs f2, 0x10(r1) -/* 80334A30 00331990 81 83 00 00 */ lwz r12, 0(r3) -/* 80334A34 00331994 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80334A38 00331998 7D 89 03 A6 */ mtctr r12 -/* 80334A3C 0033199C 4E 80 04 21 */ bctrl -/* 80334A40 003319A0 80 7D 00 08 */ lwz r3, 8(r29) -/* 80334A44 003319A4 7F C4 F3 78 */ mr r4, r30 -/* 80334A48 003319A8 38 A1 00 08 */ addi r5, r1, 8 -/* 80334A4C 003319AC 81 83 00 00 */ lwz r12, 0(r3) -/* 80334A50 003319B0 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80334A54 003319B4 7D 89 03 A6 */ mtctr r12 -/* 80334A58 003319B8 4E 80 04 21 */ bctrl -/* 80334A5C 003319BC C0 21 00 14 */ lfs f1, 0x14(r1) -/* 80334A60 003319C0 38 60 00 00 */ li r3, 0 -/* 80334A64 003319C4 C0 01 00 08 */ lfs f0, 8(r1) -/* 80334A68 003319C8 C0 81 00 18 */ lfs f4, 0x18(r1) -/* 80334A6C 003319CC C0 61 00 0C */ lfs f3, 0xc(r1) -/* 80334A70 003319D0 EC 01 00 28 */ fsubs f0, f1, f0 -/* 80334A74 003319D4 C0 41 00 1C */ lfs f2, 0x1c(r1) -/* 80334A78 003319D8 C0 21 00 10 */ lfs f1, 0x10(r1) -/* 80334A7C 003319DC EC 64 18 28 */ fsubs f3, f4, f3 -/* 80334A80 003319E0 D0 1F 00 00 */ stfs f0, 0(r31) -/* 80334A84 003319E4 EC 02 08 28 */ fsubs f0, f2, f1 -/* 80334A88 003319E8 D0 7F 00 04 */ stfs f3, 4(r31) -/* 80334A8C 003319EC D0 1F 00 08 */ stfs f0, 8(r31) -/* 80334A90 003319F0 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80334A94 003319F4 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80334A98 003319F8 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80334A9C 003319FC 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80334AA0 00331A00 7C 08 03 A6 */ mtlr r0 -/* 80334AA4 00331A04 38 21 00 30 */ addi r1, r1, 0x30 -/* 80334AA8 00331A08 4E 80 00 20 */ blr - -.global __dt__11CVESubtract -__dt__11CVESubtract: -/* 80334AAC 00331A0C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80334AB0 00331A10 7C 08 02 A6 */ mflr r0 -/* 80334AB4 00331A14 90 01 00 14 */ stw r0, 0x14(r1) -/* 80334AB8 00331A18 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80334ABC 00331A1C 7C 9F 23 78 */ mr r31, r4 -/* 80334AC0 00331A20 93 C1 00 08 */ stw r30, 8(r1) -/* 80334AC4 00331A24 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80334AC8 00331A28 41 82 00 88 */ beq lbl_80334B50 -/* 80334ACC 00331A2C 3C 60 80 3F */ lis r3, lbl_803EE164@ha -/* 80334AD0 00331A30 38 03 E1 64 */ addi r0, r3, lbl_803EE164@l -/* 80334AD4 00331A34 90 1E 00 00 */ stw r0, 0(r30) -/* 80334AD8 00331A38 80 7E 00 04 */ lwz r3, 4(r30) -/* 80334ADC 00331A3C 28 03 00 00 */ cmplwi r3, 0 -/* 80334AE0 00331A40 41 82 00 18 */ beq lbl_80334AF8 -/* 80334AE4 00331A44 81 83 00 00 */ lwz r12, 0(r3) -/* 80334AE8 00331A48 38 80 00 01 */ li r4, 1 -/* 80334AEC 00331A4C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80334AF0 00331A50 7D 89 03 A6 */ mtctr r12 -/* 80334AF4 00331A54 4E 80 04 21 */ bctrl -lbl_80334AF8: -/* 80334AF8 00331A58 80 7E 00 08 */ lwz r3, 8(r30) -/* 80334AFC 00331A5C 28 03 00 00 */ cmplwi r3, 0 -/* 80334B00 00331A60 41 82 00 18 */ beq lbl_80334B18 -/* 80334B04 00331A64 81 83 00 00 */ lwz r12, 0(r3) -/* 80334B08 00331A68 38 80 00 01 */ li r4, 1 -/* 80334B0C 00331A6C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80334B10 00331A70 7D 89 03 A6 */ mtctr r12 -/* 80334B14 00331A74 4E 80 04 21 */ bctrl -lbl_80334B18: -/* 80334B18 00331A78 28 1E 00 00 */ cmplwi r30, 0 -/* 80334B1C 00331A7C 41 82 00 20 */ beq lbl_80334B3C -/* 80334B20 00331A80 3C 60 80 3F */ lis r3, lbl_803EC594@ha -/* 80334B24 00331A84 38 03 C5 94 */ addi r0, r3, lbl_803EC594@l -/* 80334B28 00331A88 90 1E 00 00 */ stw r0, 0(r30) -/* 80334B2C 00331A8C 41 82 00 10 */ beq lbl_80334B3C -/* 80334B30 00331A90 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 80334B34 00331A94 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 80334B38 00331A98 90 1E 00 00 */ stw r0, 0(r30) -lbl_80334B3C: -/* 80334B3C 00331A9C 7F E0 07 35 */ extsh. r0, r31 -/* 80334B40 00331AA0 40 81 00 10 */ ble lbl_80334B50 -/* 80334B44 00331AA4 7F C3 F3 78 */ mr r3, r30 -/* 80334B48 00331AA8 38 80 00 0C */ li r4, 0xc -/* 80334B4C 00331AAC 48 03 7F 19 */ bl sub_8036ca64 -lbl_80334B50: -/* 80334B50 00331AB0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80334B54 00331AB4 7F C3 F3 78 */ mr r3, r30 -/* 80334B58 00331AB8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80334B5C 00331ABC 83 C1 00 08 */ lwz r30, 8(r1) -/* 80334B60 00331AC0 7C 08 03 A6 */ mtlr r0 -/* 80334B64 00331AC4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80334B68 00331AC8 4E 80 00 20 */ blr - -.global __ct__10CVESubractFP14CVectorElementP14CVectorElement -__ct__10CVESubractFP14CVectorElementP14CVectorElement: -/* 80334B6C 00331ACC 3D 00 80 3F */ lis r8, lbl_803EC5A8@ha -/* 80334B70 00331AD0 3C E0 80 3F */ lis r7, lbl_803EC594@ha -/* 80334B74 00331AD4 38 08 C5 A8 */ addi r0, r8, lbl_803EC5A8@l -/* 80334B78 00331AD8 3C C0 80 3F */ lis r6, lbl_803EE164@ha -/* 80334B7C 00331ADC 90 03 00 00 */ stw r0, 0(r3) -/* 80334B80 00331AE0 38 E7 C5 94 */ addi r7, r7, lbl_803EC594@l -/* 80334B84 00331AE4 38 06 E1 64 */ addi r0, r6, lbl_803EE164@l -/* 80334B88 00331AE8 90 E3 00 00 */ stw r7, 0(r3) -/* 80334B8C 00331AEC 90 03 00 00 */ stw r0, 0(r3) -/* 80334B90 00331AF0 90 83 00 04 */ stw r4, 4(r3) -/* 80334B94 00331AF4 90 A3 00 08 */ stw r5, 8(r3) -/* 80334B98 00331AF8 4E 80 00 20 */ blr - -.global GetValue__28CVEParticleSystemTranslationCFiR9CVector3f -GetValue__28CVEParticleSystemTranslationCFiR9CVector3f: -/* 80334B9C 00331AFC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80334BA0 00331B00 7C 08 02 A6 */ mflr r0 -/* 80334BA4 00331B04 90 01 00 14 */ stw r0, 0x14(r1) -/* 80334BA8 00331B08 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80334BAC 00331B0C 7C BF 2B 78 */ mr r31, r5 -/* 80334BB0 00331B10 80 6D A8 F4 */ lwz r3, lbl_805A94B4@sda21(r13) -/* 80334BB4 00331B14 80 63 00 04 */ lwz r3, 4(r3) -/* 80334BB8 00331B18 81 83 00 00 */ lwz r12, 0(r3) -/* 80334BBC 00331B1C 81 8C 00 3C */ lwz r12, 0x3c(r12) -/* 80334BC0 00331B20 7D 89 03 A6 */ mtctr r12 -/* 80334BC4 00331B24 4E 80 04 21 */ bctrl -/* 80334BC8 00331B28 C0 03 00 00 */ lfs f0, 0(r3) -/* 80334BCC 00331B2C D0 1F 00 00 */ stfs f0, 0(r31) -/* 80334BD0 00331B30 C0 03 00 04 */ lfs f0, 4(r3) -/* 80334BD4 00331B34 D0 1F 00 04 */ stfs f0, 4(r31) -/* 80334BD8 00331B38 C0 03 00 08 */ lfs f0, 8(r3) -/* 80334BDC 00331B3C 38 60 00 00 */ li r3, 0 -/* 80334BE0 00331B40 D0 1F 00 08 */ stfs f0, 8(r31) -/* 80334BE4 00331B44 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80334BE8 00331B48 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80334BEC 00331B4C 7C 08 03 A6 */ mtlr r0 -/* 80334BF0 00331B50 38 21 00 10 */ addi r1, r1, 0x10 -/* 80334BF4 00331B54 4E 80 00 20 */ blr - -.global GetValue__33CVEParticleSystemOrientationRightCFiR9CVector3f -GetValue__33CVEParticleSystemOrientationRightCFiR9CVector3f: -/* 80334BF8 00331B58 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80334BFC 00331B5C 7C 08 02 A6 */ mflr r0 -/* 80334C00 00331B60 90 01 00 14 */ stw r0, 0x14(r1) -/* 80334C04 00331B64 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80334C08 00331B68 7C BF 2B 78 */ mr r31, r5 -/* 80334C0C 00331B6C 80 6D A8 F4 */ lwz r3, lbl_805A94B4@sda21(r13) -/* 80334C10 00331B70 80 63 00 04 */ lwz r3, 4(r3) -/* 80334C14 00331B74 81 83 00 00 */ lwz r12, 0(r3) -/* 80334C18 00331B78 81 8C 00 38 */ lwz r12, 0x38(r12) -/* 80334C1C 00331B7C 7D 89 03 A6 */ mtctr r12 -/* 80334C20 00331B80 4E 80 04 21 */ bctrl -/* 80334C24 00331B84 C0 43 00 20 */ lfs f2, 0x20(r3) -/* 80334C28 00331B88 C0 23 00 10 */ lfs f1, 0x10(r3) -/* 80334C2C 00331B8C C0 03 00 00 */ lfs f0, 0(r3) -/* 80334C30 00331B90 38 60 00 00 */ li r3, 0 -/* 80334C34 00331B94 D0 1F 00 00 */ stfs f0, 0(r31) -/* 80334C38 00331B98 D0 3F 00 04 */ stfs f1, 4(r31) -/* 80334C3C 00331B9C D0 5F 00 08 */ stfs f2, 8(r31) -/* 80334C40 00331BA0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80334C44 00331BA4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80334C48 00331BA8 7C 08 03 A6 */ mtlr r0 -/* 80334C4C 00331BAC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80334C50 00331BB0 4E 80 00 20 */ blr - -.global GetValue__31CVEParticleSystemOrienatationUpCFiR9CVector3f -GetValue__31CVEParticleSystemOrienatationUpCFiR9CVector3f: -/* 80334C54 00331BB4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80334C58 00331BB8 7C 08 02 A6 */ mflr r0 -/* 80334C5C 00331BBC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80334C60 00331BC0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80334C64 00331BC4 7C BF 2B 78 */ mr r31, r5 -/* 80334C68 00331BC8 80 6D A8 F4 */ lwz r3, lbl_805A94B4@sda21(r13) -/* 80334C6C 00331BCC 80 63 00 04 */ lwz r3, 4(r3) -/* 80334C70 00331BD0 81 83 00 00 */ lwz r12, 0(r3) -/* 80334C74 00331BD4 81 8C 00 38 */ lwz r12, 0x38(r12) -/* 80334C78 00331BD8 7D 89 03 A6 */ mtctr r12 -/* 80334C7C 00331BDC 4E 80 04 21 */ bctrl -/* 80334C80 00331BE0 C0 43 00 28 */ lfs f2, 0x28(r3) -/* 80334C84 00331BE4 C0 23 00 18 */ lfs f1, 0x18(r3) -/* 80334C88 00331BE8 C0 03 00 08 */ lfs f0, 8(r3) -/* 80334C8C 00331BEC 38 60 00 00 */ li r3, 0 -/* 80334C90 00331BF0 D0 1F 00 00 */ stfs f0, 0(r31) -/* 80334C94 00331BF4 D0 3F 00 04 */ stfs f1, 4(r31) -/* 80334C98 00331BF8 D0 5F 00 08 */ stfs f2, 8(r31) -/* 80334C9C 00331BFC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80334CA0 00331C00 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80334CA4 00331C04 7C 08 03 A6 */ mtlr r0 -/* 80334CA8 00331C08 38 21 00 10 */ addi r1, r1, 0x10 -/* 80334CAC 00331C0C 4E 80 00 20 */ blr - -.global GetValue__33CVEParticleSystemOrientationFrontCFiR9CVector3f -GetValue__33CVEParticleSystemOrientationFrontCFiR9CVector3f: -/* 80334CB0 00331C10 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80334CB4 00331C14 7C 08 02 A6 */ mflr r0 -/* 80334CB8 00331C18 90 01 00 14 */ stw r0, 0x14(r1) -/* 80334CBC 00331C1C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80334CC0 00331C20 7C BF 2B 78 */ mr r31, r5 -/* 80334CC4 00331C24 80 6D A8 F4 */ lwz r3, lbl_805A94B4@sda21(r13) -/* 80334CC8 00331C28 80 63 00 04 */ lwz r3, 4(r3) -/* 80334CCC 00331C2C 81 83 00 00 */ lwz r12, 0(r3) -/* 80334CD0 00331C30 81 8C 00 38 */ lwz r12, 0x38(r12) -/* 80334CD4 00331C34 7D 89 03 A6 */ mtctr r12 -/* 80334CD8 00331C38 4E 80 04 21 */ bctrl -/* 80334CDC 00331C3C C0 43 00 24 */ lfs f2, 0x24(r3) -/* 80334CE0 00331C40 C0 23 00 14 */ lfs f1, 0x14(r3) -/* 80334CE4 00331C44 C0 03 00 04 */ lfs f0, 4(r3) -/* 80334CE8 00331C48 38 60 00 00 */ li r3, 0 -/* 80334CEC 00331C4C D0 1F 00 00 */ stfs f0, 0(r31) -/* 80334CF0 00331C50 D0 3F 00 04 */ stfs f1, 4(r31) -/* 80334CF4 00331C54 D0 5F 00 08 */ stfs f2, 8(r31) -/* 80334CF8 00331C58 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80334CFC 00331C5C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80334D00 00331C60 7C 08 03 A6 */ mtlr r0 -/* 80334D04 00331C64 38 21 00 10 */ addi r1, r1, 0x10 -/* 80334D08 00331C68 4E 80 00 20 */ blr - -.global GetValue__19CVEParticleVelocityCFiR9CVector3f -GetValue__19CVEParticleVelocityCFiR9CVector3f: -/* 80334D0C 00331C6C 80 8D A8 EC */ lwz r4, lbl_805A94AC@sda21(r13) -/* 80334D10 00331C70 38 60 00 00 */ li r3, 0 -/* 80334D14 00331C74 C0 04 00 1C */ lfs f0, 0x1c(r4) -/* 80334D18 00331C78 D0 05 00 00 */ stfs f0, 0(r5) -/* 80334D1C 00331C7C C0 04 00 20 */ lfs f0, 0x20(r4) -/* 80334D20 00331C80 D0 05 00 04 */ stfs f0, 4(r5) -/* 80334D24 00331C84 C0 04 00 24 */ lfs f0, 0x24(r4) -/* 80334D28 00331C88 D0 05 00 08 */ stfs f0, 8(r5) -/* 80334D2C 00331C8C 4E 80 00 20 */ blr - -.global GetValue__16CVEParticleColorCFiR9CVector3f -GetValue__16CVEParticleColorCFiR9CVector3f: -/* 80334D30 00331C90 80 8D A8 EC */ lwz r4, lbl_805A94AC@sda21(r13) -/* 80334D34 00331C94 38 60 00 00 */ li r3, 0 -/* 80334D38 00331C98 C0 04 00 10 */ lfs f0, 0x10(r4) -/* 80334D3C 00331C9C D0 05 00 00 */ stfs f0, 0(r5) -/* 80334D40 00331CA0 C0 04 00 14 */ lfs f0, 0x14(r4) -/* 80334D44 00331CA4 D0 05 00 04 */ stfs f0, 4(r5) -/* 80334D48 00331CA8 C0 04 00 18 */ lfs f0, 0x18(r4) -/* 80334D4C 00331CAC D0 05 00 08 */ stfs f0, 8(r5) -/* 80334D50 00331CB0 4E 80 00 20 */ blr - -.global GetValue__19CVEParticleLocationCFiR9CVector3f -GetValue__19CVEParticleLocationCFiR9CVector3f: -/* 80334D54 00331CB4 80 8D A8 EC */ lwz r4, lbl_805A94AC@sda21(r13) -/* 80334D58 00331CB8 38 60 00 00 */ li r3, 0 -/* 80334D5C 00331CBC C0 04 00 04 */ lfs f0, 4(r4) -/* 80334D60 00331CC0 D0 05 00 00 */ stfs f0, 0(r5) -/* 80334D64 00331CC4 C0 04 00 08 */ lfs f0, 8(r4) -/* 80334D68 00331CC8 D0 05 00 04 */ stfs f0, 4(r5) -/* 80334D6C 00331CCC C0 04 00 0C */ lfs f0, 0xc(r4) -/* 80334D70 00331CD0 D0 05 00 08 */ stfs f0, 8(r5) -/* 80334D74 00331CD4 4E 80 00 20 */ blr - -.global GetValue__15CVERealToVectorCFiR9CVector3f -GetValue__15CVERealToVectorCFiR9CVector3f: -/* 80334D78 00331CD8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80334D7C 00331CDC 7C 08 02 A6 */ mflr r0 -/* 80334D80 00331CE0 C0 02 CB 54 */ lfs f0, lbl_805AE874@sda21(r2) -/* 80334D84 00331CE4 90 01 00 24 */ stw r0, 0x24(r1) -/* 80334D88 00331CE8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80334D8C 00331CEC 7C BF 2B 78 */ mr r31, r5 -/* 80334D90 00331CF0 38 A1 00 08 */ addi r5, r1, 8 -/* 80334D94 00331CF4 80 63 00 04 */ lwz r3, 4(r3) -/* 80334D98 00331CF8 D0 01 00 08 */ stfs f0, 8(r1) -/* 80334D9C 00331CFC 81 83 00 00 */ lwz r12, 0(r3) -/* 80334DA0 00331D00 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80334DA4 00331D04 7D 89 03 A6 */ mtctr r12 -/* 80334DA8 00331D08 4E 80 04 21 */ bctrl -/* 80334DAC 00331D0C C0 01 00 08 */ lfs f0, 8(r1) -/* 80334DB0 00331D10 38 60 00 00 */ li r3, 0 -/* 80334DB4 00331D14 D0 1F 00 00 */ stfs f0, 0(r31) -/* 80334DB8 00331D18 D0 1F 00 04 */ stfs f0, 4(r31) -/* 80334DBC 00331D1C D0 1F 00 08 */ stfs f0, 8(r31) -/* 80334DC0 00331D20 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80334DC4 00331D24 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80334DC8 00331D28 7C 08 03 A6 */ mtlr r0 -/* 80334DCC 00331D2C 38 21 00 20 */ addi r1, r1, 0x20 -/* 80334DD0 00331D30 4E 80 00 20 */ blr - -.global __dt__15CVERealToVector -__dt__15CVERealToVector: -/* 80334DD4 00331D34 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80334DD8 00331D38 7C 08 02 A6 */ mflr r0 -/* 80334DDC 00331D3C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80334DE0 00331D40 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80334DE4 00331D44 7C 9F 23 78 */ mr r31, r4 -/* 80334DE8 00331D48 93 C1 00 08 */ stw r30, 8(r1) -/* 80334DEC 00331D4C 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80334DF0 00331D50 41 82 00 68 */ beq lbl_80334E58 -/* 80334DF4 00331D54 3C 60 80 3F */ lis r3, lbl_803EE204@ha -/* 80334DF8 00331D58 38 03 E2 04 */ addi r0, r3, lbl_803EE204@l -/* 80334DFC 00331D5C 90 1E 00 00 */ stw r0, 0(r30) -/* 80334E00 00331D60 80 7E 00 04 */ lwz r3, 4(r30) -/* 80334E04 00331D64 28 03 00 00 */ cmplwi r3, 0 -/* 80334E08 00331D68 41 82 00 18 */ beq lbl_80334E20 -/* 80334E0C 00331D6C 81 83 00 00 */ lwz r12, 0(r3) -/* 80334E10 00331D70 38 80 00 01 */ li r4, 1 -/* 80334E14 00331D74 81 8C 00 08 */ lwz r12, 8(r12) -/* 80334E18 00331D78 7D 89 03 A6 */ mtctr r12 -/* 80334E1C 00331D7C 4E 80 04 21 */ bctrl -lbl_80334E20: -/* 80334E20 00331D80 28 1E 00 00 */ cmplwi r30, 0 -/* 80334E24 00331D84 41 82 00 20 */ beq lbl_80334E44 -/* 80334E28 00331D88 3C 60 80 3F */ lis r3, lbl_803EC594@ha -/* 80334E2C 00331D8C 38 03 C5 94 */ addi r0, r3, lbl_803EC594@l -/* 80334E30 00331D90 90 1E 00 00 */ stw r0, 0(r30) -/* 80334E34 00331D94 41 82 00 10 */ beq lbl_80334E44 -/* 80334E38 00331D98 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 80334E3C 00331D9C 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 80334E40 00331DA0 90 1E 00 00 */ stw r0, 0(r30) -lbl_80334E44: -/* 80334E44 00331DA4 7F E0 07 35 */ extsh. r0, r31 -/* 80334E48 00331DA8 40 81 00 10 */ ble lbl_80334E58 -/* 80334E4C 00331DAC 7F C3 F3 78 */ mr r3, r30 -/* 80334E50 00331DB0 38 80 00 08 */ li r4, 8 -/* 80334E54 00331DB4 48 03 7C 11 */ bl sub_8036ca64 -lbl_80334E58: -/* 80334E58 00331DB8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80334E5C 00331DBC 7F C3 F3 78 */ mr r3, r30 -/* 80334E60 00331DC0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80334E64 00331DC4 83 C1 00 08 */ lwz r30, 8(r1) -/* 80334E68 00331DC8 7C 08 03 A6 */ mtlr r0 -/* 80334E6C 00331DCC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80334E70 00331DD0 4E 80 00 20 */ blr - -.global __ct__15CVERealToVectorFP12CRealElement -__ct__15CVERealToVectorFP12CRealElement: -/* 80334E74 00331DD4 3C E0 80 3F */ lis r7, lbl_803EC5A8@ha -/* 80334E78 00331DD8 3C C0 80 3F */ lis r6, lbl_803EC594@ha -/* 80334E7C 00331DDC 38 07 C5 A8 */ addi r0, r7, lbl_803EC5A8@l -/* 80334E80 00331DE0 3C A0 80 3F */ lis r5, lbl_803EE204@ha -/* 80334E84 00331DE4 90 03 00 00 */ stw r0, 0(r3) -/* 80334E88 00331DE8 38 C6 C5 94 */ addi r6, r6, lbl_803EC594@l -/* 80334E8C 00331DEC 38 05 E2 04 */ addi r0, r5, lbl_803EE204@l -/* 80334E90 00331DF0 90 C3 00 00 */ stw r6, 0(r3) -/* 80334E94 00331DF4 90 03 00 00 */ stw r0, 0(r3) -/* 80334E98 00331DF8 90 83 00 04 */ stw r4, 4(r3) -/* 80334E9C 00331DFC 4E 80 00 20 */ blr - -.global GetValue__18CVEKeyframeEmitterCFiR9CVector3f -GetValue__18CVEKeyframeEmitterCFiR9CVector3f: -/* 80334EA0 00331E00 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80334EA4 00331E04 80 03 00 04 */ lwz r0, 4(r3) -/* 80334EA8 00331E08 2C 00 00 00 */ cmpwi r0, 0 -/* 80334EAC 00331E0C 40 82 00 C8 */ bne lbl_80334F74 -/* 80334EB0 00331E10 88 03 00 0C */ lbz r0, 0xc(r3) -/* 80334EB4 00331E14 81 0D A8 D8 */ lwz r8, lbl_805A9498@sda21(r13) -/* 80334EB8 00331E18 28 00 00 00 */ cmplwi r0, 0 -/* 80334EBC 00331E1C 91 01 00 0C */ stw r8, 0xc(r1) -/* 80334EC0 00331E20 41 82 00 64 */ beq lbl_80334F24 -/* 80334EC4 00331E24 80 03 00 10 */ lwz r0, 0x10(r3) -/* 80334EC8 00331E28 7C 08 00 00 */ cmpw r8, r0 -/* 80334ECC 00331E2C 41 80 00 2C */ blt lbl_80334EF8 -/* 80334ED0 00331E30 80 E3 00 14 */ lwz r7, 0x14(r3) -/* 80334ED4 00331E34 7C C7 40 50 */ subf r6, r7, r8 -/* 80334ED8 00331E38 7C 87 00 50 */ subf r4, r7, r0 -/* 80334EDC 00331E3C 7C 06 23 D6 */ divw r0, r6, r4 -/* 80334EE0 00331E40 90 C1 00 0C */ stw r6, 0xc(r1) -/* 80334EE4 00331E44 7C 00 21 D6 */ mullw r0, r0, r4 -/* 80334EE8 00331E48 7C 00 30 50 */ subf r0, r0, r6 -/* 80334EEC 00331E4C 90 01 00 0C */ stw r0, 0xc(r1) -/* 80334EF0 00331E50 7C 00 3A 14 */ add r0, r0, r7 -/* 80334EF4 00331E54 90 01 00 0C */ stw r0, 0xc(r1) -lbl_80334EF8: -/* 80334EF8 00331E58 80 01 00 0C */ lwz r0, 0xc(r1) -/* 80334EFC 00331E5C 80 63 00 24 */ lwz r3, 0x24(r3) -/* 80334F00 00331E60 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80334F04 00331E64 7C 63 02 14 */ add r3, r3, r0 -/* 80334F08 00331E68 C0 03 00 00 */ lfs f0, 0(r3) -/* 80334F0C 00331E6C D0 05 00 00 */ stfs f0, 0(r5) -/* 80334F10 00331E70 C0 03 00 04 */ lfs f0, 4(r3) -/* 80334F14 00331E74 D0 05 00 04 */ stfs f0, 4(r5) -/* 80334F18 00331E78 C0 03 00 08 */ lfs f0, 8(r3) -/* 80334F1C 00331E7C D0 05 00 08 */ stfs f0, 8(r5) -/* 80334F20 00331E80 48 00 00 4C */ b lbl_80334F6C -lbl_80334F24: -/* 80334F24 00331E84 80 C3 00 10 */ lwz r6, 0x10(r3) -/* 80334F28 00331E88 38 81 00 0C */ addi r4, r1, 0xc -/* 80334F2C 00331E8C 38 06 FF FF */ addi r0, r6, -1 -/* 80334F30 00331E90 7C 00 40 00 */ cmpw r0, r8 -/* 80334F34 00331E94 90 01 00 08 */ stw r0, 8(r1) -/* 80334F38 00331E98 40 80 00 08 */ bge lbl_80334F40 -/* 80334F3C 00331E9C 38 81 00 08 */ addi r4, r1, 8 -lbl_80334F40: -/* 80334F40 00331EA0 80 84 00 00 */ lwz r4, 0(r4) -/* 80334F44 00331EA4 80 63 00 24 */ lwz r3, 0x24(r3) -/* 80334F48 00331EA8 1C 04 00 0C */ mulli r0, r4, 0xc -/* 80334F4C 00331EAC 90 81 00 0C */ stw r4, 0xc(r1) -/* 80334F50 00331EB0 7C 63 02 14 */ add r3, r3, r0 -/* 80334F54 00331EB4 C0 03 00 00 */ lfs f0, 0(r3) -/* 80334F58 00331EB8 D0 05 00 00 */ stfs f0, 0(r5) -/* 80334F5C 00331EBC C0 03 00 04 */ lfs f0, 4(r3) -/* 80334F60 00331EC0 D0 05 00 04 */ stfs f0, 4(r5) -/* 80334F64 00331EC4 C0 03 00 08 */ lfs f0, 8(r3) -/* 80334F68 00331EC8 D0 05 00 08 */ stfs f0, 8(r5) -lbl_80334F6C: -/* 80334F6C 00331ECC 38 60 00 00 */ li r3, 0 -/* 80334F70 00331ED0 48 00 00 A8 */ b lbl_80335018 -lbl_80334F74: -/* 80334F74 00331ED4 80 8D A8 E0 */ lwz r4, lbl_805A94A0@sda21(r13) -/* 80334F78 00331ED8 2C 04 00 64 */ cmpwi r4, 0x64 -/* 80334F7C 00331EDC 40 82 00 2C */ bne lbl_80334FA8 -/* 80334F80 00331EE0 1C 04 00 0C */ mulli r0, r4, 0xc -/* 80334F84 00331EE4 80 63 00 24 */ lwz r3, 0x24(r3) -/* 80334F88 00331EE8 7C 63 02 14 */ add r3, r3, r0 -/* 80334F8C 00331EEC C0 03 00 00 */ lfs f0, 0(r3) -/* 80334F90 00331EF0 D0 05 00 00 */ stfs f0, 0(r5) -/* 80334F94 00331EF4 C0 03 00 04 */ lfs f0, 4(r3) -/* 80334F98 00331EF8 D0 05 00 04 */ stfs f0, 4(r5) -/* 80334F9C 00331EFC C0 03 00 08 */ lfs f0, 8(r3) -/* 80334FA0 00331F00 D0 05 00 08 */ stfs f0, 8(r5) -/* 80334FA4 00331F04 48 00 00 70 */ b lbl_80335014 -lbl_80334FA8: -/* 80334FA8 00331F08 38 04 00 01 */ addi r0, r4, 1 -/* 80334FAC 00331F0C 80 C3 00 24 */ lwz r6, 0x24(r3) -/* 80334FB0 00331F10 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80334FB4 00331F14 C0 ED A8 E8 */ lfs f7, lbl_805A94A8@sda21(r13) -/* 80334FB8 00331F18 C0 02 CB 58 */ lfs f0, lbl_805AE878@sda21(r2) -/* 80334FBC 00331F1C 7C 66 02 14 */ add r3, r6, r0 -/* 80334FC0 00331F20 ED 00 38 28 */ fsubs f8, f0, f7 -/* 80334FC4 00331F24 1C 04 00 0C */ mulli r0, r4, 0xc -/* 80334FC8 00331F28 C0 23 00 00 */ lfs f1, 0(r3) -/* 80334FCC 00331F2C C0 03 00 04 */ lfs f0, 4(r3) -/* 80334FD0 00331F30 EC A7 00 72 */ fmuls f5, f7, f1 -/* 80334FD4 00331F34 C0 23 00 08 */ lfs f1, 8(r3) -/* 80334FD8 00331F38 7C 66 02 14 */ add r3, r6, r0 -/* 80334FDC 00331F3C C0 83 00 00 */ lfs f4, 0(r3) -/* 80334FE0 00331F40 EC 67 00 32 */ fmuls f3, f7, f0 -/* 80334FE4 00331F44 C0 43 00 04 */ lfs f2, 4(r3) -/* 80334FE8 00331F48 EC C8 01 32 */ fmuls f6, f8, f4 -/* 80334FEC 00331F4C C0 03 00 08 */ lfs f0, 8(r3) -/* 80334FF0 00331F50 EC 88 00 B2 */ fmuls f4, f8, f2 -/* 80334FF4 00331F54 EC 48 00 32 */ fmuls f2, f8, f0 -/* 80334FF8 00331F58 EC 06 28 2A */ fadds f0, f6, f5 -/* 80334FFC 00331F5C EC 27 00 72 */ fmuls f1, f7, f1 -/* 80335000 00331F60 EC 64 18 2A */ fadds f3, f4, f3 -/* 80335004 00331F64 D0 05 00 00 */ stfs f0, 0(r5) -/* 80335008 00331F68 EC 02 08 2A */ fadds f0, f2, f1 -/* 8033500C 00331F6C D0 65 00 04 */ stfs f3, 4(r5) -/* 80335010 00331F70 D0 05 00 08 */ stfs f0, 8(r5) -lbl_80335014: -/* 80335014 00331F74 38 60 00 00 */ li r3, 0 -lbl_80335018: -/* 80335018 00331F78 38 21 00 10 */ addi r1, r1, 0x10 -/* 8033501C 00331F7C 4E 80 00 20 */ blr - -.global __dt__18CVEKeyframeEmitter -__dt__18CVEKeyframeEmitter: -/* 80335020 00331F80 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80335024 00331F84 7C 08 02 A6 */ mflr r0 -/* 80335028 00331F88 90 01 00 24 */ stw r0, 0x24(r1) -/* 8033502C 00331F8C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80335030 00331F90 7C 9F 23 78 */ mr r31, r4 -/* 80335034 00331F94 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80335038 00331F98 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8033503C 00331F9C 41 82 00 90 */ beq lbl_803350CC -/* 80335040 00331FA0 3C 60 80 3F */ lis r3, lbl_803EE218@ha -/* 80335044 00331FA4 34 1E 00 18 */ addic. r0, r30, 0x18 -/* 80335048 00331FA8 38 03 E2 18 */ addi r0, r3, lbl_803EE218@l -/* 8033504C 00331FAC 90 1E 00 00 */ stw r0, 0(r30) -/* 80335050 00331FB0 41 82 00 44 */ beq lbl_80335094 -/* 80335054 00331FB4 80 1E 00 1C */ lwz r0, 0x1c(r30) -/* 80335058 00331FB8 80 7E 00 24 */ lwz r3, 0x24(r30) -/* 8033505C 00331FBC 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80335060 00331FC0 90 61 00 0C */ stw r3, 0xc(r1) -/* 80335064 00331FC4 7C 64 1B 78 */ mr r4, r3 -/* 80335068 00331FC8 7C 03 02 14 */ add r0, r3, r0 -/* 8033506C 00331FCC 90 61 00 08 */ stw r3, 8(r1) -/* 80335070 00331FD0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80335074 00331FD4 90 01 00 10 */ stw r0, 0x10(r1) -/* 80335078 00331FD8 48 00 00 08 */ b lbl_80335080 -lbl_8033507C: -/* 8033507C 00331FDC 38 84 00 0C */ addi r4, r4, 0xc -lbl_80335080: -/* 80335080 00331FE0 7C 04 00 40 */ cmplw r4, r0 -/* 80335084 00331FE4 40 82 FF F8 */ bne lbl_8033507C -/* 80335088 00331FE8 28 03 00 00 */ cmplwi r3, 0 -/* 8033508C 00331FEC 41 82 00 08 */ beq lbl_80335094 -/* 80335090 00331FF0 4B FE 08 A1 */ bl Free__7CMemoryFPCv -lbl_80335094: -/* 80335094 00331FF4 28 1E 00 00 */ cmplwi r30, 0 -/* 80335098 00331FF8 41 82 00 20 */ beq lbl_803350B8 -/* 8033509C 00331FFC 3C 60 80 3F */ lis r3, lbl_803EC594@ha -/* 803350A0 00332000 38 03 C5 94 */ addi r0, r3, lbl_803EC594@l -/* 803350A4 00332004 90 1E 00 00 */ stw r0, 0(r30) -/* 803350A8 00332008 41 82 00 10 */ beq lbl_803350B8 -/* 803350AC 0033200C 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 803350B0 00332010 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 803350B4 00332014 90 1E 00 00 */ stw r0, 0(r30) -lbl_803350B8: -/* 803350B8 00332018 7F E0 07 35 */ extsh. r0, r31 -/* 803350BC 0033201C 40 81 00 10 */ ble lbl_803350CC -/* 803350C0 00332020 7F C3 F3 78 */ mr r3, r30 -/* 803350C4 00332024 38 80 00 28 */ li r4, 0x28 -/* 803350C8 00332028 48 03 79 9D */ bl sub_8036ca64 -lbl_803350CC: -/* 803350CC 0033202C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 803350D0 00332030 7F C3 F3 78 */ mr r3, r30 -/* 803350D4 00332034 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 803350D8 00332038 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 803350DC 0033203C 7C 08 03 A6 */ mtlr r0 -/* 803350E0 00332040 38 21 00 20 */ addi r1, r1, 0x20 -/* 803350E4 00332044 4E 80 00 20 */ blr - -.global __ct__18CVEKeyframeEmitterFR12CInputStream -__ct__18CVEKeyframeEmitterFR12CInputStream: -/* 803350E8 00332048 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 803350EC 0033204C 7C 08 02 A6 */ mflr r0 -/* 803350F0 00332050 3C A0 80 3F */ lis r5, lbl_803EC594@ha -/* 803350F4 00332054 90 01 00 34 */ stw r0, 0x34(r1) -/* 803350F8 00332058 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 803350FC 0033205C 7C 9F 23 78 */ mr r31, r4 -/* 80335100 00332060 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80335104 00332064 7C 7E 1B 78 */ mr r30, r3 -/* 80335108 00332068 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 8033510C 0033206C 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80335110 00332070 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 80335114 00332074 3C 60 80 3F */ lis r3, lbl_803EE218@ha -/* 80335118 00332078 7F C6 F3 78 */ mr r6, r30 -/* 8033511C 0033207C 93 81 00 20 */ stw r28, 0x20(r1) -/* 80335120 00332080 90 1E 00 00 */ stw r0, 0(r30) -/* 80335124 00332084 38 05 C5 94 */ addi r0, r5, lbl_803EC594@l -/* 80335128 00332088 90 1E 00 00 */ stw r0, 0(r30) -/* 8033512C 0033208C 38 03 E2 18 */ addi r0, r3, lbl_803EE218@l -/* 80335130 00332090 7F E3 FB 78 */ mr r3, r31 -/* 80335134 00332094 90 1E 00 00 */ stw r0, 0(r30) -/* 80335138 00332098 48 00 9B 4D */ bl ReadLong__12CInputStreamFv -/* 8033513C 0033209C 90 7E 00 04 */ stw r3, 4(r30) -/* 80335140 003320A0 7F E3 FB 78 */ mr r3, r31 -/* 80335144 003320A4 48 00 9B 41 */ bl ReadLong__12CInputStreamFv -/* 80335148 003320A8 90 7E 00 08 */ stw r3, 8(r30) -/* 8033514C 003320AC 7F E3 FB 78 */ mr r3, r31 -/* 80335150 003320B0 48 00 9B 8D */ bl ReadBool__12CInputStreamFv -/* 80335154 003320B4 98 7E 00 0C */ stb r3, 0xc(r30) -/* 80335158 003320B8 7F E3 FB 78 */ mr r3, r31 -/* 8033515C 003320BC 48 00 9B 81 */ bl ReadBool__12CInputStreamFv -/* 80335160 003320C0 98 7E 00 0D */ stb r3, 0xd(r30) -/* 80335164 003320C4 7F E3 FB 78 */ mr r3, r31 -/* 80335168 003320C8 48 00 9B 1D */ bl ReadLong__12CInputStreamFv -/* 8033516C 003320CC 90 7E 00 10 */ stw r3, 0x10(r30) -/* 80335170 003320D0 7F E3 FB 78 */ mr r3, r31 -/* 80335174 003320D4 48 00 9B 11 */ bl ReadLong__12CInputStreamFv -/* 80335178 003320D8 90 7E 00 14 */ stw r3, 0x14(r30) -/* 8033517C 003320DC 38 00 00 00 */ li r0, 0 -/* 80335180 003320E0 7F E3 FB 78 */ mr r3, r31 -/* 80335184 003320E4 90 1E 00 1C */ stw r0, 0x1c(r30) -/* 80335188 003320E8 90 1E 00 20 */ stw r0, 0x20(r30) -/* 8033518C 003320EC 90 1E 00 24 */ stw r0, 0x24(r30) -/* 80335190 003320F0 48 00 9A F5 */ bl ReadLong__12CInputStreamFv -/* 80335194 003320F4 7C 7C 1B 78 */ mr r28, r3 -/* 80335198 003320F8 38 7E 00 18 */ addi r3, r30, 0x18 -/* 8033519C 003320FC 7F 84 E3 78 */ mr r4, r28 -/* 803351A0 00332100 4B D2 8B 59 */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" -/* 803351A4 00332104 3B A0 00 00 */ li r29, 0 -/* 803351A8 00332108 48 00 00 74 */ b lbl_8033521C -lbl_803351AC: -/* 803351AC 0033210C 7F E4 FB 78 */ mr r4, r31 -/* 803351B0 00332110 38 61 00 08 */ addi r3, r1, 8 -/* 803351B4 00332114 4B FD F9 D9 */ bl __ct__9CVector3fFR12CInputStream -/* 803351B8 00332118 80 1E 00 1C */ lwz r0, 0x1c(r30) -/* 803351BC 0033211C 80 BE 00 20 */ lwz r5, 0x20(r30) -/* 803351C0 00332120 7C 00 28 00 */ cmpw r0, r5 -/* 803351C4 00332124 41 80 00 1C */ blt lbl_803351E0 -/* 803351C8 00332128 2C 05 00 00 */ cmpwi r5, 0 -/* 803351CC 0033212C 38 7E 00 18 */ addi r3, r30, 0x18 -/* 803351D0 00332130 38 80 00 04 */ li r4, 4 -/* 803351D4 00332134 41 82 00 08 */ beq lbl_803351DC -/* 803351D8 00332138 54 A4 08 3C */ slwi r4, r5, 1 -lbl_803351DC: -/* 803351DC 0033213C 4B D2 8B 1D */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>Fi" -lbl_803351E0: -/* 803351E0 00332140 80 1E 00 1C */ lwz r0, 0x1c(r30) -/* 803351E4 00332144 80 7E 00 24 */ lwz r3, 0x24(r30) -/* 803351E8 00332148 1C 00 00 0C */ mulli r0, r0, 0xc -/* 803351EC 0033214C 7C 63 02 15 */ add. r3, r3, r0 -/* 803351F0 00332150 41 82 00 1C */ beq lbl_8033520C -/* 803351F4 00332154 C0 01 00 08 */ lfs f0, 8(r1) -/* 803351F8 00332158 D0 03 00 00 */ stfs f0, 0(r3) -/* 803351FC 0033215C C0 01 00 0C */ lfs f0, 0xc(r1) -/* 80335200 00332160 D0 03 00 04 */ stfs f0, 4(r3) -/* 80335204 00332164 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 80335208 00332168 D0 03 00 08 */ stfs f0, 8(r3) -lbl_8033520C: -/* 8033520C 0033216C 80 7E 00 1C */ lwz r3, 0x1c(r30) -/* 80335210 00332170 3B BD 00 01 */ addi r29, r29, 1 -/* 80335214 00332174 38 03 00 01 */ addi r0, r3, 1 -/* 80335218 00332178 90 1E 00 1C */ stw r0, 0x1c(r30) -lbl_8033521C: -/* 8033521C 0033217C 7C 1D E0 00 */ cmpw r29, r28 -/* 80335220 00332180 41 80 FF 8C */ blt lbl_803351AC -/* 80335224 00332184 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80335228 00332188 7F C3 F3 78 */ mr r3, r30 -/* 8033522C 0033218C 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80335230 00332190 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80335234 00332194 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80335238 00332198 83 81 00 20 */ lwz r28, 0x20(r1) -/* 8033523C 0033219C 7C 08 03 A6 */ mtlr r0 -/* 80335240 003321A0 38 21 00 30 */ addi r1, r1, 0x30 -/* 80335244 003321A4 4E 80 00 20 */ blr - -.global GetValue__8CVEPulseCFiR9CVector3f -GetValue__8CVEPulseCFiR9CVector3f: -/* 80335248 003321A8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8033524C 003321AC 7C 08 02 A6 */ mflr r0 -/* 80335250 003321B0 90 01 00 24 */ stw r0, 0x24(r1) -/* 80335254 003321B4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80335258 003321B8 7C BF 2B 78 */ mr r31, r5 -/* 8033525C 003321BC 38 A1 00 0C */ addi r5, r1, 0xc -/* 80335260 003321C0 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80335264 003321C4 7C 9E 23 78 */ mr r30, r4 -/* 80335268 003321C8 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8033526C 003321CC 7C 7D 1B 78 */ mr r29, r3 -/* 80335270 003321D0 80 63 00 04 */ lwz r3, 4(r3) -/* 80335274 003321D4 81 83 00 00 */ lwz r12, 0(r3) -/* 80335278 003321D8 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8033527C 003321DC 7D 89 03 A6 */ mtctr r12 -/* 80335280 003321E0 4E 80 04 21 */ bctrl -/* 80335284 003321E4 80 7D 00 08 */ lwz r3, 8(r29) -/* 80335288 003321E8 7F C4 F3 78 */ mr r4, r30 -/* 8033528C 003321EC 38 A1 00 08 */ addi r5, r1, 8 -/* 80335290 003321F0 81 83 00 00 */ lwz r12, 0(r3) -/* 80335294 003321F4 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80335298 003321F8 7D 89 03 A6 */ mtctr r12 -/* 8033529C 003321FC 4E 80 04 21 */ bctrl -/* 803352A0 00332200 80 61 00 08 */ lwz r3, 8(r1) -/* 803352A4 00332204 80 81 00 0C */ lwz r4, 0xc(r1) -/* 803352A8 00332208 38 A3 00 01 */ addi r5, r3, 1 -/* 803352AC 0033220C 7C A4 2A 15 */ add. r5, r4, r5 -/* 803352B0 00332210 40 80 00 08 */ bge lbl_803352B8 -/* 803352B4 00332214 38 A0 00 01 */ li r5, 1 -lbl_803352B8: -/* 803352B8 00332218 2C 03 00 01 */ cmpwi r3, 1 -/* 803352BC 0033221C 41 80 00 58 */ blt lbl_80335314 -/* 803352C0 00332220 7C 1E 2B D6 */ divw r0, r30, r5 -/* 803352C4 00332224 7C 00 29 D6 */ mullw r0, r0, r5 -/* 803352C8 00332228 7C 00 F0 50 */ subf r0, r0, r30 -/* 803352CC 0033222C 7C 00 20 00 */ cmpw r0, r4 -/* 803352D0 00332230 40 81 00 24 */ ble lbl_803352F4 -/* 803352D4 00332234 80 7D 00 10 */ lwz r3, 0x10(r29) -/* 803352D8 00332238 7F C4 F3 78 */ mr r4, r30 -/* 803352DC 0033223C 7F E5 FB 78 */ mr r5, r31 -/* 803352E0 00332240 81 83 00 00 */ lwz r12, 0(r3) -/* 803352E4 00332244 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 803352E8 00332248 7D 89 03 A6 */ mtctr r12 -/* 803352EC 0033224C 4E 80 04 21 */ bctrl -/* 803352F0 00332250 48 00 00 40 */ b lbl_80335330 -lbl_803352F4: -/* 803352F4 00332254 80 7D 00 0C */ lwz r3, 0xc(r29) -/* 803352F8 00332258 7F C4 F3 78 */ mr r4, r30 -/* 803352FC 0033225C 7F E5 FB 78 */ mr r5, r31 -/* 80335300 00332260 81 83 00 00 */ lwz r12, 0(r3) -/* 80335304 00332264 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80335308 00332268 7D 89 03 A6 */ mtctr r12 -/* 8033530C 0033226C 4E 80 04 21 */ bctrl -/* 80335310 00332270 48 00 00 20 */ b lbl_80335330 -lbl_80335314: -/* 80335314 00332274 80 7D 00 0C */ lwz r3, 0xc(r29) -/* 80335318 00332278 7F C4 F3 78 */ mr r4, r30 -/* 8033531C 0033227C 7F E5 FB 78 */ mr r5, r31 -/* 80335320 00332280 81 83 00 00 */ lwz r12, 0(r3) -/* 80335324 00332284 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80335328 00332288 7D 89 03 A6 */ mtctr r12 -/* 8033532C 0033228C 4E 80 04 21 */ bctrl -lbl_80335330: -/* 80335330 00332290 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80335334 00332294 38 60 00 00 */ li r3, 0 -/* 80335338 00332298 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8033533C 0033229C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80335340 003322A0 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80335344 003322A4 7C 08 03 A6 */ mtlr r0 -/* 80335348 003322A8 38 21 00 20 */ addi r1, r1, 0x20 -/* 8033534C 003322AC 4E 80 00 20 */ blr - -.global __dt__8CVEPulse -__dt__8CVEPulse: -/* 80335350 003322B0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80335354 003322B4 7C 08 02 A6 */ mflr r0 -/* 80335358 003322B8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8033535C 003322BC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80335360 003322C0 7C 9F 23 78 */ mr r31, r4 -/* 80335364 003322C4 93 C1 00 08 */ stw r30, 8(r1) -/* 80335368 003322C8 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8033536C 003322CC 41 82 00 C8 */ beq lbl_80335434 -/* 80335370 003322D0 3C 60 80 3F */ lis r3, lbl_803EE22C@ha -/* 80335374 003322D4 38 03 E2 2C */ addi r0, r3, lbl_803EE22C@l -/* 80335378 003322D8 90 1E 00 00 */ stw r0, 0(r30) -/* 8033537C 003322DC 80 7E 00 04 */ lwz r3, 4(r30) -/* 80335380 003322E0 28 03 00 00 */ cmplwi r3, 0 -/* 80335384 003322E4 41 82 00 18 */ beq lbl_8033539C -/* 80335388 003322E8 81 83 00 00 */ lwz r12, 0(r3) -/* 8033538C 003322EC 38 80 00 01 */ li r4, 1 -/* 80335390 003322F0 81 8C 00 08 */ lwz r12, 8(r12) -/* 80335394 003322F4 7D 89 03 A6 */ mtctr r12 -/* 80335398 003322F8 4E 80 04 21 */ bctrl -lbl_8033539C: -/* 8033539C 003322FC 80 7E 00 08 */ lwz r3, 8(r30) -/* 803353A0 00332300 28 03 00 00 */ cmplwi r3, 0 -/* 803353A4 00332304 41 82 00 18 */ beq lbl_803353BC -/* 803353A8 00332308 81 83 00 00 */ lwz r12, 0(r3) -/* 803353AC 0033230C 38 80 00 01 */ li r4, 1 -/* 803353B0 00332310 81 8C 00 08 */ lwz r12, 8(r12) -/* 803353B4 00332314 7D 89 03 A6 */ mtctr r12 -/* 803353B8 00332318 4E 80 04 21 */ bctrl -lbl_803353BC: -/* 803353BC 0033231C 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 803353C0 00332320 28 03 00 00 */ cmplwi r3, 0 -/* 803353C4 00332324 41 82 00 18 */ beq lbl_803353DC -/* 803353C8 00332328 81 83 00 00 */ lwz r12, 0(r3) -/* 803353CC 0033232C 38 80 00 01 */ li r4, 1 -/* 803353D0 00332330 81 8C 00 08 */ lwz r12, 8(r12) -/* 803353D4 00332334 7D 89 03 A6 */ mtctr r12 -/* 803353D8 00332338 4E 80 04 21 */ bctrl -lbl_803353DC: -/* 803353DC 0033233C 80 7E 00 10 */ lwz r3, 0x10(r30) -/* 803353E0 00332340 28 03 00 00 */ cmplwi r3, 0 -/* 803353E4 00332344 41 82 00 18 */ beq lbl_803353FC -/* 803353E8 00332348 81 83 00 00 */ lwz r12, 0(r3) -/* 803353EC 0033234C 38 80 00 01 */ li r4, 1 -/* 803353F0 00332350 81 8C 00 08 */ lwz r12, 8(r12) -/* 803353F4 00332354 7D 89 03 A6 */ mtctr r12 -/* 803353F8 00332358 4E 80 04 21 */ bctrl -lbl_803353FC: -/* 803353FC 0033235C 28 1E 00 00 */ cmplwi r30, 0 -/* 80335400 00332360 41 82 00 20 */ beq lbl_80335420 -/* 80335404 00332364 3C 60 80 3F */ lis r3, lbl_803EC594@ha -/* 80335408 00332368 38 03 C5 94 */ addi r0, r3, lbl_803EC594@l -/* 8033540C 0033236C 90 1E 00 00 */ stw r0, 0(r30) -/* 80335410 00332370 41 82 00 10 */ beq lbl_80335420 -/* 80335414 00332374 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 80335418 00332378 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 8033541C 0033237C 90 1E 00 00 */ stw r0, 0(r30) -lbl_80335420: -/* 80335420 00332380 7F E0 07 35 */ extsh. r0, r31 -/* 80335424 00332384 40 81 00 10 */ ble lbl_80335434 -/* 80335428 00332388 7F C3 F3 78 */ mr r3, r30 -/* 8033542C 0033238C 38 80 00 14 */ li r4, 0x14 -/* 80335430 00332390 48 03 76 35 */ bl sub_8036ca64 -lbl_80335434: -/* 80335434 00332394 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80335438 00332398 7F C3 F3 78 */ mr r3, r30 -/* 8033543C 0033239C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80335440 003323A0 83 C1 00 08 */ lwz r30, 8(r1) -/* 80335444 003323A4 7C 08 03 A6 */ mtlr r0 -/* 80335448 003323A8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8033544C 003323AC 4E 80 00 20 */ blr - -.global __ct__8CVEPulseFP11CIntElementP11CIntElementP14CVectorElementP14CVectorElement -__ct__8CVEPulseFP11CIntElementP11CIntElementP14CVectorElementP14CVectorElement: -/* 80335450 003323B0 3D 40 80 3F */ lis r10, lbl_803EC5A8@ha -/* 80335454 003323B4 3D 20 80 3F */ lis r9, lbl_803EC594@ha -/* 80335458 003323B8 38 0A C5 A8 */ addi r0, r10, lbl_803EC5A8@l -/* 8033545C 003323BC 3D 00 80 3F */ lis r8, lbl_803EE22C@ha -/* 80335460 003323C0 90 03 00 00 */ stw r0, 0(r3) -/* 80335464 003323C4 39 29 C5 94 */ addi r9, r9, lbl_803EC594@l -/* 80335468 003323C8 38 08 E2 2C */ addi r0, r8, lbl_803EE22C@l -/* 8033546C 003323CC 91 23 00 00 */ stw r9, 0(r3) -/* 80335470 003323D0 90 03 00 00 */ stw r0, 0(r3) -/* 80335474 003323D4 90 83 00 04 */ stw r4, 4(r3) -/* 80335478 003323D8 90 A3 00 08 */ stw r5, 8(r3) -/* 8033547C 003323DC 90 C3 00 0C */ stw r6, 0xc(r3) -/* 80335480 003323E0 90 E3 00 10 */ stw r7, 0x10(r3) -/* 80335484 003323E4 4E 80 00 20 */ blr - -.global GetValue__11CVEMultiplyCFiR9CVector3f -GetValue__11CVEMultiplyCFiR9CVector3f: -/* 80335488 003323E8 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8033548C 003323EC 7C 08 02 A6 */ mflr r0 -/* 80335490 003323F0 3C C0 80 5A */ lis r6, skZero3f@ha -/* 80335494 003323F4 90 01 00 34 */ stw r0, 0x34(r1) -/* 80335498 003323F8 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8033549C 003323FC 7C BF 2B 78 */ mr r31, r5 -/* 803354A0 00332400 38 A1 00 14 */ addi r5, r1, 0x14 -/* 803354A4 00332404 93 C1 00 28 */ stw r30, 0x28(r1) -/* 803354A8 00332408 7C 9E 23 78 */ mr r30, r4 -/* 803354AC 0033240C 93 A1 00 24 */ stw r29, 0x24(r1) -/* 803354B0 00332410 7C 7D 1B 78 */ mr r29, r3 -/* 803354B4 00332414 38 66 66 A0 */ addi r3, r6, skZero3f@l -/* 803354B8 00332418 C0 03 00 00 */ lfs f0, 0(r3) -/* 803354BC 0033241C C0 23 00 04 */ lfs f1, 4(r3) -/* 803354C0 00332420 C0 43 00 08 */ lfs f2, 8(r3) -/* 803354C4 00332424 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 803354C8 00332428 80 7D 00 04 */ lwz r3, 4(r29) -/* 803354CC 0033242C D0 21 00 18 */ stfs f1, 0x18(r1) -/* 803354D0 00332430 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 803354D4 00332434 D0 01 00 08 */ stfs f0, 8(r1) -/* 803354D8 00332438 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 803354DC 0033243C D0 41 00 10 */ stfs f2, 0x10(r1) -/* 803354E0 00332440 81 83 00 00 */ lwz r12, 0(r3) -/* 803354E4 00332444 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 803354E8 00332448 7D 89 03 A6 */ mtctr r12 -/* 803354EC 0033244C 4E 80 04 21 */ bctrl -/* 803354F0 00332450 80 7D 00 08 */ lwz r3, 8(r29) -/* 803354F4 00332454 7F C4 F3 78 */ mr r4, r30 -/* 803354F8 00332458 38 A1 00 08 */ addi r5, r1, 8 -/* 803354FC 0033245C 81 83 00 00 */ lwz r12, 0(r3) -/* 80335500 00332460 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80335504 00332464 7D 89 03 A6 */ mtctr r12 -/* 80335508 00332468 4E 80 04 21 */ bctrl -/* 8033550C 0033246C C0 21 00 14 */ lfs f1, 0x14(r1) -/* 80335510 00332470 38 60 00 00 */ li r3, 0 -/* 80335514 00332474 C0 01 00 08 */ lfs f0, 8(r1) -/* 80335518 00332478 C0 61 00 18 */ lfs f3, 0x18(r1) -/* 8033551C 0033247C C0 41 00 0C */ lfs f2, 0xc(r1) -/* 80335520 00332480 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80335524 00332484 C0 81 00 1C */ lfs f4, 0x1c(r1) -/* 80335528 00332488 C0 21 00 10 */ lfs f1, 0x10(r1) -/* 8033552C 0033248C EC 43 00 B2 */ fmuls f2, f3, f2 -/* 80335530 00332490 D0 1F 00 00 */ stfs f0, 0(r31) -/* 80335534 00332494 EC 04 00 72 */ fmuls f0, f4, f1 -/* 80335538 00332498 D0 5F 00 04 */ stfs f2, 4(r31) -/* 8033553C 0033249C D0 1F 00 08 */ stfs f0, 8(r31) -/* 80335540 003324A0 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80335544 003324A4 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80335548 003324A8 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 8033554C 003324AC 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80335550 003324B0 7C 08 03 A6 */ mtlr r0 -/* 80335554 003324B4 38 21 00 30 */ addi r1, r1, 0x30 -/* 80335558 003324B8 4E 80 00 20 */ blr - -.global __dt__11CVEMultiply -__dt__11CVEMultiply: -/* 8033555C 003324BC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80335560 003324C0 7C 08 02 A6 */ mflr r0 -/* 80335564 003324C4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80335568 003324C8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8033556C 003324CC 7C 9F 23 78 */ mr r31, r4 -/* 80335570 003324D0 93 C1 00 08 */ stw r30, 8(r1) -/* 80335574 003324D4 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80335578 003324D8 41 82 00 88 */ beq lbl_80335600 -/* 8033557C 003324DC 3C 60 80 3F */ lis r3, lbl_803EE240@ha -/* 80335580 003324E0 38 03 E2 40 */ addi r0, r3, lbl_803EE240@l -/* 80335584 003324E4 90 1E 00 00 */ stw r0, 0(r30) -/* 80335588 003324E8 80 7E 00 04 */ lwz r3, 4(r30) -/* 8033558C 003324EC 28 03 00 00 */ cmplwi r3, 0 -/* 80335590 003324F0 41 82 00 18 */ beq lbl_803355A8 -/* 80335594 003324F4 81 83 00 00 */ lwz r12, 0(r3) -/* 80335598 003324F8 38 80 00 01 */ li r4, 1 -/* 8033559C 003324FC 81 8C 00 08 */ lwz r12, 8(r12) -/* 803355A0 00332500 7D 89 03 A6 */ mtctr r12 -/* 803355A4 00332504 4E 80 04 21 */ bctrl -lbl_803355A8: -/* 803355A8 00332508 80 7E 00 08 */ lwz r3, 8(r30) -/* 803355AC 0033250C 28 03 00 00 */ cmplwi r3, 0 -/* 803355B0 00332510 41 82 00 18 */ beq lbl_803355C8 -/* 803355B4 00332514 81 83 00 00 */ lwz r12, 0(r3) -/* 803355B8 00332518 38 80 00 01 */ li r4, 1 -/* 803355BC 0033251C 81 8C 00 08 */ lwz r12, 8(r12) -/* 803355C0 00332520 7D 89 03 A6 */ mtctr r12 -/* 803355C4 00332524 4E 80 04 21 */ bctrl -lbl_803355C8: -/* 803355C8 00332528 28 1E 00 00 */ cmplwi r30, 0 -/* 803355CC 0033252C 41 82 00 20 */ beq lbl_803355EC -/* 803355D0 00332530 3C 60 80 3F */ lis r3, lbl_803EC594@ha -/* 803355D4 00332534 38 03 C5 94 */ addi r0, r3, lbl_803EC594@l -/* 803355D8 00332538 90 1E 00 00 */ stw r0, 0(r30) -/* 803355DC 0033253C 41 82 00 10 */ beq lbl_803355EC -/* 803355E0 00332540 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 803355E4 00332544 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 803355E8 00332548 90 1E 00 00 */ stw r0, 0(r30) -lbl_803355EC: -/* 803355EC 0033254C 7F E0 07 35 */ extsh. r0, r31 -/* 803355F0 00332550 40 81 00 10 */ ble lbl_80335600 -/* 803355F4 00332554 7F C3 F3 78 */ mr r3, r30 -/* 803355F8 00332558 38 80 00 0C */ li r4, 0xc -/* 803355FC 0033255C 48 03 74 69 */ bl sub_8036ca64 -lbl_80335600: -/* 80335600 00332560 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80335604 00332564 7F C3 F3 78 */ mr r3, r30 -/* 80335608 00332568 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8033560C 0033256C 83 C1 00 08 */ lwz r30, 8(r1) -/* 80335610 00332570 7C 08 03 A6 */ mtlr r0 -/* 80335614 00332574 38 21 00 10 */ addi r1, r1, 0x10 -/* 80335618 00332578 4E 80 00 20 */ blr - -.global __ct__11CVEMultiplyFP14CVectorElementP14CVectorElement -__ct__11CVEMultiplyFP14CVectorElementP14CVectorElement: -/* 8033561C 0033257C 3D 00 80 3F */ lis r8, lbl_803EC5A8@ha -/* 80335620 00332580 3C E0 80 3F */ lis r7, lbl_803EC594@ha -/* 80335624 00332584 38 08 C5 A8 */ addi r0, r8, lbl_803EC5A8@l -/* 80335628 00332588 3C C0 80 3F */ lis r6, lbl_803EE240@ha -/* 8033562C 0033258C 90 03 00 00 */ stw r0, 0(r3) -/* 80335630 00332590 38 E7 C5 94 */ addi r7, r7, lbl_803EC594@l -/* 80335634 00332594 38 06 E2 40 */ addi r0, r6, lbl_803EE240@l -/* 80335638 00332598 90 E3 00 00 */ stw r7, 0(r3) -/* 8033563C 0033259C 90 03 00 00 */ stw r0, 0(r3) -/* 80335640 003325A0 90 83 00 04 */ stw r4, 4(r3) -/* 80335644 003325A4 90 A3 00 08 */ stw r5, 8(r3) -/* 80335648 003325A8 4E 80 00 20 */ blr - -.global GetValue__6CVEAddCFiR9CVector3f -GetValue__6CVEAddCFiR9CVector3f: -/* 8033564C 003325AC 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80335650 003325B0 7C 08 02 A6 */ mflr r0 -/* 80335654 003325B4 3C C0 80 5A */ lis r6, skZero3f@ha -/* 80335658 003325B8 90 01 00 34 */ stw r0, 0x34(r1) -/* 8033565C 003325BC 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80335660 003325C0 7C BF 2B 78 */ mr r31, r5 -/* 80335664 003325C4 38 A1 00 14 */ addi r5, r1, 0x14 -/* 80335668 003325C8 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8033566C 003325CC 7C 9E 23 78 */ mr r30, r4 -/* 80335670 003325D0 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80335674 003325D4 7C 7D 1B 78 */ mr r29, r3 -/* 80335678 003325D8 38 66 66 A0 */ addi r3, r6, skZero3f@l -/* 8033567C 003325DC C0 03 00 00 */ lfs f0, 0(r3) -/* 80335680 003325E0 C0 23 00 04 */ lfs f1, 4(r3) -/* 80335684 003325E4 C0 43 00 08 */ lfs f2, 8(r3) -/* 80335688 003325E8 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 8033568C 003325EC 80 7D 00 04 */ lwz r3, 4(r29) -/* 80335690 003325F0 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 80335694 003325F4 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 80335698 003325F8 D0 01 00 08 */ stfs f0, 8(r1) -/* 8033569C 003325FC D0 21 00 0C */ stfs f1, 0xc(r1) -/* 803356A0 00332600 D0 41 00 10 */ stfs f2, 0x10(r1) -/* 803356A4 00332604 81 83 00 00 */ lwz r12, 0(r3) -/* 803356A8 00332608 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 803356AC 0033260C 7D 89 03 A6 */ mtctr r12 -/* 803356B0 00332610 4E 80 04 21 */ bctrl -/* 803356B4 00332614 80 7D 00 08 */ lwz r3, 8(r29) -/* 803356B8 00332618 7F C4 F3 78 */ mr r4, r30 -/* 803356BC 0033261C 38 A1 00 08 */ addi r5, r1, 8 -/* 803356C0 00332620 81 83 00 00 */ lwz r12, 0(r3) -/* 803356C4 00332624 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 803356C8 00332628 7D 89 03 A6 */ mtctr r12 -/* 803356CC 0033262C 4E 80 04 21 */ bctrl -/* 803356D0 00332630 C0 21 00 14 */ lfs f1, 0x14(r1) -/* 803356D4 00332634 38 60 00 00 */ li r3, 0 -/* 803356D8 00332638 C0 01 00 08 */ lfs f0, 8(r1) -/* 803356DC 0033263C C0 81 00 18 */ lfs f4, 0x18(r1) -/* 803356E0 00332640 C0 61 00 0C */ lfs f3, 0xc(r1) -/* 803356E4 00332644 EC 01 00 2A */ fadds f0, f1, f0 -/* 803356E8 00332648 C0 41 00 1C */ lfs f2, 0x1c(r1) -/* 803356EC 0033264C C0 21 00 10 */ lfs f1, 0x10(r1) -/* 803356F0 00332650 EC 64 18 2A */ fadds f3, f4, f3 -/* 803356F4 00332654 D0 1F 00 00 */ stfs f0, 0(r31) -/* 803356F8 00332658 EC 02 08 2A */ fadds f0, f2, f1 -/* 803356FC 0033265C D0 7F 00 04 */ stfs f3, 4(r31) -/* 80335700 00332660 D0 1F 00 08 */ stfs f0, 8(r31) -/* 80335704 00332664 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80335708 00332668 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8033570C 0033266C 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80335710 00332670 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80335714 00332674 7C 08 03 A6 */ mtlr r0 -/* 80335718 00332678 38 21 00 30 */ addi r1, r1, 0x30 -/* 8033571C 0033267C 4E 80 00 20 */ blr - -.global __dt__6CVEAdd -__dt__6CVEAdd: -/* 80335720 00332680 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80335724 00332684 7C 08 02 A6 */ mflr r0 -/* 80335728 00332688 90 01 00 14 */ stw r0, 0x14(r1) -/* 8033572C 0033268C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80335730 00332690 7C 9F 23 78 */ mr r31, r4 -/* 80335734 00332694 93 C1 00 08 */ stw r30, 8(r1) -/* 80335738 00332698 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8033573C 0033269C 41 82 00 88 */ beq lbl_803357C4 -/* 80335740 003326A0 3C 60 80 3F */ lis r3, lbl_803EE254@ha -/* 80335744 003326A4 38 03 E2 54 */ addi r0, r3, lbl_803EE254@l -/* 80335748 003326A8 90 1E 00 00 */ stw r0, 0(r30) -/* 8033574C 003326AC 80 7E 00 04 */ lwz r3, 4(r30) -/* 80335750 003326B0 28 03 00 00 */ cmplwi r3, 0 -/* 80335754 003326B4 41 82 00 18 */ beq lbl_8033576C -/* 80335758 003326B8 81 83 00 00 */ lwz r12, 0(r3) -/* 8033575C 003326BC 38 80 00 01 */ li r4, 1 -/* 80335760 003326C0 81 8C 00 08 */ lwz r12, 8(r12) -/* 80335764 003326C4 7D 89 03 A6 */ mtctr r12 -/* 80335768 003326C8 4E 80 04 21 */ bctrl -lbl_8033576C: -/* 8033576C 003326CC 80 7E 00 08 */ lwz r3, 8(r30) -/* 80335770 003326D0 28 03 00 00 */ cmplwi r3, 0 -/* 80335774 003326D4 41 82 00 18 */ beq lbl_8033578C -/* 80335778 003326D8 81 83 00 00 */ lwz r12, 0(r3) -/* 8033577C 003326DC 38 80 00 01 */ li r4, 1 -/* 80335780 003326E0 81 8C 00 08 */ lwz r12, 8(r12) -/* 80335784 003326E4 7D 89 03 A6 */ mtctr r12 -/* 80335788 003326E8 4E 80 04 21 */ bctrl -lbl_8033578C: -/* 8033578C 003326EC 28 1E 00 00 */ cmplwi r30, 0 -/* 80335790 003326F0 41 82 00 20 */ beq lbl_803357B0 -/* 80335794 003326F4 3C 60 80 3F */ lis r3, lbl_803EC594@ha -/* 80335798 003326F8 38 03 C5 94 */ addi r0, r3, lbl_803EC594@l -/* 8033579C 003326FC 90 1E 00 00 */ stw r0, 0(r30) -/* 803357A0 00332700 41 82 00 10 */ beq lbl_803357B0 -/* 803357A4 00332704 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 803357A8 00332708 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 803357AC 0033270C 90 1E 00 00 */ stw r0, 0(r30) -lbl_803357B0: -/* 803357B0 00332710 7F E0 07 35 */ extsh. r0, r31 -/* 803357B4 00332714 40 81 00 10 */ ble lbl_803357C4 -/* 803357B8 00332718 7F C3 F3 78 */ mr r3, r30 -/* 803357BC 0033271C 38 80 00 0C */ li r4, 0xc -/* 803357C0 00332720 48 03 72 A5 */ bl sub_8036ca64 -lbl_803357C4: -/* 803357C4 00332724 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803357C8 00332728 7F C3 F3 78 */ mr r3, r30 -/* 803357CC 0033272C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 803357D0 00332730 83 C1 00 08 */ lwz r30, 8(r1) -/* 803357D4 00332734 7C 08 03 A6 */ mtlr r0 -/* 803357D8 00332738 38 21 00 10 */ addi r1, r1, 0x10 -/* 803357DC 0033273C 4E 80 00 20 */ blr - -.global __ct__6CVEAddFP14CVectorElementP14CVectorElement -__ct__6CVEAddFP14CVectorElementP14CVectorElement: -/* 803357E0 00332740 3D 00 80 3F */ lis r8, lbl_803EC5A8@ha -/* 803357E4 00332744 3C E0 80 3F */ lis r7, lbl_803EC594@ha -/* 803357E8 00332748 38 08 C5 A8 */ addi r0, r8, lbl_803EC5A8@l -/* 803357EC 0033274C 3C C0 80 3F */ lis r6, lbl_803EE254@ha -/* 803357F0 00332750 90 03 00 00 */ stw r0, 0(r3) -/* 803357F4 00332754 38 E7 C5 94 */ addi r7, r7, lbl_803EC594@l -/* 803357F8 00332758 38 06 E2 54 */ addi r0, r6, lbl_803EE254@l -/* 803357FC 0033275C 90 E3 00 00 */ stw r7, 0(r3) -/* 80335800 00332760 90 03 00 00 */ stw r0, 0(r3) -/* 80335804 00332764 90 83 00 04 */ stw r4, 4(r3) -/* 80335808 00332768 90 A3 00 08 */ stw r5, 8(r3) -/* 8033580C 0033276C 4E 80 00 20 */ blr - -.global GetValue__16CVECircleClusterCFiR9CVector3f -GetValue__16CVECircleClusterCFiR9CVector3f: -/* 80335810 00332770 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 80335814 00332774 7C 08 02 A6 */ mflr r0 -/* 80335818 00332778 90 01 00 74 */ stw r0, 0x74(r1) -/* 8033581C 0033277C DB E1 00 60 */ stfd f31, 0x60(r1) -/* 80335820 00332780 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 -/* 80335824 00332784 DB C1 00 50 */ stfd f30, 0x50(r1) -/* 80335828 00332788 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 -/* 8033582C 0033278C DB A1 00 40 */ stfd f29, 0x40(r1) -/* 80335830 00332790 F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0 -/* 80335834 00332794 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 80335838 00332798 93 C1 00 38 */ stw r30, 0x38(r1) -/* 8033583C 0033279C 93 A1 00 34 */ stw r29, 0x34(r1) -/* 80335840 003327A0 7C 9E 23 78 */ mr r30, r4 -/* 80335844 003327A4 C0 02 CB 54 */ lfs f0, lbl_805AE874@sda21(r2) -/* 80335848 003327A8 6F C6 80 00 */ xoris r6, r30, 0x8000 -/* 8033584C 003327AC 3C 00 43 30 */ lis r0, 0x4330 -/* 80335850 003327B0 90 C1 00 2C */ stw r6, 0x2c(r1) -/* 80335854 003327B4 7C 7D 1B 78 */ mr r29, r3 -/* 80335858 003327B8 7C BF 2B 78 */ mr r31, r5 -/* 8033585C 003327BC C8 42 CB 60 */ lfd f2, lbl_805AE880@sda21(r2) -/* 80335860 003327C0 90 01 00 28 */ stw r0, 0x28(r1) -/* 80335864 003327C4 38 A1 00 18 */ addi r5, r1, 0x18 -/* 80335868 003327C8 80 63 00 04 */ lwz r3, 4(r3) -/* 8033586C 003327CC C8 21 00 28 */ lfd f1, 0x28(r1) -/* 80335870 003327D0 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 80335874 003327D4 EC 21 10 28 */ fsubs f1, f1, f2 -/* 80335878 003327D8 C3 BD 00 20 */ lfs f29, 0x20(r29) -/* 8033587C 003327DC D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 80335880 003327E0 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 80335884 003327E4 EF BD 00 72 */ fmuls f29, f29, f1 -/* 80335888 003327E8 81 83 00 00 */ lwz r12, 0(r3) -/* 8033588C 003327EC 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80335890 003327F0 7D 89 03 A6 */ mtctr r12 -/* 80335894 003327F4 4E 80 04 21 */ bctrl -/* 80335898 003327F8 FC 20 E8 90 */ fmr f1, f29 -/* 8033589C 003327FC 48 05 F2 41 */ bl sin -/* 803358A0 00332800 FC 80 08 18 */ frsp f4, f1 -/* 803358A4 00332804 C0 7D 00 14 */ lfs f3, 0x14(r29) -/* 803358A8 00332808 C0 5D 00 18 */ lfs f2, 0x18(r29) -/* 803358AC 0033280C FC 20 E8 90 */ fmr f1, f29 -/* 803358B0 00332810 C0 1D 00 1C */ lfs f0, 0x1c(r29) -/* 803358B4 00332814 EF E4 00 F2 */ fmuls f31, f4, f3 -/* 803358B8 00332818 EF A4 00 B2 */ fmuls f29, f4, f2 -/* 803358BC 0033281C EF C4 00 32 */ fmuls f30, f4, f0 -/* 803358C0 00332820 48 05 EB 31 */ bl cos -/* 803358C4 00332824 FC C0 08 18 */ frsp f6, f1 -/* 803358C8 00332828 C0 5D 00 0C */ lfs f2, 0xc(r29) -/* 803358CC 0033282C C0 3D 00 10 */ lfs f1, 0x10(r29) -/* 803358D0 00332830 7F C4 F3 78 */ mr r4, r30 -/* 803358D4 00332834 C0 1D 00 08 */ lfs f0, 8(r29) -/* 803358D8 00332838 38 A1 00 08 */ addi r5, r1, 8 -/* 803358DC 0033283C EC 86 00 B2 */ fmuls f4, f6, f2 -/* 803358E0 00332840 C0 A1 00 1C */ lfs f5, 0x1c(r1) -/* 803358E4 00332844 EC 46 00 72 */ fmuls f2, f6, f1 -/* 803358E8 00332848 C0 61 00 20 */ lfs f3, 0x20(r1) -/* 803358EC 0033284C EC 06 00 32 */ fmuls f0, f6, f0 -/* 803358F0 00332850 C0 21 00 18 */ lfs f1, 0x18(r1) -/* 803358F4 00332854 EC 85 20 2A */ fadds f4, f5, f4 -/* 803358F8 00332858 80 7D 00 24 */ lwz r3, 0x24(r29) -/* 803358FC 0033285C EC 43 10 2A */ fadds f2, f3, f2 -/* 80335900 00332860 EC 01 00 2A */ fadds f0, f1, f0 -/* 80335904 00332864 EC 64 E8 2A */ fadds f3, f4, f29 -/* 80335908 00332868 EC 22 F0 2A */ fadds f1, f2, f30 -/* 8033590C 0033286C EC 00 F8 2A */ fadds f0, f0, f31 -/* 80335910 00332870 D0 61 00 10 */ stfs f3, 0x10(r1) -/* 80335914 00332874 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 80335918 00332878 D0 21 00 14 */ stfs f1, 0x14(r1) -/* 8033591C 0033287C 81 83 00 00 */ lwz r12, 0(r3) -/* 80335920 00332880 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80335924 00332884 7D 89 03 A6 */ mtctr r12 -/* 80335928 00332888 4E 80 04 21 */ bctrl -/* 8033592C 0033288C 38 61 00 0C */ addi r3, r1, 0xc -/* 80335930 00332890 4B FD EF 89 */ bl Magnitude__9CVector3fCFv -/* 80335934 00332894 C0 01 00 08 */ lfs f0, 8(r1) -/* 80335938 00332898 EF A0 00 72 */ fmuls f29, f0, f1 -/* 8033593C 0033289C 4B FD CC C1 */ bl GetRandomNumber__9CRandom16Fv -/* 80335940 003328A0 4B FD CB 9D */ bl Float__9CRandom16Fv -/* 80335944 003328A4 EF DD 00 72 */ fmuls f30, f29, f1 -/* 80335948 003328A8 4B FD CC B5 */ bl GetRandomNumber__9CRandom16Fv -/* 8033594C 003328AC 4B FD CB 91 */ bl Float__9CRandom16Fv -/* 80335950 003328B0 EF FD 00 72 */ fmuls f31, f29, f1 -/* 80335954 003328B4 4B FD CC A9 */ bl GetRandomNumber__9CRandom16Fv -/* 80335958 003328B8 4B FD CB 85 */ bl Float__9CRandom16Fv -/* 8033595C 003328BC C0 01 00 0C */ lfs f0, 0xc(r1) -/* 80335960 003328C0 EC 7D 00 72 */ fmuls f3, f29, f1 -/* 80335964 003328C4 C0 21 00 10 */ lfs f1, 0x10(r1) -/* 80335968 003328C8 38 60 00 00 */ li r3, 0 -/* 8033596C 003328CC EC 1E 00 2A */ fadds f0, f30, f0 -/* 80335970 003328D0 C0 41 00 14 */ lfs f2, 0x14(r1) -/* 80335974 003328D4 EC 3F 08 2A */ fadds f1, f31, f1 -/* 80335978 003328D8 EC 43 10 2A */ fadds f2, f3, f2 -/* 8033597C 003328DC D0 1F 00 00 */ stfs f0, 0(r31) -/* 80335980 003328E0 D0 3F 00 04 */ stfs f1, 4(r31) -/* 80335984 003328E4 D0 5F 00 08 */ stfs f2, 8(r31) -/* 80335988 003328E8 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 -/* 8033598C 003328EC CB E1 00 60 */ lfd f31, 0x60(r1) -/* 80335990 003328F0 E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 -/* 80335994 003328F4 CB C1 00 50 */ lfd f30, 0x50(r1) -/* 80335998 003328F8 E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0 -/* 8033599C 003328FC CB A1 00 40 */ lfd f29, 0x40(r1) -/* 803359A0 00332900 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 803359A4 00332904 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 803359A8 00332908 80 01 00 74 */ lwz r0, 0x74(r1) -/* 803359AC 0033290C 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 803359B0 00332910 7C 08 03 A6 */ mtlr r0 -/* 803359B4 00332914 38 21 00 70 */ addi r1, r1, 0x70 -/* 803359B8 00332918 4E 80 00 20 */ blr - -.global __dt__16CVECircleCluster -__dt__16CVECircleCluster: -/* 803359BC 0033291C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803359C0 00332920 7C 08 02 A6 */ mflr r0 -/* 803359C4 00332924 90 01 00 14 */ stw r0, 0x14(r1) -/* 803359C8 00332928 93 E1 00 0C */ stw r31, 0xc(r1) -/* 803359CC 0033292C 7C 9F 23 78 */ mr r31, r4 -/* 803359D0 00332930 93 C1 00 08 */ stw r30, 8(r1) -/* 803359D4 00332934 7C 7E 1B 79 */ or. r30, r3, r3 -/* 803359D8 00332938 41 82 00 88 */ beq lbl_80335A60 -/* 803359DC 0033293C 3C 60 80 3F */ lis r3, lbl_803EE268@ha -/* 803359E0 00332940 38 03 E2 68 */ addi r0, r3, lbl_803EE268@l -/* 803359E4 00332944 90 1E 00 00 */ stw r0, 0(r30) -/* 803359E8 00332948 80 7E 00 04 */ lwz r3, 4(r30) -/* 803359EC 0033294C 28 03 00 00 */ cmplwi r3, 0 -/* 803359F0 00332950 41 82 00 18 */ beq lbl_80335A08 -/* 803359F4 00332954 81 83 00 00 */ lwz r12, 0(r3) -/* 803359F8 00332958 38 80 00 01 */ li r4, 1 -/* 803359FC 0033295C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80335A00 00332960 7D 89 03 A6 */ mtctr r12 -/* 80335A04 00332964 4E 80 04 21 */ bctrl -lbl_80335A08: -/* 80335A08 00332968 80 7E 00 24 */ lwz r3, 0x24(r30) -/* 80335A0C 0033296C 28 03 00 00 */ cmplwi r3, 0 -/* 80335A10 00332970 41 82 00 18 */ beq lbl_80335A28 -/* 80335A14 00332974 81 83 00 00 */ lwz r12, 0(r3) -/* 80335A18 00332978 38 80 00 01 */ li r4, 1 -/* 80335A1C 0033297C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80335A20 00332980 7D 89 03 A6 */ mtctr r12 -/* 80335A24 00332984 4E 80 04 21 */ bctrl -lbl_80335A28: -/* 80335A28 00332988 28 1E 00 00 */ cmplwi r30, 0 -/* 80335A2C 0033298C 41 82 00 20 */ beq lbl_80335A4C -/* 80335A30 00332990 3C 60 80 3F */ lis r3, lbl_803EC594@ha -/* 80335A34 00332994 38 03 C5 94 */ addi r0, r3, lbl_803EC594@l -/* 80335A38 00332998 90 1E 00 00 */ stw r0, 0(r30) -/* 80335A3C 0033299C 41 82 00 10 */ beq lbl_80335A4C -/* 80335A40 003329A0 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 80335A44 003329A4 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 80335A48 003329A8 90 1E 00 00 */ stw r0, 0(r30) -lbl_80335A4C: -/* 80335A4C 003329AC 7F E0 07 35 */ extsh. r0, r31 -/* 80335A50 003329B0 40 81 00 10 */ ble lbl_80335A60 -/* 80335A54 003329B4 7F C3 F3 78 */ mr r3, r30 -/* 80335A58 003329B8 38 80 00 28 */ li r4, 0x28 -/* 80335A5C 003329BC 48 03 70 09 */ bl sub_8036ca64 -lbl_80335A60: -/* 80335A60 003329C0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80335A64 003329C4 7F C3 F3 78 */ mr r3, r30 -/* 80335A68 003329C8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80335A6C 003329CC 83 C1 00 08 */ lwz r30, 8(r1) -/* 80335A70 003329D0 7C 08 03 A6 */ mtlr r0 -/* 80335A74 003329D4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80335A78 003329D8 4E 80 00 20 */ blr - -.global __ct__16CVECircleClusterFP14CVectorElementP14CVectorElementP11CIntElementP12CRealElement -__ct__16CVECircleClusterFP14CVectorElementP14CVectorElementP11CIntElementP12CRealElement: -/* 80335A7C 003329DC 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 80335A80 003329E0 7C 08 02 A6 */ mflr r0 -/* 80335A84 003329E4 90 01 00 74 */ stw r0, 0x74(r1) -/* 80335A88 003329E8 DB E1 00 60 */ stfd f31, 0x60(r1) -/* 80335A8C 003329EC F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 -/* 80335A90 003329F0 DB C1 00 50 */ stfd f30, 0x50(r1) -/* 80335A94 003329F4 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 -/* 80335A98 003329F8 DB A1 00 40 */ stfd f29, 0x40(r1) -/* 80335A9C 003329FC F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0 -/* 80335AA0 00332A00 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 80335AA4 00332A04 93 C1 00 38 */ stw r30, 0x38(r1) -/* 80335AA8 00332A08 93 A1 00 34 */ stw r29, 0x34(r1) -/* 80335AAC 00332A0C 3D 00 80 3F */ lis r8, lbl_803EC5A8@ha -/* 80335AB0 00332A10 7C 7F 1B 78 */ mr r31, r3 -/* 80335AB4 00332A14 38 08 C5 A8 */ addi r0, r8, lbl_803EC5A8@l -/* 80335AB8 00332A18 7C BD 2B 78 */ mr r29, r5 -/* 80335ABC 00332A1C 3C 60 80 3F */ lis r3, lbl_803EC594@ha -/* 80335AC0 00332A20 90 1F 00 00 */ stw r0, 0(r31) -/* 80335AC4 00332A24 38 03 C5 94 */ addi r0, r3, lbl_803EC594@l -/* 80335AC8 00332A28 3D 00 80 3F */ lis r8, lbl_803EE268@ha -/* 80335ACC 00332A2C 90 1F 00 00 */ stw r0, 0(r31) -/* 80335AD0 00332A30 38 08 E2 68 */ addi r0, r8, lbl_803EE268@l -/* 80335AD4 00332A34 3C 60 80 5A */ lis r3, skZero3f@ha -/* 80335AD8 00332A38 7C DE 33 78 */ mr r30, r6 -/* 80335ADC 00332A3C 90 1F 00 00 */ stw r0, 0(r31) -/* 80335AE0 00332A40 38 C3 66 A0 */ addi r6, r3, skZero3f@l -/* 80335AE4 00332A44 C0 02 CB 54 */ lfs f0, lbl_805AE874@sda21(r2) -/* 80335AE8 00332A48 7F C3 F3 78 */ mr r3, r30 -/* 80335AEC 00332A4C 90 9F 00 04 */ stw r4, 4(r31) -/* 80335AF0 00332A50 38 A1 00 08 */ addi r5, r1, 8 -/* 80335AF4 00332A54 38 80 00 00 */ li r4, 0 -/* 80335AF8 00332A58 C0 26 00 00 */ lfs f1, 0(r6) -/* 80335AFC 00332A5C D0 3F 00 08 */ stfs f1, 8(r31) -/* 80335B00 00332A60 C0 26 00 04 */ lfs f1, 4(r6) -/* 80335B04 00332A64 D0 3F 00 0C */ stfs f1, 0xc(r31) -/* 80335B08 00332A68 C0 26 00 08 */ lfs f1, 8(r6) -/* 80335B0C 00332A6C D0 3F 00 10 */ stfs f1, 0x10(r31) -/* 80335B10 00332A70 C0 26 00 00 */ lfs f1, 0(r6) -/* 80335B14 00332A74 D0 3F 00 14 */ stfs f1, 0x14(r31) -/* 80335B18 00332A78 C0 26 00 04 */ lfs f1, 4(r6) -/* 80335B1C 00332A7C D0 3F 00 18 */ stfs f1, 0x18(r31) -/* 80335B20 00332A80 C0 26 00 08 */ lfs f1, 8(r6) -/* 80335B24 00332A84 D0 3F 00 1C */ stfs f1, 0x1c(r31) -/* 80335B28 00332A88 D0 1F 00 20 */ stfs f0, 0x20(r31) -/* 80335B2C 00332A8C 90 FF 00 24 */ stw r7, 0x24(r31) -/* 80335B30 00332A90 81 9E 00 00 */ lwz r12, 0(r30) -/* 80335B34 00332A94 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80335B38 00332A98 7D 89 03 A6 */ mtctr r12 -/* 80335B3C 00332A9C 4E 80 04 21 */ bctrl -/* 80335B40 00332AA0 80 81 00 08 */ lwz r4, 8(r1) -/* 80335B44 00332AA4 3C 00 43 30 */ lis r0, 0x4330 -/* 80335B48 00332AA8 90 01 00 28 */ stw r0, 0x28(r1) -/* 80335B4C 00332AAC 7F A3 EB 78 */ mr r3, r29 -/* 80335B50 00332AB0 6C 80 80 00 */ xoris r0, r4, 0x8000 -/* 80335B54 00332AB4 C8 22 CB 60 */ lfd f1, lbl_805AE880@sda21(r2) -/* 80335B58 00332AB8 90 01 00 2C */ stw r0, 0x2c(r1) -/* 80335B5C 00332ABC 38 A1 00 18 */ addi r5, r1, 0x18 -/* 80335B60 00332AC0 C0 42 CB 6C */ lfs f2, lbl_805AE88C@sda21(r2) -/* 80335B64 00332AC4 38 80 00 00 */ li r4, 0 -/* 80335B68 00332AC8 C8 01 00 28 */ lfd f0, 0x28(r1) -/* 80335B6C 00332ACC C0 62 CB 68 */ lfs f3, lbl_805AE888@sda21(r2) -/* 80335B70 00332AD0 EC 20 08 28 */ fsubs f1, f0, f1 -/* 80335B74 00332AD4 C0 02 CB 54 */ lfs f0, lbl_805AE874@sda21(r2) -/* 80335B78 00332AD8 EC 22 08 24 */ fdivs f1, f2, f1 -/* 80335B7C 00332ADC EC 23 00 72 */ fmuls f1, f3, f1 -/* 80335B80 00332AE0 D0 3F 00 20 */ stfs f1, 0x20(r31) -/* 80335B84 00332AE4 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 80335B88 00332AE8 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 80335B8C 00332AEC D0 01 00 20 */ stfs f0, 0x20(r1) -/* 80335B90 00332AF0 81 9D 00 00 */ lwz r12, 0(r29) -/* 80335B94 00332AF4 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80335B98 00332AF8 7D 89 03 A6 */ mtctr r12 -/* 80335B9C 00332AFC 4E 80 04 21 */ bctrl -/* 80335BA0 00332B00 C3 E1 00 18 */ lfs f31, 0x18(r1) -/* 80335BA4 00332B04 38 61 00 18 */ addi r3, r1, 0x18 -/* 80335BA8 00332B08 C3 C1 00 1C */ lfs f30, 0x1c(r1) -/* 80335BAC 00332B0C C3 A1 00 20 */ lfs f29, 0x20(r1) -/* 80335BB0 00332B10 4B FD EB 49 */ bl CanBeNormalized__9CVector3fCFv -/* 80335BB4 00332B14 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80335BB8 00332B18 41 82 00 2C */ beq lbl_80335BE4 -/* 80335BBC 00332B1C 38 61 00 0C */ addi r3, r1, 0xc -/* 80335BC0 00332B20 38 81 00 18 */ addi r4, r1, 0x18 -/* 80335BC4 00332B24 4B FD EC 8D */ bl AsNormalized__9CVector3fCFv -/* 80335BC8 00332B28 C0 41 00 0C */ lfs f2, 0xc(r1) -/* 80335BCC 00332B2C C0 21 00 10 */ lfs f1, 0x10(r1) -/* 80335BD0 00332B30 C0 01 00 14 */ lfs f0, 0x14(r1) -/* 80335BD4 00332B34 D0 41 00 18 */ stfs f2, 0x18(r1) -/* 80335BD8 00332B38 D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 80335BDC 00332B3C D0 01 00 20 */ stfs f0, 0x20(r1) -/* 80335BE0 00332B40 48 00 00 20 */ b lbl_80335C00 -lbl_80335BE4: -/* 80335BE4 00332B44 3C 60 80 5A */ lis r3, lbl_805A66F4@ha -/* 80335BE8 00332B48 C4 43 66 F4 */ lfsu f2, lbl_805A66F4@l(r3) -/* 80335BEC 00332B4C C0 23 00 04 */ lfs f1, 4(r3) -/* 80335BF0 00332B50 C0 03 00 08 */ lfs f0, 8(r3) -/* 80335BF4 00332B54 D0 41 00 18 */ stfs f2, 0x18(r1) -/* 80335BF8 00332B58 D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 80335BFC 00332B5C D0 01 00 20 */ stfs f0, 0x20(r1) -lbl_80335C00: -/* 80335C00 00332B60 C0 21 00 18 */ lfs f1, 0x18(r1) -/* 80335C04 00332B64 C0 02 CB 70 */ lfs f0, lbl_805AE890@sda21(r2) -/* 80335C08 00332B68 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80335C0C 00332B6C 40 81 00 34 */ ble lbl_80335C40 -/* 80335C10 00332B70 C0 62 CB 58 */ lfs f3, lbl_805AE878@sda21(r2) -/* 80335C14 00332B74 C0 82 CB 54 */ lfs f4, lbl_805AE874@sda21(r2) -/* 80335C18 00332B78 EC 43 07 72 */ fmuls f2, f3, f29 -/* 80335C1C 00332B7C EC 24 07 F2 */ fmuls f1, f4, f31 -/* 80335C20 00332B80 EC 04 07 B2 */ fmuls f0, f4, f30 -/* 80335C24 00332B84 EC 5E 11 38 */ fmsubs f2, f30, f4, f2 -/* 80335C28 00332B88 EC 3D 09 38 */ fmsubs f1, f29, f4, f1 -/* 80335C2C 00332B8C EC 1F 00 F8 */ fmsubs f0, f31, f3, f0 -/* 80335C30 00332B90 D0 5F 00 08 */ stfs f2, 8(r31) -/* 80335C34 00332B94 D0 3F 00 0C */ stfs f1, 0xc(r31) -/* 80335C38 00332B98 D0 1F 00 10 */ stfs f0, 0x10(r31) -/* 80335C3C 00332B9C 48 00 00 30 */ b lbl_80335C6C -lbl_80335C40: -/* 80335C40 00332BA0 C0 82 CB 54 */ lfs f4, lbl_805AE874@sda21(r2) -/* 80335C44 00332BA4 C0 42 CB 58 */ lfs f2, lbl_805AE878@sda21(r2) -/* 80335C48 00332BA8 EC 64 07 72 */ fmuls f3, f4, f29 -/* 80335C4C 00332BAC EC 24 07 F2 */ fmuls f1, f4, f31 -/* 80335C50 00332BB0 EC 02 07 B2 */ fmuls f0, f2, f30 -/* 80335C54 00332BB4 EC 7E 19 38 */ fmsubs f3, f30, f4, f3 -/* 80335C58 00332BB8 EC 3D 08 B8 */ fmsubs f1, f29, f2, f1 -/* 80335C5C 00332BBC EC 1F 01 38 */ fmsubs f0, f31, f4, f0 -/* 80335C60 00332BC0 D0 7F 00 08 */ stfs f3, 8(r31) -/* 80335C64 00332BC4 D0 3F 00 0C */ stfs f1, 0xc(r31) -/* 80335C68 00332BC8 D0 1F 00 10 */ stfs f0, 0x10(r31) -lbl_80335C6C: -/* 80335C6C 00332BCC C0 61 00 20 */ lfs f3, 0x20(r1) -/* 80335C70 00332BD0 28 1E 00 00 */ cmplwi r30, 0 -/* 80335C74 00332BD4 C0 BF 00 0C */ lfs f5, 0xc(r31) -/* 80335C78 00332BD8 C0 DF 00 10 */ lfs f6, 0x10(r31) -/* 80335C7C 00332BDC C0 E1 00 18 */ lfs f7, 0x18(r1) -/* 80335C80 00332BE0 EC 25 00 F2 */ fmuls f1, f5, f3 -/* 80335C84 00332BE4 C0 41 00 1C */ lfs f2, 0x1c(r1) -/* 80335C88 00332BE8 C0 9F 00 08 */ lfs f4, 8(r31) -/* 80335C8C 00332BEC EC 06 01 F2 */ fmuls f0, f6, f7 -/* 80335C90 00332BF0 EC 22 09 B8 */ fmsubs f1, f2, f6, f1 -/* 80335C94 00332BF4 EC 44 00 B2 */ fmuls f2, f4, f2 -/* 80335C98 00332BF8 EC 03 01 38 */ fmsubs f0, f3, f4, f0 -/* 80335C9C 00332BFC D0 3F 00 14 */ stfs f1, 0x14(r31) -/* 80335CA0 00332C00 EC 27 11 78 */ fmsubs f1, f7, f5, f2 -/* 80335CA4 00332C04 D0 1F 00 18 */ stfs f0, 0x18(r31) -/* 80335CA8 00332C08 D0 3F 00 1C */ stfs f1, 0x1c(r31) -/* 80335CAC 00332C0C 41 82 00 1C */ beq lbl_80335CC8 -/* 80335CB0 00332C10 7F C3 F3 78 */ mr r3, r30 -/* 80335CB4 00332C14 38 80 00 01 */ li r4, 1 -/* 80335CB8 00332C18 81 9E 00 00 */ lwz r12, 0(r30) -/* 80335CBC 00332C1C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80335CC0 00332C20 7D 89 03 A6 */ mtctr r12 -/* 80335CC4 00332C24 4E 80 04 21 */ bctrl -lbl_80335CC8: -/* 80335CC8 00332C28 28 1D 00 00 */ cmplwi r29, 0 -/* 80335CCC 00332C2C 41 82 00 1C */ beq lbl_80335CE8 -/* 80335CD0 00332C30 7F A3 EB 78 */ mr r3, r29 -/* 80335CD4 00332C34 38 80 00 01 */ li r4, 1 -/* 80335CD8 00332C38 81 9D 00 00 */ lwz r12, 0(r29) -/* 80335CDC 00332C3C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80335CE0 00332C40 7D 89 03 A6 */ mtctr r12 -/* 80335CE4 00332C44 4E 80 04 21 */ bctrl -lbl_80335CE8: -/* 80335CE8 00332C48 7F E3 FB 78 */ mr r3, r31 -/* 80335CEC 00332C4C E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 -/* 80335CF0 00332C50 CB E1 00 60 */ lfd f31, 0x60(r1) -/* 80335CF4 00332C54 E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 -/* 80335CF8 00332C58 CB C1 00 50 */ lfd f30, 0x50(r1) -/* 80335CFC 00332C5C E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0 -/* 80335D00 00332C60 CB A1 00 40 */ lfd f29, 0x40(r1) -/* 80335D04 00332C64 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 80335D08 00332C68 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 80335D0C 00332C6C 80 01 00 74 */ lwz r0, 0x74(r1) -/* 80335D10 00332C70 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 80335D14 00332C74 7C 08 03 A6 */ mtlr r0 -/* 80335D18 00332C78 38 21 00 70 */ addi r1, r1, 0x70 -/* 80335D1C 00332C7C 4E 80 00 20 */ blr - -.global GetValue__12CVETimeChainCFiR9CVector3f -GetValue__12CVETimeChainCFiR9CVector3f: -/* 80335D20 00332C80 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80335D24 00332C84 7C 08 02 A6 */ mflr r0 -/* 80335D28 00332C88 90 01 00 24 */ stw r0, 0x24(r1) -/* 80335D2C 00332C8C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80335D30 00332C90 7C BF 2B 78 */ mr r31, r5 -/* 80335D34 00332C94 38 A1 00 08 */ addi r5, r1, 8 -/* 80335D38 00332C98 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80335D3C 00332C9C 7C 9E 23 78 */ mr r30, r4 -/* 80335D40 00332CA0 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80335D44 00332CA4 7C 7D 1B 78 */ mr r29, r3 -/* 80335D48 00332CA8 80 63 00 0C */ lwz r3, 0xc(r3) -/* 80335D4C 00332CAC 81 83 00 00 */ lwz r12, 0(r3) -/* 80335D50 00332CB0 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80335D54 00332CB4 7D 89 03 A6 */ mtctr r12 -/* 80335D58 00332CB8 4E 80 04 21 */ bctrl -/* 80335D5C 00332CBC 80 01 00 08 */ lwz r0, 8(r1) -/* 80335D60 00332CC0 7C 1E 00 00 */ cmpw r30, r0 -/* 80335D64 00332CC4 40 80 00 24 */ bge lbl_80335D88 -/* 80335D68 00332CC8 80 7D 00 04 */ lwz r3, 4(r29) -/* 80335D6C 00332CCC 7F C4 F3 78 */ mr r4, r30 -/* 80335D70 00332CD0 7F E5 FB 78 */ mr r5, r31 -/* 80335D74 00332CD4 81 83 00 00 */ lwz r12, 0(r3) -/* 80335D78 00332CD8 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80335D7C 00332CDC 7D 89 03 A6 */ mtctr r12 -/* 80335D80 00332CE0 4E 80 04 21 */ bctrl -/* 80335D84 00332CE4 48 00 00 20 */ b lbl_80335DA4 -lbl_80335D88: -/* 80335D88 00332CE8 80 7D 00 08 */ lwz r3, 8(r29) -/* 80335D8C 00332CEC 7F E5 FB 78 */ mr r5, r31 -/* 80335D90 00332CF0 7C 80 F0 50 */ subf r4, r0, r30 -/* 80335D94 00332CF4 81 83 00 00 */ lwz r12, 0(r3) -/* 80335D98 00332CF8 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80335D9C 00332CFC 7D 89 03 A6 */ mtctr r12 -/* 80335DA0 00332D00 4E 80 04 21 */ bctrl -lbl_80335DA4: -/* 80335DA4 00332D04 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80335DA8 00332D08 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80335DAC 00332D0C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80335DB0 00332D10 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80335DB4 00332D14 7C 08 03 A6 */ mtlr r0 -/* 80335DB8 00332D18 38 21 00 20 */ addi r1, r1, 0x20 -/* 80335DBC 00332D1C 4E 80 00 20 */ blr - -.global __dt__12CVETimeChain -__dt__12CVETimeChain: -/* 80335DC0 00332D20 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80335DC4 00332D24 7C 08 02 A6 */ mflr r0 -/* 80335DC8 00332D28 90 01 00 14 */ stw r0, 0x14(r1) -/* 80335DCC 00332D2C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80335DD0 00332D30 7C 9F 23 78 */ mr r31, r4 -/* 80335DD4 00332D34 93 C1 00 08 */ stw r30, 8(r1) -/* 80335DD8 00332D38 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80335DDC 00332D3C 41 82 00 A8 */ beq lbl_80335E84 -/* 80335DE0 00332D40 3C 60 80 3F */ lis r3, lbl_803EE27C@ha -/* 80335DE4 00332D44 38 03 E2 7C */ addi r0, r3, lbl_803EE27C@l -/* 80335DE8 00332D48 90 1E 00 00 */ stw r0, 0(r30) -/* 80335DEC 00332D4C 80 7E 00 04 */ lwz r3, 4(r30) -/* 80335DF0 00332D50 28 03 00 00 */ cmplwi r3, 0 -/* 80335DF4 00332D54 41 82 00 18 */ beq lbl_80335E0C -/* 80335DF8 00332D58 81 83 00 00 */ lwz r12, 0(r3) -/* 80335DFC 00332D5C 38 80 00 01 */ li r4, 1 -/* 80335E00 00332D60 81 8C 00 08 */ lwz r12, 8(r12) -/* 80335E04 00332D64 7D 89 03 A6 */ mtctr r12 -/* 80335E08 00332D68 4E 80 04 21 */ bctrl -lbl_80335E0C: -/* 80335E0C 00332D6C 80 7E 00 08 */ lwz r3, 8(r30) -/* 80335E10 00332D70 28 03 00 00 */ cmplwi r3, 0 -/* 80335E14 00332D74 41 82 00 18 */ beq lbl_80335E2C -/* 80335E18 00332D78 81 83 00 00 */ lwz r12, 0(r3) -/* 80335E1C 00332D7C 38 80 00 01 */ li r4, 1 -/* 80335E20 00332D80 81 8C 00 08 */ lwz r12, 8(r12) -/* 80335E24 00332D84 7D 89 03 A6 */ mtctr r12 -/* 80335E28 00332D88 4E 80 04 21 */ bctrl -lbl_80335E2C: -/* 80335E2C 00332D8C 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 80335E30 00332D90 28 03 00 00 */ cmplwi r3, 0 -/* 80335E34 00332D94 41 82 00 18 */ beq lbl_80335E4C -/* 80335E38 00332D98 81 83 00 00 */ lwz r12, 0(r3) -/* 80335E3C 00332D9C 38 80 00 01 */ li r4, 1 -/* 80335E40 00332DA0 81 8C 00 08 */ lwz r12, 8(r12) -/* 80335E44 00332DA4 7D 89 03 A6 */ mtctr r12 -/* 80335E48 00332DA8 4E 80 04 21 */ bctrl -lbl_80335E4C: -/* 80335E4C 00332DAC 28 1E 00 00 */ cmplwi r30, 0 -/* 80335E50 00332DB0 41 82 00 20 */ beq lbl_80335E70 -/* 80335E54 00332DB4 3C 60 80 3F */ lis r3, lbl_803EC594@ha -/* 80335E58 00332DB8 38 03 C5 94 */ addi r0, r3, lbl_803EC594@l -/* 80335E5C 00332DBC 90 1E 00 00 */ stw r0, 0(r30) -/* 80335E60 00332DC0 41 82 00 10 */ beq lbl_80335E70 -/* 80335E64 00332DC4 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 80335E68 00332DC8 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 80335E6C 00332DCC 90 1E 00 00 */ stw r0, 0(r30) -lbl_80335E70: -/* 80335E70 00332DD0 7F E0 07 35 */ extsh. r0, r31 -/* 80335E74 00332DD4 40 81 00 10 */ ble lbl_80335E84 -/* 80335E78 00332DD8 7F C3 F3 78 */ mr r3, r30 -/* 80335E7C 00332DDC 38 80 00 10 */ li r4, 0x10 -/* 80335E80 00332DE0 48 03 6B E5 */ bl sub_8036ca64 -lbl_80335E84: -/* 80335E84 00332DE4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80335E88 00332DE8 7F C3 F3 78 */ mr r3, r30 -/* 80335E8C 00332DEC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80335E90 00332DF0 83 C1 00 08 */ lwz r30, 8(r1) -/* 80335E94 00332DF4 7C 08 03 A6 */ mtlr r0 -/* 80335E98 00332DF8 38 21 00 10 */ addi r1, r1, 0x10 -/* 80335E9C 00332DFC 4E 80 00 20 */ blr - -.global __ct__12CVETimeChainFP14CVectorElementP14CVectorElementP11CIntElement -__ct__12CVETimeChainFP14CVectorElementP14CVectorElementP11CIntElement: -/* 80335EA0 00332E00 3D 20 80 3F */ lis r9, lbl_803EC5A8@ha -/* 80335EA4 00332E04 3D 00 80 3F */ lis r8, lbl_803EC594@ha -/* 80335EA8 00332E08 38 09 C5 A8 */ addi r0, r9, lbl_803EC5A8@l -/* 80335EAC 00332E0C 3C E0 80 3F */ lis r7, lbl_803EE27C@ha -/* 80335EB0 00332E10 90 03 00 00 */ stw r0, 0(r3) -/* 80335EB4 00332E14 39 08 C5 94 */ addi r8, r8, lbl_803EC594@l -/* 80335EB8 00332E18 38 07 E2 7C */ addi r0, r7, lbl_803EE27C@l -/* 80335EBC 00332E1C 91 03 00 00 */ stw r8, 0(r3) -/* 80335EC0 00332E20 90 03 00 00 */ stw r0, 0(r3) -/* 80335EC4 00332E24 90 83 00 04 */ stw r4, 4(r3) -/* 80335EC8 00332E28 90 A3 00 08 */ stw r5, 8(r3) -/* 80335ECC 00332E2C 90 C3 00 0C */ stw r6, 0xc(r3) -/* 80335ED0 00332E30 4E 80 00 20 */ blr - -.global GetValue__9CVECircleCFiR9CVector3f -GetValue__9CVECircleCFiR9CVector3f: -/* 80335ED4 00332E34 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 80335ED8 00332E38 7C 08 02 A6 */ mflr r0 -/* 80335EDC 00332E3C 90 01 00 74 */ stw r0, 0x74(r1) -/* 80335EE0 00332E40 DB E1 00 60 */ stfd f31, 0x60(r1) -/* 80335EE4 00332E44 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 -/* 80335EE8 00332E48 DB C1 00 50 */ stfd f30, 0x50(r1) -/* 80335EEC 00332E4C F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 -/* 80335EF0 00332E50 DB A1 00 40 */ stfd f29, 0x40(r1) -/* 80335EF4 00332E54 F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0 -/* 80335EF8 00332E58 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 80335EFC 00332E5C 93 C1 00 38 */ stw r30, 0x38(r1) -/* 80335F00 00332E60 93 A1 00 34 */ stw r29, 0x34(r1) -/* 80335F04 00332E64 7C 7D 1B 78 */ mr r29, r3 -/* 80335F08 00332E68 7C BF 2B 78 */ mr r31, r5 -/* 80335F0C 00332E6C 80 63 00 24 */ lwz r3, 0x24(r3) -/* 80335F10 00332E70 7C 9E 23 78 */ mr r30, r4 -/* 80335F14 00332E74 38 A1 00 0C */ addi r5, r1, 0xc -/* 80335F18 00332E78 81 83 00 00 */ lwz r12, 0(r3) -/* 80335F1C 00332E7C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80335F20 00332E80 7D 89 03 A6 */ mtctr r12 -/* 80335F24 00332E84 4E 80 04 21 */ bctrl -/* 80335F28 00332E88 80 7D 00 28 */ lwz r3, 0x28(r29) -/* 80335F2C 00332E8C 7F C4 F3 78 */ mr r4, r30 -/* 80335F30 00332E90 38 A1 00 10 */ addi r5, r1, 0x10 -/* 80335F34 00332E94 81 83 00 00 */ lwz r12, 0(r3) -/* 80335F38 00332E98 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80335F3C 00332E9C 7D 89 03 A6 */ mtctr r12 -/* 80335F40 00332EA0 4E 80 04 21 */ bctrl -/* 80335F44 00332EA4 80 7D 00 20 */ lwz r3, 0x20(r29) -/* 80335F48 00332EA8 7F C4 F3 78 */ mr r4, r30 -/* 80335F4C 00332EAC 38 A1 00 08 */ addi r5, r1, 8 -/* 80335F50 00332EB0 81 83 00 00 */ lwz r12, 0(r3) -/* 80335F54 00332EB4 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80335F58 00332EB8 7D 89 03 A6 */ mtctr r12 -/* 80335F5C 00332EBC 4E 80 04 21 */ bctrl -/* 80335F60 00332EC0 6F C3 80 00 */ xoris r3, r30, 0x8000 -/* 80335F64 00332EC4 3C 00 43 30 */ lis r0, 0x4330 -/* 80335F68 00332EC8 90 61 00 24 */ stw r3, 0x24(r1) -/* 80335F6C 00332ECC 7F C4 F3 78 */ mr r4, r30 -/* 80335F70 00332ED0 C0 02 CB 54 */ lfs f0, lbl_805AE874@sda21(r2) -/* 80335F74 00332ED4 38 A1 00 14 */ addi r5, r1, 0x14 -/* 80335F78 00332ED8 90 01 00 20 */ stw r0, 0x20(r1) -/* 80335F7C 00332EDC C8 42 CB 60 */ lfd f2, lbl_805AE880@sda21(r2) -/* 80335F80 00332EE0 C8 21 00 20 */ lfd f1, 0x20(r1) -/* 80335F84 00332EE4 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 80335F88 00332EE8 EC 41 10 28 */ fsubs f2, f1, f2 -/* 80335F8C 00332EEC C0 61 00 0C */ lfs f3, 0xc(r1) -/* 80335F90 00332EF0 C0 21 00 08 */ lfs f1, 8(r1) -/* 80335F94 00332EF4 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 80335F98 00332EF8 80 7D 00 04 */ lwz r3, 4(r29) -/* 80335F9C 00332EFC EC 23 08 BA */ fmadds f1, f3, f2, f1 -/* 80335FA0 00332F00 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 80335FA4 00332F04 C0 02 CB 68 */ lfs f0, lbl_805AE888@sda21(r2) -/* 80335FA8 00332F08 81 83 00 00 */ lwz r12, 0(r3) -/* 80335FAC 00332F0C EF A0 00 72 */ fmuls f29, f0, f1 -/* 80335FB0 00332F10 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80335FB4 00332F14 7D 89 03 A6 */ mtctr r12 -/* 80335FB8 00332F18 4E 80 04 21 */ bctrl -/* 80335FBC 00332F1C FC 20 E8 90 */ fmr f1, f29 -/* 80335FC0 00332F20 48 05 EB 1D */ bl sin -/* 80335FC4 00332F24 C0 81 00 10 */ lfs f4, 0x10(r1) -/* 80335FC8 00332F28 FC A0 08 18 */ frsp f5, f1 -/* 80335FCC 00332F2C C0 7D 00 14 */ lfs f3, 0x14(r29) -/* 80335FD0 00332F30 FC 20 E8 90 */ fmr f1, f29 -/* 80335FD4 00332F34 C0 5D 00 18 */ lfs f2, 0x18(r29) -/* 80335FD8 00332F38 C0 1D 00 1C */ lfs f0, 0x1c(r29) -/* 80335FDC 00332F3C EC 64 00 F2 */ fmuls f3, f4, f3 -/* 80335FE0 00332F40 EC 44 00 B2 */ fmuls f2, f4, f2 -/* 80335FE4 00332F44 EC 04 00 32 */ fmuls f0, f4, f0 -/* 80335FE8 00332F48 EF A5 00 F2 */ fmuls f29, f5, f3 -/* 80335FEC 00332F4C EF C5 00 B2 */ fmuls f30, f5, f2 -/* 80335FF0 00332F50 EF E5 00 32 */ fmuls f31, f5, f0 -/* 80335FF4 00332F54 48 05 E3 FD */ bl cos -/* 80335FF8 00332F58 C0 61 00 10 */ lfs f3, 0x10(r1) -/* 80335FFC 00332F5C FC C0 08 18 */ frsp f6, f1 -/* 80336000 00332F60 C0 1D 00 08 */ lfs f0, 8(r29) -/* 80336004 00332F64 38 60 00 00 */ li r3, 0 -/* 80336008 00332F68 C0 3D 00 0C */ lfs f1, 0xc(r29) -/* 8033600C 00332F6C EC 03 00 32 */ fmuls f0, f3, f0 -/* 80336010 00332F70 C0 5D 00 10 */ lfs f2, 0x10(r29) -/* 80336014 00332F74 EC 83 00 72 */ fmuls f4, f3, f1 -/* 80336018 00332F78 C0 21 00 14 */ lfs f1, 0x14(r1) -/* 8033601C 00332F7C EC 43 00 B2 */ fmuls f2, f3, f2 -/* 80336020 00332F80 C0 A1 00 18 */ lfs f5, 0x18(r1) -/* 80336024 00332F84 EC 06 00 32 */ fmuls f0, f6, f0 -/* 80336028 00332F88 C0 61 00 1C */ lfs f3, 0x1c(r1) -/* 8033602C 00332F8C EC 86 01 32 */ fmuls f4, f6, f4 -/* 80336030 00332F90 EC 46 00 B2 */ fmuls f2, f6, f2 -/* 80336034 00332F94 EC 01 00 2A */ fadds f0, f1, f0 -/* 80336038 00332F98 EC 85 20 2A */ fadds f4, f5, f4 -/* 8033603C 00332F9C EC 23 10 2A */ fadds f1, f3, f2 -/* 80336040 00332FA0 EC 00 E8 2A */ fadds f0, f0, f29 -/* 80336044 00332FA4 EC 44 F0 2A */ fadds f2, f4, f30 -/* 80336048 00332FA8 EC 21 F8 2A */ fadds f1, f1, f31 -/* 8033604C 00332FAC D0 1F 00 00 */ stfs f0, 0(r31) -/* 80336050 00332FB0 D0 5F 00 04 */ stfs f2, 4(r31) -/* 80336054 00332FB4 D0 3F 00 08 */ stfs f1, 8(r31) -/* 80336058 00332FB8 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 -/* 8033605C 00332FBC CB E1 00 60 */ lfd f31, 0x60(r1) -/* 80336060 00332FC0 E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 -/* 80336064 00332FC4 CB C1 00 50 */ lfd f30, 0x50(r1) -/* 80336068 00332FC8 E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0 -/* 8033606C 00332FCC CB A1 00 40 */ lfd f29, 0x40(r1) -/* 80336070 00332FD0 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 80336074 00332FD4 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 80336078 00332FD8 80 01 00 74 */ lwz r0, 0x74(r1) -/* 8033607C 00332FDC 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 80336080 00332FE0 7C 08 03 A6 */ mtlr r0 -/* 80336084 00332FE4 38 21 00 70 */ addi r1, r1, 0x70 -/* 80336088 00332FE8 4E 80 00 20 */ blr - -.global __dt__9CVECircle -__dt__9CVECircle: -/* 8033608C 00332FEC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80336090 00332FF0 7C 08 02 A6 */ mflr r0 -/* 80336094 00332FF4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80336098 00332FF8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8033609C 00332FFC 7C 9F 23 78 */ mr r31, r4 -/* 803360A0 00333000 93 C1 00 08 */ stw r30, 8(r1) -/* 803360A4 00333004 7C 7E 1B 79 */ or. r30, r3, r3 -/* 803360A8 00333008 41 82 00 C8 */ beq lbl_80336170 -/* 803360AC 0033300C 3C 60 80 3F */ lis r3, lbl_803EE290@ha -/* 803360B0 00333010 38 03 E2 90 */ addi r0, r3, lbl_803EE290@l -/* 803360B4 00333014 90 1E 00 00 */ stw r0, 0(r30) -/* 803360B8 00333018 80 7E 00 04 */ lwz r3, 4(r30) -/* 803360BC 0033301C 28 03 00 00 */ cmplwi r3, 0 -/* 803360C0 00333020 41 82 00 18 */ beq lbl_803360D8 -/* 803360C4 00333024 81 83 00 00 */ lwz r12, 0(r3) -/* 803360C8 00333028 38 80 00 01 */ li r4, 1 -/* 803360CC 0033302C 81 8C 00 08 */ lwz r12, 8(r12) -/* 803360D0 00333030 7D 89 03 A6 */ mtctr r12 -/* 803360D4 00333034 4E 80 04 21 */ bctrl -lbl_803360D8: -/* 803360D8 00333038 80 7E 00 20 */ lwz r3, 0x20(r30) -/* 803360DC 0033303C 28 03 00 00 */ cmplwi r3, 0 -/* 803360E0 00333040 41 82 00 18 */ beq lbl_803360F8 -/* 803360E4 00333044 81 83 00 00 */ lwz r12, 0(r3) -/* 803360E8 00333048 38 80 00 01 */ li r4, 1 -/* 803360EC 0033304C 81 8C 00 08 */ lwz r12, 8(r12) -/* 803360F0 00333050 7D 89 03 A6 */ mtctr r12 -/* 803360F4 00333054 4E 80 04 21 */ bctrl -lbl_803360F8: -/* 803360F8 00333058 80 7E 00 24 */ lwz r3, 0x24(r30) -/* 803360FC 0033305C 28 03 00 00 */ cmplwi r3, 0 -/* 80336100 00333060 41 82 00 18 */ beq lbl_80336118 -/* 80336104 00333064 81 83 00 00 */ lwz r12, 0(r3) -/* 80336108 00333068 38 80 00 01 */ li r4, 1 -/* 8033610C 0033306C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80336110 00333070 7D 89 03 A6 */ mtctr r12 -/* 80336114 00333074 4E 80 04 21 */ bctrl -lbl_80336118: -/* 80336118 00333078 80 7E 00 28 */ lwz r3, 0x28(r30) -/* 8033611C 0033307C 28 03 00 00 */ cmplwi r3, 0 -/* 80336120 00333080 41 82 00 18 */ beq lbl_80336138 -/* 80336124 00333084 81 83 00 00 */ lwz r12, 0(r3) -/* 80336128 00333088 38 80 00 01 */ li r4, 1 -/* 8033612C 0033308C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80336130 00333090 7D 89 03 A6 */ mtctr r12 -/* 80336134 00333094 4E 80 04 21 */ bctrl -lbl_80336138: -/* 80336138 00333098 28 1E 00 00 */ cmplwi r30, 0 -/* 8033613C 0033309C 41 82 00 20 */ beq lbl_8033615C -/* 80336140 003330A0 3C 60 80 3F */ lis r3, lbl_803EC594@ha -/* 80336144 003330A4 38 03 C5 94 */ addi r0, r3, lbl_803EC594@l -/* 80336148 003330A8 90 1E 00 00 */ stw r0, 0(r30) -/* 8033614C 003330AC 41 82 00 10 */ beq lbl_8033615C -/* 80336150 003330B0 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 80336154 003330B4 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 80336158 003330B8 90 1E 00 00 */ stw r0, 0(r30) -lbl_8033615C: -/* 8033615C 003330BC 7F E0 07 35 */ extsh. r0, r31 -/* 80336160 003330C0 40 81 00 10 */ ble lbl_80336170 -/* 80336164 003330C4 7F C3 F3 78 */ mr r3, r30 -/* 80336168 003330C8 38 80 00 2C */ li r4, 0x2c -/* 8033616C 003330CC 48 03 68 F9 */ bl sub_8036ca64 -lbl_80336170: -/* 80336170 003330D0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80336174 003330D4 7F C3 F3 78 */ mr r3, r30 -/* 80336178 003330D8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8033617C 003330DC 83 C1 00 08 */ lwz r30, 8(r1) -/* 80336180 003330E0 7C 08 03 A6 */ mtlr r0 -/* 80336184 003330E4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80336188 003330E8 4E 80 00 20 */ blr - -.global __ct__9CVECircleFP14CVectorElementP14CVectorElementP12CRealElementP12CRealElementP12CRealElement -__ct__9CVECircleFP14CVectorElementP14CVectorElementP12CRealElementP12CRealElementP12CRealElement: -/* 8033618C 003330EC 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80336190 003330F0 7C 08 02 A6 */ mflr r0 -/* 80336194 003330F4 C0 02 CB 54 */ lfs f0, lbl_805AE874@sda21(r2) -/* 80336198 003330F8 90 01 00 34 */ stw r0, 0x34(r1) -/* 8033619C 003330FC 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 803361A0 00333100 7C BF 2B 78 */ mr r31, r5 -/* 803361A4 00333104 93 C1 00 28 */ stw r30, 0x28(r1) -/* 803361A8 00333108 7C 7E 1B 78 */ mr r30, r3 -/* 803361AC 0033310C 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 803361B0 00333110 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 803361B4 00333114 7F C9 F3 78 */ mr r9, r30 -/* 803361B8 00333118 3C 60 80 3F */ lis r3, lbl_803EC594@ha -/* 803361BC 0033311C 90 1E 00 00 */ stw r0, 0(r30) -/* 803361C0 00333120 38 03 C5 94 */ addi r0, r3, lbl_803EC594@l -/* 803361C4 00333124 7D 25 4B 78 */ mr r5, r9 -/* 803361C8 00333128 3C 60 80 3F */ lis r3, lbl_803EE290@ha -/* 803361CC 0033312C 90 09 00 00 */ stw r0, 0(r9) -/* 803361D0 00333130 38 03 E2 90 */ addi r0, r3, lbl_803EE290@l -/* 803361D4 00333134 38 A1 00 14 */ addi r5, r1, 0x14 -/* 803361D8 00333138 90 1E 00 00 */ stw r0, 0(r30) -/* 803361DC 0033313C 3C 60 80 5A */ lis r3, skZero3f@ha -/* 803361E0 00333140 39 23 66 A0 */ addi r9, r3, skZero3f@l -/* 803361E4 00333144 90 9E 00 04 */ stw r4, 4(r30) -/* 803361E8 00333148 7F E3 FB 78 */ mr r3, r31 -/* 803361EC 0033314C 38 80 00 00 */ li r4, 0 -/* 803361F0 00333150 C0 29 00 00 */ lfs f1, 0(r9) -/* 803361F4 00333154 D0 3E 00 08 */ stfs f1, 8(r30) -/* 803361F8 00333158 C0 29 00 04 */ lfs f1, 4(r9) -/* 803361FC 0033315C D0 3E 00 0C */ stfs f1, 0xc(r30) -/* 80336200 00333160 C0 29 00 08 */ lfs f1, 8(r9) -/* 80336204 00333164 D0 3E 00 10 */ stfs f1, 0x10(r30) -/* 80336208 00333168 C0 29 00 00 */ lfs f1, 0(r9) -/* 8033620C 0033316C D0 3E 00 14 */ stfs f1, 0x14(r30) -/* 80336210 00333170 C0 29 00 04 */ lfs f1, 4(r9) -/* 80336214 00333174 D0 3E 00 18 */ stfs f1, 0x18(r30) -/* 80336218 00333178 C0 29 00 08 */ lfs f1, 8(r9) -/* 8033621C 0033317C D0 3E 00 1C */ stfs f1, 0x1c(r30) -/* 80336220 00333180 90 DE 00 20 */ stw r6, 0x20(r30) -/* 80336224 00333184 90 FE 00 24 */ stw r7, 0x24(r30) -/* 80336228 00333188 91 1E 00 28 */ stw r8, 0x28(r30) -/* 8033622C 0033318C D0 01 00 14 */ stfs f0, 0x14(r1) -/* 80336230 00333190 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 80336234 00333194 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 80336238 00333198 81 9F 00 00 */ lwz r12, 0(r31) -/* 8033623C 0033319C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80336240 003331A0 7D 89 03 A6 */ mtctr r12 -/* 80336244 003331A4 4E 80 04 21 */ bctrl -/* 80336248 003331A8 38 61 00 08 */ addi r3, r1, 8 -/* 8033624C 003331AC 38 81 00 14 */ addi r4, r1, 0x14 -/* 80336250 003331B0 4B FD E6 01 */ bl AsNormalized__9CVector3fCFv -/* 80336254 003331B4 C1 01 00 08 */ lfs f8, 8(r1) -/* 80336258 003331B8 C0 02 CB 70 */ lfs f0, lbl_805AE890@sda21(r2) -/* 8033625C 003331BC C0 C1 00 0C */ lfs f6, 0xc(r1) -/* 80336260 003331C0 FC 08 00 40 */ fcmpo cr0, f8, f0 -/* 80336264 003331C4 C0 E1 00 10 */ lfs f7, 0x10(r1) -/* 80336268 003331C8 40 81 00 34 */ ble lbl_8033629C -/* 8033626C 003331CC C0 62 CB 58 */ lfs f3, lbl_805AE878@sda21(r2) -/* 80336270 003331D0 C0 82 CB 54 */ lfs f4, lbl_805AE874@sda21(r2) -/* 80336274 003331D4 EC 43 01 F2 */ fmuls f2, f3, f7 -/* 80336278 003331D8 EC 24 02 32 */ fmuls f1, f4, f8 -/* 8033627C 003331DC EC 04 01 B2 */ fmuls f0, f4, f6 -/* 80336280 003331E0 EC 46 11 38 */ fmsubs f2, f6, f4, f2 -/* 80336284 003331E4 EC 27 09 38 */ fmsubs f1, f7, f4, f1 -/* 80336288 003331E8 EC 08 00 F8 */ fmsubs f0, f8, f3, f0 -/* 8033628C 003331EC D0 5E 00 08 */ stfs f2, 8(r30) -/* 80336290 003331F0 D0 3E 00 0C */ stfs f1, 0xc(r30) -/* 80336294 003331F4 D0 1E 00 10 */ stfs f0, 0x10(r30) -/* 80336298 003331F8 48 00 00 30 */ b lbl_803362C8 -lbl_8033629C: -/* 8033629C 003331FC C0 82 CB 54 */ lfs f4, lbl_805AE874@sda21(r2) -/* 803362A0 00333200 C0 42 CB 58 */ lfs f2, lbl_805AE878@sda21(r2) -/* 803362A4 00333204 EC 64 01 F2 */ fmuls f3, f4, f7 -/* 803362A8 00333208 EC 24 02 32 */ fmuls f1, f4, f8 -/* 803362AC 0033320C EC 02 01 B2 */ fmuls f0, f2, f6 -/* 803362B0 00333210 EC 66 19 38 */ fmsubs f3, f6, f4, f3 -/* 803362B4 00333214 EC 27 08 B8 */ fmsubs f1, f7, f2, f1 -/* 803362B8 00333218 EC 08 01 38 */ fmsubs f0, f8, f4, f0 -/* 803362BC 0033321C D0 7E 00 08 */ stfs f3, 8(r30) -/* 803362C0 00333220 D0 3E 00 0C */ stfs f1, 0xc(r30) -/* 803362C4 00333224 D0 1E 00 10 */ stfs f0, 0x10(r30) -lbl_803362C8: -/* 803362C8 00333228 C0 9E 00 0C */ lfs f4, 0xc(r30) -/* 803362CC 0033322C 28 1F 00 00 */ cmplwi r31, 0 -/* 803362D0 00333230 C0 BE 00 10 */ lfs f5, 0x10(r30) -/* 803362D4 00333234 EC 44 01 F2 */ fmuls f2, f4, f7 -/* 803362D8 00333238 C0 7E 00 08 */ lfs f3, 8(r30) -/* 803362DC 0033323C EC 25 02 32 */ fmuls f1, f5, f8 -/* 803362E0 00333240 EC 03 01 B2 */ fmuls f0, f3, f6 -/* 803362E4 00333244 EC 46 11 78 */ fmsubs f2, f6, f5, f2 -/* 803362E8 00333248 EC 27 08 F8 */ fmsubs f1, f7, f3, f1 -/* 803362EC 0033324C EC 08 01 38 */ fmsubs f0, f8, f4, f0 -/* 803362F0 00333250 D0 5E 00 14 */ stfs f2, 0x14(r30) -/* 803362F4 00333254 D0 3E 00 18 */ stfs f1, 0x18(r30) -/* 803362F8 00333258 D0 1E 00 1C */ stfs f0, 0x1c(r30) -/* 803362FC 0033325C 41 82 00 1C */ beq lbl_80336318 -/* 80336300 00333260 7F E3 FB 78 */ mr r3, r31 -/* 80336304 00333264 38 80 00 01 */ li r4, 1 -/* 80336308 00333268 81 9F 00 00 */ lwz r12, 0(r31) -/* 8033630C 0033326C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80336310 00333270 7D 89 03 A6 */ mtctr r12 -/* 80336314 00333274 4E 80 04 21 */ bctrl -lbl_80336318: -/* 80336318 00333278 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8033631C 0033327C 7F C3 F3 78 */ mr r3, r30 -/* 80336320 00333280 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80336324 00333284 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80336328 00333288 7C 08 03 A6 */ mtlr r0 -/* 8033632C 0033328C 38 21 00 30 */ addi r1, r1, 0x30 -/* 80336330 00333290 4E 80 00 20 */ blr - -.global GetValue__12CVEAngleConeCFiR9CVector3f -GetValue__12CVEAngleConeCFiR9CVector3f: -/* 80336334 00333294 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 80336338 00333298 7C 08 02 A6 */ mflr r0 -/* 8033633C 0033329C 90 01 00 64 */ stw r0, 0x64(r1) -/* 80336340 003332A0 DB E1 00 50 */ stfd f31, 0x50(r1) -/* 80336344 003332A4 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 -/* 80336348 003332A8 DB C1 00 40 */ stfd f30, 0x40(r1) -/* 8033634C 003332AC F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 -/* 80336350 003332B0 DB A1 00 30 */ stfd f29, 0x30(r1) -/* 80336354 003332B4 F3 A1 00 38 */ psq_st f29, 56(r1), 0, qr0 -/* 80336358 003332B8 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8033635C 003332BC 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80336360 003332C0 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80336364 003332C4 7C 7D 1B 78 */ mr r29, r3 -/* 80336368 003332C8 7C BF 2B 78 */ mr r31, r5 -/* 8033636C 003332CC 80 63 00 04 */ lwz r3, 4(r3) -/* 80336370 003332D0 7C 9E 23 78 */ mr r30, r4 -/* 80336374 003332D4 38 A1 00 18 */ addi r5, r1, 0x18 -/* 80336378 003332D8 81 83 00 00 */ lwz r12, 0(r3) -/* 8033637C 003332DC 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80336380 003332E0 7D 89 03 A6 */ mtctr r12 -/* 80336384 003332E4 4E 80 04 21 */ bctrl -/* 80336388 003332E8 80 7D 00 08 */ lwz r3, 8(r29) -/* 8033638C 003332EC 7F C4 F3 78 */ mr r4, r30 -/* 80336390 003332F0 38 A1 00 10 */ addi r5, r1, 0x10 -/* 80336394 003332F4 81 83 00 00 */ lwz r12, 0(r3) -/* 80336398 003332F8 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8033639C 003332FC 7D 89 03 A6 */ mtctr r12 -/* 803363A0 00333300 4E 80 04 21 */ bctrl -/* 803363A4 00333304 80 7D 00 0C */ lwz r3, 0xc(r29) -/* 803363A8 00333308 7F C4 F3 78 */ mr r4, r30 -/* 803363AC 0033330C 38 A1 00 14 */ addi r5, r1, 0x14 -/* 803363B0 00333310 81 83 00 00 */ lwz r12, 0(r3) -/* 803363B4 00333314 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 803363B8 00333318 7D 89 03 A6 */ mtctr r12 -/* 803363BC 0033331C 4E 80 04 21 */ bctrl -/* 803363C0 00333320 80 7D 00 10 */ lwz r3, 0x10(r29) -/* 803363C4 00333324 7F C4 F3 78 */ mr r4, r30 -/* 803363C8 00333328 38 A1 00 0C */ addi r5, r1, 0xc -/* 803363CC 0033332C 81 83 00 00 */ lwz r12, 0(r3) -/* 803363D0 00333330 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 803363D4 00333334 7D 89 03 A6 */ mtctr r12 -/* 803363D8 00333338 4E 80 04 21 */ bctrl -/* 803363DC 0033333C C3 A1 00 14 */ lfs f29, 0x14(r1) -/* 803363E0 00333340 4B FD C2 1D */ bl GetRandomNumber__9CRandom16Fv -/* 803363E4 00333344 4B FD C0 F9 */ bl Float__9CRandom16Fv -/* 803363E8 00333348 EC 7D 00 72 */ fmuls f3, f29, f1 -/* 803363EC 0033334C C0 42 CB 74 */ lfs f2, lbl_805AE894@sda21(r2) -/* 803363F0 00333350 C0 21 00 18 */ lfs f1, 0x18(r1) -/* 803363F4 00333354 C0 02 CB 68 */ lfs f0, lbl_805AE888@sda21(r2) -/* 803363F8 00333358 EC 42 1F 78 */ fmsubs f2, f2, f29, f3 -/* 803363FC 0033335C C3 A1 00 0C */ lfs f29, 0xc(r1) -/* 80336400 00333360 EC 21 10 2A */ fadds f1, f1, f2 -/* 80336404 00333364 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80336408 00333368 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 8033640C 0033336C D0 01 00 18 */ stfs f0, 0x18(r1) -/* 80336410 00333370 4B FD C1 ED */ bl GetRandomNumber__9CRandom16Fv -/* 80336414 00333374 4B FD C0 C9 */ bl Float__9CRandom16Fv -/* 80336418 00333378 EC 7D 00 72 */ fmuls f3, f29, f1 -/* 8033641C 0033337C C0 42 CB 74 */ lfs f2, lbl_805AE894@sda21(r2) -/* 80336420 00333380 C0 21 00 10 */ lfs f1, 0x10(r1) -/* 80336424 00333384 C0 02 CB 68 */ lfs f0, lbl_805AE888@sda21(r2) -/* 80336428 00333388 EC 42 1F 78 */ fmsubs f2, f2, f29, f3 -/* 8033642C 0033338C EC 41 10 2A */ fadds f2, f1, f2 -/* 80336430 00333390 EC 22 00 32 */ fmuls f1, f2, f0 -/* 80336434 00333394 D0 41 00 10 */ stfs f2, 0x10(r1) -/* 80336438 00333398 D0 21 00 10 */ stfs f1, 0x10(r1) -/* 8033643C 0033339C 4B FD E9 09 */ bl FastCosR__5CMathFf -/* 80336440 003333A0 FF C0 08 90 */ fmr f30, f1 -/* 80336444 003333A4 C0 21 00 18 */ lfs f1, 0x18(r1) -/* 80336448 003333A8 4B FD E8 FD */ bl FastCosR__5CMathFf -/* 8033644C 003333AC EF A1 07 B2 */ fmuls f29, f1, f30 -/* 80336450 003333B0 C0 21 00 18 */ lfs f1, 0x18(r1) -/* 80336454 003333B4 4B FD E9 9D */ bl FastSinR__5CMathFf -/* 80336458 003333B8 FF C0 08 90 */ fmr f30, f1 -/* 8033645C 003333BC C0 21 00 18 */ lfs f1, 0x18(r1) -/* 80336460 003333C0 4B FD E8 E5 */ bl FastCosR__5CMathFf -/* 80336464 003333C4 FF E0 08 90 */ fmr f31, f1 -/* 80336468 003333C8 C0 21 00 10 */ lfs f1, 0x10(r1) -/* 8033646C 003333CC 4B FD E9 85 */ bl FastSinR__5CMathFf -/* 80336470 003333D0 C0 02 CB 54 */ lfs f0, lbl_805AE874@sda21(r2) -/* 80336474 003333D4 FC 20 08 50 */ fneg f1, f1 -/* 80336478 003333D8 80 7D 00 14 */ lwz r3, 0x14(r29) -/* 8033647C 003333DC 7F C4 F3 78 */ mr r4, r30 -/* 80336480 003333E0 D0 01 00 08 */ stfs f0, 8(r1) -/* 80336484 003333E4 38 A1 00 08 */ addi r5, r1, 8 -/* 80336488 003333E8 EF E1 07 F2 */ fmuls f31, f1, f31 -/* 8033648C 003333EC 81 83 00 00 */ lwz r12, 0(r3) -/* 80336490 003333F0 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80336494 003333F4 7D 89 03 A6 */ mtctr r12 -/* 80336498 003333F8 4E 80 04 21 */ bctrl -/* 8033649C 003333FC C0 01 00 08 */ lfs f0, 8(r1) -/* 803364A0 00333400 38 60 00 00 */ li r3, 0 -/* 803364A4 00333404 EC 40 07 F2 */ fmuls f2, f0, f31 -/* 803364A8 00333408 EC 20 07 B2 */ fmuls f1, f0, f30 -/* 803364AC 0033340C EC 00 07 72 */ fmuls f0, f0, f29 -/* 803364B0 00333410 D0 5F 00 00 */ stfs f2, 0(r31) -/* 803364B4 00333414 D0 3F 00 04 */ stfs f1, 4(r31) -/* 803364B8 00333418 D0 1F 00 08 */ stfs f0, 8(r31) -/* 803364BC 0033341C E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 -/* 803364C0 00333420 CB E1 00 50 */ lfd f31, 0x50(r1) -/* 803364C4 00333424 E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 -/* 803364C8 00333428 CB C1 00 40 */ lfd f30, 0x40(r1) -/* 803364CC 0033342C E3 A1 00 38 */ psq_l f29, 56(r1), 0, qr0 -/* 803364D0 00333430 CB A1 00 30 */ lfd f29, 0x30(r1) -/* 803364D4 00333434 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 803364D8 00333438 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 803364DC 0033343C 80 01 00 64 */ lwz r0, 0x64(r1) -/* 803364E0 00333440 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 803364E4 00333444 7C 08 03 A6 */ mtlr r0 -/* 803364E8 00333448 38 21 00 60 */ addi r1, r1, 0x60 -/* 803364EC 0033344C 4E 80 00 20 */ blr - -.global __dt__12CVEAngleCone -__dt__12CVEAngleCone: -/* 803364F0 00333450 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803364F4 00333454 7C 08 02 A6 */ mflr r0 -/* 803364F8 00333458 90 01 00 14 */ stw r0, 0x14(r1) -/* 803364FC 0033345C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80336500 00333460 7C 9F 23 78 */ mr r31, r4 -/* 80336504 00333464 93 C1 00 08 */ stw r30, 8(r1) -/* 80336508 00333468 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8033650C 0033346C 41 82 00 E8 */ beq lbl_803365F4 -/* 80336510 00333470 3C 60 80 3F */ lis r3, lbl_803EE2A4@ha -/* 80336514 00333474 38 03 E2 A4 */ addi r0, r3, lbl_803EE2A4@l -/* 80336518 00333478 90 1E 00 00 */ stw r0, 0(r30) -/* 8033651C 0033347C 80 7E 00 04 */ lwz r3, 4(r30) -/* 80336520 00333480 28 03 00 00 */ cmplwi r3, 0 -/* 80336524 00333484 41 82 00 18 */ beq lbl_8033653C -/* 80336528 00333488 81 83 00 00 */ lwz r12, 0(r3) -/* 8033652C 0033348C 38 80 00 01 */ li r4, 1 -/* 80336530 00333490 81 8C 00 08 */ lwz r12, 8(r12) -/* 80336534 00333494 7D 89 03 A6 */ mtctr r12 -/* 80336538 00333498 4E 80 04 21 */ bctrl -lbl_8033653C: -/* 8033653C 0033349C 80 7E 00 08 */ lwz r3, 8(r30) -/* 80336540 003334A0 28 03 00 00 */ cmplwi r3, 0 -/* 80336544 003334A4 41 82 00 18 */ beq lbl_8033655C -/* 80336548 003334A8 81 83 00 00 */ lwz r12, 0(r3) -/* 8033654C 003334AC 38 80 00 01 */ li r4, 1 -/* 80336550 003334B0 81 8C 00 08 */ lwz r12, 8(r12) -/* 80336554 003334B4 7D 89 03 A6 */ mtctr r12 -/* 80336558 003334B8 4E 80 04 21 */ bctrl -lbl_8033655C: -/* 8033655C 003334BC 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 80336560 003334C0 28 03 00 00 */ cmplwi r3, 0 -/* 80336564 003334C4 41 82 00 18 */ beq lbl_8033657C -/* 80336568 003334C8 81 83 00 00 */ lwz r12, 0(r3) -/* 8033656C 003334CC 38 80 00 01 */ li r4, 1 -/* 80336570 003334D0 81 8C 00 08 */ lwz r12, 8(r12) -/* 80336574 003334D4 7D 89 03 A6 */ mtctr r12 -/* 80336578 003334D8 4E 80 04 21 */ bctrl -lbl_8033657C: -/* 8033657C 003334DC 80 7E 00 10 */ lwz r3, 0x10(r30) -/* 80336580 003334E0 28 03 00 00 */ cmplwi r3, 0 -/* 80336584 003334E4 41 82 00 18 */ beq lbl_8033659C -/* 80336588 003334E8 81 83 00 00 */ lwz r12, 0(r3) -/* 8033658C 003334EC 38 80 00 01 */ li r4, 1 -/* 80336590 003334F0 81 8C 00 08 */ lwz r12, 8(r12) -/* 80336594 003334F4 7D 89 03 A6 */ mtctr r12 -/* 80336598 003334F8 4E 80 04 21 */ bctrl -lbl_8033659C: -/* 8033659C 003334FC 80 7E 00 14 */ lwz r3, 0x14(r30) -/* 803365A0 00333500 28 03 00 00 */ cmplwi r3, 0 -/* 803365A4 00333504 41 82 00 18 */ beq lbl_803365BC -/* 803365A8 00333508 81 83 00 00 */ lwz r12, 0(r3) -/* 803365AC 0033350C 38 80 00 01 */ li r4, 1 -/* 803365B0 00333510 81 8C 00 08 */ lwz r12, 8(r12) -/* 803365B4 00333514 7D 89 03 A6 */ mtctr r12 -/* 803365B8 00333518 4E 80 04 21 */ bctrl -lbl_803365BC: -/* 803365BC 0033351C 28 1E 00 00 */ cmplwi r30, 0 -/* 803365C0 00333520 41 82 00 20 */ beq lbl_803365E0 -/* 803365C4 00333524 3C 60 80 3F */ lis r3, lbl_803EC594@ha -/* 803365C8 00333528 38 03 C5 94 */ addi r0, r3, lbl_803EC594@l -/* 803365CC 0033352C 90 1E 00 00 */ stw r0, 0(r30) -/* 803365D0 00333530 41 82 00 10 */ beq lbl_803365E0 -/* 803365D4 00333534 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 803365D8 00333538 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 803365DC 0033353C 90 1E 00 00 */ stw r0, 0(r30) -lbl_803365E0: -/* 803365E0 00333540 7F E0 07 35 */ extsh. r0, r31 -/* 803365E4 00333544 40 81 00 10 */ ble lbl_803365F4 -/* 803365E8 00333548 7F C3 F3 78 */ mr r3, r30 -/* 803365EC 0033354C 38 80 00 18 */ li r4, 0x18 -/* 803365F0 00333550 48 03 64 75 */ bl sub_8036ca64 -lbl_803365F4: -/* 803365F4 00333554 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803365F8 00333558 7F C3 F3 78 */ mr r3, r30 -/* 803365FC 0033355C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80336600 00333560 83 C1 00 08 */ lwz r30, 8(r1) -/* 80336604 00333564 7C 08 03 A6 */ mtlr r0 -/* 80336608 00333568 38 21 00 10 */ addi r1, r1, 0x10 -/* 8033660C 0033356C 4E 80 00 20 */ blr - -.global __ct__12CVEAngleConeFP12CRealElementP12CRealElementP12CRealElementP12CRealElementP12CRealElement -__ct__12CVEAngleConeFP12CRealElementP12CRealElementP12CRealElementP12CRealElementP12CRealElement: -/* 80336610 00333570 3D 60 80 3F */ lis r11, lbl_803EC5A8@ha -/* 80336614 00333574 3D 40 80 3F */ lis r10, lbl_803EC594@ha -/* 80336618 00333578 38 0B C5 A8 */ addi r0, r11, lbl_803EC5A8@l -/* 8033661C 0033357C 3D 20 80 3F */ lis r9, lbl_803EE2A4@ha -/* 80336620 00333580 90 03 00 00 */ stw r0, 0(r3) -/* 80336624 00333584 39 4A C5 94 */ addi r10, r10, lbl_803EC594@l -/* 80336628 00333588 38 09 E2 A4 */ addi r0, r9, lbl_803EE2A4@l -/* 8033662C 0033358C 91 43 00 00 */ stw r10, 0(r3) -/* 80336630 00333590 90 03 00 00 */ stw r0, 0(r3) -/* 80336634 00333594 90 83 00 04 */ stw r4, 4(r3) -/* 80336638 00333598 90 A3 00 08 */ stw r5, 8(r3) -/* 8033663C 0033359C 90 C3 00 0C */ stw r6, 0xc(r3) -/* 80336640 003335A0 90 E3 00 10 */ stw r7, 0x10(r3) -/* 80336644 003335A4 91 03 00 14 */ stw r8, 0x14(r3) -/* 80336648 003335A8 4E 80 00 20 */ blr - -.global GetValue__7CVEConeCFiR9CVector3f -GetValue__7CVEConeCFiR9CVector3f: -/* 8033664C 003335AC 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 80336650 003335B0 7C 08 02 A6 */ mflr r0 -/* 80336654 003335B4 90 01 00 74 */ stw r0, 0x74(r1) -/* 80336658 003335B8 DB E1 00 60 */ stfd f31, 0x60(r1) -/* 8033665C 003335BC F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 -/* 80336660 003335C0 DB C1 00 50 */ stfd f30, 0x50(r1) -/* 80336664 003335C4 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 -/* 80336668 003335C8 DB A1 00 40 */ stfd f29, 0x40(r1) -/* 8033666C 003335CC F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0 -/* 80336670 003335D0 DB 81 00 30 */ stfd f28, 0x30(r1) -/* 80336674 003335D4 F3 81 00 38 */ psq_st f28, 56(r1), 0, qr0 -/* 80336678 003335D8 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8033667C 003335DC 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80336680 003335E0 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80336684 003335E4 C0 02 CB 54 */ lfs f0, lbl_805AE874@sda21(r2) -/* 80336688 003335E8 7C 7D 1B 78 */ mr r29, r3 -/* 8033668C 003335EC 7C BF 2B 78 */ mr r31, r5 -/* 80336690 003335F0 80 63 00 08 */ lwz r3, 8(r3) -/* 80336694 003335F4 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 80336698 003335F8 7C 9E 23 78 */ mr r30, r4 -/* 8033669C 003335FC 38 A1 00 08 */ addi r5, r1, 8 -/* 803366A0 00333600 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 803366A4 00333604 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 803366A8 00333608 81 83 00 00 */ lwz r12, 0(r3) -/* 803366AC 0033360C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 803366B0 00333610 7D 89 03 A6 */ mtctr r12 -/* 803366B4 00333614 4E 80 04 21 */ bctrl -/* 803366B8 00333618 80 7D 00 04 */ lwz r3, 4(r29) -/* 803366BC 0033361C 7F C4 F3 78 */ mr r4, r30 -/* 803366C0 00333620 38 A1 00 0C */ addi r5, r1, 0xc -/* 803366C4 00333624 81 83 00 00 */ lwz r12, 0(r3) -/* 803366C8 00333628 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 803366CC 0033362C 7D 89 03 A6 */ mtctr r12 -/* 803366D0 00333630 4E 80 04 21 */ bctrl -/* 803366D4 00333634 C0 21 00 08 */ lfs f1, 8(r1) -/* 803366D8 00333638 C0 0D 9D 38 */ lfs f0, lbl_805A88F8@sda21(r13) -/* 803366DC 0033363C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 803366E0 00333640 40 80 00 0C */ bge lbl_803366EC -/* 803366E4 00333644 38 61 00 08 */ addi r3, r1, 8 -/* 803366E8 00333648 48 00 00 08 */ b lbl_803366F0 -lbl_803366EC: -/* 803366EC 0033364C 38 6D 9D 38 */ addi r3, r13, lbl_805A88F8@sda21 -lbl_803366F0: -/* 803366F0 00333650 C0 03 00 00 */ lfs f0, 0(r3) -/* 803366F4 00333654 C3 82 CB 74 */ lfs f28, lbl_805AE894@sda21(r2) -/* 803366F8 00333658 D0 01 00 08 */ stfs f0, 8(r1) -/* 803366FC 0033365C C3 A2 CB 78 */ lfs f29, lbl_805AE898@sda21(r2) -/* 80336700 00333660 C3 C2 CB 58 */ lfs f30, lbl_805AE878@sda21(r2) -lbl_80336704: -/* 80336704 00333664 4B FD BE F9 */ bl GetRandomNumber__9CRandom16Fv -/* 80336708 00333668 4B FD BD D5 */ bl Float__9CRandom16Fv -/* 8033670C 0033366C C0 01 00 08 */ lfs f0, 8(r1) -/* 80336710 00333670 EC 21 E0 28 */ fsubs f1, f1, f28 -/* 80336714 00333674 EC 1D 00 32 */ fmuls f0, f29, f0 -/* 80336718 00333678 EF E0 00 72 */ fmuls f31, f0, f1 -/* 8033671C 0033367C 4B FD BE E1 */ bl GetRandomNumber__9CRandom16Fv -/* 80336720 00333680 4B FD BD BD */ bl Float__9CRandom16Fv -/* 80336724 00333684 C0 01 00 08 */ lfs f0, 8(r1) -/* 80336728 00333688 EC 21 E0 28 */ fsubs f1, f1, f28 -/* 8033672C 0033368C EC 1D 00 32 */ fmuls f0, f29, f0 -/* 80336730 00333690 ED 00 00 72 */ fmuls f8, f0, f1 -/* 80336734 00333694 EC 08 02 32 */ fmuls f0, f8, f8 -/* 80336738 00333698 EC 1F 07 FA */ fmadds f0, f31, f31, f0 -/* 8033673C 0033369C FC 00 F0 40 */ fcmpo cr0, f0, f30 -/* 80336740 003336A0 41 81 FF C4 */ bgt lbl_80336704 -/* 80336744 003336A4 C0 1D 00 0C */ lfs f0, 0xc(r29) -/* 80336748 003336A8 38 60 00 00 */ li r3, 0 -/* 8033674C 003336AC C0 7D 00 10 */ lfs f3, 0x10(r29) -/* 80336750 003336B0 EC 3F 00 32 */ fmuls f1, f31, f0 -/* 80336754 003336B4 C0 41 00 0C */ lfs f2, 0xc(r1) -/* 80336758 003336B8 C0 1D 00 18 */ lfs f0, 0x18(r29) -/* 8033675C 003336BC EC DF 00 F2 */ fmuls f6, f31, f3 -/* 80336760 003336C0 C0 7D 00 14 */ lfs f3, 0x14(r29) -/* 80336764 003336C4 C0 E1 00 10 */ lfs f7, 0x10(r1) -/* 80336768 003336C8 C0 BD 00 1C */ lfs f5, 0x1c(r29) -/* 8033676C 003336CC EC 22 08 2A */ fadds f1, f2, f1 -/* 80336770 003336D0 EC 08 00 32 */ fmuls f0, f8, f0 -/* 80336774 003336D4 C0 5D 00 20 */ lfs f2, 0x20(r29) -/* 80336778 003336D8 EC 7F 00 F2 */ fmuls f3, f31, f3 -/* 8033677C 003336DC C0 81 00 14 */ lfs f4, 0x14(r1) -/* 80336780 003336E0 EC C7 30 2A */ fadds f6, f7, f6 -/* 80336784 003336E4 EC A8 01 72 */ fmuls f5, f8, f5 -/* 80336788 003336E8 EC 01 00 2A */ fadds f0, f1, f0 -/* 8033678C 003336EC EC 64 18 2A */ fadds f3, f4, f3 -/* 80336790 003336F0 EC 28 00 B2 */ fmuls f1, f8, f2 -/* 80336794 003336F4 EC 46 28 2A */ fadds f2, f6, f5 -/* 80336798 003336F8 D0 1F 00 00 */ stfs f0, 0(r31) -/* 8033679C 003336FC EC 03 08 2A */ fadds f0, f3, f1 -/* 803367A0 00333700 D0 5F 00 04 */ stfs f2, 4(r31) -/* 803367A4 00333704 D0 1F 00 08 */ stfs f0, 8(r31) -/* 803367A8 00333708 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 -/* 803367AC 0033370C CB E1 00 60 */ lfd f31, 0x60(r1) -/* 803367B0 00333710 E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 -/* 803367B4 00333714 CB C1 00 50 */ lfd f30, 0x50(r1) -/* 803367B8 00333718 E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0 -/* 803367BC 0033371C CB A1 00 40 */ lfd f29, 0x40(r1) -/* 803367C0 00333720 E3 81 00 38 */ psq_l f28, 56(r1), 0, qr0 -/* 803367C4 00333724 CB 81 00 30 */ lfd f28, 0x30(r1) -/* 803367C8 00333728 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 803367CC 0033372C 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 803367D0 00333730 80 01 00 74 */ lwz r0, 0x74(r1) -/* 803367D4 00333734 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 803367D8 00333738 7C 08 03 A6 */ mtlr r0 -/* 803367DC 0033373C 38 21 00 70 */ addi r1, r1, 0x70 -/* 803367E0 00333740 4E 80 00 20 */ blr - -.global __dt__7CVECone -__dt__7CVECone: -/* 803367E4 00333744 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803367E8 00333748 7C 08 02 A6 */ mflr r0 -/* 803367EC 0033374C 90 01 00 14 */ stw r0, 0x14(r1) -/* 803367F0 00333750 93 E1 00 0C */ stw r31, 0xc(r1) -/* 803367F4 00333754 7C 9F 23 78 */ mr r31, r4 -/* 803367F8 00333758 93 C1 00 08 */ stw r30, 8(r1) -/* 803367FC 0033375C 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80336800 00333760 41 82 00 88 */ beq lbl_80336888 -/* 80336804 00333764 3C 60 80 3F */ lis r3, lbl_803EE2B8@ha -/* 80336808 00333768 38 03 E2 B8 */ addi r0, r3, lbl_803EE2B8@l -/* 8033680C 0033376C 90 1E 00 00 */ stw r0, 0(r30) -/* 80336810 00333770 80 7E 00 04 */ lwz r3, 4(r30) -/* 80336814 00333774 28 03 00 00 */ cmplwi r3, 0 -/* 80336818 00333778 41 82 00 18 */ beq lbl_80336830 -/* 8033681C 0033377C 81 83 00 00 */ lwz r12, 0(r3) -/* 80336820 00333780 38 80 00 01 */ li r4, 1 -/* 80336824 00333784 81 8C 00 08 */ lwz r12, 8(r12) -/* 80336828 00333788 7D 89 03 A6 */ mtctr r12 -/* 8033682C 0033378C 4E 80 04 21 */ bctrl -lbl_80336830: -/* 80336830 00333790 80 7E 00 08 */ lwz r3, 8(r30) -/* 80336834 00333794 28 03 00 00 */ cmplwi r3, 0 -/* 80336838 00333798 41 82 00 18 */ beq lbl_80336850 -/* 8033683C 0033379C 81 83 00 00 */ lwz r12, 0(r3) -/* 80336840 003337A0 38 80 00 01 */ li r4, 1 -/* 80336844 003337A4 81 8C 00 08 */ lwz r12, 8(r12) -/* 80336848 003337A8 7D 89 03 A6 */ mtctr r12 -/* 8033684C 003337AC 4E 80 04 21 */ bctrl -lbl_80336850: -/* 80336850 003337B0 28 1E 00 00 */ cmplwi r30, 0 -/* 80336854 003337B4 41 82 00 20 */ beq lbl_80336874 -/* 80336858 003337B8 3C 60 80 3F */ lis r3, lbl_803EC594@ha -/* 8033685C 003337BC 38 03 C5 94 */ addi r0, r3, lbl_803EC594@l -/* 80336860 003337C0 90 1E 00 00 */ stw r0, 0(r30) -/* 80336864 003337C4 41 82 00 10 */ beq lbl_80336874 -/* 80336868 003337C8 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 8033686C 003337CC 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 80336870 003337D0 90 1E 00 00 */ stw r0, 0(r30) -lbl_80336874: -/* 80336874 003337D4 7F E0 07 35 */ extsh. r0, r31 -/* 80336878 003337D8 40 81 00 10 */ ble lbl_80336888 -/* 8033687C 003337DC 7F C3 F3 78 */ mr r3, r30 -/* 80336880 003337E0 38 80 00 24 */ li r4, 0x24 -/* 80336884 003337E4 48 03 61 E1 */ bl sub_8036ca64 -lbl_80336888: -/* 80336888 003337E8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8033688C 003337EC 7F C3 F3 78 */ mr r3, r30 -/* 80336890 003337F0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80336894 003337F4 83 C1 00 08 */ lwz r30, 8(r1) -/* 80336898 003337F8 7C 08 03 A6 */ mtlr r0 -/* 8033689C 003337FC 38 21 00 10 */ addi r1, r1, 0x10 -/* 803368A0 00333800 4E 80 00 20 */ blr - -.global __ct__7CVEConeFP14CVectorElementP12CRealElement -__ct__7CVEConeFP14CVectorElementP12CRealElement: -/* 803368A4 00333804 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 803368A8 00333808 7C 08 02 A6 */ mflr r0 -/* 803368AC 0033380C 3C C0 80 3F */ lis r6, lbl_803EC5A8@ha -/* 803368B0 00333810 C0 02 CB 54 */ lfs f0, lbl_805AE874@sda21(r2) -/* 803368B4 00333814 90 01 00 34 */ stw r0, 0x34(r1) -/* 803368B8 00333818 38 06 C5 A8 */ addi r0, r6, lbl_803EC5A8@l -/* 803368BC 0033381C 3C C0 80 3F */ lis r6, lbl_803EE2B8@ha -/* 803368C0 00333820 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 803368C4 00333824 7C 7F 1B 78 */ mr r31, r3 -/* 803368C8 00333828 3C 60 80 3F */ lis r3, lbl_803EC594@ha -/* 803368CC 0033382C 90 1F 00 00 */ stw r0, 0(r31) -/* 803368D0 00333830 38 03 C5 94 */ addi r0, r3, lbl_803EC594@l -/* 803368D4 00333834 3C 60 80 5A */ lis r3, skZero3f@ha -/* 803368D8 00333838 7F E7 FB 78 */ mr r7, r31 -/* 803368DC 0033383C 90 1F 00 00 */ stw r0, 0(r31) -/* 803368E0 00333840 38 06 E2 B8 */ addi r0, r6, lbl_803EE2B8@l -/* 803368E4 00333844 90 1F 00 00 */ stw r0, 0(r31) -/* 803368E8 00333848 90 9F 00 04 */ stw r4, 4(r31) -/* 803368EC 0033384C 38 80 00 00 */ li r4, 0 -/* 803368F0 00333850 90 BF 00 08 */ stw r5, 8(r31) -/* 803368F4 00333854 38 A1 00 14 */ addi r5, r1, 0x14 -/* 803368F8 00333858 C4 23 66 A0 */ lfsu f1, skZero3f@l(r3) -/* 803368FC 0033385C D0 3F 00 0C */ stfs f1, 0xc(r31) -/* 80336900 00333860 C0 23 00 04 */ lfs f1, 4(r3) -/* 80336904 00333864 D0 3F 00 10 */ stfs f1, 0x10(r31) -/* 80336908 00333868 C0 23 00 08 */ lfs f1, 8(r3) -/* 8033690C 0033386C D0 3F 00 14 */ stfs f1, 0x14(r31) -/* 80336910 00333870 C0 23 00 00 */ lfs f1, 0(r3) -/* 80336914 00333874 D0 3F 00 18 */ stfs f1, 0x18(r31) -/* 80336918 00333878 C0 23 00 04 */ lfs f1, 4(r3) -/* 8033691C 0033387C D0 3F 00 1C */ stfs f1, 0x1c(r31) -/* 80336920 00333880 C0 23 00 08 */ lfs f1, 8(r3) -/* 80336924 00333884 D0 3F 00 20 */ stfs f1, 0x20(r31) -/* 80336928 00333888 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 8033692C 0033388C D0 01 00 18 */ stfs f0, 0x18(r1) -/* 80336930 00333890 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 80336934 00333894 80 7F 00 04 */ lwz r3, 4(r31) -/* 80336938 00333898 81 83 00 00 */ lwz r12, 0(r3) -/* 8033693C 0033389C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80336940 003338A0 7D 89 03 A6 */ mtctr r12 -/* 80336944 003338A4 4E 80 04 21 */ bctrl -/* 80336948 003338A8 38 61 00 08 */ addi r3, r1, 8 -/* 8033694C 003338AC 38 81 00 14 */ addi r4, r1, 0x14 -/* 80336950 003338B0 4B FD DF 01 */ bl AsNormalized__9CVector3fCFv -/* 80336954 003338B4 C1 01 00 08 */ lfs f8, 8(r1) -/* 80336958 003338B8 C0 02 CB 70 */ lfs f0, lbl_805AE890@sda21(r2) -/* 8033695C 003338BC C0 C1 00 0C */ lfs f6, 0xc(r1) -/* 80336960 003338C0 FC 08 00 40 */ fcmpo cr0, f8, f0 -/* 80336964 003338C4 C0 E1 00 10 */ lfs f7, 0x10(r1) -/* 80336968 003338C8 40 81 00 40 */ ble lbl_803369A8 -/* 8033696C 003338CC C0 A1 00 1C */ lfs f5, 0x1c(r1) -/* 80336970 003338D0 C0 82 CB 58 */ lfs f4, lbl_805AE878@sda21(r2) -/* 80336974 003338D4 C1 21 00 14 */ lfs f9, 0x14(r1) -/* 80336978 003338D8 C0 62 CB 54 */ lfs f3, lbl_805AE874@sda21(r2) -/* 8033697C 003338DC EC 24 01 72 */ fmuls f1, f4, f5 -/* 80336980 003338E0 C0 41 00 18 */ lfs f2, 0x18(r1) -/* 80336984 003338E4 EC 03 02 72 */ fmuls f0, f3, f9 -/* 80336988 003338E8 EC 22 08 F8 */ fmsubs f1, f2, f3, f1 -/* 8033698C 003338EC EC 43 00 B2 */ fmuls f2, f3, f2 -/* 80336990 003338F0 EC 05 00 F8 */ fmsubs f0, f5, f3, f0 -/* 80336994 003338F4 D0 3F 00 0C */ stfs f1, 0xc(r31) -/* 80336998 003338F8 EC 29 11 38 */ fmsubs f1, f9, f4, f2 -/* 8033699C 003338FC D0 1F 00 10 */ stfs f0, 0x10(r31) -/* 803369A0 00333900 D0 3F 00 14 */ stfs f1, 0x14(r31) -/* 803369A4 00333904 48 00 00 3C */ b lbl_803369E0 -lbl_803369A8: -/* 803369A8 00333908 C0 A1 00 1C */ lfs f5, 0x1c(r1) -/* 803369AC 0033390C C0 82 CB 54 */ lfs f4, lbl_805AE874@sda21(r2) -/* 803369B0 00333910 C1 21 00 14 */ lfs f9, 0x14(r1) -/* 803369B4 00333914 EC 24 01 72 */ fmuls f1, f4, f5 -/* 803369B8 00333918 C0 41 00 18 */ lfs f2, 0x18(r1) -/* 803369BC 0033391C C0 62 CB 58 */ lfs f3, lbl_805AE878@sda21(r2) -/* 803369C0 00333920 EC 04 02 72 */ fmuls f0, f4, f9 -/* 803369C4 00333924 EC 22 09 38 */ fmsubs f1, f2, f4, f1 -/* 803369C8 00333928 EC 43 00 B2 */ fmuls f2, f3, f2 -/* 803369CC 0033392C EC 05 00 F8 */ fmsubs f0, f5, f3, f0 -/* 803369D0 00333930 D0 3F 00 0C */ stfs f1, 0xc(r31) -/* 803369D4 00333934 EC 29 11 38 */ fmsubs f1, f9, f4, f2 -/* 803369D8 00333938 D0 1F 00 10 */ stfs f0, 0x10(r31) -/* 803369DC 0033393C D0 3F 00 14 */ stfs f1, 0x14(r31) -lbl_803369E0: -/* 803369E0 00333940 C0 9F 00 10 */ lfs f4, 0x10(r31) -/* 803369E4 00333944 7F E3 FB 78 */ mr r3, r31 -/* 803369E8 00333948 C0 BF 00 14 */ lfs f5, 0x14(r31) -/* 803369EC 0033394C EC 44 01 F2 */ fmuls f2, f4, f7 -/* 803369F0 00333950 C0 7F 00 0C */ lfs f3, 0xc(r31) -/* 803369F4 00333954 EC 25 02 32 */ fmuls f1, f5, f8 -/* 803369F8 00333958 EC 03 01 B2 */ fmuls f0, f3, f6 -/* 803369FC 0033395C EC 46 11 78 */ fmsubs f2, f6, f5, f2 -/* 80336A00 00333960 EC 27 08 F8 */ fmsubs f1, f7, f3, f1 -/* 80336A04 00333964 EC 08 01 38 */ fmsubs f0, f8, f4, f0 -/* 80336A08 00333968 D0 5F 00 18 */ stfs f2, 0x18(r31) -/* 80336A0C 0033396C D0 3F 00 1C */ stfs f1, 0x1c(r31) -/* 80336A10 00333970 D0 1F 00 20 */ stfs f0, 0x20(r31) -/* 80336A14 00333974 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80336A18 00333978 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80336A1C 0033397C 7C 08 03 A6 */ mtlr r0 -/* 80336A20 00333980 38 21 00 30 */ addi r1, r1, 0x30 -/* 80336A24 00333984 4E 80 00 20 */ blr - -.global GetValue__15CVEFastConstantCFiR9CVector3f -GetValue__15CVEFastConstantCFiR9CVector3f: -/* 80336A28 00333988 C0 03 00 04 */ lfs f0, 4(r3) -/* 80336A2C 0033398C D0 05 00 00 */ stfs f0, 0(r5) -/* 80336A30 00333990 C0 03 00 08 */ lfs f0, 8(r3) -/* 80336A34 00333994 D0 05 00 04 */ stfs f0, 4(r5) -/* 80336A38 00333998 C0 03 00 0C */ lfs f0, 0xc(r3) -/* 80336A3C 0033399C 38 60 00 00 */ li r3, 0 -/* 80336A40 003339A0 D0 05 00 08 */ stfs f0, 8(r5) -/* 80336A44 003339A4 4E 80 00 20 */ blr - -.global __dt__15CVEFastConstant -__dt__15CVEFastConstant: -/* 80336A48 003339A8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80336A4C 003339AC 7C 08 02 A6 */ mflr r0 -/* 80336A50 003339B0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80336A54 003339B4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80336A58 003339B8 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80336A5C 003339BC 41 82 00 44 */ beq lbl_80336AA0 -/* 80336A60 003339C0 3C 60 80 3F */ lis r3, lbl_803EE2CC@ha -/* 80336A64 003339C4 38 03 E2 CC */ addi r0, r3, lbl_803EE2CC@l -/* 80336A68 003339C8 90 1F 00 00 */ stw r0, 0(r31) -/* 80336A6C 003339CC 41 82 00 20 */ beq lbl_80336A8C -/* 80336A70 003339D0 3C 60 80 3F */ lis r3, lbl_803EC594@ha -/* 80336A74 003339D4 38 03 C5 94 */ addi r0, r3, lbl_803EC594@l -/* 80336A78 003339D8 90 1F 00 00 */ stw r0, 0(r31) -/* 80336A7C 003339DC 41 82 00 10 */ beq lbl_80336A8C -/* 80336A80 003339E0 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 80336A84 003339E4 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 80336A88 003339E8 90 1F 00 00 */ stw r0, 0(r31) -lbl_80336A8C: -/* 80336A8C 003339EC 7C 80 07 35 */ extsh. r0, r4 -/* 80336A90 003339F0 40 81 00 10 */ ble lbl_80336AA0 -/* 80336A94 003339F4 7F E3 FB 78 */ mr r3, r31 -/* 80336A98 003339F8 38 80 00 10 */ li r4, 0x10 -/* 80336A9C 003339FC 48 03 5F C9 */ bl sub_8036ca64 -lbl_80336AA0: -/* 80336AA0 00333A00 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80336AA4 00333A04 7F E3 FB 78 */ mr r3, r31 -/* 80336AA8 00333A08 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80336AAC 00333A0C 7C 08 03 A6 */ mtlr r0 -/* 80336AB0 00333A10 38 21 00 10 */ addi r1, r1, 0x10 -/* 80336AB4 00333A14 4E 80 00 20 */ blr - -.global __ct__15CVEFastConstantFfff -__ct__15CVEFastConstantFfff: -/* 80336AB8 00333A18 3C C0 80 3F */ lis r6, lbl_803EC5A8@ha -/* 80336ABC 00333A1C 3C A0 80 3F */ lis r5, lbl_803EC594@ha -/* 80336AC0 00333A20 38 06 C5 A8 */ addi r0, r6, lbl_803EC5A8@l -/* 80336AC4 00333A24 3C 80 80 3F */ lis r4, lbl_803EE2CC@ha -/* 80336AC8 00333A28 90 03 00 00 */ stw r0, 0(r3) -/* 80336ACC 00333A2C 38 A5 C5 94 */ addi r5, r5, lbl_803EC594@l -/* 80336AD0 00333A30 38 04 E2 CC */ addi r0, r4, lbl_803EE2CC@l -/* 80336AD4 00333A34 90 A3 00 00 */ stw r5, 0(r3) -/* 80336AD8 00333A38 90 03 00 00 */ stw r0, 0(r3) -/* 80336ADC 00333A3C D0 23 00 04 */ stfs f1, 4(r3) -/* 80336AE0 00333A40 D0 43 00 08 */ stfs f2, 8(r3) -/* 80336AE4 00333A44 D0 63 00 0C */ stfs f3, 0xc(r3) -/* 80336AE8 00333A48 4E 80 00 20 */ blr - -.global GetValue__11CVEConstantCFiR9CVector3f -GetValue__11CVEConstantCFiR9CVector3f: -/* 80336AEC 00333A4C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80336AF0 00333A50 7C 08 02 A6 */ mflr r0 -/* 80336AF4 00333A54 90 01 00 34 */ stw r0, 0x34(r1) -/* 80336AF8 00333A58 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80336AFC 00333A5C 7C BF 2B 78 */ mr r31, r5 -/* 80336B00 00333A60 38 A1 00 10 */ addi r5, r1, 0x10 -/* 80336B04 00333A64 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80336B08 00333A68 7C 9E 23 78 */ mr r30, r4 -/* 80336B0C 00333A6C 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80336B10 00333A70 7C 7D 1B 78 */ mr r29, r3 -/* 80336B14 00333A74 80 63 00 04 */ lwz r3, 4(r3) -/* 80336B18 00333A78 81 83 00 00 */ lwz r12, 0(r3) -/* 80336B1C 00333A7C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80336B20 00333A80 7D 89 03 A6 */ mtctr r12 -/* 80336B24 00333A84 4E 80 04 21 */ bctrl -/* 80336B28 00333A88 80 7D 00 08 */ lwz r3, 8(r29) -/* 80336B2C 00333A8C 7F C4 F3 78 */ mr r4, r30 -/* 80336B30 00333A90 38 A1 00 0C */ addi r5, r1, 0xc -/* 80336B34 00333A94 81 83 00 00 */ lwz r12, 0(r3) -/* 80336B38 00333A98 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80336B3C 00333A9C 7D 89 03 A6 */ mtctr r12 -/* 80336B40 00333AA0 4E 80 04 21 */ bctrl -/* 80336B44 00333AA4 80 7D 00 0C */ lwz r3, 0xc(r29) -/* 80336B48 00333AA8 7F C4 F3 78 */ mr r4, r30 -/* 80336B4C 00333AAC 38 A1 00 08 */ addi r5, r1, 8 -/* 80336B50 00333AB0 81 83 00 00 */ lwz r12, 0(r3) -/* 80336B54 00333AB4 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80336B58 00333AB8 7D 89 03 A6 */ mtctr r12 -/* 80336B5C 00333ABC 4E 80 04 21 */ bctrl -/* 80336B60 00333AC0 C0 41 00 08 */ lfs f2, 8(r1) -/* 80336B64 00333AC4 38 60 00 00 */ li r3, 0 -/* 80336B68 00333AC8 C0 21 00 0C */ lfs f1, 0xc(r1) -/* 80336B6C 00333ACC C0 01 00 10 */ lfs f0, 0x10(r1) -/* 80336B70 00333AD0 D0 1F 00 00 */ stfs f0, 0(r31) -/* 80336B74 00333AD4 D0 3F 00 04 */ stfs f1, 4(r31) -/* 80336B78 00333AD8 D0 5F 00 08 */ stfs f2, 8(r31) -/* 80336B7C 00333ADC 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80336B80 00333AE0 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80336B84 00333AE4 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80336B88 00333AE8 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80336B8C 00333AEC 7C 08 03 A6 */ mtlr r0 -/* 80336B90 00333AF0 38 21 00 30 */ addi r1, r1, 0x30 -/* 80336B94 00333AF4 4E 80 00 20 */ blr - -.global __dt__11CVEConstantF -__dt__11CVEConstantF: -/* 80336B98 00333AF8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80336B9C 00333AFC 7C 08 02 A6 */ mflr r0 -/* 80336BA0 00333B00 90 01 00 14 */ stw r0, 0x14(r1) -/* 80336BA4 00333B04 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80336BA8 00333B08 7C 9F 23 78 */ mr r31, r4 -/* 80336BAC 00333B0C 93 C1 00 08 */ stw r30, 8(r1) -/* 80336BB0 00333B10 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80336BB4 00333B14 41 82 00 A8 */ beq lbl_80336C5C -/* 80336BB8 00333B18 3C 60 80 3F */ lis r3, lbl_803EE2E0@ha -/* 80336BBC 00333B1C 38 03 E2 E0 */ addi r0, r3, lbl_803EE2E0@l -/* 80336BC0 00333B20 90 1E 00 00 */ stw r0, 0(r30) -/* 80336BC4 00333B24 80 7E 00 04 */ lwz r3, 4(r30) -/* 80336BC8 00333B28 28 03 00 00 */ cmplwi r3, 0 -/* 80336BCC 00333B2C 41 82 00 18 */ beq lbl_80336BE4 -/* 80336BD0 00333B30 81 83 00 00 */ lwz r12, 0(r3) -/* 80336BD4 00333B34 38 80 00 01 */ li r4, 1 -/* 80336BD8 00333B38 81 8C 00 08 */ lwz r12, 8(r12) -/* 80336BDC 00333B3C 7D 89 03 A6 */ mtctr r12 -/* 80336BE0 00333B40 4E 80 04 21 */ bctrl -lbl_80336BE4: -/* 80336BE4 00333B44 80 7E 00 08 */ lwz r3, 8(r30) -/* 80336BE8 00333B48 28 03 00 00 */ cmplwi r3, 0 -/* 80336BEC 00333B4C 41 82 00 18 */ beq lbl_80336C04 -/* 80336BF0 00333B50 81 83 00 00 */ lwz r12, 0(r3) -/* 80336BF4 00333B54 38 80 00 01 */ li r4, 1 -/* 80336BF8 00333B58 81 8C 00 08 */ lwz r12, 8(r12) -/* 80336BFC 00333B5C 7D 89 03 A6 */ mtctr r12 -/* 80336C00 00333B60 4E 80 04 21 */ bctrl -lbl_80336C04: -/* 80336C04 00333B64 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 80336C08 00333B68 28 03 00 00 */ cmplwi r3, 0 -/* 80336C0C 00333B6C 41 82 00 18 */ beq lbl_80336C24 -/* 80336C10 00333B70 81 83 00 00 */ lwz r12, 0(r3) -/* 80336C14 00333B74 38 80 00 01 */ li r4, 1 -/* 80336C18 00333B78 81 8C 00 08 */ lwz r12, 8(r12) -/* 80336C1C 00333B7C 7D 89 03 A6 */ mtctr r12 -/* 80336C20 00333B80 4E 80 04 21 */ bctrl -lbl_80336C24: -/* 80336C24 00333B84 28 1E 00 00 */ cmplwi r30, 0 -/* 80336C28 00333B88 41 82 00 20 */ beq lbl_80336C48 -/* 80336C2C 00333B8C 3C 60 80 3F */ lis r3, lbl_803EC594@ha -/* 80336C30 00333B90 38 03 C5 94 */ addi r0, r3, lbl_803EC594@l -/* 80336C34 00333B94 90 1E 00 00 */ stw r0, 0(r30) -/* 80336C38 00333B98 41 82 00 10 */ beq lbl_80336C48 -/* 80336C3C 00333B9C 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 80336C40 00333BA0 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 80336C44 00333BA4 90 1E 00 00 */ stw r0, 0(r30) -lbl_80336C48: -/* 80336C48 00333BA8 7F E0 07 35 */ extsh. r0, r31 -/* 80336C4C 00333BAC 40 81 00 10 */ ble lbl_80336C5C -/* 80336C50 00333BB0 7F C3 F3 78 */ mr r3, r30 -/* 80336C54 00333BB4 38 80 00 10 */ li r4, 0x10 -/* 80336C58 00333BB8 48 03 5E 0D */ bl sub_8036ca64 -lbl_80336C5C: -/* 80336C5C 00333BBC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80336C60 00333BC0 7F C3 F3 78 */ mr r3, r30 -/* 80336C64 00333BC4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80336C68 00333BC8 83 C1 00 08 */ lwz r30, 8(r1) -/* 80336C6C 00333BCC 7C 08 03 A6 */ mtlr r0 -/* 80336C70 00333BD0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80336C74 00333BD4 4E 80 00 20 */ blr - -.global __ct__11CVEConstantFP12CRealElementP12CRealElementP12CRealElement -__ct__11CVEConstantFP12CRealElementP12CRealElementP12CRealElement: -/* 80336C78 00333BD8 3D 20 80 3F */ lis r9, lbl_803EC5A8@ha -/* 80336C7C 00333BDC 3D 00 80 3F */ lis r8, lbl_803EC594@ha -/* 80336C80 00333BE0 38 09 C5 A8 */ addi r0, r9, lbl_803EC5A8@l -/* 80336C84 00333BE4 3C E0 80 3F */ lis r7, lbl_803EE2E0@ha -/* 80336C88 00333BE8 90 03 00 00 */ stw r0, 0(r3) -/* 80336C8C 00333BEC 39 08 C5 94 */ addi r8, r8, lbl_803EC594@l -/* 80336C90 00333BF0 38 07 E2 E0 */ addi r0, r7, lbl_803EE2E0@l -/* 80336C94 00333BF4 91 03 00 00 */ stw r8, 0(r3) -/* 80336C98 00333BF8 90 03 00 00 */ stw r0, 0(r3) -/* 80336C9C 00333BFC 90 83 00 04 */ stw r4, 4(r3) -/* 80336CA0 00333C00 90 A3 00 08 */ stw r5, 8(r3) -/* 80336CA4 00333C04 90 C3 00 0C */ stw r6, 0xc(r3) -/* 80336CA8 00333C08 4E 80 00 20 */ blr - -.global __dt__28CVEParticleSystemTranslationFv -__dt__28CVEParticleSystemTranslationFv: -/* 80336CAC 00333C0C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80336CB0 00333C10 7C 08 02 A6 */ mflr r0 -/* 80336CB4 00333C14 90 01 00 14 */ stw r0, 0x14(r1) -/* 80336CB8 00333C18 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80336CBC 00333C1C 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80336CC0 00333C20 41 82 00 44 */ beq lbl_80336D04 -/* 80336CC4 00333C24 3C 60 80 3F */ lis r3, lbl_803EE178@ha -/* 80336CC8 00333C28 38 03 E1 78 */ addi r0, r3, lbl_803EE178@l -/* 80336CCC 00333C2C 90 1F 00 00 */ stw r0, 0(r31) -/* 80336CD0 00333C30 41 82 00 20 */ beq lbl_80336CF0 -/* 80336CD4 00333C34 3C 60 80 3F */ lis r3, lbl_803EC594@ha -/* 80336CD8 00333C38 38 03 C5 94 */ addi r0, r3, lbl_803EC594@l -/* 80336CDC 00333C3C 90 1F 00 00 */ stw r0, 0(r31) -/* 80336CE0 00333C40 41 82 00 10 */ beq lbl_80336CF0 -/* 80336CE4 00333C44 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 80336CE8 00333C48 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 80336CEC 00333C4C 90 1F 00 00 */ stw r0, 0(r31) -lbl_80336CF0: -/* 80336CF0 00333C50 7C 80 07 35 */ extsh. r0, r4 -/* 80336CF4 00333C54 40 81 00 10 */ ble lbl_80336D04 -/* 80336CF8 00333C58 7F E3 FB 78 */ mr r3, r31 -/* 80336CFC 00333C5C 38 80 00 04 */ li r4, 4 -/* 80336D00 00333C60 48 03 5D 65 */ bl sub_8036ca64 -lbl_80336D04: -/* 80336D04 00333C64 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80336D08 00333C68 7F E3 FB 78 */ mr r3, r31 -/* 80336D0C 00333C6C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80336D10 00333C70 7C 08 03 A6 */ mtlr r0 -/* 80336D14 00333C74 38 21 00 10 */ addi r1, r1, 0x10 -/* 80336D18 00333C78 4E 80 00 20 */ blr - -.global __dt__33CVEParticleSystemOrientationRightF -__dt__33CVEParticleSystemOrientationRightF: -/* 80336D1C 00333C7C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80336D20 00333C80 7C 08 02 A6 */ mflr r0 -/* 80336D24 00333C84 90 01 00 14 */ stw r0, 0x14(r1) -/* 80336D28 00333C88 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80336D2C 00333C8C 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80336D30 00333C90 41 82 00 44 */ beq lbl_80336D74 -/* 80336D34 00333C94 3C 60 80 3F */ lis r3, lbl_803EE18C@ha -/* 80336D38 00333C98 38 03 E1 8C */ addi r0, r3, lbl_803EE18C@l -/* 80336D3C 00333C9C 90 1F 00 00 */ stw r0, 0(r31) -/* 80336D40 00333CA0 41 82 00 20 */ beq lbl_80336D60 -/* 80336D44 00333CA4 3C 60 80 3F */ lis r3, lbl_803EC594@ha -/* 80336D48 00333CA8 38 03 C5 94 */ addi r0, r3, lbl_803EC594@l -/* 80336D4C 00333CAC 90 1F 00 00 */ stw r0, 0(r31) -/* 80336D50 00333CB0 41 82 00 10 */ beq lbl_80336D60 -/* 80336D54 00333CB4 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 80336D58 00333CB8 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 80336D5C 00333CBC 90 1F 00 00 */ stw r0, 0(r31) -lbl_80336D60: -/* 80336D60 00333CC0 7C 80 07 35 */ extsh. r0, r4 -/* 80336D64 00333CC4 40 81 00 10 */ ble lbl_80336D74 -/* 80336D68 00333CC8 7F E3 FB 78 */ mr r3, r31 -/* 80336D6C 00333CCC 38 80 00 04 */ li r4, 4 -/* 80336D70 00333CD0 48 03 5C F5 */ bl sub_8036ca64 -lbl_80336D74: -/* 80336D74 00333CD4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80336D78 00333CD8 7F E3 FB 78 */ mr r3, r31 -/* 80336D7C 00333CDC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80336D80 00333CE0 7C 08 03 A6 */ mtlr r0 -/* 80336D84 00333CE4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80336D88 00333CE8 4E 80 00 20 */ blr - -.global __dt__31CVEParticleSystemOrienatationUpF -__dt__31CVEParticleSystemOrienatationUpF: -/* 80336D8C 00333CEC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80336D90 00333CF0 7C 08 02 A6 */ mflr r0 -/* 80336D94 00333CF4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80336D98 00333CF8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80336D9C 00333CFC 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80336DA0 00333D00 41 82 00 44 */ beq lbl_80336DE4 -/* 80336DA4 00333D04 3C 60 80 3F */ lis r3, lbl_803EE1A0@ha -/* 80336DA8 00333D08 38 03 E1 A0 */ addi r0, r3, lbl_803EE1A0@l -/* 80336DAC 00333D0C 90 1F 00 00 */ stw r0, 0(r31) -/* 80336DB0 00333D10 41 82 00 20 */ beq lbl_80336DD0 -/* 80336DB4 00333D14 3C 60 80 3F */ lis r3, lbl_803EC594@ha -/* 80336DB8 00333D18 38 03 C5 94 */ addi r0, r3, lbl_803EC594@l -/* 80336DBC 00333D1C 90 1F 00 00 */ stw r0, 0(r31) -/* 80336DC0 00333D20 41 82 00 10 */ beq lbl_80336DD0 -/* 80336DC4 00333D24 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 80336DC8 00333D28 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 80336DCC 00333D2C 90 1F 00 00 */ stw r0, 0(r31) -lbl_80336DD0: -/* 80336DD0 00333D30 7C 80 07 35 */ extsh. r0, r4 -/* 80336DD4 00333D34 40 81 00 10 */ ble lbl_80336DE4 -/* 80336DD8 00333D38 7F E3 FB 78 */ mr r3, r31 -/* 80336DDC 00333D3C 38 80 00 04 */ li r4, 4 -/* 80336DE0 00333D40 48 03 5C 85 */ bl sub_8036ca64 -lbl_80336DE4: -/* 80336DE4 00333D44 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80336DE8 00333D48 7F E3 FB 78 */ mr r3, r31 -/* 80336DEC 00333D4C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80336DF0 00333D50 7C 08 03 A6 */ mtlr r0 -/* 80336DF4 00333D54 38 21 00 10 */ addi r1, r1, 0x10 -/* 80336DF8 00333D58 4E 80 00 20 */ blr - -.global __dt__33CVEParticleSystemOrientationFrontF -__dt__33CVEParticleSystemOrientationFrontF: -/* 80336DFC 00333D5C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80336E00 00333D60 7C 08 02 A6 */ mflr r0 -/* 80336E04 00333D64 90 01 00 14 */ stw r0, 0x14(r1) -/* 80336E08 00333D68 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80336E0C 00333D6C 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80336E10 00333D70 41 82 00 44 */ beq lbl_80336E54 -/* 80336E14 00333D74 3C 60 80 3F */ lis r3, lbl_803EE1B4@ha -/* 80336E18 00333D78 38 03 E1 B4 */ addi r0, r3, lbl_803EE1B4@l -/* 80336E1C 00333D7C 90 1F 00 00 */ stw r0, 0(r31) -/* 80336E20 00333D80 41 82 00 20 */ beq lbl_80336E40 -/* 80336E24 00333D84 3C 60 80 3F */ lis r3, lbl_803EC594@ha -/* 80336E28 00333D88 38 03 C5 94 */ addi r0, r3, lbl_803EC594@l -/* 80336E2C 00333D8C 90 1F 00 00 */ stw r0, 0(r31) -/* 80336E30 00333D90 41 82 00 10 */ beq lbl_80336E40 -/* 80336E34 00333D94 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 80336E38 00333D98 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 80336E3C 00333D9C 90 1F 00 00 */ stw r0, 0(r31) -lbl_80336E40: -/* 80336E40 00333DA0 7C 80 07 35 */ extsh. r0, r4 -/* 80336E44 00333DA4 40 81 00 10 */ ble lbl_80336E54 -/* 80336E48 00333DA8 7F E3 FB 78 */ mr r3, r31 -/* 80336E4C 00333DAC 38 80 00 04 */ li r4, 4 -/* 80336E50 00333DB0 48 03 5C 15 */ bl sub_8036ca64 -lbl_80336E54: -/* 80336E54 00333DB4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80336E58 00333DB8 7F E3 FB 78 */ mr r3, r31 -/* 80336E5C 00333DBC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80336E60 00333DC0 7C 08 03 A6 */ mtlr r0 -/* 80336E64 00333DC4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80336E68 00333DC8 4E 80 00 20 */ blr - -.global __dt__19CVEParticleVelocityF -__dt__19CVEParticleVelocityF: -/* 80336E6C 00333DCC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80336E70 00333DD0 7C 08 02 A6 */ mflr r0 -/* 80336E74 00333DD4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80336E78 00333DD8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80336E7C 00333DDC 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80336E80 00333DE0 41 82 00 44 */ beq lbl_80336EC4 -/* 80336E84 00333DE4 3C 60 80 3F */ lis r3, lbl_803EE1C8@ha -/* 80336E88 00333DE8 38 03 E1 C8 */ addi r0, r3, lbl_803EE1C8@l -/* 80336E8C 00333DEC 90 1F 00 00 */ stw r0, 0(r31) -/* 80336E90 00333DF0 41 82 00 20 */ beq lbl_80336EB0 -/* 80336E94 00333DF4 3C 60 80 3F */ lis r3, lbl_803EC594@ha -/* 80336E98 00333DF8 38 03 C5 94 */ addi r0, r3, lbl_803EC594@l -/* 80336E9C 00333DFC 90 1F 00 00 */ stw r0, 0(r31) -/* 80336EA0 00333E00 41 82 00 10 */ beq lbl_80336EB0 -/* 80336EA4 00333E04 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 80336EA8 00333E08 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 80336EAC 00333E0C 90 1F 00 00 */ stw r0, 0(r31) -lbl_80336EB0: -/* 80336EB0 00333E10 7C 80 07 35 */ extsh. r0, r4 -/* 80336EB4 00333E14 40 81 00 10 */ ble lbl_80336EC4 -/* 80336EB8 00333E18 7F E3 FB 78 */ mr r3, r31 -/* 80336EBC 00333E1C 38 80 00 04 */ li r4, 4 -/* 80336EC0 00333E20 48 03 5B A5 */ bl sub_8036ca64 -lbl_80336EC4: -/* 80336EC4 00333E24 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80336EC8 00333E28 7F E3 FB 78 */ mr r3, r31 -/* 80336ECC 00333E2C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80336ED0 00333E30 7C 08 03 A6 */ mtlr r0 -/* 80336ED4 00333E34 38 21 00 10 */ addi r1, r1, 0x10 -/* 80336ED8 00333E38 4E 80 00 20 */ blr - -.global __dt__16CVEParticleColorF -__dt__16CVEParticleColorF: -/* 80336EDC 00333E3C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80336EE0 00333E40 7C 08 02 A6 */ mflr r0 -/* 80336EE4 00333E44 90 01 00 14 */ stw r0, 0x14(r1) -/* 80336EE8 00333E48 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80336EEC 00333E4C 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80336EF0 00333E50 41 82 00 44 */ beq lbl_80336F34 -/* 80336EF4 00333E54 3C 60 80 3F */ lis r3, lbl_803EE1DC@ha -/* 80336EF8 00333E58 38 03 E1 DC */ addi r0, r3, lbl_803EE1DC@l -/* 80336EFC 00333E5C 90 1F 00 00 */ stw r0, 0(r31) -/* 80336F00 00333E60 41 82 00 20 */ beq lbl_80336F20 -/* 80336F04 00333E64 3C 60 80 3F */ lis r3, lbl_803EC594@ha -/* 80336F08 00333E68 38 03 C5 94 */ addi r0, r3, lbl_803EC594@l -/* 80336F0C 00333E6C 90 1F 00 00 */ stw r0, 0(r31) -/* 80336F10 00333E70 41 82 00 10 */ beq lbl_80336F20 -/* 80336F14 00333E74 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 80336F18 00333E78 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 80336F1C 00333E7C 90 1F 00 00 */ stw r0, 0(r31) -lbl_80336F20: -/* 80336F20 00333E80 7C 80 07 35 */ extsh. r0, r4 -/* 80336F24 00333E84 40 81 00 10 */ ble lbl_80336F34 -/* 80336F28 00333E88 7F E3 FB 78 */ mr r3, r31 -/* 80336F2C 00333E8C 38 80 00 04 */ li r4, 4 -/* 80336F30 00333E90 48 03 5B 35 */ bl sub_8036ca64 -lbl_80336F34: -/* 80336F34 00333E94 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80336F38 00333E98 7F E3 FB 78 */ mr r3, r31 -/* 80336F3C 00333E9C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80336F40 00333EA0 7C 08 03 A6 */ mtlr r0 -/* 80336F44 00333EA4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80336F48 00333EA8 4E 80 00 20 */ blr - -.global __dt__19CVEParticleLocation -__dt__19CVEParticleLocation: -/* 80336F4C 00333EAC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80336F50 00333EB0 7C 08 02 A6 */ mflr r0 -/* 80336F54 00333EB4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80336F58 00333EB8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80336F5C 00333EBC 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80336F60 00333EC0 41 82 00 44 */ beq lbl_80336FA4 -/* 80336F64 00333EC4 3C 60 80 3F */ lis r3, lbl_803EE1F0@ha -/* 80336F68 00333EC8 38 03 E1 F0 */ addi r0, r3, lbl_803EE1F0@l -/* 80336F6C 00333ECC 90 1F 00 00 */ stw r0, 0(r31) -/* 80336F70 00333ED0 41 82 00 20 */ beq lbl_80336F90 -/* 80336F74 00333ED4 3C 60 80 3F */ lis r3, lbl_803EC594@ha -/* 80336F78 00333ED8 38 03 C5 94 */ addi r0, r3, lbl_803EC594@l -/* 80336F7C 00333EDC 90 1F 00 00 */ stw r0, 0(r31) -/* 80336F80 00333EE0 41 82 00 10 */ beq lbl_80336F90 -/* 80336F84 00333EE4 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 80336F88 00333EE8 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 80336F8C 00333EEC 90 1F 00 00 */ stw r0, 0(r31) -lbl_80336F90: -/* 80336F90 00333EF0 7C 80 07 35 */ extsh. r0, r4 -/* 80336F94 00333EF4 40 81 00 10 */ ble lbl_80336FA4 -/* 80336F98 00333EF8 7F E3 FB 78 */ mr r3, r31 -/* 80336F9C 00333EFC 38 80 00 04 */ li r4, 4 -/* 80336FA0 00333F00 48 03 5A C5 */ bl sub_8036ca64 -lbl_80336FA4: -/* 80336FA4 00333F04 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80336FA8 00333F08 7F E3 FB 78 */ mr r3, r31 -/* 80336FAC 00333F0C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80336FB0 00333F10 7C 08 03 A6 */ mtlr r0 -/* 80336FB4 00333F14 38 21 00 10 */ addi r1, r1, 0x10 -/* 80336FB8 00333F18 4E 80 00 20 */ blr - -.global IsFastConstant__15CVEFastConstantCF -IsFastConstant__15CVEFastConstantCF: -/* 80336FBC 00333F1C 38 60 00 01 */ li r3, 1 -/* 80336FC0 00333F20 4E 80 00 20 */ blr - -.global __dt__5CWarpFv -__dt__5CWarpFv: -/* 80336FC4 00333F24 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80336FC8 00333F28 7C 08 02 A6 */ mflr r0 -/* 80336FCC 00333F2C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80336FD0 00333F30 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80336FD4 00333F34 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80336FD8 00333F38 41 82 00 1C */ beq lbl_80336FF4 -/* 80336FDC 00333F3C 3C A0 80 3F */ lis r5, lbl_803EE2F8@ha -/* 80336FE0 00333F40 7C 80 07 35 */ extsh. r0, r4 -/* 80336FE4 00333F44 38 05 E2 F8 */ addi r0, r5, lbl_803EE2F8@l -/* 80336FE8 00333F48 90 1F 00 00 */ stw r0, 0(r31) -/* 80336FEC 00333F4C 40 81 00 08 */ ble lbl_80336FF4 -/* 80336FF0 00333F50 4B FD E9 41 */ bl Free__7CMemoryFPCv -lbl_80336FF4: -/* 80336FF4 00333F54 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80336FF8 00333F58 7F E3 FB 78 */ mr r3, r31 -/* 80336FFC 00333F5C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80337000 00333F60 7C 08 03 A6 */ mtlr r0 -/* 80337004 00333F64 38 21 00 10 */ addi r1, r1, 0x10 -/* 80337008 00333F68 4E 80 00 20 */ blr - -.global ProjectedDeltaDist__RC6CPlaneRC9CVector3fRC9CVector3f -ProjectedDeltaDist__RC6CPlaneRC9CVector3fRC9CVector3f: -/* 8033700C 00333F6C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80337010 00333F70 C0 64 00 04 */ lfs f3, 4(r4) -/* 80337014 00333F74 C0 43 00 04 */ lfs f2, 4(r3) -/* 80337018 00333F78 C0 25 00 04 */ lfs f1, 4(r5) -/* 8033701C 00333F7C EC 03 00 B2 */ fmuls f0, f3, f2 -/* 80337020 00333F80 C0 84 00 00 */ lfs f4, 0(r4) -/* 80337024 00333F84 C0 E3 00 00 */ lfs f7, 0(r3) -/* 80337028 00333F88 EC A1 18 28 */ fsubs f5, f1, f3 -/* 8033702C 00333F8C C0 25 00 00 */ lfs f1, 0(r5) -/* 80337030 00333F90 EC 04 01 FA */ fmadds f0, f4, f7, f0 -/* 80337034 00333F94 C1 24 00 08 */ lfs f9, 8(r4) -/* 80337038 00333F98 EC C1 20 28 */ fsubs f6, f1, f4 -/* 8033703C 00333F9C EC 65 00 B2 */ fmuls f3, f5, f2 -/* 80337040 00333FA0 C1 03 00 08 */ lfs f8, 8(r3) -/* 80337044 00333FA4 C0 25 00 08 */ lfs f1, 8(r5) -/* 80337048 00333FA8 EC 49 02 3A */ fmadds f2, f9, f8, f0 -/* 8033704C 00333FAC C0 03 00 0C */ lfs f0, 0xc(r3) -/* 80337050 00333FB0 EC 81 48 28 */ fsubs f4, f1, f9 -/* 80337054 00333FB4 EC 66 19 FA */ fmadds f3, f6, f7, f3 -/* 80337058 00333FB8 C0 22 CB 80 */ lfs f1, lbl_805AE8A0@sda21(r2) -/* 8033705C 00333FBC EC 02 00 28 */ fsubs f0, f2, f0 -/* 80337060 00333FC0 D0 C1 00 08 */ stfs f6, 8(r1) -/* 80337064 00333FC4 EC 44 1A 3A */ fmadds f2, f4, f8, f3 -/* 80337068 00333FC8 FC 00 00 50 */ fneg f0, f0 -/* 8033706C 00333FCC D0 A1 00 0C */ stfs f5, 0xc(r1) -/* 80337070 00333FD0 D0 81 00 10 */ stfs f4, 0x10(r1) -/* 80337074 00333FD4 EC 00 10 24 */ fdivs f0, f0, f2 -/* 80337078 00333FD8 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 8033707C 00333FDC 4C 40 13 82 */ cror 2, 0, 2 -/* 80337080 00333FE0 40 82 00 08 */ bne lbl_80337088 -/* 80337084 00333FE4 48 00 00 1C */ b lbl_803370A0 -lbl_80337088: -/* 80337088 00333FE8 C0 22 CB 84 */ lfs f1, lbl_805AE8A4@sda21(r2) -/* 8033708C 00333FEC FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80337090 00333FF0 4C 41 13 82 */ cror 2, 1, 2 -/* 80337094 00333FF4 40 82 00 08 */ bne lbl_8033709C -/* 80337098 00333FF8 48 00 00 08 */ b lbl_803370A0 -lbl_8033709C: -/* 8033709C 00333FFC FC 20 00 90 */ fmr f1, f0 -lbl_803370A0: -/* 803370A0 00334000 38 21 00 20 */ addi r1, r1, 0x20 -/* 803370A4 00334004 4E 80 00 20 */ blr - -.global __ct__6CPlaneFRC9CVector3fRC9CVector3fRC9CVector3f -__ct__6CPlaneFRC9CVector3fRC9CVector3fRC9CVector3f: -/* 803370A8 00334008 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 803370AC 0033400C 7C 08 02 A6 */ mflr r0 -/* 803370B0 00334010 90 01 00 44 */ stw r0, 0x44(r1) -/* 803370B4 00334014 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 803370B8 00334018 7C 9F 23 78 */ mr r31, r4 -/* 803370BC 0033401C 93 C1 00 38 */ stw r30, 0x38(r1) -/* 803370C0 00334020 7C 7E 1B 78 */ mr r30, r3 -/* 803370C4 00334024 C0 44 00 00 */ lfs f2, 0(r4) -/* 803370C8 00334028 38 81 00 20 */ addi r4, r1, 0x20 -/* 803370CC 0033402C C0 26 00 00 */ lfs f1, 0(r6) -/* 803370D0 00334030 C0 05 00 00 */ lfs f0, 0(r5) -/* 803370D4 00334034 ED 01 10 28 */ fsubs f8, f1, f2 -/* 803370D8 00334038 C0 26 00 04 */ lfs f1, 4(r6) -/* 803370DC 0033403C EC 60 10 28 */ fsubs f3, f0, f2 -/* 803370E0 00334040 C0 9F 00 04 */ lfs f4, 4(r31) -/* 803370E4 00334044 C0 05 00 04 */ lfs f0, 4(r5) -/* 803370E8 00334048 EC E1 20 28 */ fsubs f7, f1, f4 -/* 803370EC 0033404C EC A0 20 28 */ fsubs f5, f0, f4 -/* 803370F0 00334050 C0 26 00 08 */ lfs f1, 8(r6) -/* 803370F4 00334054 C0 5F 00 08 */ lfs f2, 8(r31) -/* 803370F8 00334058 C0 05 00 08 */ lfs f0, 8(r5) -/* 803370FC 0033405C EC C1 10 28 */ fsubs f6, f1, f2 -/* 80337100 00334060 D1 01 00 08 */ stfs f8, 8(r1) -/* 80337104 00334064 EC 80 10 28 */ fsubs f4, f0, f2 -/* 80337108 00334068 EC 08 01 72 */ fmuls f0, f8, f5 -/* 8033710C 0033406C D0 E1 00 0C */ stfs f7, 0xc(r1) -/* 80337110 00334070 EC 26 00 F2 */ fmuls f1, f6, f3 -/* 80337114 00334074 EC 47 01 32 */ fmuls f2, f7, f4 -/* 80337118 00334078 D0 C1 00 10 */ stfs f6, 0x10(r1) -/* 8033711C 0033407C EC 03 01 F8 */ fmsubs f0, f3, f7, f0 -/* 80337120 00334080 EC 24 0A 38 */ fmsubs f1, f4, f8, f1 -/* 80337124 00334084 D0 61 00 14 */ stfs f3, 0x14(r1) -/* 80337128 00334088 EC 45 11 B8 */ fmsubs f2, f5, f6, f2 -/* 8033712C 0033408C D0 A1 00 18 */ stfs f5, 0x18(r1) -/* 80337130 00334090 D0 81 00 1C */ stfs f4, 0x1c(r1) -/* 80337134 00334094 D0 41 00 20 */ stfs f2, 0x20(r1) -/* 80337138 00334098 D0 21 00 24 */ stfs f1, 0x24(r1) -/* 8033713C 0033409C D0 01 00 28 */ stfs f0, 0x28(r1) -/* 80337140 003340A0 4B FD CC 91 */ bl __ct__11CUnitVectorFRC9CVector3f -/* 80337144 003340A4 C0 3E 00 04 */ lfs f1, 4(r30) -/* 80337148 003340A8 7F C3 F3 78 */ mr r3, r30 -/* 8033714C 003340AC C0 1F 00 04 */ lfs f0, 4(r31) -/* 80337150 003340B0 C0 5E 00 00 */ lfs f2, 0(r30) -/* 80337154 003340B4 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80337158 003340B8 C0 3F 00 00 */ lfs f1, 0(r31) -/* 8033715C 003340BC C0 9E 00 08 */ lfs f4, 8(r30) -/* 80337160 003340C0 C0 7F 00 08 */ lfs f3, 8(r31) -/* 80337164 003340C4 EC 02 00 7A */ fmadds f0, f2, f1, f0 -/* 80337168 003340C8 EC 04 00 FA */ fmadds f0, f4, f3, f0 -/* 8033716C 003340CC D0 1E 00 0C */ stfs f0, 0xc(r30) -/* 80337170 003340D0 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 80337174 003340D4 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 80337178 003340D8 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8033717C 003340DC 7C 08 03 A6 */ mtlr r0 -/* 80337180 003340E0 38 21 00 40 */ addi r1, r1, 0x40 -/* 80337184 003340E4 4E 80 00 20 */ blr - -.global GetSurfaceNormal__7CSphereCFRC9CVector3f -GetSurfaceNormal__7CSphereCFRC9CVector3f: -/* 80337188 003340E8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8033718C 003340EC 7C 08 02 A6 */ mflr r0 -/* 80337190 003340F0 90 01 00 24 */ stw r0, 0x24(r1) -/* 80337194 003340F4 C0 25 00 04 */ lfs f1, 4(r5) -/* 80337198 003340F8 C0 04 00 04 */ lfs f0, 4(r4) -/* 8033719C 003340FC C0 65 00 08 */ lfs f3, 8(r5) -/* 803371A0 00334100 EC 81 00 28 */ fsubs f4, f1, f0 -/* 803371A4 00334104 C0 44 00 08 */ lfs f2, 8(r4) -/* 803371A8 00334108 C0 04 00 00 */ lfs f0, 0(r4) -/* 803371AC 0033410C 38 81 00 08 */ addi r4, r1, 8 -/* 803371B0 00334110 C0 25 00 00 */ lfs f1, 0(r5) -/* 803371B4 00334114 EC 43 10 28 */ fsubs f2, f3, f2 -/* 803371B8 00334118 EC 01 00 28 */ fsubs f0, f1, f0 -/* 803371BC 0033411C D0 81 00 0C */ stfs f4, 0xc(r1) -/* 803371C0 00334120 D0 41 00 10 */ stfs f2, 0x10(r1) -/* 803371C4 00334124 D0 01 00 08 */ stfs f0, 8(r1) -/* 803371C8 00334128 4B FD CC 09 */ bl __ct__11CUnitVectorFRC9CVector3f -/* 803371CC 0033412C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 803371D0 00334130 7C 08 03 A6 */ mtlr r0 -/* 803371D4 00334134 38 21 00 20 */ addi r1, r1, 0x20 -/* 803371D8 00334138 4E 80 00 20 */ blr - -.global ClosestPointAlongVector__6CAABoxCFRC9CVector3f -ClosestPointAlongVector__6CAABoxCFRC9CVector3f: -/* 803371DC 0033413C C0 05 00 00 */ lfs f0, 0(r5) -/* 803371E0 00334140 C0 24 00 00 */ lfs f1, 0(r4) -/* 803371E4 00334144 C0 64 00 0C */ lfs f3, 0xc(r4) -/* 803371E8 00334148 C0 45 00 04 */ lfs f2, 4(r5) -/* 803371EC 0033414C FC A0 18 6E */ fsel f5, f0, f1, f3 -/* 803371F0 00334150 C0 64 00 04 */ lfs f3, 4(r4) -/* 803371F4 00334154 C0 84 00 10 */ lfs f4, 0x10(r4) -/* 803371F8 00334158 C0 05 00 08 */ lfs f0, 8(r5) -/* 803371FC 0033415C C0 24 00 08 */ lfs f1, 8(r4) -/* 80337200 00334160 FC 62 20 EE */ fsel f3, f2, f3, f4 -/* 80337204 00334164 C0 44 00 14 */ lfs f2, 0x14(r4) -/* 80337208 00334168 D0 A3 00 00 */ stfs f5, 0(r3) -/* 8033720C 0033416C FC 00 10 6E */ fsel f0, f0, f1, f2 -/* 80337210 00334170 D0 63 00 04 */ stfs f3, 4(r3) -/* 80337214 00334174 D0 03 00 08 */ stfs f0, 8(r3) -/* 80337218 00334178 4E 80 00 20 */ blr - -.global FurthestPointAlongVector__6CAABoxCFRC9CVector3f -FurthestPointAlongVector__6CAABoxCFRC9CVector3f: -/* 8033721C 0033417C C0 05 00 00 */ lfs f0, 0(r5) -/* 80337220 00334180 C0 24 00 0C */ lfs f1, 0xc(r4) -/* 80337224 00334184 C0 64 00 00 */ lfs f3, 0(r4) -/* 80337228 00334188 C0 45 00 04 */ lfs f2, 4(r5) -/* 8033722C 0033418C FC A0 18 6E */ fsel f5, f0, f1, f3 -/* 80337230 00334190 C0 64 00 10 */ lfs f3, 0x10(r4) -/* 80337234 00334194 C0 84 00 04 */ lfs f4, 4(r4) -/* 80337238 00334198 C0 05 00 08 */ lfs f0, 8(r5) -/* 8033723C 0033419C C0 24 00 14 */ lfs f1, 0x14(r4) -/* 80337240 003341A0 FC 62 20 EE */ fsel f3, f2, f3, f4 -/* 80337244 003341A4 C0 44 00 08 */ lfs f2, 8(r4) -/* 80337248 003341A8 D0 A3 00 00 */ stfs f5, 0(r3) -/* 8033724C 003341AC FC 00 10 6E */ fsel f0, f0, f1, f2 -/* 80337250 003341B0 D0 63 00 04 */ stfs f3, 4(r3) -/* 80337254 003341B4 D0 03 00 08 */ stfs f0, 8(r3) -/* 80337258 003341B8 4E 80 00 20 */ blr - -.global DistanceBetween__6CAABoxFRC6CAABoxRC6CAABox -DistanceBetween__6CAABoxFRC6CAABoxRC6CAABox: -/* 8033725C 003341BC 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 80337260 003341C0 7C 08 02 A6 */ mflr r0 -/* 80337264 003341C4 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 80337268 003341C8 DB E1 00 90 */ stfd f31, 0x90(r1) -/* 8033726C 003341CC F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 -/* 80337270 003341D0 DB C1 00 80 */ stfd f30, 0x80(r1) -/* 80337274 003341D4 F3 C1 00 88 */ psq_st f30, 136(r1), 0, qr0 -/* 80337278 003341D8 DB A1 00 70 */ stfd f29, 0x70(r1) -/* 8033727C 003341DC F3 A1 00 78 */ psq_st f29, 120(r1), 0, qr0 -/* 80337280 003341E0 93 E1 00 6C */ stw r31, 0x6c(r1) -/* 80337284 003341E4 C0 04 00 00 */ lfs f0, 0(r4) -/* 80337288 003341E8 C0 C3 00 0C */ lfs f6, 0xc(r3) -/* 8033728C 003341EC FC 06 00 40 */ fcmpo cr0, f6, f0 -/* 80337290 003341F0 7C 00 00 26 */ mfcr r0 -/* 80337294 003341F4 C0 23 00 00 */ lfs f1, 0(r3) -/* 80337298 003341F8 C0 E4 00 0C */ lfs f7, 0xc(r4) -/* 8033729C 003341FC 54 05 0F FE */ srwi r5, r0, 0x1f -/* 803372A0 00334200 FC 01 38 40 */ fcmpo cr0, f1, f7 -/* 803372A4 00334204 7C 00 00 26 */ mfcr r0 -/* 803372A8 00334208 C0 44 00 04 */ lfs f2, 4(r4) -/* 803372AC 0033420C C1 03 00 10 */ lfs f8, 0x10(r3) -/* 803372B0 00334210 54 06 17 FE */ rlwinm r6, r0, 2, 0x1f, 0x1f -/* 803372B4 00334214 FC 08 10 40 */ fcmpo cr0, f8, f2 -/* 803372B8 00334218 7C 00 00 26 */ mfcr r0 -/* 803372BC 0033421C C0 63 00 04 */ lfs f3, 4(r3) -/* 803372C0 00334220 C1 24 00 10 */ lfs f9, 0x10(r4) -/* 803372C4 00334224 54 07 0F FE */ srwi r7, r0, 0x1f -/* 803372C8 00334228 FC 03 48 40 */ fcmpo cr0, f3, f9 -/* 803372CC 0033422C 7C 00 00 26 */ mfcr r0 -/* 803372D0 00334230 C0 84 00 08 */ lfs f4, 8(r4) -/* 803372D4 00334234 C1 43 00 14 */ lfs f10, 0x14(r3) -/* 803372D8 00334238 54 08 17 FE */ rlwinm r8, r0, 2, 0x1f, 0x1f -/* 803372DC 0033423C FC 0A 20 40 */ fcmpo cr0, f10, f4 -/* 803372E0 00334240 7C 00 00 26 */ mfcr r0 -/* 803372E4 00334244 C0 A3 00 08 */ lfs f5, 8(r3) -/* 803372E8 00334248 C1 64 00 14 */ lfs f11, 0x14(r4) -/* 803372EC 0033424C 54 09 0F FE */ srwi r9, r0, 0x1f -/* 803372F0 00334250 FC 05 58 40 */ fcmpo cr0, f5, f11 -/* 803372F4 00334254 7C 00 00 26 */ mfcr r0 -/* 803372F8 00334258 28 05 00 00 */ cmplwi r5, 0 -/* 803372FC 0033425C 54 0A 17 FE */ rlwinm r10, r0, 2, 0x1f, 0x1f -/* 80337300 00334260 39 60 00 00 */ li r11, 0 -/* 80337304 00334264 38 00 00 00 */ li r0, 0 -/* 80337308 00334268 40 82 00 10 */ bne lbl_80337318 -/* 8033730C 0033426C 28 06 00 00 */ cmplwi r6, 0 -/* 80337310 00334270 40 82 00 08 */ bne lbl_80337318 -/* 80337314 00334274 38 00 00 01 */ li r0, 1 -lbl_80337318: -/* 80337318 00334278 28 07 00 00 */ cmplwi r7, 0 -/* 8033731C 0033427C 38 80 00 00 */ li r4, 0 -/* 80337320 00334280 40 82 00 10 */ bne lbl_80337330 -/* 80337324 00334284 28 08 00 00 */ cmplwi r8, 0 -/* 80337328 00334288 40 82 00 08 */ bne lbl_80337330 -/* 8033732C 0033428C 38 80 00 01 */ li r4, 1 -lbl_80337330: -/* 80337330 00334290 28 09 00 00 */ cmplwi r9, 0 -/* 80337334 00334294 38 60 00 00 */ li r3, 0 -/* 80337338 00334298 40 82 00 10 */ bne lbl_80337348 -/* 8033733C 0033429C 28 0A 00 00 */ cmplwi r10, 0 -/* 80337340 003342A0 40 82 00 08 */ bne lbl_80337348 -/* 80337344 003342A4 38 60 00 01 */ li r3, 1 -lbl_80337348: -/* 80337348 003342A8 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 8033734C 003342AC 41 82 00 08 */ beq lbl_80337354 -/* 80337350 003342B0 61 6B 00 01 */ ori r11, r11, 1 -lbl_80337354: -/* 80337354 003342B4 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 80337358 003342B8 41 82 00 08 */ beq lbl_80337360 -/* 8033735C 003342BC 61 6B 00 02 */ ori r11, r11, 2 -lbl_80337360: -/* 80337360 003342C0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80337364 003342C4 41 82 00 08 */ beq lbl_8033736C -/* 80337368 003342C8 61 6B 00 04 */ ori r11, r11, 4 -lbl_8033736C: -/* 8033736C 003342CC 28 05 00 00 */ cmplwi r5, 0 -/* 80337370 003342D0 41 82 00 10 */ beq lbl_80337380 -/* 80337374 003342D4 FF E0 30 90 */ fmr f31, f6 -/* 80337378 003342D8 FC 20 00 90 */ fmr f1, f0 -/* 8033737C 003342DC 48 00 00 0C */ b lbl_80337388 -lbl_80337380: -/* 80337380 003342E0 FF E0 08 90 */ fmr f31, f1 -/* 80337384 003342E4 FC 20 38 90 */ fmr f1, f7 -lbl_80337388: -/* 80337388 003342E8 28 07 00 00 */ cmplwi r7, 0 -/* 8033738C 003342EC 41 82 00 10 */ beq lbl_8033739C -/* 80337390 003342F0 FF C0 40 90 */ fmr f30, f8 -/* 80337394 003342F4 FC C0 10 90 */ fmr f6, f2 -/* 80337398 003342F8 48 00 00 0C */ b lbl_803373A4 -lbl_8033739C: -/* 8033739C 003342FC FF C0 18 90 */ fmr f30, f3 -/* 803373A0 00334300 FC C0 48 90 */ fmr f6, f9 -lbl_803373A4: -/* 803373A4 00334304 28 09 00 00 */ cmplwi r9, 0 -/* 803373A8 00334308 41 82 00 10 */ beq lbl_803373B8 -/* 803373AC 0033430C FF A0 50 90 */ fmr f29, f10 -/* 803373B0 00334310 FC 40 20 90 */ fmr f2, f4 -/* 803373B4 00334314 48 00 00 0C */ b lbl_803373C0 -lbl_803373B8: -/* 803373B8 00334318 FF A0 28 90 */ fmr f29, f5 -/* 803373BC 0033431C FC 40 58 90 */ fmr f2, f11 -lbl_803373C0: -/* 803373C0 00334320 28 0B 00 07 */ cmplwi r11, 7 -/* 803373C4 00334324 41 81 01 40 */ bgt lbl_80337504 -/* 803373C8 00334328 3C 60 80 3F */ lis r3, lbl_803EE318@ha -/* 803373CC 0033432C 55 60 10 3A */ slwi r0, r11, 2 -/* 803373D0 00334330 38 63 E3 18 */ addi r3, r3, lbl_803EE318@l -/* 803373D4 00334334 7C 03 00 2E */ lwzx r0, r3, r0 -/* 803373D8 00334338 7C 09 03 A6 */ mtctr r0 -/* 803373DC 0033433C 4E 80 04 20 */ bctr -/* 803373E0 00334340 FC 80 F0 18 */ frsp f4, f30 -/* 803373E4 00334344 D3 E1 00 50 */ stfs f31, 0x50(r1) -/* 803373E8 00334348 FC 60 E8 18 */ frsp f3, f29 -/* 803373EC 0033434C 38 61 00 5C */ addi r3, r1, 0x5c -/* 803373F0 00334350 FC 00 F8 18 */ frsp f0, f31 -/* 803373F4 00334354 D3 C1 00 54 */ stfs f30, 0x54(r1) -/* 803373F8 00334358 EC 84 30 28 */ fsubs f4, f4, f6 -/* 803373FC 0033435C D3 A1 00 58 */ stfs f29, 0x58(r1) -/* 80337400 00334360 EC 43 10 28 */ fsubs f2, f3, f2 -/* 80337404 00334364 EC 00 08 28 */ fsubs f0, f0, f1 -/* 80337408 00334368 D0 81 00 60 */ stfs f4, 0x60(r1) -/* 8033740C 0033436C D0 01 00 5C */ stfs f0, 0x5c(r1) -/* 80337410 00334370 D0 41 00 64 */ stfs f2, 0x64(r1) -/* 80337414 00334374 4B FD D4 A5 */ bl Magnitude__9CVector3fCFv -/* 80337418 00334378 48 00 00 F0 */ b lbl_80337508 -/* 8033741C 0033437C FC 20 30 90 */ fmr f1, f6 -/* 80337420 00334380 38 61 00 38 */ addi r3, r1, 0x38 -/* 80337424 00334384 4B FD CD DD */ bl __ct__9CVector2fFff -/* 80337428 00334388 FC 20 F0 90 */ fmr f1, f30 -/* 8033742C 0033438C 7C 7F 1B 78 */ mr r31, r3 -/* 80337430 00334390 FC 40 E8 90 */ fmr f2, f29 -/* 80337434 00334394 38 61 00 40 */ addi r3, r1, 0x40 -/* 80337438 00334398 4B FD CD C9 */ bl __ct__9CVector2fFff -/* 8033743C 0033439C 7C 64 1B 78 */ mr r4, r3 -/* 80337440 003343A0 7F E5 FB 78 */ mr r5, r31 -/* 80337444 003343A4 38 61 00 48 */ addi r3, r1, 0x48 -/* 80337448 003343A8 4B FD CA F1 */ bl __mi__FRC9CVector2fRC9CVector2f -/* 8033744C 003343AC 38 61 00 48 */ addi r3, r1, 0x48 -/* 80337450 003343B0 4B FD CC A5 */ bl Magnitude__9CVector2fCFv -/* 80337454 003343B4 48 00 00 B4 */ b lbl_80337508 -/* 80337458 003343B8 38 61 00 20 */ addi r3, r1, 0x20 -/* 8033745C 003343BC 4B FD CD A5 */ bl __ct__9CVector2fFff -/* 80337460 003343C0 FC 20 F8 90 */ fmr f1, f31 -/* 80337464 003343C4 7C 7F 1B 78 */ mr r31, r3 -/* 80337468 003343C8 FC 40 E8 90 */ fmr f2, f29 -/* 8033746C 003343CC 38 61 00 28 */ addi r3, r1, 0x28 -/* 80337470 003343D0 4B FD CD 91 */ bl __ct__9CVector2fFff -/* 80337474 003343D4 7C 64 1B 78 */ mr r4, r3 -/* 80337478 003343D8 7F E5 FB 78 */ mr r5, r31 -/* 8033747C 003343DC 38 61 00 30 */ addi r3, r1, 0x30 -/* 80337480 003343E0 4B FD CA B9 */ bl __mi__FRC9CVector2fRC9CVector2f -/* 80337484 003343E4 38 61 00 30 */ addi r3, r1, 0x30 -/* 80337488 003343E8 4B FD CC 6D */ bl Magnitude__9CVector2fCFv -/* 8033748C 003343EC 48 00 00 7C */ b lbl_80337508 -/* 80337490 003343F0 EC 1D 10 28 */ fsubs f0, f29, f2 -/* 80337494 003343F4 FC 00 02 10 */ fabs f0, f0 -/* 80337498 003343F8 FC 20 00 18 */ frsp f1, f0 -/* 8033749C 003343FC 48 00 00 6C */ b lbl_80337508 -/* 803374A0 00334400 FC 40 30 90 */ fmr f2, f6 -/* 803374A4 00334404 38 61 00 08 */ addi r3, r1, 8 -/* 803374A8 00334408 4B FD CD 59 */ bl __ct__9CVector2fFff -/* 803374AC 0033440C FC 20 F8 90 */ fmr f1, f31 -/* 803374B0 00334410 7C 7F 1B 78 */ mr r31, r3 -/* 803374B4 00334414 FC 40 F0 90 */ fmr f2, f30 -/* 803374B8 00334418 38 61 00 10 */ addi r3, r1, 0x10 -/* 803374BC 0033441C 4B FD CD 45 */ bl __ct__9CVector2fFff -/* 803374C0 00334420 7C 64 1B 78 */ mr r4, r3 -/* 803374C4 00334424 7F E5 FB 78 */ mr r5, r31 -/* 803374C8 00334428 38 61 00 18 */ addi r3, r1, 0x18 -/* 803374CC 0033442C 4B FD CA 6D */ bl __mi__FRC9CVector2fRC9CVector2f -/* 803374D0 00334430 38 61 00 18 */ addi r3, r1, 0x18 -/* 803374D4 00334434 4B FD CC 21 */ bl Magnitude__9CVector2fCFv -/* 803374D8 00334438 48 00 00 30 */ b lbl_80337508 -/* 803374DC 0033443C EC 1E 30 28 */ fsubs f0, f30, f6 -/* 803374E0 00334440 FC 00 02 10 */ fabs f0, f0 -/* 803374E4 00334444 FC 20 00 18 */ frsp f1, f0 -/* 803374E8 00334448 48 00 00 20 */ b lbl_80337508 -/* 803374EC 0033444C EC 1F 08 28 */ fsubs f0, f31, f1 -/* 803374F0 00334450 FC 00 02 10 */ fabs f0, f0 -/* 803374F4 00334454 FC 20 00 18 */ frsp f1, f0 -/* 803374F8 00334458 48 00 00 10 */ b lbl_80337508 -/* 803374FC 0033445C C0 22 CB 88 */ lfs f1, lbl_805AE8A8@sda21(r2) -/* 80337500 00334460 48 00 00 08 */ b lbl_80337508 -lbl_80337504: -/* 80337504 00334464 C0 22 CB 88 */ lfs f1, lbl_805AE8A8@sda21(r2) -lbl_80337508: -/* 80337508 00334468 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 -/* 8033750C 0033446C CB E1 00 90 */ lfd f31, 0x90(r1) -/* 80337510 00334470 E3 C1 00 88 */ psq_l f30, 136(r1), 0, qr0 -/* 80337514 00334474 CB C1 00 80 */ lfd f30, 0x80(r1) -/* 80337518 00334478 E3 A1 00 78 */ psq_l f29, 120(r1), 0, qr0 -/* 8033751C 0033447C CB A1 00 70 */ lfd f29, 0x70(r1) -/* 80337520 00334480 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 80337524 00334484 83 E1 00 6C */ lwz r31, 0x6c(r1) -/* 80337528 00334488 7C 08 03 A6 */ mtlr r0 -/* 8033752C 0033448C 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 80337530 00334490 4E 80 00 20 */ blr - -.global PointInside__6CAABoxCFRC9CVector3f -PointInside__6CAABoxCFRC9CVector3f: -/* 80337534 00334494 C0 24 00 00 */ lfs f1, 0(r4) -/* 80337538 00334498 38 00 00 00 */ li r0, 0 -/* 8033753C 0033449C C0 03 00 00 */ lfs f0, 0(r3) -/* 80337540 003344A0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80337544 003344A4 4C 41 13 82 */ cror 2, 1, 2 -/* 80337548 003344A8 40 82 00 60 */ bne lbl_803375A8 -/* 8033754C 003344AC C0 03 00 0C */ lfs f0, 0xc(r3) -/* 80337550 003344B0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80337554 003344B4 4C 40 13 82 */ cror 2, 0, 2 -/* 80337558 003344B8 40 82 00 50 */ bne lbl_803375A8 -/* 8033755C 003344BC C0 24 00 04 */ lfs f1, 4(r4) -/* 80337560 003344C0 C0 03 00 04 */ lfs f0, 4(r3) -/* 80337564 003344C4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80337568 003344C8 4C 41 13 82 */ cror 2, 1, 2 -/* 8033756C 003344CC 40 82 00 3C */ bne lbl_803375A8 -/* 80337570 003344D0 C0 03 00 10 */ lfs f0, 0x10(r3) -/* 80337574 003344D4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80337578 003344D8 4C 40 13 82 */ cror 2, 0, 2 -/* 8033757C 003344DC 40 82 00 2C */ bne lbl_803375A8 -/* 80337580 003344E0 C0 24 00 08 */ lfs f1, 8(r4) -/* 80337584 003344E4 C0 03 00 08 */ lfs f0, 8(r3) -/* 80337588 003344E8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8033758C 003344EC 4C 41 13 82 */ cror 2, 1, 2 -/* 80337590 003344F0 40 82 00 18 */ bne lbl_803375A8 -/* 80337594 003344F4 C0 03 00 14 */ lfs f0, 0x14(r3) -/* 80337598 003344F8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8033759C 003344FC 4C 40 13 82 */ cror 2, 0, 2 -/* 803375A0 00334500 40 82 00 08 */ bne lbl_803375A8 -/* 803375A4 00334504 38 00 00 01 */ li r0, 1 -lbl_803375A8: -/* 803375A8 00334508 7C 03 03 78 */ mr r3, r0 -/* 803375AC 0033450C 4E 80 00 20 */ blr - -.global GetPoint__6CAABoxCFi -GetPoint__6CAABoxCFi: -/* 803375B0 00334510 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803375B4 00334514 39 24 00 0C */ addi r9, r4, 0xc -/* 803375B8 00334518 54 A7 07 7A */ rlwinm r7, r5, 0, 0x1d, 0x1d -/* 803375BC 0033451C 54 A6 0F 7A */ rlwinm r6, r5, 1, 0x1d, 0x1d -/* 803375C0 00334520 80 02 D7 88 */ lwz r0, lbl_805AF4A8@sda21(r2) -/* 803375C4 00334524 39 01 00 08 */ addi r8, r1, 8 -/* 803375C8 00334528 81 42 D7 8C */ lwz r10, lbl_805AF4AC@sda21(r2) -/* 803375CC 0033452C 90 01 00 08 */ stw r0, 8(r1) -/* 803375D0 00334530 54 A0 17 7A */ rlwinm r0, r5, 2, 0x1d, 0x1d -/* 803375D4 00334534 91 41 00 0C */ stw r10, 0xc(r1) -/* 803375D8 00334538 90 81 00 08 */ stw r4, 8(r1) -/* 803375DC 0033453C 91 21 00 0C */ stw r9, 0xc(r1) -/* 803375E0 00334540 7C E8 38 2E */ lwzx r7, r8, r7 -/* 803375E4 00334544 7C A8 30 2E */ lwzx r5, r8, r6 -/* 803375E8 00334548 7C 88 00 2E */ lwzx r4, r8, r0 -/* 803375EC 0033454C C0 27 00 08 */ lfs f1, 8(r7) -/* 803375F0 00334550 C0 45 00 04 */ lfs f2, 4(r5) -/* 803375F4 00334554 C0 04 00 00 */ lfs f0, 0(r4) -/* 803375F8 00334558 D0 03 00 00 */ stfs f0, 0(r3) -/* 803375FC 0033455C D0 43 00 04 */ stfs f2, 4(r3) -/* 80337600 00334560 D0 23 00 08 */ stfs f1, 8(r3) -/* 80337604 00334564 38 21 00 10 */ addi r1, r1, 0x10 -/* 80337608 00334568 4E 80 00 20 */ blr - -.global GetCenterPoint__6CAABoxCFv -GetCenterPoint__6CAABoxCFv: -/* 8033760C 0033456C C0 24 00 00 */ lfs f1, 0(r4) -/* 80337610 00334570 C0 04 00 0C */ lfs f0, 0xc(r4) -/* 80337614 00334574 C0 64 00 04 */ lfs f3, 4(r4) -/* 80337618 00334578 C0 44 00 10 */ lfs f2, 0x10(r4) -/* 8033761C 0033457C EC 01 00 2A */ fadds f0, f1, f0 -/* 80337620 00334580 C0 82 CB 8C */ lfs f4, lbl_805AE8AC@sda21(r2) -/* 80337624 00334584 EC 63 10 2A */ fadds f3, f3, f2 -/* 80337628 00334588 C0 44 00 08 */ lfs f2, 8(r4) -/* 8033762C 0033458C C0 24 00 14 */ lfs f1, 0x14(r4) -/* 80337630 00334590 EC 04 00 32 */ fmuls f0, f4, f0 -/* 80337634 00334594 EC 22 08 2A */ fadds f1, f2, f1 -/* 80337638 00334598 EC 44 00 F2 */ fmuls f2, f4, f3 -/* 8033763C 0033459C D0 03 00 00 */ stfs f0, 0(r3) -/* 80337640 003345A0 EC 04 00 72 */ fmuls f0, f4, f1 -/* 80337644 003345A4 D0 43 00 04 */ stfs f2, 4(r3) -/* 80337648 003345A8 D0 03 00 08 */ stfs f0, 8(r3) -/* 8033764C 003345AC 4E 80 00 20 */ blr - -.global GetVolume__6CAABoxCFv -GetVolume__6CAABoxCFv: -/* 80337650 003345B0 C0 63 00 0C */ lfs f3, 0xc(r3) -/* 80337654 003345B4 C0 43 00 00 */ lfs f2, 0(r3) -/* 80337658 003345B8 C0 23 00 10 */ lfs f1, 0x10(r3) -/* 8033765C 003345BC C0 03 00 04 */ lfs f0, 4(r3) -/* 80337660 003345C0 EC 43 10 28 */ fsubs f2, f3, f2 -/* 80337664 003345C4 C0 63 00 14 */ lfs f3, 0x14(r3) -/* 80337668 003345C8 EC 01 00 28 */ fsubs f0, f1, f0 -/* 8033766C 003345CC C0 23 00 08 */ lfs f1, 8(r3) -/* 80337670 003345D0 EC 23 08 28 */ fsubs f1, f3, f1 -/* 80337674 003345D4 EC 02 00 32 */ fmuls f0, f2, f0 -/* 80337678 003345D8 EC 21 00 32 */ fmuls f1, f1, f0 -/* 8033767C 003345DC 4E 80 00 20 */ blr - -.global Invalid__6CAABoxCFv -Invalid__6CAABoxCFv: -/* 80337680 003345E0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80337684 003345E4 7C 08 02 A6 */ mflr r0 -/* 80337688 003345E8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8033768C 003345EC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80337690 003345F0 7C 7F 1B 78 */ mr r31, r3 -/* 80337694 003345F4 C0 23 00 00 */ lfs f1, 0(r3) -/* 80337698 003345F8 C0 03 00 0C */ lfs f0, 0xc(r3) -/* 8033769C 003345FC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 803376A0 00334600 40 81 00 2C */ ble lbl_803376CC -/* 803376A4 00334604 C0 3F 00 04 */ lfs f1, 4(r31) -/* 803376A8 00334608 C0 1F 00 10 */ lfs f0, 0x10(r31) -/* 803376AC 0033460C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 803376B0 00334610 40 81 00 1C */ ble lbl_803376CC -/* 803376B4 00334614 C0 3F 00 08 */ lfs f1, 8(r31) -/* 803376B8 00334618 C0 1F 00 14 */ lfs f0, 0x14(r31) -/* 803376BC 0033461C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 803376C0 00334620 40 81 00 0C */ ble lbl_803376CC -/* 803376C4 00334624 38 60 00 01 */ li r3, 1 -/* 803376C8 00334628 48 00 00 48 */ b lbl_80337710 -lbl_803376CC: -/* 803376CC 0033462C 3C 60 80 5A */ lis r3, skZero3f@ha -/* 803376D0 00334630 C0 22 CB 90 */ lfs f1, lbl_805AE8B0@sda21(r2) -/* 803376D4 00334634 38 83 66 A0 */ addi r4, r3, skZero3f@l -/* 803376D8 00334638 7F E3 FB 78 */ mr r3, r31 -/* 803376DC 0033463C 4B FD CE D5 */ bl IsEqu__9CVector3fCFRC9CVector3ff -/* 803376E0 00334640 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 803376E4 00334644 41 82 00 28 */ beq lbl_8033770C -/* 803376E8 00334648 3C 60 80 5A */ lis r3, skZero3f@ha -/* 803376EC 0033464C C0 22 CB 90 */ lfs f1, lbl_805AE8B0@sda21(r2) -/* 803376F0 00334650 38 83 66 A0 */ addi r4, r3, skZero3f@l -/* 803376F4 00334654 38 7F 00 0C */ addi r3, r31, 0xc -/* 803376F8 00334658 4B FD CE B9 */ bl IsEqu__9CVector3fCFRC9CVector3ff -/* 803376FC 0033465C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80337700 00334660 41 82 00 0C */ beq lbl_8033770C -/* 80337704 00334664 38 60 00 01 */ li r3, 1 -/* 80337708 00334668 48 00 00 08 */ b lbl_80337710 -lbl_8033770C: -/* 8033770C 0033466C 38 60 00 00 */ li r3, 0 -lbl_80337710: -/* 80337710 00334670 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80337714 00334674 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80337718 00334678 7C 08 03 A6 */ mtlr r0 -/* 8033771C 0033467C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80337720 00334680 4E 80 00 20 */ blr - -.global GetBooleanIntersection__6CAABoxCFRC6CAABox -GetBooleanIntersection__6CAABoxCFRC6CAABox: -/* 80337724 00334684 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80337728 00334688 7C 08 02 A6 */ mflr r0 -/* 8033772C 0033468C 3C C0 80 5A */ lis r6, skZero3f@ha -/* 80337730 00334690 7C A7 2B 78 */ mr r7, r5 -/* 80337734 00334694 90 01 00 24 */ stw r0, 0x24(r1) -/* 80337738 00334698 38 00 00 03 */ li r0, 3 -/* 8033773C 0033469C 7C 88 23 78 */ mr r8, r4 -/* 80337740 003346A0 39 41 00 14 */ addi r10, r1, 0x14 -/* 80337744 003346A4 C4 06 66 A0 */ lfsu f0, skZero3f@l(r6) -/* 80337748 003346A8 39 61 00 08 */ addi r11, r1, 8 -/* 8033774C 003346AC 39 20 00 00 */ li r9, 0 -/* 80337750 003346B0 C0 26 00 04 */ lfs f1, 4(r6) -/* 80337754 003346B4 C0 46 00 08 */ lfs f2, 8(r6) -/* 80337758 003346B8 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 8033775C 003346BC D0 21 00 18 */ stfs f1, 0x18(r1) -/* 80337760 003346C0 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 80337764 003346C4 D0 01 00 08 */ stfs f0, 8(r1) -/* 80337768 003346C8 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 8033776C 003346CC D0 41 00 10 */ stfs f2, 0x10(r1) -/* 80337770 003346D0 7C 09 03 A6 */ mtctr r0 -lbl_80337774: -/* 80337774 003346D4 C0 68 00 00 */ lfs f3, 0(r8) -/* 80337778 003346D8 C0 47 00 00 */ lfs f2, 0(r7) -/* 8033777C 003346DC FC 03 10 40 */ fcmpo cr0, f3, f2 -/* 80337780 003346E0 4C 40 13 82 */ cror 2, 0, 2 -/* 80337784 003346E4 40 82 00 2C */ bne lbl_803377B0 -/* 80337788 003346E8 7C C4 4A 14 */ add r6, r4, r9 -/* 8033778C 003346EC 7D 85 4A 14 */ add r12, r5, r9 -/* 80337790 003346F0 C0 26 00 0C */ lfs f1, 0xc(r6) -/* 80337794 003346F4 C0 0C 00 0C */ lfs f0, 0xc(r12) -/* 80337798 003346F8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8033779C 003346FC 4C 41 13 82 */ cror 2, 1, 2 -/* 803377A0 00334700 40 82 00 10 */ bne lbl_803377B0 -/* 803377A4 00334704 D0 4A 00 00 */ stfs f2, 0(r10) -/* 803377A8 00334708 D0 0B 00 00 */ stfs f0, 0(r11) -/* 803377AC 0033470C 48 00 00 94 */ b lbl_80337840 -lbl_803377B0: -/* 803377B0 00334710 FC 02 18 40 */ fcmpo cr0, f2, f3 -/* 803377B4 00334714 4C 40 13 82 */ cror 2, 0, 2 -/* 803377B8 00334718 40 82 00 2C */ bne lbl_803377E4 -/* 803377BC 0033471C 7C C5 4A 14 */ add r6, r5, r9 -/* 803377C0 00334720 7D 84 4A 14 */ add r12, r4, r9 -/* 803377C4 00334724 C0 26 00 0C */ lfs f1, 0xc(r6) -/* 803377C8 00334728 C0 0C 00 0C */ lfs f0, 0xc(r12) -/* 803377CC 0033472C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 803377D0 00334730 4C 41 13 82 */ cror 2, 1, 2 -/* 803377D4 00334734 40 82 00 10 */ bne lbl_803377E4 -/* 803377D8 00334738 D0 6A 00 00 */ stfs f3, 0(r10) -/* 803377DC 0033473C D0 0B 00 00 */ stfs f0, 0(r11) -/* 803377E0 00334740 48 00 00 60 */ b lbl_80337840 -lbl_803377E4: -/* 803377E4 00334744 FC 02 18 40 */ fcmpo cr0, f2, f3 -/* 803377E8 00334748 4C 40 13 82 */ cror 2, 0, 2 -/* 803377EC 0033474C 40 82 00 24 */ bne lbl_80337810 -/* 803377F0 00334750 7C C5 4A 14 */ add r6, r5, r9 -/* 803377F4 00334754 C0 06 00 0C */ lfs f0, 0xc(r6) -/* 803377F8 00334758 FC 00 18 40 */ fcmpo cr0, f0, f3 -/* 803377FC 0033475C 4C 41 13 82 */ cror 2, 1, 2 -/* 80337800 00334760 40 82 00 10 */ bne lbl_80337810 -/* 80337804 00334764 D0 6A 00 00 */ stfs f3, 0(r10) -/* 80337808 00334768 D0 0B 00 00 */ stfs f0, 0(r11) -/* 8033780C 0033476C 48 00 00 34 */ b lbl_80337840 -lbl_80337810: -/* 80337810 00334770 7C C4 4A 14 */ add r6, r4, r9 -/* 80337814 00334774 C0 26 00 0C */ lfs f1, 0xc(r6) -/* 80337818 00334778 FC 02 08 40 */ fcmpo cr0, f2, f1 -/* 8033781C 0033477C 4C 40 13 82 */ cror 2, 0, 2 -/* 80337820 00334780 40 82 00 20 */ bne lbl_80337840 -/* 80337824 00334784 7C C5 4A 14 */ add r6, r5, r9 -/* 80337828 00334788 C0 06 00 0C */ lfs f0, 0xc(r6) -/* 8033782C 0033478C FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80337830 00334790 4C 41 13 82 */ cror 2, 1, 2 -/* 80337834 00334794 40 82 00 0C */ bne lbl_80337840 -/* 80337838 00334798 D0 4A 00 00 */ stfs f2, 0(r10) -/* 8033783C 0033479C D0 2B 00 00 */ stfs f1, 0(r11) -lbl_80337840: -/* 80337840 003347A0 38 E7 00 04 */ addi r7, r7, 4 -/* 80337844 003347A4 39 08 00 04 */ addi r8, r8, 4 -/* 80337848 003347A8 39 29 00 04 */ addi r9, r9, 4 -/* 8033784C 003347AC 39 4A 00 04 */ addi r10, r10, 4 -/* 80337850 003347B0 39 6B 00 04 */ addi r11, r11, 4 -/* 80337854 003347B4 42 00 FF 20 */ bdnz lbl_80337774 -/* 80337858 003347B8 38 81 00 14 */ addi r4, r1, 0x14 -/* 8033785C 003347BC 38 A1 00 08 */ addi r5, r1, 8 -/* 80337860 003347C0 48 00 0C A9 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 80337864 003347C4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80337868 003347C8 7C 08 03 A6 */ mtlr r0 -/* 8033786C 003347CC 38 21 00 20 */ addi r1, r1, 0x20 -/* 80337870 003347D0 4E 80 00 20 */ blr - -.global ClampToBox__6CAABoxCFRC9CVector3f -ClampToBox__6CAABoxCFRC9CVector3f: -/* 80337874 003347D4 C0 05 00 08 */ lfs f0, 8(r5) -/* 80337878 003347D8 C0 24 00 08 */ lfs f1, 8(r4) -/* 8033787C 003347DC FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80337880 003347E0 40 80 00 08 */ bge lbl_80337888 -/* 80337884 003347E4 48 00 00 18 */ b lbl_8033789C -lbl_80337888: -/* 80337888 003347E8 C0 24 00 14 */ lfs f1, 0x14(r4) -/* 8033788C 003347EC FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80337890 003347F0 40 81 00 08 */ ble lbl_80337898 -/* 80337894 003347F4 48 00 00 08 */ b lbl_8033789C -lbl_80337898: -/* 80337898 003347F8 FC 20 00 90 */ fmr f1, f0 -lbl_8033789C: -/* 8033789C 003347FC C0 05 00 04 */ lfs f0, 4(r5) -/* 803378A0 00334800 C0 44 00 04 */ lfs f2, 4(r4) -/* 803378A4 00334804 FC 00 10 40 */ fcmpo cr0, f0, f2 -/* 803378A8 00334808 40 80 00 08 */ bge lbl_803378B0 -/* 803378AC 0033480C 48 00 00 18 */ b lbl_803378C4 -lbl_803378B0: -/* 803378B0 00334810 C0 44 00 10 */ lfs f2, 0x10(r4) -/* 803378B4 00334814 FC 00 10 40 */ fcmpo cr0, f0, f2 -/* 803378B8 00334818 40 81 00 08 */ ble lbl_803378C0 -/* 803378BC 0033481C 48 00 00 08 */ b lbl_803378C4 -lbl_803378C0: -/* 803378C0 00334820 FC 40 00 90 */ fmr f2, f0 -lbl_803378C4: -/* 803378C4 00334824 C0 05 00 00 */ lfs f0, 0(r5) -/* 803378C8 00334828 C0 64 00 00 */ lfs f3, 0(r4) -/* 803378CC 0033482C FC 00 18 40 */ fcmpo cr0, f0, f3 -/* 803378D0 00334830 40 80 00 08 */ bge lbl_803378D8 -/* 803378D4 00334834 48 00 00 18 */ b lbl_803378EC -lbl_803378D8: -/* 803378D8 00334838 C0 64 00 0C */ lfs f3, 0xc(r4) -/* 803378DC 0033483C FC 00 18 40 */ fcmpo cr0, f0, f3 -/* 803378E0 00334840 40 81 00 08 */ ble lbl_803378E8 -/* 803378E4 00334844 48 00 00 08 */ b lbl_803378EC -lbl_803378E8: -/* 803378E8 00334848 FC 60 00 90 */ fmr f3, f0 -lbl_803378EC: -/* 803378EC 0033484C D0 63 00 00 */ stfs f3, 0(r3) -/* 803378F0 00334850 D0 43 00 04 */ stfs f2, 4(r3) -/* 803378F4 00334854 D0 23 00 08 */ stfs f1, 8(r3) -/* 803378F8 00334858 4E 80 00 20 */ blr - -.global GetTransformedAABox__6CAABoxCFRC12CTransform4f -GetTransformedAABox__6CAABoxCFRC12CTransform4f: -/* 803378FC 0033485C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80337900 00334860 7C 08 02 A6 */ mflr r0 -/* 80337904 00334864 3C C0 80 5A */ lis r6, skIdentity4f@ha -/* 80337908 00334868 90 01 00 24 */ stw r0, 0x24(r1) -/* 8033790C 0033486C 38 06 66 70 */ addi r0, r6, skIdentity4f@l -/* 80337910 00334870 7C 05 00 40 */ cmplw r5, r0 -/* 80337914 00334874 40 82 00 38 */ bne lbl_8033794C -/* 80337918 00334878 C0 04 00 00 */ lfs f0, 0(r4) -/* 8033791C 0033487C D0 03 00 00 */ stfs f0, 0(r3) -/* 80337920 00334880 C0 04 00 04 */ lfs f0, 4(r4) -/* 80337924 00334884 D0 03 00 04 */ stfs f0, 4(r3) -/* 80337928 00334888 C0 04 00 08 */ lfs f0, 8(r4) -/* 8033792C 0033488C D0 03 00 08 */ stfs f0, 8(r3) -/* 80337930 00334890 C0 04 00 0C */ lfs f0, 0xc(r4) -/* 80337934 00334894 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 80337938 00334898 C0 04 00 10 */ lfs f0, 0x10(r4) -/* 8033793C 0033489C D0 03 00 10 */ stfs f0, 0x10(r3) -/* 80337940 003348A0 C0 04 00 14 */ lfs f0, 0x14(r4) -/* 80337944 003348A4 D0 03 00 14 */ stfs f0, 0x14(r3) -/* 80337948 003348A8 48 00 00 CC */ b lbl_80337A14 -lbl_8033794C: -/* 8033794C 003348AC C0 45 00 2C */ lfs f2, 0x2c(r5) -/* 80337950 003348B0 39 21 00 14 */ addi r9, r1, 0x14 -/* 80337954 003348B4 C0 25 00 1C */ lfs f1, 0x1c(r5) -/* 80337958 003348B8 39 41 00 08 */ addi r10, r1, 8 -/* 8033795C 003348BC C0 05 00 0C */ lfs f0, 0xc(r5) -/* 80337960 003348C0 39 60 00 00 */ li r11, 0 -/* 80337964 003348C4 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 80337968 003348C8 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 8033796C 003348CC D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 80337970 003348D0 D0 01 00 08 */ stfs f0, 8(r1) -/* 80337974 003348D4 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 80337978 003348D8 D0 41 00 10 */ stfs f2, 0x10(r1) -lbl_8033797C: -/* 8033797C 003348DC 38 00 00 03 */ li r0, 3 -/* 80337980 003348E0 7C 86 23 78 */ mr r6, r4 -/* 80337984 003348E4 7C A7 2B 78 */ mr r7, r5 -/* 80337988 003348E8 39 04 00 0C */ addi r8, r4, 0xc -/* 8033798C 003348EC 7C 09 03 A6 */ mtctr r0 -lbl_80337990: -/* 80337990 003348F0 C0 47 00 00 */ lfs f2, 0(r7) -/* 80337994 003348F4 C0 26 00 00 */ lfs f1, 0(r6) -/* 80337998 003348F8 C0 08 00 00 */ lfs f0, 0(r8) -/* 8033799C 003348FC EC 62 00 72 */ fmuls f3, f2, f1 -/* 803379A0 00334900 EC 42 00 32 */ fmuls f2, f2, f0 -/* 803379A4 00334904 FC 03 10 40 */ fcmpo cr0, f3, f2 -/* 803379A8 00334908 40 80 00 20 */ bge lbl_803379C8 -/* 803379AC 0033490C C0 29 00 00 */ lfs f1, 0(r9) -/* 803379B0 00334910 C0 0A 00 00 */ lfs f0, 0(r10) -/* 803379B4 00334914 EC 21 18 2A */ fadds f1, f1, f3 -/* 803379B8 00334918 EC 00 10 2A */ fadds f0, f0, f2 -/* 803379BC 0033491C D0 29 00 00 */ stfs f1, 0(r9) -/* 803379C0 00334920 D0 0A 00 00 */ stfs f0, 0(r10) -/* 803379C4 00334924 48 00 00 1C */ b lbl_803379E0 -lbl_803379C8: -/* 803379C8 00334928 C0 29 00 00 */ lfs f1, 0(r9) -/* 803379CC 0033492C C0 0A 00 00 */ lfs f0, 0(r10) -/* 803379D0 00334930 EC 21 10 2A */ fadds f1, f1, f2 -/* 803379D4 00334934 EC 00 18 2A */ fadds f0, f0, f3 -/* 803379D8 00334938 D0 29 00 00 */ stfs f1, 0(r9) -/* 803379DC 0033493C D0 0A 00 00 */ stfs f0, 0(r10) -lbl_803379E0: -/* 803379E0 00334940 38 C6 00 04 */ addi r6, r6, 4 -/* 803379E4 00334944 38 E7 00 04 */ addi r7, r7, 4 -/* 803379E8 00334948 39 08 00 04 */ addi r8, r8, 4 -/* 803379EC 0033494C 42 00 FF A4 */ bdnz lbl_80337990 -/* 803379F0 00334950 39 6B 00 01 */ addi r11, r11, 1 -/* 803379F4 00334954 39 29 00 04 */ addi r9, r9, 4 -/* 803379F8 00334958 2C 0B 00 03 */ cmpwi r11, 3 -/* 803379FC 0033495C 39 4A 00 04 */ addi r10, r10, 4 -/* 80337A00 00334960 38 A5 00 10 */ addi r5, r5, 0x10 -/* 80337A04 00334964 41 80 FF 78 */ blt lbl_8033797C -/* 80337A08 00334968 38 81 00 14 */ addi r4, r1, 0x14 -/* 80337A0C 0033496C 38 A1 00 08 */ addi r5, r1, 8 -/* 80337A10 00334970 48 00 0A F9 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -lbl_80337A14: -/* 80337A14 00334974 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80337A18 00334978 7C 08 03 A6 */ mtlr r0 -/* 80337A1C 0033497C 38 21 00 20 */ addi r1, r1, 0x20 -/* 80337A20 00334980 4E 80 00 20 */ blr - -.global InsidePlane__6CAABoxCFRC6CPlane -InsidePlane__6CAABoxCFRC6CPlane: -/* 80337A24 00334984 C0 64 00 04 */ lfs f3, 4(r4) -/* 80337A28 00334988 C0 03 00 04 */ lfs f0, 4(r3) -/* 80337A2C 0033498C C0 23 00 10 */ lfs f1, 0x10(r3) -/* 80337A30 00334990 C0 A4 00 00 */ lfs f5, 0(r4) -/* 80337A34 00334994 FC 03 08 2E */ fsel f0, f3, f0, f1 -/* 80337A38 00334998 C0 23 00 00 */ lfs f1, 0(r3) -/* 80337A3C 0033499C C0 43 00 0C */ lfs f2, 0xc(r3) -/* 80337A40 003349A0 C0 C4 00 08 */ lfs f6, 8(r4) -/* 80337A44 003349A4 FC 85 10 6E */ fsel f4, f5, f1, f2 -/* 80337A48 003349A8 C0 43 00 08 */ lfs f2, 8(r3) -/* 80337A4C 003349AC EC 23 00 32 */ fmuls f1, f3, f0 -/* 80337A50 003349B0 C0 63 00 14 */ lfs f3, 0x14(r3) -/* 80337A54 003349B4 C0 04 00 0C */ lfs f0, 0xc(r4) -/* 80337A58 003349B8 FC 46 18 AE */ fsel f2, f6, f2, f3 -/* 80337A5C 003349BC EC 25 09 3A */ fmadds f1, f5, f4, f1 -/* 80337A60 003349C0 EC 26 08 BA */ fmadds f1, f6, f2, f1 -/* 80337A64 003349C4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80337A68 003349C8 4C 41 13 82 */ cror 2, 1, 2 -/* 80337A6C 003349CC 7C 00 00 26 */ mfcr r0 -/* 80337A70 003349D0 54 00 1F FE */ rlwinm r0, r0, 3, 0x1f, 0x1f -/* 80337A74 003349D4 7C 00 00 34 */ cntlzw r0, r0 -/* 80337A78 003349D8 54 03 D9 7E */ srwi r3, r0, 5 -/* 80337A7C 003349DC 4E 80 00 20 */ blr - -.global Inside__6CAABoxCFRC6CAABox -Inside__6CAABoxCFRC6CAABox: -/* 80337A80 003349E0 C0 23 00 00 */ lfs f1, 0(r3) -/* 80337A84 003349E4 C0 04 00 00 */ lfs f0, 0(r4) -/* 80337A88 003349E8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80337A8C 003349EC 4C 41 13 82 */ cror 2, 1, 2 -/* 80337A90 003349F0 40 82 00 70 */ bne lbl_80337B00 -/* 80337A94 003349F4 C0 23 00 0C */ lfs f1, 0xc(r3) -/* 80337A98 003349F8 C0 04 00 0C */ lfs f0, 0xc(r4) -/* 80337A9C 003349FC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80337AA0 00334A00 4C 40 13 82 */ cror 2, 0, 2 -/* 80337AA4 00334A04 40 82 00 5C */ bne lbl_80337B00 -/* 80337AA8 00334A08 C0 23 00 04 */ lfs f1, 4(r3) -/* 80337AAC 00334A0C C0 04 00 04 */ lfs f0, 4(r4) -/* 80337AB0 00334A10 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80337AB4 00334A14 4C 41 13 82 */ cror 2, 1, 2 -/* 80337AB8 00334A18 40 82 00 48 */ bne lbl_80337B00 -/* 80337ABC 00334A1C C0 23 00 10 */ lfs f1, 0x10(r3) -/* 80337AC0 00334A20 C0 04 00 10 */ lfs f0, 0x10(r4) -/* 80337AC4 00334A24 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80337AC8 00334A28 4C 40 13 82 */ cror 2, 0, 2 -/* 80337ACC 00334A2C 40 82 00 34 */ bne lbl_80337B00 -/* 80337AD0 00334A30 C0 23 00 08 */ lfs f1, 8(r3) -/* 80337AD4 00334A34 C0 04 00 08 */ lfs f0, 8(r4) -/* 80337AD8 00334A38 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80337ADC 00334A3C 4C 41 13 82 */ cror 2, 1, 2 -/* 80337AE0 00334A40 40 82 00 20 */ bne lbl_80337B00 -/* 80337AE4 00334A44 C0 23 00 14 */ lfs f1, 0x14(r3) -/* 80337AE8 00334A48 C0 04 00 14 */ lfs f0, 0x14(r4) -/* 80337AEC 00334A4C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80337AF0 00334A50 4C 40 13 82 */ cror 2, 0, 2 -/* 80337AF4 00334A54 40 82 00 0C */ bne lbl_80337B00 -/* 80337AF8 00334A58 38 60 00 01 */ li r3, 1 -/* 80337AFC 00334A5C 4E 80 00 20 */ blr -lbl_80337B00: -/* 80337B00 00334A60 38 60 00 00 */ li r3, 0 -/* 80337B04 00334A64 4E 80 00 20 */ blr - -.global AccumulateBounds__6CAABoxFRC9CVector3f -AccumulateBounds__6CAABoxFRC9CVector3f: -/* 80337B08 00334A68 C0 24 00 00 */ lfs f1, 0(r4) -/* 80337B0C 00334A6C C0 03 00 00 */ lfs f0, 0(r3) -/* 80337B10 00334A70 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80337B14 00334A74 40 80 00 08 */ bge lbl_80337B1C -/* 80337B18 00334A78 D0 23 00 00 */ stfs f1, 0(r3) -lbl_80337B1C: -/* 80337B1C 00334A7C C0 24 00 04 */ lfs f1, 4(r4) -/* 80337B20 00334A80 C0 03 00 04 */ lfs f0, 4(r3) -/* 80337B24 00334A84 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80337B28 00334A88 40 80 00 08 */ bge lbl_80337B30 -/* 80337B2C 00334A8C D0 23 00 04 */ stfs f1, 4(r3) -lbl_80337B30: -/* 80337B30 00334A90 C0 24 00 08 */ lfs f1, 8(r4) -/* 80337B34 00334A94 C0 03 00 08 */ lfs f0, 8(r3) -/* 80337B38 00334A98 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80337B3C 00334A9C 40 80 00 08 */ bge lbl_80337B44 -/* 80337B40 00334AA0 D0 23 00 08 */ stfs f1, 8(r3) -lbl_80337B44: -/* 80337B44 00334AA4 C0 24 00 00 */ lfs f1, 0(r4) -/* 80337B48 00334AA8 C0 03 00 0C */ lfs f0, 0xc(r3) -/* 80337B4C 00334AAC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80337B50 00334AB0 40 81 00 08 */ ble lbl_80337B58 -/* 80337B54 00334AB4 D0 23 00 0C */ stfs f1, 0xc(r3) -lbl_80337B58: -/* 80337B58 00334AB8 C0 24 00 04 */ lfs f1, 4(r4) -/* 80337B5C 00334ABC C0 03 00 10 */ lfs f0, 0x10(r3) -/* 80337B60 00334AC0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80337B64 00334AC4 40 81 00 08 */ ble lbl_80337B6C -/* 80337B68 00334AC8 D0 23 00 10 */ stfs f1, 0x10(r3) -lbl_80337B6C: -/* 80337B6C 00334ACC C0 24 00 08 */ lfs f1, 8(r4) -/* 80337B70 00334AD0 C0 03 00 14 */ lfs f0, 0x14(r3) -/* 80337B74 00334AD4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80337B78 00334AD8 4C 81 00 20 */ blelr -/* 80337B7C 00334ADC D0 23 00 14 */ stfs f1, 0x14(r3) -/* 80337B80 00334AE0 4E 80 00 20 */ blr - -.global DoBoundsOverlap__6CAABoxCFRC6CAABox -DoBoundsOverlap__6CAABoxCFRC6CAABox: -/* 80337B84 00334AE4 C0 24 00 00 */ lfs f1, 0(r4) -/* 80337B88 00334AE8 C0 03 00 0C */ lfs f0, 0xc(r3) -/* 80337B8C 00334AEC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80337B90 00334AF0 41 81 00 54 */ bgt lbl_80337BE4 -/* 80337B94 00334AF4 C0 23 00 00 */ lfs f1, 0(r3) -/* 80337B98 00334AF8 C0 04 00 0C */ lfs f0, 0xc(r4) -/* 80337B9C 00334AFC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80337BA0 00334B00 41 81 00 44 */ bgt lbl_80337BE4 -/* 80337BA4 00334B04 C0 24 00 04 */ lfs f1, 4(r4) -/* 80337BA8 00334B08 C0 03 00 10 */ lfs f0, 0x10(r3) -/* 80337BAC 00334B0C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80337BB0 00334B10 41 81 00 34 */ bgt lbl_80337BE4 -/* 80337BB4 00334B14 C0 23 00 04 */ lfs f1, 4(r3) -/* 80337BB8 00334B18 C0 04 00 10 */ lfs f0, 0x10(r4) -/* 80337BBC 00334B1C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80337BC0 00334B20 41 81 00 24 */ bgt lbl_80337BE4 -/* 80337BC4 00334B24 C0 24 00 08 */ lfs f1, 8(r4) -/* 80337BC8 00334B28 C0 03 00 14 */ lfs f0, 0x14(r3) -/* 80337BCC 00334B2C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80337BD0 00334B30 41 81 00 14 */ bgt lbl_80337BE4 -/* 80337BD4 00334B34 C0 23 00 08 */ lfs f1, 8(r3) -/* 80337BD8 00334B38 C0 04 00 14 */ lfs f0, 0x14(r4) -/* 80337BDC 00334B3C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80337BE0 00334B40 40 81 00 0C */ ble lbl_80337BEC -lbl_80337BE4: -/* 80337BE4 00334B44 38 60 00 00 */ li r3, 0 -/* 80337BE8 00334B48 4E 80 00 20 */ blr -lbl_80337BEC: -/* 80337BEC 00334B4C 38 60 00 01 */ li r3, 1 -/* 80337BF0 00334B50 4E 80 00 20 */ blr - -.global GetTri__6CAABoxCFQ26CAABox10EBoxFaceIdi -GetTri__6CAABoxCFQ26CAABox10EBoxFaceIdi: -/* 80337BF4 00334B54 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 80337BF8 00334B58 7C 08 02 A6 */ mflr r0 -/* 80337BFC 00334B5C 2C 05 00 03 */ cmpwi r5, 3 -/* 80337C00 00334B60 90 01 00 64 */ stw r0, 0x64(r1) -/* 80337C04 00334B64 BF 21 00 44 */ stmw r25, 0x44(r1) -/* 80337C08 00334B68 7C 7F 1B 78 */ mr r31, r3 -/* 80337C0C 00334B6C C0 64 00 04 */ lfs f3, 4(r4) -/* 80337C10 00334B70 C0 44 00 14 */ lfs f2, 0x14(r4) -/* 80337C14 00334B74 C0 24 00 00 */ lfs f1, 0(r4) -/* 80337C18 00334B78 C0 84 00 08 */ lfs f4, 8(r4) -/* 80337C1C 00334B7C C0 04 00 0C */ lfs f0, 0xc(r4) -/* 80337C20 00334B80 D0 21 00 08 */ stfs f1, 8(r1) -/* 80337C24 00334B84 D0 61 00 0C */ stfs f3, 0xc(r1) -/* 80337C28 00334B88 D0 41 00 10 */ stfs f2, 0x10(r1) -/* 80337C2C 00334B8C D0 21 00 14 */ stfs f1, 0x14(r1) -/* 80337C30 00334B90 D0 61 00 18 */ stfs f3, 0x18(r1) -/* 80337C34 00334B94 D0 81 00 1C */ stfs f4, 0x1c(r1) -/* 80337C38 00334B98 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 80337C3C 00334B9C D0 61 00 24 */ stfs f3, 0x24(r1) -/* 80337C40 00334BA0 D0 81 00 28 */ stfs f4, 0x28(r1) -/* 80337C44 00334BA4 D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 80337C48 00334BA8 D0 61 00 30 */ stfs f3, 0x30(r1) -/* 80337C4C 00334BAC D0 41 00 34 */ stfs f2, 0x34(r1) -/* 80337C50 00334BB0 41 82 00 E0 */ beq lbl_80337D30 -/* 80337C54 00334BB4 40 80 00 14 */ bge lbl_80337C68 -/* 80337C58 00334BB8 2C 05 00 01 */ cmpwi r5, 1 -/* 80337C5C 00334BBC 41 82 00 64 */ beq lbl_80337CC0 -/* 80337C60 00334BC0 40 80 00 98 */ bge lbl_80337CF8 -/* 80337C64 00334BC4 48 00 00 14 */ b lbl_80337C78 -lbl_80337C68: -/* 80337C68 00334BC8 2C 05 00 05 */ cmpwi r5, 5 -/* 80337C6C 00334BCC 41 82 01 34 */ beq lbl_80337DA0 -/* 80337C70 00334BD0 40 80 00 08 */ bge lbl_80337C78 -/* 80337C74 00334BD4 48 00 00 F4 */ b lbl_80337D68 -lbl_80337C78: -/* 80337C78 00334BD8 C0 64 00 04 */ lfs f3, 4(r4) -/* 80337C7C 00334BDC C0 44 00 14 */ lfs f2, 0x14(r4) -/* 80337C80 00334BE0 C0 24 00 00 */ lfs f1, 0(r4) -/* 80337C84 00334BE4 C0 04 00 0C */ lfs f0, 0xc(r4) -/* 80337C88 00334BE8 C0 84 00 08 */ lfs f4, 8(r4) -/* 80337C8C 00334BEC D0 21 00 08 */ stfs f1, 8(r1) -/* 80337C90 00334BF0 D0 61 00 0C */ stfs f3, 0xc(r1) -/* 80337C94 00334BF4 D0 41 00 10 */ stfs f2, 0x10(r1) -/* 80337C98 00334BF8 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 80337C9C 00334BFC D0 61 00 18 */ stfs f3, 0x18(r1) -/* 80337CA0 00334C00 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 80337CA4 00334C04 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 80337CA8 00334C08 D0 61 00 24 */ stfs f3, 0x24(r1) -/* 80337CAC 00334C0C D0 81 00 28 */ stfs f4, 0x28(r1) -/* 80337CB0 00334C10 D0 21 00 2C */ stfs f1, 0x2c(r1) -/* 80337CB4 00334C14 D0 61 00 30 */ stfs f3, 0x30(r1) -/* 80337CB8 00334C18 D0 81 00 34 */ stfs f4, 0x34(r1) -/* 80337CBC 00334C1C 48 00 01 18 */ b lbl_80337DD4 -lbl_80337CC0: -/* 80337CC0 00334C20 C0 64 00 10 */ lfs f3, 0x10(r4) -/* 80337CC4 00334C24 D0 01 00 08 */ stfs f0, 8(r1) -/* 80337CC8 00334C28 D0 61 00 0C */ stfs f3, 0xc(r1) -/* 80337CCC 00334C2C D0 41 00 10 */ stfs f2, 0x10(r1) -/* 80337CD0 00334C30 D0 21 00 14 */ stfs f1, 0x14(r1) -/* 80337CD4 00334C34 D0 61 00 18 */ stfs f3, 0x18(r1) -/* 80337CD8 00334C38 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 80337CDC 00334C3C D0 21 00 20 */ stfs f1, 0x20(r1) -/* 80337CE0 00334C40 D0 61 00 24 */ stfs f3, 0x24(r1) -/* 80337CE4 00334C44 D0 81 00 28 */ stfs f4, 0x28(r1) -/* 80337CE8 00334C48 D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 80337CEC 00334C4C D0 61 00 30 */ stfs f3, 0x30(r1) -/* 80337CF0 00334C50 D0 81 00 34 */ stfs f4, 0x34(r1) -/* 80337CF4 00334C54 48 00 00 E0 */ b lbl_80337DD4 -lbl_80337CF8: -/* 80337CF8 00334C58 C0 04 00 10 */ lfs f0, 0x10(r4) -/* 80337CFC 00334C5C D0 21 00 08 */ stfs f1, 8(r1) -/* 80337D00 00334C60 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 80337D04 00334C64 D0 41 00 10 */ stfs f2, 0x10(r1) -/* 80337D08 00334C68 D0 21 00 14 */ stfs f1, 0x14(r1) -/* 80337D0C 00334C6C D0 61 00 18 */ stfs f3, 0x18(r1) -/* 80337D10 00334C70 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 80337D14 00334C74 D0 21 00 20 */ stfs f1, 0x20(r1) -/* 80337D18 00334C78 D0 61 00 24 */ stfs f3, 0x24(r1) -/* 80337D1C 00334C7C D0 81 00 28 */ stfs f4, 0x28(r1) -/* 80337D20 00334C80 D0 21 00 2C */ stfs f1, 0x2c(r1) -/* 80337D24 00334C84 D0 01 00 30 */ stfs f0, 0x30(r1) -/* 80337D28 00334C88 D0 81 00 34 */ stfs f4, 0x34(r1) -/* 80337D2C 00334C8C 48 00 00 A8 */ b lbl_80337DD4 -lbl_80337D30: -/* 80337D30 00334C90 C0 24 00 10 */ lfs f1, 0x10(r4) -/* 80337D34 00334C94 D0 01 00 08 */ stfs f0, 8(r1) -/* 80337D38 00334C98 D0 61 00 0C */ stfs f3, 0xc(r1) -/* 80337D3C 00334C9C D0 41 00 10 */ stfs f2, 0x10(r1) -/* 80337D40 00334CA0 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 80337D44 00334CA4 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 80337D48 00334CA8 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 80337D4C 00334CAC D0 01 00 20 */ stfs f0, 0x20(r1) -/* 80337D50 00334CB0 D0 21 00 24 */ stfs f1, 0x24(r1) -/* 80337D54 00334CB4 D0 81 00 28 */ stfs f4, 0x28(r1) -/* 80337D58 00334CB8 D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 80337D5C 00334CBC D0 61 00 30 */ stfs f3, 0x30(r1) -/* 80337D60 00334CC0 D0 81 00 34 */ stfs f4, 0x34(r1) -/* 80337D64 00334CC4 48 00 00 70 */ b lbl_80337DD4 -lbl_80337D68: -/* 80337D68 00334CC8 C0 84 00 10 */ lfs f4, 0x10(r4) -/* 80337D6C 00334CCC D0 21 00 08 */ stfs f1, 8(r1) -/* 80337D70 00334CD0 D0 81 00 0C */ stfs f4, 0xc(r1) -/* 80337D74 00334CD4 D0 41 00 10 */ stfs f2, 0x10(r1) -/* 80337D78 00334CD8 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 80337D7C 00334CDC D0 81 00 18 */ stfs f4, 0x18(r1) -/* 80337D80 00334CE0 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 80337D84 00334CE4 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 80337D88 00334CE8 D0 61 00 24 */ stfs f3, 0x24(r1) -/* 80337D8C 00334CEC D0 41 00 28 */ stfs f2, 0x28(r1) -/* 80337D90 00334CF0 D0 21 00 2C */ stfs f1, 0x2c(r1) -/* 80337D94 00334CF4 D0 61 00 30 */ stfs f3, 0x30(r1) -/* 80337D98 00334CF8 D0 41 00 34 */ stfs f2, 0x34(r1) -/* 80337D9C 00334CFC 48 00 00 38 */ b lbl_80337DD4 -lbl_80337DA0: -/* 80337DA0 00334D00 C0 44 00 10 */ lfs f2, 0x10(r4) -/* 80337DA4 00334D04 D0 21 00 08 */ stfs f1, 8(r1) -/* 80337DA8 00334D08 D0 61 00 0C */ stfs f3, 0xc(r1) -/* 80337DAC 00334D0C D0 81 00 10 */ stfs f4, 0x10(r1) -/* 80337DB0 00334D10 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 80337DB4 00334D14 D0 61 00 18 */ stfs f3, 0x18(r1) -/* 80337DB8 00334D18 D0 81 00 1C */ stfs f4, 0x1c(r1) -/* 80337DBC 00334D1C D0 01 00 20 */ stfs f0, 0x20(r1) -/* 80337DC0 00334D20 D0 41 00 24 */ stfs f2, 0x24(r1) -/* 80337DC4 00334D24 D0 81 00 28 */ stfs f4, 0x28(r1) -/* 80337DC8 00334D28 D0 21 00 2C */ stfs f1, 0x2c(r1) -/* 80337DCC 00334D2C D0 41 00 30 */ stfs f2, 0x30(r1) -/* 80337DD0 00334D30 D0 81 00 34 */ stfs f4, 0x34(r1) -lbl_80337DD4: -/* 80337DD4 00334D34 38 06 00 01 */ addi r0, r6, 1 -/* 80337DD8 00334D38 38 66 00 02 */ addi r3, r6, 2 -/* 80337DDC 00334D3C 54 05 F0 02 */ slwi r5, r0, 0x1e -/* 80337DE0 00334D40 3B C1 00 08 */ addi r30, r1, 8 -/* 80337DE4 00334D44 54 07 0F FE */ srwi r7, r0, 0x1f -/* 80337DE8 00334D48 54 60 F0 02 */ slwi r0, r3, 0x1e -/* 80337DEC 00334D4C 54 64 0F FE */ srwi r4, r3, 0x1f -/* 80337DF0 00334D50 7F DC F3 78 */ mr r28, r30 -/* 80337DF4 00334D54 7C A7 28 50 */ subf r5, r7, r5 -/* 80337DF8 00334D58 7F DA F3 78 */ mr r26, r30 -/* 80337DFC 00334D5C 7C 04 00 50 */ subf r0, r4, r0 -/* 80337E00 00334D60 7F E3 FB 78 */ mr r3, r31 -/* 80337E04 00334D64 54 A5 10 3E */ rotlwi r5, r5, 2 -/* 80337E08 00334D68 54 00 10 3E */ rotlwi r0, r0, 2 -/* 80337E0C 00334D6C 7C A5 3A 14 */ add r5, r5, r7 -/* 80337E10 00334D70 7C 00 22 14 */ add r0, r0, r4 -/* 80337E14 00334D74 1F A6 00 0C */ mulli r29, r6, 0xc -/* 80337E18 00334D78 1F 65 00 0C */ mulli r27, r5, 0xc -/* 80337E1C 00334D7C 7F DE EA 14 */ add r30, r30, r29 -/* 80337E20 00334D80 1F 20 00 0C */ mulli r25, r0, 0xc -/* 80337E24 00334D84 7F C4 F3 78 */ mr r4, r30 -/* 80337E28 00334D88 7F 9C DA 14 */ add r28, r28, r27 -/* 80337E2C 00334D8C 7F 5A CA 14 */ add r26, r26, r25 -/* 80337E30 00334D90 7F 85 E3 78 */ mr r5, r28 -/* 80337E34 00334D94 7F 46 D3 78 */ mr r6, r26 -/* 80337E38 00334D98 4B FF F2 71 */ bl __ct__6CPlaneFRC9CVector3fRC9CVector3fRC9CVector3f -/* 80337E3C 00334D9C C0 1E 00 00 */ lfs f0, 0(r30) -/* 80337E40 00334DA0 38 61 00 0C */ addi r3, r1, 0xc -/* 80337E44 00334DA4 38 81 00 10 */ addi r4, r1, 0x10 -/* 80337E48 00334DA8 D0 1F 00 10 */ stfs f0, 0x10(r31) -/* 80337E4C 00334DAC 7C 03 EC 2E */ lfsx f0, r3, r29 -/* 80337E50 00334DB0 D0 1F 00 14 */ stfs f0, 0x14(r31) -/* 80337E54 00334DB4 7C 04 EC 2E */ lfsx f0, r4, r29 -/* 80337E58 00334DB8 D0 1F 00 18 */ stfs f0, 0x18(r31) -/* 80337E5C 00334DBC C0 1C 00 00 */ lfs f0, 0(r28) -/* 80337E60 00334DC0 D0 1F 00 1C */ stfs f0, 0x1c(r31) -/* 80337E64 00334DC4 7C 03 DC 2E */ lfsx f0, r3, r27 -/* 80337E68 00334DC8 D0 1F 00 20 */ stfs f0, 0x20(r31) -/* 80337E6C 00334DCC 7C 04 DC 2E */ lfsx f0, r4, r27 -/* 80337E70 00334DD0 D0 1F 00 24 */ stfs f0, 0x24(r31) -/* 80337E74 00334DD4 C0 1A 00 00 */ lfs f0, 0(r26) -/* 80337E78 00334DD8 D0 1F 00 28 */ stfs f0, 0x28(r31) -/* 80337E7C 00334DDC 7C 03 CC 2E */ lfsx f0, r3, r25 -/* 80337E80 00334DE0 D0 1F 00 2C */ stfs f0, 0x2c(r31) -/* 80337E84 00334DE4 7C 04 CC 2E */ lfsx f0, r4, r25 -/* 80337E88 00334DE8 D0 1F 00 30 */ stfs f0, 0x30(r31) -/* 80337E8C 00334DEC BB 21 00 44 */ lmw r25, 0x44(r1) -/* 80337E90 00334DF0 80 01 00 64 */ lwz r0, 0x64(r1) -/* 80337E94 00334DF4 7C 08 03 A6 */ mtlr r0 -/* 80337E98 00334DF8 38 21 00 60 */ addi r1, r1, 0x60 -/* 80337E9C 00334DFC 4E 80 00 20 */ blr - -.global GetEdge__6CAABoxCFQ26CAABox10EBoxEdgeId -GetEdge__6CAABoxCFQ26CAABox10EBoxEdgeId: -/* 80337EA0 00334E00 94 21 FD D0 */ stwu r1, -0x230(r1) -/* 80337EA4 00334E04 7C 08 02 A6 */ mflr r0 -/* 80337EA8 00334E08 90 01 02 34 */ stw r0, 0x234(r1) -/* 80337EAC 00334E0C DB E1 02 20 */ stfd f31, 0x220(r1) -/* 80337EB0 00334E10 F3 E1 02 28 */ psq_st f31, 552(r1), 0, qr0 -/* 80337EB4 00334E14 DB C1 02 10 */ stfd f30, 0x210(r1) -/* 80337EB8 00334E18 F3 C1 02 18 */ psq_st f30, 536(r1), 0, qr0 -/* 80337EBC 00334E1C DB A1 02 00 */ stfd f29, 0x200(r1) -/* 80337EC0 00334E20 F3 A1 02 08 */ psq_st f29, 520(r1), 0, qr0 -/* 80337EC4 00334E24 DB 81 01 F0 */ stfd f28, 0x1f0(r1) -/* 80337EC8 00334E28 F3 81 01 F8 */ psq_st f28, 504(r1), 0, qr0 -/* 80337ECC 00334E2C 93 E1 01 EC */ stw r31, 0x1ec(r1) -/* 80337ED0 00334E30 28 05 00 0B */ cmplwi r5, 0xb -/* 80337ED4 00334E34 7C 7F 1B 78 */ mr r31, r3 -/* 80337ED8 00334E38 41 81 05 8C */ bgt lbl_80338464 -/* 80337EDC 00334E3C 3C 60 80 3F */ lis r3, lbl_803EE338@ha -/* 80337EE0 00334E40 54 A0 10 3A */ slwi r0, r5, 2 -/* 80337EE4 00334E44 38 63 E3 38 */ addi r3, r3, lbl_803EE338@l -/* 80337EE8 00334E48 7C 03 00 2E */ lwzx r0, r3, r0 -/* 80337EEC 00334E4C 7C 09 03 A6 */ mtctr r0 -/* 80337EF0 00334E50 4E 80 04 20 */ bctr -/* 80337EF4 00334E54 C3 A4 00 04 */ lfs f29, 4(r4) -/* 80337EF8 00334E58 38 61 01 C4 */ addi r3, r1, 0x1c4 -/* 80337EFC 00334E5C C3 84 00 00 */ lfs f28, 0(r4) -/* 80337F00 00334E60 EC 3D E8 28 */ fsubs f1, f29, f29 -/* 80337F04 00334E64 C3 E4 00 08 */ lfs f31, 8(r4) -/* 80337F08 00334E68 C3 C4 00 14 */ lfs f30, 0x14(r4) -/* 80337F0C 00334E6C EC 5C E0 28 */ fsubs f2, f28, f28 -/* 80337F10 00334E70 38 81 01 D0 */ addi r4, r1, 0x1d0 -/* 80337F14 00334E74 EC 1F F0 28 */ fsubs f0, f31, f30 -/* 80337F18 00334E78 D0 41 01 D0 */ stfs f2, 0x1d0(r1) -/* 80337F1C 00334E7C D0 21 01 D4 */ stfs f1, 0x1d4(r1) -/* 80337F20 00334E80 D0 01 01 D8 */ stfs f0, 0x1d8(r1) -/* 80337F24 00334E84 4B FD C9 2D */ bl AsNormalized__9CVector3fCFv -/* 80337F28 00334E88 38 61 01 B8 */ addi r3, r1, 0x1b8 -/* 80337F2C 00334E8C 38 81 01 C4 */ addi r4, r1, 0x1c4 -/* 80337F30 00334E90 4B FD BE A1 */ bl __ct__11CUnitVectorFRC9CVector3f -/* 80337F34 00334E94 D3 9F 00 00 */ stfs f28, 0(r31) -/* 80337F38 00334E98 D3 BF 00 04 */ stfs f29, 4(r31) -/* 80337F3C 00334E9C D3 DF 00 08 */ stfs f30, 8(r31) -/* 80337F40 00334EA0 C0 01 01 B8 */ lfs f0, 0x1b8(r1) -/* 80337F44 00334EA4 D0 1F 00 0C */ stfs f0, 0xc(r31) -/* 80337F48 00334EA8 C0 01 01 BC */ lfs f0, 0x1bc(r1) -/* 80337F4C 00334EAC D0 1F 00 10 */ stfs f0, 0x10(r31) -/* 80337F50 00334EB0 C0 01 01 C0 */ lfs f0, 0x1c0(r1) -/* 80337F54 00334EB4 D0 1F 00 14 */ stfs f0, 0x14(r31) -/* 80337F58 00334EB8 D3 9F 00 18 */ stfs f28, 0x18(r31) -/* 80337F5C 00334EBC D3 BF 00 1C */ stfs f29, 0x1c(r31) -/* 80337F60 00334EC0 D3 FF 00 20 */ stfs f31, 0x20(r31) -/* 80337F64 00334EC4 48 00 05 70 */ b lbl_803384D4 -/* 80337F68 00334EC8 C3 84 00 14 */ lfs f28, 0x14(r4) -/* 80337F6C 00334ECC 38 61 01 A0 */ addi r3, r1, 0x1a0 -/* 80337F70 00334ED0 C3 A4 00 00 */ lfs f29, 0(r4) -/* 80337F74 00334ED4 EC 1C E0 28 */ fsubs f0, f28, f28 -/* 80337F78 00334ED8 C3 C4 00 10 */ lfs f30, 0x10(r4) -/* 80337F7C 00334EDC C3 E4 00 04 */ lfs f31, 4(r4) -/* 80337F80 00334EE0 EC 5D E8 28 */ fsubs f2, f29, f29 -/* 80337F84 00334EE4 38 81 01 AC */ addi r4, r1, 0x1ac -/* 80337F88 00334EE8 EC 3E F8 28 */ fsubs f1, f30, f31 -/* 80337F8C 00334EEC D0 41 01 AC */ stfs f2, 0x1ac(r1) -/* 80337F90 00334EF0 D0 21 01 B0 */ stfs f1, 0x1b0(r1) -/* 80337F94 00334EF4 D0 01 01 B4 */ stfs f0, 0x1b4(r1) -/* 80337F98 00334EF8 4B FD C8 B9 */ bl AsNormalized__9CVector3fCFv -/* 80337F9C 00334EFC 38 61 01 94 */ addi r3, r1, 0x194 -/* 80337FA0 00334F00 38 81 01 A0 */ addi r4, r1, 0x1a0 -/* 80337FA4 00334F04 4B FD BE 2D */ bl __ct__11CUnitVectorFRC9CVector3f -/* 80337FA8 00334F08 D3 BF 00 00 */ stfs f29, 0(r31) -/* 80337FAC 00334F0C D3 FF 00 04 */ stfs f31, 4(r31) -/* 80337FB0 00334F10 D3 9F 00 08 */ stfs f28, 8(r31) -/* 80337FB4 00334F14 C0 01 01 94 */ lfs f0, 0x194(r1) -/* 80337FB8 00334F18 D0 1F 00 0C */ stfs f0, 0xc(r31) -/* 80337FBC 00334F1C C0 01 01 98 */ lfs f0, 0x198(r1) -/* 80337FC0 00334F20 D0 1F 00 10 */ stfs f0, 0x10(r31) -/* 80337FC4 00334F24 C0 01 01 9C */ lfs f0, 0x19c(r1) -/* 80337FC8 00334F28 D0 1F 00 14 */ stfs f0, 0x14(r31) -/* 80337FCC 00334F2C D3 BF 00 18 */ stfs f29, 0x18(r31) -/* 80337FD0 00334F30 D3 DF 00 1C */ stfs f30, 0x1c(r31) -/* 80337FD4 00334F34 D3 9F 00 20 */ stfs f28, 0x20(r31) -/* 80337FD8 00334F38 48 00 04 FC */ b lbl_803384D4 -/* 80337FDC 00334F3C C3 84 00 08 */ lfs f28, 8(r4) -/* 80337FE0 00334F40 38 61 01 7C */ addi r3, r1, 0x17c -/* 80337FE4 00334F44 C3 A4 00 04 */ lfs f29, 4(r4) -/* 80337FE8 00334F48 EC 1C E0 28 */ fsubs f0, f28, f28 -/* 80337FEC 00334F4C C3 C4 00 0C */ lfs f30, 0xc(r4) -/* 80337FF0 00334F50 C3 E4 00 00 */ lfs f31, 0(r4) -/* 80337FF4 00334F54 EC 3D E8 28 */ fsubs f1, f29, f29 -/* 80337FF8 00334F58 38 81 01 88 */ addi r4, r1, 0x188 -/* 80337FFC 00334F5C EC 5E F8 28 */ fsubs f2, f30, f31 -/* 80338000 00334F60 D0 21 01 8C */ stfs f1, 0x18c(r1) -/* 80338004 00334F64 D0 41 01 88 */ stfs f2, 0x188(r1) -/* 80338008 00334F68 D0 01 01 90 */ stfs f0, 0x190(r1) -/* 8033800C 00334F6C 4B FD C8 45 */ bl AsNormalized__9CVector3fCFv -/* 80338010 00334F70 38 61 01 70 */ addi r3, r1, 0x170 -/* 80338014 00334F74 38 81 01 7C */ addi r4, r1, 0x17c -/* 80338018 00334F78 4B FD BD B9 */ bl __ct__11CUnitVectorFRC9CVector3f -/* 8033801C 00334F7C D3 FF 00 00 */ stfs f31, 0(r31) -/* 80338020 00334F80 D3 BF 00 04 */ stfs f29, 4(r31) -/* 80338024 00334F84 D3 9F 00 08 */ stfs f28, 8(r31) -/* 80338028 00334F88 C0 01 01 70 */ lfs f0, 0x170(r1) -/* 8033802C 00334F8C D0 1F 00 0C */ stfs f0, 0xc(r31) -/* 80338030 00334F90 C0 01 01 74 */ lfs f0, 0x174(r1) -/* 80338034 00334F94 D0 1F 00 10 */ stfs f0, 0x10(r31) -/* 80338038 00334F98 C0 01 01 78 */ lfs f0, 0x178(r1) -/* 8033803C 00334F9C D0 1F 00 14 */ stfs f0, 0x14(r31) -/* 80338040 00334FA0 D3 DF 00 18 */ stfs f30, 0x18(r31) -/* 80338044 00334FA4 D3 BF 00 1C */ stfs f29, 0x1c(r31) -/* 80338048 00334FA8 D3 9F 00 20 */ stfs f28, 0x20(r31) -/* 8033804C 00334FAC 48 00 04 88 */ b lbl_803384D4 -/* 80338050 00334FB0 C3 84 00 08 */ lfs f28, 8(r4) -/* 80338054 00334FB4 38 61 01 58 */ addi r3, r1, 0x158 -/* 80338058 00334FB8 C3 A4 00 00 */ lfs f29, 0(r4) -/* 8033805C 00334FBC EC 1C E0 28 */ fsubs f0, f28, f28 -/* 80338060 00334FC0 C3 C4 00 10 */ lfs f30, 0x10(r4) -/* 80338064 00334FC4 C3 E4 00 04 */ lfs f31, 4(r4) -/* 80338068 00334FC8 EC 5D E8 28 */ fsubs f2, f29, f29 -/* 8033806C 00334FCC 38 81 01 64 */ addi r4, r1, 0x164 -/* 80338070 00334FD0 EC 3E F8 28 */ fsubs f1, f30, f31 -/* 80338074 00334FD4 D0 41 01 64 */ stfs f2, 0x164(r1) -/* 80338078 00334FD8 D0 21 01 68 */ stfs f1, 0x168(r1) -/* 8033807C 00334FDC D0 01 01 6C */ stfs f0, 0x16c(r1) -/* 80338080 00334FE0 4B FD C7 D1 */ bl AsNormalized__9CVector3fCFv -/* 80338084 00334FE4 38 61 01 4C */ addi r3, r1, 0x14c -/* 80338088 00334FE8 38 81 01 58 */ addi r4, r1, 0x158 -/* 8033808C 00334FEC 4B FD BD 45 */ bl __ct__11CUnitVectorFRC9CVector3f -/* 80338090 00334FF0 D3 BF 00 00 */ stfs f29, 0(r31) -/* 80338094 00334FF4 D3 FF 00 04 */ stfs f31, 4(r31) -/* 80338098 00334FF8 D3 9F 00 08 */ stfs f28, 8(r31) -/* 8033809C 00334FFC C0 01 01 4C */ lfs f0, 0x14c(r1) -/* 803380A0 00335000 D0 1F 00 0C */ stfs f0, 0xc(r31) -/* 803380A4 00335004 C0 01 01 50 */ lfs f0, 0x150(r1) -/* 803380A8 00335008 D0 1F 00 10 */ stfs f0, 0x10(r31) -/* 803380AC 0033500C C0 01 01 54 */ lfs f0, 0x154(r1) -/* 803380B0 00335010 D0 1F 00 14 */ stfs f0, 0x14(r31) -/* 803380B4 00335014 D3 BF 00 18 */ stfs f29, 0x18(r31) -/* 803380B8 00335018 D3 DF 00 1C */ stfs f30, 0x1c(r31) -/* 803380BC 0033501C D3 9F 00 20 */ stfs f28, 0x20(r31) -/* 803380C0 00335020 48 00 04 14 */ b lbl_803384D4 -/* 803380C4 00335024 C3 84 00 04 */ lfs f28, 4(r4) -/* 803380C8 00335028 38 61 01 34 */ addi r3, r1, 0x134 -/* 803380CC 0033502C C3 A4 00 0C */ lfs f29, 0xc(r4) -/* 803380D0 00335030 EC 3C E0 28 */ fsubs f1, f28, f28 -/* 803380D4 00335034 C3 C4 00 14 */ lfs f30, 0x14(r4) -/* 803380D8 00335038 C3 E4 00 08 */ lfs f31, 8(r4) -/* 803380DC 0033503C EC 5D E8 28 */ fsubs f2, f29, f29 -/* 803380E0 00335040 38 81 01 40 */ addi r4, r1, 0x140 -/* 803380E4 00335044 EC 1E F8 28 */ fsubs f0, f30, f31 -/* 803380E8 00335048 D0 41 01 40 */ stfs f2, 0x140(r1) -/* 803380EC 0033504C D0 21 01 44 */ stfs f1, 0x144(r1) -/* 803380F0 00335050 D0 01 01 48 */ stfs f0, 0x148(r1) -/* 803380F4 00335054 4B FD C7 5D */ bl AsNormalized__9CVector3fCFv -/* 803380F8 00335058 38 61 01 28 */ addi r3, r1, 0x128 -/* 803380FC 0033505C 38 81 01 34 */ addi r4, r1, 0x134 -/* 80338100 00335060 4B FD BC D1 */ bl __ct__11CUnitVectorFRC9CVector3f -/* 80338104 00335064 D3 BF 00 00 */ stfs f29, 0(r31) -/* 80338108 00335068 D3 9F 00 04 */ stfs f28, 4(r31) -/* 8033810C 0033506C D3 FF 00 08 */ stfs f31, 8(r31) -/* 80338110 00335070 C0 01 01 28 */ lfs f0, 0x128(r1) -/* 80338114 00335074 D0 1F 00 0C */ stfs f0, 0xc(r31) -/* 80338118 00335078 C0 01 01 2C */ lfs f0, 0x12c(r1) -/* 8033811C 0033507C D0 1F 00 10 */ stfs f0, 0x10(r31) -/* 80338120 00335080 C0 01 01 30 */ lfs f0, 0x130(r1) -/* 80338124 00335084 D0 1F 00 14 */ stfs f0, 0x14(r31) -/* 80338128 00335088 D3 BF 00 18 */ stfs f29, 0x18(r31) -/* 8033812C 0033508C D3 9F 00 1C */ stfs f28, 0x1c(r31) -/* 80338130 00335090 D3 DF 00 20 */ stfs f30, 0x20(r31) -/* 80338134 00335094 48 00 03 A0 */ b lbl_803384D4 -/* 80338138 00335098 C3 84 00 08 */ lfs f28, 8(r4) -/* 8033813C 0033509C 38 61 01 10 */ addi r3, r1, 0x110 -/* 80338140 003350A0 C3 A4 00 0C */ lfs f29, 0xc(r4) -/* 80338144 003350A4 EC 1C E0 28 */ fsubs f0, f28, f28 -/* 80338148 003350A8 C3 C4 00 10 */ lfs f30, 0x10(r4) -/* 8033814C 003350AC C3 E4 00 04 */ lfs f31, 4(r4) -/* 80338150 003350B0 EC 5D E8 28 */ fsubs f2, f29, f29 -/* 80338154 003350B4 38 81 01 1C */ addi r4, r1, 0x11c -/* 80338158 003350B8 EC 3E F8 28 */ fsubs f1, f30, f31 -/* 8033815C 003350BC D0 41 01 1C */ stfs f2, 0x11c(r1) -/* 80338160 003350C0 D0 21 01 20 */ stfs f1, 0x120(r1) -/* 80338164 003350C4 D0 01 01 24 */ stfs f0, 0x124(r1) -/* 80338168 003350C8 4B FD C6 E9 */ bl AsNormalized__9CVector3fCFv -/* 8033816C 003350CC 38 61 01 04 */ addi r3, r1, 0x104 -/* 80338170 003350D0 38 81 01 10 */ addi r4, r1, 0x110 -/* 80338174 003350D4 4B FD BC 5D */ bl __ct__11CUnitVectorFRC9CVector3f -/* 80338178 003350D8 D3 BF 00 00 */ stfs f29, 0(r31) -/* 8033817C 003350DC D3 FF 00 04 */ stfs f31, 4(r31) -/* 80338180 003350E0 D3 9F 00 08 */ stfs f28, 8(r31) -/* 80338184 003350E4 C0 01 01 04 */ lfs f0, 0x104(r1) -/* 80338188 003350E8 D0 1F 00 0C */ stfs f0, 0xc(r31) -/* 8033818C 003350EC C0 01 01 08 */ lfs f0, 0x108(r1) -/* 80338190 003350F0 D0 1F 00 10 */ stfs f0, 0x10(r31) -/* 80338194 003350F4 C0 01 01 0C */ lfs f0, 0x10c(r1) -/* 80338198 003350F8 D0 1F 00 14 */ stfs f0, 0x14(r31) -/* 8033819C 003350FC D3 BF 00 18 */ stfs f29, 0x18(r31) -/* 803381A0 00335100 D3 DF 00 1C */ stfs f30, 0x1c(r31) -/* 803381A4 00335104 D3 9F 00 20 */ stfs f28, 0x20(r31) -/* 803381A8 00335108 48 00 03 2C */ b lbl_803384D4 -/* 803381AC 0033510C C3 84 00 14 */ lfs f28, 0x14(r4) -/* 803381B0 00335110 38 61 00 EC */ addi r3, r1, 0xec -/* 803381B4 00335114 C3 A4 00 04 */ lfs f29, 4(r4) -/* 803381B8 00335118 EC 1C E0 28 */ fsubs f0, f28, f28 -/* 803381BC 0033511C C3 C4 00 00 */ lfs f30, 0(r4) -/* 803381C0 00335120 C3 E4 00 0C */ lfs f31, 0xc(r4) -/* 803381C4 00335124 EC 3D E8 28 */ fsubs f1, f29, f29 -/* 803381C8 00335128 38 81 00 F8 */ addi r4, r1, 0xf8 -/* 803381CC 0033512C EC 5E F8 28 */ fsubs f2, f30, f31 -/* 803381D0 00335130 D0 21 00 FC */ stfs f1, 0xfc(r1) -/* 803381D4 00335134 D0 41 00 F8 */ stfs f2, 0xf8(r1) -/* 803381D8 00335138 D0 01 01 00 */ stfs f0, 0x100(r1) -/* 803381DC 0033513C 4B FD C6 75 */ bl AsNormalized__9CVector3fCFv -/* 803381E0 00335140 38 61 00 E0 */ addi r3, r1, 0xe0 -/* 803381E4 00335144 38 81 00 EC */ addi r4, r1, 0xec -/* 803381E8 00335148 4B FD BB E9 */ bl __ct__11CUnitVectorFRC9CVector3f -/* 803381EC 0033514C D3 FF 00 00 */ stfs f31, 0(r31) -/* 803381F0 00335150 D3 BF 00 04 */ stfs f29, 4(r31) -/* 803381F4 00335154 D3 9F 00 08 */ stfs f28, 8(r31) -/* 803381F8 00335158 C0 01 00 E0 */ lfs f0, 0xe0(r1) -/* 803381FC 0033515C D0 1F 00 0C */ stfs f0, 0xc(r31) -/* 80338200 00335160 C0 01 00 E4 */ lfs f0, 0xe4(r1) -/* 80338204 00335164 D0 1F 00 10 */ stfs f0, 0x10(r31) -/* 80338208 00335168 C0 01 00 E8 */ lfs f0, 0xe8(r1) -/* 8033820C 0033516C D0 1F 00 14 */ stfs f0, 0x14(r31) -/* 80338210 00335170 D3 DF 00 18 */ stfs f30, 0x18(r31) -/* 80338214 00335174 D3 BF 00 1C */ stfs f29, 0x1c(r31) -/* 80338218 00335178 D3 9F 00 20 */ stfs f28, 0x20(r31) -/* 8033821C 0033517C 48 00 02 B8 */ b lbl_803384D4 -/* 80338220 00335180 C3 84 00 14 */ lfs f28, 0x14(r4) -/* 80338224 00335184 38 61 00 C8 */ addi r3, r1, 0xc8 -/* 80338228 00335188 C3 A4 00 0C */ lfs f29, 0xc(r4) -/* 8033822C 0033518C EC 1C E0 28 */ fsubs f0, f28, f28 -/* 80338230 00335190 C3 C4 00 10 */ lfs f30, 0x10(r4) -/* 80338234 00335194 C3 E4 00 04 */ lfs f31, 4(r4) -/* 80338238 00335198 EC 5D E8 28 */ fsubs f2, f29, f29 -/* 8033823C 0033519C 38 81 00 D4 */ addi r4, r1, 0xd4 -/* 80338240 003351A0 EC 3E F8 28 */ fsubs f1, f30, f31 -/* 80338244 003351A4 D0 41 00 D4 */ stfs f2, 0xd4(r1) -/* 80338248 003351A8 D0 21 00 D8 */ stfs f1, 0xd8(r1) -/* 8033824C 003351AC D0 01 00 DC */ stfs f0, 0xdc(r1) -/* 80338250 003351B0 4B FD C6 01 */ bl AsNormalized__9CVector3fCFv -/* 80338254 003351B4 38 61 00 BC */ addi r3, r1, 0xbc -/* 80338258 003351B8 38 81 00 C8 */ addi r4, r1, 0xc8 -/* 8033825C 003351BC 4B FD BB 75 */ bl __ct__11CUnitVectorFRC9CVector3f -/* 80338260 003351C0 D3 BF 00 00 */ stfs f29, 0(r31) -/* 80338264 003351C4 D3 FF 00 04 */ stfs f31, 4(r31) -/* 80338268 003351C8 D3 9F 00 08 */ stfs f28, 8(r31) -/* 8033826C 003351CC C0 01 00 BC */ lfs f0, 0xbc(r1) -/* 80338270 003351D0 D0 1F 00 0C */ stfs f0, 0xc(r31) -/* 80338274 003351D4 C0 01 00 C0 */ lfs f0, 0xc0(r1) -/* 80338278 003351D8 D0 1F 00 10 */ stfs f0, 0x10(r31) -/* 8033827C 003351DC C0 01 00 C4 */ lfs f0, 0xc4(r1) -/* 80338280 003351E0 D0 1F 00 14 */ stfs f0, 0x14(r31) -/* 80338284 003351E4 D3 BF 00 18 */ stfs f29, 0x18(r31) -/* 80338288 003351E8 D3 DF 00 1C */ stfs f30, 0x1c(r31) -/* 8033828C 003351EC D3 9F 00 20 */ stfs f28, 0x20(r31) -/* 80338290 003351F0 48 00 02 44 */ b lbl_803384D4 -/* 80338294 003351F4 C3 84 00 10 */ lfs f28, 0x10(r4) -/* 80338298 003351F8 38 61 00 A4 */ addi r3, r1, 0xa4 -/* 8033829C 003351FC C3 A4 00 0C */ lfs f29, 0xc(r4) -/* 803382A0 00335200 EC 3C E0 28 */ fsubs f1, f28, f28 -/* 803382A4 00335204 C3 C4 00 08 */ lfs f30, 8(r4) -/* 803382A8 00335208 C3 E4 00 14 */ lfs f31, 0x14(r4) -/* 803382AC 0033520C EC 5D E8 28 */ fsubs f2, f29, f29 -/* 803382B0 00335210 38 81 00 B0 */ addi r4, r1, 0xb0 -/* 803382B4 00335214 EC 1E F8 28 */ fsubs f0, f30, f31 -/* 803382B8 00335218 D0 41 00 B0 */ stfs f2, 0xb0(r1) -/* 803382BC 0033521C D0 21 00 B4 */ stfs f1, 0xb4(r1) -/* 803382C0 00335220 D0 01 00 B8 */ stfs f0, 0xb8(r1) -/* 803382C4 00335224 4B FD C5 8D */ bl AsNormalized__9CVector3fCFv -/* 803382C8 00335228 38 61 00 98 */ addi r3, r1, 0x98 -/* 803382CC 0033522C 38 81 00 A4 */ addi r4, r1, 0xa4 -/* 803382D0 00335230 4B FD BB 01 */ bl __ct__11CUnitVectorFRC9CVector3f -/* 803382D4 00335234 D3 BF 00 00 */ stfs f29, 0(r31) -/* 803382D8 00335238 D3 9F 00 04 */ stfs f28, 4(r31) -/* 803382DC 0033523C D3 FF 00 08 */ stfs f31, 8(r31) -/* 803382E0 00335240 C0 01 00 98 */ lfs f0, 0x98(r1) -/* 803382E4 00335244 D0 1F 00 0C */ stfs f0, 0xc(r31) -/* 803382E8 00335248 C0 01 00 9C */ lfs f0, 0x9c(r1) -/* 803382EC 0033524C D0 1F 00 10 */ stfs f0, 0x10(r31) -/* 803382F0 00335250 C0 01 00 A0 */ lfs f0, 0xa0(r1) -/* 803382F4 00335254 D0 1F 00 14 */ stfs f0, 0x14(r31) -/* 803382F8 00335258 D3 BF 00 18 */ stfs f29, 0x18(r31) -/* 803382FC 0033525C D3 9F 00 1C */ stfs f28, 0x1c(r31) -/* 80338300 00335260 D3 DF 00 20 */ stfs f30, 0x20(r31) -/* 80338304 00335264 48 00 01 D0 */ b lbl_803384D4 -/* 80338308 00335268 C3 84 00 08 */ lfs f28, 8(r4) -/* 8033830C 0033526C 38 61 00 80 */ addi r3, r1, 0x80 -/* 80338310 00335270 C3 A4 00 10 */ lfs f29, 0x10(r4) -/* 80338314 00335274 EC 1C E0 28 */ fsubs f0, f28, f28 -/* 80338318 00335278 C3 C4 00 00 */ lfs f30, 0(r4) -/* 8033831C 0033527C C3 E4 00 0C */ lfs f31, 0xc(r4) -/* 80338320 00335280 EC 3D E8 28 */ fsubs f1, f29, f29 -/* 80338324 00335284 38 81 00 8C */ addi r4, r1, 0x8c -/* 80338328 00335288 EC 5E F8 28 */ fsubs f2, f30, f31 -/* 8033832C 0033528C D0 21 00 90 */ stfs f1, 0x90(r1) -/* 80338330 00335290 D0 41 00 8C */ stfs f2, 0x8c(r1) -/* 80338334 00335294 D0 01 00 94 */ stfs f0, 0x94(r1) -/* 80338338 00335298 4B FD C5 19 */ bl AsNormalized__9CVector3fCFv -/* 8033833C 0033529C 38 61 00 74 */ addi r3, r1, 0x74 -/* 80338340 003352A0 38 81 00 80 */ addi r4, r1, 0x80 -/* 80338344 003352A4 4B FD BA 8D */ bl __ct__11CUnitVectorFRC9CVector3f -/* 80338348 003352A8 D3 FF 00 00 */ stfs f31, 0(r31) -/* 8033834C 003352AC D3 BF 00 04 */ stfs f29, 4(r31) -/* 80338350 003352B0 D3 9F 00 08 */ stfs f28, 8(r31) -/* 80338354 003352B4 C0 01 00 74 */ lfs f0, 0x74(r1) -/* 80338358 003352B8 D0 1F 00 0C */ stfs f0, 0xc(r31) -/* 8033835C 003352BC C0 01 00 78 */ lfs f0, 0x78(r1) -/* 80338360 003352C0 D0 1F 00 10 */ stfs f0, 0x10(r31) -/* 80338364 003352C4 C0 01 00 7C */ lfs f0, 0x7c(r1) -/* 80338368 003352C8 D0 1F 00 14 */ stfs f0, 0x14(r31) -/* 8033836C 003352CC D3 DF 00 18 */ stfs f30, 0x18(r31) -/* 80338370 003352D0 D3 BF 00 1C */ stfs f29, 0x1c(r31) -/* 80338374 003352D4 D3 9F 00 20 */ stfs f28, 0x20(r31) -/* 80338378 003352D8 48 00 01 5C */ b lbl_803384D4 -/* 8033837C 003352DC C3 84 00 10 */ lfs f28, 0x10(r4) -/* 80338380 003352E0 38 61 00 5C */ addi r3, r1, 0x5c -/* 80338384 003352E4 C3 A4 00 00 */ lfs f29, 0(r4) -/* 80338388 003352E8 EC 3C E0 28 */ fsubs f1, f28, f28 -/* 8033838C 003352EC C3 C4 00 14 */ lfs f30, 0x14(r4) -/* 80338390 003352F0 C3 E4 00 08 */ lfs f31, 8(r4) -/* 80338394 003352F4 EC 5D E8 28 */ fsubs f2, f29, f29 -/* 80338398 003352F8 38 81 00 68 */ addi r4, r1, 0x68 -/* 8033839C 003352FC EC 1E F8 28 */ fsubs f0, f30, f31 -/* 803383A0 00335300 D0 41 00 68 */ stfs f2, 0x68(r1) -/* 803383A4 00335304 D0 21 00 6C */ stfs f1, 0x6c(r1) -/* 803383A8 00335308 D0 01 00 70 */ stfs f0, 0x70(r1) -/* 803383AC 0033530C 4B FD C4 A5 */ bl AsNormalized__9CVector3fCFv -/* 803383B0 00335310 38 61 00 50 */ addi r3, r1, 0x50 -/* 803383B4 00335314 38 81 00 5C */ addi r4, r1, 0x5c -/* 803383B8 00335318 4B FD BA 19 */ bl __ct__11CUnitVectorFRC9CVector3f -/* 803383BC 0033531C D3 BF 00 00 */ stfs f29, 0(r31) -/* 803383C0 00335320 D3 9F 00 04 */ stfs f28, 4(r31) -/* 803383C4 00335324 D3 FF 00 08 */ stfs f31, 8(r31) -/* 803383C8 00335328 C0 01 00 50 */ lfs f0, 0x50(r1) -/* 803383CC 0033532C D0 1F 00 0C */ stfs f0, 0xc(r31) -/* 803383D0 00335330 C0 01 00 54 */ lfs f0, 0x54(r1) -/* 803383D4 00335334 D0 1F 00 10 */ stfs f0, 0x10(r31) -/* 803383D8 00335338 C0 01 00 58 */ lfs f0, 0x58(r1) -/* 803383DC 0033533C D0 1F 00 14 */ stfs f0, 0x14(r31) -/* 803383E0 00335340 D3 BF 00 18 */ stfs f29, 0x18(r31) -/* 803383E4 00335344 D3 9F 00 1C */ stfs f28, 0x1c(r31) -/* 803383E8 00335348 D3 DF 00 20 */ stfs f30, 0x20(r31) -/* 803383EC 0033534C 48 00 00 E8 */ b lbl_803384D4 -/* 803383F0 00335350 C3 84 00 14 */ lfs f28, 0x14(r4) -/* 803383F4 00335354 38 61 00 38 */ addi r3, r1, 0x38 -/* 803383F8 00335358 C3 A4 00 10 */ lfs f29, 0x10(r4) -/* 803383FC 0033535C EC 1C E0 28 */ fsubs f0, f28, f28 -/* 80338400 00335360 C3 C4 00 0C */ lfs f30, 0xc(r4) -/* 80338404 00335364 C3 E4 00 00 */ lfs f31, 0(r4) -/* 80338408 00335368 EC 3D E8 28 */ fsubs f1, f29, f29 -/* 8033840C 0033536C 38 81 00 44 */ addi r4, r1, 0x44 -/* 80338410 00335370 EC 5E F8 28 */ fsubs f2, f30, f31 -/* 80338414 00335374 D0 21 00 48 */ stfs f1, 0x48(r1) -/* 80338418 00335378 D0 41 00 44 */ stfs f2, 0x44(r1) -/* 8033841C 0033537C D0 01 00 4C */ stfs f0, 0x4c(r1) -/* 80338420 00335380 4B FD C4 31 */ bl AsNormalized__9CVector3fCFv -/* 80338424 00335384 38 61 00 2C */ addi r3, r1, 0x2c -/* 80338428 00335388 38 81 00 38 */ addi r4, r1, 0x38 -/* 8033842C 0033538C 4B FD B9 A5 */ bl __ct__11CUnitVectorFRC9CVector3f -/* 80338430 00335390 D3 FF 00 00 */ stfs f31, 0(r31) -/* 80338434 00335394 D3 BF 00 04 */ stfs f29, 4(r31) -/* 80338438 00335398 D3 9F 00 08 */ stfs f28, 8(r31) -/* 8033843C 0033539C C0 01 00 2C */ lfs f0, 0x2c(r1) -/* 80338440 003353A0 D0 1F 00 0C */ stfs f0, 0xc(r31) -/* 80338444 003353A4 C0 01 00 30 */ lfs f0, 0x30(r1) -/* 80338448 003353A8 D0 1F 00 10 */ stfs f0, 0x10(r31) -/* 8033844C 003353AC C0 01 00 34 */ lfs f0, 0x34(r1) -/* 80338450 003353B0 D0 1F 00 14 */ stfs f0, 0x14(r31) -/* 80338454 003353B4 D3 DF 00 18 */ stfs f30, 0x18(r31) -/* 80338458 003353B8 D3 BF 00 1C */ stfs f29, 0x1c(r31) -/* 8033845C 003353BC D3 9F 00 20 */ stfs f28, 0x20(r31) -/* 80338460 003353C0 48 00 00 74 */ b lbl_803384D4 -lbl_80338464: -/* 80338464 003353C4 C3 84 00 04 */ lfs f28, 4(r4) -/* 80338468 003353C8 38 61 00 14 */ addi r3, r1, 0x14 -/* 8033846C 003353CC C3 A4 00 00 */ lfs f29, 0(r4) -/* 80338470 003353D0 EC 3C E0 28 */ fsubs f1, f28, f28 -/* 80338474 003353D4 C3 C4 00 08 */ lfs f30, 8(r4) -/* 80338478 003353D8 C3 E4 00 14 */ lfs f31, 0x14(r4) -/* 8033847C 003353DC EC 5D E8 28 */ fsubs f2, f29, f29 -/* 80338480 003353E0 38 81 00 20 */ addi r4, r1, 0x20 -/* 80338484 003353E4 EC 1E F8 28 */ fsubs f0, f30, f31 -/* 80338488 003353E8 D0 41 00 20 */ stfs f2, 0x20(r1) -/* 8033848C 003353EC D0 21 00 24 */ stfs f1, 0x24(r1) -/* 80338490 003353F0 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 80338494 003353F4 4B FD C3 BD */ bl AsNormalized__9CVector3fCFv -/* 80338498 003353F8 38 61 00 08 */ addi r3, r1, 8 -/* 8033849C 003353FC 38 81 00 14 */ addi r4, r1, 0x14 -/* 803384A0 00335400 4B FD B9 31 */ bl __ct__11CUnitVectorFRC9CVector3f -/* 803384A4 00335404 D3 BF 00 00 */ stfs f29, 0(r31) -/* 803384A8 00335408 D3 9F 00 04 */ stfs f28, 4(r31) -/* 803384AC 0033540C D3 FF 00 08 */ stfs f31, 8(r31) -/* 803384B0 00335410 C0 01 00 08 */ lfs f0, 8(r1) -/* 803384B4 00335414 D0 1F 00 0C */ stfs f0, 0xc(r31) -/* 803384B8 00335418 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 803384BC 0033541C D0 1F 00 10 */ stfs f0, 0x10(r31) -/* 803384C0 00335420 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 803384C4 00335424 D0 1F 00 14 */ stfs f0, 0x14(r31) -/* 803384C8 00335428 D3 BF 00 18 */ stfs f29, 0x18(r31) -/* 803384CC 0033542C D3 9F 00 1C */ stfs f28, 0x1c(r31) -/* 803384D0 00335430 D3 DF 00 20 */ stfs f30, 0x20(r31) -lbl_803384D4: -/* 803384D4 00335434 E3 E1 02 28 */ psq_l f31, 552(r1), 0, qr0 -/* 803384D8 00335438 CB E1 02 20 */ lfd f31, 0x220(r1) -/* 803384DC 0033543C E3 C1 02 18 */ psq_l f30, 536(r1), 0, qr0 -/* 803384E0 00335440 CB C1 02 10 */ lfd f30, 0x210(r1) -/* 803384E4 00335444 E3 A1 02 08 */ psq_l f29, 520(r1), 0, qr0 -/* 803384E8 00335448 CB A1 02 00 */ lfd f29, 0x200(r1) -/* 803384EC 0033544C E3 81 01 F8 */ psq_l f28, 504(r1), 0, qr0 -/* 803384F0 00335450 CB 81 01 F0 */ lfd f28, 0x1f0(r1) -/* 803384F4 00335454 80 01 02 34 */ lwz r0, 0x234(r1) -/* 803384F8 00335458 83 E1 01 EC */ lwz r31, 0x1ec(r1) -/* 803384FC 0033545C 7C 08 03 A6 */ mtlr r0 -/* 80338500 00335460 38 21 02 30 */ addi r1, r1, 0x230 -/* 80338504 00335464 4E 80 00 20 */ blr - -.global __ct__6CAABoxFRC9CVector3fRC9CVector3f -__ct__6CAABoxFRC9CVector3fRC9CVector3f: -/* 80338508 00335468 C0 04 00 00 */ lfs f0, 0(r4) -/* 8033850C 0033546C D0 03 00 00 */ stfs f0, 0(r3) -/* 80338510 00335470 C0 04 00 04 */ lfs f0, 4(r4) -/* 80338514 00335474 D0 03 00 04 */ stfs f0, 4(r3) -/* 80338518 00335478 C0 04 00 08 */ lfs f0, 8(r4) -/* 8033851C 0033547C D0 03 00 08 */ stfs f0, 8(r3) -/* 80338520 00335480 C0 05 00 00 */ lfs f0, 0(r5) -/* 80338524 00335484 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 80338528 00335488 C0 05 00 04 */ lfs f0, 4(r5) -/* 8033852C 0033548C D0 03 00 10 */ stfs f0, 0x10(r3) -/* 80338530 00335490 C0 05 00 08 */ lfs f0, 8(r5) -/* 80338534 00335494 D0 03 00 14 */ stfs f0, 0x14(r3) -/* 80338538 00335498 4E 80 00 20 */ blr - -.global __ct__6CAABoxFR12CInputStream -__ct__6CAABoxFR12CInputStream: -/* 8033853C 0033549C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80338540 003354A0 7C 08 02 A6 */ mflr r0 -/* 80338544 003354A4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80338548 003354A8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8033854C 003354AC 7C 9F 23 78 */ mr r31, r4 -/* 80338550 003354B0 93 C1 00 08 */ stw r30, 8(r1) -/* 80338554 003354B4 7C 7E 1B 78 */ mr r30, r3 -/* 80338558 003354B8 4B FD C6 35 */ bl __ct__9CVector3fFR12CInputStream -/* 8033855C 003354BC 7F E4 FB 78 */ mr r4, r31 -/* 80338560 003354C0 38 7E 00 0C */ addi r3, r30, 0xc -/* 80338564 003354C4 4B FD C6 29 */ bl __ct__9CVector3fFR12CInputStream -/* 80338568 003354C8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8033856C 003354CC 7F C3 F3 78 */ mr r3, r30 -/* 80338570 003354D0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80338574 003354D4 83 C1 00 08 */ lwz r30, 8(r1) -/* 80338578 003354D8 7C 08 03 A6 */ mtlr r0 -/* 8033857C 003354DC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80338580 003354E0 4E 80 00 20 */ blr - -.global __sinit_CAABox_cpp -__sinit_CAABox_cpp: -/* 80338584 003354E4 C0 42 CB 94 */ lfs f2, lbl_805AE8B4@sda21(r2) -/* 80338588 003354E8 3C 80 80 5A */ lis r4, lbl_805A6754@ha -/* 8033858C 003354EC C0 02 CB 88 */ lfs f0, lbl_805AE8A8@sda21(r2) -/* 80338590 003354F0 3C 60 80 5A */ lis r3, lbl_805A6784@ha -/* 80338594 003354F4 D4 44 67 54 */ stfsu f2, lbl_805A6754@l(r4) -/* 80338598 003354F8 C0 22 CB 98 */ lfs f1, lbl_805AE8B8@sda21(r2) -/* 8033859C 003354FC D4 03 67 84 */ stfsu f0, lbl_805A6784@l(r3) -/* 803385A0 00335500 D0 44 00 04 */ stfs f2, 4(r4) -/* 803385A4 00335504 D0 44 00 08 */ stfs f2, 8(r4) -/* 803385A8 00335508 D0 24 00 0C */ stfs f1, 0xc(r4) -/* 803385AC 0033550C D0 24 00 10 */ stfs f1, 0x10(r4) -/* 803385B0 00335510 D0 24 00 14 */ stfs f1, 0x14(r4) -/* 803385B4 00335514 D0 03 00 04 */ stfs f0, 4(r3) -/* 803385B8 00335518 D0 03 00 08 */ stfs f0, 8(r3) -/* 803385BC 0033551C D0 03 00 0C */ stfs f0, 0xc(r3) -/* 803385C0 00335520 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 803385C4 00335524 D0 03 00 14 */ stfs f0, 0x14(r3) -/* 803385C8 00335528 4E 80 00 20 */ blr - -.global FourCCToTypeIdx__11CFactoryMgrFUi -FourCCToTypeIdx__11CFactoryMgrFUi: -/* 803385CC 0033552C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803385D0 00335530 90 61 00 08 */ stw r3, 8(r1) -/* 803385D4 00335534 88 01 00 08 */ lbz r0, 8(r1) -/* 803385D8 00335538 7C 00 07 74 */ extsb r0, r0 -/* 803385DC 0033553C 2C 00 FF FF */ cmpwi r0, -1 -/* 803385E0 00335540 40 82 00 0C */ bne lbl_803385EC -/* 803385E4 00335544 38 00 FF FF */ li r0, -1 -/* 803385E8 00335548 48 00 00 14 */ b lbl_803385FC -lbl_803385EC: -/* 803385EC 0033554C 3C 60 80 3F */ lis r3, lbl_803F2C20@ha -/* 803385F0 00335550 54 00 06 3E */ clrlwi r0, r0, 0x18 -/* 803385F4 00335554 38 63 2C 20 */ addi r3, r3, lbl_803F2C20@l -/* 803385F8 00335558 7C 03 00 AE */ lbzx r0, r3, r0 -lbl_803385FC: -/* 803385FC 0033555C 88 81 00 09 */ lbz r4, 9(r1) -/* 80338600 00335560 98 01 00 08 */ stb r0, 8(r1) -/* 80338604 00335564 7C 84 07 74 */ extsb r4, r4 -/* 80338608 00335568 2C 04 FF FF */ cmpwi r4, -1 -/* 8033860C 0033556C 40 82 00 0C */ bne lbl_80338618 -/* 80338610 00335570 38 00 FF FF */ li r0, -1 -/* 80338614 00335574 48 00 00 14 */ b lbl_80338628 -lbl_80338618: -/* 80338618 00335578 3C 60 80 3F */ lis r3, lbl_803F2C20@ha -/* 8033861C 0033557C 54 80 06 3E */ clrlwi r0, r4, 0x18 -/* 80338620 00335580 38 63 2C 20 */ addi r3, r3, lbl_803F2C20@l -/* 80338624 00335584 7C 03 00 AE */ lbzx r0, r3, r0 -lbl_80338628: -/* 80338628 00335588 88 81 00 0A */ lbz r4, 0xa(r1) -/* 8033862C 0033558C 98 01 00 09 */ stb r0, 9(r1) -/* 80338630 00335590 7C 84 07 74 */ extsb r4, r4 -/* 80338634 00335594 2C 04 FF FF */ cmpwi r4, -1 -/* 80338638 00335598 40 82 00 0C */ bne lbl_80338644 -/* 8033863C 0033559C 38 00 FF FF */ li r0, -1 -/* 80338640 003355A0 48 00 00 14 */ b lbl_80338654 -lbl_80338644: -/* 80338644 003355A4 3C 60 80 3F */ lis r3, lbl_803F2C20@ha -/* 80338648 003355A8 54 80 06 3E */ clrlwi r0, r4, 0x18 -/* 8033864C 003355AC 38 63 2C 20 */ addi r3, r3, lbl_803F2C20@l -/* 80338650 003355B0 7C 03 00 AE */ lbzx r0, r3, r0 -lbl_80338654: -/* 80338654 003355B4 88 81 00 0B */ lbz r4, 0xb(r1) -/* 80338658 003355B8 98 01 00 0A */ stb r0, 0xa(r1) -/* 8033865C 003355BC 7C 84 07 74 */ extsb r4, r4 -/* 80338660 003355C0 2C 04 FF FF */ cmpwi r4, -1 -/* 80338664 003355C4 40 82 00 0C */ bne lbl_80338670 -/* 80338668 003355C8 38 00 FF FF */ li r0, -1 -/* 8033866C 003355CC 48 00 00 14 */ b lbl_80338680 -lbl_80338670: -/* 80338670 003355D0 3C 60 80 3F */ lis r3, lbl_803F2C20@ha -/* 80338674 003355D4 54 80 06 3E */ clrlwi r0, r4, 0x18 -/* 80338678 003355D8 38 63 2C 20 */ addi r3, r3, lbl_803F2C20@l -/* 8033867C 003355DC 7C 03 00 AE */ lbzx r0, r3, r0 -lbl_80338680: -/* 80338680 003355E0 98 01 00 0B */ stb r0, 0xb(r1) -/* 80338684 003355E4 3C 60 80 3D */ lis r3, lbl_803D7988@ha -/* 80338688 003355E8 38 00 00 13 */ li r0, 0x13 -/* 8033868C 003355EC 38 83 79 88 */ addi r4, r3, lbl_803D7988@l -/* 80338690 003355F0 80 A1 00 08 */ lwz r5, 8(r1) -/* 80338694 003355F4 38 60 00 00 */ li r3, 0 -/* 80338698 003355F8 7C 09 03 A6 */ mtctr r0 -lbl_8033869C: -/* 8033869C 003355FC 80 04 00 00 */ lwz r0, 0(r4) -/* 803386A0 00335600 7C 05 00 40 */ cmplw r5, r0 -/* 803386A4 00335604 40 82 00 08 */ bne lbl_803386AC -/* 803386A8 00335608 48 00 00 28 */ b lbl_803386D0 -lbl_803386AC: -/* 803386AC 0033560C 84 04 00 04 */ lwzu r0, 4(r4) -/* 803386B0 00335610 38 63 00 01 */ addi r3, r3, 1 -/* 803386B4 00335614 7C 05 00 40 */ cmplw r5, r0 -/* 803386B8 00335618 40 82 00 08 */ bne lbl_803386C0 -/* 803386BC 0033561C 48 00 00 14 */ b lbl_803386D0 -lbl_803386C0: -/* 803386C0 00335620 38 84 00 04 */ addi r4, r4, 4 -/* 803386C4 00335624 38 63 00 01 */ addi r3, r3, 1 -/* 803386C8 00335628 42 00 FF D4 */ bdnz lbl_8033869C -/* 803386CC 0033562C 38 60 FF FF */ li r3, -1 -lbl_803386D0: -/* 803386D0 00335630 38 21 00 10 */ addi r1, r1, 0x10 -/* 803386D4 00335634 4E 80 00 20 */ blr - -.global TypeIdxToFourCC__11CFactoryMgrFUi -TypeIdxToFourCC__11CFactoryMgrFUi: -/* 803386D8 00335638 3C 80 80 3D */ lis r4, lbl_803D7988@ha -/* 803386DC 0033563C 54 60 10 3A */ slwi r0, r3, 2 -/* 803386E0 00335640 38 64 79 88 */ addi r3, r4, lbl_803D7988@l -/* 803386E4 00335644 7C 63 00 2E */ lwzx r3, r3, r0 -/* 803386E8 00335648 4E 80 00 20 */ blr - -.global MakeObjectFromMemory__11CFactoryMgrFRC10SObjectTagPvibRC15CVParamTransfer -MakeObjectFromMemory__11CFactoryMgrFRC10SObjectTagPvibRC15CVParamTransfer: -/* 803386EC 0033564C 94 21 FE F0 */ stwu r1, -0x110(r1) -/* 803386F0 00335650 7C 08 02 A6 */ mflr r0 -/* 803386F4 00335654 90 01 01 14 */ stw r0, 0x114(r1) -/* 803386F8 00335658 BF 21 00 F4 */ stmw r25, 0xf4(r1) -/* 803386FC 0033565C 7C BE 2B 78 */ mr r30, r5 -/* 80338700 00335660 7C DA 33 78 */ mr r26, r6 -/* 80338704 00335664 7C 7D 1B 78 */ mr r29, r3 -/* 80338708 00335668 7C FB 3B 78 */ mr r27, r7 -/* 8033870C 0033566C 7D 3F 4B 78 */ mr r31, r9 -/* 80338710 00335670 38 C0 00 00 */ li r6, 0 -/* 80338714 00335674 81 44 00 24 */ lwz r10, 0x24(r4) -/* 80338718 00335678 80 A5 00 00 */ lwz r5, 0(r5) -/* 8033871C 0033567C 48 00 00 20 */ b lbl_8033873C -lbl_80338720: -/* 80338720 00335680 80 0A 00 10 */ lwz r0, 0x10(r10) -/* 80338724 00335684 7C 00 28 00 */ cmpw r0, r5 -/* 80338728 00335688 41 80 00 10 */ blt lbl_80338738 -/* 8033872C 0033568C 7D 46 53 78 */ mr r6, r10 -/* 80338730 00335690 81 4A 00 00 */ lwz r10, 0(r10) -/* 80338734 00335694 48 00 00 08 */ b lbl_8033873C -lbl_80338738: -/* 80338738 00335698 81 4A 00 04 */ lwz r10, 4(r10) -lbl_8033873C: -/* 8033873C 0033569C 28 0A 00 00 */ cmplwi r10, 0 -/* 80338740 003356A0 40 82 FF E0 */ bne lbl_80338720 -/* 80338744 003356A4 28 06 00 00 */ cmplwi r6, 0 -/* 80338748 003356A8 38 60 00 00 */ li r3, 0 -/* 8033874C 003356AC 41 82 00 10 */ beq lbl_8033875C -/* 80338750 003356B0 80 06 00 10 */ lwz r0, 0x10(r6) -/* 80338754 003356B4 7C 05 00 00 */ cmpw r5, r0 -/* 80338758 003356B8 40 80 00 08 */ bge lbl_80338760 -lbl_8033875C: -/* 8033875C 003356BC 38 60 00 01 */ li r3, 1 -lbl_80338760: -/* 80338760 003356C0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80338764 003356C4 41 82 00 08 */ beq lbl_8033876C -/* 80338768 003356C8 38 C0 00 00 */ li r6, 0 -lbl_8033876C: -/* 8033876C 003356CC 38 00 00 00 */ li r0, 0 -/* 80338770 003356D0 38 64 00 1C */ addi r3, r4, 0x1c -/* 80338774 003356D4 7C 06 00 40 */ cmplw r6, r0 -/* 80338778 003356D8 90 C1 00 40 */ stw r6, 0x40(r1) -/* 8033877C 003356DC 90 61 00 44 */ stw r3, 0x44(r1) -/* 80338780 003356E0 90 01 00 38 */ stw r0, 0x38(r1) -/* 80338784 003356E4 90 61 00 3C */ stw r3, 0x3c(r1) -/* 80338788 003356E8 40 82 00 0C */ bne lbl_80338794 -/* 8033878C 003356EC 7C 03 18 40 */ cmplw r3, r3 -/* 80338790 003356F0 41 82 00 08 */ beq lbl_80338798 -lbl_80338794: -/* 80338794 003356F4 38 00 00 01 */ li r0, 1 -lbl_80338798: -/* 80338798 003356F8 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 8033879C 003356FC 41 82 02 08 */ beq lbl_803389A4 -/* 803387A0 00335700 55 00 06 3F */ clrlwi. r0, r8, 0x18 -/* 803387A4 00335704 83 86 00 14 */ lwz r28, 0x14(r6) -/* 803387A8 00335708 41 82 01 7C */ beq lbl_80338924 -/* 803387AC 0033570C 3C 80 80 3D */ lis r4, lbl_803D7A20@ha -/* 803387B0 00335710 38 60 00 24 */ li r3, 0x24 -/* 803387B4 00335714 38 84 7A 20 */ addi r4, r4, lbl_803D7A20@l -/* 803387B8 00335718 38 A0 00 00 */ li r5, 0 -/* 803387BC 0033571C 4B FD D0 B1 */ bl __nw__FUlPCcPCc -/* 803387C0 00335720 7C 64 1B 79 */ or. r4, r3, r3 -/* 803387C4 00335724 41 82 00 18 */ beq lbl_803387DC -/* 803387C8 00335728 7F 44 D3 78 */ mr r4, r26 -/* 803387CC 0033572C 7F 65 DB 78 */ mr r5, r27 -/* 803387D0 00335730 38 C0 00 00 */ li r6, 0 -/* 803387D4 00335734 48 00 6A 39 */ bl __ct__15CMemoryInStreamFPvUlQ215CMemoryInStream10EOwnerShip -/* 803387D8 00335738 7C 64 1B 78 */ mr r4, r3 -lbl_803387DC: -/* 803387DC 0033573C 7C 04 00 D0 */ neg r0, r4 -/* 803387E0 00335740 90 81 00 5C */ stw r4, 0x5c(r1) -/* 803387E4 00335744 7C 00 23 78 */ or r0, r0, r4 -/* 803387E8 00335748 7C 83 23 78 */ mr r3, r4 -/* 803387EC 0033574C 54 00 0F FE */ srwi r0, r0, 0x1f -/* 803387F0 00335750 98 01 00 58 */ stb r0, 0x58(r1) -/* 803387F4 00335754 48 00 64 91 */ bl ReadLong__12CInputStreamFv -/* 803387F8 00335758 3C 80 80 3D */ lis r4, lbl_803D7A20@ha -/* 803387FC 0033575C 7C 7A 1B 78 */ mr r26, r3 -/* 80338800 00335760 38 A0 00 00 */ li r5, 0 -/* 80338804 00335764 38 84 7A 20 */ addi r4, r4, lbl_803D7A20@l -/* 80338808 00335768 4B FD D0 11 */ bl __nwa__FUlPCcPCc -/* 8033880C 0033576C 7C 03 00 D0 */ neg r0, r3 -/* 80338810 00335770 88 C1 00 58 */ lbz r6, 0x58(r1) -/* 80338814 00335774 7C 00 1B 78 */ or r0, r0, r3 -/* 80338818 00335778 80 A1 00 5C */ lwz r5, 0x5c(r1) -/* 8033881C 0033577C 54 07 0F FE */ srwi r7, r0, 0x1f -/* 80338820 00335780 38 00 00 00 */ li r0, 0 -/* 80338824 00335784 90 61 00 54 */ stw r3, 0x54(r1) -/* 80338828 00335788 38 61 00 B8 */ addi r3, r1, 0xb8 -/* 8033882C 0033578C 38 81 00 30 */ addi r4, r1, 0x30 -/* 80338830 00335790 98 E1 00 50 */ stb r7, 0x50(r1) -/* 80338834 00335794 98 C1 00 30 */ stb r6, 0x30(r1) -/* 80338838 00335798 90 A1 00 34 */ stw r5, 0x34(r1) -/* 8033883C 0033579C 98 01 00 58 */ stb r0, 0x58(r1) -/* 80338840 003357A0 48 00 70 C1 */ bl "__ct__15CZipInputStreamFQ24rstl24auto_ptr<12CInputStream>" -/* 80338844 003357A4 88 01 00 30 */ lbz r0, 0x30(r1) -/* 80338848 003357A8 28 00 00 00 */ cmplwi r0, 0 -/* 8033884C 003357AC 41 82 00 24 */ beq lbl_80338870 -/* 80338850 003357B0 80 61 00 34 */ lwz r3, 0x34(r1) -/* 80338854 003357B4 28 03 00 00 */ cmplwi r3, 0 -/* 80338858 003357B8 41 82 00 18 */ beq lbl_80338870 -/* 8033885C 003357BC 81 83 00 00 */ lwz r12, 0(r3) -/* 80338860 003357C0 38 80 00 01 */ li r4, 1 -/* 80338864 003357C4 81 8C 00 08 */ lwz r12, 8(r12) -/* 80338868 003357C8 7D 89 03 A6 */ mtctr r12 -/* 8033886C 003357CC 4E 80 04 21 */ bctrl -lbl_80338870: -/* 80338870 003357D0 80 81 00 54 */ lwz r4, 0x54(r1) -/* 80338874 003357D4 7F 45 D3 78 */ mr r5, r26 -/* 80338878 003357D8 38 61 00 B8 */ addi r3, r1, 0xb8 -/* 8033887C 003357DC 48 00 66 D9 */ bl Get__12CInputStreamFPvUl -/* 80338880 003357E0 38 61 00 B8 */ addi r3, r1, 0xb8 -/* 80338884 003357E4 38 80 FF FF */ li r4, -1 -/* 80338888 003357E8 48 00 6F B9 */ bl __dt__15CZipInputStreamFv -/* 8033888C 003357EC 7F 8C E3 78 */ mr r12, r28 -/* 80338890 003357F0 7F C4 F3 78 */ mr r4, r30 -/* 80338894 003357F4 7F 46 D3 78 */ mr r6, r26 -/* 80338898 003357F8 7F E7 FB 78 */ mr r7, r31 -/* 8033889C 003357FC 38 61 00 28 */ addi r3, r1, 0x28 -/* 803388A0 00335800 38 A1 00 50 */ addi r5, r1, 0x50 -/* 803388A4 00335804 7D 89 03 A6 */ mtctr r12 -/* 803388A8 00335808 4E 80 04 21 */ bctrl -/* 803388AC 0033580C 88 61 00 28 */ lbz r3, 0x28(r1) -/* 803388B0 00335810 38 00 00 00 */ li r0, 0 -/* 803388B4 00335814 98 7D 00 00 */ stb r3, 0(r29) -/* 803388B8 00335818 80 61 00 2C */ lwz r3, 0x2c(r1) -/* 803388BC 0033581C 90 7D 00 04 */ stw r3, 4(r29) -/* 803388C0 00335820 98 01 00 28 */ stb r0, 0x28(r1) -/* 803388C4 00335824 48 00 00 1C */ b lbl_803388E0 -/* 803388C8 00335828 41 82 00 18 */ beq lbl_803388E0 -/* 803388CC 0033582C 81 83 00 00 */ lwz r12, 0(r3) -/* 803388D0 00335830 38 80 00 01 */ li r4, 1 -/* 803388D4 00335834 81 8C 00 08 */ lwz r12, 8(r12) -/* 803388D8 00335838 7D 89 03 A6 */ mtctr r12 -/* 803388DC 0033583C 4E 80 04 21 */ bctrl -lbl_803388E0: -/* 803388E0 00335840 88 01 00 50 */ lbz r0, 0x50(r1) -/* 803388E4 00335844 28 00 00 00 */ cmplwi r0, 0 -/* 803388E8 00335848 41 82 00 0C */ beq lbl_803388F4 -/* 803388EC 0033584C 80 61 00 54 */ lwz r3, 0x54(r1) -/* 803388F0 00335850 4B FD D0 41 */ bl Free__7CMemoryFPCv -lbl_803388F4: -/* 803388F4 00335854 88 01 00 58 */ lbz r0, 0x58(r1) -/* 803388F8 00335858 28 00 00 00 */ cmplwi r0, 0 -/* 803388FC 0033585C 41 82 02 70 */ beq lbl_80338B6C -/* 80338900 00335860 80 61 00 5C */ lwz r3, 0x5c(r1) -/* 80338904 00335864 28 03 00 00 */ cmplwi r3, 0 -/* 80338908 00335868 41 82 02 64 */ beq lbl_80338B6C -/* 8033890C 0033586C 81 83 00 00 */ lwz r12, 0(r3) -/* 80338910 00335870 38 80 00 01 */ li r4, 1 -/* 80338914 00335874 81 8C 00 08 */ lwz r12, 8(r12) -/* 80338918 00335878 7D 89 03 A6 */ mtctr r12 -/* 8033891C 0033587C 4E 80 04 21 */ bctrl -/* 80338920 00335880 48 00 02 4C */ b lbl_80338B6C -lbl_80338924: -/* 80338924 00335884 7C 1A 00 D0 */ neg r0, r26 -/* 80338928 00335888 7F 8C E3 78 */ mr r12, r28 -/* 8033892C 0033588C 7C 00 D3 78 */ or r0, r0, r26 -/* 80338930 00335890 7F C4 F3 78 */ mr r4, r30 -/* 80338934 00335894 54 00 0F FE */ srwi r0, r0, 0x1f -/* 80338938 00335898 7F 66 DB 78 */ mr r6, r27 -/* 8033893C 0033589C 7F E7 FB 78 */ mr r7, r31 -/* 80338940 003358A0 98 01 00 48 */ stb r0, 0x48(r1) -/* 80338944 003358A4 38 61 00 20 */ addi r3, r1, 0x20 -/* 80338948 003358A8 38 A1 00 48 */ addi r5, r1, 0x48 -/* 8033894C 003358AC 93 41 00 4C */ stw r26, 0x4c(r1) -/* 80338950 003358B0 7D 89 03 A6 */ mtctr r12 -/* 80338954 003358B4 4E 80 04 21 */ bctrl -/* 80338958 003358B8 88 61 00 20 */ lbz r3, 0x20(r1) -/* 8033895C 003358BC 38 00 00 00 */ li r0, 0 -/* 80338960 003358C0 98 7D 00 00 */ stb r3, 0(r29) -/* 80338964 003358C4 80 61 00 24 */ lwz r3, 0x24(r1) -/* 80338968 003358C8 90 7D 00 04 */ stw r3, 4(r29) -/* 8033896C 003358CC 98 01 00 20 */ stb r0, 0x20(r1) -/* 80338970 003358D0 48 00 00 1C */ b lbl_8033898C -/* 80338974 003358D4 41 82 00 18 */ beq lbl_8033898C -/* 80338978 003358D8 81 83 00 00 */ lwz r12, 0(r3) -/* 8033897C 003358DC 38 80 00 01 */ li r4, 1 -/* 80338980 003358E0 81 8C 00 08 */ lwz r12, 8(r12) -/* 80338984 003358E4 7D 89 03 A6 */ mtctr r12 -/* 80338988 003358E8 4E 80 04 21 */ bctrl -lbl_8033898C: -/* 8033898C 003358EC 88 01 00 48 */ lbz r0, 0x48(r1) -/* 80338990 003358F0 28 00 00 00 */ cmplwi r0, 0 -/* 80338994 003358F4 41 82 01 D8 */ beq lbl_80338B6C -/* 80338998 003358F8 80 61 00 4C */ lwz r3, 0x4c(r1) -/* 8033899C 003358FC 4B FD CF 95 */ bl Free__7CMemoryFPCv -/* 803389A0 00335900 48 00 01 CC */ b lbl_80338B6C -lbl_803389A4: -/* 803389A4 00335904 80 BE 00 00 */ lwz r5, 0(r30) -/* 803389A8 00335908 38 C0 00 00 */ li r6, 0 -/* 803389AC 0033590C 80 64 00 10 */ lwz r3, 0x10(r4) -/* 803389B0 00335910 48 00 00 20 */ b lbl_803389D0 -lbl_803389B4: -/* 803389B4 00335914 80 03 00 10 */ lwz r0, 0x10(r3) -/* 803389B8 00335918 7C 00 28 00 */ cmpw r0, r5 -/* 803389BC 0033591C 41 80 00 10 */ blt lbl_803389CC -/* 803389C0 00335920 7C 66 1B 78 */ mr r6, r3 -/* 803389C4 00335924 80 63 00 00 */ lwz r3, 0(r3) -/* 803389C8 00335928 48 00 00 08 */ b lbl_803389D0 -lbl_803389CC: -/* 803389CC 0033592C 80 63 00 04 */ lwz r3, 4(r3) -lbl_803389D0: -/* 803389D0 00335930 28 03 00 00 */ cmplwi r3, 0 -/* 803389D4 00335934 40 82 FF E0 */ bne lbl_803389B4 -/* 803389D8 00335938 28 06 00 00 */ cmplwi r6, 0 -/* 803389DC 0033593C 38 60 00 00 */ li r3, 0 -/* 803389E0 00335940 41 82 00 10 */ beq lbl_803389F0 -/* 803389E4 00335944 80 06 00 10 */ lwz r0, 0x10(r6) -/* 803389E8 00335948 7C 05 00 00 */ cmpw r5, r0 -/* 803389EC 0033594C 40 80 00 08 */ bge lbl_803389F4 -lbl_803389F0: -/* 803389F0 00335950 38 60 00 01 */ li r3, 1 -lbl_803389F4: -/* 803389F4 00335954 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 803389F8 00335958 41 82 00 08 */ beq lbl_80338A00 -/* 803389FC 0033595C 38 C0 00 00 */ li r6, 0 -lbl_80338A00: -/* 80338A00 00335960 55 00 06 3F */ clrlwi. r0, r8, 0x18 -/* 80338A04 00335964 83 26 00 14 */ lwz r25, 0x14(r6) -/* 80338A08 00335968 41 82 00 E8 */ beq lbl_80338AF0 -/* 80338A0C 0033596C 3C 80 80 3D */ lis r4, lbl_803D7A20@ha -/* 80338A10 00335970 38 60 00 24 */ li r3, 0x24 -/* 80338A14 00335974 38 84 7A 20 */ addi r4, r4, lbl_803D7A20@l -/* 80338A18 00335978 38 A0 00 00 */ li r5, 0 -/* 80338A1C 0033597C 4B FD CE 51 */ bl __nw__FUlPCcPCc -/* 80338A20 00335980 7C 7C 1B 79 */ or. r28, r3, r3 -/* 80338A24 00335984 41 82 00 18 */ beq lbl_80338A3C -/* 80338A28 00335988 7F 44 D3 78 */ mr r4, r26 -/* 80338A2C 0033598C 7F 65 DB 78 */ mr r5, r27 -/* 80338A30 00335990 38 C0 00 00 */ li r6, 0 -/* 80338A34 00335994 48 00 67 D9 */ bl __ct__15CMemoryInStreamFPvUlQ215CMemoryInStream10EOwnerShip -/* 80338A38 00335998 7C 7C 1B 78 */ mr r28, r3 -lbl_80338A3C: -/* 80338A3C 0033599C 7F 83 E3 78 */ mr r3, r28 -/* 80338A40 003359A0 48 00 62 45 */ bl ReadLong__12CInputStreamFv -/* 80338A44 003359A4 7C 1C 00 D0 */ neg r0, r28 -/* 80338A48 003359A8 93 81 00 1C */ stw r28, 0x1c(r1) -/* 80338A4C 003359AC 7C 00 E3 78 */ or r0, r0, r28 -/* 80338A50 003359B0 38 61 00 84 */ addi r3, r1, 0x84 -/* 80338A54 003359B4 54 00 0F FE */ srwi r0, r0, 0x1f -/* 80338A58 003359B8 38 81 00 18 */ addi r4, r1, 0x18 -/* 80338A5C 003359BC 98 01 00 18 */ stb r0, 0x18(r1) -/* 80338A60 003359C0 48 00 6E A1 */ bl "__ct__15CZipInputStreamFQ24rstl24auto_ptr<12CInputStream>" -/* 80338A64 003359C4 88 01 00 18 */ lbz r0, 0x18(r1) -/* 80338A68 003359C8 28 00 00 00 */ cmplwi r0, 0 -/* 80338A6C 003359CC 41 82 00 24 */ beq lbl_80338A90 -/* 80338A70 003359D0 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 80338A74 003359D4 28 03 00 00 */ cmplwi r3, 0 -/* 80338A78 003359D8 41 82 00 18 */ beq lbl_80338A90 -/* 80338A7C 003359DC 81 83 00 00 */ lwz r12, 0(r3) -/* 80338A80 003359E0 38 80 00 01 */ li r4, 1 -/* 80338A84 003359E4 81 8C 00 08 */ lwz r12, 8(r12) -/* 80338A88 003359E8 7D 89 03 A6 */ mtctr r12 -/* 80338A8C 003359EC 4E 80 04 21 */ bctrl -lbl_80338A90: -/* 80338A90 003359F0 7F 2C CB 78 */ mr r12, r25 -/* 80338A94 003359F4 7F C4 F3 78 */ mr r4, r30 -/* 80338A98 003359F8 7F E6 FB 78 */ mr r6, r31 -/* 80338A9C 003359FC 38 61 00 10 */ addi r3, r1, 0x10 -/* 80338AA0 00335A00 38 A1 00 84 */ addi r5, r1, 0x84 -/* 80338AA4 00335A04 7D 89 03 A6 */ mtctr r12 -/* 80338AA8 00335A08 4E 80 04 21 */ bctrl -/* 80338AAC 00335A0C 88 61 00 10 */ lbz r3, 0x10(r1) -/* 80338AB0 00335A10 38 00 00 00 */ li r0, 0 -/* 80338AB4 00335A14 98 7D 00 00 */ stb r3, 0(r29) -/* 80338AB8 00335A18 80 61 00 14 */ lwz r3, 0x14(r1) -/* 80338ABC 00335A1C 90 7D 00 04 */ stw r3, 4(r29) -/* 80338AC0 00335A20 98 01 00 10 */ stb r0, 0x10(r1) -/* 80338AC4 00335A24 48 00 00 1C */ b lbl_80338AE0 -/* 80338AC8 00335A28 41 82 00 18 */ beq lbl_80338AE0 -/* 80338ACC 00335A2C 81 83 00 00 */ lwz r12, 0(r3) -/* 80338AD0 00335A30 38 80 00 01 */ li r4, 1 -/* 80338AD4 00335A34 81 8C 00 08 */ lwz r12, 8(r12) -/* 80338AD8 00335A38 7D 89 03 A6 */ mtctr r12 -/* 80338ADC 00335A3C 4E 80 04 21 */ bctrl -lbl_80338AE0: -/* 80338AE0 00335A40 38 61 00 84 */ addi r3, r1, 0x84 -/* 80338AE4 00335A44 38 80 FF FF */ li r4, -1 -/* 80338AE8 00335A48 48 00 6D 59 */ bl __dt__15CZipInputStreamFv -/* 80338AEC 00335A4C 48 00 00 80 */ b lbl_80338B6C -lbl_80338AF0: -/* 80338AF0 00335A50 7F 44 D3 78 */ mr r4, r26 -/* 80338AF4 00335A54 7F 65 DB 78 */ mr r5, r27 -/* 80338AF8 00335A58 38 61 00 60 */ addi r3, r1, 0x60 -/* 80338AFC 00335A5C 38 C0 00 00 */ li r6, 0 -/* 80338B00 00335A60 48 00 67 0D */ bl __ct__15CMemoryInStreamFPvUlQ215CMemoryInStream10EOwnerShip -/* 80338B04 00335A64 7F 2C CB 78 */ mr r12, r25 -/* 80338B08 00335A68 7F C4 F3 78 */ mr r4, r30 -/* 80338B0C 00335A6C 7F E6 FB 78 */ mr r6, r31 -/* 80338B10 00335A70 38 61 00 08 */ addi r3, r1, 8 -/* 80338B14 00335A74 38 A1 00 60 */ addi r5, r1, 0x60 -/* 80338B18 00335A78 7D 89 03 A6 */ mtctr r12 -/* 80338B1C 00335A7C 4E 80 04 21 */ bctrl -/* 80338B20 00335A80 88 61 00 08 */ lbz r3, 8(r1) -/* 80338B24 00335A84 38 00 00 00 */ li r0, 0 -/* 80338B28 00335A88 98 7D 00 00 */ stb r3, 0(r29) -/* 80338B2C 00335A8C 80 61 00 0C */ lwz r3, 0xc(r1) -/* 80338B30 00335A90 90 7D 00 04 */ stw r3, 4(r29) -/* 80338B34 00335A94 98 01 00 08 */ stb r0, 8(r1) -/* 80338B38 00335A98 48 00 00 1C */ b lbl_80338B54 -/* 80338B3C 00335A9C 41 82 00 18 */ beq lbl_80338B54 -/* 80338B40 00335AA0 81 83 00 00 */ lwz r12, 0(r3) -/* 80338B44 00335AA4 38 80 00 01 */ li r4, 1 -/* 80338B48 00335AA8 81 8C 00 08 */ lwz r12, 8(r12) -/* 80338B4C 00335AAC 7D 89 03 A6 */ mtctr r12 -/* 80338B50 00335AB0 4E 80 04 21 */ bctrl -lbl_80338B54: -/* 80338B54 00335AB4 3C 80 80 3F */ lis r4, __vt__15CMemoryInStream@ha -/* 80338B58 00335AB8 38 61 00 60 */ addi r3, r1, 0x60 -/* 80338B5C 00335ABC 38 04 E3 98 */ addi r0, r4, __vt__15CMemoryInStream@l -/* 80338B60 00335AC0 38 80 00 00 */ li r4, 0 -/* 80338B64 00335AC4 90 01 00 60 */ stw r0, 0x60(r1) -/* 80338B68 00335AC8 48 00 65 45 */ bl __dt__12CInputStreamFv -lbl_80338B6C: -/* 80338B6C 00335ACC BB 21 00 F4 */ lmw r25, 0xf4(r1) -/* 80338B70 00335AD0 80 01 01 14 */ lwz r0, 0x114(r1) -/* 80338B74 00335AD4 7C 08 03 A6 */ mtlr r0 -/* 80338B78 00335AD8 38 21 01 10 */ addi r1, r1, 0x110 -/* 80338B7C 00335ADC 4E 80 00 20 */ blr - -.global MakeObject__11CFactoryMgrFRC10SObjectTagR12CInputStreamRC15CVParamTransfer -MakeObject__11CFactoryMgrFRC10SObjectTagR12CInputStreamRC15CVParamTransfer: -/* 80338B80 00335AE0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80338B84 00335AE4 7C 08 02 A6 */ mflr r0 -/* 80338B88 00335AE8 39 20 00 00 */ li r9, 0 -/* 80338B8C 00335AEC 90 01 00 24 */ stw r0, 0x24(r1) -/* 80338B90 00335AF0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80338B94 00335AF4 7C 7F 1B 78 */ mr r31, r3 -/* 80338B98 00335AF8 80 84 00 10 */ lwz r4, 0x10(r4) -/* 80338B9C 00335AFC 81 05 00 00 */ lwz r8, 0(r5) -/* 80338BA0 00335B00 48 00 00 20 */ b lbl_80338BC0 -lbl_80338BA4: -/* 80338BA4 00335B04 80 04 00 10 */ lwz r0, 0x10(r4) -/* 80338BA8 00335B08 7C 00 40 00 */ cmpw r0, r8 -/* 80338BAC 00335B0C 41 80 00 10 */ blt lbl_80338BBC -/* 80338BB0 00335B10 7C 89 23 78 */ mr r9, r4 -/* 80338BB4 00335B14 80 84 00 00 */ lwz r4, 0(r4) -/* 80338BB8 00335B18 48 00 00 08 */ b lbl_80338BC0 -lbl_80338BBC: -/* 80338BBC 00335B1C 80 84 00 04 */ lwz r4, 4(r4) -lbl_80338BC0: -/* 80338BC0 00335B20 28 04 00 00 */ cmplwi r4, 0 -/* 80338BC4 00335B24 40 82 FF E0 */ bne lbl_80338BA4 -/* 80338BC8 00335B28 28 09 00 00 */ cmplwi r9, 0 -/* 80338BCC 00335B2C 7C A4 2B 78 */ mr r4, r5 -/* 80338BD0 00335B30 7C C5 33 78 */ mr r5, r6 -/* 80338BD4 00335B34 7C E6 3B 78 */ mr r6, r7 -/* 80338BD8 00335B38 38 61 00 08 */ addi r3, r1, 8 -/* 80338BDC 00335B3C 38 E0 00 00 */ li r7, 0 -/* 80338BE0 00335B40 41 82 00 10 */ beq lbl_80338BF0 -/* 80338BE4 00335B44 80 09 00 10 */ lwz r0, 0x10(r9) -/* 80338BE8 00335B48 7C 08 00 00 */ cmpw r8, r0 -/* 80338BEC 00335B4C 40 80 00 08 */ bge lbl_80338BF4 -lbl_80338BF0: -/* 80338BF0 00335B50 38 E0 00 01 */ li r7, 1 -lbl_80338BF4: -/* 80338BF4 00335B54 54 E0 06 3F */ clrlwi. r0, r7, 0x18 -/* 80338BF8 00335B58 41 82 00 08 */ beq lbl_80338C00 -/* 80338BFC 00335B5C 39 20 00 00 */ li r9, 0 -lbl_80338C00: -/* 80338C00 00335B60 81 89 00 14 */ lwz r12, 0x14(r9) -/* 80338C04 00335B64 7D 89 03 A6 */ mtctr r12 -/* 80338C08 00335B68 4E 80 04 21 */ bctrl -/* 80338C0C 00335B6C 88 61 00 08 */ lbz r3, 8(r1) -/* 80338C10 00335B70 38 00 00 00 */ li r0, 0 -/* 80338C14 00335B74 98 7F 00 00 */ stb r3, 0(r31) -/* 80338C18 00335B78 80 61 00 0C */ lwz r3, 0xc(r1) -/* 80338C1C 00335B7C 90 7F 00 04 */ stw r3, 4(r31) -/* 80338C20 00335B80 98 01 00 08 */ stb r0, 8(r1) -/* 80338C24 00335B84 48 00 00 1C */ b lbl_80338C40 -/* 80338C28 00335B88 41 82 00 18 */ beq lbl_80338C40 -/* 80338C2C 00335B8C 81 83 00 00 */ lwz r12, 0(r3) -/* 80338C30 00335B90 38 80 00 01 */ li r4, 1 -/* 80338C34 00335B94 81 8C 00 08 */ lwz r12, 8(r12) -/* 80338C38 00335B98 7D 89 03 A6 */ mtctr r12 -/* 80338C3C 00335B9C 4E 80 04 21 */ bctrl -lbl_80338C40: -/* 80338C40 00335BA0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80338C44 00335BA4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80338C48 00335BA8 7C 08 03 A6 */ mtlr r0 -/* 80338C4C 00335BAC 38 21 00 20 */ addi r1, r1, 0x20 -/* 80338C50 00335BB0 4E 80 00 20 */ blr - -.global CanMakeMemory__11CFactoryMgrFRC10SObjectTag -CanMakeMemory__11CFactoryMgrFRC10SObjectTag: -/* 80338C54 00335BB4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80338C58 00335BB8 38 C3 00 1C */ addi r6, r3, 0x1c -/* 80338C5C 00335BBC 38 A0 00 00 */ li r5, 0 -/* 80338C60 00335BC0 80 84 00 00 */ lwz r4, 0(r4) -/* 80338C64 00335BC4 80 63 00 24 */ lwz r3, 0x24(r3) -/* 80338C68 00335BC8 48 00 00 20 */ b lbl_80338C88 -lbl_80338C6C: -/* 80338C6C 00335BCC 80 03 00 10 */ lwz r0, 0x10(r3) -/* 80338C70 00335BD0 7C 00 20 00 */ cmpw r0, r4 -/* 80338C74 00335BD4 41 80 00 10 */ blt lbl_80338C84 -/* 80338C78 00335BD8 7C 65 1B 78 */ mr r5, r3 -/* 80338C7C 00335BDC 80 63 00 00 */ lwz r3, 0(r3) -/* 80338C80 00335BE0 48 00 00 08 */ b lbl_80338C88 -lbl_80338C84: -/* 80338C84 00335BE4 80 63 00 04 */ lwz r3, 4(r3) -lbl_80338C88: -/* 80338C88 00335BE8 28 03 00 00 */ cmplwi r3, 0 -/* 80338C8C 00335BEC 40 82 FF E0 */ bne lbl_80338C6C -/* 80338C90 00335BF0 28 05 00 00 */ cmplwi r5, 0 -/* 80338C94 00335BF4 38 60 00 00 */ li r3, 0 -/* 80338C98 00335BF8 41 82 00 10 */ beq lbl_80338CA8 -/* 80338C9C 00335BFC 80 05 00 10 */ lwz r0, 0x10(r5) -/* 80338CA0 00335C00 7C 04 00 00 */ cmpw r4, r0 -/* 80338CA4 00335C04 40 80 00 08 */ bge lbl_80338CAC -lbl_80338CA8: -/* 80338CA8 00335C08 38 60 00 01 */ li r3, 1 -lbl_80338CAC: -/* 80338CAC 00335C0C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80338CB0 00335C10 41 82 00 08 */ beq lbl_80338CB8 -/* 80338CB4 00335C14 38 A0 00 00 */ li r5, 0 -lbl_80338CB8: -/* 80338CB8 00335C18 28 05 00 00 */ cmplwi r5, 0 -/* 80338CBC 00335C1C 90 A1 00 08 */ stw r5, 8(r1) -/* 80338CC0 00335C20 38 60 00 00 */ li r3, 0 -/* 80338CC4 00335C24 90 C1 00 0C */ stw r6, 0xc(r1) -/* 80338CC8 00335C28 40 82 00 0C */ bne lbl_80338CD4 -/* 80338CCC 00335C2C 7C 06 30 40 */ cmplw r6, r6 -/* 80338CD0 00335C30 41 82 00 08 */ beq lbl_80338CD8 -lbl_80338CD4: -/* 80338CD4 00335C34 38 60 00 01 */ li r3, 1 -lbl_80338CD8: -/* 80338CD8 00335C38 38 21 00 10 */ addi r1, r1, 0x10 -/* 80338CDC 00335C3C 4E 80 00 20 */ blr - -.global "AddFactory__11CFactoryMgrFUiPFRC10SObjectTagRCQ24rstl12auto_ptriRC15CVParamTransfer_C16CFactoryFnReturn" -"AddFactory__11CFactoryMgrFUiPFRC10SObjectTagRCQ24rstl12auto_ptriRC15CVParamTransfer_C16CFactoryFnReturn": -/* 80338CE0 00335C40 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80338CE4 00335C44 7C 08 02 A6 */ mflr r0 -/* 80338CE8 00335C48 7C 67 1B 78 */ mr r7, r3 -/* 80338CEC 00335C4C 38 C0 00 00 */ li r6, 0 -/* 80338CF0 00335C50 90 01 00 34 */ stw r0, 0x34(r1) -/* 80338CF4 00335C54 80 63 00 24 */ lwz r3, 0x24(r3) -/* 80338CF8 00335C58 48 00 00 20 */ b lbl_80338D18 -lbl_80338CFC: -/* 80338CFC 00335C5C 80 03 00 10 */ lwz r0, 0x10(r3) -/* 80338D00 00335C60 7C 00 20 00 */ cmpw r0, r4 -/* 80338D04 00335C64 41 80 00 10 */ blt lbl_80338D14 -/* 80338D08 00335C68 7C 66 1B 78 */ mr r6, r3 -/* 80338D0C 00335C6C 80 63 00 00 */ lwz r3, 0(r3) -/* 80338D10 00335C70 48 00 00 08 */ b lbl_80338D18 -lbl_80338D14: -/* 80338D14 00335C74 80 63 00 04 */ lwz r3, 4(r3) -lbl_80338D18: -/* 80338D18 00335C78 28 03 00 00 */ cmplwi r3, 0 -/* 80338D1C 00335C7C 40 82 FF E0 */ bne lbl_80338CFC -/* 80338D20 00335C80 28 06 00 00 */ cmplwi r6, 0 -/* 80338D24 00335C84 38 60 00 00 */ li r3, 0 -/* 80338D28 00335C88 41 82 00 10 */ beq lbl_80338D38 -/* 80338D2C 00335C8C 80 06 00 10 */ lwz r0, 0x10(r6) -/* 80338D30 00335C90 7C 04 00 00 */ cmpw r4, r0 -/* 80338D34 00335C94 40 80 00 08 */ bge lbl_80338D3C -lbl_80338D38: -/* 80338D38 00335C98 38 60 00 01 */ li r3, 1 -lbl_80338D3C: -/* 80338D3C 00335C9C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80338D40 00335CA0 41 82 00 08 */ beq lbl_80338D48 -/* 80338D44 00335CA4 38 C0 00 00 */ li r6, 0 -lbl_80338D48: -/* 80338D48 00335CA8 38 00 00 00 */ li r0, 0 -/* 80338D4C 00335CAC 38 67 00 1C */ addi r3, r7, 0x1c -/* 80338D50 00335CB0 7C 06 00 40 */ cmplw r6, r0 -/* 80338D54 00335CB4 90 01 00 10 */ stw r0, 0x10(r1) -/* 80338D58 00335CB8 90 61 00 14 */ stw r3, 0x14(r1) -/* 80338D5C 00335CBC 40 82 00 0C */ bne lbl_80338D68 -/* 80338D60 00335CC0 7C 03 18 40 */ cmplw r3, r3 -/* 80338D64 00335CC4 41 82 00 08 */ beq lbl_80338D6C -lbl_80338D68: -/* 80338D68 00335CC8 38 00 00 01 */ li r0, 1 -lbl_80338D6C: -/* 80338D6C 00335CCC 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 80338D70 00335CD0 40 82 00 20 */ bne lbl_80338D90 -/* 80338D74 00335CD4 90 81 00 08 */ stw r4, 8(r1) -/* 80338D78 00335CD8 38 61 00 18 */ addi r3, r1, 0x18 -/* 80338D7C 00335CDC 38 87 00 14 */ addi r4, r7, 0x14 -/* 80338D80 00335CE0 38 C1 00 08 */ addi r6, r1, 8 -/* 80338D84 00335CE4 90 A1 00 0C */ stw r5, 0xc(r1) -/* 80338D88 00335CE8 80 A7 00 24 */ lwz r5, 0x24(r7) -/* 80338D8C 00335CEC 48 00 04 E5 */ bl sub_80339270 -lbl_80338D90: -/* 80338D90 00335CF0 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80338D94 00335CF4 7C 08 03 A6 */ mtlr r0 -/* 80338D98 00335CF8 38 21 00 30 */ addi r1, r1, 0x30 -/* 80338D9C 00335CFC 4E 80 00 20 */ blr - -.global AddFactory__11CFactoryMgrFUiPFRC10SObjectTagR12CInputStreamRC15CVParamTransfer_C16CFactoryFnReturn -AddFactory__11CFactoryMgrFUiPFRC10SObjectTagR12CInputStreamRC15CVParamTransfer_C16CFactoryFnReturn: -/* 80338DA0 00335D00 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80338DA4 00335D04 7C 08 02 A6 */ mflr r0 -/* 80338DA8 00335D08 7C 67 1B 78 */ mr r7, r3 -/* 80338DAC 00335D0C 38 C0 00 00 */ li r6, 0 -/* 80338DB0 00335D10 90 01 00 34 */ stw r0, 0x34(r1) -/* 80338DB4 00335D14 80 63 00 10 */ lwz r3, 0x10(r3) -/* 80338DB8 00335D18 48 00 00 20 */ b lbl_80338DD8 -lbl_80338DBC: -/* 80338DBC 00335D1C 80 03 00 10 */ lwz r0, 0x10(r3) -/* 80338DC0 00335D20 7C 00 20 00 */ cmpw r0, r4 -/* 80338DC4 00335D24 41 80 00 10 */ blt lbl_80338DD4 -/* 80338DC8 00335D28 7C 66 1B 78 */ mr r6, r3 -/* 80338DCC 00335D2C 80 63 00 00 */ lwz r3, 0(r3) -/* 80338DD0 00335D30 48 00 00 08 */ b lbl_80338DD8 -lbl_80338DD4: -/* 80338DD4 00335D34 80 63 00 04 */ lwz r3, 4(r3) -lbl_80338DD8: -/* 80338DD8 00335D38 28 03 00 00 */ cmplwi r3, 0 -/* 80338DDC 00335D3C 40 82 FF E0 */ bne lbl_80338DBC -/* 80338DE0 00335D40 28 06 00 00 */ cmplwi r6, 0 -/* 80338DE4 00335D44 38 60 00 00 */ li r3, 0 -/* 80338DE8 00335D48 41 82 00 10 */ beq lbl_80338DF8 -/* 80338DEC 00335D4C 80 06 00 10 */ lwz r0, 0x10(r6) -/* 80338DF0 00335D50 7C 04 00 00 */ cmpw r4, r0 -/* 80338DF4 00335D54 40 80 00 08 */ bge lbl_80338DFC -lbl_80338DF8: -/* 80338DF8 00335D58 38 60 00 01 */ li r3, 1 -lbl_80338DFC: -/* 80338DFC 00335D5C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80338E00 00335D60 41 82 00 08 */ beq lbl_80338E08 -/* 80338E04 00335D64 38 C0 00 00 */ li r6, 0 -lbl_80338E08: -/* 80338E08 00335D68 38 00 00 00 */ li r0, 0 -/* 80338E0C 00335D6C 38 67 00 08 */ addi r3, r7, 8 -/* 80338E10 00335D70 7C 06 00 40 */ cmplw r6, r0 -/* 80338E14 00335D74 90 01 00 10 */ stw r0, 0x10(r1) -/* 80338E18 00335D78 90 61 00 14 */ stw r3, 0x14(r1) -/* 80338E1C 00335D7C 40 82 00 0C */ bne lbl_80338E28 -/* 80338E20 00335D80 7C 03 18 40 */ cmplw r3, r3 -/* 80338E24 00335D84 41 82 00 08 */ beq lbl_80338E2C -lbl_80338E28: -/* 80338E28 00335D88 38 00 00 01 */ li r0, 1 -lbl_80338E2C: -/* 80338E2C 00335D8C 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 80338E30 00335D90 40 82 00 20 */ bne lbl_80338E50 -/* 80338E34 00335D94 90 81 00 08 */ stw r4, 8(r1) -/* 80338E38 00335D98 7C E4 3B 78 */ mr r4, r7 -/* 80338E3C 00335D9C 38 61 00 18 */ addi r3, r1, 0x18 -/* 80338E40 00335DA0 38 C1 00 08 */ addi r6, r1, 8 -/* 80338E44 00335DA4 90 A1 00 0C */ stw r5, 0xc(r1) -/* 80338E48 00335DA8 80 A7 00 10 */ lwz r5, 0x10(r7) -/* 80338E4C 00335DAC 48 00 01 85 */ bl sub_80338fd0 -lbl_80338E50: -/* 80338E50 00335DB0 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80338E54 00335DB4 7C 08 03 A6 */ mtlr r0 -/* 80338E58 00335DB8 38 21 00 30 */ addi r1, r1, 0x30 -/* 80338E5C 00335DBC 4E 80 00 20 */ blr - -.global sub_80338e60 -sub_80338e60: -/* 80338E60 00335DC0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80338E64 00335DC4 7C 08 02 A6 */ mflr r0 -/* 80338E68 00335DC8 90 01 00 14 */ stw r0, 0x14(r1) -/* 80338E6C 00335DCC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80338E70 00335DD0 7C 9F 23 78 */ mr r31, r4 -/* 80338E74 00335DD4 93 C1 00 08 */ stw r30, 8(r1) -/* 80338E78 00335DD8 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80338E7C 00335DDC 41 82 00 80 */ beq lbl_80338EFC -/* 80338E80 00335DE0 34 1E 00 14 */ addic. r0, r30, 0x14 -/* 80338E84 00335DE4 41 82 00 34 */ beq lbl_80338EB8 -/* 80338E88 00335DE8 34 1E 00 14 */ addic. r0, r30, 0x14 -/* 80338E8C 00335DEC 41 82 00 2C */ beq lbl_80338EB8 -/* 80338E90 00335DF0 80 9E 00 24 */ lwz r4, 0x24(r30) -/* 80338E94 00335DF4 28 04 00 00 */ cmplwi r4, 0 -/* 80338E98 00335DF8 41 82 00 0C */ beq lbl_80338EA4 -/* 80338E9C 00335DFC 38 7E 00 14 */ addi r3, r30, 0x14 -/* 80338EA0 00335E00 48 00 03 69 */ bl sub_80339208 -lbl_80338EA4: -/* 80338EA4 00335E04 38 00 00 00 */ li r0, 0 -/* 80338EA8 00335E08 90 1E 00 24 */ stw r0, 0x24(r30) -/* 80338EAC 00335E0C 90 1E 00 1C */ stw r0, 0x1c(r30) -/* 80338EB0 00335E10 90 1E 00 20 */ stw r0, 0x20(r30) -/* 80338EB4 00335E14 90 1E 00 18 */ stw r0, 0x18(r30) -lbl_80338EB8: -/* 80338EB8 00335E18 28 1E 00 00 */ cmplwi r30, 0 -/* 80338EBC 00335E1C 41 82 00 30 */ beq lbl_80338EEC -/* 80338EC0 00335E20 41 82 00 2C */ beq lbl_80338EEC -/* 80338EC4 00335E24 80 9E 00 10 */ lwz r4, 0x10(r30) -/* 80338EC8 00335E28 28 04 00 00 */ cmplwi r4, 0 -/* 80338ECC 00335E2C 41 82 00 0C */ beq lbl_80338ED8 -/* 80338ED0 00335E30 7F C3 F3 78 */ mr r3, r30 -/* 80338ED4 00335E34 48 00 00 95 */ bl sub_80338f68 -lbl_80338ED8: -/* 80338ED8 00335E38 38 00 00 00 */ li r0, 0 -/* 80338EDC 00335E3C 90 1E 00 10 */ stw r0, 0x10(r30) -/* 80338EE0 00335E40 90 1E 00 08 */ stw r0, 8(r30) -/* 80338EE4 00335E44 90 1E 00 0C */ stw r0, 0xc(r30) -/* 80338EE8 00335E48 90 1E 00 04 */ stw r0, 4(r30) -lbl_80338EEC: -/* 80338EEC 00335E4C 7F E0 07 35 */ extsh. r0, r31 -/* 80338EF0 00335E50 40 81 00 0C */ ble lbl_80338EFC -/* 80338EF4 00335E54 7F C3 F3 78 */ mr r3, r30 -/* 80338EF8 00335E58 4B FD CA 39 */ bl Free__7CMemoryFPCv -lbl_80338EFC: -/* 80338EFC 00335E5C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80338F00 00335E60 7F C3 F3 78 */ mr r3, r30 -/* 80338F04 00335E64 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80338F08 00335E68 83 C1 00 08 */ lwz r30, 8(r1) -/* 80338F0C 00335E6C 7C 08 03 A6 */ mtlr r0 -/* 80338F10 00335E70 38 21 00 10 */ addi r1, r1, 0x10 -/* 80338F14 00335E74 4E 80 00 20 */ blr - -.global __ct__11CFactoryMgrFv -__ct__11CFactoryMgrFv: -/* 80338F18 00335E78 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80338F1C 00335E7C 38 A0 00 00 */ li r5, 0 -/* 80338F20 00335E80 88 81 00 0C */ lbz r4, 0xc(r1) -/* 80338F24 00335E84 88 01 00 14 */ lbz r0, 0x14(r1) -/* 80338F28 00335E88 98 83 00 00 */ stb r4, 0(r3) -/* 80338F2C 00335E8C 88 81 00 08 */ lbz r4, 8(r1) -/* 80338F30 00335E90 98 03 00 01 */ stb r0, 1(r3) -/* 80338F34 00335E94 88 01 00 10 */ lbz r0, 0x10(r1) -/* 80338F38 00335E98 90 A3 00 04 */ stw r5, 4(r3) -/* 80338F3C 00335E9C 90 A3 00 08 */ stw r5, 8(r3) -/* 80338F40 00335EA0 90 A3 00 0C */ stw r5, 0xc(r3) -/* 80338F44 00335EA4 90 A3 00 10 */ stw r5, 0x10(r3) -/* 80338F48 00335EA8 98 83 00 14 */ stb r4, 0x14(r3) -/* 80338F4C 00335EAC 98 03 00 15 */ stb r0, 0x15(r3) -/* 80338F50 00335EB0 90 A3 00 18 */ stw r5, 0x18(r3) -/* 80338F54 00335EB4 90 A3 00 1C */ stw r5, 0x1c(r3) -/* 80338F58 00335EB8 90 A3 00 20 */ stw r5, 0x20(r3) -/* 80338F5C 00335EBC 90 A3 00 24 */ stw r5, 0x24(r3) -/* 80338F60 00335EC0 38 21 00 20 */ addi r1, r1, 0x20 -/* 80338F64 00335EC4 4E 80 00 20 */ blr - -.global sub_80338f68 -sub_80338f68: -/* 80338F68 00335EC8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80338F6C 00335ECC 7C 08 02 A6 */ mflr r0 -/* 80338F70 00335ED0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80338F74 00335ED4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80338F78 00335ED8 7C 9F 23 78 */ mr r31, r4 -/* 80338F7C 00335EDC 93 C1 00 08 */ stw r30, 8(r1) -/* 80338F80 00335EE0 7C 7E 1B 78 */ mr r30, r3 -/* 80338F84 00335EE4 80 84 00 00 */ lwz r4, 0(r4) -/* 80338F88 00335EE8 28 04 00 00 */ cmplwi r4, 0 -/* 80338F8C 00335EEC 41 82 00 08 */ beq lbl_80338F94 -/* 80338F90 00335EF0 4B FF FF D9 */ bl sub_80338f68 -lbl_80338F94: -/* 80338F94 00335EF4 80 9F 00 04 */ lwz r4, 4(r31) -/* 80338F98 00335EF8 28 04 00 00 */ cmplwi r4, 0 -/* 80338F9C 00335EFC 41 82 00 0C */ beq lbl_80338FA8 -/* 80338FA0 00335F00 7F C3 F3 78 */ mr r3, r30 -/* 80338FA4 00335F04 4B FF FF C5 */ bl sub_80338f68 -lbl_80338FA8: -/* 80338FA8 00335F08 28 1F 00 00 */ cmplwi r31, 0 -/* 80338FAC 00335F0C 41 82 00 0C */ beq lbl_80338FB8 -/* 80338FB0 00335F10 7F E3 FB 78 */ mr r3, r31 -/* 80338FB4 00335F14 4B FD C9 7D */ bl Free__7CMemoryFPCv -lbl_80338FB8: -/* 80338FB8 00335F18 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80338FBC 00335F1C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80338FC0 00335F20 83 C1 00 08 */ lwz r30, 8(r1) -/* 80338FC4 00335F24 7C 08 03 A6 */ mtlr r0 -/* 80338FC8 00335F28 38 21 00 10 */ addi r1, r1, 0x10 -/* 80338FCC 00335F2C 4E 80 00 20 */ blr - -.global sub_80338fd0 -sub_80338fd0: -/* 80338FD0 00335F30 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80338FD4 00335F34 7C 08 02 A6 */ mflr r0 -/* 80338FD8 00335F38 28 05 00 00 */ cmplwi r5, 0 -/* 80338FDC 00335F3C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80338FE0 00335F40 BF 61 00 0C */ stmw r27, 0xc(r1) -/* 80338FE4 00335F44 7C 7C 1B 78 */ mr r28, r3 -/* 80338FE8 00335F48 7C 9D 23 78 */ mr r29, r4 -/* 80338FEC 00335F4C 7C DE 33 78 */ mr r30, r6 -/* 80338FF0 00335F50 40 82 00 88 */ bne lbl_80339078 -/* 80338FF4 00335F54 3C 80 80 3D */ lis r4, lbl_803D7A20@ha -/* 80338FF8 00335F58 38 60 00 18 */ li r3, 0x18 -/* 80338FFC 00335F5C 38 84 7A 20 */ addi r4, r4, lbl_803D7A20@l -/* 80339000 00335F60 38 A0 00 00 */ li r5, 0 -/* 80339004 00335F64 4B FD C8 15 */ bl __nwa__FUlPCcPCc -/* 80339008 00335F68 28 03 00 00 */ cmplwi r3, 0 -/* 8033900C 00335F6C 41 82 00 30 */ beq lbl_8033903C -/* 80339010 00335F70 38 00 00 00 */ li r0, 0 -/* 80339014 00335F74 34 83 00 10 */ addic. r4, r3, 0x10 -/* 80339018 00335F78 90 03 00 00 */ stw r0, 0(r3) -/* 8033901C 00335F7C 90 03 00 04 */ stw r0, 4(r3) -/* 80339020 00335F80 90 03 00 08 */ stw r0, 8(r3) -/* 80339024 00335F84 90 03 00 0C */ stw r0, 0xc(r3) -/* 80339028 00335F88 41 82 00 14 */ beq lbl_8033903C -/* 8033902C 00335F8C 80 1E 00 00 */ lwz r0, 0(r30) -/* 80339030 00335F90 90 04 00 00 */ stw r0, 0(r4) -/* 80339034 00335F94 80 1E 00 04 */ lwz r0, 4(r30) -/* 80339038 00335F98 90 04 00 04 */ stw r0, 4(r4) -lbl_8033903C: -/* 8033903C 00335F9C 90 7D 00 10 */ stw r3, 0x10(r29) -/* 80339040 00335FA0 38 1D 00 08 */ addi r0, r29, 8 -/* 80339044 00335FA4 80 7D 00 04 */ lwz r3, 4(r29) -/* 80339048 00335FA8 38 63 00 01 */ addi r3, r3, 1 -/* 8033904C 00335FAC 90 7D 00 04 */ stw r3, 4(r29) -/* 80339050 00335FB0 80 7D 00 10 */ lwz r3, 0x10(r29) -/* 80339054 00335FB4 90 7D 00 08 */ stw r3, 8(r29) -/* 80339058 00335FB8 80 7D 00 10 */ lwz r3, 0x10(r29) -/* 8033905C 00335FBC 90 7D 00 0C */ stw r3, 0xc(r29) -/* 80339060 00335FC0 80 7D 00 10 */ lwz r3, 0x10(r29) -/* 80339064 00335FC4 90 7C 00 00 */ stw r3, 0(r28) -/* 80339068 00335FC8 90 1C 00 04 */ stw r0, 4(r28) -/* 8033906C 00335FCC 88 0D 9D 43 */ lbz r0, lbl_805A8903@sda21(r13) -/* 80339070 00335FD0 98 1C 00 08 */ stb r0, 8(r28) -/* 80339074 00335FD4 48 00 01 80 */ b lbl_803391F4 -lbl_80339078: -/* 80339078 00335FD8 7C BF 2B 78 */ mr r31, r5 -/* 8033907C 00335FDC 3B 60 00 00 */ li r27, 0 -/* 80339080 00335FE0 48 00 01 40 */ b lbl_803391C0 -lbl_80339084: -/* 80339084 00335FE4 80 9E 00 00 */ lwz r4, 0(r30) -/* 80339088 00335FE8 80 BF 00 10 */ lwz r5, 0x10(r31) -/* 8033908C 00335FEC 7C A0 22 78 */ xor r0, r5, r4 -/* 80339090 00335FF0 7C 03 0E 70 */ srawi r3, r0, 1 -/* 80339094 00335FF4 7C 00 28 38 */ and r0, r0, r5 -/* 80339098 00335FF8 7C 00 18 50 */ subf r0, r0, r3 -/* 8033909C 00335FFC 54 00 0F FF */ rlwinm. r0, r0, 1, 0x1f, 0x1f -/* 803390A0 00336000 40 82 00 24 */ bne lbl_803390C4 -/* 803390A4 00336004 7C 05 20 00 */ cmpw r5, r4 -/* 803390A8 00336008 41 80 00 1C */ blt lbl_803390C4 -/* 803390AC 0033600C 93 FC 00 00 */ stw r31, 0(r28) -/* 803390B0 00336010 38 1D 00 08 */ addi r0, r29, 8 -/* 803390B4 00336014 90 1C 00 04 */ stw r0, 4(r28) -/* 803390B8 00336018 88 0D 9D 44 */ lbz r0, lbl_805A8904@sda21(r13) -/* 803390BC 0033601C 98 1C 00 08 */ stb r0, 8(r28) -/* 803390C0 00336020 48 00 01 34 */ b lbl_803391F4 -lbl_803390C4: -/* 803390C4 00336024 28 00 00 00 */ cmplwi r0, 0 -/* 803390C8 00336028 41 82 00 80 */ beq lbl_80339148 -/* 803390CC 0033602C 80 1F 00 00 */ lwz r0, 0(r31) -/* 803390D0 00336030 28 00 00 00 */ cmplwi r0, 0 -/* 803390D4 00336034 40 82 00 6C */ bne lbl_80339140 -/* 803390D8 00336038 3C 80 80 3D */ lis r4, lbl_803D7A20@ha -/* 803390DC 0033603C 38 60 00 18 */ li r3, 0x18 -/* 803390E0 00336040 38 84 7A 20 */ addi r4, r4, lbl_803D7A20@l -/* 803390E4 00336044 38 A0 00 00 */ li r5, 0 -/* 803390E8 00336048 4B FD C7 31 */ bl __nwa__FUlPCcPCc -/* 803390EC 0033604C 28 03 00 00 */ cmplwi r3, 0 -/* 803390F0 00336050 41 82 00 34 */ beq lbl_80339124 -/* 803390F4 00336054 38 80 00 00 */ li r4, 0 -/* 803390F8 00336058 34 A3 00 10 */ addic. r5, r3, 0x10 -/* 803390FC 0033605C 90 83 00 00 */ stw r4, 0(r3) -/* 80339100 00336060 38 00 00 01 */ li r0, 1 -/* 80339104 00336064 90 83 00 04 */ stw r4, 4(r3) -/* 80339108 00336068 93 E3 00 08 */ stw r31, 8(r3) -/* 8033910C 0033606C 90 03 00 0C */ stw r0, 0xc(r3) -/* 80339110 00336070 41 82 00 14 */ beq lbl_80339124 -/* 80339114 00336074 80 1E 00 00 */ lwz r0, 0(r30) -/* 80339118 00336078 90 05 00 00 */ stw r0, 0(r5) -/* 8033911C 0033607C 80 1E 00 04 */ lwz r0, 4(r30) -/* 80339120 00336080 90 05 00 04 */ stw r0, 4(r5) -lbl_80339124: -/* 80339124 00336084 90 7F 00 00 */ stw r3, 0(r31) -/* 80339128 00336088 7C 7B 1B 78 */ mr r27, r3 -/* 8033912C 0033608C 80 1D 00 08 */ lwz r0, 8(r29) -/* 80339130 00336090 7C 1F 00 40 */ cmplw r31, r0 -/* 80339134 00336094 40 82 00 8C */ bne lbl_803391C0 -/* 80339138 00336098 90 7D 00 08 */ stw r3, 8(r29) -/* 8033913C 0033609C 48 00 00 84 */ b lbl_803391C0 -lbl_80339140: -/* 80339140 003360A0 7C 1F 03 78 */ mr r31, r0 -/* 80339144 003360A4 48 00 00 7C */ b lbl_803391C0 -lbl_80339148: -/* 80339148 003360A8 80 1F 00 04 */ lwz r0, 4(r31) -/* 8033914C 003360AC 28 00 00 00 */ cmplwi r0, 0 -/* 80339150 003360B0 40 82 00 6C */ bne lbl_803391BC -/* 80339154 003360B4 3C 80 80 3D */ lis r4, lbl_803D7A20@ha -/* 80339158 003360B8 38 60 00 18 */ li r3, 0x18 -/* 8033915C 003360BC 38 84 7A 20 */ addi r4, r4, lbl_803D7A20@l -/* 80339160 003360C0 38 A0 00 00 */ li r5, 0 -/* 80339164 003360C4 4B FD C6 B5 */ bl __nwa__FUlPCcPCc -/* 80339168 003360C8 28 03 00 00 */ cmplwi r3, 0 -/* 8033916C 003360CC 41 82 00 34 */ beq lbl_803391A0 -/* 80339170 003360D0 38 80 00 00 */ li r4, 0 -/* 80339174 003360D4 34 A3 00 10 */ addic. r5, r3, 0x10 -/* 80339178 003360D8 90 83 00 00 */ stw r4, 0(r3) -/* 8033917C 003360DC 38 00 00 01 */ li r0, 1 -/* 80339180 003360E0 90 83 00 04 */ stw r4, 4(r3) -/* 80339184 003360E4 93 E3 00 08 */ stw r31, 8(r3) -/* 80339188 003360E8 90 03 00 0C */ stw r0, 0xc(r3) -/* 8033918C 003360EC 41 82 00 14 */ beq lbl_803391A0 -/* 80339190 003360F0 80 1E 00 00 */ lwz r0, 0(r30) -/* 80339194 003360F4 90 05 00 00 */ stw r0, 0(r5) -/* 80339198 003360F8 80 1E 00 04 */ lwz r0, 4(r30) -/* 8033919C 003360FC 90 05 00 04 */ stw r0, 4(r5) -lbl_803391A0: -/* 803391A0 00336100 90 7F 00 04 */ stw r3, 4(r31) -/* 803391A4 00336104 7C 7B 1B 78 */ mr r27, r3 -/* 803391A8 00336108 80 1D 00 0C */ lwz r0, 0xc(r29) -/* 803391AC 0033610C 7C 1F 00 40 */ cmplw r31, r0 -/* 803391B0 00336110 40 82 00 10 */ bne lbl_803391C0 -/* 803391B4 00336114 90 7D 00 0C */ stw r3, 0xc(r29) -/* 803391B8 00336118 48 00 00 08 */ b lbl_803391C0 -lbl_803391BC: -/* 803391BC 0033611C 7C 1F 03 78 */ mr r31, r0 -lbl_803391C0: -/* 803391C0 00336120 28 1B 00 00 */ cmplwi r27, 0 -/* 803391C4 00336124 41 82 FE C0 */ beq lbl_80339084 -/* 803391C8 00336128 80 BD 00 04 */ lwz r5, 4(r29) -/* 803391CC 0033612C 7F 64 DB 78 */ mr r4, r27 -/* 803391D0 00336130 38 7D 00 08 */ addi r3, r29, 8 -/* 803391D4 00336134 38 05 00 01 */ addi r0, r5, 1 -/* 803391D8 00336138 90 1D 00 04 */ stw r0, 4(r29) -/* 803391DC 0033613C 48 00 38 BD */ bl rbtree_rebalance__4rstlFPvPv -/* 803391E0 00336140 93 7C 00 00 */ stw r27, 0(r28) -/* 803391E4 00336144 38 1D 00 08 */ addi r0, r29, 8 -/* 803391E8 00336148 90 1C 00 04 */ stw r0, 4(r28) -/* 803391EC 0033614C 88 0D 9D 45 */ lbz r0, lbl_805A8905@sda21(r13) -/* 803391F0 00336150 98 1C 00 08 */ stb r0, 8(r28) -lbl_803391F4: -/* 803391F4 00336154 BB 61 00 0C */ lmw r27, 0xc(r1) -/* 803391F8 00336158 80 01 00 24 */ lwz r0, 0x24(r1) -/* 803391FC 0033615C 7C 08 03 A6 */ mtlr r0 -/* 80339200 00336160 38 21 00 20 */ addi r1, r1, 0x20 -/* 80339204 00336164 4E 80 00 20 */ blr - -.global sub_80339208 -sub_80339208: -/* 80339208 00336168 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8033920C 0033616C 7C 08 02 A6 */ mflr r0 -/* 80339210 00336170 90 01 00 14 */ stw r0, 0x14(r1) -/* 80339214 00336174 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80339218 00336178 7C 9F 23 78 */ mr r31, r4 -/* 8033921C 0033617C 93 C1 00 08 */ stw r30, 8(r1) -/* 80339220 00336180 7C 7E 1B 78 */ mr r30, r3 -/* 80339224 00336184 80 84 00 00 */ lwz r4, 0(r4) -/* 80339228 00336188 28 04 00 00 */ cmplwi r4, 0 -/* 8033922C 0033618C 41 82 00 08 */ beq lbl_80339234 -/* 80339230 00336190 4B FF FF D9 */ bl sub_80339208 -lbl_80339234: -/* 80339234 00336194 80 9F 00 04 */ lwz r4, 4(r31) -/* 80339238 00336198 28 04 00 00 */ cmplwi r4, 0 -/* 8033923C 0033619C 41 82 00 0C */ beq lbl_80339248 -/* 80339240 003361A0 7F C3 F3 78 */ mr r3, r30 -/* 80339244 003361A4 4B FF FF C5 */ bl sub_80339208 -lbl_80339248: -/* 80339248 003361A8 28 1F 00 00 */ cmplwi r31, 0 -/* 8033924C 003361AC 41 82 00 0C */ beq lbl_80339258 -/* 80339250 003361B0 7F E3 FB 78 */ mr r3, r31 -/* 80339254 003361B4 4B FD C6 DD */ bl Free__7CMemoryFPCv -lbl_80339258: -/* 80339258 003361B8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8033925C 003361BC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80339260 003361C0 83 C1 00 08 */ lwz r30, 8(r1) -/* 80339264 003361C4 7C 08 03 A6 */ mtlr r0 -/* 80339268 003361C8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8033926C 003361CC 4E 80 00 20 */ blr - -.global sub_80339270 -sub_80339270: -/* 80339270 003361D0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80339274 003361D4 7C 08 02 A6 */ mflr r0 -/* 80339278 003361D8 28 05 00 00 */ cmplwi r5, 0 -/* 8033927C 003361DC 90 01 00 24 */ stw r0, 0x24(r1) -/* 80339280 003361E0 BF 61 00 0C */ stmw r27, 0xc(r1) -/* 80339284 003361E4 7C 7C 1B 78 */ mr r28, r3 -/* 80339288 003361E8 7C 9D 23 78 */ mr r29, r4 -/* 8033928C 003361EC 7C DE 33 78 */ mr r30, r6 -/* 80339290 003361F0 40 82 00 88 */ bne lbl_80339318 -/* 80339294 003361F4 3C 80 80 3D */ lis r4, lbl_803D7A20@ha -/* 80339298 003361F8 38 60 00 18 */ li r3, 0x18 -/* 8033929C 003361FC 38 84 7A 20 */ addi r4, r4, lbl_803D7A20@l -/* 803392A0 00336200 38 A0 00 00 */ li r5, 0 -/* 803392A4 00336204 4B FD C5 75 */ bl __nwa__FUlPCcPCc -/* 803392A8 00336208 28 03 00 00 */ cmplwi r3, 0 -/* 803392AC 0033620C 41 82 00 30 */ beq lbl_803392DC -/* 803392B0 00336210 38 00 00 00 */ li r0, 0 -/* 803392B4 00336214 34 83 00 10 */ addic. r4, r3, 0x10 -/* 803392B8 00336218 90 03 00 00 */ stw r0, 0(r3) -/* 803392BC 0033621C 90 03 00 04 */ stw r0, 4(r3) -/* 803392C0 00336220 90 03 00 08 */ stw r0, 8(r3) -/* 803392C4 00336224 90 03 00 0C */ stw r0, 0xc(r3) -/* 803392C8 00336228 41 82 00 14 */ beq lbl_803392DC -/* 803392CC 0033622C 80 1E 00 00 */ lwz r0, 0(r30) -/* 803392D0 00336230 90 04 00 00 */ stw r0, 0(r4) -/* 803392D4 00336234 80 1E 00 04 */ lwz r0, 4(r30) -/* 803392D8 00336238 90 04 00 04 */ stw r0, 4(r4) -lbl_803392DC: -/* 803392DC 0033623C 90 7D 00 10 */ stw r3, 0x10(r29) -/* 803392E0 00336240 38 1D 00 08 */ addi r0, r29, 8 -/* 803392E4 00336244 80 7D 00 04 */ lwz r3, 4(r29) -/* 803392E8 00336248 38 63 00 01 */ addi r3, r3, 1 -/* 803392EC 0033624C 90 7D 00 04 */ stw r3, 4(r29) -/* 803392F0 00336250 80 7D 00 10 */ lwz r3, 0x10(r29) -/* 803392F4 00336254 90 7D 00 08 */ stw r3, 8(r29) -/* 803392F8 00336258 80 7D 00 10 */ lwz r3, 0x10(r29) -/* 803392FC 0033625C 90 7D 00 0C */ stw r3, 0xc(r29) -/* 80339300 00336260 80 7D 00 10 */ lwz r3, 0x10(r29) -/* 80339304 00336264 90 7C 00 00 */ stw r3, 0(r28) -/* 80339308 00336268 90 1C 00 04 */ stw r0, 4(r28) -/* 8033930C 0033626C 88 0D 9D 40 */ lbz r0, lbl_805A8900@sda21(r13) -/* 80339310 00336270 98 1C 00 08 */ stb r0, 8(r28) -/* 80339314 00336274 48 00 01 80 */ b lbl_80339494 -lbl_80339318: -/* 80339318 00336278 7C BF 2B 78 */ mr r31, r5 -/* 8033931C 0033627C 3B 60 00 00 */ li r27, 0 -/* 80339320 00336280 48 00 01 40 */ b lbl_80339460 -lbl_80339324: -/* 80339324 00336284 80 9E 00 00 */ lwz r4, 0(r30) -/* 80339328 00336288 80 BF 00 10 */ lwz r5, 0x10(r31) -/* 8033932C 0033628C 7C A0 22 78 */ xor r0, r5, r4 -/* 80339330 00336290 7C 03 0E 70 */ srawi r3, r0, 1 -/* 80339334 00336294 7C 00 28 38 */ and r0, r0, r5 -/* 80339338 00336298 7C 00 18 50 */ subf r0, r0, r3 -/* 8033933C 0033629C 54 00 0F FF */ rlwinm. r0, r0, 1, 0x1f, 0x1f -/* 80339340 003362A0 40 82 00 24 */ bne lbl_80339364 -/* 80339344 003362A4 7C 05 20 00 */ cmpw r5, r4 -/* 80339348 003362A8 41 80 00 1C */ blt lbl_80339364 -/* 8033934C 003362AC 93 FC 00 00 */ stw r31, 0(r28) -/* 80339350 003362B0 38 1D 00 08 */ addi r0, r29, 8 -/* 80339354 003362B4 90 1C 00 04 */ stw r0, 4(r28) -/* 80339358 003362B8 88 0D 9D 41 */ lbz r0, lbl_805A8901@sda21(r13) -/* 8033935C 003362BC 98 1C 00 08 */ stb r0, 8(r28) -/* 80339360 003362C0 48 00 01 34 */ b lbl_80339494 -lbl_80339364: -/* 80339364 003362C4 28 00 00 00 */ cmplwi r0, 0 -/* 80339368 003362C8 41 82 00 80 */ beq lbl_803393E8 -/* 8033936C 003362CC 80 1F 00 00 */ lwz r0, 0(r31) -/* 80339370 003362D0 28 00 00 00 */ cmplwi r0, 0 -/* 80339374 003362D4 40 82 00 6C */ bne lbl_803393E0 -/* 80339378 003362D8 3C 80 80 3D */ lis r4, lbl_803D7A20@ha -/* 8033937C 003362DC 38 60 00 18 */ li r3, 0x18 -/* 80339380 003362E0 38 84 7A 20 */ addi r4, r4, lbl_803D7A20@l -/* 80339384 003362E4 38 A0 00 00 */ li r5, 0 -/* 80339388 003362E8 4B FD C4 91 */ bl __nwa__FUlPCcPCc -/* 8033938C 003362EC 28 03 00 00 */ cmplwi r3, 0 -/* 80339390 003362F0 41 82 00 34 */ beq lbl_803393C4 -/* 80339394 003362F4 38 80 00 00 */ li r4, 0 -/* 80339398 003362F8 34 A3 00 10 */ addic. r5, r3, 0x10 -/* 8033939C 003362FC 90 83 00 00 */ stw r4, 0(r3) -/* 803393A0 00336300 38 00 00 01 */ li r0, 1 -/* 803393A4 00336304 90 83 00 04 */ stw r4, 4(r3) -/* 803393A8 00336308 93 E3 00 08 */ stw r31, 8(r3) -/* 803393AC 0033630C 90 03 00 0C */ stw r0, 0xc(r3) -/* 803393B0 00336310 41 82 00 14 */ beq lbl_803393C4 -/* 803393B4 00336314 80 1E 00 00 */ lwz r0, 0(r30) -/* 803393B8 00336318 90 05 00 00 */ stw r0, 0(r5) -/* 803393BC 0033631C 80 1E 00 04 */ lwz r0, 4(r30) -/* 803393C0 00336320 90 05 00 04 */ stw r0, 4(r5) -lbl_803393C4: -/* 803393C4 00336324 90 7F 00 00 */ stw r3, 0(r31) -/* 803393C8 00336328 7C 7B 1B 78 */ mr r27, r3 -/* 803393CC 0033632C 80 1D 00 08 */ lwz r0, 8(r29) -/* 803393D0 00336330 7C 1F 00 40 */ cmplw r31, r0 -/* 803393D4 00336334 40 82 00 8C */ bne lbl_80339460 -/* 803393D8 00336338 90 7D 00 08 */ stw r3, 8(r29) -/* 803393DC 0033633C 48 00 00 84 */ b lbl_80339460 -lbl_803393E0: -/* 803393E0 00336340 7C 1F 03 78 */ mr r31, r0 -/* 803393E4 00336344 48 00 00 7C */ b lbl_80339460 -lbl_803393E8: -/* 803393E8 00336348 80 1F 00 04 */ lwz r0, 4(r31) -/* 803393EC 0033634C 28 00 00 00 */ cmplwi r0, 0 -/* 803393F0 00336350 40 82 00 6C */ bne lbl_8033945C -/* 803393F4 00336354 3C 80 80 3D */ lis r4, lbl_803D7A20@ha -/* 803393F8 00336358 38 60 00 18 */ li r3, 0x18 -/* 803393FC 0033635C 38 84 7A 20 */ addi r4, r4, lbl_803D7A20@l -/* 80339400 00336360 38 A0 00 00 */ li r5, 0 -/* 80339404 00336364 4B FD C4 15 */ bl __nwa__FUlPCcPCc -/* 80339408 00336368 28 03 00 00 */ cmplwi r3, 0 -/* 8033940C 0033636C 41 82 00 34 */ beq lbl_80339440 -/* 80339410 00336370 38 80 00 00 */ li r4, 0 -/* 80339414 00336374 34 A3 00 10 */ addic. r5, r3, 0x10 -/* 80339418 00336378 90 83 00 00 */ stw r4, 0(r3) -/* 8033941C 0033637C 38 00 00 01 */ li r0, 1 -/* 80339420 00336380 90 83 00 04 */ stw r4, 4(r3) -/* 80339424 00336384 93 E3 00 08 */ stw r31, 8(r3) -/* 80339428 00336388 90 03 00 0C */ stw r0, 0xc(r3) -/* 8033942C 0033638C 41 82 00 14 */ beq lbl_80339440 -/* 80339430 00336390 80 1E 00 00 */ lwz r0, 0(r30) -/* 80339434 00336394 90 05 00 00 */ stw r0, 0(r5) -/* 80339438 00336398 80 1E 00 04 */ lwz r0, 4(r30) -/* 8033943C 0033639C 90 05 00 04 */ stw r0, 4(r5) -lbl_80339440: -/* 80339440 003363A0 90 7F 00 04 */ stw r3, 4(r31) -/* 80339444 003363A4 7C 7B 1B 78 */ mr r27, r3 -/* 80339448 003363A8 80 1D 00 0C */ lwz r0, 0xc(r29) -/* 8033944C 003363AC 7C 1F 00 40 */ cmplw r31, r0 -/* 80339450 003363B0 40 82 00 10 */ bne lbl_80339460 -/* 80339454 003363B4 90 7D 00 0C */ stw r3, 0xc(r29) -/* 80339458 003363B8 48 00 00 08 */ b lbl_80339460 -lbl_8033945C: -/* 8033945C 003363BC 7C 1F 03 78 */ mr r31, r0 -lbl_80339460: -/* 80339460 003363C0 28 1B 00 00 */ cmplwi r27, 0 -/* 80339464 003363C4 41 82 FE C0 */ beq lbl_80339324 -/* 80339468 003363C8 80 BD 00 04 */ lwz r5, 4(r29) -/* 8033946C 003363CC 7F 64 DB 78 */ mr r4, r27 -/* 80339470 003363D0 38 7D 00 08 */ addi r3, r29, 8 -/* 80339474 003363D4 38 05 00 01 */ addi r0, r5, 1 -/* 80339478 003363D8 90 1D 00 04 */ stw r0, 4(r29) -/* 8033947C 003363DC 48 00 36 1D */ bl rbtree_rebalance__4rstlFPvPv -/* 80339480 003363E0 93 7C 00 00 */ stw r27, 0(r28) -/* 80339484 003363E4 38 1D 00 08 */ addi r0, r29, 8 -/* 80339488 003363E8 90 1C 00 04 */ stw r0, 4(r28) -/* 8033948C 003363EC 88 0D 9D 42 */ lbz r0, lbl_805A8902@sda21(r13) -/* 80339490 003363F0 98 1C 00 08 */ stb r0, 8(r28) -lbl_80339494: -/* 80339494 003363F4 BB 61 00 0C */ lmw r27, 0xc(r1) -/* 80339498 003363F8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8033949C 003363FC 7C 08 03 A6 */ mtlr r0 -/* 803394A0 00336400 38 21 00 20 */ addi r1, r1, 0x20 -/* 803394A4 00336404 4E 80 00 20 */ blr - -.global sub_803394a8 -sub_803394a8: -/* 803394A8 00336408 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 803394AC 0033640C 7C 08 02 A6 */ mflr r0 -/* 803394B0 00336410 90 01 00 74 */ stw r0, 0x74(r1) -/* 803394B4 00336414 BE C1 00 48 */ stmw r22, 0x48(r1) -/* 803394B8 00336418 7C 7E 1B 78 */ mr r30, r3 -/* 803394BC 0033641C 7C 9F 23 78 */ mr r31, r4 -/* 803394C0 00336420 48 04 BE E9 */ bl OSGetTime -/* 803394C4 00336424 82 FE 00 28 */ lwz r23, 0x28(r30) -/* 803394C8 00336428 7C 9B 23 78 */ mr r27, r4 -/* 803394CC 0033642C 83 1E 00 18 */ lwz r24, 0x18(r30) -/* 803394D0 00336430 7C 7C 1B 78 */ mr r28, r3 -/* 803394D4 00336434 28 17 00 00 */ cmplwi r23, 0 -/* 803394D8 00336438 83 58 00 00 */ lwz r26, 0(r24) -/* 803394DC 0033643C 40 82 01 68 */ bne lbl_80339644 -/* 803394E0 00336440 3C 80 80 3D */ lis r4, lbl_803D7A28@ha -/* 803394E4 00336444 38 60 00 38 */ li r3, 0x38 -/* 803394E8 00336448 38 84 7A 28 */ addi r4, r4, lbl_803D7A28@l -/* 803394EC 0033644C 38 A0 00 00 */ li r5, 0 -/* 803394F0 00336450 4B FD C3 7D */ bl __nw__FUlPCcPCc -/* 803394F4 00336454 3C 80 80 34 */ lis r4, Alloc__11CZipSupportFPvUiUi@ha -/* 803394F8 00336458 3C A0 80 34 */ lis r5, Free__11CZipSupportFPvPv@ha -/* 803394FC 0033645C 38 04 FA 18 */ addi r0, r4, Alloc__11CZipSupportFPvUiUi@l -/* 80339500 00336460 7C 77 1B 78 */ mr r23, r3 -/* 80339504 00336464 90 03 00 20 */ stw r0, 0x20(r3) -/* 80339508 00336468 38 A5 F9 EC */ addi r5, r5, Free__11CZipSupportFPvPv@l -/* 8033950C 0033646C 3C 80 80 3D */ lis r4, lbl_803D7A28@ha -/* 80339510 00336470 38 00 00 00 */ li r0, 0 -/* 80339514 00336474 90 A3 00 24 */ stw r5, 0x24(r3) -/* 80339518 00336478 38 84 7A 28 */ addi r4, r4, lbl_803D7A28@l -/* 8033951C 0033647C 38 84 00 07 */ addi r4, r4, 7 -/* 80339520 00336480 38 A0 00 38 */ li r5, 0x38 -/* 80339524 00336484 90 03 00 28 */ stw r0, 0x28(r3) -/* 80339528 00336488 48 00 A4 39 */ bl inflateInit2_ -/* 8033952C 0033648C 38 A0 00 00 */ li r5, 0 -/* 80339530 00336490 7C 17 00 D0 */ neg r0, r23 -/* 80339534 00336494 90 B7 00 08 */ stw r5, 8(r23) -/* 80339538 00336498 7C 04 BB 78 */ or r4, r0, r23 -/* 8033953C 0033649C 38 61 00 34 */ addi r3, r1, 0x34 -/* 80339540 003364A0 38 1E 00 24 */ addi r0, r30, 0x24 -/* 80339544 003364A4 90 B7 00 14 */ stw r5, 0x14(r23) -/* 80339548 003364A8 7C 03 00 40 */ cmplw r3, r0 -/* 8033954C 003364AC 54 80 0F FE */ srwi r0, r4, 0x1f -/* 80339550 003364B0 90 B7 00 04 */ stw r5, 4(r23) -/* 80339554 003364B4 90 B7 00 10 */ stw r5, 0x10(r23) -/* 80339558 003364B8 90 B7 00 00 */ stw r5, 0(r23) -/* 8033955C 003364BC 90 B7 00 0C */ stw r5, 0xc(r23) -/* 80339560 003364C0 98 01 00 34 */ stb r0, 0x34(r1) -/* 80339564 003364C4 92 E1 00 38 */ stw r23, 0x38(r1) -/* 80339568 003364C8 41 82 00 30 */ beq lbl_80339598 -/* 8033956C 003364CC 88 1E 00 24 */ lbz r0, 0x24(r30) -/* 80339570 003364D0 28 00 00 00 */ cmplwi r0, 0 -/* 80339574 003364D4 41 82 00 0C */ beq lbl_80339580 -/* 80339578 003364D8 80 7E 00 28 */ lwz r3, 0x28(r30) -/* 8033957C 003364DC 4B FD C3 B5 */ bl Free__7CMemoryFPCv -lbl_80339580: -/* 80339580 003364E0 88 61 00 34 */ lbz r3, 0x34(r1) -/* 80339584 003364E4 38 00 00 00 */ li r0, 0 -/* 80339588 003364E8 98 7E 00 24 */ stb r3, 0x24(r30) -/* 8033958C 003364EC 80 61 00 38 */ lwz r3, 0x38(r1) -/* 80339590 003364F0 90 7E 00 28 */ stw r3, 0x28(r30) -/* 80339594 003364F4 98 01 00 34 */ stb r0, 0x34(r1) -lbl_80339598: -/* 80339598 003364F8 88 01 00 34 */ lbz r0, 0x34(r1) -/* 8033959C 003364FC 28 00 00 00 */ cmplwi r0, 0 -/* 803395A0 00336500 41 82 00 0C */ beq lbl_803395AC -/* 803395A4 00336504 80 61 00 38 */ lwz r3, 0x38(r1) -/* 803395A8 00336508 4B FD C3 89 */ bl Free__7CMemoryFPCv -lbl_803395AC: -/* 803395AC 0033650C 3C 60 80 3D */ lis r3, lbl_803D7A28@ha -/* 803395B0 00336510 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha -/* 803395B4 00336514 38 A3 7A 28 */ addi r5, r3, lbl_803D7A28@l -/* 803395B8 00336518 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l -/* 803395BC 0033651C 38 61 00 2C */ addi r3, r1, 0x2c -/* 803395C0 00336520 38 80 FF FF */ li r4, -1 -/* 803395C4 00336524 4B F9 CE 11 */ bl __ct__10CCallStackFUiPCcPCc -/* 803395C8 00336528 7C 67 1B 78 */ mr r7, r3 -/* 803395CC 0033652C 7F 43 D3 78 */ mr r3, r26 -/* 803395D0 00336530 38 80 00 02 */ li r4, 2 -/* 803395D4 00336534 38 A0 00 01 */ li r5, 1 -/* 803395D8 00336538 38 C0 00 00 */ li r6, 0 -/* 803395DC 0033653C 4B FD C3 B9 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack -/* 803395E0 00336540 7C 03 00 D0 */ neg r0, r3 -/* 803395E4 00336544 38 81 00 24 */ addi r4, r1, 0x24 -/* 803395E8 00336548 7C 05 1B 78 */ or r5, r0, r3 -/* 803395EC 0033654C 38 1E 00 1C */ addi r0, r30, 0x1c -/* 803395F0 00336550 54 A5 0F FE */ srwi r5, r5, 0x1f -/* 803395F4 00336554 90 61 00 28 */ stw r3, 0x28(r1) -/* 803395F8 00336558 7C 04 00 40 */ cmplw r4, r0 -/* 803395FC 0033655C 98 A1 00 24 */ stb r5, 0x24(r1) -/* 80339600 00336560 41 82 00 30 */ beq lbl_80339630 -/* 80339604 00336564 88 1E 00 1C */ lbz r0, 0x1c(r30) -/* 80339608 00336568 28 00 00 00 */ cmplwi r0, 0 -/* 8033960C 0033656C 41 82 00 0C */ beq lbl_80339618 -/* 80339610 00336570 80 7E 00 20 */ lwz r3, 0x20(r30) -/* 80339614 00336574 4B FD C3 1D */ bl Free__7CMemoryFPCv -lbl_80339618: -/* 80339618 00336578 88 61 00 24 */ lbz r3, 0x24(r1) -/* 8033961C 0033657C 38 00 00 00 */ li r0, 0 -/* 80339620 00336580 98 7E 00 1C */ stb r3, 0x1c(r30) -/* 80339624 00336584 80 61 00 28 */ lwz r3, 0x28(r1) -/* 80339628 00336588 90 7E 00 20 */ stw r3, 0x20(r30) -/* 8033962C 0033658C 98 01 00 24 */ stb r0, 0x24(r1) -lbl_80339630: -/* 80339630 00336590 88 01 00 24 */ lbz r0, 0x24(r1) -/* 80339634 00336594 28 00 00 00 */ cmplwi r0, 0 -/* 80339638 00336598 41 82 00 0C */ beq lbl_80339644 -/* 8033963C 0033659C 80 61 00 28 */ lwz r3, 0x28(r1) -/* 80339640 003365A0 4B FD C2 F1 */ bl Free__7CMemoryFPCv -lbl_80339644: -/* 80339644 003365A4 80 9E 00 2C */ lwz r4, 0x2c(r30) -/* 80339648 003365A8 3C 60 80 5A */ lis r3, mData__10CStopwatch@ha -/* 8033964C 003365AC 3A D8 00 04 */ addi r22, r24, 4 -/* 80339650 003365B0 3B 00 00 00 */ li r24, 0 -/* 80339654 003365B4 3B 24 FF FC */ addi r25, r4, -4 -/* 80339658 003365B8 3B A3 FD 30 */ addi r29, r3, mData__10CStopwatch@l -/* 8033965C 003365BC 48 00 00 74 */ b lbl_803396D0 -lbl_80339660: -/* 80339660 003365C0 80 17 00 04 */ lwz r0, 4(r23) -/* 80339664 003365C4 28 00 00 00 */ cmplwi r0, 0 -/* 80339668 003365C8 40 82 00 5C */ bne lbl_803396C4 -/* 8033966C 003365CC 80 97 00 08 */ lwz r4, 8(r23) -/* 80339670 003365D0 38 62 CB A0 */ addi r3, r2, lbl_805AE8C0@sda21 -/* 80339674 003365D4 80 02 CB A0 */ lwz r0, lbl_805AE8C0@sda21(r2) -/* 80339678 003365D8 7C 84 C8 50 */ subf r4, r4, r25 -/* 8033967C 003365DC 7C 04 00 00 */ cmpw r4, r0 -/* 80339680 003365E0 90 81 00 08 */ stw r4, 8(r1) -/* 80339684 003365E4 40 80 00 08 */ bge lbl_8033968C -/* 80339688 003365E8 38 61 00 08 */ addi r3, r1, 8 -lbl_8033968C: -/* 8033968C 003365EC 80 63 00 00 */ lwz r3, 0(r3) -/* 80339690 003365F0 2C 03 00 00 */ cmpwi r3, 0 -/* 80339694 003365F4 41 82 00 84 */ beq lbl_80339718 -/* 80339698 003365F8 80 17 00 08 */ lwz r0, 8(r23) -/* 8033969C 003365FC 7C 16 02 14 */ add r0, r22, r0 -/* 803396A0 00336600 90 17 00 00 */ stw r0, 0(r23) -/* 803396A4 00336604 90 77 00 04 */ stw r3, 4(r23) -/* 803396A8 00336608 80 7E 00 20 */ lwz r3, 0x20(r30) -/* 803396AC 0033660C 80 17 00 14 */ lwz r0, 0x14(r23) -/* 803396B0 00336610 7C 03 02 14 */ add r0, r3, r0 -/* 803396B4 00336614 90 17 00 0C */ stw r0, 0xc(r23) -/* 803396B8 00336618 80 17 00 14 */ lwz r0, 0x14(r23) -/* 803396BC 0033661C 7C 00 D0 50 */ subf r0, r0, r26 -/* 803396C0 00336620 90 17 00 10 */ stw r0, 0x10(r23) -lbl_803396C4: -/* 803396C4 00336624 7E E3 BB 78 */ mr r3, r23 -/* 803396C8 00336628 38 80 00 00 */ li r4, 0 -/* 803396CC 0033662C 48 00 9C 91 */ bl inflate -lbl_803396D0: -/* 803396D0 00336630 28 1F 00 00 */ cmplwi r31, 0 -/* 803396D4 00336634 41 82 00 38 */ beq lbl_8033970C -/* 803396D8 00336638 48 04 BC D1 */ bl OSGetTime -/* 803396DC 0033663C 7C 9B 20 10 */ subfc r4, r27, r4 -/* 803396E0 00336640 80 BD 00 08 */ lwz r5, 8(r29) -/* 803396E4 00336644 80 DD 00 0C */ lwz r6, 0xc(r29) -/* 803396E8 00336648 7C 7C 19 10 */ subfe r3, r28, r3 -/* 803396EC 0033664C 48 05 04 E1 */ bl __div2i -/* 803396F0 00336650 6C 65 80 00 */ xoris r5, r3, 0x8000 -/* 803396F4 00336654 6F 03 80 00 */ xoris r3, r24, 0x8000 -/* 803396F8 00336658 7C 1F 20 10 */ subfc r0, r31, r4 -/* 803396FC 0033665C 7C 63 29 10 */ subfe r3, r3, r5 -/* 80339700 00336660 7C 65 29 10 */ subfe r3, r5, r5 -/* 80339704 00336664 7C 63 00 D1 */ neg. r3, r3 -/* 80339708 00336668 41 82 00 10 */ beq lbl_80339718 -lbl_8033970C: -/* 8033970C 0033666C 80 17 00 14 */ lwz r0, 0x14(r23) -/* 80339710 00336670 7C 1A 00 40 */ cmplw r26, r0 -/* 80339714 00336674 40 82 FF 4C */ bne lbl_80339660 -lbl_80339718: -/* 80339718 00336678 80 17 00 14 */ lwz r0, 0x14(r23) -/* 8033971C 0033667C 7C 1A 00 40 */ cmplw r26, r0 -/* 80339720 00336680 40 82 01 48 */ bne lbl_80339868 -/* 80339724 00336684 7E E3 BB 78 */ mr r3, r23 -/* 80339728 00336688 48 00 A4 19 */ bl inflateEnd -/* 8033972C 0033668C 38 61 00 1C */ addi r3, r1, 0x1c -/* 80339730 00336690 38 1E 00 24 */ addi r0, r30, 0x24 -/* 80339734 00336694 38 80 00 00 */ li r4, 0 -/* 80339738 00336698 7C 03 00 40 */ cmplw r3, r0 -/* 8033973C 0033669C 98 81 00 1C */ stb r4, 0x1c(r1) -/* 80339740 003366A0 90 81 00 20 */ stw r4, 0x20(r1) -/* 80339744 003366A4 41 82 00 30 */ beq lbl_80339774 -/* 80339748 003366A8 88 1E 00 24 */ lbz r0, 0x24(r30) -/* 8033974C 003366AC 28 00 00 00 */ cmplwi r0, 0 -/* 80339750 003366B0 41 82 00 0C */ beq lbl_8033975C -/* 80339754 003366B4 80 7E 00 28 */ lwz r3, 0x28(r30) -/* 80339758 003366B8 4B FD C1 D9 */ bl Free__7CMemoryFPCv -lbl_8033975C: -/* 8033975C 003366BC 88 61 00 1C */ lbz r3, 0x1c(r1) -/* 80339760 003366C0 38 00 00 00 */ li r0, 0 -/* 80339764 003366C4 98 7E 00 24 */ stb r3, 0x24(r30) -/* 80339768 003366C8 80 61 00 20 */ lwz r3, 0x20(r1) -/* 8033976C 003366CC 90 7E 00 28 */ stw r3, 0x28(r30) -/* 80339770 003366D0 98 01 00 1C */ stb r0, 0x1c(r1) -lbl_80339774: -/* 80339774 003366D4 88 01 00 1C */ lbz r0, 0x1c(r1) -/* 80339778 003366D8 28 00 00 00 */ cmplwi r0, 0 -/* 8033977C 003366DC 41 82 00 0C */ beq lbl_80339788 -/* 80339780 003366E0 80 61 00 20 */ lwz r3, 0x20(r1) -/* 80339784 003366E4 4B FD C1 AD */ bl Free__7CMemoryFPCv -lbl_80339788: -/* 80339788 003366E8 38 00 00 00 */ li r0, 0 -/* 8033978C 003366EC 38 61 00 14 */ addi r3, r1, 0x14 -/* 80339790 003366F0 98 1E 00 1C */ stb r0, 0x1c(r30) -/* 80339794 003366F4 38 1E 00 14 */ addi r0, r30, 0x14 -/* 80339798 003366F8 7C 03 00 40 */ cmplw r3, r0 -/* 8033979C 003366FC 80 7E 00 20 */ lwz r3, 0x20(r30) -/* 803397A0 00336700 7C 03 00 D0 */ neg r0, r3 -/* 803397A4 00336704 90 61 00 18 */ stw r3, 0x18(r1) -/* 803397A8 00336708 7C 00 1B 78 */ or r0, r0, r3 -/* 803397AC 0033670C 54 00 0F FE */ srwi r0, r0, 0x1f -/* 803397B0 00336710 98 01 00 14 */ stb r0, 0x14(r1) -/* 803397B4 00336714 41 82 00 30 */ beq lbl_803397E4 -/* 803397B8 00336718 88 1E 00 14 */ lbz r0, 0x14(r30) -/* 803397BC 0033671C 28 00 00 00 */ cmplwi r0, 0 -/* 803397C0 00336720 41 82 00 0C */ beq lbl_803397CC -/* 803397C4 00336724 80 7E 00 18 */ lwz r3, 0x18(r30) -/* 803397C8 00336728 4B FD C1 69 */ bl Free__7CMemoryFPCv -lbl_803397CC: -/* 803397CC 0033672C 88 61 00 14 */ lbz r3, 0x14(r1) -/* 803397D0 00336730 38 00 00 00 */ li r0, 0 -/* 803397D4 00336734 98 7E 00 14 */ stb r3, 0x14(r30) -/* 803397D8 00336738 80 61 00 18 */ lwz r3, 0x18(r1) -/* 803397DC 0033673C 90 7E 00 18 */ stw r3, 0x18(r30) -/* 803397E0 00336740 98 01 00 14 */ stb r0, 0x14(r1) -lbl_803397E4: -/* 803397E4 00336744 88 01 00 14 */ lbz r0, 0x14(r1) -/* 803397E8 00336748 28 00 00 00 */ cmplwi r0, 0 -/* 803397EC 0033674C 41 82 00 0C */ beq lbl_803397F8 -/* 803397F0 00336750 80 61 00 18 */ lwz r3, 0x18(r1) -/* 803397F4 00336754 4B FD C1 3D */ bl Free__7CMemoryFPCv -lbl_803397F8: -/* 803397F8 00336758 38 61 00 0C */ addi r3, r1, 0xc -/* 803397FC 0033675C 38 1E 00 1C */ addi r0, r30, 0x1c -/* 80339800 00336760 38 80 00 00 */ li r4, 0 -/* 80339804 00336764 7C 03 00 40 */ cmplw r3, r0 -/* 80339808 00336768 98 81 00 0C */ stb r4, 0xc(r1) -/* 8033980C 0033676C 90 81 00 10 */ stw r4, 0x10(r1) -/* 80339810 00336770 41 82 00 30 */ beq lbl_80339840 -/* 80339814 00336774 88 1E 00 1C */ lbz r0, 0x1c(r30) -/* 80339818 00336778 28 00 00 00 */ cmplwi r0, 0 -/* 8033981C 0033677C 41 82 00 0C */ beq lbl_80339828 -/* 80339820 00336780 80 7E 00 20 */ lwz r3, 0x20(r30) -/* 80339824 00336784 4B FD C1 0D */ bl Free__7CMemoryFPCv -lbl_80339828: -/* 80339828 00336788 88 61 00 0C */ lbz r3, 0xc(r1) -/* 8033982C 0033678C 38 00 00 00 */ li r0, 0 -/* 80339830 00336790 98 7E 00 1C */ stb r3, 0x1c(r30) -/* 80339834 00336794 80 61 00 10 */ lwz r3, 0x10(r1) -/* 80339838 00336798 90 7E 00 20 */ stw r3, 0x20(r30) -/* 8033983C 0033679C 98 01 00 0C */ stb r0, 0xc(r1) -lbl_80339840: -/* 80339840 003367A0 88 01 00 0C */ lbz r0, 0xc(r1) -/* 80339844 003367A4 28 00 00 00 */ cmplwi r0, 0 -/* 80339848 003367A8 41 82 00 0C */ beq lbl_80339854 -/* 8033984C 003367AC 80 61 00 10 */ lwz r3, 0x10(r1) -/* 80339850 003367B0 4B FD C0 E1 */ bl Free__7CMemoryFPCv -lbl_80339854: -/* 80339854 003367B4 38 00 00 00 */ li r0, 0 -/* 80339858 003367B8 38 60 00 01 */ li r3, 1 -/* 8033985C 003367BC 90 1E 00 30 */ stw r0, 0x30(r30) -/* 80339860 003367C0 93 5E 00 2C */ stw r26, 0x2c(r30) -/* 80339864 003367C4 48 00 00 08 */ b lbl_8033986C -lbl_80339868: -/* 80339868 003367C8 38 60 00 00 */ li r3, 0 -lbl_8033986C: -/* 8033986C 003367CC BA C1 00 48 */ lmw r22, 0x48(r1) -/* 80339870 003367D0 80 01 00 74 */ lwz r0, 0x74(r1) -/* 80339874 003367D4 7C 08 03 A6 */ mtlr r0 -/* 80339878 003367D8 38 21 00 70 */ addi r1, r1, 0x70 -/* 8033987C 003367DC 4E 80 00 20 */ blr - -.global sub_80339880 -sub_80339880: -/* 80339880 003367E0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80339884 003367E4 7C 08 02 A6 */ mflr r0 -/* 80339888 003367E8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8033988C 003367EC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80339890 003367F0 7C 9F 23 78 */ mr r31, r4 -/* 80339894 003367F4 93 C1 00 08 */ stw r30, 8(r1) -/* 80339898 003367F8 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8033989C 003367FC 41 82 00 C8 */ beq lbl_80339964 -/* 803398A0 00336800 88 1E 00 24 */ lbz r0, 0x24(r30) -/* 803398A4 00336804 28 00 00 00 */ cmplwi r0, 0 -/* 803398A8 00336808 41 82 00 0C */ beq lbl_803398B4 -/* 803398AC 0033680C 80 7E 00 28 */ lwz r3, 0x28(r30) -/* 803398B0 00336810 48 00 A2 91 */ bl inflateEnd -lbl_803398B4: -/* 803398B4 00336814 34 1E 00 34 */ addic. r0, r30, 0x34 -/* 803398B8 00336818 41 82 00 14 */ beq lbl_803398CC -/* 803398BC 0033681C 34 1E 00 34 */ addic. r0, r30, 0x34 -/* 803398C0 00336820 41 82 00 0C */ beq lbl_803398CC -/* 803398C4 00336824 38 7E 00 34 */ addi r3, r30, 0x34 -/* 803398C8 00336828 4B CF AA 3D */ bl sub_80034304 -lbl_803398CC: -/* 803398CC 0033682C 34 1E 00 24 */ addic. r0, r30, 0x24 -/* 803398D0 00336830 41 82 00 18 */ beq lbl_803398E8 -/* 803398D4 00336834 88 1E 00 24 */ lbz r0, 0x24(r30) -/* 803398D8 00336838 28 00 00 00 */ cmplwi r0, 0 -/* 803398DC 0033683C 41 82 00 0C */ beq lbl_803398E8 -/* 803398E0 00336840 80 7E 00 28 */ lwz r3, 0x28(r30) -/* 803398E4 00336844 4B FD C0 4D */ bl Free__7CMemoryFPCv -lbl_803398E8: -/* 803398E8 00336848 34 1E 00 1C */ addic. r0, r30, 0x1c -/* 803398EC 0033684C 41 82 00 18 */ beq lbl_80339904 -/* 803398F0 00336850 88 1E 00 1C */ lbz r0, 0x1c(r30) -/* 803398F4 00336854 28 00 00 00 */ cmplwi r0, 0 -/* 803398F8 00336858 41 82 00 0C */ beq lbl_80339904 -/* 803398FC 0033685C 80 7E 00 20 */ lwz r3, 0x20(r30) -/* 80339900 00336860 4B FD C0 31 */ bl Free__7CMemoryFPCv -lbl_80339904: -/* 80339904 00336864 34 1E 00 14 */ addic. r0, r30, 0x14 -/* 80339908 00336868 41 82 00 18 */ beq lbl_80339920 -/* 8033990C 0033686C 88 1E 00 14 */ lbz r0, 0x14(r30) -/* 80339910 00336870 28 00 00 00 */ cmplwi r0, 0 -/* 80339914 00336874 41 82 00 0C */ beq lbl_80339920 -/* 80339918 00336878 80 7E 00 18 */ lwz r3, 0x18(r30) -/* 8033991C 0033687C 4B FD C0 15 */ bl Free__7CMemoryFPCv -lbl_80339920: -/* 80339920 00336880 34 1E 00 08 */ addic. r0, r30, 8 -/* 80339924 00336884 41 82 00 30 */ beq lbl_80339954 -/* 80339928 00336888 88 1E 00 08 */ lbz r0, 8(r30) -/* 8033992C 0033688C 28 00 00 00 */ cmplwi r0, 0 -/* 80339930 00336890 41 82 00 24 */ beq lbl_80339954 -/* 80339934 00336894 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 80339938 00336898 28 03 00 00 */ cmplwi r3, 0 -/* 8033993C 0033689C 41 82 00 18 */ beq lbl_80339954 -/* 80339940 003368A0 81 83 00 00 */ lwz r12, 0(r3) -/* 80339944 003368A4 38 80 00 01 */ li r4, 1 -/* 80339948 003368A8 81 8C 00 08 */ lwz r12, 8(r12) -/* 8033994C 003368AC 7D 89 03 A6 */ mtctr r12 -/* 80339950 003368B0 4E 80 04 21 */ bctrl -lbl_80339954: -/* 80339954 003368B4 7F E0 07 35 */ extsh. r0, r31 -/* 80339958 003368B8 40 81 00 0C */ ble lbl_80339964 -/* 8033995C 003368BC 7F C3 F3 78 */ mr r3, r30 -/* 80339960 003368C0 4B FD BF D1 */ bl Free__7CMemoryFPCv -lbl_80339964: -/* 80339964 003368C4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80339968 003368C8 7F C3 F3 78 */ mr r3, r30 -/* 8033996C 003368CC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80339970 003368D0 83 C1 00 08 */ lwz r30, 8(r1) -/* 80339974 003368D4 7C 08 03 A6 */ mtlr r0 -/* 80339978 003368D8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8033997C 003368DC 4E 80 00 20 */ blr - -.global sub_80339980 -sub_80339980: -/* 80339980 003368E0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80339984 003368E4 7D 65 00 D0 */ neg r11, r5 -/* 80339988 003368E8 7C 07 00 D0 */ neg r0, r7 -/* 8033998C 003368EC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80339990 003368F0 81 84 00 00 */ lwz r12, 0(r4) -/* 80339994 003368F4 91 83 00 00 */ stw r12, 0(r3) -/* 80339998 003368F8 7D 6C 2B 78 */ or r12, r11, r5 -/* 8033999C 003368FC 7C 0B 3B 78 */ or r11, r0, r7 -/* 803399A0 00336900 38 00 00 00 */ li r0, 0 -/* 803399A4 00336904 83 E4 00 04 */ lwz r31, 4(r4) -/* 803399A8 00336908 55 8C 0F FE */ srwi r12, r12, 0x1f -/* 803399AC 0033690C 55 64 0F FE */ srwi r4, r11, 0x1f -/* 803399B0 00336910 93 E3 00 04 */ stw r31, 4(r3) -/* 803399B4 00336914 99 83 00 08 */ stb r12, 8(r3) -/* 803399B8 00336918 90 A3 00 0C */ stw r5, 0xc(r3) -/* 803399BC 0033691C 90 C3 00 10 */ stw r6, 0x10(r3) -/* 803399C0 00336920 98 83 00 14 */ stb r4, 0x14(r3) -/* 803399C4 00336924 90 E3 00 18 */ stw r7, 0x18(r3) -/* 803399C8 00336928 98 03 00 1C */ stb r0, 0x1c(r3) -/* 803399CC 0033692C 90 03 00 20 */ stw r0, 0x20(r3) -/* 803399D0 00336930 98 03 00 24 */ stb r0, 0x24(r3) -/* 803399D4 00336934 90 03 00 28 */ stw r0, 0x28(r3) -/* 803399D8 00336938 91 03 00 2C */ stw r8, 0x2c(r3) -/* 803399DC 0033693C 91 23 00 30 */ stw r9, 0x30(r3) -/* 803399E0 00336940 80 0A 00 00 */ lwz r0, 0(r10) -/* 803399E4 00336944 90 03 00 34 */ stw r0, 0x34(r3) -/* 803399E8 00336948 80 A3 00 34 */ lwz r5, 0x34(r3) -/* 803399EC 0033694C 80 85 00 04 */ lwz r4, 4(r5) -/* 803399F0 00336950 38 04 00 01 */ addi r0, r4, 1 -/* 803399F4 00336954 90 05 00 04 */ stw r0, 4(r5) -/* 803399F8 00336958 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 803399FC 0033695C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80339A00 00336960 4E 80 00 20 */ blr - -.global PumpResource__11CResFactoryFR12SLoadingData -PumpResource__11CResFactoryFR12SLoadingData: -/* 80339A04 00336964 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 80339A08 00336968 7C 08 02 A6 */ mflr r0 -/* 80339A0C 0033696C 90 01 00 64 */ stw r0, 0x64(r1) -/* 80339A10 00336970 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 80339A14 00336974 7C BF 2B 78 */ mr r31, r5 -/* 80339A18 00336978 93 C1 00 58 */ stw r30, 0x58(r1) -/* 80339A1C 0033697C 7C 9E 23 78 */ mr r30, r4 -/* 80339A20 00336980 93 A1 00 54 */ stw r29, 0x54(r1) -/* 80339A24 00336984 7C 7D 1B 78 */ mr r29, r3 -/* 80339A28 00336988 80 64 00 00 */ lwz r3, 0(r4) -/* 80339A2C 0033698C 80 63 00 14 */ lwz r3, 0x14(r3) -/* 80339A30 00336990 81 83 00 00 */ lwz r12, 0(r3) -/* 80339A34 00336994 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80339A38 00336998 7D 89 03 A6 */ mtctr r12 -/* 80339A3C 0033699C 4E 80 04 21 */ bctrl -/* 80339A40 003369A0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80339A44 003369A4 41 82 00 D4 */ beq lbl_80339B18 -/* 80339A48 003369A8 80 7E 00 00 */ lwz r3, 0(r30) -/* 80339A4C 003369AC 38 63 00 08 */ addi r3, r3, 8 -/* 80339A50 003369B0 80 03 00 30 */ lwz r0, 0x30(r3) -/* 80339A54 003369B4 2C 00 00 01 */ cmpwi r0, 1 -/* 80339A58 003369B8 40 82 00 1C */ bne lbl_80339A74 -/* 80339A5C 003369BC 7F E4 FB 78 */ mr r4, r31 -/* 80339A60 003369C0 4B FF FA 49 */ bl sub_803394a8 -/* 80339A64 003369C4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80339A68 003369C8 40 82 00 0C */ bne lbl_80339A74 -/* 80339A6C 003369CC 38 60 00 00 */ li r3, 0 -/* 80339A70 003369D0 48 00 00 AC */ b lbl_80339B1C -lbl_80339A74: -/* 80339A74 003369D4 80 9E 00 00 */ lwz r4, 0(r30) -/* 80339A78 003369D8 38 61 00 10 */ addi r3, r1, 0x10 -/* 80339A7C 003369DC 38 84 00 08 */ addi r4, r4, 8 -/* 80339A80 003369E0 48 00 00 B9 */ bl sub_80339b38 -/* 80339A84 003369E4 7F A3 EB 78 */ mr r3, r29 -/* 80339A88 003369E8 7F C4 F3 78 */ mr r4, r30 -/* 80339A8C 003369EC 48 00 08 15 */ bl sub_8033a2a0 -/* 80339A90 003369F0 80 81 00 40 */ lwz r4, 0x40(r1) -/* 80339A94 003369F4 38 00 00 00 */ li r0, 0 -/* 80339A98 003369F8 98 01 00 24 */ stb r0, 0x24(r1) -/* 80339A9C 003369FC 38 61 00 08 */ addi r3, r1, 8 -/* 80339AA0 00336A00 7C 04 00 D0 */ neg r0, r4 -/* 80339AA4 00336A04 80 C1 00 28 */ lwz r6, 0x28(r1) -/* 80339AA8 00336A08 7C 00 23 78 */ or r0, r0, r4 -/* 80339AAC 00336A0C 80 E1 00 3C */ lwz r7, 0x3c(r1) -/* 80339AB0 00336A10 38 9D 00 5C */ addi r4, r29, 0x5c -/* 80339AB4 00336A14 38 A1 00 10 */ addi r5, r1, 0x10 -/* 80339AB8 00336A18 54 08 0F FE */ srwi r8, r0, 0x1f -/* 80339ABC 00336A1C 39 21 00 44 */ addi r9, r1, 0x44 -/* 80339AC0 00336A20 4B FF EC 2D */ bl MakeObjectFromMemory__11CFactoryMgrFRC10SObjectTagPvibRC15CVParamTransfer -/* 80339AC4 00336A24 38 00 00 00 */ li r0, 0 -/* 80339AC8 00336A28 80 81 00 0C */ lwz r4, 0xc(r1) -/* 80339ACC 00336A2C 98 01 00 08 */ stb r0, 8(r1) -/* 80339AD0 00336A30 80 61 00 20 */ lwz r3, 0x20(r1) -/* 80339AD4 00336A34 90 83 00 00 */ stw r4, 0(r3) -/* 80339AD8 00336A38 88 01 00 08 */ lbz r0, 8(r1) -/* 80339ADC 00336A3C 28 00 00 00 */ cmplwi r0, 0 -/* 80339AE0 00336A40 41 82 00 24 */ beq lbl_80339B04 -/* 80339AE4 00336A44 80 61 00 0C */ lwz r3, 0xc(r1) -/* 80339AE8 00336A48 28 03 00 00 */ cmplwi r3, 0 -/* 80339AEC 00336A4C 41 82 00 18 */ beq lbl_80339B04 -/* 80339AF0 00336A50 81 83 00 00 */ lwz r12, 0(r3) -/* 80339AF4 00336A54 38 80 00 01 */ li r4, 1 -/* 80339AF8 00336A58 81 8C 00 08 */ lwz r12, 8(r12) -/* 80339AFC 00336A5C 7D 89 03 A6 */ mtctr r12 -/* 80339B00 00336A60 4E 80 04 21 */ bctrl -lbl_80339B04: -/* 80339B04 00336A64 38 61 00 10 */ addi r3, r1, 0x10 -/* 80339B08 00336A68 38 80 FF FF */ li r4, -1 -/* 80339B0C 00336A6C 4B FF FD 75 */ bl sub_80339880 -/* 80339B10 00336A70 38 60 00 01 */ li r3, 1 -/* 80339B14 00336A74 48 00 00 08 */ b lbl_80339B1C -lbl_80339B18: -/* 80339B18 00336A78 38 60 00 00 */ li r3, 0 -lbl_80339B1C: -/* 80339B1C 00336A7C 80 01 00 64 */ lwz r0, 0x64(r1) -/* 80339B20 00336A80 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 80339B24 00336A84 83 C1 00 58 */ lwz r30, 0x58(r1) -/* 80339B28 00336A88 83 A1 00 54 */ lwz r29, 0x54(r1) -/* 80339B2C 00336A8C 7C 08 03 A6 */ mtlr r0 -/* 80339B30 00336A90 38 21 00 60 */ addi r1, r1, 0x60 -/* 80339B34 00336A94 4E 80 00 20 */ blr - -.global sub_80339b38 -sub_80339b38: -/* 80339B38 00336A98 80 04 00 00 */ lwz r0, 0(r4) -/* 80339B3C 00336A9C 38 A0 00 00 */ li r5, 0 -/* 80339B40 00336AA0 90 03 00 00 */ stw r0, 0(r3) -/* 80339B44 00336AA4 80 04 00 04 */ lwz r0, 4(r4) -/* 80339B48 00336AA8 90 03 00 04 */ stw r0, 4(r3) -/* 80339B4C 00336AAC 88 04 00 08 */ lbz r0, 8(r4) -/* 80339B50 00336AB0 98 03 00 08 */ stb r0, 8(r3) -/* 80339B54 00336AB4 80 04 00 0C */ lwz r0, 0xc(r4) -/* 80339B58 00336AB8 90 03 00 0C */ stw r0, 0xc(r3) -/* 80339B5C 00336ABC 98 A4 00 08 */ stb r5, 8(r4) -/* 80339B60 00336AC0 80 04 00 10 */ lwz r0, 0x10(r4) -/* 80339B64 00336AC4 90 03 00 10 */ stw r0, 0x10(r3) -/* 80339B68 00336AC8 88 04 00 14 */ lbz r0, 0x14(r4) -/* 80339B6C 00336ACC 98 03 00 14 */ stb r0, 0x14(r3) -/* 80339B70 00336AD0 80 04 00 18 */ lwz r0, 0x18(r4) -/* 80339B74 00336AD4 90 03 00 18 */ stw r0, 0x18(r3) -/* 80339B78 00336AD8 98 A4 00 14 */ stb r5, 0x14(r4) -/* 80339B7C 00336ADC 88 04 00 1C */ lbz r0, 0x1c(r4) -/* 80339B80 00336AE0 98 03 00 1C */ stb r0, 0x1c(r3) -/* 80339B84 00336AE4 80 04 00 20 */ lwz r0, 0x20(r4) -/* 80339B88 00336AE8 90 03 00 20 */ stw r0, 0x20(r3) -/* 80339B8C 00336AEC 98 A4 00 1C */ stb r5, 0x1c(r4) -/* 80339B90 00336AF0 88 04 00 24 */ lbz r0, 0x24(r4) -/* 80339B94 00336AF4 98 03 00 24 */ stb r0, 0x24(r3) -/* 80339B98 00336AF8 80 04 00 28 */ lwz r0, 0x28(r4) -/* 80339B9C 00336AFC 90 03 00 28 */ stw r0, 0x28(r3) -/* 80339BA0 00336B00 98 A4 00 24 */ stb r5, 0x24(r4) -/* 80339BA4 00336B04 80 04 00 2C */ lwz r0, 0x2c(r4) -/* 80339BA8 00336B08 90 03 00 2C */ stw r0, 0x2c(r3) -/* 80339BAC 00336B0C 80 04 00 30 */ lwz r0, 0x30(r4) -/* 80339BB0 00336B10 90 03 00 30 */ stw r0, 0x30(r3) -/* 80339BB4 00336B14 80 04 00 34 */ lwz r0, 0x34(r4) -/* 80339BB8 00336B18 90 03 00 34 */ stw r0, 0x34(r3) -/* 80339BBC 00336B1C 80 A3 00 34 */ lwz r5, 0x34(r3) -/* 80339BC0 00336B20 80 85 00 04 */ lwz r4, 4(r5) -/* 80339BC4 00336B24 38 04 00 01 */ addi r0, r4, 1 -/* 80339BC8 00336B28 90 05 00 04 */ stw r0, 4(r5) -/* 80339BCC 00336B2C 4E 80 00 20 */ blr - -.global AsyncIdle__11CResFactoryFUl -AsyncIdle__11CResFactoryFUl: -/* 80339BD0 00336B30 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80339BD4 00336B34 7C 08 02 A6 */ mflr r0 -/* 80339BD8 00336B38 90 01 00 34 */ stw r0, 0x34(r1) -/* 80339BDC 00336B3C BF 21 00 14 */ stmw r25, 0x14(r1) -/* 80339BE0 00336B40 7C 7A 1B 78 */ mr r26, r3 -/* 80339BE4 00336B44 7C 9B 23 78 */ mr r27, r4 -/* 80339BE8 00336B48 3B 80 00 01 */ li r28, 1 -/* 80339BEC 00336B4C 48 04 B7 BD */ bl OSGetTime -/* 80339BF0 00336B50 83 FA 00 B4 */ lwz r31, 0xb4(r26) -/* 80339BF4 00336B54 7C 9D 23 78 */ mr r29, r4 -/* 80339BF8 00336B58 7C 7E 1B 78 */ mr r30, r3 -/* 80339BFC 00336B5C 48 00 00 34 */ b lbl_80339C30 -lbl_80339C00: -/* 80339C00 00336B60 7F F9 FB 78 */ mr r25, r31 -/* 80339C04 00336B64 83 FF 00 04 */ lwz r31, 4(r31) -/* 80339C08 00336B68 80 79 00 14 */ lwz r3, 0x14(r25) -/* 80339C0C 00336B6C 81 83 00 00 */ lwz r12, 0(r3) -/* 80339C10 00336B70 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80339C14 00336B74 7D 89 03 A6 */ mtctr r12 -/* 80339C18 00336B78 4E 80 04 21 */ bctrl -/* 80339C1C 00336B7C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80339C20 00336B80 41 82 00 10 */ beq lbl_80339C30 -/* 80339C24 00336B84 7F 24 CB 78 */ mr r4, r25 -/* 80339C28 00336B88 38 7A 00 B0 */ addi r3, r26, 0xb0 -/* 80339C2C 00336B8C 48 00 0C B1 */ bl sub_8033a8dc -lbl_80339C30: -/* 80339C30 00336B90 80 1A 00 B8 */ lwz r0, 0xb8(r26) -/* 80339C34 00336B94 7C 1F 00 40 */ cmplw r31, r0 -/* 80339C38 00336B98 40 82 FF C8 */ bne lbl_80339C00 -/* 80339C3C 00336B9C 3C 60 80 5A */ lis r3, mData__10CStopwatch@ha -/* 80339C40 00336BA0 3B E3 FD 30 */ addi r31, r3, mData__10CStopwatch@l -/* 80339C44 00336BA4 48 00 00 90 */ b lbl_80339CD4 -lbl_80339C48: -/* 80339C48 00336BA8 3B 80 00 00 */ li r28, 0 -/* 80339C4C 00336BAC 48 04 B7 5D */ bl OSGetTime -/* 80339C50 00336BB0 7C 9D 20 10 */ subfc r4, r29, r4 -/* 80339C54 00336BB4 80 BF 00 08 */ lwz r5, 8(r31) -/* 80339C58 00336BB8 80 DF 00 0C */ lwz r6, 0xc(r31) -/* 80339C5C 00336BBC 7C 7E 19 10 */ subfe r3, r30, r3 -/* 80339C60 00336BC0 48 04 FF 6D */ bl __div2i -/* 80339C64 00336BC4 80 1A 00 88 */ lwz r0, 0x88(r26) -/* 80339C68 00336BC8 7C 85 23 78 */ mr r5, r4 -/* 80339C6C 00336BCC 90 01 00 08 */ stw r0, 8(r1) -/* 80339C70 00336BD0 48 00 00 4C */ b lbl_80339CBC -lbl_80339C74: -/* 80339C74 00336BD4 7F 43 D3 78 */ mr r3, r26 -/* 80339C78 00336BD8 38 81 00 08 */ addi r4, r1, 8 -/* 80339C7C 00336BDC 7C A5 D8 50 */ subf r5, r5, r27 -/* 80339C80 00336BE0 4B FF FD 85 */ bl PumpResource__11CResFactoryFR12SLoadingData -/* 80339C84 00336BE4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80339C88 00336BE8 41 82 00 0C */ beq lbl_80339C94 -/* 80339C8C 00336BEC 3B 80 00 01 */ li r28, 1 -/* 80339C90 00336BF0 48 00 00 44 */ b lbl_80339CD4 -lbl_80339C94: -/* 80339C94 00336BF4 80 61 00 08 */ lwz r3, 8(r1) -/* 80339C98 00336BF8 80 03 00 04 */ lwz r0, 4(r3) -/* 80339C9C 00336BFC 90 01 00 08 */ stw r0, 8(r1) -/* 80339CA0 00336C00 48 04 B7 09 */ bl OSGetTime -/* 80339CA4 00336C04 7C 9D 20 10 */ subfc r4, r29, r4 -/* 80339CA8 00336C08 80 BF 00 08 */ lwz r5, 8(r31) -/* 80339CAC 00336C0C 80 DF 00 0C */ lwz r6, 0xc(r31) -/* 80339CB0 00336C10 7C 7E 19 10 */ subfe r3, r30, r3 -/* 80339CB4 00336C14 48 04 FF 19 */ bl __div2i -/* 80339CB8 00336C18 7C 85 23 78 */ mr r5, r4 -lbl_80339CBC: -/* 80339CBC 00336C1C 80 61 00 08 */ lwz r3, 8(r1) -/* 80339CC0 00336C20 80 1A 00 8C */ lwz r0, 0x8c(r26) -/* 80339CC4 00336C24 7C 03 00 40 */ cmplw r3, r0 -/* 80339CC8 00336C28 41 82 00 0C */ beq lbl_80339CD4 -/* 80339CCC 00336C2C 7C 05 D8 40 */ cmplw r5, r27 -/* 80339CD0 00336C30 41 80 FF A4 */ blt lbl_80339C74 -lbl_80339CD4: -/* 80339CD4 00336C34 57 80 06 3F */ clrlwi. r0, r28, 0x18 -/* 80339CD8 00336C38 40 82 FF 70 */ bne lbl_80339C48 -/* 80339CDC 00336C3C BB 21 00 14 */ lmw r25, 0x14(r1) -/* 80339CE0 00336C40 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80339CE4 00336C44 7C 08 03 A6 */ mtlr r0 -/* 80339CE8 00336C48 38 21 00 30 */ addi r1, r1, 0x30 -/* 80339CEC 00336C4C 4E 80 00 20 */ blr - -.global CancelBuild__11CResFactoryFRC10SObjectTag -CancelBuild__11CResFactoryFRC10SObjectTag: -/* 80339CF0 00336C50 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80339CF4 00336C54 7C 08 02 A6 */ mflr r0 -/* 80339CF8 00336C58 7C 85 23 78 */ mr r5, r4 -/* 80339CFC 00336C5C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80339D00 00336C60 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80339D04 00336C64 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80339D08 00336C68 7C 7E 1B 78 */ mr r30, r3 -/* 80339D0C 00336C6C 7F C4 F3 78 */ mr r4, r30 -/* 80339D10 00336C70 38 61 00 08 */ addi r3, r1, 8 -/* 80339D14 00336C74 48 00 04 79 */ bl sub_8033a18c -/* 80339D18 00336C78 80 61 00 08 */ lwz r3, 8(r1) -/* 80339D1C 00336C7C 90 61 00 0C */ stw r3, 0xc(r1) -/* 80339D20 00336C80 80 1E 00 8C */ lwz r0, 0x8c(r30) -/* 80339D24 00336C84 7C 03 00 40 */ cmplw r3, r0 -/* 80339D28 00336C88 41 82 00 34 */ beq lbl_80339D5C -/* 80339D2C 00336C8C 3B E3 00 08 */ addi r31, r3, 8 -/* 80339D30 00336C90 80 63 00 14 */ lwz r3, 0x14(r3) -/* 80339D34 00336C94 81 83 00 00 */ lwz r12, 0(r3) -/* 80339D38 00336C98 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80339D3C 00336C9C 7D 89 03 A6 */ mtctr r12 -/* 80339D40 00336CA0 4E 80 04 21 */ bctrl -/* 80339D44 00336CA4 7F E4 FB 78 */ mr r4, r31 -/* 80339D48 00336CA8 38 7E 00 B0 */ addi r3, r30, 0xb0 -/* 80339D4C 00336CAC 48 00 00 29 */ bl sub_80339d74 -/* 80339D50 00336CB0 7F C3 F3 78 */ mr r3, r30 -/* 80339D54 00336CB4 38 81 00 0C */ addi r4, r1, 0xc -/* 80339D58 00336CB8 48 00 05 49 */ bl sub_8033a2a0 -lbl_80339D5C: -/* 80339D5C 00336CBC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80339D60 00336CC0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80339D64 00336CC4 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80339D68 00336CC8 7C 08 03 A6 */ mtlr r0 -/* 80339D6C 00336CCC 38 21 00 20 */ addi r1, r1, 0x20 -/* 80339D70 00336CD0 4E 80 00 20 */ blr - -.global sub_80339d74 -sub_80339d74: -/* 80339D74 00336CD4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80339D78 00336CD8 7C 08 02 A6 */ mflr r0 -/* 80339D7C 00336CDC 7C 85 23 78 */ mr r5, r4 -/* 80339D80 00336CE0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80339D84 00336CE4 80 83 00 08 */ lwz r4, 8(r3) -/* 80339D88 00336CE8 48 00 00 15 */ bl sub_80339d9c -/* 80339D8C 00336CEC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80339D90 00336CF0 7C 08 03 A6 */ mtlr r0 -/* 80339D94 00336CF4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80339D98 00336CF8 4E 80 00 20 */ blr - -.global sub_80339d9c -sub_80339d9c: -/* 80339D9C 00336CFC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80339DA0 00336D00 7C 08 02 A6 */ mflr r0 -/* 80339DA4 00336D04 7C A6 2B 78 */ mr r6, r5 -/* 80339DA8 00336D08 90 01 00 14 */ stw r0, 0x14(r1) -/* 80339DAC 00336D0C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80339DB0 00336D10 7C 9F 23 78 */ mr r31, r4 -/* 80339DB4 00336D14 7F E5 FB 78 */ mr r5, r31 -/* 80339DB8 00336D18 93 C1 00 08 */ stw r30, 8(r1) -/* 80339DBC 00336D1C 7C 7E 1B 78 */ mr r30, r3 -/* 80339DC0 00336D20 80 84 00 00 */ lwz r4, 0(r4) -/* 80339DC4 00336D24 48 00 00 49 */ bl sub_80339e0c -/* 80339DC8 00336D28 80 1E 00 04 */ lwz r0, 4(r30) -/* 80339DCC 00336D2C 7C 1F 00 40 */ cmplw r31, r0 -/* 80339DD0 00336D30 40 82 00 08 */ bne lbl_80339DD8 -/* 80339DD4 00336D34 90 7E 00 04 */ stw r3, 4(r30) -lbl_80339DD8: -/* 80339DD8 00336D38 80 83 00 00 */ lwz r4, 0(r3) -/* 80339DDC 00336D3C 90 64 00 04 */ stw r3, 4(r4) -/* 80339DE0 00336D40 80 83 00 04 */ lwz r4, 4(r3) -/* 80339DE4 00336D44 90 64 00 00 */ stw r3, 0(r4) -/* 80339DE8 00336D48 80 9E 00 14 */ lwz r4, 0x14(r30) -/* 80339DEC 00336D4C 38 04 00 01 */ addi r0, r4, 1 -/* 80339DF0 00336D50 90 1E 00 14 */ stw r0, 0x14(r30) -/* 80339DF4 00336D54 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80339DF8 00336D58 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80339DFC 00336D5C 83 C1 00 08 */ lwz r30, 8(r1) -/* 80339E00 00336D60 7C 08 03 A6 */ mtlr r0 -/* 80339E04 00336D64 38 21 00 10 */ addi r1, r1, 0x10 -/* 80339E08 00336D68 4E 80 00 20 */ blr - -.global sub_80339e0c -sub_80339e0c: -/* 80339E0C 00336D6C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80339E10 00336D70 7C 08 02 A6 */ mflr r0 -/* 80339E14 00336D74 3C 60 80 3D */ lis r3, lbl_803D7A28@ha -/* 80339E18 00336D78 90 01 00 24 */ stw r0, 0x24(r1) -/* 80339E1C 00336D7C 38 03 7A 28 */ addi r0, r3, lbl_803D7A28@l -/* 80339E20 00336D80 38 60 00 40 */ li r3, 0x40 -/* 80339E24 00336D84 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80339E28 00336D88 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80339E2C 00336D8C 7C DE 33 78 */ mr r30, r6 -/* 80339E30 00336D90 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80339E34 00336D94 7C BD 2B 78 */ mr r29, r5 -/* 80339E38 00336D98 38 A0 00 00 */ li r5, 0 -/* 80339E3C 00336D9C 93 81 00 10 */ stw r28, 0x10(r1) -/* 80339E40 00336DA0 7C 9C 23 78 */ mr r28, r4 -/* 80339E44 00336DA4 7C 04 03 78 */ mr r4, r0 -/* 80339E48 00336DA8 4B FD B9 D1 */ bl __nwa__FUlPCcPCc -/* 80339E4C 00336DAC 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80339E50 00336DB0 41 82 00 0C */ beq lbl_80339E5C -/* 80339E54 00336DB4 93 9F 00 00 */ stw r28, 0(r31) -/* 80339E58 00336DB8 93 BF 00 04 */ stw r29, 4(r31) -lbl_80339E5C: -/* 80339E5C 00336DBC 34 7F 00 08 */ addic. r3, r31, 8 -/* 80339E60 00336DC0 41 82 00 0C */ beq lbl_80339E6C -/* 80339E64 00336DC4 7F C4 F3 78 */ mr r4, r30 -/* 80339E68 00336DC8 4B FF FC D1 */ bl sub_80339b38 -lbl_80339E6C: -/* 80339E6C 00336DCC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80339E70 00336DD0 7F E3 FB 78 */ mr r3, r31 -/* 80339E74 00336DD4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80339E78 00336DD8 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80339E7C 00336DDC 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80339E80 00336DE0 83 81 00 10 */ lwz r28, 0x10(r1) -/* 80339E84 00336DE4 7C 08 03 A6 */ mtlr r0 -/* 80339E88 00336DE8 38 21 00 20 */ addi r1, r1, 0x20 -/* 80339E8C 00336DEC 4E 80 00 20 */ blr - -.global BuildAsync__11CResFactoryFRC10SObjectTagRC15CVParamTransferPP4IObj -BuildAsync__11CResFactoryFRC10SObjectTagRC15CVParamTransferPP4IObj: -/* 80339E90 00336DF0 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 80339E94 00336DF4 7C 08 02 A6 */ mflr r0 -/* 80339E98 00336DF8 90 01 00 74 */ stw r0, 0x74(r1) -/* 80339E9C 00336DFC 38 00 00 00 */ li r0, 0 -/* 80339EA0 00336E00 BF 21 00 54 */ stmw r25, 0x54(r1) -/* 80339EA4 00336E04 7C 79 1B 78 */ mr r25, r3 -/* 80339EA8 00336E08 7C DC 33 78 */ mr r28, r6 -/* 80339EAC 00336E0C 7C 9A 23 78 */ mr r26, r4 -/* 80339EB0 00336E10 7C BB 2B 78 */ mr r27, r5 -/* 80339EB4 00336E14 38 79 00 04 */ addi r3, r25, 4 -/* 80339EB8 00336E18 90 06 00 00 */ stw r0, 0(r6) -/* 80339EBC 00336E1C 48 00 1D 95 */ bl ResourceSize__10CResLoaderCFRC10SObjectTag -/* 80339EC0 00336E20 3C A0 80 3D */ lis r5, lbl_803D7A28@ha -/* 80339EC4 00336E24 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha -/* 80339EC8 00336E28 7C 7F 1B 78 */ mr r31, r3 -/* 80339ECC 00336E2C 38 61 00 08 */ addi r3, r1, 8 -/* 80339ED0 00336E30 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l -/* 80339ED4 00336E34 38 A5 7A 28 */ addi r5, r5, lbl_803D7A28@l -/* 80339ED8 00336E38 38 80 FF FF */ li r4, -1 -/* 80339EDC 00336E3C 4B F9 C4 F9 */ bl __ct__10CCallStackFUiPCcPCc -/* 80339EE0 00336E40 7C 67 1B 78 */ mr r7, r3 -/* 80339EE4 00336E44 7F E3 FB 78 */ mr r3, r31 -/* 80339EE8 00336E48 38 80 00 02 */ li r4, 2 -/* 80339EEC 00336E4C 38 A0 00 01 */ li r5, 1 -/* 80339EF0 00336E50 38 C0 00 00 */ li r6, 0 -/* 80339EF4 00336E54 4B FD BA A1 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack -/* 80339EF8 00336E58 7C 7D 1B 78 */ mr r29, r3 -/* 80339EFC 00336E5C 7F 44 D3 78 */ mr r4, r26 -/* 80339F00 00336E60 38 79 00 04 */ addi r3, r25, 4 -/* 80339F04 00336E64 7F A5 EB 78 */ mr r5, r29 -/* 80339F08 00336E68 48 00 1C 71 */ bl LoadResourceAsync__10CResLoaderFRC10SObjectTagPc -/* 80339F0C 00336E6C 7C 7E 1B 78 */ mr r30, r3 -/* 80339F10 00336E70 7F 44 D3 78 */ mr r4, r26 -/* 80339F14 00336E74 38 79 00 04 */ addi r3, r25, 4 -/* 80339F18 00336E78 48 00 1C E1 */ bl GetResourceCompression__10CResLoaderCFRC10SObjectTag -/* 80339F1C 00336E7C 7C 69 1B 78 */ mr r9, r3 -/* 80339F20 00336E80 7F 44 D3 78 */ mr r4, r26 -/* 80339F24 00336E84 7F C5 F3 78 */ mr r5, r30 -/* 80339F28 00336E88 7F 86 E3 78 */ mr r6, r28 -/* 80339F2C 00336E8C 7F A7 EB 78 */ mr r7, r29 -/* 80339F30 00336E90 7F E8 FB 78 */ mr r8, r31 -/* 80339F34 00336E94 7F 6A DB 78 */ mr r10, r27 -/* 80339F38 00336E98 38 61 00 10 */ addi r3, r1, 0x10 -/* 80339F3C 00336E9C 4B FF FA 45 */ bl sub_80339980 -/* 80339F40 00336EA0 7F 23 CB 78 */ mr r3, r25 -/* 80339F44 00336EA4 38 81 00 10 */ addi r4, r1, 0x10 -/* 80339F48 00336EA8 48 00 05 B9 */ bl sub_8033a500 -/* 80339F4C 00336EAC 38 61 00 10 */ addi r3, r1, 0x10 -/* 80339F50 00336EB0 38 80 FF FF */ li r4, -1 -/* 80339F54 00336EB4 4B FF F9 2D */ bl sub_80339880 -/* 80339F58 00336EB8 BB 21 00 54 */ lmw r25, 0x54(r1) -/* 80339F5C 00336EBC 80 01 00 74 */ lwz r0, 0x74(r1) -/* 80339F60 00336EC0 7C 08 03 A6 */ mtlr r0 -/* 80339F64 00336EC4 38 21 00 70 */ addi r1, r1, 0x70 -/* 80339F68 00336EC8 4E 80 00 20 */ blr - -.global BuildSync__11CResFactoryFRC10SObjectTagRC15CVParamTransfer -BuildSync__11CResFactoryFRC10SObjectTagRC15CVParamTransfer: -/* 80339F6C 00336ECC 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80339F70 00336ED0 7C 08 02 A6 */ mflr r0 -/* 80339F74 00336ED4 90 01 00 34 */ stw r0, 0x34(r1) -/* 80339F78 00336ED8 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80339F7C 00336EDC 7C BF 2B 78 */ mr r31, r5 -/* 80339F80 00336EE0 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80339F84 00336EE4 7C DE 33 78 */ mr r30, r6 -/* 80339F88 00336EE8 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80339F8C 00336EEC 7C 9D 23 78 */ mr r29, r4 -/* 80339F90 00336EF0 7F E4 FB 78 */ mr r4, r31 -/* 80339F94 00336EF4 93 81 00 20 */ stw r28, 0x20(r1) -/* 80339F98 00336EF8 7C 7C 1B 78 */ mr r28, r3 -/* 80339F9C 00336EFC 38 7D 00 5C */ addi r3, r29, 0x5c -/* 80339FA0 00336F00 4B FF EC B5 */ bl CanMakeMemory__11CFactoryMgrFRC10SObjectTag -/* 80339FA4 00336F04 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80339FA8 00336F08 41 82 00 50 */ beq lbl_80339FF8 -/* 80339FAC 00336F0C 7F E4 FB 78 */ mr r4, r31 -/* 80339FB0 00336F10 38 7D 00 04 */ addi r3, r29, 4 -/* 80339FB4 00336F14 38 A1 00 0C */ addi r5, r1, 0xc -/* 80339FB8 00336F18 38 C1 00 08 */ addi r6, r1, 8 -/* 80339FBC 00336F1C 48 00 17 DD */ bl LoadMemResourceSync__10CResLoaderFRC10SObjectTagPPcPi -/* 80339FC0 00336F20 7F E4 FB 78 */ mr r4, r31 -/* 80339FC4 00336F24 38 7D 00 04 */ addi r3, r29, 4 -/* 80339FC8 00336F28 48 00 1C 31 */ bl GetResourceCompression__10CResLoaderCFRC10SObjectTag -/* 80339FCC 00336F2C 7C 03 00 D0 */ neg r0, r3 -/* 80339FD0 00336F30 80 C1 00 0C */ lwz r6, 0xc(r1) -/* 80339FD4 00336F34 7C 00 1B 78 */ or r0, r0, r3 -/* 80339FD8 00336F38 80 E1 00 08 */ lwz r7, 8(r1) -/* 80339FDC 00336F3C 54 08 0F FE */ srwi r8, r0, 0x1f -/* 80339FE0 00336F40 7F 83 E3 78 */ mr r3, r28 -/* 80339FE4 00336F44 7F E5 FB 78 */ mr r5, r31 -/* 80339FE8 00336F48 7F C9 F3 78 */ mr r9, r30 -/* 80339FEC 00336F4C 38 9D 00 5C */ addi r4, r29, 0x5c -/* 80339FF0 00336F50 4B FF E6 FD */ bl MakeObjectFromMemory__11CFactoryMgrFRC10SObjectTagPvibRC15CVParamTransfer -/* 80339FF4 00336F54 48 00 00 B8 */ b lbl_8033A0AC -lbl_80339FF8: -/* 80339FF8 00336F58 7F E4 FB 78 */ mr r4, r31 -/* 80339FFC 00336F5C 38 7D 00 04 */ addi r3, r29, 4 -/* 8033A000 00336F60 38 A0 00 00 */ li r5, 0 -/* 8033A004 00336F64 48 00 19 65 */ bl LoadNewResourceSync__10CResLoaderFRC10SObjectTagPc -/* 8033A008 00336F68 7F E5 FB 78 */ mr r5, r31 -/* 8033A00C 00336F6C 7C 7F 1B 78 */ mr r31, r3 -/* 8033A010 00336F70 7F C7 F3 78 */ mr r7, r30 -/* 8033A014 00336F74 38 61 00 10 */ addi r3, r1, 0x10 -/* 8033A018 00336F78 7F E6 FB 78 */ mr r6, r31 -/* 8033A01C 00336F7C 38 9D 00 5C */ addi r4, r29, 0x5c -/* 8033A020 00336F80 4B FF EB 61 */ bl MakeObject__11CFactoryMgrFRC10SObjectTagR12CInputStreamRC15CVParamTransfer -/* 8033A024 00336F84 88 81 00 10 */ lbz r4, 0x10(r1) -/* 8033A028 00336F88 38 00 00 00 */ li r0, 0 -/* 8033A02C 00336F8C 80 61 00 14 */ lwz r3, 0x14(r1) -/* 8033A030 00336F90 98 81 00 18 */ stb r4, 0x18(r1) -/* 8033A034 00336F94 90 61 00 1C */ stw r3, 0x1c(r1) -/* 8033A038 00336F98 98 01 00 10 */ stb r0, 0x10(r1) -/* 8033A03C 00336F9C 48 00 00 1C */ b lbl_8033A058 -/* 8033A040 00336FA0 41 82 00 18 */ beq lbl_8033A058 -/* 8033A044 00336FA4 81 83 00 00 */ lwz r12, 0(r3) -/* 8033A048 00336FA8 38 80 00 01 */ li r4, 1 -/* 8033A04C 00336FAC 81 8C 00 08 */ lwz r12, 8(r12) -/* 8033A050 00336FB0 7D 89 03 A6 */ mtctr r12 -/* 8033A054 00336FB4 4E 80 04 21 */ bctrl -lbl_8033A058: -/* 8033A058 00336FB8 28 1F 00 00 */ cmplwi r31, 0 -/* 8033A05C 00336FBC 41 82 00 1C */ beq lbl_8033A078 -/* 8033A060 00336FC0 7F E3 FB 78 */ mr r3, r31 -/* 8033A064 00336FC4 38 80 00 01 */ li r4, 1 -/* 8033A068 00336FC8 81 9F 00 00 */ lwz r12, 0(r31) -/* 8033A06C 00336FCC 81 8C 00 08 */ lwz r12, 8(r12) -/* 8033A070 00336FD0 7D 89 03 A6 */ mtctr r12 -/* 8033A074 00336FD4 4E 80 04 21 */ bctrl -lbl_8033A078: -/* 8033A078 00336FD8 88 81 00 18 */ lbz r4, 0x18(r1) -/* 8033A07C 00336FDC 38 00 00 00 */ li r0, 0 -/* 8033A080 00336FE0 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 8033A084 00336FE4 98 9C 00 00 */ stb r4, 0(r28) -/* 8033A088 00336FE8 90 7C 00 04 */ stw r3, 4(r28) -/* 8033A08C 00336FEC 98 01 00 18 */ stb r0, 0x18(r1) -/* 8033A090 00336FF0 48 00 00 1C */ b lbl_8033A0AC -/* 8033A094 00336FF4 41 82 00 18 */ beq lbl_8033A0AC -/* 8033A098 00336FF8 81 83 00 00 */ lwz r12, 0(r3) -/* 8033A09C 00336FFC 38 80 00 01 */ li r4, 1 -/* 8033A0A0 00337000 81 8C 00 08 */ lwz r12, 8(r12) -/* 8033A0A4 00337004 7D 89 03 A6 */ mtctr r12 -/* 8033A0A8 00337008 4E 80 04 21 */ bctrl -lbl_8033A0AC: -/* 8033A0AC 0033700C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8033A0B0 00337010 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8033A0B4 00337014 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8033A0B8 00337018 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 8033A0BC 0033701C 83 81 00 20 */ lwz r28, 0x20(r1) -/* 8033A0C0 00337020 7C 08 03 A6 */ mtlr r0 -/* 8033A0C4 00337024 38 21 00 30 */ addi r1, r1, 0x30 -/* 8033A0C8 00337028 4E 80 00 20 */ blr - -.global Build__11CResFactoryFRC10SObjectTagRC15CVParamTransfer -Build__11CResFactoryFRC10SObjectTagRC15CVParamTransfer: -/* 8033A0CC 0033702C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8033A0D0 00337030 7C 08 02 A6 */ mflr r0 -/* 8033A0D4 00337034 90 01 00 24 */ stw r0, 0x24(r1) -/* 8033A0D8 00337038 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8033A0DC 0033703C 7C DF 33 78 */ mr r31, r6 -/* 8033A0E0 00337040 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8033A0E4 00337044 7C BE 2B 78 */ mr r30, r5 -/* 8033A0E8 00337048 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8033A0EC 0033704C 7C 9D 23 78 */ mr r29, r4 -/* 8033A0F0 00337050 93 81 00 10 */ stw r28, 0x10(r1) -/* 8033A0F4 00337054 7C 7C 1B 78 */ mr r28, r3 -/* 8033A0F8 00337058 38 61 00 08 */ addi r3, r1, 8 -/* 8033A0FC 0033705C 48 00 00 91 */ bl sub_8033a18c -/* 8033A100 00337060 80 61 00 08 */ lwz r3, 8(r1) -/* 8033A104 00337064 90 61 00 0C */ stw r3, 0xc(r1) -/* 8033A108 00337068 80 1D 00 8C */ lwz r0, 0x8c(r29) -/* 8033A10C 0033706C 7C 03 00 40 */ cmplw r3, r0 -/* 8033A110 00337070 41 82 00 48 */ beq lbl_8033A158 -/* 8033A114 00337074 83 E3 00 18 */ lwz r31, 0x18(r3) -/* 8033A118 00337078 48 00 00 1C */ b lbl_8033A134 -lbl_8033A11C: -/* 8033A11C 0033707C 7F A3 EB 78 */ mr r3, r29 -/* 8033A120 00337080 38 81 00 0C */ addi r4, r1, 0xc -/* 8033A124 00337084 38 A0 00 00 */ li r5, 0 -/* 8033A128 00337088 4B FF F8 DD */ bl PumpResource__11CResFactoryFR12SLoadingData -/* 8033A12C 0033708C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8033A130 00337090 41 82 FF EC */ beq lbl_8033A11C -lbl_8033A134: -/* 8033A134 00337094 80 7F 00 00 */ lwz r3, 0(r31) -/* 8033A138 00337098 28 03 00 00 */ cmplwi r3, 0 -/* 8033A13C 0033709C 41 82 FF E0 */ beq lbl_8033A11C -/* 8033A140 003370A0 7C 03 00 D0 */ neg r0, r3 -/* 8033A144 003370A4 7C 00 1B 78 */ or r0, r0, r3 -/* 8033A148 003370A8 54 00 0F FE */ srwi r0, r0, 0x1f -/* 8033A14C 003370AC 98 1C 00 00 */ stb r0, 0(r28) -/* 8033A150 003370B0 90 7C 00 04 */ stw r3, 4(r28) -/* 8033A154 003370B4 48 00 00 18 */ b lbl_8033A16C -lbl_8033A158: -/* 8033A158 003370B8 7F 83 E3 78 */ mr r3, r28 -/* 8033A15C 003370BC 7F A4 EB 78 */ mr r4, r29 -/* 8033A160 003370C0 7F C5 F3 78 */ mr r5, r30 -/* 8033A164 003370C4 7F E6 FB 78 */ mr r6, r31 -/* 8033A168 003370C8 4B FF FE 05 */ bl BuildSync__11CResFactoryFRC10SObjectTagRC15CVParamTransfer -lbl_8033A16C: -/* 8033A16C 003370CC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8033A170 003370D0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8033A174 003370D4 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8033A178 003370D8 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8033A17C 003370DC 83 81 00 10 */ lwz r28, 0x10(r1) -/* 8033A180 003370E0 7C 08 03 A6 */ mtlr r0 -/* 8033A184 003370E4 38 21 00 20 */ addi r1, r1, 0x20 -/* 8033A188 003370E8 4E 80 00 20 */ blr - -.global sub_8033a18c -sub_8033a18c: -/* 8033A18C 003370EC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8033A190 003370F0 38 C0 00 00 */ li r6, 0 -/* 8033A194 003370F4 81 04 00 AC */ lwz r8, 0xac(r4) -/* 8033A198 003370F8 48 00 00 58 */ b lbl_8033A1F0 -lbl_8033A19C: -/* 8033A19C 003370FC 80 08 00 10 */ lwz r0, 0x10(r8) -/* 8033A1A0 00337100 80 E5 00 00 */ lwz r7, 0(r5) -/* 8033A1A4 00337104 7C 00 38 40 */ cmplw r0, r7 -/* 8033A1A8 00337108 40 82 00 20 */ bne lbl_8033A1C8 -/* 8033A1AC 0033710C 80 08 00 14 */ lwz r0, 0x14(r8) -/* 8033A1B0 00337110 80 E5 00 04 */ lwz r7, 4(r5) -/* 8033A1B4 00337114 7C E0 02 78 */ xor r0, r7, r0 -/* 8033A1B8 00337118 7C 00 00 34 */ cntlzw r0, r0 -/* 8033A1BC 0033711C 7C E0 00 30 */ slw r0, r7, r0 -/* 8033A1C0 00337120 54 00 0F FE */ srwi r0, r0, 0x1f -/* 8033A1C4 00337124 48 00 00 14 */ b lbl_8033A1D8 -lbl_8033A1C8: -/* 8033A1C8 00337128 7C E0 02 78 */ xor r0, r7, r0 -/* 8033A1CC 0033712C 7C 00 00 34 */ cntlzw r0, r0 -/* 8033A1D0 00337130 7C E0 00 30 */ slw r0, r7, r0 -/* 8033A1D4 00337134 54 00 0F FE */ srwi r0, r0, 0x1f -lbl_8033A1D8: -/* 8033A1D8 00337138 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 8033A1DC 0033713C 40 82 00 10 */ bne lbl_8033A1EC -/* 8033A1E0 00337140 7D 06 43 78 */ mr r6, r8 -/* 8033A1E4 00337144 81 08 00 00 */ lwz r8, 0(r8) -/* 8033A1E8 00337148 48 00 00 08 */ b lbl_8033A1F0 -lbl_8033A1EC: -/* 8033A1EC 0033714C 81 08 00 04 */ lwz r8, 4(r8) -lbl_8033A1F0: -/* 8033A1F0 00337150 28 08 00 00 */ cmplwi r8, 0 -/* 8033A1F4 00337154 40 82 FF A8 */ bne lbl_8033A19C -/* 8033A1F8 00337158 7C C7 00 34 */ cntlzw r7, r6 -/* 8033A1FC 0033715C 54 E0 DE 3F */ rlwinm. r0, r7, 0x1b, 0x18, 0x1f -/* 8033A200 00337160 54 E0 D9 7E */ srwi r0, r7, 5 -/* 8033A204 00337164 40 82 00 40 */ bne lbl_8033A244 -/* 8033A208 00337168 80 05 00 00 */ lwz r0, 0(r5) -/* 8033A20C 0033716C 80 E6 00 10 */ lwz r7, 0x10(r6) -/* 8033A210 00337170 7C 00 38 40 */ cmplw r0, r7 -/* 8033A214 00337174 40 82 00 20 */ bne lbl_8033A234 -/* 8033A218 00337178 80 05 00 04 */ lwz r0, 4(r5) -/* 8033A21C 0033717C 80 A6 00 14 */ lwz r5, 0x14(r6) -/* 8033A220 00337180 7C A0 02 78 */ xor r0, r5, r0 -/* 8033A224 00337184 7C 00 00 34 */ cntlzw r0, r0 -/* 8033A228 00337188 7C A0 00 30 */ slw r0, r5, r0 -/* 8033A22C 0033718C 54 00 0F FE */ srwi r0, r0, 0x1f -/* 8033A230 00337190 48 00 00 14 */ b lbl_8033A244 -lbl_8033A234: -/* 8033A234 00337194 7C E0 02 78 */ xor r0, r7, r0 -/* 8033A238 00337198 7C 00 00 34 */ cntlzw r0, r0 -/* 8033A23C 0033719C 7C E0 00 30 */ slw r0, r7, r0 -/* 8033A240 003371A0 54 00 0F FE */ srwi r0, r0, 0x1f -lbl_8033A244: -/* 8033A244 003371A4 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 8033A248 003371A8 41 82 00 08 */ beq lbl_8033A250 -/* 8033A24C 003371AC 38 C0 00 00 */ li r6, 0 -lbl_8033A250: -/* 8033A250 003371B0 38 00 00 00 */ li r0, 0 -/* 8033A254 003371B4 38 A4 00 A4 */ addi r5, r4, 0xa4 -/* 8033A258 003371B8 7C 06 00 40 */ cmplw r6, r0 -/* 8033A25C 003371BC 90 C1 00 10 */ stw r6, 0x10(r1) -/* 8033A260 003371C0 90 A1 00 14 */ stw r5, 0x14(r1) -/* 8033A264 003371C4 90 01 00 08 */ stw r0, 8(r1) -/* 8033A268 003371C8 90 A1 00 0C */ stw r5, 0xc(r1) -/* 8033A26C 003371CC 40 82 00 10 */ bne lbl_8033A27C -/* 8033A270 003371D0 7C 05 28 40 */ cmplw r5, r5 -/* 8033A274 003371D4 40 82 00 08 */ bne lbl_8033A27C -/* 8033A278 003371D8 38 00 00 01 */ li r0, 1 -lbl_8033A27C: -/* 8033A27C 003371DC 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 8033A280 003371E0 41 82 00 10 */ beq lbl_8033A290 -/* 8033A284 003371E4 80 04 00 8C */ lwz r0, 0x8c(r4) -/* 8033A288 003371E8 90 03 00 00 */ stw r0, 0(r3) -/* 8033A28C 003371EC 48 00 00 0C */ b lbl_8033A298 -lbl_8033A290: -/* 8033A290 003371F0 80 06 00 18 */ lwz r0, 0x18(r6) -/* 8033A294 003371F4 90 03 00 00 */ stw r0, 0(r3) -lbl_8033A298: -/* 8033A298 003371F8 38 21 00 20 */ addi r1, r1, 0x20 -/* 8033A29C 003371FC 4E 80 00 20 */ blr - -.global sub_8033a2a0 -sub_8033a2a0: -/* 8033A2A0 00337200 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8033A2A4 00337204 7C 08 02 A6 */ mflr r0 -/* 8033A2A8 00337208 90 01 00 14 */ stw r0, 0x14(r1) -/* 8033A2AC 0033720C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8033A2B0 00337210 7C 9F 23 78 */ mr r31, r4 -/* 8033A2B4 00337214 93 C1 00 08 */ stw r30, 8(r1) -/* 8033A2B8 00337218 7C 7E 1B 78 */ mr r30, r3 -/* 8033A2BC 0033721C 38 7E 00 9C */ addi r3, r30, 0x9c -/* 8033A2C0 00337220 80 84 00 00 */ lwz r4, 0(r4) -/* 8033A2C4 00337224 38 84 00 08 */ addi r4, r4, 8 -/* 8033A2C8 00337228 48 00 00 29 */ bl sub_8033a2f0 -/* 8033A2CC 0033722C 80 9F 00 00 */ lwz r4, 0(r31) -/* 8033A2D0 00337230 38 7E 00 84 */ addi r3, r30, 0x84 -/* 8033A2D4 00337234 48 00 06 09 */ bl sub_8033a8dc -/* 8033A2D8 00337238 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8033A2DC 0033723C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8033A2E0 00337240 83 C1 00 08 */ lwz r30, 8(r1) -/* 8033A2E4 00337244 7C 08 03 A6 */ mtlr r0 -/* 8033A2E8 00337248 38 21 00 10 */ addi r1, r1, 0x10 -/* 8033A2EC 0033724C 4E 80 00 20 */ blr - -.global sub_8033a2f0 -sub_8033a2f0: -/* 8033A2F0 00337250 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 8033A2F4 00337254 7C 08 02 A6 */ mflr r0 -/* 8033A2F8 00337258 7C 85 23 78 */ mr r5, r4 -/* 8033A2FC 0033725C 90 01 00 74 */ stw r0, 0x74(r1) -/* 8033A300 00337260 BF 41 00 58 */ stmw r26, 0x58(r1) -/* 8033A304 00337264 7C 7F 1B 78 */ mr r31, r3 -/* 8033A308 00337268 7F E4 FB 78 */ mr r4, r31 -/* 8033A30C 0033726C 38 61 00 38 */ addi r3, r1, 0x38 -/* 8033A310 00337270 48 00 01 05 */ bl sub_8033a414 -/* 8033A314 00337274 80 E1 00 38 */ lwz r7, 0x38(r1) -/* 8033A318 00337278 38 61 00 28 */ addi r3, r1, 0x28 -/* 8033A31C 0033727C 80 C1 00 3C */ lwz r6, 0x3c(r1) -/* 8033A320 00337280 38 81 00 20 */ addi r4, r1, 0x20 -/* 8033A324 00337284 80 A1 00 40 */ lwz r5, 0x40(r1) -/* 8033A328 00337288 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8033A32C 0033728C 90 E1 00 48 */ stw r7, 0x48(r1) -/* 8033A330 00337290 90 C1 00 4C */ stw r6, 0x4c(r1) -/* 8033A334 00337294 90 A1 00 50 */ stw r5, 0x50(r1) -/* 8033A338 00337298 90 01 00 54 */ stw r0, 0x54(r1) -/* 8033A33C 0033729C 90 A1 00 20 */ stw r5, 0x20(r1) -/* 8033A340 003372A0 90 01 00 24 */ stw r0, 0x24(r1) -/* 8033A344 003372A4 90 E1 00 28 */ stw r7, 0x28(r1) -/* 8033A348 003372A8 90 C1 00 2C */ stw r6, 0x2c(r1) -/* 8033A34C 003372AC 48 00 04 B5 */ bl sub_8033a800 -/* 8033A350 003372B0 83 C1 00 4C */ lwz r30, 0x4c(r1) -/* 8033A354 003372B4 7C 7A 1B 78 */ mr r26, r3 -/* 8033A358 003372B8 80 01 00 48 */ lwz r0, 0x48(r1) -/* 8033A35C 003372BC 93 C1 00 34 */ stw r30, 0x34(r1) -/* 8033A360 003372C0 83 81 00 50 */ lwz r28, 0x50(r1) -/* 8033A364 003372C4 90 01 00 30 */ stw r0, 0x30(r1) -/* 8033A368 003372C8 83 61 00 54 */ lwz r27, 0x54(r1) -/* 8033A36C 003372CC 48 00 00 68 */ b lbl_8033A3D4 -lbl_8033A370: -/* 8033A370 003372D0 90 81 00 08 */ stw r4, 8(r1) -/* 8033A374 003372D4 7F C3 F3 78 */ mr r3, r30 -/* 8033A378 003372D8 80 81 00 30 */ lwz r4, 0x30(r1) -/* 8033A37C 003372DC 93 C1 00 0C */ stw r30, 0xc(r1) -/* 8033A380 003372E0 48 00 22 61 */ bl rbtree_traverse_forward__4rstlFPCvPv -/* 8033A384 003372E4 83 A1 00 08 */ lwz r29, 8(r1) -/* 8033A388 003372E8 7F C0 F3 78 */ mr r0, r30 -/* 8033A38C 003372EC 90 61 00 30 */ stw r3, 0x30(r1) -/* 8033A390 003372F0 7C 03 03 78 */ mr r3, r0 -/* 8033A394 003372F4 7F A4 EB 78 */ mr r4, r29 -/* 8033A398 003372F8 93 A1 00 10 */ stw r29, 0x10(r1) -/* 8033A39C 003372FC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8033A3A0 00337300 93 A1 00 18 */ stw r29, 0x18(r1) -/* 8033A3A4 00337304 90 01 00 1C */ stw r0, 0x1c(r1) -/* 8033A3A8 00337308 48 00 22 39 */ bl rbtree_traverse_forward__4rstlFPCvPv -/* 8033A3AC 0033730C 90 61 00 18 */ stw r3, 0x18(r1) -/* 8033A3B0 00337310 7F A4 EB 78 */ mr r4, r29 -/* 8033A3B4 00337314 38 7F 00 08 */ addi r3, r31, 8 -/* 8033A3B8 00337318 48 00 22 C5 */ bl rbtree_rebalance_for_erase__4rstlFPvPv -/* 8033A3BC 0033731C 28 03 00 00 */ cmplwi r3, 0 -/* 8033A3C0 00337320 41 82 00 08 */ beq lbl_8033A3C8 -/* 8033A3C4 00337324 4B FD B5 6D */ bl Free__7CMemoryFPCv -lbl_8033A3C8: -/* 8033A3C8 00337328 80 7F 00 04 */ lwz r3, 4(r31) -/* 8033A3CC 0033732C 38 03 FF FF */ addi r0, r3, -1 -/* 8033A3D0 00337330 90 1F 00 04 */ stw r0, 4(r31) -lbl_8033A3D4: -/* 8033A3D4 00337334 80 81 00 30 */ lwz r4, 0x30(r1) -/* 8033A3D8 00337338 38 60 00 00 */ li r3, 0 -/* 8033A3DC 0033733C 7C 04 E0 40 */ cmplw r4, r28 -/* 8033A3E0 00337340 40 82 00 10 */ bne lbl_8033A3F0 -/* 8033A3E4 00337344 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8033A3E8 00337348 7C 00 D8 40 */ cmplw r0, r27 -/* 8033A3EC 0033734C 41 82 00 08 */ beq lbl_8033A3F4 -lbl_8033A3F0: -/* 8033A3F0 00337350 38 60 00 01 */ li r3, 1 -lbl_8033A3F4: -/* 8033A3F4 00337354 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8033A3F8 00337358 40 82 FF 78 */ bne lbl_8033A370 -/* 8033A3FC 0033735C 7F 43 D3 78 */ mr r3, r26 -/* 8033A400 00337360 BB 41 00 58 */ lmw r26, 0x58(r1) -/* 8033A404 00337364 80 01 00 74 */ lwz r0, 0x74(r1) -/* 8033A408 00337368 7C 08 03 A6 */ mtlr r0 -/* 8033A40C 0033736C 38 21 00 70 */ addi r1, r1, 0x70 -/* 8033A410 00337370 4E 80 00 20 */ blr - -.global sub_8033a414 -sub_8033a414: -/* 8033A414 00337374 80 C4 00 10 */ lwz r6, 0x10(r4) -/* 8033A418 00337378 39 00 00 00 */ li r8, 0 -/* 8033A41C 0033737C 7C C9 33 78 */ mr r9, r6 -/* 8033A420 00337380 48 00 00 58 */ b lbl_8033A478 -lbl_8033A424: -/* 8033A424 00337384 80 05 00 00 */ lwz r0, 0(r5) -/* 8033A428 00337388 80 E9 00 10 */ lwz r7, 0x10(r9) -/* 8033A42C 0033738C 7C 00 38 40 */ cmplw r0, r7 -/* 8033A430 00337390 40 82 00 20 */ bne lbl_8033A450 -/* 8033A434 00337394 80 05 00 04 */ lwz r0, 4(r5) -/* 8033A438 00337398 80 E9 00 14 */ lwz r7, 0x14(r9) -/* 8033A43C 0033739C 7C E0 02 78 */ xor r0, r7, r0 -/* 8033A440 003373A0 7C 00 00 34 */ cntlzw r0, r0 -/* 8033A444 003373A4 7C E0 00 30 */ slw r0, r7, r0 -/* 8033A448 003373A8 54 00 0F FE */ srwi r0, r0, 0x1f -/* 8033A44C 003373AC 48 00 00 14 */ b lbl_8033A460 -lbl_8033A450: -/* 8033A450 003373B0 7C E0 02 78 */ xor r0, r7, r0 -/* 8033A454 003373B4 7C 00 00 34 */ cntlzw r0, r0 -/* 8033A458 003373B8 7C E0 00 30 */ slw r0, r7, r0 -/* 8033A45C 003373BC 54 00 0F FE */ srwi r0, r0, 0x1f -lbl_8033A460: -/* 8033A460 003373C0 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 8033A464 003373C4 41 82 00 10 */ beq lbl_8033A474 -/* 8033A468 003373C8 7D 28 4B 78 */ mr r8, r9 -/* 8033A46C 003373CC 81 29 00 00 */ lwz r9, 0(r9) -/* 8033A470 003373D0 48 00 00 08 */ b lbl_8033A478 -lbl_8033A474: -/* 8033A474 003373D4 81 29 00 04 */ lwz r9, 4(r9) -lbl_8033A478: -/* 8033A478 003373D8 28 09 00 00 */ cmplwi r9, 0 -/* 8033A47C 003373DC 40 82 FF A8 */ bne lbl_8033A424 -/* 8033A480 003373E0 39 44 00 08 */ addi r10, r4, 8 -/* 8033A484 003373E4 39 20 00 00 */ li r9, 0 -/* 8033A488 003373E8 48 00 00 58 */ b lbl_8033A4E0 -lbl_8033A48C: -/* 8033A48C 003373EC 80 06 00 10 */ lwz r0, 0x10(r6) -/* 8033A490 003373F0 80 E5 00 00 */ lwz r7, 0(r5) -/* 8033A494 003373F4 7C 00 38 40 */ cmplw r0, r7 -/* 8033A498 003373F8 40 82 00 20 */ bne lbl_8033A4B8 -/* 8033A49C 003373FC 80 06 00 14 */ lwz r0, 0x14(r6) -/* 8033A4A0 00337400 80 E5 00 04 */ lwz r7, 4(r5) -/* 8033A4A4 00337404 7C E0 02 78 */ xor r0, r7, r0 -/* 8033A4A8 00337408 7C 00 00 34 */ cntlzw r0, r0 -/* 8033A4AC 0033740C 7C E0 00 30 */ slw r0, r7, r0 -/* 8033A4B0 00337410 54 00 0F FE */ srwi r0, r0, 0x1f -/* 8033A4B4 00337414 48 00 00 14 */ b lbl_8033A4C8 -lbl_8033A4B8: -/* 8033A4B8 00337418 7C E0 02 78 */ xor r0, r7, r0 -/* 8033A4BC 0033741C 7C 00 00 34 */ cntlzw r0, r0 -/* 8033A4C0 00337420 7C E0 00 30 */ slw r0, r7, r0 -/* 8033A4C4 00337424 54 00 0F FE */ srwi r0, r0, 0x1f -lbl_8033A4C8: -/* 8033A4C8 00337428 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 8033A4CC 0033742C 40 82 00 10 */ bne lbl_8033A4DC -/* 8033A4D0 00337430 7C C9 33 78 */ mr r9, r6 -/* 8033A4D4 00337434 80 C6 00 00 */ lwz r6, 0(r6) -/* 8033A4D8 00337438 48 00 00 08 */ b lbl_8033A4E0 -lbl_8033A4DC: -/* 8033A4DC 0033743C 80 C6 00 04 */ lwz r6, 4(r6) -lbl_8033A4E0: -/* 8033A4E0 00337440 28 06 00 00 */ cmplwi r6, 0 -/* 8033A4E4 00337444 40 82 FF A8 */ bne lbl_8033A48C -/* 8033A4E8 00337448 91 23 00 00 */ stw r9, 0(r3) -/* 8033A4EC 0033744C 38 04 00 08 */ addi r0, r4, 8 -/* 8033A4F0 00337450 90 03 00 04 */ stw r0, 4(r3) -/* 8033A4F4 00337454 91 03 00 08 */ stw r8, 8(r3) -/* 8033A4F8 00337458 91 43 00 0C */ stw r10, 0xc(r3) -/* 8033A4FC 0033745C 4E 80 00 20 */ blr - -.global sub_8033a500 -sub_8033a500: -/* 8033A500 00337460 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8033A504 00337464 7C 08 02 A6 */ mflr r0 -/* 8033A508 00337468 90 01 00 34 */ stw r0, 0x34(r1) -/* 8033A50C 0033746C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8033A510 00337470 7C 9F 23 78 */ mr r31, r4 -/* 8033A514 00337474 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8033A518 00337478 7C 7E 1B 78 */ mr r30, r3 -/* 8033A51C 0033747C 80 03 00 8C */ lwz r0, 0x8c(r3) -/* 8033A520 00337480 80 64 00 0C */ lwz r3, 0xc(r4) -/* 8033A524 00337484 90 01 00 0C */ stw r0, 0xc(r1) -/* 8033A528 00337488 81 83 00 00 */ lwz r12, 0(r3) -/* 8033A52C 0033748C 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8033A530 00337490 7D 89 03 A6 */ mtctr r12 -/* 8033A534 00337494 4E 80 04 21 */ bctrl -/* 8033A538 00337498 2C 03 00 00 */ cmpwi r3, 0 -/* 8033A53C 0033749C 40 82 00 48 */ bne lbl_8033A584 -/* 8033A540 003374A0 80 1E 00 88 */ lwz r0, 0x88(r30) -/* 8033A544 003374A4 90 01 00 0C */ stw r0, 0xc(r1) -/* 8033A548 003374A8 48 00 00 2C */ b lbl_8033A574 -lbl_8033A54C: -/* 8033A54C 003374AC 80 63 00 14 */ lwz r3, 0x14(r3) -/* 8033A550 003374B0 81 83 00 00 */ lwz r12, 0(r3) -/* 8033A554 003374B4 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8033A558 003374B8 7D 89 03 A6 */ mtctr r12 -/* 8033A55C 003374BC 4E 80 04 21 */ bctrl -/* 8033A560 003374C0 2C 03 00 01 */ cmpwi r3, 1 -/* 8033A564 003374C4 41 82 00 20 */ beq lbl_8033A584 -/* 8033A568 003374C8 80 61 00 0C */ lwz r3, 0xc(r1) -/* 8033A56C 003374CC 80 03 00 04 */ lwz r0, 4(r3) -/* 8033A570 003374D0 90 01 00 0C */ stw r0, 0xc(r1) -lbl_8033A574: -/* 8033A574 003374D4 80 61 00 0C */ lwz r3, 0xc(r1) -/* 8033A578 003374D8 80 1E 00 8C */ lwz r0, 0x8c(r30) -/* 8033A57C 003374DC 7C 03 00 40 */ cmplw r3, r0 -/* 8033A580 003374E0 40 82 FF CC */ bne lbl_8033A54C -lbl_8033A584: -/* 8033A584 003374E4 7F E6 FB 78 */ mr r6, r31 -/* 8033A588 003374E8 38 61 00 08 */ addi r3, r1, 8 -/* 8033A58C 003374EC 38 9E 00 84 */ addi r4, r30, 0x84 -/* 8033A590 003374F0 38 A1 00 0C */ addi r5, r1, 0xc -/* 8033A594 003374F4 48 00 00 49 */ bl sub_8033a5dc -/* 8033A598 003374F8 80 FF 00 00 */ lwz r7, 0(r31) -/* 8033A59C 003374FC 38 61 00 1C */ addi r3, r1, 0x1c -/* 8033A5A0 00337500 80 BF 00 04 */ lwz r5, 4(r31) -/* 8033A5A4 00337504 38 9E 00 9C */ addi r4, r30, 0x9c -/* 8033A5A8 00337508 80 01 00 08 */ lwz r0, 8(r1) -/* 8033A5AC 0033750C 38 C1 00 10 */ addi r6, r1, 0x10 -/* 8033A5B0 00337510 90 E1 00 10 */ stw r7, 0x10(r1) -/* 8033A5B4 00337514 90 A1 00 14 */ stw r5, 0x14(r1) -/* 8033A5B8 00337518 90 01 00 18 */ stw r0, 0x18(r1) -/* 8033A5BC 0033751C 80 BE 00 AC */ lwz r5, 0xac(r30) -/* 8033A5C0 00337520 48 00 04 45 */ bl sub_8033aa04 -/* 8033A5C4 00337524 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8033A5C8 00337528 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8033A5CC 0033752C 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8033A5D0 00337530 7C 08 03 A6 */ mtlr r0 -/* 8033A5D4 00337534 38 21 00 30 */ addi r1, r1, 0x30 -/* 8033A5D8 00337538 4E 80 00 20 */ blr - -.global sub_8033a5dc -sub_8033a5dc: -/* 8033A5DC 0033753C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8033A5E0 00337540 7C 08 02 A6 */ mflr r0 -/* 8033A5E4 00337544 90 01 00 14 */ stw r0, 0x14(r1) -/* 8033A5E8 00337548 7C 80 23 78 */ mr r0, r4 -/* 8033A5EC 0033754C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8033A5F0 00337550 7C 7F 1B 78 */ mr r31, r3 -/* 8033A5F4 00337554 7C 03 03 78 */ mr r3, r0 -/* 8033A5F8 00337558 80 85 00 00 */ lwz r4, 0(r5) -/* 8033A5FC 0033755C 7C C5 33 78 */ mr r5, r6 -/* 8033A600 00337560 4B FF F7 9D */ bl sub_80339d9c -/* 8033A604 00337564 90 7F 00 00 */ stw r3, 0(r31) -/* 8033A608 00337568 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8033A60C 0033756C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8033A610 00337570 7C 08 03 A6 */ mtlr r0 -/* 8033A614 00337574 38 21 00 10 */ addi r1, r1, 0x10 -/* 8033A618 00337578 4E 80 00 20 */ blr - -.global __dt__11CResFactoryFv -__dt__11CResFactoryFv: -/* 8033A61C 0033757C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8033A620 00337580 7C 08 02 A6 */ mflr r0 -/* 8033A624 00337584 90 01 00 14 */ stw r0, 0x14(r1) -/* 8033A628 00337588 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8033A62C 0033758C 7C 9F 23 78 */ mr r31, r4 -/* 8033A630 00337590 93 C1 00 08 */ stw r30, 8(r1) -/* 8033A634 00337594 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8033A638 00337598 41 82 00 9C */ beq lbl_8033A6D4 -/* 8033A63C 0033759C 3C 80 80 3F */ lis r4, lbl_803EE368@ha -/* 8033A640 003375A0 38 7E 00 B0 */ addi r3, r30, 0xb0 -/* 8033A644 003375A4 38 04 E3 68 */ addi r0, r4, lbl_803EE368@l -/* 8033A648 003375A8 38 80 FF FF */ li r4, -1 -/* 8033A64C 003375AC 90 1E 00 00 */ stw r0, 0(r30) -/* 8033A650 003375B0 48 00 03 21 */ bl sub_8033a970 -/* 8033A654 003375B4 34 1E 00 9C */ addic. r0, r30, 0x9c -/* 8033A658 003375B8 41 82 00 34 */ beq lbl_8033A68C -/* 8033A65C 003375BC 34 1E 00 9C */ addic. r0, r30, 0x9c -/* 8033A660 003375C0 41 82 00 2C */ beq lbl_8033A68C -/* 8033A664 003375C4 80 9E 00 AC */ lwz r4, 0xac(r30) -/* 8033A668 003375C8 28 04 00 00 */ cmplwi r4, 0 -/* 8033A66C 003375CC 41 82 00 0C */ beq lbl_8033A678 -/* 8033A670 003375D0 38 7E 00 9C */ addi r3, r30, 0x9c -/* 8033A674 003375D4 48 00 01 25 */ bl sub_8033a798 -lbl_8033A678: -/* 8033A678 003375D8 38 00 00 00 */ li r0, 0 -/* 8033A67C 003375DC 90 1E 00 AC */ stw r0, 0xac(r30) -/* 8033A680 003375E0 90 1E 00 A4 */ stw r0, 0xa4(r30) -/* 8033A684 003375E4 90 1E 00 A8 */ stw r0, 0xa8(r30) -/* 8033A688 003375E8 90 1E 00 A0 */ stw r0, 0xa0(r30) -lbl_8033A68C: -/* 8033A68C 003375EC 38 7E 00 84 */ addi r3, r30, 0x84 -/* 8033A690 003375F0 38 80 FF FF */ li r4, -1 -/* 8033A694 003375F4 48 00 02 DD */ bl sub_8033a970 -/* 8033A698 003375F8 38 7E 00 5C */ addi r3, r30, 0x5c -/* 8033A69C 003375FC 38 80 FF FF */ li r4, -1 -/* 8033A6A0 00337600 4B FF E7 C1 */ bl sub_80338e60 -/* 8033A6A4 00337604 38 7E 00 04 */ addi r3, r30, 4 -/* 8033A6A8 00337608 38 80 FF FF */ li r4, -1 -/* 8033A6AC 0033760C 48 00 1C 5D */ bl __dt__10CResLoaderFv -/* 8033A6B0 00337610 28 1E 00 00 */ cmplwi r30, 0 -/* 8033A6B4 00337614 41 82 00 10 */ beq lbl_8033A6C4 -/* 8033A6B8 00337618 3C 60 80 3E */ lis r3, lbl_803D9C50@ha -/* 8033A6BC 0033761C 38 03 9C 50 */ addi r0, r3, lbl_803D9C50@l -/* 8033A6C0 00337620 90 1E 00 00 */ stw r0, 0(r30) -lbl_8033A6C4: -/* 8033A6C4 00337624 7F E0 07 35 */ extsh. r0, r31 -/* 8033A6C8 00337628 40 81 00 0C */ ble lbl_8033A6D4 -/* 8033A6CC 0033762C 7F C3 F3 78 */ mr r3, r30 -/* 8033A6D0 00337630 4B FD B2 61 */ bl Free__7CMemoryFPCv -lbl_8033A6D4: -/* 8033A6D4 00337634 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8033A6D8 00337638 7F C3 F3 78 */ mr r3, r30 -/* 8033A6DC 0033763C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8033A6E0 00337640 83 C1 00 08 */ lwz r30, 8(r1) -/* 8033A6E4 00337644 7C 08 03 A6 */ mtlr r0 -/* 8033A6E8 00337648 38 21 00 10 */ addi r1, r1, 0x10 -/* 8033A6EC 0033764C 4E 80 00 20 */ blr - -.global __ct__11CResFactoryFv -__ct__11CResFactoryFv: -/* 8033A6F0 00337650 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8033A6F4 00337654 7C 08 02 A6 */ mflr r0 -/* 8033A6F8 00337658 3C 80 80 3E */ lis r4, lbl_803D9C50@ha -/* 8033A6FC 0033765C 90 01 00 24 */ stw r0, 0x24(r1) -/* 8033A700 00337660 38 04 9C 50 */ addi r0, r4, lbl_803D9C50@l -/* 8033A704 00337664 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8033A708 00337668 7C 7F 1B 78 */ mr r31, r3 -/* 8033A70C 0033766C 3C 60 80 3F */ lis r3, lbl_803EE368@ha -/* 8033A710 00337670 90 1F 00 00 */ stw r0, 0(r31) -/* 8033A714 00337674 38 03 E3 68 */ addi r0, r3, lbl_803EE368@l -/* 8033A718 00337678 38 7F 00 04 */ addi r3, r31, 4 -/* 8033A71C 0033767C 90 1F 00 00 */ stw r0, 0(r31) -/* 8033A720 00337680 48 00 1C 9D */ bl __ct__10CResLoaderFv -/* 8033A724 00337684 38 7F 00 5C */ addi r3, r31, 0x5c -/* 8033A728 00337688 4B FF E7 F1 */ bl __ct__11CFactoryMgrFv -/* 8033A72C 0033768C 38 FF 00 90 */ addi r7, r31, 0x90 -/* 8033A730 00337690 38 C0 00 00 */ li r6, 0 -/* 8033A734 00337694 90 FF 00 88 */ stw r7, 0x88(r31) -/* 8033A738 00337698 38 1F 00 BC */ addi r0, r31, 0xbc -/* 8033A73C 0033769C 88 A1 00 08 */ lbz r5, 8(r1) -/* 8033A740 003376A0 7F E3 FB 78 */ mr r3, r31 -/* 8033A744 003376A4 90 FF 00 8C */ stw r7, 0x8c(r31) -/* 8033A748 003376A8 88 81 00 0C */ lbz r4, 0xc(r1) -/* 8033A74C 003376AC 90 FF 00 90 */ stw r7, 0x90(r31) -/* 8033A750 003376B0 90 FF 00 94 */ stw r7, 0x94(r31) -/* 8033A754 003376B4 90 DF 00 98 */ stw r6, 0x98(r31) -/* 8033A758 003376B8 98 BF 00 9C */ stb r5, 0x9c(r31) -/* 8033A75C 003376BC 98 9F 00 9D */ stb r4, 0x9d(r31) -/* 8033A760 003376C0 90 DF 00 A0 */ stw r6, 0xa0(r31) -/* 8033A764 003376C4 90 DF 00 A4 */ stw r6, 0xa4(r31) -/* 8033A768 003376C8 90 DF 00 A8 */ stw r6, 0xa8(r31) -/* 8033A76C 003376CC 90 DF 00 AC */ stw r6, 0xac(r31) -/* 8033A770 003376D0 90 1F 00 B4 */ stw r0, 0xb4(r31) -/* 8033A774 003376D4 90 1F 00 B8 */ stw r0, 0xb8(r31) -/* 8033A778 003376D8 90 1F 00 BC */ stw r0, 0xbc(r31) -/* 8033A77C 003376DC 90 1F 00 C0 */ stw r0, 0xc0(r31) -/* 8033A780 003376E0 90 DF 00 C4 */ stw r6, 0xc4(r31) -/* 8033A784 003376E4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8033A788 003376E8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8033A78C 003376EC 7C 08 03 A6 */ mtlr r0 -/* 8033A790 003376F0 38 21 00 20 */ addi r1, r1, 0x20 -/* 8033A794 003376F4 4E 80 00 20 */ blr - -.global sub_8033a798 -sub_8033a798: -/* 8033A798 003376F8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8033A79C 003376FC 7C 08 02 A6 */ mflr r0 -/* 8033A7A0 00337700 90 01 00 14 */ stw r0, 0x14(r1) -/* 8033A7A4 00337704 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8033A7A8 00337708 7C 9F 23 78 */ mr r31, r4 -/* 8033A7AC 0033770C 93 C1 00 08 */ stw r30, 8(r1) -/* 8033A7B0 00337710 7C 7E 1B 78 */ mr r30, r3 -/* 8033A7B4 00337714 80 84 00 00 */ lwz r4, 0(r4) -/* 8033A7B8 00337718 28 04 00 00 */ cmplwi r4, 0 -/* 8033A7BC 0033771C 41 82 00 08 */ beq lbl_8033A7C4 -/* 8033A7C0 00337720 4B FF FF D9 */ bl sub_8033a798 -lbl_8033A7C4: -/* 8033A7C4 00337724 80 9F 00 04 */ lwz r4, 4(r31) -/* 8033A7C8 00337728 28 04 00 00 */ cmplwi r4, 0 -/* 8033A7CC 0033772C 41 82 00 0C */ beq lbl_8033A7D8 -/* 8033A7D0 00337730 7F C3 F3 78 */ mr r3, r30 -/* 8033A7D4 00337734 4B FF FF C5 */ bl sub_8033a798 -lbl_8033A7D8: -/* 8033A7D8 00337738 28 1F 00 00 */ cmplwi r31, 0 -/* 8033A7DC 0033773C 41 82 00 0C */ beq lbl_8033A7E8 -/* 8033A7E0 00337740 7F E3 FB 78 */ mr r3, r31 -/* 8033A7E4 00337744 4B FD B1 4D */ bl Free__7CMemoryFPCv -lbl_8033A7E8: -/* 8033A7E8 00337748 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8033A7EC 0033774C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8033A7F0 00337750 83 C1 00 08 */ lwz r30, 8(r1) -/* 8033A7F4 00337754 7C 08 03 A6 */ mtlr r0 -/* 8033A7F8 00337758 38 21 00 10 */ addi r1, r1, 0x10 -/* 8033A7FC 0033775C 4E 80 00 20 */ blr - -.global sub_8033a800 -sub_8033a800: -/* 8033A800 00337760 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8033A804 00337764 7C 08 02 A6 */ mflr r0 -/* 8033A808 00337768 90 01 00 24 */ stw r0, 0x24(r1) -/* 8033A80C 0033776C 38 A1 00 0C */ addi r5, r1, 0xc -/* 8033A810 00337770 89 21 00 08 */ lbz r9, 8(r1) -/* 8033A814 00337774 81 04 00 00 */ lwz r8, 0(r4) -/* 8033A818 00337778 80 E4 00 04 */ lwz r7, 4(r4) -/* 8033A81C 0033777C 38 81 00 10 */ addi r4, r1, 0x10 -/* 8033A820 00337780 80 C3 00 00 */ lwz r6, 0(r3) -/* 8033A824 00337784 80 03 00 04 */ lwz r0, 4(r3) -/* 8033A828 00337788 38 61 00 18 */ addi r3, r1, 0x18 -/* 8033A82C 0033778C 99 21 00 0C */ stb r9, 0xc(r1) -/* 8033A830 00337790 91 01 00 10 */ stw r8, 0x10(r1) -/* 8033A834 00337794 90 E1 00 14 */ stw r7, 0x14(r1) -/* 8033A838 00337798 90 C1 00 18 */ stw r6, 0x18(r1) -/* 8033A83C 0033779C 90 01 00 1C */ stw r0, 0x1c(r1) -/* 8033A840 003377A0 48 00 00 15 */ bl sub_8033a854 -/* 8033A844 003377A4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8033A848 003377A8 7C 08 03 A6 */ mtlr r0 -/* 8033A84C 003377AC 38 21 00 20 */ addi r1, r1, 0x20 -/* 8033A850 003377B0 4E 80 00 20 */ blr - -.global sub_8033a854 -sub_8033a854: -/* 8033A854 003377B4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8033A858 003377B8 7C 08 02 A6 */ mflr r0 -/* 8033A85C 003377BC 90 01 00 24 */ stw r0, 0x24(r1) -/* 8033A860 003377C0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8033A864 003377C4 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8033A868 003377C8 3B C0 00 00 */ li r30, 0 -/* 8033A86C 003377CC 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8033A870 003377D0 7C 9D 23 78 */ mr r29, r4 -/* 8033A874 003377D4 80 A3 00 00 */ lwz r5, 0(r3) -/* 8033A878 003377D8 83 E3 00 04 */ lwz r31, 4(r3) -/* 8033A87C 003377DC 48 00 00 18 */ b lbl_8033A894 -lbl_8033A880: -/* 8033A880 003377E0 7F E3 FB 78 */ mr r3, r31 -/* 8033A884 003377E4 7C A4 2B 78 */ mr r4, r5 -/* 8033A888 003377E8 3B DE 00 01 */ addi r30, r30, 1 -/* 8033A88C 003377EC 48 00 1D 55 */ bl rbtree_traverse_forward__4rstlFPCvPv -/* 8033A890 003377F0 7C 65 1B 78 */ mr r5, r3 -lbl_8033A894: -/* 8033A894 003377F4 80 1D 00 00 */ lwz r0, 0(r29) -/* 8033A898 003377F8 38 60 00 00 */ li r3, 0 -/* 8033A89C 003377FC 7C 05 00 40 */ cmplw r5, r0 -/* 8033A8A0 00337800 40 82 00 10 */ bne lbl_8033A8B0 -/* 8033A8A4 00337804 80 1D 00 04 */ lwz r0, 4(r29) -/* 8033A8A8 00337808 7C 1F 00 40 */ cmplw r31, r0 -/* 8033A8AC 0033780C 41 82 00 08 */ beq lbl_8033A8B4 -lbl_8033A8B0: -/* 8033A8B0 00337810 38 60 00 01 */ li r3, 1 -lbl_8033A8B4: -/* 8033A8B4 00337814 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8033A8B8 00337818 40 82 FF C8 */ bne lbl_8033A880 -/* 8033A8BC 0033781C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8033A8C0 00337820 7F C3 F3 78 */ mr r3, r30 -/* 8033A8C4 00337824 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8033A8C8 00337828 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8033A8CC 0033782C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8033A8D0 00337830 7C 08 03 A6 */ mtlr r0 -/* 8033A8D4 00337834 38 21 00 20 */ addi r1, r1, 0x20 -/* 8033A8D8 00337838 4E 80 00 20 */ blr - -.global sub_8033a8dc -sub_8033a8dc: -/* 8033A8DC 0033783C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8033A8E0 00337840 7C 08 02 A6 */ mflr r0 -/* 8033A8E4 00337844 90 01 00 24 */ stw r0, 0x24(r1) -/* 8033A8E8 00337848 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8033A8EC 0033784C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8033A8F0 00337850 7C 9E 23 78 */ mr r30, r4 -/* 8033A8F4 00337854 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8033A8F8 00337858 7C 7D 1B 78 */ mr r29, r3 -/* 8033A8FC 0033785C 80 03 00 04 */ lwz r0, 4(r3) -/* 8033A900 00337860 83 E4 00 04 */ lwz r31, 4(r4) -/* 8033A904 00337864 7C 1E 00 40 */ cmplw r30, r0 -/* 8033A908 00337868 40 82 00 08 */ bne lbl_8033A910 -/* 8033A90C 0033786C 93 FD 00 04 */ stw r31, 4(r29) -lbl_8033A910: -/* 8033A910 00337870 80 1E 00 04 */ lwz r0, 4(r30) -/* 8033A914 00337874 38 7E 00 08 */ addi r3, r30, 8 -/* 8033A918 00337878 80 BE 00 00 */ lwz r5, 0(r30) -/* 8033A91C 0033787C 38 80 FF FF */ li r4, -1 -/* 8033A920 00337880 90 05 00 04 */ stw r0, 4(r5) -/* 8033A924 00337884 80 1E 00 00 */ lwz r0, 0(r30) -/* 8033A928 00337888 80 BE 00 04 */ lwz r5, 4(r30) -/* 8033A92C 0033788C 90 05 00 00 */ stw r0, 0(r5) -/* 8033A930 00337890 4B FF EF 51 */ bl sub_80339880 -/* 8033A934 00337894 28 1E 00 00 */ cmplwi r30, 0 -/* 8033A938 00337898 41 82 00 0C */ beq lbl_8033A944 -/* 8033A93C 0033789C 7F C3 F3 78 */ mr r3, r30 -/* 8033A940 003378A0 4B FD AF F1 */ bl Free__7CMemoryFPCv -lbl_8033A944: -/* 8033A944 003378A4 80 9D 00 14 */ lwz r4, 0x14(r29) -/* 8033A948 003378A8 7F E3 FB 78 */ mr r3, r31 -/* 8033A94C 003378AC 38 04 FF FF */ addi r0, r4, -1 -/* 8033A950 003378B0 90 1D 00 14 */ stw r0, 0x14(r29) -/* 8033A954 003378B4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8033A958 003378B8 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8033A95C 003378BC 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8033A960 003378C0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8033A964 003378C4 7C 08 03 A6 */ mtlr r0 -/* 8033A968 003378C8 38 21 00 20 */ addi r1, r1, 0x20 -/* 8033A96C 003378CC 4E 80 00 20 */ blr - -.global sub_8033a970 -sub_8033a970: -/* 8033A970 003378D0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8033A974 003378D4 7C 08 02 A6 */ mflr r0 -/* 8033A978 003378D8 90 01 00 24 */ stw r0, 0x24(r1) -/* 8033A97C 003378DC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8033A980 003378E0 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8033A984 003378E4 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8033A988 003378E8 7C 9D 23 78 */ mr r29, r4 -/* 8033A98C 003378EC 93 81 00 10 */ stw r28, 0x10(r1) -/* 8033A990 003378F0 7C 7C 1B 79 */ or. r28, r3, r3 -/* 8033A994 003378F4 41 82 00 4C */ beq lbl_8033A9E0 -/* 8033A998 003378F8 83 FC 00 04 */ lwz r31, 4(r28) -/* 8033A99C 003378FC 48 00 00 28 */ b lbl_8033A9C4 -lbl_8033A9A0: -/* 8033A9A0 00337900 7F FE FB 78 */ mr r30, r31 -/* 8033A9A4 00337904 83 FF 00 04 */ lwz r31, 4(r31) -/* 8033A9A8 00337908 38 7E 00 08 */ addi r3, r30, 8 -/* 8033A9AC 0033790C 38 80 FF FF */ li r4, -1 -/* 8033A9B0 00337910 4B FF EE D1 */ bl sub_80339880 -/* 8033A9B4 00337914 28 1E 00 00 */ cmplwi r30, 0 -/* 8033A9B8 00337918 41 82 00 0C */ beq lbl_8033A9C4 -/* 8033A9BC 0033791C 7F C3 F3 78 */ mr r3, r30 -/* 8033A9C0 00337920 4B FD AF 71 */ bl Free__7CMemoryFPCv -lbl_8033A9C4: -/* 8033A9C4 00337924 80 1C 00 08 */ lwz r0, 8(r28) -/* 8033A9C8 00337928 7C 1F 00 40 */ cmplw r31, r0 -/* 8033A9CC 0033792C 40 82 FF D4 */ bne lbl_8033A9A0 -/* 8033A9D0 00337930 7F A0 07 35 */ extsh. r0, r29 -/* 8033A9D4 00337934 40 81 00 0C */ ble lbl_8033A9E0 -/* 8033A9D8 00337938 7F 83 E3 78 */ mr r3, r28 -/* 8033A9DC 0033793C 4B FD AF 55 */ bl Free__7CMemoryFPCv -lbl_8033A9E0: -/* 8033A9E0 00337940 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8033A9E4 00337944 7F 83 E3 78 */ mr r3, r28 -/* 8033A9E8 00337948 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8033A9EC 0033794C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8033A9F0 00337950 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8033A9F4 00337954 83 81 00 10 */ lwz r28, 0x10(r1) -/* 8033A9F8 00337958 7C 08 03 A6 */ mtlr r0 -/* 8033A9FC 0033795C 38 21 00 20 */ addi r1, r1, 0x20 -/* 8033AA00 00337960 4E 80 00 20 */ blr - -.global sub_8033aa04 -sub_8033aa04: -/* 8033AA04 00337964 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8033AA08 00337968 7C 08 02 A6 */ mflr r0 -/* 8033AA0C 0033796C 28 05 00 00 */ cmplwi r5, 0 -/* 8033AA10 00337970 90 01 00 24 */ stw r0, 0x24(r1) -/* 8033AA14 00337974 BF 61 00 0C */ stmw r27, 0xc(r1) -/* 8033AA18 00337978 7C 7B 1B 78 */ mr r27, r3 -/* 8033AA1C 0033797C 7C 9C 23 78 */ mr r28, r4 -/* 8033AA20 00337980 7C DD 33 78 */ mr r29, r6 -/* 8033AA24 00337984 40 82 00 90 */ bne lbl_8033AAB4 -/* 8033AA28 00337988 3C 80 80 3D */ lis r4, lbl_803D7A28@ha -/* 8033AA2C 0033798C 38 60 00 1C */ li r3, 0x1c -/* 8033AA30 00337990 38 84 7A 28 */ addi r4, r4, lbl_803D7A28@l -/* 8033AA34 00337994 38 A0 00 00 */ li r5, 0 -/* 8033AA38 00337998 4B FD AD E1 */ bl __nwa__FUlPCcPCc -/* 8033AA3C 0033799C 28 03 00 00 */ cmplwi r3, 0 -/* 8033AA40 003379A0 41 82 00 38 */ beq lbl_8033AA78 -/* 8033AA44 003379A4 38 00 00 00 */ li r0, 0 -/* 8033AA48 003379A8 34 83 00 10 */ addic. r4, r3, 0x10 -/* 8033AA4C 003379AC 90 03 00 00 */ stw r0, 0(r3) -/* 8033AA50 003379B0 90 03 00 04 */ stw r0, 4(r3) -/* 8033AA54 003379B4 90 03 00 08 */ stw r0, 8(r3) -/* 8033AA58 003379B8 90 03 00 0C */ stw r0, 0xc(r3) -/* 8033AA5C 003379BC 41 82 00 1C */ beq lbl_8033AA78 -/* 8033AA60 003379C0 80 1D 00 00 */ lwz r0, 0(r29) -/* 8033AA64 003379C4 90 04 00 00 */ stw r0, 0(r4) -/* 8033AA68 003379C8 80 1D 00 04 */ lwz r0, 4(r29) -/* 8033AA6C 003379CC 90 04 00 04 */ stw r0, 4(r4) -/* 8033AA70 003379D0 80 1D 00 08 */ lwz r0, 8(r29) -/* 8033AA74 003379D4 90 04 00 08 */ stw r0, 8(r4) -lbl_8033AA78: -/* 8033AA78 003379D8 90 7C 00 10 */ stw r3, 0x10(r28) -/* 8033AA7C 003379DC 38 1C 00 08 */ addi r0, r28, 8 -/* 8033AA80 003379E0 80 7C 00 04 */ lwz r3, 4(r28) -/* 8033AA84 003379E4 38 63 00 01 */ addi r3, r3, 1 -/* 8033AA88 003379E8 90 7C 00 04 */ stw r3, 4(r28) -/* 8033AA8C 003379EC 80 7C 00 10 */ lwz r3, 0x10(r28) -/* 8033AA90 003379F0 90 7C 00 08 */ stw r3, 8(r28) -/* 8033AA94 003379F4 80 7C 00 10 */ lwz r3, 0x10(r28) -/* 8033AA98 003379F8 90 7C 00 0C */ stw r3, 0xc(r28) -/* 8033AA9C 003379FC 80 7C 00 10 */ lwz r3, 0x10(r28) -/* 8033AAA0 00337A00 90 7B 00 00 */ stw r3, 0(r27) -/* 8033AAA4 00337A04 90 1B 00 04 */ stw r0, 4(r27) -/* 8033AAA8 00337A08 88 0D 9D 4C */ lbz r0, lbl_805A890C@sda21(r13) -/* 8033AAAC 00337A0C 98 1B 00 08 */ stb r0, 8(r27) -/* 8033AAB0 00337A10 48 00 01 EC */ b lbl_8033AC9C -lbl_8033AAB4: -/* 8033AAB4 00337A14 7C BF 2B 78 */ mr r31, r5 -/* 8033AAB8 00337A18 3B C0 00 00 */ li r30, 0 -/* 8033AABC 00337A1C 48 00 01 AC */ b lbl_8033AC68 -lbl_8033AAC0: -/* 8033AAC0 00337A20 80 BD 00 00 */ lwz r5, 0(r29) -/* 8033AAC4 00337A24 80 7F 00 10 */ lwz r3, 0x10(r31) -/* 8033AAC8 00337A28 7C 05 18 40 */ cmplw r5, r3 -/* 8033AACC 00337A2C 40 82 00 20 */ bne lbl_8033AAEC -/* 8033AAD0 00337A30 80 1D 00 04 */ lwz r0, 4(r29) -/* 8033AAD4 00337A34 80 7F 00 14 */ lwz r3, 0x14(r31) -/* 8033AAD8 00337A38 7C 60 02 78 */ xor r0, r3, r0 -/* 8033AADC 00337A3C 7C 00 00 34 */ cntlzw r0, r0 -/* 8033AAE0 00337A40 7C 60 00 30 */ slw r0, r3, r0 -/* 8033AAE4 00337A44 54 04 0F FE */ srwi r4, r0, 0x1f -/* 8033AAE8 00337A48 48 00 00 14 */ b lbl_8033AAFC -lbl_8033AAEC: -/* 8033AAEC 00337A4C 7C 60 2A 78 */ xor r0, r3, r5 -/* 8033AAF0 00337A50 7C 00 00 34 */ cntlzw r0, r0 -/* 8033AAF4 00337A54 7C 60 00 30 */ slw r0, r3, r0 -/* 8033AAF8 00337A58 54 04 0F FE */ srwi r4, r0, 0x1f -lbl_8033AAFC: -/* 8033AAFC 00337A5C 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 8033AB00 00337A60 40 82 00 5C */ bne lbl_8033AB5C -/* 8033AB04 00337A64 80 1F 00 10 */ lwz r0, 0x10(r31) -/* 8033AB08 00337A68 7C 00 28 40 */ cmplw r0, r5 -/* 8033AB0C 00337A6C 40 82 00 20 */ bne lbl_8033AB2C -/* 8033AB10 00337A70 80 1F 00 14 */ lwz r0, 0x14(r31) -/* 8033AB14 00337A74 80 7D 00 04 */ lwz r3, 4(r29) -/* 8033AB18 00337A78 7C 60 02 78 */ xor r0, r3, r0 -/* 8033AB1C 00337A7C 7C 00 00 34 */ cntlzw r0, r0 -/* 8033AB20 00337A80 7C 60 00 30 */ slw r0, r3, r0 -/* 8033AB24 00337A84 54 00 0F FE */ srwi r0, r0, 0x1f -/* 8033AB28 00337A88 48 00 00 14 */ b lbl_8033AB3C -lbl_8033AB2C: -/* 8033AB2C 00337A8C 7C A0 02 78 */ xor r0, r5, r0 -/* 8033AB30 00337A90 7C 00 00 34 */ cntlzw r0, r0 -/* 8033AB34 00337A94 7C A0 00 30 */ slw r0, r5, r0 -/* 8033AB38 00337A98 54 00 0F FE */ srwi r0, r0, 0x1f -lbl_8033AB3C: -/* 8033AB3C 00337A9C 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 8033AB40 00337AA0 40 82 00 1C */ bne lbl_8033AB5C -/* 8033AB44 00337AA4 93 FB 00 00 */ stw r31, 0(r27) -/* 8033AB48 00337AA8 38 1C 00 08 */ addi r0, r28, 8 -/* 8033AB4C 00337AAC 90 1B 00 04 */ stw r0, 4(r27) -/* 8033AB50 00337AB0 88 0D 9D 4D */ lbz r0, lbl_805A890D@sda21(r13) -/* 8033AB54 00337AB4 98 1B 00 08 */ stb r0, 8(r27) -/* 8033AB58 00337AB8 48 00 01 44 */ b lbl_8033AC9C -lbl_8033AB5C: -/* 8033AB5C 00337ABC 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 8033AB60 00337AC0 41 82 00 88 */ beq lbl_8033ABE8 -/* 8033AB64 00337AC4 80 1F 00 00 */ lwz r0, 0(r31) -/* 8033AB68 00337AC8 28 00 00 00 */ cmplwi r0, 0 -/* 8033AB6C 00337ACC 40 82 00 74 */ bne lbl_8033ABE0 -/* 8033AB70 00337AD0 3C 80 80 3D */ lis r4, lbl_803D7A28@ha -/* 8033AB74 00337AD4 38 60 00 1C */ li r3, 0x1c -/* 8033AB78 00337AD8 38 84 7A 28 */ addi r4, r4, lbl_803D7A28@l -/* 8033AB7C 00337ADC 38 A0 00 00 */ li r5, 0 -/* 8033AB80 00337AE0 4B FD AC 99 */ bl __nwa__FUlPCcPCc -/* 8033AB84 00337AE4 28 03 00 00 */ cmplwi r3, 0 -/* 8033AB88 00337AE8 41 82 00 3C */ beq lbl_8033ABC4 -/* 8033AB8C 00337AEC 38 80 00 00 */ li r4, 0 -/* 8033AB90 00337AF0 34 A3 00 10 */ addic. r5, r3, 0x10 -/* 8033AB94 00337AF4 90 83 00 00 */ stw r4, 0(r3) -/* 8033AB98 00337AF8 38 00 00 01 */ li r0, 1 -/* 8033AB9C 00337AFC 90 83 00 04 */ stw r4, 4(r3) -/* 8033ABA0 00337B00 93 E3 00 08 */ stw r31, 8(r3) -/* 8033ABA4 00337B04 90 03 00 0C */ stw r0, 0xc(r3) -/* 8033ABA8 00337B08 41 82 00 1C */ beq lbl_8033ABC4 -/* 8033ABAC 00337B0C 80 1D 00 00 */ lwz r0, 0(r29) -/* 8033ABB0 00337B10 90 05 00 00 */ stw r0, 0(r5) -/* 8033ABB4 00337B14 80 1D 00 04 */ lwz r0, 4(r29) -/* 8033ABB8 00337B18 90 05 00 04 */ stw r0, 4(r5) -/* 8033ABBC 00337B1C 80 1D 00 08 */ lwz r0, 8(r29) -/* 8033ABC0 00337B20 90 05 00 08 */ stw r0, 8(r5) -lbl_8033ABC4: -/* 8033ABC4 00337B24 90 7F 00 00 */ stw r3, 0(r31) -/* 8033ABC8 00337B28 7C 7E 1B 78 */ mr r30, r3 -/* 8033ABCC 00337B2C 80 1C 00 08 */ lwz r0, 8(r28) -/* 8033ABD0 00337B30 7C 1F 00 40 */ cmplw r31, r0 -/* 8033ABD4 00337B34 40 82 00 94 */ bne lbl_8033AC68 -/* 8033ABD8 00337B38 90 7C 00 08 */ stw r3, 8(r28) -/* 8033ABDC 00337B3C 48 00 00 8C */ b lbl_8033AC68 -lbl_8033ABE0: -/* 8033ABE0 00337B40 7C 1F 03 78 */ mr r31, r0 -/* 8033ABE4 00337B44 48 00 00 84 */ b lbl_8033AC68 -lbl_8033ABE8: -/* 8033ABE8 00337B48 80 1F 00 04 */ lwz r0, 4(r31) -/* 8033ABEC 00337B4C 28 00 00 00 */ cmplwi r0, 0 -/* 8033ABF0 00337B50 40 82 00 74 */ bne lbl_8033AC64 -/* 8033ABF4 00337B54 3C 80 80 3D */ lis r4, lbl_803D7A28@ha -/* 8033ABF8 00337B58 38 60 00 1C */ li r3, 0x1c -/* 8033ABFC 00337B5C 38 84 7A 28 */ addi r4, r4, lbl_803D7A28@l -/* 8033AC00 00337B60 38 A0 00 00 */ li r5, 0 -/* 8033AC04 00337B64 4B FD AC 15 */ bl __nwa__FUlPCcPCc -/* 8033AC08 00337B68 28 03 00 00 */ cmplwi r3, 0 -/* 8033AC0C 00337B6C 41 82 00 3C */ beq lbl_8033AC48 -/* 8033AC10 00337B70 38 80 00 00 */ li r4, 0 -/* 8033AC14 00337B74 34 A3 00 10 */ addic. r5, r3, 0x10 -/* 8033AC18 00337B78 90 83 00 00 */ stw r4, 0(r3) -/* 8033AC1C 00337B7C 38 00 00 01 */ li r0, 1 -/* 8033AC20 00337B80 90 83 00 04 */ stw r4, 4(r3) -/* 8033AC24 00337B84 93 E3 00 08 */ stw r31, 8(r3) -/* 8033AC28 00337B88 90 03 00 0C */ stw r0, 0xc(r3) -/* 8033AC2C 00337B8C 41 82 00 1C */ beq lbl_8033AC48 -/* 8033AC30 00337B90 80 1D 00 00 */ lwz r0, 0(r29) -/* 8033AC34 00337B94 90 05 00 00 */ stw r0, 0(r5) -/* 8033AC38 00337B98 80 1D 00 04 */ lwz r0, 4(r29) -/* 8033AC3C 00337B9C 90 05 00 04 */ stw r0, 4(r5) -/* 8033AC40 00337BA0 80 1D 00 08 */ lwz r0, 8(r29) -/* 8033AC44 00337BA4 90 05 00 08 */ stw r0, 8(r5) -lbl_8033AC48: -/* 8033AC48 00337BA8 90 7F 00 04 */ stw r3, 4(r31) -/* 8033AC4C 00337BAC 7C 7E 1B 78 */ mr r30, r3 -/* 8033AC50 00337BB0 80 1C 00 0C */ lwz r0, 0xc(r28) -/* 8033AC54 00337BB4 7C 1F 00 40 */ cmplw r31, r0 -/* 8033AC58 00337BB8 40 82 00 10 */ bne lbl_8033AC68 -/* 8033AC5C 00337BBC 90 7C 00 0C */ stw r3, 0xc(r28) -/* 8033AC60 00337BC0 48 00 00 08 */ b lbl_8033AC68 -lbl_8033AC64: -/* 8033AC64 00337BC4 7C 1F 03 78 */ mr r31, r0 -lbl_8033AC68: -/* 8033AC68 00337BC8 28 1E 00 00 */ cmplwi r30, 0 -/* 8033AC6C 00337BCC 41 82 FE 54 */ beq lbl_8033AAC0 -/* 8033AC70 00337BD0 80 BC 00 04 */ lwz r5, 4(r28) -/* 8033AC74 00337BD4 7F C4 F3 78 */ mr r4, r30 -/* 8033AC78 00337BD8 38 7C 00 08 */ addi r3, r28, 8 -/* 8033AC7C 00337BDC 38 05 00 01 */ addi r0, r5, 1 -/* 8033AC80 00337BE0 90 1C 00 04 */ stw r0, 4(r28) -/* 8033AC84 00337BE4 48 00 1E 15 */ bl rbtree_rebalance__4rstlFPvPv -/* 8033AC88 00337BE8 93 DB 00 00 */ stw r30, 0(r27) -/* 8033AC8C 00337BEC 38 1C 00 08 */ addi r0, r28, 8 -/* 8033AC90 00337BF0 90 1B 00 04 */ stw r0, 4(r27) -/* 8033AC94 00337BF4 88 0D 9D 4E */ lbz r0, lbl_805A890E@sda21(r13) -/* 8033AC98 00337BF8 98 1B 00 08 */ stb r0, 8(r27) -lbl_8033AC9C: -/* 8033AC9C 00337BFC BB 61 00 0C */ lmw r27, 0xc(r1) -/* 8033ACA0 00337C00 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8033ACA4 00337C04 7C 08 03 A6 */ mtlr r0 -/* 8033ACA8 00337C08 38 21 00 20 */ addi r1, r1, 0x20 -/* 8033ACAC 00337C0C 4E 80 00 20 */ blr - -.global GetPakFile__10CResLoaderCFi -GetPakFile__10CResLoaderCFi: -/* 8033ACB0 00337C10 80 03 00 14 */ lwz r0, 0x14(r3) -/* 8033ACB4 00337C14 7C 04 00 00 */ cmpw r4, r0 -/* 8033ACB8 00337C18 40 80 00 7C */ bge lbl_8033AD34 -/* 8033ACBC 00337C1C 2C 04 00 00 */ cmpwi r4, 0 -/* 8033ACC0 00337C20 80 A3 00 04 */ lwz r5, 4(r3) -/* 8033ACC4 00337C24 38 C0 00 00 */ li r6, 0 -/* 8033ACC8 00337C28 40 81 00 64 */ ble lbl_8033AD2C -/* 8033ACCC 00337C2C 2C 04 00 08 */ cmpwi r4, 8 -/* 8033ACD0 00337C30 38 64 FF F8 */ addi r3, r4, -8 -/* 8033ACD4 00337C34 40 81 00 40 */ ble lbl_8033AD14 -/* 8033ACD8 00337C38 38 03 00 07 */ addi r0, r3, 7 -/* 8033ACDC 00337C3C 54 00 E8 FE */ srwi r0, r0, 3 -/* 8033ACE0 00337C40 7C 09 03 A6 */ mtctr r0 -/* 8033ACE4 00337C44 2C 03 00 00 */ cmpwi r3, 0 -/* 8033ACE8 00337C48 40 81 00 2C */ ble lbl_8033AD14 -lbl_8033ACEC: -/* 8033ACEC 00337C4C 80 65 00 04 */ lwz r3, 4(r5) -/* 8033ACF0 00337C50 38 C6 00 08 */ addi r6, r6, 8 -/* 8033ACF4 00337C54 80 63 00 04 */ lwz r3, 4(r3) -/* 8033ACF8 00337C58 80 63 00 04 */ lwz r3, 4(r3) -/* 8033ACFC 00337C5C 80 63 00 04 */ lwz r3, 4(r3) -/* 8033AD00 00337C60 80 63 00 04 */ lwz r3, 4(r3) -/* 8033AD04 00337C64 80 63 00 04 */ lwz r3, 4(r3) -/* 8033AD08 00337C68 80 63 00 04 */ lwz r3, 4(r3) -/* 8033AD0C 00337C6C 80 A3 00 04 */ lwz r5, 4(r3) -/* 8033AD10 00337C70 42 00 FF DC */ bdnz lbl_8033ACEC -lbl_8033AD14: -/* 8033AD14 00337C74 7C 06 20 50 */ subf r0, r6, r4 -/* 8033AD18 00337C78 7C 09 03 A6 */ mtctr r0 -/* 8033AD1C 00337C7C 7C 06 20 00 */ cmpw r6, r4 -/* 8033AD20 00337C80 40 80 00 0C */ bge lbl_8033AD2C -lbl_8033AD24: -/* 8033AD24 00337C84 80 A5 00 04 */ lwz r5, 4(r5) -/* 8033AD28 00337C88 42 00 FF FC */ bdnz lbl_8033AD24 -lbl_8033AD2C: -/* 8033AD2C 00337C8C 80 65 00 0C */ lwz r3, 0xc(r5) -/* 8033AD30 00337C90 4E 80 00 20 */ blr -lbl_8033AD34: -/* 8033AD34 00337C94 7C 80 20 51 */ subf. r4, r0, r4 -/* 8033AD38 00337C98 80 A3 00 1C */ lwz r5, 0x1c(r3) -/* 8033AD3C 00337C9C 38 C0 00 00 */ li r6, 0 -/* 8033AD40 00337CA0 40 81 00 64 */ ble lbl_8033ADA4 -/* 8033AD44 00337CA4 2C 04 00 08 */ cmpwi r4, 8 -/* 8033AD48 00337CA8 38 64 FF F8 */ addi r3, r4, -8 -/* 8033AD4C 00337CAC 40 81 00 40 */ ble lbl_8033AD8C -/* 8033AD50 00337CB0 38 03 00 07 */ addi r0, r3, 7 -/* 8033AD54 00337CB4 54 00 E8 FE */ srwi r0, r0, 3 -/* 8033AD58 00337CB8 7C 09 03 A6 */ mtctr r0 -/* 8033AD5C 00337CBC 2C 03 00 00 */ cmpwi r3, 0 -/* 8033AD60 00337CC0 40 81 00 2C */ ble lbl_8033AD8C -lbl_8033AD64: -/* 8033AD64 00337CC4 80 65 00 04 */ lwz r3, 4(r5) -/* 8033AD68 00337CC8 38 C6 00 08 */ addi r6, r6, 8 -/* 8033AD6C 00337CCC 80 63 00 04 */ lwz r3, 4(r3) -/* 8033AD70 00337CD0 80 63 00 04 */ lwz r3, 4(r3) -/* 8033AD74 00337CD4 80 63 00 04 */ lwz r3, 4(r3) -/* 8033AD78 00337CD8 80 63 00 04 */ lwz r3, 4(r3) -/* 8033AD7C 00337CDC 80 63 00 04 */ lwz r3, 4(r3) -/* 8033AD80 00337CE0 80 63 00 04 */ lwz r3, 4(r3) -/* 8033AD84 00337CE4 80 A3 00 04 */ lwz r5, 4(r3) -/* 8033AD88 00337CE8 42 00 FF DC */ bdnz lbl_8033AD64 -lbl_8033AD8C: -/* 8033AD8C 00337CEC 7C 06 20 50 */ subf r0, r6, r4 -/* 8033AD90 00337CF0 7C 09 03 A6 */ mtctr r0 -/* 8033AD94 00337CF4 7C 06 20 00 */ cmpw r6, r4 -/* 8033AD98 00337CF8 40 80 00 0C */ bge lbl_8033ADA4 -lbl_8033AD9C: -/* 8033AD9C 00337CFC 80 A5 00 04 */ lwz r5, 4(r5) -/* 8033ADA0 00337D00 42 00 FF FC */ bdnz lbl_8033AD9C -lbl_8033ADA4: -/* 8033ADA4 00337D04 80 65 00 0C */ lwz r3, 0xc(r5) -/* 8033ADA8 00337D08 4E 80 00 20 */ blr - -.global GetPakCount__10CResLoaderCFv -GetPakCount__10CResLoaderCFv: -/* 8033ADAC 00337D0C 80 83 00 14 */ lwz r4, 0x14(r3) -/* 8033ADB0 00337D10 80 03 00 2C */ lwz r0, 0x2c(r3) -/* 8033ADB4 00337D14 7C 64 02 14 */ add r3, r4, r0 -/* 8033ADB8 00337D18 4E 80 00 20 */ blr - -.global sub_8033adbc -sub_8033adbc: -/* 8033ADBC 00337D1C 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 8033ADC0 00337D20 7C 08 02 A6 */ mflr r0 -/* 8033ADC4 00337D24 38 E0 00 00 */ li r7, 0 -/* 8033ADC8 00337D28 90 01 00 54 */ stw r0, 0x54(r1) -/* 8033ADCC 00337D2C 38 04 00 18 */ addi r0, r4, 0x18 -/* 8033ADD0 00337D30 BF 61 00 3C */ stmw r27, 0x3c(r1) -/* 8033ADD4 00337D34 7C 7B 1B 78 */ mr r27, r3 -/* 8033ADD8 00337D38 3B C1 00 20 */ addi r30, r1, 0x20 -/* 8033ADDC 00337D3C 80 C2 D7 A0 */ lwz r6, lbl_805AF4C0@sda21(r2) -/* 8033ADE0 00337D40 80 A2 D7 A4 */ lwz r5, lbl_805AF4C4@sda21(r2) -/* 8033ADE4 00337D44 90 C1 00 20 */ stw r6, 0x20(r1) -/* 8033ADE8 00337D48 80 C4 00 04 */ lwz r6, 4(r4) -/* 8033ADEC 00337D4C 90 A1 00 24 */ stw r5, 0x24(r1) -/* 8033ADF0 00337D50 80 A4 00 08 */ lwz r5, 8(r4) -/* 8033ADF4 00337D54 90 81 00 20 */ stw r4, 0x20(r1) -/* 8033ADF8 00337D58 90 01 00 24 */ stw r0, 0x24(r1) -/* 8033ADFC 00337D5C 48 00 00 20 */ b lbl_8033AE1C -lbl_8033AE00: -/* 8033AE00 00337D60 80 66 00 0C */ lwz r3, 0xc(r6) -/* 8033AE04 00337D64 88 03 00 28 */ lbz r0, 0x28(r3) -/* 8033AE08 00337D68 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 8033AE0C 00337D6C 40 82 00 0C */ bne lbl_8033AE18 -/* 8033AE10 00337D70 80 03 00 58 */ lwz r0, 0x58(r3) -/* 8033AE14 00337D74 7C E7 02 14 */ add r7, r7, r0 -lbl_8033AE18: -/* 8033AE18 00337D78 80 C6 00 04 */ lwz r6, 4(r6) -lbl_8033AE1C: -/* 8033AE1C 00337D7C 7C 06 28 40 */ cmplw r6, r5 -/* 8033AE20 00337D80 40 82 FF E0 */ bne lbl_8033AE00 -/* 8033AE24 00337D84 80 61 00 24 */ lwz r3, 0x24(r1) -/* 8033AE28 00337D88 80 C3 00 04 */ lwz r6, 4(r3) -/* 8033AE2C 00337D8C 80 A3 00 08 */ lwz r5, 8(r3) -/* 8033AE30 00337D90 48 00 00 20 */ b lbl_8033AE50 -lbl_8033AE34: -/* 8033AE34 00337D94 80 66 00 0C */ lwz r3, 0xc(r6) -/* 8033AE38 00337D98 88 03 00 28 */ lbz r0, 0x28(r3) -/* 8033AE3C 00337D9C 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 8033AE40 00337DA0 40 82 00 0C */ bne lbl_8033AE4C -/* 8033AE44 00337DA4 80 03 00 58 */ lwz r0, 0x58(r3) -/* 8033AE48 00337DA8 7C E7 02 14 */ add r7, r7, r0 -lbl_8033AE4C: -/* 8033AE4C 00337DAC 80 C6 00 04 */ lwz r6, 4(r6) -lbl_8033AE50: -/* 8033AE50 00337DB0 7C 06 28 40 */ cmplw r6, r5 -/* 8033AE54 00337DB4 40 82 FF E0 */ bne lbl_8033AE34 -/* 8033AE58 00337DB8 38 00 00 00 */ li r0, 0 -/* 8033AE5C 00337DBC 7C E4 3B 78 */ mr r4, r7 -/* 8033AE60 00337DC0 90 01 00 2C */ stw r0, 0x2c(r1) -/* 8033AE64 00337DC4 38 61 00 28 */ addi r3, r1, 0x28 -/* 8033AE68 00337DC8 90 01 00 30 */ stw r0, 0x30(r1) -/* 8033AE6C 00337DCC 90 01 00 34 */ stw r0, 0x34(r1) -/* 8033AE70 00337DD0 4B EE 23 55 */ bl "reserve__Q24rstl138vector,Q24rstl17rmemory_allocator>,10SObjectTag>,Q24rstl17rmemory_allocator>Fi" -/* 8033AE74 00337DD4 3B A0 00 00 */ li r29, 0 -lbl_8033AE78: -/* 8033AE78 00337DD8 83 9E 00 00 */ lwz r28, 0(r30) -/* 8033AE7C 00337DDC 83 FC 00 04 */ lwz r31, 4(r28) -/* 8033AE80 00337DE0 48 00 00 68 */ b lbl_8033AEE8 -lbl_8033AE84: -/* 8033AE84 00337DE4 81 5F 00 0C */ lwz r10, 0xc(r31) -/* 8033AE88 00337DE8 88 0A 00 28 */ lbz r0, 0x28(r10) -/* 8033AE8C 00337DEC 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 8033AE90 00337DF0 40 82 00 54 */ bne lbl_8033AEE4 -/* 8033AE94 00337DF4 80 AA 00 58 */ lwz r5, 0x58(r10) -/* 8033AE98 00337DF8 38 61 00 28 */ addi r3, r1, 0x28 -/* 8033AE9C 00337DFC 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 8033AEA0 00337E00 38 81 00 1C */ addi r4, r1, 0x1c -/* 8033AEA4 00337E04 1D 05 00 18 */ mulli r8, r5, 0x18 -/* 8033AEA8 00337E08 81 2A 00 60 */ lwz r9, 0x60(r10) -/* 8033AEAC 00337E0C 80 E1 00 34 */ lwz r7, 0x34(r1) -/* 8033AEB0 00337E10 38 A1 00 14 */ addi r5, r1, 0x14 -/* 8033AEB4 00337E14 38 C1 00 0C */ addi r6, r1, 0xc -/* 8033AEB8 00337E18 7D 29 42 14 */ add r9, r9, r8 -/* 8033AEBC 00337E1C 91 21 00 0C */ stw r9, 0xc(r1) -/* 8033AEC0 00337E20 1C 00 00 18 */ mulli r0, r0, 0x18 -/* 8033AEC4 00337E24 81 0A 00 60 */ lwz r8, 0x60(r10) -/* 8033AEC8 00337E28 7C 07 02 14 */ add r0, r7, r0 -/* 8033AECC 00337E2C 91 21 00 08 */ stw r9, 8(r1) -/* 8033AED0 00337E30 91 01 00 10 */ stw r8, 0x10(r1) -/* 8033AED4 00337E34 91 01 00 14 */ stw r8, 0x14(r1) -/* 8033AED8 00337E38 90 01 00 18 */ stw r0, 0x18(r1) -/* 8033AEDC 00337E3C 90 01 00 1C */ stw r0, 0x1c(r1) -/* 8033AEE0 00337E40 48 00 00 F5 */ bl sub_8033afd4 -lbl_8033AEE4: -/* 8033AEE4 00337E44 83 FF 00 04 */ lwz r31, 4(r31) -lbl_8033AEE8: -/* 8033AEE8 00337E48 80 1C 00 08 */ lwz r0, 8(r28) -/* 8033AEEC 00337E4C 7C 1F 00 40 */ cmplw r31, r0 -/* 8033AEF0 00337E50 40 82 FF 94 */ bne lbl_8033AE84 -/* 8033AEF4 00337E54 3B BD 00 01 */ addi r29, r29, 1 -/* 8033AEF8 00337E58 3B DE 00 04 */ addi r30, r30, 4 -/* 8033AEFC 00337E5C 2C 1D 00 02 */ cmpwi r29, 2 -/* 8033AF00 00337E60 41 80 FF 78 */ blt lbl_8033AE78 -/* 8033AF04 00337E64 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 8033AF08 00337E68 90 1B 00 04 */ stw r0, 4(r27) -/* 8033AF0C 00337E6C 80 01 00 30 */ lwz r0, 0x30(r1) -/* 8033AF10 00337E70 90 1B 00 08 */ stw r0, 8(r27) -/* 8033AF14 00337E74 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 8033AF18 00337E78 2C 00 00 00 */ cmpwi r0, 0 -/* 8033AF1C 00337E7C 40 82 00 1C */ bne lbl_8033AF38 -/* 8033AF20 00337E80 80 01 00 30 */ lwz r0, 0x30(r1) -/* 8033AF24 00337E84 2C 00 00 00 */ cmpwi r0, 0 -/* 8033AF28 00337E88 40 82 00 10 */ bne lbl_8033AF38 -/* 8033AF2C 00337E8C 38 00 00 00 */ li r0, 0 -/* 8033AF30 00337E90 90 1B 00 0C */ stw r0, 0xc(r27) -/* 8033AF34 00337E94 48 00 00 80 */ b lbl_8033AFB4 -lbl_8033AF38: -/* 8033AF38 00337E98 80 1B 00 08 */ lwz r0, 8(r27) -/* 8033AF3C 00337E9C 1C 60 00 18 */ mulli r3, r0, 0x18 -/* 8033AF40 00337EA0 2C 03 00 00 */ cmpwi r3, 0 -/* 8033AF44 00337EA4 40 82 00 10 */ bne lbl_8033AF54 -/* 8033AF48 00337EA8 38 00 00 00 */ li r0, 0 -/* 8033AF4C 00337EAC 90 1B 00 0C */ stw r0, 0xc(r27) -/* 8033AF50 00337EB0 48 00 00 18 */ b lbl_8033AF68 -lbl_8033AF54: -/* 8033AF54 00337EB4 3C 80 80 3D */ lis r4, lbl_803D7A38@ha -/* 8033AF58 00337EB8 38 A0 00 00 */ li r5, 0 -/* 8033AF5C 00337EBC 38 84 7A 38 */ addi r4, r4, lbl_803D7A38@l -/* 8033AF60 00337EC0 4B FD A8 B9 */ bl __nwa__FUlPCcPCc -/* 8033AF64 00337EC4 90 7B 00 0C */ stw r3, 0xc(r27) -lbl_8033AF68: -/* 8033AF68 00337EC8 83 DB 00 04 */ lwz r30, 4(r27) -/* 8033AF6C 00337ECC 3B 80 00 00 */ li r28, 0 -/* 8033AF70 00337ED0 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 8033AF74 00337ED4 83 7B 00 0C */ lwz r27, 0xc(r27) -/* 8033AF78 00337ED8 48 00 00 34 */ b lbl_8033AFAC -lbl_8033AF7C: -/* 8033AF7C 00337EDC 28 1B 00 00 */ cmplwi r27, 0 -/* 8033AF80 00337EE0 41 82 00 20 */ beq lbl_8033AFA0 -/* 8033AF84 00337EE4 7F 63 DB 78 */ mr r3, r27 -/* 8033AF88 00337EE8 7F A4 EB 78 */ mr r4, r29 -/* 8033AF8C 00337EEC 48 00 31 D5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8033AF90 00337EF0 80 1D 00 10 */ lwz r0, 0x10(r29) -/* 8033AF94 00337EF4 90 1B 00 10 */ stw r0, 0x10(r27) -/* 8033AF98 00337EF8 80 1D 00 14 */ lwz r0, 0x14(r29) -/* 8033AF9C 00337EFC 90 1B 00 14 */ stw r0, 0x14(r27) -lbl_8033AFA0: -/* 8033AFA0 00337F00 3B 7B 00 18 */ addi r27, r27, 0x18 -/* 8033AFA4 00337F04 3B 9C 00 01 */ addi r28, r28, 1 -/* 8033AFA8 00337F08 3B BD 00 18 */ addi r29, r29, 0x18 -lbl_8033AFAC: -/* 8033AFAC 00337F0C 7C 1C F0 00 */ cmpw r28, r30 -/* 8033AFB0 00337F10 41 80 FF CC */ blt lbl_8033AF7C -lbl_8033AFB4: -/* 8033AFB4 00337F14 38 61 00 28 */ addi r3, r1, 0x28 -/* 8033AFB8 00337F18 38 80 FF FF */ li r4, -1 -/* 8033AFBC 00337F1C 4B CC 9A 31 */ bl sub_800049ec -/* 8033AFC0 00337F20 BB 61 00 3C */ lmw r27, 0x3c(r1) -/* 8033AFC4 00337F24 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8033AFC8 00337F28 7C 08 03 A6 */ mtlr r0 -/* 8033AFCC 00337F2C 38 21 00 50 */ addi r1, r1, 0x50 -/* 8033AFD0 00337F30 4E 80 00 20 */ blr - -.global sub_8033afd4 -sub_8033afd4: -/* 8033AFD4 00337F34 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8033AFD8 00337F38 7C 08 02 A6 */ mflr r0 -/* 8033AFDC 00337F3C 90 01 00 24 */ stw r0, 0x24(r1) -/* 8033AFE0 00337F40 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8033AFE4 00337F44 7C 7F 1B 78 */ mr r31, r3 -/* 8033AFE8 00337F48 38 61 00 10 */ addi r3, r1, 0x10 -/* 8033AFEC 00337F4C 80 E5 00 00 */ lwz r7, 0(r5) -/* 8033AFF0 00337F50 80 04 00 00 */ lwz r0, 0(r4) -/* 8033AFF4 00337F54 38 81 00 0C */ addi r4, r1, 0xc -/* 8033AFF8 00337F58 80 A6 00 00 */ lwz r5, 0(r6) -/* 8033AFFC 00337F5C 90 E1 00 08 */ stw r7, 8(r1) -/* 8033B000 00337F60 90 A1 00 0C */ stw r5, 0xc(r1) -/* 8033B004 00337F64 90 E1 00 10 */ stw r7, 0x10(r1) -/* 8033B008 00337F68 90 01 00 14 */ stw r0, 0x14(r1) -/* 8033B00C 00337F6C 48 00 14 19 */ bl "distance,Q24rstl17rmemory_allocator>,10SObjectTag>,Q24rstl138vector,Q24rstl17rmemory_allocator>,10SObjectTag>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl303const_pointer_iterator,Q24rstl17rmemory_allocator>,10SObjectTag>,Q24rstl138vector,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8033B0E0 00338040 80 19 00 10 */ lwz r0, 0x10(r25) -/* 8033B0E4 00338044 90 15 00 10 */ stw r0, 0x10(r21) -/* 8033B0E8 00338048 80 19 00 14 */ lwz r0, 0x14(r25) -/* 8033B0EC 0033804C 90 15 00 14 */ stw r0, 0x14(r21) -lbl_8033B0F0: -/* 8033B0F0 00338050 28 1A 00 00 */ cmplwi r26, 0 -/* 8033B0F4 00338054 41 82 00 10 */ beq lbl_8033B104 -/* 8033B0F8 00338058 41 82 00 0C */ beq lbl_8033B104 -/* 8033B0FC 0033805C 7F 43 D3 78 */ mr r3, r26 -/* 8033B100 00338060 48 00 29 E1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8033B104: -/* 8033B104 00338064 3A B5 FF E8 */ addi r21, r21, -24 -/* 8033B108 00338068 3B 5A FF E8 */ addi r26, r26, -24 -/* 8033B10C 0033806C 3B 7B FF FF */ addi r27, r27, -1 -lbl_8033B110: -/* 8033B110 00338070 2C 1B 00 00 */ cmpwi r27, 0 -/* 8033B114 00338074 40 80 FF A8 */ bge lbl_8033B0BC -/* 8033B118 00338078 3A A0 00 00 */ li r21, 0 -/* 8033B11C 0033807C 48 00 00 34 */ b lbl_8033B150 -lbl_8033B120: -/* 8033B120 00338080 28 14 00 00 */ cmplwi r20, 0 -/* 8033B124 00338084 41 82 00 20 */ beq lbl_8033B144 -/* 8033B128 00338088 7E 83 A3 78 */ mr r3, r20 -/* 8033B12C 0033808C 7F C4 F3 78 */ mr r4, r30 -/* 8033B130 00338090 48 00 30 31 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8033B134 00338094 80 1E 00 10 */ lwz r0, 0x10(r30) -/* 8033B138 00338098 90 14 00 10 */ stw r0, 0x10(r20) -/* 8033B13C 0033809C 80 1E 00 14 */ lwz r0, 0x14(r30) -/* 8033B140 003380A0 90 14 00 14 */ stw r0, 0x14(r20) -lbl_8033B144: -/* 8033B144 003380A4 3B DE 00 18 */ addi r30, r30, 0x18 -/* 8033B148 003380A8 3A 94 00 18 */ addi r20, r20, 0x18 -/* 8033B14C 003380AC 3A B5 00 01 */ addi r21, r21, 1 -lbl_8033B150: -/* 8033B150 003380B0 7C 15 C0 00 */ cmpw r21, r24 -/* 8033B154 003380B4 41 80 FF CC */ blt lbl_8033B120 -/* 8033B158 003380B8 80 17 00 04 */ lwz r0, 4(r23) -/* 8033B15C 003380BC 7C 00 C2 14 */ add r0, r0, r24 -/* 8033B160 003380C0 90 17 00 04 */ stw r0, 4(r23) -/* 8033B164 003380C4 48 00 01 C4 */ b lbl_8033B328 -lbl_8033B168: -/* 8033B168 003380C8 2C 03 00 00 */ cmpwi r3, 0 -/* 8033B16C 003380CC 38 00 00 04 */ li r0, 4 -/* 8033B170 003380D0 41 82 00 08 */ beq lbl_8033B178 -/* 8033B174 003380D4 54 60 08 3C */ slwi r0, r3, 1 -lbl_8033B178: -/* 8033B178 003380D8 7C 1B 03 78 */ mr r27, r0 -/* 8033B17C 003380DC 48 00 00 08 */ b lbl_8033B184 -lbl_8033B180: -/* 8033B180 003380E0 57 7B 08 3C */ slwi r27, r27, 1 -lbl_8033B184: -/* 8033B184 003380E4 7C 1B 38 00 */ cmpw r27, r7 -/* 8033B188 003380E8 41 80 FF F8 */ blt lbl_8033B180 -/* 8033B18C 003380EC 1C 7B 00 18 */ mulli r3, r27, 0x18 -/* 8033B190 003380F0 2C 03 00 00 */ cmpwi r3, 0 -/* 8033B194 003380F4 40 82 00 0C */ bne lbl_8033B1A0 -/* 8033B198 003380F8 3B E0 00 00 */ li r31, 0 -/* 8033B19C 003380FC 48 00 00 18 */ b lbl_8033B1B4 -lbl_8033B1A0: -/* 8033B1A0 00338100 3C 80 80 3D */ lis r4, lbl_803D7A38@ha -/* 8033B1A4 00338104 38 A0 00 00 */ li r5, 0 -/* 8033B1A8 00338108 38 84 7A 38 */ addi r4, r4, lbl_803D7A38@l -/* 8033B1AC 0033810C 4B FD A6 6D */ bl __nwa__FUlPCcPCc -/* 8033B1B0 00338110 7C 7F 1B 78 */ mr r31, r3 -lbl_8033B1B4: -/* 8033B1B4 00338114 80 97 00 0C */ lwz r4, 0xc(r23) -/* 8033B1B8 00338118 3C 60 2A AB */ lis r3, 0x2AAAAAAB@ha -/* 8033B1BC 0033811C 80 14 00 00 */ lwz r0, 0(r20) -/* 8033B1C0 00338120 38 63 AA AB */ addi r3, r3, 0x2AAAAAAB@l -/* 8033B1C4 00338124 7F FD FB 78 */ mr r29, r31 -/* 8033B1C8 00338128 3B 40 00 00 */ li r26, 0 -/* 8033B1CC 0033812C 7C 04 00 50 */ subf r0, r4, r0 -/* 8033B1D0 00338130 3B 20 00 00 */ li r25, 0 -/* 8033B1D4 00338134 7C 03 00 96 */ mulhw r0, r3, r0 -/* 8033B1D8 00338138 3A 80 00 00 */ li r20, 0 -/* 8033B1DC 0033813C 7C 00 16 70 */ srawi r0, r0, 2 -/* 8033B1E0 00338140 54 03 0F FE */ srwi r3, r0, 0x1f -/* 8033B1E4 00338144 7E A0 1A 14 */ add r21, r0, r3 -/* 8033B1E8 00338148 48 00 00 40 */ b lbl_8033B228 -lbl_8033B1EC: -/* 8033B1EC 0033814C 80 17 00 0C */ lwz r0, 0xc(r23) -/* 8033B1F0 00338150 28 1D 00 00 */ cmplwi r29, 0 -/* 8033B1F4 00338154 7E C0 A2 14 */ add r22, r0, r20 -/* 8033B1F8 00338158 41 82 00 20 */ beq lbl_8033B218 -/* 8033B1FC 0033815C 7F A3 EB 78 */ mr r3, r29 -/* 8033B200 00338160 7E C4 B3 78 */ mr r4, r22 -/* 8033B204 00338164 48 00 2F 5D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8033B208 00338168 80 16 00 10 */ lwz r0, 0x10(r22) -/* 8033B20C 0033816C 90 1D 00 10 */ stw r0, 0x10(r29) -/* 8033B210 00338170 80 16 00 14 */ lwz r0, 0x14(r22) -/* 8033B214 00338174 90 1D 00 14 */ stw r0, 0x14(r29) -lbl_8033B218: -/* 8033B218 00338178 3B BD 00 18 */ addi r29, r29, 0x18 -/* 8033B21C 0033817C 3B 5A 00 01 */ addi r26, r26, 1 -/* 8033B220 00338180 3A 94 00 18 */ addi r20, r20, 0x18 -/* 8033B224 00338184 3B 39 00 01 */ addi r25, r25, 1 -lbl_8033B228: -/* 8033B228 00338188 7C 19 A8 00 */ cmpw r25, r21 -/* 8033B22C 0033818C 41 80 FF C0 */ blt lbl_8033B1EC -/* 8033B230 00338190 1C 1A 00 18 */ mulli r0, r26, 0x18 -/* 8033B234 00338194 3A C0 00 00 */ li r22, 0 -/* 8033B238 00338198 7E 9F 02 14 */ add r20, r31, r0 -/* 8033B23C 0033819C 48 00 00 38 */ b lbl_8033B274 -lbl_8033B240: -/* 8033B240 003381A0 28 14 00 00 */ cmplwi r20, 0 -/* 8033B244 003381A4 41 82 00 20 */ beq lbl_8033B264 -/* 8033B248 003381A8 7E 83 A3 78 */ mr r3, r20 -/* 8033B24C 003381AC 7F C4 F3 78 */ mr r4, r30 -/* 8033B250 003381B0 48 00 2F 11 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8033B254 003381B4 80 1E 00 10 */ lwz r0, 0x10(r30) -/* 8033B258 003381B8 90 14 00 10 */ stw r0, 0x10(r20) -/* 8033B25C 003381BC 80 1E 00 14 */ lwz r0, 0x14(r30) -/* 8033B260 003381C0 90 14 00 14 */ stw r0, 0x14(r20) -lbl_8033B264: -/* 8033B264 003381C4 3B DE 00 18 */ addi r30, r30, 0x18 -/* 8033B268 003381C8 3A 94 00 18 */ addi r20, r20, 0x18 -/* 8033B26C 003381CC 3B 5A 00 01 */ addi r26, r26, 1 -/* 8033B270 003381D0 3A D6 00 01 */ addi r22, r22, 1 -lbl_8033B274: -/* 8033B274 003381D4 7C 16 C0 00 */ cmpw r22, r24 -/* 8033B278 003381D8 41 80 FF C8 */ blt lbl_8033B240 -/* 8033B27C 003381DC 1C 1A 00 18 */ mulli r0, r26, 0x18 -/* 8033B280 003381E0 7E B9 AB 78 */ mr r25, r21 -/* 8033B284 003381E4 1E 95 00 18 */ mulli r20, r21, 0x18 -/* 8033B288 003381E8 7E BF 02 14 */ add r21, r31, r0 -/* 8033B28C 003381EC 48 00 00 3C */ b lbl_8033B2C8 -lbl_8033B290: -/* 8033B290 003381F0 80 17 00 0C */ lwz r0, 0xc(r23) -/* 8033B294 003381F4 28 15 00 00 */ cmplwi r21, 0 -/* 8033B298 003381F8 7E C0 A2 14 */ add r22, r0, r20 -/* 8033B29C 003381FC 41 82 00 20 */ beq lbl_8033B2BC -/* 8033B2A0 00338200 7E A3 AB 78 */ mr r3, r21 -/* 8033B2A4 00338204 7E C4 B3 78 */ mr r4, r22 -/* 8033B2A8 00338208 48 00 2E B9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8033B2AC 0033820C 80 16 00 10 */ lwz r0, 0x10(r22) -/* 8033B2B0 00338210 90 15 00 10 */ stw r0, 0x10(r21) -/* 8033B2B4 00338214 80 16 00 14 */ lwz r0, 0x14(r22) -/* 8033B2B8 00338218 90 15 00 14 */ stw r0, 0x14(r21) -lbl_8033B2BC: -/* 8033B2BC 0033821C 3A B5 00 18 */ addi r21, r21, 0x18 -/* 8033B2C0 00338220 3A 94 00 18 */ addi r20, r20, 0x18 -/* 8033B2C4 00338224 3B 39 00 01 */ addi r25, r25, 1 -lbl_8033B2C8: -/* 8033B2C8 00338228 80 17 00 04 */ lwz r0, 4(r23) -/* 8033B2CC 0033822C 7C 19 00 00 */ cmpw r25, r0 -/* 8033B2D0 00338230 41 80 FF C0 */ blt lbl_8033B290 -/* 8033B2D4 00338234 1C 00 00 18 */ mulli r0, r0, 0x18 -/* 8033B2D8 00338238 7F 96 E3 78 */ mr r22, r28 -/* 8033B2DC 0033823C 7F 3C 02 14 */ add r25, r28, r0 -/* 8033B2E0 00338240 48 00 00 1C */ b lbl_8033B2FC -lbl_8033B2E4: -/* 8033B2E4 00338244 28 16 00 00 */ cmplwi r22, 0 -/* 8033B2E8 00338248 41 82 00 10 */ beq lbl_8033B2F8 -/* 8033B2EC 0033824C 41 82 00 0C */ beq lbl_8033B2F8 -/* 8033B2F0 00338250 7E C3 B3 78 */ mr r3, r22 -/* 8033B2F4 00338254 48 00 27 ED */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8033B2F8: -/* 8033B2F8 00338258 3A D6 00 18 */ addi r22, r22, 0x18 -lbl_8033B2FC: -/* 8033B2FC 0033825C 7C 16 C8 40 */ cmplw r22, r25 -/* 8033B300 00338260 40 82 FF E4 */ bne lbl_8033B2E4 -/* 8033B304 00338264 80 77 00 0C */ lwz r3, 0xc(r23) -/* 8033B308 00338268 28 03 00 00 */ cmplwi r3, 0 -/* 8033B30C 0033826C 41 82 00 08 */ beq lbl_8033B314 -/* 8033B310 00338270 4B FD A6 21 */ bl Free__7CMemoryFPCv -lbl_8033B314: -/* 8033B314 00338274 93 F7 00 0C */ stw r31, 0xc(r23) -/* 8033B318 00338278 93 77 00 08 */ stw r27, 8(r23) -/* 8033B31C 0033827C 80 17 00 04 */ lwz r0, 4(r23) -/* 8033B320 00338280 7C 00 C2 14 */ add r0, r0, r24 -/* 8033B324 00338284 90 17 00 04 */ stw r0, 4(r23) -lbl_8033B328: -/* 8033B328 00338288 BA 81 00 10 */ lmw r20, 0x10(r1) -/* 8033B32C 0033828C 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8033B330 00338290 7C 08 03 A6 */ mtlr r0 -/* 8033B334 00338294 38 21 00 40 */ addi r1, r1, 0x40 -/* 8033B338 00338298 4E 80 00 20 */ blr - -.global "GetTagListForFile__10CResLoaderCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -"GetTagListForFile__10CResLoaderCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": -/* 8033B33C 0033829C 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 8033B340 003382A0 7C 08 02 A6 */ mflr r0 -/* 8033B344 003382A4 3C A0 80 3D */ lis r5, lbl_803D7A38@ha -/* 8033B348 003382A8 90 01 00 54 */ stw r0, 0x54(r1) -/* 8033B34C 003382AC 38 A5 7A 38 */ addi r5, r5, lbl_803D7A38@l -/* 8033B350 003382B0 38 A5 00 07 */ addi r5, r5, 7 -/* 8033B354 003382B4 BF 61 00 3C */ stmw r27, 0x3c(r1) -/* 8033B358 003382B8 7C 7B 1B 78 */ mr r27, r3 -/* 8033B35C 003382BC 38 61 00 10 */ addi r3, r1, 0x10 -/* 8033B360 003382C0 4B ED 0D 95 */ bl "__pl__4rstlFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>PCc" -/* 8033B364 003382C4 38 61 00 20 */ addi r3, r1, 0x20 -/* 8033B368 003382C8 38 81 00 10 */ addi r4, r1, 0x10 -/* 8033B36C 003382CC 48 00 2D F5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8033B370 003382D0 38 61 00 10 */ addi r3, r1, 0x10 -/* 8033B374 003382D4 48 00 27 6D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8033B378 003382D8 80 82 D7 98 */ lwz r4, lbl_805AF4B8@sda21(r2) -/* 8033B37C 003382DC 38 1B 00 18 */ addi r0, r27, 0x18 -/* 8033B380 003382E0 80 62 D7 9C */ lwz r3, lbl_805AF4BC@sda21(r2) -/* 8033B384 003382E4 3B A1 00 08 */ addi r29, r1, 8 -/* 8033B388 003382E8 90 81 00 08 */ stw r4, 8(r1) -/* 8033B38C 003382EC 3B 80 00 00 */ li r28, 0 -/* 8033B390 003382F0 90 61 00 0C */ stw r3, 0xc(r1) -/* 8033B394 003382F4 93 61 00 08 */ stw r27, 8(r1) -/* 8033B398 003382F8 90 01 00 0C */ stw r0, 0xc(r1) -lbl_8033B39C: -/* 8033B39C 003382FC 83 7D 00 00 */ lwz r27, 0(r29) -/* 8033B3A0 00338300 83 DB 00 04 */ lwz r30, 4(r27) -/* 8033B3A4 00338304 48 00 00 3C */ b lbl_8033B3E0 -lbl_8033B3A8: -/* 8033B3A8 00338308 83 FE 00 0C */ lwz r31, 0xc(r30) -/* 8033B3AC 0033830C 38 81 00 20 */ addi r4, r1, 0x20 -/* 8033B3B0 00338310 38 7F 00 18 */ addi r3, r31, 0x18 -/* 8033B3B4 00338314 48 00 36 39 */ bl "CompareCaseInsensitive__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8033B3B8 00338318 2C 03 00 00 */ cmpwi r3, 0 -/* 8033B3BC 0033831C 40 82 00 20 */ bne lbl_8033B3DC -/* 8033B3C0 00338320 7F E3 FB 78 */ mr r3, r31 -/* 8033B3C4 00338324 48 02 C2 65 */ bl GetDepList__8CPakFileCFv -/* 8033B3C8 00338328 7C 7F 1B 78 */ mr r31, r3 -/* 8033B3CC 0033832C 38 61 00 20 */ addi r3, r1, 0x20 -/* 8033B3D0 00338330 48 00 27 11 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8033B3D4 00338334 7F E3 FB 78 */ mr r3, r31 -/* 8033B3D8 00338338 48 00 00 30 */ b lbl_8033B408 -lbl_8033B3DC: -/* 8033B3DC 0033833C 83 DE 00 04 */ lwz r30, 4(r30) -lbl_8033B3E0: -/* 8033B3E0 00338340 80 1B 00 08 */ lwz r0, 8(r27) -/* 8033B3E4 00338344 7C 1E 00 40 */ cmplw r30, r0 -/* 8033B3E8 00338348 40 82 FF C0 */ bne lbl_8033B3A8 -/* 8033B3EC 0033834C 3B 9C 00 01 */ addi r28, r28, 1 -/* 8033B3F0 00338350 3B BD 00 04 */ addi r29, r29, 4 -/* 8033B3F4 00338354 2C 1C 00 02 */ cmpwi r28, 2 -/* 8033B3F8 00338358 41 80 FF A4 */ blt lbl_8033B39C -/* 8033B3FC 0033835C 38 61 00 20 */ addi r3, r1, 0x20 -/* 8033B400 00338360 48 00 26 E1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8033B404 00338364 38 60 00 00 */ li r3, 0 -lbl_8033B408: -/* 8033B408 00338368 BB 61 00 3C */ lmw r27, 0x3c(r1) -/* 8033B40C 0033836C 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8033B410 00338370 7C 08 03 A6 */ mtlr r0 -/* 8033B414 00338374 38 21 00 50 */ addi r1, r1, 0x50 -/* 8033B418 00338378 4E 80 00 20 */ blr - -.global sub_8033b41c -sub_8033b41c: -/* 8033B41C 0033837C 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 8033B420 00338380 7C 08 02 A6 */ mflr r0 -/* 8033B424 00338384 3C A0 80 3D */ lis r5, lbl_803D7A38@ha -/* 8033B428 00338388 90 01 00 54 */ stw r0, 0x54(r1) -/* 8033B42C 0033838C 38 A5 7A 38 */ addi r5, r5, lbl_803D7A38@l -/* 8033B430 00338390 38 A5 00 07 */ addi r5, r5, 7 -/* 8033B434 00338394 BF 61 00 3C */ stmw r27, 0x3c(r1) -/* 8033B438 00338398 7C 7B 1B 78 */ mr r27, r3 -/* 8033B43C 0033839C 38 61 00 10 */ addi r3, r1, 0x10 -/* 8033B440 003383A0 4B ED 0C B5 */ bl "__pl__4rstlFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>PCc" -/* 8033B444 003383A4 38 61 00 20 */ addi r3, r1, 0x20 -/* 8033B448 003383A8 38 81 00 10 */ addi r4, r1, 0x10 -/* 8033B44C 003383AC 48 00 2D 15 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8033B450 003383B0 38 61 00 10 */ addi r3, r1, 0x10 -/* 8033B454 003383B4 48 00 26 8D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8033B458 003383B8 7F 63 DB 78 */ mr r3, r27 -/* 8033B45C 003383BC 48 00 0A 01 */ bl sub_8033be5c -/* 8033B460 003383C0 80 82 D7 90 */ lwz r4, lbl_805AF4B0@sda21(r2) -/* 8033B464 003383C4 38 1B 00 18 */ addi r0, r27, 0x18 -/* 8033B468 003383C8 80 62 D7 94 */ lwz r3, lbl_805AF4B4@sda21(r2) -/* 8033B46C 003383CC 3B C1 00 08 */ addi r30, r1, 8 -/* 8033B470 003383D0 90 81 00 08 */ stw r4, 8(r1) -/* 8033B474 003383D4 3B A0 00 00 */ li r29, 0 -/* 8033B478 003383D8 90 61 00 0C */ stw r3, 0xc(r1) -/* 8033B47C 003383DC 93 61 00 08 */ stw r27, 8(r1) -/* 8033B480 003383E0 90 01 00 0C */ stw r0, 0xc(r1) -lbl_8033B484: -/* 8033B484 003383E4 83 9E 00 00 */ lwz r28, 0(r30) -/* 8033B488 003383E8 83 FC 00 04 */ lwz r31, 4(r28) -/* 8033B48C 003383EC 48 00 00 38 */ b lbl_8033B4C4 -lbl_8033B490: -/* 8033B490 003383F0 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 8033B494 003383F4 38 81 00 20 */ addi r4, r1, 0x20 -/* 8033B498 003383F8 38 63 00 18 */ addi r3, r3, 0x18 -/* 8033B49C 003383FC 48 00 35 51 */ bl "CompareCaseInsensitive__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8033B4A0 00338400 2C 03 00 00 */ cmpwi r3, 0 -/* 8033B4A4 00338404 40 82 00 1C */ bne lbl_8033B4C0 -/* 8033B4A8 00338408 7F 83 E3 78 */ mr r3, r28 -/* 8033B4AC 0033840C 7F E4 FB 78 */ mr r4, r31 -/* 8033B4B0 00338410 48 00 0F E1 */ bl sub_8033c490 -/* 8033B4B4 00338414 38 61 00 20 */ addi r3, r1, 0x20 -/* 8033B4B8 00338418 48 00 26 29 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8033B4BC 0033841C 48 00 00 8C */ b lbl_8033B548 -lbl_8033B4C0: -/* 8033B4C0 00338420 83 FF 00 04 */ lwz r31, 4(r31) -lbl_8033B4C4: -/* 8033B4C4 00338424 80 1C 00 08 */ lwz r0, 8(r28) -/* 8033B4C8 00338428 7C 1F 00 40 */ cmplw r31, r0 -/* 8033B4CC 0033842C 40 82 FF C4 */ bne lbl_8033B490 -/* 8033B4D0 00338430 3B BD 00 01 */ addi r29, r29, 1 -/* 8033B4D4 00338434 3B DE 00 04 */ addi r30, r30, 4 -/* 8033B4D8 00338438 2C 1D 00 02 */ cmpwi r29, 2 -/* 8033B4DC 0033843C 41 80 FF A8 */ blt lbl_8033B484 -/* 8033B4E0 00338440 83 DB 00 34 */ lwz r30, 0x34(r27) -/* 8033B4E4 00338444 48 00 00 50 */ b lbl_8033B534 -lbl_8033B4E8: -/* 8033B4E8 00338448 83 FE 00 0C */ lwz r31, 0xc(r30) -/* 8033B4EC 0033844C 38 81 00 20 */ addi r4, r1, 0x20 -/* 8033B4F0 00338450 38 7F 00 18 */ addi r3, r31, 0x18 -/* 8033B4F4 00338454 48 00 34 F9 */ bl "CompareCaseInsensitive__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8033B4F8 00338458 2C 03 00 00 */ cmpwi r3, 0 -/* 8033B4FC 0033845C 40 82 00 34 */ bne lbl_8033B530 -/* 8033B500 00338460 48 00 00 0C */ b lbl_8033B50C -lbl_8033B504: -/* 8033B504 00338464 7F 63 DB 78 */ mr r3, r27 -/* 8033B508 00338468 48 00 08 B9 */ bl AsyncIdlePakLoading__10CResLoaderFv -lbl_8033B50C: -/* 8033B50C 0033846C 80 1F 00 2C */ lwz r0, 0x2c(r31) -/* 8033B510 00338470 2C 00 00 03 */ cmpwi r0, 3 -/* 8033B514 00338474 40 82 FF F0 */ bne lbl_8033B504 -/* 8033B518 00338478 7F C4 F3 78 */ mr r4, r30 -/* 8033B51C 0033847C 38 7B 00 30 */ addi r3, r27, 0x30 -/* 8033B520 00338480 48 00 0F 71 */ bl sub_8033c490 -/* 8033B524 00338484 38 61 00 20 */ addi r3, r1, 0x20 -/* 8033B528 00338488 48 00 25 B9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8033B52C 0033848C 48 00 00 1C */ b lbl_8033B548 -lbl_8033B530: -/* 8033B530 00338490 83 DE 00 04 */ lwz r30, 4(r30) -lbl_8033B534: -/* 8033B534 00338494 80 1B 00 38 */ lwz r0, 0x38(r27) -/* 8033B538 00338498 7C 1E 00 40 */ cmplw r30, r0 -/* 8033B53C 0033849C 40 82 FF AC */ bne lbl_8033B4E8 -/* 8033B540 003384A0 38 61 00 20 */ addi r3, r1, 0x20 -/* 8033B544 003384A4 48 00 25 9D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8033B548: -/* 8033B548 003384A8 BB 61 00 3C */ lmw r27, 0x3c(r1) -/* 8033B54C 003384AC 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8033B550 003384B0 7C 08 03 A6 */ mtlr r0 -/* 8033B554 003384B4 38 21 00 50 */ addi r1, r1, 0x50 -/* 8033B558 003384B8 4E 80 00 20 */ blr - -.global "AddPakFileAsync__10CResLoaderFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>b" -"AddPakFileAsync__10CResLoaderFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>b": -/* 8033B55C 003384BC 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8033B560 003384C0 7C 08 02 A6 */ mflr r0 -/* 8033B564 003384C4 3C E0 80 3D */ lis r7, lbl_803D7A38@ha -/* 8033B568 003384C8 90 01 00 44 */ stw r0, 0x44(r1) -/* 8033B56C 003384CC 38 E7 7A 38 */ addi r7, r7, lbl_803D7A38@l -/* 8033B570 003384D0 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 8033B574 003384D4 7C 7F 1B 78 */ mr r31, r3 -/* 8033B578 003384D8 38 61 00 10 */ addi r3, r1, 0x10 -/* 8033B57C 003384DC 93 C1 00 38 */ stw r30, 0x38(r1) -/* 8033B580 003384E0 7C BE 2B 78 */ mr r30, r5 -/* 8033B584 003384E4 38 A7 00 07 */ addi r5, r7, 7 -/* 8033B588 003384E8 93 A1 00 34 */ stw r29, 0x34(r1) -/* 8033B58C 003384EC 7C DD 33 78 */ mr r29, r6 -/* 8033B590 003384F0 4B ED 0B 65 */ bl "__pl__4rstlFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>PCc" -/* 8033B594 003384F4 38 61 00 20 */ addi r3, r1, 0x20 -/* 8033B598 003384F8 38 81 00 10 */ addi r4, r1, 0x10 -/* 8033B59C 003384FC 48 00 2B C5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8033B5A0 00338500 38 61 00 10 */ addi r3, r1, 0x10 -/* 8033B5A4 00338504 48 00 25 3D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8033B5A8 00338508 80 61 00 20 */ lwz r3, 0x20(r1) -/* 8033B5AC 0033850C 48 01 43 A1 */ bl FileExists__8CDvdFileFPCc -/* 8033B5B0 00338510 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8033B5B4 00338514 41 82 00 D8 */ beq lbl_8033B68C -/* 8033B5B8 00338518 3C 80 80 3D */ lis r4, lbl_803D7A38@ha -/* 8033B5BC 0033851C 38 60 00 88 */ li r3, 0x88 -/* 8033B5C0 00338520 38 84 7A 38 */ addi r4, r4, lbl_803D7A38@l -/* 8033B5C4 00338524 38 A0 00 00 */ li r5, 0 -/* 8033B5C8 00338528 4B FD A2 A5 */ bl __nw__FUlPCcPCc -/* 8033B5CC 0033852C 7C 64 1B 79 */ or. r4, r3, r3 -/* 8033B5D0 00338530 41 82 00 18 */ beq lbl_8033B5E8 -/* 8033B5D4 00338534 7F C5 F3 78 */ mr r5, r30 -/* 8033B5D8 00338538 7F A6 EB 78 */ mr r6, r29 -/* 8033B5DC 0033853C 38 81 00 20 */ addi r4, r1, 0x20 -/* 8033B5E0 00338540 48 02 CF B1 */ bl "__ct__8CPakFileFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>b" -/* 8033B5E4 00338544 7C 64 1B 78 */ mr r4, r3 -lbl_8033B5E8: -/* 8033B5E8 00338548 7C 04 00 D0 */ neg r0, r4 -/* 8033B5EC 0033854C 83 DF 00 38 */ lwz r30, 0x38(r31) -/* 8033B5F0 00338550 7C 00 23 78 */ or r0, r0, r4 -/* 8033B5F4 00338554 3C 60 80 3D */ lis r3, lbl_803D7A38@ha -/* 8033B5F8 00338558 54 00 0F FE */ srwi r0, r0, 0x1f -/* 8033B5FC 0033855C 90 81 00 0C */ stw r4, 0xc(r1) -/* 8033B600 00338560 83 BE 00 00 */ lwz r29, 0(r30) -/* 8033B604 00338564 38 83 7A 38 */ addi r4, r3, lbl_803D7A38@l -/* 8033B608 00338568 98 01 00 08 */ stb r0, 8(r1) -/* 8033B60C 0033856C 38 60 00 10 */ li r3, 0x10 -/* 8033B610 00338570 38 A0 00 00 */ li r5, 0 -/* 8033B614 00338574 4B FD A2 05 */ bl __nwa__FUlPCcPCc -/* 8033B618 00338578 28 03 00 00 */ cmplwi r3, 0 -/* 8033B61C 0033857C 41 82 00 0C */ beq lbl_8033B628 -/* 8033B620 00338580 93 A3 00 00 */ stw r29, 0(r3) -/* 8033B624 00338584 93 C3 00 04 */ stw r30, 4(r3) -lbl_8033B628: -/* 8033B628 00338588 34 C3 00 08 */ addic. r6, r3, 8 -/* 8033B62C 0033858C 41 82 00 1C */ beq lbl_8033B648 -/* 8033B630 00338590 88 A1 00 08 */ lbz r5, 8(r1) -/* 8033B634 00338594 38 00 00 00 */ li r0, 0 -/* 8033B638 00338598 80 81 00 0C */ lwz r4, 0xc(r1) -/* 8033B63C 0033859C 98 A6 00 00 */ stb r5, 0(r6) -/* 8033B640 003385A0 90 86 00 04 */ stw r4, 4(r6) -/* 8033B644 003385A4 98 01 00 08 */ stb r0, 8(r1) -lbl_8033B648: -/* 8033B648 003385A8 80 1F 00 34 */ lwz r0, 0x34(r31) -/* 8033B64C 003385AC 7C 1E 00 40 */ cmplw r30, r0 -/* 8033B650 003385B0 40 82 00 08 */ bne lbl_8033B658 -/* 8033B654 003385B4 90 7F 00 34 */ stw r3, 0x34(r31) -lbl_8033B658: -/* 8033B658 003385B8 80 83 00 00 */ lwz r4, 0(r3) -/* 8033B65C 003385BC 88 01 00 08 */ lbz r0, 8(r1) -/* 8033B660 003385C0 90 64 00 04 */ stw r3, 4(r4) -/* 8033B664 003385C4 28 00 00 00 */ cmplwi r0, 0 -/* 8033B668 003385C8 80 83 00 04 */ lwz r4, 4(r3) -/* 8033B66C 003385CC 90 64 00 00 */ stw r3, 0(r4) -/* 8033B670 003385D0 80 7F 00 44 */ lwz r3, 0x44(r31) -/* 8033B674 003385D4 38 03 00 01 */ addi r0, r3, 1 -/* 8033B678 003385D8 90 1F 00 44 */ stw r0, 0x44(r31) -/* 8033B67C 003385DC 41 82 00 10 */ beq lbl_8033B68C -/* 8033B680 003385E0 80 61 00 0C */ lwz r3, 0xc(r1) -/* 8033B684 003385E4 38 80 00 01 */ li r4, 1 -/* 8033B688 003385E8 48 02 CD 75 */ bl __dt__8CPakFileFv -lbl_8033B68C: -/* 8033B68C 003385EC 38 61 00 20 */ addi r3, r1, 0x20 -/* 8033B690 003385F0 48 00 24 51 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8033B694 003385F4 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8033B698 003385F8 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 8033B69C 003385FC 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 8033B6A0 00338600 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 8033B6A4 00338604 7C 08 03 A6 */ mtlr r0 -/* 8033B6A8 00338608 38 21 00 40 */ addi r1, r1, 0x40 -/* 8033B6AC 0033860C 4E 80 00 20 */ blr - -.global LoadNewResourcePartSync__10CResLoaderFRC10SObjectTagiiPc -LoadNewResourcePartSync__10CResLoaderFRC10SObjectTagiiPc: -/* 8033B6B0 00338610 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8033B6B4 00338614 7C 08 02 A6 */ mflr r0 -/* 8033B6B8 00338618 90 01 00 34 */ stw r0, 0x34(r1) -/* 8033B6BC 0033861C BF 41 00 18 */ stmw r26, 0x18(r1) -/* 8033B6C0 00338620 7C 7B 1B 78 */ mr r27, r3 -/* 8033B6C4 00338624 7C BA 2B 78 */ mr r26, r5 -/* 8033B6C8 00338628 7C DE 33 78 */ mr r30, r6 -/* 8033B6CC 0033862C 7C FF 3B 78 */ mr r31, r7 -/* 8033B6D0 00338630 48 00 09 E9 */ bl FindResourceForLoad__10CResLoaderFRC10SObjectTag -/* 8033B6D4 00338634 28 1F 00 00 */ cmplwi r31, 0 -/* 8033B6D8 00338638 83 7B 00 50 */ lwz r27, 0x50(r27) -/* 8033B6DC 0033863C 7C 7C 1B 78 */ mr r28, r3 -/* 8033B6E0 00338640 41 82 00 0C */ beq lbl_8033B6EC -/* 8033B6E4 00338644 7F FD FB 78 */ mr r29, r31 -/* 8033B6E8 00338648 48 00 00 3C */ b lbl_8033B724 -lbl_8033B6EC: -/* 8033B6EC 0033864C 3C 60 80 3D */ lis r3, lbl_803D7A38@ha -/* 8033B6F0 00338650 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha -/* 8033B6F4 00338654 38 A3 7A 38 */ addi r5, r3, lbl_803D7A38@l -/* 8033B6F8 00338658 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l -/* 8033B6FC 0033865C 38 61 00 08 */ addi r3, r1, 8 -/* 8033B700 00338660 38 80 FF FF */ li r4, -1 -/* 8033B704 00338664 4B F9 AC D1 */ bl __ct__10CCallStackFUiPCcPCc -/* 8033B708 00338668 7C 67 1B 78 */ mr r7, r3 -/* 8033B70C 0033866C 7F C3 F3 78 */ mr r3, r30 -/* 8033B710 00338670 38 80 00 02 */ li r4, 2 -/* 8033B714 00338674 38 A0 00 01 */ li r5, 1 -/* 8033B718 00338678 38 C0 00 00 */ li r6, 0 -/* 8033B71C 0033867C 4B FD A2 79 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack -/* 8033B720 00338680 7C 7D 1B 78 */ mr r29, r3 -lbl_8033B724: -/* 8033B724 00338684 7F 63 DB 78 */ mr r3, r27 -/* 8033B728 00338688 48 02 CF 79 */ bl GetOffset__Q28CPakFile8SResInfoCFv -/* 8033B72C 0033868C 7C 60 1B 78 */ mr r0, r3 -/* 8033B730 00338690 7F 83 E3 78 */ mr r3, r28 -/* 8033B734 00338694 7F A4 EB 78 */ mr r4, r29 -/* 8033B738 00338698 7F C5 F3 78 */ mr r5, r30 -/* 8033B73C 0033869C 7C FA 02 14 */ add r7, r26, r0 -/* 8033B740 003386A0 38 C0 00 00 */ li r6, 0 -/* 8033B744 003386A4 48 01 43 C1 */ bl SyncSeekRead__8CDvdFileFPvUi11ESeekOrigini -/* 8033B748 003386A8 3C 80 80 3D */ lis r4, lbl_803D7A38@ha -/* 8033B74C 003386AC 38 60 00 24 */ li r3, 0x24 -/* 8033B750 003386B0 38 84 7A 38 */ addi r4, r4, lbl_803D7A38@l -/* 8033B754 003386B4 38 A0 00 00 */ li r5, 0 -/* 8033B758 003386B8 4B FD A1 15 */ bl __nw__FUlPCcPCc -/* 8033B75C 003386BC 7C 60 1B 79 */ or. r0, r3, r3 -/* 8033B760 003386C0 41 82 00 20 */ beq lbl_8033B780 -/* 8033B764 003386C4 7C 1F 00 D0 */ neg r0, r31 -/* 8033B768 003386C8 7F A4 EB 78 */ mr r4, r29 -/* 8033B76C 003386CC 7C 00 FB 78 */ or r0, r0, r31 -/* 8033B770 003386D0 7F C5 F3 78 */ mr r5, r30 -/* 8033B774 003386D4 54 06 0F FE */ srwi r6, r0, 0x1f -/* 8033B778 003386D8 48 00 3A 95 */ bl __ct__15CMemoryInStreamFPvUlQ215CMemoryInStream10EOwnerShip -/* 8033B77C 003386DC 7C 60 1B 78 */ mr r0, r3 -lbl_8033B780: -/* 8033B780 003386E0 BB 41 00 18 */ lmw r26, 0x18(r1) -/* 8033B784 003386E4 7C 03 03 78 */ mr r3, r0 -/* 8033B788 003386E8 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8033B78C 003386EC 7C 08 03 A6 */ mtlr r0 -/* 8033B790 003386F0 38 21 00 30 */ addi r1, r1, 0x30 -/* 8033B794 003386F4 4E 80 00 20 */ blr - -.global LoadMemResourceSync__10CResLoaderFRC10SObjectTagPPcPi -LoadMemResourceSync__10CResLoaderFRC10SObjectTagPPcPi: -/* 8033B798 003386F8 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8033B79C 003386FC 7C 08 02 A6 */ mflr r0 -/* 8033B7A0 00338700 90 01 00 34 */ stw r0, 0x34(r1) -/* 8033B7A4 00338704 BF 41 00 18 */ stmw r26, 0x18(r1) -/* 8033B7A8 00338708 7C 7C 1B 78 */ mr r28, r3 -/* 8033B7AC 0033870C 7C BA 2B 78 */ mr r26, r5 -/* 8033B7B0 00338710 7C DB 33 78 */ mr r27, r6 -/* 8033B7B4 00338714 48 00 09 05 */ bl FindResourceForLoad__10CResLoaderFRC10SObjectTag -/* 8033B7B8 00338718 83 DC 00 50 */ lwz r30, 0x50(r28) -/* 8033B7BC 0033871C 7C 7F 1B 78 */ mr r31, r3 -/* 8033B7C0 00338720 7F C3 F3 78 */ mr r3, r30 -/* 8033B7C4 00338724 48 02 CE BD */ bl GetSize__Q28CPakFile8SResInfoCFv -/* 8033B7C8 00338728 38 03 00 1F */ addi r0, r3, 0x1f -/* 8033B7CC 0033872C 3C A0 80 3D */ lis r5, lbl_803D7A38@ha -/* 8033B7D0 00338730 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha -/* 8033B7D4 00338734 38 61 00 08 */ addi r3, r1, 8 -/* 8033B7D8 00338738 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l -/* 8033B7DC 0033873C 38 A5 7A 38 */ addi r5, r5, lbl_803D7A38@l -/* 8033B7E0 00338740 54 1D 00 34 */ rlwinm r29, r0, 0, 0, 0x1a -/* 8033B7E4 00338744 38 80 FF FF */ li r4, -1 -/* 8033B7E8 00338748 4B F9 AB ED */ bl __ct__10CCallStackFUiPCcPCc -/* 8033B7EC 0033874C 7C 67 1B 78 */ mr r7, r3 -/* 8033B7F0 00338750 7F A3 EB 78 */ mr r3, r29 -/* 8033B7F4 00338754 38 80 00 02 */ li r4, 2 -/* 8033B7F8 00338758 38 A0 00 01 */ li r5, 1 -/* 8033B7FC 0033875C 38 C0 00 00 */ li r6, 0 -/* 8033B800 00338760 4B FD A1 95 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack -/* 8033B804 00338764 7C 60 1B 78 */ mr r0, r3 -/* 8033B808 00338768 7F C3 F3 78 */ mr r3, r30 -/* 8033B80C 0033876C 7C 1C 03 78 */ mr r28, r0 -/* 8033B810 00338770 48 02 CE 91 */ bl GetOffset__Q28CPakFile8SResInfoCFv -/* 8033B814 00338774 7C 67 1B 78 */ mr r7, r3 -/* 8033B818 00338778 7F E3 FB 78 */ mr r3, r31 -/* 8033B81C 0033877C 7F 84 E3 78 */ mr r4, r28 -/* 8033B820 00338780 7F A5 EB 78 */ mr r5, r29 -/* 8033B824 00338784 38 C0 00 00 */ li r6, 0 -/* 8033B828 00338788 48 01 42 DD */ bl SyncSeekRead__8CDvdFileFPvUi11ESeekOrigini -/* 8033B82C 0033878C 93 9A 00 00 */ stw r28, 0(r26) -/* 8033B830 00338790 7F C3 F3 78 */ mr r3, r30 -/* 8033B834 00338794 48 02 CE 4D */ bl GetSize__Q28CPakFile8SResInfoCFv -/* 8033B838 00338798 90 7B 00 00 */ stw r3, 0(r27) -/* 8033B83C 0033879C BB 41 00 18 */ lmw r26, 0x18(r1) -/* 8033B840 003387A0 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8033B844 003387A4 7C 08 03 A6 */ mtlr r0 -/* 8033B848 003387A8 38 21 00 30 */ addi r1, r1, 0x30 -/* 8033B84C 003387AC 4E 80 00 20 */ blr - -.global LoadResourceFromMemorySync__10CResLoaderFRC10SObjectTagPCv -LoadResourceFromMemorySync__10CResLoaderFRC10SObjectTagPCv: -/* 8033B850 003387B0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8033B854 003387B4 7C 08 02 A6 */ mflr r0 -/* 8033B858 003387B8 90 01 00 24 */ stw r0, 0x24(r1) -/* 8033B85C 003387BC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8033B860 003387C0 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8033B864 003387C4 7C 7E 1B 78 */ mr r30, r3 -/* 8033B868 003387C8 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8033B86C 003387CC 7C BD 2B 78 */ mr r29, r5 -/* 8033B870 003387D0 48 00 08 49 */ bl FindResourceForLoad__10CResLoaderFRC10SObjectTag -/* 8033B874 003387D4 3C 60 80 3D */ lis r3, lbl_803D7A38@ha -/* 8033B878 003387D8 83 DE 00 50 */ lwz r30, 0x50(r30) -/* 8033B87C 003387DC 38 83 7A 38 */ addi r4, r3, lbl_803D7A38@l -/* 8033B880 003387E0 38 A0 00 00 */ li r5, 0 -/* 8033B884 003387E4 38 60 00 24 */ li r3, 0x24 -/* 8033B888 003387E8 4B FD 9F E5 */ bl __nw__FUlPCcPCc -/* 8033B88C 003387EC 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8033B890 003387F0 41 82 00 20 */ beq lbl_8033B8B0 -/* 8033B894 003387F4 7F C3 F3 78 */ mr r3, r30 -/* 8033B898 003387F8 48 02 CD E9 */ bl GetSize__Q28CPakFile8SResInfoCFv -/* 8033B89C 003387FC 7C 65 1B 78 */ mr r5, r3 -/* 8033B8A0 00338800 7F E3 FB 78 */ mr r3, r31 -/* 8033B8A4 00338804 7F A4 EB 78 */ mr r4, r29 -/* 8033B8A8 00338808 48 00 39 25 */ bl __ct__15CMemoryInStreamFPCvUl -/* 8033B8AC 0033880C 7C 7F 1B 78 */ mr r31, r3 -lbl_8033B8B0: -/* 8033B8B0 00338810 7F C3 F3 78 */ mr r3, r30 -/* 8033B8B4 00338814 48 02 CD B5 */ bl IsCompressed__Q28CPakFile8SResInfoCFv -/* 8033B8B8 00338818 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8033B8BC 0033881C 41 82 00 8C */ beq lbl_8033B948 -/* 8033B8C0 00338820 7F E3 FB 78 */ mr r3, r31 -/* 8033B8C4 00338824 48 00 33 C1 */ bl ReadLong__12CInputStreamFv -/* 8033B8C8 00338828 3C 60 80 3D */ lis r3, lbl_803D7A38@ha -/* 8033B8CC 0033882C 3B A0 00 00 */ li r29, 0 -/* 8033B8D0 00338830 38 83 7A 38 */ addi r4, r3, lbl_803D7A38@l -/* 8033B8D4 00338834 38 A0 00 00 */ li r5, 0 -/* 8033B8D8 00338838 38 60 00 34 */ li r3, 0x34 -/* 8033B8DC 0033883C 4B FD 9F 91 */ bl __nw__FUlPCcPCc -/* 8033B8E0 00338840 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8033B8E4 00338844 41 82 00 28 */ beq lbl_8033B90C -/* 8033B8E8 00338848 7C 1F 00 D0 */ neg r0, r31 -/* 8033B8EC 0033884C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8033B8F0 00338850 7C 00 FB 78 */ or r0, r0, r31 -/* 8033B8F4 00338854 38 81 00 08 */ addi r4, r1, 8 -/* 8033B8F8 00338858 54 00 0F FE */ srwi r0, r0, 0x1f -/* 8033B8FC 0033885C 3B A0 00 01 */ li r29, 1 -/* 8033B900 00338860 98 01 00 08 */ stb r0, 8(r1) -/* 8033B904 00338864 48 00 3F FD */ bl "__ct__15CZipInputStreamFQ24rstl24auto_ptr<12CInputStream>" -/* 8033B908 00338868 7C 7E 1B 78 */ mr r30, r3 -lbl_8033B90C: -/* 8033B90C 0033886C 7F A0 07 75 */ extsb. r0, r29 -/* 8033B910 00338870 41 82 00 30 */ beq lbl_8033B940 -/* 8033B914 00338874 88 01 00 08 */ lbz r0, 8(r1) -/* 8033B918 00338878 28 00 00 00 */ cmplwi r0, 0 -/* 8033B91C 0033887C 41 82 00 24 */ beq lbl_8033B940 -/* 8033B920 00338880 80 61 00 0C */ lwz r3, 0xc(r1) -/* 8033B924 00338884 28 03 00 00 */ cmplwi r3, 0 -/* 8033B928 00338888 41 82 00 18 */ beq lbl_8033B940 -/* 8033B92C 0033888C 81 83 00 00 */ lwz r12, 0(r3) -/* 8033B930 00338890 38 80 00 01 */ li r4, 1 -/* 8033B934 00338894 81 8C 00 08 */ lwz r12, 8(r12) -/* 8033B938 00338898 7D 89 03 A6 */ mtctr r12 -/* 8033B93C 0033889C 4E 80 04 21 */ bctrl -lbl_8033B940: -/* 8033B940 003388A0 7F C3 F3 78 */ mr r3, r30 -/* 8033B944 003388A4 48 00 00 08 */ b lbl_8033B94C -lbl_8033B948: -/* 8033B948 003388A8 7F E3 FB 78 */ mr r3, r31 -lbl_8033B94C: -/* 8033B94C 003388AC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8033B950 003388B0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8033B954 003388B4 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8033B958 003388B8 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8033B95C 003388BC 7C 08 03 A6 */ mtlr r0 -/* 8033B960 003388C0 38 21 00 20 */ addi r1, r1, 0x20 -/* 8033B964 003388C4 4E 80 00 20 */ blr - -.global LoadNewResourceSync__10CResLoaderFRC10SObjectTagPc -LoadNewResourceSync__10CResLoaderFRC10SObjectTagPc: -/* 8033B968 003388C8 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8033B96C 003388CC 7C 08 02 A6 */ mflr r0 -/* 8033B970 003388D0 90 01 00 34 */ stw r0, 0x34(r1) -/* 8033B974 003388D4 BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 8033B978 003388D8 7C 7B 1B 78 */ mr r27, r3 -/* 8033B97C 003388DC 7C BE 2B 78 */ mr r30, r5 -/* 8033B980 003388E0 48 00 07 39 */ bl FindResourceForLoad__10CResLoaderFRC10SObjectTag -/* 8033B984 003388E4 83 FB 00 50 */ lwz r31, 0x50(r27) -/* 8033B988 003388E8 7C 7C 1B 78 */ mr r28, r3 -/* 8033B98C 003388EC 7F E3 FB 78 */ mr r3, r31 -/* 8033B990 003388F0 48 02 CC F1 */ bl GetSize__Q28CPakFile8SResInfoCFv -/* 8033B994 003388F4 28 1E 00 00 */ cmplwi r30, 0 -/* 8033B998 003388F8 38 03 00 1F */ addi r0, r3, 0x1f -/* 8033B99C 003388FC 54 1B 00 34 */ rlwinm r27, r0, 0, 0, 0x1a -/* 8033B9A0 00338900 41 82 00 0C */ beq lbl_8033B9AC -/* 8033B9A4 00338904 7F DD F3 78 */ mr r29, r30 -/* 8033B9A8 00338908 48 00 00 3C */ b lbl_8033B9E4 -lbl_8033B9AC: -/* 8033B9AC 0033890C 3C 60 80 3D */ lis r3, lbl_803D7A38@ha -/* 8033B9B0 00338910 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha -/* 8033B9B4 00338914 38 A3 7A 38 */ addi r5, r3, lbl_803D7A38@l -/* 8033B9B8 00338918 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l -/* 8033B9BC 0033891C 38 61 00 10 */ addi r3, r1, 0x10 -/* 8033B9C0 00338920 38 80 FF FF */ li r4, -1 -/* 8033B9C4 00338924 4B F9 AA 11 */ bl __ct__10CCallStackFUiPCcPCc -/* 8033B9C8 00338928 7C 67 1B 78 */ mr r7, r3 -/* 8033B9CC 0033892C 7F 63 DB 78 */ mr r3, r27 -/* 8033B9D0 00338930 38 80 00 02 */ li r4, 2 -/* 8033B9D4 00338934 38 A0 00 01 */ li r5, 1 -/* 8033B9D8 00338938 38 C0 00 00 */ li r6, 0 -/* 8033B9DC 0033893C 4B FD 9F B9 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack -/* 8033B9E0 00338940 7C 7D 1B 78 */ mr r29, r3 -lbl_8033B9E4: -/* 8033B9E4 00338944 7F E3 FB 78 */ mr r3, r31 -/* 8033B9E8 00338948 48 02 CC B9 */ bl GetOffset__Q28CPakFile8SResInfoCFv -/* 8033B9EC 0033894C 7C 67 1B 78 */ mr r7, r3 -/* 8033B9F0 00338950 7F 83 E3 78 */ mr r3, r28 -/* 8033B9F4 00338954 7F A4 EB 78 */ mr r4, r29 -/* 8033B9F8 00338958 7F 65 DB 78 */ mr r5, r27 -/* 8033B9FC 0033895C 38 C0 00 00 */ li r6, 0 -/* 8033BA00 00338960 48 01 41 05 */ bl SyncSeekRead__8CDvdFileFPvUi11ESeekOrigini -/* 8033BA04 00338964 3C 80 80 3D */ lis r4, lbl_803D7A38@ha -/* 8033BA08 00338968 38 60 00 24 */ li r3, 0x24 -/* 8033BA0C 0033896C 38 84 7A 38 */ addi r4, r4, lbl_803D7A38@l -/* 8033BA10 00338970 38 A0 00 00 */ li r5, 0 -/* 8033BA14 00338974 4B FD 9E 59 */ bl __nw__FUlPCcPCc -/* 8033BA18 00338978 7C 7C 1B 79 */ or. r28, r3, r3 -/* 8033BA1C 0033897C 41 82 00 30 */ beq lbl_8033BA4C -/* 8033BA20 00338980 7C 1E 00 D0 */ neg r0, r30 -/* 8033BA24 00338984 7F E3 FB 78 */ mr r3, r31 -/* 8033BA28 00338988 7C 00 F3 78 */ or r0, r0, r30 -/* 8033BA2C 0033898C 54 1E 0F FE */ srwi r30, r0, 0x1f -/* 8033BA30 00338990 48 02 CC 51 */ bl GetSize__Q28CPakFile8SResInfoCFv -/* 8033BA34 00338994 7C 65 1B 78 */ mr r5, r3 -/* 8033BA38 00338998 7F 83 E3 78 */ mr r3, r28 -/* 8033BA3C 0033899C 7F A4 EB 78 */ mr r4, r29 -/* 8033BA40 003389A0 7F C6 F3 78 */ mr r6, r30 -/* 8033BA44 003389A4 48 00 37 C9 */ bl __ct__15CMemoryInStreamFPvUlQ215CMemoryInStream10EOwnerShip -/* 8033BA48 003389A8 7C 7C 1B 78 */ mr r28, r3 -lbl_8033BA4C: -/* 8033BA4C 003389AC 7F E3 FB 78 */ mr r3, r31 -/* 8033BA50 003389B0 48 02 CC 19 */ bl IsCompressed__Q28CPakFile8SResInfoCFv -/* 8033BA54 003389B4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8033BA58 003389B8 41 82 00 8C */ beq lbl_8033BAE4 -/* 8033BA5C 003389BC 7F 83 E3 78 */ mr r3, r28 -/* 8033BA60 003389C0 48 00 32 25 */ bl ReadLong__12CInputStreamFv -/* 8033BA64 003389C4 3C 60 80 3D */ lis r3, lbl_803D7A38@ha -/* 8033BA68 003389C8 3B 60 00 00 */ li r27, 0 -/* 8033BA6C 003389CC 38 83 7A 38 */ addi r4, r3, lbl_803D7A38@l -/* 8033BA70 003389D0 38 A0 00 00 */ li r5, 0 -/* 8033BA74 003389D4 38 60 00 34 */ li r3, 0x34 -/* 8033BA78 003389D8 4B FD 9D F5 */ bl __nw__FUlPCcPCc -/* 8033BA7C 003389DC 7C 7D 1B 79 */ or. r29, r3, r3 -/* 8033BA80 003389E0 41 82 00 28 */ beq lbl_8033BAA8 -/* 8033BA84 003389E4 7C 1C 00 D0 */ neg r0, r28 -/* 8033BA88 003389E8 93 81 00 0C */ stw r28, 0xc(r1) -/* 8033BA8C 003389EC 7C 00 E3 78 */ or r0, r0, r28 -/* 8033BA90 003389F0 38 81 00 08 */ addi r4, r1, 8 -/* 8033BA94 003389F4 54 00 0F FE */ srwi r0, r0, 0x1f -/* 8033BA98 003389F8 3B 60 00 01 */ li r27, 1 -/* 8033BA9C 003389FC 98 01 00 08 */ stb r0, 8(r1) -/* 8033BAA0 00338A00 48 00 3E 61 */ bl "__ct__15CZipInputStreamFQ24rstl24auto_ptr<12CInputStream>" -/* 8033BAA4 00338A04 7C 7D 1B 78 */ mr r29, r3 -lbl_8033BAA8: -/* 8033BAA8 00338A08 7F 60 07 75 */ extsb. r0, r27 -/* 8033BAAC 00338A0C 41 82 00 30 */ beq lbl_8033BADC -/* 8033BAB0 00338A10 88 01 00 08 */ lbz r0, 8(r1) -/* 8033BAB4 00338A14 28 00 00 00 */ cmplwi r0, 0 -/* 8033BAB8 00338A18 41 82 00 24 */ beq lbl_8033BADC -/* 8033BABC 00338A1C 80 61 00 0C */ lwz r3, 0xc(r1) -/* 8033BAC0 00338A20 28 03 00 00 */ cmplwi r3, 0 -/* 8033BAC4 00338A24 41 82 00 18 */ beq lbl_8033BADC -/* 8033BAC8 00338A28 81 83 00 00 */ lwz r12, 0(r3) -/* 8033BACC 00338A2C 38 80 00 01 */ li r4, 1 -/* 8033BAD0 00338A30 81 8C 00 08 */ lwz r12, 8(r12) -/* 8033BAD4 00338A34 7D 89 03 A6 */ mtctr r12 -/* 8033BAD8 00338A38 4E 80 04 21 */ bctrl -lbl_8033BADC: -/* 8033BADC 00338A3C 7F A3 EB 78 */ mr r3, r29 -/* 8033BAE0 00338A40 48 00 00 08 */ b lbl_8033BAE8 -lbl_8033BAE4: -/* 8033BAE4 00338A44 7F 83 E3 78 */ mr r3, r28 -lbl_8033BAE8: -/* 8033BAE8 00338A48 BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 8033BAEC 00338A4C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8033BAF0 00338A50 7C 08 03 A6 */ mtlr r0 -/* 8033BAF4 00338A54 38 21 00 30 */ addi r1, r1, 0x30 -/* 8033BAF8 00338A58 4E 80 00 20 */ blr - -.global LoadResourcePartAsync__10CResLoaderFRC10SObjectTagiiPc -LoadResourcePartAsync__10CResLoaderFRC10SObjectTagiiPc: -/* 8033BAFC 00338A5C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8033BB00 00338A60 7C 08 02 A6 */ mflr r0 -/* 8033BB04 00338A64 90 01 00 24 */ stw r0, 0x24(r1) -/* 8033BB08 00338A68 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8033BB0C 00338A6C 7C 7F 1B 78 */ mr r31, r3 -/* 8033BB10 00338A70 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8033BB14 00338A74 7C FE 3B 78 */ mr r30, r7 -/* 8033BB18 00338A78 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8033BB1C 00338A7C 7C DD 33 78 */ mr r29, r6 -/* 8033BB20 00338A80 93 81 00 10 */ stw r28, 0x10(r1) -/* 8033BB24 00338A84 7C BC 2B 78 */ mr r28, r5 -/* 8033BB28 00338A88 48 00 05 91 */ bl FindResourceForLoad__10CResLoaderFRC10SObjectTag -/* 8033BB2C 00338A8C 7C 60 1B 78 */ mr r0, r3 -/* 8033BB30 00338A90 80 7F 00 50 */ lwz r3, 0x50(r31) -/* 8033BB34 00338A94 7C 1F 03 78 */ mr r31, r0 -/* 8033BB38 00338A98 48 02 CB 69 */ bl GetOffset__Q28CPakFile8SResInfoCFv -/* 8033BB3C 00338A9C 7C 60 1B 78 */ mr r0, r3 -/* 8033BB40 00338AA0 7F E3 FB 78 */ mr r3, r31 -/* 8033BB44 00338AA4 7F C4 F3 78 */ mr r4, r30 -/* 8033BB48 00338AA8 7F A5 EB 78 */ mr r5, r29 -/* 8033BB4C 00338AAC 7C FC 02 14 */ add r7, r28, r0 -/* 8033BB50 00338AB0 38 C0 00 00 */ li r6, 0 -/* 8033BB54 00338AB4 48 01 3E 6D */ bl AsyncSeekRead__8CDvdFileFPvUi11ESeekOrigini -/* 8033BB58 00338AB8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8033BB5C 00338ABC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8033BB60 00338AC0 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8033BB64 00338AC4 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8033BB68 00338AC8 83 81 00 10 */ lwz r28, 0x10(r1) -/* 8033BB6C 00338ACC 7C 08 03 A6 */ mtlr r0 -/* 8033BB70 00338AD0 38 21 00 20 */ addi r1, r1, 0x20 -/* 8033BB74 00338AD4 4E 80 00 20 */ blr - -.global LoadResourceAsync__10CResLoaderFRC10SObjectTagPc -LoadResourceAsync__10CResLoaderFRC10SObjectTagPc: -/* 8033BB78 00338AD8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8033BB7C 00338ADC 7C 08 02 A6 */ mflr r0 -/* 8033BB80 00338AE0 90 01 00 24 */ stw r0, 0x24(r1) -/* 8033BB84 00338AE4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8033BB88 00338AE8 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8033BB8C 00338AEC 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8033BB90 00338AF0 7C 7D 1B 78 */ mr r29, r3 -/* 8033BB94 00338AF4 93 81 00 10 */ stw r28, 0x10(r1) -/* 8033BB98 00338AF8 7C BC 2B 78 */ mr r28, r5 -/* 8033BB9C 00338AFC 48 00 05 1D */ bl FindResourceForLoad__10CResLoaderFRC10SObjectTag -/* 8033BBA0 00338B00 83 BD 00 50 */ lwz r29, 0x50(r29) -/* 8033BBA4 00338B04 7C 7E 1B 78 */ mr r30, r3 -/* 8033BBA8 00338B08 7F A3 EB 78 */ mr r3, r29 -/* 8033BBAC 00338B0C 48 02 CA D5 */ bl GetSize__Q28CPakFile8SResInfoCFv -/* 8033BBB0 00338B10 7C 7F 1B 78 */ mr r31, r3 -/* 8033BBB4 00338B14 7F A3 EB 78 */ mr r3, r29 -/* 8033BBB8 00338B18 48 02 CA E9 */ bl GetOffset__Q28CPakFile8SResInfoCFv -/* 8033BBBC 00338B1C 38 1F 00 1F */ addi r0, r31, 0x1f -/* 8033BBC0 00338B20 7C 67 1B 78 */ mr r7, r3 -/* 8033BBC4 00338B24 7F C3 F3 78 */ mr r3, r30 -/* 8033BBC8 00338B28 7F 84 E3 78 */ mr r4, r28 -/* 8033BBCC 00338B2C 54 05 00 34 */ rlwinm r5, r0, 0, 0, 0x1a -/* 8033BBD0 00338B30 38 C0 00 00 */ li r6, 0 -/* 8033BBD4 00338B34 48 01 3D ED */ bl AsyncSeekRead__8CDvdFileFPvUi11ESeekOrigini -/* 8033BBD8 00338B38 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8033BBDC 00338B3C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8033BBE0 00338B40 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8033BBE4 00338B44 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8033BBE8 00338B48 83 81 00 10 */ lwz r28, 0x10(r1) -/* 8033BBEC 00338B4C 7C 08 03 A6 */ mtlr r0 -/* 8033BBF0 00338B50 38 21 00 20 */ addi r1, r1, 0x20 -/* 8033BBF4 00338B54 4E 80 00 20 */ blr - -.global GetResourceCompression__10CResLoaderCFRC10SObjectTag -GetResourceCompression__10CResLoaderCFRC10SObjectTag: -/* 8033BBF8 00338B58 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8033BBFC 00338B5C 7C 08 02 A6 */ mflr r0 -/* 8033BC00 00338B60 90 01 00 14 */ stw r0, 0x14(r1) -/* 8033BC04 00338B64 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8033BC08 00338B68 7C 7F 1B 78 */ mr r31, r3 -/* 8033BC0C 00338B6C 80 84 00 04 */ lwz r4, 4(r4) -/* 8033BC10 00338B70 48 00 02 69 */ bl FindResource__10CResLoaderCFUi -/* 8033BC14 00338B74 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8033BC18 00338B78 41 82 00 20 */ beq lbl_8033BC38 -/* 8033BC1C 00338B7C 80 7F 00 50 */ lwz r3, 0x50(r31) -/* 8033BC20 00338B80 48 02 CA 49 */ bl IsCompressed__Q28CPakFile8SResInfoCFv -/* 8033BC24 00338B84 54 63 06 3E */ clrlwi r3, r3, 0x18 -/* 8033BC28 00338B88 7C 03 00 D0 */ neg r0, r3 -/* 8033BC2C 00338B8C 7C 00 1B 78 */ or r0, r0, r3 -/* 8033BC30 00338B90 54 03 0F FE */ srwi r3, r0, 0x1f -/* 8033BC34 00338B94 48 00 00 08 */ b lbl_8033BC3C -lbl_8033BC38: -/* 8033BC38 00338B98 38 60 00 00 */ li r3, 0 -lbl_8033BC3C: -/* 8033BC3C 00338B9C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8033BC40 00338BA0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8033BC44 00338BA4 7C 08 03 A6 */ mtlr r0 -/* 8033BC48 00338BA8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8033BC4C 00338BAC 4E 80 00 20 */ blr - -.global ResourceSize__10CResLoaderCFRC10SObjectTag -ResourceSize__10CResLoaderCFRC10SObjectTag: -/* 8033BC50 00338BB0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8033BC54 00338BB4 7C 08 02 A6 */ mflr r0 -/* 8033BC58 00338BB8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8033BC5C 00338BBC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8033BC60 00338BC0 7C 7F 1B 78 */ mr r31, r3 -/* 8033BC64 00338BC4 80 84 00 04 */ lwz r4, 4(r4) -/* 8033BC68 00338BC8 48 00 02 11 */ bl FindResource__10CResLoaderCFUi -/* 8033BC6C 00338BCC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8033BC70 00338BD0 41 82 00 10 */ beq lbl_8033BC80 -/* 8033BC74 00338BD4 80 7F 00 50 */ lwz r3, 0x50(r31) -/* 8033BC78 00338BD8 48 02 CA 09 */ bl GetSize__Q28CPakFile8SResInfoCFv -/* 8033BC7C 00338BDC 48 00 00 08 */ b lbl_8033BC84 -lbl_8033BC80: -/* 8033BC80 00338BE0 38 60 00 00 */ li r3, 0 -lbl_8033BC84: -/* 8033BC84 00338BE4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8033BC88 00338BE8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8033BC8C 00338BEC 7C 08 03 A6 */ mtlr r0 -/* 8033BC90 00338BF0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8033BC94 00338BF4 4E 80 00 20 */ blr - -.global ResourceExists__10CResLoaderCFRC10SObjectTag -ResourceExists__10CResLoaderCFRC10SObjectTag: -/* 8033BC98 00338BF8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8033BC9C 00338BFC 7C 08 02 A6 */ mflr r0 -/* 8033BCA0 00338C00 90 01 00 14 */ stw r0, 0x14(r1) -/* 8033BCA4 00338C04 80 84 00 04 */ lwz r4, 4(r4) -/* 8033BCA8 00338C08 48 00 01 D1 */ bl FindResource__10CResLoaderCFUi -/* 8033BCAC 00338C0C 54 63 06 3E */ clrlwi r3, r3, 0x18 -/* 8033BCB0 00338C10 7C 03 00 D0 */ neg r0, r3 -/* 8033BCB4 00338C14 7C 00 1B 78 */ or r0, r0, r3 -/* 8033BCB8 00338C18 54 03 0F FE */ srwi r3, r0, 0x1f -/* 8033BCBC 00338C1C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8033BCC0 00338C20 7C 08 03 A6 */ mtlr r0 -/* 8033BCC4 00338C24 38 21 00 10 */ addi r1, r1, 0x10 -/* 8033BCC8 00338C28 4E 80 00 20 */ blr - -.global GetResourceTypeById__10CResLoaderCFUi -GetResourceTypeById__10CResLoaderCFUi: -/* 8033BCCC 00338C2C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8033BCD0 00338C30 7C 08 02 A6 */ mflr r0 -/* 8033BCD4 00338C34 90 01 00 14 */ stw r0, 0x14(r1) -/* 8033BCD8 00338C38 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8033BCDC 00338C3C 7C 7F 1B 78 */ mr r31, r3 -/* 8033BCE0 00338C40 48 00 01 99 */ bl FindResource__10CResLoaderCFUi -/* 8033BCE4 00338C44 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8033BCE8 00338C48 41 82 00 10 */ beq lbl_8033BCF8 -/* 8033BCEC 00338C4C 80 7F 00 50 */ lwz r3, 0x50(r31) -/* 8033BCF0 00338C50 48 02 C9 CD */ bl GetType__Q28CPakFile8SResInfoCFv -/* 8033BCF4 00338C54 48 00 00 08 */ b lbl_8033BCFC -lbl_8033BCF8: -/* 8033BCF8 00338C58 38 60 00 00 */ li r3, 0 -lbl_8033BCFC: -/* 8033BCFC 00338C5C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8033BD00 00338C60 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8033BD04 00338C64 7C 08 03 A6 */ mtlr r0 -/* 8033BD08 00338C68 38 21 00 10 */ addi r1, r1, 0x10 -/* 8033BD0C 00338C6C 4E 80 00 20 */ blr - -.global GetResourceIdByName__10CResLoaderCFPCc -GetResourceIdByName__10CResLoaderCFPCc: -/* 8033BD10 00338C70 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8033BD14 00338C74 7C 08 02 A6 */ mflr r0 -/* 8033BD18 00338C78 90 01 00 24 */ stw r0, 0x24(r1) -/* 8033BD1C 00338C7C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8033BD20 00338C80 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8033BD24 00338C84 7C 9E 23 78 */ mr r30, r4 -/* 8033BD28 00338C88 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8033BD2C 00338C8C 7C 7D 1B 78 */ mr r29, r3 -/* 8033BD30 00338C90 83 E3 00 04 */ lwz r31, 4(r3) -/* 8033BD34 00338C94 48 00 00 20 */ b lbl_8033BD54 -lbl_8033BD38: -/* 8033BD38 00338C98 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 8033BD3C 00338C9C 7F C4 F3 78 */ mr r4, r30 -/* 8033BD40 00338CA0 48 02 B9 05 */ bl GetResIdByName__8CPakFileCFPCc -/* 8033BD44 00338CA4 28 03 00 00 */ cmplwi r3, 0 -/* 8033BD48 00338CA8 41 82 00 08 */ beq lbl_8033BD50 -/* 8033BD4C 00338CAC 48 00 00 48 */ b lbl_8033BD94 -lbl_8033BD50: -/* 8033BD50 00338CB0 83 FF 00 04 */ lwz r31, 4(r31) -lbl_8033BD54: -/* 8033BD54 00338CB4 80 1D 00 08 */ lwz r0, 8(r29) -/* 8033BD58 00338CB8 7C 1F 00 40 */ cmplw r31, r0 -/* 8033BD5C 00338CBC 40 82 FF DC */ bne lbl_8033BD38 -/* 8033BD60 00338CC0 83 FD 00 1C */ lwz r31, 0x1c(r29) -/* 8033BD64 00338CC4 48 00 00 20 */ b lbl_8033BD84 -lbl_8033BD68: -/* 8033BD68 00338CC8 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 8033BD6C 00338CCC 7F C4 F3 78 */ mr r4, r30 -/* 8033BD70 00338CD0 48 02 B8 D5 */ bl GetResIdByName__8CPakFileCFPCc -/* 8033BD74 00338CD4 28 03 00 00 */ cmplwi r3, 0 -/* 8033BD78 00338CD8 41 82 00 08 */ beq lbl_8033BD80 -/* 8033BD7C 00338CDC 48 00 00 18 */ b lbl_8033BD94 -lbl_8033BD80: -/* 8033BD80 00338CE0 83 FF 00 04 */ lwz r31, 4(r31) -lbl_8033BD84: -/* 8033BD84 00338CE4 80 1D 00 20 */ lwz r0, 0x20(r29) -/* 8033BD88 00338CE8 7C 1F 00 40 */ cmplw r31, r0 -/* 8033BD8C 00338CEC 40 82 FF DC */ bne lbl_8033BD68 -/* 8033BD90 00338CF0 38 60 00 00 */ li r3, 0 -lbl_8033BD94: -/* 8033BD94 00338CF4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8033BD98 00338CF8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8033BD9C 00338CFC 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8033BDA0 00338D00 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8033BDA4 00338D04 7C 08 03 A6 */ mtlr r0 -/* 8033BDA8 00338D08 38 21 00 20 */ addi r1, r1, 0x20 -/* 8033BDAC 00338D0C 4E 80 00 20 */ blr - -.global AreAllPaksLoaded__10CResLoaderCFv -AreAllPaksLoaded__10CResLoaderCFv: -/* 8033BDB0 00338D10 80 03 00 44 */ lwz r0, 0x44(r3) -/* 8033BDB4 00338D14 7C 00 00 34 */ cntlzw r0, r0 -/* 8033BDB8 00338D18 54 03 D9 7E */ srwi r3, r0, 5 -/* 8033BDBC 00338D1C 4E 80 00 20 */ blr - -.global AsyncIdlePakLoading__10CResLoaderFv -AsyncIdlePakLoading__10CResLoaderFv: -/* 8033BDC0 00338D20 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8033BDC4 00338D24 7C 08 02 A6 */ mflr r0 -/* 8033BDC8 00338D28 90 01 00 24 */ stw r0, 0x24(r1) -/* 8033BDCC 00338D2C BF 61 00 0C */ stmw r27, 0xc(r1) -/* 8033BDD0 00338D30 7C 7B 1B 78 */ mr r27, r3 -/* 8033BDD4 00338D34 3B 80 00 00 */ li r28, 0 -/* 8033BDD8 00338D38 83 A3 00 34 */ lwz r29, 0x34(r3) -/* 8033BDDC 00338D3C 48 00 00 60 */ b lbl_8033BE3C -lbl_8033BDE0: -/* 8033BDE0 00338D40 83 DD 00 0C */ lwz r30, 0xc(r29) -/* 8033BDE4 00338D44 88 1E 00 28 */ lbz r0, 0x28(r30) -/* 8033BDE8 00338D48 54 1F D7 FF */ rlwinm. r31, r0, 0x1a, 0x1f, 0x1f -/* 8033BDEC 00338D4C 40 82 00 0C */ bne lbl_8033BDF8 -/* 8033BDF0 00338D50 57 80 06 3F */ clrlwi. r0, r28, 0x18 -/* 8033BDF4 00338D54 40 82 00 0C */ bne lbl_8033BE00 -lbl_8033BDF8: -/* 8033BDF8 00338D58 7F C3 F3 78 */ mr r3, r30 -/* 8033BDFC 00338D5C 48 02 C5 55 */ bl AsyncIdle__8CPakFileFv -lbl_8033BE00: -/* 8033BE00 00338D60 80 1E 00 2C */ lwz r0, 0x2c(r30) -/* 8033BE04 00338D64 2C 00 00 03 */ cmpwi r0, 3 -/* 8033BE08 00338D68 40 82 00 24 */ bne lbl_8033BE2C -/* 8033BE0C 00338D6C 7F 63 DB 78 */ mr r3, r27 -/* 8033BE10 00338D70 38 9D 00 08 */ addi r4, r29, 8 -/* 8033BE14 00338D74 48 00 03 AD */ bl "MoveToCorrectLoadedList__10CResLoaderFRCQ24rstl19auto_ptr<8CPakFile>" -/* 8033BE18 00338D78 7F A4 EB 78 */ mr r4, r29 -/* 8033BE1C 00338D7C 38 7B 00 30 */ addi r3, r27, 0x30 -/* 8033BE20 00338D80 48 00 06 71 */ bl sub_8033c490 -/* 8033BE24 00338D84 7C 7D 1B 78 */ mr r29, r3 -/* 8033BE28 00338D88 48 00 00 14 */ b lbl_8033BE3C -lbl_8033BE2C: -/* 8033BE2C 00338D8C 28 1F 00 00 */ cmplwi r31, 0 -/* 8033BE30 00338D90 40 82 00 08 */ bne lbl_8033BE38 -/* 8033BE34 00338D94 3B 80 00 01 */ li r28, 1 -lbl_8033BE38: -/* 8033BE38 00338D98 83 BD 00 04 */ lwz r29, 4(r29) -lbl_8033BE3C: -/* 8033BE3C 00338D9C 80 1B 00 38 */ lwz r0, 0x38(r27) -/* 8033BE40 00338DA0 7C 1D 00 40 */ cmplw r29, r0 -/* 8033BE44 00338DA4 40 82 FF 9C */ bne lbl_8033BDE0 -/* 8033BE48 00338DA8 BB 61 00 0C */ lmw r27, 0xc(r1) -/* 8033BE4C 00338DAC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8033BE50 00338DB0 7C 08 03 A6 */ mtlr r0 -/* 8033BE54 00338DB4 38 21 00 20 */ addi r1, r1, 0x20 -/* 8033BE58 00338DB8 4E 80 00 20 */ blr - -.global sub_8033be5c -sub_8033be5c: -/* 8033BE5C 00338DBC 80 A3 00 20 */ lwz r5, 0x20(r3) -/* 8033BE60 00338DC0 38 80 FF FF */ li r4, -1 -/* 8033BE64 00338DC4 38 00 00 00 */ li r0, 0 -/* 8033BE68 00338DC8 90 A3 00 48 */ stw r5, 0x48(r3) -/* 8033BE6C 00338DCC 90 83 00 4C */ stw r4, 0x4c(r3) -/* 8033BE70 00338DD0 90 03 00 50 */ stw r0, 0x50(r3) -/* 8033BE74 00338DD4 4E 80 00 20 */ blr - -.global FindResource__10CResLoaderCFUi -FindResource__10CResLoaderCFUi: -/* 8033BE78 00338DD8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8033BE7C 00338DDC 7C 08 02 A6 */ mflr r0 -/* 8033BE80 00338DE0 90 01 00 24 */ stw r0, 0x24(r1) -/* 8033BE84 00338DE4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8033BE88 00338DE8 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8033BE8C 00338DEC 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8033BE90 00338DF0 7C 7D 1B 78 */ mr r29, r3 -/* 8033BE94 00338DF4 80 03 00 4C */ lwz r0, 0x4c(r3) -/* 8033BE98 00338DF8 7C 00 20 40 */ cmplw r0, r4 -/* 8033BE9C 00338DFC 40 82 00 0C */ bne lbl_8033BEA8 -/* 8033BEA0 00338E00 38 60 00 01 */ li r3, 1 -/* 8033BEA4 00338E04 48 00 00 B8 */ b lbl_8033BF5C -lbl_8033BEA8: -/* 8033BEA8 00338E08 83 FD 00 04 */ lwz r31, 4(r29) -/* 8033BEAC 00338E0C 7C 9E 23 78 */ mr r30, r4 -/* 8033BEB0 00338E10 48 00 00 28 */ b lbl_8033BED8 -lbl_8033BEB4: -/* 8033BEB4 00338E14 80 9F 00 0C */ lwz r4, 0xc(r31) -/* 8033BEB8 00338E18 7F A3 EB 78 */ mr r3, r29 -/* 8033BEBC 00338E1C 7F C5 F3 78 */ mr r5, r30 -/* 8033BEC0 00338E20 48 00 02 A5 */ bl CacheFromPak__10CResLoaderCFRC8CPakFileUi -/* 8033BEC4 00338E24 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8033BEC8 00338E28 41 82 00 0C */ beq lbl_8033BED4 -/* 8033BECC 00338E2C 38 60 00 01 */ li r3, 1 -/* 8033BED0 00338E30 48 00 00 8C */ b lbl_8033BF5C -lbl_8033BED4: -/* 8033BED4 00338E34 83 FF 00 04 */ lwz r31, 4(r31) -lbl_8033BED8: -/* 8033BED8 00338E38 80 1D 00 08 */ lwz r0, 8(r29) -/* 8033BEDC 00338E3C 7C 1F 00 40 */ cmplw r31, r0 -/* 8033BEE0 00338E40 40 82 FF D4 */ bne lbl_8033BEB4 -/* 8033BEE4 00338E44 80 7D 00 48 */ lwz r3, 0x48(r29) -/* 8033BEE8 00338E48 80 1D 00 20 */ lwz r0, 0x20(r29) -/* 8033BEEC 00338E4C 7C 03 00 40 */ cmplw r3, r0 -/* 8033BEF0 00338E50 41 82 00 24 */ beq lbl_8033BF14 -/* 8033BEF4 00338E54 80 83 00 0C */ lwz r4, 0xc(r3) -/* 8033BEF8 00338E58 7F A3 EB 78 */ mr r3, r29 -/* 8033BEFC 00338E5C 7F C5 F3 78 */ mr r5, r30 -/* 8033BF00 00338E60 48 00 02 65 */ bl CacheFromPak__10CResLoaderCFRC8CPakFileUi -/* 8033BF04 00338E64 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8033BF08 00338E68 41 82 00 0C */ beq lbl_8033BF14 -/* 8033BF0C 00338E6C 38 60 00 01 */ li r3, 1 -/* 8033BF10 00338E70 48 00 00 4C */ b lbl_8033BF5C -lbl_8033BF14: -/* 8033BF14 00338E74 83 FD 00 1C */ lwz r31, 0x1c(r29) -/* 8033BF18 00338E78 48 00 00 34 */ b lbl_8033BF4C -lbl_8033BF1C: -/* 8033BF1C 00338E7C 80 1D 00 48 */ lwz r0, 0x48(r29) -/* 8033BF20 00338E80 7C 00 F8 40 */ cmplw r0, r31 -/* 8033BF24 00338E84 41 82 00 24 */ beq lbl_8033BF48 -/* 8033BF28 00338E88 80 9F 00 0C */ lwz r4, 0xc(r31) -/* 8033BF2C 00338E8C 7F A3 EB 78 */ mr r3, r29 -/* 8033BF30 00338E90 7F C5 F3 78 */ mr r5, r30 -/* 8033BF34 00338E94 48 00 02 31 */ bl CacheFromPak__10CResLoaderCFRC8CPakFileUi -/* 8033BF38 00338E98 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8033BF3C 00338E9C 41 82 00 0C */ beq lbl_8033BF48 -/* 8033BF40 00338EA0 38 60 00 01 */ li r3, 1 -/* 8033BF44 00338EA4 48 00 00 18 */ b lbl_8033BF5C -lbl_8033BF48: -/* 8033BF48 00338EA8 83 FF 00 04 */ lwz r31, 4(r31) -lbl_8033BF4C: -/* 8033BF4C 00338EAC 80 1D 00 20 */ lwz r0, 0x20(r29) -/* 8033BF50 00338EB0 7C 1F 00 40 */ cmplw r31, r0 -/* 8033BF54 00338EB4 40 82 FF C8 */ bne lbl_8033BF1C -/* 8033BF58 00338EB8 38 60 00 00 */ li r3, 0 -lbl_8033BF5C: -/* 8033BF5C 00338EBC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8033BF60 00338EC0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8033BF64 00338EC4 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8033BF68 00338EC8 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8033BF6C 00338ECC 7C 08 03 A6 */ mtlr r0 -/* 8033BF70 00338ED0 38 21 00 20 */ addi r1, r1, 0x20 -/* 8033BF74 00338ED4 4E 80 00 20 */ blr - -.global FindResource__10CResLoaderCFRC10SObjectTag -FindResource__10CResLoaderCFRC10SObjectTag: -/* 8033BF78 00338ED8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8033BF7C 00338EDC 7C 08 02 A6 */ mflr r0 -/* 8033BF80 00338EE0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8033BF84 00338EE4 38 00 00 00 */ li r0, 0 -/* 8033BF88 00338EE8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8033BF8C 00338EEC 7C 7F 1B 78 */ mr r31, r3 -/* 8033BF90 00338EF0 98 03 00 54 */ stb r0, 0x54(r3) -/* 8033BF94 00338EF4 48 00 01 25 */ bl FindResourceForLoad__10CResLoaderFRC10SObjectTag -/* 8033BF98 00338EF8 38 00 00 01 */ li r0, 1 -/* 8033BF9C 00338EFC 98 1F 00 54 */ stb r0, 0x54(r31) -/* 8033BFA0 00338F00 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8033BFA4 00338F04 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8033BFA8 00338F08 7C 08 03 A6 */ mtlr r0 -/* 8033BFAC 00338F0C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8033BFB0 00338F10 4E 80 00 20 */ blr - -.global FindResourceForLoad__10CResLoaderFUi -FindResourceForLoad__10CResLoaderFUi: -/* 8033BFB4 00338F14 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8033BFB8 00338F18 7C 08 02 A6 */ mflr r0 -/* 8033BFBC 00338F1C 90 01 00 24 */ stw r0, 0x24(r1) -/* 8033BFC0 00338F20 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8033BFC4 00338F24 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8033BFC8 00338F28 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8033BFCC 00338F2C 7C 9D 23 78 */ mr r29, r4 -/* 8033BFD0 00338F30 93 81 00 10 */ stw r28, 0x10(r1) -/* 8033BFD4 00338F34 7C 7C 1B 78 */ mr r28, r3 -/* 8033BFD8 00338F38 83 C3 00 04 */ lwz r30, 4(r3) -/* 8033BFDC 00338F3C 48 00 00 2C */ b lbl_8033C008 -lbl_8033BFE0: -/* 8033BFE0 00338F40 83 FE 00 0C */ lwz r31, 0xc(r30) -/* 8033BFE4 00338F44 7F 83 E3 78 */ mr r3, r28 -/* 8033BFE8 00338F48 7F A5 EB 78 */ mr r5, r29 -/* 8033BFEC 00338F4C 7F E4 FB 78 */ mr r4, r31 -/* 8033BFF0 00338F50 48 00 01 75 */ bl CacheFromPak__10CResLoaderCFRC8CPakFileUi -/* 8033BFF4 00338F54 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8033BFF8 00338F58 41 82 00 0C */ beq lbl_8033C004 -/* 8033BFFC 00338F5C 7F E3 FB 78 */ mr r3, r31 -/* 8033C000 00338F60 48 00 00 98 */ b lbl_8033C098 -lbl_8033C004: -/* 8033C004 00338F64 83 DE 00 04 */ lwz r30, 4(r30) -lbl_8033C008: -/* 8033C008 00338F68 80 1C 00 08 */ lwz r0, 8(r28) -/* 8033C00C 00338F6C 7C 1E 00 40 */ cmplw r30, r0 -/* 8033C010 00338F70 40 82 FF D0 */ bne lbl_8033BFE0 -/* 8033C014 00338F74 80 7C 00 48 */ lwz r3, 0x48(r28) -/* 8033C018 00338F78 80 1C 00 20 */ lwz r0, 0x20(r28) -/* 8033C01C 00338F7C 7C 03 00 40 */ cmplw r3, r0 -/* 8033C020 00338F80 41 82 00 28 */ beq lbl_8033C048 -/* 8033C024 00338F84 83 E3 00 0C */ lwz r31, 0xc(r3) -/* 8033C028 00338F88 7F 83 E3 78 */ mr r3, r28 -/* 8033C02C 00338F8C 7F A5 EB 78 */ mr r5, r29 -/* 8033C030 00338F90 7F E4 FB 78 */ mr r4, r31 -/* 8033C034 00338F94 48 00 00 A9 */ bl CacheFromPakForLoad__10CResLoaderFR8CPakFileUi -/* 8033C038 00338F98 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8033C03C 00338F9C 41 82 00 0C */ beq lbl_8033C048 -/* 8033C040 00338FA0 7F E3 FB 78 */ mr r3, r31 -/* 8033C044 00338FA4 48 00 00 54 */ b lbl_8033C098 -lbl_8033C048: -/* 8033C048 00338FA8 83 DC 00 1C */ lwz r30, 0x1c(r28) -/* 8033C04C 00338FAC 48 00 00 3C */ b lbl_8033C088 -lbl_8033C050: -/* 8033C050 00338FB0 80 1C 00 48 */ lwz r0, 0x48(r28) -/* 8033C054 00338FB4 83 FE 00 0C */ lwz r31, 0xc(r30) -/* 8033C058 00338FB8 7C 00 F0 40 */ cmplw r0, r30 -/* 8033C05C 00338FBC 41 82 00 28 */ beq lbl_8033C084 -/* 8033C060 00338FC0 7F 83 E3 78 */ mr r3, r28 -/* 8033C064 00338FC4 7F E4 FB 78 */ mr r4, r31 -/* 8033C068 00338FC8 7F A5 EB 78 */ mr r5, r29 -/* 8033C06C 00338FCC 48 00 00 71 */ bl CacheFromPakForLoad__10CResLoaderFR8CPakFileUi -/* 8033C070 00338FD0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8033C074 00338FD4 41 82 00 10 */ beq lbl_8033C084 -/* 8033C078 00338FD8 93 DC 00 48 */ stw r30, 0x48(r28) -/* 8033C07C 00338FDC 7F E3 FB 78 */ mr r3, r31 -/* 8033C080 00338FE0 48 00 00 18 */ b lbl_8033C098 -lbl_8033C084: -/* 8033C084 00338FE4 83 DE 00 04 */ lwz r30, 4(r30) -lbl_8033C088: -/* 8033C088 00338FE8 80 1C 00 20 */ lwz r0, 0x20(r28) -/* 8033C08C 00338FEC 7C 1E 00 40 */ cmplw r30, r0 -/* 8033C090 00338FF0 40 82 FF C0 */ bne lbl_8033C050 -/* 8033C094 00338FF4 38 60 00 00 */ li r3, 0 -lbl_8033C098: -/* 8033C098 00338FF8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8033C09C 00338FFC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8033C0A0 00339000 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8033C0A4 00339004 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8033C0A8 00339008 83 81 00 10 */ lwz r28, 0x10(r1) -/* 8033C0AC 0033900C 7C 08 03 A6 */ mtlr r0 -/* 8033C0B0 00339010 38 21 00 20 */ addi r1, r1, 0x20 -/* 8033C0B4 00339014 4E 80 00 20 */ blr - -.global FindResourceForLoad__10CResLoaderFRC10SObjectTag -FindResourceForLoad__10CResLoaderFRC10SObjectTag: -/* 8033C0B8 00339018 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8033C0BC 0033901C 7C 08 02 A6 */ mflr r0 -/* 8033C0C0 00339020 90 01 00 14 */ stw r0, 0x14(r1) -/* 8033C0C4 00339024 80 84 00 04 */ lwz r4, 4(r4) -/* 8033C0C8 00339028 4B FF FE ED */ bl FindResourceForLoad__10CResLoaderFUi -/* 8033C0CC 0033902C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8033C0D0 00339030 7C 08 03 A6 */ mtlr r0 -/* 8033C0D4 00339034 38 21 00 10 */ addi r1, r1, 0x10 -/* 8033C0D8 00339038 4E 80 00 20 */ blr - -.global CacheFromPakForLoad__10CResLoaderFR8CPakFileUi -CacheFromPakForLoad__10CResLoaderFR8CPakFileUi: -/* 8033C0DC 0033903C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8033C0E0 00339040 7C 08 02 A6 */ mflr r0 -/* 8033C0E4 00339044 90 01 00 14 */ stw r0, 0x14(r1) -/* 8033C0E8 00339048 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8033C0EC 0033904C 7C BF 2B 78 */ mr r31, r5 -/* 8033C0F0 00339050 93 C1 00 08 */ stw r30, 8(r1) -/* 8033C0F4 00339054 7C 7E 1B 78 */ mr r30, r3 -/* 8033C0F8 00339058 88 03 00 54 */ lbz r0, 0x54(r3) -/* 8033C0FC 0033905C 28 00 00 00 */ cmplwi r0, 0 -/* 8033C100 00339060 41 82 00 20 */ beq lbl_8033C120 -/* 8033C104 00339064 7C 83 23 78 */ mr r3, r4 -/* 8033C108 00339068 7F E4 FB 78 */ mr r4, r31 -/* 8033C10C 0033906C 48 02 B5 E5 */ bl GetResInfoForLoadPreferForward__8CPakFileCFUi -/* 8033C110 00339070 38 00 00 00 */ li r0, 0 -/* 8033C114 00339074 98 1E 00 54 */ stb r0, 0x54(r30) -/* 8033C118 00339078 7C 60 1B 78 */ mr r0, r3 -/* 8033C11C 0033907C 48 00 00 14 */ b lbl_8033C130 -lbl_8033C120: -/* 8033C120 00339080 7C 83 23 78 */ mr r3, r4 -/* 8033C124 00339084 7F E4 FB 78 */ mr r4, r31 -/* 8033C128 00339088 48 02 B7 45 */ bl GetResInfoForLoadDirectionless__8CPakFileCFUi -/* 8033C12C 0033908C 7C 60 1B 78 */ mr r0, r3 -lbl_8033C130: -/* 8033C130 00339090 28 00 00 00 */ cmplwi r0, 0 -/* 8033C134 00339094 40 82 00 0C */ bne lbl_8033C140 -/* 8033C138 00339098 38 60 00 00 */ li r3, 0 -/* 8033C13C 0033909C 48 00 00 10 */ b lbl_8033C14C -lbl_8033C140: -/* 8033C140 003390A0 93 FE 00 4C */ stw r31, 0x4c(r30) -/* 8033C144 003390A4 38 60 00 01 */ li r3, 1 -/* 8033C148 003390A8 90 1E 00 50 */ stw r0, 0x50(r30) -lbl_8033C14C: -/* 8033C14C 003390AC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8033C150 003390B0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8033C154 003390B4 83 C1 00 08 */ lwz r30, 8(r1) -/* 8033C158 003390B8 7C 08 03 A6 */ mtlr r0 -/* 8033C15C 003390BC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8033C160 003390C0 4E 80 00 20 */ blr - -.global CacheFromPak__10CResLoaderCFRC8CPakFileUi -CacheFromPak__10CResLoaderCFRC8CPakFileUi: -/* 8033C164 003390C4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8033C168 003390C8 7C 08 02 A6 */ mflr r0 -/* 8033C16C 003390CC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8033C170 003390D0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8033C174 003390D4 7C BF 2B 78 */ mr r31, r5 -/* 8033C178 003390D8 93 C1 00 08 */ stw r30, 8(r1) -/* 8033C17C 003390DC 7C 7E 1B 78 */ mr r30, r3 -/* 8033C180 003390E0 7C 83 23 78 */ mr r3, r4 -/* 8033C184 003390E4 7F E4 FB 78 */ mr r4, r31 -/* 8033C188 003390E8 48 02 B8 45 */ bl GetResInfo__8CPakFileCFUi -/* 8033C18C 003390EC 28 03 00 00 */ cmplwi r3, 0 -/* 8033C190 003390F0 40 82 00 0C */ bne lbl_8033C19C -/* 8033C194 003390F4 38 60 00 00 */ li r3, 0 -/* 8033C198 003390F8 48 00 00 10 */ b lbl_8033C1A8 -lbl_8033C19C: -/* 8033C19C 003390FC 93 FE 00 4C */ stw r31, 0x4c(r30) -/* 8033C1A0 00339100 90 7E 00 50 */ stw r3, 0x50(r30) -/* 8033C1A4 00339104 38 60 00 01 */ li r3, 1 -lbl_8033C1A8: -/* 8033C1A8 00339108 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8033C1AC 0033910C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8033C1B0 00339110 83 C1 00 08 */ lwz r30, 8(r1) -/* 8033C1B4 00339114 7C 08 03 A6 */ mtlr r0 -/* 8033C1B8 00339118 38 21 00 10 */ addi r1, r1, 0x10 -/* 8033C1BC 0033911C 4E 80 00 20 */ blr - -.global "MoveToCorrectLoadedList__10CResLoaderFRCQ24rstl19auto_ptr<8CPakFile>" -"MoveToCorrectLoadedList__10CResLoaderFRCQ24rstl19auto_ptr<8CPakFile>": -/* 8033C1C0 00339120 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8033C1C4 00339124 7C 08 02 A6 */ mflr r0 -/* 8033C1C8 00339128 90 01 00 24 */ stw r0, 0x24(r1) -/* 8033C1CC 0033912C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8033C1D0 00339130 7C 9F 23 78 */ mr r31, r4 -/* 8033C1D4 00339134 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8033C1D8 00339138 7C 7E 1B 78 */ mr r30, r3 -/* 8033C1DC 0033913C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8033C1E0 00339140 93 81 00 10 */ stw r28, 0x10(r1) -/* 8033C1E4 00339144 80 64 00 04 */ lwz r3, 4(r4) -/* 8033C1E8 00339148 88 03 00 28 */ lbz r0, 0x28(r3) -/* 8033C1EC 0033914C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 8033C1F0 00339150 41 82 00 80 */ beq lbl_8033C270 -/* 8033C1F4 00339154 83 BE 00 08 */ lwz r29, 8(r30) -/* 8033C1F8 00339158 3C 60 80 3D */ lis r3, lbl_803D7A38@ha -/* 8033C1FC 0033915C 38 83 7A 38 */ addi r4, r3, lbl_803D7A38@l -/* 8033C200 00339160 38 A0 00 00 */ li r5, 0 -/* 8033C204 00339164 83 9D 00 00 */ lwz r28, 0(r29) -/* 8033C208 00339168 38 60 00 10 */ li r3, 0x10 -/* 8033C20C 0033916C 4B FD 96 0D */ bl __nwa__FUlPCcPCc -/* 8033C210 00339170 28 03 00 00 */ cmplwi r3, 0 -/* 8033C214 00339174 41 82 00 0C */ beq lbl_8033C220 -/* 8033C218 00339178 93 83 00 00 */ stw r28, 0(r3) -/* 8033C21C 0033917C 93 A3 00 04 */ stw r29, 4(r3) -lbl_8033C220: -/* 8033C220 00339180 34 A3 00 08 */ addic. r5, r3, 8 -/* 8033C224 00339184 41 82 00 1C */ beq lbl_8033C240 -/* 8033C228 00339188 88 9F 00 00 */ lbz r4, 0(r31) -/* 8033C22C 0033918C 38 00 00 00 */ li r0, 0 -/* 8033C230 00339190 98 85 00 00 */ stb r4, 0(r5) -/* 8033C234 00339194 80 9F 00 04 */ lwz r4, 4(r31) -/* 8033C238 00339198 90 85 00 04 */ stw r4, 4(r5) -/* 8033C23C 0033919C 98 1F 00 00 */ stb r0, 0(r31) -lbl_8033C240: -/* 8033C240 003391A0 80 1E 00 04 */ lwz r0, 4(r30) -/* 8033C244 003391A4 7C 1D 00 40 */ cmplw r29, r0 -/* 8033C248 003391A8 40 82 00 08 */ bne lbl_8033C250 -/* 8033C24C 003391AC 90 7E 00 04 */ stw r3, 4(r30) -lbl_8033C250: -/* 8033C250 003391B0 80 83 00 00 */ lwz r4, 0(r3) -/* 8033C254 003391B4 90 64 00 04 */ stw r3, 4(r4) -/* 8033C258 003391B8 80 83 00 04 */ lwz r4, 4(r3) -/* 8033C25C 003391BC 90 64 00 00 */ stw r3, 0(r4) -/* 8033C260 003391C0 80 7E 00 14 */ lwz r3, 0x14(r30) -/* 8033C264 003391C4 38 03 00 01 */ addi r0, r3, 1 -/* 8033C268 003391C8 90 1E 00 14 */ stw r0, 0x14(r30) -/* 8033C26C 003391CC 48 00 00 7C */ b lbl_8033C2E8 -lbl_8033C270: -/* 8033C270 003391D0 83 BE 00 20 */ lwz r29, 0x20(r30) -/* 8033C274 003391D4 3C 60 80 3D */ lis r3, lbl_803D7A38@ha -/* 8033C278 003391D8 38 83 7A 38 */ addi r4, r3, lbl_803D7A38@l -/* 8033C27C 003391DC 38 A0 00 00 */ li r5, 0 -/* 8033C280 003391E0 83 9D 00 00 */ lwz r28, 0(r29) -/* 8033C284 003391E4 38 60 00 10 */ li r3, 0x10 -/* 8033C288 003391E8 4B FD 95 91 */ bl __nwa__FUlPCcPCc -/* 8033C28C 003391EC 28 03 00 00 */ cmplwi r3, 0 -/* 8033C290 003391F0 41 82 00 0C */ beq lbl_8033C29C -/* 8033C294 003391F4 93 83 00 00 */ stw r28, 0(r3) -/* 8033C298 003391F8 93 A3 00 04 */ stw r29, 4(r3) -lbl_8033C29C: -/* 8033C29C 003391FC 34 A3 00 08 */ addic. r5, r3, 8 -/* 8033C2A0 00339200 41 82 00 1C */ beq lbl_8033C2BC -/* 8033C2A4 00339204 88 9F 00 00 */ lbz r4, 0(r31) -/* 8033C2A8 00339208 38 00 00 00 */ li r0, 0 -/* 8033C2AC 0033920C 98 85 00 00 */ stb r4, 0(r5) -/* 8033C2B0 00339210 80 9F 00 04 */ lwz r4, 4(r31) -/* 8033C2B4 00339214 90 85 00 04 */ stw r4, 4(r5) -/* 8033C2B8 00339218 98 1F 00 00 */ stb r0, 0(r31) -lbl_8033C2BC: -/* 8033C2BC 0033921C 80 1E 00 1C */ lwz r0, 0x1c(r30) -/* 8033C2C0 00339220 7C 1D 00 40 */ cmplw r29, r0 -/* 8033C2C4 00339224 40 82 00 08 */ bne lbl_8033C2CC -/* 8033C2C8 00339228 90 7E 00 1C */ stw r3, 0x1c(r30) -lbl_8033C2CC: -/* 8033C2CC 0033922C 80 83 00 00 */ lwz r4, 0(r3) -/* 8033C2D0 00339230 90 64 00 04 */ stw r3, 4(r4) -/* 8033C2D4 00339234 80 83 00 04 */ lwz r4, 4(r3) -/* 8033C2D8 00339238 90 64 00 00 */ stw r3, 0(r4) -/* 8033C2DC 0033923C 80 7E 00 2C */ lwz r3, 0x2c(r30) -/* 8033C2E0 00339240 38 03 00 01 */ addi r0, r3, 1 -/* 8033C2E4 00339244 90 1E 00 2C */ stw r0, 0x2c(r30) -lbl_8033C2E8: -/* 8033C2E8 00339248 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8033C2EC 0033924C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8033C2F0 00339250 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8033C2F4 00339254 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8033C2F8 00339258 83 81 00 10 */ lwz r28, 0x10(r1) -/* 8033C2FC 0033925C 7C 08 03 A6 */ mtlr r0 -/* 8033C300 00339260 38 21 00 20 */ addi r1, r1, 0x20 -/* 8033C304 00339264 4E 80 00 20 */ blr - -.global __dt__10CResLoaderFv -__dt__10CResLoaderFv: -/* 8033C308 00339268 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8033C30C 0033926C 7C 08 02 A6 */ mflr r0 -/* 8033C310 00339270 90 01 00 24 */ stw r0, 0x24(r1) -/* 8033C314 00339274 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8033C318 00339278 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8033C31C 0033927C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8033C320 00339280 7C 9D 23 78 */ mr r29, r4 -/* 8033C324 00339284 93 81 00 10 */ stw r28, 0x10(r1) -/* 8033C328 00339288 7C 7C 1B 79 */ or. r28, r3, r3 -/* 8033C32C 0033928C 41 82 00 6C */ beq lbl_8033C398 -/* 8033C330 00339290 83 DC 00 34 */ lwz r30, 0x34(r28) -/* 8033C334 00339294 48 00 00 24 */ b lbl_8033C358 -lbl_8033C338: -/* 8033C338 00339298 83 FE 00 0C */ lwz r31, 0xc(r30) -/* 8033C33C 0033929C 48 00 00 0C */ b lbl_8033C348 -lbl_8033C340: -/* 8033C340 003392A0 7F E3 FB 78 */ mr r3, r31 -/* 8033C344 003392A4 48 02 C0 0D */ bl AsyncIdle__8CPakFileFv -lbl_8033C348: -/* 8033C348 003392A8 80 1F 00 2C */ lwz r0, 0x2c(r31) -/* 8033C34C 003392AC 2C 00 00 03 */ cmpwi r0, 3 -/* 8033C350 003392B0 40 82 FF F0 */ bne lbl_8033C340 -/* 8033C354 003392B4 83 DE 00 04 */ lwz r30, 4(r30) -lbl_8033C358: -/* 8033C358 003392B8 80 1C 00 38 */ lwz r0, 0x38(r28) -/* 8033C35C 003392BC 7C 1E 00 40 */ cmplw r30, r0 -/* 8033C360 003392C0 40 82 FF D8 */ bne lbl_8033C338 -/* 8033C364 003392C4 38 7C 00 30 */ addi r3, r28, 0x30 -/* 8033C368 003392C8 38 80 FF FF */ li r4, -1 -/* 8033C36C 003392CC 48 00 01 CD */ bl sub_8033c538 -/* 8033C370 003392D0 38 7C 00 18 */ addi r3, r28, 0x18 -/* 8033C374 003392D4 38 80 FF FF */ li r4, -1 -/* 8033C378 003392D8 48 00 01 C1 */ bl sub_8033c538 -/* 8033C37C 003392DC 7F 83 E3 78 */ mr r3, r28 -/* 8033C380 003392E0 38 80 FF FF */ li r4, -1 -/* 8033C384 003392E4 48 00 01 B5 */ bl sub_8033c538 -/* 8033C388 003392E8 7F A0 07 35 */ extsh. r0, r29 -/* 8033C38C 003392EC 40 81 00 0C */ ble lbl_8033C398 -/* 8033C390 003392F0 7F 83 E3 78 */ mr r3, r28 -/* 8033C394 003392F4 4B FD 95 9D */ bl Free__7CMemoryFPCv -lbl_8033C398: -/* 8033C398 003392F8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8033C39C 003392FC 7F 83 E3 78 */ mr r3, r28 -/* 8033C3A0 00339300 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8033C3A4 00339304 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8033C3A8 00339308 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8033C3AC 0033930C 83 81 00 10 */ lwz r28, 0x10(r1) -/* 8033C3B0 00339310 7C 08 03 A6 */ mtlr r0 -/* 8033C3B4 00339314 38 21 00 20 */ addi r1, r1, 0x20 -/* 8033C3B8 00339318 4E 80 00 20 */ blr - -.global __ct__10CResLoaderFv -__ct__10CResLoaderFv: -/* 8033C3BC 0033931C 38 83 00 0C */ addi r4, r3, 0xc -/* 8033C3C0 00339320 38 A0 00 00 */ li r5, 0 -/* 8033C3C4 00339324 90 83 00 04 */ stw r4, 4(r3) -/* 8033C3C8 00339328 38 C3 00 24 */ addi r6, r3, 0x24 -/* 8033C3CC 0033932C 38 E3 00 3C */ addi r7, r3, 0x3c -/* 8033C3D0 00339330 38 00 FF FF */ li r0, -1 -/* 8033C3D4 00339334 90 83 00 08 */ stw r4, 8(r3) -/* 8033C3D8 00339338 90 83 00 0C */ stw r4, 0xc(r3) -/* 8033C3DC 0033933C 90 83 00 10 */ stw r4, 0x10(r3) -/* 8033C3E0 00339340 90 A3 00 14 */ stw r5, 0x14(r3) -/* 8033C3E4 00339344 90 C3 00 1C */ stw r6, 0x1c(r3) -/* 8033C3E8 00339348 90 C3 00 20 */ stw r6, 0x20(r3) -/* 8033C3EC 0033934C 90 C3 00 24 */ stw r6, 0x24(r3) -/* 8033C3F0 00339350 90 C3 00 28 */ stw r6, 0x28(r3) -/* 8033C3F4 00339354 90 A3 00 2C */ stw r5, 0x2c(r3) -/* 8033C3F8 00339358 90 E3 00 34 */ stw r7, 0x34(r3) -/* 8033C3FC 0033935C 90 E3 00 38 */ stw r7, 0x38(r3) -/* 8033C400 00339360 90 E3 00 3C */ stw r7, 0x3c(r3) -/* 8033C404 00339364 90 E3 00 40 */ stw r7, 0x40(r3) -/* 8033C408 00339368 90 A3 00 44 */ stw r5, 0x44(r3) -/* 8033C40C 0033936C 80 83 00 20 */ lwz r4, 0x20(r3) -/* 8033C410 00339370 90 83 00 48 */ stw r4, 0x48(r3) -/* 8033C414 00339374 90 03 00 4C */ stw r0, 0x4c(r3) -/* 8033C418 00339378 90 A3 00 50 */ stw r5, 0x50(r3) -/* 8033C41C 0033937C 98 A3 00 54 */ stb r5, 0x54(r3) -/* 8033C420 00339380 4E 80 00 20 */ blr - -.global "distance,Q24rstl17rmemory_allocator>,10SObjectTag>,Q24rstl138vector,Q24rstl17rmemory_allocator>,10SObjectTag>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl303const_pointer_iterator,Q24rstl17rmemory_allocator>,10SObjectTag>,Q24rstl138vector,Q24rstl17rmemory_allocator>,10SObjectTag>,Q24rstl138vector,Q24rstl17rmemory_allocator>,10SObjectTag>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl303const_pointer_iterator,Q24rstl17rmemory_allocator>,10SObjectTag>,Q24rstl138vector,Q24rstl17rmemory_allocator>,10SObjectTag>,Q24rstl138vector,Q24rstl17rmemory_allocator>,10SObjectTag>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl303const_pointer_iterator,Q24rstl17rmemory_allocator>,10SObjectTag>,Q24rstl138vector,Q24rstl17rmemory_allocator>,10SObjectTag>,Q24rstl138vector,Q24rstl17rmemory_allocator>,10SObjectTag>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl303const_pointer_iterator,Q24rstl17rmemory_allocator>,10SObjectTag>,Q24rstl138vector,Q24rstl17rmemory_allocator>,10SObjectTag>,Q24rstl138vector,Q24rstl17rmemory_allocator>,10SObjectTag>,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl303const_pointer_iterator,Q24rstl17rmemory_allocator>,10SObjectTag>,Q24rstl138vector,Q24rstl17rmemory_allocator>Fv" -"internal_dereference__Q24rstl83basic_string,Q24rstl17rmemory_allocator>Fv": -/* 8033CCCC 00339C2C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8033CCD0 00339C30 7C 08 02 A6 */ mflr r0 -/* 8033CCD4 00339C34 90 01 00 14 */ stw r0, 0x14(r1) -/* 8033CCD8 00339C38 80 A3 00 04 */ lwz r5, 4(r3) -/* 8033CCDC 00339C3C 28 05 00 00 */ cmplwi r5, 0 -/* 8033CCE0 00339C40 41 82 00 24 */ beq lbl_8033CD04 -/* 8033CCE4 00339C44 80 85 00 04 */ lwz r4, 4(r5) -/* 8033CCE8 00339C48 34 04 FF FF */ addic. r0, r4, -1 -/* 8033CCEC 00339C4C 90 05 00 04 */ stw r0, 4(r5) -/* 8033CCF0 00339C50 40 82 00 14 */ bne lbl_8033CD04 -/* 8033CCF4 00339C54 80 63 00 04 */ lwz r3, 4(r3) -/* 8033CCF8 00339C58 28 03 00 00 */ cmplwi r3, 0 -/* 8033CCFC 00339C5C 41 82 00 08 */ beq lbl_8033CD04 -/* 8033CD00 00339C60 4B FD 8C 31 */ bl Free__7CMemoryFPCv -lbl_8033CD04: -/* 8033CD04 00339C64 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8033CD08 00339C68 7C 08 03 A6 */ mtlr r0 -/* 8033CD0C 00339C6C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8033CD10 00339C70 4E 80 00 20 */ blr - -.global "internal_allocate__Q24rstl83basic_string,Q24rstl17rmemory_allocator>Fi" -"internal_allocate__Q24rstl83basic_string,Q24rstl17rmemory_allocator>Fi": -/* 8033CD14 00339C74 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8033CD18 00339C78 7C 08 02 A6 */ mflr r0 -/* 8033CD1C 00339C7C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8033CD20 00339C80 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8033CD24 00339C84 7C 9F 23 78 */ mr r31, r4 -/* 8033CD28 00339C88 93 C1 00 08 */ stw r30, 8(r1) -/* 8033CD2C 00339C8C 7C 7E 1B 78 */ mr r30, r3 -/* 8033CD30 00339C90 34 7F 00 08 */ addic. r3, r31, 8 -/* 8033CD34 00339C94 40 82 00 10 */ bne lbl_8033CD44 -/* 8033CD38 00339C98 38 00 00 00 */ li r0, 0 -/* 8033CD3C 00339C9C 90 1E 00 04 */ stw r0, 4(r30) -/* 8033CD40 00339CA0 48 00 00 18 */ b lbl_8033CD58 -lbl_8033CD44: -/* 8033CD44 00339CA4 3C 80 80 3D */ lis r4, lbl_803D7A48@ha -/* 8033CD48 00339CA8 38 A0 00 00 */ li r5, 0 -/* 8033CD4C 00339CAC 38 84 7A 48 */ addi r4, r4, lbl_803D7A48@l -/* 8033CD50 00339CB0 4B FD 8A C9 */ bl __nwa__FUlPCcPCc -/* 8033CD54 00339CB4 90 7E 00 04 */ stw r3, 4(r30) -lbl_8033CD58: -/* 8033CD58 00339CB8 80 7E 00 04 */ lwz r3, 4(r30) -/* 8033CD5C 00339CBC 38 00 00 01 */ li r0, 1 -/* 8033CD60 00339CC0 38 63 00 08 */ addi r3, r3, 8 -/* 8033CD64 00339CC4 90 7E 00 00 */ stw r3, 0(r30) -/* 8033CD68 00339CC8 80 7E 00 04 */ lwz r3, 4(r30) -/* 8033CD6C 00339CCC 93 E3 00 00 */ stw r31, 0(r3) -/* 8033CD70 00339CD0 80 7E 00 04 */ lwz r3, 4(r30) -/* 8033CD74 00339CD4 90 03 00 04 */ stw r0, 4(r3) -/* 8033CD78 00339CD8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8033CD7C 00339CDC 83 C1 00 08 */ lwz r30, 8(r1) -/* 8033CD80 00339CE0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8033CD84 00339CE4 7C 08 03 A6 */ mtlr r0 -/* 8033CD88 00339CE8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8033CD8C 00339CEC 4E 80 00 20 */ blr - -.global "__ct__Q24rstl83basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" -"__ct__Q24rstl83basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator": -/* 8033CD90 00339CF0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8033CD94 00339CF4 7C 08 02 A6 */ mflr r0 -/* 8033CD98 00339CF8 2C 05 00 00 */ cmpwi r5, 0 -/* 8033CD9C 00339CFC 90 01 00 24 */ stw r0, 0x24(r1) -/* 8033CDA0 00339D00 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8033CDA4 00339D04 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8033CDA8 00339D08 7C 9E 23 78 */ mr r30, r4 -/* 8033CDAC 00339D0C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8033CDB0 00339D10 7C 7D 1B 78 */ mr r29, r3 -/* 8033CDB4 00339D14 41 81 00 28 */ bgt lbl_8033CDDC -/* 8033CDB8 00339D18 88 1E 00 00 */ lbz r0, 0(r30) -/* 8033CDBC 00339D1C 7C 00 07 75 */ extsb. r0, r0 -/* 8033CDC0 00339D20 40 82 00 1C */ bne lbl_8033CDDC -/* 8033CDC4 00339D24 38 8D A9 1C */ addi r4, r13, lbl_805A94DC@sda21 -/* 8033CDC8 00339D28 38 00 00 00 */ li r0, 0 -/* 8033CDCC 00339D2C 90 9D 00 00 */ stw r4, 0(r29) -/* 8033CDD0 00339D30 90 1D 00 08 */ stw r0, 8(r29) -/* 8033CDD4 00339D34 90 1D 00 04 */ stw r0, 4(r29) -/* 8033CDD8 00339D38 48 00 01 80 */ b lbl_8033CF58 -lbl_8033CDDC: -/* 8033CDDC 00339D3C 7F C4 F3 78 */ mr r4, r30 -/* 8033CDE0 00339D40 3B E0 00 00 */ li r31, 0 -/* 8033CDE4 00339D44 48 00 00 0C */ b lbl_8033CDF0 -lbl_8033CDE8: -/* 8033CDE8 00339D48 38 84 00 01 */ addi r4, r4, 1 -/* 8033CDEC 00339D4C 3B FF 00 01 */ addi r31, r31, 1 -lbl_8033CDF0: -/* 8033CDF0 00339D50 2C 05 FF FF */ cmpwi r5, -1 -/* 8033CDF4 00339D54 41 82 00 0C */ beq lbl_8033CE00 -/* 8033CDF8 00339D58 7C 1F 28 00 */ cmpw r31, r5 -/* 8033CDFC 00339D5C 40 80 00 90 */ bge lbl_8033CE8C -lbl_8033CE00: -/* 8033CE00 00339D60 88 C4 00 00 */ lbz r6, 0(r4) -/* 8033CE04 00339D64 38 60 00 00 */ li r3, 0 -/* 8033CE08 00339D68 7C C0 07 74 */ extsb r0, r6 -/* 8033CE0C 00339D6C 2C 00 00 61 */ cmpwi r0, 0x61 -/* 8033CE10 00339D70 41 80 00 10 */ blt lbl_8033CE20 -/* 8033CE14 00339D74 2C 00 00 7A */ cmpwi r0, 0x7a -/* 8033CE18 00339D78 41 81 00 08 */ bgt lbl_8033CE20 -/* 8033CE1C 00339D7C 38 60 00 01 */ li r3, 1 -lbl_8033CE20: -/* 8033CE20 00339D80 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8033CE24 00339D84 41 82 00 10 */ beq lbl_8033CE34 -/* 8033CE28 00339D88 7C C3 07 74 */ extsb r3, r6 -/* 8033CE2C 00339D8C 38 63 FF E0 */ addi r3, r3, -32 -/* 8033CE30 00339D90 48 00 00 54 */ b lbl_8033CE84 -lbl_8033CE34: -/* 8033CE34 00339D94 7C C3 07 74 */ extsb r3, r6 -/* 8033CE38 00339D98 38 00 00 00 */ li r0, 0 -/* 8033CE3C 00339D9C 2C 03 00 E0 */ cmpwi r3, 0xe0 -/* 8033CE40 00339DA0 41 80 00 10 */ blt lbl_8033CE50 -/* 8033CE44 00339DA4 2C 03 00 FE */ cmpwi r3, 0xfe -/* 8033CE48 00339DA8 41 81 00 08 */ bgt lbl_8033CE50 -/* 8033CE4C 00339DAC 38 00 00 01 */ li r0, 1 -lbl_8033CE50: -/* 8033CE50 00339DB0 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 8033CE54 00339DB4 41 82 00 0C */ beq lbl_8033CE60 -/* 8033CE58 00339DB8 38 63 FF E0 */ addi r3, r3, -32 -/* 8033CE5C 00339DBC 48 00 00 28 */ b lbl_8033CE84 -lbl_8033CE60: -/* 8033CE60 00339DC0 2C 03 30 A0 */ cmpwi r3, 0x30a0 -/* 8033CE64 00339DC4 38 00 00 00 */ li r0, 0 -/* 8033CE68 00339DC8 41 80 00 10 */ blt lbl_8033CE78 -/* 8033CE6C 00339DCC 2C 03 30 FF */ cmpwi r3, 0x30ff -/* 8033CE70 00339DD0 41 81 00 08 */ bgt lbl_8033CE78 -/* 8033CE74 00339DD4 38 00 00 01 */ li r0, 1 -lbl_8033CE78: -/* 8033CE78 00339DD8 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 8033CE7C 00339DDC 41 82 00 08 */ beq lbl_8033CE84 -/* 8033CE80 00339DE0 38 63 FF A0 */ addi r3, r3, -96 -lbl_8033CE84: -/* 8033CE84 00339DE4 7C 60 07 75 */ extsb. r0, r3 -/* 8033CE88 00339DE8 40 82 FF 60 */ bne lbl_8033CDE8 -lbl_8033CE8C: -/* 8033CE8C 00339DEC 7F A3 EB 78 */ mr r3, r29 -/* 8033CE90 00339DF0 38 9F 00 01 */ addi r4, r31, 1 -/* 8033CE94 00339DF4 4B FF FE 81 */ bl "internal_allocate__Q24rstl83basic_string,Q24rstl17rmemory_allocator>Fi" -/* 8033CE98 00339DF8 93 FD 00 08 */ stw r31, 8(r29) -/* 8033CE9C 00339DFC 2C 1F 00 00 */ cmpwi r31, 0 -/* 8033CEA0 00339E00 38 A0 00 00 */ li r5, 0 -/* 8033CEA4 00339E04 80 7D 00 00 */ lwz r3, 0(r29) -/* 8033CEA8 00339E08 40 81 00 A0 */ ble lbl_8033CF48 -/* 8033CEAC 00339E0C 2C 1F 00 08 */ cmpwi r31, 8 -/* 8033CEB0 00339E10 38 9F FF F8 */ addi r4, r31, -8 -/* 8033CEB4 00339E14 40 81 00 68 */ ble lbl_8033CF1C -/* 8033CEB8 00339E18 38 04 00 07 */ addi r0, r4, 7 -/* 8033CEBC 00339E1C 54 00 E8 FE */ srwi r0, r0, 3 -/* 8033CEC0 00339E20 7C 09 03 A6 */ mtctr r0 -/* 8033CEC4 00339E24 2C 04 00 00 */ cmpwi r4, 0 -/* 8033CEC8 00339E28 40 81 00 54 */ ble lbl_8033CF1C -lbl_8033CECC: -/* 8033CECC 00339E2C 7C 9E 2A 14 */ add r4, r30, r5 -/* 8033CED0 00339E30 7C C3 2A 14 */ add r6, r3, r5 -/* 8033CED4 00339E34 88 04 00 00 */ lbz r0, 0(r4) -/* 8033CED8 00339E38 38 A5 00 08 */ addi r5, r5, 8 -/* 8033CEDC 00339E3C 98 06 00 00 */ stb r0, 0(r6) -/* 8033CEE0 00339E40 88 04 00 01 */ lbz r0, 1(r4) -/* 8033CEE4 00339E44 98 06 00 01 */ stb r0, 1(r6) -/* 8033CEE8 00339E48 88 04 00 02 */ lbz r0, 2(r4) -/* 8033CEEC 00339E4C 98 06 00 02 */ stb r0, 2(r6) -/* 8033CEF0 00339E50 88 04 00 03 */ lbz r0, 3(r4) -/* 8033CEF4 00339E54 98 06 00 03 */ stb r0, 3(r6) -/* 8033CEF8 00339E58 88 04 00 04 */ lbz r0, 4(r4) -/* 8033CEFC 00339E5C 98 06 00 04 */ stb r0, 4(r6) -/* 8033CF00 00339E60 88 04 00 05 */ lbz r0, 5(r4) -/* 8033CF04 00339E64 98 06 00 05 */ stb r0, 5(r6) -/* 8033CF08 00339E68 88 04 00 06 */ lbz r0, 6(r4) -/* 8033CF0C 00339E6C 98 06 00 06 */ stb r0, 6(r6) -/* 8033CF10 00339E70 88 04 00 07 */ lbz r0, 7(r4) -/* 8033CF14 00339E74 98 06 00 07 */ stb r0, 7(r6) -/* 8033CF18 00339E78 42 00 FF B4 */ bdnz lbl_8033CECC -lbl_8033CF1C: -/* 8033CF1C 00339E7C 7C 05 F8 50 */ subf r0, r5, r31 -/* 8033CF20 00339E80 7C 9E 2A 14 */ add r4, r30, r5 -/* 8033CF24 00339E84 7C 63 2A 14 */ add r3, r3, r5 -/* 8033CF28 00339E88 7C 09 03 A6 */ mtctr r0 -/* 8033CF2C 00339E8C 7C 05 F8 00 */ cmpw r5, r31 -/* 8033CF30 00339E90 40 80 00 18 */ bge lbl_8033CF48 -lbl_8033CF34: -/* 8033CF34 00339E94 88 04 00 00 */ lbz r0, 0(r4) -/* 8033CF38 00339E98 38 84 00 01 */ addi r4, r4, 1 -/* 8033CF3C 00339E9C 98 03 00 00 */ stb r0, 0(r3) -/* 8033CF40 00339EA0 38 63 00 01 */ addi r3, r3, 1 -/* 8033CF44 00339EA4 42 00 FF F0 */ bdnz lbl_8033CF34 -lbl_8033CF48: -/* 8033CF48 00339EA8 80 9D 00 00 */ lwz r4, 0(r29) -/* 8033CF4C 00339EAC 38 00 00 00 */ li r0, 0 -/* 8033CF50 00339EB0 7F A3 EB 78 */ mr r3, r29 -/* 8033CF54 00339EB4 7C 04 F9 AE */ stbx r0, r4, r31 -lbl_8033CF58: -/* 8033CF58 00339EB8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8033CF5C 00339EBC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8033CF60 00339EC0 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8033CF64 00339EC4 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8033CF68 00339EC8 7C 08 03 A6 */ mtlr r0 -/* 8033CF6C 00339ECC 38 21 00 20 */ addi r1, r1, 0x20 -/* 8033CF70 00339ED0 4E 80 00 20 */ blr - -.global "internal_prepare_to_write__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fib" -"internal_prepare_to_write__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fib": -/* 8033CF74 00339ED4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8033CF78 00339ED8 7C 08 02 A6 */ mflr r0 -/* 8033CF7C 00339EDC 38 84 00 01 */ addi r4, r4, 1 -/* 8033CF80 00339EE0 90 01 00 24 */ stw r0, 0x24(r1) -/* 8033CF84 00339EE4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8033CF88 00339EE8 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8033CF8C 00339EEC 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8033CF90 00339EF0 7C 7D 1B 78 */ mr r29, r3 -/* 8033CF94 00339EF4 93 81 00 10 */ stw r28, 0x10(r1) -/* 8033CF98 00339EF8 7C BC 2B 78 */ mr r28, r5 -/* 8033CF9C 00339EFC 80 63 00 04 */ lwz r3, 4(r3) -/* 8033CFA0 00339F00 28 03 00 00 */ cmplwi r3, 0 -/* 8033CFA4 00339F04 41 82 00 1C */ beq lbl_8033CFC0 -/* 8033CFA8 00339F08 80 03 00 04 */ lwz r0, 4(r3) -/* 8033CFAC 00339F0C 2C 00 00 01 */ cmpwi r0, 1 -/* 8033CFB0 00339F10 40 82 00 10 */ bne lbl_8033CFC0 -/* 8033CFB4 00339F14 80 03 00 00 */ lwz r0, 0(r3) -/* 8033CFB8 00339F18 7C 00 20 00 */ cmpw r0, r4 -/* 8033CFBC 00339F1C 40 80 01 58 */ bge lbl_8033D114 -lbl_8033CFC0: -/* 8033CFC0 00339F20 28 03 00 00 */ cmplwi r3, 0 -/* 8033CFC4 00339F24 41 82 00 30 */ beq lbl_8033CFF4 -/* 8033CFC8 00339F28 80 63 00 00 */ lwz r3, 0(r3) -/* 8033CFCC 00339F2C 38 00 00 04 */ li r0, 4 -/* 8033CFD0 00339F30 2C 03 00 04 */ cmpwi r3, 4 -/* 8033CFD4 00339F34 41 80 00 08 */ blt lbl_8033CFDC -/* 8033CFD8 00339F38 7C 60 1B 78 */ mr r0, r3 -lbl_8033CFDC: -/* 8033CFDC 00339F3C 7C 1E 03 78 */ mr r30, r0 -/* 8033CFE0 00339F40 48 00 00 08 */ b lbl_8033CFE8 -lbl_8033CFE4: -/* 8033CFE4 00339F44 57 DE 08 3C */ slwi r30, r30, 1 -lbl_8033CFE8: -/* 8033CFE8 00339F48 7C 1E 20 00 */ cmpw r30, r4 -/* 8033CFEC 00339F4C 41 80 FF F8 */ blt lbl_8033CFE4 -/* 8033CFF0 00339F50 48 00 00 08 */ b lbl_8033CFF8 -lbl_8033CFF4: -/* 8033CFF4 00339F54 7C 9E 23 78 */ mr r30, r4 -lbl_8033CFF8: -/* 8033CFF8 00339F58 57 C3 08 3C */ slwi r3, r30, 1 -/* 8033CFFC 00339F5C 34 63 00 08 */ addic. r3, r3, 8 -/* 8033D000 00339F60 40 82 00 0C */ bne lbl_8033D00C -/* 8033D004 00339F64 3B E0 00 00 */ li r31, 0 -/* 8033D008 00339F68 48 00 00 18 */ b lbl_8033D020 -lbl_8033D00C: -/* 8033D00C 00339F6C 3C 80 80 3D */ lis r4, lbl_803D7A48@ha -/* 8033D010 00339F70 38 A0 00 00 */ li r5, 0 -/* 8033D014 00339F74 38 84 7A 48 */ addi r4, r4, lbl_803D7A48@l -/* 8033D018 00339F78 4B FD 88 01 */ bl __nwa__FUlPCcPCc -/* 8033D01C 00339F7C 7C 7F 1B 78 */ mr r31, r3 -lbl_8033D020: -/* 8033D020 00339F80 93 DF 00 00 */ stw r30, 0(r31) -/* 8033D024 00339F84 38 60 00 01 */ li r3, 1 -/* 8033D028 00339F88 57 80 06 3F */ clrlwi. r0, r28, 0x18 -/* 8033D02C 00339F8C 3B DF 00 08 */ addi r30, r31, 8 -/* 8033D030 00339F90 90 7F 00 04 */ stw r3, 4(r31) -/* 8033D034 00339F94 41 82 00 D0 */ beq lbl_8033D104 -/* 8033D038 00339F98 80 BD 00 08 */ lwz r5, 8(r29) -/* 8033D03C 00339F9C 38 60 00 00 */ li r3, 0 -/* 8033D040 00339FA0 80 9D 00 00 */ lwz r4, 0(r29) -/* 8033D044 00339FA4 2C 05 00 00 */ cmpwi r5, 0 -/* 8033D048 00339FA8 40 81 00 AC */ ble lbl_8033D0F4 -/* 8033D04C 00339FAC 2C 05 00 08 */ cmpwi r5, 8 -/* 8033D050 00339FB0 38 C5 FF F8 */ addi r6, r5, -8 -/* 8033D054 00339FB4 40 81 00 70 */ ble lbl_8033D0C4 -/* 8033D058 00339FB8 38 06 00 07 */ addi r0, r6, 7 -/* 8033D05C 00339FBC 7C 87 23 78 */ mr r7, r4 -/* 8033D060 00339FC0 54 00 E8 FE */ srwi r0, r0, 3 -/* 8033D064 00339FC4 7F C8 F3 78 */ mr r8, r30 -/* 8033D068 00339FC8 7C 09 03 A6 */ mtctr r0 -/* 8033D06C 00339FCC 2C 06 00 00 */ cmpwi r6, 0 -/* 8033D070 00339FD0 40 81 00 54 */ ble lbl_8033D0C4 -lbl_8033D074: -/* 8033D074 00339FD4 A0 07 00 00 */ lhz r0, 0(r7) -/* 8033D078 00339FD8 38 63 00 08 */ addi r3, r3, 8 -/* 8033D07C 00339FDC B0 08 00 00 */ sth r0, 0(r8) -/* 8033D080 00339FE0 A0 07 00 02 */ lhz r0, 2(r7) -/* 8033D084 00339FE4 B0 08 00 02 */ sth r0, 2(r8) -/* 8033D088 00339FE8 A0 07 00 04 */ lhz r0, 4(r7) -/* 8033D08C 00339FEC B0 08 00 04 */ sth r0, 4(r8) -/* 8033D090 00339FF0 A0 07 00 06 */ lhz r0, 6(r7) -/* 8033D094 00339FF4 B0 08 00 06 */ sth r0, 6(r8) -/* 8033D098 00339FF8 A0 07 00 08 */ lhz r0, 8(r7) -/* 8033D09C 00339FFC B0 08 00 08 */ sth r0, 8(r8) -/* 8033D0A0 0033A000 A0 07 00 0A */ lhz r0, 0xa(r7) -/* 8033D0A4 0033A004 B0 08 00 0A */ sth r0, 0xa(r8) -/* 8033D0A8 0033A008 A0 07 00 0C */ lhz r0, 0xc(r7) -/* 8033D0AC 0033A00C B0 08 00 0C */ sth r0, 0xc(r8) -/* 8033D0B0 0033A010 A0 07 00 0E */ lhz r0, 0xe(r7) -/* 8033D0B4 0033A014 38 E7 00 10 */ addi r7, r7, 0x10 -/* 8033D0B8 0033A018 B0 08 00 0E */ sth r0, 0xe(r8) -/* 8033D0BC 0033A01C 39 08 00 10 */ addi r8, r8, 0x10 -/* 8033D0C0 0033A020 42 00 FF B4 */ bdnz lbl_8033D074 -lbl_8033D0C4: -/* 8033D0C4 0033A024 54 66 08 3C */ slwi r6, r3, 1 -/* 8033D0C8 0033A028 7C 03 28 50 */ subf r0, r3, r5 -/* 8033D0CC 0033A02C 7C 84 32 14 */ add r4, r4, r6 -/* 8033D0D0 0033A030 7C DE 32 14 */ add r6, r30, r6 -/* 8033D0D4 0033A034 7C 09 03 A6 */ mtctr r0 -/* 8033D0D8 0033A038 7C 03 28 00 */ cmpw r3, r5 -/* 8033D0DC 0033A03C 40 80 00 18 */ bge lbl_8033D0F4 -lbl_8033D0E0: -/* 8033D0E0 0033A040 A0 04 00 00 */ lhz r0, 0(r4) -/* 8033D0E4 0033A044 38 84 00 02 */ addi r4, r4, 2 -/* 8033D0E8 0033A048 B0 06 00 00 */ sth r0, 0(r6) -/* 8033D0EC 0033A04C 38 C6 00 02 */ addi r6, r6, 2 -/* 8033D0F0 0033A050 42 00 FF F0 */ bdnz lbl_8033D0E0 -lbl_8033D0F4: -/* 8033D0F4 0033A054 80 1D 00 08 */ lwz r0, 8(r29) -/* 8033D0F8 0033A058 38 60 00 00 */ li r3, 0 -/* 8033D0FC 0033A05C 54 00 08 3C */ slwi r0, r0, 1 -/* 8033D100 0033A060 7C 7E 03 2E */ sthx r3, r30, r0 -lbl_8033D104: -/* 8033D104 0033A064 7F A3 EB 78 */ mr r3, r29 -/* 8033D108 0033A068 48 00 00 2D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8033D10C 0033A06C 93 FD 00 04 */ stw r31, 4(r29) -/* 8033D110 0033A070 93 DD 00 00 */ stw r30, 0(r29) -lbl_8033D114: -/* 8033D114 0033A074 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8033D118 0033A078 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8033D11C 0033A07C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8033D120 0033A080 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8033D124 0033A084 83 81 00 10 */ lwz r28, 0x10(r1) -/* 8033D128 0033A088 7C 08 03 A6 */ mtlr r0 -/* 8033D12C 0033A08C 38 21 00 20 */ addi r1, r1, 0x20 -/* 8033D130 0033A090 4E 80 00 20 */ blr - -.global "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -"internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv": -/* 8033D134 0033A094 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8033D138 0033A098 7C 08 02 A6 */ mflr r0 -/* 8033D13C 0033A09C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8033D140 0033A0A0 80 A3 00 04 */ lwz r5, 4(r3) -/* 8033D144 0033A0A4 28 05 00 00 */ cmplwi r5, 0 -/* 8033D148 0033A0A8 41 82 00 24 */ beq lbl_8033D16C -/* 8033D14C 0033A0AC 80 85 00 04 */ lwz r4, 4(r5) -/* 8033D150 0033A0B0 34 04 FF FF */ addic. r0, r4, -1 -/* 8033D154 0033A0B4 90 05 00 04 */ stw r0, 4(r5) -/* 8033D158 0033A0B8 40 82 00 14 */ bne lbl_8033D16C -/* 8033D15C 0033A0BC 80 63 00 04 */ lwz r3, 4(r3) -/* 8033D160 0033A0C0 28 03 00 00 */ cmplwi r3, 0 -/* 8033D164 0033A0C4 41 82 00 08 */ beq lbl_8033D16C -/* 8033D168 0033A0C8 4B FD 87 C9 */ bl Free__7CMemoryFPCv -lbl_8033D16C: -/* 8033D16C 0033A0CC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8033D170 0033A0D0 7C 08 03 A6 */ mtlr r0 -/* 8033D174 0033A0D4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8033D178 0033A0D8 4E 80 00 20 */ blr - -.global "internal_allocate__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fi" -"internal_allocate__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fi": -/* 8033D17C 0033A0DC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8033D180 0033A0E0 7C 08 02 A6 */ mflr r0 -/* 8033D184 0033A0E4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8033D188 0033A0E8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8033D18C 0033A0EC 7C 9F 23 78 */ mr r31, r4 -/* 8033D190 0033A0F0 93 C1 00 08 */ stw r30, 8(r1) -/* 8033D194 0033A0F4 7C 7E 1B 78 */ mr r30, r3 -/* 8033D198 0033A0F8 54 83 08 3C */ slwi r3, r4, 1 -/* 8033D19C 0033A0FC 34 63 00 08 */ addic. r3, r3, 8 -/* 8033D1A0 0033A100 40 82 00 10 */ bne lbl_8033D1B0 -/* 8033D1A4 0033A104 38 00 00 00 */ li r0, 0 -/* 8033D1A8 0033A108 90 1E 00 04 */ stw r0, 4(r30) -/* 8033D1AC 0033A10C 48 00 00 18 */ b lbl_8033D1C4 -lbl_8033D1B0: -/* 8033D1B0 0033A110 3C 80 80 3D */ lis r4, lbl_803D7A48@ha -/* 8033D1B4 0033A114 38 A0 00 00 */ li r5, 0 -/* 8033D1B8 0033A118 38 84 7A 48 */ addi r4, r4, lbl_803D7A48@l -/* 8033D1BC 0033A11C 4B FD 86 5D */ bl __nwa__FUlPCcPCc -/* 8033D1C0 0033A120 90 7E 00 04 */ stw r3, 4(r30) -lbl_8033D1C4: -/* 8033D1C4 0033A124 80 7E 00 04 */ lwz r3, 4(r30) -/* 8033D1C8 0033A128 38 00 00 01 */ li r0, 1 -/* 8033D1CC 0033A12C 38 63 00 08 */ addi r3, r3, 8 -/* 8033D1D0 0033A130 90 7E 00 00 */ stw r3, 0(r30) -/* 8033D1D4 0033A134 80 7E 00 04 */ lwz r3, 4(r30) -/* 8033D1D8 0033A138 93 E3 00 00 */ stw r31, 0(r3) -/* 8033D1DC 0033A13C 80 7E 00 04 */ lwz r3, 4(r30) -/* 8033D1E0 0033A140 90 03 00 04 */ stw r0, 4(r3) -/* 8033D1E4 0033A144 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8033D1E8 0033A148 83 C1 00 08 */ lwz r30, 8(r1) -/* 8033D1EC 0033A14C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8033D1F0 0033A150 7C 08 03 A6 */ mtlr r0 -/* 8033D1F4 0033A154 38 21 00 10 */ addi r1, r1, 0x10 -/* 8033D1F8 0033A158 4E 80 00 20 */ blr - -.global sub_8033d1fc -sub_8033d1fc: -/* 8033D1FC 0033A15C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8033D200 0033A160 7C 08 02 A6 */ mflr r0 -/* 8033D204 0033A164 90 01 00 24 */ stw r0, 0x24(r1) -/* 8033D208 0033A168 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8033D20C 0033A16C 7C 9F 23 78 */ mr r31, r4 -/* 8033D210 0033A170 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8033D214 0033A174 7C 7E 1B 78 */ mr r30, r3 -/* 8033D218 0033A178 7F E3 FB 78 */ mr r3, r31 -/* 8033D21C 0033A17C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8033D220 0033A180 3B A0 00 00 */ li r29, 0 -/* 8033D224 0033A184 48 00 00 0C */ b lbl_8033D230 -lbl_8033D228: -/* 8033D228 0033A188 38 63 00 02 */ addi r3, r3, 2 -/* 8033D22C 0033A18C 3B BD 00 01 */ addi r29, r29, 1 -lbl_8033D230: -/* 8033D230 0033A190 2C 05 FF FF */ cmpwi r5, -1 -/* 8033D234 0033A194 41 82 00 0C */ beq lbl_8033D240 -/* 8033D238 0033A198 7C 1D 28 00 */ cmpw r29, r5 -/* 8033D23C 0033A19C 40 80 00 10 */ bge lbl_8033D24C -lbl_8033D240: -/* 8033D240 0033A1A0 A0 03 00 00 */ lhz r0, 0(r3) -/* 8033D244 0033A1A4 28 00 00 00 */ cmplwi r0, 0 -/* 8033D248 0033A1A8 40 82 FF E0 */ bne lbl_8033D228 -lbl_8033D24C: -/* 8033D24C 0033A1AC 7F C3 F3 78 */ mr r3, r30 -/* 8033D250 0033A1B0 7F A4 EB 78 */ mr r4, r29 -/* 8033D254 0033A1B4 38 A0 00 00 */ li r5, 0 -/* 8033D258 0033A1B8 4B FF FD 1D */ bl "internal_prepare_to_write__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fib" -/* 8033D25C 0033A1BC 2C 1D 00 00 */ cmpwi r29, 0 -/* 8033D260 0033A1C0 80 9E 00 00 */ lwz r4, 0(r30) -/* 8033D264 0033A1C4 38 60 00 00 */ li r3, 0 -/* 8033D268 0033A1C8 40 81 00 AC */ ble lbl_8033D314 -/* 8033D26C 0033A1CC 2C 1D 00 08 */ cmpwi r29, 8 -/* 8033D270 0033A1D0 38 BD FF F8 */ addi r5, r29, -8 -/* 8033D274 0033A1D4 40 81 00 70 */ ble lbl_8033D2E4 -/* 8033D278 0033A1D8 38 05 00 07 */ addi r0, r5, 7 -/* 8033D27C 0033A1DC 7F E6 FB 78 */ mr r6, r31 -/* 8033D280 0033A1E0 54 00 E8 FE */ srwi r0, r0, 3 -/* 8033D284 0033A1E4 7C 87 23 78 */ mr r7, r4 -/* 8033D288 0033A1E8 7C 09 03 A6 */ mtctr r0 -/* 8033D28C 0033A1EC 2C 05 00 00 */ cmpwi r5, 0 -/* 8033D290 0033A1F0 40 81 00 54 */ ble lbl_8033D2E4 -lbl_8033D294: -/* 8033D294 0033A1F4 A0 06 00 00 */ lhz r0, 0(r6) -/* 8033D298 0033A1F8 38 63 00 08 */ addi r3, r3, 8 -/* 8033D29C 0033A1FC B0 07 00 00 */ sth r0, 0(r7) -/* 8033D2A0 0033A200 A0 06 00 02 */ lhz r0, 2(r6) -/* 8033D2A4 0033A204 B0 07 00 02 */ sth r0, 2(r7) -/* 8033D2A8 0033A208 A0 06 00 04 */ lhz r0, 4(r6) -/* 8033D2AC 0033A20C B0 07 00 04 */ sth r0, 4(r7) -/* 8033D2B0 0033A210 A0 06 00 06 */ lhz r0, 6(r6) -/* 8033D2B4 0033A214 B0 07 00 06 */ sth r0, 6(r7) -/* 8033D2B8 0033A218 A0 06 00 08 */ lhz r0, 8(r6) -/* 8033D2BC 0033A21C B0 07 00 08 */ sth r0, 8(r7) -/* 8033D2C0 0033A220 A0 06 00 0A */ lhz r0, 0xa(r6) -/* 8033D2C4 0033A224 B0 07 00 0A */ sth r0, 0xa(r7) -/* 8033D2C8 0033A228 A0 06 00 0C */ lhz r0, 0xc(r6) -/* 8033D2CC 0033A22C B0 07 00 0C */ sth r0, 0xc(r7) -/* 8033D2D0 0033A230 A0 06 00 0E */ lhz r0, 0xe(r6) -/* 8033D2D4 0033A234 38 C6 00 10 */ addi r6, r6, 0x10 -/* 8033D2D8 0033A238 B0 07 00 0E */ sth r0, 0xe(r7) -/* 8033D2DC 0033A23C 38 E7 00 10 */ addi r7, r7, 0x10 -/* 8033D2E0 0033A240 42 00 FF B4 */ bdnz lbl_8033D294 -lbl_8033D2E4: -/* 8033D2E4 0033A244 54 66 08 3C */ slwi r6, r3, 1 -/* 8033D2E8 0033A248 7C 03 E8 50 */ subf r0, r3, r29 -/* 8033D2EC 0033A24C 7C BF 32 14 */ add r5, r31, r6 -/* 8033D2F0 0033A250 7C 84 32 14 */ add r4, r4, r6 -/* 8033D2F4 0033A254 7C 09 03 A6 */ mtctr r0 -/* 8033D2F8 0033A258 7C 03 E8 00 */ cmpw r3, r29 -/* 8033D2FC 0033A25C 40 80 00 18 */ bge lbl_8033D314 -lbl_8033D300: -/* 8033D300 0033A260 A0 05 00 00 */ lhz r0, 0(r5) -/* 8033D304 0033A264 38 A5 00 02 */ addi r5, r5, 2 -/* 8033D308 0033A268 B0 04 00 00 */ sth r0, 0(r4) -/* 8033D30C 0033A26C 38 84 00 02 */ addi r4, r4, 2 -/* 8033D310 0033A270 42 00 FF F0 */ bdnz lbl_8033D300 -lbl_8033D314: -/* 8033D314 0033A274 93 BE 00 08 */ stw r29, 8(r30) -/* 8033D318 0033A278 38 A0 00 00 */ li r5, 0 -/* 8033D31C 0033A27C 7F C3 F3 78 */ mr r3, r30 -/* 8033D320 0033A280 80 1E 00 08 */ lwz r0, 8(r30) -/* 8033D324 0033A284 80 9E 00 00 */ lwz r4, 0(r30) -/* 8033D328 0033A288 54 00 08 3C */ slwi r0, r0, 1 -/* 8033D32C 0033A28C 7C A4 03 2E */ sthx r5, r4, r0 -/* 8033D330 0033A290 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8033D334 0033A294 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8033D338 0033A298 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8033D33C 0033A29C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8033D340 0033A2A0 7C 08 03 A6 */ mtlr r0 -/* 8033D344 0033A2A4 38 21 00 20 */ addi r1, r1, 0x20 -/* 8033D348 0033A2A8 4E 80 00 20 */ blr - -.global sub_8033d34c -sub_8033d34c: -/* 8033D34C 0033A2AC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8033D350 0033A2B0 7C 08 02 A6 */ mflr r0 -/* 8033D354 0033A2B4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8033D358 0033A2B8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8033D35C 0033A2BC 7C 9F 23 78 */ mr r31, r4 -/* 8033D360 0033A2C0 93 C1 00 08 */ stw r30, 8(r1) -/* 8033D364 0033A2C4 7C 7E 1B 78 */ mr r30, r3 -/* 8033D368 0033A2C8 80 83 00 04 */ lwz r4, 4(r3) -/* 8033D36C 0033A2CC 28 04 00 00 */ cmplwi r4, 0 -/* 8033D370 0033A2D0 41 82 00 14 */ beq lbl_8033D384 -/* 8033D374 0033A2D4 80 1F 00 04 */ lwz r0, 4(r31) -/* 8033D378 0033A2D8 7C 04 00 40 */ cmplw r4, r0 -/* 8033D37C 0033A2DC 40 82 00 08 */ bne lbl_8033D384 -/* 8033D380 0033A2E0 48 00 00 40 */ b lbl_8033D3C0 -lbl_8033D384: -/* 8033D384 0033A2E4 7F C3 F3 78 */ mr r3, r30 -/* 8033D388 0033A2E8 4B FF FD AD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8033D38C 0033A2EC 80 1F 00 04 */ lwz r0, 4(r31) -/* 8033D390 0033A2F0 90 1E 00 04 */ stw r0, 4(r30) -/* 8033D394 0033A2F4 80 1F 00 00 */ lwz r0, 0(r31) -/* 8033D398 0033A2F8 90 1E 00 00 */ stw r0, 0(r30) -/* 8033D39C 0033A2FC 80 1F 00 08 */ lwz r0, 8(r31) -/* 8033D3A0 0033A300 90 1E 00 08 */ stw r0, 8(r30) -/* 8033D3A4 0033A304 80 9E 00 04 */ lwz r4, 4(r30) -/* 8033D3A8 0033A308 28 04 00 00 */ cmplwi r4, 0 -/* 8033D3AC 0033A30C 41 82 00 10 */ beq lbl_8033D3BC -/* 8033D3B0 0033A310 80 64 00 04 */ lwz r3, 4(r4) -/* 8033D3B4 0033A314 38 03 00 01 */ addi r0, r3, 1 -/* 8033D3B8 0033A318 90 04 00 04 */ stw r0, 4(r4) -lbl_8033D3BC: -/* 8033D3BC 0033A31C 7F C3 F3 78 */ mr r3, r30 -lbl_8033D3C0: -/* 8033D3C0 0033A320 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8033D3C4 0033A324 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8033D3C8 0033A328 83 C1 00 08 */ lwz r30, 8(r1) -/* 8033D3CC 0033A32C 7C 08 03 A6 */ mtlr r0 -/* 8033D3D0 0033A330 38 21 00 10 */ addi r1, r1, 0x10 -/* 8033D3D4 0033A334 4E 80 00 20 */ blr - -.global "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fiw" -"append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fiw": -/* 8033D3D8 0033A338 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8033D3DC 0033A33C 7C 08 02 A6 */ mflr r0 -/* 8033D3E0 0033A340 90 01 00 24 */ stw r0, 0x24(r1) -/* 8033D3E4 0033A344 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8033D3E8 0033A348 7C 9F 23 78 */ mr r31, r4 -/* 8033D3EC 0033A34C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8033D3F0 0033A350 7C 7E 1B 78 */ mr r30, r3 -/* 8033D3F4 0033A354 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8033D3F8 0033A358 7C BD 2B 78 */ mr r29, r5 -/* 8033D3FC 0033A35C 38 A0 00 01 */ li r5, 1 -/* 8033D400 0033A360 80 03 00 08 */ lwz r0, 8(r3) -/* 8033D404 0033A364 7C 80 FA 14 */ add r4, r0, r31 -/* 8033D408 0033A368 4B FF FB 6D */ bl "internal_prepare_to_write__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fib" -/* 8033D40C 0033A36C 80 1E 00 08 */ lwz r0, 8(r30) -/* 8033D410 0033A370 2C 1F 00 00 */ cmpwi r31, 0 -/* 8033D414 0033A374 80 7E 00 00 */ lwz r3, 0(r30) -/* 8033D418 0033A378 38 80 00 00 */ li r4, 0 -/* 8033D41C 0033A37C 54 00 08 3C */ slwi r0, r0, 1 -/* 8033D420 0033A380 7C A3 02 14 */ add r5, r3, r0 -/* 8033D424 0033A384 40 81 00 80 */ ble lbl_8033D4A4 -/* 8033D428 0033A388 2C 1F 00 08 */ cmpwi r31, 8 -/* 8033D42C 0033A38C 38 7F FF F8 */ addi r3, r31, -8 -/* 8033D430 0033A390 40 81 00 4C */ ble lbl_8033D47C -/* 8033D434 0033A394 38 03 00 07 */ addi r0, r3, 7 -/* 8033D438 0033A398 7C A6 2B 78 */ mr r6, r5 -/* 8033D43C 0033A39C 54 00 E8 FE */ srwi r0, r0, 3 -/* 8033D440 0033A3A0 57 A7 04 3E */ clrlwi r7, r29, 0x10 -/* 8033D444 0033A3A4 7C 09 03 A6 */ mtctr r0 -/* 8033D448 0033A3A8 2C 03 00 00 */ cmpwi r3, 0 -/* 8033D44C 0033A3AC 40 81 00 30 */ ble lbl_8033D47C -lbl_8033D450: -/* 8033D450 0033A3B0 B0 E6 00 00 */ sth r7, 0(r6) -/* 8033D454 0033A3B4 38 84 00 08 */ addi r4, r4, 8 -/* 8033D458 0033A3B8 B0 E6 00 02 */ sth r7, 2(r6) -/* 8033D45C 0033A3BC B0 E6 00 04 */ sth r7, 4(r6) -/* 8033D460 0033A3C0 B0 E6 00 06 */ sth r7, 6(r6) -/* 8033D464 0033A3C4 B0 E6 00 08 */ sth r7, 8(r6) -/* 8033D468 0033A3C8 B0 E6 00 0A */ sth r7, 0xa(r6) -/* 8033D46C 0033A3CC B0 E6 00 0C */ sth r7, 0xc(r6) -/* 8033D470 0033A3D0 B0 E6 00 0E */ sth r7, 0xe(r6) -/* 8033D474 0033A3D4 38 C6 00 10 */ addi r6, r6, 0x10 -/* 8033D478 0033A3D8 42 00 FF D8 */ bdnz lbl_8033D450 -lbl_8033D47C: -/* 8033D47C 0033A3DC 54 83 08 3C */ slwi r3, r4, 1 -/* 8033D480 0033A3E0 7C 04 F8 50 */ subf r0, r4, r31 -/* 8033D484 0033A3E4 7C 65 1A 14 */ add r3, r5, r3 -/* 8033D488 0033A3E8 57 A5 04 3E */ clrlwi r5, r29, 0x10 -/* 8033D48C 0033A3EC 7C 09 03 A6 */ mtctr r0 -/* 8033D490 0033A3F0 7C 04 F8 00 */ cmpw r4, r31 -/* 8033D494 0033A3F4 40 80 00 10 */ bge lbl_8033D4A4 -lbl_8033D498: -/* 8033D498 0033A3F8 B0 A3 00 00 */ sth r5, 0(r3) -/* 8033D49C 0033A3FC 38 63 00 02 */ addi r3, r3, 2 -/* 8033D4A0 0033A400 42 00 FF F8 */ bdnz lbl_8033D498 -lbl_8033D4A4: -/* 8033D4A4 0033A404 80 1E 00 08 */ lwz r0, 8(r30) -/* 8033D4A8 0033A408 38 A0 00 00 */ li r5, 0 -/* 8033D4AC 0033A40C 7F C3 F3 78 */ mr r3, r30 -/* 8033D4B0 0033A410 7C 00 FA 14 */ add r0, r0, r31 -/* 8033D4B4 0033A414 90 1E 00 08 */ stw r0, 8(r30) -/* 8033D4B8 0033A418 80 1E 00 08 */ lwz r0, 8(r30) -/* 8033D4BC 0033A41C 80 9E 00 00 */ lwz r4, 0(r30) -/* 8033D4C0 0033A420 54 00 08 3C */ slwi r0, r0, 1 -/* 8033D4C4 0033A424 7C A4 03 2E */ sthx r5, r4, r0 -/* 8033D4C8 0033A428 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8033D4CC 0033A42C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8033D4D0 0033A430 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8033D4D4 0033A434 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8033D4D8 0033A438 7C 08 03 A6 */ mtlr r0 -/* 8033D4DC 0033A43C 38 21 00 20 */ addi r1, r1, 0x20 -/* 8033D4E0 0033A440 4E 80 00 20 */ blr - -.global sub_8033d4e4 -sub_8033d4e4: -/* 8033D4E4 0033A444 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8033D4E8 0033A448 7C 08 02 A6 */ mflr r0 -/* 8033D4EC 0033A44C 90 01 00 24 */ stw r0, 0x24(r1) -/* 8033D4F0 0033A450 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8033D4F4 0033A454 3B E0 00 00 */ li r31, 0 -/* 8033D4F8 0033A458 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8033D4FC 0033A45C 7C 9E 23 78 */ mr r30, r4 -/* 8033D500 0033A460 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8033D504 0033A464 7C 7D 1B 78 */ mr r29, r3 -/* 8033D508 0033A468 7F C3 F3 78 */ mr r3, r30 -/* 8033D50C 0033A46C 48 00 00 0C */ b lbl_8033D518 -lbl_8033D510: -/* 8033D510 0033A470 38 63 00 02 */ addi r3, r3, 2 -/* 8033D514 0033A474 3B FF 00 01 */ addi r31, r31, 1 -lbl_8033D518: -/* 8033D518 0033A478 2C 05 FF FF */ cmpwi r5, -1 -/* 8033D51C 0033A47C 41 82 00 0C */ beq lbl_8033D528 -/* 8033D520 0033A480 7C 1F 28 00 */ cmpw r31, r5 -/* 8033D524 0033A484 40 80 00 10 */ bge lbl_8033D534 -lbl_8033D528: -/* 8033D528 0033A488 A0 03 00 00 */ lhz r0, 0(r3) -/* 8033D52C 0033A48C 28 00 00 00 */ cmplwi r0, 0 -/* 8033D530 0033A490 40 82 FF E0 */ bne lbl_8033D510 -lbl_8033D534: -/* 8033D534 0033A494 80 1D 00 08 */ lwz r0, 8(r29) -/* 8033D538 0033A498 7F A3 EB 78 */ mr r3, r29 -/* 8033D53C 0033A49C 38 A0 00 01 */ li r5, 1 -/* 8033D540 0033A4A0 7C 80 FA 14 */ add r4, r0, r31 -/* 8033D544 0033A4A4 4B FF FA 31 */ bl "internal_prepare_to_write__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fib" -/* 8033D548 0033A4A8 80 1D 00 08 */ lwz r0, 8(r29) -/* 8033D54C 0033A4AC 2C 1F 00 00 */ cmpwi r31, 0 -/* 8033D550 0033A4B0 80 7D 00 00 */ lwz r3, 0(r29) -/* 8033D554 0033A4B4 38 80 00 00 */ li r4, 0 -/* 8033D558 0033A4B8 54 00 08 3C */ slwi r0, r0, 1 -/* 8033D55C 0033A4BC 7C 63 02 14 */ add r3, r3, r0 -/* 8033D560 0033A4C0 40 81 00 AC */ ble lbl_8033D60C -/* 8033D564 0033A4C4 2C 1F 00 08 */ cmpwi r31, 8 -/* 8033D568 0033A4C8 38 BF FF F8 */ addi r5, r31, -8 -/* 8033D56C 0033A4CC 40 81 00 70 */ ble lbl_8033D5DC -/* 8033D570 0033A4D0 38 05 00 07 */ addi r0, r5, 7 -/* 8033D574 0033A4D4 7F C6 F3 78 */ mr r6, r30 -/* 8033D578 0033A4D8 54 00 E8 FE */ srwi r0, r0, 3 -/* 8033D57C 0033A4DC 7C 67 1B 78 */ mr r7, r3 -/* 8033D580 0033A4E0 7C 09 03 A6 */ mtctr r0 -/* 8033D584 0033A4E4 2C 05 00 00 */ cmpwi r5, 0 -/* 8033D588 0033A4E8 40 81 00 54 */ ble lbl_8033D5DC -lbl_8033D58C: -/* 8033D58C 0033A4EC A0 06 00 00 */ lhz r0, 0(r6) -/* 8033D590 0033A4F0 38 84 00 08 */ addi r4, r4, 8 -/* 8033D594 0033A4F4 B0 07 00 00 */ sth r0, 0(r7) -/* 8033D598 0033A4F8 A0 06 00 02 */ lhz r0, 2(r6) -/* 8033D59C 0033A4FC B0 07 00 02 */ sth r0, 2(r7) -/* 8033D5A0 0033A500 A0 06 00 04 */ lhz r0, 4(r6) -/* 8033D5A4 0033A504 B0 07 00 04 */ sth r0, 4(r7) -/* 8033D5A8 0033A508 A0 06 00 06 */ lhz r0, 6(r6) -/* 8033D5AC 0033A50C B0 07 00 06 */ sth r0, 6(r7) -/* 8033D5B0 0033A510 A0 06 00 08 */ lhz r0, 8(r6) -/* 8033D5B4 0033A514 B0 07 00 08 */ sth r0, 8(r7) -/* 8033D5B8 0033A518 A0 06 00 0A */ lhz r0, 0xa(r6) -/* 8033D5BC 0033A51C B0 07 00 0A */ sth r0, 0xa(r7) -/* 8033D5C0 0033A520 A0 06 00 0C */ lhz r0, 0xc(r6) -/* 8033D5C4 0033A524 B0 07 00 0C */ sth r0, 0xc(r7) -/* 8033D5C8 0033A528 A0 06 00 0E */ lhz r0, 0xe(r6) -/* 8033D5CC 0033A52C 38 C6 00 10 */ addi r6, r6, 0x10 -/* 8033D5D0 0033A530 B0 07 00 0E */ sth r0, 0xe(r7) -/* 8033D5D4 0033A534 38 E7 00 10 */ addi r7, r7, 0x10 -/* 8033D5D8 0033A538 42 00 FF B4 */ bdnz lbl_8033D58C -lbl_8033D5DC: -/* 8033D5DC 0033A53C 54 86 08 3C */ slwi r6, r4, 1 -/* 8033D5E0 0033A540 7C 04 F8 50 */ subf r0, r4, r31 -/* 8033D5E4 0033A544 7C BE 32 14 */ add r5, r30, r6 -/* 8033D5E8 0033A548 7C 63 32 14 */ add r3, r3, r6 -/* 8033D5EC 0033A54C 7C 09 03 A6 */ mtctr r0 -/* 8033D5F0 0033A550 7C 04 F8 00 */ cmpw r4, r31 -/* 8033D5F4 0033A554 40 80 00 18 */ bge lbl_8033D60C -lbl_8033D5F8: -/* 8033D5F8 0033A558 A0 05 00 00 */ lhz r0, 0(r5) -/* 8033D5FC 0033A55C 38 A5 00 02 */ addi r5, r5, 2 -/* 8033D600 0033A560 B0 03 00 00 */ sth r0, 0(r3) -/* 8033D604 0033A564 38 63 00 02 */ addi r3, r3, 2 -/* 8033D608 0033A568 42 00 FF F0 */ bdnz lbl_8033D5F8 -lbl_8033D60C: -/* 8033D60C 0033A56C 80 1D 00 08 */ lwz r0, 8(r29) -/* 8033D610 0033A570 38 A0 00 00 */ li r5, 0 -/* 8033D614 0033A574 7F A3 EB 78 */ mr r3, r29 -/* 8033D618 0033A578 7C 00 FA 14 */ add r0, r0, r31 -/* 8033D61C 0033A57C 90 1D 00 08 */ stw r0, 8(r29) -/* 8033D620 0033A580 80 1D 00 08 */ lwz r0, 8(r29) -/* 8033D624 0033A584 80 9D 00 00 */ lwz r4, 0(r29) -/* 8033D628 0033A588 54 00 08 3C */ slwi r0, r0, 1 -/* 8033D62C 0033A58C 7C A4 03 2E */ sthx r5, r4, r0 -/* 8033D630 0033A590 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8033D634 0033A594 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8033D638 0033A598 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8033D63C 0033A59C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8033D640 0033A5A0 7C 08 03 A6 */ mtlr r0 -/* 8033D644 0033A5A4 38 21 00 20 */ addi r1, r1, 0x20 -/* 8033D648 0033A5A8 4E 80 00 20 */ blr - -.global "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -"append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": -/* 8033D64C 0033A5AC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8033D650 0033A5B0 7C 08 02 A6 */ mflr r0 -/* 8033D654 0033A5B4 38 A0 00 01 */ li r5, 1 -/* 8033D658 0033A5B8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8033D65C 0033A5BC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8033D660 0033A5C0 7C 9F 23 78 */ mr r31, r4 -/* 8033D664 0033A5C4 93 C1 00 08 */ stw r30, 8(r1) -/* 8033D668 0033A5C8 7C 7E 1B 78 */ mr r30, r3 -/* 8033D66C 0033A5CC 80 83 00 08 */ lwz r4, 8(r3) -/* 8033D670 0033A5D0 80 1F 00 08 */ lwz r0, 8(r31) -/* 8033D674 0033A5D4 7C 84 02 14 */ add r4, r4, r0 -/* 8033D678 0033A5D8 4B FF F8 FD */ bl "internal_prepare_to_write__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fib" -/* 8033D67C 0033A5DC 80 BF 00 08 */ lwz r5, 8(r31) -/* 8033D680 0033A5E0 38 80 00 00 */ li r4, 0 -/* 8033D684 0033A5E4 80 1E 00 08 */ lwz r0, 8(r30) -/* 8033D688 0033A5E8 2C 05 00 00 */ cmpwi r5, 0 -/* 8033D68C 0033A5EC 80 7E 00 00 */ lwz r3, 0(r30) -/* 8033D690 0033A5F0 54 00 08 3C */ slwi r0, r0, 1 -/* 8033D694 0033A5F4 80 DF 00 00 */ lwz r6, 0(r31) -/* 8033D698 0033A5F8 7C 63 02 14 */ add r3, r3, r0 -/* 8033D69C 0033A5FC 40 81 00 AC */ ble lbl_8033D748 -/* 8033D6A0 0033A600 2C 05 00 08 */ cmpwi r5, 8 -/* 8033D6A4 0033A604 38 E5 FF F8 */ addi r7, r5, -8 -/* 8033D6A8 0033A608 40 81 00 70 */ ble lbl_8033D718 -/* 8033D6AC 0033A60C 38 07 00 07 */ addi r0, r7, 7 -/* 8033D6B0 0033A610 7C C8 33 78 */ mr r8, r6 -/* 8033D6B4 0033A614 54 00 E8 FE */ srwi r0, r0, 3 -/* 8033D6B8 0033A618 7C 69 1B 78 */ mr r9, r3 -/* 8033D6BC 0033A61C 7C 09 03 A6 */ mtctr r0 -/* 8033D6C0 0033A620 2C 07 00 00 */ cmpwi r7, 0 -/* 8033D6C4 0033A624 40 81 00 54 */ ble lbl_8033D718 -lbl_8033D6C8: -/* 8033D6C8 0033A628 A0 08 00 00 */ lhz r0, 0(r8) -/* 8033D6CC 0033A62C 38 84 00 08 */ addi r4, r4, 8 -/* 8033D6D0 0033A630 B0 09 00 00 */ sth r0, 0(r9) -/* 8033D6D4 0033A634 A0 08 00 02 */ lhz r0, 2(r8) -/* 8033D6D8 0033A638 B0 09 00 02 */ sth r0, 2(r9) -/* 8033D6DC 0033A63C A0 08 00 04 */ lhz r0, 4(r8) -/* 8033D6E0 0033A640 B0 09 00 04 */ sth r0, 4(r9) -/* 8033D6E4 0033A644 A0 08 00 06 */ lhz r0, 6(r8) -/* 8033D6E8 0033A648 B0 09 00 06 */ sth r0, 6(r9) -/* 8033D6EC 0033A64C A0 08 00 08 */ lhz r0, 8(r8) -/* 8033D6F0 0033A650 B0 09 00 08 */ sth r0, 8(r9) -/* 8033D6F4 0033A654 A0 08 00 0A */ lhz r0, 0xa(r8) -/* 8033D6F8 0033A658 B0 09 00 0A */ sth r0, 0xa(r9) -/* 8033D6FC 0033A65C A0 08 00 0C */ lhz r0, 0xc(r8) -/* 8033D700 0033A660 B0 09 00 0C */ sth r0, 0xc(r9) -/* 8033D704 0033A664 A0 08 00 0E */ lhz r0, 0xe(r8) -/* 8033D708 0033A668 39 08 00 10 */ addi r8, r8, 0x10 -/* 8033D70C 0033A66C B0 09 00 0E */ sth r0, 0xe(r9) -/* 8033D710 0033A670 39 29 00 10 */ addi r9, r9, 0x10 -/* 8033D714 0033A674 42 00 FF B4 */ bdnz lbl_8033D6C8 -lbl_8033D718: -/* 8033D718 0033A678 54 87 08 3C */ slwi r7, r4, 1 -/* 8033D71C 0033A67C 7C 04 28 50 */ subf r0, r4, r5 -/* 8033D720 0033A680 7C C6 3A 14 */ add r6, r6, r7 -/* 8033D724 0033A684 7C 63 3A 14 */ add r3, r3, r7 -/* 8033D728 0033A688 7C 09 03 A6 */ mtctr r0 -/* 8033D72C 0033A68C 7C 04 28 00 */ cmpw r4, r5 -/* 8033D730 0033A690 40 80 00 18 */ bge lbl_8033D748 -lbl_8033D734: -/* 8033D734 0033A694 A0 06 00 00 */ lhz r0, 0(r6) -/* 8033D738 0033A698 38 C6 00 02 */ addi r6, r6, 2 -/* 8033D73C 0033A69C B0 03 00 00 */ sth r0, 0(r3) -/* 8033D740 0033A6A0 38 63 00 02 */ addi r3, r3, 2 -/* 8033D744 0033A6A4 42 00 FF F0 */ bdnz lbl_8033D734 -lbl_8033D748: -/* 8033D748 0033A6A8 80 9E 00 08 */ lwz r4, 8(r30) -/* 8033D74C 0033A6AC 38 A0 00 00 */ li r5, 0 -/* 8033D750 0033A6B0 80 1F 00 08 */ lwz r0, 8(r31) -/* 8033D754 0033A6B4 7F C3 F3 78 */ mr r3, r30 -/* 8033D758 0033A6B8 7C 04 02 14 */ add r0, r4, r0 -/* 8033D75C 0033A6BC 90 1E 00 08 */ stw r0, 8(r30) -/* 8033D760 0033A6C0 80 1E 00 08 */ lwz r0, 8(r30) -/* 8033D764 0033A6C4 80 9E 00 00 */ lwz r4, 0(r30) -/* 8033D768 0033A6C8 54 00 08 3C */ slwi r0, r0, 1 -/* 8033D76C 0033A6CC 7C A4 03 2E */ sthx r5, r4, r0 -/* 8033D770 0033A6D0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8033D774 0033A6D4 83 C1 00 08 */ lwz r30, 8(r1) -/* 8033D778 0033A6D8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8033D77C 0033A6DC 7C 08 03 A6 */ mtlr r0 -/* 8033D780 0033A6E0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8033D784 0033A6E4 4E 80 00 20 */ blr - -.global "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -"__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": -/* 8033D788 0033A6E8 80 04 00 00 */ lwz r0, 0(r4) -/* 8033D78C 0033A6EC 90 03 00 00 */ stw r0, 0(r3) -/* 8033D790 0033A6F0 80 04 00 04 */ lwz r0, 4(r4) -/* 8033D794 0033A6F4 90 03 00 04 */ stw r0, 4(r3) -/* 8033D798 0033A6F8 80 04 00 08 */ lwz r0, 8(r4) -/* 8033D79C 0033A6FC 90 03 00 08 */ stw r0, 8(r3) -/* 8033D7A0 0033A700 80 A3 00 04 */ lwz r5, 4(r3) -/* 8033D7A4 0033A704 28 05 00 00 */ cmplwi r5, 0 -/* 8033D7A8 0033A708 4D 82 00 20 */ beqlr -/* 8033D7AC 0033A70C 80 85 00 04 */ lwz r4, 4(r5) -/* 8033D7B0 0033A710 38 04 00 01 */ addi r0, r4, 1 -/* 8033D7B4 0033A714 90 05 00 04 */ stw r0, 4(r5) -/* 8033D7B8 0033A718 4E 80 00 20 */ blr - -.global "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCwiRCQ24rstl17rmemory_allocator" -"__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCwiRCQ24rstl17rmemory_allocator": -/* 8033D7BC 0033A71C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8033D7C0 0033A720 7C 08 02 A6 */ mflr r0 -/* 8033D7C4 0033A724 2C 05 00 00 */ cmpwi r5, 0 -/* 8033D7C8 0033A728 90 01 00 24 */ stw r0, 0x24(r1) -/* 8033D7CC 0033A72C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8033D7D0 0033A730 7C 9F 23 78 */ mr r31, r4 -/* 8033D7D4 0033A734 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8033D7D8 0033A738 7C 7E 1B 78 */ mr r30, r3 -/* 8033D7DC 0033A73C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8033D7E0 0033A740 41 81 00 28 */ bgt lbl_8033D808 -/* 8033D7E4 0033A744 A0 1F 00 00 */ lhz r0, 0(r31) -/* 8033D7E8 0033A748 28 00 00 00 */ cmplwi r0, 0 -/* 8033D7EC 0033A74C 40 82 00 1C */ bne lbl_8033D808 -/* 8033D7F0 0033A750 38 8D A9 1A */ addi r4, r13, lbl_805A94DA@sda21 -/* 8033D7F4 0033A754 38 00 00 00 */ li r0, 0 -/* 8033D7F8 0033A758 90 9E 00 00 */ stw r4, 0(r30) -/* 8033D7FC 0033A75C 90 1E 00 08 */ stw r0, 8(r30) -/* 8033D800 0033A760 90 1E 00 04 */ stw r0, 4(r30) -/* 8033D804 0033A764 48 00 01 10 */ b lbl_8033D914 -lbl_8033D808: -/* 8033D808 0033A768 7F E3 FB 78 */ mr r3, r31 -/* 8033D80C 0033A76C 3B A0 00 00 */ li r29, 0 -/* 8033D810 0033A770 48 00 00 0C */ b lbl_8033D81C -lbl_8033D814: -/* 8033D814 0033A774 38 63 00 02 */ addi r3, r3, 2 -/* 8033D818 0033A778 3B BD 00 01 */ addi r29, r29, 1 -lbl_8033D81C: -/* 8033D81C 0033A77C 2C 05 FF FF */ cmpwi r5, -1 -/* 8033D820 0033A780 41 82 00 0C */ beq lbl_8033D82C -/* 8033D824 0033A784 7C 1D 28 00 */ cmpw r29, r5 -/* 8033D828 0033A788 40 80 00 10 */ bge lbl_8033D838 -lbl_8033D82C: -/* 8033D82C 0033A78C A0 03 00 00 */ lhz r0, 0(r3) -/* 8033D830 0033A790 28 00 00 00 */ cmplwi r0, 0 -/* 8033D834 0033A794 40 82 FF E0 */ bne lbl_8033D814 -lbl_8033D838: -/* 8033D838 0033A798 7F C3 F3 78 */ mr r3, r30 -/* 8033D83C 0033A79C 38 9D 00 01 */ addi r4, r29, 1 -/* 8033D840 0033A7A0 4B FF F9 3D */ bl "internal_allocate__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fi" -/* 8033D844 0033A7A4 93 BE 00 08 */ stw r29, 8(r30) -/* 8033D848 0033A7A8 2C 1D 00 00 */ cmpwi r29, 0 -/* 8033D84C 0033A7AC 38 60 00 00 */ li r3, 0 -/* 8033D850 0033A7B0 80 9E 00 00 */ lwz r4, 0(r30) -/* 8033D854 0033A7B4 40 81 00 AC */ ble lbl_8033D900 -/* 8033D858 0033A7B8 2C 1D 00 08 */ cmpwi r29, 8 -/* 8033D85C 0033A7BC 38 BD FF F8 */ addi r5, r29, -8 -/* 8033D860 0033A7C0 40 81 00 70 */ ble lbl_8033D8D0 -/* 8033D864 0033A7C4 38 05 00 07 */ addi r0, r5, 7 -/* 8033D868 0033A7C8 7F E6 FB 78 */ mr r6, r31 -/* 8033D86C 0033A7CC 54 00 E8 FE */ srwi r0, r0, 3 -/* 8033D870 0033A7D0 7C 87 23 78 */ mr r7, r4 -/* 8033D874 0033A7D4 7C 09 03 A6 */ mtctr r0 -/* 8033D878 0033A7D8 2C 05 00 00 */ cmpwi r5, 0 -/* 8033D87C 0033A7DC 40 81 00 54 */ ble lbl_8033D8D0 -lbl_8033D880: -/* 8033D880 0033A7E0 A0 06 00 00 */ lhz r0, 0(r6) -/* 8033D884 0033A7E4 38 63 00 08 */ addi r3, r3, 8 -/* 8033D888 0033A7E8 B0 07 00 00 */ sth r0, 0(r7) -/* 8033D88C 0033A7EC A0 06 00 02 */ lhz r0, 2(r6) -/* 8033D890 0033A7F0 B0 07 00 02 */ sth r0, 2(r7) -/* 8033D894 0033A7F4 A0 06 00 04 */ lhz r0, 4(r6) -/* 8033D898 0033A7F8 B0 07 00 04 */ sth r0, 4(r7) -/* 8033D89C 0033A7FC A0 06 00 06 */ lhz r0, 6(r6) -/* 8033D8A0 0033A800 B0 07 00 06 */ sth r0, 6(r7) -/* 8033D8A4 0033A804 A0 06 00 08 */ lhz r0, 8(r6) -/* 8033D8A8 0033A808 B0 07 00 08 */ sth r0, 8(r7) -/* 8033D8AC 0033A80C A0 06 00 0A */ lhz r0, 0xa(r6) -/* 8033D8B0 0033A810 B0 07 00 0A */ sth r0, 0xa(r7) -/* 8033D8B4 0033A814 A0 06 00 0C */ lhz r0, 0xc(r6) -/* 8033D8B8 0033A818 B0 07 00 0C */ sth r0, 0xc(r7) -/* 8033D8BC 0033A81C A0 06 00 0E */ lhz r0, 0xe(r6) -/* 8033D8C0 0033A820 38 C6 00 10 */ addi r6, r6, 0x10 -/* 8033D8C4 0033A824 B0 07 00 0E */ sth r0, 0xe(r7) -/* 8033D8C8 0033A828 38 E7 00 10 */ addi r7, r7, 0x10 -/* 8033D8CC 0033A82C 42 00 FF B4 */ bdnz lbl_8033D880 -lbl_8033D8D0: -/* 8033D8D0 0033A830 54 66 08 3C */ slwi r6, r3, 1 -/* 8033D8D4 0033A834 7C 03 E8 50 */ subf r0, r3, r29 -/* 8033D8D8 0033A838 7C BF 32 14 */ add r5, r31, r6 -/* 8033D8DC 0033A83C 7C 84 32 14 */ add r4, r4, r6 -/* 8033D8E0 0033A840 7C 09 03 A6 */ mtctr r0 -/* 8033D8E4 0033A844 7C 03 E8 00 */ cmpw r3, r29 -/* 8033D8E8 0033A848 40 80 00 18 */ bge lbl_8033D900 -lbl_8033D8EC: -/* 8033D8EC 0033A84C A0 05 00 00 */ lhz r0, 0(r5) -/* 8033D8F0 0033A850 38 A5 00 02 */ addi r5, r5, 2 -/* 8033D8F4 0033A854 B0 04 00 00 */ sth r0, 0(r4) -/* 8033D8F8 0033A858 38 84 00 02 */ addi r4, r4, 2 -/* 8033D8FC 0033A85C 42 00 FF F0 */ bdnz lbl_8033D8EC -lbl_8033D900: -/* 8033D900 0033A860 80 9E 00 00 */ lwz r4, 0(r30) -/* 8033D904 0033A864 57 A0 08 3C */ slwi r0, r29, 1 -/* 8033D908 0033A868 38 A0 00 00 */ li r5, 0 -/* 8033D90C 0033A86C 7F C3 F3 78 */ mr r3, r30 -/* 8033D910 0033A870 7C A4 03 2E */ sthx r5, r4, r0 -lbl_8033D914: -/* 8033D914 0033A874 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8033D918 0033A878 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8033D91C 0033A87C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8033D920 0033A880 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8033D924 0033A884 7C 08 03 A6 */ mtlr r0 -/* 8033D928 0033A888 38 21 00 20 */ addi r1, r1, 0x20 -/* 8033D92C 0033A88C 4E 80 00 20 */ blr - -.global "internal_prepare_to_write__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fib" -"internal_prepare_to_write__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fib": -/* 8033D930 0033A890 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8033D934 0033A894 7C 08 02 A6 */ mflr r0 -/* 8033D938 0033A898 38 84 00 01 */ addi r4, r4, 1 -/* 8033D93C 0033A89C 90 01 00 24 */ stw r0, 0x24(r1) -/* 8033D940 0033A8A0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8033D944 0033A8A4 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8033D948 0033A8A8 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8033D94C 0033A8AC 7C 7D 1B 78 */ mr r29, r3 -/* 8033D950 0033A8B0 93 81 00 10 */ stw r28, 0x10(r1) -/* 8033D954 0033A8B4 7C BC 2B 78 */ mr r28, r5 -/* 8033D958 0033A8B8 80 63 00 04 */ lwz r3, 4(r3) -/* 8033D95C 0033A8BC 28 03 00 00 */ cmplwi r3, 0 -/* 8033D960 0033A8C0 41 82 00 1C */ beq lbl_8033D97C -/* 8033D964 0033A8C4 80 03 00 04 */ lwz r0, 4(r3) -/* 8033D968 0033A8C8 2C 00 00 01 */ cmpwi r0, 1 -/* 8033D96C 0033A8CC 40 82 00 10 */ bne lbl_8033D97C -/* 8033D970 0033A8D0 80 03 00 00 */ lwz r0, 0(r3) -/* 8033D974 0033A8D4 7C 00 20 00 */ cmpw r0, r4 -/* 8033D978 0033A8D8 40 80 01 48 */ bge lbl_8033DAC0 -lbl_8033D97C: -/* 8033D97C 0033A8DC 28 03 00 00 */ cmplwi r3, 0 -/* 8033D980 0033A8E0 41 82 00 30 */ beq lbl_8033D9B0 -/* 8033D984 0033A8E4 80 63 00 00 */ lwz r3, 0(r3) -/* 8033D988 0033A8E8 38 00 00 04 */ li r0, 4 -/* 8033D98C 0033A8EC 2C 03 00 04 */ cmpwi r3, 4 -/* 8033D990 0033A8F0 41 80 00 08 */ blt lbl_8033D998 -/* 8033D994 0033A8F4 7C 60 1B 78 */ mr r0, r3 -lbl_8033D998: -/* 8033D998 0033A8F8 7C 1E 03 78 */ mr r30, r0 -/* 8033D99C 0033A8FC 48 00 00 08 */ b lbl_8033D9A4 -lbl_8033D9A0: -/* 8033D9A0 0033A900 57 DE 08 3C */ slwi r30, r30, 1 -lbl_8033D9A4: -/* 8033D9A4 0033A904 7C 1E 20 00 */ cmpw r30, r4 -/* 8033D9A8 0033A908 41 80 FF F8 */ blt lbl_8033D9A0 -/* 8033D9AC 0033A90C 48 00 00 08 */ b lbl_8033D9B4 -lbl_8033D9B0: -/* 8033D9B0 0033A910 7C 9E 23 78 */ mr r30, r4 -lbl_8033D9B4: -/* 8033D9B4 0033A914 34 7E 00 08 */ addic. r3, r30, 8 -/* 8033D9B8 0033A918 40 82 00 0C */ bne lbl_8033D9C4 -/* 8033D9BC 0033A91C 3B E0 00 00 */ li r31, 0 -/* 8033D9C0 0033A920 48 00 00 18 */ b lbl_8033D9D8 -lbl_8033D9C4: -/* 8033D9C4 0033A924 3C 80 80 3D */ lis r4, lbl_803D7A48@ha -/* 8033D9C8 0033A928 38 A0 00 00 */ li r5, 0 -/* 8033D9CC 0033A92C 38 84 7A 48 */ addi r4, r4, lbl_803D7A48@l -/* 8033D9D0 0033A930 4B FD 7E 49 */ bl __nwa__FUlPCcPCc -/* 8033D9D4 0033A934 7C 7F 1B 78 */ mr r31, r3 -lbl_8033D9D8: -/* 8033D9D8 0033A938 93 DF 00 00 */ stw r30, 0(r31) -/* 8033D9DC 0033A93C 38 60 00 01 */ li r3, 1 -/* 8033D9E0 0033A940 57 80 06 3F */ clrlwi. r0, r28, 0x18 -/* 8033D9E4 0033A944 3B DF 00 08 */ addi r30, r31, 8 -/* 8033D9E8 0033A948 90 7F 00 04 */ stw r3, 4(r31) -/* 8033D9EC 0033A94C 41 82 00 C4 */ beq lbl_8033DAB0 -/* 8033D9F0 0033A950 80 BD 00 08 */ lwz r5, 8(r29) -/* 8033D9F4 0033A954 38 80 00 00 */ li r4, 0 -/* 8033D9F8 0033A958 80 7D 00 00 */ lwz r3, 0(r29) -/* 8033D9FC 0033A95C 2C 05 00 00 */ cmpwi r5, 0 -/* 8033DA00 0033A960 40 81 00 A4 */ ble lbl_8033DAA4 -/* 8033DA04 0033A964 2C 05 00 08 */ cmpwi r5, 8 -/* 8033DA08 0033A968 38 C5 FF F8 */ addi r6, r5, -8 -/* 8033DA0C 0033A96C 40 81 00 6C */ ble lbl_8033DA78 -/* 8033DA10 0033A970 38 06 00 07 */ addi r0, r6, 7 -/* 8033DA14 0033A974 7F C7 F3 78 */ mr r7, r30 -/* 8033DA18 0033A978 54 00 E8 FE */ srwi r0, r0, 3 -/* 8033DA1C 0033A97C 7C 09 03 A6 */ mtctr r0 -/* 8033DA20 0033A980 2C 06 00 00 */ cmpwi r6, 0 -/* 8033DA24 0033A984 40 81 00 54 */ ble lbl_8033DA78 -lbl_8033DA28: -/* 8033DA28 0033A988 7C C3 22 14 */ add r6, r3, r4 -/* 8033DA2C 0033A98C 38 84 00 08 */ addi r4, r4, 8 -/* 8033DA30 0033A990 88 06 00 00 */ lbz r0, 0(r6) -/* 8033DA34 0033A994 98 07 00 00 */ stb r0, 0(r7) -/* 8033DA38 0033A998 88 06 00 01 */ lbz r0, 1(r6) -/* 8033DA3C 0033A99C 98 07 00 01 */ stb r0, 1(r7) -/* 8033DA40 0033A9A0 88 06 00 02 */ lbz r0, 2(r6) -/* 8033DA44 0033A9A4 98 07 00 02 */ stb r0, 2(r7) -/* 8033DA48 0033A9A8 88 06 00 03 */ lbz r0, 3(r6) -/* 8033DA4C 0033A9AC 98 07 00 03 */ stb r0, 3(r7) -/* 8033DA50 0033A9B0 88 06 00 04 */ lbz r0, 4(r6) -/* 8033DA54 0033A9B4 98 07 00 04 */ stb r0, 4(r7) -/* 8033DA58 0033A9B8 88 06 00 05 */ lbz r0, 5(r6) -/* 8033DA5C 0033A9BC 98 07 00 05 */ stb r0, 5(r7) -/* 8033DA60 0033A9C0 88 06 00 06 */ lbz r0, 6(r6) -/* 8033DA64 0033A9C4 98 07 00 06 */ stb r0, 6(r7) -/* 8033DA68 0033A9C8 88 06 00 07 */ lbz r0, 7(r6) -/* 8033DA6C 0033A9CC 98 07 00 07 */ stb r0, 7(r7) -/* 8033DA70 0033A9D0 38 E7 00 08 */ addi r7, r7, 8 -/* 8033DA74 0033A9D4 42 00 FF B4 */ bdnz lbl_8033DA28 -lbl_8033DA78: -/* 8033DA78 0033A9D8 7C 04 28 50 */ subf r0, r4, r5 -/* 8033DA7C 0033A9DC 7C DE 22 14 */ add r6, r30, r4 -/* 8033DA80 0033A9E0 7C 63 22 14 */ add r3, r3, r4 -/* 8033DA84 0033A9E4 7C 09 03 A6 */ mtctr r0 -/* 8033DA88 0033A9E8 7C 04 28 00 */ cmpw r4, r5 -/* 8033DA8C 0033A9EC 40 80 00 18 */ bge lbl_8033DAA4 -lbl_8033DA90: -/* 8033DA90 0033A9F0 88 03 00 00 */ lbz r0, 0(r3) -/* 8033DA94 0033A9F4 38 63 00 01 */ addi r3, r3, 1 -/* 8033DA98 0033A9F8 98 06 00 00 */ stb r0, 0(r6) -/* 8033DA9C 0033A9FC 38 C6 00 01 */ addi r6, r6, 1 -/* 8033DAA0 0033AA00 42 00 FF F0 */ bdnz lbl_8033DA90 -lbl_8033DAA4: -/* 8033DAA4 0033AA04 80 1D 00 08 */ lwz r0, 8(r29) -/* 8033DAA8 0033AA08 38 60 00 00 */ li r3, 0 -/* 8033DAAC 0033AA0C 7C 7E 01 AE */ stbx r3, r30, r0 -lbl_8033DAB0: -/* 8033DAB0 0033AA10 7F A3 EB 78 */ mr r3, r29 -/* 8033DAB4 0033AA14 48 00 00 2D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8033DAB8 0033AA18 93 FD 00 04 */ stw r31, 4(r29) -/* 8033DABC 0033AA1C 93 DD 00 00 */ stw r30, 0(r29) -lbl_8033DAC0: -/* 8033DAC0 0033AA20 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8033DAC4 0033AA24 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8033DAC8 0033AA28 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8033DACC 0033AA2C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8033DAD0 0033AA30 83 81 00 10 */ lwz r28, 0x10(r1) -/* 8033DAD4 0033AA34 7C 08 03 A6 */ mtlr r0 -/* 8033DAD8 0033AA38 38 21 00 20 */ addi r1, r1, 0x20 -/* 8033DADC 0033AA3C 4E 80 00 20 */ blr - -.global "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -"internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv": -/* 8033DAE0 0033AA40 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8033DAE4 0033AA44 7C 08 02 A6 */ mflr r0 -/* 8033DAE8 0033AA48 90 01 00 14 */ stw r0, 0x14(r1) -/* 8033DAEC 0033AA4C 80 A3 00 04 */ lwz r5, 4(r3) -/* 8033DAF0 0033AA50 28 05 00 00 */ cmplwi r5, 0 -/* 8033DAF4 0033AA54 41 82 00 24 */ beq lbl_8033DB18 -/* 8033DAF8 0033AA58 80 85 00 04 */ lwz r4, 4(r5) -/* 8033DAFC 0033AA5C 34 04 FF FF */ addic. r0, r4, -1 -/* 8033DB00 0033AA60 90 05 00 04 */ stw r0, 4(r5) -/* 8033DB04 0033AA64 40 82 00 14 */ bne lbl_8033DB18 -/* 8033DB08 0033AA68 80 63 00 04 */ lwz r3, 4(r3) -/* 8033DB0C 0033AA6C 28 03 00 00 */ cmplwi r3, 0 -/* 8033DB10 0033AA70 41 82 00 08 */ beq lbl_8033DB18 -/* 8033DB14 0033AA74 4B FD 7E 1D */ bl Free__7CMemoryFPCv -lbl_8033DB18: -/* 8033DB18 0033AA78 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8033DB1C 0033AA7C 7C 08 03 A6 */ mtlr r0 -/* 8033DB20 0033AA80 38 21 00 10 */ addi r1, r1, 0x10 -/* 8033DB24 0033AA84 4E 80 00 20 */ blr - -.global "internal_allocate__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fi" -"internal_allocate__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fi": -/* 8033DB28 0033AA88 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8033DB2C 0033AA8C 7C 08 02 A6 */ mflr r0 -/* 8033DB30 0033AA90 90 01 00 14 */ stw r0, 0x14(r1) -/* 8033DB34 0033AA94 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8033DB38 0033AA98 7C 9F 23 78 */ mr r31, r4 -/* 8033DB3C 0033AA9C 93 C1 00 08 */ stw r30, 8(r1) -/* 8033DB40 0033AAA0 7C 7E 1B 78 */ mr r30, r3 -/* 8033DB44 0033AAA4 34 7F 00 08 */ addic. r3, r31, 8 -/* 8033DB48 0033AAA8 40 82 00 10 */ bne lbl_8033DB58 -/* 8033DB4C 0033AAAC 38 00 00 00 */ li r0, 0 -/* 8033DB50 0033AAB0 90 1E 00 04 */ stw r0, 4(r30) -/* 8033DB54 0033AAB4 48 00 00 18 */ b lbl_8033DB6C -lbl_8033DB58: -/* 8033DB58 0033AAB8 3C 80 80 3D */ lis r4, lbl_803D7A48@ha -/* 8033DB5C 0033AABC 38 A0 00 00 */ li r5, 0 -/* 8033DB60 0033AAC0 38 84 7A 48 */ addi r4, r4, lbl_803D7A48@l -/* 8033DB64 0033AAC4 4B FD 7C B5 */ bl __nwa__FUlPCcPCc -/* 8033DB68 0033AAC8 90 7E 00 04 */ stw r3, 4(r30) -lbl_8033DB6C: -/* 8033DB6C 0033AACC 80 7E 00 04 */ lwz r3, 4(r30) -/* 8033DB70 0033AAD0 38 00 00 01 */ li r0, 1 -/* 8033DB74 0033AAD4 38 63 00 08 */ addi r3, r3, 8 -/* 8033DB78 0033AAD8 90 7E 00 00 */ stw r3, 0(r30) -/* 8033DB7C 0033AADC 80 7E 00 04 */ lwz r3, 4(r30) -/* 8033DB80 0033AAE0 93 E3 00 00 */ stw r31, 0(r3) -/* 8033DB84 0033AAE4 80 7E 00 04 */ lwz r3, 4(r30) -/* 8033DB88 0033AAE8 90 03 00 04 */ stw r0, 4(r3) -/* 8033DB8C 0033AAEC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8033DB90 0033AAF0 83 C1 00 08 */ lwz r30, 8(r1) -/* 8033DB94 0033AAF4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8033DB98 0033AAF8 7C 08 03 A6 */ mtlr r0 -/* 8033DB9C 0033AAFC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8033DBA0 0033AB00 4E 80 00 20 */ blr - -.global "range_iterator__Q24rstl66basic_string,Q24rstl17rmemory_allocator>CFii" -"range_iterator__Q24rstl66basic_string,Q24rstl17rmemory_allocator>CFii": -/* 8033DBA4 0033AB04 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8033DBA8 0033AB08 7C 08 02 A6 */ mflr r0 -/* 8033DBAC 0033AB0C 90 01 00 44 */ stw r0, 0x44(r1) -/* 8033DBB0 0033AB10 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 8033DBB4 0033AB14 7C DF 33 78 */ mr r31, r6 -/* 8033DBB8 0033AB18 93 C1 00 38 */ stw r30, 0x38(r1) -/* 8033DBBC 0033AB1C 7C BE 2B 78 */ mr r30, r5 -/* 8033DBC0 0033AB20 93 A1 00 34 */ stw r29, 0x34(r1) -/* 8033DBC4 0033AB24 7C 9D 23 78 */ mr r29, r4 -/* 8033DBC8 0033AB28 93 81 00 30 */ stw r28, 0x30(r1) -/* 8033DBCC 0033AB2C 7C 7C 1B 78 */ mr r28, r3 -/* 8033DBD0 0033AB30 38 61 00 20 */ addi r3, r1, 0x20 -/* 8033DBD4 0033AB34 48 00 00 9D */ bl "position_iterator__Q24rstl66basic_string,Q24rstl17rmemory_allocator>CFi" -/* 8033DBD8 0033AB38 2C 1F FF FF */ cmpwi r31, -1 -/* 8033DBDC 0033AB3C 80 A1 00 20 */ lwz r5, 0x20(r1) -/* 8033DBE0 0033AB40 80 C1 00 24 */ lwz r6, 0x24(r1) -/* 8033DBE4 0033AB44 38 80 00 00 */ li r4, 0 -/* 8033DBE8 0033AB48 41 82 00 18 */ beq lbl_8033DC00 -/* 8033DBEC 0033AB4C 80 1D 00 08 */ lwz r0, 8(r29) -/* 8033DBF0 0033AB50 7C 7E FA 14 */ add r3, r30, r31 -/* 8033DBF4 0033AB54 7C 03 00 00 */ cmpw r3, r0 -/* 8033DBF8 0033AB58 40 80 00 08 */ bge lbl_8033DC00 -/* 8033DBFC 0033AB5C 38 80 00 01 */ li r4, 1 -lbl_8033DC00: -/* 8033DC00 0033AB60 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 8033DC04 0033AB64 41 82 00 24 */ beq lbl_8033DC28 -/* 8033DC08 0033AB68 90 C1 00 0C */ stw r6, 0xc(r1) -/* 8033DC0C 0033AB6C 7C 06 FA 14 */ add r0, r6, r31 -/* 8033DC10 0033AB70 38 61 00 18 */ addi r3, r1, 0x18 -/* 8033DC14 0033AB74 90 A1 00 08 */ stw r5, 8(r1) -/* 8033DC18 0033AB78 90 01 00 0C */ stw r0, 0xc(r1) -/* 8033DC1C 0033AB7C 90 A1 00 18 */ stw r5, 0x18(r1) -/* 8033DC20 0033AB80 90 01 00 1C */ stw r0, 0x1c(r1) -/* 8033DC24 0033AB84 48 00 00 14 */ b lbl_8033DC38 -lbl_8033DC28: -/* 8033DC28 0033AB88 80 1D 00 08 */ lwz r0, 8(r29) -/* 8033DC2C 0033AB8C 38 61 00 10 */ addi r3, r1, 0x10 -/* 8033DC30 0033AB90 93 A1 00 10 */ stw r29, 0x10(r1) -/* 8033DC34 0033AB94 90 01 00 14 */ stw r0, 0x14(r1) -lbl_8033DC38: -/* 8033DC38 0033AB98 80 03 00 00 */ lwz r0, 0(r3) -/* 8033DC3C 0033AB9C 80 63 00 04 */ lwz r3, 4(r3) -/* 8033DC40 0033ABA0 90 BC 00 00 */ stw r5, 0(r28) -/* 8033DC44 0033ABA4 90 DC 00 04 */ stw r6, 4(r28) -/* 8033DC48 0033ABA8 90 1C 00 08 */ stw r0, 8(r28) -/* 8033DC4C 0033ABAC 90 7C 00 0C */ stw r3, 0xc(r28) -/* 8033DC50 0033ABB0 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8033DC54 0033ABB4 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 8033DC58 0033ABB8 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 8033DC5C 0033ABBC 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 8033DC60 0033ABC0 83 81 00 30 */ lwz r28, 0x30(r1) -/* 8033DC64 0033ABC4 7C 08 03 A6 */ mtlr r0 -/* 8033DC68 0033ABC8 38 21 00 40 */ addi r1, r1, 0x40 -/* 8033DC6C 0033ABCC 4E 80 00 20 */ blr - -.global "position_iterator__Q24rstl66basic_string,Q24rstl17rmemory_allocator>CFi" -"position_iterator__Q24rstl66basic_string,Q24rstl17rmemory_allocator>CFi": -/* 8033DC70 0033ABD0 2C 05 FF FF */ cmpwi r5, -1 -/* 8033DC74 0033ABD4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8033DC78 0033ABD8 41 82 00 10 */ beq lbl_8033DC88 -/* 8033DC7C 0033ABDC 80 04 00 08 */ lwz r0, 8(r4) -/* 8033DC80 0033ABE0 7C 05 00 00 */ cmpw r5, r0 -/* 8033DC84 0033ABE4 41 80 00 14 */ blt lbl_8033DC98 -lbl_8033DC88: -/* 8033DC88 0033ABE8 80 04 00 08 */ lwz r0, 8(r4) -/* 8033DC8C 0033ABEC 90 83 00 00 */ stw r4, 0(r3) -/* 8033DC90 0033ABF0 90 03 00 04 */ stw r0, 4(r3) -/* 8033DC94 0033ABF4 48 00 00 18 */ b lbl_8033DCAC -lbl_8033DC98: -/* 8033DC98 0033ABF8 90 83 00 00 */ stw r4, 0(r3) -/* 8033DC9C 0033ABFC 38 00 00 00 */ li r0, 0 -/* 8033DCA0 0033AC00 90 81 00 08 */ stw r4, 8(r1) -/* 8033DCA4 0033AC04 90 01 00 0C */ stw r0, 0xc(r1) -/* 8033DCA8 0033AC08 90 A3 00 04 */ stw r5, 4(r3) -lbl_8033DCAC: -/* 8033DCAC 0033AC0C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8033DCB0 0033AC10 4E 80 00 20 */ blr - -.global "PutTo__Q24rstl66basic_string,Q24rstl17rmemory_allocator>CFR13COutputStream" -"PutTo__Q24rstl66basic_string,Q24rstl17rmemory_allocator>CFR13COutputStream": -/* 8033DCB4 0033AC14 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8033DCB8 0033AC18 7C 08 02 A6 */ mflr r0 -/* 8033DCBC 0033AC1C 90 01 00 24 */ stw r0, 0x24(r1) -/* 8033DCC0 0033AC20 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8033DCC4 0033AC24 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8033DCC8 0033AC28 3B C0 00 00 */ li r30, 0 -/* 8033DCCC 0033AC2C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8033DCD0 0033AC30 7C 9D 23 78 */ mr r29, r4 -/* 8033DCD4 0033AC34 93 81 00 10 */ stw r28, 0x10(r1) -/* 8033DCD8 0033AC38 7C 7C 1B 78 */ mr r28, r3 -/* 8033DCDC 0033AC3C 48 00 00 50 */ b lbl_8033DD2C -lbl_8033DCE0: -/* 8033DCE0 0033AC40 80 9C 00 00 */ lwz r4, 0(r28) -/* 8033DCE4 0033AC44 7F A3 EB 78 */ mr r3, r29 -/* 8033DCE8 0033AC48 7F E4 F0 AE */ lbzx r31, r4, r30 -/* 8033DCEC 0033AC4C 48 00 17 CD */ bl FlushShiftRegister__13COutputStreamFv -/* 8033DCF0 0033AC50 80 7D 00 04 */ lwz r3, 4(r29) -/* 8033DCF4 0033AC54 80 1D 00 08 */ lwz r0, 8(r29) -/* 8033DCF8 0033AC58 7C 03 00 40 */ cmplw r3, r0 -/* 8033DCFC 0033AC5C 41 80 00 0C */ blt lbl_8033DD08 -/* 8033DD00 0033AC60 7F A3 EB 78 */ mr r3, r29 -/* 8033DD04 0033AC64 48 00 18 21 */ bl DoFlush__13COutputStreamFv -lbl_8033DD08: -/* 8033DD08 0033AC68 80 7D 00 10 */ lwz r3, 0x10(r29) -/* 8033DD0C 0033AC6C 3B DE 00 01 */ addi r30, r30, 1 -/* 8033DD10 0033AC70 38 03 00 01 */ addi r0, r3, 1 -/* 8033DD14 0033AC74 90 1D 00 10 */ stw r0, 0x10(r29) -/* 8033DD18 0033AC78 80 7D 00 04 */ lwz r3, 4(r29) -/* 8033DD1C 0033AC7C 80 9D 00 0C */ lwz r4, 0xc(r29) -/* 8033DD20 0033AC80 38 03 00 01 */ addi r0, r3, 1 -/* 8033DD24 0033AC84 90 1D 00 04 */ stw r0, 4(r29) -/* 8033DD28 0033AC88 7F E4 19 AE */ stbx r31, r4, r3 -lbl_8033DD2C: -/* 8033DD2C 0033AC8C 80 7C 00 08 */ lwz r3, 8(r28) -/* 8033DD30 0033AC90 38 03 00 01 */ addi r0, r3, 1 -/* 8033DD34 0033AC94 7C 1E 00 00 */ cmpw r30, r0 -/* 8033DD38 0033AC98 41 80 FF A8 */ blt lbl_8033DCE0 -/* 8033DD3C 0033AC9C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8033DD40 0033ACA0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8033DD44 0033ACA4 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8033DD48 0033ACA8 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8033DD4C 0033ACAC 83 81 00 10 */ lwz r28, 0x10(r1) -/* 8033DD50 0033ACB0 7C 08 03 A6 */ mtlr r0 -/* 8033DD54 0033ACB4 38 21 00 20 */ addi r1, r1, 0x20 -/* 8033DD58 0033ACB8 4E 80 00 20 */ blr - -.global "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -"assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": -/* 8033DD5C 0033ACBC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8033DD60 0033ACC0 7C 08 02 A6 */ mflr r0 -/* 8033DD64 0033ACC4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8033DD68 0033ACC8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8033DD6C 0033ACCC 7C 9F 23 78 */ mr r31, r4 -/* 8033DD70 0033ACD0 93 C1 00 08 */ stw r30, 8(r1) -/* 8033DD74 0033ACD4 7C 7E 1B 78 */ mr r30, r3 -/* 8033DD78 0033ACD8 80 83 00 04 */ lwz r4, 4(r3) -/* 8033DD7C 0033ACDC 28 04 00 00 */ cmplwi r4, 0 -/* 8033DD80 0033ACE0 41 82 00 14 */ beq lbl_8033DD94 -/* 8033DD84 0033ACE4 80 1F 00 04 */ lwz r0, 4(r31) -/* 8033DD88 0033ACE8 7C 04 00 40 */ cmplw r4, r0 -/* 8033DD8C 0033ACEC 40 82 00 08 */ bne lbl_8033DD94 -/* 8033DD90 0033ACF0 48 00 00 40 */ b lbl_8033DDD0 -lbl_8033DD94: -/* 8033DD94 0033ACF4 7F C3 F3 78 */ mr r3, r30 -/* 8033DD98 0033ACF8 4B FF FD 49 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8033DD9C 0033ACFC 80 1F 00 04 */ lwz r0, 4(r31) -/* 8033DDA0 0033AD00 90 1E 00 04 */ stw r0, 4(r30) -/* 8033DDA4 0033AD04 80 1F 00 00 */ lwz r0, 0(r31) -/* 8033DDA8 0033AD08 90 1E 00 00 */ stw r0, 0(r30) -/* 8033DDAC 0033AD0C 80 1F 00 08 */ lwz r0, 8(r31) -/* 8033DDB0 0033AD10 90 1E 00 08 */ stw r0, 8(r30) -/* 8033DDB4 0033AD14 80 9E 00 04 */ lwz r4, 4(r30) -/* 8033DDB8 0033AD18 28 04 00 00 */ cmplwi r4, 0 -/* 8033DDBC 0033AD1C 41 82 00 10 */ beq lbl_8033DDCC -/* 8033DDC0 0033AD20 80 64 00 04 */ lwz r3, 4(r4) -/* 8033DDC4 0033AD24 38 03 00 01 */ addi r0, r3, 1 -/* 8033DDC8 0033AD28 90 04 00 04 */ stw r0, 4(r4) -lbl_8033DDCC: -/* 8033DDCC 0033AD2C 7F C3 F3 78 */ mr r3, r30 -lbl_8033DDD0: -/* 8033DDD0 0033AD30 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8033DDD4 0033AD34 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8033DDD8 0033AD38 83 C1 00 08 */ lwz r30, 8(r1) -/* 8033DDDC 0033AD3C 7C 08 03 A6 */ mtlr r0 -/* 8033DDE0 0033AD40 38 21 00 10 */ addi r1, r1, 0x10 -/* 8033DDE4 0033AD44 4E 80 00 20 */ blr - -.global "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fic" -"append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fic": -/* 8033DDE8 0033AD48 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8033DDEC 0033AD4C 7C 08 02 A6 */ mflr r0 -/* 8033DDF0 0033AD50 90 01 00 24 */ stw r0, 0x24(r1) -/* 8033DDF4 0033AD54 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8033DDF8 0033AD58 7C 7F 1B 78 */ mr r31, r3 -/* 8033DDFC 0033AD5C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8033DE00 0033AD60 7C BE 2B 78 */ mr r30, r5 -/* 8033DE04 0033AD64 38 A0 00 01 */ li r5, 1 -/* 8033DE08 0033AD68 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8033DE0C 0033AD6C 7C 9D 23 78 */ mr r29, r4 -/* 8033DE10 0033AD70 80 03 00 08 */ lwz r0, 8(r3) -/* 8033DE14 0033AD74 7C 80 EA 14 */ add r4, r0, r29 -/* 8033DE18 0033AD78 4B FF FB 19 */ bl "internal_prepare_to_write__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fib" -/* 8033DE1C 0033AD7C 2C 1D 00 00 */ cmpwi r29, 0 -/* 8033DE20 0033AD80 80 7F 00 00 */ lwz r3, 0(r31) -/* 8033DE24 0033AD84 80 1F 00 08 */ lwz r0, 8(r31) -/* 8033DE28 0033AD88 38 80 00 00 */ li r4, 0 -/* 8033DE2C 0033AD8C 7C 63 02 14 */ add r3, r3, r0 -/* 8033DE30 0033AD90 40 81 00 78 */ ble lbl_8033DEA8 -/* 8033DE34 0033AD94 2C 1D 00 08 */ cmpwi r29, 8 -/* 8033DE38 0033AD98 38 BD FF F8 */ addi r5, r29, -8 -/* 8033DE3C 0033AD9C 40 81 00 48 */ ble lbl_8033DE84 -/* 8033DE40 0033ADA0 38 05 00 07 */ addi r0, r5, 7 -/* 8033DE44 0033ADA4 7F C6 07 74 */ extsb r6, r30 -/* 8033DE48 0033ADA8 54 00 E8 FE */ srwi r0, r0, 3 -/* 8033DE4C 0033ADAC 7C 09 03 A6 */ mtctr r0 -/* 8033DE50 0033ADB0 2C 05 00 00 */ cmpwi r5, 0 -/* 8033DE54 0033ADB4 40 81 00 30 */ ble lbl_8033DE84 -lbl_8033DE58: -/* 8033DE58 0033ADB8 7C A3 22 14 */ add r5, r3, r4 -/* 8033DE5C 0033ADBC 38 84 00 08 */ addi r4, r4, 8 -/* 8033DE60 0033ADC0 98 C5 00 00 */ stb r6, 0(r5) -/* 8033DE64 0033ADC4 98 C5 00 01 */ stb r6, 1(r5) -/* 8033DE68 0033ADC8 98 C5 00 02 */ stb r6, 2(r5) -/* 8033DE6C 0033ADCC 98 C5 00 03 */ stb r6, 3(r5) -/* 8033DE70 0033ADD0 98 C5 00 04 */ stb r6, 4(r5) -/* 8033DE74 0033ADD4 98 C5 00 05 */ stb r6, 5(r5) -/* 8033DE78 0033ADD8 98 C5 00 06 */ stb r6, 6(r5) -/* 8033DE7C 0033ADDC 98 C5 00 07 */ stb r6, 7(r5) -/* 8033DE80 0033ADE0 42 00 FF D8 */ bdnz lbl_8033DE58 -lbl_8033DE84: -/* 8033DE84 0033ADE4 7C 04 E8 50 */ subf r0, r4, r29 -/* 8033DE88 0033ADE8 7F C5 07 74 */ extsb r5, r30 -/* 8033DE8C 0033ADEC 7C 63 22 14 */ add r3, r3, r4 -/* 8033DE90 0033ADF0 7C 09 03 A6 */ mtctr r0 -/* 8033DE94 0033ADF4 7C 04 E8 00 */ cmpw r4, r29 -/* 8033DE98 0033ADF8 40 80 00 10 */ bge lbl_8033DEA8 -lbl_8033DE9C: -/* 8033DE9C 0033ADFC 98 A3 00 00 */ stb r5, 0(r3) -/* 8033DEA0 0033AE00 38 63 00 01 */ addi r3, r3, 1 -/* 8033DEA4 0033AE04 42 00 FF F8 */ bdnz lbl_8033DE9C -lbl_8033DEA8: -/* 8033DEA8 0033AE08 80 1F 00 08 */ lwz r0, 8(r31) -/* 8033DEAC 0033AE0C 38 A0 00 00 */ li r5, 0 -/* 8033DEB0 0033AE10 7F E3 FB 78 */ mr r3, r31 -/* 8033DEB4 0033AE14 7C 00 EA 14 */ add r0, r0, r29 -/* 8033DEB8 0033AE18 90 1F 00 08 */ stw r0, 8(r31) -/* 8033DEBC 0033AE1C 80 9F 00 00 */ lwz r4, 0(r31) -/* 8033DEC0 0033AE20 80 1F 00 08 */ lwz r0, 8(r31) -/* 8033DEC4 0033AE24 7C A4 01 AE */ stbx r5, r4, r0 -/* 8033DEC8 0033AE28 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8033DECC 0033AE2C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8033DED0 0033AE30 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8033DED4 0033AE34 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8033DED8 0033AE38 7C 08 03 A6 */ mtlr r0 -/* 8033DEDC 0033AE3C 38 21 00 20 */ addi r1, r1, 0x20 -/* 8033DEE0 0033AE40 4E 80 00 20 */ blr - -.global "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCci" -"append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCci": -/* 8033DEE4 0033AE44 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8033DEE8 0033AE48 7C 08 02 A6 */ mflr r0 -/* 8033DEEC 0033AE4C 90 01 00 24 */ stw r0, 0x24(r1) -/* 8033DEF0 0033AE50 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8033DEF4 0033AE54 3B E0 00 00 */ li r31, 0 -/* 8033DEF8 0033AE58 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8033DEFC 0033AE5C 7C 9E 23 78 */ mr r30, r4 -/* 8033DF00 0033AE60 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8033DF04 0033AE64 7C 7D 1B 78 */ mr r29, r3 -/* 8033DF08 0033AE68 7F C3 F3 78 */ mr r3, r30 -/* 8033DF0C 0033AE6C 48 00 00 0C */ b lbl_8033DF18 -lbl_8033DF10: -/* 8033DF10 0033AE70 38 63 00 01 */ addi r3, r3, 1 -/* 8033DF14 0033AE74 3B FF 00 01 */ addi r31, r31, 1 -lbl_8033DF18: -/* 8033DF18 0033AE78 2C 05 FF FF */ cmpwi r5, -1 -/* 8033DF1C 0033AE7C 41 82 00 0C */ beq lbl_8033DF28 -/* 8033DF20 0033AE80 7C 1F 28 00 */ cmpw r31, r5 -/* 8033DF24 0033AE84 40 80 00 10 */ bge lbl_8033DF34 -lbl_8033DF28: -/* 8033DF28 0033AE88 88 03 00 00 */ lbz r0, 0(r3) -/* 8033DF2C 0033AE8C 7C 00 07 75 */ extsb. r0, r0 -/* 8033DF30 0033AE90 40 82 FF E0 */ bne lbl_8033DF10 -lbl_8033DF34: -/* 8033DF34 0033AE94 80 1D 00 08 */ lwz r0, 8(r29) -/* 8033DF38 0033AE98 7F A3 EB 78 */ mr r3, r29 -/* 8033DF3C 0033AE9C 38 A0 00 01 */ li r5, 1 -/* 8033DF40 0033AEA0 7C 80 FA 14 */ add r4, r0, r31 -/* 8033DF44 0033AEA4 4B FF F9 ED */ bl "internal_prepare_to_write__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fib" -/* 8033DF48 0033AEA8 2C 1F 00 00 */ cmpwi r31, 0 -/* 8033DF4C 0033AEAC 80 7D 00 00 */ lwz r3, 0(r29) -/* 8033DF50 0033AEB0 80 1D 00 08 */ lwz r0, 8(r29) -/* 8033DF54 0033AEB4 38 A0 00 00 */ li r5, 0 -/* 8033DF58 0033AEB8 7C 63 02 14 */ add r3, r3, r0 -/* 8033DF5C 0033AEBC 40 81 00 A0 */ ble lbl_8033DFFC -/* 8033DF60 0033AEC0 2C 1F 00 08 */ cmpwi r31, 8 -/* 8033DF64 0033AEC4 38 9F FF F8 */ addi r4, r31, -8 -/* 8033DF68 0033AEC8 40 81 00 68 */ ble lbl_8033DFD0 -/* 8033DF6C 0033AECC 38 04 00 07 */ addi r0, r4, 7 -/* 8033DF70 0033AED0 54 00 E8 FE */ srwi r0, r0, 3 -/* 8033DF74 0033AED4 7C 09 03 A6 */ mtctr r0 -/* 8033DF78 0033AED8 2C 04 00 00 */ cmpwi r4, 0 -/* 8033DF7C 0033AEDC 40 81 00 54 */ ble lbl_8033DFD0 -lbl_8033DF80: -/* 8033DF80 0033AEE0 7C 9E 2A 14 */ add r4, r30, r5 -/* 8033DF84 0033AEE4 7C C3 2A 14 */ add r6, r3, r5 -/* 8033DF88 0033AEE8 88 04 00 00 */ lbz r0, 0(r4) -/* 8033DF8C 0033AEEC 38 A5 00 08 */ addi r5, r5, 8 -/* 8033DF90 0033AEF0 98 06 00 00 */ stb r0, 0(r6) -/* 8033DF94 0033AEF4 88 04 00 01 */ lbz r0, 1(r4) -/* 8033DF98 0033AEF8 98 06 00 01 */ stb r0, 1(r6) -/* 8033DF9C 0033AEFC 88 04 00 02 */ lbz r0, 2(r4) -/* 8033DFA0 0033AF00 98 06 00 02 */ stb r0, 2(r6) -/* 8033DFA4 0033AF04 88 04 00 03 */ lbz r0, 3(r4) -/* 8033DFA8 0033AF08 98 06 00 03 */ stb r0, 3(r6) -/* 8033DFAC 0033AF0C 88 04 00 04 */ lbz r0, 4(r4) -/* 8033DFB0 0033AF10 98 06 00 04 */ stb r0, 4(r6) -/* 8033DFB4 0033AF14 88 04 00 05 */ lbz r0, 5(r4) -/* 8033DFB8 0033AF18 98 06 00 05 */ stb r0, 5(r6) -/* 8033DFBC 0033AF1C 88 04 00 06 */ lbz r0, 6(r4) -/* 8033DFC0 0033AF20 98 06 00 06 */ stb r0, 6(r6) -/* 8033DFC4 0033AF24 88 04 00 07 */ lbz r0, 7(r4) -/* 8033DFC8 0033AF28 98 06 00 07 */ stb r0, 7(r6) -/* 8033DFCC 0033AF2C 42 00 FF B4 */ bdnz lbl_8033DF80 -lbl_8033DFD0: -/* 8033DFD0 0033AF30 7C 05 F8 50 */ subf r0, r5, r31 -/* 8033DFD4 0033AF34 7C 9E 2A 14 */ add r4, r30, r5 -/* 8033DFD8 0033AF38 7C 63 2A 14 */ add r3, r3, r5 -/* 8033DFDC 0033AF3C 7C 09 03 A6 */ mtctr r0 -/* 8033DFE0 0033AF40 7C 05 F8 00 */ cmpw r5, r31 -/* 8033DFE4 0033AF44 40 80 00 18 */ bge lbl_8033DFFC -lbl_8033DFE8: -/* 8033DFE8 0033AF48 88 04 00 00 */ lbz r0, 0(r4) -/* 8033DFEC 0033AF4C 38 84 00 01 */ addi r4, r4, 1 -/* 8033DFF0 0033AF50 98 03 00 00 */ stb r0, 0(r3) -/* 8033DFF4 0033AF54 38 63 00 01 */ addi r3, r3, 1 -/* 8033DFF8 0033AF58 42 00 FF F0 */ bdnz lbl_8033DFE8 -lbl_8033DFFC: -/* 8033DFFC 0033AF5C 80 1D 00 08 */ lwz r0, 8(r29) -/* 8033E000 0033AF60 38 A0 00 00 */ li r5, 0 -/* 8033E004 0033AF64 7F A3 EB 78 */ mr r3, r29 -/* 8033E008 0033AF68 7C 00 FA 14 */ add r0, r0, r31 -/* 8033E00C 0033AF6C 90 1D 00 08 */ stw r0, 8(r29) -/* 8033E010 0033AF70 80 9D 00 00 */ lwz r4, 0(r29) -/* 8033E014 0033AF74 80 1D 00 08 */ lwz r0, 8(r29) -/* 8033E018 0033AF78 7C A4 01 AE */ stbx r5, r4, r0 -/* 8033E01C 0033AF7C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8033E020 0033AF80 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8033E024 0033AF84 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8033E028 0033AF88 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8033E02C 0033AF8C 7C 08 03 A6 */ mtlr r0 -/* 8033E030 0033AF90 38 21 00 20 */ addi r1, r1, 0x20 -/* 8033E034 0033AF94 4E 80 00 20 */ blr - -.global "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -"append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": -/* 8033E038 0033AF98 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8033E03C 0033AF9C 7C 08 02 A6 */ mflr r0 -/* 8033E040 0033AFA0 38 A0 00 01 */ li r5, 1 -/* 8033E044 0033AFA4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8033E048 0033AFA8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8033E04C 0033AFAC 7C 9F 23 78 */ mr r31, r4 -/* 8033E050 0033AFB0 93 C1 00 08 */ stw r30, 8(r1) -/* 8033E054 0033AFB4 7C 7E 1B 78 */ mr r30, r3 -/* 8033E058 0033AFB8 80 83 00 08 */ lwz r4, 8(r3) -/* 8033E05C 0033AFBC 80 1F 00 08 */ lwz r0, 8(r31) -/* 8033E060 0033AFC0 7C 84 02 14 */ add r4, r4, r0 -/* 8033E064 0033AFC4 4B FF F8 CD */ bl "internal_prepare_to_write__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fib" -/* 8033E068 0033AFC8 80 DF 00 08 */ lwz r6, 8(r31) -/* 8033E06C 0033AFCC 38 A0 00 00 */ li r5, 0 -/* 8033E070 0033AFD0 80 7E 00 00 */ lwz r3, 0(r30) -/* 8033E074 0033AFD4 80 1E 00 08 */ lwz r0, 8(r30) -/* 8033E078 0033AFD8 2C 06 00 00 */ cmpwi r6, 0 -/* 8033E07C 0033AFDC 80 9F 00 00 */ lwz r4, 0(r31) -/* 8033E080 0033AFE0 7C 63 02 14 */ add r3, r3, r0 -/* 8033E084 0033AFE4 40 81 00 A0 */ ble lbl_8033E124 -/* 8033E088 0033AFE8 2C 06 00 08 */ cmpwi r6, 8 -/* 8033E08C 0033AFEC 38 E6 FF F8 */ addi r7, r6, -8 -/* 8033E090 0033AFF0 40 81 00 68 */ ble lbl_8033E0F8 -/* 8033E094 0033AFF4 38 07 00 07 */ addi r0, r7, 7 -/* 8033E098 0033AFF8 54 00 E8 FE */ srwi r0, r0, 3 -/* 8033E09C 0033AFFC 7C 09 03 A6 */ mtctr r0 -/* 8033E0A0 0033B000 2C 07 00 00 */ cmpwi r7, 0 -/* 8033E0A4 0033B004 40 81 00 54 */ ble lbl_8033E0F8 -lbl_8033E0A8: -/* 8033E0A8 0033B008 7C E4 2A 14 */ add r7, r4, r5 -/* 8033E0AC 0033B00C 7D 03 2A 14 */ add r8, r3, r5 -/* 8033E0B0 0033B010 88 07 00 00 */ lbz r0, 0(r7) -/* 8033E0B4 0033B014 38 A5 00 08 */ addi r5, r5, 8 -/* 8033E0B8 0033B018 98 08 00 00 */ stb r0, 0(r8) -/* 8033E0BC 0033B01C 88 07 00 01 */ lbz r0, 1(r7) -/* 8033E0C0 0033B020 98 08 00 01 */ stb r0, 1(r8) -/* 8033E0C4 0033B024 88 07 00 02 */ lbz r0, 2(r7) -/* 8033E0C8 0033B028 98 08 00 02 */ stb r0, 2(r8) -/* 8033E0CC 0033B02C 88 07 00 03 */ lbz r0, 3(r7) -/* 8033E0D0 0033B030 98 08 00 03 */ stb r0, 3(r8) -/* 8033E0D4 0033B034 88 07 00 04 */ lbz r0, 4(r7) -/* 8033E0D8 0033B038 98 08 00 04 */ stb r0, 4(r8) -/* 8033E0DC 0033B03C 88 07 00 05 */ lbz r0, 5(r7) -/* 8033E0E0 0033B040 98 08 00 05 */ stb r0, 5(r8) -/* 8033E0E4 0033B044 88 07 00 06 */ lbz r0, 6(r7) -/* 8033E0E8 0033B048 98 08 00 06 */ stb r0, 6(r8) -/* 8033E0EC 0033B04C 88 07 00 07 */ lbz r0, 7(r7) -/* 8033E0F0 0033B050 98 08 00 07 */ stb r0, 7(r8) -/* 8033E0F4 0033B054 42 00 FF B4 */ bdnz lbl_8033E0A8 -lbl_8033E0F8: -/* 8033E0F8 0033B058 7C 05 30 50 */ subf r0, r5, r6 -/* 8033E0FC 0033B05C 7C 84 2A 14 */ add r4, r4, r5 -/* 8033E100 0033B060 7C 63 2A 14 */ add r3, r3, r5 -/* 8033E104 0033B064 7C 09 03 A6 */ mtctr r0 -/* 8033E108 0033B068 7C 05 30 00 */ cmpw r5, r6 -/* 8033E10C 0033B06C 40 80 00 18 */ bge lbl_8033E124 -lbl_8033E110: -/* 8033E110 0033B070 88 04 00 00 */ lbz r0, 0(r4) -/* 8033E114 0033B074 38 84 00 01 */ addi r4, r4, 1 -/* 8033E118 0033B078 98 03 00 00 */ stb r0, 0(r3) -/* 8033E11C 0033B07C 38 63 00 01 */ addi r3, r3, 1 -/* 8033E120 0033B080 42 00 FF F0 */ bdnz lbl_8033E110 -lbl_8033E124: -/* 8033E124 0033B084 80 9E 00 08 */ lwz r4, 8(r30) -/* 8033E128 0033B088 38 A0 00 00 */ li r5, 0 -/* 8033E12C 0033B08C 80 1F 00 08 */ lwz r0, 8(r31) -/* 8033E130 0033B090 7F C3 F3 78 */ mr r3, r30 -/* 8033E134 0033B094 7C 04 02 14 */ add r0, r4, r0 -/* 8033E138 0033B098 90 1E 00 08 */ stw r0, 8(r30) -/* 8033E13C 0033B09C 80 9E 00 00 */ lwz r4, 0(r30) -/* 8033E140 0033B0A0 80 1E 00 08 */ lwz r0, 8(r30) -/* 8033E144 0033B0A4 7C A4 01 AE */ stbx r5, r4, r0 -/* 8033E148 0033B0A8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8033E14C 0033B0AC 83 C1 00 08 */ lwz r30, 8(r1) -/* 8033E150 0033B0B0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8033E154 0033B0B4 7C 08 03 A6 */ mtlr r0 -/* 8033E158 0033B0B8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8033E15C 0033B0BC 4E 80 00 20 */ blr - -.global "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -"__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": -/* 8033E160 0033B0C0 80 04 00 00 */ lwz r0, 0(r4) -/* 8033E164 0033B0C4 90 03 00 00 */ stw r0, 0(r3) -/* 8033E168 0033B0C8 80 04 00 04 */ lwz r0, 4(r4) -/* 8033E16C 0033B0CC 90 03 00 04 */ stw r0, 4(r3) -/* 8033E170 0033B0D0 80 04 00 08 */ lwz r0, 8(r4) -/* 8033E174 0033B0D4 90 03 00 08 */ stw r0, 8(r3) -/* 8033E178 0033B0D8 80 A3 00 04 */ lwz r5, 4(r3) -/* 8033E17C 0033B0DC 28 05 00 00 */ cmplwi r5, 0 -/* 8033E180 0033B0E0 4D 82 00 20 */ beqlr -/* 8033E184 0033B0E4 80 85 00 04 */ lwz r4, 4(r5) -/* 8033E188 0033B0E8 38 04 00 01 */ addi r0, r4, 1 -/* 8033E18C 0033B0EC 90 05 00 04 */ stw r0, 4(r5) -/* 8033E190 0033B0F0 4E 80 00 20 */ blr - -.global "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" -"__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator": -/* 8033E194 0033B0F4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8033E198 0033B0F8 7C 08 02 A6 */ mflr r0 -/* 8033E19C 0033B0FC 2C 05 00 00 */ cmpwi r5, 0 -/* 8033E1A0 0033B100 90 01 00 24 */ stw r0, 0x24(r1) -/* 8033E1A4 0033B104 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8033E1A8 0033B108 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8033E1AC 0033B10C 7C 9E 23 78 */ mr r30, r4 -/* 8033E1B0 0033B110 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8033E1B4 0033B114 7C 7D 1B 78 */ mr r29, r3 -/* 8033E1B8 0033B118 41 81 00 28 */ bgt lbl_8033E1E0 -/* 8033E1BC 0033B11C 88 1E 00 00 */ lbz r0, 0(r30) -/* 8033E1C0 0033B120 7C 00 07 75 */ extsb. r0, r0 -/* 8033E1C4 0033B124 40 82 00 1C */ bne lbl_8033E1E0 -/* 8033E1C8 0033B128 38 8D A9 18 */ addi r4, r13, "_EmptyString__Q24rstl66basic_string,Q24rstl17rmemory_allocator>"@sda21 -/* 8033E1CC 0033B12C 38 00 00 00 */ li r0, 0 -/* 8033E1D0 0033B130 90 9D 00 00 */ stw r4, 0(r29) -/* 8033E1D4 0033B134 90 1D 00 08 */ stw r0, 8(r29) -/* 8033E1D8 0033B138 90 1D 00 04 */ stw r0, 4(r29) -/* 8033E1DC 0033B13C 48 00 01 00 */ b lbl_8033E2DC -lbl_8033E1E0: -/* 8033E1E0 0033B140 7F C3 F3 78 */ mr r3, r30 -/* 8033E1E4 0033B144 3B E0 00 00 */ li r31, 0 -/* 8033E1E8 0033B148 48 00 00 0C */ b lbl_8033E1F4 -lbl_8033E1EC: -/* 8033E1EC 0033B14C 38 63 00 01 */ addi r3, r3, 1 -/* 8033E1F0 0033B150 3B FF 00 01 */ addi r31, r31, 1 -lbl_8033E1F4: -/* 8033E1F4 0033B154 2C 05 FF FF */ cmpwi r5, -1 -/* 8033E1F8 0033B158 41 82 00 0C */ beq lbl_8033E204 -/* 8033E1FC 0033B15C 7C 1F 28 00 */ cmpw r31, r5 -/* 8033E200 0033B160 40 80 00 10 */ bge lbl_8033E210 -lbl_8033E204: -/* 8033E204 0033B164 88 03 00 00 */ lbz r0, 0(r3) -/* 8033E208 0033B168 7C 00 07 75 */ extsb. r0, r0 -/* 8033E20C 0033B16C 40 82 FF E0 */ bne lbl_8033E1EC -lbl_8033E210: -/* 8033E210 0033B170 7F A3 EB 78 */ mr r3, r29 -/* 8033E214 0033B174 38 9F 00 01 */ addi r4, r31, 1 -/* 8033E218 0033B178 4B FF F9 11 */ bl "internal_allocate__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fi" -/* 8033E21C 0033B17C 93 FD 00 08 */ stw r31, 8(r29) -/* 8033E220 0033B180 2C 1F 00 00 */ cmpwi r31, 0 -/* 8033E224 0033B184 38 A0 00 00 */ li r5, 0 -/* 8033E228 0033B188 80 7D 00 00 */ lwz r3, 0(r29) -/* 8033E22C 0033B18C 40 81 00 A0 */ ble lbl_8033E2CC -/* 8033E230 0033B190 2C 1F 00 08 */ cmpwi r31, 8 -/* 8033E234 0033B194 38 9F FF F8 */ addi r4, r31, -8 -/* 8033E238 0033B198 40 81 00 68 */ ble lbl_8033E2A0 -/* 8033E23C 0033B19C 38 04 00 07 */ addi r0, r4, 7 -/* 8033E240 0033B1A0 54 00 E8 FE */ srwi r0, r0, 3 -/* 8033E244 0033B1A4 7C 09 03 A6 */ mtctr r0 -/* 8033E248 0033B1A8 2C 04 00 00 */ cmpwi r4, 0 -/* 8033E24C 0033B1AC 40 81 00 54 */ ble lbl_8033E2A0 -lbl_8033E250: -/* 8033E250 0033B1B0 7C 9E 2A 14 */ add r4, r30, r5 -/* 8033E254 0033B1B4 7C C3 2A 14 */ add r6, r3, r5 -/* 8033E258 0033B1B8 88 04 00 00 */ lbz r0, 0(r4) -/* 8033E25C 0033B1BC 38 A5 00 08 */ addi r5, r5, 8 -/* 8033E260 0033B1C0 98 06 00 00 */ stb r0, 0(r6) -/* 8033E264 0033B1C4 88 04 00 01 */ lbz r0, 1(r4) -/* 8033E268 0033B1C8 98 06 00 01 */ stb r0, 1(r6) -/* 8033E26C 0033B1CC 88 04 00 02 */ lbz r0, 2(r4) -/* 8033E270 0033B1D0 98 06 00 02 */ stb r0, 2(r6) -/* 8033E274 0033B1D4 88 04 00 03 */ lbz r0, 3(r4) -/* 8033E278 0033B1D8 98 06 00 03 */ stb r0, 3(r6) -/* 8033E27C 0033B1DC 88 04 00 04 */ lbz r0, 4(r4) -/* 8033E280 0033B1E0 98 06 00 04 */ stb r0, 4(r6) -/* 8033E284 0033B1E4 88 04 00 05 */ lbz r0, 5(r4) -/* 8033E288 0033B1E8 98 06 00 05 */ stb r0, 5(r6) -/* 8033E28C 0033B1EC 88 04 00 06 */ lbz r0, 6(r4) -/* 8033E290 0033B1F0 98 06 00 06 */ stb r0, 6(r6) -/* 8033E294 0033B1F4 88 04 00 07 */ lbz r0, 7(r4) -/* 8033E298 0033B1F8 98 06 00 07 */ stb r0, 7(r6) -/* 8033E29C 0033B1FC 42 00 FF B4 */ bdnz lbl_8033E250 -lbl_8033E2A0: -/* 8033E2A0 0033B200 7C 05 F8 50 */ subf r0, r5, r31 -/* 8033E2A4 0033B204 7C 9E 2A 14 */ add r4, r30, r5 -/* 8033E2A8 0033B208 7C 63 2A 14 */ add r3, r3, r5 -/* 8033E2AC 0033B20C 7C 09 03 A6 */ mtctr r0 -/* 8033E2B0 0033B210 7C 05 F8 00 */ cmpw r5, r31 -/* 8033E2B4 0033B214 40 80 00 18 */ bge lbl_8033E2CC -lbl_8033E2B8: -/* 8033E2B8 0033B218 88 04 00 00 */ lbz r0, 0(r4) -/* 8033E2BC 0033B21C 38 84 00 01 */ addi r4, r4, 1 -/* 8033E2C0 0033B220 98 03 00 00 */ stb r0, 0(r3) -/* 8033E2C4 0033B224 38 63 00 01 */ addi r3, r3, 1 -/* 8033E2C8 0033B228 42 00 FF F0 */ bdnz lbl_8033E2B8 -lbl_8033E2CC: -/* 8033E2CC 0033B22C 80 9D 00 00 */ lwz r4, 0(r29) -/* 8033E2D0 0033B230 38 00 00 00 */ li r0, 0 -/* 8033E2D4 0033B234 7F A3 EB 78 */ mr r3, r29 -/* 8033E2D8 0033B238 7C 04 F9 AE */ stbx r0, r4, r31 -lbl_8033E2DC: -/* 8033E2DC 0033B23C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8033E2E0 0033B240 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8033E2E4 0033B244 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8033E2E8 0033B248 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8033E2EC 0033B24C 7C 08 03 A6 */ mtlr r0 -/* 8033E2F0 0033B250 38 21 00 20 */ addi r1, r1, 0x20 -/* 8033E2F4 0033B254 4E 80 00 20 */ blr - -.global "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" -"__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator": -/* 8033E2F8 0033B258 94 21 FB D0 */ stwu r1, -0x430(r1) -/* 8033E2FC 0033B25C 7C 08 02 A6 */ mflr r0 -/* 8033E300 0033B260 90 01 04 34 */ stw r0, 0x434(r1) -/* 8033E304 0033B264 38 0D A9 18 */ addi r0, r13, "_EmptyString__Q24rstl66basic_string,Q24rstl17rmemory_allocator>"@sda21 -/* 8033E308 0033B268 BF 61 04 1C */ stmw r27, 0x41c(r1) -/* 8033E30C 0033B26C 7C 7B 1B 78 */ mr r27, r3 -/* 8033E310 0033B270 7C 9C 23 78 */ mr r28, r4 -/* 8033E314 0033B274 3B A0 00 00 */ li r29, 0 -/* 8033E318 0033B278 90 03 00 00 */ stw r0, 0(r3) -/* 8033E31C 0033B27C 38 00 00 00 */ li r0, 0 -/* 8033E320 0033B280 90 03 00 04 */ stw r0, 4(r3) -/* 8033E324 0033B284 7F 83 E3 78 */ mr r3, r28 -/* 8033E328 0033B288 90 1B 00 08 */ stw r0, 8(r27) -/* 8033E32C 0033B28C 48 00 09 E1 */ bl ReadChar__12CInputStreamFv -/* 8033E330 0033B290 7C 60 07 74 */ extsb r0, r3 -/* 8033E334 0033B294 3B C1 00 08 */ addi r30, r1, 8 -/* 8033E338 0033B298 7C 03 03 78 */ mr r3, r0 -/* 8033E33C 0033B29C 3B E0 00 00 */ li r31, 0 -/* 8033E340 0033B2A0 48 00 00 3C */ b lbl_8033E37C -lbl_8033E344: -/* 8033E344 0033B2A4 7C 7E E9 AE */ stbx r3, r30, r29 -/* 8033E348 0033B2A8 3B BD 00 01 */ addi r29, r29, 1 -/* 8033E34C 0033B2AC 2C 1D 04 00 */ cmpwi r29, 0x400 -/* 8033E350 0033B2B0 40 82 00 1C */ bne lbl_8033E36C -/* 8033E354 0033B2B4 9B E1 04 08 */ stb r31, 0x408(r1) -/* 8033E358 0033B2B8 7F 63 DB 78 */ mr r3, r27 -/* 8033E35C 0033B2BC 7F C4 F3 78 */ mr r4, r30 -/* 8033E360 0033B2C0 38 A0 FF FF */ li r5, -1 -/* 8033E364 0033B2C4 4B FF FB 81 */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCci" -/* 8033E368 0033B2C8 3B A0 00 00 */ li r29, 0 -lbl_8033E36C: -/* 8033E36C 0033B2CC 7F 83 E3 78 */ mr r3, r28 -/* 8033E370 0033B2D0 48 00 09 9D */ bl ReadChar__12CInputStreamFv -/* 8033E374 0033B2D4 7C 60 07 74 */ extsb r0, r3 -/* 8033E378 0033B2D8 7C 03 03 78 */ mr r3, r0 -lbl_8033E37C: -/* 8033E37C 0033B2DC 7C 60 07 75 */ extsb. r0, r3 -/* 8033E380 0033B2E0 40 82 FF C4 */ bne lbl_8033E344 -/* 8033E384 0033B2E4 2C 1D 00 00 */ cmpwi r29, 0 -/* 8033E388 0033B2E8 41 82 00 1C */ beq lbl_8033E3A4 -/* 8033E38C 0033B2EC 38 81 00 08 */ addi r4, r1, 8 -/* 8033E390 0033B2F0 38 00 00 00 */ li r0, 0 -/* 8033E394 0033B2F4 7C 04 E9 AE */ stbx r0, r4, r29 -/* 8033E398 0033B2F8 7F 63 DB 78 */ mr r3, r27 -/* 8033E39C 0033B2FC 38 A0 FF FF */ li r5, -1 -/* 8033E3A0 0033B300 4B FF FB 45 */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCci" -lbl_8033E3A4: -/* 8033E3A4 0033B304 7F 63 DB 78 */ mr r3, r27 -/* 8033E3A8 0033B308 BB 61 04 1C */ lmw r27, 0x41c(r1) -/* 8033E3AC 0033B30C 80 01 04 34 */ lwz r0, 0x434(r1) -/* 8033E3B0 0033B310 7C 08 03 A6 */ mtlr r0 -/* 8033E3B4 0033B314 38 21 04 30 */ addi r1, r1, 0x430 -/* 8033E3B8 0033B318 4E 80 00 20 */ blr - -.global __sinit_rstl_strings_cpp -__sinit_rstl_strings_cpp: -/* 8033E3BC 0033B31C 88 0D A9 20 */ lbz r0, lbl_805A94E0@sda21(r13) -/* 8033E3C0 0033B320 7C 00 07 75 */ extsb. r0, r0 -/* 8033E3C4 0033B324 40 82 00 14 */ bne lbl_8033E3D8 -/* 8033E3C8 0033B328 38 60 00 00 */ li r3, 0 -/* 8033E3CC 0033B32C 38 00 00 01 */ li r0, 1 -/* 8033E3D0 0033B330 98 6D A9 18 */ stb r3, "_EmptyString__Q24rstl66basic_string,Q24rstl17rmemory_allocator>"@sda21(r13) -/* 8033E3D4 0033B334 98 0D A9 20 */ stb r0, lbl_805A94E0@sda21(r13) -lbl_8033E3D8: -/* 8033E3D8 0033B338 88 0D A9 21 */ lbz r0, lbl_805A94E1@sda21(r13) -/* 8033E3DC 0033B33C 7C 00 07 75 */ extsb. r0, r0 -/* 8033E3E0 0033B340 40 82 00 14 */ bne lbl_8033E3F4 -/* 8033E3E4 0033B344 38 60 00 00 */ li r3, 0 -/* 8033E3E8 0033B348 38 00 00 01 */ li r0, 1 -/* 8033E3EC 0033B34C B0 6D A9 1A */ sth r3, lbl_805A94DA@sda21(r13) -/* 8033E3F0 0033B350 98 0D A9 21 */ stb r0, lbl_805A94E1@sda21(r13) -lbl_8033E3F4: -/* 8033E3F4 0033B354 88 0D A9 22 */ lbz r0, lbl_805A94E2@sda21(r13) -/* 8033E3F8 0033B358 7C 00 07 75 */ extsb. r0, r0 -/* 8033E3FC 0033B35C 40 82 00 14 */ bne lbl_8033E410 -/* 8033E400 0033B360 38 60 00 00 */ li r3, 0 -/* 8033E404 0033B364 38 00 00 01 */ li r0, 1 -/* 8033E408 0033B368 98 6D A9 1C */ stb r3, lbl_805A94DC@sda21(r13) -/* 8033E40C 0033B36C 98 0D A9 22 */ stb r0, lbl_805A94E2@sda21(r13) -lbl_8033E410: -/* 8033E410 0033B370 88 0D A9 23 */ lbz r0, lbl_805A94E3@sda21(r13) -/* 8033E414 0033B374 7C 00 07 75 */ extsb. r0, r0 -/* 8033E418 0033B378 4C 82 00 20 */ bnelr -/* 8033E41C 0033B37C 38 60 00 00 */ li r3, 0 -/* 8033E420 0033B380 38 00 00 01 */ li r0, 1 -/* 8033E424 0033B384 B0 6D A9 1E */ sth r3, lbl_805A94DE@sda21(r13) -/* 8033E428 0033B388 98 0D A9 23 */ stb r0, lbl_805A94E3@sda21(r13) -/* 8033E42C 0033B38C 4E 80 00 20 */ blr - -.global "TokenizeString__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>PCci" -"TokenizeString__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>PCci": -/* 8033E430 0033B390 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 8033E434 0033B394 7C 08 02 A6 */ mflr r0 -/* 8033E438 0033B398 2C 06 00 00 */ cmpwi r6, 0 -/* 8033E43C 0033B39C 90 01 00 54 */ stw r0, 0x54(r1) -/* 8033E440 0033B3A0 38 00 00 00 */ li r0, 0 -/* 8033E444 0033B3A4 BF 41 00 38 */ stmw r26, 0x38(r1) -/* 8033E448 0033B3A8 7C 7D 1B 78 */ mr r29, r3 -/* 8033E44C 0033B3AC 7C 9E 23 78 */ mr r30, r4 -/* 8033E450 0033B3B0 7C BF 2B 78 */ mr r31, r5 -/* 8033E454 0033B3B4 90 01 00 2C */ stw r0, 0x2c(r1) -/* 8033E458 0033B3B8 90 01 00 30 */ stw r0, 0x30(r1) -/* 8033E45C 0033B3BC 90 01 00 34 */ stw r0, 0x34(r1) -/* 8033E460 0033B3C0 40 81 00 10 */ ble lbl_8033E470 -/* 8033E464 0033B3C4 7C C4 33 78 */ mr r4, r6 -/* 8033E468 0033B3C8 38 61 00 28 */ addi r3, r1, 0x28 -/* 8033E46C 0033B3CC 4B D1 B7 49 */ bl "reserve__Q24rstl110vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Fi" -lbl_8033E470: -/* 8033E470 0033B3D0 83 9E 00 08 */ lwz r28, 8(r30) -/* 8033E474 0033B3D4 3B 60 00 00 */ li r27, 0 -/* 8033E478 0033B3D8 48 00 00 D8 */ b lbl_8033E550 -/* 8033E47C 0033B3DC 48 00 00 08 */ b lbl_8033E484 -lbl_8033E480: -/* 8033E480 0033B3E0 3B 7B 00 01 */ addi r27, r27, 1 -lbl_8033E484: -/* 8033E484 0033B3E4 7C 1B E0 00 */ cmpw r27, r28 -/* 8033E488 0033B3E8 40 80 00 20 */ bge lbl_8033E4A8 -/* 8033E48C 0033B3EC 80 9E 00 00 */ lwz r4, 0(r30) -/* 8033E490 0033B3F0 7F E3 FB 78 */ mr r3, r31 -/* 8033E494 0033B3F4 7C 84 D8 AE */ lbzx r4, r4, r27 -/* 8033E498 0033B3F8 7C 84 07 74 */ extsb r4, r4 -/* 8033E49C 0033B3FC 48 05 1A 91 */ bl strchr -/* 8033E4A0 0033B400 28 03 00 00 */ cmplwi r3, 0 -/* 8033E4A4 0033B404 40 82 FF DC */ bne lbl_8033E480 -lbl_8033E4A8: -/* 8033E4A8 0033B408 7C 1B E0 00 */ cmpw r27, r28 -/* 8033E4AC 0033B40C 41 82 00 AC */ beq lbl_8033E558 -/* 8033E4B0 0033B410 3B 5B 00 01 */ addi r26, r27, 1 -/* 8033E4B4 0033B414 48 00 00 08 */ b lbl_8033E4BC -lbl_8033E4B8: -/* 8033E4B8 0033B418 3B 5A 00 01 */ addi r26, r26, 1 -lbl_8033E4BC: -/* 8033E4BC 0033B41C 7C 1A E0 00 */ cmpw r26, r28 -/* 8033E4C0 0033B420 40 80 00 20 */ bge lbl_8033E4E0 -/* 8033E4C4 0033B424 80 9E 00 00 */ lwz r4, 0(r30) -/* 8033E4C8 0033B428 7F E3 FB 78 */ mr r3, r31 -/* 8033E4CC 0033B42C 7C 84 D0 AE */ lbzx r4, r4, r26 -/* 8033E4D0 0033B430 7C 84 07 74 */ extsb r4, r4 -/* 8033E4D4 0033B434 48 05 1A 59 */ bl strchr -/* 8033E4D8 0033B438 28 03 00 00 */ cmplwi r3, 0 -/* 8033E4DC 0033B43C 41 82 FF DC */ beq lbl_8033E4B8 -lbl_8033E4E0: -/* 8033E4E0 0033B440 7F C4 F3 78 */ mr r4, r30 -/* 8033E4E4 0033B444 7F 65 DB 78 */ mr r5, r27 -/* 8033E4E8 0033B448 38 61 00 18 */ addi r3, r1, 0x18 -/* 8033E4EC 0033B44C 7C DB D0 50 */ subf r6, r27, r26 -/* 8033E4F0 0033B450 4B ED EB D9 */ bl "substr__Q24rstl66basic_string,Q24rstl17rmemory_allocator>CFii" -/* 8033E4F4 0033B454 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 8033E4F8 0033B458 80 A1 00 30 */ lwz r5, 0x30(r1) -/* 8033E4FC 0033B45C 7C 00 28 00 */ cmpw r0, r5 -/* 8033E500 0033B460 41 80 00 1C */ blt lbl_8033E51C -/* 8033E504 0033B464 2C 05 00 00 */ cmpwi r5, 0 -/* 8033E508 0033B468 38 61 00 28 */ addi r3, r1, 0x28 -/* 8033E50C 0033B46C 38 80 00 04 */ li r4, 4 -/* 8033E510 0033B470 41 82 00 08 */ beq lbl_8033E518 -/* 8033E514 0033B474 54 A4 08 3C */ slwi r4, r5, 1 -lbl_8033E518: -/* 8033E518 0033B478 4B D1 B6 9D */ bl "reserve__Q24rstl110vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Fi" -lbl_8033E51C: -/* 8033E51C 0033B47C 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 8033E520 0033B480 80 61 00 34 */ lwz r3, 0x34(r1) -/* 8033E524 0033B484 54 00 20 36 */ slwi r0, r0, 4 -/* 8033E528 0033B488 7C 63 02 15 */ add. r3, r3, r0 -/* 8033E52C 0033B48C 41 82 00 0C */ beq lbl_8033E538 -/* 8033E530 0033B490 38 81 00 18 */ addi r4, r1, 0x18 -/* 8033E534 0033B494 4B FF FC 2D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -lbl_8033E538: -/* 8033E538 0033B498 80 81 00 2C */ lwz r4, 0x2c(r1) -/* 8033E53C 0033B49C 38 61 00 18 */ addi r3, r1, 0x18 -/* 8033E540 0033B4A0 38 04 00 01 */ addi r0, r4, 1 -/* 8033E544 0033B4A4 90 01 00 2C */ stw r0, 0x2c(r1) -/* 8033E548 0033B4A8 4B FF F5 99 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8033E54C 0033B4AC 3B 7A 00 01 */ addi r27, r26, 1 -lbl_8033E550: -/* 8033E550 0033B4B0 7C 1B E0 00 */ cmpw r27, r28 -/* 8033E554 0033B4B4 41 80 FF 30 */ blt lbl_8033E484 -lbl_8033E558: -/* 8033E558 0033B4B8 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 8033E55C 0033B4BC 90 1D 00 04 */ stw r0, 4(r29) -/* 8033E560 0033B4C0 80 01 00 30 */ lwz r0, 0x30(r1) -/* 8033E564 0033B4C4 90 1D 00 08 */ stw r0, 8(r29) -/* 8033E568 0033B4C8 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 8033E56C 0033B4CC 2C 00 00 00 */ cmpwi r0, 0 -/* 8033E570 0033B4D0 40 82 00 1C */ bne lbl_8033E58C -/* 8033E574 0033B4D4 80 01 00 30 */ lwz r0, 0x30(r1) -/* 8033E578 0033B4D8 2C 00 00 00 */ cmpwi r0, 0 -/* 8033E57C 0033B4DC 40 82 00 10 */ bne lbl_8033E58C -/* 8033E580 0033B4E0 38 00 00 00 */ li r0, 0 -/* 8033E584 0033B4E4 90 1D 00 0C */ stw r0, 0xc(r29) -/* 8033E588 0033B4E8 48 00 00 6C */ b lbl_8033E5F4 -lbl_8033E58C: -/* 8033E58C 0033B4EC 80 1D 00 08 */ lwz r0, 8(r29) -/* 8033E590 0033B4F0 54 03 20 37 */ rlwinm. r3, r0, 4, 0, 0x1b -/* 8033E594 0033B4F4 40 82 00 10 */ bne lbl_8033E5A4 -/* 8033E598 0033B4F8 38 00 00 00 */ li r0, 0 -/* 8033E59C 0033B4FC 90 1D 00 0C */ stw r0, 0xc(r29) -/* 8033E5A0 0033B500 48 00 00 18 */ b lbl_8033E5B8 -lbl_8033E5A4: -/* 8033E5A4 0033B504 3C 80 80 3D */ lis r4, lbl_803D7A50@ha -/* 8033E5A8 0033B508 38 A0 00 00 */ li r5, 0 -/* 8033E5AC 0033B50C 38 84 7A 50 */ addi r4, r4, lbl_803D7A50@l -/* 8033E5B0 0033B510 4B FD 72 69 */ bl __nwa__FUlPCcPCc -/* 8033E5B4 0033B514 90 7D 00 0C */ stw r3, 0xc(r29) -lbl_8033E5B8: -/* 8033E5B8 0033B518 83 9D 00 04 */ lwz r28, 4(r29) -/* 8033E5BC 0033B51C 3B C0 00 00 */ li r30, 0 -/* 8033E5C0 0033B520 83 E1 00 34 */ lwz r31, 0x34(r1) -/* 8033E5C4 0033B524 83 BD 00 0C */ lwz r29, 0xc(r29) -/* 8033E5C8 0033B528 48 00 00 24 */ b lbl_8033E5EC -lbl_8033E5CC: -/* 8033E5CC 0033B52C 28 1D 00 00 */ cmplwi r29, 0 -/* 8033E5D0 0033B530 41 82 00 10 */ beq lbl_8033E5E0 -/* 8033E5D4 0033B534 7F A3 EB 78 */ mr r3, r29 -/* 8033E5D8 0033B538 7F E4 FB 78 */ mr r4, r31 -/* 8033E5DC 0033B53C 4B FF FB 85 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -lbl_8033E5E0: -/* 8033E5E0 0033B540 3B BD 00 10 */ addi r29, r29, 0x10 -/* 8033E5E4 0033B544 3B DE 00 01 */ addi r30, r30, 1 -/* 8033E5E8 0033B548 3B FF 00 10 */ addi r31, r31, 0x10 -lbl_8033E5EC: -/* 8033E5EC 0033B54C 7C 1E E0 00 */ cmpw r30, r28 -/* 8033E5F0 0033B550 41 80 FF DC */ blt lbl_8033E5CC -lbl_8033E5F4: -/* 8033E5F4 0033B554 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 8033E5F8 0033B558 83 81 00 34 */ lwz r28, 0x34(r1) -/* 8033E5FC 0033B55C 54 00 20 36 */ slwi r0, r0, 4 -/* 8033E600 0033B560 7F BC 02 14 */ add r29, r28, r0 -/* 8033E604 0033B564 93 81 00 0C */ stw r28, 0xc(r1) -/* 8033E608 0033B568 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8033E60C 0033B56C 93 A1 00 10 */ stw r29, 0x10(r1) -/* 8033E610 0033B570 93 81 00 08 */ stw r28, 8(r1) -/* 8033E614 0033B574 48 00 00 18 */ b lbl_8033E62C -lbl_8033E618: -/* 8033E618 0033B578 28 1C 00 00 */ cmplwi r28, 0 -/* 8033E61C 0033B57C 41 82 00 0C */ beq lbl_8033E628 -/* 8033E620 0033B580 7F 83 E3 78 */ mr r3, r28 -/* 8033E624 0033B584 4B FF F4 BD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8033E628: -/* 8033E628 0033B588 3B 9C 00 10 */ addi r28, r28, 0x10 -lbl_8033E62C: -/* 8033E62C 0033B58C 7C 1C E8 40 */ cmplw r28, r29 -/* 8033E630 0033B590 40 82 FF E8 */ bne lbl_8033E618 -/* 8033E634 0033B594 80 61 00 34 */ lwz r3, 0x34(r1) -/* 8033E638 0033B598 28 03 00 00 */ cmplwi r3, 0 -/* 8033E63C 0033B59C 41 82 00 08 */ beq lbl_8033E644 -/* 8033E640 0033B5A0 4B FD 72 F1 */ bl Free__7CMemoryFPCv -lbl_8033E644: -/* 8033E644 0033B5A4 BB 41 00 38 */ lmw r26, 0x38(r1) -/* 8033E648 0033B5A8 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8033E64C 0033B5AC 7C 08 03 A6 */ mtlr r0 -/* 8033E650 0033B5B0 38 21 00 50 */ addi r1, r1, 0x50 -/* 8033E654 0033B5B4 4E 80 00 20 */ blr - -.global ReadString__13CStringExtrasFR12CInputStream -ReadString__13CStringExtrasFR12CInputStream: -/* 8033E658 0033B5B8 94 21 FD D0 */ stwu r1, -0x230(r1) -/* 8033E65C 0033B5BC 7C 08 02 A6 */ mflr r0 -/* 8033E660 0033B5C0 38 AD A9 18 */ addi r5, r13, "_EmptyString__Q24rstl66basic_string,Q24rstl17rmemory_allocator>"@sda21 -/* 8033E664 0033B5C4 90 01 02 34 */ stw r0, 0x234(r1) -/* 8033E668 0033B5C8 38 00 00 00 */ li r0, 0 -/* 8033E66C 0033B5CC 93 E1 02 2C */ stw r31, 0x22c(r1) -/* 8033E670 0033B5D0 93 C1 02 28 */ stw r30, 0x228(r1) -/* 8033E674 0033B5D4 93 A1 02 24 */ stw r29, 0x224(r1) -/* 8033E678 0033B5D8 7C 9D 23 78 */ mr r29, r4 -/* 8033E67C 0033B5DC 93 81 02 20 */ stw r28, 0x220(r1) -/* 8033E680 0033B5E0 7C 7C 1B 78 */ mr r28, r3 -/* 8033E684 0033B5E4 7F A3 EB 78 */ mr r3, r29 -/* 8033E688 0033B5E8 90 A1 00 08 */ stw r5, 8(r1) -/* 8033E68C 0033B5EC 90 01 00 0C */ stw r0, 0xc(r1) -/* 8033E690 0033B5F0 90 01 00 10 */ stw r0, 0x10(r1) -/* 8033E694 0033B5F4 48 00 05 F1 */ bl ReadLong__12CInputStreamFv -/* 8033E698 0033B5F8 7C 64 1B 78 */ mr r4, r3 -/* 8033E69C 0033B5FC 38 61 00 08 */ addi r3, r1, 8 -/* 8033E6A0 0033B600 38 A0 00 01 */ li r5, 1 -/* 8033E6A4 0033B604 7C 9E 23 78 */ mr r30, r4 -/* 8033E6A8 0033B608 4B FF F2 89 */ bl "internal_prepare_to_write__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fib" -/* 8033E6AC 0033B60C 48 00 00 38 */ b lbl_8033E6E4 -lbl_8033E6B0: -/* 8033E6B0 0033B610 28 1E 02 00 */ cmplwi r30, 0x200 -/* 8033E6B4 0033B614 3B E0 02 00 */ li r31, 0x200 -/* 8033E6B8 0033B618 41 81 00 08 */ bgt lbl_8033E6C0 -/* 8033E6BC 0033B61C 7F DF F3 78 */ mr r31, r30 -lbl_8033E6C0: -/* 8033E6C0 0033B620 7F A3 EB 78 */ mr r3, r29 -/* 8033E6C4 0033B624 7F E5 FB 78 */ mr r5, r31 -/* 8033E6C8 0033B628 38 81 00 18 */ addi r4, r1, 0x18 -/* 8033E6CC 0033B62C 48 00 07 B5 */ bl ReadBytes__12CInputStreamFPvUl -/* 8033E6D0 0033B630 7F E5 FB 78 */ mr r5, r31 -/* 8033E6D4 0033B634 38 61 00 08 */ addi r3, r1, 8 -/* 8033E6D8 0033B638 38 81 00 18 */ addi r4, r1, 0x18 -/* 8033E6DC 0033B63C 4B FF F8 09 */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCci" -/* 8033E6E0 0033B640 7F DF F0 50 */ subf r30, r31, r30 -lbl_8033E6E4: -/* 8033E6E4 0033B644 2C 1E 00 00 */ cmpwi r30, 0 -/* 8033E6E8 0033B648 41 81 FF C8 */ bgt lbl_8033E6B0 -/* 8033E6EC 0033B64C 7F 83 E3 78 */ mr r3, r28 -/* 8033E6F0 0033B650 38 81 00 08 */ addi r4, r1, 8 -/* 8033E6F4 0033B654 4B FF FA 6D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8033E6F8 0033B658 38 61 00 08 */ addi r3, r1, 8 -/* 8033E6FC 0033B65C 4B FF F3 E5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8033E700 0033B660 80 01 02 34 */ lwz r0, 0x234(r1) -/* 8033E704 0033B664 83 E1 02 2C */ lwz r31, 0x22c(r1) -/* 8033E708 0033B668 83 C1 02 28 */ lwz r30, 0x228(r1) -/* 8033E70C 0033B66C 83 A1 02 24 */ lwz r29, 0x224(r1) -/* 8033E710 0033B670 83 81 02 20 */ lwz r28, 0x220(r1) -/* 8033E714 0033B674 7C 08 03 A6 */ mtlr r0 -/* 8033E718 0033B678 38 21 02 30 */ addi r1, r1, 0x230 -/* 8033E71C 0033B67C 4E 80 00 20 */ blr - -.global "ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -"ConvertToUNICODE__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": -/* 8033E720 0033B680 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8033E724 0033B684 7C 08 02 A6 */ mflr r0 -/* 8033E728 0033B688 38 AD A9 1A */ addi r5, r13, lbl_805A94DA@sda21 -/* 8033E72C 0033B68C 90 01 00 34 */ stw r0, 0x34(r1) -/* 8033E730 0033B690 38 00 00 00 */ li r0, 0 -/* 8033E734 0033B694 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8033E738 0033B698 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8033E73C 0033B69C 7C 9E 23 78 */ mr r30, r4 -/* 8033E740 0033B6A0 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8033E744 0033B6A4 7C 7D 1B 78 */ mr r29, r3 -/* 8033E748 0033B6A8 38 61 00 08 */ addi r3, r1, 8 -/* 8033E74C 0033B6AC 80 84 00 08 */ lwz r4, 8(r4) -/* 8033E750 0033B6B0 90 A1 00 08 */ stw r5, 8(r1) -/* 8033E754 0033B6B4 38 A0 00 01 */ li r5, 1 -/* 8033E758 0033B6B8 38 84 00 01 */ addi r4, r4, 1 -/* 8033E75C 0033B6BC 90 01 00 0C */ stw r0, 0xc(r1) -/* 8033E760 0033B6C0 90 01 00 10 */ stw r0, 0x10(r1) -/* 8033E764 0033B6C4 4B FF E8 11 */ bl "internal_prepare_to_write__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fib" -/* 8033E768 0033B6C8 3B E0 00 00 */ li r31, 0 -/* 8033E76C 0033B6CC 48 00 00 20 */ b lbl_8033E78C -lbl_8033E770: -/* 8033E770 0033B6D0 80 BE 00 00 */ lwz r5, 0(r30) -/* 8033E774 0033B6D4 38 61 00 08 */ addi r3, r1, 8 -/* 8033E778 0033B6D8 38 80 00 01 */ li r4, 1 -/* 8033E77C 0033B6DC 7C A5 F8 AE */ lbzx r5, r5, r31 -/* 8033E780 0033B6E0 7C A5 07 74 */ extsb r5, r5 -/* 8033E784 0033B6E4 4B FF EC 55 */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fiw" -/* 8033E788 0033B6E8 3B FF 00 01 */ addi r31, r31, 1 -lbl_8033E78C: -/* 8033E78C 0033B6EC 80 1E 00 08 */ lwz r0, 8(r30) -/* 8033E790 0033B6F0 7C 1F 00 00 */ cmpw r31, r0 -/* 8033E794 0033B6F4 41 80 FF DC */ blt lbl_8033E770 -/* 8033E798 0033B6F8 7F A3 EB 78 */ mr r3, r29 -/* 8033E79C 0033B6FC 38 81 00 08 */ addi r4, r1, 8 -/* 8033E7A0 0033B700 4B FF EF E9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8033E7A4 0033B704 38 61 00 08 */ addi r3, r1, 8 -/* 8033E7A8 0033B708 4B FF E9 8D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8033E7AC 0033B70C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8033E7B0 0033B710 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8033E7B4 0033B714 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8033E7B8 0033B718 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 8033E7BC 0033B71C 7C 08 03 A6 */ mtlr r0 -/* 8033E7C0 0033B720 38 21 00 30 */ addi r1, r1, 0x30 -/* 8033E7C4 0033B724 4E 80 00 20 */ blr - -.global "ConvertToANSI__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -"ConvertToANSI__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": -/* 8033E7C8 0033B728 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8033E7CC 0033B72C 7C 08 02 A6 */ mflr r0 -/* 8033E7D0 0033B730 38 AD A9 18 */ addi r5, r13, "_EmptyString__Q24rstl66basic_string,Q24rstl17rmemory_allocator>"@sda21 -/* 8033E7D4 0033B734 90 01 00 44 */ stw r0, 0x44(r1) -/* 8033E7D8 0033B738 38 00 00 00 */ li r0, 0 -/* 8033E7DC 0033B73C 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 8033E7E0 0033B740 93 C1 00 38 */ stw r30, 0x38(r1) -/* 8033E7E4 0033B744 93 A1 00 34 */ stw r29, 0x34(r1) -/* 8033E7E8 0033B748 7C 9D 23 78 */ mr r29, r4 -/* 8033E7EC 0033B74C 93 81 00 30 */ stw r28, 0x30(r1) -/* 8033E7F0 0033B750 7C 7C 1B 78 */ mr r28, r3 -/* 8033E7F4 0033B754 38 61 00 18 */ addi r3, r1, 0x18 -/* 8033E7F8 0033B758 80 84 00 08 */ lwz r4, 8(r4) -/* 8033E7FC 0033B75C 90 A1 00 18 */ stw r5, 0x18(r1) -/* 8033E800 0033B760 38 A0 00 01 */ li r5, 1 -/* 8033E804 0033B764 38 84 00 01 */ addi r4, r4, 1 -/* 8033E808 0033B768 90 01 00 1C */ stw r0, 0x1c(r1) -/* 8033E80C 0033B76C 90 01 00 20 */ stw r0, 0x20(r1) -/* 8033E810 0033B770 4B FF F1 21 */ bl "internal_prepare_to_write__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fib" -/* 8033E814 0033B774 3B C0 00 00 */ li r30, 0 -/* 8033E818 0033B778 3B E0 00 00 */ li r31, 0 -/* 8033E81C 0033B77C 48 00 00 38 */ b lbl_8033E854 -lbl_8033E820: -/* 8033E820 0033B780 80 BD 00 00 */ lwz r5, 0(r29) -/* 8033E824 0033B784 38 61 00 08 */ addi r3, r1, 8 -/* 8033E828 0033B788 38 81 00 18 */ addi r4, r1, 0x18 -/* 8033E82C 0033B78C 7C 05 FA 2E */ lhzx r0, r5, r31 -/* 8033E830 0033B790 7C 05 07 74 */ extsb r5, r0 -/* 8033E834 0033B794 4B EC D8 61 */ bl "__pl__4rstlFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>c" -/* 8033E838 0033B798 38 61 00 18 */ addi r3, r1, 0x18 -/* 8033E83C 0033B79C 38 81 00 08 */ addi r4, r1, 8 -/* 8033E840 0033B7A0 4B FF F5 1D */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8033E844 0033B7A4 38 61 00 08 */ addi r3, r1, 8 -/* 8033E848 0033B7A8 4B FF F2 99 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8033E84C 0033B7AC 3B FF 00 02 */ addi r31, r31, 2 -/* 8033E850 0033B7B0 3B DE 00 01 */ addi r30, r30, 1 -lbl_8033E854: -/* 8033E854 0033B7B4 80 1D 00 08 */ lwz r0, 8(r29) -/* 8033E858 0033B7B8 7C 1E 00 00 */ cmpw r30, r0 -/* 8033E85C 0033B7BC 41 80 FF C4 */ blt lbl_8033E820 -/* 8033E860 0033B7C0 7F 83 E3 78 */ mr r3, r28 -/* 8033E864 0033B7C4 38 81 00 18 */ addi r4, r1, 0x18 -/* 8033E868 0033B7C8 4B FF F8 F9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8033E86C 0033B7CC 38 61 00 18 */ addi r3, r1, 0x18 -/* 8033E870 0033B7D0 4B FF F2 71 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8033E874 0033B7D4 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8033E878 0033B7D8 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 8033E87C 0033B7DC 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 8033E880 0033B7E0 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 8033E884 0033B7E4 83 81 00 30 */ lwz r28, 0x30(r1) -/* 8033E888 0033B7E8 7C 08 03 A6 */ mtlr r0 -/* 8033E88C 0033B7EC 38 21 00 40 */ addi r1, r1, 0x40 -/* 8033E890 0033B7F0 4E 80 00 20 */ blr - -.global CreateFromInteger__13CStringExtrasFi -CreateFromInteger__13CStringExtrasFi: -/* 8033E894 0033B7F4 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8033E898 0033B7F8 7C 08 02 A6 */ mflr r0 -/* 8033E89C 0033B7FC 7C 85 FE 70 */ srawi r5, r4, 0x1f -/* 8033E8A0 0033B800 2C 04 00 00 */ cmpwi r4, 0 -/* 8033E8A4 0033B804 90 01 00 44 */ stw r0, 0x44(r1) -/* 8033E8A8 0033B808 7C A0 22 78 */ xor r0, r5, r4 -/* 8033E8AC 0033B80C 7D 05 00 50 */ subf r8, r5, r0 -/* 8033E8B0 0033B810 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 8033E8B4 0033B814 3B E0 00 00 */ li r31, 0 -/* 8033E8B8 0033B818 93 C1 00 38 */ stw r30, 0x38(r1) -/* 8033E8BC 0033B81C 7C 7E 1B 78 */ mr r30, r3 -/* 8033E8C0 0033B820 93 A1 00 34 */ stw r29, 0x34(r1) -/* 8033E8C4 0033B824 93 81 00 30 */ stw r28, 0x30(r1) -/* 8033E8C8 0033B828 40 82 00 18 */ bne lbl_8033E8E0 -/* 8033E8CC 0033B82C 3C 80 80 3D */ lis r4, lbl_803D7A50@ha -/* 8033E8D0 0033B830 38 84 7A 50 */ addi r4, r4, lbl_803D7A50@l -/* 8033E8D4 0033B834 38 84 00 0E */ addi r4, r4, 0xe -/* 8033E8D8 0033B838 4B CC 63 E1 */ bl string_l__4rstlFPCc -/* 8033E8DC 0033B83C 48 00 00 CC */ b lbl_8033E9A8 -lbl_8033E8E0: -/* 8033E8E0 0033B840 3C 60 66 66 */ lis r3, 0x66666667@ha -/* 8033E8E4 0033B844 38 E1 00 18 */ addi r7, r1, 0x18 -/* 8033E8E8 0033B848 38 C3 66 67 */ addi r6, r3, 0x66666667@l -/* 8033E8EC 0033B84C 48 00 00 38 */ b lbl_8033E924 -lbl_8033E8F0: -/* 8033E8F0 0033B850 7C 06 40 96 */ mulhw r0, r6, r8 -/* 8033E8F4 0033B854 3B FF 00 01 */ addi r31, r31, 1 -/* 8033E8F8 0033B858 7C 03 16 70 */ srawi r3, r0, 2 -/* 8033E8FC 0033B85C 54 65 0F FE */ srwi r5, r3, 0x1f -/* 8033E900 0033B860 7C 00 16 70 */ srawi r0, r0, 2 -/* 8033E904 0033B864 7C 63 2A 14 */ add r3, r3, r5 -/* 8033E908 0033B868 1C A3 00 0A */ mulli r5, r3, 0xa -/* 8033E90C 0033B86C 54 03 0F FE */ srwi r3, r0, 0x1f -/* 8033E910 0033B870 7C A5 40 50 */ subf r5, r5, r8 -/* 8033E914 0033B874 7D 00 1A 14 */ add r8, r0, r3 -/* 8033E918 0033B878 38 05 00 30 */ addi r0, r5, 0x30 -/* 8033E91C 0033B87C 98 07 00 00 */ stb r0, 0(r7) -/* 8033E920 0033B880 38 E7 00 01 */ addi r7, r7, 1 -lbl_8033E924: -/* 8033E924 0033B884 2C 08 00 00 */ cmpwi r8, 0 -/* 8033E928 0033B888 41 81 FF C8 */ bgt lbl_8033E8F0 -/* 8033E92C 0033B88C 38 00 00 00 */ li r0, 0 -/* 8033E930 0033B890 38 6D A9 18 */ addi r3, r13, "_EmptyString__Q24rstl66basic_string,Q24rstl17rmemory_allocator>"@sda21 -/* 8033E934 0033B894 2C 04 00 00 */ cmpwi r4, 0 -/* 8033E938 0033B898 90 61 00 08 */ stw r3, 8(r1) -/* 8033E93C 0033B89C 90 01 00 0C */ stw r0, 0xc(r1) -/* 8033E940 0033B8A0 90 01 00 10 */ stw r0, 0x10(r1) -/* 8033E944 0033B8A4 40 80 00 1C */ bge lbl_8033E960 -/* 8033E948 0033B8A8 3C 80 80 3D */ lis r4, lbl_803D7A50@ha -/* 8033E94C 0033B8AC 38 61 00 08 */ addi r3, r1, 8 -/* 8033E950 0033B8B0 38 84 7A 50 */ addi r4, r4, lbl_803D7A50@l -/* 8033E954 0033B8B4 38 A0 FF FF */ li r5, -1 -/* 8033E958 0033B8B8 38 84 00 10 */ addi r4, r4, 0x10 -/* 8033E95C 0033B8BC 4B FF F5 89 */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCci" -lbl_8033E960: -/* 8033E960 0033B8C0 3B A1 00 18 */ addi r29, r1, 0x18 -/* 8033E964 0033B8C4 3B 80 00 00 */ li r28, 0 -/* 8033E968 0033B8C8 48 00 00 24 */ b lbl_8033E98C -lbl_8033E96C: -/* 8033E96C 0033B8CC 7C 9C F8 50 */ subf r4, r28, r31 -/* 8033E970 0033B8D0 38 61 00 08 */ addi r3, r1, 8 -/* 8033E974 0033B8D4 38 04 FF FF */ addi r0, r4, -1 -/* 8033E978 0033B8D8 38 80 00 01 */ li r4, 1 -/* 8033E97C 0033B8DC 7C 1D 00 AE */ lbzx r0, r29, r0 -/* 8033E980 0033B8E0 7C 05 07 74 */ extsb r5, r0 -/* 8033E984 0033B8E4 4B FF F4 65 */ bl "append__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fic" -/* 8033E988 0033B8E8 3B 9C 00 01 */ addi r28, r28, 1 -lbl_8033E98C: -/* 8033E98C 0033B8EC 7C 1C F8 00 */ cmpw r28, r31 -/* 8033E990 0033B8F0 41 80 FF DC */ blt lbl_8033E96C -/* 8033E994 0033B8F4 7F C3 F3 78 */ mr r3, r30 -/* 8033E998 0033B8F8 38 81 00 08 */ addi r4, r1, 8 -/* 8033E99C 0033B8FC 4B FF F7 C5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8033E9A0 0033B900 38 61 00 08 */ addi r3, r1, 8 -/* 8033E9A4 0033B904 4B FF F1 3D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8033E9A8: -/* 8033E9A8 0033B908 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8033E9AC 0033B90C 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 8033E9B0 0033B910 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 8033E9B4 0033B914 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 8033E9B8 0033B918 83 81 00 30 */ lwz r28, 0x30(r1) -/* 8033E9BC 0033B91C 7C 08 03 A6 */ mtlr r0 -/* 8033E9C0 0033B920 38 21 00 40 */ addi r1, r1, 0x40 -/* 8033E9C4 0033B924 4E 80 00 20 */ blr - -.global ConvertToUpperCase__13CStringExtrasFc -ConvertToUpperCase__13CStringExtrasFc: -/* 8033E9C8 0033B928 7C 60 07 74 */ extsb r0, r3 -/* 8033E9CC 0033B92C 2C 00 00 61 */ cmpwi r0, 0x61 -/* 8033E9D0 0033B930 4D 80 00 20 */ bltlr -/* 8033E9D4 0033B934 2C 00 00 7A */ cmpwi r0, 0x7a -/* 8033E9D8 0033B938 4D 81 00 20 */ bgtlr -/* 8033E9DC 0033B93C 38 03 FF E0 */ addi r0, r3, -32 -/* 8033E9E0 0033B940 54 00 06 3E */ clrlwi r0, r0, 0x18 -/* 8033E9E4 0033B944 7C 03 07 74 */ extsb r3, r0 -/* 8033E9E8 0033B948 4E 80 00 20 */ blr - -.global "CompareCaseInsensitive__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -"CompareCaseInsensitive__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": -/* 8033E9EC 0033B94C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8033E9F0 0033B950 7C 08 02 A6 */ mflr r0 -/* 8033E9F4 0033B954 90 01 00 34 */ stw r0, 0x34(r1) -/* 8033E9F8 0033B958 BF 41 00 18 */ stmw r26, 0x18(r1) -/* 8033E9FC 0033B95C 7C 9B 23 78 */ mr r27, r4 -/* 8033EA00 0033B960 7C 7A 1B 78 */ mr r26, r3 -/* 8033EA04 0033B964 80 03 00 08 */ lwz r0, 8(r3) -/* 8033EA08 0033B968 38 61 00 0C */ addi r3, r1, 0xc -/* 8033EA0C 0033B96C 80 84 00 08 */ lwz r4, 8(r4) -/* 8033EA10 0033B970 90 01 00 0C */ stw r0, 0xc(r1) -/* 8033EA14 0033B974 7C 04 00 00 */ cmpw r4, r0 -/* 8033EA18 0033B978 90 81 00 08 */ stw r4, 8(r1) -/* 8033EA1C 0033B97C 40 80 00 08 */ bge lbl_8033EA24 -/* 8033EA20 0033B980 38 61 00 08 */ addi r3, r1, 8 -lbl_8033EA24: -/* 8033EA24 0033B984 83 A3 00 00 */ lwz r29, 0(r3) -/* 8033EA28 0033B988 3B 80 00 00 */ li r28, 0 -/* 8033EA2C 0033B98C 48 00 00 68 */ b lbl_8033EA94 -lbl_8033EA30: -/* 8033EA30 0033B990 80 7B 00 00 */ lwz r3, 0(r27) -/* 8033EA34 0033B994 83 FA 00 00 */ lwz r31, 0(r26) -/* 8033EA38 0033B998 7C 63 E0 AE */ lbzx r3, r3, r28 -/* 8033EA3C 0033B99C 4B FF FF 8D */ bl ConvertToUpperCase__13CStringExtrasFc -/* 8033EA40 0033B9A0 7C 7E 07 74 */ extsb r30, r3 -/* 8033EA44 0033B9A4 7C 7F E0 AE */ lbzx r3, r31, r28 -/* 8033EA48 0033B9A8 4B FF FF 81 */ bl ConvertToUpperCase__13CStringExtrasFc -/* 8033EA4C 0033B9AC 7C 60 07 74 */ extsb r0, r3 -/* 8033EA50 0033B9B0 7C 00 F0 00 */ cmpw r0, r30 -/* 8033EA54 0033B9B4 40 80 00 0C */ bge lbl_8033EA60 -/* 8033EA58 0033B9B8 38 60 FF FF */ li r3, -1 -/* 8033EA5C 0033B9BC 48 00 00 6C */ b lbl_8033EAC8 -lbl_8033EA60: -/* 8033EA60 0033B9C0 80 7B 00 00 */ lwz r3, 0(r27) -/* 8033EA64 0033B9C4 83 DA 00 00 */ lwz r30, 0(r26) -/* 8033EA68 0033B9C8 7C 63 E0 AE */ lbzx r3, r3, r28 -/* 8033EA6C 0033B9CC 4B FF FF 5D */ bl ConvertToUpperCase__13CStringExtrasFc -/* 8033EA70 0033B9D0 7C 7F 07 74 */ extsb r31, r3 -/* 8033EA74 0033B9D4 7C 7E E0 AE */ lbzx r3, r30, r28 -/* 8033EA78 0033B9D8 4B FF FF 51 */ bl ConvertToUpperCase__13CStringExtrasFc -/* 8033EA7C 0033B9DC 7C 60 07 74 */ extsb r0, r3 -/* 8033EA80 0033B9E0 7C 00 F8 00 */ cmpw r0, r31 -/* 8033EA84 0033B9E4 40 81 00 0C */ ble lbl_8033EA90 -/* 8033EA88 0033B9E8 38 60 00 01 */ li r3, 1 -/* 8033EA8C 0033B9EC 48 00 00 3C */ b lbl_8033EAC8 -lbl_8033EA90: -/* 8033EA90 0033B9F0 3B 9C 00 01 */ addi r28, r28, 1 -lbl_8033EA94: -/* 8033EA94 0033B9F4 7C 1C E8 00 */ cmpw r28, r29 -/* 8033EA98 0033B9F8 41 80 FF 98 */ blt lbl_8033EA30 -/* 8033EA9C 0033B9FC 80 81 00 0C */ lwz r4, 0xc(r1) -/* 8033EAA0 0033BA00 80 01 00 08 */ lwz r0, 8(r1) -/* 8033EAA4 0033BA04 7C 04 00 00 */ cmpw r4, r0 -/* 8033EAA8 0033BA08 40 80 00 0C */ bge lbl_8033EAB4 -/* 8033EAAC 0033BA0C 38 60 FF FF */ li r3, -1 -/* 8033EAB0 0033BA10 48 00 00 18 */ b lbl_8033EAC8 -lbl_8033EAB4: -/* 8033EAB4 0033BA14 7C 80 02 78 */ xor r0, r4, r0 -/* 8033EAB8 0033BA18 7C 03 0E 70 */ srawi r3, r0, 1 -/* 8033EABC 0033BA1C 7C 00 20 38 */ and r0, r0, r4 -/* 8033EAC0 0033BA20 7C 00 18 50 */ subf r0, r0, r3 -/* 8033EAC4 0033BA24 54 03 0F FE */ srwi r3, r0, 0x1f -lbl_8033EAC8: -/* 8033EAC8 0033BA28 BB 41 00 18 */ lmw r26, 0x18(r1) -/* 8033EACC 0033BA2C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8033EAD0 0033BA30 7C 08 03 A6 */ mtlr r0 -/* 8033EAD4 0033BA34 38 21 00 30 */ addi r1, r1, 0x30 -/* 8033EAD8 0033BA38 4E 80 00 20 */ blr - -.global "IndexOfSubstring__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -"IndexOfSubstring__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": -/* 8033EADC 0033BA3C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8033EAE0 0033BA40 7C 08 02 A6 */ mflr r0 -/* 8033EAE4 0033BA44 90 01 00 34 */ stw r0, 0x34(r1) -/* 8033EAE8 0033BA48 BF 01 00 10 */ stmw r24, 0x10(r1) -/* 8033EAEC 0033BA4C 7C 99 23 78 */ mr r25, r4 -/* 8033EAF0 0033BA50 7C 78 1B 78 */ mr r24, r3 -/* 8033EAF4 0033BA54 83 A4 00 08 */ lwz r29, 8(r4) -/* 8033EAF8 0033BA58 2C 1D 00 00 */ cmpwi r29, 0 -/* 8033EAFC 0033BA5C 40 82 00 0C */ bne lbl_8033EB08 -/* 8033EB00 0033BA60 38 60 00 00 */ li r3, 0 -/* 8033EB04 0033BA64 48 00 00 88 */ b lbl_8033EB8C -lbl_8033EB08: -/* 8033EB08 0033BA68 80 18 00 08 */ lwz r0, 8(r24) -/* 8033EB0C 0033BA6C 2C 00 00 00 */ cmpwi r0, 0 -/* 8033EB10 0033BA70 40 82 00 0C */ bne lbl_8033EB1C -/* 8033EB14 0033BA74 38 60 FF FF */ li r3, -1 -/* 8033EB18 0033BA78 48 00 00 74 */ b lbl_8033EB8C -lbl_8033EB1C: -/* 8033EB1C 0033BA7C 7C 7D 00 50 */ subf r3, r29, r0 -/* 8033EB20 0033BA80 3B 60 00 00 */ li r27, 0 -/* 8033EB24 0033BA84 3B 83 00 01 */ addi r28, r3, 1 -/* 8033EB28 0033BA88 48 00 00 58 */ b lbl_8033EB80 -lbl_8033EB2C: -/* 8033EB2C 0033BA8C 3B 40 00 00 */ li r26, 0 -/* 8033EB30 0033BA90 48 00 00 34 */ b lbl_8033EB64 -lbl_8033EB34: -/* 8033EB34 0033BA94 80 18 00 00 */ lwz r0, 0(r24) -/* 8033EB38 0033BA98 83 D9 00 00 */ lwz r30, 0(r25) -/* 8033EB3C 0033BA9C 7C 1A 02 14 */ add r0, r26, r0 -/* 8033EB40 0033BAA0 7C 7B 00 AE */ lbzx r3, r27, r0 -/* 8033EB44 0033BAA4 4B FF FE 85 */ bl ConvertToUpperCase__13CStringExtrasFc -/* 8033EB48 0033BAA8 7C 7F 07 74 */ extsb r31, r3 -/* 8033EB4C 0033BAAC 7C 7E D0 AE */ lbzx r3, r30, r26 -/* 8033EB50 0033BAB0 4B FF FE 79 */ bl ConvertToUpperCase__13CStringExtrasFc -/* 8033EB54 0033BAB4 7C 60 07 74 */ extsb r0, r3 -/* 8033EB58 0033BAB8 7C 00 F8 00 */ cmpw r0, r31 -/* 8033EB5C 0033BABC 40 82 00 10 */ bne lbl_8033EB6C -/* 8033EB60 0033BAC0 3B 5A 00 01 */ addi r26, r26, 1 -lbl_8033EB64: -/* 8033EB64 0033BAC4 7C 1A E8 00 */ cmpw r26, r29 -/* 8033EB68 0033BAC8 41 80 FF CC */ blt lbl_8033EB34 -lbl_8033EB6C: -/* 8033EB6C 0033BACC 7C 1A E8 00 */ cmpw r26, r29 -/* 8033EB70 0033BAD0 40 82 00 0C */ bne lbl_8033EB7C -/* 8033EB74 0033BAD4 7F 63 DB 78 */ mr r3, r27 -/* 8033EB78 0033BAD8 48 00 00 14 */ b lbl_8033EB8C -lbl_8033EB7C: -/* 8033EB7C 0033BADC 3B 7B 00 01 */ addi r27, r27, 1 -lbl_8033EB80: -/* 8033EB80 0033BAE0 7C 1B E0 00 */ cmpw r27, r28 -/* 8033EB84 0033BAE4 41 80 FF A8 */ blt lbl_8033EB2C -/* 8033EB88 0033BAE8 38 60 FF FF */ li r3, -1 -lbl_8033EB8C: -/* 8033EB8C 0033BAEC BB 01 00 10 */ lmw r24, 0x10(r1) -/* 8033EB90 0033BAF0 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8033EB94 0033BAF4 7C 08 03 A6 */ mtlr r0 -/* 8033EB98 0033BAF8 38 21 00 30 */ addi r1, r1, 0x30 -/* 8033EB9C 0033BAFC 4E 80 00 20 */ blr - -.global __sinit_RstlExtras_cpp -__sinit_RstlExtras_cpp: -/* 8033EBA0 0033BB00 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8033EBA4 0033BB04 7C 08 02 A6 */ mflr r0 -/* 8033EBA8 0033BB08 3C 80 80 34 */ lis r4, __ct__Q24rstl8CRefDataFPCPvi@ha -/* 8033EBAC 0033BB0C 3C A0 01 00 */ lis r5, 0x00FFFFFF@ha -/* 8033EBB0 0033BB10 90 01 00 14 */ stw r0, 0x14(r1) -/* 8033EBB4 0033BB14 38 E0 00 00 */ li r7, 0 -/* 8033EBB8 0033BB18 38 05 FF FF */ addi r0, r5, 0x00FFFFFF@l -/* 8033EBBC 0033BB1C 38 CD A9 28 */ addi r6, r13, lbl_805A94E8@sda21 -/* 8033EBC0 0033BB20 3C 60 80 4C */ lis r3, lbl_804BFF30@ha -/* 8033EBC4 0033BB24 90 ED A9 28 */ stw r7, lbl_805A94E8@sda21(r13) -/* 8033EBC8 0033BB28 38 A3 FF 30 */ addi r5, r3, lbl_804BFF30@l -/* 8033EBCC 0033BB2C 38 84 EB EC */ addi r4, r4, __ct__Q24rstl8CRefDataFPCPvi@l -/* 8033EBD0 0033BB30 90 06 00 04 */ stw r0, 4(r6) -/* 8033EBD4 0033BB34 38 6D A9 28 */ addi r3, r13, lbl_805A94E8@sda21 -/* 8033EBD8 0033BB38 48 04 AA B5 */ bl __register_global_object -/* 8033EBDC 0033BB3C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8033EBE0 0033BB40 7C 08 03 A6 */ mtlr r0 -/* 8033EBE4 0033BB44 38 21 00 10 */ addi r1, r1, 0x10 -/* 8033EBE8 0033BB48 4E 80 00 20 */ blr - -.global __ct__Q24rstl8CRefDataFPCPvi -__ct__Q24rstl8CRefDataFPCPvi: -/* 8033EBEC 0033BB4C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8033EBF0 0033BB50 7C 08 02 A6 */ mflr r0 -/* 8033EBF4 0033BB54 90 01 00 14 */ stw r0, 0x14(r1) -/* 8033EBF8 0033BB58 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8033EBFC 0033BB5C 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8033EC00 0033BB60 41 82 00 10 */ beq lbl_8033EC10 -/* 8033EC04 0033BB64 7C 80 07 35 */ extsh. r0, r4 -/* 8033EC08 0033BB68 40 81 00 08 */ ble lbl_8033EC10 -/* 8033EC0C 0033BB6C 4B FD 6D 25 */ bl Free__7CMemoryFPCv -lbl_8033EC10: -/* 8033EC10 0033BB70 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8033EC14 0033BB74 7F E3 FB 78 */ mr r3, r31 -/* 8033EC18 0033BB78 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8033EC1C 0033BB7C 7C 08 03 A6 */ mtlr r0 -/* 8033EC20 0033BB80 38 21 00 10 */ addi r1, r1, 0x10 -/* 8033EC24 0033BB84 4E 80 00 20 */ blr - -.global ReadFloat__12CInputStreamFv -ReadFloat__12CInputStreamFv: -/* 8033EC28 0033BB88 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8033EC2C 0033BB8C 7C 08 02 A6 */ mflr r0 -/* 8033EC30 0033BB90 38 8D A9 40 */ addi r4, r13, lbl_805A9500@sda21 -/* 8033EC34 0033BB94 38 A0 00 04 */ li r5, 4 -/* 8033EC38 0033BB98 90 01 00 14 */ stw r0, 0x14(r1) -/* 8033EC3C 0033BB9C 48 00 03 19 */ bl Get__12CInputStreamFPvUl -/* 8033EC40 0033BBA0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8033EC44 0033BBA4 C0 2D A9 40 */ lfs f1, lbl_805A9500@sda21(r13) -/* 8033EC48 0033BBA8 7C 08 03 A6 */ mtlr r0 -/* 8033EC4C 0033BBAC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8033EC50 0033BBB0 4E 80 00 20 */ blr - -.global ReadLongLong__12CInputStreamFv -ReadLongLong__12CInputStreamFv: -/* 8033EC54 0033BBB4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8033EC58 0033BBB8 7C 08 02 A6 */ mflr r0 -/* 8033EC5C 0033BBBC 38 8D A9 38 */ addi r4, r13, lbl_805A94F8@sda21 -/* 8033EC60 0033BBC0 38 A0 00 08 */ li r5, 8 -/* 8033EC64 0033BBC4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8033EC68 0033BBC8 48 00 02 ED */ bl Get__12CInputStreamFPvUl -/* 8033EC6C 0033BBCC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8033EC70 0033BBD0 80 6D A9 38 */ lwz r3, lbl_805A94F8@sda21(r13) -/* 8033EC74 0033BBD4 80 8D A9 3C */ lwz r4, lbl_805A94FC@sda21(r13) -/* 8033EC78 0033BBD8 7C 08 03 A6 */ mtlr r0 -/* 8033EC7C 0033BBDC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8033EC80 0033BBE0 4E 80 00 20 */ blr - -.global ReadLong__12CInputStreamFv -ReadLong__12CInputStreamFv: -/* 8033EC84 0033BBE4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8033EC88 0033BBE8 7C 08 02 A6 */ mflr r0 -/* 8033EC8C 0033BBEC 38 8D A9 34 */ addi r4, r13, lbl_805A94F4@sda21 -/* 8033EC90 0033BBF0 38 A0 00 04 */ li r5, 4 -/* 8033EC94 0033BBF4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8033EC98 0033BBF8 48 00 02 BD */ bl Get__12CInputStreamFPvUl -/* 8033EC9C 0033BBFC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8033ECA0 0033BC00 80 6D A9 34 */ lwz r3, lbl_805A94F4@sda21(r13) -/* 8033ECA4 0033BC04 7C 08 03 A6 */ mtlr r0 -/* 8033ECA8 0033BC08 38 21 00 10 */ addi r1, r1, 0x10 -/* 8033ECAC 0033BC0C 4E 80 00 20 */ blr - -.global ReadShort__12CInputStreamFv -ReadShort__12CInputStreamFv: -/* 8033ECB0 0033BC10 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8033ECB4 0033BC14 7C 08 02 A6 */ mflr r0 -/* 8033ECB8 0033BC18 38 8D A9 32 */ addi r4, r13, lbl_805A94F2@sda21 -/* 8033ECBC 0033BC1C 38 A0 00 02 */ li r5, 2 -/* 8033ECC0 0033BC20 90 01 00 14 */ stw r0, 0x14(r1) -/* 8033ECC4 0033BC24 48 00 02 91 */ bl Get__12CInputStreamFPvUl -/* 8033ECC8 0033BC28 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8033ECCC 0033BC2C A0 6D A9 32 */ lhz r3, lbl_805A94F2@sda21(r13) -/* 8033ECD0 0033BC30 7C 08 03 A6 */ mtlr r0 -/* 8033ECD4 0033BC34 38 21 00 10 */ addi r1, r1, 0x10 -/* 8033ECD8 0033BC38 4E 80 00 20 */ blr - -.global ReadBool__12CInputStreamFv -ReadBool__12CInputStreamFv: -/* 8033ECDC 0033BC3C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8033ECE0 0033BC40 7C 08 02 A6 */ mflr r0 -/* 8033ECE4 0033BC44 90 01 00 14 */ stw r0, 0x14(r1) -/* 8033ECE8 0033BC48 48 00 00 25 */ bl ReadChar__12CInputStreamFv -/* 8033ECEC 0033BC4C 54 63 06 3E */ clrlwi r3, r3, 0x18 -/* 8033ECF0 0033BC50 7C 03 00 D0 */ neg r0, r3 -/* 8033ECF4 0033BC54 7C 00 1B 78 */ or r0, r0, r3 -/* 8033ECF8 0033BC58 54 03 0F FE */ srwi r3, r0, 0x1f -/* 8033ECFC 0033BC5C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8033ED00 0033BC60 7C 08 03 A6 */ mtlr r0 -/* 8033ED04 0033BC64 38 21 00 10 */ addi r1, r1, 0x10 -/* 8033ED08 0033BC68 4E 80 00 20 */ blr - -.global ReadChar__12CInputStreamFv -ReadChar__12CInputStreamFv: -/* 8033ED0C 0033BC6C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8033ED10 0033BC70 7C 08 02 A6 */ mflr r0 -/* 8033ED14 0033BC74 38 8D A9 30 */ addi r4, r13, lbl_805A94F0@sda21 -/* 8033ED18 0033BC78 38 A0 00 01 */ li r5, 1 -/* 8033ED1C 0033BC7C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8033ED20 0033BC80 48 00 02 35 */ bl Get__12CInputStreamFPvUl -/* 8033ED24 0033BC84 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8033ED28 0033BC88 88 6D A9 30 */ lbz r3, lbl_805A94F0@sda21(r13) -/* 8033ED2C 0033BC8C 7C 08 03 A6 */ mtlr r0 -/* 8033ED30 0033BC90 38 21 00 10 */ addi r1, r1, 0x10 -/* 8033ED34 0033BC94 4E 80 00 20 */ blr - -.global ReadBits__12CInputStreamFi -ReadBits__12CInputStreamFi: -/* 8033ED38 0033BC98 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8033ED3C 0033BC9C 7C 08 02 A6 */ mflr r0 -/* 8033ED40 0033BCA0 90 01 00 24 */ stw r0, 0x24(r1) -/* 8033ED44 0033BCA4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8033ED48 0033BCA8 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8033ED4C 0033BCAC 7C 7E 1B 78 */ mr r30, r3 -/* 8033ED50 0033BCB0 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8033ED54 0033BCB4 93 81 00 10 */ stw r28, 0x10(r1) -/* 8033ED58 0033BCB8 80 63 00 20 */ lwz r3, 0x20(r3) -/* 8033ED5C 0033BCBC 7C 03 20 40 */ cmplw r3, r4 -/* 8033ED60 0033BCC0 41 80 00 48 */ blt lbl_8033EDA8 -/* 8033ED64 0033BCC4 28 04 00 20 */ cmplwi r4, 0x20 -/* 8033ED68 0033BCC8 20 C4 00 20 */ subfic r6, r4, 0x20 -/* 8033ED6C 0033BCCC 38 A0 FF FF */ li r5, -1 -/* 8033ED70 0033BCD0 41 82 00 10 */ beq lbl_8033ED80 -/* 8033ED74 0033BCD4 38 00 00 01 */ li r0, 1 -/* 8033ED78 0033BCD8 7C 03 20 30 */ slw r3, r0, r4 -/* 8033ED7C 0033BCDC 38 A3 FF FF */ addi r5, r3, -1 -lbl_8033ED80: -/* 8033ED80 0033BCE0 80 1E 00 20 */ lwz r0, 0x20(r30) -/* 8033ED84 0033BCE4 80 7E 00 1C */ lwz r3, 0x1c(r30) -/* 8033ED88 0033BCE8 7C 04 00 50 */ subf r0, r4, r0 -/* 8033ED8C 0033BCEC 90 1E 00 20 */ stw r0, 0x20(r30) -/* 8033ED90 0033BCF0 7C 60 34 30 */ srw r0, r3, r6 -/* 8033ED94 0033BCF4 7C A3 00 38 */ and r3, r5, r0 -/* 8033ED98 0033BCF8 80 1E 00 1C */ lwz r0, 0x1c(r30) -/* 8033ED9C 0033BCFC 7C 00 20 30 */ slw r0, r0, r4 -/* 8033EDA0 0033BD00 90 1E 00 1C */ stw r0, 0x1c(r30) -/* 8033EDA4 0033BD04 48 00 00 BC */ b lbl_8033EE60 -lbl_8033EDA8: -/* 8033EDA8 0033BD08 28 03 00 20 */ cmplwi r3, 0x20 -/* 8033EDAC 0033BD0C 7F E3 20 50 */ subf r31, r3, r4 -/* 8033EDB0 0033BD10 20 E3 00 20 */ subfic r7, r3, 0x20 -/* 8033EDB4 0033BD14 38 C0 FF FF */ li r6, -1 -/* 8033EDB8 0033BD18 41 82 00 10 */ beq lbl_8033EDC8 -/* 8033EDBC 0033BD1C 38 00 00 01 */ li r0, 1 -/* 8033EDC0 0033BD20 7C 03 18 30 */ slw r3, r0, r3 -/* 8033EDC4 0033BD24 38 C3 FF FF */ addi r6, r3, -1 -lbl_8033EDC8: -/* 8033EDC8 0033BD28 57 E4 07 7E */ clrlwi r4, r31, 0x1d -/* 8033EDCC 0033BD2C 80 BE 00 1C */ lwz r5, 0x1c(r30) -/* 8033EDD0 0033BD30 7C 64 00 D0 */ neg r3, r4 -/* 8033EDD4 0033BD34 38 00 00 00 */ li r0, 0 -/* 8033EDD8 0033BD38 7C 63 23 78 */ or r3, r3, r4 -/* 8033EDDC 0033BD3C 7C A5 3C 30 */ srw r5, r5, r7 -/* 8033EDE0 0033BD40 57 E4 E8 FE */ srwi r4, r31, 3 -/* 8033EDE4 0033BD44 90 1E 00 20 */ stw r0, 0x20(r30) -/* 8033EDE8 0033BD48 54 60 0F FE */ srwi r0, r3, 0x1f -/* 8033EDEC 0033BD4C 7C C6 28 38 */ and r6, r6, r5 -/* 8033EDF0 0033BD50 7F A4 02 14 */ add r29, r4, r0 -/* 8033EDF4 0033BD54 7F C3 F3 78 */ mr r3, r30 -/* 8033EDF8 0033BD58 7F A5 EB 78 */ mr r5, r29 -/* 8033EDFC 0033BD5C 7C DC F8 30 */ slw r28, r6, r31 -/* 8033EE00 0033BD60 38 9E 00 1C */ addi r4, r30, 0x1c -/* 8033EE04 0033BD64 48 00 01 51 */ bl Get__12CInputStreamFPvUl -/* 8033EE08 0033BD68 28 1F 00 20 */ cmplwi r31, 0x20 -/* 8033EE0C 0033BD6C 20 DF 00 20 */ subfic r6, r31, 0x20 -/* 8033EE10 0033BD70 38 A0 FF FF */ li r5, -1 -/* 8033EE14 0033BD74 41 82 00 10 */ beq lbl_8033EE24 -/* 8033EE18 0033BD78 38 00 00 01 */ li r0, 1 -/* 8033EE1C 0033BD7C 7C 03 F8 30 */ slw r3, r0, r31 -/* 8033EE20 0033BD80 38 A3 FF FF */ addi r5, r3, -1 -lbl_8033EE24: -/* 8033EE24 0033BD84 80 9E 00 1C */ lwz r4, 0x1c(r30) -/* 8033EE28 0033BD88 57 A0 18 38 */ slwi r0, r29, 3 -/* 8033EE2C 0033BD8C 80 7E 00 20 */ lwz r3, 0x20(r30) -/* 8033EE30 0033BD90 7C 84 34 30 */ srw r4, r4, r6 -/* 8033EE34 0033BD94 90 1E 00 20 */ stw r0, 0x20(r30) -/* 8033EE38 0033BD98 7C A0 20 38 */ and r0, r5, r4 -/* 8033EE3C 0033BD9C 7C 03 18 30 */ slw r3, r0, r3 -/* 8033EE40 0033BDA0 80 1E 00 20 */ lwz r0, 0x20(r30) -/* 8033EE44 0033BDA4 7F 9C 1B 78 */ or r28, r28, r3 -/* 8033EE48 0033BDA8 7F 83 E3 78 */ mr r3, r28 -/* 8033EE4C 0033BDAC 7C 1F 00 50 */ subf r0, r31, r0 -/* 8033EE50 0033BDB0 90 1E 00 20 */ stw r0, 0x20(r30) -/* 8033EE54 0033BDB4 80 1E 00 1C */ lwz r0, 0x1c(r30) -/* 8033EE58 0033BDB8 7C 00 F8 30 */ slw r0, r0, r31 -/* 8033EE5C 0033BDBC 90 1E 00 1C */ stw r0, 0x1c(r30) -lbl_8033EE60: -/* 8033EE60 0033BDC0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8033EE64 0033BDC4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8033EE68 0033BDC8 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8033EE6C 0033BDCC 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8033EE70 0033BDD0 83 81 00 10 */ lwz r28, 0x10(r1) -/* 8033EE74 0033BDD4 7C 08 03 A6 */ mtlr r0 -/* 8033EE78 0033BDD8 38 21 00 20 */ addi r1, r1, 0x20 -/* 8033EE7C 0033BDDC 4E 80 00 20 */ blr - -.global ReadBytes__12CInputStreamFPvUl -ReadBytes__12CInputStreamFPvUl: -/* 8033EE80 0033BDE0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8033EE84 0033BDE4 7C 08 02 A6 */ mflr r0 -/* 8033EE88 0033BDE8 90 01 00 24 */ stw r0, 0x24(r1) -/* 8033EE8C 0033BDEC BF 41 00 08 */ stmw r26, 8(r1) -/* 8033EE90 0033BDF0 7C BC 2B 79 */ or. r28, r5, r5 -/* 8033EE94 0033BDF4 7C 7A 1B 78 */ mr r26, r3 -/* 8033EE98 0033BDF8 7C 9B 23 78 */ mr r27, r4 -/* 8033EE9C 0033BDFC 40 82 00 0C */ bne lbl_8033EEA8 -/* 8033EEA0 0033BE00 38 60 00 00 */ li r3, 0 -/* 8033EEA4 0033BE04 48 00 00 9C */ b lbl_8033EF40 -lbl_8033EEA8: -/* 8033EEA8 0033BE08 80 9A 00 04 */ lwz r4, 4(r26) -/* 8033EEAC 0033BE0C 80 1A 00 08 */ lwz r0, 8(r26) -/* 8033EEB0 0033BE10 7C 04 00 40 */ cmplw r4, r0 -/* 8033EEB4 0033BE14 40 82 00 08 */ bne lbl_8033EEBC -/* 8033EEB8 0033BE18 48 00 01 79 */ bl GrabAnotherBlock__12CInputStreamFv -lbl_8033EEBC: -/* 8033EEBC 0033BE1C 7F 9E E3 78 */ mr r30, r28 -/* 8033EEC0 0033BE20 3B A0 00 00 */ li r29, 0 -/* 8033EEC4 0033BE24 48 00 00 64 */ b lbl_8033EF28 -lbl_8033EEC8: -/* 8033EEC8 0033BE28 80 9A 00 04 */ lwz r4, 4(r26) -/* 8033EECC 0033BE2C 80 1A 00 08 */ lwz r0, 8(r26) -/* 8033EED0 0033BE30 7C 04 00 51 */ subf. r0, r4, r0 -/* 8033EED4 0033BE34 40 82 00 1C */ bne lbl_8033EEF0 -/* 8033EED8 0033BE38 7F 43 D3 78 */ mr r3, r26 -/* 8033EEDC 0033BE3C 48 00 01 75 */ bl InternalReadNext__12CInputStreamFv -/* 8033EEE0 0033BE40 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8033EEE4 0033BE44 40 82 00 44 */ bne lbl_8033EF28 -/* 8033EEE8 0033BE48 7F A3 EB 78 */ mr r3, r29 -/* 8033EEEC 0033BE4C 48 00 00 54 */ b lbl_8033EF40 -lbl_8033EEF0: -/* 8033EEF0 0033BE50 7C 1E 00 40 */ cmplw r30, r0 -/* 8033EEF4 0033BE54 7C 1F 03 78 */ mr r31, r0 -/* 8033EEF8 0033BE58 40 80 00 08 */ bge lbl_8033EF00 -/* 8033EEFC 0033BE5C 7F DF F3 78 */ mr r31, r30 -lbl_8033EF00: -/* 8033EF00 0033BE60 80 1A 00 10 */ lwz r0, 0x10(r26) -/* 8033EF04 0033BE64 7F E5 FB 78 */ mr r5, r31 -/* 8033EF08 0033BE68 7C 7B EA 14 */ add r3, r27, r29 -/* 8033EF0C 0033BE6C 7C 80 22 14 */ add r4, r0, r4 -/* 8033EF10 0033BE70 4B CC 45 81 */ bl memcpy -/* 8033EF14 0033BE74 80 1A 00 04 */ lwz r0, 4(r26) -/* 8033EF18 0033BE78 7F BD FA 14 */ add r29, r29, r31 -/* 8033EF1C 0033BE7C 7F DF F0 50 */ subf r30, r31, r30 -/* 8033EF20 0033BE80 7C 00 FA 14 */ add r0, r0, r31 -/* 8033EF24 0033BE84 90 1A 00 04 */ stw r0, 4(r26) -lbl_8033EF28: -/* 8033EF28 0033BE88 7C 1D E0 40 */ cmplw r29, r28 -/* 8033EF2C 0033BE8C 41 80 FF 9C */ blt lbl_8033EEC8 -/* 8033EF30 0033BE90 80 1A 00 18 */ lwz r0, 0x18(r26) -/* 8033EF34 0033BE94 7F A3 EB 78 */ mr r3, r29 -/* 8033EF38 0033BE98 7C 00 EA 14 */ add r0, r0, r29 -/* 8033EF3C 0033BE9C 90 1A 00 18 */ stw r0, 0x18(r26) -lbl_8033EF40: -/* 8033EF40 0033BEA0 BB 41 00 08 */ lmw r26, 8(r1) -/* 8033EF44 0033BEA4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8033EF48 0033BEA8 7C 08 03 A6 */ mtlr r0 -/* 8033EF4C 0033BEAC 38 21 00 20 */ addi r1, r1, 0x20 -/* 8033EF50 0033BEB0 4E 80 00 20 */ blr - -.global Get__12CInputStreamFPvUl -Get__12CInputStreamFPvUl: -/* 8033EF54 0033BEB4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8033EF58 0033BEB8 7C 08 02 A6 */ mflr r0 -/* 8033EF5C 0033BEBC 90 01 00 24 */ stw r0, 0x24(r1) -/* 8033EF60 0033BEC0 38 00 00 00 */ li r0, 0 -/* 8033EF64 0033BEC4 BF 61 00 0C */ stmw r27, 0xc(r1) -/* 8033EF68 0033BEC8 7C 7B 1B 78 */ mr r27, r3 -/* 8033EF6C 0033BECC 7C 9C 23 78 */ mr r28, r4 -/* 8033EF70 0033BED0 3B A0 00 00 */ li r29, 0 -/* 8033EF74 0033BED4 7C BE 2B 78 */ mr r30, r5 -/* 8033EF78 0033BED8 90 03 00 20 */ stw r0, 0x20(r3) -/* 8033EF7C 0033BEDC 48 00 00 8C */ b lbl_8033F008 -lbl_8033EF80: -/* 8033EF80 0033BEE0 80 9B 00 04 */ lwz r4, 4(r27) -/* 8033EF84 0033BEE4 80 1B 00 08 */ lwz r0, 8(r27) -/* 8033EF88 0033BEE8 7C 04 00 50 */ subf r0, r4, r0 -/* 8033EF8C 0033BEEC 7C 1E 00 40 */ cmplw r30, r0 -/* 8033EF90 0033BEF0 7C 1F 03 78 */ mr r31, r0 -/* 8033EF94 0033BEF4 40 80 00 08 */ bge lbl_8033EF9C -/* 8033EF98 0033BEF8 7F DF F3 78 */ mr r31, r30 -lbl_8033EF9C: -/* 8033EF9C 0033BEFC 28 1F 00 00 */ cmplwi r31, 0 -/* 8033EFA0 0033BF00 41 82 00 30 */ beq lbl_8033EFD0 -/* 8033EFA4 0033BF04 80 1B 00 10 */ lwz r0, 0x10(r27) -/* 8033EFA8 0033BF08 7F E5 FB 78 */ mr r5, r31 -/* 8033EFAC 0033BF0C 7C 7C EA 14 */ add r3, r28, r29 -/* 8033EFB0 0033BF10 7C 80 22 14 */ add r4, r0, r4 -/* 8033EFB4 0033BF14 4B CC 44 DD */ bl memcpy -/* 8033EFB8 0033BF18 80 1B 00 04 */ lwz r0, 4(r27) -/* 8033EFBC 0033BF1C 7F DF F0 50 */ subf r30, r31, r30 -/* 8033EFC0 0033BF20 7F BD FA 14 */ add r29, r29, r31 -/* 8033EFC4 0033BF24 7C 00 FA 14 */ add r0, r0, r31 -/* 8033EFC8 0033BF28 90 1B 00 04 */ stw r0, 4(r27) -/* 8033EFCC 0033BF2C 48 00 00 3C */ b lbl_8033F008 -lbl_8033EFD0: -/* 8033EFD0 0033BF30 28 1E 01 00 */ cmplwi r30, 0x100 -/* 8033EFD4 0033BF34 40 81 00 2C */ ble lbl_8033F000 -/* 8033EFD8 0033BF38 7F 63 DB 78 */ mr r3, r27 -/* 8033EFDC 0033BF3C 7F C5 F3 78 */ mr r5, r30 -/* 8033EFE0 0033BF40 81 9B 00 00 */ lwz r12, 0(r27) -/* 8033EFE4 0033BF44 7C 9C EA 14 */ add r4, r28, r29 -/* 8033EFE8 0033BF48 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8033EFEC 0033BF4C 7D 89 03 A6 */ mtctr r12 -/* 8033EFF0 0033BF50 4E 80 04 21 */ bctrl -/* 8033EFF4 0033BF54 7F C3 F0 50 */ subf r30, r3, r30 -/* 8033EFF8 0033BF58 7F BD 1A 14 */ add r29, r29, r3 -/* 8033EFFC 0033BF5C 48 00 00 0C */ b lbl_8033F008 -lbl_8033F000: -/* 8033F000 0033BF60 7F 63 DB 78 */ mr r3, r27 -/* 8033F004 0033BF64 48 00 00 2D */ bl GrabAnotherBlock__12CInputStreamFv -lbl_8033F008: -/* 8033F008 0033BF68 28 1E 00 00 */ cmplwi r30, 0 -/* 8033F00C 0033BF6C 40 82 FF 74 */ bne lbl_8033EF80 -/* 8033F010 0033BF70 80 1B 00 18 */ lwz r0, 0x18(r27) -/* 8033F014 0033BF74 7C 00 EA 14 */ add r0, r0, r29 -/* 8033F018 0033BF78 90 1B 00 18 */ stw r0, 0x18(r27) -/* 8033F01C 0033BF7C BB 61 00 0C */ lmw r27, 0xc(r1) -/* 8033F020 0033BF80 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8033F024 0033BF84 7C 08 03 A6 */ mtlr r0 -/* 8033F028 0033BF88 38 21 00 20 */ addi r1, r1, 0x20 -/* 8033F02C 0033BF8C 4E 80 00 20 */ blr - -.global GrabAnotherBlock__12CInputStreamFv -GrabAnotherBlock__12CInputStreamFv: -/* 8033F030 0033BF90 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8033F034 0033BF94 7C 08 02 A6 */ mflr r0 -/* 8033F038 0033BF98 90 01 00 14 */ stw r0, 0x14(r1) -/* 8033F03C 0033BF9C 48 00 00 15 */ bl InternalReadNext__12CInputStreamFv -/* 8033F040 0033BFA0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8033F044 0033BFA4 7C 08 03 A6 */ mtlr r0 -/* 8033F048 0033BFA8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8033F04C 0033BFAC 4E 80 00 20 */ blr - -.global InternalReadNext__12CInputStreamFv -InternalReadNext__12CInputStreamFv: -/* 8033F050 0033BFB0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8033F054 0033BFB4 7C 08 02 A6 */ mflr r0 -/* 8033F058 0033BFB8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8033F05C 0033BFBC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8033F060 0033BFC0 7C 7F 1B 78 */ mr r31, r3 -/* 8033F064 0033BFC4 81 83 00 00 */ lwz r12, 0(r3) -/* 8033F068 0033BFC8 80 83 00 10 */ lwz r4, 0x10(r3) -/* 8033F06C 0033BFCC 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8033F070 0033BFD0 80 A3 00 0C */ lwz r5, 0xc(r3) -/* 8033F074 0033BFD4 7D 89 03 A6 */ mtctr r12 -/* 8033F078 0033BFD8 4E 80 04 21 */ bctrl -/* 8033F07C 0033BFDC 90 7F 00 08 */ stw r3, 8(r31) -/* 8033F080 0033BFE0 38 00 00 00 */ li r0, 0 -/* 8033F084 0033BFE4 90 1F 00 04 */ stw r0, 4(r31) -/* 8033F088 0033BFE8 80 7F 00 08 */ lwz r3, 8(r31) -/* 8033F08C 0033BFEC 7C 03 00 D0 */ neg r0, r3 -/* 8033F090 0033BFF0 7C 00 1B 78 */ or r0, r0, r3 -/* 8033F094 0033BFF4 54 03 0F FE */ srwi r3, r0, 0x1f -/* 8033F098 0033BFF8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8033F09C 0033BFFC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8033F0A0 0033C000 7C 08 03 A6 */ mtlr r0 -/* 8033F0A4 0033C004 38 21 00 10 */ addi r1, r1, 0x10 -/* 8033F0A8 0033C008 4E 80 00 20 */ blr - -.global __dt__12CInputStreamFv -__dt__12CInputStreamFv: -/* 8033F0AC 0033C00C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8033F0B0 0033C010 7C 08 02 A6 */ mflr r0 -/* 8033F0B4 0033C014 90 01 00 14 */ stw r0, 0x14(r1) -/* 8033F0B8 0033C018 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8033F0BC 0033C01C 7C 9F 23 78 */ mr r31, r4 -/* 8033F0C0 0033C020 93 C1 00 08 */ stw r30, 8(r1) -/* 8033F0C4 0033C024 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8033F0C8 0033C028 41 82 00 34 */ beq lbl_8033F0FC -/* 8033F0CC 0033C02C 3C 60 80 3F */ lis r3, lbl_803EE388@ha -/* 8033F0D0 0033C030 38 03 E3 88 */ addi r0, r3, lbl_803EE388@l -/* 8033F0D4 0033C034 90 1E 00 00 */ stw r0, 0(r30) -/* 8033F0D8 0033C038 88 1E 00 14 */ lbz r0, 0x14(r30) -/* 8033F0DC 0033C03C 28 00 00 00 */ cmplwi r0, 0 -/* 8033F0E0 0033C040 41 82 00 0C */ beq lbl_8033F0EC -/* 8033F0E4 0033C044 80 7E 00 10 */ lwz r3, 0x10(r30) -/* 8033F0E8 0033C048 4B FD 68 49 */ bl Free__7CMemoryFPCv -lbl_8033F0EC: -/* 8033F0EC 0033C04C 7F E0 07 35 */ extsh. r0, r31 -/* 8033F0F0 0033C050 40 81 00 0C */ ble lbl_8033F0FC -/* 8033F0F4 0033C054 7F C3 F3 78 */ mr r3, r30 -/* 8033F0F8 0033C058 4B FD 68 39 */ bl Free__7CMemoryFPCv -lbl_8033F0FC: -/* 8033F0FC 0033C05C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8033F100 0033C060 7F C3 F3 78 */ mr r3, r30 -/* 8033F104 0033C064 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8033F108 0033C068 83 C1 00 08 */ lwz r30, 8(r1) -/* 8033F10C 0033C06C 7C 08 03 A6 */ mtlr r0 -/* 8033F110 0033C070 38 21 00 10 */ addi r1, r1, 0x10 -/* 8033F114 0033C074 4E 80 00 20 */ blr - -.global __ct__12CInputStreamFPCvib -__ct__12CInputStreamFPCvib: -/* 8033F118 0033C078 3C E0 80 3F */ lis r7, lbl_803EE388@ha -/* 8033F11C 0033C07C 38 00 00 00 */ li r0, 0 -/* 8033F120 0033C080 38 E7 E3 88 */ addi r7, r7, lbl_803EE388@l -/* 8033F124 0033C084 90 E3 00 00 */ stw r7, 0(r3) -/* 8033F128 0033C088 90 03 00 04 */ stw r0, 4(r3) -/* 8033F12C 0033C08C 90 A3 00 08 */ stw r5, 8(r3) -/* 8033F130 0033C090 90 A3 00 0C */ stw r5, 0xc(r3) -/* 8033F134 0033C094 90 83 00 10 */ stw r4, 0x10(r3) -/* 8033F138 0033C098 98 C3 00 14 */ stb r6, 0x14(r3) -/* 8033F13C 0033C09C 90 03 00 18 */ stw r0, 0x18(r3) -/* 8033F140 0033C0A0 90 03 00 1C */ stw r0, 0x1c(r3) -/* 8033F144 0033C0A4 90 03 00 20 */ stw r0, 0x20(r3) -/* 8033F148 0033C0A8 4E 80 00 20 */ blr - -.global __ct__12CInputStreamFi -__ct__12CInputStreamFi: -/* 8033F14C 0033C0AC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8033F150 0033C0B0 7C 08 02 A6 */ mflr r0 -/* 8033F154 0033C0B4 3C C0 80 3F */ lis r6, lbl_803EE388@ha -/* 8033F158 0033C0B8 3C A0 80 3D */ lis r5, lbl_803D7A68@ha -/* 8033F15C 0033C0BC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8033F160 0033C0C0 38 06 E3 88 */ addi r0, r6, lbl_803EE388@l -/* 8033F164 0033C0C4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8033F168 0033C0C8 7C 7F 1B 78 */ mr r31, r3 -/* 8033F16C 0033C0CC 7C 83 23 78 */ mr r3, r4 -/* 8033F170 0033C0D0 38 85 7A 68 */ addi r4, r5, lbl_803D7A68@l -/* 8033F174 0033C0D4 90 1F 00 00 */ stw r0, 0(r31) -/* 8033F178 0033C0D8 38 00 00 00 */ li r0, 0 -/* 8033F17C 0033C0DC 38 A0 00 00 */ li r5, 0 -/* 8033F180 0033C0E0 90 1F 00 04 */ stw r0, 4(r31) -/* 8033F184 0033C0E4 90 1F 00 08 */ stw r0, 8(r31) -/* 8033F188 0033C0E8 90 7F 00 0C */ stw r3, 0xc(r31) -/* 8033F18C 0033C0EC 4B FD 66 8D */ bl __nwa__FUlPCcPCc -/* 8033F190 0033C0F0 90 7F 00 10 */ stw r3, 0x10(r31) -/* 8033F194 0033C0F4 38 80 00 01 */ li r4, 1 -/* 8033F198 0033C0F8 38 00 00 00 */ li r0, 0 -/* 8033F19C 0033C0FC 7F E3 FB 78 */ mr r3, r31 -/* 8033F1A0 0033C100 98 9F 00 14 */ stb r4, 0x14(r31) -/* 8033F1A4 0033C104 90 1F 00 18 */ stw r0, 0x18(r31) -/* 8033F1A8 0033C108 90 1F 00 1C */ stw r0, 0x1c(r31) -/* 8033F1AC 0033C10C 90 1F 00 20 */ stw r0, 0x20(r31) -/* 8033F1B0 0033C110 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8033F1B4 0033C114 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8033F1B8 0033C118 7C 08 03 A6 */ mtlr r0 -/* 8033F1BC 0033C11C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8033F1C0 0033C120 4E 80 00 20 */ blr - -.global Read__15CMemoryInStreamFPvUl -Read__15CMemoryInStreamFPvUl: -/* 8033F1C4 0033C124 38 60 00 00 */ li r3, 0 -/* 8033F1C8 0033C128 4E 80 00 20 */ blr - -.global __ct__15CMemoryInStreamFPCvUl -__ct__15CMemoryInStreamFPCvUl: -/* 8033F1CC 0033C12C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8033F1D0 0033C130 7C 08 02 A6 */ mflr r0 -/* 8033F1D4 0033C134 38 C0 00 00 */ li r6, 0 -/* 8033F1D8 0033C138 90 01 00 14 */ stw r0, 0x14(r1) -/* 8033F1DC 0033C13C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8033F1E0 0033C140 7C 7F 1B 78 */ mr r31, r3 -/* 8033F1E4 0033C144 4B FF FF 35 */ bl __ct__12CInputStreamFPCvib -/* 8033F1E8 0033C148 3C 80 80 3F */ lis r4, __vt__15CMemoryInStream@ha -/* 8033F1EC 0033C14C 7F E3 FB 78 */ mr r3, r31 -/* 8033F1F0 0033C150 38 04 E3 98 */ addi r0, r4, __vt__15CMemoryInStream@l -/* 8033F1F4 0033C154 90 1F 00 00 */ stw r0, 0(r31) -/* 8033F1F8 0033C158 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8033F1FC 0033C15C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8033F200 0033C160 7C 08 03 A6 */ mtlr r0 -/* 8033F204 0033C164 38 21 00 10 */ addi r1, r1, 0x10 -/* 8033F208 0033C168 4E 80 00 20 */ blr - -.global __ct__15CMemoryInStreamFPvUlQ215CMemoryInStream10EOwnerShip -__ct__15CMemoryInStreamFPvUlQ215CMemoryInStream10EOwnerShip: -/* 8033F20C 0033C16C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8033F210 0033C170 7C 08 02 A6 */ mflr r0 -/* 8033F214 0033C174 90 01 00 14 */ stw r0, 0x14(r1) -/* 8033F218 0033C178 7C C0 00 34 */ cntlzw r0, r6 -/* 8033F21C 0033C17C 54 06 D9 7E */ srwi r6, r0, 5 -/* 8033F220 0033C180 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8033F224 0033C184 7C 7F 1B 78 */ mr r31, r3 -/* 8033F228 0033C188 4B FF FE F1 */ bl __ct__12CInputStreamFPCvib -/* 8033F22C 0033C18C 3C 80 80 3F */ lis r4, __vt__15CMemoryInStream@ha -/* 8033F230 0033C190 7F E3 FB 78 */ mr r3, r31 -/* 8033F234 0033C194 38 04 E3 98 */ addi r0, r4, __vt__15CMemoryInStream@l -/* 8033F238 0033C198 90 1F 00 00 */ stw r0, 0(r31) -/* 8033F23C 0033C19C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8033F240 0033C1A0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8033F244 0033C1A4 7C 08 03 A6 */ mtlr r0 -/* 8033F248 0033C1A8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8033F24C 0033C1AC 4E 80 00 20 */ blr - -.global Write__16CMemoryStreamOutFPCvUl -Write__16CMemoryStreamOutFPCvUl: -/* 8033F250 0033C1B0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8033F254 0033C1B4 7C 08 02 A6 */ mflr r0 -/* 8033F258 0033C1B8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8033F25C 0033C1BC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8033F260 0033C1C0 7C BF 2B 78 */ mr r31, r5 -/* 8033F264 0033C1C4 93 C1 00 08 */ stw r30, 8(r1) -/* 8033F268 0033C1C8 7C 7E 1B 78 */ mr r30, r3 -/* 8033F26C 0033C1CC 80 63 00 84 */ lwz r3, 0x84(r3) -/* 8033F270 0033C1D0 80 1E 00 80 */ lwz r0, 0x80(r30) -/* 8033F274 0033C1D4 7C 03 00 50 */ subf r0, r3, r0 -/* 8033F278 0033C1D8 7C 00 28 40 */ cmplw r0, r5 -/* 8033F27C 0033C1DC 40 80 00 08 */ bge lbl_8033F284 -/* 8033F280 0033C1E0 7C 1F 03 78 */ mr r31, r0 -lbl_8033F284: -/* 8033F284 0033C1E4 28 1F 00 00 */ cmplwi r31, 0 -/* 8033F288 0033C1E8 41 82 00 20 */ beq lbl_8033F2A8 -/* 8033F28C 0033C1EC 80 1E 00 7C */ lwz r0, 0x7c(r30) -/* 8033F290 0033C1F0 7F E5 FB 78 */ mr r5, r31 -/* 8033F294 0033C1F4 7C 60 1A 14 */ add r3, r0, r3 -/* 8033F298 0033C1F8 4B CC 41 F9 */ bl memcpy -/* 8033F29C 0033C1FC 80 1E 00 84 */ lwz r0, 0x84(r30) -/* 8033F2A0 0033C200 7C 00 FA 14 */ add r0, r0, r31 -/* 8033F2A4 0033C204 90 1E 00 84 */ stw r0, 0x84(r30) -lbl_8033F2A8: -/* 8033F2A8 0033C208 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8033F2AC 0033C20C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8033F2B0 0033C210 83 C1 00 08 */ lwz r30, 8(r1) -/* 8033F2B4 0033C214 7C 08 03 A6 */ mtlr r0 -/* 8033F2B8 0033C218 38 21 00 10 */ addi r1, r1, 0x10 -/* 8033F2BC 0033C21C 4E 80 00 20 */ blr - -.global __dt__16CMemoryStreamOutFv -__dt__16CMemoryStreamOutFv: -/* 8033F2C0 0033C220 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8033F2C4 0033C224 7C 08 02 A6 */ mflr r0 -/* 8033F2C8 0033C228 90 01 00 14 */ stw r0, 0x14(r1) -/* 8033F2CC 0033C22C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8033F2D0 0033C230 7C 9F 23 78 */ mr r31, r4 -/* 8033F2D4 0033C234 93 C1 00 08 */ stw r30, 8(r1) -/* 8033F2D8 0033C238 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8033F2DC 0033C23C 41 82 00 44 */ beq lbl_8033F320 -/* 8033F2E0 0033C240 3C 80 80 3F */ lis r4, lbl_803EE3A8@ha -/* 8033F2E4 0033C244 38 04 E3 A8 */ addi r0, r4, lbl_803EE3A8@l -/* 8033F2E8 0033C248 90 1E 00 00 */ stw r0, 0(r30) -/* 8033F2EC 0033C24C 48 00 02 89 */ bl Flush__13COutputStreamFv -/* 8033F2F0 0033C250 88 1E 00 88 */ lbz r0, 0x88(r30) -/* 8033F2F4 0033C254 28 00 00 00 */ cmplwi r0, 0 -/* 8033F2F8 0033C258 41 82 00 0C */ beq lbl_8033F304 -/* 8033F2FC 0033C25C 80 7E 00 7C */ lwz r3, 0x7c(r30) -/* 8033F300 0033C260 4B FD 66 31 */ bl Free__7CMemoryFPCv -lbl_8033F304: -/* 8033F304 0033C264 7F C3 F3 78 */ mr r3, r30 -/* 8033F308 0033C268 38 80 00 00 */ li r4, 0 -/* 8033F30C 0033C26C 48 00 03 85 */ bl __dt__13COutputStreamFv -/* 8033F310 0033C270 7F E0 07 35 */ extsh. r0, r31 -/* 8033F314 0033C274 40 81 00 0C */ ble lbl_8033F320 -/* 8033F318 0033C278 7F C3 F3 78 */ mr r3, r30 -/* 8033F31C 0033C27C 4B FD 66 15 */ bl Free__7CMemoryFPCv -lbl_8033F320: -/* 8033F320 0033C280 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8033F324 0033C284 7F C3 F3 78 */ mr r3, r30 -/* 8033F328 0033C288 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8033F32C 0033C28C 83 C1 00 08 */ lwz r30, 8(r1) -/* 8033F330 0033C290 7C 08 03 A6 */ mtlr r0 -/* 8033F334 0033C294 38 21 00 10 */ addi r1, r1, 0x10 -/* 8033F338 0033C298 4E 80 00 20 */ blr - -.global __ct__16CMemoryStreamOutFPvUlQ216CMemoryStreamOut10EOwnerShipi -__ct__16CMemoryStreamOutFPvUlQ216CMemoryStreamOut10EOwnerShipi: -/* 8033F33C 0033C29C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8033F340 0033C2A0 7C 08 02 A6 */ mflr r0 -/* 8033F344 0033C2A4 90 01 00 24 */ stw r0, 0x24(r1) -/* 8033F348 0033C2A8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8033F34C 0033C2AC 7C DF 33 78 */ mr r31, r6 -/* 8033F350 0033C2B0 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8033F354 0033C2B4 7C BE 2B 78 */ mr r30, r5 -/* 8033F358 0033C2B8 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8033F35C 0033C2BC 7C 9D 23 78 */ mr r29, r4 -/* 8033F360 0033C2C0 7C E4 3B 78 */ mr r4, r7 -/* 8033F364 0033C2C4 93 81 00 10 */ stw r28, 0x10(r1) -/* 8033F368 0033C2C8 7C 7C 1B 78 */ mr r28, r3 -/* 8033F36C 0033C2CC 48 00 03 91 */ bl __ct__13COutputStreamFi -/* 8033F370 0033C2D0 3C 60 80 3F */ lis r3, lbl_803EE3A8@ha -/* 8033F374 0033C2D4 7F E0 00 34 */ cntlzw r0, r31 -/* 8033F378 0033C2D8 38 63 E3 A8 */ addi r3, r3, lbl_803EE3A8@l -/* 8033F37C 0033C2DC 38 80 00 00 */ li r4, 0 -/* 8033F380 0033C2E0 90 7C 00 00 */ stw r3, 0(r28) -/* 8033F384 0033C2E4 54 00 D9 7E */ srwi r0, r0, 5 -/* 8033F388 0033C2E8 7F 83 E3 78 */ mr r3, r28 -/* 8033F38C 0033C2EC 93 BC 00 7C */ stw r29, 0x7c(r28) -/* 8033F390 0033C2F0 93 DC 00 80 */ stw r30, 0x80(r28) -/* 8033F394 0033C2F4 90 9C 00 84 */ stw r4, 0x84(r28) -/* 8033F398 0033C2F8 98 1C 00 88 */ stb r0, 0x88(r28) -/* 8033F39C 0033C2FC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8033F3A0 0033C300 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8033F3A4 0033C304 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8033F3A8 0033C308 83 81 00 10 */ lwz r28, 0x10(r1) -/* 8033F3AC 0033C30C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8033F3B0 0033C310 7C 08 03 A6 */ mtlr r0 -/* 8033F3B4 0033C314 38 21 00 20 */ addi r1, r1, 0x20 -/* 8033F3B8 0033C318 4E 80 00 20 */ blr - -.global WriteBits__13COutputStreamFii -WriteBits__13COutputStreamFii: -/* 8033F3BC 0033C31C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8033F3C0 0033C320 7C 08 02 A6 */ mflr r0 -/* 8033F3C4 0033C324 90 01 00 24 */ stw r0, 0x24(r1) -/* 8033F3C8 0033C328 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8033F3CC 0033C32C 7C 9F 23 78 */ mr r31, r4 -/* 8033F3D0 0033C330 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8033F3D4 0033C334 7C 7E 1B 78 */ mr r30, r3 -/* 8033F3D8 0033C338 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8033F3DC 0033C33C 80 63 00 18 */ lwz r3, 0x18(r3) -/* 8033F3E0 0033C340 7C 03 28 40 */ cmplw r3, r5 -/* 8033F3E4 0033C344 41 80 00 44 */ blt lbl_8033F428 -/* 8033F3E8 0033C348 28 05 00 20 */ cmplwi r5, 0x20 -/* 8033F3EC 0033C34C 80 9E 00 14 */ lwz r4, 0x14(r30) -/* 8033F3F0 0033C350 7C C5 18 50 */ subf r6, r5, r3 -/* 8033F3F4 0033C354 38 00 FF FF */ li r0, -1 -/* 8033F3F8 0033C358 41 82 00 10 */ beq lbl_8033F408 -/* 8033F3FC 0033C35C 38 00 00 01 */ li r0, 1 -/* 8033F400 0033C360 7C 03 28 30 */ slw r3, r0, r5 -/* 8033F404 0033C364 38 03 FF FF */ addi r0, r3, -1 -lbl_8033F408: -/* 8033F408 0033C368 7F E0 00 38 */ and r0, r31, r0 -/* 8033F40C 0033C36C 7C 00 30 30 */ slw r0, r0, r6 -/* 8033F410 0033C370 7C 80 03 78 */ or r0, r4, r0 -/* 8033F414 0033C374 90 1E 00 14 */ stw r0, 0x14(r30) -/* 8033F418 0033C378 80 1E 00 18 */ lwz r0, 0x18(r30) -/* 8033F41C 0033C37C 7C 05 00 50 */ subf r0, r5, r0 -/* 8033F420 0033C380 90 1E 00 18 */ stw r0, 0x18(r30) -/* 8033F424 0033C384 48 00 00 78 */ b lbl_8033F49C -lbl_8033F428: -/* 8033F428 0033C388 28 03 00 20 */ cmplwi r3, 0x20 -/* 8033F42C 0033C38C 7F A3 28 50 */ subf r29, r3, r5 -/* 8033F430 0033C390 80 9E 00 14 */ lwz r4, 0x14(r30) -/* 8033F434 0033C394 7F E5 EC 30 */ srw r5, r31, r29 -/* 8033F438 0033C398 38 00 FF FF */ li r0, -1 -/* 8033F43C 0033C39C 41 82 00 10 */ beq lbl_8033F44C -/* 8033F440 0033C3A0 38 00 00 01 */ li r0, 1 -/* 8033F444 0033C3A4 7C 03 18 30 */ slw r3, r0, r3 -/* 8033F448 0033C3A8 38 03 FF FF */ addi r0, r3, -1 -lbl_8033F44C: -/* 8033F44C 0033C3AC 7C A3 00 38 */ and r3, r5, r0 -/* 8033F450 0033C3B0 38 00 00 00 */ li r0, 0 -/* 8033F454 0033C3B4 7C 84 1B 78 */ or r4, r4, r3 -/* 8033F458 0033C3B8 7F C3 F3 78 */ mr r3, r30 -/* 8033F45C 0033C3BC 90 9E 00 14 */ stw r4, 0x14(r30) -/* 8033F460 0033C3C0 90 1E 00 18 */ stw r0, 0x18(r30) -/* 8033F464 0033C3C4 48 00 00 55 */ bl FlushShiftRegister__13COutputStreamFv -/* 8033F468 0033C3C8 28 1D 00 20 */ cmplwi r29, 0x20 -/* 8033F46C 0033C3CC 20 9D 00 20 */ subfic r4, r29, 0x20 -/* 8033F470 0033C3D0 38 00 FF FF */ li r0, -1 -/* 8033F474 0033C3D4 41 82 00 10 */ beq lbl_8033F484 -/* 8033F478 0033C3D8 38 00 00 01 */ li r0, 1 -/* 8033F47C 0033C3DC 7C 03 E8 30 */ slw r3, r0, r29 -/* 8033F480 0033C3E0 38 03 FF FF */ addi r0, r3, -1 -lbl_8033F484: -/* 8033F484 0033C3E4 7F E0 00 38 */ and r0, r31, r0 -/* 8033F488 0033C3E8 7C 00 20 30 */ slw r0, r0, r4 -/* 8033F48C 0033C3EC 90 1E 00 14 */ stw r0, 0x14(r30) -/* 8033F490 0033C3F0 80 1E 00 18 */ lwz r0, 0x18(r30) -/* 8033F494 0033C3F4 7C 1D 00 50 */ subf r0, r29, r0 -/* 8033F498 0033C3F8 90 1E 00 18 */ stw r0, 0x18(r30) -lbl_8033F49C: -/* 8033F49C 0033C3FC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8033F4A0 0033C400 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8033F4A4 0033C404 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8033F4A8 0033C408 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8033F4AC 0033C40C 7C 08 03 A6 */ mtlr r0 -/* 8033F4B0 0033C410 38 21 00 20 */ addi r1, r1, 0x20 -/* 8033F4B4 0033C414 4E 80 00 20 */ blr - -.global FlushShiftRegister__13COutputStreamFv -FlushShiftRegister__13COutputStreamFv: -/* 8033F4B8 0033C418 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8033F4BC 0033C41C 7C 08 02 A6 */ mflr r0 -/* 8033F4C0 0033C420 90 01 00 14 */ stw r0, 0x14(r1) -/* 8033F4C4 0033C424 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8033F4C8 0033C428 7C 7F 1B 78 */ mr r31, r3 -/* 8033F4CC 0033C42C 80 03 00 18 */ lwz r0, 0x18(r3) -/* 8033F4D0 0033C430 28 00 00 20 */ cmplwi r0, 0x20 -/* 8033F4D4 0033C434 40 80 00 3C */ bge lbl_8033F510 -/* 8033F4D8 0033C438 80 1F 00 18 */ lwz r0, 0x18(r31) -/* 8033F4DC 0033C43C 38 9F 00 14 */ addi r4, r31, 0x14 -/* 8033F4E0 0033C440 20 C0 00 20 */ subfic r6, r0, 0x20 -/* 8033F4E4 0033C444 54 C5 07 7E */ clrlwi r5, r6, 0x1d -/* 8033F4E8 0033C448 7C 05 00 D0 */ neg r0, r5 -/* 8033F4EC 0033C44C 54 C6 E8 FE */ srwi r6, r6, 3 -/* 8033F4F0 0033C450 7C 00 2B 78 */ or r0, r0, r5 -/* 8033F4F4 0033C454 54 00 0F FE */ srwi r0, r0, 0x1f -/* 8033F4F8 0033C458 7C A6 02 14 */ add r5, r6, r0 -/* 8033F4FC 0033C45C 48 00 00 AD */ bl DoPut__13COutputStreamFPCvUl -/* 8033F500 0033C460 38 60 00 00 */ li r3, 0 -/* 8033F504 0033C464 38 00 00 20 */ li r0, 0x20 -/* 8033F508 0033C468 90 7F 00 14 */ stw r3, 0x14(r31) -/* 8033F50C 0033C46C 90 1F 00 18 */ stw r0, 0x18(r31) -lbl_8033F510: -/* 8033F510 0033C470 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8033F514 0033C474 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8033F518 0033C478 7C 08 03 A6 */ mtlr r0 -/* 8033F51C 0033C47C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8033F520 0033C480 4E 80 00 20 */ blr - -.global DoFlush__13COutputStreamFv -DoFlush__13COutputStreamFv: -/* 8033F524 0033C484 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8033F528 0033C488 7C 08 02 A6 */ mflr r0 -/* 8033F52C 0033C48C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8033F530 0033C490 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8033F534 0033C494 7C 7F 1B 78 */ mr r31, r3 -/* 8033F538 0033C498 80 A3 00 04 */ lwz r5, 4(r3) -/* 8033F53C 0033C49C 28 05 00 00 */ cmplwi r5, 0 -/* 8033F540 0033C4A0 41 82 00 20 */ beq lbl_8033F560 -/* 8033F544 0033C4A4 81 83 00 00 */ lwz r12, 0(r3) -/* 8033F548 0033C4A8 80 9F 00 0C */ lwz r4, 0xc(r31) -/* 8033F54C 0033C4AC 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8033F550 0033C4B0 7D 89 03 A6 */ mtctr r12 -/* 8033F554 0033C4B4 4E 80 04 21 */ bctrl -/* 8033F558 0033C4B8 38 00 00 00 */ li r0, 0 -/* 8033F55C 0033C4BC 90 1F 00 04 */ stw r0, 4(r31) -lbl_8033F560: -/* 8033F560 0033C4C0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8033F564 0033C4C4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8033F568 0033C4C8 7C 08 03 A6 */ mtlr r0 -/* 8033F56C 0033C4CC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8033F570 0033C4D0 4E 80 00 20 */ blr - -.global Flush__13COutputStreamFv -Flush__13COutputStreamFv: -/* 8033F574 0033C4D4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8033F578 0033C4D8 7C 08 02 A6 */ mflr r0 -/* 8033F57C 0033C4DC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8033F580 0033C4E0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8033F584 0033C4E4 7C 7F 1B 78 */ mr r31, r3 -/* 8033F588 0033C4E8 4B FF FF 31 */ bl FlushShiftRegister__13COutputStreamFv -/* 8033F58C 0033C4EC 7F E3 FB 78 */ mr r3, r31 -/* 8033F590 0033C4F0 4B FF FF 95 */ bl DoFlush__13COutputStreamFv -/* 8033F594 0033C4F4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8033F598 0033C4F8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8033F59C 0033C4FC 7C 08 03 A6 */ mtlr r0 -/* 8033F5A0 0033C500 38 21 00 10 */ addi r1, r1, 0x10 -/* 8033F5A4 0033C504 4E 80 00 20 */ blr - -.global DoPut__13COutputStreamFPCvUl -DoPut__13COutputStreamFPCvUl: -/* 8033F5A8 0033C508 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8033F5AC 0033C50C 7C 08 02 A6 */ mflr r0 -/* 8033F5B0 0033C510 90 01 00 24 */ stw r0, 0x24(r1) -/* 8033F5B4 0033C514 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8033F5B8 0033C518 7C 7F 1B 78 */ mr r31, r3 -/* 8033F5BC 0033C51C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8033F5C0 0033C520 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8033F5C4 0033C524 93 81 00 10 */ stw r28, 0x10(r1) -/* 8033F5C8 0033C528 7C BC 2B 79 */ or. r28, r5, r5 -/* 8033F5CC 0033C52C 41 82 00 A4 */ beq lbl_8033F670 -/* 8033F5D0 0033C530 80 1F 00 10 */ lwz r0, 0x10(r31) -/* 8033F5D4 0033C534 7C 00 E2 14 */ add r0, r0, r28 -/* 8033F5D8 0033C538 90 1F 00 10 */ stw r0, 0x10(r31) -/* 8033F5DC 0033C53C 80 DF 00 04 */ lwz r6, 4(r31) -/* 8033F5E0 0033C540 80 1F 00 08 */ lwz r0, 8(r31) -/* 8033F5E4 0033C544 7C 7C 32 14 */ add r3, r28, r6 -/* 8033F5E8 0033C548 7C 03 00 40 */ cmplw r3, r0 -/* 8033F5EC 0033C54C 41 81 00 20 */ bgt lbl_8033F60C -/* 8033F5F0 0033C550 80 1F 00 0C */ lwz r0, 0xc(r31) -/* 8033F5F4 0033C554 7C 60 32 14 */ add r3, r0, r6 -/* 8033F5F8 0033C558 4B CC 3E 99 */ bl memcpy -/* 8033F5FC 0033C55C 80 1F 00 04 */ lwz r0, 4(r31) -/* 8033F600 0033C560 7C 00 E2 14 */ add r0, r0, r28 -/* 8033F604 0033C564 90 1F 00 04 */ stw r0, 4(r31) -/* 8033F608 0033C568 48 00 00 68 */ b lbl_8033F670 -lbl_8033F60C: -/* 8033F60C 0033C56C 7F A4 E2 14 */ add r29, r4, r28 -/* 8033F610 0033C570 48 00 00 58 */ b lbl_8033F668 -lbl_8033F614: -/* 8033F614 0033C574 80 7F 00 04 */ lwz r3, 4(r31) -/* 8033F618 0033C578 80 1F 00 08 */ lwz r0, 8(r31) -/* 8033F61C 0033C57C 7C 03 00 50 */ subf r0, r3, r0 -/* 8033F620 0033C580 7C 1C 00 40 */ cmplw r28, r0 -/* 8033F624 0033C584 7C 1E 03 78 */ mr r30, r0 -/* 8033F628 0033C588 40 80 00 08 */ bge lbl_8033F630 -/* 8033F62C 0033C58C 7F 9E E3 78 */ mr r30, r28 -lbl_8033F630: -/* 8033F630 0033C590 28 1E 00 00 */ cmplwi r30, 0 -/* 8033F634 0033C594 41 82 00 2C */ beq lbl_8033F660 -/* 8033F638 0033C598 80 1F 00 0C */ lwz r0, 0xc(r31) -/* 8033F63C 0033C59C 7F C5 F3 78 */ mr r5, r30 -/* 8033F640 0033C5A0 7C 9C E8 50 */ subf r4, r28, r29 -/* 8033F644 0033C5A4 7C 60 1A 14 */ add r3, r0, r3 -/* 8033F648 0033C5A8 4B CC 3E 49 */ bl memcpy -/* 8033F64C 0033C5AC 80 1F 00 04 */ lwz r0, 4(r31) -/* 8033F650 0033C5B0 7F 9E E0 50 */ subf r28, r30, r28 -/* 8033F654 0033C5B4 7C 00 F2 14 */ add r0, r0, r30 -/* 8033F658 0033C5B8 90 1F 00 04 */ stw r0, 4(r31) -/* 8033F65C 0033C5BC 48 00 00 0C */ b lbl_8033F668 -lbl_8033F660: -/* 8033F660 0033C5C0 7F E3 FB 78 */ mr r3, r31 -/* 8033F664 0033C5C4 4B FF FE C1 */ bl DoFlush__13COutputStreamFv -lbl_8033F668: -/* 8033F668 0033C5C8 28 1C 00 00 */ cmplwi r28, 0 -/* 8033F66C 0033C5CC 40 82 FF A8 */ bne lbl_8033F614 -lbl_8033F670: -/* 8033F670 0033C5D0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8033F674 0033C5D4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8033F678 0033C5D8 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8033F67C 0033C5DC 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8033F680 0033C5E0 83 81 00 10 */ lwz r28, 0x10(r1) -/* 8033F684 0033C5E4 7C 08 03 A6 */ mtlr r0 -/* 8033F688 0033C5E8 38 21 00 20 */ addi r1, r1, 0x20 -/* 8033F68C 0033C5EC 4E 80 00 20 */ blr - -.global __dt__13COutputStreamFv -__dt__13COutputStreamFv: -/* 8033F690 0033C5F0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8033F694 0033C5F4 7C 08 02 A6 */ mflr r0 -/* 8033F698 0033C5F8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8033F69C 0033C5FC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8033F6A0 0033C600 7C 9F 23 78 */ mr r31, r4 -/* 8033F6A4 0033C604 93 C1 00 08 */ stw r30, 8(r1) -/* 8033F6A8 0033C608 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8033F6AC 0033C60C 41 82 00 34 */ beq lbl_8033F6E0 -/* 8033F6B0 0033C610 3C 60 80 3F */ lis r3, lbl_803EE3B8@ha -/* 8033F6B4 0033C614 38 03 E3 B8 */ addi r0, r3, lbl_803EE3B8@l -/* 8033F6B8 0033C618 90 1E 00 00 */ stw r0, 0(r30) -/* 8033F6BC 0033C61C 80 1E 00 08 */ lwz r0, 8(r30) -/* 8033F6C0 0033C620 28 00 00 40 */ cmplwi r0, 0x40 -/* 8033F6C4 0033C624 40 81 00 0C */ ble lbl_8033F6D0 -/* 8033F6C8 0033C628 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 8033F6CC 0033C62C 4B FD 62 65 */ bl Free__7CMemoryFPCv -lbl_8033F6D0: -/* 8033F6D0 0033C630 7F E0 07 35 */ extsh. r0, r31 -/* 8033F6D4 0033C634 40 81 00 0C */ ble lbl_8033F6E0 -/* 8033F6D8 0033C638 7F C3 F3 78 */ mr r3, r30 -/* 8033F6DC 0033C63C 4B FD 62 55 */ bl Free__7CMemoryFPCv -lbl_8033F6E0: -/* 8033F6E0 0033C640 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8033F6E4 0033C644 7F C3 F3 78 */ mr r3, r30 -/* 8033F6E8 0033C648 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8033F6EC 0033C64C 83 C1 00 08 */ lwz r30, 8(r1) -/* 8033F6F0 0033C650 7C 08 03 A6 */ mtlr r0 -/* 8033F6F4 0033C654 38 21 00 10 */ addi r1, r1, 0x10 -/* 8033F6F8 0033C658 4E 80 00 20 */ blr - -.global __ct__13COutputStreamFi -__ct__13COutputStreamFi: -/* 8033F6FC 0033C65C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8033F700 0033C660 7C 08 02 A6 */ mflr r0 -/* 8033F704 0033C664 3C A0 80 3F */ lis r5, lbl_803EE3B8@ha -/* 8033F708 0033C668 2C 04 00 40 */ cmpwi r4, 0x40 -/* 8033F70C 0033C66C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8033F710 0033C670 38 00 00 00 */ li r0, 0 -/* 8033F714 0033C674 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8033F718 0033C678 7C 7F 1B 78 */ mr r31, r3 -/* 8033F71C 0033C67C 38 65 E3 B8 */ addi r3, r5, lbl_803EE3B8@l -/* 8033F720 0033C680 90 7F 00 00 */ stw r3, 0(r31) -/* 8033F724 0033C684 90 1F 00 04 */ stw r0, 4(r31) -/* 8033F728 0033C688 90 9F 00 08 */ stw r4, 8(r31) -/* 8033F72C 0033C68C 40 81 00 1C */ ble lbl_8033F748 -/* 8033F730 0033C690 3C A0 80 3D */ lis r5, lbl_803D7A70@ha -/* 8033F734 0033C694 7C 83 23 78 */ mr r3, r4 -/* 8033F738 0033C698 38 85 7A 70 */ addi r4, r5, lbl_803D7A70@l -/* 8033F73C 0033C69C 38 A0 00 00 */ li r5, 0 -/* 8033F740 0033C6A0 4B FD 60 D9 */ bl __nwa__FUlPCcPCc -/* 8033F744 0033C6A4 48 00 00 38 */ b lbl_8033F77C -lbl_8033F748: -/* 8033F748 0033C6A8 3C 60 08 42 */ lis r3, 0x08421085@ha -/* 8033F74C 0033C6AC 38 9F 00 1C */ addi r4, r31, 0x1c -/* 8033F750 0033C6B0 38 03 10 85 */ addi r0, r3, 0x08421085@l -/* 8033F754 0033C6B4 7C 60 20 16 */ mulhwu r3, r0, r4 -/* 8033F758 0033C6B8 7C 03 20 50 */ subf r0, r3, r4 -/* 8033F75C 0033C6BC 54 00 F8 7E */ srwi r0, r0, 1 -/* 8033F760 0033C6C0 7C 00 1A 14 */ add r0, r0, r3 -/* 8033F764 0033C6C4 54 00 E1 3E */ srwi r0, r0, 4 -/* 8033F768 0033C6C8 1C 00 00 1F */ mulli r0, r0, 0x1f -/* 8033F76C 0033C6CC 7C 00 20 50 */ subf r0, r0, r4 -/* 8033F770 0033C6D0 20 60 00 20 */ subfic r3, r0, 0x20 -/* 8033F774 0033C6D4 38 63 00 1C */ addi r3, r3, 0x1c -/* 8033F778 0033C6D8 7C 7F 1A 14 */ add r3, r31, r3 -lbl_8033F77C: -/* 8033F77C 0033C6DC 90 7F 00 0C */ stw r3, 0xc(r31) -/* 8033F780 0033C6E0 38 80 00 00 */ li r4, 0 -/* 8033F784 0033C6E4 38 00 00 20 */ li r0, 0x20 -/* 8033F788 0033C6E8 7F E3 FB 78 */ mr r3, r31 -/* 8033F78C 0033C6EC 90 9F 00 10 */ stw r4, 0x10(r31) -/* 8033F790 0033C6F0 90 9F 00 14 */ stw r4, 0x14(r31) -/* 8033F794 0033C6F4 90 1F 00 18 */ stw r0, 0x18(r31) -/* 8033F798 0033C6F8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8033F79C 0033C6FC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8033F7A0 0033C700 7C 08 03 A6 */ mtlr r0 -/* 8033F7A4 0033C704 38 21 00 10 */ addi r1, r1, 0x10 -/* 8033F7A8 0033C708 4E 80 00 20 */ blr - -.global Read__15CZipInputStreamFPvUl -Read__15CZipInputStreamFPvUl: -/* 8033F7AC 0033C70C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8033F7B0 0033C710 7C 08 02 A6 */ mflr r0 -/* 8033F7B4 0033C714 90 01 00 24 */ stw r0, 0x24(r1) -/* 8033F7B8 0033C718 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8033F7BC 0033C71C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8033F7C0 0033C720 7C BE 2B 78 */ mr r30, r5 -/* 8033F7C4 0033C724 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8033F7C8 0033C728 7C 7D 1B 78 */ mr r29, r3 -/* 8033F7CC 0033C72C 80 63 00 30 */ lwz r3, 0x30(r3) -/* 8033F7D0 0033C730 90 83 00 0C */ stw r4, 0xc(r3) -/* 8033F7D4 0033C734 80 7D 00 30 */ lwz r3, 0x30(r29) -/* 8033F7D8 0033C738 93 C3 00 10 */ stw r30, 0x10(r3) -/* 8033F7DC 0033C73C 83 FD 00 30 */ lwz r31, 0x30(r29) -/* 8033F7E0 0033C740 80 1F 00 04 */ lwz r0, 4(r31) -/* 8033F7E4 0033C744 28 00 00 00 */ cmplwi r0, 0 -/* 8033F7E8 0033C748 40 82 00 24 */ bne lbl_8033F80C -/* 8033F7EC 0033C74C 80 7D 00 2C */ lwz r3, 0x2c(r29) -/* 8033F7F0 0033C750 38 A0 10 00 */ li r5, 0x1000 -/* 8033F7F4 0033C754 80 9D 00 24 */ lwz r4, 0x24(r29) -/* 8033F7F8 0033C758 4B FF F6 89 */ bl ReadBytes__12CInputStreamFPvUl -/* 8033F7FC 0033C75C 90 7F 00 04 */ stw r3, 4(r31) -/* 8033F800 0033C760 80 1D 00 24 */ lwz r0, 0x24(r29) -/* 8033F804 0033C764 80 7D 00 30 */ lwz r3, 0x30(r29) -/* 8033F808 0033C768 90 03 00 00 */ stw r0, 0(r3) -lbl_8033F80C: -/* 8033F80C 0033C76C 80 7D 00 30 */ lwz r3, 0x30(r29) -/* 8033F810 0033C770 38 80 00 00 */ li r4, 0 -/* 8033F814 0033C774 48 00 3B 49 */ bl inflate -/* 8033F818 0033C778 80 7D 00 30 */ lwz r3, 0x30(r29) -/* 8033F81C 0033C77C 80 03 00 10 */ lwz r0, 0x10(r3) -/* 8033F820 0033C780 7C 60 F0 50 */ subf r3, r0, r30 -/* 8033F824 0033C784 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8033F828 0033C788 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8033F82C 0033C78C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8033F830 0033C790 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8033F834 0033C794 7C 08 03 A6 */ mtlr r0 -/* 8033F838 0033C798 38 21 00 20 */ addi r1, r1, 0x20 -/* 8033F83C 0033C79C 4E 80 00 20 */ blr - -.global __dt__15CZipInputStreamFv -__dt__15CZipInputStreamFv: -/* 8033F840 0033C7A0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8033F844 0033C7A4 7C 08 02 A6 */ mflr r0 -/* 8033F848 0033C7A8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8033F84C 0033C7AC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8033F850 0033C7B0 7C 9F 23 78 */ mr r31, r4 -/* 8033F854 0033C7B4 93 C1 00 08 */ stw r30, 8(r1) -/* 8033F858 0033C7B8 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8033F85C 0033C7BC 41 82 00 88 */ beq lbl_8033F8E4 -/* 8033F860 0033C7C0 3C 60 80 3F */ lis r3, lbl_803EE3C8@ha -/* 8033F864 0033C7C4 38 03 E3 C8 */ addi r0, r3, lbl_803EE3C8@l -/* 8033F868 0033C7C8 90 1E 00 00 */ stw r0, 0(r30) -/* 8033F86C 0033C7CC 80 7E 00 30 */ lwz r3, 0x30(r30) -/* 8033F870 0033C7D0 48 00 42 D1 */ bl inflateEnd -/* 8033F874 0033C7D4 34 1E 00 30 */ addic. r0, r30, 0x30 -/* 8033F878 0033C7D8 41 82 00 0C */ beq lbl_8033F884 -/* 8033F87C 0033C7DC 80 7E 00 30 */ lwz r3, 0x30(r30) -/* 8033F880 0033C7E0 4B FD 60 B1 */ bl Free__7CMemoryFPCv -lbl_8033F884: -/* 8033F884 0033C7E4 34 1E 00 28 */ addic. r0, r30, 0x28 -/* 8033F888 0033C7E8 41 82 00 30 */ beq lbl_8033F8B8 -/* 8033F88C 0033C7EC 88 1E 00 28 */ lbz r0, 0x28(r30) -/* 8033F890 0033C7F0 28 00 00 00 */ cmplwi r0, 0 -/* 8033F894 0033C7F4 41 82 00 24 */ beq lbl_8033F8B8 -/* 8033F898 0033C7F8 80 7E 00 2C */ lwz r3, 0x2c(r30) -/* 8033F89C 0033C7FC 28 03 00 00 */ cmplwi r3, 0 -/* 8033F8A0 0033C800 41 82 00 18 */ beq lbl_8033F8B8 -/* 8033F8A4 0033C804 81 83 00 00 */ lwz r12, 0(r3) -/* 8033F8A8 0033C808 38 80 00 01 */ li r4, 1 -/* 8033F8AC 0033C80C 81 8C 00 08 */ lwz r12, 8(r12) -/* 8033F8B0 0033C810 7D 89 03 A6 */ mtctr r12 -/* 8033F8B4 0033C814 4E 80 04 21 */ bctrl -lbl_8033F8B8: -/* 8033F8B8 0033C818 34 1E 00 24 */ addic. r0, r30, 0x24 -/* 8033F8BC 0033C81C 41 82 00 0C */ beq lbl_8033F8C8 -/* 8033F8C0 0033C820 80 7E 00 24 */ lwz r3, 0x24(r30) -/* 8033F8C4 0033C824 4B FD 60 6D */ bl Free__7CMemoryFPCv -lbl_8033F8C8: -/* 8033F8C8 0033C828 7F C3 F3 78 */ mr r3, r30 -/* 8033F8CC 0033C82C 38 80 00 00 */ li r4, 0 -/* 8033F8D0 0033C830 4B FF F7 DD */ bl __dt__12CInputStreamFv -/* 8033F8D4 0033C834 7F E0 07 35 */ extsh. r0, r31 -/* 8033F8D8 0033C838 40 81 00 0C */ ble lbl_8033F8E4 -/* 8033F8DC 0033C83C 7F C3 F3 78 */ mr r3, r30 -/* 8033F8E0 0033C840 4B FD 60 51 */ bl Free__7CMemoryFPCv -lbl_8033F8E4: -/* 8033F8E4 0033C844 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8033F8E8 0033C848 7F C3 F3 78 */ mr r3, r30 -/* 8033F8EC 0033C84C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8033F8F0 0033C850 83 C1 00 08 */ lwz r30, 8(r1) -/* 8033F8F4 0033C854 7C 08 03 A6 */ mtlr r0 -/* 8033F8F8 0033C858 38 21 00 10 */ addi r1, r1, 0x10 -/* 8033F8FC 0033C85C 4E 80 00 20 */ blr - -.global "__ct__15CZipInputStreamFQ24rstl24auto_ptr<12CInputStream>" -"__ct__15CZipInputStreamFQ24rstl24auto_ptr<12CInputStream>": -/* 8033F900 0033C860 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8033F904 0033C864 7C 08 02 A6 */ mflr r0 -/* 8033F908 0033C868 90 01 00 14 */ stw r0, 0x14(r1) -/* 8033F90C 0033C86C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8033F910 0033C870 7C 7F 1B 78 */ mr r31, r3 -/* 8033F914 0033C874 93 C1 00 08 */ stw r30, 8(r1) -/* 8033F918 0033C878 7C 9E 23 78 */ mr r30, r4 -/* 8033F91C 0033C87C 38 80 10 00 */ li r4, 0x1000 -/* 8033F920 0033C880 4B FF F8 2D */ bl __ct__12CInputStreamFi -/* 8033F924 0033C884 3C 60 80 3F */ lis r3, lbl_803EE3C8@ha -/* 8033F928 0033C888 3C 80 80 3D */ lis r4, lbl_803D7A78@ha -/* 8033F92C 0033C88C 38 03 E3 C8 */ addi r0, r3, lbl_803EE3C8@l -/* 8033F930 0033C890 38 A0 00 00 */ li r5, 0 -/* 8033F934 0033C894 90 1F 00 00 */ stw r0, 0(r31) -/* 8033F938 0033C898 38 60 10 00 */ li r3, 0x1000 -/* 8033F93C 0033C89C 38 84 7A 78 */ addi r4, r4, lbl_803D7A78@l -/* 8033F940 0033C8A0 4B FD 5E D9 */ bl __nwa__FUlPCcPCc -/* 8033F944 0033C8A4 90 7F 00 24 */ stw r3, 0x24(r31) -/* 8033F948 0033C8A8 3C 60 80 3D */ lis r3, lbl_803D7A78@ha -/* 8033F94C 0033C8AC 38 83 7A 78 */ addi r4, r3, lbl_803D7A78@l -/* 8033F950 0033C8B0 38 00 00 00 */ li r0, 0 -/* 8033F954 0033C8B4 88 DE 00 00 */ lbz r6, 0(r30) -/* 8033F958 0033C8B8 38 60 00 38 */ li r3, 0x38 -/* 8033F95C 0033C8BC 38 A0 00 00 */ li r5, 0 -/* 8033F960 0033C8C0 98 DF 00 28 */ stb r6, 0x28(r31) -/* 8033F964 0033C8C4 80 DE 00 04 */ lwz r6, 4(r30) -/* 8033F968 0033C8C8 90 DF 00 2C */ stw r6, 0x2c(r31) -/* 8033F96C 0033C8CC 98 1E 00 00 */ stb r0, 0(r30) -/* 8033F970 0033C8D0 4B FD 5E FD */ bl __nw__FUlPCcPCc -/* 8033F974 0033C8D4 90 7F 00 30 */ stw r3, 0x30(r31) -/* 8033F978 0033C8D8 3C A0 80 34 */ lis r5, Alloc__11CZipSupportFPvUiUi@ha -/* 8033F97C 0033C8DC 3C 80 80 34 */ lis r4, Free__11CZipSupportFPvPv@ha -/* 8033F980 0033C8E0 3C 60 80 3D */ lis r3, lbl_803D7A78@ha -/* 8033F984 0033C8E4 81 3F 00 30 */ lwz r9, 0x30(r31) -/* 8033F988 0033C8E8 38 63 7A 78 */ addi r3, r3, lbl_803D7A78@l -/* 8033F98C 0033C8EC 81 1F 00 24 */ lwz r8, 0x24(r31) -/* 8033F990 0033C8F0 38 E0 00 00 */ li r7, 0 -/* 8033F994 0033C8F4 38 C5 FA 18 */ addi r6, r5, Alloc__11CZipSupportFPvUiUi@l -/* 8033F998 0033C8F8 38 04 F9 EC */ addi r0, r4, Free__11CZipSupportFPvPv@l -/* 8033F99C 0033C8FC 91 09 00 00 */ stw r8, 0(r9) -/* 8033F9A0 0033C900 38 83 00 07 */ addi r4, r3, 7 -/* 8033F9A4 0033C904 38 A0 00 38 */ li r5, 0x38 -/* 8033F9A8 0033C908 80 7F 00 30 */ lwz r3, 0x30(r31) -/* 8033F9AC 0033C90C 90 E3 00 04 */ stw r7, 4(r3) -/* 8033F9B0 0033C910 80 7F 00 30 */ lwz r3, 0x30(r31) -/* 8033F9B4 0033C914 90 C3 00 20 */ stw r6, 0x20(r3) -/* 8033F9B8 0033C918 80 7F 00 30 */ lwz r3, 0x30(r31) -/* 8033F9BC 0033C91C 90 03 00 24 */ stw r0, 0x24(r3) -/* 8033F9C0 0033C920 80 7F 00 30 */ lwz r3, 0x30(r31) -/* 8033F9C4 0033C924 90 E3 00 28 */ stw r7, 0x28(r3) -/* 8033F9C8 0033C928 80 7F 00 30 */ lwz r3, 0x30(r31) -/* 8033F9CC 0033C92C 48 00 3F 95 */ bl inflateInit2_ -/* 8033F9D0 0033C930 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8033F9D4 0033C934 7F E3 FB 78 */ mr r3, r31 -/* 8033F9D8 0033C938 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8033F9DC 0033C93C 83 C1 00 08 */ lwz r30, 8(r1) -/* 8033F9E0 0033C940 7C 08 03 A6 */ mtlr r0 -/* 8033F9E4 0033C944 38 21 00 10 */ addi r1, r1, 0x10 -/* 8033F9E8 0033C948 4E 80 00 20 */ blr - -.global Free__11CZipSupportFPvPv -Free__11CZipSupportFPvPv: -/* 8033F9EC 0033C94C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8033F9F0 0033C950 7C 08 02 A6 */ mflr r0 -/* 8033F9F4 0033C954 28 04 00 00 */ cmplwi r4, 0 -/* 8033F9F8 0033C958 90 01 00 14 */ stw r0, 0x14(r1) -/* 8033F9FC 0033C95C 41 82 00 0C */ beq lbl_8033FA08 -/* 8033FA00 0033C960 7C 83 23 78 */ mr r3, r4 -/* 8033FA04 0033C964 4B FD 5F 2D */ bl Free__7CMemoryFPCv -lbl_8033FA08: -/* 8033FA08 0033C968 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8033FA0C 0033C96C 7C 08 03 A6 */ mtlr r0 -/* 8033FA10 0033C970 38 21 00 10 */ addi r1, r1, 0x10 -/* 8033FA14 0033C974 4E 80 00 20 */ blr - -.global Alloc__11CZipSupportFPvUiUi -Alloc__11CZipSupportFPvUiUi: -/* 8033FA18 0033C978 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8033FA1C 0033C97C 7C 08 02 A6 */ mflr r0 -/* 8033FA20 0033C980 7C 64 29 D6 */ mullw r3, r4, r5 -/* 8033FA24 0033C984 3C 80 80 3D */ lis r4, lbl_803D7A88@ha -/* 8033FA28 0033C988 90 01 00 14 */ stw r0, 0x14(r1) -/* 8033FA2C 0033C98C 38 A0 00 00 */ li r5, 0 -/* 8033FA30 0033C990 38 84 7A 88 */ addi r4, r4, lbl_803D7A88@l -/* 8033FA34 0033C994 4B FD 5D E5 */ bl __nwa__FUlPCcPCc -/* 8033FA38 0033C998 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8033FA3C 0033C99C 7C 08 03 A6 */ mtlr r0 -/* 8033FA40 0033C9A0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8033FA44 0033C9A4 4E 80 00 20 */ blr - -.global "__dt__31TObjOwnerParamFv" -"__dt__31TObjOwnerParamFv": -/* 8033FA48 0033C9A8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8033FA4C 0033C9AC 7C 08 02 A6 */ mflr r0 -/* 8033FA50 0033C9B0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8033FA54 0033C9B4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8033FA58 0033C9B8 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8033FA5C 0033C9BC 41 82 00 40 */ beq lbl_8033FA9C -/* 8033FA60 0033C9C0 3C 60 80 3F */ lis r3, lbl_803EE3D8@ha -/* 8033FA64 0033C9C4 38 03 E3 D8 */ addi r0, r3, lbl_803EE3D8@l -/* 8033FA68 0033C9C8 90 1F 00 00 */ stw r0, 0(r31) -/* 8033FA6C 0033C9CC 41 82 00 20 */ beq lbl_8033FA8C -/* 8033FA70 0033C9D0 3C 60 80 3E */ lis r3, lbl_803D9C44@ha -/* 8033FA74 0033C9D4 38 03 9C 44 */ addi r0, r3, lbl_803D9C44@l -/* 8033FA78 0033C9D8 90 1F 00 00 */ stw r0, 0(r31) -/* 8033FA7C 0033C9DC 41 82 00 10 */ beq lbl_8033FA8C -/* 8033FA80 0033C9E0 3C 60 80 3E */ lis r3, lbl_803D8D6C@ha -/* 8033FA84 0033C9E4 38 03 8D 6C */ addi r0, r3, lbl_803D8D6C@l -/* 8033FA88 0033C9E8 90 1F 00 00 */ stw r0, 0(r31) -lbl_8033FA8C: -/* 8033FA8C 0033C9EC 7C 80 07 35 */ extsh. r0, r4 -/* 8033FA90 0033C9F0 40 81 00 0C */ ble lbl_8033FA9C -/* 8033FA94 0033C9F4 7F E3 FB 78 */ mr r3, r31 -/* 8033FA98 0033C9F8 4B FD 5E 99 */ bl Free__7CMemoryFPCv -lbl_8033FA9C: -/* 8033FA9C 0033C9FC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8033FAA0 0033CA00 7F E3 FB 78 */ mr r3, r31 -/* 8033FAA4 0033CA04 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8033FAA8 0033CA08 7C 08 03 A6 */ mtlr r0 -/* 8033FAAC 0033CA0C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8033FAB0 0033CA10 4E 80 00 20 */ blr - -.global IsLoading__16CObjectReferenceCFv -IsLoading__16CObjectReferenceCFv: -/* 8033FAB4 0033CA14 88 03 00 03 */ lbz r0, 3(r3) -/* 8033FAB8 0033CA18 38 80 00 00 */ li r4, 0 -/* 8033FABC 0033CA1C 54 00 F8 02 */ rlwinm r0, r0, 0x1f, 0, 1 -/* 8033FAC0 0033CA20 7C 00 FE 70 */ srawi r0, r0, 0x1f -/* 8033FAC4 0033CA24 7C 00 07 75 */ extsb. r0, r0 -/* 8033FAC8 0033CA28 41 82 00 14 */ beq lbl_8033FADC -/* 8033FACC 0033CA2C 80 03 00 10 */ lwz r0, 0x10(r3) -/* 8033FAD0 0033CA30 28 00 00 00 */ cmplwi r0, 0 -/* 8033FAD4 0033CA34 40 82 00 08 */ bne lbl_8033FADC -/* 8033FAD8 0033CA38 38 80 00 01 */ li r4, 1 -lbl_8033FADC: -/* 8033FADC 0033CA3C 7C 83 23 78 */ mr r3, r4 -/* 8033FAE0 0033CA40 4E 80 00 20 */ blr - -.global Unlock__16CObjectReferenceFv -Unlock__16CObjectReferenceFv: -/* 8033FAE4 0033CA44 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8033FAE8 0033CA48 7C 08 02 A6 */ mflr r0 -/* 8033FAEC 0033CA4C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8033FAF0 0033CA50 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8033FAF4 0033CA54 7C 7F 1B 78 */ mr r31, r3 -/* 8033FAF8 0033CA58 A8 A3 00 02 */ lha r5, 2(r3) -/* 8033FAFC 0033CA5C 54 A0 80 1E */ slwi r0, r5, 0x10 -/* 8033FB00 0033CA60 7C 04 8E 70 */ srawi r4, r0, 0x11 -/* 8033FB04 0033CA64 38 04 FF FF */ addi r0, r4, -1 -/* 8033FB08 0033CA68 50 05 0C 3C */ rlwimi r5, r0, 1, 0x10, 0x1e -/* 8033FB0C 0033CA6C B0 A3 00 02 */ sth r5, 2(r3) -/* 8033FB10 0033CA70 A8 03 00 02 */ lha r0, 2(r3) -/* 8033FB14 0033CA74 54 00 80 1E */ slwi r0, r0, 0x10 -/* 8033FB18 0033CA78 7C 00 8E 70 */ srawi r0, r0, 0x11 -/* 8033FB1C 0033CA7C 7C 00 07 35 */ extsh. r0, r0 -/* 8033FB20 0033CA80 40 82 00 3C */ bne lbl_8033FB5C -/* 8033FB24 0033CA84 80 1F 00 10 */ lwz r0, 0x10(r31) -/* 8033FB28 0033CA88 28 00 00 00 */ cmplwi r0, 0 -/* 8033FB2C 0033CA8C 41 82 00 18 */ beq lbl_8033FB44 -/* 8033FB30 0033CA90 80 1F 00 0C */ lwz r0, 0xc(r31) -/* 8033FB34 0033CA94 28 00 00 00 */ cmplwi r0, 0 -/* 8033FB38 0033CA98 41 82 00 0C */ beq lbl_8033FB44 -/* 8033FB3C 0033CA9C 48 00 01 39 */ bl Unload__16CObjectReferenceFv -/* 8033FB40 0033CAA0 48 00 00 1C */ b lbl_8033FB5C -lbl_8033FB44: -/* 8033FB44 0033CAA4 7F E3 FB 78 */ mr r3, r31 -/* 8033FB48 0033CAA8 4B FF FF 6D */ bl IsLoading__16CObjectReferenceCFv -/* 8033FB4C 0033CAAC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8033FB50 0033CAB0 41 82 00 0C */ beq lbl_8033FB5C -/* 8033FB54 0033CAB4 7F E3 FB 78 */ mr r3, r31 -/* 8033FB58 0033CAB8 48 00 00 A5 */ bl CancelLoad__16CObjectReferenceFv -lbl_8033FB5C: -/* 8033FB5C 0033CABC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8033FB60 0033CAC0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8033FB64 0033CAC4 7C 08 03 A6 */ mtlr r0 -/* 8033FB68 0033CAC8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8033FB6C 0033CACC 4E 80 00 20 */ blr - -.global RemoveReference__16CObjectReferenceFv -RemoveReference__16CObjectReferenceFv: -/* 8033FB70 0033CAD0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8033FB74 0033CAD4 7C 08 02 A6 */ mflr r0 -/* 8033FB78 0033CAD8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8033FB7C 0033CADC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8033FB80 0033CAE0 7C 7F 1B 78 */ mr r31, r3 -/* 8033FB84 0033CAE4 A8 83 00 00 */ lha r4, 0(r3) -/* 8033FB88 0033CAE8 38 04 FF FF */ addi r0, r4, -1 -/* 8033FB8C 0033CAEC B0 03 00 00 */ sth r0, 0(r3) -/* 8033FB90 0033CAF0 A8 03 00 00 */ lha r0, 0(r3) -/* 8033FB94 0033CAF4 2C 00 00 00 */ cmpwi r0, 0 -/* 8033FB98 0033CAF8 40 82 00 4C */ bne lbl_8033FBE4 -/* 8033FB9C 0033CAFC 80 1F 00 10 */ lwz r0, 0x10(r31) -/* 8033FBA0 0033CB00 28 00 00 00 */ cmplwi r0, 0 -/* 8033FBA4 0033CB04 41 82 00 0C */ beq lbl_8033FBB0 -/* 8033FBA8 0033CB08 48 00 00 CD */ bl Unload__16CObjectReferenceFv -/* 8033FBAC 0033CB0C 48 00 00 18 */ b lbl_8033FBC4 -lbl_8033FBB0: -/* 8033FBB0 0033CB10 4B FF FF 05 */ bl IsLoading__16CObjectReferenceCFv -/* 8033FBB4 0033CB14 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8033FBB8 0033CB18 41 82 00 0C */ beq lbl_8033FBC4 -/* 8033FBBC 0033CB1C 7F E3 FB 78 */ mr r3, r31 -/* 8033FBC0 0033CB20 48 00 00 3D */ bl CancelLoad__16CObjectReferenceFv -lbl_8033FBC4: -/* 8033FBC4 0033CB24 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 8033FBC8 0033CB28 28 03 00 00 */ cmplwi r3, 0 -/* 8033FBCC 0033CB2C 41 82 00 18 */ beq lbl_8033FBE4 -/* 8033FBD0 0033CB30 81 83 00 00 */ lwz r12, 0(r3) -/* 8033FBD4 0033CB34 38 9F 00 04 */ addi r4, r31, 4 -/* 8033FBD8 0033CB38 81 8C 00 28 */ lwz r12, 0x28(r12) -/* 8033FBDC 0033CB3C 7D 89 03 A6 */ mtctr r12 -/* 8033FBE0 0033CB40 4E 80 04 21 */ bctrl -lbl_8033FBE4: -/* 8033FBE4 0033CB44 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8033FBE8 0033CB48 A8 7F 00 00 */ lha r3, 0(r31) -/* 8033FBEC 0033CB4C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8033FBF0 0033CB50 7C 08 03 A6 */ mtlr r0 -/* 8033FBF4 0033CB54 38 21 00 10 */ addi r1, r1, 0x10 -/* 8033FBF8 0033CB58 4E 80 00 20 */ blr - -.global CancelLoad__16CObjectReferenceFv -CancelLoad__16CObjectReferenceFv: -/* 8033FBFC 0033CB5C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8033FC00 0033CB60 7C 08 02 A6 */ mflr r0 -/* 8033FC04 0033CB64 90 01 00 14 */ stw r0, 0x14(r1) -/* 8033FC08 0033CB68 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8033FC0C 0033CB6C 7C 7F 1B 78 */ mr r31, r3 -/* 8033FC10 0033CB70 80 03 00 0C */ lwz r0, 0xc(r3) -/* 8033FC14 0033CB74 28 00 00 00 */ cmplwi r0, 0 -/* 8033FC18 0033CB78 41 82 00 48 */ beq lbl_8033FC60 -/* 8033FC1C 0033CB7C 4B FF FE 99 */ bl IsLoading__16CObjectReferenceCFv -/* 8033FC20 0033CB80 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8033FC24 0033CB84 41 82 00 3C */ beq lbl_8033FC60 -/* 8033FC28 0033CB88 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 8033FC2C 0033CB8C 81 83 00 00 */ lwz r12, 0(r3) -/* 8033FC30 0033CB90 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 8033FC34 0033CB94 7D 89 03 A6 */ mtctr r12 -/* 8033FC38 0033CB98 4E 80 04 21 */ bctrl -/* 8033FC3C 0033CB9C 81 83 00 00 */ lwz r12, 0(r3) -/* 8033FC40 0033CBA0 38 9F 00 04 */ addi r4, r31, 4 -/* 8033FC44 0033CBA4 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8033FC48 0033CBA8 7D 89 03 A6 */ mtctr r12 -/* 8033FC4C 0033CBAC 4E 80 04 21 */ bctrl -/* 8033FC50 0033CBB0 88 1F 00 03 */ lbz r0, 3(r31) -/* 8033FC54 0033CBB4 38 60 00 00 */ li r3, 0 -/* 8033FC58 0033CBB8 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f -/* 8033FC5C 0033CBBC 98 1F 00 03 */ stb r0, 3(r31) -lbl_8033FC60: -/* 8033FC60 0033CBC0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8033FC64 0033CBC4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8033FC68 0033CBC8 7C 08 03 A6 */ mtlr r0 -/* 8033FC6C 0033CBCC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8033FC70 0033CBD0 4E 80 00 20 */ blr - -.global Unload__16CObjectReferenceFv -Unload__16CObjectReferenceFv: -/* 8033FC74 0033CBD4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8033FC78 0033CBD8 7C 08 02 A6 */ mflr r0 -/* 8033FC7C 0033CBDC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8033FC80 0033CBE0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8033FC84 0033CBE4 7C 7F 1B 78 */ mr r31, r3 -/* 8033FC88 0033CBE8 80 63 00 10 */ lwz r3, 0x10(r3) -/* 8033FC8C 0033CBEC 28 03 00 00 */ cmplwi r3, 0 -/* 8033FC90 0033CBF0 41 82 00 18 */ beq lbl_8033FCA8 -/* 8033FC94 0033CBF4 81 83 00 00 */ lwz r12, 0(r3) -/* 8033FC98 0033CBF8 38 80 00 01 */ li r4, 1 -/* 8033FC9C 0033CBFC 81 8C 00 08 */ lwz r12, 8(r12) -/* 8033FCA0 0033CC00 7D 89 03 A6 */ mtctr r12 -/* 8033FCA4 0033CC04 4E 80 04 21 */ bctrl -lbl_8033FCA8: -/* 8033FCA8 0033CC08 38 60 00 00 */ li r3, 0 -/* 8033FCAC 0033CC0C 90 7F 00 10 */ stw r3, 0x10(r31) -/* 8033FCB0 0033CC10 88 1F 00 03 */ lbz r0, 3(r31) -/* 8033FCB4 0033CC14 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f -/* 8033FCB8 0033CC18 98 1F 00 03 */ stb r0, 3(r31) -/* 8033FCBC 0033CC1C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8033FCC0 0033CC20 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8033FCC4 0033CC24 7C 08 03 A6 */ mtlr r0 -/* 8033FCC8 0033CC28 38 21 00 10 */ addi r1, r1, 0x10 -/* 8033FCCC 0033CC2C 4E 80 00 20 */ blr - -.global GetObject__16CObjectReferenceFv -GetObject__16CObjectReferenceFv: -/* 8033FCD0 0033CC30 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8033FCD4 0033CC34 7C 08 02 A6 */ mflr r0 -/* 8033FCD8 0033CC38 90 01 00 24 */ stw r0, 0x24(r1) -/* 8033FCDC 0033CC3C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8033FCE0 0033CC40 7C 7F 1B 78 */ mr r31, r3 -/* 8033FCE4 0033CC44 80 03 00 10 */ lwz r0, 0x10(r3) -/* 8033FCE8 0033CC48 28 00 00 00 */ cmplwi r0, 0 -/* 8033FCEC 0033CC4C 40 82 00 74 */ bne lbl_8033FD60 -/* 8033FCF0 0033CC50 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 8033FCF4 0033CC54 81 83 00 00 */ lwz r12, 0(r3) -/* 8033FCF8 0033CC58 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 8033FCFC 0033CC5C 7D 89 03 A6 */ mtctr r12 -/* 8033FD00 0033CC60 4E 80 04 21 */ bctrl -/* 8033FD04 0033CC64 7C 64 1B 78 */ mr r4, r3 -/* 8033FD08 0033CC68 38 61 00 08 */ addi r3, r1, 8 -/* 8033FD0C 0033CC6C 81 84 00 00 */ lwz r12, 0(r4) -/* 8033FD10 0033CC70 38 BF 00 04 */ addi r5, r31, 4 -/* 8033FD14 0033CC74 38 DF 00 14 */ addi r6, r31, 0x14 -/* 8033FD18 0033CC78 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8033FD1C 0033CC7C 7D 89 03 A6 */ mtctr r12 -/* 8033FD20 0033CC80 4E 80 04 21 */ bctrl -/* 8033FD24 0033CC84 38 00 00 00 */ li r0, 0 -/* 8033FD28 0033CC88 80 61 00 0C */ lwz r3, 0xc(r1) -/* 8033FD2C 0033CC8C 98 01 00 08 */ stb r0, 8(r1) -/* 8033FD30 0033CC90 90 7F 00 10 */ stw r3, 0x10(r31) -/* 8033FD34 0033CC94 88 01 00 08 */ lbz r0, 8(r1) -/* 8033FD38 0033CC98 28 00 00 00 */ cmplwi r0, 0 -/* 8033FD3C 0033CC9C 41 82 00 24 */ beq lbl_8033FD60 -/* 8033FD40 0033CCA0 80 61 00 0C */ lwz r3, 0xc(r1) -/* 8033FD44 0033CCA4 28 03 00 00 */ cmplwi r3, 0 -/* 8033FD48 0033CCA8 41 82 00 18 */ beq lbl_8033FD60 -/* 8033FD4C 0033CCAC 81 83 00 00 */ lwz r12, 0(r3) -/* 8033FD50 0033CCB0 38 80 00 01 */ li r4, 1 -/* 8033FD54 0033CCB4 81 8C 00 08 */ lwz r12, 8(r12) -/* 8033FD58 0033CCB8 7D 89 03 A6 */ mtctr r12 -/* 8033FD5C 0033CCBC 4E 80 04 21 */ bctrl -lbl_8033FD60: -/* 8033FD60 0033CCC0 88 1F 00 03 */ lbz r0, 3(r31) -/* 8033FD64 0033CCC4 38 60 00 00 */ li r3, 0 -/* 8033FD68 0033CCC8 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f -/* 8033FD6C 0033CCCC 98 1F 00 03 */ stb r0, 3(r31) -/* 8033FD70 0033CCD0 80 7F 00 10 */ lwz r3, 0x10(r31) -/* 8033FD74 0033CCD4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8033FD78 0033CCD8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8033FD7C 0033CCDC 7C 08 03 A6 */ mtlr r0 -/* 8033FD80 0033CCE0 38 21 00 20 */ addi r1, r1, 0x20 -/* 8033FD84 0033CCE4 4E 80 00 20 */ blr - -.global Lock__16CObjectReferenceFv -Lock__16CObjectReferenceFv: -/* 8033FD88 0033CCE8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8033FD8C 0033CCEC 7C 08 02 A6 */ mflr r0 -/* 8033FD90 0033CCF0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8033FD94 0033CCF4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8033FD98 0033CCF8 7C 7F 1B 78 */ mr r31, r3 -/* 8033FD9C 0033CCFC A8 83 00 02 */ lha r4, 2(r3) -/* 8033FDA0 0033CD00 54 80 80 1E */ slwi r0, r4, 0x10 -/* 8033FDA4 0033CD04 7C 03 8E 70 */ srawi r3, r0, 0x11 -/* 8033FDA8 0033CD08 38 03 00 01 */ addi r0, r3, 1 -/* 8033FDAC 0033CD0C 50 04 0C 3C */ rlwimi r4, r0, 1, 0x10, 0x1e -/* 8033FDB0 0033CD10 B0 9F 00 02 */ sth r4, 2(r31) -/* 8033FDB4 0033CD14 80 1F 00 10 */ lwz r0, 0x10(r31) -/* 8033FDB8 0033CD18 28 00 00 00 */ cmplwi r0, 0 -/* 8033FDBC 0033CD1C 40 82 00 58 */ bne lbl_8033FE14 -/* 8033FDC0 0033CD20 88 1F 00 03 */ lbz r0, 3(r31) -/* 8033FDC4 0033CD24 54 00 F8 02 */ rlwinm r0, r0, 0x1f, 0, 1 -/* 8033FDC8 0033CD28 7C 00 FE 70 */ srawi r0, r0, 0x1f -/* 8033FDCC 0033CD2C 7C 00 07 75 */ extsb. r0, r0 -/* 8033FDD0 0033CD30 40 82 00 44 */ bne lbl_8033FE14 -/* 8033FDD4 0033CD34 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 8033FDD8 0033CD38 81 83 00 00 */ lwz r12, 0(r3) -/* 8033FDDC 0033CD3C 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 8033FDE0 0033CD40 7D 89 03 A6 */ mtctr r12 -/* 8033FDE4 0033CD44 4E 80 04 21 */ bctrl -/* 8033FDE8 0033CD48 81 83 00 00 */ lwz r12, 0(r3) -/* 8033FDEC 0033CD4C 38 9F 00 04 */ addi r4, r31, 4 -/* 8033FDF0 0033CD50 38 BF 00 14 */ addi r5, r31, 0x14 -/* 8033FDF4 0033CD54 38 DF 00 10 */ addi r6, r31, 0x10 -/* 8033FDF8 0033CD58 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8033FDFC 0033CD5C 7D 89 03 A6 */ mtctr r12 -/* 8033FE00 0033CD60 4E 80 04 21 */ bctrl -/* 8033FE04 0033CD64 88 1F 00 03 */ lbz r0, 3(r31) -/* 8033FE08 0033CD68 38 60 00 01 */ li r3, 1 -/* 8033FE0C 0033CD6C 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f -/* 8033FE10 0033CD70 98 1F 00 03 */ stb r0, 3(r31) -lbl_8033FE14: -/* 8033FE14 0033CD74 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8033FE18 0033CD78 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8033FE1C 0033CD7C 7C 08 03 A6 */ mtlr r0 -/* 8033FE20 0033CD80 38 21 00 10 */ addi r1, r1, 0x10 -/* 8033FE24 0033CD84 4E 80 00 20 */ blr - -.global __dt__16CObjectReferenceFv -__dt__16CObjectReferenceFv: -/* 8033FE28 0033CD88 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8033FE2C 0033CD8C 7C 08 02 A6 */ mflr r0 -/* 8033FE30 0033CD90 90 01 00 14 */ stw r0, 0x14(r1) -/* 8033FE34 0033CD94 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8033FE38 0033CD98 7C 9F 23 78 */ mr r31, r4 -/* 8033FE3C 0033CD9C 93 C1 00 08 */ stw r30, 8(r1) -/* 8033FE40 0033CDA0 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8033FE44 0033CDA4 41 82 00 90 */ beq lbl_8033FED4 -/* 8033FE48 0033CDA8 80 7E 00 10 */ lwz r3, 0x10(r30) -/* 8033FE4C 0033CDAC 28 03 00 00 */ cmplwi r3, 0 -/* 8033FE50 0033CDB0 41 82 00 20 */ beq lbl_8033FE70 -/* 8033FE54 0033CDB4 41 82 00 58 */ beq lbl_8033FEAC -/* 8033FE58 0033CDB8 81 83 00 00 */ lwz r12, 0(r3) -/* 8033FE5C 0033CDBC 38 80 00 01 */ li r4, 1 -/* 8033FE60 0033CDC0 81 8C 00 08 */ lwz r12, 8(r12) -/* 8033FE64 0033CDC4 7D 89 03 A6 */ mtctr r12 -/* 8033FE68 0033CDC8 4E 80 04 21 */ bctrl -/* 8033FE6C 0033CDCC 48 00 00 40 */ b lbl_8033FEAC -lbl_8033FE70: -/* 8033FE70 0033CDD0 88 1E 00 03 */ lbz r0, 3(r30) -/* 8033FE74 0033CDD4 54 00 F8 02 */ rlwinm r0, r0, 0x1f, 0, 1 -/* 8033FE78 0033CDD8 7C 00 FE 70 */ srawi r0, r0, 0x1f -/* 8033FE7C 0033CDDC 7C 00 07 75 */ extsb. r0, r0 -/* 8033FE80 0033CDE0 41 82 00 2C */ beq lbl_8033FEAC -/* 8033FE84 0033CDE4 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 8033FE88 0033CDE8 81 83 00 00 */ lwz r12, 0(r3) -/* 8033FE8C 0033CDEC 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 8033FE90 0033CDF0 7D 89 03 A6 */ mtctr r12 -/* 8033FE94 0033CDF4 4E 80 04 21 */ bctrl -/* 8033FE98 0033CDF8 81 83 00 00 */ lwz r12, 0(r3) -/* 8033FE9C 0033CDFC 38 9E 00 04 */ addi r4, r30, 4 -/* 8033FEA0 0033CE00 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8033FEA4 0033CE04 7D 89 03 A6 */ mtctr r12 -/* 8033FEA8 0033CE08 4E 80 04 21 */ bctrl -lbl_8033FEAC: -/* 8033FEAC 0033CE0C 34 1E 00 14 */ addic. r0, r30, 0x14 -/* 8033FEB0 0033CE10 41 82 00 14 */ beq lbl_8033FEC4 -/* 8033FEB4 0033CE14 34 1E 00 14 */ addic. r0, r30, 0x14 -/* 8033FEB8 0033CE18 41 82 00 0C */ beq lbl_8033FEC4 -/* 8033FEBC 0033CE1C 38 7E 00 14 */ addi r3, r30, 0x14 -/* 8033FEC0 0033CE20 4B CF 44 45 */ bl sub_80034304 -lbl_8033FEC4: -/* 8033FEC4 0033CE24 7F E0 07 35 */ extsh. r0, r31 -/* 8033FEC8 0033CE28 40 81 00 0C */ ble lbl_8033FED4 -/* 8033FECC 0033CE2C 7F C3 F3 78 */ mr r3, r30 -/* 8033FED0 0033CE30 4B FD 5A 61 */ bl Free__7CMemoryFPCv -lbl_8033FED4: -/* 8033FED4 0033CE34 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8033FED8 0033CE38 7F C3 F3 78 */ mr r3, r30 -/* 8033FEDC 0033CE3C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8033FEE0 0033CE40 83 C1 00 08 */ lwz r30, 8(r1) -/* 8033FEE4 0033CE44 7C 08 03 A6 */ mtlr r0 -/* 8033FEE8 0033CE48 38 21 00 10 */ addi r1, r1, 0x10 -/* 8033FEEC 0033CE4C 4E 80 00 20 */ blr - -.global "__ct__16CObjectReferenceFRCQ24rstl15auto_ptr<4IObj>" -"__ct__16CObjectReferenceFRCQ24rstl15auto_ptr<4IObj>": -/* 8033FEF0 0033CE50 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8033FEF4 0033CE54 7C 08 02 A6 */ mflr r0 -/* 8033FEF8 0033CE58 38 A0 00 00 */ li r5, 0 -/* 8033FEFC 0033CE5C 90 01 00 24 */ stw r0, 0x24(r1) -/* 8033FF00 0033CE60 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8033FF04 0033CE64 7C 7F 1B 78 */ mr r31, r3 -/* 8033FF08 0033CE68 A8 03 00 00 */ lha r0, 0(r3) -/* 8033FF0C 0033CE6C 50 A0 04 3E */ rlwimi r0, r5, 0, 0x10, 0x1f -/* 8033FF10 0033CE70 38 61 00 08 */ addi r3, r1, 8 -/* 8033FF14 0033CE74 B0 1F 00 00 */ sth r0, 0(r31) -/* 8033FF18 0033CE78 A8 1F 00 02 */ lha r0, 2(r31) -/* 8033FF1C 0033CE7C 50 A0 0C 3C */ rlwimi r0, r5, 1, 0x10, 0x1e -/* 8033FF20 0033CE80 B0 1F 00 02 */ sth r0, 2(r31) -/* 8033FF24 0033CE84 A8 1F 00 02 */ lha r0, 2(r31) -/* 8033FF28 0033CE88 50 A0 07 FE */ rlwimi r0, r5, 0, 0x1f, 0x1f -/* 8033FF2C 0033CE8C B0 1F 00 02 */ sth r0, 2(r31) -/* 8033FF30 0033CE90 90 BF 00 0C */ stw r5, 0xc(r31) -/* 8033FF34 0033CE94 98 A4 00 00 */ stb r5, 0(r4) -/* 8033FF38 0033CE98 80 04 00 04 */ lwz r0, 4(r4) -/* 8033FF3C 0033CE9C 90 1F 00 10 */ stw r0, 0x10(r31) -/* 8033FF40 0033CEA0 4B CF 4A 15 */ bl Null__15CVParamTransferFv -/* 8033FF44 0033CEA4 80 01 00 08 */ lwz r0, 8(r1) -/* 8033FF48 0033CEA8 38 61 00 08 */ addi r3, r1, 8 -/* 8033FF4C 0033CEAC 90 1F 00 14 */ stw r0, 0x14(r31) -/* 8033FF50 0033CEB0 80 BF 00 14 */ lwz r5, 0x14(r31) -/* 8033FF54 0033CEB4 80 85 00 04 */ lwz r4, 4(r5) -/* 8033FF58 0033CEB8 38 04 00 01 */ addi r0, r4, 1 -/* 8033FF5C 0033CEBC 90 05 00 04 */ stw r0, 4(r5) -/* 8033FF60 0033CEC0 4B CF 43 A5 */ bl sub_80034304 -/* 8033FF64 0033CEC4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8033FF68 0033CEC8 7F E3 FB 78 */ mr r3, r31 -/* 8033FF6C 0033CECC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8033FF70 0033CED0 7C 08 03 A6 */ mtlr r0 -/* 8033FF74 0033CED4 38 21 00 20 */ addi r1, r1, 0x20 -/* 8033FF78 0033CED8 4E 80 00 20 */ blr - -.global "__ct__16CObjectReferenceFR12IObjectStoreRCQ24rstl15auto_ptr<4IObj>RC10SObjectTag15CVParamTransfer" -"__ct__16CObjectReferenceFR12IObjectStoreRCQ24rstl15auto_ptr<4IObj>RC10SObjectTag15CVParamTransfer": -/* 8033FF7C 0033CEDC 39 00 00 00 */ li r8, 0 -/* 8033FF80 0033CEE0 A8 03 00 00 */ lha r0, 0(r3) -/* 8033FF84 0033CEE4 51 00 04 3E */ rlwimi r0, r8, 0, 0x10, 0x1f -/* 8033FF88 0033CEE8 B0 03 00 00 */ sth r0, 0(r3) -/* 8033FF8C 0033CEEC A8 03 00 02 */ lha r0, 2(r3) -/* 8033FF90 0033CEF0 51 00 0C 3C */ rlwimi r0, r8, 1, 0x10, 0x1e -/* 8033FF94 0033CEF4 B0 03 00 02 */ sth r0, 2(r3) -/* 8033FF98 0033CEF8 A8 03 00 02 */ lha r0, 2(r3) -/* 8033FF9C 0033CEFC 51 00 07 FE */ rlwimi r0, r8, 0, 0x1f, 0x1f -/* 8033FFA0 0033CF00 B0 03 00 02 */ sth r0, 2(r3) -/* 8033FFA4 0033CF04 80 06 00 00 */ lwz r0, 0(r6) -/* 8033FFA8 0033CF08 90 03 00 04 */ stw r0, 4(r3) -/* 8033FFAC 0033CF0C 80 06 00 04 */ lwz r0, 4(r6) -/* 8033FFB0 0033CF10 90 03 00 08 */ stw r0, 8(r3) -/* 8033FFB4 0033CF14 90 83 00 0C */ stw r4, 0xc(r3) -/* 8033FFB8 0033CF18 99 05 00 00 */ stb r8, 0(r5) -/* 8033FFBC 0033CF1C 80 05 00 04 */ lwz r0, 4(r5) -/* 8033FFC0 0033CF20 90 03 00 10 */ stw r0, 0x10(r3) -/* 8033FFC4 0033CF24 80 07 00 00 */ lwz r0, 0(r7) -/* 8033FFC8 0033CF28 90 03 00 14 */ stw r0, 0x14(r3) -/* 8033FFCC 0033CF2C 80 A3 00 14 */ lwz r5, 0x14(r3) -/* 8033FFD0 0033CF30 80 85 00 04 */ lwz r4, 4(r5) -/* 8033FFD4 0033CF34 38 04 00 01 */ addi r0, r4, 1 -/* 8033FFD8 0033CF38 90 05 00 04 */ stw r0, 4(r5) -/* 8033FFDC 0033CF3C 4E 80 00 20 */ blr - -.global GetFactory__11CSimplePoolCFv -GetFactory__11CSimplePoolCFv: -/* 8033FFE0 0033CF40 80 63 00 18 */ lwz r3, 0x18(r3) -/* 8033FFE4 0033CF44 4E 80 00 20 */ blr - -.global GetReferencedTags__11CSimplePoolFv -GetReferencedTags__11CSimplePoolFv: -/* 8033FFE8 0033CF48 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8033FFEC 0033CF4C 7C 08 02 A6 */ mflr r0 -/* 8033FFF0 0033CF50 90 01 00 44 */ stw r0, 0x44(r1) -/* 8033FFF4 0033CF54 38 00 00 00 */ li r0, 0 -/* 8033FFF8 0033CF58 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 8033FFFC 0033CF5C 7C 7F 1B 78 */ mr r31, r3 -/* 80340000 0033CF60 38 61 00 18 */ addi r3, r1, 0x18 -/* 80340004 0033CF64 93 C1 00 38 */ stw r30, 0x38(r1) -/* 80340008 0033CF68 7C 9E 23 78 */ mr r30, r4 -/* 8034000C 0033CF6C 93 A1 00 34 */ stw r29, 0x34(r1) -/* 80340010 0033CF70 90 01 00 1C */ stw r0, 0x1c(r1) -/* 80340014 0033CF74 80 84 00 08 */ lwz r4, 8(r4) -/* 80340018 0033CF78 90 01 00 20 */ stw r0, 0x20(r1) -/* 8034001C 0033CF7C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80340020 0033CF80 48 00 09 65 */ bl "reserve__Q24rstl47vector<10SObjectTag,Q24rstl17rmemory_allocator>Fi" -/* 80340024 0033CF84 3B BE 00 0C */ addi r29, r30, 0xc -/* 80340028 0033CF88 83 DE 00 0C */ lwz r30, 0xc(r30) -/* 8034002C 0033CF8C 48 00 00 6C */ b lbl_80340098 -lbl_80340030: -/* 80340030 0033CF90 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 80340034 0033CF94 80 A1 00 20 */ lwz r5, 0x20(r1) -/* 80340038 0033CF98 7C 00 28 00 */ cmpw r0, r5 -/* 8034003C 0033CF9C 41 80 00 1C */ blt lbl_80340058 -/* 80340040 0033CFA0 2C 05 00 00 */ cmpwi r5, 0 -/* 80340044 0033CFA4 38 61 00 18 */ addi r3, r1, 0x18 -/* 80340048 0033CFA8 38 80 00 04 */ li r4, 4 -/* 8034004C 0033CFAC 41 82 00 08 */ beq lbl_80340054 -/* 80340050 0033CFB0 54 A4 08 3C */ slwi r4, r5, 1 -lbl_80340054: -/* 80340054 0033CFB4 48 00 09 31 */ bl "reserve__Q24rstl47vector<10SObjectTag,Q24rstl17rmemory_allocator>Fi" -lbl_80340058: -/* 80340058 0033CFB8 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 8034005C 0033CFBC 80 61 00 24 */ lwz r3, 0x24(r1) -/* 80340060 0033CFC0 54 00 18 38 */ slwi r0, r0, 3 -/* 80340064 0033CFC4 7C 63 02 15 */ add. r3, r3, r0 -/* 80340068 0033CFC8 41 82 00 14 */ beq lbl_8034007C -/* 8034006C 0033CFCC 80 1E 00 10 */ lwz r0, 0x10(r30) -/* 80340070 0033CFD0 90 03 00 00 */ stw r0, 0(r3) -/* 80340074 0033CFD4 80 1E 00 14 */ lwz r0, 0x14(r30) -/* 80340078 0033CFD8 90 03 00 04 */ stw r0, 4(r3) -lbl_8034007C: -/* 8034007C 0033CFDC 80 A1 00 1C */ lwz r5, 0x1c(r1) -/* 80340080 0033CFE0 7F A3 EB 78 */ mr r3, r29 -/* 80340084 0033CFE4 7F C4 F3 78 */ mr r4, r30 -/* 80340088 0033CFE8 38 05 00 01 */ addi r0, r5, 1 -/* 8034008C 0033CFEC 90 01 00 1C */ stw r0, 0x1c(r1) -/* 80340090 0033CFF0 4B FF C5 51 */ bl rbtree_traverse_forward__4rstlFPCvPv -/* 80340094 0033CFF4 7C 7E 1B 78 */ mr r30, r3 -lbl_80340098: -/* 80340098 0033CFF8 28 1E 00 00 */ cmplwi r30, 0 -/* 8034009C 0033CFFC 38 00 00 00 */ li r0, 0 -/* 803400A0 0033D000 40 82 00 0C */ bne lbl_803400AC -/* 803400A4 0033D004 7C 1D E8 40 */ cmplw r29, r29 -/* 803400A8 0033D008 41 82 00 08 */ beq lbl_803400B0 -lbl_803400AC: -/* 803400AC 0033D00C 38 00 00 01 */ li r0, 1 -lbl_803400B0: -/* 803400B0 0033D010 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 803400B4 0033D014 40 82 FF 7C */ bne lbl_80340030 -/* 803400B8 0033D018 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 803400BC 0033D01C 90 1F 00 04 */ stw r0, 4(r31) -/* 803400C0 0033D020 80 01 00 20 */ lwz r0, 0x20(r1) -/* 803400C4 0033D024 90 1F 00 08 */ stw r0, 8(r31) -/* 803400C8 0033D028 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 803400CC 0033D02C 2C 00 00 00 */ cmpwi r0, 0 -/* 803400D0 0033D030 40 82 00 1C */ bne lbl_803400EC -/* 803400D4 0033D034 80 01 00 20 */ lwz r0, 0x20(r1) -/* 803400D8 0033D038 2C 00 00 00 */ cmpwi r0, 0 -/* 803400DC 0033D03C 40 82 00 10 */ bne lbl_803400EC -/* 803400E0 0033D040 38 00 00 00 */ li r0, 0 -/* 803400E4 0033D044 90 1F 00 0C */ stw r0, 0xc(r31) -/* 803400E8 0033D048 48 00 00 6C */ b lbl_80340154 -lbl_803400EC: -/* 803400EC 0033D04C 80 1F 00 08 */ lwz r0, 8(r31) -/* 803400F0 0033D050 54 03 18 39 */ rlwinm. r3, r0, 3, 0, 0x1c -/* 803400F4 0033D054 40 82 00 10 */ bne lbl_80340104 -/* 803400F8 0033D058 38 00 00 00 */ li r0, 0 -/* 803400FC 0033D05C 90 1F 00 0C */ stw r0, 0xc(r31) -/* 80340100 0033D060 48 00 00 18 */ b lbl_80340118 -lbl_80340104: -/* 80340104 0033D064 3C 80 80 3D */ lis r4, lbl_803D7A98@ha -/* 80340108 0033D068 38 A0 00 00 */ li r5, 0 -/* 8034010C 0033D06C 38 84 7A 98 */ addi r4, r4, lbl_803D7A98@l -/* 80340110 0033D070 4B FD 57 09 */ bl __nwa__FUlPCcPCc -/* 80340114 0033D074 90 7F 00 0C */ stw r3, 0xc(r31) -lbl_80340118: -/* 80340118 0033D078 80 1F 00 04 */ lwz r0, 4(r31) -/* 8034011C 0033D07C 80 81 00 24 */ lwz r4, 0x24(r1) -/* 80340120 0033D080 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 80340124 0033D084 7C 09 03 A6 */ mtctr r0 -/* 80340128 0033D088 2C 00 00 00 */ cmpwi r0, 0 -/* 8034012C 0033D08C 40 81 00 28 */ ble lbl_80340154 -lbl_80340130: -/* 80340130 0033D090 28 03 00 00 */ cmplwi r3, 0 -/* 80340134 0033D094 41 82 00 14 */ beq lbl_80340148 -/* 80340138 0033D098 80 04 00 00 */ lwz r0, 0(r4) -/* 8034013C 0033D09C 90 03 00 00 */ stw r0, 0(r3) -/* 80340140 0033D0A0 80 04 00 04 */ lwz r0, 4(r4) -/* 80340144 0033D0A4 90 03 00 04 */ stw r0, 4(r3) -lbl_80340148: -/* 80340148 0033D0A8 38 63 00 08 */ addi r3, r3, 8 -/* 8034014C 0033D0AC 38 84 00 08 */ addi r4, r4, 8 -/* 80340150 0033D0B0 42 00 FF E0 */ bdnz lbl_80340130 -lbl_80340154: -/* 80340154 0033D0B4 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 80340158 0033D0B8 80 61 00 24 */ lwz r3, 0x24(r1) -/* 8034015C 0033D0BC 54 00 18 38 */ slwi r0, r0, 3 -/* 80340160 0033D0C0 7C 03 02 14 */ add r0, r3, r0 -/* 80340164 0033D0C4 90 61 00 0C */ stw r3, 0xc(r1) -/* 80340168 0033D0C8 7C 64 1B 78 */ mr r4, r3 -/* 8034016C 0033D0CC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80340170 0033D0D0 90 01 00 10 */ stw r0, 0x10(r1) -/* 80340174 0033D0D4 90 61 00 08 */ stw r3, 8(r1) -/* 80340178 0033D0D8 48 00 00 08 */ b lbl_80340180 -lbl_8034017C: -/* 8034017C 0033D0DC 38 84 00 08 */ addi r4, r4, 8 -lbl_80340180: -/* 80340180 0033D0E0 7C 04 00 40 */ cmplw r4, r0 -/* 80340184 0033D0E4 40 82 FF F8 */ bne lbl_8034017C -/* 80340188 0033D0E8 28 03 00 00 */ cmplwi r3, 0 -/* 8034018C 0033D0EC 41 82 00 08 */ beq lbl_80340194 -/* 80340190 0033D0F0 4B FD 57 A1 */ bl Free__7CMemoryFPCv -lbl_80340194: -/* 80340194 0033D0F4 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80340198 0033D0F8 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 8034019C 0033D0FC 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 803401A0 0033D100 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 803401A4 0033D104 7C 08 03 A6 */ mtlr r0 -/* 803401A8 0033D108 38 21 00 40 */ addi r1, r1, 0x40 -/* 803401AC 0033D10C 4E 80 00 20 */ blr - -.global DebugDumpPool__11CSimplePoolCFv -DebugDumpPool__11CSimplePoolCFv: -/* 803401B0 0033D110 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803401B4 0033D114 7C 08 02 A6 */ mflr r0 -/* 803401B8 0033D118 90 01 00 14 */ stw r0, 0x14(r1) -/* 803401BC 0033D11C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 803401C0 0033D120 93 C1 00 08 */ stw r30, 8(r1) -/* 803401C4 0033D124 3B C3 00 0C */ addi r30, r3, 0xc -/* 803401C8 0033D128 83 E3 00 0C */ lwz r31, 0xc(r3) -/* 803401CC 0033D12C 48 00 00 1C */ b lbl_803401E8 -lbl_803401D0: -/* 803401D0 0033D130 80 7F 00 10 */ lwz r3, 0x10(r31) -/* 803401D4 0033D134 48 00 0E 31 */ bl Type2Text__10SObjectTagFUi -/* 803401D8 0033D138 7F C3 F3 78 */ mr r3, r30 -/* 803401DC 0033D13C 7F E4 FB 78 */ mr r4, r31 -/* 803401E0 0033D140 4B FF C4 01 */ bl rbtree_traverse_forward__4rstlFPCvPv -/* 803401E4 0033D144 7C 7F 1B 78 */ mr r31, r3 -lbl_803401E8: -/* 803401E8 0033D148 28 1F 00 00 */ cmplwi r31, 0 -/* 803401EC 0033D14C 38 00 00 00 */ li r0, 0 -/* 803401F0 0033D150 40 82 00 0C */ bne lbl_803401FC -/* 803401F4 0033D154 7C 1E F0 40 */ cmplw r30, r30 -/* 803401F8 0033D158 41 82 00 08 */ beq lbl_80340200 -lbl_803401FC: -/* 803401FC 0033D15C 38 00 00 01 */ li r0, 1 -lbl_80340200: -/* 80340200 0033D160 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 80340204 0033D164 40 82 FF CC */ bne lbl_803401D0 -/* 80340208 0033D168 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8034020C 0033D16C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80340210 0033D170 83 C1 00 08 */ lwz r30, 8(r1) -/* 80340214 0033D174 7C 08 03 A6 */ mtlr r0 -/* 80340218 0033D178 38 21 00 10 */ addi r1, r1, 0x10 -/* 8034021C 0033D17C 4E 80 00 20 */ blr - -.global Flush__11CSimplePoolFv -Flush__11CSimplePoolFv: -/* 80340220 0033D180 4E 80 00 20 */ blr - -.global ObjectIsLive__11CSimplePoolCFRC10SObjectTag -ObjectIsLive__11CSimplePoolCFRC10SObjectTag: -/* 80340224 0033D184 80 C3 00 14 */ lwz r6, 0x14(r3) -/* 80340228 0033D188 38 E0 00 00 */ li r7, 0 -/* 8034022C 0033D18C 48 00 00 24 */ b lbl_80340250 -lbl_80340230: -/* 80340230 0033D190 80 A6 00 14 */ lwz r5, 0x14(r6) -/* 80340234 0033D194 80 04 00 04 */ lwz r0, 4(r4) -/* 80340238 0033D198 7C 05 00 40 */ cmplw r5, r0 -/* 8034023C 0033D19C 41 80 00 10 */ blt lbl_8034024C -/* 80340240 0033D1A0 7C C7 33 78 */ mr r7, r6 -/* 80340244 0033D1A4 80 C6 00 00 */ lwz r6, 0(r6) -/* 80340248 0033D1A8 48 00 00 08 */ b lbl_80340250 -lbl_8034024C: -/* 8034024C 0033D1AC 80 C6 00 04 */ lwz r6, 4(r6) -lbl_80340250: -/* 80340250 0033D1B0 28 06 00 00 */ cmplwi r6, 0 -/* 80340254 0033D1B4 40 82 FF DC */ bne lbl_80340230 -/* 80340258 0033D1B8 28 07 00 00 */ cmplwi r7, 0 -/* 8034025C 0033D1BC 38 A0 00 00 */ li r5, 0 -/* 80340260 0033D1C0 41 82 00 14 */ beq lbl_80340274 -/* 80340264 0033D1C4 80 84 00 04 */ lwz r4, 4(r4) -/* 80340268 0033D1C8 80 07 00 14 */ lwz r0, 0x14(r7) -/* 8034026C 0033D1CC 7C 04 00 40 */ cmplw r4, r0 -/* 80340270 0033D1D0 40 80 00 08 */ bge lbl_80340278 -lbl_80340274: -/* 80340274 0033D1D4 38 A0 00 01 */ li r5, 1 -lbl_80340278: -/* 80340278 0033D1D8 54 A0 06 3F */ clrlwi. r0, r5, 0x18 -/* 8034027C 0033D1DC 41 82 00 08 */ beq lbl_80340284 -/* 80340280 0033D1E0 38 E0 00 00 */ li r7, 0 -lbl_80340284: -/* 80340284 0033D1E4 28 07 00 00 */ cmplwi r7, 0 -/* 80340288 0033D1E8 38 63 00 0C */ addi r3, r3, 0xc -/* 8034028C 0033D1EC 38 00 00 00 */ li r0, 0 -/* 80340290 0033D1F0 40 82 00 10 */ bne lbl_803402A0 -/* 80340294 0033D1F4 7C 03 18 40 */ cmplw r3, r3 -/* 80340298 0033D1F8 40 82 00 08 */ bne lbl_803402A0 -/* 8034029C 0033D1FC 38 00 00 01 */ li r0, 1 -lbl_803402A0: -/* 803402A0 0033D200 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 803402A4 0033D204 41 82 00 0C */ beq lbl_803402B0 -/* 803402A8 0033D208 38 60 00 00 */ li r3, 0 -/* 803402AC 0033D20C 4E 80 00 20 */ blr -lbl_803402B0: -/* 803402B0 0033D210 80 67 00 18 */ lwz r3, 0x18(r7) -/* 803402B4 0033D214 80 63 00 10 */ lwz r3, 0x10(r3) -/* 803402B8 0033D218 7C 03 00 D0 */ neg r0, r3 -/* 803402BC 0033D21C 7C 00 1B 78 */ or r0, r0, r3 -/* 803402C0 0033D220 54 03 0F FE */ srwi r3, r0, 0x1f -/* 803402C4 0033D224 4E 80 00 20 */ blr - -.global HasObject__11CSimplePoolCFRC10SObjectTag -HasObject__11CSimplePoolCFRC10SObjectTag: -/* 803402C8 0033D228 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803402CC 0033D22C 7C 08 02 A6 */ mflr r0 -/* 803402D0 0033D230 38 E0 00 00 */ li r7, 0 -/* 803402D4 0033D234 90 01 00 14 */ stw r0, 0x14(r1) -/* 803402D8 0033D238 93 E1 00 0C */ stw r31, 0xc(r1) -/* 803402DC 0033D23C 93 C1 00 08 */ stw r30, 8(r1) -/* 803402E0 0033D240 80 C3 00 14 */ lwz r6, 0x14(r3) -/* 803402E4 0033D244 48 00 00 24 */ b lbl_80340308 -lbl_803402E8: -/* 803402E8 0033D248 80 A6 00 14 */ lwz r5, 0x14(r6) -/* 803402EC 0033D24C 80 04 00 04 */ lwz r0, 4(r4) -/* 803402F0 0033D250 7C 05 00 40 */ cmplw r5, r0 -/* 803402F4 0033D254 41 80 00 10 */ blt lbl_80340304 -/* 803402F8 0033D258 7C C7 33 78 */ mr r7, r6 -/* 803402FC 0033D25C 80 C6 00 00 */ lwz r6, 0(r6) -/* 80340300 0033D260 48 00 00 08 */ b lbl_80340308 -lbl_80340304: -/* 80340304 0033D264 80 C6 00 04 */ lwz r6, 4(r6) -lbl_80340308: -/* 80340308 0033D268 28 06 00 00 */ cmplwi r6, 0 -/* 8034030C 0033D26C 40 82 FF DC */ bne lbl_803402E8 -/* 80340310 0033D270 28 07 00 00 */ cmplwi r7, 0 -/* 80340314 0033D274 38 C0 00 00 */ li r6, 0 -/* 80340318 0033D278 41 82 00 14 */ beq lbl_8034032C -/* 8034031C 0033D27C 80 A4 00 04 */ lwz r5, 4(r4) -/* 80340320 0033D280 80 07 00 14 */ lwz r0, 0x14(r7) -/* 80340324 0033D284 7C 05 00 40 */ cmplw r5, r0 -/* 80340328 0033D288 40 80 00 08 */ bge lbl_80340330 -lbl_8034032C: -/* 8034032C 0033D28C 38 C0 00 01 */ li r6, 1 -lbl_80340330: -/* 80340330 0033D290 54 C0 06 3F */ clrlwi. r0, r6, 0x18 -/* 80340334 0033D294 41 82 00 08 */ beq lbl_8034033C -/* 80340338 0033D298 38 E0 00 00 */ li r7, 0 -lbl_8034033C: -/* 8034033C 0033D29C 28 07 00 00 */ cmplwi r7, 0 -/* 80340340 0033D2A0 38 A3 00 0C */ addi r5, r3, 0xc -/* 80340344 0033D2A4 3B C0 00 01 */ li r30, 1 -/* 80340348 0033D2A8 38 00 00 00 */ li r0, 0 -/* 8034034C 0033D2AC 40 82 00 0C */ bne lbl_80340358 -/* 80340350 0033D2B0 7C 05 28 40 */ cmplw r5, r5 -/* 80340354 0033D2B4 41 82 00 08 */ beq lbl_8034035C -lbl_80340358: -/* 80340358 0033D2B8 38 00 00 01 */ li r0, 1 -lbl_8034035C: -/* 8034035C 0033D2BC 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 80340360 0033D2C0 40 82 00 3C */ bne lbl_8034039C -/* 80340364 0033D2C4 80 63 00 18 */ lwz r3, 0x18(r3) -/* 80340368 0033D2C8 3B E0 00 00 */ li r31, 0 -/* 8034036C 0033D2CC 28 03 00 00 */ cmplwi r3, 0 -/* 80340370 0033D2D0 41 82 00 20 */ beq lbl_80340390 -/* 80340374 0033D2D4 81 83 00 00 */ lwz r12, 0(r3) -/* 80340378 0033D2D8 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8034037C 0033D2DC 7D 89 03 A6 */ mtctr r12 -/* 80340380 0033D2E0 4E 80 04 21 */ bctrl -/* 80340384 0033D2E4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80340388 0033D2E8 41 82 00 08 */ beq lbl_80340390 -/* 8034038C 0033D2EC 3B E0 00 01 */ li r31, 1 -lbl_80340390: -/* 80340390 0033D2F0 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 80340394 0033D2F4 40 82 00 08 */ bne lbl_8034039C -/* 80340398 0033D2F8 3B C0 00 00 */ li r30, 0 -lbl_8034039C: -/* 8034039C 0033D2FC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803403A0 0033D300 7F C3 F3 78 */ mr r3, r30 -/* 803403A4 0033D304 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 803403A8 0033D308 83 C1 00 08 */ lwz r30, 8(r1) -/* 803403AC 0033D30C 7C 08 03 A6 */ mtlr r0 -/* 803403B0 0033D310 38 21 00 10 */ addi r1, r1, 0x10 -/* 803403B4 0033D314 4E 80 00 20 */ blr - -.global GetObj__11CSimplePoolFPCcRC15CVParamTransfer -GetObj__11CSimplePoolFPCcRC15CVParamTransfer: -/* 803403B8 0033D318 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 803403BC 0033D31C 7C 08 02 A6 */ mflr r0 -/* 803403C0 0033D320 90 01 00 24 */ stw r0, 0x24(r1) -/* 803403C4 0033D324 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 803403C8 0033D328 7C DF 33 78 */ mr r31, r6 -/* 803403CC 0033D32C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 803403D0 0033D330 7C 9E 23 78 */ mr r30, r4 -/* 803403D4 0033D334 93 A1 00 14 */ stw r29, 0x14(r1) -/* 803403D8 0033D338 7C 7D 1B 78 */ mr r29, r3 -/* 803403DC 0033D33C 80 64 00 18 */ lwz r3, 0x18(r4) -/* 803403E0 0033D340 7C A4 2B 78 */ mr r4, r5 -/* 803403E4 0033D344 81 83 00 00 */ lwz r12, 0(r3) -/* 803403E8 0033D348 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 803403EC 0033D34C 7D 89 03 A6 */ mtctr r12 -/* 803403F0 0033D350 4E 80 04 21 */ bctrl -/* 803403F4 0033D354 7C 60 1B 78 */ mr r0, r3 -/* 803403F8 0033D358 7F A3 EB 78 */ mr r3, r29 -/* 803403FC 0033D35C 7C 05 03 78 */ mr r5, r0 -/* 80340400 0033D360 7F C4 F3 78 */ mr r4, r30 -/* 80340404 0033D364 7F E6 FB 78 */ mr r6, r31 -/* 80340408 0033D368 48 00 00 81 */ bl GetObj__11CSimplePoolFRC10SObjectTagRC15CVParamTransfer -/* 8034040C 0033D36C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80340410 0033D370 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80340414 0033D374 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80340418 0033D378 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8034041C 0033D37C 7C 08 03 A6 */ mtlr r0 -/* 80340420 0033D380 38 21 00 20 */ addi r1, r1, 0x20 -/* 80340424 0033D384 4E 80 00 20 */ blr - -.global GetObj__11CSimplePoolFPCc -GetObj__11CSimplePoolFPCc: -/* 80340428 0033D388 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034042C 0033D38C 7C 08 02 A6 */ mflr r0 -/* 80340430 0033D390 38 C4 00 1C */ addi r6, r4, 0x1c -/* 80340434 0033D394 90 01 00 14 */ stw r0, 0x14(r1) -/* 80340438 0033D398 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8034043C 0033D39C 7C 7F 1B 78 */ mr r31, r3 -/* 80340440 0033D3A0 4B FF FF 79 */ bl GetObj__11CSimplePoolFPCcRC15CVParamTransfer -/* 80340444 0033D3A4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80340448 0033D3A8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8034044C 0033D3AC 7C 08 03 A6 */ mtlr r0 -/* 80340450 0033D3B0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80340454 0033D3B4 4E 80 00 20 */ blr - -.global GetObj__11CSimplePoolFRC10SObjectTag -GetObj__11CSimplePoolFRC10SObjectTag: -/* 80340458 0033D3B8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034045C 0033D3BC 7C 08 02 A6 */ mflr r0 -/* 80340460 0033D3C0 38 C4 00 1C */ addi r6, r4, 0x1c -/* 80340464 0033D3C4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80340468 0033D3C8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8034046C 0033D3CC 7C 7F 1B 78 */ mr r31, r3 -/* 80340470 0033D3D0 48 00 00 19 */ bl GetObj__11CSimplePoolFRC10SObjectTagRC15CVParamTransfer -/* 80340474 0033D3D4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80340478 0033D3D8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8034047C 0033D3DC 7C 08 03 A6 */ mtlr r0 -/* 80340480 0033D3E0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80340484 0033D3E4 4E 80 00 20 */ blr - -.global GetObj__11CSimplePoolFRC10SObjectTagRC15CVParamTransfer -GetObj__11CSimplePoolFRC10SObjectTagRC15CVParamTransfer: -/* 80340488 0033D3E8 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 8034048C 0033D3EC 7C 08 02 A6 */ mflr r0 -/* 80340490 0033D3F0 90 01 00 64 */ stw r0, 0x64(r1) -/* 80340494 0033D3F4 BF 21 00 44 */ stmw r25, 0x44(r1) -/* 80340498 0033D3F8 7C 9D 23 78 */ mr r29, r4 -/* 8034049C 0033D3FC 7C BE 2B 78 */ mr r30, r5 -/* 803404A0 0033D400 7C 7C 1B 78 */ mr r28, r3 -/* 803404A4 0033D404 7C DF 33 78 */ mr r31, r6 -/* 803404A8 0033D408 38 A0 00 00 */ li r5, 0 -/* 803404AC 0033D40C 80 84 00 14 */ lwz r4, 0x14(r4) -/* 803404B0 0033D410 48 00 00 24 */ b lbl_803404D4 -lbl_803404B4: -/* 803404B4 0033D414 80 64 00 14 */ lwz r3, 0x14(r4) -/* 803404B8 0033D418 80 1E 00 04 */ lwz r0, 4(r30) -/* 803404BC 0033D41C 7C 03 00 40 */ cmplw r3, r0 -/* 803404C0 0033D420 41 80 00 10 */ blt lbl_803404D0 -/* 803404C4 0033D424 7C 85 23 78 */ mr r5, r4 -/* 803404C8 0033D428 80 84 00 00 */ lwz r4, 0(r4) -/* 803404CC 0033D42C 48 00 00 08 */ b lbl_803404D4 -lbl_803404D0: -/* 803404D0 0033D430 80 84 00 04 */ lwz r4, 4(r4) -lbl_803404D4: -/* 803404D4 0033D434 28 04 00 00 */ cmplwi r4, 0 -/* 803404D8 0033D438 40 82 FF DC */ bne lbl_803404B4 -/* 803404DC 0033D43C 28 05 00 00 */ cmplwi r5, 0 -/* 803404E0 0033D440 38 80 00 00 */ li r4, 0 -/* 803404E4 0033D444 41 82 00 14 */ beq lbl_803404F8 -/* 803404E8 0033D448 80 7E 00 04 */ lwz r3, 4(r30) -/* 803404EC 0033D44C 80 05 00 14 */ lwz r0, 0x14(r5) -/* 803404F0 0033D450 7C 03 00 40 */ cmplw r3, r0 -/* 803404F4 0033D454 40 80 00 08 */ bge lbl_803404FC -lbl_803404F8: -/* 803404F8 0033D458 38 80 00 01 */ li r4, 1 -lbl_803404FC: -/* 803404FC 0033D45C 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 80340500 0033D460 41 82 00 08 */ beq lbl_80340508 -/* 80340504 0033D464 38 A0 00 00 */ li r5, 0 -lbl_80340508: -/* 80340508 0033D468 38 00 00 00 */ li r0, 0 -/* 8034050C 0033D46C 38 7D 00 0C */ addi r3, r29, 0xc -/* 80340510 0033D470 7C 05 00 40 */ cmplw r5, r0 -/* 80340514 0033D474 90 01 00 14 */ stw r0, 0x14(r1) -/* 80340518 0033D478 90 61 00 18 */ stw r3, 0x18(r1) -/* 8034051C 0033D47C 40 82 00 0C */ bne lbl_80340528 -/* 80340520 0033D480 7C 03 18 40 */ cmplw r3, r3 -/* 80340524 0033D484 41 82 00 08 */ beq lbl_8034052C -lbl_80340528: -/* 80340528 0033D488 38 00 00 01 */ li r0, 1 -lbl_8034052C: -/* 8034052C 0033D48C 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 80340530 0033D490 41 82 00 14 */ beq lbl_80340544 -/* 80340534 0033D494 80 85 00 18 */ lwz r4, 0x18(r5) -/* 80340538 0033D498 7F 83 E3 78 */ mr r3, r28 -/* 8034053C 0033D49C 48 00 0A A9 */ bl __ct__6CTokenFP16CObjectReference -/* 80340540 0033D4A0 48 00 00 E0 */ b lbl_80340620 -lbl_80340544: -/* 80340544 0033D4A4 3C 60 80 3D */ lis r3, lbl_803D7A98@ha -/* 80340548 0033D4A8 3B 40 00 00 */ li r26, 0 -/* 8034054C 0033D4AC 38 83 7A 98 */ addi r4, r3, lbl_803D7A98@l -/* 80340550 0033D4B0 3B 20 00 00 */ li r25, 0 -/* 80340554 0033D4B4 38 60 00 18 */ li r3, 0x18 -/* 80340558 0033D4B8 38 A0 00 00 */ li r5, 0 -/* 8034055C 0033D4BC 4B FD 53 11 */ bl __nw__FUlPCcPCc -/* 80340560 0033D4C0 7C 7B 1B 79 */ or. r27, r3, r3 -/* 80340564 0033D4C4 41 82 00 44 */ beq lbl_803405A8 -/* 80340568 0033D4C8 81 3F 00 00 */ lwz r9, 0(r31) -/* 8034056C 0033D4CC 38 00 00 00 */ li r0, 0 -/* 80340570 0033D4D0 98 01 00 0C */ stb r0, 0xc(r1) -/* 80340574 0033D4D4 7F A4 EB 78 */ mr r4, r29 -/* 80340578 0033D4D8 7F C6 F3 78 */ mr r6, r30 -/* 8034057C 0033D4DC 38 A1 00 0C */ addi r5, r1, 0xc -/* 80340580 0033D4E0 90 01 00 10 */ stw r0, 0x10(r1) -/* 80340584 0033D4E4 38 E1 00 08 */ addi r7, r1, 8 -/* 80340588 0033D4E8 3B 20 00 01 */ li r25, 1 -/* 8034058C 0033D4EC 3B 40 00 01 */ li r26, 1 -/* 80340590 0033D4F0 91 21 00 08 */ stw r9, 8(r1) -/* 80340594 0033D4F4 81 09 00 04 */ lwz r8, 4(r9) -/* 80340598 0033D4F8 38 08 00 01 */ addi r0, r8, 1 -/* 8034059C 0033D4FC 90 09 00 04 */ stw r0, 4(r9) -/* 803405A0 0033D500 4B FF F9 DD */ bl "__ct__16CObjectReferenceFR12IObjectStoreRCQ24rstl15auto_ptr<4IObj>RC10SObjectTag15CVParamTransfer" -/* 803405A4 0033D504 7C 7B 1B 78 */ mr r27, r3 -lbl_803405A8: -/* 803405A8 0033D508 7F 20 07 75 */ extsb. r0, r25 -/* 803405AC 0033D50C 41 82 00 30 */ beq lbl_803405DC -/* 803405B0 0033D510 88 01 00 0C */ lbz r0, 0xc(r1) -/* 803405B4 0033D514 28 00 00 00 */ cmplwi r0, 0 -/* 803405B8 0033D518 41 82 00 24 */ beq lbl_803405DC -/* 803405BC 0033D51C 80 61 00 10 */ lwz r3, 0x10(r1) -/* 803405C0 0033D520 28 03 00 00 */ cmplwi r3, 0 -/* 803405C4 0033D524 41 82 00 18 */ beq lbl_803405DC -/* 803405C8 0033D528 81 83 00 00 */ lwz r12, 0(r3) -/* 803405CC 0033D52C 38 80 00 01 */ li r4, 1 -/* 803405D0 0033D530 81 8C 00 08 */ lwz r12, 8(r12) -/* 803405D4 0033D534 7D 89 03 A6 */ mtctr r12 -/* 803405D8 0033D538 4E 80 04 21 */ bctrl -lbl_803405DC: -/* 803405DC 0033D53C 7F 40 07 75 */ extsb. r0, r26 -/* 803405E0 0033D540 41 82 00 0C */ beq lbl_803405EC -/* 803405E4 0033D544 38 61 00 08 */ addi r3, r1, 8 -/* 803405E8 0033D548 4B CF 3D 1D */ bl sub_80034304 -lbl_803405EC: -/* 803405EC 0033D54C 80 BE 00 00 */ lwz r5, 0(r30) -/* 803405F0 0033D550 38 61 00 1C */ addi r3, r1, 0x1c -/* 803405F4 0033D554 80 1E 00 04 */ lwz r0, 4(r30) -/* 803405F8 0033D558 38 9D 00 04 */ addi r4, r29, 4 -/* 803405FC 0033D55C 90 A1 00 28 */ stw r5, 0x28(r1) -/* 80340600 0033D560 38 C1 00 28 */ addi r6, r1, 0x28 -/* 80340604 0033D564 90 01 00 2C */ stw r0, 0x2c(r1) -/* 80340608 0033D568 93 61 00 30 */ stw r27, 0x30(r1) -/* 8034060C 0033D56C 80 BD 00 14 */ lwz r5, 0x14(r29) -/* 80340610 0033D570 48 00 04 69 */ bl sub_80340a78 -/* 80340614 0033D574 7F 83 E3 78 */ mr r3, r28 -/* 80340618 0033D578 7F 64 DB 78 */ mr r4, r27 -/* 8034061C 0033D57C 48 00 09 C9 */ bl __ct__6CTokenFP16CObjectReference -lbl_80340620: -/* 80340620 0033D580 BB 21 00 44 */ lmw r25, 0x44(r1) -/* 80340624 0033D584 80 01 00 64 */ lwz r0, 0x64(r1) -/* 80340628 0033D588 7C 08 03 A6 */ mtlr r0 -/* 8034062C 0033D58C 38 21 00 60 */ addi r1, r1, 0x60 -/* 80340630 0033D590 4E 80 00 20 */ blr - -.global ObjectUnreferenced__11CSimplePoolFRC10SObjectTag -ObjectUnreferenced__11CSimplePoolFRC10SObjectTag: -/* 80340634 0033D594 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80340638 0033D598 7C 08 02 A6 */ mflr r0 -/* 8034063C 0033D59C 38 C0 00 00 */ li r6, 0 -/* 80340640 0033D5A0 90 01 00 24 */ stw r0, 0x24(r1) -/* 80340644 0033D5A4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80340648 0033D5A8 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8034064C 0033D5AC 7C 7E 1B 78 */ mr r30, r3 -/* 80340650 0033D5B0 80 A3 00 14 */ lwz r5, 0x14(r3) -/* 80340654 0033D5B4 48 00 00 24 */ b lbl_80340678 -lbl_80340658: -/* 80340658 0033D5B8 80 65 00 14 */ lwz r3, 0x14(r5) -/* 8034065C 0033D5BC 80 04 00 04 */ lwz r0, 4(r4) -/* 80340660 0033D5C0 7C 03 00 40 */ cmplw r3, r0 -/* 80340664 0033D5C4 41 80 00 10 */ blt lbl_80340674 -/* 80340668 0033D5C8 7C A6 2B 78 */ mr r6, r5 -/* 8034066C 0033D5CC 80 A5 00 00 */ lwz r5, 0(r5) -/* 80340670 0033D5D0 48 00 00 08 */ b lbl_80340678 -lbl_80340674: -/* 80340674 0033D5D4 80 A5 00 04 */ lwz r5, 4(r5) -lbl_80340678: -/* 80340678 0033D5D8 28 05 00 00 */ cmplwi r5, 0 -/* 8034067C 0033D5DC 40 82 FF DC */ bne lbl_80340658 -/* 80340680 0033D5E0 28 06 00 00 */ cmplwi r6, 0 -/* 80340684 0033D5E4 38 A0 00 00 */ li r5, 0 -/* 80340688 0033D5E8 41 82 00 14 */ beq lbl_8034069C -/* 8034068C 0033D5EC 80 64 00 04 */ lwz r3, 4(r4) -/* 80340690 0033D5F0 80 06 00 14 */ lwz r0, 0x14(r6) -/* 80340694 0033D5F4 7C 03 00 40 */ cmplw r3, r0 -/* 80340698 0033D5F8 40 80 00 08 */ bge lbl_803406A0 -lbl_8034069C: -/* 8034069C 0033D5FC 38 A0 00 01 */ li r5, 1 -lbl_803406A0: -/* 803406A0 0033D600 54 A0 06 3F */ clrlwi. r0, r5, 0x18 -/* 803406A4 0033D604 41 82 00 08 */ beq lbl_803406AC -/* 803406A8 0033D608 38 C0 00 00 */ li r6, 0 -lbl_803406AC: -/* 803406AC 0033D60C 3B FE 00 0C */ addi r31, r30, 0xc -/* 803406B0 0033D610 90 C1 00 10 */ stw r6, 0x10(r1) -/* 803406B4 0033D614 7F E3 FB 78 */ mr r3, r31 -/* 803406B8 0033D618 7C C4 33 78 */ mr r4, r6 -/* 803406BC 0033D61C 93 E1 00 14 */ stw r31, 0x14(r1) -/* 803406C0 0033D620 90 C1 00 08 */ stw r6, 8(r1) -/* 803406C4 0033D624 93 E1 00 0C */ stw r31, 0xc(r1) -/* 803406C8 0033D628 4B FF BF 19 */ bl rbtree_traverse_forward__4rstlFPCvPv -/* 803406CC 0033D62C 80 81 00 08 */ lwz r4, 8(r1) -/* 803406D0 0033D630 7F E3 FB 78 */ mr r3, r31 -/* 803406D4 0033D634 4B FF BF A9 */ bl rbtree_rebalance_for_erase__4rstlFPvPv -/* 803406D8 0033D638 28 03 00 00 */ cmplwi r3, 0 -/* 803406DC 0033D63C 41 82 00 08 */ beq lbl_803406E4 -/* 803406E0 0033D640 4B FD 52 51 */ bl Free__7CMemoryFPCv -lbl_803406E4: -/* 803406E4 0033D644 80 7E 00 08 */ lwz r3, 8(r30) -/* 803406E8 0033D648 38 03 FF FF */ addi r0, r3, -1 -/* 803406EC 0033D64C 90 1E 00 08 */ stw r0, 8(r30) -/* 803406F0 0033D650 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 803406F4 0033D654 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 803406F8 0033D658 80 01 00 24 */ lwz r0, 0x24(r1) -/* 803406FC 0033D65C 7C 08 03 A6 */ mtlr r0 -/* 80340700 0033D660 38 21 00 20 */ addi r1, r1, 0x20 -/* 80340704 0033D664 4E 80 00 20 */ blr - -.global __dt__11CSimplePool -__dt__11CSimplePool: -/* 80340708 0033D668 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034070C 0033D66C 7C 08 02 A6 */ mflr r0 -/* 80340710 0033D670 90 01 00 14 */ stw r0, 0x14(r1) -/* 80340714 0033D674 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80340718 0033D678 7C 9F 23 78 */ mr r31, r4 -/* 8034071C 0033D67C 93 C1 00 08 */ stw r30, 8(r1) -/* 80340720 0033D680 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80340724 0033D684 41 82 00 94 */ beq lbl_803407B8 -/* 80340728 0033D688 3C 80 80 3F */ lis r4, lbl_803EE410@ha -/* 8034072C 0033D68C 38 04 E4 10 */ addi r0, r4, lbl_803EE410@l -/* 80340730 0033D690 90 1E 00 00 */ stw r0, 0(r30) -/* 80340734 0033D694 81 83 00 00 */ lwz r12, 0(r3) -/* 80340738 0033D698 81 8C 00 24 */ lwz r12, 0x24(r12) -/* 8034073C 0033D69C 7D 89 03 A6 */ mtctr r12 -/* 80340740 0033D6A0 4E 80 04 21 */ bctrl -/* 80340744 0033D6A4 80 1E 00 08 */ lwz r0, 8(r30) -/* 80340748 0033D6A8 2C 00 00 00 */ cmpwi r0, 0 -/* 8034074C 0033D6AC 40 81 00 0C */ ble lbl_80340758 -/* 80340750 0033D6B0 7F C3 F3 78 */ mr r3, r30 -/* 80340754 0033D6B4 4B FF FA 5D */ bl DebugDumpPool__11CSimplePoolCFv -lbl_80340758: -/* 80340758 0033D6B8 34 1E 00 1C */ addic. r0, r30, 0x1c -/* 8034075C 0033D6BC 41 82 00 14 */ beq lbl_80340770 -/* 80340760 0033D6C0 34 1E 00 1C */ addic. r0, r30, 0x1c -/* 80340764 0033D6C4 41 82 00 0C */ beq lbl_80340770 -/* 80340768 0033D6C8 38 7E 00 1C */ addi r3, r30, 0x1c -/* 8034076C 0033D6CC 4B CF 3B 99 */ bl sub_80034304 -lbl_80340770: -/* 80340770 0033D6D0 34 1E 00 04 */ addic. r0, r30, 4 -/* 80340774 0033D6D4 41 82 00 34 */ beq lbl_803407A8 -/* 80340778 0033D6D8 34 1E 00 04 */ addic. r0, r30, 4 -/* 8034077C 0033D6DC 41 82 00 2C */ beq lbl_803407A8 -/* 80340780 0033D6E0 80 9E 00 14 */ lwz r4, 0x14(r30) -/* 80340784 0033D6E4 28 04 00 00 */ cmplwi r4, 0 -/* 80340788 0033D6E8 41 82 00 0C */ beq lbl_80340794 -/* 8034078C 0033D6EC 38 7E 00 04 */ addi r3, r30, 4 -/* 80340790 0033D6F0 48 00 01 8D */ bl sub_8034091c -lbl_80340794: -/* 80340794 0033D6F4 38 00 00 00 */ li r0, 0 -/* 80340798 0033D6F8 90 1E 00 14 */ stw r0, 0x14(r30) -/* 8034079C 0033D6FC 90 1E 00 0C */ stw r0, 0xc(r30) -/* 803407A0 0033D700 90 1E 00 10 */ stw r0, 0x10(r30) -/* 803407A4 0033D704 90 1E 00 08 */ stw r0, 8(r30) -lbl_803407A8: -/* 803407A8 0033D708 7F E0 07 35 */ extsh. r0, r31 -/* 803407AC 0033D70C 40 81 00 0C */ ble lbl_803407B8 -/* 803407B0 0033D710 7F C3 F3 78 */ mr r3, r30 -/* 803407B4 0033D714 4B FD 51 7D */ bl Free__7CMemoryFPCv -lbl_803407B8: -/* 803407B8 0033D718 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803407BC 0033D71C 7F C3 F3 78 */ mr r3, r30 -/* 803407C0 0033D720 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 803407C4 0033D724 83 C1 00 08 */ lwz r30, 8(r1) -/* 803407C8 0033D728 7C 08 03 A6 */ mtlr r0 -/* 803407CC 0033D72C 38 21 00 10 */ addi r1, r1, 0x10 -/* 803407D0 0033D730 4E 80 00 20 */ blr - -.global __ct__11CSimplePoolFR8IFactory -__ct__11CSimplePoolFR8IFactory: -/* 803407D4 0033D734 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 803407D8 0033D738 7C 08 02 A6 */ mflr r0 -/* 803407DC 0033D73C 3C A0 80 3F */ lis r5, lbl_803EE3E4@ha -/* 803407E0 0033D740 90 01 00 24 */ stw r0, 0x24(r1) -/* 803407E4 0033D744 38 05 E3 E4 */ addi r0, r5, lbl_803EE3E4@l -/* 803407E8 0033D748 88 A1 00 08 */ lbz r5, 8(r1) -/* 803407EC 0033D74C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 803407F0 0033D750 7C 7F 1B 78 */ mr r31, r3 -/* 803407F4 0033D754 3C 60 80 3F */ lis r3, lbl_803EE410@ha -/* 803407F8 0033D758 93 C1 00 18 */ stw r30, 0x18(r1) -/* 803407FC 0033D75C 38 63 E4 10 */ addi r3, r3, lbl_803EE410@l -/* 80340800 0033D760 90 1F 00 00 */ stw r0, 0(r31) -/* 80340804 0033D764 38 00 00 00 */ li r0, 0 -/* 80340808 0033D768 90 7F 00 00 */ stw r3, 0(r31) -/* 8034080C 0033D76C 38 61 00 14 */ addi r3, r1, 0x14 -/* 80340810 0033D770 88 CD A9 48 */ lbz r6, lbl_805A9508@sda21(r13) -/* 80340814 0033D774 98 BF 00 04 */ stb r5, 4(r31) -/* 80340818 0033D778 98 DF 00 05 */ stb r6, 5(r31) -/* 8034081C 0033D77C 90 1F 00 08 */ stw r0, 8(r31) -/* 80340820 0033D780 90 1F 00 0C */ stw r0, 0xc(r31) -/* 80340824 0033D784 90 1F 00 10 */ stw r0, 0x10(r31) -/* 80340828 0033D788 90 1F 00 14 */ stw r0, 0x14(r31) -/* 8034082C 0033D78C 98 C1 00 0C */ stb r6, 0xc(r1) -/* 80340830 0033D790 90 9F 00 18 */ stw r4, 0x18(r31) -/* 80340834 0033D794 4B CF 41 21 */ bl Null__15CVParamTransferFv -/* 80340838 0033D798 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8034083C 0033D79C 38 61 00 14 */ addi r3, r1, 0x14 -/* 80340840 0033D7A0 90 1F 00 1C */ stw r0, 0x1c(r31) -/* 80340844 0033D7A4 80 BF 00 1C */ lwz r5, 0x1c(r31) -/* 80340848 0033D7A8 80 85 00 04 */ lwz r4, 4(r5) -/* 8034084C 0033D7AC 38 04 00 01 */ addi r0, r4, 1 -/* 80340850 0033D7B0 90 05 00 04 */ stw r0, 4(r5) -/* 80340854 0033D7B4 4B CF 3A B1 */ bl sub_80034304 -/* 80340858 0033D7B8 3C 80 80 3D */ lis r4, lbl_803D7A98@ha -/* 8034085C 0033D7BC 38 60 00 08 */ li r3, 8 -/* 80340860 0033D7C0 38 84 7A 98 */ addi r4, r4, lbl_803D7A98@l -/* 80340864 0033D7C4 38 A0 00 00 */ li r5, 0 -/* 80340868 0033D7C8 4B FD 50 05 */ bl __nw__FUlPCcPCc -/* 8034086C 0033D7CC 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80340870 0033D7D0 41 82 00 2C */ beq lbl_8034089C -/* 80340874 0033D7D4 3C 60 80 3E */ lis r3, lbl_803D8D6C@ha -/* 80340878 0033D7D8 3C 80 80 3E */ lis r4, lbl_803D9C44@ha -/* 8034087C 0033D7DC 38 03 8D 6C */ addi r0, r3, lbl_803D8D6C@l -/* 80340880 0033D7E0 3C 60 80 3F */ lis r3, lbl_803EE3D8@ha -/* 80340884 0033D7E4 90 1E 00 00 */ stw r0, 0(r30) -/* 80340888 0033D7E8 38 84 9C 44 */ addi r4, r4, lbl_803D9C44@l -/* 8034088C 0033D7EC 38 03 E3 D8 */ addi r0, r3, lbl_803EE3D8@l -/* 80340890 0033D7F0 90 9E 00 00 */ stw r4, 0(r30) -/* 80340894 0033D7F4 90 1E 00 00 */ stw r0, 0(r30) -/* 80340898 0033D7F8 93 FE 00 04 */ stw r31, 4(r30) -lbl_8034089C: -/* 8034089C 0033D7FC 3C 80 80 3D */ lis r4, lbl_803D7A98@ha -/* 803408A0 0033D800 38 60 00 08 */ li r3, 8 -/* 803408A4 0033D804 38 84 7A 98 */ addi r4, r4, lbl_803D7A98@l -/* 803408A8 0033D808 38 A0 00 00 */ li r5, 0 -/* 803408AC 0033D80C 4B FD 4F C1 */ bl __nw__FUlPCcPCc -/* 803408B0 0033D810 28 03 00 00 */ cmplwi r3, 0 -/* 803408B4 0033D814 41 82 00 10 */ beq lbl_803408C4 -/* 803408B8 0033D818 93 C3 00 00 */ stw r30, 0(r3) -/* 803408BC 0033D81C 38 00 00 01 */ li r0, 1 -/* 803408C0 0033D820 90 03 00 04 */ stw r0, 4(r3) -lbl_803408C4: -/* 803408C4 0033D824 90 61 00 10 */ stw r3, 0x10(r1) -/* 803408C8 0033D828 38 9F 00 1C */ addi r4, r31, 0x1c -/* 803408CC 0033D82C 80 1F 00 1C */ lwz r0, 0x1c(r31) -/* 803408D0 0033D830 7C 00 18 40 */ cmplw r0, r3 -/* 803408D4 0033D834 41 82 00 24 */ beq lbl_803408F8 -/* 803408D8 0033D838 7C 83 23 78 */ mr r3, r4 -/* 803408DC 0033D83C 4B CF 3A 29 */ bl sub_80034304 -/* 803408E0 0033D840 80 01 00 10 */ lwz r0, 0x10(r1) -/* 803408E4 0033D844 90 1F 00 1C */ stw r0, 0x1c(r31) -/* 803408E8 0033D848 80 9F 00 1C */ lwz r4, 0x1c(r31) -/* 803408EC 0033D84C 80 64 00 04 */ lwz r3, 4(r4) -/* 803408F0 0033D850 38 03 00 01 */ addi r0, r3, 1 -/* 803408F4 0033D854 90 04 00 04 */ stw r0, 4(r4) -lbl_803408F8: -/* 803408F8 0033D858 38 61 00 10 */ addi r3, r1, 0x10 -/* 803408FC 0033D85C 4B CF 3A 09 */ bl sub_80034304 -/* 80340900 0033D860 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80340904 0033D864 7F E3 FB 78 */ mr r3, r31 -/* 80340908 0033D868 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8034090C 0033D86C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80340910 0033D870 7C 08 03 A6 */ mtlr r0 -/* 80340914 0033D874 38 21 00 20 */ addi r1, r1, 0x20 -/* 80340918 0033D878 4E 80 00 20 */ blr - -.global sub_8034091c -sub_8034091c: -/* 8034091C 0033D87C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80340920 0033D880 7C 08 02 A6 */ mflr r0 -/* 80340924 0033D884 90 01 00 14 */ stw r0, 0x14(r1) -/* 80340928 0033D888 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8034092C 0033D88C 7C 9F 23 78 */ mr r31, r4 -/* 80340930 0033D890 93 C1 00 08 */ stw r30, 8(r1) -/* 80340934 0033D894 7C 7E 1B 78 */ mr r30, r3 -/* 80340938 0033D898 80 84 00 00 */ lwz r4, 0(r4) -/* 8034093C 0033D89C 28 04 00 00 */ cmplwi r4, 0 -/* 80340940 0033D8A0 41 82 00 08 */ beq lbl_80340948 -/* 80340944 0033D8A4 4B FF FF D9 */ bl sub_8034091c -lbl_80340948: -/* 80340948 0033D8A8 80 9F 00 04 */ lwz r4, 4(r31) -/* 8034094C 0033D8AC 28 04 00 00 */ cmplwi r4, 0 -/* 80340950 0033D8B0 41 82 00 0C */ beq lbl_8034095C -/* 80340954 0033D8B4 7F C3 F3 78 */ mr r3, r30 -/* 80340958 0033D8B8 4B FF FF C5 */ bl sub_8034091c -lbl_8034095C: -/* 8034095C 0033D8BC 28 1F 00 00 */ cmplwi r31, 0 -/* 80340960 0033D8C0 41 82 00 0C */ beq lbl_8034096C -/* 80340964 0033D8C4 7F E3 FB 78 */ mr r3, r31 -/* 80340968 0033D8C8 4B FD 4F C9 */ bl Free__7CMemoryFPCv -lbl_8034096C: -/* 8034096C 0033D8CC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80340970 0033D8D0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80340974 0033D8D4 83 C1 00 08 */ lwz r30, 8(r1) -/* 80340978 0033D8D8 7C 08 03 A6 */ mtlr r0 -/* 8034097C 0033D8DC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80340980 0033D8E0 4E 80 00 20 */ blr - -.global "reserve__Q24rstl47vector<10SObjectTag,Q24rstl17rmemory_allocator>Fi" -"reserve__Q24rstl47vector<10SObjectTag,Q24rstl17rmemory_allocator>Fi": -/* 80340984 0033D8E4 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80340988 0033D8E8 7C 08 02 A6 */ mflr r0 -/* 8034098C 0033D8EC 90 01 00 34 */ stw r0, 0x34(r1) -/* 80340990 0033D8F0 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80340994 0033D8F4 7C 9F 23 78 */ mr r31, r4 -/* 80340998 0033D8F8 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8034099C 0033D8FC 7C 7E 1B 78 */ mr r30, r3 -/* 803409A0 0033D900 93 A1 00 24 */ stw r29, 0x24(r1) -/* 803409A4 0033D904 80 03 00 08 */ lwz r0, 8(r3) -/* 803409A8 0033D908 7C 1F 00 00 */ cmpw r31, r0 -/* 803409AC 0033D90C 40 81 00 B0 */ ble lbl_80340A5C -/* 803409B0 0033D910 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c -/* 803409B4 0033D914 40 82 00 0C */ bne lbl_803409C0 -/* 803409B8 0033D918 3B A0 00 00 */ li r29, 0 -/* 803409BC 0033D91C 48 00 00 18 */ b lbl_803409D4 -lbl_803409C0: -/* 803409C0 0033D920 3C 80 80 3D */ lis r4, lbl_803D7A98@ha -/* 803409C4 0033D924 38 A0 00 00 */ li r5, 0 -/* 803409C8 0033D928 38 84 7A 98 */ addi r4, r4, lbl_803D7A98@l -/* 803409CC 0033D92C 4B FD 4E 4D */ bl __nwa__FUlPCcPCc -/* 803409D0 0033D930 7C 7D 1B 78 */ mr r29, r3 -lbl_803409D4: -/* 803409D4 0033D934 80 1E 00 04 */ lwz r0, 4(r30) -/* 803409D8 0033D938 7F A4 EB 78 */ mr r4, r29 -/* 803409DC 0033D93C 80 BE 00 0C */ lwz r5, 0xc(r30) -/* 803409E0 0033D940 54 00 18 38 */ slwi r0, r0, 3 -/* 803409E4 0033D944 7C 65 02 14 */ add r3, r5, r0 -/* 803409E8 0033D948 90 A1 00 10 */ stw r5, 0x10(r1) -/* 803409EC 0033D94C 90 61 00 08 */ stw r3, 8(r1) -/* 803409F0 0033D950 90 61 00 0C */ stw r3, 0xc(r1) -/* 803409F4 0033D954 90 A1 00 14 */ stw r5, 0x14(r1) -/* 803409F8 0033D958 48 00 00 24 */ b lbl_80340A1C -lbl_803409FC: -/* 803409FC 0033D95C 28 04 00 00 */ cmplwi r4, 0 -/* 80340A00 0033D960 41 82 00 14 */ beq lbl_80340A14 -/* 80340A04 0033D964 80 05 00 00 */ lwz r0, 0(r5) -/* 80340A08 0033D968 90 04 00 00 */ stw r0, 0(r4) -/* 80340A0C 0033D96C 80 05 00 04 */ lwz r0, 4(r5) -/* 80340A10 0033D970 90 04 00 04 */ stw r0, 4(r4) -lbl_80340A14: -/* 80340A14 0033D974 38 84 00 08 */ addi r4, r4, 8 -/* 80340A18 0033D978 38 A5 00 08 */ addi r5, r5, 8 -lbl_80340A1C: -/* 80340A1C 0033D97C 7C 05 18 40 */ cmplw r5, r3 -/* 80340A20 0033D980 40 82 FF DC */ bne lbl_803409FC -/* 80340A24 0033D984 80 1E 00 04 */ lwz r0, 4(r30) -/* 80340A28 0033D988 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 80340A2C 0033D98C 54 00 18 38 */ slwi r0, r0, 3 -/* 80340A30 0033D990 7C 64 1B 78 */ mr r4, r3 -/* 80340A34 0033D994 7C 03 02 14 */ add r0, r3, r0 -/* 80340A38 0033D998 48 00 00 08 */ b lbl_80340A40 -lbl_80340A3C: -/* 80340A3C 0033D99C 38 84 00 08 */ addi r4, r4, 8 -lbl_80340A40: -/* 80340A40 0033D9A0 7C 04 00 40 */ cmplw r4, r0 -/* 80340A44 0033D9A4 40 82 FF F8 */ bne lbl_80340A3C -/* 80340A48 0033D9A8 28 03 00 00 */ cmplwi r3, 0 -/* 80340A4C 0033D9AC 41 82 00 08 */ beq lbl_80340A54 -/* 80340A50 0033D9B0 4B FD 4E E1 */ bl Free__7CMemoryFPCv -lbl_80340A54: -/* 80340A54 0033D9B4 93 BE 00 0C */ stw r29, 0xc(r30) -/* 80340A58 0033D9B8 93 FE 00 08 */ stw r31, 8(r30) -lbl_80340A5C: -/* 80340A5C 0033D9BC 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80340A60 0033D9C0 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80340A64 0033D9C4 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80340A68 0033D9C8 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80340A6C 0033D9CC 7C 08 03 A6 */ mtlr r0 -/* 80340A70 0033D9D0 38 21 00 30 */ addi r1, r1, 0x30 -/* 80340A74 0033D9D4 4E 80 00 20 */ blr - -.global sub_80340a78 -sub_80340a78: -/* 80340A78 0033D9D8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80340A7C 0033D9DC 7C 08 02 A6 */ mflr r0 -/* 80340A80 0033D9E0 28 05 00 00 */ cmplwi r5, 0 -/* 80340A84 0033D9E4 90 01 00 24 */ stw r0, 0x24(r1) -/* 80340A88 0033D9E8 BF 61 00 0C */ stmw r27, 0xc(r1) -/* 80340A8C 0033D9EC 7C 7C 1B 78 */ mr r28, r3 -/* 80340A90 0033D9F0 7C 9D 23 78 */ mr r29, r4 -/* 80340A94 0033D9F4 7C DE 33 78 */ mr r30, r6 -/* 80340A98 0033D9F8 40 82 00 90 */ bne lbl_80340B28 -/* 80340A9C 0033D9FC 3C 80 80 3D */ lis r4, lbl_803D7A98@ha -/* 80340AA0 0033DA00 38 60 00 1C */ li r3, 0x1c -/* 80340AA4 0033DA04 38 84 7A 98 */ addi r4, r4, lbl_803D7A98@l -/* 80340AA8 0033DA08 38 A0 00 00 */ li r5, 0 -/* 80340AAC 0033DA0C 4B FD 4D 6D */ bl __nwa__FUlPCcPCc -/* 80340AB0 0033DA10 28 03 00 00 */ cmplwi r3, 0 -/* 80340AB4 0033DA14 41 82 00 38 */ beq lbl_80340AEC -/* 80340AB8 0033DA18 38 00 00 00 */ li r0, 0 -/* 80340ABC 0033DA1C 34 83 00 10 */ addic. r4, r3, 0x10 -/* 80340AC0 0033DA20 90 03 00 00 */ stw r0, 0(r3) -/* 80340AC4 0033DA24 90 03 00 04 */ stw r0, 4(r3) -/* 80340AC8 0033DA28 90 03 00 08 */ stw r0, 8(r3) -/* 80340ACC 0033DA2C 90 03 00 0C */ stw r0, 0xc(r3) -/* 80340AD0 0033DA30 41 82 00 1C */ beq lbl_80340AEC -/* 80340AD4 0033DA34 80 1E 00 00 */ lwz r0, 0(r30) -/* 80340AD8 0033DA38 90 04 00 00 */ stw r0, 0(r4) -/* 80340ADC 0033DA3C 80 1E 00 04 */ lwz r0, 4(r30) -/* 80340AE0 0033DA40 90 04 00 04 */ stw r0, 4(r4) -/* 80340AE4 0033DA44 80 1E 00 08 */ lwz r0, 8(r30) -/* 80340AE8 0033DA48 90 04 00 08 */ stw r0, 8(r4) -lbl_80340AEC: -/* 80340AEC 0033DA4C 90 7D 00 10 */ stw r3, 0x10(r29) -/* 80340AF0 0033DA50 38 1D 00 08 */ addi r0, r29, 8 -/* 80340AF4 0033DA54 80 7D 00 04 */ lwz r3, 4(r29) -/* 80340AF8 0033DA58 38 63 00 01 */ addi r3, r3, 1 -/* 80340AFC 0033DA5C 90 7D 00 04 */ stw r3, 4(r29) -/* 80340B00 0033DA60 80 7D 00 10 */ lwz r3, 0x10(r29) -/* 80340B04 0033DA64 90 7D 00 08 */ stw r3, 8(r29) -/* 80340B08 0033DA68 80 7D 00 10 */ lwz r3, 0x10(r29) -/* 80340B0C 0033DA6C 90 7D 00 0C */ stw r3, 0xc(r29) -/* 80340B10 0033DA70 80 7D 00 10 */ lwz r3, 0x10(r29) -/* 80340B14 0033DA74 90 7C 00 00 */ stw r3, 0(r28) -/* 80340B18 0033DA78 90 1C 00 04 */ stw r0, 4(r28) -/* 80340B1C 0033DA7C 88 0D 9D 50 */ lbz r0, lbl_805A8910@sda21(r13) -/* 80340B20 0033DA80 98 1C 00 08 */ stb r0, 8(r28) -/* 80340B24 0033DA84 48 00 01 8C */ b lbl_80340CB0 -lbl_80340B28: -/* 80340B28 0033DA88 7C BF 2B 78 */ mr r31, r5 -/* 80340B2C 0033DA8C 3B 60 00 00 */ li r27, 0 -/* 80340B30 0033DA90 48 00 01 4C */ b lbl_80340C7C -lbl_80340B34: -/* 80340B34 0033DA94 80 7E 00 04 */ lwz r3, 4(r30) -/* 80340B38 0033DA98 80 9F 00 14 */ lwz r4, 0x14(r31) -/* 80340B3C 0033DA9C 7C 80 1A 78 */ xor r0, r4, r3 -/* 80340B40 0033DAA0 7C 00 00 34 */ cntlzw r0, r0 -/* 80340B44 0033DAA4 7C 80 00 30 */ slw r0, r4, r0 -/* 80340B48 0033DAA8 54 00 0F FF */ rlwinm. r0, r0, 1, 0x1f, 0x1f -/* 80340B4C 0033DAAC 40 82 00 24 */ bne lbl_80340B70 -/* 80340B50 0033DAB0 7C 04 18 40 */ cmplw r4, r3 -/* 80340B54 0033DAB4 41 80 00 1C */ blt lbl_80340B70 -/* 80340B58 0033DAB8 93 FC 00 00 */ stw r31, 0(r28) -/* 80340B5C 0033DABC 38 1D 00 08 */ addi r0, r29, 8 -/* 80340B60 0033DAC0 90 1C 00 04 */ stw r0, 4(r28) -/* 80340B64 0033DAC4 88 0D 9D 51 */ lbz r0, lbl_805A8911@sda21(r13) -/* 80340B68 0033DAC8 98 1C 00 08 */ stb r0, 8(r28) -/* 80340B6C 0033DACC 48 00 01 44 */ b lbl_80340CB0 -lbl_80340B70: -/* 80340B70 0033DAD0 28 00 00 00 */ cmplwi r0, 0 -/* 80340B74 0033DAD4 41 82 00 88 */ beq lbl_80340BFC -/* 80340B78 0033DAD8 80 1F 00 00 */ lwz r0, 0(r31) -/* 80340B7C 0033DADC 28 00 00 00 */ cmplwi r0, 0 -/* 80340B80 0033DAE0 40 82 00 74 */ bne lbl_80340BF4 -/* 80340B84 0033DAE4 3C 80 80 3D */ lis r4, lbl_803D7A98@ha -/* 80340B88 0033DAE8 38 60 00 1C */ li r3, 0x1c -/* 80340B8C 0033DAEC 38 84 7A 98 */ addi r4, r4, lbl_803D7A98@l -/* 80340B90 0033DAF0 38 A0 00 00 */ li r5, 0 -/* 80340B94 0033DAF4 4B FD 4C 85 */ bl __nwa__FUlPCcPCc -/* 80340B98 0033DAF8 28 03 00 00 */ cmplwi r3, 0 -/* 80340B9C 0033DAFC 41 82 00 3C */ beq lbl_80340BD8 -/* 80340BA0 0033DB00 38 80 00 00 */ li r4, 0 -/* 80340BA4 0033DB04 34 A3 00 10 */ addic. r5, r3, 0x10 -/* 80340BA8 0033DB08 90 83 00 00 */ stw r4, 0(r3) -/* 80340BAC 0033DB0C 38 00 00 01 */ li r0, 1 -/* 80340BB0 0033DB10 90 83 00 04 */ stw r4, 4(r3) -/* 80340BB4 0033DB14 93 E3 00 08 */ stw r31, 8(r3) -/* 80340BB8 0033DB18 90 03 00 0C */ stw r0, 0xc(r3) -/* 80340BBC 0033DB1C 41 82 00 1C */ beq lbl_80340BD8 -/* 80340BC0 0033DB20 80 1E 00 00 */ lwz r0, 0(r30) -/* 80340BC4 0033DB24 90 05 00 00 */ stw r0, 0(r5) -/* 80340BC8 0033DB28 80 1E 00 04 */ lwz r0, 4(r30) -/* 80340BCC 0033DB2C 90 05 00 04 */ stw r0, 4(r5) -/* 80340BD0 0033DB30 80 1E 00 08 */ lwz r0, 8(r30) -/* 80340BD4 0033DB34 90 05 00 08 */ stw r0, 8(r5) -lbl_80340BD8: -/* 80340BD8 0033DB38 90 7F 00 00 */ stw r3, 0(r31) -/* 80340BDC 0033DB3C 7C 7B 1B 78 */ mr r27, r3 -/* 80340BE0 0033DB40 80 1D 00 08 */ lwz r0, 8(r29) -/* 80340BE4 0033DB44 7C 1F 00 40 */ cmplw r31, r0 -/* 80340BE8 0033DB48 40 82 00 94 */ bne lbl_80340C7C -/* 80340BEC 0033DB4C 90 7D 00 08 */ stw r3, 8(r29) -/* 80340BF0 0033DB50 48 00 00 8C */ b lbl_80340C7C -lbl_80340BF4: -/* 80340BF4 0033DB54 7C 1F 03 78 */ mr r31, r0 -/* 80340BF8 0033DB58 48 00 00 84 */ b lbl_80340C7C -lbl_80340BFC: -/* 80340BFC 0033DB5C 80 1F 00 04 */ lwz r0, 4(r31) -/* 80340C00 0033DB60 28 00 00 00 */ cmplwi r0, 0 -/* 80340C04 0033DB64 40 82 00 74 */ bne lbl_80340C78 -/* 80340C08 0033DB68 3C 80 80 3D */ lis r4, lbl_803D7A98@ha -/* 80340C0C 0033DB6C 38 60 00 1C */ li r3, 0x1c -/* 80340C10 0033DB70 38 84 7A 98 */ addi r4, r4, lbl_803D7A98@l -/* 80340C14 0033DB74 38 A0 00 00 */ li r5, 0 -/* 80340C18 0033DB78 4B FD 4C 01 */ bl __nwa__FUlPCcPCc -/* 80340C1C 0033DB7C 28 03 00 00 */ cmplwi r3, 0 -/* 80340C20 0033DB80 41 82 00 3C */ beq lbl_80340C5C -/* 80340C24 0033DB84 38 80 00 00 */ li r4, 0 -/* 80340C28 0033DB88 34 A3 00 10 */ addic. r5, r3, 0x10 -/* 80340C2C 0033DB8C 90 83 00 00 */ stw r4, 0(r3) -/* 80340C30 0033DB90 38 00 00 01 */ li r0, 1 -/* 80340C34 0033DB94 90 83 00 04 */ stw r4, 4(r3) -/* 80340C38 0033DB98 93 E3 00 08 */ stw r31, 8(r3) -/* 80340C3C 0033DB9C 90 03 00 0C */ stw r0, 0xc(r3) -/* 80340C40 0033DBA0 41 82 00 1C */ beq lbl_80340C5C -/* 80340C44 0033DBA4 80 1E 00 00 */ lwz r0, 0(r30) -/* 80340C48 0033DBA8 90 05 00 00 */ stw r0, 0(r5) -/* 80340C4C 0033DBAC 80 1E 00 04 */ lwz r0, 4(r30) -/* 80340C50 0033DBB0 90 05 00 04 */ stw r0, 4(r5) -/* 80340C54 0033DBB4 80 1E 00 08 */ lwz r0, 8(r30) -/* 80340C58 0033DBB8 90 05 00 08 */ stw r0, 8(r5) -lbl_80340C5C: -/* 80340C5C 0033DBBC 90 7F 00 04 */ stw r3, 4(r31) -/* 80340C60 0033DBC0 7C 7B 1B 78 */ mr r27, r3 -/* 80340C64 0033DBC4 80 1D 00 0C */ lwz r0, 0xc(r29) -/* 80340C68 0033DBC8 7C 1F 00 40 */ cmplw r31, r0 -/* 80340C6C 0033DBCC 40 82 00 10 */ bne lbl_80340C7C -/* 80340C70 0033DBD0 90 7D 00 0C */ stw r3, 0xc(r29) -/* 80340C74 0033DBD4 48 00 00 08 */ b lbl_80340C7C -lbl_80340C78: -/* 80340C78 0033DBD8 7C 1F 03 78 */ mr r31, r0 -lbl_80340C7C: -/* 80340C7C 0033DBDC 28 1B 00 00 */ cmplwi r27, 0 -/* 80340C80 0033DBE0 41 82 FE B4 */ beq lbl_80340B34 -/* 80340C84 0033DBE4 80 BD 00 04 */ lwz r5, 4(r29) -/* 80340C88 0033DBE8 7F 64 DB 78 */ mr r4, r27 -/* 80340C8C 0033DBEC 38 7D 00 08 */ addi r3, r29, 8 -/* 80340C90 0033DBF0 38 05 00 01 */ addi r0, r5, 1 -/* 80340C94 0033DBF4 90 1D 00 04 */ stw r0, 4(r29) -/* 80340C98 0033DBF8 4B FF BE 01 */ bl rbtree_rebalance__4rstlFPvPv -/* 80340C9C 0033DBFC 93 7C 00 00 */ stw r27, 0(r28) -/* 80340CA0 0033DC00 38 1D 00 08 */ addi r0, r29, 8 -/* 80340CA4 0033DC04 90 1C 00 04 */ stw r0, 4(r28) -/* 80340CA8 0033DC08 88 0D 9D 52 */ lbz r0, lbl_805A8912@sda21(r13) -/* 80340CAC 0033DC0C 98 1C 00 08 */ stb r0, 8(r28) -lbl_80340CB0: -/* 80340CB0 0033DC10 BB 61 00 0C */ lmw r27, 0xc(r1) -/* 80340CB4 0033DC14 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80340CB8 0033DC18 7C 08 03 A6 */ mtlr r0 -/* 80340CBC 0033DC1C 38 21 00 20 */ addi r1, r1, 0x20 -/* 80340CC0 0033DC20 4E 80 00 20 */ blr - -.global __as__6CTokenFRC6CToken -__as__6CTokenFRC6CToken: -/* 80340CC4 0033DC24 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80340CC8 0033DC28 7C 08 02 A6 */ mflr r0 -/* 80340CCC 0033DC2C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80340CD0 0033DC30 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80340CD4 0033DC34 7C 9F 23 78 */ mr r31, r4 -/* 80340CD8 0033DC38 93 C1 00 08 */ stw r30, 8(r1) -/* 80340CDC 0033DC3C 7C 7E 1B 78 */ mr r30, r3 -/* 80340CE0 0033DC40 7C 1F F0 40 */ cmplw r31, r30 -/* 80340CE4 0033DC44 40 82 00 08 */ bne lbl_80340CEC -/* 80340CE8 0033DC48 48 00 00 40 */ b lbl_80340D28 -lbl_80340CEC: -/* 80340CEC 0033DC4C 48 00 00 55 */ bl Unlock__6CTokenFv -/* 80340CF0 0033DC50 7F C3 F3 78 */ mr r3, r30 -/* 80340CF4 0033DC54 48 00 00 D5 */ bl RemoveRef__6CTokenFv -/* 80340CF8 0033DC58 80 1F 00 00 */ lwz r0, 0(r31) -/* 80340CFC 0033DC5C 90 1E 00 00 */ stw r0, 0(r30) -/* 80340D00 0033DC60 80 9E 00 00 */ lwz r4, 0(r30) -/* 80340D04 0033DC64 A8 64 00 00 */ lha r3, 0(r4) -/* 80340D08 0033DC68 38 03 00 01 */ addi r0, r3, 1 -/* 80340D0C 0033DC6C B0 04 00 00 */ sth r0, 0(r4) -/* 80340D10 0033DC70 88 1F 00 04 */ lbz r0, 4(r31) -/* 80340D14 0033DC74 28 00 00 00 */ cmplwi r0, 0 -/* 80340D18 0033DC78 41 82 00 0C */ beq lbl_80340D24 -/* 80340D1C 0033DC7C 7F C3 F3 78 */ mr r3, r30 -/* 80340D20 0033DC80 48 00 00 65 */ bl Lock__6CTokenFv -lbl_80340D24: -/* 80340D24 0033DC84 7F C3 F3 78 */ mr r3, r30 -lbl_80340D28: -/* 80340D28 0033DC88 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80340D2C 0033DC8C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80340D30 0033DC90 83 C1 00 08 */ lwz r30, 8(r1) -/* 80340D34 0033DC94 7C 08 03 A6 */ mtlr r0 -/* 80340D38 0033DC98 38 21 00 10 */ addi r1, r1, 0x10 -/* 80340D3C 0033DC9C 4E 80 00 20 */ blr - -.global Unlock__6CTokenFv -Unlock__6CTokenFv: -/* 80340D40 0033DCA0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80340D44 0033DCA4 7C 08 02 A6 */ mflr r0 -/* 80340D48 0033DCA8 90 01 00 14 */ stw r0, 0x14(r1) -/* 80340D4C 0033DCAC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80340D50 0033DCB0 7C 7F 1B 78 */ mr r31, r3 -/* 80340D54 0033DCB4 88 03 00 04 */ lbz r0, 4(r3) -/* 80340D58 0033DCB8 28 00 00 00 */ cmplwi r0, 0 -/* 80340D5C 0033DCBC 41 82 00 14 */ beq lbl_80340D70 -/* 80340D60 0033DCC0 80 7F 00 00 */ lwz r3, 0(r31) -/* 80340D64 0033DCC4 4B FF ED 81 */ bl Unlock__16CObjectReferenceFv -/* 80340D68 0033DCC8 38 00 00 00 */ li r0, 0 -/* 80340D6C 0033DCCC 98 1F 00 04 */ stb r0, 4(r31) -lbl_80340D70: -/* 80340D70 0033DCD0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80340D74 0033DCD4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80340D78 0033DCD8 7C 08 03 A6 */ mtlr r0 -/* 80340D7C 0033DCDC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80340D80 0033DCE0 4E 80 00 20 */ blr - -.global Lock__6CTokenFv -Lock__6CTokenFv: -/* 80340D84 0033DCE4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80340D88 0033DCE8 7C 08 02 A6 */ mflr r0 -/* 80340D8C 0033DCEC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80340D90 0033DCF0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80340D94 0033DCF4 7C 7F 1B 78 */ mr r31, r3 -/* 80340D98 0033DCF8 88 03 00 04 */ lbz r0, 4(r3) -/* 80340D9C 0033DCFC 28 00 00 00 */ cmplwi r0, 0 -/* 80340DA0 0033DD00 40 82 00 14 */ bne lbl_80340DB4 -/* 80340DA4 0033DD04 80 7F 00 00 */ lwz r3, 0(r31) -/* 80340DA8 0033DD08 4B FF EF E1 */ bl Lock__16CObjectReferenceFv -/* 80340DAC 0033DD0C 38 00 00 01 */ li r0, 1 -/* 80340DB0 0033DD10 98 1F 00 04 */ stb r0, 4(r31) -lbl_80340DB4: -/* 80340DB4 0033DD14 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80340DB8 0033DD18 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80340DBC 0033DD1C 7C 08 03 A6 */ mtlr r0 -/* 80340DC0 0033DD20 38 21 00 10 */ addi r1, r1, 0x10 -/* 80340DC4 0033DD24 4E 80 00 20 */ blr - -.global RemoveRef__6CTokenFv -RemoveRef__6CTokenFv: -/* 80340DC8 0033DD28 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80340DCC 0033DD2C 7C 08 02 A6 */ mflr r0 -/* 80340DD0 0033DD30 90 01 00 14 */ stw r0, 0x14(r1) -/* 80340DD4 0033DD34 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80340DD8 0033DD38 7C 7F 1B 78 */ mr r31, r3 -/* 80340DDC 0033DD3C 80 63 00 00 */ lwz r3, 0(r3) -/* 80340DE0 0033DD40 4B FF ED 91 */ bl RemoveReference__16CObjectReferenceFv -/* 80340DE4 0033DD44 2C 03 00 00 */ cmpwi r3, 0 -/* 80340DE8 0033DD48 40 82 00 10 */ bne lbl_80340DF8 -/* 80340DEC 0033DD4C 80 7F 00 00 */ lwz r3, 0(r31) -/* 80340DF0 0033DD50 38 80 00 01 */ li r4, 1 -/* 80340DF4 0033DD54 4B FF F0 35 */ bl __dt__16CObjectReferenceFv -lbl_80340DF8: -/* 80340DF8 0033DD58 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80340DFC 0033DD5C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80340E00 0033DD60 7C 08 03 A6 */ mtlr r0 -/* 80340E04 0033DD64 38 21 00 10 */ addi r1, r1, 0x10 -/* 80340E08 0033DD68 4E 80 00 20 */ blr - -.global GetObj__6CTokenFv -GetObj__6CTokenFv: -/* 80340E0C 0033DD6C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80340E10 0033DD70 7C 08 02 A6 */ mflr r0 -/* 80340E14 0033DD74 90 01 00 14 */ stw r0, 0x14(r1) -/* 80340E18 0033DD78 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80340E1C 0033DD7C 7C 7F 1B 78 */ mr r31, r3 -/* 80340E20 0033DD80 4B FF FF 65 */ bl Lock__6CTokenFv -/* 80340E24 0033DD84 80 7F 00 00 */ lwz r3, 0(r31) -/* 80340E28 0033DD88 4B FF EE A9 */ bl GetObject__16CObjectReferenceFv -/* 80340E2C 0033DD8C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80340E30 0033DD90 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80340E34 0033DD94 7C 08 03 A6 */ mtlr r0 -/* 80340E38 0033DD98 38 21 00 10 */ addi r1, r1, 0x10 -/* 80340E3C 0033DD9C 4E 80 00 20 */ blr - -.global __dt__6CTokenFv -__dt__6CTokenFv: -/* 80340E40 0033DDA0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80340E44 0033DDA4 7C 08 02 A6 */ mflr r0 -/* 80340E48 0033DDA8 90 01 00 14 */ stw r0, 0x14(r1) -/* 80340E4C 0033DDAC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80340E50 0033DDB0 7C 9F 23 78 */ mr r31, r4 -/* 80340E54 0033DDB4 93 C1 00 08 */ stw r30, 8(r1) -/* 80340E58 0033DDB8 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80340E5C 0033DDBC 41 82 00 30 */ beq lbl_80340E8C -/* 80340E60 0033DDC0 88 1E 00 04 */ lbz r0, 4(r30) -/* 80340E64 0033DDC4 28 00 00 00 */ cmplwi r0, 0 -/* 80340E68 0033DDC8 41 82 00 0C */ beq lbl_80340E74 -/* 80340E6C 0033DDCC 80 7E 00 00 */ lwz r3, 0(r30) -/* 80340E70 0033DDD0 4B FF EC 75 */ bl Unlock__16CObjectReferenceFv -lbl_80340E74: -/* 80340E74 0033DDD4 7F C3 F3 78 */ mr r3, r30 -/* 80340E78 0033DDD8 4B FF FF 51 */ bl RemoveRef__6CTokenFv -/* 80340E7C 0033DDDC 7F E0 07 35 */ extsh. r0, r31 -/* 80340E80 0033DDE0 40 81 00 0C */ ble lbl_80340E8C -/* 80340E84 0033DDE4 7F C3 F3 78 */ mr r3, r30 -/* 80340E88 0033DDE8 4B FD 4A A9 */ bl Free__7CMemoryFPCv -lbl_80340E8C: -/* 80340E8C 0033DDEC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80340E90 0033DDF0 7F C3 F3 78 */ mr r3, r30 -/* 80340E94 0033DDF4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80340E98 0033DDF8 83 C1 00 08 */ lwz r30, 8(r1) -/* 80340E9C 0033DDFC 7C 08 03 A6 */ mtlr r0 -/* 80340EA0 0033DE00 38 21 00 10 */ addi r1, r1, 0x10 -/* 80340EA4 0033DE04 4E 80 00 20 */ blr - -.global __ct__6CTokenFRC6CToken -__ct__6CTokenFRC6CToken: -/* 80340EA8 0033DE08 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80340EAC 0033DE0C 7C 08 02 A6 */ mflr r0 -/* 80340EB0 0033DE10 90 01 00 14 */ stw r0, 0x14(r1) -/* 80340EB4 0033DE14 38 00 00 00 */ li r0, 0 -/* 80340EB8 0033DE18 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80340EBC 0033DE1C 7C 7F 1B 78 */ mr r31, r3 -/* 80340EC0 0033DE20 80 A4 00 00 */ lwz r5, 0(r4) -/* 80340EC4 0033DE24 90 A3 00 00 */ stw r5, 0(r3) -/* 80340EC8 0033DE28 98 03 00 04 */ stb r0, 4(r3) -/* 80340ECC 0033DE2C 80 C3 00 00 */ lwz r6, 0(r3) -/* 80340ED0 0033DE30 A8 A6 00 00 */ lha r5, 0(r6) -/* 80340ED4 0033DE34 38 05 00 01 */ addi r0, r5, 1 -/* 80340ED8 0033DE38 B0 06 00 00 */ sth r0, 0(r6) -/* 80340EDC 0033DE3C 88 04 00 04 */ lbz r0, 4(r4) -/* 80340EE0 0033DE40 28 00 00 00 */ cmplwi r0, 0 -/* 80340EE4 0033DE44 41 82 00 08 */ beq lbl_80340EEC -/* 80340EE8 0033DE48 4B FF FE 9D */ bl Lock__6CTokenFv -lbl_80340EEC: -/* 80340EEC 0033DE4C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80340EF0 0033DE50 7F E3 FB 78 */ mr r3, r31 -/* 80340EF4 0033DE54 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80340EF8 0033DE58 7C 08 03 A6 */ mtlr r0 -/* 80340EFC 0033DE5C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80340F00 0033DE60 4E 80 00 20 */ blr - -.global __ct__6CTokenFP4IObj -__ct__6CTokenFP4IObj: -/* 80340F04 0033DE64 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80340F08 0033DE68 7C 08 02 A6 */ mflr r0 -/* 80340F0C 0033DE6C 3C A0 80 3D */ lis r5, lbl_803D7AA0@ha -/* 80340F10 0033DE70 90 01 00 24 */ stw r0, 0x24(r1) -/* 80340F14 0033DE74 38 05 7A A0 */ addi r0, r5, lbl_803D7AA0@l -/* 80340F18 0033DE78 38 A0 00 00 */ li r5, 0 -/* 80340F1C 0033DE7C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80340F20 0033DE80 7C 9F 23 78 */ mr r31, r4 -/* 80340F24 0033DE84 7C 04 03 78 */ mr r4, r0 -/* 80340F28 0033DE88 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80340F2C 0033DE8C 7C 7E 1B 78 */ mr r30, r3 -/* 80340F30 0033DE90 38 60 00 18 */ li r3, 0x18 -/* 80340F34 0033DE94 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80340F38 0033DE98 3B A0 00 00 */ li r29, 0 -/* 80340F3C 0033DE9C 4B FD 49 31 */ bl __nw__FUlPCcPCc -/* 80340F40 0033DEA0 7C 64 1B 79 */ or. r4, r3, r3 -/* 80340F44 0033DEA4 41 82 00 28 */ beq lbl_80340F6C -/* 80340F48 0033DEA8 7C 1F 00 D0 */ neg r0, r31 -/* 80340F4C 0033DEAC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80340F50 0033DEB0 7C 00 FB 78 */ or r0, r0, r31 -/* 80340F54 0033DEB4 38 81 00 08 */ addi r4, r1, 8 -/* 80340F58 0033DEB8 54 00 0F FE */ srwi r0, r0, 0x1f -/* 80340F5C 0033DEBC 3B A0 00 01 */ li r29, 1 -/* 80340F60 0033DEC0 98 01 00 08 */ stb r0, 8(r1) -/* 80340F64 0033DEC4 4B FF EF 8D */ bl "__ct__16CObjectReferenceFRCQ24rstl15auto_ptr<4IObj>" -/* 80340F68 0033DEC8 7C 64 1B 78 */ mr r4, r3 -lbl_80340F6C: -/* 80340F6C 0033DECC 7F A0 07 75 */ extsb. r0, r29 -/* 80340F70 0033DED0 90 9E 00 00 */ stw r4, 0(r30) -/* 80340F74 0033DED4 41 82 00 30 */ beq lbl_80340FA4 -/* 80340F78 0033DED8 88 01 00 08 */ lbz r0, 8(r1) -/* 80340F7C 0033DEDC 28 00 00 00 */ cmplwi r0, 0 -/* 80340F80 0033DEE0 41 82 00 24 */ beq lbl_80340FA4 -/* 80340F84 0033DEE4 80 61 00 0C */ lwz r3, 0xc(r1) -/* 80340F88 0033DEE8 28 03 00 00 */ cmplwi r3, 0 -/* 80340F8C 0033DEEC 41 82 00 18 */ beq lbl_80340FA4 -/* 80340F90 0033DEF0 81 83 00 00 */ lwz r12, 0(r3) -/* 80340F94 0033DEF4 38 80 00 01 */ li r4, 1 -/* 80340F98 0033DEF8 81 8C 00 08 */ lwz r12, 8(r12) -/* 80340F9C 0033DEFC 7D 89 03 A6 */ mtctr r12 -/* 80340FA0 0033DF00 4E 80 04 21 */ bctrl -lbl_80340FA4: -/* 80340FA4 0033DF04 38 00 00 00 */ li r0, 0 -/* 80340FA8 0033DF08 7F C3 F3 78 */ mr r3, r30 -/* 80340FAC 0033DF0C 98 1E 00 04 */ stb r0, 4(r30) -/* 80340FB0 0033DF10 80 BE 00 00 */ lwz r5, 0(r30) -/* 80340FB4 0033DF14 A8 85 00 00 */ lha r4, 0(r5) -/* 80340FB8 0033DF18 38 04 00 01 */ addi r0, r4, 1 -/* 80340FBC 0033DF1C B0 05 00 00 */ sth r0, 0(r5) -/* 80340FC0 0033DF20 4B FF FD C5 */ bl Lock__6CTokenFv -/* 80340FC4 0033DF24 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80340FC8 0033DF28 7F C3 F3 78 */ mr r3, r30 -/* 80340FCC 0033DF2C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80340FD0 0033DF30 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80340FD4 0033DF34 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80340FD8 0033DF38 7C 08 03 A6 */ mtlr r0 -/* 80340FDC 0033DF3C 38 21 00 20 */ addi r1, r1, 0x20 -/* 80340FE0 0033DF40 4E 80 00 20 */ blr - -.global __ct__6CTokenFP16CObjectReference -__ct__6CTokenFP16CObjectReference: -/* 80340FE4 0033DF44 90 83 00 00 */ stw r4, 0(r3) -/* 80340FE8 0033DF48 38 00 00 00 */ li r0, 0 -/* 80340FEC 0033DF4C 98 03 00 04 */ stb r0, 4(r3) -/* 80340FF0 0033DF50 80 A3 00 00 */ lwz r5, 0(r3) -/* 80340FF4 0033DF54 A8 85 00 00 */ lha r4, 0(r5) -/* 80340FF8 0033DF58 38 04 00 01 */ addi r0, r4, 1 -/* 80340FFC 0033DF5C B0 05 00 00 */ sth r0, 0(r5) -/* 80341000 0033DF60 4E 80 00 20 */ blr - -.global Type2Text__10SObjectTagFUi -Type2Text__10SObjectTagFUi: -/* 80341004 0033DF64 54 60 46 3E */ srwi r0, r3, 0x18 -/* 80341008 0033DF68 2C 00 FF FF */ cmpwi r0, -1 -/* 8034100C 0033DF6C 40 82 00 0C */ bne lbl_80341018 -/* 80341010 0033DF70 38 00 FF FF */ li r0, -1 -/* 80341014 0033DF74 48 00 00 10 */ b lbl_80341024 -lbl_80341018: -/* 80341018 0033DF78 3C 80 80 3F */ lis r4, lbl_803F2C20@ha -/* 8034101C 0033DF7C 38 84 2C 20 */ addi r4, r4, lbl_803F2C20@l -/* 80341020 0033DF80 7C 04 00 AE */ lbzx r0, r4, r0 -lbl_80341024: -/* 80341024 0033DF84 54 65 86 3E */ rlwinm r5, r3, 0x10, 0x18, 0x1f -/* 80341028 0033DF88 98 0D A9 58 */ stb r0, lbl_805A9518@sda21(r13) -/* 8034102C 0033DF8C 2C 05 FF FF */ cmpwi r5, -1 -/* 80341030 0033DF90 40 82 00 0C */ bne lbl_8034103C -/* 80341034 0033DF94 38 00 FF FF */ li r0, -1 -/* 80341038 0033DF98 48 00 00 10 */ b lbl_80341048 -lbl_8034103C: -/* 8034103C 0033DF9C 3C 80 80 3F */ lis r4, lbl_803F2C20@ha -/* 80341040 0033DFA0 38 84 2C 20 */ addi r4, r4, lbl_803F2C20@l -/* 80341044 0033DFA4 7C 04 28 AE */ lbzx r0, r4, r5 -lbl_80341048: -/* 80341048 0033DFA8 54 65 C6 3E */ rlwinm r5, r3, 0x18, 0x18, 0x1f -/* 8034104C 0033DFAC 38 8D A9 58 */ addi r4, r13, lbl_805A9518@sda21 -/* 80341050 0033DFB0 2C 05 FF FF */ cmpwi r5, -1 -/* 80341054 0033DFB4 98 04 00 01 */ stb r0, 1(r4) -/* 80341058 0033DFB8 40 82 00 0C */ bne lbl_80341064 -/* 8034105C 0033DFBC 38 00 FF FF */ li r0, -1 -/* 80341060 0033DFC0 48 00 00 10 */ b lbl_80341070 -lbl_80341064: -/* 80341064 0033DFC4 3C 80 80 3F */ lis r4, lbl_803F2C20@ha -/* 80341068 0033DFC8 38 84 2C 20 */ addi r4, r4, lbl_803F2C20@l -/* 8034106C 0033DFCC 7C 04 28 AE */ lbzx r0, r4, r5 -lbl_80341070: -/* 80341070 0033DFD0 54 64 06 3E */ clrlwi r4, r3, 0x18 -/* 80341074 0033DFD4 38 6D A9 58 */ addi r3, r13, lbl_805A9518@sda21 -/* 80341078 0033DFD8 2C 04 FF FF */ cmpwi r4, -1 -/* 8034107C 0033DFDC 98 03 00 02 */ stb r0, 2(r3) -/* 80341080 0033DFE0 40 82 00 0C */ bne lbl_8034108C -/* 80341084 0033DFE4 38 60 FF FF */ li r3, -1 -/* 80341088 0033DFE8 48 00 00 10 */ b lbl_80341098 -lbl_8034108C: -/* 8034108C 0033DFEC 3C 60 80 3F */ lis r3, lbl_803F2C20@ha -/* 80341090 0033DFF0 38 63 2C 20 */ addi r3, r3, lbl_803F2C20@l -/* 80341094 0033DFF4 7C 63 20 AE */ lbzx r3, r3, r4 -lbl_80341098: -/* 80341098 0033DFF8 38 AD A9 58 */ addi r5, r13, lbl_805A9518@sda21 -/* 8034109C 0033DFFC 38 00 00 00 */ li r0, 0 -/* 803410A0 0033E000 98 65 00 03 */ stb r3, 3(r5) -/* 803410A4 0033E004 3C 60 80 3F */ lis r3, lbl_803F2A20@ha -/* 803410A8 0033E008 38 83 2A 20 */ addi r4, r3, lbl_803F2A20@l -/* 803410AC 0033E00C 98 05 00 04 */ stb r0, 4(r5) -/* 803410B0 0033E010 38 00 00 2D */ li r0, 0x2d -/* 803410B4 0033E014 88 6D A9 58 */ lbz r3, lbl_805A9518@sda21(r13) -/* 803410B8 0033E018 7C 64 18 AE */ lbzx r3, r4, r3 -/* 803410BC 0033E01C 70 63 00 DC */ andi. r3, r3, 0xdc -/* 803410C0 0033E020 40 82 00 08 */ bne lbl_803410C8 -/* 803410C4 0033E024 98 05 00 00 */ stb r0, 0(r5) -lbl_803410C8: -/* 803410C8 0033E028 8C 65 00 01 */ lbzu r3, 1(r5) -/* 803410CC 0033E02C 7C 64 18 AE */ lbzx r3, r4, r3 -/* 803410D0 0033E030 70 63 00 DC */ andi. r3, r3, 0xdc -/* 803410D4 0033E034 40 82 00 08 */ bne lbl_803410DC -/* 803410D8 0033E038 98 05 00 00 */ stb r0, 0(r5) -lbl_803410DC: -/* 803410DC 0033E03C 8C 65 00 01 */ lbzu r3, 1(r5) -/* 803410E0 0033E040 7C 64 18 AE */ lbzx r3, r4, r3 -/* 803410E4 0033E044 70 63 00 DC */ andi. r3, r3, 0xdc -/* 803410E8 0033E048 40 82 00 08 */ bne lbl_803410F0 -/* 803410EC 0033E04C 98 05 00 00 */ stb r0, 0(r5) -lbl_803410F0: -/* 803410F0 0033E050 8C 65 00 01 */ lbzu r3, 1(r5) -/* 803410F4 0033E054 7C 64 18 AE */ lbzx r3, r4, r3 -/* 803410F8 0033E058 70 63 00 DC */ andi. r3, r3, 0xdc -/* 803410FC 0033E05C 40 82 00 08 */ bne lbl_80341104 -/* 80341100 0033E060 98 05 00 00 */ stb r0, 0(r5) -lbl_80341104: -/* 80341104 0033E064 38 6D A9 58 */ addi r3, r13, lbl_805A9518@sda21 -/* 80341108 0033E068 4E 80 00 20 */ blr - -.global __sinit_IObj_cpp -__sinit_IObj_cpp: -/* 8034110C 0033E06C 38 00 FF FF */ li r0, -1 -/* 80341110 0033E070 38 6D A9 50 */ addi r3, r13, lbl_805A9510@sda21 -/* 80341114 0033E074 90 0D A9 50 */ stw r0, lbl_805A9510@sda21(r13) -/* 80341118 0033E078 90 03 00 04 */ stw r0, 4(r3) -/* 8034111C 0033E07C 4E 80 00 20 */ blr - -.global adler32 -adler32: -/* 80341120 0033E080 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80341124 0033E084 54 60 04 3E */ clrlwi r0, r3, 0x10 -/* 80341128 0033E088 28 04 00 00 */ cmplwi r4, 0 -/* 8034112C 0033E08C 54 63 84 3E */ srwi r3, r3, 0x10 -/* 80341130 0033E090 BF 61 00 0C */ stmw r27, 0xc(r1) -/* 80341134 0033E094 40 82 00 0C */ bne lbl_80341140 -/* 80341138 0033E098 38 60 00 01 */ li r3, 1 -/* 8034113C 0033E09C 48 00 01 5C */ b lbl_80341298 -lbl_80341140: -/* 80341140 0033E0A0 3C E0 80 08 */ lis r7, 0x80078071@ha -/* 80341144 0033E0A4 3C C0 00 01 */ lis r6, 0x0000FFF1@ha -/* 80341148 0033E0A8 39 27 80 71 */ addi r9, r7, 0x80078071@l -/* 8034114C 0033E0AC 38 E6 FF F1 */ addi r7, r6, 0x0000FFF1@l -/* 80341150 0033E0B0 48 00 01 38 */ b lbl_80341288 -lbl_80341154: -/* 80341154 0033E0B4 28 05 15 B0 */ cmplwi r5, 0x15b0 -/* 80341158 0033E0B8 39 00 15 B0 */ li r8, 0x15b0 -/* 8034115C 0033E0BC 40 80 00 08 */ bge lbl_80341164 -/* 80341160 0033E0C0 7C A8 2B 78 */ mr r8, r5 -lbl_80341164: -/* 80341164 0033E0C4 55 06 E1 3E */ srwi r6, r8, 4 -/* 80341168 0033E0C8 7D 1B 43 78 */ mr r27, r8 -/* 8034116C 0033E0CC 7C A8 28 50 */ subf r5, r8, r5 -/* 80341170 0033E0D0 7C C9 03 A6 */ mtctr r6 -/* 80341174 0033E0D4 2C 08 00 10 */ cmpwi r8, 0x10 -/* 80341178 0033E0D8 41 80 00 D0 */ blt lbl_80341248 -lbl_8034117C: -/* 8034117C 0033E0DC 88 C4 00 00 */ lbz r6, 0(r4) -/* 80341180 0033E0E0 3B 7B FF F0 */ addi r27, r27, -16 -/* 80341184 0033E0E4 89 04 00 01 */ lbz r8, 1(r4) -/* 80341188 0033E0E8 7C 00 32 14 */ add r0, r0, r6 -/* 8034118C 0033E0EC 88 C4 00 02 */ lbz r6, 2(r4) -/* 80341190 0033E0F0 7C 63 02 14 */ add r3, r3, r0 -/* 80341194 0033E0F4 89 64 00 03 */ lbz r11, 3(r4) -/* 80341198 0033E0F8 7C 00 42 14 */ add r0, r0, r8 -/* 8034119C 0033E0FC 89 44 00 04 */ lbz r10, 4(r4) -/* 803411A0 0033E100 7C 63 02 14 */ add r3, r3, r0 -/* 803411A4 0033E104 89 04 00 05 */ lbz r8, 5(r4) -/* 803411A8 0033E108 7C 00 32 14 */ add r0, r0, r6 -/* 803411AC 0033E10C 88 C4 00 06 */ lbz r6, 6(r4) -/* 803411B0 0033E110 7C 63 02 14 */ add r3, r3, r0 -/* 803411B4 0033E114 8B 84 00 07 */ lbz r28, 7(r4) -/* 803411B8 0033E118 7C 00 5A 14 */ add r0, r0, r11 -/* 803411BC 0033E11C 8B A4 00 08 */ lbz r29, 8(r4) -/* 803411C0 0033E120 7C 63 02 14 */ add r3, r3, r0 -/* 803411C4 0033E124 8B C4 00 09 */ lbz r30, 9(r4) -/* 803411C8 0033E128 7C 00 52 14 */ add r0, r0, r10 -/* 803411CC 0033E12C 8B E4 00 0A */ lbz r31, 0xa(r4) -/* 803411D0 0033E130 7C 63 02 14 */ add r3, r3, r0 -/* 803411D4 0033E134 89 84 00 0B */ lbz r12, 0xb(r4) -/* 803411D8 0033E138 7C 00 42 14 */ add r0, r0, r8 -/* 803411DC 0033E13C 89 64 00 0C */ lbz r11, 0xc(r4) -/* 803411E0 0033E140 7C 63 02 14 */ add r3, r3, r0 -/* 803411E4 0033E144 89 44 00 0D */ lbz r10, 0xd(r4) -/* 803411E8 0033E148 7C 00 32 14 */ add r0, r0, r6 -/* 803411EC 0033E14C 89 04 00 0E */ lbz r8, 0xe(r4) -/* 803411F0 0033E150 7C 63 02 14 */ add r3, r3, r0 -/* 803411F4 0033E154 88 C4 00 0F */ lbz r6, 0xf(r4) -/* 803411F8 0033E158 7C 00 E2 14 */ add r0, r0, r28 -/* 803411FC 0033E15C 38 84 00 10 */ addi r4, r4, 0x10 -/* 80341200 0033E160 7C 63 02 14 */ add r3, r3, r0 -/* 80341204 0033E164 7C 00 EA 14 */ add r0, r0, r29 -/* 80341208 0033E168 7C 63 02 14 */ add r3, r3, r0 -/* 8034120C 0033E16C 7C 00 F2 14 */ add r0, r0, r30 -/* 80341210 0033E170 7C 63 02 14 */ add r3, r3, r0 -/* 80341214 0033E174 7C 00 FA 14 */ add r0, r0, r31 -/* 80341218 0033E178 7C 63 02 14 */ add r3, r3, r0 -/* 8034121C 0033E17C 7C 00 62 14 */ add r0, r0, r12 -/* 80341220 0033E180 7C 63 02 14 */ add r3, r3, r0 -/* 80341224 0033E184 7C 00 5A 14 */ add r0, r0, r11 -/* 80341228 0033E188 7C 63 02 14 */ add r3, r3, r0 -/* 8034122C 0033E18C 7C 00 52 14 */ add r0, r0, r10 -/* 80341230 0033E190 7C 63 02 14 */ add r3, r3, r0 -/* 80341234 0033E194 7C 00 42 14 */ add r0, r0, r8 -/* 80341238 0033E198 7C 63 02 14 */ add r3, r3, r0 -/* 8034123C 0033E19C 7C 00 32 14 */ add r0, r0, r6 -/* 80341240 0033E1A0 7C 63 02 14 */ add r3, r3, r0 -/* 80341244 0033E1A4 42 00 FF 38 */ bdnz lbl_8034117C -lbl_80341248: -/* 80341248 0033E1A8 2C 1B 00 00 */ cmpwi r27, 0 -/* 8034124C 0033E1AC 41 82 00 1C */ beq lbl_80341268 -lbl_80341250: -/* 80341250 0033E1B0 88 C4 00 00 */ lbz r6, 0(r4) -/* 80341254 0033E1B4 37 7B FF FF */ addic. r27, r27, -1 -/* 80341258 0033E1B8 38 84 00 01 */ addi r4, r4, 1 -/* 8034125C 0033E1BC 7C 00 32 14 */ add r0, r0, r6 -/* 80341260 0033E1C0 7C 63 02 14 */ add r3, r3, r0 -/* 80341264 0033E1C4 40 82 FF EC */ bne lbl_80341250 -lbl_80341268: -/* 80341268 0033E1C8 7D 09 00 16 */ mulhwu r8, r9, r0 -/* 8034126C 0033E1CC 7C C9 18 16 */ mulhwu r6, r9, r3 -/* 80341270 0033E1D0 55 08 8B FE */ srwi r8, r8, 0xf -/* 80341274 0033E1D4 7D 08 39 D6 */ mullw r8, r8, r7 -/* 80341278 0033E1D8 54 C6 8B FE */ srwi r6, r6, 0xf -/* 8034127C 0033E1DC 7C C6 39 D6 */ mullw r6, r6, r7 -/* 80341280 0033E1E0 7C 08 00 50 */ subf r0, r8, r0 -/* 80341284 0033E1E4 7C 66 18 50 */ subf r3, r6, r3 -lbl_80341288: -/* 80341288 0033E1E8 28 05 00 00 */ cmplwi r5, 0 -/* 8034128C 0033E1EC 40 82 FE C8 */ bne lbl_80341154 -/* 80341290 0033E1F0 54 63 80 1E */ slwi r3, r3, 0x10 -/* 80341294 0033E1F4 7C 63 03 78 */ or r3, r3, r0 -lbl_80341298: -/* 80341298 0033E1F8 BB 61 00 0C */ lmw r27, 0xc(r1) -/* 8034129C 0033E1FC 38 21 00 20 */ addi r1, r1, 0x20 -/* 803412A0 0033E200 4E 80 00 20 */ blr - -.global inflate_blocks_free -inflate_blocks_free: -/* 803412A4 0033E204 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803412A8 0033E208 7C 08 02 A6 */ mflr r0 -/* 803412AC 0033E20C 90 01 00 14 */ stw r0, 0x14(r1) -/* 803412B0 0033E210 93 E1 00 0C */ stw r31, 0xc(r1) -/* 803412B4 0033E214 7C 9F 23 78 */ mr r31, r4 -/* 803412B8 0033E218 93 C1 00 08 */ stw r30, 8(r1) -/* 803412BC 0033E21C 7C 7E 1B 78 */ mr r30, r3 -/* 803412C0 0033E220 80 03 00 00 */ lwz r0, 0(r3) -/* 803412C4 0033E224 2C 00 00 04 */ cmpwi r0, 4 -/* 803412C8 0033E228 41 82 00 0C */ beq lbl_803412D4 -/* 803412CC 0033E22C 2C 00 00 05 */ cmpwi r0, 5 -/* 803412D0 0033E230 40 82 00 18 */ bne lbl_803412E8 -lbl_803412D4: -/* 803412D4 0033E234 81 9F 00 24 */ lwz r12, 0x24(r31) -/* 803412D8 0033E238 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 803412DC 0033E23C 80 9E 00 0C */ lwz r4, 0xc(r30) -/* 803412E0 0033E240 7D 89 03 A6 */ mtctr r12 -/* 803412E4 0033E244 4E 80 04 21 */ bctrl -lbl_803412E8: -/* 803412E8 0033E248 80 1E 00 00 */ lwz r0, 0(r30) -/* 803412EC 0033E24C 2C 00 00 06 */ cmpwi r0, 6 -/* 803412F0 0033E250 40 82 00 10 */ bne lbl_80341300 -/* 803412F4 0033E254 80 7E 00 04 */ lwz r3, 4(r30) -/* 803412F8 0033E258 7F E4 FB 78 */ mr r4, r31 -/* 803412FC 0033E25C 48 00 10 D9 */ bl inflate_codes_free -lbl_80341300: -/* 80341300 0033E260 38 00 00 00 */ li r0, 0 -/* 80341304 0033E264 90 1E 00 00 */ stw r0, 0(r30) -/* 80341308 0033E268 90 1E 00 1C */ stw r0, 0x1c(r30) -/* 8034130C 0033E26C 90 1E 00 20 */ stw r0, 0x20(r30) -/* 80341310 0033E270 80 1E 00 28 */ lwz r0, 0x28(r30) -/* 80341314 0033E274 90 1E 00 34 */ stw r0, 0x34(r30) -/* 80341318 0033E278 90 1E 00 30 */ stw r0, 0x30(r30) -/* 8034131C 0033E27C 81 9E 00 38 */ lwz r12, 0x38(r30) -/* 80341320 0033E280 28 0C 00 00 */ cmplwi r12, 0 -/* 80341324 0033E284 41 82 00 20 */ beq lbl_80341344 -/* 80341328 0033E288 38 60 00 00 */ li r3, 0 -/* 8034132C 0033E28C 38 80 00 00 */ li r4, 0 -/* 80341330 0033E290 38 A0 00 00 */ li r5, 0 -/* 80341334 0033E294 7D 89 03 A6 */ mtctr r12 -/* 80341338 0033E298 4E 80 04 21 */ bctrl -/* 8034133C 0033E29C 90 7E 00 3C */ stw r3, 0x3c(r30) -/* 80341340 0033E2A0 90 7F 00 30 */ stw r3, 0x30(r31) -lbl_80341344: -/* 80341344 0033E2A4 81 9F 00 24 */ lwz r12, 0x24(r31) -/* 80341348 0033E2A8 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 8034134C 0033E2AC 80 9E 00 28 */ lwz r4, 0x28(r30) -/* 80341350 0033E2B0 7D 89 03 A6 */ mtctr r12 -/* 80341354 0033E2B4 4E 80 04 21 */ bctrl -/* 80341358 0033E2B8 81 9F 00 24 */ lwz r12, 0x24(r31) -/* 8034135C 0033E2BC 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 80341360 0033E2C0 80 9E 00 24 */ lwz r4, 0x24(r30) -/* 80341364 0033E2C4 7D 89 03 A6 */ mtctr r12 -/* 80341368 0033E2C8 4E 80 04 21 */ bctrl -/* 8034136C 0033E2CC 81 9F 00 24 */ lwz r12, 0x24(r31) -/* 80341370 0033E2D0 7F C4 F3 78 */ mr r4, r30 -/* 80341374 0033E2D4 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 80341378 0033E2D8 7D 89 03 A6 */ mtctr r12 -/* 8034137C 0033E2DC 4E 80 04 21 */ bctrl -/* 80341380 0033E2E0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80341384 0033E2E4 38 60 00 00 */ li r3, 0 -/* 80341388 0033E2E8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8034138C 0033E2EC 83 C1 00 08 */ lwz r30, 8(r1) -/* 80341390 0033E2F0 7C 08 03 A6 */ mtlr r0 -/* 80341394 0033E2F4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80341398 0033E2F8 4E 80 00 20 */ blr - -.global inflate_blocks -inflate_blocks: -/* 8034139C 0033E2FC 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 803413A0 0033E300 7C 08 02 A6 */ mflr r0 -/* 803413A4 0033E304 90 01 00 64 */ stw r0, 0x64(r1) -/* 803413A8 0033E308 BE A1 00 34 */ stmw r21, 0x34(r1) -/* 803413AC 0033E30C 7C 7E 1B 78 */ mr r30, r3 -/* 803413B0 0033E310 7C 9F 23 78 */ mr r31, r4 -/* 803413B4 0033E314 7C B6 2B 78 */ mr r22, r5 -/* 803413B8 0033E318 83 03 00 34 */ lwz r24, 0x34(r3) -/* 803413BC 0033E31C 80 03 00 30 */ lwz r0, 0x30(r3) -/* 803413C0 0033E320 83 44 00 00 */ lwz r26, 0(r4) -/* 803413C4 0033E324 7C 18 00 40 */ cmplw r24, r0 -/* 803413C8 0033E328 83 24 00 04 */ lwz r25, 4(r4) -/* 803413CC 0033E32C 83 83 00 20 */ lwz r28, 0x20(r3) -/* 803413D0 0033E330 83 63 00 1C */ lwz r27, 0x1c(r3) -/* 803413D4 0033E334 40 80 00 10 */ bge lbl_803413E4 -/* 803413D8 0033E338 7C 78 00 50 */ subf r3, r24, r0 -/* 803413DC 0033E33C 38 03 FF FF */ addi r0, r3, -1 -/* 803413E0 0033E340 48 00 00 0C */ b lbl_803413EC -lbl_803413E4: -/* 803413E4 0033E344 80 1E 00 2C */ lwz r0, 0x2c(r30) -/* 803413E8 0033E348 7C 18 00 50 */ subf r0, r24, r0 -lbl_803413EC: -/* 803413EC 0033E34C 3C 60 80 3F */ lis r3, lbl_803EE440@ha -/* 803413F0 0033E350 7C 17 03 78 */ mr r23, r0 -/* 803413F4 0033E354 3B A3 E4 40 */ addi r29, r3, lbl_803EE440@l -lbl_803413F8: -/* 803413F8 0033E358 80 1E 00 00 */ lwz r0, 0(r30) -/* 803413FC 0033E35C 28 00 00 09 */ cmplwi r0, 9 -/* 80341400 0033E360 41 81 0D 20 */ bgt lbl_80342120 -/* 80341404 0033E364 54 00 10 3A */ slwi r0, r0, 2 -/* 80341408 0033E368 7C 1D 00 2E */ lwzx r0, r29, r0 -/* 8034140C 0033E36C 7C 09 03 A6 */ mtctr r0 -/* 80341410 0033E370 4E 80 04 20 */ bctr -/* 80341414 0033E374 20 1B 00 0A */ subfic r0, r27, 0xa -/* 80341418 0033E378 54 00 E8 FE */ srwi r0, r0, 3 -/* 8034141C 0033E37C 7C 09 03 A6 */ mtctr r0 -/* 80341420 0033E380 28 1B 00 03 */ cmplwi r27, 3 -/* 80341424 0033E384 40 80 00 6C */ bge lbl_80341490 -lbl_80341428: -/* 80341428 0033E388 28 19 00 00 */ cmplwi r25, 0 -/* 8034142C 0033E38C 41 82 00 0C */ beq lbl_80341438 -/* 80341430 0033E390 3A C0 00 00 */ li r22, 0 -/* 80341434 0033E394 48 00 00 40 */ b lbl_80341474 -lbl_80341438: -/* 80341438 0033E398 93 9E 00 20 */ stw r28, 0x20(r30) -/* 8034143C 0033E39C 7F C3 F3 78 */ mr r3, r30 -/* 80341440 0033E3A0 7F E4 FB 78 */ mr r4, r31 -/* 80341444 0033E3A4 7E C5 B3 78 */ mr r5, r22 -/* 80341448 0033E3A8 93 7E 00 1C */ stw r27, 0x1c(r30) -/* 8034144C 0033E3AC 93 3F 00 04 */ stw r25, 4(r31) -/* 80341450 0033E3B0 80 1F 00 00 */ lwz r0, 0(r31) -/* 80341454 0033E3B4 80 DF 00 08 */ lwz r6, 8(r31) -/* 80341458 0033E3B8 7C 00 D0 50 */ subf r0, r0, r26 -/* 8034145C 0033E3BC 7C 06 02 14 */ add r0, r6, r0 -/* 80341460 0033E3C0 90 1F 00 08 */ stw r0, 8(r31) -/* 80341464 0033E3C4 93 5F 00 00 */ stw r26, 0(r31) -/* 80341468 0033E3C8 93 1E 00 34 */ stw r24, 0x34(r30) -/* 8034146C 0033E3CC 48 00 2F A1 */ bl inflate_flush -/* 80341470 0033E3D0 48 00 0C E8 */ b lbl_80342158 -lbl_80341474: -/* 80341474 0033E3D4 88 1A 00 00 */ lbz r0, 0(r26) -/* 80341478 0033E3D8 3B 39 FF FF */ addi r25, r25, -1 -/* 8034147C 0033E3DC 3B 5A 00 01 */ addi r26, r26, 1 -/* 80341480 0033E3E0 7C 00 D8 30 */ slw r0, r0, r27 -/* 80341484 0033E3E4 3B 7B 00 08 */ addi r27, r27, 8 -/* 80341488 0033E3E8 7F 9C 03 78 */ or r28, r28, r0 -/* 8034148C 0033E3EC 42 00 FF 9C */ bdnz lbl_80341428 -lbl_80341490: -/* 80341490 0033E3F0 57 80 FF BE */ rlwinm r0, r28, 0x1f, 0x1e, 0x1f -/* 80341494 0033E3F4 57 83 07 FE */ clrlwi r3, r28, 0x1f -/* 80341498 0033E3F8 2C 00 00 02 */ cmpwi r0, 2 -/* 8034149C 0033E3FC 90 7E 00 18 */ stw r3, 0x18(r30) -/* 803414A0 0033E400 41 82 00 D4 */ beq lbl_80341574 -/* 803414A4 0033E404 40 80 00 14 */ bge lbl_803414B8 -/* 803414A8 0033E408 2C 00 00 00 */ cmpwi r0, 0 -/* 803414AC 0033E40C 41 82 00 18 */ beq lbl_803414C4 -/* 803414B0 0033E410 40 80 00 34 */ bge lbl_803414E4 -/* 803414B4 0033E414 4B FF FF 44 */ b lbl_803413F8 -lbl_803414B8: -/* 803414B8 0033E418 2C 00 00 04 */ cmpwi r0, 4 -/* 803414BC 0033E41C 40 80 FF 3C */ bge lbl_803413F8 -/* 803414C0 0033E420 48 00 00 C8 */ b lbl_80341588 -lbl_803414C4: -/* 803414C4 0033E424 38 00 00 01 */ li r0, 1 -/* 803414C8 0033E428 3B 7B FF FD */ addi r27, r27, -3 -/* 803414CC 0033E42C 57 63 07 7E */ clrlwi r3, r27, 0x1d -/* 803414D0 0033E430 57 9C E8 FE */ srwi r28, r28, 3 -/* 803414D4 0033E434 90 1E 00 00 */ stw r0, 0(r30) -/* 803414D8 0033E438 7F 9C 1C 30 */ srw r28, r28, r3 -/* 803414DC 0033E43C 7F 63 D8 50 */ subf r27, r3, r27 -/* 803414E0 0033E440 4B FF FF 18 */ b lbl_803413F8 -lbl_803414E4: -/* 803414E4 0033E444 7F E7 FB 78 */ mr r7, r31 -/* 803414E8 0033E448 38 61 00 2C */ addi r3, r1, 0x2c -/* 803414EC 0033E44C 38 81 00 28 */ addi r4, r1, 0x28 -/* 803414F0 0033E450 38 A1 00 24 */ addi r5, r1, 0x24 -/* 803414F4 0033E454 38 C1 00 20 */ addi r6, r1, 0x20 -/* 803414F8 0033E458 48 00 26 C9 */ bl inflate_trees_fixed -/* 803414FC 0033E45C 80 61 00 2C */ lwz r3, 0x2c(r1) -/* 80341500 0033E460 7F E7 FB 78 */ mr r7, r31 -/* 80341504 0033E464 80 81 00 28 */ lwz r4, 0x28(r1) -/* 80341508 0033E468 80 A1 00 24 */ lwz r5, 0x24(r1) -/* 8034150C 0033E46C 80 C1 00 20 */ lwz r6, 0x20(r1) -/* 80341510 0033E470 48 00 18 31 */ bl inflate_codes_new -/* 80341514 0033E474 90 7E 00 04 */ stw r3, 4(r30) -/* 80341518 0033E478 80 1E 00 04 */ lwz r0, 4(r30) -/* 8034151C 0033E47C 28 00 00 00 */ cmplwi r0, 0 -/* 80341520 0033E480 40 82 00 40 */ bne lbl_80341560 -/* 80341524 0033E484 93 9E 00 20 */ stw r28, 0x20(r30) -/* 80341528 0033E488 7F C3 F3 78 */ mr r3, r30 -/* 8034152C 0033E48C 7F E4 FB 78 */ mr r4, r31 -/* 80341530 0033E490 38 A0 FF FC */ li r5, -4 -/* 80341534 0033E494 93 7E 00 1C */ stw r27, 0x1c(r30) -/* 80341538 0033E498 93 3F 00 04 */ stw r25, 4(r31) -/* 8034153C 0033E49C 80 1F 00 00 */ lwz r0, 0(r31) -/* 80341540 0033E4A0 80 DF 00 08 */ lwz r6, 8(r31) -/* 80341544 0033E4A4 7C 00 D0 50 */ subf r0, r0, r26 -/* 80341548 0033E4A8 7C 06 02 14 */ add r0, r6, r0 -/* 8034154C 0033E4AC 90 1F 00 08 */ stw r0, 8(r31) -/* 80341550 0033E4B0 93 5F 00 00 */ stw r26, 0(r31) -/* 80341554 0033E4B4 93 1E 00 34 */ stw r24, 0x34(r30) -/* 80341558 0033E4B8 48 00 2E B5 */ bl inflate_flush -/* 8034155C 0033E4BC 48 00 0B FC */ b lbl_80342158 -lbl_80341560: -/* 80341560 0033E4C0 38 00 00 06 */ li r0, 6 -/* 80341564 0033E4C4 57 9C E8 FE */ srwi r28, r28, 3 -/* 80341568 0033E4C8 90 1E 00 00 */ stw r0, 0(r30) -/* 8034156C 0033E4CC 3B 7B FF FD */ addi r27, r27, -3 -/* 80341570 0033E4D0 4B FF FE 88 */ b lbl_803413F8 -lbl_80341574: -/* 80341574 0033E4D4 38 00 00 03 */ li r0, 3 -/* 80341578 0033E4D8 57 9C E8 FE */ srwi r28, r28, 3 -/* 8034157C 0033E4DC 90 1E 00 00 */ stw r0, 0(r30) -/* 80341580 0033E4E0 3B 7B FF FD */ addi r27, r27, -3 -/* 80341584 0033E4E4 4B FF FE 74 */ b lbl_803413F8 -lbl_80341588: -/* 80341588 0033E4E8 38 00 00 09 */ li r0, 9 -/* 8034158C 0033E4EC 3C 60 80 3D */ lis r3, lbl_803D7AF4@ha -/* 80341590 0033E4F0 90 1E 00 00 */ stw r0, 0(r30) -/* 80341594 0033E4F4 38 63 7A F4 */ addi r3, r3, lbl_803D7AF4@l -/* 80341598 0033E4F8 57 86 E8 FE */ srwi r6, r28, 3 -/* 8034159C 0033E4FC 38 1B FF FD */ addi r0, r27, -3 -/* 803415A0 0033E500 90 7F 00 18 */ stw r3, 0x18(r31) -/* 803415A4 0033E504 7F C3 F3 78 */ mr r3, r30 -/* 803415A8 0033E508 7F E4 FB 78 */ mr r4, r31 -/* 803415AC 0033E50C 38 A0 FF FD */ li r5, -3 -/* 803415B0 0033E510 90 DE 00 20 */ stw r6, 0x20(r30) -/* 803415B4 0033E514 90 1E 00 1C */ stw r0, 0x1c(r30) -/* 803415B8 0033E518 93 3F 00 04 */ stw r25, 4(r31) -/* 803415BC 0033E51C 80 1F 00 00 */ lwz r0, 0(r31) -/* 803415C0 0033E520 80 DF 00 08 */ lwz r6, 8(r31) -/* 803415C4 0033E524 7C 00 D0 50 */ subf r0, r0, r26 -/* 803415C8 0033E528 7C 06 02 14 */ add r0, r6, r0 -/* 803415CC 0033E52C 90 1F 00 08 */ stw r0, 8(r31) -/* 803415D0 0033E530 93 5F 00 00 */ stw r26, 0(r31) -/* 803415D4 0033E534 93 1E 00 34 */ stw r24, 0x34(r30) -/* 803415D8 0033E538 48 00 2E 35 */ bl inflate_flush -/* 803415DC 0033E53C 48 00 0B 7C */ b lbl_80342158 -/* 803415E0 0033E540 20 1B 00 27 */ subfic r0, r27, 0x27 -/* 803415E4 0033E544 54 00 E8 FE */ srwi r0, r0, 3 -/* 803415E8 0033E548 7C 09 03 A6 */ mtctr r0 -/* 803415EC 0033E54C 28 1B 00 20 */ cmplwi r27, 0x20 -/* 803415F0 0033E550 40 80 00 6C */ bge lbl_8034165C -lbl_803415F4: -/* 803415F4 0033E554 28 19 00 00 */ cmplwi r25, 0 -/* 803415F8 0033E558 41 82 00 0C */ beq lbl_80341604 -/* 803415FC 0033E55C 3A C0 00 00 */ li r22, 0 -/* 80341600 0033E560 48 00 00 40 */ b lbl_80341640 -lbl_80341604: -/* 80341604 0033E564 93 9E 00 20 */ stw r28, 0x20(r30) -/* 80341608 0033E568 7F C3 F3 78 */ mr r3, r30 -/* 8034160C 0033E56C 7F E4 FB 78 */ mr r4, r31 -/* 80341610 0033E570 7E C5 B3 78 */ mr r5, r22 -/* 80341614 0033E574 93 7E 00 1C */ stw r27, 0x1c(r30) -/* 80341618 0033E578 93 3F 00 04 */ stw r25, 4(r31) -/* 8034161C 0033E57C 80 1F 00 00 */ lwz r0, 0(r31) -/* 80341620 0033E580 80 DF 00 08 */ lwz r6, 8(r31) -/* 80341624 0033E584 7C 00 D0 50 */ subf r0, r0, r26 -/* 80341628 0033E588 7C 06 02 14 */ add r0, r6, r0 -/* 8034162C 0033E58C 90 1F 00 08 */ stw r0, 8(r31) -/* 80341630 0033E590 93 5F 00 00 */ stw r26, 0(r31) -/* 80341634 0033E594 93 1E 00 34 */ stw r24, 0x34(r30) -/* 80341638 0033E598 48 00 2D D5 */ bl inflate_flush -/* 8034163C 0033E59C 48 00 0B 1C */ b lbl_80342158 -lbl_80341640: -/* 80341640 0033E5A0 88 1A 00 00 */ lbz r0, 0(r26) -/* 80341644 0033E5A4 3B 39 FF FF */ addi r25, r25, -1 -/* 80341648 0033E5A8 3B 5A 00 01 */ addi r26, r26, 1 -/* 8034164C 0033E5AC 7C 00 D8 30 */ slw r0, r0, r27 -/* 80341650 0033E5B0 3B 7B 00 08 */ addi r27, r27, 8 -/* 80341654 0033E5B4 7F 9C 03 78 */ or r28, r28, r0 -/* 80341658 0033E5B8 42 00 FF 9C */ bdnz lbl_803415F4 -lbl_8034165C: -/* 8034165C 0033E5BC 7F 83 E0 F8 */ nor r3, r28, r28 -/* 80341660 0033E5C0 57 80 04 3E */ clrlwi r0, r28, 0x10 -/* 80341664 0033E5C4 54 63 84 3E */ srwi r3, r3, 0x10 -/* 80341668 0033E5C8 7C 03 00 40 */ cmplw r3, r0 -/* 8034166C 0033E5CC 41 82 00 58 */ beq lbl_803416C4 -/* 80341670 0033E5D0 38 00 00 09 */ li r0, 9 -/* 80341674 0033E5D4 3C 60 80 3D */ lis r3, lbl_803D7AF4@ha -/* 80341678 0033E5D8 38 63 7A F4 */ addi r3, r3, lbl_803D7AF4@l -/* 8034167C 0033E5DC 90 1E 00 00 */ stw r0, 0(r30) -/* 80341680 0033E5E0 38 03 00 13 */ addi r0, r3, 0x13 -/* 80341684 0033E5E4 7F C3 F3 78 */ mr r3, r30 -/* 80341688 0033E5E8 90 1F 00 18 */ stw r0, 0x18(r31) -/* 8034168C 0033E5EC 7F E4 FB 78 */ mr r4, r31 -/* 80341690 0033E5F0 38 A0 FF FD */ li r5, -3 -/* 80341694 0033E5F4 93 9E 00 20 */ stw r28, 0x20(r30) -/* 80341698 0033E5F8 93 7E 00 1C */ stw r27, 0x1c(r30) -/* 8034169C 0033E5FC 93 3F 00 04 */ stw r25, 4(r31) -/* 803416A0 0033E600 80 1F 00 00 */ lwz r0, 0(r31) -/* 803416A4 0033E604 80 DF 00 08 */ lwz r6, 8(r31) -/* 803416A8 0033E608 7C 00 D0 50 */ subf r0, r0, r26 -/* 803416AC 0033E60C 7C 06 02 14 */ add r0, r6, r0 -/* 803416B0 0033E610 90 1F 00 08 */ stw r0, 8(r31) -/* 803416B4 0033E614 93 5F 00 00 */ stw r26, 0(r31) -/* 803416B8 0033E618 93 1E 00 34 */ stw r24, 0x34(r30) -/* 803416BC 0033E61C 48 00 2D 51 */ bl inflate_flush -/* 803416C0 0033E620 48 00 0A 98 */ b lbl_80342158 -lbl_803416C4: -/* 803416C4 0033E624 90 1E 00 04 */ stw r0, 4(r30) -/* 803416C8 0033E628 3B 60 00 00 */ li r27, 0 -/* 803416CC 0033E62C 3B 80 00 00 */ li r28, 0 -/* 803416D0 0033E630 80 1E 00 04 */ lwz r0, 4(r30) -/* 803416D4 0033E634 28 00 00 00 */ cmplwi r0, 0 -/* 803416D8 0033E638 41 82 00 0C */ beq lbl_803416E4 -/* 803416DC 0033E63C 38 60 00 02 */ li r3, 2 -/* 803416E0 0033E640 48 00 00 18 */ b lbl_803416F8 -lbl_803416E4: -/* 803416E4 0033E644 80 1E 00 18 */ lwz r0, 0x18(r30) -/* 803416E8 0033E648 38 60 00 00 */ li r3, 0 -/* 803416EC 0033E64C 28 00 00 00 */ cmplwi r0, 0 -/* 803416F0 0033E650 41 82 00 08 */ beq lbl_803416F8 -/* 803416F4 0033E654 38 60 00 07 */ li r3, 7 -lbl_803416F8: -/* 803416F8 0033E658 90 7E 00 00 */ stw r3, 0(r30) -/* 803416FC 0033E65C 4B FF FC FC */ b lbl_803413F8 -/* 80341700 0033E660 28 19 00 00 */ cmplwi r25, 0 -/* 80341704 0033E664 40 82 00 40 */ bne lbl_80341744 -/* 80341708 0033E668 93 9E 00 20 */ stw r28, 0x20(r30) -/* 8034170C 0033E66C 7F C3 F3 78 */ mr r3, r30 -/* 80341710 0033E670 7F E4 FB 78 */ mr r4, r31 -/* 80341714 0033E674 7E C5 B3 78 */ mr r5, r22 -/* 80341718 0033E678 93 7E 00 1C */ stw r27, 0x1c(r30) -/* 8034171C 0033E67C 93 3F 00 04 */ stw r25, 4(r31) -/* 80341720 0033E680 80 1F 00 00 */ lwz r0, 0(r31) -/* 80341724 0033E684 80 DF 00 08 */ lwz r6, 8(r31) -/* 80341728 0033E688 7C 00 D0 50 */ subf r0, r0, r26 -/* 8034172C 0033E68C 7C 06 02 14 */ add r0, r6, r0 -/* 80341730 0033E690 90 1F 00 08 */ stw r0, 8(r31) -/* 80341734 0033E694 93 5F 00 00 */ stw r26, 0(r31) -/* 80341738 0033E698 93 1E 00 34 */ stw r24, 0x34(r30) -/* 8034173C 0033E69C 48 00 2C D1 */ bl inflate_flush -/* 80341740 0033E6A0 48 00 0A 18 */ b lbl_80342158 -lbl_80341744: -/* 80341744 0033E6A4 28 17 00 00 */ cmplwi r23, 0 -/* 80341748 0033E6A8 40 82 00 FC */ bne lbl_80341844 -/* 8034174C 0033E6AC 80 9E 00 2C */ lwz r4, 0x2c(r30) -/* 80341750 0033E6B0 7C 18 20 40 */ cmplw r24, r4 -/* 80341754 0033E6B4 40 82 00 30 */ bne lbl_80341784 -/* 80341758 0033E6B8 80 7E 00 30 */ lwz r3, 0x30(r30) -/* 8034175C 0033E6BC 80 1E 00 28 */ lwz r0, 0x28(r30) -/* 80341760 0033E6C0 7C 03 00 40 */ cmplw r3, r0 -/* 80341764 0033E6C4 41 82 00 20 */ beq lbl_80341784 -/* 80341768 0033E6C8 7C 00 18 40 */ cmplw r0, r3 -/* 8034176C 0033E6CC 7C 18 03 78 */ mr r24, r0 -/* 80341770 0033E6D0 40 80 00 10 */ bge lbl_80341780 -/* 80341774 0033E6D4 7C 60 18 50 */ subf r3, r0, r3 -/* 80341778 0033E6D8 3A E3 FF FF */ addi r23, r3, -1 -/* 8034177C 0033E6DC 48 00 00 08 */ b lbl_80341784 -lbl_80341780: -/* 80341780 0033E6E0 7E E0 20 50 */ subf r23, r0, r4 -lbl_80341784: -/* 80341784 0033E6E4 28 17 00 00 */ cmplwi r23, 0 -/* 80341788 0033E6E8 40 82 00 BC */ bne lbl_80341844 -/* 8034178C 0033E6EC 93 1E 00 34 */ stw r24, 0x34(r30) -/* 80341790 0033E6F0 7F C3 F3 78 */ mr r3, r30 -/* 80341794 0033E6F4 7F E4 FB 78 */ mr r4, r31 -/* 80341798 0033E6F8 7E C5 B3 78 */ mr r5, r22 -/* 8034179C 0033E6FC 48 00 2C 71 */ bl inflate_flush -/* 803417A0 0033E700 83 1E 00 34 */ lwz r24, 0x34(r30) -/* 803417A4 0033E704 7C 76 1B 78 */ mr r22, r3 -/* 803417A8 0033E708 80 9E 00 30 */ lwz r4, 0x30(r30) -/* 803417AC 0033E70C 7C 18 20 40 */ cmplw r24, r4 -/* 803417B0 0033E710 40 80 00 10 */ bge lbl_803417C0 -/* 803417B4 0033E714 7C 78 20 50 */ subf r3, r24, r4 -/* 803417B8 0033E718 38 03 FF FF */ addi r0, r3, -1 -/* 803417BC 0033E71C 48 00 00 0C */ b lbl_803417C8 -lbl_803417C0: -/* 803417C0 0033E720 80 1E 00 2C */ lwz r0, 0x2c(r30) -/* 803417C4 0033E724 7C 18 00 50 */ subf r0, r24, r0 -lbl_803417C8: -/* 803417C8 0033E728 80 7E 00 2C */ lwz r3, 0x2c(r30) -/* 803417CC 0033E72C 7C 17 03 78 */ mr r23, r0 -/* 803417D0 0033E730 7C 18 18 40 */ cmplw r24, r3 -/* 803417D4 0033E734 40 82 00 2C */ bne lbl_80341800 -/* 803417D8 0033E738 80 1E 00 28 */ lwz r0, 0x28(r30) -/* 803417DC 0033E73C 7C 04 00 40 */ cmplw r4, r0 -/* 803417E0 0033E740 41 82 00 20 */ beq lbl_80341800 -/* 803417E4 0033E744 7C 00 20 40 */ cmplw r0, r4 -/* 803417E8 0033E748 7C 18 03 78 */ mr r24, r0 -/* 803417EC 0033E74C 40 80 00 10 */ bge lbl_803417FC -/* 803417F0 0033E750 7C 60 20 50 */ subf r3, r0, r4 -/* 803417F4 0033E754 3A E3 FF FF */ addi r23, r3, -1 -/* 803417F8 0033E758 48 00 00 08 */ b lbl_80341800 -lbl_803417FC: -/* 803417FC 0033E75C 7E E0 18 50 */ subf r23, r0, r3 -lbl_80341800: -/* 80341800 0033E760 28 17 00 00 */ cmplwi r23, 0 -/* 80341804 0033E764 40 82 00 40 */ bne lbl_80341844 -/* 80341808 0033E768 93 9E 00 20 */ stw r28, 0x20(r30) -/* 8034180C 0033E76C 7F C3 F3 78 */ mr r3, r30 -/* 80341810 0033E770 7F E4 FB 78 */ mr r4, r31 -/* 80341814 0033E774 7E C5 B3 78 */ mr r5, r22 -/* 80341818 0033E778 93 7E 00 1C */ stw r27, 0x1c(r30) -/* 8034181C 0033E77C 93 3F 00 04 */ stw r25, 4(r31) -/* 80341820 0033E780 80 1F 00 00 */ lwz r0, 0(r31) -/* 80341824 0033E784 80 DF 00 08 */ lwz r6, 8(r31) -/* 80341828 0033E788 7C 00 D0 50 */ subf r0, r0, r26 -/* 8034182C 0033E78C 7C 06 02 14 */ add r0, r6, r0 -/* 80341830 0033E790 90 1F 00 08 */ stw r0, 8(r31) -/* 80341834 0033E794 93 5F 00 00 */ stw r26, 0(r31) -/* 80341838 0033E798 93 1E 00 34 */ stw r24, 0x34(r30) -/* 8034183C 0033E79C 48 00 2B D1 */ bl inflate_flush -/* 80341840 0033E7A0 48 00 09 18 */ b lbl_80342158 -lbl_80341844: -/* 80341844 0033E7A4 82 BE 00 04 */ lwz r21, 4(r30) -/* 80341848 0033E7A8 3A C0 00 00 */ li r22, 0 -/* 8034184C 0033E7AC 7C 15 C8 40 */ cmplw r21, r25 -/* 80341850 0033E7B0 40 81 00 08 */ ble lbl_80341858 -/* 80341854 0033E7B4 7F 35 CB 78 */ mr r21, r25 -lbl_80341858: -/* 80341858 0033E7B8 7C 15 B8 40 */ cmplw r21, r23 -/* 8034185C 0033E7BC 40 81 00 08 */ ble lbl_80341864 -/* 80341860 0033E7C0 7E F5 BB 78 */ mr r21, r23 -lbl_80341864: -/* 80341864 0033E7C4 7F 03 C3 78 */ mr r3, r24 -/* 80341868 0033E7C8 7F 44 D3 78 */ mr r4, r26 -/* 8034186C 0033E7CC 7E A5 AB 78 */ mr r5, r21 -/* 80341870 0033E7D0 4B CC 1C 21 */ bl memcpy -/* 80341874 0033E7D4 80 1E 00 04 */ lwz r0, 4(r30) -/* 80341878 0033E7D8 7F 5A AA 14 */ add r26, r26, r21 -/* 8034187C 0033E7DC 7F 35 C8 50 */ subf r25, r21, r25 -/* 80341880 0033E7E0 7F 18 AA 14 */ add r24, r24, r21 -/* 80341884 0033E7E4 7C 15 00 51 */ subf. r0, r21, r0 -/* 80341888 0033E7E8 7E F5 B8 50 */ subf r23, r21, r23 -/* 8034188C 0033E7EC 90 1E 00 04 */ stw r0, 4(r30) -/* 80341890 0033E7F0 40 82 FB 68 */ bne lbl_803413F8 -/* 80341894 0033E7F4 80 1E 00 18 */ lwz r0, 0x18(r30) -/* 80341898 0033E7F8 38 60 00 00 */ li r3, 0 -/* 8034189C 0033E7FC 28 00 00 00 */ cmplwi r0, 0 -/* 803418A0 0033E800 41 82 00 08 */ beq lbl_803418A8 -/* 803418A4 0033E804 38 60 00 07 */ li r3, 7 -lbl_803418A8: -/* 803418A8 0033E808 90 7E 00 00 */ stw r3, 0(r30) -/* 803418AC 0033E80C 4B FF FB 4C */ b lbl_803413F8 -/* 803418B0 0033E810 20 1B 00 15 */ subfic r0, r27, 0x15 -/* 803418B4 0033E814 54 00 E8 FE */ srwi r0, r0, 3 -/* 803418B8 0033E818 7C 09 03 A6 */ mtctr r0 -/* 803418BC 0033E81C 28 1B 00 0E */ cmplwi r27, 0xe -/* 803418C0 0033E820 40 80 00 6C */ bge lbl_8034192C -lbl_803418C4: -/* 803418C4 0033E824 28 19 00 00 */ cmplwi r25, 0 -/* 803418C8 0033E828 41 82 00 0C */ beq lbl_803418D4 -/* 803418CC 0033E82C 3A C0 00 00 */ li r22, 0 -/* 803418D0 0033E830 48 00 00 40 */ b lbl_80341910 -lbl_803418D4: -/* 803418D4 0033E834 93 9E 00 20 */ stw r28, 0x20(r30) -/* 803418D8 0033E838 7F C3 F3 78 */ mr r3, r30 -/* 803418DC 0033E83C 7F E4 FB 78 */ mr r4, r31 -/* 803418E0 0033E840 7E C5 B3 78 */ mr r5, r22 -/* 803418E4 0033E844 93 7E 00 1C */ stw r27, 0x1c(r30) -/* 803418E8 0033E848 93 3F 00 04 */ stw r25, 4(r31) -/* 803418EC 0033E84C 80 1F 00 00 */ lwz r0, 0(r31) -/* 803418F0 0033E850 80 DF 00 08 */ lwz r6, 8(r31) -/* 803418F4 0033E854 7C 00 D0 50 */ subf r0, r0, r26 -/* 803418F8 0033E858 7C 06 02 14 */ add r0, r6, r0 -/* 803418FC 0033E85C 90 1F 00 08 */ stw r0, 8(r31) -/* 80341900 0033E860 93 5F 00 00 */ stw r26, 0(r31) -/* 80341904 0033E864 93 1E 00 34 */ stw r24, 0x34(r30) -/* 80341908 0033E868 48 00 2B 05 */ bl inflate_flush -/* 8034190C 0033E86C 48 00 08 4C */ b lbl_80342158 -lbl_80341910: -/* 80341910 0033E870 88 1A 00 00 */ lbz r0, 0(r26) -/* 80341914 0033E874 3B 39 FF FF */ addi r25, r25, -1 -/* 80341918 0033E878 3B 5A 00 01 */ addi r26, r26, 1 -/* 8034191C 0033E87C 7C 00 D8 30 */ slw r0, r0, r27 -/* 80341920 0033E880 3B 7B 00 08 */ addi r27, r27, 8 -/* 80341924 0033E884 7F 9C 03 78 */ or r28, r28, r0 -/* 80341928 0033E888 42 00 FF 9C */ bdnz lbl_803418C4 -lbl_8034192C: -/* 8034192C 0033E88C 57 83 06 FE */ clrlwi r3, r28, 0x1b -/* 80341930 0033E890 57 80 04 BE */ clrlwi r0, r28, 0x12 -/* 80341934 0033E894 28 03 00 1D */ cmplwi r3, 0x1d -/* 80341938 0033E898 90 1E 00 04 */ stw r0, 4(r30) -/* 8034193C 0033E89C 41 81 00 10 */ bgt lbl_8034194C -/* 80341940 0033E8A0 54 00 DE FE */ rlwinm r0, r0, 0x1b, 0x1b, 0x1f -/* 80341944 0033E8A4 28 00 00 1D */ cmplwi r0, 0x1d -/* 80341948 0033E8A8 40 81 00 58 */ ble lbl_803419A0 -lbl_8034194C: -/* 8034194C 0033E8AC 38 00 00 09 */ li r0, 9 -/* 80341950 0033E8B0 3C 60 80 3D */ lis r3, lbl_803D7AF4@ha -/* 80341954 0033E8B4 38 63 7A F4 */ addi r3, r3, lbl_803D7AF4@l -/* 80341958 0033E8B8 90 1E 00 00 */ stw r0, 0(r30) -/* 8034195C 0033E8BC 38 03 00 30 */ addi r0, r3, 0x30 -/* 80341960 0033E8C0 7F C3 F3 78 */ mr r3, r30 -/* 80341964 0033E8C4 90 1F 00 18 */ stw r0, 0x18(r31) -/* 80341968 0033E8C8 7F E4 FB 78 */ mr r4, r31 -/* 8034196C 0033E8CC 38 A0 FF FD */ li r5, -3 -/* 80341970 0033E8D0 93 9E 00 20 */ stw r28, 0x20(r30) -/* 80341974 0033E8D4 93 7E 00 1C */ stw r27, 0x1c(r30) -/* 80341978 0033E8D8 93 3F 00 04 */ stw r25, 4(r31) -/* 8034197C 0033E8DC 80 1F 00 00 */ lwz r0, 0(r31) -/* 80341980 0033E8E0 80 DF 00 08 */ lwz r6, 8(r31) -/* 80341984 0033E8E4 7C 00 D0 50 */ subf r0, r0, r26 -/* 80341988 0033E8E8 7C 06 02 14 */ add r0, r6, r0 -/* 8034198C 0033E8EC 90 1F 00 08 */ stw r0, 8(r31) -/* 80341990 0033E8F0 93 5F 00 00 */ stw r26, 0(r31) -/* 80341994 0033E8F4 93 1E 00 34 */ stw r24, 0x34(r30) -/* 80341998 0033E8F8 48 00 2A 75 */ bl inflate_flush -/* 8034199C 0033E8FC 48 00 07 BC */ b lbl_80342158 -lbl_803419A0: -/* 803419A0 0033E900 81 9F 00 20 */ lwz r12, 0x20(r31) -/* 803419A4 0033E904 7C 83 02 14 */ add r4, r3, r0 -/* 803419A8 0033E908 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 803419AC 0033E90C 38 A0 00 04 */ li r5, 4 -/* 803419B0 0033E910 7D 89 03 A6 */ mtctr r12 -/* 803419B4 0033E914 38 84 01 02 */ addi r4, r4, 0x102 -/* 803419B8 0033E918 4E 80 04 21 */ bctrl -/* 803419BC 0033E91C 28 03 00 00 */ cmplwi r3, 0 -/* 803419C0 0033E920 90 7E 00 0C */ stw r3, 0xc(r30) -/* 803419C4 0033E924 40 82 00 40 */ bne lbl_80341A04 -/* 803419C8 0033E928 93 9E 00 20 */ stw r28, 0x20(r30) -/* 803419CC 0033E92C 7F C3 F3 78 */ mr r3, r30 -/* 803419D0 0033E930 7F E4 FB 78 */ mr r4, r31 -/* 803419D4 0033E934 38 A0 FF FC */ li r5, -4 -/* 803419D8 0033E938 93 7E 00 1C */ stw r27, 0x1c(r30) -/* 803419DC 0033E93C 93 3F 00 04 */ stw r25, 4(r31) -/* 803419E0 0033E940 80 1F 00 00 */ lwz r0, 0(r31) -/* 803419E4 0033E944 80 DF 00 08 */ lwz r6, 8(r31) -/* 803419E8 0033E948 7C 00 D0 50 */ subf r0, r0, r26 -/* 803419EC 0033E94C 7C 06 02 14 */ add r0, r6, r0 -/* 803419F0 0033E950 90 1F 00 08 */ stw r0, 8(r31) -/* 803419F4 0033E954 93 5F 00 00 */ stw r26, 0(r31) -/* 803419F8 0033E958 93 1E 00 34 */ stw r24, 0x34(r30) -/* 803419FC 0033E95C 48 00 2A 11 */ bl inflate_flush -/* 80341A00 0033E960 48 00 07 58 */ b lbl_80342158 -lbl_80341A04: -/* 80341A04 0033E964 38 60 00 00 */ li r3, 0 -/* 80341A08 0033E968 38 00 00 04 */ li r0, 4 -/* 80341A0C 0033E96C 90 7E 00 08 */ stw r3, 8(r30) -/* 80341A10 0033E970 57 9C 93 BE */ srwi r28, r28, 0xe -/* 80341A14 0033E974 3B 7B FF F2 */ addi r27, r27, -14 -/* 80341A18 0033E978 90 1E 00 00 */ stw r0, 0(r30) -/* 80341A1C 0033E97C 3C 60 80 3D */ lis r3, lbl_803D7AA8@ha -/* 80341A20 0033E980 38 A3 7A A8 */ addi r5, r3, lbl_803D7AA8@l -/* 80341A24 0033E984 48 00 00 AC */ b lbl_80341AD0 -lbl_80341A28: -/* 80341A28 0033E988 20 1B 00 0A */ subfic r0, r27, 0xa -/* 80341A2C 0033E98C 54 00 E8 FE */ srwi r0, r0, 3 -/* 80341A30 0033E990 7C 09 03 A6 */ mtctr r0 -/* 80341A34 0033E994 28 1B 00 03 */ cmplwi r27, 3 -/* 80341A38 0033E998 40 80 00 6C */ bge lbl_80341AA4 -lbl_80341A3C: -/* 80341A3C 0033E99C 28 19 00 00 */ cmplwi r25, 0 -/* 80341A40 0033E9A0 41 82 00 0C */ beq lbl_80341A4C -/* 80341A44 0033E9A4 3A C0 00 00 */ li r22, 0 -/* 80341A48 0033E9A8 48 00 00 40 */ b lbl_80341A88 -lbl_80341A4C: -/* 80341A4C 0033E9AC 93 9E 00 20 */ stw r28, 0x20(r30) -/* 80341A50 0033E9B0 7F C3 F3 78 */ mr r3, r30 -/* 80341A54 0033E9B4 7F E4 FB 78 */ mr r4, r31 -/* 80341A58 0033E9B8 7E C5 B3 78 */ mr r5, r22 -/* 80341A5C 0033E9BC 93 7E 00 1C */ stw r27, 0x1c(r30) -/* 80341A60 0033E9C0 93 3F 00 04 */ stw r25, 4(r31) -/* 80341A64 0033E9C4 80 1F 00 00 */ lwz r0, 0(r31) -/* 80341A68 0033E9C8 80 DF 00 08 */ lwz r6, 8(r31) -/* 80341A6C 0033E9CC 7C 00 D0 50 */ subf r0, r0, r26 -/* 80341A70 0033E9D0 7C 06 02 14 */ add r0, r6, r0 -/* 80341A74 0033E9D4 90 1F 00 08 */ stw r0, 8(r31) -/* 80341A78 0033E9D8 93 5F 00 00 */ stw r26, 0(r31) -/* 80341A7C 0033E9DC 93 1E 00 34 */ stw r24, 0x34(r30) -/* 80341A80 0033E9E0 48 00 29 8D */ bl inflate_flush -/* 80341A84 0033E9E4 48 00 06 D4 */ b lbl_80342158 -lbl_80341A88: -/* 80341A88 0033E9E8 88 1A 00 00 */ lbz r0, 0(r26) -/* 80341A8C 0033E9EC 3B 39 FF FF */ addi r25, r25, -1 -/* 80341A90 0033E9F0 3B 5A 00 01 */ addi r26, r26, 1 -/* 80341A94 0033E9F4 7C 00 D8 30 */ slw r0, r0, r27 -/* 80341A98 0033E9F8 3B 7B 00 08 */ addi r27, r27, 8 -/* 80341A9C 0033E9FC 7F 9C 03 78 */ or r28, r28, r0 -/* 80341AA0 0033EA00 42 00 FF 9C */ bdnz lbl_80341A3C -lbl_80341AA4: -/* 80341AA4 0033EA04 80 7E 00 08 */ lwz r3, 8(r30) -/* 80341AA8 0033EA08 57 86 07 7E */ clrlwi r6, r28, 0x1d -/* 80341AAC 0033EA0C 80 9E 00 0C */ lwz r4, 0xc(r30) -/* 80341AB0 0033EA10 57 9C E8 FE */ srwi r28, r28, 3 -/* 80341AB4 0033EA14 54 60 10 3A */ slwi r0, r3, 2 -/* 80341AB8 0033EA18 38 63 00 01 */ addi r3, r3, 1 -/* 80341ABC 0033EA1C 7C 05 00 2E */ lwzx r0, r5, r0 -/* 80341AC0 0033EA20 3B 7B FF FD */ addi r27, r27, -3 -/* 80341AC4 0033EA24 90 7E 00 08 */ stw r3, 8(r30) -/* 80341AC8 0033EA28 54 00 10 3A */ slwi r0, r0, 2 -/* 80341ACC 0033EA2C 7C C4 01 2E */ stwx r6, r4, r0 -lbl_80341AD0: -/* 80341AD0 0033EA30 80 1E 00 04 */ lwz r0, 4(r30) -/* 80341AD4 0033EA34 80 9E 00 08 */ lwz r4, 8(r30) -/* 80341AD8 0033EA38 54 03 B2 BE */ srwi r3, r0, 0xa -/* 80341ADC 0033EA3C 38 03 00 04 */ addi r0, r3, 4 -/* 80341AE0 0033EA40 7C 04 00 40 */ cmplw r4, r0 -/* 80341AE4 0033EA44 41 80 FF 44 */ blt lbl_80341A28 -/* 80341AE8 0033EA48 3C 60 80 3D */ lis r3, lbl_803D7AA8@ha -/* 80341AEC 0033EA4C 38 C0 00 00 */ li r6, 0 -/* 80341AF0 0033EA50 38 63 7A A8 */ addi r3, r3, lbl_803D7AA8@l -/* 80341AF4 0033EA54 48 00 00 24 */ b lbl_80341B18 -lbl_80341AF8: -/* 80341AF8 0033EA58 80 9E 00 08 */ lwz r4, 8(r30) -/* 80341AFC 0033EA5C 80 BE 00 0C */ lwz r5, 0xc(r30) -/* 80341B00 0033EA60 54 80 10 3A */ slwi r0, r4, 2 -/* 80341B04 0033EA64 38 84 00 01 */ addi r4, r4, 1 -/* 80341B08 0033EA68 7C 03 00 2E */ lwzx r0, r3, r0 -/* 80341B0C 0033EA6C 90 9E 00 08 */ stw r4, 8(r30) -/* 80341B10 0033EA70 54 00 10 3A */ slwi r0, r0, 2 -/* 80341B14 0033EA74 7C C5 01 2E */ stwx r6, r5, r0 -lbl_80341B18: -/* 80341B18 0033EA78 80 1E 00 08 */ lwz r0, 8(r30) -/* 80341B1C 0033EA7C 28 00 00 13 */ cmplwi r0, 0x13 -/* 80341B20 0033EA80 41 80 FF D8 */ blt lbl_80341AF8 -/* 80341B24 0033EA84 38 00 00 07 */ li r0, 7 -/* 80341B28 0033EA88 7F E7 FB 78 */ mr r7, r31 -/* 80341B2C 0033EA8C 90 1E 00 10 */ stw r0, 0x10(r30) -/* 80341B30 0033EA90 38 9E 00 10 */ addi r4, r30, 0x10 -/* 80341B34 0033EA94 38 BE 00 14 */ addi r5, r30, 0x14 -/* 80341B38 0033EA98 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 80341B3C 0033EA9C 80 DE 00 24 */ lwz r6, 0x24(r30) -/* 80341B40 0033EAA0 48 00 22 A1 */ bl inflate_trees_bits -/* 80341B44 0033EAA4 7C 77 1B 79 */ or. r23, r3, r3 -/* 80341B48 0033EAA8 41 82 00 64 */ beq lbl_80341BAC -/* 80341B4C 0033EAAC 81 9F 00 24 */ lwz r12, 0x24(r31) -/* 80341B50 0033EAB0 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 80341B54 0033EAB4 80 9E 00 0C */ lwz r4, 0xc(r30) -/* 80341B58 0033EAB8 7D 89 03 A6 */ mtctr r12 -/* 80341B5C 0033EABC 4E 80 04 21 */ bctrl -/* 80341B60 0033EAC0 2C 17 FF FD */ cmpwi r23, -3 -/* 80341B64 0033EAC4 40 82 00 0C */ bne lbl_80341B70 -/* 80341B68 0033EAC8 38 00 00 09 */ li r0, 9 -/* 80341B6C 0033EACC 90 1E 00 00 */ stw r0, 0(r30) -lbl_80341B70: -/* 80341B70 0033EAD0 93 9E 00 20 */ stw r28, 0x20(r30) -/* 80341B74 0033EAD4 7F C3 F3 78 */ mr r3, r30 -/* 80341B78 0033EAD8 7F E4 FB 78 */ mr r4, r31 -/* 80341B7C 0033EADC 7E E5 BB 78 */ mr r5, r23 -/* 80341B80 0033EAE0 93 7E 00 1C */ stw r27, 0x1c(r30) -/* 80341B84 0033EAE4 93 3F 00 04 */ stw r25, 4(r31) -/* 80341B88 0033EAE8 80 1F 00 00 */ lwz r0, 0(r31) -/* 80341B8C 0033EAEC 80 DF 00 08 */ lwz r6, 8(r31) -/* 80341B90 0033EAF0 7C 00 D0 50 */ subf r0, r0, r26 -/* 80341B94 0033EAF4 7C 06 02 14 */ add r0, r6, r0 -/* 80341B98 0033EAF8 90 1F 00 08 */ stw r0, 8(r31) -/* 80341B9C 0033EAFC 93 5F 00 00 */ stw r26, 0(r31) -/* 80341BA0 0033EB00 93 1E 00 34 */ stw r24, 0x34(r30) -/* 80341BA4 0033EB04 48 00 28 69 */ bl inflate_flush -/* 80341BA8 0033EB08 48 00 05 B0 */ b lbl_80342158 -lbl_80341BAC: -/* 80341BAC 0033EB0C 38 60 00 00 */ li r3, 0 -/* 80341BB0 0033EB10 38 00 00 05 */ li r0, 5 -/* 80341BB4 0033EB14 90 7E 00 08 */ stw r3, 8(r30) -/* 80341BB8 0033EB18 90 1E 00 00 */ stw r0, 0(r30) -/* 80341BBC 0033EB1C 3C 60 80 3F */ lis r3, lbl_803EF5C8@ha -/* 80341BC0 0033EB20 38 63 F5 C8 */ addi r3, r3, lbl_803EF5C8@l -/* 80341BC4 0033EB24 48 00 02 78 */ b lbl_80341E3C -lbl_80341BC8: -/* 80341BC8 0033EB28 80 DE 00 10 */ lwz r6, 0x10(r30) -/* 80341BCC 0033EB2C 38 A6 00 07 */ addi r5, r6, 7 -/* 80341BD0 0033EB30 7C BB 28 50 */ subf r5, r27, r5 -/* 80341BD4 0033EB34 54 A5 E8 FE */ srwi r5, r5, 3 -/* 80341BD8 0033EB38 7C A9 03 A6 */ mtctr r5 -/* 80341BDC 0033EB3C 7C 1B 30 40 */ cmplw r27, r6 -/* 80341BE0 0033EB40 40 80 00 6C */ bge lbl_80341C4C -lbl_80341BE4: -/* 80341BE4 0033EB44 28 19 00 00 */ cmplwi r25, 0 -/* 80341BE8 0033EB48 41 82 00 0C */ beq lbl_80341BF4 -/* 80341BEC 0033EB4C 3A C0 00 00 */ li r22, 0 -/* 80341BF0 0033EB50 48 00 00 40 */ b lbl_80341C30 -lbl_80341BF4: -/* 80341BF4 0033EB54 93 9E 00 20 */ stw r28, 0x20(r30) -/* 80341BF8 0033EB58 7F C3 F3 78 */ mr r3, r30 -/* 80341BFC 0033EB5C 7F E4 FB 78 */ mr r4, r31 -/* 80341C00 0033EB60 7E C5 B3 78 */ mr r5, r22 -/* 80341C04 0033EB64 93 7E 00 1C */ stw r27, 0x1c(r30) -/* 80341C08 0033EB68 93 3F 00 04 */ stw r25, 4(r31) -/* 80341C0C 0033EB6C 80 1F 00 00 */ lwz r0, 0(r31) -/* 80341C10 0033EB70 80 DF 00 08 */ lwz r6, 8(r31) -/* 80341C14 0033EB74 7C 00 D0 50 */ subf r0, r0, r26 -/* 80341C18 0033EB78 7C 06 02 14 */ add r0, r6, r0 -/* 80341C1C 0033EB7C 90 1F 00 08 */ stw r0, 8(r31) -/* 80341C20 0033EB80 93 5F 00 00 */ stw r26, 0(r31) -/* 80341C24 0033EB84 93 1E 00 34 */ stw r24, 0x34(r30) -/* 80341C28 0033EB88 48 00 27 E5 */ bl inflate_flush -/* 80341C2C 0033EB8C 48 00 05 2C */ b lbl_80342158 -lbl_80341C30: -/* 80341C30 0033EB90 88 BA 00 00 */ lbz r5, 0(r26) -/* 80341C34 0033EB94 3B 39 FF FF */ addi r25, r25, -1 -/* 80341C38 0033EB98 3B 5A 00 01 */ addi r26, r26, 1 -/* 80341C3C 0033EB9C 7C A5 D8 30 */ slw r5, r5, r27 -/* 80341C40 0033EBA0 3B 7B 00 08 */ addi r27, r27, 8 -/* 80341C44 0033EBA4 7F 9C 2B 78 */ or r28, r28, r5 -/* 80341C48 0033EBA8 42 00 FF 9C */ bdnz lbl_80341BE4 -lbl_80341C4C: -/* 80341C4C 0033EBAC 54 C5 10 3A */ slwi r5, r6, 2 -/* 80341C50 0033EBB0 80 DE 00 14 */ lwz r6, 0x14(r30) -/* 80341C54 0033EBB4 7C A3 28 2E */ lwzx r5, r3, r5 -/* 80341C58 0033EBB8 7F 85 28 38 */ and r5, r28, r5 -/* 80341C5C 0033EBBC 54 A5 18 38 */ slwi r5, r5, 3 -/* 80341C60 0033EBC0 7C C6 2A 14 */ add r6, r6, r5 -/* 80341C64 0033EBC4 80 A6 00 04 */ lwz r5, 4(r6) -/* 80341C68 0033EBC8 89 66 00 01 */ lbz r11, 1(r6) -/* 80341C6C 0033EBCC 28 05 00 10 */ cmplwi r5, 0x10 -/* 80341C70 0033EBD0 40 80 00 28 */ bge lbl_80341C98 -/* 80341C74 0033EBD4 80 DE 00 08 */ lwz r6, 8(r30) -/* 80341C78 0033EBD8 7F 9C 5C 30 */ srw r28, r28, r11 -/* 80341C7C 0033EBDC 80 FE 00 0C */ lwz r7, 0xc(r30) -/* 80341C80 0033EBE0 7F 6B D8 50 */ subf r27, r11, r27 -/* 80341C84 0033EBE4 38 86 00 01 */ addi r4, r6, 1 -/* 80341C88 0033EBE8 54 C0 10 3A */ slwi r0, r6, 2 -/* 80341C8C 0033EBEC 90 9E 00 08 */ stw r4, 8(r30) -/* 80341C90 0033EBF0 7C A7 01 2E */ stwx r5, r7, r0 -/* 80341C94 0033EBF4 48 00 01 A8 */ b lbl_80341E3C -lbl_80341C98: -/* 80341C98 0033EBF8 28 05 00 12 */ cmplwi r5, 0x12 -/* 80341C9C 0033EBFC 39 40 00 07 */ li r10, 7 -/* 80341CA0 0033EC00 41 82 00 08 */ beq lbl_80341CA8 -/* 80341CA4 0033EC04 39 45 FF F2 */ addi r10, r5, -14 -lbl_80341CA8: -/* 80341CA8 0033EC08 28 05 00 12 */ cmplwi r5, 0x12 -/* 80341CAC 0033EC0C 39 20 00 03 */ li r9, 3 -/* 80341CB0 0033EC10 40 82 00 08 */ bne lbl_80341CB8 -/* 80341CB4 0033EC14 39 20 00 0B */ li r9, 0xb -lbl_80341CB8: -/* 80341CB8 0033EC18 7C EB 52 14 */ add r7, r11, r10 -/* 80341CBC 0033EC1C 38 C7 00 07 */ addi r6, r7, 7 -/* 80341CC0 0033EC20 7C DB 30 50 */ subf r6, r27, r6 -/* 80341CC4 0033EC24 54 C6 E8 FE */ srwi r6, r6, 3 -/* 80341CC8 0033EC28 7C C9 03 A6 */ mtctr r6 -/* 80341CCC 0033EC2C 7C 1B 38 40 */ cmplw r27, r7 -/* 80341CD0 0033EC30 40 80 00 6C */ bge lbl_80341D3C -lbl_80341CD4: -/* 80341CD4 0033EC34 28 19 00 00 */ cmplwi r25, 0 -/* 80341CD8 0033EC38 41 82 00 0C */ beq lbl_80341CE4 -/* 80341CDC 0033EC3C 3A C0 00 00 */ li r22, 0 -/* 80341CE0 0033EC40 48 00 00 40 */ b lbl_80341D20 -lbl_80341CE4: -/* 80341CE4 0033EC44 93 9E 00 20 */ stw r28, 0x20(r30) -/* 80341CE8 0033EC48 7F C3 F3 78 */ mr r3, r30 -/* 80341CEC 0033EC4C 7F E4 FB 78 */ mr r4, r31 -/* 80341CF0 0033EC50 7E C5 B3 78 */ mr r5, r22 -/* 80341CF4 0033EC54 93 7E 00 1C */ stw r27, 0x1c(r30) -/* 80341CF8 0033EC58 93 3F 00 04 */ stw r25, 4(r31) -/* 80341CFC 0033EC5C 80 1F 00 00 */ lwz r0, 0(r31) -/* 80341D00 0033EC60 80 DF 00 08 */ lwz r6, 8(r31) -/* 80341D04 0033EC64 7C 00 D0 50 */ subf r0, r0, r26 -/* 80341D08 0033EC68 7C 06 02 14 */ add r0, r6, r0 -/* 80341D0C 0033EC6C 90 1F 00 08 */ stw r0, 8(r31) -/* 80341D10 0033EC70 93 5F 00 00 */ stw r26, 0(r31) -/* 80341D14 0033EC74 93 1E 00 34 */ stw r24, 0x34(r30) -/* 80341D18 0033EC78 48 00 26 F5 */ bl inflate_flush -/* 80341D1C 0033EC7C 48 00 04 3C */ b lbl_80342158 -lbl_80341D20: -/* 80341D20 0033EC80 88 DA 00 00 */ lbz r6, 0(r26) -/* 80341D24 0033EC84 3B 39 FF FF */ addi r25, r25, -1 -/* 80341D28 0033EC88 3B 5A 00 01 */ addi r26, r26, 1 -/* 80341D2C 0033EC8C 7C C6 D8 30 */ slw r6, r6, r27 -/* 80341D30 0033EC90 3B 7B 00 08 */ addi r27, r27, 8 -/* 80341D34 0033EC94 7F 9C 33 78 */ or r28, r28, r6 -/* 80341D38 0033EC98 42 00 FF 9C */ bdnz lbl_80341CD4 -lbl_80341D3C: -/* 80341D3C 0033EC9C 3C C0 80 3F */ lis r6, lbl_803EF5C8@ha -/* 80341D40 0033ECA0 7F 6B D8 50 */ subf r27, r11, r27 -/* 80341D44 0033ECA4 55 48 10 3A */ slwi r8, r10, 2 -/* 80341D48 0033ECA8 7F 9C 5C 30 */ srw r28, r28, r11 -/* 80341D4C 0033ECAC 38 E6 F5 C8 */ addi r7, r6, lbl_803EF5C8@l -/* 80341D50 0033ECB0 54 86 06 FE */ clrlwi r6, r4, 0x1b -/* 80341D54 0033ECB4 7C E7 40 2E */ lwzx r7, r7, r8 -/* 80341D58 0033ECB8 54 84 DE FE */ rlwinm r4, r4, 0x1b, 0x1b, 0x1f -/* 80341D5C 0033ECBC 7C 86 22 14 */ add r4, r6, r4 -/* 80341D60 0033ECC0 7C 08 03 78 */ mr r8, r0 -/* 80341D64 0033ECC4 7F 86 38 38 */ and r6, r28, r7 -/* 80341D68 0033ECC8 7F 9C 54 30 */ srw r28, r28, r10 -/* 80341D6C 0033ECCC 7C E9 32 14 */ add r7, r9, r6 -/* 80341D70 0033ECD0 38 84 01 02 */ addi r4, r4, 0x102 -/* 80341D74 0033ECD4 7C C0 3A 14 */ add r6, r0, r7 -/* 80341D78 0033ECD8 7F 6A D8 50 */ subf r27, r10, r27 -/* 80341D7C 0033ECDC 7C 06 20 40 */ cmplw r6, r4 -/* 80341D80 0033ECE0 41 81 00 14 */ bgt lbl_80341D94 -/* 80341D84 0033ECE4 28 05 00 10 */ cmplwi r5, 0x10 -/* 80341D88 0033ECE8 40 82 00 74 */ bne lbl_80341DFC -/* 80341D8C 0033ECEC 28 00 00 01 */ cmplwi r0, 1 -/* 80341D90 0033ECF0 40 80 00 6C */ bge lbl_80341DFC -lbl_80341D94: -/* 80341D94 0033ECF4 81 9F 00 24 */ lwz r12, 0x24(r31) -/* 80341D98 0033ECF8 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 80341D9C 0033ECFC 80 9E 00 0C */ lwz r4, 0xc(r30) -/* 80341DA0 0033ED00 7D 89 03 A6 */ mtctr r12 -/* 80341DA4 0033ED04 4E 80 04 21 */ bctrl -/* 80341DA8 0033ED08 38 00 00 09 */ li r0, 9 -/* 80341DAC 0033ED0C 3C 60 80 3D */ lis r3, lbl_803D7AF4@ha -/* 80341DB0 0033ED10 38 63 7A F4 */ addi r3, r3, lbl_803D7AF4@l -/* 80341DB4 0033ED14 90 1E 00 00 */ stw r0, 0(r30) -/* 80341DB8 0033ED18 38 03 00 54 */ addi r0, r3, 0x54 -/* 80341DBC 0033ED1C 7F C3 F3 78 */ mr r3, r30 -/* 80341DC0 0033ED20 90 1F 00 18 */ stw r0, 0x18(r31) -/* 80341DC4 0033ED24 7F E4 FB 78 */ mr r4, r31 -/* 80341DC8 0033ED28 38 A0 FF FD */ li r5, -3 -/* 80341DCC 0033ED2C 93 9E 00 20 */ stw r28, 0x20(r30) -/* 80341DD0 0033ED30 93 7E 00 1C */ stw r27, 0x1c(r30) -/* 80341DD4 0033ED34 93 3F 00 04 */ stw r25, 4(r31) -/* 80341DD8 0033ED38 80 1F 00 00 */ lwz r0, 0(r31) -/* 80341DDC 0033ED3C 80 DF 00 08 */ lwz r6, 8(r31) -/* 80341DE0 0033ED40 7C 00 D0 50 */ subf r0, r0, r26 -/* 80341DE4 0033ED44 7C 06 02 14 */ add r0, r6, r0 -/* 80341DE8 0033ED48 90 1F 00 08 */ stw r0, 8(r31) -/* 80341DEC 0033ED4C 93 5F 00 00 */ stw r26, 0(r31) -/* 80341DF0 0033ED50 93 1E 00 34 */ stw r24, 0x34(r30) -/* 80341DF4 0033ED54 48 00 26 19 */ bl inflate_flush -/* 80341DF8 0033ED58 48 00 03 60 */ b lbl_80342158 -lbl_80341DFC: -/* 80341DFC 0033ED5C 28 05 00 10 */ cmplwi r5, 0x10 -/* 80341E00 0033ED60 40 82 00 18 */ bne lbl_80341E18 -/* 80341E04 0033ED64 54 04 10 3A */ slwi r4, r0, 2 -/* 80341E08 0033ED68 80 BE 00 0C */ lwz r5, 0xc(r30) -/* 80341E0C 0033ED6C 38 04 FF FC */ addi r0, r4, -4 -/* 80341E10 0033ED70 7C 05 00 2E */ lwzx r0, r5, r0 -/* 80341E14 0033ED74 48 00 00 08 */ b lbl_80341E1C -lbl_80341E18: -/* 80341E18 0033ED78 38 00 00 00 */ li r0, 0 -lbl_80341E1C: -/* 80341E1C 0033ED7C 55 04 10 3A */ slwi r4, r8, 2 -lbl_80341E20: -/* 80341E20 0033ED80 80 BE 00 0C */ lwz r5, 0xc(r30) -/* 80341E24 0033ED84 34 E7 FF FF */ addic. r7, r7, -1 -/* 80341E28 0033ED88 39 08 00 01 */ addi r8, r8, 1 -/* 80341E2C 0033ED8C 7C 05 21 2E */ stwx r0, r5, r4 -/* 80341E30 0033ED90 38 84 00 04 */ addi r4, r4, 4 -/* 80341E34 0033ED94 40 82 FF EC */ bne lbl_80341E20 -/* 80341E38 0033ED98 91 1E 00 08 */ stw r8, 8(r30) -lbl_80341E3C: -/* 80341E3C 0033ED9C 80 9E 00 04 */ lwz r4, 4(r30) -/* 80341E40 0033EDA0 80 1E 00 08 */ lwz r0, 8(r30) -/* 80341E44 0033EDA4 54 86 06 FE */ clrlwi r6, r4, 0x1b -/* 80341E48 0033EDA8 54 85 DE FE */ rlwinm r5, r4, 0x1b, 0x1b, 0x1f -/* 80341E4C 0033EDAC 7C A6 2A 14 */ add r5, r6, r5 -/* 80341E50 0033EDB0 38 A5 01 02 */ addi r5, r5, 0x102 -/* 80341E54 0033EDB4 7C 00 28 40 */ cmplw r0, r5 -/* 80341E58 0033EDB8 41 80 FD 70 */ blt lbl_80341BC8 -/* 80341E5C 0033EDBC 38 00 00 00 */ li r0, 0 -/* 80341E60 0033EDC0 38 60 00 09 */ li r3, 9 -/* 80341E64 0033EDC4 90 1E 00 14 */ stw r0, 0x14(r30) -/* 80341E68 0033EDC8 38 00 00 06 */ li r0, 6 -/* 80341E6C 0033EDCC 38 C1 00 1C */ addi r6, r1, 0x1c -/* 80341E70 0033EDD0 38 E1 00 18 */ addi r7, r1, 0x18 -/* 80341E74 0033EDD4 90 61 00 1C */ stw r3, 0x1c(r1) -/* 80341E78 0033EDD8 39 01 00 14 */ addi r8, r1, 0x14 -/* 80341E7C 0033EDDC 39 21 00 10 */ addi r9, r1, 0x10 -/* 80341E80 0033EDE0 90 01 00 18 */ stw r0, 0x18(r1) -/* 80341E84 0033EDE4 80 1E 00 04 */ lwz r0, 4(r30) -/* 80341E88 0033EDE8 93 E1 00 08 */ stw r31, 8(r1) -/* 80341E8C 0033EDEC 54 03 06 FE */ clrlwi r3, r0, 0x1b -/* 80341E90 0033EDF0 54 04 DE FE */ rlwinm r4, r0, 0x1b, 0x1b, 0x1f -/* 80341E94 0033EDF4 80 BE 00 0C */ lwz r5, 0xc(r30) -/* 80341E98 0033EDF8 38 63 01 01 */ addi r3, r3, 0x101 -/* 80341E9C 0033EDFC 81 5E 00 24 */ lwz r10, 0x24(r30) -/* 80341EA0 0033EE00 38 84 00 01 */ addi r4, r4, 1 -/* 80341EA4 0033EE04 48 00 1D 4D */ bl inflate_trees_dynamic -/* 80341EA8 0033EE08 81 9F 00 24 */ lwz r12, 0x24(r31) -/* 80341EAC 0033EE0C 7C 77 1B 78 */ mr r23, r3 -/* 80341EB0 0033EE10 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 80341EB4 0033EE14 80 9E 00 0C */ lwz r4, 0xc(r30) -/* 80341EB8 0033EE18 7D 89 03 A6 */ mtctr r12 -/* 80341EBC 0033EE1C 4E 80 04 21 */ bctrl -/* 80341EC0 0033EE20 28 17 00 00 */ cmplwi r23, 0 -/* 80341EC4 0033EE24 41 82 00 54 */ beq lbl_80341F18 -/* 80341EC8 0033EE28 3C 17 00 01 */ addis r0, r23, 1 -/* 80341ECC 0033EE2C 28 00 FF FD */ cmplwi r0, 0xfffd -/* 80341ED0 0033EE30 40 82 00 0C */ bne lbl_80341EDC -/* 80341ED4 0033EE34 38 00 00 09 */ li r0, 9 -/* 80341ED8 0033EE38 90 1E 00 00 */ stw r0, 0(r30) -lbl_80341EDC: -/* 80341EDC 0033EE3C 93 9E 00 20 */ stw r28, 0x20(r30) -/* 80341EE0 0033EE40 7F C3 F3 78 */ mr r3, r30 -/* 80341EE4 0033EE44 7F E4 FB 78 */ mr r4, r31 -/* 80341EE8 0033EE48 7E E5 BB 78 */ mr r5, r23 -/* 80341EEC 0033EE4C 93 7E 00 1C */ stw r27, 0x1c(r30) -/* 80341EF0 0033EE50 93 3F 00 04 */ stw r25, 4(r31) -/* 80341EF4 0033EE54 80 1F 00 00 */ lwz r0, 0(r31) -/* 80341EF8 0033EE58 80 DF 00 08 */ lwz r6, 8(r31) -/* 80341EFC 0033EE5C 7C 00 D0 50 */ subf r0, r0, r26 -/* 80341F00 0033EE60 7C 06 02 14 */ add r0, r6, r0 -/* 80341F04 0033EE64 90 1F 00 08 */ stw r0, 8(r31) -/* 80341F08 0033EE68 93 5F 00 00 */ stw r26, 0(r31) -/* 80341F0C 0033EE6C 93 1E 00 34 */ stw r24, 0x34(r30) -/* 80341F10 0033EE70 48 00 24 FD */ bl inflate_flush -/* 80341F14 0033EE74 48 00 02 44 */ b lbl_80342158 -lbl_80341F18: -/* 80341F18 0033EE78 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 80341F1C 0033EE7C 7F E7 FB 78 */ mr r7, r31 -/* 80341F20 0033EE80 80 81 00 18 */ lwz r4, 0x18(r1) -/* 80341F24 0033EE84 80 A1 00 14 */ lwz r5, 0x14(r1) -/* 80341F28 0033EE88 80 C1 00 10 */ lwz r6, 0x10(r1) -/* 80341F2C 0033EE8C 48 00 0E 15 */ bl inflate_codes_new -/* 80341F30 0033EE90 28 03 00 00 */ cmplwi r3, 0 -/* 80341F34 0033EE94 40 82 00 40 */ bne lbl_80341F74 -/* 80341F38 0033EE98 93 9E 00 20 */ stw r28, 0x20(r30) -/* 80341F3C 0033EE9C 7F C3 F3 78 */ mr r3, r30 -/* 80341F40 0033EEA0 7F E4 FB 78 */ mr r4, r31 -/* 80341F44 0033EEA4 38 A0 FF FC */ li r5, -4 -/* 80341F48 0033EEA8 93 7E 00 1C */ stw r27, 0x1c(r30) -/* 80341F4C 0033EEAC 93 3F 00 04 */ stw r25, 4(r31) -/* 80341F50 0033EEB0 80 1F 00 00 */ lwz r0, 0(r31) -/* 80341F54 0033EEB4 80 DF 00 08 */ lwz r6, 8(r31) -/* 80341F58 0033EEB8 7C 00 D0 50 */ subf r0, r0, r26 -/* 80341F5C 0033EEBC 7C 06 02 14 */ add r0, r6, r0 -/* 80341F60 0033EEC0 90 1F 00 08 */ stw r0, 8(r31) -/* 80341F64 0033EEC4 93 5F 00 00 */ stw r26, 0(r31) -/* 80341F68 0033EEC8 93 1E 00 34 */ stw r24, 0x34(r30) -/* 80341F6C 0033EECC 48 00 24 A1 */ bl inflate_flush -/* 80341F70 0033EED0 48 00 01 E8 */ b lbl_80342158 -lbl_80341F74: -/* 80341F74 0033EED4 90 7E 00 04 */ stw r3, 4(r30) -/* 80341F78 0033EED8 38 00 00 06 */ li r0, 6 -/* 80341F7C 0033EEDC 90 1E 00 00 */ stw r0, 0(r30) -/* 80341F80 0033EEE0 93 9E 00 20 */ stw r28, 0x20(r30) -/* 80341F84 0033EEE4 7F C3 F3 78 */ mr r3, r30 -/* 80341F88 0033EEE8 7F E4 FB 78 */ mr r4, r31 -/* 80341F8C 0033EEEC 7E C5 B3 78 */ mr r5, r22 -/* 80341F90 0033EEF0 93 7E 00 1C */ stw r27, 0x1c(r30) -/* 80341F94 0033EEF4 93 3F 00 04 */ stw r25, 4(r31) -/* 80341F98 0033EEF8 80 1F 00 00 */ lwz r0, 0(r31) -/* 80341F9C 0033EEFC 80 DF 00 08 */ lwz r6, 8(r31) -/* 80341FA0 0033EF00 7C 00 D0 50 */ subf r0, r0, r26 -/* 80341FA4 0033EF04 7C 06 02 14 */ add r0, r6, r0 -/* 80341FA8 0033EF08 90 1F 00 08 */ stw r0, 8(r31) -/* 80341FAC 0033EF0C 93 5F 00 00 */ stw r26, 0(r31) -/* 80341FB0 0033EF10 93 1E 00 34 */ stw r24, 0x34(r30) -/* 80341FB4 0033EF14 48 00 04 55 */ bl inflate_codes -/* 80341FB8 0033EF18 7C 65 1B 78 */ mr r5, r3 -/* 80341FBC 0033EF1C 2C 05 00 01 */ cmpwi r5, 1 -/* 80341FC0 0033EF20 41 82 00 14 */ beq lbl_80341FD4 -/* 80341FC4 0033EF24 7F C3 F3 78 */ mr r3, r30 -/* 80341FC8 0033EF28 7F E4 FB 78 */ mr r4, r31 -/* 80341FCC 0033EF2C 48 00 24 41 */ bl inflate_flush -/* 80341FD0 0033EF30 48 00 01 88 */ b lbl_80342158 -lbl_80341FD4: -/* 80341FD4 0033EF34 80 7E 00 04 */ lwz r3, 4(r30) -/* 80341FD8 0033EF38 7F E4 FB 78 */ mr r4, r31 -/* 80341FDC 0033EF3C 3A C0 00 00 */ li r22, 0 -/* 80341FE0 0033EF40 48 00 03 F5 */ bl inflate_codes_free -/* 80341FE4 0033EF44 83 1E 00 34 */ lwz r24, 0x34(r30) -/* 80341FE8 0033EF48 80 1E 00 30 */ lwz r0, 0x30(r30) -/* 80341FEC 0033EF4C 83 5F 00 00 */ lwz r26, 0(r31) -/* 80341FF0 0033EF50 7C 18 00 40 */ cmplw r24, r0 -/* 80341FF4 0033EF54 83 3F 00 04 */ lwz r25, 4(r31) -/* 80341FF8 0033EF58 83 9E 00 20 */ lwz r28, 0x20(r30) -/* 80341FFC 0033EF5C 83 7E 00 1C */ lwz r27, 0x1c(r30) -/* 80342000 0033EF60 40 80 00 10 */ bge lbl_80342010 -/* 80342004 0033EF64 7C 78 00 50 */ subf r3, r24, r0 -/* 80342008 0033EF68 38 63 FF FF */ addi r3, r3, -1 -/* 8034200C 0033EF6C 48 00 00 0C */ b lbl_80342018 -lbl_80342010: -/* 80342010 0033EF70 80 1E 00 2C */ lwz r0, 0x2c(r30) -/* 80342014 0033EF74 7C 78 00 50 */ subf r3, r24, r0 -lbl_80342018: -/* 80342018 0033EF78 80 1E 00 18 */ lwz r0, 0x18(r30) -/* 8034201C 0033EF7C 7C 77 1B 78 */ mr r23, r3 -/* 80342020 0033EF80 28 00 00 00 */ cmplwi r0, 0 -/* 80342024 0033EF84 40 82 00 10 */ bne lbl_80342034 -/* 80342028 0033EF88 38 00 00 00 */ li r0, 0 -/* 8034202C 0033EF8C 90 1E 00 00 */ stw r0, 0(r30) -/* 80342030 0033EF90 4B FF F3 C8 */ b lbl_803413F8 -lbl_80342034: -/* 80342034 0033EF94 38 00 00 07 */ li r0, 7 -/* 80342038 0033EF98 90 1E 00 00 */ stw r0, 0(r30) -/* 8034203C 0033EF9C 93 1E 00 34 */ stw r24, 0x34(r30) -/* 80342040 0033EFA0 7F C3 F3 78 */ mr r3, r30 -/* 80342044 0033EFA4 7F E4 FB 78 */ mr r4, r31 -/* 80342048 0033EFA8 7E C5 B3 78 */ mr r5, r22 -/* 8034204C 0033EFAC 48 00 23 C1 */ bl inflate_flush -/* 80342050 0033EFB0 80 FE 00 34 */ lwz r7, 0x34(r30) -/* 80342054 0033EFB4 7C 65 1B 78 */ mr r5, r3 -/* 80342058 0033EFB8 80 1E 00 30 */ lwz r0, 0x30(r30) -/* 8034205C 0033EFBC 7C F8 3B 78 */ mr r24, r7 -/* 80342060 0033EFC0 7C 00 38 40 */ cmplw r0, r7 -/* 80342064 0033EFC4 41 82 00 3C */ beq lbl_803420A0 -/* 80342068 0033EFC8 93 9E 00 20 */ stw r28, 0x20(r30) -/* 8034206C 0033EFCC 7F C3 F3 78 */ mr r3, r30 -/* 80342070 0033EFD0 7F E4 FB 78 */ mr r4, r31 -/* 80342074 0033EFD4 93 7E 00 1C */ stw r27, 0x1c(r30) -/* 80342078 0033EFD8 93 3F 00 04 */ stw r25, 4(r31) -/* 8034207C 0033EFDC 80 1F 00 00 */ lwz r0, 0(r31) -/* 80342080 0033EFE0 80 DF 00 08 */ lwz r6, 8(r31) -/* 80342084 0033EFE4 7C 00 D0 50 */ subf r0, r0, r26 -/* 80342088 0033EFE8 7C 06 02 14 */ add r0, r6, r0 -/* 8034208C 0033EFEC 90 1F 00 08 */ stw r0, 8(r31) -/* 80342090 0033EFF0 93 5F 00 00 */ stw r26, 0(r31) -/* 80342094 0033EFF4 90 FE 00 34 */ stw r7, 0x34(r30) -/* 80342098 0033EFF8 48 00 23 75 */ bl inflate_flush -/* 8034209C 0033EFFC 48 00 00 BC */ b lbl_80342158 -lbl_803420A0: -/* 803420A0 0033F000 38 00 00 08 */ li r0, 8 -/* 803420A4 0033F004 90 1E 00 00 */ stw r0, 0(r30) -/* 803420A8 0033F008 93 9E 00 20 */ stw r28, 0x20(r30) -/* 803420AC 0033F00C 7F C3 F3 78 */ mr r3, r30 -/* 803420B0 0033F010 7F E4 FB 78 */ mr r4, r31 -/* 803420B4 0033F014 38 A0 00 01 */ li r5, 1 -/* 803420B8 0033F018 93 7E 00 1C */ stw r27, 0x1c(r30) -/* 803420BC 0033F01C 93 3F 00 04 */ stw r25, 4(r31) -/* 803420C0 0033F020 80 1F 00 00 */ lwz r0, 0(r31) -/* 803420C4 0033F024 80 DF 00 08 */ lwz r6, 8(r31) -/* 803420C8 0033F028 7C 00 D0 50 */ subf r0, r0, r26 -/* 803420CC 0033F02C 7C 06 02 14 */ add r0, r6, r0 -/* 803420D0 0033F030 90 1F 00 08 */ stw r0, 8(r31) -/* 803420D4 0033F034 93 5F 00 00 */ stw r26, 0(r31) -/* 803420D8 0033F038 93 1E 00 34 */ stw r24, 0x34(r30) -/* 803420DC 0033F03C 48 00 23 31 */ bl inflate_flush -/* 803420E0 0033F040 48 00 00 78 */ b lbl_80342158 -/* 803420E4 0033F044 93 9E 00 20 */ stw r28, 0x20(r30) -/* 803420E8 0033F048 7F C3 F3 78 */ mr r3, r30 -/* 803420EC 0033F04C 7F E4 FB 78 */ mr r4, r31 -/* 803420F0 0033F050 38 A0 FF FD */ li r5, -3 -/* 803420F4 0033F054 93 7E 00 1C */ stw r27, 0x1c(r30) -/* 803420F8 0033F058 93 3F 00 04 */ stw r25, 4(r31) -/* 803420FC 0033F05C 80 1F 00 00 */ lwz r0, 0(r31) -/* 80342100 0033F060 80 DF 00 08 */ lwz r6, 8(r31) -/* 80342104 0033F064 7C 00 D0 50 */ subf r0, r0, r26 -/* 80342108 0033F068 7C 06 02 14 */ add r0, r6, r0 -/* 8034210C 0033F06C 90 1F 00 08 */ stw r0, 8(r31) -/* 80342110 0033F070 93 5F 00 00 */ stw r26, 0(r31) -/* 80342114 0033F074 93 1E 00 34 */ stw r24, 0x34(r30) -/* 80342118 0033F078 48 00 22 F5 */ bl inflate_flush -/* 8034211C 0033F07C 48 00 00 3C */ b lbl_80342158 -lbl_80342120: -/* 80342120 0033F080 93 9E 00 20 */ stw r28, 0x20(r30) -/* 80342124 0033F084 7F C3 F3 78 */ mr r3, r30 -/* 80342128 0033F088 7F E4 FB 78 */ mr r4, r31 -/* 8034212C 0033F08C 38 A0 FF FE */ li r5, -2 -/* 80342130 0033F090 93 7E 00 1C */ stw r27, 0x1c(r30) -/* 80342134 0033F094 93 3F 00 04 */ stw r25, 4(r31) -/* 80342138 0033F098 80 1F 00 00 */ lwz r0, 0(r31) -/* 8034213C 0033F09C 80 DF 00 08 */ lwz r6, 8(r31) -/* 80342140 0033F0A0 7C 00 D0 50 */ subf r0, r0, r26 -/* 80342144 0033F0A4 7C 06 02 14 */ add r0, r6, r0 -/* 80342148 0033F0A8 90 1F 00 08 */ stw r0, 8(r31) -/* 8034214C 0033F0AC 93 5F 00 00 */ stw r26, 0(r31) -/* 80342150 0033F0B0 93 1E 00 34 */ stw r24, 0x34(r30) -/* 80342154 0033F0B4 48 00 22 B9 */ bl inflate_flush -lbl_80342158: -/* 80342158 0033F0B8 BA A1 00 34 */ lmw r21, 0x34(r1) -/* 8034215C 0033F0BC 80 01 00 64 */ lwz r0, 0x64(r1) -/* 80342160 0033F0C0 7C 08 03 A6 */ mtlr r0 -/* 80342164 0033F0C4 38 21 00 60 */ addi r1, r1, 0x60 -/* 80342168 0033F0C8 4E 80 00 20 */ blr - -.global inflate_blocks_new -inflate_blocks_new: -/* 8034216C 0033F0CC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80342170 0033F0D0 7C 08 02 A6 */ mflr r0 -/* 80342174 0033F0D4 90 01 00 24 */ stw r0, 0x24(r1) -/* 80342178 0033F0D8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8034217C 0033F0DC 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80342180 0033F0E0 7C BE 2B 78 */ mr r30, r5 -/* 80342184 0033F0E4 38 A0 00 40 */ li r5, 0x40 -/* 80342188 0033F0E8 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8034218C 0033F0EC 7C 9D 23 78 */ mr r29, r4 -/* 80342190 0033F0F0 38 80 00 01 */ li r4, 1 -/* 80342194 0033F0F4 93 81 00 10 */ stw r28, 0x10(r1) -/* 80342198 0033F0F8 7C 7C 1B 78 */ mr r28, r3 -/* 8034219C 0033F0FC 81 83 00 20 */ lwz r12, 0x20(r3) -/* 803421A0 0033F100 80 63 00 28 */ lwz r3, 0x28(r3) -/* 803421A4 0033F104 7D 89 03 A6 */ mtctr r12 -/* 803421A8 0033F108 4E 80 04 21 */ bctrl -/* 803421AC 0033F10C 7C 7F 1B 79 */ or. r31, r3, r3 -/* 803421B0 0033F110 40 82 00 08 */ bne lbl_803421B8 -/* 803421B4 0033F114 48 00 01 38 */ b lbl_803422EC -lbl_803421B8: -/* 803421B8 0033F118 81 9C 00 20 */ lwz r12, 0x20(r28) -/* 803421BC 0033F11C 38 80 00 08 */ li r4, 8 -/* 803421C0 0033F120 80 7C 00 28 */ lwz r3, 0x28(r28) -/* 803421C4 0033F124 38 A0 05 A0 */ li r5, 0x5a0 -/* 803421C8 0033F128 7D 89 03 A6 */ mtctr r12 -/* 803421CC 0033F12C 4E 80 04 21 */ bctrl -/* 803421D0 0033F130 28 03 00 00 */ cmplwi r3, 0 -/* 803421D4 0033F134 90 7F 00 24 */ stw r3, 0x24(r31) -/* 803421D8 0033F138 40 82 00 20 */ bne lbl_803421F8 -/* 803421DC 0033F13C 81 9C 00 24 */ lwz r12, 0x24(r28) -/* 803421E0 0033F140 7F E4 FB 78 */ mr r4, r31 -/* 803421E4 0033F144 80 7C 00 28 */ lwz r3, 0x28(r28) -/* 803421E8 0033F148 7D 89 03 A6 */ mtctr r12 -/* 803421EC 0033F14C 4E 80 04 21 */ bctrl -/* 803421F0 0033F150 38 60 00 00 */ li r3, 0 -/* 803421F4 0033F154 48 00 00 F8 */ b lbl_803422EC -lbl_803421F8: -/* 803421F8 0033F158 81 9C 00 20 */ lwz r12, 0x20(r28) -/* 803421FC 0033F15C 7F C5 F3 78 */ mr r5, r30 -/* 80342200 0033F160 80 7C 00 28 */ lwz r3, 0x28(r28) -/* 80342204 0033F164 38 80 00 01 */ li r4, 1 -/* 80342208 0033F168 7D 89 03 A6 */ mtctr r12 -/* 8034220C 0033F16C 4E 80 04 21 */ bctrl -/* 80342210 0033F170 28 03 00 00 */ cmplwi r3, 0 -/* 80342214 0033F174 90 7F 00 28 */ stw r3, 0x28(r31) -/* 80342218 0033F178 40 82 00 34 */ bne lbl_8034224C -/* 8034221C 0033F17C 81 9C 00 24 */ lwz r12, 0x24(r28) -/* 80342220 0033F180 80 7C 00 28 */ lwz r3, 0x28(r28) -/* 80342224 0033F184 80 9F 00 24 */ lwz r4, 0x24(r31) -/* 80342228 0033F188 7D 89 03 A6 */ mtctr r12 -/* 8034222C 0033F18C 4E 80 04 21 */ bctrl -/* 80342230 0033F190 81 9C 00 24 */ lwz r12, 0x24(r28) -/* 80342234 0033F194 7F E4 FB 78 */ mr r4, r31 -/* 80342238 0033F198 80 7C 00 28 */ lwz r3, 0x28(r28) -/* 8034223C 0033F19C 7D 89 03 A6 */ mtctr r12 -/* 80342240 0033F1A0 4E 80 04 21 */ bctrl -/* 80342244 0033F1A4 38 60 00 00 */ li r3, 0 -/* 80342248 0033F1A8 48 00 00 A4 */ b lbl_803422EC -lbl_8034224C: -/* 8034224C 0033F1AC 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 80342250 0033F1B0 38 00 00 00 */ li r0, 0 -/* 80342254 0033F1B4 7C 63 F2 14 */ add r3, r3, r30 -/* 80342258 0033F1B8 90 7F 00 2C */ stw r3, 0x2c(r31) -/* 8034225C 0033F1BC 93 BF 00 38 */ stw r29, 0x38(r31) -/* 80342260 0033F1C0 90 1F 00 00 */ stw r0, 0(r31) -/* 80342264 0033F1C4 80 1F 00 00 */ lwz r0, 0(r31) -/* 80342268 0033F1C8 2C 00 00 04 */ cmpwi r0, 4 -/* 8034226C 0033F1CC 41 82 00 0C */ beq lbl_80342278 -/* 80342270 0033F1D0 2C 00 00 05 */ cmpwi r0, 5 -/* 80342274 0033F1D4 40 82 00 18 */ bne lbl_8034228C -lbl_80342278: -/* 80342278 0033F1D8 81 9C 00 24 */ lwz r12, 0x24(r28) -/* 8034227C 0033F1DC 80 7C 00 28 */ lwz r3, 0x28(r28) -/* 80342280 0033F1E0 80 9F 00 0C */ lwz r4, 0xc(r31) -/* 80342284 0033F1E4 7D 89 03 A6 */ mtctr r12 -/* 80342288 0033F1E8 4E 80 04 21 */ bctrl -lbl_8034228C: -/* 8034228C 0033F1EC 80 1F 00 00 */ lwz r0, 0(r31) -/* 80342290 0033F1F0 2C 00 00 06 */ cmpwi r0, 6 -/* 80342294 0033F1F4 40 82 00 10 */ bne lbl_803422A4 -/* 80342298 0033F1F8 80 7F 00 04 */ lwz r3, 4(r31) -/* 8034229C 0033F1FC 7F 84 E3 78 */ mr r4, r28 -/* 803422A0 0033F200 48 00 01 35 */ bl inflate_codes_free -lbl_803422A4: -/* 803422A4 0033F204 38 00 00 00 */ li r0, 0 -/* 803422A8 0033F208 90 1F 00 00 */ stw r0, 0(r31) -/* 803422AC 0033F20C 90 1F 00 1C */ stw r0, 0x1c(r31) -/* 803422B0 0033F210 90 1F 00 20 */ stw r0, 0x20(r31) -/* 803422B4 0033F214 80 1F 00 28 */ lwz r0, 0x28(r31) -/* 803422B8 0033F218 90 1F 00 34 */ stw r0, 0x34(r31) -/* 803422BC 0033F21C 90 1F 00 30 */ stw r0, 0x30(r31) -/* 803422C0 0033F220 81 9F 00 38 */ lwz r12, 0x38(r31) -/* 803422C4 0033F224 28 0C 00 00 */ cmplwi r12, 0 -/* 803422C8 0033F228 41 82 00 20 */ beq lbl_803422E8 -/* 803422CC 0033F22C 38 60 00 00 */ li r3, 0 -/* 803422D0 0033F230 38 80 00 00 */ li r4, 0 -/* 803422D4 0033F234 38 A0 00 00 */ li r5, 0 -/* 803422D8 0033F238 7D 89 03 A6 */ mtctr r12 -/* 803422DC 0033F23C 4E 80 04 21 */ bctrl -/* 803422E0 0033F240 90 7F 00 3C */ stw r3, 0x3c(r31) -/* 803422E4 0033F244 90 7C 00 30 */ stw r3, 0x30(r28) -lbl_803422E8: -/* 803422E8 0033F248 7F E3 FB 78 */ mr r3, r31 -lbl_803422EC: -/* 803422EC 0033F24C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 803422F0 0033F250 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 803422F4 0033F254 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 803422F8 0033F258 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 803422FC 0033F25C 83 81 00 10 */ lwz r28, 0x10(r1) -/* 80342300 0033F260 7C 08 03 A6 */ mtlr r0 -/* 80342304 0033F264 38 21 00 20 */ addi r1, r1, 0x20 -/* 80342308 0033F268 4E 80 00 20 */ blr - -.global inflate_blocks_reset -inflate_blocks_reset: -/* 8034230C 0033F26C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80342310 0033F270 7C 08 02 A6 */ mflr r0 -/* 80342314 0033F274 28 05 00 00 */ cmplwi r5, 0 -/* 80342318 0033F278 90 01 00 14 */ stw r0, 0x14(r1) -/* 8034231C 0033F27C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80342320 0033F280 7C 9F 23 78 */ mr r31, r4 -/* 80342324 0033F284 93 C1 00 08 */ stw r30, 8(r1) -/* 80342328 0033F288 7C 7E 1B 78 */ mr r30, r3 -/* 8034232C 0033F28C 41 82 00 0C */ beq lbl_80342338 -/* 80342330 0033F290 80 1E 00 3C */ lwz r0, 0x3c(r30) -/* 80342334 0033F294 90 05 00 00 */ stw r0, 0(r5) -lbl_80342338: -/* 80342338 0033F298 80 1E 00 00 */ lwz r0, 0(r30) -/* 8034233C 0033F29C 2C 00 00 04 */ cmpwi r0, 4 -/* 80342340 0033F2A0 41 82 00 0C */ beq lbl_8034234C -/* 80342344 0033F2A4 2C 00 00 05 */ cmpwi r0, 5 -/* 80342348 0033F2A8 40 82 00 18 */ bne lbl_80342360 -lbl_8034234C: -/* 8034234C 0033F2AC 81 9F 00 24 */ lwz r12, 0x24(r31) -/* 80342350 0033F2B0 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 80342354 0033F2B4 80 9E 00 0C */ lwz r4, 0xc(r30) -/* 80342358 0033F2B8 7D 89 03 A6 */ mtctr r12 -/* 8034235C 0033F2BC 4E 80 04 21 */ bctrl -lbl_80342360: -/* 80342360 0033F2C0 80 1E 00 00 */ lwz r0, 0(r30) -/* 80342364 0033F2C4 2C 00 00 06 */ cmpwi r0, 6 -/* 80342368 0033F2C8 40 82 00 10 */ bne lbl_80342378 -/* 8034236C 0033F2CC 80 7E 00 04 */ lwz r3, 4(r30) -/* 80342370 0033F2D0 7F E4 FB 78 */ mr r4, r31 -/* 80342374 0033F2D4 48 00 00 61 */ bl inflate_codes_free -lbl_80342378: -/* 80342378 0033F2D8 38 00 00 00 */ li r0, 0 -/* 8034237C 0033F2DC 90 1E 00 00 */ stw r0, 0(r30) -/* 80342380 0033F2E0 90 1E 00 1C */ stw r0, 0x1c(r30) -/* 80342384 0033F2E4 90 1E 00 20 */ stw r0, 0x20(r30) -/* 80342388 0033F2E8 80 1E 00 28 */ lwz r0, 0x28(r30) -/* 8034238C 0033F2EC 90 1E 00 34 */ stw r0, 0x34(r30) -/* 80342390 0033F2F0 90 1E 00 30 */ stw r0, 0x30(r30) -/* 80342394 0033F2F4 81 9E 00 38 */ lwz r12, 0x38(r30) -/* 80342398 0033F2F8 28 0C 00 00 */ cmplwi r12, 0 -/* 8034239C 0033F2FC 41 82 00 20 */ beq lbl_803423BC -/* 803423A0 0033F300 38 60 00 00 */ li r3, 0 -/* 803423A4 0033F304 38 80 00 00 */ li r4, 0 -/* 803423A8 0033F308 38 A0 00 00 */ li r5, 0 -/* 803423AC 0033F30C 7D 89 03 A6 */ mtctr r12 -/* 803423B0 0033F310 4E 80 04 21 */ bctrl -/* 803423B4 0033F314 90 7E 00 3C */ stw r3, 0x3c(r30) -/* 803423B8 0033F318 90 7F 00 30 */ stw r3, 0x30(r31) -lbl_803423BC: -/* 803423BC 0033F31C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803423C0 0033F320 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 803423C4 0033F324 83 C1 00 08 */ lwz r30, 8(r1) -/* 803423C8 0033F328 7C 08 03 A6 */ mtlr r0 -/* 803423CC 0033F32C 38 21 00 10 */ addi r1, r1, 0x10 -/* 803423D0 0033F330 4E 80 00 20 */ blr - -.global inflate_codes_free -inflate_codes_free: -/* 803423D4 0033F334 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803423D8 0033F338 7C 08 02 A6 */ mflr r0 -/* 803423DC 0033F33C 7C 85 23 78 */ mr r5, r4 -/* 803423E0 0033F340 90 01 00 14 */ stw r0, 0x14(r1) -/* 803423E4 0033F344 81 84 00 24 */ lwz r12, 0x24(r4) -/* 803423E8 0033F348 7C 64 1B 78 */ mr r4, r3 -/* 803423EC 0033F34C 80 65 00 28 */ lwz r3, 0x28(r5) -/* 803423F0 0033F350 7D 89 03 A6 */ mtctr r12 -/* 803423F4 0033F354 4E 80 04 21 */ bctrl -/* 803423F8 0033F358 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803423FC 0033F35C 7C 08 03 A6 */ mtlr r0 -/* 80342400 0033F360 38 21 00 10 */ addi r1, r1, 0x10 -/* 80342404 0033F364 4E 80 00 20 */ blr - -.global inflate_codes -inflate_codes: -/* 80342408 0033F368 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8034240C 0033F36C 7C 08 02 A6 */ mflr r0 -/* 80342410 0033F370 90 01 00 34 */ stw r0, 0x34(r1) -/* 80342414 0033F374 BE E1 00 0C */ stmw r23, 0xc(r1) -/* 80342418 0033F378 7C 77 1B 78 */ mr r23, r3 -/* 8034241C 0033F37C 7C 98 23 78 */ mr r24, r4 -/* 80342420 0033F380 80 C3 00 34 */ lwz r6, 0x34(r3) -/* 80342424 0033F384 80 03 00 30 */ lwz r0, 0x30(r3) -/* 80342428 0033F388 83 23 00 04 */ lwz r25, 4(r3) -/* 8034242C 0033F38C 7C 06 00 40 */ cmplw r6, r0 -/* 80342430 0033F390 83 84 00 00 */ lwz r28, 0(r4) -/* 80342434 0033F394 83 64 00 04 */ lwz r27, 4(r4) -/* 80342438 0033F398 83 C3 00 20 */ lwz r30, 0x20(r3) -/* 8034243C 0033F39C 83 A3 00 1C */ lwz r29, 0x1c(r3) -/* 80342440 0033F3A0 40 80 00 10 */ bge lbl_80342450 -/* 80342444 0033F3A4 7C 66 00 50 */ subf r3, r6, r0 -/* 80342448 0033F3A8 38 03 FF FF */ addi r0, r3, -1 -/* 8034244C 0033F3AC 48 00 00 0C */ b lbl_80342458 -lbl_80342450: -/* 80342450 0033F3B0 80 17 00 2C */ lwz r0, 0x2c(r23) -/* 80342454 0033F3B4 7C 06 00 50 */ subf r0, r6, r0 -lbl_80342458: -/* 80342458 0033F3B8 3C 80 80 3F */ lis r4, lbl_803EE468@ha -/* 8034245C 0033F3BC 7C 03 03 78 */ mr r3, r0 -/* 80342460 0033F3C0 3B E4 E4 68 */ addi r31, r4, lbl_803EE468@l -lbl_80342464: -/* 80342464 0033F3C4 80 19 00 00 */ lwz r0, 0(r25) -/* 80342468 0033F3C8 28 00 00 09 */ cmplwi r0, 9 -/* 8034246C 0033F3CC 41 81 08 88 */ bgt lbl_80342CF4 -/* 80342470 0033F3D0 54 00 10 3A */ slwi r0, r0, 2 -/* 80342474 0033F3D4 7C 1F 00 2E */ lwzx r0, r31, r0 -/* 80342478 0033F3D8 7C 09 03 A6 */ mtctr r0 -/* 8034247C 0033F3DC 4E 80 04 20 */ bctr -/* 80342480 0033F3E0 28 03 01 02 */ cmplwi r3, 0x102 -/* 80342484 0033F3E4 41 80 00 AC */ blt lbl_80342530 -/* 80342488 0033F3E8 28 1B 00 0A */ cmplwi r27, 0xa -/* 8034248C 0033F3EC 41 80 00 A4 */ blt lbl_80342530 -/* 80342490 0033F3F0 93 D7 00 20 */ stw r30, 0x20(r23) -/* 80342494 0033F3F4 7E E7 BB 78 */ mr r7, r23 -/* 80342498 0033F3F8 7F 08 C3 78 */ mr r8, r24 -/* 8034249C 0033F3FC 93 B7 00 1C */ stw r29, 0x1c(r23) -/* 803424A0 0033F400 93 78 00 04 */ stw r27, 4(r24) -/* 803424A4 0033F404 80 18 00 00 */ lwz r0, 0(r24) -/* 803424A8 0033F408 80 78 00 08 */ lwz r3, 8(r24) -/* 803424AC 0033F40C 7C 00 E0 50 */ subf r0, r0, r28 -/* 803424B0 0033F410 7C 03 02 14 */ add r0, r3, r0 -/* 803424B4 0033F414 90 18 00 08 */ stw r0, 8(r24) -/* 803424B8 0033F418 93 98 00 00 */ stw r28, 0(r24) -/* 803424BC 0033F41C 90 D7 00 34 */ stw r6, 0x34(r23) -/* 803424C0 0033F420 88 79 00 10 */ lbz r3, 0x10(r25) -/* 803424C4 0033F424 88 99 00 11 */ lbz r4, 0x11(r25) -/* 803424C8 0033F428 80 B9 00 14 */ lwz r5, 0x14(r25) -/* 803424CC 0033F42C 80 D9 00 18 */ lwz r6, 0x18(r25) -/* 803424D0 0033F430 48 00 08 F5 */ bl inflate_fast -/* 803424D4 0033F434 80 D7 00 34 */ lwz r6, 0x34(r23) -/* 803424D8 0033F438 7C 65 1B 78 */ mr r5, r3 -/* 803424DC 0033F43C 80 17 00 30 */ lwz r0, 0x30(r23) -/* 803424E0 0033F440 83 98 00 00 */ lwz r28, 0(r24) -/* 803424E4 0033F444 7C 06 00 40 */ cmplw r6, r0 -/* 803424E8 0033F448 83 78 00 04 */ lwz r27, 4(r24) -/* 803424EC 0033F44C 83 D7 00 20 */ lwz r30, 0x20(r23) -/* 803424F0 0033F450 83 B7 00 1C */ lwz r29, 0x1c(r23) -/* 803424F4 0033F454 40 80 00 10 */ bge lbl_80342504 -/* 803424F8 0033F458 7C 66 00 50 */ subf r3, r6, r0 -/* 803424FC 0033F45C 38 03 FF FF */ addi r0, r3, -1 -/* 80342500 0033F460 48 00 00 0C */ b lbl_8034250C -lbl_80342504: -/* 80342504 0033F464 80 17 00 2C */ lwz r0, 0x2c(r23) -/* 80342508 0033F468 7C 06 00 50 */ subf r0, r6, r0 -lbl_8034250C: -/* 8034250C 0033F46C 2C 05 00 00 */ cmpwi r5, 0 -/* 80342510 0033F470 7C 03 03 78 */ mr r3, r0 -/* 80342514 0033F474 41 82 00 1C */ beq lbl_80342530 -/* 80342518 0033F478 2C 05 00 01 */ cmpwi r5, 1 -/* 8034251C 0033F47C 38 00 00 09 */ li r0, 9 -/* 80342520 0033F480 40 82 00 08 */ bne lbl_80342528 -/* 80342524 0033F484 38 00 00 07 */ li r0, 7 -lbl_80342528: -/* 80342528 0033F488 90 19 00 00 */ stw r0, 0(r25) -/* 8034252C 0033F48C 4B FF FF 38 */ b lbl_80342464 -lbl_80342530: -/* 80342530 0033F490 88 99 00 10 */ lbz r4, 0x10(r25) -/* 80342534 0033F494 38 00 00 01 */ li r0, 1 -/* 80342538 0033F498 90 99 00 0C */ stw r4, 0xc(r25) -/* 8034253C 0033F49C 80 99 00 14 */ lwz r4, 0x14(r25) -/* 80342540 0033F4A0 90 99 00 08 */ stw r4, 8(r25) -/* 80342544 0033F4A4 90 19 00 00 */ stw r0, 0(r25) -/* 80342548 0033F4A8 80 F9 00 0C */ lwz r7, 0xc(r25) -/* 8034254C 0033F4AC 38 07 00 07 */ addi r0, r7, 7 -/* 80342550 0033F4B0 7C 1D 00 50 */ subf r0, r29, r0 -/* 80342554 0033F4B4 54 00 E8 FE */ srwi r0, r0, 3 -/* 80342558 0033F4B8 7C 09 03 A6 */ mtctr r0 -/* 8034255C 0033F4BC 7C 1D 38 40 */ cmplw r29, r7 -/* 80342560 0033F4C0 40 80 00 68 */ bge lbl_803425C8 -lbl_80342564: -/* 80342564 0033F4C4 28 1B 00 00 */ cmplwi r27, 0 -/* 80342568 0033F4C8 41 82 00 0C */ beq lbl_80342574 -/* 8034256C 0033F4CC 38 A0 00 00 */ li r5, 0 -/* 80342570 0033F4D0 48 00 00 3C */ b lbl_803425AC -lbl_80342574: -/* 80342574 0033F4D4 93 D7 00 20 */ stw r30, 0x20(r23) -/* 80342578 0033F4D8 7E E3 BB 78 */ mr r3, r23 -/* 8034257C 0033F4DC 7F 04 C3 78 */ mr r4, r24 -/* 80342580 0033F4E0 93 B7 00 1C */ stw r29, 0x1c(r23) -/* 80342584 0033F4E4 93 78 00 04 */ stw r27, 4(r24) -/* 80342588 0033F4E8 80 18 00 00 */ lwz r0, 0(r24) -/* 8034258C 0033F4EC 80 F8 00 08 */ lwz r7, 8(r24) -/* 80342590 0033F4F0 7C 00 E0 50 */ subf r0, r0, r28 -/* 80342594 0033F4F4 7C 07 02 14 */ add r0, r7, r0 -/* 80342598 0033F4F8 90 18 00 08 */ stw r0, 8(r24) -/* 8034259C 0033F4FC 93 98 00 00 */ stw r28, 0(r24) -/* 803425A0 0033F500 90 D7 00 34 */ stw r6, 0x34(r23) -/* 803425A4 0033F504 48 00 1E 69 */ bl inflate_flush -/* 803425A8 0033F508 48 00 07 84 */ b lbl_80342D2C -lbl_803425AC: -/* 803425AC 0033F50C 88 1C 00 00 */ lbz r0, 0(r28) -/* 803425B0 0033F510 3B 7B FF FF */ addi r27, r27, -1 -/* 803425B4 0033F514 3B 9C 00 01 */ addi r28, r28, 1 -/* 803425B8 0033F518 7C 00 E8 30 */ slw r0, r0, r29 -/* 803425BC 0033F51C 3B BD 00 08 */ addi r29, r29, 8 -/* 803425C0 0033F520 7F DE 03 78 */ or r30, r30, r0 -/* 803425C4 0033F524 42 00 FF A0 */ bdnz lbl_80342564 -lbl_803425C8: -/* 803425C8 0033F528 3C 80 80 3F */ lis r4, lbl_803EF5C8@ha -/* 803425CC 0033F52C 54 E0 10 3A */ slwi r0, r7, 2 -/* 803425D0 0033F530 38 84 F5 C8 */ addi r4, r4, lbl_803EF5C8@l -/* 803425D4 0033F534 80 F9 00 08 */ lwz r7, 8(r25) -/* 803425D8 0033F538 7C 04 00 2E */ lwzx r0, r4, r0 -/* 803425DC 0033F53C 7F C0 00 38 */ and r0, r30, r0 -/* 803425E0 0033F540 54 00 18 38 */ slwi r0, r0, 3 -/* 803425E4 0033F544 7C E7 02 14 */ add r7, r7, r0 -/* 803425E8 0033F548 88 87 00 00 */ lbz r4, 0(r7) -/* 803425EC 0033F54C 88 07 00 01 */ lbz r0, 1(r7) -/* 803425F0 0033F550 28 04 00 00 */ cmplwi r4, 0 -/* 803425F4 0033F554 7F DE 04 30 */ srw r30, r30, r0 -/* 803425F8 0033F558 7F A0 E8 50 */ subf r29, r0, r29 -/* 803425FC 0033F55C 40 82 00 18 */ bne lbl_80342614 -/* 80342600 0033F560 80 87 00 04 */ lwz r4, 4(r7) -/* 80342604 0033F564 38 00 00 06 */ li r0, 6 -/* 80342608 0033F568 90 99 00 08 */ stw r4, 8(r25) -/* 8034260C 0033F56C 90 19 00 00 */ stw r0, 0(r25) -/* 80342610 0033F570 4B FF FE 54 */ b lbl_80342464 -lbl_80342614: -/* 80342614 0033F574 54 80 06 F7 */ rlwinm. r0, r4, 0, 0x1b, 0x1b -/* 80342618 0033F578 41 82 00 20 */ beq lbl_80342638 -/* 8034261C 0033F57C 54 84 07 3E */ clrlwi r4, r4, 0x1c -/* 80342620 0033F580 38 00 00 02 */ li r0, 2 -/* 80342624 0033F584 90 99 00 08 */ stw r4, 8(r25) -/* 80342628 0033F588 80 87 00 04 */ lwz r4, 4(r7) -/* 8034262C 0033F58C 90 99 00 04 */ stw r4, 4(r25) -/* 80342630 0033F590 90 19 00 00 */ stw r0, 0(r25) -/* 80342634 0033F594 4B FF FE 30 */ b lbl_80342464 -lbl_80342638: -/* 80342638 0033F598 54 80 06 73 */ rlwinm. r0, r4, 0, 0x19, 0x19 -/* 8034263C 0033F59C 40 82 00 1C */ bne lbl_80342658 -/* 80342640 0033F5A0 90 99 00 0C */ stw r4, 0xc(r25) -/* 80342644 0033F5A4 80 07 00 04 */ lwz r0, 4(r7) -/* 80342648 0033F5A8 54 00 18 38 */ slwi r0, r0, 3 -/* 8034264C 0033F5AC 7C 07 02 14 */ add r0, r7, r0 -/* 80342650 0033F5B0 90 19 00 08 */ stw r0, 8(r25) -/* 80342654 0033F5B4 4B FF FE 10 */ b lbl_80342464 -lbl_80342658: -/* 80342658 0033F5B8 54 80 06 B5 */ rlwinm. r0, r4, 0, 0x1a, 0x1a -/* 8034265C 0033F5BC 41 82 00 10 */ beq lbl_8034266C -/* 80342660 0033F5C0 38 00 00 07 */ li r0, 7 -/* 80342664 0033F5C4 90 19 00 00 */ stw r0, 0(r25) -/* 80342668 0033F5C8 4B FF FD FC */ b lbl_80342464 -lbl_8034266C: -/* 8034266C 0033F5CC 38 00 00 09 */ li r0, 9 -/* 80342670 0033F5D0 3C 60 80 3D */ lis r3, lbl_803D7B68@ha -/* 80342674 0033F5D4 90 19 00 00 */ stw r0, 0(r25) -/* 80342678 0033F5D8 38 03 7B 68 */ addi r0, r3, lbl_803D7B68@l -/* 8034267C 0033F5DC 7E E3 BB 78 */ mr r3, r23 -/* 80342680 0033F5E0 7F 04 C3 78 */ mr r4, r24 -/* 80342684 0033F5E4 90 18 00 18 */ stw r0, 0x18(r24) -/* 80342688 0033F5E8 38 A0 FF FD */ li r5, -3 -/* 8034268C 0033F5EC 93 D7 00 20 */ stw r30, 0x20(r23) -/* 80342690 0033F5F0 93 B7 00 1C */ stw r29, 0x1c(r23) -/* 80342694 0033F5F4 93 78 00 04 */ stw r27, 4(r24) -/* 80342698 0033F5F8 80 18 00 00 */ lwz r0, 0(r24) -/* 8034269C 0033F5FC 80 F8 00 08 */ lwz r7, 8(r24) -/* 803426A0 0033F600 7C 00 E0 50 */ subf r0, r0, r28 -/* 803426A4 0033F604 7C 07 02 14 */ add r0, r7, r0 -/* 803426A8 0033F608 90 18 00 08 */ stw r0, 8(r24) -/* 803426AC 0033F60C 93 98 00 00 */ stw r28, 0(r24) -/* 803426B0 0033F610 90 D7 00 34 */ stw r6, 0x34(r23) -/* 803426B4 0033F614 48 00 1D 59 */ bl inflate_flush -/* 803426B8 0033F618 48 00 06 74 */ b lbl_80342D2C -/* 803426BC 0033F61C 81 19 00 08 */ lwz r8, 8(r25) -/* 803426C0 0033F620 38 08 00 07 */ addi r0, r8, 7 -/* 803426C4 0033F624 7C 1D 00 50 */ subf r0, r29, r0 -/* 803426C8 0033F628 54 00 E8 FE */ srwi r0, r0, 3 -/* 803426CC 0033F62C 7C 09 03 A6 */ mtctr r0 -/* 803426D0 0033F630 7C 1D 40 40 */ cmplw r29, r8 -/* 803426D4 0033F634 40 80 00 68 */ bge lbl_8034273C -lbl_803426D8: -/* 803426D8 0033F638 28 1B 00 00 */ cmplwi r27, 0 -/* 803426DC 0033F63C 41 82 00 0C */ beq lbl_803426E8 -/* 803426E0 0033F640 38 A0 00 00 */ li r5, 0 -/* 803426E4 0033F644 48 00 00 3C */ b lbl_80342720 -lbl_803426E8: -/* 803426E8 0033F648 93 D7 00 20 */ stw r30, 0x20(r23) -/* 803426EC 0033F64C 7E E3 BB 78 */ mr r3, r23 -/* 803426F0 0033F650 7F 04 C3 78 */ mr r4, r24 -/* 803426F4 0033F654 93 B7 00 1C */ stw r29, 0x1c(r23) -/* 803426F8 0033F658 93 78 00 04 */ stw r27, 4(r24) -/* 803426FC 0033F65C 80 18 00 00 */ lwz r0, 0(r24) -/* 80342700 0033F660 80 F8 00 08 */ lwz r7, 8(r24) -/* 80342704 0033F664 7C 00 E0 50 */ subf r0, r0, r28 -/* 80342708 0033F668 7C 07 02 14 */ add r0, r7, r0 -/* 8034270C 0033F66C 90 18 00 08 */ stw r0, 8(r24) -/* 80342710 0033F670 93 98 00 00 */ stw r28, 0(r24) -/* 80342714 0033F674 90 D7 00 34 */ stw r6, 0x34(r23) -/* 80342718 0033F678 48 00 1C F5 */ bl inflate_flush -/* 8034271C 0033F67C 48 00 06 10 */ b lbl_80342D2C -lbl_80342720: -/* 80342720 0033F680 88 1C 00 00 */ lbz r0, 0(r28) -/* 80342724 0033F684 3B 7B FF FF */ addi r27, r27, -1 -/* 80342728 0033F688 3B 9C 00 01 */ addi r28, r28, 1 -/* 8034272C 0033F68C 7C 00 E8 30 */ slw r0, r0, r29 -/* 80342730 0033F690 3B BD 00 08 */ addi r29, r29, 8 -/* 80342734 0033F694 7F DE 03 78 */ or r30, r30, r0 -/* 80342738 0033F698 42 00 FF A0 */ bdnz lbl_803426D8 -lbl_8034273C: -/* 8034273C 0033F69C 3C 80 80 3F */ lis r4, lbl_803EF5C8@ha -/* 80342740 0033F6A0 55 00 10 3A */ slwi r0, r8, 2 -/* 80342744 0033F6A4 38 84 F5 C8 */ addi r4, r4, lbl_803EF5C8@l -/* 80342748 0033F6A8 80 F9 00 04 */ lwz r7, 4(r25) -/* 8034274C 0033F6AC 7C 84 00 2E */ lwzx r4, r4, r0 -/* 80342750 0033F6B0 38 00 00 03 */ li r0, 3 -/* 80342754 0033F6B4 7F A8 E8 50 */ subf r29, r8, r29 -/* 80342758 0033F6B8 7F C4 20 38 */ and r4, r30, r4 -/* 8034275C 0033F6BC 7F DE 44 30 */ srw r30, r30, r8 -/* 80342760 0033F6C0 7C 87 22 14 */ add r4, r7, r4 -/* 80342764 0033F6C4 90 99 00 04 */ stw r4, 4(r25) -/* 80342768 0033F6C8 88 99 00 11 */ lbz r4, 0x11(r25) -/* 8034276C 0033F6CC 90 99 00 0C */ stw r4, 0xc(r25) -/* 80342770 0033F6D0 80 99 00 18 */ lwz r4, 0x18(r25) -/* 80342774 0033F6D4 90 99 00 08 */ stw r4, 8(r25) -/* 80342778 0033F6D8 90 19 00 00 */ stw r0, 0(r25) -/* 8034277C 0033F6DC 80 F9 00 0C */ lwz r7, 0xc(r25) -/* 80342780 0033F6E0 38 07 00 07 */ addi r0, r7, 7 -/* 80342784 0033F6E4 7C 1D 00 50 */ subf r0, r29, r0 -/* 80342788 0033F6E8 54 00 E8 FE */ srwi r0, r0, 3 -/* 8034278C 0033F6EC 7C 09 03 A6 */ mtctr r0 -/* 80342790 0033F6F0 7C 1D 38 40 */ cmplw r29, r7 -/* 80342794 0033F6F4 40 80 00 68 */ bge lbl_803427FC -lbl_80342798: -/* 80342798 0033F6F8 28 1B 00 00 */ cmplwi r27, 0 -/* 8034279C 0033F6FC 41 82 00 0C */ beq lbl_803427A8 -/* 803427A0 0033F700 38 A0 00 00 */ li r5, 0 -/* 803427A4 0033F704 48 00 00 3C */ b lbl_803427E0 -lbl_803427A8: -/* 803427A8 0033F708 93 D7 00 20 */ stw r30, 0x20(r23) -/* 803427AC 0033F70C 7E E3 BB 78 */ mr r3, r23 -/* 803427B0 0033F710 7F 04 C3 78 */ mr r4, r24 -/* 803427B4 0033F714 93 B7 00 1C */ stw r29, 0x1c(r23) -/* 803427B8 0033F718 93 78 00 04 */ stw r27, 4(r24) -/* 803427BC 0033F71C 80 18 00 00 */ lwz r0, 0(r24) -/* 803427C0 0033F720 80 F8 00 08 */ lwz r7, 8(r24) -/* 803427C4 0033F724 7C 00 E0 50 */ subf r0, r0, r28 -/* 803427C8 0033F728 7C 07 02 14 */ add r0, r7, r0 -/* 803427CC 0033F72C 90 18 00 08 */ stw r0, 8(r24) -/* 803427D0 0033F730 93 98 00 00 */ stw r28, 0(r24) -/* 803427D4 0033F734 90 D7 00 34 */ stw r6, 0x34(r23) -/* 803427D8 0033F738 48 00 1C 35 */ bl inflate_flush -/* 803427DC 0033F73C 48 00 05 50 */ b lbl_80342D2C -lbl_803427E0: -/* 803427E0 0033F740 88 1C 00 00 */ lbz r0, 0(r28) -/* 803427E4 0033F744 3B 7B FF FF */ addi r27, r27, -1 -/* 803427E8 0033F748 3B 9C 00 01 */ addi r28, r28, 1 -/* 803427EC 0033F74C 7C 00 E8 30 */ slw r0, r0, r29 -/* 803427F0 0033F750 3B BD 00 08 */ addi r29, r29, 8 -/* 803427F4 0033F754 7F DE 03 78 */ or r30, r30, r0 -/* 803427F8 0033F758 42 00 FF A0 */ bdnz lbl_80342798 -lbl_803427FC: -/* 803427FC 0033F75C 3C 80 80 3F */ lis r4, lbl_803EF5C8@ha -/* 80342800 0033F760 54 E0 10 3A */ slwi r0, r7, 2 -/* 80342804 0033F764 38 84 F5 C8 */ addi r4, r4, lbl_803EF5C8@l -/* 80342808 0033F768 80 F9 00 08 */ lwz r7, 8(r25) -/* 8034280C 0033F76C 7C 04 00 2E */ lwzx r0, r4, r0 -/* 80342810 0033F770 7F C0 00 38 */ and r0, r30, r0 -/* 80342814 0033F774 54 00 18 38 */ slwi r0, r0, 3 -/* 80342818 0033F778 7C E7 02 14 */ add r7, r7, r0 -/* 8034281C 0033F77C 89 07 00 00 */ lbz r8, 0(r7) -/* 80342820 0033F780 88 87 00 01 */ lbz r4, 1(r7) -/* 80342824 0033F784 55 00 06 F7 */ rlwinm. r0, r8, 0, 0x1b, 0x1b -/* 80342828 0033F788 7F DE 24 30 */ srw r30, r30, r4 -/* 8034282C 0033F78C 7F A4 E8 50 */ subf r29, r4, r29 -/* 80342830 0033F790 41 82 00 20 */ beq lbl_80342850 -/* 80342834 0033F794 55 04 07 3E */ clrlwi r4, r8, 0x1c -/* 80342838 0033F798 38 00 00 04 */ li r0, 4 -/* 8034283C 0033F79C 90 99 00 08 */ stw r4, 8(r25) -/* 80342840 0033F7A0 80 87 00 04 */ lwz r4, 4(r7) -/* 80342844 0033F7A4 90 99 00 0C */ stw r4, 0xc(r25) -/* 80342848 0033F7A8 90 19 00 00 */ stw r0, 0(r25) -/* 8034284C 0033F7AC 4B FF FC 18 */ b lbl_80342464 -lbl_80342850: -/* 80342850 0033F7B0 55 00 06 73 */ rlwinm. r0, r8, 0, 0x19, 0x19 -/* 80342854 0033F7B4 40 82 00 1C */ bne lbl_80342870 -/* 80342858 0033F7B8 91 19 00 0C */ stw r8, 0xc(r25) -/* 8034285C 0033F7BC 80 07 00 04 */ lwz r0, 4(r7) -/* 80342860 0033F7C0 54 00 18 38 */ slwi r0, r0, 3 -/* 80342864 0033F7C4 7C 07 02 14 */ add r0, r7, r0 -/* 80342868 0033F7C8 90 19 00 08 */ stw r0, 8(r25) -/* 8034286C 0033F7CC 4B FF FB F8 */ b lbl_80342464 -lbl_80342870: -/* 80342870 0033F7D0 38 00 00 09 */ li r0, 9 -/* 80342874 0033F7D4 3C 60 80 3D */ lis r3, lbl_803D7B68@ha -/* 80342878 0033F7D8 38 63 7B 68 */ addi r3, r3, lbl_803D7B68@l -/* 8034287C 0033F7DC 90 19 00 00 */ stw r0, 0(r25) -/* 80342880 0033F7E0 38 03 00 1C */ addi r0, r3, 0x1c -/* 80342884 0033F7E4 7E E3 BB 78 */ mr r3, r23 -/* 80342888 0033F7E8 90 18 00 18 */ stw r0, 0x18(r24) -/* 8034288C 0033F7EC 7F 04 C3 78 */ mr r4, r24 -/* 80342890 0033F7F0 38 A0 FF FD */ li r5, -3 -/* 80342894 0033F7F4 93 D7 00 20 */ stw r30, 0x20(r23) -/* 80342898 0033F7F8 93 B7 00 1C */ stw r29, 0x1c(r23) -/* 8034289C 0033F7FC 93 78 00 04 */ stw r27, 4(r24) -/* 803428A0 0033F800 80 18 00 00 */ lwz r0, 0(r24) -/* 803428A4 0033F804 80 F8 00 08 */ lwz r7, 8(r24) -/* 803428A8 0033F808 7C 00 E0 50 */ subf r0, r0, r28 -/* 803428AC 0033F80C 7C 07 02 14 */ add r0, r7, r0 -/* 803428B0 0033F810 90 18 00 08 */ stw r0, 8(r24) -/* 803428B4 0033F814 93 98 00 00 */ stw r28, 0(r24) -/* 803428B8 0033F818 90 D7 00 34 */ stw r6, 0x34(r23) -/* 803428BC 0033F81C 48 00 1B 51 */ bl inflate_flush -/* 803428C0 0033F820 48 00 04 6C */ b lbl_80342D2C -/* 803428C4 0033F824 81 19 00 08 */ lwz r8, 8(r25) -/* 803428C8 0033F828 38 08 00 07 */ addi r0, r8, 7 -/* 803428CC 0033F82C 7C 1D 00 50 */ subf r0, r29, r0 -/* 803428D0 0033F830 54 00 E8 FE */ srwi r0, r0, 3 -/* 803428D4 0033F834 7C 09 03 A6 */ mtctr r0 -/* 803428D8 0033F838 7C 1D 40 40 */ cmplw r29, r8 -/* 803428DC 0033F83C 40 80 00 68 */ bge lbl_80342944 -lbl_803428E0: -/* 803428E0 0033F840 28 1B 00 00 */ cmplwi r27, 0 -/* 803428E4 0033F844 41 82 00 0C */ beq lbl_803428F0 -/* 803428E8 0033F848 38 A0 00 00 */ li r5, 0 -/* 803428EC 0033F84C 48 00 00 3C */ b lbl_80342928 -lbl_803428F0: -/* 803428F0 0033F850 93 D7 00 20 */ stw r30, 0x20(r23) -/* 803428F4 0033F854 7E E3 BB 78 */ mr r3, r23 -/* 803428F8 0033F858 7F 04 C3 78 */ mr r4, r24 -/* 803428FC 0033F85C 93 B7 00 1C */ stw r29, 0x1c(r23) -/* 80342900 0033F860 93 78 00 04 */ stw r27, 4(r24) -/* 80342904 0033F864 80 18 00 00 */ lwz r0, 0(r24) -/* 80342908 0033F868 80 F8 00 08 */ lwz r7, 8(r24) -/* 8034290C 0033F86C 7C 00 E0 50 */ subf r0, r0, r28 -/* 80342910 0033F870 7C 07 02 14 */ add r0, r7, r0 -/* 80342914 0033F874 90 18 00 08 */ stw r0, 8(r24) -/* 80342918 0033F878 93 98 00 00 */ stw r28, 0(r24) -/* 8034291C 0033F87C 90 D7 00 34 */ stw r6, 0x34(r23) -/* 80342920 0033F880 48 00 1A ED */ bl inflate_flush -/* 80342924 0033F884 48 00 04 08 */ b lbl_80342D2C -lbl_80342928: -/* 80342928 0033F888 88 1C 00 00 */ lbz r0, 0(r28) -/* 8034292C 0033F88C 3B 7B FF FF */ addi r27, r27, -1 -/* 80342930 0033F890 3B 9C 00 01 */ addi r28, r28, 1 -/* 80342934 0033F894 7C 00 E8 30 */ slw r0, r0, r29 -/* 80342938 0033F898 3B BD 00 08 */ addi r29, r29, 8 -/* 8034293C 0033F89C 7F DE 03 78 */ or r30, r30, r0 -/* 80342940 0033F8A0 42 00 FF A0 */ bdnz lbl_803428E0 -lbl_80342944: -/* 80342944 0033F8A4 3C 80 80 3F */ lis r4, lbl_803EF5C8@ha -/* 80342948 0033F8A8 55 00 10 3A */ slwi r0, r8, 2 -/* 8034294C 0033F8AC 38 84 F5 C8 */ addi r4, r4, lbl_803EF5C8@l -/* 80342950 0033F8B0 80 F9 00 0C */ lwz r7, 0xc(r25) -/* 80342954 0033F8B4 7C 84 00 2E */ lwzx r4, r4, r0 -/* 80342958 0033F8B8 38 00 00 05 */ li r0, 5 -/* 8034295C 0033F8BC 7F A8 E8 50 */ subf r29, r8, r29 -/* 80342960 0033F8C0 7F C4 20 38 */ and r4, r30, r4 -/* 80342964 0033F8C4 7F DE 44 30 */ srw r30, r30, r8 -/* 80342968 0033F8C8 7C 87 22 14 */ add r4, r7, r4 -/* 8034296C 0033F8CC 90 99 00 0C */ stw r4, 0xc(r25) -/* 80342970 0033F8D0 90 19 00 00 */ stw r0, 0(r25) -/* 80342974 0033F8D4 80 17 00 28 */ lwz r0, 0x28(r23) -/* 80342978 0033F8D8 80 F9 00 0C */ lwz r7, 0xc(r25) -/* 8034297C 0033F8DC 7C 80 30 50 */ subf r4, r0, r6 -/* 80342980 0033F8E0 7C 04 38 40 */ cmplw r4, r7 -/* 80342984 0033F8E4 40 80 00 14 */ bge lbl_80342998 -/* 80342988 0033F8E8 80 17 00 2C */ lwz r0, 0x2c(r23) -/* 8034298C 0033F8EC 7C 84 38 50 */ subf r4, r4, r7 -/* 80342990 0033F8F0 7C 04 00 50 */ subf r0, r4, r0 -/* 80342994 0033F8F4 48 00 00 08 */ b lbl_8034299C -lbl_80342998: -/* 80342998 0033F8F8 7C 07 30 50 */ subf r0, r7, r6 -lbl_8034299C: -/* 8034299C 0033F8FC 7C 1A 03 78 */ mr r26, r0 -/* 803429A0 0033F900 48 00 01 30 */ b lbl_80342AD0 -lbl_803429A4: -/* 803429A4 0033F904 28 03 00 00 */ cmplwi r3, 0 -/* 803429A8 0033F908 40 82 00 F4 */ bne lbl_80342A9C -/* 803429AC 0033F90C 80 F7 00 2C */ lwz r7, 0x2c(r23) -/* 803429B0 0033F910 7C 06 38 40 */ cmplw r6, r7 -/* 803429B4 0033F914 40 82 00 30 */ bne lbl_803429E4 -/* 803429B8 0033F918 80 97 00 30 */ lwz r4, 0x30(r23) -/* 803429BC 0033F91C 80 17 00 28 */ lwz r0, 0x28(r23) -/* 803429C0 0033F920 7C 04 00 40 */ cmplw r4, r0 -/* 803429C4 0033F924 41 82 00 20 */ beq lbl_803429E4 -/* 803429C8 0033F928 7C 00 20 40 */ cmplw r0, r4 -/* 803429CC 0033F92C 7C 06 03 78 */ mr r6, r0 -/* 803429D0 0033F930 40 80 00 10 */ bge lbl_803429E0 -/* 803429D4 0033F934 7C 60 20 50 */ subf r3, r0, r4 -/* 803429D8 0033F938 38 63 FF FF */ addi r3, r3, -1 -/* 803429DC 0033F93C 48 00 00 08 */ b lbl_803429E4 -lbl_803429E0: -/* 803429E0 0033F940 7C 60 38 50 */ subf r3, r0, r7 -lbl_803429E4: -/* 803429E4 0033F944 28 03 00 00 */ cmplwi r3, 0 -/* 803429E8 0033F948 40 82 00 B4 */ bne lbl_80342A9C -/* 803429EC 0033F94C 90 D7 00 34 */ stw r6, 0x34(r23) -/* 803429F0 0033F950 7E E3 BB 78 */ mr r3, r23 -/* 803429F4 0033F954 7F 04 C3 78 */ mr r4, r24 -/* 803429F8 0033F958 48 00 1A 15 */ bl inflate_flush -/* 803429FC 0033F95C 80 D7 00 34 */ lwz r6, 0x34(r23) -/* 80342A00 0033F960 7C 65 1B 78 */ mr r5, r3 -/* 80342A04 0033F964 80 97 00 30 */ lwz r4, 0x30(r23) -/* 80342A08 0033F968 7C 06 20 40 */ cmplw r6, r4 -/* 80342A0C 0033F96C 40 80 00 10 */ bge lbl_80342A1C -/* 80342A10 0033F970 7C 66 20 50 */ subf r3, r6, r4 -/* 80342A14 0033F974 38 03 FF FF */ addi r0, r3, -1 -/* 80342A18 0033F978 48 00 00 0C */ b lbl_80342A24 -lbl_80342A1C: -/* 80342A1C 0033F97C 80 17 00 2C */ lwz r0, 0x2c(r23) -/* 80342A20 0033F980 7C 06 00 50 */ subf r0, r6, r0 -lbl_80342A24: -/* 80342A24 0033F984 80 F7 00 2C */ lwz r7, 0x2c(r23) -/* 80342A28 0033F988 7C 03 03 78 */ mr r3, r0 -/* 80342A2C 0033F98C 7C 06 38 40 */ cmplw r6, r7 -/* 80342A30 0033F990 40 82 00 2C */ bne lbl_80342A5C -/* 80342A34 0033F994 80 17 00 28 */ lwz r0, 0x28(r23) -/* 80342A38 0033F998 7C 04 00 40 */ cmplw r4, r0 -/* 80342A3C 0033F99C 41 82 00 20 */ beq lbl_80342A5C -/* 80342A40 0033F9A0 7C 00 20 40 */ cmplw r0, r4 -/* 80342A44 0033F9A4 7C 06 03 78 */ mr r6, r0 -/* 80342A48 0033F9A8 40 80 00 10 */ bge lbl_80342A58 -/* 80342A4C 0033F9AC 7C 60 20 50 */ subf r3, r0, r4 -/* 80342A50 0033F9B0 38 63 FF FF */ addi r3, r3, -1 -/* 80342A54 0033F9B4 48 00 00 08 */ b lbl_80342A5C -lbl_80342A58: -/* 80342A58 0033F9B8 7C 60 38 50 */ subf r3, r0, r7 -lbl_80342A5C: -/* 80342A5C 0033F9BC 28 03 00 00 */ cmplwi r3, 0 -/* 80342A60 0033F9C0 40 82 00 3C */ bne lbl_80342A9C -/* 80342A64 0033F9C4 93 D7 00 20 */ stw r30, 0x20(r23) -/* 80342A68 0033F9C8 7E E3 BB 78 */ mr r3, r23 -/* 80342A6C 0033F9CC 7F 04 C3 78 */ mr r4, r24 -/* 80342A70 0033F9D0 93 B7 00 1C */ stw r29, 0x1c(r23) -/* 80342A74 0033F9D4 93 78 00 04 */ stw r27, 4(r24) -/* 80342A78 0033F9D8 80 18 00 00 */ lwz r0, 0(r24) -/* 80342A7C 0033F9DC 80 F8 00 08 */ lwz r7, 8(r24) -/* 80342A80 0033F9E0 7C 00 E0 50 */ subf r0, r0, r28 -/* 80342A84 0033F9E4 7C 07 02 14 */ add r0, r7, r0 -/* 80342A88 0033F9E8 90 18 00 08 */ stw r0, 8(r24) -/* 80342A8C 0033F9EC 93 98 00 00 */ stw r28, 0(r24) -/* 80342A90 0033F9F0 90 D7 00 34 */ stw r6, 0x34(r23) -/* 80342A94 0033F9F4 48 00 19 79 */ bl inflate_flush -/* 80342A98 0033F9F8 48 00 02 94 */ b lbl_80342D2C -lbl_80342A9C: -/* 80342A9C 0033F9FC 88 1A 00 00 */ lbz r0, 0(r26) -/* 80342AA0 0033FA00 3B 5A 00 01 */ addi r26, r26, 1 -/* 80342AA4 0033FA04 38 A0 00 00 */ li r5, 0 -/* 80342AA8 0033FA08 38 63 FF FF */ addi r3, r3, -1 -/* 80342AAC 0033FA0C 98 06 00 00 */ stb r0, 0(r6) -/* 80342AB0 0033FA10 38 C6 00 01 */ addi r6, r6, 1 -/* 80342AB4 0033FA14 80 17 00 2C */ lwz r0, 0x2c(r23) -/* 80342AB8 0033FA18 7C 1A 00 40 */ cmplw r26, r0 -/* 80342ABC 0033FA1C 40 82 00 08 */ bne lbl_80342AC4 -/* 80342AC0 0033FA20 83 57 00 28 */ lwz r26, 0x28(r23) -lbl_80342AC4: -/* 80342AC4 0033FA24 80 99 00 04 */ lwz r4, 4(r25) -/* 80342AC8 0033FA28 38 04 FF FF */ addi r0, r4, -1 -/* 80342ACC 0033FA2C 90 19 00 04 */ stw r0, 4(r25) -lbl_80342AD0: -/* 80342AD0 0033FA30 80 19 00 04 */ lwz r0, 4(r25) -/* 80342AD4 0033FA34 28 00 00 00 */ cmplwi r0, 0 -/* 80342AD8 0033FA38 40 82 FE CC */ bne lbl_803429A4 -/* 80342ADC 0033FA3C 38 00 00 00 */ li r0, 0 -/* 80342AE0 0033FA40 90 19 00 00 */ stw r0, 0(r25) -/* 80342AE4 0033FA44 4B FF F9 80 */ b lbl_80342464 -/* 80342AE8 0033FA48 28 03 00 00 */ cmplwi r3, 0 -/* 80342AEC 0033FA4C 40 82 00 F4 */ bne lbl_80342BE0 -/* 80342AF0 0033FA50 80 F7 00 2C */ lwz r7, 0x2c(r23) -/* 80342AF4 0033FA54 7C 06 38 40 */ cmplw r6, r7 -/* 80342AF8 0033FA58 40 82 00 30 */ bne lbl_80342B28 -/* 80342AFC 0033FA5C 80 97 00 30 */ lwz r4, 0x30(r23) -/* 80342B00 0033FA60 80 17 00 28 */ lwz r0, 0x28(r23) -/* 80342B04 0033FA64 7C 04 00 40 */ cmplw r4, r0 -/* 80342B08 0033FA68 41 82 00 20 */ beq lbl_80342B28 -/* 80342B0C 0033FA6C 7C 00 20 40 */ cmplw r0, r4 -/* 80342B10 0033FA70 7C 06 03 78 */ mr r6, r0 -/* 80342B14 0033FA74 40 80 00 10 */ bge lbl_80342B24 -/* 80342B18 0033FA78 7C 60 20 50 */ subf r3, r0, r4 -/* 80342B1C 0033FA7C 38 63 FF FF */ addi r3, r3, -1 -/* 80342B20 0033FA80 48 00 00 08 */ b lbl_80342B28 -lbl_80342B24: -/* 80342B24 0033FA84 7C 60 38 50 */ subf r3, r0, r7 -lbl_80342B28: -/* 80342B28 0033FA88 28 03 00 00 */ cmplwi r3, 0 -/* 80342B2C 0033FA8C 40 82 00 B4 */ bne lbl_80342BE0 -/* 80342B30 0033FA90 90 D7 00 34 */ stw r6, 0x34(r23) -/* 80342B34 0033FA94 7E E3 BB 78 */ mr r3, r23 -/* 80342B38 0033FA98 7F 04 C3 78 */ mr r4, r24 -/* 80342B3C 0033FA9C 48 00 18 D1 */ bl inflate_flush -/* 80342B40 0033FAA0 80 D7 00 34 */ lwz r6, 0x34(r23) -/* 80342B44 0033FAA4 7C 65 1B 78 */ mr r5, r3 -/* 80342B48 0033FAA8 80 97 00 30 */ lwz r4, 0x30(r23) -/* 80342B4C 0033FAAC 7C 06 20 40 */ cmplw r6, r4 -/* 80342B50 0033FAB0 40 80 00 10 */ bge lbl_80342B60 -/* 80342B54 0033FAB4 7C 66 20 50 */ subf r3, r6, r4 -/* 80342B58 0033FAB8 38 03 FF FF */ addi r0, r3, -1 -/* 80342B5C 0033FABC 48 00 00 0C */ b lbl_80342B68 -lbl_80342B60: -/* 80342B60 0033FAC0 80 17 00 2C */ lwz r0, 0x2c(r23) -/* 80342B64 0033FAC4 7C 06 00 50 */ subf r0, r6, r0 -lbl_80342B68: -/* 80342B68 0033FAC8 80 F7 00 2C */ lwz r7, 0x2c(r23) -/* 80342B6C 0033FACC 7C 03 03 78 */ mr r3, r0 -/* 80342B70 0033FAD0 7C 06 38 40 */ cmplw r6, r7 -/* 80342B74 0033FAD4 40 82 00 2C */ bne lbl_80342BA0 -/* 80342B78 0033FAD8 80 17 00 28 */ lwz r0, 0x28(r23) -/* 80342B7C 0033FADC 7C 04 00 40 */ cmplw r4, r0 -/* 80342B80 0033FAE0 41 82 00 20 */ beq lbl_80342BA0 -/* 80342B84 0033FAE4 7C 00 20 40 */ cmplw r0, r4 -/* 80342B88 0033FAE8 7C 06 03 78 */ mr r6, r0 -/* 80342B8C 0033FAEC 40 80 00 10 */ bge lbl_80342B9C -/* 80342B90 0033FAF0 7C 60 20 50 */ subf r3, r0, r4 -/* 80342B94 0033FAF4 38 63 FF FF */ addi r3, r3, -1 -/* 80342B98 0033FAF8 48 00 00 08 */ b lbl_80342BA0 -lbl_80342B9C: -/* 80342B9C 0033FAFC 7C 60 38 50 */ subf r3, r0, r7 -lbl_80342BA0: -/* 80342BA0 0033FB00 28 03 00 00 */ cmplwi r3, 0 -/* 80342BA4 0033FB04 40 82 00 3C */ bne lbl_80342BE0 -/* 80342BA8 0033FB08 93 D7 00 20 */ stw r30, 0x20(r23) -/* 80342BAC 0033FB0C 7E E3 BB 78 */ mr r3, r23 -/* 80342BB0 0033FB10 7F 04 C3 78 */ mr r4, r24 -/* 80342BB4 0033FB14 93 B7 00 1C */ stw r29, 0x1c(r23) -/* 80342BB8 0033FB18 93 78 00 04 */ stw r27, 4(r24) -/* 80342BBC 0033FB1C 80 18 00 00 */ lwz r0, 0(r24) -/* 80342BC0 0033FB20 80 F8 00 08 */ lwz r7, 8(r24) -/* 80342BC4 0033FB24 7C 00 E0 50 */ subf r0, r0, r28 -/* 80342BC8 0033FB28 7C 07 02 14 */ add r0, r7, r0 -/* 80342BCC 0033FB2C 90 18 00 08 */ stw r0, 8(r24) -/* 80342BD0 0033FB30 93 98 00 00 */ stw r28, 0(r24) -/* 80342BD4 0033FB34 90 D7 00 34 */ stw r6, 0x34(r23) -/* 80342BD8 0033FB38 48 00 18 35 */ bl inflate_flush -/* 80342BDC 0033FB3C 48 00 01 50 */ b lbl_80342D2C -lbl_80342BE0: -/* 80342BE0 0033FB40 80 99 00 08 */ lwz r4, 8(r25) -/* 80342BE4 0033FB44 38 00 00 00 */ li r0, 0 -/* 80342BE8 0033FB48 38 A0 00 00 */ li r5, 0 -/* 80342BEC 0033FB4C 38 63 FF FF */ addi r3, r3, -1 -/* 80342BF0 0033FB50 98 86 00 00 */ stb r4, 0(r6) -/* 80342BF4 0033FB54 38 C6 00 01 */ addi r6, r6, 1 -/* 80342BF8 0033FB58 90 19 00 00 */ stw r0, 0(r25) -/* 80342BFC 0033FB5C 4B FF F8 68 */ b lbl_80342464 -/* 80342C00 0033FB60 28 1D 00 07 */ cmplwi r29, 7 -/* 80342C04 0033FB64 40 81 00 10 */ ble lbl_80342C14 -/* 80342C08 0033FB68 3B BD FF F8 */ addi r29, r29, -8 -/* 80342C0C 0033FB6C 3B 7B 00 01 */ addi r27, r27, 1 -/* 80342C10 0033FB70 3B 9C FF FF */ addi r28, r28, -1 -lbl_80342C14: -/* 80342C14 0033FB74 90 D7 00 34 */ stw r6, 0x34(r23) -/* 80342C18 0033FB78 7E E3 BB 78 */ mr r3, r23 -/* 80342C1C 0033FB7C 7F 04 C3 78 */ mr r4, r24 -/* 80342C20 0033FB80 48 00 17 ED */ bl inflate_flush -/* 80342C24 0033FB84 80 F7 00 34 */ lwz r7, 0x34(r23) -/* 80342C28 0033FB88 7C 65 1B 78 */ mr r5, r3 -/* 80342C2C 0033FB8C 80 17 00 30 */ lwz r0, 0x30(r23) -/* 80342C30 0033FB90 7C E6 3B 78 */ mr r6, r7 -/* 80342C34 0033FB94 7C 00 38 40 */ cmplw r0, r7 -/* 80342C38 0033FB98 41 82 00 3C */ beq lbl_80342C74 -/* 80342C3C 0033FB9C 93 D7 00 20 */ stw r30, 0x20(r23) -/* 80342C40 0033FBA0 7E E3 BB 78 */ mr r3, r23 -/* 80342C44 0033FBA4 7F 04 C3 78 */ mr r4, r24 -/* 80342C48 0033FBA8 93 B7 00 1C */ stw r29, 0x1c(r23) -/* 80342C4C 0033FBAC 93 78 00 04 */ stw r27, 4(r24) -/* 80342C50 0033FBB0 80 18 00 00 */ lwz r0, 0(r24) -/* 80342C54 0033FBB4 80 D8 00 08 */ lwz r6, 8(r24) -/* 80342C58 0033FBB8 7C 00 E0 50 */ subf r0, r0, r28 -/* 80342C5C 0033FBBC 7C 06 02 14 */ add r0, r6, r0 -/* 80342C60 0033FBC0 90 18 00 08 */ stw r0, 8(r24) -/* 80342C64 0033FBC4 93 98 00 00 */ stw r28, 0(r24) -/* 80342C68 0033FBC8 90 F7 00 34 */ stw r7, 0x34(r23) -/* 80342C6C 0033FBCC 48 00 17 A1 */ bl inflate_flush -/* 80342C70 0033FBD0 48 00 00 BC */ b lbl_80342D2C -lbl_80342C74: -/* 80342C74 0033FBD4 38 00 00 08 */ li r0, 8 -/* 80342C78 0033FBD8 90 19 00 00 */ stw r0, 0(r25) -/* 80342C7C 0033FBDC 93 D7 00 20 */ stw r30, 0x20(r23) -/* 80342C80 0033FBE0 7E E3 BB 78 */ mr r3, r23 -/* 80342C84 0033FBE4 7F 04 C3 78 */ mr r4, r24 -/* 80342C88 0033FBE8 38 A0 00 01 */ li r5, 1 -/* 80342C8C 0033FBEC 93 B7 00 1C */ stw r29, 0x1c(r23) -/* 80342C90 0033FBF0 93 78 00 04 */ stw r27, 4(r24) -/* 80342C94 0033FBF4 80 18 00 00 */ lwz r0, 0(r24) -/* 80342C98 0033FBF8 80 F8 00 08 */ lwz r7, 8(r24) -/* 80342C9C 0033FBFC 7C 00 E0 50 */ subf r0, r0, r28 -/* 80342CA0 0033FC00 7C 07 02 14 */ add r0, r7, r0 -/* 80342CA4 0033FC04 90 18 00 08 */ stw r0, 8(r24) -/* 80342CA8 0033FC08 93 98 00 00 */ stw r28, 0(r24) -/* 80342CAC 0033FC0C 90 D7 00 34 */ stw r6, 0x34(r23) -/* 80342CB0 0033FC10 48 00 17 5D */ bl inflate_flush -/* 80342CB4 0033FC14 48 00 00 78 */ b lbl_80342D2C -/* 80342CB8 0033FC18 93 D7 00 20 */ stw r30, 0x20(r23) -/* 80342CBC 0033FC1C 7E E3 BB 78 */ mr r3, r23 -/* 80342CC0 0033FC20 7F 04 C3 78 */ mr r4, r24 -/* 80342CC4 0033FC24 38 A0 FF FD */ li r5, -3 -/* 80342CC8 0033FC28 93 B7 00 1C */ stw r29, 0x1c(r23) -/* 80342CCC 0033FC2C 93 78 00 04 */ stw r27, 4(r24) -/* 80342CD0 0033FC30 80 18 00 00 */ lwz r0, 0(r24) -/* 80342CD4 0033FC34 80 F8 00 08 */ lwz r7, 8(r24) -/* 80342CD8 0033FC38 7C 00 E0 50 */ subf r0, r0, r28 -/* 80342CDC 0033FC3C 7C 07 02 14 */ add r0, r7, r0 -/* 80342CE0 0033FC40 90 18 00 08 */ stw r0, 8(r24) -/* 80342CE4 0033FC44 93 98 00 00 */ stw r28, 0(r24) -/* 80342CE8 0033FC48 90 D7 00 34 */ stw r6, 0x34(r23) -/* 80342CEC 0033FC4C 48 00 17 21 */ bl inflate_flush -/* 80342CF0 0033FC50 48 00 00 3C */ b lbl_80342D2C -lbl_80342CF4: -/* 80342CF4 0033FC54 93 D7 00 20 */ stw r30, 0x20(r23) -/* 80342CF8 0033FC58 7E E3 BB 78 */ mr r3, r23 -/* 80342CFC 0033FC5C 7F 04 C3 78 */ mr r4, r24 -/* 80342D00 0033FC60 38 A0 FF FE */ li r5, -2 -/* 80342D04 0033FC64 93 B7 00 1C */ stw r29, 0x1c(r23) -/* 80342D08 0033FC68 93 78 00 04 */ stw r27, 4(r24) -/* 80342D0C 0033FC6C 80 18 00 00 */ lwz r0, 0(r24) -/* 80342D10 0033FC70 80 F8 00 08 */ lwz r7, 8(r24) -/* 80342D14 0033FC74 7C 00 E0 50 */ subf r0, r0, r28 -/* 80342D18 0033FC78 7C 07 02 14 */ add r0, r7, r0 -/* 80342D1C 0033FC7C 90 18 00 08 */ stw r0, 8(r24) -/* 80342D20 0033FC80 93 98 00 00 */ stw r28, 0(r24) -/* 80342D24 0033FC84 90 D7 00 34 */ stw r6, 0x34(r23) -/* 80342D28 0033FC88 48 00 16 E5 */ bl inflate_flush -lbl_80342D2C: -/* 80342D2C 0033FC8C BA E1 00 0C */ lmw r23, 0xc(r1) -/* 80342D30 0033FC90 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80342D34 0033FC94 7C 08 03 A6 */ mtlr r0 -/* 80342D38 0033FC98 38 21 00 30 */ addi r1, r1, 0x30 -/* 80342D3C 0033FC9C 4E 80 00 20 */ blr - -.global inflate_codes_new -inflate_codes_new: -/* 80342D40 0033FCA0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80342D44 0033FCA4 7C 08 02 A6 */ mflr r0 -/* 80342D48 0033FCA8 90 01 00 24 */ stw r0, 0x24(r1) -/* 80342D4C 0033FCAC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80342D50 0033FCB0 7C DF 33 78 */ mr r31, r6 -/* 80342D54 0033FCB4 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80342D58 0033FCB8 7C BE 2B 78 */ mr r30, r5 -/* 80342D5C 0033FCBC 38 A0 00 1C */ li r5, 0x1c -/* 80342D60 0033FCC0 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80342D64 0033FCC4 7C 9D 23 78 */ mr r29, r4 -/* 80342D68 0033FCC8 38 80 00 01 */ li r4, 1 -/* 80342D6C 0033FCCC 93 81 00 10 */ stw r28, 0x10(r1) -/* 80342D70 0033FCD0 7C 7C 1B 78 */ mr r28, r3 -/* 80342D74 0033FCD4 81 87 00 20 */ lwz r12, 0x20(r7) -/* 80342D78 0033FCD8 80 67 00 28 */ lwz r3, 0x28(r7) -/* 80342D7C 0033FCDC 7D 89 03 A6 */ mtctr r12 -/* 80342D80 0033FCE0 4E 80 04 21 */ bctrl -/* 80342D84 0033FCE4 28 03 00 00 */ cmplwi r3, 0 -/* 80342D88 0033FCE8 41 82 00 1C */ beq lbl_80342DA4 -/* 80342D8C 0033FCEC 38 00 00 00 */ li r0, 0 -/* 80342D90 0033FCF0 90 03 00 00 */ stw r0, 0(r3) -/* 80342D94 0033FCF4 9B 83 00 10 */ stb r28, 0x10(r3) -/* 80342D98 0033FCF8 9B A3 00 11 */ stb r29, 0x11(r3) -/* 80342D9C 0033FCFC 93 C3 00 14 */ stw r30, 0x14(r3) -/* 80342DA0 0033FD00 93 E3 00 18 */ stw r31, 0x18(r3) -lbl_80342DA4: -/* 80342DA4 0033FD04 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80342DA8 0033FD08 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80342DAC 0033FD0C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80342DB0 0033FD10 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80342DB4 0033FD14 83 81 00 10 */ lwz r28, 0x10(r1) -/* 80342DB8 0033FD18 7C 08 03 A6 */ mtlr r0 -/* 80342DBC 0033FD1C 38 21 00 20 */ addi r1, r1, 0x20 -/* 80342DC0 0033FD20 4E 80 00 20 */ blr - -.global inflate_fast -inflate_fast: -/* 80342DC4 0033FD24 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80342DC8 0033FD28 BF 01 00 10 */ stmw r24, 0x10(r1) -/* 80342DCC 0033FD2C 81 87 00 34 */ lwz r12, 0x34(r7) -/* 80342DD0 0033FD30 83 27 00 30 */ lwz r25, 0x30(r7) -/* 80342DD4 0033FD34 81 48 00 00 */ lwz r10, 0(r8) -/* 80342DD8 0033FD38 7C 0C C8 40 */ cmplw r12, r25 -/* 80342DDC 0033FD3C 81 68 00 04 */ lwz r11, 4(r8) -/* 80342DE0 0033FD40 80 07 00 20 */ lwz r0, 0x20(r7) -/* 80342DE4 0033FD44 81 27 00 1C */ lwz r9, 0x1c(r7) -/* 80342DE8 0033FD48 40 80 00 10 */ bge lbl_80342DF8 -/* 80342DEC 0033FD4C 7F 2C C8 50 */ subf r25, r12, r25 -/* 80342DF0 0033FD50 3B 79 FF FF */ addi r27, r25, -1 -/* 80342DF4 0033FD54 48 00 00 0C */ b lbl_80342E00 -lbl_80342DF8: -/* 80342DF8 0033FD58 83 27 00 2C */ lwz r25, 0x2c(r7) -/* 80342DFC 0033FD5C 7F 6C C8 50 */ subf r27, r12, r25 -lbl_80342E00: -/* 80342E00 0033FD60 3F 20 80 3F */ lis r25, lbl_803EF5C8@ha -/* 80342E04 0033FD64 54 7A 10 3A */ slwi r26, r3, 2 -/* 80342E08 0033FD68 3B 39 F5 C8 */ addi r25, r25, lbl_803EF5C8@l -/* 80342E0C 0033FD6C 54 83 10 3A */ slwi r3, r4, 2 -/* 80342E10 0033FD70 7F F9 D0 2E */ lwzx r31, r25, r26 -/* 80342E14 0033FD74 7F 64 DB 78 */ mr r4, r27 -/* 80342E18 0033FD78 7F D9 18 2E */ lwzx r30, r25, r3 -/* 80342E1C 0033FD7C 48 00 00 1C */ b lbl_80342E38 -lbl_80342E20: -/* 80342E20 0033FD80 88 6A 00 00 */ lbz r3, 0(r10) -/* 80342E24 0033FD84 39 6B FF FF */ addi r11, r11, -1 -/* 80342E28 0033FD88 39 4A 00 01 */ addi r10, r10, 1 -/* 80342E2C 0033FD8C 7C 63 48 30 */ slw r3, r3, r9 -/* 80342E30 0033FD90 39 29 00 08 */ addi r9, r9, 8 -/* 80342E34 0033FD94 7C 00 1B 78 */ or r0, r0, r3 -lbl_80342E38: -/* 80342E38 0033FD98 28 09 00 14 */ cmplwi r9, 0x14 -/* 80342E3C 0033FD9C 41 80 FF E4 */ blt lbl_80342E20 -/* 80342E40 0033FDA0 7C 03 F8 38 */ and r3, r0, r31 -/* 80342E44 0033FDA4 54 63 18 38 */ slwi r3, r3, 3 -/* 80342E48 0033FDA8 7C 65 1A 14 */ add r3, r5, r3 -/* 80342E4C 0033FDAC 8B 03 00 00 */ lbz r24, 0(r3) -/* 80342E50 0033FDB0 28 18 00 00 */ cmplwi r24, 0 -/* 80342E54 0033FDB4 40 82 00 24 */ bne lbl_80342E78 -/* 80342E58 0033FDB8 8B 23 00 01 */ lbz r25, 1(r3) -/* 80342E5C 0033FDBC 38 84 FF FF */ addi r4, r4, -1 -/* 80342E60 0033FDC0 80 63 00 04 */ lwz r3, 4(r3) -/* 80342E64 0033FDC4 7C 00 CC 30 */ srw r0, r0, r25 -/* 80342E68 0033FDC8 7D 39 48 50 */ subf r9, r25, r9 -/* 80342E6C 0033FDCC 98 6C 00 00 */ stb r3, 0(r12) -/* 80342E70 0033FDD0 39 8C 00 01 */ addi r12, r12, 1 -/* 80342E74 0033FDD4 48 00 04 78 */ b lbl_803432EC -lbl_80342E78: -/* 80342E78 0033FDD8 3F 60 80 3F */ lis r27, lbl_803EF5C8@ha -/* 80342E7C 0033FDDC 3B 9B F5 C8 */ addi r28, r27, lbl_803EF5C8@l -lbl_80342E80: -/* 80342E80 0033FDE0 8B 43 00 01 */ lbz r26, 1(r3) -/* 80342E84 0033FDE4 57 19 06 F7 */ rlwinm. r25, r24, 0, 0x1b, 0x1b -/* 80342E88 0033FDE8 7C 00 D4 30 */ srw r0, r0, r26 -/* 80342E8C 0033FDEC 7D 3A 48 50 */ subf r9, r26, r9 -/* 80342E90 0033FDF0 41 82 03 40 */ beq lbl_803431D0 -/* 80342E94 0033FDF4 3F 20 80 3F */ lis r25, lbl_803EF5C8@ha -/* 80342E98 0033FDF8 57 1D 07 3E */ clrlwi r29, r24, 0x1c -/* 80342E9C 0033FDFC 57 1A 16 BA */ rlwinm r26, r24, 2, 0x1a, 0x1d -/* 80342EA0 0033FE00 83 63 00 04 */ lwz r27, 4(r3) -/* 80342EA4 0033FE04 7D 3D 48 50 */ subf r9, r29, r9 -/* 80342EA8 0033FE08 38 79 F5 C8 */ addi r3, r25, lbl_803EF5C8@l -/* 80342EAC 0033FE0C 7C 63 D0 2E */ lwzx r3, r3, r26 -/* 80342EB0 0033FE10 28 09 00 0F */ cmplwi r9, 0xf -/* 80342EB4 0033FE14 23 89 00 16 */ subfic r28, r9, 0x16 -/* 80342EB8 0033FE18 7C 03 18 38 */ and r3, r0, r3 -/* 80342EBC 0033FE1C 7C 00 EC 30 */ srw r0, r0, r29 -/* 80342EC0 0033FE20 7F BB 1A 14 */ add r29, r27, r3 -/* 80342EC4 0033FE24 57 9C E8 FE */ srwi r28, r28, 3 -/* 80342EC8 0033FE28 40 80 00 C4 */ bge lbl_80342F8C -/* 80342ECC 0033FE2C 57 83 E8 FF */ rlwinm. r3, r28, 0x1d, 3, 0x1f -/* 80342ED0 0033FE30 7C 69 03 A6 */ mtctr r3 -/* 80342ED4 0033FE34 41 82 00 98 */ beq lbl_80342F6C -lbl_80342ED8: -/* 80342ED8 0033FE38 8B 2A 00 00 */ lbz r25, 0(r10) -/* 80342EDC 0033FE3C 39 6B FF F8 */ addi r11, r11, -8 -/* 80342EE0 0033FE40 7F 23 48 30 */ slw r3, r25, r9 -/* 80342EE4 0033FE44 8B 2A 00 01 */ lbz r25, 1(r10) -/* 80342EE8 0033FE48 39 29 00 08 */ addi r9, r9, 8 -/* 80342EEC 0033FE4C 7C 00 1B 78 */ or r0, r0, r3 -/* 80342EF0 0033FE50 7F 23 48 30 */ slw r3, r25, r9 -/* 80342EF4 0033FE54 8B 2A 00 02 */ lbz r25, 2(r10) -/* 80342EF8 0033FE58 39 29 00 08 */ addi r9, r9, 8 -/* 80342EFC 0033FE5C 7C 00 1B 78 */ or r0, r0, r3 -/* 80342F00 0033FE60 7F 23 48 30 */ slw r3, r25, r9 -/* 80342F04 0033FE64 8B 2A 00 03 */ lbz r25, 3(r10) -/* 80342F08 0033FE68 39 29 00 08 */ addi r9, r9, 8 -/* 80342F0C 0033FE6C 7C 00 1B 78 */ or r0, r0, r3 -/* 80342F10 0033FE70 7F 23 48 30 */ slw r3, r25, r9 -/* 80342F14 0033FE74 8B 2A 00 04 */ lbz r25, 4(r10) -/* 80342F18 0033FE78 39 29 00 08 */ addi r9, r9, 8 -/* 80342F1C 0033FE7C 7C 00 1B 78 */ or r0, r0, r3 -/* 80342F20 0033FE80 7F 23 48 30 */ slw r3, r25, r9 -/* 80342F24 0033FE84 8B 2A 00 05 */ lbz r25, 5(r10) -/* 80342F28 0033FE88 39 29 00 08 */ addi r9, r9, 8 -/* 80342F2C 0033FE8C 7C 00 1B 78 */ or r0, r0, r3 -/* 80342F30 0033FE90 7F 23 48 30 */ slw r3, r25, r9 -/* 80342F34 0033FE94 8B 2A 00 06 */ lbz r25, 6(r10) -/* 80342F38 0033FE98 39 29 00 08 */ addi r9, r9, 8 -/* 80342F3C 0033FE9C 7C 00 1B 78 */ or r0, r0, r3 -/* 80342F40 0033FEA0 7F 23 48 30 */ slw r3, r25, r9 -/* 80342F44 0033FEA4 8B 2A 00 07 */ lbz r25, 7(r10) -/* 80342F48 0033FEA8 39 29 00 08 */ addi r9, r9, 8 -/* 80342F4C 0033FEAC 39 4A 00 08 */ addi r10, r10, 8 -/* 80342F50 0033FEB0 7C 00 1B 78 */ or r0, r0, r3 -/* 80342F54 0033FEB4 7F 23 48 30 */ slw r3, r25, r9 -/* 80342F58 0033FEB8 39 29 00 08 */ addi r9, r9, 8 -/* 80342F5C 0033FEBC 7C 00 1B 78 */ or r0, r0, r3 -/* 80342F60 0033FEC0 42 00 FF 78 */ bdnz lbl_80342ED8 -/* 80342F64 0033FEC4 73 9C 00 07 */ andi. r28, r28, 7 -/* 80342F68 0033FEC8 41 82 00 24 */ beq lbl_80342F8C -lbl_80342F6C: -/* 80342F6C 0033FECC 7F 89 03 A6 */ mtctr r28 -lbl_80342F70: -/* 80342F70 0033FED0 8B 2A 00 00 */ lbz r25, 0(r10) -/* 80342F74 0033FED4 39 6B FF FF */ addi r11, r11, -1 -/* 80342F78 0033FED8 39 4A 00 01 */ addi r10, r10, 1 -/* 80342F7C 0033FEDC 7F 23 48 30 */ slw r3, r25, r9 -/* 80342F80 0033FEE0 39 29 00 08 */ addi r9, r9, 8 -/* 80342F84 0033FEE4 7C 00 1B 78 */ or r0, r0, r3 -/* 80342F88 0033FEE8 42 00 FF E8 */ bdnz lbl_80342F70 -lbl_80342F8C: -/* 80342F8C 0033FEEC 7C 03 F0 38 */ and r3, r0, r30 -/* 80342F90 0033FEF0 3F 60 80 3F */ lis r27, lbl_803EF5C8@ha -/* 80342F94 0033FEF4 54 63 18 38 */ slwi r3, r3, 3 -/* 80342F98 0033FEF8 7C 66 1A 14 */ add r3, r6, r3 -/* 80342F9C 0033FEFC 3B 9B F5 C8 */ addi r28, r27, lbl_803EF5C8@l -/* 80342FA0 0033FF00 8B 03 00 00 */ lbz r24, 0(r3) -lbl_80342FA4: -/* 80342FA4 0033FF04 8B 43 00 01 */ lbz r26, 1(r3) -/* 80342FA8 0033FF08 57 19 06 F7 */ rlwinm. r25, r24, 0, 0x1b, 0x1b -/* 80342FAC 0033FF0C 7C 00 D4 30 */ srw r0, r0, r26 -/* 80342FB0 0033FF10 7D 3A 48 50 */ subf r9, r26, r9 -/* 80342FB4 0033FF14 41 82 01 88 */ beq lbl_8034313C -/* 80342FB8 0033FF18 57 18 07 3E */ clrlwi r24, r24, 0x1c -/* 80342FBC 0033FF1C 3B 78 00 07 */ addi r27, r24, 7 -/* 80342FC0 0033FF20 7F 69 D8 50 */ subf r27, r9, r27 -/* 80342FC4 0033FF24 7C 09 C0 40 */ cmplw r9, r24 -/* 80342FC8 0033FF28 57 7B E8 FE */ srwi r27, r27, 3 -/* 80342FCC 0033FF2C 40 80 00 C4 */ bge lbl_80343090 -/* 80342FD0 0033FF30 57 7C E8 FF */ rlwinm. r28, r27, 0x1d, 3, 0x1f -/* 80342FD4 0033FF34 7F 89 03 A6 */ mtctr r28 -/* 80342FD8 0033FF38 41 82 00 98 */ beq lbl_80343070 -lbl_80342FDC: -/* 80342FDC 0033FF3C 8B 4A 00 00 */ lbz r26, 0(r10) -/* 80342FE0 0033FF40 39 6B FF F8 */ addi r11, r11, -8 -/* 80342FE4 0033FF44 7F 59 48 30 */ slw r25, r26, r9 -/* 80342FE8 0033FF48 8B 4A 00 01 */ lbz r26, 1(r10) -/* 80342FEC 0033FF4C 39 29 00 08 */ addi r9, r9, 8 -/* 80342FF0 0033FF50 7C 00 CB 78 */ or r0, r0, r25 -/* 80342FF4 0033FF54 7F 59 48 30 */ slw r25, r26, r9 -/* 80342FF8 0033FF58 8B 4A 00 02 */ lbz r26, 2(r10) -/* 80342FFC 0033FF5C 39 29 00 08 */ addi r9, r9, 8 -/* 80343000 0033FF60 7C 00 CB 78 */ or r0, r0, r25 -/* 80343004 0033FF64 7F 59 48 30 */ slw r25, r26, r9 -/* 80343008 0033FF68 8B 4A 00 03 */ lbz r26, 3(r10) -/* 8034300C 0033FF6C 39 29 00 08 */ addi r9, r9, 8 -/* 80343010 0033FF70 7C 00 CB 78 */ or r0, r0, r25 -/* 80343014 0033FF74 7F 59 48 30 */ slw r25, r26, r9 -/* 80343018 0033FF78 8B 4A 00 04 */ lbz r26, 4(r10) -/* 8034301C 0033FF7C 39 29 00 08 */ addi r9, r9, 8 -/* 80343020 0033FF80 7C 00 CB 78 */ or r0, r0, r25 -/* 80343024 0033FF84 7F 59 48 30 */ slw r25, r26, r9 -/* 80343028 0033FF88 8B 4A 00 05 */ lbz r26, 5(r10) -/* 8034302C 0033FF8C 39 29 00 08 */ addi r9, r9, 8 -/* 80343030 0033FF90 7C 00 CB 78 */ or r0, r0, r25 -/* 80343034 0033FF94 7F 59 48 30 */ slw r25, r26, r9 -/* 80343038 0033FF98 8B 4A 00 06 */ lbz r26, 6(r10) -/* 8034303C 0033FF9C 39 29 00 08 */ addi r9, r9, 8 -/* 80343040 0033FFA0 7C 00 CB 78 */ or r0, r0, r25 -/* 80343044 0033FFA4 7F 59 48 30 */ slw r25, r26, r9 -/* 80343048 0033FFA8 8B 4A 00 07 */ lbz r26, 7(r10) -/* 8034304C 0033FFAC 39 29 00 08 */ addi r9, r9, 8 -/* 80343050 0033FFB0 39 4A 00 08 */ addi r10, r10, 8 -/* 80343054 0033FFB4 7C 00 CB 78 */ or r0, r0, r25 -/* 80343058 0033FFB8 7F 59 48 30 */ slw r25, r26, r9 -/* 8034305C 0033FFBC 39 29 00 08 */ addi r9, r9, 8 -/* 80343060 0033FFC0 7C 00 CB 78 */ or r0, r0, r25 -/* 80343064 0033FFC4 42 00 FF 78 */ bdnz lbl_80342FDC -/* 80343068 0033FFC8 73 7B 00 07 */ andi. r27, r27, 7 -/* 8034306C 0033FFCC 41 82 00 24 */ beq lbl_80343090 -lbl_80343070: -/* 80343070 0033FFD0 7F 69 03 A6 */ mtctr r27 -lbl_80343074: -/* 80343074 0033FFD4 8B 4A 00 00 */ lbz r26, 0(r10) -/* 80343078 0033FFD8 39 6B FF FF */ addi r11, r11, -1 -/* 8034307C 0033FFDC 39 4A 00 01 */ addi r10, r10, 1 -/* 80343080 0033FFE0 7F 59 48 30 */ slw r25, r26, r9 -/* 80343084 0033FFE4 39 29 00 08 */ addi r9, r9, 8 -/* 80343088 0033FFE8 7C 00 CB 78 */ or r0, r0, r25 -/* 8034308C 0033FFEC 42 00 FF E8 */ bdnz lbl_80343074 -lbl_80343090: -/* 80343090 0033FFF0 3F 60 80 3F */ lis r27, lbl_803EF5C8@ha -/* 80343094 0033FFF4 83 47 00 28 */ lwz r26, 0x28(r7) -/* 80343098 0033FFF8 57 1C 10 3A */ slwi r28, r24, 2 -/* 8034309C 0033FFFC 83 23 00 04 */ lwz r25, 4(r3) -/* 803430A0 00340000 38 7B F5 C8 */ addi r3, r27, lbl_803EF5C8@l -/* 803430A4 00340004 7F 5A 60 50 */ subf r26, r26, r12 -/* 803430A8 00340008 7C 63 E0 2E */ lwzx r3, r3, r28 -/* 803430AC 0034000C 7D 38 48 50 */ subf r9, r24, r9 -/* 803430B0 00340010 7C 9D 20 50 */ subf r4, r29, r4 -/* 803430B4 00340014 7C 03 18 38 */ and r3, r0, r3 -/* 803430B8 00340018 7C 00 C4 30 */ srw r0, r0, r24 -/* 803430BC 0034001C 7C 79 1A 14 */ add r3, r25, r3 -/* 803430C0 00340020 7C 1A 18 40 */ cmplw r26, r3 -/* 803430C4 00340024 41 80 00 28 */ blt lbl_803430EC -/* 803430C8 00340028 7F 23 60 50 */ subf r25, r3, r12 -/* 803430CC 0034002C 3B BD FF FE */ addi r29, r29, -2 -/* 803430D0 00340030 88 79 00 00 */ lbz r3, 0(r25) -/* 803430D4 00340034 98 6C 00 00 */ stb r3, 0(r12) -/* 803430D8 00340038 88 79 00 01 */ lbz r3, 1(r25) -/* 803430DC 0034003C 3B 39 00 02 */ addi r25, r25, 2 -/* 803430E0 00340040 98 6C 00 01 */ stb r3, 1(r12) -/* 803430E4 00340044 39 8C 00 02 */ addi r12, r12, 2 -/* 803430E8 00340048 48 00 00 38 */ b lbl_80343120 -lbl_803430EC: -/* 803430EC 0034004C 7F 1A 18 50 */ subf r24, r26, r3 -/* 803430F0 00340050 80 67 00 2C */ lwz r3, 0x2c(r7) -/* 803430F4 00340054 7C 1D C0 40 */ cmplw r29, r24 -/* 803430F8 00340058 7F 38 18 50 */ subf r25, r24, r3 -/* 803430FC 0034005C 40 81 00 24 */ ble lbl_80343120 -/* 80343100 00340060 7F B8 E8 50 */ subf r29, r24, r29 -lbl_80343104: -/* 80343104 00340064 88 79 00 00 */ lbz r3, 0(r25) -/* 80343108 00340068 37 18 FF FF */ addic. r24, r24, -1 -/* 8034310C 0034006C 3B 39 00 01 */ addi r25, r25, 1 -/* 80343110 00340070 98 6C 00 00 */ stb r3, 0(r12) -/* 80343114 00340074 39 8C 00 01 */ addi r12, r12, 1 -/* 80343118 00340078 40 82 FF EC */ bne lbl_80343104 -/* 8034311C 0034007C 83 27 00 28 */ lwz r25, 0x28(r7) -lbl_80343120: -/* 80343120 00340080 88 79 00 00 */ lbz r3, 0(r25) -/* 80343124 00340084 37 BD FF FF */ addic. r29, r29, -1 -/* 80343128 00340088 3B 39 00 01 */ addi r25, r25, 1 -/* 8034312C 0034008C 98 6C 00 00 */ stb r3, 0(r12) -/* 80343130 00340090 39 8C 00 01 */ addi r12, r12, 1 -/* 80343134 00340094 40 82 FF EC */ bne lbl_80343120 -/* 80343138 00340098 48 00 01 B4 */ b lbl_803432EC -lbl_8034313C: -/* 8034313C 0034009C 57 1A 06 73 */ rlwinm. r26, r24, 0, 0x19, 0x19 -/* 80343140 003400A0 40 82 00 2C */ bne lbl_8034316C -/* 80343144 003400A4 57 1B 10 3A */ slwi r27, r24, 2 -/* 80343148 003400A8 83 43 00 04 */ lwz r26, 4(r3) -/* 8034314C 003400AC 7F 7C D8 2E */ lwzx r27, r28, r27 -/* 80343150 003400B0 57 5A 18 38 */ slwi r26, r26, 3 -/* 80343154 003400B4 7C 1B D8 38 */ and r27, r0, r27 -/* 80343158 003400B8 7C 63 D2 14 */ add r3, r3, r26 -/* 8034315C 003400BC 57 7B 18 38 */ slwi r27, r27, 3 -/* 80343160 003400C0 7C 63 DA 14 */ add r3, r3, r27 -/* 80343164 003400C4 8B 03 00 00 */ lbz r24, 0(r3) -/* 80343168 003400C8 4B FF FE 3C */ b lbl_80342FA4 -lbl_8034316C: -/* 8034316C 003400CC 3C 60 80 3D */ lis r3, lbl_803D7BA0@ha -/* 80343170 003400D0 55 24 E8 FE */ srwi r4, r9, 3 -/* 80343174 003400D4 38 63 7B A0 */ addi r3, r3, lbl_803D7BA0@l -/* 80343178 003400D8 90 68 00 18 */ stw r3, 0x18(r8) -/* 8034317C 003400DC 80 68 00 04 */ lwz r3, 4(r8) -/* 80343180 003400E0 7C AB 18 50 */ subf r5, r11, r3 -/* 80343184 003400E4 7C 04 28 40 */ cmplw r4, r5 -/* 80343188 003400E8 40 80 00 08 */ bge lbl_80343190 -/* 8034318C 003400EC 7C 85 23 78 */ mr r5, r4 -lbl_80343190: -/* 80343190 003400F0 54 A3 18 38 */ slwi r3, r5, 3 -/* 80343194 003400F4 90 07 00 20 */ stw r0, 0x20(r7) -/* 80343198 003400F8 7D 23 48 50 */ subf r9, r3, r9 -/* 8034319C 003400FC 7D 6B 2A 14 */ add r11, r11, r5 -/* 803431A0 00340100 91 27 00 1C */ stw r9, 0x1c(r7) -/* 803431A4 00340104 7D 45 50 50 */ subf r10, r5, r10 -/* 803431A8 00340108 38 60 FF FD */ li r3, -3 -/* 803431AC 0034010C 91 68 00 04 */ stw r11, 4(r8) -/* 803431B0 00340110 80 08 00 00 */ lwz r0, 0(r8) -/* 803431B4 00340114 80 88 00 08 */ lwz r4, 8(r8) -/* 803431B8 00340118 7C 00 50 50 */ subf r0, r0, r10 -/* 803431BC 0034011C 7C 04 02 14 */ add r0, r4, r0 -/* 803431C0 00340120 90 08 00 08 */ stw r0, 8(r8) -/* 803431C4 00340124 91 48 00 00 */ stw r10, 0(r8) -/* 803431C8 00340128 91 87 00 34 */ stw r12, 0x34(r7) -/* 803431CC 0034012C 48 00 01 84 */ b lbl_80343350 -lbl_803431D0: -/* 803431D0 00340130 57 1B 06 73 */ rlwinm. r27, r24, 0, 0x19, 0x19 -/* 803431D4 00340134 40 82 00 50 */ bne lbl_80343224 -/* 803431D8 00340138 57 1B 10 3A */ slwi r27, r24, 2 -/* 803431DC 0034013C 83 A3 00 04 */ lwz r29, 4(r3) -/* 803431E0 00340140 7F 7C D8 2E */ lwzx r27, r28, r27 -/* 803431E4 00340144 57 BD 18 38 */ slwi r29, r29, 3 -/* 803431E8 00340148 7C 1B D8 38 */ and r27, r0, r27 -/* 803431EC 0034014C 7C 63 EA 14 */ add r3, r3, r29 -/* 803431F0 00340150 57 7B 18 38 */ slwi r27, r27, 3 -/* 803431F4 00340154 7C 63 DA 14 */ add r3, r3, r27 -/* 803431F8 00340158 8B 03 00 00 */ lbz r24, 0(r3) -/* 803431FC 0034015C 28 18 00 00 */ cmplwi r24, 0 -/* 80343200 00340160 40 82 FC 80 */ bne lbl_80342E80 -/* 80343204 00340164 8B 03 00 01 */ lbz r24, 1(r3) -/* 80343208 00340168 38 84 FF FF */ addi r4, r4, -1 -/* 8034320C 0034016C 80 63 00 04 */ lwz r3, 4(r3) -/* 80343210 00340170 7C 00 C4 30 */ srw r0, r0, r24 -/* 80343214 00340174 7D 38 48 50 */ subf r9, r24, r9 -/* 80343218 00340178 98 6C 00 00 */ stb r3, 0(r12) -/* 8034321C 0034017C 39 8C 00 01 */ addi r12, r12, 1 -/* 80343220 00340180 48 00 00 CC */ b lbl_803432EC -lbl_80343224: -/* 80343224 00340184 57 03 06 B5 */ rlwinm. r3, r24, 0, 0x1a, 0x1a -/* 80343228 00340188 41 82 00 5C */ beq lbl_80343284 -/* 8034322C 0034018C 80 68 00 04 */ lwz r3, 4(r8) -/* 80343230 00340190 55 24 E8 FE */ srwi r4, r9, 3 -/* 80343234 00340194 7C AB 18 50 */ subf r5, r11, r3 -/* 80343238 00340198 7C 04 28 40 */ cmplw r4, r5 -/* 8034323C 0034019C 40 80 00 08 */ bge lbl_80343244 -/* 80343240 003401A0 7C 85 23 78 */ mr r5, r4 -lbl_80343244: -/* 80343244 003401A4 54 A3 18 38 */ slwi r3, r5, 3 -/* 80343248 003401A8 90 07 00 20 */ stw r0, 0x20(r7) -/* 8034324C 003401AC 7D 23 48 50 */ subf r9, r3, r9 -/* 80343250 003401B0 7D 6B 2A 14 */ add r11, r11, r5 -/* 80343254 003401B4 91 27 00 1C */ stw r9, 0x1c(r7) -/* 80343258 003401B8 7D 45 50 50 */ subf r10, r5, r10 -/* 8034325C 003401BC 38 60 00 01 */ li r3, 1 -/* 80343260 003401C0 91 68 00 04 */ stw r11, 4(r8) -/* 80343264 003401C4 80 08 00 00 */ lwz r0, 0(r8) -/* 80343268 003401C8 80 88 00 08 */ lwz r4, 8(r8) -/* 8034326C 003401CC 7C 00 50 50 */ subf r0, r0, r10 -/* 80343270 003401D0 7C 04 02 14 */ add r0, r4, r0 -/* 80343274 003401D4 90 08 00 08 */ stw r0, 8(r8) -/* 80343278 003401D8 91 48 00 00 */ stw r10, 0(r8) -/* 8034327C 003401DC 91 87 00 34 */ stw r12, 0x34(r7) -/* 80343280 003401E0 48 00 00 D0 */ b lbl_80343350 -lbl_80343284: -/* 80343284 003401E4 3C 60 80 3D */ lis r3, lbl_803D7BA0@ha -/* 80343288 003401E8 55 24 E8 FE */ srwi r4, r9, 3 -/* 8034328C 003401EC 38 63 7B A0 */ addi r3, r3, lbl_803D7BA0@l -/* 80343290 003401F0 38 63 00 16 */ addi r3, r3, 0x16 -/* 80343294 003401F4 90 68 00 18 */ stw r3, 0x18(r8) -/* 80343298 003401F8 80 68 00 04 */ lwz r3, 4(r8) -/* 8034329C 003401FC 7C AB 18 50 */ subf r5, r11, r3 -/* 803432A0 00340200 7C 04 28 40 */ cmplw r4, r5 -/* 803432A4 00340204 40 80 00 08 */ bge lbl_803432AC -/* 803432A8 00340208 7C 85 23 78 */ mr r5, r4 -lbl_803432AC: -/* 803432AC 0034020C 54 A3 18 38 */ slwi r3, r5, 3 -/* 803432B0 00340210 90 07 00 20 */ stw r0, 0x20(r7) -/* 803432B4 00340214 7D 23 48 50 */ subf r9, r3, r9 -/* 803432B8 00340218 7D 6B 2A 14 */ add r11, r11, r5 -/* 803432BC 0034021C 91 27 00 1C */ stw r9, 0x1c(r7) -/* 803432C0 00340220 7D 45 50 50 */ subf r10, r5, r10 -/* 803432C4 00340224 38 60 FF FD */ li r3, -3 -/* 803432C8 00340228 91 68 00 04 */ stw r11, 4(r8) -/* 803432CC 0034022C 80 08 00 00 */ lwz r0, 0(r8) -/* 803432D0 00340230 80 88 00 08 */ lwz r4, 8(r8) -/* 803432D4 00340234 7C 00 50 50 */ subf r0, r0, r10 -/* 803432D8 00340238 7C 04 02 14 */ add r0, r4, r0 -/* 803432DC 0034023C 90 08 00 08 */ stw r0, 8(r8) -/* 803432E0 00340240 91 48 00 00 */ stw r10, 0(r8) -/* 803432E4 00340244 91 87 00 34 */ stw r12, 0x34(r7) -/* 803432E8 00340248 48 00 00 68 */ b lbl_80343350 -lbl_803432EC: -/* 803432EC 0034024C 28 04 01 02 */ cmplwi r4, 0x102 -/* 803432F0 00340250 41 80 00 0C */ blt lbl_803432FC -/* 803432F4 00340254 28 0B 00 0A */ cmplwi r11, 0xa -/* 803432F8 00340258 40 80 FB 40 */ bge lbl_80342E38 -lbl_803432FC: -/* 803432FC 0034025C 80 68 00 04 */ lwz r3, 4(r8) -/* 80343300 00340260 55 24 E8 FE */ srwi r4, r9, 3 -/* 80343304 00340264 7C AB 18 50 */ subf r5, r11, r3 -/* 80343308 00340268 7C 04 28 40 */ cmplw r4, r5 -/* 8034330C 0034026C 40 80 00 08 */ bge lbl_80343314 -/* 80343310 00340270 7C 85 23 78 */ mr r5, r4 -lbl_80343314: -/* 80343314 00340274 54 A3 18 38 */ slwi r3, r5, 3 -/* 80343318 00340278 90 07 00 20 */ stw r0, 0x20(r7) -/* 8034331C 0034027C 7D 23 48 50 */ subf r9, r3, r9 -/* 80343320 00340280 7D 6B 2A 14 */ add r11, r11, r5 -/* 80343324 00340284 91 27 00 1C */ stw r9, 0x1c(r7) -/* 80343328 00340288 7D 45 50 50 */ subf r10, r5, r10 -/* 8034332C 0034028C 38 60 00 00 */ li r3, 0 -/* 80343330 00340290 91 68 00 04 */ stw r11, 4(r8) -/* 80343334 00340294 80 08 00 00 */ lwz r0, 0(r8) -/* 80343338 00340298 80 88 00 08 */ lwz r4, 8(r8) -/* 8034333C 0034029C 7C 00 50 50 */ subf r0, r0, r10 -/* 80343340 003402A0 7C 04 02 14 */ add r0, r4, r0 -/* 80343344 003402A4 90 08 00 08 */ stw r0, 8(r8) -/* 80343348 003402A8 91 48 00 00 */ stw r10, 0(r8) -/* 8034334C 003402AC 91 87 00 34 */ stw r12, 0x34(r7) -lbl_80343350: -/* 80343350 003402B0 BB 01 00 10 */ lmw r24, 0x10(r1) -/* 80343354 003402B4 38 21 00 30 */ addi r1, r1, 0x30 -/* 80343358 003402B8 4E 80 00 20 */ blr - -.global inflate -inflate: -/* 8034335C 003402BC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80343360 003402C0 7C 08 02 A6 */ mflr r0 -/* 80343364 003402C4 90 01 00 24 */ stw r0, 0x24(r1) -/* 80343368 003402C8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8034336C 003402CC 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80343370 003402D0 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80343374 003402D4 93 81 00 10 */ stw r28, 0x10(r1) -/* 80343378 003402D8 7C 7C 1B 79 */ or. r28, r3, r3 -/* 8034337C 003402DC 41 82 00 1C */ beq lbl_80343398 -/* 80343380 003402E0 80 1C 00 1C */ lwz r0, 0x1c(r28) -/* 80343384 003402E4 28 00 00 00 */ cmplwi r0, 0 -/* 80343388 003402E8 41 82 00 10 */ beq lbl_80343398 -/* 8034338C 003402EC 80 1C 00 00 */ lwz r0, 0(r28) -/* 80343390 003402F0 28 00 00 00 */ cmplwi r0, 0 -/* 80343394 003402F4 40 82 00 0C */ bne lbl_803433A0 -lbl_80343398: -/* 80343398 003402F8 38 60 FF FE */ li r3, -2 -/* 8034339C 003402FC 48 00 05 A4 */ b lbl_80343940 -lbl_803433A0: -/* 803433A0 00340300 38 64 FF FC */ addi r3, r4, -4 -/* 803433A4 00340304 20 04 00 04 */ subfic r0, r4, 4 -/* 803433A8 00340308 7C 60 00 F8 */ nor r0, r3, r0 -/* 803433AC 0034030C 3C 60 80 3F */ lis r3, lbl_803EE490@ha -/* 803433B0 00340310 7C 04 FE 70 */ srawi r4, r0, 0x1f -/* 803433B4 00340314 38 00 FF FB */ li r0, -5 -/* 803433B8 00340318 7C 1E 20 38 */ and r30, r0, r4 -/* 803433BC 0034031C 3B E3 E4 90 */ addi r31, r3, lbl_803EE490@l -/* 803433C0 00340320 3B A0 FF FB */ li r29, -5 -lbl_803433C4: -/* 803433C4 00340324 80 9C 00 1C */ lwz r4, 0x1c(r28) -/* 803433C8 00340328 80 04 00 00 */ lwz r0, 0(r4) -/* 803433CC 0034032C 28 00 00 0D */ cmplwi r0, 0xd -/* 803433D0 00340330 41 81 05 6C */ bgt lbl_8034393C -/* 803433D4 00340334 54 00 10 3A */ slwi r0, r0, 2 -/* 803433D8 00340338 7C 1F 00 2E */ lwzx r0, r31, r0 -/* 803433DC 0034033C 7C 09 03 A6 */ mtctr r0 -/* 803433E0 00340340 4E 80 04 20 */ bctr -/* 803433E4 00340344 80 7C 00 04 */ lwz r3, 4(r28) -/* 803433E8 00340348 28 03 00 00 */ cmplwi r3, 0 -/* 803433EC 0034034C 40 82 00 0C */ bne lbl_803433F8 -/* 803433F0 00340350 7F A3 EB 78 */ mr r3, r29 -/* 803433F4 00340354 48 00 05 4C */ b lbl_80343940 -lbl_803433F8: -/* 803433F8 00340358 38 03 FF FF */ addi r0, r3, -1 -/* 803433FC 0034035C 7F DD F3 78 */ mr r29, r30 -/* 80343400 00340360 90 1C 00 04 */ stw r0, 4(r28) -/* 80343404 00340364 80 7C 00 08 */ lwz r3, 8(r28) -/* 80343408 00340368 38 03 00 01 */ addi r0, r3, 1 -/* 8034340C 0034036C 90 1C 00 08 */ stw r0, 8(r28) -/* 80343410 00340370 80 7C 00 00 */ lwz r3, 0(r28) -/* 80343414 00340374 38 03 00 01 */ addi r0, r3, 1 -/* 80343418 00340378 90 1C 00 00 */ stw r0, 0(r28) -/* 8034341C 0034037C 88 83 00 00 */ lbz r4, 0(r3) -/* 80343420 00340380 80 7C 00 1C */ lwz r3, 0x1c(r28) -/* 80343424 00340384 54 80 07 3E */ clrlwi r0, r4, 0x1c -/* 80343428 00340388 28 00 00 08 */ cmplwi r0, 8 -/* 8034342C 0034038C 90 83 00 04 */ stw r4, 4(r3) -/* 80343430 00340390 41 82 00 2C */ beq lbl_8034345C -/* 80343434 00340394 80 9C 00 1C */ lwz r4, 0x1c(r28) -/* 80343438 00340398 38 A0 00 0D */ li r5, 0xd -/* 8034343C 0034039C 3C 60 80 3D */ lis r3, lbl_803D7BD8@ha -/* 80343440 003403A0 38 00 00 05 */ li r0, 5 -/* 80343444 003403A4 90 A4 00 00 */ stw r5, 0(r4) -/* 80343448 003403A8 38 63 7B D8 */ addi r3, r3, lbl_803D7BD8@l -/* 8034344C 003403AC 90 7C 00 18 */ stw r3, 0x18(r28) -/* 80343450 003403B0 80 7C 00 1C */ lwz r3, 0x1c(r28) -/* 80343454 003403B4 90 03 00 04 */ stw r0, 4(r3) -/* 80343458 003403B8 4B FF FF 6C */ b lbl_803433C4 -lbl_8034345C: -/* 8034345C 003403BC 80 9C 00 1C */ lwz r4, 0x1c(r28) -/* 80343460 003403C0 80 64 00 04 */ lwz r3, 4(r4) -/* 80343464 003403C4 80 04 00 10 */ lwz r0, 0x10(r4) -/* 80343468 003403C8 54 63 E1 3E */ srwi r3, r3, 4 -/* 8034346C 003403CC 38 63 00 08 */ addi r3, r3, 8 -/* 80343470 003403D0 7C 03 00 40 */ cmplw r3, r0 -/* 80343474 003403D4 40 81 00 2C */ ble lbl_803434A0 -/* 80343478 003403D8 38 00 00 0D */ li r0, 0xd -/* 8034347C 003403DC 3C 60 80 3D */ lis r3, lbl_803D7BD8@ha -/* 80343480 003403E0 38 63 7B D8 */ addi r3, r3, lbl_803D7BD8@l -/* 80343484 003403E4 90 04 00 00 */ stw r0, 0(r4) -/* 80343488 003403E8 38 63 00 1B */ addi r3, r3, 0x1b -/* 8034348C 003403EC 38 00 00 05 */ li r0, 5 -/* 80343490 003403F0 90 7C 00 18 */ stw r3, 0x18(r28) -/* 80343494 003403F4 80 7C 00 1C */ lwz r3, 0x1c(r28) -/* 80343498 003403F8 90 03 00 04 */ stw r0, 4(r3) -/* 8034349C 003403FC 4B FF FF 28 */ b lbl_803433C4 -lbl_803434A0: -/* 803434A0 00340400 38 00 00 01 */ li r0, 1 -/* 803434A4 00340404 90 04 00 00 */ stw r0, 0(r4) -/* 803434A8 00340408 80 7C 00 04 */ lwz r3, 4(r28) -/* 803434AC 0034040C 28 03 00 00 */ cmplwi r3, 0 -/* 803434B0 00340410 40 82 00 0C */ bne lbl_803434BC -/* 803434B4 00340414 7F A3 EB 78 */ mr r3, r29 -/* 803434B8 00340418 48 00 04 88 */ b lbl_80343940 -lbl_803434BC: -/* 803434BC 0034041C 38 03 FF FF */ addi r0, r3, -1 -/* 803434C0 00340420 3C 60 08 42 */ lis r3, 0x08421085@ha -/* 803434C4 00340424 90 1C 00 04 */ stw r0, 4(r28) -/* 803434C8 00340428 38 03 10 85 */ addi r0, r3, 0x08421085@l -/* 803434CC 0034042C 7F DD F3 78 */ mr r29, r30 -/* 803434D0 00340430 80 7C 00 08 */ lwz r3, 8(r28) -/* 803434D4 00340434 38 63 00 01 */ addi r3, r3, 1 -/* 803434D8 00340438 90 7C 00 08 */ stw r3, 8(r28) -/* 803434DC 0034043C 80 9C 00 00 */ lwz r4, 0(r28) -/* 803434E0 00340440 38 64 00 01 */ addi r3, r4, 1 -/* 803434E4 00340444 90 7C 00 00 */ stw r3, 0(r28) -/* 803434E8 00340448 80 BC 00 1C */ lwz r5, 0x1c(r28) -/* 803434EC 0034044C 88 C4 00 00 */ lbz r6, 0(r4) -/* 803434F0 00340450 80 65 00 04 */ lwz r3, 4(r5) -/* 803434F4 00340454 54 63 40 2E */ slwi r3, r3, 8 -/* 803434F8 00340458 7C 83 32 14 */ add r4, r3, r6 -/* 803434FC 0034045C 7C 60 20 16 */ mulhwu r3, r0, r4 -/* 80343500 00340460 7C 03 20 50 */ subf r0, r3, r4 -/* 80343504 00340464 54 00 F8 7E */ srwi r0, r0, 1 -/* 80343508 00340468 7C 00 1A 14 */ add r0, r0, r3 -/* 8034350C 0034046C 54 00 E1 3E */ srwi r0, r0, 4 -/* 80343510 00340470 1C 00 00 1F */ mulli r0, r0, 0x1f -/* 80343514 00340474 7C 00 20 51 */ subf. r0, r0, r4 -/* 80343518 00340478 41 82 00 2C */ beq lbl_80343544 -/* 8034351C 0034047C 38 00 00 0D */ li r0, 0xd -/* 80343520 00340480 3C 60 80 3D */ lis r3, lbl_803D7BD8@ha -/* 80343524 00340484 38 63 7B D8 */ addi r3, r3, lbl_803D7BD8@l -/* 80343528 00340488 90 05 00 00 */ stw r0, 0(r5) -/* 8034352C 0034048C 38 63 00 2F */ addi r3, r3, 0x2f -/* 80343530 00340490 38 00 00 05 */ li r0, 5 -/* 80343534 00340494 90 7C 00 18 */ stw r3, 0x18(r28) -/* 80343538 00340498 80 7C 00 1C */ lwz r3, 0x1c(r28) -/* 8034353C 0034049C 90 03 00 04 */ stw r0, 4(r3) -/* 80343540 003404A0 4B FF FE 84 */ b lbl_803433C4 -lbl_80343544: -/* 80343544 003404A4 54 C0 06 B5 */ rlwinm. r0, r6, 0, 0x1a, 0x1a -/* 80343548 003404A8 40 82 00 10 */ bne lbl_80343558 -/* 8034354C 003404AC 38 00 00 07 */ li r0, 7 -/* 80343550 003404B0 90 05 00 00 */ stw r0, 0(r5) -/* 80343554 003404B4 4B FF FE 70 */ b lbl_803433C4 -lbl_80343558: -/* 80343558 003404B8 38 00 00 02 */ li r0, 2 -/* 8034355C 003404BC 90 05 00 00 */ stw r0, 0(r5) -/* 80343560 003404C0 80 7C 00 04 */ lwz r3, 4(r28) -/* 80343564 003404C4 28 03 00 00 */ cmplwi r3, 0 -/* 80343568 003404C8 40 82 00 0C */ bne lbl_80343574 -/* 8034356C 003404CC 7F A3 EB 78 */ mr r3, r29 -/* 80343570 003404D0 48 00 03 D0 */ b lbl_80343940 -lbl_80343574: -/* 80343574 003404D4 38 63 FF FF */ addi r3, r3, -1 -/* 80343578 003404D8 38 00 00 03 */ li r0, 3 -/* 8034357C 003404DC 90 7C 00 04 */ stw r3, 4(r28) -/* 80343580 003404E0 7F DD F3 78 */ mr r29, r30 -/* 80343584 003404E4 80 7C 00 08 */ lwz r3, 8(r28) -/* 80343588 003404E8 38 63 00 01 */ addi r3, r3, 1 -/* 8034358C 003404EC 90 7C 00 08 */ stw r3, 8(r28) -/* 80343590 003404F0 80 9C 00 00 */ lwz r4, 0(r28) -/* 80343594 003404F4 38 64 00 01 */ addi r3, r4, 1 -/* 80343598 003404F8 90 7C 00 00 */ stw r3, 0(r28) -/* 8034359C 003404FC 88 84 00 00 */ lbz r4, 0(r4) -/* 803435A0 00340500 80 7C 00 1C */ lwz r3, 0x1c(r28) -/* 803435A4 00340504 54 84 C0 0E */ slwi r4, r4, 0x18 -/* 803435A8 00340508 90 83 00 08 */ stw r4, 8(r3) -/* 803435AC 0034050C 80 7C 00 1C */ lwz r3, 0x1c(r28) -/* 803435B0 00340510 90 03 00 00 */ stw r0, 0(r3) -/* 803435B4 00340514 80 7C 00 04 */ lwz r3, 4(r28) -/* 803435B8 00340518 28 03 00 00 */ cmplwi r3, 0 -/* 803435BC 0034051C 40 82 00 0C */ bne lbl_803435C8 -/* 803435C0 00340520 7F A3 EB 78 */ mr r3, r29 -/* 803435C4 00340524 48 00 03 7C */ b lbl_80343940 -lbl_803435C8: -/* 803435C8 00340528 38 63 FF FF */ addi r3, r3, -1 -/* 803435CC 0034052C 38 00 00 04 */ li r0, 4 -/* 803435D0 00340530 90 7C 00 04 */ stw r3, 4(r28) -/* 803435D4 00340534 7F DD F3 78 */ mr r29, r30 -/* 803435D8 00340538 80 7C 00 08 */ lwz r3, 8(r28) -/* 803435DC 0034053C 38 63 00 01 */ addi r3, r3, 1 -/* 803435E0 00340540 90 7C 00 08 */ stw r3, 8(r28) -/* 803435E4 00340544 80 9C 00 00 */ lwz r4, 0(r28) -/* 803435E8 00340548 38 64 00 01 */ addi r3, r4, 1 -/* 803435EC 0034054C 90 7C 00 00 */ stw r3, 0(r28) -/* 803435F0 00340550 80 BC 00 1C */ lwz r5, 0x1c(r28) -/* 803435F4 00340554 88 64 00 00 */ lbz r3, 0(r4) -/* 803435F8 00340558 80 85 00 08 */ lwz r4, 8(r5) -/* 803435FC 0034055C 54 63 80 1E */ slwi r3, r3, 0x10 -/* 80343600 00340560 7C 64 1A 14 */ add r3, r4, r3 -/* 80343604 00340564 90 65 00 08 */ stw r3, 8(r5) -/* 80343608 00340568 80 7C 00 1C */ lwz r3, 0x1c(r28) -/* 8034360C 0034056C 90 03 00 00 */ stw r0, 0(r3) -/* 80343610 00340570 80 7C 00 04 */ lwz r3, 4(r28) -/* 80343614 00340574 28 03 00 00 */ cmplwi r3, 0 -/* 80343618 00340578 40 82 00 0C */ bne lbl_80343624 -/* 8034361C 0034057C 7F A3 EB 78 */ mr r3, r29 -/* 80343620 00340580 48 00 03 20 */ b lbl_80343940 -lbl_80343624: -/* 80343624 00340584 38 63 FF FF */ addi r3, r3, -1 -/* 80343628 00340588 38 00 00 05 */ li r0, 5 -/* 8034362C 0034058C 90 7C 00 04 */ stw r3, 4(r28) -/* 80343630 00340590 7F DD F3 78 */ mr r29, r30 -/* 80343634 00340594 80 7C 00 08 */ lwz r3, 8(r28) -/* 80343638 00340598 38 63 00 01 */ addi r3, r3, 1 -/* 8034363C 0034059C 90 7C 00 08 */ stw r3, 8(r28) -/* 80343640 003405A0 80 9C 00 00 */ lwz r4, 0(r28) -/* 80343644 003405A4 38 64 00 01 */ addi r3, r4, 1 -/* 80343648 003405A8 90 7C 00 00 */ stw r3, 0(r28) -/* 8034364C 003405AC 80 BC 00 1C */ lwz r5, 0x1c(r28) -/* 80343650 003405B0 88 64 00 00 */ lbz r3, 0(r4) -/* 80343654 003405B4 80 85 00 08 */ lwz r4, 8(r5) -/* 80343658 003405B8 54 63 40 2E */ slwi r3, r3, 8 -/* 8034365C 003405BC 7C 64 1A 14 */ add r3, r4, r3 -/* 80343660 003405C0 90 65 00 08 */ stw r3, 8(r5) -/* 80343664 003405C4 80 7C 00 1C */ lwz r3, 0x1c(r28) -/* 80343668 003405C8 90 03 00 00 */ stw r0, 0(r3) -/* 8034366C 003405CC 80 7C 00 04 */ lwz r3, 4(r28) -/* 80343670 003405D0 28 03 00 00 */ cmplwi r3, 0 -/* 80343674 003405D4 40 82 00 0C */ bne lbl_80343680 -/* 80343678 003405D8 7F A3 EB 78 */ mr r3, r29 -/* 8034367C 003405DC 48 00 02 C4 */ b lbl_80343940 -lbl_80343680: -/* 80343680 003405E0 38 63 FF FF */ addi r3, r3, -1 -/* 80343684 003405E4 38 00 00 06 */ li r0, 6 -/* 80343688 003405E8 90 7C 00 04 */ stw r3, 4(r28) -/* 8034368C 003405EC 38 60 00 02 */ li r3, 2 -/* 80343690 003405F0 80 9C 00 08 */ lwz r4, 8(r28) -/* 80343694 003405F4 38 84 00 01 */ addi r4, r4, 1 -/* 80343698 003405F8 90 9C 00 08 */ stw r4, 8(r28) -/* 8034369C 003405FC 80 BC 00 00 */ lwz r5, 0(r28) -/* 803436A0 00340600 38 85 00 01 */ addi r4, r5, 1 -/* 803436A4 00340604 90 9C 00 00 */ stw r4, 0(r28) -/* 803436A8 00340608 80 DC 00 1C */ lwz r6, 0x1c(r28) -/* 803436AC 0034060C 88 85 00 00 */ lbz r4, 0(r5) -/* 803436B0 00340610 80 A6 00 08 */ lwz r5, 8(r6) -/* 803436B4 00340614 7C 85 22 14 */ add r4, r5, r4 -/* 803436B8 00340618 90 86 00 08 */ stw r4, 8(r6) -/* 803436BC 0034061C 80 9C 00 1C */ lwz r4, 0x1c(r28) -/* 803436C0 00340620 80 84 00 08 */ lwz r4, 8(r4) -/* 803436C4 00340624 90 9C 00 30 */ stw r4, 0x30(r28) -/* 803436C8 00340628 80 9C 00 1C */ lwz r4, 0x1c(r28) -/* 803436CC 0034062C 90 04 00 00 */ stw r0, 0(r4) -/* 803436D0 00340630 48 00 02 70 */ b lbl_80343940 -/* 803436D4 00340634 38 00 00 0D */ li r0, 0xd -/* 803436D8 00340638 3C 60 80 3D */ lis r3, lbl_803D7BD8@ha -/* 803436DC 0034063C 38 63 7B D8 */ addi r3, r3, lbl_803D7BD8@l -/* 803436E0 00340640 90 04 00 00 */ stw r0, 0(r4) -/* 803436E4 00340644 38 63 00 46 */ addi r3, r3, 0x46 -/* 803436E8 00340648 38 00 00 00 */ li r0, 0 -/* 803436EC 0034064C 90 7C 00 18 */ stw r3, 0x18(r28) -/* 803436F0 00340650 38 60 FF FE */ li r3, -2 -/* 803436F4 00340654 80 9C 00 1C */ lwz r4, 0x1c(r28) -/* 803436F8 00340658 90 04 00 04 */ stw r0, 4(r4) -/* 803436FC 0034065C 48 00 02 44 */ b lbl_80343940 -/* 80343700 00340660 80 64 00 14 */ lwz r3, 0x14(r4) -/* 80343704 00340664 7F 84 E3 78 */ mr r4, r28 -/* 80343708 00340668 7F A5 EB 78 */ mr r5, r29 -/* 8034370C 0034066C 4B FF DC 91 */ bl inflate_blocks -/* 80343710 00340670 7C 7D 1B 78 */ mr r29, r3 -/* 80343714 00340674 2C 1D FF FD */ cmpwi r29, -3 -/* 80343718 00340678 40 82 00 20 */ bne lbl_80343738 -/* 8034371C 0034067C 80 7C 00 1C */ lwz r3, 0x1c(r28) -/* 80343720 00340680 38 80 00 0D */ li r4, 0xd -/* 80343724 00340684 38 00 00 00 */ li r0, 0 -/* 80343728 00340688 90 83 00 00 */ stw r4, 0(r3) -/* 8034372C 0034068C 80 7C 00 1C */ lwz r3, 0x1c(r28) -/* 80343730 00340690 90 03 00 04 */ stw r0, 4(r3) -/* 80343734 00340694 4B FF FC 90 */ b lbl_803433C4 -lbl_80343738: -/* 80343738 00340698 2C 1D 00 00 */ cmpwi r29, 0 -/* 8034373C 0034069C 40 82 00 08 */ bne lbl_80343744 -/* 80343740 003406A0 7F DD F3 78 */ mr r29, r30 -lbl_80343744: -/* 80343744 003406A4 2C 1D 00 01 */ cmpwi r29, 1 -/* 80343748 003406A8 41 82 00 0C */ beq lbl_80343754 -/* 8034374C 003406AC 7F A3 EB 78 */ mr r3, r29 -/* 80343750 003406B0 48 00 01 F0 */ b lbl_80343940 -lbl_80343754: -/* 80343754 003406B4 80 BC 00 1C */ lwz r5, 0x1c(r28) -/* 80343758 003406B8 7F DD F3 78 */ mr r29, r30 -/* 8034375C 003406BC 7F 84 E3 78 */ mr r4, r28 -/* 80343760 003406C0 80 65 00 14 */ lwz r3, 0x14(r5) -/* 80343764 003406C4 38 A5 00 04 */ addi r5, r5, 4 -/* 80343768 003406C8 4B FF EB A5 */ bl inflate_blocks_reset -/* 8034376C 003406CC 80 7C 00 1C */ lwz r3, 0x1c(r28) -/* 80343770 003406D0 80 03 00 0C */ lwz r0, 0xc(r3) -/* 80343774 003406D4 2C 00 00 00 */ cmpwi r0, 0 -/* 80343778 003406D8 41 82 00 10 */ beq lbl_80343788 -/* 8034377C 003406DC 38 00 00 0C */ li r0, 0xc -/* 80343780 003406E0 90 03 00 00 */ stw r0, 0(r3) -/* 80343784 003406E4 4B FF FC 40 */ b lbl_803433C4 -lbl_80343788: -/* 80343788 003406E8 38 00 00 08 */ li r0, 8 -/* 8034378C 003406EC 90 03 00 00 */ stw r0, 0(r3) -/* 80343790 003406F0 80 7C 00 04 */ lwz r3, 4(r28) -/* 80343794 003406F4 28 03 00 00 */ cmplwi r3, 0 -/* 80343798 003406F8 40 82 00 0C */ bne lbl_803437A4 -/* 8034379C 003406FC 7F A3 EB 78 */ mr r3, r29 -/* 803437A0 00340700 48 00 01 A0 */ b lbl_80343940 -lbl_803437A4: -/* 803437A4 00340704 38 63 FF FF */ addi r3, r3, -1 -/* 803437A8 00340708 38 00 00 09 */ li r0, 9 -/* 803437AC 0034070C 90 7C 00 04 */ stw r3, 4(r28) -/* 803437B0 00340710 7F DD F3 78 */ mr r29, r30 -/* 803437B4 00340714 80 7C 00 08 */ lwz r3, 8(r28) -/* 803437B8 00340718 38 63 00 01 */ addi r3, r3, 1 -/* 803437BC 0034071C 90 7C 00 08 */ stw r3, 8(r28) -/* 803437C0 00340720 80 9C 00 00 */ lwz r4, 0(r28) -/* 803437C4 00340724 38 64 00 01 */ addi r3, r4, 1 -/* 803437C8 00340728 90 7C 00 00 */ stw r3, 0(r28) -/* 803437CC 0034072C 88 84 00 00 */ lbz r4, 0(r4) -/* 803437D0 00340730 80 7C 00 1C */ lwz r3, 0x1c(r28) -/* 803437D4 00340734 54 84 C0 0E */ slwi r4, r4, 0x18 -/* 803437D8 00340738 90 83 00 08 */ stw r4, 8(r3) -/* 803437DC 0034073C 80 7C 00 1C */ lwz r3, 0x1c(r28) -/* 803437E0 00340740 90 03 00 00 */ stw r0, 0(r3) -/* 803437E4 00340744 80 7C 00 04 */ lwz r3, 4(r28) -/* 803437E8 00340748 28 03 00 00 */ cmplwi r3, 0 -/* 803437EC 0034074C 40 82 00 0C */ bne lbl_803437F8 -/* 803437F0 00340750 7F A3 EB 78 */ mr r3, r29 -/* 803437F4 00340754 48 00 01 4C */ b lbl_80343940 -lbl_803437F8: -/* 803437F8 00340758 38 63 FF FF */ addi r3, r3, -1 -/* 803437FC 0034075C 38 00 00 0A */ li r0, 0xa -/* 80343800 00340760 90 7C 00 04 */ stw r3, 4(r28) -/* 80343804 00340764 7F DD F3 78 */ mr r29, r30 -/* 80343808 00340768 80 7C 00 08 */ lwz r3, 8(r28) -/* 8034380C 0034076C 38 63 00 01 */ addi r3, r3, 1 -/* 80343810 00340770 90 7C 00 08 */ stw r3, 8(r28) -/* 80343814 00340774 80 9C 00 00 */ lwz r4, 0(r28) -/* 80343818 00340778 38 64 00 01 */ addi r3, r4, 1 -/* 8034381C 0034077C 90 7C 00 00 */ stw r3, 0(r28) -/* 80343820 00340780 80 BC 00 1C */ lwz r5, 0x1c(r28) -/* 80343824 00340784 88 64 00 00 */ lbz r3, 0(r4) -/* 80343828 00340788 80 85 00 08 */ lwz r4, 8(r5) -/* 8034382C 0034078C 54 63 80 1E */ slwi r3, r3, 0x10 -/* 80343830 00340790 7C 64 1A 14 */ add r3, r4, r3 -/* 80343834 00340794 90 65 00 08 */ stw r3, 8(r5) -/* 80343838 00340798 80 7C 00 1C */ lwz r3, 0x1c(r28) -/* 8034383C 0034079C 90 03 00 00 */ stw r0, 0(r3) -/* 80343840 003407A0 80 7C 00 04 */ lwz r3, 4(r28) -/* 80343844 003407A4 28 03 00 00 */ cmplwi r3, 0 -/* 80343848 003407A8 40 82 00 0C */ bne lbl_80343854 -/* 8034384C 003407AC 7F A3 EB 78 */ mr r3, r29 -/* 80343850 003407B0 48 00 00 F0 */ b lbl_80343940 -lbl_80343854: -/* 80343854 003407B4 38 63 FF FF */ addi r3, r3, -1 -/* 80343858 003407B8 38 00 00 0B */ li r0, 0xb -/* 8034385C 003407BC 90 7C 00 04 */ stw r3, 4(r28) -/* 80343860 003407C0 7F DD F3 78 */ mr r29, r30 -/* 80343864 003407C4 80 7C 00 08 */ lwz r3, 8(r28) -/* 80343868 003407C8 38 63 00 01 */ addi r3, r3, 1 -/* 8034386C 003407CC 90 7C 00 08 */ stw r3, 8(r28) -/* 80343870 003407D0 80 9C 00 00 */ lwz r4, 0(r28) -/* 80343874 003407D4 38 64 00 01 */ addi r3, r4, 1 -/* 80343878 003407D8 90 7C 00 00 */ stw r3, 0(r28) -/* 8034387C 003407DC 80 BC 00 1C */ lwz r5, 0x1c(r28) -/* 80343880 003407E0 88 64 00 00 */ lbz r3, 0(r4) -/* 80343884 003407E4 80 85 00 08 */ lwz r4, 8(r5) -/* 80343888 003407E8 54 63 40 2E */ slwi r3, r3, 8 -/* 8034388C 003407EC 7C 64 1A 14 */ add r3, r4, r3 -/* 80343890 003407F0 90 65 00 08 */ stw r3, 8(r5) -/* 80343894 003407F4 80 7C 00 1C */ lwz r3, 0x1c(r28) -/* 80343898 003407F8 90 03 00 00 */ stw r0, 0(r3) -/* 8034389C 003407FC 80 7C 00 04 */ lwz r3, 4(r28) -/* 803438A0 00340800 28 03 00 00 */ cmplwi r3, 0 -/* 803438A4 00340804 40 82 00 0C */ bne lbl_803438B0 -/* 803438A8 00340808 7F A3 EB 78 */ mr r3, r29 -/* 803438AC 0034080C 48 00 00 94 */ b lbl_80343940 -lbl_803438B0: -/* 803438B0 00340810 38 03 FF FF */ addi r0, r3, -1 -/* 803438B4 00340814 7F DD F3 78 */ mr r29, r30 -/* 803438B8 00340818 90 1C 00 04 */ stw r0, 4(r28) -/* 803438BC 0034081C 80 7C 00 08 */ lwz r3, 8(r28) -/* 803438C0 00340820 38 03 00 01 */ addi r0, r3, 1 -/* 803438C4 00340824 90 1C 00 08 */ stw r0, 8(r28) -/* 803438C8 00340828 80 7C 00 00 */ lwz r3, 0(r28) -/* 803438CC 0034082C 38 03 00 01 */ addi r0, r3, 1 -/* 803438D0 00340830 90 1C 00 00 */ stw r0, 0(r28) -/* 803438D4 00340834 80 9C 00 1C */ lwz r4, 0x1c(r28) -/* 803438D8 00340838 88 03 00 00 */ lbz r0, 0(r3) -/* 803438DC 0034083C 80 64 00 08 */ lwz r3, 8(r4) -/* 803438E0 00340840 7C 03 02 14 */ add r0, r3, r0 -/* 803438E4 00340844 90 04 00 08 */ stw r0, 8(r4) -/* 803438E8 00340848 80 9C 00 1C */ lwz r4, 0x1c(r28) -/* 803438EC 0034084C 80 64 00 04 */ lwz r3, 4(r4) -/* 803438F0 00340850 80 04 00 08 */ lwz r0, 8(r4) -/* 803438F4 00340854 7C 03 00 40 */ cmplw r3, r0 -/* 803438F8 00340858 41 82 00 2C */ beq lbl_80343924 -/* 803438FC 0034085C 38 00 00 0D */ li r0, 0xd -/* 80343900 00340860 3C 60 80 3D */ lis r3, lbl_803D7BD8@ha -/* 80343904 00340864 38 63 7B D8 */ addi r3, r3, lbl_803D7BD8@l -/* 80343908 00340868 90 04 00 00 */ stw r0, 0(r4) -/* 8034390C 0034086C 38 63 00 56 */ addi r3, r3, 0x56 -/* 80343910 00340870 38 00 00 05 */ li r0, 5 -/* 80343914 00340874 90 7C 00 18 */ stw r3, 0x18(r28) -/* 80343918 00340878 80 7C 00 1C */ lwz r3, 0x1c(r28) -/* 8034391C 0034087C 90 03 00 04 */ stw r0, 4(r3) -/* 80343920 00340880 4B FF FA A4 */ b lbl_803433C4 -lbl_80343924: -/* 80343924 00340884 38 00 00 0C */ li r0, 0xc -/* 80343928 00340888 90 04 00 00 */ stw r0, 0(r4) -/* 8034392C 0034088C 38 60 00 01 */ li r3, 1 -/* 80343930 00340890 48 00 00 10 */ b lbl_80343940 -/* 80343934 00340894 38 60 FF FD */ li r3, -3 -/* 80343938 00340898 48 00 00 08 */ b lbl_80343940 -lbl_8034393C: -/* 8034393C 0034089C 38 60 FF FE */ li r3, -2 -lbl_80343940: -/* 80343940 003408A0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80343944 003408A4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80343948 003408A8 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8034394C 003408AC 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80343950 003408B0 83 81 00 10 */ lwz r28, 0x10(r1) -/* 80343954 003408B4 7C 08 03 A6 */ mtlr r0 -/* 80343958 003408B8 38 21 00 20 */ addi r1, r1, 0x20 -/* 8034395C 003408BC 4E 80 00 20 */ blr - -.global inflateInit2_ -inflateInit2_: -/* 80343960 003408C0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80343964 003408C4 7C 08 02 A6 */ mflr r0 -/* 80343968 003408C8 28 04 00 00 */ cmplwi r4, 0 -/* 8034396C 003408CC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80343970 003408D0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80343974 003408D4 7C 7F 1B 78 */ mr r31, r3 -/* 80343978 003408D8 41 82 00 2C */ beq lbl_803439A4 -/* 8034397C 003408DC 3C 60 80 3D */ lis r3, lbl_803D7BD8@ha -/* 80343980 003408E0 88 84 00 00 */ lbz r4, 0(r4) -/* 80343984 003408E4 38 63 7B D8 */ addi r3, r3, lbl_803D7BD8@l -/* 80343988 003408E8 88 03 00 6B */ lbz r0, 0x6b(r3) -/* 8034398C 003408EC 7C 83 07 74 */ extsb r3, r4 -/* 80343990 003408F0 7C 00 07 74 */ extsb r0, r0 -/* 80343994 003408F4 7C 03 00 00 */ cmpw r3, r0 -/* 80343998 003408F8 40 82 00 0C */ bne lbl_803439A4 -/* 8034399C 003408FC 28 05 00 38 */ cmplwi r5, 0x38 -/* 803439A0 00340900 41 82 00 0C */ beq lbl_803439AC -lbl_803439A4: -/* 803439A4 00340904 38 60 FF FA */ li r3, -6 -/* 803439A8 00340908 48 00 01 84 */ b lbl_80343B2C -lbl_803439AC: -/* 803439AC 0034090C 28 1F 00 00 */ cmplwi r31, 0 -/* 803439B0 00340910 40 82 00 0C */ bne lbl_803439BC -/* 803439B4 00340914 38 60 FF FE */ li r3, -2 -/* 803439B8 00340918 48 00 01 74 */ b lbl_80343B2C -lbl_803439BC: -/* 803439BC 0034091C 38 80 00 00 */ li r4, 0 -/* 803439C0 00340920 90 9F 00 18 */ stw r4, 0x18(r31) -/* 803439C4 00340924 80 1F 00 20 */ lwz r0, 0x20(r31) -/* 803439C8 00340928 28 00 00 00 */ cmplwi r0, 0 -/* 803439CC 0034092C 40 82 00 14 */ bne lbl_803439E0 -/* 803439D0 00340930 3C 60 80 34 */ lis r3, zcalloc@ha -/* 803439D4 00340934 38 03 45 C0 */ addi r0, r3, zcalloc@l -/* 803439D8 00340938 90 1F 00 20 */ stw r0, 0x20(r31) -/* 803439DC 0034093C 90 9F 00 28 */ stw r4, 0x28(r31) -lbl_803439E0: -/* 803439E0 00340940 80 1F 00 24 */ lwz r0, 0x24(r31) -/* 803439E4 00340944 28 00 00 00 */ cmplwi r0, 0 -/* 803439E8 00340948 40 82 00 10 */ bne lbl_803439F8 -/* 803439EC 0034094C 3C 60 80 34 */ lis r3, zcfree@ha -/* 803439F0 00340950 38 03 45 8C */ addi r0, r3, zcfree@l -/* 803439F4 00340954 90 1F 00 24 */ stw r0, 0x24(r31) -lbl_803439F8: -/* 803439F8 00340958 81 9F 00 20 */ lwz r12, 0x20(r31) -/* 803439FC 0034095C 38 80 00 01 */ li r4, 1 -/* 80343A00 00340960 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 80343A04 00340964 38 A0 00 18 */ li r5, 0x18 -/* 80343A08 00340968 7D 89 03 A6 */ mtctr r12 -/* 80343A0C 0034096C 4E 80 04 21 */ bctrl -/* 80343A10 00340970 28 03 00 00 */ cmplwi r3, 0 -/* 80343A14 00340974 90 7F 00 1C */ stw r3, 0x1c(r31) -/* 80343A18 00340978 40 82 00 0C */ bne lbl_80343A24 -/* 80343A1C 0034097C 38 60 FF FC */ li r3, -4 -/* 80343A20 00340980 48 00 01 0C */ b lbl_80343B2C -lbl_80343A24: -/* 80343A24 00340984 80 9F 00 1C */ lwz r4, 0x1c(r31) -/* 80343A28 00340988 38 C0 00 00 */ li r6, 0 -/* 80343A2C 0034098C 38 00 00 0F */ li r0, 0xf -/* 80343A30 00340990 3C 60 80 34 */ lis r3, adler32@ha -/* 80343A34 00340994 90 C4 00 14 */ stw r6, 0x14(r4) -/* 80343A38 00340998 38 83 11 20 */ addi r4, r3, adler32@l -/* 80343A3C 0034099C 7F E3 FB 78 */ mr r3, r31 -/* 80343A40 003409A0 80 BF 00 1C */ lwz r5, 0x1c(r31) -/* 80343A44 003409A4 90 C5 00 0C */ stw r6, 0xc(r5) -/* 80343A48 003409A8 80 BF 00 1C */ lwz r5, 0x1c(r31) -/* 80343A4C 003409AC 90 05 00 10 */ stw r0, 0x10(r5) -/* 80343A50 003409B0 80 BF 00 1C */ lwz r5, 0x1c(r31) -/* 80343A54 003409B4 80 05 00 0C */ lwz r0, 0xc(r5) -/* 80343A58 003409B8 2C 00 00 00 */ cmpwi r0, 0 -/* 80343A5C 003409BC 41 82 00 08 */ beq lbl_80343A64 -/* 80343A60 003409C0 7C C4 33 78 */ mr r4, r6 -lbl_80343A64: -/* 80343A64 003409C4 3C A0 00 01 */ lis r5, 0x00008000@ha -/* 80343A68 003409C8 38 A5 80 00 */ addi r5, r5, 0x00008000@l -/* 80343A6C 003409CC 4B FF E7 01 */ bl inflate_blocks_new -/* 80343A70 003409D0 80 9F 00 1C */ lwz r4, 0x1c(r31) -/* 80343A74 003409D4 28 03 00 00 */ cmplwi r3, 0 -/* 80343A78 003409D8 90 64 00 14 */ stw r3, 0x14(r4) -/* 80343A7C 003409DC 40 82 00 5C */ bne lbl_80343AD8 -/* 80343A80 003409E0 28 1F 00 00 */ cmplwi r31, 0 -/* 80343A84 003409E4 41 82 00 4C */ beq lbl_80343AD0 -/* 80343A88 003409E8 80 7F 00 1C */ lwz r3, 0x1c(r31) -/* 80343A8C 003409EC 28 03 00 00 */ cmplwi r3, 0 -/* 80343A90 003409F0 41 82 00 40 */ beq lbl_80343AD0 -/* 80343A94 003409F4 80 1F 00 24 */ lwz r0, 0x24(r31) -/* 80343A98 003409F8 28 00 00 00 */ cmplwi r0, 0 -/* 80343A9C 003409FC 41 82 00 34 */ beq lbl_80343AD0 -/* 80343AA0 00340A00 80 63 00 14 */ lwz r3, 0x14(r3) -/* 80343AA4 00340A04 28 03 00 00 */ cmplwi r3, 0 -/* 80343AA8 00340A08 41 82 00 0C */ beq lbl_80343AB4 -/* 80343AAC 00340A0C 7F E4 FB 78 */ mr r4, r31 -/* 80343AB0 00340A10 4B FF D7 F5 */ bl inflate_blocks_free -lbl_80343AB4: -/* 80343AB4 00340A14 81 9F 00 24 */ lwz r12, 0x24(r31) -/* 80343AB8 00340A18 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 80343ABC 00340A1C 80 9F 00 1C */ lwz r4, 0x1c(r31) -/* 80343AC0 00340A20 7D 89 03 A6 */ mtctr r12 -/* 80343AC4 00340A24 4E 80 04 21 */ bctrl -/* 80343AC8 00340A28 38 00 00 00 */ li r0, 0 -/* 80343ACC 00340A2C 90 1F 00 1C */ stw r0, 0x1c(r31) -lbl_80343AD0: -/* 80343AD0 00340A30 38 60 FF FC */ li r3, -4 -/* 80343AD4 00340A34 48 00 00 58 */ b lbl_80343B2C -lbl_80343AD8: -/* 80343AD8 00340A38 28 1F 00 00 */ cmplwi r31, 0 -/* 80343ADC 00340A3C 41 82 00 4C */ beq lbl_80343B28 -/* 80343AE0 00340A40 80 1F 00 1C */ lwz r0, 0x1c(r31) -/* 80343AE4 00340A44 28 00 00 00 */ cmplwi r0, 0 -/* 80343AE8 00340A48 41 82 00 40 */ beq lbl_80343B28 -/* 80343AEC 00340A4C 38 60 00 00 */ li r3, 0 -/* 80343AF0 00340A50 90 7F 00 14 */ stw r3, 0x14(r31) -/* 80343AF4 00340A54 90 7F 00 08 */ stw r3, 8(r31) -/* 80343AF8 00340A58 90 7F 00 18 */ stw r3, 0x18(r31) -/* 80343AFC 00340A5C 80 9F 00 1C */ lwz r4, 0x1c(r31) -/* 80343B00 00340A60 80 04 00 0C */ lwz r0, 0xc(r4) -/* 80343B04 00340A64 2C 00 00 00 */ cmpwi r0, 0 -/* 80343B08 00340A68 41 82 00 08 */ beq lbl_80343B10 -/* 80343B0C 00340A6C 38 60 00 07 */ li r3, 7 -lbl_80343B10: -/* 80343B10 00340A70 90 64 00 00 */ stw r3, 0(r4) -/* 80343B14 00340A74 7F E4 FB 78 */ mr r4, r31 -/* 80343B18 00340A78 38 A0 00 00 */ li r5, 0 -/* 80343B1C 00340A7C 80 7F 00 1C */ lwz r3, 0x1c(r31) -/* 80343B20 00340A80 80 63 00 14 */ lwz r3, 0x14(r3) -/* 80343B24 00340A84 4B FF E7 E9 */ bl inflate_blocks_reset -lbl_80343B28: -/* 80343B28 00340A88 38 60 00 00 */ li r3, 0 -lbl_80343B2C: -/* 80343B2C 00340A8C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80343B30 00340A90 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80343B34 00340A94 7C 08 03 A6 */ mtlr r0 -/* 80343B38 00340A98 38 21 00 10 */ addi r1, r1, 0x10 -/* 80343B3C 00340A9C 4E 80 00 20 */ blr - -.global inflateEnd -inflateEnd: -/* 80343B40 00340AA0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80343B44 00340AA4 7C 08 02 A6 */ mflr r0 -/* 80343B48 00340AA8 90 01 00 14 */ stw r0, 0x14(r1) -/* 80343B4C 00340AAC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80343B50 00340AB0 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80343B54 00340AB4 41 82 00 1C */ beq lbl_80343B70 -/* 80343B58 00340AB8 80 7F 00 1C */ lwz r3, 0x1c(r31) -/* 80343B5C 00340ABC 28 03 00 00 */ cmplwi r3, 0 -/* 80343B60 00340AC0 41 82 00 10 */ beq lbl_80343B70 -/* 80343B64 00340AC4 80 1F 00 24 */ lwz r0, 0x24(r31) -/* 80343B68 00340AC8 28 00 00 00 */ cmplwi r0, 0 -/* 80343B6C 00340ACC 40 82 00 0C */ bne lbl_80343B78 -lbl_80343B70: -/* 80343B70 00340AD0 38 60 FF FE */ li r3, -2 -/* 80343B74 00340AD4 48 00 00 38 */ b lbl_80343BAC -lbl_80343B78: -/* 80343B78 00340AD8 80 63 00 14 */ lwz r3, 0x14(r3) -/* 80343B7C 00340ADC 28 03 00 00 */ cmplwi r3, 0 -/* 80343B80 00340AE0 41 82 00 0C */ beq lbl_80343B8C -/* 80343B84 00340AE4 7F E4 FB 78 */ mr r4, r31 -/* 80343B88 00340AE8 4B FF D7 1D */ bl inflate_blocks_free -lbl_80343B8C: -/* 80343B8C 00340AEC 81 9F 00 24 */ lwz r12, 0x24(r31) -/* 80343B90 00340AF0 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 80343B94 00340AF4 80 9F 00 1C */ lwz r4, 0x1c(r31) -/* 80343B98 00340AF8 7D 89 03 A6 */ mtctr r12 -/* 80343B9C 00340AFC 4E 80 04 21 */ bctrl -/* 80343BA0 00340B00 38 00 00 00 */ li r0, 0 -/* 80343BA4 00340B04 38 60 00 00 */ li r3, 0 -/* 80343BA8 00340B08 90 1F 00 1C */ stw r0, 0x1c(r31) -lbl_80343BAC: -/* 80343BAC 00340B0C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80343BB0 00340B10 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80343BB4 00340B14 7C 08 03 A6 */ mtlr r0 -/* 80343BB8 00340B18 38 21 00 10 */ addi r1, r1, 0x10 -/* 80343BBC 00340B1C 4E 80 00 20 */ blr - -.global inflate_trees_fixed -inflate_trees_fixed: -/* 80343BC0 00340B20 80 0D 9D 58 */ lwz r0, lbl_805A8918@sda21(r13) -/* 80343BC4 00340B24 3D 00 80 3F */ lis r8, lbl_803EE4C8@ha -/* 80343BC8 00340B28 3C E0 80 3F */ lis r7, lbl_803EF4C8@ha -/* 80343BCC 00340B2C 90 03 00 00 */ stw r0, 0(r3) -/* 80343BD0 00340B30 39 08 E4 C8 */ addi r8, r8, lbl_803EE4C8@l -/* 80343BD4 00340B34 38 07 F4 C8 */ addi r0, r7, lbl_803EF4C8@l -/* 80343BD8 00340B38 38 60 00 00 */ li r3, 0 -/* 80343BDC 00340B3C 80 ED 9D 5C */ lwz r7, lbl_805A891C@sda21(r13) -/* 80343BE0 00340B40 90 E4 00 00 */ stw r7, 0(r4) -/* 80343BE4 00340B44 91 05 00 00 */ stw r8, 0(r5) -/* 80343BE8 00340B48 90 06 00 00 */ stw r0, 0(r6) -/* 80343BEC 00340B4C 4E 80 00 20 */ blr - -.global inflate_trees_dynamic -inflate_trees_dynamic: -/* 80343BF0 00340B50 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 80343BF4 00340B54 7C 08 02 A6 */ mflr r0 -/* 80343BF8 00340B58 3D 60 80 3D */ lis r11, lbl_803D7C50@ha -/* 80343BFC 00340B5C 90 01 00 54 */ stw r0, 0x54(r1) -/* 80343C00 00340B60 38 00 00 00 */ li r0, 0 -/* 80343C04 00340B64 BE A1 00 24 */ stmw r21, 0x24(r1) -/* 80343C08 00340B68 7C 9B 23 78 */ mr r27, r4 -/* 80343C0C 00340B6C 7C BC 2B 78 */ mr r28, r5 -/* 80343C10 00340B70 83 C1 00 58 */ lwz r30, 0x58(r1) -/* 80343C14 00340B74 7C 7A 1B 78 */ mr r26, r3 -/* 80343C18 00340B78 7C D5 33 78 */ mr r21, r6 -/* 80343C1C 00340B7C 7C FD 3B 78 */ mr r29, r7 -/* 80343C20 00340B80 7D 18 43 78 */ mr r24, r8 -/* 80343C24 00340B84 7D 36 4B 78 */ mr r22, r9 -/* 80343C28 00340B88 7D 57 53 78 */ mr r23, r10 -/* 80343C2C 00340B8C 3B 2B 7C 50 */ addi r25, r11, lbl_803D7C50@l -/* 80343C30 00340B90 38 80 01 20 */ li r4, 0x120 -/* 80343C34 00340B94 38 A0 00 04 */ li r5, 4 -/* 80343C38 00340B98 90 01 00 10 */ stw r0, 0x10(r1) -/* 80343C3C 00340B9C 81 9E 00 20 */ lwz r12, 0x20(r30) -/* 80343C40 00340BA0 80 7E 00 28 */ lwz r3, 0x28(r30) -/* 80343C44 00340BA4 7D 89 03 A6 */ mtctr r12 -/* 80343C48 00340BA8 4E 80 04 21 */ bctrl -/* 80343C4C 00340BAC 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80343C50 00340BB0 40 82 00 0C */ bne lbl_80343C5C -/* 80343C54 00340BB4 38 60 FF FC */ li r3, -4 -/* 80343C58 00340BB8 48 00 01 74 */ b lbl_80343DCC -lbl_80343C5C: -/* 80343C5C 00340BBC 38 01 00 10 */ addi r0, r1, 0x10 -/* 80343C60 00340BC0 7F 83 E3 78 */ mr r3, r28 -/* 80343C64 00340BC4 90 01 00 08 */ stw r0, 8(r1) -/* 80343C68 00340BC8 7F 44 D3 78 */ mr r4, r26 -/* 80343C6C 00340BCC 7F 08 C3 78 */ mr r8, r24 -/* 80343C70 00340BD0 7E A9 AB 78 */ mr r9, r21 -/* 80343C74 00340BD4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80343C78 00340BD8 7E EA BB 78 */ mr r10, r23 -/* 80343C7C 00340BDC 38 D9 00 30 */ addi r6, r25, 0x30 -/* 80343C80 00340BE0 38 F9 00 AC */ addi r7, r25, 0xac -/* 80343C84 00340BE4 38 A0 01 01 */ li r5, 0x101 -/* 80343C88 00340BE8 48 00 02 51 */ bl huft_build -/* 80343C8C 00340BEC 7C 78 1B 79 */ or. r24, r3, r3 -/* 80343C90 00340BF0 40 82 00 10 */ bne lbl_80343CA0 -/* 80343C94 00340BF4 80 15 00 00 */ lwz r0, 0(r21) -/* 80343C98 00340BF8 28 00 00 00 */ cmplwi r0, 0 -/* 80343C9C 00340BFC 40 82 00 54 */ bne lbl_80343CF0 -lbl_80343CA0: -/* 80343CA0 00340C00 2C 18 FF FD */ cmpwi r24, -3 -/* 80343CA4 00340C04 40 82 00 14 */ bne lbl_80343CB8 -/* 80343CA8 00340C08 3C 60 80 3D */ lis r3, lbl_803D7E68@ha -/* 80343CAC 00340C0C 38 03 7E 68 */ addi r0, r3, lbl_803D7E68@l -/* 80343CB0 00340C10 90 1E 00 18 */ stw r0, 0x18(r30) -/* 80343CB4 00340C14 48 00 00 20 */ b lbl_80343CD4 -lbl_80343CB8: -/* 80343CB8 00340C18 2C 18 FF FC */ cmpwi r24, -4 -/* 80343CBC 00340C1C 41 82 00 18 */ beq lbl_80343CD4 -/* 80343CC0 00340C20 3C 60 80 3D */ lis r3, lbl_803D7E68@ha -/* 80343CC4 00340C24 3B 00 FF FD */ li r24, -3 -/* 80343CC8 00340C28 38 63 7E 68 */ addi r3, r3, lbl_803D7E68@l -/* 80343CCC 00340C2C 38 03 00 23 */ addi r0, r3, 0x23 -/* 80343CD0 00340C30 90 1E 00 18 */ stw r0, 0x18(r30) -lbl_80343CD4: -/* 80343CD4 00340C34 81 9E 00 24 */ lwz r12, 0x24(r30) -/* 80343CD8 00340C38 7F E4 FB 78 */ mr r4, r31 -/* 80343CDC 00340C3C 80 7E 00 28 */ lwz r3, 0x28(r30) -/* 80343CE0 00340C40 7D 89 03 A6 */ mtctr r12 -/* 80343CE4 00340C44 4E 80 04 21 */ bctrl -/* 80343CE8 00340C48 7F 03 C3 78 */ mr r3, r24 -/* 80343CEC 00340C4C 48 00 00 E0 */ b lbl_80343DCC -lbl_80343CF0: -/* 80343CF0 00340C50 38 61 00 10 */ addi r3, r1, 0x10 -/* 80343CF4 00340C54 57 40 10 3A */ slwi r0, r26, 2 -/* 80343CF8 00340C58 90 61 00 08 */ stw r3, 8(r1) -/* 80343CFC 00340C5C 7F 64 DB 78 */ mr r4, r27 -/* 80343D00 00340C60 7E C8 B3 78 */ mr r8, r22 -/* 80343D04 00340C64 7F A9 EB 78 */ mr r9, r29 -/* 80343D08 00340C68 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80343D0C 00340C6C 7E EA BB 78 */ mr r10, r23 -/* 80343D10 00340C70 7C 7C 02 14 */ add r3, r28, r0 -/* 80343D14 00340C74 38 D9 01 28 */ addi r6, r25, 0x128 -/* 80343D18 00340C78 38 F9 01 A0 */ addi r7, r25, 0x1a0 -/* 80343D1C 00340C7C 38 A0 00 00 */ li r5, 0 -/* 80343D20 00340C80 48 00 01 B9 */ bl huft_build -/* 80343D24 00340C84 7C 79 1B 79 */ or. r25, r3, r3 -/* 80343D28 00340C88 40 82 00 18 */ bne lbl_80343D40 -/* 80343D2C 00340C8C 80 1D 00 00 */ lwz r0, 0(r29) -/* 80343D30 00340C90 28 00 00 00 */ cmplwi r0, 0 -/* 80343D34 00340C94 40 82 00 80 */ bne lbl_80343DB4 -/* 80343D38 00340C98 28 1A 01 01 */ cmplwi r26, 0x101 -/* 80343D3C 00340C9C 40 81 00 78 */ ble lbl_80343DB4 -lbl_80343D40: -/* 80343D40 00340CA0 2C 19 FF FD */ cmpwi r25, -3 -/* 80343D44 00340CA4 40 82 00 18 */ bne lbl_80343D5C -/* 80343D48 00340CA8 3C 60 80 3D */ lis r3, lbl_803D7E68@ha -/* 80343D4C 00340CAC 38 63 7E 68 */ addi r3, r3, lbl_803D7E68@l -/* 80343D50 00340CB0 38 03 00 42 */ addi r0, r3, 0x42 -/* 80343D54 00340CB4 90 1E 00 18 */ stw r0, 0x18(r30) -/* 80343D58 00340CB8 48 00 00 40 */ b lbl_80343D98 -lbl_80343D5C: -/* 80343D5C 00340CBC 2C 19 FF FB */ cmpwi r25, -5 -/* 80343D60 00340CC0 40 82 00 1C */ bne lbl_80343D7C -/* 80343D64 00340CC4 3C 60 80 3D */ lis r3, lbl_803D7E68@ha -/* 80343D68 00340CC8 3B 20 FF FD */ li r25, -3 -/* 80343D6C 00340CCC 38 63 7E 68 */ addi r3, r3, lbl_803D7E68@l -/* 80343D70 00340CD0 38 03 00 5F */ addi r0, r3, 0x5f -/* 80343D74 00340CD4 90 1E 00 18 */ stw r0, 0x18(r30) -/* 80343D78 00340CD8 48 00 00 20 */ b lbl_80343D98 -lbl_80343D7C: -/* 80343D7C 00340CDC 2C 19 FF FC */ cmpwi r25, -4 -/* 80343D80 00340CE0 41 82 00 18 */ beq lbl_80343D98 -/* 80343D84 00340CE4 3C 60 80 3D */ lis r3, lbl_803D7E68@ha -/* 80343D88 00340CE8 3B 20 FF FD */ li r25, -3 -/* 80343D8C 00340CEC 38 63 7E 68 */ addi r3, r3, lbl_803D7E68@l -/* 80343D90 00340CF0 38 03 00 78 */ addi r0, r3, 0x78 -/* 80343D94 00340CF4 90 1E 00 18 */ stw r0, 0x18(r30) -lbl_80343D98: -/* 80343D98 00340CF8 81 9E 00 24 */ lwz r12, 0x24(r30) -/* 80343D9C 00340CFC 7F E4 FB 78 */ mr r4, r31 -/* 80343DA0 00340D00 80 7E 00 28 */ lwz r3, 0x28(r30) -/* 80343DA4 00340D04 7D 89 03 A6 */ mtctr r12 -/* 80343DA8 00340D08 4E 80 04 21 */ bctrl -/* 80343DAC 00340D0C 7F 23 CB 78 */ mr r3, r25 -/* 80343DB0 00340D10 48 00 00 1C */ b lbl_80343DCC -lbl_80343DB4: -/* 80343DB4 00340D14 81 9E 00 24 */ lwz r12, 0x24(r30) -/* 80343DB8 00340D18 7F E4 FB 78 */ mr r4, r31 -/* 80343DBC 00340D1C 80 7E 00 28 */ lwz r3, 0x28(r30) -/* 80343DC0 00340D20 7D 89 03 A6 */ mtctr r12 -/* 80343DC4 00340D24 4E 80 04 21 */ bctrl -/* 80343DC8 00340D28 38 60 00 00 */ li r3, 0 -lbl_80343DCC: -/* 80343DCC 00340D2C BA A1 00 24 */ lmw r21, 0x24(r1) -/* 80343DD0 00340D30 80 01 00 54 */ lwz r0, 0x54(r1) -/* 80343DD4 00340D34 7C 08 03 A6 */ mtlr r0 -/* 80343DD8 00340D38 38 21 00 50 */ addi r1, r1, 0x50 -/* 80343DDC 00340D3C 4E 80 00 20 */ blr - -.global inflate_trees_bits -inflate_trees_bits: -/* 80343DE0 00340D40 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80343DE4 00340D44 7C 08 02 A6 */ mflr r0 -/* 80343DE8 00340D48 90 01 00 34 */ stw r0, 0x34(r1) -/* 80343DEC 00340D4C 38 00 00 00 */ li r0, 0 -/* 80343DF0 00340D50 BF 41 00 18 */ stmw r26, 0x18(r1) -/* 80343DF4 00340D54 7C 9B 23 78 */ mr r27, r4 -/* 80343DF8 00340D58 7C BC 2B 78 */ mr r28, r5 -/* 80343DFC 00340D5C 7C FD 3B 78 */ mr r29, r7 -/* 80343E00 00340D60 7C 7A 1B 78 */ mr r26, r3 -/* 80343E04 00340D64 7C DF 33 78 */ mr r31, r6 -/* 80343E08 00340D68 38 80 00 13 */ li r4, 0x13 -/* 80343E0C 00340D6C 38 A0 00 04 */ li r5, 4 -/* 80343E10 00340D70 90 01 00 10 */ stw r0, 0x10(r1) -/* 80343E14 00340D74 81 87 00 20 */ lwz r12, 0x20(r7) -/* 80343E18 00340D78 80 67 00 28 */ lwz r3, 0x28(r7) -/* 80343E1C 00340D7C 7D 89 03 A6 */ mtctr r12 -/* 80343E20 00340D80 4E 80 04 21 */ bctrl -/* 80343E24 00340D84 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80343E28 00340D88 40 82 00 0C */ bne lbl_80343E34 -/* 80343E2C 00340D8C 38 60 FF FC */ li r3, -4 -/* 80343E30 00340D90 48 00 00 94 */ b lbl_80343EC4 -lbl_80343E34: -/* 80343E34 00340D94 38 01 00 10 */ addi r0, r1, 0x10 -/* 80343E38 00340D98 7F 43 D3 78 */ mr r3, r26 -/* 80343E3C 00340D9C 90 01 00 08 */ stw r0, 8(r1) -/* 80343E40 00340DA0 7F 88 E3 78 */ mr r8, r28 -/* 80343E44 00340DA4 7F 69 DB 78 */ mr r9, r27 -/* 80343E48 00340DA8 7F EA FB 78 */ mr r10, r31 -/* 80343E4C 00340DAC 93 C1 00 0C */ stw r30, 0xc(r1) -/* 80343E50 00340DB0 38 80 00 13 */ li r4, 0x13 -/* 80343E54 00340DB4 38 A0 00 13 */ li r5, 0x13 -/* 80343E58 00340DB8 38 C0 00 00 */ li r6, 0 -/* 80343E5C 00340DBC 38 E0 00 00 */ li r7, 0 -/* 80343E60 00340DC0 48 00 00 79 */ bl huft_build -/* 80343E64 00340DC4 7C 7F 1B 78 */ mr r31, r3 -/* 80343E68 00340DC8 2C 1F FF FD */ cmpwi r31, -3 -/* 80343E6C 00340DCC 40 82 00 18 */ bne lbl_80343E84 -/* 80343E70 00340DD0 3C 60 80 3D */ lis r3, lbl_803D7E68@ha -/* 80343E74 00340DD4 38 63 7E 68 */ addi r3, r3, lbl_803D7E68@l -/* 80343E78 00340DD8 38 03 00 99 */ addi r0, r3, 0x99 -/* 80343E7C 00340DDC 90 1D 00 18 */ stw r0, 0x18(r29) -/* 80343E80 00340DE0 48 00 00 2C */ b lbl_80343EAC -lbl_80343E84: -/* 80343E84 00340DE4 2C 1F FF FB */ cmpwi r31, -5 -/* 80343E88 00340DE8 41 82 00 10 */ beq lbl_80343E98 -/* 80343E8C 00340DEC 80 1B 00 00 */ lwz r0, 0(r27) -/* 80343E90 00340DF0 28 00 00 00 */ cmplwi r0, 0 -/* 80343E94 00340DF4 40 82 00 18 */ bne lbl_80343EAC -lbl_80343E98: -/* 80343E98 00340DF8 3C 60 80 3D */ lis r3, lbl_803D7E68@ha -/* 80343E9C 00340DFC 3B E0 FF FD */ li r31, -3 -/* 80343EA0 00340E00 38 63 7E 68 */ addi r3, r3, lbl_803D7E68@l -/* 80343EA4 00340E04 38 03 00 C1 */ addi r0, r3, 0xc1 -/* 80343EA8 00340E08 90 1D 00 18 */ stw r0, 0x18(r29) -lbl_80343EAC: -/* 80343EAC 00340E0C 81 9D 00 24 */ lwz r12, 0x24(r29) -/* 80343EB0 00340E10 7F C4 F3 78 */ mr r4, r30 -/* 80343EB4 00340E14 80 7D 00 28 */ lwz r3, 0x28(r29) -/* 80343EB8 00340E18 7D 89 03 A6 */ mtctr r12 -/* 80343EBC 00340E1C 4E 80 04 21 */ bctrl -/* 80343EC0 00340E20 7F E3 FB 78 */ mr r3, r31 -lbl_80343EC4: -/* 80343EC4 00340E24 BB 41 00 18 */ lmw r26, 0x18(r1) -/* 80343EC8 00340E28 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80343ECC 00340E2C 7C 08 03 A6 */ mtlr r0 -/* 80343ED0 00340E30 38 21 00 30 */ addi r1, r1, 0x30 -/* 80343ED4 00340E34 4E 80 00 20 */ blr - -.global huft_build -huft_build: -/* 80343ED8 00340E38 94 21 FE E0 */ stwu r1, -0x120(r1) -/* 80343EDC 00340E3C 38 00 00 00 */ li r0, 0 -/* 80343EE0 00340E40 BD C1 00 D8 */ stmw r14, 0xd8(r1) -/* 80343EE4 00340E44 7C 6F 1B 78 */ mr r15, r3 -/* 80343EE8 00340E48 83 E1 01 28 */ lwz r31, 0x128(r1) -/* 80343EEC 00340E4C 7C 91 23 78 */ mr r17, r4 -/* 80343EF0 00340E50 90 01 00 8C */ stw r0, 0x8c(r1) -/* 80343EF4 00340E54 39 81 00 8C */ addi r12, r1, 0x8c -/* 80343EF8 00340E58 82 01 01 2C */ lwz r16, 0x12c(r1) -/* 80343EFC 00340E5C 90 01 00 90 */ stw r0, 0x90(r1) -/* 80343F00 00340E60 90 01 00 94 */ stw r0, 0x94(r1) -/* 80343F04 00340E64 90 01 00 98 */ stw r0, 0x98(r1) -/* 80343F08 00340E68 90 01 00 9C */ stw r0, 0x9c(r1) -/* 80343F0C 00340E6C 90 01 00 A0 */ stw r0, 0xa0(r1) -/* 80343F10 00340E70 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 80343F14 00340E74 90 01 00 A8 */ stw r0, 0xa8(r1) -/* 80343F18 00340E78 90 01 00 AC */ stw r0, 0xac(r1) -/* 80343F1C 00340E7C 90 01 00 B0 */ stw r0, 0xb0(r1) -/* 80343F20 00340E80 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 80343F24 00340E84 90 01 00 B8 */ stw r0, 0xb8(r1) -/* 80343F28 00340E88 90 01 00 BC */ stw r0, 0xbc(r1) -/* 80343F2C 00340E8C 90 01 00 C0 */ stw r0, 0xc0(r1) -/* 80343F30 00340E90 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 80343F34 00340E94 90 01 00 C8 */ stw r0, 0xc8(r1) -lbl_80343F38: -/* 80343F38 00340E98 80 0F 00 00 */ lwz r0, 0(r15) -/* 80343F3C 00340E9C 36 31 FF FF */ addic. r17, r17, -1 -/* 80343F40 00340EA0 39 EF 00 04 */ addi r15, r15, 4 -/* 80343F44 00340EA4 54 0E 10 3A */ slwi r14, r0, 2 -/* 80343F48 00340EA8 7D 6C 70 2E */ lwzx r11, r12, r14 -/* 80343F4C 00340EAC 38 0B 00 01 */ addi r0, r11, 1 -/* 80343F50 00340EB0 7C 0C 71 2E */ stwx r0, r12, r14 -/* 80343F54 00340EB4 40 82 FF E4 */ bne lbl_80343F38 -/* 80343F58 00340EB8 80 01 00 8C */ lwz r0, 0x8c(r1) -/* 80343F5C 00340EBC 7C 00 20 40 */ cmplw r0, r4 -/* 80343F60 00340EC0 40 82 00 18 */ bne lbl_80343F78 -/* 80343F64 00340EC4 38 00 00 00 */ li r0, 0 -/* 80343F68 00340EC8 38 60 00 00 */ li r3, 0 -/* 80343F6C 00340ECC 90 08 00 00 */ stw r0, 0(r8) -/* 80343F70 00340ED0 90 09 00 00 */ stw r0, 0(r9) -/* 80343F74 00340ED4 48 00 04 8C */ b lbl_80344400 -lbl_80343F78: -/* 80343F78 00340ED8 38 00 00 03 */ li r0, 3 -/* 80343F7C 00340EDC 39 C1 00 90 */ addi r14, r1, 0x90 -/* 80343F80 00340EE0 81 89 00 00 */ lwz r12, 0(r9) -/* 80343F84 00340EE4 39 60 00 01 */ li r11, 1 -/* 80343F88 00340EE8 7C 09 03 A6 */ mtctr r0 -lbl_80343F8C: -/* 80343F8C 00340EEC 80 0E 00 00 */ lwz r0, 0(r14) -/* 80343F90 00340EF0 28 00 00 00 */ cmplwi r0, 0 -/* 80343F94 00340EF4 40 82 00 50 */ bne lbl_80343FE4 -/* 80343F98 00340EF8 80 0E 00 04 */ lwz r0, 4(r14) -/* 80343F9C 00340EFC 39 6B 00 01 */ addi r11, r11, 1 -/* 80343FA0 00340F00 28 00 00 00 */ cmplwi r0, 0 -/* 80343FA4 00340F04 40 82 00 40 */ bne lbl_80343FE4 -/* 80343FA8 00340F08 80 0E 00 08 */ lwz r0, 8(r14) -/* 80343FAC 00340F0C 39 6B 00 01 */ addi r11, r11, 1 -/* 80343FB0 00340F10 28 00 00 00 */ cmplwi r0, 0 -/* 80343FB4 00340F14 40 82 00 30 */ bne lbl_80343FE4 -/* 80343FB8 00340F18 80 0E 00 0C */ lwz r0, 0xc(r14) -/* 80343FBC 00340F1C 39 6B 00 01 */ addi r11, r11, 1 -/* 80343FC0 00340F20 28 00 00 00 */ cmplwi r0, 0 -/* 80343FC4 00340F24 40 82 00 20 */ bne lbl_80343FE4 -/* 80343FC8 00340F28 80 0E 00 10 */ lwz r0, 0x10(r14) -/* 80343FCC 00340F2C 39 6B 00 01 */ addi r11, r11, 1 -/* 80343FD0 00340F30 28 00 00 00 */ cmplwi r0, 0 -/* 80343FD4 00340F34 40 82 00 10 */ bne lbl_80343FE4 -/* 80343FD8 00340F38 39 CE 00 14 */ addi r14, r14, 0x14 -/* 80343FDC 00340F3C 39 6B 00 01 */ addi r11, r11, 1 -/* 80343FE0 00340F40 42 00 FF AC */ bdnz lbl_80343F8C -lbl_80343FE4: -/* 80343FE4 00340F44 7C 0C 58 40 */ cmplw r12, r11 -/* 80343FE8 00340F48 40 80 00 08 */ bge lbl_80343FF0 -/* 80343FEC 00340F4C 7D 6C 5B 78 */ mr r12, r11 -lbl_80343FF0: -/* 80343FF0 00340F50 38 00 00 03 */ li r0, 3 -/* 80343FF4 00340F54 39 C1 00 C8 */ addi r14, r1, 0xc8 -/* 80343FF8 00340F58 39 E0 00 0F */ li r15, 0xf -/* 80343FFC 00340F5C 7C 09 03 A6 */ mtctr r0 -lbl_80344000: -/* 80344000 00340F60 80 0E 00 00 */ lwz r0, 0(r14) -/* 80344004 00340F64 28 00 00 00 */ cmplwi r0, 0 -/* 80344008 00340F68 40 82 00 50 */ bne lbl_80344058 -/* 8034400C 00340F6C 80 0E FF FC */ lwz r0, -4(r14) -/* 80344010 00340F70 39 EF FF FF */ addi r15, r15, -1 -/* 80344014 00340F74 28 00 00 00 */ cmplwi r0, 0 -/* 80344018 00340F78 40 82 00 40 */ bne lbl_80344058 -/* 8034401C 00340F7C 80 0E FF F8 */ lwz r0, -8(r14) -/* 80344020 00340F80 39 EF FF FF */ addi r15, r15, -1 -/* 80344024 00340F84 28 00 00 00 */ cmplwi r0, 0 -/* 80344028 00340F88 40 82 00 30 */ bne lbl_80344058 -/* 8034402C 00340F8C 80 0E FF F4 */ lwz r0, -0xc(r14) -/* 80344030 00340F90 39 EF FF FF */ addi r15, r15, -1 -/* 80344034 00340F94 28 00 00 00 */ cmplwi r0, 0 -/* 80344038 00340F98 40 82 00 20 */ bne lbl_80344058 -/* 8034403C 00340F9C 80 0E FF F0 */ lwz r0, -0x10(r14) -/* 80344040 00340FA0 39 EF FF FF */ addi r15, r15, -1 -/* 80344044 00340FA4 28 00 00 00 */ cmplwi r0, 0 -/* 80344048 00340FA8 40 82 00 10 */ bne lbl_80344058 -/* 8034404C 00340FAC 39 CE FF EC */ addi r14, r14, -20 -/* 80344050 00340FB0 39 EF FF FF */ addi r15, r15, -1 -/* 80344054 00340FB4 42 00 FF AC */ bdnz lbl_80344000 -lbl_80344058: -/* 80344058 00340FB8 7C 0C 78 40 */ cmplw r12, r15 -/* 8034405C 00340FBC 7D E0 7B 78 */ mr r0, r15 -/* 80344060 00340FC0 40 81 00 08 */ ble lbl_80344068 -/* 80344064 00340FC4 7D EC 7B 78 */ mr r12, r15 -lbl_80344068: -/* 80344068 00340FC8 39 C0 00 01 */ li r14, 1 -/* 8034406C 00340FCC 55 72 10 3A */ slwi r18, r11, 2 -/* 80344070 00340FD0 3A 61 00 8C */ addi r19, r1, 0x8c -/* 80344074 00340FD4 7E 2B 78 50 */ subf r17, r11, r15 -/* 80344078 00340FD8 7D 9B 63 78 */ mr r27, r12 -/* 8034407C 00340FDC 91 89 00 00 */ stw r12, 0(r9) -/* 80344080 00340FE0 7D CE 58 30 */ slw r14, r14, r11 -/* 80344084 00340FE4 7E 73 92 14 */ add r19, r19, r18 -/* 80344088 00340FE8 7E 29 03 A6 */ mtctr r17 -/* 8034408C 00340FEC 7C 0B 78 40 */ cmplw r11, r15 -/* 80344090 00340FF0 40 80 00 24 */ bge lbl_803440B4 -lbl_80344094: -/* 80344094 00340FF4 81 33 00 00 */ lwz r9, 0(r19) -/* 80344098 00340FF8 7D C9 70 51 */ subf. r14, r9, r14 -/* 8034409C 00340FFC 40 80 00 0C */ bge lbl_803440A8 -/* 803440A0 00341000 38 60 FF FD */ li r3, -3 -/* 803440A4 00341004 48 00 03 5C */ b lbl_80344400 -lbl_803440A8: -/* 803440A8 00341008 55 CE 08 3C */ slwi r14, r14, 1 -/* 803440AC 0034100C 3A 73 00 04 */ addi r19, r19, 4 -/* 803440B0 00341010 42 00 FF E4 */ bdnz lbl_80344094 -lbl_803440B4: -/* 803440B4 00341014 55 F1 10 3A */ slwi r17, r15, 2 -/* 803440B8 00341018 3A 41 00 8C */ addi r18, r1, 0x8c -/* 803440BC 0034101C 7D 32 88 2E */ lwzx r9, r18, r17 -/* 803440C0 00341020 7D C9 70 51 */ subf. r14, r9, r14 -/* 803440C4 00341024 40 80 00 0C */ bge lbl_803440D0 -/* 803440C8 00341028 38 60 FF FD */ li r3, -3 -/* 803440CC 0034102C 48 00 03 34 */ b lbl_80344400 -lbl_803440D0: -/* 803440D0 00341030 7D 29 72 14 */ add r9, r9, r14 -/* 803440D4 00341034 3A 60 00 00 */ li r19, 0 -/* 803440D8 00341038 7D 32 89 2E */ stwx r9, r18, r17 -/* 803440DC 0034103C 3A 21 00 90 */ addi r17, r1, 0x90 -/* 803440E0 00341040 3A 41 00 18 */ addi r18, r1, 0x18 -/* 803440E4 00341044 92 61 00 14 */ stw r19, 0x14(r1) -/* 803440E8 00341048 48 00 00 18 */ b lbl_80344100 -lbl_803440EC: -/* 803440EC 0034104C 81 31 00 00 */ lwz r9, 0(r17) -/* 803440F0 00341050 3A 31 00 04 */ addi r17, r17, 4 -/* 803440F4 00341054 7E 73 4A 14 */ add r19, r19, r9 -/* 803440F8 00341058 92 72 00 00 */ stw r19, 0(r18) -/* 803440FC 0034105C 3A 52 00 04 */ addi r18, r18, 4 -lbl_80344100: -/* 80344100 00341060 35 EF FF FF */ addic. r15, r15, -1 -/* 80344104 00341064 40 82 FF E8 */ bne lbl_803440EC -/* 80344108 00341068 3A 21 00 10 */ addi r17, r1, 0x10 -/* 8034410C 0034106C 3A 60 00 00 */ li r19, 0 -lbl_80344110: -/* 80344110 00341070 81 23 00 00 */ lwz r9, 0(r3) -/* 80344114 00341074 38 63 00 04 */ addi r3, r3, 4 -/* 80344118 00341078 28 09 00 00 */ cmplwi r9, 0 -/* 8034411C 0034107C 41 82 00 1C */ beq lbl_80344138 -/* 80344120 00341080 55 32 10 3A */ slwi r18, r9, 2 -/* 80344124 00341084 7D 31 90 2E */ lwzx r9, r17, r18 -/* 80344128 00341088 39 E9 00 01 */ addi r15, r9, 1 -/* 8034412C 0034108C 55 29 10 3A */ slwi r9, r9, 2 -/* 80344130 00341090 7D F1 91 2E */ stwx r15, r17, r18 -/* 80344134 00341094 7E 70 49 2E */ stwx r19, r16, r9 -lbl_80344138: -/* 80344138 00341098 3A 73 00 01 */ addi r19, r19, 1 -/* 8034413C 0034109C 7C 13 20 40 */ cmplw r19, r4 -/* 80344140 003410A0 41 80 FF D0 */ blt lbl_80344110 -/* 80344144 003410A4 54 04 10 3A */ slwi r4, r0, 2 -/* 80344148 003410A8 38 61 00 10 */ addi r3, r1, 0x10 -/* 8034414C 003410AC 7C 83 20 2E */ lwzx r4, r3, r4 -/* 80344150 003410B0 3B 20 00 00 */ li r25, 0 -/* 80344154 003410B4 93 21 00 50 */ stw r25, 0x50(r1) -/* 80344158 003410B8 55 69 10 3A */ slwi r9, r11, 2 -/* 8034415C 003410BC 3B 81 00 8C */ addi r28, r1, 0x8c -/* 80344160 003410C0 54 83 10 3A */ slwi r3, r4, 2 -/* 80344164 003410C4 93 21 00 10 */ stw r25, 0x10(r1) -/* 80344168 003410C8 7E 1A 83 78 */ mr r26, r16 -/* 8034416C 003410CC 7F 37 CB 78 */ mr r23, r25 -/* 80344170 003410D0 7E 6C 00 D0 */ neg r19, r12 -/* 80344174 003410D4 7F 9C 4A 14 */ add r28, r28, r9 -/* 80344178 003410D8 7D F0 1A 14 */ add r15, r16, r3 -/* 8034417C 003410DC 3A A0 FF FF */ li r21, -1 -/* 80344180 003410E0 3A 80 00 00 */ li r20, 0 -/* 80344184 003410E4 48 00 02 48 */ b lbl_803443CC -lbl_80344188: -/* 80344188 003410E8 82 DC 00 00 */ lwz r22, 0(r28) -/* 8034418C 003410EC 38 6B FF FF */ addi r3, r11, -1 -/* 80344190 003410F0 38 80 00 01 */ li r4, 1 -/* 80344194 003410F4 7C 90 18 30 */ slw r16, r4, r3 -/* 80344198 003410F8 7E C9 03 A6 */ mtctr r22 -/* 8034419C 003410FC 28 16 00 00 */ cmplwi r22, 0 -/* 803441A0 00341100 41 82 02 24 */ beq lbl_803443C4 -lbl_803441A4: -/* 803441A4 00341104 56 A3 10 3A */ slwi r3, r21, 2 -/* 803441A8 00341108 3B C1 00 50 */ addi r30, r1, 0x50 -/* 803441AC 0034110C 3B A1 00 10 */ addi r29, r1, 0x10 -/* 803441B0 00341110 39 36 00 00 */ addi r9, r22, 0 -/* 803441B4 00341114 7F DE 1A 14 */ add r30, r30, r3 -/* 803441B8 00341118 3A D6 FF FF */ addi r22, r22, -1 -/* 803441BC 0034111C 7F BD 1A 14 */ add r29, r29, r3 -/* 803441C0 00341120 48 00 00 F0 */ b lbl_803442B0 -lbl_803441C4: -/* 803441C4 00341124 7E 73 62 14 */ add r19, r19, r12 -/* 803441C8 00341128 3B DE 00 04 */ addi r30, r30, 4 -/* 803441CC 0034112C 7C 73 00 50 */ subf r3, r19, r0 -/* 803441D0 00341130 3B BD 00 04 */ addi r29, r29, 4 -/* 803441D4 00341134 7C 03 D8 40 */ cmplw r3, r27 -/* 803441D8 00341138 3A B5 00 01 */ addi r21, r21, 1 -/* 803441DC 0034113C 40 81 00 08 */ ble lbl_803441E4 -/* 803441E0 00341140 7F 63 DB 78 */ mr r3, r27 -lbl_803441E4: -/* 803441E4 00341144 7E 33 58 50 */ subf r17, r19, r11 -/* 803441E8 00341148 38 80 00 01 */ li r4, 1 -/* 803441EC 0034114C 7C 92 88 30 */ slw r18, r4, r17 -/* 803441F0 00341150 7C 12 48 40 */ cmplw r18, r9 -/* 803441F4 00341154 40 81 00 3C */ ble lbl_80344230 -/* 803441F8 00341158 7C 11 18 40 */ cmplw r17, r3 -/* 803441FC 0034115C 7F 84 E3 78 */ mr r4, r28 -/* 80344200 00341160 7E 49 90 50 */ subf r18, r9, r18 -/* 80344204 00341164 40 80 00 2C */ bge lbl_80344230 -/* 80344208 00341168 48 00 00 1C */ b lbl_80344224 -lbl_8034420C: -/* 8034420C 0034116C 86 84 00 04 */ lwzu r20, 4(r4) -/* 80344210 00341170 56 52 08 3C */ slwi r18, r18, 1 -/* 80344214 00341174 7C 12 A0 40 */ cmplw r18, r20 -/* 80344218 00341178 40 81 00 18 */ ble lbl_80344230 -/* 8034421C 0034117C 82 84 00 00 */ lwz r20, 0(r4) -/* 80344220 00341180 7E 54 90 50 */ subf r18, r20, r18 -lbl_80344224: -/* 80344224 00341184 3A 31 00 01 */ addi r17, r17, 1 -/* 80344228 00341188 7C 11 18 40 */ cmplw r17, r3 -/* 8034422C 0034118C 41 80 FF E0 */ blt lbl_8034420C -lbl_80344230: -/* 80344230 00341190 38 60 00 01 */ li r3, 1 -/* 80344234 00341194 80 9F 00 00 */ lwz r4, 0(r31) -/* 80344238 00341198 7C 77 88 30 */ slw r23, r3, r17 -/* 8034423C 0034119C 7C 64 BA 14 */ add r3, r4, r23 -/* 80344240 003411A0 28 03 05 A0 */ cmplwi r3, 0x5a0 -/* 80344244 003411A4 40 81 00 0C */ ble lbl_80344250 -/* 80344248 003411A8 38 60 FF FC */ li r3, -4 -/* 8034424C 003411AC 48 00 01 B4 */ b lbl_80344400 -lbl_80344250: -/* 80344250 003411B0 54 84 18 38 */ slwi r4, r4, 3 -/* 80344254 003411B4 2C 15 00 00 */ cmpwi r21, 0 -/* 80344258 003411B8 7E 8A 22 14 */ add r20, r10, r4 -/* 8034425C 003411BC 90 7F 00 00 */ stw r3, 0(r31) -/* 80344260 003411C0 92 9E 00 00 */ stw r20, 0(r30) -/* 80344264 003411C4 41 82 00 48 */ beq lbl_803442AC -/* 80344268 003411C8 7C 6C 98 50 */ subf r3, r12, r19 -/* 8034426C 003411CC 80 9E FF FC */ lwz r4, -4(r30) -/* 80344270 003411D0 7F 38 1C 30 */ srw r24, r25, r3 -/* 80344274 003411D4 9A 21 00 08 */ stb r17, 8(r1) -/* 80344278 003411D8 7C 64 A0 50 */ subf r3, r4, r20 -/* 8034427C 003411DC 99 81 00 09 */ stb r12, 9(r1) -/* 80344280 003411E0 57 11 18 38 */ slwi r17, r24, 3 -/* 80344284 003411E4 7C 63 1E 70 */ srawi r3, r3, 3 -/* 80344288 003411E8 7C 63 01 94 */ addze r3, r3 -/* 8034428C 003411EC 82 41 00 08 */ lwz r18, 8(r1) -/* 80344290 003411F0 7C 84 8A 14 */ add r4, r4, r17 -/* 80344294 003411F4 93 3D 00 00 */ stw r25, 0(r29) -/* 80344298 003411F8 7C 78 18 50 */ subf r3, r24, r3 -/* 8034429C 003411FC 92 44 00 00 */ stw r18, 0(r4) -/* 803442A0 00341200 90 61 00 0C */ stw r3, 0xc(r1) -/* 803442A4 00341204 90 64 00 04 */ stw r3, 4(r4) -/* 803442A8 00341208 48 00 00 08 */ b lbl_803442B0 -lbl_803442AC: -/* 803442AC 0034120C 92 88 00 00 */ stw r20, 0(r8) -lbl_803442B0: -/* 803442B0 00341210 7C 73 62 14 */ add r3, r19, r12 -/* 803442B4 00341214 7C 0B 18 00 */ cmpw r11, r3 -/* 803442B8 00341218 41 81 FF 0C */ bgt lbl_803441C4 -/* 803442BC 0034121C 7C 73 58 50 */ subf r3, r19, r11 -/* 803442C0 00341220 7C 1A 78 40 */ cmplw r26, r15 -/* 803442C4 00341224 98 61 00 09 */ stb r3, 9(r1) -/* 803442C8 00341228 41 80 00 10 */ blt lbl_803442D8 -/* 803442CC 0034122C 38 80 00 C0 */ li r4, 0xc0 -/* 803442D0 00341230 98 81 00 08 */ stb r4, 8(r1) -/* 803442D4 00341234 48 00 00 54 */ b lbl_80344328 -lbl_803442D8: -/* 803442D8 00341238 82 3A 00 00 */ lwz r17, 0(r26) -/* 803442DC 0034123C 7C 11 28 40 */ cmplw r17, r5 -/* 803442E0 00341240 40 80 00 28 */ bge lbl_80344308 -/* 803442E4 00341244 39 20 01 00 */ li r9, 0x100 -/* 803442E8 00341248 38 80 00 60 */ li r4, 0x60 -/* 803442EC 0034124C 7D 29 88 10 */ subfc r9, r9, r17 -/* 803442F0 00341250 92 21 00 0C */ stw r17, 0xc(r1) -/* 803442F4 00341254 7D 29 49 10 */ subfe r9, r9, r9 -/* 803442F8 00341258 3B 5A 00 04 */ addi r26, r26, 4 -/* 803442FC 0034125C 7C 84 48 78 */ andc r4, r4, r9 -/* 80344300 00341260 98 81 00 08 */ stb r4, 8(r1) -/* 80344304 00341264 48 00 00 24 */ b lbl_80344328 -lbl_80344308: -/* 80344308 00341268 7C 85 88 50 */ subf r4, r5, r17 -/* 8034430C 0034126C 3B 5A 00 04 */ addi r26, r26, 4 -/* 80344310 00341270 54 84 10 3A */ slwi r4, r4, 2 -/* 80344314 00341274 7D 27 20 2E */ lwzx r9, r7, r4 -/* 80344318 00341278 7C 86 20 2E */ lwzx r4, r6, r4 -/* 8034431C 0034127C 39 29 00 50 */ addi r9, r9, 0x50 -/* 80344320 00341280 99 21 00 08 */ stb r9, 8(r1) -/* 80344324 00341284 90 81 00 0C */ stw r4, 0xc(r1) -lbl_80344328: -/* 80344328 00341288 7F 32 9C 30 */ srw r18, r25, r19 -/* 8034432C 0034128C 38 80 00 01 */ li r4, 1 -/* 80344330 00341290 7C 98 18 30 */ slw r24, r4, r3 -/* 80344334 00341294 80 81 00 08 */ lwz r4, 8(r1) -/* 80344338 00341298 56 49 18 38 */ slwi r9, r18, 3 -/* 8034433C 0034129C 80 61 00 0C */ lwz r3, 0xc(r1) -/* 80344340 003412A0 7D 34 4A 14 */ add r9, r20, r9 -/* 80344344 003412A4 57 11 18 38 */ slwi r17, r24, 3 -/* 80344348 003412A8 48 00 00 14 */ b lbl_8034435C -lbl_8034434C: -/* 8034434C 003412AC 90 89 00 00 */ stw r4, 0(r9) -/* 80344350 003412B0 7E 52 C2 14 */ add r18, r18, r24 -/* 80344354 003412B4 90 69 00 04 */ stw r3, 4(r9) -/* 80344358 003412B8 7D 29 8A 14 */ add r9, r9, r17 -lbl_8034435C: -/* 8034435C 003412BC 7C 12 B8 40 */ cmplw r18, r23 -/* 80344360 003412C0 41 80 FF EC */ blt lbl_8034434C -/* 80344364 003412C4 7E 11 83 78 */ mr r17, r16 -/* 80344368 003412C8 48 00 00 0C */ b lbl_80344374 -lbl_8034436C: -/* 8034436C 003412CC 7F 39 8A 78 */ xor r25, r25, r17 -/* 80344370 003412D0 56 31 F8 7E */ srwi r17, r17, 1 -lbl_80344374: -/* 80344374 003412D4 7F 23 88 39 */ and. r3, r25, r17 -/* 80344378 003412D8 40 82 FF F4 */ bne lbl_8034436C -/* 8034437C 003412DC 38 80 00 01 */ li r4, 1 -/* 80344380 003412E0 56 B2 10 3A */ slwi r18, r21, 2 -/* 80344384 003412E4 7C 83 98 30 */ slw r3, r4, r19 -/* 80344388 003412E8 39 21 00 10 */ addi r9, r1, 0x10 -/* 8034438C 003412EC 7F 39 8A 78 */ xor r25, r25, r17 -/* 80344390 003412F0 3A 23 FF FF */ addi r17, r3, -1 -/* 80344394 003412F4 7D 29 92 14 */ add r9, r9, r18 -/* 80344398 003412F8 48 00 00 18 */ b lbl_803443B0 -lbl_8034439C: -/* 8034439C 003412FC 7E 6C 98 50 */ subf r19, r12, r19 -/* 803443A0 00341300 3A B5 FF FF */ addi r21, r21, -1 -/* 803443A4 00341304 7C 83 98 30 */ slw r3, r4, r19 -/* 803443A8 00341308 39 29 FF FC */ addi r9, r9, -4 -/* 803443AC 0034130C 3A 23 FF FF */ addi r17, r3, -1 -lbl_803443B0: -/* 803443B0 00341310 80 69 00 00 */ lwz r3, 0(r9) -/* 803443B4 00341314 7F 31 88 38 */ and r17, r25, r17 -/* 803443B8 00341318 7C 11 18 40 */ cmplw r17, r3 -/* 803443BC 0034131C 40 82 FF E0 */ bne lbl_8034439C -/* 803443C0 00341320 42 00 FD E4 */ bdnz lbl_803441A4 -lbl_803443C4: -/* 803443C4 00341324 3B 9C 00 04 */ addi r28, r28, 4 -/* 803443C8 00341328 39 6B 00 01 */ addi r11, r11, 1 -lbl_803443CC: -/* 803443CC 0034132C 7C 0B 00 00 */ cmpw r11, r0 -/* 803443D0 00341330 40 81 FD B8 */ ble lbl_80344188 -/* 803443D4 00341334 2C 0E 00 00 */ cmpwi r14, 0 -/* 803443D8 00341338 38 80 00 00 */ li r4, 0 -/* 803443DC 0034133C 41 82 00 10 */ beq lbl_803443EC -/* 803443E0 00341340 2C 00 00 01 */ cmpwi r0, 1 -/* 803443E4 00341344 41 82 00 08 */ beq lbl_803443EC -/* 803443E8 00341348 38 80 00 01 */ li r4, 1 -lbl_803443EC: -/* 803443EC 0034134C 7C 64 00 D0 */ neg r3, r4 -/* 803443F0 00341350 38 00 FF FB */ li r0, -5 -/* 803443F4 00341354 7C 63 23 78 */ or r3, r3, r4 -/* 803443F8 00341358 7C 63 FE 70 */ srawi r3, r3, 0x1f -/* 803443FC 0034135C 7C 03 18 38 */ and r3, r0, r3 -lbl_80344400: -/* 80344400 00341360 B9 C1 00 D8 */ lmw r14, 0xd8(r1) -/* 80344404 00341364 38 21 01 20 */ addi r1, r1, 0x120 -/* 80344408 00341368 4E 80 00 20 */ blr - -.global inflate_flush -inflate_flush: -/* 8034440C 0034136C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80344410 00341370 7C 08 02 A6 */ mflr r0 -/* 80344414 00341374 90 01 00 24 */ stw r0, 0x24(r1) -/* 80344418 00341378 BF 41 00 08 */ stmw r26, 8(r1) -/* 8034441C 0034137C 7C 7B 1B 78 */ mr r27, r3 -/* 80344420 00341380 7C 9C 23 78 */ mr r28, r4 -/* 80344424 00341384 7C BD 2B 78 */ mr r29, r5 -/* 80344428 00341388 83 C3 00 30 */ lwz r30, 0x30(r3) -/* 8034442C 0034138C 80 03 00 34 */ lwz r0, 0x34(r3) -/* 80344430 00341390 83 E4 00 0C */ lwz r31, 0xc(r4) -/* 80344434 00341394 7C 1E 00 40 */ cmplw r30, r0 -/* 80344438 00341398 41 81 00 08 */ bgt lbl_80344440 -/* 8034443C 0034139C 48 00 00 08 */ b lbl_80344444 -lbl_80344440: -/* 80344440 003413A0 80 1B 00 2C */ lwz r0, 0x2c(r27) -lbl_80344444: -/* 80344444 003413A4 80 7C 00 10 */ lwz r3, 0x10(r28) -/* 80344448 003413A8 7F 5E 00 50 */ subf r26, r30, r0 -/* 8034444C 003413AC 7C 1A 18 40 */ cmplw r26, r3 -/* 80344450 003413B0 40 81 00 08 */ ble lbl_80344458 -/* 80344454 003413B4 7C 7A 1B 78 */ mr r26, r3 -lbl_80344458: -/* 80344458 003413B8 28 1A 00 00 */ cmplwi r26, 0 -/* 8034445C 003413BC 41 82 00 10 */ beq lbl_8034446C -/* 80344460 003413C0 2C 1D FF FB */ cmpwi r29, -5 -/* 80344464 003413C4 40 82 00 08 */ bne lbl_8034446C -/* 80344468 003413C8 3B A0 00 00 */ li r29, 0 -lbl_8034446C: -/* 8034446C 003413CC 80 1C 00 10 */ lwz r0, 0x10(r28) -/* 80344470 003413D0 7C 1A 00 50 */ subf r0, r26, r0 -/* 80344474 003413D4 90 1C 00 10 */ stw r0, 0x10(r28) -/* 80344478 003413D8 80 1C 00 14 */ lwz r0, 0x14(r28) -/* 8034447C 003413DC 7C 00 D2 14 */ add r0, r0, r26 -/* 80344480 003413E0 90 1C 00 14 */ stw r0, 0x14(r28) -/* 80344484 003413E4 81 9B 00 38 */ lwz r12, 0x38(r27) -/* 80344488 003413E8 28 0C 00 00 */ cmplwi r12, 0 -/* 8034448C 003413EC 41 82 00 20 */ beq lbl_803444AC -/* 80344490 003413F0 7F C4 F3 78 */ mr r4, r30 -/* 80344494 003413F4 7F 45 D3 78 */ mr r5, r26 -/* 80344498 003413F8 80 7B 00 3C */ lwz r3, 0x3c(r27) -/* 8034449C 003413FC 7D 89 03 A6 */ mtctr r12 -/* 803444A0 00341400 4E 80 04 21 */ bctrl -/* 803444A4 00341404 90 7B 00 3C */ stw r3, 0x3c(r27) -/* 803444A8 00341408 90 7C 00 30 */ stw r3, 0x30(r28) -lbl_803444AC: -/* 803444AC 0034140C 7F E3 FB 78 */ mr r3, r31 -/* 803444B0 00341410 7F C4 F3 78 */ mr r4, r30 -/* 803444B4 00341414 7F 45 D3 78 */ mr r5, r26 -/* 803444B8 00341418 4B CB EF D9 */ bl memcpy -/* 803444BC 0034141C 80 7B 00 2C */ lwz r3, 0x2c(r27) -/* 803444C0 00341420 7F DE D2 14 */ add r30, r30, r26 -/* 803444C4 00341424 7F FF D2 14 */ add r31, r31, r26 -/* 803444C8 00341428 7C 1E 18 40 */ cmplw r30, r3 -/* 803444CC 0034142C 40 82 00 A0 */ bne lbl_8034456C -/* 803444D0 00341430 80 1B 00 34 */ lwz r0, 0x34(r27) -/* 803444D4 00341434 80 9B 00 28 */ lwz r4, 0x28(r27) -/* 803444D8 00341438 7C 00 18 40 */ cmplw r0, r3 -/* 803444DC 0034143C 7C 9E 23 78 */ mr r30, r4 -/* 803444E0 00341440 40 82 00 08 */ bne lbl_803444E8 -/* 803444E4 00341444 90 9B 00 34 */ stw r4, 0x34(r27) -lbl_803444E8: -/* 803444E8 00341448 80 1B 00 34 */ lwz r0, 0x34(r27) -/* 803444EC 0034144C 80 7C 00 10 */ lwz r3, 0x10(r28) -/* 803444F0 00341450 7F 5E 00 50 */ subf r26, r30, r0 -/* 803444F4 00341454 7C 1A 18 40 */ cmplw r26, r3 -/* 803444F8 00341458 40 81 00 08 */ ble lbl_80344500 -/* 803444FC 0034145C 7C 7A 1B 78 */ mr r26, r3 -lbl_80344500: -/* 80344500 00341460 28 1A 00 00 */ cmplwi r26, 0 -/* 80344504 00341464 41 82 00 10 */ beq lbl_80344514 -/* 80344508 00341468 2C 1D FF FB */ cmpwi r29, -5 -/* 8034450C 0034146C 40 82 00 08 */ bne lbl_80344514 -/* 80344510 00341470 3B A0 00 00 */ li r29, 0 -lbl_80344514: -/* 80344514 00341474 80 1C 00 10 */ lwz r0, 0x10(r28) -/* 80344518 00341478 7C 1A 00 50 */ subf r0, r26, r0 -/* 8034451C 0034147C 90 1C 00 10 */ stw r0, 0x10(r28) -/* 80344520 00341480 80 1C 00 14 */ lwz r0, 0x14(r28) -/* 80344524 00341484 7C 00 D2 14 */ add r0, r0, r26 -/* 80344528 00341488 90 1C 00 14 */ stw r0, 0x14(r28) -/* 8034452C 0034148C 81 9B 00 38 */ lwz r12, 0x38(r27) -/* 80344530 00341490 28 0C 00 00 */ cmplwi r12, 0 -/* 80344534 00341494 41 82 00 20 */ beq lbl_80344554 -/* 80344538 00341498 7F C4 F3 78 */ mr r4, r30 -/* 8034453C 0034149C 7F 45 D3 78 */ mr r5, r26 -/* 80344540 003414A0 80 7B 00 3C */ lwz r3, 0x3c(r27) -/* 80344544 003414A4 7D 89 03 A6 */ mtctr r12 -/* 80344548 003414A8 4E 80 04 21 */ bctrl -/* 8034454C 003414AC 90 7B 00 3C */ stw r3, 0x3c(r27) -/* 80344550 003414B0 90 7C 00 30 */ stw r3, 0x30(r28) -lbl_80344554: -/* 80344554 003414B4 7F E3 FB 78 */ mr r3, r31 -/* 80344558 003414B8 7F C4 F3 78 */ mr r4, r30 -/* 8034455C 003414BC 7F 45 D3 78 */ mr r5, r26 -/* 80344560 003414C0 4B CB EF 31 */ bl memcpy -/* 80344564 003414C4 7F FF D2 14 */ add r31, r31, r26 -/* 80344568 003414C8 7F DE D2 14 */ add r30, r30, r26 -lbl_8034456C: -/* 8034456C 003414CC 93 FC 00 0C */ stw r31, 0xc(r28) -/* 80344570 003414D0 7F A3 EB 78 */ mr r3, r29 -/* 80344574 003414D4 93 DB 00 30 */ stw r30, 0x30(r27) -/* 80344578 003414D8 BB 41 00 08 */ lmw r26, 8(r1) -/* 8034457C 003414DC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80344580 003414E0 7C 08 03 A6 */ mtlr r0 -/* 80344584 003414E4 38 21 00 20 */ addi r1, r1, 0x20 -/* 80344588 003414E8 4E 80 00 20 */ blr - -.global zcfree -zcfree: -/* 8034458C 003414EC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80344590 003414F0 7C 08 02 A6 */ mflr r0 -/* 80344594 003414F4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80344598 003414F8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8034459C 003414FC 7C 7F 1B 78 */ mr r31, r3 -/* 803445A0 00341500 7C 83 23 78 */ mr r3, r4 -/* 803445A4 00341504 48 04 5D B5 */ bl sub_8038a358 -/* 803445A8 00341508 28 1F 00 00 */ cmplwi r31, 0 -/* 803445AC 0034150C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803445B0 00341510 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 803445B4 00341514 7C 08 03 A6 */ mtlr r0 -/* 803445B8 00341518 38 21 00 10 */ addi r1, r1, 0x10 -/* 803445BC 0034151C 4E 80 00 20 */ blr - -.global zcalloc -zcalloc: -/* 803445C0 00341520 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803445C4 00341524 7C 08 02 A6 */ mflr r0 -/* 803445C8 00341528 7C 83 23 78 */ mr r3, r4 -/* 803445CC 0034152C 7C A4 2B 78 */ mr r4, r5 -/* 803445D0 00341530 90 01 00 14 */ stw r0, 0x14(r1) -/* 803445D4 00341534 48 04 5C C1 */ bl calloc -/* 803445D8 00341538 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803445DC 0034153C 7C 08 03 A6 */ mtlr r0 -/* 803445E0 00341540 38 21 00 10 */ addi r1, r1, 0x10 -/* 803445E4 00341544 4E 80 00 20 */ blr - -.global CollectGarbage__12CARAMManagerFv -CollectGarbage__12CARAMManagerFv: -/* 803445E8 00341548 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803445EC 0034154C 7C 08 02 A6 */ mflr r0 -/* 803445F0 00341550 90 01 00 14 */ stw r0, 0x14(r1) -/* 803445F4 00341554 48 00 00 15 */ bl RefreshActiveDMAList__12CARAMManagerFv -/* 803445F8 00341558 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803445FC 0034155C 7C 08 03 A6 */ mtlr r0 -/* 80344600 00341560 38 21 00 10 */ addi r1, r1, 0x10 -/* 80344604 00341564 4E 80 00 20 */ blr - -.global RefreshActiveDMAList__12CARAMManagerFv -RefreshActiveDMAList__12CARAMManagerFv: -/* 80344608 00341568 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034460C 0034156C 7C 08 02 A6 */ mflr r0 -/* 80344610 00341570 3C 60 80 5A */ lis r3, lbl_805A679C@ha -/* 80344614 00341574 90 01 00 14 */ stw r0, 0x14(r1) -/* 80344618 00341578 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8034461C 0034157C 3B E3 67 9C */ addi r31, r3, lbl_805A679C@l -/* 80344620 00341580 93 C1 00 08 */ stw r30, 8(r1) -/* 80344624 00341584 83 DF 00 04 */ lwz r30, 4(r31) -/* 80344628 00341588 48 00 00 30 */ b lbl_80344658 -lbl_8034462C: -/* 8034462C 0034158C 80 7E 00 08 */ lwz r3, 8(r30) -/* 80344630 00341590 88 03 00 24 */ lbz r0, 0x24(r3) -/* 80344634 00341594 28 00 00 00 */ cmplwi r0, 0 -/* 80344638 00341598 41 82 00 1C */ beq lbl_80344654 -/* 8034463C 0034159C 4B FD 12 F5 */ bl Free__7CMemoryFPCv -/* 80344640 003415A0 7F E3 FB 78 */ mr r3, r31 -/* 80344644 003415A4 7F C4 F3 78 */ mr r4, r30 -/* 80344648 003415A8 48 00 08 3D */ bl sub_80344e84 -/* 8034464C 003415AC 7C 7E 1B 78 */ mr r30, r3 -/* 80344650 003415B0 48 00 00 08 */ b lbl_80344658 -lbl_80344654: -/* 80344654 003415B4 83 DE 00 04 */ lwz r30, 4(r30) -lbl_80344658: -/* 80344658 003415B8 80 1F 00 08 */ lwz r0, 8(r31) -/* 8034465C 003415BC 7C 1E 00 40 */ cmplw r30, r0 -/* 80344660 003415C0 40 82 FF CC */ bne lbl_8034462C -/* 80344664 003415C4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80344668 003415C8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8034466C 003415CC 83 C1 00 08 */ lwz r30, 8(r1) -/* 80344670 003415D0 7C 08 03 A6 */ mtlr r0 -/* 80344674 003415D4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80344678 003415D8 4E 80 00 20 */ blr - -.global AramManagerDMACallback__12CARAMManagerFUl -AramManagerDMACallback__12CARAMManagerFUl: -/* 8034467C 003415DC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80344680 003415E0 7C 08 02 A6 */ mflr r0 -/* 80344684 003415E4 7C 64 1B 78 */ mr r4, r3 -/* 80344688 003415E8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8034468C 003415EC 38 00 00 01 */ li r0, 1 -/* 80344690 003415F0 98 03 00 24 */ stb r0, 0x24(r3) -/* 80344694 003415F4 80 03 00 08 */ lwz r0, 8(r3) -/* 80344698 003415F8 28 00 00 01 */ cmplwi r0, 1 -/* 8034469C 003415FC 40 82 00 10 */ bne lbl_803446AC -/* 803446A0 00341600 80 64 00 14 */ lwz r3, 0x14(r4) -/* 803446A4 00341604 80 84 00 18 */ lwz r4, 0x18(r4) -/* 803446A8 00341608 48 03 A3 DD */ bl DCInvalidateRange -lbl_803446AC: -/* 803446AC 0034160C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803446B0 00341610 7C 08 03 A6 */ mtlr r0 -/* 803446B4 00341614 38 21 00 10 */ addi r1, r1, 0x10 -/* 803446B8 00341618 4E 80 00 20 */ blr - -.global CancelDMA__12CARAMManagerFUi -CancelDMA__12CARAMManagerFUi: -/* 803446BC 0034161C 3C 80 80 5A */ lis r4, lbl_805A679C@ha -/* 803446C0 00341620 38 84 67 9C */ addi r4, r4, lbl_805A679C@l -/* 803446C4 00341624 80 A4 00 04 */ lwz r5, 4(r4) -/* 803446C8 00341628 80 84 00 08 */ lwz r4, 8(r4) -/* 803446CC 0034162C 48 00 00 2C */ b lbl_803446F8 -lbl_803446D0: -/* 803446D0 00341630 80 C5 00 08 */ lwz r6, 8(r5) -/* 803446D4 00341634 80 06 00 20 */ lwz r0, 0x20(r6) -/* 803446D8 00341638 7C 00 18 40 */ cmplw r0, r3 -/* 803446DC 0034163C 40 82 00 18 */ bne lbl_803446F4 -/* 803446E0 00341640 88 66 00 24 */ lbz r3, 0x24(r6) -/* 803446E4 00341644 7C 03 00 D0 */ neg r0, r3 -/* 803446E8 00341648 7C 00 1B 78 */ or r0, r0, r3 -/* 803446EC 0034164C 54 03 0F FE */ srwi r3, r0, 0x1f -/* 803446F0 00341650 4E 80 00 20 */ blr -lbl_803446F4: -/* 803446F4 00341654 80 A5 00 04 */ lwz r5, 4(r5) -lbl_803446F8: -/* 803446F8 00341658 7C 05 20 40 */ cmplw r5, r4 -/* 803446FC 0034165C 40 82 FF D4 */ bne lbl_803446D0 -/* 80344700 00341660 38 60 00 01 */ li r3, 1 -/* 80344704 00341664 4E 80 00 20 */ blr - -.global WaitForAllDMAsToComplete__12CARAMManagerFv -WaitForAllDMAsToComplete__12CARAMManagerFv: -/* 80344708 00341668 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034470C 0034166C 7C 08 02 A6 */ mflr r0 -/* 80344710 00341670 3C 60 80 5A */ lis r3, lbl_805A679C@ha -/* 80344714 00341674 90 01 00 14 */ stw r0, 0x14(r1) -/* 80344718 00341678 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8034471C 0034167C 3B E3 67 9C */ addi r31, r3, lbl_805A679C@l -/* 80344720 00341680 48 00 00 08 */ b lbl_80344728 -lbl_80344724: -/* 80344724 00341684 4B FF FE E5 */ bl RefreshActiveDMAList__12CARAMManagerFv -lbl_80344728: -/* 80344728 00341688 80 1F 00 14 */ lwz r0, 0x14(r31) -/* 8034472C 0034168C 2C 00 00 00 */ cmpwi r0, 0 -/* 80344730 00341690 41 81 FF F4 */ bgt lbl_80344724 -/* 80344734 00341694 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80344738 00341698 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8034473C 0034169C 7C 08 03 A6 */ mtlr r0 -/* 80344740 003416A0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80344744 003416A4 4E 80 00 20 */ blr - -.global WaitForDMACompletion__12CARAMManagerFUi -WaitForDMACompletion__12CARAMManagerFUi: -/* 80344748 003416A8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034474C 003416AC 7C 08 02 A6 */ mflr r0 -/* 80344750 003416B0 3C 80 80 5A */ lis r4, lbl_805A679C@ha -/* 80344754 003416B4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80344758 003416B8 38 84 67 9C */ addi r4, r4, lbl_805A679C@l -/* 8034475C 003416BC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80344760 003416C0 83 E4 00 04 */ lwz r31, 4(r4) -/* 80344764 003416C4 80 84 00 08 */ lwz r4, 8(r4) -/* 80344768 003416C8 48 00 00 40 */ b lbl_803447A8 -lbl_8034476C: -/* 8034476C 003416CC 80 BF 00 08 */ lwz r5, 8(r31) -/* 80344770 003416D0 80 05 00 20 */ lwz r0, 0x20(r5) -/* 80344774 003416D4 7C 00 18 40 */ cmplw r0, r3 -/* 80344778 003416D8 40 82 00 2C */ bne lbl_803447A4 -lbl_8034477C: -/* 8034477C 003416DC 88 05 00 24 */ lbz r0, 0x24(r5) -/* 80344780 003416E0 28 00 00 00 */ cmplwi r0, 0 -/* 80344784 003416E4 41 82 FF F8 */ beq lbl_8034477C -/* 80344788 003416E8 7C A3 2B 78 */ mr r3, r5 -/* 8034478C 003416EC 4B FD 11 A5 */ bl Free__7CMemoryFPCv -/* 80344790 003416F0 3C 60 80 5A */ lis r3, lbl_805A679C@ha -/* 80344794 003416F4 7F E4 FB 78 */ mr r4, r31 -/* 80344798 003416F8 38 63 67 9C */ addi r3, r3, lbl_805A679C@l -/* 8034479C 003416FC 48 00 06 E9 */ bl sub_80344e84 -/* 803447A0 00341700 48 00 00 10 */ b lbl_803447B0 -lbl_803447A4: -/* 803447A4 00341704 83 FF 00 04 */ lwz r31, 4(r31) -lbl_803447A8: -/* 803447A8 00341708 7C 1F 20 40 */ cmplw r31, r4 -/* 803447AC 0034170C 40 82 FF C0 */ bne lbl_8034476C -lbl_803447B0: -/* 803447B0 00341710 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803447B4 00341714 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 803447B8 00341718 7C 08 03 A6 */ mtlr r0 -/* 803447BC 0034171C 38 21 00 10 */ addi r1, r1, 0x10 -/* 803447C0 00341720 4E 80 00 20 */ blr - -.global IsDMACompleted__12CARAMManagerFUi -IsDMACompleted__12CARAMManagerFUi: -/* 803447C4 00341724 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803447C8 00341728 7C 08 02 A6 */ mflr r0 -/* 803447CC 0034172C 3C 80 80 5A */ lis r4, lbl_805A679C@ha -/* 803447D0 00341730 90 01 00 14 */ stw r0, 0x14(r1) -/* 803447D4 00341734 38 84 67 9C */ addi r4, r4, lbl_805A679C@l -/* 803447D8 00341738 93 E1 00 0C */ stw r31, 0xc(r1) -/* 803447DC 0034173C 83 E4 00 04 */ lwz r31, 4(r4) -/* 803447E0 00341740 80 84 00 08 */ lwz r4, 8(r4) -/* 803447E4 00341744 48 00 00 4C */ b lbl_80344830 -lbl_803447E8: -/* 803447E8 00341748 80 BF 00 08 */ lwz r5, 8(r31) -/* 803447EC 0034174C 80 05 00 20 */ lwz r0, 0x20(r5) -/* 803447F0 00341750 7C 00 18 40 */ cmplw r0, r3 -/* 803447F4 00341754 40 82 00 38 */ bne lbl_8034482C -/* 803447F8 00341758 88 05 00 24 */ lbz r0, 0x24(r5) -/* 803447FC 0034175C 28 00 00 00 */ cmplwi r0, 0 -/* 80344800 00341760 41 82 00 24 */ beq lbl_80344824 -/* 80344804 00341764 7C A3 2B 78 */ mr r3, r5 -/* 80344808 00341768 4B FD 11 29 */ bl Free__7CMemoryFPCv -/* 8034480C 0034176C 3C 60 80 5A */ lis r3, lbl_805A679C@ha -/* 80344810 00341770 7F E4 FB 78 */ mr r4, r31 -/* 80344814 00341774 38 63 67 9C */ addi r3, r3, lbl_805A679C@l -/* 80344818 00341778 48 00 06 6D */ bl sub_80344e84 -/* 8034481C 0034177C 38 60 00 01 */ li r3, 1 -/* 80344820 00341780 48 00 00 1C */ b lbl_8034483C -lbl_80344824: -/* 80344824 00341784 38 60 00 00 */ li r3, 0 -/* 80344828 00341788 48 00 00 14 */ b lbl_8034483C -lbl_8034482C: -/* 8034482C 0034178C 83 FF 00 04 */ lwz r31, 4(r31) -lbl_80344830: -/* 80344830 00341790 7C 1F 20 40 */ cmplw r31, r4 -/* 80344834 00341794 40 82 FF B4 */ bne lbl_803447E8 -/* 80344838 00341798 38 60 00 01 */ li r3, 1 -lbl_8034483C: -/* 8034483C 0034179C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80344840 003417A0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80344844 003417A4 7C 08 03 A6 */ mtlr r0 -/* 80344848 003417A8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8034484C 003417AC 4E 80 00 20 */ blr - -.global DMAToMRAM__12CARAMManagerFPvPvUiQ212CARAMManager12EDMAPriority -DMAToMRAM__12CARAMManagerFPvPvUiQ212CARAMManager12EDMAPriority: -/* 80344850 003417B0 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80344854 003417B4 7C 08 02 A6 */ mflr r0 -/* 80344858 003417B8 90 01 00 34 */ stw r0, 0x34(r1) -/* 8034485C 003417BC BF 21 00 14 */ stmw r25, 0x14(r1) -/* 80344860 003417C0 7C 9C 23 78 */ mr r28, r4 -/* 80344864 003417C4 7C BF 2B 78 */ mr r31, r5 -/* 80344868 003417C8 7C 7B 1B 78 */ mr r27, r3 -/* 8034486C 003417CC 7C DD 33 78 */ mr r29, r6 -/* 80344870 003417D0 7F 83 E3 78 */ mr r3, r28 -/* 80344874 003417D4 7F E4 FB 78 */ mr r4, r31 -/* 80344878 003417D8 48 03 A2 0D */ bl DCInvalidateRange -/* 8034487C 003417DC 3C 80 80 3D */ lis r4, lbl_803D7F50@ha -/* 80344880 003417E0 38 60 00 28 */ li r3, 0x28 -/* 80344884 003417E4 38 84 7F 50 */ addi r4, r4, lbl_803D7F50@l -/* 80344888 003417E8 38 A0 00 00 */ li r5, 0 -/* 8034488C 003417EC 4B FD 0F E1 */ bl __nw__FUlPCcPCc -/* 80344890 003417F0 38 00 00 00 */ li r0, 0 -/* 80344894 003417F4 3C A0 80 5A */ lis r5, lbl_805A679C@ha -/* 80344898 003417F8 98 03 00 24 */ stb r0, 0x24(r3) -/* 8034489C 003417FC 7C 7E 1B 78 */ mr r30, r3 -/* 803448A0 00341800 38 C5 67 9C */ addi r6, r5, lbl_805A679C@l -/* 803448A4 00341804 3C 60 80 3D */ lis r3, lbl_803D7F50@ha -/* 803448A8 00341808 80 0D A9 74 */ lwz r0, lbl_805A9534@sda21(r13) -/* 803448AC 0034180C 38 83 7F 50 */ addi r4, r3, lbl_803D7F50@l -/* 803448B0 00341810 38 60 00 0C */ li r3, 0xc -/* 803448B4 00341814 38 A0 00 00 */ li r5, 0 -/* 803448B8 00341818 90 1E 00 20 */ stw r0, 0x20(r30) -/* 803448BC 0034181C 83 46 00 08 */ lwz r26, 8(r6) -/* 803448C0 00341820 83 3A 00 00 */ lwz r25, 0(r26) -/* 803448C4 00341824 4B FD 0F 55 */ bl __nwa__FUlPCcPCc -/* 803448C8 00341828 28 03 00 00 */ cmplwi r3, 0 -/* 803448CC 0034182C 41 82 00 0C */ beq lbl_803448D8 -/* 803448D0 00341830 93 23 00 00 */ stw r25, 0(r3) -/* 803448D4 00341834 93 43 00 04 */ stw r26, 4(r3) -lbl_803448D8: -/* 803448D8 00341838 34 83 00 08 */ addic. r4, r3, 8 -/* 803448DC 0034183C 41 82 00 08 */ beq lbl_803448E4 -/* 803448E0 00341840 93 C4 00 00 */ stw r30, 0(r4) -lbl_803448E4: -/* 803448E4 00341844 3C 80 80 5A */ lis r4, lbl_805A679C@ha -/* 803448E8 00341848 38 84 67 9C */ addi r4, r4, lbl_805A679C@l -/* 803448EC 0034184C 80 04 00 04 */ lwz r0, 4(r4) -/* 803448F0 00341850 7C 1A 00 40 */ cmplw r26, r0 -/* 803448F4 00341854 40 82 00 08 */ bne lbl_803448FC -/* 803448F8 00341858 90 64 00 04 */ stw r3, 4(r4) -lbl_803448FC: -/* 803448FC 0034185C 80 C3 00 00 */ lwz r6, 0(r3) -/* 80344900 00341860 3C 80 80 34 */ lis r4, AramManagerDMACallback__12CARAMManagerFUl@ha -/* 80344904 00341864 3C A0 80 5A */ lis r5, lbl_805A679C@ha -/* 80344908 00341868 20 1D 00 01 */ subfic r0, r29, 1 -/* 8034490C 0034186C 90 66 00 04 */ stw r3, 4(r6) -/* 80344910 00341870 39 44 46 7C */ addi r10, r4, AramManagerDMACallback__12CARAMManagerFUl@l -/* 80344914 00341874 39 65 67 9C */ addi r11, r5, lbl_805A679C@l -/* 80344918 00341878 7C 00 00 34 */ cntlzw r0, r0 -/* 8034491C 0034187C 80 83 00 04 */ lwz r4, 4(r3) -/* 80344920 00341880 54 06 D9 7E */ srwi r6, r0, 5 -/* 80344924 00341884 7F 67 DB 78 */ mr r7, r27 -/* 80344928 00341888 7F 88 E3 78 */ mr r8, r28 -/* 8034492C 0034188C 90 64 00 00 */ stw r3, 0(r4) -/* 80344930 00341890 7F E9 FB 78 */ mr r9, r31 -/* 80344934 00341894 7F C3 F3 78 */ mr r3, r30 -/* 80344938 00341898 38 A0 00 01 */ li r5, 1 -/* 8034493C 0034189C 80 8B 00 14 */ lwz r4, 0x14(r11) -/* 80344940 003418A0 38 04 00 01 */ addi r0, r4, 1 -/* 80344944 003418A4 90 0B 00 14 */ stw r0, 0x14(r11) -/* 80344948 003418A8 80 9E 00 20 */ lwz r4, 0x20(r30) -/* 8034494C 003418AC 48 02 AD 25 */ bl ARQPostRequest -/* 80344950 003418B0 80 6D A9 74 */ lwz r3, lbl_805A9534@sda21(r13) -/* 80344954 003418B4 80 02 CB AC */ lwz r0, lbl_805AE8CC@sda21(r2) -/* 80344958 003418B8 38 63 00 01 */ addi r3, r3, 1 -/* 8034495C 003418BC 7C 03 00 40 */ cmplw r3, r0 -/* 80344960 003418C0 90 6D A9 74 */ stw r3, lbl_805A9534@sda21(r13) -/* 80344964 003418C4 40 82 00 0C */ bne lbl_80344970 -/* 80344968 003418C8 38 03 00 01 */ addi r0, r3, 1 -/* 8034496C 003418CC 90 0D A9 74 */ stw r0, lbl_805A9534@sda21(r13) -lbl_80344970: -/* 80344970 003418D0 80 7E 00 20 */ lwz r3, 0x20(r30) -/* 80344974 003418D4 BB 21 00 14 */ lmw r25, 0x14(r1) -/* 80344978 003418D8 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8034497C 003418DC 7C 08 03 A6 */ mtlr r0 -/* 80344980 003418E0 38 21 00 30 */ addi r1, r1, 0x30 -/* 80344984 003418E4 4E 80 00 20 */ blr - -.global DMAToARAM__12CARAMManagerFPvPvUiQ212CARAMManager12EDMAPriority -DMAToARAM__12CARAMManagerFPvPvUiQ212CARAMManager12EDMAPriority: -/* 80344988 003418E8 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8034498C 003418EC 7C 08 02 A6 */ mflr r0 -/* 80344990 003418F0 90 01 00 34 */ stw r0, 0x34(r1) -/* 80344994 003418F4 BF 21 00 14 */ stmw r25, 0x14(r1) -/* 80344998 003418F8 7C BF 2B 78 */ mr r31, r5 -/* 8034499C 003418FC 7C 9C 23 78 */ mr r28, r4 -/* 803449A0 00341900 7C 7B 1B 78 */ mr r27, r3 -/* 803449A4 00341904 7C DD 33 78 */ mr r29, r6 -/* 803449A8 00341908 7F E4 FB 78 */ mr r4, r31 -/* 803449AC 0034190C 48 03 A1 35 */ bl DCStoreRange -/* 803449B0 00341910 3C 80 80 3D */ lis r4, lbl_803D7F50@ha -/* 803449B4 00341914 38 60 00 28 */ li r3, 0x28 -/* 803449B8 00341918 38 84 7F 50 */ addi r4, r4, lbl_803D7F50@l -/* 803449BC 0034191C 38 A0 00 00 */ li r5, 0 -/* 803449C0 00341920 4B FD 0E AD */ bl __nw__FUlPCcPCc -/* 803449C4 00341924 38 00 00 00 */ li r0, 0 -/* 803449C8 00341928 3C A0 80 5A */ lis r5, lbl_805A679C@ha -/* 803449CC 0034192C 98 03 00 24 */ stb r0, 0x24(r3) -/* 803449D0 00341930 7C 7E 1B 78 */ mr r30, r3 -/* 803449D4 00341934 38 C5 67 9C */ addi r6, r5, lbl_805A679C@l -/* 803449D8 00341938 3C 60 80 3D */ lis r3, lbl_803D7F50@ha -/* 803449DC 0034193C 80 0D A9 74 */ lwz r0, lbl_805A9534@sda21(r13) -/* 803449E0 00341940 38 83 7F 50 */ addi r4, r3, lbl_803D7F50@l -/* 803449E4 00341944 38 60 00 0C */ li r3, 0xc -/* 803449E8 00341948 38 A0 00 00 */ li r5, 0 -/* 803449EC 0034194C 90 1E 00 20 */ stw r0, 0x20(r30) -/* 803449F0 00341950 83 46 00 08 */ lwz r26, 8(r6) -/* 803449F4 00341954 83 3A 00 00 */ lwz r25, 0(r26) -/* 803449F8 00341958 4B FD 0E 21 */ bl __nwa__FUlPCcPCc -/* 803449FC 0034195C 28 03 00 00 */ cmplwi r3, 0 -/* 80344A00 00341960 41 82 00 0C */ beq lbl_80344A0C -/* 80344A04 00341964 93 23 00 00 */ stw r25, 0(r3) -/* 80344A08 00341968 93 43 00 04 */ stw r26, 4(r3) -lbl_80344A0C: -/* 80344A0C 0034196C 34 83 00 08 */ addic. r4, r3, 8 -/* 80344A10 00341970 41 82 00 08 */ beq lbl_80344A18 -/* 80344A14 00341974 93 C4 00 00 */ stw r30, 0(r4) -lbl_80344A18: -/* 80344A18 00341978 3C 80 80 5A */ lis r4, lbl_805A679C@ha -/* 80344A1C 0034197C 38 84 67 9C */ addi r4, r4, lbl_805A679C@l -/* 80344A20 00341980 80 04 00 04 */ lwz r0, 4(r4) -/* 80344A24 00341984 7C 1A 00 40 */ cmplw r26, r0 -/* 80344A28 00341988 40 82 00 08 */ bne lbl_80344A30 -/* 80344A2C 0034198C 90 64 00 04 */ stw r3, 4(r4) -lbl_80344A30: -/* 80344A30 00341990 80 C3 00 00 */ lwz r6, 0(r3) -/* 80344A34 00341994 3C 80 80 34 */ lis r4, AramManagerDMACallback__12CARAMManagerFUl@ha -/* 80344A38 00341998 3C A0 80 5A */ lis r5, lbl_805A679C@ha -/* 80344A3C 0034199C 20 1D 00 01 */ subfic r0, r29, 1 -/* 80344A40 003419A0 90 66 00 04 */ stw r3, 4(r6) -/* 80344A44 003419A4 39 44 46 7C */ addi r10, r4, AramManagerDMACallback__12CARAMManagerFUl@l -/* 80344A48 003419A8 39 65 67 9C */ addi r11, r5, lbl_805A679C@l -/* 80344A4C 003419AC 7C 00 00 34 */ cntlzw r0, r0 -/* 80344A50 003419B0 80 83 00 04 */ lwz r4, 4(r3) -/* 80344A54 003419B4 54 06 D9 7E */ srwi r6, r0, 5 -/* 80344A58 003419B8 7F 67 DB 78 */ mr r7, r27 -/* 80344A5C 003419BC 7F 88 E3 78 */ mr r8, r28 -/* 80344A60 003419C0 90 64 00 00 */ stw r3, 0(r4) -/* 80344A64 003419C4 7F E9 FB 78 */ mr r9, r31 -/* 80344A68 003419C8 7F C3 F3 78 */ mr r3, r30 -/* 80344A6C 003419CC 38 A0 00 00 */ li r5, 0 -/* 80344A70 003419D0 80 8B 00 14 */ lwz r4, 0x14(r11) -/* 80344A74 003419D4 38 04 00 01 */ addi r0, r4, 1 -/* 80344A78 003419D8 90 0B 00 14 */ stw r0, 0x14(r11) -/* 80344A7C 003419DC 80 9E 00 20 */ lwz r4, 0x20(r30) -/* 80344A80 003419E0 48 02 AB F1 */ bl ARQPostRequest -/* 80344A84 003419E4 80 6D A9 74 */ lwz r3, lbl_805A9534@sda21(r13) -/* 80344A88 003419E8 80 02 CB AC */ lwz r0, lbl_805AE8CC@sda21(r2) -/* 80344A8C 003419EC 38 63 00 01 */ addi r3, r3, 1 -/* 80344A90 003419F0 7C 03 00 40 */ cmplw r3, r0 -/* 80344A94 003419F4 90 6D A9 74 */ stw r3, lbl_805A9534@sda21(r13) -/* 80344A98 003419F8 40 82 00 0C */ bne lbl_80344AA4 -/* 80344A9C 003419FC 38 03 00 01 */ addi r0, r3, 1 -/* 80344AA0 00341A00 90 0D A9 74 */ stw r0, lbl_805A9534@sda21(r13) -lbl_80344AA4: -/* 80344AA4 00341A04 80 7E 00 20 */ lwz r3, 0x20(r30) -/* 80344AA8 00341A08 BB 21 00 14 */ lmw r25, 0x14(r1) -/* 80344AAC 00341A0C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80344AB0 00341A10 7C 08 03 A6 */ mtlr r0 -/* 80344AB4 00341A14 38 21 00 30 */ addi r1, r1, 0x30 -/* 80344AB8 00341A18 4E 80 00 20 */ blr - -.global Free__12CARAMManagerFPCv -Free__12CARAMManagerFPCv: -/* 80344ABC 00341A1C 80 02 CB A8 */ lwz r0, lbl_805AE8C8@sda21(r2) -/* 80344AC0 00341A20 7C 00 18 40 */ cmplw r0, r3 -/* 80344AC4 00341A24 40 82 00 0C */ bne lbl_80344AD0 -/* 80344AC8 00341A28 38 60 00 00 */ li r3, 0 -/* 80344ACC 00341A2C 4E 80 00 20 */ blr -lbl_80344AD0: -/* 80344AD0 00341A30 80 8D A9 64 */ lwz r4, lbl_805A9524@sda21(r13) -/* 80344AD4 00341A34 38 A0 00 00 */ li r5, 0 -/* 80344AD8 00341A38 80 0D A9 68 */ lwz r0, lbl_805A9528@sda21(r13) -/* 80344ADC 00341A3C 7C 84 18 50 */ subf r4, r4, r3 -/* 80344AE0 00341A40 80 6D A9 70 */ lwz r3, lbl_805A9530@sda21(r13) -/* 80344AE4 00341A44 7C 84 03 96 */ divwu r4, r4, r0 -/* 80344AE8 00341A48 80 0D A9 78 */ lwz r0, lbl_805A9538@sda21(r13) -/* 80344AEC 00341A4C 54 86 10 3A */ slwi r6, r4, 2 -/* 80344AF0 00341A50 7C 63 30 2E */ lwzx r3, r3, r6 -/* 80344AF4 00341A54 7C 03 00 50 */ subf r0, r3, r0 -/* 80344AF8 00341A58 28 03 00 00 */ cmplwi r3, 0 -/* 80344AFC 00341A5C 90 0D A9 78 */ stw r0, lbl_805A9538@sda21(r13) -/* 80344B00 00341A60 41 82 00 90 */ beq lbl_80344B90 -/* 80344B04 00341A64 54 60 E8 FF */ rlwinm. r0, r3, 0x1d, 3, 0x1f -/* 80344B08 00341A68 7C 09 03 A6 */ mtctr r0 -/* 80344B0C 00341A6C 41 82 00 70 */ beq lbl_80344B7C -lbl_80344B10: -/* 80344B10 00341A70 80 8D A9 70 */ lwz r4, lbl_805A9530@sda21(r13) -/* 80344B14 00341A74 7C A4 31 2E */ stwx r5, r4, r6 -/* 80344B18 00341A78 38 C6 00 04 */ addi r6, r6, 4 -/* 80344B1C 00341A7C 80 8D A9 70 */ lwz r4, lbl_805A9530@sda21(r13) -/* 80344B20 00341A80 7C A4 31 2E */ stwx r5, r4, r6 -/* 80344B24 00341A84 38 C6 00 04 */ addi r6, r6, 4 -/* 80344B28 00341A88 80 8D A9 70 */ lwz r4, lbl_805A9530@sda21(r13) -/* 80344B2C 00341A8C 7C A4 31 2E */ stwx r5, r4, r6 -/* 80344B30 00341A90 38 C6 00 04 */ addi r6, r6, 4 -/* 80344B34 00341A94 80 8D A9 70 */ lwz r4, lbl_805A9530@sda21(r13) -/* 80344B38 00341A98 7C A4 31 2E */ stwx r5, r4, r6 -/* 80344B3C 00341A9C 38 C6 00 04 */ addi r6, r6, 4 -/* 80344B40 00341AA0 80 8D A9 70 */ lwz r4, lbl_805A9530@sda21(r13) -/* 80344B44 00341AA4 7C A4 31 2E */ stwx r5, r4, r6 -/* 80344B48 00341AA8 38 C6 00 04 */ addi r6, r6, 4 -/* 80344B4C 00341AAC 80 8D A9 70 */ lwz r4, lbl_805A9530@sda21(r13) -/* 80344B50 00341AB0 7C A4 31 2E */ stwx r5, r4, r6 -/* 80344B54 00341AB4 38 C6 00 04 */ addi r6, r6, 4 -/* 80344B58 00341AB8 80 8D A9 70 */ lwz r4, lbl_805A9530@sda21(r13) -/* 80344B5C 00341ABC 7C A4 31 2E */ stwx r5, r4, r6 -/* 80344B60 00341AC0 38 C6 00 04 */ addi r6, r6, 4 -/* 80344B64 00341AC4 80 8D A9 70 */ lwz r4, lbl_805A9530@sda21(r13) -/* 80344B68 00341AC8 7C A4 31 2E */ stwx r5, r4, r6 -/* 80344B6C 00341ACC 38 C6 00 04 */ addi r6, r6, 4 -/* 80344B70 00341AD0 42 00 FF A0 */ bdnz lbl_80344B10 -/* 80344B74 00341AD4 70 63 00 07 */ andi. r3, r3, 7 -/* 80344B78 00341AD8 41 82 00 18 */ beq lbl_80344B90 -lbl_80344B7C: -/* 80344B7C 00341ADC 7C 69 03 A6 */ mtctr r3 -lbl_80344B80: -/* 80344B80 00341AE0 80 8D A9 70 */ lwz r4, lbl_805A9530@sda21(r13) -/* 80344B84 00341AE4 7C A4 31 2E */ stwx r5, r4, r6 -/* 80344B88 00341AE8 38 C6 00 04 */ addi r6, r6, 4 -/* 80344B8C 00341AEC 42 00 FF F4 */ bdnz lbl_80344B80 -lbl_80344B90: -/* 80344B90 00341AF0 38 60 00 01 */ li r3, 1 -/* 80344B94 00341AF4 4E 80 00 20 */ blr - -.global FindFreeBlocks__12CARAMManagerFUiUiUi -FindFreeBlocks__12CARAMManagerFUiUiUi: -/* 80344B98 00341AF8 80 ED A9 70 */ lwz r7, lbl_805A9530@sda21(r13) -/* 80344B9C 00341AFC 48 00 00 7C */ b lbl_80344C18 -lbl_80344BA0: -/* 80344BA0 00341B00 54 60 10 3A */ slwi r0, r3, 2 -/* 80344BA4 00341B04 7C 07 00 2E */ lwzx r0, r7, r0 -/* 80344BA8 00341B08 28 00 00 00 */ cmplwi r0, 0 -/* 80344BAC 00341B0C 40 82 00 68 */ bne lbl_80344C14 -/* 80344BB0 00341B10 28 05 00 01 */ cmplwi r5, 1 -/* 80344BB4 00341B14 4D 82 00 20 */ beqlr -/* 80344BB8 00341B18 38 63 00 01 */ addi r3, r3, 1 -/* 80344BBC 00341B1C 39 00 00 01 */ li r8, 1 -/* 80344BC0 00341B20 54 66 10 3A */ slwi r6, r3, 2 -/* 80344BC4 00341B24 7C 03 20 50 */ subf r0, r3, r4 -/* 80344BC8 00341B28 7C C7 32 14 */ add r6, r7, r6 -/* 80344BCC 00341B2C 7C 09 03 A6 */ mtctr r0 -/* 80344BD0 00341B30 7C 03 20 40 */ cmplw r3, r4 -/* 80344BD4 00341B34 40 80 00 44 */ bge lbl_80344C18 -lbl_80344BD8: -/* 80344BD8 00341B38 80 06 00 00 */ lwz r0, 0(r6) -/* 80344BDC 00341B3C 28 00 00 00 */ cmplwi r0, 0 -/* 80344BE0 00341B40 41 82 00 0C */ beq lbl_80344BEC -/* 80344BE4 00341B44 7C 63 02 14 */ add r3, r3, r0 -/* 80344BE8 00341B48 48 00 00 30 */ b lbl_80344C18 -lbl_80344BEC: -/* 80344BEC 00341B4C 39 08 00 01 */ addi r8, r8, 1 -/* 80344BF0 00341B50 7C 08 28 40 */ cmplw r8, r5 -/* 80344BF4 00341B54 40 82 00 10 */ bne lbl_80344C04 -/* 80344BF8 00341B58 38 05 FF FF */ addi r0, r5, -1 -/* 80344BFC 00341B5C 7C 60 18 50 */ subf r3, r0, r3 -/* 80344C00 00341B60 4E 80 00 20 */ blr -lbl_80344C04: -/* 80344C04 00341B64 38 C6 00 04 */ addi r6, r6, 4 -/* 80344C08 00341B68 38 63 00 01 */ addi r3, r3, 1 -/* 80344C0C 00341B6C 42 00 FF CC */ bdnz lbl_80344BD8 -/* 80344C10 00341B70 48 00 00 08 */ b lbl_80344C18 -lbl_80344C14: -/* 80344C14 00341B74 7C 63 02 14 */ add r3, r3, r0 -lbl_80344C18: -/* 80344C18 00341B78 7C 03 20 40 */ cmplw r3, r4 -/* 80344C1C 00341B7C 41 80 FF 84 */ blt lbl_80344BA0 -/* 80344C20 00341B80 38 60 FF FF */ li r3, -1 -/* 80344C24 00341B84 4E 80 00 20 */ blr - -.global Alloc__12CARAMManagerFUi -Alloc__12CARAMManagerFUi: -/* 80344C28 00341B88 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80344C2C 00341B8C 7C 08 02 A6 */ mflr r0 -/* 80344C30 00341B90 90 01 00 14 */ stw r0, 0x14(r1) -/* 80344C34 00341B94 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80344C38 00341B98 80 CD A9 68 */ lwz r6, lbl_805A9528@sda21(r13) -/* 80344C3C 00341B9C 80 8D A9 6C */ lwz r4, lbl_805A952C@sda21(r13) -/* 80344C40 00341BA0 7C A6 1A 14 */ add r5, r6, r3 -/* 80344C44 00341BA4 38 60 00 00 */ li r3, 0 -/* 80344C48 00341BA8 38 05 FF FF */ addi r0, r5, -1 -/* 80344C4C 00341BAC 7F E0 33 96 */ divwu r31, r0, r6 -/* 80344C50 00341BB0 7F E5 FB 78 */ mr r5, r31 -/* 80344C54 00341BB4 4B FF FF 45 */ bl FindFreeBlocks__12CARAMManagerFUiUiUi -/* 80344C58 00341BB8 3C 03 00 01 */ addis r0, r3, 1 -/* 80344C5C 00341BBC 28 00 FF FF */ cmplwi r0, 0xffff -/* 80344C60 00341BC0 40 82 00 0C */ bne lbl_80344C6C -/* 80344C64 00341BC4 38 60 FF FF */ li r3, -1 -/* 80344C68 00341BC8 48 00 00 48 */ b lbl_80344CB0 -lbl_80344C6C: -/* 80344C6C 00341BCC 80 0D A9 68 */ lwz r0, lbl_805A9528@sda21(r13) -/* 80344C70 00341BD0 54 67 10 3A */ slwi r7, r3, 2 -/* 80344C74 00341BD4 80 CD A9 78 */ lwz r6, lbl_805A9538@sda21(r13) -/* 80344C78 00341BD8 7C 83 01 D6 */ mullw r4, r3, r0 -/* 80344C7C 00341BDC 80 AD A9 64 */ lwz r5, lbl_805A9524@sda21(r13) -/* 80344C80 00341BE0 7C 06 FA 14 */ add r0, r6, r31 -/* 80344C84 00341BE4 80 6D A9 70 */ lwz r3, lbl_805A9530@sda21(r13) -/* 80344C88 00341BE8 90 0D A9 78 */ stw r0, lbl_805A9538@sda21(r13) -/* 80344C8C 00341BEC 38 00 FF FF */ li r0, -1 -/* 80344C90 00341BF0 7F E3 39 2E */ stwx r31, r3, r7 -/* 80344C94 00341BF4 7C 65 22 14 */ add r3, r5, r4 -/* 80344C98 00341BF8 48 00 00 10 */ b lbl_80344CA8 -lbl_80344C9C: -/* 80344C9C 00341BFC 80 8D A9 70 */ lwz r4, lbl_805A9530@sda21(r13) -/* 80344CA0 00341C00 38 E7 00 04 */ addi r7, r7, 4 -/* 80344CA4 00341C04 7C 04 39 2E */ stwx r0, r4, r7 -lbl_80344CA8: -/* 80344CA8 00341C08 37 FF FF FF */ addic. r31, r31, -1 -/* 80344CAC 00341C0C 40 82 FF F0 */ bne lbl_80344C9C -lbl_80344CB0: -/* 80344CB0 00341C10 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80344CB4 00341C14 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80344CB8 00341C18 7C 08 03 A6 */ mtlr r0 -/* 80344CBC 00341C1C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80344CC0 00341C20 4E 80 00 20 */ blr - -.global Shutdown__12CARAMManagerFv -Shutdown__12CARAMManagerFv: -/* 80344CC4 00341C24 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80344CC8 00341C28 7C 08 02 A6 */ mflr r0 -/* 80344CCC 00341C2C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80344CD0 00341C30 4B FF FA 39 */ bl WaitForAllDMAsToComplete__12CARAMManagerFv -/* 80344CD4 00341C34 80 6D A9 70 */ lwz r3, lbl_805A9530@sda21(r13) -/* 80344CD8 00341C38 4B FD 0C 59 */ bl Free__7CMemoryFPCv -/* 80344CDC 00341C3C 80 0D A9 6C */ lwz r0, lbl_805A952C@sda21(r13) -/* 80344CE0 00341C40 38 60 00 00 */ li r3, 0 -/* 80344CE4 00341C44 90 61 00 08 */ stw r3, 8(r1) -/* 80344CE8 00341C48 7C 00 00 D0 */ neg r0, r0 -/* 80344CEC 00341C4C 54 03 10 3A */ slwi r3, r0, 2 -/* 80344CF0 00341C50 4B FD 0B D1 */ bl OffsetFakeStatics__7CMemoryFi -/* 80344CF4 00341C54 38 61 00 08 */ addi r3, r1, 8 -/* 80344CF8 00341C58 48 02 8D 85 */ bl ARFree -/* 80344CFC 00341C5C 38 00 00 00 */ li r0, 0 -/* 80344D00 00341C60 98 0D A9 60 */ stb r0, lbl_805A9520@sda21(r13) -/* 80344D04 00341C64 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80344D08 00341C68 7C 08 03 A6 */ mtlr r0 -/* 80344D0C 00341C6C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80344D10 00341C70 4E 80 00 20 */ blr - -.global Initialize__12CARAMManagerFUi -Initialize__12CARAMManagerFUi: -/* 80344D14 00341C74 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80344D18 00341C78 7C 08 02 A6 */ mflr r0 -/* 80344D1C 00341C7C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80344D20 00341C80 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80344D24 00341C84 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80344D28 00341C88 7C 7E 1B 78 */ mr r30, r3 -/* 80344D2C 00341C8C 48 02 8E 91 */ bl ARGetSize -/* 80344D30 00341C90 80 0D 9D 60 */ lwz r0, lbl_805A8920@sda21(r13) -/* 80344D34 00341C94 93 CD A9 68 */ stw r30, lbl_805A9528@sda21(r13) -/* 80344D38 00341C98 7C 00 18 50 */ subf r0, r0, r3 -/* 80344D3C 00341C9C 7F E0 F3 96 */ divwu r31, r0, r30 -/* 80344D40 00341CA0 7C 7E F9 D6 */ mullw r3, r30, r31 -/* 80344D44 00341CA4 93 ED A9 6C */ stw r31, lbl_805A952C@sda21(r13) -/* 80344D48 00341CA8 48 02 8C CD */ bl ARAlloc -/* 80344D4C 00341CAC 3C A0 80 3D */ lis r5, lbl_803D7F50@ha -/* 80344D50 00341CB0 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha -/* 80344D54 00341CB4 90 6D A9 64 */ stw r3, lbl_805A9524@sda21(r13) -/* 80344D58 00341CB8 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l -/* 80344D5C 00341CBC 38 A5 7F 50 */ addi r5, r5, lbl_803D7F50@l -/* 80344D60 00341CC0 38 61 00 08 */ addi r3, r1, 8 -/* 80344D64 00341CC4 38 80 FF FF */ li r4, -1 -/* 80344D68 00341CC8 4B F9 16 6D */ bl __ct__10CCallStackFUiPCcPCc -/* 80344D6C 00341CCC 7C 67 1B 78 */ mr r7, r3 -/* 80344D70 00341CD0 57 E3 10 3A */ slwi r3, r31, 2 -/* 80344D74 00341CD4 38 80 00 00 */ li r4, 0 -/* 80344D78 00341CD8 38 A0 00 01 */ li r5, 1 -/* 80344D7C 00341CDC 38 C0 00 00 */ li r6, 0 -/* 80344D80 00341CE0 4B FD 0C 15 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack -/* 80344D84 00341CE4 80 0D A9 6C */ lwz r0, lbl_805A952C@sda21(r13) -/* 80344D88 00341CE8 90 6D A9 70 */ stw r3, lbl_805A9530@sda21(r13) -/* 80344D8C 00341CEC 54 03 10 3A */ slwi r3, r0, 2 -/* 80344D90 00341CF0 4B FD 0B 31 */ bl OffsetFakeStatics__7CMemoryFi -/* 80344D94 00341CF4 28 1F 00 00 */ cmplwi r31, 0 -/* 80344D98 00341CF8 39 80 00 00 */ li r12, 0 -/* 80344D9C 00341CFC 40 81 00 BC */ ble lbl_80344E58 -/* 80344DA0 00341D00 28 1F 00 08 */ cmplwi r31, 8 -/* 80344DA4 00341D04 38 7F FF F8 */ addi r3, r31, -8 -/* 80344DA8 00341D08 40 81 00 88 */ ble lbl_80344E30 -/* 80344DAC 00341D0C 38 03 00 07 */ addi r0, r3, 7 -/* 80344DB0 00341D10 39 60 00 00 */ li r11, 0 -/* 80344DB4 00341D14 54 00 E8 FE */ srwi r0, r0, 3 -/* 80344DB8 00341D18 7C 09 03 A6 */ mtctr r0 -/* 80344DBC 00341D1C 28 03 00 00 */ cmplwi r3, 0 -/* 80344DC0 00341D20 40 81 00 70 */ ble lbl_80344E30 -lbl_80344DC4: -/* 80344DC4 00341D24 80 6D A9 70 */ lwz r3, lbl_805A9530@sda21(r13) -/* 80344DC8 00341D28 39 40 00 00 */ li r10, 0 -/* 80344DCC 00341D2C 39 0B 00 04 */ addi r8, r11, 4 -/* 80344DD0 00341D30 38 EB 00 08 */ addi r7, r11, 8 -/* 80344DD4 00341D34 7D 43 59 2E */ stwx r10, r3, r11 -/* 80344DD8 00341D38 38 CB 00 0C */ addi r6, r11, 0xc -/* 80344DDC 00341D3C 38 AB 00 10 */ addi r5, r11, 0x10 -/* 80344DE0 00341D40 38 8B 00 14 */ addi r4, r11, 0x14 -/* 80344DE4 00341D44 81 2D A9 70 */ lwz r9, lbl_805A9530@sda21(r13) -/* 80344DE8 00341D48 38 6B 00 18 */ addi r3, r11, 0x18 -/* 80344DEC 00341D4C 38 0B 00 1C */ addi r0, r11, 0x1c -/* 80344DF0 00341D50 39 6B 00 20 */ addi r11, r11, 0x20 -/* 80344DF4 00341D54 7D 49 41 2E */ stwx r10, r9, r8 -/* 80344DF8 00341D58 39 8C 00 08 */ addi r12, r12, 8 -/* 80344DFC 00341D5C 81 0D A9 70 */ lwz r8, lbl_805A9530@sda21(r13) -/* 80344E00 00341D60 7D 48 39 2E */ stwx r10, r8, r7 -/* 80344E04 00341D64 80 ED A9 70 */ lwz r7, lbl_805A9530@sda21(r13) -/* 80344E08 00341D68 7D 47 31 2E */ stwx r10, r7, r6 -/* 80344E0C 00341D6C 80 CD A9 70 */ lwz r6, lbl_805A9530@sda21(r13) -/* 80344E10 00341D70 7D 46 29 2E */ stwx r10, r6, r5 -/* 80344E14 00341D74 80 AD A9 70 */ lwz r5, lbl_805A9530@sda21(r13) -/* 80344E18 00341D78 7D 45 21 2E */ stwx r10, r5, r4 -/* 80344E1C 00341D7C 80 8D A9 70 */ lwz r4, lbl_805A9530@sda21(r13) -/* 80344E20 00341D80 7D 44 19 2E */ stwx r10, r4, r3 -/* 80344E24 00341D84 80 6D A9 70 */ lwz r3, lbl_805A9530@sda21(r13) -/* 80344E28 00341D88 7D 43 01 2E */ stwx r10, r3, r0 -/* 80344E2C 00341D8C 42 00 FF 98 */ bdnz lbl_80344DC4 -lbl_80344E30: -/* 80344E30 00341D90 7C 0C F8 50 */ subf r0, r12, r31 -/* 80344E34 00341D94 55 85 10 3A */ slwi r5, r12, 2 -/* 80344E38 00341D98 38 80 00 00 */ li r4, 0 -/* 80344E3C 00341D9C 7C 09 03 A6 */ mtctr r0 -/* 80344E40 00341DA0 7C 0C F8 40 */ cmplw r12, r31 -/* 80344E44 00341DA4 40 80 00 14 */ bge lbl_80344E58 -lbl_80344E48: -/* 80344E48 00341DA8 80 6D A9 70 */ lwz r3, lbl_805A9530@sda21(r13) -/* 80344E4C 00341DAC 7C 83 29 2E */ stwx r4, r3, r5 -/* 80344E50 00341DB0 38 A5 00 04 */ addi r5, r5, 4 -/* 80344E54 00341DB4 42 00 FF F4 */ bdnz lbl_80344E48 -lbl_80344E58: -/* 80344E58 00341DB8 38 60 00 00 */ li r3, 0 -/* 80344E5C 00341DBC 38 00 00 01 */ li r0, 1 -/* 80344E60 00341DC0 90 6D A9 74 */ stw r3, lbl_805A9534@sda21(r13) -/* 80344E64 00341DC4 38 60 00 01 */ li r3, 1 -/* 80344E68 00341DC8 98 0D A9 60 */ stb r0, lbl_805A9520@sda21(r13) -/* 80344E6C 00341DCC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80344E70 00341DD0 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80344E74 00341DD4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80344E78 00341DD8 7C 08 03 A6 */ mtlr r0 -/* 80344E7C 00341DDC 38 21 00 20 */ addi r1, r1, 0x20 -/* 80344E80 00341DE0 4E 80 00 20 */ blr - -.global sub_80344e84 -sub_80344e84: -/* 80344E84 00341DE4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80344E88 00341DE8 7C 08 02 A6 */ mflr r0 -/* 80344E8C 00341DEC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80344E90 00341DF0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80344E94 00341DF4 93 C1 00 08 */ stw r30, 8(r1) -/* 80344E98 00341DF8 7C 7E 1B 78 */ mr r30, r3 -/* 80344E9C 00341DFC 80 03 00 04 */ lwz r0, 4(r3) -/* 80344EA0 00341E00 83 E4 00 04 */ lwz r31, 4(r4) -/* 80344EA4 00341E04 7C 04 00 40 */ cmplw r4, r0 -/* 80344EA8 00341E08 40 82 00 08 */ bne lbl_80344EB0 -/* 80344EAC 00341E0C 93 FE 00 04 */ stw r31, 4(r30) -lbl_80344EB0: -/* 80344EB0 00341E10 80 04 00 04 */ lwz r0, 4(r4) -/* 80344EB4 00341E14 28 04 00 00 */ cmplwi r4, 0 -/* 80344EB8 00341E18 80 64 00 00 */ lwz r3, 0(r4) -/* 80344EBC 00341E1C 90 03 00 04 */ stw r0, 4(r3) -/* 80344EC0 00341E20 80 04 00 00 */ lwz r0, 0(r4) -/* 80344EC4 00341E24 80 64 00 04 */ lwz r3, 4(r4) -/* 80344EC8 00341E28 90 03 00 00 */ stw r0, 0(r3) -/* 80344ECC 00341E2C 41 82 00 0C */ beq lbl_80344ED8 -/* 80344ED0 00341E30 7C 83 23 78 */ mr r3, r4 -/* 80344ED4 00341E34 4B FD 0A 5D */ bl Free__7CMemoryFPCv -lbl_80344ED8: -/* 80344ED8 00341E38 80 9E 00 14 */ lwz r4, 0x14(r30) -/* 80344EDC 00341E3C 7F E3 FB 78 */ mr r3, r31 -/* 80344EE0 00341E40 38 04 FF FF */ addi r0, r4, -1 -/* 80344EE4 00341E44 90 1E 00 14 */ stw r0, 0x14(r30) -/* 80344EE8 00341E48 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80344EEC 00341E4C 83 C1 00 08 */ lwz r30, 8(r1) -/* 80344EF0 00341E50 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80344EF4 00341E54 7C 08 03 A6 */ mtlr r0 -/* 80344EF8 00341E58 38 21 00 10 */ addi r1, r1, 0x10 -/* 80344EFC 00341E5C 4E 80 00 20 */ blr - -.global __sinit_CARAMManager_cpp -__sinit_CARAMManager_cpp: -/* 80344F00 00341E60 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80344F04 00341E64 7C 08 02 A6 */ mflr r0 -/* 80344F08 00341E68 3C 60 80 5A */ lis r3, lbl_805A679C@ha -/* 80344F0C 00341E6C 3C 80 80 34 */ lis r4, "__dt__Q24rstl67listFv"@ha -/* 80344F10 00341E70 90 01 00 14 */ stw r0, 0x14(r1) -/* 80344F14 00341E74 38 63 67 9C */ addi r3, r3, lbl_805A679C@l -/* 80344F18 00341E78 38 C3 00 0C */ addi r6, r3, 0xc -/* 80344F1C 00341E7C 38 00 00 00 */ li r0, 0 -/* 80344F20 00341E80 3C A0 80 4C */ lis r5, lbl_804BFF40@ha -/* 80344F24 00341E84 90 C3 00 04 */ stw r6, 4(r3) -/* 80344F28 00341E88 38 84 4F 54 */ addi r4, r4, "__dt__Q24rstl67listFv"@l -/* 80344F2C 00341E8C 90 C3 00 08 */ stw r6, 8(r3) -/* 80344F30 00341E90 38 A5 FF 40 */ addi r5, r5, lbl_804BFF40@l -/* 80344F34 00341E94 90 C6 00 00 */ stw r6, 0(r6) -/* 80344F38 00341E98 90 C3 00 10 */ stw r6, 0x10(r3) -/* 80344F3C 00341E9C 90 03 00 14 */ stw r0, 0x14(r3) -/* 80344F40 00341EA0 48 04 47 4D */ bl __register_global_object -/* 80344F44 00341EA4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80344F48 00341EA8 7C 08 03 A6 */ mtlr r0 -/* 80344F4C 00341EAC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80344F50 00341EB0 4E 80 00 20 */ blr - -.global "__dt__Q24rstl67listFv" -"__dt__Q24rstl67listFv": -/* 80344F54 00341EB4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80344F58 00341EB8 7C 08 02 A6 */ mflr r0 -/* 80344F5C 00341EBC 90 01 00 24 */ stw r0, 0x24(r1) -/* 80344F60 00341EC0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80344F64 00341EC4 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80344F68 00341EC8 7C 9E 23 78 */ mr r30, r4 -/* 80344F6C 00341ECC 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80344F70 00341ED0 7C 7D 1B 79 */ or. r29, r3, r3 -/* 80344F74 00341ED4 41 82 00 38 */ beq lbl_80344FAC -/* 80344F78 00341ED8 83 FD 00 04 */ lwz r31, 4(r29) -/* 80344F7C 00341EDC 48 00 00 14 */ b lbl_80344F90 -lbl_80344F80: -/* 80344F80 00341EE0 7F E3 FB 79 */ or. r3, r31, r31 -/* 80344F84 00341EE4 83 FF 00 04 */ lwz r31, 4(r31) -/* 80344F88 00341EE8 41 82 00 08 */ beq lbl_80344F90 -/* 80344F8C 00341EEC 4B FD 09 A5 */ bl Free__7CMemoryFPCv -lbl_80344F90: -/* 80344F90 00341EF0 80 1D 00 08 */ lwz r0, 8(r29) -/* 80344F94 00341EF4 7C 1F 00 40 */ cmplw r31, r0 -/* 80344F98 00341EF8 40 82 FF E8 */ bne lbl_80344F80 -/* 80344F9C 00341EFC 7F C0 07 35 */ extsh. r0, r30 -/* 80344FA0 00341F00 40 81 00 0C */ ble lbl_80344FAC -/* 80344FA4 00341F04 7F A3 EB 78 */ mr r3, r29 -/* 80344FA8 00341F08 4B FD 09 89 */ bl Free__7CMemoryFPCv -lbl_80344FAC: -/* 80344FAC 00341F0C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80344FB0 00341F10 7F A3 EB 78 */ mr r3, r29 -/* 80344FB4 00341F14 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80344FB8 00341F18 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80344FBC 00341F1C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80344FC0 00341F20 7C 08 03 A6 */ mtlr r0 -/* 80344FC4 00341F24 38 21 00 20 */ addi r1, r1, 0x20 -/* 80344FC8 00341F28 4E 80 00 20 */ blr - -.global PointInFrustumPlanes__14CFrustumPlanesCFRC9CVector3f -PointInFrustumPlanes__14CFrustumPlanesCFRC9CVector3f: -/* 80344FCC 00341F2C 80 03 00 00 */ lwz r0, 0(r3) -/* 80344FD0 00341F30 38 63 00 04 */ addi r3, r3, 4 -/* 80344FD4 00341F34 7C 09 03 A6 */ mtctr r0 -/* 80344FD8 00341F38 2C 00 00 00 */ cmpwi r0, 0 -/* 80344FDC 00341F3C 40 81 00 48 */ ble lbl_80345024 -lbl_80344FE0: -/* 80344FE0 00341F40 C0 23 00 04 */ lfs f1, 4(r3) -/* 80344FE4 00341F44 C0 04 00 04 */ lfs f0, 4(r4) -/* 80344FE8 00341F48 C0 43 00 00 */ lfs f2, 0(r3) -/* 80344FEC 00341F4C EC 01 00 32 */ fmuls f0, f1, f0 -/* 80344FF0 00341F50 C0 24 00 00 */ lfs f1, 0(r4) -/* 80344FF4 00341F54 C0 83 00 08 */ lfs f4, 8(r3) -/* 80344FF8 00341F58 C0 64 00 08 */ lfs f3, 8(r4) -/* 80344FFC 00341F5C EC 22 00 7A */ fmadds f1, f2, f1, f0 -/* 80345000 00341F60 C0 03 00 0C */ lfs f0, 0xc(r3) -/* 80345004 00341F64 EC 24 08 FA */ fmadds f1, f4, f3, f1 -/* 80345008 00341F68 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8034500C 00341F6C 4C 41 13 82 */ cror 2, 1, 2 -/* 80345010 00341F70 40 82 00 0C */ bne lbl_8034501C -/* 80345014 00341F74 38 60 00 00 */ li r3, 0 -/* 80345018 00341F78 4E 80 00 20 */ blr -lbl_8034501C: -/* 8034501C 00341F7C 38 63 00 10 */ addi r3, r3, 0x10 -/* 80345020 00341F80 42 00 FF C0 */ bdnz lbl_80344FE0 -lbl_80345024: -/* 80345024 00341F84 38 60 00 01 */ li r3, 1 -/* 80345028 00341F88 4E 80 00 20 */ blr - -.global SphereInFrustumPlanes__14CFrustumPlanesCFRC7CSphere -SphereInFrustumPlanes__14CFrustumPlanesCFRC7CSphere: -/* 8034502C 00341F8C 80 03 00 00 */ lwz r0, 0(r3) -/* 80345030 00341F90 38 63 00 04 */ addi r3, r3, 4 -/* 80345034 00341F94 C0 A4 00 0C */ lfs f5, 0xc(r4) -/* 80345038 00341F98 C0 C4 00 00 */ lfs f6, 0(r4) -/* 8034503C 00341F9C C0 E4 00 04 */ lfs f7, 4(r4) -/* 80345040 00341FA0 C1 04 00 08 */ lfs f8, 8(r4) -/* 80345044 00341FA4 C0 02 CB B0 */ lfs f0, lbl_805AE8D0@sda21(r2) -/* 80345048 00341FA8 7C 09 03 A6 */ mtctr r0 -/* 8034504C 00341FAC 2C 00 00 00 */ cmpwi r0, 0 -/* 80345050 00341FB0 40 81 00 40 */ ble lbl_80345090 -lbl_80345054: -/* 80345054 00341FB4 C0 23 00 04 */ lfs f1, 4(r3) -/* 80345058 00341FB8 C0 63 00 00 */ lfs f3, 0(r3) -/* 8034505C 00341FBC EC 41 01 F2 */ fmuls f2, f1, f7 -/* 80345060 00341FC0 C0 83 00 08 */ lfs f4, 8(r3) -/* 80345064 00341FC4 C0 23 00 0C */ lfs f1, 0xc(r3) -/* 80345068 00341FC8 EC 43 11 BA */ fmadds f2, f3, f6, f2 -/* 8034506C 00341FCC EC 44 12 3A */ fmadds f2, f4, f8, f2 -/* 80345070 00341FD0 EC 22 08 28 */ fsubs f1, f2, f1 -/* 80345074 00341FD4 EC 21 28 28 */ fsubs f1, f1, f5 -/* 80345078 00341FD8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8034507C 00341FDC 40 81 00 0C */ ble lbl_80345088 -/* 80345080 00341FE0 38 60 00 00 */ li r3, 0 -/* 80345084 00341FE4 4E 80 00 20 */ blr -lbl_80345088: -/* 80345088 00341FE8 38 63 00 10 */ addi r3, r3, 0x10 -/* 8034508C 00341FEC 42 00 FF C8 */ bdnz lbl_80345054 -lbl_80345090: -/* 80345090 00341FF0 38 60 00 01 */ li r3, 1 -/* 80345094 00341FF4 4E 80 00 20 */ blr - -.global sub_80345098 -sub_80345098: -/* 80345098 00341FF8 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8034509C 00341FFC 7C 08 02 A6 */ mflr r0 -/* 803450A0 00342000 90 01 00 44 */ stw r0, 0x44(r1) -/* 803450A4 00342004 BF 61 00 2C */ stmw r27, 0x2c(r1) -/* 803450A8 00342008 7C 7B 1B 78 */ mr r27, r3 -/* 803450AC 0034200C 7C 9C 23 78 */ mr r28, r4 -/* 803450B0 00342010 3B C0 00 01 */ li r30, 1 -/* 803450B4 00342014 3B FB 00 04 */ addi r31, r27, 4 -/* 803450B8 00342018 3B A0 00 00 */ li r29, 0 -/* 803450BC 0034201C 48 00 00 A8 */ b lbl_80345164 -lbl_803450C0: -/* 803450C0 00342020 7F 84 E3 78 */ mr r4, r28 -/* 803450C4 00342024 7F E5 FB 78 */ mr r5, r31 -/* 803450C8 00342028 38 61 00 14 */ addi r3, r1, 0x14 -/* 803450CC 0034202C 4B FF 21 11 */ bl ClosestPointAlongVector__6CAABoxCFRC9CVector3f -/* 803450D0 00342030 C0 3F 00 04 */ lfs f1, 4(r31) -/* 803450D4 00342034 C0 01 00 18 */ lfs f0, 0x18(r1) -/* 803450D8 00342038 C0 5F 00 00 */ lfs f2, 0(r31) -/* 803450DC 0034203C EC 01 00 32 */ fmuls f0, f1, f0 -/* 803450E0 00342040 C0 21 00 14 */ lfs f1, 0x14(r1) -/* 803450E4 00342044 C0 9F 00 08 */ lfs f4, 8(r31) -/* 803450E8 00342048 C0 61 00 1C */ lfs f3, 0x1c(r1) -/* 803450EC 0034204C EC 22 00 7A */ fmadds f1, f2, f1, f0 -/* 803450F0 00342050 C0 1F 00 0C */ lfs f0, 0xc(r31) -/* 803450F4 00342054 EC 24 08 FA */ fmadds f1, f4, f3, f1 -/* 803450F8 00342058 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 803450FC 0034205C 4C 41 13 82 */ cror 2, 1, 2 -/* 80345100 00342060 40 82 00 0C */ bne lbl_8034510C -/* 80345104 00342064 38 60 00 00 */ li r3, 0 -/* 80345108 00342068 48 00 00 6C */ b lbl_80345174 -lbl_8034510C: -/* 8034510C 0034206C 2C 1E 00 01 */ cmpwi r30, 1 -/* 80345110 00342070 40 82 00 4C */ bne lbl_8034515C -/* 80345114 00342074 7F 84 E3 78 */ mr r4, r28 -/* 80345118 00342078 7F E5 FB 78 */ mr r5, r31 -/* 8034511C 0034207C 38 61 00 08 */ addi r3, r1, 8 -/* 80345120 00342080 4B FF 20 FD */ bl FurthestPointAlongVector__6CAABoxCFRC9CVector3f -/* 80345124 00342084 C0 3F 00 04 */ lfs f1, 4(r31) -/* 80345128 00342088 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 8034512C 0034208C C0 5F 00 00 */ lfs f2, 0(r31) -/* 80345130 00342090 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80345134 00342094 C0 21 00 08 */ lfs f1, 8(r1) -/* 80345138 00342098 C0 9F 00 08 */ lfs f4, 8(r31) -/* 8034513C 0034209C C0 61 00 10 */ lfs f3, 0x10(r1) -/* 80345140 003420A0 EC 22 00 7A */ fmadds f1, f2, f1, f0 -/* 80345144 003420A4 C0 1F 00 0C */ lfs f0, 0xc(r31) -/* 80345148 003420A8 EC 24 08 FA */ fmadds f1, f4, f3, f1 -/* 8034514C 003420AC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80345150 003420B0 4C 41 13 82 */ cror 2, 1, 2 -/* 80345154 003420B4 40 82 00 08 */ bne lbl_8034515C -/* 80345158 003420B8 3B C0 00 02 */ li r30, 2 -lbl_8034515C: -/* 8034515C 003420BC 3B FF 00 10 */ addi r31, r31, 0x10 -/* 80345160 003420C0 3B BD 00 01 */ addi r29, r29, 1 -lbl_80345164: -/* 80345164 003420C4 80 1B 00 00 */ lwz r0, 0(r27) -/* 80345168 003420C8 7C 1D 00 00 */ cmpw r29, r0 -/* 8034516C 003420CC 41 80 FF 54 */ blt lbl_803450C0 -/* 80345170 003420D0 7F C3 F3 78 */ mr r3, r30 -lbl_80345174: -/* 80345174 003420D4 BB 61 00 2C */ lmw r27, 0x2c(r1) -/* 80345178 003420D8 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8034517C 003420DC 7C 08 03 A6 */ mtlr r0 -/* 80345180 003420E0 38 21 00 40 */ addi r1, r1, 0x40 -/* 80345184 003420E4 4E 80 00 20 */ blr - -.global "BoxInFrustumPlanes__14CFrustumPlanesCFRCQ24rstl24optional_object<6CAABox>" -"BoxInFrustumPlanes__14CFrustumPlanesCFRCQ24rstl24optional_object<6CAABox>": -/* 80345188 003420E8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034518C 003420EC 7C 08 02 A6 */ mflr r0 -/* 80345190 003420F0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80345194 003420F4 80 03 00 00 */ lwz r0, 0(r3) -/* 80345198 003420F8 2C 00 00 00 */ cmpwi r0, 0 -/* 8034519C 003420FC 40 82 00 0C */ bne lbl_803451A8 -/* 803451A0 00342100 38 60 00 01 */ li r3, 1 -/* 803451A4 00342104 48 00 00 1C */ b lbl_803451C0 -lbl_803451A8: -/* 803451A8 00342108 88 04 00 18 */ lbz r0, 0x18(r4) -/* 803451AC 0034210C 28 00 00 00 */ cmplwi r0, 0 -/* 803451B0 00342110 41 82 00 0C */ beq lbl_803451BC -/* 803451B4 00342114 48 00 00 1D */ bl BoxInFrustumPlanes__14CFrustumPlanesCFRC6CAABox -/* 803451B8 00342118 48 00 00 08 */ b lbl_803451C0 -lbl_803451BC: -/* 803451BC 0034211C 38 60 00 00 */ li r3, 0 -lbl_803451C0: -/* 803451C0 00342120 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803451C4 00342124 7C 08 03 A6 */ mtlr r0 -/* 803451C8 00342128 38 21 00 10 */ addi r1, r1, 0x10 -/* 803451CC 0034212C 4E 80 00 20 */ blr - -.global BoxInFrustumPlanes__14CFrustumPlanesCFRC6CAABox -BoxInFrustumPlanes__14CFrustumPlanesCFRC6CAABox: -/* 803451D0 00342130 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 803451D4 00342134 7C 08 02 A6 */ mflr r0 -/* 803451D8 00342138 90 01 00 24 */ stw r0, 0x24(r1) -/* 803451DC 0034213C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 803451E0 00342140 93 C1 00 18 */ stw r30, 0x18(r1) -/* 803451E4 00342144 3B C0 00 00 */ li r30, 0 -/* 803451E8 00342148 93 A1 00 14 */ stw r29, 0x14(r1) -/* 803451EC 0034214C 7C 9D 23 78 */ mr r29, r4 -/* 803451F0 00342150 93 81 00 10 */ stw r28, 0x10(r1) -/* 803451F4 00342154 7C 7C 1B 78 */ mr r28, r3 -/* 803451F8 00342158 3B FC 00 04 */ addi r31, r28, 4 -/* 803451FC 0034215C 48 00 00 28 */ b lbl_80345224 -lbl_80345200: -/* 80345200 00342160 7F A3 EB 78 */ mr r3, r29 -/* 80345204 00342164 7F E4 FB 78 */ mr r4, r31 -/* 80345208 00342168 4B FF 28 1D */ bl InsidePlane__6CAABoxCFRC6CPlane -/* 8034520C 0034216C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80345210 00342170 40 82 00 0C */ bne lbl_8034521C -/* 80345214 00342174 38 60 00 00 */ li r3, 0 -/* 80345218 00342178 48 00 00 1C */ b lbl_80345234 -lbl_8034521C: -/* 8034521C 0034217C 3B FF 00 10 */ addi r31, r31, 0x10 -/* 80345220 00342180 3B DE 00 01 */ addi r30, r30, 1 -lbl_80345224: -/* 80345224 00342184 80 1C 00 00 */ lwz r0, 0(r28) -/* 80345228 00342188 7C 1E 00 00 */ cmpw r30, r0 -/* 8034522C 0034218C 41 80 FF D4 */ blt lbl_80345200 -/* 80345230 00342190 38 60 00 01 */ li r3, 1 -lbl_80345234: -/* 80345234 00342194 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80345238 00342198 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8034523C 0034219C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80345240 003421A0 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80345244 003421A4 83 81 00 10 */ lwz r28, 0x10(r1) -/* 80345248 003421A8 7C 08 03 A6 */ mtlr r0 -/* 8034524C 003421AC 38 21 00 20 */ addi r1, r1, 0x20 -/* 80345250 003421B0 4E 80 00 20 */ blr - -.global __ct__14CFrustumPlanesFRC12CTransform4ffffbf -__ct__14CFrustumPlanesFRC12CTransform4ffffbf: -/* 80345254 003421B4 94 21 FE 80 */ stwu r1, -0x180(r1) -/* 80345258 003421B8 7C 08 02 A6 */ mflr r0 -/* 8034525C 003421BC 90 01 01 84 */ stw r0, 0x184(r1) -/* 80345260 003421C0 DB E1 01 70 */ stfd f31, 0x170(r1) -/* 80345264 003421C4 F3 E1 01 78 */ psq_st f31, 376(r1), 0, qr0 -/* 80345268 003421C8 DB C1 01 60 */ stfd f30, 0x160(r1) -/* 8034526C 003421CC F3 C1 01 68 */ psq_st f30, 360(r1), 0, qr0 -/* 80345270 003421D0 DB A1 01 50 */ stfd f29, 0x150(r1) -/* 80345274 003421D4 F3 A1 01 58 */ psq_st f29, 344(r1), 0, qr0 -/* 80345278 003421D8 DB 81 01 40 */ stfd f28, 0x140(r1) -/* 8034527C 003421DC F3 81 01 48 */ psq_st f28, 328(r1), 0, qr0 -/* 80345280 003421E0 DB 61 01 30 */ stfd f27, 0x130(r1) -/* 80345284 003421E4 F3 61 01 38 */ psq_st f27, 312(r1), 0, qr0 -/* 80345288 003421E8 DB 41 01 20 */ stfd f26, 0x120(r1) -/* 8034528C 003421EC F3 41 01 28 */ psq_st f26, 296(r1), 0, qr0 -/* 80345290 003421F0 DB 21 01 10 */ stfd f25, 0x110(r1) -/* 80345294 003421F4 F3 21 01 18 */ psq_st f25, 280(r1), 0, qr0 -/* 80345298 003421F8 BF 61 00 FC */ stmw r27, 0xfc(r1) -/* 8034529C 003421FC C0 02 CB B4 */ lfs f0, lbl_805AE8D4@sda21(r2) -/* 803452A0 00342200 7C 7C 1B 78 */ mr r28, r3 -/* 803452A4 00342204 38 00 00 00 */ li r0, 0 -/* 803452A8 00342208 FF 40 10 90 */ fmr f26, f2 -/* 803452AC 0034220C EF 21 00 32 */ fmuls f25, f1, f0 -/* 803452B0 00342210 90 03 00 00 */ stw r0, 0(r3) -/* 803452B4 00342214 FF C0 18 90 */ fmr f30, f3 -/* 803452B8 00342218 7C 9B 23 78 */ mr r27, r4 -/* 803452BC 0034221C FF E0 20 90 */ fmr f31, f4 -/* 803452C0 00342220 FC 20 C8 90 */ fmr f1, f25 -/* 803452C4 00342224 7C BD 2B 78 */ mr r29, r5 -/* 803452C8 00342228 48 04 F1 29 */ bl cos -/* 803452CC 0034222C FF A0 08 90 */ fmr f29, f1 -/* 803452D0 00342230 FC 20 C8 90 */ fmr f1, f25 -/* 803452D4 00342234 48 04 F8 09 */ bl sin -/* 803452D8 00342238 FC 40 E8 18 */ frsp f2, f29 -/* 803452DC 0034223C FC 00 08 18 */ frsp f0, f1 -/* 803452E0 00342240 EF 39 06 B2 */ fmuls f25, f25, f26 -/* 803452E4 00342244 EC 5E 10 24 */ fdivs f2, f30, f2 -/* 803452E8 00342248 FC 20 C8 90 */ fmr f1, f25 -/* 803452EC 0034224C EF 42 00 32 */ fmuls f26, f2, f0 -/* 803452F0 00342250 48 04 F1 01 */ bl cos -/* 803452F4 00342254 FF A0 08 90 */ fmr f29, f1 -/* 803452F8 00342258 FC 20 C8 90 */ fmr f1, f25 -/* 803452FC 0034225C 48 04 F7 E1 */ bl sin -/* 80345300 00342260 FC 40 E8 18 */ frsp f2, f29 -/* 80345304 00342264 D3 C1 00 C0 */ stfs f30, 0xc0(r1) -/* 80345308 00342268 FC 60 D0 50 */ fneg f3, f26 -/* 8034530C 0034226C 7F 64 DB 78 */ mr r4, r27 -/* 80345310 00342270 FC 00 08 18 */ frsp f0, f1 -/* 80345314 00342274 D3 41 00 C4 */ stfs f26, 0xc4(r1) -/* 80345318 00342278 EC 3E 10 24 */ fdivs f1, f30, f2 -/* 8034531C 0034227C D3 C1 00 CC */ stfs f30, 0xcc(r1) -/* 80345320 00342280 38 61 00 80 */ addi r3, r1, 0x80 -/* 80345324 00342284 38 A1 00 BC */ addi r5, r1, 0xbc -/* 80345328 00342288 D0 61 00 D0 */ stfs f3, 0xd0(r1) -/* 8034532C 0034228C D3 C1 00 D8 */ stfs f30, 0xd8(r1) -/* 80345330 00342290 EC 21 00 32 */ fmuls f1, f1, f0 -/* 80345334 00342294 D0 61 00 DC */ stfs f3, 0xdc(r1) -/* 80345338 00342298 D3 C1 00 E4 */ stfs f30, 0xe4(r1) -/* 8034533C 0034229C FC 00 08 50 */ fneg f0, f1 -/* 80345340 003422A0 D0 21 00 BC */ stfs f1, 0xbc(r1) -/* 80345344 003422A4 D0 21 00 C8 */ stfs f1, 0xc8(r1) -/* 80345348 003422A8 D0 01 00 D4 */ stfs f0, 0xd4(r1) -/* 8034534C 003422AC D0 01 00 E0 */ stfs f0, 0xe0(r1) -/* 80345350 003422B0 D3 41 00 E8 */ stfs f26, 0xe8(r1) -/* 80345354 003422B4 4B FC D7 2D */ bl Rotate__12CTransform4fCFRC9CVector3f -/* 80345358 003422B8 C0 41 00 80 */ lfs f2, 0x80(r1) -/* 8034535C 003422BC 7F 64 DB 78 */ mr r4, r27 -/* 80345360 003422C0 C0 21 00 84 */ lfs f1, 0x84(r1) -/* 80345364 003422C4 38 61 00 74 */ addi r3, r1, 0x74 -/* 80345368 003422C8 C0 01 00 88 */ lfs f0, 0x88(r1) -/* 8034536C 003422CC 38 A1 00 C8 */ addi r5, r1, 0xc8 -/* 80345370 003422D0 D0 41 00 8C */ stfs f2, 0x8c(r1) -/* 80345374 003422D4 D0 21 00 90 */ stfs f1, 0x90(r1) -/* 80345378 003422D8 D0 01 00 94 */ stfs f0, 0x94(r1) -/* 8034537C 003422DC 4B FC D7 05 */ bl Rotate__12CTransform4fCFRC9CVector3f -/* 80345380 003422E0 C0 41 00 74 */ lfs f2, 0x74(r1) -/* 80345384 003422E4 7F 64 DB 78 */ mr r4, r27 -/* 80345388 003422E8 C0 21 00 78 */ lfs f1, 0x78(r1) -/* 8034538C 003422EC 38 61 00 68 */ addi r3, r1, 0x68 -/* 80345390 003422F0 C0 01 00 7C */ lfs f0, 0x7c(r1) -/* 80345394 003422F4 38 A1 00 D4 */ addi r5, r1, 0xd4 -/* 80345398 003422F8 D0 41 00 98 */ stfs f2, 0x98(r1) -/* 8034539C 003422FC D0 21 00 9C */ stfs f1, 0x9c(r1) -/* 803453A0 00342300 D0 01 00 A0 */ stfs f0, 0xa0(r1) -/* 803453A4 00342304 4B FC D6 DD */ bl Rotate__12CTransform4fCFRC9CVector3f -/* 803453A8 00342308 C0 41 00 68 */ lfs f2, 0x68(r1) -/* 803453AC 0034230C 7F 64 DB 78 */ mr r4, r27 -/* 803453B0 00342310 C0 21 00 6C */ lfs f1, 0x6c(r1) -/* 803453B4 00342314 38 61 00 5C */ addi r3, r1, 0x5c -/* 803453B8 00342318 C0 01 00 70 */ lfs f0, 0x70(r1) -/* 803453BC 0034231C 38 A1 00 E0 */ addi r5, r1, 0xe0 -/* 803453C0 00342320 D0 41 00 A4 */ stfs f2, 0xa4(r1) -/* 803453C4 00342324 D0 21 00 A8 */ stfs f1, 0xa8(r1) -/* 803453C8 00342328 D0 01 00 AC */ stfs f0, 0xac(r1) -/* 803453CC 0034232C 4B FC D6 B5 */ bl Rotate__12CTransform4fCFRC9CVector3f -/* 803453D0 00342330 C0 02 CB B0 */ lfs f0, lbl_805AE8D0@sda21(r2) -/* 803453D4 00342334 7F 64 DB 78 */ mr r4, r27 -/* 803453D8 00342338 C0 61 00 5C */ lfs f3, 0x5c(r1) -/* 803453DC 0034233C 38 61 00 50 */ addi r3, r1, 0x50 -/* 803453E0 00342340 C0 41 00 60 */ lfs f2, 0x60(r1) -/* 803453E4 00342344 38 A1 00 44 */ addi r5, r1, 0x44 -/* 803453E8 00342348 C0 21 00 64 */ lfs f1, 0x64(r1) -/* 803453EC 0034234C D0 61 00 B0 */ stfs f3, 0xb0(r1) -/* 803453F0 00342350 C3 7B 00 2C */ lfs f27, 0x2c(r27) -/* 803453F4 00342354 D0 41 00 B4 */ stfs f2, 0xb4(r1) -/* 803453F8 00342358 C3 9B 00 1C */ lfs f28, 0x1c(r27) -/* 803453FC 0034235C D0 21 00 B8 */ stfs f1, 0xb8(r1) -/* 80345400 00342360 C3 BB 00 0C */ lfs f29, 0xc(r27) -/* 80345404 00342364 D0 01 00 44 */ stfs f0, 0x44(r1) -/* 80345408 00342368 D3 C1 00 48 */ stfs f30, 0x48(r1) -/* 8034540C 0034236C D0 01 00 4C */ stfs f0, 0x4c(r1) -/* 80345410 00342370 4B FC D6 D9 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 80345414 00342374 3B C1 00 A4 */ addi r30, r1, 0xa4 -/* 80345418 00342378 3B E1 00 98 */ addi r31, r1, 0x98 -/* 8034541C 0034237C C3 C1 00 50 */ lfs f30, 0x50(r1) -/* 80345420 00342380 7F C5 F3 78 */ mr r5, r30 -/* 80345424 00342384 C3 41 00 54 */ lfs f26, 0x54(r1) -/* 80345428 00342388 7F E6 FB 78 */ mr r6, r31 -/* 8034542C 0034238C C3 21 00 58 */ lfs f25, 0x58(r1) -/* 80345430 00342390 38 61 00 38 */ addi r3, r1, 0x38 -/* 80345434 00342394 38 81 00 8C */ addi r4, r1, 0x8c -/* 80345438 00342398 48 00 02 79 */ bl sub_803456b0 -/* 8034543C 0034239C C0 21 00 3C */ lfs f1, 0x3c(r1) -/* 80345440 003423A0 80 1C 00 00 */ lwz r0, 0(r28) -/* 80345444 003423A4 EC 1A 00 72 */ fmuls f0, f26, f1 -/* 80345448 003423A8 C0 41 00 38 */ lfs f2, 0x38(r1) -/* 8034544C 003423AC 54 00 20 36 */ slwi r0, r0, 4 -/* 80345450 003423B0 C0 61 00 40 */ lfs f3, 0x40(r1) -/* 80345454 003423B4 7C 7C 02 14 */ add r3, r28, r0 -/* 80345458 003423B8 EC 1E 00 BA */ fmadds f0, f30, f2, f0 -/* 8034545C 003423BC 34 63 00 04 */ addic. r3, r3, 4 -/* 80345460 003423C0 EC 19 00 FA */ fmadds f0, f25, f3, f0 -/* 80345464 003423C4 41 82 00 14 */ beq lbl_80345478 -/* 80345468 003423C8 D0 43 00 00 */ stfs f2, 0(r3) -/* 8034546C 003423CC D0 23 00 04 */ stfs f1, 4(r3) -/* 80345470 003423D0 D0 63 00 08 */ stfs f3, 8(r3) -/* 80345474 003423D4 D0 03 00 0C */ stfs f0, 0xc(r3) -lbl_80345478: -/* 80345478 003423D8 80 DC 00 00 */ lwz r6, 0(r28) -/* 8034547C 003423DC 3C 60 80 5A */ lis r3, skZero3f@ha -/* 80345480 003423E0 38 83 66 A0 */ addi r4, r3, skZero3f@l -/* 80345484 003423E4 7F E5 FB 78 */ mr r5, r31 -/* 80345488 003423E8 38 06 00 01 */ addi r0, r6, 1 -/* 8034548C 003423EC 38 61 00 2C */ addi r3, r1, 0x2c -/* 80345490 003423F0 90 1C 00 00 */ stw r0, 0(r28) -/* 80345494 003423F4 38 C1 00 8C */ addi r6, r1, 0x8c -/* 80345498 003423F8 48 00 02 19 */ bl sub_803456b0 -/* 8034549C 003423FC C0 21 00 30 */ lfs f1, 0x30(r1) -/* 803454A0 00342400 80 1C 00 00 */ lwz r0, 0(r28) -/* 803454A4 00342404 EC 1C 00 72 */ fmuls f0, f28, f1 -/* 803454A8 00342408 C0 41 00 2C */ lfs f2, 0x2c(r1) -/* 803454AC 0034240C 54 00 20 36 */ slwi r0, r0, 4 -/* 803454B0 00342410 C0 61 00 34 */ lfs f3, 0x34(r1) -/* 803454B4 00342414 7C 7C 02 14 */ add r3, r28, r0 -/* 803454B8 00342418 EC 1D 00 BA */ fmadds f0, f29, f2, f0 -/* 803454BC 0034241C 34 63 00 04 */ addic. r3, r3, 4 -/* 803454C0 00342420 EC 1B 00 FA */ fmadds f0, f27, f3, f0 -/* 803454C4 00342424 41 82 00 14 */ beq lbl_803454D8 -/* 803454C8 00342428 D0 43 00 00 */ stfs f2, 0(r3) -/* 803454CC 0034242C D0 23 00 04 */ stfs f1, 4(r3) -/* 803454D0 00342430 D0 63 00 08 */ stfs f3, 8(r3) -/* 803454D4 00342434 D0 03 00 0C */ stfs f0, 0xc(r3) -lbl_803454D8: -/* 803454D8 00342438 80 BC 00 00 */ lwz r5, 0(r28) -/* 803454DC 0034243C 3C 60 80 5A */ lis r3, skZero3f@ha -/* 803454E0 00342440 38 83 66 A0 */ addi r4, r3, skZero3f@l -/* 803454E4 00342444 3B 61 00 B0 */ addi r27, r1, 0xb0 -/* 803454E8 00342448 38 05 00 01 */ addi r0, r5, 1 -/* 803454EC 0034244C 7F C6 F3 78 */ mr r6, r30 -/* 803454F0 00342450 90 1C 00 00 */ stw r0, 0(r28) -/* 803454F4 00342454 7F 65 DB 78 */ mr r5, r27 -/* 803454F8 00342458 38 61 00 20 */ addi r3, r1, 0x20 -/* 803454FC 0034245C 48 00 01 B5 */ bl sub_803456b0 -/* 80345500 00342460 C0 21 00 24 */ lfs f1, 0x24(r1) -/* 80345504 00342464 80 1C 00 00 */ lwz r0, 0(r28) -/* 80345508 00342468 EC 1C 00 72 */ fmuls f0, f28, f1 -/* 8034550C 0034246C C0 41 00 20 */ lfs f2, 0x20(r1) -/* 80345510 00342470 54 00 20 36 */ slwi r0, r0, 4 -/* 80345514 00342474 C0 61 00 28 */ lfs f3, 0x28(r1) -/* 80345518 00342478 7C 7C 02 14 */ add r3, r28, r0 -/* 8034551C 0034247C EC 1D 00 BA */ fmadds f0, f29, f2, f0 -/* 80345520 00342480 34 63 00 04 */ addic. r3, r3, 4 -/* 80345524 00342484 EC 1B 00 FA */ fmadds f0, f27, f3, f0 -/* 80345528 00342488 41 82 00 14 */ beq lbl_8034553C -/* 8034552C 0034248C D0 43 00 00 */ stfs f2, 0(r3) -/* 80345530 00342490 D0 23 00 04 */ stfs f1, 4(r3) -/* 80345534 00342494 D0 63 00 08 */ stfs f3, 8(r3) -/* 80345538 00342498 D0 03 00 0C */ stfs f0, 0xc(r3) -lbl_8034553C: -/* 8034553C 0034249C 80 BC 00 00 */ lwz r5, 0(r28) -/* 80345540 003424A0 3C 60 80 5A */ lis r3, skZero3f@ha -/* 80345544 003424A4 38 83 66 A0 */ addi r4, r3, skZero3f@l -/* 80345548 003424A8 7F 66 DB 78 */ mr r6, r27 -/* 8034554C 003424AC 38 05 00 01 */ addi r0, r5, 1 -/* 80345550 003424B0 38 61 00 14 */ addi r3, r1, 0x14 -/* 80345554 003424B4 90 1C 00 00 */ stw r0, 0(r28) -/* 80345558 003424B8 38 A1 00 8C */ addi r5, r1, 0x8c -/* 8034555C 003424BC 48 00 01 55 */ bl sub_803456b0 -/* 80345560 003424C0 C0 21 00 18 */ lfs f1, 0x18(r1) -/* 80345564 003424C4 80 1C 00 00 */ lwz r0, 0(r28) -/* 80345568 003424C8 EC 1C 00 72 */ fmuls f0, f28, f1 -/* 8034556C 003424CC C0 41 00 14 */ lfs f2, 0x14(r1) -/* 80345570 003424D0 54 00 20 36 */ slwi r0, r0, 4 -/* 80345574 003424D4 C0 61 00 1C */ lfs f3, 0x1c(r1) -/* 80345578 003424D8 7C 7C 02 14 */ add r3, r28, r0 -/* 8034557C 003424DC EC 1D 00 BA */ fmadds f0, f29, f2, f0 -/* 80345580 003424E0 34 63 00 04 */ addic. r3, r3, 4 -/* 80345584 003424E4 EC 1B 00 FA */ fmadds f0, f27, f3, f0 -/* 80345588 003424E8 41 82 00 14 */ beq lbl_8034559C -/* 8034558C 003424EC D0 43 00 00 */ stfs f2, 0(r3) -/* 80345590 003424F0 D0 23 00 04 */ stfs f1, 4(r3) -/* 80345594 003424F4 D0 63 00 08 */ stfs f3, 8(r3) -/* 80345598 003424F8 D0 03 00 0C */ stfs f0, 0xc(r3) -lbl_8034559C: -/* 8034559C 003424FC 80 DC 00 00 */ lwz r6, 0(r28) -/* 803455A0 00342500 3C 60 80 5A */ lis r3, skZero3f@ha -/* 803455A4 00342504 38 83 66 A0 */ addi r4, r3, skZero3f@l -/* 803455A8 00342508 7F C5 F3 78 */ mr r5, r30 -/* 803455AC 0034250C 38 06 00 01 */ addi r0, r6, 1 -/* 803455B0 00342510 7F E6 FB 78 */ mr r6, r31 -/* 803455B4 00342514 90 1C 00 00 */ stw r0, 0(r28) -/* 803455B8 00342518 38 61 00 08 */ addi r3, r1, 8 -/* 803455BC 0034251C 48 00 00 F5 */ bl sub_803456b0 -/* 803455C0 00342520 C0 21 00 0C */ lfs f1, 0xc(r1) -/* 803455C4 00342524 80 1C 00 00 */ lwz r0, 0(r28) -/* 803455C8 00342528 EC 1C 00 72 */ fmuls f0, f28, f1 -/* 803455CC 0034252C C0 41 00 08 */ lfs f2, 8(r1) -/* 803455D0 00342530 54 00 20 36 */ slwi r0, r0, 4 -/* 803455D4 00342534 C0 61 00 10 */ lfs f3, 0x10(r1) -/* 803455D8 00342538 7C 7C 02 14 */ add r3, r28, r0 -/* 803455DC 0034253C EC 1D 00 BA */ fmadds f0, f29, f2, f0 -/* 803455E0 00342540 34 63 00 04 */ addic. r3, r3, 4 -/* 803455E4 00342544 EC 1B 00 FA */ fmadds f0, f27, f3, f0 -/* 803455E8 00342548 41 82 00 14 */ beq lbl_803455FC -/* 803455EC 0034254C D0 43 00 00 */ stfs f2, 0(r3) -/* 803455F0 00342550 D0 23 00 04 */ stfs f1, 4(r3) -/* 803455F4 00342554 D0 63 00 08 */ stfs f3, 8(r3) -/* 803455F8 00342558 D0 03 00 0C */ stfs f0, 0xc(r3) -lbl_803455FC: -/* 803455FC 0034255C 80 7C 00 00 */ lwz r3, 0(r28) -/* 80345600 00342560 57 A0 06 3F */ clrlwi. r0, r29, 0x18 -/* 80345604 00342564 38 03 00 01 */ addi r0, r3, 1 -/* 80345608 00342568 90 1C 00 00 */ stw r0, 0(r28) -/* 8034560C 0034256C 41 82 00 54 */ beq lbl_80345660 -/* 80345610 00342570 38 7C 00 04 */ addi r3, r28, 4 -/* 80345614 00342574 80 1C 00 00 */ lwz r0, 0(r28) -/* 80345618 00342578 C0 1C 00 04 */ lfs f0, 4(r28) -/* 8034561C 0034257C C0 5C 00 08 */ lfs f2, 8(r28) -/* 80345620 00342580 54 00 20 36 */ slwi r0, r0, 4 -/* 80345624 00342584 C0 3C 00 0C */ lfs f1, 0xc(r28) -/* 80345628 00342588 FC 60 00 50 */ fneg f3, f0 -/* 8034562C 0034258C C0 1C 00 10 */ lfs f0, 0x10(r28) -/* 80345630 00342590 FC 40 10 50 */ fneg f2, f2 -/* 80345634 00342594 FC 20 08 50 */ fneg f1, f1 -/* 80345638 00342598 7C 63 02 15 */ add. r3, r3, r0 -/* 8034563C 0034259C EC 1F 00 28 */ fsubs f0, f31, f0 -/* 80345640 003425A0 41 82 00 14 */ beq lbl_80345654 -/* 80345644 003425A4 D0 63 00 00 */ stfs f3, 0(r3) -/* 80345648 003425A8 D0 43 00 04 */ stfs f2, 4(r3) -/* 8034564C 003425AC D0 23 00 08 */ stfs f1, 8(r3) -/* 80345650 003425B0 D0 03 00 0C */ stfs f0, 0xc(r3) -lbl_80345654: -/* 80345654 003425B4 80 7C 00 00 */ lwz r3, 0(r28) -/* 80345658 003425B8 38 03 00 01 */ addi r0, r3, 1 -/* 8034565C 003425BC 90 1C 00 00 */ stw r0, 0(r28) -lbl_80345660: -/* 80345660 003425C0 7F 83 E3 78 */ mr r3, r28 -/* 80345664 003425C4 E3 E1 01 78 */ psq_l f31, 376(r1), 0, qr0 -/* 80345668 003425C8 CB E1 01 70 */ lfd f31, 0x170(r1) -/* 8034566C 003425CC E3 C1 01 68 */ psq_l f30, 360(r1), 0, qr0 -/* 80345670 003425D0 CB C1 01 60 */ lfd f30, 0x160(r1) -/* 80345674 003425D4 E3 A1 01 58 */ psq_l f29, 344(r1), 0, qr0 -/* 80345678 003425D8 CB A1 01 50 */ lfd f29, 0x150(r1) -/* 8034567C 003425DC E3 81 01 48 */ psq_l f28, 328(r1), 0, qr0 -/* 80345680 003425E0 CB 81 01 40 */ lfd f28, 0x140(r1) -/* 80345684 003425E4 E3 61 01 38 */ psq_l f27, 312(r1), 0, qr0 -/* 80345688 003425E8 CB 61 01 30 */ lfd f27, 0x130(r1) -/* 8034568C 003425EC E3 41 01 28 */ psq_l f26, 296(r1), 0, qr0 -/* 80345690 003425F0 CB 41 01 20 */ lfd f26, 0x120(r1) -/* 80345694 003425F4 E3 21 01 18 */ psq_l f25, 280(r1), 0, qr0 -/* 80345698 003425F8 CB 21 01 10 */ lfd f25, 0x110(r1) -/* 8034569C 003425FC BB 61 00 FC */ lmw r27, 0xfc(r1) -/* 803456A0 00342600 80 01 01 84 */ lwz r0, 0x184(r1) -/* 803456A4 00342604 7C 08 03 A6 */ mtlr r0 -/* 803456A8 00342608 38 21 01 80 */ addi r1, r1, 0x180 -/* 803456AC 0034260C 4E 80 00 20 */ blr - -.global sub_803456b0 -sub_803456b0: -/* 803456B0 00342610 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 803456B4 00342614 7C 08 02 A6 */ mflr r0 -/* 803456B8 00342618 90 01 00 34 */ stw r0, 0x34(r1) -/* 803456BC 0034261C C0 26 00 00 */ lfs f1, 0(r6) -/* 803456C0 00342620 C0 44 00 00 */ lfs f2, 0(r4) -/* 803456C4 00342624 C0 05 00 00 */ lfs f0, 0(r5) -/* 803456C8 00342628 ED 01 10 28 */ fsubs f8, f1, f2 -/* 803456CC 0034262C C0 26 00 04 */ lfs f1, 4(r6) -/* 803456D0 00342630 EC 60 10 28 */ fsubs f3, f0, f2 -/* 803456D4 00342634 C0 84 00 04 */ lfs f4, 4(r4) -/* 803456D8 00342638 C0 44 00 08 */ lfs f2, 8(r4) -/* 803456DC 0034263C 38 81 00 20 */ addi r4, r1, 0x20 -/* 803456E0 00342640 EC E1 20 28 */ fsubs f7, f1, f4 -/* 803456E4 00342644 C0 06 00 08 */ lfs f0, 8(r6) -/* 803456E8 00342648 C0 25 00 04 */ lfs f1, 4(r5) -/* 803456EC 0034264C EC C0 10 28 */ fsubs f6, f0, f2 -/* 803456F0 00342650 C0 05 00 08 */ lfs f0, 8(r5) -/* 803456F4 00342654 EC A1 20 28 */ fsubs f5, f1, f4 -/* 803456F8 00342658 EC 80 10 28 */ fsubs f4, f0, f2 -/* 803456FC 0034265C D1 01 00 08 */ stfs f8, 8(r1) -/* 80345700 00342660 EC 26 00 F2 */ fmuls f1, f6, f3 -/* 80345704 00342664 EC 08 01 72 */ fmuls f0, f8, f5 -/* 80345708 00342668 D0 E1 00 0C */ stfs f7, 0xc(r1) -/* 8034570C 0034266C EC 47 01 32 */ fmuls f2, f7, f4 -/* 80345710 00342670 EC 24 0A 38 */ fmsubs f1, f4, f8, f1 -/* 80345714 00342674 D0 C1 00 10 */ stfs f6, 0x10(r1) -/* 80345718 00342678 EC 03 01 F8 */ fmsubs f0, f3, f7, f0 -/* 8034571C 0034267C EC 45 11 B8 */ fmsubs f2, f5, f6, f2 -/* 80345720 00342680 D0 61 00 14 */ stfs f3, 0x14(r1) -/* 80345724 00342684 D0 A1 00 18 */ stfs f5, 0x18(r1) -/* 80345728 00342688 D0 81 00 1C */ stfs f4, 0x1c(r1) -/* 8034572C 0034268C D0 41 00 20 */ stfs f2, 0x20(r1) -/* 80345730 00342690 D0 21 00 24 */ stfs f1, 0x24(r1) -/* 80345734 00342694 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 80345738 00342698 4B FC E6 99 */ bl __ct__11CUnitVectorFRC9CVector3f -/* 8034573C 0034269C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80345740 003426A0 7C 08 03 A6 */ mtlr r0 -/* 80345744 003426A4 38 21 00 30 */ addi r1, r1, 0x30 -/* 80345748 003426A8 4E 80 00 20 */ blr - -.global GetCompressedBlend__13CCubeMaterialCFv -GetCompressedBlend__13CCubeMaterialCFv: -/* 8034574C 003426AC 80 83 00 00 */ lwz r4, 0(r3) -/* 80345750 003426B0 80 04 00 00 */ lwz r0, 0(r4) -/* 80345754 003426B4 80 64 00 04 */ lwz r3, 4(r4) -/* 80345758 003426B8 54 00 07 39 */ rlwinm. r0, r0, 0, 0x1c, 0x1c -/* 8034575C 003426BC 54 63 10 3A */ slwi r3, r3, 2 -/* 80345760 003426C0 38 A3 00 10 */ addi r5, r3, 0x10 -/* 80345764 003426C4 7C A4 2A 14 */ add r5, r4, r5 -/* 80345768 003426C8 41 82 00 14 */ beq lbl_8034577C -/* 8034576C 003426CC 80 65 00 00 */ lwz r3, 0(r5) -/* 80345770 003426D0 38 03 00 01 */ addi r0, r3, 1 -/* 80345774 003426D4 54 00 10 3A */ slwi r0, r0, 2 -/* 80345778 003426D8 7C A5 02 14 */ add r5, r5, r0 -lbl_8034577C: -/* 8034577C 003426DC 80 65 00 00 */ lwz r3, 0(r5) -/* 80345780 003426E0 4E 80 00 20 */ blr - -.global DisableShadowMaps__10CCubeModelFv -DisableShadowMaps__10CCubeModelFv: -/* 80345784 003426E4 38 00 00 00 */ li r0, 0 -/* 80345788 003426E8 98 0D A9 9A */ stb r0, lbl_805A955A@sda21(r13) -/* 8034578C 003426EC 4E 80 00 20 */ blr - -.global EnableShadowMaps__10CCubeModelFPC8CTextureRC12CTransform4fUcUc -EnableShadowMaps__10CCubeModelFPC8CTextureRC12CTransform4fUcUc: -/* 80345790 003426F0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80345794 003426F4 7C 08 02 A6 */ mflr r0 -/* 80345798 003426F8 3C E0 80 4C */ lis r7, lbl_804BFF5C@ha -/* 8034579C 003426FC 90 01 00 14 */ stw r0, 0x14(r1) -/* 803457A0 00342700 38 00 00 01 */ li r0, 1 -/* 803457A4 00342704 93 E1 00 0C */ stw r31, 0xc(r1) -/* 803457A8 00342708 7C DF 33 78 */ mr r31, r6 -/* 803457AC 0034270C 93 C1 00 08 */ stw r30, 8(r1) -/* 803457B0 00342710 7C BE 2B 78 */ mr r30, r5 -/* 803457B4 00342714 98 0D A9 9A */ stb r0, lbl_805A955A@sda21(r13) -/* 803457B8 00342718 38 07 FF 5C */ addi r0, r7, lbl_804BFF5C@l -/* 803457BC 0034271C 90 6D A9 9C */ stw r3, lbl_805A955C@sda21(r13) -/* 803457C0 00342720 7C 03 03 78 */ mr r3, r0 -/* 803457C4 00342724 4B FC D3 7D */ bl __as__12CTransform4fFRC12CTransform4f -/* 803457C8 00342728 9B CD A9 A0 */ stb r30, lbl_805A9560@sda21(r13) -/* 803457CC 0034272C 9B ED A9 A1 */ stb r31, lbl_805A9561@sda21(r13) -/* 803457D0 00342730 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 803457D4 00342734 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803457D8 00342738 83 C1 00 08 */ lwz r30, 8(r1) -/* 803457DC 0034273C 7C 08 03 A6 */ mtlr r0 -/* 803457E0 00342740 38 21 00 10 */ addi r1, r1, 0x10 -/* 803457E4 00342744 4E 80 00 20 */ blr - -.global SetRenderModelBlack__10CCubeModelFb -SetRenderModelBlack__10CCubeModelFb: -/* 803457E8 00342748 38 00 00 00 */ li r0, 0 -/* 803457EC 0034274C 98 6D A9 98 */ stb r3, lbl_805A9558@sda21(r13) -/* 803457F0 00342750 98 0D A9 99 */ stb r0, lbl_805A9559@sda21(r13) -/* 803457F4 00342754 4E 80 00 20 */ blr - -.global SetNewPlayerPositionAndTime__10CCubeModelFRC9CVector3fRC10CStopwatch -SetNewPlayerPositionAndTime__10CCubeModelFRC9CVector3fRC10CStopwatch: -/* 803457F8 00342758 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 803457FC 0034275C 7C 08 02 A6 */ mflr r0 -/* 80345800 00342760 3C 80 80 4C */ lis r4, lbl_804BFF50@ha -/* 80345804 00342764 90 01 00 24 */ stw r0, 0x24(r1) -/* 80345808 00342768 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8034580C 0034276C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80345810 00342770 C0 43 00 00 */ lfs f2, 0(r3) -/* 80345814 00342774 C0 23 00 04 */ lfs f1, 4(r3) -/* 80345818 00342778 D4 44 FF 50 */ stfsu f2, lbl_804BFF50@l(r4) -/* 8034581C 0034277C C0 03 00 08 */ lfs f0, 8(r3) -/* 80345820 00342780 D0 24 00 04 */ stfs f1, 4(r4) -/* 80345824 00342784 D0 04 00 08 */ stfs f0, 8(r4) -/* 80345828 00342788 48 00 01 19 */ bl KillCachedViewDepState__13CCubeMaterialFv -/* 8034582C 0034278C 48 03 FB 7D */ bl OSGetTime -/* 80345830 00342790 3C A0 80 5A */ lis r5, mData__10CStopwatch@ha -/* 80345834 00342794 38 C5 FD 30 */ addi r6, r5, mData__10CStopwatch@l -/* 80345838 00342798 80 A6 00 08 */ lwz r5, 8(r6) -/* 8034583C 0034279C 80 C6 00 0C */ lwz r6, 0xc(r6) -/* 80345840 003427A0 48 04 43 8D */ bl __div2i -/* 80345844 003427A4 38 A0 00 00 */ li r5, 0 -/* 80345848 003427A8 38 C0 03 E8 */ li r6, 0x3e8 -/* 8034584C 003427AC 48 04 43 81 */ bl __div2i -/* 80345850 003427B0 C0 22 CB C4 */ lfs f1, lbl_805AE8E4@sda21(r2) -/* 80345854 003427B4 7C 9E 23 78 */ mr r30, r4 -/* 80345858 003427B8 C0 02 CB C8 */ lfs f0, lbl_805AE8E8@sda21(r2) -/* 8034585C 003427BC 7C 7F 1B 78 */ mr r31, r3 -/* 80345860 003427C0 EC 21 00 32 */ fmuls f1, f1, f0 -/* 80345864 003427C4 48 04 40 F1 */ bl __cvt_fp2unsigned -/* 80345868 003427C8 7C 66 1B 78 */ mr r6, r3 -/* 8034586C 003427CC 7F E3 FB 78 */ mr r3, r31 -/* 80345870 003427D0 7F C4 F3 78 */ mr r4, r30 -/* 80345874 003427D4 38 A0 00 00 */ li r5, 0 -/* 80345878 003427D8 48 04 45 71 */ bl __mod2i -/* 8034587C 003427DC 3C 00 43 30 */ lis r0, 0x4330 -/* 80345880 003427E0 90 81 00 0C */ stw r4, 0xc(r1) -/* 80345884 003427E4 C8 62 CB F0 */ lfd f3, lbl_805AE910@sda21(r2) -/* 80345888 003427E8 90 01 00 08 */ stw r0, 8(r1) -/* 8034588C 003427EC C0 42 CB CC */ lfs f2, lbl_805AE8EC@sda21(r2) -/* 80345890 003427F0 C8 01 00 08 */ lfd f0, 8(r1) -/* 80345894 003427F4 C0 22 CB E0 */ lfs f1, lbl_805AE900@sda21(r2) -/* 80345898 003427F8 EC 60 18 28 */ fsubs f3, f0, f3 -/* 8034589C 003427FC C0 02 CB DC */ lfs f0, lbl_805AE8FC@sda21(r2) -/* 803458A0 00342800 EC 43 10 24 */ fdivs f2, f3, f2 -/* 803458A4 00342804 EC 22 00 7A */ fmadds f1, f2, f1, f0 -/* 803458A8 00342808 D0 4D A9 94 */ stfs f2, lbl_805A9554@sda21(r13) -/* 803458AC 0034280C 48 04 F2 31 */ bl sin -/* 803458B0 00342810 C0 02 CB D8 */ lfs f0, lbl_805AE8F8@sda21(r2) -/* 803458B4 00342814 C8 82 CB D0 */ lfd f4, lbl_805AE8F0@sda21(r2) -/* 803458B8 00342818 C0 4D A9 94 */ lfs f2, lbl_805A9554@sda21(r13) -/* 803458BC 0034281C FC 60 20 7C */ fnmsub f3, f0, f1, f4 -/* 803458C0 00342820 C0 22 CB E0 */ lfs f1, lbl_805AE900@sda21(r2) -/* 803458C4 00342824 C0 02 CB E8 */ lfs f0, lbl_805AE908@sda21(r2) -/* 803458C8 00342828 EC 22 00 7A */ fmadds f1, f2, f1, f0 -/* 803458CC 0034282C FC 04 18 24 */ fdiv f0, f4, f3 -/* 803458D0 00342830 FC 00 00 18 */ frsp f0, f0 -/* 803458D4 00342834 D0 0D 9D 6C */ stfs f0, lbl_805A892C@sda21(r13) -/* 803458D8 00342838 48 04 F2 05 */ bl sin -/* 803458DC 0034283C C0 02 CB E4 */ lfs f0, lbl_805AE904@sda21(r2) -/* 803458E0 00342840 C8 42 CB D0 */ lfd f2, lbl_805AE8F0@sda21(r2) -/* 803458E4 00342844 FC 00 10 7C */ fnmsub f0, f0, f1, f2 -/* 803458E8 00342848 FC 02 00 24 */ fdiv f0, f2, f0 -/* 803458EC 0034284C FC 00 00 18 */ frsp f0, f0 -/* 803458F0 00342850 D0 0D 9D 70 */ stfs f0, lbl_805A8930@sda21(r13) -/* 803458F4 00342854 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 803458F8 00342858 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 803458FC 0034285C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80345900 00342860 7C 08 03 A6 */ mtlr r0 -/* 80345904 00342864 38 21 00 20 */ addi r1, r1, 0x20 -/* 80345908 00342868 4E 80 00 20 */ blr - -.global ResetCachedMaterials__13CCubeMaterialFv -ResetCachedMaterials__13CCubeMaterialFv: -/* 8034590C 0034286C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80345910 00342870 7C 08 02 A6 */ mflr r0 -/* 80345914 00342874 90 01 00 14 */ stw r0, 0x14(r1) -/* 80345918 00342878 48 00 00 29 */ bl KillCachedViewDepState__13CCubeMaterialFv -/* 8034591C 0034287C 38 60 00 00 */ li r3, 0 -/* 80345920 00342880 38 00 FF FF */ li r0, -1 -/* 80345924 00342884 90 6D A9 88 */ stw r3, lbl_805A9548@sda21(r13) -/* 80345928 00342888 90 6D A9 8C */ stw r3, lbl_805A954C@sda21(r13) -/* 8034592C 0034288C 90 0D 9D 68 */ stw r0, lbl_805A8928@sda21(r13) -/* 80345930 00342890 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80345934 00342894 7C 08 03 A6 */ mtlr r0 -/* 80345938 00342898 38 21 00 10 */ addi r1, r1, 0x10 -/* 8034593C 0034289C 4E 80 00 20 */ blr - -.global KillCachedViewDepState__13CCubeMaterialFv -KillCachedViewDepState__13CCubeMaterialFv: -/* 80345940 003428A0 38 00 00 00 */ li r0, 0 -/* 80345944 003428A4 90 0D A9 84 */ stw r0, lbl_805A9544@sda21(r13) -/* 80345948 003428A8 4E 80 00 20 */ blr - -.global EnsureViewDepStateCached__13CCubeMaterialFPC12CCubeSurface -EnsureViewDepStateCached__13CCubeMaterialFPC12CCubeSurface: -/* 8034594C 003428AC 94 21 FE 80 */ stwu r1, -0x180(r1) -/* 80345950 003428B0 7C 08 02 A6 */ mflr r0 -/* 80345954 003428B4 90 01 01 84 */ stw r0, 0x184(r1) -/* 80345958 003428B8 DB E1 01 70 */ stfd f31, 0x170(r1) -/* 8034595C 003428BC F3 E1 01 78 */ psq_st f31, 376(r1), 0, qr0 -/* 80345960 003428C0 DB C1 01 60 */ stfd f30, 0x160(r1) -/* 80345964 003428C4 F3 C1 01 68 */ psq_st f30, 360(r1), 0, qr0 -/* 80345968 003428C8 DB A1 01 50 */ stfd f29, 0x150(r1) -/* 8034596C 003428CC F3 A1 01 58 */ psq_st f29, 344(r1), 0, qr0 -/* 80345970 003428D0 93 E1 01 4C */ stw r31, 0x14c(r1) -/* 80345974 003428D4 93 C1 01 48 */ stw r30, 0x148(r1) -/* 80345978 003428D8 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8034597C 003428DC 40 82 00 14 */ bne lbl_80345990 -/* 80345980 003428E0 80 6D A9 84 */ lwz r3, lbl_805A9544@sda21(r13) -/* 80345984 003428E4 80 0D A9 88 */ lwz r0, lbl_805A9548@sda21(r13) -/* 80345988 003428E8 7C 03 00 40 */ cmplw r3, r0 -/* 8034598C 003428EC 41 82 04 A0 */ beq lbl_80345E2C -lbl_80345990: -/* 80345990 003428F0 80 0D A9 88 */ lwz r0, lbl_805A9548@sda21(r13) -/* 80345994 003428F4 28 00 00 00 */ cmplwi r0, 0 -/* 80345998 003428F8 40 82 00 08 */ bne lbl_803459A0 -/* 8034599C 003428FC 48 00 04 90 */ b lbl_80345E2C -lbl_803459A0: -/* 803459A0 00342900 3C A0 80 4C */ lis r5, lbl_804BFF50@ha -/* 803459A4 00342904 3C 60 80 5A */ lis r3, lbl_805A6204@ha -/* 803459A8 00342908 38 83 62 04 */ addi r4, r3, lbl_805A6204@l -/* 803459AC 0034290C 3B E5 FF 50 */ addi r31, r5, lbl_804BFF50@l -/* 803459B0 00342910 C0 04 00 0C */ lfs f0, 0xc(r4) -/* 803459B4 00342914 C0 3F 00 00 */ lfs f1, 0(r31) -/* 803459B8 00342918 38 61 00 3C */ addi r3, r1, 0x3c -/* 803459BC 0034291C C0 7F 00 04 */ lfs f3, 4(r31) -/* 803459C0 00342920 38 A1 00 0C */ addi r5, r1, 0xc -/* 803459C4 00342924 EC 81 00 28 */ fsubs f4, f1, f0 -/* 803459C8 00342928 C0 44 00 1C */ lfs f2, 0x1c(r4) -/* 803459CC 0034292C C0 3F 00 08 */ lfs f1, 8(r31) -/* 803459D0 00342930 C0 04 00 2C */ lfs f0, 0x2c(r4) -/* 803459D4 00342934 EC 43 10 28 */ fsubs f2, f3, f2 -/* 803459D8 00342938 D0 81 00 0C */ stfs f4, 0xc(r1) -/* 803459DC 0034293C EC 01 00 28 */ fsubs f0, f1, f0 -/* 803459E0 00342940 D0 41 00 10 */ stfs f2, 0x10(r1) -/* 803459E4 00342944 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 803459E8 00342948 4B FC D0 3D */ bl TransposeRotate__12CTransform4fCFRC9CVector3f -/* 803459EC 0034294C 3C 60 80 5A */ lis r3, skZero3f@ha -/* 803459F0 00342950 C4 43 66 A0 */ lfsu f2, skZero3f@l(r3) -/* 803459F4 00342954 C0 A1 00 3C */ lfs f5, 0x3c(r1) -/* 803459F8 00342958 28 1E 00 00 */ cmplwi r30, 0 -/* 803459FC 0034295C C0 81 00 40 */ lfs f4, 0x40(r1) -/* 80345A00 00342960 C0 61 00 44 */ lfs f3, 0x44(r1) -/* 80345A04 00342964 80 8D A9 88 */ lwz r4, lbl_805A9548@sda21(r13) -/* 80345A08 00342968 C0 23 00 04 */ lfs f1, 4(r3) -/* 80345A0C 0034296C C0 03 00 08 */ lfs f0, 8(r3) -/* 80345A10 00342970 D0 A1 00 7C */ stfs f5, 0x7c(r1) -/* 80345A14 00342974 C3 E2 CB DC */ lfs f31, lbl_805AE8FC@sda21(r2) -/* 80345A18 00342978 D0 81 00 80 */ stfs f4, 0x80(r1) -/* 80345A1C 0034297C D0 61 00 84 */ stfs f3, 0x84(r1) -/* 80345A20 00342980 90 8D A9 84 */ stw r4, lbl_805A9544@sda21(r13) -/* 80345A24 00342984 D0 41 00 70 */ stfs f2, 0x70(r1) -/* 80345A28 00342988 D0 21 00 74 */ stfs f1, 0x74(r1) -/* 80345A2C 0034298C D0 01 00 78 */ stfs f0, 0x78(r1) -/* 80345A30 00342990 41 82 00 7C */ beq lbl_80345AAC -/* 80345A34 00342994 38 00 00 02 */ li r0, 2 -/* 80345A38 00342998 80 7E 00 00 */ lwz r3, 0(r30) -/* 80345A3C 0034299C 90 0D A9 80 */ stw r0, lbl_805A9540@sda21(r13) -/* 80345A40 003429A0 C0 C3 00 24 */ lfs f6, 0x24(r3) -/* 80345A44 003429A4 C0 23 00 04 */ lfs f1, 4(r3) -/* 80345A48 003429A8 EC 06 01 32 */ fmuls f0, f6, f4 -/* 80345A4C 003429AC C0 E3 00 20 */ lfs f7, 0x20(r3) -/* 80345A50 003429B0 EC 21 01 B2 */ fmuls f1, f1, f6 -/* 80345A54 003429B4 C0 43 00 00 */ lfs f2, 0(r3) -/* 80345A58 003429B8 C1 03 00 28 */ lfs f8, 0x28(r3) -/* 80345A5C 003429BC EC 07 01 7A */ fmadds f0, f7, f5, f0 -/* 80345A60 003429C0 EC 22 09 FA */ fmadds f1, f2, f7, f1 -/* 80345A64 003429C4 C0 43 00 08 */ lfs f2, 8(r3) -/* 80345A68 003429C8 D0 E1 00 60 */ stfs f7, 0x60(r1) -/* 80345A6C 003429CC EC 08 00 FA */ fmadds f0, f8, f3, f0 -/* 80345A70 003429D0 EC 22 0A 3A */ fmadds f1, f2, f8, f1 -/* 80345A74 003429D4 D0 C1 00 64 */ stfs f6, 0x64(r1) -/* 80345A78 003429D8 D1 01 00 68 */ stfs f8, 0x68(r1) -/* 80345A7C 003429DC EC 00 08 28 */ fsubs f0, f0, f1 -/* 80345A80 003429E0 D0 21 00 6C */ stfs f1, 0x6c(r1) -/* 80345A84 003429E4 EC 40 01 F2 */ fmuls f2, f0, f7 -/* 80345A88 003429E8 EC 20 01 B2 */ fmuls f1, f0, f6 -/* 80345A8C 003429EC EC 00 02 32 */ fmuls f0, f0, f8 -/* 80345A90 003429F0 EC 45 10 28 */ fsubs f2, f5, f2 -/* 80345A94 003429F4 EC 24 08 28 */ fsubs f1, f4, f1 -/* 80345A98 003429F8 EC 03 00 28 */ fsubs f0, f3, f0 -/* 80345A9C 003429FC D0 41 00 70 */ stfs f2, 0x70(r1) -/* 80345AA0 00342A00 D0 21 00 74 */ stfs f1, 0x74(r1) -/* 80345AA4 00342A04 D0 01 00 78 */ stfs f0, 0x78(r1) -/* 80345AA8 00342A08 48 00 00 60 */ b lbl_80345B08 -lbl_80345AAC: -/* 80345AAC 00342A0C 38 00 00 01 */ li r0, 1 -/* 80345AB0 00342A10 3B C4 00 20 */ addi r30, r4, 0x20 -/* 80345AB4 00342A14 90 0D A9 80 */ stw r0, lbl_805A9540@sda21(r13) -/* 80345AB8 00342A18 7F C4 F3 78 */ mr r4, r30 -/* 80345ABC 00342A1C 38 61 00 30 */ addi r3, r1, 0x30 -/* 80345AC0 00342A20 4B FF 1B 4D */ bl GetCenterPoint__6CAABoxCFv -/* 80345AC4 00342A24 C0 7E 00 0C */ lfs f3, 0xc(r30) -/* 80345AC8 00342A28 C0 5E 00 00 */ lfs f2, 0(r30) -/* 80345ACC 00342A2C C0 3E 00 10 */ lfs f1, 0x10(r30) -/* 80345AD0 00342A30 C0 1E 00 04 */ lfs f0, 4(r30) -/* 80345AD4 00342A34 EC 43 10 28 */ fsubs f2, f3, f2 -/* 80345AD8 00342A38 C0 61 00 38 */ lfs f3, 0x38(r1) -/* 80345ADC 00342A3C EC 01 00 28 */ fsubs f0, f1, f0 -/* 80345AE0 00342A40 C0 A1 00 30 */ lfs f5, 0x30(r1) -/* 80345AE4 00342A44 C0 22 CB FC */ lfs f1, lbl_805AE91C@sda21(r2) -/* 80345AE8 00342A48 C0 81 00 34 */ lfs f4, 0x34(r1) -/* 80345AEC 00342A4C EC 02 00 2A */ fadds f0, f2, f0 -/* 80345AF0 00342A50 D0 61 00 78 */ stfs f3, 0x78(r1) -/* 80345AF4 00342A54 C0 41 00 84 */ lfs f2, 0x84(r1) -/* 80345AF8 00342A58 D0 A1 00 70 */ stfs f5, 0x70(r1) -/* 80345AFC 00342A5C EF E1 00 32 */ fmuls f31, f1, f0 -/* 80345B00 00342A60 D0 81 00 74 */ stfs f4, 0x74(r1) -/* 80345B04 00342A64 D0 41 00 78 */ stfs f2, 0x78(r1) -lbl_80345B08: -/* 80345B08 00342A68 80 AD A5 F0 */ lwz r5, lbl_805A91B0@sda21(r13) -/* 80345B0C 00342A6C 88 85 03 18 */ lbz r4, 0x318(r5) -/* 80345B10 00342A70 54 80 CF FF */ rlwinm. r0, r4, 0x19, 0x1f, 0x1f -/* 80345B14 00342A74 41 82 00 A4 */ beq lbl_80345BB8 -/* 80345B18 00342A78 3C 80 80 5A */ lis r4, lbl_805A67B4@ha -/* 80345B1C 00342A7C 3C 60 80 4C */ lis r3, lbl_804BFF50@ha -/* 80345B20 00342A80 38 84 67 B4 */ addi r4, r4, lbl_805A67B4@l -/* 80345B24 00342A84 C0 3F 00 04 */ lfs f1, 4(r31) -/* 80345B28 00342A88 C0 04 00 04 */ lfs f0, 4(r4) -/* 80345B2C 00342A8C C1 41 00 74 */ lfs f10, 0x74(r1) -/* 80345B30 00342A90 EC 80 08 28 */ fsubs f4, f0, f1 -/* 80345B34 00342A94 C0 04 00 00 */ lfs f0, 0(r4) -/* 80345B38 00342A98 C0 43 FF 50 */ lfs f2, lbl_804BFF50@l(r3) -/* 80345B3C 00342A9C EC CA 08 28 */ fsubs f6, f10, f1 -/* 80345B40 00342AA0 C1 21 00 70 */ lfs f9, 0x70(r1) -/* 80345B44 00342AA4 EC 20 10 28 */ fsubs f1, f0, f2 -/* 80345B48 00342AA8 EC E9 10 28 */ fsubs f7, f9, f2 -/* 80345B4C 00342AAC C0 04 00 08 */ lfs f0, 8(r4) -/* 80345B50 00342AB0 C0 7F 00 08 */ lfs f3, 8(r31) -/* 80345B54 00342AB4 EC 44 01 32 */ fmuls f2, f4, f4 -/* 80345B58 00342AB8 C1 61 00 78 */ lfs f11, 0x78(r1) -/* 80345B5C 00342ABC ED 00 18 28 */ fsubs f8, f0, f3 -/* 80345B60 00342AC0 EC AB 18 28 */ fsubs f5, f11, f3 -/* 80345B64 00342AC4 D0 81 00 1C */ stfs f4, 0x1c(r1) -/* 80345B68 00342AC8 EC 61 00 72 */ fmuls f3, f1, f1 -/* 80345B6C 00342ACC D0 21 00 18 */ stfs f1, 0x18(r1) -/* 80345B70 00342AD0 EC 27 01 F2 */ fmuls f1, f7, f7 -/* 80345B74 00342AD4 EC 06 01 B2 */ fmuls f0, f6, f6 -/* 80345B78 00342AD8 EC 63 10 2A */ fadds f3, f3, f2 -/* 80345B7C 00342ADC D1 01 00 20 */ stfs f8, 0x20(r1) -/* 80345B80 00342AE0 EC 88 02 32 */ fmuls f4, f8, f8 -/* 80345B84 00342AE4 EC 01 00 2A */ fadds f0, f1, f0 -/* 80345B88 00342AE8 D0 E1 00 24 */ stfs f7, 0x24(r1) -/* 80345B8C 00342AEC EC 45 01 72 */ fmuls f2, f5, f5 -/* 80345B90 00342AF0 EC 24 18 2A */ fadds f1, f4, f3 -/* 80345B94 00342AF4 D0 C1 00 28 */ stfs f6, 0x28(r1) -/* 80345B98 00342AF8 EC 02 00 2A */ fadds f0, f2, f0 -/* 80345B9C 00342AFC D0 A1 00 2C */ stfs f5, 0x2c(r1) -/* 80345BA0 00342B00 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80345BA4 00342B04 40 80 00 3C */ bge lbl_80345BE0 -/* 80345BA8 00342B08 D1 24 00 00 */ stfs f9, 0(r4) -/* 80345BAC 00342B0C D1 44 00 04 */ stfs f10, 4(r4) -/* 80345BB0 00342B10 D1 64 00 08 */ stfs f11, 8(r4) -/* 80345BB4 00342B14 48 00 00 2C */ b lbl_80345BE0 -lbl_80345BB8: -/* 80345BB8 00342B18 C0 41 00 70 */ lfs f2, 0x70(r1) -/* 80345BBC 00342B1C 3C 60 80 5A */ lis r3, lbl_805A67B4@ha -/* 80345BC0 00342B20 38 00 00 01 */ li r0, 1 -/* 80345BC4 00342B24 C0 21 00 74 */ lfs f1, 0x74(r1) -/* 80345BC8 00342B28 D4 43 67 B4 */ stfsu f2, lbl_805A67B4@l(r3) -/* 80345BCC 00342B2C 50 04 3E 30 */ rlwimi r4, r0, 7, 0x18, 0x18 -/* 80345BD0 00342B30 C0 01 00 78 */ lfs f0, 0x78(r1) -/* 80345BD4 00342B34 D0 23 00 04 */ stfs f1, 4(r3) -/* 80345BD8 00342B38 D0 03 00 08 */ stfs f0, 8(r3) -/* 80345BDC 00342B3C 98 85 03 18 */ stb r4, 0x318(r5) -lbl_80345BE0: -/* 80345BE0 00342B40 C0 21 00 74 */ lfs f1, 0x74(r1) -/* 80345BE4 00342B44 38 61 00 54 */ addi r3, r1, 0x54 -/* 80345BE8 00342B48 C0 01 00 80 */ lfs f0, 0x80(r1) -/* 80345BEC 00342B4C C0 61 00 78 */ lfs f3, 0x78(r1) -/* 80345BF0 00342B50 C0 41 00 84 */ lfs f2, 0x84(r1) -/* 80345BF4 00342B54 EC 81 00 28 */ fsubs f4, f1, f0 -/* 80345BF8 00342B58 C0 21 00 70 */ lfs f1, 0x70(r1) -/* 80345BFC 00342B5C C0 01 00 7C */ lfs f0, 0x7c(r1) -/* 80345C00 00342B60 EC 43 10 28 */ fsubs f2, f3, f2 -/* 80345C04 00342B64 D0 81 00 58 */ stfs f4, 0x58(r1) -/* 80345C08 00342B68 EC 01 00 28 */ fsubs f0, f1, f0 -/* 80345C0C 00342B6C D0 41 00 5C */ stfs f2, 0x5c(r1) -/* 80345C10 00342B70 D0 01 00 54 */ stfs f0, 0x54(r1) -/* 80345C14 00342B74 4B FC EC A5 */ bl Magnitude__9CVector3fCFv -/* 80345C18 00342B78 C0 02 CB FC */ lfs f0, lbl_805AE91C@sda21(r2) -/* 80345C1C 00342B7C 38 81 00 08 */ addi r4, r1, 8 -/* 80345C20 00342B80 38 62 CB F8 */ addi r3, r2, lbl_805AE918@sda21 -/* 80345C24 00342B84 EC 00 0F FC */ fnmsubs f0, f0, f31, f1 -/* 80345C28 00342B88 D0 01 00 08 */ stfs f0, 8(r1) -/* 80345C2C 00342B8C 4B D0 9B 05 */ bl "Max__5CMathFRCfRCf" -/* 80345C30 00342B90 C3 E3 00 00 */ lfs f31, 0(r3) -/* 80345C34 00342B94 C0 22 CC 00 */ lfs f1, lbl_805AE920@sda21(r2) -/* 80345C38 00342B98 FC 1F 08 40 */ fcmpo cr0, f31, f1 -/* 80345C3C 00342B9C 4C 41 13 82 */ cror 2, 1, 2 -/* 80345C40 00342BA0 40 82 00 10 */ bne lbl_80345C50 -/* 80345C44 00342BA4 C0 02 CB DC */ lfs f0, lbl_805AE8FC@sda21(r2) -/* 80345C48 00342BA8 D0 0D A9 90 */ stfs f0, lbl_805A9550@sda21(r13) -/* 80345C4C 00342BAC 48 00 01 E0 */ b lbl_80345E2C -lbl_80345C50: -/* 80345C50 00342BB0 EC 01 F8 28 */ fsubs f0, f1, f31 -/* 80345C54 00342BB4 3C 60 80 5A */ lis r3, lbl_805A61D4@ha -/* 80345C58 00342BB8 38 83 61 D4 */ addi r4, r3, lbl_805A61D4@l -/* 80345C5C 00342BBC 38 61 00 88 */ addi r3, r1, 0x88 -/* 80345C60 00342BC0 EC 00 08 24 */ fdivs f0, f0, f1 -/* 80345C64 00342BC4 D0 0D A9 90 */ stfs f0, lbl_805A9550@sda21(r13) -/* 80345C68 00342BC8 4B FC D0 35 */ bl GetQuickInverse__12CTransform4fCFv -/* 80345C6C 00342BCC 3C 80 80 5A */ lis r4, lbl_805A6204@ha -/* 80345C70 00342BD0 38 61 00 B8 */ addi r3, r1, 0xb8 -/* 80345C74 00342BD4 38 A4 62 04 */ addi r5, r4, lbl_805A6204@l -/* 80345C78 00342BD8 38 81 00 88 */ addi r4, r1, 0x88 -/* 80345C7C 00342BDC 4B FC CC D5 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 80345C80 00342BE0 38 61 01 18 */ addi r3, r1, 0x118 -/* 80345C84 00342BE4 38 81 00 B8 */ addi r4, r1, 0xb8 -/* 80345C88 00342BE8 4B FC CE ED */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80345C8C 00342BEC 38 61 01 18 */ addi r3, r1, 0x118 -/* 80345C90 00342BF0 38 80 00 30 */ li r4, 0x30 -/* 80345C94 00342BF4 38 A0 00 00 */ li r5, 0 -/* 80345C98 00342BF8 48 03 67 F9 */ bl GXLoadTexMtxImm -/* 80345C9C 00342BFC 3C 60 80 3E */ lis r3, lbl_803D8078@ha -/* 80345CA0 00342C00 38 80 00 52 */ li r4, 0x52 -/* 80345CA4 00342C04 38 63 80 78 */ addi r3, r3, lbl_803D8078@l -/* 80345CA8 00342C08 38 A0 00 00 */ li r5, 0 -/* 80345CAC 00342C0C 48 03 67 E5 */ bl GXLoadTexMtxImm -/* 80345CB0 00342C10 C0 82 CB E8 */ lfs f4, lbl_805AE908@sda21(r2) -/* 80345CB4 00342C14 38 61 00 48 */ addi r3, r1, 0x48 -/* 80345CB8 00342C18 C3 C2 CC 04 */ lfs f30, lbl_805AE924@sda21(r2) -/* 80345CBC 00342C1C EC A4 F8 24 */ fdivs f5, f4, f31 -/* 80345CC0 00342C20 C0 41 00 54 */ lfs f2, 0x54(r1) -/* 80345CC4 00342C24 C0 21 00 58 */ lfs f1, 0x58(r1) -/* 80345CC8 00342C28 C0 01 00 5C */ lfs f0, 0x5c(r1) -/* 80345CCC 00342C2C C0 62 CB DC */ lfs f3, lbl_805AE8FC@sda21(r2) -/* 80345CD0 00342C30 EC E5 00 B2 */ fmuls f7, f5, f2 -/* 80345CD4 00342C34 EC C5 00 72 */ fmuls f6, f5, f1 -/* 80345CD8 00342C38 EC A5 00 32 */ fmuls f5, f5, f0 -/* 80345CDC 00342C3C EC 24 01 F2 */ fmuls f1, f4, f7 -/* 80345CE0 00342C40 EC 03 01 B2 */ fmuls f0, f3, f6 -/* 80345CE4 00342C44 EC 43 01 72 */ fmuls f2, f3, f5 -/* 80345CE8 00342C48 EC 25 08 F8 */ fmsubs f1, f5, f3, f1 -/* 80345CEC 00342C4C EC 07 00 F8 */ fmsubs f0, f7, f3, f0 -/* 80345CF0 00342C50 EC 46 11 38 */ fmsubs f2, f6, f4, f2 -/* 80345CF4 00342C54 FF A0 F0 90 */ fmr f29, f30 -/* 80345CF8 00342C58 D0 21 00 4C */ stfs f1, 0x4c(r1) -/* 80345CFC 00342C5C D0 41 00 48 */ stfs f2, 0x48(r1) -/* 80345D00 00342C60 D0 01 00 50 */ stfs f0, 0x50(r1) -/* 80345D04 00342C64 4B FC E9 F5 */ bl CanBeNormalized__9CVector3fCFv -/* 80345D08 00342C68 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80345D0C 00342C6C 41 82 00 10 */ beq lbl_80345D1C -/* 80345D10 00342C70 38 61 00 48 */ addi r3, r1, 0x48 -/* 80345D14 00342C74 4B FC EB E5 */ bl Normalize__9CVector3fFv -/* 80345D18 00342C78 48 00 00 20 */ b lbl_80345D38 -lbl_80345D1C: -/* 80345D1C 00342C7C 3C 60 80 5A */ lis r3, lbl_805A6718@ha -/* 80345D20 00342C80 C4 43 67 18 */ lfsu f2, lbl_805A6718@l(r3) -/* 80345D24 00342C84 C0 23 00 04 */ lfs f1, 4(r3) -/* 80345D28 00342C88 C0 03 00 08 */ lfs f0, 8(r3) -/* 80345D2C 00342C8C D0 41 00 48 */ stfs f2, 0x48(r1) -/* 80345D30 00342C90 D0 21 00 4C */ stfs f1, 0x4c(r1) -/* 80345D34 00342C94 D0 01 00 50 */ stfs f0, 0x50(r1) -lbl_80345D38: -/* 80345D38 00342C98 C0 01 00 74 */ lfs f0, 0x74(r1) -/* 80345D3C 00342C9C 3C 60 80 3E */ lis r3, lbl_803D80A8@ha -/* 80345D40 00342CA0 C0 E1 00 4C */ lfs f7, 0x4c(r1) -/* 80345D44 00342CA4 39 83 80 A8 */ addi r12, r3, lbl_803D80A8@l -/* 80345D48 00342CA8 C0 81 00 84 */ lfs f4, 0x84(r1) -/* 80345D4C 00342CAC 38 61 00 E8 */ addi r3, r1, 0xe8 -/* 80345D50 00342CB0 EC 60 01 F2 */ fmuls f3, f0, f7 -/* 80345D54 00342CB4 C0 42 CC 08 */ lfs f2, lbl_805AE928@sda21(r2) -/* 80345D58 00342CB8 C0 22 CB E8 */ lfs f1, lbl_805AE908@sda21(r2) -/* 80345D5C 00342CBC FC 00 20 50 */ fneg f0, f4 -/* 80345D60 00342CC0 C0 81 00 70 */ lfs f4, 0x70(r1) -/* 80345D64 00342CC4 38 80 00 33 */ li r4, 0x33 -/* 80345D68 00342CC8 C0 C1 00 48 */ lfs f6, 0x48(r1) -/* 80345D6C 00342CCC EC A2 0F FA */ fmadds f5, f2, f31, f1 -/* 80345D70 00342CD0 C0 4D 9D 6C */ lfs f2, lbl_805A892C@sda21(r13) -/* 80345D74 00342CD4 38 A0 00 00 */ li r5, 0 -/* 80345D78 00342CD8 C0 2D 9D 70 */ lfs f1, lbl_805A8930@sda21(r13) -/* 80345D7C 00342CDC EC 64 19 BA */ fmadds f3, f4, f6, f3 -/* 80345D80 00342CE0 EC 45 00 B2 */ fmuls f2, f5, f2 -/* 80345D84 00342CE4 EC 25 00 72 */ fmuls f1, f5, f1 -/* 80345D88 00342CE8 C0 A1 00 78 */ lfs f5, 0x78(r1) -/* 80345D8C 00342CEC C0 81 00 50 */ lfs f4, 0x50(r1) -/* 80345D90 00342CF0 EF DE 00 B2 */ fmuls f30, f30, f2 -/* 80345D94 00342CF4 81 2C 00 00 */ lwz r9, 0(r12) -/* 80345D98 00342CF8 EC 45 19 3A */ fmadds f2, f5, f4, f3 -/* 80345D9C 00342CFC EF BD 00 72 */ fmuls f29, f29, f1 -/* 80345DA0 00342D00 81 0C 00 04 */ lwz r8, 4(r12) -/* 80345DA4 00342D04 80 EC 00 0C */ lwz r7, 0xc(r12) -/* 80345DA8 00342D08 80 CC 00 18 */ lwz r6, 0x18(r12) -/* 80345DAC 00342D0C FC 40 10 50 */ fneg f2, f2 -/* 80345DB0 00342D10 C0 22 CB FC */ lfs f1, lbl_805AE91C@sda21(r2) -/* 80345DB4 00342D14 80 0C 00 1C */ lwz r0, 0x1c(r12) -/* 80345DB8 00342D18 EC 9E 01 B2 */ fmuls f4, f30, f6 -/* 80345DBC 00342D1C 91 21 00 E8 */ stw r9, 0xe8(r1) -/* 80345DC0 00342D20 EC 7E 01 F2 */ fmuls f3, f30, f7 -/* 80345DC4 00342D24 81 6C 00 08 */ lwz r11, 8(r12) -/* 80345DC8 00342D28 EC 22 0F BA */ fmadds f1, f2, f30, f1 -/* 80345DCC 00342D2C 91 01 00 EC */ stw r8, 0xec(r1) -/* 80345DD0 00342D30 81 4C 00 10 */ lwz r10, 0x10(r12) -/* 80345DD4 00342D34 EC 00 07 72 */ fmuls f0, f0, f29 -/* 80345DD8 00342D38 90 E1 00 F4 */ stw r7, 0xf4(r1) -/* 80345DDC 00342D3C 81 2C 00 14 */ lwz r9, 0x14(r12) -/* 80345DE0 00342D40 90 C1 01 00 */ stw r6, 0x100(r1) -/* 80345DE4 00342D44 81 0C 00 20 */ lwz r8, 0x20(r12) -/* 80345DE8 00342D48 90 01 01 04 */ stw r0, 0x104(r1) -/* 80345DEC 00342D4C 80 EC 00 24 */ lwz r7, 0x24(r12) -/* 80345DF0 00342D50 80 CC 00 28 */ lwz r6, 0x28(r12) -/* 80345DF4 00342D54 80 0C 00 2C */ lwz r0, 0x2c(r12) -/* 80345DF8 00342D58 91 61 00 F0 */ stw r11, 0xf0(r1) -/* 80345DFC 00342D5C 91 41 00 F8 */ stw r10, 0xf8(r1) -/* 80345E00 00342D60 91 21 00 FC */ stw r9, 0xfc(r1) -/* 80345E04 00342D64 91 01 01 08 */ stw r8, 0x108(r1) -/* 80345E08 00342D68 90 E1 01 0C */ stw r7, 0x10c(r1) -/* 80345E0C 00342D6C 90 C1 01 10 */ stw r6, 0x110(r1) -/* 80345E10 00342D70 90 01 01 14 */ stw r0, 0x114(r1) -/* 80345E14 00342D74 D0 81 00 E8 */ stfs f4, 0xe8(r1) -/* 80345E18 00342D78 D0 61 00 EC */ stfs f3, 0xec(r1) -/* 80345E1C 00342D7C D0 21 00 F4 */ stfs f1, 0xf4(r1) -/* 80345E20 00342D80 D3 A1 01 00 */ stfs f29, 0x100(r1) -/* 80345E24 00342D84 D0 01 01 04 */ stfs f0, 0x104(r1) -/* 80345E28 00342D88 48 03 66 69 */ bl GXLoadTexMtxImm -lbl_80345E2C: -/* 80345E2C 00342D8C E3 E1 01 78 */ psq_l f31, 376(r1), 0, qr0 -/* 80345E30 00342D90 CB E1 01 70 */ lfd f31, 0x170(r1) -/* 80345E34 00342D94 E3 C1 01 68 */ psq_l f30, 360(r1), 0, qr0 -/* 80345E38 00342D98 CB C1 01 60 */ lfd f30, 0x160(r1) -/* 80345E3C 00342D9C E3 A1 01 58 */ psq_l f29, 344(r1), 0, qr0 -/* 80345E40 00342DA0 CB A1 01 50 */ lfd f29, 0x150(r1) -/* 80345E44 00342DA4 83 E1 01 4C */ lwz r31, 0x14c(r1) -/* 80345E48 00342DA8 80 01 01 84 */ lwz r0, 0x184(r1) -/* 80345E4C 00342DAC 83 C1 01 48 */ lwz r30, 0x148(r1) -/* 80345E50 00342DB0 7C 08 03 A6 */ mtlr r0 -/* 80345E54 00342DB4 38 21 01 80 */ addi r1, r1, 0x180 -/* 80345E58 00342DB8 4E 80 00 20 */ blr - -.global SetCurrent__13CCubeMaterialCFRC11CModelFlagsRC12CCubeSurfaceRC10CCubeModel -SetCurrent__13CCubeMaterialCFRC11CModelFlagsRC12CCubeSurfaceRC10CCubeModel: -/* 80345E5C 00342DBC 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 80345E60 00342DC0 7C 08 02 A6 */ mflr r0 -/* 80345E64 00342DC4 90 01 00 84 */ stw r0, 0x84(r1) -/* 80345E68 00342DC8 BE 21 00 44 */ stmw r17, 0x44(r1) -/* 80345E6C 00342DCC 7C 72 1B 78 */ mr r18, r3 -/* 80345E70 00342DD0 7C 9E 23 78 */ mr r30, r4 -/* 80345E74 00342DD4 7C D5 33 78 */ mr r21, r6 -/* 80345E78 00342DD8 80 0D A9 8C */ lwz r0, lbl_805A954C@sda21(r13) -/* 80345E7C 00342DDC 80 E3 00 00 */ lwz r7, 0(r3) -/* 80345E80 00342DE0 7C 07 00 40 */ cmplw r7, r0 -/* 80345E84 00342DE4 40 82 00 38 */ bne lbl_80345EBC -/* 80345E88 00342DE8 80 0D A9 80 */ lwz r0, lbl_805A9540@sda21(r13) -/* 80345E8C 00342DEC 2C 00 00 02 */ cmpwi r0, 2 -/* 80345E90 00342DF0 41 82 00 2C */ beq lbl_80345EBC -/* 80345E94 00342DF4 40 80 07 28 */ bge lbl_803465BC -/* 80345E98 00342DF8 2C 00 00 01 */ cmpwi r0, 1 -/* 80345E9C 00342DFC 40 80 00 08 */ bge lbl_80345EA4 -/* 80345EA0 00342E00 48 00 07 1C */ b lbl_803465BC -lbl_80345EA4: -/* 80345EA4 00342E04 80 6D A9 84 */ lwz r3, lbl_805A9544@sda21(r13) -/* 80345EA8 00342E08 80 0D A9 88 */ lwz r0, lbl_805A9548@sda21(r13) -/* 80345EAC 00342E0C 7C 03 00 40 */ cmplw r3, r0 -/* 80345EB0 00342E10 40 82 00 0C */ bne lbl_80345EBC -/* 80345EB4 00342E14 48 00 07 08 */ b lbl_803465BC -/* 80345EB8 00342E18 48 00 07 04 */ b lbl_803465BC -lbl_80345EBC: -/* 80345EBC 00342E1C 88 0D A9 98 */ lbz r0, lbl_805A9558@sda21(r13) -/* 80345EC0 00342E20 28 00 00 00 */ cmplwi r0, 0 -/* 80345EC4 00342E24 41 82 00 10 */ beq lbl_80345ED4 -/* 80345EC8 00342E28 7E 43 93 78 */ mr r3, r18 -/* 80345ECC 00342E2C 48 00 0B C5 */ bl SetCurrentBlack__13CCubeMaterialCFv -/* 80345ED0 00342E30 48 00 06 EC */ b lbl_803465BC -lbl_80345ED4: -/* 80345ED4 00342E34 82 67 00 00 */ lwz r19, 0(r7) -/* 80345ED8 00342E38 3B A0 00 00 */ li r29, 0 -/* 80345EDC 00342E3C 90 E1 00 3C */ stw r7, 0x3c(r1) -/* 80345EE0 00342E40 3A 20 00 00 */ li r17, 0 -/* 80345EE4 00342E44 72 63 01 40 */ andi. r3, r19, 0x140 -/* 80345EE8 00342E48 83 E7 00 04 */ lwz r31, 4(r7) -/* 80345EEC 00342E4C 7C 03 00 D0 */ neg r0, r3 -/* 80345EF0 00342E50 7C 00 1B 78 */ or r0, r0, r3 -/* 80345EF4 00342E54 54 19 0F FF */ rlwinm. r25, r0, 1, 0x1f, 0x1f -/* 80345EF8 00342E58 41 82 00 24 */ beq lbl_80345F1C -/* 80345EFC 00342E5C 56 60 05 EF */ rlwinm. r0, r19, 0, 0x17, 0x17 -/* 80345F00 00342E60 90 ED A9 8C */ stw r7, lbl_805A954C@sda21(r13) -/* 80345F04 00342E64 92 AD A9 88 */ stw r21, lbl_805A9548@sda21(r13) -/* 80345F08 00342E68 41 82 00 0C */ beq lbl_80345F14 -/* 80345F0C 00342E6C 7C A3 2B 78 */ mr r3, r5 -/* 80345F10 00342E70 48 00 00 08 */ b lbl_80345F18 -lbl_80345F14: -/* 80345F14 00342E74 38 60 00 00 */ li r3, 0 -lbl_80345F18: -/* 80345F18 00342E78 4B FF FA 35 */ bl EnsureViewDepStateCached__13CCubeMaterialFPC12CCubeSurface -lbl_80345F1C: -/* 80345F1C 00342E7C A0 1E 00 02 */ lhz r0, 2(r30) -/* 80345F20 00342E80 80 72 00 00 */ lwz r3, 0(r18) -/* 80345F24 00342E84 54 00 07 7B */ rlwinm. r0, r0, 0, 0x1d, 0x1d -/* 80345F28 00342E88 92 AD A9 88 */ stw r21, lbl_805A9548@sda21(r13) -/* 80345F2C 00342E8C 90 6D A9 8C */ stw r3, lbl_805A954C@sda21(r13) -/* 80345F30 00342E90 40 82 00 5C */ bne lbl_80345F8C -/* 80345F34 00342E94 80 61 00 3C */ lwz r3, 0x3c(r1) -/* 80345F38 00342E98 3A 80 00 00 */ li r20, 0 -/* 80345F3C 00342E9C 82 55 00 1C */ lwz r18, 0x1c(r21) -/* 80345F40 00342EA0 38 03 00 08 */ addi r0, r3, 8 -/* 80345F44 00342EA4 90 01 00 3C */ stw r0, 0x3c(r1) -/* 80345F48 00342EA8 48 00 00 38 */ b lbl_80345F80 -lbl_80345F4C: -/* 80345F4C 00342EAC 80 61 00 3C */ lwz r3, 0x3c(r1) -/* 80345F50 00342EB0 7E 84 A3 78 */ mr r4, r20 -/* 80345F54 00342EB4 80 D2 00 0C */ lwz r6, 0xc(r18) -/* 80345F58 00342EB8 38 A0 00 01 */ li r5, 1 -/* 80345F5C 00342EBC 80 03 00 00 */ lwz r0, 0(r3) -/* 80345F60 00342EC0 1C 60 00 0C */ mulli r3, r0, 0xc -/* 80345F64 00342EC4 38 03 00 08 */ addi r0, r3, 8 -/* 80345F68 00342EC8 7C 66 00 2E */ lwzx r3, r6, r0 -/* 80345F6C 00342ECC 4B FC 97 D1 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode -/* 80345F70 00342ED0 80 61 00 3C */ lwz r3, 0x3c(r1) -/* 80345F74 00342ED4 3A 94 00 01 */ addi r20, r20, 1 -/* 80345F78 00342ED8 38 03 00 04 */ addi r0, r3, 4 -/* 80345F7C 00342EDC 90 01 00 3C */ stw r0, 0x3c(r1) -lbl_80345F80: -/* 80345F80 00342EE0 7C 14 F8 40 */ cmplw r20, r31 -/* 80345F84 00342EE4 41 80 FF C8 */ blt lbl_80345F4C -/* 80345F88 00342EE8 48 00 00 18 */ b lbl_80345FA0 -lbl_80345F8C: -/* 80345F8C 00342EEC 38 1F 00 02 */ addi r0, r31, 2 -/* 80345F90 00342EF0 80 61 00 3C */ lwz r3, 0x3c(r1) -/* 80345F94 00342EF4 54 00 10 3A */ slwi r0, r0, 2 -/* 80345F98 00342EF8 7C 03 02 14 */ add r0, r3, r0 -/* 80345F9C 00342EFC 90 01 00 3C */ stw r0, 0x3c(r1) -lbl_80345FA0: -/* 80345FA0 00342F00 80 0D 9D 68 */ lwz r0, lbl_805A8928@sda21(r13) -/* 80345FA4 00342F04 80 61 00 3C */ lwz r3, 0x3c(r1) -/* 80345FA8 00342F08 2C 00 FF FF */ cmpwi r0, -1 -/* 80345FAC 00342F0C 80 63 00 04 */ lwz r3, 4(r3) -/* 80345FB0 00342F10 41 82 00 18 */ beq lbl_80345FC8 -/* 80345FB4 00342F14 7C 00 18 00 */ cmpw r0, r3 -/* 80345FB8 00342F18 40 82 00 10 */ bne lbl_80345FC8 -/* 80345FBC 00342F1C 80 0D A9 80 */ lwz r0, lbl_805A9540@sda21(r13) -/* 80345FC0 00342F20 2C 00 00 00 */ cmpwi r0, 0 -/* 80345FC4 00342F24 41 82 05 F8 */ beq lbl_803465BC -lbl_80345FC8: -/* 80345FC8 00342F28 90 6D 9D 68 */ stw r3, lbl_805A8928@sda21(r13) -/* 80345FCC 00342F2C 80 61 00 3C */ lwz r3, 0x3c(r1) -/* 80345FD0 00342F30 80 63 00 00 */ lwz r3, 0(r3) -/* 80345FD4 00342F34 4B FC 1F 29 */ bl SetVtxDescv_Compressed__3CGXFUi -/* 80345FD8 00342F38 80 61 00 3C */ lwz r3, 0x3c(r1) -/* 80345FDC 00342F3C 56 64 9F FE */ rlwinm r4, r19, 0x13, 0x1f, 0x1f -/* 80345FE0 00342F40 88 0D A7 82 */ lbz r0, lbl_805A9342@sda21(r13) -/* 80345FE4 00342F44 38 63 00 08 */ addi r3, r3, 8 -/* 80345FE8 00342F48 7C 04 00 40 */ cmplw r4, r0 -/* 80345FEC 00342F4C 90 61 00 3C */ stw r3, 0x3c(r1) -/* 80345FF0 00342F50 41 82 00 0C */ beq lbl_80345FFC -/* 80345FF4 00342F54 7E A3 AB 78 */ mr r3, r21 -/* 80345FF8 00342F58 4B FC 15 61 */ bl SetUsingPackedLightmaps__10CCubeModelCFb -lbl_80345FFC: -/* 80345FFC 00342F5C 3A A0 00 00 */ li r21, 0 -/* 80346000 00342F60 56 60 07 39 */ rlwinm. r0, r19, 0, 0x1c, 0x1c -/* 80346004 00342F64 92 A1 00 38 */ stw r21, 0x38(r1) -/* 80346008 00342F68 41 82 00 7C */ beq lbl_80346084 -/* 8034600C 00342F6C 82 C1 00 3C */ lwz r22, 0x3c(r1) -/* 80346010 00342F70 3C 60 80 5A */ lis r3, lbl_805A53EC@ha -/* 80346014 00342F74 3A 40 00 00 */ li r18, 0 -/* 80346018 00342F78 80 16 00 00 */ lwz r0, 0(r22) -/* 8034601C 00342F7C 3A 83 53 EC */ addi r20, r3, lbl_805A53EC@l -/* 80346020 00342F80 90 01 00 38 */ stw r0, 0x38(r1) -/* 80346024 00342F84 48 00 00 40 */ b lbl_80346064 -lbl_80346028: -/* 80346028 00342F88 80 B6 00 04 */ lwz r5, 4(r22) -/* 8034602C 00342F8C 7C 74 AA 14 */ add r3, r20, r21 -/* 80346030 00342F90 84 03 00 58 */ lwzu r0, 0x58(r3) -/* 80346034 00342F94 90 A1 00 14 */ stw r5, 0x14(r1) -/* 80346038 00342F98 7C 00 28 40 */ cmplw r0, r5 -/* 8034603C 00342F9C 90 A1 00 20 */ stw r5, 0x20(r1) -/* 80346040 00342FA0 41 82 00 18 */ beq lbl_80346058 -/* 80346044 00342FA4 90 A3 00 00 */ stw r5, 0(r3) -/* 80346048 00342FA8 7E 43 93 78 */ mr r3, r18 -/* 8034604C 00342FAC 38 81 00 18 */ addi r4, r1, 0x18 -/* 80346050 00342FB0 90 A1 00 18 */ stw r5, 0x18(r1) -/* 80346054 00342FB4 48 03 56 91 */ bl GXSetTevKColor -lbl_80346058: -/* 80346058 00342FB8 3A D6 00 04 */ addi r22, r22, 4 -/* 8034605C 00342FBC 3A 52 00 01 */ addi r18, r18, 1 -/* 80346060 00342FC0 3A B5 00 04 */ addi r21, r21, 4 -lbl_80346064: -/* 80346064 00342FC4 80 61 00 38 */ lwz r3, 0x38(r1) -/* 80346068 00342FC8 7C 12 18 40 */ cmplw r18, r3 -/* 8034606C 00342FCC 41 80 FF BC */ blt lbl_80346028 -/* 80346070 00342FD0 38 03 00 01 */ addi r0, r3, 1 -/* 80346074 00342FD4 80 61 00 3C */ lwz r3, 0x3c(r1) -/* 80346078 00342FD8 54 00 10 3A */ slwi r0, r0, 2 -/* 8034607C 00342FDC 7C 03 02 14 */ add r0, r3, r0 -/* 80346080 00342FE0 90 01 00 3C */ stw r0, 0x3c(r1) -lbl_80346084: -/* 80346084 00342FE4 80 6D A5 F0 */ lwz r3, lbl_805A91B0@sda21(r13) -/* 80346088 00342FE8 80 81 00 3C */ lwz r4, 0x3c(r1) -/* 8034608C 00342FEC 88 03 03 18 */ lbz r0, 0x318(r3) -/* 80346090 00342FF0 83 64 00 00 */ lwz r27, 0(r4) -/* 80346094 00342FF4 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f -/* 80346098 00342FF8 41 82 00 40 */ beq lbl_803460D8 -/* 8034609C 00342FFC 3C 60 80 5A */ lis r3, lbl_805A53EC@ha -/* 803460A0 00343000 3A 43 53 EC */ addi r18, r3, lbl_805A53EC@l -/* 803460A4 00343004 A0 12 00 56 */ lhz r0, 0x56(r18) -/* 803460A8 00343008 28 00 00 25 */ cmplwi r0, 0x25 -/* 803460AC 0034300C 41 82 00 3C */ beq lbl_803460E8 -/* 803460B0 00343010 38 60 00 25 */ li r3, 0x25 -/* 803460B4 00343014 4B D6 E2 C5 */ bl update_fog__3CGXFUi -/* 803460B8 00343018 38 00 00 25 */ li r0, 0x25 -/* 803460BC 0034301C 38 60 00 01 */ li r3, 1 -/* 803460C0 00343020 B0 12 00 56 */ sth r0, 0x56(r18) -/* 803460C4 00343024 38 80 00 01 */ li r4, 1 -/* 803460C8 00343028 38 A0 00 01 */ li r5, 1 -/* 803460CC 0034302C 38 C0 00 00 */ li r6, 0 -/* 803460D0 00343030 48 03 5D DD */ bl GXSetBlendMode -/* 803460D4 00343034 48 00 00 14 */ b lbl_803460E8 -lbl_803460D8: -/* 803460D8 00343038 7F 63 DB 78 */ mr r3, r27 -/* 803460DC 0034303C 7F C4 F3 78 */ mr r4, r30 -/* 803460E0 00343040 56 65 DF FE */ rlwinm r5, r19, 0x1b, 0x1f, 0x1f -/* 803460E4 00343044 48 00 20 29 */ bl SetupBlendMode__13CCubeMaterialFUiRC11CModelFlagsb -lbl_803460E8: -/* 803460E8 00343048 80 61 00 3C */ lwz r3, 0x3c(r1) -/* 803460EC 0034304C 56 7A B7 FF */ rlwinm. r26, r19, 0x16, 0x1f, 0x1f -/* 803460F0 00343050 38 63 00 04 */ addi r3, r3, 4 -/* 803460F4 00343054 90 61 00 3C */ stw r3, 0x3c(r1) -/* 803460F8 00343058 41 82 00 10 */ beq lbl_80346108 -/* 803460FC 0034305C 38 03 00 04 */ addi r0, r3, 4 -/* 80346100 00343060 82 23 00 00 */ lwz r17, 0(r3) -/* 80346104 00343064 90 01 00 3C */ stw r0, 0x3c(r1) -lbl_80346108: -/* 80346108 00343068 A0 7E 00 02 */ lhz r3, 2(r30) -/* 8034610C 0034306C 7E 64 9B 78 */ mr r4, r19 -/* 80346110 00343070 48 00 05 AD */ bl HandleDepth__FUiUi -/* 80346114 00343074 80 A1 00 3C */ lwz r5, 0x3c(r1) -/* 80346118 00343078 80 65 00 00 */ lwz r3, 0(r5) -/* 8034611C 0034307C 80 85 00 04 */ lwz r4, 4(r5) -/* 80346120 00343080 38 03 00 01 */ addi r0, r3, 1 -/* 80346124 00343084 54 00 10 3A */ slwi r0, r0, 2 -/* 80346128 00343088 7C 05 02 14 */ add r0, r5, r0 -/* 8034612C 0034308C 90 01 00 3C */ stw r0, 0x3c(r1) -/* 80346130 00343090 48 00 06 5D */ bl HandleColorChannels__FUiUi -/* 80346134 00343094 88 0D A9 9A */ lbz r0, lbl_805A955A@sda21(r13) -/* 80346138 00343098 7C 78 1B 78 */ mr r24, r3 -/* 8034613C 0034309C 3A 80 00 00 */ li r20, 0 -/* 80346140 003430A0 28 00 00 00 */ cmplwi r0, 0 -/* 80346144 003430A4 41 82 00 08 */ beq lbl_8034614C -/* 80346148 003430A8 3A 80 00 02 */ li r20, 2 -lbl_8034614C: -/* 8034614C 003430AC 80 81 00 3C */ lwz r4, 0x3c(r1) -/* 80346150 003430B0 38 A0 00 00 */ li r5, 0 -/* 80346154 003430B4 80 6D A5 F0 */ lwz r3, lbl_805A91B0@sda21(r13) -/* 80346158 003430B8 3A E0 00 00 */ li r23, 0 -/* 8034615C 003430BC 82 64 00 00 */ lwz r19, 0(r4) -/* 80346160 003430C0 38 C4 00 04 */ addi r6, r4, 4 -/* 80346164 003430C4 90 C1 00 28 */ stw r6, 0x28(r1) -/* 80346168 003430C8 1C 13 00 14 */ mulli r0, r19, 0x14 -/* 8034616C 003430CC 92 61 00 34 */ stw r19, 0x34(r1) -/* 80346170 003430D0 7C 86 02 14 */ add r4, r6, r0 -/* 80346174 003430D4 90 A1 00 30 */ stw r5, 0x30(r1) -/* 80346178 003430D8 90 A1 00 2C */ stw r5, 0x2c(r1) -/* 8034617C 003430DC 88 03 03 18 */ lbz r0, 0x318(r3) -/* 80346180 003430E0 90 C1 00 3C */ stw r6, 0x3c(r1) -/* 80346184 003430E4 54 12 F7 FF */ rlwinm. r18, r0, 0x1e, 0x1f, 0x1f -/* 80346188 003430E8 90 81 00 28 */ stw r4, 0x28(r1) -/* 8034618C 003430EC 41 82 00 88 */ beq lbl_80346214 -/* 80346190 003430F0 38 14 00 01 */ addi r0, r20, 1 -/* 80346194 003430F4 90 81 00 24 */ stw r4, 0x24(r1) -/* 80346198 003430F8 90 01 00 34 */ stw r0, 0x34(r1) -/* 8034619C 003430FC 80 66 00 08 */ lwz r3, 8(r6) -/* 803461A0 00343100 54 60 BF BE */ rlwinm r0, r3, 0x17, 0x1e, 0x1f -/* 803461A4 00343104 90 61 00 30 */ stw r3, 0x30(r1) -/* 803461A8 00343108 28 00 00 01 */ cmplwi r0, 1 -/* 803461AC 0034310C 40 82 00 34 */ bne lbl_803461E0 -/* 803461B0 00343110 80 02 CB C0 */ lwz r0, lbl_805AE8E0@sda21(r2) -/* 803461B4 00343114 38 66 00 14 */ addi r3, r6, 0x14 -/* 803461B8 00343118 38 A4 00 04 */ addi r5, r4, 4 -/* 803461BC 0034311C 90 61 00 3C */ stw r3, 0x3c(r1) -/* 803461C0 00343120 38 81 00 1C */ addi r4, r1, 0x1c -/* 803461C4 00343124 38 60 00 01 */ li r3, 1 -/* 803461C8 00343128 90 A1 00 28 */ stw r5, 0x28(r1) -/* 803461CC 0034312C 90 01 00 1C */ stw r0, 0x1c(r1) -/* 803461D0 00343130 48 03 54 2D */ bl GXSetTevColor -/* 803461D4 00343134 80 61 00 3C */ lwz r3, 0x3c(r1) -/* 803461D8 00343138 80 03 00 08 */ lwz r0, 8(r3) -/* 803461DC 0034313C 90 01 00 30 */ stw r0, 0x30(r1) -lbl_803461E0: -/* 803461E0 00343140 80 81 00 3C */ lwz r4, 0x3c(r1) -/* 803461E4 00343144 7E 83 A3 78 */ mr r3, r20 -/* 803461E8 00343148 80 A1 00 28 */ lwz r5, 0x28(r1) -/* 803461EC 0034314C 80 04 00 0C */ lwz r0, 0xc(r4) -/* 803461F0 00343150 88 CD A9 9A */ lbz r6, lbl_805A955A@sda21(r13) -/* 803461F4 00343154 90 01 00 2C */ stw r0, 0x2c(r1) -/* 803461F8 00343158 48 00 1E 29 */ bl HandleTev__FiPCUiPCUib -/* 803461FC 0034315C 80 61 00 24 */ lwz r3, 0x24(r1) -/* 80346200 00343160 56 60 10 3A */ slwi r0, r19, 2 -/* 80346204 00343164 3A E0 00 00 */ li r23, 0 -/* 80346208 00343168 7C 03 02 14 */ add r0, r3, r0 -/* 8034620C 0034316C 90 01 00 28 */ stw r0, 0x28(r1) -/* 80346210 00343170 48 00 00 8C */ b lbl_8034629C -lbl_80346214: -/* 80346214 00343174 7C 13 A2 14 */ add r0, r19, r20 -/* 80346218 00343178 7E 93 A3 78 */ mr r19, r20 -/* 8034621C 0034317C 90 01 00 34 */ stw r0, 0x34(r1) -/* 80346220 00343180 48 00 00 70 */ b lbl_80346290 -lbl_80346224: -/* 80346224 00343184 88 0D A9 9A */ lbz r0, lbl_805A955A@sda21(r13) -/* 80346228 00343188 7E 63 9B 78 */ mr r3, r19 -/* 8034622C 0034318C 80 81 00 3C */ lwz r4, 0x3c(r1) -/* 80346230 00343190 38 C0 00 00 */ li r6, 0 -/* 80346234 00343194 28 00 00 00 */ cmplwi r0, 0 -/* 80346238 00343198 80 A1 00 28 */ lwz r5, 0x28(r1) -/* 8034623C 0034319C 41 82 00 10 */ beq lbl_8034624C -/* 80346240 003431A0 7C 13 A0 40 */ cmplw r19, r20 -/* 80346244 003431A4 40 82 00 08 */ bne lbl_8034624C -/* 80346248 003431A8 38 C0 00 01 */ li r6, 1 -lbl_8034624C: -/* 8034624C 003431AC 48 00 1D D5 */ bl HandleTev__FiPCUiPCUib -/* 80346250 003431B0 80 61 00 3C */ lwz r3, 0x3c(r1) -/* 80346254 003431B4 80 03 00 08 */ lwz r0, 8(r3) -/* 80346258 003431B8 90 01 00 30 */ stw r0, 0x30(r1) -/* 8034625C 003431BC 54 00 BF BE */ rlwinm r0, r0, 0x17, 0x1e, 0x1f -/* 80346260 003431C0 28 00 00 03 */ cmplwi r0, 3 -/* 80346264 003431C4 80 03 00 0C */ lwz r0, 0xc(r3) -/* 80346268 003431C8 90 01 00 2C */ stw r0, 0x2c(r1) -/* 8034626C 003431CC 40 82 00 08 */ bne lbl_80346274 -/* 80346270 003431D0 3A E0 00 01 */ li r23, 1 -lbl_80346274: -/* 80346274 003431D4 80 81 00 3C */ lwz r4, 0x3c(r1) -/* 80346278 003431D8 3A 73 00 01 */ addi r19, r19, 1 -/* 8034627C 003431DC 80 61 00 28 */ lwz r3, 0x28(r1) -/* 80346280 003431E0 38 84 00 14 */ addi r4, r4, 0x14 -/* 80346284 003431E4 38 03 00 04 */ addi r0, r3, 4 -/* 80346288 003431E8 90 81 00 3C */ stw r4, 0x3c(r1) -/* 8034628C 003431EC 90 01 00 28 */ stw r0, 0x28(r1) -lbl_80346290: -/* 80346290 003431F0 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80346294 003431F4 7C 13 00 40 */ cmplw r19, r0 -/* 80346298 003431F8 41 80 FF 8C */ blt lbl_80346224 -lbl_8034629C: -/* 8034629C 003431FC 82 61 00 28 */ lwz r19, 0x28(r1) -/* 803462A0 00343200 28 12 00 00 */ cmplwi r18, 0 -/* 803462A4 00343204 92 61 00 10 */ stw r19, 0x10(r1) -/* 803462A8 00343208 41 82 00 9C */ beq lbl_80346344 -/* 803462AC 0034320C 82 B3 00 00 */ lwz r21, 0(r19) -/* 803462B0 00343210 3B 80 00 02 */ li r28, 2 -/* 803462B4 00343214 28 15 00 02 */ cmplwi r21, 2 -/* 803462B8 00343218 41 81 00 08 */ bgt lbl_803462C0 -/* 803462BC 0034321C 7E BC AB 78 */ mr r28, r21 -lbl_803462C0: -/* 803462C0 00343220 3C 60 80 5A */ lis r3, lbl_805A53EC@ha -/* 803462C4 00343224 82 C1 00 10 */ lwz r22, 0x10(r1) -/* 803462C8 00343228 3A 80 00 00 */ li r20, 0 -/* 803462CC 0034322C 3A 60 00 00 */ li r19, 0 -/* 803462D0 00343230 3A 43 53 EC */ addi r18, r3, lbl_805A53EC@l -/* 803462D4 00343234 48 00 00 50 */ b lbl_80346324 -lbl_803462D8: -/* 803462D8 00343238 7C 72 9A 14 */ add r3, r18, r19 -/* 803462DC 0034323C 80 16 00 04 */ lwz r0, 4(r22) -/* 803462E0 00343240 38 A3 02 28 */ addi r5, r3, 0x228 -/* 803462E4 00343244 80 63 02 28 */ lwz r3, 0x228(r3) -/* 803462E8 00343248 7C 03 00 40 */ cmplw r3, r0 -/* 803462EC 0034324C 41 82 00 2C */ beq lbl_80346318 -/* 803462F0 00343250 54 04 BE FE */ rlwinm r4, r0, 0x17, 0x1b, 0x1f -/* 803462F4 00343254 54 03 8E BE */ rlwinm r3, r0, 0x11, 0x1a, 0x1f -/* 803462F8 00343258 90 05 00 00 */ stw r0, 0(r5) -/* 803462FC 0034325C 38 C4 00 1E */ addi r6, r4, 0x1e -/* 80346300 00343260 39 03 00 40 */ addi r8, r3, 0x40 -/* 80346304 00343264 54 07 97 FE */ rlwinm r7, r0, 0x12, 0x1f, 0x1f -/* 80346308 00343268 7E 83 A3 78 */ mr r3, r20 -/* 8034630C 0034326C 54 04 07 3E */ clrlwi r4, r0, 0x1c -/* 80346310 00343270 54 05 E6 FE */ rlwinm r5, r0, 0x1c, 0x1b, 0x1f -/* 80346314 00343274 48 03 1C 81 */ bl GXSetTexCoordGen2 -lbl_80346318: -/* 80346318 00343278 3A D6 00 04 */ addi r22, r22, 4 -/* 8034631C 0034327C 3A 94 00 01 */ addi r20, r20, 1 -/* 80346320 00343280 3A 73 00 04 */ addi r19, r19, 4 -lbl_80346324: -/* 80346324 00343284 7C 14 E0 40 */ cmplw r20, r28 -/* 80346328 00343288 41 80 FF B0 */ blt lbl_803462D8 -/* 8034632C 0034328C 38 15 00 01 */ addi r0, r21, 1 -/* 80346330 00343290 80 61 00 10 */ lwz r3, 0x10(r1) -/* 80346334 00343294 54 00 10 3A */ slwi r0, r0, 2 -/* 80346338 00343298 7C 03 02 14 */ add r0, r3, r0 -/* 8034633C 0034329C 90 01 00 10 */ stw r0, 0x10(r1) -/* 80346340 003432A0 48 00 00 84 */ b lbl_803463C4 -lbl_80346344: -/* 80346344 003432A4 3C 60 80 5A */ lis r3, lbl_805A53EC@ha -/* 80346348 003432A8 83 93 00 00 */ lwz r28, 0(r19) -/* 8034634C 003432AC 3A 80 00 00 */ li r20, 0 -/* 80346350 003432B0 3A A0 00 00 */ li r21, 0 -/* 80346354 003432B4 3A 43 53 EC */ addi r18, r3, lbl_805A53EC@l -/* 80346358 003432B8 48 00 00 50 */ b lbl_803463A8 -lbl_8034635C: -/* 8034635C 003432BC 7C 72 AA 14 */ add r3, r18, r21 -/* 80346360 003432C0 81 33 00 04 */ lwz r9, 4(r19) -/* 80346364 003432C4 38 A3 02 28 */ addi r5, r3, 0x228 -/* 80346368 003432C8 80 03 02 28 */ lwz r0, 0x228(r3) -/* 8034636C 003432CC 7C 00 48 40 */ cmplw r0, r9 -/* 80346370 003432D0 41 82 00 2C */ beq lbl_8034639C -/* 80346374 003432D4 55 24 BE FE */ rlwinm r4, r9, 0x17, 0x1b, 0x1f -/* 80346378 003432D8 55 23 8E BE */ rlwinm r3, r9, 0x11, 0x1a, 0x1f -/* 8034637C 003432DC 91 25 00 00 */ stw r9, 0(r5) -/* 80346380 003432E0 38 C4 00 1E */ addi r6, r4, 0x1e -/* 80346384 003432E4 39 03 00 40 */ addi r8, r3, 0x40 -/* 80346388 003432E8 55 27 97 FE */ rlwinm r7, r9, 0x12, 0x1f, 0x1f -/* 8034638C 003432EC 7E 83 A3 78 */ mr r3, r20 -/* 80346390 003432F0 55 24 07 3E */ clrlwi r4, r9, 0x1c -/* 80346394 003432F4 55 25 E6 FE */ rlwinm r5, r9, 0x1c, 0x1b, 0x1f -/* 80346398 003432F8 48 03 1B FD */ bl GXSetTexCoordGen2 -lbl_8034639C: -/* 8034639C 003432FC 3A 73 00 04 */ addi r19, r19, 4 -/* 803463A0 00343300 3A 94 00 01 */ addi r20, r20, 1 -/* 803463A4 00343304 3A B5 00 04 */ addi r21, r21, 4 -lbl_803463A8: -/* 803463A8 00343308 7C 14 E0 40 */ cmplw r20, r28 -/* 803463AC 0034330C 41 80 FF B0 */ blt lbl_8034635C -/* 803463B0 00343310 38 1C 00 01 */ addi r0, r28, 1 -/* 803463B4 00343314 80 61 00 10 */ lwz r3, 0x10(r1) -/* 803463B8 00343318 54 00 10 3A */ slwi r0, r0, 2 -/* 803463BC 0034331C 7C 03 02 14 */ add r0, r3, r0 -/* 803463C0 00343320 90 01 00 10 */ stw r0, 0x10(r1) -lbl_803463C4: -/* 803463C4 00343324 80 61 00 10 */ lwz r3, 0x10(r1) -/* 803463C8 00343328 3A 60 00 00 */ li r19, 0 -/* 803463CC 0034332C 3A 80 00 1E */ li r20, 0x1e -/* 803463D0 00343330 3A A0 00 40 */ li r21, 0x40 -/* 803463D4 00343334 38 03 00 08 */ addi r0, r3, 8 -/* 803463D8 00343338 82 43 00 04 */ lwz r18, 4(r3) -/* 803463DC 0034333C 90 01 00 10 */ stw r0, 0x10(r1) -/* 803463E0 00343340 48 00 00 38 */ b lbl_80346418 -lbl_803463E4: -/* 803463E4 00343344 80 61 00 10 */ lwz r3, 0x10(r1) -/* 803463E8 00343348 7E 84 A3 78 */ mr r4, r20 -/* 803463EC 0034334C 7E A5 AB 78 */ mr r5, r21 -/* 803463F0 00343350 48 00 15 FD */ bl HandleAnimatedUV__FPCUi9_GXTexMtx11_GXPTTexMtx -/* 803463F4 00343354 2C 03 00 00 */ cmpwi r3, 0 -/* 803463F8 00343358 41 82 00 28 */ beq lbl_80346420 -/* 803463FC 0034335C 80 81 00 10 */ lwz r4, 0x10(r1) -/* 80346400 00343360 54 60 10 3A */ slwi r0, r3, 2 -/* 80346404 00343364 3A 73 00 01 */ addi r19, r19, 1 -/* 80346408 00343368 3A 94 00 03 */ addi r20, r20, 3 -/* 8034640C 0034336C 7C 04 02 14 */ add r0, r4, r0 -/* 80346410 00343370 3A B5 00 03 */ addi r21, r21, 3 -/* 80346414 00343374 90 01 00 10 */ stw r0, 0x10(r1) -lbl_80346418: -/* 80346418 00343378 7C 13 90 40 */ cmplw r19, r18 -/* 8034641C 0034337C 41 80 FF C8 */ blt lbl_803463E4 -lbl_80346420: -/* 80346420 00343380 88 1E 00 00 */ lbz r0, 0(r30) -/* 80346424 00343384 7C 00 07 75 */ extsb. r0, r0 -/* 80346428 00343388 41 82 00 20 */ beq lbl_80346448 -/* 8034642C 0034338C 7F C5 F3 78 */ mr r5, r30 -/* 80346430 00343390 7F 66 DB 78 */ mr r6, r27 -/* 80346434 00343394 38 61 00 34 */ addi r3, r1, 0x34 -/* 80346438 00343398 38 81 00 38 */ addi r4, r1, 0x38 -/* 8034643C 0034339C 38 E1 00 30 */ addi r7, r1, 0x30 -/* 80346440 003433A0 39 01 00 2C */ addi r8, r1, 0x2c -/* 80346444 003433A4 48 00 11 49 */ bl HandleTransparency__FUiUiRC11CModelFlagsRUiRUi -lbl_80346448: -/* 80346448 003433A8 28 19 00 00 */ cmplwi r25, 0 -/* 8034644C 003433AC 41 82 00 C4 */ beq lbl_80346510 -/* 80346450 003433B0 C0 2D A9 90 */ lfs f1, lbl_805A9550@sda21(r13) -/* 80346454 003433B4 C0 02 CB DC */ lfs f0, lbl_805AE8FC@sda21(r2) -/* 80346458 003433B8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8034645C 003433BC 40 81 00 94 */ ble lbl_803464F0 -/* 80346460 003433C0 28 1A 00 00 */ cmplwi r26, 0 -/* 80346464 003433C4 41 82 00 3C */ beq lbl_803464A0 -/* 80346468 003433C8 38 01 00 2C */ addi r0, r1, 0x2c -/* 8034646C 003433CC 7E E3 BB 78 */ mr r3, r23 -/* 80346470 003433D0 90 01 00 08 */ stw r0, 8(r1) -/* 80346474 003433D4 7F E7 FB 78 */ mr r7, r31 -/* 80346478 003433D8 7F 88 E3 78 */ mr r8, r28 -/* 8034647C 003433DC 56 24 07 7E */ clrlwi r4, r17, 0x1d -/* 80346480 003433E0 80 C1 00 34 */ lwz r6, 0x34(r1) -/* 80346484 003433E4 39 41 00 30 */ addi r10, r1, 0x30 -/* 80346488 003433E8 81 21 00 38 */ lwz r9, 0x38(r1) -/* 8034648C 003433EC 38 A0 00 00 */ li r5, 0 -/* 80346490 003433F0 48 00 08 F9 */ bl HandleReflection__13CCubeMaterialFb11_GXTexMapIDiUiUiUiUiRUiRUi -/* 80346494 003433F4 3B A0 00 01 */ li r29, 1 -/* 80346498 003433F8 3B 9C 00 02 */ addi r28, r28, 2 -/* 8034649C 003433FC 48 00 00 34 */ b lbl_803464D0 -lbl_803464A0: -/* 803464A0 00343400 38 01 00 2C */ addi r0, r1, 0x2c -/* 803464A4 00343404 7E E3 BB 78 */ mr r3, r23 -/* 803464A8 00343408 90 01 00 08 */ stw r0, 8(r1) -/* 803464AC 0034340C 7F E7 FB 78 */ mr r7, r31 -/* 803464B0 00343410 7F 88 E3 78 */ mr r8, r28 -/* 803464B4 00343414 39 41 00 30 */ addi r10, r1, 0x30 -/* 803464B8 00343418 80 C1 00 34 */ lwz r6, 0x34(r1) -/* 803464BC 0034341C 38 80 00 FF */ li r4, 0xff -/* 803464C0 00343420 81 21 00 38 */ lwz r9, 0x38(r1) -/* 803464C4 00343424 38 A0 00 00 */ li r5, 0 -/* 803464C8 00343428 48 00 08 C1 */ bl HandleReflection__13CCubeMaterialFb11_GXTexMapIDiUiUiUiUiRUiRUi -/* 803464CC 0034342C 3B 9C 00 01 */ addi r28, r28, 1 -lbl_803464D0: -/* 803464D0 00343430 80 01 00 34 */ lwz r0, 0x34(r1) -/* 803464D4 00343434 3B FF 00 01 */ addi r31, r31, 1 -/* 803464D8 00343438 80 81 00 38 */ lwz r4, 0x38(r1) -/* 803464DC 0034343C 7C 60 1A 14 */ add r3, r0, r3 -/* 803464E0 00343440 38 04 00 01 */ addi r0, r4, 1 -/* 803464E4 00343444 90 61 00 34 */ stw r3, 0x34(r1) -/* 803464E8 00343448 90 01 00 38 */ stw r0, 0x38(r1) -/* 803464EC 0034344C 48 00 00 24 */ b lbl_80346510 -lbl_803464F0: -/* 803464F0 00343450 80 01 00 30 */ lwz r0, 0x30(r1) -/* 803464F4 00343454 54 00 BF BF */ rlwinm. r0, r0, 0x17, 0x1e, 0x1f -/* 803464F8 00343458 41 82 00 18 */ beq lbl_80346510 -/* 803464FC 0034345C 80 61 00 34 */ lwz r3, 0x34(r1) -/* 80346500 00343460 48 00 00 D1 */ bl DoPassthru__FUi -/* 80346504 00343464 80 61 00 34 */ lwz r3, 0x34(r1) -/* 80346508 00343468 38 03 00 01 */ addi r0, r3, 1 -/* 8034650C 0034346C 90 01 00 34 */ stw r0, 0x34(r1) -lbl_80346510: -/* 80346510 00343470 88 0D A9 9A */ lbz r0, lbl_805A955A@sda21(r13) -/* 80346514 00343474 28 00 00 00 */ cmplwi r0, 0 -/* 80346518 00343478 41 82 00 14 */ beq lbl_8034652C -/* 8034651C 0034347C 7F E3 FB 78 */ mr r3, r31 -/* 80346520 00343480 7F 84 E3 78 */ mr r4, r28 -/* 80346524 00343484 48 00 0D 01 */ bl DoModelShadow__FUiUi -/* 80346528 00343488 3B 9C 00 01 */ addi r28, r28, 1 -lbl_8034652C: -/* 8034652C 0034348C 3C 80 80 5A */ lis r4, lbl_805A53EC@ha -/* 80346530 00343490 57 A3 06 3E */ clrlwi r3, r29, 0x18 -/* 80346534 00343494 38 84 53 EC */ addi r4, r4, lbl_805A53EC@l -/* 80346538 00343498 88 04 00 51 */ lbz r0, 0x51(r4) -/* 8034653C 0034349C 7C 00 18 40 */ cmplw r0, r3 -/* 80346540 003434A0 41 82 00 0C */ beq lbl_8034654C -/* 80346544 003434A4 9B A4 00 51 */ stb r29, 0x51(r4) -/* 80346548 003434A8 48 03 4D 71 */ bl GXSetNumIndStages -lbl_8034654C: -/* 8034654C 003434AC 3C 60 80 5A */ lis r3, lbl_805A53EC@ha -/* 80346550 003434B0 80 A1 00 34 */ lwz r5, 0x34(r1) -/* 80346554 003434B4 38 83 53 EC */ addi r4, r3, lbl_805A53EC@l -/* 80346558 003434B8 88 04 00 50 */ lbz r0, 0x50(r4) -/* 8034655C 003434BC 54 A3 06 3E */ clrlwi r3, r5, 0x18 -/* 80346560 003434C0 7C 00 18 40 */ cmplw r0, r3 -/* 80346564 003434C4 41 82 00 0C */ beq lbl_80346570 -/* 80346568 003434C8 98 64 00 50 */ stb r3, 0x50(r4) -/* 8034656C 003434CC 48 03 56 61 */ bl GXSetNumTevStages -lbl_80346570: -/* 80346570 003434D0 3C 80 80 5A */ lis r4, lbl_805A53EC@ha -/* 80346574 003434D4 57 83 06 3E */ clrlwi r3, r28, 0x18 -/* 80346578 003434D8 38 84 53 EC */ addi r4, r4, lbl_805A53EC@l -/* 8034657C 003434DC 88 04 00 4F */ lbz r0, 0x4f(r4) -/* 80346580 003434E0 7C 03 00 40 */ cmplw r3, r0 -/* 80346584 003434E4 41 82 00 0C */ beq lbl_80346590 -/* 80346588 003434E8 9B 84 00 4F */ stb r28, 0x4f(r4) -/* 8034658C 003434EC 48 03 1C D9 */ bl GXSetNumTexGens -lbl_80346590: -/* 80346590 003434F0 3C 60 80 5A */ lis r3, lbl_805A53EC@ha -/* 80346594 003434F4 57 06 06 3E */ clrlwi r6, r24, 0x18 -/* 80346598 003434F8 38 A3 53 EC */ addi r5, r3, lbl_805A53EC@l -/* 8034659C 003434FC 88 65 00 4D */ lbz r3, 0x4d(r5) -/* 803465A0 00343500 88 05 00 4C */ lbz r0, 0x4c(r5) -/* 803465A4 00343504 7C 86 18 50 */ subf r4, r6, r3 -/* 803465A8 00343508 7C 63 30 50 */ subf r3, r3, r6 -/* 803465AC 0034350C 7C 83 1B 78 */ or r3, r4, r3 -/* 803465B0 00343510 9B 05 00 4E */ stb r24, 0x4e(r5) -/* 803465B4 00343514 50 60 0F FE */ rlwimi r0, r3, 1, 0x1f, 0x1f -/* 803465B8 00343518 98 05 00 4C */ stb r0, 0x4c(r5) -lbl_803465BC: -/* 803465BC 0034351C BA 21 00 44 */ lmw r17, 0x44(r1) -/* 803465C0 00343520 80 01 00 84 */ lwz r0, 0x84(r1) -/* 803465C4 00343524 7C 08 03 A6 */ mtlr r0 -/* 803465C8 00343528 38 21 00 80 */ addi r1, r1, 0x80 -/* 803465CC 0034352C 4E 80 00 20 */ blr - -.global DoPassthru__FUi -DoPassthru__FUi: -/* 803465D0 00343530 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803465D4 00343534 7C 08 02 A6 */ mflr r0 -/* 803465D8 00343538 3C 80 80 5A */ lis r4, lbl_805A53EC@ha -/* 803465DC 0034353C 90 01 00 14 */ stw r0, 0x14(r1) -/* 803465E0 00343540 38 04 53 EC */ addi r0, r4, lbl_805A53EC@l -/* 803465E4 00343544 93 E1 00 0C */ stw r31, 0xc(r1) -/* 803465E8 00343548 93 C1 00 08 */ stw r30, 8(r1) -/* 803465EC 0034354C 7C 7E 1B 78 */ mr r30, r3 -/* 803465F0 00343550 1C BE 00 1C */ mulli r5, r30, 0x1c -/* 803465F4 00343554 7C 80 2A 14 */ add r4, r0, r5 -/* 803465F8 00343558 80 04 00 68 */ lwz r0, 0x68(r4) -/* 803465FC 0034355C 3B E4 00 68 */ addi r31, r4, 0x68 -/* 80346600 00343560 28 00 3D EF */ cmplwi r0, 0x3def -/* 80346604 00343564 41 82 00 20 */ beq lbl_80346624 -/* 80346608 00343568 38 00 3D EF */ li r0, 0x3def -/* 8034660C 0034356C 38 80 00 0F */ li r4, 0xf -/* 80346610 00343570 90 1F 00 00 */ stw r0, 0(r31) -/* 80346614 00343574 38 A0 00 0F */ li r5, 0xf -/* 80346618 00343578 38 C0 00 0F */ li r6, 0xf -/* 8034661C 0034357C 38 E0 00 00 */ li r7, 0 -/* 80346620 00343580 48 03 4E 85 */ bl GXSetTevColorIn -lbl_80346624: -/* 80346624 00343584 80 1F 00 04 */ lwz r0, 4(r31) -/* 80346628 00343588 28 00 1C E7 */ cmplwi r0, 0x1ce7 -/* 8034662C 0034358C 41 82 00 24 */ beq lbl_80346650 -/* 80346630 00343590 38 00 1C E7 */ li r0, 0x1ce7 -/* 80346634 00343594 7F C3 F3 78 */ mr r3, r30 -/* 80346638 00343598 90 1F 00 04 */ stw r0, 4(r31) -/* 8034663C 0034359C 38 80 00 07 */ li r4, 7 -/* 80346640 003435A0 38 A0 00 07 */ li r5, 7 -/* 80346644 003435A4 38 C0 00 07 */ li r6, 7 -/* 80346648 003435A8 38 E0 00 00 */ li r7, 0 -/* 8034664C 003435AC 48 03 4E 9D */ bl GXSetTevAlphaIn -lbl_80346650: -/* 80346650 003435B0 80 7F 00 14 */ lwz r3, 0x14(r31) -/* 80346654 003435B4 3C 03 FF 01 */ addis r0, r3, 0xff01 -/* 80346658 003435B8 28 00 FF FF */ cmplwi r0, 0xffff -/* 8034665C 003435BC 41 82 00 24 */ beq lbl_80346680 -/* 80346660 003435C0 3C 80 01 00 */ lis r4, 0x00FFFFFF@ha -/* 80346664 003435C4 7F C3 F3 78 */ mr r3, r30 -/* 80346668 003435C8 38 04 FF FF */ addi r0, r4, 0x00FFFFFF@l -/* 8034666C 003435CC 38 80 00 FF */ li r4, 0xff -/* 80346670 003435D0 90 1F 00 14 */ stw r0, 0x14(r31) -/* 80346674 003435D4 38 A0 00 FF */ li r5, 0xff -/* 80346678 003435D8 38 C0 00 FF */ li r6, 0xff -/* 8034667C 003435DC 48 03 53 79 */ bl GXSetTevOrder -lbl_80346680: -/* 80346680 003435E0 80 1F 00 10 */ lwz r0, 0x10(r31) -/* 80346684 003435E4 28 00 00 00 */ cmplwi r0, 0 -/* 80346688 003435E8 41 82 00 14 */ beq lbl_8034669C -/* 8034668C 003435EC 38 00 00 00 */ li r0, 0 -/* 80346690 003435F0 7F C3 F3 78 */ mr r3, r30 -/* 80346694 003435F4 90 1F 00 10 */ stw r0, 0x10(r31) -/* 80346698 003435F8 48 03 4C 49 */ bl GXSetTevDirect -lbl_8034669C: -/* 8034669C 003435FC 7F C3 F3 78 */ mr r3, r30 -/* 803466A0 00343600 4B FC 15 B1 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID -/* 803466A4 00343604 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803466A8 00343608 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 803466AC 0034360C 83 C1 00 08 */ lwz r30, 8(r1) -/* 803466B0 00343610 7C 08 03 A6 */ mtlr r0 -/* 803466B4 00343614 38 21 00 10 */ addi r1, r1, 0x10 -/* 803466B8 00343618 4E 80 00 20 */ blr - -.global HandleDepth__FUiUi -HandleDepth__FUiUi: -/* 803466BC 0034361C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803466C0 00343620 7C 08 02 A6 */ mflr r0 -/* 803466C4 00343624 7C 87 23 78 */ mr r7, r4 -/* 803466C8 00343628 90 01 00 14 */ stw r0, 0x14(r1) -/* 803466CC 0034362C 54 60 07 FF */ clrlwi. r0, r3, 0x1f -/* 803466D0 00343630 40 82 00 0C */ bne lbl_803466DC -/* 803466D4 00343634 38 80 00 07 */ li r4, 7 -/* 803466D8 00343638 48 00 00 38 */ b lbl_80346710 -lbl_803466DC: -/* 803466DC 0034363C 54 60 07 39 */ rlwinm. r0, r3, 0, 0x1c, 0x1c -/* 803466E0 00343640 41 82 00 1C */ beq lbl_803466FC -/* 803466E4 00343644 54 60 06 F7 */ rlwinm. r0, r3, 0, 0x1b, 0x1b -/* 803466E8 00343648 41 82 00 0C */ beq lbl_803466F4 -/* 803466EC 0034364C 38 80 00 04 */ li r4, 4 -/* 803466F0 00343650 48 00 00 20 */ b lbl_80346710 -lbl_803466F4: -/* 803466F4 00343654 38 80 00 06 */ li r4, 6 -/* 803466F8 00343658 48 00 00 18 */ b lbl_80346710 -lbl_803466FC: -/* 803466FC 0034365C 54 60 06 F7 */ rlwinm. r0, r3, 0, 0x1b, 0x1b -/* 80346700 00343660 41 82 00 0C */ beq lbl_8034670C -/* 80346704 00343664 38 80 00 01 */ li r4, 1 -/* 80346708 00343668 48 00 00 08 */ b lbl_80346710 -lbl_8034670C: -/* 8034670C 0034366C 38 80 00 03 */ li r4, 3 -lbl_80346710: -/* 80346710 00343670 54 66 07 BC */ rlwinm r6, r3, 0, 0x1e, 0x1e -/* 80346714 00343674 54 85 15 BA */ rlwinm r5, r4, 2, 0x16, 0x1d -/* 80346718 00343678 28 06 00 02 */ cmplwi r6, 2 -/* 8034671C 0034367C 38 60 00 00 */ li r3, 0 -/* 80346720 00343680 40 82 00 10 */ bne lbl_80346730 -/* 80346724 00343684 54 E0 06 31 */ rlwinm. r0, r7, 0, 0x18, 0x18 -/* 80346728 00343688 41 82 00 08 */ beq lbl_80346730 -/* 8034672C 0034368C 38 60 00 01 */ li r3, 1 -lbl_80346730: -/* 80346730 00343690 54 60 0D FC */ rlwinm r0, r3, 1, 0x17, 0x1e -/* 80346734 00343694 3C 60 80 5A */ lis r3, lbl_805A53EC@ha -/* 80346738 00343698 60 00 00 01 */ ori r0, r0, 1 -/* 8034673C 0034369C 7C A5 03 78 */ or r5, r5, r0 -/* 80346740 003436A0 38 63 53 EC */ addi r3, r3, lbl_805A53EC@l -/* 80346744 003436A4 88 03 00 52 */ lbz r0, 0x52(r3) -/* 80346748 003436A8 54 A5 06 3E */ clrlwi r5, r5, 0x18 -/* 8034674C 003436AC 7C 05 00 40 */ cmplw r5, r0 -/* 80346750 003436B0 41 82 00 2C */ beq lbl_8034677C -/* 80346754 003436B4 28 06 00 02 */ cmplwi r6, 2 -/* 80346758 003436B8 98 A3 00 52 */ stb r5, 0x52(r3) -/* 8034675C 003436BC 38 60 00 01 */ li r3, 1 -/* 80346760 003436C0 38 A0 00 00 */ li r5, 0 -/* 80346764 003436C4 40 82 00 10 */ bne lbl_80346774 -/* 80346768 003436C8 54 E0 06 31 */ rlwinm. r0, r7, 0, 0x18, 0x18 -/* 8034676C 003436CC 41 82 00 08 */ beq lbl_80346774 -/* 80346770 003436D0 38 A0 00 01 */ li r5, 1 -lbl_80346774: -/* 80346774 003436D4 54 A5 06 3E */ clrlwi r5, r5, 0x18 -/* 80346778 003436D8 48 03 57 E1 */ bl GXSetZMode -lbl_8034677C: -/* 8034677C 003436DC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80346780 003436E0 7C 08 03 A6 */ mtlr r0 -/* 80346784 003436E4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80346788 003436E8 4E 80 00 20 */ blr - -.global HandleColorChannels__FUiUi -HandleColorChannels__FUiUi: -/* 8034678C 003436EC 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80346790 003436F0 7C 08 02 A6 */ mflr r0 -/* 80346794 003436F4 90 01 00 44 */ stw r0, 0x44(r1) -/* 80346798 003436F8 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 8034679C 003436FC 7C 9F 23 78 */ mr r31, r4 -/* 803467A0 00343700 93 C1 00 38 */ stw r30, 0x38(r1) -/* 803467A4 00343704 7C 7E 1B 78 */ mr r30, r3 -/* 803467A8 00343708 93 A1 00 34 */ stw r29, 0x34(r1) -/* 803467AC 0034370C 88 0D A9 9A */ lbz r0, lbl_805A955A@sda21(r13) -/* 803467B0 00343710 28 00 00 00 */ cmplwi r0, 0 -/* 803467B4 00343714 41 82 01 5C */ beq lbl_80346910 -/* 803467B8 00343718 28 1E 00 00 */ cmplwi r30, 0 -/* 803467BC 0034371C 41 82 01 4C */ beq lbl_80346908 -/* 803467C0 00343720 3C 60 80 5A */ lis r3, lbl_805A53EC@ha -/* 803467C4 00343724 80 A2 CB B8 */ lwz r5, lbl_805AE8D8@sda21(r2) -/* 803467C8 00343728 3B A3 53 EC */ addi r29, r3, lbl_805A53EC@l -/* 803467CC 0034372C 80 1D 00 3C */ lwz r0, 0x3c(r29) -/* 803467D0 00343730 7C 05 00 40 */ cmplw r5, r0 -/* 803467D4 00343734 41 82 00 18 */ beq lbl_803467EC -/* 803467D8 00343738 90 BD 00 3C */ stw r5, 0x3c(r29) -/* 803467DC 0034373C 38 81 00 24 */ addi r4, r1, 0x24 -/* 803467E0 00343740 38 60 00 05 */ li r3, 5 -/* 803467E4 00343744 90 A1 00 24 */ stw r5, 0x24(r1) -/* 803467E8 00343748 48 03 31 61 */ bl GXSetChanAmbColor -lbl_803467EC: -/* 803467EC 0034374C 80 A2 CB BC */ lwz r5, lbl_805AE8DC@sda21(r2) -/* 803467F0 00343750 80 1D 00 44 */ lwz r0, 0x44(r29) -/* 803467F4 00343754 7C 05 00 40 */ cmplw r5, r0 -/* 803467F8 00343758 41 82 00 18 */ beq lbl_80346810 -/* 803467FC 0034375C 90 BD 00 44 */ stw r5, 0x44(r29) -/* 80346800 00343760 38 81 00 20 */ addi r4, r1, 0x20 -/* 80346804 00343764 38 60 00 05 */ li r3, 5 -/* 80346808 00343768 90 A1 00 20 */ stw r5, 0x20(r1) -/* 8034680C 0034376C 48 03 32 31 */ bl GXSetChanMatColor -lbl_80346810: -/* 80346810 00343770 89 2D A9 A1 */ lbz r9, lbl_805A9561@sda21(r13) -/* 80346814 00343774 3C 60 80 5A */ lis r3, lbl_805A53EC@ha -/* 80346818 00343778 38 E3 53 EC */ addi r7, r3, lbl_805A53EC@l -/* 8034681C 0034377C 38 00 00 01 */ li r0, 1 -/* 80346820 00343780 2C 09 00 00 */ cmpwi r9, 0 -/* 80346824 00343784 A1 07 00 32 */ lhz r8, 0x32(r7) -/* 80346828 00343788 40 82 00 08 */ bne lbl_80346830 -/* 8034682C 0034378C 38 00 00 00 */ li r0, 0 -lbl_80346830: -/* 80346830 00343790 54 05 07 FE */ clrlwi r5, r0, 0x1f -/* 80346834 00343794 88 6D A8 16 */ lbz r3, lbl_805A93D6@sda21(r13) -/* 80346838 00343798 88 0D A9 A0 */ lbz r0, lbl_805A9560@sda21(r13) -/* 8034683C 0034379C 51 25 1D 78 */ rlwimi r5, r9, 3, 0x15, 0x1c -/* 80346840 003437A0 3C 80 80 5A */ lis r4, lbl_805A53EC@ha -/* 80346844 003437A4 60 A5 30 00 */ ori r5, r5, 0x3000 -/* 80346848 003437A8 7C 60 00 78 */ andc r0, r3, r0 -/* 8034684C 003437AC 38 C4 53 EC */ addi r6, r4, lbl_805A53EC@l -/* 80346850 003437B0 B0 A7 00 36 */ sth r5, 0x36(r7) -/* 80346854 003437B4 54 09 06 3F */ clrlwi. r9, r0, 0x18 -/* 80346858 003437B8 7C 65 40 50 */ subf r3, r5, r8 -/* 8034685C 003437BC 7C 08 28 50 */ subf r0, r8, r5 -/* 80346860 003437C0 88 86 00 4C */ lbz r4, 0x4c(r6) -/* 80346864 003437C4 7C 60 03 78 */ or r0, r3, r0 -/* 80346868 003437C8 A0 66 00 30 */ lhz r3, 0x30(r6) -/* 8034686C 003437CC 50 04 1F 7A */ rlwimi r4, r0, 3, 0x1d, 0x1d -/* 80346870 003437D0 57 E5 00 3C */ rlwinm r5, r31, 0, 0, 0x1e -/* 80346874 003437D4 98 86 00 4C */ stb r4, 0x4c(r6) -/* 80346878 003437D8 41 82 00 0C */ beq lbl_80346884 -/* 8034687C 003437DC 55 20 1D 78 */ rlwinm r0, r9, 3, 0x15, 0x1c -/* 80346880 003437E0 7F E5 03 78 */ or r5, r31, r0 -lbl_80346884: -/* 80346884 003437E4 7C 85 18 50 */ subf r4, r5, r3 -/* 80346888 003437E8 7C 63 28 50 */ subf r3, r3, r5 -/* 8034688C 003437EC 88 06 00 4C */ lbz r0, 0x4c(r6) -/* 80346890 003437F0 7C 83 1B 78 */ or r3, r4, r3 -/* 80346894 003437F4 50 60 17 BC */ rlwimi r0, r3, 2, 0x1e, 0x1e -/* 80346898 003437F8 28 09 00 00 */ cmplwi r9, 0 -/* 8034689C 003437FC B0 A6 00 34 */ sth r5, 0x34(r6) -/* 803468A0 00343800 98 06 00 4C */ stb r0, 0x4c(r6) -/* 803468A4 00343804 41 82 00 34 */ beq lbl_803468D8 -/* 803468A8 00343808 3C 60 80 5A */ lis r3, lbl_805A53EC@ha -/* 803468AC 0034380C 80 A2 CB BC */ lwz r5, lbl_805AE8DC@sda21(r2) -/* 803468B0 00343810 38 63 53 EC */ addi r3, r3, lbl_805A53EC@l -/* 803468B4 00343814 80 03 00 40 */ lwz r0, 0x40(r3) -/* 803468B8 00343818 7C 05 00 40 */ cmplw r5, r0 -/* 803468BC 0034381C 41 82 00 4C */ beq lbl_80346908 -/* 803468C0 00343820 90 A3 00 40 */ stw r5, 0x40(r3) -/* 803468C4 00343824 38 81 00 1C */ addi r4, r1, 0x1c -/* 803468C8 00343828 38 60 00 04 */ li r3, 4 -/* 803468CC 0034382C 90 A1 00 1C */ stw r5, 0x1c(r1) -/* 803468D0 00343830 48 03 31 6D */ bl GXSetChanMatColor -/* 803468D4 00343834 48 00 00 34 */ b lbl_80346908 -lbl_803468D8: -/* 803468D8 00343838 3C 60 80 5A */ lis r3, lbl_805A53EC@ha -/* 803468DC 0034383C 38 63 53 EC */ addi r3, r3, lbl_805A53EC@l -/* 803468E0 00343840 80 A3 00 38 */ lwz r5, 0x38(r3) -/* 803468E4 00343844 80 03 00 40 */ lwz r0, 0x40(r3) -/* 803468E8 00343848 90 A1 00 2C */ stw r5, 0x2c(r1) -/* 803468EC 0034384C 7C 05 00 40 */ cmplw r5, r0 -/* 803468F0 00343850 41 82 00 18 */ beq lbl_80346908 -/* 803468F4 00343854 90 A3 00 40 */ stw r5, 0x40(r3) -/* 803468F8 00343858 38 81 00 18 */ addi r4, r1, 0x18 -/* 803468FC 0034385C 38 60 00 04 */ li r3, 4 -/* 80346900 00343860 90 A1 00 18 */ stw r5, 0x18(r1) -/* 80346904 00343864 48 03 31 39 */ bl GXSetChanMatColor -lbl_80346908: -/* 80346908 00343868 38 60 00 02 */ li r3, 2 -/* 8034690C 0034386C 48 00 01 68 */ b lbl_80346A74 -lbl_80346910: -/* 80346910 00343870 28 1E 00 02 */ cmplwi r30, 2 -/* 80346914 00343874 40 82 00 58 */ bne lbl_8034696C -/* 80346918 00343878 3C 60 80 5A */ lis r3, lbl_805A53EC@ha -/* 8034691C 0034387C 80 A2 CB B8 */ lwz r5, lbl_805AE8D8@sda21(r2) -/* 80346920 00343880 3B A3 53 EC */ addi r29, r3, lbl_805A53EC@l -/* 80346924 00343884 80 1D 00 3C */ lwz r0, 0x3c(r29) -/* 80346928 00343888 7C 05 00 40 */ cmplw r5, r0 -/* 8034692C 0034388C 41 82 00 18 */ beq lbl_80346944 -/* 80346930 00343890 90 BD 00 3C */ stw r5, 0x3c(r29) -/* 80346934 00343894 38 81 00 14 */ addi r4, r1, 0x14 -/* 80346938 00343898 38 60 00 05 */ li r3, 5 -/* 8034693C 0034389C 90 A1 00 14 */ stw r5, 0x14(r1) -/* 80346940 003438A0 48 03 30 09 */ bl GXSetChanAmbColor -lbl_80346944: -/* 80346944 003438A4 80 A2 CB BC */ lwz r5, lbl_805AE8DC@sda21(r2) -/* 80346948 003438A8 80 1D 00 44 */ lwz r0, 0x44(r29) -/* 8034694C 003438AC 7C 05 00 40 */ cmplw r5, r0 -/* 80346950 003438B0 41 82 00 48 */ beq lbl_80346998 -/* 80346954 003438B4 90 BD 00 44 */ stw r5, 0x44(r29) -/* 80346958 003438B8 38 81 00 10 */ addi r4, r1, 0x10 -/* 8034695C 003438BC 38 60 00 05 */ li r3, 5 -/* 80346960 003438C0 90 A1 00 10 */ stw r5, 0x10(r1) -/* 80346964 003438C4 48 03 30 D9 */ bl GXSetChanMatColor -/* 80346968 003438C8 48 00 00 30 */ b lbl_80346998 -lbl_8034696C: -/* 8034696C 003438CC 3C 60 80 5A */ lis r3, lbl_805A53EC@ha -/* 80346970 003438D0 38 A0 40 00 */ li r5, 0x4000 -/* 80346974 003438D4 38 C3 53 EC */ addi r6, r3, lbl_805A53EC@l -/* 80346978 003438D8 A0 66 00 32 */ lhz r3, 0x32(r6) -/* 8034697C 003438DC 88 06 00 4C */ lbz r0, 0x4c(r6) -/* 80346980 003438E0 38 83 C0 00 */ addi r4, r3, -16384 -/* 80346984 003438E4 20 63 40 00 */ subfic r3, r3, 0x4000 -/* 80346988 003438E8 7C 83 1B 78 */ or r3, r4, r3 -/* 8034698C 003438EC B0 A6 00 36 */ sth r5, 0x36(r6) -/* 80346990 003438F0 50 60 1F 7A */ rlwimi r0, r3, 3, 0x1d, 0x1d -/* 80346994 003438F4 98 06 00 4C */ stb r0, 0x4c(r6) -lbl_80346998: -/* 80346998 003438F8 28 1E 00 01 */ cmplwi r30, 1 -/* 8034699C 003438FC 41 80 00 A8 */ blt lbl_80346A44 -/* 803469A0 00343900 88 8D A8 16 */ lbz r4, lbl_805A93D6@sda21(r13) -/* 803469A4 00343904 3C 60 80 5A */ lis r3, lbl_805A53EC@ha -/* 803469A8 00343908 39 03 53 EC */ addi r8, r3, lbl_805A53EC@l -/* 803469AC 0034390C 57 E7 00 3C */ rlwinm r7, r31, 0, 0, 0x1e -/* 803469B0 00343910 2C 04 00 00 */ cmpwi r4, 0 -/* 803469B4 00343914 A1 28 00 30 */ lhz r9, 0x30(r8) -/* 803469B8 00343918 41 82 00 0C */ beq lbl_803469C4 -/* 803469BC 0034391C 54 80 1D 78 */ rlwinm r0, r4, 3, 0x15, 0x1c -/* 803469C0 00343920 7F E7 03 78 */ or r7, r31, r0 -lbl_803469C4: -/* 803469C4 00343924 3C 60 80 5A */ lis r3, lbl_805A53EC@ha -/* 803469C8 00343928 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 803469CC 0034392C 38 C3 53 EC */ addi r6, r3, lbl_805A53EC@l -/* 803469D0 00343930 7C A7 48 50 */ subf r5, r7, r9 -/* 803469D4 00343934 7C 89 38 50 */ subf r4, r9, r7 -/* 803469D8 00343938 88 66 00 4C */ lbz r3, 0x4c(r6) -/* 803469DC 0034393C 7C A4 23 78 */ or r4, r5, r4 -/* 803469E0 00343940 B0 E8 00 34 */ sth r7, 0x34(r8) -/* 803469E4 00343944 50 83 17 BC */ rlwimi r3, r4, 2, 0x1e, 0x1e -/* 803469E8 00343948 98 66 00 4C */ stb r3, 0x4c(r6) -/* 803469EC 0034394C 41 82 00 2C */ beq lbl_80346A18 -/* 803469F0 00343950 80 A2 CB BC */ lwz r5, lbl_805AE8DC@sda21(r2) -/* 803469F4 00343954 80 06 00 40 */ lwz r0, 0x40(r6) -/* 803469F8 00343958 7C 05 00 40 */ cmplw r5, r0 -/* 803469FC 0034395C 41 82 00 74 */ beq lbl_80346A70 -/* 80346A00 00343960 90 A6 00 40 */ stw r5, 0x40(r6) -/* 80346A04 00343964 38 81 00 0C */ addi r4, r1, 0xc -/* 80346A08 00343968 38 60 00 04 */ li r3, 4 -/* 80346A0C 0034396C 90 A1 00 0C */ stw r5, 0xc(r1) -/* 80346A10 00343970 48 03 30 2D */ bl GXSetChanMatColor -/* 80346A14 00343974 48 00 00 5C */ b lbl_80346A70 -lbl_80346A18: -/* 80346A18 00343978 80 A6 00 38 */ lwz r5, 0x38(r6) -/* 80346A1C 0034397C 80 06 00 40 */ lwz r0, 0x40(r6) -/* 80346A20 00343980 90 A1 00 28 */ stw r5, 0x28(r1) -/* 80346A24 00343984 7C 05 00 40 */ cmplw r5, r0 -/* 80346A28 00343988 41 82 00 48 */ beq lbl_80346A70 -/* 80346A2C 0034398C 90 A6 00 40 */ stw r5, 0x40(r6) -/* 80346A30 00343990 38 81 00 08 */ addi r4, r1, 8 -/* 80346A34 00343994 38 60 00 04 */ li r3, 4 -/* 80346A38 00343998 90 A1 00 08 */ stw r5, 8(r1) -/* 80346A3C 0034399C 48 03 30 01 */ bl GXSetChanMatColor -/* 80346A40 003439A0 48 00 00 30 */ b lbl_80346A70 -lbl_80346A44: -/* 80346A44 003439A4 3C 60 80 5A */ lis r3, lbl_805A53EC@ha -/* 80346A48 003439A8 38 A0 40 00 */ li r5, 0x4000 -/* 80346A4C 003439AC 38 C3 53 EC */ addi r6, r3, lbl_805A53EC@l -/* 80346A50 003439B0 A0 66 00 30 */ lhz r3, 0x30(r6) -/* 80346A54 003439B4 88 06 00 4C */ lbz r0, 0x4c(r6) -/* 80346A58 003439B8 38 83 C0 00 */ addi r4, r3, -16384 -/* 80346A5C 003439BC 20 63 40 00 */ subfic r3, r3, 0x4000 -/* 80346A60 003439C0 7C 83 1B 78 */ or r3, r4, r3 -/* 80346A64 003439C4 B0 A6 00 34 */ sth r5, 0x34(r6) -/* 80346A68 003439C8 50 60 17 BC */ rlwimi r0, r3, 2, 0x1e, 0x1e -/* 80346A6C 003439CC 98 06 00 4C */ stb r0, 0x4c(r6) -lbl_80346A70: -/* 80346A70 003439D0 7F C3 F3 78 */ mr r3, r30 -lbl_80346A74: -/* 80346A74 003439D4 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80346A78 003439D8 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 80346A7C 003439DC 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 80346A80 003439E0 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 80346A84 003439E4 7C 08 03 A6 */ mtlr r0 -/* 80346A88 003439E8 38 21 00 40 */ addi r1, r1, 0x40 -/* 80346A8C 003439EC 4E 80 00 20 */ blr - -.global SetCurrentBlack__13CCubeMaterialCFv -SetCurrentBlack__13CCubeMaterialCFv: -/* 80346A90 003439F0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80346A94 003439F4 7C 08 02 A6 */ mflr r0 -/* 80346A98 003439F8 90 01 00 14 */ stw r0, 0x14(r1) -/* 80346A9C 003439FC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80346AA0 00343A00 93 C1 00 08 */ stw r30, 8(r1) -/* 80346AA4 00343A04 80 83 00 00 */ lwz r4, 0(r3) -/* 80346AA8 00343A08 80 64 00 04 */ lwz r3, 4(r4) -/* 80346AAC 00343A0C 80 04 00 00 */ lwz r0, 0(r4) -/* 80346AB0 00343A10 54 63 10 3A */ slwi r3, r3, 2 -/* 80346AB4 00343A14 7C 64 1A 14 */ add r3, r4, r3 -/* 80346AB8 00343A18 54 00 06 B7 */ rlwinm. r0, r0, 0, 0x1a, 0x1b -/* 80346ABC 00343A1C 83 C3 00 08 */ lwz r30, 8(r3) -/* 80346AC0 00343A20 41 82 00 40 */ beq lbl_80346B00 -/* 80346AC4 00343A24 3C 60 80 5A */ lis r3, lbl_805A53EC@ha -/* 80346AC8 00343A28 3B E3 53 EC */ addi r31, r3, lbl_805A53EC@l -/* 80346ACC 00343A2C A0 1F 00 56 */ lhz r0, 0x56(r31) -/* 80346AD0 00343A30 28 00 00 21 */ cmplwi r0, 0x21 -/* 80346AD4 00343A34 41 82 00 64 */ beq lbl_80346B38 -/* 80346AD8 00343A38 38 60 00 21 */ li r3, 0x21 -/* 80346ADC 00343A3C 4B D6 D8 9D */ bl update_fog__3CGXFUi -/* 80346AE0 00343A40 38 00 00 21 */ li r0, 0x21 -/* 80346AE4 00343A44 38 60 00 01 */ li r3, 1 -/* 80346AE8 00343A48 B0 1F 00 56 */ sth r0, 0x56(r31) -/* 80346AEC 00343A4C 38 80 00 00 */ li r4, 0 -/* 80346AF0 00343A50 38 A0 00 01 */ li r5, 1 -/* 80346AF4 00343A54 38 C0 00 00 */ li r6, 0 -/* 80346AF8 00343A58 48 03 53 B5 */ bl GXSetBlendMode -/* 80346AFC 00343A5C 48 00 00 3C */ b lbl_80346B38 -lbl_80346B00: -/* 80346B00 00343A60 3C 60 80 5A */ lis r3, lbl_805A53EC@ha -/* 80346B04 00343A64 3B E3 53 EC */ addi r31, r3, lbl_805A53EC@l -/* 80346B08 00343A68 A0 1F 00 56 */ lhz r0, 0x56(r31) -/* 80346B0C 00343A6C 28 00 00 05 */ cmplwi r0, 5 -/* 80346B10 00343A70 41 82 00 28 */ beq lbl_80346B38 -/* 80346B14 00343A74 38 60 00 05 */ li r3, 5 -/* 80346B18 00343A78 4B D6 D8 61 */ bl update_fog__3CGXFUi -/* 80346B1C 00343A7C 38 00 00 05 */ li r0, 5 -/* 80346B20 00343A80 38 60 00 01 */ li r3, 1 -/* 80346B24 00343A84 B0 1F 00 56 */ sth r0, 0x56(r31) -/* 80346B28 00343A88 38 80 00 01 */ li r4, 1 -/* 80346B2C 00343A8C 38 A0 00 00 */ li r5, 0 -/* 80346B30 00343A90 38 C0 00 00 */ li r6, 0 -/* 80346B34 00343A94 48 03 53 79 */ bl GXSetBlendMode -lbl_80346B38: -/* 80346B38 00343A98 7F C3 F3 78 */ mr r3, r30 -/* 80346B3C 00343A9C 4B FC 13 C1 */ bl SetVtxDescv_Compressed__3CGXFUi -/* 80346B40 00343AA0 88 0D A9 99 */ lbz r0, lbl_805A9559@sda21(r13) -/* 80346B44 00343AA4 38 E0 00 0F */ li r7, 0xf -/* 80346B48 00343AA8 28 00 00 00 */ cmplwi r0, 0 -/* 80346B4C 00343AAC 41 82 00 08 */ beq lbl_80346B54 -/* 80346B50 00343AB0 38 E0 00 0C */ li r7, 0xc -lbl_80346B54: -/* 80346B54 00343AB4 3C 60 80 5A */ lis r3, lbl_805A53EC@ha -/* 80346B58 00343AB8 54 E4 7B 20 */ rlwinm r4, r7, 0xf, 0xc, 0x10 -/* 80346B5C 00343ABC 3B E3 53 EC */ addi r31, r3, lbl_805A53EC@l -/* 80346B60 00343AC0 80 1F 00 68 */ lwz r0, 0x68(r31) -/* 80346B64 00343AC4 60 83 3D EF */ ori r3, r4, 0x3def -/* 80346B68 00343AC8 7C 03 00 40 */ cmplw r3, r0 -/* 80346B6C 00343ACC 41 82 00 1C */ beq lbl_80346B88 -/* 80346B70 00343AD0 90 7F 00 68 */ stw r3, 0x68(r31) -/* 80346B74 00343AD4 38 60 00 00 */ li r3, 0 -/* 80346B78 00343AD8 38 80 00 0F */ li r4, 0xf -/* 80346B7C 00343ADC 38 A0 00 0F */ li r5, 0xf -/* 80346B80 00343AE0 38 C0 00 0F */ li r6, 0xf -/* 80346B84 00343AE4 48 03 49 21 */ bl GXSetTevColorIn -lbl_80346B88: -/* 80346B88 00343AE8 88 0D A9 99 */ lbz r0, lbl_805A9559@sda21(r13) -/* 80346B8C 00343AEC 38 E0 00 07 */ li r7, 7 -/* 80346B90 00343AF0 28 00 00 00 */ cmplwi r0, 0 -/* 80346B94 00343AF4 41 82 00 08 */ beq lbl_80346B9C -/* 80346B98 00343AF8 38 E0 00 06 */ li r7, 6 -lbl_80346B9C: -/* 80346B9C 00343AFC 54 E3 7B 20 */ rlwinm r3, r7, 0xf, 0xc, 0x10 -/* 80346BA0 00343B00 80 1F 00 6C */ lwz r0, 0x6c(r31) -/* 80346BA4 00343B04 60 63 1C E7 */ ori r3, r3, 0x1ce7 -/* 80346BA8 00343B08 7C 03 00 40 */ cmplw r3, r0 -/* 80346BAC 00343B0C 41 82 00 1C */ beq lbl_80346BC8 -/* 80346BB0 00343B10 90 7F 00 6C */ stw r3, 0x6c(r31) -/* 80346BB4 00343B14 38 60 00 00 */ li r3, 0 -/* 80346BB8 00343B18 38 80 00 07 */ li r4, 7 -/* 80346BBC 00343B1C 38 A0 00 07 */ li r5, 7 -/* 80346BC0 00343B20 38 C0 00 07 */ li r6, 7 -/* 80346BC4 00343B24 48 03 49 25 */ bl GXSetTevAlphaIn -lbl_80346BC8: -/* 80346BC8 00343B28 88 1F 00 81 */ lbz r0, 0x81(r31) -/* 80346BCC 00343B2C 2C 00 00 00 */ cmpwi r0, 0 -/* 80346BD0 00343B30 41 82 00 18 */ beq lbl_80346BE8 -/* 80346BD4 00343B34 38 00 00 00 */ li r0, 0 -/* 80346BD8 00343B38 38 60 00 00 */ li r3, 0 -/* 80346BDC 00343B3C 98 1F 00 81 */ stb r0, 0x81(r31) -/* 80346BE0 00343B40 38 80 00 00 */ li r4, 0 -/* 80346BE4 00343B44 48 03 4B E1 */ bl GXSetTevKAlphaSel -lbl_80346BE8: -/* 80346BE8 00343B48 3C 60 80 5A */ lis r3, lbl_805A53EC@ha -/* 80346BEC 00343B4C 38 A3 53 EC */ addi r5, r3, lbl_805A53EC@l -/* 80346BF0 00343B50 80 65 02 28 */ lwz r3, 0x228(r5) -/* 80346BF4 00343B54 3C 03 FF E2 */ addis r0, r3, 0xffe2 -/* 80346BF8 00343B58 28 00 94 01 */ cmplwi r0, 0x9401 -/* 80346BFC 00343B5C 41 82 00 2C */ beq lbl_80346C28 -/* 80346C00 00343B60 3C 80 00 1F */ lis r4, 0x001E9401@ha -/* 80346C04 00343B64 38 60 00 00 */ li r3, 0 -/* 80346C08 00343B68 38 04 94 01 */ addi r0, r4, 0x001E9401@l -/* 80346C0C 00343B6C 38 80 00 01 */ li r4, 1 -/* 80346C10 00343B70 90 05 02 28 */ stw r0, 0x228(r5) -/* 80346C14 00343B74 38 A0 00 00 */ li r5, 0 -/* 80346C18 00343B78 38 C0 00 3C */ li r6, 0x3c -/* 80346C1C 00343B7C 38 E0 00 00 */ li r7, 0 -/* 80346C20 00343B80 39 00 00 7D */ li r8, 0x7d -/* 80346C24 00343B84 48 03 13 71 */ bl GXSetTexCoordGen2 -lbl_80346C28: -/* 80346C28 00343B88 38 60 00 00 */ li r3, 0 -/* 80346C2C 00343B8C 4B FC 10 25 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID -/* 80346C30 00343B90 80 7F 00 7C */ lwz r3, 0x7c(r31) -/* 80346C34 00343B94 3C 03 FF 01 */ addis r0, r3, 0xff01 -/* 80346C38 00343B98 28 00 FF FF */ cmplwi r0, 0xffff -/* 80346C3C 00343B9C 41 82 00 24 */ beq lbl_80346C60 -/* 80346C40 00343BA0 3C 80 01 00 */ lis r4, 0x00FFFFFF@ha -/* 80346C44 00343BA4 38 60 00 00 */ li r3, 0 -/* 80346C48 00343BA8 38 04 FF FF */ addi r0, r4, 0x00FFFFFF@l -/* 80346C4C 00343BAC 38 80 00 FF */ li r4, 0xff -/* 80346C50 00343BB0 90 1F 00 7C */ stw r0, 0x7c(r31) -/* 80346C54 00343BB4 38 A0 00 FF */ li r5, 0xff -/* 80346C58 00343BB8 38 C0 00 FF */ li r6, 0xff -/* 80346C5C 00343BBC 48 03 4D 99 */ bl GXSetTevOrder -lbl_80346C60: -/* 80346C60 00343BC0 3C 60 80 5A */ lis r3, lbl_805A53EC@ha -/* 80346C64 00343BC4 38 83 53 EC */ addi r4, r3, lbl_805A53EC@l -/* 80346C68 00343BC8 88 04 00 50 */ lbz r0, 0x50(r4) -/* 80346C6C 00343BCC 28 00 00 01 */ cmplwi r0, 1 -/* 80346C70 00343BD0 41 82 00 14 */ beq lbl_80346C84 -/* 80346C74 00343BD4 38 00 00 01 */ li r0, 1 -/* 80346C78 00343BD8 38 60 00 01 */ li r3, 1 -/* 80346C7C 00343BDC 98 04 00 50 */ stb r0, 0x50(r4) -/* 80346C80 00343BE0 48 03 4F 4D */ bl GXSetNumTevStages -lbl_80346C84: -/* 80346C84 00343BE4 3C 60 80 5A */ lis r3, lbl_805A53EC@ha -/* 80346C88 00343BE8 38 E0 00 00 */ li r7, 0 -/* 80346C8C 00343BEC 38 C3 53 EC */ addi r6, r3, lbl_805A53EC@l -/* 80346C90 00343BF0 88 A6 00 4D */ lbz r5, 0x4d(r6) -/* 80346C94 00343BF4 88 06 00 4F */ lbz r0, 0x4f(r6) -/* 80346C98 00343BF8 7C 85 00 D0 */ neg r4, r5 -/* 80346C9C 00343BFC 88 66 00 4C */ lbz r3, 0x4c(r6) -/* 80346CA0 00343C00 7C 84 2B 78 */ or r4, r4, r5 -/* 80346CA4 00343C04 28 00 00 01 */ cmplwi r0, 1 -/* 80346CA8 00343C08 50 83 0F FE */ rlwimi r3, r4, 1, 0x1f, 0x1f -/* 80346CAC 00343C0C 98 E6 00 4E */ stb r7, 0x4e(r6) -/* 80346CB0 00343C10 98 66 00 4C */ stb r3, 0x4c(r6) -/* 80346CB4 00343C14 41 82 00 14 */ beq lbl_80346CC8 -/* 80346CB8 00343C18 38 00 00 01 */ li r0, 1 -/* 80346CBC 00343C1C 38 60 00 01 */ li r3, 1 -/* 80346CC0 00343C20 98 06 00 4F */ stb r0, 0x4f(r6) -/* 80346CC4 00343C24 48 03 15 A1 */ bl GXSetNumTexGens -lbl_80346CC8: -/* 80346CC8 00343C28 3C 60 80 5A */ lis r3, lbl_805A53EC@ha -/* 80346CCC 00343C2C 38 83 53 EC */ addi r4, r3, lbl_805A53EC@l -/* 80346CD0 00343C30 88 04 00 51 */ lbz r0, 0x51(r4) -/* 80346CD4 00343C34 28 00 00 00 */ cmplwi r0, 0 -/* 80346CD8 00343C38 41 82 00 14 */ beq lbl_80346CEC -/* 80346CDC 00343C3C 38 00 00 00 */ li r0, 0 -/* 80346CE0 00343C40 38 60 00 00 */ li r3, 0 -/* 80346CE4 00343C44 98 04 00 51 */ stb r0, 0x51(r4) -/* 80346CE8 00343C48 48 03 45 D1 */ bl GXSetNumIndStages -lbl_80346CEC: -/* 80346CEC 00343C4C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80346CF0 00343C50 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80346CF4 00343C54 83 C1 00 08 */ lwz r30, 8(r1) -/* 80346CF8 00343C58 7C 08 03 A6 */ mtlr r0 -/* 80346CFC 00343C5C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80346D00 00343C60 4E 80 00 20 */ blr - -.global EnsureTevsDirect__13CCubeMaterialFv -EnsureTevsDirect__13CCubeMaterialFv: -/* 80346D04 00343C64 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80346D08 00343C68 7C 08 02 A6 */ mflr r0 -/* 80346D0C 00343C6C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80346D10 00343C70 80 0D 9D 74 */ lwz r0, lbl_805A8934@sda21(r13) -/* 80346D14 00343C74 2C 00 FF FF */ cmpwi r0, -1 -/* 80346D18 00343C78 41 82 00 60 */ beq lbl_80346D78 -/* 80346D1C 00343C7C 3C 60 80 5A */ lis r3, lbl_805A53EC@ha -/* 80346D20 00343C80 38 83 53 EC */ addi r4, r3, lbl_805A53EC@l -/* 80346D24 00343C84 88 04 00 51 */ lbz r0, 0x51(r4) -/* 80346D28 00343C88 28 00 00 00 */ cmplwi r0, 0 -/* 80346D2C 00343C8C 41 82 00 14 */ beq lbl_80346D40 -/* 80346D30 00343C90 38 00 00 00 */ li r0, 0 -/* 80346D34 00343C94 38 60 00 00 */ li r3, 0 -/* 80346D38 00343C98 98 04 00 51 */ stb r0, 0x51(r4) -/* 80346D3C 00343C9C 48 03 45 7D */ bl GXSetNumIndStages -lbl_80346D40: -/* 80346D40 00343CA0 80 6D 9D 74 */ lwz r3, lbl_805A8934@sda21(r13) -/* 80346D44 00343CA4 3C 80 80 5A */ lis r4, lbl_805A53EC@ha -/* 80346D48 00343CA8 38 04 53 EC */ addi r0, r4, lbl_805A53EC@l -/* 80346D4C 00343CAC 1C 83 00 1C */ mulli r4, r3, 0x1c -/* 80346D50 00343CB0 7C 80 22 14 */ add r4, r0, r4 -/* 80346D54 00343CB4 38 84 00 68 */ addi r4, r4, 0x68 -/* 80346D58 00343CB8 80 04 00 10 */ lwz r0, 0x10(r4) -/* 80346D5C 00343CBC 28 00 00 00 */ cmplwi r0, 0 -/* 80346D60 00343CC0 41 82 00 10 */ beq lbl_80346D70 -/* 80346D64 00343CC4 38 00 00 00 */ li r0, 0 -/* 80346D68 00343CC8 90 04 00 10 */ stw r0, 0x10(r4) -/* 80346D6C 00343CCC 48 03 45 75 */ bl GXSetTevDirect -lbl_80346D70: -/* 80346D70 00343CD0 38 00 FF FF */ li r0, -1 -/* 80346D74 00343CD4 90 0D 9D 74 */ stw r0, lbl_805A8934@sda21(r13) -lbl_80346D78: -/* 80346D78 00343CD8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80346D7C 00343CDC 7C 08 03 A6 */ mtlr r0 -/* 80346D80 00343CE0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80346D84 00343CE4 4E 80 00 20 */ blr - -.global HandleReflection__13CCubeMaterialFb11_GXTexMapIDiUiUiUiUiRUiRUi -HandleReflection__13CCubeMaterialFb11_GXTexMapIDiUiUiUiUiRUiRUi: -/* 80346D88 00343CE8 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80346D8C 00343CEC 7C 08 02 A6 */ mflr r0 -/* 80346D90 00343CF0 90 01 00 44 */ stw r0, 0x44(r1) -/* 80346D94 00343CF4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80346D98 00343CF8 BE C1 00 18 */ stmw r22, 0x18(r1) -/* 80346D9C 00343CFC 7C DD 33 78 */ mr r29, r6 -/* 80346DA0 00343D00 83 41 00 48 */ lwz r26, 0x48(r1) -/* 80346DA4 00343D04 7C 96 23 78 */ mr r22, r4 -/* 80346DA8 00343D08 7C B7 2B 78 */ mr r23, r5 -/* 80346DAC 00343D0C 7C FC 3B 78 */ mr r28, r7 -/* 80346DB0 00343D10 7D 18 43 78 */ mr r24, r8 -/* 80346DB4 00343D14 7D 3B 4B 78 */ mr r27, r9 -/* 80346DB8 00343D18 7D 59 53 78 */ mr r25, r10 -/* 80346DBC 00343D1C 3B E0 00 00 */ li r31, 0 -/* 80346DC0 00343D20 41 82 01 1C */ beq lbl_80346EDC -/* 80346DC4 00343D24 1C 9D 00 1C */ mulli r4, r29, 0x1c -/* 80346DC8 00343D28 3C 60 80 5A */ lis r3, lbl_805A53EC@ha -/* 80346DCC 00343D2C 3B C0 00 06 */ li r30, 6 -/* 80346DD0 00343D30 38 03 53 EC */ addi r0, r3, lbl_805A53EC@l -/* 80346DD4 00343D34 7C 60 22 14 */ add r3, r0, r4 -/* 80346DD8 00343D38 3B E3 00 68 */ addi r31, r3, 0x68 -/* 80346DDC 00343D3C 80 63 00 68 */ lwz r3, 0x68(r3) -/* 80346DE0 00343D40 3C 03 FF F9 */ addis r0, r3, 0xfff9 -/* 80346DE4 00343D44 28 00 B8 CF */ cmplwi r0, 0xb8cf -/* 80346DE8 00343D48 41 82 00 28 */ beq lbl_80346E10 -/* 80346DEC 00343D4C 3C 80 00 08 */ lis r4, 0x0007B8CF@ha -/* 80346DF0 00343D50 7F A3 EB 78 */ mr r3, r29 -/* 80346DF4 00343D54 38 04 B8 CF */ addi r0, r4, 0x0007B8CF@l -/* 80346DF8 00343D58 38 80 00 0F */ li r4, 0xf -/* 80346DFC 00343D5C 90 1F 00 00 */ stw r0, 0(r31) -/* 80346E00 00343D60 38 A0 00 06 */ li r5, 6 -/* 80346E04 00343D64 38 C0 00 0E */ li r6, 0xe -/* 80346E08 00343D68 38 E0 00 0F */ li r7, 0xf -/* 80346E0C 00343D6C 48 03 46 99 */ bl GXSetTevColorIn -lbl_80346E10: -/* 80346E10 00343D70 80 7F 00 04 */ lwz r3, 4(r31) -/* 80346E14 00343D74 3C 03 FF FF */ addis r0, r3, 0xffff -/* 80346E18 00343D78 28 00 9C E7 */ cmplwi r0, 0x9ce7 -/* 80346E1C 00343D7C 41 82 00 28 */ beq lbl_80346E44 -/* 80346E20 00343D80 3C 80 00 02 */ lis r4, 0x00019CE7@ha -/* 80346E24 00343D84 7F A3 EB 78 */ mr r3, r29 -/* 80346E28 00343D88 38 04 9C E7 */ addi r0, r4, 0x00019CE7@l -/* 80346E2C 00343D8C 38 80 00 07 */ li r4, 7 -/* 80346E30 00343D90 90 1F 00 04 */ stw r0, 4(r31) -/* 80346E34 00343D94 38 A0 00 07 */ li r5, 7 -/* 80346E38 00343D98 38 C0 00 07 */ li r6, 7 -/* 80346E3C 00343D9C 38 E0 00 03 */ li r7, 3 -/* 80346E40 00343DA0 48 03 46 A9 */ bl GXSetTevAlphaIn -lbl_80346E44: -/* 80346E44 00343DA4 80 1F 00 08 */ lwz r0, 8(r31) -/* 80346E48 00343DA8 28 00 07 00 */ cmplwi r0, 0x700 -/* 80346E4C 00343DAC 41 82 00 28 */ beq lbl_80346E74 -/* 80346E50 00343DB0 38 00 07 00 */ li r0, 0x700 -/* 80346E54 00343DB4 7F A3 EB 78 */ mr r3, r29 -/* 80346E58 00343DB8 90 1F 00 08 */ stw r0, 8(r31) -/* 80346E5C 00343DBC 38 80 00 00 */ li r4, 0 -/* 80346E60 00343DC0 38 A0 00 00 */ li r5, 0 -/* 80346E64 00343DC4 38 C0 00 00 */ li r6, 0 -/* 80346E68 00343DC8 38 E0 00 01 */ li r7, 1 -/* 80346E6C 00343DCC 39 00 00 03 */ li r8, 3 -/* 80346E70 00343DD0 48 03 46 BD */ bl GXSetTevColorOp -lbl_80346E74: -/* 80346E74 00343DD4 80 1F 00 0C */ lwz r0, 0xc(r31) -/* 80346E78 00343DD8 28 00 07 00 */ cmplwi r0, 0x700 -/* 80346E7C 00343DDC 41 82 00 28 */ beq lbl_80346EA4 -/* 80346E80 00343DE0 38 00 07 00 */ li r0, 0x700 -/* 80346E84 00343DE4 7F A3 EB 78 */ mr r3, r29 -/* 80346E88 00343DE8 90 1F 00 0C */ stw r0, 0xc(r31) -/* 80346E8C 00343DEC 38 80 00 00 */ li r4, 0 -/* 80346E90 00343DF0 38 A0 00 00 */ li r5, 0 -/* 80346E94 00343DF4 38 C0 00 00 */ li r6, 0 -/* 80346E98 00343DF8 38 E0 00 01 */ li r7, 1 -/* 80346E9C 00343DFC 39 00 00 03 */ li r8, 3 -/* 80346EA0 00343E00 48 03 46 F5 */ bl GXSetTevAlphaOp -lbl_80346EA4: -/* 80346EA4 00343E04 80 7F 00 14 */ lwz r3, 0x14(r31) -/* 80346EA8 00343E08 3C 03 FF FA */ addis r0, r3, 0xfffa -/* 80346EAC 00343E0C 28 00 FF FF */ cmplwi r0, 0xffff -/* 80346EB0 00343E10 41 82 00 24 */ beq lbl_80346ED4 -/* 80346EB4 00343E14 3C 80 00 07 */ lis r4, 0x0006FFFF@ha -/* 80346EB8 00343E18 7F A3 EB 78 */ mr r3, r29 -/* 80346EBC 00343E1C 38 04 FF FF */ addi r0, r4, 0x0006FFFF@l -/* 80346EC0 00343E20 38 80 00 FF */ li r4, 0xff -/* 80346EC4 00343E24 90 1F 00 14 */ stw r0, 0x14(r31) -/* 80346EC8 00343E28 38 A0 00 FF */ li r5, 0xff -/* 80346ECC 00343E2C 38 C0 00 06 */ li r6, 6 -/* 80346ED0 00343E30 48 03 4B 25 */ bl GXSetTevOrder -lbl_80346ED4: -/* 80346ED4 00343E34 3B E0 00 01 */ li r31, 1 -/* 80346ED8 00343E38 48 00 00 08 */ b lbl_80346EE0 -lbl_80346EDC: -/* 80346EDC 00343E3C 3B C0 00 0E */ li r30, 0xe -lbl_80346EE0: -/* 80346EE0 00343E40 C0 2D A9 90 */ lfs f1, lbl_805A9550@sda21(r13) -/* 80346EE4 00343E44 38 80 00 FF */ li r4, 0xff -/* 80346EE8 00343E48 38 00 00 00 */ li r0, 0 -/* 80346EEC 00343E4C 98 81 00 0C */ stb r4, 0xc(r1) -/* 80346EF0 00343E50 FC 40 08 90 */ fmr f2, f1 -/* 80346EF4 00343E54 38 61 00 0C */ addi r3, r1, 0xc -/* 80346EF8 00343E58 FC 60 08 90 */ fmr f3, f1 -/* 80346EFC 00343E5C 98 01 00 0D */ stb r0, 0xd(r1) -/* 80346F00 00343E60 FC 80 08 90 */ fmr f4, f1 -/* 80346F04 00343E64 98 81 00 0E */ stb r4, 0xe(r1) -/* 80346F08 00343E68 98 81 00 0F */ stb r4, 0xf(r1) -/* 80346F0C 00343E6C 48 01 C4 91 */ bl Set__6CColorFffff -/* 80346F10 00343E70 3C 60 80 5A */ lis r3, lbl_805A53EC@ha -/* 80346F14 00343E74 57 64 10 3A */ slwi r4, r27, 2 -/* 80346F18 00343E78 38 63 53 EC */ addi r3, r3, lbl_805A53EC@l -/* 80346F1C 00343E7C 80 01 00 0C */ lwz r0, 0xc(r1) -/* 80346F20 00343E80 7C 63 22 14 */ add r3, r3, r4 -/* 80346F24 00343E84 38 83 00 58 */ addi r4, r3, 0x58 -/* 80346F28 00343E88 80 63 00 58 */ lwz r3, 0x58(r3) -/* 80346F2C 00343E8C 7C 03 00 40 */ cmplw r3, r0 -/* 80346F30 00343E90 41 82 00 18 */ beq lbl_80346F48 -/* 80346F34 00343E94 90 04 00 00 */ stw r0, 0(r4) -/* 80346F38 00343E98 7F 63 DB 78 */ mr r3, r27 -/* 80346F3C 00343E9C 38 81 00 08 */ addi r4, r1, 8 -/* 80346F40 00343EA0 90 01 00 08 */ stw r0, 8(r1) -/* 80346F44 00343EA4 48 03 47 A1 */ bl GXSetTevKColor -lbl_80346F48: -/* 80346F48 00343EA8 1C BD 00 1C */ mulli r5, r29, 0x1c -/* 80346F4C 00343EAC 3C 60 80 5A */ lis r3, lbl_805A53EC@ha -/* 80346F50 00343EB0 38 9B 00 0C */ addi r4, r27, 0xc -/* 80346F54 00343EB4 38 03 53 EC */ addi r0, r3, lbl_805A53EC@l -/* 80346F58 00343EB8 7C 60 2A 14 */ add r3, r0, r5 -/* 80346F5C 00343EBC 38 63 00 68 */ addi r3, r3, 0x68 -/* 80346F60 00343EC0 88 03 00 18 */ lbz r0, 0x18(r3) -/* 80346F64 00343EC4 7C 04 00 00 */ cmpw r4, r0 -/* 80346F68 00343EC8 41 82 00 10 */ beq lbl_80346F78 -/* 80346F6C 00343ECC 98 83 00 18 */ stb r4, 0x18(r3) -/* 80346F70 00343ED0 7F A3 EB 78 */ mr r3, r29 -/* 80346F74 00343ED4 48 03 47 E5 */ bl GXSetTevKColorSel -lbl_80346F78: -/* 80346F78 00343ED8 80 6D A5 F0 */ lwz r3, lbl_805A91B0@sda21(r13) -/* 80346F7C 00343EDC 7F BD FA 14 */ add r29, r29, r31 -/* 80346F80 00343EE0 4B F7 55 C1 */ bl GetRealReflection__13CCubeRendererFv -/* 80346F84 00343EE4 7F 84 E3 78 */ mr r4, r28 -/* 80346F88 00343EE8 38 A0 00 00 */ li r5, 0 -/* 80346F8C 00343EEC 4B FC 87 B1 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode -/* 80346F90 00343EF0 2C 16 00 FF */ cmpwi r22, 0xff -/* 80346F94 00343EF4 41 82 00 C8 */ beq lbl_8034705C -/* 80346F98 00343EF8 7F 04 C3 78 */ mr r4, r24 -/* 80346F9C 00343EFC 7E C5 B3 78 */ mr r5, r22 -/* 80346FA0 00343F00 3B 78 00 01 */ addi r27, r24, 1 -/* 80346FA4 00343F04 38 60 00 00 */ li r3, 0 -/* 80346FA8 00343F08 48 03 41 FD */ bl GXSetIndTexOrder -/* 80346FAC 00343F0C 3C 60 80 5A */ lis r3, lbl_805A53EC@ha -/* 80346FB0 00343F10 57 04 10 3A */ slwi r4, r24, 2 -/* 80346FB4 00343F14 38 03 53 EC */ addi r0, r3, lbl_805A53EC@l -/* 80346FB8 00343F18 7C 60 22 14 */ add r3, r0, r4 -/* 80346FBC 00343F1C 38 A3 02 28 */ addi r5, r3, 0x228 -/* 80346FC0 00343F20 80 63 02 28 */ lwz r3, 0x228(r3) -/* 80346FC4 00343F24 3C 03 FF F7 */ addis r0, r3, 0xfff7 -/* 80346FC8 00343F28 28 00 4C 00 */ cmplwi r0, 0x4c00 -/* 80346FCC 00343F2C 41 82 00 2C */ beq lbl_80346FF8 -/* 80346FD0 00343F30 3C 80 00 09 */ lis r4, 0x00094C00@ha -/* 80346FD4 00343F34 7F 03 C3 78 */ mr r3, r24 -/* 80346FD8 00343F38 38 04 4C 00 */ addi r0, r4, 0x00094C00@l -/* 80346FDC 00343F3C 38 80 00 00 */ li r4, 0 -/* 80346FE0 00343F40 90 05 00 00 */ stw r0, 0(r5) -/* 80346FE4 00343F44 38 A0 00 00 */ li r5, 0 -/* 80346FE8 00343F48 38 C0 00 30 */ li r6, 0x30 -/* 80346FEC 00343F4C 38 E0 00 01 */ li r7, 1 -/* 80346FF0 00343F50 39 00 00 52 */ li r8, 0x52 -/* 80346FF4 00343F54 48 03 0F A1 */ bl GXSetTexCoordGen2 -lbl_80346FF8: -/* 80346FF8 00343F58 7F A3 EB 78 */ mr r3, r29 -/* 80346FFC 00343F5C 38 80 00 00 */ li r4, 0 -/* 80347000 00343F60 38 A0 00 01 */ li r5, 1 -/* 80347004 00343F64 38 C0 00 00 */ li r6, 0 -/* 80347008 00343F68 38 E0 00 01 */ li r7, 1 -/* 8034700C 00343F6C 48 00 01 6D */ bl SetTevIndWarp__3CGXF13_GXTevStageID16_GXIndTexStageIDUcUc14_GXIndTexMtxID -/* 80347010 00343F70 7E E4 07 74 */ extsb r4, r23 -/* 80347014 00343F74 38 60 00 01 */ li r3, 1 -/* 80347018 00343F78 4B FC 0F A1 */ bl SetIndTexMtxSTPointFive__3CGXF14_GXIndTexMtxIDSc -/* 8034701C 00343F7C 80 6D 9D 74 */ lwz r3, lbl_805A8934@sda21(r13) -/* 80347020 00343F80 7C 03 E8 00 */ cmpw r3, r29 -/* 80347024 00343F84 40 81 00 30 */ ble lbl_80347054 -/* 80347028 00343F88 1C A3 00 1C */ mulli r5, r3, 0x1c -/* 8034702C 00343F8C 3C 80 80 5A */ lis r4, lbl_805A53EC@ha -/* 80347030 00343F90 38 04 53 EC */ addi r0, r4, lbl_805A53EC@l -/* 80347034 00343F94 7C 80 2A 14 */ add r4, r0, r5 -/* 80347038 00343F98 38 84 00 68 */ addi r4, r4, 0x68 -/* 8034703C 00343F9C 80 04 00 10 */ lwz r0, 0x10(r4) -/* 80347040 00343FA0 28 00 00 00 */ cmplwi r0, 0 -/* 80347044 00343FA4 41 82 00 10 */ beq lbl_80347054 -/* 80347048 00343FA8 38 00 00 00 */ li r0, 0 -/* 8034704C 00343FAC 90 04 00 10 */ stw r0, 0x10(r4) -/* 80347050 00343FB0 48 03 42 91 */ bl GXSetTevDirect -lbl_80347054: -/* 80347054 00343FB4 93 AD 9D 74 */ stw r29, lbl_805A8934@sda21(r13) -/* 80347058 00343FB8 48 00 00 08 */ b lbl_80347060 -lbl_8034705C: -/* 8034705C 00343FBC 7F 1B C3 78 */ mr r27, r24 -lbl_80347060: -/* 80347060 00343FC0 3C 60 80 5A */ lis r3, lbl_805A53EC@ha -/* 80347064 00343FC4 57 64 10 3A */ slwi r4, r27, 2 -/* 80347068 00343FC8 38 03 53 EC */ addi r0, r3, lbl_805A53EC@l -/* 8034706C 00343FCC 7C 60 22 14 */ add r3, r0, r4 -/* 80347070 00343FD0 38 A3 02 28 */ addi r5, r3, 0x228 -/* 80347074 00343FD4 80 63 02 28 */ lwz r3, 0x228(r3) -/* 80347078 00343FD8 3C 03 FF E2 */ addis r0, r3, 0xffe2 -/* 8034707C 00343FDC 28 00 8E 00 */ cmplwi r0, 0x8e00 -/* 80347080 00343FE0 41 82 00 2C */ beq lbl_803470AC -/* 80347084 00343FE4 3C 80 00 1F */ lis r4, 0x001E8E00@ha -/* 80347088 00343FE8 7F 63 DB 78 */ mr r3, r27 -/* 8034708C 00343FEC 38 04 8E 00 */ addi r0, r4, 0x001E8E00@l -/* 80347090 00343FF0 38 80 00 00 */ li r4, 0 -/* 80347094 00343FF4 90 05 00 00 */ stw r0, 0(r5) -/* 80347098 00343FF8 38 A0 00 00 */ li r5, 0 -/* 8034709C 00343FFC 38 C0 00 33 */ li r6, 0x33 -/* 803470A0 00344000 38 E0 00 00 */ li r7, 0 -/* 803470A4 00344004 39 00 00 7D */ li r8, 0x7d -/* 803470A8 00344008 48 03 0E ED */ bl GXSetTexCoordGen2 -lbl_803470AC: -/* 803470AC 0034400C 1C 9D 00 1C */ mulli r4, r29, 0x1c -/* 803470B0 00344010 3C 60 80 5A */ lis r3, lbl_805A53EC@ha -/* 803470B4 00344014 57 C5 2D B4 */ rlwinm r5, r30, 5, 0x16, 0x1a -/* 803470B8 00344018 38 03 53 EC */ addi r0, r3, lbl_805A53EC@l -/* 803470BC 0034401C 7C 60 22 14 */ add r3, r0, r4 -/* 803470C0 00344020 80 03 00 68 */ lwz r0, 0x68(r3) -/* 803470C4 00344024 60 A4 20 0F */ ori r4, r5, 0x200f -/* 803470C8 00344028 3A C3 00 68 */ addi r22, r3, 0x68 -/* 803470CC 0034402C 7C 04 00 40 */ cmplw r4, r0 -/* 803470D0 00344030 41 82 00 20 */ beq lbl_803470F0 -/* 803470D4 00344034 90 96 00 00 */ stw r4, 0(r22) -/* 803470D8 00344038 7F A3 EB 78 */ mr r3, r29 -/* 803470DC 0034403C 7F C5 F3 78 */ mr r5, r30 -/* 803470E0 00344040 38 80 00 0F */ li r4, 0xf -/* 803470E4 00344044 38 C0 00 08 */ li r6, 8 -/* 803470E8 00344048 38 E0 00 00 */ li r7, 0 -/* 803470EC 0034404C 48 03 43 B9 */ bl GXSetTevColorIn -lbl_803470F0: -/* 803470F0 00344050 80 16 00 04 */ lwz r0, 4(r22) -/* 803470F4 00344054 28 00 1C E7 */ cmplwi r0, 0x1ce7 -/* 803470F8 00344058 41 82 00 24 */ beq lbl_8034711C -/* 803470FC 0034405C 38 00 1C E7 */ li r0, 0x1ce7 -/* 80347100 00344060 7F A3 EB 78 */ mr r3, r29 -/* 80347104 00344064 90 16 00 04 */ stw r0, 4(r22) -/* 80347108 00344068 38 80 00 07 */ li r4, 7 -/* 8034710C 0034406C 38 A0 00 07 */ li r5, 7 -/* 80347110 00344070 38 C0 00 07 */ li r6, 7 -/* 80347114 00344074 38 E0 00 00 */ li r7, 0 -/* 80347118 00344078 48 03 43 D1 */ bl GXSetTevAlphaIn -lbl_8034711C: -/* 8034711C 0034407C 7F A3 EB 78 */ mr r3, r29 -/* 80347120 00344080 4B FC 0B 31 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID -/* 80347124 00344084 38 60 00 00 */ li r3, 0 -/* 80347128 00344088 57 80 44 2E */ rlwinm r0, r28, 8, 0x10, 0x17 -/* 8034712C 0034408C 90 7A 00 00 */ stw r3, 0(r26) -/* 80347130 00344090 53 60 06 3E */ rlwimi r0, r27, 0, 0x18, 0x1f -/* 80347134 00344094 90 79 00 00 */ stw r3, 0(r25) -/* 80347138 00344098 64 03 00 FF */ oris r3, r0, 0xff -/* 8034713C 0034409C 80 16 00 14 */ lwz r0, 0x14(r22) -/* 80347140 003440A0 7C 00 18 40 */ cmplw r0, r3 -/* 80347144 003440A4 41 82 00 1C */ beq lbl_80347160 -/* 80347148 003440A8 90 76 00 14 */ stw r3, 0x14(r22) -/* 8034714C 003440AC 7F A3 EB 78 */ mr r3, r29 -/* 80347150 003440B0 7F 64 DB 78 */ mr r4, r27 -/* 80347154 003440B4 7F 85 E3 78 */ mr r5, r28 -/* 80347158 003440B8 38 C0 00 FF */ li r6, 0xff -/* 8034715C 003440BC 48 03 48 99 */ bl GXSetTevOrder -lbl_80347160: -/* 80347160 003440C0 38 7F 00 01 */ addi r3, r31, 1 -/* 80347164 003440C4 BA C1 00 18 */ lmw r22, 0x18(r1) -/* 80347168 003440C8 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8034716C 003440CC 7C 08 03 A6 */ mtlr r0 -/* 80347170 003440D0 38 21 00 40 */ addi r1, r1, 0x40 -/* 80347174 003440D4 4E 80 00 20 */ blr - -.global SetTevIndWarp__3CGXF13_GXTevStageID16_GXIndTexStageIDUcUc14_GXIndTexMtxID -SetTevIndWarp__3CGXF13_GXTevStageID16_GXIndTexStageIDUcUc14_GXIndTexMtxID: -/* 80347178 003440D8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034717C 003440DC 7C 08 02 A6 */ mflr r0 -/* 80347180 003440E0 39 00 00 00 */ li r8, 0 -/* 80347184 003440E4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80347188 003440E8 54 C0 06 3F */ clrlwi. r0, r6, 0x18 -/* 8034718C 003440EC 41 82 00 08 */ beq lbl_80347194 -/* 80347190 003440F0 39 00 00 06 */ li r8, 6 -lbl_80347194: -/* 80347194 003440F4 1D 23 00 1C */ mulli r9, r3, 0x1c -/* 80347198 003440F8 54 A0 06 3F */ clrlwi. r0, r5, 0x18 -/* 8034719C 003440FC 3C C0 80 5A */ lis r6, lbl_805A53EC@ha -/* 803471A0 00344100 38 06 53 EC */ addi r0, r6, lbl_805A53EC@l -/* 803471A4 00344104 7C C0 4A 14 */ add r6, r0, r9 -/* 803471A8 00344108 54 89 07 BE */ clrlwi r9, r4, 0x1e -/* 803471AC 0034410C 39 66 00 68 */ addi r11, r6, 0x68 -/* 803471B0 00344110 38 00 00 00 */ li r0, 0 -/* 803471B4 00344114 41 82 00 08 */ beq lbl_803471BC -/* 803471B8 00344118 38 00 00 07 */ li r0, 7 -lbl_803471BC: -/* 803471BC 0034411C 54 00 26 76 */ rlwinm r0, r0, 4, 0x19, 0x1b -/* 803471C0 00344120 54 E6 3D 70 */ rlwinm r6, r7, 7, 0x15, 0x18 -/* 803471C4 00344124 7C 00 4B 78 */ or r0, r0, r9 -/* 803471C8 00344128 55 09 5C A8 */ rlwinm r9, r8, 0xb, 0x12, 0x14 -/* 803471CC 0034412C 7C C0 03 78 */ or r0, r6, r0 -/* 803471D0 00344130 55 0A 73 E2 */ rlwinm r10, r8, 0xe, 0xf, 0x11 -/* 803471D4 00344134 7D 26 03 78 */ or r6, r9, r0 -/* 803471D8 00344138 80 0B 00 10 */ lwz r0, 0x10(r11) -/* 803471DC 0034413C 7D 46 33 78 */ or r6, r10, r6 -/* 803471E0 00344140 7C 00 30 40 */ cmplw r0, r6 -/* 803471E4 00344144 41 82 00 30 */ beq lbl_80347214 -/* 803471E8 00344148 90 CB 00 10 */ stw r6, 0x10(r11) -/* 803471EC 0034414C 38 C0 00 00 */ li r6, 0 -/* 803471F0 00344150 54 A0 06 3F */ clrlwi. r0, r5, 0x18 -/* 803471F4 00344154 38 A0 00 00 */ li r5, 0 -/* 803471F8 00344158 90 C1 00 08 */ stw r6, 8(r1) -/* 803471FC 0034415C 90 C1 00 0C */ stw r6, 0xc(r1) -/* 80347200 00344160 41 82 00 08 */ beq lbl_80347208 -/* 80347204 00344164 38 C0 00 07 */ li r6, 7 -lbl_80347208: -/* 80347208 00344168 7D 09 43 78 */ mr r9, r8 -/* 8034720C 0034416C 39 40 00 00 */ li r10, 0 -/* 80347210 00344170 48 03 3C 1D */ bl GXSetTevIndirect -lbl_80347214: -/* 80347214 00344174 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80347218 00344178 7C 08 03 A6 */ mtlr r0 -/* 8034721C 0034417C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80347220 00344180 4E 80 00 20 */ blr - -.global DoModelShadow__FUiUi -DoModelShadow__FUiUi: -/* 80347224 00344184 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 80347228 00344188 7C 08 02 A6 */ mflr r0 -/* 8034722C 0034418C 38 A0 00 01 */ li r5, 1 -/* 80347230 00344190 90 01 00 64 */ stw r0, 0x64(r1) -/* 80347234 00344194 7C 60 1B 78 */ mr r0, r3 -/* 80347238 00344198 BF 01 00 40 */ stmw r24, 0x40(r1) -/* 8034723C 0034419C 7C 9E 23 78 */ mr r30, r4 -/* 80347240 003441A0 7C 1D 03 78 */ mr r29, r0 -/* 80347244 003441A4 7C 04 03 78 */ mr r4, r0 -/* 80347248 003441A8 80 6D A9 9C */ lwz r3, lbl_805A955C@sda21(r13) -/* 8034724C 003441AC 4B FC 84 F1 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode -/* 80347250 003441B0 3C 60 80 3E */ lis r3, lbl_803D8048@ha -/* 80347254 003441B4 3C 80 80 4C */ lis r4, lbl_804BFF5C@ha -/* 80347258 003441B8 3B 03 80 48 */ addi r24, r3, lbl_803D8048@l -/* 8034725C 003441BC 38 61 00 08 */ addi r3, r1, 8 -/* 80347260 003441C0 83 38 00 00 */ lwz r25, 0(r24) -/* 80347264 003441C4 38 C4 FF 5C */ addi r6, r4, lbl_804BFF5C@l -/* 80347268 003441C8 83 58 00 04 */ lwz r26, 4(r24) -/* 8034726C 003441CC 38 80 00 2D */ li r4, 0x2d -/* 80347270 003441D0 83 78 00 08 */ lwz r27, 8(r24) -/* 80347274 003441D4 38 A0 00 00 */ li r5, 0 -/* 80347278 003441D8 83 98 00 0C */ lwz r28, 0xc(r24) -/* 8034727C 003441DC 83 F8 00 10 */ lwz r31, 0x10(r24) -/* 80347280 003441E0 81 98 00 14 */ lwz r12, 0x14(r24) -/* 80347284 003441E4 81 78 00 18 */ lwz r11, 0x18(r24) -/* 80347288 003441E8 81 58 00 1C */ lwz r10, 0x1c(r24) -/* 8034728C 003441EC 81 38 00 20 */ lwz r9, 0x20(r24) -/* 80347290 003441F0 81 18 00 24 */ lwz r8, 0x24(r24) -/* 80347294 003441F4 80 F8 00 28 */ lwz r7, 0x28(r24) -/* 80347298 003441F8 80 18 00 2C */ lwz r0, 0x2c(r24) -/* 8034729C 003441FC 93 21 00 08 */ stw r25, 8(r1) -/* 803472A0 00344200 C0 E6 00 00 */ lfs f7, 0(r6) -/* 803472A4 00344204 93 41 00 0C */ stw r26, 0xc(r1) -/* 803472A8 00344208 C0 C6 00 04 */ lfs f6, 4(r6) -/* 803472AC 0034420C 93 61 00 10 */ stw r27, 0x10(r1) -/* 803472B0 00344210 C0 A6 00 08 */ lfs f5, 8(r6) -/* 803472B4 00344214 93 81 00 14 */ stw r28, 0x14(r1) -/* 803472B8 00344218 C0 86 00 0C */ lfs f4, 0xc(r6) -/* 803472BC 0034421C 93 E1 00 18 */ stw r31, 0x18(r1) -/* 803472C0 00344220 C0 66 00 20 */ lfs f3, 0x20(r6) -/* 803472C4 00344224 91 81 00 1C */ stw r12, 0x1c(r1) -/* 803472C8 00344228 C0 46 00 24 */ lfs f2, 0x24(r6) -/* 803472CC 0034422C 91 61 00 20 */ stw r11, 0x20(r1) -/* 803472D0 00344230 C0 26 00 28 */ lfs f1, 0x28(r6) -/* 803472D4 00344234 91 41 00 24 */ stw r10, 0x24(r1) -/* 803472D8 00344238 C0 06 00 2C */ lfs f0, 0x2c(r6) -/* 803472DC 0034423C 91 21 00 28 */ stw r9, 0x28(r1) -/* 803472E0 00344240 91 01 00 2C */ stw r8, 0x2c(r1) -/* 803472E4 00344244 90 E1 00 30 */ stw r7, 0x30(r1) -/* 803472E8 00344248 90 01 00 34 */ stw r0, 0x34(r1) -/* 803472EC 0034424C D0 E1 00 08 */ stfs f7, 8(r1) -/* 803472F0 00344250 D0 C1 00 0C */ stfs f6, 0xc(r1) -/* 803472F4 00344254 D0 A1 00 10 */ stfs f5, 0x10(r1) -/* 803472F8 00344258 D0 81 00 14 */ stfs f4, 0x14(r1) -/* 803472FC 0034425C D0 61 00 18 */ stfs f3, 0x18(r1) -/* 80347300 00344260 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 80347304 00344264 D0 21 00 20 */ stfs f1, 0x20(r1) -/* 80347308 00344268 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 8034730C 0034426C 48 03 51 85 */ bl GXLoadTexMtxImm -/* 80347310 00344270 3C 60 80 5A */ lis r3, lbl_805A53EC@ha -/* 80347314 00344274 57 C4 10 3A */ slwi r4, r30, 2 -/* 80347318 00344278 38 03 53 EC */ addi r0, r3, lbl_805A53EC@l -/* 8034731C 0034427C 7C 60 22 14 */ add r3, r0, r4 -/* 80347320 00344280 38 A3 02 28 */ addi r5, r3, 0x228 -/* 80347324 00344284 80 63 02 28 */ lwz r3, 0x228(r3) -/* 80347328 00344288 3C 03 FF E2 */ addis r0, r3, 0xffe2 -/* 8034732C 0034428C 28 00 8A 00 */ cmplwi r0, 0x8a00 -/* 80347330 00344290 41 82 00 2C */ beq lbl_8034735C -/* 80347334 00344294 3C 80 00 1F */ lis r4, 0x001E8A00@ha -/* 80347338 00344298 7F C3 F3 78 */ mr r3, r30 -/* 8034733C 0034429C 38 04 8A 00 */ addi r0, r4, 0x001E8A00@l -/* 80347340 003442A0 38 80 00 00 */ li r4, 0 -/* 80347344 003442A4 90 05 00 00 */ stw r0, 0(r5) -/* 80347348 003442A8 38 A0 00 00 */ li r5, 0 -/* 8034734C 003442AC 38 C0 00 2D */ li r6, 0x2d -/* 80347350 003442B0 38 E0 00 00 */ li r7, 0 -/* 80347354 003442B4 39 00 00 7D */ li r8, 0x7d -/* 80347358 003442B8 48 03 0C 3D */ bl GXSetTexCoordGen2 -lbl_8034735C: -/* 8034735C 003442BC 3C 60 80 5A */ lis r3, lbl_805A53EC@ha -/* 80347360 003442C0 3B E3 53 EC */ addi r31, r3, lbl_805A53EC@l -/* 80347364 003442C4 80 1F 00 70 */ lwz r0, 0x70(r31) -/* 80347368 003442C8 28 00 03 00 */ cmplwi r0, 0x300 -/* 8034736C 003442CC 41 82 00 28 */ beq lbl_80347394 -/* 80347370 003442D0 38 00 03 00 */ li r0, 0x300 -/* 80347374 003442D4 38 60 00 00 */ li r3, 0 -/* 80347378 003442D8 90 1F 00 70 */ stw r0, 0x70(r31) -/* 8034737C 003442DC 38 80 00 00 */ li r4, 0 -/* 80347380 003442E0 38 A0 00 00 */ li r5, 0 -/* 80347384 003442E4 38 C0 00 00 */ li r6, 0 -/* 80347388 003442E8 38 E0 00 01 */ li r7, 1 -/* 8034738C 003442EC 39 00 00 01 */ li r8, 1 -/* 80347390 003442F0 48 03 41 9D */ bl GXSetTevColorOp -lbl_80347394: -/* 80347394 003442F4 80 1F 00 74 */ lwz r0, 0x74(r31) -/* 80347398 003442F8 28 00 03 00 */ cmplwi r0, 0x300 -/* 8034739C 003442FC 41 82 00 28 */ beq lbl_803473C4 -/* 803473A0 00344300 38 00 03 00 */ li r0, 0x300 -/* 803473A4 00344304 38 60 00 00 */ li r3, 0 -/* 803473A8 00344308 90 1F 00 74 */ stw r0, 0x74(r31) -/* 803473AC 0034430C 38 80 00 00 */ li r4, 0 -/* 803473B0 00344310 38 A0 00 00 */ li r5, 0 -/* 803473B4 00344314 38 C0 00 00 */ li r6, 0 -/* 803473B8 00344318 38 E0 00 01 */ li r7, 1 -/* 803473BC 0034431C 39 00 00 01 */ li r8, 1 -/* 803473C0 00344320 48 03 41 D5 */ bl GXSetTevAlphaOp -lbl_803473C4: -/* 803473C4 00344324 80 7F 00 68 */ lwz r3, 0x68(r31) -/* 803473C8 00344328 3C 03 FF F9 */ addis r0, r3, 0xfff9 -/* 803473CC 0034432C 28 00 A1 4F */ cmplwi r0, 0xa14f -/* 803473D0 00344330 41 82 00 28 */ beq lbl_803473F8 -/* 803473D4 00344334 3C 80 00 08 */ lis r4, 0x0007A14F@ha -/* 803473D8 00344338 38 60 00 00 */ li r3, 0 -/* 803473DC 0034433C 38 04 A1 4F */ addi r0, r4, 0x0007A14F@l -/* 803473E0 00344340 38 80 00 0F */ li r4, 0xf -/* 803473E4 00344344 90 1F 00 68 */ stw r0, 0x68(r31) -/* 803473E8 00344348 38 A0 00 0A */ li r5, 0xa -/* 803473EC 0034434C 38 C0 00 08 */ li r6, 8 -/* 803473F0 00344350 38 E0 00 0F */ li r7, 0xf -/* 803473F4 00344354 48 03 40 B1 */ bl GXSetTevColorIn -lbl_803473F8: -/* 803473F8 00344358 80 7F 00 6C */ lwz r3, 0x6c(r31) -/* 803473FC 0034435C 3C 03 FF FE */ addis r0, r3, 0xfffe -/* 80347400 00344360 28 00 9C E7 */ cmplwi r0, 0x9ce7 -/* 80347404 00344364 41 82 00 28 */ beq lbl_8034742C -/* 80347408 00344368 3C 80 00 03 */ lis r4, 0x00029CE7@ha -/* 8034740C 0034436C 38 60 00 00 */ li r3, 0 -/* 80347410 00344370 38 04 9C E7 */ addi r0, r4, 0x00029CE7@l -/* 80347414 00344374 38 80 00 07 */ li r4, 7 -/* 80347418 00344378 90 1F 00 6C */ stw r0, 0x6c(r31) -/* 8034741C 0034437C 38 A0 00 07 */ li r5, 7 -/* 80347420 00344380 38 C0 00 07 */ li r6, 7 -/* 80347424 00344384 38 E0 00 05 */ li r7, 5 -/* 80347428 00344388 48 03 40 C1 */ bl GXSetTevAlphaIn -lbl_8034742C: -/* 8034742C 0034438C 57 A3 44 2E */ rlwinm r3, r29, 8, 0x10, 0x17 -/* 80347430 00344390 80 1F 00 7C */ lwz r0, 0x7c(r31) -/* 80347434 00344394 53 C3 06 3E */ rlwimi r3, r30, 0, 0x18, 0x1f -/* 80347438 00344398 64 63 00 05 */ oris r3, r3, 5 -/* 8034743C 0034439C 7C 00 18 40 */ cmplw r0, r3 -/* 80347440 003443A0 41 82 00 1C */ beq lbl_8034745C -/* 80347444 003443A4 90 7F 00 7C */ stw r3, 0x7c(r31) -/* 80347448 003443A8 7F C4 F3 78 */ mr r4, r30 -/* 8034744C 003443AC 7F A5 EB 78 */ mr r5, r29 -/* 80347450 003443B0 38 60 00 00 */ li r3, 0 -/* 80347454 003443B4 38 C0 00 05 */ li r6, 5 -/* 80347458 003443B8 48 03 45 9D */ bl GXSetTevOrder -lbl_8034745C: -/* 8034745C 003443BC 3C 60 80 5A */ lis r3, lbl_805A53EC@ha -/* 80347460 003443C0 3B A3 53 EC */ addi r29, r3, lbl_805A53EC@l -/* 80347464 003443C4 80 1D 00 8C */ lwz r0, 0x8c(r29) -/* 80347468 003443C8 28 00 03 00 */ cmplwi r0, 0x300 -/* 8034746C 003443CC 41 82 00 28 */ beq lbl_80347494 -/* 80347470 003443D0 38 00 03 00 */ li r0, 0x300 -/* 80347474 003443D4 38 60 00 01 */ li r3, 1 -/* 80347478 003443D8 90 1D 00 8C */ stw r0, 0x8c(r29) -/* 8034747C 003443DC 38 80 00 00 */ li r4, 0 -/* 80347480 003443E0 38 A0 00 00 */ li r5, 0 -/* 80347484 003443E4 38 C0 00 00 */ li r6, 0 -/* 80347488 003443E8 38 E0 00 01 */ li r7, 1 -/* 8034748C 003443EC 39 00 00 01 */ li r8, 1 -/* 80347490 003443F0 48 03 40 9D */ bl GXSetTevColorOp -lbl_80347494: -/* 80347494 003443F4 80 1D 00 90 */ lwz r0, 0x90(r29) -/* 80347498 003443F8 28 00 03 00 */ cmplwi r0, 0x300 -/* 8034749C 003443FC 41 82 00 28 */ beq lbl_803474C4 -/* 803474A0 00344400 38 00 03 00 */ li r0, 0x300 -/* 803474A4 00344404 38 60 00 01 */ li r3, 1 -/* 803474A8 00344408 90 1D 00 90 */ stw r0, 0x90(r29) -/* 803474AC 0034440C 38 80 00 00 */ li r4, 0 -/* 803474B0 00344410 38 A0 00 00 */ li r5, 0 -/* 803474B4 00344414 38 C0 00 00 */ li r6, 0 -/* 803474B8 00344418 38 E0 00 01 */ li r7, 1 -/* 803474BC 0034441C 39 00 00 01 */ li r8, 1 -/* 803474C0 00344420 48 03 40 D5 */ bl GXSetTevAlphaOp -lbl_803474C4: -/* 803474C4 00344424 80 7D 00 84 */ lwz r3, 0x84(r29) -/* 803474C8 00344428 3C 03 FF FF */ addis r0, r3, 0xffff -/* 803474CC 0034442C 28 00 31 4F */ cmplwi r0, 0x314f -/* 803474D0 00344430 41 82 00 28 */ beq lbl_803474F8 -/* 803474D4 00344434 3C 80 00 01 */ lis r4, 0x0001314F@ha -/* 803474D8 00344438 38 60 00 01 */ li r3, 1 -/* 803474DC 0034443C 38 04 31 4F */ addi r0, r4, 0x0001314F@l -/* 803474E0 00344440 38 80 00 0F */ li r4, 0xf -/* 803474E4 00344444 90 1D 00 84 */ stw r0, 0x84(r29) -/* 803474E8 00344448 38 A0 00 0A */ li r5, 0xa -/* 803474EC 0034444C 38 C0 00 0C */ li r6, 0xc -/* 803474F0 00344450 38 E0 00 02 */ li r7, 2 -/* 803474F4 00344454 48 03 3F B1 */ bl GXSetTevColorIn -lbl_803474F8: -/* 803474F8 00344458 80 1D 00 88 */ lwz r0, 0x88(r29) -/* 803474FC 0034445C 28 00 98 A7 */ cmplwi r0, 0x98a7 -/* 80347500 00344460 41 82 00 28 */ beq lbl_80347528 -/* 80347504 00344464 3C 80 00 01 */ lis r4, 0x000098A7@ha -/* 80347508 00344468 38 60 00 01 */ li r3, 1 -/* 8034750C 0034446C 38 04 98 A7 */ addi r0, r4, 0x000098A7@l -/* 80347510 00344470 38 80 00 07 */ li r4, 7 -/* 80347514 00344474 90 1D 00 88 */ stw r0, 0x88(r29) -/* 80347518 00344478 38 A0 00 05 */ li r5, 5 -/* 8034751C 0034447C 38 C0 00 06 */ li r6, 6 -/* 80347520 00344480 38 E0 00 01 */ li r7, 1 -/* 80347524 00344484 48 03 3F C5 */ bl GXSetTevAlphaIn -lbl_80347528: -/* 80347528 00344488 88 1D 00 9D */ lbz r0, 0x9d(r29) -/* 8034752C 0034448C 2C 00 00 00 */ cmpwi r0, 0 -/* 80347530 00344490 41 82 00 18 */ beq lbl_80347548 -/* 80347534 00344494 38 00 00 00 */ li r0, 0 -/* 80347538 00344498 38 60 00 01 */ li r3, 1 -/* 8034753C 0034449C 98 1D 00 9D */ stb r0, 0x9d(r29) -/* 80347540 003444A0 38 80 00 00 */ li r4, 0 -/* 80347544 003444A4 48 03 42 81 */ bl GXSetTevKAlphaSel -lbl_80347548: -/* 80347548 003444A8 80 7D 00 98 */ lwz r3, 0x98(r29) -/* 8034754C 003444AC 3C 03 FF FC */ addis r0, r3, 0xfffc -/* 80347550 003444B0 28 00 FF FF */ cmplwi r0, 0xffff -/* 80347554 003444B4 41 82 00 24 */ beq lbl_80347578 -/* 80347558 003444B8 3C 80 00 05 */ lis r4, 0x0004FFFF@ha -/* 8034755C 003444BC 38 60 00 01 */ li r3, 1 -/* 80347560 003444C0 38 04 FF FF */ addi r0, r4, 0x0004FFFF@l -/* 80347564 003444C4 38 80 00 FF */ li r4, 0xff -/* 80347568 003444C8 90 1D 00 98 */ stw r0, 0x98(r29) -/* 8034756C 003444CC 38 A0 00 FF */ li r5, 0xff -/* 80347570 003444D0 38 C0 00 04 */ li r6, 4 -/* 80347574 003444D4 48 03 44 81 */ bl GXSetTevOrder -lbl_80347578: -/* 80347578 003444D8 BB 01 00 40 */ lmw r24, 0x40(r1) -/* 8034757C 003444DC 80 01 00 64 */ lwz r0, 0x64(r1) -/* 80347580 003444E0 7C 08 03 A6 */ mtlr r0 -/* 80347584 003444E4 38 21 00 60 */ addi r1, r1, 0x60 -/* 80347588 003444E8 4E 80 00 20 */ blr - -.global HandleTransparency__FUiUiRC11CModelFlagsRUiRUi -HandleTransparency__FUiUiRC11CModelFlagsRUiRUi: -/* 8034758C 003444EC 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80347590 003444F0 7C 08 02 A6 */ mflr r0 -/* 80347594 003444F4 90 01 00 34 */ stw r0, 0x34(r1) -/* 80347598 003444F8 BF 01 00 10 */ stmw r24, 0x10(r1) -/* 8034759C 003444FC 7C B9 2B 78 */ mr r25, r5 -/* 803475A0 00344500 7C 7E 1B 78 */ mr r30, r3 -/* 803475A4 00344504 7C 9F 23 78 */ mr r31, r4 -/* 803475A8 00344508 7C FD 3B 78 */ mr r29, r7 -/* 803475AC 0034450C 7D 1B 43 78 */ mr r27, r8 -/* 803475B0 00344510 88 05 00 00 */ lbz r0, 0(r5) -/* 803475B4 00344514 7C 00 07 74 */ extsb r0, r0 -/* 803475B8 00344518 2C 00 00 02 */ cmpwi r0, 2 -/* 803475BC 0034451C 40 82 00 10 */ bne lbl_803475CC -/* 803475C0 00344520 54 C3 84 3E */ srwi r3, r6, 0x10 -/* 803475C4 00344524 2C 03 00 01 */ cmpwi r3, 1 -/* 803475C8 00344528 41 82 04 10 */ beq lbl_803479D8 -lbl_803475CC: -/* 803475CC 0034452C 2C 00 00 03 */ cmpwi r0, 3 -/* 803475D0 00344530 40 82 02 84 */ bne lbl_80347854 -/* 803475D4 00344534 80 7E 00 00 */ lwz r3, 0(r30) -/* 803475D8 00344538 3C 80 80 5A */ lis r4, lbl_805A53EC@ha -/* 803475DC 0034453C 38 04 53 EC */ addi r0, r4, lbl_805A53EC@l -/* 803475E0 00344540 1C 83 00 1C */ mulli r4, r3, 0x1c -/* 803475E4 00344544 7C 7B 1B 78 */ mr r27, r3 -/* 803475E8 00344548 3B 43 00 01 */ addi r26, r3, 1 -/* 803475EC 0034454C 7C 80 22 14 */ add r4, r0, r4 -/* 803475F0 00344550 3B A4 00 68 */ addi r29, r4, 0x68 -/* 803475F4 00344554 80 84 00 68 */ lwz r4, 0x68(r4) -/* 803475F8 00344558 3C 04 FF F9 */ addis r0, r4, 0xfff9 -/* 803475FC 0034455C 28 00 3D EF */ cmplwi r0, 0x3def -/* 80347600 00344560 41 82 00 24 */ beq lbl_80347624 -/* 80347604 00344564 3C 80 00 07 */ lis r4, 0x00073DEF@ha -/* 80347608 00344568 38 A0 00 0F */ li r5, 0xf -/* 8034760C 0034456C 38 04 3D EF */ addi r0, r4, 0x00073DEF@l -/* 80347610 00344570 38 C0 00 0F */ li r6, 0xf -/* 80347614 00344574 90 1D 00 00 */ stw r0, 0(r29) -/* 80347618 00344578 38 80 00 0F */ li r4, 0xf -/* 8034761C 0034457C 38 E0 00 0E */ li r7, 0xe -/* 80347620 00344580 48 03 3E 85 */ bl GXSetTevColorIn -lbl_80347624: -/* 80347624 00344584 80 1D 00 04 */ lwz r0, 4(r29) -/* 80347628 00344588 28 00 1C E7 */ cmplwi r0, 0x1ce7 -/* 8034762C 0034458C 41 82 00 24 */ beq lbl_80347650 -/* 80347630 00344590 38 00 1C E7 */ li r0, 0x1ce7 -/* 80347634 00344594 7F 63 DB 78 */ mr r3, r27 -/* 80347638 00344598 90 1D 00 04 */ stw r0, 4(r29) -/* 8034763C 0034459C 38 80 00 07 */ li r4, 7 -/* 80347640 003445A0 38 A0 00 07 */ li r5, 7 -/* 80347644 003445A4 38 C0 00 07 */ li r6, 7 -/* 80347648 003445A8 38 E0 00 00 */ li r7, 0 -/* 8034764C 003445AC 48 03 3E 9D */ bl GXSetTevAlphaIn -lbl_80347650: -/* 80347650 003445B0 80 1D 00 08 */ lwz r0, 8(r29) -/* 80347654 003445B4 28 00 03 00 */ cmplwi r0, 0x300 -/* 80347658 003445B8 41 82 00 28 */ beq lbl_80347680 -/* 8034765C 003445BC 38 00 03 00 */ li r0, 0x300 -/* 80347660 003445C0 7F 63 DB 78 */ mr r3, r27 -/* 80347664 003445C4 90 1D 00 08 */ stw r0, 8(r29) -/* 80347668 003445C8 38 80 00 00 */ li r4, 0 -/* 8034766C 003445CC 38 A0 00 00 */ li r5, 0 -/* 80347670 003445D0 38 C0 00 00 */ li r6, 0 -/* 80347674 003445D4 38 E0 00 01 */ li r7, 1 -/* 80347678 003445D8 39 00 00 01 */ li r8, 1 -/* 8034767C 003445DC 48 03 3E B1 */ bl GXSetTevColorOp -lbl_80347680: -/* 80347680 003445E0 80 7F 00 00 */ lwz r3, 0(r31) -/* 80347684 003445E4 88 1D 00 18 */ lbz r0, 0x18(r29) -/* 80347688 003445E8 38 83 00 1C */ addi r4, r3, 0x1c -/* 8034768C 003445EC 7C 04 00 00 */ cmpw r4, r0 -/* 80347690 003445F0 41 82 00 10 */ beq lbl_803476A0 -/* 80347694 003445F4 98 9D 00 18 */ stb r4, 0x18(r29) -/* 80347698 003445F8 7F 63 DB 78 */ mr r3, r27 -/* 8034769C 003445FC 48 03 40 BD */ bl GXSetTevKColorSel -lbl_803476A0: -/* 803476A0 00344600 80 1D 00 0C */ lwz r0, 0xc(r29) -/* 803476A4 00344604 28 00 01 00 */ cmplwi r0, 0x100 -/* 803476A8 00344608 41 82 00 28 */ beq lbl_803476D0 -/* 803476AC 0034460C 38 00 01 00 */ li r0, 0x100 -/* 803476B0 00344610 7F 63 DB 78 */ mr r3, r27 -/* 803476B4 00344614 90 1D 00 0C */ stw r0, 0xc(r29) -/* 803476B8 00344618 38 80 00 00 */ li r4, 0 -/* 803476BC 0034461C 38 A0 00 00 */ li r5, 0 -/* 803476C0 00344620 38 C0 00 00 */ li r6, 0 -/* 803476C4 00344624 38 E0 00 01 */ li r7, 1 -/* 803476C8 00344628 39 00 00 00 */ li r8, 0 -/* 803476CC 0034462C 48 03 3E C9 */ bl GXSetTevAlphaOp -lbl_803476D0: -/* 803476D0 00344630 80 7D 00 14 */ lwz r3, 0x14(r29) -/* 803476D4 00344634 3C 03 FF 01 */ addis r0, r3, 0xff01 -/* 803476D8 00344638 28 00 FF FF */ cmplwi r0, 0xffff -/* 803476DC 0034463C 41 82 00 24 */ beq lbl_80347700 -/* 803476E0 00344640 3C 80 01 00 */ lis r4, 0x00FFFFFF@ha -/* 803476E4 00344644 7F 63 DB 78 */ mr r3, r27 -/* 803476E8 00344648 38 04 FF FF */ addi r0, r4, 0x00FFFFFF@l -/* 803476EC 0034464C 38 80 00 FF */ li r4, 0xff -/* 803476F0 00344650 90 1D 00 14 */ stw r0, 0x14(r29) -/* 803476F4 00344654 38 A0 00 FF */ li r5, 0xff -/* 803476F8 00344658 38 C0 00 FF */ li r6, 0xff -/* 803476FC 0034465C 48 03 42 F9 */ bl GXSetTevOrder -lbl_80347700: -/* 80347700 00344660 80 1D 00 10 */ lwz r0, 0x10(r29) -/* 80347704 00344664 28 00 00 00 */ cmplwi r0, 0 -/* 80347708 00344668 41 82 00 14 */ beq lbl_8034771C -/* 8034770C 0034466C 38 00 00 00 */ li r0, 0 -/* 80347710 00344670 7F 63 DB 78 */ mr r3, r27 -/* 80347714 00344674 90 1D 00 10 */ stw r0, 0x10(r29) -/* 80347718 00344678 48 03 3B C9 */ bl GXSetTevDirect -lbl_8034771C: -/* 8034771C 0034467C 1C 9A 00 1C */ mulli r4, r26, 0x1c -/* 80347720 00344680 3C 60 80 5A */ lis r3, lbl_805A53EC@ha -/* 80347724 00344684 38 03 53 EC */ addi r0, r3, lbl_805A53EC@l -/* 80347728 00344688 7C 60 22 14 */ add r3, r0, r4 -/* 8034772C 0034468C 3B 83 00 68 */ addi r28, r3, 0x68 -/* 80347730 00344690 80 63 00 68 */ lwz r3, 0x68(r3) -/* 80347734 00344694 3C 03 FF F9 */ addis r0, r3, 0xfff9 -/* 80347738 00344698 28 00 B8 40 */ cmplwi r0, 0xb840 -/* 8034773C 0034469C 41 82 00 28 */ beq lbl_80347764 -/* 80347740 003446A0 3C 80 00 08 */ lis r4, 0x0007B840@ha -/* 80347744 003446A4 7F 43 D3 78 */ mr r3, r26 -/* 80347748 003446A8 38 04 B8 40 */ addi r0, r4, 0x0007B840@l -/* 8034774C 003446AC 38 80 00 00 */ li r4, 0 -/* 80347750 003446B0 90 1C 00 00 */ stw r0, 0(r28) -/* 80347754 003446B4 38 A0 00 02 */ li r5, 2 -/* 80347758 003446B8 38 C0 00 0E */ li r6, 0xe -/* 8034775C 003446BC 38 E0 00 0F */ li r7, 0xf -/* 80347760 003446C0 48 03 3D 45 */ bl GXSetTevColorIn -lbl_80347764: -/* 80347764 003446C4 80 1C 00 04 */ lwz r0, 4(r28) -/* 80347768 003446C8 28 00 1C E7 */ cmplwi r0, 0x1ce7 -/* 8034776C 003446CC 41 82 00 24 */ beq lbl_80347790 -/* 80347770 003446D0 38 00 1C E7 */ li r0, 0x1ce7 -/* 80347774 003446D4 7F 43 D3 78 */ mr r3, r26 -/* 80347778 003446D8 90 1C 00 04 */ stw r0, 4(r28) -/* 8034777C 003446DC 38 80 00 07 */ li r4, 7 -/* 80347780 003446E0 38 A0 00 07 */ li r5, 7 -/* 80347784 003446E4 38 C0 00 07 */ li r6, 7 -/* 80347788 003446E8 38 E0 00 00 */ li r7, 0 -/* 8034778C 003446EC 48 03 3D 5D */ bl GXSetTevAlphaIn -lbl_80347790: -/* 80347790 003446F0 80 7F 00 00 */ lwz r3, 0(r31) -/* 80347794 003446F4 88 1D 00 18 */ lbz r0, 0x18(r29) -/* 80347798 003446F8 38 83 00 0C */ addi r4, r3, 0xc -/* 8034779C 003446FC 7C 04 00 00 */ cmpw r4, r0 -/* 803477A0 00344700 41 82 00 10 */ beq lbl_803477B0 -/* 803477A4 00344704 98 9D 00 18 */ stb r4, 0x18(r29) -/* 803477A8 00344708 7F 63 DB 78 */ mr r3, r27 -/* 803477AC 0034470C 48 03 3F AD */ bl GXSetTevKColorSel -lbl_803477B0: -/* 803477B0 00344710 7F 43 D3 78 */ mr r3, r26 -/* 803477B4 00344714 4B FC 04 9D */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID -/* 803477B8 00344718 80 1C 00 10 */ lwz r0, 0x10(r28) -/* 803477BC 0034471C 28 00 00 00 */ cmplwi r0, 0 -/* 803477C0 00344720 41 82 00 14 */ beq lbl_803477D4 -/* 803477C4 00344724 38 00 00 00 */ li r0, 0 -/* 803477C8 00344728 7F 43 D3 78 */ mr r3, r26 -/* 803477CC 0034472C 90 1C 00 10 */ stw r0, 0x10(r28) -/* 803477D0 00344730 48 03 3B 11 */ bl GXSetTevDirect -lbl_803477D4: -/* 803477D4 00344734 80 7C 00 14 */ lwz r3, 0x14(r28) -/* 803477D8 00344738 3C 03 FF 01 */ addis r0, r3, 0xff01 -/* 803477DC 0034473C 28 00 FF FF */ cmplwi r0, 0xffff -/* 803477E0 00344740 41 82 00 24 */ beq lbl_80347804 -/* 803477E4 00344744 3C 80 01 00 */ lis r4, 0x00FFFFFF@ha -/* 803477E8 00344748 7F 43 D3 78 */ mr r3, r26 -/* 803477EC 0034474C 38 04 FF FF */ addi r0, r4, 0x00FFFFFF@l -/* 803477F0 00344750 38 80 00 FF */ li r4, 0xff -/* 803477F4 00344754 90 1C 00 14 */ stw r0, 0x14(r28) -/* 803477F8 00344758 38 A0 00 FF */ li r5, 0xff -/* 803477FC 0034475C 38 C0 00 FF */ li r6, 0xff -/* 80347800 00344760 48 03 41 F5 */ bl GXSetTevOrder -lbl_80347804: -/* 80347804 00344764 80 7F 00 00 */ lwz r3, 0(r31) -/* 80347808 00344768 3C 80 80 5A */ lis r4, lbl_805A53EC@ha -/* 8034780C 0034476C 38 04 53 EC */ addi r0, r4, lbl_805A53EC@l -/* 80347810 00344770 80 B9 00 04 */ lwz r5, 4(r25) -/* 80347814 00344774 54 64 10 3A */ slwi r4, r3, 2 -/* 80347818 00344778 7C 80 22 14 */ add r4, r0, r4 -/* 8034781C 0034477C 84 04 00 58 */ lwzu r0, 0x58(r4) -/* 80347820 00344780 7C 00 28 40 */ cmplw r0, r5 -/* 80347824 00344784 41 82 00 14 */ beq lbl_80347838 -/* 80347828 00344788 90 A4 00 00 */ stw r5, 0(r4) -/* 8034782C 0034478C 38 81 00 0C */ addi r4, r1, 0xc -/* 80347830 00344790 90 A1 00 0C */ stw r5, 0xc(r1) -/* 80347834 00344794 48 03 3E B1 */ bl GXSetTevKColor -lbl_80347838: -/* 80347838 00344798 80 7F 00 00 */ lwz r3, 0(r31) -/* 8034783C 0034479C 38 03 00 01 */ addi r0, r3, 1 -/* 80347840 003447A0 90 1F 00 00 */ stw r0, 0(r31) -/* 80347844 003447A4 80 7E 00 00 */ lwz r3, 0(r30) -/* 80347848 003447A8 38 03 00 02 */ addi r0, r3, 2 -/* 8034784C 003447AC 90 1E 00 00 */ stw r0, 0(r30) -/* 80347850 003447B0 48 00 01 88 */ b lbl_803479D8 -lbl_80347854: -/* 80347854 003447B4 2C 00 00 08 */ cmpwi r0, 8 -/* 80347858 003447B8 3C 60 00 04 */ lis r3, 0x000380C7@ha -/* 8034785C 003447BC 3B 03 80 C7 */ addi r24, r3, 0x000380C7@l -/* 80347860 003447C0 40 82 00 0C */ bne lbl_8034786C -/* 80347864 003447C4 3C 60 00 03 */ lis r3, 0x00031CE7@ha -/* 80347868 003447C8 3B 03 1C E7 */ addi r24, r3, 0x00031CE7@l -lbl_8034786C: -/* 8034786C 003447CC 2C 00 00 02 */ cmpwi r0, 2 -/* 80347870 003447D0 3C 60 00 08 */ lis r3, 0x000781CF@ha -/* 80347874 003447D4 38 E3 81 CF */ addi r7, r3, 0x000781CF@l -/* 80347878 003447D8 40 82 00 0C */ bne lbl_80347884 -/* 8034787C 003447DC 3C 60 00 07 */ lis r3, 0x0007018F@ha -/* 80347880 003447E0 38 E3 01 8F */ addi r7, r3, 0x0007018F@l -lbl_80347884: -/* 80347884 003447E4 83 5E 00 00 */ lwz r26, 0(r30) -/* 80347888 003447E8 3C 60 80 5A */ lis r3, lbl_805A53EC@ha -/* 8034788C 003447EC 38 03 53 EC */ addi r0, r3, lbl_805A53EC@l -/* 80347890 003447F0 1C 7A 00 1C */ mulli r3, r26, 0x1c -/* 80347894 003447F4 7C 60 1A 14 */ add r3, r0, r3 -/* 80347898 003447F8 3B 83 00 68 */ addi r28, r3, 0x68 -/* 8034789C 003447FC 80 03 00 68 */ lwz r0, 0x68(r3) -/* 803478A0 00344800 7C 07 00 40 */ cmplw r7, r0 -/* 803478A4 00344804 41 82 00 20 */ beq lbl_803478C4 -/* 803478A8 00344808 90 FC 00 00 */ stw r7, 0(r28) -/* 803478AC 0034480C 7F 43 D3 78 */ mr r3, r26 -/* 803478B0 00344810 54 E4 06 FE */ clrlwi r4, r7, 0x1b -/* 803478B4 00344814 54 E5 DE FE */ rlwinm r5, r7, 0x1b, 0x1b, 0x1f -/* 803478B8 00344818 54 E6 B6 FE */ rlwinm r6, r7, 0x16, 0x1b, 0x1f -/* 803478BC 0034481C 54 E7 8E FE */ rlwinm r7, r7, 0x11, 0x1b, 0x1f -/* 803478C0 00344820 48 03 3B E5 */ bl GXSetTevColorIn -lbl_803478C4: -/* 803478C4 00344824 80 1C 00 04 */ lwz r0, 4(r28) -/* 803478C8 00344828 7C 18 00 40 */ cmplw r24, r0 -/* 803478CC 0034482C 41 82 00 20 */ beq lbl_803478EC -/* 803478D0 00344830 93 1C 00 04 */ stw r24, 4(r28) -/* 803478D4 00344834 7F 43 D3 78 */ mr r3, r26 -/* 803478D8 00344838 57 04 06 FE */ clrlwi r4, r24, 0x1b -/* 803478DC 0034483C 57 05 DE FE */ rlwinm r5, r24, 0x1b, 0x1b, 0x1f -/* 803478E0 00344840 57 06 B6 FE */ rlwinm r6, r24, 0x16, 0x1b, 0x1f -/* 803478E4 00344844 57 07 8E FE */ rlwinm r7, r24, 0x11, 0x1b, 0x1f -/* 803478E8 00344848 48 03 3C 01 */ bl GXSetTevAlphaIn -lbl_803478EC: -/* 803478EC 0034484C 7F 43 D3 78 */ mr r3, r26 -/* 803478F0 00344850 4B FC 03 61 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID -/* 803478F4 00344854 38 00 01 00 */ li r0, 0x100 -/* 803478F8 00344858 90 1D 00 00 */ stw r0, 0(r29) -/* 803478FC 0034485C 90 1B 00 00 */ stw r0, 0(r27) -/* 80347900 00344860 80 1C 00 10 */ lwz r0, 0x10(r28) -/* 80347904 00344864 28 00 00 00 */ cmplwi r0, 0 -/* 80347908 00344868 41 82 00 14 */ beq lbl_8034791C -/* 8034790C 0034486C 38 00 00 00 */ li r0, 0 -/* 80347910 00344870 7F 43 D3 78 */ mr r3, r26 -/* 80347914 00344874 90 1C 00 10 */ stw r0, 0x10(r28) -/* 80347918 00344878 48 03 39 C9 */ bl GXSetTevDirect -lbl_8034791C: -/* 8034791C 0034487C 80 7C 00 14 */ lwz r3, 0x14(r28) -/* 80347920 00344880 3C 03 FF 01 */ addis r0, r3, 0xff01 -/* 80347924 00344884 28 00 FF FF */ cmplwi r0, 0xffff -/* 80347928 00344888 41 82 00 24 */ beq lbl_8034794C -/* 8034792C 0034488C 3C 80 01 00 */ lis r4, 0x00FFFFFF@ha -/* 80347930 00344890 7F 43 D3 78 */ mr r3, r26 -/* 80347934 00344894 38 04 FF FF */ addi r0, r4, 0x00FFFFFF@l -/* 80347938 00344898 38 80 00 FF */ li r4, 0xff -/* 8034793C 0034489C 90 1C 00 14 */ stw r0, 0x14(r28) -/* 80347940 003448A0 38 A0 00 FF */ li r5, 0xff -/* 80347944 003448A4 38 C0 00 FF */ li r6, 0xff -/* 80347948 003448A8 48 03 40 AD */ bl GXSetTevOrder -lbl_8034794C: -/* 8034794C 003448AC 80 7F 00 00 */ lwz r3, 0(r31) -/* 80347950 003448B0 3C 80 80 5A */ lis r4, lbl_805A53EC@ha -/* 80347954 003448B4 38 04 53 EC */ addi r0, r4, lbl_805A53EC@l -/* 80347958 003448B8 80 B9 00 04 */ lwz r5, 4(r25) -/* 8034795C 003448BC 54 64 10 3A */ slwi r4, r3, 2 -/* 80347960 003448C0 7C 80 22 14 */ add r4, r0, r4 -/* 80347964 003448C4 84 04 00 58 */ lwzu r0, 0x58(r4) -/* 80347968 003448C8 7C 00 28 40 */ cmplw r0, r5 -/* 8034796C 003448CC 41 82 00 14 */ beq lbl_80347980 -/* 80347970 003448D0 90 A4 00 00 */ stw r5, 0(r4) -/* 80347974 003448D4 38 81 00 08 */ addi r4, r1, 8 -/* 80347978 003448D8 90 A1 00 08 */ stw r5, 8(r1) -/* 8034797C 003448DC 48 03 3D 69 */ bl GXSetTevKColor -lbl_80347980: -/* 80347980 003448E0 80 7F 00 00 */ lwz r3, 0(r31) -/* 80347984 003448E4 88 1C 00 18 */ lbz r0, 0x18(r28) -/* 80347988 003448E8 38 83 00 0C */ addi r4, r3, 0xc -/* 8034798C 003448EC 7C 04 00 00 */ cmpw r4, r0 -/* 80347990 003448F0 41 82 00 10 */ beq lbl_803479A0 -/* 80347994 003448F4 98 9C 00 18 */ stb r4, 0x18(r28) -/* 80347998 003448F8 7F 43 D3 78 */ mr r3, r26 -/* 8034799C 003448FC 48 03 3D BD */ bl GXSetTevKColorSel -lbl_803479A0: -/* 803479A0 00344900 80 7F 00 00 */ lwz r3, 0(r31) -/* 803479A4 00344904 88 1C 00 19 */ lbz r0, 0x19(r28) -/* 803479A8 00344908 38 83 00 1C */ addi r4, r3, 0x1c -/* 803479AC 0034490C 7C 04 00 00 */ cmpw r4, r0 -/* 803479B0 00344910 41 82 00 10 */ beq lbl_803479C0 -/* 803479B4 00344914 98 9C 00 19 */ stb r4, 0x19(r28) -/* 803479B8 00344918 7F 43 D3 78 */ mr r3, r26 -/* 803479BC 0034491C 48 03 3E 09 */ bl GXSetTevKAlphaSel -lbl_803479C0: -/* 803479C0 00344920 80 7E 00 00 */ lwz r3, 0(r30) -/* 803479C4 00344924 38 03 00 01 */ addi r0, r3, 1 -/* 803479C8 00344928 90 1E 00 00 */ stw r0, 0(r30) -/* 803479CC 0034492C 80 7F 00 00 */ lwz r3, 0(r31) -/* 803479D0 00344930 38 03 00 01 */ addi r0, r3, 1 -/* 803479D4 00344934 90 1F 00 00 */ stw r0, 0(r31) -lbl_803479D8: -/* 803479D8 00344938 BB 01 00 10 */ lmw r24, 0x10(r1) -/* 803479DC 0034493C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 803479E0 00344940 7C 08 03 A6 */ mtlr r0 -/* 803479E4 00344944 38 21 00 30 */ addi r1, r1, 0x30 -/* 803479E8 00344948 4E 80 00 20 */ blr - -.global HandleAnimatedUV__FPCUi9_GXTexMtx11_GXPTTexMtx -HandleAnimatedUV__FPCUi9_GXTexMtx11_GXPTTexMtx: -/* 803479EC 0034494C 94 21 FC C0 */ stwu r1, -0x340(r1) -/* 803479F0 00344950 7C 08 02 A6 */ mflr r0 -/* 803479F4 00344954 90 01 03 44 */ stw r0, 0x344(r1) -/* 803479F8 00344958 DB E1 03 30 */ stfd f31, 0x330(r1) -/* 803479FC 0034495C F3 E1 03 38 */ psq_st f31, 824(r1), 0, qr0 -/* 80347A00 00344960 DB C1 03 20 */ stfd f30, 0x320(r1) -/* 80347A04 00344964 F3 C1 03 28 */ psq_st f30, 808(r1), 0, qr0 -/* 80347A08 00344968 DB A1 03 10 */ stfd f29, 0x310(r1) -/* 80347A0C 0034496C F3 A1 03 18 */ psq_st f29, 792(r1), 0, qr0 -/* 80347A10 00344970 DB 81 03 00 */ stfd f28, 0x300(r1) -/* 80347A14 00344974 F3 81 03 08 */ psq_st f28, 776(r1), 0, qr0 -/* 80347A18 00344978 DB 61 02 F0 */ stfd f27, 0x2f0(r1) -/* 80347A1C 0034497C F3 61 02 F8 */ psq_st f27, 760(r1), 0, qr0 -/* 80347A20 00344980 BD E1 02 AC */ stmw r15, 0x2ac(r1) -/* 80347A24 00344984 7C 7C 1B 78 */ mr r28, r3 -/* 80347A28 00344988 3C 60 80 3D */ lis r3, lbl_803D7F58@ha -/* 80347A2C 0034498C 81 FC 00 00 */ lwz r15, 0(r28) -/* 80347A30 00344990 7C 9B 23 78 */ mr r27, r4 -/* 80347A34 00344994 7C BE 2B 78 */ mr r30, r5 -/* 80347A38 00344998 3B E3 7F 58 */ addi r31, r3, lbl_803D7F58@l -/* 80347A3C 0034499C 28 0F 00 07 */ cmplwi r15, 7 -/* 80347A40 003449A0 41 81 05 A0 */ bgt lbl_80347FE0 -/* 80347A44 003449A4 3C 60 80 3F */ lis r3, lbl_803EF640@ha -/* 80347A48 003449A8 55 E0 10 3A */ slwi r0, r15, 2 -/* 80347A4C 003449AC 38 63 F6 40 */ addi r3, r3, lbl_803EF640@l -/* 80347A50 003449B0 7C 03 00 2E */ lwzx r0, r3, r0 -/* 80347A54 003449B4 7C 09 03 A6 */ mtctr r0 -/* 80347A58 003449B8 4E 80 04 20 */ bctr -/* 80347A5C 003449BC 3C 80 80 5A */ lis r4, lbl_805A61D4@ha -/* 80347A60 003449C0 38 61 00 CC */ addi r3, r1, 0xcc -/* 80347A64 003449C4 38 84 61 D4 */ addi r4, r4, lbl_805A61D4@l -/* 80347A68 003449C8 4B FC B2 35 */ bl GetQuickInverse__12CTransform4fCFv -/* 80347A6C 003449CC 3C 80 80 5A */ lis r4, lbl_805A6204@ha -/* 80347A70 003449D0 38 61 00 FC */ addi r3, r1, 0xfc -/* 80347A74 003449D4 38 A4 62 04 */ addi r5, r4, lbl_805A6204@l -/* 80347A78 003449D8 38 81 00 CC */ addi r4, r1, 0xcc -/* 80347A7C 003449DC 4B FC B4 B5 */ bl MultiplyIgnoreTranslation__12CTransform4fCFRC12CTransform4f -/* 80347A80 003449E0 38 61 02 4C */ addi r3, r1, 0x24c -/* 80347A84 003449E4 38 81 00 FC */ addi r4, r1, 0xfc -/* 80347A88 003449E8 4B FC B0 ED */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80347A8C 003449EC 3C 60 80 5A */ lis r3, skZero3f@ha -/* 80347A90 003449F0 7F 64 DB 78 */ mr r4, r27 -/* 80347A94 003449F4 38 C3 66 A0 */ addi r6, r3, skZero3f@l -/* 80347A98 003449F8 38 61 02 4C */ addi r3, r1, 0x24c -/* 80347A9C 003449FC C0 46 00 00 */ lfs f2, 0(r6) -/* 80347AA0 00344A00 38 A0 00 00 */ li r5, 0 -/* 80347AA4 00344A04 C0 26 00 04 */ lfs f1, 4(r6) -/* 80347AA8 00344A08 C0 06 00 08 */ lfs f0, 8(r6) -/* 80347AAC 00344A0C D0 41 02 58 */ stfs f2, 0x258(r1) -/* 80347AB0 00344A10 D0 21 02 68 */ stfs f1, 0x268(r1) -/* 80347AB4 00344A14 D0 01 02 78 */ stfs f0, 0x278(r1) -/* 80347AB8 00344A18 48 03 49 D9 */ bl GXLoadTexMtxImm -/* 80347ABC 00344A1C 7F C4 F3 78 */ mr r4, r30 -/* 80347AC0 00344A20 38 7F 00 00 */ addi r3, r31, 0 -/* 80347AC4 00344A24 38 A0 00 00 */ li r5, 0 -/* 80347AC8 00344A28 48 03 49 C9 */ bl GXLoadTexMtxImm -/* 80347ACC 00344A2C 38 60 00 01 */ li r3, 1 -/* 80347AD0 00344A30 48 00 05 14 */ b lbl_80347FE4 -/* 80347AD4 00344A34 3C 80 80 5A */ lis r4, lbl_805A61D4@ha -/* 80347AD8 00344A38 38 61 00 6C */ addi r3, r1, 0x6c -/* 80347ADC 00344A3C 38 84 61 D4 */ addi r4, r4, lbl_805A61D4@l -/* 80347AE0 00344A40 4B FC B1 BD */ bl GetQuickInverse__12CTransform4fCFv -/* 80347AE4 00344A44 3C 80 80 5A */ lis r4, lbl_805A6204@ha -/* 80347AE8 00344A48 38 61 00 9C */ addi r3, r1, 0x9c -/* 80347AEC 00344A4C 38 A4 62 04 */ addi r5, r4, lbl_805A6204@l -/* 80347AF0 00344A50 38 81 00 6C */ addi r4, r1, 0x6c -/* 80347AF4 00344A54 4B FC AE 5D */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 80347AF8 00344A58 38 61 02 1C */ addi r3, r1, 0x21c -/* 80347AFC 00344A5C 38 81 00 9C */ addi r4, r1, 0x9c -/* 80347B00 00344A60 4B FC B0 75 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80347B04 00344A64 7F 64 DB 78 */ mr r4, r27 -/* 80347B08 00344A68 38 61 02 1C */ addi r3, r1, 0x21c -/* 80347B0C 00344A6C 38 A0 00 00 */ li r5, 0 -/* 80347B10 00344A70 48 03 49 81 */ bl GXLoadTexMtxImm -/* 80347B14 00344A74 7F C4 F3 78 */ mr r4, r30 -/* 80347B18 00344A78 38 7F 00 00 */ addi r3, r31, 0 -/* 80347B1C 00344A7C 38 A0 00 00 */ li r5, 0 -/* 80347B20 00344A80 48 03 49 71 */ bl GXLoadTexMtxImm -/* 80347B24 00344A84 38 60 00 01 */ li r3, 1 -/* 80347B28 00344A88 48 00 04 BC */ b lbl_80347FE4 -/* 80347B2C 00344A8C C3 FC 00 04 */ lfs f31, 4(r28) -/* 80347B30 00344A90 C3 DC 00 08 */ lfs f30, 8(r28) -/* 80347B34 00344A94 C3 BC 00 0C */ lfs f29, 0xc(r28) -/* 80347B38 00344A98 C3 9C 00 10 */ lfs f28, 0x10(r28) -/* 80347B3C 00344A9C 4B FC 23 A5 */ bl GetSecondsMod900__9CGraphicsFv -/* 80347B40 00344AA0 EC 41 FF 7A */ fmadds f2, f1, f29, f31 -/* 80347B44 00344AA4 3C 60 80 3F */ lis r3, lbl_803EF610@ha -/* 80347B48 00344AA8 EC 01 F7 3A */ fmadds f0, f1, f28, f30 -/* 80347B4C 00344AAC 38 63 F6 10 */ addi r3, r3, lbl_803EF610@l -/* 80347B50 00344AB0 7F 64 DB 78 */ mr r4, r27 -/* 80347B54 00344AB4 38 A0 00 00 */ li r5, 0 -/* 80347B58 00344AB8 D0 43 00 0C */ stfs f2, 0xc(r3) -/* 80347B5C 00344ABC D0 03 00 1C */ stfs f0, 0x1c(r3) -/* 80347B60 00344AC0 48 03 49 31 */ bl GXLoadTexMtxImm -/* 80347B64 00344AC4 38 60 00 05 */ li r3, 5 -/* 80347B68 00344AC8 48 00 04 7C */ b lbl_80347FE4 -/* 80347B6C 00344ACC C3 9C 00 04 */ lfs f28, 4(r28) -/* 80347B70 00344AD0 C3 BC 00 08 */ lfs f29, 8(r28) -/* 80347B74 00344AD4 4B FC 23 6D */ bl GetSecondsMod900__9CGraphicsFv -/* 80347B78 00344AD8 EF 81 E7 7A */ fmadds f28, f1, f29, f28 -/* 80347B7C 00344ADC FC 20 E0 90 */ fmr f1, f28 -/* 80347B80 00344AE0 4B FC D2 71 */ bl FastSinR__5CMathFf -/* 80347B84 00344AE4 FF E0 08 90 */ fmr f31, f1 -/* 80347B88 00344AE8 FC 20 E0 90 */ fmr f1, f28 -/* 80347B8C 00344AEC 4B FC D1 B9 */ bl FastCosR__5CMathFf -/* 80347B90 00344AF0 EC 41 F8 28 */ fsubs f2, f1, f31 -/* 80347B94 00344AF4 C0 62 CB E8 */ lfs f3, lbl_805AE908@sda21(r2) -/* 80347B98 00344AF8 EC 1F 08 2A */ fadds f0, f31, f1 -/* 80347B9C 00344AFC 80 7F 00 30 */ lwz r3, 0x30(r31) -/* 80347BA0 00344B00 80 BF 00 34 */ lwz r5, 0x34(r31) -/* 80347BA4 00344B04 FC A0 F8 50 */ fneg f5, f31 -/* 80347BA8 00344B08 EC 43 10 28 */ fsubs f2, f3, f2 -/* 80347BAC 00344B0C C0 82 CB FC */ lfs f4, lbl_805AE91C@sda21(r2) -/* 80347BB0 00344B10 EC 03 00 28 */ fsubs f0, f3, f0 -/* 80347BB4 00344B14 81 1F 00 3C */ lwz r8, 0x3c(r31) -/* 80347BB8 00344B18 80 FF 00 40 */ lwz r7, 0x40(r31) -/* 80347BBC 00344B1C 7F 64 DB 78 */ mr r4, r27 -/* 80347BC0 00344B20 80 DF 00 44 */ lwz r6, 0x44(r31) -/* 80347BC4 00344B24 EC 44 00 B2 */ fmuls f2, f4, f2 -/* 80347BC8 00344B28 80 1F 00 4C */ lwz r0, 0x4c(r31) -/* 80347BCC 00344B2C EC 04 00 32 */ fmuls f0, f4, f0 -/* 80347BD0 00344B30 90 61 01 EC */ stw r3, 0x1ec(r1) -/* 80347BD4 00344B34 38 61 01 EC */ addi r3, r1, 0x1ec -/* 80347BD8 00344B38 81 5F 00 38 */ lwz r10, 0x38(r31) -/* 80347BDC 00344B3C 90 A1 01 F0 */ stw r5, 0x1f0(r1) -/* 80347BE0 00344B40 38 A0 00 00 */ li r5, 0 -/* 80347BE4 00344B44 81 3F 00 48 */ lwz r9, 0x48(r31) -/* 80347BE8 00344B48 91 01 01 F8 */ stw r8, 0x1f8(r1) -/* 80347BEC 00344B4C 81 1F 00 50 */ lwz r8, 0x50(r31) -/* 80347BF0 00344B50 90 E1 01 FC */ stw r7, 0x1fc(r1) -/* 80347BF4 00344B54 80 FF 00 54 */ lwz r7, 0x54(r31) -/* 80347BF8 00344B58 90 C1 02 00 */ stw r6, 0x200(r1) -/* 80347BFC 00344B5C 80 DF 00 58 */ lwz r6, 0x58(r31) -/* 80347C00 00344B60 90 01 02 08 */ stw r0, 0x208(r1) -/* 80347C04 00344B64 80 1F 00 5C */ lwz r0, 0x5c(r31) -/* 80347C08 00344B68 91 41 01 F4 */ stw r10, 0x1f4(r1) -/* 80347C0C 00344B6C 91 21 02 04 */ stw r9, 0x204(r1) -/* 80347C10 00344B70 91 01 02 0C */ stw r8, 0x20c(r1) -/* 80347C14 00344B74 90 E1 02 10 */ stw r7, 0x210(r1) -/* 80347C18 00344B78 90 C1 02 14 */ stw r6, 0x214(r1) -/* 80347C1C 00344B7C 90 01 02 18 */ stw r0, 0x218(r1) -/* 80347C20 00344B80 D0 21 01 EC */ stfs f1, 0x1ec(r1) -/* 80347C24 00344B84 D0 A1 01 F0 */ stfs f5, 0x1f0(r1) -/* 80347C28 00344B88 D0 41 01 F8 */ stfs f2, 0x1f8(r1) -/* 80347C2C 00344B8C D3 E1 01 FC */ stfs f31, 0x1fc(r1) -/* 80347C30 00344B90 D0 21 02 00 */ stfs f1, 0x200(r1) -/* 80347C34 00344B94 D0 01 02 08 */ stfs f0, 0x208(r1) -/* 80347C38 00344B98 48 03 48 59 */ bl GXLoadTexMtxImm -/* 80347C3C 00344B9C 38 60 00 03 */ li r3, 3 -/* 80347C40 00344BA0 48 00 03 A4 */ b lbl_80347FE4 -/* 80347C44 00344BA4 C3 9C 00 04 */ lfs f28, 4(r28) -/* 80347C48 00344BA8 C3 BC 00 08 */ lfs f29, 8(r28) -/* 80347C4C 00344BAC C3 DC 00 0C */ lfs f30, 0xc(r28) -/* 80347C50 00344BB0 C3 7C 00 10 */ lfs f27, 0x10(r28) -/* 80347C54 00344BB4 4B FC 22 8D */ bl GetSecondsMod900__9CGraphicsFv -/* 80347C58 00344BB8 EC 1B 08 2A */ fadds f0, f27, f1 -/* 80347C5C 00344BBC 3C 60 43 30 */ lis r3, 0x4330 -/* 80347C60 00344BC0 C0 42 CB E8 */ lfs f2, lbl_805AE908@sda21(r2) -/* 80347C64 00344BC4 90 61 02 88 */ stw r3, 0x288(r1) -/* 80347C68 00344BC8 EC 1C 00 32 */ fmuls f0, f28, f0 -/* 80347C6C 00344BCC C8 22 CC 10 */ lfd f1, lbl_805AE930@sda21(r2) -/* 80347C70 00344BD0 EC 7E 00 32 */ fmuls f3, f30, f0 -/* 80347C74 00344BD4 EC 03 00 B2 */ fmuls f0, f3, f2 -/* 80347C78 00344BD8 FC 00 00 1E */ fctiwz f0, f0 -/* 80347C7C 00344BDC D8 01 02 80 */ stfd f0, 0x280(r1) -/* 80347C80 00344BE0 80 01 02 84 */ lwz r0, 0x284(r1) -/* 80347C84 00344BE4 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 80347C88 00344BE8 90 01 02 8C */ stw r0, 0x28c(r1) -/* 80347C8C 00344BEC C8 01 02 88 */ lfd f0, 0x288(r1) -/* 80347C90 00344BF0 EC 00 08 28 */ fsubs f0, f0, f1 -/* 80347C94 00344BF4 EC 00 18 BC */ fnmsubs f0, f0, f2, f3 -/* 80347C98 00344BF8 EF E0 07 72 */ fmuls f31, f0, f29 -/* 80347C9C 00344BFC F3 E1 D0 08 */ psq_st f31, 8(r1), 1, qr5 -/* 80347CA0 00344C00 28 0F 00 04 */ cmplwi r15, 4 -/* 80347CA4 00344C04 A8 01 00 08 */ lha r0, 8(r1) -/* 80347CA8 00344C08 90 61 02 90 */ stw r3, 0x290(r1) -/* 80347CAC 00344C0C 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 80347CB0 00344C10 90 01 02 94 */ stw r0, 0x294(r1) -/* 80347CB4 00344C14 C8 01 02 90 */ lfd f0, 0x290(r1) -/* 80347CB8 00344C18 EC 00 08 28 */ fsubs f0, f0, f1 -/* 80347CBC 00344C1C EC 20 07 B2 */ fmuls f1, f0, f30 -/* 80347CC0 00344C20 40 82 00 1C */ bne lbl_80347CDC -/* 80347CC4 00344C24 3C 60 80 3F */ lis r3, lbl_803EF610@ha -/* 80347CC8 00344C28 C0 02 CB DC */ lfs f0, lbl_805AE8FC@sda21(r2) -/* 80347CCC 00344C2C 38 63 F6 10 */ addi r3, r3, lbl_803EF610@l -/* 80347CD0 00344C30 D0 23 00 0C */ stfs f1, 0xc(r3) -/* 80347CD4 00344C34 D0 03 00 1C */ stfs f0, 0x1c(r3) -/* 80347CD8 00344C38 48 00 00 18 */ b lbl_80347CF0 -lbl_80347CDC: -/* 80347CDC 00344C3C 3C 60 80 3F */ lis r3, lbl_803EF610@ha -/* 80347CE0 00344C40 C0 02 CB DC */ lfs f0, lbl_805AE8FC@sda21(r2) -/* 80347CE4 00344C44 38 63 F6 10 */ addi r3, r3, lbl_803EF610@l -/* 80347CE8 00344C48 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 80347CEC 00344C4C D0 23 00 1C */ stfs f1, 0x1c(r3) -lbl_80347CF0: -/* 80347CF0 00344C50 3C 60 80 3F */ lis r3, lbl_803EF610@ha -/* 80347CF4 00344C54 7F 64 DB 78 */ mr r4, r27 -/* 80347CF8 00344C58 38 63 F6 10 */ addi r3, r3, lbl_803EF610@l -/* 80347CFC 00344C5C 38 A0 00 00 */ li r5, 0 -/* 80347D00 00344C60 48 03 47 91 */ bl GXLoadTexMtxImm -/* 80347D04 00344C64 38 60 00 05 */ li r3, 5 -/* 80347D08 00344C68 48 00 02 DC */ b lbl_80347FE4 -/* 80347D0C 00344C6C 3C 60 80 5A */ lis r3, lbl_805A6204@ha -/* 80347D10 00344C70 83 9F 00 60 */ lwz r28, 0x60(r31) -/* 80347D14 00344C74 3B 63 62 04 */ addi r27, r3, lbl_805A6204@l -/* 80347D18 00344C78 83 BF 00 64 */ lwz r29, 0x64(r31) -/* 80347D1C 00344C7C C0 42 CB D8 */ lfs f2, lbl_805AE8F8@sda21(r2) -/* 80347D20 00344C80 38 61 01 BC */ addi r3, r1, 0x1bc -/* 80347D24 00344C84 C0 3B 00 0C */ lfs f1, 0xc(r27) -/* 80347D28 00344C88 38 A0 00 00 */ li r5, 0 -/* 80347D2C 00344C8C C0 1B 00 1C */ lfs f0, 0x1c(r27) -/* 80347D30 00344C90 81 9F 00 68 */ lwz r12, 0x68(r31) -/* 80347D34 00344C94 EC 22 00 72 */ fmuls f1, f2, f1 -/* 80347D38 00344C98 81 5F 00 70 */ lwz r10, 0x70(r31) -/* 80347D3C 00344C9C EC 02 00 32 */ fmuls f0, f2, f0 -/* 80347D40 00344CA0 81 3F 00 74 */ lwz r9, 0x74(r31) -/* 80347D44 00344CA4 81 1F 00 78 */ lwz r8, 0x78(r31) -/* 80347D48 00344CA8 80 FF 00 80 */ lwz r7, 0x80(r31) -/* 80347D4C 00344CAC 80 DF 00 84 */ lwz r6, 0x84(r31) -/* 80347D50 00344CB0 80 1F 00 88 */ lwz r0, 0x88(r31) -/* 80347D54 00344CB4 81 7F 00 9C */ lwz r11, 0x9c(r31) -/* 80347D58 00344CB8 82 FF 00 AC */ lwz r23, 0xac(r31) -/* 80347D5C 00344CBC 91 61 01 98 */ stw r11, 0x198(r1) -/* 80347D60 00344CC0 81 7F 00 6C */ lwz r11, 0x6c(r31) -/* 80347D64 00344CC4 92 E1 01 A8 */ stw r23, 0x1a8(r1) -/* 80347D68 00344CC8 81 FF 00 7C */ lwz r15, 0x7c(r31) -/* 80347D6C 00344CCC 82 1F 00 8C */ lwz r16, 0x8c(r31) -/* 80347D70 00344CD0 82 3F 00 90 */ lwz r17, 0x90(r31) -/* 80347D74 00344CD4 82 5F 00 94 */ lwz r18, 0x94(r31) -/* 80347D78 00344CD8 82 7F 00 98 */ lwz r19, 0x98(r31) -/* 80347D7C 00344CDC 82 9F 00 A0 */ lwz r20, 0xa0(r31) -/* 80347D80 00344CE0 82 BF 00 A4 */ lwz r21, 0xa4(r31) -/* 80347D84 00344CE4 82 DF 00 A8 */ lwz r22, 0xa8(r31) -/* 80347D88 00344CE8 82 FF 00 B0 */ lwz r23, 0xb0(r31) -/* 80347D8C 00344CEC 83 5F 00 B4 */ lwz r26, 0xb4(r31) -/* 80347D90 00344CF0 83 3F 00 B8 */ lwz r25, 0xb8(r31) -/* 80347D94 00344CF4 83 1F 00 BC */ lwz r24, 0xbc(r31) -/* 80347D98 00344CF8 93 81 01 BC */ stw r28, 0x1bc(r1) -/* 80347D9C 00344CFC C1 5B 00 00 */ lfs f10, 0(r27) -/* 80347DA0 00344D00 93 A1 01 C0 */ stw r29, 0x1c0(r1) -/* 80347DA4 00344D04 C1 3B 00 04 */ lfs f9, 4(r27) -/* 80347DA8 00344D08 91 81 01 C4 */ stw r12, 0x1c4(r1) -/* 80347DAC 00344D0C C1 1B 00 08 */ lfs f8, 8(r27) -/* 80347DB0 00344D10 91 41 01 CC */ stw r10, 0x1cc(r1) -/* 80347DB4 00344D14 C0 FB 00 10 */ lfs f7, 0x10(r27) -/* 80347DB8 00344D18 91 21 01 D0 */ stw r9, 0x1d0(r1) -/* 80347DBC 00344D1C C0 DB 00 14 */ lfs f6, 0x14(r27) -/* 80347DC0 00344D20 91 01 01 D4 */ stw r8, 0x1d4(r1) -/* 80347DC4 00344D24 C0 BB 00 18 */ lfs f5, 0x18(r27) -/* 80347DC8 00344D28 90 E1 01 DC */ stw r7, 0x1dc(r1) -/* 80347DCC 00344D2C C0 9B 00 20 */ lfs f4, 0x20(r27) -/* 80347DD0 00344D30 90 C1 01 E0 */ stw r6, 0x1e0(r1) -/* 80347DD4 00344D34 C0 7B 00 24 */ lfs f3, 0x24(r27) -/* 80347DD8 00344D38 90 01 01 E4 */ stw r0, 0x1e4(r1) -/* 80347DDC 00344D3C C0 5B 00 28 */ lfs f2, 0x28(r27) -/* 80347DE0 00344D40 91 61 01 C8 */ stw r11, 0x1c8(r1) -/* 80347DE4 00344D44 91 E1 01 D8 */ stw r15, 0x1d8(r1) -/* 80347DE8 00344D48 92 01 01 E8 */ stw r16, 0x1e8(r1) -/* 80347DEC 00344D4C D1 41 01 BC */ stfs f10, 0x1bc(r1) -/* 80347DF0 00344D50 D1 21 01 C0 */ stfs f9, 0x1c0(r1) -/* 80347DF4 00344D54 D1 01 01 C4 */ stfs f8, 0x1c4(r1) -/* 80347DF8 00344D58 D0 E1 01 CC */ stfs f7, 0x1cc(r1) -/* 80347DFC 00344D5C D0 C1 01 D0 */ stfs f6, 0x1d0(r1) -/* 80347E00 00344D60 D0 A1 01 D4 */ stfs f5, 0x1d4(r1) -/* 80347E04 00344D64 D0 81 01 DC */ stfs f4, 0x1dc(r1) -/* 80347E08 00344D68 D0 61 01 E0 */ stfs f3, 0x1e0(r1) -/* 80347E0C 00344D6C D0 41 01 E4 */ stfs f2, 0x1e4(r1) -/* 80347E10 00344D70 92 21 01 8C */ stw r17, 0x18c(r1) -/* 80347E14 00344D74 92 41 01 90 */ stw r18, 0x190(r1) -/* 80347E18 00344D78 92 61 01 94 */ stw r19, 0x194(r1) -/* 80347E1C 00344D7C 92 81 01 9C */ stw r20, 0x19c(r1) -/* 80347E20 00344D80 92 A1 01 A0 */ stw r21, 0x1a0(r1) -/* 80347E24 00344D84 92 C1 01 A4 */ stw r22, 0x1a4(r1) -/* 80347E28 00344D88 92 E1 01 AC */ stw r23, 0x1ac(r1) -/* 80347E2C 00344D8C 93 41 01 B0 */ stw r26, 0x1b0(r1) -/* 80347E30 00344D90 93 21 01 B4 */ stw r25, 0x1b4(r1) -/* 80347E34 00344D94 93 01 01 B8 */ stw r24, 0x1b8(r1) -/* 80347E38 00344D98 D0 21 01 98 */ stfs f1, 0x198(r1) -/* 80347E3C 00344D9C D0 01 01 A8 */ stfs f0, 0x1a8(r1) -/* 80347E40 00344DA0 48 03 46 51 */ bl GXLoadTexMtxImm -/* 80347E44 00344DA4 7F C4 F3 78 */ mr r4, r30 -/* 80347E48 00344DA8 38 61 01 8C */ addi r3, r1, 0x18c -/* 80347E4C 00344DAC 38 A0 00 00 */ li r5, 0 -/* 80347E50 00344DB0 48 03 46 41 */ bl GXLoadTexMtxImm -/* 80347E54 00344DB4 38 60 00 01 */ li r3, 1 -/* 80347E58 00344DB8 48 00 01 8C */ b lbl_80347FE4 -/* 80347E5C 00344DBC 3C 80 80 5A */ lis r4, lbl_805A61D4@ha -/* 80347E60 00344DC0 38 61 00 0C */ addi r3, r1, 0xc -/* 80347E64 00344DC4 38 84 61 D4 */ addi r4, r4, lbl_805A61D4@l -/* 80347E68 00344DC8 4B FC AE 35 */ bl GetQuickInverse__12CTransform4fCFv -/* 80347E6C 00344DCC 3C 80 80 5A */ lis r4, lbl_805A6204@ha -/* 80347E70 00344DD0 38 61 00 3C */ addi r3, r1, 0x3c -/* 80347E74 00344DD4 38 A4 62 04 */ addi r5, r4, lbl_805A6204@l -/* 80347E78 00344DD8 38 81 00 0C */ addi r4, r1, 0xc -/* 80347E7C 00344DDC 4B FC B0 B5 */ bl MultiplyIgnoreTranslation__12CTransform4fCFRC12CTransform4f -/* 80347E80 00344DE0 38 61 01 5C */ addi r3, r1, 0x15c -/* 80347E84 00344DE4 38 81 00 3C */ addi r4, r1, 0x3c -/* 80347E88 00344DE8 4B FC AC ED */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80347E8C 00344DEC 3C 60 80 5A */ lis r3, lbl_805A61D4@ha -/* 80347E90 00344DF0 3C C0 43 30 */ lis r6, 0x4330 -/* 80347E94 00344DF4 38 A3 61 D4 */ addi r5, r3, lbl_805A61D4@l -/* 80347E98 00344DF8 81 1F 00 C0 */ lwz r8, 0xc0(r31) -/* 80347E9C 00344DFC C0 25 00 0C */ lfs f1, 0xc(r5) -/* 80347EA0 00344E00 3C 60 80 5A */ lis r3, skZero3f@ha -/* 80347EA4 00344E04 C0 05 00 1C */ lfs f0, 0x1c(r5) -/* 80347EA8 00344E08 38 E3 66 A0 */ addi r7, r3, skZero3f@l -/* 80347EAC 00344E0C 83 5F 00 CC */ lwz r26, 0xcc(r31) -/* 80347EB0 00344E10 7F 64 DB 78 */ mr r4, r27 -/* 80347EB4 00344E14 EC 41 00 2A */ fadds f2, f1, f0 -/* 80347EB8 00344E18 C0 62 CC 0C */ lfs f3, lbl_805AE92C@sda21(r2) -/* 80347EBC 00344E1C C0 22 CB D8 */ lfs f1, lbl_805AE8F8@sda21(r2) -/* 80347EC0 00344E20 38 61 01 5C */ addi r3, r1, 0x15c -/* 80347EC4 00344E24 C0 05 00 2C */ lfs f0, 0x2c(r5) -/* 80347EC8 00344E28 38 A0 00 00 */ li r5, 0 -/* 80347ECC 00344E2C EC 43 00 B2 */ fmuls f2, f3, f2 -/* 80347ED0 00344E30 C0 9C 00 08 */ lfs f4, 8(r28) -/* 80347ED4 00344E34 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80347ED8 00344E38 81 9F 00 D8 */ lwz r12, 0xd8(r31) -/* 80347EDC 00344E3C C0 62 CB E8 */ lfs f3, lbl_805AE908@sda21(r2) -/* 80347EE0 00344E40 EC E4 00 B2 */ fmuls f7, f4, f2 -/* 80347EE4 00344E44 ED 04 00 32 */ fmuls f8, f4, f0 -/* 80347EE8 00344E48 81 7F 00 DC */ lwz r11, 0xdc(r31) -/* 80347EEC 00344E4C C0 C7 00 00 */ lfs f6, 0(r7) -/* 80347EF0 00344E50 EC 27 00 F2 */ fmuls f1, f7, f3 -/* 80347EF4 00344E54 C0 A7 00 04 */ lfs f5, 4(r7) -/* 80347EF8 00344E58 EC 08 00 F2 */ fmuls f0, f8, f3 -/* 80347EFC 00344E5C C0 87 00 08 */ lfs f4, 8(r7) -/* 80347F00 00344E60 FC 20 08 1E */ fctiwz f1, f1 -/* 80347F04 00344E64 83 1F 00 C4 */ lwz r24, 0xc4(r31) -/* 80347F08 00344E68 FC 00 00 1E */ fctiwz f0, f0 -/* 80347F0C 00344E6C 83 3F 00 C8 */ lwz r25, 0xc8(r31) -/* 80347F10 00344E70 83 BF 00 D0 */ lwz r29, 0xd0(r31) -/* 80347F14 00344E74 D8 21 02 90 */ stfd f1, 0x290(r1) -/* 80347F18 00344E78 83 7F 00 D4 */ lwz r27, 0xd4(r31) -/* 80347F1C 00344E7C D8 01 02 80 */ stfd f0, 0x280(r1) -/* 80347F20 00344E80 80 E1 02 94 */ lwz r7, 0x294(r1) -/* 80347F24 00344E84 80 01 02 84 */ lwz r0, 0x284(r1) -/* 80347F28 00344E88 6C E7 80 00 */ xoris r7, r7, 0x8000 -/* 80347F2C 00344E8C 90 C1 02 88 */ stw r6, 0x288(r1) -/* 80347F30 00344E90 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 80347F34 00344E94 C8 42 CC 10 */ lfd f2, lbl_805AE930@sda21(r2) -/* 80347F38 00344E98 90 E1 02 8C */ stw r7, 0x28c(r1) -/* 80347F3C 00344E9C C1 3C 00 04 */ lfs f9, 4(r28) -/* 80347F40 00344EA0 C8 01 02 88 */ lfd f0, 0x288(r1) -/* 80347F44 00344EA4 C0 22 CB FC */ lfs f1, lbl_805AE91C@sda21(r2) -/* 80347F48 00344EA8 EC 00 10 28 */ fsubs f0, f0, f2 -/* 80347F4C 00344EAC 81 5F 00 E0 */ lwz r10, 0xe0(r31) -/* 80347F50 00344EB0 81 3F 00 E4 */ lwz r9, 0xe4(r31) -/* 80347F54 00344EB4 ED 21 02 72 */ fmuls f9, f1, f9 -/* 80347F58 00344EB8 91 01 01 2C */ stw r8, 0x12c(r1) -/* 80347F5C 00344EBC 81 1F 00 E8 */ lwz r8, 0xe8(r31) -/* 80347F60 00344EC0 91 81 01 44 */ stw r12, 0x144(r1) -/* 80347F64 00344EC4 EC 20 38 FC */ fnmsubs f1, f0, f3, f7 -/* 80347F68 00344EC8 80 FF 00 EC */ lwz r7, 0xec(r31) -/* 80347F6C 00344ECC 93 41 01 38 */ stw r26, 0x138(r1) -/* 80347F70 00344ED0 90 01 02 9C */ stw r0, 0x29c(r1) -/* 80347F74 00344ED4 90 C1 02 98 */ stw r6, 0x298(r1) -/* 80347F78 00344ED8 C8 01 02 98 */ lfd f0, 0x298(r1) -/* 80347F7C 00344EDC 91 61 01 48 */ stw r11, 0x148(r1) -/* 80347F80 00344EE0 EC 00 10 28 */ fsubs f0, f0, f2 -/* 80347F84 00344EE4 D0 C1 01 68 */ stfs f6, 0x168(r1) -/* 80347F88 00344EE8 EC 00 40 FC */ fnmsubs f0, f0, f3, f8 -/* 80347F8C 00344EEC D0 A1 01 78 */ stfs f5, 0x178(r1) -/* 80347F90 00344EF0 D0 81 01 88 */ stfs f4, 0x188(r1) -/* 80347F94 00344EF4 93 01 01 30 */ stw r24, 0x130(r1) -/* 80347F98 00344EF8 93 21 01 34 */ stw r25, 0x134(r1) -/* 80347F9C 00344EFC 93 A1 01 3C */ stw r29, 0x13c(r1) -/* 80347FA0 00344F00 93 61 01 40 */ stw r27, 0x140(r1) -/* 80347FA4 00344F04 91 41 01 4C */ stw r10, 0x14c(r1) -/* 80347FA8 00344F08 91 21 01 50 */ stw r9, 0x150(r1) -/* 80347FAC 00344F0C 91 01 01 54 */ stw r8, 0x154(r1) -/* 80347FB0 00344F10 90 E1 01 58 */ stw r7, 0x158(r1) -/* 80347FB4 00344F14 D1 21 01 2C */ stfs f9, 0x12c(r1) -/* 80347FB8 00344F18 D0 21 01 38 */ stfs f1, 0x138(r1) -/* 80347FBC 00344F1C D1 21 01 44 */ stfs f9, 0x144(r1) -/* 80347FC0 00344F20 D0 01 01 48 */ stfs f0, 0x148(r1) -/* 80347FC4 00344F24 48 03 44 CD */ bl GXLoadTexMtxImm -/* 80347FC8 00344F28 7F C4 F3 78 */ mr r4, r30 -/* 80347FCC 00344F2C 38 61 01 2C */ addi r3, r1, 0x12c -/* 80347FD0 00344F30 38 A0 00 00 */ li r5, 0 -/* 80347FD4 00344F34 48 03 44 BD */ bl GXLoadTexMtxImm -/* 80347FD8 00344F38 38 60 00 03 */ li r3, 3 -/* 80347FDC 00344F3C 48 00 00 08 */ b lbl_80347FE4 -lbl_80347FE0: -/* 80347FE0 00344F40 38 60 00 00 */ li r3, 0 -lbl_80347FE4: -/* 80347FE4 00344F44 E3 E1 03 38 */ psq_l f31, 824(r1), 0, qr0 -/* 80347FE8 00344F48 CB E1 03 30 */ lfd f31, 0x330(r1) -/* 80347FEC 00344F4C E3 C1 03 28 */ psq_l f30, 808(r1), 0, qr0 -/* 80347FF0 00344F50 CB C1 03 20 */ lfd f30, 0x320(r1) -/* 80347FF4 00344F54 E3 A1 03 18 */ psq_l f29, 792(r1), 0, qr0 -/* 80347FF8 00344F58 CB A1 03 10 */ lfd f29, 0x310(r1) -/* 80347FFC 00344F5C E3 81 03 08 */ psq_l f28, 776(r1), 0, qr0 -/* 80348000 00344F60 CB 81 03 00 */ lfd f28, 0x300(r1) -/* 80348004 00344F64 E3 61 02 F8 */ psq_l f27, 760(r1), 0, qr0 -/* 80348008 00344F68 CB 61 02 F0 */ lfd f27, 0x2f0(r1) -/* 8034800C 00344F6C B9 E1 02 AC */ lmw r15, 0x2ac(r1) -/* 80348010 00344F70 80 01 03 44 */ lwz r0, 0x344(r1) -/* 80348014 00344F74 7C 08 03 A6 */ mtlr r0 -/* 80348018 00344F78 38 21 03 40 */ addi r1, r1, 0x340 -/* 8034801C 00344F7C 4E 80 00 20 */ blr - -.global HandleTev__FiPCUiPCUib -HandleTev__FiPCUiPCUib: -/* 80348020 00344F80 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80348024 00344F84 7C 08 02 A6 */ mflr r0 -/* 80348028 00344F88 90 01 00 24 */ stw r0, 0x24(r1) -/* 8034802C 00344F8C 54 C0 06 3F */ clrlwi. r0, r6, 0x18 -/* 80348030 00344F90 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80348034 00344F94 7C 9F 23 78 */ mr r31, r4 -/* 80348038 00344F98 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8034803C 00344F9C 7C 7E 1B 78 */ mr r30, r3 -/* 80348040 00344FA0 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80348044 00344FA4 7C BD 2B 78 */ mr r29, r5 -/* 80348048 00344FA8 41 82 00 10 */ beq lbl_80348058 -/* 8034804C 00344FAC 3C 80 00 08 */ lis r4, 0x0007A04F@ha -/* 80348050 00344FB0 38 84 A0 4F */ addi r4, r4, 0x0007A04F@l -/* 80348054 00344FB4 48 00 00 08 */ b lbl_8034805C -lbl_80348058: -/* 80348058 00344FB8 80 9F 00 00 */ lwz r4, 0(r31) -lbl_8034805C: -/* 8034805C 00344FBC 80 BF 00 04 */ lwz r5, 4(r31) -/* 80348060 00344FC0 80 DF 00 08 */ lwz r6, 8(r31) -/* 80348064 00344FC4 80 FF 00 0C */ lwz r7, 0xc(r31) -/* 80348068 00344FC8 4B FB FC 81 */ bl SetStandardDirectTev_Compressed__3CGXF13_GXTevStageIDUiUiUiUi -/* 8034806C 00344FCC 1C BE 00 1C */ mulli r5, r30, 0x1c -/* 80348070 00344FD0 80 DD 00 00 */ lwz r6, 0(r29) -/* 80348074 00344FD4 3C 60 80 5A */ lis r3, lbl_805A53EC@ha -/* 80348078 00344FD8 83 BF 00 10 */ lwz r29, 0x10(r31) -/* 8034807C 00344FDC 54 C4 06 3E */ clrlwi r4, r6, 0x18 -/* 80348080 00344FE0 38 03 53 EC */ addi r0, r3, lbl_805A53EC@l -/* 80348084 00344FE4 7C 60 2A 14 */ add r3, r0, r5 -/* 80348088 00344FE8 54 C5 C6 3E */ rlwinm r5, r6, 0x18, 0x18, 0x1f -/* 8034808C 00344FEC 3B E3 00 68 */ addi r31, r3, 0x68 -/* 80348090 00344FF0 7C 83 23 78 */ mr r3, r4 -/* 80348094 00344FF4 80 1F 00 14 */ lwz r0, 0x14(r31) -/* 80348098 00344FF8 50 C3 04 2E */ rlwimi r3, r6, 0, 0x10, 0x17 -/* 8034809C 00344FFC 57 A6 06 3E */ clrlwi r6, r29, 0x18 -/* 803480A0 00345000 53 A3 82 1E */ rlwimi r3, r29, 0x10, 8, 0xf -/* 803480A4 00345004 7C 00 18 40 */ cmplw r0, r3 -/* 803480A8 00345008 41 82 00 10 */ beq lbl_803480B8 -/* 803480AC 0034500C 90 7F 00 14 */ stw r3, 0x14(r31) -/* 803480B0 00345010 7F C3 F3 78 */ mr r3, r30 -/* 803480B4 00345014 48 03 39 41 */ bl GXSetTevOrder -lbl_803480B8: -/* 803480B8 00345018 88 1F 00 18 */ lbz r0, 0x18(r31) -/* 803480BC 0034501C 57 A4 C6 3E */ rlwinm r4, r29, 0x18, 0x18, 0x1f -/* 803480C0 00345020 7C 04 00 00 */ cmpw r4, r0 -/* 803480C4 00345024 41 82 00 10 */ beq lbl_803480D4 -/* 803480C8 00345028 98 9F 00 18 */ stb r4, 0x18(r31) -/* 803480CC 0034502C 7F C3 F3 78 */ mr r3, r30 -/* 803480D0 00345030 48 03 36 89 */ bl GXSetTevKColorSel -lbl_803480D4: -/* 803480D4 00345034 88 1F 00 19 */ lbz r0, 0x19(r31) -/* 803480D8 00345038 57 A4 86 3E */ rlwinm r4, r29, 0x10, 0x18, 0x1f -/* 803480DC 0034503C 7C 04 00 00 */ cmpw r4, r0 -/* 803480E0 00345040 41 82 00 10 */ beq lbl_803480F0 -/* 803480E4 00345044 98 9F 00 19 */ stb r4, 0x19(r31) -/* 803480E8 00345048 7F C3 F3 78 */ mr r3, r30 -/* 803480EC 0034504C 48 03 36 D9 */ bl GXSetTevKAlphaSel -lbl_803480F0: -/* 803480F0 00345050 80 01 00 24 */ lwz r0, 0x24(r1) -/* 803480F4 00345054 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 803480F8 00345058 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 803480FC 0034505C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80348100 00345060 7C 08 03 A6 */ mtlr r0 -/* 80348104 00345064 38 21 00 20 */ addi r1, r1, 0x20 -/* 80348108 00345068 4E 80 00 20 */ blr - -.global SetupBlendMode__13CCubeMaterialFUiRC11CModelFlagsb -SetupBlendMode__13CCubeMaterialFUiRC11CModelFlagsb: -/* 8034810C 0034506C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80348110 00345070 7C 08 02 A6 */ mflr r0 -/* 80348114 00345074 90 01 00 24 */ stw r0, 0x24(r1) -/* 80348118 00345078 54 A0 06 3F */ clrlwi. r0, r5, 0x18 -/* 8034811C 0034507C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80348120 00345080 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80348124 00345084 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80348128 00345088 54 7D 04 3E */ clrlwi r29, r3, 0x10 -/* 8034812C 0034508C 93 81 00 10 */ stw r28, 0x10(r1) -/* 80348130 00345090 54 7C 84 3E */ srwi r28, r3, 0x10 -/* 80348134 00345094 8B C4 00 00 */ lbz r30, 0(r4) -/* 80348138 00345098 7F DE 07 74 */ extsb r30, r30 -/* 8034813C 0034509C 41 82 00 4C */ beq lbl_80348188 -/* 80348140 003450A0 3C 60 80 5A */ lis r3, lbl_805A53EC@ha -/* 80348144 003450A4 38 83 53 EC */ addi r4, r3, lbl_805A53EC@l -/* 80348148 003450A8 80 04 02 48 */ lwz r0, 0x248(r4) -/* 8034814C 003450AC 28 00 0A 06 */ cmplwi r0, 0xa06 -/* 80348150 003450B0 41 82 00 2C */ beq lbl_8034817C -/* 80348154 003450B4 38 00 0A 06 */ li r0, 0xa06 -/* 80348158 003450B8 38 60 00 06 */ li r3, 6 -/* 8034815C 003450BC 90 04 02 48 */ stw r0, 0x248(r4) -/* 80348160 003450C0 38 80 00 40 */ li r4, 0x40 -/* 80348164 003450C4 38 A0 00 01 */ li r5, 1 -/* 80348168 003450C8 38 C0 00 00 */ li r6, 0 -/* 8034816C 003450CC 38 E0 00 00 */ li r7, 0 -/* 80348170 003450D0 48 03 37 AD */ bl GXSetAlphaCompare -/* 80348174 003450D4 38 60 00 00 */ li r3, 0 -/* 80348178 003450D8 48 03 3E 15 */ bl GXSetZCompLoc -lbl_8034817C: -/* 8034817C 003450DC 3B A0 00 01 */ li r29, 1 -/* 80348180 003450E0 3B 80 00 00 */ li r28, 0 -/* 80348184 003450E4 48 00 00 48 */ b lbl_803481CC -lbl_80348188: -/* 80348188 003450E8 3C 60 80 5A */ lis r3, lbl_805A53EC@ha -/* 8034818C 003450EC 38 A3 53 EC */ addi r5, r3, lbl_805A53EC@l -/* 80348190 003450F0 80 65 02 48 */ lwz r3, 0x248(r5) -/* 80348194 003450F4 3C 03 FF FF */ addis r0, r3, 0xffff -/* 80348198 003450F8 28 00 C8 07 */ cmplwi r0, 0xc807 -/* 8034819C 003450FC 41 82 00 30 */ beq lbl_803481CC -/* 803481A0 00345100 3C 80 00 02 */ lis r4, 0x0001C807@ha -/* 803481A4 00345104 38 60 00 07 */ li r3, 7 -/* 803481A8 00345108 38 04 C8 07 */ addi r0, r4, 0x0001C807@l -/* 803481AC 0034510C 38 80 00 00 */ li r4, 0 -/* 803481B0 00345110 90 05 02 48 */ stw r0, 0x248(r5) -/* 803481B4 00345114 38 A0 00 01 */ li r5, 1 -/* 803481B8 00345118 38 C0 00 07 */ li r6, 7 -/* 803481BC 0034511C 38 E0 00 00 */ li r7, 0 -/* 803481C0 00345120 48 03 37 5D */ bl GXSetAlphaCompare -/* 803481C4 00345124 38 60 00 01 */ li r3, 1 -/* 803481C8 00345128 48 03 3D C5 */ bl GXSetZCompLoc -lbl_803481CC: -/* 803481CC 0034512C 2C 1E 00 04 */ cmpwi r30, 4 -/* 803481D0 00345130 40 81 00 2C */ ble lbl_803481FC -/* 803481D4 00345134 2C 1D 00 01 */ cmpwi r29, 1 -/* 803481D8 00345138 40 82 00 24 */ bne lbl_803481FC -/* 803481DC 0034513C 2C 1C 00 00 */ cmpwi r28, 0 -/* 803481E0 00345140 3B A0 00 04 */ li r29, 4 -/* 803481E4 00345144 40 82 00 18 */ bne lbl_803481FC -/* 803481E8 00345148 2C 1E 00 06 */ cmpwi r30, 6 -/* 803481EC 0034514C 38 00 00 05 */ li r0, 5 -/* 803481F0 00345150 40 81 00 08 */ ble lbl_803481F8 -/* 803481F4 00345154 38 00 00 01 */ li r0, 1 -lbl_803481F8: -/* 803481F8 00345158 7C 1C 03 78 */ mr r28, r0 -lbl_803481FC: -/* 803481FC 0034515C 3C 60 80 5A */ lis r3, lbl_805A53EC@ha -/* 80348200 00345160 57 A0 16 FA */ rlwinm r0, r29, 2, 0x1b, 0x1d -/* 80348204 00345164 3B E3 53 EC */ addi r31, r3, lbl_805A53EC@l -/* 80348208 00345168 60 1E 00 01 */ ori r30, r0, 1 -/* 8034820C 0034516C A0 1F 00 56 */ lhz r0, 0x56(r31) -/* 80348210 00345170 53 9E 2E 34 */ rlwimi r30, r28, 5, 0x18, 0x1a -/* 80348214 00345174 7C 1E 00 40 */ cmplw r30, r0 -/* 80348218 00345178 41 82 00 24 */ beq lbl_8034823C -/* 8034821C 0034517C 7F C3 F3 78 */ mr r3, r30 -/* 80348220 00345180 4B D6 C1 59 */ bl update_fog__3CGXFUi -/* 80348224 00345184 B3 DF 00 56 */ sth r30, 0x56(r31) -/* 80348228 00345188 7F A4 EB 78 */ mr r4, r29 -/* 8034822C 0034518C 7F 85 E3 78 */ mr r5, r28 -/* 80348230 00345190 38 60 00 01 */ li r3, 1 -/* 80348234 00345194 38 C0 00 00 */ li r6, 0 -/* 80348238 00345198 48 03 3C 75 */ bl GXSetBlendMode -lbl_8034823C: -/* 8034823C 0034519C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80348240 003451A0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80348244 003451A4 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80348248 003451A8 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8034824C 003451AC 83 81 00 10 */ lwz r28, 0x10(r1) -/* 80348250 003451B0 7C 08 03 A6 */ mtlr r0 -/* 80348254 003451B4 38 21 00 20 */ addi r1, r1, 0x20 -/* 80348258 003451B8 4E 80 00 20 */ blr - -.global __sinit_CCubeMaterial_cpp -__sinit_CCubeMaterial_cpp: -/* 8034825C 003451BC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80348260 003451C0 7C 08 02 A6 */ mflr r0 -/* 80348264 003451C4 3C 60 80 4C */ lis r3, lbl_804BFF5C@ha -/* 80348268 003451C8 3C 80 80 5A */ lis r4, skIdentity4f@ha -/* 8034826C 003451CC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80348270 003451D0 3C C0 80 4C */ lis r6, lbl_804BFF50@ha -/* 80348274 003451D4 C0 02 CB DC */ lfs f0, lbl_805AE8FC@sda21(r2) -/* 80348278 003451D8 3C A0 80 5A */ lis r5, lbl_805A67B4@ha -/* 8034827C 003451DC 38 63 FF 5C */ addi r3, r3, lbl_804BFF5C@l -/* 80348280 003451E0 38 84 66 70 */ addi r4, r4, skIdentity4f@l -/* 80348284 003451E4 D4 06 FF 50 */ stfsu f0, lbl_804BFF50@l(r6) -/* 80348288 003451E8 D4 05 67 B4 */ stfsu f0, lbl_805A67B4@l(r5) -/* 8034828C 003451EC D0 06 00 04 */ stfs f0, 4(r6) -/* 80348290 003451F0 D0 06 00 08 */ stfs f0, 8(r6) -/* 80348294 003451F4 D0 05 00 04 */ stfs f0, 4(r5) -/* 80348298 003451F8 D0 05 00 08 */ stfs f0, 8(r5) -/* 8034829C 003451FC 4B FC A8 D9 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 803482A0 00345200 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803482A4 00345204 7C 08 03 A6 */ mtlr r0 -/* 803482A8 00345208 38 21 00 10 */ addi r1, r1, 0x10 -/* 803482AC 0034520C 4E 80 00 20 */ blr - -.global GetBounds__12CCubeSurfaceCFv -GetBounds__12CCubeSurfaceCFv: -/* 803482B0 00345210 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803482B4 00345214 7C 08 02 A6 */ mflr r0 -/* 803482B8 00345218 90 01 00 14 */ stw r0, 0x14(r1) -/* 803482BC 0034521C 80 84 00 00 */ lwz r4, 0(r4) -/* 803482C0 00345220 80 04 00 1C */ lwz r0, 0x1c(r4) -/* 803482C4 00345224 28 00 00 00 */ cmplwi r0, 0 -/* 803482C8 00345228 41 82 00 38 */ beq lbl_80348300 -/* 803482CC 0034522C C0 04 00 2C */ lfs f0, 0x2c(r4) -/* 803482D0 00345230 D0 03 00 00 */ stfs f0, 0(r3) -/* 803482D4 00345234 C0 04 00 30 */ lfs f0, 0x30(r4) -/* 803482D8 00345238 D0 03 00 04 */ stfs f0, 4(r3) -/* 803482DC 0034523C C0 04 00 34 */ lfs f0, 0x34(r4) -/* 803482E0 00345240 D0 03 00 08 */ stfs f0, 8(r3) -/* 803482E4 00345244 C0 04 00 38 */ lfs f0, 0x38(r4) -/* 803482E8 00345248 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 803482EC 0034524C C0 04 00 3C */ lfs f0, 0x3c(r4) -/* 803482F0 00345250 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 803482F4 00345254 C0 04 00 40 */ lfs f0, 0x40(r4) -/* 803482F8 00345258 D0 03 00 14 */ stfs f0, 0x14(r3) -/* 803482FC 0034525C 48 00 00 0C */ b lbl_80348308 -lbl_80348300: -/* 80348300 00345260 7C 85 23 78 */ mr r5, r4 -/* 80348304 00345264 4B FF 02 05 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -lbl_80348308: -/* 80348308 00345268 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8034830C 0034526C 7C 08 03 A6 */ mtlr r0 -/* 80348310 00345270 38 21 00 10 */ addi r1, r1, 0x10 -/* 80348314 00345274 4E 80 00 20 */ blr - -.global __sinit_CCubeSurface_cpp -__sinit_CCubeSurface_cpp: -/* 80348318 00345278 C0 22 CC 18 */ lfs f1, lbl_805AE938@sda21(r2) -/* 8034831C 0034527C 3C 60 80 5A */ lis r3, lbl_805A67C0@ha -/* 80348320 00345280 C0 02 CC 1C */ lfs f0, lbl_805AE93C@sda21(r2) -/* 80348324 00345284 D4 23 67 C0 */ stfsu f1, lbl_805A67C0@l(r3) -/* 80348328 00345288 D0 03 00 04 */ stfs f0, 4(r3) -/* 8034832C 0034528C D0 03 00 08 */ stfs f0, 8(r3) -/* 80348330 00345290 4E 80 00 20 */ blr - -.global PutTo__13CCharAnimTimeCFR13COutputStream -PutTo__13CCharAnimTimeCFR13COutputStream: -/* 80348334 00345294 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80348338 00345298 7C 08 02 A6 */ mflr r0 -/* 8034833C 0034529C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80348340 003452A0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80348344 003452A4 7C 9F 23 78 */ mr r31, r4 -/* 80348348 003452A8 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8034834C 003452AC 7C 7E 1B 78 */ mr r30, r3 -/* 80348350 003452B0 C0 03 00 00 */ lfs f0, 0(r3) -/* 80348354 003452B4 7F E3 FB 78 */ mr r3, r31 -/* 80348358 003452B8 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 8034835C 003452BC 80 01 00 10 */ lwz r0, 0x10(r1) -/* 80348360 003452C0 90 01 00 0C */ stw r0, 0xc(r1) -/* 80348364 003452C4 4B FF 71 55 */ bl FlushShiftRegister__13COutputStreamFv -/* 80348368 003452C8 7F E3 FB 78 */ mr r3, r31 -/* 8034836C 003452CC 38 81 00 0C */ addi r4, r1, 0xc -/* 80348370 003452D0 38 A0 00 04 */ li r5, 4 -/* 80348374 003452D4 4B FF 72 35 */ bl DoPut__13COutputStreamFPCvUl -/* 80348378 003452D8 80 1E 00 04 */ lwz r0, 4(r30) -/* 8034837C 003452DC 7F E3 FB 78 */ mr r3, r31 -/* 80348380 003452E0 90 01 00 08 */ stw r0, 8(r1) -/* 80348384 003452E4 4B FF 71 35 */ bl FlushShiftRegister__13COutputStreamFv -/* 80348388 003452E8 7F E3 FB 78 */ mr r3, r31 -/* 8034838C 003452EC 38 81 00 08 */ addi r4, r1, 8 -/* 80348390 003452F0 38 A0 00 04 */ li r5, 4 -/* 80348394 003452F4 4B FF 72 15 */ bl DoPut__13COutputStreamFPCvUl -/* 80348398 003452F8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8034839C 003452FC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 803483A0 00345300 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 803483A4 00345304 7C 08 03 A6 */ mtlr r0 -/* 803483A8 00345308 38 21 00 20 */ addi r1, r1, 0x20 -/* 803483AC 0034530C 4E 80 00 20 */ blr - -.global EqualsZero__13CCharAnimTimeCFv -EqualsZero__13CCharAnimTimeCFv: -/* 803483B0 00345310 80 83 00 04 */ lwz r4, 4(r3) -/* 803483B4 00345314 38 00 00 00 */ li r0, 0 -/* 803483B8 00345318 2C 04 00 01 */ cmpwi r4, 1 -/* 803483BC 0034531C 41 82 00 24 */ beq lbl_803483E0 -/* 803483C0 00345320 2C 04 00 02 */ cmpwi r4, 2 -/* 803483C4 00345324 41 82 00 1C */ beq lbl_803483E0 -/* 803483C8 00345328 2C 04 00 03 */ cmpwi r4, 3 -/* 803483CC 0034532C 41 82 00 14 */ beq lbl_803483E0 -/* 803483D0 00345330 C0 22 CC 20 */ lfs f1, lbl_805AE940@sda21(r2) -/* 803483D4 00345334 C0 03 00 00 */ lfs f0, 0(r3) -/* 803483D8 00345338 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 803483DC 0034533C 40 82 00 08 */ bne lbl_803483E4 -lbl_803483E0: -/* 803483E0 00345340 38 00 00 01 */ li r0, 1 -lbl_803483E4: -/* 803483E4 00345344 7C 03 03 78 */ mr r3, r0 -/* 803483E8 00345348 4E 80 00 20 */ blr - -.global GreaterThanZero__13CCharAnimTimeCFv -GreaterThanZero__13CCharAnimTimeCFv: -/* 803483EC 0034534C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803483F0 00345350 7C 08 02 A6 */ mflr r0 -/* 803483F4 00345354 90 01 00 14 */ stw r0, 0x14(r1) -/* 803483F8 00345358 93 E1 00 0C */ stw r31, 0xc(r1) -/* 803483FC 0034535C 7C 7F 1B 78 */ mr r31, r3 -/* 80348400 00345360 4B FF FF B1 */ bl EqualsZero__13CCharAnimTimeCFv -/* 80348404 00345364 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80348408 00345368 41 82 00 0C */ beq lbl_80348414 -/* 8034840C 0034536C 38 60 00 00 */ li r3, 0 -/* 80348410 00345370 48 00 00 18 */ b lbl_80348428 -lbl_80348414: -/* 80348414 00345374 C0 3F 00 00 */ lfs f1, 0(r31) -/* 80348418 00345378 C0 02 CC 20 */ lfs f0, lbl_805AE940@sda21(r2) -/* 8034841C 0034537C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80348420 00345380 7C 00 00 26 */ mfcr r0 -/* 80348424 00345384 54 03 17 FE */ rlwinm r3, r0, 2, 0x1f, 0x1f -lbl_80348428: -/* 80348428 00345388 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8034842C 0034538C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80348430 00345390 7C 08 03 A6 */ mtlr r0 -/* 80348434 00345394 38 21 00 10 */ addi r1, r1, 0x10 -/* 80348438 00345398 4E 80 00 20 */ blr - -.global __ge__13CCharAnimTimeCFRC13CCharAnimTime -__ge__13CCharAnimTimeCFRC13CCharAnimTime: -/* 8034843C 0034539C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80348440 003453A0 7C 08 02 A6 */ mflr r0 -/* 80348444 003453A4 90 01 00 24 */ stw r0, 0x24(r1) -/* 80348448 003453A8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8034844C 003453AC 3B E0 00 00 */ li r31, 0 -/* 80348450 003453B0 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80348454 003453B4 7C 9E 23 78 */ mr r30, r4 -/* 80348458 003453B8 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8034845C 003453BC 7C 7D 1B 78 */ mr r29, r3 -/* 80348460 003453C0 48 00 06 A1 */ bl __eq__13CCharAnimTimeCFRC13CCharAnimTime -/* 80348464 003453C4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80348468 003453C8 40 82 00 18 */ bne lbl_80348480 -/* 8034846C 003453CC 7F A3 EB 78 */ mr r3, r29 -/* 80348470 003453D0 7F C4 F3 78 */ mr r4, r30 -/* 80348474 003453D4 48 00 05 F9 */ bl __gt__13CCharAnimTimeCFRC13CCharAnimTime -/* 80348478 003453D8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8034847C 003453DC 41 82 00 08 */ beq lbl_80348484 -lbl_80348480: -/* 80348480 003453E0 3B E0 00 01 */ li r31, 1 -lbl_80348484: -/* 80348484 003453E4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80348488 003453E8 7F E3 FB 78 */ mr r3, r31 -/* 8034848C 003453EC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80348490 003453F0 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80348494 003453F4 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80348498 003453F8 7C 08 03 A6 */ mtlr r0 -/* 8034849C 003453FC 38 21 00 20 */ addi r1, r1, 0x20 -/* 803484A0 00345400 4E 80 00 20 */ blr - -.global __le__13CCharAnimTimeCFRC13CCharAnimTime -__le__13CCharAnimTimeCFRC13CCharAnimTime: -/* 803484A4 00345404 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 803484A8 00345408 7C 08 02 A6 */ mflr r0 -/* 803484AC 0034540C 90 01 00 24 */ stw r0, 0x24(r1) -/* 803484B0 00345410 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 803484B4 00345414 3B E0 00 00 */ li r31, 0 -/* 803484B8 00345418 93 C1 00 18 */ stw r30, 0x18(r1) -/* 803484BC 0034541C 7C 9E 23 78 */ mr r30, r4 -/* 803484C0 00345420 93 A1 00 14 */ stw r29, 0x14(r1) -/* 803484C4 00345424 7C 7D 1B 78 */ mr r29, r3 -/* 803484C8 00345428 48 00 06 39 */ bl __eq__13CCharAnimTimeCFRC13CCharAnimTime -/* 803484CC 0034542C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 803484D0 00345430 40 82 00 18 */ bne lbl_803484E8 -/* 803484D4 00345434 7F A3 EB 78 */ mr r3, r29 -/* 803484D8 00345438 7F C4 F3 78 */ mr r4, r30 -/* 803484DC 0034543C 48 00 07 61 */ bl __lt__13CCharAnimTimeCFRC13CCharAnimTime -/* 803484E0 00345440 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 803484E4 00345444 41 82 00 08 */ beq lbl_803484EC -lbl_803484E8: -/* 803484E8 00345448 3B E0 00 01 */ li r31, 1 -lbl_803484EC: -/* 803484EC 0034544C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 803484F0 00345450 7F E3 FB 78 */ mr r3, r31 -/* 803484F4 00345454 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 803484F8 00345458 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 803484FC 0034545C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80348500 00345460 7C 08 03 A6 */ mtlr r0 -/* 80348504 00345464 38 21 00 20 */ addi r1, r1, 0x20 -/* 80348508 00345468 4E 80 00 20 */ blr - -.global __ami__13CCharAnimTimeFRC13CCharAnimTime -__ami__13CCharAnimTimeFRC13CCharAnimTime: -/* 8034850C 0034546C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80348510 00345470 7C 08 02 A6 */ mflr r0 -/* 80348514 00345474 7C 85 23 78 */ mr r5, r4 -/* 80348518 00345478 90 01 00 24 */ stw r0, 0x24(r1) -/* 8034851C 0034547C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80348520 00345480 7C 7F 1B 78 */ mr r31, r3 -/* 80348524 00345484 7F E4 FB 78 */ mr r4, r31 -/* 80348528 00345488 38 61 00 08 */ addi r3, r1, 8 -/* 8034852C 0034548C 48 00 02 39 */ bl __mi__13CCharAnimTimeCFRC13CCharAnimTime -/* 80348530 00345490 C0 01 00 08 */ lfs f0, 8(r1) -/* 80348534 00345494 7F E3 FB 78 */ mr r3, r31 -/* 80348538 00345498 D0 1F 00 00 */ stfs f0, 0(r31) -/* 8034853C 0034549C 80 01 00 0C */ lwz r0, 0xc(r1) -/* 80348540 003454A0 90 1F 00 04 */ stw r0, 4(r31) -/* 80348544 003454A4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80348548 003454A8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8034854C 003454AC 7C 08 03 A6 */ mtlr r0 -/* 80348550 003454B0 38 21 00 20 */ addi r1, r1, 0x20 -/* 80348554 003454B4 4E 80 00 20 */ blr - -.global __apl__13CCharAnimTimeFRC13CCharAnimTime -__apl__13CCharAnimTimeFRC13CCharAnimTime: -/* 80348558 003454B8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8034855C 003454BC 7C 08 02 A6 */ mflr r0 -/* 80348560 003454C0 7C 85 23 78 */ mr r5, r4 -/* 80348564 003454C4 90 01 00 24 */ stw r0, 0x24(r1) -/* 80348568 003454C8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8034856C 003454CC 7C 7F 1B 78 */ mr r31, r3 -/* 80348570 003454D0 7F E4 FB 78 */ mr r4, r31 -/* 80348574 003454D4 38 61 00 08 */ addi r3, r1, 8 -/* 80348578 003454D8 48 00 00 2D */ bl __pl__13CCharAnimTimeCFRC13CCharAnimTime -/* 8034857C 003454DC C0 01 00 08 */ lfs f0, 8(r1) -/* 80348580 003454E0 7F E3 FB 78 */ mr r3, r31 -/* 80348584 003454E4 D0 1F 00 00 */ stfs f0, 0(r31) -/* 80348588 003454E8 80 01 00 0C */ lwz r0, 0xc(r1) -/* 8034858C 003454EC 90 1F 00 04 */ stw r0, 4(r31) -/* 80348590 003454F0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80348594 003454F4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80348598 003454F8 7C 08 03 A6 */ mtlr r0 -/* 8034859C 003454FC 38 21 00 20 */ addi r1, r1, 0x20 -/* 803485A0 00345500 4E 80 00 20 */ blr - -.global __pl__13CCharAnimTimeCFRC13CCharAnimTime -__pl__13CCharAnimTimeCFRC13CCharAnimTime: -/* 803485A4 00345504 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 803485A8 00345508 7C 08 02 A6 */ mflr r0 -/* 803485AC 0034550C 90 01 00 24 */ stw r0, 0x24(r1) -/* 803485B0 00345510 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 803485B4 00345514 7C 7F 1B 78 */ mr r31, r3 -/* 803485B8 00345518 93 C1 00 18 */ stw r30, 0x18(r1) -/* 803485BC 0034551C 7C BE 2B 78 */ mr r30, r5 -/* 803485C0 00345520 93 A1 00 14 */ stw r29, 0x14(r1) -/* 803485C4 00345524 7C 9D 23 78 */ mr r29, r4 -/* 803485C8 00345528 80 64 00 04 */ lwz r3, 4(r4) -/* 803485CC 0034552C 2C 03 00 04 */ cmpwi r3, 4 -/* 803485D0 00345530 41 82 00 10 */ beq lbl_803485E0 -/* 803485D4 00345534 80 1E 00 04 */ lwz r0, 4(r30) -/* 803485D8 00345538 2C 00 00 04 */ cmpwi r0, 4 -/* 803485DC 0034553C 40 82 00 7C */ bne lbl_80348658 -lbl_803485E0: -/* 803485E0 00345540 2C 03 00 04 */ cmpwi r3, 4 -/* 803485E4 00345544 40 82 00 44 */ bne lbl_80348628 -/* 803485E8 00345548 80 1E 00 04 */ lwz r0, 4(r30) -/* 803485EC 0034554C 2C 00 00 04 */ cmpwi r0, 4 -/* 803485F0 00345550 40 82 00 38 */ bne lbl_80348628 -/* 803485F4 00345554 C0 1E 00 00 */ lfs f0, 0(r30) -/* 803485F8 00345558 C0 3D 00 00 */ lfs f1, 0(r29) -/* 803485FC 0034555C FC 00 08 00 */ fcmpu cr0, f0, f1 -/* 80348600 00345560 40 82 00 14 */ bne lbl_80348614 -/* 80348604 00345564 D0 3F 00 00 */ stfs f1, 0(r31) -/* 80348608 00345568 80 1D 00 04 */ lwz r0, 4(r29) -/* 8034860C 0034556C 90 1F 00 04 */ stw r0, 4(r31) -/* 80348610 00345570 48 00 01 38 */ b lbl_80348748 -lbl_80348614: -/* 80348614 00345574 C0 0D 9D 80 */ lfs f0, lbl_805A8940@sda21(r13) -/* 80348618 00345578 D0 1F 00 00 */ stfs f0, 0(r31) -/* 8034861C 0034557C 80 0D 9D 7C */ lwz r0, lbl_805A893C@sda21(r13) -/* 80348620 00345580 90 1F 00 04 */ stw r0, 4(r31) -/* 80348624 00345584 48 00 01 24 */ b lbl_80348748 -lbl_80348628: -/* 80348628 00345588 2C 03 00 04 */ cmpwi r3, 4 -/* 8034862C 0034558C 40 82 00 18 */ bne lbl_80348644 -/* 80348630 00345590 C0 1D 00 00 */ lfs f0, 0(r29) -/* 80348634 00345594 D0 1F 00 00 */ stfs f0, 0(r31) -/* 80348638 00345598 80 1D 00 04 */ lwz r0, 4(r29) -/* 8034863C 0034559C 90 1F 00 04 */ stw r0, 4(r31) -/* 80348640 003455A0 48 00 01 08 */ b lbl_80348748 -lbl_80348644: -/* 80348644 003455A4 C0 1E 00 00 */ lfs f0, 0(r30) -/* 80348648 003455A8 D0 1F 00 00 */ stfs f0, 0(r31) -/* 8034864C 003455AC 80 1E 00 04 */ lwz r0, 4(r30) -/* 80348650 003455B0 90 1F 00 04 */ stw r0, 4(r31) -/* 80348654 003455B4 48 00 00 F4 */ b lbl_80348748 -lbl_80348658: -/* 80348658 003455B8 7F A3 EB 78 */ mr r3, r29 -/* 8034865C 003455BC 4B FF FD 55 */ bl EqualsZero__13CCharAnimTimeCFv -/* 80348660 003455C0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80348664 003455C4 41 82 00 D0 */ beq lbl_80348734 -/* 80348668 003455C8 7F C3 F3 78 */ mr r3, r30 -/* 8034866C 003455CC 4B FF FD 45 */ bl EqualsZero__13CCharAnimTimeCFv -/* 80348670 003455D0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80348674 003455D4 41 82 00 C0 */ beq lbl_80348734 -/* 80348678 003455D8 80 1D 00 04 */ lwz r0, 4(r29) -/* 8034867C 003455DC 2C 00 00 03 */ cmpwi r0, 3 -/* 80348680 003455E0 40 82 00 0C */ bne lbl_8034868C -/* 80348684 003455E4 38 60 FF FF */ li r3, -1 -/* 80348688 003455E8 48 00 00 18 */ b lbl_803486A0 -lbl_8034868C: -/* 8034868C 003455EC 2C 00 00 02 */ cmpwi r0, 2 -/* 80348690 003455F0 40 82 00 0C */ bne lbl_8034869C -/* 80348694 003455F4 38 60 00 00 */ li r3, 0 -/* 80348698 003455F8 48 00 00 08 */ b lbl_803486A0 -lbl_8034869C: -/* 8034869C 003455FC 38 60 00 01 */ li r3, 1 -lbl_803486A0: -/* 803486A0 00345600 80 1E 00 04 */ lwz r0, 4(r30) -/* 803486A4 00345604 2C 00 00 03 */ cmpwi r0, 3 -/* 803486A8 00345608 40 82 00 0C */ bne lbl_803486B4 -/* 803486AC 0034560C 38 80 FF FF */ li r4, -1 -/* 803486B0 00345610 48 00 00 18 */ b lbl_803486C8 -lbl_803486B4: -/* 803486B4 00345614 2C 00 00 02 */ cmpwi r0, 2 -/* 803486B8 00345618 40 82 00 0C */ bne lbl_803486C4 -/* 803486BC 0034561C 38 80 00 00 */ li r4, 0 -/* 803486C0 00345620 48 00 00 08 */ b lbl_803486C8 -lbl_803486C4: -/* 803486C4 00345624 38 80 00 01 */ li r4, 1 -lbl_803486C8: -/* 803486C8 00345628 80 0D 9D 8C */ lwz r0, lbl_805A894C@sda21(r13) -/* 803486CC 0034562C 7C 63 22 14 */ add r3, r3, r4 -/* 803486D0 00345630 90 61 00 08 */ stw r3, 8(r1) -/* 803486D4 00345634 38 81 00 08 */ addi r4, r1, 8 -/* 803486D8 00345638 7C 00 18 00 */ cmpw r0, r3 -/* 803486DC 0034563C 40 80 00 08 */ bge lbl_803486E4 -/* 803486E0 00345640 38 8D 9D 8C */ addi r4, r13, lbl_805A894C@sda21 -lbl_803486E4: -/* 803486E4 00345644 80 6D 9D 90 */ lwz r3, lbl_805A8950@sda21(r13) -/* 803486E8 00345648 80 04 00 00 */ lwz r0, 0(r4) -/* 803486EC 0034564C 7C 03 00 00 */ cmpw r3, r0 -/* 803486F0 00345650 40 80 00 08 */ bge lbl_803486F8 -/* 803486F4 00345654 48 00 00 08 */ b lbl_803486FC -lbl_803486F8: -/* 803486F8 00345658 38 8D 9D 90 */ addi r4, r13, lbl_805A8950@sda21 -lbl_803486FC: -/* 803486FC 0034565C 80 04 00 00 */ lwz r0, 0(r4) -/* 80348700 00345660 2C 00 FF FF */ cmpwi r0, -1 -/* 80348704 00345664 40 82 00 0C */ bne lbl_80348710 -/* 80348708 00345668 38 00 00 03 */ li r0, 3 -/* 8034870C 0034566C 48 00 00 18 */ b lbl_80348724 -lbl_80348710: -/* 80348710 00345670 2C 00 00 00 */ cmpwi r0, 0 -/* 80348714 00345674 40 82 00 0C */ bne lbl_80348720 -/* 80348718 00345678 38 00 00 02 */ li r0, 2 -/* 8034871C 0034567C 48 00 00 08 */ b lbl_80348724 -lbl_80348720: -/* 80348720 00345680 38 00 00 01 */ li r0, 1 -lbl_80348724: -/* 80348724 00345684 C0 0D 9D 94 */ lfs f0, lbl_805A8954@sda21(r13) -/* 80348728 00345688 D0 1F 00 00 */ stfs f0, 0(r31) -/* 8034872C 0034568C 90 1F 00 04 */ stw r0, 4(r31) -/* 80348730 00345690 48 00 00 18 */ b lbl_80348748 -lbl_80348734: -/* 80348734 00345694 C0 3D 00 00 */ lfs f1, 0(r29) -/* 80348738 00345698 7F E3 FB 78 */ mr r3, r31 -/* 8034873C 0034569C C0 1E 00 00 */ lfs f0, 0(r30) -/* 80348740 003456A0 EC 21 00 2A */ fadds f1, f1, f0 -/* 80348744 003456A4 48 00 06 A9 */ bl __ct__13CCharAnimTimeFf -lbl_80348748: -/* 80348748 003456A8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8034874C 003456AC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80348750 003456B0 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80348754 003456B4 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80348758 003456B8 7C 08 03 A6 */ mtlr r0 -/* 8034875C 003456BC 38 21 00 20 */ addi r1, r1, 0x20 -/* 80348760 003456C0 4E 80 00 20 */ blr - -.global __mi__13CCharAnimTimeCFRC13CCharAnimTime -__mi__13CCharAnimTimeCFRC13CCharAnimTime: -/* 80348764 003456C4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80348768 003456C8 7C 08 02 A6 */ mflr r0 -/* 8034876C 003456CC 90 01 00 24 */ stw r0, 0x24(r1) -/* 80348770 003456D0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80348774 003456D4 7C BF 2B 78 */ mr r31, r5 -/* 80348778 003456D8 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8034877C 003456DC 7C 9E 23 78 */ mr r30, r4 -/* 80348780 003456E0 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80348784 003456E4 7C 7D 1B 78 */ mr r29, r3 -/* 80348788 003456E8 80 64 00 04 */ lwz r3, 4(r4) -/* 8034878C 003456EC 2C 03 00 04 */ cmpwi r3, 4 -/* 80348790 003456F0 41 82 00 10 */ beq lbl_803487A0 -/* 80348794 003456F4 80 1F 00 04 */ lwz r0, 4(r31) -/* 80348798 003456F8 2C 00 00 04 */ cmpwi r0, 4 -/* 8034879C 003456FC 40 82 00 80 */ bne lbl_8034881C -lbl_803487A0: -/* 803487A0 00345700 2C 03 00 04 */ cmpwi r3, 4 -/* 803487A4 00345704 40 82 00 44 */ bne lbl_803487E8 -/* 803487A8 00345708 80 1F 00 04 */ lwz r0, 4(r31) -/* 803487AC 0034570C 2C 00 00 04 */ cmpwi r0, 4 -/* 803487B0 00345710 40 82 00 38 */ bne lbl_803487E8 -/* 803487B4 00345714 C0 1F 00 00 */ lfs f0, 0(r31) -/* 803487B8 00345718 C0 3E 00 00 */ lfs f1, 0(r30) -/* 803487BC 0034571C FC 00 08 00 */ fcmpu cr0, f0, f1 -/* 803487C0 00345720 40 82 00 18 */ bne lbl_803487D8 -/* 803487C4 00345724 C0 0D 9D 80 */ lfs f0, lbl_805A8940@sda21(r13) -/* 803487C8 00345728 D0 1D 00 00 */ stfs f0, 0(r29) -/* 803487CC 0034572C 80 0D 9D 7C */ lwz r0, lbl_805A893C@sda21(r13) -/* 803487D0 00345730 90 1D 00 04 */ stw r0, 4(r29) -/* 803487D4 00345734 48 00 01 04 */ b lbl_803488D8 -lbl_803487D8: -/* 803487D8 00345738 D0 3D 00 00 */ stfs f1, 0(r29) -/* 803487DC 0034573C 80 1E 00 04 */ lwz r0, 4(r30) -/* 803487E0 00345740 90 1D 00 04 */ stw r0, 4(r29) -/* 803487E4 00345744 48 00 00 F4 */ b lbl_803488D8 -lbl_803487E8: -/* 803487E8 00345748 2C 03 00 04 */ cmpwi r3, 4 -/* 803487EC 0034574C 40 82 00 18 */ bne lbl_80348804 -/* 803487F0 00345750 C0 1E 00 00 */ lfs f0, 0(r30) -/* 803487F4 00345754 D0 1D 00 00 */ stfs f0, 0(r29) -/* 803487F8 00345758 80 1E 00 04 */ lwz r0, 4(r30) -/* 803487FC 0034575C 90 1D 00 04 */ stw r0, 4(r29) -/* 80348800 00345760 48 00 00 D8 */ b lbl_803488D8 -lbl_80348804: -/* 80348804 00345764 C0 1F 00 00 */ lfs f0, 0(r31) -/* 80348808 00345768 FC 00 00 50 */ fneg f0, f0 -/* 8034880C 0034576C D0 1D 00 00 */ stfs f0, 0(r29) -/* 80348810 00345770 80 0D 9D 84 */ lwz r0, lbl_805A8944@sda21(r13) -/* 80348814 00345774 90 1D 00 04 */ stw r0, 4(r29) -/* 80348818 00345778 48 00 00 C0 */ b lbl_803488D8 -lbl_8034881C: -/* 8034881C 0034577C 7F C3 F3 78 */ mr r3, r30 -/* 80348820 00345780 4B FF FB 91 */ bl EqualsZero__13CCharAnimTimeCFv -/* 80348824 00345784 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80348828 00345788 41 82 00 9C */ beq lbl_803488C4 -/* 8034882C 0034578C 7F E3 FB 78 */ mr r3, r31 -/* 80348830 00345790 4B FF FB 81 */ bl EqualsZero__13CCharAnimTimeCFv -/* 80348834 00345794 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80348838 00345798 41 82 00 8C */ beq lbl_803488C4 -/* 8034883C 0034579C 80 1E 00 04 */ lwz r0, 4(r30) -/* 80348840 003457A0 2C 00 00 03 */ cmpwi r0, 3 -/* 80348844 003457A4 40 82 00 0C */ bne lbl_80348850 -/* 80348848 003457A8 38 00 FF FF */ li r0, -1 -/* 8034884C 003457AC 48 00 00 18 */ b lbl_80348864 -lbl_80348850: -/* 80348850 003457B0 2C 00 00 02 */ cmpwi r0, 2 -/* 80348854 003457B4 40 82 00 0C */ bne lbl_80348860 -/* 80348858 003457B8 38 00 00 00 */ li r0, 0 -/* 8034885C 003457BC 48 00 00 08 */ b lbl_80348864 -lbl_80348860: -/* 80348860 003457C0 38 00 00 01 */ li r0, 1 -lbl_80348864: -/* 80348864 003457C4 80 7F 00 04 */ lwz r3, 4(r31) -/* 80348868 003457C8 2C 03 00 03 */ cmpwi r3, 3 -/* 8034886C 003457CC 40 82 00 0C */ bne lbl_80348878 -/* 80348870 003457D0 38 60 FF FF */ li r3, -1 -/* 80348874 003457D4 48 00 00 18 */ b lbl_8034888C -lbl_80348878: -/* 80348878 003457D8 2C 03 00 02 */ cmpwi r3, 2 -/* 8034887C 003457DC 40 82 00 0C */ bne lbl_80348888 -/* 80348880 003457E0 38 60 00 00 */ li r3, 0 -/* 80348884 003457E4 48 00 00 08 */ b lbl_8034888C -lbl_80348888: -/* 80348888 003457E8 38 60 00 01 */ li r3, 1 -lbl_8034888C: -/* 8034888C 003457EC 7C 03 00 50 */ subf r0, r3, r0 -/* 80348890 003457F0 2C 00 FF FF */ cmpwi r0, -1 -/* 80348894 003457F4 40 82 00 0C */ bne lbl_803488A0 -/* 80348898 003457F8 38 00 00 03 */ li r0, 3 -/* 8034889C 003457FC 48 00 00 18 */ b lbl_803488B4 -lbl_803488A0: -/* 803488A0 00345800 2C 00 00 00 */ cmpwi r0, 0 -/* 803488A4 00345804 40 82 00 0C */ bne lbl_803488B0 -/* 803488A8 00345808 38 00 00 02 */ li r0, 2 -/* 803488AC 0034580C 48 00 00 08 */ b lbl_803488B4 -lbl_803488B0: -/* 803488B0 00345810 38 00 00 01 */ li r0, 1 -lbl_803488B4: -/* 803488B4 00345814 C0 0D 9D 88 */ lfs f0, lbl_805A8948@sda21(r13) -/* 803488B8 00345818 D0 1D 00 00 */ stfs f0, 0(r29) -/* 803488BC 0034581C 90 1D 00 04 */ stw r0, 4(r29) -/* 803488C0 00345820 48 00 00 18 */ b lbl_803488D8 -lbl_803488C4: -/* 803488C4 00345824 C0 3E 00 00 */ lfs f1, 0(r30) -/* 803488C8 00345828 7F A3 EB 78 */ mr r3, r29 -/* 803488CC 0034582C C0 1F 00 00 */ lfs f0, 0(r31) -/* 803488D0 00345830 EC 21 00 28 */ fsubs f1, f1, f0 -/* 803488D4 00345834 48 00 05 19 */ bl __ct__13CCharAnimTimeFf -lbl_803488D8: -/* 803488D8 00345838 80 01 00 24 */ lwz r0, 0x24(r1) -/* 803488DC 0034583C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 803488E0 00345840 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 803488E4 00345844 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 803488E8 00345848 7C 08 03 A6 */ mtlr r0 -/* 803488EC 0034584C 38 21 00 20 */ addi r1, r1, 0x20 -/* 803488F0 00345850 4E 80 00 20 */ blr - -.global __ml__13CCharAnimTimeCFRCf -__ml__13CCharAnimTimeCFRCf: -/* 803488F4 00345854 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 803488F8 00345858 7C 08 02 A6 */ mflr r0 -/* 803488FC 0034585C C0 22 CC 20 */ lfs f1, lbl_805AE940@sda21(r2) -/* 80348900 00345860 90 01 00 24 */ stw r0, 0x24(r1) -/* 80348904 00345864 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80348908 00345868 7C BF 2B 78 */ mr r31, r5 -/* 8034890C 0034586C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80348910 00345870 7C 9E 23 78 */ mr r30, r4 -/* 80348914 00345874 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80348918 00345878 7C 7D 1B 78 */ mr r29, r3 -/* 8034891C 0034587C C0 05 00 00 */ lfs f0, 0(r5) -/* 80348920 00345880 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80348924 00345884 40 82 00 18 */ bne lbl_8034893C -/* 80348928 00345888 C0 0D 9D 80 */ lfs f0, lbl_805A8940@sda21(r13) -/* 8034892C 0034588C D0 1D 00 00 */ stfs f0, 0(r29) -/* 80348930 00345890 80 0D 9D 7C */ lwz r0, lbl_805A893C@sda21(r13) -/* 80348934 00345894 90 1D 00 04 */ stw r0, 4(r29) -/* 80348938 00345898 48 00 00 C4 */ b lbl_803489FC -lbl_8034893C: -/* 8034893C 0034589C 7F C3 F3 78 */ mr r3, r30 -/* 80348940 003458A0 4B FF FA 71 */ bl EqualsZero__13CCharAnimTimeCFv -/* 80348944 003458A4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80348948 003458A8 41 82 00 A0 */ beq lbl_803489E8 -/* 8034894C 003458AC C0 3F 00 00 */ lfs f1, 0(r31) -/* 80348950 003458B0 C0 02 CC 20 */ lfs f0, lbl_805AE940@sda21(r2) -/* 80348954 003458B4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80348958 003458B8 40 81 00 18 */ ble lbl_80348970 -/* 8034895C 003458BC C0 1E 00 00 */ lfs f0, 0(r30) -/* 80348960 003458C0 D0 1D 00 00 */ stfs f0, 0(r29) -/* 80348964 003458C4 80 1E 00 04 */ lwz r0, 4(r30) -/* 80348968 003458C8 90 1D 00 04 */ stw r0, 4(r29) -/* 8034896C 003458CC 48 00 00 90 */ b lbl_803489FC -lbl_80348970: -/* 80348970 003458D0 40 80 00 64 */ bge lbl_803489D4 -/* 80348974 003458D4 80 1E 00 04 */ lwz r0, 4(r30) -/* 80348978 003458D8 2C 00 00 03 */ cmpwi r0, 3 -/* 8034897C 003458DC 40 82 00 0C */ bne lbl_80348988 -/* 80348980 003458E0 38 00 FF FF */ li r0, -1 -/* 80348984 003458E4 48 00 00 18 */ b lbl_8034899C -lbl_80348988: -/* 80348988 003458E8 2C 00 00 02 */ cmpwi r0, 2 -/* 8034898C 003458EC 40 82 00 0C */ bne lbl_80348998 -/* 80348990 003458F0 38 00 00 00 */ li r0, 0 -/* 80348994 003458F4 48 00 00 08 */ b lbl_8034899C -lbl_80348998: -/* 80348998 003458F8 38 00 00 01 */ li r0, 1 -lbl_8034899C: -/* 8034899C 003458FC 7C 00 00 D0 */ neg r0, r0 -/* 803489A0 00345900 2C 00 FF FF */ cmpwi r0, -1 -/* 803489A4 00345904 40 82 00 0C */ bne lbl_803489B0 -/* 803489A8 00345908 38 00 00 03 */ li r0, 3 -/* 803489AC 0034590C 48 00 00 18 */ b lbl_803489C4 -lbl_803489B0: -/* 803489B0 00345910 2C 00 00 00 */ cmpwi r0, 0 -/* 803489B4 00345914 40 82 00 0C */ bne lbl_803489C0 -/* 803489B8 00345918 38 00 00 02 */ li r0, 2 -/* 803489BC 0034591C 48 00 00 08 */ b lbl_803489C4 -lbl_803489C0: -/* 803489C0 00345920 38 00 00 01 */ li r0, 1 -lbl_803489C4: -/* 803489C4 00345924 C0 0D 9D 78 */ lfs f0, lbl_805A8938@sda21(r13) -/* 803489C8 00345928 D0 1D 00 00 */ stfs f0, 0(r29) -/* 803489CC 0034592C 90 1D 00 04 */ stw r0, 4(r29) -/* 803489D0 00345930 48 00 00 2C */ b lbl_803489FC -lbl_803489D4: -/* 803489D4 00345934 C0 0D 9D 80 */ lfs f0, lbl_805A8940@sda21(r13) -/* 803489D8 00345938 D0 1D 00 00 */ stfs f0, 0(r29) -/* 803489DC 0034593C 80 0D 9D 7C */ lwz r0, lbl_805A893C@sda21(r13) -/* 803489E0 00345940 90 1D 00 04 */ stw r0, 4(r29) -/* 803489E4 00345944 48 00 00 18 */ b lbl_803489FC -lbl_803489E8: -/* 803489E8 00345948 C0 3E 00 00 */ lfs f1, 0(r30) -/* 803489EC 0034594C 7F A3 EB 78 */ mr r3, r29 -/* 803489F0 00345950 C0 1F 00 00 */ lfs f0, 0(r31) -/* 803489F4 00345954 EC 21 00 32 */ fmuls f1, f1, f0 -/* 803489F8 00345958 48 00 03 F5 */ bl __ct__13CCharAnimTimeFf -lbl_803489FC: -/* 803489FC 0034595C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80348A00 00345960 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80348A04 00345964 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80348A08 00345968 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80348A0C 0034596C 7C 08 03 A6 */ mtlr r0 -/* 80348A10 00345970 38 21 00 20 */ addi r1, r1, 0x20 -/* 80348A14 00345974 4E 80 00 20 */ blr - -.global __dv__13CCharAnimTimeCFRC13CCharAnimTime -__dv__13CCharAnimTimeCFRC13CCharAnimTime: -/* 80348A18 00345978 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80348A1C 0034597C 7C 08 02 A6 */ mflr r0 -/* 80348A20 00345980 90 01 00 14 */ stw r0, 0x14(r1) -/* 80348A24 00345984 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80348A28 00345988 7C 9F 23 78 */ mr r31, r4 -/* 80348A2C 0034598C 93 C1 00 08 */ stw r30, 8(r1) -/* 80348A30 00345990 7C 7E 1B 78 */ mr r30, r3 -/* 80348A34 00345994 4B FF F9 7D */ bl EqualsZero__13CCharAnimTimeCFv -/* 80348A38 00345998 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80348A3C 0034599C 41 82 00 0C */ beq lbl_80348A48 -/* 80348A40 003459A0 C0 22 CC 20 */ lfs f1, lbl_805AE940@sda21(r2) -/* 80348A44 003459A4 48 00 00 10 */ b lbl_80348A54 -lbl_80348A48: -/* 80348A48 003459A8 C0 3E 00 00 */ lfs f1, 0(r30) -/* 80348A4C 003459AC C0 1F 00 00 */ lfs f0, 0(r31) -/* 80348A50 003459B0 EC 21 00 24 */ fdivs f1, f1, f0 -lbl_80348A54: -/* 80348A54 003459B4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80348A58 003459B8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80348A5C 003459BC 83 C1 00 08 */ lwz r30, 8(r1) -/* 80348A60 003459C0 7C 08 03 A6 */ mtlr r0 -/* 80348A64 003459C4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80348A68 003459C8 4E 80 00 20 */ blr - -.global __gt__13CCharAnimTimeCFRC13CCharAnimTime -__gt__13CCharAnimTimeCFRC13CCharAnimTime: -/* 80348A6C 003459CC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80348A70 003459D0 7C 08 02 A6 */ mflr r0 -/* 80348A74 003459D4 90 01 00 24 */ stw r0, 0x24(r1) -/* 80348A78 003459D8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80348A7C 003459DC 3B E0 00 00 */ li r31, 0 -/* 80348A80 003459E0 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80348A84 003459E4 7C 9E 23 78 */ mr r30, r4 -/* 80348A88 003459E8 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80348A8C 003459EC 7C 7D 1B 78 */ mr r29, r3 -/* 80348A90 003459F0 48 00 00 71 */ bl __eq__13CCharAnimTimeCFRC13CCharAnimTime -/* 80348A94 003459F4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80348A98 003459F8 40 82 00 1C */ bne lbl_80348AB4 -/* 80348A9C 003459FC 7F A3 EB 78 */ mr r3, r29 -/* 80348AA0 00345A00 7F C4 F3 78 */ mr r4, r30 -/* 80348AA4 00345A04 48 00 01 99 */ bl __lt__13CCharAnimTimeCFRC13CCharAnimTime -/* 80348AA8 00345A08 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80348AAC 00345A0C 40 82 00 08 */ bne lbl_80348AB4 -/* 80348AB0 00345A10 3B E0 00 01 */ li r31, 1 -lbl_80348AB4: -/* 80348AB4 00345A14 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80348AB8 00345A18 7F E3 FB 78 */ mr r3, r31 -/* 80348ABC 00345A1C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80348AC0 00345A20 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80348AC4 00345A24 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80348AC8 00345A28 7C 08 03 A6 */ mtlr r0 -/* 80348ACC 00345A2C 38 21 00 20 */ addi r1, r1, 0x20 -/* 80348AD0 00345A30 4E 80 00 20 */ blr - -.global __ne__13CCharAnimTimeCFRC13CCharAnimTime -__ne__13CCharAnimTimeCFRC13CCharAnimTime: -/* 80348AD4 00345A34 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80348AD8 00345A38 7C 08 02 A6 */ mflr r0 -/* 80348ADC 00345A3C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80348AE0 00345A40 48 00 00 21 */ bl __eq__13CCharAnimTimeCFRC13CCharAnimTime -/* 80348AE4 00345A44 54 60 06 3E */ clrlwi r0, r3, 0x18 -/* 80348AE8 00345A48 7C 00 00 34 */ cntlzw r0, r0 -/* 80348AEC 00345A4C 54 03 D9 7E */ srwi r3, r0, 5 -/* 80348AF0 00345A50 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80348AF4 00345A54 7C 08 03 A6 */ mtlr r0 -/* 80348AF8 00345A58 38 21 00 10 */ addi r1, r1, 0x10 -/* 80348AFC 00345A5C 4E 80 00 20 */ blr - -.global __eq__13CCharAnimTimeCFRC13CCharAnimTime -__eq__13CCharAnimTimeCFRC13CCharAnimTime: -/* 80348B00 00345A60 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80348B04 00345A64 7C 08 02 A6 */ mflr r0 -/* 80348B08 00345A68 90 01 00 14 */ stw r0, 0x14(r1) -/* 80348B0C 00345A6C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80348B10 00345A70 7C 9F 23 78 */ mr r31, r4 -/* 80348B14 00345A74 93 C1 00 08 */ stw r30, 8(r1) -/* 80348B18 00345A78 7C 7E 1B 78 */ mr r30, r3 -/* 80348B1C 00345A7C 80 03 00 04 */ lwz r0, 4(r3) -/* 80348B20 00345A80 2C 00 00 00 */ cmpwi r0, 0 -/* 80348B24 00345A84 40 82 00 4C */ bne lbl_80348B70 -/* 80348B28 00345A88 80 1F 00 04 */ lwz r0, 4(r31) -/* 80348B2C 00345A8C 2C 00 00 00 */ cmpwi r0, 0 -/* 80348B30 00345A90 40 82 00 1C */ bne lbl_80348B4C -/* 80348B34 00345A94 C0 3E 00 00 */ lfs f1, 0(r30) -/* 80348B38 00345A98 C0 1F 00 00 */ lfs f0, 0(r31) -/* 80348B3C 00345A9C FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80348B40 00345AA0 7C 00 00 26 */ mfcr r0 -/* 80348B44 00345AA4 54 03 1F FE */ rlwinm r3, r0, 3, 0x1f, 0x1f -/* 80348B48 00345AA8 48 00 00 DC */ b lbl_80348C24 -lbl_80348B4C: -/* 80348B4C 00345AAC 7F E3 FB 78 */ mr r3, r31 -/* 80348B50 00345AB0 4B FF F8 61 */ bl EqualsZero__13CCharAnimTimeCFv -/* 80348B54 00345AB4 54 64 06 3E */ clrlwi r4, r3, 0x18 -/* 80348B58 00345AB8 38 00 00 00 */ li r0, 0 -/* 80348B5C 00345ABC 7C 64 00 D0 */ neg r3, r4 -/* 80348B60 00345AC0 7C 63 23 78 */ or r3, r3, r4 -/* 80348B64 00345AC4 7C 63 FE 70 */ srawi r3, r3, 0x1f -/* 80348B68 00345AC8 7C 03 18 78 */ andc r3, r0, r3 -/* 80348B6C 00345ACC 48 00 00 B8 */ b lbl_80348C24 -lbl_80348B70: -/* 80348B70 00345AD0 4B FF F8 41 */ bl EqualsZero__13CCharAnimTimeCFv -/* 80348B74 00345AD4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80348B78 00345AD8 41 82 00 7C */ beq lbl_80348BF4 -/* 80348B7C 00345ADC 7F E3 FB 78 */ mr r3, r31 -/* 80348B80 00345AE0 4B FF F8 31 */ bl EqualsZero__13CCharAnimTimeCFv -/* 80348B84 00345AE4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80348B88 00345AE8 41 82 00 64 */ beq lbl_80348BEC -/* 80348B8C 00345AEC 80 1E 00 04 */ lwz r0, 4(r30) -/* 80348B90 00345AF0 2C 00 00 03 */ cmpwi r0, 3 -/* 80348B94 00345AF4 40 82 00 0C */ bne lbl_80348BA0 -/* 80348B98 00345AF8 38 00 FF FF */ li r0, -1 -/* 80348B9C 00345AFC 48 00 00 18 */ b lbl_80348BB4 -lbl_80348BA0: -/* 80348BA0 00345B00 2C 00 00 02 */ cmpwi r0, 2 -/* 80348BA4 00345B04 40 82 00 0C */ bne lbl_80348BB0 -/* 80348BA8 00345B08 38 00 00 00 */ li r0, 0 -/* 80348BAC 00345B0C 48 00 00 08 */ b lbl_80348BB4 -lbl_80348BB0: -/* 80348BB0 00345B10 38 00 00 01 */ li r0, 1 -lbl_80348BB4: -/* 80348BB4 00345B14 80 7F 00 04 */ lwz r3, 4(r31) -/* 80348BB8 00345B18 2C 03 00 03 */ cmpwi r3, 3 -/* 80348BBC 00345B1C 40 82 00 0C */ bne lbl_80348BC8 -/* 80348BC0 00345B20 38 60 FF FF */ li r3, -1 -/* 80348BC4 00345B24 48 00 00 18 */ b lbl_80348BDC -lbl_80348BC8: -/* 80348BC8 00345B28 2C 03 00 02 */ cmpwi r3, 2 -/* 80348BCC 00345B2C 40 82 00 0C */ bne lbl_80348BD8 -/* 80348BD0 00345B30 38 60 00 00 */ li r3, 0 -/* 80348BD4 00345B34 48 00 00 08 */ b lbl_80348BDC -lbl_80348BD8: -/* 80348BD8 00345B38 38 60 00 01 */ li r3, 1 -lbl_80348BDC: -/* 80348BDC 00345B3C 7C 00 18 50 */ subf r0, r0, r3 -/* 80348BE0 00345B40 7C 00 00 34 */ cntlzw r0, r0 -/* 80348BE4 00345B44 54 03 D9 7E */ srwi r3, r0, 5 -/* 80348BE8 00345B48 48 00 00 3C */ b lbl_80348C24 -lbl_80348BEC: -/* 80348BEC 00345B4C 38 60 00 00 */ li r3, 0 -/* 80348BF0 00345B50 48 00 00 34 */ b lbl_80348C24 -lbl_80348BF4: -/* 80348BF4 00345B54 80 1F 00 04 */ lwz r0, 4(r31) -/* 80348BF8 00345B58 2C 00 00 04 */ cmpwi r0, 4 -/* 80348BFC 00345B5C 40 82 00 24 */ bne lbl_80348C20 -/* 80348C00 00345B60 C0 5E 00 00 */ lfs f2, 0(r30) -/* 80348C04 00345B64 C0 3F 00 00 */ lfs f1, 0(r31) -/* 80348C08 00345B68 C0 02 CC 20 */ lfs f0, lbl_805AE940@sda21(r2) -/* 80348C0C 00345B6C EC 22 00 72 */ fmuls f1, f2, f1 -/* 80348C10 00345B70 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80348C14 00345B74 7C 00 00 26 */ mfcr r0 -/* 80348C18 00345B78 54 03 17 FE */ rlwinm r3, r0, 2, 0x1f, 0x1f -/* 80348C1C 00345B7C 48 00 00 08 */ b lbl_80348C24 -lbl_80348C20: -/* 80348C20 00345B80 38 60 00 00 */ li r3, 0 -lbl_80348C24: -/* 80348C24 00345B84 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80348C28 00345B88 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80348C2C 00345B8C 83 C1 00 08 */ lwz r30, 8(r1) -/* 80348C30 00345B90 7C 08 03 A6 */ mtlr r0 -/* 80348C34 00345B94 38 21 00 10 */ addi r1, r1, 0x10 -/* 80348C38 00345B98 4E 80 00 20 */ blr - -.global __lt__13CCharAnimTimeCFRC13CCharAnimTime -__lt__13CCharAnimTimeCFRC13CCharAnimTime: -/* 80348C3C 00345B9C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80348C40 00345BA0 7C 08 02 A6 */ mflr r0 -/* 80348C44 00345BA4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80348C48 00345BA8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80348C4C 00345BAC 7C 9F 23 78 */ mr r31, r4 -/* 80348C50 00345BB0 93 C1 00 08 */ stw r30, 8(r1) -/* 80348C54 00345BB4 7C 7E 1B 78 */ mr r30, r3 -/* 80348C58 00345BB8 80 03 00 04 */ lwz r0, 4(r3) -/* 80348C5C 00345BBC 2C 00 00 00 */ cmpwi r0, 0 -/* 80348C60 00345BC0 40 82 00 68 */ bne lbl_80348CC8 -/* 80348C64 00345BC4 80 1F 00 04 */ lwz r0, 4(r31) -/* 80348C68 00345BC8 2C 00 00 00 */ cmpwi r0, 0 -/* 80348C6C 00345BCC 40 82 00 1C */ bne lbl_80348C88 -/* 80348C70 00345BD0 C0 3E 00 00 */ lfs f1, 0(r30) -/* 80348C74 00345BD4 C0 1F 00 00 */ lfs f0, 0(r31) -/* 80348C78 00345BD8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80348C7C 00345BDC 7C 00 00 26 */ mfcr r0 -/* 80348C80 00345BE0 54 03 0F FE */ srwi r3, r0, 0x1f -/* 80348C84 00345BE4 48 00 01 50 */ b lbl_80348DD4 -lbl_80348C88: -/* 80348C88 00345BE8 7F E3 FB 78 */ mr r3, r31 -/* 80348C8C 00345BEC 4B FF F7 25 */ bl EqualsZero__13CCharAnimTimeCFv -/* 80348C90 00345BF0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80348C94 00345BF4 41 82 00 1C */ beq lbl_80348CB0 -/* 80348C98 00345BF8 C0 3E 00 00 */ lfs f1, 0(r30) -/* 80348C9C 00345BFC C0 02 CC 20 */ lfs f0, lbl_805AE940@sda21(r2) -/* 80348CA0 00345C00 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80348CA4 00345C04 7C 00 00 26 */ mfcr r0 -/* 80348CA8 00345C08 54 03 0F FE */ srwi r3, r0, 0x1f -/* 80348CAC 00345C0C 48 00 01 28 */ b lbl_80348DD4 -lbl_80348CB0: -/* 80348CB0 00345C10 C0 3F 00 00 */ lfs f1, 0(r31) -/* 80348CB4 00345C14 C0 02 CC 20 */ lfs f0, lbl_805AE940@sda21(r2) -/* 80348CB8 00345C18 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80348CBC 00345C1C 7C 00 00 26 */ mfcr r0 -/* 80348CC0 00345C20 54 03 17 FE */ rlwinm r3, r0, 2, 0x1f, 0x1f -/* 80348CC4 00345C24 48 00 01 10 */ b lbl_80348DD4 -lbl_80348CC8: -/* 80348CC8 00345C28 4B FF F6 E9 */ bl EqualsZero__13CCharAnimTimeCFv -/* 80348CCC 00345C2C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80348CD0 00345C30 41 82 00 B8 */ beq lbl_80348D88 -/* 80348CD4 00345C34 7F E3 FB 78 */ mr r3, r31 -/* 80348CD8 00345C38 4B FF F6 D9 */ bl EqualsZero__13CCharAnimTimeCFv -/* 80348CDC 00345C3C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80348CE0 00345C40 41 82 00 6C */ beq lbl_80348D4C -/* 80348CE4 00345C44 80 1E 00 04 */ lwz r0, 4(r30) -/* 80348CE8 00345C48 2C 00 00 03 */ cmpwi r0, 3 -/* 80348CEC 00345C4C 40 82 00 0C */ bne lbl_80348CF8 -/* 80348CF0 00345C50 38 00 FF FF */ li r0, -1 -/* 80348CF4 00345C54 48 00 00 18 */ b lbl_80348D0C -lbl_80348CF8: -/* 80348CF8 00345C58 2C 00 00 02 */ cmpwi r0, 2 -/* 80348CFC 00345C5C 40 82 00 0C */ bne lbl_80348D08 -/* 80348D00 00345C60 38 00 00 00 */ li r0, 0 -/* 80348D04 00345C64 48 00 00 08 */ b lbl_80348D0C -lbl_80348D08: -/* 80348D08 00345C68 38 00 00 01 */ li r0, 1 -lbl_80348D0C: -/* 80348D0C 00345C6C 80 7F 00 04 */ lwz r3, 4(r31) -/* 80348D10 00345C70 2C 03 00 03 */ cmpwi r3, 3 -/* 80348D14 00345C74 40 82 00 0C */ bne lbl_80348D20 -/* 80348D18 00345C78 38 80 FF FF */ li r4, -1 -/* 80348D1C 00345C7C 48 00 00 18 */ b lbl_80348D34 -lbl_80348D20: -/* 80348D20 00345C80 2C 03 00 02 */ cmpwi r3, 2 -/* 80348D24 00345C84 40 82 00 0C */ bne lbl_80348D30 -/* 80348D28 00345C88 38 80 00 00 */ li r4, 0 -/* 80348D2C 00345C8C 48 00 00 08 */ b lbl_80348D34 -lbl_80348D30: -/* 80348D30 00345C90 38 80 00 01 */ li r4, 1 -lbl_80348D34: -/* 80348D34 00345C94 7C 80 02 78 */ xor r0, r4, r0 -/* 80348D38 00345C98 7C 03 0E 70 */ srawi r3, r0, 1 -/* 80348D3C 00345C9C 7C 00 20 38 */ and r0, r0, r4 -/* 80348D40 00345CA0 7C 00 18 50 */ subf r0, r0, r3 -/* 80348D44 00345CA4 54 03 0F FE */ srwi r3, r0, 0x1f -/* 80348D48 00345CA8 48 00 00 8C */ b lbl_80348DD4 -lbl_80348D4C: -/* 80348D4C 00345CAC 80 1F 00 04 */ lwz r0, 4(r31) -/* 80348D50 00345CB0 2C 00 00 00 */ cmpwi r0, 0 -/* 80348D54 00345CB4 40 82 00 1C */ bne lbl_80348D70 -/* 80348D58 00345CB8 C0 22 CC 20 */ lfs f1, lbl_805AE940@sda21(r2) -/* 80348D5C 00345CBC C0 1F 00 00 */ lfs f0, 0(r31) -/* 80348D60 00345CC0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80348D64 00345CC4 7C 00 00 26 */ mfcr r0 -/* 80348D68 00345CC8 54 03 0F FE */ srwi r3, r0, 0x1f -/* 80348D6C 00345CCC 48 00 00 68 */ b lbl_80348DD4 -lbl_80348D70: -/* 80348D70 00345CD0 C0 3F 00 00 */ lfs f1, 0(r31) -/* 80348D74 00345CD4 C0 02 CC 20 */ lfs f0, lbl_805AE940@sda21(r2) -/* 80348D78 00345CD8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80348D7C 00345CDC 7C 00 00 26 */ mfcr r0 -/* 80348D80 00345CE0 54 03 17 FE */ rlwinm r3, r0, 2, 0x1f, 0x1f -/* 80348D84 00345CE4 48 00 00 50 */ b lbl_80348DD4 -lbl_80348D88: -/* 80348D88 00345CE8 80 1F 00 04 */ lwz r0, 4(r31) -/* 80348D8C 00345CEC 2C 00 00 04 */ cmpwi r0, 4 -/* 80348D90 00345CF0 40 82 00 30 */ bne lbl_80348DC0 -/* 80348D94 00345CF4 C0 1E 00 00 */ lfs f0, 0(r30) -/* 80348D98 00345CF8 C0 22 CC 20 */ lfs f1, lbl_805AE940@sda21(r2) -/* 80348D9C 00345CFC FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80348DA0 00345D00 40 80 00 18 */ bge lbl_80348DB8 -/* 80348DA4 00345D04 C0 1F 00 00 */ lfs f0, 0(r31) -/* 80348DA8 00345D08 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80348DAC 00345D0C 40 81 00 0C */ ble lbl_80348DB8 -/* 80348DB0 00345D10 38 60 00 01 */ li r3, 1 -/* 80348DB4 00345D14 48 00 00 20 */ b lbl_80348DD4 -lbl_80348DB8: -/* 80348DB8 00345D18 38 60 00 00 */ li r3, 0 -/* 80348DBC 00345D1C 48 00 00 18 */ b lbl_80348DD4 -lbl_80348DC0: -/* 80348DC0 00345D20 C0 3E 00 00 */ lfs f1, 0(r30) -/* 80348DC4 00345D24 C0 02 CC 20 */ lfs f0, lbl_805AE940@sda21(r2) -/* 80348DC8 00345D28 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80348DCC 00345D2C 7C 00 00 26 */ mfcr r0 -/* 80348DD0 00345D30 54 03 0F FE */ srwi r3, r0, 0x1f -lbl_80348DD4: -/* 80348DD4 00345D34 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80348DD8 00345D38 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80348DDC 00345D3C 83 C1 00 08 */ lwz r30, 8(r1) -/* 80348DE0 00345D40 7C 08 03 A6 */ mtlr r0 -/* 80348DE4 00345D44 38 21 00 10 */ addi r1, r1, 0x10 -/* 80348DE8 00345D48 4E 80 00 20 */ blr - -.global __ct__13CCharAnimTimeFf -__ct__13CCharAnimTimeFf: -/* 80348DEC 00345D4C C0 02 CC 20 */ lfs f0, lbl_805AE940@sda21(r2) -/* 80348DF0 00345D50 D0 23 00 00 */ stfs f1, 0(r3) -/* 80348DF4 00345D54 FC 00 08 00 */ fcmpu cr0, f0, f1 -/* 80348DF8 00345D58 40 82 00 10 */ bne lbl_80348E08 -/* 80348DFC 00345D5C 38 00 00 02 */ li r0, 2 -/* 80348E00 00345D60 90 03 00 04 */ stw r0, 4(r3) -/* 80348E04 00345D64 4E 80 00 20 */ blr -lbl_80348E08: -/* 80348E08 00345D68 38 00 00 00 */ li r0, 0 -/* 80348E0C 00345D6C 90 03 00 04 */ stw r0, 4(r3) -/* 80348E10 00345D70 4E 80 00 20 */ blr - -.global __ct__13CCharAnimTimeFR12CInputStream -__ct__13CCharAnimTimeFR12CInputStream: -/* 80348E14 00345D74 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80348E18 00345D78 7C 08 02 A6 */ mflr r0 -/* 80348E1C 00345D7C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80348E20 00345D80 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80348E24 00345D84 7C 9F 23 78 */ mr r31, r4 -/* 80348E28 00345D88 93 C1 00 08 */ stw r30, 8(r1) -/* 80348E2C 00345D8C 7C 7E 1B 78 */ mr r30, r3 -/* 80348E30 00345D90 7F E3 FB 78 */ mr r3, r31 -/* 80348E34 00345D94 4B FF 5D F5 */ bl ReadFloat__12CInputStreamFv -/* 80348E38 00345D98 D0 3E 00 00 */ stfs f1, 0(r30) -/* 80348E3C 00345D9C 7F E3 FB 78 */ mr r3, r31 -/* 80348E40 00345DA0 4B FF 5E 45 */ bl ReadLong__12CInputStreamFv -/* 80348E44 00345DA4 90 7E 00 04 */ stw r3, 4(r30) -/* 80348E48 00345DA8 7F C3 F3 78 */ mr r3, r30 -/* 80348E4C 00345DAC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80348E50 00345DB0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80348E54 00345DB4 83 C1 00 08 */ lwz r30, 8(r1) -/* 80348E58 00345DB8 7C 08 03 A6 */ mtlr r0 -/* 80348E5C 00345DBC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80348E60 00345DC0 4E 80 00 20 */ blr - -.global __ct__10CSegIdListFR12CInputStream -__ct__10CSegIdListFR12CInputStream: -/* 80348E64 00345DC4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80348E68 00345DC8 7C 08 02 A6 */ mflr r0 -/* 80348E6C 00345DCC 90 01 00 24 */ stw r0, 0x24(r1) -/* 80348E70 00345DD0 38 A1 00 08 */ addi r5, r1, 8 -/* 80348E74 00345DD4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80348E78 00345DD8 7C 7F 1B 78 */ mr r31, r3 -/* 80348E7C 00345DDC 4B FA F2 51 */ bl "__ct__Q24rstl42vector<6CSegId,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" -/* 80348E80 00345DE0 80 7F 00 08 */ lwz r3, 8(r31) -/* 80348E84 00345DE4 38 80 00 02 */ li r4, 2 -/* 80348E88 00345DE8 4B FA ED 31 */ bl AddToTotalSize__22CCharAnimMemoryMetricsFUiQ222CCharAnimMemoryMetrics14EAnimSubSystem -/* 80348E8C 00345DEC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80348E90 00345DF0 7F E3 FB 78 */ mr r3, r31 -/* 80348E94 00345DF4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80348E98 00345DF8 7C 08 03 A6 */ mtlr r0 -/* 80348E9C 00345DFC 38 21 00 20 */ addi r1, r1, 0x20 -/* 80348EA0 00345E00 4E 80 00 20 */ blr - -.global ScaleAnalogueSticks__11CFinalInputCFff -ScaleAnalogueSticks__11CFinalInputCFff: -/* 80348EA4 00345E04 94 21 FF 30 */ stwu r1, -0xd0(r1) -/* 80348EA8 00345E08 7C 08 02 A6 */ mflr r0 -/* 80348EAC 00345E0C 90 01 00 D4 */ stw r0, 0xd4(r1) -/* 80348EB0 00345E10 DB E1 00 C0 */ stfd f31, 0xc0(r1) -/* 80348EB4 00345E14 F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 -/* 80348EB8 00345E18 DB C1 00 B0 */ stfd f30, 0xb0(r1) -/* 80348EBC 00345E1C F3 C1 00 B8 */ psq_st f30, 184(r1), 0, qr0 -/* 80348EC0 00345E20 DB A1 00 A0 */ stfd f29, 0xa0(r1) -/* 80348EC4 00345E24 F3 A1 00 A8 */ psq_st f29, 168(r1), 0, qr0 -/* 80348EC8 00345E28 DB 81 00 90 */ stfd f28, 0x90(r1) -/* 80348ECC 00345E2C F3 81 00 98 */ psq_st f28, 152(r1), 0, qr0 -/* 80348ED0 00345E30 DB 61 00 80 */ stfd f27, 0x80(r1) -/* 80348ED4 00345E34 F3 61 00 88 */ psq_st f27, 136(r1), 0, qr0 -/* 80348ED8 00345E38 DB 41 00 70 */ stfd f26, 0x70(r1) -/* 80348EDC 00345E3C F3 41 00 78 */ psq_st f26, 120(r1), 0, qr0 -/* 80348EE0 00345E40 DB 21 00 60 */ stfd f25, 0x60(r1) -/* 80348EE4 00345E44 F3 21 00 68 */ psq_st f25, 104(r1), 0, qr0 -/* 80348EE8 00345E48 DB 01 00 50 */ stfd f24, 0x50(r1) -/* 80348EEC 00345E4C F3 01 00 58 */ psq_st f24, 88(r1), 0, qr0 -/* 80348EF0 00345E50 DA E1 00 40 */ stfd f23, 0x40(r1) -/* 80348EF4 00345E54 F2 E1 00 48 */ psq_st f23, 72(r1), 0, qr0 -/* 80348EF8 00345E58 BE C1 00 18 */ stmw r22, 0x18(r1) -/* 80348EFC 00345E5C 7C 97 23 78 */ mr r23, r4 -/* 80348F00 00345E60 FF 80 08 90 */ fmr f28, f1 -/* 80348F04 00345E64 C0 04 00 08 */ lfs f0, 8(r4) -/* 80348F08 00345E68 7C 76 1B 78 */ mr r22, r3 -/* 80348F0C 00345E6C FE E0 10 90 */ fmr f23, f2 -/* 80348F10 00345E70 C3 E4 00 00 */ lfs f31, 0(r4) -/* 80348F14 00345E74 EC 00 E0 24 */ fdivs f0, f0, f28 -/* 80348F18 00345E78 83 E4 00 04 */ lwz r31, 4(r4) -/* 80348F1C 00345E7C 38 81 00 14 */ addi r4, r1, 0x14 -/* 80348F20 00345E80 C3 77 00 18 */ lfs f27, 0x18(r23) -/* 80348F24 00345E84 C3 57 00 1C */ lfs f26, 0x1c(r23) -/* 80348F28 00345E88 38 6D 9D B8 */ addi r3, r13, lbl_805A8978@sda21 -/* 80348F2C 00345E8C D0 01 00 14 */ stfs f0, 0x14(r1) -/* 80348F30 00345E90 38 AD 9D BC */ addi r5, r13, lbl_805A897C@sda21 -/* 80348F34 00345E94 8B D7 00 20 */ lbz r30, 0x20(r23) -/* 80348F38 00345E98 8B B7 00 21 */ lbz r29, 0x21(r23) -/* 80348F3C 00345E9C 8B 97 00 22 */ lbz r28, 0x22(r23) -/* 80348F40 00345EA0 8B 77 00 23 */ lbz r27, 0x23(r23) -/* 80348F44 00345EA4 C3 37 00 24 */ lfs f25, 0x24(r23) -/* 80348F48 00345EA8 C3 17 00 28 */ lfs f24, 0x28(r23) -/* 80348F4C 00345EAC 8B 57 00 2C */ lbz r26, 0x2c(r23) -/* 80348F50 00345EB0 8B 37 00 2D */ lbz r25, 0x2d(r23) -/* 80348F54 00345EB4 8B 17 00 2E */ lbz r24, 0x2e(r23) -/* 80348F58 00345EB8 4B CC 33 5D */ bl "Clamp__5CMathFRCfRCfRCf" -/* 80348F5C 00345EBC C0 17 00 0C */ lfs f0, 0xc(r23) -/* 80348F60 00345EC0 38 81 00 10 */ addi r4, r1, 0x10 -/* 80348F64 00345EC4 C3 C3 00 00 */ lfs f30, 0(r3) -/* 80348F68 00345EC8 38 6D 9D C0 */ addi r3, r13, lbl_805A8980@sda21 -/* 80348F6C 00345ECC EC 00 E0 24 */ fdivs f0, f0, f28 -/* 80348F70 00345ED0 38 AD 9D C4 */ addi r5, r13, lbl_805A8984@sda21 -/* 80348F74 00345ED4 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 80348F78 00345ED8 4B CC 33 3D */ bl "Clamp__5CMathFRCfRCfRCf" -/* 80348F7C 00345EDC C0 17 00 10 */ lfs f0, 0x10(r23) -/* 80348F80 00345EE0 38 81 00 0C */ addi r4, r1, 0xc -/* 80348F84 00345EE4 C3 A3 00 00 */ lfs f29, 0(r3) -/* 80348F88 00345EE8 38 6D 9D C8 */ addi r3, r13, lbl_805A8988@sda21 -/* 80348F8C 00345EEC EC 00 B8 24 */ fdivs f0, f0, f23 -/* 80348F90 00345EF0 38 AD 9D CC */ addi r5, r13, lbl_805A898C@sda21 -/* 80348F94 00345EF4 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 80348F98 00345EF8 4B CC 33 1D */ bl "Clamp__5CMathFRCfRCfRCf" -/* 80348F9C 00345EFC C0 17 00 14 */ lfs f0, 0x14(r23) -/* 80348FA0 00345F00 38 81 00 08 */ addi r4, r1, 8 -/* 80348FA4 00345F04 C3 83 00 00 */ lfs f28, 0(r3) -/* 80348FA8 00345F08 38 6D 9D D0 */ addi r3, r13, lbl_805A8990@sda21 -/* 80348FAC 00345F0C EC 00 B8 24 */ fdivs f0, f0, f23 -/* 80348FB0 00345F10 38 AD 9D D4 */ addi r5, r13, lbl_805A8994@sda21 -/* 80348FB4 00345F14 D0 01 00 08 */ stfs f0, 8(r1) -/* 80348FB8 00345F18 4B CC 32 FD */ bl "Clamp__5CMathFRCfRCfRCf" -/* 80348FBC 00345F1C C0 03 00 00 */ lfs f0, 0(r3) -/* 80348FC0 00345F20 D3 F6 00 00 */ stfs f31, 0(r22) -/* 80348FC4 00345F24 93 F6 00 04 */ stw r31, 4(r22) -/* 80348FC8 00345F28 D3 D6 00 08 */ stfs f30, 8(r22) -/* 80348FCC 00345F2C D3 B6 00 0C */ stfs f29, 0xc(r22) -/* 80348FD0 00345F30 D3 96 00 10 */ stfs f28, 0x10(r22) -/* 80348FD4 00345F34 D0 16 00 14 */ stfs f0, 0x14(r22) -/* 80348FD8 00345F38 D3 76 00 18 */ stfs f27, 0x18(r22) -/* 80348FDC 00345F3C D3 56 00 1C */ stfs f26, 0x1c(r22) -/* 80348FE0 00345F40 9B D6 00 20 */ stb r30, 0x20(r22) -/* 80348FE4 00345F44 9B B6 00 21 */ stb r29, 0x21(r22) -/* 80348FE8 00345F48 9B 96 00 22 */ stb r28, 0x22(r22) -/* 80348FEC 00345F4C 9B 76 00 23 */ stb r27, 0x23(r22) -/* 80348FF0 00345F50 D3 36 00 24 */ stfs f25, 0x24(r22) -/* 80348FF4 00345F54 D3 16 00 28 */ stfs f24, 0x28(r22) -/* 80348FF8 00345F58 9B 56 00 2C */ stb r26, 0x2c(r22) -/* 80348FFC 00345F5C 9B 36 00 2D */ stb r25, 0x2d(r22) -/* 80349000 00345F60 9B 16 00 2E */ stb r24, 0x2e(r22) -/* 80349004 00345F64 E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 -/* 80349008 00345F68 CB E1 00 C0 */ lfd f31, 0xc0(r1) -/* 8034900C 00345F6C E3 C1 00 B8 */ psq_l f30, 184(r1), 0, qr0 -/* 80349010 00345F70 CB C1 00 B0 */ lfd f30, 0xb0(r1) -/* 80349014 00345F74 E3 A1 00 A8 */ psq_l f29, 168(r1), 0, qr0 -/* 80349018 00345F78 CB A1 00 A0 */ lfd f29, 0xa0(r1) -/* 8034901C 00345F7C E3 81 00 98 */ psq_l f28, 152(r1), 0, qr0 -/* 80349020 00345F80 CB 81 00 90 */ lfd f28, 0x90(r1) -/* 80349024 00345F84 E3 61 00 88 */ psq_l f27, 136(r1), 0, qr0 -/* 80349028 00345F88 CB 61 00 80 */ lfd f27, 0x80(r1) -/* 8034902C 00345F8C E3 41 00 78 */ psq_l f26, 120(r1), 0, qr0 -/* 80349030 00345F90 CB 41 00 70 */ lfd f26, 0x70(r1) -/* 80349034 00345F94 E3 21 00 68 */ psq_l f25, 104(r1), 0, qr0 -/* 80349038 00345F98 CB 21 00 60 */ lfd f25, 0x60(r1) -/* 8034903C 00345F9C E3 01 00 58 */ psq_l f24, 88(r1), 0, qr0 -/* 80349040 00345FA0 CB 01 00 50 */ lfd f24, 0x50(r1) -/* 80349044 00345FA4 E2 E1 00 48 */ psq_l f23, 72(r1), 0, qr0 -/* 80349048 00345FA8 CA E1 00 40 */ lfd f23, 0x40(r1) -/* 8034904C 00345FAC BA C1 00 18 */ lmw r22, 0x18(r1) -/* 80349050 00345FB0 80 01 00 D4 */ lwz r0, 0xd4(r1) -/* 80349054 00345FB4 7C 08 03 A6 */ mtlr r0 -/* 80349058 00345FB8 38 21 00 D0 */ addi r1, r1, 0xd0 -/* 8034905C 00345FBC 4E 80 00 20 */ blr - -.global __ct__11CFinalInputFifRC10COsContext -__ct__11CFinalInputFifRC10COsContext: -/* 80349060 00345FC0 94 21 FF 30 */ stwu r1, -0xd0(r1) -/* 80349064 00345FC4 7C 08 02 A6 */ mflr r0 -/* 80349068 00345FC8 C0 02 CC 30 */ lfs f0, lbl_805AE950@sda21(r2) -/* 8034906C 00345FCC 90 01 00 D4 */ stw r0, 0xd4(r1) -/* 80349070 00345FD0 38 00 00 00 */ li r0, 0 -/* 80349074 00345FD4 93 E1 00 CC */ stw r31, 0xcc(r1) -/* 80349078 00345FD8 7C BF 2B 78 */ mr r31, r5 -/* 8034907C 00345FDC 38 A0 00 6D */ li r5, 0x6d -/* 80349080 00345FE0 93 C1 00 C8 */ stw r30, 0xc8(r1) -/* 80349084 00345FE4 7C 7E 1B 78 */ mr r30, r3 -/* 80349088 00345FE8 D0 23 00 00 */ stfs f1, 0(r3) -/* 8034908C 00345FEC 38 61 00 C0 */ addi r3, r1, 0xc0 -/* 80349090 00345FF0 90 9E 00 04 */ stw r4, 4(r30) -/* 80349094 00345FF4 7F E4 FB 78 */ mr r4, r31 -/* 80349098 00345FF8 D0 1E 00 08 */ stfs f0, 8(r30) -/* 8034909C 00345FFC D0 1E 00 0C */ stfs f0, 0xc(r30) -/* 803490A0 00346000 D0 1E 00 10 */ stfs f0, 0x10(r30) -/* 803490A4 00346004 D0 1E 00 14 */ stfs f0, 0x14(r30) -/* 803490A8 00346008 D0 1E 00 18 */ stfs f0, 0x18(r30) -/* 803490AC 0034600C D0 1E 00 1C */ stfs f0, 0x1c(r30) -/* 803490B0 00346010 98 1E 00 22 */ stb r0, 0x22(r30) -/* 803490B4 00346014 98 1E 00 23 */ stb r0, 0x23(r30) -/* 803490B8 00346018 D0 1E 00 24 */ stfs f0, 0x24(r30) -/* 803490BC 0034601C D0 1E 00 28 */ stfs f0, 0x28(r30) -/* 803490C0 00346020 4B F8 D5 41 */ bl GetOsKeyState__10COsContextCFi -/* 803490C4 00346024 88 A1 00 C4 */ lbz r5, 0xc4(r1) -/* 803490C8 00346028 7F E4 FB 78 */ mr r4, r31 -/* 803490CC 0034602C 88 1E 00 2C */ lbz r0, 0x2c(r30) -/* 803490D0 00346030 38 61 00 B8 */ addi r3, r1, 0xb8 -/* 803490D4 00346034 54 A6 C0 02 */ rlwinm r6, r5, 0x18, 0, 1 -/* 803490D8 00346038 38 A0 00 6E */ li r5, 0x6e -/* 803490DC 0034603C 7C C6 FE 70 */ srawi r6, r6, 0x1f -/* 803490E0 00346040 7C C7 07 74 */ extsb r7, r6 -/* 803490E4 00346044 7C C7 00 D0 */ neg r6, r7 -/* 803490E8 00346048 7C C6 3B 78 */ or r6, r6, r7 -/* 803490EC 0034604C 50 C0 46 30 */ rlwimi r0, r6, 8, 0x18, 0x18 -/* 803490F0 00346050 98 1E 00 2C */ stb r0, 0x2c(r30) -/* 803490F4 00346054 4B F8 D5 0D */ bl GetOsKeyState__10COsContextCFi -/* 803490F8 00346058 88 A1 00 BC */ lbz r5, 0xbc(r1) -/* 803490FC 0034605C 7F E4 FB 78 */ mr r4, r31 -/* 80349100 00346060 88 1E 00 2C */ lbz r0, 0x2c(r30) -/* 80349104 00346064 38 61 00 B0 */ addi r3, r1, 0xb0 -/* 80349108 00346068 54 A6 C0 02 */ rlwinm r6, r5, 0x18, 0, 1 -/* 8034910C 0034606C 38 A0 00 84 */ li r5, 0x84 -/* 80349110 00346070 7C C6 FE 70 */ srawi r6, r6, 0x1f -/* 80349114 00346074 7C C7 07 74 */ extsb r7, r6 -/* 80349118 00346078 7C C7 00 D0 */ neg r6, r7 -/* 8034911C 0034607C 7C C6 3B 78 */ or r6, r6, r7 -/* 80349120 00346080 50 C0 3E 72 */ rlwimi r0, r6, 7, 0x19, 0x19 -/* 80349124 00346084 98 1E 00 2C */ stb r0, 0x2c(r30) -/* 80349128 00346088 4B F8 D4 D9 */ bl GetOsKeyState__10COsContextCFi -/* 8034912C 0034608C 88 A1 00 B4 */ lbz r5, 0xb4(r1) -/* 80349130 00346090 7F E4 FB 78 */ mr r4, r31 -/* 80349134 00346094 88 1E 00 2C */ lbz r0, 0x2c(r30) -/* 80349138 00346098 38 61 00 A8 */ addi r3, r1, 0xa8 -/* 8034913C 0034609C 54 A6 C0 02 */ rlwinm r6, r5, 0x18, 0, 1 -/* 80349140 003460A0 38 A0 00 85 */ li r5, 0x85 -/* 80349144 003460A4 7C C6 FE 70 */ srawi r6, r6, 0x1f -/* 80349148 003460A8 7C C7 07 74 */ extsb r7, r6 -/* 8034914C 003460AC 7C C7 00 D0 */ neg r6, r7 -/* 80349150 003460B0 7C C6 3B 78 */ or r6, r6, r7 -/* 80349154 003460B4 50 C0 36 B4 */ rlwimi r0, r6, 6, 0x1a, 0x1a -/* 80349158 003460B8 98 1E 00 2C */ stb r0, 0x2c(r30) -/* 8034915C 003460BC 4B F8 D4 A5 */ bl GetOsKeyState__10COsContextCFi -/* 80349160 003460C0 88 A1 00 AC */ lbz r5, 0xac(r1) -/* 80349164 003460C4 7F E4 FB 78 */ mr r4, r31 -/* 80349168 003460C8 88 1E 00 2C */ lbz r0, 0x2c(r30) -/* 8034916C 003460CC 38 61 00 A0 */ addi r3, r1, 0xa0 -/* 80349170 003460D0 54 A6 C0 02 */ rlwinm r6, r5, 0x18, 0, 1 -/* 80349174 003460D4 38 A0 00 16 */ li r5, 0x16 -/* 80349178 003460D8 7C C6 FE 70 */ srawi r6, r6, 0x1f -/* 8034917C 003460DC 7C C7 07 74 */ extsb r7, r6 -/* 80349180 003460E0 7C C7 00 D0 */ neg r6, r7 -/* 80349184 003460E4 7C C6 3B 78 */ or r6, r6, r7 -/* 80349188 003460E8 50 C0 2E F6 */ rlwimi r0, r6, 5, 0x1b, 0x1b -/* 8034918C 003460EC 98 1E 00 2C */ stb r0, 0x2c(r30) -/* 80349190 003460F0 4B F8 D4 71 */ bl GetOsKeyState__10COsContextCFi -/* 80349194 003460F4 88 A1 00 A4 */ lbz r5, 0xa4(r1) -/* 80349198 003460F8 7F E4 FB 78 */ mr r4, r31 -/* 8034919C 003460FC 88 1E 00 2C */ lbz r0, 0x2c(r30) -/* 803491A0 00346100 38 61 00 98 */ addi r3, r1, 0x98 -/* 803491A4 00346104 54 A6 C0 02 */ rlwinm r6, r5, 0x18, 0, 1 -/* 803491A8 00346108 38 A0 00 78 */ li r5, 0x78 -/* 803491AC 0034610C 7C C6 FE 70 */ srawi r6, r6, 0x1f -/* 803491B0 00346110 7C C7 07 74 */ extsb r7, r6 -/* 803491B4 00346114 7C C7 00 D0 */ neg r6, r7 -/* 803491B8 00346118 7C C6 3B 78 */ or r6, r6, r7 -/* 803491BC 0034611C 50 C0 27 38 */ rlwimi r0, r6, 4, 0x1c, 0x1c -/* 803491C0 00346120 98 1E 00 2C */ stb r0, 0x2c(r30) -/* 803491C4 00346124 4B F8 D4 3D */ bl GetOsKeyState__10COsContextCFi -/* 803491C8 00346128 88 A1 00 9C */ lbz r5, 0x9c(r1) -/* 803491CC 0034612C 7F E4 FB 78 */ mr r4, r31 -/* 803491D0 00346130 88 1E 00 2C */ lbz r0, 0x2c(r30) -/* 803491D4 00346134 38 61 00 90 */ addi r3, r1, 0x90 -/* 803491D8 00346138 54 A6 C0 02 */ rlwinm r6, r5, 0x18, 0, 1 -/* 803491DC 0034613C 38 A0 00 7E */ li r5, 0x7e -/* 803491E0 00346140 7C C6 FE 70 */ srawi r6, r6, 0x1f -/* 803491E4 00346144 7C C7 07 74 */ extsb r7, r6 -/* 803491E8 00346148 7C C7 00 D0 */ neg r6, r7 -/* 803491EC 0034614C 7C C6 3B 78 */ or r6, r6, r7 -/* 803491F0 00346150 50 C0 1F 7A */ rlwimi r0, r6, 3, 0x1d, 0x1d -/* 803491F4 00346154 98 1E 00 2C */ stb r0, 0x2c(r30) -/* 803491F8 00346158 4B F8 D4 09 */ bl GetOsKeyState__10COsContextCFi -/* 803491FC 0034615C 88 A1 00 94 */ lbz r5, 0x94(r1) -/* 80349200 00346160 7F E4 FB 78 */ mr r4, r31 -/* 80349204 00346164 88 1E 00 2C */ lbz r0, 0x2c(r30) -/* 80349208 00346168 38 61 00 88 */ addi r3, r1, 0x88 -/* 8034920C 0034616C 54 A6 C0 02 */ rlwinm r6, r5, 0x18, 0, 1 -/* 80349210 00346170 38 A0 00 1C */ li r5, 0x1c -/* 80349214 00346174 7C C6 FE 70 */ srawi r6, r6, 0x1f -/* 80349218 00346178 7C C7 07 74 */ extsb r7, r6 -/* 8034921C 0034617C 7C C7 00 D0 */ neg r6, r7 -/* 80349220 00346180 7C C6 3B 78 */ or r6, r6, r7 -/* 80349224 00346184 50 C0 17 BC */ rlwimi r0, r6, 2, 0x1e, 0x1e -/* 80349228 00346188 98 1E 00 2C */ stb r0, 0x2c(r30) -/* 8034922C 0034618C 4B F8 D3 D5 */ bl GetOsKeyState__10COsContextCFi -/* 80349230 00346190 88 A1 00 8C */ lbz r5, 0x8c(r1) -/* 80349234 00346194 7F E4 FB 78 */ mr r4, r31 -/* 80349238 00346198 88 1E 00 2C */ lbz r0, 0x2c(r30) -/* 8034923C 0034619C 38 61 00 80 */ addi r3, r1, 0x80 -/* 80349240 003461A0 54 A6 C0 02 */ rlwinm r6, r5, 0x18, 0, 1 -/* 80349244 003461A4 38 A0 00 1D */ li r5, 0x1d -/* 80349248 003461A8 7C C6 FE 70 */ srawi r6, r6, 0x1f -/* 8034924C 003461AC 7C C7 07 74 */ extsb r7, r6 -/* 80349250 003461B0 7C C7 00 D0 */ neg r6, r7 -/* 80349254 003461B4 7C C6 3B 78 */ or r6, r6, r7 -/* 80349258 003461B8 50 C0 0F FE */ rlwimi r0, r6, 1, 0x1f, 0x1f -/* 8034925C 003461BC 98 1E 00 2C */ stb r0, 0x2c(r30) -/* 80349260 003461C0 4B F8 D3 A1 */ bl GetOsKeyState__10COsContextCFi -/* 80349264 003461C4 88 A1 00 84 */ lbz r5, 0x84(r1) -/* 80349268 003461C8 7F E4 FB 78 */ mr r4, r31 -/* 8034926C 003461CC 88 1E 00 2D */ lbz r0, 0x2d(r30) -/* 80349270 003461D0 38 61 00 78 */ addi r3, r1, 0x78 -/* 80349274 003461D4 54 A6 C0 02 */ rlwinm r6, r5, 0x18, 0, 1 -/* 80349278 003461D8 38 A0 00 1E */ li r5, 0x1e -/* 8034927C 003461DC 7C C6 FE 70 */ srawi r6, r6, 0x1f -/* 80349280 003461E0 7C C7 07 74 */ extsb r7, r6 -/* 80349284 003461E4 7C C7 00 D0 */ neg r6, r7 -/* 80349288 003461E8 7C C6 3B 78 */ or r6, r6, r7 -/* 8034928C 003461EC 50 C0 46 30 */ rlwimi r0, r6, 8, 0x18, 0x18 -/* 80349290 003461F0 98 1E 00 2D */ stb r0, 0x2d(r30) -/* 80349294 003461F4 4B F8 D3 6D */ bl GetOsKeyState__10COsContextCFi -/* 80349298 003461F8 88 A1 00 7C */ lbz r5, 0x7c(r1) -/* 8034929C 003461FC 7F E4 FB 78 */ mr r4, r31 -/* 803492A0 00346200 88 1E 00 2D */ lbz r0, 0x2d(r30) -/* 803492A4 00346204 38 61 00 70 */ addi r3, r1, 0x70 -/* 803492A8 00346208 54 A6 C0 02 */ rlwinm r6, r5, 0x18, 0, 1 -/* 803492AC 0034620C 38 A0 00 1B */ li r5, 0x1b -/* 803492B0 00346210 7C C6 FE 70 */ srawi r6, r6, 0x1f -/* 803492B4 00346214 7C C7 07 74 */ extsb r7, r6 -/* 803492B8 00346218 7C C7 00 D0 */ neg r6, r7 -/* 803492BC 0034621C 7C C6 3B 78 */ or r6, r6, r7 -/* 803492C0 00346220 50 C0 3E 72 */ rlwimi r0, r6, 7, 0x19, 0x19 -/* 803492C4 00346224 98 1E 00 2D */ stb r0, 0x2d(r30) -/* 803492C8 00346228 4B F8 D3 39 */ bl GetOsKeyState__10COsContextCFi -/* 803492CC 0034622C 88 A1 00 74 */ lbz r5, 0x74(r1) -/* 803492D0 00346230 7F E4 FB 78 */ mr r4, r31 -/* 803492D4 00346234 88 1E 00 2D */ lbz r0, 0x2d(r30) -/* 803492D8 00346238 38 61 00 68 */ addi r3, r1, 0x68 -/* 803492DC 0034623C 54 A6 C0 02 */ rlwinm r6, r5, 0x18, 0, 1 -/* 803492E0 00346240 38 A0 00 05 */ li r5, 5 -/* 803492E4 00346244 7C C6 FE 70 */ srawi r6, r6, 0x1f -/* 803492E8 00346248 7C C7 07 74 */ extsb r7, r6 -/* 803492EC 0034624C 7C C7 00 D0 */ neg r6, r7 -/* 803492F0 00346250 7C C6 3B 78 */ or r6, r6, r7 -/* 803492F4 00346254 50 C0 36 B4 */ rlwimi r0, r6, 6, 0x1a, 0x1a -/* 803492F8 00346258 98 1E 00 2D */ stb r0, 0x2d(r30) -/* 803492FC 0034625C 4B F8 D3 05 */ bl GetOsKeyState__10COsContextCFi -/* 80349300 00346260 88 A1 00 6C */ lbz r5, 0x6c(r1) -/* 80349304 00346264 7F E4 FB 78 */ mr r4, r31 -/* 80349308 00346268 88 1E 00 2D */ lbz r0, 0x2d(r30) -/* 8034930C 0034626C 38 61 00 60 */ addi r3, r1, 0x60 -/* 80349310 00346270 54 A6 C0 02 */ rlwinm r6, r5, 0x18, 0, 1 -/* 80349314 00346274 38 A0 00 6D */ li r5, 0x6d -/* 80349318 00346278 7C C6 FE 70 */ srawi r6, r6, 0x1f -/* 8034931C 0034627C 7C C7 07 74 */ extsb r7, r6 -/* 80349320 00346280 7C C7 00 D0 */ neg r6, r7 -/* 80349324 00346284 7C C6 3B 78 */ or r6, r6, r7 -/* 80349328 00346288 50 C0 2E F6 */ rlwimi r0, r6, 5, 0x1b, 0x1b -/* 8034932C 0034628C 98 1E 00 2D */ stb r0, 0x2d(r30) -/* 80349330 00346290 4B F8 D2 D1 */ bl GetOsKeyState__10COsContextCFi -/* 80349334 00346294 88 61 00 64 */ lbz r3, 0x64(r1) -/* 80349338 00346298 38 80 00 00 */ li r4, 0 -/* 8034933C 0034629C 54 60 D8 02 */ rlwinm r0, r3, 0x1b, 0, 1 -/* 80349340 003462A0 7C 00 FE 70 */ srawi r0, r0, 0x1f -/* 80349344 003462A4 7C 00 07 75 */ extsb. r0, r0 -/* 80349348 003462A8 41 82 00 18 */ beq lbl_80349360 -/* 8034934C 003462AC 54 60 C0 02 */ rlwinm r0, r3, 0x18, 0, 1 -/* 80349350 003462B0 7C 00 FE 70 */ srawi r0, r0, 0x1f -/* 80349354 003462B4 7C 00 07 75 */ extsb. r0, r0 -/* 80349358 003462B8 41 82 00 08 */ beq lbl_80349360 -/* 8034935C 003462BC 38 80 00 01 */ li r4, 1 -lbl_80349360: -/* 80349360 003462C0 88 1E 00 2D */ lbz r0, 0x2d(r30) -/* 80349364 003462C4 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c -/* 80349368 003462C8 7F E4 FB 78 */ mr r4, r31 -/* 8034936C 003462CC 38 61 00 58 */ addi r3, r1, 0x58 -/* 80349370 003462D0 98 1E 00 2D */ stb r0, 0x2d(r30) -/* 80349374 003462D4 38 A0 00 6E */ li r5, 0x6e -/* 80349378 003462D8 4B F8 D2 89 */ bl GetOsKeyState__10COsContextCFi -/* 8034937C 003462DC 88 61 00 5C */ lbz r3, 0x5c(r1) -/* 80349380 003462E0 38 80 00 00 */ li r4, 0 -/* 80349384 003462E4 54 60 D8 02 */ rlwinm r0, r3, 0x1b, 0, 1 -/* 80349388 003462E8 7C 00 FE 70 */ srawi r0, r0, 0x1f -/* 8034938C 003462EC 7C 00 07 75 */ extsb. r0, r0 -/* 80349390 003462F0 41 82 00 18 */ beq lbl_803493A8 -/* 80349394 003462F4 54 60 C0 02 */ rlwinm r0, r3, 0x18, 0, 1 -/* 80349398 003462F8 7C 00 FE 70 */ srawi r0, r0, 0x1f -/* 8034939C 003462FC 7C 00 07 75 */ extsb. r0, r0 -/* 803493A0 00346300 41 82 00 08 */ beq lbl_803493A8 -/* 803493A4 00346304 38 80 00 01 */ li r4, 1 -lbl_803493A8: -/* 803493A8 00346308 88 1E 00 2D */ lbz r0, 0x2d(r30) -/* 803493AC 0034630C 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d -/* 803493B0 00346310 7F E4 FB 78 */ mr r4, r31 -/* 803493B4 00346314 38 61 00 50 */ addi r3, r1, 0x50 -/* 803493B8 00346318 98 1E 00 2D */ stb r0, 0x2d(r30) -/* 803493BC 0034631C 38 A0 00 84 */ li r5, 0x84 -/* 803493C0 00346320 4B F8 D2 41 */ bl GetOsKeyState__10COsContextCFi -/* 803493C4 00346324 88 61 00 54 */ lbz r3, 0x54(r1) -/* 803493C8 00346328 38 80 00 00 */ li r4, 0 -/* 803493CC 0034632C 54 60 D8 02 */ rlwinm r0, r3, 0x1b, 0, 1 -/* 803493D0 00346330 7C 00 FE 70 */ srawi r0, r0, 0x1f -/* 803493D4 00346334 7C 00 07 75 */ extsb. r0, r0 -/* 803493D8 00346338 41 82 00 18 */ beq lbl_803493F0 -/* 803493DC 0034633C 54 60 C0 02 */ rlwinm r0, r3, 0x18, 0, 1 -/* 803493E0 00346340 7C 00 FE 70 */ srawi r0, r0, 0x1f -/* 803493E4 00346344 7C 00 07 75 */ extsb. r0, r0 -/* 803493E8 00346348 41 82 00 08 */ beq lbl_803493F0 -/* 803493EC 0034634C 38 80 00 01 */ li r4, 1 -lbl_803493F0: -/* 803493F0 00346350 88 1E 00 2D */ lbz r0, 0x2d(r30) -/* 803493F4 00346354 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e -/* 803493F8 00346358 7F E4 FB 78 */ mr r4, r31 -/* 803493FC 0034635C 38 61 00 48 */ addi r3, r1, 0x48 -/* 80349400 00346360 98 1E 00 2D */ stb r0, 0x2d(r30) -/* 80349404 00346364 38 A0 00 85 */ li r5, 0x85 -/* 80349408 00346368 4B F8 D1 F9 */ bl GetOsKeyState__10COsContextCFi -/* 8034940C 0034636C 88 61 00 4C */ lbz r3, 0x4c(r1) -/* 80349410 00346370 38 80 00 00 */ li r4, 0 -/* 80349414 00346374 54 60 D8 02 */ rlwinm r0, r3, 0x1b, 0, 1 -/* 80349418 00346378 7C 00 FE 70 */ srawi r0, r0, 0x1f -/* 8034941C 0034637C 7C 00 07 75 */ extsb. r0, r0 -/* 80349420 00346380 41 82 00 18 */ beq lbl_80349438 -/* 80349424 00346384 54 60 C0 02 */ rlwinm r0, r3, 0x18, 0, 1 -/* 80349428 00346388 7C 00 FE 70 */ srawi r0, r0, 0x1f -/* 8034942C 0034638C 7C 00 07 75 */ extsb. r0, r0 -/* 80349430 00346390 41 82 00 08 */ beq lbl_80349438 -/* 80349434 00346394 38 80 00 01 */ li r4, 1 -lbl_80349438: -/* 80349438 00346398 88 1E 00 2D */ lbz r0, 0x2d(r30) -/* 8034943C 0034639C 50 80 07 FE */ rlwimi r0, r4, 0, 0x1f, 0x1f -/* 80349440 003463A0 7F E4 FB 78 */ mr r4, r31 -/* 80349444 003463A4 38 61 00 40 */ addi r3, r1, 0x40 -/* 80349448 003463A8 98 1E 00 2D */ stb r0, 0x2d(r30) -/* 8034944C 003463AC 38 A0 00 16 */ li r5, 0x16 -/* 80349450 003463B0 4B F8 D1 B1 */ bl GetOsKeyState__10COsContextCFi -/* 80349454 003463B4 88 61 00 44 */ lbz r3, 0x44(r1) -/* 80349458 003463B8 38 80 00 00 */ li r4, 0 -/* 8034945C 003463BC 54 60 D8 02 */ rlwinm r0, r3, 0x1b, 0, 1 -/* 80349460 003463C0 7C 00 FE 70 */ srawi r0, r0, 0x1f -/* 80349464 003463C4 7C 00 07 75 */ extsb. r0, r0 -/* 80349468 003463C8 41 82 00 18 */ beq lbl_80349480 -/* 8034946C 003463CC 54 60 C0 02 */ rlwinm r0, r3, 0x18, 0, 1 -/* 80349470 003463D0 7C 00 FE 70 */ srawi r0, r0, 0x1f -/* 80349474 003463D4 7C 00 07 75 */ extsb. r0, r0 -/* 80349478 003463D8 41 82 00 08 */ beq lbl_80349480 -/* 8034947C 003463DC 38 80 00 01 */ li r4, 1 -lbl_80349480: -/* 80349480 003463E0 88 1E 00 2E */ lbz r0, 0x2e(r30) -/* 80349484 003463E4 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 80349488 003463E8 7F E4 FB 78 */ mr r4, r31 -/* 8034948C 003463EC 38 61 00 38 */ addi r3, r1, 0x38 -/* 80349490 003463F0 98 1E 00 2E */ stb r0, 0x2e(r30) -/* 80349494 003463F4 38 A0 00 78 */ li r5, 0x78 -/* 80349498 003463F8 4B F8 D1 69 */ bl GetOsKeyState__10COsContextCFi -/* 8034949C 003463FC 88 61 00 3C */ lbz r3, 0x3c(r1) -/* 803494A0 00346400 38 80 00 00 */ li r4, 0 -/* 803494A4 00346404 54 60 D8 02 */ rlwinm r0, r3, 0x1b, 0, 1 -/* 803494A8 00346408 7C 00 FE 70 */ srawi r0, r0, 0x1f -/* 803494AC 0034640C 7C 00 07 75 */ extsb. r0, r0 -/* 803494B0 00346410 41 82 00 18 */ beq lbl_803494C8 -/* 803494B4 00346414 54 60 C0 02 */ rlwinm r0, r3, 0x18, 0, 1 -/* 803494B8 00346418 7C 00 FE 70 */ srawi r0, r0, 0x1f -/* 803494BC 0034641C 7C 00 07 75 */ extsb. r0, r0 -/* 803494C0 00346420 41 82 00 08 */ beq lbl_803494C8 -/* 803494C4 00346424 38 80 00 01 */ li r4, 1 -lbl_803494C8: -/* 803494C8 00346428 88 1E 00 2E */ lbz r0, 0x2e(r30) -/* 803494CC 0034642C 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 -/* 803494D0 00346430 7F E4 FB 78 */ mr r4, r31 -/* 803494D4 00346434 38 61 00 30 */ addi r3, r1, 0x30 -/* 803494D8 00346438 98 1E 00 2E */ stb r0, 0x2e(r30) -/* 803494DC 0034643C 38 A0 00 7E */ li r5, 0x7e -/* 803494E0 00346440 4B F8 D1 21 */ bl GetOsKeyState__10COsContextCFi -/* 803494E4 00346444 88 61 00 34 */ lbz r3, 0x34(r1) -/* 803494E8 00346448 38 80 00 00 */ li r4, 0 -/* 803494EC 0034644C 54 60 D8 02 */ rlwinm r0, r3, 0x1b, 0, 1 -/* 803494F0 00346450 7C 00 FE 70 */ srawi r0, r0, 0x1f -/* 803494F4 00346454 7C 00 07 75 */ extsb. r0, r0 -/* 803494F8 00346458 41 82 00 18 */ beq lbl_80349510 -/* 803494FC 0034645C 54 60 C0 02 */ rlwinm r0, r3, 0x18, 0, 1 -/* 80349500 00346460 7C 00 FE 70 */ srawi r0, r0, 0x1f -/* 80349504 00346464 7C 00 07 75 */ extsb. r0, r0 -/* 80349508 00346468 41 82 00 08 */ beq lbl_80349510 -/* 8034950C 0034646C 38 80 00 01 */ li r4, 1 -lbl_80349510: -/* 80349510 00346470 88 1E 00 2E */ lbz r0, 0x2e(r30) -/* 80349514 00346474 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a -/* 80349518 00346478 7F E4 FB 78 */ mr r4, r31 -/* 8034951C 0034647C 38 61 00 28 */ addi r3, r1, 0x28 -/* 80349520 00346480 98 1E 00 2E */ stb r0, 0x2e(r30) -/* 80349524 00346484 38 A0 00 1C */ li r5, 0x1c -/* 80349528 00346488 4B F8 D0 D9 */ bl GetOsKeyState__10COsContextCFi -/* 8034952C 0034648C 88 61 00 2C */ lbz r3, 0x2c(r1) -/* 80349530 00346490 38 80 00 00 */ li r4, 0 -/* 80349534 00346494 54 60 D8 02 */ rlwinm r0, r3, 0x1b, 0, 1 -/* 80349538 00346498 7C 00 FE 70 */ srawi r0, r0, 0x1f -/* 8034953C 0034649C 7C 00 07 75 */ extsb. r0, r0 -/* 80349540 003464A0 41 82 00 18 */ beq lbl_80349558 -/* 80349544 003464A4 54 60 C0 02 */ rlwinm r0, r3, 0x18, 0, 1 -/* 80349548 003464A8 7C 00 FE 70 */ srawi r0, r0, 0x1f -/* 8034954C 003464AC 7C 00 07 75 */ extsb. r0, r0 -/* 80349550 003464B0 41 82 00 08 */ beq lbl_80349558 -/* 80349554 003464B4 38 80 00 01 */ li r4, 1 -lbl_80349558: -/* 80349558 003464B8 88 1E 00 2E */ lbz r0, 0x2e(r30) -/* 8034955C 003464BC 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b -/* 80349560 003464C0 7F E4 FB 78 */ mr r4, r31 -/* 80349564 003464C4 38 61 00 20 */ addi r3, r1, 0x20 -/* 80349568 003464C8 98 1E 00 2E */ stb r0, 0x2e(r30) -/* 8034956C 003464CC 38 A0 00 1D */ li r5, 0x1d -/* 80349570 003464D0 4B F8 D0 91 */ bl GetOsKeyState__10COsContextCFi -/* 80349574 003464D4 88 61 00 24 */ lbz r3, 0x24(r1) -/* 80349578 003464D8 38 80 00 00 */ li r4, 0 -/* 8034957C 003464DC 54 60 D8 02 */ rlwinm r0, r3, 0x1b, 0, 1 -/* 80349580 003464E0 7C 00 FE 70 */ srawi r0, r0, 0x1f -/* 80349584 003464E4 7C 00 07 75 */ extsb. r0, r0 -/* 80349588 003464E8 41 82 00 18 */ beq lbl_803495A0 -/* 8034958C 003464EC 54 60 C0 02 */ rlwinm r0, r3, 0x18, 0, 1 -/* 80349590 003464F0 7C 00 FE 70 */ srawi r0, r0, 0x1f -/* 80349594 003464F4 7C 00 07 75 */ extsb. r0, r0 -/* 80349598 003464F8 41 82 00 08 */ beq lbl_803495A0 -/* 8034959C 003464FC 38 80 00 01 */ li r4, 1 -lbl_803495A0: -/* 803495A0 00346500 88 1E 00 2E */ lbz r0, 0x2e(r30) -/* 803495A4 00346504 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c -/* 803495A8 00346508 7F E4 FB 78 */ mr r4, r31 -/* 803495AC 0034650C 38 61 00 18 */ addi r3, r1, 0x18 -/* 803495B0 00346510 98 1E 00 2E */ stb r0, 0x2e(r30) -/* 803495B4 00346514 38 A0 00 1E */ li r5, 0x1e -/* 803495B8 00346518 4B F8 D0 49 */ bl GetOsKeyState__10COsContextCFi -/* 803495BC 0034651C 88 61 00 1C */ lbz r3, 0x1c(r1) -/* 803495C0 00346520 38 80 00 00 */ li r4, 0 -/* 803495C4 00346524 54 60 D8 02 */ rlwinm r0, r3, 0x1b, 0, 1 -/* 803495C8 00346528 7C 00 FE 70 */ srawi r0, r0, 0x1f -/* 803495CC 0034652C 7C 00 07 75 */ extsb. r0, r0 -/* 803495D0 00346530 41 82 00 18 */ beq lbl_803495E8 -/* 803495D4 00346534 54 60 C0 02 */ rlwinm r0, r3, 0x18, 0, 1 -/* 803495D8 00346538 7C 00 FE 70 */ srawi r0, r0, 0x1f -/* 803495DC 0034653C 7C 00 07 75 */ extsb. r0, r0 -/* 803495E0 00346540 41 82 00 08 */ beq lbl_803495E8 -/* 803495E4 00346544 38 80 00 01 */ li r4, 1 -lbl_803495E8: -/* 803495E8 00346548 88 1E 00 2E */ lbz r0, 0x2e(r30) -/* 803495EC 0034654C 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d -/* 803495F0 00346550 7F E4 FB 78 */ mr r4, r31 -/* 803495F4 00346554 38 61 00 10 */ addi r3, r1, 0x10 -/* 803495F8 00346558 98 1E 00 2E */ stb r0, 0x2e(r30) -/* 803495FC 0034655C 38 A0 00 1B */ li r5, 0x1b -/* 80349600 00346560 4B F8 D0 01 */ bl GetOsKeyState__10COsContextCFi -/* 80349604 00346564 88 61 00 14 */ lbz r3, 0x14(r1) -/* 80349608 00346568 38 80 00 00 */ li r4, 0 -/* 8034960C 0034656C 54 60 D8 02 */ rlwinm r0, r3, 0x1b, 0, 1 -/* 80349610 00346570 7C 00 FE 70 */ srawi r0, r0, 0x1f -/* 80349614 00346574 7C 00 07 75 */ extsb. r0, r0 -/* 80349618 00346578 41 82 00 18 */ beq lbl_80349630 -/* 8034961C 0034657C 54 60 C0 02 */ rlwinm r0, r3, 0x18, 0, 1 -/* 80349620 00346580 7C 00 FE 70 */ srawi r0, r0, 0x1f -/* 80349624 00346584 7C 00 07 75 */ extsb. r0, r0 -/* 80349628 00346588 41 82 00 08 */ beq lbl_80349630 -/* 8034962C 0034658C 38 80 00 01 */ li r4, 1 -lbl_80349630: -/* 80349630 00346590 88 1E 00 2E */ lbz r0, 0x2e(r30) -/* 80349634 00346594 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e -/* 80349638 00346598 7F E4 FB 78 */ mr r4, r31 -/* 8034963C 0034659C 38 61 00 08 */ addi r3, r1, 8 -/* 80349640 003465A0 98 1E 00 2E */ stb r0, 0x2e(r30) -/* 80349644 003465A4 38 A0 00 05 */ li r5, 5 -/* 80349648 003465A8 4B F8 CF B9 */ bl GetOsKeyState__10COsContextCFi -/* 8034964C 003465AC 88 61 00 0C */ lbz r3, 0xc(r1) -/* 80349650 003465B0 38 80 00 00 */ li r4, 0 -/* 80349654 003465B4 54 60 D8 02 */ rlwinm r0, r3, 0x1b, 0, 1 -/* 80349658 003465B8 7C 00 FE 70 */ srawi r0, r0, 0x1f -/* 8034965C 003465BC 7C 00 07 75 */ extsb. r0, r0 -/* 80349660 003465C0 41 82 00 18 */ beq lbl_80349678 -/* 80349664 003465C4 54 60 C0 02 */ rlwinm r0, r3, 0x18, 0, 1 -/* 80349668 003465C8 7C 00 FE 70 */ srawi r0, r0, 0x1f -/* 8034966C 003465CC 7C 00 07 75 */ extsb. r0, r0 -/* 80349670 003465D0 41 82 00 08 */ beq lbl_80349678 -/* 80349674 003465D4 38 80 00 01 */ li r4, 1 -lbl_80349678: -/* 80349678 003465D8 88 1E 00 2E */ lbz r0, 0x2e(r30) -/* 8034967C 003465DC 50 80 07 FE */ rlwimi r0, r4, 0, 0x1f, 0x1f -/* 80349680 003465E0 7F C3 F3 78 */ mr r3, r30 -/* 80349684 003465E4 98 1E 00 2E */ stb r0, 0x2e(r30) -/* 80349688 003465E8 80 01 00 D4 */ lwz r0, 0xd4(r1) -/* 8034968C 003465EC 83 E1 00 CC */ lwz r31, 0xcc(r1) -/* 80349690 003465F0 83 C1 00 C8 */ lwz r30, 0xc8(r1) -/* 80349694 003465F4 7C 08 03 A6 */ mtlr r0 -/* 80349698 003465F8 38 21 00 D0 */ addi r1, r1, 0xd0 -/* 8034969C 003465FC 4E 80 00 20 */ blr - -.global InitializeAnalog__11CFinalInputFff -InitializeAnalog__11CFinalInputFff: -/* 803496A0 00346600 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 803496A4 00346604 7C 08 02 A6 */ mflr r0 -/* 803496A8 00346608 90 01 00 44 */ stw r0, 0x44(r1) -/* 803496AC 0034660C DB E1 00 30 */ stfd f31, 0x30(r1) -/* 803496B0 00346610 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 803496B4 00346614 DB C1 00 20 */ stfd f30, 0x20(r1) -/* 803496B8 00346618 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 -/* 803496BC 0034661C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 803496C0 00346620 7C 7F 1B 78 */ mr r31, r3 -/* 803496C4 00346624 FF C0 08 90 */ fmr f30, f1 -/* 803496C8 00346628 C0 03 00 08 */ lfs f0, 8(r3) -/* 803496CC 0034662C FF E0 10 90 */ fmr f31, f2 -/* 803496D0 00346630 38 81 00 14 */ addi r4, r1, 0x14 -/* 803496D4 00346634 38 6D 9D 98 */ addi r3, r13, lbl_805A8958@sda21 -/* 803496D8 00346638 EC 00 F0 24 */ fdivs f0, f0, f30 -/* 803496DC 0034663C 38 AD 9D 9C */ addi r5, r13, lbl_805A895C@sda21 -/* 803496E0 00346640 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 803496E4 00346644 4B CC 2B D1 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 803496E8 00346648 C0 03 00 00 */ lfs f0, 0(r3) -/* 803496EC 0034664C 38 81 00 10 */ addi r4, r1, 0x10 -/* 803496F0 00346650 38 6D 9D A0 */ addi r3, r13, lbl_805A8960@sda21 -/* 803496F4 00346654 38 AD 9D A4 */ addi r5, r13, lbl_805A8964@sda21 -/* 803496F8 00346658 D0 1F 00 08 */ stfs f0, 8(r31) -/* 803496FC 0034665C C0 1F 00 0C */ lfs f0, 0xc(r31) -/* 80349700 00346660 EC 00 F0 24 */ fdivs f0, f0, f30 -/* 80349704 00346664 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 80349708 00346668 4B CC 2B AD */ bl "Clamp__5CMathFRCfRCfRCf" -/* 8034970C 0034666C C0 03 00 00 */ lfs f0, 0(r3) -/* 80349710 00346670 38 81 00 0C */ addi r4, r1, 0xc -/* 80349714 00346674 38 6D 9D A8 */ addi r3, r13, lbl_805A8968@sda21 -/* 80349718 00346678 38 AD 9D AC */ addi r5, r13, lbl_805A896C@sda21 -/* 8034971C 0034667C D0 1F 00 0C */ stfs f0, 0xc(r31) -/* 80349720 00346680 C0 1F 00 10 */ lfs f0, 0x10(r31) -/* 80349724 00346684 EC 00 F8 24 */ fdivs f0, f0, f31 -/* 80349728 00346688 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 8034972C 0034668C 4B CC 2B 89 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 80349730 00346690 C0 03 00 00 */ lfs f0, 0(r3) -/* 80349734 00346694 38 81 00 08 */ addi r4, r1, 8 -/* 80349738 00346698 38 6D 9D B0 */ addi r3, r13, lbl_805A8970@sda21 -/* 8034973C 0034669C 38 AD 9D B4 */ addi r5, r13, lbl_805A8974@sda21 -/* 80349740 003466A0 D0 1F 00 10 */ stfs f0, 0x10(r31) -/* 80349744 003466A4 C0 1F 00 14 */ lfs f0, 0x14(r31) -/* 80349748 003466A8 EC 00 F8 24 */ fdivs f0, f0, f31 -/* 8034974C 003466AC D0 01 00 08 */ stfs f0, 8(r1) -/* 80349750 003466B0 4B CC 2B 65 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 80349754 003466B4 C0 23 00 00 */ lfs f1, 0(r3) -/* 80349758 003466B8 C0 02 CC 34 */ lfs f0, lbl_805AE954@sda21(r2) -/* 8034975C 003466BC D0 3F 00 14 */ stfs f1, 0x14(r31) -/* 80349760 003466C0 C0 3F 00 0C */ lfs f1, 0xc(r31) -/* 80349764 003466C4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80349768 003466C8 40 81 00 30 */ ble lbl_80349798 -/* 8034976C 003466CC 80 1F 00 04 */ lwz r0, 4(r31) -/* 80349770 003466D0 3C 60 80 3F */ lis r3, lbl_803EF660@ha -/* 80349774 003466D4 38 63 F6 60 */ addi r3, r3, lbl_803EF660@l -/* 80349778 003466D8 54 04 10 3A */ slwi r4, r0, 2 -/* 8034977C 003466DC 7C 03 20 AE */ lbzx r0, r3, r4 -/* 80349780 003466E0 28 00 00 00 */ cmplwi r0, 0 -/* 80349784 003466E4 40 82 00 14 */ bne lbl_80349798 -/* 80349788 003466E8 38 00 00 01 */ li r0, 1 -/* 8034978C 003466EC 7C 03 21 AE */ stbx r0, r3, r4 -/* 80349790 003466F0 98 1F 00 21 */ stb r0, 0x21(r31) -/* 80349794 003466F4 48 00 00 DC */ b lbl_80349870 -lbl_80349798: -/* 80349798 003466F8 C0 02 CC 34 */ lfs f0, lbl_805AE954@sda21(r2) -/* 8034979C 003466FC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 803497A0 00346700 40 81 00 2C */ ble lbl_803497CC -/* 803497A4 00346704 80 1F 00 04 */ lwz r0, 4(r31) -/* 803497A8 00346708 3C 60 80 3F */ lis r3, lbl_803EF660@ha -/* 803497AC 0034670C 38 63 F6 60 */ addi r3, r3, lbl_803EF660@l -/* 803497B0 00346710 54 00 10 3A */ slwi r0, r0, 2 -/* 803497B4 00346714 7C 03 00 AE */ lbzx r0, r3, r0 -/* 803497B8 00346718 28 00 00 00 */ cmplwi r0, 0 -/* 803497BC 0034671C 41 82 00 10 */ beq lbl_803497CC -/* 803497C0 00346720 38 00 00 00 */ li r0, 0 -/* 803497C4 00346724 98 1F 00 21 */ stb r0, 0x21(r31) -/* 803497C8 00346728 48 00 00 A8 */ b lbl_80349870 -lbl_803497CC: -/* 803497CC 0034672C C0 02 CC 38 */ lfs f0, lbl_805AE958@sda21(r2) -/* 803497D0 00346730 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 803497D4 00346734 40 80 00 38 */ bge lbl_8034980C -/* 803497D8 00346738 80 1F 00 04 */ lwz r0, 4(r31) -/* 803497DC 0034673C 3C 60 80 3F */ lis r3, lbl_803EF660@ha -/* 803497E0 00346740 38 83 F6 60 */ addi r4, r3, lbl_803EF660@l -/* 803497E4 00346744 54 00 10 3A */ slwi r0, r0, 2 -/* 803497E8 00346748 7C 04 00 AE */ lbzx r0, r4, r0 -/* 803497EC 0034674C 28 00 00 00 */ cmplwi r0, 0 -/* 803497F0 00346750 40 82 00 1C */ bne lbl_8034980C -/* 803497F4 00346754 38 60 00 01 */ li r3, 1 -/* 803497F8 00346758 98 7F 00 21 */ stb r3, 0x21(r31) -/* 803497FC 0034675C 80 1F 00 04 */ lwz r0, 4(r31) -/* 80349800 00346760 54 00 10 3A */ slwi r0, r0, 2 -/* 80349804 00346764 7C 64 01 AE */ stbx r3, r4, r0 -/* 80349808 00346768 48 00 00 68 */ b lbl_80349870 -lbl_8034980C: -/* 8034980C 0034676C C0 02 CC 38 */ lfs f0, lbl_805AE958@sda21(r2) -/* 80349810 00346770 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80349814 00346774 40 80 00 2C */ bge lbl_80349840 -/* 80349818 00346778 80 1F 00 04 */ lwz r0, 4(r31) -/* 8034981C 0034677C 3C 60 80 3F */ lis r3, lbl_803EF660@ha -/* 80349820 00346780 38 63 F6 60 */ addi r3, r3, lbl_803EF660@l -/* 80349824 00346784 54 00 10 3A */ slwi r0, r0, 2 -/* 80349828 00346788 7C 03 00 AE */ lbzx r0, r3, r0 -/* 8034982C 0034678C 28 00 00 00 */ cmplwi r0, 0 -/* 80349830 00346790 41 82 00 10 */ beq lbl_80349840 -/* 80349834 00346794 38 00 00 00 */ li r0, 0 -/* 80349838 00346798 98 1F 00 21 */ stb r0, 0x21(r31) -/* 8034983C 0034679C 48 00 00 34 */ b lbl_80349870 -lbl_80349840: -/* 80349840 003467A0 FC 20 0A 10 */ fabs f1, f1 -/* 80349844 003467A4 C0 02 CC 34 */ lfs f0, lbl_805AE954@sda21(r2) -/* 80349848 003467A8 FC 20 08 18 */ frsp f1, f1 -/* 8034984C 003467AC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80349850 003467B0 40 80 00 20 */ bge lbl_80349870 -/* 80349854 003467B4 38 80 00 00 */ li r4, 0 -/* 80349858 003467B8 3C 60 80 3F */ lis r3, lbl_803EF660@ha -/* 8034985C 003467BC 98 9F 00 21 */ stb r4, 0x21(r31) -/* 80349860 003467C0 38 63 F6 60 */ addi r3, r3, lbl_803EF660@l -/* 80349864 003467C4 80 1F 00 04 */ lwz r0, 4(r31) -/* 80349868 003467C8 54 00 10 3A */ slwi r0, r0, 2 -/* 8034986C 003467CC 7C 83 01 AE */ stbx r4, r3, r0 -lbl_80349870: -/* 80349870 003467D0 C0 3F 00 08 */ lfs f1, 8(r31) -/* 80349874 003467D4 C0 02 CC 34 */ lfs f0, lbl_805AE954@sda21(r2) -/* 80349878 003467D8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8034987C 003467DC 40 81 00 3C */ ble lbl_803498B8 -/* 80349880 003467E0 80 1F 00 04 */ lwz r0, 4(r31) -/* 80349884 003467E4 3C 60 80 3F */ lis r3, lbl_803EF660@ha -/* 80349888 003467E8 38 63 F6 60 */ addi r3, r3, lbl_803EF660@l -/* 8034988C 003467EC 38 83 00 01 */ addi r4, r3, 1 -/* 80349890 003467F0 54 00 10 3A */ slwi r0, r0, 2 -/* 80349894 003467F4 7C 04 00 AE */ lbzx r0, r4, r0 -/* 80349898 003467F8 28 00 00 00 */ cmplwi r0, 0 -/* 8034989C 003467FC 40 82 00 1C */ bne lbl_803498B8 -/* 803498A0 00346800 38 60 00 01 */ li r3, 1 -/* 803498A4 00346804 98 7F 00 20 */ stb r3, 0x20(r31) -/* 803498A8 00346808 80 1F 00 04 */ lwz r0, 4(r31) -/* 803498AC 0034680C 54 00 10 3A */ slwi r0, r0, 2 -/* 803498B0 00346810 7C 64 01 AE */ stbx r3, r4, r0 -/* 803498B4 00346814 48 00 00 E4 */ b lbl_80349998 -lbl_803498B8: -/* 803498B8 00346818 C0 02 CC 34 */ lfs f0, lbl_805AE954@sda21(r2) -/* 803498BC 0034681C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 803498C0 00346820 40 81 00 30 */ ble lbl_803498F0 -/* 803498C4 00346824 80 1F 00 04 */ lwz r0, 4(r31) -/* 803498C8 00346828 3C 60 80 3F */ lis r3, lbl_803EF660@ha -/* 803498CC 0034682C 38 63 F6 60 */ addi r3, r3, lbl_803EF660@l -/* 803498D0 00346830 54 00 10 3A */ slwi r0, r0, 2 -/* 803498D4 00346834 7C 63 02 14 */ add r3, r3, r0 -/* 803498D8 00346838 88 03 00 01 */ lbz r0, 1(r3) -/* 803498DC 0034683C 28 00 00 00 */ cmplwi r0, 0 -/* 803498E0 00346840 41 82 00 10 */ beq lbl_803498F0 -/* 803498E4 00346844 38 00 00 00 */ li r0, 0 -/* 803498E8 00346848 98 1F 00 20 */ stb r0, 0x20(r31) -/* 803498EC 0034684C 48 00 00 AC */ b lbl_80349998 -lbl_803498F0: -/* 803498F0 00346850 C0 02 CC 38 */ lfs f0, lbl_805AE958@sda21(r2) -/* 803498F4 00346854 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 803498F8 00346858 40 80 00 34 */ bge lbl_8034992C -/* 803498FC 0034685C 80 1F 00 04 */ lwz r0, 4(r31) -/* 80349900 00346860 3C 60 80 3F */ lis r3, lbl_803EF660@ha -/* 80349904 00346864 38 63 F6 60 */ addi r3, r3, lbl_803EF660@l -/* 80349908 00346868 54 00 10 3A */ slwi r0, r0, 2 -/* 8034990C 0034686C 7C 63 02 14 */ add r3, r3, r0 -/* 80349910 00346870 8C 03 00 01 */ lbzu r0, 1(r3) -/* 80349914 00346874 28 00 00 00 */ cmplwi r0, 0 -/* 80349918 00346878 40 82 00 14 */ bne lbl_8034992C -/* 8034991C 0034687C 38 00 00 01 */ li r0, 1 -/* 80349920 00346880 98 03 00 00 */ stb r0, 0(r3) -/* 80349924 00346884 98 1F 00 20 */ stb r0, 0x20(r31) -/* 80349928 00346888 48 00 00 70 */ b lbl_80349998 -lbl_8034992C: -/* 8034992C 0034688C C0 02 CC 38 */ lfs f0, lbl_805AE958@sda21(r2) -/* 80349930 00346890 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80349934 00346894 40 80 00 30 */ bge lbl_80349964 -/* 80349938 00346898 80 1F 00 04 */ lwz r0, 4(r31) -/* 8034993C 0034689C 3C 60 80 3F */ lis r3, lbl_803EF660@ha -/* 80349940 003468A0 38 63 F6 60 */ addi r3, r3, lbl_803EF660@l -/* 80349944 003468A4 54 00 10 3A */ slwi r0, r0, 2 -/* 80349948 003468A8 7C 63 02 14 */ add r3, r3, r0 -/* 8034994C 003468AC 88 03 00 01 */ lbz r0, 1(r3) -/* 80349950 003468B0 28 00 00 00 */ cmplwi r0, 0 -/* 80349954 003468B4 41 82 00 10 */ beq lbl_80349964 -/* 80349958 003468B8 38 00 00 00 */ li r0, 0 -/* 8034995C 003468BC 98 1F 00 20 */ stb r0, 0x20(r31) -/* 80349960 003468C0 48 00 00 38 */ b lbl_80349998 -lbl_80349964: -/* 80349964 003468C4 FC 20 0A 10 */ fabs f1, f1 -/* 80349968 003468C8 C0 02 CC 34 */ lfs f0, lbl_805AE954@sda21(r2) -/* 8034996C 003468CC FC 20 08 18 */ frsp f1, f1 -/* 80349970 003468D0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80349974 003468D4 40 80 00 24 */ bge lbl_80349998 -/* 80349978 003468D8 38 80 00 00 */ li r4, 0 -/* 8034997C 003468DC 3C 60 80 3F */ lis r3, lbl_803EF660@ha -/* 80349980 003468E0 98 9F 00 20 */ stb r4, 0x20(r31) -/* 80349984 003468E4 38 63 F6 60 */ addi r3, r3, lbl_803EF660@l -/* 80349988 003468E8 80 1F 00 04 */ lwz r0, 4(r31) -/* 8034998C 003468EC 54 00 10 3A */ slwi r0, r0, 2 -/* 80349990 003468F0 7C 63 02 14 */ add r3, r3, r0 -/* 80349994 003468F4 98 83 00 01 */ stb r4, 1(r3) -lbl_80349998: -/* 80349998 003468F8 C0 3F 00 14 */ lfs f1, 0x14(r31) -/* 8034999C 003468FC C0 02 CC 34 */ lfs f0, lbl_805AE954@sda21(r2) -/* 803499A0 00346900 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 803499A4 00346904 40 81 00 34 */ ble lbl_803499D8 -/* 803499A8 00346908 80 1F 00 04 */ lwz r0, 4(r31) -/* 803499AC 0034690C 3C 60 80 3F */ lis r3, lbl_803EF660@ha -/* 803499B0 00346910 38 63 F6 60 */ addi r3, r3, lbl_803EF660@l -/* 803499B4 00346914 54 00 10 3A */ slwi r0, r0, 2 -/* 803499B8 00346918 7C 63 02 14 */ add r3, r3, r0 -/* 803499BC 0034691C 8C 03 00 02 */ lbzu r0, 2(r3) -/* 803499C0 00346920 28 00 00 00 */ cmplwi r0, 0 -/* 803499C4 00346924 40 82 00 14 */ bne lbl_803499D8 -/* 803499C8 00346928 38 00 00 01 */ li r0, 1 -/* 803499CC 0034692C 98 03 00 00 */ stb r0, 0(r3) -/* 803499D0 00346930 98 1F 00 23 */ stb r0, 0x23(r31) -/* 803499D4 00346934 48 00 00 EC */ b lbl_80349AC0 -lbl_803499D8: -/* 803499D8 00346938 C0 02 CC 34 */ lfs f0, lbl_805AE954@sda21(r2) -/* 803499DC 0034693C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 803499E0 00346940 40 81 00 30 */ ble lbl_80349A10 -/* 803499E4 00346944 80 1F 00 04 */ lwz r0, 4(r31) -/* 803499E8 00346948 3C 60 80 3F */ lis r3, lbl_803EF660@ha -/* 803499EC 0034694C 38 63 F6 60 */ addi r3, r3, lbl_803EF660@l -/* 803499F0 00346950 54 00 10 3A */ slwi r0, r0, 2 -/* 803499F4 00346954 7C 63 02 14 */ add r3, r3, r0 -/* 803499F8 00346958 88 03 00 02 */ lbz r0, 2(r3) -/* 803499FC 0034695C 28 00 00 00 */ cmplwi r0, 0 -/* 80349A00 00346960 41 82 00 10 */ beq lbl_80349A10 -/* 80349A04 00346964 38 00 00 00 */ li r0, 0 -/* 80349A08 00346968 98 1F 00 23 */ stb r0, 0x23(r31) -/* 80349A0C 0034696C 48 00 00 B4 */ b lbl_80349AC0 -lbl_80349A10: -/* 80349A10 00346970 C0 02 CC 38 */ lfs f0, lbl_805AE958@sda21(r2) -/* 80349A14 00346974 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80349A18 00346978 40 80 00 3C */ bge lbl_80349A54 -/* 80349A1C 0034697C 80 1F 00 04 */ lwz r0, 4(r31) -/* 80349A20 00346980 3C 60 80 3F */ lis r3, lbl_803EF660@ha -/* 80349A24 00346984 38 63 F6 60 */ addi r3, r3, lbl_803EF660@l -/* 80349A28 00346988 38 83 00 02 */ addi r4, r3, 2 -/* 80349A2C 0034698C 54 00 10 3A */ slwi r0, r0, 2 -/* 80349A30 00346990 7C 04 00 AE */ lbzx r0, r4, r0 -/* 80349A34 00346994 28 00 00 00 */ cmplwi r0, 0 -/* 80349A38 00346998 40 82 00 1C */ bne lbl_80349A54 -/* 80349A3C 0034699C 38 60 00 01 */ li r3, 1 -/* 80349A40 003469A0 98 7F 00 23 */ stb r3, 0x23(r31) -/* 80349A44 003469A4 80 1F 00 04 */ lwz r0, 4(r31) -/* 80349A48 003469A8 54 00 10 3A */ slwi r0, r0, 2 -/* 80349A4C 003469AC 7C 64 01 AE */ stbx r3, r4, r0 -/* 80349A50 003469B0 48 00 00 70 */ b lbl_80349AC0 -lbl_80349A54: -/* 80349A54 003469B4 C0 02 CC 38 */ lfs f0, lbl_805AE958@sda21(r2) -/* 80349A58 003469B8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80349A5C 003469BC 40 80 00 30 */ bge lbl_80349A8C -/* 80349A60 003469C0 80 1F 00 04 */ lwz r0, 4(r31) -/* 80349A64 003469C4 3C 60 80 3F */ lis r3, lbl_803EF660@ha -/* 80349A68 003469C8 38 63 F6 60 */ addi r3, r3, lbl_803EF660@l -/* 80349A6C 003469CC 54 00 10 3A */ slwi r0, r0, 2 -/* 80349A70 003469D0 7C 63 02 14 */ add r3, r3, r0 -/* 80349A74 003469D4 88 03 00 02 */ lbz r0, 2(r3) -/* 80349A78 003469D8 28 00 00 00 */ cmplwi r0, 0 -/* 80349A7C 003469DC 41 82 00 10 */ beq lbl_80349A8C -/* 80349A80 003469E0 38 00 00 00 */ li r0, 0 -/* 80349A84 003469E4 98 1F 00 23 */ stb r0, 0x23(r31) -/* 80349A88 003469E8 48 00 00 38 */ b lbl_80349AC0 -lbl_80349A8C: -/* 80349A8C 003469EC FC 20 0A 10 */ fabs f1, f1 -/* 80349A90 003469F0 C0 02 CC 34 */ lfs f0, lbl_805AE954@sda21(r2) -/* 80349A94 003469F4 FC 20 08 18 */ frsp f1, f1 -/* 80349A98 003469F8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80349A9C 003469FC 40 80 00 24 */ bge lbl_80349AC0 -/* 80349AA0 00346A00 38 80 00 00 */ li r4, 0 -/* 80349AA4 00346A04 3C 60 80 3F */ lis r3, lbl_803EF660@ha -/* 80349AA8 00346A08 98 9F 00 23 */ stb r4, 0x23(r31) -/* 80349AAC 00346A0C 38 63 F6 60 */ addi r3, r3, lbl_803EF660@l -/* 80349AB0 00346A10 80 1F 00 04 */ lwz r0, 4(r31) -/* 80349AB4 00346A14 54 00 10 3A */ slwi r0, r0, 2 -/* 80349AB8 00346A18 7C 63 02 14 */ add r3, r3, r0 -/* 80349ABC 00346A1C 98 83 00 02 */ stb r4, 2(r3) -lbl_80349AC0: -/* 80349AC0 00346A20 C0 3F 00 10 */ lfs f1, 0x10(r31) -/* 80349AC4 00346A24 C0 02 CC 34 */ lfs f0, lbl_805AE954@sda21(r2) -/* 80349AC8 00346A28 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80349ACC 00346A2C 40 81 00 3C */ ble lbl_80349B08 -/* 80349AD0 00346A30 80 1F 00 04 */ lwz r0, 4(r31) -/* 80349AD4 00346A34 3C 60 80 3F */ lis r3, lbl_803EF660@ha -/* 80349AD8 00346A38 38 63 F6 60 */ addi r3, r3, lbl_803EF660@l -/* 80349ADC 00346A3C 38 83 00 03 */ addi r4, r3, 3 -/* 80349AE0 00346A40 54 00 10 3A */ slwi r0, r0, 2 -/* 80349AE4 00346A44 7C 04 00 AE */ lbzx r0, r4, r0 -/* 80349AE8 00346A48 28 00 00 00 */ cmplwi r0, 0 -/* 80349AEC 00346A4C 40 82 00 1C */ bne lbl_80349B08 -/* 80349AF0 00346A50 38 60 00 01 */ li r3, 1 -/* 80349AF4 00346A54 98 7F 00 22 */ stb r3, 0x22(r31) -/* 80349AF8 00346A58 80 1F 00 04 */ lwz r0, 4(r31) -/* 80349AFC 00346A5C 54 00 10 3A */ slwi r0, r0, 2 -/* 80349B00 00346A60 7C 64 01 AE */ stbx r3, r4, r0 -/* 80349B04 00346A64 48 00 00 E4 */ b lbl_80349BE8 -lbl_80349B08: -/* 80349B08 00346A68 C0 02 CC 34 */ lfs f0, lbl_805AE954@sda21(r2) -/* 80349B0C 00346A6C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80349B10 00346A70 40 81 00 30 */ ble lbl_80349B40 -/* 80349B14 00346A74 80 1F 00 04 */ lwz r0, 4(r31) -/* 80349B18 00346A78 3C 60 80 3F */ lis r3, lbl_803EF660@ha -/* 80349B1C 00346A7C 38 63 F6 60 */ addi r3, r3, lbl_803EF660@l -/* 80349B20 00346A80 54 00 10 3A */ slwi r0, r0, 2 -/* 80349B24 00346A84 7C 63 02 14 */ add r3, r3, r0 -/* 80349B28 00346A88 88 03 00 03 */ lbz r0, 3(r3) -/* 80349B2C 00346A8C 28 00 00 00 */ cmplwi r0, 0 -/* 80349B30 00346A90 41 82 00 10 */ beq lbl_80349B40 -/* 80349B34 00346A94 38 00 00 00 */ li r0, 0 -/* 80349B38 00346A98 98 1F 00 22 */ stb r0, 0x22(r31) -/* 80349B3C 00346A9C 48 00 00 AC */ b lbl_80349BE8 -lbl_80349B40: -/* 80349B40 00346AA0 C0 02 CC 38 */ lfs f0, lbl_805AE958@sda21(r2) -/* 80349B44 00346AA4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80349B48 00346AA8 40 80 00 34 */ bge lbl_80349B7C -/* 80349B4C 00346AAC 80 1F 00 04 */ lwz r0, 4(r31) -/* 80349B50 00346AB0 3C 60 80 3F */ lis r3, lbl_803EF660@ha -/* 80349B54 00346AB4 38 63 F6 60 */ addi r3, r3, lbl_803EF660@l -/* 80349B58 00346AB8 54 00 10 3A */ slwi r0, r0, 2 -/* 80349B5C 00346ABC 7C 63 02 14 */ add r3, r3, r0 -/* 80349B60 00346AC0 8C 03 00 03 */ lbzu r0, 3(r3) -/* 80349B64 00346AC4 28 00 00 00 */ cmplwi r0, 0 -/* 80349B68 00346AC8 40 82 00 14 */ bne lbl_80349B7C -/* 80349B6C 00346ACC 38 00 00 01 */ li r0, 1 -/* 80349B70 00346AD0 98 03 00 00 */ stb r0, 0(r3) -/* 80349B74 00346AD4 98 1F 00 22 */ stb r0, 0x22(r31) -/* 80349B78 00346AD8 48 00 00 70 */ b lbl_80349BE8 -lbl_80349B7C: -/* 80349B7C 00346ADC C0 02 CC 38 */ lfs f0, lbl_805AE958@sda21(r2) -/* 80349B80 00346AE0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80349B84 00346AE4 40 80 00 30 */ bge lbl_80349BB4 -/* 80349B88 00346AE8 80 1F 00 04 */ lwz r0, 4(r31) -/* 80349B8C 00346AEC 3C 60 80 3F */ lis r3, lbl_803EF660@ha -/* 80349B90 00346AF0 38 63 F6 60 */ addi r3, r3, lbl_803EF660@l -/* 80349B94 00346AF4 54 00 10 3A */ slwi r0, r0, 2 -/* 80349B98 00346AF8 7C 63 02 14 */ add r3, r3, r0 -/* 80349B9C 00346AFC 88 03 00 03 */ lbz r0, 3(r3) -/* 80349BA0 00346B00 28 00 00 00 */ cmplwi r0, 0 -/* 80349BA4 00346B04 41 82 00 10 */ beq lbl_80349BB4 -/* 80349BA8 00346B08 38 00 00 00 */ li r0, 0 -/* 80349BAC 00346B0C 98 1F 00 22 */ stb r0, 0x22(r31) -/* 80349BB0 00346B10 48 00 00 38 */ b lbl_80349BE8 -lbl_80349BB4: -/* 80349BB4 00346B14 FC 20 0A 10 */ fabs f1, f1 -/* 80349BB8 00346B18 C0 02 CC 34 */ lfs f0, lbl_805AE954@sda21(r2) -/* 80349BBC 00346B1C FC 20 08 18 */ frsp f1, f1 -/* 80349BC0 00346B20 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80349BC4 00346B24 40 80 00 24 */ bge lbl_80349BE8 -/* 80349BC8 00346B28 38 80 00 00 */ li r4, 0 -/* 80349BCC 00346B2C 3C 60 80 3F */ lis r3, lbl_803EF660@ha -/* 80349BD0 00346B30 98 9F 00 22 */ stb r4, 0x22(r31) -/* 80349BD4 00346B34 38 63 F6 60 */ addi r3, r3, lbl_803EF660@l -/* 80349BD8 00346B38 80 1F 00 04 */ lwz r0, 4(r31) -/* 80349BDC 00346B3C 54 00 10 3A */ slwi r0, r0, 2 -/* 80349BE0 00346B40 7C 63 02 14 */ add r3, r3, r0 -/* 80349BE4 00346B44 98 83 00 03 */ stb r4, 3(r3) -lbl_80349BE8: -/* 80349BE8 00346B48 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 80349BEC 00346B4C CB E1 00 30 */ lfd f31, 0x30(r1) -/* 80349BF0 00346B50 E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 -/* 80349BF4 00346B54 CB C1 00 20 */ lfd f30, 0x20(r1) -/* 80349BF8 00346B58 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80349BFC 00346B5C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80349C00 00346B60 7C 08 03 A6 */ mtlr r0 -/* 80349C04 00346B64 38 21 00 40 */ addi r1, r1, 0x40 -/* 80349C08 00346B68 4E 80 00 20 */ blr - -.global __ct__11CFinalInputFifRC22CControllerGamepadDataff -__ct__11CFinalInputFifRC22CControllerGamepadDataff: -/* 80349C0C 00346B6C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80349C10 00346B70 7C 08 02 A6 */ mflr r0 -/* 80349C14 00346B74 90 01 00 14 */ stw r0, 0x14(r1) -/* 80349C18 00346B78 38 00 00 00 */ li r0, 0 -/* 80349C1C 00346B7C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80349C20 00346B80 7C 7F 1B 78 */ mr r31, r3 -/* 80349C24 00346B84 D0 23 00 00 */ stfs f1, 0(r3) -/* 80349C28 00346B88 90 83 00 04 */ stw r4, 4(r3) -/* 80349C2C 00346B8C C0 05 00 08 */ lfs f0, 8(r5) -/* 80349C30 00346B90 D0 03 00 08 */ stfs f0, 8(r3) -/* 80349C34 00346B94 C0 05 00 10 */ lfs f0, 0x10(r5) -/* 80349C38 00346B98 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 80349C3C 00346B9C C0 05 00 18 */ lfs f0, 0x18(r5) -/* 80349C40 00346BA0 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 80349C44 00346BA4 C0 05 00 20 */ lfs f0, 0x20(r5) -/* 80349C48 00346BA8 D0 03 00 14 */ stfs f0, 0x14(r3) -/* 80349C4C 00346BAC C0 05 00 28 */ lfs f0, 0x28(r5) -/* 80349C50 00346BB0 D0 03 00 18 */ stfs f0, 0x18(r3) -/* 80349C54 00346BB4 C0 05 00 30 */ lfs f0, 0x30(r5) -/* 80349C58 00346BB8 D0 03 00 1C */ stfs f0, 0x1c(r3) -/* 80349C5C 00346BBC 98 03 00 20 */ stb r0, 0x20(r3) -/* 80349C60 00346BC0 98 03 00 21 */ stb r0, 0x21(r3) -/* 80349C64 00346BC4 98 03 00 22 */ stb r0, 0x22(r3) -/* 80349C68 00346BC8 98 03 00 23 */ stb r0, 0x23(r3) -/* 80349C6C 00346BCC C0 05 00 24 */ lfs f0, 0x24(r5) -/* 80349C70 00346BD0 D0 03 00 24 */ stfs f0, 0x24(r3) -/* 80349C74 00346BD4 C0 05 00 2C */ lfs f0, 0x2c(r5) -/* 80349C78 00346BD8 D0 03 00 28 */ stfs f0, 0x28(r3) -/* 80349C7C 00346BDC 88 85 00 34 */ lbz r4, 0x34(r5) -/* 80349C80 00346BE0 88 03 00 2C */ lbz r0, 0x2c(r3) -/* 80349C84 00346BE4 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 80349C88 00346BE8 98 03 00 2C */ stb r0, 0x2c(r3) -/* 80349C8C 00346BEC 88 85 00 37 */ lbz r4, 0x37(r5) -/* 80349C90 00346BF0 88 03 00 2C */ lbz r0, 0x2c(r3) -/* 80349C94 00346BF4 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 -/* 80349C98 00346BF8 98 03 00 2C */ stb r0, 0x2c(r3) -/* 80349C9C 00346BFC 88 85 00 3A */ lbz r4, 0x3a(r5) -/* 80349CA0 00346C00 88 03 00 2C */ lbz r0, 0x2c(r3) -/* 80349CA4 00346C04 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a -/* 80349CA8 00346C08 98 03 00 2C */ stb r0, 0x2c(r3) -/* 80349CAC 00346C0C 88 85 00 3D */ lbz r4, 0x3d(r5) -/* 80349CB0 00346C10 88 03 00 2C */ lbz r0, 0x2c(r3) -/* 80349CB4 00346C14 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b -/* 80349CB8 00346C18 98 03 00 2C */ stb r0, 0x2c(r3) -/* 80349CBC 00346C1C 88 85 00 43 */ lbz r4, 0x43(r5) -/* 80349CC0 00346C20 88 03 00 2C */ lbz r0, 0x2c(r3) -/* 80349CC4 00346C24 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c -/* 80349CC8 00346C28 98 03 00 2C */ stb r0, 0x2c(r3) -/* 80349CCC 00346C2C 88 85 00 52 */ lbz r4, 0x52(r5) -/* 80349CD0 00346C30 88 03 00 2C */ lbz r0, 0x2c(r3) -/* 80349CD4 00346C34 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d -/* 80349CD8 00346C38 98 03 00 2C */ stb r0, 0x2c(r3) -/* 80349CDC 00346C3C 88 85 00 55 */ lbz r4, 0x55(r5) -/* 80349CE0 00346C40 88 03 00 2C */ lbz r0, 0x2c(r3) -/* 80349CE4 00346C44 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e -/* 80349CE8 00346C48 98 03 00 2C */ stb r0, 0x2c(r3) -/* 80349CEC 00346C4C 88 85 00 46 */ lbz r4, 0x46(r5) -/* 80349CF0 00346C50 88 03 00 2C */ lbz r0, 0x2c(r3) -/* 80349CF4 00346C54 50 80 07 FE */ rlwimi r0, r4, 0, 0x1f, 0x1f -/* 80349CF8 00346C58 98 03 00 2C */ stb r0, 0x2c(r3) -/* 80349CFC 00346C5C 88 85 00 49 */ lbz r4, 0x49(r5) -/* 80349D00 00346C60 88 03 00 2D */ lbz r0, 0x2d(r3) -/* 80349D04 00346C64 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 80349D08 00346C68 98 03 00 2D */ stb r0, 0x2d(r3) -/* 80349D0C 00346C6C 88 85 00 4C */ lbz r4, 0x4c(r5) -/* 80349D10 00346C70 88 03 00 2D */ lbz r0, 0x2d(r3) -/* 80349D14 00346C74 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 -/* 80349D18 00346C78 98 03 00 2D */ stb r0, 0x2d(r3) -/* 80349D1C 00346C7C 88 85 00 4F */ lbz r4, 0x4f(r5) -/* 80349D20 00346C80 88 03 00 2D */ lbz r0, 0x2d(r3) -/* 80349D24 00346C84 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a -/* 80349D28 00346C88 98 03 00 2D */ stb r0, 0x2d(r3) -/* 80349D2C 00346C8C 88 85 00 40 */ lbz r4, 0x40(r5) -/* 80349D30 00346C90 FC 20 10 90 */ fmr f1, f2 -/* 80349D34 00346C94 88 1F 00 2D */ lbz r0, 0x2d(r31) -/* 80349D38 00346C98 FC 40 18 90 */ fmr f2, f3 -/* 80349D3C 00346C9C 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b -/* 80349D40 00346CA0 98 1F 00 2D */ stb r0, 0x2d(r31) -/* 80349D44 00346CA4 88 85 00 35 */ lbz r4, 0x35(r5) -/* 80349D48 00346CA8 88 1F 00 2D */ lbz r0, 0x2d(r31) -/* 80349D4C 00346CAC 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c -/* 80349D50 00346CB0 98 1F 00 2D */ stb r0, 0x2d(r31) -/* 80349D54 00346CB4 88 85 00 38 */ lbz r4, 0x38(r5) -/* 80349D58 00346CB8 88 1F 00 2D */ lbz r0, 0x2d(r31) -/* 80349D5C 00346CBC 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d -/* 80349D60 00346CC0 98 1F 00 2D */ stb r0, 0x2d(r31) -/* 80349D64 00346CC4 88 85 00 3B */ lbz r4, 0x3b(r5) -/* 80349D68 00346CC8 88 1F 00 2D */ lbz r0, 0x2d(r31) -/* 80349D6C 00346CCC 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e -/* 80349D70 00346CD0 98 1F 00 2D */ stb r0, 0x2d(r31) -/* 80349D74 00346CD4 88 85 00 3E */ lbz r4, 0x3e(r5) -/* 80349D78 00346CD8 88 1F 00 2D */ lbz r0, 0x2d(r31) -/* 80349D7C 00346CDC 50 80 07 FE */ rlwimi r0, r4, 0, 0x1f, 0x1f -/* 80349D80 00346CE0 98 1F 00 2D */ stb r0, 0x2d(r31) -/* 80349D84 00346CE4 88 85 00 44 */ lbz r4, 0x44(r5) -/* 80349D88 00346CE8 88 1F 00 2E */ lbz r0, 0x2e(r31) -/* 80349D8C 00346CEC 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 80349D90 00346CF0 98 1F 00 2E */ stb r0, 0x2e(r31) -/* 80349D94 00346CF4 88 85 00 53 */ lbz r4, 0x53(r5) -/* 80349D98 00346CF8 88 1F 00 2E */ lbz r0, 0x2e(r31) -/* 80349D9C 00346CFC 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 -/* 80349DA0 00346D00 98 1F 00 2E */ stb r0, 0x2e(r31) -/* 80349DA4 00346D04 88 85 00 56 */ lbz r4, 0x56(r5) -/* 80349DA8 00346D08 88 1F 00 2E */ lbz r0, 0x2e(r31) -/* 80349DAC 00346D0C 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a -/* 80349DB0 00346D10 98 1F 00 2E */ stb r0, 0x2e(r31) -/* 80349DB4 00346D14 88 85 00 47 */ lbz r4, 0x47(r5) -/* 80349DB8 00346D18 88 1F 00 2E */ lbz r0, 0x2e(r31) -/* 80349DBC 00346D1C 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b -/* 80349DC0 00346D20 98 1F 00 2E */ stb r0, 0x2e(r31) -/* 80349DC4 00346D24 88 85 00 4A */ lbz r4, 0x4a(r5) -/* 80349DC8 00346D28 88 1F 00 2E */ lbz r0, 0x2e(r31) -/* 80349DCC 00346D2C 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c -/* 80349DD0 00346D30 98 1F 00 2E */ stb r0, 0x2e(r31) -/* 80349DD4 00346D34 88 85 00 4D */ lbz r4, 0x4d(r5) -/* 80349DD8 00346D38 88 1F 00 2E */ lbz r0, 0x2e(r31) -/* 80349DDC 00346D3C 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d -/* 80349DE0 00346D40 98 1F 00 2E */ stb r0, 0x2e(r31) -/* 80349DE4 00346D44 88 85 00 50 */ lbz r4, 0x50(r5) -/* 80349DE8 00346D48 88 1F 00 2E */ lbz r0, 0x2e(r31) -/* 80349DEC 00346D4C 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e -/* 80349DF0 00346D50 98 1F 00 2E */ stb r0, 0x2e(r31) -/* 80349DF4 00346D54 88 85 00 41 */ lbz r4, 0x41(r5) -/* 80349DF8 00346D58 88 1F 00 2E */ lbz r0, 0x2e(r31) -/* 80349DFC 00346D5C 50 80 07 FE */ rlwimi r0, r4, 0, 0x1f, 0x1f -/* 80349E00 00346D60 98 1F 00 2E */ stb r0, 0x2e(r31) -/* 80349E04 00346D64 4B FF F8 9D */ bl InitializeAnalog__11CFinalInputFff -/* 80349E08 00346D68 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80349E0C 00346D6C 7F E3 FB 78 */ mr r3, r31 -/* 80349E10 00346D70 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80349E14 00346D74 7C 08 03 A6 */ mtlr r0 -/* 80349E18 00346D78 38 21 00 10 */ addi r1, r1, 0x10 -/* 80349E1C 00346D7C 4E 80 00 20 */ blr - -.global __ct__11CFinalInputFv -__ct__11CFinalInputFv: -/* 80349E20 00346D80 C0 02 CC 30 */ lfs f0, lbl_805AE950@sda21(r2) -/* 80349E24 00346D84 38 80 00 00 */ li r4, 0 -/* 80349E28 00346D88 D0 03 00 00 */ stfs f0, 0(r3) -/* 80349E2C 00346D8C 90 83 00 04 */ stw r4, 4(r3) -/* 80349E30 00346D90 D0 03 00 08 */ stfs f0, 8(r3) -/* 80349E34 00346D94 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 80349E38 00346D98 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 80349E3C 00346D9C D0 03 00 14 */ stfs f0, 0x14(r3) -/* 80349E40 00346DA0 D0 03 00 18 */ stfs f0, 0x18(r3) -/* 80349E44 00346DA4 D0 03 00 1C */ stfs f0, 0x1c(r3) -/* 80349E48 00346DA8 98 83 00 20 */ stb r4, 0x20(r3) -/* 80349E4C 00346DAC 98 83 00 21 */ stb r4, 0x21(r3) -/* 80349E50 00346DB0 98 83 00 22 */ stb r4, 0x22(r3) -/* 80349E54 00346DB4 98 83 00 23 */ stb r4, 0x23(r3) -/* 80349E58 00346DB8 D0 03 00 24 */ stfs f0, 0x24(r3) -/* 80349E5C 00346DBC D0 03 00 28 */ stfs f0, 0x28(r3) -/* 80349E60 00346DC0 88 03 00 2C */ lbz r0, 0x2c(r3) -/* 80349E64 00346DC4 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 80349E68 00346DC8 98 03 00 2C */ stb r0, 0x2c(r3) -/* 80349E6C 00346DCC 88 03 00 2C */ lbz r0, 0x2c(r3) -/* 80349E70 00346DD0 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 -/* 80349E74 00346DD4 98 03 00 2C */ stb r0, 0x2c(r3) -/* 80349E78 00346DD8 88 03 00 2C */ lbz r0, 0x2c(r3) -/* 80349E7C 00346DDC 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a -/* 80349E80 00346DE0 98 03 00 2C */ stb r0, 0x2c(r3) -/* 80349E84 00346DE4 88 03 00 2C */ lbz r0, 0x2c(r3) -/* 80349E88 00346DE8 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b -/* 80349E8C 00346DEC 98 03 00 2C */ stb r0, 0x2c(r3) -/* 80349E90 00346DF0 88 03 00 2C */ lbz r0, 0x2c(r3) -/* 80349E94 00346DF4 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c -/* 80349E98 00346DF8 98 03 00 2C */ stb r0, 0x2c(r3) -/* 80349E9C 00346DFC 88 03 00 2C */ lbz r0, 0x2c(r3) -/* 80349EA0 00346E00 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d -/* 80349EA4 00346E04 98 03 00 2C */ stb r0, 0x2c(r3) -/* 80349EA8 00346E08 88 03 00 2C */ lbz r0, 0x2c(r3) -/* 80349EAC 00346E0C 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e -/* 80349EB0 00346E10 98 03 00 2C */ stb r0, 0x2c(r3) -/* 80349EB4 00346E14 88 03 00 2C */ lbz r0, 0x2c(r3) -/* 80349EB8 00346E18 50 80 07 FE */ rlwimi r0, r4, 0, 0x1f, 0x1f -/* 80349EBC 00346E1C 98 03 00 2C */ stb r0, 0x2c(r3) -/* 80349EC0 00346E20 88 03 00 2D */ lbz r0, 0x2d(r3) -/* 80349EC4 00346E24 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 80349EC8 00346E28 98 03 00 2D */ stb r0, 0x2d(r3) -/* 80349ECC 00346E2C 88 03 00 2D */ lbz r0, 0x2d(r3) -/* 80349ED0 00346E30 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 -/* 80349ED4 00346E34 98 03 00 2D */ stb r0, 0x2d(r3) -/* 80349ED8 00346E38 88 03 00 2D */ lbz r0, 0x2d(r3) -/* 80349EDC 00346E3C 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a -/* 80349EE0 00346E40 98 03 00 2D */ stb r0, 0x2d(r3) -/* 80349EE4 00346E44 88 03 00 2D */ lbz r0, 0x2d(r3) -/* 80349EE8 00346E48 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b -/* 80349EEC 00346E4C 98 03 00 2D */ stb r0, 0x2d(r3) -/* 80349EF0 00346E50 88 03 00 2D */ lbz r0, 0x2d(r3) -/* 80349EF4 00346E54 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c -/* 80349EF8 00346E58 98 03 00 2D */ stb r0, 0x2d(r3) -/* 80349EFC 00346E5C 88 03 00 2D */ lbz r0, 0x2d(r3) -/* 80349F00 00346E60 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d -/* 80349F04 00346E64 98 03 00 2D */ stb r0, 0x2d(r3) -/* 80349F08 00346E68 88 03 00 2D */ lbz r0, 0x2d(r3) -/* 80349F0C 00346E6C 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e -/* 80349F10 00346E70 98 03 00 2D */ stb r0, 0x2d(r3) -/* 80349F14 00346E74 88 03 00 2D */ lbz r0, 0x2d(r3) -/* 80349F18 00346E78 50 80 07 FE */ rlwimi r0, r4, 0, 0x1f, 0x1f -/* 80349F1C 00346E7C 98 03 00 2D */ stb r0, 0x2d(r3) -/* 80349F20 00346E80 88 03 00 2E */ lbz r0, 0x2e(r3) -/* 80349F24 00346E84 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 80349F28 00346E88 98 03 00 2E */ stb r0, 0x2e(r3) -/* 80349F2C 00346E8C 88 03 00 2E */ lbz r0, 0x2e(r3) -/* 80349F30 00346E90 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 -/* 80349F34 00346E94 98 03 00 2E */ stb r0, 0x2e(r3) -/* 80349F38 00346E98 88 03 00 2E */ lbz r0, 0x2e(r3) -/* 80349F3C 00346E9C 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a -/* 80349F40 00346EA0 98 03 00 2E */ stb r0, 0x2e(r3) -/* 80349F44 00346EA4 88 03 00 2E */ lbz r0, 0x2e(r3) -/* 80349F48 00346EA8 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b -/* 80349F4C 00346EAC 98 03 00 2E */ stb r0, 0x2e(r3) -/* 80349F50 00346EB0 88 03 00 2E */ lbz r0, 0x2e(r3) -/* 80349F54 00346EB4 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c -/* 80349F58 00346EB8 98 03 00 2E */ stb r0, 0x2e(r3) -/* 80349F5C 00346EBC 88 03 00 2E */ lbz r0, 0x2e(r3) -/* 80349F60 00346EC0 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d -/* 80349F64 00346EC4 98 03 00 2E */ stb r0, 0x2e(r3) -/* 80349F68 00346EC8 88 03 00 2E */ lbz r0, 0x2e(r3) -/* 80349F6C 00346ECC 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e -/* 80349F70 00346ED0 98 03 00 2E */ stb r0, 0x2e(r3) -/* 80349F74 00346ED4 88 03 00 2E */ lbz r0, 0x2e(r3) -/* 80349F78 00346ED8 50 80 07 FE */ rlwimi r0, r4, 0, 0x1f, 0x1f -/* 80349F7C 00346EDC 98 03 00 2E */ stb r0, 0x2e(r3) -/* 80349F80 00346EE0 4E 80 00 20 */ blr - -.global Orange__6CColorFv -Orange__6CColorFv: -/* 80349F84 00346EE4 38 6D A9 C8 */ addi r3, r13, lbl_805A9588@sda21 -/* 80349F88 00346EE8 4E 80 00 20 */ blr - -.global Yellow__6CColorFv -Yellow__6CColorFv: -/* 80349F8C 00346EEC 38 6D A9 C0 */ addi r3, r13, lbl_805A9580@sda21 -/* 80349F90 00346EF0 4E 80 00 20 */ blr - -.global Blue__6CColorFv -Blue__6CColorFv: -/* 80349F94 00346EF4 38 6D A9 BC */ addi r3, r13, lbl_805A957C@sda21 -/* 80349F98 00346EF8 4E 80 00 20 */ blr - -.global Red__6CColorFv -Red__6CColorFv: -/* 80349F9C 00346EFC 38 6D A9 B4 */ addi r3, r13, lbl_805A9574@sda21 -/* 80349FA0 00346F00 4E 80 00 20 */ blr - -.global Grey__6CColorFv -Grey__6CColorFv: -/* 80349FA4 00346F04 38 6D A9 B0 */ addi r3, r13, lbl_805A9570@sda21 -/* 80349FA8 00346F08 4E 80 00 20 */ blr - -.global White__6CColorFv -White__6CColorFv: -/* 80349FAC 00346F0C 38 6D A9 AC */ addi r3, r13, lbl_805A956C@sda21 -/* 80349FB0 00346F10 4E 80 00 20 */ blr - -.global Black__6CColorFv -Black__6CColorFv: -/* 80349FB4 00346F14 38 6D A9 A8 */ addi r3, r13, lbl_805A9568@sda21 -/* 80349FB8 00346F18 4E 80 00 20 */ blr - -.global __sinit_CColor_cpp -__sinit_CColor_cpp: -/* 80349FBC 00346F1C 3D 20 80 81 */ lis r9, 0x808080FF@ha -/* 80349FC0 00346F20 3D 00 FF 00 */ lis r8, 0xFF0000FF@ha -/* 80349FC4 00346F24 3C E0 00 FF */ lis r7, 0x00FF00FF@ha -/* 80349FC8 00346F28 3C C0 00 01 */ lis r6, 0x0000FFFF@ha -/* 80349FCC 00346F2C 3C A0 FF FF */ lis r5, 0xFFFF00FF@ha -/* 80349FD0 00346F30 3C 80 A0 01 */ lis r4, 0xA000FFFF@ha -/* 80349FD4 00346F34 3C 60 FF 70 */ lis r3, 0xFF7000FF@ha -/* 80349FD8 00346F38 39 29 80 FF */ addi r9, r9, 0x808080FF@l -/* 80349FDC 00346F3C 39 08 00 FF */ addi r8, r8, 0xFF0000FF@l -/* 80349FE0 00346F40 38 E7 00 FF */ addi r7, r7, 0x00FF00FF@l -/* 80349FE4 00346F44 38 C6 FF FF */ addi r6, r6, 0x0000FFFF@l -/* 80349FE8 00346F48 38 A5 00 FF */ addi r5, r5, 0xFFFF00FF@l -/* 80349FEC 00346F4C 38 84 FF FF */ addi r4, r4, 0xA000FFFF@l -/* 80349FF0 00346F50 38 03 00 FF */ addi r0, r3, 0xFF7000FF@l -/* 80349FF4 00346F54 39 40 00 FF */ li r10, 0xff -/* 80349FF8 00346F58 38 60 FF FF */ li r3, -1 -/* 80349FFC 00346F5C 91 4D A9 A8 */ stw r10, lbl_805A9568@sda21(r13) -/* 8034A000 00346F60 90 6D A9 AC */ stw r3, lbl_805A956C@sda21(r13) -/* 8034A004 00346F64 91 2D A9 B0 */ stw r9, lbl_805A9570@sda21(r13) -/* 8034A008 00346F68 91 0D A9 B4 */ stw r8, lbl_805A9574@sda21(r13) -/* 8034A00C 00346F6C 90 ED A9 B8 */ stw r7, lbl_805A9578@sda21(r13) -/* 8034A010 00346F70 90 CD A9 BC */ stw r6, lbl_805A957C@sda21(r13) -/* 8034A014 00346F74 90 AD A9 C0 */ stw r5, lbl_805A9580@sda21(r13) -/* 8034A018 00346F78 90 8D A9 C4 */ stw r4, lbl_805A9584@sda21(r13) -/* 8034A01C 00346F7C 90 0D A9 C8 */ stw r0, lbl_805A9588@sda21(r13) -/* 8034A020 00346F80 4E 80 00 20 */ blr - -.global FAudioGroupSetLocDataFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer -FAudioGroupSetLocDataFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer: -/* 8034A024 00346F84 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8034A028 00346F88 7C 08 02 A6 */ mflr r0 -/* 8034A02C 00346F8C 3C 80 80 3E */ lis r4, lbl_803D8108@ha -/* 8034A030 00346F90 90 01 00 24 */ stw r0, 0x24(r1) -/* 8034A034 00346F94 38 84 81 08 */ addi r4, r4, lbl_803D8108@l -/* 8034A038 00346F98 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8034A03C 00346F9C 7C DF 33 78 */ mr r31, r6 -/* 8034A040 00346FA0 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8034A044 00346FA4 7C BE 2B 78 */ mr r30, r5 -/* 8034A048 00346FA8 38 A0 00 00 */ li r5, 0 -/* 8034A04C 00346FAC 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8034A050 00346FB0 7C 7D 1B 78 */ mr r29, r3 -/* 8034A054 00346FB4 38 60 00 44 */ li r3, 0x44 -/* 8034A058 00346FB8 4B FC B8 15 */ bl __nw__FUlPCcPCc -/* 8034A05C 00346FBC 7C 64 1B 79 */ or. r4, r3, r3 -/* 8034A060 00346FC0 41 82 00 14 */ beq lbl_8034A074 -/* 8034A064 00346FC4 7F C4 F3 78 */ mr r4, r30 -/* 8034A068 00346FC8 7F E5 FB 78 */ mr r5, r31 -/* 8034A06C 00346FCC 48 00 03 89 */ bl __ct__15CAudioGrpSetLocFR12CInputStream -/* 8034A070 00346FD0 7C 64 1B 78 */ mr r4, r3 -lbl_8034A074: -/* 8034A074 00346FD4 7F A3 EB 78 */ mr r3, r29 -/* 8034A078 00346FD8 48 00 00 21 */ bl sub_8034a098 -/* 8034A07C 00346FDC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8034A080 00346FE0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8034A084 00346FE4 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8034A088 00346FE8 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8034A08C 00346FEC 7C 08 03 A6 */ mtlr r0 -/* 8034A090 00346FF0 38 21 00 20 */ addi r1, r1, 0x20 -/* 8034A094 00346FF4 4E 80 00 20 */ blr - -.global sub_8034a098 -sub_8034a098: -/* 8034A098 00346FF8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8034A09C 00346FFC 7C 08 02 A6 */ mflr r0 -/* 8034A0A0 00347000 90 01 00 24 */ stw r0, 0x24(r1) -/* 8034A0A4 00347004 7C 04 00 D0 */ neg r0, r4 -/* 8034A0A8 00347008 7C 00 23 78 */ or r0, r0, r4 -/* 8034A0AC 0034700C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8034A0B0 00347010 7C 7F 1B 78 */ mr r31, r3 -/* 8034A0B4 00347014 54 00 0F FE */ srwi r0, r0, 0x1f -/* 8034A0B8 00347018 38 61 00 08 */ addi r3, r1, 8 -/* 8034A0BC 0034701C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8034A0C0 00347020 90 81 00 14 */ stw r4, 0x14(r1) -/* 8034A0C4 00347024 38 81 00 10 */ addi r4, r1, 0x10 -/* 8034A0C8 00347028 98 01 00 10 */ stb r0, 0x10(r1) -/* 8034A0CC 0034702C 48 00 01 D9 */ bl sub_8034a2a4 -/* 8034A0D0 00347030 80 61 00 0C */ lwz r3, 0xc(r1) -/* 8034A0D4 00347034 38 00 00 00 */ li r0, 0 -/* 8034A0D8 00347038 98 01 00 08 */ stb r0, 8(r1) -/* 8034A0DC 0034703C 7C 03 00 D0 */ neg r0, r3 -/* 8034A0E0 00347040 7C 00 1B 78 */ or r0, r0, r3 -/* 8034A0E4 00347044 54 00 0F FE */ srwi r0, r0, 0x1f -/* 8034A0E8 00347048 98 1F 00 00 */ stb r0, 0(r31) -/* 8034A0EC 0034704C 90 7F 00 04 */ stw r3, 4(r31) -/* 8034A0F0 00347050 88 01 00 08 */ lbz r0, 8(r1) -/* 8034A0F4 00347054 28 00 00 00 */ cmplwi r0, 0 -/* 8034A0F8 00347058 41 82 00 24 */ beq lbl_8034A11C -/* 8034A0FC 0034705C 80 61 00 0C */ lwz r3, 0xc(r1) -/* 8034A100 00347060 28 03 00 00 */ cmplwi r3, 0 -/* 8034A104 00347064 41 82 00 18 */ beq lbl_8034A11C -/* 8034A108 00347068 81 83 00 00 */ lwz r12, 0(r3) -/* 8034A10C 0034706C 38 80 00 01 */ li r4, 1 -/* 8034A110 00347070 81 8C 00 08 */ lwz r12, 8(r12) -/* 8034A114 00347074 7D 89 03 A6 */ mtctr r12 -/* 8034A118 00347078 4E 80 04 21 */ bctrl -lbl_8034A11C: -/* 8034A11C 0034707C 88 01 00 10 */ lbz r0, 0x10(r1) -/* 8034A120 00347080 28 00 00 00 */ cmplwi r0, 0 -/* 8034A124 00347084 41 82 00 70 */ beq lbl_8034A194 -/* 8034A128 00347088 83 C1 00 14 */ lwz r30, 0x14(r1) -/* 8034A12C 0034708C 28 1E 00 00 */ cmplwi r30, 0 -/* 8034A130 00347090 41 82 00 64 */ beq lbl_8034A194 -/* 8034A134 00347094 34 1E 00 20 */ addic. r0, r30, 0x20 -/* 8034A138 00347098 41 82 00 0C */ beq lbl_8034A144 -/* 8034A13C 0034709C 38 7E 00 20 */ addi r3, r30, 0x20 -/* 8034A140 003470A0 4B FF 39 A1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8034A144: -/* 8034A144 003470A4 34 1E 00 10 */ addic. r0, r30, 0x10 -/* 8034A148 003470A8 41 82 00 0C */ beq lbl_8034A154 -/* 8034A14C 003470AC 38 7E 00 10 */ addi r3, r30, 0x10 -/* 8034A150 003470B0 4B FF 39 91 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8034A154: -/* 8034A154 003470B4 34 1E 00 08 */ addic. r0, r30, 8 -/* 8034A158 003470B8 41 82 00 18 */ beq lbl_8034A170 -/* 8034A15C 003470BC 88 1E 00 08 */ lbz r0, 8(r30) -/* 8034A160 003470C0 28 00 00 00 */ cmplwi r0, 0 -/* 8034A164 003470C4 41 82 00 0C */ beq lbl_8034A170 -/* 8034A168 003470C8 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 8034A16C 003470CC 4B FC B7 C5 */ bl Free__7CMemoryFPCv -lbl_8034A170: -/* 8034A170 003470D0 28 1E 00 00 */ cmplwi r30, 0 -/* 8034A174 003470D4 41 82 00 18 */ beq lbl_8034A18C -/* 8034A178 003470D8 88 1E 00 00 */ lbz r0, 0(r30) -/* 8034A17C 003470DC 28 00 00 00 */ cmplwi r0, 0 -/* 8034A180 003470E0 41 82 00 0C */ beq lbl_8034A18C -/* 8034A184 003470E4 80 7E 00 04 */ lwz r3, 4(r30) -/* 8034A188 003470E8 4B FC B7 A9 */ bl Free__7CMemoryFPCv -lbl_8034A18C: -/* 8034A18C 003470EC 7F C3 F3 78 */ mr r3, r30 -/* 8034A190 003470F0 4B FC B7 A1 */ bl Free__7CMemoryFPCv -lbl_8034A194: -/* 8034A194 003470F4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8034A198 003470F8 7F E3 FB 78 */ mr r3, r31 -/* 8034A19C 003470FC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8034A1A0 00347100 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8034A1A4 00347104 7C 08 03 A6 */ mtlr r0 -/* 8034A1A8 00347108 38 21 00 20 */ addi r1, r1, 0x20 -/* 8034A1AC 0034710C 4E 80 00 20 */ blr - -.global sub_8034a1b0 -sub_8034a1b0: -/* 8034A1B0 00347110 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8034A1B4 00347114 7C 08 02 A6 */ mflr r0 -/* 8034A1B8 00347118 90 01 00 24 */ stw r0, 0x24(r1) -/* 8034A1BC 0034711C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8034A1C0 00347120 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8034A1C4 00347124 7C 9E 23 78 */ mr r30, r4 -/* 8034A1C8 00347128 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8034A1CC 0034712C 7C 7D 1B 79 */ or. r29, r3, r3 -/* 8034A1D0 00347130 41 82 00 B4 */ beq lbl_8034A284 -/* 8034A1D4 00347134 3C 60 80 3F */ lis r3, lbl_803EF670@ha -/* 8034A1D8 00347138 38 03 F6 70 */ addi r0, r3, lbl_803EF670@l -/* 8034A1DC 0034713C 90 1D 00 00 */ stw r0, 0(r29) -/* 8034A1E0 00347140 83 FD 00 04 */ lwz r31, 4(r29) -/* 8034A1E4 00347144 28 1F 00 00 */ cmplwi r31, 0 -/* 8034A1E8 00347148 41 82 00 68 */ beq lbl_8034A250 -/* 8034A1EC 0034714C 41 82 00 64 */ beq lbl_8034A250 -/* 8034A1F0 00347150 34 1F 00 20 */ addic. r0, r31, 0x20 -/* 8034A1F4 00347154 41 82 00 0C */ beq lbl_8034A200 -/* 8034A1F8 00347158 38 7F 00 20 */ addi r3, r31, 0x20 -/* 8034A1FC 0034715C 4B FF 38 E5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8034A200: -/* 8034A200 00347160 34 1F 00 10 */ addic. r0, r31, 0x10 -/* 8034A204 00347164 41 82 00 0C */ beq lbl_8034A210 -/* 8034A208 00347168 38 7F 00 10 */ addi r3, r31, 0x10 -/* 8034A20C 0034716C 4B FF 38 D5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8034A210: -/* 8034A210 00347170 34 1F 00 08 */ addic. r0, r31, 8 -/* 8034A214 00347174 41 82 00 18 */ beq lbl_8034A22C -/* 8034A218 00347178 88 1F 00 08 */ lbz r0, 8(r31) -/* 8034A21C 0034717C 28 00 00 00 */ cmplwi r0, 0 -/* 8034A220 00347180 41 82 00 0C */ beq lbl_8034A22C -/* 8034A224 00347184 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 8034A228 00347188 4B FC B7 09 */ bl Free__7CMemoryFPCv -lbl_8034A22C: -/* 8034A22C 0034718C 28 1F 00 00 */ cmplwi r31, 0 -/* 8034A230 00347190 41 82 00 18 */ beq lbl_8034A248 -/* 8034A234 00347194 88 1F 00 00 */ lbz r0, 0(r31) -/* 8034A238 00347198 28 00 00 00 */ cmplwi r0, 0 -/* 8034A23C 0034719C 41 82 00 0C */ beq lbl_8034A248 -/* 8034A240 003471A0 80 7F 00 04 */ lwz r3, 4(r31) -/* 8034A244 003471A4 4B FC B6 ED */ bl Free__7CMemoryFPCv -lbl_8034A248: -/* 8034A248 003471A8 7F E3 FB 78 */ mr r3, r31 -/* 8034A24C 003471AC 4B FC B6 E5 */ bl Free__7CMemoryFPCv -lbl_8034A250: -/* 8034A250 003471B0 28 1D 00 00 */ cmplwi r29, 0 -/* 8034A254 003471B4 41 82 00 20 */ beq lbl_8034A274 -/* 8034A258 003471B8 3C 60 80 3E */ lis r3, lbl_803D8D78@ha -/* 8034A25C 003471BC 38 03 8D 78 */ addi r0, r3, lbl_803D8D78@l -/* 8034A260 003471C0 90 1D 00 00 */ stw r0, 0(r29) -/* 8034A264 003471C4 41 82 00 10 */ beq lbl_8034A274 -/* 8034A268 003471C8 3C 60 80 3E */ lis r3, lbl_803D8D6C@ha -/* 8034A26C 003471CC 38 03 8D 6C */ addi r0, r3, lbl_803D8D6C@l -/* 8034A270 003471D0 90 1D 00 00 */ stw r0, 0(r29) -lbl_8034A274: -/* 8034A274 003471D4 7F C0 07 35 */ extsh. r0, r30 -/* 8034A278 003471D8 40 81 00 0C */ ble lbl_8034A284 -/* 8034A27C 003471DC 7F A3 EB 78 */ mr r3, r29 -/* 8034A280 003471E0 4B FC B6 B1 */ bl Free__7CMemoryFPCv -lbl_8034A284: -/* 8034A284 003471E4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8034A288 003471E8 7F A3 EB 78 */ mr r3, r29 -/* 8034A28C 003471EC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8034A290 003471F0 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8034A294 003471F4 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8034A298 003471F8 7C 08 03 A6 */ mtlr r0 -/* 8034A29C 003471FC 38 21 00 20 */ addi r1, r1, 0x20 -/* 8034A2A0 00347200 4E 80 00 20 */ blr - -.global sub_8034a2a4 -sub_8034a2a4: -/* 8034A2A4 00347204 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034A2A8 00347208 7C 08 02 A6 */ mflr r0 -/* 8034A2AC 0034720C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8034A2B0 00347210 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8034A2B4 00347214 7C 7F 1B 78 */ mr r31, r3 -/* 8034A2B8 00347218 48 00 00 19 */ bl sub_8034a2d0 -/* 8034A2BC 0034721C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8034A2C0 00347220 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8034A2C4 00347224 7C 08 03 A6 */ mtlr r0 -/* 8034A2C8 00347228 38 21 00 10 */ addi r1, r1, 0x10 -/* 8034A2CC 0034722C 4E 80 00 20 */ blr - -.global sub_8034a2d0 -sub_8034a2d0: -/* 8034A2D0 00347230 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034A2D4 00347234 7C 08 02 A6 */ mflr r0 -/* 8034A2D8 00347238 3C A0 80 3E */ lis r5, lbl_803D8108@ha -/* 8034A2DC 0034723C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8034A2E0 00347240 38 05 81 08 */ addi r0, r5, lbl_803D8108@l -/* 8034A2E4 00347244 38 A0 00 00 */ li r5, 0 -/* 8034A2E8 00347248 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8034A2EC 0034724C 7C 9F 23 78 */ mr r31, r4 -/* 8034A2F0 00347250 7C 04 03 78 */ mr r4, r0 -/* 8034A2F4 00347254 93 C1 00 08 */ stw r30, 8(r1) -/* 8034A2F8 00347258 7C 7E 1B 78 */ mr r30, r3 -/* 8034A2FC 0034725C 38 60 00 08 */ li r3, 8 -/* 8034A300 00347260 4B FC B5 6D */ bl __nw__FUlPCcPCc -/* 8034A304 00347264 28 03 00 00 */ cmplwi r3, 0 -/* 8034A308 00347268 41 82 00 38 */ beq lbl_8034A340 -/* 8034A30C 0034726C 3C 80 80 3E */ lis r4, lbl_803D8D6C@ha -/* 8034A310 00347270 3C A0 80 3E */ lis r5, lbl_803D8D78@ha -/* 8034A314 00347274 38 04 8D 6C */ addi r0, r4, lbl_803D8D6C@l -/* 8034A318 00347278 3C 80 80 3F */ lis r4, lbl_803EF670@ha -/* 8034A31C 0034727C 90 03 00 00 */ stw r0, 0(r3) -/* 8034A320 00347280 38 C5 8D 78 */ addi r6, r5, lbl_803D8D78@l -/* 8034A324 00347284 38 A0 00 00 */ li r5, 0 -/* 8034A328 00347288 38 04 F6 70 */ addi r0, r4, lbl_803EF670@l -/* 8034A32C 0034728C 90 C3 00 00 */ stw r6, 0(r3) -/* 8034A330 00347290 98 BF 00 00 */ stb r5, 0(r31) -/* 8034A334 00347294 80 9F 00 04 */ lwz r4, 4(r31) -/* 8034A338 00347298 90 83 00 04 */ stw r4, 4(r3) -/* 8034A33C 0034729C 90 03 00 00 */ stw r0, 0(r3) -lbl_8034A340: -/* 8034A340 003472A0 7C 03 00 D0 */ neg r0, r3 -/* 8034A344 003472A4 7C 00 1B 78 */ or r0, r0, r3 -/* 8034A348 003472A8 54 00 0F FE */ srwi r0, r0, 0x1f -/* 8034A34C 003472AC 98 1E 00 00 */ stb r0, 0(r30) -/* 8034A350 003472B0 90 7E 00 04 */ stw r3, 4(r30) -/* 8034A354 003472B4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8034A358 003472B8 83 C1 00 08 */ lwz r30, 8(r1) -/* 8034A35C 003472BC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8034A360 003472C0 7C 08 03 A6 */ mtlr r0 -/* 8034A364 003472C4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8034A368 003472C8 4E 80 00 20 */ blr - -.global sub_8034a36c -sub_8034a36c: -/* 8034A36C 003472CC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8034A370 003472D0 7C 08 02 A6 */ mflr r0 -/* 8034A374 003472D4 90 01 00 24 */ stw r0, 0x24(r1) -/* 8034A378 003472D8 38 01 00 08 */ addi r0, r1, 8 -/* 8034A37C 003472DC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8034A380 003472E0 7C 7F 1B 78 */ mr r31, r3 -/* 8034A384 003472E4 38 60 00 00 */ li r3, 0 -/* 8034A388 003472E8 7C 00 F8 40 */ cmplw r0, r31 -/* 8034A38C 003472EC 98 61 00 08 */ stb r3, 8(r1) -/* 8034A390 003472F0 90 61 00 0C */ stw r3, 0xc(r1) -/* 8034A394 003472F4 41 82 00 30 */ beq lbl_8034A3C4 -/* 8034A398 003472F8 88 1F 00 00 */ lbz r0, 0(r31) -/* 8034A39C 003472FC 28 00 00 00 */ cmplwi r0, 0 -/* 8034A3A0 00347300 41 82 00 0C */ beq lbl_8034A3AC -/* 8034A3A4 00347304 80 7F 00 04 */ lwz r3, 4(r31) -/* 8034A3A8 00347308 4B FC B5 89 */ bl Free__7CMemoryFPCv -lbl_8034A3AC: -/* 8034A3AC 0034730C 88 81 00 08 */ lbz r4, 8(r1) -/* 8034A3B0 00347310 38 00 00 00 */ li r0, 0 -/* 8034A3B4 00347314 80 61 00 0C */ lwz r3, 0xc(r1) -/* 8034A3B8 00347318 98 9F 00 00 */ stb r4, 0(r31) -/* 8034A3BC 0034731C 90 7F 00 04 */ stw r3, 4(r31) -/* 8034A3C0 00347320 98 01 00 08 */ stb r0, 8(r1) -lbl_8034A3C4: -/* 8034A3C4 00347324 88 01 00 08 */ lbz r0, 8(r1) -/* 8034A3C8 00347328 28 00 00 00 */ cmplwi r0, 0 -/* 8034A3CC 0034732C 41 82 00 0C */ beq lbl_8034A3D8 -/* 8034A3D0 00347330 80 61 00 0C */ lwz r3, 0xc(r1) -/* 8034A3D4 00347334 4B FC B5 5D */ bl Free__7CMemoryFPCv -lbl_8034A3D8: -/* 8034A3D8 00347338 38 00 00 00 */ li r0, 0 -/* 8034A3DC 0034733C 90 1F 00 40 */ stw r0, 0x40(r31) -/* 8034A3E0 00347340 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8034A3E4 00347344 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8034A3E8 00347348 7C 08 03 A6 */ mtlr r0 -/* 8034A3EC 0034734C 38 21 00 20 */ addi r1, r1, 0x20 -/* 8034A3F0 00347350 4E 80 00 20 */ blr - -.global __ct__15CAudioGrpSetLocFR12CInputStream -__ct__15CAudioGrpSetLocFR12CInputStream: -/* 8034A3F4 00347354 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 8034A3F8 00347358 7C 08 02 A6 */ mflr r0 -/* 8034A3FC 0034735C 38 C0 00 00 */ li r6, 0 -/* 8034A400 00347360 90 01 00 94 */ stw r0, 0x94(r1) -/* 8034A404 00347364 38 0D A9 18 */ addi r0, r13, "_EmptyString__Q24rstl66basic_string,Q24rstl17rmemory_allocator>"@sda21 -/* 8034A408 00347368 BE E1 00 6C */ stmw r23, 0x6c(r1) -/* 8034A40C 0034736C 7C 78 1B 78 */ mr r24, r3 -/* 8034A410 00347370 7C 9A 23 78 */ mr r26, r4 -/* 8034A414 00347374 38 61 00 40 */ addi r3, r1, 0x40 -/* 8034A418 00347378 98 C4 00 00 */ stb r6, 0(r4) -/* 8034A41C 0034737C 80 E4 00 04 */ lwz r7, 4(r4) -/* 8034A420 00347380 7C 87 00 D0 */ neg r4, r7 -/* 8034A424 00347384 7C 84 3B 78 */ or r4, r4, r7 -/* 8034A428 00347388 54 84 0F FE */ srwi r4, r4, 0x1f -/* 8034A42C 0034738C 98 98 00 00 */ stb r4, 0(r24) -/* 8034A430 00347390 90 F8 00 04 */ stw r7, 4(r24) -/* 8034A434 00347394 98 D8 00 08 */ stb r6, 8(r24) -/* 8034A438 00347398 90 D8 00 0C */ stw r6, 0xc(r24) -/* 8034A43C 0034739C 90 18 00 10 */ stw r0, 0x10(r24) -/* 8034A440 003473A0 90 D8 00 14 */ stw r6, 0x14(r24) -/* 8034A444 003473A4 90 D8 00 18 */ stw r6, 0x18(r24) -/* 8034A448 003473A8 90 18 00 20 */ stw r0, 0x20(r24) -/* 8034A44C 003473AC 90 D8 00 24 */ stw r6, 0x24(r24) -/* 8034A450 003473B0 90 D8 00 28 */ stw r6, 0x28(r24) -/* 8034A454 003473B4 90 D8 00 30 */ stw r6, 0x30(r24) -/* 8034A458 003473B8 90 D8 00 34 */ stw r6, 0x34(r24) -/* 8034A45C 003473BC 90 D8 00 38 */ stw r6, 0x38(r24) -/* 8034A460 003473C0 90 D8 00 3C */ stw r6, 0x3c(r24) -/* 8034A464 003473C4 90 D8 00 40 */ stw r6, 0x40(r24) -/* 8034A468 003473C8 80 9A 00 04 */ lwz r4, 4(r26) -/* 8034A46C 003473CC 4B FF 4D 61 */ bl __ct__15CMemoryInStreamFPCvUl -/* 8034A470 003473D0 38 61 00 30 */ addi r3, r1, 0x30 -/* 8034A474 003473D4 38 81 00 40 */ addi r4, r1, 0x40 -/* 8034A478 003473D8 38 A1 00 0C */ addi r5, r1, 0xc -/* 8034A47C 003473DC 4B FF 3E 7D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" -/* 8034A480 003473E0 38 78 00 10 */ addi r3, r24, 0x10 -/* 8034A484 003473E4 38 81 00 30 */ addi r4, r1, 0x30 -/* 8034A488 003473E8 4B FF 38 D5 */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8034A48C 003473EC 38 61 00 30 */ addi r3, r1, 0x30 -/* 8034A490 003473F0 4B FF 36 51 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8034A494 003473F4 38 61 00 20 */ addi r3, r1, 0x20 -/* 8034A498 003473F8 38 81 00 40 */ addi r4, r1, 0x40 -/* 8034A49C 003473FC 38 A1 00 08 */ addi r5, r1, 8 -/* 8034A4A0 00347400 4B FF 3E 59 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" -/* 8034A4A4 00347404 38 78 00 20 */ addi r3, r24, 0x20 -/* 8034A4A8 00347408 38 81 00 20 */ addi r4, r1, 0x20 -/* 8034A4AC 0034740C 4B FF 38 B1 */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8034A4B0 00347410 38 61 00 20 */ addi r3, r1, 0x20 -/* 8034A4B4 00347414 4B FF 36 2D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8034A4B8 00347418 38 61 00 40 */ addi r3, r1, 0x40 -/* 8034A4BC 0034741C 4B FF 47 C9 */ bl ReadLong__12CInputStreamFv -/* 8034A4C0 00347420 3C 80 80 3F */ lis r4, __vt__15CMemoryInStream@ha -/* 8034A4C4 00347424 7C 7F 1B 78 */ mr r31, r3 -/* 8034A4C8 00347428 38 04 E3 98 */ addi r0, r4, __vt__15CMemoryInStream@l -/* 8034A4CC 0034742C 83 C1 00 58 */ lwz r30, 0x58(r1) -/* 8034A4D0 00347430 90 01 00 40 */ stw r0, 0x40(r1) -/* 8034A4D4 00347434 38 61 00 40 */ addi r3, r1, 0x40 -/* 8034A4D8 00347438 38 80 00 00 */ li r4, 0 -/* 8034A4DC 0034743C 4B FF 4B D1 */ bl __dt__12CInputStreamFv -/* 8034A4E0 00347440 48 00 03 35 */ bl sub_8034a814 -/* 8034A4E4 00347444 80 7A 00 04 */ lwz r3, 4(r26) -/* 8034A4E8 00347448 7F 9E FA 14 */ add r28, r30, r31 -/* 8034A4EC 0034744C 7F A3 E0 2E */ lwzx r29, r3, r28 -/* 8034A4F0 00347450 48 00 03 25 */ bl sub_8034a814 -/* 8034A4F4 00347454 7F 7C EA 14 */ add r27, r28, r29 -/* 8034A4F8 00347458 80 7A 00 04 */ lwz r3, 4(r26) -/* 8034A4FC 0034745C 3B 7B 00 04 */ addi r27, r27, 4 -/* 8034A500 00347460 7E E3 D8 2E */ lwzx r23, r3, r27 -/* 8034A504 00347464 48 00 03 11 */ bl sub_8034a814 -/* 8034A508 00347468 92 F8 00 30 */ stw r23, 0x30(r24) -/* 8034A50C 0034746C 7F 3B BA 14 */ add r25, r27, r23 -/* 8034A510 00347470 3B 39 00 04 */ addi r25, r25, 4 -/* 8034A514 00347474 80 7A 00 04 */ lwz r3, 4(r26) -/* 8034A518 00347478 7F 43 C8 2E */ lwzx r26, r3, r25 -/* 8034A51C 0034747C 48 00 02 F9 */ bl sub_8034a814 -/* 8034A520 00347480 3C 60 80 3E */ lis r3, lbl_803D8108@ha -/* 8034A524 00347484 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha -/* 8034A528 00347488 38 A3 81 08 */ addi r5, r3, lbl_803D8108@l -/* 8034A52C 0034748C 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l -/* 8034A530 00347490 38 61 00 18 */ addi r3, r1, 0x18 -/* 8034A534 00347494 38 80 FF FF */ li r4, -1 -/* 8034A538 00347498 4B F8 BE 9D */ bl __ct__10CCallStackFUiPCcPCc -/* 8034A53C 0034749C 7C 9D D2 14 */ add r4, r29, r26 -/* 8034A540 003474A0 7C 67 1B 78 */ mr r7, r3 -/* 8034A544 003474A4 38 64 00 08 */ addi r3, r4, 8 -/* 8034A548 003474A8 38 A0 00 01 */ li r5, 1 -/* 8034A54C 003474AC 38 80 00 02 */ li r4, 2 -/* 8034A550 003474B0 38 C0 00 00 */ li r6, 0 -/* 8034A554 003474B4 7C 7F 1A 14 */ add r3, r31, r3 -/* 8034A558 003474B8 4B FC B4 3D */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack -/* 8034A55C 003474BC 7C 83 00 D0 */ neg r4, r3 -/* 8034A560 003474C0 38 01 00 10 */ addi r0, r1, 0x10 -/* 8034A564 003474C4 7C 84 1B 78 */ or r4, r4, r3 -/* 8034A568 003474C8 38 B8 00 08 */ addi r5, r24, 8 -/* 8034A56C 003474CC 54 84 0F FE */ srwi r4, r4, 0x1f -/* 8034A570 003474D0 90 61 00 14 */ stw r3, 0x14(r1) -/* 8034A574 003474D4 7C 00 28 40 */ cmplw r0, r5 -/* 8034A578 003474D8 98 81 00 10 */ stb r4, 0x10(r1) -/* 8034A57C 003474DC 41 82 00 30 */ beq lbl_8034A5AC -/* 8034A580 003474E0 88 05 00 00 */ lbz r0, 0(r5) -/* 8034A584 003474E4 28 00 00 00 */ cmplwi r0, 0 -/* 8034A588 003474E8 41 82 00 0C */ beq lbl_8034A594 -/* 8034A58C 003474EC 80 78 00 0C */ lwz r3, 0xc(r24) -/* 8034A590 003474F0 4B FC B3 A1 */ bl Free__7CMemoryFPCv -lbl_8034A594: -/* 8034A594 003474F4 88 61 00 10 */ lbz r3, 0x10(r1) -/* 8034A598 003474F8 38 00 00 00 */ li r0, 0 -/* 8034A59C 003474FC 98 78 00 08 */ stb r3, 8(r24) -/* 8034A5A0 00347500 80 61 00 14 */ lwz r3, 0x14(r1) -/* 8034A5A4 00347504 90 78 00 0C */ stw r3, 0xc(r24) -/* 8034A5A8 00347508 98 01 00 10 */ stb r0, 0x10(r1) -lbl_8034A5AC: -/* 8034A5AC 0034750C 88 01 00 10 */ lbz r0, 0x10(r1) -/* 8034A5B0 00347510 28 00 00 00 */ cmplwi r0, 0 -/* 8034A5B4 00347514 41 82 00 0C */ beq lbl_8034A5C0 -/* 8034A5B8 00347518 80 61 00 14 */ lwz r3, 0x14(r1) -/* 8034A5BC 0034751C 4B FC B3 75 */ bl Free__7CMemoryFPCv -lbl_8034A5C0: -/* 8034A5C0 00347520 82 F8 00 04 */ lwz r23, 4(r24) -/* 8034A5C4 00347524 7F E5 FB 78 */ mr r5, r31 -/* 8034A5C8 00347528 80 18 00 0C */ lwz r0, 0xc(r24) -/* 8034A5CC 0034752C 7C 97 F2 14 */ add r4, r23, r30 -/* 8034A5D0 00347530 90 18 00 34 */ stw r0, 0x34(r24) -/* 8034A5D4 00347534 80 78 00 34 */ lwz r3, 0x34(r24) -/* 8034A5D8 00347538 4B CB 8E B9 */ bl memcpy -/* 8034A5DC 0034753C 38 7F 00 03 */ addi r3, r31, 3 -/* 8034A5E0 00347540 80 18 00 0C */ lwz r0, 0xc(r24) -/* 8034A5E4 00347544 54 7E 00 3A */ rlwinm r30, r3, 0, 0, 0x1d -/* 8034A5E8 00347548 7C 9C BA 14 */ add r4, r28, r23 -/* 8034A5EC 0034754C 7C 00 F2 14 */ add r0, r0, r30 -/* 8034A5F0 00347550 7F A5 EB 78 */ mr r5, r29 -/* 8034A5F4 00347554 90 18 00 38 */ stw r0, 0x38(r24) -/* 8034A5F8 00347558 38 84 00 04 */ addi r4, r4, 4 -/* 8034A5FC 0034755C 80 78 00 38 */ lwz r3, 0x38(r24) -/* 8034A600 00347560 4B CB 8E 91 */ bl memcpy -/* 8034A604 00347564 38 1D 00 03 */ addi r0, r29, 3 -/* 8034A608 00347568 7C 99 BA 14 */ add r4, r25, r23 -/* 8034A60C 0034756C 54 03 00 3A */ rlwinm r3, r0, 0, 0, 0x1d -/* 8034A610 00347570 80 18 00 0C */ lwz r0, 0xc(r24) -/* 8034A614 00347574 7C 7E 1A 14 */ add r3, r30, r3 -/* 8034A618 00347578 7F 45 D3 78 */ mr r5, r26 -/* 8034A61C 0034757C 7C 00 1A 14 */ add r0, r0, r3 -/* 8034A620 00347580 38 84 00 04 */ addi r4, r4, 4 -/* 8034A624 00347584 90 18 00 3C */ stw r0, 0x3c(r24) -/* 8034A628 00347588 80 78 00 3C */ lwz r3, 0x3c(r24) -/* 8034A62C 0034758C 4B CB 8E 65 */ bl memcpy -/* 8034A630 00347590 7C 9B BA 14 */ add r4, r27, r23 -/* 8034A634 00347594 7F 03 C3 78 */ mr r3, r24 -/* 8034A638 00347598 38 04 00 04 */ addi r0, r4, 4 -/* 8034A63C 0034759C 90 18 00 40 */ stw r0, 0x40(r24) -/* 8034A640 003475A0 BA E1 00 6C */ lmw r23, 0x6c(r1) -/* 8034A644 003475A4 80 01 00 94 */ lwz r0, 0x94(r1) -/* 8034A648 003475A8 7C 08 03 A6 */ mtlr r0 -/* 8034A64C 003475AC 38 21 00 90 */ addi r1, r1, 0x90 -/* 8034A650 003475B0 4E 80 00 20 */ blr - -.global FreeSampleBuffer__14CAudioGroupSetFv -FreeSampleBuffer__14CAudioGroupSetFv: -/* 8034A654 003475B4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034A658 003475B8 7C 08 02 A6 */ mflr r0 -/* 8034A65C 003475BC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8034A660 003475C0 80 63 00 28 */ lwz r3, 0x28(r3) -/* 8034A664 003475C4 4B FF FD 09 */ bl sub_8034a36c -/* 8034A668 003475C8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8034A66C 003475CC 7C 08 03 A6 */ mtlr r0 -/* 8034A670 003475D0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8034A674 003475D4 4E 80 00 20 */ blr - -.global Reload__14CAudioGroupSetFv -Reload__14CAudioGroupSetFv: -/* 8034A678 003475D8 4E 80 00 20 */ blr - -.global __dt__14CAudioGroupSetFv -__dt__14CAudioGroupSetFv: -/* 8034A67C 003475DC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034A680 003475E0 7C 08 02 A6 */ mflr r0 -/* 8034A684 003475E4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8034A688 003475E8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8034A68C 003475EC 7C 9F 23 78 */ mr r31, r4 -/* 8034A690 003475F0 93 C1 00 08 */ stw r30, 8(r1) -/* 8034A694 003475F4 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8034A698 003475F8 41 82 00 68 */ beq lbl_8034A700 -/* 8034A69C 003475FC 34 1E 00 20 */ addic. r0, r30, 0x20 -/* 8034A6A0 00347600 41 82 00 30 */ beq lbl_8034A6D0 -/* 8034A6A4 00347604 88 1E 00 2C */ lbz r0, 0x2c(r30) -/* 8034A6A8 00347608 28 00 00 00 */ cmplwi r0, 0 -/* 8034A6AC 0034760C 41 82 00 1C */ beq lbl_8034A6C8 -/* 8034A6B0 00347610 34 7E 00 20 */ addic. r3, r30, 0x20 -/* 8034A6B4 00347614 41 82 00 14 */ beq lbl_8034A6C8 -/* 8034A6B8 00347618 28 03 00 00 */ cmplwi r3, 0 -/* 8034A6BC 0034761C 41 82 00 0C */ beq lbl_8034A6C8 -/* 8034A6C0 00347620 38 80 00 00 */ li r4, 0 -/* 8034A6C4 00347624 4B FF 67 7D */ bl __dt__6CTokenFv -lbl_8034A6C8: -/* 8034A6C8 00347628 38 00 00 00 */ li r0, 0 -/* 8034A6CC 0034762C 98 1E 00 2C */ stb r0, 0x2c(r30) -lbl_8034A6D0: -/* 8034A6D0 00347630 34 1E 00 10 */ addic. r0, r30, 0x10 -/* 8034A6D4 00347634 41 82 00 0C */ beq lbl_8034A6E0 -/* 8034A6D8 00347638 38 7E 00 10 */ addi r3, r30, 0x10 -/* 8034A6DC 0034763C 4B FF 34 05 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8034A6E0: -/* 8034A6E0 00347640 28 1E 00 00 */ cmplwi r30, 0 -/* 8034A6E4 00347644 41 82 00 0C */ beq lbl_8034A6F0 -/* 8034A6E8 00347648 7F C3 F3 78 */ mr r3, r30 -/* 8034A6EC 0034764C 4B FF 33 F5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8034A6F0: -/* 8034A6F0 00347650 7F E0 07 35 */ extsh. r0, r31 -/* 8034A6F4 00347654 40 81 00 0C */ ble lbl_8034A700 -/* 8034A6F8 00347658 7F C3 F3 78 */ mr r3, r30 -/* 8034A6FC 0034765C 4B FC B2 35 */ bl Free__7CMemoryFPCv -lbl_8034A700: -/* 8034A700 00347660 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8034A704 00347664 7F C3 F3 78 */ mr r3, r30 -/* 8034A708 00347668 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8034A70C 0034766C 83 C1 00 08 */ lwz r30, 8(r1) -/* 8034A710 00347670 7C 08 03 A6 */ mtlr r0 -/* 8034A714 00347674 38 21 00 10 */ addi r1, r1, 0x10 -/* 8034A718 00347678 4E 80 00 20 */ blr - -.global "__ct__14CAudioGroupSetFRC31TLockedToken<15CAudioGrpSetLoc>" -"__ct__14CAudioGroupSetFRC31TLockedToken<15CAudioGrpSetLoc>": -/* 8034A71C 0034767C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8034A720 00347680 7C 08 02 A6 */ mflr r0 -/* 8034A724 00347684 90 01 00 24 */ stw r0, 0x24(r1) -/* 8034A728 00347688 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8034A72C 0034768C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8034A730 00347690 7C 9E 23 78 */ mr r30, r4 -/* 8034A734 00347694 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8034A738 00347698 7C 7D 1B 78 */ mr r29, r3 -/* 8034A73C 0034769C 80 84 00 08 */ lwz r4, 8(r4) -/* 8034A740 003476A0 38 84 00 10 */ addi r4, r4, 0x10 -/* 8034A744 003476A4 4B FF 3A 1D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8034A748 003476A8 80 9E 00 08 */ lwz r4, 8(r30) -/* 8034A74C 003476AC 38 7D 00 10 */ addi r3, r29, 0x10 -/* 8034A750 003476B0 38 84 00 20 */ addi r4, r4, 0x20 -/* 8034A754 003476B4 4B FF 3A 0D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8034A758 003476B8 38 00 00 01 */ li r0, 1 -/* 8034A75C 003476BC 37 FD 00 20 */ addic. r31, r29, 0x20 -/* 8034A760 003476C0 98 1D 00 2C */ stb r0, 0x2c(r29) -/* 8034A764 003476C4 41 82 00 20 */ beq lbl_8034A784 -/* 8034A768 003476C8 7F E3 FB 78 */ mr r3, r31 -/* 8034A76C 003476CC 7F C4 F3 78 */ mr r4, r30 -/* 8034A770 003476D0 4B FF 67 39 */ bl __ct__6CTokenFRC6CToken -/* 8034A774 003476D4 80 1E 00 08 */ lwz r0, 8(r30) -/* 8034A778 003476D8 7F E3 FB 78 */ mr r3, r31 -/* 8034A77C 003476DC 90 1F 00 08 */ stw r0, 8(r31) -/* 8034A780 003476E0 4B FF 66 05 */ bl Lock__6CTokenFv -lbl_8034A784: -/* 8034A784 003476E4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8034A788 003476E8 7F A3 EB 78 */ mr r3, r29 -/* 8034A78C 003476EC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8034A790 003476F0 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8034A794 003476F4 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8034A798 003476F8 7C 08 03 A6 */ mtlr r0 -/* 8034A79C 003476FC 38 21 00 20 */ addi r1, r1, 0x20 -/* 8034A7A0 00347700 4E 80 00 20 */ blr - -.global sub_8034a7a4 -sub_8034a7a4: -/* 8034A7A4 00347704 88 6D 9D DE */ lbz r3, lbl_805A899E@sda21(r13) -/* 8034A7A8 00347708 4E 80 00 20 */ blr - -.global sub_8034a7ac -sub_8034a7ac: -/* 8034A7AC 0034770C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034A7B0 00347710 7C 08 02 A6 */ mflr r0 -/* 8034A7B4 00347714 90 01 00 14 */ stw r0, 0x14(r1) -/* 8034A7B8 00347718 54 60 06 3E */ clrlwi r0, r3, 0x18 -/* 8034A7BC 0034771C 88 8D 9D DE */ lbz r4, lbl_805A899E@sda21(r13) -/* 8034A7C0 00347720 7C 04 00 40 */ cmplw r4, r0 -/* 8034A7C4 00347724 41 82 00 28 */ beq lbl_8034A7EC -/* 8034A7C8 00347728 28 00 00 00 */ cmplwi r0, 0 -/* 8034A7CC 0034772C 98 6D 9D DE */ stb r3, lbl_805A899E@sda21(r13) -/* 8034A7D0 00347730 41 82 00 10 */ beq lbl_8034A7E0 -/* 8034A7D4 00347734 80 6D A9 F8 */ lwz r3, lbl_805A95B8@sda21(r13) -/* 8034A7D8 00347738 48 02 27 65 */ bl AIRegisterDMACallback -/* 8034A7DC 0034773C 48 00 00 10 */ b lbl_8034A7EC -lbl_8034A7E0: -/* 8034A7E0 00347740 38 60 00 00 */ li r3, 0 -/* 8034A7E4 00347744 48 02 27 59 */ bl AIRegisterDMACallback -/* 8034A7E8 00347748 90 6D A9 F8 */ stw r3, lbl_805A95B8@sda21(r13) -lbl_8034A7EC: -/* 8034A7EC 0034774C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8034A7F0 00347750 7C 08 03 A6 */ mtlr r0 -/* 8034A7F4 00347754 38 21 00 10 */ addi r1, r1, 0x10 -/* 8034A7F8 00347758 4E 80 00 20 */ blr - -.global GetDefaultVolumeScale__9CAudioSysFv -GetDefaultVolumeScale__9CAudioSysFv: -/* 8034A7FC 0034775C A8 6D 9D DC */ lha r3, lbl_805A899C@sda21(r13) -/* 8034A800 00347760 4E 80 00 20 */ blr - -.global SetDefaultVolumeScale__9CAudioSysFs -SetDefaultVolumeScale__9CAudioSysFs: -/* 8034A804 00347764 B0 6D 9D DC */ sth r3, lbl_805A899C@sda21(r13) -/* 8034A808 00347768 4E 80 00 20 */ blr - -.global SetVolumeScale__9CAudioSysFs -SetVolumeScale__9CAudioSysFs: -/* 8034A80C 0034776C B0 6D 9D DA */ sth r3, lbl_805A899A@sda21(r13) -/* 8034A810 00347770 4E 80 00 20 */ blr - -.global sub_8034a814 -sub_8034a814: -/* 8034A814 00347774 88 6D A9 D2 */ lbz r3, lbl_805A9592@sda21(r13) -/* 8034A818 00347778 4E 80 00 20 */ blr - -.global SetSurroundMode__9CAudioSysFQ29CAudioSys14ESurroundModes -SetSurroundMode__9CAudioSysFQ29CAudioSys14ESurroundModes: -/* 8034A81C 0034777C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034A820 00347780 7C 08 02 A6 */ mflr r0 -/* 8034A824 00347784 90 01 00 14 */ stw r0, 0x14(r1) -/* 8034A828 00347788 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8034A82C 0034778C 7C 7F 1B 78 */ mr r31, r3 -/* 8034A830 00347790 2C 1F 00 01 */ cmpwi r31, 1 -/* 8034A834 00347794 41 82 00 2C */ beq lbl_8034A860 -/* 8034A838 00347798 40 80 00 10 */ bge lbl_8034A848 -/* 8034A83C 0034779C 2C 1F 00 00 */ cmpwi r31, 0 -/* 8034A840 003477A0 40 80 00 14 */ bge lbl_8034A854 -/* 8034A844 003477A4 48 00 00 38 */ b lbl_8034A87C -lbl_8034A848: -/* 8034A848 003477A8 2C 1F 00 03 */ cmpwi r31, 3 -/* 8034A84C 003477AC 40 80 00 30 */ bge lbl_8034A87C -/* 8034A850 003477B0 48 00 00 1C */ b lbl_8034A86C -lbl_8034A854: -/* 8034A854 003477B4 38 60 00 00 */ li r3, 0 -/* 8034A858 003477B8 48 00 00 3D */ bl SetStereoMode__9CAudioSysFb -/* 8034A85C 003477BC 48 00 00 20 */ b lbl_8034A87C -lbl_8034A860: -/* 8034A860 003477C0 38 60 00 01 */ li r3, 1 -/* 8034A864 003477C4 48 00 00 31 */ bl SetStereoMode__9CAudioSysFb -/* 8034A868 003477C8 48 00 00 14 */ b lbl_8034A87C -lbl_8034A86C: -/* 8034A86C 003477CC 38 60 00 01 */ li r3, 1 -/* 8034A870 003477D0 48 00 00 25 */ bl SetStereoMode__9CAudioSysFb -/* 8034A874 003477D4 38 60 00 02 */ li r3, 2 -/* 8034A878 003477D8 48 05 1B D1 */ bl sndOutputMode -lbl_8034A87C: -/* 8034A87C 003477DC 93 ED A9 EC */ stw r31, lbl_805A95AC@sda21(r13) -/* 8034A880 003477E0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8034A884 003477E4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8034A888 003477E8 7C 08 03 A6 */ mtlr r0 -/* 8034A88C 003477EC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8034A890 003477F0 4E 80 00 20 */ blr - -.global SetStereoMode__9CAudioSysFb -SetStereoMode__9CAudioSysFb: -/* 8034A894 003477F4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034A898 003477F8 7C 08 02 A6 */ mflr r0 -/* 8034A89C 003477FC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8034A8A0 00347800 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8034A8A4 00347804 41 82 00 18 */ beq lbl_8034A8BC -/* 8034A8A8 00347808 38 60 00 01 */ li r3, 1 -/* 8034A8AC 0034780C 48 05 1B 9D */ bl sndOutputMode -/* 8034A8B0 00347810 38 60 00 01 */ li r3, 1 -/* 8034A8B4 00347814 48 03 97 DD */ bl OSSetSoundMode -/* 8034A8B8 00347818 48 00 00 14 */ b lbl_8034A8CC -lbl_8034A8BC: -/* 8034A8BC 0034781C 38 60 00 00 */ li r3, 0 -/* 8034A8C0 00347820 48 05 1B 89 */ bl sndOutputMode -/* 8034A8C4 00347824 38 60 00 00 */ li r3, 0 -/* 8034A8C8 00347828 48 03 97 C9 */ bl OSSetSoundMode -lbl_8034A8CC: -/* 8034A8CC 0034782C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8034A8D0 00347830 7C 08 03 A6 */ mtlr r0 -/* 8034A8D4 00347834 38 21 00 10 */ addi r1, r1, 0x10 -/* 8034A8D8 00347838 4E 80 00 20 */ blr - -.global SeqVolume__9CAudioSysFUcUsUlUc -SeqVolume__9CAudioSysFUcUsUlUc: -/* 8034A8DC 0034783C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034A8E0 00347840 7C 08 02 A6 */ mflr r0 -/* 8034A8E4 00347844 54 63 06 3E */ clrlwi r3, r3, 0x18 -/* 8034A8E8 00347848 54 84 04 3E */ clrlwi r4, r4, 0x10 -/* 8034A8EC 0034784C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8034A8F0 00347850 54 C6 06 3E */ clrlwi r6, r6, 0x18 -/* 8034A8F4 00347854 48 05 18 19 */ bl sndSeqVolume -/* 8034A8F8 00347858 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8034A8FC 0034785C 7C 08 03 A6 */ mtlr r0 -/* 8034A900 00347860 38 21 00 10 */ addi r1, r1, 0x10 -/* 8034A904 00347864 4E 80 00 20 */ blr - -.global SeqStop__9CAudioSysFUl -SeqStop__9CAudioSysFUl: -/* 8034A908 00347868 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034A90C 0034786C 7C 08 02 A6 */ mflr r0 -/* 8034A910 00347870 90 01 00 14 */ stw r0, 0x14(r1) -/* 8034A914 00347874 48 05 16 E9 */ bl sndSeqStop -/* 8034A918 00347878 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8034A91C 0034787C 7C 08 03 A6 */ mtlr r0 -/* 8034A920 00347880 38 21 00 10 */ addi r1, r1, 0x10 -/* 8034A924 00347884 4E 80 00 20 */ blr - -.global SeqPlayEx__9CAudioSysFUsUsPvP12SND_PLAYPARAUc -SeqPlayEx__9CAudioSysFUsUsPvP12SND_PLAYPARAUc: -/* 8034A928 00347888 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034A92C 0034788C 7C 08 02 A6 */ mflr r0 -/* 8034A930 00347890 54 63 04 3E */ clrlwi r3, r3, 0x10 -/* 8034A934 00347894 54 84 04 3E */ clrlwi r4, r4, 0x10 -/* 8034A938 00347898 90 01 00 14 */ stw r0, 0x14(r1) -/* 8034A93C 0034789C 54 E7 06 3E */ clrlwi r7, r7, 0x18 -/* 8034A940 003478A0 48 06 02 A1 */ bl sndSeqPlayEx -/* 8034A944 003478A4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8034A948 003478A8 7C 08 03 A6 */ mtlr r0 -/* 8034A94C 003478AC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8034A950 003478B0 4E 80 00 20 */ blr - -.global S3dFindLowerPriorityHandle__9CAudioSysFUi -S3dFindLowerPriorityHandle__9CAudioSysFUi: -/* 8034A954 003478B4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034A958 003478B8 7C 08 02 A6 */ mflr r0 -/* 8034A95C 003478BC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8034A960 003478C0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8034A964 003478C4 93 C1 00 08 */ stw r30, 8(r1) -/* 8034A968 003478C8 3B C0 00 00 */ li r30, 0 -/* 8034A96C 003478CC 80 8D A9 E0 */ lwz r4, lbl_805A95A0@sda21(r13) -/* 8034A970 003478D0 8B ED A9 D3 */ lbz r31, lbl_805A9593@sda21(r13) -/* 8034A974 003478D4 80 84 00 0C */ lwz r4, 0xc(r4) -lbl_8034A978: -/* 8034A978 003478D8 88 04 00 50 */ lbz r0, 0x50(r4) -/* 8034A97C 003478DC 28 00 00 00 */ cmplwi r0, 0 -/* 8034A980 003478E0 41 82 00 38 */ beq lbl_8034A9B8 -/* 8034A984 003478E4 88 04 00 52 */ lbz r0, 0x52(r4) -/* 8034A988 003478E8 7C 00 18 40 */ cmplw r0, r3 -/* 8034A98C 003478EC 41 81 00 1C */ bgt lbl_8034A9A8 -/* 8034A990 003478F0 88 04 00 51 */ lbz r0, 0x51(r4) -/* 8034A994 003478F4 28 00 00 00 */ cmplwi r0, 0 -/* 8034A998 003478F8 40 82 00 10 */ bne lbl_8034A9A8 -/* 8034A99C 003478FC 7F C3 F3 78 */ mr r3, r30 -/* 8034A9A0 00347900 48 00 02 39 */ bl S3dRemoveEmitter__9CAudioSysFUi -/* 8034A9A4 00347904 48 00 00 14 */ b lbl_8034A9B8 -lbl_8034A9A8: -/* 8034A9A8 00347908 3B DE 00 01 */ addi r30, r30, 1 -/* 8034A9AC 0034790C 38 84 00 54 */ addi r4, r4, 0x54 -/* 8034A9B0 00347910 7C 1E F8 00 */ cmpw r30, r31 -/* 8034A9B4 00347914 41 80 FF C4 */ blt lbl_8034A978 -lbl_8034A9B8: -/* 8034A9B8 00347918 7C 1E F8 00 */ cmpw r30, r31 -/* 8034A9BC 0034791C 38 60 FF FF */ li r3, -1 -/* 8034A9C0 00347920 40 80 00 08 */ bge lbl_8034A9C8 -/* 8034A9C4 00347924 7F C3 F3 78 */ mr r3, r30 -lbl_8034A9C8: -/* 8034A9C8 00347928 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8034A9CC 0034792C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8034A9D0 00347930 83 C1 00 08 */ lwz r30, 8(r1) -/* 8034A9D4 00347934 7C 08 03 A6 */ mtlr r0 -/* 8034A9D8 00347938 38 21 00 10 */ addi r1, r1, 0x10 -/* 8034A9DC 0034793C 4E 80 00 20 */ blr - -.global S3dFindUnusedHandle__9CAudioSysFv -S3dFindUnusedHandle__9CAudioSysFv: -/* 8034A9E0 00347940 80 8D A9 E0 */ lwz r4, lbl_805A95A0@sda21(r13) -/* 8034A9E4 00347944 38 60 00 00 */ li r3, 0 -/* 8034A9E8 00347948 88 AD A9 D3 */ lbz r5, lbl_805A9593@sda21(r13) -/* 8034A9EC 0034794C 80 84 00 0C */ lwz r4, 0xc(r4) -lbl_8034A9F0: -/* 8034A9F0 00347950 88 04 00 50 */ lbz r0, 0x50(r4) -/* 8034A9F4 00347954 28 00 00 00 */ cmplwi r0, 0 -/* 8034A9F8 00347958 41 82 00 14 */ beq lbl_8034AA0C -/* 8034A9FC 0034795C 38 63 00 01 */ addi r3, r3, 1 -/* 8034AA00 00347960 38 84 00 54 */ addi r4, r4, 0x54 -/* 8034AA04 00347964 7C 03 28 00 */ cmpw r3, r5 -/* 8034AA08 00347968 41 80 FF E8 */ blt lbl_8034A9F0 -lbl_8034AA0C: -/* 8034AA0C 0034796C 7C 03 28 00 */ cmpw r3, r5 -/* 8034AA10 00347970 4D 80 00 20 */ bltlr -/* 8034AA14 00347974 38 60 FF FF */ li r3, -1 -/* 8034AA18 00347978 4E 80 00 20 */ blr - -.global S3dEmitterVoiceID__9CAudioSysFUi -S3dEmitterVoiceID__9CAudioSysFUi: -/* 8034AA1C 0034797C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034AA20 00347980 7C 08 02 A6 */ mflr r0 -/* 8034AA24 00347984 90 01 00 14 */ stw r0, 0x14(r1) -/* 8034AA28 00347988 3C 03 00 01 */ addis r0, r3, 1 -/* 8034AA2C 0034798C 28 00 FF FF */ cmplwi r0, 0xffff -/* 8034AA30 00347990 40 82 00 0C */ bne lbl_8034AA3C -/* 8034AA34 00347994 38 60 00 00 */ li r3, 0 -/* 8034AA38 00347998 48 00 00 2C */ b lbl_8034AA64 -lbl_8034AA3C: -/* 8034AA3C 0034799C 80 8D A9 E0 */ lwz r4, lbl_805A95A0@sda21(r13) -/* 8034AA40 003479A0 1C 03 00 54 */ mulli r0, r3, 0x54 -/* 8034AA44 003479A4 80 64 00 0C */ lwz r3, 0xc(r4) -/* 8034AA48 003479A8 7C 63 02 14 */ add r3, r3, r0 -/* 8034AA4C 003479AC 88 03 00 50 */ lbz r0, 0x50(r3) -/* 8034AA50 003479B0 28 00 00 00 */ cmplwi r0, 0 -/* 8034AA54 003479B4 41 82 00 0C */ beq lbl_8034AA60 -/* 8034AA58 003479B8 48 06 4D B9 */ bl sndEmitterVoiceID -/* 8034AA5C 003479BC 48 00 00 08 */ b lbl_8034AA64 -lbl_8034AA60: -/* 8034AA60 003479C0 38 60 FF FF */ li r3, -1 -lbl_8034AA64: -/* 8034AA64 003479C4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8034AA68 003479C8 7C 08 03 A6 */ mtlr r0 -/* 8034AA6C 003479CC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8034AA70 003479D0 4E 80 00 20 */ blr - -.global S3dCheckEmitter__9CAudioSysFUi -S3dCheckEmitter__9CAudioSysFUi: -/* 8034AA74 003479D4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034AA78 003479D8 7C 08 02 A6 */ mflr r0 -/* 8034AA7C 003479DC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8034AA80 003479E0 3C 03 00 01 */ addis r0, r3, 1 -/* 8034AA84 003479E4 28 00 FF FF */ cmplwi r0, 0xffff -/* 8034AA88 003479E8 40 82 00 0C */ bne lbl_8034AA94 -/* 8034AA8C 003479EC 38 60 00 00 */ li r3, 0 -/* 8034AA90 003479F0 48 00 00 2C */ b lbl_8034AABC -lbl_8034AA94: -/* 8034AA94 003479F4 80 8D A9 E0 */ lwz r4, lbl_805A95A0@sda21(r13) -/* 8034AA98 003479F8 1C 03 00 54 */ mulli r0, r3, 0x54 -/* 8034AA9C 003479FC 80 64 00 0C */ lwz r3, 0xc(r4) -/* 8034AAA0 00347A00 7C 63 02 14 */ add r3, r3, r0 -/* 8034AAA4 00347A04 88 03 00 50 */ lbz r0, 0x50(r3) -/* 8034AAA8 00347A08 28 00 00 00 */ cmplwi r0, 0 -/* 8034AAAC 00347A0C 41 82 00 0C */ beq lbl_8034AAB8 -/* 8034AAB0 00347A10 48 06 48 51 */ bl sndCheckEmitter -/* 8034AAB4 00347A14 48 00 00 08 */ b lbl_8034AABC -lbl_8034AAB8: -/* 8034AAB8 00347A18 38 60 00 00 */ li r3, 0 -lbl_8034AABC: -/* 8034AABC 00347A1C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8034AAC0 00347A20 7C 08 03 A6 */ mtlr r0 -/* 8034AAC4 00347A24 38 21 00 10 */ addi r1, r1, 0x10 -/* 8034AAC8 00347A28 4E 80 00 20 */ blr - -.global S3dFlushUnusedEmitters__9CAudioSysFv -S3dFlushUnusedEmitters__9CAudioSysFv: -/* 8034AACC 00347A2C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034AAD0 00347A30 7C 08 02 A6 */ mflr r0 -/* 8034AAD4 00347A34 90 01 00 14 */ stw r0, 0x14(r1) -/* 8034AAD8 00347A38 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8034AADC 00347A3C 3B E0 00 00 */ li r31, 0 -/* 8034AAE0 00347A40 93 C1 00 08 */ stw r30, 8(r1) -/* 8034AAE4 00347A44 80 6D A9 E0 */ lwz r3, lbl_805A95A0@sda21(r13) -/* 8034AAE8 00347A48 83 C3 00 0C */ lwz r30, 0xc(r3) -/* 8034AAEC 00347A4C 48 00 00 3C */ b lbl_8034AB28 -lbl_8034AAF0: -/* 8034AAF0 00347A50 88 1E 00 50 */ lbz r0, 0x50(r30) -/* 8034AAF4 00347A54 28 00 00 00 */ cmplwi r0, 0 -/* 8034AAF8 00347A58 41 82 00 2C */ beq lbl_8034AB24 -/* 8034AAFC 00347A5C 7F C3 F3 78 */ mr r3, r30 -/* 8034AB00 00347A60 48 06 48 01 */ bl sndCheckEmitter -/* 8034AB04 00347A64 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8034AB08 00347A68 40 82 00 1C */ bne lbl_8034AB24 -/* 8034AB0C 00347A6C 88 1E 00 51 */ lbz r0, 0x51(r30) -/* 8034AB10 00347A70 28 00 00 00 */ cmplwi r0, 0 -/* 8034AB14 00347A74 40 82 00 10 */ bne lbl_8034AB24 -/* 8034AB18 00347A78 9B FE 00 50 */ stb r31, 0x50(r30) -/* 8034AB1C 00347A7C 7F C3 F3 78 */ mr r3, r30 -/* 8034AB20 00347A80 48 06 4C 49 */ bl sndRemoveEmitter -lbl_8034AB24: -/* 8034AB24 00347A84 3B DE 00 54 */ addi r30, r30, 0x54 -lbl_8034AB28: -/* 8034AB28 00347A88 80 6D A9 E0 */ lwz r3, lbl_805A95A0@sda21(r13) -/* 8034AB2C 00347A8C 80 03 00 04 */ lwz r0, 4(r3) -/* 8034AB30 00347A90 80 63 00 0C */ lwz r3, 0xc(r3) -/* 8034AB34 00347A94 1C 00 00 54 */ mulli r0, r0, 0x54 -/* 8034AB38 00347A98 7C 03 02 14 */ add r0, r3, r0 -/* 8034AB3C 00347A9C 7C 1E 00 40 */ cmplw r30, r0 -/* 8034AB40 00347AA0 40 82 FF B0 */ bne lbl_8034AAF0 -/* 8034AB44 00347AA4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8034AB48 00347AA8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8034AB4C 00347AAC 83 C1 00 08 */ lwz r30, 8(r1) -/* 8034AB50 00347AB0 7C 08 03 A6 */ mtlr r0 -/* 8034AB54 00347AB4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8034AB58 00347AB8 4E 80 00 20 */ blr - -.global S3dFlushAllEmitters__9CAudioSysFv -S3dFlushAllEmitters__9CAudioSysFv: -/* 8034AB5C 00347ABC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034AB60 00347AC0 7C 08 02 A6 */ mflr r0 -/* 8034AB64 00347AC4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8034AB68 00347AC8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8034AB6C 00347ACC 3B E0 00 00 */ li r31, 0 -/* 8034AB70 00347AD0 93 C1 00 08 */ stw r30, 8(r1) -/* 8034AB74 00347AD4 80 6D A9 E0 */ lwz r3, lbl_805A95A0@sda21(r13) -/* 8034AB78 00347AD8 83 C3 00 0C */ lwz r30, 0xc(r3) -/* 8034AB7C 00347ADC 48 00 00 20 */ b lbl_8034AB9C -lbl_8034AB80: -/* 8034AB80 00347AE0 88 1E 00 50 */ lbz r0, 0x50(r30) -/* 8034AB84 00347AE4 28 00 00 00 */ cmplwi r0, 0 -/* 8034AB88 00347AE8 41 82 00 10 */ beq lbl_8034AB98 -/* 8034AB8C 00347AEC 9B FE 00 50 */ stb r31, 0x50(r30) -/* 8034AB90 00347AF0 7F C3 F3 78 */ mr r3, r30 -/* 8034AB94 00347AF4 48 06 4B D5 */ bl sndRemoveEmitter -lbl_8034AB98: -/* 8034AB98 00347AF8 3B DE 00 54 */ addi r30, r30, 0x54 -lbl_8034AB9C: -/* 8034AB9C 00347AFC 80 6D A9 E0 */ lwz r3, lbl_805A95A0@sda21(r13) -/* 8034ABA0 00347B00 80 03 00 04 */ lwz r0, 4(r3) -/* 8034ABA4 00347B04 80 63 00 0C */ lwz r3, 0xc(r3) -/* 8034ABA8 00347B08 1C 00 00 54 */ mulli r0, r0, 0x54 -/* 8034ABAC 00347B0C 7C 03 02 14 */ add r0, r3, r0 -/* 8034ABB0 00347B10 7C 1E 00 40 */ cmplw r30, r0 -/* 8034ABB4 00347B14 40 82 FF CC */ bne lbl_8034AB80 -/* 8034ABB8 00347B18 38 00 00 00 */ li r0, 0 -/* 8034ABBC 00347B1C 90 0D A9 E8 */ stw r0, lbl_805A95A8@sda21(r13) -/* 8034ABC0 00347B20 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8034ABC4 00347B24 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8034ABC8 00347B28 83 C1 00 08 */ lwz r30, 8(r1) -/* 8034ABCC 00347B2C 7C 08 03 A6 */ mtlr r0 -/* 8034ABD0 00347B30 38 21 00 10 */ addi r1, r1, 0x10 -/* 8034ABD4 00347B34 4E 80 00 20 */ blr - -.global S3dRemoveEmitter__9CAudioSysFUi -S3dRemoveEmitter__9CAudioSysFUi: -/* 8034ABD8 00347B38 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034ABDC 00347B3C 7C 08 02 A6 */ mflr r0 -/* 8034ABE0 00347B40 90 01 00 14 */ stw r0, 0x14(r1) -/* 8034ABE4 00347B44 3C 03 00 01 */ addis r0, r3, 1 -/* 8034ABE8 00347B48 28 00 FF FF */ cmplwi r0, 0xffff -/* 8034ABEC 00347B4C 40 82 00 0C */ bne lbl_8034ABF8 -/* 8034ABF0 00347B50 38 60 00 00 */ li r3, 0 -/* 8034ABF4 00347B54 48 00 00 3C */ b lbl_8034AC30 -lbl_8034ABF8: -/* 8034ABF8 00347B58 80 8D A9 E0 */ lwz r4, lbl_805A95A0@sda21(r13) -/* 8034ABFC 00347B5C 1C 03 00 54 */ mulli r0, r3, 0x54 -/* 8034AC00 00347B60 80 84 00 0C */ lwz r4, 0xc(r4) -/* 8034AC04 00347B64 7C 84 02 14 */ add r4, r4, r0 -/* 8034AC08 00347B68 88 04 00 50 */ lbz r0, 0x50(r4) -/* 8034AC0C 00347B6C 28 00 00 00 */ cmplwi r0, 0 -/* 8034AC10 00347B70 41 82 00 1C */ beq lbl_8034AC2C -/* 8034AC14 00347B74 38 00 00 00 */ li r0, 0 -/* 8034AC18 00347B78 98 04 00 50 */ stb r0, 0x50(r4) -/* 8034AC1C 00347B7C 90 6D A9 E8 */ stw r3, lbl_805A95A8@sda21(r13) -/* 8034AC20 00347B80 7C 83 23 78 */ mr r3, r4 -/* 8034AC24 00347B84 48 06 4B 45 */ bl sndRemoveEmitter -/* 8034AC28 00347B88 48 00 00 08 */ b lbl_8034AC30 -lbl_8034AC2C: -/* 8034AC2C 00347B8C 38 60 00 01 */ li r3, 1 -lbl_8034AC30: -/* 8034AC30 00347B90 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8034AC34 00347B94 7C 08 03 A6 */ mtlr r0 -/* 8034AC38 00347B98 38 21 00 10 */ addi r1, r1, 0x10 -/* 8034AC3C 00347B9C 4E 80 00 20 */ blr - -.global S3dUpdateEmitter__9CAudioSysFUiRC9CVector3fRC9CVector3fUc -S3dUpdateEmitter__9CAudioSysFUiRC9CVector3fRC9CVector3fUc: -/* 8034AC40 00347BA0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8034AC44 00347BA4 7C 08 02 A6 */ mflr r0 -/* 8034AC48 00347BA8 90 01 00 24 */ stw r0, 0x24(r1) -/* 8034AC4C 00347BAC 3C 03 00 01 */ addis r0, r3, 1 -/* 8034AC50 00347BB0 28 00 FF FF */ cmplwi r0, 0xffff -/* 8034AC54 00347BB4 40 82 00 0C */ bne lbl_8034AC60 -/* 8034AC58 00347BB8 38 60 00 00 */ li r3, 0 -/* 8034AC5C 00347BBC 48 00 00 58 */ b lbl_8034ACB4 -lbl_8034AC60: -/* 8034AC60 00347BC0 80 ED A9 E0 */ lwz r7, lbl_805A95A0@sda21(r13) -/* 8034AC64 00347BC4 1C 03 00 54 */ mulli r0, r3, 0x54 -/* 8034AC68 00347BC8 C0 A4 00 00 */ lfs f5, 0(r4) -/* 8034AC6C 00347BCC 54 C6 06 3E */ clrlwi r6, r6, 0x18 -/* 8034AC70 00347BD0 80 67 00 0C */ lwz r3, 0xc(r7) -/* 8034AC74 00347BD4 38 E0 00 00 */ li r7, 0 -/* 8034AC78 00347BD8 C0 84 00 04 */ lfs f4, 4(r4) -/* 8034AC7C 00347BDC C0 64 00 08 */ lfs f3, 8(r4) -/* 8034AC80 00347BE0 7C 63 02 14 */ add r3, r3, r0 -/* 8034AC84 00347BE4 C0 45 00 00 */ lfs f2, 0(r5) -/* 8034AC88 00347BE8 38 81 00 14 */ addi r4, r1, 0x14 -/* 8034AC8C 00347BEC C0 25 00 04 */ lfs f1, 4(r5) -/* 8034AC90 00347BF0 C0 05 00 08 */ lfs f0, 8(r5) -/* 8034AC94 00347BF4 38 A1 00 08 */ addi r5, r1, 8 -/* 8034AC98 00347BF8 D0 A1 00 14 */ stfs f5, 0x14(r1) -/* 8034AC9C 00347BFC D0 81 00 18 */ stfs f4, 0x18(r1) -/* 8034ACA0 00347C00 D0 61 00 1C */ stfs f3, 0x1c(r1) -/* 8034ACA4 00347C04 D0 41 00 08 */ stfs f2, 8(r1) -/* 8034ACA8 00347C08 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 8034ACAC 00347C0C D0 01 00 10 */ stfs f0, 0x10(r1) -/* 8034ACB0 00347C10 48 06 45 21 */ bl sndUpdateEmitter -lbl_8034ACB4: -/* 8034ACB4 00347C14 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8034ACB8 00347C18 7C 08 03 A6 */ mtlr r0 -/* 8034ACBC 00347C1C 38 21 00 20 */ addi r1, r1, 0x20 -/* 8034ACC0 00347C20 4E 80 00 20 */ blr - -.global S3dAddEmitterParaEx__9CAudioSysFRCQ29CAudioSys18C3DEmitterParmDataUsP18SND_PARAMETER_INFO -S3dAddEmitterParaEx__9CAudioSysFRCQ29CAudioSys18C3DEmitterParmDataUsP18SND_PARAMETER_INFO: -/* 8034ACC4 00347C24 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8034ACC8 00347C28 7C 08 02 A6 */ mflr r0 -/* 8034ACCC 00347C2C 90 01 00 44 */ stw r0, 0x44(r1) -/* 8034ACD0 00347C30 BF 61 00 2C */ stmw r27, 0x2c(r1) -/* 8034ACD4 00347C34 7C 7B 1B 78 */ mr r27, r3 -/* 8034ACD8 00347C38 7C 9C 23 78 */ mr r28, r4 -/* 8034ACDC 00347C3C 7C BD 2B 78 */ mr r29, r5 -/* 8034ACE0 00347C40 80 CD A9 E8 */ lwz r6, lbl_805A95A8@sda21(r13) -/* 8034ACE4 00347C44 3C 06 00 01 */ addis r0, r6, 1 -/* 8034ACE8 00347C48 7C DE 33 78 */ mr r30, r6 -/* 8034ACEC 00347C4C 28 00 FF FF */ cmplwi r0, 0xffff -/* 8034ACF0 00347C50 40 82 00 24 */ bne lbl_8034AD14 -/* 8034ACF4 00347C54 88 7B 00 29 */ lbz r3, 0x29(r27) -/* 8034ACF8 00347C58 4B FF FC 5D */ bl S3dFindLowerPriorityHandle__9CAudioSysFUi -/* 8034ACFC 00347C5C 3C 03 00 01 */ addis r0, r3, 1 -/* 8034AD00 00347C60 28 00 FF FF */ cmplwi r0, 0xffff -/* 8034AD04 00347C64 40 82 00 0C */ bne lbl_8034AD10 -/* 8034AD08 00347C68 38 60 FF FF */ li r3, -1 -/* 8034AD0C 00347C6C 48 00 01 18 */ b lbl_8034AE24 -lbl_8034AD10: -/* 8034AD10 00347C70 7C 7E 1B 78 */ mr r30, r3 -lbl_8034AD14: -/* 8034AD14 00347C74 80 8D A9 E0 */ lwz r4, lbl_805A95A0@sda21(r13) -/* 8034AD18 00347C78 1C 7E 00 54 */ mulli r3, r30, 0x54 -/* 8034AD1C 00347C7C 88 BB 00 26 */ lbz r5, 0x26(r27) -/* 8034AD20 00347C80 38 00 00 7F */ li r0, 0x7f -/* 8034AD24 00347C84 80 84 00 0C */ lwz r4, 0xc(r4) -/* 8034AD28 00347C88 C0 BB 00 00 */ lfs f5, 0(r27) -/* 8034AD2C 00347C8C 28 05 00 7F */ cmplwi r5, 0x7f -/* 8034AD30 00347C90 C0 9B 00 04 */ lfs f4, 4(r27) -/* 8034AD34 00347C94 7F E4 1A 14 */ add r31, r4, r3 -/* 8034AD38 00347C98 C0 7B 00 08 */ lfs f3, 8(r27) -/* 8034AD3C 00347C9C C0 5B 00 0C */ lfs f2, 0xc(r27) -/* 8034AD40 00347CA0 C0 3B 00 10 */ lfs f1, 0x10(r27) -/* 8034AD44 00347CA4 C0 1B 00 14 */ lfs f0, 0x14(r27) -/* 8034AD48 00347CA8 D0 A1 00 1C */ stfs f5, 0x1c(r1) -/* 8034AD4C 00347CAC D0 81 00 20 */ stfs f4, 0x20(r1) -/* 8034AD50 00347CB0 D0 61 00 24 */ stfs f3, 0x24(r1) -/* 8034AD54 00347CB4 D0 41 00 10 */ stfs f2, 0x10(r1) -/* 8034AD58 00347CB8 D0 21 00 14 */ stfs f1, 0x14(r1) -/* 8034AD5C 00347CBC D0 01 00 18 */ stfs f0, 0x18(r1) -/* 8034AD60 00347CC0 41 81 00 08 */ bgt lbl_8034AD68 -/* 8034AD64 00347CC4 7C A0 2B 78 */ mr r0, r5 -lbl_8034AD68: -/* 8034AD68 00347CC8 A8 CD 9D DA */ lha r6, lbl_805A899A@sda21(r13) -/* 8034AD6C 00347CCC 3C 60 81 02 */ lis r3, 0x81020409@ha -/* 8034AD70 00347CD0 38 83 04 09 */ addi r4, r3, 0x81020409@l -/* 8034AD74 00347CD4 88 BB 00 27 */ lbz r5, 0x27(r27) -/* 8034AD78 00347CD8 7C 66 01 D6 */ mullw r3, r6, r0 -/* 8034AD7C 00347CDC 38 00 00 7F */ li r0, 0x7f -/* 8034AD80 00347CE0 28 05 00 7F */ cmplwi r5, 0x7f -/* 8034AD84 00347CE4 7C 84 18 96 */ mulhw r4, r4, r3 -/* 8034AD88 00347CE8 7C 64 1A 14 */ add r3, r4, r3 -/* 8034AD8C 00347CEC 7C 63 36 70 */ srawi r3, r3, 6 -/* 8034AD90 00347CF0 54 64 0F FE */ srwi r4, r3, 0x1f -/* 8034AD94 00347CF4 7C 63 22 14 */ add r3, r3, r4 -/* 8034AD98 00347CF8 54 63 06 3E */ clrlwi r3, r3, 0x18 -/* 8034AD9C 00347CFC 7C 69 07 74 */ extsb r9, r3 -/* 8034ADA0 00347D00 41 81 00 08 */ bgt lbl_8034ADA8 -/* 8034ADA4 00347D04 7C A0 2B 78 */ mr r0, r5 -lbl_8034ADA8: -/* 8034ADA8 00347D08 7C 06 01 D6 */ mullw r0, r6, r0 -/* 8034ADAC 00347D0C 3C 60 81 02 */ lis r3, 0x81020409@ha -/* 8034ADB0 00347D10 38 A0 00 00 */ li r5, 0 -/* 8034ADB4 00347D14 38 83 04 09 */ addi r4, r3, 0x81020409@l -/* 8034ADB8 00347D18 90 A1 00 08 */ stw r5, 8(r1) -/* 8034ADBC 00347D1C 7F E3 FB 78 */ mr r3, r31 -/* 8034ADC0 00347D20 7C A4 00 96 */ mulhw r5, r4, r0 -/* 8034ADC4 00347D24 93 A1 00 0C */ stw r29, 0xc(r1) -/* 8034ADC8 00347D28 7F 88 E3 78 */ mr r8, r28 -/* 8034ADCC 00347D2C A0 FB 00 24 */ lhz r7, 0x24(r27) -/* 8034ADD0 00347D30 38 81 00 1C */ addi r4, r1, 0x1c -/* 8034ADD4 00347D34 C0 3B 00 18 */ lfs f1, 0x18(r27) -/* 8034ADD8 00347D38 7C 05 02 14 */ add r0, r5, r0 -/* 8034ADDC 00347D3C C0 5B 00 1C */ lfs f2, 0x1c(r27) -/* 8034ADE0 00347D40 7C 00 36 70 */ srawi r0, r0, 6 -/* 8034ADE4 00347D44 80 DB 00 20 */ lwz r6, 0x20(r27) -/* 8034ADE8 00347D48 54 05 0F FE */ srwi r5, r0, 0x1f -/* 8034ADEC 00347D4C 55 29 06 3E */ clrlwi r9, r9, 0x18 -/* 8034ADF0 00347D50 7C 00 2A 14 */ add r0, r0, r5 -/* 8034ADF4 00347D54 38 A1 00 10 */ addi r5, r1, 0x10 -/* 8034ADF8 00347D58 54 0A 06 3E */ clrlwi r10, r0, 0x18 -/* 8034ADFC 00347D5C 48 06 49 1D */ bl sndAddEmitterParaEx -/* 8034AE00 00347D60 38 00 00 01 */ li r0, 1 -/* 8034AE04 00347D64 98 1F 00 50 */ stb r0, 0x50(r31) -/* 8034AE08 00347D68 88 1B 00 28 */ lbz r0, 0x28(r27) -/* 8034AE0C 00347D6C 98 1F 00 51 */ stb r0, 0x51(r31) -/* 8034AE10 00347D70 88 1B 00 29 */ lbz r0, 0x29(r27) -/* 8034AE14 00347D74 98 1F 00 52 */ stb r0, 0x52(r31) -/* 8034AE18 00347D78 4B FF FB C9 */ bl S3dFindUnusedHandle__9CAudioSysFv -/* 8034AE1C 00347D7C 90 6D A9 E8 */ stw r3, lbl_805A95A8@sda21(r13) -/* 8034AE20 00347D80 7F C3 F3 78 */ mr r3, r30 -lbl_8034AE24: -/* 8034AE24 00347D84 BB 61 00 2C */ lmw r27, 0x2c(r1) -/* 8034AE28 00347D88 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8034AE2C 00347D8C 7C 08 03 A6 */ mtlr r0 -/* 8034AE30 00347D90 38 21 00 40 */ addi r1, r1, 0x40 -/* 8034AE34 00347D94 4E 80 00 20 */ blr - -.global S3dRemoveListener__9CAudioSysFv -S3dRemoveListener__9CAudioSysFv: -/* 8034AE38 00347D98 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034AE3C 00347D9C 7C 08 02 A6 */ mflr r0 -/* 8034AE40 00347DA0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8034AE44 00347DA4 88 0D A9 D1 */ lbz r0, lbl_805A9591@sda21(r13) -/* 8034AE48 00347DA8 28 00 00 00 */ cmplwi r0, 0 -/* 8034AE4C 00347DAC 41 82 00 18 */ beq lbl_8034AE64 -/* 8034AE50 00347DB0 38 00 00 00 */ li r0, 0 -/* 8034AE54 00347DB4 80 6D A9 E4 */ lwz r3, lbl_805A95A4@sda21(r13) -/* 8034AE58 00347DB8 98 0D A9 D1 */ stb r0, lbl_805A9591@sda21(r13) -/* 8034AE5C 00347DBC 48 06 4F 31 */ bl sndRemoveListener -/* 8034AE60 00347DC0 48 00 00 08 */ b lbl_8034AE68 -lbl_8034AE64: -/* 8034AE64 00347DC4 38 60 00 00 */ li r3, 0 -lbl_8034AE68: -/* 8034AE68 00347DC8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8034AE6C 00347DCC 7C 08 03 A6 */ mtlr r0 -/* 8034AE70 00347DD0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8034AE74 00347DD4 4E 80 00 20 */ blr - -.global S3dUpdateListener__9CAudioSysFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3fUc -S3dUpdateListener__9CAudioSysFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3fUc: -/* 8034AE78 00347DD8 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8034AE7C 00347DDC 7C 08 02 A6 */ mflr r0 -/* 8034AE80 00347DE0 7C E8 3B 78 */ mr r8, r7 -/* 8034AE84 00347DE4 90 01 00 44 */ stw r0, 0x44(r1) -/* 8034AE88 00347DE8 88 0D A9 D1 */ lbz r0, lbl_805A9591@sda21(r13) -/* 8034AE8C 00347DEC 28 00 00 00 */ cmplwi r0, 0 -/* 8034AE90 00347DF0 41 82 00 88 */ beq lbl_8034AF18 -/* 8034AE94 00347DF4 C1 63 00 00 */ lfs f11, 0(r3) -/* 8034AE98 00347DF8 38 E1 00 08 */ addi r7, r1, 8 -/* 8034AE9C 00347DFC C1 43 00 04 */ lfs f10, 4(r3) -/* 8034AEA0 00347E00 55 08 06 3E */ clrlwi r8, r8, 0x18 -/* 8034AEA4 00347E04 C1 23 00 08 */ lfs f9, 8(r3) -/* 8034AEA8 00347E08 39 20 00 00 */ li r9, 0 -/* 8034AEAC 00347E0C C1 04 00 00 */ lfs f8, 0(r4) -/* 8034AEB0 00347E10 C0 E4 00 04 */ lfs f7, 4(r4) -/* 8034AEB4 00347E14 C0 C4 00 08 */ lfs f6, 8(r4) -/* 8034AEB8 00347E18 38 81 00 2C */ addi r4, r1, 0x2c -/* 8034AEBC 00347E1C C0 A5 00 00 */ lfs f5, 0(r5) -/* 8034AEC0 00347E20 C0 85 00 04 */ lfs f4, 4(r5) -/* 8034AEC4 00347E24 C0 65 00 08 */ lfs f3, 8(r5) -/* 8034AEC8 00347E28 38 A1 00 20 */ addi r5, r1, 0x20 -/* 8034AECC 00347E2C C0 46 00 00 */ lfs f2, 0(r6) -/* 8034AED0 00347E30 C0 26 00 04 */ lfs f1, 4(r6) -/* 8034AED4 00347E34 C0 06 00 08 */ lfs f0, 8(r6) -/* 8034AED8 00347E38 38 C1 00 14 */ addi r6, r1, 0x14 -/* 8034AEDC 00347E3C D1 61 00 2C */ stfs f11, 0x2c(r1) -/* 8034AEE0 00347E40 80 6D A9 E4 */ lwz r3, lbl_805A95A4@sda21(r13) -/* 8034AEE4 00347E44 D1 41 00 30 */ stfs f10, 0x30(r1) -/* 8034AEE8 00347E48 D1 21 00 34 */ stfs f9, 0x34(r1) -/* 8034AEEC 00347E4C D1 01 00 20 */ stfs f8, 0x20(r1) -/* 8034AEF0 00347E50 D0 E1 00 24 */ stfs f7, 0x24(r1) -/* 8034AEF4 00347E54 D0 C1 00 28 */ stfs f6, 0x28(r1) -/* 8034AEF8 00347E58 D0 A1 00 14 */ stfs f5, 0x14(r1) -/* 8034AEFC 00347E5C D0 81 00 18 */ stfs f4, 0x18(r1) -/* 8034AF00 00347E60 D0 61 00 1C */ stfs f3, 0x1c(r1) -/* 8034AF04 00347E64 D0 41 00 08 */ stfs f2, 8(r1) -/* 8034AF08 00347E68 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 8034AF0C 00347E6C D0 01 00 10 */ stfs f0, 0x10(r1) -/* 8034AF10 00347E70 48 06 4A 59 */ bl sndUpdateListener -/* 8034AF14 00347E74 48 00 00 08 */ b lbl_8034AF1C -lbl_8034AF18: -/* 8034AF18 00347E78 38 60 00 00 */ li r3, 0 -lbl_8034AF1C: -/* 8034AF1C 00347E7C 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8034AF20 00347E80 7C 08 03 A6 */ mtlr r0 -/* 8034AF24 00347E84 38 21 00 40 */ addi r1, r1, 0x40 -/* 8034AF28 00347E88 4E 80 00 20 */ blr - -.global S3dAddListener__9CAudioSysFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ffffUiUc -S3dAddListener__9CAudioSysFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ffffUiUc: -/* 8034AF2C 00347E8C 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 8034AF30 00347E90 7C 08 02 A6 */ mflr r0 -/* 8034AF34 00347E94 90 01 00 94 */ stw r0, 0x94(r1) -/* 8034AF38 00347E98 DB E1 00 80 */ stfd f31, 0x80(r1) -/* 8034AF3C 00347E9C F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 -/* 8034AF40 00347EA0 DB C1 00 70 */ stfd f30, 0x70(r1) -/* 8034AF44 00347EA4 F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 -/* 8034AF48 00347EA8 DB A1 00 60 */ stfd f29, 0x60(r1) -/* 8034AF4C 00347EAC F3 A1 00 68 */ psq_st f29, 104(r1), 0, qr0 -/* 8034AF50 00347EB0 DB 81 00 50 */ stfd f28, 0x50(r1) -/* 8034AF54 00347EB4 F3 81 00 58 */ psq_st f28, 88(r1), 0, qr0 -/* 8034AF58 00347EB8 BF 41 00 38 */ stmw r26, 0x38(r1) -/* 8034AF5C 00347EBC 88 0D A9 D1 */ lbz r0, lbl_805A9591@sda21(r13) -/* 8034AF60 00347EC0 FF 80 08 90 */ fmr f28, f1 -/* 8034AF64 00347EC4 FF A0 10 90 */ fmr f29, f2 -/* 8034AF68 00347EC8 7C 7A 1B 78 */ mr r26, r3 -/* 8034AF6C 00347ECC FF C0 18 90 */ fmr f30, f3 -/* 8034AF70 00347ED0 28 00 00 00 */ cmplwi r0, 0 -/* 8034AF74 00347ED4 7C 9B 23 78 */ mr r27, r4 -/* 8034AF78 00347ED8 7C BC 2B 78 */ mr r28, r5 -/* 8034AF7C 00347EDC 7C DD 33 78 */ mr r29, r6 -/* 8034AF80 00347EE0 7C FE 3B 78 */ mr r30, r7 -/* 8034AF84 00347EE4 7D 1F 43 78 */ mr r31, r8 -/* 8034AF88 00347EE8 41 82 00 08 */ beq lbl_8034AF90 -/* 8034AF8C 00347EEC 4B FF FE AD */ bl S3dRemoveListener__9CAudioSysFv -lbl_8034AF90: -/* 8034AF90 00347EF0 C3 FA 00 00 */ lfs f31, 0(r26) -/* 8034AF94 00347EF4 38 00 00 01 */ li r0, 1 -/* 8034AF98 00347EF8 C1 BA 00 04 */ lfs f13, 4(r26) -/* 8034AF9C 00347EFC FC 20 E0 90 */ fmr f1, f28 -/* 8034AFA0 00347F00 C1 9A 00 08 */ lfs f12, 8(r26) -/* 8034AFA4 00347F04 FC 40 E8 90 */ fmr f2, f29 -/* 8034AFA8 00347F08 C1 7B 00 00 */ lfs f11, 0(r27) -/* 8034AFAC 00347F0C FC 60 F0 90 */ fmr f3, f30 -/* 8034AFB0 00347F10 C1 5B 00 04 */ lfs f10, 4(r27) -/* 8034AFB4 00347F14 C1 3B 00 08 */ lfs f9, 8(r27) -/* 8034AFB8 00347F18 7F C8 F3 78 */ mr r8, r30 -/* 8034AFBC 00347F1C C1 1C 00 00 */ lfs f8, 0(r28) -/* 8034AFC0 00347F20 38 81 00 2C */ addi r4, r1, 0x2c -/* 8034AFC4 00347F24 C0 FC 00 04 */ lfs f7, 4(r28) -/* 8034AFC8 00347F28 38 A1 00 20 */ addi r5, r1, 0x20 -/* 8034AFCC 00347F2C C0 DC 00 08 */ lfs f6, 8(r28) -/* 8034AFD0 00347F30 38 C1 00 14 */ addi r6, r1, 0x14 -/* 8034AFD4 00347F34 C0 BD 00 00 */ lfs f5, 0(r29) -/* 8034AFD8 00347F38 38 E1 00 08 */ addi r7, r1, 8 -/* 8034AFDC 00347F3C C0 9D 00 04 */ lfs f4, 4(r29) -/* 8034AFE0 00347F40 57 E9 06 3E */ clrlwi r9, r31, 0x18 -/* 8034AFE4 00347F44 C0 1D 00 08 */ lfs f0, 8(r29) -/* 8034AFE8 00347F48 39 40 00 00 */ li r10, 0 -/* 8034AFEC 00347F4C D3 E1 00 2C */ stfs f31, 0x2c(r1) -/* 8034AFF0 00347F50 80 6D A9 E4 */ lwz r3, lbl_805A95A4@sda21(r13) -/* 8034AFF4 00347F54 D1 A1 00 30 */ stfs f13, 0x30(r1) -/* 8034AFF8 00347F58 D1 81 00 34 */ stfs f12, 0x34(r1) -/* 8034AFFC 00347F5C D1 61 00 20 */ stfs f11, 0x20(r1) -/* 8034B000 00347F60 D1 41 00 24 */ stfs f10, 0x24(r1) -/* 8034B004 00347F64 D1 21 00 28 */ stfs f9, 0x28(r1) -/* 8034B008 00347F68 D1 01 00 14 */ stfs f8, 0x14(r1) -/* 8034B00C 00347F6C D0 E1 00 18 */ stfs f7, 0x18(r1) -/* 8034B010 00347F70 D0 C1 00 1C */ stfs f6, 0x1c(r1) -/* 8034B014 00347F74 D0 A1 00 08 */ stfs f5, 8(r1) -/* 8034B018 00347F78 D0 81 00 0C */ stfs f4, 0xc(r1) -/* 8034B01C 00347F7C D0 01 00 10 */ stfs f0, 0x10(r1) -/* 8034B020 00347F80 98 0D A9 D1 */ stb r0, lbl_805A9591@sda21(r13) -/* 8034B024 00347F84 48 06 4B 49 */ bl sndAddListener -/* 8034B028 00347F88 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 -/* 8034B02C 00347F8C CB E1 00 80 */ lfd f31, 0x80(r1) -/* 8034B030 00347F90 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 -/* 8034B034 00347F94 CB C1 00 70 */ lfd f30, 0x70(r1) -/* 8034B038 00347F98 E3 A1 00 68 */ psq_l f29, 104(r1), 0, qr0 -/* 8034B03C 00347F9C CB A1 00 60 */ lfd f29, 0x60(r1) -/* 8034B040 00347FA0 E3 81 00 58 */ psq_l f28, 88(r1), 0, qr0 -/* 8034B044 00347FA4 CB 81 00 50 */ lfd f28, 0x50(r1) -/* 8034B048 00347FA8 BB 41 00 38 */ lmw r26, 0x38(r1) -/* 8034B04C 00347FAC 80 01 00 94 */ lwz r0, 0x94(r1) -/* 8034B050 00347FB0 7C 08 03 A6 */ mtlr r0 -/* 8034B054 00347FB4 38 21 00 90 */ addi r1, r1, 0x90 -/* 8034B058 00347FB8 4E 80 00 20 */ blr - -.global "FindTrack__9CAudioSysFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -"FindTrack__9CAudioSysFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": -/* 8034B05C 00347FBC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8034B060 00347FC0 7C 08 02 A6 */ mflr r0 -/* 8034B064 00347FC4 7C 85 23 78 */ mr r5, r4 -/* 8034B068 00347FC8 90 01 00 24 */ stw r0, 0x24(r1) -/* 8034B06C 00347FCC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8034B070 00347FD0 7C 7F 1B 78 */ mr r31, r3 -/* 8034B074 00347FD4 80 CD A9 DC */ lwz r6, lbl_805A959C@sda21(r13) -/* 8034B078 00347FD8 80 06 00 04 */ lwz r0, 4(r6) -/* 8034B07C 00347FDC 2C 00 00 00 */ cmpwi r0, 0 -/* 8034B080 00347FE0 41 81 00 20 */ bgt lbl_8034B0A0 -/* 8034B084 00347FE4 38 0D A9 28 */ addi r0, r13, lbl_805A94E8@sda21 -/* 8034B088 00347FE8 90 1F 00 00 */ stw r0, 0(r31) -/* 8034B08C 00347FEC 80 9F 00 00 */ lwz r4, 0(r31) -/* 8034B090 00347FF0 80 64 00 04 */ lwz r3, 4(r4) -/* 8034B094 00347FF4 38 03 00 01 */ addi r0, r3, 1 -/* 8034B098 00347FF8 90 04 00 04 */ stw r0, 4(r4) -/* 8034B09C 00347FFC 48 00 00 7C */ b lbl_8034B118 -lbl_8034B0A0: -/* 8034B0A0 00348000 7C C4 33 78 */ mr r4, r6 -/* 8034B0A4 00348004 38 61 00 10 */ addi r3, r1, 0x10 -/* 8034B0A8 00348008 48 00 00 85 */ bl sub_8034b12c -/* 8034B0AC 0034800C 80 6D A9 DC */ lwz r3, lbl_805A959C@sda21(r13) -/* 8034B0B0 00348010 38 80 00 00 */ li r4, 0 -/* 8034B0B4 00348014 80 A1 00 10 */ lwz r5, 0x10(r1) -/* 8034B0B8 00348018 38 03 00 08 */ addi r0, r3, 8 -/* 8034B0BC 0034801C 90 81 00 08 */ stw r4, 8(r1) -/* 8034B0C0 00348020 7C 05 20 40 */ cmplw r5, r4 -/* 8034B0C4 00348024 80 61 00 14 */ lwz r3, 0x14(r1) -/* 8034B0C8 00348028 90 01 00 0C */ stw r0, 0xc(r1) -/* 8034B0CC 0034802C 40 82 00 0C */ bne lbl_8034B0D8 -/* 8034B0D0 00348030 7C 03 00 40 */ cmplw r3, r0 -/* 8034B0D4 00348034 41 82 00 08 */ beq lbl_8034B0DC -lbl_8034B0D8: -/* 8034B0D8 00348038 38 80 00 01 */ li r4, 1 -lbl_8034B0DC: -/* 8034B0DC 0034803C 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 8034B0E0 00348040 41 82 00 20 */ beq lbl_8034B100 -/* 8034B0E4 00348044 80 05 00 20 */ lwz r0, 0x20(r5) -/* 8034B0E8 00348048 90 1F 00 00 */ stw r0, 0(r31) -/* 8034B0EC 0034804C 80 9F 00 00 */ lwz r4, 0(r31) -/* 8034B0F0 00348050 80 64 00 04 */ lwz r3, 4(r4) -/* 8034B0F4 00348054 38 03 00 01 */ addi r0, r3, 1 -/* 8034B0F8 00348058 90 04 00 04 */ stw r0, 4(r4) -/* 8034B0FC 0034805C 48 00 00 1C */ b lbl_8034B118 -lbl_8034B100: -/* 8034B100 00348060 38 0D A9 28 */ addi r0, r13, lbl_805A94E8@sda21 -/* 8034B104 00348064 90 1F 00 00 */ stw r0, 0(r31) -/* 8034B108 00348068 80 9F 00 00 */ lwz r4, 0(r31) -/* 8034B10C 0034806C 80 64 00 04 */ lwz r3, 4(r4) -/* 8034B110 00348070 38 03 00 01 */ addi r0, r3, 1 -/* 8034B114 00348074 90 04 00 04 */ stw r0, 4(r4) -lbl_8034B118: -/* 8034B118 00348078 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8034B11C 0034807C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8034B120 00348080 7C 08 03 A6 */ mtlr r0 -/* 8034B124 00348084 38 21 00 20 */ addi r1, r1, 0x20 -/* 8034B128 00348088 4E 80 00 20 */ blr - -.global sub_8034b12c -sub_8034b12c: -/* 8034B12C 0034808C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034B130 00348090 7C 08 02 A6 */ mflr r0 -/* 8034B134 00348094 90 01 00 14 */ stw r0, 0x14(r1) -/* 8034B138 00348098 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8034B13C 0034809C 7C 9F 23 78 */ mr r31, r4 -/* 8034B140 003480A0 7C A4 2B 78 */ mr r4, r5 -/* 8034B144 003480A4 93 C1 00 08 */ stw r30, 8(r1) -/* 8034B148 003480A8 7C 7E 1B 78 */ mr r30, r3 -/* 8034B14C 003480AC 7F E3 FB 78 */ mr r3, r31 -/* 8034B150 003480B0 48 00 00 29 */ bl sub_8034b178 -/* 8034B154 003480B4 90 7E 00 00 */ stw r3, 0(r30) -/* 8034B158 003480B8 38 1F 00 08 */ addi r0, r31, 8 -/* 8034B15C 003480BC 90 1E 00 04 */ stw r0, 4(r30) -/* 8034B160 003480C0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8034B164 003480C4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8034B168 003480C8 83 C1 00 08 */ lwz r30, 8(r1) -/* 8034B16C 003480CC 7C 08 03 A6 */ mtlr r0 -/* 8034B170 003480D0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8034B174 003480D4 4E 80 00 20 */ blr - -.global sub_8034b178 -sub_8034b178: -/* 8034B178 003480D8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8034B17C 003480DC 7C 08 02 A6 */ mflr r0 -/* 8034B180 003480E0 90 01 00 24 */ stw r0, 0x24(r1) -/* 8034B184 003480E4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8034B188 003480E8 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8034B18C 003480EC 3B C0 00 00 */ li r30, 0 -/* 8034B190 003480F0 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8034B194 003480F4 7C 9D 23 78 */ mr r29, r4 -/* 8034B198 003480F8 93 81 00 10 */ stw r28, 0x10(r1) -/* 8034B19C 003480FC 7C 7C 1B 78 */ mr r28, r3 -/* 8034B1A0 00348100 83 E3 00 10 */ lwz r31, 0x10(r3) -/* 8034B1A4 00348104 48 00 00 2C */ b lbl_8034B1D0 -lbl_8034B1A8: -/* 8034B1A8 00348108 7F A5 EB 78 */ mr r5, r29 -/* 8034B1AC 0034810C 38 7C 00 01 */ addi r3, r28, 1 -/* 8034B1B0 00348110 38 9F 00 10 */ addi r4, r31, 0x10 -/* 8034B1B4 00348114 4B CD F5 75 */ bl "__cl__Q24rstl140select1st,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>>CFRCQ24rstl119pair,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>" -/* 8034B1B8 00348118 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8034B1BC 0034811C 40 82 00 10 */ bne lbl_8034B1CC -/* 8034B1C0 00348120 7F FE FB 78 */ mr r30, r31 -/* 8034B1C4 00348124 83 FF 00 00 */ lwz r31, 0(r31) -/* 8034B1C8 00348128 48 00 00 08 */ b lbl_8034B1D0 -lbl_8034B1CC: -/* 8034B1CC 0034812C 83 FF 00 04 */ lwz r31, 4(r31) -lbl_8034B1D0: -/* 8034B1D0 00348130 28 1F 00 00 */ cmplwi r31, 0 -/* 8034B1D4 00348134 40 82 FF D4 */ bne lbl_8034B1A8 -/* 8034B1D8 00348138 28 1E 00 00 */ cmplwi r30, 0 -/* 8034B1DC 0034813C 3B E0 00 00 */ li r31, 0 -/* 8034B1E0 00348140 41 82 00 1C */ beq lbl_8034B1FC -/* 8034B1E4 00348144 7F A4 EB 78 */ mr r4, r29 -/* 8034B1E8 00348148 38 7C 00 01 */ addi r3, r28, 1 -/* 8034B1EC 0034814C 38 BE 00 10 */ addi r5, r30, 0x10 -/* 8034B1F0 00348150 4B CD F5 39 */ bl "__cl__Q24rstl140select1st,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>>CFRCQ24rstl119pair,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>" -/* 8034B1F4 00348154 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8034B1F8 00348158 41 82 00 08 */ beq lbl_8034B200 -lbl_8034B1FC: -/* 8034B1FC 0034815C 3B E0 00 01 */ li r31, 1 -lbl_8034B200: -/* 8034B200 00348160 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 8034B204 00348164 41 82 00 0C */ beq lbl_8034B210 -/* 8034B208 00348168 38 60 00 00 */ li r3, 0 -/* 8034B20C 0034816C 48 00 00 08 */ b lbl_8034B214 -lbl_8034B210: -/* 8034B210 00348170 7F C3 F3 78 */ mr r3, r30 -lbl_8034B214: -/* 8034B214 00348174 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8034B218 00348178 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8034B21C 0034817C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8034B220 00348180 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8034B224 00348184 83 81 00 10 */ lwz r28, 0x10(r1) -/* 8034B228 00348188 7C 08 03 A6 */ mtlr r0 -/* 8034B22C 0034818C 38 21 00 20 */ addi r1, r1, 0x20 -/* 8034B230 00348190 4E 80 00 20 */ blr - -.global TrkNextTrack__9CAudioSysFv -TrkNextTrack__9CAudioSysFv: -/* 8034B234 00348194 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034B238 00348198 7C 08 02 A6 */ mflr r0 -/* 8034B23C 0034819C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8034B240 003481A0 48 06 CB 41 */ bl DTKNextTrack -/* 8034B244 003481A4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8034B248 003481A8 7C 08 03 A6 */ mtlr r0 -/* 8034B24C 003481AC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8034B250 003481B0 4E 80 00 20 */ blr - -.global TrkSetVolume__9CAudioSysFUcUc -TrkSetVolume__9CAudioSysFUcUc: -/* 8034B254 003481B4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034B258 003481B8 7C 08 02 A6 */ mflr r0 -/* 8034B25C 003481BC 54 63 06 3E */ clrlwi r3, r3, 0x18 -/* 8034B260 003481C0 54 84 06 3E */ clrlwi r4, r4, 0x18 -/* 8034B264 003481C4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8034B268 003481C8 48 06 CB C5 */ bl DTKSetVolume -/* 8034B26C 003481CC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8034B270 003481D0 7C 08 03 A6 */ mtlr r0 -/* 8034B274 003481D4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8034B278 003481D8 4E 80 00 20 */ blr - -.global TrkGetState__9CAudioSysFv -TrkGetState__9CAudioSysFv: -/* 8034B27C 003481DC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034B280 003481E0 7C 08 02 A6 */ mflr r0 -/* 8034B284 003481E4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8034B288 003481E8 48 06 CB 9D */ bl DTKGetState -/* 8034B28C 003481EC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8034B290 003481F0 7C 08 03 A6 */ mtlr r0 -/* 8034B294 003481F4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8034B298 003481F8 4E 80 00 20 */ blr - -.global TrkSetState__9CAudioSysF13ETRKPlayState -TrkSetState__9CAudioSysF13ETRKPlayState: -/* 8034B29C 003481FC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034B2A0 00348200 7C 08 02 A6 */ mflr r0 -/* 8034B2A4 00348204 90 01 00 14 */ stw r0, 0x14(r1) -/* 8034B2A8 00348208 48 06 C8 F9 */ bl DTKSetState -/* 8034B2AC 0034820C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8034B2B0 00348210 7C 08 03 A6 */ mtlr r0 -/* 8034B2B4 00348214 38 21 00 10 */ addi r1, r1, 0x10 -/* 8034B2B8 00348218 4E 80 00 20 */ blr - -.global TrkSetRepeatMode__9CAudioSysF14ETRKRepeatMode -TrkSetRepeatMode__9CAudioSysF14ETRKRepeatMode: -/* 8034B2BC 0034821C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034B2C0 00348220 7C 08 02 A6 */ mflr r0 -/* 8034B2C4 00348224 90 01 00 14 */ stw r0, 0x14(r1) -/* 8034B2C8 00348228 48 06 C8 D1 */ bl DTKSetRepeatMode -/* 8034B2CC 0034822C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8034B2D0 00348230 7C 08 03 A6 */ mtlr r0 -/* 8034B2D4 00348234 38 21 00 10 */ addi r1, r1, 0x10 -/* 8034B2D8 00348238 4E 80 00 20 */ blr - -.global TrkSetSampleRate__9CAudioSysF14ETRKSampleRate -TrkSetSampleRate__9CAudioSysF14ETRKSampleRate: -/* 8034B2DC 0034823C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034B2E0 00348240 7C 08 02 A6 */ mflr r0 -/* 8034B2E4 00348244 90 01 00 14 */ stw r0, 0x14(r1) -/* 8034B2E8 00348248 48 06 C8 AD */ bl DTKSetSampleRate -/* 8034B2EC 0034824C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8034B2F0 00348250 7C 08 03 A6 */ mtlr r0 -/* 8034B2F4 00348254 38 21 00 10 */ addi r1, r1, 0x10 -/* 8034B2F8 00348258 4E 80 00 20 */ blr - -.global TrkFlushTracks__9CAudioSysFv -TrkFlushTracks__9CAudioSysFv: -/* 8034B2FC 0034825C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034B300 00348260 7C 08 02 A6 */ mflr r0 -/* 8034B304 00348264 90 01 00 14 */ stw r0, 0x14(r1) -/* 8034B308 00348268 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8034B30C 0034826C 80 6D A9 DC */ lwz r3, lbl_805A959C@sda21(r13) -/* 8034B310 00348270 80 03 00 04 */ lwz r0, 4(r3) -/* 8034B314 00348274 2C 00 00 00 */ cmpwi r0, 0 -/* 8034B318 00348278 40 81 00 38 */ ble lbl_8034B350 -/* 8034B31C 0034827C 38 60 00 00 */ li r3, 0 -/* 8034B320 00348280 48 06 C8 11 */ bl DTKFlushTracks -/* 8034B324 00348284 83 ED A9 DC */ lwz r31, lbl_805A959C@sda21(r13) -/* 8034B328 00348288 80 9F 00 10 */ lwz r4, 0x10(r31) -/* 8034B32C 0034828C 28 04 00 00 */ cmplwi r4, 0 -/* 8034B330 00348290 41 82 00 0C */ beq lbl_8034B33C -/* 8034B334 00348294 7F E3 FB 78 */ mr r3, r31 -/* 8034B338 00348298 48 00 16 FD */ bl sub_8034ca34 -lbl_8034B33C: -/* 8034B33C 0034829C 38 00 00 00 */ li r0, 0 -/* 8034B340 003482A0 90 1F 00 10 */ stw r0, 0x10(r31) -/* 8034B344 003482A4 90 1F 00 08 */ stw r0, 8(r31) -/* 8034B348 003482A8 90 1F 00 0C */ stw r0, 0xc(r31) -/* 8034B34C 003482AC 90 1F 00 04 */ stw r0, 4(r31) -lbl_8034B350: -/* 8034B350 003482B0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8034B354 003482B4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8034B358 003482B8 7C 08 03 A6 */ mtlr r0 -/* 8034B35C 003482BC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8034B360 003482C0 4E 80 00 20 */ blr - -.global "TrkQueueTrack__9CAudioSysFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>PFUl_vUi" -"TrkQueueTrack__9CAudioSysFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>PFUl_vUi": -/* 8034B364 003482C4 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 8034B368 003482C8 7C 08 02 A6 */ mflr r0 -/* 8034B36C 003482CC 90 01 00 54 */ stw r0, 0x54(r1) -/* 8034B370 003482D0 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 8034B374 003482D4 7C BF 2B 78 */ mr r31, r5 -/* 8034B378 003482D8 93 C1 00 48 */ stw r30, 0x48(r1) -/* 8034B37C 003482DC 7C 9E 23 78 */ mr r30, r4 -/* 8034B380 003482E0 93 A1 00 44 */ stw r29, 0x44(r1) -/* 8034B384 003482E4 93 81 00 40 */ stw r28, 0x40(r1) -/* 8034B388 003482E8 7C 7C 1B 78 */ mr r28, r3 -lbl_8034B38C: -/* 8034B38C 003482EC 4B FF FE F1 */ bl TrkGetState__9CAudioSysFv -/* 8034B390 003482F0 2C 03 00 03 */ cmpwi r3, 3 -/* 8034B394 003482F4 41 82 FF F8 */ beq lbl_8034B38C -/* 8034B398 003482F8 7F 84 E3 78 */ mr r4, r28 -/* 8034B39C 003482FC 38 61 00 08 */ addi r3, r1, 8 -/* 8034B3A0 00348300 4B FF FC BD */ bl "FindTrack__9CAudioSysFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8034B3A4 00348304 80 A1 00 08 */ lwz r5, 8(r1) -/* 8034B3A8 00348308 38 61 00 08 */ addi r3, r1, 8 -/* 8034B3AC 0034830C 90 A1 00 10 */ stw r5, 0x10(r1) -/* 8034B3B0 00348310 80 85 00 04 */ lwz r4, 4(r5) -/* 8034B3B4 00348314 38 04 00 01 */ addi r0, r4, 1 -/* 8034B3B8 00348318 90 05 00 04 */ stw r0, 4(r5) -/* 8034B3BC 0034831C 48 00 20 49 */ bl sub_8034d404 -/* 8034B3C0 00348320 80 61 00 10 */ lwz r3, 0x10(r1) -/* 8034B3C4 00348324 80 63 00 00 */ lwz r3, 0(r3) -/* 8034B3C8 00348328 28 03 00 00 */ cmplwi r3, 0 -/* 8034B3CC 0034832C 40 82 00 E8 */ bne lbl_8034B4B4 -/* 8034B3D0 00348330 3C 80 80 3E */ lis r4, lbl_803D8210@ha -/* 8034B3D4 00348334 38 60 00 64 */ li r3, 0x64 -/* 8034B3D8 00348338 38 84 82 10 */ addi r4, r4, lbl_803D8210@l -/* 8034B3DC 0034833C 38 A0 00 00 */ li r5, 0 -/* 8034B3E0 00348340 4B FC A4 8D */ bl __nw__FUlPCcPCc -/* 8034B3E4 00348344 7C 7D 1B 79 */ or. r29, r3, r3 -/* 8034B3E8 00348348 41 82 00 18 */ beq lbl_8034B400 -/* 8034B3EC 0034834C 38 00 00 01 */ li r0, 1 -/* 8034B3F0 00348350 7F 84 E3 78 */ mr r4, r28 -/* 8034B3F4 00348354 98 1D 00 50 */ stb r0, 0x50(r29) -/* 8034B3F8 00348358 38 7D 00 54 */ addi r3, r29, 0x54 -/* 8034B3FC 0034835C 4B FF 2D 65 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -lbl_8034B400: -/* 8034B400 00348360 3C 80 80 3E */ lis r4, lbl_803D8210@ha -/* 8034B404 00348364 38 60 00 08 */ li r3, 8 -/* 8034B408 00348368 38 84 82 10 */ addi r4, r4, lbl_803D8210@l -/* 8034B40C 0034836C 38 A0 00 00 */ li r5, 0 -/* 8034B410 00348370 4B FC A4 5D */ bl __nw__FUlPCcPCc -/* 8034B414 00348374 28 03 00 00 */ cmplwi r3, 0 -/* 8034B418 00348378 41 82 00 10 */ beq lbl_8034B428 -/* 8034B41C 0034837C 93 A3 00 00 */ stw r29, 0(r3) -/* 8034B420 00348380 38 00 00 01 */ li r0, 1 -/* 8034B424 00348384 90 03 00 04 */ stw r0, 4(r3) -lbl_8034B428: -/* 8034B428 00348388 90 61 00 0C */ stw r3, 0xc(r1) -/* 8034B42C 0034838C 7F 84 E3 78 */ mr r4, r28 -/* 8034B430 00348390 38 61 00 20 */ addi r3, r1, 0x20 -/* 8034B434 00348394 4B FF 2D 2D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8034B438 00348398 80 A1 00 0C */ lwz r5, 0xc(r1) -/* 8034B43C 0034839C 3B A1 00 30 */ addi r29, r1, 0x30 -/* 8034B440 003483A0 38 61 00 14 */ addi r3, r1, 0x14 -/* 8034B444 003483A4 38 C1 00 20 */ addi r6, r1, 0x20 -/* 8034B448 003483A8 90 A1 00 30 */ stw r5, 0x30(r1) -/* 8034B44C 003483AC 80 85 00 04 */ lwz r4, 4(r5) -/* 8034B450 003483B0 38 04 00 01 */ addi r0, r4, 1 -/* 8034B454 003483B4 90 05 00 04 */ stw r0, 4(r5) -/* 8034B458 003483B8 80 8D A9 DC */ lwz r4, lbl_805A959C@sda21(r13) -/* 8034B45C 003483BC 80 A4 00 10 */ lwz r5, 0x10(r4) -/* 8034B460 003483C0 48 00 1D 25 */ bl sub_8034d184 -/* 8034B464 003483C4 28 1D 00 00 */ cmplwi r29, 0 -/* 8034B468 003483C8 41 82 00 10 */ beq lbl_8034B478 -/* 8034B46C 003483CC 41 82 00 0C */ beq lbl_8034B478 -/* 8034B470 003483D0 7F A3 EB 78 */ mr r3, r29 -/* 8034B474 003483D4 48 00 1F 91 */ bl sub_8034d404 -lbl_8034B478: -/* 8034B478 003483D8 38 61 00 20 */ addi r3, r1, 0x20 -/* 8034B47C 003483DC 4B FF 26 65 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8034B480 003483E0 80 61 00 0C */ lwz r3, 0xc(r1) -/* 8034B484 003483E4 7F E5 FB 78 */ mr r5, r31 -/* 8034B488 003483E8 7F C6 F3 78 */ mr r6, r30 -/* 8034B48C 003483EC 80 83 00 00 */ lwz r4, 0(r3) -/* 8034B490 003483F0 80 64 00 54 */ lwz r3, 0x54(r4) -/* 8034B494 003483F4 48 06 C5 81 */ bl sub_803b7a14 -/* 8034B498 003483F8 7C 7D 1B 78 */ mr r29, r3 -/* 8034B49C 003483FC 38 61 00 0C */ addi r3, r1, 0xc -/* 8034B4A0 00348400 48 00 1F 65 */ bl sub_8034d404 -/* 8034B4A4 00348404 38 61 00 10 */ addi r3, r1, 0x10 -/* 8034B4A8 00348408 48 00 1F 5D */ bl sub_8034d404 -/* 8034B4AC 0034840C 7F A3 EB 78 */ mr r3, r29 -/* 8034B4B0 00348410 48 00 00 50 */ b lbl_8034B500 -lbl_8034B4B4: -/* 8034B4B4 00348414 88 03 00 50 */ lbz r0, 0x50(r3) -/* 8034B4B8 00348418 28 00 00 00 */ cmplwi r0, 0 -/* 8034B4BC 0034841C 40 82 00 38 */ bne lbl_8034B4F4 -/* 8034B4C0 00348420 38 00 00 01 */ li r0, 1 -/* 8034B4C4 00348424 7F E5 FB 78 */ mr r5, r31 -/* 8034B4C8 00348428 98 03 00 50 */ stb r0, 0x50(r3) -/* 8034B4CC 0034842C 7F C6 F3 78 */ mr r6, r30 -/* 8034B4D0 00348430 80 61 00 10 */ lwz r3, 0x10(r1) -/* 8034B4D4 00348434 80 83 00 00 */ lwz r4, 0(r3) -/* 8034B4D8 00348438 80 64 00 54 */ lwz r3, 0x54(r4) -/* 8034B4DC 0034843C 48 06 C5 39 */ bl sub_803b7a14 -/* 8034B4E0 00348440 7C 7D 1B 78 */ mr r29, r3 -/* 8034B4E4 00348444 38 61 00 10 */ addi r3, r1, 0x10 -/* 8034B4E8 00348448 48 00 1F 1D */ bl sub_8034d404 -/* 8034B4EC 0034844C 7F A3 EB 78 */ mr r3, r29 -/* 8034B4F0 00348450 48 00 00 10 */ b lbl_8034B500 -lbl_8034B4F4: -/* 8034B4F4 00348454 38 61 00 10 */ addi r3, r1, 0x10 -/* 8034B4F8 00348458 48 00 1F 0D */ bl sub_8034d404 -/* 8034B4FC 0034845C 38 60 13 88 */ li r3, 0x1388 -lbl_8034B500: -/* 8034B500 00348460 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8034B504 00348464 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 8034B508 00348468 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 8034B50C 0034846C 83 A1 00 44 */ lwz r29, 0x44(r1) -/* 8034B510 00348470 83 81 00 40 */ lwz r28, 0x40(r1) -/* 8034B514 00348474 7C 08 03 A6 */ mtlr r0 -/* 8034B518 00348478 38 21 00 50 */ addi r1, r1, 0x50 -/* 8034B51C 0034847C 4E 80 00 20 */ blr - -.global SfxCtrl__9CAudioSysFUlUcUc -SfxCtrl__9CAudioSysFUlUcUc: -/* 8034B520 00348480 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034B524 00348484 7C 08 02 A6 */ mflr r0 -/* 8034B528 00348488 90 01 00 14 */ stw r0, 0x14(r1) -/* 8034B52C 0034848C 48 05 0C 65 */ bl sndFXCtrl -/* 8034B530 00348490 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8034B534 00348494 7C 08 03 A6 */ mtlr r0 -/* 8034B538 00348498 38 21 00 10 */ addi r1, r1, 0x10 -/* 8034B53C 0034849C 4E 80 00 20 */ blr - -.global SfxPitchBend__9CAudioSysFUlUs -SfxPitchBend__9CAudioSysFUlUs: -/* 8034B540 003484A0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034B544 003484A4 7C 08 02 A6 */ mflr r0 -/* 8034B548 003484A8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8034B54C 003484AC 7C 80 23 78 */ mr r0, r4 -/* 8034B550 003484B0 38 80 00 80 */ li r4, 0x80 -/* 8034B554 003484B4 54 05 04 3E */ clrlwi r5, r0, 0x10 -/* 8034B558 003484B8 48 05 0C 99 */ bl sndFXCtrl14 -/* 8034B55C 003484BC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8034B560 003484C0 7C 08 03 A6 */ mtlr r0 -/* 8034B564 003484C4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8034B568 003484C8 4E 80 00 20 */ blr - -.global SfxVolume__9CAudioSysFUlUc -SfxVolume__9CAudioSysFUlUc: -/* 8034B56C 003484CC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034B570 003484D0 7C 08 02 A6 */ mflr r0 -/* 8034B574 003484D4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8034B578 003484D8 7C 80 23 78 */ mr r0, r4 -/* 8034B57C 003484DC 38 80 00 07 */ li r4, 7 -/* 8034B580 003484E0 54 05 06 3E */ clrlwi r5, r0, 0x18 -/* 8034B584 003484E4 48 05 0C 0D */ bl sndFXCtrl -/* 8034B588 003484E8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8034B58C 003484EC 7C 08 03 A6 */ mtlr r0 -/* 8034B590 003484F0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8034B594 003484F4 4E 80 00 20 */ blr - -.global SfxSpan__9CAudioSysFUlUc -SfxSpan__9CAudioSysFUlUc: -/* 8034B598 003484F8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034B59C 003484FC 7C 08 02 A6 */ mflr r0 -/* 8034B5A0 00348500 90 01 00 14 */ stw r0, 0x14(r1) -/* 8034B5A4 00348504 7C 80 23 78 */ mr r0, r4 -/* 8034B5A8 00348508 38 80 00 83 */ li r4, 0x83 -/* 8034B5AC 0034850C 54 05 06 3E */ clrlwi r5, r0, 0x18 -/* 8034B5B0 00348510 48 05 0B E1 */ bl sndFXCtrl -/* 8034B5B4 00348514 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8034B5B8 00348518 7C 08 03 A6 */ mtlr r0 -/* 8034B5BC 0034851C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8034B5C0 00348520 4E 80 00 20 */ blr - -.global SfxCheck__9CAudioSysFUl -SfxCheck__9CAudioSysFUl: -/* 8034B5C4 00348524 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034B5C8 00348528 7C 08 02 A6 */ mflr r0 -/* 8034B5CC 0034852C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8034B5D0 00348530 48 05 0D 45 */ bl sndFXCheck -/* 8034B5D4 00348534 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8034B5D8 00348538 7C 08 03 A6 */ mtlr r0 -/* 8034B5DC 0034853C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8034B5E0 00348540 4E 80 00 20 */ blr - -.global SfxStop__9CAudioSysFUl -SfxStop__9CAudioSysFUl: -/* 8034B5E4 00348544 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034B5E8 00348548 7C 08 02 A6 */ mflr r0 -/* 8034B5EC 0034854C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8034B5F0 00348550 48 05 0C 61 */ bl sndFXKeyOff -/* 8034B5F4 00348554 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8034B5F8 00348558 7C 08 03 A6 */ mtlr r0 -/* 8034B5FC 0034855C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8034B600 00348560 4E 80 00 20 */ blr - -.global SfxStart__9CAudioSysFUsUcUcUc -SfxStart__9CAudioSysFUsUcUcUc: -/* 8034B604 00348564 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034B608 00348568 7C 08 02 A6 */ mflr r0 -/* 8034B60C 0034856C 54 63 04 3E */ clrlwi r3, r3, 0x10 -/* 8034B610 00348570 90 01 00 14 */ stw r0, 0x14(r1) -/* 8034B614 00348574 54 80 06 3E */ clrlwi r0, r4, 0x18 -/* 8034B618 00348578 28 00 00 7F */ cmplwi r0, 0x7f -/* 8034B61C 0034857C 38 80 00 7F */ li r4, 0x7f -/* 8034B620 00348580 A8 ED 9D DA */ lha r7, lbl_805A899A@sda21(r13) -/* 8034B624 00348584 41 81 00 08 */ bgt lbl_8034B62C -/* 8034B628 00348588 7C 04 03 78 */ mr r4, r0 -lbl_8034B62C: -/* 8034B62C 0034858C 7C 07 21 D6 */ mullw r0, r7, r4 -/* 8034B630 00348590 3C 80 81 02 */ lis r4, 0x81020409@ha -/* 8034B634 00348594 54 A5 06 3E */ clrlwi r5, r5, 0x18 -/* 8034B638 00348598 38 84 04 09 */ addi r4, r4, 0x81020409@l -/* 8034B63C 0034859C 54 C6 06 3E */ clrlwi r6, r6, 0x18 -/* 8034B640 003485A0 7C 84 00 96 */ mulhw r4, r4, r0 -/* 8034B644 003485A4 7C 04 02 14 */ add r0, r4, r0 -/* 8034B648 003485A8 7C 00 36 70 */ srawi r0, r0, 6 -/* 8034B64C 003485AC 54 04 0F FE */ srwi r4, r0, 0x1f -/* 8034B650 003485B0 7C 00 22 14 */ add r0, r0, r4 -/* 8034B654 003485B4 54 04 06 3E */ clrlwi r4, r0, 0x18 -/* 8034B658 003485B8 48 05 0C 39 */ bl sndFXStartEx -/* 8034B65C 003485BC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8034B660 003485C0 7C 08 03 A6 */ mtlr r0 -/* 8034B664 003485C4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8034B668 003485C8 4E 80 00 20 */ blr - -.global "FindGroupSet__9CAudioSysFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -"FindGroupSet__9CAudioSysFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": -/* 8034B66C 003485CC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8034B670 003485D0 7C 08 02 A6 */ mflr r0 -/* 8034B674 003485D4 7C 85 23 78 */ mr r5, r4 -/* 8034B678 003485D8 90 01 00 24 */ stw r0, 0x24(r1) -/* 8034B67C 003485DC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8034B680 003485E0 7C 7F 1B 78 */ mr r31, r3 -/* 8034B684 003485E4 80 CD A9 D4 */ lwz r6, lbl_805A9594@sda21(r13) -/* 8034B688 003485E8 80 06 00 04 */ lwz r0, 4(r6) -/* 8034B68C 003485EC 2C 00 00 00 */ cmpwi r0, 0 -/* 8034B690 003485F0 41 81 00 20 */ bgt lbl_8034B6B0 -/* 8034B694 003485F4 38 0D A9 28 */ addi r0, r13, lbl_805A94E8@sda21 -/* 8034B698 003485F8 90 1F 00 00 */ stw r0, 0(r31) -/* 8034B69C 003485FC 80 9F 00 00 */ lwz r4, 0(r31) -/* 8034B6A0 00348600 80 64 00 04 */ lwz r3, 4(r4) -/* 8034B6A4 00348604 38 03 00 01 */ addi r0, r3, 1 -/* 8034B6A8 00348608 90 04 00 04 */ stw r0, 4(r4) -/* 8034B6AC 0034860C 48 00 00 7C */ b lbl_8034B728 -lbl_8034B6B0: -/* 8034B6B0 00348610 7C C4 33 78 */ mr r4, r6 -/* 8034B6B4 00348614 38 61 00 10 */ addi r3, r1, 0x10 -/* 8034B6B8 00348618 48 00 00 85 */ bl sub_8034b73c -/* 8034B6BC 0034861C 80 6D A9 D4 */ lwz r3, lbl_805A9594@sda21(r13) -/* 8034B6C0 00348620 38 80 00 00 */ li r4, 0 -/* 8034B6C4 00348624 80 A1 00 10 */ lwz r5, 0x10(r1) -/* 8034B6C8 00348628 38 03 00 08 */ addi r0, r3, 8 -/* 8034B6CC 0034862C 90 81 00 08 */ stw r4, 8(r1) -/* 8034B6D0 00348630 7C 05 20 40 */ cmplw r5, r4 -/* 8034B6D4 00348634 80 61 00 14 */ lwz r3, 0x14(r1) -/* 8034B6D8 00348638 90 01 00 0C */ stw r0, 0xc(r1) -/* 8034B6DC 0034863C 40 82 00 0C */ bne lbl_8034B6E8 -/* 8034B6E0 00348640 7C 03 00 40 */ cmplw r3, r0 -/* 8034B6E4 00348644 41 82 00 08 */ beq lbl_8034B6EC -lbl_8034B6E8: -/* 8034B6E8 00348648 38 80 00 01 */ li r4, 1 -lbl_8034B6EC: -/* 8034B6EC 0034864C 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 8034B6F0 00348650 41 82 00 20 */ beq lbl_8034B710 -/* 8034B6F4 00348654 80 05 00 20 */ lwz r0, 0x20(r5) -/* 8034B6F8 00348658 90 1F 00 00 */ stw r0, 0(r31) -/* 8034B6FC 0034865C 80 9F 00 00 */ lwz r4, 0(r31) -/* 8034B700 00348660 80 64 00 04 */ lwz r3, 4(r4) -/* 8034B704 00348664 38 03 00 01 */ addi r0, r3, 1 -/* 8034B708 00348668 90 04 00 04 */ stw r0, 4(r4) -/* 8034B70C 0034866C 48 00 00 1C */ b lbl_8034B728 -lbl_8034B710: -/* 8034B710 00348670 38 0D A9 28 */ addi r0, r13, lbl_805A94E8@sda21 -/* 8034B714 00348674 90 1F 00 00 */ stw r0, 0(r31) -/* 8034B718 00348678 80 9F 00 00 */ lwz r4, 0(r31) -/* 8034B71C 0034867C 80 64 00 04 */ lwz r3, 4(r4) -/* 8034B720 00348680 38 03 00 01 */ addi r0, r3, 1 -/* 8034B724 00348684 90 04 00 04 */ stw r0, 4(r4) -lbl_8034B728: -/* 8034B728 00348688 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8034B72C 0034868C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8034B730 00348690 7C 08 03 A6 */ mtlr r0 -/* 8034B734 00348694 38 21 00 20 */ addi r1, r1, 0x20 -/* 8034B738 00348698 4E 80 00 20 */ blr - -.global sub_8034b73c -sub_8034b73c: -/* 8034B73C 0034869C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034B740 003486A0 7C 08 02 A6 */ mflr r0 -/* 8034B744 003486A4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8034B748 003486A8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8034B74C 003486AC 7C 9F 23 78 */ mr r31, r4 -/* 8034B750 003486B0 7C A4 2B 78 */ mr r4, r5 -/* 8034B754 003486B4 93 C1 00 08 */ stw r30, 8(r1) -/* 8034B758 003486B8 7C 7E 1B 78 */ mr r30, r3 -/* 8034B75C 003486BC 7F E3 FB 78 */ mr r3, r31 -/* 8034B760 003486C0 48 00 00 29 */ bl sub_8034b788 -/* 8034B764 003486C4 90 7E 00 00 */ stw r3, 0(r30) -/* 8034B768 003486C8 38 1F 00 08 */ addi r0, r31, 8 -/* 8034B76C 003486CC 90 1E 00 04 */ stw r0, 4(r30) -/* 8034B770 003486D0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8034B774 003486D4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8034B778 003486D8 83 C1 00 08 */ lwz r30, 8(r1) -/* 8034B77C 003486DC 7C 08 03 A6 */ mtlr r0 -/* 8034B780 003486E0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8034B784 003486E4 4E 80 00 20 */ blr - -.global sub_8034b788 -sub_8034b788: -/* 8034B788 003486E8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8034B78C 003486EC 7C 08 02 A6 */ mflr r0 -/* 8034B790 003486F0 90 01 00 24 */ stw r0, 0x24(r1) -/* 8034B794 003486F4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8034B798 003486F8 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8034B79C 003486FC 3B C0 00 00 */ li r30, 0 -/* 8034B7A0 00348700 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8034B7A4 00348704 7C 9D 23 78 */ mr r29, r4 -/* 8034B7A8 00348708 93 81 00 10 */ stw r28, 0x10(r1) -/* 8034B7AC 0034870C 7C 7C 1B 78 */ mr r28, r3 -/* 8034B7B0 00348710 83 E3 00 10 */ lwz r31, 0x10(r3) -/* 8034B7B4 00348714 48 00 00 2C */ b lbl_8034B7E0 -lbl_8034B7B8: -/* 8034B7B8 00348718 7F A5 EB 78 */ mr r5, r29 -/* 8034B7BC 0034871C 38 7C 00 01 */ addi r3, r28, 1 -/* 8034B7C0 00348720 38 9F 00 10 */ addi r4, r31, 0x10 -/* 8034B7C4 00348724 4B CD EF 65 */ bl "__cl__Q24rstl140select1st,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>>CFRCQ24rstl119pair,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>" -/* 8034B7C8 00348728 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8034B7CC 0034872C 40 82 00 10 */ bne lbl_8034B7DC -/* 8034B7D0 00348730 7F FE FB 78 */ mr r30, r31 -/* 8034B7D4 00348734 83 FF 00 00 */ lwz r31, 0(r31) -/* 8034B7D8 00348738 48 00 00 08 */ b lbl_8034B7E0 -lbl_8034B7DC: -/* 8034B7DC 0034873C 83 FF 00 04 */ lwz r31, 4(r31) -lbl_8034B7E0: -/* 8034B7E0 00348740 28 1F 00 00 */ cmplwi r31, 0 -/* 8034B7E4 00348744 40 82 FF D4 */ bne lbl_8034B7B8 -/* 8034B7E8 00348748 28 1E 00 00 */ cmplwi r30, 0 -/* 8034B7EC 0034874C 3B E0 00 00 */ li r31, 0 -/* 8034B7F0 00348750 41 82 00 1C */ beq lbl_8034B80C -/* 8034B7F4 00348754 7F A4 EB 78 */ mr r4, r29 -/* 8034B7F8 00348758 38 7C 00 01 */ addi r3, r28, 1 -/* 8034B7FC 0034875C 38 BE 00 10 */ addi r5, r30, 0x10 -/* 8034B800 00348760 4B CD EF 29 */ bl "__cl__Q24rstl140select1st,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>>CFRCQ24rstl119pair,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>" -/* 8034B804 00348764 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8034B808 00348768 41 82 00 08 */ beq lbl_8034B810 -lbl_8034B80C: -/* 8034B80C 0034876C 3B E0 00 01 */ li r31, 1 -lbl_8034B810: -/* 8034B810 00348770 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 8034B814 00348774 41 82 00 0C */ beq lbl_8034B820 -/* 8034B818 00348778 38 60 00 00 */ li r3, 0 -/* 8034B81C 0034877C 48 00 00 08 */ b lbl_8034B824 -lbl_8034B820: -/* 8034B820 00348780 7F C3 F3 78 */ mr r3, r30 -lbl_8034B824: -/* 8034B824 00348784 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8034B828 00348788 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8034B82C 0034878C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8034B830 00348790 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8034B834 00348794 83 81 00 10 */ lwz r28, 0x10(r1) -/* 8034B838 00348798 7C 08 03 A6 */ mtlr r0 -/* 8034B83C 0034879C 38 21 00 20 */ addi r1, r1, 0x20 -/* 8034B840 003487A0 4E 80 00 20 */ blr - -.global SysGetGroupSetName__9CAudioSysFUi -SysGetGroupSetName__9CAudioSysFUi: -/* 8034B844 003487A4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8034B848 003487A8 38 A0 00 00 */ li r5, 0 -/* 8034B84C 003487AC 80 CD A9 D8 */ lwz r6, lbl_805A9598@sda21(r13) -/* 8034B850 003487B0 80 86 00 10 */ lwz r4, 0x10(r6) -/* 8034B854 003487B4 48 00 00 20 */ b lbl_8034B874 -lbl_8034B858: -/* 8034B858 003487B8 80 04 00 10 */ lwz r0, 0x10(r4) -/* 8034B85C 003487BC 7C 00 18 40 */ cmplw r0, r3 -/* 8034B860 003487C0 41 80 00 10 */ blt lbl_8034B870 -/* 8034B864 003487C4 7C 85 23 78 */ mr r5, r4 -/* 8034B868 003487C8 80 84 00 00 */ lwz r4, 0(r4) -/* 8034B86C 003487CC 48 00 00 08 */ b lbl_8034B874 -lbl_8034B870: -/* 8034B870 003487D0 80 84 00 04 */ lwz r4, 4(r4) -lbl_8034B874: -/* 8034B874 003487D4 28 04 00 00 */ cmplwi r4, 0 -/* 8034B878 003487D8 40 82 FF E0 */ bne lbl_8034B858 -/* 8034B87C 003487DC 28 05 00 00 */ cmplwi r5, 0 -/* 8034B880 003487E0 38 80 00 00 */ li r4, 0 -/* 8034B884 003487E4 41 82 00 10 */ beq lbl_8034B894 -/* 8034B888 003487E8 80 05 00 10 */ lwz r0, 0x10(r5) -/* 8034B88C 003487EC 7C 03 00 40 */ cmplw r3, r0 -/* 8034B890 003487F0 40 80 00 08 */ bge lbl_8034B898 -lbl_8034B894: -/* 8034B894 003487F4 38 80 00 01 */ li r4, 1 -lbl_8034B898: -/* 8034B898 003487F8 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 8034B89C 003487FC 41 82 00 08 */ beq lbl_8034B8A4 -/* 8034B8A0 00348800 38 A0 00 00 */ li r5, 0 -lbl_8034B8A4: -/* 8034B8A4 00348804 38 00 00 00 */ li r0, 0 -/* 8034B8A8 00348808 38 66 00 08 */ addi r3, r6, 8 -/* 8034B8AC 0034880C 7C 05 00 40 */ cmplw r5, r0 -/* 8034B8B0 00348810 90 A1 00 10 */ stw r5, 0x10(r1) -/* 8034B8B4 00348814 90 61 00 14 */ stw r3, 0x14(r1) -/* 8034B8B8 00348818 90 01 00 08 */ stw r0, 8(r1) -/* 8034B8BC 0034881C 90 61 00 0C */ stw r3, 0xc(r1) -/* 8034B8C0 00348820 40 82 00 0C */ bne lbl_8034B8CC -/* 8034B8C4 00348824 7C 03 18 40 */ cmplw r3, r3 -/* 8034B8C8 00348828 41 82 00 08 */ beq lbl_8034B8D0 -lbl_8034B8CC: -/* 8034B8CC 0034882C 38 00 00 01 */ li r0, 1 -lbl_8034B8D0: -/* 8034B8D0 00348830 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 8034B8D4 00348834 41 82 00 0C */ beq lbl_8034B8E0 -/* 8034B8D8 00348838 38 65 00 14 */ addi r3, r5, 0x14 -/* 8034B8DC 0034883C 48 00 00 0C */ b lbl_8034B8E8 -lbl_8034B8E0: -/* 8034B8E0 00348840 3C 60 80 5A */ lis r3, lbl_805A67CC@ha -/* 8034B8E4 00348844 38 63 67 CC */ addi r3, r3, lbl_805A67CC@l -lbl_8034B8E8: -/* 8034B8E8 00348848 38 21 00 20 */ addi r1, r1, 0x20 -/* 8034B8EC 0034884C 4E 80 00 20 */ blr - -.global SysPopGroupFromARAM__9CAudioSysFv -SysPopGroupFromARAM__9CAudioSysFv: -/* 8034B8F0 00348850 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034B8F4 00348854 7C 08 02 A6 */ mflr r0 -/* 8034B8F8 00348858 90 01 00 14 */ stw r0, 0x14(r1) -/* 8034B8FC 0034885C 48 05 EE 5D */ bl sndPopGroup -/* 8034B900 00348860 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8034B904 00348864 7C 08 03 A6 */ mtlr r0 -/* 8034B908 00348868 38 21 00 10 */ addi r1, r1, 0x10 -/* 8034B90C 0034886C 4E 80 00 20 */ blr - -.global "SysPushGroupIntoARAM__9CAudioSysFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Uc" -"SysPushGroupIntoARAM__9CAudioSysFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Uc": -/* 8034B910 00348870 94 21 EF B0 */ stwu r1, -0x1050(r1) -/* 8034B914 00348874 7C 08 02 A6 */ mflr r0 -/* 8034B918 00348878 90 01 10 54 */ stw r0, 0x1054(r1) -/* 8034B91C 0034887C BF 61 10 3C */ stmw r27, 0x103c(r1) -/* 8034B920 00348880 7C 9B 23 78 */ mr r27, r4 -/* 8034B924 00348884 7C 64 1B 78 */ mr r4, r3 -/* 8034B928 00348888 38 61 00 08 */ addi r3, r1, 8 -/* 8034B92C 0034888C 4B FF FD 41 */ bl "FindGroupSet__9CAudioSysFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8034B930 00348890 80 A1 00 08 */ lwz r5, 8(r1) -/* 8034B934 00348894 38 61 00 08 */ addi r3, r1, 8 -/* 8034B938 00348898 90 A1 00 0C */ stw r5, 0xc(r1) -/* 8034B93C 0034889C 80 85 00 04 */ lwz r4, 4(r5) -/* 8034B940 003488A0 38 04 00 01 */ addi r0, r4, 1 -/* 8034B944 003488A4 90 05 00 04 */ stw r0, 4(r5) -/* 8034B948 003488A8 48 00 10 91 */ bl sub_8034c9d8 -/* 8034B94C 003488AC 80 61 00 0C */ lwz r3, 0xc(r1) -/* 8034B950 003488B0 80 63 00 00 */ lwz r3, 0(r3) -/* 8034B954 003488B4 28 03 00 00 */ cmplwi r3, 0 -/* 8034B958 003488B8 41 82 00 70 */ beq lbl_8034B9C8 -/* 8034B95C 003488BC 80 A3 00 28 */ lwz r5, 0x28(r3) -/* 8034B960 003488C0 38 01 00 2F */ addi r0, r1, 0x2f -/* 8034B964 003488C4 3C 60 80 35 */ lis r3, sub_8034b9e8@ha -/* 8034B968 003488C8 38 80 10 00 */ li r4, 0x1000 -/* 8034B96C 003488CC 83 E5 00 38 */ lwz r31, 0x38(r5) -/* 8034B970 003488D0 54 00 00 34 */ rlwinm r0, r0, 0, 0, 0x1a -/* 8034B974 003488D4 83 C5 00 40 */ lwz r30, 0x40(r5) -/* 8034B978 003488D8 38 63 B9 E8 */ addi r3, r3, sub_8034b9e8@l -/* 8034B97C 003488DC 83 A5 00 3C */ lwz r29, 0x3c(r5) -/* 8034B980 003488E0 83 85 00 34 */ lwz r28, 0x34(r5) -/* 8034B984 003488E4 90 0D A9 FC */ stw r0, lbl_805A95BC@sda21(r13) -/* 8034B988 003488E8 48 05 EA 85 */ bl sndSetSampleDataUploadCallback -/* 8034B98C 003488EC 7F E3 FB 78 */ mr r3, r31 -/* 8034B990 003488F0 7F C5 F3 78 */ mr r5, r30 -/* 8034B994 003488F4 7F A6 EB 78 */ mr r6, r29 -/* 8034B998 003488F8 7F 87 E3 78 */ mr r7, r28 -/* 8034B99C 003488FC 57 64 06 3E */ clrlwi r4, r27, 0x18 -/* 8034B9A0 00348900 48 05 EA 8D */ bl sndPushGroup -/* 8034B9A4 00348904 7C 7F 1B 78 */ mr r31, r3 -/* 8034B9A8 00348908 38 60 00 00 */ li r3, 0 -/* 8034B9AC 0034890C 38 80 00 00 */ li r4, 0 -/* 8034B9B0 00348910 48 05 EA 5D */ bl sndSetSampleDataUploadCallback -/* 8034B9B4 00348914 57 FF 06 3E */ clrlwi r31, r31, 0x18 -/* 8034B9B8 00348918 38 61 00 0C */ addi r3, r1, 0xc -/* 8034B9BC 0034891C 48 00 10 1D */ bl sub_8034c9d8 -/* 8034B9C0 00348920 7F E3 FB 78 */ mr r3, r31 -/* 8034B9C4 00348924 48 00 00 10 */ b lbl_8034B9D4 -lbl_8034B9C8: -/* 8034B9C8 00348928 38 61 00 0C */ addi r3, r1, 0xc -/* 8034B9CC 0034892C 48 00 10 0D */ bl sub_8034c9d8 -/* 8034B9D0 00348930 38 60 00 00 */ li r3, 0 -lbl_8034B9D4: -/* 8034B9D4 00348934 BB 61 10 3C */ lmw r27, 0x103c(r1) -/* 8034B9D8 00348938 80 01 10 54 */ lwz r0, 0x1054(r1) -/* 8034B9DC 0034893C 7C 08 03 A6 */ mtlr r0 -/* 8034B9E0 00348940 38 21 10 50 */ addi r1, r1, 0x1050 -/* 8034B9E4 00348944 4E 80 00 20 */ blr - -.global sub_8034b9e8 -sub_8034b9e8: -/* 8034B9E8 00348948 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8034B9EC 0034894C 7C 08 02 A6 */ mflr r0 -/* 8034B9F0 00348950 90 01 00 24 */ stw r0, 0x24(r1) -/* 8034B9F4 00348954 38 00 00 01 */ li r0, 1 -/* 8034B9F8 00348958 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8034B9FC 0034895C 7C 9F 23 78 */ mr r31, r4 -/* 8034BA00 00348960 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8034BA04 00348964 7C 7E 1B 78 */ mr r30, r3 -/* 8034BA08 00348968 98 01 00 08 */ stb r0, 8(r1) -/* 8034BA0C 0034896C 48 00 00 18 */ b lbl_8034BA24 -lbl_8034BA10: -/* 8034BA10 00348970 48 02 1E D9 */ bl ARGetDMAStatus -/* 8034BA14 00348974 7C 03 00 D0 */ neg r0, r3 -/* 8034BA18 00348978 7C 00 1B 78 */ or r0, r0, r3 -/* 8034BA1C 0034897C 54 00 0F FE */ srwi r0, r0, 0x1f -/* 8034BA20 00348980 98 01 00 08 */ stb r0, 8(r1) -lbl_8034BA24: -/* 8034BA24 00348984 88 01 00 08 */ lbz r0, 8(r1) -/* 8034BA28 00348988 28 00 00 00 */ cmplwi r0, 0 -/* 8034BA2C 0034898C 40 82 FF E4 */ bne lbl_8034BA10 -/* 8034BA30 00348990 80 6D A9 FC */ lwz r3, lbl_805A95BC@sda21(r13) -/* 8034BA34 00348994 7F C4 F3 78 */ mr r4, r30 -/* 8034BA38 00348998 7F E5 FB 78 */ mr r5, r31 -/* 8034BA3C 0034899C 4B CB 7A 55 */ bl memcpy -/* 8034BA40 003489A0 80 6D A9 FC */ lwz r3, lbl_805A95BC@sda21(r13) -/* 8034BA44 003489A4 7F E4 FB 78 */ mr r4, r31 -/* 8034BA48 003489A8 48 03 30 69 */ bl DCFlushRange -/* 8034BA4C 003489AC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8034BA50 003489B0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8034BA54 003489B4 80 6D A9 FC */ lwz r3, lbl_805A95BC@sda21(r13) -/* 8034BA58 003489B8 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8034BA5C 003489BC 7C 08 03 A6 */ mtlr r0 -/* 8034BA60 003489C0 38 21 00 20 */ addi r1, r1, 0x20 -/* 8034BA64 003489C4 4E 80 00 20 */ blr - -.global "SysUnloadGroupSet__9CAudioSysFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -"SysUnloadGroupSet__9CAudioSysFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": -/* 8034BA68 003489C8 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8034BA6C 003489CC 7C 08 02 A6 */ mflr r0 -/* 8034BA70 003489D0 90 01 00 44 */ stw r0, 0x44(r1) -/* 8034BA74 003489D4 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 8034BA78 003489D8 7C 7F 1B 78 */ mr r31, r3 -/* 8034BA7C 003489DC 38 61 00 08 */ addi r3, r1, 8 -/* 8034BA80 003489E0 93 C1 00 38 */ stw r30, 0x38(r1) -/* 8034BA84 003489E4 7F E4 FB 78 */ mr r4, r31 -/* 8034BA88 003489E8 93 A1 00 34 */ stw r29, 0x34(r1) -/* 8034BA8C 003489EC 4B FF FB E1 */ bl "FindGroupSet__9CAudioSysFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8034BA90 003489F0 80 A1 00 08 */ lwz r5, 8(r1) -/* 8034BA94 003489F4 38 61 00 08 */ addi r3, r1, 8 -/* 8034BA98 003489F8 90 A1 00 0C */ stw r5, 0xc(r1) -/* 8034BA9C 003489FC 80 85 00 04 */ lwz r4, 4(r5) -/* 8034BAA0 00348A00 38 04 00 01 */ addi r0, r4, 1 -/* 8034BAA4 00348A04 90 05 00 04 */ stw r0, 4(r5) -/* 8034BAA8 00348A08 48 00 0F 31 */ bl sub_8034c9d8 -/* 8034BAAC 00348A0C 80 61 00 0C */ lwz r3, 0xc(r1) -/* 8034BAB0 00348A10 80 03 00 00 */ lwz r0, 0(r3) -/* 8034BAB4 00348A14 28 00 00 00 */ cmplwi r0, 0 -/* 8034BAB8 00348A18 41 82 01 24 */ beq lbl_8034BBDC -/* 8034BABC 00348A1C 80 6D A9 D8 */ lwz r3, lbl_805A9598@sda21(r13) -/* 8034BAC0 00348A20 84 03 00 08 */ lwzu r0, 8(r3) -/* 8034BAC4 00348A24 90 61 00 24 */ stw r3, 0x24(r1) -/* 8034BAC8 00348A28 90 01 00 20 */ stw r0, 0x20(r1) -/* 8034BACC 00348A2C 48 00 00 A0 */ b lbl_8034BB6C -lbl_8034BAD0: -/* 8034BAD0 00348A30 7F E4 FB 78 */ mr r4, r31 -/* 8034BAD4 00348A34 38 65 00 14 */ addi r3, r5, 0x14 -/* 8034BAD8 00348A38 4B D0 6B 09 */ 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" -/* 8034BADC 00348A3C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8034BAE0 00348A40 41 82 00 7C */ beq lbl_8034BB5C -/* 8034BAE4 00348A44 83 A1 00 20 */ lwz r29, 0x20(r1) -/* 8034BAE8 00348A48 80 61 00 24 */ lwz r3, 0x24(r1) -/* 8034BAEC 00348A4C 93 A1 00 18 */ stw r29, 0x18(r1) -/* 8034BAF0 00348A50 7F A4 EB 78 */ mr r4, r29 -/* 8034BAF4 00348A54 83 CD A9 D8 */ lwz r30, lbl_805A9598@sda21(r13) -/* 8034BAF8 00348A58 90 61 00 1C */ stw r3, 0x1c(r1) -/* 8034BAFC 00348A5C 4B FF 0A E5 */ bl rbtree_traverse_forward__4rstlFPCvPv -/* 8034BB00 00348A60 90 61 00 18 */ stw r3, 0x18(r1) -/* 8034BB04 00348A64 7F A4 EB 78 */ mr r4, r29 -/* 8034BB08 00348A68 38 7E 00 08 */ addi r3, r30, 8 -/* 8034BB0C 00348A6C 4B FF 0B 71 */ bl rbtree_rebalance_for_erase__4rstlFPvPv -/* 8034BB10 00348A70 7C 7D 1B 79 */ or. r29, r3, r3 -/* 8034BB14 00348A74 41 82 00 18 */ beq lbl_8034BB2C -/* 8034BB18 00348A78 34 1D 00 10 */ addic. r0, r29, 0x10 -/* 8034BB1C 00348A7C 41 82 00 10 */ beq lbl_8034BB2C -/* 8034BB20 00348A80 34 7D 00 14 */ addic. r3, r29, 0x14 -/* 8034BB24 00348A84 41 82 00 08 */ beq lbl_8034BB2C -/* 8034BB28 00348A88 4B FF 1F B9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8034BB2C: -/* 8034BB2C 00348A8C 28 1D 00 00 */ cmplwi r29, 0 -/* 8034BB30 00348A90 41 82 00 0C */ beq lbl_8034BB3C -/* 8034BB34 00348A94 7F A3 EB 78 */ mr r3, r29 -/* 8034BB38 00348A98 4B FC 9D F9 */ bl Free__7CMemoryFPCv -lbl_8034BB3C: -/* 8034BB3C 00348A9C 80 9E 00 04 */ lwz r4, 4(r30) -/* 8034BB40 00348AA0 80 61 00 18 */ lwz r3, 0x18(r1) -/* 8034BB44 00348AA4 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 8034BB48 00348AA8 38 84 FF FF */ addi r4, r4, -1 -/* 8034BB4C 00348AAC 90 9E 00 04 */ stw r4, 4(r30) -/* 8034BB50 00348AB0 90 61 00 20 */ stw r3, 0x20(r1) -/* 8034BB54 00348AB4 90 01 00 24 */ stw r0, 0x24(r1) -/* 8034BB58 00348AB8 48 00 00 14 */ b lbl_8034BB6C -lbl_8034BB5C: -/* 8034BB5C 00348ABC 80 61 00 24 */ lwz r3, 0x24(r1) -/* 8034BB60 00348AC0 80 81 00 20 */ lwz r4, 0x20(r1) -/* 8034BB64 00348AC4 4B FF 0A 7D */ bl rbtree_traverse_forward__4rstlFPCvPv -/* 8034BB68 00348AC8 90 61 00 20 */ stw r3, 0x20(r1) -lbl_8034BB6C: -/* 8034BB6C 00348ACC 80 6D A9 D8 */ lwz r3, lbl_805A9598@sda21(r13) -/* 8034BB70 00348AD0 38 80 00 00 */ li r4, 0 -/* 8034BB74 00348AD4 80 A1 00 20 */ lwz r5, 0x20(r1) -/* 8034BB78 00348AD8 38 63 00 08 */ addi r3, r3, 8 -/* 8034BB7C 00348ADC 90 81 00 10 */ stw r4, 0x10(r1) -/* 8034BB80 00348AE0 7C 05 20 40 */ cmplw r5, r4 -/* 8034BB84 00348AE4 90 61 00 14 */ stw r3, 0x14(r1) -/* 8034BB88 00348AE8 40 82 00 10 */ bne lbl_8034BB98 -/* 8034BB8C 00348AEC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8034BB90 00348AF0 7C 00 18 40 */ cmplw r0, r3 -/* 8034BB94 00348AF4 41 82 00 08 */ beq lbl_8034BB9C -lbl_8034BB98: -/* 8034BB98 00348AF8 38 80 00 01 */ li r4, 1 -lbl_8034BB9C: -/* 8034BB9C 00348AFC 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 8034BBA0 00348B00 40 82 FF 30 */ bne lbl_8034BAD0 -/* 8034BBA4 00348B04 80 61 00 0C */ lwz r3, 0xc(r1) -/* 8034BBA8 00348B08 7F E4 FB 78 */ mr r4, r31 -/* 8034BBAC 00348B0C 80 0D A9 F4 */ lwz r0, lbl_805A95B4@sda21(r13) -/* 8034BBB0 00348B10 80 A3 00 00 */ lwz r5, 0(r3) -/* 8034BBB4 00348B14 80 6D A9 D4 */ lwz r3, lbl_805A9594@sda21(r13) -/* 8034BBB8 00348B18 80 A5 00 28 */ lwz r5, 0x28(r5) -/* 8034BBBC 00348B1C 80 A5 00 30 */ lwz r5, 0x30(r5) -/* 8034BBC0 00348B20 7C 05 00 50 */ subf r0, r5, r0 -/* 8034BBC4 00348B24 90 0D A9 F4 */ stw r0, lbl_805A95B4@sda21(r13) -/* 8034BBC8 00348B28 48 00 00 3D */ bl sub_8034bc04 -/* 8034BBCC 00348B2C 38 61 00 0C */ addi r3, r1, 0xc -/* 8034BBD0 00348B30 48 00 0E 09 */ bl sub_8034c9d8 -/* 8034BBD4 00348B34 38 60 00 01 */ li r3, 1 -/* 8034BBD8 00348B38 48 00 00 10 */ b lbl_8034BBE8 -lbl_8034BBDC: -/* 8034BBDC 00348B3C 38 61 00 0C */ addi r3, r1, 0xc -/* 8034BBE0 00348B40 48 00 0D F9 */ bl sub_8034c9d8 -/* 8034BBE4 00348B44 38 60 00 00 */ li r3, 0 -lbl_8034BBE8: -/* 8034BBE8 00348B48 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8034BBEC 00348B4C 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 8034BBF0 00348B50 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 8034BBF4 00348B54 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 8034BBF8 00348B58 7C 08 03 A6 */ mtlr r0 -/* 8034BBFC 00348B5C 38 21 00 40 */ addi r1, r1, 0x40 -/* 8034BC00 00348B60 4E 80 00 20 */ blr - -.global sub_8034bc04 -sub_8034bc04: -/* 8034BC04 00348B64 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 8034BC08 00348B68 7C 08 02 A6 */ mflr r0 -/* 8034BC0C 00348B6C 7C 85 23 78 */ mr r5, r4 -/* 8034BC10 00348B70 90 01 00 84 */ stw r0, 0x84(r1) -/* 8034BC14 00348B74 BF 61 00 6C */ stmw r27, 0x6c(r1) -/* 8034BC18 00348B78 7C 7F 1B 78 */ mr r31, r3 -/* 8034BC1C 00348B7C 7F E4 FB 78 */ mr r4, r31 -/* 8034BC20 00348B80 38 61 00 40 */ addi r3, r1, 0x40 -/* 8034BC24 00348B84 48 00 01 A9 */ bl sub_8034bdcc -/* 8034BC28 00348B88 80 E1 00 40 */ lwz r7, 0x40(r1) -/* 8034BC2C 00348B8C 38 61 00 30 */ addi r3, r1, 0x30 -/* 8034BC30 00348B90 80 C1 00 44 */ lwz r6, 0x44(r1) -/* 8034BC34 00348B94 38 81 00 28 */ addi r4, r1, 0x28 -/* 8034BC38 00348B98 80 A1 00 48 */ lwz r5, 0x48(r1) -/* 8034BC3C 00348B9C 80 01 00 4C */ lwz r0, 0x4c(r1) -/* 8034BC40 00348BA0 90 E1 00 50 */ stw r7, 0x50(r1) -/* 8034BC44 00348BA4 90 C1 00 54 */ stw r6, 0x54(r1) -/* 8034BC48 00348BA8 90 A1 00 58 */ stw r5, 0x58(r1) -/* 8034BC4C 00348BAC 90 01 00 5C */ stw r0, 0x5c(r1) -/* 8034BC50 00348BB0 90 A1 00 28 */ stw r5, 0x28(r1) -/* 8034BC54 00348BB4 90 01 00 2C */ stw r0, 0x2c(r1) -/* 8034BC58 00348BB8 90 E1 00 30 */ stw r7, 0x30(r1) -/* 8034BC5C 00348BBC 90 C1 00 34 */ stw r6, 0x34(r1) -/* 8034BC60 00348BC0 48 00 0F 91 */ bl sub_8034cbf0 -/* 8034BC64 00348BC4 83 C1 00 54 */ lwz r30, 0x54(r1) -/* 8034BC68 00348BC8 7C 7B 1B 78 */ mr r27, r3 -/* 8034BC6C 00348BCC 80 01 00 50 */ lwz r0, 0x50(r1) -/* 8034BC70 00348BD0 93 C1 00 3C */ stw r30, 0x3c(r1) -/* 8034BC74 00348BD4 83 A1 00 58 */ lwz r29, 0x58(r1) -/* 8034BC78 00348BD8 90 01 00 38 */ stw r0, 0x38(r1) -/* 8034BC7C 00348BDC 83 81 00 5C */ lwz r28, 0x5c(r1) -/* 8034BC80 00348BE0 48 00 00 44 */ b lbl_8034BCC4 -lbl_8034BC84: -/* 8034BC84 00348BE4 90 81 00 08 */ stw r4, 8(r1) -/* 8034BC88 00348BE8 7F C3 F3 78 */ mr r3, r30 -/* 8034BC8C 00348BEC 80 81 00 38 */ lwz r4, 0x38(r1) -/* 8034BC90 00348BF0 93 C1 00 0C */ stw r30, 0xc(r1) -/* 8034BC94 00348BF4 4B FF 09 4D */ bl rbtree_traverse_forward__4rstlFPCvPv -/* 8034BC98 00348BF8 80 C1 00 08 */ lwz r6, 8(r1) -/* 8034BC9C 00348BFC 7F C0 F3 78 */ mr r0, r30 -/* 8034BCA0 00348C00 90 61 00 38 */ stw r3, 0x38(r1) -/* 8034BCA4 00348C04 7F E4 FB 78 */ mr r4, r31 -/* 8034BCA8 00348C08 38 A1 00 18 */ addi r5, r1, 0x18 -/* 8034BCAC 00348C0C 38 61 00 20 */ addi r3, r1, 0x20 -/* 8034BCB0 00348C10 90 C1 00 10 */ stw r6, 0x10(r1) -/* 8034BCB4 00348C14 90 01 00 14 */ stw r0, 0x14(r1) -/* 8034BCB8 00348C18 90 C1 00 18 */ stw r6, 0x18(r1) -/* 8034BCBC 00348C1C 90 01 00 1C */ stw r0, 0x1c(r1) -/* 8034BCC0 00348C20 48 00 00 45 */ bl sub_8034bd04 -lbl_8034BCC4: -/* 8034BCC4 00348C24 80 81 00 38 */ lwz r4, 0x38(r1) -/* 8034BCC8 00348C28 38 60 00 00 */ li r3, 0 -/* 8034BCCC 00348C2C 7C 04 E8 40 */ cmplw r4, r29 -/* 8034BCD0 00348C30 40 82 00 10 */ bne lbl_8034BCE0 -/* 8034BCD4 00348C34 80 01 00 3C */ lwz r0, 0x3c(r1) -/* 8034BCD8 00348C38 7C 00 E0 40 */ cmplw r0, r28 -/* 8034BCDC 00348C3C 41 82 00 08 */ beq lbl_8034BCE4 -lbl_8034BCE0: -/* 8034BCE0 00348C40 38 60 00 01 */ li r3, 1 -lbl_8034BCE4: -/* 8034BCE4 00348C44 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8034BCE8 00348C48 40 82 FF 9C */ bne lbl_8034BC84 -/* 8034BCEC 00348C4C 7F 63 DB 78 */ mr r3, r27 -/* 8034BCF0 00348C50 BB 61 00 6C */ lmw r27, 0x6c(r1) -/* 8034BCF4 00348C54 80 01 00 84 */ lwz r0, 0x84(r1) -/* 8034BCF8 00348C58 7C 08 03 A6 */ mtlr r0 -/* 8034BCFC 00348C5C 38 21 00 80 */ addi r1, r1, 0x80 -/* 8034BD00 00348C60 4E 80 00 20 */ blr - -.global sub_8034bd04 -sub_8034bd04: -/* 8034BD04 00348C64 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8034BD08 00348C68 7C 08 02 A6 */ mflr r0 -/* 8034BD0C 00348C6C 90 01 00 24 */ stw r0, 0x24(r1) -/* 8034BD10 00348C70 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8034BD14 00348C74 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8034BD18 00348C78 7C BE 2B 78 */ mr r30, r5 -/* 8034BD1C 00348C7C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8034BD20 00348C80 7C 9D 23 78 */ mr r29, r4 -/* 8034BD24 00348C84 93 81 00 10 */ stw r28, 0x10(r1) -/* 8034BD28 00348C88 7C 7C 1B 78 */ mr r28, r3 -/* 8034BD2C 00348C8C 83 E5 00 00 */ lwz r31, 0(r5) -/* 8034BD30 00348C90 80 65 00 04 */ lwz r3, 4(r5) -/* 8034BD34 00348C94 7F E4 FB 78 */ mr r4, r31 -/* 8034BD38 00348C98 4B FF 08 A9 */ bl rbtree_traverse_forward__4rstlFPCvPv -/* 8034BD3C 00348C9C 90 7E 00 00 */ stw r3, 0(r30) -/* 8034BD40 00348CA0 7F E4 FB 78 */ mr r4, r31 -/* 8034BD44 00348CA4 38 7D 00 08 */ addi r3, r29, 8 -/* 8034BD48 00348CA8 4B FF 09 35 */ bl rbtree_rebalance_for_erase__4rstlFPvPv -/* 8034BD4C 00348CAC 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8034BD50 00348CB0 41 82 00 30 */ beq lbl_8034BD80 -/* 8034BD54 00348CB4 34 1F 00 10 */ addic. r0, r31, 0x10 -/* 8034BD58 00348CB8 41 82 00 28 */ beq lbl_8034BD80 -/* 8034BD5C 00348CBC 34 7F 00 20 */ addic. r3, r31, 0x20 -/* 8034BD60 00348CC0 41 82 00 10 */ beq lbl_8034BD70 -/* 8034BD64 00348CC4 28 03 00 00 */ cmplwi r3, 0 -/* 8034BD68 00348CC8 41 82 00 08 */ beq lbl_8034BD70 -/* 8034BD6C 00348CCC 48 00 0C 6D */ bl sub_8034c9d8 -lbl_8034BD70: -/* 8034BD70 00348CD0 34 1F 00 10 */ addic. r0, r31, 0x10 -/* 8034BD74 00348CD4 41 82 00 0C */ beq lbl_8034BD80 -/* 8034BD78 00348CD8 38 7F 00 10 */ addi r3, r31, 0x10 -/* 8034BD7C 00348CDC 4B FF 1D 65 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8034BD80: -/* 8034BD80 00348CE0 28 1F 00 00 */ cmplwi r31, 0 -/* 8034BD84 00348CE4 41 82 00 0C */ beq lbl_8034BD90 -/* 8034BD88 00348CE8 7F E3 FB 78 */ mr r3, r31 -/* 8034BD8C 00348CEC 4B FC 9B A5 */ bl Free__7CMemoryFPCv -lbl_8034BD90: -/* 8034BD90 00348CF0 80 7D 00 04 */ lwz r3, 4(r29) -/* 8034BD94 00348CF4 38 03 FF FF */ addi r0, r3, -1 -/* 8034BD98 00348CF8 90 1D 00 04 */ stw r0, 4(r29) -/* 8034BD9C 00348CFC 80 1E 00 00 */ lwz r0, 0(r30) -/* 8034BDA0 00348D00 90 1C 00 00 */ stw r0, 0(r28) -/* 8034BDA4 00348D04 80 1E 00 04 */ lwz r0, 4(r30) -/* 8034BDA8 00348D08 90 1C 00 04 */ stw r0, 4(r28) -/* 8034BDAC 00348D0C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8034BDB0 00348D10 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8034BDB4 00348D14 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8034BDB8 00348D18 83 81 00 10 */ lwz r28, 0x10(r1) -/* 8034BDBC 00348D1C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8034BDC0 00348D20 7C 08 03 A6 */ mtlr r0 -/* 8034BDC4 00348D24 38 21 00 20 */ addi r1, r1, 0x20 -/* 8034BDC8 00348D28 4E 80 00 20 */ blr - -.global sub_8034bdcc -sub_8034bdcc: -/* 8034BDCC 00348D2C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8034BDD0 00348D30 7C 08 02 A6 */ mflr r0 -/* 8034BDD4 00348D34 90 01 00 34 */ stw r0, 0x34(r1) -/* 8034BDD8 00348D38 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8034BDDC 00348D3C 7C BF 2B 78 */ mr r31, r5 -/* 8034BDE0 00348D40 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8034BDE4 00348D44 7C 9E 23 78 */ mr r30, r4 -/* 8034BDE8 00348D48 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8034BDEC 00348D4C 7C 7D 1B 78 */ mr r29, r3 -/* 8034BDF0 00348D50 38 61 00 08 */ addi r3, r1, 8 -/* 8034BDF4 00348D54 48 00 01 21 */ bl sub_8034bf14 -/* 8034BDF8 00348D58 7F C4 F3 78 */ mr r4, r30 -/* 8034BDFC 00348D5C 7F E5 FB 78 */ mr r5, r31 -/* 8034BE00 00348D60 38 61 00 10 */ addi r3, r1, 0x10 -/* 8034BE04 00348D64 48 00 00 41 */ bl sub_8034be44 -/* 8034BE08 00348D68 80 01 00 10 */ lwz r0, 0x10(r1) -/* 8034BE0C 00348D6C 90 1D 00 00 */ stw r0, 0(r29) -/* 8034BE10 00348D70 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8034BE14 00348D74 90 1D 00 04 */ stw r0, 4(r29) -/* 8034BE18 00348D78 80 01 00 08 */ lwz r0, 8(r1) -/* 8034BE1C 00348D7C 90 1D 00 08 */ stw r0, 8(r29) -/* 8034BE20 00348D80 80 01 00 0C */ lwz r0, 0xc(r1) -/* 8034BE24 00348D84 90 1D 00 0C */ stw r0, 0xc(r29) -/* 8034BE28 00348D88 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8034BE2C 00348D8C 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8034BE30 00348D90 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8034BE34 00348D94 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 8034BE38 00348D98 7C 08 03 A6 */ mtlr r0 -/* 8034BE3C 00348D9C 38 21 00 30 */ addi r1, r1, 0x30 -/* 8034BE40 00348DA0 4E 80 00 20 */ blr - -.global sub_8034be44 -sub_8034be44: -/* 8034BE44 00348DA4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034BE48 00348DA8 7C 08 02 A6 */ mflr r0 -/* 8034BE4C 00348DAC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8034BE50 00348DB0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8034BE54 00348DB4 7C 9F 23 78 */ mr r31, r4 -/* 8034BE58 00348DB8 7C A4 2B 78 */ mr r4, r5 -/* 8034BE5C 00348DBC 93 C1 00 08 */ stw r30, 8(r1) -/* 8034BE60 00348DC0 7C 7E 1B 78 */ mr r30, r3 -/* 8034BE64 00348DC4 7F E3 FB 78 */ mr r3, r31 -/* 8034BE68 00348DC8 48 00 00 29 */ bl sub_8034be90 -/* 8034BE6C 00348DCC 90 7E 00 00 */ stw r3, 0(r30) -/* 8034BE70 00348DD0 38 1F 00 08 */ addi r0, r31, 8 -/* 8034BE74 00348DD4 90 1E 00 04 */ stw r0, 4(r30) -/* 8034BE78 00348DD8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8034BE7C 00348DDC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8034BE80 00348DE0 83 C1 00 08 */ lwz r30, 8(r1) -/* 8034BE84 00348DE4 7C 08 03 A6 */ mtlr r0 -/* 8034BE88 00348DE8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8034BE8C 00348DEC 4E 80 00 20 */ blr - -.global sub_8034be90 -sub_8034be90: -/* 8034BE90 00348DF0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8034BE94 00348DF4 7C 08 02 A6 */ mflr r0 -/* 8034BE98 00348DF8 90 01 00 24 */ stw r0, 0x24(r1) -/* 8034BE9C 00348DFC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8034BEA0 00348E00 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8034BEA4 00348E04 3B C0 00 00 */ li r30, 0 -/* 8034BEA8 00348E08 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8034BEAC 00348E0C 7C 9D 23 78 */ mr r29, r4 -/* 8034BEB0 00348E10 93 81 00 10 */ stw r28, 0x10(r1) -/* 8034BEB4 00348E14 7C 7C 1B 78 */ mr r28, r3 -/* 8034BEB8 00348E18 83 E3 00 10 */ lwz r31, 0x10(r3) -/* 8034BEBC 00348E1C 48 00 00 2C */ b lbl_8034BEE8 -lbl_8034BEC0: -/* 8034BEC0 00348E20 7F A5 EB 78 */ mr r5, r29 -/* 8034BEC4 00348E24 38 7C 00 01 */ addi r3, r28, 1 -/* 8034BEC8 00348E28 38 9F 00 10 */ addi r4, r31, 0x10 -/* 8034BECC 00348E2C 4B CD E8 5D */ bl "__cl__Q24rstl140select1st,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>>CFRCQ24rstl119pair,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>" -/* 8034BED0 00348E30 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8034BED4 00348E34 40 82 00 10 */ bne lbl_8034BEE4 -/* 8034BED8 00348E38 7F FE FB 78 */ mr r30, r31 -/* 8034BEDC 00348E3C 83 FF 00 00 */ lwz r31, 0(r31) -/* 8034BEE0 00348E40 48 00 00 08 */ b lbl_8034BEE8 -lbl_8034BEE4: -/* 8034BEE4 00348E44 83 FF 00 04 */ lwz r31, 4(r31) -lbl_8034BEE8: -/* 8034BEE8 00348E48 28 1F 00 00 */ cmplwi r31, 0 -/* 8034BEEC 00348E4C 40 82 FF D4 */ bne lbl_8034BEC0 -/* 8034BEF0 00348E50 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8034BEF4 00348E54 7F C3 F3 78 */ mr r3, r30 -/* 8034BEF8 00348E58 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8034BEFC 00348E5C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8034BF00 00348E60 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8034BF04 00348E64 83 81 00 10 */ lwz r28, 0x10(r1) -/* 8034BF08 00348E68 7C 08 03 A6 */ mtlr r0 -/* 8034BF0C 00348E6C 38 21 00 20 */ addi r1, r1, 0x20 -/* 8034BF10 00348E70 4E 80 00 20 */ blr - -.global sub_8034bf14 -sub_8034bf14: -/* 8034BF14 00348E74 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034BF18 00348E78 7C 08 02 A6 */ mflr r0 -/* 8034BF1C 00348E7C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8034BF20 00348E80 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8034BF24 00348E84 7C 9F 23 78 */ mr r31, r4 -/* 8034BF28 00348E88 7C A4 2B 78 */ mr r4, r5 -/* 8034BF2C 00348E8C 93 C1 00 08 */ stw r30, 8(r1) -/* 8034BF30 00348E90 7C 7E 1B 78 */ mr r30, r3 -/* 8034BF34 00348E94 7F E3 FB 78 */ mr r3, r31 -/* 8034BF38 00348E98 48 00 00 29 */ bl sub_8034bf60 -/* 8034BF3C 00348E9C 90 7E 00 00 */ stw r3, 0(r30) -/* 8034BF40 00348EA0 38 1F 00 08 */ addi r0, r31, 8 -/* 8034BF44 00348EA4 90 1E 00 04 */ stw r0, 4(r30) -/* 8034BF48 00348EA8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8034BF4C 00348EAC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8034BF50 00348EB0 83 C1 00 08 */ lwz r30, 8(r1) -/* 8034BF54 00348EB4 7C 08 03 A6 */ mtlr r0 -/* 8034BF58 00348EB8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8034BF5C 00348EBC 4E 80 00 20 */ blr - -.global sub_8034bf60 -sub_8034bf60: -/* 8034BF60 00348EC0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8034BF64 00348EC4 7C 08 02 A6 */ mflr r0 -/* 8034BF68 00348EC8 90 01 00 24 */ stw r0, 0x24(r1) -/* 8034BF6C 00348ECC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8034BF70 00348ED0 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8034BF74 00348ED4 3B C0 00 00 */ li r30, 0 -/* 8034BF78 00348ED8 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8034BF7C 00348EDC 7C 9D 23 78 */ mr r29, r4 -/* 8034BF80 00348EE0 93 81 00 10 */ stw r28, 0x10(r1) -/* 8034BF84 00348EE4 7C 7C 1B 78 */ mr r28, r3 -/* 8034BF88 00348EE8 83 E3 00 10 */ lwz r31, 0x10(r3) -/* 8034BF8C 00348EEC 48 00 00 2C */ b lbl_8034BFB8 -lbl_8034BF90: -/* 8034BF90 00348EF0 7F A4 EB 78 */ mr r4, r29 -/* 8034BF94 00348EF4 38 7C 00 01 */ addi r3, r28, 1 -/* 8034BF98 00348EF8 38 BF 00 10 */ addi r5, r31, 0x10 -/* 8034BF9C 00348EFC 4B CD E7 8D */ bl "__cl__Q24rstl140select1st,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>>CFRCQ24rstl119pair,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>" -/* 8034BFA0 00348F00 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8034BFA4 00348F04 41 82 00 10 */ beq lbl_8034BFB4 -/* 8034BFA8 00348F08 7F FE FB 78 */ mr r30, r31 -/* 8034BFAC 00348F0C 83 FF 00 00 */ lwz r31, 0(r31) -/* 8034BFB0 00348F10 48 00 00 08 */ b lbl_8034BFB8 -lbl_8034BFB4: -/* 8034BFB4 00348F14 83 FF 00 04 */ lwz r31, 4(r31) -lbl_8034BFB8: -/* 8034BFB8 00348F18 28 1F 00 00 */ cmplwi r31, 0 -/* 8034BFBC 00348F1C 40 82 FF D4 */ bne lbl_8034BF90 -/* 8034BFC0 00348F20 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8034BFC4 00348F24 7F C3 F3 78 */ mr r3, r30 -/* 8034BFC8 00348F28 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8034BFCC 00348F2C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8034BFD0 00348F30 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8034BFD4 00348F34 83 81 00 10 */ lwz r28, 0x10(r1) -/* 8034BFD8 00348F38 7C 08 03 A6 */ mtlr r0 -/* 8034BFDC 00348F3C 38 21 00 20 */ addi r1, r1, 0x20 -/* 8034BFE0 00348F40 4E 80 00 20 */ blr - -.global "SysUnloadSampleData__9CAudioSysFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -"SysUnloadSampleData__9CAudioSysFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": -/* 8034BFE4 00348F44 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034BFE8 00348F48 7C 08 02 A6 */ mflr r0 -/* 8034BFEC 00348F4C 7C 64 1B 78 */ mr r4, r3 -/* 8034BFF0 00348F50 90 01 00 14 */ stw r0, 0x14(r1) -/* 8034BFF4 00348F54 38 61 00 08 */ addi r3, r1, 8 -/* 8034BFF8 00348F58 4B FF F6 75 */ bl "FindGroupSet__9CAudioSysFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8034BFFC 00348F5C 80 A1 00 08 */ lwz r5, 8(r1) -/* 8034C000 00348F60 38 61 00 08 */ addi r3, r1, 8 -/* 8034C004 00348F64 90 A1 00 0C */ stw r5, 0xc(r1) -/* 8034C008 00348F68 80 85 00 04 */ lwz r4, 4(r5) -/* 8034C00C 00348F6C 38 04 00 01 */ addi r0, r4, 1 -/* 8034C010 00348F70 90 05 00 04 */ stw r0, 4(r5) -/* 8034C014 00348F74 48 00 09 C5 */ bl sub_8034c9d8 -/* 8034C018 00348F78 80 61 00 0C */ lwz r3, 0xc(r1) -/* 8034C01C 00348F7C 80 63 00 00 */ lwz r3, 0(r3) -/* 8034C020 00348F80 28 03 00 00 */ cmplwi r3, 0 -/* 8034C024 00348F84 41 82 00 18 */ beq lbl_8034C03C -/* 8034C028 00348F88 4B FF E6 2D */ bl FreeSampleBuffer__14CAudioGroupSetFv -/* 8034C02C 00348F8C 38 61 00 0C */ addi r3, r1, 0xc -/* 8034C030 00348F90 48 00 09 A9 */ bl sub_8034c9d8 -/* 8034C034 00348F94 38 60 00 01 */ li r3, 1 -/* 8034C038 00348F98 48 00 00 10 */ b lbl_8034C048 -lbl_8034C03C: -/* 8034C03C 00348F9C 38 61 00 0C */ addi r3, r1, 0xc -/* 8034C040 00348FA0 48 00 09 99 */ bl sub_8034c9d8 -/* 8034C044 00348FA4 38 60 00 00 */ li r3, 0 -lbl_8034C048: -/* 8034C048 00348FA8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8034C04C 00348FAC 7C 08 03 A6 */ mtlr r0 -/* 8034C050 00348FB0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8034C054 00348FB4 4E 80 00 20 */ blr - -.global "SysIsGroupSetLoaded__9CAudioSysFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -"SysIsGroupSetLoaded__9CAudioSysFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": -/* 8034C058 00348FB8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8034C05C 00348FBC 7C 08 02 A6 */ mflr r0 -/* 8034C060 00348FC0 7C 64 1B 78 */ mr r4, r3 -/* 8034C064 00348FC4 90 01 00 24 */ stw r0, 0x24(r1) -/* 8034C068 00348FC8 38 61 00 08 */ addi r3, r1, 8 -/* 8034C06C 00348FCC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8034C070 00348FD0 4B FF F5 FD */ bl "FindGroupSet__9CAudioSysFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8034C074 00348FD4 80 81 00 08 */ lwz r4, 8(r1) -/* 8034C078 00348FD8 38 61 00 08 */ addi r3, r1, 8 -/* 8034C07C 00348FDC 80 84 00 00 */ lwz r4, 0(r4) -/* 8034C080 00348FE0 7C 04 00 D0 */ neg r0, r4 -/* 8034C084 00348FE4 7C 00 23 78 */ or r0, r0, r4 -/* 8034C088 00348FE8 54 1F 0F FE */ srwi r31, r0, 0x1f -/* 8034C08C 00348FEC 48 00 09 4D */ bl sub_8034c9d8 -/* 8034C090 00348FF0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8034C094 00348FF4 7F E3 FB 78 */ mr r3, r31 -/* 8034C098 00348FF8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8034C09C 00348FFC 7C 08 03 A6 */ mtlr r0 -/* 8034C0A0 00349000 38 21 00 20 */ addi r1, r1, 0x20 -/* 8034C0A4 00349004 4E 80 00 20 */ blr - -.global "SysLoadGroupSet__9CAudioSysF30TLockedToken<14CAudioGroupSet>Q24rstl6stringUi" -"SysLoadGroupSet__9CAudioSysF30TLockedToken<14CAudioGroupSet>Q24rstl6stringUi": -/* 8034C0A8 00349008 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 8034C0AC 0034900C 7C 08 02 A6 */ mflr r0 -/* 8034C0B0 00349010 90 01 00 74 */ stw r0, 0x74(r1) -/* 8034C0B4 00349014 93 E1 00 6C */ stw r31, 0x6c(r1) -/* 8034C0B8 00349018 7C BF 2B 78 */ mr r31, r5 -/* 8034C0BC 0034901C 93 C1 00 68 */ stw r30, 0x68(r1) -/* 8034C0C0 00349020 93 A1 00 64 */ stw r29, 0x64(r1) -/* 8034C0C4 00349024 7C 7D 1B 78 */ mr r29, r3 -/* 8034C0C8 00349028 38 61 00 08 */ addi r3, r1, 8 -/* 8034C0CC 0034902C 93 81 00 60 */ stw r28, 0x60(r1) -/* 8034C0D0 00349030 4B FF F5 9D */ bl "FindGroupSet__9CAudioSysFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8034C0D4 00349034 80 A1 00 08 */ lwz r5, 8(r1) -/* 8034C0D8 00349038 38 61 00 08 */ addi r3, r1, 8 -/* 8034C0DC 0034903C 90 A1 00 10 */ stw r5, 0x10(r1) -/* 8034C0E0 00349040 80 85 00 04 */ lwz r4, 4(r5) -/* 8034C0E4 00349044 38 04 00 01 */ addi r0, r4, 1 -/* 8034C0E8 00349048 90 05 00 04 */ stw r0, 4(r5) -/* 8034C0EC 0034904C 48 00 08 ED */ bl sub_8034c9d8 -/* 8034C0F0 00349050 80 61 00 10 */ lwz r3, 0x10(r1) -/* 8034C0F4 00349054 80 63 00 00 */ lwz r3, 0(r3) -/* 8034C0F8 00349058 28 03 00 00 */ cmplwi r3, 0 -/* 8034C0FC 0034905C 40 82 01 84 */ bne lbl_8034C280 -/* 8034C100 00349060 3C 60 80 3E */ lis r3, lbl_803D8210@ha -/* 8034C104 00349064 3B 80 00 00 */ li r28, 0 -/* 8034C108 00349068 38 83 82 10 */ addi r4, r3, lbl_803D8210@l -/* 8034C10C 0034906C 38 A0 00 00 */ li r5, 0 -/* 8034C110 00349070 38 60 00 30 */ li r3, 0x30 -/* 8034C114 00349074 4B FC 97 59 */ bl __nw__FUlPCcPCc -/* 8034C118 00349078 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8034C11C 0034907C 41 82 00 38 */ beq lbl_8034C154 -/* 8034C120 00349080 3B 81 00 2C */ addi r28, r1, 0x2c -/* 8034C124 00349084 7F A4 EB 78 */ mr r4, r29 -/* 8034C128 00349088 7F 83 E3 78 */ mr r3, r28 -/* 8034C12C 0034908C 4B FF 4D 7D */ bl __ct__6CTokenFRC6CToken -/* 8034C130 00349090 7F 83 E3 78 */ mr r3, r28 -/* 8034C134 00349094 4B FF 4C D9 */ bl GetObj__6CTokenFv -/* 8034C138 00349098 80 03 00 04 */ lwz r0, 4(r3) -/* 8034C13C 0034909C 7F 84 E3 78 */ mr r4, r28 -/* 8034C140 003490A0 7F C3 F3 78 */ mr r3, r30 -/* 8034C144 003490A4 3B 80 00 01 */ li r28, 1 -/* 8034C148 003490A8 90 01 00 34 */ stw r0, 0x34(r1) -/* 8034C14C 003490AC 4B FF E5 D1 */ bl "__ct__14CAudioGroupSetFRC31TLockedToken<15CAudioGrpSetLoc>" -/* 8034C150 003490B0 7C 7E 1B 78 */ mr r30, r3 -lbl_8034C154: -/* 8034C154 003490B4 3C 80 80 3E */ lis r4, lbl_803D8210@ha -/* 8034C158 003490B8 38 60 00 08 */ li r3, 8 -/* 8034C15C 003490BC 38 84 82 10 */ addi r4, r4, lbl_803D8210@l -/* 8034C160 003490C0 38 A0 00 00 */ li r5, 0 -/* 8034C164 003490C4 4B FC 97 09 */ bl __nw__FUlPCcPCc -/* 8034C168 003490C8 28 03 00 00 */ cmplwi r3, 0 -/* 8034C16C 003490CC 41 82 00 10 */ beq lbl_8034C17C -/* 8034C170 003490D0 93 C3 00 00 */ stw r30, 0(r3) -/* 8034C174 003490D4 38 00 00 01 */ li r0, 1 -/* 8034C178 003490D8 90 03 00 04 */ stw r0, 4(r3) -lbl_8034C17C: -/* 8034C17C 003490DC 7F 80 07 75 */ extsb. r0, r28 -/* 8034C180 003490E0 90 61 00 0C */ stw r3, 0xc(r1) -/* 8034C184 003490E4 41 82 00 10 */ beq lbl_8034C194 -/* 8034C188 003490E8 38 61 00 2C */ addi r3, r1, 0x2c -/* 8034C18C 003490EC 38 80 00 00 */ li r4, 0 -/* 8034C190 003490F0 4B FF 4C B1 */ bl __dt__6CTokenFv -lbl_8034C194: -/* 8034C194 003490F4 80 A1 00 0C */ lwz r5, 0xc(r1) -/* 8034C198 003490F8 80 8D A9 F4 */ lwz r4, lbl_805A95B4@sda21(r13) -/* 8034C19C 003490FC 80 65 00 00 */ lwz r3, 0(r5) -/* 8034C1A0 00349100 80 0D A9 F0 */ lwz r0, lbl_805A95B0@sda21(r13) -/* 8034C1A4 00349104 80 63 00 28 */ lwz r3, 0x28(r3) -/* 8034C1A8 00349108 80 63 00 30 */ lwz r3, 0x30(r3) -/* 8034C1AC 0034910C 7C 64 1A 14 */ add r3, r4, r3 -/* 8034C1B0 00349110 7C 03 00 00 */ cmpw r3, r0 -/* 8034C1B4 00349114 40 81 00 1C */ ble lbl_8034C1D0 -/* 8034C1B8 00349118 38 61 00 0C */ addi r3, r1, 0xc -/* 8034C1BC 0034911C 48 00 08 1D */ bl sub_8034c9d8 -/* 8034C1C0 00349120 38 61 00 10 */ addi r3, r1, 0x10 -/* 8034C1C4 00349124 48 00 08 15 */ bl sub_8034c9d8 -/* 8034C1C8 00349128 38 60 00 01 */ li r3, 1 -/* 8034C1CC 0034912C 48 00 00 C4 */ b lbl_8034C290 -lbl_8034C1D0: -/* 8034C1D0 00349130 90 6D A9 F4 */ stw r3, lbl_805A95B4@sda21(r13) -/* 8034C1D4 00349134 38 61 00 4C */ addi r3, r1, 0x4c -/* 8034C1D8 00349138 80 85 00 00 */ lwz r4, 0(r5) -/* 8034C1DC 0034913C 3B C4 00 10 */ addi r30, r4, 0x10 -/* 8034C1E0 00349140 7F C4 F3 78 */ mr r4, r30 -/* 8034C1E4 00349144 4B FF 1F 7D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8034C1E8 00349148 80 A1 00 0C */ lwz r5, 0xc(r1) -/* 8034C1EC 0034914C 3B A1 00 5C */ addi r29, r1, 0x5c -/* 8034C1F0 00349150 38 61 00 20 */ addi r3, r1, 0x20 -/* 8034C1F4 00349154 38 C1 00 4C */ addi r6, r1, 0x4c -/* 8034C1F8 00349158 90 A1 00 5C */ stw r5, 0x5c(r1) -/* 8034C1FC 0034915C 80 85 00 04 */ lwz r4, 4(r5) -/* 8034C200 00349160 38 04 00 01 */ addi r0, r4, 1 -/* 8034C204 00349164 90 05 00 04 */ stw r0, 4(r5) -/* 8034C208 00349168 80 8D A9 D4 */ lwz r4, lbl_805A9594@sda21(r13) -/* 8034C20C 0034916C 80 A4 00 10 */ lwz r5, 0x10(r4) -/* 8034C210 00349170 48 00 0A BD */ bl "insert_into__Q24rstl488red_black_tree,Q24rstl17rmemory_allocator>,Q24rstl117pair,Q24rstl17rmemory_allocator>,Q24rstl26ncrc_ptr<14CAudioGroupSet>>,0,Q24rstl138select1st,Q24rstl17rmemory_allocator>,Q24rstl26ncrc_ptr<14CAudioGroupSet>>>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator" -/* 8034C214 00349174 28 1D 00 00 */ cmplwi r29, 0 -/* 8034C218 00349178 41 82 00 10 */ beq lbl_8034C228 -/* 8034C21C 0034917C 41 82 00 0C */ beq lbl_8034C228 -/* 8034C220 00349180 7F A3 EB 78 */ mr r3, r29 -/* 8034C224 00349184 48 00 07 B5 */ bl sub_8034c9d8 -lbl_8034C228: -/* 8034C228 00349188 38 61 00 4C */ addi r3, r1, 0x4c -/* 8034C22C 0034918C 4B FF 18 B5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8034C230 00349190 3B A1 00 3C */ addi r29, r1, 0x3c -/* 8034C234 00349194 93 E1 00 38 */ stw r31, 0x38(r1) -/* 8034C238 00349198 7F A3 EB 78 */ mr r3, r29 -/* 8034C23C 0034919C 7F C4 F3 78 */ mr r4, r30 -/* 8034C240 003491A0 4B FF 1F 21 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8034C244 003491A4 80 8D A9 D8 */ lwz r4, lbl_805A9598@sda21(r13) -/* 8034C248 003491A8 38 61 00 14 */ addi r3, r1, 0x14 -/* 8034C24C 003491AC 38 C1 00 38 */ addi r6, r1, 0x38 -/* 8034C250 003491B0 80 A4 00 10 */ lwz r5, 0x10(r4) -/* 8034C254 003491B4 48 00 0C F9 */ bl "insert_into__Q24rstl273red_black_tree,Q24rstl17rmemory_allocator>>,0,Q24rstl104select1st,Q24rstl17rmemory_allocator>>>,Q24rstl8less,Q24rstl17rmemory_allocator>FPQ34rstl273red_black_tree,Q24rstl17rmemory_allocator>>,0,Q24rstl104select1st,Q24" -/* 8034C258 003491B8 28 1D 00 00 */ cmplwi r29, 0 -/* 8034C25C 003491BC 41 82 00 0C */ beq lbl_8034C268 -/* 8034C260 003491C0 7F A3 EB 78 */ mr r3, r29 -/* 8034C264 003491C4 4B FF 18 7D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8034C268: -/* 8034C268 003491C8 38 61 00 0C */ addi r3, r1, 0xc -/* 8034C26C 003491CC 48 00 07 6D */ bl sub_8034c9d8 -/* 8034C270 003491D0 38 61 00 10 */ addi r3, r1, 0x10 -/* 8034C274 003491D4 48 00 07 65 */ bl sub_8034c9d8 -/* 8034C278 003491D8 38 60 00 00 */ li r3, 0 -/* 8034C27C 003491DC 48 00 00 14 */ b lbl_8034C290 -lbl_8034C280: -/* 8034C280 003491E0 4B FF E3 F9 */ bl Reload__14CAudioGroupSetFv -/* 8034C284 003491E4 38 61 00 10 */ addi r3, r1, 0x10 -/* 8034C288 003491E8 48 00 07 51 */ bl sub_8034c9d8 -/* 8034C28C 003491EC 38 60 00 01 */ li r3, 1 -lbl_8034C290: -/* 8034C290 003491F0 80 01 00 74 */ lwz r0, 0x74(r1) -/* 8034C294 003491F4 83 E1 00 6C */ lwz r31, 0x6c(r1) -/* 8034C298 003491F8 83 C1 00 68 */ lwz r30, 0x68(r1) -/* 8034C29C 003491FC 83 A1 00 64 */ lwz r29, 0x64(r1) -/* 8034C2A0 00349200 83 81 00 60 */ lwz r28, 0x60(r1) -/* 8034C2A4 00349204 7C 08 03 A6 */ mtlr r0 -/* 8034C2A8 00349208 38 21 00 70 */ addi r1, r1, 0x70 -/* 8034C2AC 0034920C 4E 80 00 20 */ blr - -.global SysLoadGroupSet__9CAudioSysFP11CSimplePoolUi -SysLoadGroupSet__9CAudioSysFP11CSimplePoolUi: -/* 8034C2B0 00349210 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 8034C2B4 00349214 7C 08 02 A6 */ mflr r0 -/* 8034C2B8 00349218 90 01 00 84 */ stw r0, 0x84(r1) -/* 8034C2BC 0034921C 93 E1 00 7C */ stw r31, 0x7c(r1) -/* 8034C2C0 00349220 7C 9F 23 78 */ mr r31, r4 -/* 8034C2C4 00349224 93 C1 00 78 */ stw r30, 0x78(r1) -/* 8034C2C8 00349228 93 A1 00 74 */ stw r29, 0x74(r1) -/* 8034C2CC 0034922C 7C 7D 1B 78 */ mr r29, r3 -/* 8034C2D0 00349230 7F E3 FB 78 */ mr r3, r31 -/* 8034C2D4 00349234 4B FF F5 71 */ bl SysGetGroupSetName__9CAudioSysFUi -/* 8034C2D8 00349238 7C 60 1B 78 */ mr r0, r3 -/* 8034C2DC 0034923C 38 61 00 08 */ addi r3, r1, 8 -/* 8034C2E0 00349240 7C 04 03 78 */ mr r4, r0 -/* 8034C2E4 00349244 4B FF F3 89 */ bl "FindGroupSet__9CAudioSysFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8034C2E8 00349248 80 A1 00 08 */ lwz r5, 8(r1) -/* 8034C2EC 0034924C 38 61 00 08 */ addi r3, r1, 8 -/* 8034C2F0 00349250 90 A1 00 10 */ stw r5, 0x10(r1) -/* 8034C2F4 00349254 80 85 00 04 */ lwz r4, 4(r5) -/* 8034C2F8 00349258 38 04 00 01 */ addi r0, r4, 1 -/* 8034C2FC 0034925C 90 05 00 04 */ stw r0, 4(r5) -/* 8034C300 00349260 48 00 06 D9 */ bl sub_8034c9d8 -/* 8034C304 00349264 80 61 00 10 */ lwz r3, 0x10(r1) -/* 8034C308 00349268 80 63 00 00 */ lwz r3, 0(r3) -/* 8034C30C 0034926C 28 03 00 00 */ cmplwi r3, 0 -/* 8034C310 00349270 40 82 01 B0 */ bne lbl_8034C4C0 -/* 8034C314 00349274 3C 60 41 47 */ lis r3, 0x41475343@ha -/* 8034C318 00349278 93 E1 00 20 */ stw r31, 0x20(r1) -/* 8034C31C 0034927C 38 03 53 43 */ addi r0, r3, 0x41475343@l -/* 8034C320 00349280 7F A4 EB 78 */ mr r4, r29 -/* 8034C324 00349284 90 01 00 1C */ stw r0, 0x1c(r1) -/* 8034C328 00349288 38 61 00 14 */ addi r3, r1, 0x14 -/* 8034C32C 0034928C 38 A1 00 1C */ addi r5, r1, 0x1c -/* 8034C330 00349290 81 9D 00 00 */ lwz r12, 0(r29) -/* 8034C334 00349294 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8034C338 00349298 7D 89 03 A6 */ mtctr r12 -/* 8034C33C 0034929C 4E 80 04 21 */ bctrl -/* 8034C340 003492A0 3B A1 00 3C */ addi r29, r1, 0x3c -/* 8034C344 003492A4 38 81 00 14 */ addi r4, r1, 0x14 -/* 8034C348 003492A8 7F A3 EB 78 */ mr r3, r29 -/* 8034C34C 003492AC 4B FF 4B 5D */ bl __ct__6CTokenFRC6CToken -/* 8034C350 003492B0 7F A3 EB 78 */ mr r3, r29 -/* 8034C354 003492B4 4B FF 4A B9 */ bl GetObj__6CTokenFv -/* 8034C358 003492B8 80 03 00 04 */ lwz r0, 4(r3) -/* 8034C35C 003492BC 38 61 00 14 */ addi r3, r1, 0x14 -/* 8034C360 003492C0 38 80 FF FF */ li r4, -1 -/* 8034C364 003492C4 90 01 00 44 */ stw r0, 0x44(r1) -/* 8034C368 003492C8 4B FF 4A D9 */ bl __dt__6CTokenFv -/* 8034C36C 003492CC 3C 80 80 3E */ lis r4, lbl_803D8210@ha -/* 8034C370 003492D0 38 60 00 30 */ li r3, 0x30 -/* 8034C374 003492D4 38 84 82 10 */ addi r4, r4, lbl_803D8210@l -/* 8034C378 003492D8 38 A0 00 00 */ li r5, 0 -/* 8034C37C 003492DC 4B FC 94 F1 */ bl __nw__FUlPCcPCc -/* 8034C380 003492E0 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8034C384 003492E4 41 82 00 10 */ beq lbl_8034C394 -/* 8034C388 003492E8 7F A4 EB 78 */ mr r4, r29 -/* 8034C38C 003492EC 4B FF E3 91 */ bl "__ct__14CAudioGroupSetFRC31TLockedToken<15CAudioGrpSetLoc>" -/* 8034C390 003492F0 7C 7E 1B 78 */ mr r30, r3 -lbl_8034C394: -/* 8034C394 003492F4 3C 80 80 3E */ lis r4, lbl_803D8210@ha -/* 8034C398 003492F8 38 60 00 08 */ li r3, 8 -/* 8034C39C 003492FC 38 84 82 10 */ addi r4, r4, lbl_803D8210@l -/* 8034C3A0 00349300 38 A0 00 00 */ li r5, 0 -/* 8034C3A4 00349304 4B FC 94 C9 */ bl __nw__FUlPCcPCc -/* 8034C3A8 00349308 28 03 00 00 */ cmplwi r3, 0 -/* 8034C3AC 0034930C 41 82 00 10 */ beq lbl_8034C3BC -/* 8034C3B0 00349310 93 C3 00 00 */ stw r30, 0(r3) -/* 8034C3B4 00349314 38 00 00 01 */ li r0, 1 -/* 8034C3B8 00349318 90 03 00 04 */ stw r0, 4(r3) -lbl_8034C3BC: -/* 8034C3BC 0034931C 90 61 00 0C */ stw r3, 0xc(r1) -/* 8034C3C0 00349320 80 AD A9 F4 */ lwz r5, lbl_805A95B4@sda21(r13) -/* 8034C3C4 00349324 80 83 00 00 */ lwz r4, 0(r3) -/* 8034C3C8 00349328 80 0D A9 F0 */ lwz r0, lbl_805A95B0@sda21(r13) -/* 8034C3CC 0034932C 80 84 00 28 */ lwz r4, 0x28(r4) -/* 8034C3D0 00349330 80 84 00 30 */ lwz r4, 0x30(r4) -/* 8034C3D4 00349334 7C 85 22 14 */ add r4, r5, r4 -/* 8034C3D8 00349338 7C 04 00 00 */ cmpw r4, r0 -/* 8034C3DC 0034933C 40 81 00 28 */ ble lbl_8034C404 -/* 8034C3E0 00349340 38 61 00 0C */ addi r3, r1, 0xc -/* 8034C3E4 00349344 48 00 05 F5 */ bl sub_8034c9d8 -/* 8034C3E8 00349348 38 61 00 3C */ addi r3, r1, 0x3c -/* 8034C3EC 0034934C 38 80 00 00 */ li r4, 0 -/* 8034C3F0 00349350 4B FF 4A 51 */ bl __dt__6CTokenFv -/* 8034C3F4 00349354 38 61 00 10 */ addi r3, r1, 0x10 -/* 8034C3F8 00349358 48 00 05 E1 */ bl sub_8034c9d8 -/* 8034C3FC 0034935C 38 60 00 01 */ li r3, 1 -/* 8034C400 00349360 48 00 00 D0 */ b lbl_8034C4D0 -lbl_8034C404: -/* 8034C404 00349364 90 8D A9 F4 */ stw r4, lbl_805A95B4@sda21(r13) -/* 8034C408 00349368 80 83 00 00 */ lwz r4, 0(r3) -/* 8034C40C 0034936C 38 61 00 5C */ addi r3, r1, 0x5c -/* 8034C410 00349370 3B C4 00 10 */ addi r30, r4, 0x10 -/* 8034C414 00349374 7F C4 F3 78 */ mr r4, r30 -/* 8034C418 00349378 4B FF 1D 49 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8034C41C 0034937C 80 A1 00 0C */ lwz r5, 0xc(r1) -/* 8034C420 00349380 3B A1 00 6C */ addi r29, r1, 0x6c -/* 8034C424 00349384 38 61 00 30 */ addi r3, r1, 0x30 -/* 8034C428 00349388 38 C1 00 5C */ addi r6, r1, 0x5c -/* 8034C42C 0034938C 90 A1 00 6C */ stw r5, 0x6c(r1) -/* 8034C430 00349390 80 85 00 04 */ lwz r4, 4(r5) -/* 8034C434 00349394 38 04 00 01 */ addi r0, r4, 1 -/* 8034C438 00349398 90 05 00 04 */ stw r0, 4(r5) -/* 8034C43C 0034939C 80 8D A9 D4 */ lwz r4, lbl_805A9594@sda21(r13) -/* 8034C440 003493A0 80 A4 00 10 */ lwz r5, 0x10(r4) -/* 8034C444 003493A4 48 00 08 89 */ bl "insert_into__Q24rstl488red_black_tree,Q24rstl17rmemory_allocator>,Q24rstl117pair,Q24rstl17rmemory_allocator>,Q24rstl26ncrc_ptr<14CAudioGroupSet>>,0,Q24rstl138select1st,Q24rstl17rmemory_allocator>,Q24rstl26ncrc_ptr<14CAudioGroupSet>>>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator" -/* 8034C448 003493A8 28 1D 00 00 */ cmplwi r29, 0 -/* 8034C44C 003493AC 41 82 00 10 */ beq lbl_8034C45C -/* 8034C450 003493B0 41 82 00 0C */ beq lbl_8034C45C -/* 8034C454 003493B4 7F A3 EB 78 */ mr r3, r29 -/* 8034C458 003493B8 48 00 05 81 */ bl sub_8034c9d8 -lbl_8034C45C: -/* 8034C45C 003493BC 38 61 00 5C */ addi r3, r1, 0x5c -/* 8034C460 003493C0 4B FF 16 81 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8034C464 003493C4 3B A1 00 4C */ addi r29, r1, 0x4c -/* 8034C468 003493C8 93 E1 00 48 */ stw r31, 0x48(r1) -/* 8034C46C 003493CC 7F A3 EB 78 */ mr r3, r29 -/* 8034C470 003493D0 7F C4 F3 78 */ mr r4, r30 -/* 8034C474 003493D4 4B FF 1C ED */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8034C478 003493D8 80 8D A9 D8 */ lwz r4, lbl_805A9598@sda21(r13) -/* 8034C47C 003493DC 38 61 00 24 */ addi r3, r1, 0x24 -/* 8034C480 003493E0 38 C1 00 48 */ addi r6, r1, 0x48 -/* 8034C484 003493E4 80 A4 00 10 */ lwz r5, 0x10(r4) -/* 8034C488 003493E8 48 00 0A C5 */ bl "insert_into__Q24rstl273red_black_tree,Q24rstl17rmemory_allocator>>,0,Q24rstl104select1st,Q24rstl17rmemory_allocator>>>,Q24rstl8less,Q24rstl17rmemory_allocator>FPQ34rstl273red_black_tree,Q24rstl17rmemory_allocator>>,0,Q24rstl104select1st,Q24" -/* 8034C48C 003493EC 28 1D 00 00 */ cmplwi r29, 0 -/* 8034C490 003493F0 41 82 00 0C */ beq lbl_8034C49C -/* 8034C494 003493F4 7F A3 EB 78 */ mr r3, r29 -/* 8034C498 003493F8 4B FF 16 49 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8034C49C: -/* 8034C49C 003493FC 38 61 00 0C */ addi r3, r1, 0xc -/* 8034C4A0 00349400 48 00 05 39 */ bl sub_8034c9d8 -/* 8034C4A4 00349404 38 61 00 3C */ addi r3, r1, 0x3c -/* 8034C4A8 00349408 38 80 00 00 */ li r4, 0 -/* 8034C4AC 0034940C 4B FF 49 95 */ bl __dt__6CTokenFv -/* 8034C4B0 00349410 38 61 00 10 */ addi r3, r1, 0x10 -/* 8034C4B4 00349414 48 00 05 25 */ bl sub_8034c9d8 -/* 8034C4B8 00349418 38 60 00 00 */ li r3, 0 -/* 8034C4BC 0034941C 48 00 00 14 */ b lbl_8034C4D0 -lbl_8034C4C0: -/* 8034C4C0 00349420 4B FF E1 B9 */ bl Reload__14CAudioGroupSetFv -/* 8034C4C4 00349424 38 61 00 10 */ addi r3, r1, 0x10 -/* 8034C4C8 00349428 48 00 05 11 */ bl sub_8034c9d8 -/* 8034C4CC 0034942C 38 60 00 01 */ li r3, 1 -lbl_8034C4D0: -/* 8034C4D0 00349430 80 01 00 84 */ lwz r0, 0x84(r1) -/* 8034C4D4 00349434 83 E1 00 7C */ lwz r31, 0x7c(r1) -/* 8034C4D8 00349438 83 C1 00 78 */ lwz r30, 0x78(r1) -/* 8034C4DC 0034943C 83 A1 00 74 */ lwz r29, 0x74(r1) -/* 8034C4E0 00349440 7C 08 03 A6 */ mtlr r0 -/* 8034C4E4 00349444 38 21 00 80 */ addi r1, r1, 0x80 -/* 8034C4E8 00349448 4E 80 00 20 */ blr - -.global SysSetSfxVolume__9CAudioSysFUcUsUcUc -SysSetSfxVolume__9CAudioSysFUcUsUcUc: -/* 8034C4EC 0034944C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034C4F0 00349450 7C 08 02 A6 */ mflr r0 -/* 8034C4F4 00349454 54 63 06 3E */ clrlwi r3, r3, 0x18 -/* 8034C4F8 00349458 54 84 04 3E */ clrlwi r4, r4, 0x10 -/* 8034C4FC 0034945C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8034C500 00349460 54 A5 06 3E */ clrlwi r5, r5, 0x18 -/* 8034C504 00349464 54 C6 06 3E */ clrlwi r6, r6, 0x18 -/* 8034C508 00349468 48 04 FE AD */ bl sndMasterVolume -/* 8034C50C 0034946C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8034C510 00349470 7C 08 03 A6 */ mtlr r0 -/* 8034C514 00349474 38 21 00 10 */ addi r1, r1, 0x10 -/* 8034C518 00349478 4E 80 00 20 */ blr - -.global SysSetVolume__9CAudioSysFUcUsUc -SysSetVolume__9CAudioSysFUcUsUc: -/* 8034C51C 0034947C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034C520 00349480 7C 08 02 A6 */ mflr r0 -/* 8034C524 00349484 54 63 06 3E */ clrlwi r3, r3, 0x18 -/* 8034C528 00349488 54 84 04 3E */ clrlwi r4, r4, 0x10 -/* 8034C52C 0034948C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8034C530 00349490 54 A5 06 3E */ clrlwi r5, r5, 0x18 -/* 8034C534 00349494 48 04 FE 21 */ bl sndVolume -/* 8034C538 00349498 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8034C53C 0034949C 7C 08 03 A6 */ mtlr r0 -/* 8034C540 003494A0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8034C544 003494A4 4E 80 00 20 */ blr - -.global __dt__9CAudioSysFv -__dt__9CAudioSysFv: -/* 8034C548 003494A8 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8034C54C 003494AC 7C 08 02 A6 */ mflr r0 -/* 8034C550 003494B0 90 01 00 34 */ stw r0, 0x34(r1) -/* 8034C554 003494B4 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8034C558 003494B8 7C 9F 23 78 */ mr r31, r4 -/* 8034C55C 003494BC 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8034C560 003494C0 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8034C564 003494C4 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8034C568 003494C8 41 82 01 68 */ beq lbl_8034C6D0 -/* 8034C56C 003494CC 4B FF E5 F1 */ bl S3dFlushAllEmitters__9CAudioSysFv -/* 8034C570 003494D0 4B FF E8 C9 */ bl S3dRemoveListener__9CAudioSysFv -/* 8034C574 003494D4 48 06 47 65 */ bl sndQuit -/* 8034C578 003494D8 83 AD A9 D4 */ lwz r29, lbl_805A9594@sda21(r13) -/* 8034C57C 003494DC 28 1D 00 00 */ cmplwi r29, 0 -/* 8034C580 003494E0 41 82 00 38 */ beq lbl_8034C5B8 -/* 8034C584 003494E4 41 82 00 2C */ beq lbl_8034C5B0 -/* 8034C588 003494E8 80 9D 00 10 */ lwz r4, 0x10(r29) -/* 8034C58C 003494EC 28 04 00 00 */ cmplwi r4, 0 -/* 8034C590 003494F0 41 82 00 0C */ beq lbl_8034C59C -/* 8034C594 003494F4 7F A3 EB 78 */ mr r3, r29 -/* 8034C598 003494F8 48 00 05 BD */ bl sub_8034cb54 -lbl_8034C59C: -/* 8034C59C 003494FC 38 00 00 00 */ li r0, 0 -/* 8034C5A0 00349500 90 1D 00 10 */ stw r0, 0x10(r29) -/* 8034C5A4 00349504 90 1D 00 08 */ stw r0, 8(r29) -/* 8034C5A8 00349508 90 1D 00 0C */ stw r0, 0xc(r29) -/* 8034C5AC 0034950C 90 1D 00 04 */ stw r0, 4(r29) -lbl_8034C5B0: -/* 8034C5B0 00349510 7F A3 EB 78 */ mr r3, r29 -/* 8034C5B4 00349514 4B FC 93 7D */ bl Free__7CMemoryFPCv -lbl_8034C5B8: -/* 8034C5B8 00349518 83 AD A9 D8 */ lwz r29, lbl_805A9598@sda21(r13) -/* 8034C5BC 0034951C 38 00 00 00 */ li r0, 0 -/* 8034C5C0 00349520 90 0D A9 D4 */ stw r0, lbl_805A9594@sda21(r13) -/* 8034C5C4 00349524 28 1D 00 00 */ cmplwi r29, 0 -/* 8034C5C8 00349528 41 82 00 38 */ beq lbl_8034C600 -/* 8034C5CC 0034952C 41 82 00 2C */ beq lbl_8034C5F8 -/* 8034C5D0 00349530 80 9D 00 10 */ lwz r4, 0x10(r29) -/* 8034C5D4 00349534 28 04 00 00 */ cmplwi r4, 0 -/* 8034C5D8 00349538 41 82 00 0C */ beq lbl_8034C5E4 -/* 8034C5DC 0034953C 7F A3 EB 78 */ mr r3, r29 -/* 8034C5E0 00349540 48 00 04 F1 */ bl sub_8034cad0 -lbl_8034C5E4: -/* 8034C5E4 00349544 38 00 00 00 */ li r0, 0 -/* 8034C5E8 00349548 90 1D 00 10 */ stw r0, 0x10(r29) -/* 8034C5EC 0034954C 90 1D 00 08 */ stw r0, 8(r29) -/* 8034C5F0 00349550 90 1D 00 0C */ stw r0, 0xc(r29) -/* 8034C5F4 00349554 90 1D 00 04 */ stw r0, 4(r29) -lbl_8034C5F8: -/* 8034C5F8 00349558 7F A3 EB 78 */ mr r3, r29 -/* 8034C5FC 0034955C 4B FC 93 35 */ bl Free__7CMemoryFPCv -lbl_8034C600: -/* 8034C600 00349560 83 AD A9 DC */ lwz r29, lbl_805A959C@sda21(r13) -/* 8034C604 00349564 38 00 00 00 */ li r0, 0 -/* 8034C608 00349568 90 0D A9 D8 */ stw r0, lbl_805A9598@sda21(r13) -/* 8034C60C 0034956C 28 1D 00 00 */ cmplwi r29, 0 -/* 8034C610 00349570 41 82 00 38 */ beq lbl_8034C648 -/* 8034C614 00349574 41 82 00 2C */ beq lbl_8034C640 -/* 8034C618 00349578 80 9D 00 10 */ lwz r4, 0x10(r29) -/* 8034C61C 0034957C 28 04 00 00 */ cmplwi r4, 0 -/* 8034C620 00349580 41 82 00 0C */ beq lbl_8034C62C -/* 8034C624 00349584 7F A3 EB 78 */ mr r3, r29 -/* 8034C628 00349588 48 00 04 0D */ bl sub_8034ca34 -lbl_8034C62C: -/* 8034C62C 0034958C 38 00 00 00 */ li r0, 0 -/* 8034C630 00349590 90 1D 00 10 */ stw r0, 0x10(r29) -/* 8034C634 00349594 90 1D 00 08 */ stw r0, 8(r29) -/* 8034C638 00349598 90 1D 00 0C */ stw r0, 0xc(r29) -/* 8034C63C 0034959C 90 1D 00 04 */ stw r0, 4(r29) -lbl_8034C640: -/* 8034C640 003495A0 7F A3 EB 78 */ mr r3, r29 -/* 8034C644 003495A4 4B FC 92 ED */ bl Free__7CMemoryFPCv -lbl_8034C648: -/* 8034C648 003495A8 83 AD A9 E0 */ lwz r29, lbl_805A95A0@sda21(r13) -/* 8034C64C 003495AC 38 00 00 00 */ li r0, 0 -/* 8034C650 003495B0 90 0D A9 DC */ stw r0, lbl_805A959C@sda21(r13) -/* 8034C654 003495B4 28 1D 00 00 */ cmplwi r29, 0 -/* 8034C658 003495B8 41 82 00 4C */ beq lbl_8034C6A4 -/* 8034C65C 003495BC 80 1D 00 04 */ lwz r0, 4(r29) -/* 8034C660 003495C0 80 7D 00 0C */ lwz r3, 0xc(r29) -/* 8034C664 003495C4 1C 00 00 54 */ mulli r0, r0, 0x54 -/* 8034C668 003495C8 90 61 00 0C */ stw r3, 0xc(r1) -/* 8034C66C 003495CC 7C 64 1B 78 */ mr r4, r3 -/* 8034C670 003495D0 7C 03 02 14 */ add r0, r3, r0 -/* 8034C674 003495D4 90 61 00 08 */ stw r3, 8(r1) -/* 8034C678 003495D8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8034C67C 003495DC 90 01 00 10 */ stw r0, 0x10(r1) -/* 8034C680 003495E0 48 00 00 08 */ b lbl_8034C688 -lbl_8034C684: -/* 8034C684 003495E4 38 84 00 54 */ addi r4, r4, 0x54 -lbl_8034C688: -/* 8034C688 003495E8 7C 04 00 40 */ cmplw r4, r0 -/* 8034C68C 003495EC 40 82 FF F8 */ bne lbl_8034C684 -/* 8034C690 003495F0 28 03 00 00 */ cmplwi r3, 0 -/* 8034C694 003495F4 41 82 00 08 */ beq lbl_8034C69C -/* 8034C698 003495F8 4B FC 92 99 */ bl Free__7CMemoryFPCv -lbl_8034C69C: -/* 8034C69C 003495FC 7F A3 EB 78 */ mr r3, r29 -/* 8034C6A0 00349600 4B FC 92 91 */ bl Free__7CMemoryFPCv -lbl_8034C6A4: -/* 8034C6A4 00349604 38 00 00 00 */ li r0, 0 -/* 8034C6A8 00349608 80 6D A9 E4 */ lwz r3, lbl_805A95A4@sda21(r13) -/* 8034C6AC 0034960C 90 0D A9 E0 */ stw r0, lbl_805A95A0@sda21(r13) -/* 8034C6B0 00349610 4B FC 92 81 */ bl Free__7CMemoryFPCv -/* 8034C6B4 00349614 38 60 00 00 */ li r3, 0 -/* 8034C6B8 00349618 7F E0 07 35 */ extsh. r0, r31 -/* 8034C6BC 0034961C 90 6D A9 E4 */ stw r3, lbl_805A95A4@sda21(r13) -/* 8034C6C0 00349620 98 6D A9 D0 */ stb r3, lbl_805A9590@sda21(r13) -/* 8034C6C4 00349624 40 81 00 0C */ ble lbl_8034C6D0 -/* 8034C6C8 00349628 7F C3 F3 78 */ mr r3, r30 -/* 8034C6CC 0034962C 4B FC 92 65 */ bl Free__7CMemoryFPCv -lbl_8034C6D0: -/* 8034C6D0 00349630 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8034C6D4 00349634 7F C3 F3 78 */ mr r3, r30 -/* 8034C6D8 00349638 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8034C6DC 0034963C 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8034C6E0 00349640 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 8034C6E4 00349644 7C 08 03 A6 */ mtlr r0 -/* 8034C6E8 00349648 38 21 00 30 */ addi r1, r1, 0x30 -/* 8034C6EC 0034964C 4E 80 00 20 */ blr - -.global __ct__9CAudioSysFUcUcUcUcUi -__ct__9CAudioSysFUcUcUcUcUi: -/* 8034C6F0 00349650 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 8034C6F4 00349654 7C 08 02 A6 */ mflr r0 -/* 8034C6F8 00349658 39 40 00 01 */ li r10, 1 -/* 8034C6FC 0034965C 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 8034C700 00349660 BF 41 00 88 */ stmw r26, 0x88(r1) -/* 8034C704 00349664 7C 7A 1B 78 */ mr r26, r3 -/* 8034C708 00349668 7C 9F 23 78 */ mr r31, r4 -/* 8034C70C 0034966C 7C BE 2B 78 */ mr r30, r5 -/* 8034C710 00349670 7C DD 33 78 */ mr r29, r6 -/* 8034C714 00349674 7C FB 3B 78 */ mr r27, r7 -/* 8034C718 00349678 7D 1C 43 78 */ mr r28, r8 -/* 8034C71C 0034967C 38 60 00 00 */ li r3, 0 -/* 8034C720 00349680 81 22 CC 44 */ lwz r9, lbl_805AE964@sda21(r2) -/* 8034C724 00349684 80 02 CC 48 */ lwz r0, lbl_805AE968@sda21(r2) -/* 8034C728 00349688 99 4D A9 D0 */ stb r10, lbl_805A9590@sda21(r13) -/* 8034C72C 0034968C 91 21 00 20 */ stw r9, 0x20(r1) -/* 8034C730 00349690 90 01 00 24 */ stw r0, 0x24(r1) -/* 8034C734 00349694 48 02 0C A1 */ bl AIInit -/* 8034C738 00349698 38 61 00 20 */ addi r3, r1, 0x20 -/* 8034C73C 0034969C 48 06 77 CD */ bl sndSetHooks -/* 8034C740 003496A0 88 0D 9D D8 */ lbz r0, lbl_805A8998@sda21(r13) -/* 8034C744 003496A4 28 00 00 00 */ cmplwi r0, 0 -/* 8034C748 003496A8 41 82 00 24 */ beq lbl_8034C76C -/* 8034C74C 003496AC 7F 88 E3 78 */ mr r8, r28 -/* 8034C750 003496B0 57 E3 06 3E */ clrlwi r3, r31, 0x18 -/* 8034C754 003496B4 57 C4 06 3E */ clrlwi r4, r30, 0x18 -/* 8034C758 003496B8 57 A5 06 3E */ clrlwi r5, r29, 0x18 -/* 8034C75C 003496BC 38 C0 00 01 */ li r6, 1 -/* 8034C760 003496C0 38 E0 00 01 */ li r7, 1 -/* 8034C764 003496C4 48 06 44 5D */ bl sndInit -/* 8034C768 003496C8 48 00 00 20 */ b lbl_8034C788 -lbl_8034C76C: -/* 8034C76C 003496CC 7F 88 E3 78 */ mr r8, r28 -/* 8034C770 003496D0 57 E3 06 3E */ clrlwi r3, r31, 0x18 -/* 8034C774 003496D4 57 C4 06 3E */ clrlwi r4, r30, 0x18 -/* 8034C778 003496D8 57 A5 06 3E */ clrlwi r5, r29, 0x18 -/* 8034C77C 003496DC 38 C0 00 01 */ li r6, 1 -/* 8034C780 003496E0 38 E0 00 00 */ li r7, 0 -/* 8034C784 003496E4 48 06 44 3D */ bl sndInit -lbl_8034C788: -/* 8034C788 003496E8 48 06 B2 15 */ bl DTKInit -/* 8034C78C 003496EC 3C 80 80 3E */ lis r4, lbl_803D8210@ha -/* 8034C790 003496F0 38 60 00 14 */ li r3, 0x14 -/* 8034C794 003496F4 38 84 82 10 */ addi r4, r4, lbl_803D8210@l -/* 8034C798 003496F8 38 A0 00 00 */ li r5, 0 -/* 8034C79C 003496FC 4B FC 90 D1 */ bl __nw__FUlPCcPCc -/* 8034C7A0 00349700 28 03 00 00 */ cmplwi r3, 0 -/* 8034C7A4 00349704 41 82 00 28 */ beq lbl_8034C7CC -/* 8034C7A8 00349708 88 A1 00 10 */ lbz r5, 0x10(r1) -/* 8034C7AC 0034970C 38 00 00 00 */ li r0, 0 -/* 8034C7B0 00349710 88 81 00 1C */ lbz r4, 0x1c(r1) -/* 8034C7B4 00349714 98 A3 00 00 */ stb r5, 0(r3) -/* 8034C7B8 00349718 98 83 00 01 */ stb r4, 1(r3) -/* 8034C7BC 0034971C 90 03 00 04 */ stw r0, 4(r3) -/* 8034C7C0 00349720 90 03 00 08 */ stw r0, 8(r3) -/* 8034C7C4 00349724 90 03 00 0C */ stw r0, 0xc(r3) -/* 8034C7C8 00349728 90 03 00 10 */ stw r0, 0x10(r3) -lbl_8034C7CC: -/* 8034C7CC 0034972C 3C 80 80 3E */ lis r4, lbl_803D8210@ha -/* 8034C7D0 00349730 90 6D A9 D4 */ stw r3, lbl_805A9594@sda21(r13) -/* 8034C7D4 00349734 38 84 82 10 */ addi r4, r4, lbl_803D8210@l -/* 8034C7D8 00349738 38 60 00 14 */ li r3, 0x14 -/* 8034C7DC 0034973C 38 A0 00 00 */ li r5, 0 -/* 8034C7E0 00349740 4B FC 90 8D */ bl __nw__FUlPCcPCc -/* 8034C7E4 00349744 28 03 00 00 */ cmplwi r3, 0 -/* 8034C7E8 00349748 41 82 00 28 */ beq lbl_8034C810 -/* 8034C7EC 0034974C 88 A1 00 0C */ lbz r5, 0xc(r1) -/* 8034C7F0 00349750 38 00 00 00 */ li r0, 0 -/* 8034C7F4 00349754 88 81 00 18 */ lbz r4, 0x18(r1) -/* 8034C7F8 00349758 98 A3 00 00 */ stb r5, 0(r3) -/* 8034C7FC 0034975C 98 83 00 01 */ stb r4, 1(r3) -/* 8034C800 00349760 90 03 00 04 */ stw r0, 4(r3) -/* 8034C804 00349764 90 03 00 08 */ stw r0, 8(r3) -/* 8034C808 00349768 90 03 00 0C */ stw r0, 0xc(r3) -/* 8034C80C 0034976C 90 03 00 10 */ stw r0, 0x10(r3) -lbl_8034C810: -/* 8034C810 00349770 3C 80 80 3E */ lis r4, lbl_803D8210@ha -/* 8034C814 00349774 90 6D A9 D8 */ stw r3, lbl_805A9598@sda21(r13) -/* 8034C818 00349778 38 84 82 10 */ addi r4, r4, lbl_803D8210@l -/* 8034C81C 0034977C 38 60 00 14 */ li r3, 0x14 -/* 8034C820 00349780 38 A0 00 00 */ li r5, 0 -/* 8034C824 00349784 4B FC 90 49 */ bl __nw__FUlPCcPCc -/* 8034C828 00349788 28 03 00 00 */ cmplwi r3, 0 -/* 8034C82C 0034978C 41 82 00 28 */ beq lbl_8034C854 -/* 8034C830 00349790 88 A1 00 08 */ lbz r5, 8(r1) -/* 8034C834 00349794 38 00 00 00 */ li r0, 0 -/* 8034C838 00349798 88 81 00 14 */ lbz r4, 0x14(r1) -/* 8034C83C 0034979C 98 A3 00 00 */ stb r5, 0(r3) -/* 8034C840 003497A0 98 83 00 01 */ stb r4, 1(r3) -/* 8034C844 003497A4 90 03 00 04 */ stw r0, 4(r3) -/* 8034C848 003497A8 90 03 00 08 */ stw r0, 8(r3) -/* 8034C84C 003497AC 90 03 00 0C */ stw r0, 0xc(r3) -/* 8034C850 003497B0 90 03 00 10 */ stw r0, 0x10(r3) -lbl_8034C854: -/* 8034C854 003497B4 3C 80 80 3E */ lis r4, lbl_803D8210@ha -/* 8034C858 003497B8 90 6D A9 DC */ stw r3, lbl_805A959C@sda21(r13) -/* 8034C85C 003497BC 38 84 82 10 */ addi r4, r4, lbl_803D8210@l -/* 8034C860 003497C0 38 60 00 10 */ li r3, 0x10 -/* 8034C864 003497C4 38 A0 00 00 */ li r5, 0 -/* 8034C868 003497C8 4B FC 90 05 */ bl __nw__FUlPCcPCc -/* 8034C86C 003497CC 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8034C870 003497D0 41 82 00 A0 */ beq lbl_8034C910 -/* 8034C874 003497D4 57 7D 06 3E */ clrlwi r29, r27, 0x18 -/* 8034C878 003497D8 8B E2 CC 41 */ lbz r31, lbl_805AE961@sda21(r2) -/* 8034C87C 003497DC 93 BE 00 04 */ stw r29, 4(r30) -/* 8034C880 003497E0 93 BE 00 08 */ stw r29, 8(r30) -/* 8034C884 003497E4 80 1E 00 04 */ lwz r0, 4(r30) -/* 8034C888 003497E8 1C 60 00 54 */ mulli r3, r0, 0x54 -/* 8034C88C 003497EC 2C 03 00 00 */ cmpwi r3, 0 -/* 8034C890 003497F0 40 82 00 10 */ bne lbl_8034C8A0 -/* 8034C894 003497F4 38 00 00 00 */ li r0, 0 -/* 8034C898 003497F8 90 1E 00 0C */ stw r0, 0xc(r30) -/* 8034C89C 003497FC 48 00 00 18 */ b lbl_8034C8B4 -lbl_8034C8A0: -/* 8034C8A0 00349800 3C 80 80 3E */ lis r4, lbl_803D8210@ha -/* 8034C8A4 00349804 38 A0 00 00 */ li r5, 0 -/* 8034C8A8 00349808 38 84 82 10 */ addi r4, r4, lbl_803D8210@l -/* 8034C8AC 0034980C 4B FC 8F 6D */ bl __nwa__FUlPCcPCc -/* 8034C8B0 00349810 90 7E 00 0C */ stw r3, 0xc(r30) -lbl_8034C8B4: -/* 8034C8B4 00349814 39 20 00 00 */ li r9, 0 -/* 8034C8B8 00349818 81 5E 00 0C */ lwz r10, 0xc(r30) -/* 8034C8BC 0034981C 7D 23 4B 78 */ mr r3, r9 -/* 8034C8C0 00349820 38 C0 00 0A */ li r6, 0xa -/* 8034C8C4 00349824 7D 20 4B 78 */ mr r0, r9 -/* 8034C8C8 00349828 48 00 00 40 */ b lbl_8034C908 -lbl_8034C8CC: -/* 8034C8CC 0034982C 28 0A 00 00 */ cmplwi r10, 0 -/* 8034C8D0 00349830 41 82 00 30 */ beq lbl_8034C900 -/* 8034C8D4 00349834 39 0A FF FC */ addi r8, r10, -4 -/* 8034C8D8 00349838 38 E1 00 24 */ addi r7, r1, 0x24 -/* 8034C8DC 0034983C 7C C9 03 A6 */ mtctr r6 -lbl_8034C8E0: -/* 8034C8E0 00349840 80 A7 00 04 */ lwz r5, 4(r7) -/* 8034C8E4 00349844 84 87 00 08 */ lwzu r4, 8(r7) -/* 8034C8E8 00349848 90 A8 00 04 */ stw r5, 4(r8) -/* 8034C8EC 0034984C 94 88 00 08 */ stwu r4, 8(r8) -/* 8034C8F0 00349850 42 00 FF F0 */ bdnz lbl_8034C8E0 -/* 8034C8F4 00349854 98 6A 00 50 */ stb r3, 0x50(r10) -/* 8034C8F8 00349858 98 0A 00 51 */ stb r0, 0x51(r10) -/* 8034C8FC 0034985C 9B EA 00 52 */ stb r31, 0x52(r10) -lbl_8034C900: -/* 8034C900 00349860 39 29 00 01 */ addi r9, r9, 1 -/* 8034C904 00349864 39 4A 00 54 */ addi r10, r10, 0x54 -lbl_8034C908: -/* 8034C908 00349868 7C 09 E8 00 */ cmpw r9, r29 -/* 8034C90C 0034986C 41 80 FF C0 */ blt lbl_8034C8CC -lbl_8034C910: -/* 8034C910 00349870 3C 60 80 3E */ lis r3, lbl_803D8210@ha -/* 8034C914 00349874 93 CD A9 E0 */ stw r30, lbl_805A95A0@sda21(r13) -/* 8034C918 00349878 38 83 82 10 */ addi r4, r3, lbl_803D8210@l -/* 8034C91C 0034987C 38 A0 00 00 */ li r5, 0 -/* 8034C920 00349880 38 60 00 90 */ li r3, 0x90 -/* 8034C924 00349884 4B FC 8F 49 */ bl __nw__FUlPCcPCc -/* 8034C928 00349888 38 00 00 00 */ li r0, 0 -/* 8034C92C 0034988C 90 6D A9 E4 */ stw r3, lbl_805A95A4@sda21(r13) -/* 8034C930 00349890 98 0D A9 D1 */ stb r0, lbl_805A9591@sda21(r13) -/* 8034C934 00349894 9B 6D A9 D3 */ stb r27, lbl_805A9593@sda21(r13) -/* 8034C938 00349898 48 03 76 D9 */ bl OSGetSoundMode -/* 8034C93C 0034989C 28 03 00 00 */ cmplwi r3, 0 -/* 8034C940 003498A0 40 82 00 18 */ bne lbl_8034C958 -/* 8034C944 003498A4 38 60 00 00 */ li r3, 0 -/* 8034C948 003498A8 48 04 FB 01 */ bl sndOutputMode -/* 8034C94C 003498AC 38 00 00 00 */ li r0, 0 -/* 8034C950 003498B0 90 0D A9 EC */ stw r0, lbl_805A95AC@sda21(r13) -/* 8034C954 003498B4 48 00 00 14 */ b lbl_8034C968 -lbl_8034C958: -/* 8034C958 003498B8 38 60 00 02 */ li r3, 2 -/* 8034C95C 003498BC 48 04 FA ED */ bl sndOutputMode -/* 8034C960 003498C0 38 00 00 02 */ li r0, 2 -/* 8034C964 003498C4 90 0D A9 EC */ stw r0, lbl_805A95AC@sda21(r13) -lbl_8034C968: -/* 8034C968 003498C8 93 8D A9 F0 */ stw r28, lbl_805A95B0@sda21(r13) -/* 8034C96C 003498CC 7F 43 D3 78 */ mr r3, r26 -/* 8034C970 003498D0 BB 41 00 88 */ lmw r26, 0x88(r1) -/* 8034C974 003498D4 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 8034C978 003498D8 7C 08 03 A6 */ mtlr r0 -/* 8034C97C 003498DC 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 8034C980 003498E0 4E 80 00 20 */ blr - -.global DoFree__FPv -DoFree__FPv: -/* 8034C984 003498E4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034C988 003498E8 7C 08 02 A6 */ mflr r0 -/* 8034C98C 003498EC 28 03 00 00 */ cmplwi r3, 0 -/* 8034C990 003498F0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8034C994 003498F4 41 82 00 08 */ beq lbl_8034C99C -/* 8034C998 003498F8 4B FC 8F 99 */ bl Free__7CMemoryFPCv -lbl_8034C99C: -/* 8034C99C 003498FC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8034C9A0 00349900 7C 08 03 A6 */ mtlr r0 -/* 8034C9A4 00349904 38 21 00 10 */ addi r1, r1, 0x10 -/* 8034C9A8 00349908 4E 80 00 20 */ blr - -.global DoMalloc__FUl -DoMalloc__FUl: -/* 8034C9AC 0034990C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034C9B0 00349910 7C 08 02 A6 */ mflr r0 -/* 8034C9B4 00349914 3C 80 80 3E */ lis r4, lbl_803D8210@ha -/* 8034C9B8 00349918 38 A0 00 00 */ li r5, 0 -/* 8034C9BC 0034991C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8034C9C0 00349920 38 84 82 10 */ addi r4, r4, lbl_803D8210@l -/* 8034C9C4 00349924 4B FC 8E 55 */ bl __nwa__FUlPCcPCc -/* 8034C9C8 00349928 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8034C9CC 0034992C 7C 08 03 A6 */ mtlr r0 -/* 8034C9D0 00349930 38 21 00 10 */ addi r1, r1, 0x10 -/* 8034C9D4 00349934 4E 80 00 20 */ blr - -.global sub_8034c9d8 -sub_8034c9d8: -/* 8034C9D8 00349938 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034C9DC 0034993C 7C 08 02 A6 */ mflr r0 -/* 8034C9E0 00349940 90 01 00 14 */ stw r0, 0x14(r1) -/* 8034C9E4 00349944 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8034C9E8 00349948 7C 7F 1B 78 */ mr r31, r3 -/* 8034C9EC 0034994C 80 83 00 00 */ lwz r4, 0(r3) -/* 8034C9F0 00349950 80 64 00 04 */ lwz r3, 4(r4) -/* 8034C9F4 00349954 34 03 FF FF */ addic. r0, r3, -1 -/* 8034C9F8 00349958 90 04 00 04 */ stw r0, 4(r4) -/* 8034C9FC 0034995C 41 81 00 24 */ bgt lbl_8034CA20 -/* 8034CA00 00349960 80 7F 00 00 */ lwz r3, 0(r31) -/* 8034CA04 00349964 38 80 00 01 */ li r4, 1 -/* 8034CA08 00349968 80 63 00 00 */ lwz r3, 0(r3) -/* 8034CA0C 0034996C 4B FF DC 71 */ bl __dt__14CAudioGroupSetFv -/* 8034CA10 00349970 80 7F 00 00 */ lwz r3, 0(r31) -/* 8034CA14 00349974 28 03 00 00 */ cmplwi r3, 0 -/* 8034CA18 00349978 41 82 00 08 */ beq lbl_8034CA20 -/* 8034CA1C 0034997C 4B FC 8F 15 */ bl Free__7CMemoryFPCv -lbl_8034CA20: -/* 8034CA20 00349980 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8034CA24 00349984 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8034CA28 00349988 7C 08 03 A6 */ mtlr r0 -/* 8034CA2C 0034998C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8034CA30 00349990 4E 80 00 20 */ blr - -.global sub_8034ca34 -sub_8034ca34: -/* 8034CA34 00349994 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034CA38 00349998 7C 08 02 A6 */ mflr r0 -/* 8034CA3C 0034999C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8034CA40 003499A0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8034CA44 003499A4 7C 9F 23 78 */ mr r31, r4 -/* 8034CA48 003499A8 93 C1 00 08 */ stw r30, 8(r1) -/* 8034CA4C 003499AC 7C 7E 1B 78 */ mr r30, r3 -/* 8034CA50 003499B0 80 84 00 00 */ lwz r4, 0(r4) -/* 8034CA54 003499B4 28 04 00 00 */ cmplwi r4, 0 -/* 8034CA58 003499B8 41 82 00 08 */ beq lbl_8034CA60 -/* 8034CA5C 003499BC 4B FF FF D9 */ bl sub_8034ca34 -lbl_8034CA60: -/* 8034CA60 003499C0 80 9F 00 04 */ lwz r4, 4(r31) -/* 8034CA64 003499C4 28 04 00 00 */ cmplwi r4, 0 -/* 8034CA68 003499C8 41 82 00 0C */ beq lbl_8034CA74 -/* 8034CA6C 003499CC 7F C3 F3 78 */ mr r3, r30 -/* 8034CA70 003499D0 4B FF FF C5 */ bl sub_8034ca34 -lbl_8034CA74: -/* 8034CA74 003499D4 28 1F 00 00 */ cmplwi r31, 0 -/* 8034CA78 003499D8 41 82 00 30 */ beq lbl_8034CAA8 -/* 8034CA7C 003499DC 34 1F 00 10 */ addic. r0, r31, 0x10 -/* 8034CA80 003499E0 41 82 00 28 */ beq lbl_8034CAA8 -/* 8034CA84 003499E4 34 7F 00 20 */ addic. r3, r31, 0x20 -/* 8034CA88 003499E8 41 82 00 10 */ beq lbl_8034CA98 -/* 8034CA8C 003499EC 28 03 00 00 */ cmplwi r3, 0 -/* 8034CA90 003499F0 41 82 00 08 */ beq lbl_8034CA98 -/* 8034CA94 003499F4 48 00 09 71 */ bl sub_8034d404 -lbl_8034CA98: -/* 8034CA98 003499F8 34 1F 00 10 */ addic. r0, r31, 0x10 -/* 8034CA9C 003499FC 41 82 00 0C */ beq lbl_8034CAA8 -/* 8034CAA0 00349A00 38 7F 00 10 */ addi r3, r31, 0x10 -/* 8034CAA4 00349A04 4B FF 10 3D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8034CAA8: -/* 8034CAA8 00349A08 28 1F 00 00 */ cmplwi r31, 0 -/* 8034CAAC 00349A0C 41 82 00 0C */ beq lbl_8034CAB8 -/* 8034CAB0 00349A10 7F E3 FB 78 */ mr r3, r31 -/* 8034CAB4 00349A14 4B FC 8E 7D */ bl Free__7CMemoryFPCv -lbl_8034CAB8: -/* 8034CAB8 00349A18 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8034CABC 00349A1C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8034CAC0 00349A20 83 C1 00 08 */ lwz r30, 8(r1) -/* 8034CAC4 00349A24 7C 08 03 A6 */ mtlr r0 -/* 8034CAC8 00349A28 38 21 00 10 */ addi r1, r1, 0x10 -/* 8034CACC 00349A2C 4E 80 00 20 */ blr - -.global sub_8034cad0 -sub_8034cad0: -/* 8034CAD0 00349A30 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034CAD4 00349A34 7C 08 02 A6 */ mflr r0 -/* 8034CAD8 00349A38 90 01 00 14 */ stw r0, 0x14(r1) -/* 8034CADC 00349A3C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8034CAE0 00349A40 7C 9F 23 78 */ mr r31, r4 -/* 8034CAE4 00349A44 93 C1 00 08 */ stw r30, 8(r1) -/* 8034CAE8 00349A48 7C 7E 1B 78 */ mr r30, r3 -/* 8034CAEC 00349A4C 80 84 00 00 */ lwz r4, 0(r4) -/* 8034CAF0 00349A50 28 04 00 00 */ cmplwi r4, 0 -/* 8034CAF4 00349A54 41 82 00 08 */ beq lbl_8034CAFC -/* 8034CAF8 00349A58 4B FF FF D9 */ bl sub_8034cad0 -lbl_8034CAFC: -/* 8034CAFC 00349A5C 80 9F 00 04 */ lwz r4, 4(r31) -/* 8034CB00 00349A60 28 04 00 00 */ cmplwi r4, 0 -/* 8034CB04 00349A64 41 82 00 0C */ beq lbl_8034CB10 -/* 8034CB08 00349A68 7F C3 F3 78 */ mr r3, r30 -/* 8034CB0C 00349A6C 4B FF FF C5 */ bl sub_8034cad0 -lbl_8034CB10: -/* 8034CB10 00349A70 28 1F 00 00 */ cmplwi r31, 0 -/* 8034CB14 00349A74 41 82 00 18 */ beq lbl_8034CB2C -/* 8034CB18 00349A78 34 1F 00 10 */ addic. r0, r31, 0x10 -/* 8034CB1C 00349A7C 41 82 00 10 */ beq lbl_8034CB2C -/* 8034CB20 00349A80 34 7F 00 14 */ addic. r3, r31, 0x14 -/* 8034CB24 00349A84 41 82 00 08 */ beq lbl_8034CB2C -/* 8034CB28 00349A88 4B FF 0F B9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8034CB2C: -/* 8034CB2C 00349A8C 28 1F 00 00 */ cmplwi r31, 0 -/* 8034CB30 00349A90 41 82 00 0C */ beq lbl_8034CB3C -/* 8034CB34 00349A94 7F E3 FB 78 */ mr r3, r31 -/* 8034CB38 00349A98 4B FC 8D F9 */ bl Free__7CMemoryFPCv -lbl_8034CB3C: -/* 8034CB3C 00349A9C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8034CB40 00349AA0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8034CB44 00349AA4 83 C1 00 08 */ lwz r30, 8(r1) -/* 8034CB48 00349AA8 7C 08 03 A6 */ mtlr r0 -/* 8034CB4C 00349AAC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8034CB50 00349AB0 4E 80 00 20 */ blr - -.global sub_8034cb54 -sub_8034cb54: -/* 8034CB54 00349AB4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034CB58 00349AB8 7C 08 02 A6 */ mflr r0 -/* 8034CB5C 00349ABC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8034CB60 00349AC0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8034CB64 00349AC4 7C 9F 23 78 */ mr r31, r4 -/* 8034CB68 00349AC8 93 C1 00 08 */ stw r30, 8(r1) -/* 8034CB6C 00349ACC 7C 7E 1B 78 */ mr r30, r3 -/* 8034CB70 00349AD0 80 84 00 00 */ lwz r4, 0(r4) -/* 8034CB74 00349AD4 28 04 00 00 */ cmplwi r4, 0 -/* 8034CB78 00349AD8 41 82 00 08 */ beq lbl_8034CB80 -/* 8034CB7C 00349ADC 4B FF FF D9 */ bl sub_8034cb54 -lbl_8034CB80: -/* 8034CB80 00349AE0 80 9F 00 04 */ lwz r4, 4(r31) -/* 8034CB84 00349AE4 28 04 00 00 */ cmplwi r4, 0 -/* 8034CB88 00349AE8 41 82 00 0C */ beq lbl_8034CB94 -/* 8034CB8C 00349AEC 7F C3 F3 78 */ mr r3, r30 -/* 8034CB90 00349AF0 4B FF FF C5 */ bl sub_8034cb54 -lbl_8034CB94: -/* 8034CB94 00349AF4 28 1F 00 00 */ cmplwi r31, 0 -/* 8034CB98 00349AF8 41 82 00 30 */ beq lbl_8034CBC8 -/* 8034CB9C 00349AFC 34 1F 00 10 */ addic. r0, r31, 0x10 -/* 8034CBA0 00349B00 41 82 00 28 */ beq lbl_8034CBC8 -/* 8034CBA4 00349B04 34 7F 00 20 */ addic. r3, r31, 0x20 -/* 8034CBA8 00349B08 41 82 00 10 */ beq lbl_8034CBB8 -/* 8034CBAC 00349B0C 28 03 00 00 */ cmplwi r3, 0 -/* 8034CBB0 00349B10 41 82 00 08 */ beq lbl_8034CBB8 -/* 8034CBB4 00349B14 4B FF FE 25 */ bl sub_8034c9d8 -lbl_8034CBB8: -/* 8034CBB8 00349B18 34 1F 00 10 */ addic. r0, r31, 0x10 -/* 8034CBBC 00349B1C 41 82 00 0C */ beq lbl_8034CBC8 -/* 8034CBC0 00349B20 38 7F 00 10 */ addi r3, r31, 0x10 -/* 8034CBC4 00349B24 4B FF 0F 1D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8034CBC8: -/* 8034CBC8 00349B28 28 1F 00 00 */ cmplwi r31, 0 -/* 8034CBCC 00349B2C 41 82 00 0C */ beq lbl_8034CBD8 -/* 8034CBD0 00349B30 7F E3 FB 78 */ mr r3, r31 -/* 8034CBD4 00349B34 4B FC 8D 5D */ bl Free__7CMemoryFPCv -lbl_8034CBD8: -/* 8034CBD8 00349B38 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8034CBDC 00349B3C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8034CBE0 00349B40 83 C1 00 08 */ lwz r30, 8(r1) -/* 8034CBE4 00349B44 7C 08 03 A6 */ mtlr r0 -/* 8034CBE8 00349B48 38 21 00 10 */ addi r1, r1, 0x10 -/* 8034CBEC 00349B4C 4E 80 00 20 */ blr - -.global sub_8034cbf0 -sub_8034cbf0: -/* 8034CBF0 00349B50 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8034CBF4 00349B54 7C 08 02 A6 */ mflr r0 -/* 8034CBF8 00349B58 90 01 00 24 */ stw r0, 0x24(r1) -/* 8034CBFC 00349B5C 38 A1 00 0C */ addi r5, r1, 0xc -/* 8034CC00 00349B60 89 21 00 08 */ lbz r9, 8(r1) -/* 8034CC04 00349B64 81 04 00 00 */ lwz r8, 0(r4) -/* 8034CC08 00349B68 80 E4 00 04 */ lwz r7, 4(r4) -/* 8034CC0C 00349B6C 38 81 00 10 */ addi r4, r1, 0x10 -/* 8034CC10 00349B70 80 C3 00 00 */ lwz r6, 0(r3) -/* 8034CC14 00349B74 80 03 00 04 */ lwz r0, 4(r3) -/* 8034CC18 00349B78 38 61 00 18 */ addi r3, r1, 0x18 -/* 8034CC1C 00349B7C 99 21 00 0C */ stb r9, 0xc(r1) -/* 8034CC20 00349B80 91 01 00 10 */ stw r8, 0x10(r1) -/* 8034CC24 00349B84 90 E1 00 14 */ stw r7, 0x14(r1) -/* 8034CC28 00349B88 90 C1 00 18 */ stw r6, 0x18(r1) -/* 8034CC2C 00349B8C 90 01 00 1C */ stw r0, 0x1c(r1) -/* 8034CC30 00349B90 48 00 00 15 */ bl sub_8034cc44 -/* 8034CC34 00349B94 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8034CC38 00349B98 7C 08 03 A6 */ mtlr r0 -/* 8034CC3C 00349B9C 38 21 00 20 */ addi r1, r1, 0x20 -/* 8034CC40 00349BA0 4E 80 00 20 */ blr - -.global sub_8034cc44 -sub_8034cc44: -/* 8034CC44 00349BA4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8034CC48 00349BA8 7C 08 02 A6 */ mflr r0 -/* 8034CC4C 00349BAC 90 01 00 24 */ stw r0, 0x24(r1) -/* 8034CC50 00349BB0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8034CC54 00349BB4 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8034CC58 00349BB8 3B C0 00 00 */ li r30, 0 -/* 8034CC5C 00349BBC 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8034CC60 00349BC0 7C 9D 23 78 */ mr r29, r4 -/* 8034CC64 00349BC4 80 A3 00 00 */ lwz r5, 0(r3) -/* 8034CC68 00349BC8 83 E3 00 04 */ lwz r31, 4(r3) -/* 8034CC6C 00349BCC 48 00 00 18 */ b lbl_8034CC84 -lbl_8034CC70: -/* 8034CC70 00349BD0 7F E3 FB 78 */ mr r3, r31 -/* 8034CC74 00349BD4 7C A4 2B 78 */ mr r4, r5 -/* 8034CC78 00349BD8 3B DE 00 01 */ addi r30, r30, 1 -/* 8034CC7C 00349BDC 4B FE F9 65 */ bl rbtree_traverse_forward__4rstlFPCvPv -/* 8034CC80 00349BE0 7C 65 1B 78 */ mr r5, r3 -lbl_8034CC84: -/* 8034CC84 00349BE4 80 1D 00 00 */ lwz r0, 0(r29) -/* 8034CC88 00349BE8 38 60 00 00 */ li r3, 0 -/* 8034CC8C 00349BEC 7C 05 00 40 */ cmplw r5, r0 -/* 8034CC90 00349BF0 40 82 00 10 */ bne lbl_8034CCA0 -/* 8034CC94 00349BF4 80 1D 00 04 */ lwz r0, 4(r29) -/* 8034CC98 00349BF8 7C 1F 00 40 */ cmplw r31, r0 -/* 8034CC9C 00349BFC 41 82 00 08 */ beq lbl_8034CCA4 -lbl_8034CCA0: -/* 8034CCA0 00349C00 38 60 00 01 */ li r3, 1 -lbl_8034CCA4: -/* 8034CCA4 00349C04 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8034CCA8 00349C08 40 82 FF C8 */ bne lbl_8034CC70 -/* 8034CCAC 00349C0C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8034CCB0 00349C10 7F C3 F3 78 */ mr r3, r30 -/* 8034CCB4 00349C14 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8034CCB8 00349C18 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8034CCBC 00349C1C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8034CCC0 00349C20 7C 08 03 A6 */ mtlr r0 -/* 8034CCC4 00349C24 38 21 00 20 */ addi r1, r1, 0x20 -/* 8034CCC8 00349C28 4E 80 00 20 */ blr - -.global "insert_into__Q24rstl488red_black_tree,Q24rstl17rmemory_allocator>,Q24rstl117pair,Q24rstl17rmemory_allocator>,Q24rstl26ncrc_ptr<14CAudioGroupSet>>,0,Q24rstl138select1st,Q24rstl17rmemory_allocator>,Q24rstl26ncrc_ptr<14CAudioGroupSet>>>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator" -"insert_into__Q24rstl488red_black_tree,Q24rstl17rmemory_allocator>,Q24rstl117pair,Q24rstl17rmemory_allocator>,Q24rstl26ncrc_ptr<14CAudioGroupSet>>,0,Q24rstl138select1st,Q24rstl17rmemory_allocator>,Q24rstl26ncrc_ptr<14CAudioGroupSet>>>,Q24rstl81less,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator": -/* 8034CCCC 00349C2C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8034CCD0 00349C30 7C 08 02 A6 */ mflr r0 -/* 8034CCD4 00349C34 28 05 00 00 */ cmplwi r5, 0 -/* 8034CCD8 00349C38 90 01 00 24 */ stw r0, 0x24(r1) -/* 8034CCDC 00349C3C BF 41 00 08 */ stmw r26, 8(r1) -/* 8034CCE0 00349C40 7C 7C 1B 78 */ mr r28, r3 -/* 8034CCE4 00349C44 7C 9D 23 78 */ mr r29, r4 -/* 8034CCE8 00349C48 7C DE 33 78 */ mr r30, r6 -/* 8034CCEC 00349C4C 40 82 00 9C */ bne lbl_8034CD88 -/* 8034CCF0 00349C50 3C 80 80 3E */ lis r4, lbl_803D8210@ha -/* 8034CCF4 00349C54 38 60 00 24 */ li r3, 0x24 -/* 8034CCF8 00349C58 38 84 82 10 */ addi r4, r4, lbl_803D8210@l -/* 8034CCFC 00349C5C 38 A0 00 00 */ li r5, 0 -/* 8034CD00 00349C60 4B FC 8B 19 */ bl __nwa__FUlPCcPCc -/* 8034CD04 00349C64 7C 7B 1B 79 */ or. r27, r3, r3 -/* 8034CD08 00349C68 41 82 00 44 */ beq lbl_8034CD4C -/* 8034CD0C 00349C6C 38 00 00 00 */ li r0, 0 -/* 8034CD10 00349C70 37 FB 00 10 */ addic. r31, r27, 0x10 -/* 8034CD14 00349C74 90 1B 00 00 */ stw r0, 0(r27) -/* 8034CD18 00349C78 90 1B 00 04 */ stw r0, 4(r27) -/* 8034CD1C 00349C7C 90 1B 00 08 */ stw r0, 8(r27) -/* 8034CD20 00349C80 90 1B 00 0C */ stw r0, 0xc(r27) -/* 8034CD24 00349C84 41 82 00 28 */ beq lbl_8034CD4C -/* 8034CD28 00349C88 7F E3 FB 78 */ mr r3, r31 -/* 8034CD2C 00349C8C 7F C4 F3 78 */ mr r4, r30 -/* 8034CD30 00349C90 4B FF 14 31 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8034CD34 00349C94 80 1E 00 10 */ lwz r0, 0x10(r30) -/* 8034CD38 00349C98 90 1F 00 10 */ stw r0, 0x10(r31) -/* 8034CD3C 00349C9C 80 9F 00 10 */ lwz r4, 0x10(r31) -/* 8034CD40 00349CA0 80 64 00 04 */ lwz r3, 4(r4) -/* 8034CD44 00349CA4 38 03 00 01 */ addi r0, r3, 1 -/* 8034CD48 00349CA8 90 04 00 04 */ stw r0, 4(r4) -lbl_8034CD4C: -/* 8034CD4C 00349CAC 93 7D 00 10 */ stw r27, 0x10(r29) -/* 8034CD50 00349CB0 38 1D 00 08 */ addi r0, r29, 8 -/* 8034CD54 00349CB4 80 7D 00 04 */ lwz r3, 4(r29) -/* 8034CD58 00349CB8 38 63 00 01 */ addi r3, r3, 1 -/* 8034CD5C 00349CBC 90 7D 00 04 */ stw r3, 4(r29) -/* 8034CD60 00349CC0 80 7D 00 10 */ lwz r3, 0x10(r29) -/* 8034CD64 00349CC4 90 7D 00 08 */ stw r3, 8(r29) -/* 8034CD68 00349CC8 80 7D 00 10 */ lwz r3, 0x10(r29) -/* 8034CD6C 00349CCC 90 7D 00 0C */ stw r3, 0xc(r29) -/* 8034CD70 00349CD0 80 7D 00 10 */ lwz r3, 0x10(r29) -/* 8034CD74 00349CD4 90 7C 00 00 */ stw r3, 0(r28) -/* 8034CD78 00349CD8 90 1C 00 04 */ stw r0, 4(r28) -/* 8034CD7C 00349CDC 88 0D 9D E5 */ lbz r0, lbl_805A89A5@sda21(r13) -/* 8034CD80 00349CE0 98 1C 00 08 */ stb r0, 8(r28) -/* 8034CD84 00349CE4 48 00 01 B4 */ b lbl_8034CF38 -lbl_8034CD88: -/* 8034CD88 00349CE8 7C BF 2B 78 */ mr r31, r5 -/* 8034CD8C 00349CEC 3B 40 00 00 */ li r26, 0 -/* 8034CD90 00349CF0 48 00 01 74 */ b lbl_8034CF04 -lbl_8034CD94: -/* 8034CD94 00349CF4 7F C4 F3 78 */ mr r4, r30 -/* 8034CD98 00349CF8 38 7D 00 01 */ addi r3, r29, 1 -/* 8034CD9C 00349CFC 38 BF 00 10 */ addi r5, r31, 0x10 -/* 8034CDA0 00349D00 4B CD D9 89 */ bl "__cl__Q24rstl140select1st,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>>CFRCQ24rstl119pair,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>" -/* 8034CDA4 00349D04 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8034CDA8 00349D08 7C 7B 1B 78 */ mr r27, r3 -/* 8034CDAC 00349D0C 40 82 00 34 */ bne lbl_8034CDE0 -/* 8034CDB0 00349D10 7F C5 F3 78 */ mr r5, r30 -/* 8034CDB4 00349D14 38 7D 00 01 */ addi r3, r29, 1 -/* 8034CDB8 00349D18 38 9F 00 10 */ addi r4, r31, 0x10 -/* 8034CDBC 00349D1C 4B CD D9 6D */ bl "__cl__Q24rstl140select1st,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>>CFRCQ24rstl119pair,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>" -/* 8034CDC0 00349D20 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8034CDC4 00349D24 40 82 00 1C */ bne lbl_8034CDE0 -/* 8034CDC8 00349D28 93 FC 00 00 */ stw r31, 0(r28) -/* 8034CDCC 00349D2C 38 1D 00 08 */ addi r0, r29, 8 -/* 8034CDD0 00349D30 90 1C 00 04 */ stw r0, 4(r28) -/* 8034CDD4 00349D34 88 0D 9D E6 */ lbz r0, lbl_805A89A6@sda21(r13) -/* 8034CDD8 00349D38 98 1C 00 08 */ stb r0, 8(r28) -/* 8034CDDC 00349D3C 48 00 01 5C */ b lbl_8034CF38 -lbl_8034CDE0: -/* 8034CDE0 00349D40 57 60 06 3F */ clrlwi. r0, r27, 0x18 -/* 8034CDE4 00349D44 41 82 00 94 */ beq lbl_8034CE78 -/* 8034CDE8 00349D48 80 1F 00 00 */ lwz r0, 0(r31) -/* 8034CDEC 00349D4C 28 00 00 00 */ cmplwi r0, 0 -/* 8034CDF0 00349D50 40 82 00 80 */ bne lbl_8034CE70 -/* 8034CDF4 00349D54 3C 80 80 3E */ lis r4, lbl_803D8210@ha -/* 8034CDF8 00349D58 38 60 00 24 */ li r3, 0x24 -/* 8034CDFC 00349D5C 38 84 82 10 */ addi r4, r4, lbl_803D8210@l -/* 8034CE00 00349D60 38 A0 00 00 */ li r5, 0 -/* 8034CE04 00349D64 4B FC 8A 15 */ bl __nwa__FUlPCcPCc -/* 8034CE08 00349D68 7C 7B 1B 79 */ or. r27, r3, r3 -/* 8034CE0C 00349D6C 41 82 00 48 */ beq lbl_8034CE54 -/* 8034CE10 00349D70 38 60 00 00 */ li r3, 0 -/* 8034CE14 00349D74 37 5B 00 10 */ addic. r26, r27, 0x10 -/* 8034CE18 00349D78 90 7B 00 00 */ stw r3, 0(r27) -/* 8034CE1C 00349D7C 38 00 00 01 */ li r0, 1 -/* 8034CE20 00349D80 90 7B 00 04 */ stw r3, 4(r27) -/* 8034CE24 00349D84 93 FB 00 08 */ stw r31, 8(r27) -/* 8034CE28 00349D88 90 1B 00 0C */ stw r0, 0xc(r27) -/* 8034CE2C 00349D8C 41 82 00 28 */ beq lbl_8034CE54 -/* 8034CE30 00349D90 7F 43 D3 78 */ mr r3, r26 -/* 8034CE34 00349D94 7F C4 F3 78 */ mr r4, r30 -/* 8034CE38 00349D98 4B FF 13 29 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8034CE3C 00349D9C 80 1E 00 10 */ lwz r0, 0x10(r30) -/* 8034CE40 00349DA0 90 1A 00 10 */ stw r0, 0x10(r26) -/* 8034CE44 00349DA4 80 9A 00 10 */ lwz r4, 0x10(r26) -/* 8034CE48 00349DA8 80 64 00 04 */ lwz r3, 4(r4) -/* 8034CE4C 00349DAC 38 03 00 01 */ addi r0, r3, 1 -/* 8034CE50 00349DB0 90 04 00 04 */ stw r0, 4(r4) -lbl_8034CE54: -/* 8034CE54 00349DB4 93 7F 00 00 */ stw r27, 0(r31) -/* 8034CE58 00349DB8 7F 7A DB 78 */ mr r26, r27 -/* 8034CE5C 00349DBC 80 1D 00 08 */ lwz r0, 8(r29) -/* 8034CE60 00349DC0 7C 1F 00 40 */ cmplw r31, r0 -/* 8034CE64 00349DC4 40 82 00 A0 */ bne lbl_8034CF04 -/* 8034CE68 00349DC8 93 7D 00 08 */ stw r27, 8(r29) -/* 8034CE6C 00349DCC 48 00 00 98 */ b lbl_8034CF04 -lbl_8034CE70: -/* 8034CE70 00349DD0 7C 1F 03 78 */ mr r31, r0 -/* 8034CE74 00349DD4 48 00 00 90 */ b lbl_8034CF04 -lbl_8034CE78: -/* 8034CE78 00349DD8 80 1F 00 04 */ lwz r0, 4(r31) -/* 8034CE7C 00349DDC 28 00 00 00 */ cmplwi r0, 0 -/* 8034CE80 00349DE0 40 82 00 80 */ bne lbl_8034CF00 -/* 8034CE84 00349DE4 3C 80 80 3E */ lis r4, lbl_803D8210@ha -/* 8034CE88 00349DE8 38 60 00 24 */ li r3, 0x24 -/* 8034CE8C 00349DEC 38 84 82 10 */ addi r4, r4, lbl_803D8210@l -/* 8034CE90 00349DF0 38 A0 00 00 */ li r5, 0 -/* 8034CE94 00349DF4 4B FC 89 85 */ bl __nwa__FUlPCcPCc -/* 8034CE98 00349DF8 7C 7B 1B 79 */ or. r27, r3, r3 -/* 8034CE9C 00349DFC 41 82 00 48 */ beq lbl_8034CEE4 -/* 8034CEA0 00349E00 38 60 00 00 */ li r3, 0 -/* 8034CEA4 00349E04 37 5B 00 10 */ addic. r26, r27, 0x10 -/* 8034CEA8 00349E08 90 7B 00 00 */ stw r3, 0(r27) -/* 8034CEAC 00349E0C 38 00 00 01 */ li r0, 1 -/* 8034CEB0 00349E10 90 7B 00 04 */ stw r3, 4(r27) -/* 8034CEB4 00349E14 93 FB 00 08 */ stw r31, 8(r27) -/* 8034CEB8 00349E18 90 1B 00 0C */ stw r0, 0xc(r27) -/* 8034CEBC 00349E1C 41 82 00 28 */ beq lbl_8034CEE4 -/* 8034CEC0 00349E20 7F 43 D3 78 */ mr r3, r26 -/* 8034CEC4 00349E24 7F C4 F3 78 */ mr r4, r30 -/* 8034CEC8 00349E28 4B FF 12 99 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8034CECC 00349E2C 80 1E 00 10 */ lwz r0, 0x10(r30) -/* 8034CED0 00349E30 90 1A 00 10 */ stw r0, 0x10(r26) -/* 8034CED4 00349E34 80 9A 00 10 */ lwz r4, 0x10(r26) -/* 8034CED8 00349E38 80 64 00 04 */ lwz r3, 4(r4) -/* 8034CEDC 00349E3C 38 03 00 01 */ addi r0, r3, 1 -/* 8034CEE0 00349E40 90 04 00 04 */ stw r0, 4(r4) -lbl_8034CEE4: -/* 8034CEE4 00349E44 93 7F 00 04 */ stw r27, 4(r31) -/* 8034CEE8 00349E48 7F 7A DB 78 */ mr r26, r27 -/* 8034CEEC 00349E4C 80 1D 00 0C */ lwz r0, 0xc(r29) -/* 8034CEF0 00349E50 7C 1F 00 40 */ cmplw r31, r0 -/* 8034CEF4 00349E54 40 82 00 10 */ bne lbl_8034CF04 -/* 8034CEF8 00349E58 93 7D 00 0C */ stw r27, 0xc(r29) -/* 8034CEFC 00349E5C 48 00 00 08 */ b lbl_8034CF04 -lbl_8034CF00: -/* 8034CF00 00349E60 7C 1F 03 78 */ mr r31, r0 -lbl_8034CF04: -/* 8034CF04 00349E64 28 1A 00 00 */ cmplwi r26, 0 -/* 8034CF08 00349E68 41 82 FE 8C */ beq lbl_8034CD94 -/* 8034CF0C 00349E6C 80 BD 00 04 */ lwz r5, 4(r29) -/* 8034CF10 00349E70 7F 44 D3 78 */ mr r4, r26 -/* 8034CF14 00349E74 38 7D 00 08 */ addi r3, r29, 8 -/* 8034CF18 00349E78 38 05 00 01 */ addi r0, r5, 1 -/* 8034CF1C 00349E7C 90 1D 00 04 */ stw r0, 4(r29) -/* 8034CF20 00349E80 4B FE FB 79 */ bl rbtree_rebalance__4rstlFPvPv -/* 8034CF24 00349E84 93 5C 00 00 */ stw r26, 0(r28) -/* 8034CF28 00349E88 38 1D 00 08 */ addi r0, r29, 8 -/* 8034CF2C 00349E8C 90 1C 00 04 */ stw r0, 4(r28) -/* 8034CF30 00349E90 88 0D 9D E7 */ lbz r0, lbl_805A89A7@sda21(r13) -/* 8034CF34 00349E94 98 1C 00 08 */ stb r0, 8(r28) -lbl_8034CF38: -/* 8034CF38 00349E98 BB 41 00 08 */ lmw r26, 8(r1) -/* 8034CF3C 00349E9C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8034CF40 00349EA0 7C 08 03 A6 */ mtlr r0 -/* 8034CF44 00349EA4 38 21 00 20 */ addi r1, r1, 0x20 -/* 8034CF48 00349EA8 4E 80 00 20 */ blr - -.global "insert_into__Q24rstl273red_black_tree,Q24rstl17rmemory_allocator>>,0,Q24rstl104select1st,Q24rstl17rmemory_allocator>>>,Q24rstl8less,Q24rstl17rmemory_allocator>FPQ34rstl273red_black_tree,Q24rstl17rmemory_allocator>>,0,Q24rstl104select1st,Q24" -"insert_into__Q24rstl273red_black_tree,Q24rstl17rmemory_allocator>>,0,Q24rstl104select1st,Q24rstl17rmemory_allocator>>>,Q24rstl8less,Q24rstl17rmemory_allocator>FPQ34rstl273red_black_tree,Q24rstl17rmemory_allocator>>,0,Q24rstl104select1st,Q24": -/* 8034CF4C 00349EAC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8034CF50 00349EB0 7C 08 02 A6 */ mflr r0 -/* 8034CF54 00349EB4 28 05 00 00 */ cmplwi r5, 0 -/* 8034CF58 00349EB8 90 01 00 24 */ stw r0, 0x24(r1) -/* 8034CF5C 00349EBC BF 61 00 0C */ stmw r27, 0xc(r1) -/* 8034CF60 00349EC0 7C 7C 1B 78 */ mr r28, r3 -/* 8034CF64 00349EC4 7C 9D 23 78 */ mr r29, r4 -/* 8034CF68 00349EC8 7C DE 33 78 */ mr r30, r6 -/* 8034CF6C 00349ECC 40 82 00 8C */ bne lbl_8034CFF8 -/* 8034CF70 00349ED0 3C 80 80 3E */ lis r4, lbl_803D8210@ha -/* 8034CF74 00349ED4 38 60 00 24 */ li r3, 0x24 -/* 8034CF78 00349ED8 38 84 82 10 */ addi r4, r4, lbl_803D8210@l -/* 8034CF7C 00349EDC 38 A0 00 00 */ li r5, 0 -/* 8034CF80 00349EE0 4B FC 88 99 */ bl __nwa__FUlPCcPCc -/* 8034CF84 00349EE4 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8034CF88 00349EE8 41 82 00 34 */ beq lbl_8034CFBC -/* 8034CF8C 00349EEC 38 00 00 00 */ li r0, 0 -/* 8034CF90 00349EF0 34 BF 00 10 */ addic. r5, r31, 0x10 -/* 8034CF94 00349EF4 90 1F 00 00 */ stw r0, 0(r31) -/* 8034CF98 00349EF8 90 1F 00 04 */ stw r0, 4(r31) -/* 8034CF9C 00349EFC 90 1F 00 08 */ stw r0, 8(r31) -/* 8034CFA0 00349F00 90 1F 00 0C */ stw r0, 0xc(r31) -/* 8034CFA4 00349F04 41 82 00 18 */ beq lbl_8034CFBC -/* 8034CFA8 00349F08 80 1E 00 00 */ lwz r0, 0(r30) -/* 8034CFAC 00349F0C 38 65 00 04 */ addi r3, r5, 4 -/* 8034CFB0 00349F10 38 9E 00 04 */ addi r4, r30, 4 -/* 8034CFB4 00349F14 90 05 00 00 */ stw r0, 0(r5) -/* 8034CFB8 00349F18 4B FF 11 A9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -lbl_8034CFBC: -/* 8034CFBC 00349F1C 93 FD 00 10 */ stw r31, 0x10(r29) -/* 8034CFC0 00349F20 38 1D 00 08 */ addi r0, r29, 8 -/* 8034CFC4 00349F24 80 7D 00 04 */ lwz r3, 4(r29) -/* 8034CFC8 00349F28 38 63 00 01 */ addi r3, r3, 1 -/* 8034CFCC 00349F2C 90 7D 00 04 */ stw r3, 4(r29) -/* 8034CFD0 00349F30 80 7D 00 10 */ lwz r3, 0x10(r29) -/* 8034CFD4 00349F34 90 7D 00 08 */ stw r3, 8(r29) -/* 8034CFD8 00349F38 80 7D 00 10 */ lwz r3, 0x10(r29) -/* 8034CFDC 00349F3C 90 7D 00 0C */ stw r3, 0xc(r29) -/* 8034CFE0 00349F40 80 7D 00 10 */ lwz r3, 0x10(r29) -/* 8034CFE4 00349F44 90 7C 00 00 */ stw r3, 0(r28) -/* 8034CFE8 00349F48 90 1C 00 04 */ stw r0, 4(r28) -/* 8034CFEC 00349F4C 88 0D 9D E2 */ lbz r0, lbl_805A89A2@sda21(r13) -/* 8034CFF0 00349F50 98 1C 00 08 */ stb r0, 8(r28) -/* 8034CFF4 00349F54 48 00 01 7C */ b lbl_8034D170 -lbl_8034CFF8: -/* 8034CFF8 00349F58 7C BF 2B 78 */ mr r31, r5 -/* 8034CFFC 00349F5C 3B 60 00 00 */ li r27, 0 -/* 8034D000 00349F60 48 00 01 3C */ b lbl_8034D13C -lbl_8034D004: -/* 8034D004 00349F64 80 7E 00 00 */ lwz r3, 0(r30) -/* 8034D008 00349F68 80 9F 00 10 */ lwz r4, 0x10(r31) -/* 8034D00C 00349F6C 7C 80 1A 78 */ xor r0, r4, r3 -/* 8034D010 00349F70 7C 00 00 34 */ cntlzw r0, r0 -/* 8034D014 00349F74 7C 80 00 30 */ slw r0, r4, r0 -/* 8034D018 00349F78 54 00 0F FF */ rlwinm. r0, r0, 1, 0x1f, 0x1f -/* 8034D01C 00349F7C 40 82 00 24 */ bne lbl_8034D040 -/* 8034D020 00349F80 7C 04 18 40 */ cmplw r4, r3 -/* 8034D024 00349F84 41 80 00 1C */ blt lbl_8034D040 -/* 8034D028 00349F88 93 FC 00 00 */ stw r31, 0(r28) -/* 8034D02C 00349F8C 38 1D 00 08 */ addi r0, r29, 8 -/* 8034D030 00349F90 90 1C 00 04 */ stw r0, 4(r28) -/* 8034D034 00349F94 88 0D 9D E3 */ lbz r0, lbl_805A89A3@sda21(r13) -/* 8034D038 00349F98 98 1C 00 08 */ stb r0, 8(r28) -/* 8034D03C 00349F9C 48 00 01 34 */ b lbl_8034D170 -lbl_8034D040: -/* 8034D040 00349FA0 28 00 00 00 */ cmplwi r0, 0 -/* 8034D044 00349FA4 41 82 00 80 */ beq lbl_8034D0C4 -/* 8034D048 00349FA8 80 1F 00 00 */ lwz r0, 0(r31) -/* 8034D04C 00349FAC 28 00 00 00 */ cmplwi r0, 0 -/* 8034D050 00349FB0 40 82 00 6C */ bne lbl_8034D0BC -/* 8034D054 00349FB4 3C 80 80 3E */ lis r4, lbl_803D8210@ha -/* 8034D058 00349FB8 38 60 00 24 */ li r3, 0x24 -/* 8034D05C 00349FBC 38 84 82 10 */ addi r4, r4, lbl_803D8210@l -/* 8034D060 00349FC0 38 A0 00 00 */ li r5, 0 -/* 8034D064 00349FC4 4B FC 87 B5 */ bl __nwa__FUlPCcPCc -/* 8034D068 00349FC8 7C 7B 1B 79 */ or. r27, r3, r3 -/* 8034D06C 00349FCC 41 82 00 38 */ beq lbl_8034D0A4 -/* 8034D070 00349FD0 38 60 00 00 */ li r3, 0 -/* 8034D074 00349FD4 34 BB 00 10 */ addic. r5, r27, 0x10 -/* 8034D078 00349FD8 90 7B 00 00 */ stw r3, 0(r27) -/* 8034D07C 00349FDC 38 00 00 01 */ li r0, 1 -/* 8034D080 00349FE0 90 7B 00 04 */ stw r3, 4(r27) -/* 8034D084 00349FE4 93 FB 00 08 */ stw r31, 8(r27) -/* 8034D088 00349FE8 90 1B 00 0C */ stw r0, 0xc(r27) -/* 8034D08C 00349FEC 41 82 00 18 */ beq lbl_8034D0A4 -/* 8034D090 00349FF0 80 1E 00 00 */ lwz r0, 0(r30) -/* 8034D094 00349FF4 38 65 00 04 */ addi r3, r5, 4 -/* 8034D098 00349FF8 38 9E 00 04 */ addi r4, r30, 4 -/* 8034D09C 00349FFC 90 05 00 00 */ stw r0, 0(r5) -/* 8034D0A0 0034A000 4B FF 10 C1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -lbl_8034D0A4: -/* 8034D0A4 0034A004 93 7F 00 00 */ stw r27, 0(r31) -/* 8034D0A8 0034A008 80 1D 00 08 */ lwz r0, 8(r29) -/* 8034D0AC 0034A00C 7C 1F 00 40 */ cmplw r31, r0 -/* 8034D0B0 0034A010 40 82 00 8C */ bne lbl_8034D13C -/* 8034D0B4 0034A014 93 7D 00 08 */ stw r27, 8(r29) -/* 8034D0B8 0034A018 48 00 00 84 */ b lbl_8034D13C -lbl_8034D0BC: -/* 8034D0BC 0034A01C 7C 1F 03 78 */ mr r31, r0 -/* 8034D0C0 0034A020 48 00 00 7C */ b lbl_8034D13C -lbl_8034D0C4: -/* 8034D0C4 0034A024 80 1F 00 04 */ lwz r0, 4(r31) -/* 8034D0C8 0034A028 28 00 00 00 */ cmplwi r0, 0 -/* 8034D0CC 0034A02C 40 82 00 6C */ bne lbl_8034D138 -/* 8034D0D0 0034A030 3C 80 80 3E */ lis r4, lbl_803D8210@ha -/* 8034D0D4 0034A034 38 60 00 24 */ li r3, 0x24 -/* 8034D0D8 0034A038 38 84 82 10 */ addi r4, r4, lbl_803D8210@l -/* 8034D0DC 0034A03C 38 A0 00 00 */ li r5, 0 -/* 8034D0E0 0034A040 4B FC 87 39 */ bl __nwa__FUlPCcPCc -/* 8034D0E4 0034A044 7C 7B 1B 79 */ or. r27, r3, r3 -/* 8034D0E8 0034A048 41 82 00 38 */ beq lbl_8034D120 -/* 8034D0EC 0034A04C 38 60 00 00 */ li r3, 0 -/* 8034D0F0 0034A050 34 BB 00 10 */ addic. r5, r27, 0x10 -/* 8034D0F4 0034A054 90 7B 00 00 */ stw r3, 0(r27) -/* 8034D0F8 0034A058 38 00 00 01 */ li r0, 1 -/* 8034D0FC 0034A05C 90 7B 00 04 */ stw r3, 4(r27) -/* 8034D100 0034A060 93 FB 00 08 */ stw r31, 8(r27) -/* 8034D104 0034A064 90 1B 00 0C */ stw r0, 0xc(r27) -/* 8034D108 0034A068 41 82 00 18 */ beq lbl_8034D120 -/* 8034D10C 0034A06C 80 1E 00 00 */ lwz r0, 0(r30) -/* 8034D110 0034A070 38 65 00 04 */ addi r3, r5, 4 -/* 8034D114 0034A074 38 9E 00 04 */ addi r4, r30, 4 -/* 8034D118 0034A078 90 05 00 00 */ stw r0, 0(r5) -/* 8034D11C 0034A07C 4B FF 10 45 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -lbl_8034D120: -/* 8034D120 0034A080 93 7F 00 04 */ stw r27, 4(r31) -/* 8034D124 0034A084 80 1D 00 0C */ lwz r0, 0xc(r29) -/* 8034D128 0034A088 7C 1F 00 40 */ cmplw r31, r0 -/* 8034D12C 0034A08C 40 82 00 10 */ bne lbl_8034D13C -/* 8034D130 0034A090 93 7D 00 0C */ stw r27, 0xc(r29) -/* 8034D134 0034A094 48 00 00 08 */ b lbl_8034D13C -lbl_8034D138: -/* 8034D138 0034A098 7C 1F 03 78 */ mr r31, r0 -lbl_8034D13C: -/* 8034D13C 0034A09C 28 1B 00 00 */ cmplwi r27, 0 -/* 8034D140 0034A0A0 41 82 FE C4 */ beq lbl_8034D004 -/* 8034D144 0034A0A4 80 BD 00 04 */ lwz r5, 4(r29) -/* 8034D148 0034A0A8 7F 64 DB 78 */ mr r4, r27 -/* 8034D14C 0034A0AC 38 7D 00 08 */ addi r3, r29, 8 -/* 8034D150 0034A0B0 38 05 00 01 */ addi r0, r5, 1 -/* 8034D154 0034A0B4 90 1D 00 04 */ stw r0, 4(r29) -/* 8034D158 0034A0B8 4B FE F9 41 */ bl rbtree_rebalance__4rstlFPvPv -/* 8034D15C 0034A0BC 93 7C 00 00 */ stw r27, 0(r28) -/* 8034D160 0034A0C0 38 1D 00 08 */ addi r0, r29, 8 -/* 8034D164 0034A0C4 90 1C 00 04 */ stw r0, 4(r28) -/* 8034D168 0034A0C8 88 0D 9D E4 */ lbz r0, lbl_805A89A4@sda21(r13) -/* 8034D16C 0034A0CC 98 1C 00 08 */ stb r0, 8(r28) -lbl_8034D170: -/* 8034D170 0034A0D0 BB 61 00 0C */ lmw r27, 0xc(r1) -/* 8034D174 0034A0D4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8034D178 0034A0D8 7C 08 03 A6 */ mtlr r0 -/* 8034D17C 0034A0DC 38 21 00 20 */ addi r1, r1, 0x20 -/* 8034D180 0034A0E0 4E 80 00 20 */ blr - -.global sub_8034d184 -sub_8034d184: -/* 8034D184 0034A0E4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8034D188 0034A0E8 7C 08 02 A6 */ mflr r0 -/* 8034D18C 0034A0EC 28 05 00 00 */ cmplwi r5, 0 -/* 8034D190 0034A0F0 90 01 00 24 */ stw r0, 0x24(r1) -/* 8034D194 0034A0F4 BF 41 00 08 */ stmw r26, 8(r1) -/* 8034D198 0034A0F8 7C 7C 1B 78 */ mr r28, r3 -/* 8034D19C 0034A0FC 7C 9D 23 78 */ mr r29, r4 -/* 8034D1A0 0034A100 7C DE 33 78 */ mr r30, r6 -/* 8034D1A4 0034A104 40 82 00 9C */ bne lbl_8034D240 -/* 8034D1A8 0034A108 3C 80 80 3E */ lis r4, lbl_803D8210@ha -/* 8034D1AC 0034A10C 38 60 00 24 */ li r3, 0x24 -/* 8034D1B0 0034A110 38 84 82 10 */ addi r4, r4, lbl_803D8210@l -/* 8034D1B4 0034A114 38 A0 00 00 */ li r5, 0 -/* 8034D1B8 0034A118 4B FC 86 61 */ bl __nwa__FUlPCcPCc -/* 8034D1BC 0034A11C 7C 7B 1B 79 */ or. r27, r3, r3 -/* 8034D1C0 0034A120 41 82 00 44 */ beq lbl_8034D204 -/* 8034D1C4 0034A124 38 00 00 00 */ li r0, 0 -/* 8034D1C8 0034A128 37 FB 00 10 */ addic. r31, r27, 0x10 -/* 8034D1CC 0034A12C 90 1B 00 00 */ stw r0, 0(r27) -/* 8034D1D0 0034A130 90 1B 00 04 */ stw r0, 4(r27) -/* 8034D1D4 0034A134 90 1B 00 08 */ stw r0, 8(r27) -/* 8034D1D8 0034A138 90 1B 00 0C */ stw r0, 0xc(r27) -/* 8034D1DC 0034A13C 41 82 00 28 */ beq lbl_8034D204 -/* 8034D1E0 0034A140 7F E3 FB 78 */ mr r3, r31 -/* 8034D1E4 0034A144 7F C4 F3 78 */ mr r4, r30 -/* 8034D1E8 0034A148 4B FF 0F 79 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8034D1EC 0034A14C 80 1E 00 10 */ lwz r0, 0x10(r30) -/* 8034D1F0 0034A150 90 1F 00 10 */ stw r0, 0x10(r31) -/* 8034D1F4 0034A154 80 9F 00 10 */ lwz r4, 0x10(r31) -/* 8034D1F8 0034A158 80 64 00 04 */ lwz r3, 4(r4) -/* 8034D1FC 0034A15C 38 03 00 01 */ addi r0, r3, 1 -/* 8034D200 0034A160 90 04 00 04 */ stw r0, 4(r4) -lbl_8034D204: -/* 8034D204 0034A164 93 7D 00 10 */ stw r27, 0x10(r29) -/* 8034D208 0034A168 38 1D 00 08 */ addi r0, r29, 8 -/* 8034D20C 0034A16C 80 7D 00 04 */ lwz r3, 4(r29) -/* 8034D210 0034A170 38 63 00 01 */ addi r3, r3, 1 -/* 8034D214 0034A174 90 7D 00 04 */ stw r3, 4(r29) -/* 8034D218 0034A178 80 7D 00 10 */ lwz r3, 0x10(r29) -/* 8034D21C 0034A17C 90 7D 00 08 */ stw r3, 8(r29) -/* 8034D220 0034A180 80 7D 00 10 */ lwz r3, 0x10(r29) -/* 8034D224 0034A184 90 7D 00 0C */ stw r3, 0xc(r29) -/* 8034D228 0034A188 80 7D 00 10 */ lwz r3, 0x10(r29) -/* 8034D22C 0034A18C 90 7C 00 00 */ stw r3, 0(r28) -/* 8034D230 0034A190 90 1C 00 04 */ stw r0, 4(r28) -/* 8034D234 0034A194 88 0D 9D DF */ lbz r0, lbl_805A899F@sda21(r13) -/* 8034D238 0034A198 98 1C 00 08 */ stb r0, 8(r28) -/* 8034D23C 0034A19C 48 00 01 B4 */ b lbl_8034D3F0 -lbl_8034D240: -/* 8034D240 0034A1A0 7C BF 2B 78 */ mr r31, r5 -/* 8034D244 0034A1A4 3B 40 00 00 */ li r26, 0 -/* 8034D248 0034A1A8 48 00 01 74 */ b lbl_8034D3BC -lbl_8034D24C: -/* 8034D24C 0034A1AC 7F C4 F3 78 */ mr r4, r30 -/* 8034D250 0034A1B0 38 7D 00 01 */ addi r3, r29, 1 -/* 8034D254 0034A1B4 38 BF 00 10 */ addi r5, r31, 0x10 -/* 8034D258 0034A1B8 4B CD D4 D1 */ bl "__cl__Q24rstl140select1st,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>>CFRCQ24rstl119pair,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>" -/* 8034D25C 0034A1BC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8034D260 0034A1C0 7C 7B 1B 78 */ mr r27, r3 -/* 8034D264 0034A1C4 40 82 00 34 */ bne lbl_8034D298 -/* 8034D268 0034A1C8 7F C5 F3 78 */ mr r5, r30 -/* 8034D26C 0034A1CC 38 7D 00 01 */ addi r3, r29, 1 -/* 8034D270 0034A1D0 38 9F 00 10 */ addi r4, r31, 0x10 -/* 8034D274 0034A1D4 4B CD D4 B5 */ bl "__cl__Q24rstl140select1st,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>>CFRCQ24rstl119pair,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>" -/* 8034D278 0034A1D8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8034D27C 0034A1DC 40 82 00 1C */ bne lbl_8034D298 -/* 8034D280 0034A1E0 93 FC 00 00 */ stw r31, 0(r28) -/* 8034D284 0034A1E4 38 1D 00 08 */ addi r0, r29, 8 -/* 8034D288 0034A1E8 90 1C 00 04 */ stw r0, 4(r28) -/* 8034D28C 0034A1EC 88 0D 9D E0 */ lbz r0, lbl_805A89A0@sda21(r13) -/* 8034D290 0034A1F0 98 1C 00 08 */ stb r0, 8(r28) -/* 8034D294 0034A1F4 48 00 01 5C */ b lbl_8034D3F0 -lbl_8034D298: -/* 8034D298 0034A1F8 57 60 06 3F */ clrlwi. r0, r27, 0x18 -/* 8034D29C 0034A1FC 41 82 00 94 */ beq lbl_8034D330 -/* 8034D2A0 0034A200 80 1F 00 00 */ lwz r0, 0(r31) -/* 8034D2A4 0034A204 28 00 00 00 */ cmplwi r0, 0 -/* 8034D2A8 0034A208 40 82 00 80 */ bne lbl_8034D328 -/* 8034D2AC 0034A20C 3C 80 80 3E */ lis r4, lbl_803D8210@ha -/* 8034D2B0 0034A210 38 60 00 24 */ li r3, 0x24 -/* 8034D2B4 0034A214 38 84 82 10 */ addi r4, r4, lbl_803D8210@l -/* 8034D2B8 0034A218 38 A0 00 00 */ li r5, 0 -/* 8034D2BC 0034A21C 4B FC 85 5D */ bl __nwa__FUlPCcPCc -/* 8034D2C0 0034A220 7C 7B 1B 79 */ or. r27, r3, r3 -/* 8034D2C4 0034A224 41 82 00 48 */ beq lbl_8034D30C -/* 8034D2C8 0034A228 38 60 00 00 */ li r3, 0 -/* 8034D2CC 0034A22C 37 5B 00 10 */ addic. r26, r27, 0x10 -/* 8034D2D0 0034A230 90 7B 00 00 */ stw r3, 0(r27) -/* 8034D2D4 0034A234 38 00 00 01 */ li r0, 1 -/* 8034D2D8 0034A238 90 7B 00 04 */ stw r3, 4(r27) -/* 8034D2DC 0034A23C 93 FB 00 08 */ stw r31, 8(r27) -/* 8034D2E0 0034A240 90 1B 00 0C */ stw r0, 0xc(r27) -/* 8034D2E4 0034A244 41 82 00 28 */ beq lbl_8034D30C -/* 8034D2E8 0034A248 7F 43 D3 78 */ mr r3, r26 -/* 8034D2EC 0034A24C 7F C4 F3 78 */ mr r4, r30 -/* 8034D2F0 0034A250 4B FF 0E 71 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8034D2F4 0034A254 80 1E 00 10 */ lwz r0, 0x10(r30) -/* 8034D2F8 0034A258 90 1A 00 10 */ stw r0, 0x10(r26) -/* 8034D2FC 0034A25C 80 9A 00 10 */ lwz r4, 0x10(r26) -/* 8034D300 0034A260 80 64 00 04 */ lwz r3, 4(r4) -/* 8034D304 0034A264 38 03 00 01 */ addi r0, r3, 1 -/* 8034D308 0034A268 90 04 00 04 */ stw r0, 4(r4) -lbl_8034D30C: -/* 8034D30C 0034A26C 93 7F 00 00 */ stw r27, 0(r31) -/* 8034D310 0034A270 7F 7A DB 78 */ mr r26, r27 -/* 8034D314 0034A274 80 1D 00 08 */ lwz r0, 8(r29) -/* 8034D318 0034A278 7C 1F 00 40 */ cmplw r31, r0 -/* 8034D31C 0034A27C 40 82 00 A0 */ bne lbl_8034D3BC -/* 8034D320 0034A280 93 7D 00 08 */ stw r27, 8(r29) -/* 8034D324 0034A284 48 00 00 98 */ b lbl_8034D3BC -lbl_8034D328: -/* 8034D328 0034A288 7C 1F 03 78 */ mr r31, r0 -/* 8034D32C 0034A28C 48 00 00 90 */ b lbl_8034D3BC -lbl_8034D330: -/* 8034D330 0034A290 80 1F 00 04 */ lwz r0, 4(r31) -/* 8034D334 0034A294 28 00 00 00 */ cmplwi r0, 0 -/* 8034D338 0034A298 40 82 00 80 */ bne lbl_8034D3B8 -/* 8034D33C 0034A29C 3C 80 80 3E */ lis r4, lbl_803D8210@ha -/* 8034D340 0034A2A0 38 60 00 24 */ li r3, 0x24 -/* 8034D344 0034A2A4 38 84 82 10 */ addi r4, r4, lbl_803D8210@l -/* 8034D348 0034A2A8 38 A0 00 00 */ li r5, 0 -/* 8034D34C 0034A2AC 4B FC 84 CD */ bl __nwa__FUlPCcPCc -/* 8034D350 0034A2B0 7C 7B 1B 79 */ or. r27, r3, r3 -/* 8034D354 0034A2B4 41 82 00 48 */ beq lbl_8034D39C -/* 8034D358 0034A2B8 38 60 00 00 */ li r3, 0 -/* 8034D35C 0034A2BC 37 5B 00 10 */ addic. r26, r27, 0x10 -/* 8034D360 0034A2C0 90 7B 00 00 */ stw r3, 0(r27) -/* 8034D364 0034A2C4 38 00 00 01 */ li r0, 1 -/* 8034D368 0034A2C8 90 7B 00 04 */ stw r3, 4(r27) -/* 8034D36C 0034A2CC 93 FB 00 08 */ stw r31, 8(r27) -/* 8034D370 0034A2D0 90 1B 00 0C */ stw r0, 0xc(r27) -/* 8034D374 0034A2D4 41 82 00 28 */ beq lbl_8034D39C -/* 8034D378 0034A2D8 7F 43 D3 78 */ mr r3, r26 -/* 8034D37C 0034A2DC 7F C4 F3 78 */ mr r4, r30 -/* 8034D380 0034A2E0 4B FF 0D E1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8034D384 0034A2E4 80 1E 00 10 */ lwz r0, 0x10(r30) -/* 8034D388 0034A2E8 90 1A 00 10 */ stw r0, 0x10(r26) -/* 8034D38C 0034A2EC 80 9A 00 10 */ lwz r4, 0x10(r26) -/* 8034D390 0034A2F0 80 64 00 04 */ lwz r3, 4(r4) -/* 8034D394 0034A2F4 38 03 00 01 */ addi r0, r3, 1 -/* 8034D398 0034A2F8 90 04 00 04 */ stw r0, 4(r4) -lbl_8034D39C: -/* 8034D39C 0034A2FC 93 7F 00 04 */ stw r27, 4(r31) -/* 8034D3A0 0034A300 7F 7A DB 78 */ mr r26, r27 -/* 8034D3A4 0034A304 80 1D 00 0C */ lwz r0, 0xc(r29) -/* 8034D3A8 0034A308 7C 1F 00 40 */ cmplw r31, r0 -/* 8034D3AC 0034A30C 40 82 00 10 */ bne lbl_8034D3BC -/* 8034D3B0 0034A310 93 7D 00 0C */ stw r27, 0xc(r29) -/* 8034D3B4 0034A314 48 00 00 08 */ b lbl_8034D3BC -lbl_8034D3B8: -/* 8034D3B8 0034A318 7C 1F 03 78 */ mr r31, r0 -lbl_8034D3BC: -/* 8034D3BC 0034A31C 28 1A 00 00 */ cmplwi r26, 0 -/* 8034D3C0 0034A320 41 82 FE 8C */ beq lbl_8034D24C -/* 8034D3C4 0034A324 80 BD 00 04 */ lwz r5, 4(r29) -/* 8034D3C8 0034A328 7F 44 D3 78 */ mr r4, r26 -/* 8034D3CC 0034A32C 38 7D 00 08 */ addi r3, r29, 8 -/* 8034D3D0 0034A330 38 05 00 01 */ addi r0, r5, 1 -/* 8034D3D4 0034A334 90 1D 00 04 */ stw r0, 4(r29) -/* 8034D3D8 0034A338 4B FE F6 C1 */ bl rbtree_rebalance__4rstlFPvPv -/* 8034D3DC 0034A33C 93 5C 00 00 */ stw r26, 0(r28) -/* 8034D3E0 0034A340 38 1D 00 08 */ addi r0, r29, 8 -/* 8034D3E4 0034A344 90 1C 00 04 */ stw r0, 4(r28) -/* 8034D3E8 0034A348 88 0D 9D E1 */ lbz r0, lbl_805A89A1@sda21(r13) -/* 8034D3EC 0034A34C 98 1C 00 08 */ stb r0, 8(r28) -lbl_8034D3F0: -/* 8034D3F0 0034A350 BB 41 00 08 */ lmw r26, 8(r1) -/* 8034D3F4 0034A354 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8034D3F8 0034A358 7C 08 03 A6 */ mtlr r0 -/* 8034D3FC 0034A35C 38 21 00 20 */ addi r1, r1, 0x20 -/* 8034D400 0034A360 4E 80 00 20 */ blr - -.global sub_8034d404 -sub_8034d404: -/* 8034D404 0034A364 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034D408 0034A368 7C 08 02 A6 */ mflr r0 -/* 8034D40C 0034A36C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8034D410 0034A370 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8034D414 0034A374 93 C1 00 08 */ stw r30, 8(r1) -/* 8034D418 0034A378 7C 7E 1B 78 */ mr r30, r3 -/* 8034D41C 0034A37C 80 83 00 00 */ lwz r4, 0(r3) -/* 8034D420 0034A380 80 64 00 04 */ lwz r3, 4(r4) -/* 8034D424 0034A384 34 03 FF FF */ addic. r0, r3, -1 -/* 8034D428 0034A388 90 04 00 04 */ stw r0, 4(r4) -/* 8034D42C 0034A38C 41 81 00 3C */ bgt lbl_8034D468 -/* 8034D430 0034A390 80 7E 00 00 */ lwz r3, 0(r30) -/* 8034D434 0034A394 83 E3 00 00 */ lwz r31, 0(r3) -/* 8034D438 0034A398 28 1F 00 00 */ cmplwi r31, 0 -/* 8034D43C 0034A39C 41 82 00 1C */ beq lbl_8034D458 -/* 8034D440 0034A3A0 34 1F 00 54 */ addic. r0, r31, 0x54 -/* 8034D444 0034A3A4 41 82 00 0C */ beq lbl_8034D450 -/* 8034D448 0034A3A8 38 7F 00 54 */ addi r3, r31, 0x54 -/* 8034D44C 0034A3AC 4B FF 06 95 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8034D450: -/* 8034D450 0034A3B0 7F E3 FB 78 */ mr r3, r31 -/* 8034D454 0034A3B4 4B FC 84 DD */ bl Free__7CMemoryFPCv -lbl_8034D458: -/* 8034D458 0034A3B8 80 7E 00 00 */ lwz r3, 0(r30) -/* 8034D45C 0034A3BC 28 03 00 00 */ cmplwi r3, 0 -/* 8034D460 0034A3C0 41 82 00 08 */ beq lbl_8034D468 -/* 8034D464 0034A3C4 4B FC 84 CD */ bl Free__7CMemoryFPCv -lbl_8034D468: -/* 8034D468 0034A3C8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8034D46C 0034A3CC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8034D470 0034A3D0 83 C1 00 08 */ lwz r30, 8(r1) -/* 8034D474 0034A3D4 7C 08 03 A6 */ mtlr r0 -/* 8034D478 0034A3D8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8034D47C 0034A3DC 4E 80 00 20 */ blr - -.global __sinit_DolphinCAudioSys_cpp -__sinit_DolphinCAudioSys_cpp: -/* 8034D480 0034A3E0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8034D484 0034A3E4 7C 08 02 A6 */ mflr r0 -/* 8034D488 0034A3E8 3C 80 80 3E */ lis r4, lbl_803D8210@ha -/* 8034D48C 0034A3EC 38 84 82 10 */ addi r4, r4, lbl_803D8210@l -/* 8034D490 0034A3F0 90 01 00 24 */ stw r0, 0x24(r1) -/* 8034D494 0034A3F4 38 61 00 08 */ addi r3, r1, 8 -/* 8034D498 0034A3F8 38 84 00 07 */ addi r4, r4, 7 -/* 8034D49C 0034A3FC 4B CB 78 1D */ bl string_l__4rstlFPCc -/* 8034D4A0 0034A400 3C 60 80 5A */ lis r3, lbl_805A67CC@ha -/* 8034D4A4 0034A404 38 81 00 08 */ addi r4, r1, 8 -/* 8034D4A8 0034A408 38 63 67 CC */ addi r3, r3, lbl_805A67CC@l -/* 8034D4AC 0034A40C 4B FF 0C B5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8034D4B0 0034A410 3C 80 80 00 */ lis r4, sub_80004a9c@ha -/* 8034D4B4 0034A414 3C A0 80 4C */ lis r5, lbl_804BFF90@ha -/* 8034D4B8 0034A418 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l -/* 8034D4BC 0034A41C 38 A5 FF 90 */ addi r5, r5, lbl_804BFF90@l -/* 8034D4C0 0034A420 48 03 C1 CD */ bl __register_global_object -/* 8034D4C4 0034A424 38 61 00 08 */ addi r3, r1, 8 -/* 8034D4C8 0034A428 4B FF 06 19 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8034D4CC 0034A42C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8034D4D0 0034A430 7C 08 03 A6 */ mtlr r0 -/* 8034D4D4 0034A434 38 21 00 20 */ addi r1, r1, 0x20 -/* 8034D4D8 0034A438 4E 80 00 20 */ blr - -.global FreeCardWorkArea__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort -FreeCardWorkArea__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort: -/* 8034D4DC 0034A43C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8034D4E0 0034A440 7C 08 02 A6 */ mflr r0 -/* 8034D4E4 0034A444 90 01 00 34 */ stw r0, 0x34(r1) -/* 8034D4E8 0034A448 48 00 02 E9 */ bl WorkAreaVector__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort -/* 8034D4EC 0034A44C 38 00 00 00 */ li r0, 0 -/* 8034D4F0 0034A450 38 81 00 18 */ addi r4, r1, 0x18 -/* 8034D4F4 0034A454 90 01 00 1C */ stw r0, 0x1c(r1) -/* 8034D4F8 0034A458 90 01 00 20 */ stw r0, 0x20(r1) -/* 8034D4FC 0034A45C 90 01 00 24 */ stw r0, 0x24(r1) -/* 8034D500 0034A460 48 00 00 49 */ bl "__dt__Q24rstl36vectorFv" -/* 8034D504 0034A464 80 61 00 24 */ lwz r3, 0x24(r1) -/* 8034D508 0034A468 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 8034D50C 0034A46C 90 61 00 0C */ stw r3, 0xc(r1) -/* 8034D510 0034A470 7C 83 02 14 */ add r4, r3, r0 -/* 8034D514 0034A474 7C 03 20 50 */ subf r0, r3, r4 -/* 8034D518 0034A478 90 81 00 14 */ stw r4, 0x14(r1) -/* 8034D51C 0034A47C 90 81 00 10 */ stw r4, 0x10(r1) -/* 8034D520 0034A480 90 61 00 08 */ stw r3, 8(r1) -/* 8034D524 0034A484 7C 09 03 A6 */ mtctr r0 -/* 8034D528 0034A488 7C 03 20 40 */ cmplw r3, r4 -/* 8034D52C 0034A48C 41 82 00 08 */ beq lbl_8034D534 -lbl_8034D530: -/* 8034D530 0034A490 42 00 00 00 */ bdnz lbl_8034D530 -lbl_8034D534: -/* 8034D534 0034A494 4B FC 83 FD */ bl Free__7CMemoryFPCv -/* 8034D538 0034A498 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8034D53C 0034A49C 7C 08 03 A6 */ mtlr r0 -/* 8034D540 0034A4A0 38 21 00 30 */ addi r1, r1, 0x30 -/* 8034D544 0034A4A4 4E 80 00 20 */ blr - -.global "__dt__Q24rstl36vectorFv" -"__dt__Q24rstl36vectorFv": -/* 8034D548 0034A4A8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8034D54C 0034A4AC 7C 08 02 A6 */ mflr r0 -/* 8034D550 0034A4B0 90 01 00 24 */ stw r0, 0x24(r1) -/* 8034D554 0034A4B4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8034D558 0034A4B8 7C 9F 23 78 */ mr r31, r4 -/* 8034D55C 0034A4BC 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8034D560 0034A4C0 7C 7E 1B 78 */ mr r30, r3 -/* 8034D564 0034A4C4 7C 1E F8 40 */ cmplw r30, r31 -/* 8034D568 0034A4C8 40 82 00 08 */ bne lbl_8034D570 -/* 8034D56C 0034A4CC 48 00 00 B4 */ b lbl_8034D620 -lbl_8034D570: -/* 8034D570 0034A4D0 80 9E 00 0C */ lwz r4, 0xc(r30) -/* 8034D574 0034A4D4 80 1E 00 04 */ lwz r0, 4(r30) -/* 8034D578 0034A4D8 90 81 00 0C */ stw r4, 0xc(r1) -/* 8034D57C 0034A4DC 7C 64 02 14 */ add r3, r4, r0 -/* 8034D580 0034A4E0 7C 04 18 50 */ subf r0, r4, r3 -/* 8034D584 0034A4E4 90 61 00 14 */ stw r3, 0x14(r1) -/* 8034D588 0034A4E8 90 61 00 10 */ stw r3, 0x10(r1) -/* 8034D58C 0034A4EC 90 81 00 08 */ stw r4, 8(r1) -/* 8034D590 0034A4F0 7C 09 03 A6 */ mtctr r0 -/* 8034D594 0034A4F4 7C 04 18 40 */ cmplw r4, r3 -/* 8034D598 0034A4F8 41 82 00 08 */ beq lbl_8034D5A0 -lbl_8034D59C: -/* 8034D59C 0034A4FC 42 00 00 00 */ bdnz lbl_8034D59C -lbl_8034D5A0: -/* 8034D5A0 0034A500 38 00 00 00 */ li r0, 0 -/* 8034D5A4 0034A504 90 1E 00 04 */ stw r0, 4(r30) -/* 8034D5A8 0034A508 80 9F 00 04 */ lwz r4, 4(r31) -/* 8034D5AC 0034A50C 2C 04 00 00 */ cmpwi r4, 0 -/* 8034D5B0 0034A510 40 82 00 20 */ bne lbl_8034D5D0 -/* 8034D5B4 0034A514 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 8034D5B8 0034A518 4B FC 83 79 */ bl Free__7CMemoryFPCv -/* 8034D5BC 0034A51C 38 00 00 00 */ li r0, 0 -/* 8034D5C0 0034A520 90 1E 00 04 */ stw r0, 4(r30) -/* 8034D5C4 0034A524 90 1E 00 08 */ stw r0, 8(r30) -/* 8034D5C8 0034A528 90 1E 00 0C */ stw r0, 0xc(r30) -/* 8034D5CC 0034A52C 48 00 00 50 */ b lbl_8034D61C -lbl_8034D5D0: -/* 8034D5D0 0034A530 7F C3 F3 78 */ mr r3, r30 -/* 8034D5D4 0034A534 48 00 18 65 */ bl "reserve__Q24rstl36vectorFi" -/* 8034D5D8 0034A538 80 BF 00 0C */ lwz r5, 0xc(r31) -/* 8034D5DC 0034A53C 80 1F 00 04 */ lwz r0, 4(r31) -/* 8034D5E0 0034A540 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 8034D5E4 0034A544 7C 85 02 14 */ add r4, r5, r0 -/* 8034D5E8 0034A548 7C 05 20 50 */ subf r0, r5, r4 -/* 8034D5EC 0034A54C 7C 09 03 A6 */ mtctr r0 -/* 8034D5F0 0034A550 7C 05 20 40 */ cmplw r5, r4 -/* 8034D5F4 0034A554 41 82 00 20 */ beq lbl_8034D614 -lbl_8034D5F8: -/* 8034D5F8 0034A558 28 03 00 00 */ cmplwi r3, 0 -/* 8034D5FC 0034A55C 41 82 00 0C */ beq lbl_8034D608 -/* 8034D600 0034A560 88 05 00 00 */ lbz r0, 0(r5) -/* 8034D604 0034A564 98 03 00 00 */ stb r0, 0(r3) -lbl_8034D608: -/* 8034D608 0034A568 38 63 00 01 */ addi r3, r3, 1 -/* 8034D60C 0034A56C 38 A5 00 01 */ addi r5, r5, 1 -/* 8034D610 0034A570 42 00 FF E8 */ bdnz lbl_8034D5F8 -lbl_8034D614: -/* 8034D614 0034A574 80 1F 00 04 */ lwz r0, 4(r31) -/* 8034D618 0034A578 90 1E 00 04 */ stw r0, 4(r30) -lbl_8034D61C: -/* 8034D61C 0034A57C 7F C3 F3 78 */ mr r3, r30 -lbl_8034D620: -/* 8034D620 0034A580 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8034D624 0034A584 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8034D628 0034A588 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8034D62C 0034A58C 7C 08 03 A6 */ mtlr r0 -/* 8034D630 0034A590 38 21 00 20 */ addi r1, r1, 0x20 -/* 8034D634 0034A594 4E 80 00 20 */ blr - -.global sub_8034d638 -sub_8034d638: -/* 8034D638 0034A598 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8034D63C 0034A59C 7C 08 02 A6 */ mflr r0 -/* 8034D640 0034A5A0 90 01 00 24 */ stw r0, 0x24(r1) -/* 8034D644 0034A5A4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8034D648 0034A5A8 7C 9F 23 78 */ mr r31, r4 -/* 8034D64C 0034A5AC 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8034D650 0034A5B0 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8034D654 0034A5B4 41 82 00 48 */ beq lbl_8034D69C -/* 8034D658 0034A5B8 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 8034D65C 0034A5BC 80 1E 00 04 */ lwz r0, 4(r30) -/* 8034D660 0034A5C0 90 61 00 10 */ stw r3, 0x10(r1) -/* 8034D664 0034A5C4 7C 83 02 14 */ add r4, r3, r0 -/* 8034D668 0034A5C8 7C 03 20 50 */ subf r0, r3, r4 -/* 8034D66C 0034A5CC 90 81 00 08 */ stw r4, 8(r1) -/* 8034D670 0034A5D0 90 81 00 0C */ stw r4, 0xc(r1) -/* 8034D674 0034A5D4 90 61 00 14 */ stw r3, 0x14(r1) -/* 8034D678 0034A5D8 7C 09 03 A6 */ mtctr r0 -/* 8034D67C 0034A5DC 7C 03 20 40 */ cmplw r3, r4 -/* 8034D680 0034A5E0 41 82 00 08 */ beq lbl_8034D688 -lbl_8034D684: -/* 8034D684 0034A5E4 42 00 00 00 */ bdnz lbl_8034D684 -lbl_8034D688: -/* 8034D688 0034A5E8 4B FC 82 A9 */ bl Free__7CMemoryFPCv -/* 8034D68C 0034A5EC 7F E0 07 35 */ extsh. r0, r31 -/* 8034D690 0034A5F0 40 81 00 0C */ ble lbl_8034D69C -/* 8034D694 0034A5F4 7F C3 F3 78 */ mr r3, r30 -/* 8034D698 0034A5F8 4B FC 82 99 */ bl Free__7CMemoryFPCv -lbl_8034D69C: -/* 8034D69C 0034A5FC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8034D6A0 0034A600 7F C3 F3 78 */ mr r3, r30 -/* 8034D6A4 0034A604 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8034D6A8 0034A608 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8034D6AC 0034A60C 7C 08 03 A6 */ mtlr r0 -/* 8034D6B0 0034A610 38 21 00 20 */ addi r1, r1, 0x20 -/* 8034D6B4 0034A614 4E 80 00 20 */ blr - -.global AllocCardWorkArea__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort -AllocCardWorkArea__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort: -/* 8034D6B8 0034A618 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034D6BC 0034A61C 7C 08 02 A6 */ mflr r0 -/* 8034D6C0 0034A620 90 01 00 14 */ stw r0, 0x14(r1) -/* 8034D6C4 0034A624 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8034D6C8 0034A628 93 C1 00 08 */ stw r30, 8(r1) -/* 8034D6CC 0034A62C 48 00 01 05 */ bl WorkAreaVector__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort -/* 8034D6D0 0034A630 3C 80 00 01 */ lis r4, 0x0000A000@ha -/* 8034D6D4 0034A634 7C 7F 1B 78 */ mr r31, r3 -/* 8034D6D8 0034A638 38 84 A0 00 */ addi r4, r4, 0x0000A000@l -/* 8034D6DC 0034A63C 38 AD 9D EB */ addi r5, r13, lbl_805A89AB@sda21 -/* 8034D6E0 0034A640 48 00 00 31 */ bl "resize__Q24rstl36vectorFiRCc" -/* 8034D6E4 0034A644 83 DF 00 0C */ lwz r30, 0xc(r31) -/* 8034D6E8 0034A648 80 9F 00 04 */ lwz r4, 4(r31) -/* 8034D6EC 0034A64C 7F C3 F3 78 */ mr r3, r30 -/* 8034D6F0 0034A650 48 03 13 95 */ bl DCInvalidateRange -/* 8034D6F4 0034A654 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8034D6F8 0034A658 7F C3 F3 78 */ mr r3, r30 -/* 8034D6FC 0034A65C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8034D700 0034A660 83 C1 00 08 */ lwz r30, 8(r1) -/* 8034D704 0034A664 7C 08 03 A6 */ mtlr r0 -/* 8034D708 0034A668 38 21 00 10 */ addi r1, r1, 0x10 -/* 8034D70C 0034A66C 4E 80 00 20 */ blr - -.global "resize__Q24rstl36vectorFiRCc" -"resize__Q24rstl36vectorFiRCc": -/* 8034D710 0034A670 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8034D714 0034A674 7C 08 02 A6 */ mflr r0 -/* 8034D718 0034A678 90 01 00 34 */ stw r0, 0x34(r1) -/* 8034D71C 0034A67C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8034D720 0034A680 7C BF 2B 78 */ mr r31, r5 -/* 8034D724 0034A684 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8034D728 0034A688 7C 9E 23 78 */ mr r30, r4 -/* 8034D72C 0034A68C 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8034D730 0034A690 7C 7D 1B 78 */ mr r29, r3 -/* 8034D734 0034A694 80 03 00 04 */ lwz r0, 4(r3) -/* 8034D738 0034A698 7C 00 F0 00 */ cmpw r0, r30 -/* 8034D73C 0034A69C 41 82 00 78 */ beq lbl_8034D7B4 -/* 8034D740 0034A6A0 7C 1E 00 00 */ cmpw r30, r0 -/* 8034D744 0034A6A4 40 81 00 3C */ ble lbl_8034D780 -/* 8034D748 0034A6A8 48 00 16 F1 */ bl "reserve__Q24rstl36vectorFi" -/* 8034D74C 0034A6AC 80 7D 00 04 */ lwz r3, 4(r29) -/* 8034D750 0034A6B0 80 1D 00 0C */ lwz r0, 0xc(r29) -/* 8034D754 0034A6B4 7C 83 F0 51 */ subf. r4, r3, r30 -/* 8034D758 0034A6B8 7C 60 1A 14 */ add r3, r0, r3 -/* 8034D75C 0034A6BC 7C 89 03 A6 */ mtctr r4 -/* 8034D760 0034A6C0 40 81 00 50 */ ble lbl_8034D7B0 -lbl_8034D764: -/* 8034D764 0034A6C4 28 03 00 00 */ cmplwi r3, 0 -/* 8034D768 0034A6C8 41 82 00 0C */ beq lbl_8034D774 -/* 8034D76C 0034A6CC 88 1F 00 00 */ lbz r0, 0(r31) -/* 8034D770 0034A6D0 98 03 00 00 */ stb r0, 0(r3) -lbl_8034D774: -/* 8034D774 0034A6D4 38 63 00 01 */ addi r3, r3, 1 -/* 8034D778 0034A6D8 42 00 FF EC */ bdnz lbl_8034D764 -/* 8034D77C 0034A6DC 48 00 00 34 */ b lbl_8034D7B0 -lbl_8034D780: -/* 8034D780 0034A6E0 80 9D 00 0C */ lwz r4, 0xc(r29) -/* 8034D784 0034A6E4 7C 64 02 14 */ add r3, r4, r0 -/* 8034D788 0034A6E8 7C 84 F2 14 */ add r4, r4, r30 -/* 8034D78C 0034A6EC 7C 04 18 50 */ subf r0, r4, r3 -/* 8034D790 0034A6F0 90 61 00 08 */ stw r3, 8(r1) -/* 8034D794 0034A6F4 90 61 00 0C */ stw r3, 0xc(r1) -/* 8034D798 0034A6F8 90 81 00 10 */ stw r4, 0x10(r1) -/* 8034D79C 0034A6FC 90 81 00 14 */ stw r4, 0x14(r1) -/* 8034D7A0 0034A700 7C 09 03 A6 */ mtctr r0 -/* 8034D7A4 0034A704 7C 04 18 40 */ cmplw r4, r3 -/* 8034D7A8 0034A708 41 82 00 08 */ beq lbl_8034D7B0 -lbl_8034D7AC: -/* 8034D7AC 0034A70C 42 00 00 00 */ bdnz lbl_8034D7AC -lbl_8034D7B0: -/* 8034D7B0 0034A710 93 DD 00 04 */ stw r30, 4(r29) -lbl_8034D7B4: -/* 8034D7B4 0034A714 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8034D7B8 0034A718 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8034D7BC 0034A71C 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8034D7C0 0034A720 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 8034D7C4 0034A724 7C 08 03 A6 */ mtlr r0 -/* 8034D7C8 0034A728 38 21 00 30 */ addi r1, r1, 0x30 -/* 8034D7CC 0034A72C 4E 80 00 20 */ blr - -.global WorkAreaVector__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort -WorkAreaVector__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort: -/* 8034D7D0 0034A730 2C 03 00 01 */ cmpwi r3, 1 -/* 8034D7D4 0034A734 41 82 00 20 */ beq lbl_8034D7F4 -/* 8034D7D8 0034A738 40 80 00 28 */ bge lbl_8034D800 -/* 8034D7DC 0034A73C 2C 03 00 00 */ cmpwi r3, 0 -/* 8034D7E0 0034A740 40 80 00 08 */ bge lbl_8034D7E8 -/* 8034D7E4 0034A744 48 00 00 1C */ b lbl_8034D800 -lbl_8034D7E8: -/* 8034D7E8 0034A748 3C 60 80 5A */ lis r3, lbl_805A67DC@ha -/* 8034D7EC 0034A74C 38 63 67 DC */ addi r3, r3, lbl_805A67DC@l -/* 8034D7F0 0034A750 4E 80 00 20 */ blr -lbl_8034D7F4: -/* 8034D7F4 0034A754 3C 60 80 5A */ lis r3, lbl_805A67FC@ha -/* 8034D7F8 0034A758 38 63 67 FC */ addi r3, r3, lbl_805A67FC@l -/* 8034D7FC 0034A75C 4E 80 00 20 */ blr -lbl_8034D800: -/* 8034D800 0034A760 3C 60 80 5A */ lis r3, lbl_805A67DC@ha -/* 8034D804 0034A764 38 63 67 DC */ addi r3, r3, lbl_805A67DC@l -/* 8034D808 0034A768 4E 80 00 20 */ blr - -.global SetStatus__14CMemoryCardSysFiiPC8CARDStat -SetStatus__14CMemoryCardSysFiiPC8CARDStat: -/* 8034D80C 0034A76C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034D810 0034A770 7C 08 02 A6 */ mflr r0 -/* 8034D814 0034A774 38 C0 00 00 */ li r6, 0 -/* 8034D818 0034A778 90 01 00 14 */ stw r0, 0x14(r1) -/* 8034D81C 0034A77C 48 07 0A 5D */ bl CARDSetStatusAsync -/* 8034D820 0034A780 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8034D824 0034A784 7C 08 03 A6 */ mtlr r0 -/* 8034D828 0034A788 38 21 00 10 */ addi r1, r1, 0x10 -/* 8034D82C 0034A78C 4E 80 00 20 */ blr - -.global GetStatus__14CMemoryCardSysFiiP8CARDStat -GetStatus__14CMemoryCardSysFiiP8CARDStat: -/* 8034D830 0034A790 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 8034D834 0034A794 7C 08 02 A6 */ mflr r0 -/* 8034D838 0034A798 90 01 00 84 */ stw r0, 0x84(r1) -/* 8034D83C 0034A79C 93 E1 00 7C */ stw r31, 0x7c(r1) -/* 8034D840 0034A7A0 7C BF 2B 78 */ mr r31, r5 -/* 8034D844 0034A7A4 38 A1 00 08 */ addi r5, r1, 8 -/* 8034D848 0034A7A8 48 07 09 05 */ bl CARDGetStatus -/* 8034D84C 0034A7AC 38 00 00 0D */ li r0, 0xd -/* 8034D850 0034A7B0 38 DF FF FC */ addi r6, r31, -4 -/* 8034D854 0034A7B4 38 A1 00 04 */ addi r5, r1, 4 -/* 8034D858 0034A7B8 7C 09 03 A6 */ mtctr r0 -lbl_8034D85C: -/* 8034D85C 0034A7BC 80 85 00 04 */ lwz r4, 4(r5) -/* 8034D860 0034A7C0 84 05 00 08 */ lwzu r0, 8(r5) -/* 8034D864 0034A7C4 90 86 00 04 */ stw r4, 4(r6) -/* 8034D868 0034A7C8 94 06 00 08 */ stwu r0, 8(r6) -/* 8034D86C 0034A7CC 42 00 FF F0 */ bdnz lbl_8034D85C -/* 8034D870 0034A7D0 80 05 00 04 */ lwz r0, 4(r5) -/* 8034D874 0034A7D4 90 06 00 04 */ stw r0, 4(r6) -/* 8034D878 0034A7D8 80 01 00 84 */ lwz r0, 0x84(r1) -/* 8034D87C 0034A7DC 83 E1 00 7C */ lwz r31, 0x7c(r1) -/* 8034D880 0034A7E0 7C 08 03 A6 */ mtlr r0 -/* 8034D884 0034A7E4 38 21 00 80 */ addi r1, r1, 0x80 -/* 8034D888 0034A7E8 4E 80 00 20 */ blr - -.global GetSerialNo__14CMemoryCardSysFiRx -GetSerialNo__14CMemoryCardSysFiRx: -/* 8034D88C 0034A7EC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034D890 0034A7F0 7C 08 02 A6 */ mflr r0 -/* 8034D894 0034A7F4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8034D898 0034A7F8 48 07 0D 51 */ bl CARDGetSerialNo -/* 8034D89C 0034A7FC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8034D8A0 0034A800 7C 08 03 A6 */ mtlr r0 -/* 8034D8A4 0034A804 38 21 00 10 */ addi r1, r1, 0x10 -/* 8034D8A8 0034A808 4E 80 00 20 */ blr - -.global TryFileRead__19SMemoryCardFileInfoFv -TryFileRead__19SMemoryCardFileInfoFv: -/* 8034D8AC 0034A80C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034D8B0 0034A810 7C 08 02 A6 */ mflr r0 -/* 8034D8B4 0034A814 90 01 00 14 */ stw r0, 0x14(r1) -/* 8034D8B8 0034A818 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8034D8BC 0034A81C 7C 7F 1B 78 */ mr r31, r3 -/* 8034D8C0 0034A820 48 00 11 ED */ bl GetFileCardPort__19SMemoryCardFileInfoFv -/* 8034D8C4 0034A824 48 00 0B 29 */ bl GetResultCode__14CMemoryCardSysFi -/* 8034D8C8 0034A828 2C 03 00 00 */ cmpwi r3, 0 -/* 8034D8CC 0034A82C 41 82 00 08 */ beq lbl_8034D8D4 -/* 8034D8D0 0034A830 48 00 00 0C */ b lbl_8034D8DC -lbl_8034D8D4: -/* 8034D8D4 0034A834 7F E3 FB 78 */ mr r3, r31 -/* 8034D8D8 0034A838 48 00 12 71 */ bl FileRead__19SMemoryCardFileInfoFv -lbl_8034D8DC: -/* 8034D8DC 0034A83C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8034D8E0 0034A840 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8034D8E4 0034A844 7C 08 03 A6 */ mtlr r0 -/* 8034D8E8 0034A848 38 21 00 10 */ addi r1, r1, 0x10 -/* 8034D8EC 0034A84C 4E 80 00 20 */ blr - -.global StartRead__19SMemoryCardFileInfoFv -StartRead__19SMemoryCardFileInfoFv: -/* 8034D8F0 0034A850 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 8034D8F4 0034A854 7C 08 02 A6 */ mflr r0 -/* 8034D8F8 0034A858 38 80 00 00 */ li r4, 0 -/* 8034D8FC 0034A85C 38 A0 00 6C */ li r5, 0x6c -/* 8034D900 0034A860 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 8034D904 0034A864 93 E1 00 9C */ stw r31, 0x9c(r1) -/* 8034D908 0034A868 93 C1 00 98 */ stw r30, 0x98(r1) -/* 8034D90C 0034A86C 7C 7E 1B 78 */ mr r30, r3 -/* 8034D910 0034A870 38 61 00 28 */ addi r3, r1, 0x28 -/* 8034D914 0034A874 4B CB 5A 95 */ bl memset -/* 8034D918 0034A878 7F C3 F3 78 */ mr r3, r30 -/* 8034D91C 0034A87C 48 00 11 89 */ bl GetFileNo__19SMemoryCardFileInfoFv -/* 8034D920 0034A880 7C 7F 1B 78 */ mr r31, r3 -/* 8034D924 0034A884 7F C3 F3 78 */ mr r3, r30 -/* 8034D928 0034A888 48 00 11 85 */ bl GetFileCardPort__19SMemoryCardFileInfoFv -/* 8034D92C 0034A88C 7F E4 FB 78 */ mr r4, r31 -/* 8034D930 0034A890 38 A1 00 28 */ addi r5, r1, 0x28 -/* 8034D934 0034A894 4B FF FE FD */ bl GetStatus__14CMemoryCardSysFiiP8CARDStat -/* 8034D938 0034A898 2C 03 00 00 */ cmpwi r3, 0 -/* 8034D93C 0034A89C 41 82 00 08 */ beq lbl_8034D944 -/* 8034D940 0034A8A0 48 00 00 90 */ b lbl_8034D9D0 -lbl_8034D944: -/* 8034D944 0034A8A4 38 61 00 28 */ addi r3, r1, 0x28 -/* 8034D948 0034A8A8 48 00 0C 85 */ bl GetFileLength__8CARDStatFv -/* 8034D94C 0034A8AC 38 00 00 00 */ li r0, 0 -/* 8034D950 0034A8B0 7C 7F 1B 78 */ mr r31, r3 -/* 8034D954 0034A8B4 90 01 00 1C */ stw r0, 0x1c(r1) -/* 8034D958 0034A8B8 38 7E 00 34 */ addi r3, r30, 0x34 -/* 8034D95C 0034A8BC 38 81 00 18 */ addi r4, r1, 0x18 -/* 8034D960 0034A8C0 90 01 00 20 */ stw r0, 0x20(r1) -/* 8034D964 0034A8C4 90 01 00 24 */ stw r0, 0x24(r1) -/* 8034D968 0034A8C8 4B F5 AD 4D */ bl sub_802a86b4 -/* 8034D96C 0034A8CC 80 61 00 24 */ lwz r3, 0x24(r1) -/* 8034D970 0034A8D0 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 8034D974 0034A8D4 90 61 00 0C */ stw r3, 0xc(r1) -/* 8034D978 0034A8D8 7C 83 02 14 */ add r4, r3, r0 -/* 8034D97C 0034A8DC 7C 03 20 50 */ subf r0, r3, r4 -/* 8034D980 0034A8E0 90 81 00 14 */ stw r4, 0x14(r1) -/* 8034D984 0034A8E4 90 81 00 10 */ stw r4, 0x10(r1) -/* 8034D988 0034A8E8 90 61 00 08 */ stw r3, 8(r1) -/* 8034D98C 0034A8EC 7C 09 03 A6 */ mtctr r0 -/* 8034D990 0034A8F0 7C 03 20 40 */ cmplw r3, r4 -/* 8034D994 0034A8F4 41 82 00 08 */ beq lbl_8034D99C -lbl_8034D998: -/* 8034D998 0034A8F8 42 00 00 00 */ bdnz lbl_8034D998 -lbl_8034D99C: -/* 8034D99C 0034A8FC 28 03 00 00 */ cmplwi r3, 0 -/* 8034D9A0 0034A900 41 82 00 08 */ beq lbl_8034D9A8 -/* 8034D9A4 0034A904 4B FC 7F 8D */ bl Free__7CMemoryFPCv -lbl_8034D9A8: -/* 8034D9A8 0034A908 7F E4 FB 78 */ mr r4, r31 -/* 8034D9AC 0034A90C 38 7E 00 24 */ addi r3, r30, 0x24 -/* 8034D9B0 0034A910 38 AD 9D EA */ addi r5, r13, lbl_805A89AA@sda21 -/* 8034D9B4 0034A914 48 00 00 35 */ bl sub_8034d9e8 -/* 8034D9B8 0034A918 80 9E 00 30 */ lwz r4, 0x30(r30) -/* 8034D9BC 0034A91C 7F C3 F3 78 */ mr r3, r30 -/* 8034D9C0 0034A920 7F E5 FB 78 */ mr r5, r31 -/* 8034D9C4 0034A924 38 C0 00 00 */ li r6, 0 -/* 8034D9C8 0034A928 38 E0 00 00 */ li r7, 0 -/* 8034D9CC 0034A92C 48 06 FE 2D */ bl CARDReadAsync -lbl_8034D9D0: -/* 8034D9D0 0034A930 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 8034D9D4 0034A934 83 E1 00 9C */ lwz r31, 0x9c(r1) -/* 8034D9D8 0034A938 83 C1 00 98 */ lwz r30, 0x98(r1) -/* 8034D9DC 0034A93C 7C 08 03 A6 */ mtlr r0 -/* 8034D9E0 0034A940 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 8034D9E4 0034A944 4E 80 00 20 */ blr - -.global sub_8034d9e8 -sub_8034d9e8: -/* 8034D9E8 0034A948 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8034D9EC 0034A94C 7C 08 02 A6 */ mflr r0 -/* 8034D9F0 0034A950 90 01 00 34 */ stw r0, 0x34(r1) -/* 8034D9F4 0034A954 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8034D9F8 0034A958 7C BF 2B 78 */ mr r31, r5 -/* 8034D9FC 0034A95C 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8034DA00 0034A960 7C 9E 23 78 */ mr r30, r4 -/* 8034DA04 0034A964 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8034DA08 0034A968 7C 7D 1B 78 */ mr r29, r3 -/* 8034DA0C 0034A96C 93 81 00 20 */ stw r28, 0x20(r1) -/* 8034DA10 0034A970 80 83 00 0C */ lwz r4, 0xc(r3) -/* 8034DA14 0034A974 80 03 00 04 */ lwz r0, 4(r3) -/* 8034DA18 0034A978 90 81 00 0C */ stw r4, 0xc(r1) -/* 8034DA1C 0034A97C 7C 64 02 14 */ add r3, r4, r0 -/* 8034DA20 0034A980 7C 04 18 50 */ subf r0, r4, r3 -/* 8034DA24 0034A984 90 61 00 14 */ stw r3, 0x14(r1) -/* 8034DA28 0034A988 90 61 00 10 */ stw r3, 0x10(r1) -/* 8034DA2C 0034A98C 90 81 00 08 */ stw r4, 8(r1) -/* 8034DA30 0034A990 7C 09 03 A6 */ mtctr r0 -/* 8034DA34 0034A994 7C 04 18 40 */ cmplw r4, r3 -/* 8034DA38 0034A998 41 82 00 08 */ beq lbl_8034DA40 -lbl_8034DA3C: -/* 8034DA3C 0034A99C 42 00 00 00 */ bdnz lbl_8034DA3C -lbl_8034DA40: -/* 8034DA40 0034A9A0 38 00 00 00 */ li r0, 0 -/* 8034DA44 0034A9A4 7F A3 EB 78 */ mr r3, r29 -/* 8034DA48 0034A9A8 90 1D 00 04 */ stw r0, 4(r29) -/* 8034DA4C 0034A9AC 7F C4 F3 78 */ mr r4, r30 -/* 8034DA50 0034A9B0 48 00 12 E1 */ bl sub_8034ed30 -/* 8034DA54 0034A9B4 3B 80 00 00 */ li r28, 0 -/* 8034DA58 0034A9B8 48 00 00 54 */ b lbl_8034DAAC -lbl_8034DA5C: -/* 8034DA5C 0034A9BC 80 1D 00 04 */ lwz r0, 4(r29) -/* 8034DA60 0034A9C0 80 BD 00 08 */ lwz r5, 8(r29) -/* 8034DA64 0034A9C4 7C 00 28 00 */ cmpw r0, r5 -/* 8034DA68 0034A9C8 41 80 00 1C */ blt lbl_8034DA84 -/* 8034DA6C 0034A9CC 2C 05 00 00 */ cmpwi r5, 0 -/* 8034DA70 0034A9D0 7F A3 EB 78 */ mr r3, r29 -/* 8034DA74 0034A9D4 38 80 00 04 */ li r4, 4 -/* 8034DA78 0034A9D8 41 82 00 08 */ beq lbl_8034DA80 -/* 8034DA7C 0034A9DC 54 A4 08 3C */ slwi r4, r5, 1 -lbl_8034DA80: -/* 8034DA80 0034A9E0 48 00 12 B1 */ bl sub_8034ed30 -lbl_8034DA84: -/* 8034DA84 0034A9E4 80 7D 00 0C */ lwz r3, 0xc(r29) -/* 8034DA88 0034A9E8 80 1D 00 04 */ lwz r0, 4(r29) -/* 8034DA8C 0034A9EC 7C 63 02 15 */ add. r3, r3, r0 -/* 8034DA90 0034A9F0 41 82 00 0C */ beq lbl_8034DA9C -/* 8034DA94 0034A9F4 88 1F 00 00 */ lbz r0, 0(r31) -/* 8034DA98 0034A9F8 98 03 00 00 */ stb r0, 0(r3) -lbl_8034DA9C: -/* 8034DA9C 0034A9FC 80 7D 00 04 */ lwz r3, 4(r29) -/* 8034DAA0 0034AA00 3B 9C 00 01 */ addi r28, r28, 1 -/* 8034DAA4 0034AA04 38 03 00 01 */ addi r0, r3, 1 -/* 8034DAA8 0034AA08 90 1D 00 04 */ stw r0, 4(r29) -lbl_8034DAAC: -/* 8034DAAC 0034AA0C 7C 1C F0 00 */ cmpw r28, r30 -/* 8034DAB0 0034AA10 41 80 FF AC */ blt lbl_8034DA5C -/* 8034DAB4 0034AA14 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8034DAB8 0034AA18 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8034DABC 0034AA1C 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8034DAC0 0034AA20 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 8034DAC4 0034AA24 83 81 00 20 */ lwz r28, 0x20(r1) -/* 8034DAC8 0034AA28 7C 08 03 A6 */ mtlr r0 -/* 8034DACC 0034AA2C 38 21 00 30 */ addi r1, r1, 0x30 -/* 8034DAD0 0034AA30 4E 80 00 20 */ blr - -.global GetStatus__13CCardFileInfoFP8CARDStat -GetStatus__13CCardFileInfoFP8CARDStat: -/* 8034DAD4 0034AA34 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8034DAD8 0034AA38 7C 08 02 A6 */ mflr r0 -/* 8034DADC 0034AA3C 90 01 00 24 */ stw r0, 0x24(r1) -/* 8034DAE0 0034AA40 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8034DAE4 0034AA44 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8034DAE8 0034AA48 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8034DAEC 0034AA4C 7C 9D 23 78 */ mr r29, r4 -/* 8034DAF0 0034AA50 93 81 00 10 */ stw r28, 0x10(r1) -/* 8034DAF4 0034AA54 7C 7C 1B 78 */ mr r28, r3 -/* 8034DAF8 0034AA58 48 00 0F 9D */ bl GetFileNo__13CCardFileInfoFv -/* 8034DAFC 0034AA5C 7C 7F 1B 78 */ mr r31, r3 -/* 8034DB00 0034AA60 7F 83 E3 78 */ mr r3, r28 -/* 8034DB04 0034AA64 48 00 0F 99 */ bl GetCardPort__13CCardFileInfoFv -/* 8034DB08 0034AA68 7F E4 FB 78 */ mr r4, r31 -/* 8034DB0C 0034AA6C 7F A5 EB 78 */ mr r5, r29 -/* 8034DB10 0034AA70 4B FF FD 21 */ bl GetStatus__14CMemoryCardSysFiiP8CARDStat -/* 8034DB14 0034AA74 2C 03 00 00 */ cmpwi r3, 0 -/* 8034DB18 0034AA78 41 82 00 08 */ beq lbl_8034DB20 -/* 8034DB1C 0034AA7C 48 00 00 D8 */ b lbl_8034DBF4 -lbl_8034DB20: -/* 8034DB20 0034AA80 7F A3 EB 78 */ mr r3, r29 -/* 8034DB24 0034AA84 38 80 00 04 */ li r4, 4 -/* 8034DB28 0034AA88 48 00 0A 09 */ bl SetCommentAddr__8CARDStatFi -/* 8034DB2C 0034AA8C 7F A3 EB 78 */ mr r3, r29 -/* 8034DB30 0034AA90 38 80 00 44 */ li r4, 0x44 -/* 8034DB34 0034AA94 48 00 0A 05 */ bl SetIconAddr__8CARDStatFi -/* 8034DB38 0034AA98 80 7C 00 3C */ lwz r3, 0x3c(r28) -/* 8034DB3C 0034AA9C 3C 03 00 01 */ addis r0, r3, 1 -/* 8034DB40 0034AAA0 28 00 FF FF */ cmplwi r0, 0xffff -/* 8034DB44 0034AAA4 40 82 00 0C */ bne lbl_8034DB50 -/* 8034DB48 0034AAA8 38 80 00 00 */ li r4, 0 -/* 8034DB4C 0034AAAC 48 00 00 20 */ b lbl_8034DB6C -lbl_8034DB50: -/* 8034DB50 0034AAB0 80 7C 00 48 */ lwz r3, 0x48(r28) -/* 8034DB54 0034AAB4 80 03 00 00 */ lwz r0, 0(r3) -/* 8034DB58 0034AAB8 2C 00 00 08 */ cmpwi r0, 8 -/* 8034DB5C 0034AABC 40 82 00 0C */ bne lbl_8034DB68 -/* 8034DB60 0034AAC0 38 80 00 02 */ li r4, 2 -/* 8034DB64 0034AAC4 48 00 00 08 */ b lbl_8034DB6C -lbl_8034DB68: -/* 8034DB68 0034AAC8 38 80 00 01 */ li r4, 1 -lbl_8034DB6C: -/* 8034DB6C 0034AACC 7F A3 EB 78 */ mr r3, r29 -/* 8034DB70 0034AAD0 48 00 0A 19 */ bl SetBannerFormat__8CARDStatFi -/* 8034DB74 0034AAD4 3B FC 00 54 */ addi r31, r28, 0x54 -/* 8034DB78 0034AAD8 3B C0 00 00 */ li r30, 0 -/* 8034DB7C 0034AADC 48 00 00 40 */ b lbl_8034DBBC -lbl_8034DB80: -/* 8034DB80 0034AAE0 80 7F 00 10 */ lwz r3, 0x10(r31) -/* 8034DB84 0034AAE4 38 80 00 01 */ li r4, 1 -/* 8034DB88 0034AAE8 80 03 00 00 */ lwz r0, 0(r3) -/* 8034DB8C 0034AAEC 2C 00 00 08 */ cmpwi r0, 8 -/* 8034DB90 0034AAF0 40 82 00 08 */ bne lbl_8034DB98 -/* 8034DB94 0034AAF4 38 80 00 02 */ li r4, 2 -lbl_8034DB98: -/* 8034DB98 0034AAF8 7F A3 EB 78 */ mr r3, r29 -/* 8034DB9C 0034AAFC 7F C5 F3 78 */ mr r5, r30 -/* 8034DBA0 0034AB00 48 00 09 C5 */ bl SetIconFormat__8CARDStatFii -/* 8034DBA4 0034AB04 80 9F 00 04 */ lwz r4, 4(r31) -/* 8034DBA8 0034AB08 7F A3 EB 78 */ mr r3, r29 -/* 8034DBAC 0034AB0C 7F C5 F3 78 */ mr r5, r30 -/* 8034DBB0 0034AB10 48 00 09 91 */ bl SetIconSpeed__8CARDStatFii -/* 8034DBB4 0034AB14 3B FF 00 14 */ addi r31, r31, 0x14 -/* 8034DBB8 0034AB18 3B DE 00 01 */ addi r30, r30, 1 -lbl_8034DBBC: -/* 8034DBBC 0034AB1C 80 1C 00 50 */ lwz r0, 0x50(r28) -/* 8034DBC0 0034AB20 7C 1E 00 00 */ cmpw r30, r0 -/* 8034DBC4 0034AB24 41 80 FF BC */ blt lbl_8034DB80 -/* 8034DBC8 0034AB28 2C 1E 00 08 */ cmpwi r30, 8 -/* 8034DBCC 0034AB2C 40 80 00 24 */ bge lbl_8034DBF0 -/* 8034DBD0 0034AB30 7F A3 EB 78 */ mr r3, r29 -/* 8034DBD4 0034AB34 7F C5 F3 78 */ mr r5, r30 -/* 8034DBD8 0034AB38 38 80 00 00 */ li r4, 0 -/* 8034DBDC 0034AB3C 48 00 09 89 */ bl SetIconFormat__8CARDStatFii -/* 8034DBE0 0034AB40 7F A3 EB 78 */ mr r3, r29 -/* 8034DBE4 0034AB44 7F C5 F3 78 */ mr r5, r30 -/* 8034DBE8 0034AB48 38 80 00 00 */ li r4, 0 -/* 8034DBEC 0034AB4C 48 00 09 55 */ bl SetIconSpeed__8CARDStatFii -lbl_8034DBF0: -/* 8034DBF0 0034AB50 38 60 00 00 */ li r3, 0 -lbl_8034DBF4: -/* 8034DBF4 0034AB54 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8034DBF8 0034AB58 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8034DBFC 0034AB5C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8034DC00 0034AB60 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8034DC04 0034AB64 83 81 00 10 */ lwz r28, 0x10(r1) -/* 8034DC08 0034AB68 7C 08 03 A6 */ mtlr r0 -/* 8034DC0C 0034AB6C 38 21 00 20 */ addi r1, r1, 0x20 -/* 8034DC10 0034AB70 4E 80 00 20 */ blr - -.global PumpCardTransfer__13CCardFileInfoFv -PumpCardTransfer__13CCardFileInfoFv: -/* 8034DC14 0034AB74 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 8034DC18 0034AB78 7C 08 02 A6 */ mflr r0 -/* 8034DC1C 0034AB7C 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 8034DC20 0034AB80 93 E1 00 9C */ stw r31, 0x9c(r1) -/* 8034DC24 0034AB84 93 C1 00 98 */ stw r30, 0x98(r1) -/* 8034DC28 0034AB88 7C 7E 1B 78 */ mr r30, r3 -/* 8034DC2C 0034AB8C 80 03 00 00 */ lwz r0, 0(r3) -/* 8034DC30 0034AB90 2C 00 00 00 */ cmpwi r0, 0 -/* 8034DC34 0034AB94 40 82 00 0C */ bne lbl_8034DC40 -/* 8034DC38 0034AB98 38 60 00 00 */ li r3, 0 -/* 8034DC3C 0034AB9C 48 00 01 00 */ b lbl_8034DD3C -lbl_8034DC40: -/* 8034DC40 0034ABA0 2C 00 00 01 */ cmpwi r0, 1 -/* 8034DC44 0034ABA4 40 82 00 D8 */ bne lbl_8034DD1C -/* 8034DC48 0034ABA8 48 00 0E 55 */ bl GetCardPort__13CCardFileInfoFv -/* 8034DC4C 0034ABAC 48 00 07 A1 */ bl GetResultCode__14CMemoryCardSysFi -/* 8034DC50 0034ABB0 7C 7F 1B 78 */ mr r31, r3 -/* 8034DC54 0034ABB4 2C 1F FF FF */ cmpwi r31, -1 -/* 8034DC58 0034ABB8 41 82 00 54 */ beq lbl_8034DCAC -/* 8034DC5C 0034ABBC 38 00 00 00 */ li r0, 0 -/* 8034DC60 0034ABC0 38 7E 01 04 */ addi r3, r30, 0x104 -/* 8034DC64 0034ABC4 90 01 00 1C */ stw r0, 0x1c(r1) -/* 8034DC68 0034ABC8 38 81 00 18 */ addi r4, r1, 0x18 -/* 8034DC6C 0034ABCC 90 01 00 20 */ stw r0, 0x20(r1) -/* 8034DC70 0034ABD0 90 01 00 24 */ stw r0, 0x24(r1) -/* 8034DC74 0034ABD4 48 00 00 E1 */ bl sub_8034dd54 -/* 8034DC78 0034ABD8 80 61 00 24 */ lwz r3, 0x24(r1) -/* 8034DC7C 0034ABDC 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 8034DC80 0034ABE0 90 61 00 0C */ stw r3, 0xc(r1) -/* 8034DC84 0034ABE4 7C 83 02 14 */ add r4, r3, r0 -/* 8034DC88 0034ABE8 7C 03 20 50 */ subf r0, r3, r4 -/* 8034DC8C 0034ABEC 90 81 00 14 */ stw r4, 0x14(r1) -/* 8034DC90 0034ABF0 90 81 00 10 */ stw r4, 0x10(r1) -/* 8034DC94 0034ABF4 90 61 00 08 */ stw r3, 8(r1) -/* 8034DC98 0034ABF8 7C 09 03 A6 */ mtctr r0 -/* 8034DC9C 0034ABFC 7C 03 20 40 */ cmplw r3, r4 -/* 8034DCA0 0034AC00 41 82 00 08 */ beq lbl_8034DCA8 -lbl_8034DCA4: -/* 8034DCA4 0034AC04 42 00 00 00 */ bdnz lbl_8034DCA4 -lbl_8034DCA8: -/* 8034DCA8 0034AC08 4B FC 7C 89 */ bl Free__7CMemoryFPCv -lbl_8034DCAC: -/* 8034DCAC 0034AC0C 2C 1F 00 00 */ cmpwi r31, 0 -/* 8034DCB0 0034AC10 41 82 00 0C */ beq lbl_8034DCBC -/* 8034DCB4 0034AC14 7F E3 FB 78 */ mr r3, r31 -/* 8034DCB8 0034AC18 48 00 00 84 */ b lbl_8034DD3C -lbl_8034DCBC: -/* 8034DCBC 0034AC1C 38 00 00 02 */ li r0, 2 -/* 8034DCC0 0034AC20 38 61 00 28 */ addi r3, r1, 0x28 -/* 8034DCC4 0034AC24 90 1E 00 00 */ stw r0, 0(r30) -/* 8034DCC8 0034AC28 38 80 00 00 */ li r4, 0 -/* 8034DCCC 0034AC2C 38 A0 00 6C */ li r5, 0x6c -/* 8034DCD0 0034AC30 4B CB 56 D9 */ bl memset -/* 8034DCD4 0034AC34 7F C3 F3 78 */ mr r3, r30 -/* 8034DCD8 0034AC38 38 81 00 28 */ addi r4, r1, 0x28 -/* 8034DCDC 0034AC3C 4B FF FD F9 */ bl GetStatus__13CCardFileInfoFP8CARDStat -/* 8034DCE0 0034AC40 2C 03 00 00 */ cmpwi r3, 0 -/* 8034DCE4 0034AC44 41 82 00 08 */ beq lbl_8034DCEC -/* 8034DCE8 0034AC48 48 00 00 54 */ b lbl_8034DD3C -lbl_8034DCEC: -/* 8034DCEC 0034AC4C 7F C3 F3 78 */ mr r3, r30 -/* 8034DCF0 0034AC50 48 00 0D A5 */ bl GetFileNo__13CCardFileInfoFv -/* 8034DCF4 0034AC54 7C 7F 1B 78 */ mr r31, r3 -/* 8034DCF8 0034AC58 7F C3 F3 78 */ mr r3, r30 -/* 8034DCFC 0034AC5C 48 00 0D A1 */ bl GetCardPort__13CCardFileInfoFv -/* 8034DD00 0034AC60 7F E4 FB 78 */ mr r4, r31 -/* 8034DD04 0034AC64 38 A1 00 28 */ addi r5, r1, 0x28 -/* 8034DD08 0034AC68 4B FF FB 05 */ bl SetStatus__14CMemoryCardSysFiiPC8CARDStat -/* 8034DD0C 0034AC6C 2C 03 00 00 */ cmpwi r3, 0 -/* 8034DD10 0034AC70 40 82 00 2C */ bne lbl_8034DD3C -/* 8034DD14 0034AC74 38 60 FF FF */ li r3, -1 -/* 8034DD18 0034AC78 48 00 00 24 */ b lbl_8034DD3C -lbl_8034DD1C: -/* 8034DD1C 0034AC7C 48 00 0D 81 */ bl GetCardPort__13CCardFileInfoFv -/* 8034DD20 0034AC80 48 00 06 CD */ bl GetResultCode__14CMemoryCardSysFi -/* 8034DD24 0034AC84 2C 03 00 00 */ cmpwi r3, 0 -/* 8034DD28 0034AC88 41 82 00 08 */ beq lbl_8034DD30 -/* 8034DD2C 0034AC8C 48 00 00 10 */ b lbl_8034DD3C -lbl_8034DD30: -/* 8034DD30 0034AC90 38 00 00 00 */ li r0, 0 -/* 8034DD34 0034AC94 38 60 00 00 */ li r3, 0 -/* 8034DD38 0034AC98 90 1E 00 00 */ stw r0, 0(r30) -lbl_8034DD3C: -/* 8034DD3C 0034AC9C 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 8034DD40 0034ACA0 83 E1 00 9C */ lwz r31, 0x9c(r1) -/* 8034DD44 0034ACA4 83 C1 00 98 */ lwz r30, 0x98(r1) -/* 8034DD48 0034ACA8 7C 08 03 A6 */ mtlr r0 -/* 8034DD4C 0034ACAC 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 8034DD50 0034ACB0 4E 80 00 20 */ blr - -.global sub_8034dd54 -sub_8034dd54: -/* 8034DD54 0034ACB4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8034DD58 0034ACB8 7C 08 02 A6 */ mflr r0 -/* 8034DD5C 0034ACBC 90 01 00 24 */ stw r0, 0x24(r1) -/* 8034DD60 0034ACC0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8034DD64 0034ACC4 7C 9F 23 78 */ mr r31, r4 -/* 8034DD68 0034ACC8 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8034DD6C 0034ACCC 7C 7E 1B 78 */ mr r30, r3 -/* 8034DD70 0034ACD0 7C 1E F8 40 */ cmplw r30, r31 -/* 8034DD74 0034ACD4 40 82 00 08 */ bne lbl_8034DD7C -/* 8034DD78 0034ACD8 48 00 00 B4 */ b lbl_8034DE2C -lbl_8034DD7C: -/* 8034DD7C 0034ACDC 80 9E 00 0C */ lwz r4, 0xc(r30) -/* 8034DD80 0034ACE0 80 1E 00 04 */ lwz r0, 4(r30) -/* 8034DD84 0034ACE4 90 81 00 0C */ stw r4, 0xc(r1) -/* 8034DD88 0034ACE8 7C 64 02 14 */ add r3, r4, r0 -/* 8034DD8C 0034ACEC 7C 04 18 50 */ subf r0, r4, r3 -/* 8034DD90 0034ACF0 90 61 00 14 */ stw r3, 0x14(r1) -/* 8034DD94 0034ACF4 90 61 00 10 */ stw r3, 0x10(r1) -/* 8034DD98 0034ACF8 90 81 00 08 */ stw r4, 8(r1) -/* 8034DD9C 0034ACFC 7C 09 03 A6 */ mtctr r0 -/* 8034DDA0 0034AD00 7C 04 18 40 */ cmplw r4, r3 -/* 8034DDA4 0034AD04 41 82 00 08 */ beq lbl_8034DDAC -lbl_8034DDA8: -/* 8034DDA8 0034AD08 42 00 00 00 */ bdnz lbl_8034DDA8 -lbl_8034DDAC: -/* 8034DDAC 0034AD0C 38 00 00 00 */ li r0, 0 -/* 8034DDB0 0034AD10 90 1E 00 04 */ stw r0, 4(r30) -/* 8034DDB4 0034AD14 80 9F 00 04 */ lwz r4, 4(r31) -/* 8034DDB8 0034AD18 2C 04 00 00 */ cmpwi r4, 0 -/* 8034DDBC 0034AD1C 40 82 00 20 */ bne lbl_8034DDDC -/* 8034DDC0 0034AD20 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 8034DDC4 0034AD24 4B FC 7B 6D */ bl Free__7CMemoryFPCv -/* 8034DDC8 0034AD28 38 00 00 00 */ li r0, 0 -/* 8034DDCC 0034AD2C 90 1E 00 04 */ stw r0, 4(r30) -/* 8034DDD0 0034AD30 90 1E 00 08 */ stw r0, 8(r30) -/* 8034DDD4 0034AD34 90 1E 00 0C */ stw r0, 0xc(r30) -/* 8034DDD8 0034AD38 48 00 00 50 */ b lbl_8034DE28 -lbl_8034DDDC: -/* 8034DDDC 0034AD3C 7F C3 F3 78 */ mr r3, r30 -/* 8034DDE0 0034AD40 48 00 0F 51 */ bl sub_8034ed30 -/* 8034DDE4 0034AD44 80 BF 00 0C */ lwz r5, 0xc(r31) -/* 8034DDE8 0034AD48 80 1F 00 04 */ lwz r0, 4(r31) -/* 8034DDEC 0034AD4C 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 8034DDF0 0034AD50 7C 85 02 14 */ add r4, r5, r0 -/* 8034DDF4 0034AD54 7C 05 20 50 */ subf r0, r5, r4 -/* 8034DDF8 0034AD58 7C 09 03 A6 */ mtctr r0 -/* 8034DDFC 0034AD5C 7C 05 20 40 */ cmplw r5, r4 -/* 8034DE00 0034AD60 41 82 00 20 */ beq lbl_8034DE20 -lbl_8034DE04: -/* 8034DE04 0034AD64 28 03 00 00 */ cmplwi r3, 0 -/* 8034DE08 0034AD68 41 82 00 0C */ beq lbl_8034DE14 -/* 8034DE0C 0034AD6C 88 05 00 00 */ lbz r0, 0(r5) -/* 8034DE10 0034AD70 98 03 00 00 */ stb r0, 0(r3) -lbl_8034DE14: -/* 8034DE14 0034AD74 38 63 00 01 */ addi r3, r3, 1 -/* 8034DE18 0034AD78 38 A5 00 01 */ addi r5, r5, 1 -/* 8034DE1C 0034AD7C 42 00 FF E8 */ bdnz lbl_8034DE04 -lbl_8034DE20: -/* 8034DE20 0034AD80 80 1F 00 04 */ lwz r0, 4(r31) -/* 8034DE24 0034AD84 90 1E 00 04 */ stw r0, 4(r30) -lbl_8034DE28: -/* 8034DE28 0034AD88 7F C3 F3 78 */ mr r3, r30 -lbl_8034DE2C: -/* 8034DE2C 0034AD8C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8034DE30 0034AD90 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8034DE34 0034AD94 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8034DE38 0034AD98 7C 08 03 A6 */ mtlr r0 -/* 8034DE3C 0034AD9C 38 21 00 20 */ addi r1, r1, 0x20 -/* 8034DE40 0034ADA0 4E 80 00 20 */ blr - -.global Write__14CMemoryCardSysFRQ214CMemoryCardSys13CCardFileInfoPCvUlUl -Write__14CMemoryCardSysFRQ214CMemoryCardSys13CCardFileInfoPCvUlUl: -/* 8034DE44 0034ADA4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8034DE48 0034ADA8 7C 08 02 A6 */ mflr r0 -/* 8034DE4C 0034ADAC 90 01 00 24 */ stw r0, 0x24(r1) -/* 8034DE50 0034ADB0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8034DE54 0034ADB4 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8034DE58 0034ADB8 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8034DE5C 0034ADBC 7C 7D 1B 78 */ mr r29, r3 -/* 8034DE60 0034ADC0 48 00 08 31 */ bl BuildCardBuffer__13CCardFileInfoFv -/* 8034DE64 0034ADC4 83 DD 01 10 */ lwz r30, 0x110(r29) -/* 8034DE68 0034ADC8 83 FD 01 08 */ lwz r31, 0x108(r29) -/* 8034DE6C 0034ADCC 7F C3 F3 78 */ mr r3, r30 -/* 8034DE70 0034ADD0 7F E4 FB 78 */ mr r4, r31 -/* 8034DE74 0034ADD4 48 03 0C 6D */ bl DCStoreRange -/* 8034DE78 0034ADD8 7F C4 F3 78 */ mr r4, r30 -/* 8034DE7C 0034ADDC 7F E5 FB 78 */ mr r5, r31 -/* 8034DE80 0034ADE0 38 7D 00 04 */ addi r3, r29, 4 -/* 8034DE84 0034ADE4 38 C0 00 00 */ li r6, 0 -/* 8034DE88 0034ADE8 38 E0 00 00 */ li r7, 0 -/* 8034DE8C 0034ADEC 48 06 FC D5 */ bl CARDWriteAsync -/* 8034DE90 0034ADF0 38 00 00 01 */ li r0, 1 -/* 8034DE94 0034ADF4 90 1D 00 00 */ stw r0, 0(r29) -/* 8034DE98 0034ADF8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8034DE9C 0034ADFC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8034DEA0 0034AE00 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8034DEA4 0034AE04 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8034DEA8 0034AE08 7C 08 03 A6 */ mtlr r0 -/* 8034DEAC 0034AE0C 38 21 00 20 */ addi r1, r1, 0x20 -/* 8034DEB0 0034AE10 4E 80 00 20 */ blr - -.global CheckCard__14CMemoryCardSysFv -CheckCard__14CMemoryCardSysFv: -/* 8034DEB4 0034AE14 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034DEB8 0034AE18 7C 08 02 A6 */ mflr r0 -/* 8034DEBC 0034AE1C 38 80 00 00 */ li r4, 0 -/* 8034DEC0 0034AE20 90 01 00 14 */ stw r0, 0x14(r1) -/* 8034DEC4 0034AE24 48 06 DC 25 */ bl CARDCheckAsync -/* 8034DEC8 0034AE28 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8034DECC 0034AE2C 7C 08 03 A6 */ mtlr r0 -/* 8034DED0 0034AE30 38 21 00 10 */ addi r1, r1, 0x10 -/* 8034DED4 0034AE34 4E 80 00 20 */ blr - -.global Rename__14CMemoryCardSysFiPCcPCc -Rename__14CMemoryCardSysFiPCcPCc: -/* 8034DED8 0034AE38 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034DEDC 0034AE3C 7C 08 02 A6 */ mflr r0 -/* 8034DEE0 0034AE40 38 C0 00 00 */ li r6, 0 -/* 8034DEE4 0034AE44 90 01 00 14 */ stw r0, 0x14(r1) -/* 8034DEE8 0034AE48 80 84 00 00 */ lwz r4, 0(r4) -/* 8034DEEC 0034AE4C 80 A5 00 00 */ lwz r5, 0(r5) -/* 8034DEF0 0034AE50 48 07 04 FD */ bl CARDRenameAsync -/* 8034DEF4 0034AE54 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8034DEF8 0034AE58 7C 08 03 A6 */ mtlr r0 -/* 8034DEFC 0034AE5C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8034DF00 0034AE60 4E 80 00 20 */ blr - -.global Close__13CCardFileInfoFv -Close__13CCardFileInfoFv: -/* 8034DF04 0034AE64 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034DF08 0034AE68 7C 08 02 A6 */ mflr r0 -/* 8034DF0C 0034AE6C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8034DF10 0034AE70 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8034DF14 0034AE74 93 C1 00 08 */ stw r30, 8(r1) -/* 8034DF18 0034AE78 7C 7E 1B 78 */ mr r30, r3 -/* 8034DF1C 0034AE7C 48 00 0B 81 */ bl GetCardPort__13CCardFileInfoFv -/* 8034DF20 0034AE80 7C 7F 1B 78 */ mr r31, r3 -/* 8034DF24 0034AE84 38 7E 00 04 */ addi r3, r30, 4 -/* 8034DF28 0034AE88 48 06 F2 3D */ bl CARDClose -/* 8034DF2C 0034AE8C 93 FE 00 04 */ stw r31, 4(r30) -/* 8034DF30 0034AE90 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8034DF34 0034AE94 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8034DF38 0034AE98 83 C1 00 08 */ lwz r30, 8(r1) -/* 8034DF3C 0034AE9C 7C 08 03 A6 */ mtlr r0 -/* 8034DF40 0034AEA0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8034DF44 0034AEA4 4E 80 00 20 */ blr - -.global Close__19SMemoryCardFileInfo -Close__19SMemoryCardFileInfo: -/* 8034DF48 0034AEA8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034DF4C 0034AEAC 7C 08 02 A6 */ mflr r0 -/* 8034DF50 0034AEB0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8034DF54 0034AEB4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8034DF58 0034AEB8 93 C1 00 08 */ stw r30, 8(r1) -/* 8034DF5C 0034AEBC 7C 7E 1B 78 */ mr r30, r3 -/* 8034DF60 0034AEC0 48 00 0B 4D */ bl GetFileCardPort__19SMemoryCardFileInfoFv -/* 8034DF64 0034AEC4 7C 7F 1B 78 */ mr r31, r3 -/* 8034DF68 0034AEC8 7F C3 F3 78 */ mr r3, r30 -/* 8034DF6C 0034AECC 48 06 F1 F9 */ bl CARDClose -/* 8034DF70 0034AED0 93 FE 00 00 */ stw r31, 0(r30) -/* 8034DF74 0034AED4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8034DF78 0034AED8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8034DF7C 0034AEDC 83 C1 00 08 */ lwz r30, 8(r1) -/* 8034DF80 0034AEE0 7C 08 03 A6 */ mtlr r0 -/* 8034DF84 0034AEE4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8034DF88 0034AEE8 4E 80 00 20 */ blr - -.global FastDeleteFile__14CMemoryCardSysFii -FastDeleteFile__14CMemoryCardSysFii: -/* 8034DF8C 0034AEEC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034DF90 0034AEF0 7C 08 02 A6 */ mflr r0 -/* 8034DF94 0034AEF4 38 A0 00 00 */ li r5, 0 -/* 8034DF98 0034AEF8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8034DF9C 0034AEFC 48 06 FD 7D */ bl CARDFastDeleteAsync -/* 8034DFA0 0034AF00 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8034DFA4 0034AF04 7C 08 03 A6 */ mtlr r0 -/* 8034DFA8 0034AF08 38 21 00 10 */ addi r1, r1, 0x10 -/* 8034DFAC 0034AF0C 4E 80 00 20 */ blr - -.global DeleteFile__14CMemoryCardSysFiPCc -DeleteFile__14CMemoryCardSysFiPCc: -/* 8034DFB0 0034AF10 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034DFB4 0034AF14 7C 08 02 A6 */ mflr r0 -/* 8034DFB8 0034AF18 38 A0 00 00 */ li r5, 0 -/* 8034DFBC 0034AF1C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8034DFC0 0034AF20 80 84 00 00 */ lwz r4, 0(r4) -/* 8034DFC4 0034AF24 48 06 FE 81 */ bl CARDDeleteAsync -/* 8034DFC8 0034AF28 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8034DFCC 0034AF2C 7C 08 03 A6 */ mtlr r0 -/* 8034DFD0 0034AF30 38 21 00 10 */ addi r1, r1, 0x10 -/* 8034DFD4 0034AF34 4E 80 00 20 */ blr - -.global "CreateFile__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPortRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>UiRQ214CMemoryCardSys13CCardFileInfo" -"CreateFile__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPortRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>UiRQ214CMemoryCardSys13CCardFileInfo": -/* 8034DFD8 0034AF38 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034DFDC 0034AF3C 7C 08 02 A6 */ mflr r0 -/* 8034DFE0 0034AF40 90 01 00 14 */ stw r0, 0x14(r1) -/* 8034DFE4 0034AF44 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8034DFE8 0034AF48 93 C1 00 08 */ stw r30, 8(r1) -/* 8034DFEC 0034AF4C 7C 7E 1B 78 */ mr r30, r3 -/* 8034DFF0 0034AF50 48 00 06 69 */ bl CalculateTotalDataSize__13CCardFileInfoFv -/* 8034DFF4 0034AF54 7C 60 1B 78 */ mr r0, r3 -/* 8034DFF8 0034AF58 7F C3 F3 78 */ mr r3, r30 -/* 8034DFFC 0034AF5C 7C 1F 03 78 */ mr r31, r0 -/* 8034E000 0034AF60 48 00 0A 9D */ bl GetCardPort__13CCardFileInfoFv -/* 8034E004 0034AF64 80 9E 00 18 */ lwz r4, 0x18(r30) -/* 8034E008 0034AF68 7F E5 FB 78 */ mr r5, r31 -/* 8034E00C 0034AF6C 38 DE 00 04 */ addi r6, r30, 4 -/* 8034E010 0034AF70 38 E0 00 00 */ li r7, 0 -/* 8034E014 0034AF74 48 06 F2 DD */ bl CARDCreateAsync -/* 8034E018 0034AF78 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8034E01C 0034AF7C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8034E020 0034AF80 83 C1 00 08 */ lwz r30, 8(r1) -/* 8034E024 0034AF84 7C 08 03 A6 */ mtlr r0 -/* 8034E028 0034AF88 38 21 00 10 */ addi r1, r1, 0x10 -/* 8034E02C 0034AF8C 4E 80 00 20 */ blr - -.global "OpenFile__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPortRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RQ214CMemoryCardSys13CCardFileInfo" -"OpenFile__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPortRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RQ214CMemoryCardSys13CCardFileInfo": -/* 8034E030 0034AF90 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034E034 0034AF94 7C 08 02 A6 */ mflr r0 -/* 8034E038 0034AF98 90 01 00 14 */ stw r0, 0x14(r1) -/* 8034E03C 0034AF9C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8034E040 0034AFA0 7C 7F 1B 78 */ mr r31, r3 -/* 8034E044 0034AFA4 48 00 0A 69 */ bl GetFileCardPort__19SMemoryCardFileInfoFv -/* 8034E048 0034AFA8 80 9F 00 14 */ lwz r4, 0x14(r31) -/* 8034E04C 0034AFAC 7F E5 FB 78 */ mr r5, r31 -/* 8034E050 0034AFB0 48 06 EF 9D */ bl CARDOpen -/* 8034E054 0034AFB4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8034E058 0034AFB8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8034E05C 0034AFBC 7C 08 03 A6 */ mtlr r0 -/* 8034E060 0034AFC0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8034E064 0034AFC4 4E 80 00 20 */ blr - -.global LockIconToken__13CCardFileInfoFiiR11CSimplePool -LockIconToken__13CCardFileInfoFiiR11CSimplePool: -/* 8034E068 0034AFC8 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8034E06C 0034AFCC 7C 08 02 A6 */ mflr r0 -/* 8034E070 0034AFD0 90 01 00 34 */ stw r0, 0x34(r1) -/* 8034E074 0034AFD4 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8034E078 0034AFD8 7C 7F 1B 78 */ mr r31, r3 -/* 8034E07C 0034AFDC 38 61 00 08 */ addi r3, r1, 8 -/* 8034E080 0034AFE0 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8034E084 0034AFE4 48 00 0A 31 */ bl sub_8034eab4 -/* 8034E088 0034AFE8 80 1F 00 50 */ lwz r0, 0x50(r31) -/* 8034E08C 0034AFEC 1C 00 00 14 */ mulli r0, r0, 0x14 -/* 8034E090 0034AFF0 7C BF 02 14 */ add r5, r31, r0 -/* 8034E094 0034AFF4 34 A5 00 54 */ addic. r5, r5, 0x54 -/* 8034E098 0034AFF8 41 82 00 34 */ beq lbl_8034E0CC -/* 8034E09C 0034AFFC 80 01 00 08 */ lwz r0, 8(r1) -/* 8034E0A0 0034B000 3B C5 00 08 */ addi r30, r5, 8 -/* 8034E0A4 0034B004 7F C3 F3 78 */ mr r3, r30 -/* 8034E0A8 0034B008 38 81 00 10 */ addi r4, r1, 0x10 -/* 8034E0AC 0034B00C 90 05 00 00 */ stw r0, 0(r5) -/* 8034E0B0 0034B010 80 01 00 0C */ lwz r0, 0xc(r1) -/* 8034E0B4 0034B014 90 05 00 04 */ stw r0, 4(r5) -/* 8034E0B8 0034B018 4B FF 2D F1 */ bl __ct__6CTokenFRC6CToken -/* 8034E0BC 0034B01C 80 01 00 18 */ lwz r0, 0x18(r1) -/* 8034E0C0 0034B020 7F C3 F3 78 */ mr r3, r30 -/* 8034E0C4 0034B024 90 1E 00 08 */ stw r0, 8(r30) -/* 8034E0C8 0034B028 4B FF 2C BD */ bl Lock__6CTokenFv -lbl_8034E0CC: -/* 8034E0CC 0034B02C 80 9F 00 50 */ lwz r4, 0x50(r31) -/* 8034E0D0 0034B030 34 61 00 10 */ addic. r3, r1, 0x10 -/* 8034E0D4 0034B034 38 04 00 01 */ addi r0, r4, 1 -/* 8034E0D8 0034B038 90 1F 00 50 */ stw r0, 0x50(r31) -/* 8034E0DC 0034B03C 41 82 00 14 */ beq lbl_8034E0F0 -/* 8034E0E0 0034B040 28 03 00 00 */ cmplwi r3, 0 -/* 8034E0E4 0034B044 41 82 00 0C */ beq lbl_8034E0F0 -/* 8034E0E8 0034B048 38 80 00 00 */ li r4, 0 -/* 8034E0EC 0034B04C 4B FF 2D 55 */ bl __dt__6CTokenFv -lbl_8034E0F0: -/* 8034E0F0 0034B050 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8034E0F4 0034B054 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8034E0F8 0034B058 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8034E0FC 0034B05C 7C 08 03 A6 */ mtlr r0 -/* 8034E100 0034B060 38 21 00 30 */ addi r1, r1, 0x30 -/* 8034E104 0034B064 4E 80 00 20 */ blr - -.global LockBannerToken__13CCardFileInfoFiR11CSimplePool -LockBannerToken__13CCardFileInfoFiR11CSimplePool: -/* 8034E108 0034B068 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8034E10C 0034B06C 7C 08 02 A6 */ mflr r0 -/* 8034E110 0034B070 90 01 00 34 */ stw r0, 0x34(r1) -/* 8034E114 0034B074 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8034E118 0034B078 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8034E11C 0034B07C 7C 7E 1B 78 */ mr r30, r3 -/* 8034E120 0034B080 3C 60 54 58 */ lis r3, 0x54585452@ha -/* 8034E124 0034B084 90 9E 00 3C */ stw r4, 0x3c(r30) -/* 8034E128 0034B088 38 03 54 52 */ addi r0, r3, 0x54585452@l -/* 8034E12C 0034B08C 7C A4 2B 78 */ mr r4, r5 -/* 8034E130 0034B090 38 61 00 08 */ addi r3, r1, 8 -/* 8034E134 0034B094 80 DE 00 3C */ lwz r6, 0x3c(r30) -/* 8034E138 0034B098 38 A1 00 10 */ addi r5, r1, 0x10 -/* 8034E13C 0034B09C 90 01 00 10 */ stw r0, 0x10(r1) -/* 8034E140 0034B0A0 90 C1 00 14 */ stw r6, 0x14(r1) -/* 8034E144 0034B0A4 81 84 00 00 */ lwz r12, 0(r4) -/* 8034E148 0034B0A8 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8034E14C 0034B0AC 7D 89 03 A6 */ mtctr r12 -/* 8034E150 0034B0B0 4E 80 04 21 */ bctrl -/* 8034E154 0034B0B4 3B E1 00 18 */ addi r31, r1, 0x18 -/* 8034E158 0034B0B8 38 81 00 08 */ addi r4, r1, 8 -/* 8034E15C 0034B0BC 7F E3 FB 78 */ mr r3, r31 -/* 8034E160 0034B0C0 4B FF 2D 49 */ bl __ct__6CTokenFRC6CToken -/* 8034E164 0034B0C4 7F E3 FB 78 */ mr r3, r31 -/* 8034E168 0034B0C8 4B FF 2C A5 */ bl GetObj__6CTokenFv -/* 8034E16C 0034B0CC 80 03 00 04 */ lwz r0, 4(r3) -/* 8034E170 0034B0D0 90 01 00 20 */ stw r0, 0x20(r1) -/* 8034E174 0034B0D4 88 1E 00 4C */ lbz r0, 0x4c(r30) -/* 8034E178 0034B0D8 28 00 00 00 */ cmplwi r0, 0 -/* 8034E17C 0034B0DC 40 82 00 34 */ bne lbl_8034E1B0 -/* 8034E180 0034B0E0 37 FE 00 40 */ addic. r31, r30, 0x40 -/* 8034E184 0034B0E4 41 82 00 20 */ beq lbl_8034E1A4 -/* 8034E188 0034B0E8 7F E3 FB 78 */ mr r3, r31 -/* 8034E18C 0034B0EC 38 81 00 18 */ addi r4, r1, 0x18 -/* 8034E190 0034B0F0 4B FF 2D 19 */ bl __ct__6CTokenFRC6CToken -/* 8034E194 0034B0F4 80 01 00 20 */ lwz r0, 0x20(r1) -/* 8034E198 0034B0F8 7F E3 FB 78 */ mr r3, r31 -/* 8034E19C 0034B0FC 90 1F 00 08 */ stw r0, 8(r31) -/* 8034E1A0 0034B100 4B FF 2B E5 */ bl Lock__6CTokenFv -lbl_8034E1A4: -/* 8034E1A4 0034B104 38 00 00 01 */ li r0, 1 -/* 8034E1A8 0034B108 98 1E 00 4C */ stb r0, 0x4c(r30) -/* 8034E1AC 0034B10C 48 00 00 1C */ b lbl_8034E1C8 -lbl_8034E1B0: -/* 8034E1B0 0034B110 3B FE 00 40 */ addi r31, r30, 0x40 -/* 8034E1B4 0034B114 38 81 00 18 */ addi r4, r1, 0x18 -/* 8034E1B8 0034B118 7F E3 FB 78 */ mr r3, r31 -/* 8034E1BC 0034B11C 4B FF 2B 09 */ bl __as__6CTokenFRC6CToken -/* 8034E1C0 0034B120 80 01 00 20 */ lwz r0, 0x20(r1) -/* 8034E1C4 0034B124 90 1F 00 08 */ stw r0, 8(r31) -lbl_8034E1C8: -/* 8034E1C8 0034B128 38 61 00 18 */ addi r3, r1, 0x18 -/* 8034E1CC 0034B12C 38 80 00 00 */ li r4, 0 -/* 8034E1D0 0034B130 4B FF 2C 71 */ bl __dt__6CTokenFv -/* 8034E1D4 0034B134 38 61 00 08 */ addi r3, r1, 8 -/* 8034E1D8 0034B138 38 80 FF FF */ li r4, -1 -/* 8034E1DC 0034B13C 4B FF 2C 65 */ bl __dt__6CTokenFv -/* 8034E1E0 0034B140 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8034E1E4 0034B144 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8034E1E8 0034B148 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8034E1EC 0034B14C 7C 08 03 A6 */ mtlr r0 -/* 8034E1F0 0034B150 38 21 00 30 */ addi r1, r1, 0x30 -/* 8034E1F4 0034B154 4E 80 00 20 */ blr - -.global __ct__13CCardFileInfoFRCQ24rstl6string -__ct__13CCardFileInfoFRCQ24rstl6string: -/* 8034E1F8 0034B158 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034E1FC 0034B15C 7C 08 02 A6 */ mflr r0 -/* 8034E200 0034B160 90 01 00 14 */ stw r0, 0x14(r1) -/* 8034E204 0034B164 38 00 00 00 */ li r0, 0 -/* 8034E208 0034B168 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8034E20C 0034B16C 7C 9F 23 78 */ mr r31, r4 -/* 8034E210 0034B170 7C A4 2B 78 */ mr r4, r5 -/* 8034E214 0034B174 93 C1 00 08 */ stw r30, 8(r1) -/* 8034E218 0034B178 7C 7E 1B 78 */ mr r30, r3 -/* 8034E21C 0034B17C 90 03 00 00 */ stw r0, 0(r3) -/* 8034E220 0034B180 38 7E 00 18 */ addi r3, r30, 0x18 -/* 8034E224 0034B184 4B FE FF 3D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8034E228 0034B188 38 0D A9 18 */ addi r0, r13, "_EmptyString__Q24rstl66basic_string,Q24rstl17rmemory_allocator>"@sda21 -/* 8034E22C 0034B18C 38 80 00 00 */ li r4, 0 -/* 8034E230 0034B190 90 1E 00 28 */ stw r0, 0x28(r30) -/* 8034E234 0034B194 38 00 FF FF */ li r0, -1 -/* 8034E238 0034B198 7F C3 F3 78 */ mr r3, r30 -/* 8034E23C 0034B19C 90 9E 00 2C */ stw r4, 0x2c(r30) -/* 8034E240 0034B1A0 90 9E 00 30 */ stw r4, 0x30(r30) -/* 8034E244 0034B1A4 90 9E 00 38 */ stw r4, 0x38(r30) -/* 8034E248 0034B1A8 90 1E 00 3C */ stw r0, 0x3c(r30) -/* 8034E24C 0034B1AC 98 9E 00 4C */ stb r4, 0x4c(r30) -/* 8034E250 0034B1B0 90 9E 00 50 */ stw r4, 0x50(r30) -/* 8034E254 0034B1B4 90 9E 00 F8 */ stw r4, 0xf8(r30) -/* 8034E258 0034B1B8 90 9E 00 FC */ stw r4, 0xfc(r30) -/* 8034E25C 0034B1BC 90 9E 01 00 */ stw r4, 0x100(r30) -/* 8034E260 0034B1C0 90 9E 01 08 */ stw r4, 0x108(r30) -/* 8034E264 0034B1C4 90 9E 01 0C */ stw r4, 0x10c(r30) -/* 8034E268 0034B1C8 90 9E 01 10 */ stw r4, 0x110(r30) -/* 8034E26C 0034B1CC 93 FE 00 04 */ stw r31, 4(r30) -/* 8034E270 0034B1D0 90 1E 00 08 */ stw r0, 8(r30) -/* 8034E274 0034B1D4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8034E278 0034B1D8 83 C1 00 08 */ lwz r30, 8(r1) -/* 8034E27C 0034B1DC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8034E280 0034B1E0 7C 08 03 A6 */ mtlr r0 -/* 8034E284 0034B1E4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8034E288 0034B1E8 4E 80 00 20 */ blr - -.global __ct__19SMemoryCardFileInfoFiRCQ24rstl6string -__ct__19SMemoryCardFileInfoFiRCQ24rstl6string: -/* 8034E28C 0034B1EC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034E290 0034B1F0 7C 08 02 A6 */ mflr r0 -/* 8034E294 0034B1F4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8034E298 0034B1F8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8034E29C 0034B1FC 7C 9F 23 78 */ mr r31, r4 -/* 8034E2A0 0034B200 7C A4 2B 78 */ mr r4, r5 -/* 8034E2A4 0034B204 93 C1 00 08 */ stw r30, 8(r1) -/* 8034E2A8 0034B208 7C 7E 1B 78 */ mr r30, r3 -/* 8034E2AC 0034B20C 38 7E 00 14 */ addi r3, r30, 0x14 -/* 8034E2B0 0034B210 4B FE FE B1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8034E2B4 0034B214 38 80 00 00 */ li r4, 0 -/* 8034E2B8 0034B218 38 00 FF FF */ li r0, -1 -/* 8034E2BC 0034B21C 90 9E 00 28 */ stw r4, 0x28(r30) -/* 8034E2C0 0034B220 7F C3 F3 78 */ mr r3, r30 -/* 8034E2C4 0034B224 90 9E 00 2C */ stw r4, 0x2c(r30) -/* 8034E2C8 0034B228 90 9E 00 30 */ stw r4, 0x30(r30) -/* 8034E2CC 0034B22C 90 9E 00 38 */ stw r4, 0x38(r30) -/* 8034E2D0 0034B230 90 9E 00 3C */ stw r4, 0x3c(r30) -/* 8034E2D4 0034B234 90 9E 00 40 */ stw r4, 0x40(r30) -/* 8034E2D8 0034B238 93 FE 00 00 */ stw r31, 0(r30) -/* 8034E2DC 0034B23C 90 1E 00 04 */ stw r0, 4(r30) -/* 8034E2E0 0034B240 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8034E2E4 0034B244 83 C1 00 08 */ lwz r30, 8(r1) -/* 8034E2E8 0034B248 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8034E2EC 0034B24C 7C 08 03 A6 */ mtlr r0 -/* 8034E2F0 0034B250 38 21 00 10 */ addi r1, r1, 0x10 -/* 8034E2F4 0034B254 4E 80 00 20 */ blr - -.global GetNumFreeBytes__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPortRUi -GetNumFreeBytes__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPortRUi: -/* 8034E2F8 0034B258 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8034E2FC 0034B25C 7C 08 02 A6 */ mflr r0 -/* 8034E300 0034B260 90 01 00 24 */ stw r0, 0x24(r1) -/* 8034E304 0034B264 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8034E308 0034B268 7C BF 2B 78 */ mr r31, r5 -/* 8034E30C 0034B26C 38 A1 00 08 */ addi r5, r1, 8 -/* 8034E310 0034B270 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8034E314 0034B274 7C 9E 23 78 */ mr r30, r4 -/* 8034E318 0034B278 38 81 00 0C */ addi r4, r1, 0xc -/* 8034E31C 0034B27C 48 06 AB D1 */ bl CARDFreeBlocks -/* 8034E320 0034B280 80 01 00 0C */ lwz r0, 0xc(r1) -/* 8034E324 0034B284 90 1E 00 00 */ stw r0, 0(r30) -/* 8034E328 0034B288 80 01 00 08 */ lwz r0, 8(r1) -/* 8034E32C 0034B28C 90 1F 00 00 */ stw r0, 0(r31) -/* 8034E330 0034B290 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8034E334 0034B294 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8034E338 0034B298 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8034E33C 0034B29C 7C 08 03 A6 */ mtlr r0 -/* 8034E340 0034B2A0 38 21 00 20 */ addi r1, r1, 0x20 -/* 8034E344 0034B2A4 4E 80 00 20 */ blr - -.global FormatCard__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort -FormatCard__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort: -/* 8034E348 0034B2A8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034E34C 0034B2AC 7C 08 02 A6 */ mflr r0 -/* 8034E350 0034B2B0 38 80 00 00 */ li r4, 0 -/* 8034E354 0034B2B4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8034E358 0034B2B8 48 06 E9 CD */ bl CARDFormatAsync -/* 8034E35C 0034B2BC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8034E360 0034B2C0 7C 08 03 A6 */ mtlr r0 -/* 8034E364 0034B2C4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8034E368 0034B2C8 4E 80 00 20 */ blr - -.global UnmountCard__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort -UnmountCard__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort: -/* 8034E36C 0034B2CC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034E370 0034B2D0 7C 08 02 A6 */ mflr r0 -/* 8034E374 0034B2D4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8034E378 0034B2D8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8034E37C 0034B2DC 7C 7F 1B 78 */ mr r31, r3 -/* 8034E380 0034B2E0 48 06 E1 5D */ bl CARDUnmount -/* 8034E384 0034B2E4 7C 60 1B 78 */ mr r0, r3 -/* 8034E388 0034B2E8 7F E3 FB 78 */ mr r3, r31 -/* 8034E38C 0034B2EC 7C 1F 03 78 */ mr r31, r0 -/* 8034E390 0034B2F0 4B FF F1 4D */ bl FreeCardWorkArea__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort -/* 8034E394 0034B2F4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8034E398 0034B2F8 7F E3 FB 78 */ mr r3, r31 -/* 8034E39C 0034B2FC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8034E3A0 0034B300 7C 08 03 A6 */ mtlr r0 -/* 8034E3A4 0034B304 38 21 00 10 */ addi r1, r1, 0x10 -/* 8034E3A8 0034B308 4E 80 00 20 */ blr - -.global MountCard__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort -MountCard__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort: -/* 8034E3AC 0034B30C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034E3B0 0034B310 7C 08 02 A6 */ mflr r0 -/* 8034E3B4 0034B314 90 01 00 14 */ stw r0, 0x14(r1) -/* 8034E3B8 0034B318 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8034E3BC 0034B31C 7C 7F 1B 78 */ mr r31, r3 -/* 8034E3C0 0034B320 4B FF F2 F9 */ bl AllocCardWorkArea__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort -/* 8034E3C4 0034B324 7C 64 1B 78 */ mr r4, r3 -/* 8034E3C8 0034B328 7F E3 FB 78 */ mr r3, r31 -/* 8034E3CC 0034B32C 38 A0 00 00 */ li r5, 0 -/* 8034E3D0 0034B330 38 C0 00 00 */ li r6, 0 -/* 8034E3D4 0034B334 48 06 DE CD */ bl CARDMountAsync -/* 8034E3D8 0034B338 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8034E3DC 0034B33C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8034E3E0 0034B340 7C 08 03 A6 */ mtlr r0 -/* 8034E3E4 0034B344 38 21 00 10 */ addi r1, r1, 0x10 -/* 8034E3E8 0034B348 4E 80 00 20 */ blr - -.global GetResultCode__14CMemoryCardSysFi -GetResultCode__14CMemoryCardSysFi: -/* 8034E3EC 0034B34C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034E3F0 0034B350 7C 08 02 A6 */ mflr r0 -/* 8034E3F4 0034B354 90 01 00 14 */ stw r0, 0x14(r1) -/* 8034E3F8 0034B358 48 06 AA C5 */ bl CARDGetResultCode -/* 8034E3FC 0034B35C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8034E400 0034B360 7C 08 03 A6 */ mtlr r0 -/* 8034E404 0034B364 38 21 00 10 */ addi r1, r1, 0x10 -/* 8034E408 0034B368 4E 80 00 20 */ blr - -.global IsMemoryCardInserted__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort -IsMemoryCardInserted__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort: -/* 8034E40C 0034B36C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8034E410 0034B370 7C 08 02 A6 */ mflr r0 -/* 8034E414 0034B374 90 01 00 24 */ stw r0, 0x24(r1) -/* 8034E418 0034B378 38 A1 00 10 */ addi r5, r1, 0x10 -/* 8034E41C 0034B37C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8034E420 0034B380 7C 7F 1B 78 */ mr r31, r3 -/* 8034E424 0034B384 7C 83 23 78 */ mr r3, r4 -/* 8034E428 0034B388 38 81 00 0C */ addi r4, r1, 0xc -/* 8034E42C 0034B38C 48 06 D7 B1 */ bl CARDProbeEx -/* 8034E430 0034B390 90 61 00 08 */ stw r3, 8(r1) -/* 8034E434 0034B394 80 01 00 0C */ lwz r0, 0xc(r1) -/* 8034E438 0034B398 90 7F 00 00 */ stw r3, 0(r31) -/* 8034E43C 0034B39C 90 1F 00 04 */ stw r0, 4(r31) -/* 8034E440 0034B3A0 80 01 00 10 */ lwz r0, 0x10(r1) -/* 8034E444 0034B3A4 90 1F 00 08 */ stw r0, 8(r31) -/* 8034E448 0034B3A8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8034E44C 0034B3AC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8034E450 0034B3B0 7C 08 03 A6 */ mtlr r0 -/* 8034E454 0034B3B4 38 21 00 20 */ addi r1, r1, 0x20 -/* 8034E458 0034B3B8 4E 80 00 20 */ blr - -.global sub_8034e45c -sub_8034e45c: -/* 8034E45C 0034B3BC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034E460 0034B3C0 7C 08 02 A6 */ mflr r0 -/* 8034E464 0034B3C4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8034E468 0034B3C8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8034E46C 0034B3CC 7C 9F 23 78 */ mr r31, r4 -/* 8034E470 0034B3D0 93 C1 00 08 */ stw r30, 8(r1) -/* 8034E474 0034B3D4 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8034E478 0034B3D8 41 82 00 2C */ beq lbl_8034E4A4 -/* 8034E47C 0034B3DC 38 00 00 00 */ li r0, 0 -/* 8034E480 0034B3E0 38 60 00 00 */ li r3, 0 -/* 8034E484 0034B3E4 98 0D AA 01 */ stb r0, lbl_805A95C1@sda21(r13) -/* 8034E488 0034B3E8 4B FF F0 55 */ bl FreeCardWorkArea__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort -/* 8034E48C 0034B3EC 38 60 00 01 */ li r3, 1 -/* 8034E490 0034B3F0 4B FF F0 4D */ bl FreeCardWorkArea__14CMemoryCardSysFQ214CMemoryCardSys15EMemoryCardPort -/* 8034E494 0034B3F4 7F E0 07 35 */ extsh. r0, r31 -/* 8034E498 0034B3F8 40 81 00 0C */ ble lbl_8034E4A4 -/* 8034E49C 0034B3FC 7F C3 F3 78 */ mr r3, r30 -/* 8034E4A0 0034B400 4B FC 74 91 */ bl Free__7CMemoryFPCv -lbl_8034E4A4: -/* 8034E4A4 0034B404 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8034E4A8 0034B408 7F C3 F3 78 */ mr r3, r30 -/* 8034E4AC 0034B40C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8034E4B0 0034B410 83 C1 00 08 */ lwz r30, 8(r1) -/* 8034E4B4 0034B414 7C 08 03 A6 */ mtlr r0 -/* 8034E4B8 0034B418 38 21 00 10 */ addi r1, r1, 0x10 -/* 8034E4BC 0034B41C 4E 80 00 20 */ blr - -.global Initialize__14CMemoryCardSysFv -Initialize__14CMemoryCardSysFv: -/* 8034E4C0 0034B420 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034E4C4 0034B424 7C 08 02 A6 */ mflr r0 -/* 8034E4C8 0034B428 90 01 00 14 */ stw r0, 0x14(r1) -/* 8034E4CC 0034B42C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8034E4D0 0034B430 7C 7F 1B 78 */ mr r31, r3 -/* 8034E4D4 0034B434 88 0D AA 00 */ lbz r0, lbl_805A95C0@sda21(r13) -/* 8034E4D8 0034B438 28 00 00 00 */ cmplwi r0, 0 -/* 8034E4DC 0034B43C 40 82 00 10 */ bne lbl_8034E4EC -/* 8034E4E0 0034B440 48 06 A7 D5 */ bl CARDInit -/* 8034E4E4 0034B444 38 00 00 01 */ li r0, 1 -/* 8034E4E8 0034B448 98 0D AA 00 */ stb r0, lbl_805A95C0@sda21(r13) -lbl_8034E4EC: -/* 8034E4EC 0034B44C 38 00 00 01 */ li r0, 1 -/* 8034E4F0 0034B450 7F E3 FB 78 */ mr r3, r31 -/* 8034E4F4 0034B454 98 0D AA 01 */ stb r0, lbl_805A95C1@sda21(r13) -/* 8034E4F8 0034B458 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8034E4FC 0034B45C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8034E500 0034B460 7C 08 03 A6 */ mtlr r0 -/* 8034E504 0034B464 38 21 00 10 */ addi r1, r1, 0x10 -/* 8034E508 0034B468 4E 80 00 20 */ blr - -.global SetComment__13CCardFileInfoFv -SetComment__13CCardFileInfoFv: -/* 8034E50C 0034B46C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034E510 0034B470 7C 08 02 A6 */ mflr r0 -/* 8034E514 0034B474 38 63 00 28 */ addi r3, r3, 0x28 -/* 8034E518 0034B478 90 01 00 14 */ stw r0, 0x14(r1) -/* 8034E51C 0034B47C 4B FE F8 41 */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8034E520 0034B480 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8034E524 0034B484 7C 08 03 A6 */ mtlr r0 -/* 8034E528 0034B488 38 21 00 10 */ addi r1, r1, 0x10 -/* 8034E52C 0034B48C 4E 80 00 20 */ blr - -.global SetCommentAddr__8CARDStatFi -SetCommentAddr__8CARDStatFi: -/* 8034E530 0034B490 90 83 00 38 */ stw r4, 0x38(r3) -/* 8034E534 0034B494 4E 80 00 20 */ blr - -.global SetIconAddr__8CARDStatFi -SetIconAddr__8CARDStatFi: -/* 8034E538 0034B498 90 83 00 30 */ stw r4, 0x30(r3) -/* 8034E53C 0034B49C 4E 80 00 20 */ blr - -.global SetIconSpeed__8CARDStatFii -SetIconSpeed__8CARDStatFii: -/* 8034E540 0034B4A0 54 A7 08 3C */ slwi r7, r5, 1 -/* 8034E544 0034B4A4 38 00 00 03 */ li r0, 3 -/* 8034E548 0034B4A8 7C 05 38 30 */ slw r5, r0, r7 -/* 8034E54C 0034B4AC A0 C3 00 36 */ lhz r6, 0x36(r3) -/* 8034E550 0034B4B0 7C 80 38 30 */ slw r0, r4, r7 -/* 8034E554 0034B4B4 7C C4 28 78 */ andc r4, r6, r5 -/* 8034E558 0034B4B8 7C 80 03 78 */ or r0, r4, r0 -/* 8034E55C 0034B4BC B0 03 00 36 */ sth r0, 0x36(r3) -/* 8034E560 0034B4C0 4E 80 00 20 */ blr - -.global SetIconFormat__8CARDStatFii -SetIconFormat__8CARDStatFii: -/* 8034E564 0034B4C4 54 A7 08 3C */ slwi r7, r5, 1 -/* 8034E568 0034B4C8 38 00 00 03 */ li r0, 3 -/* 8034E56C 0034B4CC 7C 05 38 30 */ slw r5, r0, r7 -/* 8034E570 0034B4D0 A0 C3 00 34 */ lhz r6, 0x34(r3) -/* 8034E574 0034B4D4 7C 80 38 30 */ slw r0, r4, r7 -/* 8034E578 0034B4D8 7C C4 28 78 */ andc r4, r6, r5 -/* 8034E57C 0034B4DC 7C 80 03 78 */ or r0, r4, r0 -/* 8034E580 0034B4E0 B0 03 00 34 */ sth r0, 0x34(r3) -/* 8034E584 0034B4E4 4E 80 00 20 */ blr - -.global SetBannerFormat__8CARDStatFi -SetBannerFormat__8CARDStatFi: -/* 8034E588 0034B4E8 88 03 00 2E */ lbz r0, 0x2e(r3) -/* 8034E58C 0034B4EC 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d -/* 8034E590 0034B4F0 7C 00 23 78 */ or r0, r0, r4 -/* 8034E594 0034B4F4 98 03 00 2E */ stb r0, 0x2e(r3) -/* 8034E598 0034B4F8 4E 80 00 20 */ blr - -.global GetCommentAddr__8CARDStatFv -GetCommentAddr__8CARDStatFv: -/* 8034E59C 0034B4FC 80 63 00 38 */ lwz r3, 0x38(r3) -/* 8034E5A0 0034B500 4E 80 00 20 */ blr - -.global GetIconFormat__8CARDStatFi -GetIconFormat__8CARDStatFi: -/* 8034E5A4 0034B504 A0 63 00 34 */ lhz r3, 0x34(r3) -/* 8034E5A8 0034B508 54 80 08 3C */ slwi r0, r4, 1 -/* 8034E5AC 0034B50C 7C 60 06 30 */ sraw r0, r3, r0 -/* 8034E5B0 0034B510 54 03 07 BE */ clrlwi r3, r0, 0x1e -/* 8034E5B4 0034B514 4E 80 00 20 */ blr - -.global GetBannerFormat__8CARDStatFv -GetBannerFormat__8CARDStatFv: -/* 8034E5B8 0034B518 88 03 00 2E */ lbz r0, 0x2e(r3) -/* 8034E5BC 0034B51C 54 03 07 BE */ clrlwi r3, r0, 0x1e -/* 8034E5C0 0034B520 4E 80 00 20 */ blr - -.global GetTime__8CARDStatFv -GetTime__8CARDStatFv: -/* 8034E5C4 0034B524 80 63 00 24 */ lwz r3, 0x24(r3) -/* 8034E5C8 0034B528 4E 80 00 20 */ blr - -.global GetFileLength__8CARDStatFv -GetFileLength__8CARDStatFv: -/* 8034E5CC 0034B52C 80 63 00 20 */ lwz r3, 0x20(r3) -/* 8034E5D0 0034B530 4E 80 00 20 */ blr - -.global CalculateBannerDataSize__13CCardFileInfoFv -CalculateBannerDataSize__13CCardFileInfoFv: -/* 8034E5D4 0034B534 80 83 00 3C */ lwz r4, 0x3c(r3) -/* 8034E5D8 0034B538 38 A0 00 44 */ li r5, 0x44 -/* 8034E5DC 0034B53C 3C 04 00 01 */ addis r0, r4, 1 -/* 8034E5E0 0034B540 28 00 FF FF */ cmplwi r0, 0xffff -/* 8034E5E4 0034B544 41 82 00 20 */ beq lbl_8034E604 -/* 8034E5E8 0034B548 80 83 00 48 */ lwz r4, 0x48(r3) -/* 8034E5EC 0034B54C 80 04 00 00 */ lwz r0, 0(r4) -/* 8034E5F0 0034B550 2C 00 00 08 */ cmpwi r0, 8 -/* 8034E5F4 0034B554 40 82 00 0C */ bne lbl_8034E600 -/* 8034E5F8 0034B558 38 A0 18 44 */ li r5, 0x1844 -/* 8034E5FC 0034B55C 48 00 00 08 */ b lbl_8034E604 -lbl_8034E600: -/* 8034E600 0034B560 38 A0 0E 44 */ li r5, 0xe44 -lbl_8034E604: -/* 8034E604 0034B564 80 03 00 50 */ lwz r0, 0x50(r3) -/* 8034E608 0034B568 38 83 00 54 */ addi r4, r3, 0x54 -/* 8034E60C 0034B56C 38 C0 00 00 */ li r6, 0 -/* 8034E610 0034B570 7C 09 03 A6 */ mtctr r0 -/* 8034E614 0034B574 2C 00 00 00 */ cmpwi r0, 0 -/* 8034E618 0034B578 40 81 00 2C */ ble lbl_8034E644 -lbl_8034E61C: -/* 8034E61C 0034B57C 80 64 00 10 */ lwz r3, 0x10(r4) -/* 8034E620 0034B580 80 03 00 00 */ lwz r0, 0(r3) -/* 8034E624 0034B584 2C 00 00 08 */ cmpwi r0, 8 -/* 8034E628 0034B588 40 82 00 0C */ bne lbl_8034E634 -/* 8034E62C 0034B58C 38 A5 08 00 */ addi r5, r5, 0x800 -/* 8034E630 0034B590 48 00 00 0C */ b lbl_8034E63C -lbl_8034E634: -/* 8034E634 0034B594 38 C0 00 01 */ li r6, 1 -/* 8034E638 0034B598 38 A5 04 00 */ addi r5, r5, 0x400 -lbl_8034E63C: -/* 8034E63C 0034B59C 38 84 00 14 */ addi r4, r4, 0x14 -/* 8034E640 0034B5A0 42 00 FF DC */ bdnz lbl_8034E61C -lbl_8034E644: -/* 8034E644 0034B5A4 54 C0 06 3F */ clrlwi. r0, r6, 0x18 -/* 8034E648 0034B5A8 41 82 00 08 */ beq lbl_8034E650 -/* 8034E64C 0034B5AC 38 A5 02 00 */ addi r5, r5, 0x200 -lbl_8034E650: -/* 8034E650 0034B5B0 7C A3 2B 78 */ mr r3, r5 -/* 8034E654 0034B5B4 4E 80 00 20 */ blr - -.global CalculateTotalDataSize__13CCardFileInfoFv -CalculateTotalDataSize__13CCardFileInfoFv: -/* 8034E658 0034B5B8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034E65C 0034B5BC 7C 08 02 A6 */ mflr r0 -/* 8034E660 0034B5C0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8034E664 0034B5C4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8034E668 0034B5C8 83 E3 00 F8 */ lwz r31, 0xf8(r3) -/* 8034E66C 0034B5CC 4B FF FF 69 */ bl CalculateBannerDataSize__13CCardFileInfoFv -/* 8034E670 0034B5D0 7C 63 FA 14 */ add r3, r3, r31 -/* 8034E674 0034B5D4 38 03 1F FF */ addi r0, r3, 0x1fff -/* 8034E678 0034B5D8 54 03 00 24 */ rlwinm r3, r0, 0, 0, 0x12 -/* 8034E67C 0034B5DC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8034E680 0034B5E0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8034E684 0034B5E4 7C 08 03 A6 */ mtlr r0 -/* 8034E688 0034B5E8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8034E68C 0034B5EC 4E 80 00 20 */ blr - -.global BuildCardBuffer__13CCardFileInfoFv -BuildCardBuffer__13CCardFileInfoFv: -/* 8034E690 0034B5F0 94 21 FE F0 */ stwu r1, -0x110(r1) -/* 8034E694 0034B5F4 7C 08 02 A6 */ mflr r0 -/* 8034E698 0034B5F8 90 01 01 14 */ stw r0, 0x114(r1) -/* 8034E69C 0034B5FC 93 E1 01 0C */ stw r31, 0x10c(r1) -/* 8034E6A0 0034B600 93 C1 01 08 */ stw r30, 0x108(r1) -/* 8034E6A4 0034B604 93 A1 01 04 */ stw r29, 0x104(r1) -/* 8034E6A8 0034B608 93 81 01 00 */ stw r28, 0x100(r1) -/* 8034E6AC 0034B60C 7C 7C 1B 78 */ mr r28, r3 -/* 8034E6B0 0034B610 4B FF FF 25 */ bl CalculateBannerDataSize__13CCardFileInfoFv -/* 8034E6B4 0034B614 80 9C 00 F8 */ lwz r4, 0xf8(r28) -/* 8034E6B8 0034B618 7C 7F 1B 78 */ mr r31, r3 -/* 8034E6BC 0034B61C 38 7C 01 04 */ addi r3, r28, 0x104 -/* 8034E6C0 0034B620 38 AD 9D E9 */ addi r5, r13, lbl_805A89A9@sda21 -/* 8034E6C4 0034B624 38 04 1F FF */ addi r0, r4, 0x1fff -/* 8034E6C8 0034B628 7C 1F 02 14 */ add r0, r31, r0 -/* 8034E6CC 0034B62C 54 1E 00 24 */ rlwinm r30, r0, 0, 0, 0x12 -/* 8034E6D0 0034B630 7F C4 F3 78 */ mr r4, r30 -/* 8034E6D4 0034B634 4B FF F3 15 */ bl sub_8034d9e8 -/* 8034E6D8 0034B638 83 BC 01 10 */ lwz r29, 0x110(r28) -/* 8034E6DC 0034B63C 7F C5 F3 78 */ mr r5, r30 -/* 8034E6E0 0034B640 38 61 00 6C */ addi r3, r1, 0x6c -/* 8034E6E4 0034B644 38 C0 00 01 */ li r6, 1 -/* 8034E6E8 0034B648 7F A4 EB 78 */ mr r4, r29 -/* 8034E6EC 0034B64C 38 E0 10 00 */ li r7, 0x1000 -/* 8034E6F0 0034B650 4B FF 0C 4D */ bl __ct__16CMemoryStreamOutFPvUlQ216CMemoryStreamOut10EOwnerShipi -/* 8034E6F4 0034B654 38 00 00 00 */ li r0, 0 -/* 8034E6F8 0034B658 38 61 00 6C */ addi r3, r1, 0x6c -/* 8034E6FC 0034B65C 90 01 00 08 */ stw r0, 8(r1) -/* 8034E700 0034B660 4B FF 0D B9 */ bl FlushShiftRegister__13COutputStreamFv -/* 8034E704 0034B664 38 61 00 6C */ addi r3, r1, 0x6c -/* 8034E708 0034B668 38 81 00 08 */ addi r4, r1, 8 -/* 8034E70C 0034B66C 38 A0 00 04 */ li r5, 4 -/* 8034E710 0034B670 4B FF 0E 99 */ bl DoPut__13COutputStreamFPCvUl -/* 8034E714 0034B674 80 9C 00 28 */ lwz r4, 0x28(r28) -/* 8034E718 0034B678 38 61 00 2C */ addi r3, r1, 0x2c -/* 8034E71C 0034B67C 38 A0 00 40 */ li r5, 0x40 -/* 8034E720 0034B680 48 04 19 A5 */ bl strncpy -/* 8034E724 0034B684 38 61 00 6C */ addi r3, r1, 0x6c -/* 8034E728 0034B688 4B FF 0D 91 */ bl FlushShiftRegister__13COutputStreamFv -/* 8034E72C 0034B68C 38 61 00 6C */ addi r3, r1, 0x6c -/* 8034E730 0034B690 38 81 00 2C */ addi r4, r1, 0x2c -/* 8034E734 0034B694 38 A0 00 40 */ li r5, 0x40 -/* 8034E738 0034B698 4B FF 0E 71 */ bl DoPut__13COutputStreamFPCvUl -/* 8034E73C 0034B69C 7F 83 E3 78 */ mr r3, r28 -/* 8034E740 0034B6A0 38 81 00 6C */ addi r4, r1, 0x6c -/* 8034E744 0034B6A4 48 00 01 79 */ bl WriteBannerData__13CCardFileInfoFv -/* 8034E748 0034B6A8 7F 83 E3 78 */ mr r3, r28 -/* 8034E74C 0034B6AC 38 81 00 6C */ addi r4, r1, 0x6c -/* 8034E750 0034B6B0 48 00 00 AD */ bl WriteIconData__13CCardFileInfoFv -/* 8034E754 0034B6B4 38 61 00 6C */ addi r3, r1, 0x6c -/* 8034E758 0034B6B8 38 80 FF FF */ li r4, -1 -/* 8034E75C 0034B6BC 4B FF 0B 65 */ bl __dt__16CMemoryStreamOutFv -/* 8034E760 0034B6C0 80 1C 01 10 */ lwz r0, 0x110(r28) -/* 8034E764 0034B6C4 80 9C 01 00 */ lwz r4, 0x100(r28) -/* 8034E768 0034B6C8 80 BC 00 F8 */ lwz r5, 0xf8(r28) -/* 8034E76C 0034B6CC 7C 60 FA 14 */ add r3, r0, r31 -/* 8034E770 0034B6D0 4B CB 4D 21 */ bl memcpy -/* 8034E774 0034B6D4 38 7D 00 04 */ addi r3, r29, 4 -/* 8034E778 0034B6D8 38 9E FF FC */ addi r4, r30, -4 -/* 8034E77C 0034B6DC 4B FC 6E 15 */ bl Calculate__6CCRC32FPCvUi -/* 8034E780 0034B6E0 90 7D 00 00 */ stw r3, 0(r29) -/* 8034E784 0034B6E4 38 00 00 00 */ li r0, 0 -/* 8034E788 0034B6E8 38 7C 00 F4 */ addi r3, r28, 0xf4 -/* 8034E78C 0034B6EC 38 81 00 1C */ addi r4, r1, 0x1c -/* 8034E790 0034B6F0 90 01 00 20 */ stw r0, 0x20(r1) -/* 8034E794 0034B6F4 90 01 00 24 */ stw r0, 0x24(r1) -/* 8034E798 0034B6F8 90 01 00 28 */ stw r0, 0x28(r1) -/* 8034E79C 0034B6FC 4B F5 9F 19 */ bl sub_802a86b4 -/* 8034E7A0 0034B700 80 61 00 28 */ lwz r3, 0x28(r1) -/* 8034E7A4 0034B704 80 01 00 20 */ lwz r0, 0x20(r1) -/* 8034E7A8 0034B708 90 61 00 10 */ stw r3, 0x10(r1) -/* 8034E7AC 0034B70C 7C 83 02 14 */ add r4, r3, r0 -/* 8034E7B0 0034B710 7C 03 20 50 */ subf r0, r3, r4 -/* 8034E7B4 0034B714 90 81 00 18 */ stw r4, 0x18(r1) -/* 8034E7B8 0034B718 90 81 00 14 */ stw r4, 0x14(r1) -/* 8034E7BC 0034B71C 90 61 00 0C */ stw r3, 0xc(r1) -/* 8034E7C0 0034B720 7C 09 03 A6 */ mtctr r0 -/* 8034E7C4 0034B724 7C 03 20 40 */ cmplw r3, r4 -/* 8034E7C8 0034B728 41 82 00 08 */ beq lbl_8034E7D0 -lbl_8034E7CC: -/* 8034E7CC 0034B72C 42 00 00 00 */ bdnz lbl_8034E7CC -lbl_8034E7D0: -/* 8034E7D0 0034B730 28 03 00 00 */ cmplwi r3, 0 -/* 8034E7D4 0034B734 41 82 00 08 */ beq lbl_8034E7DC -/* 8034E7D8 0034B738 4B FC 71 59 */ bl Free__7CMemoryFPCv -lbl_8034E7DC: -/* 8034E7DC 0034B73C 80 01 01 14 */ lwz r0, 0x114(r1) -/* 8034E7E0 0034B740 83 E1 01 0C */ lwz r31, 0x10c(r1) -/* 8034E7E4 0034B744 83 C1 01 08 */ lwz r30, 0x108(r1) -/* 8034E7E8 0034B748 83 A1 01 04 */ lwz r29, 0x104(r1) -/* 8034E7EC 0034B74C 83 81 01 00 */ lwz r28, 0x100(r1) -/* 8034E7F0 0034B750 7C 08 03 A6 */ mtlr r0 -/* 8034E7F4 0034B754 38 21 01 10 */ addi r1, r1, 0x110 -/* 8034E7F8 0034B758 4E 80 00 20 */ blr - -.global WriteIconData__13CCardFileInfoFv -WriteIconData__13CCardFileInfoFv: -/* 8034E7FC 0034B75C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8034E800 0034B760 7C 08 02 A6 */ mflr r0 -/* 8034E804 0034B764 90 01 00 34 */ stw r0, 0x34(r1) -/* 8034E808 0034B768 BE E1 00 0C */ stmw r23, 0xc(r1) -/* 8034E80C 0034B76C 7C 77 1B 78 */ mr r23, r3 -/* 8034E810 0034B770 7C 98 23 78 */ mr r24, r4 -/* 8034E814 0034B774 3B 80 00 00 */ li r28, 0 -/* 8034E818 0034B778 3B B7 00 54 */ addi r29, r23, 0x54 -/* 8034E81C 0034B77C 3B 60 00 00 */ li r27, 0 -/* 8034E820 0034B780 48 00 00 5C */ b lbl_8034E87C -lbl_8034E824: -/* 8034E824 0034B784 83 DD 00 10 */ lwz r30, 0x10(r29) -/* 8034E828 0034B788 38 80 00 00 */ li r4, 0 -/* 8034E82C 0034B78C 83 5E 00 00 */ lwz r26, 0(r30) -/* 8034E830 0034B790 7F C3 F3 78 */ mr r3, r30 -/* 8034E834 0034B794 4B FB FD C1 */ bl GetConstBitMapData__8CTextureCFi -/* 8034E838 0034B798 2C 1A 00 08 */ cmpwi r26, 8 -/* 8034E83C 0034B79C 7C 79 1B 78 */ mr r25, r3 -/* 8034E840 0034B7A0 3B E0 04 00 */ li r31, 0x400 -/* 8034E844 0034B7A4 40 82 00 08 */ bne lbl_8034E84C -/* 8034E848 0034B7A8 3B E0 08 00 */ li r31, 0x800 -lbl_8034E84C: -/* 8034E84C 0034B7AC 7F 03 C3 78 */ mr r3, r24 -/* 8034E850 0034B7B0 4B FF 0C 69 */ bl FlushShiftRegister__13COutputStreamFv -/* 8034E854 0034B7B4 7F 03 C3 78 */ mr r3, r24 -/* 8034E858 0034B7B8 7F 24 CB 78 */ mr r4, r25 -/* 8034E85C 0034B7BC 7F E5 FB 78 */ mr r5, r31 -/* 8034E860 0034B7C0 4B FF 0D 49 */ bl DoPut__13COutputStreamFPCvUl -/* 8034E864 0034B7C4 2C 1A 00 05 */ cmpwi r26, 5 -/* 8034E868 0034B7C8 40 82 00 0C */ bne lbl_8034E874 -/* 8034E86C 0034B7CC 80 7E 00 10 */ lwz r3, 0x10(r30) -/* 8034E870 0034B7D0 83 83 00 0C */ lwz r28, 0xc(r3) -lbl_8034E874: -/* 8034E874 0034B7D4 3B BD 00 14 */ addi r29, r29, 0x14 -/* 8034E878 0034B7D8 3B 7B 00 01 */ addi r27, r27, 1 -lbl_8034E87C: -/* 8034E87C 0034B7DC 80 17 00 50 */ lwz r0, 0x50(r23) -/* 8034E880 0034B7E0 7C 1B 00 00 */ cmpw r27, r0 -/* 8034E884 0034B7E4 41 80 FF A0 */ blt lbl_8034E824 -/* 8034E888 0034B7E8 28 1C 00 00 */ cmplwi r28, 0 -/* 8034E88C 0034B7EC 41 82 00 1C */ beq lbl_8034E8A8 -/* 8034E890 0034B7F0 7F 03 C3 78 */ mr r3, r24 -/* 8034E894 0034B7F4 4B FF 0C 25 */ bl FlushShiftRegister__13COutputStreamFv -/* 8034E898 0034B7F8 7F 03 C3 78 */ mr r3, r24 -/* 8034E89C 0034B7FC 7F 84 E3 78 */ mr r4, r28 -/* 8034E8A0 0034B800 38 A0 02 00 */ li r5, 0x200 -/* 8034E8A4 0034B804 4B FF 0D 05 */ bl DoPut__13COutputStreamFPCvUl -lbl_8034E8A8: -/* 8034E8A8 0034B808 BA E1 00 0C */ lmw r23, 0xc(r1) -/* 8034E8AC 0034B80C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8034E8B0 0034B810 7C 08 03 A6 */ mtlr r0 -/* 8034E8B4 0034B814 38 21 00 30 */ addi r1, r1, 0x30 -/* 8034E8B8 0034B818 4E 80 00 20 */ blr - -.global WriteBannerData__13CCardFileInfoFv -WriteBannerData__13CCardFileInfoFv: -/* 8034E8BC 0034B81C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8034E8C0 0034B820 7C 08 02 A6 */ mflr r0 -/* 8034E8C4 0034B824 90 01 00 24 */ stw r0, 0x24(r1) -/* 8034E8C8 0034B828 BF 61 00 0C */ stmw r27, 0xc(r1) -/* 8034E8CC 0034B82C 7C 9B 23 78 */ mr r27, r4 -/* 8034E8D0 0034B830 80 A3 00 3C */ lwz r5, 0x3c(r3) -/* 8034E8D4 0034B834 3C 05 00 01 */ addis r0, r5, 1 -/* 8034E8D8 0034B838 28 00 FF FF */ cmplwi r0, 0xffff -/* 8034E8DC 0034B83C 41 82 00 6C */ beq lbl_8034E948 -/* 8034E8E0 0034B840 83 C3 00 48 */ lwz r30, 0x48(r3) -/* 8034E8E4 0034B844 38 80 00 00 */ li r4, 0 -/* 8034E8E8 0034B848 83 BE 00 00 */ lwz r29, 0(r30) -/* 8034E8EC 0034B84C 7F C3 F3 78 */ mr r3, r30 -/* 8034E8F0 0034B850 4B FB FD 05 */ bl GetConstBitMapData__8CTextureCFi -/* 8034E8F4 0034B854 2C 1D 00 08 */ cmpwi r29, 8 -/* 8034E8F8 0034B858 7C 7C 1B 78 */ mr r28, r3 -/* 8034E8FC 0034B85C 3B E0 0C 00 */ li r31, 0xc00 -/* 8034E900 0034B860 40 82 00 08 */ bne lbl_8034E908 -/* 8034E904 0034B864 3B E0 18 00 */ li r31, 0x1800 -lbl_8034E908: -/* 8034E908 0034B868 7F 63 DB 78 */ mr r3, r27 -/* 8034E90C 0034B86C 4B FF 0B AD */ bl FlushShiftRegister__13COutputStreamFv -/* 8034E910 0034B870 7F 63 DB 78 */ mr r3, r27 -/* 8034E914 0034B874 7F 84 E3 78 */ mr r4, r28 -/* 8034E918 0034B878 7F E5 FB 78 */ mr r5, r31 -/* 8034E91C 0034B87C 4B FF 0C 8D */ bl DoPut__13COutputStreamFPCvUl -/* 8034E920 0034B880 2C 1D 00 05 */ cmpwi r29, 5 -/* 8034E924 0034B884 40 82 00 24 */ bne lbl_8034E948 -/* 8034E928 0034B888 80 9E 00 10 */ lwz r4, 0x10(r30) -/* 8034E92C 0034B88C 7F 63 DB 78 */ mr r3, r27 -/* 8034E930 0034B890 83 C4 00 0C */ lwz r30, 0xc(r4) -/* 8034E934 0034B894 4B FF 0B 85 */ bl FlushShiftRegister__13COutputStreamFv -/* 8034E938 0034B898 7F 63 DB 78 */ mr r3, r27 -/* 8034E93C 0034B89C 7F C4 F3 78 */ mr r4, r30 -/* 8034E940 0034B8A0 38 A0 02 00 */ li r5, 0x200 -/* 8034E944 0034B8A4 4B FF 0C 65 */ bl DoPut__13COutputStreamFPCvUl -lbl_8034E948: -/* 8034E948 0034B8A8 BB 61 00 0C */ lmw r27, 0xc(r1) -/* 8034E94C 0034B8AC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8034E950 0034B8B0 7C 08 03 A6 */ mtlr r0 -/* 8034E954 0034B8B4 38 21 00 20 */ addi r1, r1, 0x20 -/* 8034E958 0034B8B8 4E 80 00 20 */ blr - -.global GetSaveDataOffset__19SMemoryCardFileInfoFRPv -GetSaveDataOffset__19SMemoryCardFileInfoFRPv: -/* 8034E95C 0034B8BC 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 8034E960 0034B8C0 7C 08 02 A6 */ mflr r0 -/* 8034E964 0034B8C4 38 A0 00 6C */ li r5, 0x6c -/* 8034E968 0034B8C8 90 01 00 94 */ stw r0, 0x94(r1) -/* 8034E96C 0034B8CC 93 E1 00 8C */ stw r31, 0x8c(r1) -/* 8034E970 0034B8D0 7C 9F 23 78 */ mr r31, r4 -/* 8034E974 0034B8D4 38 80 00 00 */ li r4, 0 -/* 8034E978 0034B8D8 93 C1 00 88 */ stw r30, 0x88(r1) -/* 8034E97C 0034B8DC 93 A1 00 84 */ stw r29, 0x84(r1) -/* 8034E980 0034B8E0 7C 7D 1B 78 */ mr r29, r3 -/* 8034E984 0034B8E4 38 61 00 08 */ addi r3, r1, 8 -/* 8034E988 0034B8E8 4B CB 4A 21 */ bl memset -/* 8034E98C 0034B8EC 7F A3 EB 78 */ mr r3, r29 -/* 8034E990 0034B8F0 48 00 01 15 */ bl GetFileNo__19SMemoryCardFileInfoFv -/* 8034E994 0034B8F4 7C 7E 1B 78 */ mr r30, r3 -/* 8034E998 0034B8F8 7F A3 EB 78 */ mr r3, r29 -/* 8034E99C 0034B8FC 48 00 01 11 */ bl GetFileCardPort__19SMemoryCardFileInfoFv -/* 8034E9A0 0034B900 7F C4 F3 78 */ mr r4, r30 -/* 8034E9A4 0034B904 38 A1 00 08 */ addi r5, r1, 8 -/* 8034E9A8 0034B908 4B FF EE 89 */ bl GetStatus__14CMemoryCardSysFiiP8CARDStat -/* 8034E9AC 0034B90C 2C 03 00 00 */ cmpwi r3, 0 -/* 8034E9B0 0034B910 41 82 00 10 */ beq lbl_8034E9C0 -/* 8034E9B4 0034B914 38 00 FF FF */ li r0, -1 -/* 8034E9B8 0034B918 90 1F 00 00 */ stw r0, 0(r31) -/* 8034E9BC 0034B91C 48 00 00 BC */ b lbl_8034EA78 -lbl_8034E9C0: -/* 8034E9C0 0034B920 38 00 00 04 */ li r0, 4 -/* 8034E9C4 0034B924 38 61 00 08 */ addi r3, r1, 8 -/* 8034E9C8 0034B928 90 1F 00 00 */ stw r0, 0(r31) -/* 8034E9CC 0034B92C 80 9F 00 00 */ lwz r4, 0(r31) -/* 8034E9D0 0034B930 38 04 00 40 */ addi r0, r4, 0x40 -/* 8034E9D4 0034B934 90 1F 00 00 */ stw r0, 0(r31) -/* 8034E9D8 0034B938 4B FF FB E1 */ bl GetBannerFormat__8CARDStatFv -/* 8034E9DC 0034B93C 2C 03 00 01 */ cmpwi r3, 1 -/* 8034E9E0 0034B940 40 82 00 14 */ bne lbl_8034E9F4 -/* 8034E9E4 0034B944 80 7F 00 00 */ lwz r3, 0(r31) -/* 8034E9E8 0034B948 38 03 0E 00 */ addi r0, r3, 0xe00 -/* 8034E9EC 0034B94C 90 1F 00 00 */ stw r0, 0(r31) -/* 8034E9F0 0034B950 48 00 00 18 */ b lbl_8034EA08 -lbl_8034E9F4: -/* 8034E9F4 0034B954 2C 03 00 02 */ cmpwi r3, 2 -/* 8034E9F8 0034B958 40 82 00 10 */ bne lbl_8034EA08 -/* 8034E9FC 0034B95C 80 7F 00 00 */ lwz r3, 0(r31) -/* 8034EA00 0034B960 38 03 18 00 */ addi r0, r3, 0x1800 -/* 8034EA04 0034B964 90 1F 00 00 */ stw r0, 0(r31) -lbl_8034EA08: -/* 8034EA08 0034B968 38 61 00 08 */ addi r3, r1, 8 -/* 8034EA0C 0034B96C 3B C0 00 00 */ li r30, 0 -/* 8034EA10 0034B970 3B A0 00 00 */ li r29, 0 -/* 8034EA14 0034B974 38 80 00 00 */ li r4, 0 -/* 8034EA18 0034B978 4B FF FB 8D */ bl GetIconFormat__8CARDStatFi -/* 8034EA1C 0034B97C 48 00 00 3C */ b lbl_8034EA58 -lbl_8034EA20: -/* 8034EA20 0034B980 2C 03 00 01 */ cmpwi r3, 1 -/* 8034EA24 0034B984 40 82 00 18 */ bne lbl_8034EA3C -/* 8034EA28 0034B988 80 7F 00 00 */ lwz r3, 0(r31) -/* 8034EA2C 0034B98C 3B C0 00 01 */ li r30, 1 -/* 8034EA30 0034B990 38 03 04 00 */ addi r0, r3, 0x400 -/* 8034EA34 0034B994 90 1F 00 00 */ stw r0, 0(r31) -/* 8034EA38 0034B998 48 00 00 10 */ b lbl_8034EA48 -lbl_8034EA3C: -/* 8034EA3C 0034B99C 80 7F 00 00 */ lwz r3, 0(r31) -/* 8034EA40 0034B9A0 38 03 08 00 */ addi r0, r3, 0x800 -/* 8034EA44 0034B9A4 90 1F 00 00 */ stw r0, 0(r31) -lbl_8034EA48: -/* 8034EA48 0034B9A8 3B BD 00 01 */ addi r29, r29, 1 -/* 8034EA4C 0034B9AC 38 61 00 08 */ addi r3, r1, 8 -/* 8034EA50 0034B9B0 7F A4 EB 78 */ mr r4, r29 -/* 8034EA54 0034B9B4 4B FF FB 51 */ bl GetIconFormat__8CARDStatFi -lbl_8034EA58: -/* 8034EA58 0034B9B8 2C 03 00 00 */ cmpwi r3, 0 -/* 8034EA5C 0034B9BC 40 82 FF C4 */ bne lbl_8034EA20 -/* 8034EA60 0034B9C0 57 C0 06 3F */ clrlwi. r0, r30, 0x18 -/* 8034EA64 0034B9C4 41 82 00 10 */ beq lbl_8034EA74 -/* 8034EA68 0034B9C8 80 7F 00 00 */ lwz r3, 0(r31) -/* 8034EA6C 0034B9CC 38 03 02 00 */ addi r0, r3, 0x200 -/* 8034EA70 0034B9D0 90 1F 00 00 */ stw r0, 0(r31) -lbl_8034EA74: -/* 8034EA74 0034B9D4 38 60 00 00 */ li r3, 0 -lbl_8034EA78: -/* 8034EA78 0034B9D8 80 01 00 94 */ lwz r0, 0x94(r1) -/* 8034EA7C 0034B9DC 83 E1 00 8C */ lwz r31, 0x8c(r1) -/* 8034EA80 0034B9E0 83 C1 00 88 */ lwz r30, 0x88(r1) -/* 8034EA84 0034B9E4 83 A1 00 84 */ lwz r29, 0x84(r1) -/* 8034EA88 0034B9E8 7C 08 03 A6 */ mtlr r0 -/* 8034EA8C 0034B9EC 38 21 00 90 */ addi r1, r1, 0x90 -/* 8034EA90 0034B9F0 4E 80 00 20 */ blr - -.global GetFileNo__13CCardFileInfoFv -GetFileNo__13CCardFileInfoFv: -/* 8034EA94 0034B9F4 80 63 00 08 */ lwz r3, 8(r3) -/* 8034EA98 0034B9F8 4E 80 00 20 */ blr - -.global GetCardPort__13CCardFileInfoFv -GetCardPort__13CCardFileInfoFv: -/* 8034EA9C 0034B9FC 80 63 00 04 */ lwz r3, 4(r3) -/* 8034EAA0 0034BA00 4E 80 00 20 */ blr - -.global GetFileNo__19SMemoryCardFileInfoFv -GetFileNo__19SMemoryCardFileInfoFv: -/* 8034EAA4 0034BA04 80 63 00 04 */ lwz r3, 4(r3) -/* 8034EAA8 0034BA08 4E 80 00 20 */ blr - -.global GetFileCardPort__19SMemoryCardFileInfoFv -GetFileCardPort__19SMemoryCardFileInfoFv: -/* 8034EAAC 0034BA0C 80 63 00 00 */ lwz r3, 0(r3) -/* 8034EAB0 0034BA10 4E 80 00 20 */ blr - -.global sub_8034eab4 -sub_8034eab4: -/* 8034EAB4 0034BA14 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8034EAB8 0034BA18 7C 08 02 A6 */ mflr r0 -/* 8034EABC 0034BA1C 90 01 00 24 */ stw r0, 0x24(r1) -/* 8034EAC0 0034BA20 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8034EAC4 0034BA24 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8034EAC8 0034BA28 7C 7E 1B 78 */ mr r30, r3 -/* 8034EACC 0034BA2C 3C 60 54 58 */ lis r3, 0x54585452@ha -/* 8034EAD0 0034BA30 90 9E 00 00 */ stw r4, 0(r30) -/* 8034EAD4 0034BA34 38 03 54 52 */ addi r0, r3, 0x54585452@l -/* 8034EAD8 0034BA38 38 61 00 08 */ addi r3, r1, 8 -/* 8034EADC 0034BA3C 90 BE 00 04 */ stw r5, 4(r30) -/* 8034EAE0 0034BA40 38 A1 00 10 */ addi r5, r1, 0x10 -/* 8034EAE4 0034BA44 90 81 00 14 */ stw r4, 0x14(r1) -/* 8034EAE8 0034BA48 7C C4 33 78 */ mr r4, r6 -/* 8034EAEC 0034BA4C 90 01 00 10 */ stw r0, 0x10(r1) -/* 8034EAF0 0034BA50 81 86 00 00 */ lwz r12, 0(r6) -/* 8034EAF4 0034BA54 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8034EAF8 0034BA58 7D 89 03 A6 */ mtctr r12 -/* 8034EAFC 0034BA5C 4E 80 04 21 */ bctrl -/* 8034EB00 0034BA60 3B FE 00 08 */ addi r31, r30, 8 -/* 8034EB04 0034BA64 38 81 00 08 */ addi r4, r1, 8 -/* 8034EB08 0034BA68 7F E3 FB 78 */ mr r3, r31 -/* 8034EB0C 0034BA6C 4B FF 23 9D */ bl __ct__6CTokenFRC6CToken -/* 8034EB10 0034BA70 7F E3 FB 78 */ mr r3, r31 -/* 8034EB14 0034BA74 4B FF 22 F9 */ bl GetObj__6CTokenFv -/* 8034EB18 0034BA78 80 03 00 04 */ lwz r0, 4(r3) -/* 8034EB1C 0034BA7C 38 61 00 08 */ addi r3, r1, 8 -/* 8034EB20 0034BA80 38 80 FF FF */ li r4, -1 -/* 8034EB24 0034BA84 90 1F 00 08 */ stw r0, 8(r31) -/* 8034EB28 0034BA88 4B FF 23 19 */ bl __dt__6CTokenFv -/* 8034EB2C 0034BA8C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8034EB30 0034BA90 7F C3 F3 78 */ mr r3, r30 -/* 8034EB34 0034BA94 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8034EB38 0034BA98 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8034EB3C 0034BA9C 7C 08 03 A6 */ mtlr r0 -/* 8034EB40 0034BAA0 38 21 00 20 */ addi r1, r1, 0x20 -/* 8034EB44 0034BAA4 4E 80 00 20 */ blr - -.global FileRead__19SMemoryCardFileInfoFv -FileRead__19SMemoryCardFileInfoFv: -/* 8034EB48 0034BAA8 94 21 FF 50 */ stwu r1, -0xb0(r1) -/* 8034EB4C 0034BAAC 7C 08 02 A6 */ mflr r0 -/* 8034EB50 0034BAB0 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 8034EB54 0034BAB4 38 00 00 00 */ li r0, 0 -/* 8034EB58 0034BAB8 38 81 00 7C */ addi r4, r1, 0x7c -/* 8034EB5C 0034BABC BF 61 00 9C */ stmw r27, 0x9c(r1) -/* 8034EB60 0034BAC0 7C 7F 1B 78 */ mr r31, r3 -/* 8034EB64 0034BAC4 3B DF 00 34 */ addi r30, r31, 0x34 -/* 8034EB68 0034BAC8 7F C3 F3 78 */ mr r3, r30 -/* 8034EB6C 0034BACC 90 01 00 80 */ stw r0, 0x80(r1) -/* 8034EB70 0034BAD0 90 01 00 84 */ stw r0, 0x84(r1) -/* 8034EB74 0034BAD4 90 01 00 88 */ stw r0, 0x88(r1) -/* 8034EB78 0034BAD8 4B F5 9B 3D */ bl sub_802a86b4 -/* 8034EB7C 0034BADC 80 61 00 88 */ lwz r3, 0x88(r1) -/* 8034EB80 0034BAE0 80 01 00 80 */ lwz r0, 0x80(r1) -/* 8034EB84 0034BAE4 90 61 00 3C */ stw r3, 0x3c(r1) -/* 8034EB88 0034BAE8 7C 83 02 14 */ add r4, r3, r0 -/* 8034EB8C 0034BAEC 7C 03 20 50 */ subf r0, r3, r4 -/* 8034EB90 0034BAF0 90 81 00 44 */ stw r4, 0x44(r1) -/* 8034EB94 0034BAF4 90 81 00 40 */ stw r4, 0x40(r1) -/* 8034EB98 0034BAF8 90 61 00 38 */ stw r3, 0x38(r1) -/* 8034EB9C 0034BAFC 7C 09 03 A6 */ mtctr r0 -/* 8034EBA0 0034BB00 7C 03 20 40 */ cmplw r3, r4 -/* 8034EBA4 0034BB04 41 82 00 08 */ beq lbl_8034EBAC -lbl_8034EBA8: -/* 8034EBA8 0034BB08 42 00 00 00 */ bdnz lbl_8034EBA8 -lbl_8034EBAC: -/* 8034EBAC 0034BB0C 28 03 00 00 */ cmplwi r3, 0 -/* 8034EBB0 0034BB10 41 82 00 08 */ beq lbl_8034EBB8 -/* 8034EBB4 0034BB14 4B FC 6D 7D */ bl Free__7CMemoryFPCv -lbl_8034EBB8: -/* 8034EBB8 0034BB18 83 9F 00 30 */ lwz r28, 0x30(r31) -/* 8034EBBC 0034BB1C 83 BF 00 28 */ lwz r29, 0x28(r31) -/* 8034EBC0 0034BB20 83 7C 00 00 */ lwz r27, 0(r28) -/* 8034EBC4 0034BB24 38 7C 00 04 */ addi r3, r28, 4 -/* 8034EBC8 0034BB28 38 9D FF FC */ addi r4, r29, -4 -/* 8034EBCC 0034BB2C 4B FC 69 C5 */ bl Calculate__6CCRC32FPCvUi -/* 8034EBD0 0034BB30 7C 1B 18 40 */ cmplw r27, r3 -/* 8034EBD4 0034BB34 40 82 00 F4 */ bne lbl_8034ECC8 -/* 8034EBD8 0034BB38 7F E3 FB 78 */ mr r3, r31 -/* 8034EBDC 0034BB3C 38 81 00 48 */ addi r4, r1, 0x48 -/* 8034EBE0 0034BB40 4B FF FD 7D */ bl GetSaveDataOffset__19SMemoryCardFileInfoFRPv -/* 8034EBE4 0034BB44 7C 7B 1B 79 */ or. r27, r3, r3 -/* 8034EBE8 0034BB48 41 82 00 5C */ beq lbl_8034EC44 -/* 8034EBEC 0034BB4C 38 00 00 00 */ li r0, 0 -/* 8034EBF0 0034BB50 38 7F 00 24 */ addi r3, r31, 0x24 -/* 8034EBF4 0034BB54 90 01 00 70 */ stw r0, 0x70(r1) -/* 8034EBF8 0034BB58 38 81 00 6C */ addi r4, r1, 0x6c -/* 8034EBFC 0034BB5C 90 01 00 74 */ stw r0, 0x74(r1) -/* 8034EC00 0034BB60 90 01 00 78 */ stw r0, 0x78(r1) -/* 8034EC04 0034BB64 4B FF F1 51 */ bl sub_8034dd54 -/* 8034EC08 0034BB68 80 61 00 78 */ lwz r3, 0x78(r1) -/* 8034EC0C 0034BB6C 80 01 00 70 */ lwz r0, 0x70(r1) -/* 8034EC10 0034BB70 90 61 00 2C */ stw r3, 0x2c(r1) -/* 8034EC14 0034BB74 7C 83 02 14 */ add r4, r3, r0 -/* 8034EC18 0034BB78 7C 03 20 50 */ subf r0, r3, r4 -/* 8034EC1C 0034BB7C 90 81 00 34 */ stw r4, 0x34(r1) -/* 8034EC20 0034BB80 90 81 00 30 */ stw r4, 0x30(r1) -/* 8034EC24 0034BB84 90 61 00 28 */ stw r3, 0x28(r1) -/* 8034EC28 0034BB88 7C 09 03 A6 */ mtctr r0 -/* 8034EC2C 0034BB8C 7C 03 20 40 */ cmplw r3, r4 -/* 8034EC30 0034BB90 41 82 00 08 */ beq lbl_8034EC38 -lbl_8034EC34: -/* 8034EC34 0034BB94 42 00 00 00 */ bdnz lbl_8034EC34 -lbl_8034EC38: -/* 8034EC38 0034BB98 4B FC 6C F9 */ bl Free__7CMemoryFPCv -/* 8034EC3C 0034BB9C 7F 63 DB 78 */ mr r3, r27 -/* 8034EC40 0034BBA0 48 00 00 DC */ b lbl_8034ED1C -lbl_8034EC44: -/* 8034EC44 0034BBA4 80 01 00 48 */ lwz r0, 0x48(r1) -/* 8034EC48 0034BBA8 7F C3 F3 78 */ mr r3, r30 -/* 8034EC4C 0034BBAC 38 AD 9D E8 */ addi r5, r13, lbl_805A89A8@sda21 -/* 8034EC50 0034BBB0 7F 60 E8 50 */ subf r27, r0, r29 -/* 8034EC54 0034BBB4 7F 64 DB 78 */ mr r4, r27 -/* 8034EC58 0034BBB8 4B E8 4F C5 */ bl "resize__Q24rstl37vectorFiRCUc" -/* 8034EC5C 0034BBBC 80 01 00 48 */ lwz r0, 0x48(r1) -/* 8034EC60 0034BBC0 7F 65 DB 78 */ mr r5, r27 -/* 8034EC64 0034BBC4 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 8034EC68 0034BBC8 7C 9C 02 14 */ add r4, r28, r0 -/* 8034EC6C 0034BBCC 4B CB 48 25 */ bl memcpy -/* 8034EC70 0034BBD0 38 00 00 00 */ li r0, 0 -/* 8034EC74 0034BBD4 38 7F 00 24 */ addi r3, r31, 0x24 -/* 8034EC78 0034BBD8 90 01 00 60 */ stw r0, 0x60(r1) -/* 8034EC7C 0034BBDC 38 81 00 5C */ addi r4, r1, 0x5c -/* 8034EC80 0034BBE0 90 01 00 64 */ stw r0, 0x64(r1) -/* 8034EC84 0034BBE4 90 01 00 68 */ stw r0, 0x68(r1) -/* 8034EC88 0034BBE8 4B FF F0 CD */ bl sub_8034dd54 -/* 8034EC8C 0034BBEC 80 61 00 68 */ lwz r3, 0x68(r1) -/* 8034EC90 0034BBF0 80 01 00 60 */ lwz r0, 0x60(r1) -/* 8034EC94 0034BBF4 90 61 00 1C */ stw r3, 0x1c(r1) -/* 8034EC98 0034BBF8 7C 83 02 14 */ add r4, r3, r0 -/* 8034EC9C 0034BBFC 7C 03 20 50 */ subf r0, r3, r4 -/* 8034ECA0 0034BC00 90 81 00 24 */ stw r4, 0x24(r1) -/* 8034ECA4 0034BC04 90 81 00 20 */ stw r4, 0x20(r1) -/* 8034ECA8 0034BC08 90 61 00 18 */ stw r3, 0x18(r1) -/* 8034ECAC 0034BC0C 7C 09 03 A6 */ mtctr r0 -/* 8034ECB0 0034BC10 7C 03 20 40 */ cmplw r3, r4 -/* 8034ECB4 0034BC14 41 82 00 08 */ beq lbl_8034ECBC -lbl_8034ECB8: -/* 8034ECB8 0034BC18 42 00 00 00 */ bdnz lbl_8034ECB8 -lbl_8034ECBC: -/* 8034ECBC 0034BC1C 4B FC 6C 75 */ bl Free__7CMemoryFPCv -/* 8034ECC0 0034BC20 38 60 00 00 */ li r3, 0 -/* 8034ECC4 0034BC24 48 00 00 58 */ b lbl_8034ED1C -lbl_8034ECC8: -/* 8034ECC8 0034BC28 38 00 00 00 */ li r0, 0 -/* 8034ECCC 0034BC2C 38 7F 00 24 */ addi r3, r31, 0x24 -/* 8034ECD0 0034BC30 90 01 00 50 */ stw r0, 0x50(r1) -/* 8034ECD4 0034BC34 38 81 00 4C */ addi r4, r1, 0x4c -/* 8034ECD8 0034BC38 90 01 00 54 */ stw r0, 0x54(r1) -/* 8034ECDC 0034BC3C 90 01 00 58 */ stw r0, 0x58(r1) -/* 8034ECE0 0034BC40 4B FF F0 75 */ bl sub_8034dd54 -/* 8034ECE4 0034BC44 80 61 00 58 */ lwz r3, 0x58(r1) -/* 8034ECE8 0034BC48 80 01 00 50 */ lwz r0, 0x50(r1) -/* 8034ECEC 0034BC4C 90 61 00 0C */ stw r3, 0xc(r1) -/* 8034ECF0 0034BC50 7C 83 02 14 */ add r4, r3, r0 -/* 8034ECF4 0034BC54 7C 03 20 50 */ subf r0, r3, r4 -/* 8034ECF8 0034BC58 90 81 00 14 */ stw r4, 0x14(r1) -/* 8034ECFC 0034BC5C 90 81 00 10 */ stw r4, 0x10(r1) -/* 8034ED00 0034BC60 90 61 00 08 */ stw r3, 8(r1) -/* 8034ED04 0034BC64 7C 09 03 A6 */ mtctr r0 -/* 8034ED08 0034BC68 7C 03 20 40 */ cmplw r3, r4 -/* 8034ED0C 0034BC6C 41 82 00 08 */ beq lbl_8034ED14 -lbl_8034ED10: -/* 8034ED10 0034BC70 42 00 00 00 */ bdnz lbl_8034ED10 -lbl_8034ED14: -/* 8034ED14 0034BC74 4B FC 6C 1D */ bl Free__7CMemoryFPCv -/* 8034ED18 0034BC78 38 60 FC 15 */ li r3, -1003 -lbl_8034ED1C: -/* 8034ED1C 0034BC7C BB 61 00 9C */ lmw r27, 0x9c(r1) -/* 8034ED20 0034BC80 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 8034ED24 0034BC84 7C 08 03 A6 */ mtlr r0 -/* 8034ED28 0034BC88 38 21 00 B0 */ addi r1, r1, 0xb0 -/* 8034ED2C 0034BC8C 4E 80 00 20 */ blr - -.global sub_8034ed30 -sub_8034ed30: -/* 8034ED30 0034BC90 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8034ED34 0034BC94 7C 08 02 A6 */ mflr r0 -/* 8034ED38 0034BC98 90 01 00 34 */ stw r0, 0x34(r1) -/* 8034ED3C 0034BC9C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8034ED40 0034BCA0 7C 9F 23 78 */ mr r31, r4 -/* 8034ED44 0034BCA4 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8034ED48 0034BCA8 7C 7E 1B 78 */ mr r30, r3 -/* 8034ED4C 0034BCAC 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8034ED50 0034BCB0 80 03 00 08 */ lwz r0, 8(r3) -/* 8034ED54 0034BCB4 7C 1F 00 00 */ cmpw r31, r0 -/* 8034ED58 0034BCB8 40 81 00 C4 */ ble lbl_8034EE1C -/* 8034ED5C 0034BCBC 7F FD FB 79 */ or. r29, r31, r31 -/* 8034ED60 0034BCC0 40 82 00 0C */ bne lbl_8034ED6C -/* 8034ED64 0034BCC4 3B A0 00 00 */ li r29, 0 -/* 8034ED68 0034BCC8 48 00 00 3C */ b lbl_8034EDA4 -lbl_8034ED6C: -/* 8034ED6C 0034BCCC 3C 60 80 3E */ lis r3, lbl_803D8220@ha -/* 8034ED70 0034BCD0 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha -/* 8034ED74 0034BCD4 38 A3 82 20 */ addi r5, r3, lbl_803D8220@l -/* 8034ED78 0034BCD8 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l -/* 8034ED7C 0034BCDC 38 61 00 18 */ addi r3, r1, 0x18 -/* 8034ED80 0034BCE0 38 80 FF FF */ li r4, -1 -/* 8034ED84 0034BCE4 4B F8 76 51 */ bl __ct__10CCallStackFUiPCcPCc -/* 8034ED88 0034BCE8 7C 67 1B 78 */ mr r7, r3 -/* 8034ED8C 0034BCEC 7F A3 EB 78 */ mr r3, r29 -/* 8034ED90 0034BCF0 38 80 00 02 */ li r4, 2 -/* 8034ED94 0034BCF4 38 A0 00 01 */ li r5, 1 -/* 8034ED98 0034BCF8 38 C0 00 00 */ li r6, 0 -/* 8034ED9C 0034BCFC 4B FC 6B F9 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack -/* 8034EDA0 0034BD00 7C 7D 1B 78 */ mr r29, r3 -lbl_8034EDA4: -/* 8034EDA4 0034BD04 80 BE 00 0C */ lwz r5, 0xc(r30) -/* 8034EDA8 0034BD08 7F A4 EB 78 */ mr r4, r29 -/* 8034EDAC 0034BD0C 80 1E 00 04 */ lwz r0, 4(r30) -/* 8034EDB0 0034BD10 90 A1 00 10 */ stw r5, 0x10(r1) -/* 8034EDB4 0034BD14 7C 65 02 14 */ add r3, r5, r0 -/* 8034EDB8 0034BD18 7C 05 18 50 */ subf r0, r5, r3 -/* 8034EDBC 0034BD1C 90 61 00 08 */ stw r3, 8(r1) -/* 8034EDC0 0034BD20 90 61 00 0C */ stw r3, 0xc(r1) -/* 8034EDC4 0034BD24 90 A1 00 14 */ stw r5, 0x14(r1) -/* 8034EDC8 0034BD28 7C 09 03 A6 */ mtctr r0 -/* 8034EDCC 0034BD2C 7C 05 18 40 */ cmplw r5, r3 -/* 8034EDD0 0034BD30 41 82 00 20 */ beq lbl_8034EDF0 -lbl_8034EDD4: -/* 8034EDD4 0034BD34 28 04 00 00 */ cmplwi r4, 0 -/* 8034EDD8 0034BD38 41 82 00 0C */ beq lbl_8034EDE4 -/* 8034EDDC 0034BD3C 88 05 00 00 */ lbz r0, 0(r5) -/* 8034EDE0 0034BD40 98 04 00 00 */ stb r0, 0(r4) -lbl_8034EDE4: -/* 8034EDE4 0034BD44 38 84 00 01 */ addi r4, r4, 1 -/* 8034EDE8 0034BD48 38 A5 00 01 */ addi r5, r5, 1 -/* 8034EDEC 0034BD4C 42 00 FF E8 */ bdnz lbl_8034EDD4 -lbl_8034EDF0: -/* 8034EDF0 0034BD50 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 8034EDF4 0034BD54 80 1E 00 04 */ lwz r0, 4(r30) -/* 8034EDF8 0034BD58 7C 83 02 14 */ add r4, r3, r0 -/* 8034EDFC 0034BD5C 7C 03 20 50 */ subf r0, r3, r4 -/* 8034EE00 0034BD60 7C 09 03 A6 */ mtctr r0 -/* 8034EE04 0034BD64 7C 03 20 40 */ cmplw r3, r4 -/* 8034EE08 0034BD68 41 82 00 08 */ beq lbl_8034EE10 -lbl_8034EE0C: -/* 8034EE0C 0034BD6C 42 00 00 00 */ bdnz lbl_8034EE0C -lbl_8034EE10: -/* 8034EE10 0034BD70 4B FC 6B 21 */ bl Free__7CMemoryFPCv -/* 8034EE14 0034BD74 93 BE 00 0C */ stw r29, 0xc(r30) -/* 8034EE18 0034BD78 93 FE 00 08 */ stw r31, 8(r30) -lbl_8034EE1C: -/* 8034EE1C 0034BD7C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8034EE20 0034BD80 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8034EE24 0034BD84 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8034EE28 0034BD88 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 8034EE2C 0034BD8C 7C 08 03 A6 */ mtlr r0 -/* 8034EE30 0034BD90 38 21 00 30 */ addi r1, r1, 0x30 -/* 8034EE34 0034BD94 4E 80 00 20 */ blr - -.global "reserve__Q24rstl36vectorFi" -"reserve__Q24rstl36vectorFi": -/* 8034EE38 0034BD98 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8034EE3C 0034BD9C 7C 08 02 A6 */ mflr r0 -/* 8034EE40 0034BDA0 90 01 00 34 */ stw r0, 0x34(r1) -/* 8034EE44 0034BDA4 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8034EE48 0034BDA8 7C 9F 23 78 */ mr r31, r4 -/* 8034EE4C 0034BDAC 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8034EE50 0034BDB0 7C 7E 1B 78 */ mr r30, r3 -/* 8034EE54 0034BDB4 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8034EE58 0034BDB8 80 03 00 08 */ lwz r0, 8(r3) -/* 8034EE5C 0034BDBC 7C 1F 00 00 */ cmpw r31, r0 -/* 8034EE60 0034BDC0 40 81 00 C4 */ ble lbl_8034EF24 -/* 8034EE64 0034BDC4 7F FD FB 79 */ or. r29, r31, r31 -/* 8034EE68 0034BDC8 40 82 00 0C */ bne lbl_8034EE74 -/* 8034EE6C 0034BDCC 3B A0 00 00 */ li r29, 0 -/* 8034EE70 0034BDD0 48 00 00 3C */ b lbl_8034EEAC -lbl_8034EE74: -/* 8034EE74 0034BDD4 3C 60 80 3E */ lis r3, lbl_803D8220@ha -/* 8034EE78 0034BDD8 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha -/* 8034EE7C 0034BDDC 38 A3 82 20 */ addi r5, r3, lbl_803D8220@l -/* 8034EE80 0034BDE0 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l -/* 8034EE84 0034BDE4 38 61 00 18 */ addi r3, r1, 0x18 -/* 8034EE88 0034BDE8 38 80 FF FF */ li r4, -1 -/* 8034EE8C 0034BDEC 4B F8 75 49 */ bl __ct__10CCallStackFUiPCcPCc -/* 8034EE90 0034BDF0 7C 67 1B 78 */ mr r7, r3 -/* 8034EE94 0034BDF4 7F A3 EB 78 */ mr r3, r29 -/* 8034EE98 0034BDF8 38 80 00 02 */ li r4, 2 -/* 8034EE9C 0034BDFC 38 A0 00 01 */ li r5, 1 -/* 8034EEA0 0034BE00 38 C0 00 00 */ li r6, 0 -/* 8034EEA4 0034BE04 4B FC 6A F1 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack -/* 8034EEA8 0034BE08 7C 7D 1B 78 */ mr r29, r3 -lbl_8034EEAC: -/* 8034EEAC 0034BE0C 80 BE 00 0C */ lwz r5, 0xc(r30) -/* 8034EEB0 0034BE10 7F A4 EB 78 */ mr r4, r29 -/* 8034EEB4 0034BE14 80 1E 00 04 */ lwz r0, 4(r30) -/* 8034EEB8 0034BE18 90 A1 00 10 */ stw r5, 0x10(r1) -/* 8034EEBC 0034BE1C 7C 65 02 14 */ add r3, r5, r0 -/* 8034EEC0 0034BE20 7C 05 18 50 */ subf r0, r5, r3 -/* 8034EEC4 0034BE24 90 61 00 08 */ stw r3, 8(r1) -/* 8034EEC8 0034BE28 90 61 00 0C */ stw r3, 0xc(r1) -/* 8034EECC 0034BE2C 90 A1 00 14 */ stw r5, 0x14(r1) -/* 8034EED0 0034BE30 7C 09 03 A6 */ mtctr r0 -/* 8034EED4 0034BE34 7C 05 18 40 */ cmplw r5, r3 -/* 8034EED8 0034BE38 41 82 00 20 */ beq lbl_8034EEF8 -lbl_8034EEDC: -/* 8034EEDC 0034BE3C 28 04 00 00 */ cmplwi r4, 0 -/* 8034EEE0 0034BE40 41 82 00 0C */ beq lbl_8034EEEC -/* 8034EEE4 0034BE44 88 05 00 00 */ lbz r0, 0(r5) -/* 8034EEE8 0034BE48 98 04 00 00 */ stb r0, 0(r4) -lbl_8034EEEC: -/* 8034EEEC 0034BE4C 38 84 00 01 */ addi r4, r4, 1 -/* 8034EEF0 0034BE50 38 A5 00 01 */ addi r5, r5, 1 -/* 8034EEF4 0034BE54 42 00 FF E8 */ bdnz lbl_8034EEDC -lbl_8034EEF8: -/* 8034EEF8 0034BE58 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 8034EEFC 0034BE5C 80 1E 00 04 */ lwz r0, 4(r30) -/* 8034EF00 0034BE60 7C 83 02 14 */ add r4, r3, r0 -/* 8034EF04 0034BE64 7C 03 20 50 */ subf r0, r3, r4 -/* 8034EF08 0034BE68 7C 09 03 A6 */ mtctr r0 -/* 8034EF0C 0034BE6C 7C 03 20 40 */ cmplw r3, r4 -/* 8034EF10 0034BE70 41 82 00 08 */ beq lbl_8034EF18 -lbl_8034EF14: -/* 8034EF14 0034BE74 42 00 00 00 */ bdnz lbl_8034EF14 -lbl_8034EF18: -/* 8034EF18 0034BE78 4B FC 6A 19 */ bl Free__7CMemoryFPCv -/* 8034EF1C 0034BE7C 93 BE 00 0C */ stw r29, 0xc(r30) -/* 8034EF20 0034BE80 93 FE 00 08 */ stw r31, 8(r30) -lbl_8034EF24: -/* 8034EF24 0034BE84 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8034EF28 0034BE88 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8034EF2C 0034BE8C 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8034EF30 0034BE90 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 8034EF34 0034BE94 7C 08 03 A6 */ mtlr r0 -/* 8034EF38 0034BE98 38 21 00 30 */ addi r1, r1, 0x30 -/* 8034EF3C 0034BE9C 4E 80 00 20 */ blr - -.global __sinit_DolphinCMemoryCardSys_cpp -__sinit_DolphinCMemoryCardSys_cpp: -/* 8034EF40 0034BEA0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034EF44 0034BEA4 7C 08 02 A6 */ mflr r0 -/* 8034EF48 0034BEA8 3C 60 80 5A */ lis r3, lbl_805A67DC@ha -/* 8034EF4C 0034BEAC 3C 80 80 35 */ lis r4, sub_8034d638@ha -/* 8034EF50 0034BEB0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8034EF54 0034BEB4 3C A0 80 4C */ lis r5, lbl_804BFFA0@ha -/* 8034EF58 0034BEB8 38 63 67 DC */ addi r3, r3, lbl_805A67DC@l -/* 8034EF5C 0034BEBC 38 00 00 00 */ li r0, 0 -/* 8034EF60 0034BEC0 90 03 00 04 */ stw r0, 4(r3) -/* 8034EF64 0034BEC4 38 84 D6 38 */ addi r4, r4, sub_8034d638@l -/* 8034EF68 0034BEC8 38 A5 FF A0 */ addi r5, r5, lbl_804BFFA0@l -/* 8034EF6C 0034BECC 90 03 00 08 */ stw r0, 8(r3) -/* 8034EF70 0034BED0 90 03 00 0C */ stw r0, 0xc(r3) -/* 8034EF74 0034BED4 48 03 A7 19 */ bl __register_global_object -/* 8034EF78 0034BED8 3C 60 80 5A */ lis r3, lbl_805A67FC@ha -/* 8034EF7C 0034BEDC 3C 80 80 35 */ lis r4, sub_8034d638@ha -/* 8034EF80 0034BEE0 38 63 67 FC */ addi r3, r3, lbl_805A67FC@l -/* 8034EF84 0034BEE4 38 00 00 00 */ li r0, 0 -/* 8034EF88 0034BEE8 3C A0 80 4C */ lis r5, lbl_804BFFAC@ha -/* 8034EF8C 0034BEEC 90 03 00 04 */ stw r0, 4(r3) -/* 8034EF90 0034BEF0 38 84 D6 38 */ addi r4, r4, sub_8034d638@l -/* 8034EF94 0034BEF4 90 03 00 08 */ stw r0, 8(r3) -/* 8034EF98 0034BEF8 38 A5 FF AC */ addi r5, r5, lbl_804BFFAC@l -/* 8034EF9C 0034BEFC 90 03 00 0C */ stw r0, 0xc(r3) -/* 8034EFA0 0034BF00 48 03 A6 ED */ bl __register_global_object -/* 8034EFA4 0034BF04 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8034EFA8 0034BF08 7C 08 03 A6 */ mtlr r0 -/* 8034EFAC 0034BF0C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8034EFB0 0034BF10 4E 80 00 20 */ blr - -.global Create__11IControllerFRC10COsContext -Create__11IControllerFRC10COsContext: -/* 8034EFB4 0034BF14 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034EFB8 0034BF18 7C 08 02 A6 */ mflr r0 -/* 8034EFBC 0034BF1C 3C 80 80 3E */ lis r4, lbl_803D8228@ha -/* 8034EFC0 0034BF20 38 60 01 D0 */ li r3, 0x1d0 -/* 8034EFC4 0034BF24 90 01 00 14 */ stw r0, 0x14(r1) -/* 8034EFC8 0034BF28 38 84 82 28 */ addi r4, r4, lbl_803D8228@l -/* 8034EFCC 0034BF2C 38 A0 00 00 */ li r5, 0 -/* 8034EFD0 0034BF30 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8034EFD4 0034BF34 4B FC 68 99 */ bl __nw__FUlPCcPCc -/* 8034EFD8 0034BF38 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8034EFDC 0034BF3C 41 82 00 0C */ beq lbl_8034EFE8 -/* 8034EFE0 0034BF40 48 00 07 A9 */ bl __ct__18CDolphinControllerFv -/* 8034EFE4 0034BF44 7C 7F 1B 78 */ mr r31, r3 -lbl_8034EFE8: -/* 8034EFE8 0034BF48 7F E3 FB 78 */ mr r3, r31 -/* 8034EFEC 0034BF4C 48 00 06 95 */ bl Initialize__18CDolphinControllerFv -/* 8034EFF0 0034BF50 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8034EFF4 0034BF54 7F E3 FB 78 */ mr r3, r31 -/* 8034EFF8 0034BF58 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8034EFFC 0034BF5C 7C 08 03 A6 */ mtlr r0 -/* 8034F000 0034BF60 38 21 00 10 */ addi r1, r1, 0x10 -/* 8034F004 0034BF64 4E 80 00 20 */ blr - -.global __dt__11IControllerFv -__dt__11IControllerFv: -/* 8034F008 0034BF68 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034F00C 0034BF6C 7C 08 02 A6 */ mflr r0 -/* 8034F010 0034BF70 90 01 00 14 */ stw r0, 0x14(r1) -/* 8034F014 0034BF74 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8034F018 0034BF78 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8034F01C 0034BF7C 41 82 00 1C */ beq lbl_8034F038 -/* 8034F020 0034BF80 3C A0 80 3F */ lis r5, lbl_803EF680@ha -/* 8034F024 0034BF84 7C 80 07 35 */ extsh. r0, r4 -/* 8034F028 0034BF88 38 05 F6 80 */ addi r0, r5, lbl_803EF680@l -/* 8034F02C 0034BF8C 90 1F 00 00 */ stw r0, 0(r31) -/* 8034F030 0034BF90 40 81 00 08 */ ble lbl_8034F038 -/* 8034F034 0034BF94 4B FC 68 FD */ bl Free__7CMemoryFPCv -lbl_8034F038: -/* 8034F038 0034BF98 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8034F03C 0034BF9C 7F E3 FB 78 */ mr r3, r31 -/* 8034F040 0034BFA0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8034F044 0034BFA4 7C 08 03 A6 */ mtlr r0 -/* 8034F048 0034BFA8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8034F04C 0034BFAC 4E 80 00 20 */ blr - -.global __ct__11IControllerFv -__ct__11IControllerFv: -/* 8034F050 0034BFB0 3C 80 80 3F */ lis r4, lbl_803EF680@ha -/* 8034F054 0034BFB4 38 04 F6 80 */ addi r0, r4, lbl_803EF680@l -/* 8034F058 0034BFB8 90 03 00 00 */ stw r0, 0(r3) -/* 8034F05C 0034BFBC 4E 80 00 20 */ blr - -.global GetAnalogStickMaxValue__18CDolphinControllerCF8EJoyAxis -GetAnalogStickMaxValue__18CDolphinControllerCF8EJoyAxis: -/* 8034F060 0034BFC0 2C 04 00 02 */ cmpwi r4, 2 -/* 8034F064 0034BFC4 40 80 00 10 */ bge lbl_8034F074 -/* 8034F068 0034BFC8 2C 04 00 00 */ cmpwi r4, 0 -/* 8034F06C 0034BFCC 40 80 00 14 */ bge lbl_8034F080 -/* 8034F070 0034BFD0 48 00 00 20 */ b lbl_8034F090 -lbl_8034F074: -/* 8034F074 0034BFD4 2C 04 00 04 */ cmpwi r4, 4 -/* 8034F078 0034BFD8 40 80 00 18 */ bge lbl_8034F090 -/* 8034F07C 0034BFDC 48 00 00 0C */ b lbl_8034F088 -lbl_8034F080: -/* 8034F080 0034BFE0 C0 22 CC 70 */ lfs f1, lbl_805AE990@sda21(r2) -/* 8034F084 0034BFE4 4E 80 00 20 */ blr -lbl_8034F088: -/* 8034F088 0034BFE8 C0 22 CC 74 */ lfs f1, lbl_805AE994@sda21(r2) -/* 8034F08C 0034BFEC 4E 80 00 20 */ blr -lbl_8034F090: -/* 8034F090 0034BFF0 C0 22 CC 78 */ lfs f1, lbl_805AE998@sda21(r2) -/* 8034F094 0034BFF4 4E 80 00 20 */ blr - -.global SetMotorState__18CDolphinControllerF7EIOPort11EMotorState -SetMotorState__18CDolphinControllerF7EIOPort11EMotorState: -/* 8034F098 0034BFF8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034F09C 0034BFFC 7C 08 02 A6 */ mflr r0 -/* 8034F0A0 0034C000 90 01 00 14 */ stw r0, 0x14(r1) -/* 8034F0A4 0034C004 54 80 10 3A */ slwi r0, r4, 2 -/* 8034F0A8 0034C008 7C 83 02 14 */ add r4, r3, r0 -/* 8034F0AC 0034C00C 38 63 01 94 */ addi r3, r3, 0x194 -/* 8034F0B0 0034C010 90 A4 01 94 */ stw r5, 0x194(r4) -/* 8034F0B4 0034C014 48 03 7A 71 */ bl PADControlAllMotors -/* 8034F0B8 0034C018 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8034F0BC 0034C01C 7C 08 03 A6 */ mtlr r0 -/* 8034F0C0 0034C020 38 21 00 10 */ addi r1, r1, 0x10 -/* 8034F0C4 0034C024 4E 80 00 20 */ blr - -.global sub_8034f0c8 -sub_8034f0c8: -/* 8034F0C8 0034C028 54 80 10 3A */ slwi r0, r4, 2 -/* 8034F0CC 0034C02C 7C 63 02 14 */ add r3, r3, r0 -/* 8034F0D0 0034C030 80 63 01 A4 */ lwz r3, 0x1a4(r3) -/* 8034F0D4 0034C034 4E 80 00 20 */ blr - -.global GetGamepadData__18CDolphinControllerFi -GetGamepadData__18CDolphinControllerFi: -/* 8034F0D8 0034C038 1C 84 00 58 */ mulli r4, r4, 0x58 -/* 8034F0DC 0034C03C 7C 60 1B 78 */ mr r0, r3 -/* 8034F0E0 0034C040 38 64 00 34 */ addi r3, r4, 0x34 -/* 8034F0E4 0034C044 7C 60 1A 14 */ add r3, r0, r3 -/* 8034F0E8 0034C048 4E 80 00 20 */ blr - -.global GetDeviceCount__18CDolphinControllerCFv -GetDeviceCount__18CDolphinControllerCFv: -/* 8034F0EC 0034C04C 38 60 00 04 */ li r3, 4 -/* 8034F0F0 0034C050 4E 80 00 20 */ blr - -.global ProcessAnalogButton__18CDolphinControllerFfR15CControllerAxis -ProcessAnalogButton__18CDolphinControllerFfR15CControllerAxis: -/* 8034F0F4 0034C054 C0 02 CC 7C */ lfs f0, lbl_805AE99C@sda21(r2) -/* 8034F0F8 0034C058 C0 42 CC 54 */ lfs f2, lbl_805AE974@sda21(r2) -/* 8034F0FC 0034C05C EC 61 00 32 */ fmuls f3, f1, f0 -/* 8034F100 0034C060 FC 03 10 40 */ fcmpo cr0, f3, f2 -/* 8034F104 0034C064 40 81 00 08 */ ble lbl_8034F10C -/* 8034F108 0034C068 FC 60 10 90 */ fmr f3, f2 -lbl_8034F10C: -/* 8034F10C 0034C06C C0 04 00 04 */ lfs f0, 4(r4) -/* 8034F110 0034C070 C0 22 CC 5C */ lfs f1, lbl_805AE97C@sda21(r2) -/* 8034F114 0034C074 EC 03 00 28 */ fsubs f0, f3, f0 -/* 8034F118 0034C078 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 8034F11C 0034C07C 40 81 00 08 */ ble lbl_8034F124 -/* 8034F120 0034C080 FC 00 08 90 */ fmr f0, f1 -lbl_8034F124: -/* 8034F124 0034C084 D0 04 00 00 */ stfs f0, 0(r4) -/* 8034F128 0034C088 D0 64 00 04 */ stfs f3, 4(r4) -/* 8034F12C 0034C08C 4E 80 00 20 */ blr - -.global ProcessDigitalButton__18CDolphinControllerFiR17CControllerButtonUs -ProcessDigitalButton__18CDolphinControllerFiR17CControllerButtonUs: -/* 8034F130 0034C090 1C E4 00 0C */ mulli r7, r4, 0xc -/* 8034F134 0034C094 54 C4 04 3E */ clrlwi r4, r6, 0x10 -/* 8034F138 0034C098 88 05 00 00 */ lbz r0, 0(r5) -/* 8034F13C 0034C09C 7C 63 3A 14 */ add r3, r3, r7 -/* 8034F140 0034C0A0 A0 63 00 04 */ lhz r3, 4(r3) -/* 8034F144 0034C0A4 7C 64 20 38 */ and r4, r3, r4 -/* 8034F148 0034C0A8 7C 64 00 D0 */ neg r3, r4 -/* 8034F14C 0034C0AC 7C 63 23 78 */ or r3, r3, r4 -/* 8034F150 0034C0B0 54 63 0F FE */ srwi r3, r3, 0x1f -/* 8034F154 0034C0B4 7C 60 02 78 */ xor r0, r3, r0 -/* 8034F158 0034C0B8 7C 60 00 38 */ and r0, r3, r0 -/* 8034F15C 0034C0BC 7C 00 00 34 */ cntlzw r0, r0 -/* 8034F160 0034C0C0 54 00 DE 3E */ rlwinm r0, r0, 0x1b, 0x18, 0x1f -/* 8034F164 0034C0C4 7C 00 00 34 */ cntlzw r0, r0 -/* 8034F168 0034C0C8 54 00 DE 3E */ rlwinm r0, r0, 0x1b, 0x18, 0x1f -/* 8034F16C 0034C0CC 98 05 00 01 */ stb r0, 1(r5) -/* 8034F170 0034C0D0 88 85 00 00 */ lbz r4, 0(r5) -/* 8034F174 0034C0D4 7C 60 22 78 */ xor r0, r3, r4 -/* 8034F178 0034C0D8 7C 80 00 38 */ and r0, r4, r0 -/* 8034F17C 0034C0DC 7C 00 00 34 */ cntlzw r0, r0 -/* 8034F180 0034C0E0 54 00 DE 3E */ rlwinm r0, r0, 0x1b, 0x18, 0x1f -/* 8034F184 0034C0E4 7C 00 00 34 */ cntlzw r0, r0 -/* 8034F188 0034C0E8 54 00 DE 3E */ rlwinm r0, r0, 0x1b, 0x18, 0x1f -/* 8034F18C 0034C0EC 98 05 00 02 */ stb r0, 2(r5) -/* 8034F190 0034C0F0 98 65 00 00 */ stb r3, 0(r5) -/* 8034F194 0034C0F4 4E 80 00 20 */ blr - -.global ProcessButtons__18CDolphinControllerFi -ProcessButtons__18CDolphinControllerFi: -/* 8034F198 0034C0F8 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8034F19C 0034C0FC 7C 08 02 A6 */ mflr r0 -/* 8034F1A0 0034C100 3C A0 80 3F */ lis r5, lbl_803EF6A0@ha -/* 8034F1A4 0034C104 90 01 00 34 */ stw r0, 0x34(r1) -/* 8034F1A8 0034C108 BF 41 00 18 */ stmw r26, 0x18(r1) -/* 8034F1AC 0034C10C 7C 9B 23 78 */ mr r27, r4 -/* 8034F1B0 0034C110 1C 9B 00 58 */ mulli r4, r27, 0x58 -/* 8034F1B4 0034C114 7C 7A 1B 78 */ mr r26, r3 -/* 8034F1B8 0034C118 3B C5 F6 A0 */ addi r30, r5, lbl_803EF6A0@l -/* 8034F1BC 0034C11C 3B 80 00 00 */ li r28, 0 -/* 8034F1C0 0034C120 3B A4 00 34 */ addi r29, r4, 0x34 -/* 8034F1C4 0034C124 3B E0 00 00 */ li r31, 0 -/* 8034F1C8 0034C128 7F BA EA 14 */ add r29, r26, r29 -lbl_8034F1CC: -/* 8034F1CC 0034C12C 38 BF 00 34 */ addi r5, r31, 0x34 -/* 8034F1D0 0034C130 A0 DE 00 00 */ lhz r6, 0(r30) -/* 8034F1D4 0034C134 7F 43 D3 78 */ mr r3, r26 -/* 8034F1D8 0034C138 7F 64 DB 78 */ mr r4, r27 -/* 8034F1DC 0034C13C 7C BD 2A 14 */ add r5, r29, r5 -/* 8034F1E0 0034C140 4B FF FF 51 */ bl ProcessDigitalButton__18CDolphinControllerFiR17CControllerButtonUs -/* 8034F1E4 0034C144 3B 9C 00 01 */ addi r28, r28, 1 -/* 8034F1E8 0034C148 3B FF 00 03 */ addi r31, r31, 3 -/* 8034F1EC 0034C14C 2C 1C 00 0C */ cmpwi r28, 0xc -/* 8034F1F0 0034C150 3B DE 00 02 */ addi r30, r30, 2 -/* 8034F1F4 0034C154 41 80 FF D8 */ blt lbl_8034F1CC -/* 8034F1F8 0034C158 1F DB 00 0C */ mulli r30, r27, 0xc -/* 8034F1FC 0034C15C 3C 00 43 30 */ lis r0, 0x4330 -/* 8034F200 0034C160 90 01 00 08 */ stw r0, 8(r1) -/* 8034F204 0034C164 7F 43 D3 78 */ mr r3, r26 -/* 8034F208 0034C168 C8 22 CC 80 */ lfd f1, lbl_805AE9A0@sda21(r2) -/* 8034F20C 0034C16C 38 9D 00 24 */ addi r4, r29, 0x24 -/* 8034F210 0034C170 7C BA F2 14 */ add r5, r26, r30 -/* 8034F214 0034C174 88 05 00 0A */ lbz r0, 0xa(r5) -/* 8034F218 0034C178 90 01 00 0C */ stw r0, 0xc(r1) -/* 8034F21C 0034C17C C8 01 00 08 */ lfd f0, 8(r1) -/* 8034F220 0034C180 EC 20 08 28 */ fsubs f1, f0, f1 -/* 8034F224 0034C184 4B FF FE D1 */ bl ProcessAnalogButton__18CDolphinControllerFfR15CControllerAxis -/* 8034F228 0034C188 7C 7A F2 14 */ add r3, r26, r30 -/* 8034F22C 0034C18C 3C 00 43 30 */ lis r0, 0x4330 -/* 8034F230 0034C190 88 A3 00 0B */ lbz r5, 0xb(r3) -/* 8034F234 0034C194 7F 43 D3 78 */ mr r3, r26 -/* 8034F238 0034C198 90 01 00 10 */ stw r0, 0x10(r1) -/* 8034F23C 0034C19C 38 9D 00 2C */ addi r4, r29, 0x2c -/* 8034F240 0034C1A0 C8 22 CC 80 */ lfd f1, lbl_805AE9A0@sda21(r2) -/* 8034F244 0034C1A4 90 A1 00 14 */ stw r5, 0x14(r1) -/* 8034F248 0034C1A8 C8 01 00 10 */ lfd f0, 0x10(r1) -/* 8034F24C 0034C1AC EC 20 08 28 */ fsubs f1, f0, f1 -/* 8034F250 0034C1B0 4B FF FE A5 */ bl ProcessAnalogButton__18CDolphinControllerFfR15CControllerAxis -/* 8034F254 0034C1B4 BB 41 00 18 */ lmw r26, 0x18(r1) -/* 8034F258 0034C1B8 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8034F25C 0034C1BC 7C 08 03 A6 */ mtlr r0 -/* 8034F260 0034C1C0 38 21 00 30 */ addi r1, r1, 0x30 -/* 8034F264 0034C1C4 4E 80 00 20 */ blr - -.global ProcessAxis__18CDolphinControllerFi8EJoyAxis -ProcessAxis__18CDolphinControllerFi8EJoyAxis: -/* 8034F268 0034C1C8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8034F26C 0034C1CC 7C 08 02 A6 */ mflr r0 -/* 8034F270 0034C1D0 90 01 00 24 */ stw r0, 0x24(r1) -/* 8034F274 0034C1D4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8034F278 0034C1D8 7C BF 2B 78 */ mr r31, r5 -/* 8034F27C 0034C1DC 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8034F280 0034C1E0 7C 9E 23 78 */ mr r30, r4 -/* 8034F284 0034C1E4 7F E4 FB 78 */ mr r4, r31 -/* 8034F288 0034C1E8 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8034F28C 0034C1EC 7C 7D 1B 78 */ mr r29, r3 -/* 8034F290 0034C1F0 4B FF FD D1 */ bl GetAnalogStickMaxValue__18CDolphinControllerCF8EJoyAxis -/* 8034F294 0034C1F4 C0 02 CC 88 */ lfs f0, lbl_805AE9A8@sda21(r2) -/* 8034F298 0034C1F8 1C 7E 00 58 */ mulli r3, r30, 0x58 -/* 8034F29C 0034C1FC 57 E0 18 38 */ slwi r0, r31, 3 -/* 8034F2A0 0034C200 C0 62 CC 78 */ lfs f3, lbl_805AE998@sda21(r2) -/* 8034F2A4 0034C204 EC 40 08 24 */ fdivs f2, f0, f1 -/* 8034F2A8 0034C208 2C 1F 00 02 */ cmpwi r31, 2 -/* 8034F2AC 0034C20C 38 63 00 34 */ addi r3, r3, 0x34 -/* 8034F2B0 0034C210 7C 63 02 14 */ add r3, r3, r0 -/* 8034F2B4 0034C214 38 83 00 04 */ addi r4, r3, 4 -/* 8034F2B8 0034C218 7C 9D 22 14 */ add r4, r29, r4 -/* 8034F2BC 0034C21C 41 82 00 84 */ beq lbl_8034F340 -/* 8034F2C0 0034C220 40 80 00 14 */ bge lbl_8034F2D4 -/* 8034F2C4 0034C224 2C 1F 00 00 */ cmpwi r31, 0 -/* 8034F2C8 0034C228 41 82 00 18 */ beq lbl_8034F2E0 -/* 8034F2CC 0034C22C 40 80 00 44 */ bge lbl_8034F310 -/* 8034F2D0 0034C230 48 00 00 CC */ b lbl_8034F39C -lbl_8034F2D4: -/* 8034F2D4 0034C234 2C 1F 00 04 */ cmpwi r31, 4 -/* 8034F2D8 0034C238 40 80 00 C4 */ bge lbl_8034F39C -/* 8034F2DC 0034C23C 48 00 00 94 */ b lbl_8034F370 -lbl_8034F2E0: -/* 8034F2E0 0034C240 1C 7E 00 0C */ mulli r3, r30, 0xc -/* 8034F2E4 0034C244 3C 00 43 30 */ lis r0, 0x4330 -/* 8034F2E8 0034C248 90 01 00 08 */ stw r0, 8(r1) -/* 8034F2EC 0034C24C C8 22 CC 90 */ lfd f1, lbl_805AE9B0@sda21(r2) -/* 8034F2F0 0034C250 7C 7D 1A 14 */ add r3, r29, r3 -/* 8034F2F4 0034C254 88 03 00 06 */ lbz r0, 6(r3) -/* 8034F2F8 0034C258 7C 00 07 74 */ extsb r0, r0 -/* 8034F2FC 0034C25C 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 8034F300 0034C260 90 01 00 0C */ stw r0, 0xc(r1) -/* 8034F304 0034C264 C8 01 00 08 */ lfd f0, 8(r1) -/* 8034F308 0034C268 EC 60 08 28 */ fsubs f3, f0, f1 -/* 8034F30C 0034C26C 48 00 00 90 */ b lbl_8034F39C -lbl_8034F310: -/* 8034F310 0034C270 1C 7E 00 0C */ mulli r3, r30, 0xc -/* 8034F314 0034C274 3C 00 43 30 */ lis r0, 0x4330 -/* 8034F318 0034C278 90 01 00 08 */ stw r0, 8(r1) -/* 8034F31C 0034C27C C8 22 CC 90 */ lfd f1, lbl_805AE9B0@sda21(r2) -/* 8034F320 0034C280 7C 7D 1A 14 */ add r3, r29, r3 -/* 8034F324 0034C284 88 03 00 07 */ lbz r0, 7(r3) -/* 8034F328 0034C288 7C 00 07 74 */ extsb r0, r0 -/* 8034F32C 0034C28C 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 8034F330 0034C290 90 01 00 0C */ stw r0, 0xc(r1) -/* 8034F334 0034C294 C8 01 00 08 */ lfd f0, 8(r1) -/* 8034F338 0034C298 EC 60 08 28 */ fsubs f3, f0, f1 -/* 8034F33C 0034C29C 48 00 00 60 */ b lbl_8034F39C -lbl_8034F340: -/* 8034F340 0034C2A0 1C 7E 00 0C */ mulli r3, r30, 0xc -/* 8034F344 0034C2A4 3C 00 43 30 */ lis r0, 0x4330 -/* 8034F348 0034C2A8 90 01 00 08 */ stw r0, 8(r1) -/* 8034F34C 0034C2AC C8 22 CC 90 */ lfd f1, lbl_805AE9B0@sda21(r2) -/* 8034F350 0034C2B0 7C 7D 1A 14 */ add r3, r29, r3 -/* 8034F354 0034C2B4 88 03 00 08 */ lbz r0, 8(r3) -/* 8034F358 0034C2B8 7C 00 07 74 */ extsb r0, r0 -/* 8034F35C 0034C2BC 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 8034F360 0034C2C0 90 01 00 0C */ stw r0, 0xc(r1) -/* 8034F364 0034C2C4 C8 01 00 08 */ lfd f0, 8(r1) -/* 8034F368 0034C2C8 EC 60 08 28 */ fsubs f3, f0, f1 -/* 8034F36C 0034C2CC 48 00 00 30 */ b lbl_8034F39C -lbl_8034F370: -/* 8034F370 0034C2D0 1C 7E 00 0C */ mulli r3, r30, 0xc -/* 8034F374 0034C2D4 3C 00 43 30 */ lis r0, 0x4330 -/* 8034F378 0034C2D8 90 01 00 08 */ stw r0, 8(r1) -/* 8034F37C 0034C2DC C8 22 CC 90 */ lfd f1, lbl_805AE9B0@sda21(r2) -/* 8034F380 0034C2E0 7C 7D 1A 14 */ add r3, r29, r3 -/* 8034F384 0034C2E4 88 03 00 09 */ lbz r0, 9(r3) -/* 8034F388 0034C2E8 7C 00 07 74 */ extsb r0, r0 -/* 8034F38C 0034C2EC 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 8034F390 0034C2F0 90 01 00 0C */ stw r0, 0xc(r1) -/* 8034F394 0034C2F4 C8 01 00 08 */ lfd f0, 8(r1) -/* 8034F398 0034C2F8 EC 60 08 28 */ fsubs f3, f0, f1 -lbl_8034F39C: -/* 8034F39C 0034C2FC EC 43 00 B2 */ fmuls f2, f3, f2 -/* 8034F3A0 0034C300 C0 02 CC 50 */ lfs f0, lbl_805AE970@sda21(r2) -/* 8034F3A4 0034C304 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8034F3A8 0034C308 40 80 00 0C */ bge lbl_8034F3B4 -/* 8034F3AC 0034C30C FC 40 00 90 */ fmr f2, f0 -/* 8034F3B0 0034C310 48 00 00 14 */ b lbl_8034F3C4 -lbl_8034F3B4: -/* 8034F3B4 0034C314 C0 02 CC 54 */ lfs f0, lbl_805AE974@sda21(r2) -/* 8034F3B8 0034C318 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8034F3BC 0034C31C 40 81 00 08 */ ble lbl_8034F3C4 -/* 8034F3C0 0034C320 FC 40 00 90 */ fmr f2, f0 -lbl_8034F3C4: -/* 8034F3C4 0034C324 C0 04 00 04 */ lfs f0, 4(r4) -/* 8034F3C8 0034C328 C0 22 CC 58 */ lfs f1, lbl_805AE978@sda21(r2) -/* 8034F3CC 0034C32C EC 62 00 28 */ fsubs f3, f2, f0 -/* 8034F3D0 0034C330 FC 03 08 40 */ fcmpo cr0, f3, f1 -/* 8034F3D4 0034C334 40 80 00 0C */ bge lbl_8034F3E0 -/* 8034F3D8 0034C338 FC 60 08 90 */ fmr f3, f1 -/* 8034F3DC 0034C33C 48 00 00 14 */ b lbl_8034F3F0 -lbl_8034F3E0: -/* 8034F3E0 0034C340 C0 02 CC 5C */ lfs f0, lbl_805AE97C@sda21(r2) -/* 8034F3E4 0034C344 FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 8034F3E8 0034C348 40 81 00 08 */ ble lbl_8034F3F0 -/* 8034F3EC 0034C34C FC 60 00 90 */ fmr f3, f0 -lbl_8034F3F0: -/* 8034F3F0 0034C350 D0 64 00 00 */ stfs f3, 0(r4) -/* 8034F3F4 0034C354 D0 44 00 04 */ stfs f2, 4(r4) -/* 8034F3F8 0034C358 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8034F3FC 0034C35C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8034F400 0034C360 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8034F404 0034C364 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8034F408 0034C368 7C 08 03 A6 */ mtlr r0 -/* 8034F40C 0034C36C 38 21 00 20 */ addi r1, r1, 0x20 -/* 8034F410 0034C370 4E 80 00 20 */ blr - -.global ProcessInputData__18CDolphinControllerFv -ProcessInputData__18CDolphinControllerFv: -/* 8034F414 0034C374 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8034F418 0034C378 7C 08 02 A6 */ mflr r0 -/* 8034F41C 0034C37C 90 01 00 24 */ stw r0, 0x24(r1) -/* 8034F420 0034C380 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8034F424 0034C384 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8034F428 0034C388 3B C0 00 00 */ li r30, 0 -/* 8034F42C 0034C38C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8034F430 0034C390 7C 7D 1B 78 */ mr r29, r3 -/* 8034F434 0034C394 7F BF EB 78 */ mr r31, r29 -lbl_8034F438: -/* 8034F438 0034C398 88 1F 00 34 */ lbz r0, 0x34(r31) -/* 8034F43C 0034C39C 28 00 00 00 */ cmplwi r0, 0 -/* 8034F440 0034C3A0 41 82 00 50 */ beq lbl_8034F490 -/* 8034F444 0034C3A4 7F A3 EB 78 */ mr r3, r29 -/* 8034F448 0034C3A8 7F C4 F3 78 */ mr r4, r30 -/* 8034F44C 0034C3AC 38 A0 00 00 */ li r5, 0 -/* 8034F450 0034C3B0 4B FF FE 19 */ bl ProcessAxis__18CDolphinControllerFi8EJoyAxis -/* 8034F454 0034C3B4 7F A3 EB 78 */ mr r3, r29 -/* 8034F458 0034C3B8 7F C4 F3 78 */ mr r4, r30 -/* 8034F45C 0034C3BC 38 A0 00 01 */ li r5, 1 -/* 8034F460 0034C3C0 4B FF FE 09 */ bl ProcessAxis__18CDolphinControllerFi8EJoyAxis -/* 8034F464 0034C3C4 7F A3 EB 78 */ mr r3, r29 -/* 8034F468 0034C3C8 7F C4 F3 78 */ mr r4, r30 -/* 8034F46C 0034C3CC 38 A0 00 02 */ li r5, 2 -/* 8034F470 0034C3D0 4B FF FD F9 */ bl ProcessAxis__18CDolphinControllerFi8EJoyAxis -/* 8034F474 0034C3D4 7F A3 EB 78 */ mr r3, r29 -/* 8034F478 0034C3D8 7F C4 F3 78 */ mr r4, r30 -/* 8034F47C 0034C3DC 38 A0 00 03 */ li r5, 3 -/* 8034F480 0034C3E0 4B FF FD E9 */ bl ProcessAxis__18CDolphinControllerFi8EJoyAxis -/* 8034F484 0034C3E4 7F A3 EB 78 */ mr r3, r29 -/* 8034F488 0034C3E8 7F C4 F3 78 */ mr r4, r30 -/* 8034F48C 0034C3EC 4B FF FD 0D */ bl ProcessButtons__18CDolphinControllerFi -lbl_8034F490: -/* 8034F490 0034C3F0 3B DE 00 01 */ addi r30, r30, 1 -/* 8034F494 0034C3F4 3B FF 00 58 */ addi r31, r31, 0x58 -/* 8034F498 0034C3F8 2C 1E 00 04 */ cmpwi r30, 4 -/* 8034F49C 0034C3FC 41 80 FF 9C */ blt lbl_8034F438 -/* 8034F4A0 0034C400 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8034F4A4 0034C404 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8034F4A8 0034C408 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8034F4AC 0034C40C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8034F4B0 0034C410 7C 08 03 A6 */ mtlr r0 -/* 8034F4B4 0034C414 38 21 00 20 */ addi r1, r1, 0x20 -/* 8034F4B8 0034C418 4E 80 00 20 */ blr - -.global ReadDevices__18CDolphinControllerFv -ReadDevices__18CDolphinControllerFv: -/* 8034F4BC 0034C41C 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 8034F4C0 0034C420 7C 08 02 A6 */ mflr r0 -/* 8034F4C4 0034C424 90 01 00 54 */ stw r0, 0x54(r1) -/* 8034F4C8 0034C428 BF 41 00 38 */ stmw r26, 0x38(r1) -/* 8034F4CC 0034C42C 7C 7A 1B 78 */ mr r26, r3 -/* 8034F4D0 0034C430 38 61 00 08 */ addi r3, r1, 8 -/* 8034F4D4 0034C434 48 03 72 A5 */ bl PADRead -/* 8034F4D8 0034C438 88 61 00 12 */ lbz r3, 0x12(r1) -/* 8034F4DC 0034C43C 7C 60 07 75 */ extsb. r0, r3 -/* 8034F4E0 0034C440 40 82 00 20 */ bne lbl_8034F500 -/* 8034F4E4 0034C444 38 61 00 08 */ addi r3, r1, 8 -/* 8034F4E8 0034C448 48 03 65 01 */ bl PADClamp -/* 8034F4EC 0034C44C 38 7A 00 04 */ addi r3, r26, 4 -/* 8034F4F0 0034C450 38 81 00 08 */ addi r4, r1, 8 -/* 8034F4F4 0034C454 38 A0 00 30 */ li r5, 0x30 -/* 8034F4F8 0034C458 4B CB 3F 99 */ bl memcpy -/* 8034F4FC 0034C45C 48 00 00 20 */ b lbl_8034F51C -lbl_8034F500: -/* 8034F500 0034C460 98 7A 00 0E */ stb r3, 0xe(r26) -/* 8034F504 0034C464 88 01 00 1E */ lbz r0, 0x1e(r1) -/* 8034F508 0034C468 98 1A 00 1A */ stb r0, 0x1a(r26) -/* 8034F50C 0034C46C 88 01 00 2A */ lbz r0, 0x2a(r1) -/* 8034F510 0034C470 98 1A 00 26 */ stb r0, 0x26(r26) -/* 8034F514 0034C474 88 01 00 36 */ lbz r0, 0x36(r1) -/* 8034F518 0034C478 98 1A 00 32 */ stb r0, 0x32(r26) -lbl_8034F51C: -/* 8034F51C 0034C47C 7F 5E D3 78 */ mr r30, r26 -/* 8034F520 0034C480 7F 5D D3 78 */ mr r29, r26 -/* 8034F524 0034C484 7F 5C D3 78 */ mr r28, r26 -/* 8034F528 0034C488 3B 60 00 00 */ li r27, 0 -/* 8034F52C 0034C48C 3F E0 80 00 */ lis r31, 0x8000 -lbl_8034F530: -/* 8034F530 0034C490 88 1E 00 0E */ lbz r0, 0xe(r30) -/* 8034F534 0034C494 7F E4 DC 30 */ srw r4, r31, r27 -/* 8034F538 0034C498 7C 03 07 74 */ extsb r3, r0 -/* 8034F53C 0034C49C 2C 03 FF FE */ cmpwi r3, -2 -/* 8034F540 0034C4A0 41 82 00 34 */ beq lbl_8034F574 -/* 8034F544 0034C4A4 7C 00 07 75 */ extsb. r0, r0 -/* 8034F548 0034C4A8 40 82 00 10 */ bne lbl_8034F558 -/* 8034F54C 0034C4AC 38 00 00 01 */ li r0, 1 -/* 8034F550 0034C4B0 98 1D 00 34 */ stb r0, 0x34(r29) -/* 8034F554 0034C4B4 48 00 00 20 */ b lbl_8034F574 -lbl_8034F558: -/* 8034F558 0034C4B8 2C 03 FF FF */ cmpwi r3, -1 -/* 8034F55C 0034C4BC 40 82 00 18 */ bne lbl_8034F574 -/* 8034F560 0034C4C0 80 7A 01 C8 */ lwz r3, 0x1c8(r26) -/* 8034F564 0034C4C4 38 00 00 00 */ li r0, 0 -/* 8034F568 0034C4C8 7C 63 23 78 */ or r3, r3, r4 -/* 8034F56C 0034C4CC 90 7A 01 C8 */ stw r3, 0x1c8(r26) -/* 8034F570 0034C4D0 98 1D 00 34 */ stb r0, 0x34(r29) -lbl_8034F574: -/* 8034F574 0034C4D4 80 7C 01 B4 */ lwz r3, 0x1b4(r28) -/* 8034F578 0034C4D8 28 03 00 00 */ cmplwi r3, 0 -/* 8034F57C 0034C4DC 41 82 00 10 */ beq lbl_8034F58C -/* 8034F580 0034C4E0 38 03 FF FF */ addi r0, r3, -1 -/* 8034F584 0034C4E4 90 1C 01 B4 */ stw r0, 0x1b4(r28) -/* 8034F588 0034C4E8 48 00 00 78 */ b lbl_8034F600 -lbl_8034F58C: -/* 8034F58C 0034C4EC 7F 63 DB 78 */ mr r3, r27 -/* 8034F590 0034C4F0 48 07 09 59 */ bl SIProbe -/* 8034F594 0034C4F4 70 60 00 C8 */ andi. r0, r3, 0xc8 -/* 8034F598 0034C4F8 41 82 00 1C */ beq lbl_8034F5B4 -/* 8034F59C 0034C4FC 80 1C 01 B4 */ lwz r0, 0x1b4(r28) -/* 8034F5A0 0034C500 28 00 00 00 */ cmplwi r0, 0 -/* 8034F5A4 0034C504 40 82 00 5C */ bne lbl_8034F600 -/* 8034F5A8 0034C508 80 02 CC 60 */ lwz r0, lbl_805AE980@sda21(r2) -/* 8034F5AC 0034C50C 90 1C 01 A4 */ stw r0, 0x1a4(r28) -/* 8034F5B0 0034C510 48 00 00 50 */ b lbl_8034F600 -lbl_8034F5B4: -/* 8034F5B4 0034C514 3C 03 74 F0 */ addis r0, r3, 0x74f0 -/* 8034F5B8 0034C518 38 80 00 3C */ li r4, 0x3c -/* 8034F5BC 0034C51C 28 00 00 00 */ cmplwi r0, 0 -/* 8034F5C0 0034C520 90 9C 01 B4 */ stw r4, 0x1b4(r28) -/* 8034F5C4 0034C524 40 82 00 10 */ bne lbl_8034F5D4 -/* 8034F5C8 0034C528 80 02 CC 6C */ lwz r0, lbl_805AE98C@sda21(r2) -/* 8034F5CC 0034C52C 90 1C 01 A4 */ stw r0, 0x1a4(r28) -/* 8034F5D0 0034C530 48 00 00 30 */ b lbl_8034F600 -lbl_8034F5D4: -/* 8034F5D4 0034C534 3C 03 FF FC */ addis r0, r3, 0xfffc -/* 8034F5D8 0034C538 28 00 00 00 */ cmplwi r0, 0 -/* 8034F5DC 0034C53C 40 82 00 10 */ bne lbl_8034F5EC -/* 8034F5E0 0034C540 80 02 CC 68 */ lwz r0, lbl_805AE988@sda21(r2) -/* 8034F5E4 0034C544 90 1C 01 A4 */ stw r0, 0x1a4(r28) -/* 8034F5E8 0034C548 48 00 00 18 */ b lbl_8034F600 -lbl_8034F5EC: -/* 8034F5EC 0034C54C 3C 03 F7 00 */ addis r0, r3, 0xf700 -/* 8034F5F0 0034C550 28 00 00 00 */ cmplwi r0, 0 -/* 8034F5F4 0034C554 40 82 00 0C */ bne lbl_8034F600 -/* 8034F5F8 0034C558 80 02 CC 64 */ lwz r0, lbl_805AE984@sda21(r2) -/* 8034F5FC 0034C55C 90 1C 01 A4 */ stw r0, 0x1a4(r28) -lbl_8034F600: -/* 8034F600 0034C560 3B 7B 00 01 */ addi r27, r27, 1 -/* 8034F604 0034C564 3B BD 00 58 */ addi r29, r29, 0x58 -/* 8034F608 0034C568 2C 1B 00 04 */ cmpwi r27, 4 -/* 8034F60C 0034C56C 3B 9C 00 04 */ addi r28, r28, 4 -/* 8034F610 0034C570 3B DE 00 0C */ addi r30, r30, 0xc -/* 8034F614 0034C574 41 80 FF 1C */ blt lbl_8034F530 -/* 8034F618 0034C578 80 7A 01 C8 */ lwz r3, 0x1c8(r26) -/* 8034F61C 0034C57C 28 03 00 00 */ cmplwi r3, 0 -/* 8034F620 0034C580 41 82 00 18 */ beq lbl_8034F638 -/* 8034F624 0034C584 48 03 6D 39 */ bl PADReset -/* 8034F628 0034C588 2C 03 00 00 */ cmpwi r3, 0 -/* 8034F62C 0034C58C 41 82 00 0C */ beq lbl_8034F638 -/* 8034F630 0034C590 38 00 00 00 */ li r0, 0 -/* 8034F634 0034C594 90 1A 01 C8 */ stw r0, 0x1c8(r26) -lbl_8034F638: -/* 8034F638 0034C598 BB 41 00 38 */ lmw r26, 0x38(r1) -/* 8034F63C 0034C59C 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8034F640 0034C5A0 7C 08 03 A6 */ mtlr r0 -/* 8034F644 0034C5A4 38 21 00 50 */ addi r1, r1, 0x50 -/* 8034F648 0034C5A8 4E 80 00 20 */ blr - -.global Poll__18CDolphinControllerFv -Poll__18CDolphinControllerFv: -/* 8034F64C 0034C5AC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034F650 0034C5B0 7C 08 02 A6 */ mflr r0 -/* 8034F654 0034C5B4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8034F658 0034C5B8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8034F65C 0034C5BC 7C 7F 1B 78 */ mr r31, r3 -/* 8034F660 0034C5C0 4B FF FE 5D */ bl ReadDevices__18CDolphinControllerFv -/* 8034F664 0034C5C4 7F E3 FB 78 */ mr r3, r31 -/* 8034F668 0034C5C8 4B FF FD AD */ bl ProcessInputData__18CDolphinControllerFv -/* 8034F66C 0034C5CC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8034F670 0034C5D0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8034F674 0034C5D4 7C 08 03 A6 */ mtlr r0 -/* 8034F678 0034C5D8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8034F67C 0034C5DC 4E 80 00 20 */ blr - -.global Initialize__18CDolphinControllerFv -Initialize__18CDolphinControllerFv: -/* 8034F680 0034C5E0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034F684 0034C5E4 7C 08 02 A6 */ mflr r0 -/* 8034F688 0034C5E8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8034F68C 0034C5EC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8034F690 0034C5F0 7C 7F 1B 78 */ mr r31, r3 -/* 8034F694 0034C5F4 48 07 9F B9 */ bl GBAInit -/* 8034F698 0034C5F8 38 7F 00 04 */ addi r3, r31, 4 -/* 8034F69C 0034C5FC 38 80 00 00 */ li r4, 0 -/* 8034F6A0 0034C600 38 A0 00 30 */ li r5, 0x30 -/* 8034F6A4 0034C604 4B CB 3D 05 */ bl memset -/* 8034F6A8 0034C608 38 A0 00 00 */ li r5, 0 -/* 8034F6AC 0034C60C 38 80 00 02 */ li r4, 2 -/* 8034F6B0 0034C610 98 BF 00 34 */ stb r5, 0x34(r31) -/* 8034F6B4 0034C614 38 7F 01 94 */ addi r3, r31, 0x194 -/* 8034F6B8 0034C618 80 02 CC 60 */ lwz r0, lbl_805AE980@sda21(r2) -/* 8034F6BC 0034C61C 90 9F 01 94 */ stw r4, 0x194(r31) -/* 8034F6C0 0034C620 90 BF 01 B4 */ stw r5, 0x1b4(r31) -/* 8034F6C4 0034C624 90 1F 01 A4 */ stw r0, 0x1a4(r31) -/* 8034F6C8 0034C628 98 BF 00 8C */ stb r5, 0x8c(r31) -/* 8034F6CC 0034C62C 90 9F 01 98 */ stw r4, 0x198(r31) -/* 8034F6D0 0034C630 90 BF 01 B8 */ stw r5, 0x1b8(r31) -/* 8034F6D4 0034C634 90 1F 01 A8 */ stw r0, 0x1a8(r31) -/* 8034F6D8 0034C638 98 BF 00 E4 */ stb r5, 0xe4(r31) -/* 8034F6DC 0034C63C 90 9F 01 9C */ stw r4, 0x19c(r31) -/* 8034F6E0 0034C640 90 BF 01 BC */ stw r5, 0x1bc(r31) -/* 8034F6E4 0034C644 90 1F 01 AC */ stw r0, 0x1ac(r31) -/* 8034F6E8 0034C648 98 BF 01 3C */ stb r5, 0x13c(r31) -/* 8034F6EC 0034C64C 90 9F 01 A0 */ stw r4, 0x1a0(r31) -/* 8034F6F0 0034C650 90 BF 01 C0 */ stw r5, 0x1c0(r31) -/* 8034F6F4 0034C654 90 1F 01 B0 */ stw r0, 0x1b0(r31) -/* 8034F6F8 0034C658 48 03 74 2D */ bl PADControlAllMotors -/* 8034F6FC 0034C65C 7F E3 FB 78 */ mr r3, r31 -/* 8034F700 0034C660 81 9F 00 00 */ lwz r12, 0(r31) -/* 8034F704 0034C664 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8034F708 0034C668 7D 89 03 A6 */ mtctr r12 -/* 8034F70C 0034C66C 4E 80 04 21 */ bctrl -/* 8034F710 0034C670 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8034F714 0034C674 38 60 00 01 */ li r3, 1 -/* 8034F718 0034C678 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8034F71C 0034C67C 7C 08 03 A6 */ mtlr r0 -/* 8034F720 0034C680 38 21 00 10 */ addi r1, r1, 0x10 -/* 8034F724 0034C684 4E 80 00 20 */ blr - -.global __dt__18CDolphinControllerFv -__dt__18CDolphinControllerFv: -/* 8034F728 0034C688 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034F72C 0034C68C 7C 08 02 A6 */ mflr r0 -/* 8034F730 0034C690 90 01 00 14 */ stw r0, 0x14(r1) -/* 8034F734 0034C694 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8034F738 0034C698 7C 9F 23 78 */ mr r31, r4 -/* 8034F73C 0034C69C 93 C1 00 08 */ stw r30, 8(r1) -/* 8034F740 0034C6A0 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8034F744 0034C6A4 41 82 00 28 */ beq lbl_8034F76C -/* 8034F748 0034C6A8 3C A0 80 3F */ lis r5, lbl_803EF6B8@ha -/* 8034F74C 0034C6AC 38 80 00 00 */ li r4, 0 -/* 8034F750 0034C6B0 38 05 F6 B8 */ addi r0, r5, lbl_803EF6B8@l -/* 8034F754 0034C6B4 90 1E 00 00 */ stw r0, 0(r30) -/* 8034F758 0034C6B8 4B FF F8 B1 */ bl __dt__11IControllerFv -/* 8034F75C 0034C6BC 7F E0 07 35 */ extsh. r0, r31 -/* 8034F760 0034C6C0 40 81 00 0C */ ble lbl_8034F76C -/* 8034F764 0034C6C4 7F C3 F3 78 */ mr r3, r30 -/* 8034F768 0034C6C8 4B FC 61 C9 */ bl Free__7CMemoryFPCv -lbl_8034F76C: -/* 8034F76C 0034C6CC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8034F770 0034C6D0 7F C3 F3 78 */ mr r3, r30 -/* 8034F774 0034C6D4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8034F778 0034C6D8 83 C1 00 08 */ lwz r30, 8(r1) -/* 8034F77C 0034C6DC 7C 08 03 A6 */ mtlr r0 -/* 8034F780 0034C6E0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8034F784 0034C6E4 4E 80 00 20 */ blr - -.global __ct__18CDolphinControllerFv -__ct__18CDolphinControllerFv: -/* 8034F788 0034C6E8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034F78C 0034C6EC 7C 08 02 A6 */ mflr r0 -/* 8034F790 0034C6F0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8034F794 0034C6F4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8034F798 0034C6F8 7C 7F 1B 78 */ mr r31, r3 -/* 8034F79C 0034C6FC 4B FF F8 B5 */ bl __ct__11IControllerFv -/* 8034F7A0 0034C700 3C 60 80 3F */ lis r3, lbl_803EF6B8@ha -/* 8034F7A4 0034C704 3C 80 80 35 */ lis r4, __ct__22CControllerGamepadDataFv@ha -/* 8034F7A8 0034C708 38 03 F6 B8 */ addi r0, r3, lbl_803EF6B8@l -/* 8034F7AC 0034C70C 38 A0 00 00 */ li r5, 0 -/* 8034F7B0 0034C710 90 1F 00 00 */ stw r0, 0(r31) -/* 8034F7B4 0034C714 38 7F 00 34 */ addi r3, r31, 0x34 -/* 8034F7B8 0034C718 38 84 F8 2C */ addi r4, r4, __ct__22CControllerGamepadDataFv@l -/* 8034F7BC 0034C71C 38 C0 00 58 */ li r6, 0x58 -/* 8034F7C0 0034C720 38 E0 00 04 */ li r7, 4 -/* 8034F7C4 0034C724 48 03 9F 89 */ bl __construct_array -/* 8034F7C8 0034C728 3C 00 F0 00 */ lis r0, 0xf000 -/* 8034F7CC 0034C72C 38 60 00 00 */ li r3, 0 -/* 8034F7D0 0034C730 90 1F 01 C4 */ stw r0, 0x1c4(r31) -/* 8034F7D4 0034C734 90 7F 01 C8 */ stw r3, 0x1c8(r31) -/* 8034F7D8 0034C738 90 7F 01 CC */ stw r3, 0x1cc(r31) -/* 8034F7DC 0034C73C 88 0D AA 09 */ lbz r0, lbl_805A95C9@sda21(r13) -/* 8034F7E0 0034C740 7C 00 07 75 */ extsb. r0, r0 -/* 8034F7E4 0034C744 40 82 00 10 */ bne lbl_8034F7F4 -/* 8034F7E8 0034C748 38 00 00 01 */ li r0, 1 -/* 8034F7EC 0034C74C 98 6D AA 08 */ stb r3, lbl_805A95C8@sda21(r13) -/* 8034F7F0 0034C750 98 0D AA 09 */ stb r0, lbl_805A95C9@sda21(r13) -lbl_8034F7F4: -/* 8034F7F4 0034C754 88 0D AA 08 */ lbz r0, lbl_805A95C8@sda21(r13) -/* 8034F7F8 0034C758 28 00 00 00 */ cmplwi r0, 0 -/* 8034F7FC 0034C75C 40 82 00 18 */ bne lbl_8034F814 -/* 8034F800 0034C760 38 60 00 05 */ li r3, 5 -/* 8034F804 0034C764 48 03 74 7D */ bl PADSetSpec -/* 8034F808 0034C768 48 03 6D 59 */ bl PADInit -/* 8034F80C 0034C76C 38 00 00 01 */ li r0, 1 -/* 8034F810 0034C770 98 0D AA 08 */ stb r0, lbl_805A95C8@sda21(r13) -lbl_8034F814: -/* 8034F814 0034C774 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8034F818 0034C778 7F E3 FB 78 */ mr r3, r31 -/* 8034F81C 0034C77C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8034F820 0034C780 7C 08 03 A6 */ mtlr r0 -/* 8034F824 0034C784 38 21 00 10 */ addi r1, r1, 0x10 -/* 8034F828 0034C788 4E 80 00 20 */ blr - -.global __ct__22CControllerGamepadDataFv -__ct__22CControllerGamepadDataFv: -/* 8034F82C 0034C78C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034F830 0034C790 7C 08 02 A6 */ mflr r0 -/* 8034F834 0034C794 3C 80 80 35 */ lis r4, __ct__15CControllerAxisFv@ha -/* 8034F838 0034C798 38 A0 00 00 */ li r5, 0 -/* 8034F83C 0034C79C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8034F840 0034C7A0 38 84 F8 C0 */ addi r4, r4, __ct__15CControllerAxisFv@l -/* 8034F844 0034C7A4 38 C0 00 08 */ li r6, 8 -/* 8034F848 0034C7A8 38 E0 00 04 */ li r7, 4 -/* 8034F84C 0034C7AC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8034F850 0034C7B0 7C 7F 1B 78 */ mr r31, r3 -/* 8034F854 0034C7B4 38 7F 00 04 */ addi r3, r31, 4 -/* 8034F858 0034C7B8 48 03 9E F5 */ bl __construct_array -/* 8034F85C 0034C7BC 3C 80 80 35 */ lis r4, __ct__15CControllerAxisFv@ha -/* 8034F860 0034C7C0 38 7F 00 24 */ addi r3, r31, 0x24 -/* 8034F864 0034C7C4 38 84 F8 C0 */ addi r4, r4, __ct__15CControllerAxisFv@l -/* 8034F868 0034C7C8 38 A0 00 00 */ li r5, 0 -/* 8034F86C 0034C7CC 38 C0 00 08 */ li r6, 8 -/* 8034F870 0034C7D0 38 E0 00 02 */ li r7, 2 -/* 8034F874 0034C7D4 48 03 9E D9 */ bl __construct_array -/* 8034F878 0034C7D8 3C 80 80 35 */ lis r4, __ct__17CControllerButtonFv@ha -/* 8034F87C 0034C7DC 38 7F 00 34 */ addi r3, r31, 0x34 -/* 8034F880 0034C7E0 38 84 F8 AC */ addi r4, r4, __ct__17CControllerButtonFv@l -/* 8034F884 0034C7E4 38 A0 00 00 */ li r5, 0 -/* 8034F888 0034C7E8 38 C0 00 03 */ li r6, 3 -/* 8034F88C 0034C7EC 38 E0 00 0C */ li r7, 0xc -/* 8034F890 0034C7F0 48 03 9E BD */ bl __construct_array -/* 8034F894 0034C7F4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8034F898 0034C7F8 7F E3 FB 78 */ mr r3, r31 -/* 8034F89C 0034C7FC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8034F8A0 0034C800 7C 08 03 A6 */ mtlr r0 -/* 8034F8A4 0034C804 38 21 00 10 */ addi r1, r1, 0x10 -/* 8034F8A8 0034C808 4E 80 00 20 */ blr - -.global __ct__17CControllerButtonFv -__ct__17CControllerButtonFv: -/* 8034F8AC 0034C80C 38 00 00 00 */ li r0, 0 -/* 8034F8B0 0034C810 98 03 00 00 */ stb r0, 0(r3) -/* 8034F8B4 0034C814 98 03 00 01 */ stb r0, 1(r3) -/* 8034F8B8 0034C818 98 03 00 02 */ stb r0, 2(r3) -/* 8034F8BC 0034C81C 4E 80 00 20 */ blr - -.global __ct__15CControllerAxisFv -__ct__15CControllerAxisFv: -/* 8034F8C0 0034C820 C0 02 CC 78 */ lfs f0, lbl_805AE998@sda21(r2) -/* 8034F8C4 0034C824 D0 03 00 00 */ stfs f0, 0(r3) -/* 8034F8C8 0034C828 D0 03 00 04 */ stfs f0, 4(r3) -/* 8034F8CC 0034C82C 4E 80 00 20 */ blr - -.global UpdateFilePos__8CDvdFileFi -UpdateFilePos__8CDvdFileFi: -/* 8034F8D0 0034C830 38 04 00 1F */ addi r0, r4, 0x1f -/* 8034F8D4 0034C834 80 83 00 10 */ lwz r4, 0x10(r3) -/* 8034F8D8 0034C838 54 00 00 34 */ rlwinm r0, r0, 0, 0, 0x1a -/* 8034F8DC 0034C83C 7C 04 02 14 */ add r0, r4, r0 -/* 8034F8E0 0034C840 90 03 00 10 */ stw r0, 0x10(r3) -/* 8034F8E4 0034C844 80 83 00 14 */ lwz r4, 0x14(r3) -/* 8034F8E8 0034C848 80 03 00 10 */ lwz r0, 0x10(r3) -/* 8034F8EC 0034C84C 7C 00 20 00 */ cmpw r0, r4 -/* 8034F8F0 0034C850 4C 81 00 20 */ blelr -/* 8034F8F4 0034C854 90 83 00 10 */ stw r4, 0x10(r3) -/* 8034F8F8 0034C858 4E 80 00 20 */ blr - -.global CalcFileOffset__8CDvdFileFi11ESeekOrigin -CalcFileOffset__8CDvdFileFi11ESeekOrigin: -/* 8034F8FC 0034C85C 2C 05 00 01 */ cmpwi r5, 1 -/* 8034F900 0034C860 41 82 00 28 */ beq lbl_8034F928 -/* 8034F904 0034C864 40 80 00 10 */ bge lbl_8034F914 -/* 8034F908 0034C868 2C 05 00 00 */ cmpwi r5, 0 -/* 8034F90C 0034C86C 40 80 00 14 */ bge lbl_8034F920 -/* 8034F910 0034C870 4E 80 00 20 */ blr -lbl_8034F914: -/* 8034F914 0034C874 2C 05 00 03 */ cmpwi r5, 3 -/* 8034F918 0034C878 4C 80 00 20 */ bgelr -/* 8034F91C 0034C87C 48 00 00 1C */ b lbl_8034F938 -lbl_8034F920: -/* 8034F920 0034C880 90 83 00 10 */ stw r4, 0x10(r3) -/* 8034F924 0034C884 4E 80 00 20 */ blr -lbl_8034F928: -/* 8034F928 0034C888 80 03 00 10 */ lwz r0, 0x10(r3) -/* 8034F92C 0034C88C 7C 00 22 14 */ add r0, r0, r4 -/* 8034F930 0034C890 90 03 00 10 */ stw r0, 0x10(r3) -/* 8034F934 0034C894 4E 80 00 20 */ blr -lbl_8034F938: -/* 8034F938 0034C898 80 03 00 14 */ lwz r0, 0x14(r3) -/* 8034F93C 0034C89C 7C 04 02 14 */ add r0, r4, r0 -/* 8034F940 0034C8A0 90 03 00 10 */ stw r0, 0x10(r3) -/* 8034F944 0034C8A4 4E 80 00 20 */ blr - -.global internalCallback__8CDvdFileFlP11DVDFileInfo -internalCallback__8CDvdFileFlP11DVDFileInfo: -/* 8034F948 0034C8A8 4E 80 00 20 */ blr - -.global FileExists__8CDvdFileFPCc -FileExists__8CDvdFileFPCc: -/* 8034F94C 0034C8AC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034F950 0034C8B0 7C 08 02 A6 */ mflr r0 -/* 8034F954 0034C8B4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8034F958 0034C8B8 48 00 0B 99 */ bl DecodeARAMFile__FPCc -/* 8034F95C 0034C8BC 48 02 19 C1 */ bl DVDConvertPathToEntrynum -/* 8034F960 0034C8C0 20 83 FF FF */ subfic r4, r3, -1 -/* 8034F964 0034C8C4 38 03 00 01 */ addi r0, r3, 1 -/* 8034F968 0034C8C8 7C 80 03 78 */ or r0, r4, r0 -/* 8034F96C 0034C8CC 54 03 0F FE */ srwi r3, r0, 0x1f -/* 8034F970 0034C8D0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8034F974 0034C8D4 7C 08 03 A6 */ mtlr r0 -/* 8034F978 0034C8D8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8034F97C 0034C8DC 4E 80 00 20 */ blr - -.global CloseFile__8CDvdFileFv -CloseFile__8CDvdFileFv: -/* 8034F980 0034C8E0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034F984 0034C8E4 7C 08 02 A6 */ mflr r0 -/* 8034F988 0034C8E8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8034F98C 0034C8EC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8034F990 0034C8F0 7C 7F 1B 78 */ mr r31, r3 -/* 8034F994 0034C8F4 88 03 00 08 */ lbz r0, 8(r3) -/* 8034F998 0034C8F8 28 00 00 00 */ cmplwi r0, 0 -/* 8034F99C 0034C8FC 41 82 00 10 */ beq lbl_8034F9AC -/* 8034F9A0 0034C900 48 00 03 ED */ bl StallForARAMFile__8CDvdFileFv -/* 8034F9A4 0034C904 80 7F 00 04 */ lwz r3, 4(r31) -/* 8034F9A8 0034C908 4B FF 51 15 */ bl Free__12CARAMManagerFPCv -lbl_8034F9AC: -/* 8034F9AC 0034C90C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8034F9B0 0034C910 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8034F9B4 0034C914 7C 08 03 A6 */ mtlr r0 -/* 8034F9B8 0034C918 38 21 00 10 */ addi r1, r1, 0x10 -/* 8034F9BC 0034C91C 4E 80 00 20 */ blr - -.global AsyncSeekRead__8CDvdFileFPvUi11ESeekOrigini -AsyncSeekRead__8CDvdFileFPvUi11ESeekOrigini: -/* 8034F9C0 0034C920 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8034F9C4 0034C924 7C 08 02 A6 */ mflr r0 -/* 8034F9C8 0034C928 90 01 00 24 */ stw r0, 0x24(r1) -/* 8034F9CC 0034C92C BF 61 00 0C */ stmw r27, 0xc(r1) -/* 8034F9D0 0034C930 7C 7D 1B 78 */ mr r29, r3 -/* 8034F9D4 0034C934 7C 9E 23 78 */ mr r30, r4 -/* 8034F9D8 0034C938 7C BF 2B 78 */ mr r31, r5 -/* 8034F9DC 0034C93C 7C DC 33 78 */ mr r28, r6 -/* 8034F9E0 0034C940 7C FB 3B 78 */ mr r27, r7 -/* 8034F9E4 0034C944 48 00 03 A9 */ bl StallForARAMFile__8CDvdFileFv -/* 8034F9E8 0034C948 7F A3 EB 78 */ mr r3, r29 -/* 8034F9EC 0034C94C 7F 64 DB 78 */ mr r4, r27 -/* 8034F9F0 0034C950 7F 85 E3 78 */ mr r5, r28 -/* 8034F9F4 0034C954 4B FF FF 09 */ bl CalcFileOffset__8CDvdFileFi11ESeekOrigin -/* 8034F9F8 0034C958 88 1D 00 08 */ lbz r0, 8(r29) -/* 8034F9FC 0034C95C 28 00 00 00 */ cmplwi r0, 0 -/* 8034FA00 0034C960 41 82 00 74 */ beq lbl_8034FA74 -/* 8034FA04 0034C964 38 1F 00 1F */ addi r0, r31, 0x1f -/* 8034FA08 0034C968 7F C3 F3 78 */ mr r3, r30 -/* 8034FA0C 0034C96C 54 1B 00 34 */ rlwinm r27, r0, 0, 0, 0x1a -/* 8034FA10 0034C970 7F 64 DB 78 */ mr r4, r27 -/* 8034FA14 0034C974 48 02 F0 9D */ bl DCFlushRange -/* 8034FA18 0034C978 3C 80 80 3E */ lis r4, lbl_803D8230@ha -/* 8034FA1C 0034C97C 38 60 00 08 */ li r3, 8 -/* 8034FA20 0034C980 38 84 82 30 */ addi r4, r4, lbl_803D8230@l -/* 8034FA24 0034C984 38 A0 00 00 */ li r5, 0 -/* 8034FA28 0034C988 4B FC 5E 45 */ bl __nw__FUlPCcPCc -/* 8034FA2C 0034C98C 7C 7C 1B 79 */ or. r28, r3, r3 -/* 8034FA30 0034C990 41 82 00 3C */ beq lbl_8034FA6C -/* 8034FA34 0034C994 80 7D 00 04 */ lwz r3, 4(r29) -/* 8034FA38 0034C998 7F C4 F3 78 */ mr r4, r30 -/* 8034FA3C 0034C99C 80 1D 00 10 */ lwz r0, 0x10(r29) -/* 8034FA40 0034C9A0 7F 65 DB 78 */ mr r5, r27 -/* 8034FA44 0034C9A4 38 C0 00 01 */ li r6, 1 -/* 8034FA48 0034C9A8 7C 63 02 14 */ add r3, r3, r0 -/* 8034FA4C 0034C9AC 4B FF 4E 05 */ bl DMAToMRAM__12CARAMManagerFPvPvUiQ212CARAMManager12EDMAPriority -/* 8034FA50 0034C9B0 3C A0 80 3E */ lis r5, lbl_803D9FF8@ha -/* 8034FA54 0034C9B4 3C 80 80 3F */ lis r4, lbl_803ED578@ha -/* 8034FA58 0034C9B8 38 05 9F F8 */ addi r0, r5, lbl_803D9FF8@l -/* 8034FA5C 0034C9BC 90 1C 00 00 */ stw r0, 0(r28) -/* 8034FA60 0034C9C0 38 04 D5 78 */ addi r0, r4, lbl_803ED578@l -/* 8034FA64 0034C9C4 90 1C 00 00 */ stw r0, 0(r28) -/* 8034FA68 0034C9C8 90 7C 00 04 */ stw r3, 4(r28) -lbl_8034FA6C: -/* 8034FA6C 0034C9CC 7F 9B E3 78 */ mr r27, r28 -/* 8034FA70 0034C9D0 48 00 00 70 */ b lbl_8034FAE0 -lbl_8034FA74: -/* 8034FA74 0034C9D4 3C 80 80 3E */ lis r4, lbl_803D8230@ha -/* 8034FA78 0034C9D8 38 60 00 40 */ li r3, 0x40 -/* 8034FA7C 0034C9DC 38 84 82 30 */ addi r4, r4, lbl_803D8230@l -/* 8034FA80 0034C9E0 38 A0 00 00 */ li r5, 0 -/* 8034FA84 0034C9E4 4B FC 5D E9 */ bl __nw__FUlPCcPCc -/* 8034FA88 0034C9E8 7C 7C 1B 79 */ or. r28, r3, r3 -/* 8034FA8C 0034C9EC 41 82 00 1C */ beq lbl_8034FAA8 -/* 8034FA90 0034C9F0 3C 80 80 3E */ lis r4, lbl_803D9FF8@ha -/* 8034FA94 0034C9F4 3C 60 80 3F */ lis r3, lbl_803ED594@ha -/* 8034FA98 0034C9F8 38 04 9F F8 */ addi r0, r4, lbl_803D9FF8@l -/* 8034FA9C 0034C9FC 90 1C 00 00 */ stw r0, 0(r28) -/* 8034FAA0 0034CA00 38 03 D5 94 */ addi r0, r3, lbl_803ED594@l -/* 8034FAA4 0034CA04 90 1C 00 00 */ stw r0, 0(r28) -lbl_8034FAA8: -/* 8034FAA8 0034CA08 3B 7C 00 04 */ addi r27, r28, 4 -/* 8034FAAC 0034CA0C 80 7D 00 00 */ lwz r3, 0(r29) -/* 8034FAB0 0034CA10 7F 64 DB 78 */ mr r4, r27 -/* 8034FAB4 0034CA14 48 02 1B 5D */ bl DVDFastOpen -/* 8034FAB8 0034CA18 3C 60 80 35 */ lis r3, internalCallback__8CDvdFileFlP11DVDFileInfo@ha -/* 8034FABC 0034CA1C 38 1F 00 1F */ addi r0, r31, 0x1f -/* 8034FAC0 0034CA20 38 E3 F9 48 */ addi r7, r3, internalCallback__8CDvdFileFlP11DVDFileInfo@l -/* 8034FAC4 0034CA24 80 DD 00 10 */ lwz r6, 0x10(r29) -/* 8034FAC8 0034CA28 7F 63 DB 78 */ mr r3, r27 -/* 8034FACC 0034CA2C 7F C4 F3 78 */ mr r4, r30 -/* 8034FAD0 0034CA30 54 05 00 34 */ rlwinm r5, r0, 0, 0, 0x1a -/* 8034FAD4 0034CA34 39 00 00 02 */ li r8, 2 -/* 8034FAD8 0034CA38 48 02 1E BD */ bl DVDReadAsyncPrio -/* 8034FADC 0034CA3C 7F 9B E3 78 */ mr r27, r28 -lbl_8034FAE0: -/* 8034FAE0 0034CA40 7F A3 EB 78 */ mr r3, r29 -/* 8034FAE4 0034CA44 7F E4 FB 78 */ mr r4, r31 -/* 8034FAE8 0034CA48 4B FF FD E9 */ bl UpdateFilePos__8CDvdFileFi -/* 8034FAEC 0034CA4C 7F 63 DB 78 */ mr r3, r27 -/* 8034FAF0 0034CA50 BB 61 00 0C */ lmw r27, 0xc(r1) -/* 8034FAF4 0034CA54 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8034FAF8 0034CA58 7C 08 03 A6 */ mtlr r0 -/* 8034FAFC 0034CA5C 38 21 00 20 */ addi r1, r1, 0x20 -/* 8034FB00 0034CA60 4E 80 00 20 */ blr - -.global SyncSeekRead__8CDvdFileFPvUi11ESeekOrigini -SyncSeekRead__8CDvdFileFPvUi11ESeekOrigini: -/* 8034FB04 0034CA64 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 8034FB08 0034CA68 7C 08 02 A6 */ mflr r0 -/* 8034FB0C 0034CA6C 90 01 00 64 */ stw r0, 0x64(r1) -/* 8034FB10 0034CA70 BF 61 00 4C */ stmw r27, 0x4c(r1) -/* 8034FB14 0034CA74 7C 7B 1B 78 */ mr r27, r3 -/* 8034FB18 0034CA78 7C 9C 23 78 */ mr r28, r4 -/* 8034FB1C 0034CA7C 7C BD 2B 78 */ mr r29, r5 -/* 8034FB20 0034CA80 7C DE 33 78 */ mr r30, r6 -/* 8034FB24 0034CA84 7C FF 3B 78 */ mr r31, r7 -/* 8034FB28 0034CA88 48 00 02 65 */ bl StallForARAMFile__8CDvdFileFv -/* 8034FB2C 0034CA8C 7F 63 DB 78 */ mr r3, r27 -/* 8034FB30 0034CA90 7F E4 FB 78 */ mr r4, r31 -/* 8034FB34 0034CA94 7F C5 F3 78 */ mr r5, r30 -/* 8034FB38 0034CA98 4B FF FD C5 */ bl CalcFileOffset__8CDvdFileFi11ESeekOrigin -/* 8034FB3C 0034CA9C 88 1B 00 08 */ lbz r0, 8(r27) -/* 8034FB40 0034CAA0 28 00 00 00 */ cmplwi r0, 0 -/* 8034FB44 0034CAA4 41 82 00 3C */ beq lbl_8034FB80 -/* 8034FB48 0034CAA8 38 1D 00 1F */ addi r0, r29, 0x1f -/* 8034FB4C 0034CAAC 7F 83 E3 78 */ mr r3, r28 -/* 8034FB50 0034CAB0 54 1F 00 34 */ rlwinm r31, r0, 0, 0, 0x1a -/* 8034FB54 0034CAB4 7F E4 FB 78 */ mr r4, r31 -/* 8034FB58 0034CAB8 48 02 EF 59 */ bl DCFlushRange -/* 8034FB5C 0034CABC 80 7B 00 04 */ lwz r3, 4(r27) -/* 8034FB60 0034CAC0 7F 84 E3 78 */ mr r4, r28 -/* 8034FB64 0034CAC4 80 1B 00 10 */ lwz r0, 0x10(r27) -/* 8034FB68 0034CAC8 7F E5 FB 78 */ mr r5, r31 -/* 8034FB6C 0034CACC 38 C0 00 01 */ li r6, 1 -/* 8034FB70 0034CAD0 7C 63 02 14 */ add r3, r3, r0 -/* 8034FB74 0034CAD4 4B FF 4C DD */ bl DMAToMRAM__12CARAMManagerFPvPvUiQ212CARAMManager12EDMAPriority -/* 8034FB78 0034CAD8 4B FF 4B D1 */ bl WaitForDMACompletion__12CARAMManagerFUi -/* 8034FB7C 0034CADC 48 00 00 4C */ b lbl_8034FBC8 -lbl_8034FB80: -/* 8034FB80 0034CAE0 80 7B 00 00 */ lwz r3, 0(r27) -/* 8034FB84 0034CAE4 38 81 00 08 */ addi r4, r1, 8 -/* 8034FB88 0034CAE8 48 02 1A 89 */ bl DVDFastOpen -/* 8034FB8C 0034CAEC 3C 60 80 35 */ lis r3, internalCallback__8CDvdFileFlP11DVDFileInfo@ha -/* 8034FB90 0034CAF0 38 1D 00 1F */ addi r0, r29, 0x1f -/* 8034FB94 0034CAF4 38 E3 F9 48 */ addi r7, r3, internalCallback__8CDvdFileFlP11DVDFileInfo@l -/* 8034FB98 0034CAF8 80 DB 00 10 */ lwz r6, 0x10(r27) -/* 8034FB9C 0034CAFC 7F 84 E3 78 */ mr r4, r28 -/* 8034FBA0 0034CB00 38 61 00 08 */ addi r3, r1, 8 -/* 8034FBA4 0034CB04 54 05 00 34 */ rlwinm r5, r0, 0, 0, 0x1a -/* 8034FBA8 0034CB08 39 00 00 02 */ li r8, 2 -/* 8034FBAC 0034CB0C 48 02 1D E9 */ bl DVDReadAsyncPrio -lbl_8034FBB0: -/* 8034FBB0 0034CB10 38 61 00 08 */ addi r3, r1, 8 -/* 8034FBB4 0034CB14 48 02 45 51 */ bl DVDGetCommandBlockStatus -/* 8034FBB8 0034CB18 2C 03 00 00 */ cmpwi r3, 0 -/* 8034FBBC 0034CB1C 40 82 FF F4 */ bne lbl_8034FBB0 -/* 8034FBC0 0034CB20 38 61 00 08 */ addi r3, r1, 8 -/* 8034FBC4 0034CB24 48 02 1B 89 */ bl DVDClose -lbl_8034FBC8: -/* 8034FBC8 0034CB28 7F 63 DB 78 */ mr r3, r27 -/* 8034FBCC 0034CB2C 7F A4 EB 78 */ mr r4, r29 -/* 8034FBD0 0034CB30 4B FF FD 01 */ bl UpdateFilePos__8CDvdFileFi -/* 8034FBD4 0034CB34 BB 61 00 4C */ lmw r27, 0x4c(r1) -/* 8034FBD8 0034CB38 80 01 00 64 */ lwz r0, 0x64(r1) -/* 8034FBDC 0034CB3C 7C 08 03 A6 */ mtlr r0 -/* 8034FBE0 0034CB40 38 21 00 60 */ addi r1, r1, 0x60 -/* 8034FBE4 0034CB44 4E 80 00 20 */ blr - -.global SyncRead__8CDvdFileFPvUi -SyncRead__8CDvdFileFPvUi: -/* 8034FBE8 0034CB48 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034FBEC 0034CB4C 7C 08 02 A6 */ mflr r0 -/* 8034FBF0 0034CB50 38 C0 00 01 */ li r6, 1 -/* 8034FBF4 0034CB54 38 E0 00 00 */ li r7, 0 -/* 8034FBF8 0034CB58 90 01 00 14 */ stw r0, 0x14(r1) -/* 8034FBFC 0034CB5C 4B FF FD C5 */ bl AsyncSeekRead__8CDvdFileFPvUi11ESeekOrigini -/* 8034FC00 0034CB60 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8034FC04 0034CB64 7C 08 03 A6 */ mtlr r0 -/* 8034FC08 0034CB68 38 21 00 10 */ addi r1, r1, 0x10 -/* 8034FC0C 0034CB6C 4E 80 00 20 */ blr - -.global __dt__8CDvdFileFv -__dt__8CDvdFileFv: -/* 8034FC10 0034CB70 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8034FC14 0034CB74 7C 08 02 A6 */ mflr r0 -/* 8034FC18 0034CB78 90 01 00 24 */ stw r0, 0x24(r1) -/* 8034FC1C 0034CB7C BF 61 00 0C */ stmw r27, 0xc(r1) -/* 8034FC20 0034CB80 7C 7B 1B 79 */ or. r27, r3, r3 -/* 8034FC24 0034CB84 7C 9C 23 78 */ mr r28, r4 -/* 8034FC28 0034CB88 41 82 00 90 */ beq lbl_8034FCB8 -/* 8034FC2C 0034CB8C 4B FF FD 55 */ bl CloseFile__8CDvdFileFv -/* 8034FC30 0034CB90 34 1B 00 18 */ addic. r0, r27, 0x18 -/* 8034FC34 0034CB94 41 82 00 0C */ beq lbl_8034FC40 -/* 8034FC38 0034CB98 38 7B 00 18 */ addi r3, r27, 0x18 -/* 8034FC3C 0034CB9C 4B FE DE A5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8034FC40: -/* 8034FC40 0034CBA0 34 1B 00 0C */ addic. r0, r27, 0xc -/* 8034FC44 0034CBA4 41 82 00 64 */ beq lbl_8034FCA8 -/* 8034FC48 0034CBA8 83 FB 00 0C */ lwz r31, 0xc(r27) -/* 8034FC4C 0034CBAC 28 1F 00 00 */ cmplwi r31, 0 -/* 8034FC50 0034CBB0 41 82 00 58 */ beq lbl_8034FCA8 -/* 8034FC54 0034CBB4 34 1F 00 64 */ addic. r0, r31, 0x64 -/* 8034FC58 0034CBB8 41 82 00 48 */ beq lbl_8034FCA0 -/* 8034FC5C 0034CBBC 3B BF 00 68 */ addi r29, r31, 0x68 -/* 8034FC60 0034CBC0 3B C0 00 00 */ li r30, 0 -/* 8034FC64 0034CBC4 48 00 00 28 */ b lbl_8034FC8C -lbl_8034FC68: -/* 8034FC68 0034CBC8 28 1D 00 00 */ cmplwi r29, 0 -/* 8034FC6C 0034CBCC 41 82 00 18 */ beq lbl_8034FC84 -/* 8034FC70 0034CBD0 88 1D 00 00 */ lbz r0, 0(r29) -/* 8034FC74 0034CBD4 28 00 00 00 */ cmplwi r0, 0 -/* 8034FC78 0034CBD8 41 82 00 0C */ beq lbl_8034FC84 -/* 8034FC7C 0034CBDC 80 7D 00 04 */ lwz r3, 4(r29) -/* 8034FC80 0034CBE0 4B FC 5C B1 */ bl Free__7CMemoryFPCv -lbl_8034FC84: -/* 8034FC84 0034CBE4 3B BD 00 08 */ addi r29, r29, 8 -/* 8034FC88 0034CBE8 3B DE 00 01 */ addi r30, r30, 1 -lbl_8034FC8C: -/* 8034FC8C 0034CBEC 80 1F 00 64 */ lwz r0, 0x64(r31) -/* 8034FC90 0034CBF0 7C 1E 00 00 */ cmpw r30, r0 -/* 8034FC94 0034CBF4 41 80 FF D4 */ blt lbl_8034FC68 -/* 8034FC98 0034CBF8 38 00 00 00 */ li r0, 0 -/* 8034FC9C 0034CBFC 90 1F 00 64 */ stw r0, 0x64(r31) -lbl_8034FCA0: -/* 8034FCA0 0034CC00 7F E3 FB 78 */ mr r3, r31 -/* 8034FCA4 0034CC04 4B FC 5C 8D */ bl Free__7CMemoryFPCv -lbl_8034FCA8: -/* 8034FCA8 0034CC08 7F 80 07 35 */ extsh. r0, r28 -/* 8034FCAC 0034CC0C 40 81 00 0C */ ble lbl_8034FCB8 -/* 8034FCB0 0034CC10 7F 63 DB 78 */ mr r3, r27 -/* 8034FCB4 0034CC14 4B FC 5C 7D */ bl Free__7CMemoryFPCv -lbl_8034FCB8: -/* 8034FCB8 0034CC18 7F 63 DB 78 */ mr r3, r27 -/* 8034FCBC 0034CC1C BB 61 00 0C */ lmw r27, 0xc(r1) -/* 8034FCC0 0034CC20 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8034FCC4 0034CC24 7C 08 03 A6 */ mtlr r0 -/* 8034FCC8 0034CC28 38 21 00 20 */ addi r1, r1, 0x20 -/* 8034FCCC 0034CC2C 4E 80 00 20 */ blr - -.global __ct__8CDvdFileFPCc -__ct__8CDvdFileFPCc: -/* 8034FCD0 0034CC30 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 8034FCD4 0034CC34 7C 08 02 A6 */ mflr r0 -/* 8034FCD8 0034CC38 38 A0 FF FF */ li r5, -1 -/* 8034FCDC 0034CC3C 90 01 00 64 */ stw r0, 0x64(r1) -/* 8034FCE0 0034CC40 38 00 FF FF */ li r0, -1 -/* 8034FCE4 0034CC44 38 C1 00 08 */ addi r6, r1, 8 -/* 8034FCE8 0034CC48 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 8034FCEC 0034CC4C 93 C1 00 58 */ stw r30, 0x58(r1) -/* 8034FCF0 0034CC50 7C 9E 23 78 */ mr r30, r4 -/* 8034FCF4 0034CC54 93 A1 00 54 */ stw r29, 0x54(r1) -/* 8034FCF8 0034CC58 7C 7D 1B 78 */ mr r29, r3 -/* 8034FCFC 0034CC5C 90 03 00 00 */ stw r0, 0(r3) -/* 8034FD00 0034CC60 38 00 00 00 */ li r0, 0 -/* 8034FD04 0034CC64 38 7D 00 18 */ addi r3, r29, 0x18 -/* 8034FD08 0034CC68 90 1D 00 04 */ stw r0, 4(r29) -/* 8034FD0C 0034CC6C 98 1D 00 08 */ stb r0, 8(r29) -/* 8034FD10 0034CC70 98 1D 00 09 */ stb r0, 9(r29) -/* 8034FD14 0034CC74 90 1D 00 0C */ stw r0, 0xc(r29) -/* 8034FD18 0034CC78 90 1D 00 10 */ stw r0, 0x10(r29) -/* 8034FD1C 0034CC7C 90 1D 00 14 */ stw r0, 0x14(r29) -/* 8034FD20 0034CC80 4B FE E4 75 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" -/* 8034FD24 0034CC84 7F C3 F3 78 */ mr r3, r30 -/* 8034FD28 0034CC88 48 00 07 C9 */ bl DecodeARAMFile__FPCc -/* 8034FD2C 0034CC8C 7C 7F 1B 78 */ mr r31, r3 -/* 8034FD30 0034CC90 48 02 15 ED */ bl DVDConvertPathToEntrynum -/* 8034FD34 0034CC94 90 7D 00 00 */ stw r3, 0(r29) -/* 8034FD38 0034CC98 80 7D 00 00 */ lwz r3, 0(r29) -/* 8034FD3C 0034CC9C 2C 03 FF FF */ cmpwi r3, -1 -/* 8034FD40 0034CCA0 41 82 00 0C */ beq lbl_8034FD4C -/* 8034FD44 0034CCA4 38 81 00 0C */ addi r4, r1, 0xc -/* 8034FD48 0034CCA8 48 02 18 C9 */ bl DVDFastOpen -lbl_8034FD4C: -/* 8034FD4C 0034CCAC 80 01 00 40 */ lwz r0, 0x40(r1) -/* 8034FD50 0034CCB0 38 61 00 0C */ addi r3, r1, 0xc -/* 8034FD54 0034CCB4 90 1D 00 14 */ stw r0, 0x14(r29) -/* 8034FD58 0034CCB8 48 02 19 F5 */ bl DVDClose -/* 8034FD5C 0034CCBC 7C 1E F8 40 */ cmplw r30, r31 -/* 8034FD60 0034CCC0 41 82 00 0C */ beq lbl_8034FD6C -/* 8034FD64 0034CCC4 7F A3 EB 78 */ mr r3, r29 -/* 8034FD68 0034CCC8 48 00 03 D5 */ bl TryARAMFile__8CDvdFileFv -lbl_8034FD6C: -/* 8034FD6C 0034CCCC 80 01 00 64 */ lwz r0, 0x64(r1) -/* 8034FD70 0034CCD0 7F A3 EB 78 */ mr r3, r29 -/* 8034FD74 0034CCD4 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 8034FD78 0034CCD8 83 C1 00 58 */ lwz r30, 0x58(r1) -/* 8034FD7C 0034CCDC 83 A1 00 54 */ lwz r29, 0x54(r1) -/* 8034FD80 0034CCE0 7C 08 03 A6 */ mtlr r0 -/* 8034FD84 0034CCE4 38 21 00 60 */ addi r1, r1, 0x60 -/* 8034FD88 0034CCE8 4E 80 00 20 */ blr - -.global StallForARAMFile__8CDvdFileFv -StallForARAMFile__8CDvdFileFv: -/* 8034FD8C 0034CCEC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8034FD90 0034CCF0 7C 08 02 A6 */ mflr r0 -/* 8034FD94 0034CCF4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8034FD98 0034CCF8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8034FD9C 0034CCFC 7C 7F 1B 78 */ mr r31, r3 -/* 8034FDA0 0034CD00 48 00 00 08 */ b lbl_8034FDA8 -lbl_8034FDA4: -/* 8034FDA4 0034CD04 48 03 4D 79 */ bl OSYieldThread -lbl_8034FDA8: -/* 8034FDA8 0034CD08 80 1F 00 0C */ lwz r0, 0xc(r31) -/* 8034FDAC 0034CD0C 28 00 00 00 */ cmplwi r0, 0 -/* 8034FDB0 0034CD10 40 82 FF F4 */ bne lbl_8034FDA4 -/* 8034FDB4 0034CD14 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8034FDB8 0034CD18 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8034FDBC 0034CD1C 7C 08 03 A6 */ mtlr r0 -/* 8034FDC0 0034CD20 38 21 00 10 */ addi r1, r1, 0x10 -/* 8034FDC4 0034CD24 4E 80 00 20 */ blr - -.global StartARAMFileLoad__8CDvdFileFv -StartARAMFileLoad__8CDvdFileFv: -/* 8034FDC8 0034CD28 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8034FDCC 0034CD2C 7C 08 02 A6 */ mflr r0 -/* 8034FDD0 0034CD30 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha -/* 8034FDD4 0034CD34 90 01 00 44 */ stw r0, 0x44(r1) -/* 8034FDD8 0034CD38 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l -/* 8034FDDC 0034CD3C 38 80 FF FF */ li r4, -1 -/* 8034FDE0 0034CD40 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 8034FDE4 0034CD44 93 C1 00 38 */ stw r30, 0x38(r1) -/* 8034FDE8 0034CD48 93 A1 00 34 */ stw r29, 0x34(r1) -/* 8034FDEC 0034CD4C 7C 7D 1B 78 */ mr r29, r3 -/* 8034FDF0 0034CD50 3C 60 80 3E */ lis r3, lbl_803D8230@ha -/* 8034FDF4 0034CD54 93 81 00 30 */ stw r28, 0x30(r1) -/* 8034FDF8 0034CD58 38 A3 82 30 */ addi r5, r3, lbl_803D8230@l -/* 8034FDFC 0034CD5C 38 61 00 20 */ addi r3, r1, 0x20 -/* 8034FE00 0034CD60 83 FD 00 0C */ lwz r31, 0xc(r29) -/* 8034FE04 0034CD64 4B F8 65 D1 */ bl __ct__10CCallStackFUiPCcPCc -/* 8034FE08 0034CD68 7C 67 1B 78 */ mr r7, r3 -/* 8034FE0C 0034CD6C 3C 60 00 01 */ lis r3, 1 -/* 8034FE10 0034CD70 38 80 00 02 */ li r4, 2 -/* 8034FE14 0034CD74 38 A0 00 01 */ li r5, 1 -/* 8034FE18 0034CD78 38 C0 00 00 */ li r6, 0 -/* 8034FE1C 0034CD7C 4B FC 5B 79 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack -/* 8034FE20 0034CD80 80 1F 00 64 */ lwz r0, 0x64(r31) -/* 8034FE24 0034CD84 7C 83 00 D0 */ neg r4, r3 -/* 8034FE28 0034CD88 7C 84 1B 78 */ or r4, r4, r3 -/* 8034FE2C 0034CD8C 3B DF 00 68 */ addi r30, r31, 0x68 -/* 8034FE30 0034CD90 54 00 18 38 */ slwi r0, r0, 3 -/* 8034FE34 0034CD94 90 61 00 1C */ stw r3, 0x1c(r1) -/* 8034FE38 0034CD98 54 84 0F FE */ srwi r4, r4, 0x1f -/* 8034FE3C 0034CD9C 7C BE 02 15 */ add. r5, r30, r0 -/* 8034FE40 0034CDA0 98 81 00 18 */ stb r4, 0x18(r1) -/* 8034FE44 0034CDA4 41 82 00 14 */ beq lbl_8034FE58 -/* 8034FE48 0034CDA8 98 85 00 00 */ stb r4, 0(r5) -/* 8034FE4C 0034CDAC 38 00 00 00 */ li r0, 0 -/* 8034FE50 0034CDB0 90 65 00 04 */ stw r3, 4(r5) -/* 8034FE54 0034CDB4 98 01 00 18 */ stb r0, 0x18(r1) -lbl_8034FE58: -/* 8034FE58 0034CDB8 80 7F 00 64 */ lwz r3, 0x64(r31) -/* 8034FE5C 0034CDBC 88 01 00 18 */ lbz r0, 0x18(r1) -/* 8034FE60 0034CDC0 38 63 00 01 */ addi r3, r3, 1 -/* 8034FE64 0034CDC4 28 00 00 00 */ cmplwi r0, 0 -/* 8034FE68 0034CDC8 90 7F 00 64 */ stw r3, 0x64(r31) -/* 8034FE6C 0034CDCC 41 82 00 0C */ beq lbl_8034FE78 -/* 8034FE70 0034CDD0 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 8034FE74 0034CDD4 4B FC 5A BD */ bl Free__7CMemoryFPCv -lbl_8034FE78: -/* 8034FE78 0034CDD8 3C 60 80 3E */ lis r3, lbl_803D8230@ha -/* 8034FE7C 0034CDDC 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha -/* 8034FE80 0034CDE0 38 A3 82 30 */ addi r5, r3, lbl_803D8230@l -/* 8034FE84 0034CDE4 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l -/* 8034FE88 0034CDE8 38 61 00 10 */ addi r3, r1, 0x10 -/* 8034FE8C 0034CDEC 38 80 FF FF */ li r4, -1 -/* 8034FE90 0034CDF0 4B F8 65 45 */ bl __ct__10CCallStackFUiPCcPCc -/* 8034FE94 0034CDF4 7C 67 1B 78 */ mr r7, r3 -/* 8034FE98 0034CDF8 3C 60 00 01 */ lis r3, 1 -/* 8034FE9C 0034CDFC 38 80 00 02 */ li r4, 2 -/* 8034FEA0 0034CE00 38 A0 00 01 */ li r5, 1 -/* 8034FEA4 0034CE04 38 C0 00 00 */ li r6, 0 -/* 8034FEA8 0034CE08 4B FC 5A ED */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack -/* 8034FEAC 0034CE0C 80 1F 00 64 */ lwz r0, 0x64(r31) -/* 8034FEB0 0034CE10 7C 83 00 D0 */ neg r4, r3 -/* 8034FEB4 0034CE14 7C 84 1B 78 */ or r4, r4, r3 -/* 8034FEB8 0034CE18 90 61 00 0C */ stw r3, 0xc(r1) -/* 8034FEBC 0034CE1C 54 00 18 38 */ slwi r0, r0, 3 -/* 8034FEC0 0034CE20 54 84 0F FE */ srwi r4, r4, 0x1f -/* 8034FEC4 0034CE24 7C BE 02 15 */ add. r5, r30, r0 -/* 8034FEC8 0034CE28 98 81 00 08 */ stb r4, 8(r1) -/* 8034FECC 0034CE2C 41 82 00 14 */ beq lbl_8034FEE0 -/* 8034FED0 0034CE30 98 85 00 00 */ stb r4, 0(r5) -/* 8034FED4 0034CE34 38 00 00 00 */ li r0, 0 -/* 8034FED8 0034CE38 90 65 00 04 */ stw r3, 4(r5) -/* 8034FEDC 0034CE3C 98 01 00 08 */ stb r0, 8(r1) -lbl_8034FEE0: -/* 8034FEE0 0034CE40 80 7F 00 64 */ lwz r3, 0x64(r31) -/* 8034FEE4 0034CE44 88 01 00 08 */ lbz r0, 8(r1) -/* 8034FEE8 0034CE48 38 63 00 01 */ addi r3, r3, 1 -/* 8034FEEC 0034CE4C 28 00 00 00 */ cmplwi r0, 0 -/* 8034FEF0 0034CE50 90 7F 00 64 */ stw r3, 0x64(r31) -/* 8034FEF4 0034CE54 41 82 00 0C */ beq lbl_8034FF00 -/* 8034FEF8 0034CE58 80 61 00 0C */ lwz r3, 0xc(r1) -/* 8034FEFC 0034CE5C 4B FC 5A 35 */ bl Free__7CMemoryFPCv -lbl_8034FF00: -/* 8034FF00 0034CE60 80 6D 9D F8 */ lwz r3, lbl_805A89B8@sda21(r13) -/* 8034FF04 0034CE64 80 1D 00 14 */ lwz r0, 0x14(r29) -/* 8034FF08 0034CE68 7C 03 00 00 */ cmpw r3, r0 -/* 8034FF0C 0034CE6C 40 80 00 0C */ bge lbl_8034FF18 -/* 8034FF10 0034CE70 38 6D 9D F8 */ addi r3, r13, lbl_805A89B8@sda21 -/* 8034FF14 0034CE74 48 00 00 08 */ b lbl_8034FF1C -lbl_8034FF18: -/* 8034FF18 0034CE78 38 7D 00 14 */ addi r3, r29, 0x14 -lbl_8034FF1C: -/* 8034FF1C 0034CE7C 83 83 00 00 */ lwz r28, 0(r3) -/* 8034FF20 0034CE80 38 9F 00 20 */ addi r4, r31, 0x20 -/* 8034FF24 0034CE84 80 1F 00 84 */ lwz r0, 0x84(r31) -/* 8034FF28 0034CE88 7C 1C 00 50 */ subf r0, r28, r0 -/* 8034FF2C 0034CE8C 90 1F 00 84 */ stw r0, 0x84(r31) -/* 8034FF30 0034CE90 93 9F 00 80 */ stw r28, 0x80(r31) -/* 8034FF34 0034CE94 80 7D 00 00 */ lwz r3, 0(r29) -/* 8034FF38 0034CE98 48 02 16 D9 */ bl DVDFastOpen -/* 8034FF3C 0034CE9C 3C 60 80 35 */ lis r3, DVDARAMXferCallback__8CDvdFileFlP11DVDFileInfo@ha -/* 8034FF40 0034CEA0 80 9E 00 04 */ lwz r4, 4(r30) -/* 8034FF44 0034CEA4 38 E3 04 B8 */ addi r7, r3, DVDARAMXferCallback__8CDvdFileFlP11DVDFileInfo@l -/* 8034FF48 0034CEA8 7F 85 E3 78 */ mr r5, r28 -/* 8034FF4C 0034CEAC 38 7F 00 20 */ addi r3, r31, 0x20 -/* 8034FF50 0034CEB0 38 C0 00 00 */ li r6, 0 -/* 8034FF54 0034CEB4 39 00 00 02 */ li r8, 2 -/* 8034FF58 0034CEB8 48 02 1A 3D */ bl DVDReadAsyncPrio -/* 8034FF5C 0034CEBC 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8034FF60 0034CEC0 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 8034FF64 0034CEC4 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 8034FF68 0034CEC8 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 8034FF6C 0034CECC 83 81 00 30 */ lwz r28, 0x30(r1) -/* 8034FF70 0034CED0 7C 08 03 A6 */ mtlr r0 -/* 8034FF74 0034CED4 38 21 00 40 */ addi r1, r1, 0x40 -/* 8034FF78 0034CED8 4E 80 00 20 */ blr - -.global sub_8034ff7c -sub_8034ff7c: -/* 8034FF7C 0034CEDC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8034FF80 0034CEE0 7C 08 02 A6 */ mflr r0 -/* 8034FF84 0034CEE4 90 01 00 24 */ stw r0, 0x24(r1) -/* 8034FF88 0034CEE8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8034FF8C 0034CEEC 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8034FF90 0034CEF0 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8034FF94 0034CEF4 93 81 00 10 */ stw r28, 0x10(r1) -/* 8034FF98 0034CEF8 7C 7C 1B 78 */ mr r28, r3 -/* 8034FF9C 0034CEFC 88 03 00 08 */ lbz r0, 8(r3) -/* 8034FFA0 0034CF00 28 00 00 00 */ cmplwi r0, 0 -/* 8034FFA4 0034CF04 40 82 00 0C */ bne lbl_8034FFB0 -/* 8034FFA8 0034CF08 38 60 00 01 */ li r3, 1 -/* 8034FFAC 0034CF0C 48 00 00 84 */ b lbl_80350030 -lbl_8034FFB0: -/* 8034FFB0 0034CF10 88 1C 00 09 */ lbz r0, 9(r28) -/* 8034FFB4 0034CF14 28 00 00 00 */ cmplwi r0, 0 -/* 8034FFB8 0034CF18 40 82 00 0C */ bne lbl_8034FFC4 -/* 8034FFBC 0034CF1C 38 60 00 00 */ li r3, 0 -/* 8034FFC0 0034CF20 48 00 00 70 */ b lbl_80350030 -lbl_8034FFC4: -/* 8034FFC4 0034CF24 83 FC 00 0C */ lwz r31, 0xc(r28) -/* 8034FFC8 0034CF28 28 1F 00 00 */ cmplwi r31, 0 -/* 8034FFCC 0034CF2C 41 82 00 58 */ beq lbl_80350024 -/* 8034FFD0 0034CF30 34 1F 00 64 */ addic. r0, r31, 0x64 -/* 8034FFD4 0034CF34 41 82 00 48 */ beq lbl_8035001C -/* 8034FFD8 0034CF38 3B BF 00 68 */ addi r29, r31, 0x68 -/* 8034FFDC 0034CF3C 3B C0 00 00 */ li r30, 0 -/* 8034FFE0 0034CF40 48 00 00 28 */ b lbl_80350008 -lbl_8034FFE4: -/* 8034FFE4 0034CF44 28 1D 00 00 */ cmplwi r29, 0 -/* 8034FFE8 0034CF48 41 82 00 18 */ beq lbl_80350000 -/* 8034FFEC 0034CF4C 88 1D 00 00 */ lbz r0, 0(r29) -/* 8034FFF0 0034CF50 28 00 00 00 */ cmplwi r0, 0 -/* 8034FFF4 0034CF54 41 82 00 0C */ beq lbl_80350000 -/* 8034FFF8 0034CF58 80 7D 00 04 */ lwz r3, 4(r29) -/* 8034FFFC 0034CF5C 4B FC 59 35 */ bl Free__7CMemoryFPCv -lbl_80350000: -/* 80350000 0034CF60 3B BD 00 08 */ addi r29, r29, 8 -/* 80350004 0034CF64 3B DE 00 01 */ addi r30, r30, 1 -lbl_80350008: -/* 80350008 0034CF68 80 1F 00 64 */ lwz r0, 0x64(r31) -/* 8035000C 0034CF6C 7C 1E 00 00 */ cmpw r30, r0 -/* 80350010 0034CF70 41 80 FF D4 */ blt lbl_8034FFE4 -/* 80350014 0034CF74 38 00 00 00 */ li r0, 0 -/* 80350018 0034CF78 90 1F 00 64 */ stw r0, 0x64(r31) -lbl_8035001C: -/* 8035001C 0034CF7C 7F E3 FB 78 */ mr r3, r31 -/* 80350020 0034CF80 4B FC 59 11 */ bl Free__7CMemoryFPCv -lbl_80350024: -/* 80350024 0034CF84 38 00 00 00 */ li r0, 0 -/* 80350028 0034CF88 38 60 00 01 */ li r3, 1 -/* 8035002C 0034CF8C 90 1C 00 0C */ stw r0, 0xc(r28) -lbl_80350030: -/* 80350030 0034CF90 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80350034 0034CF94 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80350038 0034CF98 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8035003C 0034CF9C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80350040 0034CFA0 83 81 00 10 */ lwz r28, 0x10(r1) -/* 80350044 0034CFA4 7C 08 03 A6 */ mtlr r0 -/* 80350048 0034CFA8 38 21 00 20 */ addi r1, r1, 0x20 -/* 8035004C 0034CFAC 4E 80 00 20 */ blr - -.global PopARAMFileLoad__8CDvdFileFv -PopARAMFileLoad__8CDvdFileFv: -/* 80350050 0034CFB0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80350054 0034CFB4 7C 08 02 A6 */ mflr r0 -/* 80350058 0034CFB8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8035005C 0034CFBC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80350060 0034CFC0 93 C1 00 08 */ stw r30, 8(r1) -/* 80350064 0034CFC4 7C 7E 1B 78 */ mr r30, r3 -/* 80350068 0034CFC8 48 03 15 F9 */ bl OSDisableInterrupts -/* 8035006C 0034CFCC 80 9E 00 0C */ lwz r4, 0xc(r30) -/* 80350070 0034CFD0 38 00 00 01 */ li r0, 1 -/* 80350074 0034CFD4 7C 7F 1B 78 */ mr r31, r3 -/* 80350078 0034CFD8 80 84 00 60 */ lwz r4, 0x60(r4) -/* 8035007C 0034CFDC 98 1E 00 09 */ stb r0, 9(r30) -/* 80350080 0034CFE0 28 04 00 00 */ cmplwi r4, 0 -/* 80350084 0034CFE4 90 8D AA 10 */ stw r4, lbl_805A95D0@sda21(r13) -/* 80350088 0034CFE8 41 82 00 0C */ beq lbl_80350094 -/* 8035008C 0034CFEC 7C 83 23 78 */ mr r3, r4 -/* 80350090 0034CFF0 4B FF FD 39 */ bl StartARAMFileLoad__8CDvdFileFv -lbl_80350094: -/* 80350094 0034CFF4 7F E3 FB 78 */ mr r3, r31 -/* 80350098 0034CFF8 48 03 15 F1 */ bl OSRestoreInterrupts -/* 8035009C 0034CFFC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803500A0 0034D000 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 803500A4 0034D004 83 C1 00 08 */ lwz r30, 8(r1) -/* 803500A8 0034D008 7C 08 03 A6 */ mtlr r0 -/* 803500AC 0034D00C 38 21 00 10 */ addi r1, r1, 0x10 -/* 803500B0 0034D010 4E 80 00 20 */ blr - -.global PushARAMFileLoad__8CDvdFileFv -PushARAMFileLoad__8CDvdFileFv: -/* 803500B4 0034D014 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803500B8 0034D018 7C 08 02 A6 */ mflr r0 -/* 803500BC 0034D01C 90 01 00 14 */ stw r0, 0x14(r1) -/* 803500C0 0034D020 93 E1 00 0C */ stw r31, 0xc(r1) -/* 803500C4 0034D024 93 C1 00 08 */ stw r30, 8(r1) -/* 803500C8 0034D028 7C 7E 1B 78 */ mr r30, r3 -/* 803500CC 0034D02C 48 03 15 95 */ bl OSDisableInterrupts -/* 803500D0 0034D030 80 0D AA 10 */ lwz r0, lbl_805A95D0@sda21(r13) -/* 803500D4 0034D034 7C 7F 1B 78 */ mr r31, r3 -/* 803500D8 0034D038 28 00 00 00 */ cmplwi r0, 0 -/* 803500DC 0034D03C 40 82 00 14 */ bne lbl_803500F0 -/* 803500E0 0034D040 93 CD AA 10 */ stw r30, lbl_805A95D0@sda21(r13) -/* 803500E4 0034D044 7F C3 F3 78 */ mr r3, r30 -/* 803500E8 0034D048 4B FF FC E1 */ bl StartARAMFileLoad__8CDvdFileFv -/* 803500EC 0034D04C 48 00 00 30 */ b lbl_8035011C -lbl_803500F0: -/* 803500F0 0034D050 7C 03 03 78 */ mr r3, r0 -/* 803500F4 0034D054 48 00 00 20 */ b lbl_80350114 -lbl_803500F8: -/* 803500F8 0034D058 80 63 00 0C */ lwz r3, 0xc(r3) -/* 803500FC 0034D05C 80 03 00 60 */ lwz r0, 0x60(r3) -/* 80350100 0034D060 28 00 00 00 */ cmplwi r0, 0 -/* 80350104 0034D064 40 82 00 0C */ bne lbl_80350110 -/* 80350108 0034D068 93 C3 00 60 */ stw r30, 0x60(r3) -/* 8035010C 0034D06C 48 00 00 10 */ b lbl_8035011C -lbl_80350110: -/* 80350110 0034D070 7C 03 03 78 */ mr r3, r0 -lbl_80350114: -/* 80350114 0034D074 28 03 00 00 */ cmplwi r3, 0 -/* 80350118 0034D078 40 82 FF E0 */ bne lbl_803500F8 -lbl_8035011C: -/* 8035011C 0034D07C 7F E3 FB 78 */ mr r3, r31 -/* 80350120 0034D080 48 03 15 69 */ bl OSRestoreInterrupts -/* 80350124 0034D084 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80350128 0034D088 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8035012C 0034D08C 83 C1 00 08 */ lwz r30, 8(r1) -/* 80350130 0034D090 7C 08 03 A6 */ mtlr r0 -/* 80350134 0034D094 38 21 00 10 */ addi r1, r1, 0x10 -/* 80350138 0034D098 4E 80 00 20 */ blr - -.global TryARAMFile__8CDvdFileFv -TryARAMFile__8CDvdFileFv: -/* 8035013C 0034D09C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80350140 0034D0A0 7C 08 02 A6 */ mflr r0 -/* 80350144 0034D0A4 90 01 00 24 */ stw r0, 0x24(r1) -/* 80350148 0034D0A8 BF 61 00 0C */ stmw r27, 0xc(r1) -/* 8035014C 0034D0AC 7C 7B 1B 78 */ mr r27, r3 -/* 80350150 0034D0B0 80 63 00 14 */ lwz r3, 0x14(r3) -/* 80350154 0034D0B4 4B FF 4A D5 */ bl Alloc__12CARAMManagerFUi -/* 80350158 0034D0B8 90 7B 00 04 */ stw r3, 4(r27) -/* 8035015C 0034D0BC 80 62 CB A8 */ lwz r3, lbl_805AE8C8@sda21(r2) -/* 80350160 0034D0C0 80 1B 00 04 */ lwz r0, 4(r27) -/* 80350164 0034D0C4 7C 03 00 40 */ cmplw r3, r0 -/* 80350168 0034D0C8 41 82 00 E0 */ beq lbl_80350248 -/* 8035016C 0034D0CC 3C 80 80 3E */ lis r4, lbl_803D8230@ha -/* 80350170 0034D0D0 38 60 00 94 */ li r3, 0x94 -/* 80350174 0034D0D4 38 84 82 30 */ addi r4, r4, lbl_803D8230@l -/* 80350178 0034D0D8 38 A0 00 00 */ li r5, 0 -/* 8035017C 0034D0DC 4B FC 56 F1 */ bl __nw__FUlPCcPCc -/* 80350180 0034D0E0 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80350184 0034D0E4 41 82 00 34 */ beq lbl_803501B8 -/* 80350188 0034D0E8 38 00 00 00 */ li r0, 0 -/* 8035018C 0034D0EC 90 1F 00 5C */ stw r0, 0x5c(r31) -/* 80350190 0034D0F0 90 1F 00 60 */ stw r0, 0x60(r31) -/* 80350194 0034D0F4 90 1F 00 64 */ stw r0, 0x64(r31) -/* 80350198 0034D0F8 98 1F 00 78 */ stb r0, 0x78(r31) -/* 8035019C 0034D0FC 98 1F 00 79 */ stb r0, 0x79(r31) -/* 803501A0 0034D100 90 1F 00 7C */ stw r0, 0x7c(r31) -/* 803501A4 0034D104 90 1F 00 80 */ stw r0, 0x80(r31) -/* 803501A8 0034D108 90 1F 00 84 */ stw r0, 0x84(r31) -/* 803501AC 0034D10C 90 1F 00 88 */ stw r0, 0x88(r31) -/* 803501B0 0034D110 90 1F 00 8C */ stw r0, 0x8c(r31) -/* 803501B4 0034D114 90 1F 00 90 */ stw r0, 0x90(r31) -lbl_803501B8: -/* 803501B8 0034D118 83 DB 00 0C */ lwz r30, 0xc(r27) -/* 803501BC 0034D11C 28 1E 00 00 */ cmplwi r30, 0 -/* 803501C0 0034D120 41 82 00 58 */ beq lbl_80350218 -/* 803501C4 0034D124 34 1E 00 64 */ addic. r0, r30, 0x64 -/* 803501C8 0034D128 41 82 00 48 */ beq lbl_80350210 -/* 803501CC 0034D12C 3B 9E 00 68 */ addi r28, r30, 0x68 -/* 803501D0 0034D130 3B A0 00 00 */ li r29, 0 -/* 803501D4 0034D134 48 00 00 28 */ b lbl_803501FC -lbl_803501D8: -/* 803501D8 0034D138 28 1C 00 00 */ cmplwi r28, 0 -/* 803501DC 0034D13C 41 82 00 18 */ beq lbl_803501F4 -/* 803501E0 0034D140 88 1C 00 00 */ lbz r0, 0(r28) -/* 803501E4 0034D144 28 00 00 00 */ cmplwi r0, 0 -/* 803501E8 0034D148 41 82 00 0C */ beq lbl_803501F4 -/* 803501EC 0034D14C 80 7C 00 04 */ lwz r3, 4(r28) -/* 803501F0 0034D150 4B FC 57 41 */ bl Free__7CMemoryFPCv -lbl_803501F4: -/* 803501F4 0034D154 3B 9C 00 08 */ addi r28, r28, 8 -/* 803501F8 0034D158 3B BD 00 01 */ addi r29, r29, 1 -lbl_803501FC: -/* 803501FC 0034D15C 80 1E 00 64 */ lwz r0, 0x64(r30) -/* 80350200 0034D160 7C 1D 00 00 */ cmpw r29, r0 -/* 80350204 0034D164 41 80 FF D4 */ blt lbl_803501D8 -/* 80350208 0034D168 38 00 00 00 */ li r0, 0 -/* 8035020C 0034D16C 90 1E 00 64 */ stw r0, 0x64(r30) -lbl_80350210: -/* 80350210 0034D170 7F C3 F3 78 */ mr r3, r30 -/* 80350214 0034D174 4B FC 57 1D */ bl Free__7CMemoryFPCv -lbl_80350218: -/* 80350218 0034D178 93 FB 00 0C */ stw r31, 0xc(r27) -/* 8035021C 0034D17C 38 80 00 01 */ li r4, 1 -/* 80350220 0034D180 7F 63 DB 78 */ mr r3, r27 -/* 80350224 0034D184 80 BB 00 0C */ lwz r5, 0xc(r27) -/* 80350228 0034D188 93 65 00 5C */ stw r27, 0x5c(r5) -/* 8035022C 0034D18C 98 85 00 78 */ stb r4, 0x78(r5) -/* 80350230 0034D190 80 1B 00 14 */ lwz r0, 0x14(r27) -/* 80350234 0034D194 90 05 00 8C */ stw r0, 0x8c(r5) -/* 80350238 0034D198 90 05 00 84 */ stw r0, 0x84(r5) -/* 8035023C 0034D19C 90 05 00 7C */ stw r0, 0x7c(r5) -/* 80350240 0034D1A0 98 9B 00 08 */ stb r4, 8(r27) -/* 80350244 0034D1A4 4B FF FE 71 */ bl PushARAMFileLoad__8CDvdFileFv -lbl_80350248: -/* 80350248 0034D1A8 BB 61 00 0C */ lmw r27, 0xc(r1) -/* 8035024C 0034D1AC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80350250 0034D1B0 7C 08 03 A6 */ mtlr r0 -/* 80350254 0034D1B4 38 21 00 20 */ addi r1, r1, 0x20 -/* 80350258 0034D1B8 4E 80 00 20 */ blr - -.global PingARAMTransfer__8CDvdFileFv -PingARAMTransfer__8CDvdFileFv: -/* 8035025C 0034D1BC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80350260 0034D1C0 7C 08 02 A6 */ mflr r0 -/* 80350264 0034D1C4 90 01 00 24 */ stw r0, 0x24(r1) -/* 80350268 0034D1C8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8035026C 0034D1CC 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80350270 0034D1D0 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80350274 0034D1D4 7C 7D 1B 78 */ mr r29, r3 -/* 80350278 0034D1D8 93 81 00 10 */ stw r28, 0x10(r1) -/* 8035027C 0034D1DC 83 E3 00 0C */ lwz r31, 0xc(r3) -/* 80350280 0034D1E0 80 9F 00 8C */ lwz r4, 0x8c(r31) -/* 80350284 0034D1E4 2C 04 00 00 */ cmpwi r4, 0 -/* 80350288 0034D1E8 40 82 00 0C */ bne lbl_80350294 -/* 8035028C 0034D1EC 4B FF FD C5 */ bl PopARAMFileLoad__8CDvdFileFv -/* 80350290 0034D1F0 48 00 01 0C */ b lbl_8035039C -lbl_80350294: -/* 80350294 0034D1F4 80 0D 9D F0 */ lwz r0, lbl_805A89B0@sda21(r13) -/* 80350298 0034D1F8 7C 04 00 00 */ cmpw r4, r0 -/* 8035029C 0034D1FC 40 80 00 0C */ bge lbl_803502A8 -/* 803502A0 0034D200 38 9F 00 8C */ addi r4, r31, 0x8c -/* 803502A4 0034D204 48 00 00 08 */ b lbl_803502AC -lbl_803502A8: -/* 803502A8 0034D208 38 8D 9D F0 */ addi r4, r13, lbl_805A89B0@sda21 -lbl_803502AC: -/* 803502AC 0034D20C 80 1F 00 90 */ lwz r0, 0x90(r31) -/* 803502B0 0034D210 3C 60 80 35 */ lis r3, ARAMARAMXferCallback__8CDvdFileFUl@ha -/* 803502B4 0034D214 83 84 00 00 */ lwz r28, 0(r4) -/* 803502B8 0034D218 39 43 04 94 */ addi r10, r3, ARAMARAMXferCallback__8CDvdFileFUl@l -/* 803502BC 0034D21C 3B DF 00 68 */ addi r30, r31, 0x68 -/* 803502C0 0034D220 54 00 18 38 */ slwi r0, r0, 3 -/* 803502C4 0034D224 7C BE 02 14 */ add r5, r30, r0 -/* 803502C8 0034D228 80 9D 00 04 */ lwz r4, 4(r29) -/* 803502CC 0034D22C 80 1F 00 88 */ lwz r0, 0x88(r31) -/* 803502D0 0034D230 7F E3 FB 78 */ mr r3, r31 -/* 803502D4 0034D234 80 E5 00 04 */ lwz r7, 4(r5) -/* 803502D8 0034D238 7F 89 E3 78 */ mr r9, r28 -/* 803502DC 0034D23C 7D 04 02 14 */ add r8, r4, r0 -/* 803502E0 0034D240 38 80 00 00 */ li r4, 0 -/* 803502E4 0034D244 38 A0 00 00 */ li r5, 0 -/* 803502E8 0034D248 38 C0 00 01 */ li r6, 1 -/* 803502EC 0034D24C 48 01 F3 85 */ bl ARQPostRequest -/* 803502F0 0034D250 80 7F 00 8C */ lwz r3, 0x8c(r31) -/* 803502F4 0034D254 38 00 00 00 */ li r0, 0 -/* 803502F8 0034D258 7C 7C 18 50 */ subf r3, r28, r3 -/* 803502FC 0034D25C 90 7F 00 8C */ stw r3, 0x8c(r31) -/* 80350300 0034D260 80 7F 00 88 */ lwz r3, 0x88(r31) -/* 80350304 0034D264 7C 63 E2 14 */ add r3, r3, r28 -/* 80350308 0034D268 90 7F 00 88 */ stw r3, 0x88(r31) -/* 8035030C 0034D26C 98 1F 00 78 */ stb r0, 0x78(r31) -/* 80350310 0034D270 80 1F 00 90 */ lwz r0, 0x90(r31) -/* 80350314 0034D274 68 00 00 01 */ xori r0, r0, 1 -/* 80350318 0034D278 90 1F 00 90 */ stw r0, 0x90(r31) -/* 8035031C 0034D27C 80 7F 00 84 */ lwz r3, 0x84(r31) -/* 80350320 0034D280 2C 03 00 00 */ cmpwi r3, 0 -/* 80350324 0034D284 41 82 00 78 */ beq lbl_8035039C -/* 80350328 0034D288 80 0D 9D F4 */ lwz r0, lbl_805A89B4@sda21(r13) -/* 8035032C 0034D28C 7C 03 00 00 */ cmpw r3, r0 -/* 80350330 0034D290 40 80 00 0C */ bge lbl_8035033C -/* 80350334 0034D294 38 7F 00 84 */ addi r3, r31, 0x84 -/* 80350338 0034D298 48 00 00 08 */ b lbl_80350340 -lbl_8035033C: -/* 8035033C 0034D29C 38 6D 9D F4 */ addi r3, r13, lbl_805A89B4@sda21 -lbl_80350340: -/* 80350340 0034D2A0 83 83 00 00 */ lwz r28, 0(r3) -/* 80350344 0034D2A4 38 9F 00 20 */ addi r4, r31, 0x20 -/* 80350348 0034D2A8 80 7D 00 00 */ lwz r3, 0(r29) -/* 8035034C 0034D2AC 48 02 12 C5 */ bl DVDFastOpen -/* 80350350 0034D2B0 80 1F 00 90 */ lwz r0, 0x90(r31) -/* 80350354 0034D2B4 3C 60 80 35 */ lis r3, DVDARAMXferCallback__8CDvdFileFlP11DVDFileInfo@ha -/* 80350358 0034D2B8 38 E3 04 B8 */ addi r7, r3, DVDARAMXferCallback__8CDvdFileFlP11DVDFileInfo@l -/* 8035035C 0034D2BC 80 DF 00 80 */ lwz r6, 0x80(r31) -/* 80350360 0034D2C0 54 03 18 38 */ slwi r3, r0, 3 -/* 80350364 0034D2C4 7F 85 E3 78 */ mr r5, r28 -/* 80350368 0034D2C8 38 03 00 04 */ addi r0, r3, 4 -/* 8035036C 0034D2CC 39 00 00 02 */ li r8, 2 -/* 80350370 0034D2D0 7C 9E 00 2E */ lwzx r4, r30, r0 -/* 80350374 0034D2D4 38 7F 00 20 */ addi r3, r31, 0x20 -/* 80350378 0034D2D8 48 02 16 1D */ bl DVDReadAsyncPrio -/* 8035037C 0034D2DC 80 7F 00 80 */ lwz r3, 0x80(r31) -/* 80350380 0034D2E0 38 00 00 00 */ li r0, 0 -/* 80350384 0034D2E4 7C 63 E2 14 */ add r3, r3, r28 -/* 80350388 0034D2E8 90 7F 00 80 */ stw r3, 0x80(r31) -/* 8035038C 0034D2EC 80 7F 00 84 */ lwz r3, 0x84(r31) -/* 80350390 0034D2F0 7C 7C 18 50 */ subf r3, r28, r3 -/* 80350394 0034D2F4 90 7F 00 84 */ stw r3, 0x84(r31) -/* 80350398 0034D2F8 98 1F 00 79 */ stb r0, 0x79(r31) -lbl_8035039C: -/* 8035039C 0034D2FC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 803503A0 0034D300 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 803503A4 0034D304 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 803503A8 0034D308 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 803503AC 0034D30C 83 81 00 10 */ lwz r28, 0x10(r1) -/* 803503B0 0034D310 7C 08 03 A6 */ mtlr r0 -/* 803503B4 0034D314 38 21 00 20 */ addi r1, r1, 0x20 -/* 803503B8 0034D318 4E 80 00 20 */ blr - -.global HandleDVDInterrupt__8CDvdFileFv -HandleDVDInterrupt__8CDvdFileFv: -/* 803503BC 0034D31C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803503C0 0034D320 7C 08 02 A6 */ mflr r0 -/* 803503C4 0034D324 90 01 00 14 */ stw r0, 0x14(r1) -/* 803503C8 0034D328 93 E1 00 0C */ stw r31, 0xc(r1) -/* 803503CC 0034D32C 93 C1 00 08 */ stw r30, 8(r1) -/* 803503D0 0034D330 7C 7E 1B 78 */ mr r30, r3 -/* 803503D4 0034D334 48 03 12 8D */ bl OSDisableInterrupts -/* 803503D8 0034D338 80 9E 00 0C */ lwz r4, 0xc(r30) -/* 803503DC 0034D33C 38 00 00 01 */ li r0, 1 -/* 803503E0 0034D340 7C 7F 1B 78 */ mr r31, r3 -/* 803503E4 0034D344 98 04 00 79 */ stb r0, 0x79(r4) -/* 803503E8 0034D348 88 04 00 78 */ lbz r0, 0x78(r4) -/* 803503EC 0034D34C 28 00 00 00 */ cmplwi r0, 0 -/* 803503F0 0034D350 41 82 00 18 */ beq lbl_80350408 -/* 803503F4 0034D354 88 04 00 79 */ lbz r0, 0x79(r4) -/* 803503F8 0034D358 28 00 00 00 */ cmplwi r0, 0 -/* 803503FC 0034D35C 41 82 00 0C */ beq lbl_80350408 -/* 80350400 0034D360 7F C3 F3 78 */ mr r3, r30 -/* 80350404 0034D364 4B FF FE 59 */ bl PingARAMTransfer__8CDvdFileFv -lbl_80350408: -/* 80350408 0034D368 7F E3 FB 78 */ mr r3, r31 -/* 8035040C 0034D36C 48 03 12 7D */ bl OSRestoreInterrupts -/* 80350410 0034D370 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80350414 0034D374 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80350418 0034D378 83 C1 00 08 */ lwz r30, 8(r1) -/* 8035041C 0034D37C 7C 08 03 A6 */ mtlr r0 -/* 80350420 0034D380 38 21 00 10 */ addi r1, r1, 0x10 -/* 80350424 0034D384 4E 80 00 20 */ blr - -.global HandleARAMInterrupt__8CDvdFileFv -HandleARAMInterrupt__8CDvdFileFv: -/* 80350428 0034D388 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8035042C 0034D38C 7C 08 02 A6 */ mflr r0 -/* 80350430 0034D390 90 01 00 14 */ stw r0, 0x14(r1) -/* 80350434 0034D394 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80350438 0034D398 93 C1 00 08 */ stw r30, 8(r1) -/* 8035043C 0034D39C 7C 7E 1B 78 */ mr r30, r3 -/* 80350440 0034D3A0 48 03 12 21 */ bl OSDisableInterrupts -/* 80350444 0034D3A4 80 9E 00 0C */ lwz r4, 0xc(r30) -/* 80350448 0034D3A8 38 00 00 01 */ li r0, 1 -/* 8035044C 0034D3AC 7C 7F 1B 78 */ mr r31, r3 -/* 80350450 0034D3B0 98 04 00 78 */ stb r0, 0x78(r4) -/* 80350454 0034D3B4 88 04 00 78 */ lbz r0, 0x78(r4) -/* 80350458 0034D3B8 28 00 00 00 */ cmplwi r0, 0 -/* 8035045C 0034D3BC 41 82 00 18 */ beq lbl_80350474 -/* 80350460 0034D3C0 88 04 00 79 */ lbz r0, 0x79(r4) -/* 80350464 0034D3C4 28 00 00 00 */ cmplwi r0, 0 -/* 80350468 0034D3C8 41 82 00 0C */ beq lbl_80350474 -/* 8035046C 0034D3CC 7F C3 F3 78 */ mr r3, r30 -/* 80350470 0034D3D0 4B FF FD ED */ bl PingARAMTransfer__8CDvdFileFv -lbl_80350474: -/* 80350474 0034D3D4 7F E3 FB 78 */ mr r3, r31 -/* 80350478 0034D3D8 48 03 12 11 */ bl OSRestoreInterrupts -/* 8035047C 0034D3DC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80350480 0034D3E0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80350484 0034D3E4 83 C1 00 08 */ lwz r30, 8(r1) -/* 80350488 0034D3E8 7C 08 03 A6 */ mtlr r0 -/* 8035048C 0034D3EC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80350490 0034D3F0 4E 80 00 20 */ blr - -.global ARAMARAMXferCallback__8CDvdFileFUl -ARAMARAMXferCallback__8CDvdFileFUl: -/* 80350494 0034D3F4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80350498 0034D3F8 7C 08 02 A6 */ mflr r0 -/* 8035049C 0034D3FC 90 01 00 14 */ stw r0, 0x14(r1) -/* 803504A0 0034D400 80 63 00 5C */ lwz r3, 0x5c(r3) -/* 803504A4 0034D404 4B FF FF 85 */ bl HandleARAMInterrupt__8CDvdFileFv -/* 803504A8 0034D408 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803504AC 0034D40C 7C 08 03 A6 */ mtlr r0 -/* 803504B0 0034D410 38 21 00 10 */ addi r1, r1, 0x10 -/* 803504B4 0034D414 4E 80 00 20 */ blr - -.global DVDARAMXferCallback__8CDvdFileFlP11DVDFileInfo -DVDARAMXferCallback__8CDvdFileFlP11DVDFileInfo: -/* 803504B8 0034D418 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803504BC 0034D41C 7C 08 02 A6 */ mflr r0 -/* 803504C0 0034D420 90 01 00 14 */ stw r0, 0x14(r1) -/* 803504C4 0034D424 93 E1 00 0C */ stw r31, 0xc(r1) -/* 803504C8 0034D428 7C 9F 23 78 */ mr r31, r4 -/* 803504CC 0034D42C 7F E3 FB 78 */ mr r3, r31 -/* 803504D0 0034D430 48 02 12 7D */ bl DVDClose -/* 803504D4 0034D434 80 7F 00 3C */ lwz r3, 0x3c(r31) -/* 803504D8 0034D438 4B FF FE E5 */ bl HandleDVDInterrupt__8CDvdFileFv -/* 803504DC 0034D43C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803504E0 0034D440 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 803504E4 0034D444 7C 08 03 A6 */ mtlr r0 -/* 803504E8 0034D448 38 21 00 10 */ addi r1, r1, 0x10 -/* 803504EC 0034D44C 4E 80 00 20 */ blr - -.global DecodeARAMFile__FPCc -DecodeARAMFile__FPCc: -/* 803504F0 0034D450 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803504F4 0034D454 7C 08 02 A6 */ mflr r0 -/* 803504F8 0034D458 3C 80 80 3E */ lis r4, lbl_803D8230@ha -/* 803504FC 0034D45C 38 A0 00 05 */ li r5, 5 -/* 80350500 0034D460 90 01 00 14 */ stw r0, 0x14(r1) -/* 80350504 0034D464 38 84 82 30 */ addi r4, r4, lbl_803D8230@l -/* 80350508 0034D468 38 84 00 07 */ addi r4, r4, 7 -/* 8035050C 0034D46C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80350510 0034D470 7C 7F 1B 78 */ mr r31, r3 -/* 80350514 0034D474 48 03 FA 49 */ bl strncmp -/* 80350518 0034D478 2C 03 00 00 */ cmpwi r3, 0 -/* 8035051C 0034D47C 41 82 00 0C */ beq lbl_80350528 -/* 80350520 0034D480 7F E3 FB 78 */ mr r3, r31 -/* 80350524 0034D484 48 00 00 08 */ b lbl_8035052C -lbl_80350528: -/* 80350528 0034D488 38 7F 00 05 */ addi r3, r31, 5 -lbl_8035052C: -/* 8035052C 0034D48C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80350530 0034D490 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80350534 0034D494 7C 08 03 A6 */ mtlr r0 -/* 80350538 0034D498 38 21 00 10 */ addi r1, r1, 0x10 -/* 8035053C 0034D49C 4E 80 00 20 */ blr - -.global sub_80350540 -sub_80350540: -/* 80350540 0034D4A0 54 85 04 3E */ clrlwi r5, r4, 0x10 -/* 80350544 0034D4A4 28 05 00 04 */ cmplwi r5, 4 -/* 80350548 0034D4A8 40 80 00 48 */ bge lbl_80350590 -/* 8035054C 0034D4AC 28 05 00 03 */ cmplwi r5, 3 -/* 80350550 0034D4B0 40 82 00 0C */ bne lbl_8035055C -/* 80350554 0034D4B4 38 A0 00 60 */ li r5, 0x60 -/* 80350558 0034D4B8 48 00 00 14 */ b lbl_8035056C -lbl_8035055C: -/* 8035055C 0034D4BC 28 05 00 02 */ cmplwi r5, 2 -/* 80350560 0034D4C0 38 A0 00 20 */ li r5, 0x20 -/* 80350564 0034D4C4 40 82 00 08 */ bne lbl_8035056C -/* 80350568 0034D4C8 38 A0 00 40 */ li r5, 0x40 -lbl_8035056C: -/* 8035056C 0034D4CC 54 80 04 3E */ clrlwi r0, r4, 0x10 -/* 80350570 0034D4D0 60 A4 00 80 */ ori r4, r5, 0x80 -/* 80350574 0034D4D4 28 00 00 01 */ cmplwi r0, 1 -/* 80350578 0034D4D8 98 83 00 00 */ stb r4, 0(r3) -/* 8035057C 0034D4DC 54 84 06 3E */ clrlwi r4, r4, 0x18 -/* 80350580 0034D4E0 4C 81 00 20 */ blelr -/* 80350584 0034D4E4 7C 63 02 14 */ add r3, r3, r0 -/* 80350588 0034D4E8 98 83 FF FF */ stb r4, -1(r3) -/* 8035058C 0034D4EC 4E 80 00 20 */ blr -lbl_80350590: -/* 80350590 0034D4F0 54 80 C6 3E */ rlwinm r0, r4, 0x18, 0x18, 0x1f -/* 80350594 0034D4F4 7C A3 2A 14 */ add r5, r3, r5 -/* 80350598 0034D4F8 60 00 00 80 */ ori r0, r0, 0x80 -/* 8035059C 0034D4FC 98 03 00 00 */ stb r0, 0(r3) -/* 803505A0 0034D500 98 83 00 01 */ stb r4, 1(r3) -/* 803505A4 0034D504 98 85 FF FE */ stb r4, -2(r5) -/* 803505A8 0034D508 98 05 FF FF */ stb r0, -1(r5) -/* 803505AC 0034D50C 4E 80 00 20 */ blr - -.global sub_803505b0 -sub_803505b0: -/* 803505B0 0034D510 7C 03 20 50 */ subf r0, r3, r4 -/* 803505B4 0034D514 2C 00 00 01 */ cmpwi r0, 1 -/* 803505B8 0034D518 40 81 00 0C */ ble lbl_803505C4 -/* 803505BC 0034D51C 88 83 00 01 */ lbz r4, 1(r3) -/* 803505C0 0034D520 48 00 00 08 */ b lbl_803505C8 -lbl_803505C4: -/* 803505C4 0034D524 38 80 00 00 */ li r4, 0 -lbl_803505C8: -/* 803505C8 0034D528 88 03 00 00 */ lbz r0, 0(r3) -/* 803505CC 0034D52C 54 83 06 3E */ clrlwi r3, r4, 0x18 -/* 803505D0 0034D530 54 00 44 6E */ rlwinm r0, r0, 8, 0x11, 0x17 -/* 803505D4 0034D534 7C 63 02 14 */ add r3, r3, r0 -/* 803505D8 0034D538 54 60 04 65 */ rlwinm. r0, r3, 0, 0x11, 0x12 -/* 803505DC 0034D53C 54 63 04 3E */ clrlwi r3, r3, 0x10 -/* 803505E0 0034D540 4D 82 00 20 */ beqlr -/* 803505E4 0034D544 28 00 60 00 */ cmplwi r0, 0x6000 -/* 803505E8 0034D548 40 82 00 0C */ bne lbl_803505F4 -/* 803505EC 0034D54C 38 00 00 03 */ li r0, 3 -/* 803505F0 0034D550 48 00 00 14 */ b lbl_80350604 -lbl_803505F4: -/* 803505F4 0034D554 20 00 40 00 */ subfic r0, r0, 0x4000 -/* 803505F8 0034D558 7C 00 00 34 */ cntlzw r0, r0 -/* 803505FC 0034D55C 54 03 D9 7E */ srwi r3, r0, 5 -/* 80350600 0034D560 38 03 00 01 */ addi r0, r3, 1 -lbl_80350604: -/* 80350604 0034D564 54 03 04 3E */ clrlwi r3, r0, 0x10 -/* 80350608 0034D568 4E 80 00 20 */ blr - -.global sub_8035060c -sub_8035060c: -/* 8035060C 0034D56C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80350610 0034D570 7C 08 02 A6 */ mflr r0 -/* 80350614 0034D574 90 01 00 24 */ stw r0, 0x24(r1) -/* 80350618 0034D578 BF 61 00 0C */ stmw r27, 0xc(r1) -/* 8035061C 0034D57C 7C 7B 1B 78 */ mr r27, r3 -/* 80350620 0034D580 3B 80 00 00 */ li r28, 0 -/* 80350624 0034D584 80 03 00 04 */ lwz r0, 4(r3) -/* 80350628 0034D588 80 63 00 08 */ lwz r3, 8(r3) -/* 8035062C 0034D58C 7C 80 20 50 */ subf r4, r0, r4 -/* 80350630 0034D590 80 1B 00 14 */ lwz r0, 0x14(r27) -/* 80350634 0034D594 54 84 D9 7E */ srwi r4, r4, 5 -/* 80350638 0034D598 7C C3 20 AE */ lbzx r6, r3, r4 -/* 8035063C 0034D59C 7C 00 32 14 */ add r0, r0, r6 -/* 80350640 0034D5A0 7C DD 33 78 */ mr r29, r6 -/* 80350644 0034D5A4 90 1B 00 14 */ stw r0, 0x14(r27) -/* 80350648 0034D5A8 80 7B 00 18 */ lwz r3, 0x18(r27) -/* 8035064C 0034D5AC 38 03 FF FF */ addi r0, r3, -1 -/* 80350650 0034D5B0 90 1B 00 18 */ stw r0, 0x18(r27) -/* 80350654 0034D5B4 83 FB 00 08 */ lwz r31, 8(r27) -/* 80350658 0034D5B8 80 1B 00 0C */ lwz r0, 0xc(r27) -/* 8035065C 0034D5BC 7C FF 22 14 */ add r7, r31, r4 -/* 80350660 0034D5C0 80 7B 00 1C */ lwz r3, 0x1c(r27) -/* 80350664 0034D5C4 7C 00 38 40 */ cmplw r0, r7 -/* 80350668 0034D5C8 7C FE 3B 78 */ mr r30, r7 -/* 8035066C 0034D5CC 7C 9F 1A 14 */ add r4, r31, r3 -/* 80350670 0034D5D0 40 82 00 08 */ bne lbl_80350678 -/* 80350674 0034D5D4 3B 80 00 01 */ li r28, 1 -lbl_80350678: -/* 80350678 0034D5D8 7C 07 F8 40 */ cmplw r7, r31 -/* 8035067C 0034D5DC 40 81 00 60 */ ble lbl_803506DC -/* 80350680 0034D5E0 88 A7 FF FF */ lbz r5, -1(r7) -/* 80350684 0034D5E4 54 A0 06 31 */ rlwinm. r0, r5, 0, 0x18, 0x18 -/* 80350688 0034D5E8 41 82 00 54 */ beq lbl_803506DC -/* 8035068C 0034D5EC 54 A0 06 75 */ rlwinm. r0, r5, 0, 0x19, 0x1a -/* 80350690 0034D5F0 40 82 00 18 */ bne lbl_803506A8 -/* 80350694 0034D5F4 88 67 FF FE */ lbz r3, -2(r7) -/* 80350698 0034D5F8 54 A0 44 6E */ rlwinm r0, r5, 8, 0x11, 0x17 -/* 8035069C 0034D5FC 7C 03 02 14 */ add r0, r3, r0 -/* 803506A0 0034D600 54 00 04 3E */ clrlwi r0, r0, 0x10 -/* 803506A4 0034D604 48 00 00 28 */ b lbl_803506CC -lbl_803506A8: -/* 803506A8 0034D608 28 00 00 60 */ cmplwi r0, 0x60 -/* 803506AC 0034D60C 40 82 00 0C */ bne lbl_803506B8 -/* 803506B0 0034D610 38 00 00 03 */ li r0, 3 -/* 803506B4 0034D614 48 00 00 14 */ b lbl_803506C8 -lbl_803506B8: -/* 803506B8 0034D618 20 00 00 40 */ subfic r0, r0, 0x40 -/* 803506BC 0034D61C 7C 00 00 34 */ cntlzw r0, r0 -/* 803506C0 0034D620 54 03 D9 7E */ srwi r3, r0, 5 -/* 803506C4 0034D624 38 03 00 01 */ addi r0, r3, 1 -lbl_803506C8: -/* 803506C8 0034D628 54 00 04 3E */ clrlwi r0, r0, 0x10 -lbl_803506CC: -/* 803506CC 0034D62C 54 03 04 3E */ clrlwi r3, r0, 0x10 -/* 803506D0 0034D630 7C 1D 02 14 */ add r0, r29, r0 -/* 803506D4 0034D634 7F C3 F0 50 */ subf r30, r3, r30 -/* 803506D8 0034D638 54 1D 04 3E */ clrlwi r29, r0, 0x10 -lbl_803506DC: -/* 803506DC 0034D63C 7C 67 32 14 */ add r3, r7, r6 -/* 803506E0 0034D640 7C 03 20 40 */ cmplw r3, r4 -/* 803506E4 0034D644 40 80 00 1C */ bge lbl_80350700 -/* 803506E8 0034D648 88 03 00 00 */ lbz r0, 0(r3) -/* 803506EC 0034D64C 54 00 06 31 */ rlwinm. r0, r0, 0, 0x18, 0x18 -/* 803506F0 0034D650 40 81 00 10 */ ble lbl_80350700 -/* 803506F4 0034D654 4B FF FE BD */ bl sub_803505b0 -/* 803506F8 0034D658 7C 1D 1A 14 */ add r0, r29, r3 -/* 803506FC 0034D65C 54 1D 04 3E */ clrlwi r29, r0, 0x10 -lbl_80350700: -/* 80350700 0034D660 7F C3 F3 78 */ mr r3, r30 -/* 80350704 0034D664 57 A4 04 3E */ clrlwi r4, r29, 0x10 -/* 80350708 0034D668 4B FF FE 39 */ bl sub_80350540 -/* 8035070C 0034D66C 57 80 06 3F */ clrlwi. r0, r28, 0x18 -/* 80350710 0034D670 41 82 00 24 */ beq lbl_80350734 -/* 80350714 0034D674 7C 1E F8 40 */ cmplw r30, r31 -/* 80350718 0034D678 40 82 00 10 */ bne lbl_80350728 -/* 8035071C 0034D67C 38 00 00 00 */ li r0, 0 -/* 80350720 0034D680 90 1B 00 0C */ stw r0, 0xc(r27) -/* 80350724 0034D684 48 00 00 10 */ b lbl_80350734 -lbl_80350728: -/* 80350728 0034D688 88 1E FF FF */ lbz r0, -1(r30) -/* 8035072C 0034D68C 7C 00 F0 50 */ subf r0, r0, r30 -/* 80350730 0034D690 90 1B 00 0C */ stw r0, 0xc(r27) -lbl_80350734: -/* 80350734 0034D694 BB 61 00 0C */ lmw r27, 0xc(r1) -/* 80350738 0034D698 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8035073C 0034D69C 7C 08 03 A6 */ mtlr r0 -/* 80350740 0034D6A0 38 21 00 20 */ addi r1, r1, 0x20 -/* 80350744 0034D6A4 4E 80 00 20 */ blr - -.global sub_80350748 -sub_80350748: -/* 80350748 0034D6A8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8035074C 0034D6AC 7C 08 02 A6 */ mflr r0 -/* 80350750 0034D6B0 90 01 00 24 */ stw r0, 0x24(r1) -/* 80350754 0034D6B4 BF 41 00 08 */ stmw r26, 8(r1) -/* 80350758 0034D6B8 7C 9B 23 78 */ mr r27, r4 -/* 8035075C 0034D6BC 7C 7A 1B 78 */ mr r26, r3 -/* 80350760 0034D6C0 80 03 00 14 */ lwz r0, 0x14(r3) -/* 80350764 0034D6C4 7C 00 D8 40 */ cmplw r0, r27 -/* 80350768 0034D6C8 41 80 00 A8 */ blt lbl_80350810 -/* 8035076C 0034D6CC 83 FA 00 0C */ lwz r31, 0xc(r26) -/* 80350770 0034D6D0 83 DA 00 08 */ lwz r30, 8(r26) -/* 80350774 0034D6D4 28 1F 00 00 */ cmplwi r31, 0 -/* 80350778 0034D6D8 40 82 00 08 */ bne lbl_80350780 -/* 8035077C 0034D6DC 7F DF F3 78 */ mr r31, r30 -lbl_80350780: -/* 80350780 0034D6E0 80 1A 00 1C */ lwz r0, 0x1c(r26) -/* 80350784 0034D6E4 7F FC FB 78 */ mr r28, r31 -/* 80350788 0034D6E8 7F BE 02 14 */ add r29, r30, r0 -lbl_8035078C: -/* 8035078C 0034D6EC 88 7C 00 00 */ lbz r3, 0(r28) -/* 80350790 0034D6F0 54 60 06 31 */ rlwinm. r0, r3, 0, 0x18, 0x18 -/* 80350794 0034D6F4 41 82 00 0C */ beq lbl_803507A0 -/* 80350798 0034D6F8 7C 1C E8 40 */ cmplw r28, r29 -/* 8035079C 0034D6FC 40 82 00 1C */ bne lbl_803507B8 -lbl_803507A0: -/* 803507A0 0034D700 7C 1C E8 40 */ cmplw r28, r29 -/* 803507A4 0034D704 40 82 00 0C */ bne lbl_803507B0 -/* 803507A8 0034D708 7F DC F3 78 */ mr r28, r30 -/* 803507AC 0034D70C 48 00 00 5C */ b lbl_80350808 -lbl_803507B0: -/* 803507B0 0034D710 7F 9C 1A 14 */ add r28, r28, r3 -/* 803507B4 0034D714 48 00 00 54 */ b lbl_80350808 -lbl_803507B8: -/* 803507B8 0034D718 7F 83 E3 78 */ mr r3, r28 -/* 803507BC 0034D71C 7F A4 EB 78 */ mr r4, r29 -/* 803507C0 0034D720 4B FF FD F1 */ bl sub_803505b0 -/* 803507C4 0034D724 54 60 04 3E */ clrlwi r0, r3, 0x10 -/* 803507C8 0034D728 7C 00 D8 40 */ cmplw r0, r27 -/* 803507CC 0034D72C 41 80 00 24 */ blt lbl_803507F0 -/* 803507D0 0034D730 7C 1B 00 50 */ subf r0, r27, r0 -/* 803507D4 0034D734 54 04 04 3F */ clrlwi. r4, r0, 0x10 -/* 803507D8 0034D738 41 82 00 0C */ beq lbl_803507E4 -/* 803507DC 0034D73C 7C 7C DA 14 */ add r3, r28, r27 -/* 803507E0 0034D740 4B FF FD 61 */ bl sub_80350540 -lbl_803507E4: -/* 803507E4 0034D744 93 9A 00 0C */ stw r28, 0xc(r26) -/* 803507E8 0034D748 7F 83 E3 78 */ mr r3, r28 -/* 803507EC 0034D74C 48 00 00 28 */ b lbl_80350814 -lbl_803507F0: -/* 803507F0 0034D750 7F 9C 02 14 */ add r28, r28, r0 -/* 803507F4 0034D754 7C 1C F8 40 */ cmplw r28, r31 -/* 803507F8 0034D758 41 82 00 18 */ beq lbl_80350810 -/* 803507FC 0034D75C 7C 1C E8 40 */ cmplw r28, r29 -/* 80350800 0034D760 40 82 00 08 */ bne lbl_80350808 -/* 80350804 0034D764 7F DC F3 78 */ mr r28, r30 -lbl_80350808: -/* 80350808 0034D768 7C 1C F8 40 */ cmplw r28, r31 -/* 8035080C 0034D76C 40 82 FF 80 */ bne lbl_8035078C -lbl_80350810: -/* 80350810 0034D770 38 60 00 00 */ li r3, 0 -lbl_80350814: -/* 80350814 0034D774 BB 41 00 08 */ lmw r26, 8(r1) -/* 80350818 0034D778 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8035081C 0034D77C 7C 08 03 A6 */ mtlr r0 -/* 80350820 0034D780 38 21 00 20 */ addi r1, r1, 0x20 -/* 80350824 0034D784 4E 80 00 20 */ blr - -.global FindFree__16CMediumAllocPoolFi -FindFree__16CMediumAllocPoolFi: -/* 80350828 0034D788 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8035082C 0034D78C 7C 08 02 A6 */ mflr r0 -/* 80350830 0034D790 90 01 00 14 */ stw r0, 0x14(r1) -/* 80350834 0034D794 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80350838 0034D798 7C 9F 23 78 */ mr r31, r4 -/* 8035083C 0034D79C 93 C1 00 08 */ stw r30, 8(r1) -/* 80350840 0034D7A0 7C 7E 1B 78 */ mr r30, r3 -/* 80350844 0034D7A4 4B FF FF 05 */ bl sub_80350748 -/* 80350848 0034D7A8 28 03 00 00 */ cmplwi r3, 0 -/* 8035084C 0034D7AC 40 82 00 0C */ bne lbl_80350858 -/* 80350850 0034D7B0 38 60 00 00 */ li r3, 0 -/* 80350854 0034D7B4 48 00 00 3C */ b lbl_80350890 -lbl_80350858: -/* 80350858 0034D7B8 80 1E 00 08 */ lwz r0, 8(r30) -/* 8035085C 0034D7BC 7C 83 FA 14 */ add r4, r3, r31 -/* 80350860 0034D7C0 80 BE 00 04 */ lwz r5, 4(r30) -/* 80350864 0034D7C4 7C 00 18 50 */ subf r0, r0, r3 -/* 80350868 0034D7C8 9B E3 00 00 */ stb r31, 0(r3) -/* 8035086C 0034D7CC 54 00 28 34 */ slwi r0, r0, 5 -/* 80350870 0034D7D0 7C 65 02 14 */ add r3, r5, r0 -/* 80350874 0034D7D4 9B E4 FF FF */ stb r31, -1(r4) -/* 80350878 0034D7D8 80 1E 00 14 */ lwz r0, 0x14(r30) -/* 8035087C 0034D7DC 7C 1F 00 50 */ subf r0, r31, r0 -/* 80350880 0034D7E0 90 1E 00 14 */ stw r0, 0x14(r30) -/* 80350884 0034D7E4 80 9E 00 18 */ lwz r4, 0x18(r30) -/* 80350888 0034D7E8 38 04 00 01 */ addi r0, r4, 1 -/* 8035088C 0034D7EC 90 1E 00 18 */ stw r0, 0x18(r30) -lbl_80350890: -/* 80350890 0034D7F0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80350894 0034D7F4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80350898 0034D7F8 83 C1 00 08 */ lwz r30, 8(r1) -/* 8035089C 0034D7FC 7C 08 03 A6 */ mtlr r0 -/* 803508A0 0034D800 38 21 00 10 */ addi r1, r1, 0x10 -/* 803508A4 0034D804 4E 80 00 20 */ blr - -.global __dt__18SMediumAllocPuddleFv -__dt__18SMediumAllocPuddleFv: -/* 803508A8 0034D808 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803508AC 0034D80C 7C 08 02 A6 */ mflr r0 -/* 803508B0 0034D810 90 01 00 14 */ stw r0, 0x14(r1) -/* 803508B4 0034D814 93 E1 00 0C */ stw r31, 0xc(r1) -/* 803508B8 0034D818 7C 9F 23 78 */ mr r31, r4 -/* 803508BC 0034D81C 93 C1 00 08 */ stw r30, 8(r1) -/* 803508C0 0034D820 7C 7E 1B 79 */ or. r30, r3, r3 -/* 803508C4 0034D824 41 82 00 2C */ beq lbl_803508F0 -/* 803508C8 0034D828 41 82 00 18 */ beq lbl_803508E0 -/* 803508CC 0034D82C 88 1E 00 00 */ lbz r0, 0(r30) -/* 803508D0 0034D830 28 00 00 00 */ cmplwi r0, 0 -/* 803508D4 0034D834 41 82 00 0C */ beq lbl_803508E0 -/* 803508D8 0034D838 80 7E 00 04 */ lwz r3, 4(r30) -/* 803508DC 0034D83C 4B FC 50 55 */ bl Free__7CMemoryFPCv -lbl_803508E0: -/* 803508E0 0034D840 7F E0 07 35 */ extsh. r0, r31 -/* 803508E4 0034D844 40 81 00 0C */ ble lbl_803508F0 -/* 803508E8 0034D848 7F C3 F3 78 */ mr r3, r30 -/* 803508EC 0034D84C 4B FC 50 45 */ bl Free__7CMemoryFPCv -lbl_803508F0: -/* 803508F0 0034D850 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803508F4 0034D854 7F C3 F3 78 */ mr r3, r30 -/* 803508F8 0034D858 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 803508FC 0034D85C 83 C1 00 08 */ lwz r30, 8(r1) -/* 80350900 0034D860 7C 08 03 A6 */ mtlr r0 -/* 80350904 0034D864 38 21 00 10 */ addi r1, r1, 0x10 -/* 80350908 0034D868 4E 80 00 20 */ blr - -.global __ct__18SMediumAllocPuddleFUiPvPv -__ct__18SMediumAllocPuddleFUiPvPv: -/* 8035090C 0034D86C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80350910 0034D870 7C 08 02 A6 */ mflr r0 -/* 80350914 0034D874 38 E0 00 00 */ li r7, 0 -/* 80350918 0034D878 7C 89 23 78 */ mr r9, r4 -/* 8035091C 0034D87C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80350920 0034D880 7C 05 00 D0 */ neg r0, r5 -/* 80350924 0034D884 7C 00 2B 78 */ or r0, r0, r5 -/* 80350928 0034D888 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8035092C 0034D88C 7C 7F 1B 78 */ mr r31, r3 -/* 80350930 0034D890 54 03 0F FE */ srwi r3, r0, 0x1f -/* 80350934 0034D894 54 80 28 34 */ slwi r0, r4, 5 -/* 80350938 0034D898 98 7F 00 00 */ stb r3, 0(r31) -/* 8035093C 0034D89C 7D 05 02 14 */ add r8, r5, r0 -/* 80350940 0034D8A0 38 00 FF FF */ li r0, -1 -/* 80350944 0034D8A4 54 84 04 3E */ clrlwi r4, r4, 0x10 -/* 80350948 0034D8A8 90 BF 00 04 */ stw r5, 4(r31) -/* 8035094C 0034D8AC 91 1F 00 08 */ stw r8, 8(r31) -/* 80350950 0034D8B0 90 FF 00 0C */ stw r7, 0xc(r31) -/* 80350954 0034D8B4 90 1F 00 10 */ stw r0, 0x10(r31) -/* 80350958 0034D8B8 91 3F 00 14 */ stw r9, 0x14(r31) -/* 8035095C 0034D8BC 90 FF 00 18 */ stw r7, 0x18(r31) -/* 80350960 0034D8C0 91 3F 00 1C */ stw r9, 0x1c(r31) -/* 80350964 0034D8C4 88 1F 00 20 */ lbz r0, 0x20(r31) -/* 80350968 0034D8C8 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 -/* 8035096C 0034D8CC 98 1F 00 20 */ stb r0, 0x20(r31) -/* 80350970 0034D8D0 80 7F 00 08 */ lwz r3, 8(r31) -/* 80350974 0034D8D4 4B FF FB CD */ bl sub_80350540 -/* 80350978 0034D8D8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8035097C 0034D8DC 7F E3 FB 78 */ mr r3, r31 -/* 80350980 0034D8E0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80350984 0034D8E4 7C 08 03 A6 */ mtlr r0 -/* 80350988 0034D8E8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8035098C 0034D8EC 4E 80 00 20 */ blr - -.global AddPuddle__16CMediumAllocPoolFUiPvPvi -AddPuddle__16CMediumAllocPoolFUiPvPvi: -/* 80350990 0034D8F0 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80350994 0034D8F4 7C 08 02 A6 */ mflr r0 -/* 80350998 0034D8F8 90 01 00 44 */ stw r0, 0x44(r1) -/* 8035099C 0034D8FC 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 803509A0 0034D900 7C 7F 1B 78 */ mr r31, r3 -/* 803509A4 0034D904 38 61 00 08 */ addi r3, r1, 8 -/* 803509A8 0034D908 4B FF FF 65 */ bl __ct__18SMediumAllocPuddleFUiPvPv -/* 803509AC 0034D90C 7F E3 FB 78 */ mr r3, r31 -/* 803509B0 0034D910 38 81 00 08 */ addi r4, r1, 8 -/* 803509B4 0034D914 48 00 00 39 */ bl sub_803509ec -/* 803509B8 0034D918 38 61 00 08 */ addi r3, r1, 8 -/* 803509BC 0034D91C 38 80 FF FF */ li r4, -1 -/* 803509C0 0034D920 4B FF FE E9 */ bl __dt__18SMediumAllocPuddleFv -/* 803509C4 0034D924 80 1F 00 08 */ lwz r0, 8(r31) -/* 803509C8 0034D928 90 1F 00 18 */ stw r0, 0x18(r31) -/* 803509CC 0034D92C 80 7F 00 18 */ lwz r3, 0x18(r31) -/* 803509D0 0034D930 80 03 00 00 */ lwz r0, 0(r3) -/* 803509D4 0034D934 90 1F 00 18 */ stw r0, 0x18(r31) -/* 803509D8 0034D938 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 803509DC 0034D93C 80 01 00 44 */ lwz r0, 0x44(r1) -/* 803509E0 0034D940 7C 08 03 A6 */ mtlr r0 -/* 803509E4 0034D944 38 21 00 40 */ addi r1, r1, 0x40 -/* 803509E8 0034D948 4E 80 00 20 */ blr - -.global sub_803509ec -sub_803509ec: -/* 803509EC 0034D94C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803509F0 0034D950 7C 08 02 A6 */ mflr r0 -/* 803509F4 0034D954 7C 85 23 78 */ mr r5, r4 -/* 803509F8 0034D958 90 01 00 14 */ stw r0, 0x14(r1) -/* 803509FC 0034D95C 80 83 00 08 */ lwz r4, 8(r3) -/* 80350A00 0034D960 48 00 00 15 */ bl "do_insert_before__Q24rstl53list<18SMediumAllocPuddle,Q24rstl17rmemory_allocator>FPQ34rstl53list<18SMediumAllocPuddle,Q24rstl17rmemory_allocator>4nodeRC18SMediumAllocPuddle" -/* 80350A04 0034D964 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80350A08 0034D968 7C 08 03 A6 */ mtlr r0 -/* 80350A0C 0034D96C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80350A10 0034D970 4E 80 00 20 */ blr - -.global "do_insert_before__Q24rstl53list<18SMediumAllocPuddle,Q24rstl17rmemory_allocator>FPQ34rstl53list<18SMediumAllocPuddle,Q24rstl17rmemory_allocator>4nodeRC18SMediumAllocPuddle" -"do_insert_before__Q24rstl53list<18SMediumAllocPuddle,Q24rstl17rmemory_allocator>FPQ34rstl53list<18SMediumAllocPuddle,Q24rstl17rmemory_allocator>4nodeRC18SMediumAllocPuddle": -/* 80350A14 0034D974 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80350A18 0034D978 7C 08 02 A6 */ mflr r0 -/* 80350A1C 0034D97C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80350A20 0034D980 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80350A24 0034D984 7C 9F 23 78 */ mr r31, r4 -/* 80350A28 0034D988 3C 80 80 3E */ lis r4, lbl_803D8240@ha -/* 80350A2C 0034D98C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80350A30 0034D990 7C 7E 1B 78 */ mr r30, r3 -/* 80350A34 0034D994 38 84 82 40 */ addi r4, r4, lbl_803D8240@l -/* 80350A38 0034D998 38 60 00 2C */ li r3, 0x2c -/* 80350A3C 0034D99C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80350A40 0034D9A0 93 81 00 10 */ stw r28, 0x10(r1) -/* 80350A44 0034D9A4 7C BC 2B 78 */ mr r28, r5 -/* 80350A48 0034D9A8 38 A0 00 00 */ li r5, 0 -/* 80350A4C 0034D9AC 83 BF 00 00 */ lwz r29, 0(r31) -/* 80350A50 0034D9B0 4B FC 4D C9 */ bl __nwa__FUlPCcPCc -/* 80350A54 0034D9B4 28 03 00 00 */ cmplwi r3, 0 -/* 80350A58 0034D9B8 41 82 00 0C */ beq lbl_80350A64 -/* 80350A5C 0034D9BC 93 A3 00 00 */ stw r29, 0(r3) -/* 80350A60 0034D9C0 93 E3 00 04 */ stw r31, 4(r3) -lbl_80350A64: -/* 80350A64 0034D9C4 34 A3 00 08 */ addic. r5, r3, 8 -/* 80350A68 0034D9C8 41 82 00 54 */ beq lbl_80350ABC -/* 80350A6C 0034D9CC 88 9C 00 00 */ lbz r4, 0(r28) -/* 80350A70 0034D9D0 38 00 00 00 */ li r0, 0 -/* 80350A74 0034D9D4 98 85 00 00 */ stb r4, 0(r5) -/* 80350A78 0034D9D8 80 9C 00 04 */ lwz r4, 4(r28) -/* 80350A7C 0034D9DC 90 85 00 04 */ stw r4, 4(r5) -/* 80350A80 0034D9E0 98 1C 00 00 */ stb r0, 0(r28) -/* 80350A84 0034D9E4 80 1C 00 08 */ lwz r0, 8(r28) -/* 80350A88 0034D9E8 90 05 00 08 */ stw r0, 8(r5) -/* 80350A8C 0034D9EC 80 1C 00 0C */ lwz r0, 0xc(r28) -/* 80350A90 0034D9F0 90 05 00 0C */ stw r0, 0xc(r5) -/* 80350A94 0034D9F4 80 1C 00 10 */ lwz r0, 0x10(r28) -/* 80350A98 0034D9F8 90 05 00 10 */ stw r0, 0x10(r5) -/* 80350A9C 0034D9FC 80 1C 00 14 */ lwz r0, 0x14(r28) -/* 80350AA0 0034DA00 90 05 00 14 */ stw r0, 0x14(r5) -/* 80350AA4 0034DA04 80 1C 00 18 */ lwz r0, 0x18(r28) -/* 80350AA8 0034DA08 90 05 00 18 */ stw r0, 0x18(r5) -/* 80350AAC 0034DA0C 80 1C 00 1C */ lwz r0, 0x1c(r28) -/* 80350AB0 0034DA10 90 05 00 1C */ stw r0, 0x1c(r5) -/* 80350AB4 0034DA14 88 1C 00 20 */ lbz r0, 0x20(r28) -/* 80350AB8 0034DA18 98 05 00 20 */ stb r0, 0x20(r5) -lbl_80350ABC: -/* 80350ABC 0034DA1C 80 1E 00 04 */ lwz r0, 4(r30) -/* 80350AC0 0034DA20 7C 1F 00 40 */ cmplw r31, r0 -/* 80350AC4 0034DA24 40 82 00 08 */ bne lbl_80350ACC -/* 80350AC8 0034DA28 90 7E 00 04 */ stw r3, 4(r30) -lbl_80350ACC: -/* 80350ACC 0034DA2C 80 83 00 00 */ lwz r4, 0(r3) -/* 80350AD0 0034DA30 90 64 00 04 */ stw r3, 4(r4) -/* 80350AD4 0034DA34 80 83 00 04 */ lwz r4, 4(r3) -/* 80350AD8 0034DA38 90 64 00 00 */ stw r3, 0(r4) -/* 80350ADC 0034DA3C 80 9E 00 14 */ lwz r4, 0x14(r30) -/* 80350AE0 0034DA40 38 04 00 01 */ addi r0, r4, 1 -/* 80350AE4 0034DA44 90 1E 00 14 */ stw r0, 0x14(r30) -/* 80350AE8 0034DA48 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80350AEC 0034DA4C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80350AF0 0034DA50 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80350AF4 0034DA54 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80350AF8 0034DA58 83 81 00 10 */ lwz r28, 0x10(r1) -/* 80350AFC 0034DA5C 7C 08 03 A6 */ mtlr r0 -/* 80350B00 0034DA60 38 21 00 20 */ addi r1, r1, 0x20 -/* 80350B04 0034DA64 4E 80 00 20 */ blr - -.global GetNumBlocksAvailable__16CMediumAllocPoolFv -GetNumBlocksAvailable__16CMediumAllocPoolFv: -/* 80350B08 0034DA68 80 83 00 04 */ lwz r4, 4(r3) -/* 80350B0C 0034DA6C 38 A0 00 00 */ li r5, 0 -/* 80350B10 0034DA70 80 63 00 08 */ lwz r3, 8(r3) -/* 80350B14 0034DA74 48 00 00 10 */ b lbl_80350B24 -lbl_80350B18: -/* 80350B18 0034DA78 80 04 00 1C */ lwz r0, 0x1c(r4) -/* 80350B1C 0034DA7C 80 84 00 04 */ lwz r4, 4(r4) -/* 80350B20 0034DA80 7C A5 02 14 */ add r5, r5, r0 -lbl_80350B24: -/* 80350B24 0034DA84 7C 04 18 40 */ cmplw r4, r3 -/* 80350B28 0034DA88 40 82 FF F0 */ bne lbl_80350B18 -/* 80350B2C 0034DA8C 7C A3 2B 78 */ mr r3, r5 -/* 80350B30 0034DA90 4E 80 00 20 */ blr - -.global GetTotalEntries__16CMediumAllocPoolFv -GetTotalEntries__16CMediumAllocPoolFv: -/* 80350B34 0034DA94 80 83 00 04 */ lwz r4, 4(r3) -/* 80350B38 0034DA98 38 A0 00 00 */ li r5, 0 -/* 80350B3C 0034DA9C 80 63 00 08 */ lwz r3, 8(r3) -/* 80350B40 0034DAA0 48 00 00 10 */ b lbl_80350B50 -lbl_80350B44: -/* 80350B44 0034DAA4 80 04 00 24 */ lwz r0, 0x24(r4) -/* 80350B48 0034DAA8 80 84 00 04 */ lwz r4, 4(r4) -/* 80350B4C 0034DAAC 7C A5 02 14 */ add r5, r5, r0 -lbl_80350B50: -/* 80350B50 0034DAB0 7C 04 18 40 */ cmplw r4, r3 -/* 80350B54 0034DAB4 40 82 FF F0 */ bne lbl_80350B44 -/* 80350B58 0034DAB8 7C A3 2B 78 */ mr r3, r5 -/* 80350B5C 0034DABC 4E 80 00 20 */ blr - -.global GetNumAllocs__16CMediumAllocPoolFv -GetNumAllocs__16CMediumAllocPoolFv: -/* 80350B60 0034DAC0 80 83 00 04 */ lwz r4, 4(r3) -/* 80350B64 0034DAC4 38 A0 00 00 */ li r5, 0 -/* 80350B68 0034DAC8 80 63 00 08 */ lwz r3, 8(r3) -/* 80350B6C 0034DACC 48 00 00 10 */ b lbl_80350B7C -lbl_80350B70: -/* 80350B70 0034DAD0 80 04 00 20 */ lwz r0, 0x20(r4) -/* 80350B74 0034DAD4 80 84 00 04 */ lwz r4, 4(r4) -/* 80350B78 0034DAD8 7C A5 02 14 */ add r5, r5, r0 -lbl_80350B7C: -/* 80350B7C 0034DADC 7C 04 18 40 */ cmplw r4, r3 -/* 80350B80 0034DAE0 40 82 FF F0 */ bne lbl_80350B70 -/* 80350B84 0034DAE4 7C A3 2B 78 */ mr r3, r5 -/* 80350B88 0034DAE8 4E 80 00 20 */ blr - -.global Free__16CMediumAllocPoolFPCv -Free__16CMediumAllocPoolFPCv: -/* 80350B8C 0034DAEC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80350B90 0034DAF0 7C 08 02 A6 */ mflr r0 -/* 80350B94 0034DAF4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80350B98 0034DAF8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80350B9C 0034DAFC 93 C1 00 08 */ stw r30, 8(r1) -/* 80350BA0 0034DB00 7C 7E 1B 78 */ mr r30, r3 -/* 80350BA4 0034DB04 83 E3 00 04 */ lwz r31, 4(r3) -/* 80350BA8 0034DB08 80 C3 00 08 */ lwz r6, 8(r3) -/* 80350BAC 0034DB0C 48 00 00 68 */ b lbl_80350C14 -lbl_80350BB0: -/* 80350BB0 0034DB10 38 7F 00 08 */ addi r3, r31, 8 -/* 80350BB4 0034DB14 80 BF 00 0C */ lwz r5, 0xc(r31) -/* 80350BB8 0034DB18 80 1F 00 24 */ lwz r0, 0x24(r31) -/* 80350BBC 0034DB1C 7C A5 20 50 */ subf r5, r5, r4 -/* 80350BC0 0034DB20 54 00 28 34 */ slwi r0, r0, 5 -/* 80350BC4 0034DB24 7C 05 00 40 */ cmplw r5, r0 -/* 80350BC8 0034DB28 40 80 00 48 */ bge lbl_80350C10 -/* 80350BCC 0034DB2C 4B FF FA 41 */ bl sub_8035060c -/* 80350BD0 0034DB30 80 1F 00 20 */ lwz r0, 0x20(r31) -/* 80350BD4 0034DB34 28 00 00 00 */ cmplwi r0, 0 -/* 80350BD8 0034DB38 40 82 00 30 */ bne lbl_80350C08 -/* 80350BDC 0034DB3C 88 1F 00 28 */ lbz r0, 0x28(r31) -/* 80350BE0 0034DB40 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80350BE4 0034DB44 41 82 00 24 */ beq lbl_80350C08 -/* 80350BE8 0034DB48 80 1E 00 18 */ lwz r0, 0x18(r30) -/* 80350BEC 0034DB4C 7C 00 F8 40 */ cmplw r0, r31 -/* 80350BF0 0034DB50 40 82 00 0C */ bne lbl_80350BFC -/* 80350BF4 0034DB54 80 1E 00 04 */ lwz r0, 4(r30) -/* 80350BF8 0034DB58 90 1E 00 18 */ stw r0, 0x18(r30) -lbl_80350BFC: -/* 80350BFC 0034DB5C 7F C3 F3 78 */ mr r3, r30 -/* 80350C00 0034DB60 7F E4 FB 78 */ mr r4, r31 -/* 80350C04 0034DB64 48 00 01 8D */ bl "erase__Q24rstl53list<18SMediumAllocPuddle,Q24rstl17rmemory_allocator>FRCQ34rstl53list<18SMediumAllocPuddle,Q24rstl17rmemory_allocator>8iteratorRCQ34rstl53list<18SMediumAllocPuddle,Q24rstl17rmemory_allocator>8iterator" -lbl_80350C08: -/* 80350C08 0034DB68 38 60 00 02 */ li r3, 2 -/* 80350C0C 0034DB6C 48 00 00 14 */ b lbl_80350C20 -lbl_80350C10: -/* 80350C10 0034DB70 83 FF 00 04 */ lwz r31, 4(r31) -lbl_80350C14: -/* 80350C14 0034DB74 7C 1F 30 40 */ cmplw r31, r6 -/* 80350C18 0034DB78 40 82 FF 98 */ bne lbl_80350BB0 -/* 80350C1C 0034DB7C 38 60 00 01 */ li r3, 1 -lbl_80350C20: -/* 80350C20 0034DB80 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80350C24 0034DB84 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80350C28 0034DB88 83 C1 00 08 */ lwz r30, 8(r1) -/* 80350C2C 0034DB8C 7C 08 03 A6 */ mtlr r0 -/* 80350C30 0034DB90 38 21 00 10 */ addi r1, r1, 0x10 -/* 80350C34 0034DB94 4E 80 00 20 */ blr - -.global Alloc__16CMediumAllocPoolFUi -Alloc__16CMediumAllocPoolFUi: -/* 80350C38 0034DB98 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80350C3C 0034DB9C 7C 08 02 A6 */ mflr r0 -/* 80350C40 0034DBA0 28 04 00 20 */ cmplwi r4, 0x20 -/* 80350C44 0034DBA4 90 01 00 24 */ stw r0, 0x24(r1) -/* 80350C48 0034DBA8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80350C4C 0034DBAC 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80350C50 0034DBB0 3B C0 00 01 */ li r30, 1 -/* 80350C54 0034DBB4 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80350C58 0034DBB8 7C 7D 1B 78 */ mr r29, r3 -/* 80350C5C 0034DBBC 80 63 00 18 */ lwz r3, 0x18(r3) -/* 80350C60 0034DBC0 38 63 00 08 */ addi r3, r3, 8 -/* 80350C64 0034DBC4 41 80 00 0C */ blt lbl_80350C70 -/* 80350C68 0034DBC8 38 04 00 1F */ addi r0, r4, 0x1f -/* 80350C6C 0034DBCC 54 1E D9 7E */ srwi r30, r0, 5 -lbl_80350C70: -/* 80350C70 0034DBD0 7F C4 F3 78 */ mr r4, r30 -/* 80350C74 0034DBD4 4B FF FB B5 */ bl FindFree__16CMediumAllocPoolFi -/* 80350C78 0034DBD8 28 03 00 00 */ cmplwi r3, 0 -/* 80350C7C 0034DBDC 40 82 00 44 */ bne lbl_80350CC0 -/* 80350C80 0034DBE0 83 FD 00 04 */ lwz r31, 4(r29) -/* 80350C84 0034DBE4 48 00 00 30 */ b lbl_80350CB4 -lbl_80350C88: -/* 80350C88 0034DBE8 80 1D 00 18 */ lwz r0, 0x18(r29) -/* 80350C8C 0034DBEC 7C 1F 00 40 */ cmplw r31, r0 -/* 80350C90 0034DBF0 41 82 00 20 */ beq lbl_80350CB0 -/* 80350C94 0034DBF4 7F C4 F3 78 */ mr r4, r30 -/* 80350C98 0034DBF8 38 7F 00 08 */ addi r3, r31, 8 -/* 80350C9C 0034DBFC 4B FF FB 8D */ bl FindFree__16CMediumAllocPoolFi -/* 80350CA0 0034DC00 28 03 00 00 */ cmplwi r3, 0 -/* 80350CA4 0034DC04 41 82 00 0C */ beq lbl_80350CB0 -/* 80350CA8 0034DC08 93 FD 00 18 */ stw r31, 0x18(r29) -/* 80350CAC 0034DC0C 48 00 00 14 */ b lbl_80350CC0 -lbl_80350CB0: -/* 80350CB0 0034DC10 83 FF 00 04 */ lwz r31, 4(r31) -lbl_80350CB4: -/* 80350CB4 0034DC14 80 1D 00 08 */ lwz r0, 8(r29) -/* 80350CB8 0034DC18 7C 1F 00 40 */ cmplw r31, r0 -/* 80350CBC 0034DC1C 40 82 FF CC */ bne lbl_80350C88 -lbl_80350CC0: -/* 80350CC0 0034DC20 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80350CC4 0034DC24 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80350CC8 0034DC28 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80350CCC 0034DC2C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80350CD0 0034DC30 7C 08 03 A6 */ mtlr r0 -/* 80350CD4 0034DC34 38 21 00 20 */ addi r1, r1, 0x20 -/* 80350CD8 0034DC38 4E 80 00 20 */ blr - -.global sub_80350cdc -sub_80350cdc: -/* 80350CDC 0034DC3C 80 63 00 14 */ lwz r3, 0x14(r3) -/* 80350CE0 0034DC40 7C 03 00 D0 */ neg r0, r3 -/* 80350CE4 0034DC44 7C 00 1B 78 */ or r0, r0, r3 -/* 80350CE8 0034DC48 54 03 0F FE */ srwi r3, r0, 0x1f -/* 80350CEC 0034DC4C 4E 80 00 20 */ blr - -.global ClearPuddles__16CMediumAllocPoolFv -ClearPuddles__16CMediumAllocPoolFv: -/* 80350CF0 0034DC50 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80350CF4 0034DC54 7C 08 02 A6 */ mflr r0 -/* 80350CF8 0034DC58 90 01 00 14 */ stw r0, 0x14(r1) -/* 80350CFC 0034DC5C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80350D00 0034DC60 93 C1 00 08 */ stw r30, 8(r1) -/* 80350D04 0034DC64 7C 7E 1B 78 */ mr r30, r3 -/* 80350D08 0034DC68 80 03 00 08 */ lwz r0, 8(r3) -/* 80350D0C 0034DC6C 90 03 00 18 */ stw r0, 0x18(r3) -/* 80350D10 0034DC70 80 83 00 04 */ lwz r4, 4(r3) -/* 80350D14 0034DC74 83 E3 00 08 */ lwz r31, 8(r3) -/* 80350D18 0034DC78 7C 83 23 78 */ mr r3, r4 -/* 80350D1C 0034DC7C 48 00 00 08 */ b lbl_80350D24 -lbl_80350D20: -/* 80350D20 0034DC80 80 63 00 04 */ lwz r3, 4(r3) -lbl_80350D24: -/* 80350D24 0034DC84 7C 03 F8 40 */ cmplw r3, r31 -/* 80350D28 0034DC88 40 82 FF F8 */ bne lbl_80350D20 -/* 80350D2C 0034DC8C 48 00 00 10 */ b lbl_80350D3C -lbl_80350D30: -/* 80350D30 0034DC90 7F C3 F3 78 */ mr r3, r30 -/* 80350D34 0034DC94 48 00 00 5D */ bl "erase__Q24rstl53list<18SMediumAllocPuddle,Q24rstl17rmemory_allocator>FRCQ34rstl53list<18SMediumAllocPuddle,Q24rstl17rmemory_allocator>8iteratorRCQ34rstl53list<18SMediumAllocPuddle,Q24rstl17rmemory_allocator>8iterator" -/* 80350D38 0034DC98 7C 64 1B 78 */ mr r4, r3 -lbl_80350D3C: -/* 80350D3C 0034DC9C 7C 04 F8 40 */ cmplw r4, r31 -/* 80350D40 0034DCA0 40 82 FF F0 */ bne lbl_80350D30 -/* 80350D44 0034DCA4 38 00 00 00 */ li r0, 0 -/* 80350D48 0034DCA8 90 0D AA 18 */ stw r0, lbl_805A95D8@sda21(r13) -/* 80350D4C 0034DCAC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80350D50 0034DCB0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80350D54 0034DCB4 83 C1 00 08 */ lwz r30, 8(r1) -/* 80350D58 0034DCB8 7C 08 03 A6 */ mtlr r0 -/* 80350D5C 0034DCBC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80350D60 0034DCC0 4E 80 00 20 */ blr - -.global __ct__16CMediumAllocPoolFv -__ct__16CMediumAllocPoolFv: -/* 80350D64 0034DCC4 38 83 00 0C */ addi r4, r3, 0xc -/* 80350D68 0034DCC8 38 00 00 00 */ li r0, 0 -/* 80350D6C 0034DCCC 90 83 00 04 */ stw r4, 4(r3) -/* 80350D70 0034DCD0 90 83 00 08 */ stw r4, 8(r3) -/* 80350D74 0034DCD4 90 83 00 0C */ stw r4, 0xc(r3) -/* 80350D78 0034DCD8 90 83 00 10 */ stw r4, 0x10(r3) -/* 80350D7C 0034DCDC 90 03 00 14 */ stw r0, 0x14(r3) -/* 80350D80 0034DCE0 80 03 00 04 */ lwz r0, 4(r3) -/* 80350D84 0034DCE4 90 03 00 18 */ stw r0, 0x18(r3) -/* 80350D88 0034DCE8 90 6D AA 18 */ stw r3, lbl_805A95D8@sda21(r13) -/* 80350D8C 0034DCEC 4E 80 00 20 */ blr - -.global "erase__Q24rstl53list<18SMediumAllocPuddle,Q24rstl17rmemory_allocator>FRCQ34rstl53list<18SMediumAllocPuddle,Q24rstl17rmemory_allocator>8iteratorRCQ34rstl53list<18SMediumAllocPuddle,Q24rstl17rmemory_allocator>8iterator" -"erase__Q24rstl53list<18SMediumAllocPuddle,Q24rstl17rmemory_allocator>FRCQ34rstl53list<18SMediumAllocPuddle,Q24rstl17rmemory_allocator>8iteratorRCQ34rstl53list<18SMediumAllocPuddle,Q24rstl17rmemory_allocator>8iterator": -/* 80350D90 0034DCF0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80350D94 0034DCF4 7C 08 02 A6 */ mflr r0 -/* 80350D98 0034DCF8 90 01 00 24 */ stw r0, 0x24(r1) -/* 80350D9C 0034DCFC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80350DA0 0034DD00 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80350DA4 0034DD04 7C 9E 23 78 */ mr r30, r4 -/* 80350DA8 0034DD08 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80350DAC 0034DD0C 7C 7D 1B 78 */ mr r29, r3 -/* 80350DB0 0034DD10 80 03 00 04 */ lwz r0, 4(r3) -/* 80350DB4 0034DD14 83 E4 00 04 */ lwz r31, 4(r4) -/* 80350DB8 0034DD18 7C 1E 00 40 */ cmplw r30, r0 -/* 80350DBC 0034DD1C 40 82 00 08 */ bne lbl_80350DC4 -/* 80350DC0 0034DD20 93 FD 00 04 */ stw r31, 4(r29) -lbl_80350DC4: -/* 80350DC4 0034DD24 80 1E 00 04 */ lwz r0, 4(r30) -/* 80350DC8 0034DD28 38 7E 00 08 */ addi r3, r30, 8 -/* 80350DCC 0034DD2C 80 BE 00 00 */ lwz r5, 0(r30) -/* 80350DD0 0034DD30 38 80 FF FF */ li r4, -1 -/* 80350DD4 0034DD34 90 05 00 04 */ stw r0, 4(r5) -/* 80350DD8 0034DD38 80 1E 00 00 */ lwz r0, 0(r30) -/* 80350DDC 0034DD3C 80 BE 00 04 */ lwz r5, 4(r30) -/* 80350DE0 0034DD40 90 05 00 00 */ stw r0, 0(r5) -/* 80350DE4 0034DD44 4B FF FA C5 */ bl __dt__18SMediumAllocPuddleFv -/* 80350DE8 0034DD48 28 1E 00 00 */ cmplwi r30, 0 -/* 80350DEC 0034DD4C 41 82 00 0C */ beq lbl_80350DF8 -/* 80350DF0 0034DD50 7F C3 F3 78 */ mr r3, r30 -/* 80350DF4 0034DD54 4B FC 4B 3D */ bl Free__7CMemoryFPCv -lbl_80350DF8: -/* 80350DF8 0034DD58 80 9D 00 14 */ lwz r4, 0x14(r29) -/* 80350DFC 0034DD5C 7F E3 FB 78 */ mr r3, r31 -/* 80350E00 0034DD60 38 04 FF FF */ addi r0, r4, -1 -/* 80350E04 0034DD64 90 1D 00 14 */ stw r0, 0x14(r29) -/* 80350E08 0034DD68 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80350E0C 0034DD6C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80350E10 0034DD70 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80350E14 0034DD74 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80350E18 0034DD78 7C 08 03 A6 */ mtlr r0 -/* 80350E1C 0034DD7C 38 21 00 20 */ addi r1, r1, 0x20 -/* 80350E20 0034DD80 4E 80 00 20 */ blr - -.global Free__15CSmallAllocPoolFPCv -Free__15CSmallAllocPoolFPCv: -/* 80350E24 0034DD84 80 03 00 00 */ lwz r0, 0(r3) -/* 80350E28 0034DD88 38 C0 00 04 */ li r6, 4 -/* 80350E2C 0034DD8C 80 A3 00 04 */ lwz r5, 4(r3) -/* 80350E30 0034DD90 7C 80 20 50 */ subf r4, r0, r4 -/* 80350E34 0034DD94 80 03 00 18 */ lwz r0, 0x18(r3) -/* 80350E38 0034DD98 7C 84 16 70 */ srawi r4, r4, 2 -/* 80350E3C 0034DD9C 7D 04 01 94 */ addze r8, r4 -/* 80350E40 0034DDA0 55 04 07 FE */ clrlwi r4, r8, 0x1f -/* 80350E44 0034DDA4 55 09 F8 7E */ srwi r9, r8, 1 -/* 80350E48 0034DDA8 7C E4 00 D0 */ neg r7, r4 -/* 80350E4C 0034DDAC 7C 85 48 AE */ lbzx r4, r5, r9 -/* 80350E50 0034DDB0 7C C5 38 78 */ andc r5, r6, r7 -/* 80350E54 0034DDB4 7C 84 2E 30 */ sraw r4, r4, r5 -/* 80350E58 0034DDB8 54 84 07 3E */ clrlwi r4, r4, 0x1c -/* 80350E5C 0034DDBC 7C 00 22 14 */ add r0, r0, r4 -/* 80350E60 0034DDC0 90 03 00 18 */ stw r0, 0x18(r3) -/* 80350E64 0034DDC4 7C 85 23 78 */ mr r5, r4 -/* 80350E68 0034DDC8 80 83 00 1C */ lwz r4, 0x1c(r3) -/* 80350E6C 0034DDCC 38 04 FF FF */ addi r0, r4, -1 -/* 80350E70 0034DDD0 90 03 00 1C */ stw r0, 0x1c(r3) -/* 80350E74 0034DDD4 91 03 00 14 */ stw r8, 0x14(r3) -/* 80350E78 0034DDD8 80 03 00 10 */ lwz r0, 0x10(r3) -/* 80350E7C 0034DDDC 7C 08 00 40 */ cmplw r8, r0 -/* 80350E80 0034DDE0 40 82 00 0C */ bne lbl_80350E8C -/* 80350E84 0034DDE4 38 00 FF FF */ li r0, -1 -/* 80350E88 0034DDE8 90 03 00 10 */ stw r0, 0x10(r3) -lbl_80350E8C: -/* 80350E8C 0034DDEC 80 63 00 04 */ lwz r3, 4(r3) -/* 80350E90 0034DDF0 38 00 00 00 */ li r0, 0 -/* 80350E94 0034DDF4 7C 63 4A 14 */ add r3, r3, r9 -/* 80350E98 0034DDF8 48 00 00 10 */ b lbl_80350EA8 -lbl_80350E9C: -/* 80350E9C 0034DDFC 98 03 00 00 */ stb r0, 0(r3) -/* 80350EA0 0034DE00 38 A5 FF FE */ addi r5, r5, -2 -/* 80350EA4 0034DE04 38 63 00 01 */ addi r3, r3, 1 -lbl_80350EA8: -/* 80350EA8 0034DE08 2C 05 00 00 */ cmpwi r5, 0 -/* 80350EAC 0034DE0C 40 82 FF F0 */ bne lbl_80350E9C -/* 80350EB0 0034DE10 38 60 00 01 */ li r3, 1 -/* 80350EB4 0034DE14 4E 80 00 20 */ blr - -.global Alloc__15CSmallAllocPoolFUi -Alloc__15CSmallAllocPoolFUi: -/* 80350EB8 0034DE18 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80350EBC 0034DE1C 7C 08 02 A6 */ mflr r0 -/* 80350EC0 0034DE20 28 04 00 04 */ cmplwi r4, 4 -/* 80350EC4 0034DE24 90 01 00 14 */ stw r0, 0x14(r1) -/* 80350EC8 0034DE28 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80350ECC 0034DE2C 7C 7F 1B 78 */ mr r31, r3 -/* 80350ED0 0034DE30 38 60 00 01 */ li r3, 1 -/* 80350ED4 0034DE34 93 C1 00 08 */ stw r30, 8(r1) -/* 80350ED8 0034DE38 41 80 00 0C */ blt lbl_80350EE4 -/* 80350EDC 0034DE3C 38 04 00 03 */ addi r0, r4, 3 -/* 80350EE0 0034DE40 54 03 F0 BE */ srwi r3, r0, 2 -lbl_80350EE4: -/* 80350EE4 0034DE44 54 60 07 FF */ clrlwi. r0, r3, 0x1f -/* 80350EE8 0034DE48 7C 7E 1B 78 */ mr r30, r3 -/* 80350EEC 0034DE4C 41 82 00 08 */ beq lbl_80350EF4 -/* 80350EF0 0034DE50 3B C3 00 01 */ addi r30, r3, 1 -lbl_80350EF4: -/* 80350EF4 0034DE54 7F E3 FB 78 */ mr r3, r31 -/* 80350EF8 0034DE58 7F C4 F3 78 */ mr r4, r30 -/* 80350EFC 0034DE5C 48 00 00 D5 */ bl FindFree__15CSmallAllocPoolFi -/* 80350F00 0034DE60 28 03 00 00 */ cmplwi r3, 0 -/* 80350F04 0034DE64 40 82 00 0C */ bne lbl_80350F10 -/* 80350F08 0034DE68 38 60 00 00 */ li r3, 0 -/* 80350F0C 0034DE6C 48 00 00 AC */ b lbl_80350FB8 -lbl_80350F10: -/* 80350F10 0034DE70 38 9E FF FE */ addi r4, r30, -2 -/* 80350F14 0034DE74 80 DF 00 04 */ lwz r6, 4(r31) -/* 80350F18 0034DE78 54 80 0F FE */ srwi r0, r4, 0x1f -/* 80350F1C 0034DE7C 57 C5 20 36 */ slwi r5, r30, 4 -/* 80350F20 0034DE80 7C 00 22 14 */ add r0, r0, r4 -/* 80350F24 0034DE84 7C 86 18 50 */ subf r4, r6, r3 -/* 80350F28 0034DE88 7C 07 0E 71 */ srawi. r7, r0, 1 -/* 80350F2C 0034DE8C 80 DF 00 00 */ lwz r6, 0(r31) -/* 80350F30 0034DE90 60 A0 00 0F */ ori r0, r5, 0xf -/* 80350F34 0034DE94 54 85 18 38 */ slwi r5, r4, 3 -/* 80350F38 0034DE98 98 03 00 00 */ stb r0, 0(r3) -/* 80350F3C 0034DE9C 7C A6 2A 14 */ add r5, r6, r5 -/* 80350F40 0034DEA0 38 C3 00 01 */ addi r6, r3, 1 -/* 80350F44 0034DEA4 7C E4 3B 78 */ mr r4, r7 -/* 80350F48 0034DEA8 38 60 00 FF */ li r3, 0xff -/* 80350F4C 0034DEAC 41 82 00 50 */ beq lbl_80350F9C -/* 80350F50 0034DEB0 54 E0 E8 FF */ rlwinm. r0, r7, 0x1d, 3, 0x1f -/* 80350F54 0034DEB4 7C 09 03 A6 */ mtctr r0 -/* 80350F58 0034DEB8 41 82 00 34 */ beq lbl_80350F8C -lbl_80350F5C: -/* 80350F5C 0034DEBC 98 66 00 00 */ stb r3, 0(r6) -/* 80350F60 0034DEC0 98 66 00 01 */ stb r3, 1(r6) -/* 80350F64 0034DEC4 98 66 00 02 */ stb r3, 2(r6) -/* 80350F68 0034DEC8 98 66 00 03 */ stb r3, 3(r6) -/* 80350F6C 0034DECC 98 66 00 04 */ stb r3, 4(r6) -/* 80350F70 0034DED0 98 66 00 05 */ stb r3, 5(r6) -/* 80350F74 0034DED4 98 66 00 06 */ stb r3, 6(r6) -/* 80350F78 0034DED8 98 66 00 07 */ stb r3, 7(r6) -/* 80350F7C 0034DEDC 38 C6 00 08 */ addi r6, r6, 8 -/* 80350F80 0034DEE0 42 00 FF DC */ bdnz lbl_80350F5C -/* 80350F84 0034DEE4 70 84 00 07 */ andi. r4, r4, 7 -/* 80350F88 0034DEE8 41 82 00 14 */ beq lbl_80350F9C -lbl_80350F8C: -/* 80350F8C 0034DEEC 7C 89 03 A6 */ mtctr r4 -lbl_80350F90: -/* 80350F90 0034DEF0 98 66 00 00 */ stb r3, 0(r6) -/* 80350F94 0034DEF4 38 C6 00 01 */ addi r6, r6, 1 -/* 80350F98 0034DEF8 42 00 FF F8 */ bdnz lbl_80350F90 -lbl_80350F9C: -/* 80350F9C 0034DEFC 80 1F 00 18 */ lwz r0, 0x18(r31) -/* 80350FA0 0034DF00 7C A3 2B 78 */ mr r3, r5 -/* 80350FA4 0034DF04 7C 1E 00 50 */ subf r0, r30, r0 -/* 80350FA8 0034DF08 90 1F 00 18 */ stw r0, 0x18(r31) -/* 80350FAC 0034DF0C 80 9F 00 1C */ lwz r4, 0x1c(r31) -/* 80350FB0 0034DF10 38 04 00 01 */ addi r0, r4, 1 -/* 80350FB4 0034DF14 90 1F 00 1C */ stw r0, 0x1c(r31) -lbl_80350FB8: -/* 80350FB8 0034DF18 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80350FBC 0034DF1C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80350FC0 0034DF20 83 C1 00 08 */ lwz r30, 8(r1) -/* 80350FC4 0034DF24 7C 08 03 A6 */ mtlr r0 -/* 80350FC8 0034DF28 38 21 00 10 */ addi r1, r1, 0x10 -/* 80350FCC 0034DF2C 4E 80 00 20 */ blr - -.global FindFree__15CSmallAllocPoolFi -FindFree__15CSmallAllocPoolFi: -/* 80350FD0 0034DF30 80 03 00 0C */ lwz r0, 0xc(r3) -/* 80350FD4 0034DF34 54 85 0F FE */ srwi r5, r4, 0x1f -/* 80350FD8 0034DF38 7C 85 22 14 */ add r4, r5, r4 -/* 80350FDC 0034DF3C 28 00 00 00 */ cmplwi r0, 0 -/* 80350FE0 0034DF40 7C 86 0E 70 */ srawi r6, r4, 1 -/* 80350FE4 0034DF44 40 82 00 0C */ bne lbl_80350FF0 -/* 80350FE8 0034DF48 80 03 00 04 */ lwz r0, 4(r3) -/* 80350FEC 0034DF4C 90 03 00 0C */ stw r0, 0xc(r3) -lbl_80350FF0: -/* 80350FF0 0034DF50 80 03 00 08 */ lwz r0, 8(r3) -/* 80350FF4 0034DF54 80 E3 00 0C */ lwz r7, 0xc(r3) -/* 80350FF8 0034DF58 80 A3 00 04 */ lwz r5, 4(r3) -/* 80350FFC 0034DF5C 54 00 F8 7E */ srwi r0, r0, 1 -/* 80351000 0034DF60 7C E9 3B 78 */ mr r9, r7 -/* 80351004 0034DF64 7D 05 02 14 */ add r8, r5, r0 -lbl_80351008: -/* 80351008 0034DF68 88 09 00 00 */ lbz r0, 0(r9) -/* 8035100C 0034DF6C 28 00 00 00 */ cmplwi r0, 0 -/* 80351010 0034DF70 40 82 00 0C */ bne lbl_8035101C -/* 80351014 0034DF74 7C 09 40 40 */ cmplw r9, r8 -/* 80351018 0034DF78 40 82 00 2C */ bne lbl_80351044 -lbl_8035101C: -/* 8035101C 0034DF7C 7C 09 40 40 */ cmplw r9, r8 -/* 80351020 0034DF80 40 82 00 0C */ bne lbl_8035102C -/* 80351024 0034DF84 7C A9 2B 78 */ mr r9, r5 -/* 80351028 0034DF88 48 00 00 98 */ b lbl_803510C0 -lbl_8035102C: -/* 8035102C 0034DF8C 7C 04 26 70 */ srawi r4, r0, 4 -/* 80351030 0034DF90 54 80 0F FE */ srwi r0, r4, 0x1f -/* 80351034 0034DF94 7C 00 22 14 */ add r0, r0, r4 -/* 80351038 0034DF98 7C 00 0E 70 */ srawi r0, r0, 1 -/* 8035103C 0034DF9C 7D 29 02 14 */ add r9, r9, r0 -/* 80351040 0034DFA0 48 00 00 80 */ b lbl_803510C0 -lbl_80351044: -/* 80351044 0034DFA4 7C 89 32 14 */ add r4, r9, r6 -/* 80351048 0034DFA8 39 49 00 01 */ addi r10, r9, 1 -/* 8035104C 0034DFAC 48 00 00 14 */ b lbl_80351060 -lbl_80351050: -/* 80351050 0034DFB0 88 0A 00 00 */ lbz r0, 0(r10) -/* 80351054 0034DFB4 28 00 00 00 */ cmplwi r0, 0 -/* 80351058 0034DFB8 40 82 00 20 */ bne lbl_80351078 -/* 8035105C 0034DFBC 39 4A 00 01 */ addi r10, r10, 1 -lbl_80351060: -/* 80351060 0034DFC0 7C 0A 38 40 */ cmplw r10, r7 -/* 80351064 0034DFC4 41 82 00 14 */ beq lbl_80351078 -/* 80351068 0034DFC8 7C 0A 40 40 */ cmplw r10, r8 -/* 8035106C 0034DFCC 41 82 00 0C */ beq lbl_80351078 -/* 80351070 0034DFD0 7C 0A 20 40 */ cmplw r10, r4 -/* 80351074 0034DFD4 40 82 FF DC */ bne lbl_80351050 -lbl_80351078: -/* 80351078 0034DFD8 7C 0A 20 40 */ cmplw r10, r4 -/* 8035107C 0034DFDC 40 82 00 20 */ bne lbl_8035109C -/* 80351080 0034DFE0 7C 0A 40 40 */ cmplw r10, r8 -/* 80351084 0034DFE4 40 82 00 0C */ bne lbl_80351090 -/* 80351088 0034DFE8 90 A3 00 0C */ stw r5, 0xc(r3) -/* 8035108C 0034DFEC 48 00 00 08 */ b lbl_80351094 -lbl_80351090: -/* 80351090 0034DFF0 91 23 00 0C */ stw r9, 0xc(r3) -lbl_80351094: -/* 80351094 0034DFF4 7D 23 4B 78 */ mr r3, r9 -/* 80351098 0034DFF8 4E 80 00 20 */ blr -lbl_8035109C: -/* 8035109C 0034DFFC 7C 0A 38 40 */ cmplw r10, r7 -/* 803510A0 0034E000 40 82 00 0C */ bne lbl_803510AC -/* 803510A4 0034E004 38 60 00 00 */ li r3, 0 -/* 803510A8 0034E008 4E 80 00 20 */ blr -lbl_803510AC: -/* 803510AC 0034E00C 7C 0A 40 40 */ cmplw r10, r8 -/* 803510B0 0034E010 40 82 00 0C */ bne lbl_803510BC -/* 803510B4 0034E014 7C A9 2B 78 */ mr r9, r5 -/* 803510B8 0034E018 48 00 00 08 */ b lbl_803510C0 -lbl_803510BC: -/* 803510BC 0034E01C 7D 49 53 78 */ mr r9, r10 -lbl_803510C0: -/* 803510C0 0034E020 7C 09 38 40 */ cmplw r9, r7 -/* 803510C4 0034E024 40 82 FF 44 */ bne lbl_80351008 -/* 803510C8 0034E028 38 60 00 00 */ li r3, 0 -/* 803510CC 0034E02C 4E 80 00 20 */ blr - -.global __ct__15CSmallAllocPoolFUiPvPv -__ct__15CSmallAllocPoolFUiPvPv: -/* 803510D0 0034E030 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803510D4 0034E034 7C 08 02 A6 */ mflr r0 -/* 803510D8 0034E038 7C 88 23 78 */ mr r8, r4 -/* 803510DC 0034E03C 38 E0 00 00 */ li r7, 0 -/* 803510E0 0034E040 90 01 00 14 */ stw r0, 0x14(r1) -/* 803510E4 0034E044 38 00 FF FF */ li r0, -1 -/* 803510E8 0034E048 93 E1 00 0C */ stw r31, 0xc(r1) -/* 803510EC 0034E04C 7C 7F 1B 78 */ mr r31, r3 -/* 803510F0 0034E050 90 A3 00 00 */ stw r5, 0(r3) -/* 803510F4 0034E054 54 85 F8 7E */ srwi r5, r4, 1 -/* 803510F8 0034E058 38 80 00 00 */ li r4, 0 -/* 803510FC 0034E05C 90 C3 00 04 */ stw r6, 4(r3) -/* 80351100 0034E060 7C C3 33 78 */ mr r3, r6 -/* 80351104 0034E064 91 1F 00 08 */ stw r8, 8(r31) -/* 80351108 0034E068 90 FF 00 0C */ stw r7, 0xc(r31) -/* 8035110C 0034E06C 90 1F 00 10 */ stw r0, 0x10(r31) -/* 80351110 0034E070 90 1F 00 14 */ stw r0, 0x14(r31) -/* 80351114 0034E074 91 1F 00 18 */ stw r8, 0x18(r31) -/* 80351118 0034E078 90 FF 00 1C */ stw r7, 0x1c(r31) -/* 8035111C 0034E07C 4B CB 22 8D */ bl memset -/* 80351120 0034E080 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80351124 0034E084 7F E3 FB 78 */ mr r3, r31 -/* 80351128 0034E088 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8035112C 0034E08C 7C 08 03 A6 */ mtlr r0 -/* 80351130 0034E090 38 21 00 10 */ addi r1, r1, 0x10 -/* 80351134 0034E094 4E 80 00 20 */ blr - -.global sub_80351138 -sub_80351138: -/* 80351138 0034E098 80 03 00 B8 */ lwz r0, 0xb8(r3) -/* 8035113C 0034E09C 7C 00 22 14 */ add r0, r0, r4 -/* 80351140 0034E0A0 90 03 00 B8 */ stw r0, 0xb8(r3) -/* 80351144 0034E0A4 4E 80 00 20 */ blr - -.global GetLargestFreeChunk__14CGameAllocatorCFv -GetLargestFreeChunk__14CGameAllocatorCFv: -/* 80351148 0034E0A8 80 83 00 0C */ lwz r4, 0xc(r3) -/* 8035114C 0034E0AC 38 60 00 00 */ li r3, 0 -/* 80351150 0034E0B0 48 00 00 28 */ b lbl_80351178 -lbl_80351154: -/* 80351154 0034E0B4 80 04 00 10 */ lwz r0, 0x10(r4) -/* 80351158 0034E0B8 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 8035115C 0034E0BC 40 82 00 14 */ bne lbl_80351170 -/* 80351160 0034E0C0 80 04 00 04 */ lwz r0, 4(r4) -/* 80351164 0034E0C4 7C 00 18 40 */ cmplw r0, r3 -/* 80351168 0034E0C8 40 81 00 08 */ ble lbl_80351170 -/* 8035116C 0034E0CC 7C 03 03 78 */ mr r3, r0 -lbl_80351170: -/* 80351170 0034E0D0 80 04 00 18 */ lwz r0, 0x18(r4) -/* 80351174 0034E0D4 54 04 00 34 */ rlwinm r4, r0, 0, 0, 0x1a -lbl_80351178: -/* 80351178 0034E0D8 28 04 00 00 */ cmplwi r4, 0 -/* 8035117C 0034E0DC 40 82 FF D8 */ bne lbl_80351154 - -.global sub_80351180 -sub_80351180: -/* 80351180 0034E0E0 4E 80 00 20 */ blr - -.global DumpAllocations__14CGameAllocatorCFv -DumpAllocations__14CGameAllocatorCFv: -/* 80351184 0034E0E4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80351188 0034E0E8 7C 08 02 A6 */ mflr r0 -/* 8035118C 0034E0EC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80351190 0034E0F0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80351194 0034E0F4 93 C1 00 08 */ stw r30, 8(r1) -/* 80351198 0034E0F8 7C 7E 1B 78 */ mr r30, r3 -/* 8035119C 0034E0FC 4B FF FF AD */ bl GetLargestFreeChunk__14CGameAllocatorCFv -/* 803511A0 0034E100 83 DE 00 0C */ lwz r30, 0xc(r30) -/* 803511A4 0034E104 3B E0 00 00 */ li r31, 0 -/* 803511A8 0034E108 48 00 00 30 */ b lbl_803511D8 -lbl_803511AC: -/* 803511AC 0034E10C 3B FF 00 01 */ addi r31, r31, 1 -/* 803511B0 0034E110 57 E0 F0 02 */ slwi r0, r31, 0x1e -/* 803511B4 0034E114 57 E3 0F FE */ srwi r3, r31, 0x1f -/* 803511B8 0034E118 7C 03 00 50 */ subf r0, r3, r0 -/* 803511BC 0034E11C 54 00 10 3E */ rotlwi r0, r0, 2 -/* 803511C0 0034E120 7C 00 1A 15 */ add. r0, r0, r3 -/* 803511C4 0034E124 40 82 00 0C */ bne lbl_803511D0 -/* 803511C8 0034E128 C0 22 CC 98 */ lfs f1, lbl_805AE9B8@sda21(r2) -/* 803511CC 0034E12C 4B F8 50 A1 */ bl Wait__10CStopwatchFf -lbl_803511D0: -/* 803511D0 0034E130 80 1E 00 14 */ lwz r0, 0x14(r30) -/* 803511D4 0034E134 54 1E 00 34 */ rlwinm r30, r0, 0, 0, 0x1a -lbl_803511D8: -/* 803511D8 0034E138 28 1E 00 00 */ cmplwi r30, 0 -/* 803511DC 0034E13C 40 82 FF D0 */ bne lbl_803511AC -/* 803511E0 0034E140 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803511E4 0034E144 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 803511E8 0034E148 83 C1 00 08 */ lwz r30, 8(r1) -/* 803511EC 0034E14C 7C 08 03 A6 */ mtlr r0 -/* 803511F0 0034E150 38 21 00 10 */ addi r1, r1, 0x10 -/* 803511F4 0034E154 4E 80 00 20 */ blr - -.global RemoveFreeEntryFromFreeList__14CGameAllocatorFPQ214CGameAllocator12SGameMemInfo -RemoveFreeEntryFromFreeList__14CGameAllocatorFPQ214CGameAllocator12SGameMemInfo: -/* 803511F8 0034E158 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803511FC 0034E15C 7C 08 02 A6 */ mflr r0 -/* 80351200 0034E160 90 01 00 14 */ stw r0, 0x14(r1) -/* 80351204 0034E164 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80351208 0034E168 7C 9F 23 78 */ mr r31, r4 -/* 8035120C 0034E16C 93 C1 00 08 */ stw r30, 8(r1) -/* 80351210 0034E170 7C 7E 1B 78 */ mr r30, r3 -/* 80351214 0034E174 80 64 00 04 */ lwz r3, 4(r4) -/* 80351218 0034E178 48 00 00 E5 */ bl GetFreeBinEntryForSize__14CGameAllocatorFUi -/* 8035121C 0034E17C 54 60 10 3A */ slwi r0, r3, 2 -/* 80351220 0034E180 38 80 00 00 */ li r4, 0 -/* 80351224 0034E184 7C 7E 02 14 */ add r3, r30, r0 -/* 80351228 0034E188 80 A3 00 14 */ lwz r5, 0x14(r3) -/* 8035122C 0034E18C 48 00 00 50 */ b lbl_8035127C -lbl_80351230: -/* 80351230 0034E190 7C 05 F8 40 */ cmplw r5, r31 -/* 80351234 0034E194 40 82 00 3C */ bne lbl_80351270 -/* 80351238 0034E198 28 04 00 00 */ cmplwi r4, 0 -/* 8035123C 0034E19C 40 82 00 14 */ bne lbl_80351250 -/* 80351240 0034E1A0 80 05 00 18 */ lwz r0, 0x18(r5) -/* 80351244 0034E1A4 54 00 00 34 */ rlwinm r0, r0, 0, 0, 0x1a -/* 80351248 0034E1A8 90 03 00 14 */ stw r0, 0x14(r3) -/* 8035124C 0034E1AC 48 00 00 38 */ b lbl_80351284 -lbl_80351250: -/* 80351250 0034E1B0 80 05 00 18 */ lwz r0, 0x18(r5) -/* 80351254 0034E1B4 80 64 00 18 */ lwz r3, 0x18(r4) -/* 80351258 0034E1B8 54 00 00 34 */ rlwinm r0, r0, 0, 0, 0x1a -/* 8035125C 0034E1BC 90 04 00 18 */ stw r0, 0x18(r4) -/* 80351260 0034E1C0 80 04 00 18 */ lwz r0, 0x18(r4) -/* 80351264 0034E1C4 50 60 06 FE */ rlwimi r0, r3, 0, 0x1b, 0x1f -/* 80351268 0034E1C8 90 04 00 18 */ stw r0, 0x18(r4) -/* 8035126C 0034E1CC 48 00 00 18 */ b lbl_80351284 -lbl_80351270: -/* 80351270 0034E1D0 80 05 00 18 */ lwz r0, 0x18(r5) -/* 80351274 0034E1D4 7C A4 2B 78 */ mr r4, r5 -/* 80351278 0034E1D8 54 05 00 34 */ rlwinm r5, r0, 0, 0, 0x1a -lbl_8035127C: -/* 8035127C 0034E1DC 28 05 00 00 */ cmplwi r5, 0 -/* 80351280 0034E1E0 40 82 FF B0 */ bne lbl_80351230 -lbl_80351284: -/* 80351284 0034E1E4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80351288 0034E1E8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8035128C 0034E1EC 83 C1 00 08 */ lwz r30, 8(r1) -/* 80351290 0034E1F0 7C 08 03 A6 */ mtlr r0 -/* 80351294 0034E1F4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80351298 0034E1F8 4E 80 00 20 */ blr - -.global AddFreeEntryToFreeList__14CGameAllocatorFPQ214CGameAllocator12SGameMemInfo -AddFreeEntryToFreeList__14CGameAllocatorFPQ214CGameAllocator12SGameMemInfo: -/* 8035129C 0034E1FC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803512A0 0034E200 7C 08 02 A6 */ mflr r0 -/* 803512A4 0034E204 90 01 00 14 */ stw r0, 0x14(r1) -/* 803512A8 0034E208 93 E1 00 0C */ stw r31, 0xc(r1) -/* 803512AC 0034E20C 7C 9F 23 78 */ mr r31, r4 -/* 803512B0 0034E210 93 C1 00 08 */ stw r30, 8(r1) -/* 803512B4 0034E214 7C 7E 1B 78 */ mr r30, r3 -/* 803512B8 0034E218 80 64 00 04 */ lwz r3, 4(r4) -/* 803512BC 0034E21C 48 00 00 41 */ bl GetFreeBinEntryForSize__14CGameAllocatorFUi -/* 803512C0 0034E220 54 60 10 3A */ slwi r0, r3, 2 -/* 803512C4 0034E224 80 7F 00 18 */ lwz r3, 0x18(r31) -/* 803512C8 0034E228 7C 9E 02 14 */ add r4, r30, r0 -/* 803512CC 0034E22C 80 04 00 14 */ lwz r0, 0x14(r4) -/* 803512D0 0034E230 90 1F 00 18 */ stw r0, 0x18(r31) -/* 803512D4 0034E234 80 1F 00 18 */ lwz r0, 0x18(r31) -/* 803512D8 0034E238 50 60 06 FE */ rlwimi r0, r3, 0, 0x1b, 0x1f -/* 803512DC 0034E23C 90 1F 00 18 */ stw r0, 0x18(r31) -/* 803512E0 0034E240 93 E4 00 14 */ stw r31, 0x14(r4) -/* 803512E4 0034E244 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803512E8 0034E248 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 803512EC 0034E24C 83 C1 00 08 */ lwz r30, 8(r1) -/* 803512F0 0034E250 7C 08 03 A6 */ mtlr r0 -/* 803512F4 0034E254 38 21 00 10 */ addi r1, r1, 0x10 -/* 803512F8 0034E258 4E 80 00 20 */ blr - -.global GetFreeBinEntryForSize__14CGameAllocatorFUi -GetFreeBinEntryForSize__14CGameAllocatorFUi: -/* 803512FC 0034E25C 38 80 00 20 */ li r4, 0x20 -/* 80351300 0034E260 38 A0 00 00 */ li r5, 0 -/* 80351304 0034E264 3C 00 00 20 */ lis r0, 0x20 -/* 80351308 0034E268 48 00 00 1C */ b lbl_80351324 -lbl_8035130C: -/* 8035130C 0034E26C 7C 03 20 40 */ cmplw r3, r4 -/* 80351310 0034E270 40 80 00 0C */ bge lbl_8035131C -/* 80351314 0034E274 7C A3 2B 78 */ mr r3, r5 -/* 80351318 0034E278 4E 80 00 20 */ blr -lbl_8035131C: -/* 8035131C 0034E27C 54 84 08 3C */ slwi r4, r4, 1 -/* 80351320 0034E280 38 A5 00 01 */ addi r5, r5, 1 -lbl_80351324: -/* 80351324 0034E284 7C 04 00 40 */ cmplw r4, r0 -/* 80351328 0034E288 41 80 FF E4 */ blt lbl_8035130C -/* 8035132C 0034E28C 38 60 00 0F */ li r3, 0xf -/* 80351330 0034E290 4E 80 00 20 */ blr - -.global EnumAllocations__14CGameAllocatorCFPFRCQ210IAllocator10SAllocInfoPCv_CbPCvb -EnumAllocations__14CGameAllocatorCFPFRCQ210IAllocator10SAllocInfoPCv_CbPCvb: -/* 80351334 0034E294 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80351338 0034E298 7C 08 02 A6 */ mflr r0 -/* 8035133C 0034E29C 90 01 00 34 */ stw r0, 0x34(r1) -/* 80351340 0034E2A0 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80351344 0034E2A4 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80351348 0034E2A8 3B C0 00 00 */ li r30, 0 -/* 8035134C 0034E2AC 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80351350 0034E2B0 7C BD 2B 78 */ mr r29, r5 -/* 80351354 0034E2B4 93 81 00 20 */ stw r28, 0x20(r1) -/* 80351358 0034E2B8 7C 9C 23 78 */ mr r28, r4 -/* 8035135C 0034E2BC 81 43 00 0C */ lwz r10, 0xc(r3) -/* 80351360 0034E2C0 48 00 00 88 */ b lbl_803513E8 -lbl_80351364: -/* 80351364 0034E2C4 80 6A 00 1C */ lwz r3, 0x1c(r10) -/* 80351368 0034E2C8 3C 03 15 16 */ addis r0, r3, 0x1516 -/* 8035136C 0034E2CC 28 00 EA EA */ cmplwi r0, 0xeaea -/* 80351370 0034E2D0 41 82 00 0C */ beq lbl_8035137C -/* 80351374 0034E2D4 38 60 FF FF */ li r3, -1 -/* 80351378 0034E2D8 48 00 00 7C */ b lbl_803513F4 -lbl_8035137C: -/* 8035137C 0034E2DC 80 6A 00 00 */ lwz r3, 0(r10) -/* 80351380 0034E2E0 3C 03 10 11 */ addis r0, r3, 0x1011 -/* 80351384 0034E2E4 28 00 EF EF */ cmplwi r0, 0xefef -/* 80351388 0034E2E8 41 82 00 0C */ beq lbl_80351394 -/* 8035138C 0034E2EC 38 60 FF FF */ li r3, -1 -/* 80351390 0034E2F0 48 00 00 64 */ b lbl_803513F4 -lbl_80351394: -/* 80351394 0034E2F4 80 6A 00 10 */ lwz r3, 0x10(r10) -/* 80351398 0034E2F8 7F 8C E3 78 */ mr r12, r28 -/* 8035139C 0034E2FC 80 CA 00 14 */ lwz r6, 0x14(r10) -/* 803513A0 0034E300 38 00 00 00 */ li r0, 0 -/* 803513A4 0034E304 81 2A 00 0C */ lwz r9, 0xc(r10) -/* 803513A8 0034E308 54 65 07 FE */ clrlwi r5, r3, 0x1f -/* 803513AC 0034E30C 81 0A 00 08 */ lwz r8, 8(r10) -/* 803513B0 0034E310 7F A4 EB 78 */ mr r4, r29 -/* 803513B4 0034E314 80 EA 00 04 */ lwz r7, 4(r10) -/* 803513B8 0034E318 54 DF 00 34 */ rlwinm r31, r6, 0, 0, 0x1a -/* 803513BC 0034E31C 38 61 00 08 */ addi r3, r1, 8 -/* 803513C0 0034E320 91 41 00 08 */ stw r10, 8(r1) -/* 803513C4 0034E324 90 E1 00 0C */ stw r7, 0xc(r1) -/* 803513C8 0034E328 98 A1 00 10 */ stb r5, 0x10(r1) -/* 803513CC 0034E32C 98 01 00 11 */ stb r0, 0x11(r1) -/* 803513D0 0034E330 91 01 00 14 */ stw r8, 0x14(r1) -/* 803513D4 0034E334 91 21 00 18 */ stw r9, 0x18(r1) -/* 803513D8 0034E338 7D 89 03 A6 */ mtctr r12 -/* 803513DC 0034E33C 4E 80 04 21 */ bctrl -/* 803513E0 0034E340 7F EA FB 78 */ mr r10, r31 -/* 803513E4 0034E344 3B DE 00 01 */ addi r30, r30, 1 -lbl_803513E8: -/* 803513E8 0034E348 28 0A 00 00 */ cmplwi r10, 0 -/* 803513EC 0034E34C 40 82 FF 78 */ bne lbl_80351364 -/* 803513F0 0034E350 7F C3 F3 78 */ mr r3, r30 -lbl_803513F4: -/* 803513F4 0034E354 80 01 00 34 */ lwz r0, 0x34(r1) -/* 803513F8 0034E358 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 803513FC 0034E35C 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80351400 0034E360 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80351404 0034E364 83 81 00 20 */ lwz r28, 0x20(r1) -/* 80351408 0034E368 7C 08 03 A6 */ mtlr r0 -/* 8035140C 0034E36C 38 21 00 30 */ addi r1, r1, 0x30 -/* 80351410 0034E370 4E 80 00 20 */ blr - -.global GetMetrics__14CGameAllocatorCFv -GetMetrics__14CGameAllocatorCFv: -/* 80351414 0034E374 94 21 FF 40 */ stwu r1, -0xc0(r1) -/* 80351418 0034E378 7C 08 02 A6 */ mflr r0 -/* 8035141C 0034E37C 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 80351420 0034E380 BF 41 00 A8 */ stmw r26, 0xa8(r1) -/* 80351424 0034E384 7C 7D 1B 78 */ mr r29, r3 -/* 80351428 0034E388 7C 9E 23 78 */ mr r30, r4 -/* 8035142C 0034E38C 80 64 00 74 */ lwz r3, 0x74(r4) -/* 80351430 0034E390 28 03 00 00 */ cmplwi r3, 0 -/* 80351434 0034E394 41 82 00 10 */ beq lbl_80351444 -/* 80351438 0034E398 4B FF F6 FD */ bl GetTotalEntries__16CMediumAllocPoolFv -/* 8035143C 0034E39C 54 7F 28 34 */ slwi r31, r3, 5 -/* 80351440 0034E3A0 48 00 00 08 */ b lbl_80351448 -lbl_80351444: -/* 80351444 0034E3A4 3B E0 00 00 */ li r31, 0 -lbl_80351448: -/* 80351448 0034E3A8 80 7E 00 74 */ lwz r3, 0x74(r30) -/* 8035144C 0034E3AC 28 03 00 00 */ cmplwi r3, 0 -/* 80351450 0034E3B0 41 82 00 10 */ beq lbl_80351460 -/* 80351454 0034E3B4 4B FF F6 B5 */ bl GetNumBlocksAvailable__16CMediumAllocPoolFv -/* 80351458 0034E3B8 7C 7B 1B 78 */ mr r27, r3 -/* 8035145C 0034E3BC 48 00 00 08 */ b lbl_80351464 -lbl_80351460: -/* 80351460 0034E3C0 3B 60 00 00 */ li r27, 0 -lbl_80351464: -/* 80351464 0034E3C4 83 5E 00 74 */ lwz r26, 0x74(r30) -/* 80351468 0034E3C8 28 1A 00 00 */ cmplwi r26, 0 -/* 8035146C 0034E3CC 41 82 00 20 */ beq lbl_8035148C -/* 80351470 0034E3D0 7F 43 D3 78 */ mr r3, r26 -/* 80351474 0034E3D4 4B FF F6 C1 */ bl GetTotalEntries__16CMediumAllocPoolFv -/* 80351478 0034E3D8 7C 7C 1B 78 */ mr r28, r3 -/* 8035147C 0034E3DC 7F 43 D3 78 */ mr r3, r26 -/* 80351480 0034E3E0 4B FF F6 89 */ bl GetNumBlocksAvailable__16CMediumAllocPoolFv -/* 80351484 0034E3E4 7F 83 E0 50 */ subf r28, r3, r28 -/* 80351488 0034E3E8 48 00 00 08 */ b lbl_80351490 -lbl_8035148C: -/* 8035148C 0034E3EC 3B 80 00 00 */ li r28, 0 -lbl_80351490: -/* 80351490 0034E3F0 80 7E 00 74 */ lwz r3, 0x74(r30) -/* 80351494 0034E3F4 28 03 00 00 */ cmplwi r3, 0 -/* 80351498 0034E3F8 41 82 00 10 */ beq lbl_803514A8 -/* 8035149C 0034E3FC 4B FF F6 C5 */ bl GetNumAllocs__16CMediumAllocPoolFv -/* 803514A0 0034E400 7C 64 1B 78 */ mr r4, r3 -/* 803514A4 0034E404 48 00 00 08 */ b lbl_803514AC -lbl_803514A8: -/* 803514A8 0034E408 38 80 00 00 */ li r4, 0 -lbl_803514AC: -/* 803514AC 0034E40C 80 BE 00 60 */ lwz r5, 0x60(r30) -/* 803514B0 0034E410 28 05 00 00 */ cmplwi r5, 0 -/* 803514B4 0034E414 41 82 00 0C */ beq lbl_803514C0 -/* 803514B8 0034E418 80 C5 00 18 */ lwz r6, 0x18(r5) -/* 803514BC 0034E41C 48 00 00 08 */ b lbl_803514C4 -lbl_803514C0: -/* 803514C0 0034E420 38 C0 00 00 */ li r6, 0 -lbl_803514C4: -/* 803514C4 0034E424 28 05 00 00 */ cmplwi r5, 0 -/* 803514C8 0034E428 41 82 00 14 */ beq lbl_803514DC -/* 803514CC 0034E42C 80 65 00 18 */ lwz r3, 0x18(r5) -/* 803514D0 0034E430 80 05 00 08 */ lwz r0, 8(r5) -/* 803514D4 0034E434 7C E3 00 50 */ subf r7, r3, r0 -/* 803514D8 0034E438 48 00 00 08 */ b lbl_803514E0 -lbl_803514DC: -/* 803514DC 0034E43C 38 E0 00 00 */ li r7, 0 -lbl_803514E0: -/* 803514E0 0034E440 28 05 00 00 */ cmplwi r5, 0 -/* 803514E4 0034E444 41 82 00 0C */ beq lbl_803514F0 -/* 803514E8 0034E448 81 05 00 1C */ lwz r8, 0x1c(r5) -/* 803514EC 0034E44C 48 00 00 08 */ b lbl_803514F4 -lbl_803514F0: -/* 803514F0 0034E450 39 00 00 00 */ li r8, 0 -lbl_803514F4: -/* 803514F4 0034E454 80 BE 00 80 */ lwz r5, 0x80(r30) -/* 803514F8 0034E458 38 61 00 48 */ addi r3, r1, 0x48 -/* 803514FC 0034E45C 80 1E 00 98 */ lwz r0, 0x98(r30) -/* 80351500 0034E460 90 01 00 08 */ stw r0, 8(r1) -/* 80351504 0034E464 80 1E 00 9C */ lwz r0, 0x9c(r30) -/* 80351508 0034E468 90 01 00 0C */ stw r0, 0xc(r1) -/* 8035150C 0034E46C 80 1E 00 A0 */ lwz r0, 0xa0(r30) -/* 80351510 0034E470 90 01 00 10 */ stw r0, 0x10(r1) -/* 80351514 0034E474 80 1E 00 A4 */ lwz r0, 0xa4(r30) -/* 80351518 0034E478 90 01 00 14 */ stw r0, 0x14(r1) -/* 8035151C 0034E47C 91 01 00 18 */ stw r8, 0x18(r1) -/* 80351520 0034E480 90 E1 00 1C */ stw r7, 0x1c(r1) -/* 80351524 0034E484 90 C1 00 20 */ stw r6, 0x20(r1) -/* 80351528 0034E488 90 81 00 24 */ stw r4, 0x24(r1) -/* 8035152C 0034E48C 93 81 00 28 */ stw r28, 0x28(r1) -/* 80351530 0034E490 93 61 00 2C */ stw r27, 0x2c(r1) -/* 80351534 0034E494 80 1E 00 B0 */ lwz r0, 0xb0(r30) -/* 80351538 0034E498 7C 00 28 50 */ subf r0, r0, r5 -/* 8035153C 0034E49C 90 01 00 30 */ stw r0, 0x30(r1) -/* 80351540 0034E4A0 80 1E 00 B4 */ lwz r0, 0xb4(r30) -/* 80351544 0034E4A4 90 01 00 34 */ stw r0, 0x34(r1) -/* 80351548 0034E4A8 80 1E 00 BC */ lwz r0, 0xbc(r30) -/* 8035154C 0034E4AC 90 01 00 38 */ stw r0, 0x38(r1) -/* 80351550 0034E4B0 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 80351554 0034E4B4 80 1E 00 B8 */ lwz r0, 0xb8(r30) -/* 80351558 0034E4B8 90 01 00 40 */ stw r0, 0x40(r1) -/* 8035155C 0034E4BC 80 9E 00 08 */ lwz r4, 8(r30) -/* 80351560 0034E4C0 80 DE 00 84 */ lwz r6, 0x84(r30) -/* 80351564 0034E4C4 80 FE 00 88 */ lwz r7, 0x88(r30) -/* 80351568 0034E4C8 81 1E 00 8C */ lwz r8, 0x8c(r30) -/* 8035156C 0034E4CC 81 3E 00 90 */ lwz r9, 0x90(r30) -/* 80351570 0034E4D0 81 5E 00 94 */ lwz r10, 0x94(r30) -/* 80351574 0034E4D4 4B FC 47 6D */ bl __ct__Q210IAllocator8SMetricsFUiUiUiUiUiUiUiUiUiUiUiUiUiUiUiUiUiUiUiUiUiUi -/* 80351578 0034E4D8 80 1E 00 80 */ lwz r0, 0x80(r30) -/* 8035157C 0034E4DC 7F A3 EB 78 */ mr r3, r29 -/* 80351580 0034E4E0 38 81 00 48 */ addi r4, r1, 0x48 -/* 80351584 0034E4E4 90 1E 00 B0 */ stw r0, 0xb0(r30) -/* 80351588 0034E4E8 4B D7 20 C5 */ bl __ct__Q210IAllocator8SMetricsFRCQ210IAllocator8SMetrics -/* 8035158C 0034E4EC BB 41 00 A8 */ lmw r26, 0xa8(r1) -/* 80351590 0034E4F0 80 01 00 C4 */ lwz r0, 0xc4(r1) -/* 80351594 0034E4F4 7C 08 03 A6 */ mtlr r0 -/* 80351598 0034E4F8 38 21 00 C0 */ addi r1, r1, 0xc0 -/* 8035159C 0034E4FC 4E 80 00 20 */ blr - -.global GetAllocInfo__14CGameAllocatorCFPCv -GetAllocInfo__14CGameAllocatorCFPCv: -/* 803515A0 0034E500 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803515A4 0034E504 7C 08 02 A6 */ mflr r0 -/* 803515A8 0034E508 90 01 00 14 */ stw r0, 0x14(r1) -/* 803515AC 0034E50C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 803515B0 0034E510 7C 7F 1B 78 */ mr r31, r3 -/* 803515B4 0034E514 7C 83 23 78 */ mr r3, r4 -/* 803515B8 0034E518 7C A4 2B 78 */ mr r4, r5 -/* 803515BC 0034E51C 48 00 10 A5 */ bl GetMemInfoFromBlockPtr__14CGameAllocatorCFPCv -/* 803515C0 0034E520 80 83 00 10 */ lwz r4, 0x10(r3) -/* 803515C4 0034E524 38 00 00 00 */ li r0, 0 -/* 803515C8 0034E528 80 E3 00 0C */ lwz r7, 0xc(r3) -/* 803515CC 0034E52C 80 C3 00 08 */ lwz r6, 8(r3) -/* 803515D0 0034E530 54 84 07 FE */ clrlwi r4, r4, 0x1f -/* 803515D4 0034E534 80 A3 00 04 */ lwz r5, 4(r3) -/* 803515D8 0034E538 90 7F 00 00 */ stw r3, 0(r31) -/* 803515DC 0034E53C 90 BF 00 04 */ stw r5, 4(r31) -/* 803515E0 0034E540 98 9F 00 08 */ stb r4, 8(r31) -/* 803515E4 0034E544 98 1F 00 09 */ stb r0, 9(r31) -/* 803515E8 0034E548 90 DF 00 0C */ stw r6, 0xc(r31) -/* 803515EC 0034E54C 90 FF 00 10 */ stw r7, 0x10(r31) -/* 803515F0 0034E550 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803515F4 0034E554 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 803515F8 0034E558 7C 08 03 A6 */ mtlr r0 -/* 803515FC 0034E55C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80351600 0034E560 4E 80 00 20 */ blr - -.global SetOutOfMemoryCallback__14CGameAllocatorFPFPCvUi_CbPCv -SetOutOfMemoryCallback__14CGameAllocatorFPFPCvUi_CbPCv: -/* 80351604 0034E564 90 83 00 58 */ stw r4, 0x58(r3) -/* 80351608 0034E568 90 A3 00 5C */ stw r5, 0x5c(r3) -/* 8035160C 0034E56C 4E 80 00 20 */ blr - -.global ReleaseAllSecondary__14CGameAllocatorFv -ReleaseAllSecondary__14CGameAllocatorFv: -/* 80351610 0034E570 4E 80 00 20 */ blr - -.global FreeSecondary__14CGameAllocatorFPCv -FreeSecondary__14CGameAllocatorFPCv: -/* 80351614 0034E574 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80351618 0034E578 7C 08 02 A6 */ mflr r0 -/* 8035161C 0034E57C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80351620 0034E580 81 83 00 00 */ lwz r12, 0(r3) -/* 80351624 0034E584 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 80351628 0034E588 7D 89 03 A6 */ mtctr r12 -/* 8035162C 0034E58C 4E 80 04 21 */ bctrl -/* 80351630 0034E590 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80351634 0034E594 7C 08 03 A6 */ mtlr r0 -/* 80351638 0034E598 38 21 00 10 */ addi r1, r1, 0x10 -/* 8035163C 0034E59C 4E 80 00 20 */ blr - -.global AllocSecondary__14CGameAllocatorFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack -AllocSecondary__14CGameAllocatorFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack: -/* 80351640 0034E5A0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80351644 0034E5A4 7C 08 02 A6 */ mflr r0 -/* 80351648 0034E5A8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8035164C 0034E5AC 81 83 00 00 */ lwz r12, 0(r3) -/* 80351650 0034E5B0 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80351654 0034E5B4 7D 89 03 A6 */ mtctr r12 -/* 80351658 0034E5B8 4E 80 04 21 */ bctrl -/* 8035165C 0034E5BC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80351660 0034E5C0 7C 08 03 A6 */ mtlr r0 -/* 80351664 0034E5C4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80351668 0034E5C8 4E 80 00 20 */ blr - -.global ReleaseAll__14CGameAllocatorFv -ReleaseAll__14CGameAllocatorFv: -/* 8035166C 0034E5CC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80351670 0034E5D0 7C 08 02 A6 */ mflr r0 -/* 80351674 0034E5D4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80351678 0034E5D8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8035167C 0034E5DC 93 C1 00 08 */ stw r30, 8(r1) -/* 80351680 0034E5E0 7C 7E 1B 78 */ mr r30, r3 -/* 80351684 0034E5E4 80 63 00 74 */ lwz r3, 0x74(r3) -/* 80351688 0034E5E8 28 03 00 00 */ cmplwi r3, 0 -/* 8035168C 0034E5EC 41 82 00 1C */ beq lbl_803516A8 -/* 80351690 0034E5F0 4B FF F6 61 */ bl ClearPuddles__16CMediumAllocPoolFv -/* 80351694 0034E5F4 80 9E 00 74 */ lwz r4, 0x74(r30) -/* 80351698 0034E5F8 7F C3 F3 78 */ mr r3, r30 -/* 8035169C 0034E5FC 48 00 00 65 */ bl FreeNormalAllocation__14CGameAllocatorFPCv -/* 803516A0 0034E600 38 00 00 00 */ li r0, 0 -/* 803516A4 0034E604 90 1E 00 74 */ stw r0, 0x74(r30) -lbl_803516A8: -/* 803516A8 0034E608 80 9E 00 0C */ lwz r4, 0xc(r30) -/* 803516AC 0034E60C 48 00 00 28 */ b lbl_803516D4 -lbl_803516B0: -/* 803516B0 0034E610 80 04 00 10 */ lwz r0, 0x10(r4) -/* 803516B4 0034E614 80 64 00 14 */ lwz r3, 0x14(r4) -/* 803516B8 0034E618 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 803516BC 0034E61C 54 7F 00 34 */ rlwinm r31, r3, 0, 0, 0x1a -/* 803516C0 0034E620 41 82 00 10 */ beq lbl_803516D0 -/* 803516C4 0034E624 7F C3 F3 78 */ mr r3, r30 -/* 803516C8 0034E628 38 84 00 20 */ addi r4, r4, 0x20 -/* 803516CC 0034E62C 48 00 00 35 */ bl FreeNormalAllocation__14CGameAllocatorFPCv -lbl_803516D0: -/* 803516D0 0034E630 7F E4 FB 78 */ mr r4, r31 -lbl_803516D4: -/* 803516D4 0034E634 28 04 00 00 */ cmplwi r4, 0 -/* 803516D8 0034E638 40 82 FF D8 */ bne lbl_803516B0 -/* 803516DC 0034E63C 38 00 00 00 */ li r0, 0 -/* 803516E0 0034E640 90 1E 00 0C */ stw r0, 0xc(r30) -/* 803516E4 0034E644 90 1E 00 10 */ stw r0, 0x10(r30) -/* 803516E8 0034E648 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 803516EC 0034E64C 83 C1 00 08 */ lwz r30, 8(r1) -/* 803516F0 0034E650 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803516F4 0034E654 7C 08 03 A6 */ mtlr r0 -/* 803516F8 0034E658 38 21 00 10 */ addi r1, r1, 0x10 -/* 803516FC 0034E65C 4E 80 00 20 */ blr - -.global FreeNormalAllocation__14CGameAllocatorFPCv -FreeNormalAllocation__14CGameAllocatorFPCv: -/* 80351700 0034E660 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80351704 0034E664 7C 08 02 A6 */ mflr r0 -/* 80351708 0034E668 90 01 00 34 */ stw r0, 0x34(r1) -/* 8035170C 0034E66C BF 21 00 14 */ stmw r25, 0x14(r1) -/* 80351710 0034E670 7C 79 1B 78 */ mr r25, r3 -/* 80351714 0034E674 48 00 0F 4D */ bl GetMemInfoFromBlockPtr__14CGameAllocatorCFPCv -/* 80351718 0034E678 80 03 00 14 */ lwz r0, 0x14(r3) -/* 8035171C 0034E67C 3B 80 00 00 */ li r28, 0 -/* 80351720 0034E680 83 63 00 04 */ lwz r27, 4(r3) -/* 80351724 0034E684 7C 7D 1B 78 */ mr r29, r3 -/* 80351728 0034E688 54 00 00 35 */ rlwinm. r0, r0, 0, 0, 0x1a -/* 8035172C 0034E68C 3B 40 00 00 */ li r26, 0 -/* 80351730 0034E690 41 82 00 0C */ beq lbl_8035173C -/* 80351734 0034E694 7C 7D 00 50 */ subf r3, r29, r0 -/* 80351738 0034E698 3B 43 FF E0 */ addi r26, r3, -32 -lbl_8035173C: -/* 8035173C 0034E69C 93 5D 00 04 */ stw r26, 4(r29) -/* 80351740 0034E6A0 80 7D 00 10 */ lwz r3, 0x10(r29) -/* 80351744 0034E6A4 80 1D 00 14 */ lwz r0, 0x14(r29) -/* 80351748 0034E6A8 54 7F 00 35 */ rlwinm. r31, r3, 0, 0, 0x1a -/* 8035174C 0034E6AC 54 1E 00 34 */ rlwinm r30, r0, 0, 0, 0x1a -/* 80351750 0034E6B0 41 82 00 68 */ beq lbl_803517B8 -/* 80351754 0034E6B4 80 1F 00 10 */ lwz r0, 0x10(r31) -/* 80351758 0034E6B8 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 8035175C 0034E6BC 40 82 00 5C */ bne lbl_803517B8 -/* 80351760 0034E6C0 7F 23 CB 78 */ mr r3, r25 -/* 80351764 0034E6C4 7F E4 FB 78 */ mr r4, r31 -/* 80351768 0034E6C8 4B FF FA 91 */ bl RemoveFreeEntryFromFreeList__14CGameAllocatorFPQ214CGameAllocator12SGameMemInfo -/* 8035176C 0034E6CC 80 7F 00 14 */ lwz r3, 0x14(r31) -/* 80351770 0034E6D0 28 1E 00 00 */ cmplwi r30, 0 -/* 80351774 0034E6D4 93 DF 00 14 */ stw r30, 0x14(r31) -/* 80351778 0034E6D8 80 1F 00 14 */ lwz r0, 0x14(r31) -/* 8035177C 0034E6DC 50 60 06 FE */ rlwimi r0, r3, 0, 0x1b, 0x1f -/* 80351780 0034E6E0 90 1F 00 14 */ stw r0, 0x14(r31) -/* 80351784 0034E6E4 41 82 00 18 */ beq lbl_8035179C -/* 80351788 0034E6E8 80 7E 00 10 */ lwz r3, 0x10(r30) -/* 8035178C 0034E6EC 93 FE 00 10 */ stw r31, 0x10(r30) -/* 80351790 0034E6F0 80 1E 00 10 */ lwz r0, 0x10(r30) -/* 80351794 0034E6F4 50 60 06 FE */ rlwimi r0, r3, 0, 0x1b, 0x1f -/* 80351798 0034E6F8 90 1E 00 10 */ stw r0, 0x10(r30) -lbl_8035179C: -/* 8035179C 0034E6FC 80 1D 00 04 */ lwz r0, 4(r29) -/* 803517A0 0034E700 7F FD FB 78 */ mr r29, r31 -/* 803517A4 0034E704 80 7F 00 04 */ lwz r3, 4(r31) -/* 803517A8 0034E708 3B 80 00 20 */ li r28, 0x20 -/* 803517AC 0034E70C 7C 60 1A 14 */ add r3, r0, r3 -/* 803517B0 0034E710 38 03 00 20 */ addi r0, r3, 0x20 -/* 803517B4 0034E714 90 1F 00 04 */ stw r0, 4(r31) -lbl_803517B8: -/* 803517B8 0034E718 28 1E 00 00 */ cmplwi r30, 0 -/* 803517BC 0034E71C 41 82 00 8C */ beq lbl_80351848 -/* 803517C0 0034E720 80 1E 00 10 */ lwz r0, 0x10(r30) -/* 803517C4 0034E724 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 803517C8 0034E728 40 82 00 80 */ bne lbl_80351848 -/* 803517CC 0034E72C 80 1E 00 14 */ lwz r0, 0x14(r30) -/* 803517D0 0034E730 54 00 00 35 */ rlwinm. r0, r0, 0, 0, 0x1a -/* 803517D4 0034E734 41 82 00 74 */ beq lbl_80351848 -/* 803517D8 0034E738 7F 23 CB 78 */ mr r3, r25 -/* 803517DC 0034E73C 7F C4 F3 78 */ mr r4, r30 -/* 803517E0 0034E740 4B FF FA 19 */ bl RemoveFreeEntryFromFreeList__14CGameAllocatorFPQ214CGameAllocator12SGameMemInfo -/* 803517E4 0034E744 80 1E 00 14 */ lwz r0, 0x14(r30) -/* 803517E8 0034E748 80 7D 00 14 */ lwz r3, 0x14(r29) -/* 803517EC 0034E74C 54 00 00 34 */ rlwinm r0, r0, 0, 0, 0x1a -/* 803517F0 0034E750 90 1D 00 14 */ stw r0, 0x14(r29) -/* 803517F4 0034E754 80 1D 00 14 */ lwz r0, 0x14(r29) -/* 803517F8 0034E758 50 60 06 FE */ rlwimi r0, r3, 0, 0x1b, 0x1f -/* 803517FC 0034E75C 90 1D 00 14 */ stw r0, 0x14(r29) -/* 80351800 0034E760 80 1D 00 14 */ lwz r0, 0x14(r29) -/* 80351804 0034E764 54 04 00 35 */ rlwinm. r4, r0, 0, 0, 0x1a -/* 80351808 0034E768 41 82 00 18 */ beq lbl_80351820 -/* 8035180C 0034E76C 80 64 00 10 */ lwz r3, 0x10(r4) -/* 80351810 0034E770 93 A4 00 10 */ stw r29, 0x10(r4) -/* 80351814 0034E774 80 04 00 10 */ lwz r0, 0x10(r4) -/* 80351818 0034E778 50 60 06 FE */ rlwimi r0, r3, 0, 0x1b, 0x1f -/* 8035181C 0034E77C 90 04 00 10 */ stw r0, 0x10(r4) -lbl_80351820: -/* 80351820 0034E780 80 7D 00 04 */ lwz r3, 4(r29) -/* 80351824 0034E784 3B 9C 00 20 */ addi r28, r28, 0x20 -/* 80351828 0034E788 80 1E 00 04 */ lwz r0, 4(r30) -/* 8035182C 0034E78C 7C 60 1A 14 */ add r3, r0, r3 -/* 80351830 0034E790 38 03 00 20 */ addi r0, r3, 0x20 -/* 80351834 0034E794 90 1D 00 04 */ stw r0, 4(r29) -/* 80351838 0034E798 80 1D 00 10 */ lwz r0, 0x10(r29) -/* 8035183C 0034E79C 54 00 00 3C */ rlwinm r0, r0, 0, 0, 0x1e -/* 80351840 0034E7A0 90 1D 00 10 */ stw r0, 0x10(r29) -/* 80351844 0034E7A4 48 00 00 10 */ b lbl_80351854 -lbl_80351848: -/* 80351848 0034E7A8 80 1D 00 10 */ lwz r0, 0x10(r29) -/* 8035184C 0034E7AC 54 00 00 3C */ rlwinm r0, r0, 0, 0, 0x1e -/* 80351850 0034E7B0 90 1D 00 10 */ stw r0, 0x10(r29) -lbl_80351854: -/* 80351854 0034E7B4 7F 23 CB 78 */ mr r3, r25 -/* 80351858 0034E7B8 7F A4 EB 78 */ mr r4, r29 -/* 8035185C 0034E7BC 4B FF FA 41 */ bl AddFreeEntryToFreeList__14CGameAllocatorFPQ214CGameAllocator12SGameMemInfo -/* 80351860 0034E7C0 80 79 00 84 */ lwz r3, 0x84(r25) -/* 80351864 0034E7C4 7C 9A E2 14 */ add r4, r26, r28 -/* 80351868 0034E7C8 28 1B 00 38 */ cmplwi r27, 0x38 -/* 8035186C 0034E7CC 38 03 FF FF */ addi r0, r3, -1 -/* 80351870 0034E7D0 90 19 00 84 */ stw r0, 0x84(r25) -/* 80351874 0034E7D4 80 19 00 88 */ lwz r0, 0x88(r25) -/* 80351878 0034E7D8 7C 1B 00 50 */ subf r0, r27, r0 -/* 8035187C 0034E7DC 90 19 00 88 */ stw r0, 0x88(r25) -/* 80351880 0034E7E0 80 19 00 8C */ lwz r0, 0x8c(r25) -/* 80351884 0034E7E4 7C 04 00 50 */ subf r0, r4, r0 -/* 80351888 0034E7E8 90 19 00 8C */ stw r0, 0x8c(r25) -/* 8035188C 0034E7EC 80 19 00 90 */ lwz r0, 0x90(r25) -/* 80351890 0034E7F0 7C 00 22 14 */ add r0, r0, r4 -/* 80351894 0034E7F4 90 19 00 90 */ stw r0, 0x90(r25) -/* 80351898 0034E7F8 41 81 00 10 */ bgt lbl_803518A8 -/* 8035189C 0034E7FC 80 79 00 A8 */ lwz r3, 0xa8(r25) -/* 803518A0 0034E800 38 03 FF FF */ addi r0, r3, -1 -/* 803518A4 0034E804 90 19 00 A8 */ stw r0, 0xa8(r25) -lbl_803518A8: -/* 803518A8 0034E808 BB 21 00 14 */ lmw r25, 0x14(r1) -/* 803518AC 0034E80C 38 60 00 01 */ li r3, 1 -/* 803518B0 0034E810 80 01 00 34 */ lwz r0, 0x34(r1) -/* 803518B4 0034E814 7C 08 03 A6 */ mtlr r0 -/* 803518B8 0034E818 38 21 00 30 */ addi r1, r1, 0x30 -/* 803518BC 0034E81C 4E 80 00 20 */ blr - -.global Free__14CGameAllocatorFPCv -Free__14CGameAllocatorFPCv: -/* 803518C0 0034E820 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803518C4 0034E824 7C 08 02 A6 */ mflr r0 -/* 803518C8 0034E828 90 01 00 14 */ stw r0, 0x14(r1) -/* 803518CC 0034E82C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 803518D0 0034E830 7C 9F 23 79 */ or. r31, r4, r4 -/* 803518D4 0034E834 93 C1 00 08 */ stw r30, 8(r1) -/* 803518D8 0034E838 7C 7E 1B 78 */ mr r30, r3 -/* 803518DC 0034E83C 40 82 00 0C */ bne lbl_803518E8 -/* 803518E0 0034E840 38 60 00 01 */ li r3, 1 -/* 803518E4 0034E844 48 00 00 6C */ b lbl_80351950 -lbl_803518E8: -/* 803518E8 0034E848 80 7E 00 60 */ lwz r3, 0x60(r30) -/* 803518EC 0034E84C 28 03 00 00 */ cmplwi r3, 0 -/* 803518F0 0034E850 41 82 00 28 */ beq lbl_80351918 -/* 803518F4 0034E854 80 A3 00 00 */ lwz r5, 0(r3) -/* 803518F8 0034E858 80 03 00 08 */ lwz r0, 8(r3) -/* 803518FC 0034E85C 7C A5 F8 50 */ subf r5, r5, r31 -/* 80351900 0034E860 7C A5 16 70 */ srawi r5, r5, 2 -/* 80351904 0034E864 7C A5 01 94 */ addze r5, r5 -/* 80351908 0034E868 7C 05 00 40 */ cmplw r5, r0 -/* 8035190C 0034E86C 40 80 00 0C */ bge lbl_80351918 -/* 80351910 0034E870 4B FF F5 15 */ bl Free__15CSmallAllocPoolFPCv -/* 80351914 0034E874 48 00 00 3C */ b lbl_80351950 -lbl_80351918: -/* 80351918 0034E878 80 7E 00 74 */ lwz r3, 0x74(r30) -/* 8035191C 0034E87C 28 03 00 00 */ cmplwi r3, 0 -/* 80351920 0034E880 41 82 00 24 */ beq lbl_80351944 -/* 80351924 0034E884 7F E4 FB 78 */ mr r4, r31 -/* 80351928 0034E888 4B FF F2 65 */ bl Free__16CMediumAllocPoolFPCv -/* 8035192C 0034E88C 2C 03 00 01 */ cmpwi r3, 1 -/* 80351930 0034E890 41 82 00 14 */ beq lbl_80351944 -/* 80351934 0034E894 7C 03 00 D0 */ neg r0, r3 -/* 80351938 0034E898 7C 00 18 78 */ andc r0, r0, r3 -/* 8035193C 0034E89C 54 03 0F FE */ srwi r3, r0, 0x1f -/* 80351940 0034E8A0 48 00 00 10 */ b lbl_80351950 -lbl_80351944: -/* 80351944 0034E8A4 7F C3 F3 78 */ mr r3, r30 -/* 80351948 0034E8A8 7F E4 FB 78 */ mr r4, r31 -/* 8035194C 0034E8AC 4B FF FD B5 */ bl FreeNormalAllocation__14CGameAllocatorFPCv -lbl_80351950: -/* 80351950 0034E8B0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80351954 0034E8B4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80351958 0034E8B8 83 C1 00 08 */ lwz r30, 8(r1) -/* 8035195C 0034E8BC 7C 08 03 A6 */ mtlr r0 -/* 80351960 0034E8C0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80351964 0034E8C4 4E 80 00 20 */ blr - -.global UpdateAllocDebugStats__14CGameAllocatorFUiUiUi -UpdateAllocDebugStats__14CGameAllocatorFUiUiUi: -/* 80351968 0034E8C8 80 E3 00 84 */ lwz r7, 0x84(r3) -/* 8035196C 0034E8CC 7C C5 32 14 */ add r6, r5, r6 -/* 80351970 0034E8D0 38 07 00 01 */ addi r0, r7, 1 -/* 80351974 0034E8D4 90 03 00 84 */ stw r0, 0x84(r3) -/* 80351978 0034E8D8 80 A3 00 80 */ lwz r5, 0x80(r3) -/* 8035197C 0034E8DC 38 05 00 01 */ addi r0, r5, 1 -/* 80351980 0034E8E0 90 03 00 80 */ stw r0, 0x80(r3) -/* 80351984 0034E8E4 80 03 00 88 */ lwz r0, 0x88(r3) -/* 80351988 0034E8E8 7C 00 22 14 */ add r0, r0, r4 -/* 8035198C 0034E8EC 90 03 00 88 */ stw r0, 0x88(r3) -/* 80351990 0034E8F0 80 03 00 8C */ lwz r0, 0x8c(r3) -/* 80351994 0034E8F4 7C 00 32 14 */ add r0, r0, r6 -/* 80351998 0034E8F8 90 03 00 8C */ stw r0, 0x8c(r3) -/* 8035199C 0034E8FC 80 03 00 90 */ lwz r0, 0x90(r3) -/* 803519A0 0034E900 7C 06 00 50 */ subf r0, r6, r0 -/* 803519A4 0034E904 90 03 00 90 */ stw r0, 0x90(r3) -/* 803519A8 0034E908 80 A3 00 84 */ lwz r5, 0x84(r3) -/* 803519AC 0034E90C 80 03 00 94 */ lwz r0, 0x94(r3) -/* 803519B0 0034E910 7C 05 00 40 */ cmplw r5, r0 -/* 803519B4 0034E914 40 81 00 08 */ ble lbl_803519BC -/* 803519B8 0034E918 90 A3 00 94 */ stw r5, 0x94(r3) -lbl_803519BC: -/* 803519BC 0034E91C 80 A3 00 8C */ lwz r5, 0x8c(r3) -/* 803519C0 0034E920 80 03 00 98 */ lwz r0, 0x98(r3) -/* 803519C4 0034E924 7C 05 00 40 */ cmplw r5, r0 -/* 803519C8 0034E928 40 81 00 08 */ ble lbl_803519D0 -/* 803519CC 0034E92C 90 A3 00 98 */ stw r5, 0x98(r3) -lbl_803519D0: -/* 803519D0 0034E930 80 03 00 9C */ lwz r0, 0x9c(r3) -/* 803519D4 0034E934 7C 04 00 40 */ cmplw r4, r0 -/* 803519D8 0034E938 40 80 00 08 */ bge lbl_803519E0 -/* 803519DC 0034E93C 90 83 00 9C */ stw r4, 0x9c(r3) -lbl_803519E0: -/* 803519E0 0034E940 80 03 00 A0 */ lwz r0, 0xa0(r3) -/* 803519E4 0034E944 7C 04 00 40 */ cmplw r4, r0 -/* 803519E8 0034E948 40 81 00 08 */ ble lbl_803519F0 -/* 803519EC 0034E94C 90 83 00 A0 */ stw r4, 0xa0(r3) -lbl_803519F0: -/* 803519F0 0034E950 80 C3 00 80 */ lwz r6, 0x80(r3) -/* 803519F4 0034E954 28 04 00 38 */ cmplwi r4, 0x38 -/* 803519F8 0034E958 80 A3 00 A4 */ lwz r5, 0xa4(r3) -/* 803519FC 0034E95C 38 06 FF FF */ addi r0, r6, -1 -/* 80351A00 0034E960 7C 05 01 D6 */ mullw r0, r5, r0 -/* 80351A04 0034E964 7C 04 02 14 */ add r0, r4, r0 -/* 80351A08 0034E968 7C 00 33 96 */ divwu r0, r0, r6 -/* 80351A0C 0034E96C 90 03 00 A4 */ stw r0, 0xa4(r3) -/* 80351A10 0034E970 4D 81 00 20 */ bgtlr -/* 80351A14 0034E974 80 83 00 A8 */ lwz r4, 0xa8(r3) -/* 80351A18 0034E978 38 04 00 01 */ addi r0, r4, 1 -/* 80351A1C 0034E97C 90 03 00 A8 */ stw r0, 0xa8(r3) -/* 80351A20 0034E980 4E 80 00 20 */ blr - -.global FixupAllocPtrs__14CGameAllocatorFPQ214CGameAllocator12SGameMemInfoUiUiQ210IAllocator5EHintRC10CCallStack -FixupAllocPtrs__14CGameAllocatorFPQ214CGameAllocator12SGameMemInfoUiUiQ210IAllocator5EHintRC10CCallStack: -/* 80351A24 0034E984 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 80351A28 0034E988 7C 08 02 A6 */ mflr r0 -/* 80351A2C 0034E98C 90 01 00 74 */ stw r0, 0x74(r1) -/* 80351A30 0034E990 38 06 00 20 */ addi r0, r6, 0x20 -/* 80351A34 0034E994 BF 01 00 50 */ stmw r24, 0x50(r1) -/* 80351A38 0034E998 7C 98 23 78 */ mr r24, r4 -/* 80351A3C 0034E99C 7C B9 2B 78 */ mr r25, r5 -/* 80351A40 0034E9A0 7D 1A 43 78 */ mr r26, r8 -/* 80351A44 0034E9A4 54 FF 07 FE */ clrlwi r31, r7, 0x1f -/* 80351A48 0034E9A8 3B A0 00 00 */ li r29, 0 -/* 80351A4C 0034E9AC 80 84 00 04 */ lwz r4, 4(r4) -/* 80351A50 0034E9B0 7C 04 00 40 */ cmplw r4, r0 -/* 80351A54 0034E9B4 40 82 00 0C */ bne lbl_80351A60 -/* 80351A58 0034E9B8 3B A0 00 20 */ li r29, 0x20 -/* 80351A5C 0034E9BC 38 C6 00 20 */ addi r6, r6, 0x20 -lbl_80351A60: -/* 80351A60 0034E9C0 7C 04 30 40 */ cmplw r4, r6 -/* 80351A64 0034E9C4 7F 1C C3 78 */ mr r28, r24 -/* 80351A68 0034E9C8 41 82 01 64 */ beq lbl_80351BCC -/* 80351A6C 0034E9CC 80 18 00 14 */ lwz r0, 0x14(r24) -/* 80351A70 0034E9D0 28 1F 00 00 */ cmplwi r31, 0 -/* 80351A74 0034E9D4 54 1E 00 34 */ rlwinm r30, r0, 0, 0, 0x1a -/* 80351A78 0034E9D8 41 82 00 8C */ beq lbl_80351B04 -/* 80351A7C 0034E9DC 3C 80 EF F0 */ lis r4, 0xEFEFEFEF@ha -/* 80351A80 0034E9E0 7C A6 F0 50 */ subf r5, r6, r30 -/* 80351A84 0034E9E4 39 44 EF EF */ addi r10, r4, 0xEFEFEFEF@l -/* 80351A88 0034E9E8 39 00 00 00 */ li r8, 0 -/* 80351A8C 0034E9EC 91 45 FF E0 */ stw r10, -0x20(r5) -/* 80351A90 0034E9F0 3C 80 80 3E */ lis r4, lbl_803D8248@ha -/* 80351A94 0034E9F4 38 84 82 48 */ addi r4, r4, lbl_803D8248@l -/* 80351A98 0034E9F8 3B 65 FF E0 */ addi r27, r5, -32 -/* 80351A9C 0034E9FC 93 25 FF E4 */ stw r25, -0x1c(r5) -/* 80351AA0 0034EA00 39 24 00 20 */ addi r9, r4, 0x20 -/* 80351AA4 0034EA04 3C 80 EA EB */ lis r4, 0xEAEAEAEA@ha -/* 80351AA8 0034EA08 38 A6 00 20 */ addi r5, r6, 0x20 -/* 80351AAC 0034EA0C 91 3B 00 08 */ stw r9, 8(r27) -/* 80351AB0 0034EA10 38 E4 EA EA */ addi r7, r4, 0xEAEAEAEA@l -/* 80351AB4 0034EA14 7F 04 C3 78 */ mr r4, r24 -/* 80351AB8 0034EA18 91 3B 00 0C */ stw r9, 0xc(r27) -/* 80351ABC 0034EA1C 93 1B 00 10 */ stw r24, 0x10(r27) -/* 80351AC0 0034EA20 93 DB 00 14 */ stw r30, 0x14(r27) -/* 80351AC4 0034EA24 91 1B 00 18 */ stw r8, 0x18(r27) -/* 80351AC8 0034EA28 90 FB 00 1C */ stw r7, 0x1c(r27) -/* 80351ACC 0034EA2C 80 18 00 04 */ lwz r0, 4(r24) -/* 80351AD0 0034EA30 91 41 00 28 */ stw r10, 0x28(r1) -/* 80351AD4 0034EA34 7C 05 00 50 */ subf r0, r5, r0 -/* 80351AD8 0034EA38 93 21 00 2C */ stw r25, 0x2c(r1) -/* 80351ADC 0034EA3C 91 21 00 30 */ stw r9, 0x30(r1) -/* 80351AE0 0034EA40 91 21 00 34 */ stw r9, 0x34(r1) -/* 80351AE4 0034EA44 93 01 00 38 */ stw r24, 0x38(r1) -/* 80351AE8 0034EA48 93 C1 00 3C */ stw r30, 0x3c(r1) -/* 80351AEC 0034EA4C 91 01 00 40 */ stw r8, 0x40(r1) -/* 80351AF0 0034EA50 90 E1 00 44 */ stw r7, 0x44(r1) -/* 80351AF4 0034EA54 90 18 00 04 */ stw r0, 4(r24) -/* 80351AF8 0034EA58 4B FF F7 A5 */ bl AddFreeEntryToFreeList__14CGameAllocatorFPQ214CGameAllocator12SGameMemInfo -/* 80351AFC 0034EA5C 7F 7C DB 78 */ mr r28, r27 -/* 80351B00 0034EA60 48 00 00 84 */ b lbl_80351B84 -lbl_80351B04: -/* 80351B04 0034EA64 3B 66 00 20 */ addi r27, r6, 0x20 -/* 80351B08 0034EA68 81 18 00 18 */ lwz r8, 0x18(r24) -/* 80351B0C 0034EA6C 3C A0 EF F0 */ lis r5, 0xEFEFEFEF@ha -/* 80351B10 0034EA70 80 18 00 04 */ lwz r0, 4(r24) -/* 80351B14 0034EA74 38 E5 EF EF */ addi r7, r5, 0xEFEFEFEF@l -/* 80351B18 0034EA78 7F 78 DA 14 */ add r27, r24, r27 -/* 80351B1C 0034EA7C 7C A6 00 50 */ subf r5, r6, r0 -/* 80351B20 0034EA80 3C 80 80 3E */ lis r4, lbl_803D8248@ha -/* 80351B24 0034EA84 38 C5 FF E0 */ addi r6, r5, -32 -/* 80351B28 0034EA88 90 FB 00 00 */ stw r7, 0(r27) -/* 80351B2C 0034EA8C 38 84 82 48 */ addi r4, r4, lbl_803D8248@l -/* 80351B30 0034EA90 55 08 00 34 */ rlwinm r8, r8, 0, 0, 0x1a -/* 80351B34 0034EA94 38 A4 00 20 */ addi r5, r4, 0x20 -/* 80351B38 0034EA98 90 DB 00 04 */ stw r6, 4(r27) -/* 80351B3C 0034EA9C 3C 80 EA EB */ lis r4, 0xEAEAEAEA@ha -/* 80351B40 0034EAA0 90 BB 00 08 */ stw r5, 8(r27) -/* 80351B44 0034EAA4 38 04 EA EA */ addi r0, r4, 0xEAEAEAEA@l -/* 80351B48 0034EAA8 7F 64 DB 78 */ mr r4, r27 -/* 80351B4C 0034EAAC 90 BB 00 0C */ stw r5, 0xc(r27) -/* 80351B50 0034EAB0 93 1B 00 10 */ stw r24, 0x10(r27) -/* 80351B54 0034EAB4 93 DB 00 14 */ stw r30, 0x14(r27) -/* 80351B58 0034EAB8 91 1B 00 18 */ stw r8, 0x18(r27) -/* 80351B5C 0034EABC 90 E1 00 08 */ stw r7, 8(r1) -/* 80351B60 0034EAC0 90 C1 00 0C */ stw r6, 0xc(r1) -/* 80351B64 0034EAC4 90 A1 00 10 */ stw r5, 0x10(r1) -/* 80351B68 0034EAC8 90 A1 00 14 */ stw r5, 0x14(r1) -/* 80351B6C 0034EACC 93 01 00 18 */ stw r24, 0x18(r1) -/* 80351B70 0034EAD0 93 C1 00 1C */ stw r30, 0x1c(r1) -/* 80351B74 0034EAD4 91 01 00 20 */ stw r8, 0x20(r1) -/* 80351B78 0034EAD8 90 01 00 24 */ stw r0, 0x24(r1) -/* 80351B7C 0034EADC 90 1B 00 1C */ stw r0, 0x1c(r27) -/* 80351B80 0034EAE0 4B FF F7 1D */ bl AddFreeEntryToFreeList__14CGameAllocatorFPQ214CGameAllocator12SGameMemInfo -lbl_80351B84: -/* 80351B84 0034EAE4 7F 43 D3 78 */ mr r3, r26 -/* 80351B88 0034EAE8 4B F8 48 45 */ bl GetFileAndLineText__10CCallStackCFv -/* 80351B8C 0034EAEC 90 7C 00 08 */ stw r3, 8(r28) -/* 80351B90 0034EAF0 7F 43 D3 78 */ mr r3, r26 -/* 80351B94 0034EAF4 4B F8 48 31 */ bl GetTypeText__10CCallStackCFv -/* 80351B98 0034EAF8 90 7C 00 0C */ stw r3, 0xc(r28) -/* 80351B9C 0034EAFC 3B A0 00 20 */ li r29, 0x20 -/* 80351BA0 0034EB00 80 7E 00 10 */ lwz r3, 0x10(r30) -/* 80351BA4 0034EB04 93 7E 00 10 */ stw r27, 0x10(r30) -/* 80351BA8 0034EB08 80 1E 00 10 */ lwz r0, 0x10(r30) -/* 80351BAC 0034EB0C 50 60 06 FE */ rlwimi r0, r3, 0, 0x1b, 0x1f -/* 80351BB0 0034EB10 90 1E 00 10 */ stw r0, 0x10(r30) -/* 80351BB4 0034EB14 80 78 00 14 */ lwz r3, 0x14(r24) -/* 80351BB8 0034EB18 93 78 00 14 */ stw r27, 0x14(r24) -/* 80351BBC 0034EB1C 80 18 00 14 */ lwz r0, 0x14(r24) -/* 80351BC0 0034EB20 50 60 06 FE */ rlwimi r0, r3, 0, 0x1b, 0x1f -/* 80351BC4 0034EB24 90 18 00 14 */ stw r0, 0x14(r24) -/* 80351BC8 0034EB28 48 00 00 1C */ b lbl_80351BE4 -lbl_80351BCC: -/* 80351BCC 0034EB2C 7F 43 D3 78 */ mr r3, r26 -/* 80351BD0 0034EB30 4B F8 47 FD */ bl GetFileAndLineText__10CCallStackCFv -/* 80351BD4 0034EB34 90 78 00 08 */ stw r3, 8(r24) -/* 80351BD8 0034EB38 7F 43 D3 78 */ mr r3, r26 -/* 80351BDC 0034EB3C 4B F8 47 E9 */ bl GetTypeText__10CCallStackCFv -/* 80351BE0 0034EB40 90 78 00 0C */ stw r3, 0xc(r24) -lbl_80351BE4: -/* 80351BE4 0034EB44 80 7C 00 10 */ lwz r3, 0x10(r28) -/* 80351BE8 0034EB48 28 1F 00 00 */ cmplwi r31, 0 -/* 80351BEC 0034EB4C 38 80 00 00 */ li r4, 0 -/* 80351BF0 0034EB50 54 60 06 FE */ clrlwi r0, r3, 0x1b -/* 80351BF4 0034EB54 54 65 00 34 */ rlwinm r5, r3, 0, 0, 0x1a -/* 80351BF8 0034EB58 41 82 00 08 */ beq lbl_80351C00 -/* 80351BFC 0034EB5C 38 80 00 02 */ li r4, 2 -lbl_80351C00: -/* 80351C00 0034EB60 54 00 07 FA */ rlwinm r0, r0, 0, 0x1f, 0x1d -/* 80351C04 0034EB64 7F A3 EB 78 */ mr r3, r29 -/* 80351C08 0034EB68 7C 80 03 78 */ or r0, r4, r0 -/* 80351C0C 0034EB6C 7C A0 03 78 */ or r0, r5, r0 -/* 80351C10 0034EB70 90 1C 00 10 */ stw r0, 0x10(r28) -/* 80351C14 0034EB74 80 9C 00 10 */ lwz r4, 0x10(r28) -/* 80351C18 0034EB78 54 80 06 FC */ rlwinm r0, r4, 0, 0x1b, 0x1e -/* 80351C1C 0034EB7C 60 00 00 01 */ ori r0, r0, 1 -/* 80351C20 0034EB80 50 80 00 34 */ rlwimi r0, r4, 0, 0, 0x1a -/* 80351C24 0034EB84 90 1C 00 10 */ stw r0, 0x10(r28) -/* 80351C28 0034EB88 93 3C 00 04 */ stw r25, 4(r28) -/* 80351C2C 0034EB8C BB 01 00 50 */ lmw r24, 0x50(r1) -/* 80351C30 0034EB90 80 01 00 74 */ lwz r0, 0x74(r1) -/* 80351C34 0034EB94 7C 08 03 A6 */ mtlr r0 -/* 80351C38 0034EB98 38 21 00 70 */ addi r1, r1, 0x70 -/* 80351C3C 0034EB9C 4E 80 00 20 */ blr - -.global FindFreeBlockFromTopOfHeap__14CGameAllocatorFUi -FindFreeBlockFromTopOfHeap__14CGameAllocatorFUi: -/* 80351C40 0034EBA0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80351C44 0034EBA4 7C 08 02 A6 */ mflr r0 -/* 80351C48 0034EBA8 90 01 00 14 */ stw r0, 0x14(r1) -/* 80351C4C 0034EBAC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80351C50 0034EBB0 3B E0 00 00 */ li r31, 0 -/* 80351C54 0034EBB4 80 C3 00 10 */ lwz r6, 0x10(r3) -/* 80351C58 0034EBB8 48 00 00 28 */ b lbl_80351C80 -lbl_80351C5C: -/* 80351C5C 0034EBBC 80 A6 00 10 */ lwz r5, 0x10(r6) -/* 80351C60 0034EBC0 54 A0 07 FF */ clrlwi. r0, r5, 0x1f -/* 80351C64 0034EBC4 40 82 00 18 */ bne lbl_80351C7C -/* 80351C68 0034EBC8 80 06 00 04 */ lwz r0, 4(r6) -/* 80351C6C 0034EBCC 7C 00 20 40 */ cmplw r0, r4 -/* 80351C70 0034EBD0 41 80 00 0C */ blt lbl_80351C7C -/* 80351C74 0034EBD4 7C DF 33 78 */ mr r31, r6 -/* 80351C78 0034EBD8 48 00 00 10 */ b lbl_80351C88 -lbl_80351C7C: -/* 80351C7C 0034EBDC 54 A6 00 34 */ rlwinm r6, r5, 0, 0, 0x1a -lbl_80351C80: -/* 80351C80 0034EBE0 28 06 00 00 */ cmplwi r6, 0 -/* 80351C84 0034EBE4 40 82 FF D8 */ bne lbl_80351C5C -lbl_80351C88: -/* 80351C88 0034EBE8 7F E4 FB 78 */ mr r4, r31 -/* 80351C8C 0034EBEC 4B FF F5 6D */ bl RemoveFreeEntryFromFreeList__14CGameAllocatorFPQ214CGameAllocator12SGameMemInfo -/* 80351C90 0034EBF0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80351C94 0034EBF4 7F E3 FB 78 */ mr r3, r31 -/* 80351C98 0034EBF8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80351C9C 0034EBFC 7C 08 03 A6 */ mtlr r0 -/* 80351CA0 0034EC00 38 21 00 10 */ addi r1, r1, 0x10 -/* 80351CA4 0034EC04 4E 80 00 20 */ blr - -.global FindFreeBlock__14CGameAllocatorFUi -FindFreeBlock__14CGameAllocatorFUi: -/* 80351CA8 0034EC08 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80351CAC 0034EC0C 7C 08 02 A6 */ mflr r0 -/* 80351CB0 0034EC10 90 01 00 24 */ stw r0, 0x24(r1) -/* 80351CB4 0034EC14 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80351CB8 0034EC18 3B E0 00 00 */ li r31, 0 -/* 80351CBC 0034EC1C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80351CC0 0034EC20 7C 9E 23 78 */ mr r30, r4 -/* 80351CC4 0034EC24 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80351CC8 0034EC28 7C 7D 1B 78 */ mr r29, r3 -/* 80351CCC 0034EC2C 7F C3 F3 78 */ mr r3, r30 -/* 80351CD0 0034EC30 4B FF F6 2D */ bl GetFreeBinEntryForSize__14CGameAllocatorFUi -/* 80351CD4 0034EC34 54 60 10 3A */ slwi r0, r3, 2 -/* 80351CD8 0034EC38 38 C0 00 00 */ li r6, 0 -/* 80351CDC 0034EC3C 38 E0 00 00 */ li r7, 0 -/* 80351CE0 0034EC40 3D 00 10 00 */ lis r8, 0x1000 -/* 80351CE4 0034EC44 7C BD 02 14 */ add r5, r29, r0 -/* 80351CE8 0034EC48 48 00 00 74 */ b lbl_80351D5C -lbl_80351CEC: -/* 80351CEC 0034EC4C 81 25 00 14 */ lwz r9, 0x14(r5) -/* 80351CF0 0034EC50 39 40 00 00 */ li r10, 0 -/* 80351CF4 0034EC54 48 00 00 58 */ b lbl_80351D4C -lbl_80351CF8: -/* 80351CF8 0034EC58 80 09 00 10 */ lwz r0, 0x10(r9) -/* 80351CFC 0034EC5C 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 80351D00 0034EC60 40 82 00 40 */ bne lbl_80351D40 -/* 80351D04 0034EC64 80 09 00 04 */ lwz r0, 4(r9) -/* 80351D08 0034EC68 7C 00 F0 40 */ cmplw r0, r30 -/* 80351D0C 0034EC6C 41 80 00 34 */ blt lbl_80351D40 -/* 80351D10 0034EC70 7C 9E 00 50 */ subf r4, r30, r0 -/* 80351D14 0034EC74 7C 04 40 40 */ cmplw r4, r8 -/* 80351D18 0034EC78 40 80 00 28 */ bge lbl_80351D40 -/* 80351D1C 0034EC7C 80 09 00 14 */ lwz r0, 0x14(r9) -/* 80351D20 0034EC80 54 00 00 35 */ rlwinm. r0, r0, 0, 0, 0x1a -/* 80351D24 0034EC84 41 82 00 1C */ beq lbl_80351D40 -/* 80351D28 0034EC88 28 04 00 20 */ cmplwi r4, 0x20 -/* 80351D2C 0034EC8C 7D 3F 4B 78 */ mr r31, r9 -/* 80351D30 0034EC90 7D 47 53 78 */ mr r7, r10 -/* 80351D34 0034EC94 7C 88 23 78 */ mr r8, r4 -/* 80351D38 0034EC98 7C 66 1B 78 */ mr r6, r3 -/* 80351D3C 0034EC9C 41 80 00 18 */ blt lbl_80351D54 -lbl_80351D40: -/* 80351D40 0034ECA0 80 09 00 18 */ lwz r0, 0x18(r9) -/* 80351D44 0034ECA4 7D 2A 4B 78 */ mr r10, r9 -/* 80351D48 0034ECA8 54 09 00 34 */ rlwinm r9, r0, 0, 0, 0x1a -lbl_80351D4C: -/* 80351D4C 0034ECAC 28 09 00 00 */ cmplwi r9, 0 -/* 80351D50 0034ECB0 40 82 FF A8 */ bne lbl_80351CF8 -lbl_80351D54: -/* 80351D54 0034ECB4 38 A5 00 04 */ addi r5, r5, 4 -/* 80351D58 0034ECB8 38 63 00 01 */ addi r3, r3, 1 -lbl_80351D5C: -/* 80351D5C 0034ECBC 28 03 00 10 */ cmplwi r3, 0x10 -/* 80351D60 0034ECC0 40 80 00 0C */ bge lbl_80351D6C -/* 80351D64 0034ECC4 28 1F 00 00 */ cmplwi r31, 0 -/* 80351D68 0034ECC8 41 82 FF 84 */ beq lbl_80351CEC -lbl_80351D6C: -/* 80351D6C 0034ECCC 28 1F 00 00 */ cmplwi r31, 0 -/* 80351D70 0034ECD0 41 82 00 40 */ beq lbl_80351DB0 -/* 80351D74 0034ECD4 28 07 00 00 */ cmplwi r7, 0 -/* 80351D78 0034ECD8 40 82 00 1C */ bne lbl_80351D94 -/* 80351D7C 0034ECDC 80 9F 00 18 */ lwz r4, 0x18(r31) -/* 80351D80 0034ECE0 54 C0 10 3A */ slwi r0, r6, 2 -/* 80351D84 0034ECE4 7C 7D 02 14 */ add r3, r29, r0 -/* 80351D88 0034ECE8 54 80 00 34 */ rlwinm r0, r4, 0, 0, 0x1a -/* 80351D8C 0034ECEC 90 03 00 14 */ stw r0, 0x14(r3) -/* 80351D90 0034ECF0 48 00 00 20 */ b lbl_80351DB0 -lbl_80351D94: -/* 80351D94 0034ECF4 80 1F 00 18 */ lwz r0, 0x18(r31) -/* 80351D98 0034ECF8 80 67 00 18 */ lwz r3, 0x18(r7) -/* 80351D9C 0034ECFC 54 00 00 34 */ rlwinm r0, r0, 0, 0, 0x1a -/* 80351DA0 0034ED00 90 07 00 18 */ stw r0, 0x18(r7) -/* 80351DA4 0034ED04 80 07 00 18 */ lwz r0, 0x18(r7) -/* 80351DA8 0034ED08 50 60 06 FE */ rlwimi r0, r3, 0, 0x1b, 0x1f -/* 80351DAC 0034ED0C 90 07 00 18 */ stw r0, 0x18(r7) -lbl_80351DB0: -/* 80351DB0 0034ED10 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80351DB4 0034ED14 7F E3 FB 78 */ mr r3, r31 -/* 80351DB8 0034ED18 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80351DBC 0034ED1C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80351DC0 0034ED20 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80351DC4 0034ED24 7C 08 03 A6 */ mtlr r0 -/* 80351DC8 0034ED28 38 21 00 20 */ addi r1, r1, 0x20 -/* 80351DCC 0034ED2C 4E 80 00 20 */ blr - -.global Alloc__14CGameAllocatorFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack -Alloc__14CGameAllocatorFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack: -/* 80351DD0 0034ED30 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80351DD4 0034ED34 7C 08 02 A6 */ mflr r0 -/* 80351DD8 0034ED38 90 01 00 44 */ stw r0, 0x44(r1) -/* 80351DDC 0034ED3C BE C1 00 18 */ stmw r22, 0x18(r1) -/* 80351DE0 0034ED40 7C 7F 1B 78 */ mr r31, r3 -/* 80351DE4 0034ED44 7C 9A 23 78 */ mr r26, r4 -/* 80351DE8 0034ED48 7C BB 2B 78 */ mr r27, r5 -/* 80351DEC 0034ED4C 7C DC 33 78 */ mr r28, r6 -/* 80351DF0 0034ED50 7C FD 3B 78 */ mr r29, r7 -/* 80351DF4 0034ED54 7D 1E 43 78 */ mr r30, r8 -/* 80351DF8 0034ED58 48 03 35 C9 */ bl OSGetTick -/* 80351DFC 0034ED5C 57 60 07 BD */ rlwinm. r0, r27, 0, 0x1e, 0x1e -/* 80351E00 0034ED60 7C 79 1B 78 */ mr r25, r3 -/* 80351E04 0034ED64 41 82 00 0C */ beq lbl_80351E10 -/* 80351E08 0034ED68 38 1A 00 1F */ addi r0, r26, 0x1f -/* 80351E0C 0034ED6C 54 1A 00 34 */ rlwinm r26, r0, 0, 0, 0x1a -lbl_80351E10: -/* 80351E10 0034ED70 28 1A 00 38 */ cmplwi r26, 0x38 -/* 80351E14 0034ED74 38 60 00 00 */ li r3, 0 -/* 80351E18 0034ED78 41 81 00 1C */ bgt lbl_80351E34 -/* 80351E1C 0034ED7C 57 60 07 BF */ clrlwi. r0, r27, 0x1e -/* 80351E20 0034ED80 40 82 00 14 */ bne lbl_80351E34 -/* 80351E24 0034ED84 80 1F 00 60 */ lwz r0, 0x60(r31) -/* 80351E28 0034ED88 28 00 00 00 */ cmplwi r0, 0 -/* 80351E2C 0034ED8C 41 82 00 08 */ beq lbl_80351E34 -/* 80351E30 0034ED90 38 60 00 01 */ li r3, 1 -lbl_80351E34: -/* 80351E34 0034ED94 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80351E38 0034ED98 7C 64 1B 78 */ mr r4, r3 -/* 80351E3C 0034ED9C 41 82 00 1C */ beq lbl_80351E58 -/* 80351E40 0034EDA0 80 7F 00 70 */ lwz r3, 0x70(r31) -/* 80351E44 0034EDA4 2C 03 00 00 */ cmpwi r3, 0 -/* 80351E48 0034EDA8 40 81 00 10 */ ble lbl_80351E58 -/* 80351E4C 0034EDAC 38 03 FF FF */ addi r0, r3, -1 -/* 80351E50 0034EDB0 38 80 00 00 */ li r4, 0 -/* 80351E54 0034EDB4 90 1F 00 70 */ stw r0, 0x70(r31) -lbl_80351E58: -/* 80351E58 0034EDB8 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 80351E5C 0034EDBC 41 82 00 98 */ beq lbl_80351EF4 -/* 80351E60 0034EDC0 80 7F 00 60 */ lwz r3, 0x60(r31) -/* 80351E64 0034EDC4 7F 44 D3 78 */ mr r4, r26 -/* 80351E68 0034EDC8 4B FF F0 51 */ bl Alloc__15CSmallAllocPoolFUi -/* 80351E6C 0034EDCC 80 BF 00 60 */ lwz r5, 0x60(r31) -/* 80351E70 0034EDD0 7C 78 1B 78 */ mr r24, r3 -/* 80351E74 0034EDD4 80 1F 00 AC */ lwz r0, 0xac(r31) -/* 80351E78 0034EDD8 80 85 00 18 */ lwz r4, 0x18(r5) -/* 80351E7C 0034EDDC 80 65 00 08 */ lwz r3, 8(r5) -/* 80351E80 0034EDE0 7C 84 18 50 */ subf r4, r4, r3 -/* 80351E84 0034EDE4 7C 00 20 40 */ cmplw r0, r4 -/* 80351E88 0034EDE8 40 80 00 38 */ bge lbl_80351EC0 -/* 80351E8C 0034EDEC 90 9F 00 AC */ stw r4, 0xac(r31) -/* 80351E90 0034EDF0 88 0D AA 28 */ lbz r0, lbl_805A95E8@sda21(r13) -/* 80351E94 0034EDF4 7C 00 07 75 */ extsb. r0, r0 -/* 80351E98 0034EDF8 40 82 00 14 */ bne lbl_80351EAC -/* 80351E9C 0034EDFC 38 60 00 00 */ li r3, 0 -/* 80351EA0 0034EE00 38 00 00 01 */ li r0, 1 -/* 80351EA4 0034EE04 90 6D AA 24 */ stw r3, lbl_805A95E4@sda21(r13) -/* 80351EA8 0034EE08 98 0D AA 28 */ stb r0, lbl_805A95E8@sda21(r13) -lbl_80351EAC: -/* 80351EAC 0034EE0C 80 6D AA 24 */ lwz r3, lbl_805A95E4@sda21(r13) -/* 80351EB0 0034EE10 38 03 00 80 */ addi r0, r3, 0x80 -/* 80351EB4 0034EE14 7C 00 20 40 */ cmplw r0, r4 -/* 80351EB8 0034EE18 40 80 00 08 */ bge lbl_80351EC0 -/* 80351EBC 0034EE1C 90 8D AA 24 */ stw r4, lbl_805A95E4@sda21(r13) -lbl_80351EC0: -/* 80351EC0 0034EE20 28 18 00 00 */ cmplwi r24, 0 -/* 80351EC4 0034EE24 41 82 00 20 */ beq lbl_80351EE4 -/* 80351EC8 0034EE28 48 03 34 F9 */ bl OSGetTick -/* 80351ECC 0034EE2C 80 0D AA 20 */ lwz r0, lbl_805A95E0@sda21(r13) -/* 80351ED0 0034EE30 7C 99 18 50 */ subf r4, r25, r3 -/* 80351ED4 0034EE34 7F 03 C3 78 */ mr r3, r24 -/* 80351ED8 0034EE38 7C 00 22 14 */ add r0, r0, r4 -/* 80351EDC 0034EE3C 90 0D AA 20 */ stw r0, lbl_805A95E0@sda21(r13) -/* 80351EE0 0034EE40 48 00 02 84 */ b lbl_80352164 -lbl_80351EE4: -/* 80351EE4 0034EE44 38 60 00 19 */ li r3, 0x19 -/* 80351EE8 0034EE48 38 00 00 01 */ li r0, 1 -/* 80351EEC 0034EE4C 90 7F 00 70 */ stw r3, 0x70(r31) -/* 80351EF0 0034EE50 98 1F 00 6C */ stb r0, 0x6c(r31) -lbl_80351EF4: -/* 80351EF4 0034EE54 80 7F 00 74 */ lwz r3, 0x74(r31) -/* 80351EF8 0034EE58 28 03 00 00 */ cmplwi r3, 0 -/* 80351EFC 0034EE5C 41 82 01 10 */ beq lbl_8035200C -/* 80351F00 0034EE60 28 1A 04 00 */ cmplwi r26, 0x400 -/* 80351F04 0034EE64 41 81 01 08 */ bgt lbl_8035200C -/* 80351F08 0034EE68 57 60 07 FF */ clrlwi. r0, r27, 0x1f -/* 80351F0C 0034EE6C 40 82 01 00 */ bne lbl_8035200C -/* 80351F10 0034EE70 4B FF ED CD */ bl sub_80350cdc -/* 80351F14 0034EE74 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80351F18 0034EE78 40 82 00 20 */ bne lbl_80351F38 -/* 80351F1C 0034EE7C 80 7F 00 74 */ lwz r3, 0x74(r31) -/* 80351F20 0034EE80 3A E0 00 00 */ li r23, 0 -/* 80351F24 0034EE84 80 BF 00 78 */ lwz r5, 0x78(r31) -/* 80351F28 0034EE88 38 80 10 00 */ li r4, 0x1000 -/* 80351F2C 0034EE8C 38 C0 00 00 */ li r6, 0 -/* 80351F30 0034EE90 4B FF EA 61 */ bl AddPuddle__16CMediumAllocPoolFUiPvPvi -/* 80351F34 0034EE94 92 FF 00 78 */ stw r23, 0x78(r31) -lbl_80351F38: -/* 80351F38 0034EE98 80 7F 00 74 */ lwz r3, 0x74(r31) -/* 80351F3C 0034EE9C 7F 44 D3 78 */ mr r4, r26 -/* 80351F40 0034EEA0 4B FF EC F9 */ bl Alloc__16CMediumAllocPoolFUi -/* 80351F44 0034EEA4 7C 77 1B 79 */ or. r23, r3, r3 -/* 80351F48 0034EEA8 40 82 00 74 */ bne lbl_80351FBC -/* 80351F4C 0034EEAC 3C 80 80 3E */ lis r4, lbl_803D8248@ha -/* 80351F50 0034EEB0 38 61 00 08 */ addi r3, r1, 8 -/* 80351F54 0034EEB4 38 C4 82 48 */ addi r6, r4, lbl_803D8248@l -/* 80351F58 0034EEB8 38 80 FF FF */ li r4, -1 -/* 80351F5C 0034EEBC 38 A6 00 21 */ addi r5, r6, 0x21 -/* 80351F60 0034EEC0 38 C6 00 38 */ addi r6, r6, 0x38 -/* 80351F64 0034EEC4 4B F8 44 71 */ bl __ct__10CCallStackFUiPCcPCc -/* 80351F68 0034EEC8 81 9F 00 00 */ lwz r12, 0(r31) -/* 80351F6C 0034EECC 3C 80 00 02 */ lis r4, 0x00021000@ha -/* 80351F70 0034EED0 7C 68 1B 78 */ mr r8, r3 -/* 80351F74 0034EED4 7F E3 FB 78 */ mr r3, r31 -/* 80351F78 0034EED8 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80351F7C 0034EEDC 38 A0 00 00 */ li r5, 0 -/* 80351F80 0034EEE0 38 84 10 00 */ addi r4, r4, 0x00021000@l -/* 80351F84 0034EEE4 38 C0 00 01 */ li r6, 1 -/* 80351F88 0034EEE8 38 E0 00 00 */ li r7, 0 -/* 80351F8C 0034EEEC 7D 89 03 A6 */ mtctr r12 -/* 80351F90 0034EEF0 4E 80 04 21 */ bctrl -/* 80351F94 0034EEF4 7C 60 1B 78 */ mr r0, r3 -/* 80351F98 0034EEF8 80 7F 00 74 */ lwz r3, 0x74(r31) -/* 80351F9C 0034EEFC 7C 05 03 78 */ mr r5, r0 -/* 80351FA0 0034EF00 38 80 10 00 */ li r4, 0x1000 -/* 80351FA4 0034EF04 38 C0 00 01 */ li r6, 1 -/* 80351FA8 0034EF08 4B FF E9 E9 */ bl AddPuddle__16CMediumAllocPoolFUiPvPvi -/* 80351FAC 0034EF0C 80 7F 00 74 */ lwz r3, 0x74(r31) -/* 80351FB0 0034EF10 7F 44 D3 78 */ mr r4, r26 -/* 80351FB4 0034EF14 4B FF EC 85 */ bl Alloc__16CMediumAllocPoolFUi -/* 80351FB8 0034EF18 7C 77 1B 78 */ mr r23, r3 -lbl_80351FBC: -/* 80351FBC 0034EF1C 28 17 00 00 */ cmplwi r23, 0 -/* 80351FC0 0034EF20 41 82 00 20 */ beq lbl_80351FE0 -/* 80351FC4 0034EF24 48 03 33 FD */ bl OSGetTick -/* 80351FC8 0034EF28 80 0D AA 20 */ lwz r0, lbl_805A95E0@sda21(r13) -/* 80351FCC 0034EF2C 7C 99 18 50 */ subf r4, r25, r3 -/* 80351FD0 0034EF30 7E E3 BB 78 */ mr r3, r23 -/* 80351FD4 0034EF34 7C 00 22 14 */ add r0, r0, r4 -/* 80351FD8 0034EF38 90 0D AA 20 */ stw r0, lbl_805A95E0@sda21(r13) -/* 80351FDC 0034EF3C 48 00 01 88 */ b lbl_80352164 -lbl_80351FE0: -/* 80351FE0 0034EF40 88 1F 00 7C */ lbz r0, 0x7c(r31) -/* 80351FE4 0034EF44 28 00 00 00 */ cmplwi r0, 0 -/* 80351FE8 0034EF48 40 82 00 1C */ bne lbl_80352004 -/* 80351FEC 0034EF4C 80 7F 00 74 */ lwz r3, 0x74(r31) -/* 80351FF0 0034EF50 4B FF EB 45 */ bl GetTotalEntries__16CMediumAllocPoolFv -/* 80351FF4 0034EF54 80 7F 00 74 */ lwz r3, 0x74(r31) -/* 80351FF8 0034EF58 4B FF EB 69 */ bl GetNumAllocs__16CMediumAllocPoolFv -/* 80351FFC 0034EF5C 80 7F 00 74 */ lwz r3, 0x74(r31) -/* 80352000 0034EF60 4B FF EB 09 */ bl GetNumBlocksAvailable__16CMediumAllocPoolFv -lbl_80352004: -/* 80352004 0034EF64 38 00 00 01 */ li r0, 1 -/* 80352008 0034EF68 98 1F 00 7C */ stb r0, 0x7c(r31) -lbl_8035200C: -/* 8035200C 0034EF6C 57 77 07 FF */ clrlwi. r23, r27, 0x1f -/* 80352010 0034EF70 38 1A 00 1F */ addi r0, r26, 0x1f -/* 80352014 0034EF74 54 16 00 34 */ rlwinm r22, r0, 0, 0, 0x1a -/* 80352018 0034EF78 41 82 00 18 */ beq lbl_80352030 -/* 8035201C 0034EF7C 7F E3 FB 78 */ mr r3, r31 -/* 80352020 0034EF80 7E C4 B3 78 */ mr r4, r22 -/* 80352024 0034EF84 4B FF FC 1D */ bl FindFreeBlockFromTopOfHeap__14CGameAllocatorFUi -/* 80352028 0034EF88 7C 78 1B 78 */ mr r24, r3 -/* 8035202C 0034EF8C 48 00 00 14 */ b lbl_80352040 -lbl_80352030: -/* 80352030 0034EF90 7F E3 FB 78 */ mr r3, r31 -/* 80352034 0034EF94 7E C4 B3 78 */ mr r4, r22 -/* 80352038 0034EF98 4B FF FC 71 */ bl FindFreeBlock__14CGameAllocatorFUi -/* 8035203C 0034EF9C 7C 78 1B 78 */ mr r24, r3 -lbl_80352040: -/* 80352040 0034EFA0 28 18 00 00 */ cmplwi r24, 0 -/* 80352044 0034EFA4 40 82 00 BC */ bne lbl_80352100 -/* 80352048 0034EFA8 81 9F 00 58 */ lwz r12, 0x58(r31) -/* 8035204C 0034EFAC 38 60 00 00 */ li r3, 0 -/* 80352050 0034EFB0 28 0C 00 00 */ cmplwi r12, 0 -/* 80352054 0034EFB4 41 82 00 80 */ beq lbl_803520D4 -/* 80352058 0034EFB8 7F 44 D3 78 */ mr r4, r26 -/* 8035205C 0034EFBC 80 7F 00 5C */ lwz r3, 0x5c(r31) -/* 80352060 0034EFC0 7D 89 03 A6 */ mtctr r12 -/* 80352064 0034EFC4 4E 80 04 21 */ bctrl -/* 80352068 0034EFC8 88 0D AA 2A */ lbz r0, lbl_805A95EA@sda21(r13) -/* 8035206C 0034EFCC 7C 00 07 75 */ extsb. r0, r0 -/* 80352070 0034EFD0 40 82 00 14 */ bne lbl_80352084 -/* 80352074 0034EFD4 38 60 00 00 */ li r3, 0 -/* 80352078 0034EFD8 38 00 00 01 */ li r0, 1 -/* 8035207C 0034EFDC 98 6D AA 29 */ stb r3, lbl_805A95E9@sda21(r13) -/* 80352080 0034EFE0 98 0D AA 2A */ stb r0, lbl_805A95EA@sda21(r13) -lbl_80352084: -/* 80352084 0034EFE4 88 0D AA 29 */ lbz r0, lbl_805A95E9@sda21(r13) -/* 80352088 0034EFE8 28 00 00 00 */ cmplwi r0, 0 -/* 8035208C 0034EFEC 40 82 00 40 */ bne lbl_803520CC -/* 80352090 0034EFF0 38 00 00 01 */ li r0, 1 -/* 80352094 0034EFF4 7F E3 FB 78 */ mr r3, r31 -/* 80352098 0034EFF8 98 0D AA 29 */ stb r0, lbl_805A95E9@sda21(r13) -/* 8035209C 0034EFFC 7F 44 D3 78 */ mr r4, r26 -/* 803520A0 0034F000 7F 65 DB 78 */ mr r5, r27 -/* 803520A4 0034F004 7F 86 E3 78 */ mr r6, r28 -/* 803520A8 0034F008 81 9F 00 00 */ lwz r12, 0(r31) -/* 803520AC 0034F00C 7F A7 EB 78 */ mr r7, r29 -/* 803520B0 0034F010 7F C8 F3 78 */ mr r8, r30 -/* 803520B4 0034F014 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 803520B8 0034F018 7D 89 03 A6 */ mtctr r12 -/* 803520BC 0034F01C 4E 80 04 21 */ bctrl -/* 803520C0 0034F020 38 00 00 00 */ li r0, 0 -/* 803520C4 0034F024 98 0D AA 29 */ stb r0, lbl_805A95E9@sda21(r13) -/* 803520C8 0034F028 48 00 00 0C */ b lbl_803520D4 -lbl_803520CC: -/* 803520CC 0034F02C 38 60 00 00 */ li r3, 0 -/* 803520D0 0034F030 48 00 00 94 */ b lbl_80352164 -lbl_803520D4: -/* 803520D4 0034F034 28 03 00 00 */ cmplwi r3, 0 -/* 803520D8 0034F038 40 82 00 8C */ bne lbl_80352164 -/* 803520DC 0034F03C 7F C3 F3 78 */ mr r3, r30 -/* 803520E0 0034F040 4B F8 42 ED */ bl GetFileAndLineText__10CCallStackCFv -/* 803520E4 0034F044 7F C3 F3 78 */ mr r3, r30 -/* 803520E8 0034F048 4B F8 42 DD */ bl GetTypeText__10CCallStackCFv -/* 803520EC 0034F04C 7F E3 FB 78 */ mr r3, r31 -/* 803520F0 0034F050 4B FF F0 95 */ bl DumpAllocations__14CGameAllocatorCFv -/* 803520F4 0034F054 38 60 00 00 */ li r3, 0 -/* 803520F8 0034F058 48 00 00 6C */ b lbl_80352164 -/* 803520FC 0034F05C 48 00 00 68 */ b lbl_80352164 -lbl_80352100: -/* 80352100 0034F060 7F E3 FB 78 */ mr r3, r31 -/* 80352104 0034F064 7F 04 C3 78 */ mr r4, r24 -/* 80352108 0034F068 7F 45 D3 78 */ mr r5, r26 -/* 8035210C 0034F06C 7E C6 B3 78 */ mr r6, r22 -/* 80352110 0034F070 7F 67 DB 78 */ mr r7, r27 -/* 80352114 0034F074 7F C8 F3 78 */ mr r8, r30 -/* 80352118 0034F078 4B FF F9 0D */ bl FixupAllocPtrs__14CGameAllocatorFPQ214CGameAllocator12SGameMemInfoUiUiQ210IAllocator5EHintRC10CCallStack -/* 8035211C 0034F07C 28 17 00 00 */ cmplwi r23, 0 -/* 80352120 0034F080 7C 66 1B 78 */ mr r6, r3 -/* 80352124 0034F084 41 82 00 18 */ beq lbl_8035213C -/* 80352128 0034F088 80 18 00 10 */ lwz r0, 0x10(r24) -/* 8035212C 0034F08C 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 80352130 0034F090 40 82 00 0C */ bne lbl_8035213C -/* 80352134 0034F094 80 18 00 14 */ lwz r0, 0x14(r24) -/* 80352138 0034F098 54 18 00 34 */ rlwinm r24, r0, 0, 0, 0x1a -lbl_8035213C: -/* 8035213C 0034F09C 7F E3 FB 78 */ mr r3, r31 -/* 80352140 0034F0A0 7F 44 D3 78 */ mr r4, r26 -/* 80352144 0034F0A4 7E C5 B3 78 */ mr r5, r22 -/* 80352148 0034F0A8 4B FF F8 21 */ bl UpdateAllocDebugStats__14CGameAllocatorFUiUiUi -/* 8035214C 0034F0AC 48 03 32 75 */ bl OSGetTick -/* 80352150 0034F0B0 80 0D AA 20 */ lwz r0, lbl_805A95E0@sda21(r13) -/* 80352154 0034F0B4 7C 99 18 50 */ subf r4, r25, r3 -/* 80352158 0034F0B8 38 78 00 20 */ addi r3, r24, 0x20 -/* 8035215C 0034F0BC 7C 00 22 14 */ add r0, r0, r4 -/* 80352160 0034F0C0 90 0D AA 20 */ stw r0, lbl_805A95E0@sda21(r13) -lbl_80352164: -/* 80352164 0034F0C4 BA C1 00 18 */ lmw r22, 0x18(r1) -/* 80352168 0034F0C8 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8035216C 0034F0CC 7C 08 03 A6 */ mtlr r0 -/* 80352170 0034F0D0 38 21 00 40 */ addi r1, r1, 0x40 -/* 80352174 0034F0D4 4E 80 00 20 */ blr - -.global Shutdown__14CGameAllocatorFv -Shutdown__14CGameAllocatorFv: -/* 80352178 0034F0D8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8035217C 0034F0DC 7C 08 02 A6 */ mflr r0 -/* 80352180 0034F0E0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80352184 0034F0E4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80352188 0034F0E8 7C 7F 1B 78 */ mr r31, r3 -/* 8035218C 0034F0EC 81 83 00 00 */ lwz r12, 0(r3) -/* 80352190 0034F0F0 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80352194 0034F0F4 7D 89 03 A6 */ mtctr r12 -/* 80352198 0034F0F8 4E 80 04 21 */ bctrl -/* 8035219C 0034F0FC 38 00 00 00 */ li r0, 0 -/* 803521A0 0034F100 98 1F 00 04 */ stb r0, 4(r31) -/* 803521A4 0034F104 90 1F 00 54 */ stw r0, 0x54(r31) -/* 803521A8 0034F108 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 803521AC 0034F10C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803521B0 0034F110 7C 08 03 A6 */ mtlr r0 -/* 803521B4 0034F114 38 21 00 10 */ addi r1, r1, 0x10 -/* 803521B8 0034F118 4E 80 00 20 */ blr - -.global Initialize__14CGameAllocatorFR10COsContext -Initialize__14CGameAllocatorFR10COsContext: -/* 803521BC 0034F11C 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 803521C0 0034F120 7C 08 02 A6 */ mflr r0 -/* 803521C4 0034F124 90 01 00 84 */ stw r0, 0x84(r1) -/* 803521C8 0034F128 93 E1 00 7C */ stw r31, 0x7c(r1) -/* 803521CC 0034F12C 7C 7F 1B 78 */ mr r31, r3 -/* 803521D0 0034F130 93 C1 00 78 */ stw r30, 0x78(r1) -/* 803521D4 0034F134 80 A4 00 20 */ lwz r5, 0x20(r4) -/* 803521D8 0034F138 80 04 00 1C */ lwz r0, 0x1c(r4) -/* 803521DC 0034F13C 38 80 00 20 */ li r4, 0x20 -/* 803521E0 0034F140 38 65 00 1F */ addi r3, r5, 0x1f -/* 803521E4 0034F144 54 63 00 34 */ rlwinm r3, r3, 0, 0, 0x1a -/* 803521E8 0034F148 54 00 00 34 */ rlwinm r0, r0, 0, 0, 0x1a -/* 803521EC 0034F14C 7C 63 00 50 */ subf r3, r3, r0 -/* 803521F0 0034F150 38 03 FF C0 */ addi r0, r3, -64 -/* 803521F4 0034F154 90 1F 00 08 */ stw r0, 8(r31) -/* 803521F8 0034F158 80 7F 00 08 */ lwz r3, 8(r31) -/* 803521FC 0034F15C 48 02 C5 B5 */ bl OSAllocFromArenaLo -/* 80352200 0034F160 90 7F 00 0C */ stw r3, 0xc(r31) -/* 80352204 0034F164 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 80352208 0034F168 54 60 00 06 */ rlwinm r0, r3, 0, 0, 3 -/* 8035220C 0034F16C 7C 00 18 50 */ subf r0, r0, r3 -/* 80352210 0034F170 90 1F 00 B4 */ stw r0, 0xb4(r31) -/* 80352214 0034F174 48 02 C5 85 */ bl OSGetArenaLo -/* 80352218 0034F178 80 7F 00 08 */ lwz r3, 8(r31) -/* 8035221C 0034F17C 38 E0 00 00 */ li r7, 0 -/* 80352220 0034F180 80 BF 00 0C */ lwz r5, 0xc(r31) -/* 80352224 0034F184 3C 80 EF F0 */ lis r4, 0xEFEFEFEF@ha -/* 80352228 0034F188 38 03 FF E0 */ addi r0, r3, -32 -/* 8035222C 0034F18C 3C 60 80 3E */ lis r3, lbl_803D8248@ha -/* 80352230 0034F190 7C 05 02 14 */ add r0, r5, r0 -/* 80352234 0034F194 39 44 EF EF */ addi r10, r4, 0xEFEFEFEF@l -/* 80352238 0034F198 90 1F 00 10 */ stw r0, 0x10(r31) -/* 8035223C 0034F19C 38 83 82 48 */ addi r4, r3, lbl_803D8248@l -/* 80352240 0034F1A0 39 04 00 42 */ addi r8, r4, 0x42 -/* 80352244 0034F1A4 3C 60 EA EB */ lis r3, 0xEAEAEAEA@ha -/* 80352248 0034F1A8 81 9F 00 10 */ lwz r12, 0x10(r31) -/* 8035224C 0034F1AC 38 C3 EA EA */ addi r6, r3, 0xEAEAEAEA@l -/* 80352250 0034F1B0 81 3F 00 08 */ lwz r9, 8(r31) -/* 80352254 0034F1B4 38 A4 00 4A */ addi r5, r4, 0x4a -/* 80352258 0034F1B8 81 7F 00 0C */ lwz r11, 0xc(r31) -/* 8035225C 0034F1BC 7F E3 FB 78 */ mr r3, r31 -/* 80352260 0034F1C0 38 89 FF C0 */ addi r4, r9, -64 -/* 80352264 0034F1C4 91 41 00 50 */ stw r10, 0x50(r1) -/* 80352268 0034F1C8 91 4B 00 00 */ stw r10, 0(r11) -/* 8035226C 0034F1CC 90 8B 00 04 */ stw r4, 4(r11) -/* 80352270 0034F1D0 91 0B 00 08 */ stw r8, 8(r11) -/* 80352274 0034F1D4 91 0B 00 0C */ stw r8, 0xc(r11) -/* 80352278 0034F1D8 90 EB 00 10 */ stw r7, 0x10(r11) -/* 8035227C 0034F1DC 91 8B 00 14 */ stw r12, 0x14(r11) -/* 80352280 0034F1E0 91 8B 00 18 */ stw r12, 0x18(r11) -/* 80352284 0034F1E4 90 CB 00 1C */ stw r6, 0x1c(r11) -/* 80352288 0034F1E8 80 1F 00 0C */ lwz r0, 0xc(r31) -/* 8035228C 0034F1EC 81 3F 00 10 */ lwz r9, 0x10(r31) -/* 80352290 0034F1F0 90 81 00 54 */ stw r4, 0x54(r1) -/* 80352294 0034F1F4 91 49 00 00 */ stw r10, 0(r9) -/* 80352298 0034F1F8 90 E9 00 04 */ stw r7, 4(r9) -/* 8035229C 0034F1FC 90 A9 00 08 */ stw r5, 8(r9) -/* 803522A0 0034F200 90 A9 00 0C */ stw r5, 0xc(r9) -/* 803522A4 0034F204 90 09 00 10 */ stw r0, 0x10(r9) -/* 803522A8 0034F208 90 E9 00 14 */ stw r7, 0x14(r9) -/* 803522AC 0034F20C 90 E9 00 18 */ stw r7, 0x18(r9) -/* 803522B0 0034F210 90 C9 00 1C */ stw r6, 0x1c(r9) -/* 803522B4 0034F214 90 FF 00 14 */ stw r7, 0x14(r31) -/* 803522B8 0034F218 90 FF 00 18 */ stw r7, 0x18(r31) -/* 803522BC 0034F21C 90 FF 00 1C */ stw r7, 0x1c(r31) -/* 803522C0 0034F220 90 FF 00 20 */ stw r7, 0x20(r31) -/* 803522C4 0034F224 90 FF 00 24 */ stw r7, 0x24(r31) -/* 803522C8 0034F228 90 FF 00 28 */ stw r7, 0x28(r31) -/* 803522CC 0034F22C 90 FF 00 2C */ stw r7, 0x2c(r31) -/* 803522D0 0034F230 90 FF 00 30 */ stw r7, 0x30(r31) -/* 803522D4 0034F234 90 FF 00 34 */ stw r7, 0x34(r31) -/* 803522D8 0034F238 90 FF 00 38 */ stw r7, 0x38(r31) -/* 803522DC 0034F23C 90 FF 00 3C */ stw r7, 0x3c(r31) -/* 803522E0 0034F240 90 FF 00 40 */ stw r7, 0x40(r31) -/* 803522E4 0034F244 90 FF 00 44 */ stw r7, 0x44(r31) -/* 803522E8 0034F248 90 FF 00 48 */ stw r7, 0x48(r31) -/* 803522EC 0034F24C 90 FF 00 4C */ stw r7, 0x4c(r31) -/* 803522F0 0034F250 90 FF 00 50 */ stw r7, 0x50(r31) -/* 803522F4 0034F254 91 01 00 58 */ stw r8, 0x58(r1) -/* 803522F8 0034F258 80 9F 00 0C */ lwz r4, 0xc(r31) -/* 803522FC 0034F25C 91 01 00 5C */ stw r8, 0x5c(r1) -/* 80352300 0034F260 90 E1 00 60 */ stw r7, 0x60(r1) -/* 80352304 0034F264 91 81 00 64 */ stw r12, 0x64(r1) -/* 80352308 0034F268 91 81 00 68 */ stw r12, 0x68(r1) -/* 8035230C 0034F26C 90 C1 00 6C */ stw r6, 0x6c(r1) -/* 80352310 0034F270 91 41 00 30 */ stw r10, 0x30(r1) -/* 80352314 0034F274 90 E1 00 34 */ stw r7, 0x34(r1) -/* 80352318 0034F278 90 A1 00 38 */ stw r5, 0x38(r1) -/* 8035231C 0034F27C 90 A1 00 3C */ stw r5, 0x3c(r1) -/* 80352320 0034F280 90 01 00 40 */ stw r0, 0x40(r1) -/* 80352324 0034F284 90 E1 00 44 */ stw r7, 0x44(r1) -/* 80352328 0034F288 90 E1 00 48 */ stw r7, 0x48(r1) -/* 8035232C 0034F28C 90 C1 00 4C */ stw r6, 0x4c(r1) -/* 80352330 0034F290 4B FF EF 6D */ bl AddFreeEntryToFreeList__14CGameAllocatorFPQ214CGameAllocator12SGameMemInfo -/* 80352334 0034F294 39 00 00 00 */ li r8, 0 -/* 80352338 0034F298 3C 60 80 3E */ lis r3, lbl_803D8248@ha -/* 8035233C 0034F29C 91 1F 00 80 */ stw r8, 0x80(r31) -/* 80352340 0034F2A0 38 83 82 48 */ addi r4, r3, lbl_803D8248@l -/* 80352344 0034F2A4 38 00 00 01 */ li r0, 1 -/* 80352348 0034F2A8 38 61 00 28 */ addi r3, r1, 0x28 -/* 8035234C 0034F2AC 91 1F 00 84 */ stw r8, 0x84(r31) -/* 80352350 0034F2B0 38 A4 00 52 */ addi r5, r4, 0x52 -/* 80352354 0034F2B4 38 C4 00 38 */ addi r6, r4, 0x38 -/* 80352358 0034F2B8 38 80 FF FF */ li r4, -1 -/* 8035235C 0034F2BC 91 1F 00 88 */ stw r8, 0x88(r31) -/* 80352360 0034F2C0 91 1F 00 8C */ stw r8, 0x8c(r31) -/* 80352364 0034F2C4 80 FF 00 08 */ lwz r7, 8(r31) -/* 80352368 0034F2C8 90 FF 00 90 */ stw r7, 0x90(r31) -/* 8035236C 0034F2CC 91 1F 00 94 */ stw r8, 0x94(r31) -/* 80352370 0034F2D0 91 1F 00 98 */ stw r8, 0x98(r31) -/* 80352374 0034F2D4 91 1F 00 9C */ stw r8, 0x9c(r31) -/* 80352378 0034F2D8 91 1F 00 A0 */ stw r8, 0xa0(r31) -/* 8035237C 0034F2DC 91 1F 00 A4 */ stw r8, 0xa4(r31) -/* 80352380 0034F2E0 91 1F 00 A8 */ stw r8, 0xa8(r31) -/* 80352384 0034F2E4 98 1F 00 04 */ stb r0, 4(r31) -/* 80352388 0034F2E8 4B F8 40 4D */ bl __ct__10CCallStackFUiPCcPCc -/* 8035238C 0034F2EC 81 9F 00 00 */ lwz r12, 0(r31) -/* 80352390 0034F2F0 7C 68 1B 78 */ mr r8, r3 -/* 80352394 0034F2F4 7F E3 FB 78 */ mr r3, r31 -/* 80352398 0034F2F8 3C 80 00 0B */ lis r4, 0xb -/* 8035239C 0034F2FC 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 803523A0 0034F300 38 A0 00 00 */ li r5, 0 -/* 803523A4 0034F304 38 C0 00 01 */ li r6, 1 -/* 803523A8 0034F308 38 E0 00 00 */ li r7, 0 -/* 803523AC 0034F30C 7D 89 03 A6 */ mtctr r12 -/* 803523B0 0034F310 4E 80 04 21 */ bctrl -/* 803523B4 0034F314 3C 80 80 3E */ lis r4, lbl_803D8248@ha -/* 803523B8 0034F318 90 7F 00 64 */ stw r3, 0x64(r31) -/* 803523BC 0034F31C 38 C4 82 48 */ addi r6, r4, lbl_803D8248@l -/* 803523C0 0034F320 38 61 00 20 */ addi r3, r1, 0x20 -/* 803523C4 0034F324 38 A6 00 68 */ addi r5, r6, 0x68 -/* 803523C8 0034F328 38 80 FF FF */ li r4, -1 -/* 803523CC 0034F32C 38 C6 00 38 */ addi r6, r6, 0x38 -/* 803523D0 0034F330 4B F8 40 05 */ bl __ct__10CCallStackFUiPCcPCc -/* 803523D4 0034F334 81 9F 00 00 */ lwz r12, 0(r31) -/* 803523D8 0034F338 3C 80 00 01 */ lis r4, 0x00016000@ha -/* 803523DC 0034F33C 7C 68 1B 78 */ mr r8, r3 -/* 803523E0 0034F340 7F E3 FB 78 */ mr r3, r31 -/* 803523E4 0034F344 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 803523E8 0034F348 38 A0 00 00 */ li r5, 0 -/* 803523EC 0034F34C 38 84 60 00 */ addi r4, r4, 0x00016000@l -/* 803523F0 0034F350 38 C0 00 01 */ li r6, 1 -/* 803523F4 0034F354 38 E0 00 00 */ li r7, 0 -/* 803523F8 0034F358 7D 89 03 A6 */ mtctr r12 -/* 803523FC 0034F35C 4E 80 04 21 */ bctrl -/* 80352400 0034F360 3C 80 80 3E */ lis r4, lbl_803D8248@ha -/* 80352404 0034F364 90 7F 00 68 */ stw r3, 0x68(r31) -/* 80352408 0034F368 38 C4 82 48 */ addi r6, r4, lbl_803D8248@l -/* 8035240C 0034F36C 38 61 00 18 */ addi r3, r1, 0x18 -/* 80352410 0034F370 38 A6 00 7E */ addi r5, r6, 0x7e -/* 80352414 0034F374 38 80 FF FF */ li r4, -1 -/* 80352418 0034F378 38 C6 00 38 */ addi r6, r6, 0x38 -/* 8035241C 0034F37C 4B F8 3F B9 */ bl __ct__10CCallStackFUiPCcPCc -/* 80352420 0034F380 81 9F 00 00 */ lwz r12, 0(r31) -/* 80352424 0034F384 7C 68 1B 78 */ mr r8, r3 -/* 80352428 0034F388 7F E3 FB 78 */ mr r3, r31 -/* 8035242C 0034F38C 38 80 00 20 */ li r4, 0x20 -/* 80352430 0034F390 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80352434 0034F394 38 A0 00 00 */ li r5, 0 -/* 80352438 0034F398 38 C0 00 01 */ li r6, 1 -/* 8035243C 0034F39C 38 E0 00 00 */ li r7, 0 -/* 80352440 0034F3A0 7D 89 03 A6 */ mtctr r12 -/* 80352444 0034F3A4 4E 80 04 21 */ bctrl -/* 80352448 0034F3A8 7C 60 1B 79 */ or. r0, r3, r3 -/* 8035244C 0034F3AC 41 82 00 1C */ beq lbl_80352468 -/* 80352450 0034F3B0 3C 80 00 03 */ lis r4, 0x0002C000@ha -/* 80352454 0034F3B4 80 BF 00 64 */ lwz r5, 0x64(r31) -/* 80352458 0034F3B8 80 DF 00 68 */ lwz r6, 0x68(r31) -/* 8035245C 0034F3BC 38 84 C0 00 */ addi r4, r4, 0x0002C000@l -/* 80352460 0034F3C0 4B FF EC 71 */ bl __ct__15CSmallAllocPoolFUiPvPv -/* 80352464 0034F3C4 7C 60 1B 78 */ mr r0, r3 -lbl_80352468: -/* 80352468 0034F3C8 3C 60 80 3E */ lis r3, lbl_803D8248@ha -/* 8035246C 0034F3CC 90 1F 00 60 */ stw r0, 0x60(r31) -/* 80352470 0034F3D0 38 C3 82 48 */ addi r6, r3, lbl_803D8248@l -/* 80352474 0034F3D4 38 61 00 10 */ addi r3, r1, 0x10 -/* 80352478 0034F3D8 38 A6 00 94 */ addi r5, r6, 0x94 -/* 8035247C 0034F3DC 38 80 FF FF */ li r4, -1 -/* 80352480 0034F3E0 38 C6 00 38 */ addi r6, r6, 0x38 -/* 80352484 0034F3E4 4B F8 3F 51 */ bl __ct__10CCallStackFUiPCcPCc -/* 80352488 0034F3E8 81 9F 00 00 */ lwz r12, 0(r31) -/* 8035248C 0034F3EC 7C 68 1B 78 */ mr r8, r3 -/* 80352490 0034F3F0 7F E3 FB 78 */ mr r3, r31 -/* 80352494 0034F3F4 38 80 00 1C */ li r4, 0x1c -/* 80352498 0034F3F8 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8035249C 0034F3FC 38 A0 00 00 */ li r5, 0 -/* 803524A0 0034F400 38 C0 00 01 */ li r6, 1 -/* 803524A4 0034F404 38 E0 00 00 */ li r7, 0 -/* 803524A8 0034F408 7D 89 03 A6 */ mtctr r12 -/* 803524AC 0034F40C 4E 80 04 21 */ bctrl -/* 803524B0 0034F410 7C 60 1B 79 */ or. r0, r3, r3 -/* 803524B4 0034F414 41 82 00 0C */ beq lbl_803524C0 -/* 803524B8 0034F418 4B FF E8 AD */ bl __ct__16CMediumAllocPoolFv -/* 803524BC 0034F41C 7C 60 1B 78 */ mr r0, r3 -lbl_803524C0: -/* 803524C0 0034F420 3C 60 80 3E */ lis r3, lbl_803D8248@ha -/* 803524C4 0034F424 90 1F 00 74 */ stw r0, 0x74(r31) -/* 803524C8 0034F428 38 83 82 48 */ addi r4, r3, lbl_803D8248@l -/* 803524CC 0034F42C 3F C0 00 02 */ lis r30, 2 -/* 803524D0 0034F430 38 61 00 08 */ addi r3, r1, 8 -/* 803524D4 0034F434 38 A4 00 21 */ addi r5, r4, 0x21 -/* 803524D8 0034F438 38 C4 00 38 */ addi r6, r4, 0x38 -/* 803524DC 0034F43C 38 80 FF FF */ li r4, -1 -/* 803524E0 0034F440 4B F8 3E F5 */ bl __ct__10CCallStackFUiPCcPCc -/* 803524E4 0034F444 81 9F 00 00 */ lwz r12, 0(r31) -/* 803524E8 0034F448 7C 68 1B 78 */ mr r8, r3 -/* 803524EC 0034F44C 7F E3 FB 78 */ mr r3, r31 -/* 803524F0 0034F450 38 9E 10 00 */ addi r4, r30, 0x1000 -/* 803524F4 0034F454 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 803524F8 0034F458 38 A0 00 00 */ li r5, 0 -/* 803524FC 0034F45C 38 C0 00 01 */ li r6, 1 -/* 80352500 0034F460 38 E0 00 00 */ li r7, 0 -/* 80352504 0034F464 7D 89 03 A6 */ mtctr r12 -/* 80352508 0034F468 4E 80 04 21 */ bctrl -/* 8035250C 0034F46C 90 7F 00 78 */ stw r3, 0x78(r31) -/* 80352510 0034F470 3C 60 00 0C */ lis r3, 0x000C6000@ha -/* 80352514 0034F474 38 03 60 00 */ addi r0, r3, 0x000C6000@l -/* 80352518 0034F478 38 60 00 01 */ li r3, 1 -/* 8035251C 0034F47C 80 9F 00 84 */ lwz r4, 0x84(r31) -/* 80352520 0034F480 38 84 FF FC */ addi r4, r4, -4 -/* 80352524 0034F484 90 9F 00 84 */ stw r4, 0x84(r31) -/* 80352528 0034F488 90 1F 00 BC */ stw r0, 0xbc(r31) -/* 8035252C 0034F48C 83 E1 00 7C */ lwz r31, 0x7c(r1) -/* 80352530 0034F490 83 C1 00 78 */ lwz r30, 0x78(r1) -/* 80352534 0034F494 80 01 00 84 */ lwz r0, 0x84(r1) -/* 80352538 0034F498 7C 08 03 A6 */ mtlr r0 -/* 8035253C 0034F49C 38 21 00 80 */ addi r1, r1, 0x80 -/* 80352540 0034F4A0 4E 80 00 20 */ blr - -.global __dt__14CGameAllocatorFv -__dt__14CGameAllocatorFv: -/* 80352544 0034F4A4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80352548 0034F4A8 7C 08 02 A6 */ mflr r0 -/* 8035254C 0034F4AC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80352550 0034F4B0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80352554 0034F4B4 7C 9F 23 78 */ mr r31, r4 -/* 80352558 0034F4B8 93 C1 00 08 */ stw r30, 8(r1) -/* 8035255C 0034F4BC 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80352560 0034F4C0 41 82 00 50 */ beq lbl_803525B0 -/* 80352564 0034F4C4 3C 60 80 3F */ lis r3, lbl_803EF6D8@ha -/* 80352568 0034F4C8 38 03 F6 D8 */ addi r0, r3, lbl_803EF6D8@l -/* 8035256C 0034F4CC 90 1E 00 00 */ stw r0, 0(r30) -/* 80352570 0034F4D0 80 7E 00 74 */ lwz r3, 0x74(r30) -/* 80352574 0034F4D4 28 03 00 00 */ cmplwi r3, 0 -/* 80352578 0034F4D8 41 82 00 1C */ beq lbl_80352594 -/* 8035257C 0034F4DC 4B FF E7 75 */ bl ClearPuddles__16CMediumAllocPoolFv -/* 80352580 0034F4E0 80 9E 00 74 */ lwz r4, 0x74(r30) -/* 80352584 0034F4E4 7F C3 F3 78 */ mr r3, r30 -/* 80352588 0034F4E8 4B FF F1 79 */ bl FreeNormalAllocation__14CGameAllocatorFPCv -/* 8035258C 0034F4EC 38 00 00 00 */ li r0, 0 -/* 80352590 0034F4F0 90 1E 00 74 */ stw r0, 0x74(r30) -lbl_80352594: -/* 80352594 0034F4F4 7F C3 F3 78 */ mr r3, r30 -/* 80352598 0034F4F8 38 80 00 00 */ li r4, 0 -/* 8035259C 0034F4FC 4B FC 36 FD */ bl __dt__10IAllocatorFv -/* 803525A0 0034F500 7F E0 07 35 */ extsh. r0, r31 -/* 803525A4 0034F504 40 81 00 0C */ ble lbl_803525B0 -/* 803525A8 0034F508 7F C3 F3 78 */ mr r3, r30 -/* 803525AC 0034F50C 4B FC 33 85 */ bl Free__7CMemoryFPCv -lbl_803525B0: -/* 803525B0 0034F510 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803525B4 0034F514 7F C3 F3 78 */ mr r3, r30 -/* 803525B8 0034F518 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 803525BC 0034F51C 83 C1 00 08 */ lwz r30, 8(r1) -/* 803525C0 0034F520 7C 08 03 A6 */ mtlr r0 -/* 803525C4 0034F524 38 21 00 10 */ addi r1, r1, 0x10 -/* 803525C8 0034F528 4E 80 00 20 */ blr - -.global __ct__14CGameAllocatorFv -__ct__14CGameAllocatorFv: -/* 803525CC 0034F52C 3C A0 80 3F */ lis r5, lbl_803ED9C0@ha -/* 803525D0 0034F530 3C 80 80 3F */ lis r4, lbl_803EF6D8@ha -/* 803525D4 0034F534 38 A5 D9 C0 */ addi r5, r5, lbl_803ED9C0@l -/* 803525D8 0034F538 38 00 00 00 */ li r0, 0 -/* 803525DC 0034F53C 90 A3 00 00 */ stw r5, 0(r3) -/* 803525E0 0034F540 38 84 F6 D8 */ addi r4, r4, lbl_803EF6D8@l -/* 803525E4 0034F544 90 83 00 00 */ stw r4, 0(r3) -/* 803525E8 0034F548 98 03 00 04 */ stb r0, 4(r3) -/* 803525EC 0034F54C 90 03 00 08 */ stw r0, 8(r3) -/* 803525F0 0034F550 90 03 00 0C */ stw r0, 0xc(r3) -/* 803525F4 0034F554 90 03 00 10 */ stw r0, 0x10(r3) -/* 803525F8 0034F558 90 03 00 54 */ stw r0, 0x54(r3) -/* 803525FC 0034F55C 90 03 00 58 */ stw r0, 0x58(r3) -/* 80352600 0034F560 90 03 00 5C */ stw r0, 0x5c(r3) -/* 80352604 0034F564 90 03 00 60 */ stw r0, 0x60(r3) -/* 80352608 0034F568 90 03 00 64 */ stw r0, 0x64(r3) -/* 8035260C 0034F56C 90 03 00 68 */ stw r0, 0x68(r3) -/* 80352610 0034F570 98 03 00 6C */ stb r0, 0x6c(r3) -/* 80352614 0034F574 90 03 00 70 */ stw r0, 0x70(r3) -/* 80352618 0034F578 90 03 00 74 */ stw r0, 0x74(r3) -/* 8035261C 0034F57C 90 03 00 80 */ stw r0, 0x80(r3) -/* 80352620 0034F580 90 03 00 84 */ stw r0, 0x84(r3) -/* 80352624 0034F584 90 03 00 88 */ stw r0, 0x88(r3) -/* 80352628 0034F588 90 03 00 8C */ stw r0, 0x8c(r3) -/* 8035262C 0034F58C 90 03 00 90 */ stw r0, 0x90(r3) -/* 80352630 0034F590 90 03 00 94 */ stw r0, 0x94(r3) -/* 80352634 0034F594 90 03 00 98 */ stw r0, 0x98(r3) -/* 80352638 0034F598 90 03 00 9C */ stw r0, 0x9c(r3) -/* 8035263C 0034F59C 90 03 00 A0 */ stw r0, 0xa0(r3) -/* 80352640 0034F5A0 90 03 00 A4 */ stw r0, 0xa4(r3) -/* 80352644 0034F5A4 90 03 00 A8 */ stw r0, 0xa8(r3) -/* 80352648 0034F5A8 90 03 00 AC */ stw r0, 0xac(r3) -/* 8035264C 0034F5AC 90 03 00 B0 */ stw r0, 0xb0(r3) -/* 80352650 0034F5B0 90 03 00 B4 */ stw r0, 0xb4(r3) -/* 80352654 0034F5B4 90 03 00 B8 */ stw r0, 0xb8(r3) -/* 80352658 0034F5B8 90 03 00 BC */ stw r0, 0xbc(r3) -/* 8035265C 0034F5BC 4E 80 00 20 */ blr - -.global GetMemInfoFromBlockPtr__14CGameAllocatorCFPCv -GetMemInfoFromBlockPtr__14CGameAllocatorCFPCv: -/* 80352660 0034F5C0 38 64 FF E0 */ addi r3, r4, -32 -/* 80352664 0034F5C4 4E 80 00 20 */ blr - -.global sub_80352668 -sub_80352668: -/* 80352668 0034F5C8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8035266C 0034F5CC 7C 08 02 A6 */ mflr r0 -/* 80352670 0034F5D0 3C A0 80 3E */ lis r5, lbl_803D82F8@ha -/* 80352674 0034F5D4 90 01 00 24 */ stw r0, 0x24(r1) -/* 80352678 0034F5D8 38 A5 82 F8 */ addi r5, r5, lbl_803D82F8@l -/* 8035267C 0034F5DC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80352680 0034F5E0 7C 9F 23 78 */ mr r31, r4 -/* 80352684 0034F5E4 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80352688 0034F5E8 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8035268C 0034F5EC 80 E3 00 18 */ lwz r7, 0x18(r3) -/* 80352690 0034F5F0 3C 60 80 3D */ lis r3, lbl_803D6AA8@ha -/* 80352694 0034F5F4 38 C3 6A A8 */ addi r6, r3, lbl_803D6AA8@l -/* 80352698 0034F5F8 80 07 00 14 */ lwz r0, 0x14(r7) -/* 8035269C 0034F5FC 38 61 00 08 */ addi r3, r1, 8 -/* 803526A0 0034F600 83 C7 00 10 */ lwz r30, 0x10(r7) -/* 803526A4 0034F604 1C 80 00 0C */ mulli r4, r0, 0xc -/* 803526A8 0034F608 38 04 00 1F */ addi r0, r4, 0x1f -/* 803526AC 0034F60C 38 80 FF FF */ li r4, -1 -/* 803526B0 0034F610 54 1D 00 34 */ rlwinm r29, r0, 0, 0, 0x1a -/* 803526B4 0034F614 4B F8 3D 21 */ bl __ct__10CCallStackFUiPCcPCc -/* 803526B8 0034F618 1C BE 00 0C */ mulli r5, r30, 0xc -/* 803526BC 0034F61C 38 80 00 02 */ li r4, 2 -/* 803526C0 0034F620 7C 67 1B 78 */ mr r7, r3 -/* 803526C4 0034F624 38 C0 00 00 */ li r6, 0 -/* 803526C8 0034F628 38 05 00 1F */ addi r0, r5, 0x1f -/* 803526CC 0034F62C 54 00 00 34 */ rlwinm r0, r0, 0, 0, 0x1a -/* 803526D0 0034F630 38 A0 00 01 */ li r5, 1 -/* 803526D4 0034F634 7C 60 EA 14 */ add r3, r0, r29 -/* 803526D8 0034F638 4B FC 32 BD */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack -/* 803526DC 0034F63C 28 1F 00 00 */ cmplwi r31, 0 -/* 803526E0 0034F640 41 82 00 0C */ beq lbl_803526EC -/* 803526E4 0034F644 7C 03 EA 14 */ add r0, r3, r29 -/* 803526E8 0034F648 90 1F 00 00 */ stw r0, 0(r31) -lbl_803526EC: -/* 803526EC 0034F64C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 803526F0 0034F650 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 803526F4 0034F654 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 803526F8 0034F658 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 803526FC 0034F65C 7C 08 03 A6 */ mtlr r0 -/* 80352700 0034F660 38 21 00 20 */ addi r1, r1, 0x20 -/* 80352704 0034F664 4E 80 00 20 */ blr - -.global ClearPointGeneratorFunc__13CSkinnedModelFv -ClearPointGeneratorFunc__13CSkinnedModelFv: -/* 80352708 0034F668 38 00 00 00 */ li r0, 0 -/* 8035270C 0034F66C 90 0D AA 30 */ stw r0, lbl_805A95F0@sda21(r13) -/* 80352710 0034F670 4E 80 00 20 */ blr - -.global SetPointGeneratorFunc__13CSkinnedModelFUiPFUiPC9CVector3fPC9CVector3fi_v -SetPointGeneratorFunc__13CSkinnedModelFUiPFUiPC9CVector3fPC9CVector3fi_v: -/* 80352714 0034F674 90 8D AA 30 */ stw r4, lbl_805A95F0@sda21(r13) -/* 80352718 0034F678 90 6D AA 34 */ stw r3, lbl_805A95F4@sda21(r13) -/* 8035271C 0034F67C 4E 80 00 20 */ blr - -.global sub_80352720 -sub_80352720: -/* 80352720 0034F680 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80352724 0034F684 7C 08 02 A6 */ mflr r0 -/* 80352728 0034F688 90 01 00 14 */ stw r0, 0x14(r1) -/* 8035272C 0034F68C 48 00 0D E1 */ bl sub_8035350c -/* 80352730 0034F690 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80352734 0034F694 7C 08 03 A6 */ mtlr r0 -/* 80352738 0034F698 38 21 00 10 */ addi r1, r1, 0x10 -/* 8035273C 0034F69C 4E 80 00 20 */ blr - -.global sub_80352740 -sub_80352740: -/* 80352740 0034F6A0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80352744 0034F6A4 7C 08 02 A6 */ mflr r0 -/* 80352748 0034F6A8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8035274C 0034F6AC 48 00 0E 61 */ bl sub_803535ac -/* 80352750 0034F6B0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80352754 0034F6B4 7C 08 03 A6 */ mtlr r0 -/* 80352758 0034F6B8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8035275C 0034F6BC 4E 80 00 20 */ blr - -.global sub_80352760 -sub_80352760: -/* 80352760 0034F6C0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80352764 0034F6C4 7C 08 02 A6 */ mflr r0 -/* 80352768 0034F6C8 90 01 00 24 */ stw r0, 0x24(r1) -/* 8035276C 0034F6CC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80352770 0034F6D0 7C 7F 1B 78 */ mr r31, r3 -/* 80352774 0034F6D4 88 03 00 38 */ lbz r0, 0x38(r3) -/* 80352778 0034F6D8 28 00 00 00 */ cmplwi r0, 0 -/* 8035277C 0034F6DC 41 82 00 DC */ beq lbl_80352858 -/* 80352780 0034F6E0 80 1F 00 2C */ lwz r0, 0x2c(r31) -/* 80352784 0034F6E4 28 00 00 00 */ cmplwi r0, 0 -/* 80352788 0034F6E8 41 82 00 D0 */ beq lbl_80352858 -/* 8035278C 0034F6EC 38 61 00 10 */ addi r3, r1, 0x10 -/* 80352790 0034F6F0 38 1F 00 28 */ addi r0, r31, 0x28 -/* 80352794 0034F6F4 38 80 00 00 */ li r4, 0 -/* 80352798 0034F6F8 7C 03 00 40 */ cmplw r3, r0 -/* 8035279C 0034F6FC 98 81 00 10 */ stb r4, 0x10(r1) -/* 803527A0 0034F700 90 81 00 14 */ stw r4, 0x14(r1) -/* 803527A4 0034F704 41 82 00 30 */ beq lbl_803527D4 -/* 803527A8 0034F708 88 1F 00 28 */ lbz r0, 0x28(r31) -/* 803527AC 0034F70C 28 00 00 00 */ cmplwi r0, 0 -/* 803527B0 0034F710 41 82 00 0C */ beq lbl_803527BC -/* 803527B4 0034F714 80 7F 00 2C */ lwz r3, 0x2c(r31) -/* 803527B8 0034F718 4B FC 31 79 */ bl Free__7CMemoryFPCv -lbl_803527BC: -/* 803527BC 0034F71C 88 81 00 10 */ lbz r4, 0x10(r1) -/* 803527C0 0034F720 38 00 00 00 */ li r0, 0 -/* 803527C4 0034F724 80 61 00 14 */ lwz r3, 0x14(r1) -/* 803527C8 0034F728 98 9F 00 28 */ stb r4, 0x28(r31) -/* 803527CC 0034F72C 90 7F 00 2C */ stw r3, 0x2c(r31) -/* 803527D0 0034F730 98 01 00 10 */ stb r0, 0x10(r1) -lbl_803527D4: -/* 803527D4 0034F734 88 01 00 10 */ lbz r0, 0x10(r1) -/* 803527D8 0034F738 28 00 00 00 */ cmplwi r0, 0 -/* 803527DC 0034F73C 41 82 00 0C */ beq lbl_803527E8 -/* 803527E0 0034F740 80 61 00 14 */ lwz r3, 0x14(r1) -/* 803527E4 0034F744 4B FC 31 4D */ bl Free__7CMemoryFPCv -lbl_803527E8: -/* 803527E8 0034F748 38 61 00 08 */ addi r3, r1, 8 -/* 803527EC 0034F74C 38 1F 00 30 */ addi r0, r31, 0x30 -/* 803527F0 0034F750 38 80 00 00 */ li r4, 0 -/* 803527F4 0034F754 7C 03 00 40 */ cmplw r3, r0 -/* 803527F8 0034F758 98 81 00 08 */ stb r4, 8(r1) -/* 803527FC 0034F75C 90 81 00 0C */ stw r4, 0xc(r1) -/* 80352800 0034F760 41 82 00 30 */ beq lbl_80352830 -/* 80352804 0034F764 88 1F 00 30 */ lbz r0, 0x30(r31) -/* 80352808 0034F768 28 00 00 00 */ cmplwi r0, 0 -/* 8035280C 0034F76C 41 82 00 0C */ beq lbl_80352818 -/* 80352810 0034F770 80 7F 00 34 */ lwz r3, 0x34(r31) -/* 80352814 0034F774 4B FC 31 1D */ bl Free__7CMemoryFPCv -lbl_80352818: -/* 80352818 0034F778 88 81 00 08 */ lbz r4, 8(r1) -/* 8035281C 0034F77C 38 00 00 00 */ li r0, 0 -/* 80352820 0034F780 80 61 00 0C */ lwz r3, 0xc(r1) -/* 80352824 0034F784 98 9F 00 30 */ stb r4, 0x30(r31) -/* 80352828 0034F788 90 7F 00 34 */ stw r3, 0x34(r31) -/* 8035282C 0034F78C 98 01 00 08 */ stb r0, 8(r1) -lbl_80352830: -/* 80352830 0034F790 88 01 00 08 */ lbz r0, 8(r1) -/* 80352834 0034F794 28 00 00 00 */ cmplwi r0, 0 -/* 80352838 0034F798 41 82 00 0C */ beq lbl_80352844 -/* 8035283C 0034F79C 80 61 00 0C */ lwz r3, 0xc(r1) -/* 80352840 0034F7A0 4B FC 30 F1 */ bl Free__7CMemoryFPCv -lbl_80352844: -/* 80352844 0034F7A4 A0 6D AA 38 */ lhz r3, lbl_805A95F8@sda21(r13) -/* 80352848 0034F7A8 48 02 5B D9 */ bl GXSetDrawSync -/* 8035284C 0034F7AC A0 6D AA 38 */ lhz r3, lbl_805A95F8@sda21(r13) -/* 80352850 0034F7B0 38 03 00 01 */ addi r0, r3, 1 -/* 80352854 0034F7B4 B0 0D AA 38 */ sth r0, lbl_805A95F8@sda21(r13) -lbl_80352858: -/* 80352858 0034F7B8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8035285C 0034F7BC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80352860 0034F7C0 7C 08 03 A6 */ mtlr r0 -/* 80352864 0034F7C4 38 21 00 20 */ addi r1, r1, 0x20 -/* 80352868 0034F7C8 4E 80 00 20 */ blr - -.global AllocateStorage__13CSkinnedModelFv -AllocateStorage__13CSkinnedModelFv: -/* 8035286C 0034F7CC 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80352870 0034F7D0 7C 08 02 A6 */ mflr r0 -/* 80352874 0034F7D4 90 01 00 34 */ stw r0, 0x34(r1) -/* 80352878 0034F7D8 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8035287C 0034F7DC 7C 7F 1B 78 */ mr r31, r3 -/* 80352880 0034F7E0 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80352884 0034F7E4 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80352888 0034F7E8 88 03 00 38 */ lbz r0, 0x38(r3) -/* 8035288C 0034F7EC 28 00 00 00 */ cmplwi r0, 0 -/* 80352890 0034F7F0 41 82 01 40 */ beq lbl_803529D0 -/* 80352894 0034F7F4 80 1F 00 2C */ lwz r0, 0x2c(r31) -/* 80352898 0034F7F8 28 00 00 00 */ cmplwi r0, 0 -/* 8035289C 0034F7FC 41 82 00 10 */ beq lbl_803528AC -/* 803528A0 0034F800 80 1F 00 34 */ lwz r0, 0x34(r31) -/* 803528A4 0034F804 28 00 00 00 */ cmplwi r0, 0 -/* 803528A8 0034F808 40 82 01 28 */ bne lbl_803529D0 -lbl_803528AC: -/* 803528AC 0034F80C 80 7F 00 18 */ lwz r3, 0x18(r31) -/* 803528B0 0034F810 83 C3 00 10 */ lwz r30, 0x10(r3) -/* 803528B4 0034F814 83 A3 00 14 */ lwz r29, 0x14(r3) -/* 803528B8 0034F818 48 00 02 B9 */ bl TickAllocations__13CSkinnedModelFv -/* 803528BC 0034F81C 1C 7D 00 0C */ mulli r3, r29, 0xc -/* 803528C0 0034F820 1C 9E 00 0C */ mulli r4, r30, 0xc -/* 803528C4 0034F824 38 03 00 1F */ addi r0, r3, 0x1f -/* 803528C8 0034F828 38 84 00 1F */ addi r4, r4, 0x1f -/* 803528CC 0034F82C 54 03 00 34 */ rlwinm r3, r0, 0, 0, 0x1a -/* 803528D0 0034F830 54 9D 00 34 */ rlwinm r29, r4, 0, 0, 0x1a -/* 803528D4 0034F834 38 63 00 20 */ addi r3, r3, 0x20 -/* 803528D8 0034F838 7C 7D 1A 14 */ add r3, r29, r3 -/* 803528DC 0034F83C 48 00 01 11 */ bl EnsureAllocation__13CSkinnedModelFi -/* 803528E0 0034F840 3C 80 80 4C */ lis r4, lbl_804BFFC0@ha -/* 803528E4 0034F844 7C 7E 1B 78 */ mr r30, r3 -/* 803528E8 0034F848 38 04 FF C0 */ addi r0, r4, lbl_804BFFC0@l -/* 803528EC 0034F84C 7C 1E 00 40 */ cmplw r30, r0 -/* 803528F0 0034F850 40 82 00 08 */ bne lbl_803528F8 -/* 803528F4 0034F854 48 02 56 91 */ bl GXInvalidateVtxCache -lbl_803528F8: -/* 803528F8 0034F858 7C 1E 00 D0 */ neg r0, r30 -/* 803528FC 0034F85C 38 61 00 10 */ addi r3, r1, 0x10 -/* 80352900 0034F860 7C 04 F3 78 */ or r4, r0, r30 -/* 80352904 0034F864 38 1F 00 28 */ addi r0, r31, 0x28 -/* 80352908 0034F868 54 84 0F FE */ srwi r4, r4, 0x1f -/* 8035290C 0034F86C 93 C1 00 14 */ stw r30, 0x14(r1) -/* 80352910 0034F870 7C 03 00 40 */ cmplw r3, r0 -/* 80352914 0034F874 98 81 00 10 */ stb r4, 0x10(r1) -/* 80352918 0034F878 41 82 00 30 */ beq lbl_80352948 -/* 8035291C 0034F87C 88 1F 00 28 */ lbz r0, 0x28(r31) -/* 80352920 0034F880 28 00 00 00 */ cmplwi r0, 0 -/* 80352924 0034F884 41 82 00 0C */ beq lbl_80352930 -/* 80352928 0034F888 80 7F 00 2C */ lwz r3, 0x2c(r31) -/* 8035292C 0034F88C 4B FC 30 05 */ bl Free__7CMemoryFPCv -lbl_80352930: -/* 80352930 0034F890 88 61 00 10 */ lbz r3, 0x10(r1) -/* 80352934 0034F894 38 00 00 00 */ li r0, 0 -/* 80352938 0034F898 98 7F 00 28 */ stb r3, 0x28(r31) -/* 8035293C 0034F89C 80 61 00 14 */ lwz r3, 0x14(r1) -/* 80352940 0034F8A0 90 7F 00 2C */ stw r3, 0x2c(r31) -/* 80352944 0034F8A4 98 01 00 10 */ stb r0, 0x10(r1) -lbl_80352948: -/* 80352948 0034F8A8 88 01 00 10 */ lbz r0, 0x10(r1) -/* 8035294C 0034F8AC 28 00 00 00 */ cmplwi r0, 0 -/* 80352950 0034F8B0 41 82 00 0C */ beq lbl_8035295C -/* 80352954 0034F8B4 80 61 00 14 */ lwz r3, 0x14(r1) -/* 80352958 0034F8B8 4B FC 2F D9 */ bl Free__7CMemoryFPCv -lbl_8035295C: -/* 8035295C 0034F8BC 7C BE EA 14 */ add r5, r30, r29 -/* 80352960 0034F8C0 38 61 00 08 */ addi r3, r1, 8 -/* 80352964 0034F8C4 7C 85 00 D0 */ neg r4, r5 -/* 80352968 0034F8C8 38 1F 00 30 */ addi r0, r31, 0x30 -/* 8035296C 0034F8CC 7C 84 2B 78 */ or r4, r4, r5 -/* 80352970 0034F8D0 90 A1 00 0C */ stw r5, 0xc(r1) -/* 80352974 0034F8D4 54 84 0F FE */ srwi r4, r4, 0x1f -/* 80352978 0034F8D8 7C 03 00 40 */ cmplw r3, r0 -/* 8035297C 0034F8DC 98 81 00 08 */ stb r4, 8(r1) -/* 80352980 0034F8E0 41 82 00 30 */ beq lbl_803529B0 -/* 80352984 0034F8E4 88 1F 00 30 */ lbz r0, 0x30(r31) -/* 80352988 0034F8E8 28 00 00 00 */ cmplwi r0, 0 -/* 8035298C 0034F8EC 41 82 00 0C */ beq lbl_80352998 -/* 80352990 0034F8F0 80 7F 00 34 */ lwz r3, 0x34(r31) -/* 80352994 0034F8F4 4B FC 2F 9D */ bl Free__7CMemoryFPCv -lbl_80352998: -/* 80352998 0034F8F8 88 61 00 08 */ lbz r3, 8(r1) -/* 8035299C 0034F8FC 38 00 00 00 */ li r0, 0 -/* 803529A0 0034F900 98 7F 00 30 */ stb r3, 0x30(r31) -/* 803529A4 0034F904 80 61 00 0C */ lwz r3, 0xc(r1) -/* 803529A8 0034F908 90 7F 00 34 */ stw r3, 0x34(r31) -/* 803529AC 0034F90C 98 01 00 08 */ stb r0, 8(r1) -lbl_803529B0: -/* 803529B0 0034F910 88 01 00 08 */ lbz r0, 8(r1) -/* 803529B4 0034F914 28 00 00 00 */ cmplwi r0, 0 -/* 803529B8 0034F918 41 82 00 0C */ beq lbl_803529C4 -/* 803529BC 0034F91C 80 61 00 0C */ lwz r3, 0xc(r1) -/* 803529C0 0034F920 4B FC 2F 71 */ bl Free__7CMemoryFPCv -lbl_803529C4: -/* 803529C4 0034F924 38 00 00 00 */ li r0, 0 -/* 803529C8 0034F928 98 1F 00 28 */ stb r0, 0x28(r31) -/* 803529CC 0034F92C 98 1F 00 30 */ stb r0, 0x30(r31) -lbl_803529D0: -/* 803529D0 0034F930 80 01 00 34 */ lwz r0, 0x34(r1) -/* 803529D4 0034F934 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 803529D8 0034F938 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 803529DC 0034F93C 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 803529E0 0034F940 7C 08 03 A6 */ mtlr r0 -/* 803529E4 0034F944 38 21 00 30 */ addi r1, r1, 0x30 -/* 803529E8 0034F948 4E 80 00 20 */ blr - -.global EnsureAllocation__13CSkinnedModelFi -EnsureAllocation__13CSkinnedModelFi: -/* 803529EC 0034F94C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 803529F0 0034F950 7C 08 02 A6 */ mflr r0 -/* 803529F4 0034F954 90 01 00 24 */ stw r0, 0x24(r1) -/* 803529F8 0034F958 38 03 00 1F */ addi r0, r3, 0x1f -/* 803529FC 0034F95C 3C 60 80 54 */ lis r3, lbl_8053FFCC@ha -/* 80352A00 0034F960 BF 41 00 08 */ stmw r26, 8(r1) -/* 80352A04 0034F964 54 1C 00 34 */ rlwinm r28, r0, 0, 0, 0x1a -/* 80352A08 0034F968 38 63 FF CC */ addi r3, r3, lbl_8053FFCC@l -/* 80352A0C 0034F96C 7F 84 E3 78 */ mr r4, r28 -/* 80352A10 0034F970 4B FC 2C E9 */ bl Alloc__15CCircularBufferFi -/* 80352A14 0034F974 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80352A18 0034F978 40 82 00 24 */ bne lbl_80352A3C -/* 80352A1C 0034F97C 88 0D AA 41 */ lbz r0, lbl_805A9601@sda21(r13) -/* 80352A20 0034F980 28 00 00 00 */ cmplwi r0, 0 -/* 80352A24 0034F984 40 82 00 18 */ bne lbl_80352A3C -/* 80352A28 0034F988 3C 60 80 54 */ lis r3, lbl_8053FFCC@ha -/* 80352A2C 0034F98C 38 63 FF CC */ addi r3, r3, lbl_8053FFCC@l -/* 80352A30 0034F990 4B FC 2C 31 */ bl GetAllocatedAmount__15CCircularBufferCFv -/* 80352A34 0034F994 38 00 00 01 */ li r0, 1 -/* 80352A38 0034F998 98 0D AA 41 */ stb r0, lbl_805A9601@sda21(r13) -lbl_80352A3C: -/* 80352A3C 0034F99C 48 03 29 85 */ bl OSGetTick -/* 80352A40 0034F9A0 3C A0 80 54 */ lis r5, lbl_8053FFF4@ha -/* 80352A44 0034F9A4 3C 80 80 54 */ lis r4, lbl_8053FFCC@ha -/* 80352A48 0034F9A8 7C 7D 1B 78 */ mr r29, r3 -/* 80352A4C 0034F9AC 3B E5 FF F4 */ addi r31, r5, lbl_8053FFF4@l -/* 80352A50 0034F9B0 3B 64 FF CC */ addi r27, r4, lbl_8053FFCC@l -/* 80352A54 0034F9B4 48 00 00 84 */ b lbl_80352AD8 -lbl_80352A58: -/* 80352A58 0034F9B8 48 00 01 19 */ bl TickAllocations__13CSkinnedModelFv -/* 80352A5C 0034F9BC 7F 63 DB 78 */ mr r3, r27 -/* 80352A60 0034F9C0 7F 84 E3 78 */ mr r4, r28 -/* 80352A64 0034F9C4 4B FC 2C 95 */ bl Alloc__15CCircularBufferFi -/* 80352A68 0034F9C8 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80352A6C 0034F9CC 40 82 00 6C */ bne lbl_80352AD8 -/* 80352A70 0034F9D0 48 03 29 51 */ bl OSGetTick -/* 80352A74 0034F9D4 3C A0 80 00 */ lis r5, 0x800000F8@ha -/* 80352A78 0034F9D8 3C 80 10 62 */ lis r4, 0x10624DD3@ha -/* 80352A7C 0034F9DC 80 05 00 F8 */ lwz r0, 0x800000F8@l(r5) -/* 80352A80 0034F9E0 7C 7A 1B 78 */ mr r26, r3 -/* 80352A84 0034F9E4 38 64 4D D3 */ addi r3, r4, 0x10624DD3@l -/* 80352A88 0034F9E8 54 00 F0 BE */ srwi r0, r0, 2 -/* 80352A8C 0034F9EC 7C 03 00 16 */ mulhwu r0, r3, r0 -/* 80352A90 0034F9F0 7C 7D D0 50 */ subf r3, r29, r26 -/* 80352A94 0034F9F4 54 00 D1 BE */ srwi r0, r0, 6 -/* 80352A98 0034F9F8 7C 03 03 96 */ divwu r0, r3, r0 -/* 80352A9C 0034F9FC 28 00 00 3C */ cmplwi r0, 0x3c -/* 80352AA0 0034FA00 40 81 00 38 */ ble lbl_80352AD8 -/* 80352AA4 0034FA04 48 02 5A 35 */ bl GXReadDrawSync -/* 80352AA8 0034FA08 80 7F 00 04 */ lwz r3, 4(r31) -/* 80352AAC 0034FA0C 80 1F 00 08 */ lwz r0, 8(r31) -/* 80352AB0 0034FA10 48 00 00 08 */ b lbl_80352AB8 -lbl_80352AB4: -/* 80352AB4 0034FA14 80 63 00 04 */ lwz r3, 4(r3) -lbl_80352AB8: -/* 80352AB8 0034FA18 7C 03 00 40 */ cmplw r3, r0 -/* 80352ABC 0034FA1C 40 82 FF F8 */ bne lbl_80352AB4 -/* 80352AC0 0034FA20 A0 6D AA 38 */ lhz r3, lbl_805A95F8@sda21(r13) -/* 80352AC4 0034FA24 7F 5D D3 78 */ mr r29, r26 -/* 80352AC8 0034FA28 48 02 59 59 */ bl GXSetDrawSync -/* 80352ACC 0034FA2C A0 6D AA 38 */ lhz r3, lbl_805A95F8@sda21(r13) -/* 80352AD0 0034FA30 38 03 00 01 */ addi r0, r3, 1 -/* 80352AD4 0034FA34 B0 0D AA 38 */ sth r0, lbl_805A95F8@sda21(r13) -lbl_80352AD8: -/* 80352AD8 0034FA38 28 1E 00 00 */ cmplwi r30, 0 -/* 80352ADC 0034FA3C 41 82 FF 7C */ beq lbl_80352A58 -/* 80352AE0 0034FA40 83 BF 00 08 */ lwz r29, 8(r31) -/* 80352AE4 0034FA44 3C 60 80 3E */ lis r3, lbl_803D82F8@ha -/* 80352AE8 0034FA48 38 83 82 F8 */ addi r4, r3, lbl_803D82F8@l -/* 80352AEC 0034FA4C A3 6D AA 38 */ lhz r27, lbl_805A95F8@sda21(r13) -/* 80352AF0 0034FA50 83 5D 00 00 */ lwz r26, 0(r29) -/* 80352AF4 0034FA54 38 60 00 14 */ li r3, 0x14 -/* 80352AF8 0034FA58 38 A0 00 00 */ li r5, 0 -/* 80352AFC 0034FA5C 4B FC 2D 1D */ bl __nwa__FUlPCcPCc -/* 80352B00 0034FA60 28 03 00 00 */ cmplwi r3, 0 -/* 80352B04 0034FA64 41 82 00 0C */ beq lbl_80352B10 -/* 80352B08 0034FA68 93 43 00 00 */ stw r26, 0(r3) -/* 80352B0C 0034FA6C 93 A3 00 04 */ stw r29, 4(r3) -lbl_80352B10: -/* 80352B10 0034FA70 34 83 00 08 */ addic. r4, r3, 8 -/* 80352B14 0034FA74 41 82 00 10 */ beq lbl_80352B24 -/* 80352B18 0034FA78 93 C4 00 00 */ stw r30, 0(r4) -/* 80352B1C 0034FA7C 93 84 00 04 */ stw r28, 4(r4) -/* 80352B20 0034FA80 B3 64 00 08 */ sth r27, 8(r4) -lbl_80352B24: -/* 80352B24 0034FA84 80 1F 00 04 */ lwz r0, 4(r31) -/* 80352B28 0034FA88 7C 1D 00 40 */ cmplw r29, r0 -/* 80352B2C 0034FA8C 40 82 00 08 */ bne lbl_80352B34 -/* 80352B30 0034FA90 90 7F 00 04 */ stw r3, 4(r31) -lbl_80352B34: -/* 80352B34 0034FA94 80 C3 00 00 */ lwz r6, 0(r3) -/* 80352B38 0034FA98 3C 80 80 54 */ lis r4, lbl_8053FFF4@ha -/* 80352B3C 0034FA9C 38 A4 FF F4 */ addi r5, r4, lbl_8053FFF4@l -/* 80352B40 0034FAA0 90 66 00 04 */ stw r3, 4(r6) -/* 80352B44 0034FAA4 80 83 00 04 */ lwz r4, 4(r3) -/* 80352B48 0034FAA8 90 64 00 00 */ stw r3, 0(r4) -/* 80352B4C 0034FAAC 7F C3 F3 78 */ mr r3, r30 -/* 80352B50 0034FAB0 80 85 00 14 */ lwz r4, 0x14(r5) -/* 80352B54 0034FAB4 38 04 00 01 */ addi r0, r4, 1 -/* 80352B58 0034FAB8 90 05 00 14 */ stw r0, 0x14(r5) -/* 80352B5C 0034FABC BB 41 00 08 */ lmw r26, 8(r1) -/* 80352B60 0034FAC0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80352B64 0034FAC4 7C 08 03 A6 */ mtlr r0 -/* 80352B68 0034FAC8 38 21 00 20 */ addi r1, r1, 0x20 -/* 80352B6C 0034FACC 4E 80 00 20 */ blr - -.global TickAllocations__13CSkinnedModelFv -TickAllocations__13CSkinnedModelFv: -/* 80352B70 0034FAD0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80352B74 0034FAD4 7C 08 02 A6 */ mflr r0 -/* 80352B78 0034FAD8 90 01 00 24 */ stw r0, 0x24(r1) -/* 80352B7C 0034FADC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80352B80 0034FAE0 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80352B84 0034FAE4 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80352B88 0034FAE8 48 02 59 51 */ bl GXReadDrawSync -/* 80352B8C 0034FAEC A0 0D AA 38 */ lhz r0, lbl_805A95F8@sda21(r13) -/* 80352B90 0034FAF0 54 7D 04 3E */ clrlwi r29, r3, 0x10 -/* 80352B94 0034FAF4 7C 1D 00 00 */ cmpw r29, r0 -/* 80352B98 0034FAF8 40 81 00 08 */ ble lbl_80352BA0 -/* 80352B9C 0034FAFC 3F BD FF FF */ addis r29, r29, 0xffff -lbl_80352BA0: -/* 80352BA0 0034FB00 3C 80 80 54 */ lis r4, lbl_8053FFF4@ha -/* 80352BA4 0034FB04 3C 60 80 54 */ lis r3, lbl_8053FFCC@ha -/* 80352BA8 0034FB08 3B C4 FF F4 */ addi r30, r4, lbl_8053FFF4@l -/* 80352BAC 0034FB0C 3B E3 FF CC */ addi r31, r3, lbl_8053FFCC@l -/* 80352BB0 0034FB10 48 00 00 40 */ b lbl_80352BF0 -lbl_80352BB4: -/* 80352BB4 0034FB14 80 BE 00 04 */ lwz r5, 4(r30) -/* 80352BB8 0034FB18 A0 0D AA 38 */ lhz r0, lbl_805A95F8@sda21(r13) -/* 80352BBC 0034FB1C A0 65 00 10 */ lhz r3, 0x10(r5) -/* 80352BC0 0034FB20 7C 03 00 00 */ cmpw r3, r0 -/* 80352BC4 0034FB24 40 81 00 08 */ ble lbl_80352BCC -/* 80352BC8 0034FB28 3C 63 FF FF */ addis r3, r3, 0xffff -lbl_80352BCC: -/* 80352BCC 0034FB2C 7C 1D 18 00 */ cmpw r29, r3 -/* 80352BD0 0034FB30 41 80 00 2C */ blt lbl_80352BFC -/* 80352BD4 0034FB34 80 85 00 08 */ lwz r4, 8(r5) -/* 80352BD8 0034FB38 7F E3 FB 78 */ mr r3, r31 -/* 80352BDC 0034FB3C 80 A5 00 0C */ lwz r5, 0xc(r5) -/* 80352BE0 0034FB40 4B FC 2A AD */ bl Free__15CCircularBufferFPvi -/* 80352BE4 0034FB44 80 9E 00 04 */ lwz r4, 4(r30) -/* 80352BE8 0034FB48 7F C3 F3 78 */ mr r3, r30 -/* 80352BEC 0034FB4C 48 00 0B 15 */ bl sub_80353700 -lbl_80352BF0: -/* 80352BF0 0034FB50 80 1E 00 14 */ lwz r0, 0x14(r30) -/* 80352BF4 0034FB54 2C 00 00 00 */ cmpwi r0, 0 -/* 80352BF8 0034FB58 40 82 FF BC */ bne lbl_80352BB4 -lbl_80352BFC: -/* 80352BFC 0034FB5C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80352C00 0034FB60 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80352C04 0034FB64 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80352C08 0034FB68 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80352C0C 0034FB6C 7C 08 03 A6 */ mtlr r0 -/* 80352C10 0034FB70 38 21 00 20 */ addi r1, r1, 0x20 -/* 80352C14 0034FB74 4E 80 00 20 */ blr - -.global CalculateDefault__13CSkinnedModelFv -CalculateDefault__13CSkinnedModelFv: -/* 80352C18 0034FB78 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80352C1C 0034FB7C 7C 08 02 A6 */ mflr r0 -/* 80352C20 0034FB80 38 80 00 00 */ li r4, 0 -/* 80352C24 0034FB84 90 01 00 24 */ stw r0, 0x24(r1) -/* 80352C28 0034FB88 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80352C2C 0034FB8C 7C 7F 1B 78 */ mr r31, r3 -/* 80352C30 0034FB90 38 61 00 10 */ addi r3, r1, 0x10 -/* 80352C34 0034FB94 38 1F 00 28 */ addi r0, r31, 0x28 -/* 80352C38 0034FB98 98 81 00 10 */ stb r4, 0x10(r1) -/* 80352C3C 0034FB9C 7C 03 00 40 */ cmplw r3, r0 -/* 80352C40 0034FBA0 90 81 00 14 */ stw r4, 0x14(r1) -/* 80352C44 0034FBA4 41 82 00 30 */ beq lbl_80352C74 -/* 80352C48 0034FBA8 88 1F 00 28 */ lbz r0, 0x28(r31) -/* 80352C4C 0034FBAC 28 00 00 00 */ cmplwi r0, 0 -/* 80352C50 0034FBB0 41 82 00 0C */ beq lbl_80352C5C -/* 80352C54 0034FBB4 80 7F 00 2C */ lwz r3, 0x2c(r31) -/* 80352C58 0034FBB8 4B FC 2C D9 */ bl Free__7CMemoryFPCv -lbl_80352C5C: -/* 80352C5C 0034FBBC 88 61 00 10 */ lbz r3, 0x10(r1) -/* 80352C60 0034FBC0 38 00 00 00 */ li r0, 0 -/* 80352C64 0034FBC4 98 7F 00 28 */ stb r3, 0x28(r31) -/* 80352C68 0034FBC8 80 61 00 14 */ lwz r3, 0x14(r1) -/* 80352C6C 0034FBCC 90 7F 00 2C */ stw r3, 0x2c(r31) -/* 80352C70 0034FBD0 98 01 00 10 */ stb r0, 0x10(r1) -lbl_80352C74: -/* 80352C74 0034FBD4 88 01 00 10 */ lbz r0, 0x10(r1) -/* 80352C78 0034FBD8 28 00 00 00 */ cmplwi r0, 0 -/* 80352C7C 0034FBDC 41 82 00 0C */ beq lbl_80352C88 -/* 80352C80 0034FBE0 80 61 00 14 */ lwz r3, 0x14(r1) -/* 80352C84 0034FBE4 4B FC 2C AD */ bl Free__7CMemoryFPCv -lbl_80352C88: -/* 80352C88 0034FBE8 38 61 00 08 */ addi r3, r1, 8 -/* 80352C8C 0034FBEC 38 1F 00 30 */ addi r0, r31, 0x30 -/* 80352C90 0034FBF0 38 80 00 00 */ li r4, 0 -/* 80352C94 0034FBF4 7C 03 00 40 */ cmplw r3, r0 -/* 80352C98 0034FBF8 98 81 00 08 */ stb r4, 8(r1) -/* 80352C9C 0034FBFC 90 81 00 0C */ stw r4, 0xc(r1) -/* 80352CA0 0034FC00 41 82 00 30 */ beq lbl_80352CD0 -/* 80352CA4 0034FC04 88 1F 00 30 */ lbz r0, 0x30(r31) -/* 80352CA8 0034FC08 28 00 00 00 */ cmplwi r0, 0 -/* 80352CAC 0034FC0C 41 82 00 0C */ beq lbl_80352CB8 -/* 80352CB0 0034FC10 80 7F 00 34 */ lwz r3, 0x34(r31) -/* 80352CB4 0034FC14 4B FC 2C 7D */ bl Free__7CMemoryFPCv -lbl_80352CB8: -/* 80352CB8 0034FC18 88 61 00 08 */ lbz r3, 8(r1) -/* 80352CBC 0034FC1C 38 00 00 00 */ li r0, 0 -/* 80352CC0 0034FC20 98 7F 00 30 */ stb r3, 0x30(r31) -/* 80352CC4 0034FC24 80 61 00 0C */ lwz r3, 0xc(r1) -/* 80352CC8 0034FC28 90 7F 00 34 */ stw r3, 0x34(r31) -/* 80352CCC 0034FC2C 98 01 00 08 */ stb r0, 8(r1) -lbl_80352CD0: -/* 80352CD0 0034FC30 88 01 00 08 */ lbz r0, 8(r1) -/* 80352CD4 0034FC34 28 00 00 00 */ cmplwi r0, 0 -/* 80352CD8 0034FC38 41 82 00 0C */ beq lbl_80352CE4 -/* 80352CDC 0034FC3C 80 61 00 0C */ lwz r3, 0xc(r1) -/* 80352CE0 0034FC40 4B FC 2C 51 */ bl Free__7CMemoryFPCv -lbl_80352CE4: -/* 80352CE4 0034FC44 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80352CE8 0034FC48 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80352CEC 0034FC4C 7C 08 03 A6 */ mtlr r0 -/* 80352CF0 0034FC50 38 21 00 20 */ addi r1, r1, 0x20 -/* 80352CF4 0034FC54 4E 80 00 20 */ blr - -.global "Calculate__13CSkinnedModelFRC17CPoseAsTransformsRCQ24rstl37optional_object<18CVertexMorphEffect>PCfPf" -"Calculate__13CSkinnedModelFRC17CPoseAsTransformsRCQ24rstl37optional_object<18CVertexMorphEffect>PCfPf": -/* 80352CF8 0034FC58 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80352CFC 0034FC5C 7C 08 02 A6 */ mflr r0 -/* 80352D00 0034FC60 28 07 00 00 */ cmplwi r7, 0 -/* 80352D04 0034FC64 90 01 00 34 */ stw r0, 0x34(r1) -/* 80352D08 0034FC68 BE E1 00 0C */ stmw r23, 0xc(r1) -/* 80352D0C 0034FC6C 7C BB 2B 78 */ mr r27, r5 -/* 80352D10 0034FC70 7C 79 1B 78 */ mr r25, r3 -/* 80352D14 0034FC74 7C 9A 23 78 */ mr r26, r4 -/* 80352D18 0034FC78 7C DC 33 78 */ mr r28, r6 -/* 80352D1C 0034FC7C 81 03 00 18 */ lwz r8, 0x18(r3) -/* 80352D20 0034FC80 80 A8 00 10 */ lwz r5, 0x10(r8) -/* 80352D24 0034FC84 80 08 00 14 */ lwz r0, 0x14(r8) -/* 80352D28 0034FC88 1F C5 00 0C */ mulli r30, r5, 0xc -/* 80352D2C 0034FC8C 1F E0 00 0C */ mulli r31, r0, 0xc -/* 80352D30 0034FC90 41 82 00 0C */ beq lbl_80352D3C -/* 80352D34 0034FC94 7C FD 3B 78 */ mr r29, r7 -/* 80352D38 0034FC98 48 00 00 28 */ b lbl_80352D60 -lbl_80352D3C: -/* 80352D3C 0034FC9C 88 19 00 39 */ lbz r0, 0x39(r25) -/* 80352D40 0034FCA0 28 00 00 00 */ cmplwi r0, 0 -/* 80352D44 0034FCA4 41 82 00 14 */ beq lbl_80352D58 -/* 80352D48 0034FCA8 80 B9 00 24 */ lwz r5, 0x24(r25) -/* 80352D4C 0034FCAC 7D 03 43 78 */ mr r3, r8 -/* 80352D50 0034FCB0 48 00 12 FD */ bl BuildAccumulatedTransforms__10CSkinRulesCFRC17CPoseAsTransformsRC15CCharLayoutInfo -/* 80352D54 0034FCB4 48 00 01 80 */ b lbl_80352ED4 -lbl_80352D58: -/* 80352D58 0034FCB8 4B FF FB 15 */ bl AllocateStorage__13CSkinnedModelFv -/* 80352D5C 0034FCBC 83 B9 00 2C */ lwz r29, 0x2c(r25) -lbl_80352D60: -/* 80352D60 0034FCC0 38 7E 00 1F */ addi r3, r30, 0x1f -/* 80352D64 0034FCC4 38 1F 00 1F */ addi r0, r31, 0x1f -/* 80352D68 0034FCC8 54 7F 00 34 */ rlwinm r31, r3, 0, 0, 0x1a -/* 80352D6C 0034FCCC 7F A3 EB 78 */ mr r3, r29 -/* 80352D70 0034FCD0 54 00 00 34 */ rlwinm r0, r0, 0, 0, 0x1a -/* 80352D74 0034FCD4 7F DF 02 14 */ add r30, r31, r0 -/* 80352D78 0034FCD8 7F C4 F3 78 */ mr r4, r30 -/* 80352D7C 0034FCDC 48 02 BD 35 */ bl DCFlushRange -/* 80352D80 0034FCE0 48 02 E8 E1 */ bl OSDisableInterrupts -/* 80352D84 0034FCE4 7C 60 1B 78 */ mr r0, r3 -/* 80352D88 0034FCE8 7F A3 EB 78 */ mr r3, r29 -/* 80352D8C 0034FCEC 7C 18 03 78 */ mr r24, r0 -/* 80352D90 0034FCF0 48 02 3D A5 */ bl GXRedirectWriteGatherPipe -/* 80352D94 0034FCF4 7C 60 1B 78 */ mr r0, r3 -/* 80352D98 0034FCF8 80 79 00 18 */ lwz r3, 0x18(r25) -/* 80352D9C 0034FCFC 80 99 00 0C */ lwz r4, 0xc(r25) -/* 80352DA0 0034FD00 7C 17 03 78 */ mr r23, r0 -/* 80352DA4 0034FD04 48 00 0E 71 */ bl InitLockedCacheState__10CSkinRulesFRC10CSkinRules -/* 80352DA8 0034FD08 80 79 00 18 */ lwz r3, 0x18(r25) -/* 80352DAC 0034FD0C 7F 44 D3 78 */ mr r4, r26 -/* 80352DB0 0034FD10 80 B9 00 24 */ lwz r5, 0x24(r25) -/* 80352DB4 0034FD14 48 00 12 99 */ bl BuildAccumulatedTransforms__10CSkinRulesCFRC17CPoseAsTransformsRC15CCharLayoutInfo -/* 80352DB8 0034FD18 80 79 00 18 */ lwz r3, 0x18(r25) -/* 80352DBC 0034FD1C 7E E4 BB 78 */ mr r4, r23 -/* 80352DC0 0034FD20 48 00 11 F1 */ bl BuildPoints__10CSkinRulesCFPVv -/* 80352DC4 0034FD24 80 79 00 18 */ lwz r3, 0x18(r25) -/* 80352DC8 0034FD28 38 C0 00 00 */ li r6, 0 -/* 80352DCC 0034FD2C 80 03 00 10 */ lwz r0, 0x10(r3) -/* 80352DD0 0034FD30 1C 60 00 03 */ mulli r3, r0, 3 -/* 80352DD4 0034FD34 38 03 00 07 */ addi r0, r3, 7 -/* 80352DD8 0034FD38 54 00 00 38 */ rlwinm r0, r0, 0, 0, 0x1c -/* 80352DDC 0034FD3C 7C A3 00 51 */ subf. r5, r3, r0 -/* 80352DE0 0034FD40 40 81 00 6C */ ble lbl_80352E4C -/* 80352DE4 0034FD44 2C 05 00 08 */ cmpwi r5, 8 -/* 80352DE8 0034FD48 38 85 FF F8 */ addi r4, r5, -8 -/* 80352DEC 0034FD4C 40 81 00 44 */ ble lbl_80352E30 -/* 80352DF0 0034FD50 38 04 00 07 */ addi r0, r4, 7 -/* 80352DF4 0034FD54 38 60 00 00 */ li r3, 0 -/* 80352DF8 0034FD58 54 00 E8 FE */ srwi r0, r0, 3 -/* 80352DFC 0034FD5C 7C 09 03 A6 */ mtctr r0 -/* 80352E00 0034FD60 2C 04 00 00 */ cmpwi r4, 0 -/* 80352E04 0034FD64 40 81 00 2C */ ble lbl_80352E30 -lbl_80352E08: -/* 80352E08 0034FD68 90 77 00 00 */ stw r3, 0(r23) -/* 80352E0C 0034FD6C 38 C6 00 08 */ addi r6, r6, 8 -/* 80352E10 0034FD70 90 77 00 00 */ stw r3, 0(r23) -/* 80352E14 0034FD74 90 77 00 00 */ stw r3, 0(r23) -/* 80352E18 0034FD78 90 77 00 00 */ stw r3, 0(r23) -/* 80352E1C 0034FD7C 90 77 00 00 */ stw r3, 0(r23) -/* 80352E20 0034FD80 90 77 00 00 */ stw r3, 0(r23) -/* 80352E24 0034FD84 90 77 00 00 */ stw r3, 0(r23) -/* 80352E28 0034FD88 90 77 00 00 */ stw r3, 0(r23) -/* 80352E2C 0034FD8C 42 00 FF DC */ bdnz lbl_80352E08 -lbl_80352E30: -/* 80352E30 0034FD90 7C 06 28 50 */ subf r0, r6, r5 -/* 80352E34 0034FD94 38 60 00 00 */ li r3, 0 -/* 80352E38 0034FD98 7C 09 03 A6 */ mtctr r0 -/* 80352E3C 0034FD9C 7C 06 28 00 */ cmpw r6, r5 -/* 80352E40 0034FDA0 40 80 00 0C */ bge lbl_80352E4C -lbl_80352E44: -/* 80352E44 0034FDA4 90 77 00 00 */ stw r3, 0(r23) -/* 80352E48 0034FDA8 42 00 FF FC */ bdnz lbl_80352E44 -lbl_80352E4C: -/* 80352E4C 0034FDAC 80 79 00 18 */ lwz r3, 0x18(r25) -/* 80352E50 0034FDB0 7E E4 BB 78 */ mr r4, r23 -/* 80352E54 0034FDB4 48 00 10 C1 */ bl BuildNormals__10CSkinRulesCFPVv -/* 80352E58 0034FDB8 48 02 3D D1 */ bl GXRestoreWriteGatherPipe -/* 80352E5C 0034FDBC 7F 03 C3 78 */ mr r3, r24 -/* 80352E60 0034FDC0 48 02 E8 29 */ bl OSRestoreInterrupts -/* 80352E64 0034FDC4 88 1B 00 48 */ lbz r0, 0x48(r27) -/* 80352E68 0034FDC8 28 00 00 00 */ cmplwi r0, 0 -/* 80352E6C 0034FDCC 41 82 00 30 */ beq lbl_80352E9C -/* 80352E70 0034FDD0 80 D9 00 18 */ lwz r6, 0x18(r25) -/* 80352E74 0034FDD4 7F 63 DB 78 */ mr r3, r27 -/* 80352E78 0034FDD8 7F A4 EB 78 */ mr r4, r29 -/* 80352E7C 0034FDDC 7F 85 E3 78 */ mr r5, r28 -/* 80352E80 0034FDE0 81 06 00 10 */ lwz r8, 0x10(r6) -/* 80352E84 0034FDE4 7F 47 D3 78 */ mr r7, r26 -/* 80352E88 0034FDE8 38 D9 00 10 */ addi r6, r25, 0x10 -/* 80352E8C 0034FDEC 48 00 47 0D */ bl "MorphVertices__18CVertexMorphEffectCFP9CVector3fPC9CVector3fRC26TLockedToken<10CSkinRules>RC17CPoseAsTransformsUi" -/* 80352E90 0034FDF0 7F A3 EB 78 */ mr r3, r29 -/* 80352E94 0034FDF4 7F E4 FB 78 */ mr r4, r31 -/* 80352E98 0034FDF8 48 02 BC 19 */ bl DCFlushRange -lbl_80352E9C: -/* 80352E9C 0034FDFC 81 8D AA 30 */ lwz r12, lbl_805A95F0@sda21(r13) -/* 80352EA0 0034FE00 28 0C 00 00 */ cmplwi r12, 0 -/* 80352EA4 0034FE04 41 82 00 30 */ beq lbl_80352ED4 -/* 80352EA8 0034FE08 80 B9 00 18 */ lwz r5, 0x18(r25) -/* 80352EAC 0034FE0C 7F A4 EB 78 */ mr r4, r29 -/* 80352EB0 0034FE10 80 6D AA 34 */ lwz r3, lbl_805A95F4@sda21(r13) -/* 80352EB4 0034FE14 80 C5 00 10 */ lwz r6, 0x10(r5) -/* 80352EB8 0034FE18 1C 06 00 0C */ mulli r0, r6, 0xc -/* 80352EBC 0034FE1C 7C BD 02 14 */ add r5, r29, r0 -/* 80352EC0 0034FE20 7D 89 03 A6 */ mtctr r12 -/* 80352EC4 0034FE24 4E 80 04 21 */ bctrl -/* 80352EC8 0034FE28 7F A3 EB 78 */ mr r3, r29 -/* 80352ECC 0034FE2C 7F C4 F3 78 */ mr r4, r30 -/* 80352ED0 0034FE30 48 02 BB B5 */ bl DCInvalidateRange -lbl_80352ED4: -/* 80352ED4 0034FE34 BA E1 00 0C */ lmw r23, 0xc(r1) -/* 80352ED8 0034FE38 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80352EDC 0034FE3C 7C 08 03 A6 */ mtlr r0 -/* 80352EE0 0034FE40 38 21 00 30 */ addi r1, r1, 0x30 -/* 80352EE4 0034FE44 4E 80 00 20 */ blr - -.global sub_80352ee8 -sub_80352ee8: -/* 80352EE8 0034FE48 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80352EEC 0034FE4C 7C 08 02 A6 */ mflr r0 -/* 80352EF0 0034FE50 90 01 00 14 */ stw r0, 0x14(r1) -/* 80352EF4 0034FE54 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80352EF8 0034FE58 7C 7F 1B 78 */ mr r31, r3 -/* 80352EFC 0034FE5C 80 63 00 0C */ lwz r3, 0xc(r3) -/* 80352F00 0034FE60 48 00 2B 49 */ bl Draw__6CModelCFPCfPCfRC11CModelFlags -/* 80352F04 0034FE64 7F E3 FB 78 */ mr r3, r31 -/* 80352F08 0034FE68 4B FF F8 59 */ bl sub_80352760 -/* 80352F0C 0034FE6C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80352F10 0034FE70 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80352F14 0034FE74 7C 08 03 A6 */ mtlr r0 -/* 80352F18 0034FE78 38 21 00 10 */ addi r1, r1, 0x10 -/* 80352F1C 0034FE7C 4E 80 00 20 */ blr - -.global DoDrawCallback__13CSkinnedModelF14FCustomDrawCPv -DoDrawCallback__13CSkinnedModelF14FCustomDrawCPv: -/* 80352F20 0034FE80 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 80352F24 0034FE84 7C 08 02 A6 */ mflr r0 -/* 80352F28 0034FE88 90 01 00 84 */ stw r0, 0x84(r1) -/* 80352F2C 0034FE8C 93 E1 00 7C */ stw r31, 0x7c(r1) -/* 80352F30 0034FE90 7C 7F 1B 78 */ mr r31, r3 -/* 80352F34 0034FE94 93 C1 00 78 */ stw r30, 0x78(r1) -/* 80352F38 0034FE98 93 A1 00 74 */ stw r29, 0x74(r1) -/* 80352F3C 0034FE9C 7C BD 2B 78 */ mr r29, r5 -/* 80352F40 0034FEA0 93 81 00 70 */ stw r28, 0x70(r1) -/* 80352F44 0034FEA4 7C 9C 23 78 */ mr r28, r4 -/* 80352F48 0034FEA8 88 03 00 39 */ lbz r0, 0x39(r3) -/* 80352F4C 0034FEAC 28 00 00 00 */ cmplwi r0, 0 -/* 80352F50 0034FEB0 41 82 00 68 */ beq lbl_80352FB8 -/* 80352F54 0034FEB4 3C 80 80 5A */ lis r4, lbl_805A6204@ha -/* 80352F58 0034FEB8 38 61 00 38 */ addi r3, r1, 0x38 -/* 80352F5C 0034FEBC 38 84 62 04 */ addi r4, r4, lbl_805A6204@l -/* 80352F60 0034FEC0 4B FB FC 15 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80352F64 0034FEC4 80 BF 00 18 */ lwz r5, 0x18(r31) -/* 80352F68 0034FEC8 38 61 00 08 */ addi r3, r1, 8 -/* 80352F6C 0034FECC 38 81 00 38 */ addi r4, r1, 0x38 -/* 80352F70 0034FED0 80 A5 00 0C */ lwz r5, 0xc(r5) -/* 80352F74 0034FED4 38 A5 00 20 */ addi r5, r5, 0x20 -/* 80352F78 0034FED8 4B FB F9 D9 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 80352F7C 0034FEDC 38 61 00 08 */ addi r3, r1, 8 -/* 80352F80 0034FEE0 4B FB 96 61 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f -/* 80352F84 0034FEE4 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 80352F88 0034FEE8 48 00 27 3D */ bl GetNormals__6CModelCFv -/* 80352F8C 0034FEEC 7C 7E 1B 78 */ mr r30, r3 -/* 80352F90 0034FEF0 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 80352F94 0034FEF4 48 00 27 3D */ bl GetPositions__6CModelCFv -/* 80352F98 0034FEF8 7F 8C E3 78 */ mr r12, r28 -/* 80352F9C 0034FEFC 7F C4 F3 78 */ mr r4, r30 -/* 80352FA0 0034FF00 7F A5 EB 78 */ mr r5, r29 -/* 80352FA4 0034FF04 7D 89 03 A6 */ mtctr r12 -/* 80352FA8 0034FF08 4E 80 04 21 */ bctrl -/* 80352FAC 0034FF0C 38 61 00 38 */ addi r3, r1, 0x38 -/* 80352FB0 0034FF10 4B FB 96 31 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f -/* 80352FB4 0034FF14 48 00 00 90 */ b lbl_80353044 -lbl_80352FB8: -/* 80352FB8 0034FF18 80 7F 00 2C */ lwz r3, 0x2c(r31) -/* 80352FBC 0034FF1C 28 03 00 00 */ cmplwi r3, 0 -/* 80352FC0 0034FF20 40 82 00 30 */ bne lbl_80352FF0 -/* 80352FC4 0034FF24 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 80352FC8 0034FF28 48 00 26 FD */ bl GetNormals__6CModelCFv -/* 80352FCC 0034FF2C 7C 7E 1B 78 */ mr r30, r3 -/* 80352FD0 0034FF30 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 80352FD4 0034FF34 48 00 26 FD */ bl GetPositions__6CModelCFv -/* 80352FD8 0034FF38 7F 8C E3 78 */ mr r12, r28 -/* 80352FDC 0034FF3C 7F C4 F3 78 */ mr r4, r30 -/* 80352FE0 0034FF40 7F A5 EB 78 */ mr r5, r29 -/* 80352FE4 0034FF44 7D 89 03 A6 */ mtctr r12 -/* 80352FE8 0034FF48 4E 80 04 21 */ bctrl -/* 80352FEC 0034FF4C 48 00 00 58 */ b lbl_80353044 -lbl_80352FF0: -/* 80352FF0 0034FF50 7F 8C E3 78 */ mr r12, r28 -/* 80352FF4 0034FF54 80 9F 00 34 */ lwz r4, 0x34(r31) -/* 80352FF8 0034FF58 7D 89 03 A6 */ mtctr r12 -/* 80352FFC 0034FF5C 4E 80 04 21 */ bctrl -/* 80353000 0034FF60 80 9F 00 18 */ lwz r4, 0x18(r31) -/* 80353004 0034FF64 80 7F 00 2C */ lwz r3, 0x2c(r31) -/* 80353008 0034FF68 80 04 00 10 */ lwz r0, 0x10(r4) -/* 8035300C 0034FF6C 1C 80 00 0C */ mulli r4, r0, 0xc -/* 80353010 0034FF70 38 04 00 1F */ addi r0, r4, 0x1f -/* 80353014 0034FF74 54 04 00 34 */ rlwinm r4, r0, 0, 0, 0x1a -/* 80353018 0034FF78 48 02 BA F9 */ bl DCFlushRangeNoSync -/* 8035301C 0034FF7C 80 9F 00 18 */ lwz r4, 0x18(r31) -/* 80353020 0034FF80 80 7F 00 34 */ lwz r3, 0x34(r31) -/* 80353024 0034FF84 80 04 00 14 */ lwz r0, 0x14(r4) -/* 80353028 0034FF88 1C 80 00 0C */ mulli r4, r0, 0xc -/* 8035302C 0034FF8C 38 04 00 1F */ addi r0, r4, 0x1f -/* 80353030 0034FF90 54 04 00 34 */ rlwinm r4, r0, 0, 0, 0x1a -/* 80353034 0034FF94 48 02 BA DD */ bl DCFlushRangeNoSync -/* 80353038 0034FF98 48 01 C7 D5 */ bl PPCSync -/* 8035303C 0034FF9C 7F E3 FB 78 */ mr r3, r31 -/* 80353040 0034FFA0 4B FF F7 21 */ bl sub_80352760 -lbl_80353044: -/* 80353044 0034FFA4 80 01 00 84 */ lwz r0, 0x84(r1) -/* 80353048 0034FFA8 83 E1 00 7C */ lwz r31, 0x7c(r1) -/* 8035304C 0034FFAC 83 C1 00 78 */ lwz r30, 0x78(r1) -/* 80353050 0034FFB0 83 A1 00 74 */ lwz r29, 0x74(r1) -/* 80353054 0034FFB4 83 81 00 70 */ lwz r28, 0x70(r1) -/* 80353058 0034FFB8 7C 08 03 A6 */ mtlr r0 -/* 8035305C 0034FFBC 38 21 00 80 */ addi r1, r1, 0x80 -/* 80353060 0034FFC0 4E 80 00 20 */ blr - -.global sub_80353064 -sub_80353064: -/* 80353064 0034FFC4 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 80353068 0034FFC8 7C 08 02 A6 */ mflr r0 -/* 8035306C 0034FFCC 90 01 00 74 */ stw r0, 0x74(r1) -/* 80353070 0034FFD0 93 E1 00 6C */ stw r31, 0x6c(r1) -/* 80353074 0034FFD4 7C 9F 23 78 */ mr r31, r4 -/* 80353078 0034FFD8 93 C1 00 68 */ stw r30, 0x68(r1) -/* 8035307C 0034FFDC 7C 7E 1B 78 */ mr r30, r3 -/* 80353080 0034FFE0 88 03 00 39 */ lbz r0, 0x39(r3) -/* 80353084 0034FFE4 28 00 00 00 */ cmplwi r0, 0 -/* 80353088 0034FFE8 41 82 00 4C */ beq lbl_803530D4 -/* 8035308C 0034FFEC 3C 80 80 5A */ lis r4, lbl_805A6204@ha -/* 80353090 0034FFF0 38 61 00 38 */ addi r3, r1, 0x38 -/* 80353094 0034FFF4 38 84 62 04 */ addi r4, r4, lbl_805A6204@l -/* 80353098 0034FFF8 4B FB FA DD */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8035309C 0034FFFC 80 BE 00 18 */ lwz r5, 0x18(r30) -/* 803530A0 00350000 38 61 00 08 */ addi r3, r1, 8 -/* 803530A4 00350004 38 81 00 38 */ addi r4, r1, 0x38 -/* 803530A8 00350008 80 A5 00 0C */ lwz r5, 0xc(r5) -/* 803530AC 0035000C 38 A5 00 20 */ addi r5, r5, 0x20 -/* 803530B0 00350010 4B FB F8 A1 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 803530B4 00350014 38 61 00 08 */ addi r3, r1, 8 -/* 803530B8 00350018 4B FB 95 29 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f -/* 803530BC 0035001C 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 803530C0 00350020 7F E4 FB 78 */ mr r4, r31 -/* 803530C4 00350024 48 00 2B 11 */ bl Draw__6CModelCFRC11CModelFlags -/* 803530C8 00350028 38 61 00 38 */ addi r3, r1, 0x38 -/* 803530CC 0035002C 4B FB 95 15 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f -/* 803530D0 00350030 48 00 00 38 */ b lbl_80353108 -lbl_803530D4: -/* 803530D4 00350034 80 1E 00 2C */ lwz r0, 0x2c(r30) -/* 803530D8 00350038 28 00 00 00 */ cmplwi r0, 0 -/* 803530DC 0035003C 40 82 00 10 */ bne lbl_803530EC -/* 803530E0 00350040 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 803530E4 00350044 48 00 2A F1 */ bl Draw__6CModelCFRC11CModelFlags -/* 803530E8 00350048 48 00 00 20 */ b lbl_80353108 -lbl_803530EC: -/* 803530EC 0035004C 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 803530F0 00350050 7C 04 03 78 */ mr r4, r0 -/* 803530F4 00350054 80 BE 00 34 */ lwz r5, 0x34(r30) -/* 803530F8 00350058 7F E6 FB 78 */ mr r6, r31 -/* 803530FC 0035005C 48 00 29 4D */ bl Draw__6CModelCFPCfPCfRC11CModelFlags -/* 80353100 00350060 7F C3 F3 78 */ mr r3, r30 -/* 80353104 00350064 4B FF F6 5D */ bl sub_80352760 -lbl_80353108: -/* 80353108 00350068 80 01 00 74 */ lwz r0, 0x74(r1) -/* 8035310C 0035006C 83 E1 00 6C */ lwz r31, 0x6c(r1) -/* 80353110 00350070 83 C1 00 68 */ lwz r30, 0x68(r1) -/* 80353114 00350074 7C 08 03 A6 */ mtlr r0 -/* 80353118 00350078 38 21 00 70 */ addi r1, r1, 0x70 -/* 8035311C 0035007C 4E 80 00 20 */ blr - -.global sub_80353120 -sub_80353120: -/* 80353120 00350080 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80353124 00350084 7C 08 02 A6 */ mflr r0 -/* 80353128 00350088 90 01 00 24 */ stw r0, 0x24(r1) -/* 8035312C 0035008C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80353130 00350090 7C 7F 1B 78 */ mr r31, r3 -/* 80353134 00350094 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80353138 00350098 48 00 04 75 */ bl sub_803535ac -/* 8035313C 0035009C 88 1F 00 38 */ lbz r0, 0x38(r31) -/* 80353140 003500A0 28 00 00 00 */ cmplwi r0, 0 -/* 80353144 003500A4 40 82 01 08 */ bne lbl_8035324C -/* 80353148 003500A8 80 DF 00 18 */ lwz r6, 0x18(r31) -/* 8035314C 003500AC 3C 60 80 3E */ lis r3, lbl_803D82F8@ha -/* 80353150 003500B0 38 83 82 F8 */ addi r4, r3, lbl_803D82F8@l -/* 80353154 003500B4 38 A0 00 00 */ li r5, 0 -/* 80353158 003500B8 80 06 00 10 */ lwz r0, 0x10(r6) -/* 8035315C 003500BC 83 C6 00 14 */ lwz r30, 0x14(r6) -/* 80353160 003500C0 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80353164 003500C4 54 03 10 3A */ slwi r3, r0, 2 -/* 80353168 003500C8 4B FC 26 B1 */ bl __nwa__FUlPCcPCc -/* 8035316C 003500CC 7C 03 00 D0 */ neg r0, r3 -/* 80353170 003500D0 38 81 00 10 */ addi r4, r1, 0x10 -/* 80353174 003500D4 7C 05 1B 78 */ or r5, r0, r3 -/* 80353178 003500D8 38 1F 00 28 */ addi r0, r31, 0x28 -/* 8035317C 003500DC 54 A5 0F FE */ srwi r5, r5, 0x1f -/* 80353180 003500E0 90 61 00 14 */ stw r3, 0x14(r1) -/* 80353184 003500E4 7C 04 00 40 */ cmplw r4, r0 -/* 80353188 003500E8 98 A1 00 10 */ stb r5, 0x10(r1) -/* 8035318C 003500EC 41 82 00 30 */ beq lbl_803531BC -/* 80353190 003500F0 88 1F 00 28 */ lbz r0, 0x28(r31) -/* 80353194 003500F4 28 00 00 00 */ cmplwi r0, 0 -/* 80353198 003500F8 41 82 00 0C */ beq lbl_803531A4 -/* 8035319C 003500FC 80 7F 00 2C */ lwz r3, 0x2c(r31) -/* 803531A0 00350100 4B FC 27 91 */ bl Free__7CMemoryFPCv -lbl_803531A4: -/* 803531A4 00350104 88 61 00 10 */ lbz r3, 0x10(r1) -/* 803531A8 00350108 38 00 00 00 */ li r0, 0 -/* 803531AC 0035010C 98 7F 00 28 */ stb r3, 0x28(r31) -/* 803531B0 00350110 80 61 00 14 */ lwz r3, 0x14(r1) -/* 803531B4 00350114 90 7F 00 2C */ stw r3, 0x2c(r31) -/* 803531B8 00350118 98 01 00 10 */ stb r0, 0x10(r1) -lbl_803531BC: -/* 803531BC 0035011C 88 01 00 10 */ lbz r0, 0x10(r1) -/* 803531C0 00350120 28 00 00 00 */ cmplwi r0, 0 -/* 803531C4 00350124 41 82 00 0C */ beq lbl_803531D0 -/* 803531C8 00350128 80 61 00 14 */ lwz r3, 0x14(r1) -/* 803531CC 0035012C 4B FC 27 65 */ bl Free__7CMemoryFPCv -lbl_803531D0: -/* 803531D0 00350130 1C 1E 00 0C */ mulli r0, r30, 0xc -/* 803531D4 00350134 3C 60 80 3E */ lis r3, lbl_803D82F8@ha -/* 803531D8 00350138 38 A0 00 00 */ li r5, 0 -/* 803531DC 0035013C 38 83 82 F8 */ addi r4, r3, lbl_803D82F8@l -/* 803531E0 00350140 54 03 10 3A */ slwi r3, r0, 2 -/* 803531E4 00350144 4B FC 26 35 */ bl __nwa__FUlPCcPCc -/* 803531E8 00350148 7C 03 00 D0 */ neg r0, r3 -/* 803531EC 0035014C 38 81 00 08 */ addi r4, r1, 8 -/* 803531F0 00350150 7C 05 1B 78 */ or r5, r0, r3 -/* 803531F4 00350154 38 1F 00 30 */ addi r0, r31, 0x30 -/* 803531F8 00350158 54 A5 0F FE */ srwi r5, r5, 0x1f -/* 803531FC 0035015C 90 61 00 0C */ stw r3, 0xc(r1) -/* 80353200 00350160 7C 04 00 40 */ cmplw r4, r0 -/* 80353204 00350164 98 A1 00 08 */ stb r5, 8(r1) -/* 80353208 00350168 41 82 00 30 */ beq lbl_80353238 -/* 8035320C 0035016C 88 1F 00 30 */ lbz r0, 0x30(r31) -/* 80353210 00350170 28 00 00 00 */ cmplwi r0, 0 -/* 80353214 00350174 41 82 00 0C */ beq lbl_80353220 -/* 80353218 00350178 80 7F 00 34 */ lwz r3, 0x34(r31) -/* 8035321C 0035017C 4B FC 27 15 */ bl Free__7CMemoryFPCv -lbl_80353220: -/* 80353220 00350180 88 61 00 08 */ lbz r3, 8(r1) -/* 80353224 00350184 38 00 00 00 */ li r0, 0 -/* 80353228 00350188 98 7F 00 30 */ stb r3, 0x30(r31) -/* 8035322C 0035018C 80 61 00 0C */ lwz r3, 0xc(r1) -/* 80353230 00350190 90 7F 00 34 */ stw r3, 0x34(r31) -/* 80353234 00350194 98 01 00 08 */ stb r0, 8(r1) -lbl_80353238: -/* 80353238 00350198 88 01 00 08 */ lbz r0, 8(r1) -/* 8035323C 0035019C 28 00 00 00 */ cmplwi r0, 0 -/* 80353240 003501A0 41 82 00 0C */ beq lbl_8035324C -/* 80353244 003501A4 80 61 00 0C */ lwz r3, 0xc(r1) -/* 80353248 003501A8 4B FC 26 E9 */ bl Free__7CMemoryFPCv -lbl_8035324C: -/* 8035324C 003501AC 80 7F 00 18 */ lwz r3, 0x18(r31) -/* 80353250 003501B0 80 03 00 04 */ lwz r0, 4(r3) -/* 80353254 003501B4 2C 00 00 01 */ cmpwi r0, 1 -/* 80353258 003501B8 40 82 00 0C */ bne lbl_80353264 -/* 8035325C 003501BC 38 00 00 01 */ li r0, 1 -/* 80353260 003501C0 98 1F 00 39 */ stb r0, 0x39(r31) -lbl_80353264: -/* 80353264 003501C4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80353268 003501C8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8035326C 003501CC 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80353270 003501D0 7C 08 03 A6 */ mtlr r0 -/* 80353274 003501D4 38 21 00 20 */ addi r1, r1, 0x20 -/* 80353278 003501D8 4E 80 00 20 */ blr - -.global __dt__13CSkinnedModelFv -__dt__13CSkinnedModelFv: -/* 8035327C 003501DC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80353280 003501E0 7C 08 02 A6 */ mflr r0 -/* 80353284 003501E4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80353288 003501E8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8035328C 003501EC 7C 9F 23 78 */ mr r31, r4 -/* 80353290 003501F0 93 C1 00 08 */ stw r30, 8(r1) -/* 80353294 003501F4 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80353298 003501F8 41 82 00 B0 */ beq lbl_80353348 -/* 8035329C 003501FC 3C 60 80 3F */ lis r3, lbl_803EF718@ha -/* 803532A0 00350200 38 03 F7 18 */ addi r0, r3, lbl_803EF718@l -/* 803532A4 00350204 90 1E 00 00 */ stw r0, 0(r30) -/* 803532A8 00350208 48 00 02 65 */ bl sub_8035350c -/* 803532AC 0035020C 34 1E 00 30 */ addic. r0, r30, 0x30 -/* 803532B0 00350210 41 82 00 18 */ beq lbl_803532C8 -/* 803532B4 00350214 88 1E 00 30 */ lbz r0, 0x30(r30) -/* 803532B8 00350218 28 00 00 00 */ cmplwi r0, 0 -/* 803532BC 0035021C 41 82 00 0C */ beq lbl_803532C8 -/* 803532C0 00350220 80 7E 00 34 */ lwz r3, 0x34(r30) -/* 803532C4 00350224 4B FC 26 6D */ bl Free__7CMemoryFPCv -lbl_803532C8: -/* 803532C8 00350228 34 1E 00 28 */ addic. r0, r30, 0x28 -/* 803532CC 0035022C 41 82 00 18 */ beq lbl_803532E4 -/* 803532D0 00350230 88 1E 00 28 */ lbz r0, 0x28(r30) -/* 803532D4 00350234 28 00 00 00 */ cmplwi r0, 0 -/* 803532D8 00350238 41 82 00 0C */ beq lbl_803532E4 -/* 803532DC 0035023C 80 7E 00 2C */ lwz r3, 0x2c(r30) -/* 803532E0 00350240 4B FC 26 51 */ bl Free__7CMemoryFPCv -lbl_803532E4: -/* 803532E4 00350244 34 1E 00 1C */ addic. r0, r30, 0x1c -/* 803532E8 00350248 41 82 00 18 */ beq lbl_80353300 -/* 803532EC 0035024C 34 1E 00 1C */ addic. r0, r30, 0x1c -/* 803532F0 00350250 41 82 00 10 */ beq lbl_80353300 -/* 803532F4 00350254 38 7E 00 1C */ addi r3, r30, 0x1c -/* 803532F8 00350258 38 80 00 00 */ li r4, 0 -/* 803532FC 0035025C 4B FE DB 45 */ bl __dt__6CTokenFv -lbl_80353300: -/* 80353300 00350260 34 1E 00 10 */ addic. r0, r30, 0x10 -/* 80353304 00350264 41 82 00 18 */ beq lbl_8035331C -/* 80353308 00350268 34 1E 00 10 */ addic. r0, r30, 0x10 -/* 8035330C 0035026C 41 82 00 10 */ beq lbl_8035331C -/* 80353310 00350270 38 7E 00 10 */ addi r3, r30, 0x10 -/* 80353314 00350274 38 80 00 00 */ li r4, 0 -/* 80353318 00350278 4B FE DB 29 */ bl __dt__6CTokenFv -lbl_8035331C: -/* 8035331C 0035027C 34 1E 00 04 */ addic. r0, r30, 4 -/* 80353320 00350280 41 82 00 18 */ beq lbl_80353338 -/* 80353324 00350284 34 1E 00 04 */ addic. r0, r30, 4 -/* 80353328 00350288 41 82 00 10 */ beq lbl_80353338 -/* 8035332C 0035028C 38 7E 00 04 */ addi r3, r30, 4 -/* 80353330 00350290 38 80 00 00 */ li r4, 0 -/* 80353334 00350294 4B FE DB 0D */ bl __dt__6CTokenFv -lbl_80353338: -/* 80353338 00350298 7F E0 07 35 */ extsh. r0, r31 -/* 8035333C 0035029C 40 81 00 0C */ ble lbl_80353348 -/* 80353340 003502A0 7F C3 F3 78 */ mr r3, r30 -/* 80353344 003502A4 4B FC 25 ED */ bl Free__7CMemoryFPCv -lbl_80353348: -/* 80353348 003502A8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8035334C 003502AC 7F C3 F3 78 */ mr r3, r30 -/* 80353350 003502B0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80353354 003502B4 83 C1 00 08 */ lwz r30, 8(r1) -/* 80353358 003502B8 7C 08 03 A6 */ mtlr r0 -/* 8035335C 003502BC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80353360 003502C0 4E 80 00 20 */ blr - -.global __ct__13CSkinnedModelFRC13CSkinnedModel -__ct__13CSkinnedModelFRC13CSkinnedModel: -/* 80353364 003502C4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80353368 003502C8 7C 08 02 A6 */ mflr r0 -/* 8035336C 003502CC 3C A0 80 3F */ lis r5, lbl_803EF718@ha -/* 80353370 003502D0 90 01 00 24 */ stw r0, 0x24(r1) -/* 80353374 003502D4 38 05 F7 18 */ addi r0, r5, lbl_803EF718@l -/* 80353378 003502D8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8035337C 003502DC 7C 9F 23 78 */ mr r31, r4 -/* 80353380 003502E0 38 9F 00 04 */ addi r4, r31, 4 -/* 80353384 003502E4 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80353388 003502E8 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8035338C 003502EC 7C 7D 1B 78 */ mr r29, r3 -/* 80353390 003502F0 3B DD 00 04 */ addi r30, r29, 4 -/* 80353394 003502F4 90 03 00 00 */ stw r0, 0(r3) -/* 80353398 003502F8 7F C3 F3 78 */ mr r3, r30 -/* 8035339C 003502FC 4B FE DB 0D */ bl __ct__6CTokenFRC6CToken -/* 803533A0 00350300 80 1F 00 0C */ lwz r0, 0xc(r31) -/* 803533A4 00350304 7F C3 F3 78 */ mr r3, r30 -/* 803533A8 00350308 90 1E 00 08 */ stw r0, 8(r30) -/* 803533AC 0035030C 4B FE D9 D9 */ bl Lock__6CTokenFv -/* 803533B0 00350310 3B DD 00 10 */ addi r30, r29, 0x10 -/* 803533B4 00350314 38 9F 00 10 */ addi r4, r31, 0x10 -/* 803533B8 00350318 7F C3 F3 78 */ mr r3, r30 -/* 803533BC 0035031C 4B FE DA ED */ bl __ct__6CTokenFRC6CToken -/* 803533C0 00350320 80 1F 00 18 */ lwz r0, 0x18(r31) -/* 803533C4 00350324 7F C3 F3 78 */ mr r3, r30 -/* 803533C8 00350328 90 1E 00 08 */ stw r0, 8(r30) -/* 803533CC 0035032C 4B FE D9 B9 */ bl Lock__6CTokenFv -/* 803533D0 00350330 3B DD 00 1C */ addi r30, r29, 0x1c -/* 803533D4 00350334 38 9F 00 1C */ addi r4, r31, 0x1c -/* 803533D8 00350338 7F C3 F3 78 */ mr r3, r30 -/* 803533DC 0035033C 4B FE DA CD */ bl __ct__6CTokenFRC6CToken -/* 803533E0 00350340 80 1F 00 24 */ lwz r0, 0x24(r31) -/* 803533E4 00350344 7F C3 F3 78 */ mr r3, r30 -/* 803533E8 00350348 90 1E 00 08 */ stw r0, 8(r30) -/* 803533EC 0035034C 4B FE D9 99 */ bl Lock__6CTokenFv -/* 803533F0 00350350 38 80 00 00 */ li r4, 0 -/* 803533F4 00350354 7F A3 EB 78 */ mr r3, r29 -/* 803533F8 00350358 98 9D 00 28 */ stb r4, 0x28(r29) -/* 803533FC 0035035C 90 9D 00 2C */ stw r4, 0x2c(r29) -/* 80353400 00350360 98 9D 00 30 */ stb r4, 0x30(r29) -/* 80353404 00350364 90 9D 00 34 */ stw r4, 0x34(r29) -/* 80353408 00350368 88 1F 00 38 */ lbz r0, 0x38(r31) -/* 8035340C 0035036C 98 1D 00 38 */ stb r0, 0x38(r29) -/* 80353410 00350370 98 9D 00 39 */ stb r4, 0x39(r29) -/* 80353414 00350374 4B FF FD 0D */ bl sub_80353120 -/* 80353418 00350378 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8035341C 0035037C 7F A3 EB 78 */ mr r3, r29 -/* 80353420 00350380 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80353424 00350384 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80353428 00350388 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8035342C 0035038C 7C 08 03 A6 */ mtlr r0 -/* 80353430 00350390 38 21 00 20 */ addi r1, r1, 0x20 -/* 80353434 00350394 4E 80 00 20 */ blr - -.global "__ct__13CSkinnedModelFRC21TLockedToken<6CModel>RC26TLockedToken<10CSkinRules>RC31TLockedToken<15CCharLayoutInfo>Q213CSkinnedModel14EDataOwnership" -"__ct__13CSkinnedModelFRC21TLockedToken<6CModel>RC26TLockedToken<10CSkinRules>RC31TLockedToken<15CCharLayoutInfo>Q213CSkinnedModel14EDataOwnership": -/* 80353438 00350398 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8035343C 0035039C 7C 08 02 A6 */ mflr r0 -/* 80353440 003503A0 3D 00 80 3F */ lis r8, lbl_803EF718@ha -/* 80353444 003503A4 90 01 00 24 */ stw r0, 0x24(r1) -/* 80353448 003503A8 38 08 F7 18 */ addi r0, r8, lbl_803EF718@l -/* 8035344C 003503AC BF 41 00 08 */ stmw r26, 8(r1) -/* 80353450 003503B0 7C 7A 1B 78 */ mr r26, r3 -/* 80353454 003503B4 3B 7A 00 04 */ addi r27, r26, 4 -/* 80353458 003503B8 7C 9C 23 78 */ mr r28, r4 -/* 8035345C 003503BC 7C BD 2B 78 */ mr r29, r5 -/* 80353460 003503C0 7C DE 33 78 */ mr r30, r6 -/* 80353464 003503C4 7C FF 3B 78 */ mr r31, r7 -/* 80353468 003503C8 90 03 00 00 */ stw r0, 0(r3) -/* 8035346C 003503CC 7F 63 DB 78 */ mr r3, r27 -/* 80353470 003503D0 4B FE DA 39 */ bl __ct__6CTokenFRC6CToken -/* 80353474 003503D4 80 1C 00 08 */ lwz r0, 8(r28) -/* 80353478 003503D8 7F 63 DB 78 */ mr r3, r27 -/* 8035347C 003503DC 90 1B 00 08 */ stw r0, 8(r27) -/* 80353480 003503E0 4B FE D9 05 */ bl Lock__6CTokenFv -/* 80353484 003503E4 3B 7A 00 10 */ addi r27, r26, 0x10 -/* 80353488 003503E8 7F A4 EB 78 */ mr r4, r29 -/* 8035348C 003503EC 7F 63 DB 78 */ mr r3, r27 -/* 80353490 003503F0 4B FE DA 19 */ bl __ct__6CTokenFRC6CToken -/* 80353494 003503F4 80 1D 00 08 */ lwz r0, 8(r29) -/* 80353498 003503F8 7F 63 DB 78 */ mr r3, r27 -/* 8035349C 003503FC 90 1B 00 08 */ stw r0, 8(r27) -/* 803534A0 00350400 4B FE D8 E5 */ bl Lock__6CTokenFv -/* 803534A4 00350404 3B 7A 00 1C */ addi r27, r26, 0x1c -/* 803534A8 00350408 7F C4 F3 78 */ mr r4, r30 -/* 803534AC 0035040C 7F 63 DB 78 */ mr r3, r27 -/* 803534B0 00350410 4B FE D9 F9 */ bl __ct__6CTokenFRC6CToken -/* 803534B4 00350414 80 1E 00 08 */ lwz r0, 8(r30) -/* 803534B8 00350418 7F 63 DB 78 */ mr r3, r27 -/* 803534BC 0035041C 90 1B 00 08 */ stw r0, 8(r27) -/* 803534C0 00350420 4B FE D8 C5 */ bl Lock__6CTokenFv -/* 803534C4 00350424 38 80 00 00 */ li r4, 0 -/* 803534C8 00350428 20 1F 00 01 */ subfic r0, r31, 1 -/* 803534CC 0035042C 98 9A 00 28 */ stb r4, 0x28(r26) -/* 803534D0 00350430 7C 00 00 34 */ cntlzw r0, r0 -/* 803534D4 00350434 54 00 D9 7E */ srwi r0, r0, 5 -/* 803534D8 00350438 7F 43 D3 78 */ mr r3, r26 -/* 803534DC 0035043C 90 9A 00 2C */ stw r4, 0x2c(r26) -/* 803534E0 00350440 98 9A 00 30 */ stb r4, 0x30(r26) -/* 803534E4 00350444 90 9A 00 34 */ stw r4, 0x34(r26) -/* 803534E8 00350448 98 1A 00 38 */ stb r0, 0x38(r26) -/* 803534EC 0035044C 98 9A 00 39 */ stb r4, 0x39(r26) -/* 803534F0 00350450 4B FF FC 31 */ bl sub_80353120 -/* 803534F4 00350454 7F 43 D3 78 */ mr r3, r26 -/* 803534F8 00350458 BB 41 00 08 */ lmw r26, 8(r1) -/* 803534FC 0035045C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80353500 00350460 7C 08 03 A6 */ mtlr r0 -/* 80353504 00350464 38 21 00 20 */ addi r1, r1, 0x20 -/* 80353508 00350468 4E 80 00 20 */ blr - -.global sub_8035350c -sub_8035350c: -/* 8035350C 0035046C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80353510 00350470 7C 08 02 A6 */ mflr r0 -/* 80353514 00350474 90 01 00 14 */ stw r0, 0x14(r1) -/* 80353518 00350478 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8035351C 0035047C 93 C1 00 08 */ stw r30, 8(r1) -/* 80353520 00350480 80 6D AA 3C */ lwz r3, lbl_805A95FC@sda21(r13) -/* 80353524 00350484 34 03 FF FF */ addic. r0, r3, -1 -/* 80353528 00350488 90 0D AA 3C */ stw r0, lbl_805A95FC@sda21(r13) -/* 8035352C 0035048C 40 82 00 68 */ bne lbl_80353594 -/* 80353530 00350490 3C 60 80 54 */ lis r3, lbl_8053FFCC@ha -/* 80353534 00350494 3B C3 FF CC */ addi r30, r3, lbl_8053FFCC@l -/* 80353538 00350498 88 1E 00 18 */ lbz r0, 0x18(r30) -/* 8035353C 0035049C 28 00 00 00 */ cmplwi r0, 0 -/* 80353540 003504A0 41 82 00 24 */ beq lbl_80353564 -/* 80353544 003504A4 28 1E 00 00 */ cmplwi r30, 0 -/* 80353548 003504A8 41 82 00 1C */ beq lbl_80353564 -/* 8035354C 003504AC 41 82 00 18 */ beq lbl_80353564 -/* 80353550 003504B0 88 1E 00 00 */ lbz r0, 0(r30) -/* 80353554 003504B4 28 00 00 00 */ cmplwi r0, 0 -/* 80353558 003504B8 41 82 00 0C */ beq lbl_80353564 -/* 8035355C 003504BC 80 7E 00 04 */ lwz r3, 4(r30) -/* 80353560 003504C0 4B FC 23 D1 */ bl Free__7CMemoryFPCv -lbl_80353564: -/* 80353564 003504C4 3C 60 80 54 */ lis r3, lbl_8053FFF4@ha -/* 80353568 003504C8 38 00 00 00 */ li r0, 0 -/* 8035356C 003504CC 3B E3 FF F4 */ addi r31, r3, lbl_8053FFF4@l -/* 80353570 003504D0 98 1E 00 18 */ stb r0, 0x18(r30) -/* 80353574 003504D4 83 DF 00 08 */ lwz r30, 8(r31) -/* 80353578 003504D8 80 9F 00 04 */ lwz r4, 4(r31) -/* 8035357C 003504DC 48 00 00 10 */ b lbl_8035358C -lbl_80353580: -/* 80353580 003504E0 7F E3 FB 78 */ mr r3, r31 -/* 80353584 003504E4 48 00 01 7D */ bl sub_80353700 -/* 80353588 003504E8 7C 64 1B 78 */ mr r4, r3 -lbl_8035358C: -/* 8035358C 003504EC 7C 04 F0 40 */ cmplw r4, r30 -/* 80353590 003504F0 40 82 FF F0 */ bne lbl_80353580 -lbl_80353594: -/* 80353594 003504F4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80353598 003504F8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8035359C 003504FC 83 C1 00 08 */ lwz r30, 8(r1) -/* 803535A0 00350500 7C 08 03 A6 */ mtlr r0 -/* 803535A4 00350504 38 21 00 10 */ addi r1, r1, 0x10 -/* 803535A8 00350508 4E 80 00 20 */ blr - -.global sub_803535ac -sub_803535ac: -/* 803535AC 0035050C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 803535B0 00350510 7C 08 02 A6 */ mflr r0 -/* 803535B4 00350514 90 01 00 34 */ stw r0, 0x34(r1) -/* 803535B8 00350518 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 803535BC 0035051C 88 0D AA 40 */ lbz r0, lbl_805A9600@sda21(r13) -/* 803535C0 00350520 28 00 00 00 */ cmplwi r0, 0 -/* 803535C4 00350524 40 82 00 2C */ bne lbl_803535F0 -/* 803535C8 00350528 3C 60 00 01 */ lis r3, 0x0000FFFF@ha -/* 803535CC 0035052C 38 63 FF FF */ addi r3, r3, 0x0000FFFF@l -/* 803535D0 00350530 48 02 4E 51 */ bl GXSetDrawSync -lbl_803535D4: -/* 803535D4 00350534 48 02 4F 05 */ bl GXReadDrawSync -/* 803535D8 00350538 54 60 04 3E */ clrlwi r0, r3, 0x10 -/* 803535DC 0035053C 28 00 FF FF */ cmplwi r0, 0xffff -/* 803535E0 00350540 40 82 FF F4 */ bne lbl_803535D4 -/* 803535E4 00350544 38 00 00 01 */ li r0, 1 -/* 803535E8 00350548 B0 0D AA 38 */ sth r0, lbl_805A95F8@sda21(r13) -/* 803535EC 0035054C 98 0D AA 40 */ stb r0, lbl_805A9600@sda21(r13) -lbl_803535F0: -/* 803535F0 00350550 80 0D AA 3C */ lwz r0, lbl_805A95FC@sda21(r13) -/* 803535F4 00350554 2C 00 00 00 */ cmpwi r0, 0 -/* 803535F8 00350558 40 82 00 E8 */ bne lbl_803536E0 -/* 803535FC 0035055C 3C 80 80 4C */ lis r4, lbl_804BFFC0@ha -/* 80353600 00350560 38 61 00 08 */ addi r3, r1, 8 -/* 80353604 00350564 38 84 FF C0 */ addi r4, r4, lbl_804BFFC0@l -/* 80353608 00350568 3C A0 00 08 */ lis r5, 8 -/* 8035360C 0035056C 38 C0 00 01 */ li r6, 1 -/* 80353610 00350570 4B FC 21 CD */ bl __ct__15CCircularBufferFPviQ215CCircularBuffer10EOwnership -/* 80353614 00350574 3C 60 80 54 */ lis r3, lbl_8053FFCC@ha -/* 80353618 00350578 3B E3 FF CC */ addi r31, r3, lbl_8053FFCC@l -/* 8035361C 0035057C 88 1F 00 18 */ lbz r0, 0x18(r31) -/* 80353620 00350580 28 00 00 00 */ cmplwi r0, 0 -/* 80353624 00350584 40 82 00 50 */ bne lbl_80353674 -/* 80353628 00350588 28 1F 00 00 */ cmplwi r31, 0 -/* 8035362C 0035058C 41 82 00 3C */ beq lbl_80353668 -/* 80353630 00350590 89 01 00 08 */ lbz r8, 8(r1) -/* 80353634 00350594 38 C0 00 00 */ li r6, 0 -/* 80353638 00350598 80 E1 00 0C */ lwz r7, 0xc(r1) -/* 8035363C 0035059C 80 A1 00 10 */ lwz r5, 0x10(r1) -/* 80353640 003505A0 80 81 00 14 */ lwz r4, 0x14(r1) -/* 80353644 003505A4 80 61 00 18 */ lwz r3, 0x18(r1) -/* 80353648 003505A8 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 8035364C 003505AC 99 1F 00 00 */ stb r8, 0(r31) -/* 80353650 003505B0 90 FF 00 04 */ stw r7, 4(r31) -/* 80353654 003505B4 98 C1 00 08 */ stb r6, 8(r1) -/* 80353658 003505B8 90 BF 00 08 */ stw r5, 8(r31) -/* 8035365C 003505BC 90 9F 00 0C */ stw r4, 0xc(r31) -/* 80353660 003505C0 90 7F 00 10 */ stw r3, 0x10(r31) -/* 80353664 003505C4 90 1F 00 14 */ stw r0, 0x14(r31) -lbl_80353668: -/* 80353668 003505C8 38 00 00 01 */ li r0, 1 -/* 8035366C 003505CC 98 1F 00 18 */ stb r0, 0x18(r31) -/* 80353670 003505D0 48 00 00 5C */ b lbl_803536CC -lbl_80353674: -/* 80353674 003505D4 38 01 00 08 */ addi r0, r1, 8 -/* 80353678 003505D8 7C 00 F8 40 */ cmplw r0, r31 -/* 8035367C 003505DC 41 82 00 30 */ beq lbl_803536AC -/* 80353680 003505E0 88 1F 00 00 */ lbz r0, 0(r31) -/* 80353684 003505E4 28 00 00 00 */ cmplwi r0, 0 -/* 80353688 003505E8 41 82 00 0C */ beq lbl_80353694 -/* 8035368C 003505EC 80 7F 00 04 */ lwz r3, 4(r31) -/* 80353690 003505F0 4B FC 22 A1 */ bl Free__7CMemoryFPCv -lbl_80353694: -/* 80353694 003505F4 88 81 00 08 */ lbz r4, 8(r1) -/* 80353698 003505F8 38 00 00 00 */ li r0, 0 -/* 8035369C 003505FC 80 61 00 0C */ lwz r3, 0xc(r1) -/* 803536A0 00350600 98 9F 00 00 */ stb r4, 0(r31) -/* 803536A4 00350604 90 7F 00 04 */ stw r3, 4(r31) -/* 803536A8 00350608 98 01 00 08 */ stb r0, 8(r1) -lbl_803536AC: -/* 803536AC 0035060C 80 A1 00 10 */ lwz r5, 0x10(r1) -/* 803536B0 00350610 80 81 00 14 */ lwz r4, 0x14(r1) -/* 803536B4 00350614 80 61 00 18 */ lwz r3, 0x18(r1) -/* 803536B8 00350618 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 803536BC 0035061C 90 BF 00 08 */ stw r5, 8(r31) -/* 803536C0 00350620 90 9F 00 0C */ stw r4, 0xc(r31) -/* 803536C4 00350624 90 7F 00 10 */ stw r3, 0x10(r31) -/* 803536C8 00350628 90 1F 00 14 */ stw r0, 0x14(r31) -lbl_803536CC: -/* 803536CC 0035062C 88 01 00 08 */ lbz r0, 8(r1) -/* 803536D0 00350630 28 00 00 00 */ cmplwi r0, 0 -/* 803536D4 00350634 41 82 00 0C */ beq lbl_803536E0 -/* 803536D8 00350638 80 61 00 0C */ lwz r3, 0xc(r1) -/* 803536DC 0035063C 4B FC 22 55 */ bl Free__7CMemoryFPCv -lbl_803536E0: -/* 803536E0 00350640 80 6D AA 3C */ lwz r3, lbl_805A95FC@sda21(r13) -/* 803536E4 00350644 38 03 00 01 */ addi r0, r3, 1 -/* 803536E8 00350648 90 0D AA 3C */ stw r0, lbl_805A95FC@sda21(r13) -/* 803536EC 0035064C 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 803536F0 00350650 80 01 00 34 */ lwz r0, 0x34(r1) -/* 803536F4 00350654 7C 08 03 A6 */ mtlr r0 -/* 803536F8 00350658 38 21 00 30 */ addi r1, r1, 0x30 -/* 803536FC 0035065C 4E 80 00 20 */ blr - -.global sub_80353700 -sub_80353700: -/* 80353700 00350660 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80353704 00350664 7C 08 02 A6 */ mflr r0 -/* 80353708 00350668 90 01 00 14 */ stw r0, 0x14(r1) -/* 8035370C 0035066C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80353710 00350670 93 C1 00 08 */ stw r30, 8(r1) -/* 80353714 00350674 7C 7E 1B 78 */ mr r30, r3 -/* 80353718 00350678 80 03 00 04 */ lwz r0, 4(r3) -/* 8035371C 0035067C 83 E4 00 04 */ lwz r31, 4(r4) -/* 80353720 00350680 7C 04 00 40 */ cmplw r4, r0 -/* 80353724 00350684 40 82 00 08 */ bne lbl_8035372C -/* 80353728 00350688 93 FE 00 04 */ stw r31, 4(r30) -lbl_8035372C: -/* 8035372C 0035068C 80 04 00 04 */ lwz r0, 4(r4) -/* 80353730 00350690 28 04 00 00 */ cmplwi r4, 0 -/* 80353734 00350694 80 64 00 00 */ lwz r3, 0(r4) -/* 80353738 00350698 90 03 00 04 */ stw r0, 4(r3) -/* 8035373C 0035069C 80 04 00 00 */ lwz r0, 0(r4) -/* 80353740 003506A0 80 64 00 04 */ lwz r3, 4(r4) -/* 80353744 003506A4 90 03 00 00 */ stw r0, 0(r3) -/* 80353748 003506A8 41 82 00 0C */ beq lbl_80353754 -/* 8035374C 003506AC 7C 83 23 78 */ mr r3, r4 -/* 80353750 003506B0 4B FC 21 E1 */ bl Free__7CMemoryFPCv -lbl_80353754: -/* 80353754 003506B4 80 9E 00 14 */ lwz r4, 0x14(r30) -/* 80353758 003506B8 7F E3 FB 78 */ mr r3, r31 -/* 8035375C 003506BC 38 04 FF FF */ addi r0, r4, -1 -/* 80353760 003506C0 90 1E 00 14 */ stw r0, 0x14(r30) -/* 80353764 003506C4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80353768 003506C8 83 C1 00 08 */ lwz r30, 8(r1) -/* 8035376C 003506CC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80353770 003506D0 7C 08 03 A6 */ mtlr r0 -/* 80353774 003506D4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80353778 003506D8 4E 80 00 20 */ blr - -.global __sinit_DolphinCSkinnedModel_cpp -__sinit_DolphinCSkinnedModel_cpp: -/* 8035377C 003506DC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80353780 003506E0 7C 08 02 A6 */ mflr r0 -/* 80353784 003506E4 3C 80 80 4C */ lis r4, lbl_804BFFC0@ha -/* 80353788 003506E8 3C 60 80 35 */ lis r3, "__dt__Q24rstl34optional_object<15CCircularBuffer>Fv"@ha -/* 8035378C 003506EC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80353790 003506F0 38 84 FF C0 */ addi r4, r4, lbl_804BFFC0@l -/* 80353794 003506F4 38 00 00 00 */ li r0, 0 -/* 80353798 003506F8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8035379C 003506FC 3F E4 00 08 */ addis r31, r4, 8 -/* 803537A0 00350700 38 83 38 74 */ addi r4, r3, "__dt__Q24rstl34optional_object<15CCircularBuffer>Fv"@l -/* 803537A4 00350704 38 7F 00 0C */ addi r3, r31, 0xc -/* 803537A8 00350708 38 BF 00 00 */ addi r5, r31, 0 -/* 803537AC 0035070C 98 03 00 18 */ stb r0, 0x18(r3) -/* 803537B0 00350710 48 03 5E DD */ bl __register_global_object -/* 803537B4 00350714 38 DF 00 34 */ addi r6, r31, 0x34 -/* 803537B8 00350718 3C 80 80 35 */ lis r4, "__dt__Q24rstl53list<18SSkinnedAllocation,Q24rstl17rmemory_allocator>Fv"@ha -/* 803537BC 0035071C 7C C3 33 78 */ mr r3, r6 -/* 803537C0 00350720 38 00 00 00 */ li r0, 0 -/* 803537C4 00350724 38 C6 00 0C */ addi r6, r6, 0xc -/* 803537C8 00350728 90 03 00 14 */ stw r0, 0x14(r3) -/* 803537CC 0035072C 38 84 37 FC */ addi r4, r4, "__dt__Q24rstl53list<18SSkinnedAllocation,Q24rstl17rmemory_allocator>Fv"@l -/* 803537D0 00350730 38 BF 00 28 */ addi r5, r31, 0x28 -/* 803537D4 00350734 90 C3 00 04 */ stw r6, 4(r3) -/* 803537D8 00350738 90 C3 00 08 */ stw r6, 8(r3) -/* 803537DC 0035073C 90 C6 00 00 */ stw r6, 0(r6) -/* 803537E0 00350740 90 C3 00 10 */ stw r6, 0x10(r3) -/* 803537E4 00350744 48 03 5E A9 */ bl __register_global_object -/* 803537E8 00350748 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803537EC 0035074C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 803537F0 00350750 7C 08 03 A6 */ mtlr r0 -/* 803537F4 00350754 38 21 00 10 */ addi r1, r1, 0x10 -/* 803537F8 00350758 4E 80 00 20 */ blr - -.global "__dt__Q24rstl53list<18SSkinnedAllocation,Q24rstl17rmemory_allocator>Fv" -"__dt__Q24rstl53list<18SSkinnedAllocation,Q24rstl17rmemory_allocator>Fv": -/* 803537FC 0035075C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80353800 00350760 7C 08 02 A6 */ mflr r0 -/* 80353804 00350764 90 01 00 24 */ stw r0, 0x24(r1) -/* 80353808 00350768 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8035380C 0035076C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80353810 00350770 7C 9E 23 78 */ mr r30, r4 -/* 80353814 00350774 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80353818 00350778 7C 7D 1B 79 */ or. r29, r3, r3 -/* 8035381C 0035077C 41 82 00 38 */ beq lbl_80353854 -/* 80353820 00350780 83 FD 00 04 */ lwz r31, 4(r29) -/* 80353824 00350784 48 00 00 14 */ b lbl_80353838 -lbl_80353828: -/* 80353828 00350788 7F E3 FB 79 */ or. r3, r31, r31 -/* 8035382C 0035078C 83 FF 00 04 */ lwz r31, 4(r31) -/* 80353830 00350790 41 82 00 08 */ beq lbl_80353838 -/* 80353834 00350794 4B FC 20 FD */ bl Free__7CMemoryFPCv -lbl_80353838: -/* 80353838 00350798 80 1D 00 08 */ lwz r0, 8(r29) -/* 8035383C 0035079C 7C 1F 00 40 */ cmplw r31, r0 -/* 80353840 003507A0 40 82 FF E8 */ bne lbl_80353828 -/* 80353844 003507A4 7F C0 07 35 */ extsh. r0, r30 -/* 80353848 003507A8 40 81 00 0C */ ble lbl_80353854 -/* 8035384C 003507AC 7F A3 EB 78 */ mr r3, r29 -/* 80353850 003507B0 4B FC 20 E1 */ bl Free__7CMemoryFPCv -lbl_80353854: -/* 80353854 003507B4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80353858 003507B8 7F A3 EB 78 */ mr r3, r29 -/* 8035385C 003507BC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80353860 003507C0 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80353864 003507C4 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80353868 003507C8 7C 08 03 A6 */ mtlr r0 -/* 8035386C 003507CC 38 21 00 20 */ addi r1, r1, 0x20 -/* 80353870 003507D0 4E 80 00 20 */ blr - -.global "__dt__Q24rstl34optional_object<15CCircularBuffer>Fv" -"__dt__Q24rstl34optional_object<15CCircularBuffer>Fv": -/* 80353874 003507D4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80353878 003507D8 7C 08 02 A6 */ mflr r0 -/* 8035387C 003507DC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80353880 003507E0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80353884 003507E4 7C 9F 23 78 */ mr r31, r4 -/* 80353888 003507E8 93 C1 00 08 */ stw r30, 8(r1) -/* 8035388C 003507EC 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80353890 003507F0 41 82 00 48 */ beq lbl_803538D8 -/* 80353894 003507F4 88 1E 00 18 */ lbz r0, 0x18(r30) -/* 80353898 003507F8 28 00 00 00 */ cmplwi r0, 0 -/* 8035389C 003507FC 41 82 00 24 */ beq lbl_803538C0 -/* 803538A0 00350800 28 1E 00 00 */ cmplwi r30, 0 -/* 803538A4 00350804 41 82 00 1C */ beq lbl_803538C0 -/* 803538A8 00350808 41 82 00 18 */ beq lbl_803538C0 -/* 803538AC 0035080C 88 1E 00 00 */ lbz r0, 0(r30) -/* 803538B0 00350810 28 00 00 00 */ cmplwi r0, 0 -/* 803538B4 00350814 41 82 00 0C */ beq lbl_803538C0 -/* 803538B8 00350818 80 7E 00 04 */ lwz r3, 4(r30) -/* 803538BC 0035081C 4B FC 20 75 */ bl Free__7CMemoryFPCv -lbl_803538C0: -/* 803538C0 00350820 38 60 00 00 */ li r3, 0 -/* 803538C4 00350824 7F E0 07 35 */ extsh. r0, r31 -/* 803538C8 00350828 98 7E 00 18 */ stb r3, 0x18(r30) -/* 803538CC 0035082C 40 81 00 0C */ ble lbl_803538D8 -/* 803538D0 00350830 7F C3 F3 78 */ mr r3, r30 -/* 803538D4 00350834 4B FC 20 5D */ bl Free__7CMemoryFPCv -lbl_803538D8: -/* 803538D8 00350838 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803538DC 0035083C 7F C3 F3 78 */ mr r3, r30 -/* 803538E0 00350840 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 803538E4 00350844 83 C1 00 08 */ lwz r30, 8(r1) -/* 803538E8 00350848 7C 08 03 A6 */ mtlr r0 -/* 803538EC 0035084C 38 21 00 10 */ addi r1, r1, 0x10 -/* 803538F0 00350850 4E 80 00 20 */ blr - -.global ProcessingNormals__10CSkinRulesFiPPUs -ProcessingNormals__10CSkinRulesFiPPUs: -/* 803538F4 00350854 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 803538F8 00350858 7C 08 02 A6 */ mflr r0 -/* 803538FC 0035085C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80353900 00350860 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80353904 00350864 7C 9F 23 78 */ mr r31, r4 -/* 80353908 00350868 80 AD AA 68 */ lwz r5, lbl_805A9628@sda21(r13) -/* 8035390C 0035086C 80 8D AA 60 */ lwz r4, lbl_805A9620@sda21(r13) -/* 80353910 00350870 7C 05 1A 14 */ add r0, r5, r3 -/* 80353914 00350874 90 61 00 08 */ stw r3, 8(r1) -/* 80353918 00350878 7C 00 20 00 */ cmpw r0, r4 -/* 8035391C 0035087C 40 81 00 98 */ ble lbl_803539B4 -/* 80353920 00350880 7C 05 20 00 */ cmpw r5, r4 -/* 80353924 00350884 40 82 00 40 */ bne lbl_80353964 -/* 80353928 00350888 48 00 01 C5 */ bl WaitForQueue__Fv -/* 8035392C 0035088C 88 0D 9E 04 */ lbz r0, lbl_805A89C4@sda21(r13) -/* 80353930 00350890 3C 60 E0 00 */ lis r3, 0xe000 -/* 80353934 00350894 80 8D AA 60 */ lwz r4, lbl_805A9620@sda21(r13) -/* 80353938 00350898 28 00 00 00 */ cmplwi r0, 0 -/* 8035393C 0035089C 90 6D AA 6C */ stw r3, lbl_805A962C@sda21(r13) -/* 80353940 003508A0 90 8D AA 70 */ stw r4, lbl_805A9630@sda21(r13) -/* 80353944 003508A4 41 82 00 0C */ beq lbl_80353950 -/* 80353948 003508A8 38 03 10 00 */ addi r0, r3, 0x1000 -/* 8035394C 003508AC 90 0D AA 6C */ stw r0, lbl_805A962C@sda21(r13) -lbl_80353950: -/* 80353950 003508B0 80 6D AA 60 */ lwz r3, lbl_805A9620@sda21(r13) -/* 80353954 003508B4 80 0D AA 58 */ lwz r0, lbl_805A9618@sda21(r13) -/* 80353958 003508B8 7C 03 02 14 */ add r0, r3, r0 -/* 8035395C 003508BC 90 0D AA 60 */ stw r0, lbl_805A9620@sda21(r13) -/* 80353960 003508C0 48 00 01 BD */ bl StartNextTransaction__10CSkinRulesFv -lbl_80353964: -/* 80353964 003508C4 80 AD AA 68 */ lwz r5, lbl_805A9628@sda21(r13) -/* 80353968 003508C8 38 61 00 0C */ addi r3, r1, 0xc -/* 8035396C 003508CC 80 8D AA 60 */ lwz r4, lbl_805A9620@sda21(r13) -/* 80353970 003508D0 80 01 00 08 */ lwz r0, 8(r1) -/* 80353974 003508D4 7C 85 20 50 */ subf r4, r5, r4 -/* 80353978 003508D8 7C 00 20 00 */ cmpw r0, r4 -/* 8035397C 003508DC 90 81 00 0C */ stw r4, 0xc(r1) -/* 80353980 003508E0 40 80 00 08 */ bge lbl_80353988 -/* 80353984 003508E4 38 61 00 08 */ addi r3, r1, 8 -lbl_80353988: -/* 80353988 003508E8 80 0D AA 70 */ lwz r0, lbl_805A9630@sda21(r13) -/* 8035398C 003508EC 80 8D AA 6C */ lwz r4, lbl_805A962C@sda21(r13) -/* 80353990 003508F0 7C 00 28 50 */ subf r0, r0, r5 -/* 80353994 003508F4 80 63 00 00 */ lwz r3, 0(r3) -/* 80353998 003508F8 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8035399C 003508FC 7C 04 02 14 */ add r0, r4, r0 -/* 803539A0 00350900 90 1F 00 00 */ stw r0, 0(r31) -/* 803539A4 00350904 80 0D AA 68 */ lwz r0, lbl_805A9628@sda21(r13) -/* 803539A8 00350908 7C 00 1A 14 */ add r0, r0, r3 -/* 803539AC 0035090C 90 0D AA 68 */ stw r0, lbl_805A9628@sda21(r13) -/* 803539B0 00350910 48 00 00 2C */ b lbl_803539DC -lbl_803539B4: -/* 803539B4 00350914 80 0D AA 70 */ lwz r0, lbl_805A9630@sda21(r13) -/* 803539B8 00350918 80 6D AA 6C */ lwz r3, lbl_805A962C@sda21(r13) -/* 803539BC 0035091C 7C 00 28 50 */ subf r0, r0, r5 -/* 803539C0 00350920 1C 00 00 0C */ mulli r0, r0, 0xc -/* 803539C4 00350924 7C 03 02 14 */ add r0, r3, r0 -/* 803539C8 00350928 90 1F 00 00 */ stw r0, 0(r31) -/* 803539CC 0035092C 80 61 00 08 */ lwz r3, 8(r1) -/* 803539D0 00350930 80 0D AA 68 */ lwz r0, lbl_805A9628@sda21(r13) -/* 803539D4 00350934 7C 00 1A 14 */ add r0, r0, r3 -/* 803539D8 00350938 90 0D AA 68 */ stw r0, lbl_805A9628@sda21(r13) -lbl_803539DC: -/* 803539DC 0035093C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 803539E0 00350940 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 803539E4 00350944 7C 08 03 A6 */ mtlr r0 -/* 803539E8 00350948 38 21 00 20 */ addi r1, r1, 0x20 -/* 803539EC 0035094C 4E 80 00 20 */ blr - -.global ProcessingPoints__10CSkinRulesFiPPUs -ProcessingPoints__10CSkinRulesFiPPUs: -/* 803539F0 00350950 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 803539F4 00350954 7C 08 02 A6 */ mflr r0 -/* 803539F8 00350958 90 01 00 24 */ stw r0, 0x24(r1) -/* 803539FC 0035095C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80353A00 00350960 7C 9F 23 78 */ mr r31, r4 -/* 80353A04 00350964 80 AD AA 64 */ lwz r5, lbl_805A9624@sda21(r13) -/* 80353A08 00350968 80 8D AA 5C */ lwz r4, lbl_805A961C@sda21(r13) -/* 80353A0C 0035096C 7C 05 1A 14 */ add r0, r5, r3 -/* 80353A10 00350970 90 61 00 08 */ stw r3, 8(r1) -/* 80353A14 00350974 7C 00 20 00 */ cmpw r0, r4 -/* 80353A18 00350978 40 81 00 98 */ ble lbl_80353AB0 -/* 80353A1C 0035097C 7C 05 20 00 */ cmpw r5, r4 -/* 80353A20 00350980 40 82 00 40 */ bne lbl_80353A60 -/* 80353A24 00350984 48 00 00 C9 */ bl WaitForQueue__Fv -/* 80353A28 00350988 88 0D 9E 04 */ lbz r0, lbl_805A89C4@sda21(r13) -/* 80353A2C 0035098C 3C 60 E0 00 */ lis r3, 0xe000 -/* 80353A30 00350990 80 8D AA 5C */ lwz r4, lbl_805A961C@sda21(r13) -/* 80353A34 00350994 28 00 00 00 */ cmplwi r0, 0 -/* 80353A38 00350998 90 6D AA 6C */ stw r3, lbl_805A962C@sda21(r13) -/* 80353A3C 0035099C 90 8D AA 70 */ stw r4, lbl_805A9630@sda21(r13) -/* 80353A40 003509A0 41 82 00 0C */ beq lbl_80353A4C -/* 80353A44 003509A4 38 03 10 00 */ addi r0, r3, 0x1000 -/* 80353A48 003509A8 90 0D AA 6C */ stw r0, lbl_805A962C@sda21(r13) -lbl_80353A4C: -/* 80353A4C 003509AC 80 6D AA 5C */ lwz r3, lbl_805A961C@sda21(r13) -/* 80353A50 003509B0 80 0D AA 58 */ lwz r0, lbl_805A9618@sda21(r13) -/* 80353A54 003509B4 7C 03 02 14 */ add r0, r3, r0 -/* 80353A58 003509B8 90 0D AA 5C */ stw r0, lbl_805A961C@sda21(r13) -/* 80353A5C 003509BC 48 00 00 C1 */ bl StartNextTransaction__10CSkinRulesFv -lbl_80353A60: -/* 80353A60 003509C0 80 AD AA 64 */ lwz r5, lbl_805A9624@sda21(r13) -/* 80353A64 003509C4 38 61 00 0C */ addi r3, r1, 0xc -/* 80353A68 003509C8 80 8D AA 5C */ lwz r4, lbl_805A961C@sda21(r13) -/* 80353A6C 003509CC 80 01 00 08 */ lwz r0, 8(r1) -/* 80353A70 003509D0 7C 85 20 50 */ subf r4, r5, r4 -/* 80353A74 003509D4 7C 00 20 00 */ cmpw r0, r4 -/* 80353A78 003509D8 90 81 00 0C */ stw r4, 0xc(r1) -/* 80353A7C 003509DC 40 80 00 08 */ bge lbl_80353A84 -/* 80353A80 003509E0 38 61 00 08 */ addi r3, r1, 8 -lbl_80353A84: -/* 80353A84 003509E4 80 0D AA 70 */ lwz r0, lbl_805A9630@sda21(r13) -/* 80353A88 003509E8 80 8D AA 6C */ lwz r4, lbl_805A962C@sda21(r13) -/* 80353A8C 003509EC 7C 00 28 50 */ subf r0, r0, r5 -/* 80353A90 003509F0 80 63 00 00 */ lwz r3, 0(r3) -/* 80353A94 003509F4 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80353A98 003509F8 7C 04 02 14 */ add r0, r4, r0 -/* 80353A9C 003509FC 90 1F 00 00 */ stw r0, 0(r31) -/* 80353AA0 00350A00 80 0D AA 64 */ lwz r0, lbl_805A9624@sda21(r13) -/* 80353AA4 00350A04 7C 00 1A 14 */ add r0, r0, r3 -/* 80353AA8 00350A08 90 0D AA 64 */ stw r0, lbl_805A9624@sda21(r13) -/* 80353AAC 00350A0C 48 00 00 2C */ b lbl_80353AD8 -lbl_80353AB0: -/* 80353AB0 00350A10 80 0D AA 70 */ lwz r0, lbl_805A9630@sda21(r13) -/* 80353AB4 00350A14 80 6D AA 6C */ lwz r3, lbl_805A962C@sda21(r13) -/* 80353AB8 00350A18 7C 00 28 50 */ subf r0, r0, r5 -/* 80353ABC 00350A1C 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80353AC0 00350A20 7C 03 02 14 */ add r0, r3, r0 -/* 80353AC4 00350A24 90 1F 00 00 */ stw r0, 0(r31) -/* 80353AC8 00350A28 80 61 00 08 */ lwz r3, 8(r1) -/* 80353ACC 00350A2C 80 0D AA 64 */ lwz r0, lbl_805A9624@sda21(r13) -/* 80353AD0 00350A30 7C 00 1A 14 */ add r0, r0, r3 -/* 80353AD4 00350A34 90 0D AA 64 */ stw r0, lbl_805A9624@sda21(r13) -lbl_80353AD8: -/* 80353AD8 00350A38 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80353ADC 00350A3C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80353AE0 00350A40 7C 08 03 A6 */ mtlr r0 -/* 80353AE4 00350A44 38 21 00 20 */ addi r1, r1, 0x20 -/* 80353AE8 00350A48 4E 80 00 20 */ blr - -.global WaitForQueue__Fv -WaitForQueue__Fv: -/* 80353AEC 00350A4C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80353AF0 00350A50 7C 08 02 A6 */ mflr r0 -/* 80353AF4 00350A54 90 01 00 14 */ stw r0, 0x14(r1) -/* 80353AF8 00350A58 48 02 B3 C1 */ bl LCQueueLength -/* 80353AFC 00350A5C 28 03 00 00 */ cmplwi r3, 0 -/* 80353B00 00350A60 41 82 00 0C */ beq lbl_80353B0C -/* 80353B04 00350A64 38 60 00 00 */ li r3, 0 -/* 80353B08 00350A68 48 02 B3 BD */ bl LCQueueWait -lbl_80353B0C: -/* 80353B0C 00350A6C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80353B10 00350A70 7C 08 03 A6 */ mtlr r0 -/* 80353B14 00350A74 38 21 00 10 */ addi r1, r1, 0x10 -/* 80353B18 00350A78 4E 80 00 20 */ blr - -.global StartNextTransaction__10CSkinRulesFv -StartNextTransaction__10CSkinRulesFv: -/* 80353B1C 00350A7C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80353B20 00350A80 7C 08 02 A6 */ mflr r0 -/* 80353B24 00350A84 3C 60 E0 00 */ lis r3, 0xe000 -/* 80353B28 00350A88 90 01 00 24 */ stw r0, 0x24(r1) -/* 80353B2C 00350A8C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80353B30 00350A90 88 0D 9E 04 */ lbz r0, lbl_805A89C4@sda21(r13) -/* 80353B34 00350A94 28 00 00 00 */ cmplwi r0, 0 -/* 80353B38 00350A98 40 82 00 08 */ bne lbl_80353B40 -/* 80353B3C 00350A9C 38 63 10 00 */ addi r3, r3, 0x1000 -lbl_80353B40: -/* 80353B40 00350AA0 80 AD AA 50 */ lwz r5, lbl_805A9610@sda21(r13) -/* 80353B44 00350AA4 80 CD AA 5C */ lwz r6, lbl_805A961C@sda21(r13) -/* 80353B48 00350AA8 80 85 00 10 */ lwz r4, 0x10(r5) -/* 80353B4C 00350AAC 7C 06 20 00 */ cmpw r6, r4 -/* 80353B50 00350AB0 41 82 00 3C */ beq lbl_80353B8C -/* 80353B54 00350AB4 80 0D 9E 08 */ lwz r0, lbl_805A89C8@sda21(r13) -/* 80353B58 00350AB8 7C 86 20 50 */ subf r4, r6, r4 -/* 80353B5C 00350ABC 90 81 00 0C */ stw r4, 0xc(r1) -/* 80353B60 00350AC0 38 AD 9E 08 */ addi r5, r13, lbl_805A89C8@sda21 -/* 80353B64 00350AC4 7C 04 00 00 */ cmpw r4, r0 -/* 80353B68 00350AC8 40 80 00 08 */ bge lbl_80353B70 -/* 80353B6C 00350ACC 38 A1 00 0C */ addi r5, r1, 0xc -lbl_80353B70: -/* 80353B70 00350AD0 80 8D AA 54 */ lwz r4, lbl_805A9614@sda21(r13) -/* 80353B74 00350AD4 1C 06 00 0C */ mulli r0, r6, 0xc -/* 80353B78 00350AD8 83 E5 00 00 */ lwz r31, 0(r5) -/* 80353B7C 00350ADC 80 84 00 28 */ lwz r4, 0x28(r4) -/* 80353B80 00350AE0 80 84 00 08 */ lwz r4, 8(r4) -/* 80353B84 00350AE4 7C 84 02 14 */ add r4, r4, r0 -/* 80353B88 00350AE8 48 00 00 48 */ b lbl_80353BD0 -lbl_80353B8C: -/* 80353B8C 00350AEC 80 85 00 14 */ lwz r4, 0x14(r5) -/* 80353B90 00350AF0 80 CD AA 60 */ lwz r6, lbl_805A9620@sda21(r13) -/* 80353B94 00350AF4 7C 04 30 00 */ cmpw r4, r6 -/* 80353B98 00350AF8 41 82 00 68 */ beq lbl_80353C00 -/* 80353B9C 00350AFC 80 0D 9E 0C */ lwz r0, lbl_805A89CC@sda21(r13) -/* 80353BA0 00350B00 7C 86 20 50 */ subf r4, r6, r4 -/* 80353BA4 00350B04 90 81 00 08 */ stw r4, 8(r1) -/* 80353BA8 00350B08 38 AD 9E 0C */ addi r5, r13, lbl_805A89CC@sda21 -/* 80353BAC 00350B0C 7C 04 00 00 */ cmpw r4, r0 -/* 80353BB0 00350B10 40 80 00 08 */ bge lbl_80353BB8 -/* 80353BB4 00350B14 38 A1 00 08 */ addi r5, r1, 8 -lbl_80353BB8: -/* 80353BB8 00350B18 80 8D AA 54 */ lwz r4, lbl_805A9614@sda21(r13) -/* 80353BBC 00350B1C 1C 06 00 0C */ mulli r0, r6, 0xc -/* 80353BC0 00350B20 83 E5 00 00 */ lwz r31, 0(r5) -/* 80353BC4 00350B24 80 84 00 28 */ lwz r4, 0x28(r4) -/* 80353BC8 00350B28 80 84 00 0C */ lwz r4, 0xc(r4) -/* 80353BCC 00350B2C 7C 84 02 14 */ add r4, r4, r0 -lbl_80353BD0: -/* 80353BD0 00350B30 1C BF 00 0C */ mulli r5, r31, 0xc -/* 80353BD4 00350B34 38 05 00 1F */ addi r0, r5, 0x1f -/* 80353BD8 00350B38 54 05 00 34 */ rlwinm r5, r0, 0, 0, 0x1a -/* 80353BDC 00350B3C 48 02 B1 85 */ bl sub_8037ed60 -/* 80353BE0 00350B40 88 0D 9E 04 */ lbz r0, lbl_805A89C4@sda21(r13) -/* 80353BE4 00350B44 80 6D AA 74 */ lwz r3, lbl_805A9634@sda21(r13) -/* 80353BE8 00350B48 7C 00 00 34 */ cntlzw r0, r0 -/* 80353BEC 00350B4C 93 ED AA 58 */ stw r31, lbl_805A9618@sda21(r13) -/* 80353BF0 00350B50 38 63 00 01 */ addi r3, r3, 1 -/* 80353BF4 00350B54 54 00 D9 7E */ srwi r0, r0, 5 -/* 80353BF8 00350B58 90 6D AA 74 */ stw r3, lbl_805A9634@sda21(r13) -/* 80353BFC 00350B5C 98 0D 9E 04 */ stb r0, lbl_805A89C4@sda21(r13) -lbl_80353C00: -/* 80353C00 00350B60 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80353C04 00350B64 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80353C08 00350B68 7C 08 03 A6 */ mtlr r0 -/* 80353C0C 00350B6C 38 21 00 20 */ addi r1, r1, 0x20 -/* 80353C10 00350B70 4E 80 00 20 */ blr - -.global InitLockedCacheState__10CSkinRulesFRC10CSkinRules -InitLockedCacheState__10CSkinRulesFRC10CSkinRules: -/* 80353C14 00350B74 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80353C18 00350B78 7C 08 02 A6 */ mflr r0 -/* 80353C1C 00350B7C 38 A0 00 01 */ li r5, 1 -/* 80353C20 00350B80 90 01 00 14 */ stw r0, 0x14(r1) -/* 80353C24 00350B84 38 00 00 00 */ li r0, 0 -/* 80353C28 00350B88 90 6D AA 50 */ stw r3, lbl_805A9610@sda21(r13) -/* 80353C2C 00350B8C 90 8D AA 54 */ stw r4, lbl_805A9614@sda21(r13) -/* 80353C30 00350B90 98 AD 9E 04 */ stb r5, lbl_805A89C4@sda21(r13) -/* 80353C34 00350B94 90 0D AA 5C */ stw r0, lbl_805A961C@sda21(r13) -/* 80353C38 00350B98 90 0D AA 60 */ stw r0, lbl_805A9620@sda21(r13) -/* 80353C3C 00350B9C 90 0D AA 64 */ stw r0, lbl_805A9624@sda21(r13) -/* 80353C40 00350BA0 90 0D AA 68 */ stw r0, lbl_805A9628@sda21(r13) -/* 80353C44 00350BA4 90 0D AA 6C */ stw r0, lbl_805A962C@sda21(r13) -/* 80353C48 00350BA8 90 0D AA 70 */ stw r0, lbl_805A9630@sda21(r13) -/* 80353C4C 00350BAC 90 0D AA 74 */ stw r0, lbl_805A9634@sda21(r13) -/* 80353C50 00350BB0 4B FF FE CD */ bl StartNextTransaction__10CSkinRulesFv -/* 80353C54 00350BB4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80353C58 00350BB8 7C 08 03 A6 */ mtlr r0 -/* 80353C5C 00350BBC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80353C60 00350BC0 4E 80 00 20 */ blr - -.global FSkinRulesFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer -FSkinRulesFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer: -/* 80353C64 00350BC4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80353C68 00350BC8 7C 08 02 A6 */ mflr r0 -/* 80353C6C 00350BCC 3C 80 80 3E */ lis r4, lbl_803D8300@ha -/* 80353C70 00350BD0 90 01 00 24 */ stw r0, 0x24(r1) -/* 80353C74 00350BD4 38 84 83 00 */ addi r4, r4, lbl_803D8300@l -/* 80353C78 00350BD8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80353C7C 00350BDC 7C BF 2B 78 */ mr r31, r5 -/* 80353C80 00350BE0 38 A0 00 00 */ li r5, 0 -/* 80353C84 00350BE4 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80353C88 00350BE8 7C 7E 1B 78 */ mr r30, r3 -/* 80353C8C 00350BEC 38 60 00 18 */ li r3, 0x18 -/* 80353C90 00350BF0 4B FC 1B DD */ bl __nw__FUlPCcPCc -/* 80353C94 00350BF4 7C 64 1B 79 */ or. r4, r3, r3 -/* 80353C98 00350BF8 41 82 00 10 */ beq lbl_80353CA8 -/* 80353C9C 00350BFC 7F E4 FB 78 */ mr r4, r31 -/* 80353CA0 00350C00 48 00 06 31 */ bl __ct__10CSkinRulesFR12CInputStream -/* 80353CA4 00350C04 7C 64 1B 78 */ mr r4, r3 -lbl_80353CA8: -/* 80353CA8 00350C08 7C 04 00 D0 */ neg r0, r4 -/* 80353CAC 00350C0C 90 81 00 0C */ stw r4, 0xc(r1) -/* 80353CB0 00350C10 7C 00 23 78 */ or r0, r0, r4 -/* 80353CB4 00350C14 38 61 00 10 */ addi r3, r1, 0x10 -/* 80353CB8 00350C18 54 00 0F FE */ srwi r0, r0, 0x1f -/* 80353CBC 00350C1C 38 81 00 08 */ addi r4, r1, 8 -/* 80353CC0 00350C20 98 01 00 08 */ stb r0, 8(r1) -/* 80353CC4 00350C24 48 00 01 11 */ bl "GetIObjObjectFor__20TToken<10CSkinRules>FRCQ24rstl22auto_ptr<10CSkinRules>" -/* 80353CC8 00350C28 80 61 00 14 */ lwz r3, 0x14(r1) -/* 80353CCC 00350C2C 38 00 00 00 */ li r0, 0 -/* 80353CD0 00350C30 98 01 00 10 */ stb r0, 0x10(r1) -/* 80353CD4 00350C34 7C 03 00 D0 */ neg r0, r3 -/* 80353CD8 00350C38 7C 00 1B 78 */ or r0, r0, r3 -/* 80353CDC 00350C3C 54 00 0F FE */ srwi r0, r0, 0x1f -/* 80353CE0 00350C40 98 1E 00 00 */ stb r0, 0(r30) -/* 80353CE4 00350C44 90 7E 00 04 */ stw r3, 4(r30) -/* 80353CE8 00350C48 88 01 00 10 */ lbz r0, 0x10(r1) -/* 80353CEC 00350C4C 28 00 00 00 */ cmplwi r0, 0 -/* 80353CF0 00350C50 41 82 00 24 */ beq lbl_80353D14 -/* 80353CF4 00350C54 80 61 00 14 */ lwz r3, 0x14(r1) -/* 80353CF8 00350C58 28 03 00 00 */ cmplwi r3, 0 -/* 80353CFC 00350C5C 41 82 00 18 */ beq lbl_80353D14 -/* 80353D00 00350C60 81 83 00 00 */ lwz r12, 0(r3) -/* 80353D04 00350C64 38 80 00 01 */ li r4, 1 -/* 80353D08 00350C68 81 8C 00 08 */ lwz r12, 8(r12) -/* 80353D0C 00350C6C 7D 89 03 A6 */ mtctr r12 -/* 80353D10 00350C70 4E 80 04 21 */ bctrl -lbl_80353D14: -/* 80353D14 00350C74 88 01 00 08 */ lbz r0, 8(r1) -/* 80353D18 00350C78 28 00 00 00 */ cmplwi r0, 0 -/* 80353D1C 00350C7C 41 82 00 10 */ beq lbl_80353D2C -/* 80353D20 00350C80 80 61 00 0C */ lwz r3, 0xc(r1) -/* 80353D24 00350C84 38 80 00 01 */ li r4, 1 -/* 80353D28 00350C88 48 00 04 4D */ bl __dt__10CSkinRulesFv -lbl_80353D2C: -/* 80353D2C 00350C8C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80353D30 00350C90 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80353D34 00350C94 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80353D38 00350C98 7C 08 03 A6 */ mtlr r0 -/* 80353D3C 00350C9C 38 21 00 20 */ addi r1, r1, 0x20 -/* 80353D40 00350CA0 4E 80 00 20 */ blr - -.global "__dt__20TToken<10CSkinRules>Fv" -"__dt__20TToken<10CSkinRules>Fv": -/* 80353D44 00350CA4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80353D48 00350CA8 7C 08 02 A6 */ mflr r0 -/* 80353D4C 00350CAC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80353D50 00350CB0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80353D54 00350CB4 7C 9F 23 78 */ mr r31, r4 -/* 80353D58 00350CB8 93 C1 00 08 */ stw r30, 8(r1) -/* 80353D5C 00350CBC 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80353D60 00350CC0 41 82 00 58 */ beq lbl_80353DB8 -/* 80353D64 00350CC4 3C 60 80 3F */ lis r3, lbl_803EF728@ha -/* 80353D68 00350CC8 38 03 F7 28 */ addi r0, r3, lbl_803EF728@l -/* 80353D6C 00350CCC 90 1E 00 00 */ stw r0, 0(r30) -/* 80353D70 00350CD0 80 7E 00 04 */ lwz r3, 4(r30) -/* 80353D74 00350CD4 28 03 00 00 */ cmplwi r3, 0 -/* 80353D78 00350CD8 41 82 00 0C */ beq lbl_80353D84 -/* 80353D7C 00350CDC 38 80 00 01 */ li r4, 1 -/* 80353D80 00350CE0 48 00 03 F5 */ bl __dt__10CSkinRulesFv -lbl_80353D84: -/* 80353D84 00350CE4 28 1E 00 00 */ cmplwi r30, 0 -/* 80353D88 00350CE8 41 82 00 20 */ beq lbl_80353DA8 -/* 80353D8C 00350CEC 3C 60 80 3E */ lis r3, lbl_803D8D78@ha -/* 80353D90 00350CF0 38 03 8D 78 */ addi r0, r3, lbl_803D8D78@l -/* 80353D94 00350CF4 90 1E 00 00 */ stw r0, 0(r30) -/* 80353D98 00350CF8 41 82 00 10 */ beq lbl_80353DA8 -/* 80353D9C 00350CFC 3C 60 80 3E */ lis r3, lbl_803D8D6C@ha -/* 80353DA0 00350D00 38 03 8D 6C */ addi r0, r3, lbl_803D8D6C@l -/* 80353DA4 00350D04 90 1E 00 00 */ stw r0, 0(r30) -lbl_80353DA8: -/* 80353DA8 00350D08 7F E0 07 35 */ extsh. r0, r31 -/* 80353DAC 00350D0C 40 81 00 0C */ ble lbl_80353DB8 -/* 80353DB0 00350D10 7F C3 F3 78 */ mr r3, r30 -/* 80353DB4 00350D14 4B FC 1B 7D */ bl Free__7CMemoryFPCv -lbl_80353DB8: -/* 80353DB8 00350D18 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80353DBC 00350D1C 7F C3 F3 78 */ mr r3, r30 -/* 80353DC0 00350D20 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80353DC4 00350D24 83 C1 00 08 */ lwz r30, 8(r1) -/* 80353DC8 00350D28 7C 08 03 A6 */ mtlr r0 -/* 80353DCC 00350D2C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80353DD0 00350D30 4E 80 00 20 */ blr - -.global "GetIObjObjectFor__20TToken<10CSkinRules>FRCQ24rstl22auto_ptr<10CSkinRules>" -"GetIObjObjectFor__20TToken<10CSkinRules>FRCQ24rstl22auto_ptr<10CSkinRules>": -/* 80353DD4 00350D34 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80353DD8 00350D38 7C 08 02 A6 */ mflr r0 -/* 80353DDC 00350D3C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80353DE0 00350D40 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80353DE4 00350D44 7C 7F 1B 78 */ mr r31, r3 -/* 80353DE8 00350D48 48 00 00 19 */ bl "GetNewDerivedObject__38TObjOwnerDerivedFromIObj<10CSkinRules>FRCQ24rstl22auto_ptr<10CSkinRules>" -/* 80353DEC 00350D4C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80353DF0 00350D50 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80353DF4 00350D54 7C 08 03 A6 */ mtlr r0 -/* 80353DF8 00350D58 38 21 00 10 */ addi r1, r1, 0x10 -/* 80353DFC 00350D5C 4E 80 00 20 */ blr - -.global "GetNewDerivedObject__38TObjOwnerDerivedFromIObj<10CSkinRules>FRCQ24rstl22auto_ptr<10CSkinRules>" -"GetNewDerivedObject__38TObjOwnerDerivedFromIObj<10CSkinRules>FRCQ24rstl22auto_ptr<10CSkinRules>": -/* 80353E00 00350D60 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80353E04 00350D64 7C 08 02 A6 */ mflr r0 -/* 80353E08 00350D68 3C A0 80 3E */ lis r5, lbl_803D8300@ha -/* 80353E0C 00350D6C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80353E10 00350D70 38 05 83 00 */ addi r0, r5, lbl_803D8300@l -/* 80353E14 00350D74 38 A0 00 00 */ li r5, 0 -/* 80353E18 00350D78 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80353E1C 00350D7C 7C 9F 23 78 */ mr r31, r4 -/* 80353E20 00350D80 7C 04 03 78 */ mr r4, r0 -/* 80353E24 00350D84 93 C1 00 08 */ stw r30, 8(r1) -/* 80353E28 00350D88 7C 7E 1B 78 */ mr r30, r3 -/* 80353E2C 00350D8C 38 60 00 08 */ li r3, 8 -/* 80353E30 00350D90 4B FC 1A 3D */ bl __nw__FUlPCcPCc -/* 80353E34 00350D94 28 03 00 00 */ cmplwi r3, 0 -/* 80353E38 00350D98 41 82 00 38 */ beq lbl_80353E70 -/* 80353E3C 00350D9C 3C 80 80 3E */ lis r4, lbl_803D8D6C@ha -/* 80353E40 00350DA0 3C A0 80 3E */ lis r5, lbl_803D8D78@ha -/* 80353E44 00350DA4 38 04 8D 6C */ addi r0, r4, lbl_803D8D6C@l -/* 80353E48 00350DA8 3C 80 80 3F */ lis r4, lbl_803EF728@ha -/* 80353E4C 00350DAC 90 03 00 00 */ stw r0, 0(r3) -/* 80353E50 00350DB0 38 C5 8D 78 */ addi r6, r5, lbl_803D8D78@l -/* 80353E54 00350DB4 38 A0 00 00 */ li r5, 0 -/* 80353E58 00350DB8 38 04 F7 28 */ addi r0, r4, lbl_803EF728@l -/* 80353E5C 00350DBC 90 C3 00 00 */ stw r6, 0(r3) -/* 80353E60 00350DC0 98 BF 00 00 */ stb r5, 0(r31) -/* 80353E64 00350DC4 80 9F 00 04 */ lwz r4, 4(r31) -/* 80353E68 00350DC8 90 83 00 04 */ stw r4, 4(r3) -/* 80353E6C 00350DCC 90 03 00 00 */ stw r0, 0(r3) -lbl_80353E70: -/* 80353E70 00350DD0 7C 03 00 D0 */ neg r0, r3 -/* 80353E74 00350DD4 7C 00 1B 78 */ or r0, r0, r3 -/* 80353E78 00350DD8 54 00 0F FE */ srwi r0, r0, 0x1f -/* 80353E7C 00350DDC 98 1E 00 00 */ stb r0, 0(r30) -/* 80353E80 00350DE0 90 7E 00 04 */ stw r3, 4(r30) -/* 80353E84 00350DE4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80353E88 00350DE8 83 C1 00 08 */ lwz r30, 8(r1) -/* 80353E8C 00350DEC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80353E90 00350DF0 7C 08 03 A6 */ mtlr r0 -/* 80353E94 00350DF4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80353E98 00350DF8 4E 80 00 20 */ blr - -.global BuildNormalsFrom__10CSkinRulesCFPC9CVector3fP9CVector3f -BuildNormalsFrom__10CSkinRulesCFPC9CVector3fP9CVector3f: -/* 80353E9C 00350DFC 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80353EA0 00350E00 7C 08 02 A6 */ mflr r0 -/* 80353EA4 00350E04 90 01 00 34 */ stw r0, 0x34(r1) -/* 80353EA8 00350E08 BF 21 00 14 */ stmw r25, 0x14(r1) -/* 80353EAC 00350E0C 7C 79 1B 78 */ mr r25, r3 -/* 80353EB0 00350E10 7C 9A 23 78 */ mr r26, r4 -/* 80353EB4 00350E14 7C BB 2B 78 */ mr r27, r5 -/* 80353EB8 00350E18 3B A0 00 00 */ li r29, 0 -/* 80353EBC 00350E1C 3B 80 00 00 */ li r28, 0 -/* 80353EC0 00350E20 3B C0 00 00 */ li r30, 0 -/* 80353EC4 00350E24 48 00 00 30 */ b lbl_80353EF4 -lbl_80353EC8: -/* 80353EC8 00350E28 80 19 00 0C */ lwz r0, 0xc(r25) -/* 80353ECC 00350E2C 1C BD 00 0C */ mulli r5, r29, 0xc -/* 80353ED0 00350E30 7C 60 F2 14 */ add r3, r0, r30 -/* 80353ED4 00350E34 83 E3 00 1C */ lwz r31, 0x1c(r3) -/* 80353ED8 00350E38 7C 9A 2A 14 */ add r4, r26, r5 -/* 80353EDC 00350E3C 7C BB 2A 14 */ add r5, r27, r5 -/* 80353EE0 00350E40 7F E6 FB 78 */ mr r6, r31 -/* 80353EE4 00350E44 48 00 0A 0D */ bl sub_803548f0 -/* 80353EE8 00350E48 7F BD FA 14 */ add r29, r29, r31 -/* 80353EEC 00350E4C 3B DE 00 74 */ addi r30, r30, 0x74 -/* 80353EF0 00350E50 3B 9C 00 01 */ addi r28, r28, 1 -lbl_80353EF4: -/* 80353EF4 00350E54 80 19 00 04 */ lwz r0, 4(r25) -/* 80353EF8 00350E58 7C 1C 00 00 */ cmpw r28, r0 -/* 80353EFC 00350E5C 41 80 FF CC */ blt lbl_80353EC8 -/* 80353F00 00350E60 BB 21 00 14 */ lmw r25, 0x14(r1) -/* 80353F04 00350E64 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80353F08 00350E68 7C 08 03 A6 */ mtlr r0 -/* 80353F0C 00350E6C 38 21 00 30 */ addi r1, r1, 0x30 -/* 80353F10 00350E70 4E 80 00 20 */ blr - -.global BuildNormals__10CSkinRulesCFPVv -BuildNormals__10CSkinRulesCFPVv: -/* 80353F14 00350E74 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80353F18 00350E78 7C 08 02 A6 */ mflr r0 -/* 80353F1C 00350E7C 90 01 00 34 */ stw r0, 0x34(r1) -/* 80353F20 00350E80 BF 21 00 14 */ stmw r25, 0x14(r1) -/* 80353F24 00350E84 7C 79 1B 78 */ mr r25, r3 -/* 80353F28 00350E88 7C 9A 23 78 */ mr r26, r4 -/* 80353F2C 00350E8C 3B A0 00 00 */ li r29, 0 -/* 80353F30 00350E90 3B C0 00 00 */ li r30, 0 -/* 80353F34 00350E94 48 00 00 5C */ b lbl_80353F90 -lbl_80353F38: -/* 80353F38 00350E98 80 99 00 0C */ lwz r4, 0xc(r25) -/* 80353F3C 00350E9C 38 7E 00 1C */ addi r3, r30, 0x1c -/* 80353F40 00350EA0 38 00 00 00 */ li r0, 0 -/* 80353F44 00350EA4 3B 80 00 00 */ li r28, 0 -/* 80353F48 00350EA8 7F E4 18 2E */ lwzx r31, r4, r3 -/* 80353F4C 00350EAC 90 01 00 08 */ stw r0, 8(r1) -/* 80353F50 00350EB0 48 00 00 30 */ b lbl_80353F80 -lbl_80353F54: -/* 80353F54 00350EB4 7C 7C F8 50 */ subf r3, r28, r31 -/* 80353F58 00350EB8 38 81 00 08 */ addi r4, r1, 8 -/* 80353F5C 00350EBC 4B FF F9 99 */ bl ProcessingNormals__10CSkinRulesFiPPUs -/* 80353F60 00350EC0 80 19 00 0C */ lwz r0, 0xc(r25) -/* 80353F64 00350EC4 7C 7B 1B 78 */ mr r27, r3 -/* 80353F68 00350EC8 80 81 00 08 */ lwz r4, 8(r1) -/* 80353F6C 00350ECC 7F 45 D3 78 */ mr r5, r26 -/* 80353F70 00350ED0 7C 60 F2 14 */ add r3, r0, r30 -/* 80353F74 00350ED4 7F 66 DB 78 */ mr r6, r27 -/* 80353F78 00350ED8 48 00 09 F1 */ bl BuildNormals__12CVirtualBoneCFPCUsPVvi -/* 80353F7C 00350EDC 7F 9C DA 14 */ add r28, r28, r27 -lbl_80353F80: -/* 80353F80 00350EE0 7C 1C F8 00 */ cmpw r28, r31 -/* 80353F84 00350EE4 41 80 FF D0 */ blt lbl_80353F54 -/* 80353F88 00350EE8 3B DE 00 74 */ addi r30, r30, 0x74 -/* 80353F8C 00350EEC 3B BD 00 01 */ addi r29, r29, 1 -lbl_80353F90: -/* 80353F90 00350EF0 80 19 00 04 */ lwz r0, 4(r25) -/* 80353F94 00350EF4 7C 1D 00 00 */ cmpw r29, r0 -/* 80353F98 00350EF8 41 80 FF A0 */ blt lbl_80353F38 -/* 80353F9C 00350EFC BB 21 00 14 */ lmw r25, 0x14(r1) -/* 80353FA0 00350F00 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80353FA4 00350F04 7C 08 03 A6 */ mtlr r0 -/* 80353FA8 00350F08 38 21 00 30 */ addi r1, r1, 0x30 -/* 80353FAC 00350F0C 4E 80 00 20 */ blr - -.global BuildPoints__10CSkinRulesCFPVv -BuildPoints__10CSkinRulesCFPVv: -/* 80353FB0 00350F10 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80353FB4 00350F14 7C 08 02 A6 */ mflr r0 -/* 80353FB8 00350F18 90 01 00 34 */ stw r0, 0x34(r1) -/* 80353FBC 00350F1C BF 21 00 14 */ stmw r25, 0x14(r1) -/* 80353FC0 00350F20 7C 79 1B 78 */ mr r25, r3 -/* 80353FC4 00350F24 7C 9A 23 78 */ mr r26, r4 -/* 80353FC8 00350F28 3B A0 00 00 */ li r29, 0 -/* 80353FCC 00350F2C 3B C0 00 00 */ li r30, 0 -/* 80353FD0 00350F30 48 00 00 5C */ b lbl_8035402C -lbl_80353FD4: -/* 80353FD4 00350F34 80 99 00 0C */ lwz r4, 0xc(r25) -/* 80353FD8 00350F38 38 7E 00 1C */ addi r3, r30, 0x1c -/* 80353FDC 00350F3C 38 00 00 00 */ li r0, 0 -/* 80353FE0 00350F40 3B 80 00 00 */ li r28, 0 -/* 80353FE4 00350F44 7F E4 18 2E */ lwzx r31, r4, r3 -/* 80353FE8 00350F48 90 01 00 08 */ stw r0, 8(r1) -/* 80353FEC 00350F4C 48 00 00 30 */ b lbl_8035401C -lbl_80353FF0: -/* 80353FF0 00350F50 7C 7C F8 50 */ subf r3, r28, r31 -/* 80353FF4 00350F54 38 81 00 08 */ addi r4, r1, 8 -/* 80353FF8 00350F58 4B FF F9 F9 */ bl ProcessingPoints__10CSkinRulesFiPPUs -/* 80353FFC 00350F5C 80 19 00 0C */ lwz r0, 0xc(r25) -/* 80354000 00350F60 7C 7B 1B 78 */ mr r27, r3 -/* 80354004 00350F64 80 81 00 08 */ lwz r4, 8(r1) -/* 80354008 00350F68 7F 45 D3 78 */ mr r5, r26 -/* 8035400C 00350F6C 7C 60 F2 14 */ add r3, r0, r30 -/* 80354010 00350F70 7F 66 DB 78 */ mr r6, r27 -/* 80354014 00350F74 48 00 0A 1D */ bl BuildPoints__12CVirtualBoneCFPCUsPVvi -/* 80354018 00350F78 7F 9C DA 14 */ add r28, r28, r27 -lbl_8035401C: -/* 8035401C 00350F7C 7C 1C F8 00 */ cmpw r28, r31 -/* 80354020 00350F80 41 80 FF D0 */ blt lbl_80353FF0 -/* 80354024 00350F84 3B DE 00 74 */ addi r30, r30, 0x74 -/* 80354028 00350F88 3B BD 00 01 */ addi r29, r29, 1 -lbl_8035402C: -/* 8035402C 00350F8C 80 19 00 04 */ lwz r0, 4(r25) -/* 80354030 00350F90 7C 1D 00 00 */ cmpw r29, r0 -/* 80354034 00350F94 41 80 FF A0 */ blt lbl_80353FD4 -/* 80354038 00350F98 BB 21 00 14 */ lmw r25, 0x14(r1) -/* 8035403C 00350F9C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80354040 00350FA0 7C 08 03 A6 */ mtlr r0 -/* 80354044 00350FA4 38 21 00 30 */ addi r1, r1, 0x30 -/* 80354048 00350FA8 4E 80 00 20 */ blr - -.global BuildAccumulatedTransforms__10CSkinRulesCFRC17CPoseAsTransformsRC15CCharLayoutInfo -BuildAccumulatedTransforms__10CSkinRulesCFRC17CPoseAsTransformsRC15CCharLayoutInfo: -/* 8035404C 00350FAC 94 21 FB 20 */ stwu r1, -0x4e0(r1) -/* 80354050 00350FB0 7C 08 02 A6 */ mflr r0 -/* 80354054 00350FB4 90 01 04 E4 */ stw r0, 0x4e4(r1) -/* 80354058 00350FB8 BF 41 04 C8 */ stmw r26, 0x4c8(r1) -/* 8035405C 00350FBC 7C 9C 23 78 */ mr r28, r4 -/* 80354060 00350FC0 7C 7B 1B 78 */ mr r27, r3 -/* 80354064 00350FC4 7C BD 2B 78 */ mr r29, r5 -/* 80354068 00350FC8 3B C1 00 18 */ addi r30, r1, 0x18 -/* 8035406C 00350FCC 3B FC 00 08 */ addi r31, r28, 8 -/* 80354070 00350FD0 88 04 00 D4 */ lbz r0, 0xd4(r4) -/* 80354074 00350FD4 98 01 00 08 */ stb r0, 8(r1) -/* 80354078 00350FD8 48 00 00 A8 */ b lbl_80354120 -lbl_8035407C: -/* 8035407C 00350FDC 28 00 00 03 */ cmplwi r0, 3 -/* 80354080 00350FE0 41 82 00 28 */ beq lbl_803540A8 -/* 80354084 00350FE4 80 9D 00 00 */ lwz r4, 0(r29) -/* 80354088 00350FE8 54 00 0D FC */ rlwinm r0, r0, 1, 0x17, 0x1e -/* 8035408C 00350FEC 7C 64 02 14 */ add r3, r4, r0 -/* 80354090 00350FF0 80 84 00 D0 */ lwz r4, 0xd0(r4) -/* 80354094 00350FF4 88 03 00 09 */ lbz r0, 9(r3) -/* 80354098 00350FF8 54 03 2C F4 */ rlwinm r3, r0, 5, 0x13, 0x1a -/* 8035409C 00350FFC 3B 43 00 04 */ addi r26, r3, 4 -/* 803540A0 00351000 7F 44 D2 14 */ add r26, r4, r26 -/* 803540A4 00351004 48 00 00 0C */ b lbl_803540B0 -lbl_803540A8: -/* 803540A8 00351008 3C 60 80 5A */ lis r3, skZero3f@ha -/* 803540AC 0035100C 3B 43 66 A0 */ addi r26, r3, skZero3f@l -lbl_803540B0: -/* 803540B0 00351010 7F 83 E3 78 */ mr r3, r28 -/* 803540B4 00351014 38 81 00 08 */ addi r4, r1, 8 -/* 803540B8 00351018 48 01 4E C5 */ bl GetTransformMinusOffset__17CPoseAsTransformsCFRC6CSegId -/* 803540BC 0035101C 7C 64 1B 78 */ mr r4, r3 -/* 803540C0 00351020 7F 45 D3 78 */ mr r5, r26 -/* 803540C4 00351024 38 61 00 0C */ addi r3, r1, 0xc -/* 803540C8 00351028 4B FB C1 CD */ bl __ml__9CMatrix3fCFRC9CVector3f -/* 803540CC 0035102C 7F 83 E3 78 */ mr r3, r28 -/* 803540D0 00351030 38 81 00 08 */ addi r4, r1, 8 -/* 803540D4 00351034 48 01 4E 85 */ bl GetOffset__17CPoseAsTransformsCFRC6CSegId -/* 803540D8 00351038 88 01 00 08 */ lbz r0, 8(r1) -/* 803540DC 0035103C C0 23 00 00 */ lfs f1, 0(r3) -/* 803540E0 00351040 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 803540E4 00351044 1C 80 00 0C */ mulli r4, r0, 0xc -/* 803540E8 00351048 C0 83 00 04 */ lfs f4, 4(r3) -/* 803540EC 0035104C 54 00 08 3C */ slwi r0, r0, 1 -/* 803540F0 00351050 C0 61 00 10 */ lfs f3, 0x10(r1) -/* 803540F4 00351054 EC 01 00 28 */ fsubs f0, f1, f0 -/* 803540F8 00351058 C0 43 00 08 */ lfs f2, 8(r3) -/* 803540FC 0035105C 7C 7E 22 14 */ add r3, r30, r4 -/* 80354100 00351060 C0 21 00 14 */ lfs f1, 0x14(r1) -/* 80354104 00351064 EC 64 18 28 */ fsubs f3, f4, f3 -/* 80354108 00351068 D0 03 00 00 */ stfs f0, 0(r3) -/* 8035410C 0035106C 7C 1F 00 AE */ lbzx r0, r31, r0 -/* 80354110 00351070 EC 02 08 28 */ fsubs f0, f2, f1 -/* 80354114 00351074 D0 63 00 04 */ stfs f3, 4(r3) -/* 80354118 00351078 D0 03 00 08 */ stfs f0, 8(r3) -/* 8035411C 0035107C 98 01 00 08 */ stb r0, 8(r1) -lbl_80354120: -/* 80354120 00351080 88 01 00 08 */ lbz r0, 8(r1) -/* 80354124 00351084 28 00 00 00 */ cmplwi r0, 0 -/* 80354128 00351088 40 82 FF 54 */ bne lbl_8035407C -/* 8035412C 0035108C 3B A0 00 00 */ li r29, 0 -/* 80354130 00351090 3B 40 00 00 */ li r26, 0 -/* 80354134 00351094 48 00 00 20 */ b lbl_80354154 -lbl_80354138: -/* 80354138 00351098 80 1B 00 0C */ lwz r0, 0xc(r27) -/* 8035413C 0035109C 7F 84 E3 78 */ mr r4, r28 -/* 80354140 003510A0 7F C5 F3 78 */ mr r5, r30 -/* 80354144 003510A4 7C 60 D2 14 */ add r3, r0, r26 -/* 80354148 003510A8 48 00 09 91 */ bl sub_80354ad8 -/* 8035414C 003510AC 3B 5A 00 74 */ addi r26, r26, 0x74 -/* 80354150 003510B0 3B BD 00 01 */ addi r29, r29, 1 -lbl_80354154: -/* 80354154 003510B4 80 1B 00 04 */ lwz r0, 4(r27) -/* 80354158 003510B8 7C 1D 00 00 */ cmpw r29, r0 -/* 8035415C 003510BC 41 80 FF DC */ blt lbl_80354138 -/* 80354160 003510C0 BB 41 04 C8 */ lmw r26, 0x4c8(r1) -/* 80354164 003510C4 80 01 04 E4 */ lwz r0, 0x4e4(r1) -/* 80354168 003510C8 7C 08 03 A6 */ mtlr r0 -/* 8035416C 003510CC 38 21 04 E0 */ addi r1, r1, 0x4e0 -/* 80354170 003510D0 4E 80 00 20 */ blr - -.global __dt__10CSkinRulesFv -__dt__10CSkinRulesFv: -/* 80354174 003510D4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80354178 003510D8 7C 08 02 A6 */ mflr r0 -/* 8035417C 003510DC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80354180 003510E0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80354184 003510E4 7C 9F 23 78 */ mr r31, r4 -/* 80354188 003510E8 93 C1 00 08 */ stw r30, 8(r1) -/* 8035418C 003510EC 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80354190 003510F0 41 82 00 34 */ beq lbl_803541C4 -/* 80354194 003510F4 80 BE 00 04 */ lwz r5, 4(r30) -/* 80354198 003510F8 38 80 FF FF */ li r4, -1 -/* 8035419C 003510FC 80 0D AA 78 */ lwz r0, lbl_805A9638@sda21(r13) -/* 803541A0 00351100 1C A5 00 74 */ mulli r5, r5, 0x74 -/* 803541A4 00351104 38 A5 00 18 */ addi r5, r5, 0x18 -/* 803541A8 00351108 7C 05 00 50 */ subf r0, r5, r0 -/* 803541AC 0035110C 90 0D AA 78 */ stw r0, lbl_805A9638@sda21(r13) -/* 803541B0 00351110 48 00 00 31 */ bl sub_803541e0 -/* 803541B4 00351114 7F E0 07 35 */ extsh. r0, r31 -/* 803541B8 00351118 40 81 00 0C */ ble lbl_803541C4 -/* 803541BC 0035111C 7F C3 F3 78 */ mr r3, r30 -/* 803541C0 00351120 4B FC 17 71 */ bl Free__7CMemoryFPCv -lbl_803541C4: -/* 803541C4 00351124 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803541C8 00351128 7F C3 F3 78 */ mr r3, r30 -/* 803541CC 0035112C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 803541D0 00351130 83 C1 00 08 */ lwz r30, 8(r1) -/* 803541D4 00351134 7C 08 03 A6 */ mtlr r0 -/* 803541D8 00351138 38 21 00 10 */ addi r1, r1, 0x10 -/* 803541DC 0035113C 4E 80 00 20 */ blr - -.global sub_803541e0 -sub_803541e0: -/* 803541E0 00351140 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 803541E4 00351144 7C 08 02 A6 */ mflr r0 -/* 803541E8 00351148 90 01 00 24 */ stw r0, 0x24(r1) -/* 803541EC 0035114C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 803541F0 00351150 7C 9F 23 78 */ mr r31, r4 -/* 803541F4 00351154 93 C1 00 18 */ stw r30, 0x18(r1) -/* 803541F8 00351158 7C 7E 1B 79 */ or. r30, r3, r3 -/* 803541FC 0035115C 41 82 00 B8 */ beq lbl_803542B4 -/* 80354200 00351160 80 1E 00 04 */ lwz r0, 4(r30) -/* 80354204 00351164 80 DE 00 0C */ lwz r6, 0xc(r30) -/* 80354208 00351168 1C 00 00 74 */ mulli r0, r0, 0x74 -/* 8035420C 0035116C 90 C1 00 10 */ stw r6, 0x10(r1) -/* 80354210 00351170 7C 66 02 14 */ add r3, r6, r0 -/* 80354214 00351174 90 C1 00 14 */ stw r6, 0x14(r1) -/* 80354218 00351178 90 61 00 08 */ stw r3, 8(r1) -/* 8035421C 0035117C 90 61 00 0C */ stw r3, 0xc(r1) -/* 80354220 00351180 48 00 00 6C */ b lbl_8035428C -lbl_80354224: -/* 80354224 00351184 28 06 00 00 */ cmplwi r6, 0 -/* 80354228 00351188 41 82 00 60 */ beq lbl_80354288 -/* 8035422C 0035118C 41 82 00 5C */ beq lbl_80354288 -/* 80354230 00351190 80 E6 00 00 */ lwz r7, 0(r6) -/* 80354234 00351194 38 80 00 00 */ li r4, 0 -/* 80354238 00351198 2C 07 00 00 */ cmpwi r7, 0 -/* 8035423C 0035119C 40 81 00 44 */ ble lbl_80354280 -/* 80354240 003511A0 2C 07 00 08 */ cmpwi r7, 8 -/* 80354244 003511A4 38 A7 FF F8 */ addi r5, r7, -8 -/* 80354248 003511A8 40 81 00 20 */ ble lbl_80354268 -/* 8035424C 003511AC 38 05 00 07 */ addi r0, r5, 7 -/* 80354250 003511B0 54 00 E8 FE */ srwi r0, r0, 3 -/* 80354254 003511B4 7C 09 03 A6 */ mtctr r0 -/* 80354258 003511B8 2C 05 00 00 */ cmpwi r5, 0 -/* 8035425C 003511BC 40 81 00 0C */ ble lbl_80354268 -lbl_80354260: -/* 80354260 003511C0 38 84 00 08 */ addi r4, r4, 8 -/* 80354264 003511C4 42 00 FF FC */ bdnz lbl_80354260 -lbl_80354268: -/* 80354268 003511C8 7C 04 38 50 */ subf r0, r4, r7 -/* 8035426C 003511CC 7C 09 03 A6 */ mtctr r0 -/* 80354270 003511D0 7C 04 38 00 */ cmpw r4, r7 -/* 80354274 003511D4 40 80 00 0C */ bge lbl_80354280 -lbl_80354278: -/* 80354278 003511D8 38 84 00 01 */ addi r4, r4, 1 -/* 8035427C 003511DC 42 00 FF FC */ bdnz lbl_80354278 -lbl_80354280: -/* 80354280 003511E0 38 00 00 00 */ li r0, 0 -/* 80354284 003511E4 90 06 00 00 */ stw r0, 0(r6) -lbl_80354288: -/* 80354288 003511E8 38 C6 00 74 */ addi r6, r6, 0x74 -lbl_8035428C: -/* 8035428C 003511EC 7C 06 18 40 */ cmplw r6, r3 -/* 80354290 003511F0 40 82 FF 94 */ bne lbl_80354224 -/* 80354294 003511F4 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 80354298 003511F8 28 03 00 00 */ cmplwi r3, 0 -/* 8035429C 003511FC 41 82 00 08 */ beq lbl_803542A4 -/* 803542A0 00351200 4B FC 16 91 */ bl Free__7CMemoryFPCv -lbl_803542A4: -/* 803542A4 00351204 7F E0 07 35 */ extsh. r0, r31 -/* 803542A8 00351208 40 81 00 0C */ ble lbl_803542B4 -/* 803542AC 0035120C 7F C3 F3 78 */ mr r3, r30 -/* 803542B0 00351210 4B FC 16 81 */ bl Free__7CMemoryFPCv -lbl_803542B4: -/* 803542B4 00351214 80 01 00 24 */ lwz r0, 0x24(r1) -/* 803542B8 00351218 7F C3 F3 78 */ mr r3, r30 -/* 803542BC 0035121C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 803542C0 00351220 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 803542C4 00351224 7C 08 03 A6 */ mtlr r0 -/* 803542C8 00351228 38 21 00 20 */ addi r1, r1, 0x20 -/* 803542CC 0035122C 4E 80 00 20 */ blr - -.global __ct__10CSkinRulesFR12CInputStream -__ct__10CSkinRulesFR12CInputStream: -/* 803542D0 00351230 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 803542D4 00351234 7C 08 02 A6 */ mflr r0 -/* 803542D8 00351238 90 01 00 24 */ stw r0, 0x24(r1) -/* 803542DC 0035123C 38 A1 00 08 */ addi r5, r1, 8 -/* 803542E0 00351240 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 803542E4 00351244 7C 9F 23 78 */ mr r31, r4 -/* 803542E8 00351248 93 C1 00 18 */ stw r30, 0x18(r1) -/* 803542EC 0035124C 7C 7E 1B 78 */ mr r30, r3 -/* 803542F0 00351250 48 00 00 51 */ bl "__ct__Q24rstl49vector<12CVirtualBone,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" -/* 803542F4 00351254 7F E3 FB 78 */ mr r3, r31 -/* 803542F8 00351258 48 00 02 45 */ bl sub_8035453c -/* 803542FC 0035125C 90 7E 00 10 */ stw r3, 0x10(r30) -/* 80354300 00351260 7F E3 FB 78 */ mr r3, r31 -/* 80354304 00351264 48 00 02 39 */ bl sub_8035453c -/* 80354308 00351268 90 7E 00 14 */ stw r3, 0x14(r30) -/* 8035430C 0035126C 7F C3 F3 78 */ mr r3, r30 -/* 80354310 00351270 80 1E 00 04 */ lwz r0, 4(r30) -/* 80354314 00351274 80 8D AA 78 */ lwz r4, lbl_805A9638@sda21(r13) -/* 80354318 00351278 1C 00 00 74 */ mulli r0, r0, 0x74 -/* 8035431C 0035127C 7C 80 22 14 */ add r4, r0, r4 -/* 80354320 00351280 38 04 00 18 */ addi r0, r4, 0x18 -/* 80354324 00351284 90 0D AA 78 */ stw r0, lbl_805A9638@sda21(r13) -/* 80354328 00351288 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8035432C 0035128C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80354330 00351290 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80354334 00351294 7C 08 03 A6 */ mtlr r0 -/* 80354338 00351298 38 21 00 20 */ addi r1, r1, 0x20 -/* 8035433C 0035129C 4E 80 00 20 */ blr - -.global "__ct__Q24rstl49vector<12CVirtualBone,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" -"__ct__Q24rstl49vector<12CVirtualBone,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator": -/* 80354340 003512A0 94 21 FF 50 */ stwu r1, -0xb0(r1) -/* 80354344 003512A4 7C 08 02 A6 */ mflr r0 -/* 80354348 003512A8 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 8035434C 003512AC 38 00 00 00 */ li r0, 0 -/* 80354350 003512B0 BE E1 00 8C */ stmw r23, 0x8c(r1) -/* 80354354 003512B4 7C 78 1B 78 */ mr r24, r3 -/* 80354358 003512B8 7C 99 23 78 */ mr r25, r4 -/* 8035435C 003512BC 90 03 00 04 */ stw r0, 4(r3) -/* 80354360 003512C0 7F 23 CB 78 */ mr r3, r25 -/* 80354364 003512C4 90 18 00 08 */ stw r0, 8(r24) -/* 80354368 003512C8 90 18 00 0C */ stw r0, 0xc(r24) -/* 8035436C 003512CC 4B FE A9 19 */ bl ReadLong__12CInputStreamFv -/* 80354370 003512D0 7C 7E 1B 78 */ mr r30, r3 -/* 80354374 003512D4 7F 03 C3 78 */ mr r3, r24 -/* 80354378 003512D8 7F C4 F3 78 */ mr r4, r30 -/* 8035437C 003512DC 48 00 02 51 */ bl sub_803545cc -/* 80354380 003512E0 3B A1 00 10 */ addi r29, r1, 0x10 -/* 80354384 003512E4 3B 81 00 2C */ addi r28, r1, 0x2c -/* 80354388 003512E8 3B 61 00 5C */ addi r27, r1, 0x5c -/* 8035438C 003512EC 3B E1 00 08 */ addi r31, r1, 8 -/* 80354390 003512F0 3B 40 00 00 */ li r26, 0 -/* 80354394 003512F4 48 00 01 28 */ b lbl_803544BC -lbl_80354398: -/* 80354398 003512F8 88 0D AA 48 */ lbz r0, lbl_805A9608@sda21(r13) -/* 8035439C 003512FC 7F 24 CB 78 */ mr r4, r25 -/* 803543A0 00351300 7F E5 FB 78 */ mr r5, r31 -/* 803543A4 00351304 38 61 00 0C */ addi r3, r1, 0xc -/* 803543A8 00351308 98 01 00 08 */ stb r0, 8(r1) -/* 803543AC 0035130C 48 00 01 31 */ bl "Get<12CVirtualBone>__12CInputStreamFRC21TType<12CVirtualBone>" -/* 803543B0 00351310 80 18 00 04 */ lwz r0, 4(r24) -/* 803543B4 00351314 80 B8 00 08 */ lwz r5, 8(r24) -/* 803543B8 00351318 7C 00 28 00 */ cmpw r0, r5 -/* 803543BC 0035131C 41 80 00 1C */ blt lbl_803543D8 -/* 803543C0 00351320 2C 05 00 00 */ cmpwi r5, 0 -/* 803543C4 00351324 7F 03 C3 78 */ mr r3, r24 -/* 803543C8 00351328 38 80 00 04 */ li r4, 4 -/* 803543CC 0035132C 41 82 00 08 */ beq lbl_803543D4 -/* 803543D0 00351330 54 A4 08 3C */ slwi r4, r5, 1 -lbl_803543D4: -/* 803543D4 00351334 48 00 01 F9 */ bl sub_803545cc -lbl_803543D8: -/* 803543D8 00351338 80 18 00 04 */ lwz r0, 4(r24) -/* 803543DC 0035133C 80 78 00 0C */ lwz r3, 0xc(r24) -/* 803543E0 00351340 1C 00 00 74 */ mulli r0, r0, 0x74 -/* 803543E4 00351344 7C 63 02 15 */ add. r3, r3, r0 -/* 803543E8 00351348 41 82 00 6C */ beq lbl_80354454 -/* 803543EC 0035134C 80 01 00 0C */ lwz r0, 0xc(r1) -/* 803543F0 00351350 38 A3 00 04 */ addi r5, r3, 4 -/* 803543F4 00351354 7C 77 1B 78 */ mr r23, r3 -/* 803543F8 00351358 7F A4 EB 78 */ mr r4, r29 -/* 803543FC 0035135C 90 03 00 00 */ stw r0, 0(r3) -/* 80354400 00351360 80 03 00 00 */ lwz r0, 0(r3) -/* 80354404 00351364 7C 09 03 A6 */ mtctr r0 -/* 80354408 00351368 2C 00 00 00 */ cmpwi r0, 0 -/* 8035440C 0035136C 40 81 00 28 */ ble lbl_80354434 -lbl_80354410: -/* 80354410 00351370 28 05 00 00 */ cmplwi r5, 0 -/* 80354414 00351374 41 82 00 14 */ beq lbl_80354428 -/* 80354418 00351378 88 04 00 00 */ lbz r0, 0(r4) -/* 8035441C 0035137C 98 05 00 00 */ stb r0, 0(r5) -/* 80354420 00351380 C0 04 00 04 */ lfs f0, 4(r4) -/* 80354424 00351384 D0 05 00 04 */ stfs f0, 4(r5) -lbl_80354428: -/* 80354428 00351388 38 A5 00 08 */ addi r5, r5, 8 -/* 8035442C 0035138C 38 84 00 08 */ addi r4, r4, 8 -/* 80354430 00351390 42 00 FF E0 */ bdnz lbl_80354410 -lbl_80354434: -/* 80354434 00351394 80 01 00 28 */ lwz r0, 0x28(r1) -/* 80354438 00351398 7F 84 E3 78 */ mr r4, r28 -/* 8035443C 0035139C 38 77 00 20 */ addi r3, r23, 0x20 -/* 80354440 003513A0 90 17 00 1C */ stw r0, 0x1c(r23) -/* 80354444 003513A4 4B FB E7 31 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80354448 003513A8 7F 64 DB 78 */ mr r4, r27 -/* 8035444C 003513AC 38 77 00 50 */ addi r3, r23, 0x50 -/* 80354450 003513B0 4B FB BB D5 */ bl __ct__9CMatrix3fFRC9CMatrix3f -lbl_80354454: -/* 80354454 003513B4 80 78 00 04 */ lwz r3, 4(r24) -/* 80354458 003513B8 38 80 00 00 */ li r4, 0 -/* 8035445C 003513BC 38 03 00 01 */ addi r0, r3, 1 -/* 80354460 003513C0 90 18 00 04 */ stw r0, 4(r24) -/* 80354464 003513C4 80 A1 00 0C */ lwz r5, 0xc(r1) -/* 80354468 003513C8 2C 05 00 00 */ cmpwi r5, 0 -/* 8035446C 003513CC 40 81 00 44 */ ble lbl_803544B0 -/* 80354470 003513D0 2C 05 00 08 */ cmpwi r5, 8 -/* 80354474 003513D4 38 65 FF F8 */ addi r3, r5, -8 -/* 80354478 003513D8 40 81 00 20 */ ble lbl_80354498 -/* 8035447C 003513DC 38 03 00 07 */ addi r0, r3, 7 -/* 80354480 003513E0 54 00 E8 FE */ srwi r0, r0, 3 -/* 80354484 003513E4 7C 09 03 A6 */ mtctr r0 -/* 80354488 003513E8 2C 03 00 00 */ cmpwi r3, 0 -/* 8035448C 003513EC 40 81 00 0C */ ble lbl_80354498 -lbl_80354490: -/* 80354490 003513F0 38 84 00 08 */ addi r4, r4, 8 -/* 80354494 003513F4 42 00 FF FC */ bdnz lbl_80354490 -lbl_80354498: -/* 80354498 003513F8 7C 04 28 50 */ subf r0, r4, r5 -/* 8035449C 003513FC 7C 09 03 A6 */ mtctr r0 -/* 803544A0 00351400 7C 04 28 00 */ cmpw r4, r5 -/* 803544A4 00351404 40 80 00 0C */ bge lbl_803544B0 -lbl_803544A8: -/* 803544A8 00351408 38 84 00 01 */ addi r4, r4, 1 -/* 803544AC 0035140C 42 00 FF FC */ bdnz lbl_803544A8 -lbl_803544B0: -/* 803544B0 00351410 38 00 00 00 */ li r0, 0 -/* 803544B4 00351414 3B 5A 00 01 */ addi r26, r26, 1 -/* 803544B8 00351418 90 01 00 0C */ stw r0, 0xc(r1) -lbl_803544BC: -/* 803544BC 0035141C 7C 1A F0 00 */ cmpw r26, r30 -/* 803544C0 00351420 41 80 FE D8 */ blt lbl_80354398 -/* 803544C4 00351424 7F 03 C3 78 */ mr r3, r24 -/* 803544C8 00351428 BA E1 00 8C */ lmw r23, 0x8c(r1) -/* 803544CC 0035142C 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 803544D0 00351430 7C 08 03 A6 */ mtlr r0 -/* 803544D4 00351434 38 21 00 B0 */ addi r1, r1, 0xb0 -/* 803544D8 00351438 4E 80 00 20 */ blr - -.global "Get<12CVirtualBone>__12CInputStreamFRC21TType<12CVirtualBone>" -"Get<12CVirtualBone>__12CInputStreamFRC21TType<12CVirtualBone>": -/* 803544DC 0035143C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 803544E0 00351440 7C 08 02 A6 */ mflr r0 -/* 803544E4 00351444 7C 85 23 78 */ mr r5, r4 -/* 803544E8 00351448 90 01 00 24 */ stw r0, 0x24(r1) -/* 803544EC 0035144C 38 81 00 08 */ addi r4, r1, 8 -/* 803544F0 00351450 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 803544F4 00351454 7C 7F 1B 78 */ mr r31, r3 -/* 803544F8 00351458 88 0D AA 4C */ lbz r0, lbl_805A960C@sda21(r13) -/* 803544FC 0035145C 98 01 00 08 */ stb r0, 8(r1) -/* 80354500 00351460 48 00 00 19 */ bl "cinput_stream_helper<12CVirtualBone>__FRC21TType<12CVirtualBone>R12CInputStream" -/* 80354504 00351464 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80354508 00351468 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8035450C 0035146C 7C 08 03 A6 */ mtlr r0 -/* 80354510 00351470 38 21 00 20 */ addi r1, r1, 0x20 -/* 80354514 00351474 4E 80 00 20 */ blr - -.global "cinput_stream_helper<12CVirtualBone>__FRC21TType<12CVirtualBone>R12CInputStream" -"cinput_stream_helper<12CVirtualBone>__FRC21TType<12CVirtualBone>R12CInputStream": -/* 80354518 00351478 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8035451C 0035147C 7C 08 02 A6 */ mflr r0 -/* 80354520 00351480 7C A4 2B 78 */ mr r4, r5 -/* 80354524 00351484 90 01 00 14 */ stw r0, 0x14(r1) -/* 80354528 00351488 48 00 09 51 */ bl __ct__12CVirtualBoneFR12CInputStream -/* 8035452C 0035148C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80354530 00351490 7C 08 03 A6 */ mtlr r0 -/* 80354534 00351494 38 21 00 10 */ addi r1, r1, 0x10 -/* 80354538 00351498 4E 80 00 20 */ blr - -.global sub_8035453c -sub_8035453c: -/* 8035453C 0035149C 94 21 FC D0 */ stwu r1, -0x330(r1) -/* 80354540 003514A0 7C 08 02 A6 */ mflr r0 -/* 80354544 003514A4 90 01 03 34 */ stw r0, 0x334(r1) -/* 80354548 003514A8 BF 61 03 1C */ stmw r27, 0x31c(r1) -/* 8035454C 003514AC 7C 7B 1B 78 */ mr r27, r3 -/* 80354550 003514B0 4B FE A7 35 */ bl ReadLong__12CInputStreamFv -/* 80354554 003514B4 7C 7F 1B 78 */ mr r31, r3 -/* 80354558 003514B8 2C 1F FF FF */ cmpwi r31, -1 -/* 8035455C 003514BC 40 82 00 10 */ bne lbl_8035456C -/* 80354560 003514C0 7F 63 DB 78 */ mr r3, r27 -/* 80354564 003514C4 4B FE A7 21 */ bl ReadLong__12CInputStreamFv -/* 80354568 003514C8 48 00 00 50 */ b lbl_803545B8 -lbl_8035456C: -/* 8035456C 003514CC 1F DF 00 03 */ mulli r30, r31, 3 -/* 80354570 003514D0 3B A0 00 00 */ li r29, 0 -/* 80354574 003514D4 48 00 00 38 */ b lbl_803545AC -lbl_80354578: -/* 80354578 003514D8 80 0D 9E 00 */ lwz r0, lbl_805A89C0@sda21(r13) -/* 8035457C 003514DC 7C 9D F0 50 */ subf r4, r29, r30 -/* 80354580 003514E0 90 81 00 08 */ stw r4, 8(r1) -/* 80354584 003514E4 38 61 00 08 */ addi r3, r1, 8 -/* 80354588 003514E8 7C 00 20 00 */ cmpw r0, r4 -/* 8035458C 003514EC 40 80 00 08 */ bge lbl_80354594 -/* 80354590 003514F0 38 6D 9E 00 */ addi r3, r13, lbl_805A89C0@sda21 -lbl_80354594: -/* 80354594 003514F4 83 83 00 00 */ lwz r28, 0(r3) -/* 80354598 003514F8 7F 63 DB 78 */ mr r3, r27 -/* 8035459C 003514FC 38 81 00 0C */ addi r4, r1, 0xc -/* 803545A0 00351500 57 85 10 3A */ slwi r5, r28, 2 -/* 803545A4 00351504 4B FE A9 B1 */ bl Get__12CInputStreamFPvUl -/* 803545A8 00351508 7F BD E2 14 */ add r29, r29, r28 -lbl_803545AC: -/* 803545AC 0035150C 7C 1D F0 00 */ cmpw r29, r30 -/* 803545B0 00351510 41 80 FF C8 */ blt lbl_80354578 -/* 803545B4 00351514 7F E3 FB 78 */ mr r3, r31 -lbl_803545B8: -/* 803545B8 00351518 BB 61 03 1C */ lmw r27, 0x31c(r1) -/* 803545BC 0035151C 80 01 03 34 */ lwz r0, 0x334(r1) -/* 803545C0 00351520 7C 08 03 A6 */ mtlr r0 -/* 803545C4 00351524 38 21 03 30 */ addi r1, r1, 0x330 -/* 803545C8 00351528 4E 80 00 20 */ blr - -.global sub_803545cc -sub_803545cc: -/* 803545CC 0035152C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 803545D0 00351530 7C 08 02 A6 */ mflr r0 -/* 803545D4 00351534 90 01 00 34 */ stw r0, 0x34(r1) -/* 803545D8 00351538 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 803545DC 0035153C 7C 9F 23 78 */ mr r31, r4 -/* 803545E0 00351540 93 C1 00 28 */ stw r30, 0x28(r1) -/* 803545E4 00351544 7C 7E 1B 78 */ mr r30, r3 -/* 803545E8 00351548 93 A1 00 24 */ stw r29, 0x24(r1) -/* 803545EC 0035154C 80 03 00 08 */ lwz r0, 8(r3) -/* 803545F0 00351550 7C 1F 00 00 */ cmpw r31, r0 -/* 803545F4 00351554 40 81 00 FC */ ble lbl_803546F0 -/* 803545F8 00351558 1C 7F 00 74 */ mulli r3, r31, 0x74 -/* 803545FC 0035155C 2C 03 00 00 */ cmpwi r3, 0 -/* 80354600 00351560 40 82 00 0C */ bne lbl_8035460C -/* 80354604 00351564 3B A0 00 00 */ li r29, 0 -/* 80354608 00351568 48 00 00 18 */ b lbl_80354620 -lbl_8035460C: -/* 8035460C 0035156C 3C 80 80 3E */ lis r4, lbl_803D8300@ha -/* 80354610 00351570 38 A0 00 00 */ li r5, 0 -/* 80354614 00351574 38 84 83 00 */ addi r4, r4, lbl_803D8300@l -/* 80354618 00351578 4B FC 12 01 */ bl __nwa__FUlPCcPCc -/* 8035461C 0035157C 7C 7D 1B 78 */ mr r29, r3 -lbl_80354620: -/* 80354620 00351580 80 1E 00 04 */ lwz r0, 4(r30) -/* 80354624 00351584 7F A5 EB 78 */ mr r5, r29 -/* 80354628 00351588 80 DE 00 0C */ lwz r6, 0xc(r30) -/* 8035462C 0035158C 38 61 00 14 */ addi r3, r1, 0x14 -/* 80354630 00351590 1C 00 00 74 */ mulli r0, r0, 0x74 -/* 80354634 00351594 38 81 00 0C */ addi r4, r1, 0xc -/* 80354638 00351598 7C C6 02 14 */ add r6, r6, r0 -/* 8035463C 0035159C 90 C1 00 0C */ stw r6, 0xc(r1) -/* 80354640 003515A0 80 1E 00 0C */ lwz r0, 0xc(r30) -/* 80354644 003515A4 90 C1 00 08 */ stw r6, 8(r1) -/* 80354648 003515A8 90 01 00 10 */ stw r0, 0x10(r1) -/* 8035464C 003515AC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80354650 003515B0 48 00 00 BD */ bl sub_8035470c -/* 80354654 003515B4 80 1E 00 04 */ lwz r0, 4(r30) -/* 80354658 003515B8 80 DE 00 0C */ lwz r6, 0xc(r30) -/* 8035465C 003515BC 1C 00 00 74 */ mulli r0, r0, 0x74 -/* 80354660 003515C0 7C 66 02 14 */ add r3, r6, r0 -/* 80354664 003515C4 48 00 00 6C */ b lbl_803546D0 -lbl_80354668: -/* 80354668 003515C8 28 06 00 00 */ cmplwi r6, 0 -/* 8035466C 003515CC 41 82 00 60 */ beq lbl_803546CC -/* 80354670 003515D0 41 82 00 5C */ beq lbl_803546CC -/* 80354674 003515D4 80 E6 00 00 */ lwz r7, 0(r6) -/* 80354678 003515D8 38 80 00 00 */ li r4, 0 -/* 8035467C 003515DC 2C 07 00 00 */ cmpwi r7, 0 -/* 80354680 003515E0 40 81 00 44 */ ble lbl_803546C4 -/* 80354684 003515E4 2C 07 00 08 */ cmpwi r7, 8 -/* 80354688 003515E8 38 A7 FF F8 */ addi r5, r7, -8 -/* 8035468C 003515EC 40 81 00 20 */ ble lbl_803546AC -/* 80354690 003515F0 38 05 00 07 */ addi r0, r5, 7 -/* 80354694 003515F4 54 00 E8 FE */ srwi r0, r0, 3 -/* 80354698 003515F8 7C 09 03 A6 */ mtctr r0 -/* 8035469C 003515FC 2C 05 00 00 */ cmpwi r5, 0 -/* 803546A0 00351600 40 81 00 0C */ ble lbl_803546AC -lbl_803546A4: -/* 803546A4 00351604 38 84 00 08 */ addi r4, r4, 8 -/* 803546A8 00351608 42 00 FF FC */ bdnz lbl_803546A4 -lbl_803546AC: -/* 803546AC 0035160C 7C 04 38 50 */ subf r0, r4, r7 -/* 803546B0 00351610 7C 09 03 A6 */ mtctr r0 -/* 803546B4 00351614 7C 04 38 00 */ cmpw r4, r7 -/* 803546B8 00351618 40 80 00 0C */ bge lbl_803546C4 -lbl_803546BC: -/* 803546BC 0035161C 38 84 00 01 */ addi r4, r4, 1 -/* 803546C0 00351620 42 00 FF FC */ bdnz lbl_803546BC -lbl_803546C4: -/* 803546C4 00351624 38 00 00 00 */ li r0, 0 -/* 803546C8 00351628 90 06 00 00 */ stw r0, 0(r6) -lbl_803546CC: -/* 803546CC 0035162C 38 C6 00 74 */ addi r6, r6, 0x74 -lbl_803546D0: -/* 803546D0 00351630 7C 06 18 40 */ cmplw r6, r3 -/* 803546D4 00351634 40 82 FF 94 */ bne lbl_80354668 -/* 803546D8 00351638 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 803546DC 0035163C 28 03 00 00 */ cmplwi r3, 0 -/* 803546E0 00351640 41 82 00 08 */ beq lbl_803546E8 -/* 803546E4 00351644 4B FC 12 4D */ bl Free__7CMemoryFPCv -lbl_803546E8: -/* 803546E8 00351648 93 BE 00 0C */ stw r29, 0xc(r30) -/* 803546EC 0035164C 93 FE 00 08 */ stw r31, 8(r30) -lbl_803546F0: -/* 803546F0 00351650 80 01 00 34 */ lwz r0, 0x34(r1) -/* 803546F4 00351654 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 803546F8 00351658 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 803546FC 0035165C 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80354700 00351660 7C 08 03 A6 */ mtlr r0 -/* 80354704 00351664 38 21 00 30 */ addi r1, r1, 0x30 -/* 80354708 00351668 4E 80 00 20 */ blr - -.global sub_8035470c -sub_8035470c: -/* 8035470C 0035166C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80354710 00351670 7C 08 02 A6 */ mflr r0 -/* 80354714 00351674 90 01 00 24 */ stw r0, 0x24(r1) -/* 80354718 00351678 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8035471C 0035167C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80354720 00351680 7C BE 2B 78 */ mr r30, r5 -/* 80354724 00351684 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80354728 00351688 7C 9D 23 78 */ mr r29, r4 -/* 8035472C 0035168C 83 E3 00 00 */ lwz r31, 0(r3) -/* 80354730 00351690 48 00 00 78 */ b lbl_803547A8 -lbl_80354734: -/* 80354734 00351694 28 1E 00 00 */ cmplwi r30, 0 -/* 80354738 00351698 41 82 00 68 */ beq lbl_803547A0 -/* 8035473C 0035169C 80 1F 00 00 */ lwz r0, 0(r31) -/* 80354740 003516A0 38 9E 00 04 */ addi r4, r30, 4 -/* 80354744 003516A4 38 7F 00 04 */ addi r3, r31, 4 -/* 80354748 003516A8 90 1E 00 00 */ stw r0, 0(r30) -/* 8035474C 003516AC 80 1E 00 00 */ lwz r0, 0(r30) -/* 80354750 003516B0 7C 09 03 A6 */ mtctr r0 -/* 80354754 003516B4 2C 00 00 00 */ cmpwi r0, 0 -/* 80354758 003516B8 40 81 00 28 */ ble lbl_80354780 -lbl_8035475C: -/* 8035475C 003516BC 28 04 00 00 */ cmplwi r4, 0 -/* 80354760 003516C0 41 82 00 14 */ beq lbl_80354774 -/* 80354764 003516C4 88 03 00 00 */ lbz r0, 0(r3) -/* 80354768 003516C8 98 04 00 00 */ stb r0, 0(r4) -/* 8035476C 003516CC C0 03 00 04 */ lfs f0, 4(r3) -/* 80354770 003516D0 D0 04 00 04 */ stfs f0, 4(r4) -lbl_80354774: -/* 80354774 003516D4 38 84 00 08 */ addi r4, r4, 8 -/* 80354778 003516D8 38 63 00 08 */ addi r3, r3, 8 -/* 8035477C 003516DC 42 00 FF E0 */ bdnz lbl_8035475C -lbl_80354780: -/* 80354780 003516E0 80 1F 00 1C */ lwz r0, 0x1c(r31) -/* 80354784 003516E4 38 7E 00 20 */ addi r3, r30, 0x20 -/* 80354788 003516E8 38 9F 00 20 */ addi r4, r31, 0x20 -/* 8035478C 003516EC 90 1E 00 1C */ stw r0, 0x1c(r30) -/* 80354790 003516F0 4B FB E3 E5 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80354794 003516F4 38 7E 00 50 */ addi r3, r30, 0x50 -/* 80354798 003516F8 38 9F 00 50 */ addi r4, r31, 0x50 -/* 8035479C 003516FC 4B FB B8 89 */ bl __ct__9CMatrix3fFRC9CMatrix3f -lbl_803547A0: -/* 803547A0 00351700 3B DE 00 74 */ addi r30, r30, 0x74 -/* 803547A4 00351704 3B FF 00 74 */ addi r31, r31, 0x74 -lbl_803547A8: -/* 803547A8 00351708 80 1D 00 00 */ lwz r0, 0(r29) -/* 803547AC 0035170C 7C 1F 00 40 */ cmplw r31, r0 -/* 803547B0 00351710 40 82 FF 84 */ bne lbl_80354734 -/* 803547B4 00351714 80 01 00 24 */ lwz r0, 0x24(r1) -/* 803547B8 00351718 7F C3 F3 78 */ mr r3, r30 -/* 803547BC 0035171C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 803547C0 00351720 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 803547C4 00351724 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 803547C8 00351728 7C 08 03 A6 */ mtlr r0 -/* 803547CC 0035172C 38 21 00 20 */ addi r1, r1, 0x20 -/* 803547D0 00351730 4E 80 00 20 */ blr - -.global sub_803547d4 -sub_803547d4: -/* 803547D4 00351734 7D 6B 5A 78 */ xor r11, r11, r11 -/* 803547D8 00351738 39 6B 00 60 */ addi r11, r11, 0x60 -/* 803547DC 0035173C 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 803547E0 00351740 D9 C1 00 08 */ stfd f14, 8(r1) -/* 803547E4 00351744 38 E6 FF FF */ addi r7, r6, -1 -/* 803547E8 00351748 D9 E1 00 10 */ stfd f15, 0x10(r1) -/* 803547EC 0035174C 54 E7 F8 7E */ srwi r7, r7, 1 -/* 803547F0 00351750 DA 01 00 18 */ stfd f16, 0x18(r1) -/* 803547F4 00351754 DA 21 00 20 */ stfd f17, 0x20(r1) -/* 803547F8 00351758 DA 41 00 28 */ stfd f18, 0x28(r1) -/* 803547FC 0035175C 7C E9 03 A6 */ mtctr r7 -/* 80354800 00351760 E0 03 00 00 */ psq_l f0, 0(r3), 0, qr0 -/* 80354804 00351764 38 84 FF F8 */ addi r4, r4, -8 -/* 80354808 00351768 E0 23 80 08 */ psq_l f1, 8(r3), 1, qr0 -/* 8035480C 0035176C E0 C3 00 24 */ psq_l f6, 36(r3), 0, qr0 -/* 80354810 00351770 E5 04 00 08 */ psq_lu f8, 8(r4), 0, qr0 -/* 80354814 00351774 E0 E3 80 2C */ psq_l f7, 44(r3), 1, qr0 -/* 80354818 00351778 E5 24 00 08 */ psq_lu f9, 8(r4), 0, qr0 -/* 8035481C 0035177C 11 60 32 1C */ ps_madds0 f11, f0, f8, f6 -/* 80354820 00351780 E0 43 00 0C */ psq_l f2, 12(r3), 0, qr0 -/* 80354824 00351784 11 81 3A 1C */ ps_madds0 f12, f1, f8, f7 -/* 80354828 00351788 E0 63 80 14 */ psq_l f3, 20(r3), 1, qr0 -/* 8035482C 0035178C 11 A0 32 5E */ ps_madds1 f13, f0, f9, f6 -/* 80354830 00351790 E5 44 00 08 */ psq_lu f10, 8(r4), 0, qr0 -/* 80354834 00351794 11 C1 3A 5E */ ps_madds1 f14, f1, f9, f7 -/* 80354838 00351798 E0 A3 80 20 */ psq_l f5, 32(r3), 1, qr0 -/* 8035483C 0035179C 11 62 5A 1E */ ps_madds1 f11, f2, f8, f11 -/* 80354840 003517A0 11 83 62 1E */ ps_madds1 f12, f3, f8, f12 -/* 80354844 003517A4 E0 83 00 18 */ psq_l f4, 24(r3), 0, qr0 -/* 80354848 003517A8 11 A2 6A 9C */ ps_madds0 f13, f2, f10, f13 -/* 8035484C 003517AC E5 04 00 08 */ psq_lu f8, 8(r4), 0, qr0 -/* 80354850 003517B0 11 C3 72 9C */ ps_madds0 f14, f3, f10, f14 -/* 80354854 003517B4 11 E4 5A 5C */ ps_madds0 f15, f4, f9, f11 -/* 80354858 003517B8 12 05 62 5C */ ps_madds0 f16, f5, f9, f12 -/* 8035485C 003517BC E5 24 00 08 */ psq_lu f9, 8(r4), 0, qr0 -/* 80354860 003517C0 12 24 6A 9E */ ps_madds1 f17, f4, f10, f13 -/* 80354864 003517C4 12 45 72 9E */ ps_madds1 f18, f5, f10, f14 -/* 80354868 003517C8 E5 44 00 08 */ psq_lu f10, 8(r4), 0, qr0 -lbl_8035486C: -/* 8035486C 003517CC 11 60 32 1C */ ps_madds0 f11, f0, f8, f6 -/* 80354870 003517D0 F1 E5 00 00 */ psq_st f15, 0(r5), 0, qr0 -/* 80354874 003517D4 11 81 3A 1C */ ps_madds0 f12, f1, f8, f7 -/* 80354878 003517D8 F2 05 80 00 */ psq_st f16, 0(r5), 1, qr0 -/* 8035487C 003517DC 11 A0 32 5E */ ps_madds1 f13, f0, f9, f6 -/* 80354880 003517E0 F2 25 00 00 */ psq_st f17, 0(r5), 0, qr0 -/* 80354884 003517E4 11 C1 3A 5E */ ps_madds1 f14, f1, f9, f7 -/* 80354888 003517E8 F2 45 80 00 */ psq_st f18, 0(r5), 1, qr0 -/* 8035488C 003517EC 11 62 5A 1E */ ps_madds1 f11, f2, f8, f11 -/* 80354890 003517F0 11 83 62 1E */ ps_madds1 f12, f3, f8, f12 -/* 80354894 003517F4 E5 04 00 08 */ psq_lu f8, 8(r4), 0, qr0 -/* 80354898 003517F8 11 A2 6A 9C */ ps_madds0 f13, f2, f10, f13 -/* 8035489C 003517FC 11 C3 72 9C */ ps_madds0 f14, f3, f10, f14 -/* 803548A0 00351800 11 E4 5A 5C */ ps_madds0 f15, f4, f9, f11 -/* 803548A4 00351804 12 05 62 5C */ ps_madds0 f16, f5, f9, f12 -/* 803548A8 00351808 E5 24 00 08 */ psq_lu f9, 8(r4), 0, qr0 -/* 803548AC 0035180C 12 24 6A 9E */ ps_madds1 f17, f4, f10, f13 -/* 803548B0 00351810 12 45 72 9E */ ps_madds1 f18, f5, f10, f14 -/* 803548B4 00351814 E5 44 00 08 */ psq_lu f10, 8(r4), 0, qr0 -/* 803548B8 00351818 42 00 FF B4 */ bdnz lbl_8035486C -/* 803548BC 0035181C F1 E5 00 00 */ psq_st f15, 0(r5), 0, qr0 -/* 803548C0 00351820 54 C7 07 FF */ clrlwi. r7, r6, 0x1f -/* 803548C4 00351824 F2 05 80 00 */ psq_st f16, 0(r5), 1, qr0 -/* 803548C8 00351828 40 82 00 0C */ bne lbl_803548D4 -/* 803548CC 0035182C F2 25 00 00 */ psq_st f17, 0(r5), 0, qr0 -/* 803548D0 00351830 F2 45 80 00 */ psq_st f18, 0(r5), 1, qr0 -lbl_803548D4: -/* 803548D4 00351834 C9 C1 00 08 */ lfd f14, 8(r1) -/* 803548D8 00351838 C9 E1 00 10 */ lfd f15, 0x10(r1) -/* 803548DC 0035183C CA 01 00 18 */ lfd f16, 0x18(r1) -/* 803548E0 00351840 CA 21 00 20 */ lfd f17, 0x20(r1) -/* 803548E4 00351844 CA 41 00 28 */ lfd f18, 0x28(r1) -/* 803548E8 00351848 38 21 00 40 */ addi r1, r1, 0x40 -/* 803548EC 0035184C 4E 80 00 20 */ blr - -.global sub_803548f0 -sub_803548f0: -/* 803548F0 00351850 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 803548F4 00351854 7C 08 02 A6 */ mflr r0 -/* 803548F8 00351858 90 01 00 34 */ stw r0, 0x34(r1) -/* 803548FC 0035185C BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 80354900 00351860 7C 7B 1B 78 */ mr r27, r3 -/* 80354904 00351864 7C DC 33 78 */ mr r28, r6 -/* 80354908 00351868 7C 9F 23 78 */ mr r31, r4 -/* 8035490C 0035186C 7C BE 2B 78 */ mr r30, r5 -/* 80354910 00351870 3B A0 00 00 */ li r29, 0 -/* 80354914 00351874 48 00 00 38 */ b lbl_8035494C -lbl_80354918: -/* 80354918 00351878 7F E5 FB 78 */ mr r5, r31 -/* 8035491C 0035187C 38 61 00 08 */ addi r3, r1, 8 -/* 80354920 00351880 38 9B 00 50 */ addi r4, r27, 0x50 -/* 80354924 00351884 4B FB B9 71 */ bl __ml__9CMatrix3fCFRC9CVector3f -/* 80354928 00351888 C0 01 00 08 */ lfs f0, 8(r1) -/* 8035492C 0035188C 3B FF 00 0C */ addi r31, r31, 0xc -/* 80354930 00351890 3B BD 00 01 */ addi r29, r29, 1 -/* 80354934 00351894 D0 1E 00 00 */ stfs f0, 0(r30) -/* 80354938 00351898 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 8035493C 0035189C D0 1E 00 04 */ stfs f0, 4(r30) -/* 80354940 003518A0 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 80354944 003518A4 D0 1E 00 08 */ stfs f0, 8(r30) -/* 80354948 003518A8 3B DE 00 0C */ addi r30, r30, 0xc -lbl_8035494C: -/* 8035494C 003518AC 7C 1D E0 00 */ cmpw r29, r28 -/* 80354950 003518B0 41 80 FF C8 */ blt lbl_80354918 -/* 80354954 003518B4 BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 80354958 003518B8 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8035495C 003518BC 7C 08 03 A6 */ mtlr r0 -/* 80354960 003518C0 38 21 00 30 */ addi r1, r1, 0x30 -/* 80354964 003518C4 4E 80 00 20 */ blr - -.global BuildNormals__12CVirtualBoneCFPCUsPVvi -BuildNormals__12CVirtualBoneCFPCUsPVvi: -/* 80354968 003518C8 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 8035496C 003518CC 7C 08 02 A6 */ mflr r0 -/* 80354970 003518D0 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 80354974 003518D4 BF 61 00 8C */ stmw r27, 0x8c(r1) -/* 80354978 003518D8 7C DD 33 78 */ mr r29, r6 -/* 8035497C 003518DC 2C 1D 00 03 */ cmpwi r29, 3 -/* 80354980 003518E0 7C 7B 1B 78 */ mr r27, r3 -/* 80354984 003518E4 7C 9E 23 78 */ mr r30, r4 -/* 80354988 003518E8 7C BC 2B 78 */ mr r28, r5 -/* 8035498C 003518EC 40 80 00 4C */ bge lbl_803549D8 -/* 80354990 003518F0 7F DF F3 78 */ mr r31, r30 -/* 80354994 003518F4 3B C0 00 00 */ li r30, 0 -/* 80354998 003518F8 48 00 00 34 */ b lbl_803549CC -lbl_8035499C: -/* 8035499C 003518FC 7F E5 FB 78 */ mr r5, r31 -/* 803549A0 00351900 38 61 00 14 */ addi r3, r1, 0x14 -/* 803549A4 00351904 38 9B 00 50 */ addi r4, r27, 0x50 -/* 803549A8 00351908 4B FB B8 ED */ bl __ml__9CMatrix3fCFRC9CVector3f -/* 803549AC 0035190C C0 21 00 18 */ lfs f1, 0x18(r1) -/* 803549B0 00351910 3B FF 00 0C */ addi r31, r31, 0xc -/* 803549B4 00351914 C0 41 00 1C */ lfs f2, 0x1c(r1) -/* 803549B8 00351918 3B DE 00 01 */ addi r30, r30, 1 -/* 803549BC 0035191C C0 01 00 14 */ lfs f0, 0x14(r1) -/* 803549C0 00351920 D0 1C 00 00 */ stfs f0, 0(r28) -/* 803549C4 00351924 D0 3C 00 00 */ stfs f1, 0(r28) -/* 803549C8 00351928 D0 5C 00 00 */ stfs f2, 0(r28) -lbl_803549CC: -/* 803549CC 0035192C 7C 1E E8 00 */ cmpw r30, r29 -/* 803549D0 00351930 41 80 FF CC */ blt lbl_8035499C -/* 803549D4 00351934 48 00 00 48 */ b lbl_80354A1C -lbl_803549D8: -/* 803549D8 00351938 C0 02 CC A0 */ lfs f0, lbl_805AE9C0@sda21(r2) -/* 803549DC 0035193C 38 61 00 50 */ addi r3, r1, 0x50 -/* 803549E0 00351940 38 9B 00 50 */ addi r4, r27, 0x50 -/* 803549E4 00351944 38 A1 00 08 */ addi r5, r1, 8 -/* 803549E8 00351948 D0 01 00 08 */ stfs f0, 8(r1) -/* 803549EC 0035194C D0 01 00 0C */ stfs f0, 0xc(r1) -/* 803549F0 00351950 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 803549F4 00351954 4B FB E8 85 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f -/* 803549F8 00351958 38 61 00 50 */ addi r3, r1, 0x50 -/* 803549FC 0035195C 48 00 04 79 */ bl nullsub_22 -/* 80354A00 00351960 38 81 00 20 */ addi r4, r1, 0x20 -/* 80354A04 00351964 48 02 8C CD */ bl PSMTXReorder -/* 80354A08 00351968 7F C4 F3 78 */ mr r4, r30 -/* 80354A0C 0035196C 7F 85 E3 78 */ mr r5, r28 -/* 80354A10 00351970 7F A6 EB 78 */ mr r6, r29 -/* 80354A14 00351974 38 61 00 20 */ addi r3, r1, 0x20 -/* 80354A18 00351978 4B FF FD BD */ bl sub_803547d4 -lbl_80354A1C: -/* 80354A1C 0035197C BB 61 00 8C */ lmw r27, 0x8c(r1) -/* 80354A20 00351980 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 80354A24 00351984 7C 08 03 A6 */ mtlr r0 -/* 80354A28 00351988 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 80354A2C 0035198C 4E 80 00 20 */ blr - -.global BuildPoints__12CVirtualBoneCFPCUsPVvi -BuildPoints__12CVirtualBoneCFPCUsPVvi: -/* 80354A30 00351990 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 80354A34 00351994 7C 08 02 A6 */ mflr r0 -/* 80354A38 00351998 90 01 00 64 */ stw r0, 0x64(r1) -/* 80354A3C 0035199C BF 61 00 4C */ stmw r27, 0x4c(r1) -/* 80354A40 003519A0 7C DD 33 78 */ mr r29, r6 -/* 80354A44 003519A4 2C 1D 00 03 */ cmpwi r29, 3 -/* 80354A48 003519A8 7C 7B 1B 78 */ mr r27, r3 -/* 80354A4C 003519AC 7C 9E 23 78 */ mr r30, r4 -/* 80354A50 003519B0 7C BC 2B 78 */ mr r28, r5 -/* 80354A54 003519B4 40 80 00 4C */ bge lbl_80354AA0 -/* 80354A58 003519B8 7F DF F3 78 */ mr r31, r30 -/* 80354A5C 003519BC 3B C0 00 00 */ li r30, 0 -/* 80354A60 003519C0 48 00 00 34 */ b lbl_80354A94 -lbl_80354A64: -/* 80354A64 003519C4 7F E5 FB 78 */ mr r5, r31 -/* 80354A68 003519C8 38 61 00 08 */ addi r3, r1, 8 -/* 80354A6C 003519CC 38 9B 00 20 */ addi r4, r27, 0x20 -/* 80354A70 003519D0 4B FB E0 79 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 80354A74 003519D4 C0 21 00 0C */ lfs f1, 0xc(r1) -/* 80354A78 003519D8 3B FF 00 0C */ addi r31, r31, 0xc -/* 80354A7C 003519DC C0 41 00 10 */ lfs f2, 0x10(r1) -/* 80354A80 003519E0 3B DE 00 01 */ addi r30, r30, 1 -/* 80354A84 003519E4 C0 01 00 08 */ lfs f0, 8(r1) -/* 80354A88 003519E8 D0 1C 00 00 */ stfs f0, 0(r28) -/* 80354A8C 003519EC D0 3C 00 00 */ stfs f1, 0(r28) -/* 80354A90 003519F0 D0 5C 00 00 */ stfs f2, 0(r28) -lbl_80354A94: -/* 80354A94 003519F4 7C 1E E8 00 */ cmpw r30, r29 -/* 80354A98 003519F8 41 80 FF CC */ blt lbl_80354A64 -/* 80354A9C 003519FC 48 00 00 28 */ b lbl_80354AC4 -lbl_80354AA0: -/* 80354AA0 00351A00 38 7B 00 20 */ addi r3, r27, 0x20 -/* 80354AA4 00351A04 48 00 03 D1 */ bl nullsub_22 -/* 80354AA8 00351A08 38 81 00 14 */ addi r4, r1, 0x14 -/* 80354AAC 00351A0C 48 02 8C 25 */ bl PSMTXReorder -/* 80354AB0 00351A10 7F C4 F3 78 */ mr r4, r30 -/* 80354AB4 00351A14 7F 85 E3 78 */ mr r5, r28 -/* 80354AB8 00351A18 7F A6 EB 78 */ mr r6, r29 -/* 80354ABC 00351A1C 38 61 00 14 */ addi r3, r1, 0x14 -/* 80354AC0 00351A20 4B FF FD 15 */ bl sub_803547d4 -lbl_80354AC4: -/* 80354AC4 00351A24 BB 61 00 4C */ lmw r27, 0x4c(r1) -/* 80354AC8 00351A28 80 01 00 64 */ lwz r0, 0x64(r1) -/* 80354ACC 00351A2C 7C 08 03 A6 */ mtlr r0 -/* 80354AD0 00351A30 38 21 00 60 */ addi r1, r1, 0x60 -/* 80354AD4 00351A34 4E 80 00 20 */ blr - -.global sub_80354ad8 -sub_80354ad8: -/* 80354AD8 00351A38 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80354ADC 00351A3C 7C 08 02 A6 */ mflr r0 -/* 80354AE0 00351A40 90 01 00 14 */ stw r0, 0x14(r1) -/* 80354AE4 00351A44 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80354AE8 00351A48 7C 9F 23 78 */ mr r31, r4 -/* 80354AEC 00351A4C 93 C1 00 08 */ stw r30, 8(r1) -/* 80354AF0 00351A50 7C 7E 1B 78 */ mr r30, r3 -/* 80354AF4 00351A54 48 00 00 35 */ bl sub_80354b28 -/* 80354AF8 00351A58 7F E3 FB 78 */ mr r3, r31 -/* 80354AFC 00351A5C 38 9E 00 04 */ addi r4, r30, 4 -/* 80354B00 00351A60 48 01 44 9D */ bl GetRotation__17CPoseAsTransformsCFRC6CSegId -/* 80354B04 00351A64 7C 64 1B 78 */ mr r4, r3 -/* 80354B08 00351A68 38 7E 00 50 */ addi r3, r30, 0x50 -/* 80354B0C 00351A6C 4B FB B4 ED */ bl __as__9CMatrix3fFRC9CMatrix3f -/* 80354B10 00351A70 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80354B14 00351A74 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80354B18 00351A78 83 C1 00 08 */ lwz r30, 8(r1) -/* 80354B1C 00351A7C 7C 08 03 A6 */ mtlr r0 -/* 80354B20 00351A80 38 21 00 10 */ addi r1, r1, 0x10 -/* 80354B24 00351A84 4E 80 00 20 */ blr - -.global sub_80354b28 -sub_80354b28: -/* 80354B28 00351A88 94 21 FF 40 */ stwu r1, -0xc0(r1) -/* 80354B2C 00351A8C 7C 08 02 A6 */ mflr r0 -/* 80354B30 00351A90 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 80354B34 00351A94 DB E1 00 B0 */ stfd f31, 0xb0(r1) -/* 80354B38 00351A98 F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0 -/* 80354B3C 00351A9C DB C1 00 A0 */ stfd f30, 0xa0(r1) -/* 80354B40 00351AA0 F3 C1 00 A8 */ psq_st f30, 168(r1), 0, qr0 -/* 80354B44 00351AA4 DB A1 00 90 */ stfd f29, 0x90(r1) -/* 80354B48 00351AA8 F3 A1 00 98 */ psq_st f29, 152(r1), 0, qr0 -/* 80354B4C 00351AAC BF 21 00 74 */ stmw r25, 0x74(r1) -/* 80354B50 00351AB0 7C 7D 1B 78 */ mr r29, r3 -/* 80354B54 00351AB4 7C 9E 23 78 */ mr r30, r4 -/* 80354B58 00351AB8 80 03 00 00 */ lwz r0, 0(r3) -/* 80354B5C 00351ABC 7C BF 2B 78 */ mr r31, r5 -/* 80354B60 00351AC0 2C 00 00 02 */ cmpwi r0, 2 -/* 80354B64 00351AC4 41 82 00 50 */ beq lbl_80354BB4 -/* 80354B68 00351AC8 40 80 00 10 */ bge lbl_80354B78 -/* 80354B6C 00351ACC 2C 00 00 01 */ cmpwi r0, 1 -/* 80354B70 00351AD0 40 80 00 14 */ bge lbl_80354B84 -/* 80354B74 00351AD4 48 00 01 D0 */ b lbl_80354D44 -lbl_80354B78: -/* 80354B78 00351AD8 2C 00 00 04 */ cmpwi r0, 4 -/* 80354B7C 00351ADC 40 80 01 C8 */ bge lbl_80354D44 -/* 80354B80 00351AE0 48 00 00 98 */ b lbl_80354C18 -lbl_80354B84: -/* 80354B84 00351AE4 88 1D 00 04 */ lbz r0, 4(r29) -/* 80354B88 00351AE8 7F C3 F3 78 */ mr r3, r30 -/* 80354B8C 00351AEC 38 81 00 08 */ addi r4, r1, 8 -/* 80354B90 00351AF0 98 01 00 08 */ stb r0, 8(r1) -/* 80354B94 00351AF4 48 01 43 E9 */ bl GetTransformMinusOffset__17CPoseAsTransformsCFRC6CSegId -/* 80354B98 00351AF8 88 01 00 08 */ lbz r0, 8(r1) -/* 80354B9C 00351AFC 7C 64 1B 78 */ mr r4, r3 -/* 80354BA0 00351B00 38 7D 00 20 */ addi r3, r29, 0x20 -/* 80354BA4 00351B04 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80354BA8 00351B08 7C BF 02 14 */ add r5, r31, r0 -/* 80354BAC 00351B0C 48 00 02 81 */ bl sub_80354e2c -/* 80354BB0 00351B10 48 00 01 A4 */ b lbl_80354D54 -lbl_80354BB4: -/* 80354BB4 00351B14 3B 9D 00 04 */ addi r28, r29, 4 -/* 80354BB8 00351B18 C3 FD 00 08 */ lfs f31, 8(r29) -/* 80354BBC 00351B1C C3 DD 00 10 */ lfs f30, 0x10(r29) -/* 80354BC0 00351B20 3B 7D 00 0C */ addi r27, r29, 0xc -/* 80354BC4 00351B24 7F C3 F3 78 */ mr r3, r30 -/* 80354BC8 00351B28 7F 84 E3 78 */ mr r4, r28 -/* 80354BCC 00351B2C 48 01 43 B1 */ bl GetTransformMinusOffset__17CPoseAsTransformsCFRC6CSegId -/* 80354BD0 00351B30 7C 60 1B 78 */ mr r0, r3 -/* 80354BD4 00351B34 7F C3 F3 78 */ mr r3, r30 -/* 80354BD8 00351B38 7C 1A 03 78 */ mr r26, r0 -/* 80354BDC 00351B3C 7F 64 DB 78 */ mr r4, r27 -/* 80354BE0 00351B40 48 01 43 9D */ bl GetTransformMinusOffset__17CPoseAsTransformsCFRC6CSegId -/* 80354BE4 00351B44 88 9C 00 00 */ lbz r4, 0(r28) -/* 80354BE8 00351B48 7C 66 1B 78 */ mr r6, r3 -/* 80354BEC 00351B4C 88 1B 00 00 */ lbz r0, 0(r27) -/* 80354BF0 00351B50 FC 20 F8 90 */ fmr f1, f31 -/* 80354BF4 00351B54 1C A4 00 0C */ mulli r5, r4, 0xc -/* 80354BF8 00351B58 FC 40 F0 90 */ fmr f2, f30 -/* 80354BFC 00351B5C 7F 44 D3 78 */ mr r4, r26 -/* 80354C00 00351B60 38 7D 00 20 */ addi r3, r29, 0x20 -/* 80354C04 00351B64 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80354C08 00351B68 7C BF 2A 14 */ add r5, r31, r5 -/* 80354C0C 00351B6C 7C FF 02 14 */ add r7, r31, r0 -/* 80354C10 00351B70 48 00 01 71 */ bl sub_80354d80 -/* 80354C14 00351B74 48 00 01 40 */ b lbl_80354D54 -lbl_80354C18: -/* 80354C18 00351B78 3B 9D 00 04 */ addi r28, r29, 4 -/* 80354C1C 00351B7C C3 DD 00 08 */ lfs f30, 8(r29) -/* 80354C20 00351B80 C3 BD 00 10 */ lfs f29, 0x10(r29) -/* 80354C24 00351B84 3B 7D 00 0C */ addi r27, r29, 0xc -/* 80354C28 00351B88 C3 FD 00 18 */ lfs f31, 0x18(r29) -/* 80354C2C 00351B8C 3B 5D 00 14 */ addi r26, r29, 0x14 -/* 80354C30 00351B90 7F C3 F3 78 */ mr r3, r30 -/* 80354C34 00351B94 7F 84 E3 78 */ mr r4, r28 -/* 80354C38 00351B98 48 01 43 45 */ bl GetTransformMinusOffset__17CPoseAsTransformsCFRC6CSegId -/* 80354C3C 00351B9C 7C 60 1B 78 */ mr r0, r3 -/* 80354C40 00351BA0 7F C3 F3 78 */ mr r3, r30 -/* 80354C44 00351BA4 7C 19 03 78 */ mr r25, r0 -/* 80354C48 00351BA8 7F 64 DB 78 */ mr r4, r27 -/* 80354C4C 00351BAC 48 01 43 31 */ bl GetTransformMinusOffset__17CPoseAsTransformsCFRC6CSegId -/* 80354C50 00351BB0 FC 20 F0 90 */ fmr f1, f30 -/* 80354C54 00351BB4 7C 65 1B 78 */ mr r5, r3 -/* 80354C58 00351BB8 FC 40 E8 90 */ fmr f2, f29 -/* 80354C5C 00351BBC 7F 24 CB 78 */ mr r4, r25 -/* 80354C60 00351BC0 38 61 00 48 */ addi r3, r1, 0x48 -/* 80354C64 00351BC4 4B FB B9 61 */ bl __ct__9CMatrix3fFRC9CMatrix3ffRC9CMatrix3ff -/* 80354C68 00351BC8 88 9B 00 00 */ lbz r4, 0(r27) -/* 80354C6C 00351BCC FC 20 F8 90 */ fmr f1, f31 -/* 80354C70 00351BD0 88 1C 00 00 */ lbz r0, 0(r28) -/* 80354C74 00351BD4 7F C3 F3 78 */ mr r3, r30 -/* 80354C78 00351BD8 1C C4 00 0C */ mulli r6, r4, 0xc -/* 80354C7C 00351BDC 7F 44 D3 78 */ mr r4, r26 -/* 80354C80 00351BE0 38 A1 00 48 */ addi r5, r1, 0x48 -/* 80354C84 00351BE4 7C DF 32 14 */ add r6, r31, r6 -/* 80354C88 00351BE8 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80354C8C 00351BEC C0 66 00 04 */ lfs f3, 4(r6) -/* 80354C90 00351BF0 C0 46 00 08 */ lfs f2, 8(r6) -/* 80354C94 00351BF4 C0 06 00 00 */ lfs f0, 0(r6) -/* 80354C98 00351BF8 EC BD 00 F2 */ fmuls f5, f29, f3 -/* 80354C9C 00351BFC 7C DF 02 14 */ add r6, r31, r0 -/* 80354CA0 00351C00 C0 C6 00 04 */ lfs f6, 4(r6) -/* 80354CA4 00351C04 EC 7D 00 B2 */ fmuls f3, f29, f2 -/* 80354CA8 00351C08 C0 86 00 08 */ lfs f4, 8(r6) -/* 80354CAC 00351C0C EC 1D 00 32 */ fmuls f0, f29, f0 -/* 80354CB0 00351C10 C0 46 00 00 */ lfs f2, 0(r6) -/* 80354CB4 00351C14 EC DE 01 B2 */ fmuls f6, f30, f6 -/* 80354CB8 00351C18 EC 9E 01 32 */ fmuls f4, f30, f4 -/* 80354CBC 00351C1C EC 5E 00 B2 */ fmuls f2, f30, f2 -/* 80354CC0 00351C20 EC A6 28 2A */ fadds f5, f6, f5 -/* 80354CC4 00351C24 EC 64 18 2A */ fadds f3, f4, f3 -/* 80354CC8 00351C28 EC 02 00 2A */ fadds f0, f2, f0 -/* 80354CCC 00351C2C D0 A1 00 10 */ stfs f5, 0x10(r1) -/* 80354CD0 00351C30 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 80354CD4 00351C34 D0 61 00 14 */ stfs f3, 0x14(r1) -/* 80354CD8 00351C38 48 01 42 39 */ bl AccumulateScaledTransform__17CPoseAsTransformsCFRC6CSegIdR9CMatrix3ff -/* 80354CDC 00351C3C 88 1A 00 00 */ lbz r0, 0(r26) -/* 80354CE0 00351C40 38 61 00 18 */ addi r3, r1, 0x18 -/* 80354CE4 00351C44 C0 61 00 0C */ lfs f3, 0xc(r1) -/* 80354CE8 00351C48 38 81 00 48 */ addi r4, r1, 0x48 -/* 80354CEC 00351C4C 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80354CF0 00351C50 C0 21 00 10 */ lfs f1, 0x10(r1) -/* 80354CF4 00351C54 C0 01 00 14 */ lfs f0, 0x14(r1) -/* 80354CF8 00351C58 38 A1 00 0C */ addi r5, r1, 0xc -/* 80354CFC 00351C5C 7C DF 02 14 */ add r6, r31, r0 -/* 80354D00 00351C60 C0 A6 00 04 */ lfs f5, 4(r6) -/* 80354D04 00351C64 C0 86 00 08 */ lfs f4, 8(r6) -/* 80354D08 00351C68 C0 46 00 00 */ lfs f2, 0(r6) -/* 80354D0C 00351C6C EC BF 01 72 */ fmuls f5, f31, f5 -/* 80354D10 00351C70 EC 9F 01 32 */ fmuls f4, f31, f4 -/* 80354D14 00351C74 EC 5F 00 B2 */ fmuls f2, f31, f2 -/* 80354D18 00351C78 EC 21 28 2A */ fadds f1, f1, f5 -/* 80354D1C 00351C7C EC 00 20 2A */ fadds f0, f0, f4 -/* 80354D20 00351C80 EC 43 10 2A */ fadds f2, f3, f2 -/* 80354D24 00351C84 D0 21 00 10 */ stfs f1, 0x10(r1) -/* 80354D28 00351C88 D0 41 00 0C */ stfs f2, 0xc(r1) -/* 80354D2C 00351C8C D0 01 00 14 */ stfs f0, 0x14(r1) -/* 80354D30 00351C90 4B FB E5 49 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f -/* 80354D34 00351C94 7C 64 1B 78 */ mr r4, r3 -/* 80354D38 00351C98 38 7D 00 20 */ addi r3, r29, 0x20 -/* 80354D3C 00351C9C 4B FB DE 05 */ bl __as__12CTransform4fFRC12CTransform4f -/* 80354D40 00351CA0 48 00 00 14 */ b lbl_80354D54 -lbl_80354D44: -/* 80354D44 00351CA4 3C 80 80 5A */ lis r4, skIdentity4f@ha -/* 80354D48 00351CA8 38 7D 00 20 */ addi r3, r29, 0x20 -/* 80354D4C 00351CAC 38 84 66 70 */ addi r4, r4, skIdentity4f@l -/* 80354D50 00351CB0 4B FB DD F1 */ bl __as__12CTransform4fFRC12CTransform4f -lbl_80354D54: -/* 80354D54 00351CB4 E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0 -/* 80354D58 00351CB8 CB E1 00 B0 */ lfd f31, 0xb0(r1) -/* 80354D5C 00351CBC E3 C1 00 A8 */ psq_l f30, 168(r1), 0, qr0 -/* 80354D60 00351CC0 CB C1 00 A0 */ lfd f30, 0xa0(r1) -/* 80354D64 00351CC4 E3 A1 00 98 */ psq_l f29, 152(r1), 0, qr0 -/* 80354D68 00351CC8 CB A1 00 90 */ lfd f29, 0x90(r1) -/* 80354D6C 00351CCC BB 21 00 74 */ lmw r25, 0x74(r1) -/* 80354D70 00351CD0 80 01 00 C4 */ lwz r0, 0xc4(r1) -/* 80354D74 00351CD4 7C 08 03 A6 */ mtlr r0 -/* 80354D78 00351CD8 38 21 00 C0 */ addi r1, r1, 0xc0 -/* 80354D7C 00351CDC 4E 80 00 20 */ blr - -.global sub_80354d80 -sub_80354d80: -/* 80354D80 00351CE0 FC 80 08 90 */ fmr f4, f1 -/* 80354D84 00351CE4 E0 04 00 00 */ psq_l f0, 0(r4), 0, qr0 -/* 80354D88 00351CE8 E0 A5 00 00 */ psq_l f5, 0(r5), 0, qr0 -/* 80354D8C 00351CEC E0 24 80 08 */ psq_l f1, 8(r4), 1, qr0 -/* 80354D90 00351CF0 10 E4 14 20 */ ps_merge00 f7, f4, f2 -/* 80354D94 00351CF4 E0 64 80 14 */ psq_l f3, 20(r4), 1, qr0 -/* 80354D98 00351CF8 10 21 2C 20 */ ps_merge00 f1, f1, f5 -/* 80354D9C 00351CFC E0 44 00 0C */ psq_l f2, 12(r4), 0, qr0 -/* 80354DA0 00351D00 10 63 2C 60 */ ps_merge01 f3, f3, f5 -/* 80354DA4 00351D04 E0 84 00 18 */ psq_l f4, 24(r4), 0, qr0 -/* 80354DA8 00351D08 10 00 01 D8 */ ps_muls0 f0, f0, f7 -/* 80354DAC 00351D0C E0 C6 00 00 */ psq_l f6, 0(r6), 0, qr0 -/* 80354DB0 00351D10 E1 07 00 00 */ psq_l f8, 0(r7), 0, qr0 -/* 80354DB4 00351D14 10 21 01 D8 */ ps_muls0 f1, f1, f7 -/* 80354DB8 00351D18 E1 26 80 08 */ psq_l f9, 8(r6), 1, qr0 -/* 80354DBC 00351D1C 10 42 01 D8 */ ps_muls0 f2, f2, f7 -/* 80354DC0 00351D20 10 06 01 DE */ ps_madds1 f0, f6, f7, f0 -/* 80354DC4 00351D24 E1 66 80 14 */ psq_l f11, 20(r6), 1, qr0 -/* 80354DC8 00351D28 11 29 44 20 */ ps_merge00 f9, f9, f8 -/* 80354DCC 00351D2C E1 46 00 0C */ psq_l f10, 12(r6), 0, qr0 -/* 80354DD0 00351D30 E0 C5 80 08 */ psq_l f6, 8(r5), 1, qr0 -/* 80354DD4 00351D34 11 6B 44 60 */ ps_merge01 f11, f11, f8 -/* 80354DD8 00351D38 E0 A4 80 20 */ psq_l f5, 32(r4), 1, qr0 -/* 80354DDC 00351D3C 10 63 01 D8 */ ps_muls0 f3, f3, f7 -/* 80354DE0 00351D40 10 29 09 DE */ ps_madds1 f1, f9, f7, f1 -/* 80354DE4 00351D44 F0 03 00 00 */ psq_st f0, 0(r3), 0, qr0 -/* 80354DE8 00351D48 10 A5 34 20 */ ps_merge00 f5, f5, f6 -/* 80354DEC 00351D4C 10 4A 11 DE */ ps_madds1 f2, f10, f7, f2 -/* 80354DF0 00351D50 E0 C6 00 18 */ psq_l f6, 24(r6), 0, qr0 -/* 80354DF4 00351D54 10 84 01 D8 */ ps_muls0 f4, f4, f7 -/* 80354DF8 00351D58 E1 26 80 20 */ psq_l f9, 32(r6), 1, qr0 -/* 80354DFC 00351D5C 10 6B 19 DE */ ps_madds1 f3, f11, f7, f3 -/* 80354E00 00351D60 E0 07 80 08 */ psq_l f0, 8(r7), 1, qr0 -/* 80354E04 00351D64 10 A5 01 D8 */ ps_muls0 f5, f5, f7 -/* 80354E08 00351D68 F0 23 00 08 */ psq_st f1, 8(r3), 0, qr0 -/* 80354E0C 00351D6C 11 29 04 20 */ ps_merge00 f9, f9, f0 -/* 80354E10 00351D70 10 86 21 DE */ ps_madds1 f4, f6, f7, f4 -/* 80354E14 00351D74 F0 43 00 10 */ psq_st f2, 16(r3), 0, qr0 -/* 80354E18 00351D78 10 A9 29 DE */ ps_madds1 f5, f9, f7, f5 -/* 80354E1C 00351D7C F0 63 00 18 */ psq_st f3, 24(r3), 0, qr0 -/* 80354E20 00351D80 F0 83 00 20 */ psq_st f4, 32(r3), 0, qr0 -/* 80354E24 00351D84 F0 A3 00 28 */ psq_st f5, 40(r3), 0, qr0 -/* 80354E28 00351D88 4E 80 00 20 */ blr - -.global sub_80354e2c -sub_80354e2c: -/* 80354E2C 00351D8C E0 05 00 00 */ psq_l f0, 0(r5), 0, qr0 -/* 80354E30 00351D90 E0 24 80 08 */ psq_l f1, 8(r4), 1, qr0 -/* 80354E34 00351D94 E0 64 80 14 */ psq_l f3, 20(r4), 1, qr0 -/* 80354E38 00351D98 E0 85 80 08 */ psq_l f4, 8(r5), 1, qr0 -/* 80354E3C 00351D9C 10 21 04 20 */ ps_merge00 f1, f1, f0 -/* 80354E40 00351DA0 E0 A4 80 20 */ psq_l f5, 32(r4), 1, qr0 -/* 80354E44 00351DA4 10 63 04 60 */ ps_merge01 f3, f3, f0 -/* 80354E48 00351DA8 E0 04 00 00 */ psq_l f0, 0(r4), 0, qr0 -/* 80354E4C 00351DAC E0 44 00 0C */ psq_l f2, 12(r4), 0, qr0 -/* 80354E50 00351DB0 10 A5 24 20 */ ps_merge00 f5, f5, f4 -/* 80354E54 00351DB4 E0 84 00 18 */ psq_l f4, 24(r4), 0, qr0 -/* 80354E58 00351DB8 F0 03 00 00 */ psq_st f0, 0(r3), 0, qr0 -/* 80354E5C 00351DBC F0 23 00 08 */ psq_st f1, 8(r3), 0, qr0 -/* 80354E60 00351DC0 F0 43 00 10 */ psq_st f2, 16(r3), 0, qr0 -/* 80354E64 00351DC4 F0 63 00 18 */ psq_st f3, 24(r3), 0, qr0 -/* 80354E68 00351DC8 F0 83 00 20 */ psq_st f4, 32(r3), 0, qr0 -/* 80354E6C 00351DCC F0 A3 00 28 */ psq_st f5, 40(r3), 0, qr0 -/* 80354E70 00351DD0 4E 80 00 20 */ blr - -.global nullsub_22 -nullsub_22: -/* 80354E74 00351DD4 4E 80 00 20 */ blr - -.global __ct__12CVirtualBoneFR12CInputStream -__ct__12CVirtualBoneFR12CInputStream: -/* 80354E78 00351DD8 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80354E7C 00351DDC 7C 08 02 A6 */ mflr r0 -/* 80354E80 00351DE0 90 01 00 34 */ stw r0, 0x34(r1) -/* 80354E84 00351DE4 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80354E88 00351DE8 7C 7F 1B 78 */ mr r31, r3 -/* 80354E8C 00351DEC 38 61 00 08 */ addi r3, r1, 8 -/* 80354E90 00351DF0 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80354E94 00351DF4 7C 9E 23 78 */ mr r30, r4 -/* 80354E98 00351DF8 48 00 00 E5 */ bl StreamInSkinWeighting__FR12CInputStream -/* 80354E9C 00351DFC 80 01 00 08 */ lwz r0, 8(r1) -/* 80354EA0 00351E00 38 9F 00 04 */ addi r4, r31, 4 -/* 80354EA4 00351E04 38 61 00 0C */ addi r3, r1, 0xc -/* 80354EA8 00351E08 90 1F 00 00 */ stw r0, 0(r31) -/* 80354EAC 00351E0C 80 1F 00 00 */ lwz r0, 0(r31) -/* 80354EB0 00351E10 7C 09 03 A6 */ mtctr r0 -/* 80354EB4 00351E14 2C 00 00 00 */ cmpwi r0, 0 -/* 80354EB8 00351E18 40 81 00 28 */ ble lbl_80354EE0 -lbl_80354EBC: -/* 80354EBC 00351E1C 28 04 00 00 */ cmplwi r4, 0 -/* 80354EC0 00351E20 41 82 00 14 */ beq lbl_80354ED4 -/* 80354EC4 00351E24 88 03 00 00 */ lbz r0, 0(r3) -/* 80354EC8 00351E28 98 04 00 00 */ stb r0, 0(r4) -/* 80354ECC 00351E2C C0 03 00 04 */ lfs f0, 4(r3) -/* 80354ED0 00351E30 D0 04 00 04 */ stfs f0, 4(r4) -lbl_80354ED4: -/* 80354ED4 00351E34 38 84 00 08 */ addi r4, r4, 8 -/* 80354ED8 00351E38 38 63 00 08 */ addi r3, r3, 8 -/* 80354EDC 00351E3C 42 00 FF E0 */ bdnz lbl_80354EBC -lbl_80354EE0: -/* 80354EE0 00351E40 80 A1 00 08 */ lwz r5, 8(r1) -/* 80354EE4 00351E44 38 60 00 00 */ li r3, 0 -/* 80354EE8 00351E48 2C 05 00 00 */ cmpwi r5, 0 -/* 80354EEC 00351E4C 40 81 00 40 */ ble lbl_80354F2C -/* 80354EF0 00351E50 2C 05 00 08 */ cmpwi r5, 8 -/* 80354EF4 00351E54 38 85 FF F8 */ addi r4, r5, -8 -/* 80354EF8 00351E58 40 81 00 20 */ ble lbl_80354F18 -/* 80354EFC 00351E5C 38 04 00 07 */ addi r0, r4, 7 -/* 80354F00 00351E60 54 00 E8 FE */ srwi r0, r0, 3 -/* 80354F04 00351E64 7C 09 03 A6 */ mtctr r0 -/* 80354F08 00351E68 2C 04 00 00 */ cmpwi r4, 0 -/* 80354F0C 00351E6C 40 81 00 0C */ ble lbl_80354F18 -lbl_80354F10: -/* 80354F10 00351E70 38 63 00 08 */ addi r3, r3, 8 -/* 80354F14 00351E74 42 00 FF FC */ bdnz lbl_80354F10 -lbl_80354F18: -/* 80354F18 00351E78 7C 03 28 50 */ subf r0, r3, r5 -/* 80354F1C 00351E7C 7C 09 03 A6 */ mtctr r0 -/* 80354F20 00351E80 7C 03 28 00 */ cmpw r3, r5 -/* 80354F24 00351E84 40 80 00 08 */ bge lbl_80354F2C -lbl_80354F28: -/* 80354F28 00351E88 42 00 00 00 */ bdnz lbl_80354F28 -lbl_80354F2C: -/* 80354F2C 00351E8C 38 00 00 00 */ li r0, 0 -/* 80354F30 00351E90 7F C3 F3 78 */ mr r3, r30 -/* 80354F34 00351E94 90 01 00 08 */ stw r0, 8(r1) -/* 80354F38 00351E98 4B FE 9D 4D */ bl ReadLong__12CInputStreamFv -/* 80354F3C 00351E9C 3C 80 80 5A */ lis r4, skIdentity4f@ha -/* 80354F40 00351EA0 90 7F 00 1C */ stw r3, 0x1c(r31) -/* 80354F44 00351EA4 38 84 66 70 */ addi r4, r4, skIdentity4f@l -/* 80354F48 00351EA8 38 7F 00 20 */ addi r3, r31, 0x20 -/* 80354F4C 00351EAC 4B FB DC 29 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80354F50 00351EB0 3C 80 80 5A */ lis r4, lbl_805A65FC@ha -/* 80354F54 00351EB4 38 7F 00 50 */ addi r3, r31, 0x50 -/* 80354F58 00351EB8 38 84 65 FC */ addi r4, r4, lbl_805A65FC@l -/* 80354F5C 00351EBC 4B FB B0 C9 */ bl __ct__9CMatrix3fFRC9CMatrix3f -/* 80354F60 00351EC0 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80354F64 00351EC4 7F E3 FB 78 */ mr r3, r31 -/* 80354F68 00351EC8 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80354F6C 00351ECC 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80354F70 00351ED0 7C 08 03 A6 */ mtlr r0 -/* 80354F74 00351ED4 38 21 00 30 */ addi r1, r1, 0x30 -/* 80354F78 00351ED8 4E 80 00 20 */ blr - -.global StreamInSkinWeighting__FR12CInputStream -StreamInSkinWeighting__FR12CInputStream: -/* 80354F7C 00351EDC 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80354F80 00351EE0 7C 08 02 A6 */ mflr r0 -/* 80354F84 00351EE4 90 01 00 44 */ stw r0, 0x44(r1) -/* 80354F88 00351EE8 38 00 00 00 */ li r0, 0 -/* 80354F8C 00351EEC BF 41 00 28 */ stmw r26, 0x28(r1) -/* 80354F90 00351EF0 7C 9F 23 78 */ mr r31, r4 -/* 80354F94 00351EF4 7C 7E 1B 78 */ mr r30, r3 -/* 80354F98 00351EF8 90 01 00 08 */ stw r0, 8(r1) -/* 80354F9C 00351EFC 7F E3 FB 78 */ mr r3, r31 -/* 80354FA0 00351F00 4B FE 9C E5 */ bl ReadLong__12CInputStreamFv -/* 80354FA4 00351F04 7C 7C 1B 78 */ mr r28, r3 -/* 80354FA8 00351F08 2C 1C 00 03 */ cmpwi r28, 3 -/* 80354FAC 00351F0C 40 81 00 78 */ ble lbl_80355024 -/* 80354FB0 00351F10 3B 40 00 00 */ li r26, 0 -/* 80354FB4 00351F14 3B 61 00 0C */ addi r27, r1, 0xc -lbl_80354FB8: -/* 80354FB8 00351F18 7F E3 FB 78 */ mr r3, r31 -/* 80354FBC 00351F1C 4B FE 9C C9 */ bl ReadLong__12CInputStreamFv -/* 80354FC0 00351F20 54 7D 06 3E */ clrlwi r29, r3, 0x18 -/* 80354FC4 00351F24 7F E3 FB 78 */ mr r3, r31 -/* 80354FC8 00351F28 4B FE 9C 61 */ bl ReadFloat__12CInputStreamFv -/* 80354FCC 00351F2C 80 01 00 08 */ lwz r0, 8(r1) -/* 80354FD0 00351F30 54 00 18 38 */ slwi r0, r0, 3 -/* 80354FD4 00351F34 7C 7B 02 15 */ add. r3, r27, r0 -/* 80354FD8 00351F38 41 82 00 0C */ beq lbl_80354FE4 -/* 80354FDC 00351F3C 9B A3 00 00 */ stb r29, 0(r3) -/* 80354FE0 00351F40 D0 23 00 04 */ stfs f1, 4(r3) -lbl_80354FE4: -/* 80354FE4 00351F44 80 61 00 08 */ lwz r3, 8(r1) -/* 80354FE8 00351F48 3B 5A 00 01 */ addi r26, r26, 1 -/* 80354FEC 00351F4C 2C 1A 00 03 */ cmpwi r26, 3 -/* 80354FF0 00351F50 38 03 00 01 */ addi r0, r3, 1 -/* 80354FF4 00351F54 90 01 00 08 */ stw r0, 8(r1) -/* 80354FF8 00351F58 41 80 FF C0 */ blt lbl_80354FB8 -/* 80354FFC 00351F5C 3B 40 00 03 */ li r26, 3 -/* 80355000 00351F60 48 00 00 18 */ b lbl_80355018 -lbl_80355004: -/* 80355004 00351F64 7F E3 FB 78 */ mr r3, r31 -/* 80355008 00351F68 4B FE 9C 7D */ bl ReadLong__12CInputStreamFv -/* 8035500C 00351F6C 7F E3 FB 78 */ mr r3, r31 -/* 80355010 00351F70 4B FE 9C 19 */ bl ReadFloat__12CInputStreamFv -/* 80355014 00351F74 3B 5A 00 01 */ addi r26, r26, 1 -lbl_80355018: -/* 80355018 00351F78 7C 1A E0 00 */ cmpw r26, r28 -/* 8035501C 00351F7C 41 80 FF E8 */ blt lbl_80355004 -/* 80355020 00351F80 48 00 00 54 */ b lbl_80355074 -lbl_80355024: -/* 80355024 00351F84 3B 61 00 0C */ addi r27, r1, 0xc -/* 80355028 00351F88 3B 40 00 00 */ li r26, 0 -/* 8035502C 00351F8C 48 00 00 40 */ b lbl_8035506C -lbl_80355030: -/* 80355030 00351F90 7F E3 FB 78 */ mr r3, r31 -/* 80355034 00351F94 4B FE 9C 51 */ bl ReadLong__12CInputStreamFv -/* 80355038 00351F98 54 7D 06 3E */ clrlwi r29, r3, 0x18 -/* 8035503C 00351F9C 7F E3 FB 78 */ mr r3, r31 -/* 80355040 00351FA0 4B FE 9B E9 */ bl ReadFloat__12CInputStreamFv -/* 80355044 00351FA4 80 01 00 08 */ lwz r0, 8(r1) -/* 80355048 00351FA8 54 00 18 38 */ slwi r0, r0, 3 -/* 8035504C 00351FAC 7C 7B 02 15 */ add. r3, r27, r0 -/* 80355050 00351FB0 41 82 00 0C */ beq lbl_8035505C -/* 80355054 00351FB4 9B A3 00 00 */ stb r29, 0(r3) -/* 80355058 00351FB8 D0 23 00 04 */ stfs f1, 4(r3) -lbl_8035505C: -/* 8035505C 00351FBC 80 61 00 08 */ lwz r3, 8(r1) -/* 80355060 00351FC0 3B 5A 00 01 */ addi r26, r26, 1 -/* 80355064 00351FC4 38 03 00 01 */ addi r0, r3, 1 -/* 80355068 00351FC8 90 01 00 08 */ stw r0, 8(r1) -lbl_8035506C: -/* 8035506C 00351FCC 7C 1A E0 00 */ cmpw r26, r28 -/* 80355070 00351FD0 41 80 FF C0 */ blt lbl_80355030 -lbl_80355074: -/* 80355074 00351FD4 80 01 00 08 */ lwz r0, 8(r1) -/* 80355078 00351FD8 38 81 00 0C */ addi r4, r1, 0xc -/* 8035507C 00351FDC 38 7E 00 04 */ addi r3, r30, 4 -/* 80355080 00351FE0 90 1E 00 00 */ stw r0, 0(r30) -/* 80355084 00351FE4 80 1E 00 00 */ lwz r0, 0(r30) -/* 80355088 00351FE8 7C 09 03 A6 */ mtctr r0 -/* 8035508C 00351FEC 2C 00 00 00 */ cmpwi r0, 0 -/* 80355090 00351FF0 40 81 00 28 */ ble lbl_803550B8 -lbl_80355094: -/* 80355094 00351FF4 28 03 00 00 */ cmplwi r3, 0 -/* 80355098 00351FF8 41 82 00 14 */ beq lbl_803550AC -/* 8035509C 00351FFC 88 04 00 00 */ lbz r0, 0(r4) -/* 803550A0 00352000 C0 04 00 04 */ lfs f0, 4(r4) -/* 803550A4 00352004 98 03 00 00 */ stb r0, 0(r3) -/* 803550A8 00352008 D0 03 00 04 */ stfs f0, 4(r3) -lbl_803550AC: -/* 803550AC 0035200C 38 63 00 08 */ addi r3, r3, 8 -/* 803550B0 00352010 38 84 00 08 */ addi r4, r4, 8 -/* 803550B4 00352014 42 00 FF E0 */ bdnz lbl_80355094 -lbl_803550B8: -/* 803550B8 00352018 80 A1 00 08 */ lwz r5, 8(r1) -/* 803550BC 0035201C 38 60 00 00 */ li r3, 0 -/* 803550C0 00352020 2C 05 00 00 */ cmpwi r5, 0 -/* 803550C4 00352024 40 81 00 40 */ ble lbl_80355104 -/* 803550C8 00352028 2C 05 00 08 */ cmpwi r5, 8 -/* 803550CC 0035202C 38 85 FF F8 */ addi r4, r5, -8 -/* 803550D0 00352030 40 81 00 20 */ ble lbl_803550F0 -/* 803550D4 00352034 38 04 00 07 */ addi r0, r4, 7 -/* 803550D8 00352038 54 00 E8 FE */ srwi r0, r0, 3 -/* 803550DC 0035203C 7C 09 03 A6 */ mtctr r0 -/* 803550E0 00352040 2C 04 00 00 */ cmpwi r4, 0 -/* 803550E4 00352044 40 81 00 0C */ ble lbl_803550F0 -lbl_803550E8: -/* 803550E8 00352048 38 63 00 08 */ addi r3, r3, 8 -/* 803550EC 0035204C 42 00 FF FC */ bdnz lbl_803550E8 -lbl_803550F0: -/* 803550F0 00352050 7C 03 28 50 */ subf r0, r3, r5 -/* 803550F4 00352054 7C 09 03 A6 */ mtctr r0 -/* 803550F8 00352058 7C 03 28 00 */ cmpw r3, r5 -/* 803550FC 0035205C 40 80 00 08 */ bge lbl_80355104 -lbl_80355100: -/* 80355100 00352060 42 00 00 00 */ bdnz lbl_80355100 -lbl_80355104: -/* 80355104 00352064 BB 41 00 28 */ lmw r26, 0x28(r1) -/* 80355108 00352068 38 00 00 00 */ li r0, 0 -/* 8035510C 0035206C 90 01 00 08 */ stw r0, 8(r1) -/* 80355110 00352070 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80355114 00352074 7C 08 03 A6 */ mtlr r0 -/* 80355118 00352078 38 21 00 40 */ addi r1, r1, 0x40 -/* 8035511C 0035207C 4E 80 00 20 */ blr - -.global UpdateLastFrame__6CModelFv -UpdateLastFrame__6CModelFv: -/* 80355120 00352080 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80355124 00352084 7C 08 02 A6 */ mflr r0 -/* 80355128 00352088 90 01 00 14 */ stw r0, 0x14(r1) -/* 8035512C 0035208C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80355130 00352090 7C 7F 1B 78 */ mr r31, r3 -/* 80355134 00352094 4B FB 46 C9 */ bl GetFrameCounter__9CGraphicsFv -/* 80355138 00352098 90 7F 00 38 */ stw r3, 0x38(r31) -/* 8035513C 0035209C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80355140 003520A0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80355144 003520A4 7C 08 03 A6 */ mtlr r0 -/* 80355148 003520A8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8035514C 003520AC 4E 80 00 20 */ blr - -.global sub_80355150 -sub_80355150: -/* 80355150 003520B0 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 80355154 003520B4 7C 08 02 A6 */ mflr r0 -/* 80355158 003520B8 90 01 00 74 */ stw r0, 0x74(r1) -/* 8035515C 003520BC 38 00 00 00 */ li r0, 0 -/* 80355160 003520C0 BF 61 00 5C */ stmw r27, 0x5c(r1) -/* 80355164 003520C4 7C 7B 1B 78 */ mr r27, r3 -/* 80355168 003520C8 7C 9D 23 78 */ mr r29, r4 -/* 8035516C 003520CC 80 63 00 00 */ lwz r3, 0(r3) -/* 80355170 003520D0 90 1B 00 00 */ stw r0, 0(r27) -/* 80355174 003520D4 7F 83 E8 50 */ subf r28, r3, r29 -/* 80355178 003520D8 80 7B 00 00 */ lwz r3, 0(r27) -/* 8035517C 003520DC 4B FC 07 B5 */ bl Free__7CMemoryFPCv -/* 80355180 003520E0 93 BB 00 00 */ stw r29, 0(r27) -/* 80355184 003520E4 38 C0 00 00 */ li r6, 0 -/* 80355188 003520E8 38 A0 00 00 */ li r5, 0 -/* 8035518C 003520EC 48 00 00 28 */ b lbl_803551B4 -lbl_80355190: -/* 80355190 003520F0 80 7B 00 24 */ lwz r3, 0x24(r27) -/* 80355194 003520F4 38 85 00 10 */ addi r4, r5, 0x10 -/* 80355198 003520F8 7C 03 20 2E */ lwzx r0, r3, r4 -/* 8035519C 003520FC 28 00 00 00 */ cmplwi r0, 0 -/* 803551A0 00352100 41 82 00 0C */ beq lbl_803551AC -/* 803551A4 00352104 7C 00 E2 14 */ add r0, r0, r28 -/* 803551A8 00352108 7C 03 21 2E */ stwx r0, r3, r4 -lbl_803551AC: -/* 803551AC 0035210C 38 A5 00 14 */ addi r5, r5, 0x14 -/* 803551B0 00352110 38 C6 00 01 */ addi r6, r6, 1 -lbl_803551B4: -/* 803551B4 00352114 80 1B 00 1C */ lwz r0, 0x1c(r27) -/* 803551B8 00352118 7C 06 00 00 */ cmpw r6, r0 -/* 803551BC 0035211C 41 80 FF D4 */ blt lbl_80355190 -/* 803551C0 00352120 80 FB 00 28 */ lwz r7, 0x28(r27) -/* 803551C4 00352124 80 C7 00 08 */ lwz r6, 8(r7) -/* 803551C8 00352128 80 A7 00 0C */ lwz r5, 0xc(r7) -/* 803551CC 0035212C 80 87 00 10 */ lwz r4, 0x10(r7) -/* 803551D0 00352130 28 06 00 00 */ cmplwi r6, 0 -/* 803551D4 00352134 80 67 00 14 */ lwz r3, 0x14(r7) -/* 803551D8 00352138 80 07 00 18 */ lwz r0, 0x18(r7) -/* 803551DC 0035213C C0 07 00 20 */ lfs f0, 0x20(r7) -/* 803551E0 00352140 90 C1 00 30 */ stw r6, 0x30(r1) -/* 803551E4 00352144 D0 01 00 34 */ stfs f0, 0x34(r1) -/* 803551E8 00352148 C0 07 00 24 */ lfs f0, 0x24(r7) -/* 803551EC 0035214C 90 A1 00 2C */ stw r5, 0x2c(r1) -/* 803551F0 00352150 D0 01 00 38 */ stfs f0, 0x38(r1) -/* 803551F4 00352154 C0 07 00 28 */ lfs f0, 0x28(r7) -/* 803551F8 00352158 90 81 00 28 */ stw r4, 0x28(r1) -/* 803551FC 0035215C D0 01 00 3C */ stfs f0, 0x3c(r1) -/* 80355200 00352160 C0 07 00 2C */ lfs f0, 0x2c(r7) -/* 80355204 00352164 90 61 00 24 */ stw r3, 0x24(r1) -/* 80355208 00352168 D0 01 00 40 */ stfs f0, 0x40(r1) -/* 8035520C 0035216C C0 07 00 30 */ lfs f0, 0x30(r7) -/* 80355210 00352170 90 01 00 20 */ stw r0, 0x20(r1) -/* 80355214 00352174 D0 01 00 44 */ stfs f0, 0x44(r1) -/* 80355218 00352178 C0 07 00 34 */ lfs f0, 0x34(r7) -/* 8035521C 0035217C D0 01 00 48 */ stfs f0, 0x48(r1) -/* 80355220 00352180 88 07 00 40 */ lbz r0, 0x40(r7) -/* 80355224 00352184 8B C7 00 41 */ lbz r30, 0x41(r7) -/* 80355228 00352188 54 00 CF FE */ rlwinm r0, r0, 0x19, 0x1f, 0x1f -/* 8035522C 0035218C 83 A7 00 44 */ lwz r29, 0x44(r7) -/* 80355230 00352190 7C 00 00 34 */ cntlzw r0, r0 -/* 80355234 00352194 54 1F D9 7E */ srwi r31, r0, 5 -/* 80355238 00352198 41 82 00 0C */ beq lbl_80355244 -/* 8035523C 0035219C 7C 06 E2 14 */ add r0, r6, r28 -/* 80355240 003521A0 90 01 00 30 */ stw r0, 0x30(r1) -lbl_80355244: -/* 80355244 003521A4 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 80355248 003521A8 28 00 00 00 */ cmplwi r0, 0 -/* 8035524C 003521AC 41 82 00 0C */ beq lbl_80355258 -/* 80355250 003521B0 7C 00 E2 14 */ add r0, r0, r28 -/* 80355254 003521B4 90 01 00 2C */ stw r0, 0x2c(r1) -lbl_80355258: -/* 80355258 003521B8 80 01 00 28 */ lwz r0, 0x28(r1) -/* 8035525C 003521BC 28 00 00 00 */ cmplwi r0, 0 -/* 80355260 003521C0 41 82 00 0C */ beq lbl_8035526C -/* 80355264 003521C4 7C 00 E2 14 */ add r0, r0, r28 -/* 80355268 003521C8 90 01 00 28 */ stw r0, 0x28(r1) -lbl_8035526C: -/* 8035526C 003521CC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80355270 003521D0 28 00 00 00 */ cmplwi r0, 0 -/* 80355274 003521D4 41 82 00 0C */ beq lbl_80355280 -/* 80355278 003521D8 7C 00 E2 14 */ add r0, r0, r28 -/* 8035527C 003521DC 90 01 00 24 */ stw r0, 0x24(r1) -lbl_80355280: -/* 80355280 003521E0 80 01 00 20 */ lwz r0, 0x20(r1) -/* 80355284 003521E4 28 00 00 00 */ cmplwi r0, 0 -/* 80355288 003521E8 41 82 00 0C */ beq lbl_80355294 -/* 8035528C 003521EC 7C 00 E2 14 */ add r0, r0, r28 -/* 80355290 003521F0 90 01 00 20 */ stw r0, 0x20(r1) -lbl_80355294: -/* 80355294 003521F4 38 A0 00 00 */ li r5, 0 -/* 80355298 003521F8 38 80 00 00 */ li r4, 0 -/* 8035529C 003521FC 48 00 00 24 */ b lbl_803552C0 -lbl_803552A0: -/* 803552A0 00352200 80 7B 00 14 */ lwz r3, 0x14(r27) -/* 803552A4 00352204 7C 03 20 2E */ lwzx r0, r3, r4 -/* 803552A8 00352208 28 00 00 00 */ cmplwi r0, 0 -/* 803552AC 0035220C 41 82 00 0C */ beq lbl_803552B8 -/* 803552B0 00352210 7C 00 E2 14 */ add r0, r0, r28 -/* 803552B4 00352214 7C 03 21 2E */ stwx r0, r3, r4 -lbl_803552B8: -/* 803552B8 00352218 38 84 00 04 */ addi r4, r4, 4 -/* 803552BC 0035221C 38 A5 00 01 */ addi r5, r5, 1 -lbl_803552C0: -/* 803552C0 00352220 80 1B 00 0C */ lwz r0, 0xc(r27) -/* 803552C4 00352224 7C 05 00 00 */ cmpw r5, r0 -/* 803552C8 00352228 41 80 FF D8 */ blt lbl_803552A0 -/* 803552CC 0035222C 3C 80 80 3E */ lis r4, lbl_803D8308@ha -/* 803552D0 00352230 38 60 00 48 */ li r3, 0x48 -/* 803552D4 00352234 38 84 83 08 */ addi r4, r4, lbl_803D8308@l -/* 803552D8 00352238 38 A0 00 00 */ li r5, 0 -/* 803552DC 0035223C 4B FC 05 91 */ bl __nw__FUlPCcPCc -/* 803552E0 00352240 7C 7C 1B 79 */ or. r28, r3, r3 -/* 803552E4 00352244 41 82 00 44 */ beq lbl_80355328 -/* 803552E8 00352248 80 BB 00 24 */ lwz r5, 0x24(r27) -/* 803552EC 0035224C 38 01 00 34 */ addi r0, r1, 0x34 -/* 803552F0 00352250 80 C1 00 20 */ lwz r6, 0x20(r1) -/* 803552F4 00352254 38 9B 00 08 */ addi r4, r27, 8 -/* 803552F8 00352258 80 E1 00 30 */ lwz r7, 0x30(r1) -/* 803552FC 0035225C 90 C1 00 08 */ stw r6, 8(r1) -/* 80355300 00352260 81 01 00 2C */ lwz r8, 0x2c(r1) -/* 80355304 00352264 90 01 00 0C */ stw r0, 0xc(r1) -/* 80355308 00352268 81 21 00 28 */ lwz r9, 0x28(r1) -/* 8035530C 0035226C 93 C1 00 10 */ stw r30, 0x10(r1) -/* 80355310 00352270 81 41 00 24 */ lwz r10, 0x24(r1) -/* 80355314 00352274 93 E1 00 14 */ stw r31, 0x14(r1) -/* 80355318 00352278 93 A1 00 18 */ stw r29, 0x18(r1) -/* 8035531C 0035227C 80 C5 00 10 */ lwz r6, 0x10(r5) -/* 80355320 00352280 4B FB 26 35 */ bl "__ct__10CCubeModelFPQ24rstl37vectorPQ24rstl60vector<23TCachedToken<8CTexture>,Q24rstl17rmemory_allocator>PCvPCvPCvPCvPCvPCvRC6CAABoxUcb" -/* 80355324 00352284 7C 7C 1B 78 */ mr r28, r3 -lbl_80355328: -/* 80355328 00352288 80 7B 00 28 */ lwz r3, 0x28(r27) -/* 8035532C 0035228C 4B FC 06 05 */ bl Free__7CMemoryFPCv -/* 80355330 00352290 93 9B 00 28 */ stw r28, 0x28(r27) -/* 80355334 00352294 7F 63 DB 78 */ mr r3, r27 -/* 80355338 00352298 48 00 02 15 */ bl MoveToThisFrameList__6CModelCFv -/* 8035533C 0035229C BB 61 00 5C */ lmw r27, 0x5c(r1) -/* 80355340 003522A0 80 01 00 74 */ lwz r0, 0x74(r1) -/* 80355344 003522A4 7C 08 03 A6 */ mtlr r0 -/* 80355348 003522A8 38 21 00 70 */ addi r1, r1, 0x70 -/* 8035534C 003522AC 4E 80 00 20 */ blr - -.global sub_80355350 -sub_80355350: -/* 80355350 003522B0 80 84 00 00 */ lwz r4, 0(r4) -/* 80355354 003522B4 7C 04 00 D0 */ neg r0, r4 -/* 80355358 003522B8 7C 00 23 78 */ or r0, r0, r4 -/* 8035535C 003522BC 54 00 0F FE */ srwi r0, r0, 0x1f -/* 80355360 003522C0 98 03 00 00 */ stb r0, 0(r3) -/* 80355364 003522C4 90 83 00 04 */ stw r4, 4(r3) -/* 80355368 003522C8 4E 80 00 20 */ blr - -.global sub_8035536c -sub_8035536c: -/* 8035536C 003522CC 80 63 00 04 */ lwz r3, 4(r3) -/* 80355370 003522D0 4E 80 00 20 */ blr - -.global EnableTextureTimeout__6CModelFv -EnableTextureTimeout__6CModelFv: -/* 80355374 003522D4 38 00 00 01 */ li r0, 1 -/* 80355378 003522D8 98 0D 9E 10 */ stb r0, lbl_805A89D0@sda21(r13) -/* 8035537C 003522DC 4E 80 00 20 */ blr - -.global DisableTextureTimeout__6CModelFv -DisableTextureTimeout__6CModelFv: -/* 80355380 003522E0 38 00 00 00 */ li r0, 0 -/* 80355384 003522E4 98 0D 9E 10 */ stb r0, lbl_805A89D0@sda21(r13) -/* 80355388 003522E8 4E 80 00 20 */ blr - -.global FrameDone__6CModelFv -FrameDone__6CModelFv: -/* 8035538C 003522EC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80355390 003522F0 7C 08 02 A6 */ mflr r0 -/* 80355394 003522F4 90 01 00 24 */ stw r0, 0x24(r1) -/* 80355398 003522F8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8035539C 003522FC 93 C1 00 18 */ stw r30, 0x18(r1) -/* 803553A0 00352300 93 A1 00 14 */ stw r29, 0x14(r1) -/* 803553A4 00352304 93 81 00 10 */ stw r28, 0x10(r1) -/* 803553A8 00352308 80 6D AA 88 */ lwz r3, lbl_805A9648@sda21(r13) -/* 803553AC 0035230C 88 0D 9E 10 */ lbz r0, lbl_805A89D0@sda21(r13) -/* 803553B0 00352310 38 63 00 01 */ addi r3, r3, 1 -/* 803553B4 00352314 28 00 00 00 */ cmplwi r0, 0 -/* 803553B8 00352318 90 6D AA 88 */ stw r3, lbl_805A9648@sda21(r13) -/* 803553BC 0035231C 41 82 00 84 */ beq lbl_80355440 -/* 803553C0 00352320 83 AD AA 84 */ lwz r29, lbl_805A9644@sda21(r13) -/* 803553C4 00352324 3B E0 00 00 */ li r31, 0 -/* 803553C8 00352328 48 00 00 58 */ b lbl_80355420 -lbl_803553CC: -/* 803553CC 0035232C 83 9D 00 34 */ lwz r28, 0x34(r29) -/* 803553D0 00352330 7F A3 EB 78 */ mr r3, r29 -/* 803553D4 00352334 38 80 00 00 */ li r4, 0 -/* 803553D8 00352338 48 00 05 85 */ bl VerifyCurrentShader__6CModelCFi -/* 803553DC 0035233C 80 7D 00 24 */ lwz r3, 0x24(r29) -/* 803553E0 00352340 3B C3 00 14 */ addi r30, r3, 0x14 -/* 803553E4 00352344 48 00 00 10 */ b lbl_803553F4 -lbl_803553E8: -/* 803553E8 00352348 7F C3 F3 78 */ mr r3, r30 -/* 803553EC 0035234C 48 00 00 75 */ bl UnlockTextures__Q26CModel7SShaderFv -/* 803553F0 00352350 3B DE 00 14 */ addi r30, r30, 0x14 -lbl_803553F4: -/* 803553F4 00352354 80 1D 00 1C */ lwz r0, 0x1c(r29) -/* 803553F8 00352358 80 7D 00 24 */ lwz r3, 0x24(r29) -/* 803553FC 0035235C 1C 00 00 14 */ mulli r0, r0, 0x14 -/* 80355400 00352360 7C 03 02 14 */ add r0, r3, r0 -/* 80355404 00352364 7C 1E 00 40 */ cmplw r30, r0 -/* 80355408 00352368 40 82 FF E0 */ bne lbl_803553E8 -/* 8035540C 0035236C 80 7D 00 28 */ lwz r3, 0x28(r29) -/* 80355410 00352370 4B FB 13 FD */ bl UnlockTextures__10CCubeModelCFv -/* 80355414 00352374 93 FD 00 34 */ stw r31, 0x34(r29) -/* 80355418 00352378 93 FD 00 30 */ stw r31, 0x30(r29) -/* 8035541C 0035237C 7F 9D E3 78 */ mr r29, r28 -lbl_80355420: -/* 80355420 00352380 28 1D 00 00 */ cmplwi r29, 0 -/* 80355424 00352384 40 82 FF A8 */ bne lbl_803553CC -/* 80355428 00352388 80 8D AA 80 */ lwz r4, lbl_805A9640@sda21(r13) -/* 8035542C 0035238C 38 00 00 00 */ li r0, 0 -/* 80355430 00352390 80 6D AA 7C */ lwz r3, lbl_805A963C@sda21(r13) -/* 80355434 00352394 90 8D AA 84 */ stw r4, lbl_805A9644@sda21(r13) -/* 80355438 00352398 90 6D AA 80 */ stw r3, lbl_805A9640@sda21(r13) -/* 8035543C 0035239C 90 0D AA 7C */ stw r0, lbl_805A963C@sda21(r13) -lbl_80355440: -/* 80355440 003523A0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80355444 003523A4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80355448 003523A8 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8035544C 003523AC 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80355450 003523B0 83 81 00 10 */ lwz r28, 0x10(r1) -/* 80355454 003523B4 7C 08 03 A6 */ mtlr r0 -/* 80355458 003523B8 38 21 00 20 */ addi r1, r1, 0x20 -/* 8035545C 003523BC 4E 80 00 20 */ blr - -.global UnlockTextures__Q26CModel7SShaderFv -UnlockTextures__Q26CModel7SShaderFv: -/* 80355460 003523C0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80355464 003523C4 7C 08 02 A6 */ mflr r0 -/* 80355468 003523C8 90 01 00 24 */ stw r0, 0x24(r1) -/* 8035546C 003523CC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80355470 003523D0 3B E0 00 00 */ li r31, 0 -/* 80355474 003523D4 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80355478 003523D8 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8035547C 003523DC 7C 7D 1B 78 */ mr r29, r3 -/* 80355480 003523E0 83 C3 00 0C */ lwz r30, 0xc(r3) -/* 80355484 003523E4 48 00 00 14 */ b lbl_80355498 -lbl_80355488: -/* 80355488 003523E8 93 FE 00 08 */ stw r31, 8(r30) -/* 8035548C 003523EC 7F C3 F3 78 */ mr r3, r30 -/* 80355490 003523F0 4B FE B8 B1 */ bl Unlock__6CTokenFv -/* 80355494 003523F4 3B DE 00 0C */ addi r30, r30, 0xc -lbl_80355498: -/* 80355498 003523F8 80 1D 00 04 */ lwz r0, 4(r29) -/* 8035549C 003523FC 80 7D 00 0C */ lwz r3, 0xc(r29) -/* 803554A0 00352400 1C 00 00 0C */ mulli r0, r0, 0xc -/* 803554A4 00352404 7C 03 02 14 */ add r0, r3, r0 -/* 803554A8 00352408 7C 1E 00 40 */ cmplw r30, r0 -/* 803554AC 0035240C 40 82 FF DC */ bne lbl_80355488 -/* 803554B0 00352410 80 01 00 24 */ lwz r0, 0x24(r1) -/* 803554B4 00352414 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 803554B8 00352418 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 803554BC 0035241C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 803554C0 00352420 7C 08 03 A6 */ mtlr r0 -/* 803554C4 00352424 38 21 00 20 */ addi r1, r1, 0x20 -/* 803554C8 00352428 4E 80 00 20 */ blr - -.global RemoveFromList__6CModelCFv -RemoveFromList__6CModelCFv: -/* 803554CC 0035242C 80 83 00 30 */ lwz r4, 0x30(r3) -/* 803554D0 00352430 28 04 00 00 */ cmplwi r4, 0 -/* 803554D4 00352434 41 82 00 10 */ beq lbl_803554E4 -/* 803554D8 00352438 80 03 00 34 */ lwz r0, 0x34(r3) -/* 803554DC 0035243C 90 04 00 34 */ stw r0, 0x34(r4) -/* 803554E0 00352440 48 00 00 48 */ b lbl_80355528 -lbl_803554E4: -/* 803554E4 00352444 80 0D AA 7C */ lwz r0, lbl_805A963C@sda21(r13) -/* 803554E8 00352448 7C 03 00 40 */ cmplw r3, r0 -/* 803554EC 0035244C 40 82 00 10 */ bne lbl_803554FC -/* 803554F0 00352450 80 03 00 34 */ lwz r0, 0x34(r3) -/* 803554F4 00352454 90 0D AA 7C */ stw r0, lbl_805A963C@sda21(r13) -/* 803554F8 00352458 48 00 00 30 */ b lbl_80355528 -lbl_803554FC: -/* 803554FC 0035245C 80 0D AA 80 */ lwz r0, lbl_805A9640@sda21(r13) -/* 80355500 00352460 7C 03 00 40 */ cmplw r3, r0 -/* 80355504 00352464 40 82 00 10 */ bne lbl_80355514 -/* 80355508 00352468 80 03 00 34 */ lwz r0, 0x34(r3) -/* 8035550C 0035246C 90 0D AA 80 */ stw r0, lbl_805A9640@sda21(r13) -/* 80355510 00352470 48 00 00 18 */ b lbl_80355528 -lbl_80355514: -/* 80355514 00352474 80 0D AA 84 */ lwz r0, lbl_805A9644@sda21(r13) -/* 80355518 00352478 7C 03 00 40 */ cmplw r3, r0 -/* 8035551C 0035247C 40 82 00 0C */ bne lbl_80355528 -/* 80355520 00352480 80 03 00 34 */ lwz r0, 0x34(r3) -/* 80355524 00352484 90 0D AA 84 */ stw r0, lbl_805A9644@sda21(r13) -lbl_80355528: -/* 80355528 00352488 80 83 00 34 */ lwz r4, 0x34(r3) -/* 8035552C 0035248C 28 04 00 00 */ cmplwi r4, 0 -/* 80355530 00352490 41 82 00 0C */ beq lbl_8035553C -/* 80355534 00352494 80 03 00 30 */ lwz r0, 0x30(r3) -/* 80355538 00352498 90 04 00 30 */ stw r0, 0x30(r4) -lbl_8035553C: -/* 8035553C 0035249C 38 00 00 00 */ li r0, 0 -/* 80355540 003524A0 90 03 00 30 */ stw r0, 0x30(r3) -/* 80355544 003524A4 90 03 00 34 */ stw r0, 0x34(r3) -/* 80355548 003524A8 4E 80 00 20 */ blr - -.global MoveToThisFrameList__6CModelCFv -MoveToThisFrameList__6CModelCFv: -/* 8035554C 003524AC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80355550 003524B0 7C 08 02 A6 */ mflr r0 -/* 80355554 003524B4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80355558 003524B8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8035555C 003524BC 7C 7F 1B 78 */ mr r31, r3 -/* 80355560 003524C0 4B FF FB C1 */ bl UpdateLastFrame__6CModelFv -/* 80355564 003524C4 80 0D AA 7C */ lwz r0, lbl_805A963C@sda21(r13) -/* 80355568 003524C8 7C 00 F8 40 */ cmplw r0, r31 -/* 8035556C 003524CC 41 82 00 28 */ beq lbl_80355594 -/* 80355570 003524D0 7F E3 FB 78 */ mr r3, r31 -/* 80355574 003524D4 4B FF FF 59 */ bl RemoveFromList__6CModelCFv -/* 80355578 003524D8 80 0D AA 7C */ lwz r0, lbl_805A963C@sda21(r13) -/* 8035557C 003524DC 28 00 00 00 */ cmplwi r0, 0 -/* 80355580 003524E0 41 82 00 10 */ beq lbl_80355590 -/* 80355584 003524E4 90 1F 00 34 */ stw r0, 0x34(r31) -/* 80355588 003524E8 80 7F 00 34 */ lwz r3, 0x34(r31) -/* 8035558C 003524EC 93 E3 00 30 */ stw r31, 0x30(r3) -lbl_80355590: -/* 80355590 003524F0 93 ED AA 7C */ stw r31, lbl_805A963C@sda21(r13) -lbl_80355594: -/* 80355594 003524F4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80355598 003524F8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8035559C 003524FC 7C 08 03 A6 */ mtlr r0 -/* 803555A0 00352500 38 21 00 10 */ addi r1, r1, 0x10 -/* 803555A4 00352504 4E 80 00 20 */ blr - -.global IsLoaded__6CModelCFi -IsLoaded__6CModelCFi: -/* 803555A8 00352508 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803555AC 0035250C 7C 08 02 A6 */ mflr r0 -/* 803555B0 00352510 90 01 00 14 */ stw r0, 0x14(r1) -/* 803555B4 00352514 93 E1 00 0C */ stw r31, 0xc(r1) -/* 803555B8 00352518 7C 7F 1B 78 */ mr r31, r3 -/* 803555BC 0035251C 48 00 03 A1 */ bl VerifyCurrentShader__6CModelCFi -/* 803555C0 00352520 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 803555C4 00352524 80 63 00 1C */ lwz r3, 0x1c(r3) -/* 803555C8 00352528 80 03 00 04 */ lwz r0, 4(r3) -/* 803555CC 0035252C 80 C3 00 0C */ lwz r6, 0xc(r3) -/* 803555D0 00352530 1C 00 00 0C */ mulli r0, r0, 0xc -/* 803555D4 00352534 7C A6 02 14 */ add r5, r6, r0 -/* 803555D8 00352538 48 00 00 3C */ b lbl_80355614 -lbl_803555DC: -/* 803555DC 0035253C 80 06 00 08 */ lwz r0, 8(r6) -/* 803555E0 00352540 38 80 00 00 */ li r4, 0 -/* 803555E4 00352544 28 00 00 00 */ cmplwi r0, 0 -/* 803555E8 00352548 40 82 00 14 */ bne lbl_803555FC -/* 803555EC 0035254C 80 66 00 00 */ lwz r3, 0(r6) -/* 803555F0 00352550 80 03 00 10 */ lwz r0, 0x10(r3) -/* 803555F4 00352554 28 00 00 00 */ cmplwi r0, 0 -/* 803555F8 00352558 41 82 00 08 */ beq lbl_80355600 -lbl_803555FC: -/* 803555FC 0035255C 38 80 00 01 */ li r4, 1 -lbl_80355600: -/* 80355600 00352560 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 80355604 00352564 40 82 00 0C */ bne lbl_80355610 -/* 80355608 00352568 38 60 00 00 */ li r3, 0 -/* 8035560C 0035256C 48 00 00 14 */ b lbl_80355620 -lbl_80355610: -/* 80355610 00352570 38 C6 00 0C */ addi r6, r6, 0xc -lbl_80355614: -/* 80355614 00352574 7C 06 28 40 */ cmplw r6, r5 -/* 80355618 00352578 40 82 FF C4 */ bne lbl_803555DC -/* 8035561C 0035257C 38 60 00 01 */ li r3, 1 -lbl_80355620: -/* 80355620 00352580 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80355624 00352584 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80355628 00352588 7C 08 03 A6 */ mtlr r0 -/* 8035562C 0035258C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80355630 00352590 4E 80 00 20 */ blr - -.global Touch__6CModelCFi -Touch__6CModelCFi: -/* 80355634 00352594 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80355638 00352598 7C 08 02 A6 */ mflr r0 -/* 8035563C 0035259C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80355640 003525A0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80355644 003525A4 7C 7F 1B 78 */ mr r31, r3 -/* 80355648 003525A8 93 C1 00 08 */ stw r30, 8(r1) -/* 8035564C 003525AC 7C 9E 23 78 */ mr r30, r4 -/* 80355650 003525B0 4B FF FE FD */ bl MoveToThisFrameList__6CModelCFv -/* 80355654 003525B4 7F E3 FB 78 */ mr r3, r31 -/* 80355658 003525B8 7F C4 F3 78 */ mr r4, r30 -/* 8035565C 003525BC 48 00 03 01 */ bl VerifyCurrentShader__6CModelCFi -/* 80355660 003525C0 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 80355664 003525C4 4B FB 17 59 */ bl TryLockTextures__10CCubeModelCFv -/* 80355668 003525C8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8035566C 003525CC 41 82 00 40 */ beq lbl_803556AC -/* 80355670 003525D0 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 80355674 003525D4 83 E3 00 1C */ lwz r31, 0x1c(r3) -/* 80355678 003525D8 83 DF 00 0C */ lwz r30, 0xc(r31) -/* 8035567C 003525DC 48 00 00 18 */ b lbl_80355694 -lbl_80355680: -/* 80355680 003525E0 80 7E 00 08 */ lwz r3, 8(r30) -/* 80355684 003525E4 28 03 00 00 */ cmplwi r3, 0 -/* 80355688 003525E8 41 82 00 08 */ beq lbl_80355690 -/* 8035568C 003525EC 4B FB 95 9D */ bl LoadToMRAM__8CTextureCFv -lbl_80355690: -/* 80355690 003525F0 3B DE 00 0C */ addi r30, r30, 0xc -lbl_80355694: -/* 80355694 003525F4 80 1F 00 04 */ lwz r0, 4(r31) -/* 80355698 003525F8 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 8035569C 003525FC 1C 00 00 0C */ mulli r0, r0, 0xc -/* 803556A0 00352600 7C 03 02 14 */ add r0, r3, r0 -/* 803556A4 00352604 7C 1E 00 40 */ cmplw r30, r0 -/* 803556A8 00352608 40 82 FF D8 */ bne lbl_80355680 -lbl_803556AC: -/* 803556AC 0035260C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803556B0 00352610 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 803556B4 00352614 83 C1 00 08 */ lwz r30, 8(r1) -/* 803556B8 00352618 7C 08 03 A6 */ mtlr r0 -/* 803556BC 0035261C 38 21 00 10 */ addi r1, r1, 0x10 -/* 803556C0 00352620 4E 80 00 20 */ blr - -.global GetNormals__6CModelCFv -GetNormals__6CModelCFv: -/* 803556C4 00352624 80 63 00 28 */ lwz r3, 0x28(r3) -/* 803556C8 00352628 80 63 00 0C */ lwz r3, 0xc(r3) -/* 803556CC 0035262C 4E 80 00 20 */ blr - -.global GetPositions__6CModelCFv -GetPositions__6CModelCFv: -/* 803556D0 00352630 80 63 00 28 */ lwz r3, 0x28(r3) -/* 803556D4 00352634 80 63 00 08 */ lwz r3, 8(r3) -/* 803556D8 00352638 4E 80 00 20 */ blr - -.global "FModelFactory__FRC10SObjectTagRCQ24rstl12auto_ptriRC15CVParamTransfer" -"FModelFactory__FRC10SObjectTagRCQ24rstl12auto_ptriRC15CVParamTransfer": -/* 803556DC 0035263C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 803556E0 00352640 7C 08 02 A6 */ mflr r0 -/* 803556E4 00352644 90 01 00 34 */ stw r0, 0x34(r1) -/* 803556E8 00352648 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 803556EC 0035264C 7C 7F 1B 78 */ mr r31, r3 -/* 803556F0 00352650 93 C1 00 28 */ stw r30, 0x28(r1) -/* 803556F4 00352654 93 A1 00 24 */ stw r29, 0x24(r1) -/* 803556F8 00352658 7C DD 33 78 */ mr r29, r6 -/* 803556FC 0035265C 93 81 00 20 */ stw r28, 0x20(r1) -/* 80355700 00352660 7C BC 2B 78 */ mr r28, r5 -/* 80355704 00352664 80 87 00 00 */ lwz r4, 0(r7) -/* 80355708 00352668 90 81 00 08 */ stw r4, 8(r1) -/* 8035570C 0035266C 80 64 00 04 */ lwz r3, 4(r4) -/* 80355710 00352670 38 03 00 01 */ addi r0, r3, 1 -/* 80355714 00352674 90 04 00 04 */ stw r0, 4(r4) -/* 80355718 00352678 80 61 00 08 */ lwz r3, 8(r1) -/* 8035571C 0035267C 80 63 00 00 */ lwz r3, 0(r3) -/* 80355720 00352680 83 C3 00 04 */ lwz r30, 4(r3) -/* 80355724 00352684 48 02 28 61 */ bl GXInvalidateVtxCache -/* 80355728 00352688 3C 80 80 3E */ lis r4, lbl_803D8308@ha -/* 8035572C 0035268C 38 60 00 3C */ li r3, 0x3c -/* 80355730 00352690 38 84 83 08 */ addi r4, r4, lbl_803D8308@l -/* 80355734 00352694 38 A0 00 00 */ li r5, 0 -/* 80355738 00352698 4B FC 01 35 */ bl __nw__FUlPCcPCc -/* 8035573C 0035269C 7C 64 1B 79 */ or. r4, r3, r3 -/* 80355740 003526A0 41 82 00 18 */ beq lbl_80355758 -/* 80355744 003526A4 7F 84 E3 78 */ mr r4, r28 -/* 80355748 003526A8 7F A5 EB 78 */ mr r5, r29 -/* 8035574C 003526AC 7F C6 F3 78 */ mr r6, r30 -/* 80355750 003526B0 48 00 07 71 */ bl "__ct__6CModelFRCQ24rstl12auto_ptriR12IObjectStore" -/* 80355754 003526B4 7C 64 1B 78 */ mr r4, r3 -lbl_80355758: -/* 80355758 003526B8 7C 04 00 D0 */ neg r0, r4 -/* 8035575C 003526BC 90 81 00 10 */ stw r4, 0x10(r1) -/* 80355760 003526C0 7C 00 23 78 */ or r0, r0, r4 -/* 80355764 003526C4 38 61 00 14 */ addi r3, r1, 0x14 -/* 80355768 003526C8 54 00 0F FE */ srwi r0, r0, 0x1f -/* 8035576C 003526CC 38 81 00 0C */ addi r4, r1, 0xc -/* 80355770 003526D0 98 01 00 0C */ stb r0, 0xc(r1) -/* 80355774 003526D4 48 00 01 21 */ bl "GetIObjObjectFor__15TToken<6CModel>FRCQ24rstl17auto_ptr<6CModel>" -/* 80355778 003526D8 80 61 00 18 */ lwz r3, 0x18(r1) -/* 8035577C 003526DC 38 00 00 00 */ li r0, 0 -/* 80355780 003526E0 98 01 00 14 */ stb r0, 0x14(r1) -/* 80355784 003526E4 7C 03 00 D0 */ neg r0, r3 -/* 80355788 003526E8 7C 00 1B 78 */ or r0, r0, r3 -/* 8035578C 003526EC 54 00 0F FE */ srwi r0, r0, 0x1f -/* 80355790 003526F0 98 1F 00 00 */ stb r0, 0(r31) -/* 80355794 003526F4 90 7F 00 04 */ stw r3, 4(r31) -/* 80355798 003526F8 88 01 00 14 */ lbz r0, 0x14(r1) -/* 8035579C 003526FC 28 00 00 00 */ cmplwi r0, 0 -/* 803557A0 00352700 41 82 00 24 */ beq lbl_803557C4 -/* 803557A4 00352704 80 61 00 18 */ lwz r3, 0x18(r1) -/* 803557A8 00352708 28 03 00 00 */ cmplwi r3, 0 -/* 803557AC 0035270C 41 82 00 18 */ beq lbl_803557C4 -/* 803557B0 00352710 81 83 00 00 */ lwz r12, 0(r3) -/* 803557B4 00352714 38 80 00 01 */ li r4, 1 -/* 803557B8 00352718 81 8C 00 08 */ lwz r12, 8(r12) -/* 803557BC 0035271C 7D 89 03 A6 */ mtctr r12 -/* 803557C0 00352720 4E 80 04 21 */ bctrl -lbl_803557C4: -/* 803557C4 00352724 88 01 00 0C */ lbz r0, 0xc(r1) -/* 803557C8 00352728 28 00 00 00 */ cmplwi r0, 0 -/* 803557CC 0035272C 41 82 00 10 */ beq lbl_803557DC -/* 803557D0 00352730 80 61 00 10 */ lwz r3, 0x10(r1) -/* 803557D4 00352734 38 80 00 01 */ li r4, 1 -/* 803557D8 00352738 48 00 04 79 */ bl __dt__6CModelFv -lbl_803557DC: -/* 803557DC 0035273C 38 61 00 08 */ addi r3, r1, 8 -/* 803557E0 00352740 4B CD EB 25 */ bl sub_80034304 -/* 803557E4 00352744 80 01 00 34 */ lwz r0, 0x34(r1) -/* 803557E8 00352748 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 803557EC 0035274C 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 803557F0 00352750 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 803557F4 00352754 83 81 00 20 */ lwz r28, 0x20(r1) -/* 803557F8 00352758 7C 08 03 A6 */ mtlr r0 -/* 803557FC 0035275C 38 21 00 30 */ addi r1, r1, 0x30 -/* 80355800 00352760 4E 80 00 20 */ blr - -.global "__dt__15TToken<6CModel>Fv" -"__dt__15TToken<6CModel>Fv": -/* 80355804 00352764 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80355808 00352768 7C 08 02 A6 */ mflr r0 -/* 8035580C 0035276C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80355810 00352770 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80355814 00352774 7C 9F 23 78 */ mr r31, r4 -/* 80355818 00352778 93 C1 00 08 */ stw r30, 8(r1) -/* 8035581C 0035277C 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80355820 00352780 41 82 00 58 */ beq lbl_80355878 -/* 80355824 00352784 3C 60 80 3F */ lis r3, lbl_803EF738@ha -/* 80355828 00352788 38 03 F7 38 */ addi r0, r3, lbl_803EF738@l -/* 8035582C 0035278C 90 1E 00 00 */ stw r0, 0(r30) -/* 80355830 00352790 80 7E 00 04 */ lwz r3, 4(r30) -/* 80355834 00352794 28 03 00 00 */ cmplwi r3, 0 -/* 80355838 00352798 41 82 00 0C */ beq lbl_80355844 -/* 8035583C 0035279C 38 80 00 01 */ li r4, 1 -/* 80355840 003527A0 48 00 04 11 */ bl __dt__6CModelFv -lbl_80355844: -/* 80355844 003527A4 28 1E 00 00 */ cmplwi r30, 0 -/* 80355848 003527A8 41 82 00 20 */ beq lbl_80355868 -/* 8035584C 003527AC 3C 60 80 3E */ lis r3, lbl_803D8D78@ha -/* 80355850 003527B0 38 03 8D 78 */ addi r0, r3, lbl_803D8D78@l -/* 80355854 003527B4 90 1E 00 00 */ stw r0, 0(r30) -/* 80355858 003527B8 41 82 00 10 */ beq lbl_80355868 -/* 8035585C 003527BC 3C 60 80 3E */ lis r3, lbl_803D8D6C@ha -/* 80355860 003527C0 38 03 8D 6C */ addi r0, r3, lbl_803D8D6C@l -/* 80355864 003527C4 90 1E 00 00 */ stw r0, 0(r30) -lbl_80355868: -/* 80355868 003527C8 7F E0 07 35 */ extsh. r0, r31 -/* 8035586C 003527CC 40 81 00 0C */ ble lbl_80355878 -/* 80355870 003527D0 7F C3 F3 78 */ mr r3, r30 -/* 80355874 003527D4 4B FC 00 BD */ bl Free__7CMemoryFPCv -lbl_80355878: -/* 80355878 003527D8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8035587C 003527DC 7F C3 F3 78 */ mr r3, r30 -/* 80355880 003527E0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80355884 003527E4 83 C1 00 08 */ lwz r30, 8(r1) -/* 80355888 003527E8 7C 08 03 A6 */ mtlr r0 -/* 8035588C 003527EC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80355890 003527F0 4E 80 00 20 */ blr - -.global "GetIObjObjectFor__15TToken<6CModel>FRCQ24rstl17auto_ptr<6CModel>" -"GetIObjObjectFor__15TToken<6CModel>FRCQ24rstl17auto_ptr<6CModel>": -/* 80355894 003527F4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80355898 003527F8 7C 08 02 A6 */ mflr r0 -/* 8035589C 003527FC 90 01 00 14 */ stw r0, 0x14(r1) -/* 803558A0 00352800 93 E1 00 0C */ stw r31, 0xc(r1) -/* 803558A4 00352804 7C 7F 1B 78 */ mr r31, r3 -/* 803558A8 00352808 48 00 00 19 */ bl "GetNewDerivedObject__33TObjOwnerDerivedFromIObj<6CModel>FRCQ24rstl17auto_ptr<6CModel>" -/* 803558AC 0035280C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803558B0 00352810 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 803558B4 00352814 7C 08 03 A6 */ mtlr r0 -/* 803558B8 00352818 38 21 00 10 */ addi r1, r1, 0x10 -/* 803558BC 0035281C 4E 80 00 20 */ blr - -.global "GetNewDerivedObject__33TObjOwnerDerivedFromIObj<6CModel>FRCQ24rstl17auto_ptr<6CModel>" -"GetNewDerivedObject__33TObjOwnerDerivedFromIObj<6CModel>FRCQ24rstl17auto_ptr<6CModel>": -/* 803558C0 00352820 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803558C4 00352824 7C 08 02 A6 */ mflr r0 -/* 803558C8 00352828 3C A0 80 3E */ lis r5, lbl_803D8308@ha -/* 803558CC 0035282C 90 01 00 14 */ stw r0, 0x14(r1) -/* 803558D0 00352830 38 05 83 08 */ addi r0, r5, lbl_803D8308@l -/* 803558D4 00352834 38 A0 00 00 */ li r5, 0 -/* 803558D8 00352838 93 E1 00 0C */ stw r31, 0xc(r1) -/* 803558DC 0035283C 7C 9F 23 78 */ mr r31, r4 -/* 803558E0 00352840 7C 04 03 78 */ mr r4, r0 -/* 803558E4 00352844 93 C1 00 08 */ stw r30, 8(r1) -/* 803558E8 00352848 7C 7E 1B 78 */ mr r30, r3 -/* 803558EC 0035284C 38 60 00 08 */ li r3, 8 -/* 803558F0 00352850 4B FB FF 7D */ bl __nw__FUlPCcPCc -/* 803558F4 00352854 28 03 00 00 */ cmplwi r3, 0 -/* 803558F8 00352858 41 82 00 38 */ beq lbl_80355930 -/* 803558FC 0035285C 3C 80 80 3E */ lis r4, lbl_803D8D6C@ha -/* 80355900 00352860 3C A0 80 3E */ lis r5, lbl_803D8D78@ha -/* 80355904 00352864 38 04 8D 6C */ addi r0, r4, lbl_803D8D6C@l -/* 80355908 00352868 3C 80 80 3F */ lis r4, lbl_803EF738@ha -/* 8035590C 0035286C 90 03 00 00 */ stw r0, 0(r3) -/* 80355910 00352870 38 C5 8D 78 */ addi r6, r5, lbl_803D8D78@l -/* 80355914 00352874 38 A0 00 00 */ li r5, 0 -/* 80355918 00352878 38 04 F7 38 */ addi r0, r4, lbl_803EF738@l -/* 8035591C 0035287C 90 C3 00 00 */ stw r6, 0(r3) -/* 80355920 00352880 98 BF 00 00 */ stb r5, 0(r31) -/* 80355924 00352884 80 9F 00 04 */ lwz r4, 4(r31) -/* 80355928 00352888 90 83 00 04 */ stw r4, 4(r3) -/* 8035592C 0035288C 90 03 00 00 */ stw r0, 0(r3) -lbl_80355930: -/* 80355930 00352890 7C 03 00 D0 */ neg r0, r3 -/* 80355934 00352894 7C 00 1B 78 */ or r0, r0, r3 -/* 80355938 00352898 54 00 0F FE */ srwi r0, r0, 0x1f -/* 8035593C 0035289C 98 1E 00 00 */ stb r0, 0(r30) -/* 80355940 003528A0 90 7E 00 04 */ stw r3, 4(r30) -/* 80355944 003528A4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80355948 003528A8 83 C1 00 08 */ lwz r30, 8(r1) -/* 8035594C 003528AC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80355950 003528B0 7C 08 03 A6 */ mtlr r0 -/* 80355954 003528B4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80355958 003528B8 4E 80 00 20 */ blr - -.global VerifyCurrentShader__6CModelCFi -VerifyCurrentShader__6CModelCFi: -/* 8035595C 003528BC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80355960 003528C0 7C 08 02 A6 */ mflr r0 -/* 80355964 003528C4 90 01 00 24 */ stw r0, 0x24(r1) -/* 80355968 003528C8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8035596C 003528CC 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80355970 003528D0 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80355974 003528D4 7C 9D 23 78 */ mr r29, r4 -/* 80355978 003528D8 93 81 00 10 */ stw r28, 0x10(r1) -/* 8035597C 003528DC 7C 7C 1B 78 */ mr r28, r3 -/* 80355980 003528E0 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 80355984 003528E4 7C 1D 00 00 */ cmpw r29, r0 -/* 80355988 003528E8 41 80 00 08 */ blt lbl_80355990 -/* 8035598C 003528EC 3B A0 00 00 */ li r29, 0 -lbl_80355990: -/* 80355990 003528F0 A8 1C 00 2C */ lha r0, 0x2c(r28) -/* 80355994 003528F4 7C 1D 00 00 */ cmpw r29, r0 -/* 80355998 003528F8 40 82 00 5C */ bne lbl_803559F4 -/* 8035599C 003528FC A8 7C 00 2E */ lha r3, 0x2e(r28) -/* 803559A0 00352900 7C 60 07 35 */ extsh. r0, r3 -/* 803559A4 00352904 41 82 00 84 */ beq lbl_80355A28 -/* 803559A8 00352908 80 0D AA 88 */ lwz r0, lbl_805A9648@sda21(r13) -/* 803559AC 0035290C 7C 03 00 40 */ cmplw r3, r0 -/* 803559B0 00352910 41 81 00 78 */ bgt lbl_80355A28 -/* 803559B4 00352914 3B C0 00 00 */ li r30, 0 -/* 803559B8 00352918 3B E0 00 00 */ li r31, 0 -/* 803559BC 0035291C 48 00 00 20 */ b lbl_803559DC -lbl_803559C0: -/* 803559C0 00352920 7C 1E E8 00 */ cmpw r30, r29 -/* 803559C4 00352924 41 82 00 10 */ beq lbl_803559D4 -/* 803559C8 00352928 80 1C 00 24 */ lwz r0, 0x24(r28) -/* 803559CC 0035292C 7C 60 FA 14 */ add r3, r0, r31 -/* 803559D0 00352930 4B FF FA 91 */ bl UnlockTextures__Q26CModel7SShaderFv -lbl_803559D4: -/* 803559D4 00352934 3B FF 00 14 */ addi r31, r31, 0x14 -/* 803559D8 00352938 3B DE 00 01 */ addi r30, r30, 1 -lbl_803559DC: -/* 803559DC 0035293C 80 1C 00 1C */ lwz r0, 0x1c(r28) -/* 803559E0 00352940 7C 1E 00 00 */ cmpw r30, r0 -/* 803559E4 00352944 41 80 FF DC */ blt lbl_803559C0 -/* 803559E8 00352948 38 00 00 00 */ li r0, 0 -/* 803559EC 0035294C B0 1C 00 2E */ sth r0, 0x2e(r28) -/* 803559F0 00352950 48 00 00 38 */ b lbl_80355A28 -lbl_803559F4: -/* 803559F4 00352954 B3 BC 00 2C */ sth r29, 0x2c(r28) -/* 803559F8 00352958 1C 1D 00 14 */ mulli r0, r29, 0x14 -/* 803559FC 0035295C 80 9C 00 24 */ lwz r4, 0x24(r28) -/* 80355A00 00352960 80 7C 00 28 */ lwz r3, 0x28(r28) -/* 80355A04 00352964 7C A4 02 14 */ add r5, r4, r0 -/* 80355A08 00352968 80 85 00 10 */ lwz r4, 0x10(r5) -/* 80355A0C 0035296C 4B FB 0D E5 */ bl "RemapMaterialData__10CCubeModelFPCvPQ24rstl60vector<23TCachedToken<8CTexture>,Q24rstl17rmemory_allocator>" -/* 80355A10 00352970 80 1C 00 1C */ lwz r0, 0x1c(r28) -/* 80355A14 00352974 2C 00 00 01 */ cmpwi r0, 1 -/* 80355A18 00352978 40 81 00 10 */ ble lbl_80355A28 -/* 80355A1C 0035297C 80 6D AA 88 */ lwz r3, lbl_805A9648@sda21(r13) -/* 80355A20 00352980 38 03 00 02 */ addi r0, r3, 2 -/* 80355A24 00352984 B0 1C 00 2E */ sth r0, 0x2e(r28) -lbl_80355A28: -/* 80355A28 00352988 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80355A2C 0035298C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80355A30 00352990 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80355A34 00352994 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80355A38 00352998 83 81 00 10 */ lwz r28, 0x10(r1) -/* 80355A3C 0035299C 7C 08 03 A6 */ mtlr r0 -/* 80355A40 003529A0 38 21 00 20 */ addi r1, r1, 0x20 -/* 80355A44 003529A4 4E 80 00 20 */ blr - -.global Draw__6CModelCFPCfPCfRC11CModelFlags -Draw__6CModelCFPCfPCfRC11CModelFlags: -/* 80355A48 003529A8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80355A4C 003529AC 7C 08 02 A6 */ mflr r0 -/* 80355A50 003529B0 90 01 00 24 */ stw r0, 0x24(r1) -/* 80355A54 003529B4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80355A58 003529B8 7C DF 33 78 */ mr r31, r6 -/* 80355A5C 003529BC 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80355A60 003529C0 7C BE 2B 78 */ mr r30, r5 -/* 80355A64 003529C4 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80355A68 003529C8 7C 9D 23 78 */ mr r29, r4 -/* 80355A6C 003529CC 93 81 00 10 */ stw r28, 0x10(r1) -/* 80355A70 003529D0 7C 7C 1B 78 */ mr r28, r3 -/* 80355A74 003529D4 A0 06 00 02 */ lhz r0, 2(r6) -/* 80355A78 003529D8 54 00 06 B5 */ rlwinm. r0, r0, 0, 0x1a, 0x1a -/* 80355A7C 003529DC 41 82 00 10 */ beq lbl_80355A8C -/* 80355A80 003529E0 80 7C 00 28 */ lwz r3, 0x28(r28) -/* 80355A84 003529E4 38 C0 00 02 */ li r6, 2 -/* 80355A88 003529E8 4B FB 0B A9 */ bl sub_80306630 -lbl_80355A8C: -/* 80355A8C 003529EC 4B FE FE 81 */ bl ResetCachedMaterials__13CCubeMaterialFv -/* 80355A90 003529F0 7F 83 E3 78 */ mr r3, r28 -/* 80355A94 003529F4 4B FF FA B9 */ bl MoveToThisFrameList__6CModelCFv -/* 80355A98 003529F8 88 9F 00 01 */ lbz r4, 1(r31) -/* 80355A9C 003529FC 7F 83 E3 78 */ mr r3, r28 -/* 80355AA0 00352A00 7C 84 07 74 */ extsb r4, r4 -/* 80355AA4 00352A04 4B FF FE B9 */ bl VerifyCurrentShader__6CModelCFi -/* 80355AA8 00352A08 80 7C 00 28 */ lwz r3, 0x28(r28) -/* 80355AAC 00352A0C 7F A4 EB 78 */ mr r4, r29 -/* 80355AB0 00352A10 7F C5 F3 78 */ mr r5, r30 -/* 80355AB4 00352A14 7F E6 FB 78 */ mr r6, r31 -/* 80355AB8 00352A18 4B FB 0E 81 */ bl Draw__10CCubeModelCFPCfPCfRC11CModelFlags -/* 80355ABC 00352A1C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80355AC0 00352A20 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80355AC4 00352A24 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80355AC8 00352A28 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80355ACC 00352A2C 83 81 00 10 */ lwz r28, 0x10(r1) -/* 80355AD0 00352A30 7C 08 03 A6 */ mtlr r0 -/* 80355AD4 00352A34 38 21 00 20 */ addi r1, r1, 0x20 -/* 80355AD8 00352A38 4E 80 00 20 */ blr - -.global DrawSortedParts__6CModelCFRC11CModelFlags -DrawSortedParts__6CModelCFRC11CModelFlags: -/* 80355ADC 00352A3C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80355AE0 00352A40 7C 08 02 A6 */ mflr r0 -/* 80355AE4 00352A44 90 01 00 14 */ stw r0, 0x14(r1) -/* 80355AE8 00352A48 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80355AEC 00352A4C 7C 9F 23 78 */ mr r31, r4 -/* 80355AF0 00352A50 93 C1 00 08 */ stw r30, 8(r1) -/* 80355AF4 00352A54 7C 7E 1B 78 */ mr r30, r3 -/* 80355AF8 00352A58 A0 04 00 02 */ lhz r0, 2(r4) -/* 80355AFC 00352A5C 54 00 06 B5 */ rlwinm. r0, r0, 0, 0x1a, 0x1a -/* 80355B00 00352A60 41 82 00 18 */ beq lbl_80355B18 -/* 80355B04 00352A64 80 7E 00 28 */ lwz r3, 0x28(r30) -/* 80355B08 00352A68 38 80 00 00 */ li r4, 0 -/* 80355B0C 00352A6C 38 A0 00 00 */ li r5, 0 -/* 80355B10 00352A70 38 C0 00 01 */ li r6, 1 -/* 80355B14 00352A74 4B FB 0B 1D */ bl sub_80306630 -lbl_80355B18: -/* 80355B18 00352A78 4B FE FD F5 */ bl ResetCachedMaterials__13CCubeMaterialFv -/* 80355B1C 00352A7C 7F C3 F3 78 */ mr r3, r30 -/* 80355B20 00352A80 4B FF FA 2D */ bl MoveToThisFrameList__6CModelCFv -/* 80355B24 00352A84 88 9F 00 01 */ lbz r4, 1(r31) -/* 80355B28 00352A88 7F C3 F3 78 */ mr r3, r30 -/* 80355B2C 00352A8C 7C 84 07 74 */ extsb r4, r4 -/* 80355B30 00352A90 4B FF FE 2D */ bl VerifyCurrentShader__6CModelCFi -/* 80355B34 00352A94 80 7E 00 28 */ lwz r3, 0x28(r30) -/* 80355B38 00352A98 7F E4 FB 78 */ mr r4, r31 -/* 80355B3C 00352A9C 4B FB 0D 65 */ bl DrawAlpha__10CCubeModelCFRC11CModelFlags -/* 80355B40 00352AA0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80355B44 00352AA4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80355B48 00352AA8 83 C1 00 08 */ lwz r30, 8(r1) -/* 80355B4C 00352AAC 7C 08 03 A6 */ mtlr r0 -/* 80355B50 00352AB0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80355B54 00352AB4 4E 80 00 20 */ blr - -.global DrawUnsortedParts__6CModelCFRC11CModelFlags -DrawUnsortedParts__6CModelCFRC11CModelFlags: -/* 80355B58 00352AB8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80355B5C 00352ABC 7C 08 02 A6 */ mflr r0 -/* 80355B60 00352AC0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80355B64 00352AC4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80355B68 00352AC8 7C 9F 23 78 */ mr r31, r4 -/* 80355B6C 00352ACC 93 C1 00 08 */ stw r30, 8(r1) -/* 80355B70 00352AD0 7C 7E 1B 78 */ mr r30, r3 -/* 80355B74 00352AD4 A0 04 00 02 */ lhz r0, 2(r4) -/* 80355B78 00352AD8 54 00 06 B5 */ rlwinm. r0, r0, 0, 0x1a, 0x1a -/* 80355B7C 00352ADC 41 82 00 18 */ beq lbl_80355B94 -/* 80355B80 00352AE0 80 7E 00 28 */ lwz r3, 0x28(r30) -/* 80355B84 00352AE4 38 80 00 00 */ li r4, 0 -/* 80355B88 00352AE8 38 A0 00 00 */ li r5, 0 -/* 80355B8C 00352AEC 38 C0 00 00 */ li r6, 0 -/* 80355B90 00352AF0 4B FB 0A A1 */ bl sub_80306630 -lbl_80355B94: -/* 80355B94 00352AF4 4B FE FD 79 */ bl ResetCachedMaterials__13CCubeMaterialFv -/* 80355B98 00352AF8 7F C3 F3 78 */ mr r3, r30 -/* 80355B9C 00352AFC 4B FF F9 B1 */ bl MoveToThisFrameList__6CModelCFv -/* 80355BA0 00352B00 88 9F 00 01 */ lbz r4, 1(r31) -/* 80355BA4 00352B04 7F C3 F3 78 */ mr r3, r30 -/* 80355BA8 00352B08 7C 84 07 74 */ extsb r4, r4 -/* 80355BAC 00352B0C 4B FF FD B1 */ bl VerifyCurrentShader__6CModelCFi -/* 80355BB0 00352B10 80 7E 00 28 */ lwz r3, 0x28(r30) -/* 80355BB4 00352B14 7F E4 FB 78 */ mr r4, r31 -/* 80355BB8 00352B18 4B FB 0D 35 */ bl DrawNormal__10CCubeModelCFRC11CModelFlags -/* 80355BBC 00352B1C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80355BC0 00352B20 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80355BC4 00352B24 83 C1 00 08 */ lwz r30, 8(r1) -/* 80355BC8 00352B28 7C 08 03 A6 */ mtlr r0 -/* 80355BCC 00352B2C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80355BD0 00352B30 4E 80 00 20 */ blr - -.global Draw__6CModelCFRC11CModelFlags -Draw__6CModelCFRC11CModelFlags: -/* 80355BD4 00352B34 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80355BD8 00352B38 7C 08 02 A6 */ mflr r0 -/* 80355BDC 00352B3C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80355BE0 00352B40 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80355BE4 00352B44 7C 9F 23 78 */ mr r31, r4 -/* 80355BE8 00352B48 93 C1 00 08 */ stw r30, 8(r1) -/* 80355BEC 00352B4C 7C 7E 1B 78 */ mr r30, r3 -/* 80355BF0 00352B50 A0 04 00 02 */ lhz r0, 2(r4) -/* 80355BF4 00352B54 54 00 06 B5 */ rlwinm. r0, r0, 0, 0x1a, 0x1a -/* 80355BF8 00352B58 41 82 00 18 */ beq lbl_80355C10 -/* 80355BFC 00352B5C 80 7E 00 28 */ lwz r3, 0x28(r30) -/* 80355C00 00352B60 38 80 00 00 */ li r4, 0 -/* 80355C04 00352B64 38 A0 00 00 */ li r5, 0 -/* 80355C08 00352B68 38 C0 00 02 */ li r6, 2 -/* 80355C0C 00352B6C 4B FB 0A 25 */ bl sub_80306630 -lbl_80355C10: -/* 80355C10 00352B70 4B FE FC FD */ bl ResetCachedMaterials__13CCubeMaterialFv -/* 80355C14 00352B74 7F C3 F3 78 */ mr r3, r30 -/* 80355C18 00352B78 4B FF F9 35 */ bl MoveToThisFrameList__6CModelCFv -/* 80355C1C 00352B7C 88 9F 00 01 */ lbz r4, 1(r31) -/* 80355C20 00352B80 7F C3 F3 78 */ mr r3, r30 -/* 80355C24 00352B84 7C 84 07 74 */ extsb r4, r4 -/* 80355C28 00352B88 4B FF FD 35 */ bl VerifyCurrentShader__6CModelCFi -/* 80355C2C 00352B8C 80 7E 00 28 */ lwz r3, 0x28(r30) -/* 80355C30 00352B90 7F E4 FB 78 */ mr r4, r31 -/* 80355C34 00352B94 4B FB 0D 71 */ bl Draw__10CCubeModelCFRC11CModelFlags -/* 80355C38 00352B98 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80355C3C 00352B9C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80355C40 00352BA0 83 C1 00 08 */ lwz r30, 8(r1) -/* 80355C44 00352BA4 7C 08 03 A6 */ mtlr r0 -/* 80355C48 00352BA8 38 21 00 10 */ addi r1, r1, 0x10 -/* 80355C4C 00352BAC 4E 80 00 20 */ blr - -.global __dt__6CModelFv -__dt__6CModelFv: -/* 80355C50 00352BB0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80355C54 00352BB4 7C 08 02 A6 */ mflr r0 -/* 80355C58 00352BB8 90 01 00 24 */ stw r0, 0x24(r1) -/* 80355C5C 00352BBC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80355C60 00352BC0 7C 9F 23 78 */ mr r31, r4 -/* 80355C64 00352BC4 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80355C68 00352BC8 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80355C6C 00352BCC 41 82 00 E4 */ beq lbl_80355D50 -/* 80355C70 00352BD0 4B FF F8 5D */ bl RemoveFromList__6CModelCFv -/* 80355C74 00352BD4 80 7E 00 04 */ lwz r3, 4(r30) -/* 80355C78 00352BD8 80 0D AA 78 */ lwz r0, lbl_805A9638@sda21(r13) -/* 80355C7C 00352BDC 7C 03 00 50 */ subf r0, r3, r0 -/* 80355C80 00352BE0 90 0D AA 78 */ stw r0, lbl_805A9638@sda21(r13) -/* 80355C84 00352BE4 4B FB 3B 79 */ bl GetFrameCounter__9CGraphicsFv -/* 80355C88 00352BE8 80 9E 00 38 */ lwz r4, 0x38(r30) -/* 80355C8C 00352BEC 7C 04 18 40 */ cmplw r4, r3 -/* 80355C90 00352BF0 40 82 00 1C */ bne lbl_80355CAC -/* 80355C94 00352BF4 80 9E 00 00 */ lwz r4, 0(r30) -/* 80355C98 00352BF8 38 00 00 00 */ li r0, 0 -/* 80355C9C 00352BFC 38 60 00 01 */ li r3, 1 -/* 80355CA0 00352C00 90 1E 00 00 */ stw r0, 0(r30) -/* 80355CA4 00352C04 48 01 6F 79 */ bl sub_8036cc1c -/* 80355CA8 00352C08 48 00 00 24 */ b lbl_80355CCC -lbl_80355CAC: -/* 80355CAC 00352C0C 38 03 FF FF */ addi r0, r3, -1 -/* 80355CB0 00352C10 7C 04 00 40 */ cmplw r4, r0 -/* 80355CB4 00352C14 40 82 00 18 */ bne lbl_80355CCC -/* 80355CB8 00352C18 80 9E 00 00 */ lwz r4, 0(r30) -/* 80355CBC 00352C1C 38 00 00 00 */ li r0, 0 -/* 80355CC0 00352C20 38 60 00 00 */ li r3, 0 -/* 80355CC4 00352C24 90 1E 00 00 */ stw r0, 0(r30) -/* 80355CC8 00352C28 48 01 6F 55 */ bl sub_8036cc1c -lbl_80355CCC: -/* 80355CCC 00352C2C 34 1E 00 28 */ addic. r0, r30, 0x28 -/* 80355CD0 00352C30 41 82 00 0C */ beq lbl_80355CDC -/* 80355CD4 00352C34 80 7E 00 28 */ lwz r3, 0x28(r30) -/* 80355CD8 00352C38 4B FB FC 59 */ bl Free__7CMemoryFPCv -lbl_80355CDC: -/* 80355CDC 00352C3C 38 7E 00 18 */ addi r3, r30, 0x18 -/* 80355CE0 00352C40 38 80 FF FF */ li r4, -1 -/* 80355CE4 00352C44 48 00 00 89 */ bl sub_80355d6c -/* 80355CE8 00352C48 34 1E 00 08 */ addic. r0, r30, 8 -/* 80355CEC 00352C4C 41 82 00 44 */ beq lbl_80355D30 -/* 80355CF0 00352C50 80 1E 00 0C */ lwz r0, 0xc(r30) -/* 80355CF4 00352C54 80 7E 00 14 */ lwz r3, 0x14(r30) -/* 80355CF8 00352C58 54 00 10 3A */ slwi r0, r0, 2 -/* 80355CFC 00352C5C 7C 03 02 14 */ add r0, r3, r0 -/* 80355D00 00352C60 90 61 00 0C */ stw r3, 0xc(r1) -/* 80355D04 00352C64 7C 64 1B 78 */ mr r4, r3 -/* 80355D08 00352C68 90 01 00 14 */ stw r0, 0x14(r1) -/* 80355D0C 00352C6C 90 01 00 10 */ stw r0, 0x10(r1) -/* 80355D10 00352C70 90 61 00 08 */ stw r3, 8(r1) -/* 80355D14 00352C74 48 00 00 08 */ b lbl_80355D1C -lbl_80355D18: -/* 80355D18 00352C78 38 84 00 04 */ addi r4, r4, 4 -lbl_80355D1C: -/* 80355D1C 00352C7C 7C 04 00 40 */ cmplw r4, r0 -/* 80355D20 00352C80 40 82 FF F8 */ bne lbl_80355D18 -/* 80355D24 00352C84 28 03 00 00 */ cmplwi r3, 0 -/* 80355D28 00352C88 41 82 00 08 */ beq lbl_80355D30 -/* 80355D2C 00352C8C 4B FB FC 05 */ bl Free__7CMemoryFPCv -lbl_80355D30: -/* 80355D30 00352C90 28 1E 00 00 */ cmplwi r30, 0 -/* 80355D34 00352C94 41 82 00 0C */ beq lbl_80355D40 -/* 80355D38 00352C98 80 7E 00 00 */ lwz r3, 0(r30) -/* 80355D3C 00352C9C 4B FB FB F5 */ bl Free__7CMemoryFPCv -lbl_80355D40: -/* 80355D40 00352CA0 7F E0 07 35 */ extsh. r0, r31 -/* 80355D44 00352CA4 40 81 00 0C */ ble lbl_80355D50 -/* 80355D48 00352CA8 7F C3 F3 78 */ mr r3, r30 -/* 80355D4C 00352CAC 4B FB FB E5 */ bl Free__7CMemoryFPCv -lbl_80355D50: -/* 80355D50 00352CB0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80355D54 00352CB4 7F C3 F3 78 */ mr r3, r30 -/* 80355D58 00352CB8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80355D5C 00352CBC 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80355D60 00352CC0 7C 08 03 A6 */ mtlr r0 -/* 80355D64 00352CC4 38 21 00 20 */ addi r1, r1, 0x20 -/* 80355D68 00352CC8 4E 80 00 20 */ blr - -.global sub_80355d6c -sub_80355d6c: -/* 80355D6C 00352CCC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80355D70 00352CD0 7C 08 02 A6 */ mflr r0 -/* 80355D74 00352CD4 90 01 00 24 */ stw r0, 0x24(r1) -/* 80355D78 00352CD8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80355D7C 00352CDC 7C 9F 23 78 */ mr r31, r4 -/* 80355D80 00352CE0 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80355D84 00352CE4 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80355D88 00352CE8 41 82 00 54 */ beq lbl_80355DDC -/* 80355D8C 00352CEC 80 1E 00 04 */ lwz r0, 4(r30) -/* 80355D90 00352CF0 38 61 00 14 */ addi r3, r1, 0x14 -/* 80355D94 00352CF4 80 BE 00 0C */ lwz r5, 0xc(r30) -/* 80355D98 00352CF8 38 81 00 0C */ addi r4, r1, 0xc -/* 80355D9C 00352CFC 1C 00 00 14 */ mulli r0, r0, 0x14 -/* 80355DA0 00352D00 7C A5 02 14 */ add r5, r5, r0 -/* 80355DA4 00352D04 90 A1 00 0C */ stw r5, 0xc(r1) -/* 80355DA8 00352D08 80 1E 00 0C */ lwz r0, 0xc(r30) -/* 80355DAC 00352D0C 90 A1 00 08 */ stw r5, 8(r1) -/* 80355DB0 00352D10 90 01 00 10 */ stw r0, 0x10(r1) -/* 80355DB4 00352D14 90 01 00 14 */ stw r0, 0x14(r1) -/* 80355DB8 00352D18 48 00 00 41 */ bl sub_80355df8 -/* 80355DBC 00352D1C 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 80355DC0 00352D20 28 03 00 00 */ cmplwi r3, 0 -/* 80355DC4 00352D24 41 82 00 08 */ beq lbl_80355DCC -/* 80355DC8 00352D28 4B FB FB 69 */ bl Free__7CMemoryFPCv -lbl_80355DCC: -/* 80355DCC 00352D2C 7F E0 07 35 */ extsh. r0, r31 -/* 80355DD0 00352D30 40 81 00 0C */ ble lbl_80355DDC -/* 80355DD4 00352D34 7F C3 F3 78 */ mr r3, r30 -/* 80355DD8 00352D38 4B FB FB 59 */ bl Free__7CMemoryFPCv -lbl_80355DDC: -/* 80355DDC 00352D3C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80355DE0 00352D40 7F C3 F3 78 */ mr r3, r30 -/* 80355DE4 00352D44 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80355DE8 00352D48 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80355DEC 00352D4C 7C 08 03 A6 */ mtlr r0 -/* 80355DF0 00352D50 38 21 00 20 */ addi r1, r1, 0x20 -/* 80355DF4 00352D54 4E 80 00 20 */ blr - -.global sub_80355df8 -sub_80355df8: -/* 80355DF8 00352D58 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80355DFC 00352D5C 7C 08 02 A6 */ mflr r0 -/* 80355E00 00352D60 90 01 00 14 */ stw r0, 0x14(r1) -/* 80355E04 00352D64 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80355E08 00352D68 93 C1 00 08 */ stw r30, 8(r1) -/* 80355E0C 00352D6C 7C 9E 23 78 */ mr r30, r4 -/* 80355E10 00352D70 83 E3 00 00 */ lwz r31, 0(r3) -/* 80355E14 00352D74 48 00 00 10 */ b lbl_80355E24 -lbl_80355E18: -/* 80355E18 00352D78 7F E3 FB 78 */ mr r3, r31 -/* 80355E1C 00352D7C 48 00 00 2D */ bl sub_80355e48 -/* 80355E20 00352D80 3B FF 00 14 */ addi r31, r31, 0x14 -lbl_80355E24: -/* 80355E24 00352D84 80 1E 00 00 */ lwz r0, 0(r30) -/* 80355E28 00352D88 7C 1F 00 40 */ cmplw r31, r0 -/* 80355E2C 00352D8C 40 82 FF EC */ bne lbl_80355E18 -/* 80355E30 00352D90 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80355E34 00352D94 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80355E38 00352D98 83 C1 00 08 */ lwz r30, 8(r1) -/* 80355E3C 00352D9C 7C 08 03 A6 */ mtlr r0 -/* 80355E40 00352DA0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80355E44 00352DA4 4E 80 00 20 */ blr - -.global sub_80355e48 -sub_80355e48: -/* 80355E48 00352DA8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80355E4C 00352DAC 7C 08 02 A6 */ mflr r0 -/* 80355E50 00352DB0 38 80 FF FF */ li r4, -1 -/* 80355E54 00352DB4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80355E58 00352DB8 48 00 00 15 */ bl sub_80355e6c -/* 80355E5C 00352DBC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80355E60 00352DC0 7C 08 03 A6 */ mtlr r0 -/* 80355E64 00352DC4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80355E68 00352DC8 4E 80 00 20 */ blr - -.global sub_80355e6c -sub_80355e6c: -/* 80355E6C 00352DCC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80355E70 00352DD0 7C 08 02 A6 */ mflr r0 -/* 80355E74 00352DD4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80355E78 00352DD8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80355E7C 00352DDC 7C 9F 23 78 */ mr r31, r4 -/* 80355E80 00352DE0 93 C1 00 08 */ stw r30, 8(r1) -/* 80355E84 00352DE4 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80355E88 00352DE8 41 82 00 1C */ beq lbl_80355EA4 -/* 80355E8C 00352DEC 38 80 FF FF */ li r4, -1 -/* 80355E90 00352DF0 4B F6 86 39 */ bl sub_802be4c8 -/* 80355E94 00352DF4 7F E0 07 35 */ extsh. r0, r31 -/* 80355E98 00352DF8 40 81 00 0C */ ble lbl_80355EA4 -/* 80355E9C 00352DFC 7F C3 F3 78 */ mr r3, r30 -/* 80355EA0 00352E00 4B FB FA 91 */ bl Free__7CMemoryFPCv -lbl_80355EA4: -/* 80355EA4 00352E04 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80355EA8 00352E08 7F C3 F3 78 */ mr r3, r30 -/* 80355EAC 00352E0C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80355EB0 00352E10 83 C1 00 08 */ lwz r30, 8(r1) -/* 80355EB4 00352E14 7C 08 03 A6 */ mtlr r0 -/* 80355EB8 00352E18 38 21 00 10 */ addi r1, r1, 0x10 -/* 80355EBC 00352E1C 4E 80 00 20 */ blr - -.global "__ct__6CModelFRCQ24rstl12auto_ptriR12IObjectStore" -"__ct__6CModelFRCQ24rstl12auto_ptriR12IObjectStore": -/* 80355EC0 00352E20 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 80355EC4 00352E24 7C 08 02 A6 */ mflr r0 -/* 80355EC8 00352E28 90 01 00 74 */ stw r0, 0x74(r1) -/* 80355ECC 00352E2C BE 81 00 40 */ stmw r20, 0x40(r1) -/* 80355ED0 00352E30 7C 94 23 78 */ mr r20, r4 -/* 80355ED4 00352E34 38 80 00 00 */ li r4, 0 -/* 80355ED8 00352E38 7C BF 2B 78 */ mr r31, r5 -/* 80355EDC 00352E3C 7C 7E 1B 78 */ mr r30, r3 -/* 80355EE0 00352E40 7C D5 33 78 */ mr r21, r6 -/* 80355EE4 00352E44 98 94 00 00 */ stb r4, 0(r20) -/* 80355EE8 00352E48 80 14 00 04 */ lwz r0, 4(r20) -/* 80355EEC 00352E4C 90 03 00 00 */ stw r0, 0(r3) -/* 80355EF0 00352E50 93 E3 00 04 */ stw r31, 4(r3) -/* 80355EF4 00352E54 90 83 00 0C */ stw r4, 0xc(r3) -/* 80355EF8 00352E58 90 83 00 10 */ stw r4, 0x10(r3) -/* 80355EFC 00352E5C 90 83 00 14 */ stw r4, 0x14(r3) -/* 80355F00 00352E60 90 83 00 1C */ stw r4, 0x1c(r3) -/* 80355F04 00352E64 90 83 00 20 */ stw r4, 0x20(r3) -/* 80355F08 00352E68 90 83 00 24 */ stw r4, 0x24(r3) -/* 80355F0C 00352E6C 90 83 00 28 */ stw r4, 0x28(r3) -/* 80355F10 00352E70 B0 83 00 2C */ sth r4, 0x2c(r3) -/* 80355F14 00352E74 B0 83 00 2E */ sth r4, 0x2e(r3) -/* 80355F18 00352E78 90 83 00 30 */ stw r4, 0x30(r3) -/* 80355F1C 00352E7C 80 0D AA 7C */ lwz r0, lbl_805A963C@sda21(r13) -/* 80355F20 00352E80 90 03 00 34 */ stw r0, 0x34(r3) -/* 80355F24 00352E84 4B FB 38 D9 */ bl GetFrameCounter__9CGraphicsFv -/* 80355F28 00352E88 38 03 FF FE */ addi r0, r3, -2 -/* 80355F2C 00352E8C 38 A0 00 2C */ li r5, 0x2c -/* 80355F30 00352E90 90 1E 00 38 */ stw r0, 0x38(r30) -/* 80355F34 00352E94 83 94 00 04 */ lwz r28, 4(r20) -/* 80355F38 00352E98 80 7C 00 04 */ lwz r3, 4(r28) -/* 80355F3C 00352E9C 80 1C 00 08 */ lwz r0, 8(r28) -/* 80355F40 00352EA0 28 03 00 01 */ cmplwi r3, 1 -/* 80355F44 00352EA4 54 1B FF FE */ rlwinm r27, r0, 0x1f, 0x1f, 0x1f -/* 80355F48 00352EA8 54 1D F7 FE */ rlwinm r29, r0, 0x1e, 0x1f, 0x1f -/* 80355F4C 00352EAC 40 82 00 08 */ bne lbl_80355F54 -/* 80355F50 00352EB0 38 A0 00 28 */ li r5, 0x28 -lbl_80355F54: -/* 80355F54 00352EB4 28 03 00 02 */ cmplwi r3, 2 -/* 80355F58 00352EB8 80 1C 00 24 */ lwz r0, 0x24(r28) -/* 80355F5C 00352EBC 7C 9C 2A 14 */ add r4, r28, r5 -/* 80355F60 00352EC0 3B 40 00 01 */ li r26, 1 -/* 80355F64 00352EC4 41 80 00 08 */ blt lbl_80355F6C -/* 80355F68 00352EC8 83 5C 00 28 */ lwz r26, 0x28(r28) -lbl_80355F6C: -/* 80355F6C 00352ECC 54 03 10 3A */ slwi r3, r0, 2 -/* 80355F70 00352ED0 90 81 00 20 */ stw r4, 0x20(r1) -/* 80355F74 00352ED4 38 03 00 1F */ addi r0, r3, 0x1f -/* 80355F78 00352ED8 7F 44 D3 78 */ mr r4, r26 -/* 80355F7C 00352EDC 7C 05 02 14 */ add r0, r5, r0 -/* 80355F80 00352EE0 38 7E 00 18 */ addi r3, r30, 0x18 -/* 80355F84 00352EE4 54 00 00 34 */ rlwinm r0, r0, 0, 0, 0x1a -/* 80355F88 00352EE8 7C 1C 02 14 */ add r0, r28, r0 -/* 80355F8C 00352EEC 90 01 00 24 */ stw r0, 0x24(r1) -/* 80355F90 00352EF0 48 00 03 ED */ bl sub_8035637c -/* 80355F94 00352EF4 3B 20 00 00 */ li r25, 0 -/* 80355F98 00352EF8 48 00 00 7C */ b lbl_80356014 -lbl_80355F9C: -/* 80355F9C 00352EFC 38 61 00 24 */ addi r3, r1, 0x24 -/* 80355FA0 00352F00 38 81 00 20 */ addi r4, r1, 0x20 -/* 80355FA4 00352F04 48 00 03 9D */ bl advanceSectionInfo -/* 80355FA8 00352F08 38 00 00 00 */ li r0, 0 -/* 80355FAC 00352F0C 90 61 00 38 */ stw r3, 0x38(r1) -/* 80355FB0 00352F10 38 7E 00 18 */ addi r3, r30, 0x18 -/* 80355FB4 00352F14 38 81 00 28 */ addi r4, r1, 0x28 -/* 80355FB8 00352F18 90 01 00 2C */ stw r0, 0x2c(r1) -/* 80355FBC 00352F1C 90 01 00 30 */ stw r0, 0x30(r1) -/* 80355FC0 00352F20 90 01 00 34 */ stw r0, 0x34(r1) -/* 80355FC4 00352F24 48 00 02 21 */ bl sub_803561e4 -/* 80355FC8 00352F28 38 61 00 28 */ addi r3, r1, 0x28 -/* 80355FCC 00352F2C 38 80 FF FF */ li r4, -1 -/* 80355FD0 00352F30 4B FF FE 9D */ bl sub_80355e6c -/* 80355FD4 00352F34 80 7E 00 1C */ lwz r3, 0x1c(r30) -/* 80355FD8 00352F38 7E A5 AB 78 */ mr r5, r21 -/* 80355FDC 00352F3C 80 9E 00 24 */ lwz r4, 0x24(r30) -/* 80355FE0 00352F40 38 C0 00 01 */ li r6, 1 -/* 80355FE4 00352F44 38 03 FF FF */ addi r0, r3, -1 -/* 80355FE8 00352F48 1C 00 00 14 */ mulli r0, r0, 0x14 -/* 80355FEC 00352F4C 7E 84 02 14 */ add r20, r4, r0 -/* 80355FF0 00352F50 80 74 00 10 */ lwz r3, 0x10(r20) -/* 80355FF4 00352F54 7E 84 A3 78 */ mr r4, r20 -/* 80355FF8 00352F58 4B FB 18 09 */ bl "MakeTexturesFromMats__10CCubeModelFPCvRQ24rstl60vector<23TCachedToken<8CTexture>,Q24rstl17rmemory_allocator>R12IObjectStoreb" -/* 80355FFC 00352F5C 80 14 00 04 */ lwz r0, 4(r20) -/* 80356000 00352F60 3B 39 00 01 */ addi r25, r25, 1 -/* 80356004 00352F64 80 7E 00 04 */ lwz r3, 4(r30) -/* 80356008 00352F68 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8035600C 00352F6C 7C 03 02 14 */ add r0, r3, r0 -/* 80356010 00352F70 90 1E 00 04 */ stw r0, 4(r30) -lbl_80356014: -/* 80356014 00352F74 7C 19 D0 00 */ cmpw r25, r26 -/* 80356018 00352F78 41 80 FF 84 */ blt lbl_80355F9C -/* 8035601C 00352F7C 38 61 00 24 */ addi r3, r1, 0x24 -/* 80356020 00352F80 38 81 00 20 */ addi r4, r1, 0x20 -/* 80356024 00352F84 48 00 03 1D */ bl advanceSectionInfo -/* 80356028 00352F88 7C 60 1B 78 */ mr r0, r3 -/* 8035602C 00352F8C 38 61 00 24 */ addi r3, r1, 0x24 -/* 80356030 00352F90 7C 19 03 78 */ mr r25, r0 -/* 80356034 00352F94 38 81 00 20 */ addi r4, r1, 0x20 -/* 80356038 00352F98 48 00 03 09 */ bl advanceSectionInfo -/* 8035603C 00352F9C 7C 60 1B 78 */ mr r0, r3 -/* 80356040 00352FA0 38 61 00 24 */ addi r3, r1, 0x24 -/* 80356044 00352FA4 7C 1A 03 78 */ mr r26, r0 -/* 80356048 00352FA8 38 81 00 20 */ addi r4, r1, 0x20 -/* 8035604C 00352FAC 48 00 02 F5 */ bl advanceSectionInfo -/* 80356050 00352FB0 7C 60 1B 78 */ mr r0, r3 -/* 80356054 00352FB4 38 61 00 24 */ addi r3, r1, 0x24 -/* 80356058 00352FB8 7C 18 03 78 */ mr r24, r0 -/* 8035605C 00352FBC 38 81 00 20 */ addi r4, r1, 0x20 -/* 80356060 00352FC0 48 00 02 E1 */ bl advanceSectionInfo -/* 80356064 00352FC4 28 1D 00 00 */ cmplwi r29, 0 -/* 80356068 00352FC8 7C 77 1B 78 */ mr r23, r3 -/* 8035606C 00352FCC 3A C0 00 00 */ li r22, 0 -/* 80356070 00352FD0 41 82 00 14 */ beq lbl_80356084 -/* 80356074 00352FD4 38 61 00 24 */ addi r3, r1, 0x24 -/* 80356078 00352FD8 38 81 00 20 */ addi r4, r1, 0x20 -/* 8035607C 00352FDC 48 00 02 C5 */ bl advanceSectionInfo -/* 80356080 00352FE0 7C 76 1B 78 */ mr r22, r3 -lbl_80356084: -/* 80356084 00352FE4 38 61 00 24 */ addi r3, r1, 0x24 -/* 80356088 00352FE8 38 81 00 20 */ addi r4, r1, 0x20 -/* 8035608C 00352FEC 48 00 02 B5 */ bl advanceSectionInfo -/* 80356090 00352FF0 83 A3 00 00 */ lwz r29, 0(r3) -/* 80356094 00352FF4 38 7E 00 08 */ addi r3, r30, 8 -/* 80356098 00352FF8 7F A4 EB 78 */ mr r4, r29 -/* 8035609C 00352FFC 4B D0 DB 75 */ bl sub_80063c10 -/* 803560A0 00353000 3A A0 00 00 */ li r21, 0 -/* 803560A4 00353004 48 00 00 64 */ b lbl_80356108 -lbl_803560A8: -/* 803560A8 00353008 38 61 00 24 */ addi r3, r1, 0x24 -/* 803560AC 0035300C 38 81 00 20 */ addi r4, r1, 0x20 -/* 803560B0 00353010 48 00 02 91 */ bl advanceSectionInfo -/* 803560B4 00353014 80 1E 00 0C */ lwz r0, 0xc(r30) -/* 803560B8 00353018 7C 74 1B 78 */ mr r20, r3 -/* 803560BC 0035301C 80 BE 00 10 */ lwz r5, 0x10(r30) -/* 803560C0 00353020 7C 00 28 00 */ cmpw r0, r5 -/* 803560C4 00353024 41 80 00 1C */ blt lbl_803560E0 -/* 803560C8 00353028 2C 05 00 00 */ cmpwi r5, 0 -/* 803560CC 0035302C 38 7E 00 08 */ addi r3, r30, 8 -/* 803560D0 00353030 38 80 00 04 */ li r4, 4 -/* 803560D4 00353034 41 82 00 08 */ beq lbl_803560DC -/* 803560D8 00353038 54 A4 08 3C */ slwi r4, r5, 1 -lbl_803560DC: -/* 803560DC 0035303C 4B D0 DB 35 */ bl sub_80063c10 -lbl_803560E0: -/* 803560E0 00353040 80 1E 00 0C */ lwz r0, 0xc(r30) -/* 803560E4 00353044 80 7E 00 14 */ lwz r3, 0x14(r30) -/* 803560E8 00353048 54 00 10 3A */ slwi r0, r0, 2 -/* 803560EC 0035304C 7C 63 02 15 */ add. r3, r3, r0 -/* 803560F0 00353050 41 82 00 08 */ beq lbl_803560F8 -/* 803560F4 00353054 92 83 00 00 */ stw r20, 0(r3) -lbl_803560F8: -/* 803560F8 00353058 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 803560FC 0035305C 3A B5 00 01 */ addi r21, r21, 1 -/* 80356100 00353060 38 03 00 01 */ addi r0, r3, 1 -/* 80356104 00353064 90 1E 00 0C */ stw r0, 0xc(r30) -lbl_80356108: -/* 80356108 00353068 7C 15 E8 40 */ cmplw r21, r29 -/* 8035610C 0035306C 41 80 FF 9C */ blt lbl_803560A8 -/* 80356110 00353070 3C 80 80 3E */ lis r4, lbl_803D8308@ha -/* 80356114 00353074 38 60 00 48 */ li r3, 0x48 -/* 80356118 00353078 38 84 83 08 */ addi r4, r4, lbl_803D8308@l -/* 8035611C 0035307C 38 A0 00 00 */ li r5, 0 -/* 80356120 00353080 4B FB F7 4D */ bl __nw__FUlPCcPCc -/* 80356124 00353084 7C 74 1B 79 */ or. r20, r3, r3 -/* 80356128 00353088 41 82 00 54 */ beq lbl_8035617C -/* 8035612C 0035308C 80 BE 00 24 */ lwz r5, 0x24(r30) -/* 80356130 00353090 7C 1B 00 D0 */ neg r0, r27 -/* 80356134 00353094 7C 00 DB 78 */ or r0, r0, r27 -/* 80356138 00353098 38 9C 00 0C */ addi r4, r28, 0xc -/* 8035613C 0035309C 92 C1 00 08 */ stw r22, 8(r1) -/* 80356140 003530A0 54 09 0F FE */ srwi r9, r0, 0x1f -/* 80356144 003530A4 38 C0 00 01 */ li r6, 1 -/* 80356148 003530A8 38 00 FF FF */ li r0, -1 -/* 8035614C 003530AC 90 81 00 0C */ stw r4, 0xc(r1) -/* 80356150 003530B0 7F 27 CB 78 */ mr r7, r25 -/* 80356154 003530B4 7F 48 D3 78 */ mr r8, r26 -/* 80356158 003530B8 7E EA BB 78 */ mr r10, r23 -/* 8035615C 003530BC 91 21 00 10 */ stw r9, 0x10(r1) -/* 80356160 003530C0 7F 09 C3 78 */ mr r9, r24 -/* 80356164 003530C4 38 9E 00 08 */ addi r4, r30, 8 -/* 80356168 003530C8 90 C1 00 14 */ stw r6, 0x14(r1) -/* 8035616C 003530CC 90 01 00 18 */ stw r0, 0x18(r1) -/* 80356170 003530D0 80 C5 00 10 */ lwz r6, 0x10(r5) -/* 80356174 003530D4 4B FB 17 E1 */ bl "__ct__10CCubeModelFPQ24rstl37vectorPQ24rstl60vector<23TCachedToken<8CTexture>,Q24rstl17rmemory_allocator>PCvPCvPCvPCvPCvPCvRC6CAABoxUcb" -/* 80356178 003530D8 7C 74 1B 78 */ mr r20, r3 -lbl_8035617C: -/* 8035617C 003530DC 80 7E 00 28 */ lwz r3, 0x28(r30) -/* 80356180 003530E0 4B FB F7 B1 */ bl Free__7CMemoryFPCv -/* 80356184 003530E4 92 9E 00 28 */ stw r20, 0x28(r30) -/* 80356188 003530E8 93 CD AA 7C */ stw r30, lbl_805A963C@sda21(r13) -/* 8035618C 003530EC 80 7E 00 34 */ lwz r3, 0x34(r30) -/* 80356190 003530F0 28 03 00 00 */ cmplwi r3, 0 -/* 80356194 003530F4 41 82 00 08 */ beq lbl_8035619C -/* 80356198 003530F8 93 C3 00 30 */ stw r30, 0x30(r3) -lbl_8035619C: -/* 8035619C 003530FC 80 1E 00 0C */ lwz r0, 0xc(r30) -/* 803561A0 00353100 7F E4 FB 78 */ mr r4, r31 -/* 803561A4 00353104 80 7E 00 04 */ lwz r3, 4(r30) -/* 803561A8 00353108 54 00 10 3A */ slwi r0, r0, 2 -/* 803561AC 0035310C 7C 03 02 14 */ add r0, r3, r0 -/* 803561B0 00353110 90 1E 00 04 */ stw r0, 4(r30) -/* 803561B4 00353114 80 6D AA 78 */ lwz r3, lbl_805A9638@sda21(r13) -/* 803561B8 00353118 80 1E 00 04 */ lwz r0, 4(r30) -/* 803561BC 0035311C 7C 03 02 14 */ add r0, r3, r0 -/* 803561C0 00353120 90 0D AA 78 */ stw r0, lbl_805A9638@sda21(r13) -/* 803561C4 00353124 80 7E 00 00 */ lwz r3, 0(r30) -/* 803561C8 00353128 48 02 88 E9 */ bl DCFlushRange -/* 803561CC 0035312C 7F C3 F3 78 */ mr r3, r30 -/* 803561D0 00353130 BA 81 00 40 */ lmw r20, 0x40(r1) -/* 803561D4 00353134 80 01 00 74 */ lwz r0, 0x74(r1) -/* 803561D8 00353138 7C 08 03 A6 */ mtlr r0 -/* 803561DC 0035313C 38 21 00 70 */ addi r1, r1, 0x70 -/* 803561E0 00353140 4E 80 00 20 */ blr - -.global sub_803561e4 -sub_803561e4: -/* 803561E4 00353144 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803561E8 00353148 7C 08 02 A6 */ mflr r0 -/* 803561EC 0035314C 90 01 00 14 */ stw r0, 0x14(r1) -/* 803561F0 00353150 93 E1 00 0C */ stw r31, 0xc(r1) -/* 803561F4 00353154 7C 9F 23 78 */ mr r31, r4 -/* 803561F8 00353158 93 C1 00 08 */ stw r30, 8(r1) -/* 803561FC 0035315C 7C 7E 1B 78 */ mr r30, r3 -/* 80356200 00353160 80 03 00 04 */ lwz r0, 4(r3) -/* 80356204 00353164 80 A3 00 08 */ lwz r5, 8(r3) -/* 80356208 00353168 7C 00 28 00 */ cmpw r0, r5 -/* 8035620C 0035316C 41 80 00 18 */ blt lbl_80356224 -/* 80356210 00353170 2C 05 00 00 */ cmpwi r5, 0 -/* 80356214 00353174 38 80 00 04 */ li r4, 4 -/* 80356218 00353178 41 82 00 08 */ beq lbl_80356220 -/* 8035621C 0035317C 54 A4 08 3C */ slwi r4, r5, 1 -lbl_80356220: -/* 80356220 00353180 48 00 01 5D */ bl sub_8035637c -lbl_80356224: -/* 80356224 00353184 80 1E 00 04 */ lwz r0, 4(r30) -/* 80356228 00353188 7F E4 FB 78 */ mr r4, r31 -/* 8035622C 0035318C 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 80356230 00353190 1C 00 00 14 */ mulli r0, r0, 0x14 -/* 80356234 00353194 7C 63 02 14 */ add r3, r3, r0 -/* 80356238 00353198 48 00 00 29 */ bl sub_80356260 -/* 8035623C 0035319C 80 7E 00 04 */ lwz r3, 4(r30) -/* 80356240 003531A0 38 03 00 01 */ addi r0, r3, 1 -/* 80356244 003531A4 90 1E 00 04 */ stw r0, 4(r30) -/* 80356248 003531A8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8035624C 003531AC 83 C1 00 08 */ lwz r30, 8(r1) -/* 80356250 003531B0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80356254 003531B4 7C 08 03 A6 */ mtlr r0 -/* 80356258 003531B8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8035625C 003531BC 4E 80 00 20 */ blr - -.global sub_80356260 -sub_80356260: -/* 80356260 003531C0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80356264 003531C4 7C 08 02 A6 */ mflr r0 -/* 80356268 003531C8 90 01 00 24 */ stw r0, 0x24(r1) -/* 8035626C 003531CC BF 41 00 08 */ stmw r26, 8(r1) -/* 80356270 003531D0 7C 7A 1B 79 */ or. r26, r3, r3 -/* 80356274 003531D4 7C 9B 23 78 */ mr r27, r4 -/* 80356278 003531D8 41 82 00 B4 */ beq lbl_8035632C -/* 8035627C 003531DC 80 1B 00 04 */ lwz r0, 4(r27) -/* 80356280 003531E0 90 1A 00 04 */ stw r0, 4(r26) -/* 80356284 003531E4 80 1B 00 08 */ lwz r0, 8(r27) -/* 80356288 003531E8 90 1A 00 08 */ stw r0, 8(r26) -/* 8035628C 003531EC 80 1B 00 04 */ lwz r0, 4(r27) -/* 80356290 003531F0 2C 00 00 00 */ cmpwi r0, 0 -/* 80356294 003531F4 40 82 00 1C */ bne lbl_803562B0 -/* 80356298 003531F8 80 1B 00 08 */ lwz r0, 8(r27) -/* 8035629C 003531FC 2C 00 00 00 */ cmpwi r0, 0 -/* 803562A0 00353200 40 82 00 10 */ bne lbl_803562B0 -/* 803562A4 00353204 38 00 00 00 */ li r0, 0 -/* 803562A8 00353208 90 1A 00 0C */ stw r0, 0xc(r26) -/* 803562AC 0035320C 48 00 00 78 */ b lbl_80356324 -lbl_803562B0: -/* 803562B0 00353210 80 1A 00 08 */ lwz r0, 8(r26) -/* 803562B4 00353214 1C 60 00 0C */ mulli r3, r0, 0xc -/* 803562B8 00353218 2C 03 00 00 */ cmpwi r3, 0 -/* 803562BC 0035321C 40 82 00 10 */ bne lbl_803562CC -/* 803562C0 00353220 38 00 00 00 */ li r0, 0 -/* 803562C4 00353224 90 1A 00 0C */ stw r0, 0xc(r26) -/* 803562C8 00353228 48 00 00 18 */ b lbl_803562E0 -lbl_803562CC: -/* 803562CC 0035322C 3C 80 80 3E */ lis r4, lbl_803D8308@ha -/* 803562D0 00353230 38 A0 00 00 */ li r5, 0 -/* 803562D4 00353234 38 84 83 08 */ addi r4, r4, lbl_803D8308@l -/* 803562D8 00353238 4B FB F5 41 */ bl __nwa__FUlPCcPCc -/* 803562DC 0035323C 90 7A 00 0C */ stw r3, 0xc(r26) -lbl_803562E0: -/* 803562E0 00353240 83 9A 00 04 */ lwz r28, 4(r26) -/* 803562E4 00353244 3B E0 00 00 */ li r31, 0 -/* 803562E8 00353248 83 BB 00 0C */ lwz r29, 0xc(r27) -/* 803562EC 0035324C 83 DA 00 0C */ lwz r30, 0xc(r26) -/* 803562F0 00353250 48 00 00 2C */ b lbl_8035631C -lbl_803562F4: -/* 803562F4 00353254 28 1E 00 00 */ cmplwi r30, 0 -/* 803562F8 00353258 41 82 00 18 */ beq lbl_80356310 -/* 803562FC 0035325C 7F C3 F3 78 */ mr r3, r30 -/* 80356300 00353260 7F A4 EB 78 */ mr r4, r29 -/* 80356304 00353264 4B FE AB A5 */ bl __ct__6CTokenFRC6CToken -/* 80356308 00353268 80 1D 00 08 */ lwz r0, 8(r29) -/* 8035630C 0035326C 90 1E 00 08 */ stw r0, 8(r30) -lbl_80356310: -/* 80356310 00353270 3B DE 00 0C */ addi r30, r30, 0xc -/* 80356314 00353274 3B FF 00 01 */ addi r31, r31, 1 -/* 80356318 00353278 3B BD 00 0C */ addi r29, r29, 0xc -lbl_8035631C: -/* 8035631C 0035327C 7C 1F E0 00 */ cmpw r31, r28 -/* 80356320 00353280 41 80 FF D4 */ blt lbl_803562F4 -lbl_80356324: -/* 80356324 00353284 80 1B 00 10 */ lwz r0, 0x10(r27) -/* 80356328 00353288 90 1A 00 10 */ stw r0, 0x10(r26) -lbl_8035632C: -/* 8035632C 0035328C BB 41 00 08 */ lmw r26, 8(r1) -/* 80356330 00353290 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80356334 00353294 7C 08 03 A6 */ mtlr r0 -/* 80356338 00353298 38 21 00 20 */ addi r1, r1, 0x20 -/* 8035633C 0035329C 4E 80 00 20 */ blr - -.global advanceSectionInfo -advanceSectionInfo: -/* 80356340 003532A0 80 A4 00 00 */ lwz r5, 0(r4) -/* 80356344 003532A4 80 C5 00 00 */ lwz r6, 0(r5) -/* 80356348 003532A8 2C 06 00 00 */ cmpwi r6, 0 -/* 8035634C 003532AC 41 82 00 0C */ beq lbl_80356358 -/* 80356350 003532B0 80 A3 00 00 */ lwz r5, 0(r3) -/* 80356354 003532B4 48 00 00 08 */ b lbl_8035635C -lbl_80356358: -/* 80356358 003532B8 38 A0 00 00 */ li r5, 0 -lbl_8035635C: -/* 8035635C 003532BC 80 03 00 00 */ lwz r0, 0(r3) -/* 80356360 003532C0 7C 00 32 14 */ add r0, r0, r6 -/* 80356364 003532C4 90 03 00 00 */ stw r0, 0(r3) -/* 80356368 003532C8 7C A3 2B 78 */ mr r3, r5 -/* 8035636C 003532CC 80 A4 00 00 */ lwz r5, 0(r4) -/* 80356370 003532D0 38 05 00 04 */ addi r0, r5, 4 -/* 80356374 003532D4 90 04 00 00 */ stw r0, 0(r4) -/* 80356378 003532D8 4E 80 00 20 */ blr - -.global sub_8035637c -sub_8035637c: -/* 8035637C 003532DC 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80356380 003532E0 7C 08 02 A6 */ mflr r0 -/* 80356384 003532E4 90 01 00 34 */ stw r0, 0x34(r1) -/* 80356388 003532E8 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8035638C 003532EC 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80356390 003532F0 7C 9E 23 78 */ mr r30, r4 -/* 80356394 003532F4 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80356398 003532F8 7C 7D 1B 78 */ mr r29, r3 -/* 8035639C 003532FC 80 03 00 08 */ lwz r0, 8(r3) -/* 803563A0 00353300 7C 1E 00 00 */ cmpw r30, r0 -/* 803563A4 00353304 40 81 00 8C */ ble lbl_80356430 -/* 803563A8 00353308 1C 7E 00 14 */ mulli r3, r30, 0x14 -/* 803563AC 0035330C 2C 03 00 00 */ cmpwi r3, 0 -/* 803563B0 00353310 40 82 00 0C */ bne lbl_803563BC -/* 803563B4 00353314 3B E0 00 00 */ li r31, 0 -/* 803563B8 00353318 48 00 00 18 */ b lbl_803563D0 -lbl_803563BC: -/* 803563BC 0035331C 3C 80 80 3E */ lis r4, lbl_803D8308@ha -/* 803563C0 00353320 38 A0 00 00 */ li r5, 0 -/* 803563C4 00353324 38 84 83 08 */ addi r4, r4, lbl_803D8308@l -/* 803563C8 00353328 4B FB F4 51 */ bl __nwa__FUlPCcPCc -/* 803563CC 0035332C 7C 7F 1B 78 */ mr r31, r3 -lbl_803563D0: -/* 803563D0 00353330 80 1D 00 04 */ lwz r0, 4(r29) -/* 803563D4 00353334 7F E5 FB 78 */ mr r5, r31 -/* 803563D8 00353338 80 DD 00 0C */ lwz r6, 0xc(r29) -/* 803563DC 0035333C 38 61 00 14 */ addi r3, r1, 0x14 -/* 803563E0 00353340 1C 00 00 14 */ mulli r0, r0, 0x14 -/* 803563E4 00353344 38 81 00 0C */ addi r4, r1, 0xc -/* 803563E8 00353348 7C C6 02 14 */ add r6, r6, r0 -/* 803563EC 0035334C 90 C1 00 0C */ stw r6, 0xc(r1) -/* 803563F0 00353350 80 1D 00 0C */ lwz r0, 0xc(r29) -/* 803563F4 00353354 90 C1 00 08 */ stw r6, 8(r1) -/* 803563F8 00353358 90 01 00 10 */ stw r0, 0x10(r1) -/* 803563FC 0035335C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80356400 00353360 48 00 00 99 */ bl sub_80356498 -/* 80356404 00353364 80 1D 00 04 */ lwz r0, 4(r29) -/* 80356408 00353368 80 7D 00 0C */ lwz r3, 0xc(r29) -/* 8035640C 0035336C 1C 00 00 14 */ mulli r0, r0, 0x14 -/* 80356410 00353370 7C 83 02 14 */ add r4, r3, r0 -/* 80356414 00353374 48 00 00 39 */ bl sub_8035644c -/* 80356418 00353378 80 7D 00 0C */ lwz r3, 0xc(r29) -/* 8035641C 0035337C 28 03 00 00 */ cmplwi r3, 0 -/* 80356420 00353380 41 82 00 08 */ beq lbl_80356428 -/* 80356424 00353384 4B FB F5 0D */ bl Free__7CMemoryFPCv -lbl_80356428: -/* 80356428 00353388 93 FD 00 0C */ stw r31, 0xc(r29) -/* 8035642C 0035338C 93 DD 00 08 */ stw r30, 8(r29) -lbl_80356430: -/* 80356430 00353390 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80356434 00353394 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80356438 00353398 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8035643C 0035339C 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80356440 003533A0 7C 08 03 A6 */ mtlr r0 -/* 80356444 003533A4 38 21 00 30 */ addi r1, r1, 0x30 -/* 80356448 003533A8 4E 80 00 20 */ blr - -.global sub_8035644c -sub_8035644c: -/* 8035644C 003533AC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80356450 003533B0 7C 08 02 A6 */ mflr r0 -/* 80356454 003533B4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80356458 003533B8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8035645C 003533BC 7C 7F 1B 78 */ mr r31, r3 -/* 80356460 003533C0 93 C1 00 08 */ stw r30, 8(r1) -/* 80356464 003533C4 7C 9E 23 78 */ mr r30, r4 -/* 80356468 003533C8 48 00 00 10 */ b lbl_80356478 -lbl_8035646C: -/* 8035646C 003533CC 7F E3 FB 78 */ mr r3, r31 -/* 80356470 003533D0 4B FF F9 D9 */ bl sub_80355e48 -/* 80356474 003533D4 3B FF 00 14 */ addi r31, r31, 0x14 -lbl_80356478: -/* 80356478 003533D8 7C 1F F0 40 */ cmplw r31, r30 -/* 8035647C 003533DC 40 82 FF F0 */ bne lbl_8035646C -/* 80356480 003533E0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80356484 003533E4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80356488 003533E8 83 C1 00 08 */ lwz r30, 8(r1) -/* 8035648C 003533EC 7C 08 03 A6 */ mtlr r0 -/* 80356490 003533F0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80356494 003533F4 4E 80 00 20 */ blr - -.global sub_80356498 -sub_80356498: -/* 80356498 003533F8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8035649C 003533FC 7C 08 02 A6 */ mflr r0 -/* 803564A0 00353400 90 01 00 24 */ stw r0, 0x24(r1) -/* 803564A4 00353404 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 803564A8 00353408 93 C1 00 18 */ stw r30, 0x18(r1) -/* 803564AC 0035340C 7C BE 2B 78 */ mr r30, r5 -/* 803564B0 00353410 93 A1 00 14 */ stw r29, 0x14(r1) -/* 803564B4 00353414 7C 9D 23 78 */ mr r29, r4 -/* 803564B8 00353418 83 E3 00 00 */ lwz r31, 0(r3) -/* 803564BC 0035341C 48 00 00 18 */ b lbl_803564D4 -lbl_803564C0: -/* 803564C0 00353420 7F C3 F3 78 */ mr r3, r30 -/* 803564C4 00353424 7F E4 FB 78 */ mr r4, r31 -/* 803564C8 00353428 4B FF FD 99 */ bl sub_80356260 -/* 803564CC 0035342C 3B DE 00 14 */ addi r30, r30, 0x14 -/* 803564D0 00353430 3B FF 00 14 */ addi r31, r31, 0x14 -lbl_803564D4: -/* 803564D4 00353434 80 1D 00 00 */ lwz r0, 0(r29) -/* 803564D8 00353438 7C 1F 00 40 */ cmplw r31, r0 -/* 803564DC 0035343C 40 82 FF E4 */ bne lbl_803564C0 -/* 803564E0 00353440 80 01 00 24 */ lwz r0, 0x24(r1) -/* 803564E4 00353444 7F C3 F3 78 */ mr r3, r30 -/* 803564E8 00353448 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 803564EC 0035344C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 803564F0 00353450 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 803564F4 00353454 7C 08 03 A6 */ mtlr r0 -/* 803564F8 00353458 38 21 00 20 */ addi r1, r1, 0x20 -/* 803564FC 0035345C 4E 80 00 20 */ blr - -.global FStringTableFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer -FStringTableFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer: -/* 80356500 00353460 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80356504 00353464 7C 08 02 A6 */ mflr r0 -/* 80356508 00353468 3C 80 80 3E */ lis r4, lbl_803D8320@ha -/* 8035650C 0035346C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80356510 00353470 38 84 83 20 */ addi r4, r4, lbl_803D8320@l -/* 80356514 00353474 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80356518 00353478 7C BF 2B 78 */ mr r31, r5 -/* 8035651C 0035347C 38 A0 00 00 */ li r5, 0 -/* 80356520 00353480 93 C1 00 08 */ stw r30, 8(r1) -/* 80356524 00353484 7C 7E 1B 78 */ mr r30, r3 -/* 80356528 00353488 38 60 00 08 */ li r3, 8 -/* 8035652C 0035348C 4B FB F3 41 */ bl __nw__FUlPCcPCc -/* 80356530 00353490 7C 64 1B 79 */ or. r4, r3, r3 -/* 80356534 00353494 41 82 00 10 */ beq lbl_80356544 -/* 80356538 00353498 7F E4 FB 78 */ mr r4, r31 -/* 8035653C 0035349C 48 00 01 F5 */ bl __ct__12CStringTableFR12CInputStream -/* 80356540 003534A0 7C 64 1B 78 */ mr r4, r3 -lbl_80356544: -/* 80356544 003534A4 7F C3 F3 78 */ mr r3, r30 -/* 80356548 003534A8 48 00 00 1D */ bl sub_80356564 -/* 8035654C 003534AC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80356550 003534B0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80356554 003534B4 83 C1 00 08 */ lwz r30, 8(r1) -/* 80356558 003534B8 7C 08 03 A6 */ mtlr r0 -/* 8035655C 003534BC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80356560 003534C0 4E 80 00 20 */ blr - -.global sub_80356564 -sub_80356564: -/* 80356564 003534C4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80356568 003534C8 7C 08 02 A6 */ mflr r0 -/* 8035656C 003534CC 90 01 00 24 */ stw r0, 0x24(r1) -/* 80356570 003534D0 7C 04 00 D0 */ neg r0, r4 -/* 80356574 003534D4 7C 00 23 78 */ or r0, r0, r4 -/* 80356578 003534D8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8035657C 003534DC 54 00 0F FE */ srwi r0, r0, 0x1f -/* 80356580 003534E0 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80356584 003534E4 7C 7E 1B 78 */ mr r30, r3 -/* 80356588 003534E8 38 61 00 08 */ addi r3, r1, 8 -/* 8035658C 003534EC 90 81 00 14 */ stw r4, 0x14(r1) -/* 80356590 003534F0 38 81 00 10 */ addi r4, r1, 0x10 -/* 80356594 003534F4 98 01 00 10 */ stb r0, 0x10(r1) -/* 80356598 003534F8 48 00 00 9D */ bl sub_80356634 -/* 8035659C 003534FC 80 61 00 0C */ lwz r3, 0xc(r1) -/* 803565A0 00353500 38 00 00 00 */ li r0, 0 -/* 803565A4 00353504 98 01 00 08 */ stb r0, 8(r1) -/* 803565A8 00353508 7C 03 00 D0 */ neg r0, r3 -/* 803565AC 0035350C 7C 00 1B 78 */ or r0, r0, r3 -/* 803565B0 00353510 54 00 0F FE */ srwi r0, r0, 0x1f -/* 803565B4 00353514 98 1E 00 00 */ stb r0, 0(r30) -/* 803565B8 00353518 90 7E 00 04 */ stw r3, 4(r30) -/* 803565BC 0035351C 88 01 00 08 */ lbz r0, 8(r1) -/* 803565C0 00353520 28 00 00 00 */ cmplwi r0, 0 -/* 803565C4 00353524 41 82 00 24 */ beq lbl_803565E8 -/* 803565C8 00353528 80 61 00 0C */ lwz r3, 0xc(r1) -/* 803565CC 0035352C 28 03 00 00 */ cmplwi r3, 0 -/* 803565D0 00353530 41 82 00 18 */ beq lbl_803565E8 -/* 803565D4 00353534 81 83 00 00 */ lwz r12, 0(r3) -/* 803565D8 00353538 38 80 00 01 */ li r4, 1 -/* 803565DC 0035353C 81 8C 00 08 */ lwz r12, 8(r12) -/* 803565E0 00353540 7D 89 03 A6 */ mtctr r12 -/* 803565E4 00353544 4E 80 04 21 */ bctrl -lbl_803565E8: -/* 803565E8 00353548 88 01 00 10 */ lbz r0, 0x10(r1) -/* 803565EC 0035354C 28 00 00 00 */ cmplwi r0, 0 -/* 803565F0 00353550 41 82 00 28 */ beq lbl_80356618 -/* 803565F4 00353554 83 E1 00 14 */ lwz r31, 0x14(r1) -/* 803565F8 00353558 28 1F 00 00 */ cmplwi r31, 0 -/* 803565FC 0035355C 41 82 00 1C */ beq lbl_80356618 -/* 80356600 00353560 34 1F 00 04 */ addic. r0, r31, 4 -/* 80356604 00353564 41 82 00 0C */ beq lbl_80356610 -/* 80356608 00353568 80 7F 00 04 */ lwz r3, 4(r31) -/* 8035660C 0035356C 4B FB F3 25 */ bl Free__7CMemoryFPCv -lbl_80356610: -/* 80356610 00353570 7F E3 FB 78 */ mr r3, r31 -/* 80356614 00353574 4B FB F3 1D */ bl Free__7CMemoryFPCv -lbl_80356618: -/* 80356618 00353578 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8035661C 0035357C 7F C3 F3 78 */ mr r3, r30 -/* 80356620 00353580 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80356624 00353584 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80356628 00353588 7C 08 03 A6 */ mtlr r0 -/* 8035662C 0035358C 38 21 00 20 */ addi r1, r1, 0x20 -/* 80356630 00353590 4E 80 00 20 */ blr - -.global sub_80356634 -sub_80356634: -/* 80356634 00353594 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80356638 00353598 7C 08 02 A6 */ mflr r0 -/* 8035663C 0035359C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80356640 003535A0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80356644 003535A4 7C 7F 1B 78 */ mr r31, r3 -/* 80356648 003535A8 48 00 00 19 */ bl sub_80356660 -/* 8035664C 003535AC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80356650 003535B0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80356654 003535B4 7C 08 03 A6 */ mtlr r0 -/* 80356658 003535B8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8035665C 003535BC 4E 80 00 20 */ blr - -.global sub_80356660 -sub_80356660: -/* 80356660 003535C0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80356664 003535C4 7C 08 02 A6 */ mflr r0 -/* 80356668 003535C8 3C A0 80 3E */ lis r5, lbl_803D8320@ha -/* 8035666C 003535CC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80356670 003535D0 38 05 83 20 */ addi r0, r5, lbl_803D8320@l -/* 80356674 003535D4 38 A0 00 00 */ li r5, 0 -/* 80356678 003535D8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8035667C 003535DC 7C 9F 23 78 */ mr r31, r4 -/* 80356680 003535E0 7C 04 03 78 */ mr r4, r0 -/* 80356684 003535E4 93 C1 00 08 */ stw r30, 8(r1) -/* 80356688 003535E8 7C 7E 1B 78 */ mr r30, r3 -/* 8035668C 003535EC 38 60 00 08 */ li r3, 8 -/* 80356690 003535F0 4B FB F1 DD */ bl __nw__FUlPCcPCc -/* 80356694 003535F4 28 03 00 00 */ cmplwi r3, 0 -/* 80356698 003535F8 41 82 00 38 */ beq lbl_803566D0 -/* 8035669C 003535FC 3C 80 80 3E */ lis r4, lbl_803D8D6C@ha -/* 803566A0 00353600 3C A0 80 3E */ lis r5, lbl_803D8D78@ha -/* 803566A4 00353604 38 04 8D 6C */ addi r0, r4, lbl_803D8D6C@l -/* 803566A8 00353608 3C 80 80 3E */ lis r4, lbl_803D9A0C@ha -/* 803566AC 0035360C 90 03 00 00 */ stw r0, 0(r3) -/* 803566B0 00353610 38 C5 8D 78 */ addi r6, r5, lbl_803D8D78@l -/* 803566B4 00353614 38 A0 00 00 */ li r5, 0 -/* 803566B8 00353618 38 04 9A 0C */ addi r0, r4, lbl_803D9A0C@l -/* 803566BC 0035361C 90 C3 00 00 */ stw r6, 0(r3) -/* 803566C0 00353620 98 BF 00 00 */ stb r5, 0(r31) -/* 803566C4 00353624 80 9F 00 04 */ lwz r4, 4(r31) -/* 803566C8 00353628 90 83 00 04 */ stw r4, 4(r3) -/* 803566CC 0035362C 90 03 00 00 */ stw r0, 0(r3) -lbl_803566D0: -/* 803566D0 00353630 7C 03 00 D0 */ neg r0, r3 -/* 803566D4 00353634 7C 00 1B 78 */ or r0, r0, r3 -/* 803566D8 00353638 54 00 0F FE */ srwi r0, r0, 0x1f -/* 803566DC 0035363C 98 1E 00 00 */ stb r0, 0(r30) -/* 803566E0 00353640 90 7E 00 04 */ stw r3, 4(r30) -/* 803566E4 00353644 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 803566E8 00353648 83 C1 00 08 */ lwz r30, 8(r1) -/* 803566EC 0035364C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803566F0 00353650 7C 08 03 A6 */ mtlr r0 -/* 803566F4 00353654 38 21 00 10 */ addi r1, r1, 0x10 -/* 803566F8 00353658 4E 80 00 20 */ blr - -.global GetString__12CStringTableCFi -GetString__12CStringTableCFi: -/* 803566FC 0035365C 2C 04 00 00 */ cmpwi r4, 0 -/* 80356700 00353660 41 80 00 10 */ blt lbl_80356710 -/* 80356704 00353664 80 03 00 00 */ lwz r0, 0(r3) -/* 80356708 00353668 7C 04 00 00 */ cmpw r4, r0 -/* 8035670C 0035366C 41 80 00 10 */ blt lbl_8035671C -lbl_80356710: -/* 80356710 00353670 3C 60 80 3E */ lis r3, lbl_803D8310@ha -/* 80356714 00353674 38 63 83 10 */ addi r3, r3, lbl_803D8310@l -/* 80356718 00353678 4E 80 00 20 */ blr -lbl_8035671C: -/* 8035671C 0035367C 80 63 00 04 */ lwz r3, 4(r3) -/* 80356720 00353680 54 80 10 3A */ slwi r0, r4, 2 -/* 80356724 00353684 7C 03 00 2E */ lwzx r0, r3, r0 -/* 80356728 00353688 7C 63 02 14 */ add r3, r3, r0 -/* 8035672C 0035368C 4E 80 00 20 */ blr - -.global __ct__12CStringTableFR12CInputStream -__ct__12CStringTableFR12CInputStream: -/* 80356730 00353690 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80356734 00353694 7C 08 02 A6 */ mflr r0 -/* 80356738 00353698 90 01 00 44 */ stw r0, 0x44(r1) -/* 8035673C 0035369C 38 00 00 00 */ li r0, 0 -/* 80356740 003536A0 BF 41 00 28 */ stmw r26, 0x28(r1) -/* 80356744 003536A4 7C 7E 1B 78 */ mr r30, r3 -/* 80356748 003536A8 7C 9F 23 78 */ mr r31, r4 -/* 8035674C 003536AC 90 03 00 00 */ stw r0, 0(r3) -/* 80356750 003536B0 7F E3 FB 78 */ mr r3, r31 -/* 80356754 003536B4 90 1E 00 04 */ stw r0, 4(r30) -/* 80356758 003536B8 4B FE 85 2D */ bl ReadLong__12CInputStreamFv -/* 8035675C 003536BC 7F E3 FB 78 */ mr r3, r31 -/* 80356760 003536C0 4B FE 85 25 */ bl ReadLong__12CInputStreamFv -/* 80356764 003536C4 7F E3 FB 78 */ mr r3, r31 -/* 80356768 003536C8 4B FE 85 1D */ bl ReadLong__12CInputStreamFv -/* 8035676C 003536CC 7C 7B 1B 78 */ mr r27, r3 -/* 80356770 003536D0 7F E3 FB 78 */ mr r3, r31 -/* 80356774 003536D4 4B FE 85 11 */ bl ReadLong__12CInputStreamFv -/* 80356778 003536D8 90 7E 00 00 */ stw r3, 0(r30) -/* 8035677C 003536DC 38 00 00 00 */ li r0, 0 -/* 80356780 003536E0 7F 64 DB 78 */ mr r4, r27 -/* 80356784 003536E4 38 61 00 18 */ addi r3, r1, 0x18 -/* 80356788 003536E8 90 01 00 1C */ stw r0, 0x1c(r1) -/* 8035678C 003536EC 90 01 00 20 */ stw r0, 0x20(r1) -/* 80356790 003536F0 90 01 00 24 */ stw r0, 0x24(r1) -/* 80356794 003536F4 4B CB 22 B9 */ bl "reserve__Q24rstl55vector,Q24rstl17rmemory_allocator>Fi" -/* 80356798 003536F8 3B 40 00 00 */ li r26, 0 -/* 8035679C 003536FC 48 00 00 70 */ b lbl_8035680C -lbl_803567A0: -/* 803567A0 00353700 7F E3 FB 78 */ mr r3, r31 -/* 803567A4 00353704 4B FE 84 E1 */ bl ReadLong__12CInputStreamFv -/* 803567A8 00353708 7C 7C 1B 78 */ mr r28, r3 -/* 803567AC 0035370C 7F E3 FB 78 */ mr r3, r31 -/* 803567B0 00353710 4B FE 84 D5 */ bl ReadLong__12CInputStreamFv -/* 803567B4 00353714 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 803567B8 00353718 7C 7D 1B 78 */ mr r29, r3 -/* 803567BC 0035371C 80 A1 00 20 */ lwz r5, 0x20(r1) -/* 803567C0 00353720 7C 00 28 00 */ cmpw r0, r5 -/* 803567C4 00353724 41 80 00 1C */ blt lbl_803567E0 -/* 803567C8 00353728 2C 05 00 00 */ cmpwi r5, 0 -/* 803567CC 0035372C 38 61 00 18 */ addi r3, r1, 0x18 -/* 803567D0 00353730 38 80 00 04 */ li r4, 4 -/* 803567D4 00353734 41 82 00 08 */ beq lbl_803567DC -/* 803567D8 00353738 54 A4 08 3C */ slwi r4, r5, 1 -lbl_803567DC: -/* 803567DC 0035373C 4B CB 22 71 */ bl "reserve__Q24rstl55vector,Q24rstl17rmemory_allocator>Fi" -lbl_803567E0: -/* 803567E0 00353740 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 803567E4 00353744 80 61 00 24 */ lwz r3, 0x24(r1) -/* 803567E8 00353748 54 00 18 38 */ slwi r0, r0, 3 -/* 803567EC 0035374C 7C 63 02 15 */ add. r3, r3, r0 -/* 803567F0 00353750 41 82 00 0C */ beq lbl_803567FC -/* 803567F4 00353754 93 83 00 00 */ stw r28, 0(r3) -/* 803567F8 00353758 93 A3 00 04 */ stw r29, 4(r3) -lbl_803567FC: -/* 803567FC 0035375C 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 80356800 00353760 3B 5A 00 01 */ addi r26, r26, 1 -/* 80356804 00353764 38 03 00 01 */ addi r0, r3, 1 -/* 80356808 00353768 90 01 00 1C */ stw r0, 0x1c(r1) -lbl_8035680C: -/* 8035680C 0035376C 7C 1A D8 00 */ cmpw r26, r27 -/* 80356810 00353770 41 80 FF 90 */ blt lbl_803567A0 -/* 80356814 00353774 80 A1 00 24 */ lwz r5, 0x24(r1) -/* 80356818 00353778 38 C0 00 00 */ li r6, 0 -/* 8035681C 0035377C 80 8D 9E 18 */ lwz r4, lbl_805A89D8@sda21(r13) -/* 80356820 00353780 7C A3 2B 78 */ mr r3, r5 -/* 80356824 00353784 83 45 00 04 */ lwz r26, 4(r5) -/* 80356828 00353788 7F 69 03 A6 */ mtctr r27 -/* 8035682C 0035378C 2C 1B 00 00 */ cmpwi r27, 0 -/* 80356830 00353790 40 81 00 2C */ ble lbl_8035685C -lbl_80356834: -/* 80356834 00353794 80 03 00 00 */ lwz r0, 0(r3) -/* 80356838 00353798 7C 04 00 40 */ cmplw r4, r0 -/* 8035683C 0035379C 40 82 00 14 */ bne lbl_80356850 -/* 80356840 003537A0 54 C3 18 38 */ slwi r3, r6, 3 -/* 80356844 003537A4 38 03 00 04 */ addi r0, r3, 4 -/* 80356848 003537A8 7F 45 00 2E */ lwzx r26, r5, r0 -/* 8035684C 003537AC 48 00 00 10 */ b lbl_8035685C -lbl_80356850: -/* 80356850 003537B0 38 63 00 08 */ addi r3, r3, 8 -/* 80356854 003537B4 38 C6 00 01 */ addi r6, r6, 1 -/* 80356858 003537B8 42 00 FF DC */ bdnz lbl_80356834 -lbl_8035685C: -/* 8035685C 003537BC 3B 60 00 00 */ li r27, 0 -/* 80356860 003537C0 48 00 00 10 */ b lbl_80356870 -lbl_80356864: -/* 80356864 003537C4 7F E3 FB 78 */ mr r3, r31 -/* 80356868 003537C8 4B FE 84 A5 */ bl ReadChar__12CInputStreamFv -/* 8035686C 003537CC 3B 7B 00 01 */ addi r27, r27, 1 -lbl_80356870: -/* 80356870 003537D0 7C 1B D0 40 */ cmplw r27, r26 -/* 80356874 003537D4 41 80 FF F0 */ blt lbl_80356864 -/* 80356878 003537D8 7F E3 FB 78 */ mr r3, r31 -/* 8035687C 003537DC 4B FE 84 09 */ bl ReadLong__12CInputStreamFv -/* 80356880 003537E0 3C 80 80 3E */ lis r4, lbl_803D8320@ha -/* 80356884 003537E4 7C 7B 1B 78 */ mr r27, r3 -/* 80356888 003537E8 38 A0 00 00 */ li r5, 0 -/* 8035688C 003537EC 38 84 83 20 */ addi r4, r4, lbl_803D8320@l -/* 80356890 003537F0 4B FB EF 89 */ bl __nwa__FUlPCcPCc -/* 80356894 003537F4 7C 7D 1B 78 */ mr r29, r3 -/* 80356898 003537F8 80 7E 00 04 */ lwz r3, 4(r30) -/* 8035689C 003537FC 4B FB F0 95 */ bl Free__7CMemoryFPCv -/* 803568A0 00353800 93 BE 00 04 */ stw r29, 4(r30) -/* 803568A4 00353804 7F E3 FB 78 */ mr r3, r31 -/* 803568A8 00353808 7F 65 DB 78 */ mr r5, r27 -/* 803568AC 0035380C 80 9E 00 04 */ lwz r4, 4(r30) -/* 803568B0 00353810 4B FE 85 D1 */ bl ReadBytes__12CInputStreamFPvUl -/* 803568B4 00353814 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 803568B8 00353818 80 61 00 24 */ lwz r3, 0x24(r1) -/* 803568BC 0035381C 54 00 18 38 */ slwi r0, r0, 3 -/* 803568C0 00353820 7C 03 02 14 */ add r0, r3, r0 -/* 803568C4 00353824 90 61 00 0C */ stw r3, 0xc(r1) -/* 803568C8 00353828 7C 64 1B 78 */ mr r4, r3 -/* 803568CC 0035382C 90 01 00 14 */ stw r0, 0x14(r1) -/* 803568D0 00353830 90 01 00 10 */ stw r0, 0x10(r1) -/* 803568D4 00353834 90 61 00 08 */ stw r3, 8(r1) -/* 803568D8 00353838 48 00 00 08 */ b lbl_803568E0 -lbl_803568DC: -/* 803568DC 0035383C 38 84 00 08 */ addi r4, r4, 8 -lbl_803568E0: -/* 803568E0 00353840 7C 04 00 40 */ cmplw r4, r0 -/* 803568E4 00353844 40 82 FF F8 */ bne lbl_803568DC -/* 803568E8 00353848 28 03 00 00 */ cmplwi r3, 0 -/* 803568EC 0035384C 41 82 00 08 */ beq lbl_803568F4 -/* 803568F0 00353850 4B FB F0 41 */ bl Free__7CMemoryFPCv -lbl_803568F4: -/* 803568F4 00353854 7F C3 F3 78 */ mr r3, r30 -/* 803568F8 00353858 BB 41 00 28 */ lmw r26, 0x28(r1) -/* 803568FC 0035385C 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80356900 00353860 7C 08 03 A6 */ mtlr r0 -/* 80356904 00353864 38 21 00 40 */ addi r1, r1, 0x40 -/* 80356908 00353868 4E 80 00 20 */ blr - -.global GetValue__14CVEAngleSphereCFiR9CVector3fR9CVector3f -GetValue__14CVEAngleSphereCFiR9CVector3fR9CVector3f: -/* 8035690C 0035386C 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 80356910 00353870 7C 08 02 A6 */ mflr r0 -/* 80356914 00353874 90 01 00 94 */ stw r0, 0x94(r1) -/* 80356918 00353878 DB E1 00 80 */ stfd f31, 0x80(r1) -/* 8035691C 0035387C F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 -/* 80356920 00353880 DB C1 00 70 */ stfd f30, 0x70(r1) -/* 80356924 00353884 F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 -/* 80356928 00353888 DB A1 00 60 */ stfd f29, 0x60(r1) -/* 8035692C 0035388C F3 A1 00 68 */ psq_st f29, 104(r1), 0, qr0 -/* 80356930 00353890 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 80356934 00353894 93 C1 00 58 */ stw r30, 0x58(r1) -/* 80356938 00353898 93 A1 00 54 */ stw r29, 0x54(r1) -/* 8035693C 0035389C 93 81 00 50 */ stw r28, 0x50(r1) -/* 80356940 003538A0 3C E0 80 5A */ lis r7, skZero3f@ha -/* 80356944 003538A4 7C 7C 1B 78 */ mr r28, r3 -/* 80356948 003538A8 38 67 66 A0 */ addi r3, r7, skZero3f@l -/* 8035694C 003538AC 7C BE 2B 78 */ mr r30, r5 -/* 80356950 003538B0 C0 43 00 00 */ lfs f2, 0(r3) -/* 80356954 003538B4 7C 9D 23 78 */ mr r29, r4 -/* 80356958 003538B8 C0 23 00 04 */ lfs f1, 4(r3) -/* 8035695C 003538BC 7C DF 33 78 */ mr r31, r6 -/* 80356960 003538C0 C0 03 00 08 */ lfs f0, 8(r3) -/* 80356964 003538C4 38 A1 00 38 */ addi r5, r1, 0x38 -/* 80356968 003538C8 D0 41 00 38 */ stfs f2, 0x38(r1) -/* 8035696C 003538CC 80 7C 00 04 */ lwz r3, 4(r28) -/* 80356970 003538D0 D0 21 00 3C */ stfs f1, 0x3c(r1) -/* 80356974 003538D4 D0 01 00 40 */ stfs f0, 0x40(r1) -/* 80356978 003538D8 81 83 00 00 */ lwz r12, 0(r3) -/* 8035697C 003538DC 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80356980 003538E0 7D 89 03 A6 */ mtctr r12 -/* 80356984 003538E4 4E 80 04 21 */ bctrl -/* 80356988 003538E8 80 7C 00 08 */ lwz r3, 8(r28) -/* 8035698C 003538EC 7F A4 EB 78 */ mr r4, r29 -/* 80356990 003538F0 38 A1 00 1C */ addi r5, r1, 0x1c -/* 80356994 003538F4 81 83 00 00 */ lwz r12, 0(r3) -/* 80356998 003538F8 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8035699C 003538FC 7D 89 03 A6 */ mtctr r12 -/* 803569A0 00353900 4E 80 04 21 */ bctrl -/* 803569A4 00353904 80 7C 00 10 */ lwz r3, 0x10(r28) -/* 803569A8 00353908 7F A4 EB 78 */ mr r4, r29 -/* 803569AC 0035390C 38 A1 00 14 */ addi r5, r1, 0x14 -/* 803569B0 00353910 81 83 00 00 */ lwz r12, 0(r3) -/* 803569B4 00353914 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 803569B8 00353918 7D 89 03 A6 */ mtctr r12 -/* 803569BC 0035391C 4E 80 04 21 */ bctrl -/* 803569C0 00353920 80 7C 00 14 */ lwz r3, 0x14(r28) -/* 803569C4 00353924 7F A4 EB 78 */ mr r4, r29 -/* 803569C8 00353928 38 A1 00 0C */ addi r5, r1, 0xc -/* 803569CC 0035392C 81 83 00 00 */ lwz r12, 0(r3) -/* 803569D0 00353930 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 803569D4 00353934 7D 89 03 A6 */ mtctr r12 -/* 803569D8 00353938 4E 80 04 21 */ bctrl -/* 803569DC 0035393C 80 7C 00 18 */ lwz r3, 0x18(r28) -/* 803569E0 00353940 7F A4 EB 78 */ mr r4, r29 -/* 803569E4 00353944 38 A1 00 10 */ addi r5, r1, 0x10 -/* 803569E8 00353948 81 83 00 00 */ lwz r12, 0(r3) -/* 803569EC 0035394C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 803569F0 00353950 7D 89 03 A6 */ mtctr r12 -/* 803569F4 00353954 4E 80 04 21 */ bctrl -/* 803569F8 00353958 80 7C 00 1C */ lwz r3, 0x1c(r28) -/* 803569FC 0035395C 7F A4 EB 78 */ mr r4, r29 -/* 80356A00 00353960 38 A1 00 08 */ addi r5, r1, 8 -/* 80356A04 00353964 81 83 00 00 */ lwz r12, 0(r3) -/* 80356A08 00353968 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80356A0C 0035396C 7D 89 03 A6 */ mtctr r12 -/* 80356A10 00353970 4E 80 04 21 */ bctrl -/* 80356A14 00353974 C3 A1 00 10 */ lfs f29, 0x10(r1) -/* 80356A18 00353978 4B FB BB E5 */ bl GetRandomNumber__9CRandom16Fv -/* 80356A1C 0035397C 4B FB BA C1 */ bl Float__9CRandom16Fv -/* 80356A20 00353980 EC 7D 00 72 */ fmuls f3, f29, f1 -/* 80356A24 00353984 C0 42 CC A8 */ lfs f2, lbl_805AE9C8@sda21(r2) -/* 80356A28 00353988 C0 21 00 14 */ lfs f1, 0x14(r1) -/* 80356A2C 0035398C C0 02 CC AC */ lfs f0, lbl_805AE9CC@sda21(r2) -/* 80356A30 00353990 EC 42 1F 78 */ fmsubs f2, f2, f29, f3 -/* 80356A34 00353994 C3 A1 00 08 */ lfs f29, 8(r1) -/* 80356A38 00353998 EC 21 10 2A */ fadds f1, f1, f2 -/* 80356A3C 0035399C EC 01 00 32 */ fmuls f0, f1, f0 -/* 80356A40 003539A0 D0 21 00 14 */ stfs f1, 0x14(r1) -/* 80356A44 003539A4 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 80356A48 003539A8 4B FB BB B5 */ bl GetRandomNumber__9CRandom16Fv -/* 80356A4C 003539AC 4B FB BA 91 */ bl Float__9CRandom16Fv -/* 80356A50 003539B0 EC 7D 00 72 */ fmuls f3, f29, f1 -/* 80356A54 003539B4 C0 42 CC A8 */ lfs f2, lbl_805AE9C8@sda21(r2) -/* 80356A58 003539B8 C0 21 00 0C */ lfs f1, 0xc(r1) -/* 80356A5C 003539BC C0 02 CC AC */ lfs f0, lbl_805AE9CC@sda21(r2) -/* 80356A60 003539C0 EC 42 1F 78 */ fmsubs f2, f2, f29, f3 -/* 80356A64 003539C4 EC 41 10 2A */ fadds f2, f1, f2 -/* 80356A68 003539C8 EC 22 00 32 */ fmuls f1, f2, f0 -/* 80356A6C 003539CC D0 41 00 0C */ stfs f2, 0xc(r1) -/* 80356A70 003539D0 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 80356A74 003539D4 4B FB E2 D1 */ bl FastCosR__5CMathFf -/* 80356A78 003539D8 FF C0 08 90 */ fmr f30, f1 -/* 80356A7C 003539DC C0 21 00 14 */ lfs f1, 0x14(r1) -/* 80356A80 003539E0 4B FB E2 C5 */ bl FastCosR__5CMathFf -/* 80356A84 003539E4 EF A1 07 B2 */ fmuls f29, f1, f30 -/* 80356A88 003539E8 C0 21 00 14 */ lfs f1, 0x14(r1) -/* 80356A8C 003539EC 4B FB E3 65 */ bl FastSinR__5CMathFf -/* 80356A90 003539F0 FF C0 08 90 */ fmr f30, f1 -/* 80356A94 003539F4 C0 21 00 14 */ lfs f1, 0x14(r1) -/* 80356A98 003539F8 4B FB E2 AD */ bl FastCosR__5CMathFf -/* 80356A9C 003539FC FF E0 08 90 */ fmr f31, f1 -/* 80356AA0 00353A00 C0 21 00 0C */ lfs f1, 0xc(r1) -/* 80356AA4 00353A04 4B FB E3 4D */ bl FastSinR__5CMathFf -/* 80356AA8 00353A08 FC 40 08 50 */ fneg f2, f1 -/* 80356AAC 00353A0C C0 C1 00 1C */ lfs f6, 0x1c(r1) -/* 80356AB0 00353A10 C0 21 00 38 */ lfs f1, 0x38(r1) -/* 80356AB4 00353A14 38 61 00 2C */ addi r3, r1, 0x2c -/* 80356AB8 00353A18 EC 06 07 B2 */ fmuls f0, f6, f30 -/* 80356ABC 00353A1C C0 81 00 3C */ lfs f4, 0x3c(r1) -/* 80356AC0 00353A20 EC A2 07 F2 */ fmuls f5, f2, f31 -/* 80356AC4 00353A24 C0 61 00 40 */ lfs f3, 0x40(r1) -/* 80356AC8 00353A28 EC 46 07 72 */ fmuls f2, f6, f29 -/* 80356ACC 00353A2C 38 81 00 20 */ addi r4, r1, 0x20 -/* 80356AD0 00353A30 EC 84 00 2A */ fadds f4, f4, f0 -/* 80356AD4 00353A34 EC 06 01 72 */ fmuls f0, f6, f5 -/* 80356AD8 00353A38 EC 43 10 2A */ fadds f2, f3, f2 -/* 80356ADC 00353A3C EC 01 00 2A */ fadds f0, f1, f0 -/* 80356AE0 00353A40 D0 1E 00 00 */ stfs f0, 0(r30) -/* 80356AE4 00353A44 D0 9E 00 04 */ stfs f4, 4(r30) -/* 80356AE8 00353A48 D0 5E 00 08 */ stfs f2, 8(r30) -/* 80356AEC 00353A4C C0 3E 00 04 */ lfs f1, 4(r30) -/* 80356AF0 00353A50 C0 01 00 3C */ lfs f0, 0x3c(r1) -/* 80356AF4 00353A54 C0 7E 00 08 */ lfs f3, 8(r30) -/* 80356AF8 00353A58 C0 41 00 40 */ lfs f2, 0x40(r1) -/* 80356AFC 00353A5C EC 81 00 28 */ fsubs f4, f1, f0 -/* 80356B00 00353A60 C0 3E 00 00 */ lfs f1, 0(r30) -/* 80356B04 00353A64 C0 01 00 38 */ lfs f0, 0x38(r1) -/* 80356B08 00353A68 EC 43 10 28 */ fsubs f2, f3, f2 -/* 80356B0C 00353A6C D0 81 00 24 */ stfs f4, 0x24(r1) -/* 80356B10 00353A70 EC 01 00 28 */ fsubs f0, f1, f0 -/* 80356B14 00353A74 D0 41 00 28 */ stfs f2, 0x28(r1) -/* 80356B18 00353A78 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 80356B1C 00353A7C 4B FB DD 35 */ bl AsNormalized__9CVector3fCFv -/* 80356B20 00353A80 80 7C 00 0C */ lwz r3, 0xc(r28) -/* 80356B24 00353A84 7F A4 EB 78 */ mr r4, r29 -/* 80356B28 00353A88 38 A1 00 18 */ addi r5, r1, 0x18 -/* 80356B2C 00353A8C C3 A1 00 2C */ lfs f29, 0x2c(r1) -/* 80356B30 00353A90 81 83 00 00 */ lwz r12, 0(r3) -/* 80356B34 00353A94 C3 C1 00 30 */ lfs f30, 0x30(r1) -/* 80356B38 00353A98 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80356B3C 00353A9C C3 E1 00 34 */ lfs f31, 0x34(r1) -/* 80356B40 00353AA0 7D 89 03 A6 */ mtctr r12 -/* 80356B44 00353AA4 4E 80 04 21 */ bctrl -/* 80356B48 00353AA8 C0 01 00 18 */ lfs f0, 0x18(r1) -/* 80356B4C 00353AAC 38 60 00 00 */ li r3, 0 -/* 80356B50 00353AB0 EC 40 07 72 */ fmuls f2, f0, f29 -/* 80356B54 00353AB4 EC 20 07 B2 */ fmuls f1, f0, f30 -/* 80356B58 00353AB8 EC 00 07 F2 */ fmuls f0, f0, f31 -/* 80356B5C 00353ABC D0 5F 00 00 */ stfs f2, 0(r31) -/* 80356B60 00353AC0 D0 3F 00 04 */ stfs f1, 4(r31) -/* 80356B64 00353AC4 D0 1F 00 08 */ stfs f0, 8(r31) -/* 80356B68 00353AC8 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 -/* 80356B6C 00353ACC CB E1 00 80 */ lfd f31, 0x80(r1) -/* 80356B70 00353AD0 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 -/* 80356B74 00353AD4 CB C1 00 70 */ lfd f30, 0x70(r1) -/* 80356B78 00353AD8 E3 A1 00 68 */ psq_l f29, 104(r1), 0, qr0 -/* 80356B7C 00353ADC CB A1 00 60 */ lfd f29, 0x60(r1) -/* 80356B80 00353AE0 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 80356B84 00353AE4 83 C1 00 58 */ lwz r30, 0x58(r1) -/* 80356B88 00353AE8 83 A1 00 54 */ lwz r29, 0x54(r1) -/* 80356B8C 00353AEC 80 01 00 94 */ lwz r0, 0x94(r1) -/* 80356B90 00353AF0 83 81 00 50 */ lwz r28, 0x50(r1) -/* 80356B94 00353AF4 7C 08 03 A6 */ mtlr r0 -/* 80356B98 00353AF8 38 21 00 90 */ addi r1, r1, 0x90 -/* 80356B9C 00353AFC 4E 80 00 20 */ blr - -.global __dt__14CVEAngleSphereFv -__dt__14CVEAngleSphereFv: -/* 80356BA0 00353B00 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80356BA4 00353B04 7C 08 02 A6 */ mflr r0 -/* 80356BA8 00353B08 90 01 00 14 */ stw r0, 0x14(r1) -/* 80356BAC 00353B0C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80356BB0 00353B10 7C 9F 23 78 */ mr r31, r4 -/* 80356BB4 00353B14 93 C1 00 08 */ stw r30, 8(r1) -/* 80356BB8 00353B18 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80356BBC 00353B1C 41 82 01 28 */ beq lbl_80356CE4 -/* 80356BC0 00353B20 3C 60 80 3F */ lis r3, lbl_803EF748@ha -/* 80356BC4 00353B24 38 03 F7 48 */ addi r0, r3, lbl_803EF748@l -/* 80356BC8 00353B28 90 1E 00 00 */ stw r0, 0(r30) -/* 80356BCC 00353B2C 80 7E 00 04 */ lwz r3, 4(r30) -/* 80356BD0 00353B30 28 03 00 00 */ cmplwi r3, 0 -/* 80356BD4 00353B34 41 82 00 18 */ beq lbl_80356BEC -/* 80356BD8 00353B38 81 83 00 00 */ lwz r12, 0(r3) -/* 80356BDC 00353B3C 38 80 00 01 */ li r4, 1 -/* 80356BE0 00353B40 81 8C 00 08 */ lwz r12, 8(r12) -/* 80356BE4 00353B44 7D 89 03 A6 */ mtctr r12 -/* 80356BE8 00353B48 4E 80 04 21 */ bctrl -lbl_80356BEC: -/* 80356BEC 00353B4C 80 7E 00 08 */ lwz r3, 8(r30) -/* 80356BF0 00353B50 28 03 00 00 */ cmplwi r3, 0 -/* 80356BF4 00353B54 41 82 00 18 */ beq lbl_80356C0C -/* 80356BF8 00353B58 81 83 00 00 */ lwz r12, 0(r3) -/* 80356BFC 00353B5C 38 80 00 01 */ li r4, 1 -/* 80356C00 00353B60 81 8C 00 08 */ lwz r12, 8(r12) -/* 80356C04 00353B64 7D 89 03 A6 */ mtctr r12 -/* 80356C08 00353B68 4E 80 04 21 */ bctrl -lbl_80356C0C: -/* 80356C0C 00353B6C 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 80356C10 00353B70 28 03 00 00 */ cmplwi r3, 0 -/* 80356C14 00353B74 41 82 00 18 */ beq lbl_80356C2C -/* 80356C18 00353B78 81 83 00 00 */ lwz r12, 0(r3) -/* 80356C1C 00353B7C 38 80 00 01 */ li r4, 1 -/* 80356C20 00353B80 81 8C 00 08 */ lwz r12, 8(r12) -/* 80356C24 00353B84 7D 89 03 A6 */ mtctr r12 -/* 80356C28 00353B88 4E 80 04 21 */ bctrl -lbl_80356C2C: -/* 80356C2C 00353B8C 80 7E 00 10 */ lwz r3, 0x10(r30) -/* 80356C30 00353B90 28 03 00 00 */ cmplwi r3, 0 -/* 80356C34 00353B94 41 82 00 18 */ beq lbl_80356C4C -/* 80356C38 00353B98 81 83 00 00 */ lwz r12, 0(r3) -/* 80356C3C 00353B9C 38 80 00 01 */ li r4, 1 -/* 80356C40 00353BA0 81 8C 00 08 */ lwz r12, 8(r12) -/* 80356C44 00353BA4 7D 89 03 A6 */ mtctr r12 -/* 80356C48 00353BA8 4E 80 04 21 */ bctrl -lbl_80356C4C: -/* 80356C4C 00353BAC 80 7E 00 14 */ lwz r3, 0x14(r30) -/* 80356C50 00353BB0 28 03 00 00 */ cmplwi r3, 0 -/* 80356C54 00353BB4 41 82 00 18 */ beq lbl_80356C6C -/* 80356C58 00353BB8 81 83 00 00 */ lwz r12, 0(r3) -/* 80356C5C 00353BBC 38 80 00 01 */ li r4, 1 -/* 80356C60 00353BC0 81 8C 00 08 */ lwz r12, 8(r12) -/* 80356C64 00353BC4 7D 89 03 A6 */ mtctr r12 -/* 80356C68 00353BC8 4E 80 04 21 */ bctrl -lbl_80356C6C: -/* 80356C6C 00353BCC 80 7E 00 18 */ lwz r3, 0x18(r30) -/* 80356C70 00353BD0 28 03 00 00 */ cmplwi r3, 0 -/* 80356C74 00353BD4 41 82 00 18 */ beq lbl_80356C8C -/* 80356C78 00353BD8 81 83 00 00 */ lwz r12, 0(r3) -/* 80356C7C 00353BDC 38 80 00 01 */ li r4, 1 -/* 80356C80 00353BE0 81 8C 00 08 */ lwz r12, 8(r12) -/* 80356C84 00353BE4 7D 89 03 A6 */ mtctr r12 -/* 80356C88 00353BE8 4E 80 04 21 */ bctrl -lbl_80356C8C: -/* 80356C8C 00353BEC 80 7E 00 1C */ lwz r3, 0x1c(r30) -/* 80356C90 00353BF0 28 03 00 00 */ cmplwi r3, 0 -/* 80356C94 00353BF4 41 82 00 18 */ beq lbl_80356CAC -/* 80356C98 00353BF8 81 83 00 00 */ lwz r12, 0(r3) -/* 80356C9C 00353BFC 38 80 00 01 */ li r4, 1 -/* 80356CA0 00353C00 81 8C 00 08 */ lwz r12, 8(r12) -/* 80356CA4 00353C04 7D 89 03 A6 */ mtctr r12 -/* 80356CA8 00353C08 4E 80 04 21 */ bctrl -lbl_80356CAC: -/* 80356CAC 00353C0C 28 1E 00 00 */ cmplwi r30, 0 -/* 80356CB0 00353C10 41 82 00 20 */ beq lbl_80356CD0 -/* 80356CB4 00353C14 3C 60 80 3F */ lis r3, lbl_803EF758@ha -/* 80356CB8 00353C18 38 03 F7 58 */ addi r0, r3, lbl_803EF758@l -/* 80356CBC 00353C1C 90 1E 00 00 */ stw r0, 0(r30) -/* 80356CC0 00353C20 41 82 00 10 */ beq lbl_80356CD0 -/* 80356CC4 00353C24 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 80356CC8 00353C28 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 80356CCC 00353C2C 90 1E 00 00 */ stw r0, 0(r30) -lbl_80356CD0: -/* 80356CD0 00353C30 7F E0 07 35 */ extsh. r0, r31 -/* 80356CD4 00353C34 40 81 00 10 */ ble lbl_80356CE4 -/* 80356CD8 00353C38 7F C3 F3 78 */ mr r3, r30 -/* 80356CDC 00353C3C 38 80 00 20 */ li r4, 0x20 -/* 80356CE0 00353C40 48 01 5D 85 */ bl sub_8036ca64 -lbl_80356CE4: -/* 80356CE4 00353C44 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80356CE8 00353C48 7F C3 F3 78 */ mr r3, r30 -/* 80356CEC 00353C4C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80356CF0 00353C50 83 C1 00 08 */ lwz r30, 8(r1) -/* 80356CF4 00353C54 7C 08 03 A6 */ mtlr r0 -/* 80356CF8 00353C58 38 21 00 10 */ addi r1, r1, 0x10 -/* 80356CFC 00353C5C 4E 80 00 20 */ blr - -.global __ct__14CVEAngleSphereFP14CVectorElementP12CRealElementP12CRealElementP12CRealElementP12CRealElementP12CRealElementP12CRealElement -__ct__14CVEAngleSphereFP14CVectorElementP12CRealElementP12CRealElementP12CRealElementP12CRealElementP12CRealElementP12CRealElement: -/* 80356D00 00353C60 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80356D04 00353C64 3D 80 80 3F */ lis r12, lbl_803EF758@ha -/* 80356D08 00353C68 39 8C F7 58 */ addi r12, r12, lbl_803EF758@l -/* 80356D0C 00353C6C 3D 60 80 3F */ lis r11, lbl_803EF748@ha -/* 80356D10 00353C70 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80356D14 00353C74 3F E0 80 3F */ lis r31, lbl_803EC5A8@ha -/* 80356D18 00353C78 38 1F C5 A8 */ addi r0, r31, lbl_803EC5A8@l -/* 80356D1C 00353C7C 90 03 00 00 */ stw r0, 0(r3) -/* 80356D20 00353C80 38 0B F7 48 */ addi r0, r11, lbl_803EF748@l -/* 80356D24 00353C84 91 83 00 00 */ stw r12, 0(r3) -/* 80356D28 00353C88 90 03 00 00 */ stw r0, 0(r3) -/* 80356D2C 00353C8C 90 83 00 04 */ stw r4, 4(r3) -/* 80356D30 00353C90 90 A3 00 08 */ stw r5, 8(r3) -/* 80356D34 00353C94 90 C3 00 0C */ stw r6, 0xc(r3) -/* 80356D38 00353C98 90 E3 00 10 */ stw r7, 0x10(r3) -/* 80356D3C 00353C9C 91 03 00 14 */ stw r8, 0x14(r3) -/* 80356D40 00353CA0 91 23 00 18 */ stw r9, 0x18(r3) -/* 80356D44 00353CA4 91 43 00 1C */ stw r10, 0x1c(r3) -/* 80356D48 00353CA8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80356D4C 00353CAC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80356D50 00353CB0 4E 80 00 20 */ blr - -.global __dt__15CEmitterElement -__dt__15CEmitterElement: -/* 80356D54 00353CB4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80356D58 00353CB8 7C 08 02 A6 */ mflr r0 -/* 80356D5C 00353CBC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80356D60 00353CC0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80356D64 00353CC4 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80356D68 00353CC8 41 82 00 34 */ beq lbl_80356D9C -/* 80356D6C 00353CCC 3C 60 80 3F */ lis r3, lbl_803EF758@ha -/* 80356D70 00353CD0 38 03 F7 58 */ addi r0, r3, lbl_803EF758@l -/* 80356D74 00353CD4 90 1F 00 00 */ stw r0, 0(r31) -/* 80356D78 00353CD8 41 82 00 10 */ beq lbl_80356D88 -/* 80356D7C 00353CDC 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 80356D80 00353CE0 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 80356D84 00353CE4 90 1F 00 00 */ stw r0, 0(r31) -lbl_80356D88: -/* 80356D88 00353CE8 7C 80 07 35 */ extsh. r0, r4 -/* 80356D8C 00353CEC 40 81 00 10 */ ble lbl_80356D9C -/* 80356D90 00353CF0 7F E3 FB 78 */ mr r3, r31 -/* 80356D94 00353CF4 38 80 00 04 */ li r4, 4 -/* 80356D98 00353CF8 48 01 5C CD */ bl sub_8036ca64 -lbl_80356D9C: -/* 80356D9C 00353CFC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80356DA0 00353D00 7F E3 FB 78 */ mr r3, r31 -/* 80356DA4 00353D04 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80356DA8 00353D08 7C 08 03 A6 */ mtlr r0 -/* 80356DAC 00353D0C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80356DB0 00353D10 4E 80 00 20 */ blr - -.global GetValue__9CVESphereCFiR9CVector3fR9CVector3f -GetValue__9CVESphereCFiR9CVector3fR9CVector3f: -/* 80356DB4 00353D14 94 21 FF 40 */ stwu r1, -0xc0(r1) -/* 80356DB8 00353D18 7C 08 02 A6 */ mflr r0 -/* 80356DBC 00353D1C 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 80356DC0 00353D20 DB E1 00 B0 */ stfd f31, 0xb0(r1) -/* 80356DC4 00353D24 F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0 -/* 80356DC8 00353D28 DB C1 00 A0 */ stfd f30, 0xa0(r1) -/* 80356DCC 00353D2C F3 C1 00 A8 */ psq_st f30, 168(r1), 0, qr0 -/* 80356DD0 00353D30 DB A1 00 90 */ stfd f29, 0x90(r1) -/* 80356DD4 00353D34 F3 A1 00 98 */ psq_st f29, 152(r1), 0, qr0 -/* 80356DD8 00353D38 93 E1 00 8C */ stw r31, 0x8c(r1) -/* 80356DDC 00353D3C 93 C1 00 88 */ stw r30, 0x88(r1) -/* 80356DE0 00353D40 93 A1 00 84 */ stw r29, 0x84(r1) -/* 80356DE4 00353D44 93 81 00 80 */ stw r28, 0x80(r1) -/* 80356DE8 00353D48 3C E0 80 5A */ lis r7, skZero3f@ha -/* 80356DEC 00353D4C 7C 7C 1B 78 */ mr r28, r3 -/* 80356DF0 00353D50 38 67 66 A0 */ addi r3, r7, skZero3f@l -/* 80356DF4 00353D54 7C BE 2B 78 */ mr r30, r5 -/* 80356DF8 00353D58 C0 43 00 00 */ lfs f2, 0(r3) -/* 80356DFC 00353D5C 7C 9D 23 78 */ mr r29, r4 -/* 80356E00 00353D60 C0 23 00 04 */ lfs f1, 4(r3) -/* 80356E04 00353D64 7C DF 33 78 */ mr r31, r6 -/* 80356E08 00353D68 C0 03 00 08 */ lfs f0, 8(r3) -/* 80356E0C 00353D6C 38 A1 00 58 */ addi r5, r1, 0x58 -/* 80356E10 00353D70 D0 41 00 58 */ stfs f2, 0x58(r1) -/* 80356E14 00353D74 80 7C 00 04 */ lwz r3, 4(r28) -/* 80356E18 00353D78 D0 21 00 5C */ stfs f1, 0x5c(r1) -/* 80356E1C 00353D7C D0 01 00 60 */ stfs f0, 0x60(r1) -/* 80356E20 00353D80 81 83 00 00 */ lwz r12, 0(r3) -/* 80356E24 00353D84 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80356E28 00353D88 7D 89 03 A6 */ mtctr r12 -/* 80356E2C 00353D8C 4E 80 04 21 */ bctrl -/* 80356E30 00353D90 80 7C 00 08 */ lwz r3, 8(r28) -/* 80356E34 00353D94 7F A4 EB 78 */ mr r4, r29 -/* 80356E38 00353D98 38 A1 00 0C */ addi r5, r1, 0xc -/* 80356E3C 00353D9C 81 83 00 00 */ lwz r12, 0(r3) -/* 80356E40 00353DA0 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80356E44 00353DA4 7D 89 03 A6 */ mtctr r12 -/* 80356E48 00353DA8 4E 80 04 21 */ bctrl -/* 80356E4C 00353DAC 4B FB B7 B1 */ bl GetRandomNumber__9CRandom16Fv -/* 80356E50 00353DB0 38 80 FF 9C */ li r4, -100 -/* 80356E54 00353DB4 38 A0 00 64 */ li r5, 0x64 -/* 80356E58 00353DB8 4B FB B7 3D */ bl Range__9CRandom16Fii -/* 80356E5C 00353DBC 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 80356E60 00353DC0 3C 00 43 30 */ lis r0, 0x4330 -/* 80356E64 00353DC4 90 61 00 6C */ stw r3, 0x6c(r1) -/* 80356E68 00353DC8 C8 22 CC B8 */ lfd f1, lbl_805AE9D8@sda21(r2) -/* 80356E6C 00353DCC 90 01 00 68 */ stw r0, 0x68(r1) -/* 80356E70 00353DD0 C8 01 00 68 */ lfd f0, 0x68(r1) -/* 80356E74 00353DD4 EF C0 08 28 */ fsubs f30, f0, f1 -/* 80356E78 00353DD8 4B FB B7 85 */ bl GetRandomNumber__9CRandom16Fv -/* 80356E7C 00353DDC 38 80 FF 9C */ li r4, -100 -/* 80356E80 00353DE0 38 A0 00 64 */ li r5, 0x64 -/* 80356E84 00353DE4 4B FB B7 11 */ bl Range__9CRandom16Fii -/* 80356E88 00353DE8 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 80356E8C 00353DEC 3C 00 43 30 */ lis r0, 0x4330 -/* 80356E90 00353DF0 90 61 00 74 */ stw r3, 0x74(r1) -/* 80356E94 00353DF4 C8 22 CC B8 */ lfd f1, lbl_805AE9D8@sda21(r2) -/* 80356E98 00353DF8 90 01 00 70 */ stw r0, 0x70(r1) -/* 80356E9C 00353DFC C8 01 00 70 */ lfd f0, 0x70(r1) -/* 80356EA0 00353E00 EF E0 08 28 */ fsubs f31, f0, f1 -/* 80356EA4 00353E04 4B FB B7 59 */ bl GetRandomNumber__9CRandom16Fv -/* 80356EA8 00353E08 38 80 FF 9C */ li r4, -100 -/* 80356EAC 00353E0C 38 A0 00 64 */ li r5, 0x64 -/* 80356EB0 00353E10 4B FB B6 E5 */ bl Range__9CRandom16Fii -/* 80356EB4 00353E14 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 80356EB8 00353E18 3C 00 43 30 */ lis r0, 0x4330 -/* 80356EBC 00353E1C 90 61 00 7C */ stw r3, 0x7c(r1) -/* 80356EC0 00353E20 38 61 00 4C */ addi r3, r1, 0x4c -/* 80356EC4 00353E24 C8 22 CC B8 */ lfd f1, lbl_805AE9D8@sda21(r2) -/* 80356EC8 00353E28 90 01 00 78 */ stw r0, 0x78(r1) -/* 80356ECC 00353E2C C8 01 00 78 */ lfd f0, 0x78(r1) -/* 80356ED0 00353E30 D3 E1 00 50 */ stfs f31, 0x50(r1) -/* 80356ED4 00353E34 EC 00 08 28 */ fsubs f0, f0, f1 -/* 80356ED8 00353E38 D3 C1 00 54 */ stfs f30, 0x54(r1) -/* 80356EDC 00353E3C D0 01 00 4C */ stfs f0, 0x4c(r1) -/* 80356EE0 00353E40 4B FB D8 19 */ bl CanBeNormalized__9CVector3fCFv -/* 80356EE4 00353E44 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80356EE8 00353E48 41 82 00 40 */ beq lbl_80356F28 -/* 80356EEC 00353E4C C0 62 CC B0 */ lfs f3, lbl_805AE9D0@sda21(r2) -/* 80356EF0 00353E50 38 61 00 28 */ addi r3, r1, 0x28 -/* 80356EF4 00353E54 C0 41 00 50 */ lfs f2, 0x50(r1) -/* 80356EF8 00353E58 38 81 00 34 */ addi r4, r1, 0x34 -/* 80356EFC 00353E5C C0 21 00 54 */ lfs f1, 0x54(r1) -/* 80356F00 00353E60 C0 01 00 4C */ lfs f0, 0x4c(r1) -/* 80356F04 00353E64 EC 43 00 B2 */ fmuls f2, f3, f2 -/* 80356F08 00353E68 EC 23 00 72 */ fmuls f1, f3, f1 -/* 80356F0C 00353E6C EC 03 00 32 */ fmuls f0, f3, f0 -/* 80356F10 00353E70 D0 41 00 38 */ stfs f2, 0x38(r1) -/* 80356F14 00353E74 D0 01 00 34 */ stfs f0, 0x34(r1) -/* 80356F18 00353E78 D0 21 00 3C */ stfs f1, 0x3c(r1) -/* 80356F1C 00353E7C 4B FB D9 35 */ bl AsNormalized__9CVector3fCFv -/* 80356F20 00353E80 38 81 00 28 */ addi r4, r1, 0x28 -/* 80356F24 00353E84 48 00 00 30 */ b lbl_80356F54 -lbl_80356F28: -/* 80356F28 00353E88 C0 62 CC B0 */ lfs f3, lbl_805AE9D0@sda21(r2) -/* 80356F2C 00353E8C 38 81 00 1C */ addi r4, r1, 0x1c -/* 80356F30 00353E90 C0 41 00 50 */ lfs f2, 0x50(r1) -/* 80356F34 00353E94 C0 21 00 54 */ lfs f1, 0x54(r1) -/* 80356F38 00353E98 C0 01 00 4C */ lfs f0, 0x4c(r1) -/* 80356F3C 00353E9C EC 43 00 B2 */ fmuls f2, f3, f2 -/* 80356F40 00353EA0 EC 23 00 72 */ fmuls f1, f3, f1 -/* 80356F44 00353EA4 EC 03 00 32 */ fmuls f0, f3, f0 -/* 80356F48 00353EA8 D0 41 00 20 */ stfs f2, 0x20(r1) -/* 80356F4C 00353EAC D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 80356F50 00353EB0 D0 21 00 24 */ stfs f1, 0x24(r1) -lbl_80356F54: -/* 80356F54 00353EB4 C0 04 00 00 */ lfs f0, 0(r4) -/* 80356F58 00353EB8 38 61 00 40 */ addi r3, r1, 0x40 -/* 80356F5C 00353EBC C0 A1 00 0C */ lfs f5, 0xc(r1) -/* 80356F60 00353EC0 D0 01 00 4C */ stfs f0, 0x4c(r1) -/* 80356F64 00353EC4 EC 05 00 32 */ fmuls f0, f5, f0 -/* 80356F68 00353EC8 C0 21 00 58 */ lfs f1, 0x58(r1) -/* 80356F6C 00353ECC C0 44 00 04 */ lfs f2, 4(r4) -/* 80356F70 00353ED0 C0 81 00 5C */ lfs f4, 0x5c(r1) -/* 80356F74 00353ED4 D0 41 00 50 */ stfs f2, 0x50(r1) -/* 80356F78 00353ED8 EC 65 00 B2 */ fmuls f3, f5, f2 -/* 80356F7C 00353EDC EC 01 00 2A */ fadds f0, f1, f0 -/* 80356F80 00353EE0 C0 41 00 60 */ lfs f2, 0x60(r1) -/* 80356F84 00353EE4 C0 24 00 08 */ lfs f1, 8(r4) -/* 80356F88 00353EE8 EC 64 18 2A */ fadds f3, f4, f3 -/* 80356F8C 00353EEC D0 21 00 54 */ stfs f1, 0x54(r1) -/* 80356F90 00353EF0 EC 25 00 72 */ fmuls f1, f5, f1 -/* 80356F94 00353EF4 D0 1E 00 00 */ stfs f0, 0(r30) -/* 80356F98 00353EF8 EC 02 08 2A */ fadds f0, f2, f1 -/* 80356F9C 00353EFC D0 7E 00 04 */ stfs f3, 4(r30) -/* 80356FA0 00353F00 D0 1E 00 08 */ stfs f0, 8(r30) -/* 80356FA4 00353F04 C0 3E 00 04 */ lfs f1, 4(r30) -/* 80356FA8 00353F08 C0 01 00 5C */ lfs f0, 0x5c(r1) -/* 80356FAC 00353F0C C0 7E 00 08 */ lfs f3, 8(r30) -/* 80356FB0 00353F10 C0 41 00 60 */ lfs f2, 0x60(r1) -/* 80356FB4 00353F14 EC 81 00 28 */ fsubs f4, f1, f0 -/* 80356FB8 00353F18 C0 3E 00 00 */ lfs f1, 0(r30) -/* 80356FBC 00353F1C C0 01 00 58 */ lfs f0, 0x58(r1) -/* 80356FC0 00353F20 EC 43 10 28 */ fsubs f2, f3, f2 -/* 80356FC4 00353F24 D0 81 00 44 */ stfs f4, 0x44(r1) -/* 80356FC8 00353F28 EC 01 00 28 */ fsubs f0, f1, f0 -/* 80356FCC 00353F2C D0 41 00 48 */ stfs f2, 0x48(r1) -/* 80356FD0 00353F30 D0 01 00 40 */ stfs f0, 0x40(r1) -/* 80356FD4 00353F34 4B FB D7 25 */ bl CanBeNormalized__9CVector3fCFv -/* 80356FD8 00353F38 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80356FDC 00353F3C 41 82 00 18 */ beq lbl_80356FF4 -/* 80356FE0 00353F40 38 61 00 10 */ addi r3, r1, 0x10 -/* 80356FE4 00353F44 38 81 00 40 */ addi r4, r1, 0x40 -/* 80356FE8 00353F48 4B FB D8 69 */ bl AsNormalized__9CVector3fCFv -/* 80356FEC 00353F4C 38 C1 00 10 */ addi r6, r1, 0x10 -/* 80356FF0 00353F50 48 00 00 08 */ b lbl_80356FF8 -lbl_80356FF4: -/* 80356FF4 00353F54 38 C1 00 40 */ addi r6, r1, 0x40 -lbl_80356FF8: -/* 80356FF8 00353F58 80 7C 00 0C */ lwz r3, 0xc(r28) -/* 80356FFC 00353F5C 7F A4 EB 78 */ mr r4, r29 -/* 80357000 00353F60 38 A1 00 08 */ addi r5, r1, 8 -/* 80357004 00353F64 C3 C6 00 00 */ lfs f30, 0(r6) -/* 80357008 00353F68 81 83 00 00 */ lwz r12, 0(r3) -/* 8035700C 00353F6C C3 E6 00 04 */ lfs f31, 4(r6) -/* 80357010 00353F70 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80357014 00353F74 C3 A6 00 08 */ lfs f29, 8(r6) -/* 80357018 00353F78 7D 89 03 A6 */ mtctr r12 -/* 8035701C 00353F7C 4E 80 04 21 */ bctrl -/* 80357020 00353F80 C0 01 00 08 */ lfs f0, 8(r1) -/* 80357024 00353F84 38 60 00 00 */ li r3, 0 -/* 80357028 00353F88 EC 40 07 B2 */ fmuls f2, f0, f30 -/* 8035702C 00353F8C EC 20 07 F2 */ fmuls f1, f0, f31 -/* 80357030 00353F90 EC 00 07 72 */ fmuls f0, f0, f29 -/* 80357034 00353F94 D0 5F 00 00 */ stfs f2, 0(r31) -/* 80357038 00353F98 D0 3F 00 04 */ stfs f1, 4(r31) -/* 8035703C 00353F9C D0 1F 00 08 */ stfs f0, 8(r31) -/* 80357040 00353FA0 E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0 -/* 80357044 00353FA4 CB E1 00 B0 */ lfd f31, 0xb0(r1) -/* 80357048 00353FA8 E3 C1 00 A8 */ psq_l f30, 168(r1), 0, qr0 -/* 8035704C 00353FAC CB C1 00 A0 */ lfd f30, 0xa0(r1) -/* 80357050 00353FB0 E3 A1 00 98 */ psq_l f29, 152(r1), 0, qr0 -/* 80357054 00353FB4 CB A1 00 90 */ lfd f29, 0x90(r1) -/* 80357058 00353FB8 83 E1 00 8C */ lwz r31, 0x8c(r1) -/* 8035705C 00353FBC 83 C1 00 88 */ lwz r30, 0x88(r1) -/* 80357060 00353FC0 83 A1 00 84 */ lwz r29, 0x84(r1) -/* 80357064 00353FC4 80 01 00 C4 */ lwz r0, 0xc4(r1) -/* 80357068 00353FC8 83 81 00 80 */ lwz r28, 0x80(r1) -/* 8035706C 00353FCC 7C 08 03 A6 */ mtlr r0 -/* 80357070 00353FD0 38 21 00 C0 */ addi r1, r1, 0xc0 -/* 80357074 00353FD4 4E 80 00 20 */ blr - -.global __dt__9CVESphereFv -__dt__9CVESphereFv: -/* 80357078 00353FD8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8035707C 00353FDC 7C 08 02 A6 */ mflr r0 -/* 80357080 00353FE0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80357084 00353FE4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80357088 00353FE8 7C 9F 23 78 */ mr r31, r4 -/* 8035708C 00353FEC 93 C1 00 08 */ stw r30, 8(r1) -/* 80357090 00353FF0 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80357094 00353FF4 41 82 00 A8 */ beq lbl_8035713C -/* 80357098 00353FF8 3C 60 80 3F */ lis r3, lbl_803EF768@ha -/* 8035709C 00353FFC 38 03 F7 68 */ addi r0, r3, lbl_803EF768@l -/* 803570A0 00354000 90 1E 00 00 */ stw r0, 0(r30) -/* 803570A4 00354004 80 7E 00 04 */ lwz r3, 4(r30) -/* 803570A8 00354008 28 03 00 00 */ cmplwi r3, 0 -/* 803570AC 0035400C 41 82 00 18 */ beq lbl_803570C4 -/* 803570B0 00354010 81 83 00 00 */ lwz r12, 0(r3) -/* 803570B4 00354014 38 80 00 01 */ li r4, 1 -/* 803570B8 00354018 81 8C 00 08 */ lwz r12, 8(r12) -/* 803570BC 0035401C 7D 89 03 A6 */ mtctr r12 -/* 803570C0 00354020 4E 80 04 21 */ bctrl -lbl_803570C4: -/* 803570C4 00354024 80 7E 00 08 */ lwz r3, 8(r30) -/* 803570C8 00354028 28 03 00 00 */ cmplwi r3, 0 -/* 803570CC 0035402C 41 82 00 18 */ beq lbl_803570E4 -/* 803570D0 00354030 81 83 00 00 */ lwz r12, 0(r3) -/* 803570D4 00354034 38 80 00 01 */ li r4, 1 -/* 803570D8 00354038 81 8C 00 08 */ lwz r12, 8(r12) -/* 803570DC 0035403C 7D 89 03 A6 */ mtctr r12 -/* 803570E0 00354040 4E 80 04 21 */ bctrl -lbl_803570E4: -/* 803570E4 00354044 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 803570E8 00354048 28 03 00 00 */ cmplwi r3, 0 -/* 803570EC 0035404C 41 82 00 18 */ beq lbl_80357104 -/* 803570F0 00354050 81 83 00 00 */ lwz r12, 0(r3) -/* 803570F4 00354054 38 80 00 01 */ li r4, 1 -/* 803570F8 00354058 81 8C 00 08 */ lwz r12, 8(r12) -/* 803570FC 0035405C 7D 89 03 A6 */ mtctr r12 -/* 80357100 00354060 4E 80 04 21 */ bctrl -lbl_80357104: -/* 80357104 00354064 28 1E 00 00 */ cmplwi r30, 0 -/* 80357108 00354068 41 82 00 20 */ beq lbl_80357128 -/* 8035710C 0035406C 3C 60 80 3F */ lis r3, lbl_803EF758@ha -/* 80357110 00354070 38 03 F7 58 */ addi r0, r3, lbl_803EF758@l -/* 80357114 00354074 90 1E 00 00 */ stw r0, 0(r30) -/* 80357118 00354078 41 82 00 10 */ beq lbl_80357128 -/* 8035711C 0035407C 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 80357120 00354080 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 80357124 00354084 90 1E 00 00 */ stw r0, 0(r30) -lbl_80357128: -/* 80357128 00354088 7F E0 07 35 */ extsh. r0, r31 -/* 8035712C 0035408C 40 81 00 10 */ ble lbl_8035713C -/* 80357130 00354090 7F C3 F3 78 */ mr r3, r30 -/* 80357134 00354094 38 80 00 10 */ li r4, 0x10 -/* 80357138 00354098 48 01 59 2D */ bl sub_8036ca64 -lbl_8035713C: -/* 8035713C 0035409C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80357140 003540A0 7F C3 F3 78 */ mr r3, r30 -/* 80357144 003540A4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80357148 003540A8 83 C1 00 08 */ lwz r30, 8(r1) -/* 8035714C 003540AC 7C 08 03 A6 */ mtlr r0 -/* 80357150 003540B0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80357154 003540B4 4E 80 00 20 */ blr - -.global __ct__9CVESphereFP14CVectorElementP12CRealElementP12CRealElement -__ct__9CVESphereFP14CVectorElementP12CRealElementP12CRealElement: -/* 80357158 003540B8 3D 20 80 3F */ lis r9, lbl_803EC5A8@ha -/* 8035715C 003540BC 3D 00 80 3F */ lis r8, lbl_803EF758@ha -/* 80357160 003540C0 38 09 C5 A8 */ addi r0, r9, lbl_803EC5A8@l -/* 80357164 003540C4 3C E0 80 3F */ lis r7, lbl_803EF768@ha -/* 80357168 003540C8 90 03 00 00 */ stw r0, 0(r3) -/* 8035716C 003540CC 39 08 F7 58 */ addi r8, r8, lbl_803EF758@l -/* 80357170 003540D0 38 07 F7 68 */ addi r0, r7, lbl_803EF768@l -/* 80357174 003540D4 91 03 00 00 */ stw r8, 0(r3) -/* 80357178 003540D8 90 03 00 00 */ stw r0, 0(r3) -/* 8035717C 003540DC 90 83 00 04 */ stw r4, 4(r3) -/* 80357180 003540E0 90 A3 00 08 */ stw r5, 8(r3) -/* 80357184 003540E4 90 C3 00 0C */ stw r6, 0xc(r3) -/* 80357188 003540E8 4E 80 00 20 */ blr - -.global GetValue__16CEESimpleEmitterCFiR9CVector3fR9CVector3f -GetValue__16CEESimpleEmitterCFiR9CVector3fR9CVector3f: -/* 8035718C 003540EC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80357190 003540F0 7C 08 02 A6 */ mflr r0 -/* 80357194 003540F4 90 01 00 24 */ stw r0, 0x24(r1) -/* 80357198 003540F8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8035719C 003540FC 7C DF 33 78 */ mr r31, r6 -/* 803571A0 00354100 93 C1 00 18 */ stw r30, 0x18(r1) -/* 803571A4 00354104 7C 9E 23 78 */ mr r30, r4 -/* 803571A8 00354108 93 A1 00 14 */ stw r29, 0x14(r1) -/* 803571AC 0035410C 7C 7D 1B 78 */ mr r29, r3 -/* 803571B0 00354110 80 63 00 04 */ lwz r3, 4(r3) -/* 803571B4 00354114 81 83 00 00 */ lwz r12, 0(r3) -/* 803571B8 00354118 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 803571BC 0035411C 7D 89 03 A6 */ mtctr r12 -/* 803571C0 00354120 4E 80 04 21 */ bctrl -/* 803571C4 00354124 80 7D 00 08 */ lwz r3, 8(r29) -/* 803571C8 00354128 28 03 00 00 */ cmplwi r3, 0 -/* 803571CC 0035412C 41 82 00 20 */ beq lbl_803571EC -/* 803571D0 00354130 81 83 00 00 */ lwz r12, 0(r3) -/* 803571D4 00354134 7F C4 F3 78 */ mr r4, r30 -/* 803571D8 00354138 7F E5 FB 78 */ mr r5, r31 -/* 803571DC 0035413C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 803571E0 00354140 7D 89 03 A6 */ mtctr r12 -/* 803571E4 00354144 4E 80 04 21 */ bctrl -/* 803571E8 00354148 48 00 00 20 */ b lbl_80357208 -lbl_803571EC: -/* 803571EC 0035414C 3C 60 80 5A */ lis r3, skZero3f@ha -/* 803571F0 00354150 C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) -/* 803571F4 00354154 D0 1F 00 00 */ stfs f0, 0(r31) -/* 803571F8 00354158 C0 03 00 04 */ lfs f0, 4(r3) -/* 803571FC 0035415C D0 1F 00 04 */ stfs f0, 4(r31) -/* 80357200 00354160 C0 03 00 08 */ lfs f0, 8(r3) -/* 80357204 00354164 D0 1F 00 08 */ stfs f0, 8(r31) -lbl_80357208: -/* 80357208 00354168 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8035720C 0035416C 38 60 00 00 */ li r3, 0 -/* 80357210 00354170 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80357214 00354174 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80357218 00354178 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8035721C 0035417C 7C 08 03 A6 */ mtlr r0 -/* 80357220 00354180 38 21 00 20 */ addi r1, r1, 0x20 -/* 80357224 00354184 4E 80 00 20 */ blr - -.global __dt__16CEESimpleEmitterFv -__dt__16CEESimpleEmitterFv: -/* 80357228 00354188 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8035722C 0035418C 7C 08 02 A6 */ mflr r0 -/* 80357230 00354190 90 01 00 14 */ stw r0, 0x14(r1) -/* 80357234 00354194 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80357238 00354198 7C 9F 23 78 */ mr r31, r4 -/* 8035723C 0035419C 93 C1 00 08 */ stw r30, 8(r1) -/* 80357240 003541A0 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80357244 003541A4 41 82 00 88 */ beq lbl_803572CC -/* 80357248 003541A8 3C 60 80 3F */ lis r3, lbl_803EF778@ha -/* 8035724C 003541AC 38 03 F7 78 */ addi r0, r3, lbl_803EF778@l -/* 80357250 003541B0 90 1E 00 00 */ stw r0, 0(r30) -/* 80357254 003541B4 80 7E 00 04 */ lwz r3, 4(r30) -/* 80357258 003541B8 28 03 00 00 */ cmplwi r3, 0 -/* 8035725C 003541BC 41 82 00 18 */ beq lbl_80357274 -/* 80357260 003541C0 81 83 00 00 */ lwz r12, 0(r3) -/* 80357264 003541C4 38 80 00 01 */ li r4, 1 -/* 80357268 003541C8 81 8C 00 08 */ lwz r12, 8(r12) -/* 8035726C 003541CC 7D 89 03 A6 */ mtctr r12 -/* 80357270 003541D0 4E 80 04 21 */ bctrl -lbl_80357274: -/* 80357274 003541D4 80 7E 00 08 */ lwz r3, 8(r30) -/* 80357278 003541D8 28 03 00 00 */ cmplwi r3, 0 -/* 8035727C 003541DC 41 82 00 18 */ beq lbl_80357294 -/* 80357280 003541E0 81 83 00 00 */ lwz r12, 0(r3) -/* 80357284 003541E4 38 80 00 01 */ li r4, 1 -/* 80357288 003541E8 81 8C 00 08 */ lwz r12, 8(r12) -/* 8035728C 003541EC 7D 89 03 A6 */ mtctr r12 -/* 80357290 003541F0 4E 80 04 21 */ bctrl -lbl_80357294: -/* 80357294 003541F4 28 1E 00 00 */ cmplwi r30, 0 -/* 80357298 003541F8 41 82 00 20 */ beq lbl_803572B8 -/* 8035729C 003541FC 3C 60 80 3F */ lis r3, lbl_803EF758@ha -/* 803572A0 00354200 38 03 F7 58 */ addi r0, r3, lbl_803EF758@l -/* 803572A4 00354204 90 1E 00 00 */ stw r0, 0(r30) -/* 803572A8 00354208 41 82 00 10 */ beq lbl_803572B8 -/* 803572AC 0035420C 3C 60 80 3F */ lis r3, lbl_803EC5A8@ha -/* 803572B0 00354210 38 03 C5 A8 */ addi r0, r3, lbl_803EC5A8@l -/* 803572B4 00354214 90 1E 00 00 */ stw r0, 0(r30) -lbl_803572B8: -/* 803572B8 00354218 7F E0 07 35 */ extsh. r0, r31 -/* 803572BC 0035421C 40 81 00 10 */ ble lbl_803572CC -/* 803572C0 00354220 7F C3 F3 78 */ mr r3, r30 -/* 803572C4 00354224 38 80 00 0C */ li r4, 0xc -/* 803572C8 00354228 48 01 57 9D */ bl sub_8036ca64 -lbl_803572CC: -/* 803572CC 0035422C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803572D0 00354230 7F C3 F3 78 */ mr r3, r30 -/* 803572D4 00354234 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 803572D8 00354238 83 C1 00 08 */ lwz r30, 8(r1) -/* 803572DC 0035423C 7C 08 03 A6 */ mtlr r0 -/* 803572E0 00354240 38 21 00 10 */ addi r1, r1, 0x10 -/* 803572E4 00354244 4E 80 00 20 */ blr - -.global __ct__16CEESimpleEmitterFP14CVectorElementP14CVectorElement -__ct__16CEESimpleEmitterFP14CVectorElementP14CVectorElement: -/* 803572E8 00354248 3D 00 80 3F */ lis r8, lbl_803EC5A8@ha -/* 803572EC 0035424C 3C E0 80 3F */ lis r7, lbl_803EF758@ha -/* 803572F0 00354250 38 08 C5 A8 */ addi r0, r8, lbl_803EC5A8@l -/* 803572F4 00354254 3C C0 80 3F */ lis r6, lbl_803EF778@ha -/* 803572F8 00354258 90 03 00 00 */ stw r0, 0(r3) -/* 803572FC 0035425C 38 E7 F7 58 */ addi r7, r7, lbl_803EF758@l -/* 80357300 00354260 38 06 F7 78 */ addi r0, r6, lbl_803EF778@l -/* 80357304 00354264 90 E3 00 00 */ stw r7, 0(r3) -/* 80357308 00354268 90 03 00 00 */ stw r0, 0(r3) -/* 8035730C 0035426C 90 83 00 04 */ stw r4, 4(r3) -/* 80357310 00354270 90 A3 00 08 */ stw r5, 8(r3) -/* 80357314 00354274 4E 80 00 20 */ blr - -.global GetSObjectTagFromStream__16CEffectComponentFR12CInputStream -GetSObjectTagFromStream__16CEffectComponentFR12CInputStream: -/* 80357318 00354278 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8035731C 0035427C 7C 08 02 A6 */ mflr r0 -/* 80357320 00354280 90 01 00 24 */ stw r0, 0x24(r1) -/* 80357324 00354284 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80357328 00354288 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8035732C 0035428C 7C BE 2B 78 */ mr r30, r5 -/* 80357330 00354290 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80357334 00354294 7C 7D 1B 78 */ mr r29, r3 -/* 80357338 00354298 7F C3 F3 78 */ mr r3, r30 -/* 8035733C 0035429C 4B FE 79 49 */ bl ReadLong__12CInputStreamFv -/* 80357340 003542A0 7C 7F 1B 78 */ mr r31, r3 -/* 80357344 003542A4 7F C3 F3 78 */ mr r3, r30 -/* 80357348 003542A8 4B FE 79 3D */ bl ReadLong__12CInputStreamFv -/* 8035734C 003542AC 93 FD 00 00 */ stw r31, 0(r29) -/* 80357350 003542B0 90 7D 00 04 */ stw r3, 4(r29) -/* 80357354 003542B4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80357358 003542B8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8035735C 003542BC 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80357360 003542C0 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80357364 003542C4 7C 08 03 A6 */ mtlr r0 -/* 80357368 003542C8 38 21 00 20 */ addi r1, r1, 0x20 -/* 8035736C 003542CC 4E 80 00 20 */ blr - -.global __ct__16CEffectComponentFR12CInputStream -__ct__16CEffectComponentFR12CInputStream: -/* 80357370 003542D0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80357374 003542D4 7C 08 02 A6 */ mflr r0 -/* 80357378 003542D8 90 01 00 24 */ stw r0, 0x24(r1) -/* 8035737C 003542DC 38 A1 00 0C */ addi r5, r1, 0xc -/* 80357380 003542E0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80357384 003542E4 7C 9F 23 78 */ mr r31, r4 -/* 80357388 003542E8 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8035738C 003542EC 7C 7E 1B 78 */ mr r30, r3 -/* 80357390 003542F0 4B FE 6F 69 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" -/* 80357394 003542F4 7F C4 F3 78 */ mr r4, r30 -/* 80357398 003542F8 7F E5 FB 78 */ mr r5, r31 -/* 8035739C 003542FC 38 61 00 10 */ addi r3, r1, 0x10 -/* 803573A0 00354300 4B FF FF 79 */ bl GetSObjectTagFromStream__16CEffectComponentFR12CInputStream -/* 803573A4 00354304 80 01 00 10 */ lwz r0, 0x10(r1) -/* 803573A8 00354308 7F E4 FB 78 */ mr r4, r31 -/* 803573AC 0035430C 38 7E 00 18 */ addi r3, r30, 0x18 -/* 803573B0 00354310 38 A1 00 08 */ addi r5, r1, 8 -/* 803573B4 00354314 90 1E 00 10 */ stw r0, 0x10(r30) -/* 803573B8 00354318 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803573BC 0035431C 90 1E 00 14 */ stw r0, 0x14(r30) -/* 803573C0 00354320 4B FE 6F 39 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" -/* 803573C4 00354324 7F E3 FB 78 */ mr r3, r31 -/* 803573C8 00354328 4B FE 78 61 */ bl ReadFloat__12CInputStreamFv -/* 803573CC 0035432C D0 3E 00 28 */ stfs f1, 0x28(r30) -/* 803573D0 00354330 7F E3 FB 78 */ mr r3, r31 -/* 803573D4 00354334 4B FE 78 B1 */ bl ReadLong__12CInputStreamFv -/* 803573D8 00354338 90 7E 00 2C */ stw r3, 0x2c(r30) -/* 803573DC 0035433C 7F E3 FB 78 */ mr r3, r31 -/* 803573E0 00354340 4B FE 78 A5 */ bl ReadLong__12CInputStreamFv -/* 803573E4 00354344 90 7E 00 30 */ stw r3, 0x30(r30) -/* 803573E8 00354348 7F C3 F3 78 */ mr r3, r30 -/* 803573EC 0035434C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 803573F0 00354350 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 803573F4 00354354 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 803573F8 00354358 7C 08 03 A6 */ mtlr r0 -/* 803573FC 0035435C 38 21 00 20 */ addi r1, r1, 0x20 -/* 80357400 00354360 4E 80 00 20 */ blr - -.global __ct__13CParticleDataFR12CInputStream -__ct__13CParticleDataFR12CInputStream: -/* 80357404 00354364 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80357408 00354368 7C 08 02 A6 */ mflr r0 -/* 8035740C 0035436C 90 01 00 34 */ stw r0, 0x34(r1) -/* 80357410 00354370 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80357414 00354374 7C 9F 23 78 */ mr r31, r4 -/* 80357418 00354378 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8035741C 0035437C 7C 7E 1B 78 */ mr r30, r3 -/* 80357420 00354380 7F E3 FB 78 */ mr r3, r31 -/* 80357424 00354384 4B FE 78 61 */ bl ReadLong__12CInputStreamFv -/* 80357428 00354388 90 7E 00 00 */ stw r3, 0(r30) -/* 8035742C 0035438C 7F E3 FB 78 */ mr r3, r31 -/* 80357430 00354390 4B FE 78 55 */ bl ReadLong__12CInputStreamFv -/* 80357434 00354394 90 7E 00 04 */ stw r3, 4(r30) -/* 80357438 00354398 7F E3 FB 78 */ mr r3, r31 -/* 8035743C 0035439C 4B FE 78 49 */ bl ReadLong__12CInputStreamFv -/* 80357440 003543A0 90 7E 00 08 */ stw r3, 8(r30) -/* 80357444 003543A4 7F E4 FB 78 */ mr r4, r31 -/* 80357448 003543A8 38 61 00 0C */ addi r3, r1, 0xc -/* 8035744C 003543AC 38 A1 00 08 */ addi r5, r1, 8 -/* 80357450 003543B0 88 0D AA 90 */ lbz r0, lbl_805A9650@sda21(r13) -/* 80357454 003543B4 98 01 00 08 */ stb r0, 8(r1) -/* 80357458 003543B8 48 00 00 4D */ bl "Get,Q24rstl17rmemory_allocator>>__12CInputStreamFRC82TType,Q24rstl17rmemory_allocator>>" -/* 8035745C 003543BC 38 7E 00 0C */ addi r3, r30, 0xc -/* 80357460 003543C0 38 81 00 0C */ addi r4, r1, 0xc -/* 80357464 003543C4 4B FE 6C FD */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80357468 003543C8 38 61 00 0C */ addi r3, r1, 0xc -/* 8035746C 003543CC 4B FE 66 75 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80357470 003543D0 7F E3 FB 78 */ mr r3, r31 -/* 80357474 003543D4 4B FE 77 B5 */ bl ReadFloat__12CInputStreamFv -/* 80357478 003543D8 D0 3E 00 1C */ stfs f1, 0x1c(r30) -/* 8035747C 003543DC 7F E3 FB 78 */ mr r3, r31 -/* 80357480 003543E0 4B FE 78 05 */ bl ReadLong__12CInputStreamFv -/* 80357484 003543E4 90 7E 00 20 */ stw r3, 0x20(r30) -/* 80357488 003543E8 7F C3 F3 78 */ mr r3, r30 -/* 8035748C 003543EC 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80357490 003543F0 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80357494 003543F4 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80357498 003543F8 7C 08 03 A6 */ mtlr r0 -/* 8035749C 003543FC 38 21 00 30 */ addi r1, r1, 0x30 -/* 803574A0 00354400 4E 80 00 20 */ blr - -.global "Get,Q24rstl17rmemory_allocator>>__12CInputStreamFRC82TType,Q24rstl17rmemory_allocator>>" -"Get,Q24rstl17rmemory_allocator>>__12CInputStreamFRC82TType,Q24rstl17rmemory_allocator>>": -/* 803574A4 00354404 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 803574A8 00354408 7C 08 02 A6 */ mflr r0 -/* 803574AC 0035440C 7C 85 23 78 */ mr r5, r4 -/* 803574B0 00354410 90 01 00 24 */ stw r0, 0x24(r1) -/* 803574B4 00354414 38 81 00 08 */ addi r4, r1, 8 -/* 803574B8 00354418 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 803574BC 0035441C 7C 7F 1B 78 */ mr r31, r3 -/* 803574C0 00354420 88 0D AA 94 */ lbz r0, lbl_805A9654@sda21(r13) -/* 803574C4 00354424 98 01 00 08 */ stb r0, 8(r1) -/* 803574C8 00354428 4B D0 20 31 */ bl sub_800594f8 -/* 803574CC 0035442C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 803574D0 00354430 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 803574D4 00354434 7C 08 03 A6 */ mtlr r0 -/* 803574D8 00354438 38 21 00 20 */ addi r1, r1, 0x20 -/* 803574DC 0035443C 4E 80 00 20 */ blr - -.global Reset__18CVertexMorphEffectFRC13CUnitVector3fRC9CVector3ff -Reset__18CVertexMorphEffectFRC13CUnitVector3fRC9CVector3ff: -/* 803574E0 00354440 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 803574E4 00354444 C0 02 CC C0 */ lfs f0, lbl_805AE9E0@sda21(r2) -/* 803574E8 00354448 C0 44 00 00 */ lfs f2, 0(r4) -/* 803574EC 0035444C D0 43 00 00 */ stfs f2, 0(r3) -/* 803574F0 00354450 C0 44 00 04 */ lfs f2, 4(r4) -/* 803574F4 00354454 D0 43 00 04 */ stfs f2, 4(r3) -/* 803574F8 00354458 C0 44 00 08 */ lfs f2, 8(r4) -/* 803574FC 0035445C D0 43 00 08 */ stfs f2, 8(r3) -/* 80357500 00354460 C0 45 00 00 */ lfs f2, 0(r5) -/* 80357504 00354464 D0 43 00 0C */ stfs f2, 0xc(r3) -/* 80357508 00354468 C0 45 00 04 */ lfs f2, 4(r5) -/* 8035750C 0035446C D0 43 00 10 */ stfs f2, 0x10(r3) -/* 80357510 00354470 C0 45 00 08 */ lfs f2, 8(r5) -/* 80357514 00354474 D0 43 00 14 */ stfs f2, 0x14(r3) -/* 80357518 00354478 D0 23 00 18 */ stfs f1, 0x18(r3) -/* 8035751C 0035447C D0 03 00 1C */ stfs f0, 0x1c(r3) -/* 80357520 00354480 80 03 00 2C */ lwz r0, 0x2c(r3) -/* 80357524 00354484 80 83 00 34 */ lwz r4, 0x34(r3) -/* 80357528 00354488 54 00 10 3A */ slwi r0, r0, 2 -/* 8035752C 0035448C 7C 04 02 14 */ add r0, r4, r0 -/* 80357530 00354490 90 81 00 1C */ stw r4, 0x1c(r1) -/* 80357534 00354494 90 01 00 24 */ stw r0, 0x24(r1) -/* 80357538 00354498 90 01 00 20 */ stw r0, 0x20(r1) -/* 8035753C 0035449C 90 81 00 18 */ stw r4, 0x18(r1) -/* 80357540 003544A0 48 00 00 08 */ b lbl_80357548 -lbl_80357544: -/* 80357544 003544A4 38 84 00 04 */ addi r4, r4, 4 -lbl_80357548: -/* 80357548 003544A8 7C 04 00 40 */ cmplw r4, r0 -/* 8035754C 003544AC 40 82 FF F8 */ bne lbl_80357544 -/* 80357550 003544B0 38 00 00 00 */ li r0, 0 -/* 80357554 003544B4 90 03 00 2C */ stw r0, 0x2c(r3) -/* 80357558 003544B8 80 03 00 3C */ lwz r0, 0x3c(r3) -/* 8035755C 003544BC 80 83 00 44 */ lwz r4, 0x44(r3) -/* 80357560 003544C0 54 00 10 3A */ slwi r0, r0, 2 -/* 80357564 003544C4 7C 04 02 14 */ add r0, r4, r0 -/* 80357568 003544C8 90 81 00 0C */ stw r4, 0xc(r1) -/* 8035756C 003544CC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80357570 003544D0 90 01 00 10 */ stw r0, 0x10(r1) -/* 80357574 003544D4 90 81 00 08 */ stw r4, 8(r1) -/* 80357578 003544D8 48 00 00 08 */ b lbl_80357580 -lbl_8035757C: -/* 8035757C 003544DC 38 84 00 04 */ addi r4, r4, 4 -lbl_80357580: -/* 80357580 003544E0 7C 04 00 40 */ cmplw r4, r0 -/* 80357584 003544E4 40 82 FF F8 */ bne lbl_8035757C -/* 80357588 003544E8 38 00 00 00 */ li r0, 0 -/* 8035758C 003544EC 90 03 00 3C */ stw r0, 0x3c(r3) -/* 80357590 003544F0 38 21 00 30 */ addi r1, r1, 0x30 -/* 80357594 003544F4 4E 80 00 20 */ blr - -.global "MorphVertices__18CVertexMorphEffectCFP9CVector3fPC9CVector3fRC26TLockedToken<10CSkinRules>RC17CPoseAsTransformsUi" -"MorphVertices__18CVertexMorphEffectCFP9CVector3fPC9CVector3fRC26TLockedToken<10CSkinRules>RC17CPoseAsTransformsUi": -/* 80357598 003544F8 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 8035759C 003544FC 7C 08 02 A6 */ mflr r0 -/* 803575A0 00354500 90 01 00 64 */ stw r0, 0x64(r1) -/* 803575A4 00354504 DB E1 00 50 */ stfd f31, 0x50(r1) -/* 803575A8 00354508 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 -/* 803575AC 0035450C DB C1 00 40 */ stfd f30, 0x40(r1) -/* 803575B0 00354510 F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 -/* 803575B4 00354514 BE E1 00 1C */ stmw r23, 0x1c(r1) -/* 803575B8 00354518 7C 77 1B 78 */ mr r23, r3 -/* 803575BC 0035451C 7C 98 23 78 */ mr r24, r4 -/* 803575C0 00354520 80 03 00 2C */ lwz r0, 0x2c(r3) -/* 803575C4 00354524 7C BB 2B 78 */ mr r27, r5 -/* 803575C8 00354528 7C DA 33 78 */ mr r26, r6 -/* 803575CC 0035452C 7D 19 43 78 */ mr r25, r8 -/* 803575D0 00354530 2C 00 00 00 */ cmpwi r0, 0 -/* 803575D4 00354534 40 82 01 C0 */ bne lbl_80357794 -/* 803575D8 00354538 3C 60 80 3E */ lis r3, lbl_803D8328@ha -/* 803575DC 0035453C 38 A0 00 00 */ li r5, 0 -/* 803575E0 00354540 38 83 83 28 */ addi r4, r3, lbl_803D8328@l -/* 803575E4 00354544 1C 79 00 0C */ mulli r3, r25, 0xc -/* 803575E8 00354548 4B FB E2 31 */ bl __nwa__FUlPCcPCc -/* 803575EC 0035454C 7C 60 1B 78 */ mr r0, r3 -/* 803575F0 00354550 80 7A 00 08 */ lwz r3, 8(r26) -/* 803575F4 00354554 7C 1D 03 78 */ mr r29, r0 -/* 803575F8 00354558 7F 64 DB 78 */ mr r4, r27 -/* 803575FC 0035455C 7F A5 EB 78 */ mr r5, r29 -/* 80357600 00354560 4B FF C8 9D */ bl BuildNormalsFrom__10CSkinRulesCFPC9CVector3fP9CVector3f -/* 80357604 00354564 3C 00 43 30 */ lis r0, 0x4330 -/* 80357608 00354568 93 21 00 0C */ stw r25, 0xc(r1) -/* 8035760C 0035456C C8 22 CC C8 */ lfd f1, lbl_805AE9E8@sda21(r2) -/* 80357610 00354570 3B 97 00 28 */ addi r28, r23, 0x28 -/* 80357614 00354574 90 01 00 08 */ stw r0, 8(r1) -/* 80357618 00354578 C0 42 CC C4 */ lfs f2, lbl_805AE9E4@sda21(r2) -/* 8035761C 0035457C C8 01 00 08 */ lfd f0, 8(r1) -/* 80357620 00354580 EC 00 08 28 */ fsubs f0, f0, f1 -/* 80357624 00354584 EC 22 00 32 */ fmuls f1, f2, f0 -/* 80357628 00354588 48 03 23 2D */ bl __cvt_fp2unsigned -/* 8035762C 0035458C 7C 7A 1B 78 */ mr r26, r3 -/* 80357630 00354590 7F 83 E3 78 */ mr r3, r28 -/* 80357634 00354594 7F 44 D3 78 */ mr r4, r26 -/* 80357638 00354598 4B D0 C4 ED */ bl "reserve__Q24rstl37vectorFi" -/* 8035763C 0035459C 3B 77 00 38 */ addi r27, r23, 0x38 -/* 80357640 003545A0 7F 44 D3 78 */ mr r4, r26 -/* 80357644 003545A4 7F 63 DB 78 */ mr r3, r27 -/* 80357648 003545A8 4B D0 67 B1 */ bl "reserve__Q24rstl36vectorFi" -/* 8035764C 003545AC C3 E2 CC C4 */ lfs f31, lbl_805AE9E4@sda21(r2) -/* 80357650 003545B0 7F BF EB 78 */ mr r31, r29 -/* 80357654 003545B4 7F 1E C3 78 */ mr r30, r24 -/* 80357658 003545B8 3B 40 00 00 */ li r26, 0 -/* 8035765C 003545BC 48 00 01 20 */ b lbl_8035777C -lbl_80357660: -/* 80357660 003545C0 C0 3F 00 04 */ lfs f1, 4(r31) -/* 80357664 003545C4 C0 17 00 04 */ lfs f0, 4(r23) -/* 80357668 003545C8 C0 5F 00 00 */ lfs f2, 0(r31) -/* 8035766C 003545CC EC 01 00 32 */ fmuls f0, f1, f0 -/* 80357670 003545D0 C0 37 00 00 */ lfs f1, 0(r23) -/* 80357674 003545D4 C0 9F 00 08 */ lfs f4, 8(r31) -/* 80357678 003545D8 C0 77 00 08 */ lfs f3, 8(r23) -/* 8035767C 003545DC EC 02 00 7A */ fmadds f0, f2, f1, f0 -/* 80357680 003545E0 EF C4 00 FA */ fmadds f30, f4, f3, f0 -/* 80357684 003545E4 FC 1E F8 40 */ fcmpo cr0, f30, f31 -/* 80357688 003545E8 40 81 00 E8 */ ble lbl_80357770 -/* 8035768C 003545EC 80 1C 00 04 */ lwz r0, 4(r28) -/* 80357690 003545F0 80 BC 00 08 */ lwz r5, 8(r28) -/* 80357694 003545F4 7C 00 28 00 */ cmpw r0, r5 -/* 80357698 003545F8 41 80 00 1C */ blt lbl_803576B4 -/* 8035769C 003545FC 2C 05 00 00 */ cmpwi r5, 0 -/* 803576A0 00354600 7F 83 E3 78 */ mr r3, r28 -/* 803576A4 00354604 38 80 00 04 */ li r4, 4 -/* 803576A8 00354608 41 82 00 08 */ beq lbl_803576B0 -/* 803576AC 0035460C 54 A4 08 3C */ slwi r4, r5, 1 -lbl_803576B0: -/* 803576B0 00354610 4B D0 C4 75 */ bl "reserve__Q24rstl37vectorFi" -lbl_803576B4: -/* 803576B4 00354614 80 1C 00 04 */ lwz r0, 4(r28) -/* 803576B8 00354618 80 7C 00 0C */ lwz r3, 0xc(r28) -/* 803576BC 0035461C 54 00 10 3A */ slwi r0, r0, 2 -/* 803576C0 00354620 7C 63 02 15 */ add. r3, r3, r0 -/* 803576C4 00354624 41 82 00 08 */ beq lbl_803576CC -/* 803576C8 00354628 93 43 00 00 */ stw r26, 0(r3) -lbl_803576CC: -/* 803576CC 0035462C 80 7C 00 04 */ lwz r3, 4(r28) -/* 803576D0 00354630 3C 00 43 30 */ lis r0, 0x4330 -/* 803576D4 00354634 C0 02 CC C4 */ lfs f0, lbl_805AE9E4@sda21(r2) -/* 803576D8 00354638 38 63 00 01 */ addi r3, r3, 1 -/* 803576DC 0035463C 90 01 00 10 */ stw r0, 0x10(r1) -/* 803576E0 00354640 C8 42 CC D0 */ lfd f2, lbl_805AE9F0@sda21(r2) -/* 803576E4 00354644 EC 1E 00 28 */ fsubs f0, f30, f0 -/* 803576E8 00354648 90 7C 00 04 */ stw r3, 4(r28) -/* 803576EC 0035464C C0 7E 00 00 */ lfs f3, 0(r30) -/* 803576F0 00354650 C0 3E 00 04 */ lfs f1, 4(r30) -/* 803576F4 00354654 C0 9E 00 08 */ lfs f4, 8(r30) -/* 803576F8 00354658 EC 23 08 2A */ fadds f1, f3, f1 -/* 803576FC 0035465C 80 1B 00 04 */ lwz r0, 4(r27) -/* 80357700 00354660 80 BB 00 08 */ lwz r5, 8(r27) -/* 80357704 00354664 EC 64 08 2A */ fadds f3, f4, f1 -/* 80357708 00354668 7C 00 28 00 */ cmpw r0, r5 -/* 8035770C 0035466C FC 20 18 1E */ fctiwz f1, f3 -/* 80357710 00354670 D8 21 00 08 */ stfd f1, 8(r1) -/* 80357714 00354674 80 01 00 0C */ lwz r0, 0xc(r1) -/* 80357718 00354678 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 8035771C 0035467C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80357720 00354680 C8 21 00 10 */ lfd f1, 0x10(r1) -/* 80357724 00354684 EC 21 10 28 */ fsubs f1, f1, f2 -/* 80357728 00354688 EC 23 08 28 */ fsubs f1, f3, f1 -/* 8035772C 0035468C EF C1 00 32 */ fmuls f30, f1, f0 -/* 80357730 00354690 41 80 00 1C */ blt lbl_8035774C -/* 80357734 00354694 2C 05 00 00 */ cmpwi r5, 0 -/* 80357738 00354698 7F 63 DB 78 */ mr r3, r27 -/* 8035773C 0035469C 38 80 00 04 */ li r4, 4 -/* 80357740 003546A0 41 82 00 08 */ beq lbl_80357748 -/* 80357744 003546A4 54 A4 08 3C */ slwi r4, r5, 1 -lbl_80357748: -/* 80357748 003546A8 4B D0 66 B1 */ bl "reserve__Q24rstl36vectorFi" -lbl_8035774C: -/* 8035774C 003546AC 80 1B 00 04 */ lwz r0, 4(r27) -/* 80357750 003546B0 80 7B 00 0C */ lwz r3, 0xc(r27) -/* 80357754 003546B4 54 00 10 3A */ slwi r0, r0, 2 -/* 80357758 003546B8 7C 63 02 15 */ add. r3, r3, r0 -/* 8035775C 003546BC 41 82 00 08 */ beq lbl_80357764 -/* 80357760 003546C0 D3 C3 00 00 */ stfs f30, 0(r3) -lbl_80357764: -/* 80357764 003546C4 80 7B 00 04 */ lwz r3, 4(r27) -/* 80357768 003546C8 38 03 00 01 */ addi r0, r3, 1 -/* 8035776C 003546CC 90 1B 00 04 */ stw r0, 4(r27) -lbl_80357770: -/* 80357770 003546D0 3B FF 00 0C */ addi r31, r31, 0xc -/* 80357774 003546D4 3B DE 00 0C */ addi r30, r30, 0xc -/* 80357778 003546D8 3B 5A 00 01 */ addi r26, r26, 1 -lbl_8035777C: -/* 8035777C 003546DC 7C 1A C8 40 */ cmplw r26, r25 -/* 80357780 003546E0 41 80 FE E0 */ blt lbl_80357660 -/* 80357784 003546E4 28 1D 00 00 */ cmplwi r29, 0 -/* 80357788 003546E8 41 82 00 0C */ beq lbl_80357794 -/* 8035778C 003546EC 7F A3 EB 78 */ mr r3, r29 -/* 80357790 003546F0 4B FB E1 A1 */ bl Free__7CMemoryFPCv -lbl_80357794: -/* 80357794 003546F4 80 17 00 2C */ lwz r0, 0x2c(r23) -/* 80357798 003546F8 38 80 00 00 */ li r4, 0 -/* 8035779C 003546FC 28 00 00 00 */ cmplwi r0, 0 -/* 803577A0 00354700 7C 03 03 78 */ mr r3, r0 -/* 803577A4 00354704 40 81 01 A4 */ ble lbl_80357948 -/* 803577A8 00354708 54 00 F8 7F */ rlwinm. r0, r0, 0x1f, 1, 0x1f -/* 803577AC 0035470C 7C 09 03 A6 */ mtctr r0 -/* 803577B0 00354710 41 82 01 10 */ beq lbl_803578C0 -lbl_803577B4: -/* 803577B4 00354714 C0 37 00 1C */ lfs f1, 0x1c(r23) -/* 803577B8 00354718 C0 17 00 18 */ lfs f0, 0x18(r23) -/* 803577BC 0035471C 80 D7 00 44 */ lwz r6, 0x44(r23) -/* 803577C0 00354720 EC 81 00 24 */ fdivs f4, f1, f0 -/* 803577C4 00354724 80 B7 00 34 */ lwz r5, 0x34(r23) -/* 803577C8 00354728 7C C6 24 2E */ lfsx f6, r6, r4 -/* 803577CC 0035472C 7C 05 20 2E */ lwzx r0, r5, r4 -/* 803577D0 00354730 38 84 00 04 */ addi r4, r4, 4 -/* 803577D4 00354734 C0 17 00 00 */ lfs f0, 0(r23) -/* 803577D8 00354738 1C 00 00 0C */ mulli r0, r0, 0xc -/* 803577DC 0035473C C0 37 00 04 */ lfs f1, 4(r23) -/* 803577E0 00354740 EC 06 00 32 */ fmuls f0, f6, f0 -/* 803577E4 00354744 C0 B7 00 20 */ lfs f5, 0x20(r23) -/* 803577E8 00354748 EC 66 00 72 */ fmuls f3, f6, f1 -/* 803577EC 0035474C C0 57 00 08 */ lfs f2, 8(r23) -/* 803577F0 00354750 EC 05 00 32 */ fmuls f0, f5, f0 -/* 803577F4 00354754 7C B8 02 14 */ add r5, r24, r0 -/* 803577F8 00354758 EC 65 00 F2 */ fmuls f3, f5, f3 -/* 803577FC 0035475C C0 25 00 00 */ lfs f1, 0(r5) -/* 80357800 00354760 EC 46 00 B2 */ fmuls f2, f6, f2 -/* 80357804 00354764 EC 04 00 32 */ fmuls f0, f4, f0 -/* 80357808 00354768 EC 64 00 F2 */ fmuls f3, f4, f3 -/* 8035780C 0035476C EC 45 00 B2 */ fmuls f2, f5, f2 -/* 80357810 00354770 EC 01 00 2A */ fadds f0, f1, f0 -/* 80357814 00354774 EC 44 00 B2 */ fmuls f2, f4, f2 -/* 80357818 00354778 D0 05 00 00 */ stfs f0, 0(r5) -/* 8035781C 0035477C C0 05 00 04 */ lfs f0, 4(r5) -/* 80357820 00354780 EC 00 18 2A */ fadds f0, f0, f3 -/* 80357824 00354784 D0 05 00 04 */ stfs f0, 4(r5) -/* 80357828 00354788 C0 05 00 08 */ lfs f0, 8(r5) -/* 8035782C 0035478C EC 00 10 2A */ fadds f0, f0, f2 -/* 80357830 00354790 D0 05 00 08 */ stfs f0, 8(r5) -/* 80357834 00354794 80 D7 00 44 */ lwz r6, 0x44(r23) -/* 80357838 00354798 C0 37 00 1C */ lfs f1, 0x1c(r23) -/* 8035783C 0035479C C0 17 00 18 */ lfs f0, 0x18(r23) -/* 80357840 003547A0 80 B7 00 34 */ lwz r5, 0x34(r23) -/* 80357844 003547A4 EC 81 00 24 */ fdivs f4, f1, f0 -/* 80357848 003547A8 7C C6 24 2E */ lfsx f6, r6, r4 -/* 8035784C 003547AC 7C 05 20 2E */ lwzx r0, r5, r4 -/* 80357850 003547B0 38 84 00 04 */ addi r4, r4, 4 -/* 80357854 003547B4 C0 17 00 00 */ lfs f0, 0(r23) -/* 80357858 003547B8 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8035785C 003547BC C0 37 00 04 */ lfs f1, 4(r23) -/* 80357860 003547C0 7C B8 02 14 */ add r5, r24, r0 -/* 80357864 003547C4 C0 57 00 08 */ lfs f2, 8(r23) -/* 80357868 003547C8 EC 06 00 32 */ fmuls f0, f6, f0 -/* 8035786C 003547CC C0 B7 00 20 */ lfs f5, 0x20(r23) -/* 80357870 003547D0 EC 66 00 72 */ fmuls f3, f6, f1 -/* 80357874 003547D4 EC 46 00 B2 */ fmuls f2, f6, f2 -/* 80357878 003547D8 C0 25 00 00 */ lfs f1, 0(r5) -/* 8035787C 003547DC EC 05 00 32 */ fmuls f0, f5, f0 -/* 80357880 003547E0 EC 65 00 F2 */ fmuls f3, f5, f3 -/* 80357884 003547E4 EC 45 00 B2 */ fmuls f2, f5, f2 -/* 80357888 003547E8 EC 04 00 32 */ fmuls f0, f4, f0 -/* 8035788C 003547EC EC 64 00 F2 */ fmuls f3, f4, f3 -/* 80357890 003547F0 EC 44 00 B2 */ fmuls f2, f4, f2 -/* 80357894 003547F4 EC 01 00 2A */ fadds f0, f1, f0 -/* 80357898 003547F8 D0 05 00 00 */ stfs f0, 0(r5) -/* 8035789C 003547FC C0 05 00 04 */ lfs f0, 4(r5) -/* 803578A0 00354800 EC 00 18 2A */ fadds f0, f0, f3 -/* 803578A4 00354804 D0 05 00 04 */ stfs f0, 4(r5) -/* 803578A8 00354808 C0 05 00 08 */ lfs f0, 8(r5) -/* 803578AC 0035480C EC 00 10 2A */ fadds f0, f0, f2 -/* 803578B0 00354810 D0 05 00 08 */ stfs f0, 8(r5) -/* 803578B4 00354814 42 00 FF 00 */ bdnz lbl_803577B4 -/* 803578B8 00354818 70 63 00 01 */ andi. r3, r3, 1 -/* 803578BC 0035481C 41 82 00 8C */ beq lbl_80357948 -lbl_803578C0: -/* 803578C0 00354820 7C 69 03 A6 */ mtctr r3 -lbl_803578C4: -/* 803578C4 00354824 C0 37 00 1C */ lfs f1, 0x1c(r23) -/* 803578C8 00354828 C0 17 00 18 */ lfs f0, 0x18(r23) -/* 803578CC 0035482C 80 D7 00 44 */ lwz r6, 0x44(r23) -/* 803578D0 00354830 EC 81 00 24 */ fdivs f4, f1, f0 -/* 803578D4 00354834 80 B7 00 34 */ lwz r5, 0x34(r23) -/* 803578D8 00354838 7C C6 24 2E */ lfsx f6, r6, r4 -/* 803578DC 0035483C 7C 05 20 2E */ lwzx r0, r5, r4 -/* 803578E0 00354840 38 84 00 04 */ addi r4, r4, 4 -/* 803578E4 00354844 C0 17 00 00 */ lfs f0, 0(r23) -/* 803578E8 00354848 1C 00 00 0C */ mulli r0, r0, 0xc -/* 803578EC 0035484C C0 37 00 04 */ lfs f1, 4(r23) -/* 803578F0 00354850 EC 06 00 32 */ fmuls f0, f6, f0 -/* 803578F4 00354854 C0 B7 00 20 */ lfs f5, 0x20(r23) -/* 803578F8 00354858 EC 66 00 72 */ fmuls f3, f6, f1 -/* 803578FC 0035485C C0 57 00 08 */ lfs f2, 8(r23) -/* 80357900 00354860 EC 05 00 32 */ fmuls f0, f5, f0 -/* 80357904 00354864 7C B8 02 14 */ add r5, r24, r0 -/* 80357908 00354868 EC 65 00 F2 */ fmuls f3, f5, f3 -/* 8035790C 0035486C C0 25 00 00 */ lfs f1, 0(r5) -/* 80357910 00354870 EC 46 00 B2 */ fmuls f2, f6, f2 -/* 80357914 00354874 EC 04 00 32 */ fmuls f0, f4, f0 -/* 80357918 00354878 EC 64 00 F2 */ fmuls f3, f4, f3 -/* 8035791C 0035487C EC 45 00 B2 */ fmuls f2, f5, f2 -/* 80357920 00354880 EC 01 00 2A */ fadds f0, f1, f0 -/* 80357924 00354884 EC 44 00 B2 */ fmuls f2, f4, f2 -/* 80357928 00354888 D0 05 00 00 */ stfs f0, 0(r5) -/* 8035792C 0035488C C0 05 00 04 */ lfs f0, 4(r5) -/* 80357930 00354890 EC 00 18 2A */ fadds f0, f0, f3 -/* 80357934 00354894 D0 05 00 04 */ stfs f0, 4(r5) -/* 80357938 00354898 C0 05 00 08 */ lfs f0, 8(r5) -/* 8035793C 0035489C EC 00 10 2A */ fadds f0, f0, f2 -/* 80357940 003548A0 D0 05 00 08 */ stfs f0, 8(r5) -/* 80357944 003548A4 42 00 FF 80 */ bdnz lbl_803578C4 -lbl_80357948: -/* 80357948 003548A8 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 -/* 8035794C 003548AC CB E1 00 50 */ lfd f31, 0x50(r1) -/* 80357950 003548B0 E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 -/* 80357954 003548B4 CB C1 00 40 */ lfd f30, 0x40(r1) -/* 80357958 003548B8 BA E1 00 1C */ lmw r23, 0x1c(r1) -/* 8035795C 003548BC 80 01 00 64 */ lwz r0, 0x64(r1) -/* 80357960 003548C0 7C 08 03 A6 */ mtlr r0 -/* 80357964 003548C4 38 21 00 60 */ addi r1, r1, 0x60 -/* 80357968 003548C8 4E 80 00 20 */ blr - -.global Update__18CVertexMorphEffectFf -Update__18CVertexMorphEffectFf: -/* 8035796C 003548CC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80357970 003548D0 C0 03 00 1C */ lfs f0, 0x1c(r3) -/* 80357974 003548D4 EC 20 08 2A */ fadds f1, f0, f1 -/* 80357978 003548D8 D0 21 00 08 */ stfs f1, 8(r1) -/* 8035797C 003548DC C0 03 00 18 */ lfs f0, 0x18(r3) -/* 80357980 003548E0 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80357984 003548E4 40 80 00 0C */ bge lbl_80357990 -/* 80357988 003548E8 38 83 00 18 */ addi r4, r3, 0x18 -/* 8035798C 003548EC 48 00 00 08 */ b lbl_80357994 -lbl_80357990: -/* 80357990 003548F0 38 81 00 08 */ addi r4, r1, 8 -lbl_80357994: -/* 80357994 003548F4 C0 04 00 00 */ lfs f0, 0(r4) -/* 80357998 003548F8 D0 03 00 1C */ stfs f0, 0x1c(r3) -/* 8035799C 003548FC 38 21 00 10 */ addi r1, r1, 0x10 -/* 803579A0 00354900 4E 80 00 20 */ blr - -.global __ct__27CSkinnedModelWithAvgNormalsFRC13CSkinnedModel -__ct__27CSkinnedModelWithAvgNormalsFRC13CSkinnedModel: -/* 803579A4 00354904 94 21 FF 30 */ stwu r1, -0xd0(r1) -/* 803579A8 00354908 7C 08 02 A6 */ mflr r0 -/* 803579AC 0035490C 90 01 00 D4 */ stw r0, 0xd4(r1) -/* 803579B0 00354910 DB E1 00 C0 */ stfd f31, 0xc0(r1) -/* 803579B4 00354914 F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 -/* 803579B8 00354918 BE 61 00 8C */ stmw r19, 0x8c(r1) -/* 803579BC 0035491C 7C 7F 1B 78 */ mr r31, r3 -/* 803579C0 00354920 7C 96 23 78 */ mr r22, r4 -/* 803579C4 00354924 4B FF B9 A1 */ bl __ct__13CSkinnedModelFRC13CSkinnedModel -/* 803579C8 00354928 80 D6 00 18 */ lwz r6, 0x18(r22) -/* 803579CC 0035492C 3C 60 80 3E */ lis r3, lbl_803D8330@ha -/* 803579D0 00354930 38 83 83 30 */ addi r4, r3, lbl_803D8330@l -/* 803579D4 00354934 38 A0 00 00 */ li r5, 0 -/* 803579D8 00354938 80 06 00 10 */ lwz r0, 0x10(r6) -/* 803579DC 0035493C 1C 00 00 0C */ mulli r0, r0, 0xc -/* 803579E0 00354940 54 03 10 3A */ slwi r3, r0, 2 -/* 803579E4 00354944 4B FB DE 35 */ bl __nwa__FUlPCcPCc -/* 803579E8 00354948 7C 03 00 D0 */ neg r0, r3 -/* 803579EC 0035494C 7C 00 1B 78 */ or r0, r0, r3 -/* 803579F0 00354950 54 00 0F FE */ srwi r0, r0, 0x1f -/* 803579F4 00354954 98 1F 00 3C */ stb r0, 0x3c(r31) -/* 803579F8 00354958 90 7F 00 40 */ stw r3, 0x40(r31) -/* 803579FC 0035495C 80 96 00 18 */ lwz r4, 0x18(r22) -/* 80357A00 00354960 80 76 00 0C */ lwz r3, 0xc(r22) -/* 80357A04 00354964 83 44 00 10 */ lwz r26, 0x10(r4) -/* 80357A08 00354968 4B FF DC C9 */ bl GetPositions__6CModelCFv -/* 80357A0C 0035496C 38 00 00 00 */ li r0, 0 -/* 80357A10 00354970 7C 79 1B 78 */ mr r25, r3 -/* 80357A14 00354974 90 01 00 34 */ stw r0, 0x34(r1) -/* 80357A18 00354978 7F 44 D3 78 */ mr r4, r26 -/* 80357A1C 0035497C 38 61 00 30 */ addi r3, r1, 0x30 -/* 80357A20 00354980 90 01 00 38 */ stw r0, 0x38(r1) -/* 80357A24 00354984 90 01 00 3C */ stw r0, 0x3c(r1) -/* 80357A28 00354988 48 00 06 ED */ bl "reserve__Q24rstl105vector>,Q24rstl17rmemory_allocator>Fi" -/* 80357A2C 0035498C 7F 3D CB 78 */ mr r29, r25 -/* 80357A30 00354990 3B 81 00 4C */ addi r28, r1, 0x4c -/* 80357A34 00354994 3B 61 00 64 */ addi r27, r1, 0x64 -/* 80357A38 00354998 3B 00 00 00 */ li r24, 0 -/* 80357A3C 0035499C 3A A0 00 00 */ li r21, 0 -/* 80357A40 003549A0 48 00 01 6C */ b lbl_80357BAC -lbl_80357A44: -/* 80357A44 003549A4 82 81 00 34 */ lwz r20, 0x34(r1) -/* 80357A48 003549A8 3A 60 00 00 */ li r19, 0 -/* 80357A4C 003549AC 3B C0 00 00 */ li r30, 0 -/* 80357A50 003549B0 3A E0 00 00 */ li r23, 0 -/* 80357A54 003549B4 48 00 00 30 */ b lbl_80357A84 -lbl_80357A58: -/* 80357A58 003549B8 80 01 00 3C */ lwz r0, 0x3c(r1) -/* 80357A5C 003549BC 7F A4 EB 78 */ mr r4, r29 -/* 80357A60 003549C0 C0 22 CC D8 */ lfs f1, lbl_805AE9F8@sda21(r2) -/* 80357A64 003549C4 7C 60 BA 14 */ add r3, r0, r23 -/* 80357A68 003549C8 4B FB CB 49 */ bl IsEqu__9CVector3fCFRC9CVector3ff -/* 80357A6C 003549CC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80357A70 003549D0 41 82 00 0C */ beq lbl_80357A7C -/* 80357A74 003549D4 3A 60 00 01 */ li r19, 1 -/* 80357A78 003549D8 48 00 00 14 */ b lbl_80357A8C -lbl_80357A7C: -/* 80357A7C 003549DC 3B DE 00 01 */ addi r30, r30, 1 -/* 80357A80 003549E0 3A F7 00 24 */ addi r23, r23, 0x24 -lbl_80357A84: -/* 80357A84 003549E4 7C 1E A0 40 */ cmplw r30, r20 -/* 80357A88 003549E8 41 80 FF D0 */ blt lbl_80357A58 -lbl_80357A8C: -/* 80357A8C 003549EC 56 60 06 3F */ clrlwi. r0, r19, 0x18 -/* 80357A90 003549F0 40 82 01 10 */ bne lbl_80357BA0 -/* 80357A94 003549F4 38 00 00 00 */ li r0, 0 -/* 80357A98 003549F8 93 81 00 44 */ stw r28, 0x44(r1) -/* 80357A9C 003549FC 7F 17 C3 78 */ mr r23, r24 -/* 80357AA0 00354A00 7F D9 AA 14 */ add r30, r25, r21 -/* 80357AA4 00354A04 93 81 00 48 */ stw r28, 0x48(r1) -/* 80357AA8 00354A08 93 81 00 4C */ stw r28, 0x4c(r1) -/* 80357AAC 00354A0C 93 81 00 50 */ stw r28, 0x50(r1) -/* 80357AB0 00354A10 90 01 00 54 */ stw r0, 0x54(r1) -/* 80357AB4 00354A14 48 00 00 B0 */ b lbl_80357B64 -lbl_80357AB8: -/* 80357AB8 00354A18 C0 3E 00 00 */ lfs f1, 0(r30) -/* 80357ABC 00354A1C 38 00 00 00 */ li r0, 0 -/* 80357AC0 00354A20 C0 1D 00 00 */ lfs f0, 0(r29) -/* 80357AC4 00354A24 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80357AC8 00354A28 40 82 00 28 */ bne lbl_80357AF0 -/* 80357ACC 00354A2C C0 3E 00 04 */ lfs f1, 4(r30) -/* 80357AD0 00354A30 C0 1D 00 04 */ lfs f0, 4(r29) -/* 80357AD4 00354A34 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80357AD8 00354A38 40 82 00 18 */ bne lbl_80357AF0 -/* 80357ADC 00354A3C C0 3E 00 08 */ lfs f1, 8(r30) -/* 80357AE0 00354A40 C0 1D 00 08 */ lfs f0, 8(r29) -/* 80357AE4 00354A44 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80357AE8 00354A48 40 82 00 08 */ bne lbl_80357AF0 -/* 80357AEC 00354A4C 38 00 00 01 */ li r0, 1 -lbl_80357AF0: -/* 80357AF0 00354A50 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 80357AF4 00354A54 41 82 00 68 */ beq lbl_80357B5C -/* 80357AF8 00354A58 82 81 00 48 */ lwz r20, 0x48(r1) -/* 80357AFC 00354A5C 3C 60 80 3E */ lis r3, lbl_803D8330@ha -/* 80357B00 00354A60 38 83 83 30 */ addi r4, r3, lbl_803D8330@l -/* 80357B04 00354A64 38 A0 00 00 */ li r5, 0 -/* 80357B08 00354A68 82 74 00 00 */ lwz r19, 0(r20) -/* 80357B0C 00354A6C 38 60 00 0C */ li r3, 0xc -/* 80357B10 00354A70 4B FB DD 09 */ bl __nwa__FUlPCcPCc -/* 80357B14 00354A74 28 03 00 00 */ cmplwi r3, 0 -/* 80357B18 00354A78 41 82 00 0C */ beq lbl_80357B24 -/* 80357B1C 00354A7C 92 63 00 00 */ stw r19, 0(r3) -/* 80357B20 00354A80 92 83 00 04 */ stw r20, 4(r3) -lbl_80357B24: -/* 80357B24 00354A84 34 83 00 08 */ addic. r4, r3, 8 -/* 80357B28 00354A88 41 82 00 08 */ beq lbl_80357B30 -/* 80357B2C 00354A8C 92 E4 00 00 */ stw r23, 0(r4) -lbl_80357B30: -/* 80357B30 00354A90 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80357B34 00354A94 7C 14 00 40 */ cmplw r20, r0 -/* 80357B38 00354A98 40 82 00 08 */ bne lbl_80357B40 -/* 80357B3C 00354A9C 90 61 00 44 */ stw r3, 0x44(r1) -lbl_80357B40: -/* 80357B40 00354AA0 80 83 00 00 */ lwz r4, 0(r3) -/* 80357B44 00354AA4 90 64 00 04 */ stw r3, 4(r4) -/* 80357B48 00354AA8 80 83 00 04 */ lwz r4, 4(r3) -/* 80357B4C 00354AAC 90 64 00 00 */ stw r3, 0(r4) -/* 80357B50 00354AB0 80 61 00 54 */ lwz r3, 0x54(r1) -/* 80357B54 00354AB4 38 03 00 01 */ addi r0, r3, 1 -/* 80357B58 00354AB8 90 01 00 54 */ stw r0, 0x54(r1) -lbl_80357B5C: -/* 80357B5C 00354ABC 3B DE 00 0C */ addi r30, r30, 0xc -/* 80357B60 00354AC0 3A F7 00 01 */ addi r23, r23, 1 -lbl_80357B64: -/* 80357B64 00354AC4 7C 17 D0 40 */ cmplw r23, r26 -/* 80357B68 00354AC8 41 80 FF 50 */ blt lbl_80357AB8 -/* 80357B6C 00354ACC 7F A4 EB 78 */ mr r4, r29 -/* 80357B70 00354AD0 38 61 00 58 */ addi r3, r1, 0x58 -/* 80357B74 00354AD4 38 A1 00 40 */ addi r5, r1, 0x40 -/* 80357B78 00354AD8 48 00 04 59 */ bl sub_80357fd0 -/* 80357B7C 00354ADC 38 61 00 30 */ addi r3, r1, 0x30 -/* 80357B80 00354AE0 38 81 00 58 */ addi r4, r1, 0x58 -/* 80357B84 00354AE4 48 00 01 7D */ bl sub_80357d00 -/* 80357B88 00354AE8 7F 63 DB 78 */ mr r3, r27 -/* 80357B8C 00354AEC 38 80 FF FF */ li r4, -1 -/* 80357B90 00354AF0 48 00 05 0D */ bl sub_8035809c -/* 80357B94 00354AF4 38 61 00 40 */ addi r3, r1, 0x40 -/* 80357B98 00354AF8 38 80 FF FF */ li r4, -1 -/* 80357B9C 00354AFC 48 00 05 01 */ bl sub_8035809c -lbl_80357BA0: -/* 80357BA0 00354B00 3B BD 00 0C */ addi r29, r29, 0xc -/* 80357BA4 00354B04 3B 18 00 01 */ addi r24, r24, 1 -/* 80357BA8 00354B08 3A B5 00 0C */ addi r21, r21, 0xc -lbl_80357BAC: -/* 80357BAC 00354B0C 7C 18 D0 40 */ cmplw r24, r26 -/* 80357BB0 00354B10 41 80 FE 94 */ blt lbl_80357A44 -/* 80357BB4 00354B14 80 76 00 0C */ lwz r3, 0xc(r22) -/* 80357BB8 00354B18 4B FF DB 0D */ bl GetNormals__6CModelCFv -/* 80357BBC 00354B1C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80357BC0 00354B20 7C 75 1B 78 */ mr r21, r3 -/* 80357BC4 00354B24 82 C1 00 3C */ lwz r22, 0x3c(r1) -/* 80357BC8 00354B28 1C 00 00 24 */ mulli r0, r0, 0x24 -/* 80357BCC 00354B2C 83 1F 00 40 */ lwz r24, 0x40(r31) -/* 80357BD0 00354B30 C3 E2 CC DC */ lfs f31, lbl_805AE9FC@sda21(r2) -/* 80357BD4 00354B34 7E 76 02 14 */ add r19, r22, r0 -/* 80357BD8 00354B38 48 00 00 AC */ b lbl_80357C84 -lbl_80357BDC: -/* 80357BDC 00354B3C D3 E1 00 24 */ stfs f31, 0x24(r1) -/* 80357BE0 00354B40 D3 E1 00 28 */ stfs f31, 0x28(r1) -/* 80357BE4 00354B44 D3 E1 00 2C */ stfs f31, 0x2c(r1) -/* 80357BE8 00354B48 80 96 00 10 */ lwz r4, 0x10(r22) -/* 80357BEC 00354B4C 82 96 00 14 */ lwz r20, 0x14(r22) -/* 80357BF0 00354B50 48 00 00 44 */ b lbl_80357C34 -lbl_80357BF4: -/* 80357BF4 00354B54 80 04 00 08 */ lwz r0, 8(r4) -/* 80357BF8 00354B58 C0 61 00 24 */ lfs f3, 0x24(r1) -/* 80357BFC 00354B5C 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80357C00 00354B60 C0 41 00 28 */ lfs f2, 0x28(r1) -/* 80357C04 00354B64 C0 21 00 2C */ lfs f1, 0x2c(r1) -/* 80357C08 00354B68 7C 75 02 14 */ add r3, r21, r0 -/* 80357C0C 00354B6C C0 03 00 00 */ lfs f0, 0(r3) -/* 80357C10 00354B70 EC 03 00 2A */ fadds f0, f3, f0 -/* 80357C14 00354B74 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 80357C18 00354B78 C0 03 00 04 */ lfs f0, 4(r3) -/* 80357C1C 00354B7C EC 02 00 2A */ fadds f0, f2, f0 -/* 80357C20 00354B80 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 80357C24 00354B84 C0 03 00 08 */ lfs f0, 8(r3) -/* 80357C28 00354B88 EC 01 00 2A */ fadds f0, f1, f0 -/* 80357C2C 00354B8C D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 80357C30 00354B90 80 84 00 04 */ lwz r4, 4(r4) -lbl_80357C34: -/* 80357C34 00354B94 7C 04 A0 40 */ cmplw r4, r20 -/* 80357C38 00354B98 40 82 FF BC */ bne lbl_80357BF4 -/* 80357C3C 00354B9C 82 F6 00 10 */ lwz r23, 0x10(r22) -/* 80357C40 00354BA0 38 61 00 18 */ addi r3, r1, 0x18 -/* 80357C44 00354BA4 38 81 00 24 */ addi r4, r1, 0x24 -/* 80357C48 00354BA8 4B FB CC 09 */ bl AsNormalized__9CVector3fCFv -/* 80357C4C 00354BAC C0 01 00 18 */ lfs f0, 0x18(r1) -/* 80357C50 00354BB0 C0 21 00 1C */ lfs f1, 0x1c(r1) -/* 80357C54 00354BB4 C0 41 00 20 */ lfs f2, 0x20(r1) -/* 80357C58 00354BB8 48 00 00 20 */ b lbl_80357C78 -lbl_80357C5C: -/* 80357C5C 00354BBC 80 17 00 08 */ lwz r0, 8(r23) -/* 80357C60 00354BC0 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80357C64 00354BC4 7C 78 02 14 */ add r3, r24, r0 -/* 80357C68 00354BC8 D0 03 00 00 */ stfs f0, 0(r3) -/* 80357C6C 00354BCC D0 23 00 04 */ stfs f1, 4(r3) -/* 80357C70 00354BD0 D0 43 00 08 */ stfs f2, 8(r3) -/* 80357C74 00354BD4 82 F7 00 04 */ lwz r23, 4(r23) -lbl_80357C78: -/* 80357C78 00354BD8 7C 17 A0 40 */ cmplw r23, r20 -/* 80357C7C 00354BDC 40 82 FF E0 */ bne lbl_80357C5C -/* 80357C80 00354BE0 3A D6 00 24 */ addi r22, r22, 0x24 -lbl_80357C84: -/* 80357C84 00354BE4 7C 16 98 40 */ cmplw r22, r19 -/* 80357C88 00354BE8 40 82 FF 54 */ bne lbl_80357BDC -/* 80357C8C 00354BEC 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80357C90 00354BF0 82 61 00 3C */ lwz r19, 0x3c(r1) -/* 80357C94 00354BF4 1C 00 00 24 */ mulli r0, r0, 0x24 -/* 80357C98 00354BF8 92 61 00 0C */ stw r19, 0xc(r1) -/* 80357C9C 00354BFC 7E B3 02 14 */ add r21, r19, r0 -/* 80357CA0 00354C00 92 61 00 08 */ stw r19, 8(r1) -/* 80357CA4 00354C04 92 A1 00 14 */ stw r21, 0x14(r1) -/* 80357CA8 00354C08 92 A1 00 10 */ stw r21, 0x10(r1) -/* 80357CAC 00354C0C 48 00 00 1C */ b lbl_80357CC8 -lbl_80357CB0: -/* 80357CB0 00354C10 28 13 00 00 */ cmplwi r19, 0 -/* 80357CB4 00354C14 41 82 00 10 */ beq lbl_80357CC4 -/* 80357CB8 00354C18 38 73 00 0C */ addi r3, r19, 0xc -/* 80357CBC 00354C1C 38 80 FF FF */ li r4, -1 -/* 80357CC0 00354C20 48 00 03 DD */ bl sub_8035809c -lbl_80357CC4: -/* 80357CC4 00354C24 3A 73 00 24 */ addi r19, r19, 0x24 -lbl_80357CC8: -/* 80357CC8 00354C28 7C 13 A8 40 */ cmplw r19, r21 -/* 80357CCC 00354C2C 40 82 FF E4 */ bne lbl_80357CB0 -/* 80357CD0 00354C30 80 61 00 3C */ lwz r3, 0x3c(r1) -/* 80357CD4 00354C34 28 03 00 00 */ cmplwi r3, 0 -/* 80357CD8 00354C38 41 82 00 08 */ beq lbl_80357CE0 -/* 80357CDC 00354C3C 4B FB DC 55 */ bl Free__7CMemoryFPCv -lbl_80357CE0: -/* 80357CE0 00354C40 7F E3 FB 78 */ mr r3, r31 -/* 80357CE4 00354C44 E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 -/* 80357CE8 00354C48 CB E1 00 C0 */ lfd f31, 0xc0(r1) -/* 80357CEC 00354C4C BA 61 00 8C */ lmw r19, 0x8c(r1) -/* 80357CF0 00354C50 80 01 00 D4 */ lwz r0, 0xd4(r1) -/* 80357CF4 00354C54 7C 08 03 A6 */ mtlr r0 -/* 80357CF8 00354C58 38 21 00 D0 */ addi r1, r1, 0xd0 -/* 80357CFC 00354C5C 4E 80 00 20 */ blr - -.global sub_80357d00 -sub_80357d00: -/* 80357D00 00354C60 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80357D04 00354C64 7C 08 02 A6 */ mflr r0 -/* 80357D08 00354C68 90 01 00 14 */ stw r0, 0x14(r1) -/* 80357D0C 00354C6C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80357D10 00354C70 7C 9F 23 78 */ mr r31, r4 -/* 80357D14 00354C74 93 C1 00 08 */ stw r30, 8(r1) -/* 80357D18 00354C78 7C 7E 1B 78 */ mr r30, r3 -/* 80357D1C 00354C7C 80 03 00 04 */ lwz r0, 4(r3) -/* 80357D20 00354C80 80 A3 00 08 */ lwz r5, 8(r3) -/* 80357D24 00354C84 7C 00 28 00 */ cmpw r0, r5 -/* 80357D28 00354C88 41 80 00 18 */ blt lbl_80357D40 -/* 80357D2C 00354C8C 2C 05 00 00 */ cmpwi r5, 0 -/* 80357D30 00354C90 38 80 00 04 */ li r4, 4 -/* 80357D34 00354C94 41 82 00 08 */ beq lbl_80357D3C -/* 80357D38 00354C98 54 A4 08 3C */ slwi r4, r5, 1 -lbl_80357D3C: -/* 80357D3C 00354C9C 48 00 03 D9 */ bl "reserve__Q24rstl105vector>,Q24rstl17rmemory_allocator>Fi" -lbl_80357D40: -/* 80357D40 00354CA0 80 1E 00 04 */ lwz r0, 4(r30) -/* 80357D44 00354CA4 7F E4 FB 78 */ mr r4, r31 -/* 80357D48 00354CA8 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 80357D4C 00354CAC 1C 00 00 24 */ mulli r0, r0, 0x24 -/* 80357D50 00354CB0 7C 63 02 14 */ add r3, r3, r0 -/* 80357D54 00354CB4 48 00 00 29 */ bl sub_80357d7c -/* 80357D58 00354CB8 80 7E 00 04 */ lwz r3, 4(r30) -/* 80357D5C 00354CBC 38 03 00 01 */ addi r0, r3, 1 -/* 80357D60 00354CC0 90 1E 00 04 */ stw r0, 4(r30) -/* 80357D64 00354CC4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80357D68 00354CC8 83 C1 00 08 */ lwz r30, 8(r1) -/* 80357D6C 00354CCC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80357D70 00354CD0 7C 08 03 A6 */ mtlr r0 -/* 80357D74 00354CD4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80357D78 00354CD8 4E 80 00 20 */ blr - -.global sub_80357d7c -sub_80357d7c: -/* 80357D7C 00354CDC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80357D80 00354CE0 7C 08 02 A6 */ mflr r0 -/* 80357D84 00354CE4 28 03 00 00 */ cmplwi r3, 0 -/* 80357D88 00354CE8 90 01 00 14 */ stw r0, 0x14(r1) -/* 80357D8C 00354CEC 41 82 00 08 */ beq lbl_80357D94 -/* 80357D90 00354CF0 48 00 00 15 */ bl sub_80357da4 -lbl_80357D94: -/* 80357D94 00354CF4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80357D98 00354CF8 7C 08 03 A6 */ mtlr r0 -/* 80357D9C 00354CFC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80357DA0 00354D00 4E 80 00 20 */ blr - -.global sub_80357da4 -sub_80357da4: -/* 80357DA4 00354D04 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80357DA8 00354D08 7C 08 02 A6 */ mflr r0 -/* 80357DAC 00354D0C 7C 85 23 78 */ mr r5, r4 -/* 80357DB0 00354D10 90 01 00 14 */ stw r0, 0x14(r1) -/* 80357DB4 00354D14 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80357DB8 00354D18 7C 7F 1B 78 */ mr r31, r3 -/* 80357DBC 00354D1C 38 7F 00 0C */ addi r3, r31, 0xc -/* 80357DC0 00354D20 C0 04 00 00 */ lfs f0, 0(r4) -/* 80357DC4 00354D24 38 85 00 0C */ addi r4, r5, 0xc -/* 80357DC8 00354D28 D0 1F 00 00 */ stfs f0, 0(r31) -/* 80357DCC 00354D2C C0 05 00 04 */ lfs f0, 4(r5) -/* 80357DD0 00354D30 D0 1F 00 04 */ stfs f0, 4(r31) -/* 80357DD4 00354D34 C0 05 00 08 */ lfs f0, 8(r5) -/* 80357DD8 00354D38 D0 1F 00 08 */ stfs f0, 8(r31) -/* 80357DDC 00354D3C 48 00 00 1D */ bl sub_80357df8 -/* 80357DE0 00354D40 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80357DE4 00354D44 7F E3 FB 78 */ mr r3, r31 -/* 80357DE8 00354D48 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80357DEC 00354D4C 7C 08 03 A6 */ mtlr r0 -/* 80357DF0 00354D50 38 21 00 10 */ addi r1, r1, 0x10 -/* 80357DF4 00354D54 4E 80 00 20 */ blr - -.global sub_80357df8 -sub_80357df8: -/* 80357DF8 00354D58 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80357DFC 00354D5C 7C 08 02 A6 */ mflr r0 -/* 80357E00 00354D60 38 E0 00 00 */ li r7, 0 -/* 80357E04 00354D64 90 01 00 34 */ stw r0, 0x34(r1) -/* 80357E08 00354D68 38 00 00 01 */ li r0, 1 -/* 80357E0C 00354D6C 38 A1 00 14 */ addi r5, r1, 0x14 -/* 80357E10 00354D70 38 C1 00 0C */ addi r6, r1, 0xc -/* 80357E14 00354D74 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80357E18 00354D78 7C 7F 1B 78 */ mr r31, r3 -/* 80357E1C 00354D7C 39 1F 00 0C */ addi r8, r31, 0xc -/* 80357E20 00354D80 91 03 00 04 */ stw r8, 4(r3) -/* 80357E24 00354D84 91 03 00 08 */ stw r8, 8(r3) -/* 80357E28 00354D88 91 03 00 0C */ stw r8, 0xc(r3) -/* 80357E2C 00354D8C 91 03 00 10 */ stw r8, 0x10(r3) -/* 80357E30 00354D90 90 E3 00 14 */ stw r7, 0x14(r3) -/* 80357E34 00354D94 81 04 00 08 */ lwz r8, 8(r4) -/* 80357E38 00354D98 80 E4 00 04 */ lwz r7, 4(r4) -/* 80357E3C 00354D9C 38 81 00 18 */ addi r4, r1, 0x18 -/* 80357E40 00354DA0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80357E44 00354DA4 98 01 00 20 */ stb r0, 0x20(r1) -/* 80357E48 00354DA8 91 01 00 0C */ stw r8, 0xc(r1) -/* 80357E4C 00354DAC 90 E1 00 14 */ stw r7, 0x14(r1) -/* 80357E50 00354DB0 80 03 00 08 */ lwz r0, 8(r3) -/* 80357E54 00354DB4 91 01 00 08 */ stw r8, 8(r1) -/* 80357E58 00354DB8 90 E1 00 10 */ stw r7, 0x10(r1) -/* 80357E5C 00354DBC 90 01 00 18 */ stw r0, 0x18(r1) -/* 80357E60 00354DC0 48 00 00 31 */ bl sub_80357e90 -/* 80357E64 00354DC4 38 00 00 00 */ li r0, 0 -/* 80357E68 00354DC8 38 61 00 1C */ addi r3, r1, 0x1c -/* 80357E6C 00354DCC 98 01 00 20 */ stb r0, 0x20(r1) -/* 80357E70 00354DD0 38 80 FF FF */ li r4, -1 -/* 80357E74 00354DD4 48 00 00 D1 */ bl sub_80357f44 -/* 80357E78 00354DD8 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80357E7C 00354DDC 7F E3 FB 78 */ mr r3, r31 -/* 80357E80 00354DE0 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80357E84 00354DE4 7C 08 03 A6 */ mtlr r0 -/* 80357E88 00354DE8 38 21 00 30 */ addi r1, r1, 0x30 -/* 80357E8C 00354DEC 4E 80 00 20 */ blr - -.global sub_80357e90 -sub_80357e90: -/* 80357E90 00354DF0 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80357E94 00354DF4 7C 08 02 A6 */ mflr r0 -/* 80357E98 00354DF8 3C E0 80 3E */ lis r7, lbl_803D8330@ha -/* 80357E9C 00354DFC 90 01 00 34 */ stw r0, 0x34(r1) -/* 80357EA0 00354E00 BF 21 00 14 */ stmw r25, 0x14(r1) -/* 80357EA4 00354E04 7C 79 1B 78 */ mr r25, r3 -/* 80357EA8 00354E08 7C 9A 23 78 */ mr r26, r4 -/* 80357EAC 00354E0C 7C DB 33 78 */ mr r27, r6 -/* 80357EB0 00354E10 3B E7 83 30 */ addi r31, r7, lbl_803D8330@l -/* 80357EB4 00354E14 83 85 00 00 */ lwz r28, 0(r5) -/* 80357EB8 00354E18 48 00 00 6C */ b lbl_80357F24 -lbl_80357EBC: -/* 80357EBC 00354E1C 83 DA 00 00 */ lwz r30, 0(r26) -/* 80357EC0 00354E20 7F E4 FB 78 */ mr r4, r31 -/* 80357EC4 00354E24 38 60 00 0C */ li r3, 0xc -/* 80357EC8 00354E28 38 A0 00 00 */ li r5, 0 -/* 80357ECC 00354E2C 83 BE 00 00 */ lwz r29, 0(r30) -/* 80357ED0 00354E30 4B FB D9 49 */ bl __nwa__FUlPCcPCc -/* 80357ED4 00354E34 28 03 00 00 */ cmplwi r3, 0 -/* 80357ED8 00354E38 41 82 00 0C */ beq lbl_80357EE4 -/* 80357EDC 00354E3C 93 A3 00 00 */ stw r29, 0(r3) -/* 80357EE0 00354E40 93 C3 00 04 */ stw r30, 4(r3) -lbl_80357EE4: -/* 80357EE4 00354E44 34 83 00 08 */ addic. r4, r3, 8 -/* 80357EE8 00354E48 41 82 00 0C */ beq lbl_80357EF4 -/* 80357EEC 00354E4C 80 1C 00 08 */ lwz r0, 8(r28) -/* 80357EF0 00354E50 90 04 00 00 */ stw r0, 0(r4) -lbl_80357EF4: -/* 80357EF4 00354E54 80 19 00 04 */ lwz r0, 4(r25) -/* 80357EF8 00354E58 7C 1E 00 40 */ cmplw r30, r0 -/* 80357EFC 00354E5C 40 82 00 08 */ bne lbl_80357F04 -/* 80357F00 00354E60 90 79 00 04 */ stw r3, 4(r25) -lbl_80357F04: -/* 80357F04 00354E64 80 83 00 00 */ lwz r4, 0(r3) -/* 80357F08 00354E68 90 64 00 04 */ stw r3, 4(r4) -/* 80357F0C 00354E6C 80 83 00 04 */ lwz r4, 4(r3) -/* 80357F10 00354E70 90 64 00 00 */ stw r3, 0(r4) -/* 80357F14 00354E74 80 79 00 14 */ lwz r3, 0x14(r25) -/* 80357F18 00354E78 38 03 00 01 */ addi r0, r3, 1 -/* 80357F1C 00354E7C 90 19 00 14 */ stw r0, 0x14(r25) -/* 80357F20 00354E80 83 9C 00 04 */ lwz r28, 4(r28) -lbl_80357F24: -/* 80357F24 00354E84 80 1B 00 00 */ lwz r0, 0(r27) -/* 80357F28 00354E88 7C 1C 00 40 */ cmplw r28, r0 -/* 80357F2C 00354E8C 40 82 FF 90 */ bne lbl_80357EBC -/* 80357F30 00354E90 BB 21 00 14 */ lmw r25, 0x14(r1) -/* 80357F34 00354E94 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80357F38 00354E98 7C 08 03 A6 */ mtlr r0 -/* 80357F3C 00354E9C 38 21 00 30 */ addi r1, r1, 0x30 -/* 80357F40 00354EA0 4E 80 00 20 */ blr - -.global sub_80357f44 -sub_80357f44: -/* 80357F44 00354EA4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80357F48 00354EA8 7C 08 02 A6 */ mflr r0 -/* 80357F4C 00354EAC 90 01 00 24 */ stw r0, 0x24(r1) -/* 80357F50 00354EB0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80357F54 00354EB4 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80357F58 00354EB8 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80357F5C 00354EBC 7C 9D 23 78 */ mr r29, r4 -/* 80357F60 00354EC0 93 81 00 10 */ stw r28, 0x10(r1) -/* 80357F64 00354EC4 7C 7C 1B 79 */ or. r28, r3, r3 -/* 80357F68 00354EC8 41 82 00 44 */ beq lbl_80357FAC -/* 80357F6C 00354ECC 88 1C 00 04 */ lbz r0, 4(r28) -/* 80357F70 00354ED0 28 00 00 00 */ cmplwi r0, 0 -/* 80357F74 00354ED4 41 82 00 28 */ beq lbl_80357F9C -/* 80357F78 00354ED8 83 FC 00 00 */ lwz r31, 0(r28) -/* 80357F7C 00354EDC 83 DF 00 08 */ lwz r30, 8(r31) -/* 80357F80 00354EE0 80 9F 00 04 */ lwz r4, 4(r31) -/* 80357F84 00354EE4 48 00 00 10 */ b lbl_80357F94 -lbl_80357F88: -/* 80357F88 00354EE8 7F E3 FB 78 */ mr r3, r31 -/* 80357F8C 00354EEC 48 00 00 95 */ bl sub_80358020 -/* 80357F90 00354EF0 7C 64 1B 78 */ mr r4, r3 -lbl_80357F94: -/* 80357F94 00354EF4 7C 04 F0 40 */ cmplw r4, r30 -/* 80357F98 00354EF8 40 82 FF F0 */ bne lbl_80357F88 -lbl_80357F9C: -/* 80357F9C 00354EFC 7F A0 07 35 */ extsh. r0, r29 -/* 80357FA0 00354F00 40 81 00 0C */ ble lbl_80357FAC -/* 80357FA4 00354F04 7F 83 E3 78 */ mr r3, r28 -/* 80357FA8 00354F08 4B FB D9 89 */ bl Free__7CMemoryFPCv -lbl_80357FAC: -/* 80357FAC 00354F0C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80357FB0 00354F10 7F 83 E3 78 */ mr r3, r28 -/* 80357FB4 00354F14 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80357FB8 00354F18 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80357FBC 00354F1C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80357FC0 00354F20 83 81 00 10 */ lwz r28, 0x10(r1) -/* 80357FC4 00354F24 7C 08 03 A6 */ mtlr r0 -/* 80357FC8 00354F28 38 21 00 20 */ addi r1, r1, 0x20 -/* 80357FCC 00354F2C 4E 80 00 20 */ blr - -.global sub_80357fd0 -sub_80357fd0: -/* 80357FD0 00354F30 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80357FD4 00354F34 7C 08 02 A6 */ mflr r0 -/* 80357FD8 00354F38 90 01 00 14 */ stw r0, 0x14(r1) -/* 80357FDC 00354F3C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80357FE0 00354F40 7C 7F 1B 78 */ mr r31, r3 -/* 80357FE4 00354F44 C0 04 00 00 */ lfs f0, 0(r4) -/* 80357FE8 00354F48 D0 03 00 00 */ stfs f0, 0(r3) -/* 80357FEC 00354F4C 38 7F 00 0C */ addi r3, r31, 0xc -/* 80357FF0 00354F50 C0 04 00 04 */ lfs f0, 4(r4) -/* 80357FF4 00354F54 D0 1F 00 04 */ stfs f0, 4(r31) -/* 80357FF8 00354F58 C0 04 00 08 */ lfs f0, 8(r4) -/* 80357FFC 00354F5C 7C A4 2B 78 */ mr r4, r5 -/* 80358000 00354F60 D0 1F 00 08 */ stfs f0, 8(r31) -/* 80358004 00354F64 4B FF FD F5 */ bl sub_80357df8 -/* 80358008 00354F68 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8035800C 00354F6C 7F E3 FB 78 */ mr r3, r31 -/* 80358010 00354F70 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80358014 00354F74 7C 08 03 A6 */ mtlr r0 -/* 80358018 00354F78 38 21 00 10 */ addi r1, r1, 0x10 -/* 8035801C 00354F7C 4E 80 00 20 */ blr - -.global sub_80358020 -sub_80358020: -/* 80358020 00354F80 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80358024 00354F84 7C 08 02 A6 */ mflr r0 -/* 80358028 00354F88 90 01 00 14 */ stw r0, 0x14(r1) -/* 8035802C 00354F8C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80358030 00354F90 93 C1 00 08 */ stw r30, 8(r1) -/* 80358034 00354F94 7C 7E 1B 78 */ mr r30, r3 -/* 80358038 00354F98 80 03 00 04 */ lwz r0, 4(r3) -/* 8035803C 00354F9C 83 E4 00 04 */ lwz r31, 4(r4) -/* 80358040 00354FA0 7C 04 00 40 */ cmplw r4, r0 -/* 80358044 00354FA4 40 82 00 08 */ bne lbl_8035804C -/* 80358048 00354FA8 93 FE 00 04 */ stw r31, 4(r30) -lbl_8035804C: -/* 8035804C 00354FAC 80 04 00 04 */ lwz r0, 4(r4) -/* 80358050 00354FB0 28 04 00 00 */ cmplwi r4, 0 -/* 80358054 00354FB4 80 64 00 00 */ lwz r3, 0(r4) -/* 80358058 00354FB8 90 03 00 04 */ stw r0, 4(r3) -/* 8035805C 00354FBC 80 04 00 00 */ lwz r0, 0(r4) -/* 80358060 00354FC0 80 64 00 04 */ lwz r3, 4(r4) -/* 80358064 00354FC4 90 03 00 00 */ stw r0, 0(r3) -/* 80358068 00354FC8 41 82 00 0C */ beq lbl_80358074 -/* 8035806C 00354FCC 7C 83 23 78 */ mr r3, r4 -/* 80358070 00354FD0 4B FB D8 C1 */ bl Free__7CMemoryFPCv -lbl_80358074: -/* 80358074 00354FD4 80 9E 00 14 */ lwz r4, 0x14(r30) -/* 80358078 00354FD8 7F E3 FB 78 */ mr r3, r31 -/* 8035807C 00354FDC 38 04 FF FF */ addi r0, r4, -1 -/* 80358080 00354FE0 90 1E 00 14 */ stw r0, 0x14(r30) -/* 80358084 00354FE4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80358088 00354FE8 83 C1 00 08 */ lwz r30, 8(r1) -/* 8035808C 00354FEC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80358090 00354FF0 7C 08 03 A6 */ mtlr r0 -/* 80358094 00354FF4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80358098 00354FF8 4E 80 00 20 */ blr - -.global sub_8035809c -sub_8035809c: -/* 8035809C 00354FFC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 803580A0 00355000 7C 08 02 A6 */ mflr r0 -/* 803580A4 00355004 90 01 00 24 */ stw r0, 0x24(r1) -/* 803580A8 00355008 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 803580AC 0035500C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 803580B0 00355010 7C 9E 23 78 */ mr r30, r4 -/* 803580B4 00355014 93 A1 00 14 */ stw r29, 0x14(r1) -/* 803580B8 00355018 7C 7D 1B 79 */ or. r29, r3, r3 -/* 803580BC 0035501C 41 82 00 38 */ beq lbl_803580F4 -/* 803580C0 00355020 83 FD 00 04 */ lwz r31, 4(r29) -/* 803580C4 00355024 48 00 00 14 */ b lbl_803580D8 -lbl_803580C8: -/* 803580C8 00355028 7F E3 FB 79 */ or. r3, r31, r31 -/* 803580CC 0035502C 83 FF 00 04 */ lwz r31, 4(r31) -/* 803580D0 00355030 41 82 00 08 */ beq lbl_803580D8 -/* 803580D4 00355034 4B FB D8 5D */ bl Free__7CMemoryFPCv -lbl_803580D8: -/* 803580D8 00355038 80 1D 00 08 */ lwz r0, 8(r29) -/* 803580DC 0035503C 7C 1F 00 40 */ cmplw r31, r0 -/* 803580E0 00355040 40 82 FF E8 */ bne lbl_803580C8 -/* 803580E4 00355044 7F C0 07 35 */ extsh. r0, r30 -/* 803580E8 00355048 40 81 00 0C */ ble lbl_803580F4 -/* 803580EC 0035504C 7F A3 EB 78 */ mr r3, r29 -/* 803580F0 00355050 4B FB D8 41 */ bl Free__7CMemoryFPCv -lbl_803580F4: -/* 803580F4 00355054 80 01 00 24 */ lwz r0, 0x24(r1) -/* 803580F8 00355058 7F A3 EB 78 */ mr r3, r29 -/* 803580FC 0035505C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80358100 00355060 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80358104 00355064 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80358108 00355068 7C 08 03 A6 */ mtlr r0 -/* 8035810C 0035506C 38 21 00 20 */ addi r1, r1, 0x20 -/* 80358110 00355070 4E 80 00 20 */ blr - -.global "reserve__Q24rstl105vector>,Q24rstl17rmemory_allocator>Fi" -"reserve__Q24rstl105vector>,Q24rstl17rmemory_allocator>Fi": -/* 80358114 00355074 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80358118 00355078 7C 08 02 A6 */ mflr r0 -/* 8035811C 0035507C 90 01 00 34 */ stw r0, 0x34(r1) -/* 80358120 00355080 BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 80358124 00355084 7C 9F 23 78 */ mr r31, r4 -/* 80358128 00355088 7C 7E 1B 78 */ mr r30, r3 -/* 8035812C 0035508C 80 03 00 08 */ lwz r0, 8(r3) -/* 80358130 00355090 7C 1F 00 00 */ cmpw r31, r0 -/* 80358134 00355094 40 81 00 AC */ ble lbl_803581E0 -/* 80358138 00355098 1C 7F 00 24 */ mulli r3, r31, 0x24 -/* 8035813C 0035509C 2C 03 00 00 */ cmpwi r3, 0 -/* 80358140 003550A0 40 82 00 0C */ bne lbl_8035814C -/* 80358144 003550A4 3B A0 00 00 */ li r29, 0 -/* 80358148 003550A8 48 00 00 18 */ b lbl_80358160 -lbl_8035814C: -/* 8035814C 003550AC 3C 80 80 3E */ lis r4, lbl_803D8330@ha -/* 80358150 003550B0 38 A0 00 00 */ li r5, 0 -/* 80358154 003550B4 38 84 83 30 */ addi r4, r4, lbl_803D8330@l -/* 80358158 003550B8 4B FB D6 C1 */ bl __nwa__FUlPCcPCc -/* 8035815C 003550BC 7C 7D 1B 78 */ mr r29, r3 -lbl_80358160: -/* 80358160 003550C0 80 1E 00 04 */ lwz r0, 4(r30) -/* 80358164 003550C4 7F A5 EB 78 */ mr r5, r29 -/* 80358168 003550C8 80 DE 00 0C */ lwz r6, 0xc(r30) -/* 8035816C 003550CC 38 61 00 14 */ addi r3, r1, 0x14 -/* 80358170 003550D0 1C 00 00 24 */ mulli r0, r0, 0x24 -/* 80358174 003550D4 38 81 00 0C */ addi r4, r1, 0xc -/* 80358178 003550D8 7C C6 02 14 */ add r6, r6, r0 -/* 8035817C 003550DC 90 C1 00 0C */ stw r6, 0xc(r1) -/* 80358180 003550E0 80 1E 00 0C */ lwz r0, 0xc(r30) -/* 80358184 003550E4 90 C1 00 08 */ stw r6, 8(r1) -/* 80358188 003550E8 90 01 00 10 */ stw r0, 0x10(r1) -/* 8035818C 003550EC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80358190 003550F0 48 00 00 65 */ bl sub_803581f4 -/* 80358194 003550F4 80 1E 00 04 */ lwz r0, 4(r30) -/* 80358198 003550F8 83 7E 00 0C */ lwz r27, 0xc(r30) -/* 8035819C 003550FC 1C 00 00 24 */ mulli r0, r0, 0x24 -/* 803581A0 00355100 7F 9B 02 14 */ add r28, r27, r0 -/* 803581A4 00355104 48 00 00 1C */ b lbl_803581C0 -lbl_803581A8: -/* 803581A8 00355108 28 1B 00 00 */ cmplwi r27, 0 -/* 803581AC 0035510C 41 82 00 10 */ beq lbl_803581BC -/* 803581B0 00355110 38 7B 00 0C */ addi r3, r27, 0xc -/* 803581B4 00355114 38 80 FF FF */ li r4, -1 -/* 803581B8 00355118 4B FF FE E5 */ bl sub_8035809c -lbl_803581BC: -/* 803581BC 0035511C 3B 7B 00 24 */ addi r27, r27, 0x24 -lbl_803581C0: -/* 803581C0 00355120 7C 1B E0 40 */ cmplw r27, r28 -/* 803581C4 00355124 40 82 FF E4 */ bne lbl_803581A8 -/* 803581C8 00355128 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 803581CC 0035512C 28 03 00 00 */ cmplwi r3, 0 -/* 803581D0 00355130 41 82 00 08 */ beq lbl_803581D8 -/* 803581D4 00355134 4B FB D7 5D */ bl Free__7CMemoryFPCv -lbl_803581D8: -/* 803581D8 00355138 93 BE 00 0C */ stw r29, 0xc(r30) -/* 803581DC 0035513C 93 FE 00 08 */ stw r31, 8(r30) -lbl_803581E0: -/* 803581E0 00355140 BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 803581E4 00355144 80 01 00 34 */ lwz r0, 0x34(r1) -/* 803581E8 00355148 7C 08 03 A6 */ mtlr r0 -/* 803581EC 0035514C 38 21 00 30 */ addi r1, r1, 0x30 -/* 803581F0 00355150 4E 80 00 20 */ blr - -.global sub_803581f4 -sub_803581f4: -/* 803581F4 00355154 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 803581F8 00355158 7C 08 02 A6 */ mflr r0 -/* 803581FC 0035515C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80358200 00355160 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80358204 00355164 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80358208 00355168 7C BE 2B 78 */ mr r30, r5 -/* 8035820C 0035516C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80358210 00355170 7C 9D 23 78 */ mr r29, r4 -/* 80358214 00355174 83 E3 00 00 */ lwz r31, 0(r3) -/* 80358218 00355178 48 00 00 18 */ b lbl_80358230 -lbl_8035821C: -/* 8035821C 0035517C 7F C3 F3 78 */ mr r3, r30 -/* 80358220 00355180 7F E4 FB 78 */ mr r4, r31 -/* 80358224 00355184 4B FF FB 59 */ bl sub_80357d7c -/* 80358228 00355188 3B DE 00 24 */ addi r30, r30, 0x24 -/* 8035822C 0035518C 3B FF 00 24 */ addi r31, r31, 0x24 -lbl_80358230: -/* 80358230 00355190 80 1D 00 00 */ lwz r0, 0(r29) -/* 80358234 00355194 7C 1F 00 40 */ cmplw r31, r0 -/* 80358238 00355198 40 82 FF E4 */ bne lbl_8035821C -/* 8035823C 0035519C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80358240 003551A0 7F C3 F3 78 */ mr r3, r30 -/* 80358244 003551A4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80358248 003551A8 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8035824C 003551AC 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80358250 003551B0 7C 08 03 A6 */ mtlr r0 -/* 80358254 003551B4 38 21 00 20 */ addi r1, r1, 0x20 -/* 80358258 003551B8 4E 80 00 20 */ blr - -.global __dt__13CTimeProviderFv -__dt__13CTimeProviderFv: -/* 8035825C 003551BC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80358260 003551C0 7C 08 02 A6 */ mflr r0 -/* 80358264 003551C4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80358268 003551C8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8035826C 003551CC 7C 9F 23 78 */ mr r31, r4 -/* 80358270 003551D0 93 C1 00 08 */ stw r30, 8(r1) -/* 80358274 003551D4 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80358278 003551D8 41 82 00 40 */ beq lbl_803582B8 -/* 8035827C 003551DC 80 7E 00 08 */ lwz r3, 8(r30) -/* 80358280 003551E0 28 03 00 00 */ cmplwi r3, 0 -/* 80358284 003551E4 90 6D AA 98 */ stw r3, lbl_805A9658@sda21(r13) -/* 80358288 003551E8 41 82 00 18 */ beq lbl_803582A0 -/* 8035828C 003551EC 38 00 00 01 */ li r0, 1 -/* 80358290 003551F0 98 03 00 04 */ stb r0, 4(r3) -/* 80358294 003551F4 80 6D AA 98 */ lwz r3, lbl_805A9658@sda21(r13) -/* 80358298 003551F8 4B FB 1C 41 */ bl SetExternalTimeProvider__9CGraphicsFP13CTimeProvider -/* 8035829C 003551FC 48 00 00 0C */ b lbl_803582A8 -lbl_803582A0: -/* 803582A0 00355200 38 60 00 00 */ li r3, 0 -/* 803582A4 00355204 4B FB 1C 35 */ bl SetExternalTimeProvider__9CGraphicsFP13CTimeProvider -lbl_803582A8: -/* 803582A8 00355208 7F E0 07 35 */ extsh. r0, r31 -/* 803582AC 0035520C 40 81 00 0C */ ble lbl_803582B8 -/* 803582B0 00355210 7F C3 F3 78 */ mr r3, r30 -/* 803582B4 00355214 4B FB D6 7D */ bl Free__7CMemoryFPCv -lbl_803582B8: -/* 803582B8 00355218 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803582BC 0035521C 7F C3 F3 78 */ mr r3, r30 -/* 803582C0 00355220 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 803582C4 00355224 83 C1 00 08 */ lwz r30, 8(r1) -/* 803582C8 00355228 7C 08 03 A6 */ mtlr r0 -/* 803582CC 0035522C 38 21 00 10 */ addi r1, r1, 0x10 -/* 803582D0 00355230 4E 80 00 20 */ blr - -.global __ct__13CTimeProviderFRCf -__ct__13CTimeProviderFRCf: -/* 803582D4 00355234 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803582D8 00355238 7C 08 02 A6 */ mflr r0 -/* 803582DC 0035523C 90 01 00 14 */ stw r0, 0x14(r1) -/* 803582E0 00355240 38 00 00 01 */ li r0, 1 -/* 803582E4 00355244 93 E1 00 0C */ stw r31, 0xc(r1) -/* 803582E8 00355248 7C 7F 1B 78 */ mr r31, r3 -/* 803582EC 0035524C 90 83 00 00 */ stw r4, 0(r3) -/* 803582F0 00355250 98 03 00 04 */ stb r0, 4(r3) -/* 803582F4 00355254 80 0D AA 98 */ lwz r0, lbl_805A9658@sda21(r13) -/* 803582F8 00355258 90 03 00 08 */ stw r0, 8(r3) -/* 803582FC 0035525C 80 63 00 08 */ lwz r3, 8(r3) -/* 80358300 00355260 28 03 00 00 */ cmplwi r3, 0 -/* 80358304 00355264 41 82 00 0C */ beq lbl_80358310 -/* 80358308 00355268 38 00 00 00 */ li r0, 0 -/* 8035830C 0035526C 98 03 00 04 */ stb r0, 4(r3) -lbl_80358310: -/* 80358310 00355270 93 ED AA 98 */ stw r31, lbl_805A9658@sda21(r13) -/* 80358314 00355274 7F E3 FB 78 */ mr r3, r31 -/* 80358318 00355278 4B FB 1B C1 */ bl SetExternalTimeProvider__9CGraphicsFP13CTimeProvider -/* 8035831C 0035527C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80358320 00355280 7F E3 FB 78 */ mr r3, r31 -/* 80358324 00355284 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80358328 00355288 7C 08 03 A6 */ mtlr r0 -/* 8035832C 0035528C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80358330 00355290 4E 80 00 20 */ blr - -.global GetMRAMSafe__10CARAMTokenFv -GetMRAMSafe__10CARAMTokenFv: -/* 80358334 00355294 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80358338 00355298 7C 08 02 A6 */ mflr r0 -/* 8035833C 0035529C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80358340 003552A0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80358344 003552A4 7C 7F 1B 78 */ mr r31, r3 -/* 80358348 003552A8 80 03 00 00 */ lwz r0, 0(r3) -/* 8035834C 003552AC 2C 00 00 01 */ cmpwi r0, 1 -/* 80358350 003552B0 40 82 00 0C */ bne lbl_8035835C -/* 80358354 003552B4 80 7F 00 04 */ lwz r3, 4(r31) -/* 80358358 003552B8 48 00 00 1C */ b lbl_80358374 -lbl_8035835C: -/* 8035835C 003552BC 48 00 04 11 */ bl LoadToMRAM__10CARAMTokenFv -lbl_80358360: -/* 80358360 003552C0 7F E3 FB 78 */ mr r3, r31 -/* 80358364 003552C4 48 00 02 45 */ bl RefreshStatus__10CARAMTokenFv -/* 80358368 003552C8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8035836C 003552CC 41 82 FF F4 */ beq lbl_80358360 -/* 80358370 003552D0 80 7F 00 04 */ lwz r3, 4(r31) -lbl_80358374: -/* 80358374 003552D4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80358378 003552D8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8035837C 003552DC 7C 08 03 A6 */ mtlr r0 -/* 80358380 003552E0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80358384 003552E4 4E 80 00 20 */ blr - -.global sub_80358388 -sub_80358388: -/* 80358388 003552E8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8035838C 003552EC 7C 08 02 A6 */ mflr r0 -/* 80358390 003552F0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80358394 003552F4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80358398 003552F8 7C 7F 1B 78 */ mr r31, r3 -/* 8035839C 003552FC 80 03 00 00 */ lwz r0, 0(r3) -/* 803583A0 00355300 2C 00 00 02 */ cmpwi r0, 2 -/* 803583A4 00355304 41 80 00 1C */ blt lbl_803583C0 -/* 803583A8 00355308 2C 00 00 05 */ cmpwi r0, 5 -/* 803583AC 0035530C 41 81 00 14 */ bgt lbl_803583C0 -/* 803583B0 00355310 80 7F 00 10 */ lwz r3, 0x10(r31) -/* 803583B4 00355314 4B FE C3 95 */ bl WaitForDMACompletion__12CARAMManagerFUi -/* 803583B8 00355318 7F E3 FB 78 */ mr r3, r31 -/* 803583BC 0035531C 48 00 01 ED */ bl RefreshStatus__10CARAMTokenFv -lbl_803583C0: -/* 803583C0 00355320 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803583C4 00355324 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 803583C8 00355328 7C 08 03 A6 */ mtlr r0 -/* 803583CC 0035532C 38 21 00 10 */ addi r1, r1, 0x10 -/* 803583D0 00355330 4E 80 00 20 */ blr - -.global sub_803583d4 -sub_803583d4: -/* 803583D4 00355334 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803583D8 00355338 7C 08 02 A6 */ mflr r0 -/* 803583DC 0035533C 90 01 00 14 */ stw r0, 0x14(r1) -/* 803583E0 00355340 93 E1 00 0C */ stw r31, 0xc(r1) -/* 803583E4 00355344 7C 7F 1B 78 */ mr r31, r3 -/* 803583E8 00355348 4B FF FF 4D */ bl GetMRAMSafe__10CARAMTokenFv -/* 803583EC 0035534C 7C 60 1B 78 */ mr r0, r3 -/* 803583F0 00355350 7F E3 FB 78 */ mr r3, r31 -/* 803583F4 00355354 7C 1F 03 78 */ mr r31, r0 -/* 803583F8 00355358 48 00 00 1D */ bl MakeInvalid__10CARAMTokenFv -/* 803583FC 0035535C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80358400 00355360 7F E3 FB 78 */ mr r3, r31 -/* 80358404 00355364 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80358408 00355368 7C 08 03 A6 */ mtlr r0 -/* 8035840C 0035536C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80358410 00355370 4E 80 00 20 */ blr - -.global MakeInvalid__10CARAMTokenFv -MakeInvalid__10CARAMTokenFv: -/* 80358414 00355374 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80358418 00355378 7C 08 02 A6 */ mflr r0 -/* 8035841C 0035537C 38 80 00 06 */ li r4, 6 -/* 80358420 00355380 90 01 00 14 */ stw r0, 0x14(r1) -/* 80358424 00355384 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80358428 00355388 7C 7F 1B 78 */ mr r31, r3 -/* 8035842C 0035538C 48 00 00 7D */ bl MoveToList__10CARAMTokenFQ210CARAMToken7EStatus -/* 80358430 00355390 38 80 00 00 */ li r4, 0 -/* 80358434 00355394 80 62 CB A8 */ lwz r3, lbl_805AE8C8@sda21(r2) -/* 80358438 00355398 90 9F 00 04 */ stw r4, 4(r31) -/* 8035843C 0035539C 80 02 CB AC */ lwz r0, lbl_805AE8CC@sda21(r2) -/* 80358440 003553A0 90 7F 00 08 */ stw r3, 8(r31) -/* 80358444 003553A4 90 9F 00 0C */ stw r4, 0xc(r31) -/* 80358448 003553A8 90 1F 00 10 */ stw r0, 0x10(r31) -/* 8035844C 003553AC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80358450 003553B0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80358454 003553B4 7C 08 03 A6 */ mtlr r0 -/* 80358458 003553B8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8035845C 003553BC 4E 80 00 20 */ blr - -.global RemoveFromList__10CARAMTokenFv -RemoveFromList__10CARAMTokenFv: -/* 80358460 003553C0 80 83 00 14 */ lwz r4, 0x14(r3) -/* 80358464 003553C4 28 04 00 00 */ cmplwi r4, 0 -/* 80358468 003553C8 40 82 00 20 */ bne lbl_80358488 -/* 8035846C 003553CC 80 03 00 00 */ lwz r0, 0(r3) -/* 80358470 003553D0 3C 80 80 5A */ lis r4, lbl_805A680C@ha -/* 80358474 003553D4 80 A3 00 18 */ lwz r5, 0x18(r3) -/* 80358478 003553D8 38 84 68 0C */ addi r4, r4, lbl_805A680C@l -/* 8035847C 003553DC 54 00 10 3A */ slwi r0, r0, 2 -/* 80358480 003553E0 7C A4 01 2E */ stwx r5, r4, r0 -/* 80358484 003553E4 48 00 00 0C */ b lbl_80358490 -lbl_80358488: -/* 80358488 003553E8 80 03 00 18 */ lwz r0, 0x18(r3) -/* 8035848C 003553EC 90 04 00 18 */ stw r0, 0x18(r4) -lbl_80358490: -/* 80358490 003553F0 80 83 00 18 */ lwz r4, 0x18(r3) -/* 80358494 003553F4 28 04 00 00 */ cmplwi r4, 0 -/* 80358498 003553F8 4D 82 00 20 */ beqlr -/* 8035849C 003553FC 80 03 00 14 */ lwz r0, 0x14(r3) -/* 803584A0 00355400 90 04 00 14 */ stw r0, 0x14(r4) -/* 803584A4 00355404 4E 80 00 20 */ blr - -.global MoveToList__10CARAMTokenFQ210CARAMToken7EStatus -MoveToList__10CARAMTokenFQ210CARAMToken7EStatus: -/* 803584A8 00355408 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803584AC 0035540C 7C 08 02 A6 */ mflr r0 -/* 803584B0 00355410 90 01 00 14 */ stw r0, 0x14(r1) -/* 803584B4 00355414 93 E1 00 0C */ stw r31, 0xc(r1) -/* 803584B8 00355418 7C 9F 23 78 */ mr r31, r4 -/* 803584BC 0035541C 93 C1 00 08 */ stw r30, 8(r1) -/* 803584C0 00355420 7C 7E 1B 78 */ mr r30, r3 -/* 803584C4 00355424 80 03 00 00 */ lwz r0, 0(r3) -/* 803584C8 00355428 7C 00 F8 00 */ cmpw r0, r31 -/* 803584CC 0035542C 41 82 00 14 */ beq lbl_803584E0 -/* 803584D0 00355430 4B FF FF 91 */ bl RemoveFromList__10CARAMTokenFv -/* 803584D4 00355434 93 FE 00 00 */ stw r31, 0(r30) -/* 803584D8 00355438 7F C3 F3 78 */ mr r3, r30 -/* 803584DC 0035543C 48 00 00 1D */ bl InitiallyMoveToList__10CARAMTokenFv -lbl_803584E0: -/* 803584E0 00355440 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803584E4 00355444 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 803584E8 00355448 83 C1 00 08 */ lwz r30, 8(r1) -/* 803584EC 0035544C 7C 08 03 A6 */ mtlr r0 -/* 803584F0 00355450 38 21 00 10 */ addi r1, r1, 0x10 -/* 803584F4 00355454 4E 80 00 20 */ blr - -.global InitiallyMoveToList__10CARAMTokenFv -InitiallyMoveToList__10CARAMTokenFv: -/* 803584F8 00355458 38 00 00 00 */ li r0, 0 -/* 803584FC 0035545C 3C 80 80 5A */ lis r4, lbl_805A680C@ha -/* 80358500 00355460 90 03 00 14 */ stw r0, 0x14(r3) -/* 80358504 00355464 38 84 68 0C */ addi r4, r4, lbl_805A680C@l -/* 80358508 00355468 80 03 00 00 */ lwz r0, 0(r3) -/* 8035850C 0035546C 54 00 10 3A */ slwi r0, r0, 2 -/* 80358510 00355470 7C 04 00 2E */ lwzx r0, r4, r0 -/* 80358514 00355474 90 03 00 18 */ stw r0, 0x18(r3) -/* 80358518 00355478 80 03 00 00 */ lwz r0, 0(r3) -/* 8035851C 0035547C 54 00 10 3A */ slwi r0, r0, 2 -/* 80358520 00355480 7C 64 01 2E */ stwx r3, r4, r0 -/* 80358524 00355484 80 83 00 18 */ lwz r4, 0x18(r3) -/* 80358528 00355488 28 04 00 00 */ cmplwi r4, 0 -/* 8035852C 0035548C 4D 82 00 20 */ beqlr -/* 80358530 00355490 90 64 00 14 */ stw r3, 0x14(r4) -/* 80358534 00355494 4E 80 00 20 */ blr - -.global UpdateAllDMAs__10CARAMTokenFv -UpdateAllDMAs__10CARAMTokenFv: -/* 80358538 00355498 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8035853C 0035549C 7C 08 02 A6 */ mflr r0 -/* 80358540 003554A0 3C 60 80 5A */ lis r3, lbl_805A680C@ha -/* 80358544 003554A4 90 01 00 24 */ stw r0, 0x24(r1) -/* 80358548 003554A8 38 63 68 0C */ addi r3, r3, lbl_805A680C@l -/* 8035854C 003554AC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80358550 003554B0 3B E3 00 08 */ addi r31, r3, 8 -/* 80358554 003554B4 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80358558 003554B8 3B C0 00 02 */ li r30, 2 -/* 8035855C 003554BC 93 A1 00 14 */ stw r29, 0x14(r1) -lbl_80358560: -/* 80358560 003554C0 80 7F 00 00 */ lwz r3, 0(r31) -/* 80358564 003554C4 48 00 00 10 */ b lbl_80358574 -lbl_80358568: -/* 80358568 003554C8 83 A3 00 18 */ lwz r29, 0x18(r3) -/* 8035856C 003554CC 48 00 00 3D */ bl RefreshStatus__10CARAMTokenFv -/* 80358570 003554D0 7F A3 EB 78 */ mr r3, r29 -lbl_80358574: -/* 80358574 003554D4 28 03 00 00 */ cmplwi r3, 0 -/* 80358578 003554D8 40 82 FF F0 */ bne lbl_80358568 -/* 8035857C 003554DC 3B DE 00 01 */ addi r30, r30, 1 -/* 80358580 003554E0 3B FF 00 04 */ addi r31, r31, 4 -/* 80358584 003554E4 2C 1E 00 05 */ cmpwi r30, 5 -/* 80358588 003554E8 40 81 FF D8 */ ble lbl_80358560 -/* 8035858C 003554EC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80358590 003554F0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80358594 003554F4 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80358598 003554F8 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8035859C 003554FC 7C 08 03 A6 */ mtlr r0 -/* 803585A0 00355500 38 21 00 20 */ addi r1, r1, 0x20 -/* 803585A4 00355504 4E 80 00 20 */ blr - -.global RefreshStatus__10CARAMTokenFv -RefreshStatus__10CARAMTokenFv: -/* 803585A8 00355508 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803585AC 0035550C 7C 08 02 A6 */ mflr r0 -/* 803585B0 00355510 90 01 00 14 */ stw r0, 0x14(r1) -/* 803585B4 00355514 93 E1 00 0C */ stw r31, 0xc(r1) -/* 803585B8 00355518 7C 7F 1B 78 */ mr r31, r3 -/* 803585BC 0035551C 80 03 00 00 */ lwz r0, 0(r3) -/* 803585C0 00355520 2C 00 00 01 */ cmpwi r0, 1 -/* 803585C4 00355524 41 82 00 0C */ beq lbl_803585D0 -/* 803585C8 00355528 2C 00 00 00 */ cmpwi r0, 0 -/* 803585CC 0035552C 40 82 00 0C */ bne lbl_803585D8 -lbl_803585D0: -/* 803585D0 00355530 38 60 00 01 */ li r3, 1 -/* 803585D4 00355534 48 00 00 90 */ b lbl_80358664 -lbl_803585D8: -/* 803585D8 00355538 80 7F 00 10 */ lwz r3, 0x10(r31) -/* 803585DC 0035553C 4B FE C1 E9 */ bl IsDMACompleted__12CARAMManagerFUi -/* 803585E0 00355540 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 803585E4 00355544 40 82 00 0C */ bne lbl_803585F0 -/* 803585E8 00355548 38 60 00 00 */ li r3, 0 -/* 803585EC 0035554C 48 00 00 78 */ b lbl_80358664 -lbl_803585F0: -/* 803585F0 00355550 80 02 CB AC */ lwz r0, lbl_805AE8CC@sda21(r2) -/* 803585F4 00355554 90 1F 00 10 */ stw r0, 0x10(r31) -/* 803585F8 00355558 80 1F 00 00 */ lwz r0, 0(r31) -/* 803585FC 0035555C 2C 00 00 05 */ cmpwi r0, 5 -/* 80358600 00355560 41 82 00 44 */ beq lbl_80358644 -/* 80358604 00355564 40 80 00 5C */ bge lbl_80358660 -/* 80358608 00355568 2C 00 00 02 */ cmpwi r0, 2 -/* 8035860C 0035556C 41 82 00 38 */ beq lbl_80358644 -/* 80358610 00355570 40 80 00 08 */ bge lbl_80358618 -/* 80358614 00355574 48 00 00 4C */ b lbl_80358660 -lbl_80358618: -/* 80358618 00355578 88 1F 00 1C */ lbz r0, 0x1c(r31) -/* 8035861C 0035557C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80358620 00355580 40 82 00 14 */ bne lbl_80358634 -/* 80358624 00355584 80 7F 00 08 */ lwz r3, 8(r31) -/* 80358628 00355588 4B FE C4 95 */ bl Free__12CARAMManagerFPCv -/* 8035862C 0035558C 80 02 CB A8 */ lwz r0, lbl_805AE8C8@sda21(r2) -/* 80358630 00355590 90 1F 00 08 */ stw r0, 8(r31) -lbl_80358634: -/* 80358634 00355594 7F E3 FB 78 */ mr r3, r31 -/* 80358638 00355598 38 80 00 01 */ li r4, 1 -/* 8035863C 0035559C 4B FF FE 6D */ bl MoveToList__10CARAMTokenFQ210CARAMToken7EStatus -/* 80358640 003555A0 48 00 00 20 */ b lbl_80358660 -lbl_80358644: -/* 80358644 003555A4 80 7F 00 04 */ lwz r3, 4(r31) -/* 80358648 003555A8 4B FB D2 E9 */ bl Free__7CMemoryFPCv -/* 8035864C 003555AC 38 00 00 00 */ li r0, 0 -/* 80358650 003555B0 7F E3 FB 78 */ mr r3, r31 -/* 80358654 003555B4 90 1F 00 04 */ stw r0, 4(r31) -/* 80358658 003555B8 38 80 00 00 */ li r4, 0 -/* 8035865C 003555BC 4B FF FE 4D */ bl MoveToList__10CARAMTokenFQ210CARAMToken7EStatus -lbl_80358660: -/* 80358660 003555C0 38 60 00 01 */ li r3, 1 -lbl_80358664: -/* 80358664 003555C4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80358668 003555C8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8035866C 003555CC 7C 08 03 A6 */ mtlr r0 -/* 80358670 003555D0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80358674 003555D4 4E 80 00 20 */ blr - -.global LoadToARAM__10CARAMTokenFv -LoadToARAM__10CARAMTokenFv: -/* 80358678 003555D8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8035867C 003555DC 7C 08 02 A6 */ mflr r0 -/* 80358680 003555E0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80358684 003555E4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80358688 003555E8 7C 7F 1B 78 */ mr r31, r3 -/* 8035868C 003555EC 80 03 00 00 */ lwz r0, 0(r3) -/* 80358690 003555F0 2C 00 00 03 */ cmpwi r0, 3 -/* 80358694 003555F4 41 82 00 38 */ beq lbl_803586CC -/* 80358698 003555F8 40 80 00 1C */ bge lbl_803586B4 -/* 8035869C 003555FC 2C 00 00 01 */ cmpwi r0, 1 -/* 803586A0 00355600 41 82 00 60 */ beq lbl_80358700 -/* 803586A4 00355604 40 80 00 AC */ bge lbl_80358750 -/* 803586A8 00355608 2C 00 00 00 */ cmpwi r0, 0 -/* 803586AC 0035560C 40 80 00 18 */ bge lbl_803586C4 -/* 803586B0 00355610 48 00 00 A0 */ b lbl_80358750 -lbl_803586B4: -/* 803586B4 00355614 2C 00 00 05 */ cmpwi r0, 5 -/* 803586B8 00355618 41 82 00 0C */ beq lbl_803586C4 -/* 803586BC 0035561C 40 80 00 94 */ bge lbl_80358750 -/* 803586C0 00355620 48 00 00 34 */ b lbl_803586F4 -lbl_803586C4: -/* 803586C4 00355624 38 60 00 01 */ li r3, 1 -/* 803586C8 00355628 48 00 00 90 */ b lbl_80358758 -lbl_803586CC: -/* 803586CC 0035562C 38 80 00 05 */ li r4, 5 -/* 803586D0 00355630 4B FF FD D9 */ bl MoveToList__10CARAMTokenFQ210CARAMToken7EStatus -/* 803586D4 00355634 80 7F 00 10 */ lwz r3, 0x10(r31) -/* 803586D8 00355638 4B FE BF E5 */ bl CancelDMA__12CARAMManagerFUi -/* 803586DC 0035563C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 803586E0 00355640 41 82 00 0C */ beq lbl_803586EC -/* 803586E4 00355644 7F E3 FB 78 */ mr r3, r31 -/* 803586E8 00355648 4B FF FE C1 */ bl RefreshStatus__10CARAMTokenFv -lbl_803586EC: -/* 803586EC 0035564C 38 60 00 01 */ li r3, 1 -/* 803586F0 00355650 48 00 00 68 */ b lbl_80358758 -lbl_803586F4: -/* 803586F4 00355654 38 80 00 02 */ li r4, 2 -/* 803586F8 00355658 4B FF FD B1 */ bl MoveToList__10CARAMTokenFQ210CARAMToken7EStatus -/* 803586FC 0035565C 48 00 00 54 */ b lbl_80358750 -lbl_80358700: -/* 80358700 00355660 88 1F 00 1C */ lbz r0, 0x1c(r31) -/* 80358704 00355664 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80358708 00355668 40 82 00 3C */ bne lbl_80358744 -/* 8035870C 0035566C 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 80358710 00355670 4B FE C5 19 */ bl Alloc__12CARAMManagerFUi -/* 80358714 00355674 90 7F 00 08 */ stw r3, 8(r31) -/* 80358718 00355678 80 02 CB A8 */ lwz r0, lbl_805AE8C8@sda21(r2) -/* 8035871C 0035567C 80 9F 00 08 */ lwz r4, 8(r31) -/* 80358720 00355680 7C 00 20 40 */ cmplw r0, r4 -/* 80358724 00355684 40 82 00 0C */ bne lbl_80358730 -/* 80358728 00355688 38 60 00 00 */ li r3, 0 -/* 8035872C 0035568C 48 00 00 2C */ b lbl_80358758 -lbl_80358730: -/* 80358730 00355690 80 7F 00 04 */ lwz r3, 4(r31) -/* 80358734 00355694 38 C0 00 01 */ li r6, 1 -/* 80358738 00355698 80 BF 00 0C */ lwz r5, 0xc(r31) -/* 8035873C 0035569C 4B FE C2 4D */ bl DMAToARAM__12CARAMManagerFPvPvUiQ212CARAMManager12EDMAPriority -/* 80358740 003556A0 90 7F 00 10 */ stw r3, 0x10(r31) -lbl_80358744: -/* 80358744 003556A4 7F E3 FB 78 */ mr r3, r31 -/* 80358748 003556A8 38 80 00 02 */ li r4, 2 -/* 8035874C 003556AC 4B FF FD 5D */ bl MoveToList__10CARAMTokenFQ210CARAMToken7EStatus -lbl_80358750: -/* 80358750 003556B0 7F E3 FB 78 */ mr r3, r31 -/* 80358754 003556B4 4B FF FE 55 */ bl RefreshStatus__10CARAMTokenFv -lbl_80358758: -/* 80358758 003556B8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8035875C 003556BC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80358760 003556C0 7C 08 03 A6 */ mtlr r0 -/* 80358764 003556C4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80358768 003556C8 4E 80 00 20 */ blr - -.global LoadToMRAM__10CARAMTokenFv -LoadToMRAM__10CARAMTokenFv: -/* 8035876C 003556CC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80358770 003556D0 7C 08 02 A6 */ mflr r0 -/* 80358774 003556D4 90 01 00 24 */ stw r0, 0x24(r1) -/* 80358778 003556D8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8035877C 003556DC 7C 7F 1B 78 */ mr r31, r3 -/* 80358780 003556E0 80 03 00 00 */ lwz r0, 0(r3) -/* 80358784 003556E4 2C 00 00 03 */ cmpwi r0, 3 -/* 80358788 003556E8 41 82 00 D0 */ beq lbl_80358858 -/* 8035878C 003556EC 40 80 00 1C */ bge lbl_803587A8 -/* 80358790 003556F0 2C 00 00 01 */ cmpwi r0, 1 -/* 80358794 003556F4 41 82 00 20 */ beq lbl_803587B4 -/* 80358798 003556F8 40 80 00 24 */ bge lbl_803587BC -/* 8035879C 003556FC 2C 00 00 00 */ cmpwi r0, 0 -/* 803587A0 00355700 40 80 00 50 */ bge lbl_803587F0 -/* 803587A4 00355704 48 00 00 B4 */ b lbl_80358858 -lbl_803587A8: -/* 803587A8 00355708 2C 00 00 05 */ cmpwi r0, 5 -/* 803587AC 0035570C 41 82 00 38 */ beq lbl_803587E4 -/* 803587B0 00355710 40 80 00 A8 */ bge lbl_80358858 -lbl_803587B4: -/* 803587B4 00355714 38 60 00 01 */ li r3, 1 -/* 803587B8 00355718 48 00 00 A8 */ b lbl_80358860 -lbl_803587BC: -/* 803587BC 0035571C 38 80 00 04 */ li r4, 4 -/* 803587C0 00355720 4B FF FC E9 */ bl MoveToList__10CARAMTokenFQ210CARAMToken7EStatus -/* 803587C4 00355724 80 7F 00 10 */ lwz r3, 0x10(r31) -/* 803587C8 00355728 4B FE BE F5 */ bl CancelDMA__12CARAMManagerFUi -/* 803587CC 0035572C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 803587D0 00355730 41 82 00 0C */ beq lbl_803587DC -/* 803587D4 00355734 7F E3 FB 78 */ mr r3, r31 -/* 803587D8 00355738 4B FF FD D1 */ bl RefreshStatus__10CARAMTokenFv -lbl_803587DC: -/* 803587DC 0035573C 38 60 00 01 */ li r3, 1 -/* 803587E0 00355740 48 00 00 80 */ b lbl_80358860 -lbl_803587E4: -/* 803587E4 00355744 38 80 00 03 */ li r4, 3 -/* 803587E8 00355748 4B FF FC C1 */ bl MoveToList__10CARAMTokenFQ210CARAMToken7EStatus -/* 803587EC 0035574C 48 00 00 6C */ b lbl_80358858 -lbl_803587F0: -/* 803587F0 00355750 3C 60 80 3E */ lis r3, lbl_803D8338@ha -/* 803587F4 00355754 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha -/* 803587F8 00355758 38 A3 83 38 */ addi r5, r3, lbl_803D8338@l -/* 803587FC 0035575C 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l -/* 80358800 00355760 38 61 00 08 */ addi r3, r1, 8 -/* 80358804 00355764 38 80 FF FF */ li r4, -1 -/* 80358808 00355768 4B F7 DB CD */ bl __ct__10CCallStackFUiPCcPCc -/* 8035880C 0035576C 7C 67 1B 78 */ mr r7, r3 -/* 80358810 00355770 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 80358814 00355774 38 80 00 02 */ li r4, 2 -/* 80358818 00355778 38 A0 00 01 */ li r5, 1 -/* 8035881C 0035577C 38 C0 00 00 */ li r6, 0 -/* 80358820 00355780 4B FB D1 75 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack -/* 80358824 00355784 90 7F 00 04 */ stw r3, 4(r31) -/* 80358828 00355788 80 7F 00 04 */ lwz r3, 4(r31) -/* 8035882C 0035578C 80 9F 00 0C */ lwz r4, 0xc(r31) -/* 80358830 00355790 48 02 62 55 */ bl DCInvalidateRange -/* 80358834 00355794 80 7F 00 08 */ lwz r3, 8(r31) -/* 80358838 00355798 38 C0 00 01 */ li r6, 1 -/* 8035883C 0035579C 80 9F 00 04 */ lwz r4, 4(r31) -/* 80358840 003557A0 80 BF 00 0C */ lwz r5, 0xc(r31) -/* 80358844 003557A4 4B FE C0 0D */ bl DMAToMRAM__12CARAMManagerFPvPvUiQ212CARAMManager12EDMAPriority -/* 80358848 003557A8 90 7F 00 10 */ stw r3, 0x10(r31) -/* 8035884C 003557AC 7F E3 FB 78 */ mr r3, r31 -/* 80358850 003557B0 38 80 00 03 */ li r4, 3 -/* 80358854 003557B4 4B FF FC 55 */ bl MoveToList__10CARAMTokenFQ210CARAMToken7EStatus -lbl_80358858: -/* 80358858 003557B8 7F E3 FB 78 */ mr r3, r31 -/* 8035885C 003557BC 4B FF FD 4D */ bl RefreshStatus__10CARAMTokenFv -lbl_80358860: -/* 80358860 003557C0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80358864 003557C4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80358868 003557C8 7C 08 03 A6 */ mtlr r0 -/* 8035886C 003557CC 38 21 00 20 */ addi r1, r1, 0x20 -/* 80358870 003557D0 4E 80 00 20 */ blr - -.global __as__10CARAMTokenFRC10CARAMToken -__as__10CARAMTokenFRC10CARAMToken: -/* 80358874 003557D4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80358878 003557D8 7C 08 02 A6 */ mflr r0 -/* 8035887C 003557DC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80358880 003557E0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80358884 003557E4 7C 9F 23 78 */ mr r31, r4 -/* 80358888 003557E8 93 C1 00 08 */ stw r30, 8(r1) -/* 8035888C 003557EC 7C 7E 1B 78 */ mr r30, r3 -/* 80358890 003557F0 7C 1F F0 40 */ cmplw r31, r30 -/* 80358894 003557F4 40 82 00 08 */ bne lbl_8035889C -/* 80358898 003557F8 48 00 00 24 */ b lbl_803588BC -lbl_8035889C: -/* 8035889C 003557FC 38 80 FF FF */ li r4, -1 -/* 803588A0 00355800 48 00 00 A5 */ bl __dt__10CARAMTokenFv -/* 803588A4 00355804 28 1E 00 00 */ cmplwi r30, 0 -/* 803588A8 00355808 41 82 00 10 */ beq lbl_803588B8 -/* 803588AC 0035580C 7F C3 F3 78 */ mr r3, r30 -/* 803588B0 00355810 7F E4 FB 78 */ mr r4, r31 -/* 803588B4 00355814 48 00 01 19 */ bl __ct__10CARAMTokenFRC10CARAMToken -lbl_803588B8: -/* 803588B8 00355818 7F C3 F3 78 */ mr r3, r30 -lbl_803588BC: -/* 803588BC 0035581C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803588C0 00355820 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 803588C4 00355824 83 C1 00 08 */ lwz r30, 8(r1) -/* 803588C8 00355828 7C 08 03 A6 */ mtlr r0 -/* 803588CC 0035582C 38 21 00 10 */ addi r1, r1, 0x10 -/* 803588D0 00355830 4E 80 00 20 */ blr - -.global PostConstruct__10CARAMTokenFPvUi -PostConstruct__10CARAMTokenFPvUi: -/* 803588D4 00355834 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 803588D8 00355838 7C 08 02 A6 */ mflr r0 -/* 803588DC 0035583C 90 01 00 24 */ stw r0, 0x24(r1) -/* 803588E0 00355840 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 803588E4 00355844 7C DF 33 78 */ mr r31, r6 -/* 803588E8 00355848 93 C1 00 18 */ stw r30, 0x18(r1) -/* 803588EC 0035584C 7C BE 2B 78 */ mr r30, r5 -/* 803588F0 00355850 93 A1 00 14 */ stw r29, 0x14(r1) -/* 803588F4 00355854 7C 9D 23 78 */ mr r29, r4 -/* 803588F8 00355858 38 80 00 01 */ li r4, 1 -/* 803588FC 0035585C 93 81 00 10 */ stw r28, 0x10(r1) -/* 80358900 00355860 7C 7C 1B 78 */ mr r28, r3 -/* 80358904 00355864 4B FF FB A5 */ bl MoveToList__10CARAMTokenFQ210CARAMToken7EStatus -/* 80358908 00355868 93 BC 00 04 */ stw r29, 4(r28) -/* 8035890C 0035586C 7F E0 00 34 */ cntlzw r0, r31 -/* 80358910 00355870 54 03 D9 7E */ srwi r3, r0, 5 -/* 80358914 00355874 93 DC 00 0C */ stw r30, 0xc(r28) -/* 80358918 00355878 88 1C 00 1C */ lbz r0, 0x1c(r28) -/* 8035891C 0035587C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 80358920 00355880 98 1C 00 1C */ stb r0, 0x1c(r28) -/* 80358924 00355884 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80358928 00355888 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8035892C 0035588C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80358930 00355890 83 81 00 10 */ lwz r28, 0x10(r1) -/* 80358934 00355894 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80358938 00355898 7C 08 03 A6 */ mtlr r0 -/* 8035893C 0035589C 38 21 00 20 */ addi r1, r1, 0x20 -/* 80358940 003558A0 4E 80 00 20 */ blr - -.global __dt__10CARAMTokenFv -__dt__10CARAMTokenFv: -/* 80358944 003558A4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80358948 003558A8 7C 08 02 A6 */ mflr r0 -/* 8035894C 003558AC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80358950 003558B0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80358954 003558B4 7C 9F 23 78 */ mr r31, r4 -/* 80358958 003558B8 93 C1 00 08 */ stw r30, 8(r1) -/* 8035895C 003558BC 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80358960 003558C0 41 82 00 50 */ beq lbl_803589B0 -/* 80358964 003558C4 80 7E 00 10 */ lwz r3, 0x10(r30) -/* 80358968 003558C8 80 02 CB AC */ lwz r0, lbl_805AE8CC@sda21(r2) -/* 8035896C 003558CC 7C 03 00 40 */ cmplw r3, r0 -/* 80358970 003558D0 41 82 00 18 */ beq lbl_80358988 -/* 80358974 003558D4 4B FE BD 49 */ bl CancelDMA__12CARAMManagerFUi -/* 80358978 003558D8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8035897C 003558DC 40 82 00 0C */ bne lbl_80358988 -/* 80358980 003558E0 80 7E 00 10 */ lwz r3, 0x10(r30) -/* 80358984 003558E4 4B FE BD C5 */ bl WaitForDMACompletion__12CARAMManagerFUi -lbl_80358988: -/* 80358988 003558E8 7F C3 F3 78 */ mr r3, r30 -/* 8035898C 003558EC 4B FF FA D5 */ bl RemoveFromList__10CARAMTokenFv -/* 80358990 003558F0 80 7E 00 04 */ lwz r3, 4(r30) -/* 80358994 003558F4 4B FB CF 9D */ bl Free__7CMemoryFPCv -/* 80358998 003558F8 80 7E 00 08 */ lwz r3, 8(r30) -/* 8035899C 003558FC 4B FE C1 21 */ bl Free__12CARAMManagerFPCv -/* 803589A0 00355900 7F E0 07 35 */ extsh. r0, r31 -/* 803589A4 00355904 40 81 00 0C */ ble lbl_803589B0 -/* 803589A8 00355908 7F C3 F3 78 */ mr r3, r30 -/* 803589AC 0035590C 4B FB CF 85 */ bl Free__7CMemoryFPCv -lbl_803589B0: -/* 803589B0 00355910 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803589B4 00355914 7F C3 F3 78 */ mr r3, r30 -/* 803589B8 00355918 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 803589BC 0035591C 83 C1 00 08 */ lwz r30, 8(r1) -/* 803589C0 00355920 7C 08 03 A6 */ mtlr r0 -/* 803589C4 00355924 38 21 00 10 */ addi r1, r1, 0x10 -/* 803589C8 00355928 4E 80 00 20 */ blr - -.global __ct__10CARAMTokenFRC10CARAMToken -__ct__10CARAMTokenFRC10CARAMToken: -/* 803589CC 0035592C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803589D0 00355930 7C 08 02 A6 */ mflr r0 -/* 803589D4 00355934 90 01 00 14 */ stw r0, 0x14(r1) -/* 803589D8 00355938 38 00 00 00 */ li r0, 0 -/* 803589DC 0035593C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 803589E0 00355940 7C 7F 1B 78 */ mr r31, r3 -/* 803589E4 00355944 7C 83 23 78 */ mr r3, r4 -/* 803589E8 00355948 80 A4 00 00 */ lwz r5, 0(r4) -/* 803589EC 0035594C 90 BF 00 00 */ stw r5, 0(r31) -/* 803589F0 00355950 80 A4 00 04 */ lwz r5, 4(r4) -/* 803589F4 00355954 90 BF 00 04 */ stw r5, 4(r31) -/* 803589F8 00355958 80 A4 00 08 */ lwz r5, 8(r4) -/* 803589FC 0035595C 90 BF 00 08 */ stw r5, 8(r31) -/* 80358A00 00355960 80 A4 00 0C */ lwz r5, 0xc(r4) -/* 80358A04 00355964 90 BF 00 0C */ stw r5, 0xc(r31) -/* 80358A08 00355968 80 A4 00 10 */ lwz r5, 0x10(r4) -/* 80358A0C 0035596C 90 BF 00 10 */ stw r5, 0x10(r31) -/* 80358A10 00355970 90 1F 00 14 */ stw r0, 0x14(r31) -/* 80358A14 00355974 90 1F 00 18 */ stw r0, 0x18(r31) -/* 80358A18 00355978 88 84 00 1C */ lbz r4, 0x1c(r4) -/* 80358A1C 0035597C 88 1F 00 1C */ lbz r0, 0x1c(r31) -/* 80358A20 00355980 50 80 06 30 */ rlwimi r0, r4, 0, 0x18, 0x18 -/* 80358A24 00355984 98 1F 00 1C */ stb r0, 0x1c(r31) -/* 80358A28 00355988 4B FF F9 ED */ bl MakeInvalid__10CARAMTokenFv -/* 80358A2C 0035598C 7F E3 FB 78 */ mr r3, r31 -/* 80358A30 00355990 4B FF FA C9 */ bl InitiallyMoveToList__10CARAMTokenFv -/* 80358A34 00355994 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80358A38 00355998 7F E3 FB 78 */ mr r3, r31 -/* 80358A3C 0035599C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80358A40 003559A0 7C 08 03 A6 */ mtlr r0 -/* 80358A44 003559A4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80358A48 003559A8 4E 80 00 20 */ blr - -.global __ct__10CARAMTokenFPvUi -__ct__10CARAMTokenFPvUi: -/* 80358A4C 003559AC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80358A50 003559B0 7C 08 02 A6 */ mflr r0 -/* 80358A54 003559B4 80 E2 CB A8 */ lwz r7, lbl_805AE8C8@sda21(r2) -/* 80358A58 003559B8 90 01 00 14 */ stw r0, 0x14(r1) -/* 80358A5C 003559BC 38 00 00 01 */ li r0, 1 -/* 80358A60 003559C0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80358A64 003559C4 7C 7F 1B 78 */ mr r31, r3 -/* 80358A68 003559C8 90 03 00 00 */ stw r0, 0(r3) -/* 80358A6C 003559CC 7C C0 00 34 */ cntlzw r0, r6 -/* 80358A70 003559D0 38 C0 00 00 */ li r6, 0 -/* 80358A74 003559D4 90 83 00 04 */ stw r4, 4(r3) -/* 80358A78 003559D8 54 04 D9 7E */ srwi r4, r0, 5 -/* 80358A7C 003559DC 80 02 CB AC */ lwz r0, lbl_805AE8CC@sda21(r2) -/* 80358A80 003559E0 90 E3 00 08 */ stw r7, 8(r3) -/* 80358A84 003559E4 90 A3 00 0C */ stw r5, 0xc(r3) -/* 80358A88 003559E8 90 03 00 10 */ stw r0, 0x10(r3) -/* 80358A8C 003559EC 90 C3 00 14 */ stw r6, 0x14(r3) -/* 80358A90 003559F0 90 C3 00 18 */ stw r6, 0x18(r3) -/* 80358A94 003559F4 88 03 00 1C */ lbz r0, 0x1c(r3) -/* 80358A98 003559F8 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 80358A9C 003559FC 98 03 00 1C */ stb r0, 0x1c(r3) -/* 80358AA0 00355A00 4B FF FA 59 */ bl InitiallyMoveToList__10CARAMTokenFv -/* 80358AA4 00355A04 88 1F 00 1C */ lbz r0, 0x1c(r31) -/* 80358AA8 00355A08 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80358AAC 00355A0C 41 82 00 38 */ beq lbl_80358AE4 -/* 80358AB0 00355A10 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 80358AB4 00355A14 4B FE C1 75 */ bl Alloc__12CARAMManagerFUi -/* 80358AB8 00355A18 90 7F 00 08 */ stw r3, 8(r31) -/* 80358ABC 00355A1C 38 C0 00 01 */ li r6, 1 -/* 80358AC0 00355A20 80 7F 00 04 */ lwz r3, 4(r31) -/* 80358AC4 00355A24 80 9F 00 08 */ lwz r4, 8(r31) -/* 80358AC8 00355A28 80 BF 00 0C */ lwz r5, 0xc(r31) -/* 80358ACC 00355A2C 4B FE BE BD */ bl DMAToARAM__12CARAMManagerFPvPvUiQ212CARAMManager12EDMAPriority -/* 80358AD0 00355A30 90 7F 00 10 */ stw r3, 0x10(r31) -/* 80358AD4 00355A34 80 7F 00 10 */ lwz r3, 0x10(r31) -/* 80358AD8 00355A38 4B FE BC 71 */ bl WaitForDMACompletion__12CARAMManagerFUi -/* 80358ADC 00355A3C 80 02 CB AC */ lwz r0, lbl_805AE8CC@sda21(r2) -/* 80358AE0 00355A40 90 1F 00 10 */ stw r0, 0x10(r31) -lbl_80358AE4: -/* 80358AE4 00355A44 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80358AE8 00355A48 7F E3 FB 78 */ mr r3, r31 -/* 80358AEC 00355A4C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80358AF0 00355A50 7C 08 03 A6 */ mtlr r0 -/* 80358AF4 00355A54 38 21 00 10 */ addi r1, r1, 0x10 -/* 80358AF8 00355A58 4E 80 00 20 */ blr - -.global __ct__10CARAMTokenFv -__ct__10CARAMTokenFv: -/* 80358AFC 00355A5C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80358B00 00355A60 7C 08 02 A6 */ mflr r0 -/* 80358B04 00355A64 38 A0 00 00 */ li r5, 0 -/* 80358B08 00355A68 80 82 CB A8 */ lwz r4, lbl_805AE8C8@sda21(r2) -/* 80358B0C 00355A6C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80358B10 00355A70 38 00 00 06 */ li r0, 6 -/* 80358B14 00355A74 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80358B18 00355A78 7C 7F 1B 78 */ mr r31, r3 -/* 80358B1C 00355A7C 90 03 00 00 */ stw r0, 0(r3) -/* 80358B20 00355A80 80 02 CB AC */ lwz r0, lbl_805AE8CC@sda21(r2) -/* 80358B24 00355A84 90 A3 00 04 */ stw r5, 4(r3) -/* 80358B28 00355A88 90 83 00 08 */ stw r4, 8(r3) -/* 80358B2C 00355A8C 90 A3 00 0C */ stw r5, 0xc(r3) -/* 80358B30 00355A90 90 03 00 10 */ stw r0, 0x10(r3) -/* 80358B34 00355A94 90 A3 00 14 */ stw r5, 0x14(r3) -/* 80358B38 00355A98 90 A3 00 18 */ stw r5, 0x18(r3) -/* 80358B3C 00355A9C 88 03 00 1C */ lbz r0, 0x1c(r3) -/* 80358B40 00355AA0 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 -/* 80358B44 00355AA4 98 03 00 1C */ stb r0, 0x1c(r3) -/* 80358B48 00355AA8 4B FF F9 B1 */ bl InitiallyMoveToList__10CARAMTokenFv -/* 80358B4C 00355AAC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80358B50 00355AB0 7F E3 FB 78 */ mr r3, r31 -/* 80358B54 00355AB4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80358B58 00355AB8 7C 08 03 A6 */ mtlr r0 -/* 80358B5C 00355ABC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80358B60 00355AC0 4E 80 00 20 */ blr - -.global FMidiDataFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer -FMidiDataFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer: -/* 80358B64 00355AC4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80358B68 00355AC8 7C 08 02 A6 */ mflr r0 -/* 80358B6C 00355ACC 3C 80 80 3E */ lis r4, lbl_803D8340@ha -/* 80358B70 00355AD0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80358B74 00355AD4 38 84 83 40 */ addi r4, r4, lbl_803D8340@l -/* 80358B78 00355AD8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80358B7C 00355ADC 7C BF 2B 78 */ mr r31, r5 -/* 80358B80 00355AE0 38 A0 00 00 */ li r5, 0 -/* 80358B84 00355AE4 93 C1 00 08 */ stw r30, 8(r1) -/* 80358B88 00355AE8 7C 7E 1B 78 */ mr r30, r3 -/* 80358B8C 00355AEC 38 60 00 10 */ li r3, 0x10 -/* 80358B90 00355AF0 4B FB CC DD */ bl __nw__FUlPCcPCc -/* 80358B94 00355AF4 7C 64 1B 79 */ or. r4, r3, r3 -/* 80358B98 00355AF8 41 82 00 10 */ beq lbl_80358BA8 -/* 80358B9C 00355AFC 7F E4 FB 78 */ mr r4, r31 -/* 80358BA0 00355B00 48 00 02 85 */ bl __ct__Q212CMidiManager9CMidiDataFR12CInputStream -/* 80358BA4 00355B04 7C 64 1B 78 */ mr r4, r3 -lbl_80358BA8: -/* 80358BA8 00355B08 7F C3 F3 78 */ mr r3, r30 -/* 80358BAC 00355B0C 48 00 00 1D */ bl "__ct__16CFactoryFnReturnFPQ212CMidiManager9CMidiData" -/* 80358BB0 00355B10 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80358BB4 00355B14 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80358BB8 00355B18 83 C1 00 08 */ lwz r30, 8(r1) -/* 80358BBC 00355B1C 7C 08 03 A6 */ mtlr r0 -/* 80358BC0 00355B20 38 21 00 10 */ addi r1, r1, 0x10 -/* 80358BC4 00355B24 4E 80 00 20 */ blr - -.global "__ct__16CFactoryFnReturnFPQ212CMidiManager9CMidiData" -"__ct__16CFactoryFnReturnFPQ212CMidiManager9CMidiData": -/* 80358BC8 00355B28 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80358BCC 00355B2C 7C 08 02 A6 */ mflr r0 -/* 80358BD0 00355B30 90 01 00 24 */ stw r0, 0x24(r1) -/* 80358BD4 00355B34 7C 04 00 D0 */ neg r0, r4 -/* 80358BD8 00355B38 7C 00 23 78 */ or r0, r0, r4 -/* 80358BDC 00355B3C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80358BE0 00355B40 54 00 0F FE */ srwi r0, r0, 0x1f -/* 80358BE4 00355B44 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80358BE8 00355B48 7C 7E 1B 78 */ mr r30, r3 -/* 80358BEC 00355B4C 38 61 00 08 */ addi r3, r1, 8 -/* 80358BF0 00355B50 90 81 00 14 */ stw r4, 0x14(r1) -/* 80358BF4 00355B54 38 81 00 10 */ addi r4, r1, 0x10 -/* 80358BF8 00355B58 98 01 00 10 */ stb r0, 0x10(r1) -/* 80358BFC 00355B5C 48 00 01 61 */ bl "GetIObjObjectFor__34TTokenFRCQ24rstl36auto_ptr" -/* 80358C00 00355B60 80 61 00 0C */ lwz r3, 0xc(r1) -/* 80358C04 00355B64 38 00 00 00 */ li r0, 0 -/* 80358C08 00355B68 98 01 00 08 */ stb r0, 8(r1) -/* 80358C0C 00355B6C 7C 03 00 D0 */ neg r0, r3 -/* 80358C10 00355B70 7C 00 1B 78 */ or r0, r0, r3 -/* 80358C14 00355B74 54 00 0F FE */ srwi r0, r0, 0x1f -/* 80358C18 00355B78 98 1E 00 00 */ stb r0, 0(r30) -/* 80358C1C 00355B7C 90 7E 00 04 */ stw r3, 4(r30) -/* 80358C20 00355B80 88 01 00 08 */ lbz r0, 8(r1) -/* 80358C24 00355B84 28 00 00 00 */ cmplwi r0, 0 -/* 80358C28 00355B88 41 82 00 24 */ beq lbl_80358C4C -/* 80358C2C 00355B8C 80 61 00 0C */ lwz r3, 0xc(r1) -/* 80358C30 00355B90 28 03 00 00 */ cmplwi r3, 0 -/* 80358C34 00355B94 41 82 00 18 */ beq lbl_80358C4C -/* 80358C38 00355B98 81 83 00 00 */ lwz r12, 0(r3) -/* 80358C3C 00355B9C 38 80 00 01 */ li r4, 1 -/* 80358C40 00355BA0 81 8C 00 08 */ lwz r12, 8(r12) -/* 80358C44 00355BA4 7D 89 03 A6 */ mtctr r12 -/* 80358C48 00355BA8 4E 80 04 21 */ bctrl -lbl_80358C4C: -/* 80358C4C 00355BAC 88 01 00 10 */ lbz r0, 0x10(r1) -/* 80358C50 00355BB0 28 00 00 00 */ cmplwi r0, 0 -/* 80358C54 00355BB4 41 82 00 34 */ beq lbl_80358C88 -/* 80358C58 00355BB8 83 E1 00 14 */ lwz r31, 0x14(r1) -/* 80358C5C 00355BBC 28 1F 00 00 */ cmplwi r31, 0 -/* 80358C60 00355BC0 41 82 00 28 */ beq lbl_80358C88 -/* 80358C64 00355BC4 34 1F 00 08 */ addic. r0, r31, 8 -/* 80358C68 00355BC8 41 82 00 18 */ beq lbl_80358C80 -/* 80358C6C 00355BCC 88 1F 00 08 */ lbz r0, 8(r31) -/* 80358C70 00355BD0 28 00 00 00 */ cmplwi r0, 0 -/* 80358C74 00355BD4 41 82 00 0C */ beq lbl_80358C80 -/* 80358C78 00355BD8 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 80358C7C 00355BDC 4B FB CC B5 */ bl Free__7CMemoryFPCv -lbl_80358C80: -/* 80358C80 00355BE0 7F E3 FB 78 */ mr r3, r31 -/* 80358C84 00355BE4 4B FB CC AD */ bl Free__7CMemoryFPCv -lbl_80358C88: -/* 80358C88 00355BE8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80358C8C 00355BEC 7F C3 F3 78 */ mr r3, r30 -/* 80358C90 00355BF0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80358C94 00355BF4 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80358C98 00355BF8 7C 08 03 A6 */ mtlr r0 -/* 80358C9C 00355BFC 38 21 00 20 */ addi r1, r1, 0x20 -/* 80358CA0 00355C00 4E 80 00 20 */ blr - -.global __dt__15CEmitterElementFv -__dt__15CEmitterElementFv: -/* 80358CA4 00355C04 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80358CA8 00355C08 7C 08 02 A6 */ mflr r0 -/* 80358CAC 00355C0C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80358CB0 00355C10 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80358CB4 00355C14 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80358CB8 00355C18 7C 9E 23 78 */ mr r30, r4 -/* 80358CBC 00355C1C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80358CC0 00355C20 7C 7D 1B 79 */ or. r29, r3, r3 -/* 80358CC4 00355C24 41 82 00 78 */ beq lbl_80358D3C -/* 80358CC8 00355C28 3C 60 80 3F */ lis r3, lbl_803EF788@ha -/* 80358CCC 00355C2C 38 03 F7 88 */ addi r0, r3, lbl_803EF788@l -/* 80358CD0 00355C30 90 1D 00 00 */ stw r0, 0(r29) -/* 80358CD4 00355C34 83 FD 00 04 */ lwz r31, 4(r29) -/* 80358CD8 00355C38 28 1F 00 00 */ cmplwi r31, 0 -/* 80358CDC 00355C3C 41 82 00 2C */ beq lbl_80358D08 -/* 80358CE0 00355C40 41 82 00 28 */ beq lbl_80358D08 -/* 80358CE4 00355C44 34 1F 00 08 */ addic. r0, r31, 8 -/* 80358CE8 00355C48 41 82 00 18 */ beq lbl_80358D00 -/* 80358CEC 00355C4C 88 1F 00 08 */ lbz r0, 8(r31) -/* 80358CF0 00355C50 28 00 00 00 */ cmplwi r0, 0 -/* 80358CF4 00355C54 41 82 00 0C */ beq lbl_80358D00 -/* 80358CF8 00355C58 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 80358CFC 00355C5C 4B FB CC 35 */ bl Free__7CMemoryFPCv -lbl_80358D00: -/* 80358D00 00355C60 7F E3 FB 78 */ mr r3, r31 -/* 80358D04 00355C64 4B FB CC 2D */ bl Free__7CMemoryFPCv -lbl_80358D08: -/* 80358D08 00355C68 28 1D 00 00 */ cmplwi r29, 0 -/* 80358D0C 00355C6C 41 82 00 20 */ beq lbl_80358D2C -/* 80358D10 00355C70 3C 60 80 3E */ lis r3, lbl_803D8D78@ha -/* 80358D14 00355C74 38 03 8D 78 */ addi r0, r3, lbl_803D8D78@l -/* 80358D18 00355C78 90 1D 00 00 */ stw r0, 0(r29) -/* 80358D1C 00355C7C 41 82 00 10 */ beq lbl_80358D2C -/* 80358D20 00355C80 3C 60 80 3E */ lis r3, lbl_803D8D6C@ha -/* 80358D24 00355C84 38 03 8D 6C */ addi r0, r3, lbl_803D8D6C@l -/* 80358D28 00355C88 90 1D 00 00 */ stw r0, 0(r29) -lbl_80358D2C: -/* 80358D2C 00355C8C 7F C0 07 35 */ extsh. r0, r30 -/* 80358D30 00355C90 40 81 00 0C */ ble lbl_80358D3C -/* 80358D34 00355C94 7F A3 EB 78 */ mr r3, r29 -/* 80358D38 00355C98 4B FB CB F9 */ bl Free__7CMemoryFPCv -lbl_80358D3C: -/* 80358D3C 00355C9C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80358D40 00355CA0 7F A3 EB 78 */ mr r3, r29 -/* 80358D44 00355CA4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80358D48 00355CA8 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80358D4C 00355CAC 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80358D50 00355CB0 7C 08 03 A6 */ mtlr r0 -/* 80358D54 00355CB4 38 21 00 20 */ addi r1, r1, 0x20 -/* 80358D58 00355CB8 4E 80 00 20 */ blr - -.global "GetIObjObjectFor__34TTokenFRCQ24rstl36auto_ptr" -"GetIObjObjectFor__34TTokenFRCQ24rstl36auto_ptr": -/* 80358D5C 00355CBC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80358D60 00355CC0 7C 08 02 A6 */ mflr r0 -/* 80358D64 00355CC4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80358D68 00355CC8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80358D6C 00355CCC 7C 7F 1B 78 */ mr r31, r3 -/* 80358D70 00355CD0 48 00 00 19 */ bl "GetNewDerivedObject__52TObjOwnerDerivedFromIObjFRCQ24rstl36auto_ptr" -/* 80358D74 00355CD4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80358D78 00355CD8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80358D7C 00355CDC 7C 08 03 A6 */ mtlr r0 -/* 80358D80 00355CE0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80358D84 00355CE4 4E 80 00 20 */ blr - -.global "GetNewDerivedObject__52TObjOwnerDerivedFromIObjFRCQ24rstl36auto_ptr" -"GetNewDerivedObject__52TObjOwnerDerivedFromIObjFRCQ24rstl36auto_ptr": -/* 80358D88 00355CE8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80358D8C 00355CEC 7C 08 02 A6 */ mflr r0 -/* 80358D90 00355CF0 3C A0 80 3E */ lis r5, lbl_803D8340@ha -/* 80358D94 00355CF4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80358D98 00355CF8 38 05 83 40 */ addi r0, r5, lbl_803D8340@l -/* 80358D9C 00355CFC 38 A0 00 00 */ li r5, 0 -/* 80358DA0 00355D00 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80358DA4 00355D04 7C 9F 23 78 */ mr r31, r4 -/* 80358DA8 00355D08 7C 04 03 78 */ mr r4, r0 -/* 80358DAC 00355D0C 93 C1 00 08 */ stw r30, 8(r1) -/* 80358DB0 00355D10 7C 7E 1B 78 */ mr r30, r3 -/* 80358DB4 00355D14 38 60 00 08 */ li r3, 8 -/* 80358DB8 00355D18 4B FB CA B5 */ bl __nw__FUlPCcPCc -/* 80358DBC 00355D1C 28 03 00 00 */ cmplwi r3, 0 -/* 80358DC0 00355D20 41 82 00 38 */ beq lbl_80358DF8 -/* 80358DC4 00355D24 3C 80 80 3E */ lis r4, lbl_803D8D6C@ha -/* 80358DC8 00355D28 3C A0 80 3E */ lis r5, lbl_803D8D78@ha -/* 80358DCC 00355D2C 38 04 8D 6C */ addi r0, r4, lbl_803D8D6C@l -/* 80358DD0 00355D30 3C 80 80 3F */ lis r4, lbl_803EF788@ha -/* 80358DD4 00355D34 90 03 00 00 */ stw r0, 0(r3) -/* 80358DD8 00355D38 38 C5 8D 78 */ addi r6, r5, lbl_803D8D78@l -/* 80358DDC 00355D3C 38 A0 00 00 */ li r5, 0 -/* 80358DE0 00355D40 38 04 F7 88 */ addi r0, r4, lbl_803EF788@l -/* 80358DE4 00355D44 90 C3 00 00 */ stw r6, 0(r3) -/* 80358DE8 00355D48 98 BF 00 00 */ stb r5, 0(r31) -/* 80358DEC 00355D4C 80 9F 00 04 */ lwz r4, 4(r31) -/* 80358DF0 00355D50 90 83 00 04 */ stw r4, 4(r3) -/* 80358DF4 00355D54 90 03 00 00 */ stw r0, 0(r3) -lbl_80358DF8: -/* 80358DF8 00355D58 7C 03 00 D0 */ neg r0, r3 -/* 80358DFC 00355D5C 7C 00 1B 78 */ or r0, r0, r3 -/* 80358E00 00355D60 54 00 0F FE */ srwi r0, r0, 0x1f -/* 80358E04 00355D64 98 1E 00 00 */ stb r0, 0(r30) -/* 80358E08 00355D68 90 7E 00 04 */ stw r3, 4(r30) -/* 80358E0C 00355D6C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80358E10 00355D70 83 C1 00 08 */ lwz r30, 8(r1) -/* 80358E14 00355D74 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80358E18 00355D78 7C 08 03 A6 */ mtlr r0 -/* 80358E1C 00355D7C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80358E20 00355D80 4E 80 00 20 */ blr - -.global __ct__Q212CMidiManager9CMidiDataFR12CInputStream -__ct__Q212CMidiManager9CMidiDataFR12CInputStream: -/* 80358E24 00355D84 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80358E28 00355D88 7C 08 02 A6 */ mflr r0 -/* 80358E2C 00355D8C 38 A0 FF FF */ li r5, -1 -/* 80358E30 00355D90 90 01 00 24 */ stw r0, 0x24(r1) -/* 80358E34 00355D94 38 00 00 00 */ li r0, 0 -/* 80358E38 00355D98 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80358E3C 00355D9C 7C 9F 23 78 */ mr r31, r4 -/* 80358E40 00355DA0 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80358E44 00355DA4 7C 7E 1B 78 */ mr r30, r3 -/* 80358E48 00355DA8 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80358E4C 00355DAC B0 A3 00 00 */ sth r5, 0(r3) -/* 80358E50 00355DB0 B0 A3 00 02 */ sth r5, 2(r3) -/* 80358E54 00355DB4 7F E3 FB 78 */ mr r3, r31 -/* 80358E58 00355DB8 90 BE 00 04 */ stw r5, 4(r30) -/* 80358E5C 00355DBC 98 1E 00 08 */ stb r0, 8(r30) -/* 80358E60 00355DC0 90 1E 00 0C */ stw r0, 0xc(r30) -/* 80358E64 00355DC4 4B FE 5E 21 */ bl ReadLong__12CInputStreamFv -/* 80358E68 00355DC8 7F E3 FB 78 */ mr r3, r31 -/* 80358E6C 00355DCC 4B FE 5E 19 */ bl ReadLong__12CInputStreamFv -/* 80358E70 00355DD0 B0 7E 00 00 */ sth r3, 0(r30) -/* 80358E74 00355DD4 7F E3 FB 78 */ mr r3, r31 -/* 80358E78 00355DD8 4B FE 5E 0D */ bl ReadLong__12CInputStreamFv -/* 80358E7C 00355DDC B0 7E 00 02 */ sth r3, 2(r30) -/* 80358E80 00355DE0 7F E3 FB 78 */ mr r3, r31 -/* 80358E84 00355DE4 4B FE 5E 01 */ bl ReadLong__12CInputStreamFv -/* 80358E88 00355DE8 90 7E 00 04 */ stw r3, 4(r30) -/* 80358E8C 00355DEC 7F E3 FB 78 */ mr r3, r31 -/* 80358E90 00355DF0 4B FE 5D F5 */ bl ReadLong__12CInputStreamFv -/* 80358E94 00355DF4 3C 80 80 3E */ lis r4, lbl_803D8340@ha -/* 80358E98 00355DF8 7C 7D 1B 78 */ mr r29, r3 -/* 80358E9C 00355DFC 38 A0 00 00 */ li r5, 0 -/* 80358EA0 00355E00 38 84 83 40 */ addi r4, r4, lbl_803D8340@l -/* 80358EA4 00355E04 4B FB C9 75 */ bl __nwa__FUlPCcPCc -/* 80358EA8 00355E08 7C 83 00 D0 */ neg r4, r3 -/* 80358EAC 00355E0C 38 01 00 08 */ addi r0, r1, 8 -/* 80358EB0 00355E10 7C 84 1B 78 */ or r4, r4, r3 -/* 80358EB4 00355E14 38 BE 00 08 */ addi r5, r30, 8 -/* 80358EB8 00355E18 54 84 0F FE */ srwi r4, r4, 0x1f -/* 80358EBC 00355E1C 90 61 00 0C */ stw r3, 0xc(r1) -/* 80358EC0 00355E20 7C 00 28 40 */ cmplw r0, r5 -/* 80358EC4 00355E24 98 81 00 08 */ stb r4, 8(r1) -/* 80358EC8 00355E28 41 82 00 30 */ beq lbl_80358EF8 -/* 80358ECC 00355E2C 88 05 00 00 */ lbz r0, 0(r5) -/* 80358ED0 00355E30 28 00 00 00 */ cmplwi r0, 0 -/* 80358ED4 00355E34 41 82 00 0C */ beq lbl_80358EE0 -/* 80358ED8 00355E38 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 80358EDC 00355E3C 4B FB CA 55 */ bl Free__7CMemoryFPCv -lbl_80358EE0: -/* 80358EE0 00355E40 88 61 00 08 */ lbz r3, 8(r1) -/* 80358EE4 00355E44 38 00 00 00 */ li r0, 0 -/* 80358EE8 00355E48 98 7E 00 08 */ stb r3, 8(r30) -/* 80358EEC 00355E4C 80 61 00 0C */ lwz r3, 0xc(r1) -/* 80358EF0 00355E50 90 7E 00 0C */ stw r3, 0xc(r30) -/* 80358EF4 00355E54 98 01 00 08 */ stb r0, 8(r1) -lbl_80358EF8: -/* 80358EF8 00355E58 88 01 00 08 */ lbz r0, 8(r1) -/* 80358EFC 00355E5C 28 00 00 00 */ cmplwi r0, 0 -/* 80358F00 00355E60 41 82 00 0C */ beq lbl_80358F0C -/* 80358F04 00355E64 80 61 00 0C */ lwz r3, 0xc(r1) -/* 80358F08 00355E68 4B FB CA 29 */ bl Free__7CMemoryFPCv -lbl_80358F0C: -/* 80358F0C 00355E6C 80 9E 00 0C */ lwz r4, 0xc(r30) -/* 80358F10 00355E70 7F E3 FB 78 */ mr r3, r31 -/* 80358F14 00355E74 7F A5 EB 78 */ mr r5, r29 -/* 80358F18 00355E78 4B FE 60 3D */ bl Get__12CInputStreamFPvUl -/* 80358F1C 00355E7C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80358F20 00355E80 7F C3 F3 78 */ mr r3, r30 -/* 80358F24 00355E84 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80358F28 00355E88 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80358F2C 00355E8C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80358F30 00355E90 7C 08 03 A6 */ mtlr r0 -/* 80358F34 00355E94 38 21 00 20 */ addi r1, r1, 0x20 -/* 80358F38 00355E98 4E 80 00 20 */ blr - -.global LocateHandle__12CMidiManagerFv -LocateHandle__12CMidiManagerFv: -/* 80358F3C 00355E9C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80358F40 00355EA0 7C 08 02 A6 */ mflr r0 -/* 80358F44 00355EA4 3C 80 80 5A */ lis r4, lbl_805A6828@ha -/* 80358F48 00355EA8 90 01 00 34 */ stw r0, 0x34(r1) -/* 80358F4C 00355EAC BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 80358F50 00355EB0 3B C4 68 28 */ addi r30, r4, lbl_805A6828@l -/* 80358F54 00355EB4 3B 9E 00 04 */ addi r28, r30, 4 -/* 80358F58 00355EB8 7C 7F 1B 78 */ mr r31, r3 -/* 80358F5C 00355EBC 3B 60 00 00 */ li r27, 0 -/* 80358F60 00355EC0 7F 9D E3 78 */ mr r29, r28 -/* 80358F64 00355EC4 48 00 00 2C */ b lbl_80358F90 -lbl_80358F68: -/* 80358F68 00355EC8 7F A3 EB 78 */ mr r3, r29 -/* 80358F6C 00355ECC 48 00 03 D1 */ bl IsAvailable__Q212CMidiManager12CMidiWrapperCFv -/* 80358F70 00355ED0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80358F74 00355ED4 41 82 00 14 */ beq lbl_80358F88 -/* 80358F78 00355ED8 7F E3 FB 78 */ mr r3, r31 -/* 80358F7C 00355EDC 7F 64 DB 78 */ mr r4, r27 -/* 80358F80 00355EE0 4B F8 E8 ED */ bl __ct__10CSfxHandleFUi -/* 80358F84 00355EE4 48 00 00 88 */ b lbl_8035900C -lbl_80358F88: -/* 80358F88 00355EE8 3B BD 00 0C */ addi r29, r29, 0xc -/* 80358F8C 00355EEC 3B 7B 00 01 */ addi r27, r27, 1 -lbl_80358F90: -/* 80358F90 00355EF0 80 1E 00 00 */ lwz r0, 0(r30) -/* 80358F94 00355EF4 7C 1B 00 00 */ cmpw r27, r0 -/* 80358F98 00355EF8 41 80 FF D0 */ blt lbl_80358F68 -/* 80358F9C 00355EFC 2C 00 00 03 */ cmpwi r0, 3 -/* 80358FA0 00355F00 40 82 00 10 */ bne lbl_80358FB0 -/* 80358FA4 00355F04 38 00 00 00 */ li r0, 0 -/* 80358FA8 00355F08 90 1F 00 00 */ stw r0, 0(r31) -/* 80358FAC 00355F0C 48 00 00 60 */ b lbl_8035900C -lbl_80358FB0: -/* 80358FB0 00355F10 38 61 00 08 */ addi r3, r1, 8 -/* 80358FB4 00355F14 48 00 03 A1 */ bl __ct__Q212CMidiManager12CMidiWrapperFv -/* 80358FB8 00355F18 3C 60 80 5A */ lis r3, lbl_805A6828@ha -/* 80358FBC 00355F1C 80 03 68 28 */ lwz r0, lbl_805A6828@l(r3) -/* 80358FC0 00355F20 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80358FC4 00355F24 7C 9C 02 15 */ add. r4, r28, r0 -/* 80358FC8 00355F28 41 82 00 24 */ beq lbl_80358FEC -/* 80358FCC 00355F2C 80 61 00 08 */ lwz r3, 8(r1) -/* 80358FD0 00355F30 80 01 00 0C */ lwz r0, 0xc(r1) -/* 80358FD4 00355F34 90 64 00 00 */ stw r3, 0(r4) -/* 80358FD8 00355F38 A8 61 00 10 */ lha r3, 0x10(r1) -/* 80358FDC 00355F3C 90 04 00 04 */ stw r0, 4(r4) -/* 80358FE0 00355F40 88 01 00 12 */ lbz r0, 0x12(r1) -/* 80358FE4 00355F44 B0 64 00 08 */ sth r3, 8(r4) -/* 80358FE8 00355F48 98 04 00 0A */ stb r0, 0xa(r4) -lbl_80358FEC: -/* 80358FEC 00355F4C 3C 80 80 5A */ lis r4, lbl_805A6828@ha -/* 80358FF0 00355F50 7F E3 FB 78 */ mr r3, r31 -/* 80358FF4 00355F54 38 A4 68 28 */ addi r5, r4, lbl_805A6828@l -/* 80358FF8 00355F58 80 85 00 00 */ lwz r4, 0(r5) -/* 80358FFC 00355F5C 38 84 00 01 */ addi r4, r4, 1 -/* 80359000 00355F60 90 85 00 00 */ stw r4, 0(r5) -/* 80359004 00355F64 38 84 FF FF */ addi r4, r4, -1 -/* 80359008 00355F68 4B F8 E8 65 */ bl __ct__10CSfxHandleFUi -lbl_8035900C: -/* 8035900C 00355F6C BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 80359010 00355F70 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80359014 00355F74 7C 08 03 A6 */ mtlr r0 -/* 80359018 00355F78 38 21 00 30 */ addi r1, r1, 0x30 -/* 8035901C 00355F7C 4E 80 00 20 */ blr - -.global StopAll__12CMidiManagerFv -StopAll__12CMidiManagerFv: -/* 80359020 00355F80 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80359024 00355F84 7C 08 02 A6 */ mflr r0 -/* 80359028 00355F88 3C 60 80 5A */ lis r3, lbl_805A6828@ha -/* 8035902C 00355F8C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80359030 00355F90 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80359034 00355F94 3B E3 68 28 */ addi r31, r3, lbl_805A6828@l -/* 80359038 00355F98 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8035903C 00355F9C 3B DF 00 04 */ addi r30, r31, 4 -/* 80359040 00355FA0 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80359044 00355FA4 3B A0 00 00 */ li r29, 0 -/* 80359048 00355FA8 48 00 00 2C */ b lbl_80359074 -lbl_8035904C: -/* 8035904C 00355FAC 7F C3 F3 78 */ mr r3, r30 -/* 80359050 00355FB0 48 00 02 ED */ bl IsAvailable__Q212CMidiManager12CMidiWrapperCFv -/* 80359054 00355FB4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80359058 00355FB8 40 82 00 14 */ bne lbl_8035906C -/* 8035905C 00355FBC 7F C3 F3 78 */ mr r3, r30 -/* 80359060 00355FC0 48 00 02 ED */ bl GetManagerHandle__Q212CMidiManager12CMidiWrapperCFv -/* 80359064 00355FC4 38 80 00 00 */ li r4, 0 -/* 80359068 00355FC8 48 00 00 35 */ bl Stop__12CMidiManagerFRC10CSfxHandleUs -lbl_8035906C: -/* 8035906C 00355FCC 3B DE 00 0C */ addi r30, r30, 0xc -/* 80359070 00355FD0 3B BD 00 01 */ addi r29, r29, 1 -lbl_80359074: -/* 80359074 00355FD4 80 1F 00 00 */ lwz r0, 0(r31) -/* 80359078 00355FD8 7C 1D 00 00 */ cmpw r29, r0 -/* 8035907C 00355FDC 41 80 FF D0 */ blt lbl_8035904C -/* 80359080 00355FE0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80359084 00355FE4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80359088 00355FE8 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8035908C 00355FEC 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80359090 00355FF0 7C 08 03 A6 */ mtlr r0 -/* 80359094 00355FF4 38 21 00 20 */ addi r1, r1, 0x20 -/* 80359098 00355FF8 4E 80 00 20 */ blr - -.global Stop__12CMidiManagerFRC10CSfxHandleUs -Stop__12CMidiManagerFRC10CSfxHandleUs: -/* 8035909C 00355FFC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 803590A0 00356000 7C 08 02 A6 */ mflr r0 -/* 803590A4 00356004 90 01 00 24 */ stw r0, 0x24(r1) -/* 803590A8 00356008 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 803590AC 0035600C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 803590B0 00356010 7C 9E 23 78 */ mr r30, r4 -/* 803590B4 00356014 93 A1 00 14 */ stw r29, 0x14(r1) -/* 803590B8 00356018 7C 7D 1B 78 */ mr r29, r3 -/* 803590BC 0035601C 80 03 00 00 */ lwz r0, 0(r3) -/* 803590C0 00356020 28 00 00 00 */ cmplwi r0, 0 -/* 803590C4 00356024 41 82 00 7C */ beq lbl_80359140 -/* 803590C8 00356028 54 00 05 3E */ clrlwi r0, r0, 0x14 -/* 803590CC 0035602C 3C 60 80 5A */ lis r3, lbl_805A6828@ha -/* 803590D0 00356030 1C 00 00 0C */ mulli r0, r0, 0xc -/* 803590D4 00356034 38 63 68 28 */ addi r3, r3, lbl_805A6828@l -/* 803590D8 00356038 3B E3 00 04 */ addi r31, r3, 4 -/* 803590DC 0035603C 7C 7F 02 14 */ add r3, r31, r0 -/* 803590E0 00356040 48 00 02 6D */ bl GetManagerHandle__Q212CMidiManager12CMidiWrapperCFv -/* 803590E4 00356044 80 9D 00 00 */ lwz r4, 0(r29) -/* 803590E8 00356048 80 03 00 00 */ lwz r0, 0(r3) -/* 803590EC 0035604C 7C 04 00 40 */ cmplw r4, r0 -/* 803590F0 00356050 40 82 00 50 */ bne lbl_80359140 -/* 803590F4 00356054 54 80 05 3E */ clrlwi r0, r4, 0x14 -/* 803590F8 00356058 1C 00 00 0C */ mulli r0, r0, 0xc -/* 803590FC 0035605C 7C 7F 02 14 */ add r3, r31, r0 -/* 80359100 00356060 48 00 02 45 */ bl GetAudioSysHandle__Q212CMidiManager12CMidiWrapperCFv -/* 80359104 00356064 57 C0 04 3F */ clrlwi. r0, r30, 0x10 -/* 80359108 00356068 7C 65 1B 78 */ mr r5, r3 -/* 8035910C 0035606C 40 82 00 0C */ bne lbl_80359118 -/* 80359110 00356070 4B FF 17 F9 */ bl SeqStop__9CAudioSysFUl -/* 80359114 00356074 48 00 00 14 */ b lbl_80359128 -lbl_80359118: -/* 80359118 00356078 7F C4 F3 78 */ mr r4, r30 -/* 8035911C 0035607C 38 60 00 00 */ li r3, 0 -/* 80359120 00356080 38 C0 00 01 */ li r6, 1 -/* 80359124 00356084 4B FF 17 B9 */ bl SeqVolume__9CAudioSysFUcUsUlUc -lbl_80359128: -/* 80359128 00356088 80 1D 00 00 */ lwz r0, 0(r29) -/* 8035912C 0035608C 38 80 00 01 */ li r4, 1 -/* 80359130 00356090 54 00 05 3E */ clrlwi r0, r0, 0x14 -/* 80359134 00356094 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80359138 00356098 7C 7F 02 14 */ add r3, r31, r0 -/* 8035913C 0035609C 48 00 01 F1 */ bl SetAvailable__Q212CMidiManager12CMidiWrapperFb -lbl_80359140: -/* 80359140 003560A0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80359144 003560A4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80359148 003560A8 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8035914C 003560AC 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80359150 003560B0 7C 08 03 A6 */ mtlr r0 -/* 80359154 003560B4 38 21 00 20 */ addi r1, r1, 0x20 -/* 80359158 003560B8 4E 80 00 20 */ blr - -.global Play__12CMidiManagerFRCQ212CMidiManager9CMidiDataUsbs -Play__12CMidiManagerFRCQ212CMidiManager9CMidiDataUsbs: -/* 8035915C 003560BC 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80359160 003560C0 7C 08 02 A6 */ mflr r0 -/* 80359164 003560C4 90 01 00 44 */ stw r0, 0x44(r1) -/* 80359168 003560C8 BE A1 00 14 */ stmw r21, 0x14(r1) -/* 8035916C 003560CC 7C 79 1B 78 */ mr r25, r3 -/* 80359170 003560D0 7C 9A 23 78 */ mr r26, r4 -/* 80359174 003560D4 7C BB 2B 78 */ mr r27, r5 -/* 80359178 003560D8 7C D5 33 78 */ mr r21, r6 -/* 8035917C 003560DC 7C FC 3B 78 */ mr r28, r7 -/* 80359180 003560E0 38 61 00 08 */ addi r3, r1, 8 -/* 80359184 003560E4 3B C0 00 00 */ li r30, 0 -/* 80359188 003560E8 3B A0 00 00 */ li r29, 0 -/* 8035918C 003560EC 4B FF FD B1 */ bl LocateHandle__12CMidiManagerFv -/* 80359190 003560F0 80 01 00 08 */ lwz r0, 8(r1) -/* 80359194 003560F4 28 00 00 00 */ cmplwi r0, 0 -/* 80359198 003560F8 90 01 00 0C */ stw r0, 0xc(r1) -/* 8035919C 003560FC 40 82 00 10 */ bne lbl_803591AC -/* 803591A0 00356100 38 00 00 00 */ li r0, 0 -/* 803591A4 00356104 90 19 00 00 */ stw r0, 0(r25) -/* 803591A8 00356108 48 00 01 54 */ b lbl_803592FC -lbl_803591AC: -/* 803591AC 0035610C 54 00 05 3E */ clrlwi r0, r0, 0x14 -/* 803591B0 00356110 3C 60 80 5A */ lis r3, lbl_805A6828@ha -/* 803591B4 00356114 1C 00 00 0C */ mulli r0, r0, 0xc -/* 803591B8 00356118 38 80 00 00 */ li r4, 0 -/* 803591BC 0035611C 38 63 68 28 */ addi r3, r3, lbl_805A6828@l -/* 803591C0 00356120 3A C3 00 04 */ addi r22, r3, 4 -/* 803591C4 00356124 7F F6 02 14 */ add r31, r22, r0 -/* 803591C8 00356128 7F E3 FB 78 */ mr r3, r31 -/* 803591CC 0035612C 48 00 01 61 */ bl SetAvailable__Q212CMidiManager12CMidiWrapperFb -/* 803591D0 00356130 7F E3 FB 78 */ mr r3, r31 -/* 803591D4 00356134 38 81 00 0C */ addi r4, r1, 0xc -/* 803591D8 00356138 48 00 01 41 */ bl SetMidiHandle__Q212CMidiManager12CMidiWrapperFRC10CSfxHandle -/* 803591DC 0035613C 56 A0 06 3F */ clrlwi. r0, r21, 0x18 -/* 803591E0 00356140 41 82 00 84 */ beq lbl_80359264 -/* 803591E4 00356144 3C 60 80 5A */ lis r3, lbl_805A6828@ha -/* 803591E8 00356148 3A A0 00 00 */ li r21, 0 -/* 803591EC 0035614C 3B 03 68 28 */ addi r24, r3, lbl_805A6828@l -/* 803591F0 00356150 48 00 00 68 */ b lbl_80359258 -lbl_803591F4: -/* 803591F4 00356154 7E C3 B3 78 */ mr r3, r22 -/* 803591F8 00356158 48 00 01 45 */ bl IsAvailable__Q212CMidiManager12CMidiWrapperCFv -/* 803591FC 0035615C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80359200 00356160 40 82 00 50 */ bne lbl_80359250 -/* 80359204 00356164 AA FA 00 00 */ lha r23, 0(r26) -/* 80359208 00356168 7E C3 B3 78 */ mr r3, r22 -/* 8035920C 0035616C 48 00 01 29 */ bl GetSongId__Q212CMidiManager12CMidiWrapperCFv -/* 80359210 00356170 7C 60 07 34 */ extsh r0, r3 -/* 80359214 00356174 7C 17 00 00 */ cmpw r23, r0 -/* 80359218 00356178 40 82 00 28 */ bne lbl_80359240 -/* 8035921C 0035617C 7E C3 B3 78 */ mr r3, r22 -/* 80359220 00356180 3B C0 00 01 */ li r30, 1 -/* 80359224 00356184 48 00 01 21 */ bl GetAudioSysHandle__Q212CMidiManager12CMidiWrapperCFv -/* 80359228 00356188 7C 60 1B 78 */ mr r0, r3 -/* 8035922C 0035618C 7E C3 B3 78 */ mr r3, r22 -/* 80359230 00356190 7C 1D 03 78 */ mr r29, r0 -/* 80359234 00356194 38 80 00 01 */ li r4, 1 -/* 80359238 00356198 48 00 00 F5 */ bl SetAvailable__Q212CMidiManager12CMidiWrapperFb -/* 8035923C 0035619C 48 00 00 14 */ b lbl_80359250 -lbl_80359240: -/* 80359240 003561A0 7E C3 B3 78 */ mr r3, r22 -/* 80359244 003561A4 48 00 01 09 */ bl GetManagerHandle__Q212CMidiManager12CMidiWrapperCFv -/* 80359248 003561A8 7F 64 DB 78 */ mr r4, r27 -/* 8035924C 003561AC 4B FF FE 51 */ bl Stop__12CMidiManagerFRC10CSfxHandleUs -lbl_80359250: -/* 80359250 003561B0 3A D6 00 0C */ addi r22, r22, 0xc -/* 80359254 003561B4 3A B5 00 01 */ addi r21, r21, 1 -lbl_80359258: -/* 80359258 003561B8 80 18 00 00 */ lwz r0, 0(r24) -/* 8035925C 003561BC 7C 15 00 00 */ cmpw r21, r0 -/* 80359260 003561C0 41 80 FF 94 */ blt lbl_803591F4 -lbl_80359264: -/* 80359264 003561C4 57 C0 06 3F */ clrlwi. r0, r30, 0x18 -/* 80359268 003561C8 41 82 00 20 */ beq lbl_80359288 -/* 8035926C 003561CC 7F E3 FB 78 */ mr r3, r31 -/* 80359270 003561D0 7F A4 EB 78 */ mr r4, r29 -/* 80359274 003561D4 48 00 00 B1 */ bl SetAudioSysHandle__Q212CMidiManager12CMidiWrapperFUl -/* 80359278 003561D8 A8 9A 00 00 */ lha r4, 0(r26) -/* 8035927C 003561DC 7F E3 FB 78 */ mr r3, r31 -/* 80359280 003561E0 48 00 00 91 */ bl SetSongId__Q212CMidiManager12CMidiWrapperFs -/* 80359284 003561E4 48 00 00 70 */ b lbl_803592F4 -lbl_80359288: -/* 80359288 003561E8 A8 7A 00 02 */ lha r3, 2(r26) -/* 8035928C 003561EC 38 C0 00 00 */ li r6, 0 -/* 80359290 003561F0 A8 1A 00 00 */ lha r0, 0(r26) -/* 80359294 003561F4 38 E0 00 00 */ li r7, 0 -/* 80359298 003561F8 80 BA 00 0C */ lwz r5, 0xc(r26) -/* 8035929C 003561FC 54 63 04 3E */ clrlwi r3, r3, 0x10 -/* 803592A0 00356200 54 04 04 3E */ clrlwi r4, r0, 0x10 -/* 803592A4 00356204 4B FF 16 85 */ bl SeqPlayEx__9CAudioSysFUsUsPvP12SND_PLAYPARAUc -/* 803592A8 00356208 57 60 04 3F */ clrlwi. r0, r27, 0x10 -/* 803592AC 0035620C 7C 75 1B 78 */ mr r21, r3 -/* 803592B0 00356210 41 82 00 18 */ beq lbl_803592C8 -/* 803592B4 00356214 7E A5 AB 78 */ mr r5, r21 -/* 803592B8 00356218 38 60 00 00 */ li r3, 0 -/* 803592BC 0035621C 38 80 00 00 */ li r4, 0 -/* 803592C0 00356220 38 C0 00 00 */ li r6, 0 -/* 803592C4 00356224 4B FF 16 19 */ bl SeqVolume__9CAudioSysFUcUsUlUc -lbl_803592C8: -/* 803592C8 00356228 7F 64 DB 78 */ mr r4, r27 -/* 803592CC 0035622C 7E A5 AB 78 */ mr r5, r21 -/* 803592D0 00356230 57 83 06 3E */ clrlwi r3, r28, 0x18 -/* 803592D4 00356234 38 C0 00 00 */ li r6, 0 -/* 803592D8 00356238 4B FF 16 05 */ bl SeqVolume__9CAudioSysFUcUsUlUc -/* 803592DC 0035623C 7F E3 FB 78 */ mr r3, r31 -/* 803592E0 00356240 7E A4 AB 78 */ mr r4, r21 -/* 803592E4 00356244 48 00 00 41 */ bl SetAudioSysHandle__Q212CMidiManager12CMidiWrapperFUl -/* 803592E8 00356248 A8 9A 00 00 */ lha r4, 0(r26) -/* 803592EC 0035624C 7F E3 FB 78 */ mr r3, r31 -/* 803592F0 00356250 48 00 00 21 */ bl SetSongId__Q212CMidiManager12CMidiWrapperFs -lbl_803592F4: -/* 803592F4 00356254 80 01 00 0C */ lwz r0, 0xc(r1) -/* 803592F8 00356258 90 19 00 00 */ stw r0, 0(r25) -lbl_803592FC: -/* 803592FC 0035625C BA A1 00 14 */ lmw r21, 0x14(r1) -/* 80359300 00356260 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80359304 00356264 7C 08 03 A6 */ mtlr r0 -/* 80359308 00356268 38 21 00 40 */ addi r1, r1, 0x40 -/* 8035930C 0035626C 4E 80 00 20 */ blr - -.global SetSongId__Q212CMidiManager12CMidiWrapperFs -SetSongId__Q212CMidiManager12CMidiWrapperFs: -/* 80359310 00356270 B0 83 00 08 */ sth r4, 8(r3) -/* 80359314 00356274 4E 80 00 20 */ blr - -.global SetMidiHandle__Q212CMidiManager12CMidiWrapperFRC10CSfxHandle -SetMidiHandle__Q212CMidiManager12CMidiWrapperFRC10CSfxHandle: -/* 80359318 00356278 80 04 00 00 */ lwz r0, 0(r4) -/* 8035931C 0035627C 90 03 00 04 */ stw r0, 4(r3) -/* 80359320 00356280 4E 80 00 20 */ blr - -.global SetAudioSysHandle__Q212CMidiManager12CMidiWrapperFUl -SetAudioSysHandle__Q212CMidiManager12CMidiWrapperFUl: -/* 80359324 00356284 90 83 00 00 */ stw r4, 0(r3) -/* 80359328 00356288 4E 80 00 20 */ blr - -.global SetAvailable__Q212CMidiManager12CMidiWrapperFb -SetAvailable__Q212CMidiManager12CMidiWrapperFb: -/* 8035932C 0035628C 98 83 00 0A */ stb r4, 0xa(r3) -/* 80359330 00356290 4E 80 00 20 */ blr - -.global GetSongId__Q212CMidiManager12CMidiWrapperCFv -GetSongId__Q212CMidiManager12CMidiWrapperCFv: -/* 80359334 00356294 A8 63 00 08 */ lha r3, 8(r3) -/* 80359338 00356298 4E 80 00 20 */ blr - -.global IsAvailable__Q212CMidiManager12CMidiWrapperCFv -IsAvailable__Q212CMidiManager12CMidiWrapperCFv: -/* 8035933C 0035629C 88 63 00 0A */ lbz r3, 0xa(r3) -/* 80359340 003562A0 4E 80 00 20 */ blr - -.global GetAudioSysHandle__Q212CMidiManager12CMidiWrapperCFv -GetAudioSysHandle__Q212CMidiManager12CMidiWrapperCFv: -/* 80359344 003562A4 80 63 00 00 */ lwz r3, 0(r3) -/* 80359348 003562A8 4E 80 00 20 */ blr - -.global GetManagerHandle__Q212CMidiManager12CMidiWrapperCFv -GetManagerHandle__Q212CMidiManager12CMidiWrapperCFv: -/* 8035934C 003562AC 38 63 00 04 */ addi r3, r3, 4 -/* 80359350 003562B0 4E 80 00 20 */ blr - -.global __ct__Q212CMidiManager12CMidiWrapperFv -__ct__Q212CMidiManager12CMidiWrapperFv: -/* 80359354 003562B4 38 80 00 00 */ li r4, 0 -/* 80359358 003562B8 38 00 00 01 */ li r0, 1 -/* 8035935C 003562BC 90 83 00 00 */ stw r4, 0(r3) -/* 80359360 003562C0 90 83 00 04 */ stw r4, 4(r3) -/* 80359364 003562C4 98 03 00 0A */ stb r0, 0xa(r3) -/* 80359368 003562C8 4E 80 00 20 */ blr - -.global __sinit_CMidiManager_cpp -__sinit_CMidiManager_cpp: -/* 8035936C 003562CC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80359370 003562D0 7C 08 02 A6 */ mflr r0 -/* 80359374 003562D4 3C 80 80 36 */ lis r4, "__dt__Q24rstl49reserved_vectorFv"@ha -/* 80359378 003562D8 3C A0 80 54 */ lis r5, lbl_80540010@ha -/* 8035937C 003562DC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80359380 003562E0 38 00 00 00 */ li r0, 0 -/* 80359384 003562E4 3C 60 80 5A */ lis r3, lbl_805A6828@ha -/* 80359388 003562E8 38 84 93 A8 */ addi r4, r4, "__dt__Q24rstl49reserved_vectorFv"@l -/* 8035938C 003562EC 94 03 68 28 */ stwu r0, lbl_805A6828@l(r3) -/* 80359390 003562F0 38 A5 00 10 */ addi r5, r5, lbl_80540010@l -/* 80359394 003562F4 48 03 02 F9 */ bl __register_global_object -/* 80359398 003562F8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8035939C 003562FC 7C 08 03 A6 */ mtlr r0 -/* 803593A0 00356300 38 21 00 10 */ addi r1, r1, 0x10 -/* 803593A4 00356304 4E 80 00 20 */ blr - -.global "__dt__Q24rstl49reserved_vectorFv" -"__dt__Q24rstl49reserved_vectorFv": -/* 803593A8 00356308 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803593AC 0035630C 7C 08 02 A6 */ mflr r0 -/* 803593B0 00356310 90 01 00 14 */ stw r0, 0x14(r1) -/* 803593B4 00356314 93 E1 00 0C */ stw r31, 0xc(r1) -/* 803593B8 00356318 7C 7F 1B 79 */ or. r31, r3, r3 -/* 803593BC 0035631C 41 82 00 68 */ beq lbl_80359424 -/* 803593C0 00356320 80 DF 00 00 */ lwz r6, 0(r31) -/* 803593C4 00356324 38 60 00 00 */ li r3, 0 -/* 803593C8 00356328 2C 06 00 00 */ cmpwi r6, 0 -/* 803593CC 0035632C 40 81 00 40 */ ble lbl_8035940C -/* 803593D0 00356330 2C 06 00 08 */ cmpwi r6, 8 -/* 803593D4 00356334 38 A6 FF F8 */ addi r5, r6, -8 -/* 803593D8 00356338 40 81 00 20 */ ble lbl_803593F8 -/* 803593DC 0035633C 38 05 00 07 */ addi r0, r5, 7 -/* 803593E0 00356340 54 00 E8 FE */ srwi r0, r0, 3 -/* 803593E4 00356344 7C 09 03 A6 */ mtctr r0 -/* 803593E8 00356348 2C 05 00 00 */ cmpwi r5, 0 -/* 803593EC 0035634C 40 81 00 0C */ ble lbl_803593F8 -lbl_803593F0: -/* 803593F0 00356350 38 63 00 08 */ addi r3, r3, 8 -/* 803593F4 00356354 42 00 FF FC */ bdnz lbl_803593F0 -lbl_803593F8: -/* 803593F8 00356358 7C 03 30 50 */ subf r0, r3, r6 -/* 803593FC 0035635C 7C 09 03 A6 */ mtctr r0 -/* 80359400 00356360 7C 03 30 00 */ cmpw r3, r6 -/* 80359404 00356364 40 80 00 08 */ bge lbl_8035940C -lbl_80359408: -/* 80359408 00356368 42 00 00 00 */ bdnz lbl_80359408 -lbl_8035940C: -/* 8035940C 0035636C 38 60 00 00 */ li r3, 0 -/* 80359410 00356370 7C 80 07 35 */ extsh. r0, r4 -/* 80359414 00356374 90 7F 00 00 */ stw r3, 0(r31) -/* 80359418 00356378 40 81 00 0C */ ble lbl_80359424 -/* 8035941C 0035637C 7F E3 FB 78 */ mr r3, r31 -/* 80359420 00356380 4B FB C5 11 */ bl Free__7CMemoryFPCv -lbl_80359424: -/* 80359424 00356384 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80359428 00356388 7F E3 FB 78 */ mr r3, r31 -/* 8035942C 0035638C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80359430 00356390 7C 08 03 A6 */ mtlr r0 -/* 80359434 00356394 38 21 00 10 */ addi r1, r1, 0x10 -/* 80359438 00356398 4E 80 00 20 */ blr - -.global CalculateBaseline__13CFontImageDefFv -CalculateBaseline__13CFontImageDefFv: -/* 8035943C 0035639C 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80359440 003563A0 7C 08 02 A6 */ mflr r0 -/* 80359444 003563A4 90 01 00 44 */ stw r0, 0x44(r1) -/* 80359448 003563A8 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 8035944C 003563AC 7C 7F 1B 78 */ mr r31, r3 -/* 80359450 003563B0 38 61 00 08 */ addi r3, r1, 8 -/* 80359454 003563B4 80 9F 00 10 */ lwz r4, 0x10(r31) -/* 80359458 003563B8 4B FE 7A 51 */ bl __ct__6CTokenFRC6CToken -/* 8035945C 003563BC 38 61 00 08 */ addi r3, r1, 8 -/* 80359460 003563C0 4B FE 79 AD */ bl GetObj__6CTokenFv -/* 80359464 003563C4 80 83 00 04 */ lwz r4, 4(r3) -/* 80359468 003563C8 3C 00 43 30 */ lis r0, 0x4330 -/* 8035946C 003563CC 90 01 00 10 */ stw r0, 0x10(r1) -/* 80359470 003563D0 38 61 00 08 */ addi r3, r1, 8 -/* 80359474 003563D4 A8 04 00 06 */ lha r0, 6(r4) -/* 80359478 003563D8 38 80 00 00 */ li r4, 0 -/* 8035947C 003563DC C8 42 CC E8 */ lfd f2, lbl_805AEA08@sda21(r2) -/* 80359480 003563E0 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 80359484 003563E4 C0 1F 00 18 */ lfs f0, 0x18(r31) -/* 80359488 003563E8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8035948C 003563EC C8 21 00 10 */ lfd f1, 0x10(r1) -/* 80359490 003563F0 EC 21 10 28 */ fsubs f1, f1, f2 -/* 80359494 003563F4 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80359498 003563F8 FC 00 00 1E */ fctiwz f0, f0 -/* 8035949C 003563FC D8 01 00 18 */ stfd f0, 0x18(r1) -/* 803594A0 00356400 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 803594A4 00356404 4B FE 79 9D */ bl __dt__6CTokenFv -/* 803594A8 00356408 6F E3 80 00 */ xoris r3, r31, 0x8000 -/* 803594AC 0035640C 3C 00 43 30 */ lis r0, 0x4330 -/* 803594B0 00356410 90 61 00 24 */ stw r3, 0x24(r1) -/* 803594B4 00356414 C8 42 CC E8 */ lfd f2, lbl_805AEA08@sda21(r2) -/* 803594B8 00356418 90 01 00 20 */ stw r0, 0x20(r1) -/* 803594BC 0035641C C0 62 CC E0 */ lfs f3, lbl_805AEA00@sda21(r2) -/* 803594C0 00356420 C8 21 00 20 */ lfd f1, 0x20(r1) -/* 803594C4 00356424 C0 02 CC E4 */ lfs f0, lbl_805AEA04@sda21(r2) -/* 803594C8 00356428 EC 21 10 28 */ fsubs f1, f1, f2 -/* 803594CC 0035642C EC 23 00 72 */ fmuls f1, f3, f1 -/* 803594D0 00356430 EC 01 00 24 */ fdivs f0, f1, f0 -/* 803594D4 00356434 FC 00 00 1E */ fctiwz f0, f0 -/* 803594D8 00356438 D8 01 00 28 */ stfd f0, 0x28(r1) -/* 803594DC 0035643C 80 61 00 2C */ lwz r3, 0x2c(r1) -/* 803594E0 00356440 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 803594E4 00356444 80 01 00 44 */ lwz r0, 0x44(r1) -/* 803594E8 00356448 7C 08 03 A6 */ mtlr r0 -/* 803594EC 0035644C 38 21 00 40 */ addi r1, r1, 0x40 -/* 803594F0 00356450 4E 80 00 20 */ blr - -.global IsLoaded__13CFontImageDefCFv -IsLoaded__13CFontImageDefCFv: -/* 803594F4 00356454 80 03 00 08 */ lwz r0, 8(r3) -/* 803594F8 00356458 38 A0 00 00 */ li r5, 0 -/* 803594FC 0035645C 7C 09 03 A6 */ mtctr r0 -/* 80359500 00356460 2C 00 00 00 */ cmpwi r0, 0 -/* 80359504 00356464 40 81 00 28 */ ble lbl_8035952C -lbl_80359508: -/* 80359508 00356468 80 83 00 10 */ lwz r4, 0x10(r3) -/* 8035950C 0035646C 7C 84 28 2E */ lwzx r4, r4, r5 -/* 80359510 00356470 80 04 00 10 */ lwz r0, 0x10(r4) -/* 80359514 00356474 28 00 00 00 */ cmplwi r0, 0 -/* 80359518 00356478 40 82 00 0C */ bne lbl_80359524 -/* 8035951C 0035647C 38 60 00 00 */ li r3, 0 -/* 80359520 00356480 4E 80 00 20 */ blr -lbl_80359524: -/* 80359524 00356484 38 A5 00 08 */ addi r5, r5, 8 -/* 80359528 00356488 42 00 FF E0 */ bdnz lbl_80359508 -lbl_8035952C: -/* 8035952C 0035648C 38 60 00 01 */ li r3, 1 -/* 80359530 00356490 4E 80 00 20 */ blr - -.global "__ct__13CFontImageDefFRCQ24rstl54vector<17TToken<8CTexture>,Q24rstl17rmemory_allocator>fRC9CVector2f" -"__ct__13CFontImageDefFRCQ24rstl54vector<17TToken<8CTexture>,Q24rstl17rmemory_allocator>fRC9CVector2f": -/* 80359534 00356494 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80359538 00356498 7C 08 02 A6 */ mflr r0 -/* 8035953C 0035649C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80359540 003564A0 BF 41 00 08 */ stmw r26, 8(r1) -/* 80359544 003564A4 7C 7F 1B 78 */ mr r31, r3 -/* 80359548 003564A8 7C 9C 23 78 */ mr r28, r4 -/* 8035954C 003564AC 7C BA 2B 78 */ mr r26, r5 -/* 80359550 003564B0 D0 23 00 00 */ stfs f1, 0(r3) -/* 80359554 003564B4 80 04 00 04 */ lwz r0, 4(r4) -/* 80359558 003564B8 90 03 00 08 */ stw r0, 8(r3) -/* 8035955C 003564BC 80 04 00 08 */ lwz r0, 8(r4) -/* 80359560 003564C0 90 03 00 0C */ stw r0, 0xc(r3) -/* 80359564 003564C4 80 04 00 04 */ lwz r0, 4(r4) -/* 80359568 003564C8 2C 00 00 00 */ cmpwi r0, 0 -/* 8035956C 003564CC 40 82 00 1C */ bne lbl_80359588 -/* 80359570 003564D0 80 1C 00 08 */ lwz r0, 8(r28) -/* 80359574 003564D4 2C 00 00 00 */ cmpwi r0, 0 -/* 80359578 003564D8 40 82 00 10 */ bne lbl_80359588 -/* 8035957C 003564DC 38 00 00 00 */ li r0, 0 -/* 80359580 003564E0 90 1F 00 10 */ stw r0, 0x10(r31) -/* 80359584 003564E4 48 00 00 6C */ b lbl_803595F0 -lbl_80359588: -/* 80359588 003564E8 80 1F 00 0C */ lwz r0, 0xc(r31) -/* 8035958C 003564EC 54 03 18 39 */ rlwinm. r3, r0, 3, 0, 0x1c -/* 80359590 003564F0 40 82 00 10 */ bne lbl_803595A0 -/* 80359594 003564F4 38 00 00 00 */ li r0, 0 -/* 80359598 003564F8 90 1F 00 10 */ stw r0, 0x10(r31) -/* 8035959C 003564FC 48 00 00 18 */ b lbl_803595B4 -lbl_803595A0: -/* 803595A0 00356500 3C 80 80 3E */ lis r4, lbl_803D8348@ha -/* 803595A4 00356504 38 A0 00 00 */ li r5, 0 -/* 803595A8 00356508 38 84 83 48 */ addi r4, r4, lbl_803D8348@l -/* 803595AC 0035650C 4B FB C2 6D */ bl __nwa__FUlPCcPCc -/* 803595B0 00356510 90 7F 00 10 */ stw r3, 0x10(r31) -lbl_803595B4: -/* 803595B4 00356514 83 7F 00 08 */ lwz r27, 8(r31) -/* 803595B8 00356518 3B C0 00 00 */ li r30, 0 -/* 803595BC 0035651C 83 9C 00 0C */ lwz r28, 0xc(r28) -/* 803595C0 00356520 83 BF 00 10 */ lwz r29, 0x10(r31) -/* 803595C4 00356524 48 00 00 24 */ b lbl_803595E8 -lbl_803595C8: -/* 803595C8 00356528 28 1D 00 00 */ cmplwi r29, 0 -/* 803595CC 0035652C 41 82 00 10 */ beq lbl_803595DC -/* 803595D0 00356530 7F A3 EB 78 */ mr r3, r29 -/* 803595D4 00356534 7F 84 E3 78 */ mr r4, r28 -/* 803595D8 00356538 4B FE 78 D1 */ bl __ct__6CTokenFRC6CToken -lbl_803595DC: -/* 803595DC 0035653C 3B BD 00 08 */ addi r29, r29, 8 -/* 803595E0 00356540 3B DE 00 01 */ addi r30, r30, 1 -/* 803595E4 00356544 3B 9C 00 08 */ addi r28, r28, 8 -lbl_803595E8: -/* 803595E8 00356548 7C 1E D8 00 */ cmpw r30, r27 -/* 803595EC 0035654C 41 80 FF DC */ blt lbl_803595C8 -lbl_803595F0: -/* 803595F0 00356550 C0 1A 00 00 */ lfs f0, 0(r26) -/* 803595F4 00356554 D0 1F 00 14 */ stfs f0, 0x14(r31) -/* 803595F8 00356558 C0 1A 00 04 */ lfs f0, 4(r26) -/* 803595FC 0035655C D0 1F 00 18 */ stfs f0, 0x18(r31) -/* 80359600 00356560 83 7F 00 10 */ lwz r27, 0x10(r31) -/* 80359604 00356564 48 00 00 10 */ b lbl_80359614 -lbl_80359608: -/* 80359608 00356568 7F 63 DB 78 */ mr r3, r27 -/* 8035960C 0035656C 4B FE 77 79 */ bl Lock__6CTokenFv -/* 80359610 00356570 3B 7B 00 08 */ addi r27, r27, 8 -lbl_80359614: -/* 80359614 00356574 80 1F 00 08 */ lwz r0, 8(r31) -/* 80359618 00356578 80 7F 00 10 */ lwz r3, 0x10(r31) -/* 8035961C 0035657C 54 00 18 38 */ slwi r0, r0, 3 -/* 80359620 00356580 7C 03 02 14 */ add r0, r3, r0 -/* 80359624 00356584 7C 1B 00 40 */ cmplw r27, r0 -/* 80359628 00356588 40 82 FF E0 */ bne lbl_80359608 -/* 8035962C 0035658C 7F E3 FB 78 */ mr r3, r31 -/* 80359630 00356590 BB 41 00 08 */ lmw r26, 8(r1) -/* 80359634 00356594 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80359638 00356598 7C 08 03 A6 */ mtlr r0 -/* 8035963C 0035659C 38 21 00 20 */ addi r1, r1, 0x20 -/* 80359640 003565A0 4E 80 00 20 */ blr - -.global "__ct__13CFontImageDefFRC17TToken<8CTexture>RC9CVector2f" -"__ct__13CFontImageDefFRC17TToken<8CTexture>RC9CVector2f": -/* 80359644 003565A4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80359648 003565A8 7C 08 02 A6 */ mflr r0 -/* 8035964C 003565AC C0 02 CC F0 */ lfs f0, lbl_805AEA10@sda21(r2) -/* 80359650 003565B0 90 01 00 24 */ stw r0, 0x24(r1) -/* 80359654 003565B4 38 00 00 01 */ li r0, 1 -/* 80359658 003565B8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8035965C 003565BC 7C BF 2B 78 */ mr r31, r5 -/* 80359660 003565C0 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80359664 003565C4 7C 9E 23 78 */ mr r30, r4 -/* 80359668 003565C8 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8035966C 003565CC 7C 7D 1B 78 */ mr r29, r3 -/* 80359670 003565D0 D0 03 00 00 */ stfs f0, 0(r3) -/* 80359674 003565D4 90 03 00 08 */ stw r0, 8(r3) -/* 80359678 003565D8 90 03 00 0C */ stw r0, 0xc(r3) -/* 8035967C 003565DC 80 03 00 08 */ lwz r0, 8(r3) -/* 80359680 003565E0 54 03 18 39 */ rlwinm. r3, r0, 3, 0, 0x1c -/* 80359684 003565E4 40 82 00 10 */ bne lbl_80359694 -/* 80359688 003565E8 38 00 00 00 */ li r0, 0 -/* 8035968C 003565EC 90 1D 00 10 */ stw r0, 0x10(r29) -/* 80359690 003565F0 48 00 00 18 */ b lbl_803596A8 -lbl_80359694: -/* 80359694 003565F4 3C 80 80 3E */ lis r4, lbl_803D8348@ha -/* 80359698 003565F8 38 A0 00 00 */ li r5, 0 -/* 8035969C 003565FC 38 84 83 48 */ addi r4, r4, lbl_803D8348@l -/* 803596A0 00356600 4B FB C1 79 */ bl __nwa__FUlPCcPCc -/* 803596A4 00356604 90 7D 00 10 */ stw r3, 0x10(r29) -lbl_803596A8: -/* 803596A8 00356608 80 7D 00 10 */ lwz r3, 0x10(r29) -/* 803596AC 0035660C 28 03 00 00 */ cmplwi r3, 0 -/* 803596B0 00356610 41 82 00 0C */ beq lbl_803596BC -/* 803596B4 00356614 7F C4 F3 78 */ mr r4, r30 -/* 803596B8 00356618 4B FE 77 F1 */ bl __ct__6CTokenFRC6CToken -lbl_803596BC: -/* 803596BC 0035661C C0 1F 00 00 */ lfs f0, 0(r31) -/* 803596C0 00356620 D0 1D 00 14 */ stfs f0, 0x14(r29) -/* 803596C4 00356624 C0 1F 00 04 */ lfs f0, 4(r31) -/* 803596C8 00356628 D0 1D 00 18 */ stfs f0, 0x18(r29) -/* 803596CC 0035662C 83 FD 00 10 */ lwz r31, 0x10(r29) -/* 803596D0 00356630 48 00 00 10 */ b lbl_803596E0 -lbl_803596D4: -/* 803596D4 00356634 7F E3 FB 78 */ mr r3, r31 -/* 803596D8 00356638 4B FE 76 AD */ bl Lock__6CTokenFv -/* 803596DC 0035663C 3B FF 00 08 */ addi r31, r31, 8 -lbl_803596E0: -/* 803596E0 00356640 80 1D 00 08 */ lwz r0, 8(r29) -/* 803596E4 00356644 80 7D 00 10 */ lwz r3, 0x10(r29) -/* 803596E8 00356648 54 00 18 38 */ slwi r0, r0, 3 -/* 803596EC 0035664C 7C 03 02 14 */ add r0, r3, r0 -/* 803596F0 00356650 7C 1F 00 40 */ cmplw r31, r0 -/* 803596F4 00356654 40 82 FF E0 */ bne lbl_803596D4 -/* 803596F8 00356658 80 01 00 24 */ lwz r0, 0x24(r1) -/* 803596FC 0035665C 7F A3 EB 78 */ mr r3, r29 -/* 80359700 00356660 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80359704 00356664 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80359708 00356668 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8035970C 0035666C 7C 08 03 A6 */ mtlr r0 -/* 80359710 00356670 38 21 00 20 */ addi r1, r1, 0x20 -/* 80359714 00356674 4E 80 00 20 */ blr - -.global __dt__17CImageInstructionFv -__dt__17CImageInstructionFv: -/* 80359718 00356678 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8035971C 0035667C 7C 08 02 A6 */ mflr r0 -/* 80359720 00356680 90 01 00 14 */ stw r0, 0x14(r1) -/* 80359724 00356684 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80359728 00356688 7C 9F 23 78 */ mr r31, r4 -/* 8035972C 0035668C 93 C1 00 08 */ stw r30, 8(r1) -/* 80359730 00356690 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80359734 00356694 41 82 00 40 */ beq lbl_80359774 -/* 80359738 00356698 3C 80 80 3F */ lis r4, lbl_803EF798@ha -/* 8035973C 0035669C 38 7E 00 04 */ addi r3, r30, 4 -/* 80359740 003566A0 38 04 F7 98 */ addi r0, r4, lbl_803EF798@l -/* 80359744 003566A4 38 80 FF FF */ li r4, -1 -/* 80359748 003566A8 90 1E 00 00 */ stw r0, 0(r30) -/* 8035974C 003566AC 4B CC F4 B1 */ bl sub_80028bfc -/* 80359750 003566B0 28 1E 00 00 */ cmplwi r30, 0 -/* 80359754 003566B4 41 82 00 10 */ beq lbl_80359764 -/* 80359758 003566B8 3C 60 80 3E */ lis r3, lbl_803D9A6C@ha -/* 8035975C 003566BC 38 03 9A 6C */ addi r0, r3, lbl_803D9A6C@l -/* 80359760 003566C0 90 1E 00 00 */ stw r0, 0(r30) -lbl_80359764: -/* 80359764 003566C4 7F E0 07 35 */ extsh. r0, r31 -/* 80359768 003566C8 40 81 00 0C */ ble lbl_80359774 -/* 8035976C 003566CC 7F C3 F3 78 */ mr r3, r30 -/* 80359770 003566D0 4B FB C1 C1 */ bl Free__7CMemoryFPCv -lbl_80359774: -/* 80359774 003566D4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80359778 003566D8 7F C3 F3 78 */ mr r3, r30 -/* 8035977C 003566DC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80359780 003566E0 83 C1 00 08 */ lwz r30, 8(r1) -/* 80359784 003566E4 7C 08 03 A6 */ mtlr r0 -/* 80359788 003566E8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8035978C 003566EC 4E 80 00 20 */ blr - -.global GetAssetCount__17CImageInstructionCFv -GetAssetCount__17CImageInstructionCFv: -/* 80359790 003566F0 80 63 00 0C */ lwz r3, 0xc(r3) -/* 80359794 003566F4 4E 80 00 20 */ blr - -.global "GetAssets__17CImageInstructionCFRQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>" -"GetAssets__17CImageInstructionCFRQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>": -/* 80359798 003566F8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8035979C 003566FC 7C 08 02 A6 */ mflr r0 -/* 803597A0 00356700 90 01 00 24 */ stw r0, 0x24(r1) -/* 803597A4 00356704 BF 61 00 0C */ stmw r27, 0xc(r1) -/* 803597A8 00356708 7C 7B 1B 78 */ mr r27, r3 -/* 803597AC 0035670C 7C 9C 23 78 */ mr r28, r4 -/* 803597B0 00356710 3B A0 00 00 */ li r29, 0 -/* 803597B4 00356714 3B C0 00 00 */ li r30, 0 -/* 803597B8 00356718 48 00 00 64 */ b lbl_8035981C -lbl_803597BC: -/* 803597BC 0035671C 80 1C 00 04 */ lwz r0, 4(r28) -/* 803597C0 00356720 80 BC 00 08 */ lwz r5, 8(r28) -/* 803597C4 00356724 80 7B 00 14 */ lwz r3, 0x14(r27) -/* 803597C8 00356728 7C 00 28 00 */ cmpw r0, r5 -/* 803597CC 0035672C 7F E3 F2 14 */ add r31, r3, r30 -/* 803597D0 00356730 41 80 00 1C */ blt lbl_803597EC -/* 803597D4 00356734 2C 05 00 00 */ cmpwi r5, 0 -/* 803597D8 00356738 7F 83 E3 78 */ mr r3, r28 -/* 803597DC 0035673C 38 80 00 04 */ li r4, 4 -/* 803597E0 00356740 41 82 00 08 */ beq lbl_803597E8 -/* 803597E4 00356744 54 A4 08 3C */ slwi r4, r5, 1 -lbl_803597E8: -/* 803597E8 00356748 4B CA F1 75 */ bl "reserve__Q24rstl42vector<6CToken,Q24rstl17rmemory_allocator>Fi" -lbl_803597EC: -/* 803597EC 0035674C 80 1C 00 04 */ lwz r0, 4(r28) -/* 803597F0 00356750 80 7C 00 0C */ lwz r3, 0xc(r28) -/* 803597F4 00356754 54 00 18 38 */ slwi r0, r0, 3 -/* 803597F8 00356758 7C 63 02 15 */ add. r3, r3, r0 -/* 803597FC 0035675C 41 82 00 0C */ beq lbl_80359808 -/* 80359800 00356760 7F E4 FB 78 */ mr r4, r31 -/* 80359804 00356764 4B FE 76 A5 */ bl __ct__6CTokenFRC6CToken -lbl_80359808: -/* 80359808 00356768 80 7C 00 04 */ lwz r3, 4(r28) -/* 8035980C 0035676C 3B DE 00 08 */ addi r30, r30, 8 -/* 80359810 00356770 3B BD 00 01 */ addi r29, r29, 1 -/* 80359814 00356774 38 03 00 01 */ addi r0, r3, 1 -/* 80359818 00356778 90 1C 00 04 */ stw r0, 4(r28) -lbl_8035981C: -/* 8035981C 0035677C 80 1B 00 0C */ lwz r0, 0xc(r27) -/* 80359820 00356780 7C 1D 00 00 */ cmpw r29, r0 -/* 80359824 00356784 41 80 FF 98 */ blt lbl_803597BC -/* 80359828 00356788 BB 61 00 0C */ lmw r27, 0xc(r1) -/* 8035982C 0035678C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80359830 00356790 7C 08 03 A6 */ mtlr r0 -/* 80359834 00356794 38 21 00 20 */ addi r1, r1, 0x20 -/* 80359838 00356798 4E 80 00 20 */ blr - -.global Invoke__17CImageInstructionCFR16CFontRenderStateP17CTextRenderBuffer -Invoke__17CImageInstructionCFR16CFontRenderStateP17CTextRenderBuffer: -/* 8035983C 0035679C 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 80359840 003567A0 7C 08 02 A6 */ mflr r0 -/* 80359844 003567A4 90 01 00 54 */ stw r0, 0x54(r1) -/* 80359848 003567A8 BF 41 00 38 */ stmw r26, 0x38(r1) -/* 8035984C 003567AC 7C 7D 1B 78 */ mr r29, r3 -/* 80359850 003567B0 7C 9E 23 78 */ mr r30, r4 -/* 80359854 003567B4 7C BF 2B 78 */ mr r31, r5 -/* 80359858 003567B8 38 7D 00 04 */ addi r3, r29, 4 -/* 8035985C 003567BC 4B FF FC 99 */ bl IsLoaded__13CFontImageDefCFv -/* 80359860 003567C0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80359864 003567C4 41 82 01 7C */ beq lbl_803599E0 -/* 80359868 003567C8 80 1D 00 0C */ lwz r0, 0xc(r29) -/* 8035986C 003567CC 2C 00 00 00 */ cmpwi r0, 0 -/* 80359870 003567D0 41 82 01 70 */ beq lbl_803599E0 -/* 80359874 003567D4 80 7E 00 88 */ lwz r3, 0x88(r30) -/* 80359878 003567D8 80 03 00 14 */ lwz r0, 0x14(r3) -/* 8035987C 003567DC 2C 00 00 00 */ cmpwi r0, 0 -/* 80359880 003567E0 40 82 00 B0 */ bne lbl_80359930 -/* 80359884 003567E4 28 1F 00 00 */ cmplwi r31, 0 -/* 80359888 003567E8 41 82 00 40 */ beq lbl_803598C8 -/* 8035988C 003567EC 83 7E 00 D8 */ lwz r27, 0xd8(r30) -/* 80359890 003567F0 83 5E 00 D4 */ lwz r26, 0xd4(r30) -/* 80359894 003567F4 80 7E 00 DC */ lwz r3, 0xdc(r30) -/* 80359898 003567F8 4B FA 60 65 */ bl GetBaseline__16CLineInstructionFv -/* 8035989C 003567FC 7F 9B 1A 14 */ add r28, r27, r3 -/* 803598A0 00356800 38 7D 00 04 */ addi r3, r29, 4 -/* 803598A4 00356804 4B FF FB 99 */ bl CalculateBaseline__13CFontImageDefFv -/* 803598A8 00356808 7C A3 E0 50 */ subf r5, r3, r28 -/* 803598AC 0035680C 7F 44 D3 78 */ mr r4, r26 -/* 803598B0 00356810 38 61 00 20 */ addi r3, r1, 0x20 -/* 803598B4 00356814 4B FB AA 99 */ bl __ct__9CVector2iFii -/* 803598B8 00356818 7C 64 1B 78 */ mr r4, r3 -/* 803598BC 0035681C 7F E3 FB 78 */ mr r3, r31 -/* 803598C0 00356820 38 BD 00 04 */ addi r5, r29, 4 -/* 803598C4 00356824 48 00 13 05 */ bl AddImage__17CTextRenderBufferFRC9CVector2iRC13CFontImageDef -lbl_803598C8: -/* 803598C8 00356828 83 7E 00 D4 */ lwz r27, 0xd4(r30) -/* 803598CC 0035682C 38 61 00 08 */ addi r3, r1, 8 -/* 803598D0 00356830 80 9D 00 14 */ lwz r4, 0x14(r29) -/* 803598D4 00356834 4B FE 75 D5 */ bl __ct__6CTokenFRC6CToken -/* 803598D8 00356838 38 61 00 08 */ addi r3, r1, 8 -/* 803598DC 0035683C 4B FE 75 31 */ bl GetObj__6CTokenFv -/* 803598E0 00356840 80 83 00 04 */ lwz r4, 4(r3) -/* 803598E4 00356844 3C 00 43 30 */ lis r0, 0x4330 -/* 803598E8 00356848 90 01 00 28 */ stw r0, 0x28(r1) -/* 803598EC 0035684C 38 61 00 08 */ addi r3, r1, 8 -/* 803598F0 00356850 A8 04 00 04 */ lha r0, 4(r4) -/* 803598F4 00356854 38 80 00 00 */ li r4, 0 -/* 803598F8 00356858 C8 42 CC F8 */ lfd f2, lbl_805AEA18@sda21(r2) -/* 803598FC 0035685C 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 80359900 00356860 C0 1D 00 18 */ lfs f0, 0x18(r29) -/* 80359904 00356864 90 01 00 2C */ stw r0, 0x2c(r1) -/* 80359908 00356868 C8 21 00 28 */ lfd f1, 0x28(r1) -/* 8035990C 0035686C EC 21 10 28 */ fsubs f1, f1, f2 -/* 80359910 00356870 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80359914 00356874 FC 00 00 1E */ fctiwz f0, f0 -/* 80359918 00356878 D8 01 00 30 */ stfd f0, 0x30(r1) -/* 8035991C 0035687C 83 81 00 34 */ lwz r28, 0x34(r1) -/* 80359920 00356880 4B FE 75 21 */ bl __dt__6CTokenFv -/* 80359924 00356884 7C 1B E2 14 */ add r0, r27, r28 -/* 80359928 00356888 90 1E 00 D4 */ stw r0, 0xd4(r30) -/* 8035992C 0035688C 48 00 00 B4 */ b lbl_803599E0 -lbl_80359930: -/* 80359930 00356890 80 BE 00 DC */ lwz r5, 0xdc(r30) -/* 80359934 00356894 38 61 00 10 */ addi r3, r1, 0x10 -/* 80359938 00356898 80 9D 00 14 */ lwz r4, 0x14(r29) -/* 8035993C 0035689C 83 85 00 08 */ lwz r28, 8(r5) -/* 80359940 003568A0 4B FE 75 69 */ bl __ct__6CTokenFRC6CToken -/* 80359944 003568A4 38 61 00 10 */ addi r3, r1, 0x10 -/* 80359948 003568A8 4B FE 74 C5 */ bl GetObj__6CTokenFv -/* 8035994C 003568AC 80 83 00 04 */ lwz r4, 4(r3) -/* 80359950 003568B0 3C 00 43 30 */ lis r0, 0x4330 -/* 80359954 003568B4 90 01 00 30 */ stw r0, 0x30(r1) -/* 80359958 003568B8 38 61 00 10 */ addi r3, r1, 0x10 -/* 8035995C 003568BC A8 04 00 04 */ lha r0, 4(r4) -/* 80359960 003568C0 38 80 00 00 */ li r4, 0 -/* 80359964 003568C4 C8 42 CC F8 */ lfd f2, lbl_805AEA18@sda21(r2) -/* 80359968 003568C8 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 8035996C 003568CC C0 1D 00 18 */ lfs f0, 0x18(r29) -/* 80359970 003568D0 90 01 00 34 */ stw r0, 0x34(r1) -/* 80359974 003568D4 C8 21 00 30 */ lfd f1, 0x30(r1) -/* 80359978 003568D8 EC 21 10 28 */ fsubs f1, f1, f2 -/* 8035997C 003568DC EC 01 00 32 */ fmuls f0, f1, f0 -/* 80359980 003568E0 FC 00 00 1E */ fctiwz f0, f0 -/* 80359984 003568E4 D8 01 00 28 */ stfd f0, 0x28(r1) -/* 80359988 003568E8 83 61 00 2C */ lwz r27, 0x2c(r1) -/* 8035998C 003568EC 4B FE 74 B5 */ bl __dt__6CTokenFv -/* 80359990 003568F0 7C 7B E0 50 */ subf r3, r27, r28 -/* 80359994 003568F4 28 1F 00 00 */ cmplwi r31, 0 -/* 80359998 003568F8 54 60 0F FE */ srwi r0, r3, 0x1f -/* 8035999C 003568FC 7C 00 1A 14 */ add r0, r0, r3 -/* 803599A0 00356900 7C 04 0E 70 */ srawi r4, r0, 1 -/* 803599A4 00356904 41 82 00 28 */ beq lbl_803599CC -/* 803599A8 00356908 80 1E 00 D4 */ lwz r0, 0xd4(r30) -/* 803599AC 0035690C 38 61 00 18 */ addi r3, r1, 0x18 -/* 803599B0 00356910 80 BE 00 D8 */ lwz r5, 0xd8(r30) -/* 803599B4 00356914 7C 84 02 14 */ add r4, r4, r0 -/* 803599B8 00356918 4B FB A9 95 */ bl __ct__9CVector2iFii -/* 803599BC 0035691C 7C 64 1B 78 */ mr r4, r3 -/* 803599C0 00356920 7F E3 FB 78 */ mr r3, r31 -/* 803599C4 00356924 38 BD 00 04 */ addi r5, r29, 4 -/* 803599C8 00356928 48 00 12 01 */ bl AddImage__17CTextRenderBufferFRC9CVector2iRC13CFontImageDef -lbl_803599CC: -/* 803599CC 0035692C 83 5E 00 D8 */ lwz r26, 0xd8(r30) -/* 803599D0 00356930 38 7D 00 04 */ addi r3, r29, 4 -/* 803599D4 00356934 48 00 00 21 */ bl CalculateHeight__13CFontImageDefFv -/* 803599D8 00356938 7C 1A 1A 14 */ add r0, r26, r3 -/* 803599DC 0035693C 90 1E 00 D8 */ stw r0, 0xd8(r30) -lbl_803599E0: -/* 803599E0 00356940 BB 41 00 38 */ lmw r26, 0x38(r1) -/* 803599E4 00356944 80 01 00 54 */ lwz r0, 0x54(r1) -/* 803599E8 00356948 7C 08 03 A6 */ mtlr r0 -/* 803599EC 0035694C 38 21 00 50 */ addi r1, r1, 0x50 -/* 803599F0 00356950 4E 80 00 20 */ blr - -.global CalculateHeight__13CFontImageDefFv -CalculateHeight__13CFontImageDefFv: -/* 803599F4 00356954 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 803599F8 00356958 7C 08 02 A6 */ mflr r0 -/* 803599FC 0035695C 90 01 00 54 */ stw r0, 0x54(r1) -/* 80359A00 00356960 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 80359A04 00356964 93 C1 00 48 */ stw r30, 0x48(r1) -/* 80359A08 00356968 93 A1 00 44 */ stw r29, 0x44(r1) -/* 80359A0C 0035696C 7C 7D 1B 78 */ mr r29, r3 -/* 80359A10 00356970 38 61 00 10 */ addi r3, r1, 0x10 -/* 80359A14 00356974 80 9D 00 10 */ lwz r4, 0x10(r29) -/* 80359A18 00356978 4B FE 74 91 */ bl __ct__6CTokenFRC6CToken -/* 80359A1C 0035697C 38 61 00 10 */ addi r3, r1, 0x10 -/* 80359A20 00356980 4B FE 73 ED */ bl GetObj__6CTokenFv -/* 80359A24 00356984 80 83 00 04 */ lwz r4, 4(r3) -/* 80359A28 00356988 3C 00 43 30 */ lis r0, 0x4330 -/* 80359A2C 0035698C 90 01 00 18 */ stw r0, 0x18(r1) -/* 80359A30 00356990 38 61 00 10 */ addi r3, r1, 0x10 -/* 80359A34 00356994 A8 04 00 06 */ lha r0, 6(r4) -/* 80359A38 00356998 38 80 00 00 */ li r4, 0 -/* 80359A3C 0035699C C8 42 CC F8 */ lfd f2, lbl_805AEA18@sda21(r2) -/* 80359A40 003569A0 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 80359A44 003569A4 C0 1D 00 18 */ lfs f0, 0x18(r29) -/* 80359A48 003569A8 90 01 00 1C */ stw r0, 0x1c(r1) -/* 80359A4C 003569AC C8 21 00 18 */ lfd f1, 0x18(r1) -/* 80359A50 003569B0 EC 21 10 28 */ fsubs f1, f1, f2 -/* 80359A54 003569B4 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80359A58 003569B8 FC 00 00 1E */ fctiwz f0, f0 -/* 80359A5C 003569BC D8 01 00 20 */ stfd f0, 0x20(r1) -/* 80359A60 003569C0 83 E1 00 24 */ lwz r31, 0x24(r1) -/* 80359A64 003569C4 4B FE 73 DD */ bl __dt__6CTokenFv -/* 80359A68 003569C8 80 9D 00 10 */ lwz r4, 0x10(r29) -/* 80359A6C 003569CC 38 61 00 08 */ addi r3, r1, 8 -/* 80359A70 003569D0 4B FE 74 39 */ bl __ct__6CTokenFRC6CToken -/* 80359A74 003569D4 38 61 00 08 */ addi r3, r1, 8 -/* 80359A78 003569D8 4B FE 73 95 */ bl GetObj__6CTokenFv -/* 80359A7C 003569DC 80 83 00 04 */ lwz r4, 4(r3) -/* 80359A80 003569E0 3C 00 43 30 */ lis r0, 0x4330 -/* 80359A84 003569E4 90 01 00 28 */ stw r0, 0x28(r1) -/* 80359A88 003569E8 38 61 00 08 */ addi r3, r1, 8 -/* 80359A8C 003569EC A8 04 00 06 */ lha r0, 6(r4) -/* 80359A90 003569F0 38 80 00 00 */ li r4, 0 -/* 80359A94 003569F4 C8 42 CC F8 */ lfd f2, lbl_805AEA18@sda21(r2) -/* 80359A98 003569F8 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 80359A9C 003569FC C0 1D 00 18 */ lfs f0, 0x18(r29) -/* 80359AA0 00356A00 90 01 00 2C */ stw r0, 0x2c(r1) -/* 80359AA4 00356A04 C8 21 00 28 */ lfd f1, 0x28(r1) -/* 80359AA8 00356A08 EC 21 10 28 */ fsubs f1, f1, f2 -/* 80359AAC 00356A0C EC 01 00 32 */ fmuls f0, f1, f0 -/* 80359AB0 00356A10 FC 00 00 1E */ fctiwz f0, f0 -/* 80359AB4 00356A14 D8 01 00 30 */ stfd f0, 0x30(r1) -/* 80359AB8 00356A18 83 C1 00 34 */ lwz r30, 0x34(r1) -/* 80359ABC 00356A1C 4B FE 73 85 */ bl __dt__6CTokenFv -/* 80359AC0 00356A20 7F A3 EB 78 */ mr r3, r29 -/* 80359AC4 00356A24 4B FF F9 79 */ bl CalculateBaseline__13CFontImageDefFv -/* 80359AC8 00356A28 7C 03 F0 50 */ subf r0, r3, r30 -/* 80359ACC 00356A2C 7C 60 F8 50 */ subf r3, r0, r31 -/* 80359AD0 00356A30 80 01 00 54 */ lwz r0, 0x54(r1) -/* 80359AD4 00356A34 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 80359AD8 00356A38 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 80359ADC 00356A3C 83 A1 00 44 */ lwz r29, 0x44(r1) -/* 80359AE0 00356A40 7C 08 03 A6 */ mtlr r0 -/* 80359AE4 00356A44 38 21 00 50 */ addi r1, r1, 0x50 -/* 80359AE8 00356A48 4E 80 00 20 */ blr - -.global AccumulateTextBounds__17CTextRenderBufferFv -AccumulateTextBounds__17CTextRenderBufferFv: -/* 80359AEC 00356A4C 94 21 FF 40 */ stwu r1, -0xc0(r1) -/* 80359AF0 00356A50 7C 08 02 A6 */ mflr r0 -/* 80359AF4 00356A54 3C A0 80 00 */ lis r5, 0x7FFFFFFF@ha -/* 80359AF8 00356A58 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 80359AFC 00356A5C BE E1 00 9C */ stmw r23, 0x9c(r1) -/* 80359B00 00356A60 7C 9B 23 78 */ mr r27, r4 -/* 80359B04 00356A64 38 85 FF FF */ addi r4, r5, 0x7FFFFFFF@l -/* 80359B08 00356A68 7C 7A 1B 78 */ mr r26, r3 -/* 80359B0C 00356A6C 7C 85 23 78 */ mr r5, r4 -/* 80359B10 00356A70 38 61 00 48 */ addi r3, r1, 0x48 -/* 80359B14 00356A74 4B FB A8 39 */ bl __ct__9CVector2iFii -/* 80359B18 00356A78 38 61 00 40 */ addi r3, r1, 0x40 -/* 80359B1C 00356A7C 3C 80 80 00 */ lis r4, 0x8000 -/* 80359B20 00356A80 3C A0 80 00 */ lis r5, 0x8000 -/* 80359B24 00356A84 4B FB A8 29 */ bl __ct__9CVector2iFii -/* 80359B28 00356A88 80 9B 00 40 */ lwz r4, 0x40(r27) -/* 80359B2C 00356A8C 38 61 00 50 */ addi r3, r1, 0x50 -/* 80359B30 00356A90 80 BB 00 44 */ lwz r5, 0x44(r27) -/* 80359B34 00356A94 38 C0 00 01 */ li r6, 1 -/* 80359B38 00356A98 4B FE 56 D5 */ bl __ct__15CMemoryInStreamFPvUlQ215CMemoryInStream10EOwnerShip -/* 80359B3C 00356A9C 3B A1 00 44 */ addi r29, r1, 0x44 -/* 80359B40 00356AA0 3B 81 00 4C */ addi r28, r1, 0x4c -/* 80359B44 00356AA4 48 00 03 18 */ b lbl_80359E5C -lbl_80359B48: -/* 80359B48 00356AA8 38 61 00 50 */ addi r3, r1, 0x50 -/* 80359B4C 00356AAC 4B FE 51 C1 */ bl ReadChar__12CInputStreamFv -/* 80359B50 00356AB0 54 60 06 3E */ clrlwi r0, r3, 0x18 -/* 80359B54 00356AB4 2C 00 00 02 */ cmpwi r0, 2 -/* 80359B58 00356AB8 41 82 02 EC */ beq lbl_80359E44 -/* 80359B5C 00356ABC 40 80 00 14 */ bge lbl_80359B70 -/* 80359B60 00356AC0 2C 00 00 00 */ cmpwi r0, 0 -/* 80359B64 00356AC4 41 82 00 18 */ beq lbl_80359B7C -/* 80359B68 00356AC8 40 80 01 58 */ bge lbl_80359CC0 -/* 80359B6C 00356ACC 48 00 02 F0 */ b lbl_80359E5C -lbl_80359B70: -/* 80359B70 00356AD0 2C 00 00 04 */ cmpwi r0, 4 -/* 80359B74 00356AD4 40 80 02 E8 */ bge lbl_80359E5C -/* 80359B78 00356AD8 48 00 02 DC */ b lbl_80359E54 -lbl_80359B7C: -/* 80359B7C 00356ADC 38 61 00 50 */ addi r3, r1, 0x50 -/* 80359B80 00356AE0 4B FE 51 31 */ bl ReadShort__12CInputStreamFv -/* 80359B84 00356AE4 7C 7F 07 34 */ extsh r31, r3 -/* 80359B88 00356AE8 38 61 00 50 */ addi r3, r1, 0x50 -/* 80359B8C 00356AEC 4B FE 51 25 */ bl ReadShort__12CInputStreamFv -/* 80359B90 00356AF0 7C 7E 07 34 */ extsh r30, r3 -/* 80359B94 00356AF4 38 61 00 50 */ addi r3, r1, 0x50 -/* 80359B98 00356AF8 4B FE 51 19 */ bl ReadShort__12CInputStreamFv -/* 80359B9C 00356AFC 7C 79 07 34 */ extsh r25, r3 -/* 80359BA0 00356B00 38 61 00 50 */ addi r3, r1, 0x50 -/* 80359BA4 00356B04 4B FE 50 E1 */ bl ReadLong__12CInputStreamFv -/* 80359BA8 00356B08 88 1B 00 4C */ lbz r0, 0x4c(r27) -/* 80359BAC 00356B0C 7C 00 07 74 */ extsb r0, r0 -/* 80359BB0 00356B10 2C 00 FF FF */ cmpwi r0, -1 -/* 80359BB4 00356B14 41 82 02 A8 */ beq lbl_80359E5C -/* 80359BB8 00356B18 80 9B 00 10 */ lwz r4, 0x10(r27) -/* 80359BBC 00356B1C 54 00 18 38 */ slwi r0, r0, 3 -/* 80359BC0 00356B20 38 61 00 38 */ addi r3, r1, 0x38 -/* 80359BC4 00356B24 7C 84 02 14 */ add r4, r4, r0 -/* 80359BC8 00356B28 4B FE 72 E1 */ bl __ct__6CTokenFRC6CToken -/* 80359BCC 00356B2C 80 61 00 38 */ lwz r3, 0x38(r1) -/* 80359BD0 00356B30 80 03 00 10 */ lwz r0, 0x10(r3) -/* 80359BD4 00356B34 28 00 00 00 */ cmplwi r0, 0 -/* 80359BD8 00356B38 41 82 00 D8 */ beq lbl_80359CB0 -/* 80359BDC 00356B3C 38 61 00 38 */ addi r3, r1, 0x38 -/* 80359BE0 00356B40 4B FE 72 2D */ bl GetObj__6CTokenFv -/* 80359BE4 00356B44 57 38 04 3E */ clrlwi r24, r25, 0x10 -/* 80359BE8 00356B48 80 63 00 04 */ lwz r3, 4(r3) -/* 80359BEC 00356B4C 7F 04 C3 78 */ mr r4, r24 -/* 80359BF0 00356B50 4B FA 6A A9 */ bl GetGlyph__11CRasterFontCFw -/* 80359BF4 00356B54 28 03 00 00 */ cmplwi r3, 0 -/* 80359BF8 00356B58 41 82 00 B8 */ beq lbl_80359CB0 -/* 80359BFC 00356B5C 38 61 00 38 */ addi r3, r1, 0x38 -/* 80359C00 00356B60 4B FE 72 0D */ bl GetObj__6CTokenFv -/* 80359C04 00356B64 80 63 00 04 */ lwz r3, 4(r3) -/* 80359C08 00356B68 7F 04 C3 78 */ mr r4, r24 -/* 80359C0C 00356B6C 4B FA 6A 8D */ bl GetGlyph__11CRasterFontCFw -/* 80359C10 00356B70 A8 03 00 18 */ lha r0, 0x18(r3) -/* 80359C14 00356B74 38 81 00 40 */ addi r4, r1, 0x40 -/* 80359C18 00356B78 A8 A3 00 1A */ lha r5, 0x1a(r3) -/* 80359C1C 00356B7C 7C 7F 02 14 */ add r3, r31, r0 -/* 80359C20 00356B80 80 01 00 40 */ lwz r0, 0x40(r1) -/* 80359C24 00356B84 7C 63 07 34 */ extsh r3, r3 -/* 80359C28 00356B88 7C BE 2A 14 */ add r5, r30, r5 -/* 80359C2C 00356B8C 7C 00 18 00 */ cmpw r0, r3 -/* 80359C30 00356B90 90 61 00 24 */ stw r3, 0x24(r1) -/* 80359C34 00356B94 7C A5 07 34 */ extsh r5, r5 -/* 80359C38 00356B98 40 80 00 08 */ bge lbl_80359C40 -/* 80359C3C 00356B9C 38 81 00 24 */ addi r4, r1, 0x24 -lbl_80359C40: -/* 80359C40 00356BA0 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80359C44 00356BA4 80 64 00 00 */ lwz r3, 0(r4) -/* 80359C48 00356BA8 7C 00 28 00 */ cmpw r0, r5 -/* 80359C4C 00356BAC 90 61 00 40 */ stw r3, 0x40(r1) -/* 80359C50 00356BB0 90 A1 00 20 */ stw r5, 0x20(r1) -/* 80359C54 00356BB4 40 80 00 0C */ bge lbl_80359C60 -/* 80359C58 00356BB8 38 81 00 20 */ addi r4, r1, 0x20 -/* 80359C5C 00356BBC 48 00 00 08 */ b lbl_80359C64 -lbl_80359C60: -/* 80359C60 00356BC0 7F A4 EB 78 */ mr r4, r29 -lbl_80359C64: -/* 80359C64 00356BC4 80 01 00 48 */ lwz r0, 0x48(r1) -/* 80359C68 00356BC8 38 61 00 48 */ addi r3, r1, 0x48 -/* 80359C6C 00356BCC 80 84 00 00 */ lwz r4, 0(r4) -/* 80359C70 00356BD0 7C 1F 00 00 */ cmpw r31, r0 -/* 80359C74 00356BD4 90 81 00 44 */ stw r4, 0x44(r1) -/* 80359C78 00356BD8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80359C7C 00356BDC 40 80 00 08 */ bge lbl_80359C84 -/* 80359C80 00356BE0 38 61 00 1C */ addi r3, r1, 0x1c -lbl_80359C84: -/* 80359C84 00356BE4 80 01 00 4C */ lwz r0, 0x4c(r1) -/* 80359C88 00356BE8 80 63 00 00 */ lwz r3, 0(r3) -/* 80359C8C 00356BEC 7C 1E 00 00 */ cmpw r30, r0 -/* 80359C90 00356BF0 90 61 00 48 */ stw r3, 0x48(r1) -/* 80359C94 00356BF4 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80359C98 00356BF8 40 80 00 0C */ bge lbl_80359CA4 -/* 80359C9C 00356BFC 38 61 00 18 */ addi r3, r1, 0x18 -/* 80359CA0 00356C00 48 00 00 08 */ b lbl_80359CA8 -lbl_80359CA4: -/* 80359CA4 00356C04 7F 83 E3 78 */ mr r3, r28 -lbl_80359CA8: -/* 80359CA8 00356C08 80 03 00 00 */ lwz r0, 0(r3) -/* 80359CAC 00356C0C 90 01 00 4C */ stw r0, 0x4c(r1) -lbl_80359CB0: -/* 80359CB0 00356C10 38 61 00 38 */ addi r3, r1, 0x38 -/* 80359CB4 00356C14 38 80 00 00 */ li r4, 0 -/* 80359CB8 00356C18 4B FE 71 89 */ bl __dt__6CTokenFv -/* 80359CBC 00356C1C 48 00 01 A0 */ b lbl_80359E5C -lbl_80359CC0: -/* 80359CC0 00356C20 38 61 00 50 */ addi r3, r1, 0x50 -/* 80359CC4 00356C24 4B FE 4F ED */ bl ReadShort__12CInputStreamFv -/* 80359CC8 00356C28 7C 7E 07 34 */ extsh r30, r3 -/* 80359CCC 00356C2C 38 61 00 50 */ addi r3, r1, 0x50 -/* 80359CD0 00356C30 4B FE 4F E1 */ bl ReadShort__12CInputStreamFv -/* 80359CD4 00356C34 7C 7F 07 34 */ extsh r31, r3 -/* 80359CD8 00356C38 38 61 00 50 */ addi r3, r1, 0x50 -/* 80359CDC 00356C3C 4B FE 50 31 */ bl ReadChar__12CInputStreamFv -/* 80359CE0 00356C40 7C 79 07 74 */ extsb r25, r3 -/* 80359CE4 00356C44 38 61 00 50 */ addi r3, r1, 0x50 -/* 80359CE8 00356C48 4B FE 4F 9D */ bl ReadLong__12CInputStreamFv -/* 80359CEC 00356C4C 1C 19 00 1C */ mulli r0, r25, 0x1c -/* 80359CF0 00356C50 80 9B 00 20 */ lwz r4, 0x20(r27) -/* 80359CF4 00356C54 38 61 00 30 */ addi r3, r1, 0x30 -/* 80359CF8 00356C58 7F 04 02 14 */ add r24, r4, r0 -/* 80359CFC 00356C5C 80 98 00 10 */ lwz r4, 0x10(r24) -/* 80359D00 00356C60 4B FE 71 A9 */ bl __ct__6CTokenFRC6CToken -/* 80359D04 00356C64 38 61 00 30 */ addi r3, r1, 0x30 -/* 80359D08 00356C68 4B FE 71 05 */ bl GetObj__6CTokenFv -/* 80359D0C 00356C6C 80 83 00 04 */ lwz r4, 4(r3) -/* 80359D10 00356C70 3C 00 43 30 */ lis r0, 0x4330 -/* 80359D14 00356C74 90 01 00 78 */ stw r0, 0x78(r1) -/* 80359D18 00356C78 38 61 00 30 */ addi r3, r1, 0x30 -/* 80359D1C 00356C7C A8 04 00 04 */ lha r0, 4(r4) -/* 80359D20 00356C80 38 80 00 00 */ li r4, 0 -/* 80359D24 00356C84 C8 42 CD 00 */ lfd f2, lbl_805AEA20@sda21(r2) -/* 80359D28 00356C88 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 80359D2C 00356C8C C0 18 00 14 */ lfs f0, 0x14(r24) -/* 80359D30 00356C90 90 01 00 7C */ stw r0, 0x7c(r1) -/* 80359D34 00356C94 C8 21 00 78 */ lfd f1, 0x78(r1) -/* 80359D38 00356C98 EC 21 10 28 */ fsubs f1, f1, f2 -/* 80359D3C 00356C9C EC 01 00 32 */ fmuls f0, f1, f0 -/* 80359D40 00356CA0 FC 00 00 1E */ fctiwz f0, f0 -/* 80359D44 00356CA4 D8 01 00 80 */ stfd f0, 0x80(r1) -/* 80359D48 00356CA8 83 21 00 84 */ lwz r25, 0x84(r1) -/* 80359D4C 00356CAC 4B FE 70 F5 */ bl __dt__6CTokenFv -/* 80359D50 00356CB0 7C 1E CA 14 */ add r0, r30, r25 -/* 80359D54 00356CB4 80 98 00 10 */ lwz r4, 0x10(r24) -/* 80359D58 00356CB8 7C 17 07 34 */ extsh r23, r0 -/* 80359D5C 00356CBC 38 61 00 28 */ addi r3, r1, 0x28 -/* 80359D60 00356CC0 4B FE 71 49 */ bl __ct__6CTokenFRC6CToken -/* 80359D64 00356CC4 38 61 00 28 */ addi r3, r1, 0x28 -/* 80359D68 00356CC8 4B FE 70 A5 */ bl GetObj__6CTokenFv -/* 80359D6C 00356CCC 80 83 00 04 */ lwz r4, 4(r3) -/* 80359D70 00356CD0 3C 00 43 30 */ lis r0, 0x4330 -/* 80359D74 00356CD4 90 01 00 88 */ stw r0, 0x88(r1) -/* 80359D78 00356CD8 38 61 00 28 */ addi r3, r1, 0x28 -/* 80359D7C 00356CDC A8 04 00 06 */ lha r0, 6(r4) -/* 80359D80 00356CE0 38 80 00 00 */ li r4, 0 -/* 80359D84 00356CE4 C8 42 CD 00 */ lfd f2, lbl_805AEA20@sda21(r2) -/* 80359D88 00356CE8 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 80359D8C 00356CEC C0 18 00 18 */ lfs f0, 0x18(r24) -/* 80359D90 00356CF0 90 01 00 8C */ stw r0, 0x8c(r1) -/* 80359D94 00356CF4 C8 21 00 88 */ lfd f1, 0x88(r1) -/* 80359D98 00356CF8 EC 21 10 28 */ fsubs f1, f1, f2 -/* 80359D9C 00356CFC EC 01 00 32 */ fmuls f0, f1, f0 -/* 80359DA0 00356D00 FC 00 00 1E */ fctiwz f0, f0 -/* 80359DA4 00356D04 D8 01 00 90 */ stfd f0, 0x90(r1) -/* 80359DA8 00356D08 83 21 00 94 */ lwz r25, 0x94(r1) -/* 80359DAC 00356D0C 4B FE 70 95 */ bl __dt__6CTokenFv -/* 80359DB0 00356D10 80 01 00 40 */ lwz r0, 0x40(r1) -/* 80359DB4 00356D14 7C 7F CA 14 */ add r3, r31, r25 -/* 80359DB8 00356D18 92 E1 00 14 */ stw r23, 0x14(r1) -/* 80359DBC 00356D1C 7C 64 07 34 */ extsh r4, r3 -/* 80359DC0 00356D20 7C 00 B8 00 */ cmpw r0, r23 -/* 80359DC4 00356D24 38 61 00 40 */ addi r3, r1, 0x40 -/* 80359DC8 00356D28 40 80 00 08 */ bge lbl_80359DD0 -/* 80359DCC 00356D2C 38 61 00 14 */ addi r3, r1, 0x14 -lbl_80359DD0: -/* 80359DD0 00356D30 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80359DD4 00356D34 80 63 00 00 */ lwz r3, 0(r3) -/* 80359DD8 00356D38 7C 00 20 00 */ cmpw r0, r4 -/* 80359DDC 00356D3C 90 61 00 40 */ stw r3, 0x40(r1) -/* 80359DE0 00356D40 90 81 00 10 */ stw r4, 0x10(r1) -/* 80359DE4 00356D44 40 80 00 0C */ bge lbl_80359DF0 -/* 80359DE8 00356D48 38 81 00 10 */ addi r4, r1, 0x10 -/* 80359DEC 00356D4C 48 00 00 08 */ b lbl_80359DF4 -lbl_80359DF0: -/* 80359DF0 00356D50 7F A4 EB 78 */ mr r4, r29 -lbl_80359DF4: -/* 80359DF4 00356D54 80 01 00 48 */ lwz r0, 0x48(r1) -/* 80359DF8 00356D58 38 61 00 48 */ addi r3, r1, 0x48 -/* 80359DFC 00356D5C 80 84 00 00 */ lwz r4, 0(r4) -/* 80359E00 00356D60 7C 1E 00 00 */ cmpw r30, r0 -/* 80359E04 00356D64 90 81 00 44 */ stw r4, 0x44(r1) -/* 80359E08 00356D68 93 C1 00 0C */ stw r30, 0xc(r1) -/* 80359E0C 00356D6C 40 80 00 08 */ bge lbl_80359E14 -/* 80359E10 00356D70 38 61 00 0C */ addi r3, r1, 0xc -lbl_80359E14: -/* 80359E14 00356D74 80 01 00 4C */ lwz r0, 0x4c(r1) -/* 80359E18 00356D78 80 63 00 00 */ lwz r3, 0(r3) -/* 80359E1C 00356D7C 7C 1F 00 00 */ cmpw r31, r0 -/* 80359E20 00356D80 90 61 00 48 */ stw r3, 0x48(r1) -/* 80359E24 00356D84 93 E1 00 08 */ stw r31, 8(r1) -/* 80359E28 00356D88 40 80 00 0C */ bge lbl_80359E34 -/* 80359E2C 00356D8C 38 61 00 08 */ addi r3, r1, 8 -/* 80359E30 00356D90 48 00 00 08 */ b lbl_80359E38 -lbl_80359E34: -/* 80359E34 00356D94 7F 83 E3 78 */ mr r3, r28 -lbl_80359E38: -/* 80359E38 00356D98 80 03 00 00 */ lwz r0, 0(r3) -/* 80359E3C 00356D9C 90 01 00 4C */ stw r0, 0x4c(r1) -/* 80359E40 00356DA0 48 00 00 1C */ b lbl_80359E5C -lbl_80359E44: -/* 80359E44 00356DA4 38 61 00 50 */ addi r3, r1, 0x50 -/* 80359E48 00356DA8 4B FE 4E C5 */ bl ReadChar__12CInputStreamFv -/* 80359E4C 00356DAC 98 7B 00 4C */ stb r3, 0x4c(r27) -/* 80359E50 00356DB0 48 00 00 0C */ b lbl_80359E5C -lbl_80359E54: -/* 80359E54 00356DB4 38 61 00 50 */ addi r3, r1, 0x50 -/* 80359E58 00356DB8 4B FE 4E B5 */ bl ReadChar__12CInputStreamFv -lbl_80359E5C: -/* 80359E5C 00356DBC 80 61 00 68 */ lwz r3, 0x68(r1) -/* 80359E60 00356DC0 80 1B 00 48 */ lwz r0, 0x48(r27) -/* 80359E64 00356DC4 7C 03 00 40 */ cmplw r3, r0 -/* 80359E68 00356DC8 41 80 FC E0 */ blt lbl_80359B48 -/* 80359E6C 00356DCC 80 81 00 48 */ lwz r4, 0x48(r1) -/* 80359E70 00356DD0 3C 60 80 3F */ lis r3, __vt__15CMemoryInStream@ha -/* 80359E74 00356DD4 38 03 E3 98 */ addi r0, r3, __vt__15CMemoryInStream@l -/* 80359E78 00356DD8 38 61 00 50 */ addi r3, r1, 0x50 -/* 80359E7C 00356DDC 90 9A 00 00 */ stw r4, 0(r26) -/* 80359E80 00356DE0 38 80 00 00 */ li r4, 0 -/* 80359E84 00356DE4 80 A1 00 4C */ lwz r5, 0x4c(r1) -/* 80359E88 00356DE8 90 BA 00 04 */ stw r5, 4(r26) -/* 80359E8C 00356DEC 80 A1 00 40 */ lwz r5, 0x40(r1) -/* 80359E90 00356DF0 90 BA 00 08 */ stw r5, 8(r26) -/* 80359E94 00356DF4 80 A1 00 44 */ lwz r5, 0x44(r1) -/* 80359E98 00356DF8 90 BA 00 0C */ stw r5, 0xc(r26) -/* 80359E9C 00356DFC 90 01 00 50 */ stw r0, 0x50(r1) -/* 80359EA0 00356E00 4B FE 52 0D */ bl __dt__12CInputStreamFv -/* 80359EA4 00356E04 BA E1 00 9C */ lmw r23, 0x9c(r1) -/* 80359EA8 00356E08 80 01 00 C4 */ lwz r0, 0xc4(r1) -/* 80359EAC 00356E0C 7C 08 03 A6 */ mtlr r0 -/* 80359EB0 00356E10 38 21 00 C0 */ addi r1, r1, 0xc0 -/* 80359EB4 00356E14 4E 80 00 20 */ blr - -.global HasSpaceAvailable__17CTextRenderBufferFRC9CVector2iRC9CVector2i -HasSpaceAvailable__17CTextRenderBufferFRC9CVector2iRC9CVector2i: -/* 80359EB8 00356E18 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 80359EBC 00356E1C 7C 08 02 A6 */ mflr r0 -/* 80359EC0 00356E20 90 01 00 54 */ stw r0, 0x54(r1) -/* 80359EC4 00356E24 7C 60 1B 78 */ mr r0, r3 -/* 80359EC8 00356E28 38 61 00 18 */ addi r3, r1, 0x18 -/* 80359ECC 00356E2C 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 80359ED0 00356E30 93 C1 00 48 */ stw r30, 0x48(r1) -/* 80359ED4 00356E34 7C BE 2B 78 */ mr r30, r5 -/* 80359ED8 00356E38 93 A1 00 44 */ stw r29, 0x44(r1) -/* 80359EDC 00356E3C 7C 9D 23 78 */ mr r29, r4 -/* 80359EE0 00356E40 7C 04 03 78 */ mr r4, r0 -/* 80359EE4 00356E44 4B FF FC 09 */ bl AccumulateTextBounds__17CTextRenderBufferFv -/* 80359EE8 00356E48 80 A1 00 18 */ lwz r5, 0x18(r1) -/* 80359EEC 00356E4C 3B E1 00 30 */ addi r31, r1, 0x30 -/* 80359EF0 00356E50 80 61 00 20 */ lwz r3, 0x20(r1) -/* 80359EF4 00356E54 80 81 00 1C */ lwz r4, 0x1c(r1) -/* 80359EF8 00356E58 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80359EFC 00356E5C 7C 05 18 00 */ cmpw r5, r3 -/* 80359F00 00356E60 90 A1 00 28 */ stw r5, 0x28(r1) -/* 80359F04 00356E64 90 81 00 2C */ stw r4, 0x2c(r1) -/* 80359F08 00356E68 90 61 00 30 */ stw r3, 0x30(r1) -/* 80359F0C 00356E6C 90 01 00 34 */ stw r0, 0x34(r1) -/* 80359F10 00356E70 40 81 00 0C */ ble lbl_80359F1C -/* 80359F14 00356E74 38 60 00 01 */ li r3, 1 -/* 80359F18 00356E78 48 00 00 54 */ b lbl_80359F6C -lbl_80359F1C: -/* 80359F1C 00356E7C 38 61 00 10 */ addi r3, r1, 0x10 -/* 80359F20 00356E80 38 80 00 00 */ li r4, 0 -/* 80359F24 00356E84 38 A0 00 00 */ li r5, 0 -/* 80359F28 00356E88 4B FB A4 25 */ bl __ct__9CVector2iFii -/* 80359F2C 00356E8C 7F E4 FB 78 */ mr r4, r31 -/* 80359F30 00356E90 38 61 00 08 */ addi r3, r1, 8 -/* 80359F34 00356E94 38 A1 00 28 */ addi r5, r1, 0x28 -/* 80359F38 00356E98 4B FB A3 A5 */ bl __mi__FRC9CVector2iRC9CVector2i -/* 80359F3C 00356E9C 80 61 00 14 */ lwz r3, 0x14(r1) -/* 80359F40 00356EA0 80 1D 00 04 */ lwz r0, 4(r29) -/* 80359F44 00356EA4 80 A1 00 0C */ lwz r5, 0xc(r1) -/* 80359F48 00356EA8 7C 03 00 00 */ cmpw r3, r0 -/* 80359F4C 00356EAC 40 80 00 0C */ bge lbl_80359F58 -/* 80359F50 00356EB0 38 60 00 00 */ li r3, 0 -/* 80359F54 00356EB4 48 00 00 18 */ b lbl_80359F6C -lbl_80359F58: -/* 80359F58 00356EB8 80 1E 00 04 */ lwz r0, 4(r30) -/* 80359F5C 00356EBC 54 A3 0F FE */ srwi r3, r5, 0x1f -/* 80359F60 00356EC0 7C 04 FE 70 */ srawi r4, r0, 0x1f -/* 80359F64 00356EC4 7C 05 00 10 */ subfc r0, r5, r0 -/* 80359F68 00356EC8 7C 64 19 14 */ adde r3, r4, r3 -lbl_80359F6C: -/* 80359F6C 00356ECC 80 01 00 54 */ lwz r0, 0x54(r1) -/* 80359F70 00356ED0 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 80359F74 00356ED4 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 80359F78 00356ED8 83 A1 00 44 */ lwz r29, 0x44(r1) -/* 80359F7C 00356EDC 7C 08 03 A6 */ mtlr r0 -/* 80359F80 00356EE0 38 21 00 50 */ addi r1, r1, 0x50 -/* 80359F84 00356EE4 4E 80 00 20 */ blr - -.global SetPrimitive__17CTextRenderBufferFRCQ217CTextRenderBuffer9Primitivei -SetPrimitive__17CTextRenderBufferFRCQ217CTextRenderBuffer9Primitivei: -/* 80359F88 00356EE8 94 21 FF 50 */ stwu r1, -0xb0(r1) -/* 80359F8C 00356EEC 7C 08 02 A6 */ mflr r0 -/* 80359F90 00356EF0 7C 67 1B 78 */ mr r7, r3 -/* 80359F94 00356EF4 38 C0 00 01 */ li r6, 1 -/* 80359F98 00356EF8 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 80359F9C 00356EFC 54 A0 10 3A */ slwi r0, r5, 2 -/* 80359FA0 00356F00 93 E1 00 AC */ stw r31, 0xac(r1) -/* 80359FA4 00356F04 7C 9F 23 78 */ mr r31, r4 -/* 80359FA8 00356F08 93 C1 00 A8 */ stw r30, 0xa8(r1) -/* 80359FAC 00356F0C 80 A3 00 30 */ lwz r5, 0x30(r3) -/* 80359FB0 00356F10 80 83 00 40 */ lwz r4, 0x40(r3) -/* 80359FB4 00356F14 38 61 00 1C */ addi r3, r1, 0x1c -/* 80359FB8 00356F18 7C A5 00 2E */ lwzx r5, r5, r0 -/* 80359FBC 00356F1C 80 07 00 44 */ lwz r0, 0x44(r7) -/* 80359FC0 00356F20 38 E0 00 40 */ li r7, 0x40 -/* 80359FC4 00356F24 7C 84 2A 14 */ add r4, r4, r5 -/* 80359FC8 00356F28 7C A5 00 50 */ subf r5, r5, r0 -/* 80359FCC 00356F2C 4B FE 53 71 */ bl __ct__16CMemoryStreamOutFPvUlQ216CMemoryStreamOut10EOwnerShipi -/* 80359FD0 00356F30 80 1F 00 04 */ lwz r0, 4(r31) -/* 80359FD4 00356F34 2C 00 00 01 */ cmpwi r0, 1 -/* 80359FD8 00356F38 41 82 00 DC */ beq lbl_8035A0B4 -/* 80359FDC 00356F3C 40 80 01 C0 */ bge lbl_8035A19C -/* 80359FE0 00356F40 2C 00 00 00 */ cmpwi r0, 0 -/* 80359FE4 00356F44 40 80 00 08 */ bge lbl_80359FEC -/* 80359FE8 00356F48 48 00 01 B4 */ b lbl_8035A19C -lbl_80359FEC: -/* 80359FEC 00356F4C 38 61 00 1C */ addi r3, r1, 0x1c -/* 80359FF0 00356F50 4B FE 54 C9 */ bl FlushShiftRegister__13COutputStreamFv -/* 80359FF4 00356F54 80 61 00 20 */ lwz r3, 0x20(r1) -/* 80359FF8 00356F58 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80359FFC 00356F5C 7C 03 00 40 */ cmplw r3, r0 -/* 8035A000 00356F60 41 80 00 0C */ blt lbl_8035A00C -/* 8035A004 00356F64 38 61 00 1C */ addi r3, r1, 0x1c -/* 8035A008 00356F68 4B FE 55 1D */ bl DoFlush__13COutputStreamFv -lbl_8035A00C: -/* 8035A00C 00356F6C 80 A1 00 2C */ lwz r5, 0x2c(r1) -/* 8035A010 00356F70 38 C0 00 00 */ li r6, 0 -/* 8035A014 00356F74 80 81 00 20 */ lwz r4, 0x20(r1) -/* 8035A018 00356F78 38 61 00 1C */ addi r3, r1, 0x1c -/* 8035A01C 00356F7C 38 E5 00 01 */ addi r7, r5, 1 -/* 8035A020 00356F80 80 A1 00 28 */ lwz r5, 0x28(r1) -/* 8035A024 00356F84 38 04 00 01 */ addi r0, r4, 1 -/* 8035A028 00356F88 90 E1 00 2C */ stw r7, 0x2c(r1) -/* 8035A02C 00356F8C 90 01 00 20 */ stw r0, 0x20(r1) -/* 8035A030 00356F90 7C C5 21 AE */ stbx r6, r5, r4 -/* 8035A034 00356F94 A8 1F 00 08 */ lha r0, 8(r31) -/* 8035A038 00356F98 B0 01 00 10 */ sth r0, 0x10(r1) -/* 8035A03C 00356F9C 4B FE 54 7D */ bl FlushShiftRegister__13COutputStreamFv -/* 8035A040 00356FA0 38 61 00 1C */ addi r3, r1, 0x1c -/* 8035A044 00356FA4 38 81 00 10 */ addi r4, r1, 0x10 -/* 8035A048 00356FA8 38 A0 00 02 */ li r5, 2 -/* 8035A04C 00356FAC 4B FE 55 5D */ bl DoPut__13COutputStreamFPCvUl -/* 8035A050 00356FB0 A8 1F 00 0A */ lha r0, 0xa(r31) -/* 8035A054 00356FB4 38 61 00 1C */ addi r3, r1, 0x1c -/* 8035A058 00356FB8 B0 01 00 0E */ sth r0, 0xe(r1) -/* 8035A05C 00356FBC 4B FE 54 5D */ bl FlushShiftRegister__13COutputStreamFv -/* 8035A060 00356FC0 38 61 00 1C */ addi r3, r1, 0x1c -/* 8035A064 00356FC4 38 81 00 0E */ addi r4, r1, 0xe -/* 8035A068 00356FC8 38 A0 00 02 */ li r5, 2 -/* 8035A06C 00356FCC 4B FE 55 3D */ bl DoPut__13COutputStreamFPCvUl -/* 8035A070 00356FD0 A8 1F 00 0C */ lha r0, 0xc(r31) -/* 8035A074 00356FD4 38 61 00 1C */ addi r3, r1, 0x1c -/* 8035A078 00356FD8 B0 01 00 0C */ sth r0, 0xc(r1) -/* 8035A07C 00356FDC 4B FE 54 3D */ bl FlushShiftRegister__13COutputStreamFv -/* 8035A080 00356FE0 38 61 00 1C */ addi r3, r1, 0x1c -/* 8035A084 00356FE4 38 81 00 0C */ addi r4, r1, 0xc -/* 8035A088 00356FE8 38 A0 00 02 */ li r5, 2 -/* 8035A08C 00356FEC 4B FE 55 1D */ bl DoPut__13COutputStreamFPCvUl -/* 8035A090 00356FF0 80 1F 00 00 */ lwz r0, 0(r31) -/* 8035A094 00356FF4 38 61 00 1C */ addi r3, r1, 0x1c -/* 8035A098 00356FF8 90 01 00 18 */ stw r0, 0x18(r1) -/* 8035A09C 00356FFC 4B FE 54 1D */ bl FlushShiftRegister__13COutputStreamFv -/* 8035A0A0 00357000 38 61 00 1C */ addi r3, r1, 0x1c -/* 8035A0A4 00357004 38 81 00 18 */ addi r4, r1, 0x18 -/* 8035A0A8 00357008 38 A0 00 04 */ li r5, 4 -/* 8035A0AC 0035700C 4B FE 54 FD */ bl DoPut__13COutputStreamFPCvUl -/* 8035A0B0 00357010 48 00 00 EC */ b lbl_8035A19C -lbl_8035A0B4: -/* 8035A0B4 00357014 38 61 00 1C */ addi r3, r1, 0x1c -/* 8035A0B8 00357018 4B FE 54 01 */ bl FlushShiftRegister__13COutputStreamFv -/* 8035A0BC 0035701C 80 61 00 20 */ lwz r3, 0x20(r1) -/* 8035A0C0 00357020 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8035A0C4 00357024 7C 03 00 40 */ cmplw r3, r0 -/* 8035A0C8 00357028 41 80 00 0C */ blt lbl_8035A0D4 -/* 8035A0CC 0035702C 38 61 00 1C */ addi r3, r1, 0x1c -/* 8035A0D0 00357030 4B FE 54 55 */ bl DoFlush__13COutputStreamFv -lbl_8035A0D4: -/* 8035A0D4 00357034 80 A1 00 2C */ lwz r5, 0x2c(r1) -/* 8035A0D8 00357038 38 C0 00 01 */ li r6, 1 -/* 8035A0DC 0035703C 80 81 00 20 */ lwz r4, 0x20(r1) -/* 8035A0E0 00357040 38 61 00 1C */ addi r3, r1, 0x1c -/* 8035A0E4 00357044 38 E5 00 01 */ addi r7, r5, 1 -/* 8035A0E8 00357048 80 A1 00 28 */ lwz r5, 0x28(r1) -/* 8035A0EC 0035704C 38 04 00 01 */ addi r0, r4, 1 -/* 8035A0F0 00357050 90 E1 00 2C */ stw r7, 0x2c(r1) -/* 8035A0F4 00357054 90 01 00 20 */ stw r0, 0x20(r1) -/* 8035A0F8 00357058 7C C5 21 AE */ stbx r6, r5, r4 -/* 8035A0FC 0035705C A8 1F 00 08 */ lha r0, 8(r31) -/* 8035A100 00357060 B0 01 00 0A */ sth r0, 0xa(r1) -/* 8035A104 00357064 4B FE 53 B5 */ bl FlushShiftRegister__13COutputStreamFv -/* 8035A108 00357068 38 61 00 1C */ addi r3, r1, 0x1c -/* 8035A10C 0035706C 38 81 00 0A */ addi r4, r1, 0xa -/* 8035A110 00357070 38 A0 00 02 */ li r5, 2 -/* 8035A114 00357074 4B FE 54 95 */ bl DoPut__13COutputStreamFPCvUl -/* 8035A118 00357078 A8 1F 00 0A */ lha r0, 0xa(r31) -/* 8035A11C 0035707C 38 61 00 1C */ addi r3, r1, 0x1c -/* 8035A120 00357080 B0 01 00 08 */ sth r0, 8(r1) -/* 8035A124 00357084 4B FE 53 95 */ bl FlushShiftRegister__13COutputStreamFv -/* 8035A128 00357088 38 61 00 1C */ addi r3, r1, 0x1c -/* 8035A12C 0035708C 38 81 00 08 */ addi r4, r1, 8 -/* 8035A130 00357090 38 A0 00 02 */ li r5, 2 -/* 8035A134 00357094 4B FE 54 75 */ bl DoPut__13COutputStreamFPCvUl -/* 8035A138 00357098 8B DF 00 0E */ lbz r30, 0xe(r31) -/* 8035A13C 0035709C 38 61 00 1C */ addi r3, r1, 0x1c -/* 8035A140 003570A0 4B FE 53 79 */ bl FlushShiftRegister__13COutputStreamFv -/* 8035A144 003570A4 80 61 00 20 */ lwz r3, 0x20(r1) -/* 8035A148 003570A8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8035A14C 003570AC 7C 03 00 40 */ cmplw r3, r0 -/* 8035A150 003570B0 41 80 00 0C */ blt lbl_8035A15C -/* 8035A154 003570B4 38 61 00 1C */ addi r3, r1, 0x1c -/* 8035A158 003570B8 4B FE 53 CD */ bl DoFlush__13COutputStreamFv -lbl_8035A15C: -/* 8035A15C 003570BC 80 A1 00 2C */ lwz r5, 0x2c(r1) -/* 8035A160 003570C0 38 61 00 1C */ addi r3, r1, 0x1c -/* 8035A164 003570C4 80 81 00 20 */ lwz r4, 0x20(r1) -/* 8035A168 003570C8 38 C5 00 01 */ addi r6, r5, 1 -/* 8035A16C 003570CC 80 A1 00 28 */ lwz r5, 0x28(r1) -/* 8035A170 003570D0 38 04 00 01 */ addi r0, r4, 1 -/* 8035A174 003570D4 90 C1 00 2C */ stw r6, 0x2c(r1) -/* 8035A178 003570D8 90 01 00 20 */ stw r0, 0x20(r1) -/* 8035A17C 003570DC 7F C5 21 AE */ stbx r30, r5, r4 -/* 8035A180 003570E0 80 1F 00 00 */ lwz r0, 0(r31) -/* 8035A184 003570E4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8035A188 003570E8 4B FE 53 31 */ bl FlushShiftRegister__13COutputStreamFv -/* 8035A18C 003570EC 38 61 00 1C */ addi r3, r1, 0x1c -/* 8035A190 003570F0 38 81 00 14 */ addi r4, r1, 0x14 -/* 8035A194 003570F4 38 A0 00 04 */ li r5, 4 -/* 8035A198 003570F8 4B FE 54 11 */ bl DoPut__13COutputStreamFPCvUl -lbl_8035A19C: -/* 8035A19C 003570FC 38 61 00 1C */ addi r3, r1, 0x1c -/* 8035A1A0 00357100 38 80 FF FF */ li r4, -1 -/* 8035A1A4 00357104 4B FE 51 1D */ bl __dt__16CMemoryStreamOutFv -/* 8035A1A8 00357108 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 8035A1AC 0035710C 83 E1 00 AC */ lwz r31, 0xac(r1) -/* 8035A1B0 00357110 83 C1 00 A8 */ lwz r30, 0xa8(r1) -/* 8035A1B4 00357114 7C 08 03 A6 */ mtlr r0 -/* 8035A1B8 00357118 38 21 00 B0 */ addi r1, r1, 0xb0 -/* 8035A1BC 0035711C 4E 80 00 20 */ blr - -.global GetPrimitive__17CTextRenderBufferCFi -GetPrimitive__17CTextRenderBufferCFi: -/* 8035A1C0 00357120 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8035A1C4 00357124 7C 08 02 A6 */ mflr r0 -/* 8035A1C8 00357128 90 01 00 44 */ stw r0, 0x44(r1) -/* 8035A1CC 0035712C 54 A0 10 3A */ slwi r0, r5, 2 -/* 8035A1D0 00357130 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 8035A1D4 00357134 7C 7F 1B 78 */ mr r31, r3 -/* 8035A1D8 00357138 38 61 00 08 */ addi r3, r1, 8 -/* 8035A1DC 0035713C 93 C1 00 38 */ stw r30, 0x38(r1) -/* 8035A1E0 00357140 93 A1 00 34 */ stw r29, 0x34(r1) -/* 8035A1E4 00357144 93 81 00 30 */ stw r28, 0x30(r1) -/* 8035A1E8 00357148 80 C4 00 30 */ lwz r6, 0x30(r4) -/* 8035A1EC 0035714C 80 A4 00 40 */ lwz r5, 0x40(r4) -/* 8035A1F0 00357150 7C C6 00 2E */ lwzx r6, r6, r0 -/* 8035A1F4 00357154 80 04 00 44 */ lwz r0, 0x44(r4) -/* 8035A1F8 00357158 7C 85 32 14 */ add r4, r5, r6 -/* 8035A1FC 0035715C 7C A6 00 50 */ subf r5, r6, r0 -/* 8035A200 00357160 4B FE 4F CD */ bl __ct__15CMemoryInStreamFPCvUl -/* 8035A204 00357164 38 61 00 08 */ addi r3, r1, 8 -/* 8035A208 00357168 4B FE 4B 05 */ bl ReadChar__12CInputStreamFv -/* 8035A20C 0035716C 54 60 06 3E */ clrlwi r0, r3, 0x18 -/* 8035A210 00357170 2C 00 00 01 */ cmpwi r0, 1 -/* 8035A214 00357174 41 82 00 78 */ beq lbl_8035A28C -/* 8035A218 00357178 40 80 00 DC */ bge lbl_8035A2F4 -/* 8035A21C 0035717C 2C 00 00 00 */ cmpwi r0, 0 -/* 8035A220 00357180 40 80 00 08 */ bge lbl_8035A228 -/* 8035A224 00357184 48 00 00 D0 */ b lbl_8035A2F4 -lbl_8035A228: -/* 8035A228 00357188 38 61 00 08 */ addi r3, r1, 8 -/* 8035A22C 0035718C 4B FE 4A 85 */ bl ReadShort__12CInputStreamFv -/* 8035A230 00357190 7C 7E 07 34 */ extsh r30, r3 -/* 8035A234 00357194 38 61 00 08 */ addi r3, r1, 8 -/* 8035A238 00357198 4B FE 4A 79 */ bl ReadShort__12CInputStreamFv -/* 8035A23C 0035719C 7C 7D 07 34 */ extsh r29, r3 -/* 8035A240 003571A0 38 61 00 08 */ addi r3, r1, 8 -/* 8035A244 003571A4 4B FE 4A 6D */ bl ReadShort__12CInputStreamFv -/* 8035A248 003571A8 7C 7C 07 34 */ extsh r28, r3 -/* 8035A24C 003571AC 38 61 00 08 */ addi r3, r1, 8 -/* 8035A250 003571B0 4B FE 4A 35 */ bl ReadLong__12CInputStreamFv -/* 8035A254 003571B4 90 7F 00 00 */ stw r3, 0(r31) -/* 8035A258 003571B8 38 A0 00 00 */ li r5, 0 -/* 8035A25C 003571BC 3C 80 80 3F */ lis r4, __vt__15CMemoryInStream@ha -/* 8035A260 003571C0 38 61 00 08 */ addi r3, r1, 8 -/* 8035A264 003571C4 90 BF 00 04 */ stw r5, 4(r31) -/* 8035A268 003571C8 38 04 E3 98 */ addi r0, r4, __vt__15CMemoryInStream@l -/* 8035A26C 003571CC 38 80 00 00 */ li r4, 0 -/* 8035A270 003571D0 B3 DF 00 08 */ sth r30, 8(r31) -/* 8035A274 003571D4 B3 BF 00 0A */ sth r29, 0xa(r31) -/* 8035A278 003571D8 B3 9F 00 0C */ sth r28, 0xc(r31) -/* 8035A27C 003571DC 98 BF 00 0E */ stb r5, 0xe(r31) -/* 8035A280 003571E0 90 01 00 08 */ stw r0, 8(r1) -/* 8035A284 003571E4 4B FE 4E 29 */ bl __dt__12CInputStreamFv -/* 8035A288 003571E8 48 00 00 A4 */ b lbl_8035A32C -lbl_8035A28C: -/* 8035A28C 003571EC 38 61 00 08 */ addi r3, r1, 8 -/* 8035A290 003571F0 4B FE 4A 21 */ bl ReadShort__12CInputStreamFv -/* 8035A294 003571F4 7C 7C 07 34 */ extsh r28, r3 -/* 8035A298 003571F8 38 61 00 08 */ addi r3, r1, 8 -/* 8035A29C 003571FC 4B FE 4A 15 */ bl ReadShort__12CInputStreamFv -/* 8035A2A0 00357200 7C 7D 07 34 */ extsh r29, r3 -/* 8035A2A4 00357204 38 61 00 08 */ addi r3, r1, 8 -/* 8035A2A8 00357208 4B FE 4A 65 */ bl ReadChar__12CInputStreamFv -/* 8035A2AC 0035720C 7C 7E 07 74 */ extsb r30, r3 -/* 8035A2B0 00357210 38 61 00 08 */ addi r3, r1, 8 -/* 8035A2B4 00357214 4B FE 49 D1 */ bl ReadLong__12CInputStreamFv -/* 8035A2B8 00357218 90 7F 00 00 */ stw r3, 0(r31) -/* 8035A2BC 0035721C 38 00 00 01 */ li r0, 1 -/* 8035A2C0 00357220 3C 60 80 3F */ lis r3, __vt__15CMemoryInStream@ha -/* 8035A2C4 00357224 38 A0 00 00 */ li r5, 0 -/* 8035A2C8 00357228 90 1F 00 04 */ stw r0, 4(r31) -/* 8035A2CC 0035722C 38 03 E3 98 */ addi r0, r3, __vt__15CMemoryInStream@l -/* 8035A2D0 00357230 38 61 00 08 */ addi r3, r1, 8 -/* 8035A2D4 00357234 38 80 00 00 */ li r4, 0 -/* 8035A2D8 00357238 B3 9F 00 08 */ sth r28, 8(r31) -/* 8035A2DC 0035723C B3 BF 00 0A */ sth r29, 0xa(r31) -/* 8035A2E0 00357240 B0 BF 00 0C */ sth r5, 0xc(r31) -/* 8035A2E4 00357244 9B DF 00 0E */ stb r30, 0xe(r31) -/* 8035A2E8 00357248 90 01 00 08 */ stw r0, 8(r1) -/* 8035A2EC 0035724C 4B FE 4D C1 */ bl __dt__12CInputStreamFv -/* 8035A2F0 00357250 48 00 00 3C */ b lbl_8035A32C -lbl_8035A2F4: -/* 8035A2F4 00357254 38 A0 00 00 */ li r5, 0 -/* 8035A2F8 00357258 3C 60 80 3F */ lis r3, __vt__15CMemoryInStream@ha -/* 8035A2FC 0035725C 90 BF 00 00 */ stw r5, 0(r31) -/* 8035A300 00357260 38 80 FF FF */ li r4, -1 -/* 8035A304 00357264 38 03 E3 98 */ addi r0, r3, __vt__15CMemoryInStream@l -/* 8035A308 00357268 38 61 00 08 */ addi r3, r1, 8 -/* 8035A30C 0035726C 90 9F 00 04 */ stw r4, 4(r31) -/* 8035A310 00357270 38 80 00 00 */ li r4, 0 -/* 8035A314 00357274 B0 BF 00 08 */ sth r5, 8(r31) -/* 8035A318 00357278 B0 BF 00 0A */ sth r5, 0xa(r31) -/* 8035A31C 0035727C B0 BF 00 0C */ sth r5, 0xc(r31) -/* 8035A320 00357280 98 BF 00 0E */ stb r5, 0xe(r31) -/* 8035A324 00357284 90 01 00 08 */ stw r0, 8(r1) -/* 8035A328 00357288 4B FE 4D 85 */ bl __dt__12CInputStreamFv -lbl_8035A32C: -/* 8035A32C 0035728C 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8035A330 00357290 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 8035A334 00357294 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 8035A338 00357298 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 8035A33C 0035729C 83 81 00 30 */ lwz r28, 0x30(r1) -/* 8035A340 003572A0 7C 08 03 A6 */ mtlr r0 -/* 8035A344 003572A4 38 21 00 40 */ addi r1, r1, 0x40 -/* 8035A348 003572A8 4E 80 00 20 */ blr - -.global sub_8035a34c -sub_8035a34c: -/* 8035A34C 003572AC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8035A350 003572B0 7C 08 02 A6 */ mflr r0 -/* 8035A354 003572B4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8035A358 003572B8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8035A35C 003572BC 7C 7F 1B 78 */ mr r31, r3 -/* 8035A360 003572C0 48 00 00 65 */ bl sub_8035a3c4 -/* 8035A364 003572C4 80 7F 00 48 */ lwz r3, 0x48(r31) -/* 8035A368 003572C8 80 1F 00 44 */ lwz r0, 0x44(r31) -/* 8035A36C 003572CC 7C 63 00 50 */ subf r3, r3, r0 -/* 8035A370 003572D0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8035A374 003572D4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8035A378 003572D8 7C 08 03 A6 */ mtlr r0 -/* 8035A37C 003572DC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8035A380 003572E0 4E 80 00 20 */ blr - -.global GetOutStream__17CTextRenderBufferFv -GetOutStream__17CTextRenderBufferFv: -/* 8035A384 003572E4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8035A388 003572E8 7C 08 02 A6 */ mflr r0 -/* 8035A38C 003572EC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8035A390 003572F0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8035A394 003572F4 7C 7F 1B 78 */ mr r31, r3 -/* 8035A398 003572F8 48 00 00 2D */ bl sub_8035a3c4 -/* 8035A39C 003572FC 80 7F 00 40 */ lwz r3, 0x40(r31) -/* 8035A3A0 00357300 80 1F 00 48 */ lwz r0, 0x48(r31) -/* 8035A3A4 00357304 7C 63 02 14 */ add r3, r3, r0 -/* 8035A3A8 00357308 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8035A3AC 0035730C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8035A3B0 00357310 7C 08 03 A6 */ mtlr r0 -/* 8035A3B4 00357314 38 21 00 10 */ addi r1, r1, 0x10 -/* 8035A3B8 00357318 4E 80 00 20 */ blr - -.global SetMode__17CTextRenderBufferFQ217CTextRenderBuffer5EMode -SetMode__17CTextRenderBufferFQ217CTextRenderBuffer5EMode: -/* 8035A3BC 0035731C 90 83 00 00 */ stw r4, 0(r3) -/* 8035A3C0 00357320 4E 80 00 20 */ blr - -.global sub_8035a3c4 -sub_8035a3c4: -/* 8035A3C4 00357324 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8035A3C8 00357328 7C 08 02 A6 */ mflr r0 -/* 8035A3CC 0035732C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8035A3D0 00357330 80 03 00 38 */ lwz r0, 0x38(r3) -/* 8035A3D4 00357334 2C 00 00 00 */ cmpwi r0, 0 -/* 8035A3D8 00357338 40 82 00 14 */ bne lbl_8035A3EC -/* 8035A3DC 0035733C 80 83 00 44 */ lwz r4, 0x44(r3) -/* 8035A3E0 00357340 38 63 00 34 */ addi r3, r3, 0x34 -/* 8035A3E4 00357344 38 AD 9E 20 */ addi r5, r13, lbl_805A89E0@sda21 -/* 8035A3E8 00357348 48 00 00 15 */ bl VerifyBuffer__17CTextRenderBufferFv -lbl_8035A3EC: -/* 8035A3EC 0035734C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8035A3F0 00357350 7C 08 03 A6 */ mtlr r0 -/* 8035A3F4 00357354 38 21 00 10 */ addi r1, r1, 0x10 -/* 8035A3F8 00357358 4E 80 00 20 */ blr - -.global VerifyBuffer__17CTextRenderBufferFv -VerifyBuffer__17CTextRenderBufferFv: -/* 8035A3FC 0035735C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8035A400 00357360 7C 08 02 A6 */ mflr r0 -/* 8035A404 00357364 90 01 00 34 */ stw r0, 0x34(r1) -/* 8035A408 00357368 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8035A40C 0035736C 7C BF 2B 78 */ mr r31, r5 -/* 8035A410 00357370 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8035A414 00357374 7C 9E 23 78 */ mr r30, r4 -/* 8035A418 00357378 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8035A41C 0035737C 7C 7D 1B 78 */ mr r29, r3 -/* 8035A420 00357380 80 03 00 04 */ lwz r0, 4(r3) -/* 8035A424 00357384 7C 00 F0 00 */ cmpw r0, r30 -/* 8035A428 00357388 41 82 00 78 */ beq lbl_8035A4A0 -/* 8035A42C 0035738C 7C 1E 00 00 */ cmpw r30, r0 -/* 8035A430 00357390 40 81 00 3C */ ble lbl_8035A46C -/* 8035A434 00357394 4B F6 FF C9 */ bl "reserve__Q24rstl37vectorFi" -/* 8035A438 00357398 80 7D 00 04 */ lwz r3, 4(r29) -/* 8035A43C 0035739C 80 1D 00 0C */ lwz r0, 0xc(r29) -/* 8035A440 003573A0 7C 83 F0 51 */ subf. r4, r3, r30 -/* 8035A444 003573A4 7C 60 1A 14 */ add r3, r0, r3 -/* 8035A448 003573A8 7C 89 03 A6 */ mtctr r4 -/* 8035A44C 003573AC 40 81 00 50 */ ble lbl_8035A49C -lbl_8035A450: -/* 8035A450 003573B0 28 03 00 00 */ cmplwi r3, 0 -/* 8035A454 003573B4 41 82 00 0C */ beq lbl_8035A460 -/* 8035A458 003573B8 88 1F 00 00 */ lbz r0, 0(r31) -/* 8035A45C 003573BC 98 03 00 00 */ stb r0, 0(r3) -lbl_8035A460: -/* 8035A460 003573C0 38 63 00 01 */ addi r3, r3, 1 -/* 8035A464 003573C4 42 00 FF EC */ bdnz lbl_8035A450 -/* 8035A468 003573C8 48 00 00 34 */ b lbl_8035A49C -lbl_8035A46C: -/* 8035A46C 003573CC 80 9D 00 0C */ lwz r4, 0xc(r29) -/* 8035A470 003573D0 7C 64 02 14 */ add r3, r4, r0 -/* 8035A474 003573D4 7C 84 F2 14 */ add r4, r4, r30 -/* 8035A478 003573D8 7C 04 18 50 */ subf r0, r4, r3 -/* 8035A47C 003573DC 90 61 00 08 */ stw r3, 8(r1) -/* 8035A480 003573E0 90 61 00 0C */ stw r3, 0xc(r1) -/* 8035A484 003573E4 90 81 00 10 */ stw r4, 0x10(r1) -/* 8035A488 003573E8 90 81 00 14 */ stw r4, 0x14(r1) -/* 8035A48C 003573EC 7C 09 03 A6 */ mtctr r0 -/* 8035A490 003573F0 7C 04 18 40 */ cmplw r4, r3 -/* 8035A494 003573F4 41 82 00 08 */ beq lbl_8035A49C -lbl_8035A498: -/* 8035A498 003573F8 42 00 00 00 */ bdnz lbl_8035A498 -lbl_8035A49C: -/* 8035A49C 003573FC 93 DD 00 04 */ stw r30, 4(r29) -lbl_8035A4A0: -/* 8035A4A0 00357400 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8035A4A4 00357404 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8035A4A8 00357408 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8035A4AC 0035740C 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 8035A4B0 00357410 7C 08 03 A6 */ mtlr r0 -/* 8035A4B4 00357414 38 21 00 30 */ addi r1, r1, 0x30 -/* 8035A4B8 00357418 4E 80 00 20 */ blr - -.global Render__17CTextRenderBufferCFRC6CColorf -Render__17CTextRenderBufferCFRC6CColorf: -/* 8035A4BC 0035741C 94 21 FE E0 */ stwu r1, -0x120(r1) -/* 8035A4C0 00357420 7C 08 02 A6 */ mflr r0 -/* 8035A4C4 00357424 90 01 01 24 */ stw r0, 0x124(r1) -/* 8035A4C8 00357428 DB E1 01 10 */ stfd f31, 0x110(r1) -/* 8035A4CC 0035742C F3 E1 01 18 */ psq_st f31, 280(r1), 0, qr0 -/* 8035A4D0 00357430 DB C1 01 00 */ stfd f30, 0x100(r1) -/* 8035A4D4 00357434 F3 C1 01 08 */ psq_st f30, 264(r1), 0, qr0 -/* 8035A4D8 00357438 DB A1 00 F0 */ stfd f29, 0xf0(r1) -/* 8035A4DC 0035743C F3 A1 00 F8 */ psq_st f29, 248(r1), 0, qr0 -/* 8035A4E0 00357440 BE E1 00 CC */ stmw r23, 0xcc(r1) -/* 8035A4E4 00357444 7C 78 1B 78 */ mr r24, r3 -/* 8035A4E8 00357448 38 00 FF FF */ li r0, -1 -/* 8035A4EC 0035744C 98 03 00 4C */ stb r0, 0x4c(r3) -/* 8035A4F0 00357450 FF E0 08 90 */ fmr f31, f1 -/* 8035A4F4 00357454 7C 99 23 78 */ mr r25, r4 -/* 8035A4F8 00357458 38 61 00 40 */ addi r3, r1, 0x40 -/* 8035A4FC 0035745C 98 18 00 4D */ stb r0, 0x4d(r24) -/* 8035A500 00357460 38 C0 00 01 */ li r6, 1 -/* 8035A504 00357464 80 98 00 40 */ lwz r4, 0x40(r24) -/* 8035A508 00357468 80 B8 00 44 */ lwz r5, 0x44(r24) -/* 8035A50C 0035746C 4B FE 4D 01 */ bl __ct__15CMemoryInStreamFPvUlQ215CMemoryInStream10EOwnerShip -/* 8035A510 00357470 3B 78 00 54 */ addi r27, r24, 0x54 -/* 8035A514 00357474 48 00 06 60 */ b lbl_8035AB74 -lbl_8035A518: -/* 8035A518 00357478 38 61 00 40 */ addi r3, r1, 0x40 -/* 8035A51C 0035747C 4B FE 47 F1 */ bl ReadChar__12CInputStreamFv -/* 8035A520 00357480 54 60 06 3E */ clrlwi r0, r3, 0x18 -/* 8035A524 00357484 2C 00 00 02 */ cmpwi r0, 2 -/* 8035A528 00357488 41 82 06 28 */ beq lbl_8035AB50 -/* 8035A52C 0035748C 40 80 00 14 */ bge lbl_8035A540 -/* 8035A530 00357490 2C 00 00 00 */ cmpwi r0, 0 -/* 8035A534 00357494 41 82 00 18 */ beq lbl_8035A54C -/* 8035A538 00357498 40 80 02 AC */ bge lbl_8035A7E4 -/* 8035A53C 0035749C 48 00 06 38 */ b lbl_8035AB74 -lbl_8035A540: -/* 8035A540 003574A0 2C 00 00 04 */ cmpwi r0, 4 -/* 8035A544 003574A4 40 80 06 30 */ bge lbl_8035AB74 -/* 8035A548 003574A8 48 00 06 1C */ b lbl_8035AB64 -lbl_8035A54C: -/* 8035A54C 003574AC 88 18 00 4E */ lbz r0, 0x4e(r24) -/* 8035A550 003574B0 7C 00 07 74 */ extsb r0, r0 -/* 8035A554 003574B4 2C 00 FF FF */ cmpwi r0, -1 -/* 8035A558 003574B8 41 82 00 4C */ beq lbl_8035A5A4 -/* 8035A55C 003574BC 80 98 00 10 */ lwz r4, 0x10(r24) -/* 8035A560 003574C0 54 00 18 38 */ slwi r0, r0, 3 -/* 8035A564 003574C4 38 61 00 38 */ addi r3, r1, 0x38 -/* 8035A568 003574C8 7C 84 02 14 */ add r4, r4, r0 -/* 8035A56C 003574CC 4B FE 69 3D */ bl __ct__6CTokenFRC6CToken -/* 8035A570 003574D0 80 61 00 38 */ lwz r3, 0x38(r1) -/* 8035A574 003574D4 80 03 00 10 */ lwz r0, 0x10(r3) -/* 8035A578 003574D8 28 00 00 00 */ cmplwi r0, 0 -/* 8035A57C 003574DC 41 82 00 1C */ beq lbl_8035A598 -/* 8035A580 003574E0 38 61 00 38 */ addi r3, r1, 0x38 -/* 8035A584 003574E4 4B FE 68 89 */ bl GetObj__6CTokenFv -/* 8035A588 003574E8 80 63 00 04 */ lwz r3, 4(r3) -/* 8035A58C 003574EC 4B FA 59 E1 */ bl SetupRenderState__11CRasterFontFv -/* 8035A590 003574F0 38 00 FF FF */ li r0, -1 -/* 8035A594 003574F4 98 18 00 4E */ stb r0, 0x4e(r24) -lbl_8035A598: -/* 8035A598 003574F8 38 61 00 38 */ addi r3, r1, 0x38 -/* 8035A59C 003574FC 38 80 00 00 */ li r4, 0 -/* 8035A5A0 00357500 4B FE 68 A1 */ bl __dt__6CTokenFv -lbl_8035A5A4: -/* 8035A5A4 00357504 88 18 00 4F */ lbz r0, 0x4f(r24) -/* 8035A5A8 00357508 7C 00 07 74 */ extsb r0, r0 -/* 8035A5AC 0035750C 2C 00 FF FF */ cmpwi r0, -1 -/* 8035A5B0 00357510 41 82 00 1C */ beq lbl_8035A5CC -/* 8035A5B4 00357514 54 03 18 38 */ slwi r3, r0, 3 -/* 8035A5B8 00357518 38 03 00 04 */ addi r0, r3, 4 -/* 8035A5BC 0035751C 7C 7B 00 2E */ lwzx r3, r27, r0 -/* 8035A5C0 00357520 4B FB 39 05 */ bl Load__16CGraphicsPaletteCFv -/* 8035A5C4 00357524 38 00 FF FF */ li r0, -1 -/* 8035A5C8 00357528 98 18 00 4F */ stb r0, 0x4f(r24) -lbl_8035A5CC: -/* 8035A5CC 0035752C 38 61 00 40 */ addi r3, r1, 0x40 -/* 8035A5D0 00357530 4B FE 46 E1 */ bl ReadShort__12CInputStreamFv -/* 8035A5D4 00357534 7C 7E 07 34 */ extsh r30, r3 -/* 8035A5D8 00357538 38 61 00 40 */ addi r3, r1, 0x40 -/* 8035A5DC 0035753C 4B FE 46 D5 */ bl ReadShort__12CInputStreamFv -/* 8035A5E0 00357540 7C 7D 07 34 */ extsh r29, r3 -/* 8035A5E4 00357544 38 61 00 40 */ addi r3, r1, 0x40 -/* 8035A5E8 00357548 4B FE 46 C9 */ bl ReadShort__12CInputStreamFv -/* 8035A5EC 0035754C 7C 77 07 34 */ extsh r23, r3 -/* 8035A5F0 00357550 38 61 00 40 */ addi r3, r1, 0x40 -/* 8035A5F4 00357554 4B FE 46 91 */ bl ReadLong__12CInputStreamFv -/* 8035A5F8 00357558 88 18 00 4C */ lbz r0, 0x4c(r24) -/* 8035A5FC 0035755C 7C 7A 1B 78 */ mr r26, r3 -/* 8035A600 00357560 7C 00 07 74 */ extsb r0, r0 -/* 8035A604 00357564 2C 00 FF FF */ cmpwi r0, -1 -/* 8035A608 00357568 41 82 05 6C */ beq lbl_8035AB74 -/* 8035A60C 0035756C 80 98 00 10 */ lwz r4, 0x10(r24) -/* 8035A610 00357570 54 00 18 38 */ slwi r0, r0, 3 -/* 8035A614 00357574 38 61 00 30 */ addi r3, r1, 0x30 -/* 8035A618 00357578 7C 84 02 14 */ add r4, r4, r0 -/* 8035A61C 0035757C 4B FE 68 8D */ bl __ct__6CTokenFRC6CToken -/* 8035A620 00357580 80 61 00 30 */ lwz r3, 0x30(r1) -/* 8035A624 00357584 80 03 00 10 */ lwz r0, 0x10(r3) -/* 8035A628 00357588 28 00 00 00 */ cmplwi r0, 0 -/* 8035A62C 0035758C 41 82 01 A8 */ beq lbl_8035A7D4 -/* 8035A630 00357590 38 61 00 30 */ addi r3, r1, 0x30 -/* 8035A634 00357594 4B FE 67 D9 */ bl GetObj__6CTokenFv -/* 8035A638 00357598 56 F7 04 3E */ clrlwi r23, r23, 0x10 -/* 8035A63C 0035759C 80 63 00 04 */ lwz r3, 4(r3) -/* 8035A640 003575A0 7E E4 BB 78 */ mr r4, r23 -/* 8035A644 003575A4 4B FA 60 55 */ bl GetGlyph__11CRasterFontCFw -/* 8035A648 003575A8 28 03 00 00 */ cmplwi r3, 0 -/* 8035A64C 003575AC 41 82 01 88 */ beq lbl_8035A7D4 -/* 8035A650 003575B0 38 61 00 30 */ addi r3, r1, 0x30 -/* 8035A654 003575B4 4B FE 67 B9 */ bl GetObj__6CTokenFv -/* 8035A658 003575B8 80 63 00 04 */ lwz r3, 4(r3) -/* 8035A65C 003575BC 7E E4 BB 78 */ mr r4, r23 -/* 8035A660 003575C0 4B FA 60 39 */ bl GetGlyph__11CRasterFontCFw -/* 8035A664 003575C4 93 41 00 10 */ stw r26, 0x10(r1) -/* 8035A668 003575C8 7C 7F 1B 78 */ mr r31, r3 -/* 8035A66C 003575CC 7F 25 CB 78 */ mr r5, r25 -/* 8035A670 003575D0 38 61 00 14 */ addi r3, r1, 0x14 -/* 8035A674 003575D4 38 81 00 10 */ addi r4, r1, 0x10 -/* 8035A678 003575D8 48 00 8B 01 */ bl Modulate__6CColorFRC6CColorRC6CColor -/* 8035A67C 003575DC 38 81 00 14 */ addi r4, r1, 0x14 -/* 8035A680 003575E0 38 60 00 00 */ li r3, 0 -/* 8035A684 003575E4 4B FA E5 C1 */ bl SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor -/* 8035A688 003575E8 38 60 00 98 */ li r3, 0x98 -/* 8035A68C 003575EC 38 80 00 00 */ li r4, 0 -/* 8035A690 003575F0 38 A0 00 04 */ li r5, 4 -/* 8035A694 003575F4 4B FA DE F1 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs -/* 8035A698 003575F8 3C A0 43 30 */ lis r5, 0x4330 -/* 8035A69C 003575FC 6F C6 80 00 */ xoris r6, r30, 0x8000 -/* 8035A6A0 00357600 90 C1 00 6C */ stw r6, 0x6c(r1) -/* 8035A6A4 00357604 6F A3 80 00 */ xoris r3, r29, 0x8000 -/* 8035A6A8 00357608 C8 82 CD 00 */ lfd f4, lbl_805AEA20@sda21(r2) -/* 8035A6AC 0035760C 3C 80 CC 01 */ lis r4, 0xCC008000@ha -/* 8035A6B0 00357610 90 A1 00 68 */ stw r5, 0x68(r1) -/* 8035A6B4 00357614 C0 62 CD 08 */ lfs f3, lbl_805AEA28@sda21(r2) -/* 8035A6B8 00357618 C8 01 00 68 */ lfd f0, 0x68(r1) -/* 8035A6BC 0035761C 90 61 00 74 */ stw r3, 0x74(r1) -/* 8035A6C0 00357620 EC 20 20 28 */ fsubs f1, f0, f4 -/* 8035A6C4 00357624 90 A1 00 70 */ stw r5, 0x70(r1) -/* 8035A6C8 00357628 C8 01 00 70 */ lfd f0, 0x70(r1) -/* 8035A6CC 0035762C D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8035A6D0 00357630 EC 00 20 28 */ fsubs f0, f0, f4 -/* 8035A6D4 00357634 D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) -/* 8035A6D8 00357638 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) -/* 8035A6DC 0035763C C0 3F 00 0C */ lfs f1, 0xc(r31) -/* 8035A6E0 00357640 C0 1F 00 08 */ lfs f0, 8(r31) -/* 8035A6E4 00357644 90 A1 00 78 */ stw r5, 0x78(r1) -/* 8035A6E8 00357648 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) -/* 8035A6EC 0035764C D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8035A6F0 00357650 A8 1F 00 18 */ lha r0, 0x18(r31) -/* 8035A6F4 00357654 90 61 00 84 */ stw r3, 0x84(r1) -/* 8035A6F8 00357658 7C 1E 02 14 */ add r0, r30, r0 -/* 8035A6FC 0035765C 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 8035A700 00357660 90 A1 00 80 */ stw r5, 0x80(r1) -/* 8035A704 00357664 90 01 00 7C */ stw r0, 0x7c(r1) -/* 8035A708 00357668 C8 01 00 80 */ lfd f0, 0x80(r1) -/* 8035A70C 0035766C C8 41 00 78 */ lfd f2, 0x78(r1) -/* 8035A710 00357670 EC 20 20 28 */ fsubs f1, f0, f4 -/* 8035A714 00357674 90 C1 00 94 */ stw r6, 0x94(r1) -/* 8035A718 00357678 EC 02 20 28 */ fsubs f0, f2, f4 -/* 8035A71C 0035767C 90 A1 00 90 */ stw r5, 0x90(r1) -/* 8035A720 00357680 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) -/* 8035A724 00357684 C8 01 00 90 */ lfd f0, 0x90(r1) -/* 8035A728 00357688 D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) -/* 8035A72C 0035768C EC 00 20 28 */ fsubs f0, f0, f4 -/* 8035A730 00357690 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8035A734 00357694 C0 5F 00 0C */ lfs f2, 0xc(r31) -/* 8035A738 00357698 C0 3F 00 10 */ lfs f1, 0x10(r31) -/* 8035A73C 0035769C 90 A1 00 88 */ stw r5, 0x88(r1) -/* 8035A740 003576A0 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8035A744 003576A4 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) -/* 8035A748 003576A8 A8 1F 00 1A */ lha r0, 0x1a(r31) -/* 8035A74C 003576AC 90 A1 00 A0 */ stw r5, 0xa0(r1) -/* 8035A750 003576B0 7C 1D 02 14 */ add r0, r29, r0 -/* 8035A754 003576B4 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 8035A758 003576B8 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) -/* 8035A75C 003576BC 90 01 00 8C */ stw r0, 0x8c(r1) -/* 8035A760 003576C0 C8 01 00 88 */ lfd f0, 0x88(r1) -/* 8035A764 003576C4 D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) -/* 8035A768 003576C8 EC 00 20 28 */ fsubs f0, f0, f4 -/* 8035A76C 003576CC 90 A1 00 98 */ stw r5, 0x98(r1) -/* 8035A770 003576D0 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) -/* 8035A774 003576D4 C0 3F 00 14 */ lfs f1, 0x14(r31) -/* 8035A778 003576D8 C0 1F 00 08 */ lfs f0, 8(r31) -/* 8035A77C 003576DC D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) -/* 8035A780 003576E0 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8035A784 003576E4 A8 1F 00 18 */ lha r0, 0x18(r31) -/* 8035A788 003576E8 A8 7F 00 1A */ lha r3, 0x1a(r31) -/* 8035A78C 003576EC 7C 1E 02 14 */ add r0, r30, r0 -/* 8035A790 003576F0 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 8035A794 003576F4 7C 7D 1A 14 */ add r3, r29, r3 -/* 8035A798 003576F8 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 8035A79C 003576FC 6C 60 80 00 */ xoris r0, r3, 0x8000 -/* 8035A7A0 00357700 C8 01 00 A0 */ lfd f0, 0xa0(r1) -/* 8035A7A4 00357704 90 01 00 9C */ stw r0, 0x9c(r1) -/* 8035A7A8 00357708 EC 00 20 28 */ fsubs f0, f0, f4 -/* 8035A7AC 0035770C C8 21 00 98 */ lfd f1, 0x98(r1) -/* 8035A7B0 00357710 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) -/* 8035A7B4 00357714 EC 01 20 28 */ fsubs f0, f1, f4 -/* 8035A7B8 00357718 D0 64 80 00 */ stfs f3, 0xCC008000@l(r4) -/* 8035A7BC 0035771C D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) -/* 8035A7C0 00357720 C0 3F 00 14 */ lfs f1, 0x14(r31) -/* 8035A7C4 00357724 C0 1F 00 10 */ lfs f0, 0x10(r31) -/* 8035A7C8 00357728 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) -/* 8035A7CC 0035772C D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8035A7D0 00357730 4B FA DD B1 */ bl End__3CGXFv -lbl_8035A7D4: -/* 8035A7D4 00357734 38 61 00 30 */ addi r3, r1, 0x30 -/* 8035A7D8 00357738 38 80 00 00 */ li r4, 0 -/* 8035A7DC 0035773C 4B FE 66 65 */ bl __dt__6CTokenFv -/* 8035A7E0 00357740 48 00 03 94 */ b lbl_8035AB74 -lbl_8035A7E4: -/* 8035A7E4 00357744 38 61 00 40 */ addi r3, r1, 0x40 -/* 8035A7E8 00357748 4B FE 44 C9 */ bl ReadShort__12CInputStreamFv -/* 8035A7EC 0035774C 7C 7D 07 34 */ extsh r29, r3 -/* 8035A7F0 00357750 38 61 00 40 */ addi r3, r1, 0x40 -/* 8035A7F4 00357754 4B FE 44 BD */ bl ReadShort__12CInputStreamFv -/* 8035A7F8 00357758 7C 7E 07 34 */ extsh r30, r3 -/* 8035A7FC 0035775C 38 61 00 40 */ addi r3, r1, 0x40 -/* 8035A800 00357760 4B FE 45 0D */ bl ReadChar__12CInputStreamFv -/* 8035A804 00357764 7C 77 07 74 */ extsb r23, r3 -/* 8035A808 00357768 38 61 00 40 */ addi r3, r1, 0x40 -/* 8035A80C 0035776C 4B FE 44 79 */ bl ReadLong__12CInputStreamFv -/* 8035A810 00357770 1C 17 00 1C */ mulli r0, r23, 0x1c -/* 8035A814 00357774 80 98 00 20 */ lwz r4, 0x20(r24) -/* 8035A818 00357778 7C 7F 1B 78 */ mr r31, r3 -/* 8035A81C 0035777C 38 61 00 28 */ addi r3, r1, 0x28 -/* 8035A820 00357780 7F 84 02 14 */ add r28, r4, r0 -/* 8035A824 00357784 C0 1C 00 00 */ lfs f0, 0(r28) -/* 8035A828 00357788 80 9C 00 08 */ lwz r4, 8(r28) -/* 8035A82C 0035778C EC 1F 00 32 */ fmuls f0, f31, f0 -/* 8035A830 00357790 80 DC 00 10 */ lwz r6, 0x10(r28) -/* 8035A834 00357794 FC 00 00 1E */ fctiwz f0, f0 -/* 8035A838 00357798 D8 01 00 A0 */ stfd f0, 0xa0(r1) -/* 8035A83C 0035779C 80 A1 00 A4 */ lwz r5, 0xa4(r1) -/* 8035A840 003577A0 7C 05 23 D6 */ divw r0, r5, r4 -/* 8035A844 003577A4 7C 00 21 D6 */ mullw r0, r0, r4 -/* 8035A848 003577A8 7C 00 28 50 */ subf r0, r0, r5 -/* 8035A84C 003577AC 54 00 18 38 */ slwi r0, r0, 3 -/* 8035A850 003577B0 7C 86 02 14 */ add r4, r6, r0 -/* 8035A854 003577B4 4B FE 66 55 */ bl __ct__6CTokenFRC6CToken -/* 8035A858 003577B8 80 61 00 28 */ lwz r3, 0x28(r1) -/* 8035A85C 003577BC 80 03 00 10 */ lwz r0, 0x10(r3) -/* 8035A860 003577C0 28 00 00 00 */ cmplwi r0, 0 -/* 8035A864 003577C4 41 82 02 DC */ beq lbl_8035AB40 -/* 8035A868 003577C8 38 61 00 28 */ addi r3, r1, 0x28 -/* 8035A86C 003577CC 4B FE 65 A1 */ bl GetObj__6CTokenFv -/* 8035A870 003577D0 80 63 00 04 */ lwz r3, 4(r3) -/* 8035A874 003577D4 38 80 00 00 */ li r4, 0 -/* 8035A878 003577D8 38 A0 00 00 */ li r5, 0 -/* 8035A87C 003577DC 4B FB 4E C1 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode -/* 8035A880 003577E0 80 9C 00 10 */ lwz r4, 0x10(r28) -/* 8035A884 003577E4 38 61 00 20 */ addi r3, r1, 0x20 -/* 8035A888 003577E8 4B FE 66 21 */ bl __ct__6CTokenFRC6CToken -/* 8035A88C 003577EC 38 61 00 20 */ addi r3, r1, 0x20 -/* 8035A890 003577F0 4B FE 65 7D */ bl GetObj__6CTokenFv -/* 8035A894 003577F4 80 83 00 04 */ lwz r4, 4(r3) -/* 8035A898 003577F8 3C 00 43 30 */ lis r0, 0x4330 -/* 8035A89C 003577FC 90 01 00 A0 */ stw r0, 0xa0(r1) -/* 8035A8A0 00357800 38 61 00 20 */ addi r3, r1, 0x20 -/* 8035A8A4 00357804 A8 04 00 04 */ lha r0, 4(r4) -/* 8035A8A8 00357808 38 80 00 00 */ li r4, 0 -/* 8035A8AC 0035780C C8 42 CD 00 */ lfd f2, lbl_805AEA20@sda21(r2) -/* 8035A8B0 00357810 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 8035A8B4 00357814 C0 1C 00 14 */ lfs f0, 0x14(r28) -/* 8035A8B8 00357818 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 8035A8BC 0035781C C8 21 00 A0 */ lfd f1, 0xa0(r1) -/* 8035A8C0 00357820 EC 21 10 28 */ fsubs f1, f1, f2 -/* 8035A8C4 00357824 EC 01 00 32 */ fmuls f0, f1, f0 -/* 8035A8C8 00357828 FC 00 00 1E */ fctiwz f0, f0 -/* 8035A8CC 0035782C D8 01 00 98 */ stfd f0, 0x98(r1) -/* 8035A8D0 00357830 83 41 00 9C */ lwz r26, 0x9c(r1) -/* 8035A8D4 00357834 4B FE 65 6D */ bl __dt__6CTokenFv -/* 8035A8D8 00357838 80 9C 00 10 */ lwz r4, 0x10(r28) -/* 8035A8DC 0035783C 7F 5A 07 34 */ extsh r26, r26 -/* 8035A8E0 00357840 38 61 00 18 */ addi r3, r1, 0x18 -/* 8035A8E4 00357844 4B FE 65 C5 */ bl __ct__6CTokenFRC6CToken -/* 8035A8E8 00357848 38 61 00 18 */ addi r3, r1, 0x18 -/* 8035A8EC 0035784C 4B FE 65 21 */ bl GetObj__6CTokenFv -/* 8035A8F0 00357850 80 83 00 04 */ lwz r4, 4(r3) -/* 8035A8F4 00357854 3C 00 43 30 */ lis r0, 0x4330 -/* 8035A8F8 00357858 90 01 00 90 */ stw r0, 0x90(r1) -/* 8035A8FC 0035785C 38 61 00 18 */ addi r3, r1, 0x18 -/* 8035A900 00357860 A8 04 00 06 */ lha r0, 6(r4) -/* 8035A904 00357864 38 80 00 00 */ li r4, 0 -/* 8035A908 00357868 C8 42 CD 00 */ lfd f2, lbl_805AEA20@sda21(r2) -/* 8035A90C 0035786C 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 8035A910 00357870 C0 1C 00 18 */ lfs f0, 0x18(r28) -/* 8035A914 00357874 90 01 00 94 */ stw r0, 0x94(r1) -/* 8035A918 00357878 C8 21 00 90 */ lfd f1, 0x90(r1) -/* 8035A91C 0035787C EC 21 10 28 */ fsubs f1, f1, f2 -/* 8035A920 00357880 EC 01 00 32 */ fmuls f0, f1, f0 -/* 8035A924 00357884 FC 00 00 1E */ fctiwz f0, f0 -/* 8035A928 00357888 D8 01 00 88 */ stfd f0, 0x88(r1) -/* 8035A92C 0035788C 82 E1 00 8C */ lwz r23, 0x8c(r1) -/* 8035A930 00357890 4B FE 65 11 */ bl __dt__6CTokenFv -/* 8035A934 00357894 C0 5C 00 14 */ lfs f2, 0x14(r28) -/* 8035A938 00357898 38 60 00 00 */ li r3, 0 -/* 8035A93C 0035789C C0 22 CD 0C */ lfs f1, lbl_805AEA2C@sda21(r2) -/* 8035A940 003578A0 38 80 00 1C */ li r4, 0x1c -/* 8035A944 003578A4 C0 1C 00 18 */ lfs f0, 0x18(r28) -/* 8035A948 003578A8 EF C2 00 72 */ fmuls f30, f2, f1 -/* 8035A94C 003578AC EF A0 00 72 */ fmuls f29, f0, f1 -/* 8035A950 003578B0 4B FA E0 4D */ bl SetTevKAlphaSel__3CGXF13_GXTevStageID15_GXTevKAlphaSel -/* 8035A954 003578B4 38 60 00 00 */ li r3, 0 -/* 8035A958 003578B8 38 80 00 0C */ li r4, 0xc -/* 8035A95C 003578BC 4B FA E0 85 */ bl SetTevKColorSel__3CGXF13_GXTevStageID15_GXTevKColorSel -/* 8035A960 003578C0 38 60 00 00 */ li r3, 0 -/* 8035A964 003578C4 38 80 00 0F */ li r4, 0xf -/* 8035A968 003578C8 38 A0 00 08 */ li r5, 8 -/* 8035A96C 003578CC 38 C0 00 0E */ li r6, 0xe -/* 8035A970 003578D0 38 E0 00 0F */ li r7, 0xf -/* 8035A974 003578D4 4B FA E2 79 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg -/* 8035A978 003578D8 38 60 00 00 */ li r3, 0 -/* 8035A97C 003578DC 38 80 00 07 */ li r4, 7 -/* 8035A980 003578E0 38 A0 00 04 */ li r5, 4 -/* 8035A984 003578E4 38 C0 00 06 */ li r6, 6 -/* 8035A988 003578E8 38 E0 00 07 */ li r7, 7 -/* 8035A98C 003578EC 4B FA E2 09 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg -/* 8035A990 003578F0 38 60 00 00 */ li r3, 0 -/* 8035A994 003578F4 4B FA D2 BD */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID -/* 8035A998 003578F8 3C 60 80 3E */ lis r3, lbl_803D8350@ha -/* 8035A99C 003578FC 38 63 83 50 */ addi r3, r3, lbl_803D8350@l -/* 8035A9A0 00357900 4B FA D4 89 */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList -/* 8035A9A4 00357904 38 60 00 00 */ li r3, 0 -/* 8035A9A8 00357908 4B FA E4 A9 */ bl SetNumChans__3CGXFUc -/* 8035A9AC 0035790C 38 60 00 01 */ li r3, 1 -/* 8035A9B0 00357910 4B FA E4 65 */ bl SetNumTexGens__3CGXFUc -/* 8035A9B4 00357914 38 60 00 01 */ li r3, 1 -/* 8035A9B8 00357918 4B FA E2 D9 */ bl SetNumTevStages__3CGXFUc -/* 8035A9BC 0035791C 38 60 00 00 */ li r3, 0 -/* 8035A9C0 00357920 38 80 00 00 */ li r4, 0 -/* 8035A9C4 00357924 38 A0 00 00 */ li r5, 0 -/* 8035A9C8 00357928 38 C0 00 FF */ li r6, 0xff -/* 8035A9CC 0035792C 4B FA DF 81 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID -/* 8035A9D0 00357930 38 60 00 00 */ li r3, 0 -/* 8035A9D4 00357934 38 80 00 01 */ li r4, 1 -/* 8035A9D8 00357938 38 A0 00 04 */ li r5, 4 -/* 8035A9DC 0035793C 38 C0 00 3C */ li r6, 0x3c -/* 8035A9E0 00357940 38 E0 00 00 */ li r7, 0 -/* 8035A9E4 00357944 39 00 00 7D */ li r8, 0x7d -/* 8035A9E8 00357948 4B FA DC E5 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx -/* 8035A9EC 0035794C 93 E1 00 08 */ stw r31, 8(r1) -/* 8035A9F0 00357950 7F 25 CB 78 */ mr r5, r25 -/* 8035A9F4 00357954 38 61 00 0C */ addi r3, r1, 0xc -/* 8035A9F8 00357958 38 81 00 08 */ addi r4, r1, 8 -/* 8035A9FC 0035795C 48 00 87 7D */ bl Modulate__6CColorFRC6CColorRC6CColor -/* 8035AA00 00357960 38 81 00 0C */ addi r4, r1, 0xc -/* 8035AA04 00357964 38 60 00 00 */ li r3, 0 -/* 8035AA08 00357968 4B FA E2 3D */ bl SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor -/* 8035AA0C 0035796C 38 60 00 98 */ li r3, 0x98 -/* 8035AA10 00357970 38 80 00 00 */ li r4, 0 -/* 8035AA14 00357974 38 A0 00 04 */ li r5, 4 -/* 8035AA18 00357978 4B FA DB 6D */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs -/* 8035AA1C 0035797C 3C C0 43 30 */ lis r6, 0x4330 -/* 8035AA20 00357980 6F A7 80 00 */ xoris r7, r29, 0x8000 -/* 8035AA24 00357984 90 E1 00 84 */ stw r7, 0x84(r1) -/* 8035AA28 00357988 6F C4 80 00 */ xoris r4, r30, 0x8000 -/* 8035AA2C 0035798C C0 02 CD 0C */ lfs f0, lbl_805AEA2C@sda21(r2) -/* 8035AA30 00357990 7C 1D D2 14 */ add r0, r29, r26 -/* 8035AA34 00357994 90 C1 00 80 */ stw r6, 0x80(r1) -/* 8035AA38 00357998 6C 03 80 00 */ xoris r3, r0, 0x8000 -/* 8035AA3C 0035799C C8 82 CD 00 */ lfd f4, lbl_805AEA20@sda21(r2) -/* 8035AA40 003579A0 7E E0 07 34 */ extsh r0, r23 -/* 8035AA44 003579A4 C8 21 00 80 */ lfd f1, 0x80(r1) -/* 8035AA48 003579A8 7C 1E 02 14 */ add r0, r30, r0 -/* 8035AA4C 003579AC 90 81 00 7C */ stw r4, 0x7c(r1) -/* 8035AA50 003579B0 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 8035AA54 003579B4 EC 61 20 28 */ fsubs f3, f1, f4 -/* 8035AA58 003579B8 3C A0 CC 01 */ lis r5, 0xCC008000@ha -/* 8035AA5C 003579BC 90 C1 00 78 */ stw r6, 0x78(r1) -/* 8035AA60 003579C0 EC C0 F0 28 */ fsubs f6, f0, f30 -/* 8035AA64 003579C4 C0 42 CD 08 */ lfs f2, lbl_805AEA28@sda21(r2) -/* 8035AA68 003579C8 EC A0 E8 2A */ fadds f5, f0, f29 -/* 8035AA6C 003579CC C8 21 00 78 */ lfd f1, 0x78(r1) -/* 8035AA70 003579D0 EC E0 F0 2A */ fadds f7, f0, f30 -/* 8035AA74 003579D4 D0 65 80 00 */ stfs f3, 0xCC008000@l(r5) -/* 8035AA78 003579D8 EC 60 E8 28 */ fsubs f3, f0, f29 -/* 8035AA7C 003579DC EC 01 20 28 */ fsubs f0, f1, f4 -/* 8035AA80 003579E0 D0 45 80 00 */ stfs f2, 0xCC008000@l(r5) -/* 8035AA84 003579E4 D0 05 80 00 */ stfs f0, 0xCC008000@l(r5) -/* 8035AA88 003579E8 D0 C5 80 00 */ stfs f6, 0xCC008000@l(r5) -/* 8035AA8C 003579EC 90 61 00 74 */ stw r3, 0x74(r1) -/* 8035AA90 003579F0 90 C1 00 70 */ stw r6, 0x70(r1) -/* 8035AA94 003579F4 C8 01 00 70 */ lfd f0, 0x70(r1) -/* 8035AA98 003579F8 90 81 00 6C */ stw r4, 0x6c(r1) -/* 8035AA9C 003579FC EC 20 20 28 */ fsubs f1, f0, f4 -/* 8035AAA0 00357A00 90 C1 00 68 */ stw r6, 0x68(r1) -/* 8035AAA4 00357A04 D0 A5 80 00 */ stfs f5, 0xCC008000@l(r5) -/* 8035AAA8 00357A08 C8 01 00 68 */ lfd f0, 0x68(r1) -/* 8035AAAC 00357A0C D0 25 80 00 */ stfs f1, 0xCC008000@l(r5) -/* 8035AAB0 00357A10 EC 00 20 28 */ fsubs f0, f0, f4 -/* 8035AAB4 00357A14 D0 45 80 00 */ stfs f2, 0xCC008000@l(r5) -/* 8035AAB8 00357A18 D0 05 80 00 */ stfs f0, 0xCC008000@l(r5) -/* 8035AABC 00357A1C D0 E5 80 00 */ stfs f7, 0xCC008000@l(r5) -/* 8035AAC0 00357A20 90 E1 00 AC */ stw r7, 0xac(r1) -/* 8035AAC4 00357A24 90 C1 00 A8 */ stw r6, 0xa8(r1) -/* 8035AAC8 00357A28 C8 01 00 A8 */ lfd f0, 0xa8(r1) -/* 8035AACC 00357A2C 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 8035AAD0 00357A30 EC 20 20 28 */ fsubs f1, f0, f4 -/* 8035AAD4 00357A34 90 C1 00 B0 */ stw r6, 0xb0(r1) -/* 8035AAD8 00357A38 D0 A5 80 00 */ stfs f5, 0xCC008000@l(r5) -/* 8035AADC 00357A3C C8 01 00 B0 */ lfd f0, 0xb0(r1) -/* 8035AAE0 00357A40 D0 25 80 00 */ stfs f1, 0xCC008000@l(r5) -/* 8035AAE4 00357A44 EC 00 20 28 */ fsubs f0, f0, f4 -/* 8035AAE8 00357A48 D0 45 80 00 */ stfs f2, 0xCC008000@l(r5) -/* 8035AAEC 00357A4C D0 05 80 00 */ stfs f0, 0xCC008000@l(r5) -/* 8035AAF0 00357A50 D0 C5 80 00 */ stfs f6, 0xCC008000@l(r5) -/* 8035AAF4 00357A54 90 61 00 BC */ stw r3, 0xbc(r1) -/* 8035AAF8 00357A58 90 C1 00 B8 */ stw r6, 0xb8(r1) -/* 8035AAFC 00357A5C C8 01 00 B8 */ lfd f0, 0xb8(r1) -/* 8035AB00 00357A60 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 8035AB04 00357A64 EC 20 20 28 */ fsubs f1, f0, f4 -/* 8035AB08 00357A68 90 C1 00 C0 */ stw r6, 0xc0(r1) -/* 8035AB0C 00357A6C D0 65 80 00 */ stfs f3, 0xCC008000@l(r5) -/* 8035AB10 00357A70 C8 01 00 C0 */ lfd f0, 0xc0(r1) -/* 8035AB14 00357A74 D0 25 80 00 */ stfs f1, 0xCC008000@l(r5) -/* 8035AB18 00357A78 EC 00 20 28 */ fsubs f0, f0, f4 -/* 8035AB1C 00357A7C D0 45 80 00 */ stfs f2, 0xCC008000@l(r5) -/* 8035AB20 00357A80 D0 05 80 00 */ stfs f0, 0xCC008000@l(r5) -/* 8035AB24 00357A84 D0 E5 80 00 */ stfs f7, 0xCC008000@l(r5) -/* 8035AB28 00357A88 D0 65 80 00 */ stfs f3, 0xCC008000@l(r5) -/* 8035AB2C 00357A8C 4B FA DA 55 */ bl End__3CGXFv -/* 8035AB30 00357A90 88 18 00 4C */ lbz r0, 0x4c(r24) -/* 8035AB34 00357A94 98 18 00 4E */ stb r0, 0x4e(r24) -/* 8035AB38 00357A98 88 18 00 4D */ lbz r0, 0x4d(r24) -/* 8035AB3C 00357A9C 98 18 00 4F */ stb r0, 0x4f(r24) -lbl_8035AB40: -/* 8035AB40 00357AA0 38 61 00 28 */ addi r3, r1, 0x28 -/* 8035AB44 00357AA4 38 80 00 00 */ li r4, 0 -/* 8035AB48 00357AA8 4B FE 62 F9 */ bl __dt__6CTokenFv -/* 8035AB4C 00357AAC 48 00 00 28 */ b lbl_8035AB74 -lbl_8035AB50: -/* 8035AB50 00357AB0 38 61 00 40 */ addi r3, r1, 0x40 -/* 8035AB54 00357AB4 4B FE 41 B9 */ bl ReadChar__12CInputStreamFv -/* 8035AB58 00357AB8 98 78 00 4E */ stb r3, 0x4e(r24) -/* 8035AB5C 00357ABC 98 78 00 4C */ stb r3, 0x4c(r24) -/* 8035AB60 00357AC0 48 00 00 14 */ b lbl_8035AB74 -lbl_8035AB64: -/* 8035AB64 00357AC4 38 61 00 40 */ addi r3, r1, 0x40 -/* 8035AB68 00357AC8 4B FE 41 A5 */ bl ReadChar__12CInputStreamFv -/* 8035AB6C 00357ACC 98 78 00 4F */ stb r3, 0x4f(r24) -/* 8035AB70 00357AD0 98 78 00 4D */ stb r3, 0x4d(r24) -lbl_8035AB74: -/* 8035AB74 00357AD4 80 61 00 58 */ lwz r3, 0x58(r1) -/* 8035AB78 00357AD8 80 18 00 44 */ lwz r0, 0x44(r24) -/* 8035AB7C 00357ADC 7C 03 00 40 */ cmplw r3, r0 -/* 8035AB80 00357AE0 41 80 F9 98 */ blt lbl_8035A518 -/* 8035AB84 00357AE4 3C 80 80 3F */ lis r4, __vt__15CMemoryInStream@ha -/* 8035AB88 00357AE8 38 61 00 40 */ addi r3, r1, 0x40 -/* 8035AB8C 00357AEC 38 04 E3 98 */ addi r0, r4, __vt__15CMemoryInStream@l -/* 8035AB90 00357AF0 38 80 00 00 */ li r4, 0 -/* 8035AB94 00357AF4 90 01 00 40 */ stw r0, 0x40(r1) -/* 8035AB98 00357AF8 4B FE 45 15 */ bl __dt__12CInputStreamFv -/* 8035AB9C 00357AFC E3 E1 01 18 */ psq_l f31, 280(r1), 0, qr0 -/* 8035ABA0 00357B00 CB E1 01 10 */ lfd f31, 0x110(r1) -/* 8035ABA4 00357B04 E3 C1 01 08 */ psq_l f30, 264(r1), 0, qr0 -/* 8035ABA8 00357B08 CB C1 01 00 */ lfd f30, 0x100(r1) -/* 8035ABAC 00357B0C E3 A1 00 F8 */ psq_l f29, 248(r1), 0, qr0 -/* 8035ABB0 00357B10 CB A1 00 F0 */ lfd f29, 0xf0(r1) -/* 8035ABB4 00357B14 BA E1 00 CC */ lmw r23, 0xcc(r1) -/* 8035ABB8 00357B18 80 01 01 24 */ lwz r0, 0x124(r1) -/* 8035ABBC 00357B1C 7C 08 03 A6 */ mtlr r0 -/* 8035ABC0 00357B20 38 21 01 20 */ addi r1, r1, 0x120 -/* 8035ABC4 00357B24 4E 80 00 20 */ blr - -.global AddImage__17CTextRenderBufferFRC9CVector2iRC13CFontImageDef -AddImage__17CTextRenderBufferFRC9CVector2iRC13CFontImageDef: -/* 8035ABC8 00357B28 94 21 FF 50 */ stwu r1, -0xb0(r1) -/* 8035ABCC 00357B2C 7C 08 02 A6 */ mflr r0 -/* 8035ABD0 00357B30 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 8035ABD4 00357B34 93 E1 00 AC */ stw r31, 0xac(r1) -/* 8035ABD8 00357B38 7C BF 2B 78 */ mr r31, r5 -/* 8035ABDC 00357B3C 93 C1 00 A8 */ stw r30, 0xa8(r1) -/* 8035ABE0 00357B40 7C 9E 23 78 */ mr r30, r4 -/* 8035ABE4 00357B44 93 A1 00 A4 */ stw r29, 0xa4(r1) -/* 8035ABE8 00357B48 7C 7D 1B 78 */ mr r29, r3 -/* 8035ABEC 00357B4C 93 81 00 A0 */ stw r28, 0xa0(r1) -/* 8035ABF0 00357B50 80 03 00 00 */ lwz r0, 0(r3) -/* 8035ABF4 00357B54 2C 00 00 01 */ cmpwi r0, 1 -/* 8035ABF8 00357B58 40 82 01 B8 */ bne lbl_8035ADB0 -/* 8035ABFC 00357B5C 4B FF F7 51 */ bl sub_8035a34c -/* 8035AC00 00357B60 7C 7C 1B 78 */ mr r28, r3 -/* 8035AC04 00357B64 7F A3 EB 78 */ mr r3, r29 -/* 8035AC08 00357B68 4B FF F7 7D */ bl GetOutStream__17CTextRenderBufferFv -/* 8035AC0C 00357B6C 7C 64 1B 78 */ mr r4, r3 -/* 8035AC10 00357B70 7F 85 E3 78 */ mr r5, r28 -/* 8035AC14 00357B74 38 61 00 10 */ addi r3, r1, 0x10 -/* 8035AC18 00357B78 38 C0 00 01 */ li r6, 1 -/* 8035AC1C 00357B7C 38 E0 00 40 */ li r7, 0x40 -/* 8035AC20 00357B80 4B FE 47 1D */ bl __ct__16CMemoryStreamOutFPvUlQ216CMemoryStreamOut10EOwnerShipi -/* 8035AC24 00357B84 80 9D 00 28 */ lwz r4, 0x28(r29) -/* 8035AC28 00357B88 38 7D 00 24 */ addi r3, r29, 0x24 -/* 8035AC2C 00357B8C 83 9D 00 48 */ lwz r28, 0x48(r29) -/* 8035AC30 00357B90 38 84 00 01 */ addi r4, r4, 1 -/* 8035AC34 00357B94 4B CF F0 75 */ bl "reserve__Q24rstl36vectorFi" -/* 8035AC38 00357B98 80 1D 00 28 */ lwz r0, 0x28(r29) -/* 8035AC3C 00357B9C 80 BD 00 2C */ lwz r5, 0x2c(r29) -/* 8035AC40 00357BA0 7C 00 28 00 */ cmpw r0, r5 -/* 8035AC44 00357BA4 41 80 00 1C */ blt lbl_8035AC60 -/* 8035AC48 00357BA8 2C 05 00 00 */ cmpwi r5, 0 -/* 8035AC4C 00357BAC 38 7D 00 24 */ addi r3, r29, 0x24 -/* 8035AC50 00357BB0 38 80 00 04 */ li r4, 4 -/* 8035AC54 00357BB4 41 82 00 08 */ beq lbl_8035AC5C -/* 8035AC58 00357BB8 54 A4 08 3C */ slwi r4, r5, 1 -lbl_8035AC5C: -/* 8035AC5C 00357BBC 4B CF F0 4D */ bl "reserve__Q24rstl36vectorFi" -lbl_8035AC60: -/* 8035AC60 00357BC0 80 1D 00 28 */ lwz r0, 0x28(r29) -/* 8035AC64 00357BC4 80 7D 00 30 */ lwz r3, 0x30(r29) -/* 8035AC68 00357BC8 54 00 10 3A */ slwi r0, r0, 2 -/* 8035AC6C 00357BCC 7C 63 02 15 */ add. r3, r3, r0 -/* 8035AC70 00357BD0 41 82 00 08 */ beq lbl_8035AC78 -/* 8035AC74 00357BD4 93 83 00 00 */ stw r28, 0(r3) -lbl_8035AC78: -/* 8035AC78 00357BD8 80 9D 00 28 */ lwz r4, 0x28(r29) -/* 8035AC7C 00357BDC 38 7D 00 14 */ addi r3, r29, 0x14 -/* 8035AC80 00357BE0 38 04 00 01 */ addi r0, r4, 1 -/* 8035AC84 00357BE4 90 1D 00 28 */ stw r0, 0x28(r29) -/* 8035AC88 00357BE8 80 9D 00 18 */ lwz r4, 0x18(r29) -/* 8035AC8C 00357BEC 38 84 00 01 */ addi r4, r4, 1 -/* 8035AC90 00357BF0 4B F6 F5 E9 */ bl sub_802ca278 -/* 8035AC94 00357BF4 83 9D 00 18 */ lwz r28, 0x18(r29) -/* 8035AC98 00357BF8 7F E4 FB 78 */ mr r4, r31 -/* 8035AC9C 00357BFC 38 7D 00 14 */ addi r3, r29, 0x14 -/* 8035ACA0 00357C00 48 00 01 3D */ bl sub_8035addc -/* 8035ACA4 00357C04 38 61 00 10 */ addi r3, r1, 0x10 -/* 8035ACA8 00357C08 4B FE 48 11 */ bl FlushShiftRegister__13COutputStreamFv -/* 8035ACAC 00357C0C 80 61 00 14 */ lwz r3, 0x14(r1) -/* 8035ACB0 00357C10 80 01 00 18 */ lwz r0, 0x18(r1) -/* 8035ACB4 00357C14 7C 03 00 40 */ cmplw r3, r0 -/* 8035ACB8 00357C18 41 80 00 0C */ blt lbl_8035ACC4 -/* 8035ACBC 00357C1C 38 61 00 10 */ addi r3, r1, 0x10 -/* 8035ACC0 00357C20 4B FE 48 65 */ bl DoFlush__13COutputStreamFv -lbl_8035ACC4: -/* 8035ACC4 00357C24 80 A1 00 20 */ lwz r5, 0x20(r1) -/* 8035ACC8 00357C28 38 C0 00 01 */ li r6, 1 -/* 8035ACCC 00357C2C 80 81 00 14 */ lwz r4, 0x14(r1) -/* 8035ACD0 00357C30 38 61 00 10 */ addi r3, r1, 0x10 -/* 8035ACD4 00357C34 38 E5 00 01 */ addi r7, r5, 1 -/* 8035ACD8 00357C38 80 A1 00 1C */ lwz r5, 0x1c(r1) -/* 8035ACDC 00357C3C 38 04 00 01 */ addi r0, r4, 1 -/* 8035ACE0 00357C40 90 E1 00 20 */ stw r7, 0x20(r1) -/* 8035ACE4 00357C44 90 01 00 14 */ stw r0, 0x14(r1) -/* 8035ACE8 00357C48 7C C5 21 AE */ stbx r6, r5, r4 -/* 8035ACEC 00357C4C 80 1E 00 00 */ lwz r0, 0(r30) -/* 8035ACF0 00357C50 B0 01 00 0A */ sth r0, 0xa(r1) -/* 8035ACF4 00357C54 4B FE 47 C5 */ bl FlushShiftRegister__13COutputStreamFv -/* 8035ACF8 00357C58 38 61 00 10 */ addi r3, r1, 0x10 -/* 8035ACFC 00357C5C 38 81 00 0A */ addi r4, r1, 0xa -/* 8035AD00 00357C60 38 A0 00 02 */ li r5, 2 -/* 8035AD04 00357C64 4B FE 48 A5 */ bl DoPut__13COutputStreamFPCvUl -/* 8035AD08 00357C68 80 1E 00 04 */ lwz r0, 4(r30) -/* 8035AD0C 00357C6C 38 61 00 10 */ addi r3, r1, 0x10 -/* 8035AD10 00357C70 B0 01 00 08 */ sth r0, 8(r1) -/* 8035AD14 00357C74 4B FE 47 A5 */ bl FlushShiftRegister__13COutputStreamFv -/* 8035AD18 00357C78 38 61 00 10 */ addi r3, r1, 0x10 -/* 8035AD1C 00357C7C 38 81 00 08 */ addi r4, r1, 8 -/* 8035AD20 00357C80 38 A0 00 02 */ li r5, 2 -/* 8035AD24 00357C84 4B FE 48 85 */ bl DoPut__13COutputStreamFPCvUl -/* 8035AD28 00357C88 7F 9C 07 74 */ extsb r28, r28 -/* 8035AD2C 00357C8C 38 61 00 10 */ addi r3, r1, 0x10 -/* 8035AD30 00357C90 4B FE 47 89 */ bl FlushShiftRegister__13COutputStreamFv -/* 8035AD34 00357C94 80 61 00 14 */ lwz r3, 0x14(r1) -/* 8035AD38 00357C98 80 01 00 18 */ lwz r0, 0x18(r1) -/* 8035AD3C 00357C9C 7C 03 00 40 */ cmplw r3, r0 -/* 8035AD40 00357CA0 41 80 00 0C */ blt lbl_8035AD4C -/* 8035AD44 00357CA4 38 61 00 10 */ addi r3, r1, 0x10 -/* 8035AD48 00357CA8 4B FE 47 DD */ bl DoFlush__13COutputStreamFv -lbl_8035AD4C: -/* 8035AD4C 00357CAC 80 81 00 20 */ lwz r4, 0x20(r1) -/* 8035AD50 00357CB0 80 61 00 14 */ lwz r3, 0x14(r1) -/* 8035AD54 00357CB4 38 A4 00 01 */ addi r5, r4, 1 -/* 8035AD58 00357CB8 80 81 00 1C */ lwz r4, 0x1c(r1) -/* 8035AD5C 00357CBC 38 03 00 01 */ addi r0, r3, 1 -/* 8035AD60 00357CC0 90 A1 00 20 */ stw r5, 0x20(r1) -/* 8035AD64 00357CC4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8035AD68 00357CC8 7F 84 19 AE */ stbx r28, r4, r3 -/* 8035AD6C 00357CCC 4B FE F2 41 */ bl White__6CColorFv -/* 8035AD70 00357CD0 80 03 00 00 */ lwz r0, 0(r3) -/* 8035AD74 00357CD4 38 61 00 10 */ addi r3, r1, 0x10 -/* 8035AD78 00357CD8 90 01 00 0C */ stw r0, 0xc(r1) -/* 8035AD7C 00357CDC 4B FE 47 3D */ bl FlushShiftRegister__13COutputStreamFv -/* 8035AD80 00357CE0 38 61 00 10 */ addi r3, r1, 0x10 -/* 8035AD84 00357CE4 38 81 00 0C */ addi r4, r1, 0xc -/* 8035AD88 00357CE8 38 A0 00 04 */ li r5, 4 -/* 8035AD8C 00357CEC 4B FE 48 1D */ bl DoPut__13COutputStreamFPCvUl -/* 8035AD90 00357CF0 80 BD 00 48 */ lwz r5, 0x48(r29) -/* 8035AD94 00357CF4 38 61 00 10 */ addi r3, r1, 0x10 -/* 8035AD98 00357CF8 80 01 00 20 */ lwz r0, 0x20(r1) -/* 8035AD9C 00357CFC 38 80 FF FF */ li r4, -1 -/* 8035ADA0 00357D00 7C 05 02 14 */ add r0, r5, r0 -/* 8035ADA4 00357D04 90 1D 00 48 */ stw r0, 0x48(r29) -/* 8035ADA8 00357D08 4B FE 45 19 */ bl __dt__16CMemoryStreamOutFv -/* 8035ADAC 00357D0C 48 00 00 10 */ b lbl_8035ADBC -lbl_8035ADB0: -/* 8035ADB0 00357D10 80 7D 00 44 */ lwz r3, 0x44(r29) -/* 8035ADB4 00357D14 38 03 00 0A */ addi r0, r3, 0xa -/* 8035ADB8 00357D18 90 1D 00 44 */ stw r0, 0x44(r29) -lbl_8035ADBC: -/* 8035ADBC 00357D1C 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 8035ADC0 00357D20 83 E1 00 AC */ lwz r31, 0xac(r1) -/* 8035ADC4 00357D24 83 C1 00 A8 */ lwz r30, 0xa8(r1) -/* 8035ADC8 00357D28 83 A1 00 A4 */ lwz r29, 0xa4(r1) -/* 8035ADCC 00357D2C 83 81 00 A0 */ lwz r28, 0xa0(r1) -/* 8035ADD0 00357D30 7C 08 03 A6 */ mtlr r0 -/* 8035ADD4 00357D34 38 21 00 B0 */ addi r1, r1, 0xb0 -/* 8035ADD8 00357D38 4E 80 00 20 */ blr - -.global sub_8035addc -sub_8035addc: -/* 8035ADDC 00357D3C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8035ADE0 00357D40 7C 08 02 A6 */ mflr r0 -/* 8035ADE4 00357D44 90 01 00 14 */ stw r0, 0x14(r1) -/* 8035ADE8 00357D48 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8035ADEC 00357D4C 7C 9F 23 78 */ mr r31, r4 -/* 8035ADF0 00357D50 93 C1 00 08 */ stw r30, 8(r1) -/* 8035ADF4 00357D54 7C 7E 1B 78 */ mr r30, r3 -/* 8035ADF8 00357D58 80 03 00 04 */ lwz r0, 4(r3) -/* 8035ADFC 00357D5C 80 A3 00 08 */ lwz r5, 8(r3) -/* 8035AE00 00357D60 7C 00 28 00 */ cmpw r0, r5 -/* 8035AE04 00357D64 41 80 00 18 */ blt lbl_8035AE1C -/* 8035AE08 00357D68 2C 05 00 00 */ cmpwi r5, 0 -/* 8035AE0C 00357D6C 38 80 00 04 */ li r4, 4 -/* 8035AE10 00357D70 41 82 00 08 */ beq lbl_8035AE18 -/* 8035AE14 00357D74 54 A4 08 3C */ slwi r4, r5, 1 -lbl_8035AE18: -/* 8035AE18 00357D78 4B F6 F4 61 */ bl sub_802ca278 -lbl_8035AE1C: -/* 8035AE1C 00357D7C 80 1E 00 04 */ lwz r0, 4(r30) -/* 8035AE20 00357D80 7F E4 FB 78 */ mr r4, r31 -/* 8035AE24 00357D84 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 8035AE28 00357D88 1C 00 00 1C */ mulli r0, r0, 0x1c -/* 8035AE2C 00357D8C 7C 63 02 14 */ add r3, r3, r0 -/* 8035AE30 00357D90 48 00 00 29 */ bl sub_8035ae58 -/* 8035AE34 00357D94 80 7E 00 04 */ lwz r3, 4(r30) -/* 8035AE38 00357D98 38 03 00 01 */ addi r0, r3, 1 -/* 8035AE3C 00357D9C 90 1E 00 04 */ stw r0, 4(r30) -/* 8035AE40 00357DA0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8035AE44 00357DA4 83 C1 00 08 */ lwz r30, 8(r1) -/* 8035AE48 00357DA8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8035AE4C 00357DAC 7C 08 03 A6 */ mtlr r0 -/* 8035AE50 00357DB0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8035AE54 00357DB4 4E 80 00 20 */ blr - -.global sub_8035ae58 -sub_8035ae58: -/* 8035AE58 00357DB8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8035AE5C 00357DBC 7C 08 02 A6 */ mflr r0 -/* 8035AE60 00357DC0 28 03 00 00 */ cmplwi r3, 0 -/* 8035AE64 00357DC4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8035AE68 00357DC8 41 82 00 08 */ beq lbl_8035AE70 -/* 8035AE6C 00357DCC 4B F6 DB 79 */ bl sub_802c89e4 -lbl_8035AE70: -/* 8035AE70 00357DD0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8035AE74 00357DD4 7C 08 03 A6 */ mtlr r0 -/* 8035AE78 00357DD8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8035AE7C 00357DDC 4E 80 00 20 */ blr - -.global AddCharacter__17CTextRenderBufferFRC9CVector2isUi -AddCharacter__17CTextRenderBufferFRC9CVector2isUi: -/* 8035AE80 00357DE0 94 21 FF 40 */ stwu r1, -0xc0(r1) -/* 8035AE84 00357DE4 7C 08 02 A6 */ mflr r0 -/* 8035AE88 00357DE8 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 8035AE8C 00357DEC BF 61 00 AC */ stmw r27, 0xac(r1) -/* 8035AE90 00357DF0 7C 7C 1B 78 */ mr r28, r3 -/* 8035AE94 00357DF4 7C 9D 23 78 */ mr r29, r4 -/* 8035AE98 00357DF8 7C BE 2B 78 */ mr r30, r5 -/* 8035AE9C 00357DFC 7C DF 33 78 */ mr r31, r6 -/* 8035AEA0 00357E00 80 03 00 00 */ lwz r0, 0(r3) -/* 8035AEA4 00357E04 2C 00 00 01 */ cmpwi r0, 1 -/* 8035AEA8 00357E08 40 82 01 68 */ bne lbl_8035B010 -/* 8035AEAC 00357E0C 4B FF F4 A1 */ bl sub_8035a34c -/* 8035AEB0 00357E10 7C 7B 1B 78 */ mr r27, r3 -/* 8035AEB4 00357E14 7F 83 E3 78 */ mr r3, r28 -/* 8035AEB8 00357E18 4B FF F4 CD */ bl GetOutStream__17CTextRenderBufferFv -/* 8035AEBC 00357E1C 7C 64 1B 78 */ mr r4, r3 -/* 8035AEC0 00357E20 7F 65 DB 78 */ mr r5, r27 -/* 8035AEC4 00357E24 38 61 00 14 */ addi r3, r1, 0x14 -/* 8035AEC8 00357E28 38 C0 00 01 */ li r6, 1 -/* 8035AECC 00357E2C 38 E0 00 40 */ li r7, 0x40 -/* 8035AED0 00357E30 4B FE 44 6D */ bl __ct__16CMemoryStreamOutFPvUlQ216CMemoryStreamOut10EOwnerShipi -/* 8035AED4 00357E34 80 9C 00 28 */ lwz r4, 0x28(r28) -/* 8035AED8 00357E38 38 7C 00 24 */ addi r3, r28, 0x24 -/* 8035AEDC 00357E3C 83 7C 00 48 */ lwz r27, 0x48(r28) -/* 8035AEE0 00357E40 38 84 00 01 */ addi r4, r4, 1 -/* 8035AEE4 00357E44 4B CF ED C5 */ bl "reserve__Q24rstl36vectorFi" -/* 8035AEE8 00357E48 80 1C 00 28 */ lwz r0, 0x28(r28) -/* 8035AEEC 00357E4C 80 BC 00 2C */ lwz r5, 0x2c(r28) -/* 8035AEF0 00357E50 7C 00 28 00 */ cmpw r0, r5 -/* 8035AEF4 00357E54 41 80 00 1C */ blt lbl_8035AF10 -/* 8035AEF8 00357E58 2C 05 00 00 */ cmpwi r5, 0 -/* 8035AEFC 00357E5C 38 7C 00 24 */ addi r3, r28, 0x24 -/* 8035AF00 00357E60 38 80 00 04 */ li r4, 4 -/* 8035AF04 00357E64 41 82 00 08 */ beq lbl_8035AF0C -/* 8035AF08 00357E68 54 A4 08 3C */ slwi r4, r5, 1 -lbl_8035AF0C: -/* 8035AF0C 00357E6C 4B CF ED 9D */ bl "reserve__Q24rstl36vectorFi" -lbl_8035AF10: -/* 8035AF10 00357E70 80 1C 00 28 */ lwz r0, 0x28(r28) -/* 8035AF14 00357E74 80 7C 00 30 */ lwz r3, 0x30(r28) -/* 8035AF18 00357E78 54 00 10 3A */ slwi r0, r0, 2 -/* 8035AF1C 00357E7C 7C 63 02 15 */ add. r3, r3, r0 -/* 8035AF20 00357E80 41 82 00 08 */ beq lbl_8035AF28 -/* 8035AF24 00357E84 93 63 00 00 */ stw r27, 0(r3) -lbl_8035AF28: -/* 8035AF28 00357E88 80 9C 00 28 */ lwz r4, 0x28(r28) -/* 8035AF2C 00357E8C 38 61 00 14 */ addi r3, r1, 0x14 -/* 8035AF30 00357E90 38 04 00 01 */ addi r0, r4, 1 -/* 8035AF34 00357E94 90 1C 00 28 */ stw r0, 0x28(r28) -/* 8035AF38 00357E98 4B FE 45 81 */ bl FlushShiftRegister__13COutputStreamFv -/* 8035AF3C 00357E9C 80 61 00 18 */ lwz r3, 0x18(r1) -/* 8035AF40 00357EA0 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 8035AF44 00357EA4 7C 03 00 40 */ cmplw r3, r0 -/* 8035AF48 00357EA8 41 80 00 0C */ blt lbl_8035AF54 -/* 8035AF4C 00357EAC 38 61 00 14 */ addi r3, r1, 0x14 -/* 8035AF50 00357EB0 4B FE 45 D5 */ bl DoFlush__13COutputStreamFv -lbl_8035AF54: -/* 8035AF54 00357EB4 80 A1 00 24 */ lwz r5, 0x24(r1) -/* 8035AF58 00357EB8 38 C0 00 00 */ li r6, 0 -/* 8035AF5C 00357EBC 80 81 00 18 */ lwz r4, 0x18(r1) -/* 8035AF60 00357EC0 38 61 00 14 */ addi r3, r1, 0x14 -/* 8035AF64 00357EC4 38 E5 00 01 */ addi r7, r5, 1 -/* 8035AF68 00357EC8 80 A1 00 20 */ lwz r5, 0x20(r1) -/* 8035AF6C 00357ECC 38 04 00 01 */ addi r0, r4, 1 -/* 8035AF70 00357ED0 90 E1 00 24 */ stw r7, 0x24(r1) -/* 8035AF74 00357ED4 90 01 00 18 */ stw r0, 0x18(r1) -/* 8035AF78 00357ED8 7C C5 21 AE */ stbx r6, r5, r4 -/* 8035AF7C 00357EDC 80 1D 00 00 */ lwz r0, 0(r29) -/* 8035AF80 00357EE0 B0 01 00 0C */ sth r0, 0xc(r1) -/* 8035AF84 00357EE4 4B FE 45 35 */ bl FlushShiftRegister__13COutputStreamFv -/* 8035AF88 00357EE8 38 61 00 14 */ addi r3, r1, 0x14 -/* 8035AF8C 00357EEC 38 81 00 0C */ addi r4, r1, 0xc -/* 8035AF90 00357EF0 38 A0 00 02 */ li r5, 2 -/* 8035AF94 00357EF4 4B FE 46 15 */ bl DoPut__13COutputStreamFPCvUl -/* 8035AF98 00357EF8 80 1D 00 04 */ lwz r0, 4(r29) -/* 8035AF9C 00357EFC 38 61 00 14 */ addi r3, r1, 0x14 -/* 8035AFA0 00357F00 B0 01 00 0A */ sth r0, 0xa(r1) -/* 8035AFA4 00357F04 4B FE 45 15 */ bl FlushShiftRegister__13COutputStreamFv -/* 8035AFA8 00357F08 38 61 00 14 */ addi r3, r1, 0x14 -/* 8035AFAC 00357F0C 38 81 00 0A */ addi r4, r1, 0xa -/* 8035AFB0 00357F10 38 A0 00 02 */ li r5, 2 -/* 8035AFB4 00357F14 4B FE 45 F5 */ bl DoPut__13COutputStreamFPCvUl -/* 8035AFB8 00357F18 B3 C1 00 08 */ sth r30, 8(r1) -/* 8035AFBC 00357F1C 38 61 00 14 */ addi r3, r1, 0x14 -/* 8035AFC0 00357F20 4B FE 44 F9 */ bl FlushShiftRegister__13COutputStreamFv -/* 8035AFC4 00357F24 38 61 00 14 */ addi r3, r1, 0x14 -/* 8035AFC8 00357F28 38 81 00 08 */ addi r4, r1, 8 -/* 8035AFCC 00357F2C 38 A0 00 02 */ li r5, 2 -/* 8035AFD0 00357F30 4B FE 45 D9 */ bl DoPut__13COutputStreamFPCvUl -/* 8035AFD4 00357F34 93 E1 00 10 */ stw r31, 0x10(r1) -/* 8035AFD8 00357F38 38 61 00 14 */ addi r3, r1, 0x14 -/* 8035AFDC 00357F3C 4B FE 44 DD */ bl FlushShiftRegister__13COutputStreamFv -/* 8035AFE0 00357F40 38 61 00 14 */ addi r3, r1, 0x14 -/* 8035AFE4 00357F44 38 81 00 10 */ addi r4, r1, 0x10 -/* 8035AFE8 00357F48 38 A0 00 04 */ li r5, 4 -/* 8035AFEC 00357F4C 4B FE 45 BD */ bl DoPut__13COutputStreamFPCvUl -/* 8035AFF0 00357F50 80 BC 00 48 */ lwz r5, 0x48(r28) -/* 8035AFF4 00357F54 38 61 00 14 */ addi r3, r1, 0x14 -/* 8035AFF8 00357F58 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8035AFFC 00357F5C 38 80 FF FF */ li r4, -1 -/* 8035B000 00357F60 7C 05 02 14 */ add r0, r5, r0 -/* 8035B004 00357F64 90 1C 00 48 */ stw r0, 0x48(r28) -/* 8035B008 00357F68 4B FE 42 B9 */ bl __dt__16CMemoryStreamOutFv -/* 8035B00C 00357F6C 48 00 00 10 */ b lbl_8035B01C -lbl_8035B010: -/* 8035B010 00357F70 80 7C 00 44 */ lwz r3, 0x44(r28) -/* 8035B014 00357F74 38 03 00 0B */ addi r0, r3, 0xb -/* 8035B018 00357F78 90 1C 00 44 */ stw r0, 0x44(r28) -lbl_8035B01C: -/* 8035B01C 00357F7C BB 61 00 AC */ lmw r27, 0xac(r1) -/* 8035B020 00357F80 80 01 00 C4 */ lwz r0, 0xc4(r1) -/* 8035B024 00357F84 7C 08 03 A6 */ mtlr r0 -/* 8035B028 00357F88 38 21 00 C0 */ addi r1, r1, 0xc0 -/* 8035B02C 00357F8C 4E 80 00 20 */ blr - -.global AddPaletteChange__17CTextRenderBufferFRC16CGraphicsPalette -AddPaletteChange__17CTextRenderBufferFRC16CGraphicsPalette: -/* 8035B030 00357F90 94 21 FF 50 */ stwu r1, -0xb0(r1) -/* 8035B034 00357F94 7C 08 02 A6 */ mflr r0 -/* 8035B038 00357F98 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 8035B03C 00357F9C 93 E1 00 AC */ stw r31, 0xac(r1) -/* 8035B040 00357FA0 7C 7F 1B 78 */ mr r31, r3 -/* 8035B044 00357FA4 93 C1 00 A8 */ stw r30, 0xa8(r1) -/* 8035B048 00357FA8 93 A1 00 A4 */ stw r29, 0xa4(r1) -/* 8035B04C 00357FAC 93 81 00 A0 */ stw r28, 0xa0(r1) -/* 8035B050 00357FB0 7C 9C 23 78 */ mr r28, r4 -/* 8035B054 00357FB4 80 03 00 00 */ lwz r0, 0(r3) -/* 8035B058 00357FB8 2C 00 00 01 */ cmpwi r0, 1 -/* 8035B05C 00357FBC 40 82 01 28 */ bne lbl_8035B184 -/* 8035B060 00357FC0 4B FF F2 ED */ bl sub_8035a34c -/* 8035B064 00357FC4 7C 7E 1B 78 */ mr r30, r3 -/* 8035B068 00357FC8 7F E3 FB 78 */ mr r3, r31 -/* 8035B06C 00357FCC 4B FF F3 19 */ bl GetOutStream__17CTextRenderBufferFv -/* 8035B070 00357FD0 7C 64 1B 78 */ mr r4, r3 -/* 8035B074 00357FD4 7F C5 F3 78 */ mr r5, r30 -/* 8035B078 00357FD8 38 61 00 08 */ addi r3, r1, 8 -/* 8035B07C 00357FDC 38 C0 00 01 */ li r6, 1 -/* 8035B080 00357FE0 38 E0 00 40 */ li r7, 0x40 -/* 8035B084 00357FE4 4B FE 42 B9 */ bl __ct__16CMemoryStreamOutFPvUlQ216CMemoryStreamOut10EOwnerShipi -/* 8035B088 00357FE8 7F E3 FB 78 */ mr r3, r31 -/* 8035B08C 00357FEC 7F 84 E3 78 */ mr r4, r28 -/* 8035B090 00357FF0 48 00 03 79 */ bl GetMatchingPaletteIndex__17CTextRenderBufferCFRC16CGraphicsPalette -/* 8035B094 00357FF4 7C 7D 1B 78 */ mr r29, r3 -/* 8035B098 00357FF8 2C 1D FF FF */ cmpwi r29, -1 -/* 8035B09C 00357FFC 40 82 00 40 */ bne lbl_8035B0DC -/* 8035B0A0 00358000 7F E3 FB 78 */ mr r3, r31 -/* 8035B0A4 00358004 48 00 03 F1 */ bl GetNextAvailablePalette__17CTextRenderBufferCFv -/* 8035B0A8 00358008 80 7F 02 54 */ lwz r3, 0x254(r31) -/* 8035B0AC 0035800C 38 00 00 01 */ li r0, 1 -/* 8035B0B0 00358010 38 A0 00 08 */ li r5, 8 -/* 8035B0B4 00358014 3B A3 FF FF */ addi r29, r3, -1 -/* 8035B0B8 00358018 57 A3 18 38 */ slwi r3, r29, 3 -/* 8035B0BC 0035801C 7C 7F 1A 14 */ add r3, r31, r3 -/* 8035B0C0 00358020 83 C3 00 58 */ lwz r30, 0x58(r3) -/* 8035B0C4 00358024 98 1E 00 1C */ stb r0, 0x1c(r30) -/* 8035B0C8 00358028 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 8035B0CC 0035802C 80 9C 00 0C */ lwz r4, 0xc(r28) -/* 8035B0D0 00358030 4B CA 83 C1 */ bl memcpy -/* 8035B0D4 00358034 7F C3 F3 78 */ mr r3, r30 -/* 8035B0D8 00358038 4B FB 2D 85 */ bl UnLock__16CGraphicsPaletteFv -lbl_8035B0DC: -/* 8035B0DC 0035803C 38 61 00 08 */ addi r3, r1, 8 -/* 8035B0E0 00358040 4B FE 43 D9 */ bl FlushShiftRegister__13COutputStreamFv -/* 8035B0E4 00358044 80 61 00 0C */ lwz r3, 0xc(r1) -/* 8035B0E8 00358048 80 01 00 10 */ lwz r0, 0x10(r1) -/* 8035B0EC 0035804C 7C 03 00 40 */ cmplw r3, r0 -/* 8035B0F0 00358050 41 80 00 0C */ blt lbl_8035B0FC -/* 8035B0F4 00358054 38 61 00 08 */ addi r3, r1, 8 -/* 8035B0F8 00358058 4B FE 44 2D */ bl DoFlush__13COutputStreamFv -lbl_8035B0FC: -/* 8035B0FC 0035805C 80 61 00 18 */ lwz r3, 0x18(r1) -/* 8035B100 00358060 38 C0 00 03 */ li r6, 3 -/* 8035B104 00358064 80 81 00 0C */ lwz r4, 0xc(r1) -/* 8035B108 00358068 7F BE 07 74 */ extsb r30, r29 -/* 8035B10C 0035806C 38 63 00 01 */ addi r3, r3, 1 -/* 8035B110 00358070 80 A1 00 14 */ lwz r5, 0x14(r1) -/* 8035B114 00358074 38 04 00 01 */ addi r0, r4, 1 -/* 8035B118 00358078 90 61 00 18 */ stw r3, 0x18(r1) -/* 8035B11C 0035807C 38 61 00 08 */ addi r3, r1, 8 -/* 8035B120 00358080 90 01 00 0C */ stw r0, 0xc(r1) -/* 8035B124 00358084 7C C5 21 AE */ stbx r6, r5, r4 -/* 8035B128 00358088 4B FE 43 91 */ bl FlushShiftRegister__13COutputStreamFv -/* 8035B12C 0035808C 80 61 00 0C */ lwz r3, 0xc(r1) -/* 8035B130 00358090 80 01 00 10 */ lwz r0, 0x10(r1) -/* 8035B134 00358094 7C 03 00 40 */ cmplw r3, r0 -/* 8035B138 00358098 41 80 00 0C */ blt lbl_8035B144 -/* 8035B13C 0035809C 38 61 00 08 */ addi r3, r1, 8 -/* 8035B140 003580A0 4B FE 43 E5 */ bl DoFlush__13COutputStreamFv -lbl_8035B144: -/* 8035B144 003580A4 80 81 00 18 */ lwz r4, 0x18(r1) -/* 8035B148 003580A8 38 61 00 08 */ addi r3, r1, 8 -/* 8035B14C 003580AC 80 A1 00 0C */ lwz r5, 0xc(r1) -/* 8035B150 003580B0 38 84 00 01 */ addi r4, r4, 1 -/* 8035B154 003580B4 80 C1 00 14 */ lwz r6, 0x14(r1) -/* 8035B158 003580B8 38 05 00 01 */ addi r0, r5, 1 -/* 8035B15C 003580BC 90 81 00 18 */ stw r4, 0x18(r1) -/* 8035B160 003580C0 38 80 FF FF */ li r4, -1 -/* 8035B164 003580C4 90 01 00 0C */ stw r0, 0xc(r1) -/* 8035B168 003580C8 7F C6 29 AE */ stbx r30, r6, r5 -/* 8035B16C 003580CC 80 BF 00 48 */ lwz r5, 0x48(r31) -/* 8035B170 003580D0 80 01 00 18 */ lwz r0, 0x18(r1) -/* 8035B174 003580D4 7C 05 02 14 */ add r0, r5, r0 -/* 8035B178 003580D8 90 1F 00 48 */ stw r0, 0x48(r31) -/* 8035B17C 003580DC 4B FE 41 45 */ bl __dt__16CMemoryStreamOutFv -/* 8035B180 003580E0 48 00 00 10 */ b lbl_8035B190 -lbl_8035B184: -/* 8035B184 003580E4 80 7F 00 44 */ lwz r3, 0x44(r31) -/* 8035B188 003580E8 38 03 00 02 */ addi r0, r3, 2 -/* 8035B18C 003580EC 90 1F 00 44 */ stw r0, 0x44(r31) -lbl_8035B190: -/* 8035B190 003580F0 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 8035B194 003580F4 83 E1 00 AC */ lwz r31, 0xac(r1) -/* 8035B198 003580F8 83 C1 00 A8 */ lwz r30, 0xa8(r1) -/* 8035B19C 003580FC 83 A1 00 A4 */ lwz r29, 0xa4(r1) -/* 8035B1A0 00358100 83 81 00 A0 */ lwz r28, 0xa0(r1) -/* 8035B1A4 00358104 7C 08 03 A6 */ mtlr r0 -/* 8035B1A8 00358108 38 21 00 B0 */ addi r1, r1, 0xb0 -/* 8035B1AC 0035810C 4E 80 00 20 */ blr - -.global "AddFontChange__17CTextRenderBufferFRC21TToken<11CRasterFont>" -"AddFontChange__17CTextRenderBufferFRC21TToken<11CRasterFont>": -/* 8035B1B0 00358110 94 21 FF 50 */ stwu r1, -0xb0(r1) -/* 8035B1B4 00358114 7C 08 02 A6 */ mflr r0 -/* 8035B1B8 00358118 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 8035B1BC 0035811C 93 E1 00 AC */ stw r31, 0xac(r1) -/* 8035B1C0 00358120 7C 9F 23 78 */ mr r31, r4 -/* 8035B1C4 00358124 93 C1 00 A8 */ stw r30, 0xa8(r1) -/* 8035B1C8 00358128 7C 7E 1B 78 */ mr r30, r3 -/* 8035B1CC 0035812C 93 A1 00 A4 */ stw r29, 0xa4(r1) -/* 8035B1D0 00358130 80 03 00 00 */ lwz r0, 0(r3) -/* 8035B1D4 00358134 2C 00 00 01 */ cmpwi r0, 1 -/* 8035B1D8 00358138 40 82 02 08 */ bne lbl_8035B3E0 -/* 8035B1DC 0035813C 4B FF F1 71 */ bl sub_8035a34c -/* 8035B1E0 00358140 7C 7D 1B 78 */ mr r29, r3 -/* 8035B1E4 00358144 7F C3 F3 78 */ mr r3, r30 -/* 8035B1E8 00358148 4B FF F1 9D */ bl GetOutStream__17CTextRenderBufferFv -/* 8035B1EC 0035814C 7C 64 1B 78 */ mr r4, r3 -/* 8035B1F0 00358150 7F A5 EB 78 */ mr r5, r29 -/* 8035B1F4 00358154 38 61 00 08 */ addi r3, r1, 8 -/* 8035B1F8 00358158 38 C0 00 01 */ li r6, 1 -/* 8035B1FC 0035815C 38 E0 00 40 */ li r7, 0x40 -/* 8035B200 00358160 4B FE 41 3D */ bl __ct__16CMemoryStreamOutFPvUlQ216CMemoryStreamOut10EOwnerShipi -/* 8035B204 00358164 80 1E 00 08 */ lwz r0, 8(r30) -/* 8035B208 00358168 38 C0 00 00 */ li r6, 0 -/* 8035B20C 0035816C 3B A0 00 00 */ li r29, 0 -/* 8035B210 00358170 38 80 00 00 */ li r4, 0 -/* 8035B214 00358174 7C 09 03 A6 */ mtctr r0 -/* 8035B218 00358178 2C 00 00 00 */ cmpwi r0, 0 -/* 8035B21C 0035817C 40 81 00 B4 */ ble lbl_8035B2D0 -lbl_8035B220: -/* 8035B220 00358180 80 7E 00 10 */ lwz r3, 0x10(r30) -/* 8035B224 00358184 80 1F 00 00 */ lwz r0, 0(r31) -/* 8035B228 00358188 7C 63 20 2E */ lwzx r3, r3, r4 -/* 8035B22C 0035818C 7C 03 00 40 */ cmplw r3, r0 -/* 8035B230 00358190 40 82 00 94 */ bne lbl_8035B2C4 -/* 8035B234 00358194 38 61 00 08 */ addi r3, r1, 8 -/* 8035B238 00358198 4B FE 42 81 */ bl FlushShiftRegister__13COutputStreamFv -/* 8035B23C 0035819C 80 61 00 0C */ lwz r3, 0xc(r1) -/* 8035B240 003581A0 80 01 00 10 */ lwz r0, 0x10(r1) -/* 8035B244 003581A4 7C 03 00 40 */ cmplw r3, r0 -/* 8035B248 003581A8 41 80 00 0C */ blt lbl_8035B254 -/* 8035B24C 003581AC 38 61 00 08 */ addi r3, r1, 8 -/* 8035B250 003581B0 4B FE 42 D5 */ bl DoFlush__13COutputStreamFv -lbl_8035B254: -/* 8035B254 003581B4 80 61 00 18 */ lwz r3, 0x18(r1) -/* 8035B258 003581B8 38 C0 00 02 */ li r6, 2 -/* 8035B25C 003581BC 80 81 00 0C */ lwz r4, 0xc(r1) -/* 8035B260 003581C0 7F BD 07 74 */ extsb r29, r29 -/* 8035B264 003581C4 38 63 00 01 */ addi r3, r3, 1 -/* 8035B268 003581C8 80 A1 00 14 */ lwz r5, 0x14(r1) -/* 8035B26C 003581CC 38 04 00 01 */ addi r0, r4, 1 -/* 8035B270 003581D0 90 61 00 18 */ stw r3, 0x18(r1) -/* 8035B274 003581D4 38 61 00 08 */ addi r3, r1, 8 -/* 8035B278 003581D8 90 01 00 0C */ stw r0, 0xc(r1) -/* 8035B27C 003581DC 7C C5 21 AE */ stbx r6, r5, r4 -/* 8035B280 003581E0 4B FE 42 39 */ bl FlushShiftRegister__13COutputStreamFv -/* 8035B284 003581E4 80 61 00 0C */ lwz r3, 0xc(r1) -/* 8035B288 003581E8 80 01 00 10 */ lwz r0, 0x10(r1) -/* 8035B28C 003581EC 7C 03 00 40 */ cmplw r3, r0 -/* 8035B290 003581F0 41 80 00 0C */ blt lbl_8035B29C -/* 8035B294 003581F4 38 61 00 08 */ addi r3, r1, 8 -/* 8035B298 003581F8 4B FE 42 8D */ bl DoFlush__13COutputStreamFv -lbl_8035B29C: -/* 8035B29C 003581FC 80 81 00 18 */ lwz r4, 0x18(r1) -/* 8035B2A0 00358200 38 C0 00 01 */ li r6, 1 -/* 8035B2A4 00358204 80 61 00 0C */ lwz r3, 0xc(r1) -/* 8035B2A8 00358208 38 A4 00 01 */ addi r5, r4, 1 -/* 8035B2AC 0035820C 80 81 00 14 */ lwz r4, 0x14(r1) -/* 8035B2B0 00358210 38 03 00 01 */ addi r0, r3, 1 -/* 8035B2B4 00358214 90 A1 00 18 */ stw r5, 0x18(r1) -/* 8035B2B8 00358218 90 01 00 0C */ stw r0, 0xc(r1) -/* 8035B2BC 0035821C 7F A4 19 AE */ stbx r29, r4, r3 -/* 8035B2C0 00358220 48 00 00 10 */ b lbl_8035B2D0 -lbl_8035B2C4: -/* 8035B2C4 00358224 38 84 00 08 */ addi r4, r4, 8 -/* 8035B2C8 00358228 3B BD 00 01 */ addi r29, r29, 1 -/* 8035B2CC 0035822C 42 00 FF 54 */ bdnz lbl_8035B220 -lbl_8035B2D0: -/* 8035B2D0 00358230 54 C0 06 3F */ clrlwi. r0, r6, 0x18 -/* 8035B2D4 00358234 40 82 00 EC */ bne lbl_8035B3C0 -/* 8035B2D8 00358238 80 9E 00 08 */ lwz r4, 8(r30) -/* 8035B2DC 0035823C 38 7E 00 04 */ addi r3, r30, 4 -/* 8035B2E0 00358240 38 84 00 01 */ addi r4, r4, 1 -/* 8035B2E4 00358244 4B F6 EE A1 */ bl sub_802ca184 -/* 8035B2E8 00358248 83 BE 00 08 */ lwz r29, 8(r30) -/* 8035B2EC 0035824C 80 1E 00 0C */ lwz r0, 0xc(r30) -/* 8035B2F0 00358250 7C 1D 00 00 */ cmpw r29, r0 -/* 8035B2F4 00358254 41 80 00 1C */ blt lbl_8035B310 -/* 8035B2F8 00358258 2C 00 00 00 */ cmpwi r0, 0 -/* 8035B2FC 0035825C 38 7E 00 04 */ addi r3, r30, 4 -/* 8035B300 00358260 38 80 00 04 */ li r4, 4 -/* 8035B304 00358264 41 82 00 08 */ beq lbl_8035B30C -/* 8035B308 00358268 54 04 08 3C */ slwi r4, r0, 1 -lbl_8035B30C: -/* 8035B30C 0035826C 4B F6 EE 79 */ bl sub_802ca184 -lbl_8035B310: -/* 8035B310 00358270 80 1E 00 08 */ lwz r0, 8(r30) -/* 8035B314 00358274 80 7E 00 10 */ lwz r3, 0x10(r30) -/* 8035B318 00358278 54 00 18 38 */ slwi r0, r0, 3 -/* 8035B31C 0035827C 7C 63 02 15 */ add. r3, r3, r0 -/* 8035B320 00358280 41 82 00 0C */ beq lbl_8035B32C -/* 8035B324 00358284 7F E4 FB 78 */ mr r4, r31 -/* 8035B328 00358288 4B FE 5B 81 */ bl __ct__6CTokenFRC6CToken -lbl_8035B32C: -/* 8035B32C 0035828C 80 9E 00 08 */ lwz r4, 8(r30) -/* 8035B330 00358290 38 61 00 08 */ addi r3, r1, 8 -/* 8035B334 00358294 38 04 00 01 */ addi r0, r4, 1 -/* 8035B338 00358298 90 1E 00 08 */ stw r0, 8(r30) -/* 8035B33C 0035829C 4B FE 41 7D */ bl FlushShiftRegister__13COutputStreamFv -/* 8035B340 003582A0 80 61 00 0C */ lwz r3, 0xc(r1) -/* 8035B344 003582A4 80 01 00 10 */ lwz r0, 0x10(r1) -/* 8035B348 003582A8 7C 03 00 40 */ cmplw r3, r0 -/* 8035B34C 003582AC 41 80 00 0C */ blt lbl_8035B358 -/* 8035B350 003582B0 38 61 00 08 */ addi r3, r1, 8 -/* 8035B354 003582B4 4B FE 41 D1 */ bl DoFlush__13COutputStreamFv -lbl_8035B358: -/* 8035B358 003582B8 80 61 00 18 */ lwz r3, 0x18(r1) -/* 8035B35C 003582BC 38 C0 00 02 */ li r6, 2 -/* 8035B360 003582C0 80 81 00 0C */ lwz r4, 0xc(r1) -/* 8035B364 003582C4 7F BD 07 74 */ extsb r29, r29 -/* 8035B368 003582C8 38 63 00 01 */ addi r3, r3, 1 -/* 8035B36C 003582CC 80 A1 00 14 */ lwz r5, 0x14(r1) -/* 8035B370 003582D0 38 04 00 01 */ addi r0, r4, 1 -/* 8035B374 003582D4 90 61 00 18 */ stw r3, 0x18(r1) -/* 8035B378 003582D8 38 61 00 08 */ addi r3, r1, 8 -/* 8035B37C 003582DC 90 01 00 0C */ stw r0, 0xc(r1) -/* 8035B380 003582E0 7C C5 21 AE */ stbx r6, r5, r4 -/* 8035B384 003582E4 4B FE 41 35 */ bl FlushShiftRegister__13COutputStreamFv -/* 8035B388 003582E8 80 61 00 0C */ lwz r3, 0xc(r1) -/* 8035B38C 003582EC 80 01 00 10 */ lwz r0, 0x10(r1) -/* 8035B390 003582F0 7C 03 00 40 */ cmplw r3, r0 -/* 8035B394 003582F4 41 80 00 0C */ blt lbl_8035B3A0 -/* 8035B398 003582F8 38 61 00 08 */ addi r3, r1, 8 -/* 8035B39C 003582FC 4B FE 41 89 */ bl DoFlush__13COutputStreamFv -lbl_8035B3A0: -/* 8035B3A0 00358300 80 81 00 18 */ lwz r4, 0x18(r1) -/* 8035B3A4 00358304 80 61 00 0C */ lwz r3, 0xc(r1) -/* 8035B3A8 00358308 38 A4 00 01 */ addi r5, r4, 1 -/* 8035B3AC 0035830C 80 81 00 14 */ lwz r4, 0x14(r1) -/* 8035B3B0 00358310 38 03 00 01 */ addi r0, r3, 1 -/* 8035B3B4 00358314 90 A1 00 18 */ stw r5, 0x18(r1) -/* 8035B3B8 00358318 90 01 00 0C */ stw r0, 0xc(r1) -/* 8035B3BC 0035831C 7F A4 19 AE */ stbx r29, r4, r3 -lbl_8035B3C0: -/* 8035B3C0 00358320 80 BE 00 48 */ lwz r5, 0x48(r30) -/* 8035B3C4 00358324 38 61 00 08 */ addi r3, r1, 8 -/* 8035B3C8 00358328 80 01 00 18 */ lwz r0, 0x18(r1) -/* 8035B3CC 0035832C 38 80 FF FF */ li r4, -1 -/* 8035B3D0 00358330 7C 05 02 14 */ add r0, r5, r0 -/* 8035B3D4 00358334 90 1E 00 48 */ stw r0, 0x48(r30) -/* 8035B3D8 00358338 4B FE 3E E9 */ bl __dt__16CMemoryStreamOutFv -/* 8035B3DC 0035833C 48 00 00 10 */ b lbl_8035B3EC -lbl_8035B3E0: -/* 8035B3E0 00358340 80 7E 00 44 */ lwz r3, 0x44(r30) -/* 8035B3E4 00358344 38 03 00 02 */ addi r0, r3, 2 -/* 8035B3E8 00358348 90 1E 00 44 */ stw r0, 0x44(r30) -lbl_8035B3EC: -/* 8035B3EC 0035834C 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 8035B3F0 00358350 83 E1 00 AC */ lwz r31, 0xac(r1) -/* 8035B3F4 00358354 83 C1 00 A8 */ lwz r30, 0xa8(r1) -/* 8035B3F8 00358358 83 A1 00 A4 */ lwz r29, 0xa4(r1) -/* 8035B3FC 0035835C 7C 08 03 A6 */ mtlr r0 -/* 8035B400 00358360 38 21 00 B0 */ addi r1, r1, 0xb0 -/* 8035B404 00358364 4E 80 00 20 */ blr - -.global GetMatchingPaletteIndex__17CTextRenderBufferCFRC16CGraphicsPalette -GetMatchingPaletteIndex__17CTextRenderBufferCFRC16CGraphicsPalette: -/* 8035B408 00358368 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8035B40C 0035836C 7C 08 02 A6 */ mflr r0 -/* 8035B410 00358370 90 01 00 24 */ stw r0, 0x24(r1) -/* 8035B414 00358374 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8035B418 00358378 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8035B41C 0035837C 3B C0 00 00 */ li r30, 0 -/* 8035B420 00358380 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8035B424 00358384 7C 9D 23 78 */ mr r29, r4 -/* 8035B428 00358388 93 81 00 10 */ stw r28, 0x10(r1) -/* 8035B42C 0035838C 7C 7C 1B 78 */ mr r28, r3 -/* 8035B430 00358390 3B FC 00 54 */ addi r31, r28, 0x54 -/* 8035B434 00358394 48 00 00 30 */ b lbl_8035B464 -lbl_8035B438: -/* 8035B438 00358398 80 7F 00 04 */ lwz r3, 4(r31) -/* 8035B43C 0035839C 38 A0 00 08 */ li r5, 8 -/* 8035B440 003583A0 80 9D 00 0C */ lwz r4, 0xc(r29) -/* 8035B444 003583A4 80 63 00 0C */ lwz r3, 0xc(r3) -/* 8035B448 003583A8 48 03 24 35 */ bl memcmp -/* 8035B44C 003583AC 2C 03 00 00 */ cmpwi r3, 0 -/* 8035B450 003583B0 40 82 00 0C */ bne lbl_8035B45C -/* 8035B454 003583B4 7F C3 F3 78 */ mr r3, r30 -/* 8035B458 003583B8 48 00 00 1C */ b lbl_8035B474 -lbl_8035B45C: -/* 8035B45C 003583BC 3B FF 00 08 */ addi r31, r31, 8 -/* 8035B460 003583C0 3B DE 00 01 */ addi r30, r30, 1 -lbl_8035B464: -/* 8035B464 003583C4 80 1C 00 50 */ lwz r0, 0x50(r28) -/* 8035B468 003583C8 7C 1E 00 00 */ cmpw r30, r0 -/* 8035B46C 003583CC 41 80 FF CC */ blt lbl_8035B438 -/* 8035B470 003583D0 38 60 FF FF */ li r3, -1 -lbl_8035B474: -/* 8035B474 003583D4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8035B478 003583D8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8035B47C 003583DC 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8035B480 003583E0 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8035B484 003583E4 83 81 00 10 */ lwz r28, 0x10(r1) -/* 8035B488 003583E8 7C 08 03 A6 */ mtlr r0 -/* 8035B48C 003583EC 38 21 00 20 */ addi r1, r1, 0x20 -/* 8035B490 003583F0 4E 80 00 20 */ blr - -.global GetNextAvailablePalette__17CTextRenderBufferCFv -GetNextAvailablePalette__17CTextRenderBufferCFv: -/* 8035B494 003583F4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8035B498 003583F8 7C 08 02 A6 */ mflr r0 -/* 8035B49C 003583FC 90 01 00 24 */ stw r0, 0x24(r1) -/* 8035B4A0 00358400 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8035B4A4 00358404 7C 7F 1B 78 */ mr r31, r3 -/* 8035B4A8 00358408 80 03 02 54 */ lwz r0, 0x254(r3) -/* 8035B4AC 0035840C 2C 00 00 40 */ cmpwi r0, 0x40 -/* 8035B4B0 00358410 41 80 00 10 */ blt lbl_8035B4C0 -/* 8035B4B4 00358414 38 00 00 00 */ li r0, 0 -/* 8035B4B8 00358418 90 1F 02 54 */ stw r0, 0x254(r31) -/* 8035B4BC 0035841C 48 00 00 8C */ b lbl_8035B548 -lbl_8035B4C0: -/* 8035B4C0 00358420 3C 80 80 3E */ lis r4, lbl_803D8368@ha -/* 8035B4C4 00358424 38 60 00 20 */ li r3, 0x20 -/* 8035B4C8 00358428 38 84 83 68 */ addi r4, r4, lbl_803D8368@l -/* 8035B4CC 0035842C 38 A0 00 00 */ li r5, 0 -/* 8035B4D0 00358430 4B FB A3 9D */ bl __nw__FUlPCcPCc -/* 8035B4D4 00358434 7C 65 1B 79 */ or. r5, r3, r3 -/* 8035B4D8 00358438 41 82 00 14 */ beq lbl_8035B4EC -/* 8035B4DC 0035843C 38 80 00 02 */ li r4, 2 -/* 8035B4E0 00358440 38 A0 00 04 */ li r5, 4 -/* 8035B4E4 00358444 4B FB 2B 91 */ bl __ct__16CGraphicsPaletteF14EPaletteFormati -/* 8035B4E8 00358448 7C 65 1B 78 */ mr r5, r3 -lbl_8035B4EC: -/* 8035B4EC 0035844C 80 1F 00 50 */ lwz r0, 0x50(r31) -/* 8035B4F0 00358450 7C 65 00 D0 */ neg r3, r5 -/* 8035B4F4 00358454 7C 63 2B 78 */ or r3, r3, r5 -/* 8035B4F8 00358458 90 A1 00 0C */ stw r5, 0xc(r1) -/* 8035B4FC 0035845C 54 00 18 38 */ slwi r0, r0, 3 -/* 8035B500 00358460 7C 9F 02 14 */ add r4, r31, r0 -/* 8035B504 00358464 54 60 0F FE */ srwi r0, r3, 0x1f -/* 8035B508 00358468 34 84 00 54 */ addic. r4, r4, 0x54 -/* 8035B50C 0035846C 98 01 00 08 */ stb r0, 8(r1) -/* 8035B510 00358470 41 82 00 14 */ beq lbl_8035B524 -/* 8035B514 00358474 98 04 00 00 */ stb r0, 0(r4) -/* 8035B518 00358478 38 00 00 00 */ li r0, 0 -/* 8035B51C 0035847C 90 A4 00 04 */ stw r5, 4(r4) -/* 8035B520 00358480 98 01 00 08 */ stb r0, 8(r1) -lbl_8035B524: -/* 8035B524 00358484 80 7F 00 50 */ lwz r3, 0x50(r31) -/* 8035B528 00358488 88 01 00 08 */ lbz r0, 8(r1) -/* 8035B52C 0035848C 38 63 00 01 */ addi r3, r3, 1 -/* 8035B530 00358490 28 00 00 00 */ cmplwi r0, 0 -/* 8035B534 00358494 90 7F 00 50 */ stw r3, 0x50(r31) -/* 8035B538 00358498 41 82 00 10 */ beq lbl_8035B548 -/* 8035B53C 0035849C 80 61 00 0C */ lwz r3, 0xc(r1) -/* 8035B540 003584A0 38 80 00 01 */ li r4, 1 -/* 8035B544 003584A4 4B FB 29 BD */ bl __dt__16CGraphicsPaletteFv -lbl_8035B548: -/* 8035B548 003584A8 80 7F 02 54 */ lwz r3, 0x254(r31) -/* 8035B54C 003584AC 38 03 00 01 */ addi r0, r3, 1 -/* 8035B550 003584B0 90 1F 02 54 */ stw r0, 0x254(r31) -/* 8035B554 003584B4 80 7F 02 54 */ lwz r3, 0x254(r31) -/* 8035B558 003584B8 38 03 FF FF */ addi r0, r3, -1 -/* 8035B55C 003584BC 54 00 18 38 */ slwi r0, r0, 3 -/* 8035B560 003584C0 7C 7F 02 14 */ add r3, r31, r0 -/* 8035B564 003584C4 80 63 00 58 */ lwz r3, 0x58(r3) -/* 8035B568 003584C8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8035B56C 003584CC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8035B570 003584D0 7C 08 03 A6 */ mtlr r0 -/* 8035B574 003584D4 38 21 00 20 */ addi r1, r1, 0x20 -/* 8035B578 003584D8 4E 80 00 20 */ blr - -.global __ct__17CTextRenderBufferFQ217CTextRenderBuffer5EMode -__ct__17CTextRenderBufferFQ217CTextRenderBuffer5EMode: -/* 8035B57C 003584DC 90 83 00 00 */ stw r4, 0(r3) -/* 8035B580 003584E0 38 A0 00 00 */ li r5, 0 -/* 8035B584 003584E4 38 00 FF FF */ li r0, -1 -/* 8035B588 003584E8 90 A3 00 08 */ stw r5, 8(r3) -/* 8035B58C 003584EC 90 A3 00 0C */ stw r5, 0xc(r3) -/* 8035B590 003584F0 90 A3 00 10 */ stw r5, 0x10(r3) -/* 8035B594 003584F4 90 A3 00 18 */ stw r5, 0x18(r3) -/* 8035B598 003584F8 90 A3 00 1C */ stw r5, 0x1c(r3) -/* 8035B59C 003584FC 90 A3 00 20 */ stw r5, 0x20(r3) -/* 8035B5A0 00358500 90 A3 00 28 */ stw r5, 0x28(r3) -/* 8035B5A4 00358504 90 A3 00 2C */ stw r5, 0x2c(r3) -/* 8035B5A8 00358508 90 A3 00 30 */ stw r5, 0x30(r3) -/* 8035B5AC 0035850C 90 A3 00 38 */ stw r5, 0x38(r3) -/* 8035B5B0 00358510 90 A3 00 3C */ stw r5, 0x3c(r3) -/* 8035B5B4 00358514 90 A3 00 40 */ stw r5, 0x40(r3) -/* 8035B5B8 00358518 90 A3 00 44 */ stw r5, 0x44(r3) -/* 8035B5BC 0035851C 90 A3 00 48 */ stw r5, 0x48(r3) -/* 8035B5C0 00358520 98 03 00 4C */ stb r0, 0x4c(r3) -/* 8035B5C4 00358524 98 03 00 4D */ stb r0, 0x4d(r3) -/* 8035B5C8 00358528 98 03 00 4E */ stb r0, 0x4e(r3) -/* 8035B5CC 0035852C 98 03 00 4F */ stb r0, 0x4f(r3) -/* 8035B5D0 00358530 90 A3 00 50 */ stw r5, 0x50(r3) -/* 8035B5D4 00358534 90 A3 02 54 */ stw r5, 0x254(r3) -/* 8035B5D8 00358538 4E 80 00 20 */ blr - -.global SetSfxVolume__12CMoviePlayerFUc -SetSfxVolume__12CMoviePlayerFUc: -/* 8035B5DC 0035853C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8035B5E0 00358540 54 64 06 3E */ clrlwi r4, r3, 0x18 -/* 8035B5E4 00358544 88 0D 9E 30 */ lbz r0, lbl_805A89F0@sda21(r13) -/* 8035B5E8 00358548 98 61 00 08 */ stb r3, 8(r1) -/* 8035B5EC 0035854C 38 6D 9E 30 */ addi r3, r13, lbl_805A89F0@sda21 -/* 8035B5F0 00358550 7C 04 00 40 */ cmplw r4, r0 -/* 8035B5F4 00358554 40 80 00 08 */ bge lbl_8035B5FC -/* 8035B5F8 00358558 38 61 00 08 */ addi r3, r1, 8 -lbl_8035B5FC: -/* 8035B5FC 0035855C 88 03 00 00 */ lbz r0, 0(r3) -/* 8035B600 00358560 98 0D 9E 29 */ stb r0, lbl_805A89E9@sda21(r13) -/* 8035B604 00358564 38 21 00 10 */ addi r1, r1, 0x10 -/* 8035B608 00358568 4E 80 00 20 */ blr - -.global sub_8035b60c -sub_8035b60c: -/* 8035B60C 0035856C 88 6D 9E 28 */ lbz r3, lbl_805A89E8@sda21(r13) -/* 8035B610 00358570 4E 80 00 20 */ blr - -.global sub_8035b614 -sub_8035b614: -/* 8035B614 00358574 98 6D 9E 28 */ stb r3, lbl_805A89E8@sda21(r13) -/* 8035B618 00358578 4E 80 00 20 */ blr - -.global sub_8035b61c -sub_8035b61c: -/* 8035B61C 0035857C 80 63 00 70 */ lwz r3, 0x70(r3) -/* 8035B620 00358580 4E 80 00 20 */ blr - -.global sub_8035b624 -sub_8035b624: -/* 8035B624 00358584 80 63 00 6C */ lwz r3, 0x6c(r3) -/* 8035B628 00358588 4E 80 00 20 */ blr - -.global VerifyCallbackStatus__12CMoviePlayerFv -VerifyCallbackStatus__12CMoviePlayerFv: -/* 8035B62C 0035858C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8035B630 00358590 7C 08 02 A6 */ mflr r0 -/* 8035B634 00358594 90 01 00 14 */ stw r0, 0x14(r1) -/* 8035B638 00358598 80 0D AA A0 */ lwz r0, lbl_805A9660@sda21(r13) -/* 8035B63C 0035859C 2C 00 00 00 */ cmpwi r0, 0 -/* 8035B640 003585A0 40 81 00 14 */ ble lbl_8035B654 -/* 8035B644 003585A4 3C 60 80 36 */ lis r3, StaticMyAudioCallback__12CMoviePlayerFv@ha -/* 8035B648 003585A8 38 63 B8 84 */ addi r3, r3, StaticMyAudioCallback__12CMoviePlayerFv@l -/* 8035B64C 003585AC 48 01 11 91 */ bl RunDMACallback__18CStaticAudioPlayerFv -/* 8035B650 003585B0 48 00 00 10 */ b lbl_8035B660 -lbl_8035B654: -/* 8035B654 003585B4 3C 60 80 36 */ lis r3, StaticMyAudioCallback__12CMoviePlayerFv@ha -/* 8035B658 003585B8 38 63 B8 84 */ addi r3, r3, StaticMyAudioCallback__12CMoviePlayerFv@l -/* 8035B65C 003585BC 48 01 10 A9 */ bl sub_8036c704 -lbl_8035B660: -/* 8035B660 003585C0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8035B664 003585C4 7C 08 03 A6 */ mtlr r0 -/* 8035B668 003585C8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8035B66C 003585CC 4E 80 00 20 */ blr - -.global MixAudio__12CMoviePlayerFPsPCsUl -MixAudio__12CMoviePlayerFPsPCsUl: -/* 8035B670 003585D0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8035B674 003585D4 7C 08 02 A6 */ mflr r0 -/* 8035B678 003585D8 7C A7 2B 78 */ mr r7, r5 -/* 8035B67C 003585DC 90 01 00 24 */ stw r0, 0x24(r1) -/* 8035B680 003585E0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8035B684 003585E4 80 03 00 D4 */ lwz r0, 0xd4(r3) -/* 8035B688 003585E8 2C 00 FF FF */ cmpwi r0, -1 -/* 8035B68C 003585EC 40 82 00 34 */ bne lbl_8035B6C0 -/* 8035B690 003585F0 28 05 00 00 */ cmplwi r5, 0 -/* 8035B694 003585F4 41 82 00 18 */ beq lbl_8035B6AC -/* 8035B698 003585F8 7C 83 23 78 */ mr r3, r4 -/* 8035B69C 003585FC 7C A4 2B 78 */ mr r4, r5 -/* 8035B6A0 00358600 54 C5 10 3A */ slwi r5, r6, 2 -/* 8035B6A4 00358604 4B CA 7D ED */ bl memcpy -/* 8035B6A8 00358608 48 00 01 C8 */ b lbl_8035B870 -lbl_8035B6AC: -/* 8035B6AC 0035860C 7C 83 23 78 */ mr r3, r4 -/* 8035B6B0 00358610 54 C5 10 3A */ slwi r5, r6, 2 -/* 8035B6B4 00358614 38 80 00 00 */ li r4, 0 -/* 8035B6B8 00358618 4B CA 7C F1 */ bl memset -/* 8035B6BC 0035861C 48 00 01 B4 */ b lbl_8035B870 -lbl_8035B6C0: -/* 8035B6C0 00358620 89 2D 9E 29 */ lbz r9, lbl_805A89E9@sda21(r13) -/* 8035B6C4 00358624 39 0D 9E 2C */ addi r8, r13, lbl_805A89EC@sda21 -/* 8035B6C8 00358628 80 0D 9E 2C */ lwz r0, lbl_805A89EC@sda21(r13) -/* 8035B6CC 0035862C 1D 29 00 64 */ mulli r9, r9, 0x64 -/* 8035B6D0 00358630 7D 29 3E 70 */ srawi r9, r9, 7 -/* 8035B6D4 00358634 7C 09 00 00 */ cmpw r9, r0 -/* 8035B6D8 00358638 91 21 00 08 */ stw r9, 8(r1) -/* 8035B6DC 0035863C 40 80 00 08 */ bge lbl_8035B6E4 -/* 8035B6E0 00358640 39 01 00 08 */ addi r8, r1, 8 -lbl_8035B6E4: -/* 8035B6E4 00358644 88 0D 9E 28 */ lbz r0, lbl_805A89E8@sda21(r13) -/* 8035B6E8 00358648 81 08 00 00 */ lwz r8, 0(r8) -/* 8035B6EC 0035864C 28 00 00 00 */ cmplwi r0, 0 -/* 8035B6F0 00358650 55 00 06 3E */ clrlwi r0, r8, 0x18 -/* 8035B6F4 00358654 41 82 00 18 */ beq lbl_8035B70C -/* 8035B6F8 00358658 3D 00 80 3E */ lis r8, lbl_803D8110@ha -/* 8035B6FC 0035865C 54 00 0D FC */ rlwinm r0, r0, 1, 0x17, 0x1e -/* 8035B700 00358660 39 08 81 10 */ addi r8, r8, lbl_803D8110@l -/* 8035B704 00358664 7C 08 02 2E */ lhzx r0, r8, r0 -/* 8035B708 00358668 48 00 00 08 */ b lbl_8035B710 -lbl_8035B70C: -/* 8035B70C 0035866C 38 00 00 00 */ li r0, 0 -lbl_8035B710: -/* 8035B710 00358670 54 0B 04 3E */ clrlwi r11, r0, 0x10 -/* 8035B714 00358674 39 00 00 00 */ li r8, 0 -/* 8035B718 00358678 48 00 01 14 */ b lbl_8035B82C -lbl_8035B71C: -/* 8035B71C 0035867C 81 43 00 D4 */ lwz r10, 0xd4(r3) -/* 8035B720 00358680 81 23 00 8C */ lwz r9, 0x8c(r3) -/* 8035B724 00358684 1C 0A 00 28 */ mulli r0, r10, 0x28 -/* 8035B728 00358688 7D 89 02 14 */ add r12, r9, r0 -/* 8035B72C 0035868C 81 2C 00 24 */ lwz r9, 0x24(r12) -/* 8035B730 00358690 80 0C 00 20 */ lwz r0, 0x20(r12) -/* 8035B734 00358694 7F E9 00 50 */ subf r31, r9, r0 -/* 8035B738 00358698 7C 1F 30 40 */ cmplw r31, r6 -/* 8035B73C 0035869C 40 81 00 0C */ ble lbl_8035B748 -/* 8035B740 003586A0 7C DF 33 78 */ mr r31, r6 -/* 8035B744 003586A4 48 00 00 20 */ b lbl_8035B764 -lbl_8035B748: -/* 8035B748 003586A8 39 2A 00 01 */ addi r9, r10, 1 -/* 8035B74C 003586AC 91 23 00 D4 */ stw r9, 0xd4(r3) -/* 8035B750 003586B0 80 03 00 84 */ lwz r0, 0x84(r3) -/* 8035B754 003586B4 7C 09 00 00 */ cmpw r9, r0 -/* 8035B758 003586B8 40 82 00 0C */ bne lbl_8035B764 -/* 8035B75C 003586BC 38 00 00 00 */ li r0, 0 -/* 8035B760 003586C0 90 03 00 D4 */ stw r0, 0xd4(r3) -lbl_8035B764: -/* 8035B764 003586C4 81 2C 00 24 */ lwz r9, 0x24(r12) -/* 8035B768 003586C8 28 05 00 00 */ cmplwi r5, 0 -/* 8035B76C 003586CC 81 4C 00 1C */ lwz r10, 0x1c(r12) -/* 8035B770 003586D0 7C 1F 4A 14 */ add r0, r31, r9 -/* 8035B774 003586D4 55 29 10 3A */ slwi r9, r9, 2 -/* 8035B778 003586D8 90 0C 00 24 */ stw r0, 0x24(r12) -/* 8035B77C 003586DC 7D 4A 4A 14 */ add r10, r10, r9 -/* 8035B780 003586E0 41 82 00 5C */ beq lbl_8035B7DC -/* 8035B784 003586E4 57 E0 08 3C */ slwi r0, r31, 1 -/* 8035B788 003586E8 7C 09 03 A6 */ mtctr r0 -/* 8035B78C 003586EC 28 00 00 00 */ cmplwi r0, 0 -/* 8035B790 003586F0 40 81 00 94 */ ble lbl_8035B824 -lbl_8035B794: -/* 8035B794 003586F4 A8 0A 00 00 */ lha r0, 0(r10) -/* 8035B798 003586F8 A9 27 00 00 */ lha r9, 0(r7) -/* 8035B79C 003586FC 7C 0B 01 D6 */ mullw r0, r11, r0 -/* 8035B7A0 00358700 7C 00 7E 70 */ srawi r0, r0, 0xf -/* 8035B7A4 00358704 7C 09 02 14 */ add r0, r9, r0 -/* 8035B7A8 00358708 2C 00 80 00 */ cmpwi r0, -32768 -/* 8035B7AC 0035870C 40 80 00 0C */ bge lbl_8035B7B8 -/* 8035B7B0 00358710 38 00 80 00 */ li r0, -32768 -/* 8035B7B4 00358714 48 00 00 10 */ b lbl_8035B7C4 -lbl_8035B7B8: -/* 8035B7B8 00358718 2C 00 7F FF */ cmpwi r0, 0x7fff -/* 8035B7BC 0035871C 40 81 00 08 */ ble lbl_8035B7C4 -/* 8035B7C0 00358720 38 00 7F FF */ li r0, 0x7fff -lbl_8035B7C4: -/* 8035B7C4 00358724 B0 04 00 00 */ sth r0, 0(r4) -/* 8035B7C8 00358728 38 84 00 02 */ addi r4, r4, 2 -/* 8035B7CC 0035872C 38 E7 00 02 */ addi r7, r7, 2 -/* 8035B7D0 00358730 39 4A 00 02 */ addi r10, r10, 2 -/* 8035B7D4 00358734 42 00 FF C0 */ bdnz lbl_8035B794 -/* 8035B7D8 00358738 48 00 00 4C */ b lbl_8035B824 -lbl_8035B7DC: -/* 8035B7DC 0035873C 57 E0 08 3C */ slwi r0, r31, 1 -/* 8035B7E0 00358740 7C 09 03 A6 */ mtctr r0 -/* 8035B7E4 00358744 28 00 00 00 */ cmplwi r0, 0 -/* 8035B7E8 00358748 40 81 00 3C */ ble lbl_8035B824 -lbl_8035B7EC: -/* 8035B7EC 0035874C A8 0A 00 00 */ lha r0, 0(r10) -/* 8035B7F0 00358750 7C 0B 01 D6 */ mullw r0, r11, r0 -/* 8035B7F4 00358754 7C 00 7E 70 */ srawi r0, r0, 0xf -/* 8035B7F8 00358758 2C 00 80 00 */ cmpwi r0, -32768 -/* 8035B7FC 0035875C 40 80 00 0C */ bge lbl_8035B808 -/* 8035B800 00358760 38 00 80 00 */ li r0, -32768 -/* 8035B804 00358764 48 00 00 10 */ b lbl_8035B814 -lbl_8035B808: -/* 8035B808 00358768 2C 00 7F FF */ cmpwi r0, 0x7fff -/* 8035B80C 0035876C 40 81 00 08 */ ble lbl_8035B814 -/* 8035B810 00358770 38 00 7F FF */ li r0, 0x7fff -lbl_8035B814: -/* 8035B814 00358774 B0 04 00 00 */ sth r0, 0(r4) -/* 8035B818 00358778 38 84 00 02 */ addi r4, r4, 2 -/* 8035B81C 0035877C 39 4A 00 02 */ addi r10, r10, 2 -/* 8035B820 00358780 42 00 FF CC */ bdnz lbl_8035B7EC -lbl_8035B824: -/* 8035B824 00358784 7C DF 30 50 */ subf r6, r31, r6 -/* 8035B828 00358788 39 08 00 01 */ addi r8, r8, 1 -lbl_8035B82C: -/* 8035B82C 0035878C 28 06 00 00 */ cmplwi r6, 0 -/* 8035B830 00358790 41 82 00 0C */ beq lbl_8035B83C -/* 8035B834 00358794 2C 08 00 03 */ cmpwi r8, 3 -/* 8035B838 00358798 41 80 FE E4 */ blt lbl_8035B71C -lbl_8035B83C: -/* 8035B83C 0035879C 28 06 00 00 */ cmplwi r6, 0 -/* 8035B840 003587A0 41 82 00 30 */ beq lbl_8035B870 -/* 8035B844 003587A4 28 05 00 00 */ cmplwi r5, 0 -/* 8035B848 003587A8 41 82 00 18 */ beq lbl_8035B860 -/* 8035B84C 003587AC 7C 83 23 78 */ mr r3, r4 -/* 8035B850 003587B0 7C E4 3B 78 */ mr r4, r7 -/* 8035B854 003587B4 54 C5 10 3A */ slwi r5, r6, 2 -/* 8035B858 003587B8 4B CA 7C 39 */ bl memcpy -/* 8035B85C 003587BC 48 00 00 14 */ b lbl_8035B870 -lbl_8035B860: -/* 8035B860 003587C0 7C 83 23 78 */ mr r3, r4 -/* 8035B864 003587C4 54 C5 10 3A */ slwi r5, r6, 2 -/* 8035B868 003587C8 38 80 00 00 */ li r4, 0 -/* 8035B86C 003587CC 4B CA 7B 3D */ bl memset -lbl_8035B870: -/* 8035B870 003587D0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8035B874 003587D4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8035B878 003587D8 7C 08 03 A6 */ mtlr r0 -/* 8035B87C 003587DC 38 21 00 20 */ addi r1, r1, 0x20 -/* 8035B880 003587E0 4E 80 00 20 */ blr - -.global StaticMyAudioCallback__12CMoviePlayerFv -StaticMyAudioCallback__12CMoviePlayerFv: -/* 8035B884 003587E4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8035B888 003587E8 7C 08 02 A6 */ mflr r0 -/* 8035B88C 003587EC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8035B890 003587F0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8035B894 003587F4 93 C1 00 08 */ stw r30, 8(r1) -/* 8035B898 003587F8 80 6D AA A4 */ lwz r3, lbl_805A9664@sda21(r13) -/* 8035B89C 003587FC 28 03 00 00 */ cmplwi r3, 0 -/* 8035B8A0 00358800 41 82 00 8C */ beq lbl_8035B92C -/* 8035B8A4 00358804 88 03 00 F4 */ lbz r0, 0xf4(r3) -/* 8035B8A8 00358808 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 8035B8AC 0035880C 41 82 00 80 */ beq lbl_8035B92C -/* 8035B8B0 00358810 48 01 17 89 */ bl AIGetDMAStartAddr -/* 8035B8B4 00358814 80 0D AA AC */ lwz r0, lbl_805A966C@sda21(r13) -/* 8035B8B8 00358818 3C A0 80 54 */ lis r5, lbl_80540020@ha -/* 8035B8BC 0035881C 3C E3 80 00 */ addis r7, r3, 0x8000 -/* 8035B8C0 00358820 38 80 02 80 */ li r4, 0x280 -/* 8035B8C4 00358824 68 06 00 01 */ xori r6, r0, 1 -/* 8035B8C8 00358828 38 05 00 20 */ addi r0, r5, lbl_80540020@l -/* 8035B8CC 0035882C 1C 66 02 80 */ mulli r3, r6, 0x280 -/* 8035B8D0 00358830 90 ED AA A8 */ stw r7, lbl_805A9668@sda21(r13) -/* 8035B8D4 00358834 90 CD AA AC */ stw r6, lbl_805A966C@sda21(r13) -/* 8035B8D8 00358838 7F E0 1A 14 */ add r31, r0, r3 -/* 8035B8DC 0035883C 7F E3 FB 78 */ mr r3, r31 -/* 8035B8E0 00358840 48 01 16 A1 */ bl AIInitDMA -/* 8035B8E4 00358844 48 02 5D 91 */ bl OSEnableInterrupts -/* 8035B8E8 00358848 80 0D AA A8 */ lwz r0, lbl_805A9668@sda21(r13) -/* 8035B8EC 0035884C 7C 7E 1B 78 */ mr r30, r3 -/* 8035B8F0 00358850 28 00 00 00 */ cmplwi r0, 0 -/* 8035B8F4 00358854 41 82 00 10 */ beq lbl_8035B904 -/* 8035B8F8 00358858 7C 03 03 78 */ mr r3, r0 -/* 8035B8FC 0035885C 38 80 02 80 */ li r4, 0x280 -/* 8035B900 00358860 48 02 31 85 */ bl DCInvalidateRange -lbl_8035B904: -/* 8035B904 00358864 80 6D AA A4 */ lwz r3, lbl_805A9664@sda21(r13) -/* 8035B908 00358868 7F E4 FB 78 */ mr r4, r31 -/* 8035B90C 0035886C 80 AD AA A8 */ lwz r5, lbl_805A9668@sda21(r13) -/* 8035B910 00358870 38 C0 00 A0 */ li r6, 0xa0 -/* 8035B914 00358874 4B FF FD 5D */ bl MixAudio__12CMoviePlayerFPsPCsUl -/* 8035B918 00358878 7F E3 FB 78 */ mr r3, r31 -/* 8035B91C 0035887C 38 80 02 80 */ li r4, 0x280 -/* 8035B920 00358880 48 02 31 91 */ bl DCFlushRange -/* 8035B924 00358884 7F C3 F3 78 */ mr r3, r30 -/* 8035B928 00358888 48 02 5D 61 */ bl OSRestoreInterrupts -lbl_8035B92C: -/* 8035B92C 0035888C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8035B930 00358890 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8035B934 00358894 83 C1 00 08 */ lwz r30, 8(r1) -/* 8035B938 00358898 7C 08 03 A6 */ mtlr r0 -/* 8035B93C 0035889C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8035B940 003588A0 4E 80 00 20 */ blr - -.global Rewind__12CMoviePlayerFv -Rewind__12CMoviePlayerFv: -/* 8035B944 003588A4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8035B948 003588A8 7C 08 02 A6 */ mflr r0 -/* 8035B94C 003588AC 90 01 00 24 */ stw r0, 0x24(r1) -/* 8035B950 003588B0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8035B954 003588B4 7C 7F 1B 78 */ mr r31, r3 -/* 8035B958 003588B8 80 63 00 98 */ lwz r3, 0x98(r3) -/* 8035B95C 003588BC 28 03 00 00 */ cmplwi r3, 0 -/* 8035B960 003588C0 41 82 00 3C */ beq lbl_8035B99C -/* 8035B964 003588C4 81 83 00 00 */ lwz r12, 0(r3) -/* 8035B968 003588C8 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8035B96C 003588CC 7D 89 03 A6 */ mtctr r12 -/* 8035B970 003588D0 4E 80 04 21 */ bctrl -/* 8035B974 003588D4 80 7F 00 98 */ lwz r3, 0x98(r31) -/* 8035B978 003588D8 28 03 00 00 */ cmplwi r3, 0 -/* 8035B97C 003588DC 41 82 00 18 */ beq lbl_8035B994 -/* 8035B980 003588E0 81 83 00 00 */ lwz r12, 0(r3) -/* 8035B984 003588E4 38 80 00 01 */ li r4, 1 -/* 8035B988 003588E8 81 8C 00 08 */ lwz r12, 8(r12) -/* 8035B98C 003588EC 7D 89 03 A6 */ mtctr r12 -/* 8035B990 003588F0 4E 80 04 21 */ bctrl -lbl_8035B994: -/* 8035B994 003588F4 38 00 00 00 */ li r0, 0 -/* 8035B998 003588F8 90 1F 00 98 */ stw r0, 0x98(r31) -lbl_8035B99C: -/* 8035B99C 003588FC 38 61 00 08 */ addi r3, r1, 8 -/* 8035B9A0 00358900 38 1F 00 90 */ addi r0, r31, 0x90 -/* 8035B9A4 00358904 38 80 00 00 */ li r4, 0 -/* 8035B9A8 00358908 7C 03 00 40 */ cmplw r3, r0 -/* 8035B9AC 0035890C 98 81 00 08 */ stb r4, 8(r1) -/* 8035B9B0 00358910 90 81 00 0C */ stw r4, 0xc(r1) -/* 8035B9B4 00358914 41 82 00 30 */ beq lbl_8035B9E4 -/* 8035B9B8 00358918 88 1F 00 90 */ lbz r0, 0x90(r31) -/* 8035B9BC 0035891C 28 00 00 00 */ cmplwi r0, 0 -/* 8035B9C0 00358920 41 82 00 0C */ beq lbl_8035B9CC -/* 8035B9C4 00358924 80 7F 00 94 */ lwz r3, 0x94(r31) -/* 8035B9C8 00358928 4B FB 9F 69 */ bl Free__7CMemoryFPCv -lbl_8035B9CC: -/* 8035B9CC 0035892C 88 61 00 08 */ lbz r3, 8(r1) -/* 8035B9D0 00358930 38 00 00 00 */ li r0, 0 -/* 8035B9D4 00358934 98 7F 00 90 */ stb r3, 0x90(r31) -/* 8035B9D8 00358938 80 61 00 0C */ lwz r3, 0xc(r1) -/* 8035B9DC 0035893C 90 7F 00 94 */ stw r3, 0x94(r31) -/* 8035B9E0 00358940 98 01 00 08 */ stb r0, 8(r1) -lbl_8035B9E4: -/* 8035B9E4 00358944 88 01 00 08 */ lbz r0, 8(r1) -/* 8035B9E8 00358948 28 00 00 00 */ cmplwi r0, 0 -/* 8035B9EC 0035894C 41 82 00 0C */ beq lbl_8035B9F8 -/* 8035B9F0 00358950 80 61 00 0C */ lwz r3, 0xc(r1) -/* 8035B9F4 00358954 4B FB 9F 3D */ bl Free__7CMemoryFPCv -lbl_8035B9F8: -/* 8035B9F8 00358958 80 7F 00 40 */ lwz r3, 0x40(r31) -/* 8035B9FC 0035895C 38 80 00 00 */ li r4, 0 -/* 8035BA00 00358960 38 00 FF FF */ li r0, -1 -/* 8035BA04 00358964 C0 02 CD 24 */ lfs f0, lbl_805AEA44@sda21(r2) -/* 8035BA08 00358968 90 7F 00 B0 */ stw r3, 0xb0(r31) -/* 8035BA0C 0035896C 38 7F 00 80 */ addi r3, r31, 0x80 -/* 8035BA10 00358970 80 BF 00 50 */ lwz r5, 0x50(r31) -/* 8035BA14 00358974 90 BF 00 B4 */ stw r5, 0xb4(r31) -/* 8035BA18 00358978 80 BF 00 40 */ lwz r5, 0x40(r31) -/* 8035BA1C 0035897C 90 BF 00 B8 */ stw r5, 0xb8(r31) -/* 8035BA20 00358980 80 BF 00 50 */ lwz r5, 0x50(r31) -/* 8035BA24 00358984 90 BF 00 BC */ stw r5, 0xbc(r31) -/* 8035BA28 00358988 90 9F 00 C0 */ stw r4, 0xc0(r31) -/* 8035BA2C 0035898C 90 9F 00 C4 */ stw r4, 0xc4(r31) -/* 8035BA30 00358990 90 9F 00 C8 */ stw r4, 0xc8(r31) -/* 8035BA34 00358994 90 9F 00 CC */ stw r4, 0xcc(r31) -/* 8035BA38 00358998 90 1F 00 D0 */ stw r0, 0xd0(r31) -/* 8035BA3C 0035899C 90 1F 00 D4 */ stw r0, 0xd4(r31) -/* 8035BA40 003589A0 90 9F 00 D8 */ stw r4, 0xd8(r31) -/* 8035BA44 003589A4 D0 1F 00 DC */ stfs f0, 0xdc(r31) -/* 8035BA48 003589A8 D0 1F 00 E8 */ stfs f0, 0xe8(r31) -/* 8035BA4C 003589AC 48 00 00 19 */ bl "clear__Q24rstl67vectorFv" -/* 8035BA50 003589B0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8035BA54 003589B4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8035BA58 003589B8 7C 08 03 A6 */ mtlr r0 -/* 8035BA5C 003589BC 38 21 00 20 */ addi r1, r1, 0x20 -/* 8035BA60 003589C0 4E 80 00 20 */ blr - -.global "clear__Q24rstl67vectorFv" -"clear__Q24rstl67vectorFv": -/* 8035BA64 003589C4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8035BA68 003589C8 7C 08 02 A6 */ mflr r0 -/* 8035BA6C 003589CC 90 01 00 24 */ stw r0, 0x24(r1) -/* 8035BA70 003589D0 38 81 00 0C */ addi r4, r1, 0xc -/* 8035BA74 003589D4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8035BA78 003589D8 7C 7F 1B 78 */ mr r31, r3 -/* 8035BA7C 003589DC 38 61 00 14 */ addi r3, r1, 0x14 -/* 8035BA80 003589E0 80 1F 00 04 */ lwz r0, 4(r31) -/* 8035BA84 003589E4 80 BF 00 0C */ lwz r5, 0xc(r31) -/* 8035BA88 003589E8 1C 00 00 28 */ mulli r0, r0, 0x28 -/* 8035BA8C 003589EC 7C A5 02 14 */ add r5, r5, r0 -/* 8035BA90 003589F0 90 A1 00 0C */ stw r5, 0xc(r1) -/* 8035BA94 003589F4 80 1F 00 0C */ lwz r0, 0xc(r31) -/* 8035BA98 003589F8 90 A1 00 08 */ stw r5, 8(r1) -/* 8035BA9C 003589FC 90 01 00 10 */ stw r0, 0x10(r1) -/* 8035BAA0 00358A00 90 01 00 14 */ stw r0, 0x14(r1) -/* 8035BAA4 00358A04 48 00 00 21 */ bl "destroy,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl154pointer_iterator,Q24rstl17rmemory_allocator>Q24rstl154pointer_iterator,Q24rstl17rmemory_allocator>" -/* 8035BAA8 00358A08 38 00 00 00 */ li r0, 0 -/* 8035BAAC 00358A0C 90 1F 00 04 */ stw r0, 4(r31) -/* 8035BAB0 00358A10 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8035BAB4 00358A14 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8035BAB8 00358A18 7C 08 03 A6 */ mtlr r0 -/* 8035BABC 00358A1C 38 21 00 20 */ addi r1, r1, 0x20 -/* 8035BAC0 00358A20 4E 80 00 20 */ blr - -.global "destroy,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl154pointer_iterator,Q24rstl17rmemory_allocator>Q24rstl154pointer_iterator,Q24rstl17rmemory_allocator>" -"destroy,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl154pointer_iterator,Q24rstl17rmemory_allocator>Q24rstl154pointer_iterator,Q24rstl17rmemory_allocator>": -/* 8035BAC4 00358A24 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8035BAC8 00358A28 7C 08 02 A6 */ mflr r0 -/* 8035BACC 00358A2C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8035BAD0 00358A30 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8035BAD4 00358A34 93 C1 00 08 */ stw r30, 8(r1) -/* 8035BAD8 00358A38 7C 9E 23 78 */ mr r30, r4 -/* 8035BADC 00358A3C 83 E3 00 00 */ lwz r31, 0(r3) -/* 8035BAE0 00358A40 48 00 00 80 */ b lbl_8035BB60 -lbl_8035BAE4: -/* 8035BAE4 00358A44 28 1F 00 00 */ cmplwi r31, 0 -/* 8035BAE8 00358A48 41 82 00 74 */ beq lbl_8035BB5C -/* 8035BAEC 00358A4C 34 1F 00 18 */ addic. r0, r31, 0x18 -/* 8035BAF0 00358A50 41 82 00 18 */ beq lbl_8035BB08 -/* 8035BAF4 00358A54 88 1F 00 18 */ lbz r0, 0x18(r31) -/* 8035BAF8 00358A58 28 00 00 00 */ cmplwi r0, 0 -/* 8035BAFC 00358A5C 41 82 00 0C */ beq lbl_8035BB08 -/* 8035BB00 00358A60 80 7F 00 1C */ lwz r3, 0x1c(r31) -/* 8035BB04 00358A64 4B FB 9E 2D */ bl Free__7CMemoryFPCv -lbl_8035BB08: -/* 8035BB08 00358A68 34 1F 00 10 */ addic. r0, r31, 0x10 -/* 8035BB0C 00358A6C 41 82 00 18 */ beq lbl_8035BB24 -/* 8035BB10 00358A70 88 1F 00 10 */ lbz r0, 0x10(r31) -/* 8035BB14 00358A74 28 00 00 00 */ cmplwi r0, 0 -/* 8035BB18 00358A78 41 82 00 0C */ beq lbl_8035BB24 -/* 8035BB1C 00358A7C 80 7F 00 14 */ lwz r3, 0x14(r31) -/* 8035BB20 00358A80 4B FB 9E 11 */ bl Free__7CMemoryFPCv -lbl_8035BB24: -/* 8035BB24 00358A84 34 1F 00 08 */ addic. r0, r31, 8 -/* 8035BB28 00358A88 41 82 00 18 */ beq lbl_8035BB40 -/* 8035BB2C 00358A8C 88 1F 00 08 */ lbz r0, 8(r31) -/* 8035BB30 00358A90 28 00 00 00 */ cmplwi r0, 0 -/* 8035BB34 00358A94 41 82 00 0C */ beq lbl_8035BB40 -/* 8035BB38 00358A98 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 8035BB3C 00358A9C 4B FB 9D F5 */ bl Free__7CMemoryFPCv -lbl_8035BB40: -/* 8035BB40 00358AA0 28 1F 00 00 */ cmplwi r31, 0 -/* 8035BB44 00358AA4 41 82 00 18 */ beq lbl_8035BB5C -/* 8035BB48 00358AA8 88 1F 00 00 */ lbz r0, 0(r31) -/* 8035BB4C 00358AAC 28 00 00 00 */ cmplwi r0, 0 -/* 8035BB50 00358AB0 41 82 00 0C */ beq lbl_8035BB5C -/* 8035BB54 00358AB4 80 7F 00 04 */ lwz r3, 4(r31) -/* 8035BB58 00358AB8 4B FB 9D D9 */ bl Free__7CMemoryFPCv -lbl_8035BB5C: -/* 8035BB5C 00358ABC 3B FF 00 28 */ addi r31, r31, 0x28 -lbl_8035BB60: -/* 8035BB60 00358AC0 80 1E 00 00 */ lwz r0, 0(r30) -/* 8035BB64 00358AC4 7C 1F 00 40 */ cmplw r31, r0 -/* 8035BB68 00358AC8 40 82 FF 7C */ bne lbl_8035BAE4 -/* 8035BB6C 00358ACC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8035BB70 00358AD0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8035BB74 00358AD4 83 C1 00 08 */ lwz r30, 8(r1) -/* 8035BB78 00358AD8 7C 08 03 A6 */ mtlr r0 -/* 8035BB7C 00358ADC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8035BB80 00358AE0 4E 80 00 20 */ blr - -.global GetIsMovieFinishedPlaying__12CMoviePlayerCFv -GetIsMovieFinishedPlaying__12CMoviePlayerCFv: -/* 8035BB84 00358AE4 88 03 00 F4 */ lbz r0, 0xf4(r3) -/* 8035BB88 00358AE8 38 A0 00 00 */ li r5, 0 -/* 8035BB8C 00358AEC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8035BB90 00358AF0 40 82 00 18 */ bne lbl_8035BBA8 -/* 8035BB94 00358AF4 80 83 00 C8 */ lwz r4, 0xc8(r3) -/* 8035BB98 00358AF8 80 03 00 3C */ lwz r0, 0x3c(r3) -/* 8035BB9C 00358AFC 7C 04 00 40 */ cmplw r4, r0 -/* 8035BBA0 00358B00 40 82 00 08 */ bne lbl_8035BBA8 -/* 8035BBA4 00358B04 38 A0 00 01 */ li r5, 1 -lbl_8035BBA8: -/* 8035BBA8 00358B08 7C A3 2B 78 */ mr r3, r5 -/* 8035BBAC 00358B0C 4E 80 00 20 */ blr - -.global GetIsFullyCached__12CMoviePlayerCFv -GetIsFullyCached__12CMoviePlayerCFv: -/* 8035BBB0 00358B10 80 A3 00 A0 */ lwz r5, 0xa0(r3) -/* 8035BBB4 00358B14 80 03 00 F0 */ lwz r0, 0xf0(r3) -/* 8035BBB8 00358B18 7C A4 FE 70 */ srawi r4, r5, 0x1f -/* 8035BBBC 00358B1C 54 03 0F FE */ srwi r3, r0, 0x1f -/* 8035BBC0 00358B20 7C 00 28 10 */ subfc r0, r0, r5 -/* 8035BBC4 00358B24 7C 64 19 14 */ adde r3, r4, r3 -/* 8035BBC8 00358B28 4E 80 00 20 */ blr - -.global GetPlayedSeconds__12CMoviePlayerCFv -GetPlayedSeconds__12CMoviePlayerCFv: -/* 8035BBCC 00358B2C C0 23 00 E8 */ lfs f1, 0xe8(r3) -/* 8035BBD0 00358B30 C0 03 00 DC */ lfs f0, 0xdc(r3) -/* 8035BBD4 00358B34 EC 21 00 2A */ fadds f1, f1, f0 -/* 8035BBD8 00358B38 4E 80 00 20 */ blr - -.global GetTotalSeconds__12CMoviePlayerCFv -GetTotalSeconds__12CMoviePlayerCFv: -/* 8035BBDC 00358B3C C0 23 00 E4 */ lfs f1, 0xe4(r3) -/* 8035BBE0 00358B40 4E 80 00 20 */ blr - -.global SetPlayMode__12CMoviePlayerFQ212CMoviePlayer9EPlayMode -SetPlayMode__12CMoviePlayerFQ212CMoviePlayer9EPlayMode: -/* 8035BBE4 00358B44 90 83 00 E0 */ stw r4, 0xe0(r3) -/* 8035BBE8 00358B48 4E 80 00 20 */ blr - -.global DrawFrame__12CMoviePlayerFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f -DrawFrame__12CMoviePlayerFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f: -/* 8035BBEC 00358B4C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8035BBF0 00358B50 7C 08 02 A6 */ mflr r0 -/* 8035BBF4 00358B54 90 01 00 34 */ stw r0, 0x34(r1) -/* 8035BBF8 00358B58 BF 21 00 14 */ stmw r25, 0x14(r1) -/* 8035BBFC 00358B5C 7C 7B 1B 78 */ mr r27, r3 -/* 8035BC00 00358B60 7C 9C 23 78 */ mr r28, r4 -/* 8035BC04 00358B64 7C BD 2B 78 */ mr r29, r5 -/* 8035BC08 00358B68 7C DE 33 78 */ mr r30, r6 -/* 8035BC0C 00358B6C 7C FF 3B 78 */ mr r31, r7 -/* 8035BC10 00358B70 80 03 00 D0 */ lwz r0, 0xd0(r3) -/* 8035BC14 00358B74 2C 00 FF FF */ cmpwi r0, -1 -/* 8035BC18 00358B78 41 82 01 34 */ beq lbl_8035BD4C -/* 8035BC1C 00358B7C 88 1B 00 F4 */ lbz r0, 0xf4(r27) -/* 8035BC20 00358B80 54 03 D7 FE */ rlwinm r3, r0, 0x1a, 0x1f, 0x1f -/* 8035BC24 00358B84 4B FA DB E9 */ bl SetUseVideoFilter__9CGraphicsFb -/* 8035BC28 00358B88 48 02 5A 39 */ bl OSDisableInterrupts -/* 8035BC2C 00358B8C 93 6D AA A4 */ stw r27, lbl_805A9664@sda21(r13) -/* 8035BC30 00358B90 48 02 5A 59 */ bl OSRestoreInterrupts -/* 8035BC34 00358B94 80 7B 00 D0 */ lwz r3, 0xd0(r27) -/* 8035BC38 00358B98 88 1B 00 F4 */ lbz r0, 0xf4(r27) -/* 8035BC3C 00358B9C 1C A3 00 28 */ mulli r5, r3, 0x28 -/* 8035BC40 00358BA0 80 DB 00 8C */ lwz r6, 0x8c(r27) -/* 8035BC44 00358BA4 8B 2D A8 14 */ lbz r25, lbl_805A93D4@sda21(r13) -/* 8035BC48 00358BA8 54 04 D7 FE */ rlwinm r4, r0, 0x1a, 0x1f, 0x1f -/* 8035BC4C 00358BAC 7F 23 CB 78 */ mr r3, r25 -/* 8035BC50 00358BB0 7F 46 2A 14 */ add r26, r6, r5 -/* 8035BC54 00358BB4 48 00 16 41 */ bl MyTHPGXYuv2RgbSetup__Fb -/* 8035BC58 00358BB8 80 9B 00 6C */ lwz r4, 0x6c(r27) -/* 8035BC5C 00358BBC 80 1B 00 70 */ lwz r0, 0x70(r27) -/* 8035BC60 00358BC0 80 7A 00 04 */ lwz r3, 4(r26) -/* 8035BC64 00358BC4 54 86 04 3E */ clrlwi r6, r4, 0x10 -/* 8035BC68 00358BC8 80 9A 00 0C */ lwz r4, 0xc(r26) -/* 8035BC6C 00358BCC 54 07 04 3E */ clrlwi r7, r0, 0x10 -/* 8035BC70 00358BD0 80 BA 00 14 */ lwz r5, 0x14(r26) -/* 8035BC74 00358BD4 48 00 14 AD */ bl MyTHPYuv2RgbTextureSetup__FPvPvPvUsUs -/* 8035BC78 00358BD8 38 60 00 A0 */ li r3, 0xa0 -/* 8035BC7C 00358BDC 38 80 00 07 */ li r4, 7 -/* 8035BC80 00358BE0 38 A0 00 04 */ li r5, 4 -/* 8035BC84 00358BE4 4B FA C9 01 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs -/* 8035BC88 00358BE8 C0 3C 00 08 */ lfs f1, 8(r28) -/* 8035BC8C 00358BEC 3C 80 CC 01 */ lis r4, 0xCC008000@ha -/* 8035BC90 00358BF0 C0 5C 00 04 */ lfs f2, 4(r28) -/* 8035BC94 00358BF4 38 60 00 00 */ li r3, 0 -/* 8035BC98 00358BF8 C0 1C 00 00 */ lfs f0, 0(r28) -/* 8035BC9C 00358BFC 38 00 00 01 */ li r0, 1 -/* 8035BCA0 00358C00 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) -/* 8035BCA4 00358C04 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) -/* 8035BCA8 00358C08 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8035BCAC 00358C0C B0 64 80 00 */ sth r3, 0xCC008000@l(r4) -/* 8035BCB0 00358C10 B0 64 80 00 */ sth r3, 0xCC008000@l(r4) -/* 8035BCB4 00358C14 C0 3E 00 08 */ lfs f1, 8(r30) -/* 8035BCB8 00358C18 C0 5E 00 04 */ lfs f2, 4(r30) -/* 8035BCBC 00358C1C C0 1E 00 00 */ lfs f0, 0(r30) -/* 8035BCC0 00358C20 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) -/* 8035BCC4 00358C24 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) -/* 8035BCC8 00358C28 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8035BCCC 00358C2C B0 64 80 00 */ sth r3, 0xCC008000@l(r4) -/* 8035BCD0 00358C30 B0 04 80 00 */ sth r0, 0xCC008000@l(r4) -/* 8035BCD4 00358C34 C0 3F 00 08 */ lfs f1, 8(r31) -/* 8035BCD8 00358C38 C0 5F 00 04 */ lfs f2, 4(r31) -/* 8035BCDC 00358C3C C0 1F 00 00 */ lfs f0, 0(r31) -/* 8035BCE0 00358C40 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) -/* 8035BCE4 00358C44 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) -/* 8035BCE8 00358C48 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8035BCEC 00358C4C B0 04 80 00 */ sth r0, 0xCC008000@l(r4) -/* 8035BCF0 00358C50 B0 04 80 00 */ sth r0, 0xCC008000@l(r4) -/* 8035BCF4 00358C54 C0 3D 00 08 */ lfs f1, 8(r29) -/* 8035BCF8 00358C58 C0 5D 00 04 */ lfs f2, 4(r29) -/* 8035BCFC 00358C5C C0 1D 00 00 */ lfs f0, 0(r29) -/* 8035BD00 00358C60 D0 04 80 00 */ stfs f0, 0xCC008000@l(r4) -/* 8035BD04 00358C64 D0 44 80 00 */ stfs f2, 0xCC008000@l(r4) -/* 8035BD08 00358C68 D0 24 80 00 */ stfs f1, 0xCC008000@l(r4) -/* 8035BD0C 00358C6C B0 04 80 00 */ sth r0, 0xCC008000@l(r4) -/* 8035BD10 00358C70 B0 64 80 00 */ sth r3, 0xCC008000@l(r4) -/* 8035BD14 00358C74 4B FA C8 6D */ bl End__3CGXFv -/* 8035BD18 00358C78 48 00 1A 99 */ bl MyTHPGXRestore__Fv -/* 8035BD1C 00358C7C 80 1B 00 FC */ lwz r0, 0xfc(r27) -/* 8035BD20 00358C80 2C 00 00 00 */ cmpwi r0, 0 -/* 8035BD24 00358C84 40 82 00 1C */ bne lbl_8035BD40 -/* 8035BD28 00358C88 28 19 00 00 */ cmplwi r25, 0 -/* 8035BD2C 00358C8C 41 82 00 14 */ beq lbl_8035BD40 -/* 8035BD30 00358C90 88 1B 00 F4 */ lbz r0, 0xf4(r27) -/* 8035BD34 00358C94 38 60 00 01 */ li r3, 1 -/* 8035BD38 00358C98 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 8035BD3C 00358C9C 98 1B 00 F4 */ stb r0, 0xf4(r27) -lbl_8035BD40: -/* 8035BD40 00358CA0 80 7B 00 FC */ lwz r3, 0xfc(r27) -/* 8035BD44 00358CA4 38 03 00 01 */ addi r0, r3, 1 -/* 8035BD48 00358CA8 90 1B 00 FC */ stw r0, 0xfc(r27) -lbl_8035BD4C: -/* 8035BD4C 00358CAC BB 21 00 14 */ lmw r25, 0x14(r1) -/* 8035BD50 00358CB0 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8035BD54 00358CB4 7C 08 03 A6 */ mtlr r0 -/* 8035BD58 00358CB8 38 21 00 30 */ addi r1, r1, 0x30 -/* 8035BD5C 00358CBC 4E 80 00 20 */ blr - -.global Update__12CMoviePlayerFf -Update__12CMoviePlayerFf: -/* 8035BD60 00358CC0 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 8035BD64 00358CC4 7C 08 02 A6 */ mflr r0 -/* 8035BD68 00358CC8 90 01 00 54 */ stw r0, 0x54(r1) -/* 8035BD6C 00358CCC DB E1 00 40 */ stfd f31, 0x40(r1) -/* 8035BD70 00358CD0 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 -/* 8035BD74 00358CD4 DB C1 00 30 */ stfd f30, 0x30(r1) -/* 8035BD78 00358CD8 F3 C1 00 38 */ psq_st f30, 56(r1), 0, qr0 -/* 8035BD7C 00358CDC DB A1 00 20 */ stfd f29, 0x20(r1) -/* 8035BD80 00358CE0 F3 A1 00 28 */ psq_st f29, 40(r1), 0, qr0 -/* 8035BD84 00358CE4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8035BD88 00358CE8 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8035BD8C 00358CEC 7C 7F 1B 78 */ mr r31, r3 -/* 8035BD90 00358CF0 FF A0 08 90 */ fmr f29, f1 -/* 8035BD94 00358CF4 80 A3 00 C0 */ lwz r5, 0xc0(r3) -/* 8035BD98 00358CF8 80 03 00 F0 */ lwz r0, 0xf0(r3) -/* 8035BD9C 00358CFC 7C 05 00 00 */ cmpw r5, r0 -/* 8035BDA0 00358D00 40 80 00 64 */ bge lbl_8035BE04 -/* 8035BDA4 00358D04 80 7F 00 98 */ lwz r3, 0x98(r31) -/* 8035BDA8 00358D08 28 03 00 00 */ cmplwi r3, 0 -/* 8035BDAC 00358D0C 41 82 01 08 */ beq lbl_8035BEB4 -/* 8035BDB0 00358D10 81 83 00 00 */ lwz r12, 0(r3) -/* 8035BDB4 00358D14 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8035BDB8 00358D18 7D 89 03 A6 */ mtctr r12 -/* 8035BDBC 00358D1C 4E 80 04 21 */ bctrl -/* 8035BDC0 00358D20 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8035BDC4 00358D24 41 82 00 F0 */ beq lbl_8035BEB4 -/* 8035BDC8 00358D28 7F E3 FB 78 */ mr r3, r31 -/* 8035BDCC 00358D2C 48 00 04 49 */ bl ReadCompleted__12CMoviePlayerFv -/* 8035BDD0 00358D30 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 8035BDD4 00358D34 80 9F 00 A0 */ lwz r4, 0xa0(r31) -/* 8035BDD8 00358D38 7C 03 20 00 */ cmpw r3, r4 -/* 8035BDDC 00358D3C 41 80 00 D8 */ blt lbl_8035BEB4 -/* 8035BDE0 00358D40 80 1F 00 F0 */ lwz r0, 0xf0(r31) -/* 8035BDE4 00358D44 7C 03 00 00 */ cmpw r3, r0 -/* 8035BDE8 00358D48 40 80 00 CC */ bge lbl_8035BEB4 -/* 8035BDEC 00358D4C 80 1F 00 3C */ lwz r0, 0x3c(r31) -/* 8035BDF0 00358D50 7C 04 00 40 */ cmplw r4, r0 -/* 8035BDF4 00358D54 40 80 00 C0 */ bge lbl_8035BEB4 -/* 8035BDF8 00358D58 7F E3 FB 78 */ mr r3, r31 -/* 8035BDFC 00358D5C 48 00 05 8D */ bl PostDVDReadRequestIfNeeded__12CMoviePlayerFv -/* 8035BE00 00358D60 48 00 00 B4 */ b lbl_8035BEB4 -lbl_8035BE04: -/* 8035BE04 00358D64 80 7F 00 98 */ lwz r3, 0x98(r31) -/* 8035BE08 00358D68 28 03 00 00 */ cmplwi r3, 0 -/* 8035BE0C 00358D6C 41 82 00 A8 */ beq lbl_8035BEB4 -/* 8035BE10 00358D70 80 1F 00 C4 */ lwz r0, 0xc4(r31) -/* 8035BE14 00358D74 3B C0 00 00 */ li r30, 0 -/* 8035BE18 00358D78 80 9F 00 A0 */ lwz r4, 0xa0(r31) -/* 8035BE1C 00358D7C 7C 00 20 00 */ cmpw r0, r4 -/* 8035BE20 00358D80 41 80 00 10 */ blt lbl_8035BE30 -/* 8035BE24 00358D84 7C 05 20 00 */ cmpw r5, r4 -/* 8035BE28 00358D88 41 80 00 08 */ blt lbl_8035BE30 -/* 8035BE2C 00358D8C 3B C0 00 01 */ li r30, 1 -lbl_8035BE30: -/* 8035BE30 00358D90 81 83 00 00 */ lwz r12, 0(r3) -/* 8035BE34 00358D94 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8035BE38 00358D98 7D 89 03 A6 */ mtctr r12 -/* 8035BE3C 00358D9C 4E 80 04 21 */ bctrl -/* 8035BE40 00358DA0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8035BE44 00358DA4 41 82 00 70 */ beq lbl_8035BEB4 -/* 8035BE48 00358DA8 80 1F 00 D8 */ lwz r0, 0xd8(r31) -/* 8035BE4C 00358DAC 2C 00 00 02 */ cmpwi r0, 2 -/* 8035BE50 00358DB0 40 80 00 64 */ bge lbl_8035BEB4 -/* 8035BE54 00358DB4 57 C0 06 3F */ clrlwi. r0, r30, 0x18 -/* 8035BE58 00358DB8 41 82 00 5C */ beq lbl_8035BEB4 -/* 8035BE5C 00358DBC 80 9F 00 94 */ lwz r4, 0x94(r31) -/* 8035BE60 00358DC0 7F E3 FB 78 */ mr r3, r31 -/* 8035BE64 00358DC4 48 00 02 95 */ bl DecodeFromRead__12CMoviePlayerFPCv -/* 8035BE68 00358DC8 7F E3 FB 78 */ mr r3, r31 -/* 8035BE6C 00358DCC 48 00 03 A9 */ bl ReadCompleted__12CMoviePlayerFv -/* 8035BE70 00358DD0 7F E3 FB 78 */ mr r3, r31 -/* 8035BE74 00358DD4 48 00 05 15 */ bl PostDVDReadRequestIfNeeded__12CMoviePlayerFv -/* 8035BE78 00358DD8 80 7F 00 D8 */ lwz r3, 0xd8(r31) -/* 8035BE7C 00358DDC 38 03 00 01 */ addi r0, r3, 1 -/* 8035BE80 00358DE0 90 1F 00 D8 */ stw r0, 0xd8(r31) -/* 8035BE84 00358DE4 80 7F 00 C4 */ lwz r3, 0xc4(r31) -/* 8035BE88 00358DE8 38 03 00 01 */ addi r0, r3, 1 -/* 8035BE8C 00358DEC 90 1F 00 C4 */ stw r0, 0xc4(r31) -/* 8035BE90 00358DF0 80 7F 00 C4 */ lwz r3, 0xc4(r31) -/* 8035BE94 00358DF4 80 1F 00 3C */ lwz r0, 0x3c(r31) -/* 8035BE98 00358DF8 7C 03 00 40 */ cmplw r3, r0 -/* 8035BE9C 00358DFC 41 80 00 18 */ blt lbl_8035BEB4 -/* 8035BEA0 00358E00 88 1F 00 F4 */ lbz r0, 0xf4(r31) -/* 8035BEA4 00358E04 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8035BEA8 00358E08 41 82 00 0C */ beq lbl_8035BEB4 -/* 8035BEAC 00358E0C 38 00 00 00 */ li r0, 0 -/* 8035BEB0 00358E10 90 1F 00 C4 */ stw r0, 0xc4(r31) -lbl_8035BEB4: -/* 8035BEB4 00358E14 80 1F 00 98 */ lwz r0, 0x98(r31) -/* 8035BEB8 00358E18 28 00 00 00 */ cmplwi r0, 0 -/* 8035BEBC 00358E1C 40 82 00 28 */ bne lbl_8035BEE4 -/* 8035BEC0 00358E20 80 1F 00 E0 */ lwz r0, 0xe0(r31) -/* 8035BEC4 00358E24 2C 00 00 01 */ cmpwi r0, 1 -/* 8035BEC8 00358E28 40 82 00 1C */ bne lbl_8035BEE4 -/* 8035BECC 00358E2C 80 7F 00 A0 */ lwz r3, 0xa0(r31) -/* 8035BED0 00358E30 80 1F 00 3C */ lwz r0, 0x3c(r31) -/* 8035BED4 00358E34 7C 03 00 40 */ cmplw r3, r0 -/* 8035BED8 00358E38 40 80 00 0C */ bge lbl_8035BEE4 -/* 8035BEDC 00358E3C 7F E3 FB 78 */ mr r3, r31 -/* 8035BEE0 00358E40 48 00 04 A9 */ bl PostDVDReadRequestIfNeeded__12CMoviePlayerFv -lbl_8035BEE4: -/* 8035BEE4 00358E44 80 1F 00 D8 */ lwz r0, 0xd8(r31) -/* 8035BEE8 00358E48 2C 00 00 02 */ cmpwi r0, 2 -/* 8035BEEC 00358E4C 40 80 00 A4 */ bge lbl_8035BF90 -/* 8035BEF0 00358E50 80 1F 00 E0 */ lwz r0, 0xe0(r31) -/* 8035BEF4 00358E54 2C 00 00 01 */ cmpwi r0, 1 -/* 8035BEF8 00358E58 40 82 00 98 */ bne lbl_8035BF90 -/* 8035BEFC 00358E5C 80 7F 00 C4 */ lwz r3, 0xc4(r31) -/* 8035BF00 00358E60 80 1F 00 F0 */ lwz r0, 0xf0(r31) -/* 8035BF04 00358E64 7C 03 00 00 */ cmpw r3, r0 -/* 8035BF08 00358E68 40 80 00 88 */ bge lbl_8035BF90 -/* 8035BF0C 00358E6C 80 7F 00 A0 */ lwz r3, 0xa0(r31) -/* 8035BF10 00358E70 38 63 FF FF */ addi r3, r3, -1 -/* 8035BF14 00358E74 90 61 00 08 */ stw r3, 8(r1) -/* 8035BF18 00358E78 80 1F 00 C4 */ lwz r0, 0xc4(r31) -/* 8035BF1C 00358E7C 7C 03 00 00 */ cmpw r3, r0 -/* 8035BF20 00358E80 40 80 00 0C */ bge lbl_8035BF2C -/* 8035BF24 00358E84 38 61 00 08 */ addi r3, r1, 8 -/* 8035BF28 00358E88 48 00 00 08 */ b lbl_8035BF30 -lbl_8035BF2C: -/* 8035BF2C 00358E8C 38 7F 00 C4 */ addi r3, r31, 0xc4 -lbl_8035BF30: -/* 8035BF30 00358E90 80 03 00 00 */ lwz r0, 0(r3) -/* 8035BF34 00358E94 2C 00 FF FF */ cmpwi r0, -1 -/* 8035BF38 00358E98 41 82 01 90 */ beq lbl_8035C0C8 -/* 8035BF3C 00358E9C 54 03 18 38 */ slwi r3, r0, 3 -/* 8035BF40 00358EA0 80 9F 00 A8 */ lwz r4, 0xa8(r31) -/* 8035BF44 00358EA4 38 03 00 04 */ addi r0, r3, 4 -/* 8035BF48 00358EA8 7F E3 FB 78 */ mr r3, r31 -/* 8035BF4C 00358EAC 7C 84 00 2E */ lwzx r4, r4, r0 -/* 8035BF50 00358EB0 48 00 01 A9 */ bl DecodeFromRead__12CMoviePlayerFPCv -/* 8035BF54 00358EB4 80 7F 00 D8 */ lwz r3, 0xd8(r31) -/* 8035BF58 00358EB8 38 03 00 01 */ addi r0, r3, 1 -/* 8035BF5C 00358EBC 90 1F 00 D8 */ stw r0, 0xd8(r31) -/* 8035BF60 00358EC0 80 7F 00 C4 */ lwz r3, 0xc4(r31) -/* 8035BF64 00358EC4 38 03 00 01 */ addi r0, r3, 1 -/* 8035BF68 00358EC8 90 1F 00 C4 */ stw r0, 0xc4(r31) -/* 8035BF6C 00358ECC 80 7F 00 C4 */ lwz r3, 0xc4(r31) -/* 8035BF70 00358ED0 80 1F 00 3C */ lwz r0, 0x3c(r31) -/* 8035BF74 00358ED4 7C 03 00 40 */ cmplw r3, r0 -/* 8035BF78 00358ED8 41 80 00 18 */ blt lbl_8035BF90 -/* 8035BF7C 00358EDC 88 1F 00 F4 */ lbz r0, 0xf4(r31) -/* 8035BF80 00358EE0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8035BF84 00358EE4 41 82 00 0C */ beq lbl_8035BF90 -/* 8035BF88 00358EE8 38 00 00 00 */ li r0, 0 -/* 8035BF8C 00358EEC 90 1F 00 C4 */ stw r0, 0xc4(r31) -lbl_8035BF90: -/* 8035BF90 00358EF0 80 1F 00 D8 */ lwz r0, 0xd8(r31) -/* 8035BF94 00358EF4 2C 00 00 00 */ cmpwi r0, 0 -/* 8035BF98 00358EF8 40 81 01 30 */ ble lbl_8035C0C8 -/* 8035BF9C 00358EFC 80 1F 00 E0 */ lwz r0, 0xe0(r31) -/* 8035BFA0 00358F00 2C 00 00 01 */ cmpwi r0, 1 -/* 8035BFA4 00358F04 40 82 01 24 */ bne lbl_8035C0C8 -/* 8035BFA8 00358F08 C0 1F 00 E8 */ lfs f0, 0xe8(r31) -/* 8035BFAC 00358F0C EC 00 E8 2A */ fadds f0, f0, f29 -/* 8035BFB0 00358F10 D0 1F 00 E8 */ stfs f0, 0xe8(r31) -/* 8035BFB4 00358F14 88 1F 00 F4 */ lbz r0, 0xf4(r31) -/* 8035BFB8 00358F18 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8035BFBC 00358F1C 41 82 00 1C */ beq lbl_8035BFD8 -/* 8035BFC0 00358F20 C0 3F 00 E8 */ lfs f1, 0xe8(r31) -/* 8035BFC4 00358F24 C0 5F 00 E4 */ lfs f2, 0xe4(r31) -/* 8035BFC8 00358F28 48 03 8C E5 */ bl fmod -/* 8035BFCC 00358F2C FC 00 08 18 */ frsp f0, f1 -/* 8035BFD0 00358F30 D0 1F 00 E8 */ stfs f0, 0xe8(r31) -/* 8035BFD4 00358F34 48 00 00 28 */ b lbl_8035BFFC -lbl_8035BFD8: -/* 8035BFD8 00358F38 C0 3F 00 E4 */ lfs f1, 0xe4(r31) -/* 8035BFDC 00358F3C C0 1F 00 E8 */ lfs f0, 0xe8(r31) -/* 8035BFE0 00358F40 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8035BFE4 00358F44 40 80 00 0C */ bge lbl_8035BFF0 -/* 8035BFE8 00358F48 38 7F 00 E4 */ addi r3, r31, 0xe4 -/* 8035BFEC 00358F4C 48 00 00 08 */ b lbl_8035BFF4 -lbl_8035BFF0: -/* 8035BFF0 00358F50 38 7F 00 E8 */ addi r3, r31, 0xe8 -lbl_8035BFF4: -/* 8035BFF4 00358F54 C0 03 00 00 */ lfs f0, 0(r3) -/* 8035BFF8 00358F58 D0 1F 00 E8 */ stfs f0, 0xe8(r31) -lbl_8035BFFC: -/* 8035BFFC 00358F5C C0 22 CD 28 */ lfs f1, lbl_805AEA48@sda21(r2) -/* 8035C000 00358F60 C0 1F 00 38 */ lfs f0, 0x38(r31) -/* 8035C004 00358F64 C0 5F 00 DC */ lfs f2, 0xdc(r31) -/* 8035C008 00358F68 EF C1 00 24 */ fdivs f30, f1, f0 -/* 8035C00C 00358F6C C0 02 CD 24 */ lfs f0, lbl_805AEA44@sda21(r2) -/* 8035C010 00358F70 EF E2 E8 28 */ fsubs f31, f2, f29 -/* 8035C014 00358F74 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 8035C018 00358F78 4C 40 13 82 */ cror 2, 0, 2 -/* 8035C01C 00358F7C 40 82 00 A8 */ bne lbl_8035C0C4 -/* 8035C020 00358F80 88 7F 00 F4 */ lbz r3, 0xf4(r31) -/* 8035C024 00358F84 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f -/* 8035C028 00358F88 40 82 00 8C */ bne lbl_8035C0B4 -/* 8035C02C 00358F8C 80 7F 00 D0 */ lwz r3, 0xd0(r31) -/* 8035C030 00358F90 38 63 00 01 */ addi r3, r3, 1 -/* 8035C034 00358F94 90 7F 00 D0 */ stw r3, 0xd0(r31) -/* 8035C038 00358F98 80 1F 00 84 */ lwz r0, 0x84(r31) -/* 8035C03C 00358F9C 7C 03 00 00 */ cmpw r3, r0 -/* 8035C040 00358FA0 41 80 00 0C */ blt lbl_8035C04C -/* 8035C044 00358FA4 38 00 00 00 */ li r0, 0 -/* 8035C048 00358FA8 90 1F 00 D0 */ stw r0, 0xd0(r31) -lbl_8035C04C: -/* 8035C04C 00358FAC 48 02 56 15 */ bl OSDisableInterrupts -/* 8035C050 00358FB0 80 1F 00 D4 */ lwz r0, 0xd4(r31) -/* 8035C054 00358FB4 2C 00 FF FF */ cmpwi r0, -1 -/* 8035C058 00358FB8 40 82 00 0C */ bne lbl_8035C064 -/* 8035C05C 00358FBC 38 00 00 00 */ li r0, 0 -/* 8035C060 00358FC0 90 1F 00 D4 */ stw r0, 0xd4(r31) -lbl_8035C064: -/* 8035C064 00358FC4 48 02 56 25 */ bl OSRestoreInterrupts -/* 8035C068 00358FC8 80 7F 00 D8 */ lwz r3, 0xd8(r31) -/* 8035C06C 00358FCC 38 03 FF FF */ addi r0, r3, -1 -/* 8035C070 00358FD0 90 1F 00 D8 */ stw r0, 0xd8(r31) -/* 8035C074 00358FD4 80 7F 00 C8 */ lwz r3, 0xc8(r31) -/* 8035C078 00358FD8 38 03 00 01 */ addi r0, r3, 1 -/* 8035C07C 00358FDC 90 1F 00 C8 */ stw r0, 0xc8(r31) -/* 8035C080 00358FE0 80 7F 00 C8 */ lwz r3, 0xc8(r31) -/* 8035C084 00358FE4 80 1F 00 3C */ lwz r0, 0x3c(r31) -/* 8035C088 00358FE8 7C 03 00 40 */ cmplw r3, r0 -/* 8035C08C 00358FEC 40 82 00 18 */ bne lbl_8035C0A4 -/* 8035C090 00358FF0 88 1F 00 F4 */ lbz r0, 0xf4(r31) -/* 8035C094 00358FF4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8035C098 00358FF8 41 82 00 0C */ beq lbl_8035C0A4 -/* 8035C09C 00358FFC 38 00 00 00 */ li r0, 0 -/* 8035C0A0 00359000 90 1F 00 C8 */ stw r0, 0xc8(r31) -lbl_8035C0A4: -/* 8035C0A4 00359004 38 00 00 00 */ li r0, 0 -/* 8035C0A8 00359008 EF FF F0 2A */ fadds f31, f31, f30 -/* 8035C0AC 0035900C 90 1F 00 FC */ stw r0, 0xfc(r31) -/* 8035C0B0 00359010 48 00 00 14 */ b lbl_8035C0C4 -lbl_8035C0B4: -/* 8035C0B4 00359014 38 00 00 00 */ li r0, 0 -/* 8035C0B8 00359018 EF FF E8 2A */ fadds f31, f31, f29 -/* 8035C0BC 0035901C 50 03 26 F6 */ rlwimi r3, r0, 4, 0x1b, 0x1b -/* 8035C0C0 00359020 98 7F 00 F4 */ stb r3, 0xf4(r31) -lbl_8035C0C4: -/* 8035C0C4 00359024 D3 FF 00 DC */ stfs f31, 0xdc(r31) -lbl_8035C0C8: -/* 8035C0C8 00359028 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 -/* 8035C0CC 0035902C CB E1 00 40 */ lfd f31, 0x40(r1) -/* 8035C0D0 00359030 E3 C1 00 38 */ psq_l f30, 56(r1), 0, qr0 -/* 8035C0D4 00359034 CB C1 00 30 */ lfd f30, 0x30(r1) -/* 8035C0D8 00359038 E3 A1 00 28 */ psq_l f29, 40(r1), 0, qr0 -/* 8035C0DC 0035903C CB A1 00 20 */ lfd f29, 0x20(r1) -/* 8035C0E0 00359040 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8035C0E4 00359044 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8035C0E8 00359048 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8035C0EC 0035904C 7C 08 03 A6 */ mtlr r0 -/* 8035C0F0 00359050 38 21 00 50 */ addi r1, r1, 0x50 -/* 8035C0F4 00359054 4E 80 00 20 */ blr - -.global DecodeFromRead__12CMoviePlayerFPCv -DecodeFromRead__12CMoviePlayerFPCv: -/* 8035C0F8 00359058 94 21 EF B0 */ stwu r1, -0x1050(r1) -/* 8035C0FC 0035905C 7C 08 02 A6 */ mflr r0 -/* 8035C100 00359060 90 01 10 54 */ stw r0, 0x1054(r1) -/* 8035C104 00359064 38 A1 00 27 */ addi r5, r1, 0x27 -/* 8035C108 00359068 BF 01 10 30 */ stmw r24, 0x1030(r1) -/* 8035C10C 0035906C 7C 7F 1B 78 */ mr r31, r3 -/* 8035C110 00359070 7C 98 23 78 */ mr r24, r4 -/* 8035C114 00359074 54 BC 00 34 */ rlwinm r28, r5, 0, 0, 0x1a -/* 8035C118 00359078 80 03 00 84 */ lwz r0, 0x84(r3) -/* 8035C11C 0035907C 2C 00 00 00 */ cmpwi r0, 0 -/* 8035C120 00359080 40 82 00 08 */ bne lbl_8035C128 -/* 8035C124 00359084 48 00 03 81 */ bl InitializeTextures__12CMoviePlayerFv -lbl_8035C128: -/* 8035C128 00359088 80 9F 00 CC */ lwz r4, 0xcc(r31) -/* 8035C12C 0035908C 38 00 00 00 */ li r0, 0 -/* 8035C130 00359090 80 7F 00 58 */ lwz r3, 0x58(r31) -/* 8035C134 00359094 3B 78 00 08 */ addi r27, r24, 8 -/* 8035C138 00359098 1C 84 00 28 */ mulli r4, r4, 0x28 -/* 8035C13C 0035909C 80 BF 00 8C */ lwz r5, 0x8c(r31) -/* 8035C140 003590A0 54 63 10 3A */ slwi r3, r3, 2 -/* 8035C144 003590A4 3B 20 00 00 */ li r25, 0 -/* 8035C148 003590A8 7F A5 22 14 */ add r29, r5, r4 -/* 8035C14C 003590AC 3B 43 00 08 */ addi r26, r3, 8 -/* 8035C150 003590B0 90 1D 00 24 */ stw r0, 0x24(r29) -/* 8035C154 003590B4 7F 58 D2 14 */ add r26, r24, r26 -/* 8035C158 003590B8 3B 00 00 00 */ li r24, 0 -/* 8035C15C 003590BC 90 1D 00 20 */ stw r0, 0x20(r29) -/* 8035C160 003590C0 48 00 00 74 */ b lbl_8035C1D4 -lbl_8035C164: -/* 8035C164 003590C4 38 18 00 5C */ addi r0, r24, 0x5c -/* 8035C168 003590C8 7C 1F 00 AE */ lbzx r0, r31, r0 -/* 8035C16C 003590CC 28 00 00 00 */ cmplwi r0, 0 -/* 8035C170 003590D0 40 82 00 20 */ bne lbl_8035C190 -/* 8035C174 003590D4 80 9D 00 04 */ lwz r4, 4(r29) -/* 8035C178 003590D8 7F 43 D3 78 */ mr r3, r26 -/* 8035C17C 003590DC 80 BD 00 0C */ lwz r5, 0xc(r29) -/* 8035C180 003590E0 7F 87 E3 78 */ mr r7, r28 -/* 8035C184 003590E4 80 DD 00 14 */ lwz r6, 0x14(r29) -/* 8035C188 003590E8 48 06 59 D9 */ bl THPVideoDecode -/* 8035C18C 003590EC 48 00 00 34 */ b lbl_8035C1C0 -lbl_8035C190: -/* 8035C190 003590F0 28 00 00 01 */ cmplwi r0, 1 -/* 8035C194 003590F4 40 82 00 2C */ bne lbl_8035C1C0 -/* 8035C198 003590F8 80 7D 00 1C */ lwz r3, 0x1c(r29) -/* 8035C19C 003590FC 7F 44 D3 78 */ mr r4, r26 -/* 8035C1A0 00359100 38 A0 00 00 */ li r5, 0 -/* 8035C1A4 00359104 48 06 CF 25 */ bl THPAudioDecode -/* 8035C1A8 00359108 7C 7E 1B 78 */ mr r30, r3 -/* 8035C1AC 0035910C 48 02 54 B5 */ bl OSDisableInterrupts -/* 8035C1B0 00359110 93 DD 00 20 */ stw r30, 0x20(r29) -/* 8035C1B4 00359114 38 00 00 00 */ li r0, 0 -/* 8035C1B8 00359118 90 1D 00 24 */ stw r0, 0x24(r29) -/* 8035C1BC 0035911C 48 02 54 CD */ bl OSRestoreInterrupts -lbl_8035C1C0: -/* 8035C1C0 00359120 80 1B 00 00 */ lwz r0, 0(r27) -/* 8035C1C4 00359124 3B 7B 00 04 */ addi r27, r27, 4 -/* 8035C1C8 00359128 3B 18 00 01 */ addi r24, r24, 1 -/* 8035C1CC 0035912C 7F 39 02 14 */ add r25, r25, r0 -/* 8035C1D0 00359130 7F 5A 02 14 */ add r26, r26, r0 -lbl_8035C1D4: -/* 8035C1D4 00359134 80 1F 00 58 */ lwz r0, 0x58(r31) -/* 8035C1D8 00359138 7C 18 00 40 */ cmplw r24, r0 -/* 8035C1DC 0035913C 41 80 FF 88 */ blt lbl_8035C164 -/* 8035C1E0 00359140 80 7F 00 CC */ lwz r3, 0xcc(r31) -/* 8035C1E4 00359144 38 63 00 01 */ addi r3, r3, 1 -/* 8035C1E8 00359148 90 7F 00 CC */ stw r3, 0xcc(r31) -/* 8035C1EC 0035914C 80 1F 00 84 */ lwz r0, 0x84(r31) -/* 8035C1F0 00359150 7C 03 00 00 */ cmpw r3, r0 -/* 8035C1F4 00359154 40 82 00 0C */ bne lbl_8035C200 -/* 8035C1F8 00359158 38 00 00 00 */ li r0, 0 -/* 8035C1FC 0035915C 90 1F 00 CC */ stw r0, 0xcc(r31) -lbl_8035C200: -/* 8035C200 00359160 BB 01 10 30 */ lmw r24, 0x1030(r1) -/* 8035C204 00359164 80 01 10 54 */ lwz r0, 0x1054(r1) -/* 8035C208 00359168 7C 08 03 A6 */ mtlr r0 -/* 8035C20C 0035916C 38 21 10 50 */ addi r1, r1, 0x1050 -/* 8035C210 00359170 4E 80 00 20 */ blr - -.global ReadCompleted__12CMoviePlayerFv -ReadCompleted__12CMoviePlayerFv: -/* 8035C214 00359174 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8035C218 00359178 7C 08 02 A6 */ mflr r0 -/* 8035C21C 0035917C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8035C220 00359180 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8035C224 00359184 7C 7F 1B 78 */ mr r31, r3 -/* 8035C228 00359188 80 63 00 98 */ lwz r3, 0x98(r3) -/* 8035C22C 0035918C 28 03 00 00 */ cmplwi r3, 0 -/* 8035C230 00359190 41 82 00 18 */ beq lbl_8035C248 -/* 8035C234 00359194 81 83 00 00 */ lwz r12, 0(r3) -/* 8035C238 00359198 38 80 00 01 */ li r4, 1 -/* 8035C23C 0035919C 81 8C 00 08 */ lwz r12, 8(r12) -/* 8035C240 003591A0 7D 89 03 A6 */ mtctr r12 -/* 8035C244 003591A4 4E 80 04 21 */ bctrl -lbl_8035C248: -/* 8035C248 003591A8 38 00 00 00 */ li r0, 0 -/* 8035C24C 003591AC 90 1F 00 98 */ stw r0, 0x98(r31) -/* 8035C250 003591B0 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 8035C254 003591B4 80 9F 00 A0 */ lwz r4, 0xa0(r31) -/* 8035C258 003591B8 7C 03 20 00 */ cmpw r3, r4 -/* 8035C25C 003591BC 40 82 00 7C */ bne lbl_8035C2D8 -/* 8035C260 003591C0 80 1F 00 F0 */ lwz r0, 0xf0(r31) -/* 8035C264 003591C4 7C 00 18 00 */ cmpw r0, r3 -/* 8035C268 003591C8 40 81 00 70 */ ble lbl_8035C2D8 -/* 8035C26C 003591CC 80 1F 00 A4 */ lwz r0, 0xa4(r31) -/* 8035C270 003591D0 7C 04 00 00 */ cmpw r4, r0 -/* 8035C274 003591D4 41 80 00 1C */ blt lbl_8035C290 -/* 8035C278 003591D8 2C 00 00 00 */ cmpwi r0, 0 -/* 8035C27C 003591DC 38 7F 00 9C */ addi r3, r31, 0x9c -/* 8035C280 003591E0 38 80 00 04 */ li r4, 4 -/* 8035C284 003591E4 41 82 00 08 */ beq lbl_8035C28C -/* 8035C288 003591E8 54 04 08 3C */ slwi r4, r0, 1 -lbl_8035C28C: -/* 8035C28C 003591EC 48 00 17 7D */ bl "reserve__Q24rstl56vector,Q24rstl17rmemory_allocator>Fi" -lbl_8035C290: -/* 8035C290 003591F0 80 1F 00 A0 */ lwz r0, 0xa0(r31) -/* 8035C294 003591F4 80 7F 00 A8 */ lwz r3, 0xa8(r31) -/* 8035C298 003591F8 54 00 18 38 */ slwi r0, r0, 3 -/* 8035C29C 003591FC 7C 83 02 15 */ add. r4, r3, r0 -/* 8035C2A0 00359200 41 82 00 1C */ beq lbl_8035C2BC -/* 8035C2A4 00359204 88 7F 00 90 */ lbz r3, 0x90(r31) -/* 8035C2A8 00359208 38 00 00 00 */ li r0, 0 -/* 8035C2AC 0035920C 98 64 00 00 */ stb r3, 0(r4) -/* 8035C2B0 00359210 80 7F 00 94 */ lwz r3, 0x94(r31) -/* 8035C2B4 00359214 90 64 00 04 */ stw r3, 4(r4) -/* 8035C2B8 00359218 98 1F 00 90 */ stb r0, 0x90(r31) -lbl_8035C2BC: -/* 8035C2BC 0035921C 80 7F 00 A0 */ lwz r3, 0xa0(r31) -/* 8035C2C0 00359220 38 03 00 01 */ addi r0, r3, 1 -/* 8035C2C4 00359224 90 1F 00 A0 */ stw r0, 0xa0(r31) -/* 8035C2C8 00359228 80 7F 00 F8 */ lwz r3, 0xf8(r31) -/* 8035C2CC 0035922C 80 1F 00 B0 */ lwz r0, 0xb0(r31) -/* 8035C2D0 00359230 7C 03 02 14 */ add r0, r3, r0 -/* 8035C2D4 00359234 90 1F 00 F8 */ stw r0, 0xf8(r31) -lbl_8035C2D8: -/* 8035C2D8 00359238 80 7F 00 B4 */ lwz r3, 0xb4(r31) -/* 8035C2DC 0035923C 80 1F 00 B0 */ lwz r0, 0xb0(r31) -/* 8035C2E0 00359240 7C 03 02 14 */ add r0, r3, r0 -/* 8035C2E4 00359244 90 1F 00 B4 */ stw r0, 0xb4(r31) -/* 8035C2E8 00359248 80 7F 00 94 */ lwz r3, 0x94(r31) -/* 8035C2EC 0035924C 80 03 00 00 */ lwz r0, 0(r3) -/* 8035C2F0 00359250 90 1F 00 B0 */ stw r0, 0xb0(r31) -/* 8035C2F4 00359254 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 8035C2F8 00359258 38 03 00 01 */ addi r0, r3, 1 -/* 8035C2FC 0035925C 90 1F 00 C0 */ stw r0, 0xc0(r31) -/* 8035C300 00359260 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 8035C304 00359264 80 1F 00 F0 */ lwz r0, 0xf0(r31) -/* 8035C308 00359268 7C 03 00 00 */ cmpw r3, r0 -/* 8035C30C 0035926C 40 82 00 34 */ bne lbl_8035C340 -/* 8035C310 00359270 80 1F 00 3C */ lwz r0, 0x3c(r31) -/* 8035C314 00359274 7C 03 00 40 */ cmplw r3, r0 -/* 8035C318 00359278 40 82 00 18 */ bne lbl_8035C330 -/* 8035C31C 0035927C 80 1F 00 40 */ lwz r0, 0x40(r31) -/* 8035C320 00359280 90 1F 00 B8 */ stw r0, 0xb8(r31) -/* 8035C324 00359284 80 1F 00 50 */ lwz r0, 0x50(r31) -/* 8035C328 00359288 90 1F 00 BC */ stw r0, 0xbc(r31) -/* 8035C32C 0035928C 48 00 00 14 */ b lbl_8035C340 -lbl_8035C330: -/* 8035C330 00359290 80 1F 00 B0 */ lwz r0, 0xb0(r31) -/* 8035C334 00359294 90 1F 00 B8 */ stw r0, 0xb8(r31) -/* 8035C338 00359298 80 1F 00 B4 */ lwz r0, 0xb4(r31) -/* 8035C33C 0035929C 90 1F 00 BC */ stw r0, 0xbc(r31) -lbl_8035C340: -/* 8035C340 003592A0 80 7F 00 C0 */ lwz r3, 0xc0(r31) -/* 8035C344 003592A4 80 1F 00 3C */ lwz r0, 0x3c(r31) -/* 8035C348 003592A8 7C 03 00 40 */ cmplw r3, r0 -/* 8035C34C 003592AC 41 80 00 28 */ blt lbl_8035C374 -/* 8035C350 003592B0 88 1F 00 F4 */ lbz r0, 0xf4(r31) -/* 8035C354 003592B4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8035C358 003592B8 41 82 00 1C */ beq lbl_8035C374 -/* 8035C35C 003592BC 80 1F 00 BC */ lwz r0, 0xbc(r31) -/* 8035C360 003592C0 90 1F 00 B4 */ stw r0, 0xb4(r31) -/* 8035C364 003592C4 80 1F 00 B8 */ lwz r0, 0xb8(r31) -/* 8035C368 003592C8 90 1F 00 B0 */ stw r0, 0xb0(r31) -/* 8035C36C 003592CC 80 1F 00 F0 */ lwz r0, 0xf0(r31) -/* 8035C370 003592D0 90 1F 00 C0 */ stw r0, 0xc0(r31) -lbl_8035C374: -/* 8035C374 003592D4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8035C378 003592D8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8035C37C 003592DC 7C 08 03 A6 */ mtlr r0 -/* 8035C380 003592E0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8035C384 003592E4 4E 80 00 20 */ blr - -.global PostDVDReadRequestIfNeeded__12CMoviePlayerFv -PostDVDReadRequestIfNeeded__12CMoviePlayerFv: -/* 8035C388 003592E8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8035C38C 003592EC 7C 08 02 A6 */ mflr r0 -/* 8035C390 003592F0 90 01 00 24 */ stw r0, 0x24(r1) -/* 8035C394 003592F4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8035C398 003592F8 7C 7F 1B 78 */ mr r31, r3 -/* 8035C39C 003592FC 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8035C3A0 00359300 80 63 00 C0 */ lwz r3, 0xc0(r3) -/* 8035C3A4 00359304 80 1F 00 3C */ lwz r0, 0x3c(r31) -/* 8035C3A8 00359308 7C 03 00 40 */ cmplw r3, r0 -/* 8035C3AC 0035930C 40 80 00 E0 */ bge lbl_8035C48C -/* 8035C3B0 00359310 3C 60 80 3E */ lis r3, lbl_803D83D8@ha -/* 8035C3B4 00359314 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha -/* 8035C3B8 00359318 38 A3 83 D8 */ addi r5, r3, lbl_803D83D8@l -/* 8035C3BC 0035931C 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l -/* 8035C3C0 00359320 38 61 00 10 */ addi r3, r1, 0x10 -/* 8035C3C4 00359324 38 80 FF FF */ li r4, -1 -/* 8035C3C8 00359328 4B F7 A0 0D */ bl __ct__10CCallStackFUiPCcPCc -/* 8035C3CC 0035932C 7C 67 1B 78 */ mr r7, r3 -/* 8035C3D0 00359330 80 7F 00 B0 */ lwz r3, 0xb0(r31) -/* 8035C3D4 00359334 38 80 00 02 */ li r4, 2 -/* 8035C3D8 00359338 38 A0 00 01 */ li r5, 1 -/* 8035C3DC 0035933C 38 C0 00 00 */ li r6, 0 -/* 8035C3E0 00359340 4B FB 95 B5 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack -/* 8035C3E4 00359344 7C 03 00 D0 */ neg r0, r3 -/* 8035C3E8 00359348 38 81 00 08 */ addi r4, r1, 8 -/* 8035C3EC 0035934C 7C 05 1B 78 */ or r5, r0, r3 -/* 8035C3F0 00359350 38 1F 00 90 */ addi r0, r31, 0x90 -/* 8035C3F4 00359354 54 A5 0F FE */ srwi r5, r5, 0x1f -/* 8035C3F8 00359358 90 61 00 0C */ stw r3, 0xc(r1) -/* 8035C3FC 0035935C 7C 04 00 40 */ cmplw r4, r0 -/* 8035C400 00359360 98 A1 00 08 */ stb r5, 8(r1) -/* 8035C404 00359364 41 82 00 30 */ beq lbl_8035C434 -/* 8035C408 00359368 88 1F 00 90 */ lbz r0, 0x90(r31) -/* 8035C40C 0035936C 28 00 00 00 */ cmplwi r0, 0 -/* 8035C410 00359370 41 82 00 0C */ beq lbl_8035C41C -/* 8035C414 00359374 80 7F 00 94 */ lwz r3, 0x94(r31) -/* 8035C418 00359378 4B FB 95 19 */ bl Free__7CMemoryFPCv -lbl_8035C41C: -/* 8035C41C 0035937C 88 61 00 08 */ lbz r3, 8(r1) -/* 8035C420 00359380 38 00 00 00 */ li r0, 0 -/* 8035C424 00359384 98 7F 00 90 */ stb r3, 0x90(r31) -/* 8035C428 00359388 80 61 00 0C */ lwz r3, 0xc(r1) -/* 8035C42C 0035938C 90 7F 00 94 */ stw r3, 0x94(r31) -/* 8035C430 00359390 98 01 00 08 */ stb r0, 8(r1) -lbl_8035C434: -/* 8035C434 00359394 88 01 00 08 */ lbz r0, 8(r1) -/* 8035C438 00359398 28 00 00 00 */ cmplwi r0, 0 -/* 8035C43C 0035939C 41 82 00 0C */ beq lbl_8035C448 -/* 8035C440 003593A0 80 61 00 0C */ lwz r3, 0xc(r1) -/* 8035C444 003593A4 4B FB 94 ED */ bl Free__7CMemoryFPCv -lbl_8035C448: -/* 8035C448 003593A8 80 9F 00 94 */ lwz r4, 0x94(r31) -/* 8035C44C 003593AC 7F E3 FB 78 */ mr r3, r31 -/* 8035C450 003593B0 80 BF 00 B0 */ lwz r5, 0xb0(r31) -/* 8035C454 003593B4 38 C0 00 00 */ li r6, 0 -/* 8035C458 003593B8 80 FF 00 B4 */ lwz r7, 0xb4(r31) -/* 8035C45C 003593BC 4B FF 35 65 */ bl AsyncSeekRead__8CDvdFileFPvUi11ESeekOrigini -/* 8035C460 003593C0 80 1F 00 98 */ lwz r0, 0x98(r31) -/* 8035C464 003593C4 7C 7E 1B 78 */ mr r30, r3 -/* 8035C468 003593C8 28 00 00 00 */ cmplwi r0, 0 -/* 8035C46C 003593CC 41 82 00 1C */ beq lbl_8035C488 -/* 8035C470 003593D0 7C 03 03 78 */ mr r3, r0 -/* 8035C474 003593D4 38 80 00 01 */ li r4, 1 -/* 8035C478 003593D8 81 83 00 00 */ lwz r12, 0(r3) -/* 8035C47C 003593DC 81 8C 00 08 */ lwz r12, 8(r12) -/* 8035C480 003593E0 7D 89 03 A6 */ mtctr r12 -/* 8035C484 003593E4 4E 80 04 21 */ bctrl -lbl_8035C488: -/* 8035C488 003593E8 93 DF 00 98 */ stw r30, 0x98(r31) -lbl_8035C48C: -/* 8035C48C 003593EC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8035C490 003593F0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8035C494 003593F4 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8035C498 003593F8 7C 08 03 A6 */ mtlr r0 -/* 8035C49C 003593FC 38 21 00 20 */ addi r1, r1, 0x20 -/* 8035C4A0 00359400 4E 80 00 20 */ blr - -.global InitializeTextures__12CMoviePlayerFv -InitializeTextures__12CMoviePlayerFv: -/* 8035C4A4 00359404 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 8035C4A8 00359408 7C 08 02 A6 */ mflr r0 -/* 8035C4AC 0035940C 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 8035C4B0 00359410 BD C1 00 58 */ stmw r14, 0x58(r1) -/* 8035C4B4 00359414 7C 7B 1B 78 */ mr r27, r3 -/* 8035C4B8 00359418 3C 60 80 3E */ lis r3, lbl_803D83D8@ha -/* 8035C4BC 0035941C 39 C1 00 30 */ addi r14, r1, 0x30 -/* 8035C4C0 00359420 3B 03 83 D8 */ addi r24, r3, lbl_803D83D8@l -/* 8035C4C4 00359424 39 E1 00 38 */ addi r15, r1, 0x38 -/* 8035C4C8 00359428 3C 60 80 3D */ lis r3, lbl_803D6AA8@ha -/* 8035C4CC 0035942C 3A 01 00 40 */ addi r16, r1, 0x40 -/* 8035C4D0 00359430 3B 23 6A A8 */ addi r25, r3, lbl_803D6AA8@l -/* 8035C4D4 00359434 7F 1A C3 78 */ mr r26, r24 -/* 8035C4D8 00359438 7F 37 CB 78 */ mr r23, r25 -/* 8035C4DC 0035943C 7F 15 C3 78 */ mr r21, r24 -/* 8035C4E0 00359440 7F 33 CB 78 */ mr r19, r25 -/* 8035C4E4 00359444 3B 80 00 00 */ li r28, 0 -/* 8035C4E8 00359448 80 BB 00 6C */ lwz r5, 0x6c(r27) -/* 8035C4EC 0035944C 80 9B 00 70 */ lwz r4, 0x70(r27) -/* 8035C4F0 00359450 80 1B 00 34 */ lwz r0, 0x34(r27) -/* 8035C4F4 00359454 7C 65 21 D6 */ mullw r3, r5, r4 -/* 8035C4F8 00359458 54 1D 10 3A */ slwi r29, r0, 2 -/* 8035C4FC 0035945C 38 83 00 1F */ addi r4, r3, 0x1f -/* 8035C500 00359460 54 63 F0 BE */ srwi r3, r3, 2 -/* 8035C504 00359464 54 84 00 34 */ rlwinm r4, r4, 0, 0, 0x1a -/* 8035C508 00359468 38 63 00 1F */ addi r3, r3, 0x1f -/* 8035C50C 0035946C 7C 9F 23 78 */ mr r31, r4 -/* 8035C510 00359470 54 7E 00 34 */ rlwinm r30, r3, 0, 0, 0x1a -/* 8035C514 00359474 48 00 02 6C */ b lbl_8035C780 -lbl_8035C518: -/* 8035C518 00359478 7F 05 C3 78 */ mr r5, r24 -/* 8035C51C 0035947C 7F 26 CB 78 */ mr r6, r25 -/* 8035C520 00359480 38 61 00 20 */ addi r3, r1, 0x20 -/* 8035C524 00359484 38 80 FF FF */ li r4, -1 -/* 8035C528 00359488 4B F7 9E AD */ bl __ct__10CCallStackFUiPCcPCc -/* 8035C52C 0035948C 7C 67 1B 78 */ mr r7, r3 -/* 8035C530 00359490 7F E3 FB 78 */ mr r3, r31 -/* 8035C534 00359494 38 80 00 02 */ li r4, 2 -/* 8035C538 00359498 38 A0 00 01 */ li r5, 1 -/* 8035C53C 0035949C 38 C0 00 00 */ li r6, 0 -/* 8035C540 003594A0 4B FB 94 55 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack -/* 8035C544 003594A4 7C 76 1B 78 */ mr r22, r3 -/* 8035C548 003594A8 7F 05 C3 78 */ mr r5, r24 -/* 8035C54C 003594AC 7F 26 CB 78 */ mr r6, r25 -/* 8035C550 003594B0 38 61 00 18 */ addi r3, r1, 0x18 -/* 8035C554 003594B4 38 80 FF FF */ li r4, -1 -/* 8035C558 003594B8 4B F7 9E 7D */ bl __ct__10CCallStackFUiPCcPCc -/* 8035C55C 003594BC 7C 67 1B 78 */ mr r7, r3 -/* 8035C560 003594C0 7F C3 F3 78 */ mr r3, r30 -/* 8035C564 003594C4 38 80 00 02 */ li r4, 2 -/* 8035C568 003594C8 38 A0 00 01 */ li r5, 1 -/* 8035C56C 003594CC 38 C0 00 00 */ li r6, 0 -/* 8035C570 003594D0 4B FB 94 25 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack -/* 8035C574 003594D4 7C 74 1B 78 */ mr r20, r3 -/* 8035C578 003594D8 7F 45 D3 78 */ mr r5, r26 -/* 8035C57C 003594DC 7E E6 BB 78 */ mr r6, r23 -/* 8035C580 003594E0 38 61 00 10 */ addi r3, r1, 0x10 -/* 8035C584 003594E4 38 80 FF FF */ li r4, -1 -/* 8035C588 003594E8 4B F7 9E 4D */ bl __ct__10CCallStackFUiPCcPCc -/* 8035C58C 003594EC 7C 67 1B 78 */ mr r7, r3 -/* 8035C590 003594F0 7F C3 F3 78 */ mr r3, r30 -/* 8035C594 003594F4 38 80 00 02 */ li r4, 2 -/* 8035C598 003594F8 38 A0 00 01 */ li r5, 1 -/* 8035C59C 003594FC 38 C0 00 00 */ li r6, 0 -/* 8035C5A0 00359500 4B FB 93 F5 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack -/* 8035C5A4 00359504 7C 72 1B 78 */ mr r18, r3 -/* 8035C5A8 00359508 7E A5 AB 78 */ mr r5, r21 -/* 8035C5AC 0035950C 7E 66 9B 78 */ mr r6, r19 -/* 8035C5B0 00359510 38 61 00 08 */ addi r3, r1, 8 -/* 8035C5B4 00359514 38 80 FF FF */ li r4, -1 -/* 8035C5B8 00359518 4B F7 9E 1D */ bl __ct__10CCallStackFUiPCcPCc -/* 8035C5BC 0035951C 7C 67 1B 78 */ mr r7, r3 -/* 8035C5C0 00359520 7F A3 EB 78 */ mr r3, r29 -/* 8035C5C4 00359524 38 80 00 02 */ li r4, 2 -/* 8035C5C8 00359528 38 A0 00 01 */ li r5, 1 -/* 8035C5CC 0035952C 38 C0 00 00 */ li r6, 0 -/* 8035C5D0 00359530 4B FB 93 C5 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack -/* 8035C5D4 00359534 7C 60 1B 78 */ mr r0, r3 -/* 8035C5D8 00359538 7E C3 B3 78 */ mr r3, r22 -/* 8035C5DC 0035953C 7C 11 03 78 */ mr r17, r0 -/* 8035C5E0 00359540 7F E4 FB 78 */ mr r4, r31 -/* 8035C5E4 00359544 48 02 25 2D */ bl DCFlushRangeNoSync -/* 8035C5E8 00359548 7E 83 A3 78 */ mr r3, r20 -/* 8035C5EC 0035954C 7F C4 F3 78 */ mr r4, r30 -/* 8035C5F0 00359550 48 02 25 21 */ bl DCFlushRangeNoSync -/* 8035C5F4 00359554 7E 43 93 78 */ mr r3, r18 -/* 8035C5F8 00359558 7F C4 F3 78 */ mr r4, r30 -/* 8035C5FC 0035955C 48 02 25 15 */ bl DCFlushRangeNoSync -/* 8035C600 00359560 7E 23 8B 78 */ mr r3, r17 -/* 8035C604 00359564 7F A4 EB 78 */ mr r4, r29 -/* 8035C608 00359568 48 02 25 09 */ bl DCFlushRangeNoSync -/* 8035C60C 0035956C 7C D6 00 D0 */ neg r6, r22 -/* 8035C610 00359570 7C B4 00 D0 */ neg r5, r20 -/* 8035C614 00359574 7C 92 00 D0 */ neg r4, r18 -/* 8035C618 00359578 7C 71 00 D0 */ neg r3, r17 -/* 8035C61C 0035957C 38 00 00 00 */ li r0, 0 -/* 8035C620 00359580 7C C6 B3 78 */ or r6, r6, r22 -/* 8035C624 00359584 7C A5 A3 78 */ or r5, r5, r20 -/* 8035C628 00359588 7C 84 93 78 */ or r4, r4, r18 -/* 8035C62C 0035958C 7C 63 8B 78 */ or r3, r3, r17 -/* 8035C630 00359590 54 C6 0F FE */ srwi r6, r6, 0x1f -/* 8035C634 00359594 54 A5 0F FE */ srwi r5, r5, 0x1f -/* 8035C638 00359598 54 84 0F FE */ srwi r4, r4, 0x1f -/* 8035C63C 0035959C 54 63 0F FE */ srwi r3, r3, 0x1f -/* 8035C640 003595A0 98 C1 00 28 */ stb r6, 0x28(r1) -/* 8035C644 003595A4 92 C1 00 2C */ stw r22, 0x2c(r1) -/* 8035C648 003595A8 98 A1 00 30 */ stb r5, 0x30(r1) -/* 8035C64C 003595AC 92 81 00 34 */ stw r20, 0x34(r1) -/* 8035C650 003595B0 98 81 00 38 */ stb r4, 0x38(r1) -/* 8035C654 003595B4 92 41 00 3C */ stw r18, 0x3c(r1) -/* 8035C658 003595B8 98 61 00 40 */ stb r3, 0x40(r1) -/* 8035C65C 003595BC 92 21 00 44 */ stw r17, 0x44(r1) -/* 8035C660 003595C0 90 01 00 48 */ stw r0, 0x48(r1) -/* 8035C664 003595C4 90 01 00 4C */ stw r0, 0x4c(r1) -/* 8035C668 003595C8 80 1B 00 84 */ lwz r0, 0x84(r27) -/* 8035C66C 003595CC 80 BB 00 88 */ lwz r5, 0x88(r27) -/* 8035C670 003595D0 7C 00 28 00 */ cmpw r0, r5 -/* 8035C674 003595D4 41 80 00 1C */ blt lbl_8035C690 -/* 8035C678 003595D8 2C 05 00 00 */ cmpwi r5, 0 -/* 8035C67C 003595DC 38 7B 00 80 */ addi r3, r27, 0x80 -/* 8035C680 003595E0 38 80 00 04 */ li r4, 4 -/* 8035C684 003595E4 41 82 00 08 */ beq lbl_8035C68C -/* 8035C688 003595E8 54 A4 08 3C */ slwi r4, r5, 1 -lbl_8035C68C: -/* 8035C68C 003595EC 48 00 11 A9 */ bl "reserve__Q24rstl67vectorFi" -lbl_8035C690: -/* 8035C690 003595F0 80 1B 00 84 */ lwz r0, 0x84(r27) -/* 8035C694 003595F4 80 7B 00 8C */ lwz r3, 0x8c(r27) -/* 8035C698 003595F8 1C 00 00 28 */ mulli r0, r0, 0x28 -/* 8035C69C 003595FC 7C 63 02 15 */ add. r3, r3, r0 -/* 8035C6A0 00359600 41 82 00 68 */ beq lbl_8035C708 -/* 8035C6A4 00359604 88 01 00 28 */ lbz r0, 0x28(r1) -/* 8035C6A8 00359608 38 80 00 00 */ li r4, 0 -/* 8035C6AC 0035960C 98 03 00 00 */ stb r0, 0(r3) -/* 8035C6B0 00359610 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 8035C6B4 00359614 90 03 00 04 */ stw r0, 4(r3) -/* 8035C6B8 00359618 98 81 00 28 */ stb r4, 0x28(r1) -/* 8035C6BC 0035961C 88 01 00 30 */ lbz r0, 0x30(r1) -/* 8035C6C0 00359620 98 03 00 08 */ stb r0, 8(r3) -/* 8035C6C4 00359624 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8035C6C8 00359628 90 03 00 0C */ stw r0, 0xc(r3) -/* 8035C6CC 0035962C 98 81 00 30 */ stb r4, 0x30(r1) -/* 8035C6D0 00359630 88 01 00 38 */ lbz r0, 0x38(r1) -/* 8035C6D4 00359634 98 03 00 10 */ stb r0, 0x10(r3) -/* 8035C6D8 00359638 80 01 00 3C */ lwz r0, 0x3c(r1) -/* 8035C6DC 0035963C 90 03 00 14 */ stw r0, 0x14(r3) -/* 8035C6E0 00359640 98 81 00 38 */ stb r4, 0x38(r1) -/* 8035C6E4 00359644 88 01 00 40 */ lbz r0, 0x40(r1) -/* 8035C6E8 00359648 98 03 00 18 */ stb r0, 0x18(r3) -/* 8035C6EC 0035964C 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8035C6F0 00359650 90 03 00 1C */ stw r0, 0x1c(r3) -/* 8035C6F4 00359654 98 81 00 40 */ stb r4, 0x40(r1) -/* 8035C6F8 00359658 80 01 00 48 */ lwz r0, 0x48(r1) -/* 8035C6FC 0035965C 90 03 00 20 */ stw r0, 0x20(r3) -/* 8035C700 00359660 80 01 00 4C */ lwz r0, 0x4c(r1) -/* 8035C704 00359664 90 03 00 24 */ stw r0, 0x24(r3) -lbl_8035C708: -/* 8035C708 00359668 80 7B 00 84 */ lwz r3, 0x84(r27) -/* 8035C70C 0035966C 28 10 00 00 */ cmplwi r16, 0 -/* 8035C710 00359670 38 03 00 01 */ addi r0, r3, 1 -/* 8035C714 00359674 90 1B 00 84 */ stw r0, 0x84(r27) -/* 8035C718 00359678 41 82 00 18 */ beq lbl_8035C730 -/* 8035C71C 0035967C 88 01 00 40 */ lbz r0, 0x40(r1) -/* 8035C720 00359680 28 00 00 00 */ cmplwi r0, 0 -/* 8035C724 00359684 41 82 00 0C */ beq lbl_8035C730 -/* 8035C728 00359688 80 61 00 44 */ lwz r3, 0x44(r1) -/* 8035C72C 0035968C 4B FB 92 05 */ bl Free__7CMemoryFPCv -lbl_8035C730: -/* 8035C730 00359690 28 0F 00 00 */ cmplwi r15, 0 -/* 8035C734 00359694 41 82 00 18 */ beq lbl_8035C74C -/* 8035C738 00359698 88 01 00 38 */ lbz r0, 0x38(r1) -/* 8035C73C 0035969C 28 00 00 00 */ cmplwi r0, 0 -/* 8035C740 003596A0 41 82 00 0C */ beq lbl_8035C74C -/* 8035C744 003596A4 80 61 00 3C */ lwz r3, 0x3c(r1) -/* 8035C748 003596A8 4B FB 91 E9 */ bl Free__7CMemoryFPCv -lbl_8035C74C: -/* 8035C74C 003596AC 28 0E 00 00 */ cmplwi r14, 0 -/* 8035C750 003596B0 41 82 00 18 */ beq lbl_8035C768 -/* 8035C754 003596B4 88 01 00 30 */ lbz r0, 0x30(r1) -/* 8035C758 003596B8 28 00 00 00 */ cmplwi r0, 0 -/* 8035C75C 003596BC 41 82 00 0C */ beq lbl_8035C768 -/* 8035C760 003596C0 80 61 00 34 */ lwz r3, 0x34(r1) -/* 8035C764 003596C4 4B FB 91 CD */ bl Free__7CMemoryFPCv -lbl_8035C768: -/* 8035C768 003596C8 88 01 00 28 */ lbz r0, 0x28(r1) -/* 8035C76C 003596CC 28 00 00 00 */ cmplwi r0, 0 -/* 8035C770 003596D0 41 82 00 0C */ beq lbl_8035C77C -/* 8035C774 003596D4 80 61 00 2C */ lwz r3, 0x2c(r1) -/* 8035C778 003596D8 4B FB 91 B9 */ bl Free__7CMemoryFPCv -lbl_8035C77C: -/* 8035C77C 003596DC 3B 9C 00 01 */ addi r28, r28, 1 -lbl_8035C780: -/* 8035C780 003596E0 80 1B 00 88 */ lwz r0, 0x88(r27) -/* 8035C784 003596E4 7C 1C 00 00 */ cmpw r28, r0 -/* 8035C788 003596E8 41 80 FD 90 */ blt lbl_8035C518 -/* 8035C78C 003596EC 48 01 30 81 */ bl PPCSync -/* 8035C790 003596F0 38 60 00 00 */ li r3, 0 -/* 8035C794 003596F4 38 00 FF FF */ li r0, -1 -/* 8035C798 003596F8 90 7B 00 CC */ stw r3, 0xcc(r27) -/* 8035C79C 003596FC 90 1B 00 D0 */ stw r0, 0xd0(r27) -/* 8035C7A0 00359700 90 1B 00 D4 */ stw r0, 0xd4(r27) -/* 8035C7A4 00359704 B9 C1 00 58 */ lmw r14, 0x58(r1) -/* 8035C7A8 00359708 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 8035C7AC 0035970C 7C 08 03 A6 */ mtlr r0 -/* 8035C7B0 00359710 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 8035C7B4 00359714 4E 80 00 20 */ blr - -.global __dt__12CMoviePlayerFv -__dt__12CMoviePlayerFv: -/* 8035C7B8 00359718 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8035C7BC 0035971C 7C 08 02 A6 */ mflr r0 -/* 8035C7C0 00359720 90 01 00 24 */ stw r0, 0x24(r1) -/* 8035C7C4 00359724 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8035C7C8 00359728 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8035C7CC 0035972C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8035C7D0 00359730 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8035C7D4 00359734 7C 9D 23 78 */ mr r29, r4 -/* 8035C7D8 00359738 41 82 01 44 */ beq lbl_8035C91C -/* 8035C7DC 0035973C 80 6D AA A0 */ lwz r3, lbl_805A9660@sda21(r13) -/* 8035C7E0 00359740 38 03 FF FF */ addi r0, r3, -1 -/* 8035C7E4 00359744 90 0D AA A0 */ stw r0, lbl_805A9660@sda21(r13) -/* 8035C7E8 00359748 4B FF EE 45 */ bl VerifyCallbackStatus__12CMoviePlayerFv -/* 8035C7EC 0035974C 80 0D AA A4 */ lwz r0, lbl_805A9664@sda21(r13) -/* 8035C7F0 00359750 7C 00 F8 40 */ cmplw r0, r31 -/* 8035C7F4 00359754 40 82 00 0C */ bne lbl_8035C800 -/* 8035C7F8 00359758 38 00 00 00 */ li r0, 0 -/* 8035C7FC 0035975C 90 0D AA A4 */ stw r0, lbl_805A9664@sda21(r13) -lbl_8035C800: -/* 8035C800 00359760 34 1F 00 AC */ addic. r0, r31, 0xac -/* 8035C804 00359764 41 82 00 A0 */ beq lbl_8035C8A4 -/* 8035C808 00359768 83 DF 00 AC */ lwz r30, 0xac(r31) -/* 8035C80C 0035976C 28 1E 00 00 */ cmplwi r30, 0 -/* 8035C810 00359770 41 82 00 94 */ beq lbl_8035C8A4 -/* 8035C814 00359774 34 1E 00 0C */ addic. r0, r30, 0xc -/* 8035C818 00359778 41 82 00 0C */ beq lbl_8035C824 -/* 8035C81C 0035977C 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 8035C820 00359780 4B FB 91 11 */ bl Free__7CMemoryFPCv -lbl_8035C824: -/* 8035C824 00359784 34 1E 00 08 */ addic. r0, r30, 8 -/* 8035C828 00359788 41 82 00 24 */ beq lbl_8035C84C -/* 8035C82C 0035978C 80 7E 00 08 */ lwz r3, 8(r30) -/* 8035C830 00359790 28 03 00 00 */ cmplwi r3, 0 -/* 8035C834 00359794 41 82 00 18 */ beq lbl_8035C84C -/* 8035C838 00359798 81 83 00 00 */ lwz r12, 0(r3) -/* 8035C83C 0035979C 38 80 00 01 */ li r4, 1 -/* 8035C840 003597A0 81 8C 00 08 */ lwz r12, 8(r12) -/* 8035C844 003597A4 7D 89 03 A6 */ mtctr r12 -/* 8035C848 003597A8 4E 80 04 21 */ bctrl -lbl_8035C84C: -/* 8035C84C 003597AC 34 1E 00 04 */ addic. r0, r30, 4 -/* 8035C850 003597B0 41 82 00 24 */ beq lbl_8035C874 -/* 8035C854 003597B4 80 7E 00 04 */ lwz r3, 4(r30) -/* 8035C858 003597B8 28 03 00 00 */ cmplwi r3, 0 -/* 8035C85C 003597BC 41 82 00 18 */ beq lbl_8035C874 -/* 8035C860 003597C0 81 83 00 00 */ lwz r12, 0(r3) -/* 8035C864 003597C4 38 80 00 01 */ li r4, 1 -/* 8035C868 003597C8 81 8C 00 08 */ lwz r12, 8(r12) -/* 8035C86C 003597CC 7D 89 03 A6 */ mtctr r12 -/* 8035C870 003597D0 4E 80 04 21 */ bctrl -lbl_8035C874: -/* 8035C874 003597D4 28 1E 00 00 */ cmplwi r30, 0 -/* 8035C878 003597D8 41 82 00 24 */ beq lbl_8035C89C -/* 8035C87C 003597DC 80 7E 00 00 */ lwz r3, 0(r30) -/* 8035C880 003597E0 28 03 00 00 */ cmplwi r3, 0 -/* 8035C884 003597E4 41 82 00 18 */ beq lbl_8035C89C -/* 8035C888 003597E8 81 83 00 00 */ lwz r12, 0(r3) -/* 8035C88C 003597EC 38 80 00 01 */ li r4, 1 -/* 8035C890 003597F0 81 8C 00 08 */ lwz r12, 8(r12) -/* 8035C894 003597F4 7D 89 03 A6 */ mtctr r12 -/* 8035C898 003597F8 4E 80 04 21 */ bctrl -lbl_8035C89C: -/* 8035C89C 003597FC 7F C3 F3 78 */ mr r3, r30 -/* 8035C8A0 00359800 4B FB 90 91 */ bl Free__7CMemoryFPCv -lbl_8035C8A4: -/* 8035C8A4 00359804 38 7F 00 9C */ addi r3, r31, 0x9c -/* 8035C8A8 00359808 38 80 FF FF */ li r4, -1 -/* 8035C8AC 0035980C 48 00 01 1D */ bl "__dt__Q24rstl56vector,Q24rstl17rmemory_allocator>Fv" -/* 8035C8B0 00359810 34 1F 00 98 */ addic. r0, r31, 0x98 -/* 8035C8B4 00359814 41 82 00 24 */ beq lbl_8035C8D8 -/* 8035C8B8 00359818 80 7F 00 98 */ lwz r3, 0x98(r31) -/* 8035C8BC 0035981C 28 03 00 00 */ cmplwi r3, 0 -/* 8035C8C0 00359820 41 82 00 18 */ beq lbl_8035C8D8 -/* 8035C8C4 00359824 81 83 00 00 */ lwz r12, 0(r3) -/* 8035C8C8 00359828 38 80 00 01 */ li r4, 1 -/* 8035C8CC 0035982C 81 8C 00 08 */ lwz r12, 8(r12) -/* 8035C8D0 00359830 7D 89 03 A6 */ mtctr r12 -/* 8035C8D4 00359834 4E 80 04 21 */ bctrl -lbl_8035C8D8: -/* 8035C8D8 00359838 34 1F 00 90 */ addic. r0, r31, 0x90 -/* 8035C8DC 0035983C 41 82 00 18 */ beq lbl_8035C8F4 -/* 8035C8E0 00359840 88 1F 00 90 */ lbz r0, 0x90(r31) -/* 8035C8E4 00359844 28 00 00 00 */ cmplwi r0, 0 -/* 8035C8E8 00359848 41 82 00 0C */ beq lbl_8035C8F4 -/* 8035C8EC 0035984C 80 7F 00 94 */ lwz r3, 0x94(r31) -/* 8035C8F0 00359850 4B FB 90 41 */ bl Free__7CMemoryFPCv -lbl_8035C8F4: -/* 8035C8F4 00359854 38 7F 00 80 */ addi r3, r31, 0x80 -/* 8035C8F8 00359858 38 80 FF FF */ li r4, -1 -/* 8035C8FC 0035985C 48 00 00 41 */ bl "__dt__Q24rstl67vectorFv" -/* 8035C900 00359860 7F E3 FB 78 */ mr r3, r31 -/* 8035C904 00359864 38 80 FF FF */ li r4, -1 -/* 8035C908 00359868 4B FF 33 09 */ bl __dt__8CDvdFileFv -/* 8035C90C 0035986C 7F A0 07 35 */ extsh. r0, r29 -/* 8035C910 00359870 40 81 00 0C */ ble lbl_8035C91C -/* 8035C914 00359874 7F E3 FB 78 */ mr r3, r31 -/* 8035C918 00359878 4B FB 90 19 */ bl Free__7CMemoryFPCv -lbl_8035C91C: -/* 8035C91C 0035987C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8035C920 00359880 7F E3 FB 78 */ mr r3, r31 -/* 8035C924 00359884 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8035C928 00359888 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8035C92C 0035988C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8035C930 00359890 7C 08 03 A6 */ mtlr r0 -/* 8035C934 00359894 38 21 00 20 */ addi r1, r1, 0x20 -/* 8035C938 00359898 4E 80 00 20 */ blr - -.global "__dt__Q24rstl67vectorFv" -"__dt__Q24rstl67vectorFv": -/* 8035C93C 0035989C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8035C940 003598A0 7C 08 02 A6 */ mflr r0 -/* 8035C944 003598A4 90 01 00 24 */ stw r0, 0x24(r1) -/* 8035C948 003598A8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8035C94C 003598AC 7C 9F 23 78 */ mr r31, r4 -/* 8035C950 003598B0 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8035C954 003598B4 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8035C958 003598B8 41 82 00 54 */ beq lbl_8035C9AC -/* 8035C95C 003598BC 80 1E 00 04 */ lwz r0, 4(r30) -/* 8035C960 003598C0 38 61 00 14 */ addi r3, r1, 0x14 -/* 8035C964 003598C4 80 BE 00 0C */ lwz r5, 0xc(r30) -/* 8035C968 003598C8 38 81 00 0C */ addi r4, r1, 0xc -/* 8035C96C 003598CC 1C 00 00 28 */ mulli r0, r0, 0x28 -/* 8035C970 003598D0 7C A5 02 14 */ add r5, r5, r0 -/* 8035C974 003598D4 90 A1 00 0C */ stw r5, 0xc(r1) -/* 8035C978 003598D8 80 1E 00 0C */ lwz r0, 0xc(r30) -/* 8035C97C 003598DC 90 A1 00 08 */ stw r5, 8(r1) -/* 8035C980 003598E0 90 01 00 10 */ stw r0, 0x10(r1) -/* 8035C984 003598E4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8035C988 003598E8 4B FF F1 3D */ bl "destroy,Q24rstl17rmemory_allocator>>__4rstlFQ24rstl154pointer_iterator,Q24rstl17rmemory_allocator>Q24rstl154pointer_iterator,Q24rstl17rmemory_allocator>" -/* 8035C98C 003598EC 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 8035C990 003598F0 28 03 00 00 */ cmplwi r3, 0 -/* 8035C994 003598F4 41 82 00 08 */ beq lbl_8035C99C -/* 8035C998 003598F8 4B FB 8F 99 */ bl Free__7CMemoryFPCv -lbl_8035C99C: -/* 8035C99C 003598FC 7F E0 07 35 */ extsh. r0, r31 -/* 8035C9A0 00359900 40 81 00 0C */ ble lbl_8035C9AC -/* 8035C9A4 00359904 7F C3 F3 78 */ mr r3, r30 -/* 8035C9A8 00359908 4B FB 8F 89 */ bl Free__7CMemoryFPCv -lbl_8035C9AC: -/* 8035C9AC 0035990C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8035C9B0 00359910 7F C3 F3 78 */ mr r3, r30 -/* 8035C9B4 00359914 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8035C9B8 00359918 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8035C9BC 0035991C 7C 08 03 A6 */ mtlr r0 -/* 8035C9C0 00359920 38 21 00 20 */ addi r1, r1, 0x20 -/* 8035C9C4 00359924 4E 80 00 20 */ blr - -.global "__dt__Q24rstl56vector,Q24rstl17rmemory_allocator>Fv" -"__dt__Q24rstl56vector,Q24rstl17rmemory_allocator>Fv": -/* 8035C9C8 00359928 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8035C9CC 0035992C 7C 08 02 A6 */ mflr r0 -/* 8035C9D0 00359930 90 01 00 34 */ stw r0, 0x34(r1) -/* 8035C9D4 00359934 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8035C9D8 00359938 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8035C9DC 0035993C 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8035C9E0 00359940 7C 9D 23 78 */ mr r29, r4 -/* 8035C9E4 00359944 93 81 00 20 */ stw r28, 0x20(r1) -/* 8035C9E8 00359948 7C 7C 1B 79 */ or. r28, r3, r3 -/* 8035C9EC 0035994C 41 82 00 70 */ beq lbl_8035CA5C -/* 8035C9F0 00359950 80 1C 00 04 */ lwz r0, 4(r28) -/* 8035C9F4 00359954 83 DC 00 0C */ lwz r30, 0xc(r28) -/* 8035C9F8 00359958 54 00 18 38 */ slwi r0, r0, 3 -/* 8035C9FC 0035995C 7F FE 02 14 */ add r31, r30, r0 -/* 8035CA00 00359960 93 C1 00 10 */ stw r30, 0x10(r1) -/* 8035CA04 00359964 93 E1 00 08 */ stw r31, 8(r1) -/* 8035CA08 00359968 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8035CA0C 0035996C 93 C1 00 14 */ stw r30, 0x14(r1) -/* 8035CA10 00359970 48 00 00 24 */ b lbl_8035CA34 -lbl_8035CA14: -/* 8035CA14 00359974 28 1E 00 00 */ cmplwi r30, 0 -/* 8035CA18 00359978 41 82 00 18 */ beq lbl_8035CA30 -/* 8035CA1C 0035997C 88 1E 00 00 */ lbz r0, 0(r30) -/* 8035CA20 00359980 28 00 00 00 */ cmplwi r0, 0 -/* 8035CA24 00359984 41 82 00 0C */ beq lbl_8035CA30 -/* 8035CA28 00359988 80 7E 00 04 */ lwz r3, 4(r30) -/* 8035CA2C 0035998C 4B FB 8F 05 */ bl Free__7CMemoryFPCv -lbl_8035CA30: -/* 8035CA30 00359990 3B DE 00 08 */ addi r30, r30, 8 -lbl_8035CA34: -/* 8035CA34 00359994 7C 1E F8 40 */ cmplw r30, r31 -/* 8035CA38 00359998 40 82 FF DC */ bne lbl_8035CA14 -/* 8035CA3C 0035999C 80 7C 00 0C */ lwz r3, 0xc(r28) -/* 8035CA40 003599A0 28 03 00 00 */ cmplwi r3, 0 -/* 8035CA44 003599A4 41 82 00 08 */ beq lbl_8035CA4C -/* 8035CA48 003599A8 4B FB 8E E9 */ bl Free__7CMemoryFPCv -lbl_8035CA4C: -/* 8035CA4C 003599AC 7F A0 07 35 */ extsh. r0, r29 -/* 8035CA50 003599B0 40 81 00 0C */ ble lbl_8035CA5C -/* 8035CA54 003599B4 7F 83 E3 78 */ mr r3, r28 -/* 8035CA58 003599B8 4B FB 8E D9 */ bl Free__7CMemoryFPCv -lbl_8035CA5C: -/* 8035CA5C 003599BC 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8035CA60 003599C0 7F 83 E3 78 */ mr r3, r28 -/* 8035CA64 003599C4 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8035CA68 003599C8 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8035CA6C 003599CC 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 8035CA70 003599D0 83 81 00 20 */ lwz r28, 0x20(r1) -/* 8035CA74 003599D4 7C 08 03 A6 */ mtlr r0 -/* 8035CA78 003599D8 38 21 00 30 */ addi r1, r1, 0x30 -/* 8035CA7C 003599DC 4E 80 00 20 */ blr - -.global PumpIndexLoad__12CMoviePlayerFv -PumpIndexLoad__12CMoviePlayerFv: -/* 8035CA80 003599E0 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8035CA84 003599E4 7C 08 02 A6 */ mflr r0 -/* 8035CA88 003599E8 90 01 00 44 */ stw r0, 0x44(r1) -/* 8035CA8C 003599EC BF 21 00 24 */ stmw r25, 0x24(r1) -/* 8035CA90 003599F0 7C 7E 1B 78 */ mr r30, r3 -/* 8035CA94 003599F4 80 63 00 AC */ lwz r3, 0xac(r3) -/* 8035CA98 003599F8 28 03 00 00 */ cmplwi r3, 0 -/* 8035CA9C 003599FC 40 82 00 0C */ bne lbl_8035CAA8 -/* 8035CAA0 00359A00 38 60 00 00 */ li r3, 0 -/* 8035CAA4 00359A04 48 00 04 64 */ b lbl_8035CF08 -lbl_8035CAA8: -/* 8035CAA8 00359A08 80 03 00 10 */ lwz r0, 0x10(r3) -/* 8035CAAC 00359A0C 83 E3 00 0C */ lwz r31, 0xc(r3) -/* 8035CAB0 00359A10 2C 00 00 01 */ cmpwi r0, 1 -/* 8035CAB4 00359A14 41 82 00 AC */ beq lbl_8035CB60 -/* 8035CAB8 00359A18 40 80 00 10 */ bge lbl_8035CAC8 -/* 8035CABC 00359A1C 2C 00 00 00 */ cmpwi r0, 0 -/* 8035CAC0 00359A20 40 80 00 14 */ bge lbl_8035CAD4 -/* 8035CAC4 00359A24 48 00 02 B0 */ b lbl_8035CD74 -lbl_8035CAC8: -/* 8035CAC8 00359A28 2C 00 00 03 */ cmpwi r0, 3 -/* 8035CACC 00359A2C 40 80 02 A8 */ bge lbl_8035CD74 -/* 8035CAD0 00359A30 48 00 01 F0 */ b lbl_8035CCC0 -lbl_8035CAD4: -/* 8035CAD4 00359A34 80 63 00 00 */ lwz r3, 0(r3) -/* 8035CAD8 00359A38 81 83 00 00 */ lwz r12, 0(r3) -/* 8035CADC 00359A3C 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8035CAE0 00359A40 7D 89 03 A6 */ mtctr r12 -/* 8035CAE4 00359A44 4E 80 04 21 */ bctrl -/* 8035CAE8 00359A48 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8035CAEC 00359A4C 41 82 00 6C */ beq lbl_8035CB58 -/* 8035CAF0 00359A50 7F E4 FB 78 */ mr r4, r31 -/* 8035CAF4 00359A54 38 7E 00 28 */ addi r3, r30, 0x28 -/* 8035CAF8 00359A58 38 A0 00 30 */ li r5, 0x30 -/* 8035CAFC 00359A5C 4B CA 69 95 */ bl memcpy -/* 8035CB00 00359A60 80 FE 00 48 */ lwz r7, 0x48(r30) -/* 8035CB04 00359A64 7F C3 F3 78 */ mr r3, r30 -/* 8035CB08 00359A68 7F E4 FB 78 */ mr r4, r31 -/* 8035CB0C 00359A6C 38 A0 00 20 */ li r5, 0x20 -/* 8035CB10 00359A70 38 C0 00 00 */ li r6, 0 -/* 8035CB14 00359A74 4B FF 2E AD */ bl AsyncSeekRead__8CDvdFileFPvUi11ESeekOrigini -/* 8035CB18 00359A78 83 BE 00 AC */ lwz r29, 0xac(r30) -/* 8035CB1C 00359A7C 7C 7C 1B 78 */ mr r28, r3 -/* 8035CB20 00359A80 80 7D 00 00 */ lwz r3, 0(r29) -/* 8035CB24 00359A84 28 03 00 00 */ cmplwi r3, 0 -/* 8035CB28 00359A88 41 82 00 18 */ beq lbl_8035CB40 -/* 8035CB2C 00359A8C 81 83 00 00 */ lwz r12, 0(r3) -/* 8035CB30 00359A90 38 80 00 01 */ li r4, 1 -/* 8035CB34 00359A94 81 8C 00 08 */ lwz r12, 8(r12) -/* 8035CB38 00359A98 7D 89 03 A6 */ mtctr r12 -/* 8035CB3C 00359A9C 4E 80 04 21 */ bctrl -lbl_8035CB40: -/* 8035CB40 00359AA0 93 9D 00 00 */ stw r28, 0(r29) -/* 8035CB44 00359AA4 80 9E 00 AC */ lwz r4, 0xac(r30) -/* 8035CB48 00359AA8 80 64 00 10 */ lwz r3, 0x10(r4) -/* 8035CB4C 00359AAC 38 03 00 01 */ addi r0, r3, 1 -/* 8035CB50 00359AB0 90 04 00 10 */ stw r0, 0x10(r4) -/* 8035CB54 00359AB4 48 00 00 0C */ b lbl_8035CB60 -lbl_8035CB58: -/* 8035CB58 00359AB8 38 60 00 01 */ li r3, 1 -/* 8035CB5C 00359ABC 48 00 03 AC */ b lbl_8035CF08 -lbl_8035CB60: -/* 8035CB60 00359AC0 80 7E 00 AC */ lwz r3, 0xac(r30) -/* 8035CB64 00359AC4 80 63 00 00 */ lwz r3, 0(r3) -/* 8035CB68 00359AC8 81 83 00 00 */ lwz r12, 0(r3) -/* 8035CB6C 00359ACC 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8035CB70 00359AD0 7D 89 03 A6 */ mtctr r12 -/* 8035CB74 00359AD4 4E 80 04 21 */ bctrl -/* 8035CB78 00359AD8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8035CB7C 00359ADC 41 82 01 3C */ beq lbl_8035CCB8 -/* 8035CB80 00359AE0 7F E4 FB 78 */ mr r4, r31 -/* 8035CB84 00359AE4 38 7E 00 58 */ addi r3, r30, 0x58 -/* 8035CB88 00359AE8 38 A0 00 14 */ li r5, 0x14 -/* 8035CB8C 00359AEC 4B CA 69 05 */ bl memcpy -/* 8035CB90 00359AF0 83 9E 00 AC */ lwz r28, 0xac(r30) -/* 8035CB94 00359AF4 80 7C 00 00 */ lwz r3, 0(r28) -/* 8035CB98 00359AF8 28 03 00 00 */ cmplwi r3, 0 -/* 8035CB9C 00359AFC 41 82 00 18 */ beq lbl_8035CBB4 -/* 8035CBA0 00359B00 81 83 00 00 */ lwz r12, 0(r3) -/* 8035CBA4 00359B04 38 80 00 01 */ li r4, 1 -/* 8035CBA8 00359B08 81 8C 00 08 */ lwz r12, 8(r12) -/* 8035CBAC 00359B0C 7D 89 03 A6 */ mtctr r12 -/* 8035CBB0 00359B10 4E 80 04 21 */ bctrl -lbl_8035CBB4: -/* 8035CBB4 00359B14 38 00 00 00 */ li r0, 0 -/* 8035CBB8 00359B18 3B 7F 00 20 */ addi r27, r31, 0x20 -/* 8035CBBC 00359B1C 90 1C 00 00 */ stw r0, 0(r28) -/* 8035CBC0 00359B20 3B 20 00 00 */ li r25, 0 -/* 8035CBC4 00359B24 80 7E 00 48 */ lwz r3, 0x48(r30) -/* 8035CBC8 00359B28 3B 43 00 14 */ addi r26, r3, 0x14 -/* 8035CBCC 00359B2C 48 00 00 CC */ b lbl_8035CC98 -lbl_8035CBD0: -/* 8035CBD0 00359B30 38 19 00 5C */ addi r0, r25, 0x5c -/* 8035CBD4 00359B34 7C 1E 00 AE */ lbzx r0, r30, r0 -/* 8035CBD8 00359B38 2C 00 00 01 */ cmpwi r0, 1 -/* 8035CBDC 00359B3C 41 82 00 60 */ beq lbl_8035CC3C -/* 8035CBE0 00359B40 40 80 00 B4 */ bge lbl_8035CC94 -/* 8035CBE4 00359B44 2C 00 00 00 */ cmpwi r0, 0 -/* 8035CBE8 00359B48 40 80 00 08 */ bge lbl_8035CBF0 -/* 8035CBEC 00359B4C 48 00 00 A8 */ b lbl_8035CC94 -lbl_8035CBF0: -/* 8035CBF0 00359B50 7F C3 F3 78 */ mr r3, r30 -/* 8035CBF4 00359B54 7F E4 FB 78 */ mr r4, r31 -/* 8035CBF8 00359B58 7F 47 D3 78 */ mr r7, r26 -/* 8035CBFC 00359B5C 38 A0 00 20 */ li r5, 0x20 -/* 8035CC00 00359B60 38 C0 00 00 */ li r6, 0 -/* 8035CC04 00359B64 4B FF 2D BD */ bl AsyncSeekRead__8CDvdFileFPvUi11ESeekOrigini -/* 8035CC08 00359B68 83 9E 00 AC */ lwz r28, 0xac(r30) -/* 8035CC0C 00359B6C 7C 7D 1B 78 */ mr r29, r3 -/* 8035CC10 00359B70 80 7C 00 04 */ lwz r3, 4(r28) -/* 8035CC14 00359B74 28 03 00 00 */ cmplwi r3, 0 -/* 8035CC18 00359B78 41 82 00 18 */ beq lbl_8035CC30 -/* 8035CC1C 00359B7C 81 83 00 00 */ lwz r12, 0(r3) -/* 8035CC20 00359B80 38 80 00 01 */ li r4, 1 -/* 8035CC24 00359B84 81 8C 00 08 */ lwz r12, 8(r12) -/* 8035CC28 00359B88 7D 89 03 A6 */ mtctr r12 -/* 8035CC2C 00359B8C 4E 80 04 21 */ bctrl -lbl_8035CC30: -/* 8035CC30 00359B90 93 BC 00 04 */ stw r29, 4(r28) -/* 8035CC34 00359B94 3B 5A 00 08 */ addi r26, r26, 8 -/* 8035CC38 00359B98 48 00 00 5C */ b lbl_8035CC94 -lbl_8035CC3C: -/* 8035CC3C 00359B9C 7F C3 F3 78 */ mr r3, r30 -/* 8035CC40 00359BA0 7F 64 DB 78 */ mr r4, r27 -/* 8035CC44 00359BA4 7F 47 D3 78 */ mr r7, r26 -/* 8035CC48 00359BA8 38 A0 00 20 */ li r5, 0x20 -/* 8035CC4C 00359BAC 38 C0 00 00 */ li r6, 0 -/* 8035CC50 00359BB0 4B FF 2D 71 */ bl AsyncSeekRead__8CDvdFileFPvUi11ESeekOrigini -/* 8035CC54 00359BB4 83 9E 00 AC */ lwz r28, 0xac(r30) -/* 8035CC58 00359BB8 7C 7D 1B 78 */ mr r29, r3 -/* 8035CC5C 00359BBC 80 7C 00 08 */ lwz r3, 8(r28) -/* 8035CC60 00359BC0 28 03 00 00 */ cmplwi r3, 0 -/* 8035CC64 00359BC4 41 82 00 18 */ beq lbl_8035CC7C -/* 8035CC68 00359BC8 81 83 00 00 */ lwz r12, 0(r3) -/* 8035CC6C 00359BCC 38 80 00 01 */ li r4, 1 -/* 8035CC70 00359BD0 81 8C 00 08 */ lwz r12, 8(r12) -/* 8035CC74 00359BD4 7D 89 03 A6 */ mtctr r12 -/* 8035CC78 00359BD8 4E 80 04 21 */ bctrl -lbl_8035CC7C: -/* 8035CC7C 00359BDC 93 BC 00 08 */ stw r29, 8(r28) -/* 8035CC80 00359BE0 38 60 00 01 */ li r3, 1 -/* 8035CC84 00359BE4 3B 5A 00 0C */ addi r26, r26, 0xc -/* 8035CC88 00359BE8 88 1E 00 F4 */ lbz r0, 0xf4(r30) -/* 8035CC8C 00359BEC 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 8035CC90 00359BF0 98 1E 00 F4 */ stb r0, 0xf4(r30) -lbl_8035CC94: -/* 8035CC94 00359BF4 3B 39 00 01 */ addi r25, r25, 1 -lbl_8035CC98: -/* 8035CC98 00359BF8 80 1E 00 58 */ lwz r0, 0x58(r30) -/* 8035CC9C 00359BFC 7C 19 00 40 */ cmplw r25, r0 -/* 8035CCA0 00359C00 41 80 FF 30 */ blt lbl_8035CBD0 -/* 8035CCA4 00359C04 80 9E 00 AC */ lwz r4, 0xac(r30) -/* 8035CCA8 00359C08 80 64 00 10 */ lwz r3, 0x10(r4) -/* 8035CCAC 00359C0C 38 03 00 01 */ addi r0, r3, 1 -/* 8035CCB0 00359C10 90 04 00 10 */ stw r0, 0x10(r4) -/* 8035CCB4 00359C14 48 00 00 0C */ b lbl_8035CCC0 -lbl_8035CCB8: -/* 8035CCB8 00359C18 38 60 00 01 */ li r3, 1 -/* 8035CCBC 00359C1C 48 00 02 4C */ b lbl_8035CF08 -lbl_8035CCC0: -/* 8035CCC0 00359C20 80 9E 00 AC */ lwz r4, 0xac(r30) -/* 8035CCC4 00359C24 3B 20 00 01 */ li r25, 1 -/* 8035CCC8 00359C28 80 64 00 04 */ lwz r3, 4(r4) -/* 8035CCCC 00359C2C 80 84 00 08 */ lwz r4, 8(r4) -/* 8035CCD0 00359C30 7C 03 00 D0 */ neg r0, r3 -/* 8035CCD4 00359C34 7C 05 1B 78 */ or r5, r0, r3 -/* 8035CCD8 00359C38 7C 04 00 D0 */ neg r0, r4 -/* 8035CCDC 00359C3C 7C 00 23 78 */ or r0, r0, r4 -/* 8035CCE0 00359C40 54 BC 0F FF */ rlwinm. r28, r5, 1, 0x1f, 0x1f -/* 8035CCE4 00359C44 54 1D 0F FE */ srwi r29, r0, 0x1f -/* 8035CCE8 00359C48 41 82 00 20 */ beq lbl_8035CD08 -/* 8035CCEC 00359C4C 81 83 00 00 */ lwz r12, 0(r3) -/* 8035CCF0 00359C50 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8035CCF4 00359C54 7D 89 03 A6 */ mtctr r12 -/* 8035CCF8 00359C58 4E 80 04 21 */ bctrl -/* 8035CCFC 00359C5C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8035CD00 00359C60 40 82 00 08 */ bne lbl_8035CD08 -/* 8035CD04 00359C64 3B 20 00 00 */ li r25, 0 -lbl_8035CD08: -/* 8035CD08 00359C68 28 1D 00 00 */ cmplwi r29, 0 -/* 8035CD0C 00359C6C 41 82 00 28 */ beq lbl_8035CD34 -/* 8035CD10 00359C70 80 7E 00 AC */ lwz r3, 0xac(r30) -/* 8035CD14 00359C74 80 63 00 08 */ lwz r3, 8(r3) -/* 8035CD18 00359C78 81 83 00 00 */ lwz r12, 0(r3) -/* 8035CD1C 00359C7C 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8035CD20 00359C80 7D 89 03 A6 */ mtctr r12 -/* 8035CD24 00359C84 4E 80 04 21 */ bctrl -/* 8035CD28 00359C88 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8035CD2C 00359C8C 40 82 00 08 */ bne lbl_8035CD34 -/* 8035CD30 00359C90 3B 20 00 00 */ li r25, 0 -lbl_8035CD34: -/* 8035CD34 00359C94 57 20 06 3F */ clrlwi. r0, r25, 0x18 -/* 8035CD38 00359C98 40 82 00 0C */ bne lbl_8035CD44 -/* 8035CD3C 00359C9C 38 60 00 01 */ li r3, 1 -/* 8035CD40 00359CA0 48 00 01 C8 */ b lbl_8035CF08 -lbl_8035CD44: -/* 8035CD44 00359CA4 28 1C 00 00 */ cmplwi r28, 0 -/* 8035CD48 00359CA8 41 82 00 14 */ beq lbl_8035CD5C -/* 8035CD4C 00359CAC 7F E4 FB 78 */ mr r4, r31 -/* 8035CD50 00359CB0 38 7E 00 6C */ addi r3, r30, 0x6c -/* 8035CD54 00359CB4 38 A0 00 08 */ li r5, 8 -/* 8035CD58 00359CB8 4B CA 67 39 */ bl memcpy -lbl_8035CD5C: -/* 8035CD5C 00359CBC 28 1D 00 00 */ cmplwi r29, 0 -/* 8035CD60 00359CC0 41 82 00 14 */ beq lbl_8035CD74 -/* 8035CD64 00359CC4 38 7E 00 74 */ addi r3, r30, 0x74 -/* 8035CD68 00359CC8 38 9F 00 20 */ addi r4, r31, 0x20 -/* 8035CD6C 00359CCC 38 A0 00 0C */ li r5, 0xc -/* 8035CD70 00359CD0 4B CA 67 21 */ bl memcpy -lbl_8035CD74: -/* 8035CD74 00359CD4 83 9E 00 AC */ lwz r28, 0xac(r30) -/* 8035CD78 00359CD8 28 1C 00 00 */ cmplwi r28, 0 -/* 8035CD7C 00359CDC 41 82 00 94 */ beq lbl_8035CE10 -/* 8035CD80 00359CE0 34 1C 00 0C */ addic. r0, r28, 0xc -/* 8035CD84 00359CE4 41 82 00 0C */ beq lbl_8035CD90 -/* 8035CD88 00359CE8 80 7C 00 0C */ lwz r3, 0xc(r28) -/* 8035CD8C 00359CEC 4B FB 8B A5 */ bl Free__7CMemoryFPCv -lbl_8035CD90: -/* 8035CD90 00359CF0 34 1C 00 08 */ addic. r0, r28, 8 -/* 8035CD94 00359CF4 41 82 00 24 */ beq lbl_8035CDB8 -/* 8035CD98 00359CF8 80 7C 00 08 */ lwz r3, 8(r28) -/* 8035CD9C 00359CFC 28 03 00 00 */ cmplwi r3, 0 -/* 8035CDA0 00359D00 41 82 00 18 */ beq lbl_8035CDB8 -/* 8035CDA4 00359D04 81 83 00 00 */ lwz r12, 0(r3) -/* 8035CDA8 00359D08 38 80 00 01 */ li r4, 1 -/* 8035CDAC 00359D0C 81 8C 00 08 */ lwz r12, 8(r12) -/* 8035CDB0 00359D10 7D 89 03 A6 */ mtctr r12 -/* 8035CDB4 00359D14 4E 80 04 21 */ bctrl -lbl_8035CDB8: -/* 8035CDB8 00359D18 34 1C 00 04 */ addic. r0, r28, 4 -/* 8035CDBC 00359D1C 41 82 00 24 */ beq lbl_8035CDE0 -/* 8035CDC0 00359D20 80 7C 00 04 */ lwz r3, 4(r28) -/* 8035CDC4 00359D24 28 03 00 00 */ cmplwi r3, 0 -/* 8035CDC8 00359D28 41 82 00 18 */ beq lbl_8035CDE0 -/* 8035CDCC 00359D2C 81 83 00 00 */ lwz r12, 0(r3) -/* 8035CDD0 00359D30 38 80 00 01 */ li r4, 1 -/* 8035CDD4 00359D34 81 8C 00 08 */ lwz r12, 8(r12) -/* 8035CDD8 00359D38 7D 89 03 A6 */ mtctr r12 -/* 8035CDDC 00359D3C 4E 80 04 21 */ bctrl -lbl_8035CDE0: -/* 8035CDE0 00359D40 28 1C 00 00 */ cmplwi r28, 0 -/* 8035CDE4 00359D44 41 82 00 24 */ beq lbl_8035CE08 -/* 8035CDE8 00359D48 80 7C 00 00 */ lwz r3, 0(r28) -/* 8035CDEC 00359D4C 28 03 00 00 */ cmplwi r3, 0 -/* 8035CDF0 00359D50 41 82 00 18 */ beq lbl_8035CE08 -/* 8035CDF4 00359D54 81 83 00 00 */ lwz r12, 0(r3) -/* 8035CDF8 00359D58 38 80 00 01 */ li r4, 1 -/* 8035CDFC 00359D5C 81 8C 00 08 */ lwz r12, 8(r12) -/* 8035CE00 00359D60 7D 89 03 A6 */ mtctr r12 -/* 8035CE04 00359D64 4E 80 04 21 */ bctrl -lbl_8035CE08: -/* 8035CE08 00359D68 7F 83 E3 78 */ mr r3, r28 -/* 8035CE0C 00359D6C 4B FB 8B 25 */ bl Free__7CMemoryFPCv -lbl_8035CE10: -/* 8035CE10 00359D70 38 00 00 00 */ li r0, 0 -/* 8035CE14 00359D74 38 7E 00 80 */ addi r3, r30, 0x80 -/* 8035CE18 00359D78 90 1E 00 AC */ stw r0, 0xac(r30) -/* 8035CE1C 00359D7C 38 80 00 03 */ li r4, 3 -/* 8035CE20 00359D80 48 00 0A 15 */ bl "reserve__Q24rstl67vectorFi" -/* 8035CE24 00359D84 80 7E 00 50 */ lwz r3, 0x50(r30) -/* 8035CE28 00359D88 3C 00 43 30 */ lis r0, 0x4330 -/* 8035CE2C 00359D8C 90 01 00 10 */ stw r0, 0x10(r1) -/* 8035CE30 00359D90 C8 62 CD 30 */ lfd f3, lbl_805AEA50@sda21(r2) -/* 8035CE34 00359D94 90 7E 00 B4 */ stw r3, 0xb4(r30) -/* 8035CE38 00359D98 C0 02 CD 24 */ lfs f0, lbl_805AEA44@sda21(r2) -/* 8035CE3C 00359D9C 80 1E 00 40 */ lwz r0, 0x40(r30) -/* 8035CE40 00359DA0 90 1E 00 B0 */ stw r0, 0xb0(r30) -/* 8035CE44 00359DA4 80 1E 00 40 */ lwz r0, 0x40(r30) -/* 8035CE48 00359DA8 90 1E 00 B8 */ stw r0, 0xb8(r30) -/* 8035CE4C 00359DAC 80 1E 00 50 */ lwz r0, 0x50(r30) -/* 8035CE50 00359DB0 90 1E 00 BC */ stw r0, 0xbc(r30) -/* 8035CE54 00359DB4 80 1E 00 3C */ lwz r0, 0x3c(r30) -/* 8035CE58 00359DB8 C0 3E 00 38 */ lfs f1, 0x38(r30) -/* 8035CE5C 00359DBC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8035CE60 00359DC0 C8 41 00 10 */ lfd f2, 0x10(r1) -/* 8035CE64 00359DC4 EC 42 18 28 */ fsubs f2, f2, f3 -/* 8035CE68 00359DC8 EC 22 08 24 */ fdivs f1, f2, f1 -/* 8035CE6C 00359DCC D0 3E 00 E4 */ stfs f1, 0xe4(r30) -/* 8035CE70 00359DD0 C0 3E 00 EC */ lfs f1, 0xec(r30) -/* 8035CE74 00359DD4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8035CE78 00359DD8 40 80 00 18 */ bge lbl_8035CE90 -/* 8035CE7C 00359DDC C0 1E 00 E4 */ lfs f0, 0xe4(r30) -/* 8035CE80 00359DE0 D0 1E 00 EC */ stfs f0, 0xec(r30) -/* 8035CE84 00359DE4 80 1E 00 3C */ lwz r0, 0x3c(r30) -/* 8035CE88 00359DE8 90 1E 00 F0 */ stw r0, 0xf0(r30) -/* 8035CE8C 00359DEC 48 00 00 5C */ b lbl_8035CEE8 -lbl_8035CE90: -/* 8035CE90 00359DF0 40 81 00 58 */ ble lbl_8035CEE8 -/* 8035CE94 00359DF4 C0 1E 00 38 */ lfs f0, 0x38(r30) -/* 8035CE98 00359DF8 EC 21 00 32 */ fmuls f1, f1, f0 -/* 8035CE9C 00359DFC 48 02 CA B9 */ bl __cvt_fp2unsigned -/* 8035CEA0 00359E00 90 61 00 08 */ stw r3, 8(r1) -/* 8035CEA4 00359E04 38 81 00 0C */ addi r4, r1, 0xc -/* 8035CEA8 00359E08 80 1E 00 3C */ lwz r0, 0x3c(r30) -/* 8035CEAC 00359E0C 7C 03 00 40 */ cmplw r3, r0 -/* 8035CEB0 00359E10 90 01 00 0C */ stw r0, 0xc(r1) -/* 8035CEB4 00359E14 40 80 00 08 */ bge lbl_8035CEBC -/* 8035CEB8 00359E18 38 81 00 08 */ addi r4, r1, 8 -lbl_8035CEBC: -/* 8035CEBC 00359E1C 80 04 00 00 */ lwz r0, 0(r4) -/* 8035CEC0 00359E20 90 1E 00 F0 */ stw r0, 0xf0(r30) -/* 8035CEC4 00359E24 C0 3E 00 E4 */ lfs f1, 0xe4(r30) -/* 8035CEC8 00359E28 C0 1E 00 EC */ lfs f0, 0xec(r30) -/* 8035CECC 00359E2C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8035CED0 00359E30 40 80 00 0C */ bge lbl_8035CEDC -/* 8035CED4 00359E34 38 7E 00 E4 */ addi r3, r30, 0xe4 -/* 8035CED8 00359E38 48 00 00 08 */ b lbl_8035CEE0 -lbl_8035CEDC: -/* 8035CEDC 00359E3C 38 7E 00 EC */ addi r3, r30, 0xec -lbl_8035CEE0: -/* 8035CEE0 00359E40 C0 03 00 00 */ lfs f0, 0(r3) -/* 8035CEE4 00359E44 D0 1E 00 EC */ stfs f0, 0xec(r30) -lbl_8035CEE8: -/* 8035CEE8 00359E48 80 9E 00 F0 */ lwz r4, 0xf0(r30) -/* 8035CEEC 00359E4C 2C 04 00 00 */ cmpwi r4, 0 -/* 8035CEF0 00359E50 40 81 00 0C */ ble lbl_8035CEFC -/* 8035CEF4 00359E54 38 7E 00 9C */ addi r3, r30, 0x9c -/* 8035CEF8 00359E58 48 00 0B 11 */ bl "reserve__Q24rstl56vector,Q24rstl17rmemory_allocator>Fi" -lbl_8035CEFC: -/* 8035CEFC 00359E5C 7F C3 F3 78 */ mr r3, r30 -/* 8035CF00 00359E60 4B FF F4 89 */ bl PostDVDReadRequestIfNeeded__12CMoviePlayerFv -/* 8035CF04 00359E64 38 60 00 00 */ li r3, 0 -lbl_8035CF08: -/* 8035CF08 00359E68 BB 21 00 24 */ lmw r25, 0x24(r1) -/* 8035CF0C 00359E6C 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8035CF10 00359E70 7C 08 03 A6 */ mtlr r0 -/* 8035CF14 00359E74 38 21 00 40 */ addi r1, r1, 0x40 -/* 8035CF18 00359E78 4E 80 00 20 */ blr - -.global __ct__12CMoviePlayerFPCcfb -__ct__12CMoviePlayerFPCcfb: -/* 8035CF1C 00359E7C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8035CF20 00359E80 7C 08 02 A6 */ mflr r0 -/* 8035CF24 00359E84 90 01 00 34 */ stw r0, 0x34(r1) -/* 8035CF28 00359E88 DB E1 00 20 */ stfd f31, 0x20(r1) -/* 8035CF2C 00359E8C F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 -/* 8035CF30 00359E90 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8035CF34 00359E94 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8035CF38 00359E98 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8035CF3C 00359E9C 93 81 00 10 */ stw r28, 0x10(r1) -/* 8035CF40 00359EA0 FF E0 08 90 */ fmr f31, f1 -/* 8035CF44 00359EA4 7C 7D 1B 78 */ mr r29, r3 -/* 8035CF48 00359EA8 7C BE 2B 78 */ mr r30, r5 -/* 8035CF4C 00359EAC 7C DF 33 78 */ mr r31, r6 -/* 8035CF50 00359EB0 4B FF 2D 81 */ bl __ct__8CDvdFileFPCc -/* 8035CF54 00359EB4 38 00 00 00 */ li r0, 0 -/* 8035CF58 00359EB8 3C 60 80 3E */ lis r3, lbl_803D83D8@ha -/* 8035CF5C 00359EBC 90 1D 00 84 */ stw r0, 0x84(r29) -/* 8035CF60 00359EC0 38 83 83 D8 */ addi r4, r3, lbl_803D83D8@l -/* 8035CF64 00359EC4 38 60 00 14 */ li r3, 0x14 -/* 8035CF68 00359EC8 38 A0 00 00 */ li r5, 0 -/* 8035CF6C 00359ECC 90 1D 00 88 */ stw r0, 0x88(r29) -/* 8035CF70 00359ED0 90 1D 00 8C */ stw r0, 0x8c(r29) -/* 8035CF74 00359ED4 98 1D 00 90 */ stb r0, 0x90(r29) -/* 8035CF78 00359ED8 90 1D 00 94 */ stw r0, 0x94(r29) -/* 8035CF7C 00359EDC 90 1D 00 98 */ stw r0, 0x98(r29) -/* 8035CF80 00359EE0 90 1D 00 A0 */ stw r0, 0xa0(r29) -/* 8035CF84 00359EE4 90 1D 00 A4 */ stw r0, 0xa4(r29) -/* 8035CF88 00359EE8 90 1D 00 A8 */ stw r0, 0xa8(r29) -/* 8035CF8C 00359EEC 4B FB 88 E1 */ bl __nw__FUlPCcPCc -/* 8035CF90 00359EF0 7C 7C 1B 79 */ or. r28, r3, r3 -/* 8035CF94 00359EF4 41 82 00 54 */ beq lbl_8035CFE8 -/* 8035CF98 00359EF8 38 00 00 00 */ li r0, 0 -/* 8035CF9C 00359EFC 3C 80 80 3E */ lis r4, lbl_803D83D8@ha -/* 8035CFA0 00359F00 90 1C 00 00 */ stw r0, 0(r28) -/* 8035CFA4 00359F04 3C 60 80 3D */ lis r3, lbl_803D6AA8@ha -/* 8035CFA8 00359F08 38 A4 83 D8 */ addi r5, r4, lbl_803D83D8@l -/* 8035CFAC 00359F0C 38 80 FF FF */ li r4, -1 -/* 8035CFB0 00359F10 90 1C 00 04 */ stw r0, 4(r28) -/* 8035CFB4 00359F14 38 C3 6A A8 */ addi r6, r3, lbl_803D6AA8@l -/* 8035CFB8 00359F18 38 61 00 08 */ addi r3, r1, 8 -/* 8035CFBC 00359F1C 90 1C 00 08 */ stw r0, 8(r28) -/* 8035CFC0 00359F20 4B F7 94 15 */ bl __ct__10CCallStackFUiPCcPCc -/* 8035CFC4 00359F24 7C 67 1B 78 */ mr r7, r3 -/* 8035CFC8 00359F28 38 60 00 40 */ li r3, 0x40 -/* 8035CFCC 00359F2C 38 80 00 02 */ li r4, 2 -/* 8035CFD0 00359F30 38 A0 00 01 */ li r5, 1 -/* 8035CFD4 00359F34 38 C0 00 00 */ li r6, 0 -/* 8035CFD8 00359F38 4B FB 89 BD */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack -/* 8035CFDC 00359F3C 90 7C 00 0C */ stw r3, 0xc(r28) -/* 8035CFE0 00359F40 38 00 00 00 */ li r0, 0 -/* 8035CFE4 00359F44 90 1C 00 10 */ stw r0, 0x10(r28) -lbl_8035CFE8: -/* 8035CFE8 00359F48 93 9D 00 AC */ stw r28, 0xac(r29) -/* 8035CFEC 00359F4C 38 C0 00 00 */ li r6, 0 -/* 8035CFF0 00359F50 38 00 FF FF */ li r0, -1 -/* 8035CFF4 00359F54 C0 02 CD 24 */ lfs f0, lbl_805AEA44@sda21(r2) -/* 8035CFF8 00359F58 90 DD 00 B0 */ stw r6, 0xb0(r29) -/* 8035CFFC 00359F5C 38 A0 00 01 */ li r5, 1 -/* 8035D000 00359F60 90 DD 00 B4 */ stw r6, 0xb4(r29) -/* 8035D004 00359F64 90 DD 00 B8 */ stw r6, 0xb8(r29) -/* 8035D008 00359F68 90 DD 00 BC */ stw r6, 0xbc(r29) -/* 8035D00C 00359F6C 90 DD 00 C0 */ stw r6, 0xc0(r29) -/* 8035D010 00359F70 90 DD 00 C4 */ stw r6, 0xc4(r29) -/* 8035D014 00359F74 90 DD 00 C8 */ stw r6, 0xc8(r29) -/* 8035D018 00359F78 90 DD 00 CC */ stw r6, 0xcc(r29) -/* 8035D01C 00359F7C 90 1D 00 D0 */ stw r0, 0xd0(r29) -/* 8035D020 00359F80 90 1D 00 D4 */ stw r0, 0xd4(r29) -/* 8035D024 00359F84 90 DD 00 D8 */ stw r6, 0xd8(r29) -/* 8035D028 00359F88 D0 1D 00 DC */ stfs f0, 0xdc(r29) -/* 8035D02C 00359F8C 90 BD 00 E0 */ stw r5, 0xe0(r29) -/* 8035D030 00359F90 D0 1D 00 E4 */ stfs f0, 0xe4(r29) -/* 8035D034 00359F94 D0 1D 00 E8 */ stfs f0, 0xe8(r29) -/* 8035D038 00359F98 D3 FD 00 EC */ stfs f31, 0xec(r29) -/* 8035D03C 00359F9C 90 DD 00 F0 */ stw r6, 0xf0(r29) -/* 8035D040 00359FA0 88 1D 00 F4 */ lbz r0, 0xf4(r29) -/* 8035D044 00359FA4 53 C0 3E 30 */ rlwimi r0, r30, 7, 0x18, 0x18 -/* 8035D048 00359FA8 98 1D 00 F4 */ stb r0, 0xf4(r29) -/* 8035D04C 00359FAC 88 1D 00 F4 */ lbz r0, 0xf4(r29) -/* 8035D050 00359FB0 53 E0 36 72 */ rlwimi r0, r31, 6, 0x19, 0x19 -/* 8035D054 00359FB4 98 1D 00 F4 */ stb r0, 0xf4(r29) -/* 8035D058 00359FB8 88 1D 00 F4 */ lbz r0, 0xf4(r29) -/* 8035D05C 00359FBC 50 C0 2E B4 */ rlwimi r0, r6, 5, 0x1a, 0x1a -/* 8035D060 00359FC0 98 1D 00 F4 */ stb r0, 0xf4(r29) -/* 8035D064 00359FC4 88 1D 00 F4 */ lbz r0, 0xf4(r29) -/* 8035D068 00359FC8 50 C0 26 F6 */ rlwimi r0, r6, 4, 0x1b, 0x1b -/* 8035D06C 00359FCC 98 1D 00 F4 */ stb r0, 0xf4(r29) -/* 8035D070 00359FD0 90 DD 00 F8 */ stw r6, 0xf8(r29) -/* 8035D074 00359FD4 90 DD 00 FC */ stw r6, 0xfc(r29) -/* 8035D078 00359FD8 88 0D AA B1 */ lbz r0, lbl_805A9671@sda21(r13) -/* 8035D07C 00359FDC 7C 00 07 75 */ extsb. r0, r0 -/* 8035D080 00359FE0 40 82 00 0C */ bne lbl_8035D08C -/* 8035D084 00359FE4 98 CD AA B0 */ stb r6, lbl_805A9670@sda21(r13) -/* 8035D088 00359FE8 98 AD AA B1 */ stb r5, lbl_805A9671@sda21(r13) -lbl_8035D08C: -/* 8035D08C 00359FEC 88 0D AA B0 */ lbz r0, lbl_805A9670@sda21(r13) -/* 8035D090 00359FF0 28 00 00 00 */ cmplwi r0, 0 -/* 8035D094 00359FF4 40 82 00 10 */ bne lbl_8035D0A4 -/* 8035D098 00359FF8 38 00 00 01 */ li r0, 1 -/* 8035D09C 00359FFC 98 0D AA B0 */ stb r0, lbl_805A9670@sda21(r13) -/* 8035D0A0 0035A000 48 06 BF 89 */ bl THPInit -lbl_8035D0A4: -/* 8035D0A4 0035A004 80 6D AA A0 */ lwz r3, lbl_805A9660@sda21(r13) -/* 8035D0A8 0035A008 38 03 00 01 */ addi r0, r3, 1 -/* 8035D0AC 0035A00C 90 0D AA A0 */ stw r0, lbl_805A9660@sda21(r13) -/* 8035D0B0 0035A010 4B FF E5 7D */ bl VerifyCallbackStatus__12CMoviePlayerFv -/* 8035D0B4 0035A014 80 9D 00 AC */ lwz r4, 0xac(r29) -/* 8035D0B8 0035A018 7F A3 EB 78 */ mr r3, r29 -/* 8035D0BC 0035A01C 38 A0 00 40 */ li r5, 0x40 -/* 8035D0C0 0035A020 80 84 00 0C */ lwz r4, 0xc(r4) -/* 8035D0C4 0035A024 4B FF 2B 25 */ bl SyncRead__8CDvdFileFPvUi -/* 8035D0C8 0035A028 83 9D 00 AC */ lwz r28, 0xac(r29) -/* 8035D0CC 0035A02C 7C 7E 1B 78 */ mr r30, r3 -/* 8035D0D0 0035A030 80 7C 00 00 */ lwz r3, 0(r28) -/* 8035D0D4 0035A034 28 03 00 00 */ cmplwi r3, 0 -/* 8035D0D8 0035A038 41 82 00 18 */ beq lbl_8035D0F0 -/* 8035D0DC 0035A03C 81 83 00 00 */ lwz r12, 0(r3) -/* 8035D0E0 0035A040 38 80 00 01 */ li r4, 1 -/* 8035D0E4 0035A044 81 8C 00 08 */ lwz r12, 8(r12) -/* 8035D0E8 0035A048 7D 89 03 A6 */ mtctr r12 -/* 8035D0EC 0035A04C 4E 80 04 21 */ bctrl -lbl_8035D0F0: -/* 8035D0F0 0035A050 93 DC 00 00 */ stw r30, 0(r28) -/* 8035D0F4 0035A054 7F A3 EB 78 */ mr r3, r29 -/* 8035D0F8 0035A058 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 -/* 8035D0FC 0035A05C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8035D100 0035A060 CB E1 00 20 */ lfd f31, 0x20(r1) -/* 8035D104 0035A064 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8035D108 0035A068 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8035D10C 0035A06C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8035D110 0035A070 83 81 00 10 */ lwz r28, 0x10(r1) -/* 8035D114 0035A074 7C 08 03 A6 */ mtlr r0 -/* 8035D118 0035A078 38 21 00 30 */ addi r1, r1, 0x30 -/* 8035D11C 0035A07C 4E 80 00 20 */ blr - -.global MyTHPYuv2RgbTextureSetup__FPvPvPvUsUs -MyTHPYuv2RgbTextureSetup__FPvPvPvUsUs: -/* 8035D120 0035A080 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 8035D124 0035A084 7C 08 02 A6 */ mflr r0 -/* 8035D128 0035A088 39 00 00 00 */ li r8, 0 -/* 8035D12C 0035A08C 39 20 00 00 */ li r9, 0 -/* 8035D130 0035A090 90 01 00 84 */ stw r0, 0x84(r1) -/* 8035D134 0035A094 39 40 00 00 */ li r10, 0 -/* 8035D138 0035A098 93 E1 00 7C */ stw r31, 0x7c(r1) -/* 8035D13C 0035A09C 7C FF 3B 78 */ mr r31, r7 -/* 8035D140 0035A0A0 38 E0 00 01 */ li r7, 1 -/* 8035D144 0035A0A4 93 C1 00 78 */ stw r30, 0x78(r1) -/* 8035D148 0035A0A8 7C DE 33 78 */ mr r30, r6 -/* 8035D14C 0035A0AC 7F E6 FB 78 */ mr r6, r31 -/* 8035D150 0035A0B0 93 A1 00 74 */ stw r29, 0x74(r1) -/* 8035D154 0035A0B4 7C BD 2B 78 */ mr r29, r5 -/* 8035D158 0035A0B8 7F C5 F3 78 */ mr r5, r30 -/* 8035D15C 0035A0BC 93 81 00 70 */ stw r28, 0x70(r1) -/* 8035D160 0035A0C0 7C 9C 23 78 */ mr r28, r4 -/* 8035D164 0035A0C4 7C 64 1B 78 */ mr r4, r3 -/* 8035D168 0035A0C8 38 61 00 48 */ addi r3, r1, 0x48 -/* 8035D16C 0035A0CC 48 01 CC F9 */ bl GXInitTexObj -/* 8035D170 0035A0D0 C0 22 CD 24 */ lfs f1, lbl_805AEA44@sda21(r2) -/* 8035D174 0035A0D4 38 61 00 48 */ addi r3, r1, 0x48 -/* 8035D178 0035A0D8 38 80 00 00 */ li r4, 0 -/* 8035D17C 0035A0DC 38 A0 00 00 */ li r5, 0 -/* 8035D180 0035A0E0 FC 40 08 90 */ fmr f2, f1 -/* 8035D184 0035A0E4 38 C0 00 00 */ li r6, 0 -/* 8035D188 0035A0E8 FC 60 08 90 */ fmr f3, f1 -/* 8035D18C 0035A0EC 38 E0 00 00 */ li r7, 0 -/* 8035D190 0035A0F0 39 00 00 00 */ li r8, 0 -/* 8035D194 0035A0F4 48 01 CF 8D */ bl GXInitTexObjLOD -/* 8035D198 0035A0F8 38 61 00 48 */ addi r3, r1, 0x48 -/* 8035D19C 0035A0FC 38 80 00 00 */ li r4, 0 -/* 8035D1A0 0035A100 48 01 D2 F5 */ bl GXLoadTexObj -/* 8035D1A4 0035A104 57 DE FC 7E */ rlwinm r30, r30, 0x1f, 0x11, 0x1f -/* 8035D1A8 0035A108 57 FF FC 7E */ rlwinm r31, r31, 0x1f, 0x11, 0x1f -/* 8035D1AC 0035A10C 7F 84 E3 78 */ mr r4, r28 -/* 8035D1B0 0035A110 38 61 00 28 */ addi r3, r1, 0x28 -/* 8035D1B4 0035A114 7F C5 F3 78 */ mr r5, r30 -/* 8035D1B8 0035A118 7F E6 FB 78 */ mr r6, r31 -/* 8035D1BC 0035A11C 38 E0 00 01 */ li r7, 1 -/* 8035D1C0 0035A120 39 00 00 00 */ li r8, 0 -/* 8035D1C4 0035A124 39 20 00 00 */ li r9, 0 -/* 8035D1C8 0035A128 39 40 00 00 */ li r10, 0 -/* 8035D1CC 0035A12C 48 01 CC 99 */ bl GXInitTexObj -/* 8035D1D0 0035A130 C0 22 CD 24 */ lfs f1, lbl_805AEA44@sda21(r2) -/* 8035D1D4 0035A134 38 61 00 28 */ addi r3, r1, 0x28 -/* 8035D1D8 0035A138 38 80 00 00 */ li r4, 0 -/* 8035D1DC 0035A13C 38 A0 00 00 */ li r5, 0 -/* 8035D1E0 0035A140 FC 40 08 90 */ fmr f2, f1 -/* 8035D1E4 0035A144 38 C0 00 00 */ li r6, 0 -/* 8035D1E8 0035A148 FC 60 08 90 */ fmr f3, f1 -/* 8035D1EC 0035A14C 38 E0 00 00 */ li r7, 0 -/* 8035D1F0 0035A150 39 00 00 00 */ li r8, 0 -/* 8035D1F4 0035A154 48 01 CF 2D */ bl GXInitTexObjLOD -/* 8035D1F8 0035A158 38 61 00 28 */ addi r3, r1, 0x28 -/* 8035D1FC 0035A15C 38 80 00 01 */ li r4, 1 -/* 8035D200 0035A160 48 01 D2 95 */ bl GXLoadTexObj -/* 8035D204 0035A164 7F A4 EB 78 */ mr r4, r29 -/* 8035D208 0035A168 7F E6 FB 78 */ mr r6, r31 -/* 8035D20C 0035A16C 38 61 00 08 */ addi r3, r1, 8 -/* 8035D210 0035A170 57 C5 04 3E */ clrlwi r5, r30, 0x10 -/* 8035D214 0035A174 38 E0 00 01 */ li r7, 1 -/* 8035D218 0035A178 39 00 00 00 */ li r8, 0 -/* 8035D21C 0035A17C 39 20 00 00 */ li r9, 0 -/* 8035D220 0035A180 39 40 00 00 */ li r10, 0 -/* 8035D224 0035A184 48 01 CC 41 */ bl GXInitTexObj -/* 8035D228 0035A188 C0 22 CD 24 */ lfs f1, lbl_805AEA44@sda21(r2) -/* 8035D22C 0035A18C 38 61 00 08 */ addi r3, r1, 8 -/* 8035D230 0035A190 38 80 00 00 */ li r4, 0 -/* 8035D234 0035A194 38 A0 00 00 */ li r5, 0 -/* 8035D238 0035A198 FC 40 08 90 */ fmr f2, f1 -/* 8035D23C 0035A19C 38 C0 00 00 */ li r6, 0 -/* 8035D240 0035A1A0 FC 60 08 90 */ fmr f3, f1 -/* 8035D244 0035A1A4 38 E0 00 00 */ li r7, 0 -/* 8035D248 0035A1A8 39 00 00 00 */ li r8, 0 -/* 8035D24C 0035A1AC 48 01 CE D5 */ bl GXInitTexObjLOD -/* 8035D250 0035A1B0 38 61 00 08 */ addi r3, r1, 8 -/* 8035D254 0035A1B4 38 80 00 02 */ li r4, 2 -/* 8035D258 0035A1B8 48 01 D2 3D */ bl GXLoadTexObj -/* 8035D25C 0035A1BC 38 60 00 00 */ li r3, 0 -/* 8035D260 0035A1C0 4B FB 0E E9 */ bl InvalidateTexmap__8CTextureF11_GXTexMapID -/* 8035D264 0035A1C4 38 60 00 01 */ li r3, 1 -/* 8035D268 0035A1C8 4B FB 0E E1 */ bl InvalidateTexmap__8CTextureF11_GXTexMapID -/* 8035D26C 0035A1CC 38 60 00 02 */ li r3, 2 -/* 8035D270 0035A1D0 4B FB 0E D9 */ bl InvalidateTexmap__8CTextureF11_GXTexMapID -/* 8035D274 0035A1D4 80 01 00 84 */ lwz r0, 0x84(r1) -/* 8035D278 0035A1D8 83 E1 00 7C */ lwz r31, 0x7c(r1) -/* 8035D27C 0035A1DC 83 C1 00 78 */ lwz r30, 0x78(r1) -/* 8035D280 0035A1E0 83 A1 00 74 */ lwz r29, 0x74(r1) -/* 8035D284 0035A1E4 83 81 00 70 */ lwz r28, 0x70(r1) -/* 8035D288 0035A1E8 7C 08 03 A6 */ mtlr r0 -/* 8035D28C 0035A1EC 38 21 00 80 */ addi r1, r1, 0x80 -/* 8035D290 0035A1F0 4E 80 00 20 */ blr - -.global MyTHPGXYuv2RgbSetup__Fb -MyTHPGXYuv2RgbSetup__Fb: -/* 8035D294 0035A1F4 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 8035D298 0035A1F8 7C 08 02 A6 */ mflr r0 -/* 8035D29C 0035A1FC 3C A0 80 3E */ lis r5, lbl_803D8380@ha -/* 8035D2A0 0035A200 90 01 00 94 */ stw r0, 0x94(r1) -/* 8035D2A4 0035A204 93 E1 00 8C */ stw r31, 0x8c(r1) -/* 8035D2A8 0035A208 3B E5 83 80 */ addi r31, r5, lbl_803D8380@l -/* 8035D2AC 0035A20C 38 A0 00 00 */ li r5, 0 -/* 8035D2B0 0035A210 93 C1 00 88 */ stw r30, 0x88(r1) -/* 8035D2B4 0035A214 7C 9E 23 78 */ mr r30, r4 -/* 8035D2B8 0035A218 38 80 00 07 */ li r4, 7 -/* 8035D2BC 0035A21C 93 A1 00 84 */ stw r29, 0x84(r1) -/* 8035D2C0 0035A220 7C 7D 1B 78 */ mr r29, r3 -/* 8035D2C4 0035A224 38 60 00 01 */ li r3, 1 -/* 8035D2C8 0035A228 81 5F 00 20 */ lwz r10, 0x20(r31) -/* 8035D2CC 0035A22C 81 3F 00 24 */ lwz r9, 0x24(r31) -/* 8035D2D0 0035A230 81 1F 00 28 */ lwz r8, 0x28(r31) -/* 8035D2D4 0035A234 80 FF 00 2C */ lwz r7, 0x2c(r31) -/* 8035D2D8 0035A238 80 DF 00 30 */ lwz r6, 0x30(r31) -/* 8035D2DC 0035A23C 80 1F 00 34 */ lwz r0, 0x34(r31) -/* 8035D2E0 0035A240 91 41 00 5C */ stw r10, 0x5c(r1) -/* 8035D2E4 0035A244 91 21 00 60 */ stw r9, 0x60(r1) -/* 8035D2E8 0035A248 91 01 00 64 */ stw r8, 0x64(r1) -/* 8035D2EC 0035A24C 90 E1 00 68 */ stw r7, 0x68(r1) -/* 8035D2F0 0035A250 90 C1 00 6C */ stw r6, 0x6c(r1) -/* 8035D2F4 0035A254 90 01 00 70 */ stw r0, 0x70(r1) -/* 8035D2F8 0035A258 4B FA B5 85 */ bl SetZMode__3CGXFb10_GXCompareb -/* 8035D2FC 0035A25C 38 60 00 00 */ li r3, 0 -/* 8035D300 0035A260 38 80 00 01 */ li r4, 1 -/* 8035D304 0035A264 38 A0 00 00 */ li r5, 0 -/* 8035D308 0035A268 38 C0 00 00 */ li r6, 0 -/* 8035D30C 0035A26C 4B FA B5 C5 */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp -/* 8035D310 0035A270 38 60 00 00 */ li r3, 0 -/* 8035D314 0035A274 4B FA BB 3D */ bl SetNumChans__3CGXFUc -/* 8035D318 0035A278 38 60 00 00 */ li r3, 0 -/* 8035D31C 0035A27C 38 80 00 01 */ li r4, 1 -/* 8035D320 0035A280 38 A0 00 04 */ li r5, 4 -/* 8035D324 0035A284 38 C0 00 3C */ li r6, 0x3c -/* 8035D328 0035A288 38 E0 00 00 */ li r7, 0 -/* 8035D32C 0035A28C 39 00 00 7D */ li r8, 0x7d -/* 8035D330 0035A290 4B FA B3 9D */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx -/* 8035D334 0035A294 38 60 00 01 */ li r3, 1 -/* 8035D338 0035A298 38 80 00 01 */ li r4, 1 -/* 8035D33C 0035A29C 38 A0 00 04 */ li r5, 4 -/* 8035D340 0035A2A0 38 C0 00 3C */ li r6, 0x3c -/* 8035D344 0035A2A4 38 E0 00 00 */ li r7, 0 -/* 8035D348 0035A2A8 39 00 00 7D */ li r8, 0x7d -/* 8035D34C 0035A2AC 4B FA B3 81 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx -/* 8035D350 0035A2B0 57 C0 06 3F */ clrlwi. r0, r30, 0x18 -/* 8035D354 0035A2B4 41 82 00 18 */ beq lbl_8035D36C -/* 8035D358 0035A2B8 38 60 00 02 */ li r3, 2 -/* 8035D35C 0035A2BC 4B FA BA B9 */ bl SetNumTexGens__3CGXFUc -/* 8035D360 0035A2C0 38 60 00 04 */ li r3, 4 -/* 8035D364 0035A2C4 4B FA B9 2D */ bl SetNumTevStages__3CGXFUc -/* 8035D368 0035A2C8 48 00 01 5C */ b lbl_8035D4C4 -lbl_8035D36C: -/* 8035D36C 0035A2CC 38 60 00 03 */ li r3, 3 -/* 8035D370 0035A2D0 4B FA BA A5 */ bl SetNumTexGens__3CGXFUc -/* 8035D374 0035A2D4 38 60 00 02 */ li r3, 2 -/* 8035D378 0035A2D8 38 80 00 01 */ li r4, 1 -/* 8035D37C 0035A2DC 38 A0 00 00 */ li r5, 0 -/* 8035D380 0035A2E0 38 C0 00 1E */ li r6, 0x1e -/* 8035D384 0035A2E4 38 E0 00 00 */ li r7, 0 -/* 8035D388 0035A2E8 39 00 00 7D */ li r8, 0x7d -/* 8035D38C 0035A2EC 4B FA B3 41 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx -/* 8035D390 0035A2F0 57 A0 06 3F */ clrlwi. r0, r29, 0x18 -/* 8035D394 0035A2F4 41 82 00 0C */ beq lbl_8035D3A0 -/* 8035D398 0035A2F8 C0 02 CD 38 */ lfs f0, lbl_805AEA58@sda21(r2) -/* 8035D39C 0035A2FC 48 00 00 08 */ b lbl_8035D3A4 -lbl_8035D3A0: -/* 8035D3A0 0035A300 C0 02 CD 24 */ lfs f0, lbl_805AEA44@sda21(r2) -lbl_8035D3A4: -/* 8035D3A4 0035A304 80 1F 00 54 */ lwz r0, 0x54(r31) -/* 8035D3A8 0035A308 38 61 00 3C */ addi r3, r1, 0x3c -/* 8035D3AC 0035A30C 81 7F 00 38 */ lwz r11, 0x38(r31) -/* 8035D3B0 0035A310 38 80 00 1E */ li r4, 0x1e -/* 8035D3B4 0035A314 90 01 00 58 */ stw r0, 0x58(r1) -/* 8035D3B8 0035A318 38 A0 00 01 */ li r5, 1 -/* 8035D3BC 0035A31C 81 5F 00 3C */ lwz r10, 0x3c(r31) -/* 8035D3C0 0035A320 81 3F 00 40 */ lwz r9, 0x40(r31) -/* 8035D3C4 0035A324 81 1F 00 44 */ lwz r8, 0x44(r31) -/* 8035D3C8 0035A328 80 FF 00 48 */ lwz r7, 0x48(r31) -/* 8035D3CC 0035A32C 80 DF 00 4C */ lwz r6, 0x4c(r31) -/* 8035D3D0 0035A330 80 1F 00 50 */ lwz r0, 0x50(r31) -/* 8035D3D4 0035A334 91 61 00 3C */ stw r11, 0x3c(r1) -/* 8035D3D8 0035A338 91 41 00 40 */ stw r10, 0x40(r1) -/* 8035D3DC 0035A33C 91 21 00 44 */ stw r9, 0x44(r1) -/* 8035D3E0 0035A340 91 01 00 48 */ stw r8, 0x48(r1) -/* 8035D3E4 0035A344 90 E1 00 4C */ stw r7, 0x4c(r1) -/* 8035D3E8 0035A348 90 C1 00 50 */ stw r6, 0x50(r1) -/* 8035D3EC 0035A34C 90 01 00 54 */ stw r0, 0x54(r1) -/* 8035D3F0 0035A350 D0 01 00 58 */ stfs f0, 0x58(r1) -/* 8035D3F4 0035A354 48 01 F0 9D */ bl GXLoadTexMtxImm -/* 8035D3F8 0035A358 38 61 00 1C */ addi r3, r1, 0x1c -/* 8035D3FC 0035A35C 38 9F 00 00 */ addi r4, r31, 0 -/* 8035D400 0035A360 38 A0 00 08 */ li r5, 8 -/* 8035D404 0035A364 38 C0 00 04 */ li r6, 4 -/* 8035D408 0035A368 38 E0 00 01 */ li r7, 1 -/* 8035D40C 0035A36C 39 00 00 01 */ li r8, 1 -/* 8035D410 0035A370 39 20 00 01 */ li r9, 1 -/* 8035D414 0035A374 39 40 00 00 */ li r10, 0 -/* 8035D418 0035A378 48 01 CA 4D */ bl GXInitTexObj -/* 8035D41C 0035A37C C0 22 CD 24 */ lfs f1, lbl_805AEA44@sda21(r2) -/* 8035D420 0035A380 38 61 00 1C */ addi r3, r1, 0x1c -/* 8035D424 0035A384 38 80 00 00 */ li r4, 0 -/* 8035D428 0035A388 38 A0 00 00 */ li r5, 0 -/* 8035D42C 0035A38C FC 40 08 90 */ fmr f2, f1 -/* 8035D430 0035A390 38 C0 00 00 */ li r6, 0 -/* 8035D434 0035A394 FC 60 08 90 */ fmr f3, f1 -/* 8035D438 0035A398 38 E0 00 00 */ li r7, 0 -/* 8035D43C 0035A39C 39 00 00 00 */ li r8, 0 -/* 8035D440 0035A3A0 48 01 CC E1 */ bl GXInitTexObjLOD -/* 8035D444 0035A3A4 38 61 00 1C */ addi r3, r1, 0x1c -/* 8035D448 0035A3A8 38 80 00 03 */ li r4, 3 -/* 8035D44C 0035A3AC 48 01 D0 49 */ bl GXLoadTexObj -/* 8035D450 0035A3B0 38 60 00 03 */ li r3, 3 -/* 8035D454 0035A3B4 4B FB 0C F5 */ bl InvalidateTexmap__8CTextureF11_GXTexMapID -/* 8035D458 0035A3B8 38 60 00 04 */ li r3, 4 -/* 8035D45C 0035A3BC 38 80 00 02 */ li r4, 2 -/* 8035D460 0035A3C0 38 A0 00 03 */ li r5, 3 -/* 8035D464 0035A3C4 38 C0 00 FF */ li r6, 0xff -/* 8035D468 0035A3C8 4B FA B4 E5 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID -/* 8035D46C 0035A3CC 38 60 00 04 */ li r3, 4 -/* 8035D470 0035A3D0 4B FA A7 E1 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID -/* 8035D474 0035A3D4 38 60 00 04 */ li r3, 4 -/* 8035D478 0035A3D8 38 80 00 0F */ li r4, 0xf -/* 8035D47C 0035A3DC 38 A0 00 0F */ li r5, 0xf -/* 8035D480 0035A3E0 38 C0 00 0F */ li r6, 0xf -/* 8035D484 0035A3E4 38 E0 00 00 */ li r7, 0 -/* 8035D488 0035A3E8 4B FA B7 65 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg -/* 8035D48C 0035A3EC 38 60 00 04 */ li r3, 4 -/* 8035D490 0035A3F0 38 80 00 07 */ li r4, 7 -/* 8035D494 0035A3F4 38 A0 00 07 */ li r5, 7 -/* 8035D498 0035A3F8 38 C0 00 07 */ li r6, 7 -/* 8035D49C 0035A3FC 38 E0 00 04 */ li r7, 4 -/* 8035D4A0 0035A400 4B FA B6 F5 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg -/* 8035D4A4 0035A404 38 60 00 01 */ li r3, 1 -/* 8035D4A8 0035A408 38 80 00 80 */ li r4, 0x80 -/* 8035D4AC 0035A40C 38 A0 00 00 */ li r5, 0 -/* 8035D4B0 0035A410 38 C0 00 07 */ li r6, 7 -/* 8035D4B4 0035A414 38 E0 00 00 */ li r7, 0 -/* 8035D4B8 0035A418 4B FA B3 5D */ bl SetAlphaCompare__3CGXF10_GXCompareUc10_GXAlphaOp10_GXCompareUc -/* 8035D4BC 0035A41C 38 60 00 05 */ li r3, 5 -/* 8035D4C0 0035A420 4B FA B7 D1 */ bl SetNumTevStages__3CGXFUc -lbl_8035D4C4: -/* 8035D4C4 0035A424 38 61 00 5C */ addi r3, r1, 0x5c -/* 8035D4C8 0035A428 4B FA A9 61 */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList -/* 8035D4CC 0035A42C 38 60 00 01 */ li r3, 1 -/* 8035D4D0 0035A430 48 01 EA 31 */ bl GXSetColorUpdate -/* 8035D4D4 0035A434 38 60 00 00 */ li r3, 0 -/* 8035D4D8 0035A438 48 01 EA 55 */ bl GXSetAlphaUpdate -/* 8035D4DC 0035A43C 48 01 D3 65 */ bl GXInvalidateTexAll -/* 8035D4E0 0035A440 38 60 00 07 */ li r3, 7 -/* 8035D4E4 0035A444 38 80 00 09 */ li r4, 9 -/* 8035D4E8 0035A448 38 A0 00 01 */ li r5, 1 -/* 8035D4EC 0035A44C 38 C0 00 04 */ li r6, 4 -/* 8035D4F0 0035A450 38 E0 00 00 */ li r7, 0 -/* 8035D4F4 0035A454 48 01 A2 99 */ bl GXSetVtxAttrFmt -/* 8035D4F8 0035A458 38 60 00 07 */ li r3, 7 -/* 8035D4FC 0035A45C 38 80 00 0D */ li r4, 0xd -/* 8035D500 0035A460 38 A0 00 01 */ li r5, 1 -/* 8035D504 0035A464 38 C0 00 02 */ li r6, 2 -/* 8035D508 0035A468 38 E0 00 00 */ li r7, 0 -/* 8035D50C 0035A46C 48 01 A2 81 */ bl GXSetVtxAttrFmt -/* 8035D510 0035A470 38 60 00 00 */ li r3, 0 -/* 8035D514 0035A474 38 80 00 01 */ li r4, 1 -/* 8035D518 0035A478 38 A0 00 01 */ li r5, 1 -/* 8035D51C 0035A47C 38 C0 00 FF */ li r6, 0xff -/* 8035D520 0035A480 4B FA B4 2D */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID -/* 8035D524 0035A484 38 60 00 00 */ li r3, 0 -/* 8035D528 0035A488 38 80 00 0F */ li r4, 0xf -/* 8035D52C 0035A48C 38 A0 00 08 */ li r5, 8 -/* 8035D530 0035A490 38 C0 00 0E */ li r6, 0xe -/* 8035D534 0035A494 38 E0 00 02 */ li r7, 2 -/* 8035D538 0035A498 4B FA B6 B5 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg -/* 8035D53C 0035A49C 38 60 00 00 */ li r3, 0 -/* 8035D540 0035A4A0 38 80 00 00 */ li r4, 0 -/* 8035D544 0035A4A4 38 A0 00 00 */ li r5, 0 -/* 8035D548 0035A4A8 38 C0 00 00 */ li r6, 0 -/* 8035D54C 0035A4AC 38 E0 00 00 */ li r7, 0 -/* 8035D550 0035A4B0 39 00 00 00 */ li r8, 0 -/* 8035D554 0035A4B4 4B FA B5 E5 */ bl SetTevColorOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID -/* 8035D558 0035A4B8 38 60 00 00 */ li r3, 0 -/* 8035D55C 0035A4BC 38 80 00 07 */ li r4, 7 -/* 8035D560 0035A4C0 38 A0 00 04 */ li r5, 4 -/* 8035D564 0035A4C4 38 C0 00 06 */ li r6, 6 -/* 8035D568 0035A4C8 38 E0 00 01 */ li r7, 1 -/* 8035D56C 0035A4CC 4B FA B6 29 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg -/* 8035D570 0035A4D0 38 60 00 00 */ li r3, 0 -/* 8035D574 0035A4D4 38 80 00 01 */ li r4, 1 -/* 8035D578 0035A4D8 38 A0 00 00 */ li r5, 0 -/* 8035D57C 0035A4DC 38 C0 00 00 */ li r6, 0 -/* 8035D580 0035A4E0 38 E0 00 00 */ li r7, 0 -/* 8035D584 0035A4E4 39 00 00 00 */ li r8, 0 -/* 8035D588 0035A4E8 4B FA B4 F9 */ bl SetTevAlphaOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID -/* 8035D58C 0035A4EC 38 60 00 00 */ li r3, 0 -/* 8035D590 0035A4F0 38 80 00 0C */ li r4, 0xc -/* 8035D594 0035A4F4 4B FA B4 4D */ bl SetTevKColorSel__3CGXF13_GXTevStageID15_GXTevKColorSel -/* 8035D598 0035A4F8 38 60 00 00 */ li r3, 0 -/* 8035D59C 0035A4FC 38 80 00 1C */ li r4, 0x1c -/* 8035D5A0 0035A500 4B FA B3 FD */ bl SetTevKAlphaSel__3CGXF13_GXTevStageID15_GXTevKAlphaSel -/* 8035D5A4 0035A504 38 60 00 01 */ li r3, 1 -/* 8035D5A8 0035A508 38 80 00 01 */ li r4, 1 -/* 8035D5AC 0035A50C 38 A0 00 02 */ li r5, 2 -/* 8035D5B0 0035A510 38 C0 00 FF */ li r6, 0xff -/* 8035D5B4 0035A514 4B FA B3 99 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID -/* 8035D5B8 0035A518 38 60 00 01 */ li r3, 1 -/* 8035D5BC 0035A51C 38 80 00 0F */ li r4, 0xf -/* 8035D5C0 0035A520 38 A0 00 08 */ li r5, 8 -/* 8035D5C4 0035A524 38 C0 00 0E */ li r6, 0xe -/* 8035D5C8 0035A528 38 E0 00 00 */ li r7, 0 -/* 8035D5CC 0035A52C 4B FA B6 21 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg -/* 8035D5D0 0035A530 38 60 00 01 */ li r3, 1 -/* 8035D5D4 0035A534 38 80 00 00 */ li r4, 0 -/* 8035D5D8 0035A538 38 A0 00 00 */ li r5, 0 -/* 8035D5DC 0035A53C 38 C0 00 01 */ li r6, 1 -/* 8035D5E0 0035A540 38 E0 00 00 */ li r7, 0 -/* 8035D5E4 0035A544 39 00 00 00 */ li r8, 0 -/* 8035D5E8 0035A548 4B FA B5 51 */ bl SetTevColorOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID -/* 8035D5EC 0035A54C 38 60 00 01 */ li r3, 1 -/* 8035D5F0 0035A550 38 80 00 07 */ li r4, 7 -/* 8035D5F4 0035A554 38 A0 00 04 */ li r5, 4 -/* 8035D5F8 0035A558 38 C0 00 06 */ li r6, 6 -/* 8035D5FC 0035A55C 38 E0 00 00 */ li r7, 0 -/* 8035D600 0035A560 4B FA B5 95 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg -/* 8035D604 0035A564 38 60 00 01 */ li r3, 1 -/* 8035D608 0035A568 38 80 00 01 */ li r4, 1 -/* 8035D60C 0035A56C 38 A0 00 00 */ li r5, 0 -/* 8035D610 0035A570 38 C0 00 00 */ li r6, 0 -/* 8035D614 0035A574 38 E0 00 00 */ li r7, 0 -/* 8035D618 0035A578 39 00 00 00 */ li r8, 0 -/* 8035D61C 0035A57C 4B FA B4 65 */ bl SetTevAlphaOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID -/* 8035D620 0035A580 38 60 00 01 */ li r3, 1 -/* 8035D624 0035A584 38 80 00 0D */ li r4, 0xd -/* 8035D628 0035A588 4B FA B3 B9 */ bl SetTevKColorSel__3CGXF13_GXTevStageID15_GXTevKColorSel -/* 8035D62C 0035A58C 38 60 00 01 */ li r3, 1 -/* 8035D630 0035A590 38 80 00 1D */ li r4, 0x1d -/* 8035D634 0035A594 4B FA B3 69 */ bl SetTevKAlphaSel__3CGXF13_GXTevStageID15_GXTevKAlphaSel -/* 8035D638 0035A598 38 60 00 02 */ li r3, 2 -/* 8035D63C 0035A59C 38 80 00 00 */ li r4, 0 -/* 8035D640 0035A5A0 38 A0 00 00 */ li r5, 0 -/* 8035D644 0035A5A4 38 C0 00 FF */ li r6, 0xff -/* 8035D648 0035A5A8 4B FA B3 05 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID -/* 8035D64C 0035A5AC 38 60 00 02 */ li r3, 2 -/* 8035D650 0035A5B0 38 80 00 0F */ li r4, 0xf -/* 8035D654 0035A5B4 38 A0 00 08 */ li r5, 8 -/* 8035D658 0035A5B8 38 C0 00 0C */ li r6, 0xc -/* 8035D65C 0035A5BC 38 E0 00 00 */ li r7, 0 -/* 8035D660 0035A5C0 4B FA B5 8D */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg -/* 8035D664 0035A5C4 38 60 00 02 */ li r3, 2 -/* 8035D668 0035A5C8 38 80 00 00 */ li r4, 0 -/* 8035D66C 0035A5CC 38 A0 00 00 */ li r5, 0 -/* 8035D670 0035A5D0 38 C0 00 00 */ li r6, 0 -/* 8035D674 0035A5D4 38 E0 00 01 */ li r7, 1 -/* 8035D678 0035A5D8 39 00 00 00 */ li r8, 0 -/* 8035D67C 0035A5DC 4B FA B4 BD */ bl SetTevColorOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID -/* 8035D680 0035A5E0 38 60 00 02 */ li r3, 2 -/* 8035D684 0035A5E4 38 80 00 04 */ li r4, 4 -/* 8035D688 0035A5E8 38 A0 00 07 */ li r5, 7 -/* 8035D68C 0035A5EC 38 C0 00 07 */ li r6, 7 -/* 8035D690 0035A5F0 38 E0 00 00 */ li r7, 0 -/* 8035D694 0035A5F4 4B FA B5 01 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg -/* 8035D698 0035A5F8 38 60 00 02 */ li r3, 2 -/* 8035D69C 0035A5FC 38 80 00 00 */ li r4, 0 -/* 8035D6A0 0035A600 38 A0 00 00 */ li r5, 0 -/* 8035D6A4 0035A604 38 C0 00 00 */ li r6, 0 -/* 8035D6A8 0035A608 38 E0 00 01 */ li r7, 1 -/* 8035D6AC 0035A60C 39 00 00 00 */ li r8, 0 -/* 8035D6B0 0035A610 4B FA B3 D1 */ bl SetTevAlphaOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID -/* 8035D6B4 0035A614 38 60 00 03 */ li r3, 3 -/* 8035D6B8 0035A618 38 80 00 FF */ li r4, 0xff -/* 8035D6BC 0035A61C 38 A0 00 FF */ li r5, 0xff -/* 8035D6C0 0035A620 38 C0 00 FF */ li r6, 0xff -/* 8035D6C4 0035A624 4B FA B2 89 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID -/* 8035D6C8 0035A628 38 60 00 03 */ li r3, 3 -/* 8035D6CC 0035A62C 38 80 00 01 */ li r4, 1 -/* 8035D6D0 0035A630 38 A0 00 00 */ li r5, 0 -/* 8035D6D4 0035A634 38 C0 00 0E */ li r6, 0xe -/* 8035D6D8 0035A638 38 E0 00 0F */ li r7, 0xf -/* 8035D6DC 0035A63C 4B FA B5 11 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg -/* 8035D6E0 0035A640 38 60 00 03 */ li r3, 3 -/* 8035D6E4 0035A644 38 80 00 00 */ li r4, 0 -/* 8035D6E8 0035A648 38 A0 00 00 */ li r5, 0 -/* 8035D6EC 0035A64C 38 C0 00 00 */ li r6, 0 -/* 8035D6F0 0035A650 38 E0 00 01 */ li r7, 1 -/* 8035D6F4 0035A654 39 00 00 00 */ li r8, 0 -/* 8035D6F8 0035A658 4B FA B4 41 */ bl SetTevColorOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID -/* 8035D6FC 0035A65C 38 60 00 03 */ li r3, 3 -/* 8035D700 0035A660 38 80 00 07 */ li r4, 7 -/* 8035D704 0035A664 38 A0 00 07 */ li r5, 7 -/* 8035D708 0035A668 38 C0 00 07 */ li r6, 7 -/* 8035D70C 0035A66C 38 E0 00 07 */ li r7, 7 -/* 8035D710 0035A670 4B FA B4 85 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg -/* 8035D714 0035A674 38 60 00 03 */ li r3, 3 -/* 8035D718 0035A678 38 80 00 00 */ li r4, 0 -/* 8035D71C 0035A67C 38 A0 00 00 */ li r5, 0 -/* 8035D720 0035A680 38 C0 00 00 */ li r6, 0 -/* 8035D724 0035A684 38 E0 00 01 */ li r7, 1 -/* 8035D728 0035A688 39 00 00 00 */ li r8, 0 -/* 8035D72C 0035A68C 4B FA B3 55 */ bl SetTevAlphaOp__3CGXF13_GXTevStageID8_GXTevOp10_GXTevBias11_GXTevScaleUc11_GXTevRegID -/* 8035D730 0035A690 38 60 00 03 */ li r3, 3 -/* 8035D734 0035A694 38 80 00 0E */ li r4, 0xe -/* 8035D738 0035A698 4B FA B2 A9 */ bl SetTevKColorSel__3CGXF13_GXTevStageID15_GXTevKColorSel -/* 8035D73C 0035A69C 80 A2 CD 10 */ lwz r5, lbl_805AEA30@sda21(r2) -/* 8035D740 0035A6A0 38 81 00 14 */ addi r4, r1, 0x14 -/* 8035D744 0035A6A4 80 02 CD 14 */ lwz r0, lbl_805AEA34@sda21(r2) -/* 8035D748 0035A6A8 38 60 00 01 */ li r3, 1 -/* 8035D74C 0035A6AC 90 A1 00 14 */ stw r5, 0x14(r1) -/* 8035D750 0035A6B0 90 01 00 18 */ stw r0, 0x18(r1) -/* 8035D754 0035A6B4 48 01 DF 1D */ bl GXSetTevColorS10 -/* 8035D758 0035A6B8 80 02 CD 18 */ lwz r0, lbl_805AEA38@sda21(r2) -/* 8035D75C 0035A6BC 38 81 00 10 */ addi r4, r1, 0x10 -/* 8035D760 0035A6C0 38 60 00 00 */ li r3, 0 -/* 8035D764 0035A6C4 90 01 00 10 */ stw r0, 0x10(r1) -/* 8035D768 0035A6C8 4B FA B4 DD */ bl SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor -/* 8035D76C 0035A6CC 80 02 CD 1C */ lwz r0, lbl_805AEA3C@sda21(r2) -/* 8035D770 0035A6D0 38 81 00 0C */ addi r4, r1, 0xc -/* 8035D774 0035A6D4 38 60 00 01 */ li r3, 1 -/* 8035D778 0035A6D8 90 01 00 0C */ stw r0, 0xc(r1) -/* 8035D77C 0035A6DC 4B FA B4 C9 */ bl SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor -/* 8035D780 0035A6E0 80 02 CD 20 */ lwz r0, lbl_805AEA40@sda21(r2) -/* 8035D784 0035A6E4 38 81 00 08 */ addi r4, r1, 8 -/* 8035D788 0035A6E8 38 60 00 02 */ li r3, 2 -/* 8035D78C 0035A6EC 90 01 00 08 */ stw r0, 8(r1) -/* 8035D790 0035A6F0 4B FA B4 B5 */ bl SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor -/* 8035D794 0035A6F4 80 01 00 94 */ lwz r0, 0x94(r1) -/* 8035D798 0035A6F8 83 E1 00 8C */ lwz r31, 0x8c(r1) -/* 8035D79C 0035A6FC 83 C1 00 88 */ lwz r30, 0x88(r1) -/* 8035D7A0 0035A700 83 A1 00 84 */ lwz r29, 0x84(r1) -/* 8035D7A4 0035A704 7C 08 03 A6 */ mtlr r0 -/* 8035D7A8 0035A708 38 21 00 90 */ addi r1, r1, 0x90 -/* 8035D7AC 0035A70C 4E 80 00 20 */ blr - -.global MyTHPGXRestore__Fv -MyTHPGXRestore__Fv: -/* 8035D7B0 0035A710 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8035D7B4 0035A714 7C 08 02 A6 */ mflr r0 -/* 8035D7B8 0035A718 38 60 00 01 */ li r3, 1 -/* 8035D7BC 0035A71C 38 80 00 07 */ li r4, 7 -/* 8035D7C0 0035A720 90 01 00 14 */ stw r0, 0x14(r1) -/* 8035D7C4 0035A724 38 A0 00 00 */ li r5, 0 -/* 8035D7C8 0035A728 4B FA B0 B5 */ bl SetZMode__3CGXFb10_GXCompareb -/* 8035D7CC 0035A72C 38 60 00 00 */ li r3, 0 -/* 8035D7D0 0035A730 38 80 00 01 */ li r4, 1 -/* 8035D7D4 0035A734 38 A0 00 00 */ li r5, 0 -/* 8035D7D8 0035A738 38 C0 00 0F */ li r6, 0xf -/* 8035D7DC 0035A73C 4B FA B0 F5 */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp -/* 8035D7E0 0035A740 38 60 00 01 */ li r3, 1 -/* 8035D7E4 0035A744 4B FA B6 31 */ bl SetNumTexGens__3CGXFUc -/* 8035D7E8 0035A748 38 60 00 00 */ li r3, 0 -/* 8035D7EC 0035A74C 4B FA B6 65 */ bl SetNumChans__3CGXFUc -/* 8035D7F0 0035A750 38 60 00 01 */ li r3, 1 -/* 8035D7F4 0035A754 4B FA B4 9D */ bl SetNumTevStages__3CGXFUc -/* 8035D7F8 0035A758 38 60 00 00 */ li r3, 0 -/* 8035D7FC 0035A75C 38 80 00 00 */ li r4, 0 -/* 8035D800 0035A760 38 A0 00 00 */ li r5, 0 -/* 8035D804 0035A764 38 C0 00 FF */ li r6, 0xff -/* 8035D808 0035A768 4B FA B1 45 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID -/* 8035D80C 0035A76C 38 60 00 07 */ li r3, 7 -/* 8035D810 0035A770 38 80 00 00 */ li r4, 0 -/* 8035D814 0035A774 38 A0 00 00 */ li r5, 0 -/* 8035D818 0035A778 38 C0 00 07 */ li r6, 7 -/* 8035D81C 0035A77C 38 E0 00 00 */ li r7, 0 -/* 8035D820 0035A780 4B FA AF F5 */ bl SetAlphaCompare__3CGXF10_GXCompareUc10_GXAlphaOp10_GXCompareUc -/* 8035D824 0035A784 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8035D828 0035A788 7C 08 03 A6 */ mtlr r0 -/* 8035D82C 0035A78C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8035D830 0035A790 4E 80 00 20 */ blr - -.global "reserve__Q24rstl67vectorFi" -"reserve__Q24rstl67vectorFi": -/* 8035D834 0035A794 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8035D838 0035A798 7C 08 02 A6 */ mflr r0 -/* 8035D83C 0035A79C 90 01 00 34 */ stw r0, 0x34(r1) -/* 8035D840 0035A7A0 BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 8035D844 0035A7A4 7C 9E 23 78 */ mr r30, r4 -/* 8035D848 0035A7A8 7C 7D 1B 78 */ mr r29, r3 -/* 8035D84C 0035A7AC 80 03 00 08 */ lwz r0, 8(r3) -/* 8035D850 0035A7B0 7C 1E 00 00 */ cmpw r30, r0 -/* 8035D854 0035A7B4 40 81 01 10 */ ble lbl_8035D964 -/* 8035D858 0035A7B8 1C 7E 00 28 */ mulli r3, r30, 0x28 -/* 8035D85C 0035A7BC 2C 03 00 00 */ cmpwi r3, 0 -/* 8035D860 0035A7C0 40 82 00 0C */ bne lbl_8035D86C -/* 8035D864 0035A7C4 3B E0 00 00 */ li r31, 0 -/* 8035D868 0035A7C8 48 00 00 18 */ b lbl_8035D880 -lbl_8035D86C: -/* 8035D86C 0035A7CC 3C 80 80 3E */ lis r4, lbl_803D83D8@ha -/* 8035D870 0035A7D0 38 A0 00 00 */ li r5, 0 -/* 8035D874 0035A7D4 38 84 83 D8 */ addi r4, r4, lbl_803D83D8@l -/* 8035D878 0035A7D8 4B FB 7F A1 */ bl __nwa__FUlPCcPCc -/* 8035D87C 0035A7DC 7C 7F 1B 78 */ mr r31, r3 -lbl_8035D880: -/* 8035D880 0035A7E0 80 1D 00 04 */ lwz r0, 4(r29) -/* 8035D884 0035A7E4 7F E5 FB 78 */ mr r5, r31 -/* 8035D888 0035A7E8 80 DD 00 0C */ lwz r6, 0xc(r29) -/* 8035D88C 0035A7EC 38 61 00 14 */ addi r3, r1, 0x14 -/* 8035D890 0035A7F0 1C 00 00 28 */ mulli r0, r0, 0x28 -/* 8035D894 0035A7F4 38 81 00 0C */ addi r4, r1, 0xc -/* 8035D898 0035A7F8 7C C6 02 14 */ add r6, r6, r0 -/* 8035D89C 0035A7FC 90 C1 00 0C */ stw r6, 0xc(r1) -/* 8035D8A0 0035A800 80 1D 00 0C */ lwz r0, 0xc(r29) -/* 8035D8A4 0035A804 90 C1 00 08 */ stw r6, 8(r1) -/* 8035D8A8 0035A808 90 01 00 10 */ stw r0, 0x10(r1) -/* 8035D8AC 0035A80C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8035D8B0 0035A810 48 00 00 C9 */ bl "construct__4rstlFPvRCQ212CMoviePlayer14CTHPTextureSet" -/* 8035D8B4 0035A814 80 1D 00 04 */ lwz r0, 4(r29) -/* 8035D8B8 0035A818 83 7D 00 0C */ lwz r27, 0xc(r29) -/* 8035D8BC 0035A81C 1C 00 00 28 */ mulli r0, r0, 0x28 -/* 8035D8C0 0035A820 7F 9B 02 14 */ add r28, r27, r0 -/* 8035D8C4 0035A824 48 00 00 80 */ b lbl_8035D944 -lbl_8035D8C8: -/* 8035D8C8 0035A828 28 1B 00 00 */ cmplwi r27, 0 -/* 8035D8CC 0035A82C 41 82 00 74 */ beq lbl_8035D940 -/* 8035D8D0 0035A830 34 1B 00 18 */ addic. r0, r27, 0x18 -/* 8035D8D4 0035A834 41 82 00 18 */ beq lbl_8035D8EC -/* 8035D8D8 0035A838 88 1B 00 18 */ lbz r0, 0x18(r27) -/* 8035D8DC 0035A83C 28 00 00 00 */ cmplwi r0, 0 -/* 8035D8E0 0035A840 41 82 00 0C */ beq lbl_8035D8EC -/* 8035D8E4 0035A844 80 7B 00 1C */ lwz r3, 0x1c(r27) -/* 8035D8E8 0035A848 4B FB 80 49 */ bl Free__7CMemoryFPCv -lbl_8035D8EC: -/* 8035D8EC 0035A84C 34 1B 00 10 */ addic. r0, r27, 0x10 -/* 8035D8F0 0035A850 41 82 00 18 */ beq lbl_8035D908 -/* 8035D8F4 0035A854 88 1B 00 10 */ lbz r0, 0x10(r27) -/* 8035D8F8 0035A858 28 00 00 00 */ cmplwi r0, 0 -/* 8035D8FC 0035A85C 41 82 00 0C */ beq lbl_8035D908 -/* 8035D900 0035A860 80 7B 00 14 */ lwz r3, 0x14(r27) -/* 8035D904 0035A864 4B FB 80 2D */ bl Free__7CMemoryFPCv -lbl_8035D908: -/* 8035D908 0035A868 34 1B 00 08 */ addic. r0, r27, 8 -/* 8035D90C 0035A86C 41 82 00 18 */ beq lbl_8035D924 -/* 8035D910 0035A870 88 1B 00 08 */ lbz r0, 8(r27) -/* 8035D914 0035A874 28 00 00 00 */ cmplwi r0, 0 -/* 8035D918 0035A878 41 82 00 0C */ beq lbl_8035D924 -/* 8035D91C 0035A87C 80 7B 00 0C */ lwz r3, 0xc(r27) -/* 8035D920 0035A880 4B FB 80 11 */ bl Free__7CMemoryFPCv -lbl_8035D924: -/* 8035D924 0035A884 28 1B 00 00 */ cmplwi r27, 0 -/* 8035D928 0035A888 41 82 00 18 */ beq lbl_8035D940 -/* 8035D92C 0035A88C 88 1B 00 00 */ lbz r0, 0(r27) -/* 8035D930 0035A890 28 00 00 00 */ cmplwi r0, 0 -/* 8035D934 0035A894 41 82 00 0C */ beq lbl_8035D940 -/* 8035D938 0035A898 80 7B 00 04 */ lwz r3, 4(r27) -/* 8035D93C 0035A89C 4B FB 7F F5 */ bl Free__7CMemoryFPCv -lbl_8035D940: -/* 8035D940 0035A8A0 3B 7B 00 28 */ addi r27, r27, 0x28 -lbl_8035D944: -/* 8035D944 0035A8A4 7C 1B E0 40 */ cmplw r27, r28 -/* 8035D948 0035A8A8 40 82 FF 80 */ bne lbl_8035D8C8 -/* 8035D94C 0035A8AC 80 7D 00 0C */ lwz r3, 0xc(r29) -/* 8035D950 0035A8B0 28 03 00 00 */ cmplwi r3, 0 -/* 8035D954 0035A8B4 41 82 00 08 */ beq lbl_8035D95C -/* 8035D958 0035A8B8 4B FB 7F D9 */ bl Free__7CMemoryFPCv -lbl_8035D95C: -/* 8035D95C 0035A8BC 93 FD 00 0C */ stw r31, 0xc(r29) -/* 8035D960 0035A8C0 93 DD 00 08 */ stw r30, 8(r29) -lbl_8035D964: -/* 8035D964 0035A8C4 BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 8035D968 0035A8C8 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8035D96C 0035A8CC 7C 08 03 A6 */ mtlr r0 -/* 8035D970 0035A8D0 38 21 00 30 */ addi r1, r1, 0x30 -/* 8035D974 0035A8D4 4E 80 00 20 */ blr - -.global "construct__4rstlFPvRCQ212CMoviePlayer14CTHPTextureSet" -"construct__4rstlFPvRCQ212CMoviePlayer14CTHPTextureSet": -/* 8035D978 0035A8D8 80 C3 00 00 */ lwz r6, 0(r3) -/* 8035D97C 0035A8DC 48 00 00 78 */ b lbl_8035D9F4 -lbl_8035D980: -/* 8035D980 0035A8E0 28 05 00 00 */ cmplwi r5, 0 -/* 8035D984 0035A8E4 41 82 00 68 */ beq lbl_8035D9EC -/* 8035D988 0035A8E8 88 06 00 00 */ lbz r0, 0(r6) -/* 8035D98C 0035A8EC 38 60 00 00 */ li r3, 0 -/* 8035D990 0035A8F0 98 05 00 00 */ stb r0, 0(r5) -/* 8035D994 0035A8F4 80 06 00 04 */ lwz r0, 4(r6) -/* 8035D998 0035A8F8 90 05 00 04 */ stw r0, 4(r5) -/* 8035D99C 0035A8FC 98 66 00 00 */ stb r3, 0(r6) -/* 8035D9A0 0035A900 88 06 00 08 */ lbz r0, 8(r6) -/* 8035D9A4 0035A904 98 05 00 08 */ stb r0, 8(r5) -/* 8035D9A8 0035A908 80 06 00 0C */ lwz r0, 0xc(r6) -/* 8035D9AC 0035A90C 90 05 00 0C */ stw r0, 0xc(r5) -/* 8035D9B0 0035A910 98 66 00 08 */ stb r3, 8(r6) -/* 8035D9B4 0035A914 88 06 00 10 */ lbz r0, 0x10(r6) -/* 8035D9B8 0035A918 98 05 00 10 */ stb r0, 0x10(r5) -/* 8035D9BC 0035A91C 80 06 00 14 */ lwz r0, 0x14(r6) -/* 8035D9C0 0035A920 90 05 00 14 */ stw r0, 0x14(r5) -/* 8035D9C4 0035A924 98 66 00 10 */ stb r3, 0x10(r6) -/* 8035D9C8 0035A928 88 06 00 18 */ lbz r0, 0x18(r6) -/* 8035D9CC 0035A92C 98 05 00 18 */ stb r0, 0x18(r5) -/* 8035D9D0 0035A930 80 06 00 1C */ lwz r0, 0x1c(r6) -/* 8035D9D4 0035A934 90 05 00 1C */ stw r0, 0x1c(r5) -/* 8035D9D8 0035A938 98 66 00 18 */ stb r3, 0x18(r6) -/* 8035D9DC 0035A93C 80 06 00 20 */ lwz r0, 0x20(r6) -/* 8035D9E0 0035A940 90 05 00 20 */ stw r0, 0x20(r5) -/* 8035D9E4 0035A944 80 06 00 24 */ lwz r0, 0x24(r6) -/* 8035D9E8 0035A948 90 05 00 24 */ stw r0, 0x24(r5) -lbl_8035D9EC: -/* 8035D9EC 0035A94C 38 A5 00 28 */ addi r5, r5, 0x28 -/* 8035D9F0 0035A950 38 C6 00 28 */ addi r6, r6, 0x28 -lbl_8035D9F4: -/* 8035D9F4 0035A954 80 04 00 00 */ lwz r0, 0(r4) -/* 8035D9F8 0035A958 7C 06 00 40 */ cmplw r6, r0 -/* 8035D9FC 0035A95C 40 82 FF 84 */ bne lbl_8035D980 -/* 8035DA00 0035A960 7C A3 2B 78 */ mr r3, r5 -/* 8035DA04 0035A964 4E 80 00 20 */ blr - -.global "reserve__Q24rstl56vector,Q24rstl17rmemory_allocator>Fi" -"reserve__Q24rstl56vector,Q24rstl17rmemory_allocator>Fi": -/* 8035DA08 0035A968 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8035DA0C 0035A96C 7C 08 02 A6 */ mflr r0 -/* 8035DA10 0035A970 90 01 00 34 */ stw r0, 0x34(r1) -/* 8035DA14 0035A974 BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 8035DA18 0035A978 7C 9F 23 78 */ mr r31, r4 -/* 8035DA1C 0035A97C 7C 7E 1B 78 */ mr r30, r3 -/* 8035DA20 0035A980 80 03 00 08 */ lwz r0, 8(r3) -/* 8035DA24 0035A984 7C 1F 00 00 */ cmpw r31, r0 -/* 8035DA28 0035A988 40 81 00 D4 */ ble lbl_8035DAFC -/* 8035DA2C 0035A98C 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c -/* 8035DA30 0035A990 40 82 00 0C */ bne lbl_8035DA3C -/* 8035DA34 0035A994 3B A0 00 00 */ li r29, 0 -/* 8035DA38 0035A998 48 00 00 18 */ b lbl_8035DA50 -lbl_8035DA3C: -/* 8035DA3C 0035A99C 3C 80 80 3E */ lis r4, lbl_803D83D8@ha -/* 8035DA40 0035A9A0 38 A0 00 00 */ li r5, 0 -/* 8035DA44 0035A9A4 38 84 83 D8 */ addi r4, r4, lbl_803D83D8@l -/* 8035DA48 0035A9A8 4B FB 7D D1 */ bl __nwa__FUlPCcPCc -/* 8035DA4C 0035A9AC 7C 7D 1B 78 */ mr r29, r3 -lbl_8035DA50: -/* 8035DA50 0035A9B0 80 7E 00 04 */ lwz r3, 4(r30) -/* 8035DA54 0035A9B4 7F A5 EB 78 */ mr r5, r29 -/* 8035DA58 0035A9B8 80 DE 00 0C */ lwz r6, 0xc(r30) -/* 8035DA5C 0035A9BC 38 00 00 00 */ li r0, 0 -/* 8035DA60 0035A9C0 54 63 18 38 */ slwi r3, r3, 3 -/* 8035DA64 0035A9C4 7C 86 1A 14 */ add r4, r6, r3 -/* 8035DA68 0035A9C8 90 C1 00 10 */ stw r6, 0x10(r1) -/* 8035DA6C 0035A9CC 90 81 00 08 */ stw r4, 8(r1) -/* 8035DA70 0035A9D0 90 81 00 0C */ stw r4, 0xc(r1) -/* 8035DA74 0035A9D4 90 C1 00 14 */ stw r6, 0x14(r1) -/* 8035DA78 0035A9D8 48 00 00 28 */ b lbl_8035DAA0 -lbl_8035DA7C: -/* 8035DA7C 0035A9DC 28 05 00 00 */ cmplwi r5, 0 -/* 8035DA80 0035A9E0 41 82 00 18 */ beq lbl_8035DA98 -/* 8035DA84 0035A9E4 88 66 00 00 */ lbz r3, 0(r6) -/* 8035DA88 0035A9E8 98 65 00 00 */ stb r3, 0(r5) -/* 8035DA8C 0035A9EC 80 66 00 04 */ lwz r3, 4(r6) -/* 8035DA90 0035A9F0 90 65 00 04 */ stw r3, 4(r5) -/* 8035DA94 0035A9F4 98 06 00 00 */ stb r0, 0(r6) -lbl_8035DA98: -/* 8035DA98 0035A9F8 38 A5 00 08 */ addi r5, r5, 8 -/* 8035DA9C 0035A9FC 38 C6 00 08 */ addi r6, r6, 8 -lbl_8035DAA0: -/* 8035DAA0 0035AA00 7C 06 20 40 */ cmplw r6, r4 -/* 8035DAA4 0035AA04 40 82 FF D8 */ bne lbl_8035DA7C -/* 8035DAA8 0035AA08 80 1E 00 04 */ lwz r0, 4(r30) -/* 8035DAAC 0035AA0C 83 7E 00 0C */ lwz r27, 0xc(r30) -/* 8035DAB0 0035AA10 54 00 18 38 */ slwi r0, r0, 3 -/* 8035DAB4 0035AA14 7F 9B 02 14 */ add r28, r27, r0 -/* 8035DAB8 0035AA18 48 00 00 24 */ b lbl_8035DADC -lbl_8035DABC: -/* 8035DABC 0035AA1C 28 1B 00 00 */ cmplwi r27, 0 -/* 8035DAC0 0035AA20 41 82 00 18 */ beq lbl_8035DAD8 -/* 8035DAC4 0035AA24 88 1B 00 00 */ lbz r0, 0(r27) -/* 8035DAC8 0035AA28 28 00 00 00 */ cmplwi r0, 0 -/* 8035DACC 0035AA2C 41 82 00 0C */ beq lbl_8035DAD8 -/* 8035DAD0 0035AA30 80 7B 00 04 */ lwz r3, 4(r27) -/* 8035DAD4 0035AA34 4B FB 7E 5D */ bl Free__7CMemoryFPCv -lbl_8035DAD8: -/* 8035DAD8 0035AA38 3B 7B 00 08 */ addi r27, r27, 8 -lbl_8035DADC: -/* 8035DADC 0035AA3C 7C 1B E0 40 */ cmplw r27, r28 -/* 8035DAE0 0035AA40 40 82 FF DC */ bne lbl_8035DABC -/* 8035DAE4 0035AA44 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 8035DAE8 0035AA48 28 03 00 00 */ cmplwi r3, 0 -/* 8035DAEC 0035AA4C 41 82 00 08 */ beq lbl_8035DAF4 -/* 8035DAF0 0035AA50 4B FB 7E 41 */ bl Free__7CMemoryFPCv -lbl_8035DAF4: -/* 8035DAF4 0035AA54 93 BE 00 0C */ stw r29, 0xc(r30) -/* 8035DAF8 0035AA58 93 FE 00 08 */ stw r31, 8(r30) -lbl_8035DAFC: -/* 8035DAFC 0035AA5C BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 8035DB00 0035AA60 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8035DB04 0035AA64 7C 08 03 A6 */ mtlr r0 -/* 8035DB08 0035AA68 38 21 00 30 */ addi r1, r1, 0x30 -/* 8035DB0C 0035AA6C 4E 80 00 20 */ blr - -.global AddToSegStatementSet__21CAdditiveAnimPlaybackCFRC10CSegIdListRC15CCharLayoutInfoR16CSegStatementSet -AddToSegStatementSet__21CAdditiveAnimPlaybackCFRC10CSegIdListRC15CCharLayoutInfoR16CSegStatementSet: -/* 8035DB10 0035AA70 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8035DB14 0035AA74 7C 08 02 A6 */ mflr r0 -/* 8035DB18 0035AA78 90 01 00 44 */ stw r0, 0x44(r1) -/* 8035DB1C 0035AA7C BF 21 00 24 */ stmw r25, 0x24(r1) -/* 8035DB20 0035AA80 7C 79 1B 78 */ mr r25, r3 -/* 8035DB24 0035AA84 7C 9A 23 78 */ mr r26, r4 -/* 8035DB28 0035AA88 7C BB 2B 78 */ mr r27, r5 -/* 8035DB2C 0035AA8C 7C DC 33 78 */ mr r28, r6 -/* 8035DB30 0035AA90 38 61 00 0C */ addi r3, r1, 0xc -/* 8035DB34 0035AA94 4B F9 F8 39 */ bl __ct__21CStackSegStatementSetFv -/* 8035DB38 0035AA98 80 79 00 08 */ lwz r3, 8(r25) -/* 8035DB3C 0035AA9C 7F 44 D3 78 */ mr r4, r26 -/* 8035DB40 0035AAA0 38 A1 00 0C */ addi r5, r1, 0xc -/* 8035DB44 0035AAA4 80 63 00 00 */ lwz r3, 0(r3) -/* 8035DB48 0035AAA8 81 83 00 00 */ lwz r12, 0(r3) -/* 8035DB4C 0035AAAC 81 8C 00 44 */ lwz r12, 0x44(r12) -/* 8035DB50 0035AAB0 7D 89 03 A6 */ mtctr r12 -/* 8035DB54 0035AAB4 4E 80 04 21 */ bctrl -/* 8035DB58 0035AAB8 83 DA 00 04 */ lwz r30, 4(r26) -/* 8035DB5C 0035AABC 3B A0 00 00 */ li r29, 0 -/* 8035DB60 0035AAC0 3B E0 00 01 */ li r31, 1 -/* 8035DB64 0035AAC4 48 00 00 54 */ b lbl_8035DBB8 -lbl_8035DB68: -/* 8035DB68 0035AAC8 80 DA 00 0C */ lwz r6, 0xc(r26) -/* 8035DB6C 0035AACC 7F 64 DB 78 */ mr r4, r27 -/* 8035DB70 0035AAD0 38 61 00 14 */ addi r3, r1, 0x14 -/* 8035DB74 0035AAD4 38 A1 00 08 */ addi r5, r1, 8 -/* 8035DB78 0035AAD8 7C 06 E8 AE */ lbzx r0, r6, r29 -/* 8035DB7C 0035AADC 98 01 00 08 */ stb r0, 8(r1) -/* 8035DB80 0035AAE0 4B DC DE 21 */ bl GetFromParentUnrotated__15CCharLayoutInfoCFRC6CSegId -/* 8035DB84 0035AAE4 80 7A 00 0C */ lwz r3, 0xc(r26) -/* 8035DB88 0035AAE8 80 81 00 10 */ lwz r4, 0x10(r1) -/* 8035DB8C 0035AAEC 7C 03 E8 AE */ lbzx r0, r3, r29 -/* 8035DB90 0035AAF0 3B BD 00 01 */ addi r29, r29, 1 -/* 8035DB94 0035AAF4 C0 01 00 14 */ lfs f0, 0x14(r1) -/* 8035DB98 0035AAF8 54 00 28 34 */ slwi r0, r0, 5 -/* 8035DB9C 0035AAFC 7C 64 02 14 */ add r3, r4, r0 -/* 8035DBA0 0035AB00 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 8035DBA4 0035AB04 C0 01 00 18 */ lfs f0, 0x18(r1) -/* 8035DBA8 0035AB08 D0 03 00 14 */ stfs f0, 0x14(r3) -/* 8035DBAC 0035AB0C C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 8035DBB0 0035AB10 D0 03 00 18 */ stfs f0, 0x18(r3) -/* 8035DBB4 0035AB14 93 E3 00 1C */ stw r31, 0x1c(r3) -lbl_8035DBB8: -/* 8035DBB8 0035AB18 7C 1D F0 40 */ cmplw r29, r30 -/* 8035DBBC 0035AB1C 41 80 FF AC */ blt lbl_8035DB68 -/* 8035DBC0 0035AB20 C0 39 00 10 */ lfs f1, 0x10(r25) -/* 8035DBC4 0035AB24 7F 83 E3 78 */ mr r3, r28 -/* 8035DBC8 0035AB28 7F 44 D3 78 */ mr r4, r26 -/* 8035DBCC 0035AB2C 7F 65 DB 78 */ mr r5, r27 -/* 8035DBD0 0035AB30 38 C1 00 0C */ addi r6, r1, 0xc -/* 8035DBD4 0035AB34 4B F9 F8 65 */ bl Add__16CSegStatementSetFRC10CSegIdListRC15CCharLayoutInfoRC16CSegStatementSetf -/* 8035DBD8 0035AB38 38 61 00 0C */ addi r3, r1, 0xc -/* 8035DBDC 0035AB3C 38 80 FF FF */ li r4, -1 -/* 8035DBE0 0035AB40 4B F9 F6 CD */ bl __dt__21CStackSegStatementSetFv -/* 8035DBE4 0035AB44 BB 21 00 24 */ lmw r25, 0x24(r1) -/* 8035DBE8 0035AB48 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8035DBEC 0035AB4C 7C 08 03 A6 */ mtlr r0 -/* 8035DBF0 0035AB50 38 21 00 40 */ addi r1, r1, 0x40 -/* 8035DBF4 0035AB54 4E 80 00 20 */ blr - -.global Update__21CAdditiveAnimPlaybackFf -Update__21CAdditiveAnimPlaybackFf: -/* 8035DBF8 0035AB58 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8035DBFC 0035AB5C 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 8035DC00 0035AB60 2C 00 00 01 */ cmpwi r0, 1 -/* 8035DC04 0035AB64 40 82 00 88 */ bne lbl_8035DC8C -/* 8035DC08 0035AB68 C0 43 00 00 */ lfs f2, 0(r3) -/* 8035DC0C 0035AB6C D0 41 00 10 */ stfs f2, 0x10(r1) -/* 8035DC10 0035AB70 C0 03 00 18 */ lfs f0, 0x18(r3) -/* 8035DC14 0035AB74 EC 00 08 2A */ fadds f0, f0, f1 -/* 8035DC18 0035AB78 FC 00 10 40 */ fcmpo cr0, f0, f2 -/* 8035DC1C 0035AB7C D0 01 00 0C */ stfs f0, 0xc(r1) -/* 8035DC20 0035AB80 40 80 00 0C */ bge lbl_8035DC2C -/* 8035DC24 0035AB84 38 81 00 0C */ addi r4, r1, 0xc -/* 8035DC28 0035AB88 48 00 00 08 */ b lbl_8035DC30 -lbl_8035DC2C: -/* 8035DC2C 0035AB8C 38 81 00 10 */ addi r4, r1, 0x10 -lbl_8035DC30: -/* 8035DC30 0035AB90 C0 24 00 00 */ lfs f1, 0(r4) -/* 8035DC34 0035AB94 C0 02 CD 40 */ lfs f0, lbl_805AEA60@sda21(r2) -/* 8035DC38 0035AB98 D0 23 00 18 */ stfs f1, 0x18(r3) -/* 8035DC3C 0035AB9C C0 41 00 10 */ lfs f2, 0x10(r1) -/* 8035DC40 0035ABA0 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8035DC44 0035ABA4 40 81 00 18 */ ble lbl_8035DC5C -/* 8035DC48 0035ABA8 C0 03 00 18 */ lfs f0, 0x18(r3) -/* 8035DC4C 0035ABAC C0 23 00 0C */ lfs f1, 0xc(r3) -/* 8035DC50 0035ABB0 EC 00 10 24 */ fdivs f0, f0, f2 -/* 8035DC54 0035ABB4 EC 01 00 32 */ fmuls f0, f1, f0 -/* 8035DC58 0035ABB8 48 00 00 08 */ b lbl_8035DC60 -lbl_8035DC5C: -/* 8035DC5C 0035ABBC C0 03 00 0C */ lfs f0, 0xc(r3) -lbl_8035DC60: -/* 8035DC60 0035ABC0 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 8035DC64 0035ABC4 C0 02 CD 44 */ lfs f0, lbl_805AEA64@sda21(r2) -/* 8035DC68 0035ABC8 C0 43 00 10 */ lfs f2, 0x10(r3) -/* 8035DC6C 0035ABCC C0 23 00 0C */ lfs f1, 0xc(r3) -/* 8035DC70 0035ABD0 EC 22 08 28 */ fsubs f1, f2, f1 -/* 8035DC74 0035ABD4 FC 20 0A 10 */ fabs f1, f1 -/* 8035DC78 0035ABD8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8035DC7C 0035ABDC 40 80 00 8C */ bge lbl_8035DD08 -/* 8035DC80 0035ABE0 38 00 00 03 */ li r0, 3 -/* 8035DC84 0035ABE4 90 03 00 1C */ stw r0, 0x1c(r3) -/* 8035DC88 0035ABE8 48 00 00 80 */ b lbl_8035DD08 -lbl_8035DC8C: -/* 8035DC8C 0035ABEC 2C 00 00 02 */ cmpwi r0, 2 -/* 8035DC90 0035ABF0 40 82 00 78 */ bne lbl_8035DD08 -/* 8035DC94 0035ABF4 C0 43 00 18 */ lfs f2, 0x18(r3) -/* 8035DC98 0035ABF8 C0 0D 9E 48 */ lfs f0, lbl_805A8A08@sda21(r13) -/* 8035DC9C 0035ABFC EC 22 08 28 */ fsubs f1, f2, f1 -/* 8035DCA0 0035AC00 C0 43 00 04 */ lfs f2, 4(r3) -/* 8035DCA4 0035AC04 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 8035DCA8 0035AC08 D0 21 00 08 */ stfs f1, 8(r1) -/* 8035DCAC 0035AC0C 40 80 00 0C */ bge lbl_8035DCB8 -/* 8035DCB0 0035AC10 38 81 00 08 */ addi r4, r1, 8 -/* 8035DCB4 0035AC14 48 00 00 08 */ b lbl_8035DCBC -lbl_8035DCB8: -/* 8035DCB8 0035AC18 38 8D 9E 48 */ addi r4, r13, lbl_805A8A08@sda21 -lbl_8035DCBC: -/* 8035DCBC 0035AC1C C0 02 CD 40 */ lfs f0, lbl_805AEA60@sda21(r2) -/* 8035DCC0 0035AC20 C0 24 00 00 */ lfs f1, 0(r4) -/* 8035DCC4 0035AC24 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8035DCC8 0035AC28 D0 23 00 18 */ stfs f1, 0x18(r3) -/* 8035DCCC 0035AC2C 40 81 00 14 */ ble lbl_8035DCE0 -/* 8035DCD0 0035AC30 C0 03 00 18 */ lfs f0, 0x18(r3) -/* 8035DCD4 0035AC34 C0 23 00 0C */ lfs f1, 0xc(r3) -/* 8035DCD8 0035AC38 EC 00 10 24 */ fdivs f0, f0, f2 -/* 8035DCDC 0035AC3C EC 01 00 32 */ fmuls f0, f1, f0 -lbl_8035DCE0: -/* 8035DCE0 0035AC40 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 8035DCE4 0035AC44 C0 22 CD 40 */ lfs f1, lbl_805AEA60@sda21(r2) -/* 8035DCE8 0035AC48 C0 43 00 10 */ lfs f2, 0x10(r3) -/* 8035DCEC 0035AC4C C0 02 CD 44 */ lfs f0, lbl_805AEA64@sda21(r2) -/* 8035DCF0 0035AC50 EC 22 08 28 */ fsubs f1, f2, f1 -/* 8035DCF4 0035AC54 FC 20 0A 10 */ fabs f1, f1 -/* 8035DCF8 0035AC58 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8035DCFC 0035AC5C 40 80 00 0C */ bge lbl_8035DD08 -/* 8035DD00 0035AC60 38 00 00 04 */ li r0, 4 -/* 8035DD04 0035AC64 90 03 00 1C */ stw r0, 0x1c(r3) -lbl_8035DD08: -/* 8035DD08 0035AC68 38 21 00 20 */ addi r1, r1, 0x20 -/* 8035DD0C 0035AC6C 4E 80 00 20 */ blr - -.global FadeOut__21CAdditiveAnimPlaybackFv -FadeOut__21CAdditiveAnimPlaybackFv: -/* 8035DD10 0035AC70 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 8035DD14 0035AC74 2C 00 00 04 */ cmpwi r0, 4 -/* 8035DD18 0035AC78 41 82 00 0C */ beq lbl_8035DD24 -/* 8035DD1C 0035AC7C 2C 00 00 03 */ cmpwi r0, 3 -/* 8035DD20 0035AC80 40 82 00 10 */ bne lbl_8035DD30 -lbl_8035DD24: -/* 8035DD24 0035AC84 C0 03 00 04 */ lfs f0, 4(r3) -/* 8035DD28 0035AC88 D0 03 00 18 */ stfs f0, 0x18(r3) -/* 8035DD2C 0035AC8C 48 00 00 24 */ b lbl_8035DD50 -lbl_8035DD30: -/* 8035DD30 0035AC90 2C 00 00 01 */ cmpwi r0, 1 -/* 8035DD34 0035AC94 40 82 00 1C */ bne lbl_8035DD50 -/* 8035DD38 0035AC98 C0 43 00 18 */ lfs f2, 0x18(r3) -/* 8035DD3C 0035AC9C C0 23 00 00 */ lfs f1, 0(r3) -/* 8035DD40 0035ACA0 C0 03 00 04 */ lfs f0, 4(r3) -/* 8035DD44 0035ACA4 EC 22 08 24 */ fdivs f1, f2, f1 -/* 8035DD48 0035ACA8 EC 01 00 32 */ fmuls f0, f1, f0 -/* 8035DD4C 0035ACAC D0 03 00 18 */ stfs f0, 0x18(r3) -lbl_8035DD50: -/* 8035DD50 0035ACB0 C0 23 00 04 */ lfs f1, 4(r3) -/* 8035DD54 0035ACB4 C0 02 CD 40 */ lfs f0, lbl_805AEA60@sda21(r2) -/* 8035DD58 0035ACB8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8035DD5C 0035ACBC 40 81 00 10 */ ble lbl_8035DD6C -/* 8035DD60 0035ACC0 38 00 00 02 */ li r0, 2 -/* 8035DD64 0035ACC4 90 03 00 1C */ stw r0, 0x1c(r3) -/* 8035DD68 0035ACC8 4E 80 00 20 */ blr -lbl_8035DD6C: -/* 8035DD6C 0035ACCC 38 00 00 04 */ li r0, 4 -/* 8035DD70 0035ACD0 90 03 00 1C */ stw r0, 0x1c(r3) -/* 8035DD74 0035ACD4 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 8035DD78 0035ACD8 4E 80 00 20 */ blr - -.global SetWeight__21CAdditiveAnimPlaybackFf -SetWeight__21CAdditiveAnimPlaybackFf: -/* 8035DD7C 0035ACDC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8035DD80 0035ACE0 FC 00 08 18 */ frsp f0, f1 -/* 8035DD84 0035ACE4 C0 4D 9E 40 */ lfs f2, lbl_805A8A00@sda21(r13) -/* 8035DD88 0035ACE8 D0 21 00 08 */ stfs f1, 8(r1) -/* 8035DD8C 0035ACEC FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8035DD90 0035ACF0 40 80 00 0C */ bge lbl_8035DD9C -/* 8035DD94 0035ACF4 38 8D 9E 40 */ addi r4, r13, lbl_805A8A00@sda21 -/* 8035DD98 0035ACF8 48 00 00 08 */ b lbl_8035DDA0 -lbl_8035DD9C: -/* 8035DD9C 0035ACFC 38 81 00 08 */ addi r4, r1, 8 -lbl_8035DDA0: -/* 8035DDA0 0035AD00 C0 2D 9E 44 */ lfs f1, lbl_805A8A04@sda21(r13) -/* 8035DDA4 0035AD04 C0 04 00 00 */ lfs f0, 0(r4) -/* 8035DDA8 0035AD08 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8035DDAC 0035AD0C 40 80 00 08 */ bge lbl_8035DDB4 -/* 8035DDB0 0035AD10 48 00 00 08 */ b lbl_8035DDB8 -lbl_8035DDB4: -/* 8035DDB4 0035AD14 38 8D 9E 44 */ addi r4, r13, lbl_805A8A04@sda21 -lbl_8035DDB8: -/* 8035DDB8 0035AD18 C0 04 00 00 */ lfs f0, 0(r4) -/* 8035DDBC 0035AD1C D0 03 00 0C */ stfs f0, 0xc(r3) -/* 8035DDC0 0035AD20 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 8035DDC4 0035AD24 2C 00 00 01 */ cmpwi r0, 1 -/* 8035DDC8 0035AD28 40 82 00 34 */ bne lbl_8035DDFC -/* 8035DDCC 0035AD2C C0 43 00 00 */ lfs f2, 0(r3) -/* 8035DDD0 0035AD30 C0 02 CD 40 */ lfs f0, lbl_805AEA60@sda21(r2) -/* 8035DDD4 0035AD34 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8035DDD8 0035AD38 40 81 00 18 */ ble lbl_8035DDF0 -/* 8035DDDC 0035AD3C C0 03 00 18 */ lfs f0, 0x18(r3) -/* 8035DDE0 0035AD40 C0 23 00 0C */ lfs f1, 0xc(r3) -/* 8035DDE4 0035AD44 EC 00 10 24 */ fdivs f0, f0, f2 -/* 8035DDE8 0035AD48 EC 01 00 32 */ fmuls f0, f1, f0 -/* 8035DDEC 0035AD4C 48 00 00 08 */ b lbl_8035DDF4 -lbl_8035DDF0: -/* 8035DDF0 0035AD50 C0 03 00 0C */ lfs f0, 0xc(r3) -lbl_8035DDF4: -/* 8035DDF4 0035AD54 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 8035DDF8 0035AD58 48 00 00 44 */ b lbl_8035DE3C -lbl_8035DDFC: -/* 8035DDFC 0035AD5C 2C 00 00 02 */ cmpwi r0, 2 -/* 8035DE00 0035AD60 40 82 00 34 */ bne lbl_8035DE34 -/* 8035DE04 0035AD64 C0 43 00 04 */ lfs f2, 4(r3) -/* 8035DE08 0035AD68 C0 02 CD 40 */ lfs f0, lbl_805AEA60@sda21(r2) -/* 8035DE0C 0035AD6C FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8035DE10 0035AD70 40 81 00 18 */ ble lbl_8035DE28 -/* 8035DE14 0035AD74 C0 03 00 18 */ lfs f0, 0x18(r3) -/* 8035DE18 0035AD78 C0 23 00 0C */ lfs f1, 0xc(r3) -/* 8035DE1C 0035AD7C EC 00 10 24 */ fdivs f0, f0, f2 -/* 8035DE20 0035AD80 EC 01 00 32 */ fmuls f0, f1, f0 -/* 8035DE24 0035AD84 48 00 00 08 */ b lbl_8035DE2C -lbl_8035DE28: -/* 8035DE28 0035AD88 C0 03 00 0C */ lfs f0, 0xc(r3) -lbl_8035DE2C: -/* 8035DE2C 0035AD8C D0 03 00 10 */ stfs f0, 0x10(r3) -/* 8035DE30 0035AD90 48 00 00 0C */ b lbl_8035DE3C -lbl_8035DE34: -/* 8035DE34 0035AD94 C0 03 00 0C */ lfs f0, 0xc(r3) -/* 8035DE38 0035AD98 D0 03 00 10 */ stfs f0, 0x10(r3) -lbl_8035DE3C: -/* 8035DE3C 0035AD9C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8035DE40 0035ADA0 4E 80 00 20 */ blr - -.global "__ct__21CAdditiveAnimPlaybackFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>fbRC22CAdditiveAnimationInfob" -"__ct__21CAdditiveAnimPlaybackFRCQ24rstl25ncrc_ptr<13CAnimTreeNode>fbRC22CAdditiveAnimationInfob": -/* 8035DE44 0035ADA4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8035DE48 0035ADA8 D0 21 00 08 */ stfs f1, 8(r1) -/* 8035DE4C 0035ADAC C0 06 00 00 */ lfs f0, 0(r6) -/* 8035DE50 0035ADB0 D0 03 00 00 */ stfs f0, 0(r3) -/* 8035DE54 0035ADB4 C0 06 00 04 */ lfs f0, 4(r6) -/* 8035DE58 0035ADB8 D0 03 00 04 */ stfs f0, 4(r3) -/* 8035DE5C 0035ADBC 80 04 00 00 */ lwz r0, 0(r4) -/* 8035DE60 0035ADC0 90 03 00 08 */ stw r0, 8(r3) -/* 8035DE64 0035ADC4 80 C3 00 08 */ lwz r6, 8(r3) -/* 8035DE68 0035ADC8 80 86 00 04 */ lwz r4, 4(r6) -/* 8035DE6C 0035ADCC 38 04 00 01 */ addi r0, r4, 1 -/* 8035DE70 0035ADD0 90 06 00 04 */ stw r0, 4(r6) -/* 8035DE74 0035ADD4 C0 2D 9E 38 */ lfs f1, lbl_805A89F8@sda21(r13) -/* 8035DE78 0035ADD8 C0 01 00 08 */ lfs f0, 8(r1) -/* 8035DE7C 0035ADDC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8035DE80 0035ADE0 40 80 00 0C */ bge lbl_8035DE8C -/* 8035DE84 0035ADE4 38 8D 9E 38 */ addi r4, r13, lbl_805A89F8@sda21 -/* 8035DE88 0035ADE8 48 00 00 08 */ b lbl_8035DE90 -lbl_8035DE8C: -/* 8035DE8C 0035ADEC 38 81 00 08 */ addi r4, r1, 8 -lbl_8035DE90: -/* 8035DE90 0035ADF0 C0 2D 9E 3C */ lfs f1, lbl_805A89FC@sda21(r13) -/* 8035DE94 0035ADF4 C0 04 00 00 */ lfs f0, 0(r4) -/* 8035DE98 0035ADF8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8035DE9C 0035ADFC 40 80 00 08 */ bge lbl_8035DEA4 -/* 8035DEA0 0035AE00 48 00 00 08 */ b lbl_8035DEA8 -lbl_8035DEA4: -/* 8035DEA4 0035AE04 38 8D 9E 3C */ addi r4, r13, lbl_805A89FC@sda21 -lbl_8035DEA8: -/* 8035DEA8 0035AE08 C0 24 00 00 */ lfs f1, 0(r4) -/* 8035DEAC 0035AE0C 54 A0 06 3F */ clrlwi. r0, r5, 0x18 -/* 8035DEB0 0035AE10 C0 02 CD 40 */ lfs f0, lbl_805AEA60@sda21(r2) -/* 8035DEB4 0035AE14 38 C0 00 01 */ li r6, 1 -/* 8035DEB8 0035AE18 D0 23 00 0C */ stfs f1, 0xc(r3) -/* 8035DEBC 0035AE1C 38 80 00 00 */ li r4, 0 -/* 8035DEC0 0035AE20 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 8035DEC4 0035AE24 98 A3 00 14 */ stb r5, 0x14(r3) -/* 8035DEC8 0035AE28 D0 03 00 18 */ stfs f0, 0x18(r3) -/* 8035DECC 0035AE2C 90 C3 00 1C */ stw r6, 0x1c(r3) -/* 8035DED0 0035AE30 40 82 00 10 */ bne lbl_8035DEE0 -/* 8035DED4 0035AE34 54 E0 06 3F */ clrlwi. r0, r7, 0x18 -/* 8035DED8 0035AE38 41 82 00 08 */ beq lbl_8035DEE0 -/* 8035DEDC 0035AE3C 7C C4 33 78 */ mr r4, r6 -lbl_8035DEE0: -/* 8035DEE0 0035AE40 98 83 00 20 */ stb r4, 0x20(r3) -/* 8035DEE4 0035AE44 38 21 00 10 */ addi r1, r1, 0x10 -/* 8035DEE8 0035AE48 4E 80 00 20 */ blr - -.global CreateELSM__28CParticleElectricDataFactoryFP20CElectricDescriptionR12CInputStreamP11CSimplePool -CreateELSM__28CParticleElectricDataFactoryFP20CElectricDescriptionR12CInputStreamP11CSimplePool: -/* 8035DEEC 0035AE4C 94 21 FF 20 */ stwu r1, -0xe0(r1) -/* 8035DEF0 0035AE50 7C 08 02 A6 */ mflr r0 -/* 8035DEF4 0035AE54 90 01 00 E4 */ stw r0, 0xe4(r1) -/* 8035DEF8 0035AE58 BF 41 00 C8 */ stmw r26, 0xc8(r1) -/* 8035DEFC 0035AE5C 7C 7B 1B 78 */ mr r27, r3 -/* 8035DF00 0035AE60 7C 9C 23 78 */ mr r28, r4 -/* 8035DF04 0035AE64 7C BD 2B 78 */ mr r29, r5 -/* 8035DF08 0035AE68 38 61 00 28 */ addi r3, r1, 0x28 -/* 8035DF0C 0035AE6C 3B C0 00 00 */ li r30, 0 -/* 8035DF10 0035AE70 38 80 00 63 */ li r4, 0x63 -/* 8035DF14 0035AE74 4B FB 46 D9 */ bl __ct__9CRandom16FUi -/* 8035DF18 0035AE78 3C 60 4C 43 */ lis r3, 0x4C434C33@ha -/* 8035DF1C 0035AE7C 3B E3 4C 33 */ addi r31, r3, 0x4C434C33@l -/* 8035DF20 0035AE80 48 00 06 28 */ b lbl_8035E548 -lbl_8035DF24: -/* 8035DF24 0035AE84 38 61 00 B0 */ addi r3, r1, 0xb0 -/* 8035DF28 0035AE88 38 81 00 28 */ addi r4, r1, 0x28 -/* 8035DF2C 0035AE8C 4B FB 47 55 */ bl __ct__13CGlobalRandomFR9CRandom16 -/* 8035DF30 0035AE90 7F 83 E3 78 */ mr r3, r28 -/* 8035DF34 0035AE94 4B FC A5 29 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream -/* 8035DF38 0035AE98 7C 03 F8 00 */ cmpw r3, r31 -/* 8035DF3C 0035AE9C 41 82 05 C4 */ beq lbl_8035E500 -/* 8035DF40 0035AEA0 40 80 00 B8 */ bge lbl_8035DFF8 -/* 8035DF44 0035AEA4 3C 80 46 45 */ lis r4, 0x46454D54@ha -/* 8035DF48 0035AEA8 38 04 4D 54 */ addi r0, r4, 0x46454D54@l -/* 8035DF4C 0035AEAC 7C 03 00 00 */ cmpw r3, r0 -/* 8035DF50 0035AEB0 41 82 01 D4 */ beq lbl_8035E124 -/* 8035DF54 0035AEB4 40 80 00 50 */ bge lbl_8035DFA4 -/* 8035DF58 0035AEB8 3C 80 43 4F */ lis r4, 0x434F4C52@ha -/* 8035DF5C 0035AEBC 38 04 4C 52 */ addi r0, r4, 0x434F4C52@l -/* 8035DF60 0035AEC0 7C 03 00 00 */ cmpw r3, r0 -/* 8035DF64 0035AEC4 41 82 01 A0 */ beq lbl_8035E104 -/* 8035DF68 0035AEC8 40 80 00 28 */ bge lbl_8035DF90 -/* 8035DF6C 0035AECC 3C 80 41 4D */ lis r4, 0x414D504C@ha -/* 8035DF70 0035AED0 38 04 50 4C */ addi r0, r4, 0x414D504C@l -/* 8035DF74 0035AED4 7C 03 00 00 */ cmpw r3, r0 -/* 8035DF78 0035AED8 41 82 01 BC */ beq lbl_8035E134 -/* 8035DF7C 0035AEDC 40 80 05 AC */ bge lbl_8035E528 -/* 8035DF80 0035AEE0 38 04 50 44 */ addi r0, r4, 0x5044 -/* 8035DF84 0035AEE4 7C 03 00 00 */ cmpw r3, r0 -/* 8035DF88 0035AEE8 41 82 01 BC */ beq lbl_8035E144 -/* 8035DF8C 0035AEEC 48 00 05 9C */ b lbl_8035E528 -lbl_8035DF90: -/* 8035DF90 0035AEF0 3C 80 45 50 */ lis r4, 0x4550534D@ha -/* 8035DF94 0035AEF4 38 04 53 4D */ addi r0, r4, 0x4550534D@l -/* 8035DF98 0035AEF8 7C 03 00 00 */ cmpw r3, r0 -/* 8035DF9C 0035AEFC 41 82 03 CC */ beq lbl_8035E368 -/* 8035DFA0 0035AF00 48 00 05 88 */ b lbl_8035E528 -lbl_8035DFA4: -/* 8035DFA4 0035AF04 3C 80 49 45 */ lis r4, 0x49454D54@ha -/* 8035DFA8 0035AF08 38 04 4D 54 */ addi r0, r4, 0x49454D54@l -/* 8035DFAC 0035AF0C 7C 03 00 00 */ cmpw r3, r0 -/* 8035DFB0 0035AF10 41 82 01 64 */ beq lbl_8035E114 -/* 8035DFB4 0035AF14 40 80 00 2C */ bge lbl_8035DFE0 -/* 8035DFB8 0035AF18 3C 80 47 52 */ lis r4, 0x47524154@ha -/* 8035DFBC 0035AF1C 38 04 41 54 */ addi r0, r4, 0x47524154@l -/* 8035DFC0 0035AF20 7C 03 00 00 */ cmpw r3, r0 -/* 8035DFC4 0035AF24 41 82 01 10 */ beq lbl_8035E0D4 -/* 8035DFC8 0035AF28 40 80 05 60 */ bge lbl_8035E528 -/* 8035DFCC 0035AF2C 3C 80 47 50 */ lis r4, 0x4750534D@ha -/* 8035DFD0 0035AF30 38 04 53 4D */ addi r0, r4, 0x4750534D@l -/* 8035DFD4 0035AF34 7C 03 00 00 */ cmpw r3, r0 -/* 8035DFD8 0035AF38 41 82 02 48 */ beq lbl_8035E220 -/* 8035DFDC 0035AF3C 48 00 05 4C */ b lbl_8035E528 -lbl_8035DFE0: -/* 8035DFE0 0035AF40 3C 80 4C 43 */ lis r4, 0x4C434C31@ha -/* 8035DFE4 0035AF44 38 04 4C 31 */ addi r0, r4, 0x4C434C31@l -/* 8035DFE8 0035AF48 7C 03 00 00 */ cmpw r3, r0 -/* 8035DFEC 0035AF4C 41 82 04 F4 */ beq lbl_8035E4E0 -/* 8035DFF0 0035AF50 40 80 05 00 */ bge lbl_8035E4F0 -/* 8035DFF4 0035AF54 48 00 05 34 */ b lbl_8035E528 -lbl_8035DFF8: -/* 8035DFF8 0035AF58 3C 80 53 4C */ lis r4, 0x534C4946@ha -/* 8035DFFC 0035AF5C 38 04 49 46 */ addi r0, r4, 0x534C4946@l -/* 8035E000 0035AF60 7C 03 00 00 */ cmpw r3, r0 -/* 8035E004 0035AF64 41 82 00 C0 */ beq lbl_8035E0C4 -/* 8035E008 0035AF68 40 80 00 60 */ bge lbl_8035E068 -/* 8035E00C 0035AF6C 3C A0 4C 57 */ lis r5, 0x4C574432@ha -/* 8035E010 0035AF70 38 05 44 32 */ addi r0, r5, 0x4C574432@l -/* 8035E014 0035AF74 7C 03 00 00 */ cmpw r3, r0 -/* 8035E018 0035AF78 41 82 04 A8 */ beq lbl_8035E4C0 -/* 8035E01C 0035AF7C 40 80 00 28 */ bge lbl_8035E044 -/* 8035E020 0035AF80 3C 80 4C 49 */ lis r4, 0x4C494645@ha -/* 8035E024 0035AF84 38 04 46 45 */ addi r0, r4, 0x4C494645@l -/* 8035E028 0035AF88 7C 03 00 00 */ cmpw r3, r0 -/* 8035E02C 0035AF8C 41 82 00 88 */ beq lbl_8035E0B4 -/* 8035E030 0035AF90 41 80 04 F8 */ blt lbl_8035E528 -/* 8035E034 0035AF94 38 05 44 31 */ addi r0, r5, 0x4431 -/* 8035E038 0035AF98 7C 03 00 00 */ cmpw r3, r0 -/* 8035E03C 0035AF9C 40 80 04 74 */ bge lbl_8035E4B0 -/* 8035E040 0035AFA0 48 00 04 E8 */ b lbl_8035E528 -lbl_8035E044: -/* 8035E044 0035AFA4 3C 80 53 43 */ lis r4, 0x53434E54@ha -/* 8035E048 0035AFA8 38 04 4E 54 */ addi r0, r4, 0x53434E54@l -/* 8035E04C 0035AFAC 7C 03 00 00 */ cmpw r3, r0 -/* 8035E050 0035AFB0 41 82 00 94 */ beq lbl_8035E0E4 -/* 8035E054 0035AFB4 40 80 04 D4 */ bge lbl_8035E528 -/* 8035E058 0035AFB8 38 05 44 34 */ addi r0, r5, 0x4434 -/* 8035E05C 0035AFBC 7C 03 00 00 */ cmpw r3, r0 -/* 8035E060 0035AFC0 40 80 04 C8 */ bge lbl_8035E528 -/* 8035E064 0035AFC4 48 00 04 6C */ b lbl_8035E4D0 -lbl_8035E068: -/* 8035E068 0035AFC8 3C 80 5A 45 */ lis r4, 0x5A455259@ha -/* 8035E06C 0035AFCC 38 04 52 59 */ addi r0, r4, 0x5A455259@l -/* 8035E070 0035AFD0 7C 03 00 00 */ cmpw r3, r0 -/* 8035E074 0035AFD4 41 82 04 9C */ beq lbl_8035E510 -/* 8035E078 0035AFD8 40 80 00 28 */ bge lbl_8035E0A0 -/* 8035E07C 0035AFDC 3C 80 53 53 */ lis r4, 0x53535748@ha -/* 8035E080 0035AFE0 38 04 57 48 */ addi r0, r4, 0x53535748@l -/* 8035E084 0035AFE4 7C 03 00 00 */ cmpw r3, r0 -/* 8035E088 0035AFE8 41 82 00 CC */ beq lbl_8035E154 -/* 8035E08C 0035AFEC 40 80 04 9C */ bge lbl_8035E528 -/* 8035E090 0035AFF0 38 04 45 47 */ addi r0, r4, 0x4547 -/* 8035E094 0035AFF4 7C 03 00 00 */ cmpw r3, r0 -/* 8035E098 0035AFF8 41 82 00 5C */ beq lbl_8035E0F4 -/* 8035E09C 0035AFFC 48 00 04 8C */ b lbl_8035E528 -lbl_8035E0A0: -/* 8035E0A0 0035B000 3C 80 5F 45 */ lis r4, 0x5F454E44@ha -/* 8035E0A4 0035B004 38 04 4E 44 */ addi r0, r4, 0x5F454E44@l -/* 8035E0A8 0035B008 7C 03 00 00 */ cmpw r3, r0 -/* 8035E0AC 0035B00C 41 82 04 74 */ beq lbl_8035E520 -/* 8035E0B0 0035B010 48 00 04 78 */ b lbl_8035E528 -lbl_8035E0B4: -/* 8035E0B4 0035B014 7F 83 E3 78 */ mr r3, r28 -/* 8035E0B8 0035B018 4B FC 9A ED */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream -/* 8035E0BC 0035B01C 90 7B 00 00 */ stw r3, 0(r27) -/* 8035E0C0 0035B020 48 00 04 7C */ b lbl_8035E53C -lbl_8035E0C4: -/* 8035E0C4 0035B024 7F 83 E3 78 */ mr r3, r28 -/* 8035E0C8 0035B028 4B FC 9A DD */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream -/* 8035E0CC 0035B02C 90 7B 00 04 */ stw r3, 4(r27) -/* 8035E0D0 0035B030 48 00 04 6C */ b lbl_8035E53C -lbl_8035E0D4: -/* 8035E0D4 0035B034 7F 83 E3 78 */ mr r3, r28 -/* 8035E0D8 0035B038 4B FC 8B B9 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 8035E0DC 0035B03C 90 7B 00 08 */ stw r3, 8(r27) -/* 8035E0E0 0035B040 48 00 04 5C */ b lbl_8035E53C -lbl_8035E0E4: -/* 8035E0E4 0035B044 7F 83 E3 78 */ mr r3, r28 -/* 8035E0E8 0035B048 4B FC 9A BD */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream -/* 8035E0EC 0035B04C 90 7B 00 0C */ stw r3, 0xc(r27) -/* 8035E0F0 0035B050 48 00 04 4C */ b lbl_8035E53C -lbl_8035E0F4: -/* 8035E0F4 0035B054 7F 83 E3 78 */ mr r3, r28 -/* 8035E0F8 0035B058 4B FC 9A AD */ bl GetIntElement__20CParticleDataFactoryFR12CInputStream -/* 8035E0FC 0035B05C 90 7B 00 10 */ stw r3, 0x10(r27) -/* 8035E100 0035B060 48 00 04 3C */ b lbl_8035E53C -lbl_8035E104: -/* 8035E104 0035B064 7F 83 E3 78 */ mr r3, r28 -/* 8035E108 0035B068 4B FC 71 55 */ bl GetColorElement__20CParticleDataFactoryFR12CInputStream -/* 8035E10C 0035B06C 90 7B 00 14 */ stw r3, 0x14(r27) -/* 8035E110 0035B070 48 00 04 2C */ b lbl_8035E53C -lbl_8035E114: -/* 8035E114 0035B074 7F 83 E3 78 */ mr r3, r28 -/* 8035E118 0035B078 4B FC 7E 99 */ bl GetEmitterElement__20CParticleDataFactoryFR12CInputStream -/* 8035E11C 0035B07C 90 7B 00 18 */ stw r3, 0x18(r27) -/* 8035E120 0035B080 48 00 04 1C */ b lbl_8035E53C -lbl_8035E124: -/* 8035E124 0035B084 7F 83 E3 78 */ mr r3, r28 -/* 8035E128 0035B088 4B FC 7E 89 */ bl GetEmitterElement__20CParticleDataFactoryFR12CInputStream -/* 8035E12C 0035B08C 90 7B 00 1C */ stw r3, 0x1c(r27) -/* 8035E130 0035B090 48 00 04 0C */ b lbl_8035E53C -lbl_8035E134: -/* 8035E134 0035B094 7F 83 E3 78 */ mr r3, r28 -/* 8035E138 0035B098 4B FC 8B 59 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 8035E13C 0035B09C 90 7B 00 20 */ stw r3, 0x20(r27) -/* 8035E140 0035B0A0 48 00 03 FC */ b lbl_8035E53C -lbl_8035E144: -/* 8035E144 0035B0A4 7F 83 E3 78 */ mr r3, r28 -/* 8035E148 0035B0A8 4B FC 8B 49 */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 8035E14C 0035B0AC 90 7B 00 24 */ stw r3, 0x24(r27) -/* 8035E150 0035B0B0 48 00 03 EC */ b lbl_8035E53C -lbl_8035E154: -/* 8035E154 0035B0B4 7F 83 E3 78 */ mr r3, r28 -/* 8035E158 0035B0B8 4B FC A3 05 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream -/* 8035E15C 0035B0BC 3C 03 B1 B1 */ addis r0, r3, 0xb1b1 -/* 8035E160 0035B0C0 28 00 4E 45 */ cmplwi r0, 0x4e45 -/* 8035E164 0035B0C4 41 82 03 D8 */ beq lbl_8035E53C -/* 8035E168 0035B0C8 7F 83 E3 78 */ mr r3, r28 -/* 8035E16C 0035B0CC 4B FE 0B 19 */ bl ReadLong__12CInputStreamFv -/* 8035E170 0035B0D0 28 03 00 00 */ cmplwi r3, 0 -/* 8035E174 0035B0D4 41 82 03 C8 */ beq lbl_8035E53C -/* 8035E178 0035B0D8 3C 80 53 57 */ lis r4, 0x53574843@ha -/* 8035E17C 0035B0DC 90 61 00 38 */ stw r3, 0x38(r1) -/* 8035E180 0035B0E0 38 04 48 43 */ addi r0, r4, 0x53574843@l -/* 8035E184 0035B0E4 7F A4 EB 78 */ mr r4, r29 -/* 8035E188 0035B0E8 90 01 00 34 */ stw r0, 0x34(r1) -/* 8035E18C 0035B0EC 38 61 00 2C */ addi r3, r1, 0x2c -/* 8035E190 0035B0F0 38 A1 00 34 */ addi r5, r1, 0x34 -/* 8035E194 0035B0F4 81 9D 00 00 */ lwz r12, 0(r29) -/* 8035E198 0035B0F8 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8035E19C 0035B0FC 7D 89 03 A6 */ mtctr r12 -/* 8035E1A0 0035B100 4E 80 04 21 */ bctrl -/* 8035E1A4 0035B104 38 61 00 6C */ addi r3, r1, 0x6c -/* 8035E1A8 0035B108 38 81 00 2C */ addi r4, r1, 0x2c -/* 8035E1AC 0035B10C 4B FE 2C FD */ bl __ct__6CTokenFRC6CToken -/* 8035E1B0 0035B110 38 00 00 00 */ li r0, 0 -/* 8035E1B4 0035B114 90 01 00 74 */ stw r0, 0x74(r1) -/* 8035E1B8 0035B118 88 1B 00 4C */ lbz r0, 0x4c(r27) -/* 8035E1BC 0035B11C 28 00 00 00 */ cmplwi r0, 0 -/* 8035E1C0 0035B120 40 82 00 2C */ bne lbl_8035E1EC -/* 8035E1C4 0035B124 37 5B 00 40 */ addic. r26, r27, 0x40 -/* 8035E1C8 0035B128 41 82 00 18 */ beq lbl_8035E1E0 -/* 8035E1CC 0035B12C 7F 43 D3 78 */ mr r3, r26 -/* 8035E1D0 0035B130 38 81 00 6C */ addi r4, r1, 0x6c -/* 8035E1D4 0035B134 4B FE 2C D5 */ bl __ct__6CTokenFRC6CToken -/* 8035E1D8 0035B138 80 01 00 74 */ lwz r0, 0x74(r1) -/* 8035E1DC 0035B13C 90 1A 00 08 */ stw r0, 8(r26) -lbl_8035E1E0: -/* 8035E1E0 0035B140 38 00 00 01 */ li r0, 1 -/* 8035E1E4 0035B144 98 1B 00 4C */ stb r0, 0x4c(r27) -/* 8035E1E8 0035B148 48 00 00 1C */ b lbl_8035E204 -lbl_8035E1EC: -/* 8035E1EC 0035B14C 3B 5B 00 40 */ addi r26, r27, 0x40 -/* 8035E1F0 0035B150 38 81 00 6C */ addi r4, r1, 0x6c -/* 8035E1F4 0035B154 7F 43 D3 78 */ mr r3, r26 -/* 8035E1F8 0035B158 4B FE 2A CD */ bl __as__6CTokenFRC6CToken -/* 8035E1FC 0035B15C 80 01 00 74 */ lwz r0, 0x74(r1) -/* 8035E200 0035B160 90 1A 00 08 */ stw r0, 8(r26) -lbl_8035E204: -/* 8035E204 0035B164 38 61 00 6C */ addi r3, r1, 0x6c -/* 8035E208 0035B168 38 80 00 00 */ li r4, 0 -/* 8035E20C 0035B16C 4B FE 2C 35 */ bl __dt__6CTokenFv -/* 8035E210 0035B170 38 61 00 2C */ addi r3, r1, 0x2c -/* 8035E214 0035B174 38 80 FF FF */ li r4, -1 -/* 8035E218 0035B178 4B FE 2C 29 */ bl __dt__6CTokenFv -/* 8035E21C 0035B17C 48 00 03 20 */ b lbl_8035E53C -lbl_8035E220: -/* 8035E220 0035B180 38 00 00 00 */ li r0, 0 -/* 8035E224 0035B184 7F 84 E3 78 */ mr r4, r28 -/* 8035E228 0035B188 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 8035E22C 0035B18C 7F A5 EB 78 */ mr r5, r29 -/* 8035E230 0035B190 38 61 00 60 */ addi r3, r1, 0x60 -/* 8035E234 0035B194 38 C1 00 A0 */ addi r6, r1, 0xa0 -/* 8035E238 0035B198 90 01 00 A8 */ stw r0, 0xa8(r1) -/* 8035E23C 0035B19C 90 01 00 AC */ stw r0, 0xac(r1) -/* 8035E240 0035B1A0 4B FC 6B 51 */ bl "GetChildGeneratorDesc__20CParticleDataFactoryFR12CInputStreamP11CSimplePoolRCQ24rstl37vector" -/* 8035E244 0035B1A4 88 01 00 68 */ lbz r0, 0x68(r1) -/* 8035E248 0035B1A8 28 00 00 00 */ cmplwi r0, 0 -/* 8035E24C 0035B1AC 98 01 00 9C */ stb r0, 0x9c(r1) -/* 8035E250 0035B1B0 41 82 00 14 */ beq lbl_8035E264 -/* 8035E254 0035B1B4 34 61 00 94 */ addic. r3, r1, 0x94 -/* 8035E258 0035B1B8 38 81 00 60 */ addi r4, r1, 0x60 -/* 8035E25C 0035B1BC 41 82 00 08 */ beq lbl_8035E264 -/* 8035E260 0035B1C0 4B FE 2C 49 */ bl __ct__6CTokenFRC6CToken -lbl_8035E264: -/* 8035E264 0035B1C4 88 01 00 68 */ lbz r0, 0x68(r1) -/* 8035E268 0035B1C8 28 00 00 00 */ cmplwi r0, 0 -/* 8035E26C 0035B1CC 41 82 00 14 */ beq lbl_8035E280 -/* 8035E270 0035B1D0 34 61 00 60 */ addic. r3, r1, 0x60 -/* 8035E274 0035B1D4 41 82 00 0C */ beq lbl_8035E280 -/* 8035E278 0035B1D8 38 80 00 00 */ li r4, 0 -/* 8035E27C 0035B1DC 4B FE 2B C5 */ bl __dt__6CTokenFv -lbl_8035E280: -/* 8035E280 0035B1E0 88 01 00 9C */ lbz r0, 0x9c(r1) -/* 8035E284 0035B1E4 38 60 00 00 */ li r3, 0 -/* 8035E288 0035B1E8 98 61 00 68 */ stb r3, 0x68(r1) -/* 8035E28C 0035B1EC 28 00 00 00 */ cmplwi r0, 0 -/* 8035E290 0035B1F0 41 82 00 70 */ beq lbl_8035E300 -/* 8035E294 0035B1F4 38 61 00 54 */ addi r3, r1, 0x54 -/* 8035E298 0035B1F8 38 81 00 94 */ addi r4, r1, 0x94 -/* 8035E29C 0035B1FC 4B FE 2C 0D */ bl __ct__6CTokenFRC6CToken -/* 8035E2A0 0035B200 38 00 00 00 */ li r0, 0 -/* 8035E2A4 0035B204 90 01 00 5C */ stw r0, 0x5c(r1) -/* 8035E2A8 0035B208 88 1B 00 5C */ lbz r0, 0x5c(r27) -/* 8035E2AC 0035B20C 28 00 00 00 */ cmplwi r0, 0 -/* 8035E2B0 0035B210 40 82 00 2C */ bne lbl_8035E2DC -/* 8035E2B4 0035B214 37 5B 00 50 */ addic. r26, r27, 0x50 -/* 8035E2B8 0035B218 41 82 00 18 */ beq lbl_8035E2D0 -/* 8035E2BC 0035B21C 7F 43 D3 78 */ mr r3, r26 -/* 8035E2C0 0035B220 38 81 00 54 */ addi r4, r1, 0x54 -/* 8035E2C4 0035B224 4B FE 2B E5 */ bl __ct__6CTokenFRC6CToken -/* 8035E2C8 0035B228 80 01 00 5C */ lwz r0, 0x5c(r1) -/* 8035E2CC 0035B22C 90 1A 00 08 */ stw r0, 8(r26) -lbl_8035E2D0: -/* 8035E2D0 0035B230 38 00 00 01 */ li r0, 1 -/* 8035E2D4 0035B234 98 1B 00 5C */ stb r0, 0x5c(r27) -/* 8035E2D8 0035B238 48 00 00 1C */ b lbl_8035E2F4 -lbl_8035E2DC: -/* 8035E2DC 0035B23C 3B 5B 00 50 */ addi r26, r27, 0x50 -/* 8035E2E0 0035B240 38 81 00 54 */ addi r4, r1, 0x54 -/* 8035E2E4 0035B244 7F 43 D3 78 */ mr r3, r26 -/* 8035E2E8 0035B248 4B FE 29 DD */ bl __as__6CTokenFRC6CToken -/* 8035E2EC 0035B24C 80 01 00 5C */ lwz r0, 0x5c(r1) -/* 8035E2F0 0035B250 90 1A 00 08 */ stw r0, 8(r26) -lbl_8035E2F4: -/* 8035E2F4 0035B254 38 61 00 54 */ addi r3, r1, 0x54 -/* 8035E2F8 0035B258 38 80 00 00 */ li r4, 0 -/* 8035E2FC 0035B25C 4B FE 2B 45 */ bl __dt__6CTokenFv -lbl_8035E300: -/* 8035E300 0035B260 88 01 00 9C */ lbz r0, 0x9c(r1) -/* 8035E304 0035B264 28 00 00 00 */ cmplwi r0, 0 -/* 8035E308 0035B268 41 82 00 14 */ beq lbl_8035E31C -/* 8035E30C 0035B26C 34 61 00 94 */ addic. r3, r1, 0x94 -/* 8035E310 0035B270 41 82 00 0C */ beq lbl_8035E31C -/* 8035E314 0035B274 38 80 00 00 */ li r4, 0 -/* 8035E318 0035B278 4B FE 2B 29 */ bl __dt__6CTokenFv -lbl_8035E31C: -/* 8035E31C 0035B27C 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 8035E320 0035B280 38 80 00 00 */ li r4, 0 -/* 8035E324 0035B284 80 61 00 AC */ lwz r3, 0xac(r1) -/* 8035E328 0035B288 54 00 10 3A */ slwi r0, r0, 2 -/* 8035E32C 0035B28C 98 81 00 9C */ stb r4, 0x9c(r1) -/* 8035E330 0035B290 7C 03 02 14 */ add r0, r3, r0 -/* 8035E334 0035B294 7C 64 1B 78 */ mr r4, r3 -/* 8035E338 0035B298 90 01 00 24 */ stw r0, 0x24(r1) -/* 8035E33C 0035B29C 90 01 00 20 */ stw r0, 0x20(r1) -/* 8035E340 0035B2A0 90 61 00 1C */ stw r3, 0x1c(r1) -/* 8035E344 0035B2A4 90 61 00 18 */ stw r3, 0x18(r1) -/* 8035E348 0035B2A8 48 00 00 08 */ b lbl_8035E350 -lbl_8035E34C: -/* 8035E34C 0035B2AC 38 84 00 04 */ addi r4, r4, 4 -lbl_8035E350: -/* 8035E350 0035B2B0 7C 04 00 40 */ cmplw r4, r0 -/* 8035E354 0035B2B4 40 82 FF F8 */ bne lbl_8035E34C -/* 8035E358 0035B2B8 28 03 00 00 */ cmplwi r3, 0 -/* 8035E35C 0035B2BC 41 82 01 E0 */ beq lbl_8035E53C -/* 8035E360 0035B2C0 4B FB 75 D1 */ bl Free__7CMemoryFPCv -/* 8035E364 0035B2C4 48 00 01 D8 */ b lbl_8035E53C -lbl_8035E368: -/* 8035E368 0035B2C8 38 00 00 00 */ li r0, 0 -/* 8035E36C 0035B2CC 7F 84 E3 78 */ mr r4, r28 -/* 8035E370 0035B2D0 90 01 00 88 */ stw r0, 0x88(r1) -/* 8035E374 0035B2D4 7F A5 EB 78 */ mr r5, r29 -/* 8035E378 0035B2D8 38 61 00 48 */ addi r3, r1, 0x48 -/* 8035E37C 0035B2DC 38 C1 00 84 */ addi r6, r1, 0x84 -/* 8035E380 0035B2E0 90 01 00 8C */ stw r0, 0x8c(r1) -/* 8035E384 0035B2E4 90 01 00 90 */ stw r0, 0x90(r1) -/* 8035E388 0035B2E8 4B FC 6A 09 */ bl "GetChildGeneratorDesc__20CParticleDataFactoryFR12CInputStreamP11CSimplePoolRCQ24rstl37vector" -/* 8035E38C 0035B2EC 88 01 00 50 */ lbz r0, 0x50(r1) -/* 8035E390 0035B2F0 28 00 00 00 */ cmplwi r0, 0 -/* 8035E394 0035B2F4 98 01 00 80 */ stb r0, 0x80(r1) -/* 8035E398 0035B2F8 41 82 00 14 */ beq lbl_8035E3AC -/* 8035E39C 0035B2FC 34 61 00 78 */ addic. r3, r1, 0x78 -/* 8035E3A0 0035B300 38 81 00 48 */ addi r4, r1, 0x48 -/* 8035E3A4 0035B304 41 82 00 08 */ beq lbl_8035E3AC -/* 8035E3A8 0035B308 4B FE 2B 01 */ bl __ct__6CTokenFRC6CToken -lbl_8035E3AC: -/* 8035E3AC 0035B30C 88 01 00 50 */ lbz r0, 0x50(r1) -/* 8035E3B0 0035B310 28 00 00 00 */ cmplwi r0, 0 -/* 8035E3B4 0035B314 41 82 00 14 */ beq lbl_8035E3C8 -/* 8035E3B8 0035B318 34 61 00 48 */ addic. r3, r1, 0x48 -/* 8035E3BC 0035B31C 41 82 00 0C */ beq lbl_8035E3C8 -/* 8035E3C0 0035B320 38 80 00 00 */ li r4, 0 -/* 8035E3C4 0035B324 4B FE 2A 7D */ bl __dt__6CTokenFv -lbl_8035E3C8: -/* 8035E3C8 0035B328 88 01 00 80 */ lbz r0, 0x80(r1) -/* 8035E3CC 0035B32C 38 60 00 00 */ li r3, 0 -/* 8035E3D0 0035B330 98 61 00 50 */ stb r3, 0x50(r1) -/* 8035E3D4 0035B334 28 00 00 00 */ cmplwi r0, 0 -/* 8035E3D8 0035B338 41 82 00 70 */ beq lbl_8035E448 -/* 8035E3DC 0035B33C 38 61 00 3C */ addi r3, r1, 0x3c -/* 8035E3E0 0035B340 38 81 00 78 */ addi r4, r1, 0x78 -/* 8035E3E4 0035B344 4B FE 2A C5 */ bl __ct__6CTokenFRC6CToken -/* 8035E3E8 0035B348 38 00 00 00 */ li r0, 0 -/* 8035E3EC 0035B34C 90 01 00 44 */ stw r0, 0x44(r1) -/* 8035E3F0 0035B350 88 1B 00 6C */ lbz r0, 0x6c(r27) -/* 8035E3F4 0035B354 28 00 00 00 */ cmplwi r0, 0 -/* 8035E3F8 0035B358 40 82 00 2C */ bne lbl_8035E424 -/* 8035E3FC 0035B35C 37 5B 00 60 */ addic. r26, r27, 0x60 -/* 8035E400 0035B360 41 82 00 18 */ beq lbl_8035E418 -/* 8035E404 0035B364 7F 43 D3 78 */ mr r3, r26 -/* 8035E408 0035B368 38 81 00 3C */ addi r4, r1, 0x3c -/* 8035E40C 0035B36C 4B FE 2A 9D */ bl __ct__6CTokenFRC6CToken -/* 8035E410 0035B370 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8035E414 0035B374 90 1A 00 08 */ stw r0, 8(r26) -lbl_8035E418: -/* 8035E418 0035B378 38 00 00 01 */ li r0, 1 -/* 8035E41C 0035B37C 98 1B 00 6C */ stb r0, 0x6c(r27) -/* 8035E420 0035B380 48 00 00 1C */ b lbl_8035E43C -lbl_8035E424: -/* 8035E424 0035B384 3B 5B 00 60 */ addi r26, r27, 0x60 -/* 8035E428 0035B388 38 81 00 3C */ addi r4, r1, 0x3c -/* 8035E42C 0035B38C 7F 43 D3 78 */ mr r3, r26 -/* 8035E430 0035B390 4B FE 28 95 */ bl __as__6CTokenFRC6CToken -/* 8035E434 0035B394 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8035E438 0035B398 90 1A 00 08 */ stw r0, 8(r26) -lbl_8035E43C: -/* 8035E43C 0035B39C 38 61 00 3C */ addi r3, r1, 0x3c -/* 8035E440 0035B3A0 38 80 00 00 */ li r4, 0 -/* 8035E444 0035B3A4 4B FE 29 FD */ bl __dt__6CTokenFv -lbl_8035E448: -/* 8035E448 0035B3A8 88 01 00 80 */ lbz r0, 0x80(r1) -/* 8035E44C 0035B3AC 28 00 00 00 */ cmplwi r0, 0 -/* 8035E450 0035B3B0 41 82 00 14 */ beq lbl_8035E464 -/* 8035E454 0035B3B4 34 61 00 78 */ addic. r3, r1, 0x78 -/* 8035E458 0035B3B8 41 82 00 0C */ beq lbl_8035E464 -/* 8035E45C 0035B3BC 38 80 00 00 */ li r4, 0 -/* 8035E460 0035B3C0 4B FE 29 E1 */ bl __dt__6CTokenFv -lbl_8035E464: -/* 8035E464 0035B3C4 80 01 00 88 */ lwz r0, 0x88(r1) -/* 8035E468 0035B3C8 38 80 00 00 */ li r4, 0 -/* 8035E46C 0035B3CC 80 61 00 90 */ lwz r3, 0x90(r1) -/* 8035E470 0035B3D0 54 00 10 3A */ slwi r0, r0, 2 -/* 8035E474 0035B3D4 98 81 00 80 */ stb r4, 0x80(r1) -/* 8035E478 0035B3D8 7C 03 02 14 */ add r0, r3, r0 -/* 8035E47C 0035B3DC 7C 64 1B 78 */ mr r4, r3 -/* 8035E480 0035B3E0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8035E484 0035B3E4 90 01 00 10 */ stw r0, 0x10(r1) -/* 8035E488 0035B3E8 90 61 00 0C */ stw r3, 0xc(r1) -/* 8035E48C 0035B3EC 90 61 00 08 */ stw r3, 8(r1) -/* 8035E490 0035B3F0 48 00 00 08 */ b lbl_8035E498 -lbl_8035E494: -/* 8035E494 0035B3F4 38 84 00 04 */ addi r4, r4, 4 -lbl_8035E498: -/* 8035E498 0035B3F8 7C 04 00 40 */ cmplw r4, r0 -/* 8035E49C 0035B3FC 40 82 FF F8 */ bne lbl_8035E494 -/* 8035E4A0 0035B400 28 03 00 00 */ cmplwi r3, 0 -/* 8035E4A4 0035B404 41 82 00 98 */ beq lbl_8035E53C -/* 8035E4A8 0035B408 4B FB 74 89 */ bl Free__7CMemoryFPCv -/* 8035E4AC 0035B40C 48 00 00 90 */ b lbl_8035E53C -lbl_8035E4B0: -/* 8035E4B0 0035B410 7F 83 E3 78 */ mr r3, r28 -/* 8035E4B4 0035B414 4B FC 87 DD */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 8035E4B8 0035B418 90 7B 00 28 */ stw r3, 0x28(r27) -/* 8035E4BC 0035B41C 48 00 00 80 */ b lbl_8035E53C -lbl_8035E4C0: -/* 8035E4C0 0035B420 7F 83 E3 78 */ mr r3, r28 -/* 8035E4C4 0035B424 4B FC 87 CD */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 8035E4C8 0035B428 90 7B 00 2C */ stw r3, 0x2c(r27) -/* 8035E4CC 0035B42C 48 00 00 70 */ b lbl_8035E53C -lbl_8035E4D0: -/* 8035E4D0 0035B430 7F 83 E3 78 */ mr r3, r28 -/* 8035E4D4 0035B434 4B FC 87 BD */ bl GetRealElement__20CParticleDataFactoryFR12CInputStream -/* 8035E4D8 0035B438 90 7B 00 30 */ stw r3, 0x30(r27) -/* 8035E4DC 0035B43C 48 00 00 60 */ b lbl_8035E53C -lbl_8035E4E0: -/* 8035E4E0 0035B440 7F 83 E3 78 */ mr r3, r28 -/* 8035E4E4 0035B444 4B FC 6D 79 */ bl GetColorElement__20CParticleDataFactoryFR12CInputStream -/* 8035E4E8 0035B448 90 7B 00 34 */ stw r3, 0x34(r27) -/* 8035E4EC 0035B44C 48 00 00 50 */ b lbl_8035E53C -lbl_8035E4F0: -/* 8035E4F0 0035B450 7F 83 E3 78 */ mr r3, r28 -/* 8035E4F4 0035B454 4B FC 6D 69 */ bl GetColorElement__20CParticleDataFactoryFR12CInputStream -/* 8035E4F8 0035B458 90 7B 00 38 */ stw r3, 0x38(r27) -/* 8035E4FC 0035B45C 48 00 00 40 */ b lbl_8035E53C -lbl_8035E500: -/* 8035E500 0035B460 7F 83 E3 78 */ mr r3, r28 -/* 8035E504 0035B464 4B FC 6D 59 */ bl GetColorElement__20CParticleDataFactoryFR12CInputStream -/* 8035E508 0035B468 90 7B 00 3C */ stw r3, 0x3c(r27) -/* 8035E50C 0035B46C 48 00 00 30 */ b lbl_8035E53C -lbl_8035E510: -/* 8035E510 0035B470 7F 83 E3 78 */ mr r3, r28 -/* 8035E514 0035B474 4B FC 9F 15 */ bl GetBool__20CParticleDataFactoryFR12CInputStream -/* 8035E518 0035B478 98 7B 00 70 */ stb r3, 0x70(r27) -/* 8035E51C 0035B47C 48 00 00 20 */ b lbl_8035E53C -lbl_8035E520: -/* 8035E520 0035B480 3B C0 00 01 */ li r30, 1 -/* 8035E524 0035B484 48 00 00 18 */ b lbl_8035E53C -lbl_8035E528: -/* 8035E528 0035B488 38 61 00 B0 */ addi r3, r1, 0xb0 -/* 8035E52C 0035B48C 38 80 FF FF */ li r4, -1 -/* 8035E530 0035B490 4B FB 40 D5 */ bl __dt__13CGlobalRandomFv -/* 8035E534 0035B494 38 60 00 00 */ li r3, 0 -/* 8035E538 0035B498 48 00 00 1C */ b lbl_8035E554 -lbl_8035E53C: -/* 8035E53C 0035B49C 38 61 00 B0 */ addi r3, r1, 0xb0 -/* 8035E540 0035B4A0 38 80 FF FF */ li r4, -1 -/* 8035E544 0035B4A4 4B FB 40 C1 */ bl __dt__13CGlobalRandomFv -lbl_8035E548: -/* 8035E548 0035B4A8 57 C0 06 3F */ clrlwi. r0, r30, 0x18 -/* 8035E54C 0035B4AC 41 82 F9 D8 */ beq lbl_8035DF24 -/* 8035E550 0035B4B0 38 60 00 01 */ li r3, 1 -lbl_8035E554: -/* 8035E554 0035B4B4 BB 41 00 C8 */ lmw r26, 0xc8(r1) -/* 8035E558 0035B4B8 80 01 00 E4 */ lwz r0, 0xe4(r1) -/* 8035E55C 0035B4BC 7C 08 03 A6 */ mtlr r0 -/* 8035E560 0035B4C0 38 21 00 E0 */ addi r1, r1, 0xe0 -/* 8035E564 0035B4C4 4E 80 00 20 */ blr - -.global LoadELSMTokens__28CParticleElectricDataFactoryFP20CElectricDescription -LoadELSMTokens__28CParticleElectricDataFactoryFP20CElectricDescription: -/* 8035E568 0035B4C8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8035E56C 0035B4CC 7C 08 02 A6 */ mflr r0 -/* 8035E570 0035B4D0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8035E574 0035B4D4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8035E578 0035B4D8 93 C1 00 08 */ stw r30, 8(r1) -/* 8035E57C 0035B4DC 7C 7E 1B 78 */ mr r30, r3 -/* 8035E580 0035B4E0 88 03 00 4C */ lbz r0, 0x4c(r3) -/* 8035E584 0035B4E4 28 00 00 00 */ cmplwi r0, 0 -/* 8035E588 0035B4E8 41 82 00 24 */ beq lbl_8035E5AC -/* 8035E58C 0035B4EC 3B FE 00 40 */ addi r31, r30, 0x40 -/* 8035E590 0035B4F0 80 1E 00 48 */ lwz r0, 0x48(r30) -/* 8035E594 0035B4F4 28 00 00 00 */ cmplwi r0, 0 -/* 8035E598 0035B4F8 40 82 00 14 */ bne lbl_8035E5AC -/* 8035E59C 0035B4FC 7F E3 FB 78 */ mr r3, r31 -/* 8035E5A0 0035B500 4B FE 28 6D */ bl GetObj__6CTokenFv -/* 8035E5A4 0035B504 80 03 00 04 */ lwz r0, 4(r3) -/* 8035E5A8 0035B508 90 1F 00 08 */ stw r0, 8(r31) -lbl_8035E5AC: -/* 8035E5AC 0035B50C 88 1E 00 5C */ lbz r0, 0x5c(r30) -/* 8035E5B0 0035B510 28 00 00 00 */ cmplwi r0, 0 -/* 8035E5B4 0035B514 41 82 00 24 */ beq lbl_8035E5D8 -/* 8035E5B8 0035B518 3B FE 00 50 */ addi r31, r30, 0x50 -/* 8035E5BC 0035B51C 80 1E 00 58 */ lwz r0, 0x58(r30) -/* 8035E5C0 0035B520 28 00 00 00 */ cmplwi r0, 0 -/* 8035E5C4 0035B524 40 82 00 14 */ bne lbl_8035E5D8 -/* 8035E5C8 0035B528 7F E3 FB 78 */ mr r3, r31 -/* 8035E5CC 0035B52C 4B FE 28 41 */ bl GetObj__6CTokenFv -/* 8035E5D0 0035B530 80 03 00 04 */ lwz r0, 4(r3) -/* 8035E5D4 0035B534 90 1F 00 08 */ stw r0, 8(r31) -lbl_8035E5D8: -/* 8035E5D8 0035B538 88 1E 00 6C */ lbz r0, 0x6c(r30) -/* 8035E5DC 0035B53C 28 00 00 00 */ cmplwi r0, 0 -/* 8035E5E0 0035B540 41 82 00 24 */ beq lbl_8035E604 -/* 8035E5E4 0035B544 3B FE 00 60 */ addi r31, r30, 0x60 -/* 8035E5E8 0035B548 80 1E 00 68 */ lwz r0, 0x68(r30) -/* 8035E5EC 0035B54C 28 00 00 00 */ cmplwi r0, 0 -/* 8035E5F0 0035B550 40 82 00 14 */ bne lbl_8035E604 -/* 8035E5F4 0035B554 7F E3 FB 78 */ mr r3, r31 -/* 8035E5F8 0035B558 4B FE 28 15 */ bl GetObj__6CTokenFv -/* 8035E5FC 0035B55C 80 03 00 04 */ lwz r0, 4(r3) -/* 8035E600 0035B560 90 1F 00 08 */ stw r0, 8(r31) -lbl_8035E604: -/* 8035E604 0035B564 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8035E608 0035B568 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8035E60C 0035B56C 83 C1 00 08 */ lwz r30, 8(r1) -/* 8035E610 0035B570 7C 08 03 A6 */ mtlr r0 -/* 8035E614 0035B574 38 21 00 10 */ addi r1, r1, 0x10 -/* 8035E618 0035B578 4E 80 00 20 */ blr - -.global CreateGeneratorDescription__28CParticleElectricDataFactoryFR12CInputStreamP11CSimplePool -CreateGeneratorDescription__28CParticleElectricDataFactoryFR12CInputStreamP11CSimplePool: -/* 8035E61C 0035B57C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8035E620 0035B580 7C 08 02 A6 */ mflr r0 -/* 8035E624 0035B584 90 01 00 24 */ stw r0, 0x24(r1) -/* 8035E628 0035B588 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8035E62C 0035B58C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8035E630 0035B590 7C 9E 23 78 */ mr r30, r4 -/* 8035E634 0035B594 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8035E638 0035B598 7C 7D 1B 78 */ mr r29, r3 -/* 8035E63C 0035B59C 4B FC 9E 21 */ bl GetClassID__20CParticleDataFactoryFR12CInputStream -/* 8035E640 0035B5A0 3C 03 BA B4 */ addis r0, r3, 0xbab4 -/* 8035E644 0035B5A4 28 00 53 4D */ cmplwi r0, 0x534d -/* 8035E648 0035B5A8 41 82 00 0C */ beq lbl_8035E654 -/* 8035E64C 0035B5AC 38 60 00 00 */ li r3, 0 -/* 8035E650 0035B5B0 48 00 00 44 */ b lbl_8035E694 -lbl_8035E654: -/* 8035E654 0035B5B4 3C 80 80 3E */ lis r4, lbl_803D83E0@ha -/* 8035E658 0035B5B8 38 60 00 74 */ li r3, 0x74 -/* 8035E65C 0035B5BC 38 84 83 E0 */ addi r4, r4, lbl_803D83E0@l -/* 8035E660 0035B5C0 38 A0 00 00 */ li r5, 0 -/* 8035E664 0035B5C4 4B FB 72 09 */ bl __nw__FUlPCcPCc -/* 8035E668 0035B5C8 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8035E66C 0035B5CC 41 82 00 0C */ beq lbl_8035E678 -/* 8035E670 0035B5D0 48 00 84 31 */ bl __ct__20CElectricDescriptionFv -/* 8035E674 0035B5D4 7C 7F 1B 78 */ mr r31, r3 -lbl_8035E678: -/* 8035E678 0035B5D8 7F E3 FB 78 */ mr r3, r31 -/* 8035E67C 0035B5DC 7F A4 EB 78 */ mr r4, r29 -/* 8035E680 0035B5E0 7F C5 F3 78 */ mr r5, r30 -/* 8035E684 0035B5E4 4B FF F8 69 */ bl CreateELSM__28CParticleElectricDataFactoryFP20CElectricDescriptionR12CInputStreamP11CSimplePool -/* 8035E688 0035B5E8 7F E3 FB 78 */ mr r3, r31 -/* 8035E68C 0035B5EC 4B FF FE DD */ bl LoadELSMTokens__28CParticleElectricDataFactoryFP20CElectricDescription -/* 8035E690 0035B5F0 7F E3 FB 78 */ mr r3, r31 -lbl_8035E694: -/* 8035E694 0035B5F4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8035E698 0035B5F8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8035E69C 0035B5FC 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8035E6A0 0035B600 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8035E6A4 0035B604 7C 08 03 A6 */ mtlr r0 -/* 8035E6A8 0035B608 38 21 00 20 */ addi r1, r1, 0x20 -/* 8035E6AC 0035B60C 4E 80 00 20 */ blr - -.global GetGeneratorDesc__28CParticleElectricDataFactoryFR12CInputStreamP11CSimplePool -GetGeneratorDesc__28CParticleElectricDataFactoryFR12CInputStreamP11CSimplePool: -/* 8035E6B0 0035B610 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8035E6B4 0035B614 7C 08 02 A6 */ mflr r0 -/* 8035E6B8 0035B618 90 01 00 34 */ stw r0, 0x34(r1) -/* 8035E6BC 0035B61C 38 00 00 00 */ li r0, 0 -/* 8035E6C0 0035B620 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8035E6C4 0035B624 90 01 00 1C */ stw r0, 0x1c(r1) -/* 8035E6C8 0035B628 90 01 00 20 */ stw r0, 0x20(r1) -/* 8035E6CC 0035B62C 90 01 00 24 */ stw r0, 0x24(r1) -/* 8035E6D0 0035B630 4B FF FF 4D */ bl CreateGeneratorDescription__28CParticleElectricDataFactoryFR12CInputStreamP11CSimplePool -/* 8035E6D4 0035B634 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 8035E6D8 0035B638 7C 7F 1B 78 */ mr r31, r3 -/* 8035E6DC 0035B63C 80 81 00 24 */ lwz r4, 0x24(r1) -/* 8035E6E0 0035B640 54 00 10 3A */ slwi r0, r0, 2 -/* 8035E6E4 0035B644 7C 04 02 14 */ add r0, r4, r0 -/* 8035E6E8 0035B648 90 81 00 0C */ stw r4, 0xc(r1) -/* 8035E6EC 0035B64C 7C 83 23 78 */ mr r3, r4 -/* 8035E6F0 0035B650 90 01 00 14 */ stw r0, 0x14(r1) -/* 8035E6F4 0035B654 90 01 00 10 */ stw r0, 0x10(r1) -/* 8035E6F8 0035B658 90 81 00 08 */ stw r4, 8(r1) -/* 8035E6FC 0035B65C 48 00 00 08 */ b lbl_8035E704 -lbl_8035E700: -/* 8035E700 0035B660 38 63 00 04 */ addi r3, r3, 4 -lbl_8035E704: -/* 8035E704 0035B664 7C 03 00 40 */ cmplw r3, r0 -/* 8035E708 0035B668 40 82 FF F8 */ bne lbl_8035E700 -/* 8035E70C 0035B66C 28 04 00 00 */ cmplwi r4, 0 -/* 8035E710 0035B670 41 82 00 0C */ beq lbl_8035E71C -/* 8035E714 0035B674 7C 83 23 78 */ mr r3, r4 -/* 8035E718 0035B678 4B FB 72 19 */ bl Free__7CMemoryFPCv -lbl_8035E71C: -/* 8035E71C 0035B67C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8035E720 0035B680 7F E3 FB 78 */ mr r3, r31 -/* 8035E724 0035B684 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8035E728 0035B688 7C 08 03 A6 */ mtlr r0 -/* 8035E72C 0035B68C 38 21 00 30 */ addi r1, r1, 0x30 -/* 8035E730 0035B690 4E 80 00 20 */ blr - -.global FParticleElectricDataFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer -FParticleElectricDataFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer: -/* 8035E734 0035B694 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8035E738 0035B698 7C 08 02 A6 */ mflr r0 -/* 8035E73C 0035B69C 90 01 00 34 */ stw r0, 0x34(r1) -/* 8035E740 0035B6A0 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8035E744 0035B6A4 7C 7F 1B 78 */ mr r31, r3 -/* 8035E748 0035B6A8 7C A3 2B 78 */ mr r3, r5 -/* 8035E74C 0035B6AC 80 C6 00 00 */ lwz r6, 0(r6) -/* 8035E750 0035B6B0 90 C1 00 08 */ stw r6, 8(r1) -/* 8035E754 0035B6B4 80 86 00 04 */ lwz r4, 4(r6) -/* 8035E758 0035B6B8 38 04 00 01 */ addi r0, r4, 1 -/* 8035E75C 0035B6BC 90 06 00 04 */ stw r0, 4(r6) -/* 8035E760 0035B6C0 80 81 00 08 */ lwz r4, 8(r1) -/* 8035E764 0035B6C4 80 84 00 00 */ lwz r4, 0(r4) -/* 8035E768 0035B6C8 80 84 00 04 */ lwz r4, 4(r4) -/* 8035E76C 0035B6CC 4B FF FF 45 */ bl GetGeneratorDesc__28CParticleElectricDataFactoryFR12CInputStreamP11CSimplePool -/* 8035E770 0035B6D0 7C 03 00 D0 */ neg r0, r3 -/* 8035E774 0035B6D4 90 61 00 10 */ stw r3, 0x10(r1) -/* 8035E778 0035B6D8 7C 00 1B 78 */ or r0, r0, r3 -/* 8035E77C 0035B6DC 38 61 00 14 */ addi r3, r1, 0x14 -/* 8035E780 0035B6E0 54 00 0F FE */ srwi r0, r0, 0x1f -/* 8035E784 0035B6E4 38 81 00 0C */ addi r4, r1, 0xc -/* 8035E788 0035B6E8 98 01 00 0C */ stb r0, 0xc(r1) -/* 8035E78C 0035B6EC 48 00 00 85 */ bl "GetIObjObjectFor__30TToken<20CElectricDescription>FRCQ24rstl32auto_ptr<20CElectricDescription>" -/* 8035E790 0035B6F0 80 61 00 18 */ lwz r3, 0x18(r1) -/* 8035E794 0035B6F4 38 00 00 00 */ li r0, 0 -/* 8035E798 0035B6F8 98 01 00 14 */ stb r0, 0x14(r1) -/* 8035E79C 0035B6FC 7C 03 00 D0 */ neg r0, r3 -/* 8035E7A0 0035B700 7C 00 1B 78 */ or r0, r0, r3 -/* 8035E7A4 0035B704 54 00 0F FE */ srwi r0, r0, 0x1f -/* 8035E7A8 0035B708 98 1F 00 00 */ stb r0, 0(r31) -/* 8035E7AC 0035B70C 90 7F 00 04 */ stw r3, 4(r31) -/* 8035E7B0 0035B710 88 01 00 14 */ lbz r0, 0x14(r1) -/* 8035E7B4 0035B714 28 00 00 00 */ cmplwi r0, 0 -/* 8035E7B8 0035B718 41 82 00 24 */ beq lbl_8035E7DC -/* 8035E7BC 0035B71C 80 61 00 18 */ lwz r3, 0x18(r1) -/* 8035E7C0 0035B720 28 03 00 00 */ cmplwi r3, 0 -/* 8035E7C4 0035B724 41 82 00 18 */ beq lbl_8035E7DC -/* 8035E7C8 0035B728 81 83 00 00 */ lwz r12, 0(r3) -/* 8035E7CC 0035B72C 38 80 00 01 */ li r4, 1 -/* 8035E7D0 0035B730 81 8C 00 08 */ lwz r12, 8(r12) -/* 8035E7D4 0035B734 7D 89 03 A6 */ mtctr r12 -/* 8035E7D8 0035B738 4E 80 04 21 */ bctrl -lbl_8035E7DC: -/* 8035E7DC 0035B73C 88 01 00 0C */ lbz r0, 0xc(r1) -/* 8035E7E0 0035B740 28 00 00 00 */ cmplwi r0, 0 -/* 8035E7E4 0035B744 41 82 00 10 */ beq lbl_8035E7F4 -/* 8035E7E8 0035B748 80 61 00 10 */ lwz r3, 0x10(r1) -/* 8035E7EC 0035B74C 38 80 00 01 */ li r4, 1 -/* 8035E7F0 0035B750 48 00 7F C9 */ bl __dt__20CElectricDescriptionFv -lbl_8035E7F4: -/* 8035E7F4 0035B754 38 61 00 08 */ addi r3, r1, 8 -/* 8035E7F8 0035B758 4B CD 5B 0D */ bl sub_80034304 -/* 8035E7FC 0035B75C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8035E800 0035B760 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8035E804 0035B764 7C 08 03 A6 */ mtlr r0 -/* 8035E808 0035B768 38 21 00 30 */ addi r1, r1, 0x30 -/* 8035E80C 0035B76C 4E 80 00 20 */ blr - -.global "GetIObjObjectFor__30TToken<20CElectricDescription>FRCQ24rstl32auto_ptr<20CElectricDescription>" -"GetIObjObjectFor__30TToken<20CElectricDescription>FRCQ24rstl32auto_ptr<20CElectricDescription>": -/* 8035E810 0035B770 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8035E814 0035B774 7C 08 02 A6 */ mflr r0 -/* 8035E818 0035B778 90 01 00 14 */ stw r0, 0x14(r1) -/* 8035E81C 0035B77C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8035E820 0035B780 7C 7F 1B 78 */ mr r31, r3 -/* 8035E824 0035B784 48 00 00 19 */ bl "GetNewDerivedObject__48TObjOwnerDerivedFromIObj<20CElectricDescription>FRCQ24rstl32auto_ptr<20CElectricDescription>" -/* 8035E828 0035B788 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8035E82C 0035B78C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8035E830 0035B790 7C 08 03 A6 */ mtlr r0 -/* 8035E834 0035B794 38 21 00 10 */ addi r1, r1, 0x10 -/* 8035E838 0035B798 4E 80 00 20 */ blr - -.global "GetNewDerivedObject__48TObjOwnerDerivedFromIObj<20CElectricDescription>FRCQ24rstl32auto_ptr<20CElectricDescription>" -"GetNewDerivedObject__48TObjOwnerDerivedFromIObj<20CElectricDescription>FRCQ24rstl32auto_ptr<20CElectricDescription>": -/* 8035E83C 0035B79C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8035E840 0035B7A0 7C 08 02 A6 */ mflr r0 -/* 8035E844 0035B7A4 3C A0 80 3E */ lis r5, lbl_803D83E0@ha -/* 8035E848 0035B7A8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8035E84C 0035B7AC 38 05 83 E0 */ addi r0, r5, lbl_803D83E0@l -/* 8035E850 0035B7B0 38 A0 00 00 */ li r5, 0 -/* 8035E854 0035B7B4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8035E858 0035B7B8 7C 9F 23 78 */ mr r31, r4 -/* 8035E85C 0035B7BC 7C 04 03 78 */ mr r4, r0 -/* 8035E860 0035B7C0 93 C1 00 08 */ stw r30, 8(r1) -/* 8035E864 0035B7C4 7C 7E 1B 78 */ mr r30, r3 -/* 8035E868 0035B7C8 38 60 00 08 */ li r3, 8 -/* 8035E86C 0035B7CC 4B FB 70 01 */ bl __nw__FUlPCcPCc -/* 8035E870 0035B7D0 28 03 00 00 */ cmplwi r3, 0 -/* 8035E874 0035B7D4 41 82 00 38 */ beq lbl_8035E8AC -/* 8035E878 0035B7D8 3C 80 80 3E */ lis r4, lbl_803D8D6C@ha -/* 8035E87C 0035B7DC 3C A0 80 3E */ lis r5, lbl_803D8D78@ha -/* 8035E880 0035B7E0 38 04 8D 6C */ addi r0, r4, lbl_803D8D6C@l -/* 8035E884 0035B7E4 3C 80 80 3E */ lis r4, lbl_803DACA4@ha -/* 8035E888 0035B7E8 90 03 00 00 */ stw r0, 0(r3) -/* 8035E88C 0035B7EC 38 C5 8D 78 */ addi r6, r5, lbl_803D8D78@l -/* 8035E890 0035B7F0 38 A0 00 00 */ li r5, 0 -/* 8035E894 0035B7F4 38 04 AC A4 */ addi r0, r4, lbl_803DACA4@l -/* 8035E898 0035B7F8 90 C3 00 00 */ stw r6, 0(r3) -/* 8035E89C 0035B7FC 98 BF 00 00 */ stb r5, 0(r31) -/* 8035E8A0 0035B800 80 9F 00 04 */ lwz r4, 4(r31) -/* 8035E8A4 0035B804 90 83 00 04 */ stw r4, 4(r3) -/* 8035E8A8 0035B808 90 03 00 00 */ stw r0, 0(r3) -lbl_8035E8AC: -/* 8035E8AC 0035B80C 7C 03 00 D0 */ neg r0, r3 -/* 8035E8B0 0035B810 7C 00 1B 78 */ or r0, r0, r3 -/* 8035E8B4 0035B814 54 00 0F FE */ srwi r0, r0, 0x1f -/* 8035E8B8 0035B818 98 1E 00 00 */ stb r0, 0(r30) -/* 8035E8BC 0035B81C 90 7E 00 04 */ stw r3, 4(r30) -/* 8035E8C0 0035B820 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8035E8C4 0035B824 83 C1 00 08 */ lwz r30, 8(r1) -/* 8035E8C8 0035B828 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8035E8CC 0035B82C 7C 08 03 A6 */ mtlr r0 -/* 8035E8D0 0035B830 38 21 00 10 */ addi r1, r1, 0x10 -/* 8035E8D4 0035B834 4E 80 00 20 */ blr - -.global GetTranslation__17CParticleElectricCFv -GetTranslation__17CParticleElectricCFv: -/* 8035E8D8 0035B838 38 63 00 38 */ addi r3, r3, 0x38 -/* 8035E8DC 0035B83C 4E 80 00 20 */ blr - -.global GetOrientation__17CParticleElectricCFv -GetOrientation__17CParticleElectricCFv: -/* 8035E8E0 0035B840 38 63 00 44 */ addi r3, r3, 0x44 -/* 8035E8E4 0035B844 4E 80 00 20 */ blr - -.global GetGlobalTranslation__17CParticleElectricCFv -GetGlobalTranslation__17CParticleElectricCFv: -/* 8035E8E8 0035B848 38 63 00 A4 */ addi r3, r3, 0xa4 -/* 8035E8EC 0035B84C 4E 80 00 20 */ blr - -.global GetGlobalOrientation__17CParticleElectricCFv -GetGlobalOrientation__17CParticleElectricCFv: -/* 8035E8F0 0035B850 38 63 00 B0 */ addi r3, r3, 0xb0 -/* 8035E8F4 0035B854 4E 80 00 20 */ blr - -.global DestroyParticles__17CParticleElectricFv -DestroyParticles__17CParticleElectricFv: -/* 8035E8F8 0035B858 4E 80 00 20 */ blr - -.global Get4CharId__17CParticleElectricFv -Get4CharId__17CParticleElectricFv: -/* 8035E8FC 0035B85C 3C 60 45 4C */ lis r3, 0x454C5343@ha -/* 8035E900 0035B860 38 63 53 43 */ addi r3, r3, 0x454C5343@l -/* 8035E904 0035B864 4E 80 00 20 */ blr - -.global SetParticleEmission__17CParticleElectricFb -SetParticleEmission__17CParticleElectricFb: -/* 8035E908 0035B868 88 03 04 50 */ lbz r0, 0x450(r3) -/* 8035E90C 0035B86C 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 8035E910 0035B870 98 03 04 50 */ stb r0, 0x450(r3) -/* 8035E914 0035B874 4E 80 00 20 */ blr - -.global GetLight__17CParticleElectricFv -GetLight__17CParticleElectricFv: -/* 8035E918 0035B878 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8035E91C 0035B87C 7C 08 02 A6 */ mflr r0 -/* 8035E920 0035B880 90 01 00 24 */ stw r0, 0x24(r1) -/* 8035E924 0035B884 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8035E928 0035B888 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8035E92C 0035B88C 7C 9E 23 78 */ mr r30, r4 -/* 8035E930 0035B890 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8035E934 0035B894 7C 7D 1B 78 */ mr r29, r3 -/* 8035E938 0035B898 88 84 04 50 */ lbz r4, 0x450(r4) -/* 8035E93C 0035B89C 54 80 D7 FF */ rlwinm. r0, r4, 0x1a, 0x1f, 0x1f -/* 8035E940 0035B8A0 41 82 00 20 */ beq lbl_8035E960 -/* 8035E944 0035B8A4 80 9E 04 0C */ lwz r4, 0x40c(r30) -/* 8035E948 0035B8A8 80 84 00 04 */ lwz r4, 4(r4) -/* 8035E94C 0035B8AC 81 84 00 00 */ lwz r12, 0(r4) -/* 8035E950 0035B8B0 81 8C 00 68 */ lwz r12, 0x68(r12) -/* 8035E954 0035B8B4 7D 89 03 A6 */ mtctr r12 -/* 8035E958 0035B8B8 4E 80 04 21 */ bctrl -/* 8035E95C 0035B8BC 48 00 00 54 */ b lbl_8035E9B0 -lbl_8035E960: -/* 8035E960 0035B8C0 54 80 DF FF */ rlwinm. r0, r4, 0x1b, 0x1f, 0x1f -/* 8035E964 0035B8C4 41 82 00 20 */ beq lbl_8035E984 -/* 8035E968 0035B8C8 80 9E 04 1C */ lwz r4, 0x41c(r30) -/* 8035E96C 0035B8CC 80 84 00 04 */ lwz r4, 4(r4) -/* 8035E970 0035B8D0 81 84 00 00 */ lwz r12, 0(r4) -/* 8035E974 0035B8D4 81 8C 00 68 */ lwz r12, 0x68(r12) -/* 8035E978 0035B8D8 7D 89 03 A6 */ mtctr r12 -/* 8035E97C 0035B8DC 4E 80 04 21 */ bctrl -/* 8035E980 0035B8E0 48 00 00 30 */ b lbl_8035E9B0 -lbl_8035E984: -/* 8035E984 0035B8E4 4B FE B6 01 */ bl Orange__6CColorFv -/* 8035E988 0035B8E8 7C 7F 1B 78 */ mr r31, r3 -/* 8035E98C 0035B8EC 7F C3 F3 78 */ mr r3, r30 -/* 8035E990 0035B8F0 81 9E 00 00 */ lwz r12, 0(r30) -/* 8035E994 0035B8F4 81 8C 00 44 */ lwz r12, 0x44(r12) -/* 8035E998 0035B8F8 7D 89 03 A6 */ mtctr r12 -/* 8035E99C 0035B8FC 4E 80 04 21 */ bctrl -/* 8035E9A0 0035B900 7C 64 1B 78 */ mr r4, r3 -/* 8035E9A4 0035B904 7F A3 EB 78 */ mr r3, r29 -/* 8035E9A8 0035B908 7F E5 FB 78 */ mr r5, r31 -/* 8035E9AC 0035B90C 4B FA 7A F9 */ bl BuildLocalAmbient__6CLightFRC9CVector3fRC6CColor -lbl_8035E9B0: -/* 8035E9B0 0035B910 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8035E9B4 0035B914 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8035E9B8 0035B918 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8035E9BC 0035B91C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8035E9C0 0035B920 7C 08 03 A6 */ mtlr r0 -/* 8035E9C4 0035B924 38 21 00 20 */ addi r1, r1, 0x20 -/* 8035E9C8 0035B928 4E 80 00 20 */ blr - -.global SystemHasLight__17CParticleElectricFv -SystemHasLight__17CParticleElectricFv: -/* 8035E9CC 0035B92C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8035E9D0 0035B930 7C 08 02 A6 */ mflr r0 -/* 8035E9D4 0035B934 90 01 00 14 */ stw r0, 0x14(r1) -/* 8035E9D8 0035B938 88 83 04 50 */ lbz r4, 0x450(r3) -/* 8035E9DC 0035B93C 54 80 D7 FF */ rlwinm. r0, r4, 0x1a, 0x1f, 0x1f -/* 8035E9E0 0035B940 41 82 00 20 */ beq lbl_8035EA00 -/* 8035E9E4 0035B944 80 63 04 0C */ lwz r3, 0x40c(r3) -/* 8035E9E8 0035B948 80 63 00 04 */ lwz r3, 4(r3) -/* 8035E9EC 0035B94C 81 83 00 00 */ lwz r12, 0(r3) -/* 8035E9F0 0035B950 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8035E9F4 0035B954 7D 89 03 A6 */ mtctr r12 -/* 8035E9F8 0035B958 4E 80 04 21 */ bctrl -/* 8035E9FC 0035B95C 48 00 00 2C */ b lbl_8035EA28 -lbl_8035EA00: -/* 8035EA00 0035B960 54 80 DF FF */ rlwinm. r0, r4, 0x1b, 0x1f, 0x1f -/* 8035EA04 0035B964 41 82 00 20 */ beq lbl_8035EA24 -/* 8035EA08 0035B968 80 63 04 1C */ lwz r3, 0x41c(r3) -/* 8035EA0C 0035B96C 80 63 00 04 */ lwz r3, 4(r3) -/* 8035EA10 0035B970 81 83 00 00 */ lwz r12, 0(r3) -/* 8035EA14 0035B974 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 8035EA18 0035B978 7D 89 03 A6 */ mtctr r12 -/* 8035EA1C 0035B97C 4E 80 04 21 */ bctrl -/* 8035EA20 0035B980 48 00 00 08 */ b lbl_8035EA28 -lbl_8035EA24: -/* 8035EA24 0035B984 38 60 00 00 */ li r3, 0 -lbl_8035EA28: -/* 8035EA28 0035B988 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8035EA2C 0035B98C 7C 08 03 A6 */ mtlr r0 -/* 8035EA30 0035B990 38 21 00 10 */ addi r1, r1, 0x10 -/* 8035EA34 0035B994 4E 80 00 20 */ blr - -.global UpdateCachedTransform__17CParticleElectricFv -UpdateCachedTransform__17CParticleElectricFv: -/* 8035EA38 0035B998 94 21 FF 00 */ stwu r1, -0x100(r1) -/* 8035EA3C 0035B99C 7C 08 02 A6 */ mflr r0 -/* 8035EA40 0035B9A0 90 01 01 04 */ stw r0, 0x104(r1) -/* 8035EA44 0035B9A4 93 E1 00 FC */ stw r31, 0xfc(r1) -/* 8035EA48 0035B9A8 7C 7F 1B 78 */ mr r31, r3 -/* 8035EA4C 0035B9AC 38 61 00 08 */ addi r3, r1, 8 -/* 8035EA50 0035B9B0 38 9F 00 38 */ addi r4, r31, 0x38 -/* 8035EA54 0035B9B4 4B FB 46 ED */ bl Translate__12CTransform4fFRC9CVector3f -/* 8035EA58 0035B9B8 38 61 00 38 */ addi r3, r1, 0x38 -/* 8035EA5C 0035B9BC 38 9F 00 A4 */ addi r4, r31, 0xa4 -/* 8035EA60 0035B9C0 4B FB 46 E1 */ bl Translate__12CTransform4fFRC9CVector3f -/* 8035EA64 0035B9C4 38 61 00 68 */ addi r3, r1, 0x68 -/* 8035EA68 0035B9C8 38 81 00 38 */ addi r4, r1, 0x38 -/* 8035EA6C 0035B9CC 38 BF 00 B0 */ addi r5, r31, 0xb0 -/* 8035EA70 0035B9D0 4B FB 3E E1 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 8035EA74 0035B9D4 38 61 00 98 */ addi r3, r1, 0x98 -/* 8035EA78 0035B9D8 38 81 00 68 */ addi r4, r1, 0x68 -/* 8035EA7C 0035B9DC 38 A1 00 08 */ addi r5, r1, 8 -/* 8035EA80 0035B9E0 4B FB 3E D1 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 8035EA84 0035B9E4 38 61 00 C8 */ addi r3, r1, 0xc8 -/* 8035EA88 0035B9E8 38 81 00 98 */ addi r4, r1, 0x98 -/* 8035EA8C 0035B9EC 38 BF 00 44 */ addi r5, r31, 0x44 -/* 8035EA90 0035B9F0 4B FB 3E C1 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 8035EA94 0035B9F4 38 7F 00 F8 */ addi r3, r31, 0xf8 -/* 8035EA98 0035B9F8 38 81 00 C8 */ addi r4, r1, 0xc8 -/* 8035EA9C 0035B9FC 4B FB 40 A5 */ bl __as__12CTransform4fFRC12CTransform4f -/* 8035EAA0 0035BA00 88 1F 04 50 */ lbz r0, 0x450(r31) -/* 8035EAA4 0035BA04 38 60 00 00 */ li r3, 0 -/* 8035EAA8 0035BA08 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 8035EAAC 0035BA0C 98 1F 04 50 */ stb r0, 0x450(r31) -/* 8035EAB0 0035BA10 83 E1 00 FC */ lwz r31, 0xfc(r1) -/* 8035EAB4 0035BA14 80 01 01 04 */ lwz r0, 0x104(r1) -/* 8035EAB8 0035BA18 7C 08 03 A6 */ mtlr r0 -/* 8035EABC 0035BA1C 38 21 01 00 */ addi r1, r1, 0x100 -/* 8035EAC0 0035BA20 4E 80 00 20 */ blr - -.global SetLocalScale__17CParticleElectricFRC9CVector3f -SetLocalScale__17CParticleElectricFRC9CVector3f: -/* 8035EAC4 0035BA24 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8035EAC8 0035BA28 7C 08 02 A6 */ mflr r0 -/* 8035EACC 0035BA2C 90 01 00 24 */ stw r0, 0x24(r1) -/* 8035EAD0 0035BA30 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8035EAD4 0035BA34 7C 7F 1B 78 */ mr r31, r3 -/* 8035EAD8 0035BA38 38 60 00 01 */ li r3, 1 -/* 8035EADC 0035BA3C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8035EAE0 0035BA40 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8035EAE4 0035BA44 C0 04 00 00 */ lfs f0, 0(r4) -/* 8035EAE8 0035BA48 D0 1F 00 EC */ stfs f0, 0xec(r31) -/* 8035EAEC 0035BA4C C0 04 00 04 */ lfs f0, 4(r4) -/* 8035EAF0 0035BA50 D0 1F 00 F0 */ stfs f0, 0xf0(r31) -/* 8035EAF4 0035BA54 C0 04 00 08 */ lfs f0, 8(r4) -/* 8035EAF8 0035BA58 D0 1F 00 F4 */ stfs f0, 0xf4(r31) -/* 8035EAFC 0035BA5C 88 1F 04 50 */ lbz r0, 0x450(r31) -/* 8035EB00 0035BA60 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 8035EB04 0035BA64 98 1F 04 50 */ stb r0, 0x450(r31) -/* 8035EB08 0035BA68 88 1F 04 50 */ lbz r0, 0x450(r31) -/* 8035EB0C 0035BA6C 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 8035EB10 0035BA70 41 82 00 44 */ beq lbl_8035EB54 -/* 8035EB14 0035BA74 83 DF 03 EC */ lwz r30, 0x3ec(r31) -/* 8035EB18 0035BA78 3B BF 01 E4 */ addi r29, r31, 0x1e4 -/* 8035EB1C 0035BA7C 48 00 00 2C */ b lbl_8035EB48 -lbl_8035EB20: -/* 8035EB20 0035BA80 80 1E 00 08 */ lwz r0, 8(r30) -/* 8035EB24 0035BA84 38 9F 00 EC */ addi r4, r31, 0xec -/* 8035EB28 0035BA88 54 03 18 38 */ slwi r3, r0, 3 -/* 8035EB2C 0035BA8C 38 03 00 04 */ addi r0, r3, 4 -/* 8035EB30 0035BA90 7C 7D 00 2E */ lwzx r3, r29, r0 -/* 8035EB34 0035BA94 81 83 00 00 */ lwz r12, 0(r3) -/* 8035EB38 0035BA98 81 8C 00 28 */ lwz r12, 0x28(r12) -/* 8035EB3C 0035BA9C 7D 89 03 A6 */ mtctr r12 -/* 8035EB40 0035BAA0 4E 80 04 21 */ bctrl -/* 8035EB44 0035BAA4 83 DE 00 04 */ lwz r30, 4(r30) -lbl_8035EB48: -/* 8035EB48 0035BAA8 80 1F 03 F0 */ lwz r0, 0x3f0(r31) -/* 8035EB4C 0035BAAC 7C 1E 00 40 */ cmplw r30, r0 -/* 8035EB50 0035BAB0 40 82 FF D0 */ bne lbl_8035EB20 -lbl_8035EB54: -/* 8035EB54 0035BAB4 88 1F 04 50 */ lbz r0, 0x450(r31) -/* 8035EB58 0035BAB8 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 8035EB5C 0035BABC 41 82 00 44 */ beq lbl_8035EBA0 -/* 8035EB60 0035BAC0 3B C0 00 00 */ li r30, 0 -/* 8035EB64 0035BAC4 3B A0 00 00 */ li r29, 0 -/* 8035EB68 0035BAC8 48 00 00 2C */ b lbl_8035EB94 -lbl_8035EB6C: -/* 8035EB6C 0035BACC 80 7F 04 0C */ lwz r3, 0x40c(r31) -/* 8035EB70 0035BAD0 38 1D 00 04 */ addi r0, r29, 4 -/* 8035EB74 0035BAD4 38 9F 00 EC */ addi r4, r31, 0xec -/* 8035EB78 0035BAD8 7C 63 00 2E */ lwzx r3, r3, r0 -/* 8035EB7C 0035BADC 81 83 00 00 */ lwz r12, 0(r3) -/* 8035EB80 0035BAE0 81 8C 00 28 */ lwz r12, 0x28(r12) -/* 8035EB84 0035BAE4 7D 89 03 A6 */ mtctr r12 -/* 8035EB88 0035BAE8 4E 80 04 21 */ bctrl -/* 8035EB8C 0035BAEC 3B BD 00 08 */ addi r29, r29, 8 -/* 8035EB90 0035BAF0 3B DE 00 01 */ addi r30, r30, 1 -lbl_8035EB94: -/* 8035EB94 0035BAF4 80 1F 01 54 */ lwz r0, 0x154(r31) -/* 8035EB98 0035BAF8 7C 1E 00 00 */ cmpw r30, r0 -/* 8035EB9C 0035BAFC 41 80 FF D0 */ blt lbl_8035EB6C -lbl_8035EBA0: -/* 8035EBA0 0035BB00 88 1F 04 50 */ lbz r0, 0x450(r31) -/* 8035EBA4 0035BB04 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 8035EBA8 0035BB08 41 82 00 44 */ beq lbl_8035EBEC -/* 8035EBAC 0035BB0C 3B C0 00 00 */ li r30, 0 -/* 8035EBB0 0035BB10 3B A0 00 00 */ li r29, 0 -/* 8035EBB4 0035BB14 48 00 00 2C */ b lbl_8035EBE0 -lbl_8035EBB8: -/* 8035EBB8 0035BB18 80 7F 04 1C */ lwz r3, 0x41c(r31) -/* 8035EBBC 0035BB1C 38 1D 00 04 */ addi r0, r29, 4 -/* 8035EBC0 0035BB20 38 9F 00 EC */ addi r4, r31, 0xec -/* 8035EBC4 0035BB24 7C 63 00 2E */ lwzx r3, r3, r0 -/* 8035EBC8 0035BB28 81 83 00 00 */ lwz r12, 0(r3) -/* 8035EBCC 0035BB2C 81 8C 00 28 */ lwz r12, 0x28(r12) -/* 8035EBD0 0035BB30 7D 89 03 A6 */ mtctr r12 -/* 8035EBD4 0035BB34 4E 80 04 21 */ bctrl -/* 8035EBD8 0035BB38 3B BD 00 08 */ addi r29, r29, 8 -/* 8035EBDC 0035BB3C 3B DE 00 01 */ addi r30, r30, 1 -lbl_8035EBE0: -/* 8035EBE0 0035BB40 80 1F 01 54 */ lwz r0, 0x154(r31) -/* 8035EBE4 0035BB44 7C 1E 00 00 */ cmpw r30, r0 -/* 8035EBE8 0035BB48 41 80 FF D0 */ blt lbl_8035EBB8 -lbl_8035EBEC: -/* 8035EBEC 0035BB4C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8035EBF0 0035BB50 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8035EBF4 0035BB54 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8035EBF8 0035BB58 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8035EBFC 0035BB5C 7C 08 03 A6 */ mtlr r0 -/* 8035EC00 0035BB60 38 21 00 20 */ addi r1, r1, 0x20 -/* 8035EC04 0035BB64 4E 80 00 20 */ blr - -.global SetGlobalScale__17CParticleElectricFRC9CVector3f -SetGlobalScale__17CParticleElectricFRC9CVector3f: -/* 8035EC08 0035BB68 C0 04 00 00 */ lfs f0, 0(r4) -/* 8035EC0C 0035BB6C 38 A0 00 01 */ li r5, 1 -/* 8035EC10 0035BB70 D0 03 00 E0 */ stfs f0, 0xe0(r3) -/* 8035EC14 0035BB74 C0 04 00 04 */ lfs f0, 4(r4) -/* 8035EC18 0035BB78 D0 03 00 E4 */ stfs f0, 0xe4(r3) -/* 8035EC1C 0035BB7C C0 04 00 08 */ lfs f0, 8(r4) -/* 8035EC20 0035BB80 D0 03 00 E8 */ stfs f0, 0xe8(r3) -/* 8035EC24 0035BB84 88 03 04 50 */ lbz r0, 0x450(r3) -/* 8035EC28 0035BB88 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d -/* 8035EC2C 0035BB8C 98 03 04 50 */ stb r0, 0x450(r3) -/* 8035EC30 0035BB90 4E 80 00 20 */ blr - -.global SetGlobalOrientation__17CParticleElectricFRC12CTransform4f -SetGlobalOrientation__17CParticleElectricFRC12CTransform4f: -/* 8035EC34 0035BB94 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 8035EC38 0035BB98 7C 08 02 A6 */ mflr r0 -/* 8035EC3C 0035BB9C 90 01 00 54 */ stw r0, 0x54(r1) -/* 8035EC40 0035BBA0 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 8035EC44 0035BBA4 7C 7F 1B 78 */ mr r31, r3 -/* 8035EC48 0035BBA8 38 61 00 08 */ addi r3, r1, 8 -/* 8035EC4C 0035BBAC 93 C1 00 48 */ stw r30, 0x48(r1) -/* 8035EC50 0035BBB0 93 A1 00 44 */ stw r29, 0x44(r1) -/* 8035EC54 0035BBB4 4B FB 3F ED */ bl GetRotation__12CTransform4fCFv -/* 8035EC58 0035BBB8 38 7F 00 B0 */ addi r3, r31, 0xb0 -/* 8035EC5C 0035BBBC 38 81 00 08 */ addi r4, r1, 8 -/* 8035EC60 0035BBC0 4B FB 3E E1 */ bl __as__12CTransform4fFRC12CTransform4f -/* 8035EC64 0035BBC4 88 1F 04 50 */ lbz r0, 0x450(r31) -/* 8035EC68 0035BBC8 38 60 00 01 */ li r3, 1 -/* 8035EC6C 0035BBCC 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 8035EC70 0035BBD0 98 1F 04 50 */ stb r0, 0x450(r31) -/* 8035EC74 0035BBD4 88 1F 04 50 */ lbz r0, 0x450(r31) -/* 8035EC78 0035BBD8 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 8035EC7C 0035BBDC 41 82 00 44 */ beq lbl_8035ECC0 -/* 8035EC80 0035BBE0 83 DF 03 EC */ lwz r30, 0x3ec(r31) -/* 8035EC84 0035BBE4 3B BF 01 E4 */ addi r29, r31, 0x1e4 -/* 8035EC88 0035BBE8 48 00 00 2C */ b lbl_8035ECB4 -lbl_8035EC8C: -/* 8035EC8C 0035BBEC 80 1E 00 08 */ lwz r0, 8(r30) -/* 8035EC90 0035BBF0 38 9F 00 B0 */ addi r4, r31, 0xb0 -/* 8035EC94 0035BBF4 54 03 18 38 */ slwi r3, r0, 3 -/* 8035EC98 0035BBF8 38 03 00 04 */ addi r0, r3, 4 -/* 8035EC9C 0035BBFC 7C 7D 00 2E */ lwzx r3, r29, r0 -/* 8035ECA0 0035BC00 81 83 00 00 */ lwz r12, 0(r3) -/* 8035ECA4 0035BC04 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8035ECA8 0035BC08 7D 89 03 A6 */ mtctr r12 -/* 8035ECAC 0035BC0C 4E 80 04 21 */ bctrl -/* 8035ECB0 0035BC10 83 DE 00 04 */ lwz r30, 4(r30) -lbl_8035ECB4: -/* 8035ECB4 0035BC14 80 1F 03 F0 */ lwz r0, 0x3f0(r31) -/* 8035ECB8 0035BC18 7C 1E 00 40 */ cmplw r30, r0 -/* 8035ECBC 0035BC1C 40 82 FF D0 */ bne lbl_8035EC8C -lbl_8035ECC0: -/* 8035ECC0 0035BC20 88 1F 04 50 */ lbz r0, 0x450(r31) -/* 8035ECC4 0035BC24 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 8035ECC8 0035BC28 41 82 00 44 */ beq lbl_8035ED0C -/* 8035ECCC 0035BC2C 3B C0 00 00 */ li r30, 0 -/* 8035ECD0 0035BC30 3B A0 00 00 */ li r29, 0 -/* 8035ECD4 0035BC34 48 00 00 2C */ b lbl_8035ED00 -lbl_8035ECD8: -/* 8035ECD8 0035BC38 80 7F 04 0C */ lwz r3, 0x40c(r31) -/* 8035ECDC 0035BC3C 38 1D 00 04 */ addi r0, r29, 4 -/* 8035ECE0 0035BC40 38 9F 00 B0 */ addi r4, r31, 0xb0 -/* 8035ECE4 0035BC44 7C 63 00 2E */ lwzx r3, r3, r0 -/* 8035ECE8 0035BC48 81 83 00 00 */ lwz r12, 0(r3) -/* 8035ECEC 0035BC4C 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8035ECF0 0035BC50 7D 89 03 A6 */ mtctr r12 -/* 8035ECF4 0035BC54 4E 80 04 21 */ bctrl -/* 8035ECF8 0035BC58 3B BD 00 08 */ addi r29, r29, 8 -/* 8035ECFC 0035BC5C 3B DE 00 01 */ addi r30, r30, 1 -lbl_8035ED00: -/* 8035ED00 0035BC60 80 1F 01 54 */ lwz r0, 0x154(r31) -/* 8035ED04 0035BC64 7C 1E 00 00 */ cmpw r30, r0 -/* 8035ED08 0035BC68 41 80 FF D0 */ blt lbl_8035ECD8 -lbl_8035ED0C: -/* 8035ED0C 0035BC6C 88 1F 04 50 */ lbz r0, 0x450(r31) -/* 8035ED10 0035BC70 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 8035ED14 0035BC74 41 82 00 44 */ beq lbl_8035ED58 -/* 8035ED18 0035BC78 3B C0 00 00 */ li r30, 0 -/* 8035ED1C 0035BC7C 3B A0 00 00 */ li r29, 0 -/* 8035ED20 0035BC80 48 00 00 2C */ b lbl_8035ED4C -lbl_8035ED24: -/* 8035ED24 0035BC84 80 7F 04 1C */ lwz r3, 0x41c(r31) -/* 8035ED28 0035BC88 38 1D 00 04 */ addi r0, r29, 4 -/* 8035ED2C 0035BC8C 38 9F 00 B0 */ addi r4, r31, 0xb0 -/* 8035ED30 0035BC90 7C 63 00 2E */ lwzx r3, r3, r0 -/* 8035ED34 0035BC94 81 83 00 00 */ lwz r12, 0(r3) -/* 8035ED38 0035BC98 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8035ED3C 0035BC9C 7D 89 03 A6 */ mtctr r12 -/* 8035ED40 0035BCA0 4E 80 04 21 */ bctrl -/* 8035ED44 0035BCA4 3B BD 00 08 */ addi r29, r29, 8 -/* 8035ED48 0035BCA8 3B DE 00 01 */ addi r30, r30, 1 -lbl_8035ED4C: -/* 8035ED4C 0035BCAC 80 1F 01 54 */ lwz r0, 0x154(r31) -/* 8035ED50 0035BCB0 7C 1E 00 00 */ cmpw r30, r0 -/* 8035ED54 0035BCB4 41 80 FF D0 */ blt lbl_8035ED24 -lbl_8035ED58: -/* 8035ED58 0035BCB8 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8035ED5C 0035BCBC 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 8035ED60 0035BCC0 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 8035ED64 0035BCC4 83 A1 00 44 */ lwz r29, 0x44(r1) -/* 8035ED68 0035BCC8 7C 08 03 A6 */ mtlr r0 -/* 8035ED6C 0035BCCC 38 21 00 50 */ addi r1, r1, 0x50 -/* 8035ED70 0035BCD0 4E 80 00 20 */ blr - -.global SetGlobalTranslation__17CParticleElectricFRC9CVector3f -SetGlobalTranslation__17CParticleElectricFRC9CVector3f: -/* 8035ED74 0035BCD4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8035ED78 0035BCD8 7C 08 02 A6 */ mflr r0 -/* 8035ED7C 0035BCDC 90 01 00 24 */ stw r0, 0x24(r1) -/* 8035ED80 0035BCE0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8035ED84 0035BCE4 7C 7F 1B 78 */ mr r31, r3 -/* 8035ED88 0035BCE8 38 60 00 01 */ li r3, 1 -/* 8035ED8C 0035BCEC 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8035ED90 0035BCF0 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8035ED94 0035BCF4 C0 04 00 00 */ lfs f0, 0(r4) -/* 8035ED98 0035BCF8 D0 1F 00 A4 */ stfs f0, 0xa4(r31) -/* 8035ED9C 0035BCFC C0 04 00 04 */ lfs f0, 4(r4) -/* 8035EDA0 0035BD00 D0 1F 00 A8 */ stfs f0, 0xa8(r31) -/* 8035EDA4 0035BD04 C0 04 00 08 */ lfs f0, 8(r4) -/* 8035EDA8 0035BD08 D0 1F 00 AC */ stfs f0, 0xac(r31) -/* 8035EDAC 0035BD0C 88 1F 04 50 */ lbz r0, 0x450(r31) -/* 8035EDB0 0035BD10 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 8035EDB4 0035BD14 98 1F 04 50 */ stb r0, 0x450(r31) -/* 8035EDB8 0035BD18 88 1F 04 50 */ lbz r0, 0x450(r31) -/* 8035EDBC 0035BD1C 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 8035EDC0 0035BD20 41 82 00 44 */ beq lbl_8035EE04 -/* 8035EDC4 0035BD24 83 DF 03 EC */ lwz r30, 0x3ec(r31) -/* 8035EDC8 0035BD28 3B BF 01 E4 */ addi r29, r31, 0x1e4 -/* 8035EDCC 0035BD2C 48 00 00 2C */ b lbl_8035EDF8 -lbl_8035EDD0: -/* 8035EDD0 0035BD30 80 1E 00 08 */ lwz r0, 8(r30) -/* 8035EDD4 0035BD34 38 9F 00 A4 */ addi r4, r31, 0xa4 -/* 8035EDD8 0035BD38 54 03 18 38 */ slwi r3, r0, 3 -/* 8035EDDC 0035BD3C 38 03 00 04 */ addi r0, r3, 4 -/* 8035EDE0 0035BD40 7C 7D 00 2E */ lwzx r3, r29, r0 -/* 8035EDE4 0035BD44 81 83 00 00 */ lwz r12, 0(r3) -/* 8035EDE8 0035BD48 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 8035EDEC 0035BD4C 7D 89 03 A6 */ mtctr r12 -/* 8035EDF0 0035BD50 4E 80 04 21 */ bctrl -/* 8035EDF4 0035BD54 83 DE 00 04 */ lwz r30, 4(r30) -lbl_8035EDF8: -/* 8035EDF8 0035BD58 80 1F 03 F0 */ lwz r0, 0x3f0(r31) -/* 8035EDFC 0035BD5C 7C 1E 00 40 */ cmplw r30, r0 -/* 8035EE00 0035BD60 40 82 FF D0 */ bne lbl_8035EDD0 -lbl_8035EE04: -/* 8035EE04 0035BD64 88 1F 04 50 */ lbz r0, 0x450(r31) -/* 8035EE08 0035BD68 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 8035EE0C 0035BD6C 41 82 00 44 */ beq lbl_8035EE50 -/* 8035EE10 0035BD70 3B C0 00 00 */ li r30, 0 -/* 8035EE14 0035BD74 3B A0 00 00 */ li r29, 0 -/* 8035EE18 0035BD78 48 00 00 2C */ b lbl_8035EE44 -lbl_8035EE1C: -/* 8035EE1C 0035BD7C 80 7F 04 0C */ lwz r3, 0x40c(r31) -/* 8035EE20 0035BD80 38 1D 00 04 */ addi r0, r29, 4 -/* 8035EE24 0035BD84 38 9F 00 A4 */ addi r4, r31, 0xa4 -/* 8035EE28 0035BD88 7C 63 00 2E */ lwzx r3, r3, r0 -/* 8035EE2C 0035BD8C 81 83 00 00 */ lwz r12, 0(r3) -/* 8035EE30 0035BD90 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 8035EE34 0035BD94 7D 89 03 A6 */ mtctr r12 -/* 8035EE38 0035BD98 4E 80 04 21 */ bctrl -/* 8035EE3C 0035BD9C 3B BD 00 08 */ addi r29, r29, 8 -/* 8035EE40 0035BDA0 3B DE 00 01 */ addi r30, r30, 1 -lbl_8035EE44: -/* 8035EE44 0035BDA4 80 1F 01 54 */ lwz r0, 0x154(r31) -/* 8035EE48 0035BDA8 7C 1E 00 00 */ cmpw r30, r0 -/* 8035EE4C 0035BDAC 41 80 FF D0 */ blt lbl_8035EE1C -lbl_8035EE50: -/* 8035EE50 0035BDB0 88 1F 04 50 */ lbz r0, 0x450(r31) -/* 8035EE54 0035BDB4 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 8035EE58 0035BDB8 41 82 00 44 */ beq lbl_8035EE9C -/* 8035EE5C 0035BDBC 3B C0 00 00 */ li r30, 0 -/* 8035EE60 0035BDC0 3B A0 00 00 */ li r29, 0 -/* 8035EE64 0035BDC4 48 00 00 2C */ b lbl_8035EE90 -lbl_8035EE68: -/* 8035EE68 0035BDC8 80 7F 04 1C */ lwz r3, 0x41c(r31) -/* 8035EE6C 0035BDCC 38 1D 00 04 */ addi r0, r29, 4 -/* 8035EE70 0035BDD0 38 9F 00 A4 */ addi r4, r31, 0xa4 -/* 8035EE74 0035BDD4 7C 63 00 2E */ lwzx r3, r3, r0 -/* 8035EE78 0035BDD8 81 83 00 00 */ lwz r12, 0(r3) -/* 8035EE7C 0035BDDC 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 8035EE80 0035BDE0 7D 89 03 A6 */ mtctr r12 -/* 8035EE84 0035BDE4 4E 80 04 21 */ bctrl -/* 8035EE88 0035BDE8 3B BD 00 08 */ addi r29, r29, 8 -/* 8035EE8C 0035BDEC 3B DE 00 01 */ addi r30, r30, 1 -lbl_8035EE90: -/* 8035EE90 0035BDF0 80 1F 01 54 */ lwz r0, 0x154(r31) -/* 8035EE94 0035BDF4 7C 1E 00 00 */ cmpw r30, r0 -/* 8035EE98 0035BDF8 41 80 FF D0 */ blt lbl_8035EE68 -lbl_8035EE9C: -/* 8035EE9C 0035BDFC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8035EEA0 0035BE00 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8035EEA4 0035BE04 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8035EEA8 0035BE08 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8035EEAC 0035BE0C 7C 08 03 A6 */ mtlr r0 -/* 8035EEB0 0035BE10 38 21 00 20 */ addi r1, r1, 0x20 -/* 8035EEB4 0035BE14 4E 80 00 20 */ blr - -.global SetOrientation__17CParticleElectricFRC12CTransform4f -SetOrientation__17CParticleElectricFRC12CTransform4f: -/* 8035EEB8 0035BE18 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8035EEBC 0035BE1C 7C 08 02 A6 */ mflr r0 -/* 8035EEC0 0035BE20 90 01 00 44 */ stw r0, 0x44(r1) -/* 8035EEC4 0035BE24 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 8035EEC8 0035BE28 7C 7F 1B 78 */ mr r31, r3 -/* 8035EECC 0035BE2C 38 7F 00 44 */ addi r3, r31, 0x44 -/* 8035EED0 0035BE30 4B FB 3C 71 */ bl __as__12CTransform4fFRC12CTransform4f -/* 8035EED4 0035BE34 38 61 00 08 */ addi r3, r1, 8 -/* 8035EED8 0035BE38 38 9F 00 44 */ addi r4, r31, 0x44 -/* 8035EEDC 0035BE3C 4B FB 3D C1 */ bl GetQuickInverse__12CTransform4fCFv -/* 8035EEE0 0035BE40 38 7F 00 74 */ addi r3, r31, 0x74 -/* 8035EEE4 0035BE44 38 81 00 08 */ addi r4, r1, 8 -/* 8035EEE8 0035BE48 4B FB 3C 59 */ bl __as__12CTransform4fFRC12CTransform4f -/* 8035EEEC 0035BE4C 88 1F 04 50 */ lbz r0, 0x450(r31) -/* 8035EEF0 0035BE50 38 60 00 01 */ li r3, 1 -/* 8035EEF4 0035BE54 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 8035EEF8 0035BE58 98 1F 04 50 */ stb r0, 0x450(r31) -/* 8035EEFC 0035BE5C 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 8035EF00 0035BE60 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8035EF04 0035BE64 7C 08 03 A6 */ mtlr r0 -/* 8035EF08 0035BE68 38 21 00 40 */ addi r1, r1, 0x40 -/* 8035EF0C 0035BE6C 4E 80 00 20 */ blr - -.global SetTranslation__17CParticleElectricFRC9CVector3f -SetTranslation__17CParticleElectricFRC9CVector3f: -/* 8035EF10 0035BE70 C0 04 00 00 */ lfs f0, 0(r4) -/* 8035EF14 0035BE74 38 A0 00 01 */ li r5, 1 -/* 8035EF18 0035BE78 D0 03 00 38 */ stfs f0, 0x38(r3) -/* 8035EF1C 0035BE7C C0 04 00 04 */ lfs f0, 4(r4) -/* 8035EF20 0035BE80 D0 03 00 3C */ stfs f0, 0x3c(r3) -/* 8035EF24 0035BE84 C0 04 00 08 */ lfs f0, 8(r4) -/* 8035EF28 0035BE88 D0 03 00 40 */ stfs f0, 0x40(r3) -/* 8035EF2C 0035BE8C 88 03 04 50 */ lbz r0, 0x450(r3) -/* 8035EF30 0035BE90 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d -/* 8035EF34 0035BE94 98 03 04 50 */ stb r0, 0x450(r3) -/* 8035EF38 0035BE98 4E 80 00 20 */ blr - -.global ForceParticleCreation__17CParticleElectricFi -ForceParticleCreation__17CParticleElectricFi: -/* 8035EF3C 0035BE9C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8035EF40 0035BEA0 7C 08 02 A6 */ mflr r0 -/* 8035EF44 0035BEA4 90 01 00 24 */ stw r0, 0x24(r1) -/* 8035EF48 0035BEA8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8035EF4C 0035BEAC 7C 9F 23 78 */ mr r31, r4 -/* 8035EF50 0035BEB0 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8035EF54 0035BEB4 7C 7E 1B 78 */ mr r30, r3 -/* 8035EF58 0035BEB8 38 61 00 08 */ addi r3, r1, 8 -/* 8035EF5C 0035BEBC 38 9E 01 4C */ addi r4, r30, 0x14c -/* 8035EF60 0035BEC0 4B FB 37 21 */ bl __ct__13CGlobalRandomFR9CRandom16 -/* 8035EF64 0035BEC4 7F C3 F3 78 */ mr r3, r30 -/* 8035EF68 0035BEC8 7F E4 FB 78 */ mr r4, r31 -/* 8035EF6C 0035BECC 48 00 0A 5D */ bl CreateNewParticles__17CParticleElectricFi -/* 8035EF70 0035BED0 38 61 00 08 */ addi r3, r1, 8 -/* 8035EF74 0035BED4 38 80 FF FF */ li r4, -1 -/* 8035EF78 0035BED8 4B FB 36 8D */ bl __dt__13CGlobalRandomFv -/* 8035EF7C 0035BEDC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8035EF80 0035BEE0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8035EF84 0035BEE4 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8035EF88 0035BEE8 7C 08 03 A6 */ mtlr r0 -/* 8035EF8C 0035BEEC 38 21 00 20 */ addi r1, r1, 0x20 -/* 8035EF90 0035BEF0 4E 80 00 20 */ blr - -.global GetParticleCount__17CParticleElectricFv -GetParticleCount__17CParticleElectricFv: -/* 8035EF94 0035BEF4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8035EF98 0035BEF8 7C 08 02 A6 */ mflr r0 -/* 8035EF9C 0035BEFC 90 01 00 24 */ stw r0, 0x24(r1) -/* 8035EFA0 0035BF00 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8035EFA4 0035BF04 3B E0 00 00 */ li r31, 0 -/* 8035EFA8 0035BF08 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8035EFAC 0035BF0C 7C 7E 1B 78 */ mr r30, r3 -/* 8035EFB0 0035BF10 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8035EFB4 0035BF14 93 81 00 10 */ stw r28, 0x10(r1) -/* 8035EFB8 0035BF18 80 03 03 FC */ lwz r0, 0x3fc(r3) -/* 8035EFBC 0035BF1C 2C 00 00 00 */ cmpwi r0, 0 -/* 8035EFC0 0035BF20 41 82 00 64 */ beq lbl_8035F024 -/* 8035EFC4 0035BF24 83 BE 03 EC */ lwz r29, 0x3ec(r30) -/* 8035EFC8 0035BF28 3B 9E 01 E4 */ addi r28, r30, 0x1e4 -/* 8035EFCC 0035BF2C 48 00 00 4C */ b lbl_8035F018 -lbl_8035EFD0: -/* 8035EFD0 0035BF30 88 1E 04 50 */ lbz r0, 0x450(r30) -/* 8035EFD4 0035BF34 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 8035EFD8 0035BF38 41 82 00 28 */ beq lbl_8035F000 -/* 8035EFDC 0035BF3C 80 1D 00 08 */ lwz r0, 8(r29) -/* 8035EFE0 0035BF40 54 03 18 38 */ slwi r3, r0, 3 -/* 8035EFE4 0035BF44 38 03 00 04 */ addi r0, r3, 4 -/* 8035EFE8 0035BF48 7C 7C 00 2E */ lwzx r3, r28, r0 -/* 8035EFEC 0035BF4C 81 83 00 00 */ lwz r12, 0(r3) -/* 8035EFF0 0035BF50 81 8C 00 60 */ lwz r12, 0x60(r12) -/* 8035EFF4 0035BF54 7D 89 03 A6 */ mtctr r12 -/* 8035EFF8 0035BF58 4E 80 04 21 */ bctrl -/* 8035EFFC 0035BF5C 7F FF 1A 14 */ add r31, r31, r3 -lbl_8035F000: -/* 8035F000 0035BF60 88 1E 04 50 */ lbz r0, 0x450(r30) -/* 8035F004 0035BF64 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 8035F008 0035BF68 41 82 00 0C */ beq lbl_8035F014 -/* 8035F00C 0035BF6C 80 1E 01 50 */ lwz r0, 0x150(r30) -/* 8035F010 0035BF70 7F FF 02 14 */ add r31, r31, r0 -lbl_8035F014: -/* 8035F014 0035BF74 83 BD 00 04 */ lwz r29, 4(r29) -lbl_8035F018: -/* 8035F018 0035BF78 80 1E 03 F0 */ lwz r0, 0x3f0(r30) -/* 8035F01C 0035BF7C 7C 1D 00 40 */ cmplw r29, r0 -/* 8035F020 0035BF80 40 82 FF B0 */ bne lbl_8035EFD0 -lbl_8035F024: -/* 8035F024 0035BF84 88 1E 04 50 */ lbz r0, 0x450(r30) -/* 8035F028 0035BF88 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 8035F02C 0035BF8C 41 82 00 44 */ beq lbl_8035F070 -/* 8035F030 0035BF90 3B A0 00 00 */ li r29, 0 -/* 8035F034 0035BF94 3B 80 00 00 */ li r28, 0 -/* 8035F038 0035BF98 48 00 00 2C */ b lbl_8035F064 -lbl_8035F03C: -/* 8035F03C 0035BF9C 80 7E 04 0C */ lwz r3, 0x40c(r30) -/* 8035F040 0035BFA0 38 1C 00 04 */ addi r0, r28, 4 -/* 8035F044 0035BFA4 7C 63 00 2E */ lwzx r3, r3, r0 -/* 8035F048 0035BFA8 81 83 00 00 */ lwz r12, 0(r3) -/* 8035F04C 0035BFAC 81 8C 00 60 */ lwz r12, 0x60(r12) -/* 8035F050 0035BFB0 7D 89 03 A6 */ mtctr r12 -/* 8035F054 0035BFB4 4E 80 04 21 */ bctrl -/* 8035F058 0035BFB8 7F FF 1A 14 */ add r31, r31, r3 -/* 8035F05C 0035BFBC 3B 9C 00 08 */ addi r28, r28, 8 -/* 8035F060 0035BFC0 3B BD 00 01 */ addi r29, r29, 1 -lbl_8035F064: -/* 8035F064 0035BFC4 80 1E 01 54 */ lwz r0, 0x154(r30) -/* 8035F068 0035BFC8 7C 1D 00 00 */ cmpw r29, r0 -/* 8035F06C 0035BFCC 41 80 FF D0 */ blt lbl_8035F03C -lbl_8035F070: -/* 8035F070 0035BFD0 88 1E 04 50 */ lbz r0, 0x450(r30) -/* 8035F074 0035BFD4 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 8035F078 0035BFD8 41 82 00 44 */ beq lbl_8035F0BC -/* 8035F07C 0035BFDC 3B A0 00 00 */ li r29, 0 -/* 8035F080 0035BFE0 3B 80 00 00 */ li r28, 0 -/* 8035F084 0035BFE4 48 00 00 2C */ b lbl_8035F0B0 -lbl_8035F088: -/* 8035F088 0035BFE8 80 7E 04 1C */ lwz r3, 0x41c(r30) -/* 8035F08C 0035BFEC 38 1C 00 04 */ addi r0, r28, 4 -/* 8035F090 0035BFF0 7C 63 00 2E */ lwzx r3, r3, r0 -/* 8035F094 0035BFF4 81 83 00 00 */ lwz r12, 0(r3) -/* 8035F098 0035BFF8 81 8C 00 60 */ lwz r12, 0x60(r12) -/* 8035F09C 0035BFFC 7D 89 03 A6 */ mtctr r12 -/* 8035F0A0 0035C000 4E 80 04 21 */ bctrl -/* 8035F0A4 0035C004 7F FF 1A 14 */ add r31, r31, r3 -/* 8035F0A8 0035C008 3B 9C 00 08 */ addi r28, r28, 8 -/* 8035F0AC 0035C00C 3B BD 00 01 */ addi r29, r29, 1 -lbl_8035F0B0: -/* 8035F0B0 0035C010 80 1E 01 54 */ lwz r0, 0x154(r30) -/* 8035F0B4 0035C014 7C 1D 00 00 */ cmpw r29, r0 -/* 8035F0B8 0035C018 41 80 FF D0 */ blt lbl_8035F088 -lbl_8035F0BC: -/* 8035F0BC 0035C01C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8035F0C0 0035C020 7F E3 FB 78 */ mr r3, r31 -/* 8035F0C4 0035C024 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8035F0C8 0035C028 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8035F0CC 0035C02C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8035F0D0 0035C030 83 81 00 10 */ lwz r28, 0x10(r1) -/* 8035F0D4 0035C034 7C 08 03 A6 */ mtlr r0 -/* 8035F0D8 0035C038 38 21 00 20 */ addi r1, r1, 0x20 -/* 8035F0DC 0035C03C 4E 80 00 20 */ blr - -.global IsSystemDeletable__17CParticleElectricFv -IsSystemDeletable__17CParticleElectricFv: -/* 8035F0E0 0035C040 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8035F0E4 0035C044 7C 08 02 A6 */ mflr r0 -/* 8035F0E8 0035C048 90 01 00 24 */ stw r0, 0x24(r1) -/* 8035F0EC 0035C04C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8035F0F0 0035C050 7C 7F 1B 78 */ mr r31, r3 -/* 8035F0F4 0035C054 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8035F0F8 0035C058 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8035F0FC 0035C05C 88 03 04 50 */ lbz r0, 0x450(r3) -/* 8035F100 0035C060 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8035F104 0035C064 41 82 00 1C */ beq lbl_8035F120 -/* 8035F108 0035C068 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 8035F10C 0035C06C 80 1F 00 2C */ lwz r0, 0x2c(r31) -/* 8035F110 0035C070 7C 03 00 00 */ cmpw r3, r0 -/* 8035F114 0035C074 40 80 00 0C */ bge lbl_8035F120 -/* 8035F118 0035C078 38 60 00 00 */ li r3, 0 -/* 8035F11C 0035C07C 48 00 00 CC */ b lbl_8035F1E8 -lbl_8035F120: -/* 8035F120 0035C080 80 1F 03 FC */ lwz r0, 0x3fc(r31) -/* 8035F124 0035C084 2C 00 00 00 */ cmpwi r0, 0 -/* 8035F128 0035C088 41 82 00 0C */ beq lbl_8035F134 -/* 8035F12C 0035C08C 38 60 00 00 */ li r3, 0 -/* 8035F130 0035C090 48 00 00 B8 */ b lbl_8035F1E8 -lbl_8035F134: -/* 8035F134 0035C094 88 1F 04 50 */ lbz r0, 0x450(r31) -/* 8035F138 0035C098 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 8035F13C 0035C09C 41 82 00 50 */ beq lbl_8035F18C -/* 8035F140 0035C0A0 3B A0 00 00 */ li r29, 0 -/* 8035F144 0035C0A4 3B C0 00 00 */ li r30, 0 -/* 8035F148 0035C0A8 48 00 00 38 */ b lbl_8035F180 -lbl_8035F14C: -/* 8035F14C 0035C0AC 80 7F 04 0C */ lwz r3, 0x40c(r31) -/* 8035F150 0035C0B0 38 1E 00 04 */ addi r0, r30, 4 -/* 8035F154 0035C0B4 7C 63 00 2E */ lwzx r3, r3, r0 -/* 8035F158 0035C0B8 81 83 00 00 */ lwz r12, 0(r3) -/* 8035F15C 0035C0BC 81 8C 00 58 */ lwz r12, 0x58(r12) -/* 8035F160 0035C0C0 7D 89 03 A6 */ mtctr r12 -/* 8035F164 0035C0C4 4E 80 04 21 */ bctrl -/* 8035F168 0035C0C8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8035F16C 0035C0CC 40 82 00 0C */ bne lbl_8035F178 -/* 8035F170 0035C0D0 38 60 00 00 */ li r3, 0 -/* 8035F174 0035C0D4 48 00 00 74 */ b lbl_8035F1E8 -lbl_8035F178: -/* 8035F178 0035C0D8 3B DE 00 08 */ addi r30, r30, 8 -/* 8035F17C 0035C0DC 3B BD 00 01 */ addi r29, r29, 1 -lbl_8035F180: -/* 8035F180 0035C0E0 80 1F 01 54 */ lwz r0, 0x154(r31) -/* 8035F184 0035C0E4 7C 1D 00 00 */ cmpw r29, r0 -/* 8035F188 0035C0E8 41 80 FF C4 */ blt lbl_8035F14C -lbl_8035F18C: -/* 8035F18C 0035C0EC 88 1F 04 50 */ lbz r0, 0x450(r31) -/* 8035F190 0035C0F0 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 8035F194 0035C0F4 41 82 00 50 */ beq lbl_8035F1E4 -/* 8035F198 0035C0F8 3B A0 00 00 */ li r29, 0 -/* 8035F19C 0035C0FC 3B C0 00 00 */ li r30, 0 -/* 8035F1A0 0035C100 48 00 00 38 */ b lbl_8035F1D8 -lbl_8035F1A4: -/* 8035F1A4 0035C104 80 7F 04 1C */ lwz r3, 0x41c(r31) -/* 8035F1A8 0035C108 38 1E 00 04 */ addi r0, r30, 4 -/* 8035F1AC 0035C10C 7C 63 00 2E */ lwzx r3, r3, r0 -/* 8035F1B0 0035C110 81 83 00 00 */ lwz r12, 0(r3) -/* 8035F1B4 0035C114 81 8C 00 58 */ lwz r12, 0x58(r12) -/* 8035F1B8 0035C118 7D 89 03 A6 */ mtctr r12 -/* 8035F1BC 0035C11C 4E 80 04 21 */ bctrl -/* 8035F1C0 0035C120 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8035F1C4 0035C124 40 82 00 0C */ bne lbl_8035F1D0 -/* 8035F1C8 0035C128 38 60 00 00 */ li r3, 0 -/* 8035F1CC 0035C12C 48 00 00 1C */ b lbl_8035F1E8 -lbl_8035F1D0: -/* 8035F1D0 0035C130 3B DE 00 08 */ addi r30, r30, 8 -/* 8035F1D4 0035C134 3B BD 00 01 */ addi r29, r29, 1 -lbl_8035F1D8: -/* 8035F1D8 0035C138 80 1F 01 54 */ lwz r0, 0x154(r31) -/* 8035F1DC 0035C13C 7C 1D 00 00 */ cmpw r29, r0 -/* 8035F1E0 0035C140 41 80 FF C4 */ blt lbl_8035F1A4 -lbl_8035F1E4: -/* 8035F1E4 0035C144 38 60 00 01 */ li r3, 1 -lbl_8035F1E8: -/* 8035F1E8 0035C148 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8035F1EC 0035C14C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8035F1F0 0035C150 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8035F1F4 0035C154 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8035F1F8 0035C158 7C 08 03 A6 */ mtlr r0 -/* 8035F1FC 0035C15C 38 21 00 20 */ addi r1, r1, 0x20 -/* 8035F200 0035C160 4E 80 00 20 */ blr - -.global SetModulationColor__17CParticleElectricFRC6CColor -SetModulationColor__17CParticleElectricFRC6CColor: -/* 8035F204 0035C164 80 04 00 00 */ lwz r0, 0(r4) -/* 8035F208 0035C168 90 03 01 B8 */ stw r0, 0x1b8(r3) -/* 8035F20C 0035C16C 4E 80 00 20 */ blr - -.global GetBounds__17CParticleElectricFv -GetBounds__17CParticleElectricFv: -/* 8035F210 0035C170 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8035F214 0035C174 7C 08 02 A6 */ mflr r0 -/* 8035F218 0035C178 90 01 00 14 */ stw r0, 0x14(r1) -/* 8035F21C 0035C17C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8035F220 0035C180 7C 9F 23 78 */ mr r31, r4 -/* 8035F224 0035C184 93 C1 00 08 */ stw r30, 8(r1) -/* 8035F228 0035C188 7C 7E 1B 78 */ mr r30, r3 -/* 8035F22C 0035C18C 7F E3 FB 78 */ mr r3, r31 -/* 8035F230 0035C190 81 9F 00 00 */ lwz r12, 0(r31) -/* 8035F234 0035C194 81 8C 00 60 */ lwz r12, 0x60(r12) -/* 8035F238 0035C198 7D 89 03 A6 */ mtctr r12 -/* 8035F23C 0035C19C 4E 80 04 21 */ bctrl -/* 8035F240 0035C1A0 2C 03 00 00 */ cmpwi r3, 0 -/* 8035F244 0035C1A4 41 81 00 10 */ bgt lbl_8035F254 -/* 8035F248 0035C1A8 38 00 00 00 */ li r0, 0 -/* 8035F24C 0035C1AC 98 1E 00 18 */ stb r0, 0x18(r30) -/* 8035F250 0035C1B0 48 00 00 44 */ b lbl_8035F294 -lbl_8035F254: -/* 8035F254 0035C1B4 38 00 00 01 */ li r0, 1 -/* 8035F258 0035C1B8 28 1E 00 00 */ cmplwi r30, 0 -/* 8035F25C 0035C1BC 98 1E 00 18 */ stb r0, 0x18(r30) -/* 8035F260 0035C1C0 41 82 00 34 */ beq lbl_8035F294 -/* 8035F264 0035C1C4 C0 1F 01 60 */ lfs f0, 0x160(r31) -/* 8035F268 0035C1C8 D0 1E 00 00 */ stfs f0, 0(r30) -/* 8035F26C 0035C1CC C0 1F 01 64 */ lfs f0, 0x164(r31) -/* 8035F270 0035C1D0 D0 1E 00 04 */ stfs f0, 4(r30) -/* 8035F274 0035C1D4 C0 1F 01 68 */ lfs f0, 0x168(r31) -/* 8035F278 0035C1D8 D0 1E 00 08 */ stfs f0, 8(r30) -/* 8035F27C 0035C1DC C0 1F 01 6C */ lfs f0, 0x16c(r31) -/* 8035F280 0035C1E0 D0 1E 00 0C */ stfs f0, 0xc(r30) -/* 8035F284 0035C1E4 C0 1F 01 70 */ lfs f0, 0x170(r31) -/* 8035F288 0035C1E8 D0 1E 00 10 */ stfs f0, 0x10(r30) -/* 8035F28C 0035C1EC C0 1F 01 74 */ lfs f0, 0x174(r31) -/* 8035F290 0035C1F0 D0 1E 00 14 */ stfs f0, 0x14(r30) -lbl_8035F294: -/* 8035F294 0035C1F4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8035F298 0035C1F8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8035F29C 0035C1FC 83 C1 00 08 */ lwz r30, 8(r1) -/* 8035F2A0 0035C200 7C 08 03 A6 */ mtlr r0 -/* 8035F2A4 0035C204 38 21 00 10 */ addi r1, r1, 0x10 -/* 8035F2A8 0035C208 4E 80 00 20 */ blr - -.global BuildBounds__17CParticleElectricFv -BuildBounds__17CParticleElectricFv: -/* 8035F2AC 0035C20C 94 21 FD C0 */ stwu r1, -0x240(r1) -/* 8035F2B0 0035C210 7C 08 02 A6 */ mflr r0 -/* 8035F2B4 0035C214 90 01 02 44 */ stw r0, 0x244(r1) -/* 8035F2B8 0035C218 93 E1 02 3C */ stw r31, 0x23c(r1) -/* 8035F2BC 0035C21C 7C 7F 1B 78 */ mr r31, r3 -/* 8035F2C0 0035C220 93 C1 02 38 */ stw r30, 0x238(r1) -/* 8035F2C4 0035C224 93 A1 02 34 */ stw r29, 0x234(r1) -/* 8035F2C8 0035C228 93 81 02 30 */ stw r28, 0x230(r1) -/* 8035F2CC 0035C22C 81 83 00 00 */ lwz r12, 0(r3) -/* 8035F2D0 0035C230 81 8C 00 60 */ lwz r12, 0x60(r12) -/* 8035F2D4 0035C234 7D 89 03 A6 */ mtctr r12 -/* 8035F2D8 0035C238 4E 80 04 21 */ bctrl -/* 8035F2DC 0035C23C 2C 03 00 00 */ cmpwi r3, 0 -/* 8035F2E0 0035C240 41 81 00 40 */ bgt lbl_8035F320 -/* 8035F2E4 0035C244 3C 60 80 5A */ lis r3, lbl_805A6754@ha -/* 8035F2E8 0035C248 38 83 67 54 */ addi r4, r3, lbl_805A6754@l -/* 8035F2EC 0035C24C 80 64 00 00 */ lwz r3, 0(r4) -/* 8035F2F0 0035C250 80 04 00 04 */ lwz r0, 4(r4) -/* 8035F2F4 0035C254 90 7F 01 60 */ stw r3, 0x160(r31) -/* 8035F2F8 0035C258 90 1F 01 64 */ stw r0, 0x164(r31) -/* 8035F2FC 0035C25C 80 04 00 08 */ lwz r0, 8(r4) -/* 8035F300 0035C260 90 1F 01 68 */ stw r0, 0x168(r31) -/* 8035F304 0035C264 80 64 00 0C */ lwz r3, 0xc(r4) -/* 8035F308 0035C268 80 04 00 10 */ lwz r0, 0x10(r4) -/* 8035F30C 0035C26C 90 7F 01 6C */ stw r3, 0x16c(r31) -/* 8035F310 0035C270 90 1F 01 70 */ stw r0, 0x170(r31) -/* 8035F314 0035C274 80 04 00 14 */ lwz r0, 0x14(r4) -/* 8035F318 0035C278 90 1F 01 74 */ stw r0, 0x174(r31) -/* 8035F31C 0035C27C 48 00 03 C0 */ b lbl_8035F6DC -lbl_8035F320: -/* 8035F320 0035C280 3C 60 80 5A */ lis r3, lbl_805A6754@ha -/* 8035F324 0035C284 38 83 67 54 */ addi r4, r3, lbl_805A6754@l -/* 8035F328 0035C288 80 64 00 00 */ lwz r3, 0(r4) -/* 8035F32C 0035C28C 80 04 00 04 */ lwz r0, 4(r4) -/* 8035F330 0035C290 90 7F 01 60 */ stw r3, 0x160(r31) -/* 8035F334 0035C294 90 1F 01 64 */ stw r0, 0x164(r31) -/* 8035F338 0035C298 80 04 00 08 */ lwz r0, 8(r4) -/* 8035F33C 0035C29C 90 1F 01 68 */ stw r0, 0x168(r31) -/* 8035F340 0035C2A0 80 64 00 0C */ lwz r3, 0xc(r4) -/* 8035F344 0035C2A4 80 04 00 10 */ lwz r0, 0x10(r4) -/* 8035F348 0035C2A8 90 7F 01 6C */ stw r3, 0x16c(r31) -/* 8035F34C 0035C2AC 90 1F 01 70 */ stw r0, 0x170(r31) -/* 8035F350 0035C2B0 80 04 00 14 */ lwz r0, 0x14(r4) -/* 8035F354 0035C2B4 90 1F 01 74 */ stw r0, 0x174(r31) -/* 8035F358 0035C2B8 88 7F 04 50 */ lbz r3, 0x450(r31) -/* 8035F35C 0035C2BC 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f -/* 8035F360 0035C2C0 41 82 00 C8 */ beq lbl_8035F428 -/* 8035F364 0035C2C4 83 BF 03 EC */ lwz r29, 0x3ec(r31) -/* 8035F368 0035C2C8 3B 9F 01 E4 */ addi r28, r31, 0x1e4 -/* 8035F36C 0035C2CC 48 00 00 AC */ b lbl_8035F418 -lbl_8035F370: -/* 8035F370 0035C2D0 80 1D 00 08 */ lwz r0, 8(r29) -/* 8035F374 0035C2D4 38 61 00 58 */ addi r3, r1, 0x58 -/* 8035F378 0035C2D8 54 04 18 38 */ slwi r4, r0, 3 -/* 8035F37C 0035C2DC 38 04 00 04 */ addi r0, r4, 4 -/* 8035F380 0035C2E0 7C 9C 00 2E */ lwzx r4, r28, r0 -/* 8035F384 0035C2E4 81 84 00 00 */ lwz r12, 0(r4) -/* 8035F388 0035C2E8 81 8C 00 5C */ lwz r12, 0x5c(r12) -/* 8035F38C 0035C2EC 7D 89 03 A6 */ mtctr r12 -/* 8035F390 0035C2F0 4E 80 04 21 */ bctrl -/* 8035F394 0035C2F4 88 01 00 70 */ lbz r0, 0x70(r1) -/* 8035F398 0035C2F8 28 00 00 00 */ cmplwi r0, 0 -/* 8035F39C 0035C2FC 98 01 00 DC */ stb r0, 0xdc(r1) -/* 8035F3A0 0035C300 41 82 00 3C */ beq lbl_8035F3DC -/* 8035F3A4 0035C304 34 61 00 C4 */ addic. r3, r1, 0xc4 -/* 8035F3A8 0035C308 41 82 00 34 */ beq lbl_8035F3DC -/* 8035F3AC 0035C30C C0 01 00 58 */ lfs f0, 0x58(r1) -/* 8035F3B0 0035C310 D0 03 00 00 */ stfs f0, 0(r3) -/* 8035F3B4 0035C314 C0 01 00 5C */ lfs f0, 0x5c(r1) -/* 8035F3B8 0035C318 D0 03 00 04 */ stfs f0, 4(r3) -/* 8035F3BC 0035C31C C0 01 00 60 */ lfs f0, 0x60(r1) -/* 8035F3C0 0035C320 D0 03 00 08 */ stfs f0, 8(r3) -/* 8035F3C4 0035C324 C0 01 00 64 */ lfs f0, 0x64(r1) -/* 8035F3C8 0035C328 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 8035F3CC 0035C32C C0 01 00 68 */ lfs f0, 0x68(r1) -/* 8035F3D0 0035C330 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 8035F3D4 0035C334 C0 01 00 6C */ lfs f0, 0x6c(r1) -/* 8035F3D8 0035C338 D0 03 00 14 */ stfs f0, 0x14(r3) -lbl_8035F3DC: -/* 8035F3DC 0035C33C 88 01 00 DC */ lbz r0, 0xdc(r1) -/* 8035F3E0 0035C340 38 60 00 00 */ li r3, 0 -/* 8035F3E4 0035C344 98 61 00 70 */ stb r3, 0x70(r1) -/* 8035F3E8 0035C348 28 00 00 00 */ cmplwi r0, 0 -/* 8035F3EC 0035C34C 41 82 00 20 */ beq lbl_8035F40C -/* 8035F3F0 0035C350 3B C1 00 C4 */ addi r30, r1, 0xc4 -/* 8035F3F4 0035C354 38 7F 01 60 */ addi r3, r31, 0x160 -/* 8035F3F8 0035C358 7F C4 F3 78 */ mr r4, r30 -/* 8035F3FC 0035C35C 4B FD 87 0D */ bl AccumulateBounds__6CAABoxFRC9CVector3f -/* 8035F400 0035C360 38 7F 01 60 */ addi r3, r31, 0x160 -/* 8035F404 0035C364 38 9E 00 0C */ addi r4, r30, 0xc -/* 8035F408 0035C368 4B FD 87 01 */ bl AccumulateBounds__6CAABoxFRC9CVector3f -lbl_8035F40C: -/* 8035F40C 0035C36C 38 00 00 00 */ li r0, 0 -/* 8035F410 0035C370 98 01 00 DC */ stb r0, 0xdc(r1) -/* 8035F414 0035C374 83 BD 00 04 */ lwz r29, 4(r29) -lbl_8035F418: -/* 8035F418 0035C378 80 1F 03 F0 */ lwz r0, 0x3f0(r31) -/* 8035F41C 0035C37C 7C 1D 00 40 */ cmplw r29, r0 -/* 8035F420 0035C380 40 82 FF 50 */ bne lbl_8035F370 -/* 8035F424 0035C384 48 00 01 20 */ b lbl_8035F544 -lbl_8035F428: -/* 8035F428 0035C388 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f -/* 8035F42C 0035C38C 41 82 01 18 */ beq lbl_8035F544 -/* 8035F430 0035C390 C0 A4 00 00 */ lfs f5, 0(r4) -/* 8035F434 0035C394 3B 9F 02 E8 */ addi r28, r31, 0x2e8 -/* 8035F438 0035C398 C0 84 00 04 */ lfs f4, 4(r4) -/* 8035F43C 0035C39C C0 64 00 08 */ lfs f3, 8(r4) -/* 8035F440 0035C3A0 C0 44 00 0C */ lfs f2, 0xc(r4) -/* 8035F444 0035C3A4 C0 24 00 10 */ lfs f1, 0x10(r4) -/* 8035F448 0035C3A8 C0 04 00 14 */ lfs f0, 0x14(r4) -/* 8035F44C 0035C3AC D0 A1 00 AC */ stfs f5, 0xac(r1) -/* 8035F450 0035C3B0 D0 81 00 B0 */ stfs f4, 0xb0(r1) -/* 8035F454 0035C3B4 D0 61 00 B4 */ stfs f3, 0xb4(r1) -/* 8035F458 0035C3B8 D0 41 00 B8 */ stfs f2, 0xb8(r1) -/* 8035F45C 0035C3BC D0 21 00 BC */ stfs f1, 0xbc(r1) -/* 8035F460 0035C3C0 D0 01 00 C0 */ stfs f0, 0xc0(r1) -/* 8035F464 0035C3C4 83 BF 03 EC */ lwz r29, 0x3ec(r31) -/* 8035F468 0035C3C8 48 00 00 34 */ b lbl_8035F49C -lbl_8035F46C: -/* 8035F46C 0035C3CC 80 1D 00 08 */ lwz r0, 8(r29) -/* 8035F470 0035C3D0 38 61 00 AC */ addi r3, r1, 0xac -/* 8035F474 0035C3D4 54 04 18 38 */ slwi r4, r0, 3 -/* 8035F478 0035C3D8 38 04 00 04 */ addi r0, r4, 4 -/* 8035F47C 0035C3DC 7C 9C 00 2E */ lwzx r4, r28, r0 -/* 8035F480 0035C3E0 3B C4 00 28 */ addi r30, r4, 0x28 -/* 8035F484 0035C3E4 7F C4 F3 78 */ mr r4, r30 -/* 8035F488 0035C3E8 4B FD 86 81 */ bl AccumulateBounds__6CAABoxFRC9CVector3f -/* 8035F48C 0035C3EC 38 61 00 AC */ addi r3, r1, 0xac -/* 8035F490 0035C3F0 38 9E 00 0C */ addi r4, r30, 0xc -/* 8035F494 0035C3F4 4B FD 86 75 */ bl AccumulateBounds__6CAABoxFRC9CVector3f -/* 8035F498 0035C3F8 83 BD 00 04 */ lwz r29, 4(r29) -lbl_8035F49C: -/* 8035F49C 0035C3FC 80 1F 03 F0 */ lwz r0, 0x3f0(r31) -/* 8035F4A0 0035C400 7C 1D 00 40 */ cmplw r29, r0 -/* 8035F4A4 0035C404 40 82 FF C8 */ bne lbl_8035F46C -/* 8035F4A8 0035C408 38 61 00 AC */ addi r3, r1, 0xac -/* 8035F4AC 0035C40C 4B FD 81 D5 */ bl Invalid__6CAABoxCFv -/* 8035F4B0 0035C410 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8035F4B4 0035C414 40 82 00 90 */ bne lbl_8035F544 -/* 8035F4B8 0035C418 38 61 00 E0 */ addi r3, r1, 0xe0 -/* 8035F4BC 0035C41C 38 9F 00 E0 */ addi r4, r31, 0xe0 -/* 8035F4C0 0035C420 4B FB 3D 05 */ bl Scale__12CTransform4fFRC9CVector3f -/* 8035F4C4 0035C424 38 61 01 10 */ addi r3, r1, 0x110 -/* 8035F4C8 0035C428 38 9F 00 38 */ addi r4, r31, 0x38 -/* 8035F4CC 0035C42C 4B FB 3C 75 */ bl Translate__12CTransform4fFRC9CVector3f -/* 8035F4D0 0035C430 38 61 01 40 */ addi r3, r1, 0x140 -/* 8035F4D4 0035C434 38 9F 00 A4 */ addi r4, r31, 0xa4 -/* 8035F4D8 0035C438 4B FB 3C 69 */ bl Translate__12CTransform4fFRC9CVector3f -/* 8035F4DC 0035C43C 38 61 01 70 */ addi r3, r1, 0x170 -/* 8035F4E0 0035C440 38 81 01 40 */ addi r4, r1, 0x140 -/* 8035F4E4 0035C444 38 BF 00 B0 */ addi r5, r31, 0xb0 -/* 8035F4E8 0035C448 4B FB 34 69 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 8035F4EC 0035C44C 38 61 01 A0 */ addi r3, r1, 0x1a0 -/* 8035F4F0 0035C450 38 81 01 70 */ addi r4, r1, 0x170 -/* 8035F4F4 0035C454 38 A1 01 10 */ addi r5, r1, 0x110 -/* 8035F4F8 0035C458 4B FB 34 59 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 8035F4FC 0035C45C 38 61 01 D0 */ addi r3, r1, 0x1d0 -/* 8035F500 0035C460 38 81 01 A0 */ addi r4, r1, 0x1a0 -/* 8035F504 0035C464 38 BF 00 44 */ addi r5, r31, 0x44 -/* 8035F508 0035C468 4B FB 34 49 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 8035F50C 0035C46C 38 61 02 00 */ addi r3, r1, 0x200 -/* 8035F510 0035C470 38 81 01 D0 */ addi r4, r1, 0x1d0 -/* 8035F514 0035C474 38 A1 00 E0 */ addi r5, r1, 0xe0 -/* 8035F518 0035C478 4B FB 34 39 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 8035F51C 0035C47C 38 61 00 40 */ addi r3, r1, 0x40 -/* 8035F520 0035C480 38 81 00 AC */ addi r4, r1, 0xac -/* 8035F524 0035C484 38 A1 02 00 */ addi r5, r1, 0x200 -/* 8035F528 0035C488 4B FD 83 D5 */ bl GetTransformedAABox__6CAABoxCFRC12CTransform4f -/* 8035F52C 0035C48C 38 7F 01 60 */ addi r3, r31, 0x160 -/* 8035F530 0035C490 38 81 00 40 */ addi r4, r1, 0x40 -/* 8035F534 0035C494 4B FD 85 D5 */ bl AccumulateBounds__6CAABoxFRC9CVector3f -/* 8035F538 0035C498 38 7F 01 60 */ addi r3, r31, 0x160 -/* 8035F53C 0035C49C 38 81 00 4C */ addi r4, r1, 0x4c -/* 8035F540 0035C4A0 4B FD 85 C9 */ bl AccumulateBounds__6CAABoxFRC9CVector3f -lbl_8035F544: -/* 8035F544 0035C4A4 88 1F 04 50 */ lbz r0, 0x450(r31) -/* 8035F548 0035C4A8 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 8035F54C 0035C4AC 41 82 00 C4 */ beq lbl_8035F610 -/* 8035F550 0035C4B0 3B A0 00 00 */ li r29, 0 -/* 8035F554 0035C4B4 3B 80 00 00 */ li r28, 0 -/* 8035F558 0035C4B8 48 00 00 AC */ b lbl_8035F604 -lbl_8035F55C: -/* 8035F55C 0035C4BC 80 9F 04 0C */ lwz r4, 0x40c(r31) -/* 8035F560 0035C4C0 38 1C 00 04 */ addi r0, r28, 4 -/* 8035F564 0035C4C4 38 61 00 24 */ addi r3, r1, 0x24 -/* 8035F568 0035C4C8 7C 84 00 2E */ lwzx r4, r4, r0 -/* 8035F56C 0035C4CC 81 84 00 00 */ lwz r12, 0(r4) -/* 8035F570 0035C4D0 81 8C 00 5C */ lwz r12, 0x5c(r12) -/* 8035F574 0035C4D4 7D 89 03 A6 */ mtctr r12 -/* 8035F578 0035C4D8 4E 80 04 21 */ bctrl -/* 8035F57C 0035C4DC 88 01 00 3C */ lbz r0, 0x3c(r1) -/* 8035F580 0035C4E0 28 00 00 00 */ cmplwi r0, 0 -/* 8035F584 0035C4E4 98 01 00 A8 */ stb r0, 0xa8(r1) -/* 8035F588 0035C4E8 41 82 00 3C */ beq lbl_8035F5C4 -/* 8035F58C 0035C4EC 34 61 00 90 */ addic. r3, r1, 0x90 -/* 8035F590 0035C4F0 41 82 00 34 */ beq lbl_8035F5C4 -/* 8035F594 0035C4F4 C0 01 00 24 */ lfs f0, 0x24(r1) -/* 8035F598 0035C4F8 D0 03 00 00 */ stfs f0, 0(r3) -/* 8035F59C 0035C4FC C0 01 00 28 */ lfs f0, 0x28(r1) -/* 8035F5A0 0035C500 D0 03 00 04 */ stfs f0, 4(r3) -/* 8035F5A4 0035C504 C0 01 00 2C */ lfs f0, 0x2c(r1) -/* 8035F5A8 0035C508 D0 03 00 08 */ stfs f0, 8(r3) -/* 8035F5AC 0035C50C C0 01 00 30 */ lfs f0, 0x30(r1) -/* 8035F5B0 0035C510 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 8035F5B4 0035C514 C0 01 00 34 */ lfs f0, 0x34(r1) -/* 8035F5B8 0035C518 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 8035F5BC 0035C51C C0 01 00 38 */ lfs f0, 0x38(r1) -/* 8035F5C0 0035C520 D0 03 00 14 */ stfs f0, 0x14(r3) -lbl_8035F5C4: -/* 8035F5C4 0035C524 88 01 00 A8 */ lbz r0, 0xa8(r1) -/* 8035F5C8 0035C528 38 60 00 00 */ li r3, 0 -/* 8035F5CC 0035C52C 98 61 00 3C */ stb r3, 0x3c(r1) -/* 8035F5D0 0035C530 28 00 00 00 */ cmplwi r0, 0 -/* 8035F5D4 0035C534 41 82 00 20 */ beq lbl_8035F5F4 -/* 8035F5D8 0035C538 3B C1 00 90 */ addi r30, r1, 0x90 -/* 8035F5DC 0035C53C 38 7F 01 60 */ addi r3, r31, 0x160 -/* 8035F5E0 0035C540 7F C4 F3 78 */ mr r4, r30 -/* 8035F5E4 0035C544 4B FD 85 25 */ bl AccumulateBounds__6CAABoxFRC9CVector3f -/* 8035F5E8 0035C548 38 7F 01 60 */ addi r3, r31, 0x160 -/* 8035F5EC 0035C54C 38 9E 00 0C */ addi r4, r30, 0xc -/* 8035F5F0 0035C550 4B FD 85 19 */ bl AccumulateBounds__6CAABoxFRC9CVector3f -lbl_8035F5F4: -/* 8035F5F4 0035C554 38 00 00 00 */ li r0, 0 -/* 8035F5F8 0035C558 3B BD 00 01 */ addi r29, r29, 1 -/* 8035F5FC 0035C55C 98 01 00 A8 */ stb r0, 0xa8(r1) -/* 8035F600 0035C560 3B 9C 00 08 */ addi r28, r28, 8 -lbl_8035F604: -/* 8035F604 0035C564 80 1F 01 54 */ lwz r0, 0x154(r31) -/* 8035F608 0035C568 7C 1D 00 00 */ cmpw r29, r0 -/* 8035F60C 0035C56C 41 80 FF 50 */ blt lbl_8035F55C -lbl_8035F610: -/* 8035F610 0035C570 88 1F 04 50 */ lbz r0, 0x450(r31) -/* 8035F614 0035C574 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 8035F618 0035C578 41 82 00 C4 */ beq lbl_8035F6DC -/* 8035F61C 0035C57C 3B A0 00 00 */ li r29, 0 -/* 8035F620 0035C580 3B 80 00 00 */ li r28, 0 -/* 8035F624 0035C584 48 00 00 AC */ b lbl_8035F6D0 -lbl_8035F628: -/* 8035F628 0035C588 80 9F 04 1C */ lwz r4, 0x41c(r31) -/* 8035F62C 0035C58C 38 1C 00 04 */ addi r0, r28, 4 -/* 8035F630 0035C590 38 61 00 08 */ addi r3, r1, 8 -/* 8035F634 0035C594 7C 84 00 2E */ lwzx r4, r4, r0 -/* 8035F638 0035C598 81 84 00 00 */ lwz r12, 0(r4) -/* 8035F63C 0035C59C 81 8C 00 5C */ lwz r12, 0x5c(r12) -/* 8035F640 0035C5A0 7D 89 03 A6 */ mtctr r12 -/* 8035F644 0035C5A4 4E 80 04 21 */ bctrl -/* 8035F648 0035C5A8 88 01 00 20 */ lbz r0, 0x20(r1) -/* 8035F64C 0035C5AC 28 00 00 00 */ cmplwi r0, 0 -/* 8035F650 0035C5B0 98 01 00 8C */ stb r0, 0x8c(r1) -/* 8035F654 0035C5B4 41 82 00 3C */ beq lbl_8035F690 -/* 8035F658 0035C5B8 34 61 00 74 */ addic. r3, r1, 0x74 -/* 8035F65C 0035C5BC 41 82 00 34 */ beq lbl_8035F690 -/* 8035F660 0035C5C0 C0 01 00 08 */ lfs f0, 8(r1) -/* 8035F664 0035C5C4 D0 03 00 00 */ stfs f0, 0(r3) -/* 8035F668 0035C5C8 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 8035F66C 0035C5CC D0 03 00 04 */ stfs f0, 4(r3) -/* 8035F670 0035C5D0 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 8035F674 0035C5D4 D0 03 00 08 */ stfs f0, 8(r3) -/* 8035F678 0035C5D8 C0 01 00 14 */ lfs f0, 0x14(r1) -/* 8035F67C 0035C5DC D0 03 00 0C */ stfs f0, 0xc(r3) -/* 8035F680 0035C5E0 C0 01 00 18 */ lfs f0, 0x18(r1) -/* 8035F684 0035C5E4 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 8035F688 0035C5E8 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 8035F68C 0035C5EC D0 03 00 14 */ stfs f0, 0x14(r3) -lbl_8035F690: -/* 8035F690 0035C5F0 88 01 00 8C */ lbz r0, 0x8c(r1) -/* 8035F694 0035C5F4 38 60 00 00 */ li r3, 0 -/* 8035F698 0035C5F8 98 61 00 20 */ stb r3, 0x20(r1) -/* 8035F69C 0035C5FC 28 00 00 00 */ cmplwi r0, 0 -/* 8035F6A0 0035C600 41 82 00 20 */ beq lbl_8035F6C0 -/* 8035F6A4 0035C604 3B C1 00 74 */ addi r30, r1, 0x74 -/* 8035F6A8 0035C608 38 7F 01 60 */ addi r3, r31, 0x160 -/* 8035F6AC 0035C60C 7F C4 F3 78 */ mr r4, r30 -/* 8035F6B0 0035C610 4B FD 84 59 */ bl AccumulateBounds__6CAABoxFRC9CVector3f -/* 8035F6B4 0035C614 38 7F 01 60 */ addi r3, r31, 0x160 -/* 8035F6B8 0035C618 38 9E 00 0C */ addi r4, r30, 0xc -/* 8035F6BC 0035C61C 4B FD 84 4D */ bl AccumulateBounds__6CAABoxFRC9CVector3f -lbl_8035F6C0: -/* 8035F6C0 0035C620 38 00 00 00 */ li r0, 0 -/* 8035F6C4 0035C624 3B BD 00 01 */ addi r29, r29, 1 -/* 8035F6C8 0035C628 98 01 00 8C */ stb r0, 0x8c(r1) -/* 8035F6CC 0035C62C 3B 9C 00 08 */ addi r28, r28, 8 -lbl_8035F6D0: -/* 8035F6D0 0035C630 80 1F 01 54 */ lwz r0, 0x154(r31) -/* 8035F6D4 0035C634 7C 1D 00 00 */ cmpw r29, r0 -/* 8035F6D8 0035C638 41 80 FF 50 */ blt lbl_8035F628 -lbl_8035F6DC: -/* 8035F6DC 0035C63C 80 01 02 44 */ lwz r0, 0x244(r1) -/* 8035F6E0 0035C640 83 E1 02 3C */ lwz r31, 0x23c(r1) -/* 8035F6E4 0035C644 83 C1 02 38 */ lwz r30, 0x238(r1) -/* 8035F6E8 0035C648 83 A1 02 34 */ lwz r29, 0x234(r1) -/* 8035F6EC 0035C64C 83 81 02 30 */ lwz r28, 0x230(r1) -/* 8035F6F0 0035C650 7C 08 03 A6 */ mtlr r0 -/* 8035F6F4 0035C654 38 21 02 40 */ addi r1, r1, 0x240 -/* 8035F6F8 0035C658 4E 80 00 20 */ blr - -.global UpdateLine__17CParticleElectricFii -UpdateLine__17CParticleElectricFii: -/* 8035F6FC 0035C65C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8035F700 0035C660 7C 08 02 A6 */ mflr r0 -/* 8035F704 0035C664 90 01 00 24 */ stw r0, 0x24(r1) -/* 8035F708 0035C668 54 80 18 38 */ slwi r0, r4, 3 -/* 8035F70C 0035C66C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8035F710 0035C670 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8035F714 0035C674 7C BE 2B 78 */ mr r30, r5 -/* 8035F718 0035C678 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8035F71C 0035C67C 7C 7D 1B 78 */ mr r29, r3 -/* 8035F720 0035C680 80 83 00 24 */ lwz r4, 0x24(r3) -/* 8035F724 0035C684 7C 7D 02 14 */ add r3, r29, r0 -/* 8035F728 0035C688 83 E3 02 EC */ lwz r31, 0x2ec(r3) -/* 8035F72C 0035C68C 80 64 00 34 */ lwz r3, 0x34(r4) -/* 8035F730 0035C690 28 03 00 00 */ cmplwi r3, 0 -/* 8035F734 0035C694 41 82 00 1C */ beq lbl_8035F750 -/* 8035F738 0035C698 81 83 00 00 */ lwz r12, 0(r3) -/* 8035F73C 0035C69C 7F C4 F3 78 */ mr r4, r30 -/* 8035F740 0035C6A0 38 BF 00 1C */ addi r5, r31, 0x1c -/* 8035F744 0035C6A4 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8035F748 0035C6A8 7D 89 03 A6 */ mtctr r12 -/* 8035F74C 0035C6AC 4E 80 04 21 */ bctrl -lbl_8035F750: -/* 8035F750 0035C6B0 80 7D 00 24 */ lwz r3, 0x24(r29) -/* 8035F754 0035C6B4 80 63 00 38 */ lwz r3, 0x38(r3) -/* 8035F758 0035C6B8 28 03 00 00 */ cmplwi r3, 0 -/* 8035F75C 0035C6BC 41 82 00 1C */ beq lbl_8035F778 -/* 8035F760 0035C6C0 81 83 00 00 */ lwz r12, 0(r3) -/* 8035F764 0035C6C4 7F C4 F3 78 */ mr r4, r30 -/* 8035F768 0035C6C8 38 BF 00 20 */ addi r5, r31, 0x20 -/* 8035F76C 0035C6CC 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8035F770 0035C6D0 7D 89 03 A6 */ mtctr r12 -/* 8035F774 0035C6D4 4E 80 04 21 */ bctrl -lbl_8035F778: -/* 8035F778 0035C6D8 80 7D 00 24 */ lwz r3, 0x24(r29) -/* 8035F77C 0035C6DC 80 63 00 3C */ lwz r3, 0x3c(r3) -/* 8035F780 0035C6E0 28 03 00 00 */ cmplwi r3, 0 -/* 8035F784 0035C6E4 41 82 00 1C */ beq lbl_8035F7A0 -/* 8035F788 0035C6E8 81 83 00 00 */ lwz r12, 0(r3) -/* 8035F78C 0035C6EC 7F C4 F3 78 */ mr r4, r30 -/* 8035F790 0035C6F0 38 BF 00 24 */ addi r5, r31, 0x24 -/* 8035F794 0035C6F4 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8035F798 0035C6F8 7D 89 03 A6 */ mtctr r12 -/* 8035F79C 0035C6FC 4E 80 04 21 */ bctrl -lbl_8035F7A0: -/* 8035F7A0 0035C700 80 7D 00 24 */ lwz r3, 0x24(r29) -/* 8035F7A4 0035C704 80 63 00 28 */ lwz r3, 0x28(r3) -/* 8035F7A8 0035C708 28 03 00 00 */ cmplwi r3, 0 -/* 8035F7AC 0035C70C 41 82 00 1C */ beq lbl_8035F7C8 -/* 8035F7B0 0035C710 81 83 00 00 */ lwz r12, 0(r3) -/* 8035F7B4 0035C714 7F C4 F3 78 */ mr r4, r30 -/* 8035F7B8 0035C718 38 BF 00 10 */ addi r5, r31, 0x10 -/* 8035F7BC 0035C71C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8035F7C0 0035C720 7D 89 03 A6 */ mtctr r12 -/* 8035F7C4 0035C724 4E 80 04 21 */ bctrl -lbl_8035F7C8: -/* 8035F7C8 0035C728 80 7D 00 24 */ lwz r3, 0x24(r29) -/* 8035F7CC 0035C72C 80 63 00 2C */ lwz r3, 0x2c(r3) -/* 8035F7D0 0035C730 28 03 00 00 */ cmplwi r3, 0 -/* 8035F7D4 0035C734 41 82 00 1C */ beq lbl_8035F7F0 -/* 8035F7D8 0035C738 81 83 00 00 */ lwz r12, 0(r3) -/* 8035F7DC 0035C73C 7F C4 F3 78 */ mr r4, r30 -/* 8035F7E0 0035C740 38 BF 00 14 */ addi r5, r31, 0x14 -/* 8035F7E4 0035C744 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8035F7E8 0035C748 7D 89 03 A6 */ mtctr r12 -/* 8035F7EC 0035C74C 4E 80 04 21 */ bctrl -lbl_8035F7F0: -/* 8035F7F0 0035C750 80 7D 00 24 */ lwz r3, 0x24(r29) -/* 8035F7F4 0035C754 80 63 00 30 */ lwz r3, 0x30(r3) -/* 8035F7F8 0035C758 28 03 00 00 */ cmplwi r3, 0 -/* 8035F7FC 0035C75C 41 82 00 1C */ beq lbl_8035F818 -/* 8035F800 0035C760 81 83 00 00 */ lwz r12, 0(r3) -/* 8035F804 0035C764 7F C4 F3 78 */ mr r4, r30 -/* 8035F808 0035C768 38 BF 00 18 */ addi r5, r31, 0x18 -/* 8035F80C 0035C76C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8035F810 0035C770 7D 89 03 A6 */ mtctr r12 -/* 8035F814 0035C774 4E 80 04 21 */ bctrl -lbl_8035F818: -/* 8035F818 0035C778 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8035F81C 0035C77C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8035F820 0035C780 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8035F824 0035C784 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8035F828 0035C788 7C 08 03 A6 */ mtlr r0 -/* 8035F82C 0035C78C 38 21 00 20 */ addi r1, r1, 0x20 -/* 8035F830 0035C790 4E 80 00 20 */ blr - -.global UpdateElectricalEffects__17CParticleElectricFv -UpdateElectricalEffects__17CParticleElectricFv: -/* 8035F834 0035C794 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8035F838 0035C798 7C 08 02 A6 */ mflr r0 -/* 8035F83C 0035C79C 90 01 00 34 */ stw r0, 0x34(r1) -/* 8035F840 0035C7A0 BF 41 00 18 */ stmw r26, 0x18(r1) -/* 8035F844 0035C7A4 7C 7B 1B 78 */ mr r27, r3 -/* 8035F848 0035C7A8 3B DB 01 C0 */ addi r30, r27, 0x1c0 -/* 8035F84C 0035C7AC 3B BB 01 E4 */ addi r29, r27, 0x1e4 -/* 8035F850 0035C7B0 83 E3 03 EC */ lwz r31, 0x3ec(r3) -/* 8035F854 0035C7B4 48 00 01 54 */ b lbl_8035F9A8 -lbl_8035F858: -/* 8035F858 0035C7B8 80 1F 00 0C */ lwz r0, 0xc(r31) -/* 8035F85C 0035C7BC 28 00 00 01 */ cmplwi r0, 1 -/* 8035F860 0035C7C0 41 81 00 84 */ bgt lbl_8035F8E4 -/* 8035F864 0035C7C4 80 1F 00 08 */ lwz r0, 8(r31) -/* 8035F868 0035C7C8 38 60 00 00 */ li r3, 0 -/* 8035F86C 0035C7CC 7C 7E 01 AE */ stbx r3, r30, r0 -/* 8035F870 0035C7D0 80 1F 00 18 */ lwz r0, 0x18(r31) -/* 8035F874 0035C7D4 2C 00 FF FF */ cmpwi r0, -1 -/* 8035F878 0035C7D8 41 82 00 28 */ beq lbl_8035F8A0 -/* 8035F87C 0035C7DC 54 03 18 38 */ slwi r3, r0, 3 -/* 8035F880 0035C7E0 80 BB 04 0C */ lwz r5, 0x40c(r27) -/* 8035F884 0035C7E4 38 03 00 04 */ addi r0, r3, 4 -/* 8035F888 0035C7E8 38 80 00 00 */ li r4, 0 -/* 8035F88C 0035C7EC 7C 65 00 2E */ lwzx r3, r5, r0 -/* 8035F890 0035C7F0 81 83 00 00 */ lwz r12, 0(r3) -/* 8035F894 0035C7F4 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 8035F898 0035C7F8 7D 89 03 A6 */ mtctr r12 -/* 8035F89C 0035C7FC 4E 80 04 21 */ bctrl -lbl_8035F8A0: -/* 8035F8A0 0035C800 80 1F 00 1C */ lwz r0, 0x1c(r31) -/* 8035F8A4 0035C804 2C 00 FF FF */ cmpwi r0, -1 -/* 8035F8A8 0035C808 41 82 00 28 */ beq lbl_8035F8D0 -/* 8035F8AC 0035C80C 54 03 18 38 */ slwi r3, r0, 3 -/* 8035F8B0 0035C810 80 BB 04 1C */ lwz r5, 0x41c(r27) -/* 8035F8B4 0035C814 38 03 00 04 */ addi r0, r3, 4 -/* 8035F8B8 0035C818 38 80 00 00 */ li r4, 0 -/* 8035F8BC 0035C81C 7C 65 00 2E */ lwzx r3, r5, r0 -/* 8035F8C0 0035C820 81 83 00 00 */ lwz r12, 0(r3) -/* 8035F8C4 0035C824 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 8035F8C8 0035C828 7D 89 03 A6 */ mtctr r12 -/* 8035F8CC 0035C82C 4E 80 04 21 */ bctrl -lbl_8035F8D0: -/* 8035F8D0 0035C830 7F E4 FB 78 */ mr r4, r31 -/* 8035F8D4 0035C834 38 7B 03 E8 */ addi r3, r27, 0x3e8 -/* 8035F8D8 0035C838 48 00 34 65 */ bl sub_80362d3c -/* 8035F8DC 0035C83C 7C 7F 1B 78 */ mr r31, r3 -/* 8035F8E0 0035C840 48 00 00 C8 */ b lbl_8035F9A8 -lbl_8035F8E4: -/* 8035F8E4 0035C844 80 9F 00 10 */ lwz r4, 0x10(r31) -/* 8035F8E8 0035C848 80 7B 00 28 */ lwz r3, 0x28(r27) -/* 8035F8EC 0035C84C 80 1F 00 14 */ lwz r0, 0x14(r31) -/* 8035F8F0 0035C850 7F 84 18 50 */ subf r28, r4, r3 -/* 8035F8F4 0035C854 7C 64 00 50 */ subf r3, r4, r0 -/* 8035F8F8 0035C858 4B FC AE 81 */ bl SetParticleLifetime__16CParticleGlobalsFi -/* 8035F8FC 0035C85C 7F 83 E3 78 */ mr r3, r28 -/* 8035F900 0035C860 4B FC AD 7D */ bl UpdateParticleLifetimeTweenValues__16CParticleGlobalsFi -/* 8035F904 0035C864 88 1B 04 50 */ lbz r0, 0x450(r27) -/* 8035F908 0035C868 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 8035F90C 0035C86C 41 82 00 70 */ beq lbl_8035F97C -/* 8035F910 0035C870 80 1F 00 08 */ lwz r0, 8(r31) -/* 8035F914 0035C874 54 03 18 38 */ slwi r3, r0, 3 -/* 8035F918 0035C878 38 03 00 04 */ addi r0, r3, 4 -/* 8035F91C 0035C87C 7F 5D 00 2E */ lwzx r26, r29, r0 -/* 8035F920 0035C880 4B FE A6 8D */ bl White__6CColorFv -/* 8035F924 0035C884 80 03 00 00 */ lwz r0, 0(r3) -/* 8035F928 0035C888 90 01 00 0C */ stw r0, 0xc(r1) -/* 8035F92C 0035C88C 80 7B 00 24 */ lwz r3, 0x24(r27) -/* 8035F930 0035C890 80 63 00 14 */ lwz r3, 0x14(r3) -/* 8035F934 0035C894 28 03 00 00 */ cmplwi r3, 0 -/* 8035F938 0035C898 41 82 00 1C */ beq lbl_8035F954 -/* 8035F93C 0035C89C 81 83 00 00 */ lwz r12, 0(r3) -/* 8035F940 0035C8A0 7F 84 E3 78 */ mr r4, r28 -/* 8035F944 0035C8A4 38 A1 00 0C */ addi r5, r1, 0xc -/* 8035F948 0035C8A8 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8035F94C 0035C8AC 7D 89 03 A6 */ mtctr r12 -/* 8035F950 0035C8B0 4E 80 04 21 */ bctrl -lbl_8035F954: -/* 8035F954 0035C8B4 38 61 00 08 */ addi r3, r1, 8 -/* 8035F958 0035C8B8 38 81 00 0C */ addi r4, r1, 0xc -/* 8035F95C 0035C8BC 38 BB 01 B8 */ addi r5, r27, 0x1b8 -/* 8035F960 0035C8C0 48 00 38 19 */ bl Modulate__6CColorFRC6CColorRC6CColor -/* 8035F964 0035C8C4 7F 43 D3 78 */ mr r3, r26 -/* 8035F968 0035C8C8 38 81 00 08 */ addi r4, r1, 8 -/* 8035F96C 0035C8CC 81 9A 00 00 */ lwz r12, 0(r26) -/* 8035F970 0035C8D0 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 8035F974 0035C8D4 7D 89 03 A6 */ mtctr r12 -/* 8035F978 0035C8D8 4E 80 04 21 */ bctrl -lbl_8035F97C: -/* 8035F97C 0035C8DC 88 1B 04 50 */ lbz r0, 0x450(r27) -/* 8035F980 0035C8E0 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 8035F984 0035C8E4 41 82 00 14 */ beq lbl_8035F998 -/* 8035F988 0035C8E8 80 9F 00 08 */ lwz r4, 8(r31) -/* 8035F98C 0035C8EC 7F 63 DB 78 */ mr r3, r27 -/* 8035F990 0035C8F0 7F 85 E3 78 */ mr r5, r28 -/* 8035F994 0035C8F4 4B FF FD 69 */ bl UpdateLine__17CParticleElectricFii -lbl_8035F998: -/* 8035F998 0035C8F8 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 8035F99C 0035C8FC 38 03 FF FF */ addi r0, r3, -1 -/* 8035F9A0 0035C900 90 1F 00 0C */ stw r0, 0xc(r31) -/* 8035F9A4 0035C904 83 FF 00 04 */ lwz r31, 4(r31) -lbl_8035F9A8: -/* 8035F9A8 0035C908 80 1B 03 F0 */ lwz r0, 0x3f0(r27) -/* 8035F9AC 0035C90C 7C 1F 00 40 */ cmplw r31, r0 -/* 8035F9B0 0035C910 40 82 FE A8 */ bne lbl_8035F858 -/* 8035F9B4 0035C914 BB 41 00 18 */ lmw r26, 0x18(r1) -/* 8035F9B8 0035C918 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8035F9BC 0035C91C 7C 08 03 A6 */ mtlr r0 -/* 8035F9C0 0035C920 38 21 00 30 */ addi r1, r1, 0x30 -/* 8035F9C4 0035C924 4E 80 00 20 */ blr - -.global CreateNewParticles__17CParticleElectricFi -CreateNewParticles__17CParticleElectricFi: -/* 8035F9C8 0035C928 94 21 FD 50 */ stwu r1, -0x2b0(r1) -/* 8035F9CC 0035C92C 7C 08 02 A6 */ mflr r0 -/* 8035F9D0 0035C930 90 01 02 B4 */ stw r0, 0x2b4(r1) -/* 8035F9D4 0035C934 BE A1 02 84 */ stmw r21, 0x284(r1) -/* 8035F9D8 0035C938 7C 76 1B 78 */ mr r22, r3 -/* 8035F9DC 0035C93C 7C 97 23 78 */ mr r23, r4 -/* 8035F9E0 0035C940 3B 40 00 00 */ li r26, 0 -/* 8035F9E4 0035C944 3B B6 01 C0 */ addi r29, r22, 0x1c0 -/* 8035F9E8 0035C948 3B 96 01 E4 */ addi r28, r22, 0x1e4 -/* 8035F9EC 0035C94C 3B 76 02 E8 */ addi r27, r22, 0x2e8 -/* 8035F9F0 0035C950 3B 20 00 00 */ li r25, 0 -/* 8035F9F4 0035C954 48 00 06 04 */ b lbl_8035FFF8 -lbl_8035F9F8: -/* 8035F9F8 0035C958 80 76 03 FC */ lwz r3, 0x3fc(r22) -/* 8035F9FC 0035C95C 80 16 01 54 */ lwz r0, 0x154(r22) -/* 8035FA00 0035C960 7C 03 00 00 */ cmpw r3, r0 -/* 8035FA04 0035C964 40 80 05 FC */ bge lbl_80360000 -/* 8035FA08 0035C968 38 61 01 B8 */ addi r3, r1, 0x1b8 -/* 8035FA0C 0035C96C 38 96 00 F8 */ addi r4, r22, 0xf8 -/* 8035FA10 0035C970 4B FB 32 31 */ bl GetRotation__12CTransform4fCFv -/* 8035FA14 0035C974 38 61 02 48 */ addi r3, r1, 0x248 -/* 8035FA18 0035C978 38 81 01 B8 */ addi r4, r1, 0x1b8 -/* 8035FA1C 0035C97C 4B FB 31 59 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8035FA20 0035C980 C0 56 01 24 */ lfs f2, 0x124(r22) -/* 8035FA24 0035C984 7F A3 EB 78 */ mr r3, r29 -/* 8035FA28 0035C988 C0 36 01 14 */ lfs f1, 0x114(r22) -/* 8035FA2C 0035C98C C0 16 01 04 */ lfs f0, 0x104(r22) -/* 8035FA30 0035C990 D0 01 00 5C */ stfs f0, 0x5c(r1) -/* 8035FA34 0035C994 D0 21 00 60 */ stfs f1, 0x60(r1) -/* 8035FA38 0035C998 D0 41 00 64 */ stfs f2, 0x64(r1) -/* 8035FA3C 0035C99C 80 96 01 BC */ lwz r4, 0x1bc(r22) -/* 8035FA40 0035C9A0 7C 1A 20 50 */ subf r0, r26, r4 -/* 8035FA44 0035C9A4 7C 09 03 A6 */ mtctr r0 -/* 8035FA48 0035C9A8 7C 1A 20 00 */ cmpw r26, r4 -/* 8035FA4C 0035C9AC 40 80 05 A8 */ bge lbl_8035FFF4 -lbl_8035FA50: -/* 8035FA50 0035C9B0 88 03 00 00 */ lbz r0, 0(r3) -/* 8035FA54 0035C9B4 28 00 00 00 */ cmplwi r0, 0 -/* 8035FA58 0035C9B8 40 82 05 84 */ bne lbl_8035FFDC -/* 8035FA5C 0035C9BC 38 00 00 01 */ li r0, 1 -/* 8035FA60 0035C9C0 98 1D 00 00 */ stb r0, 0(r29) -/* 8035FA64 0035C9C4 90 01 00 40 */ stw r0, 0x40(r1) -/* 8035FA68 0035C9C8 80 76 00 24 */ lwz r3, 0x24(r22) -/* 8035FA6C 0035C9CC 80 63 00 04 */ lwz r3, 4(r3) -/* 8035FA70 0035C9D0 28 03 00 00 */ cmplwi r3, 0 -/* 8035FA74 0035C9D4 41 82 00 1C */ beq lbl_8035FA90 -/* 8035FA78 0035C9D8 81 83 00 00 */ lwz r12, 0(r3) -/* 8035FA7C 0035C9DC 38 A1 00 40 */ addi r5, r1, 0x40 -/* 8035FA80 0035C9E0 80 96 00 28 */ lwz r4, 0x28(r22) -/* 8035FA84 0035C9E4 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8035FA88 0035C9E8 7D 89 03 A6 */ mtctr r12 -/* 8035FA8C 0035C9EC 4E 80 04 21 */ bctrl -lbl_8035FA90: -/* 8035FA90 0035C9F0 80 F6 00 28 */ lwz r7, 0x28(r22) -/* 8035FA94 0035C9F4 38 00 FF FF */ li r0, -1 -/* 8035FA98 0035C9F8 80 C1 00 40 */ lwz r6, 0x40(r1) -/* 8035FA9C 0035C9FC 38 76 03 E8 */ addi r3, r22, 0x3e8 -/* 8035FAA0 0035CA00 93 41 00 80 */ stw r26, 0x80(r1) -/* 8035FAA4 0035CA04 38 81 00 80 */ addi r4, r1, 0x80 -/* 8035FAA8 0035CA08 7C A7 32 14 */ add r5, r7, r6 -/* 8035FAAC 0035CA0C 90 C1 00 84 */ stw r6, 0x84(r1) -/* 8035FAB0 0035CA10 90 E1 00 88 */ stw r7, 0x88(r1) -/* 8035FAB4 0035CA14 90 A1 00 8C */ stw r5, 0x8c(r1) -/* 8035FAB8 0035CA18 90 01 00 90 */ stw r0, 0x90(r1) -/* 8035FABC 0035CA1C 90 01 00 94 */ stw r0, 0x94(r1) -/* 8035FAC0 0035CA20 48 00 06 51 */ bl sub_80360110 -/* 8035FAC4 0035CA24 80 96 03 F0 */ lwz r4, 0x3f0(r22) -/* 8035FAC8 0035CA28 80 76 00 28 */ lwz r3, 0x28(r22) -/* 8035FACC 0035CA2C 83 E4 00 00 */ lwz r31, 0(r4) -/* 8035FAD0 0035CA30 80 9F 00 10 */ lwz r4, 0x10(r31) -/* 8035FAD4 0035CA34 80 1F 00 14 */ lwz r0, 0x14(r31) -/* 8035FAD8 0035CA38 7E A4 18 50 */ subf r21, r4, r3 -/* 8035FADC 0035CA3C 7C 64 00 50 */ subf r3, r4, r0 -/* 8035FAE0 0035CA40 4B FC AC 99 */ bl SetParticleLifetime__16CParticleGlobalsFi -/* 8035FAE4 0035CA44 7E A3 AB 78 */ mr r3, r21 -/* 8035FAE8 0035CA48 4B FC AB 95 */ bl UpdateParticleLifetimeTweenValues__16CParticleGlobalsFi -/* 8035FAEC 0035CA4C 7E C3 B3 78 */ mr r3, r22 -/* 8035FAF0 0035CA50 48 00 15 A5 */ bl CalculatePoints__17CParticleElectricFv -/* 8035FAF4 0035CA54 88 16 04 50 */ lbz r0, 0x450(r22) -/* 8035FAF8 0035CA58 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 8035FAFC 0035CA5C 41 82 01 3C */ beq lbl_8035FC38 -/* 8035FB00 0035CA60 83 1C 00 04 */ lwz r24, 4(r28) -/* 8035FB04 0035CA64 38 80 00 01 */ li r4, 1 -/* 8035FB08 0035CA68 7F 03 C3 78 */ mr r3, r24 -/* 8035FB0C 0035CA6C 81 98 00 00 */ lwz r12, 0(r24) -/* 8035FB10 0035CA70 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 8035FB14 0035CA74 7D 89 03 A6 */ mtctr r12 -/* 8035FB18 0035CA78 4E 80 04 21 */ bctrl -/* 8035FB1C 0035CA7C 7F 03 C3 78 */ mr r3, r24 -/* 8035FB20 0035CA80 38 81 00 5C */ addi r4, r1, 0x5c -/* 8035FB24 0035CA84 81 98 00 00 */ lwz r12, 0(r24) -/* 8035FB28 0035CA88 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 8035FB2C 0035CA8C 7D 89 03 A6 */ mtctr r12 -/* 8035FB30 0035CA90 4E 80 04 21 */ bctrl -/* 8035FB34 0035CA94 7F 03 C3 78 */ mr r3, r24 -/* 8035FB38 0035CA98 38 81 02 48 */ addi r4, r1, 0x248 -/* 8035FB3C 0035CA9C 81 98 00 00 */ lwz r12, 0(r24) -/* 8035FB40 0035CAA0 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8035FB44 0035CAA4 7D 89 03 A6 */ mtctr r12 -/* 8035FB48 0035CAA8 4E 80 04 21 */ bctrl -/* 8035FB4C 0035CAAC 7F 03 C3 78 */ mr r3, r24 -/* 8035FB50 0035CAB0 38 96 00 E0 */ addi r4, r22, 0xe0 -/* 8035FB54 0035CAB4 81 98 00 00 */ lwz r12, 0(r24) -/* 8035FB58 0035CAB8 81 8C 00 24 */ lwz r12, 0x24(r12) -/* 8035FB5C 0035CABC 7D 89 03 A6 */ mtctr r12 -/* 8035FB60 0035CAC0 4E 80 04 21 */ bctrl -/* 8035FB64 0035CAC4 7F 03 C3 78 */ mr r3, r24 -/* 8035FB68 0035CAC8 38 96 00 EC */ addi r4, r22, 0xec -/* 8035FB6C 0035CACC 81 98 00 00 */ lwz r12, 0(r24) -/* 8035FB70 0035CAD0 81 8C 00 28 */ lwz r12, 0x28(r12) -/* 8035FB74 0035CAD4 7D 89 03 A6 */ mtctr r12 -/* 8035FB78 0035CAD8 4E 80 04 21 */ bctrl -/* 8035FB7C 0035CADC 4B FE A4 31 */ bl White__6CColorFv -/* 8035FB80 0035CAE0 80 03 00 00 */ lwz r0, 0(r3) -/* 8035FB84 0035CAE4 90 01 00 3C */ stw r0, 0x3c(r1) -/* 8035FB88 0035CAE8 80 76 00 24 */ lwz r3, 0x24(r22) -/* 8035FB8C 0035CAEC 80 63 00 14 */ lwz r3, 0x14(r3) -/* 8035FB90 0035CAF0 28 03 00 00 */ cmplwi r3, 0 -/* 8035FB94 0035CAF4 41 82 00 1C */ beq lbl_8035FBB0 -/* 8035FB98 0035CAF8 81 83 00 00 */ lwz r12, 0(r3) -/* 8035FB9C 0035CAFC 7E A4 AB 78 */ mr r4, r21 -/* 8035FBA0 0035CB00 38 A1 00 3C */ addi r5, r1, 0x3c -/* 8035FBA4 0035CB04 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8035FBA8 0035CB08 7D 89 03 A6 */ mtctr r12 -/* 8035FBAC 0035CB0C 4E 80 04 21 */ bctrl -lbl_8035FBB0: -/* 8035FBB0 0035CB10 38 61 00 38 */ addi r3, r1, 0x38 -/* 8035FBB4 0035CB14 38 81 00 3C */ addi r4, r1, 0x3c -/* 8035FBB8 0035CB18 38 B6 01 B8 */ addi r5, r22, 0x1b8 -/* 8035FBBC 0035CB1C 48 00 35 BD */ bl Modulate__6CColorFRC6CColorRC6CColor -/* 8035FBC0 0035CB20 7F 03 C3 78 */ mr r3, r24 -/* 8035FBC4 0035CB24 38 81 00 38 */ addi r4, r1, 0x38 -/* 8035FBC8 0035CB28 81 98 00 00 */ lwz r12, 0(r24) -/* 8035FBCC 0035CB2C 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 8035FBD0 0035CB30 7D 89 03 A6 */ mtctr r12 -/* 8035FBD4 0035CB34 4E 80 04 21 */ bctrl -/* 8035FBD8 0035CB38 80 98 01 58 */ lwz r4, 0x158(r24) -/* 8035FBDC 0035CB3C 39 20 00 00 */ li r9, 0 -/* 8035FBE0 0035CB40 38 E0 00 00 */ li r7, 0 -/* 8035FBE4 0035CB44 48 00 00 48 */ b lbl_8035FC2C -lbl_8035FBE8: -/* 8035FBE8 0035CB48 38 A4 00 01 */ addi r5, r4, 1 -/* 8035FBEC 0035CB4C 80 16 04 2C */ lwz r0, 0x42c(r22) -/* 8035FBF0 0035CB50 7C 85 43 D6 */ divw r4, r5, r8 -/* 8035FBF4 0035CB54 80 78 01 68 */ lwz r3, 0x168(r24) -/* 8035FBF8 0035CB58 7C C0 3A 14 */ add r6, r0, r7 -/* 8035FBFC 0035CB5C C0 06 00 00 */ lfs f0, 0(r6) -/* 8035FC00 0035CB60 38 E7 00 0C */ addi r7, r7, 0xc -/* 8035FC04 0035CB64 39 29 00 01 */ addi r9, r9, 1 -/* 8035FC08 0035CB68 7C 04 41 D6 */ mullw r0, r4, r8 -/* 8035FC0C 0035CB6C 7C 80 28 50 */ subf r4, r0, r5 -/* 8035FC10 0035CB70 54 80 38 30 */ slwi r0, r4, 7 -/* 8035FC14 0035CB74 7C 63 02 14 */ add r3, r3, r0 -/* 8035FC18 0035CB78 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 8035FC1C 0035CB7C C0 06 00 04 */ lfs f0, 4(r6) -/* 8035FC20 0035CB80 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 8035FC24 0035CB84 C0 06 00 08 */ lfs f0, 8(r6) -/* 8035FC28 0035CB88 D0 03 00 14 */ stfs f0, 0x14(r3) -lbl_8035FC2C: -/* 8035FC2C 0035CB8C 81 18 01 60 */ lwz r8, 0x160(r24) -/* 8035FC30 0035CB90 7C 09 40 00 */ cmpw r9, r8 -/* 8035FC34 0035CB94 41 80 FF B4 */ blt lbl_8035FBE8 -lbl_8035FC38: -/* 8035FC38 0035CB98 88 16 04 50 */ lbz r0, 0x450(r22) -/* 8035FC3C 0035CB9C 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 8035FC40 0035CBA0 41 82 01 C0 */ beq lbl_8035FE00 -/* 8035FC44 0035CBA4 83 DB 00 04 */ lwz r30, 4(r27) -/* 8035FC48 0035CBA8 38 96 04 20 */ addi r4, r22, 0x420 -/* 8035FC4C 0035CBAC 7F C3 F3 78 */ mr r3, r30 -/* 8035FC50 0035CBB0 48 00 03 C5 */ bl sub_80360014 -/* 8035FC54 0035CBB4 7E C3 B3 78 */ mr r3, r22 -/* 8035FC58 0035CBB8 7F 44 D3 78 */ mr r4, r26 -/* 8035FC5C 0035CBBC 38 A0 00 00 */ li r5, 0 -/* 8035FC60 0035CBC0 4B FF FA 9D */ bl UpdateLine__17CParticleElectricFii -/* 8035FC64 0035CBC4 88 16 04 50 */ lbz r0, 0x450(r22) -/* 8035FC68 0035CBC8 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 8035FC6C 0035CBCC 40 82 01 94 */ bne lbl_8035FE00 -/* 8035FC70 0035CBD0 C0 22 CD 4C */ lfs f1, lbl_805AEA6C@sda21(r2) -/* 8035FC74 0035CBD4 38 C0 00 00 */ li r6, 0 -/* 8035FC78 0035CBD8 C0 02 CD 50 */ lfs f0, lbl_805AEA70@sda21(r2) -/* 8035FC7C 0035CBDC 38 A0 00 00 */ li r5, 0 -/* 8035FC80 0035CBE0 D0 36 01 30 */ stfs f1, 0x130(r22) -/* 8035FC84 0035CBE4 D0 36 01 34 */ stfs f1, 0x134(r22) -/* 8035FC88 0035CBE8 D0 36 01 38 */ stfs f1, 0x138(r22) -/* 8035FC8C 0035CBEC D0 16 01 3C */ stfs f0, 0x13c(r22) -/* 8035FC90 0035CBF0 D0 16 01 40 */ stfs f0, 0x140(r22) -/* 8035FC94 0035CBF4 D0 16 01 44 */ stfs f0, 0x144(r22) -/* 8035FC98 0035CBF8 48 00 01 1C */ b lbl_8035FDB4 -lbl_8035FC9C: -/* 8035FC9C 0035CBFC 80 16 04 2C */ lwz r0, 0x42c(r22) -/* 8035FCA0 0035CC00 C0 16 01 44 */ lfs f0, 0x144(r22) -/* 8035FCA4 0035CC04 7C 60 2A 14 */ add r3, r0, r5 -/* 8035FCA8 0035CC08 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 8035FCAC 0035CC0C C0 23 00 08 */ lfs f1, 8(r3) -/* 8035FCB0 0035CC10 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8035FCB4 0035CC14 D0 21 00 24 */ stfs f1, 0x24(r1) -/* 8035FCB8 0035CC18 40 80 00 0C */ bge lbl_8035FCC4 -/* 8035FCBC 0035CC1C 38 81 00 20 */ addi r4, r1, 0x20 -/* 8035FCC0 0035CC20 48 00 00 08 */ b lbl_8035FCC8 -lbl_8035FCC4: -/* 8035FCC4 0035CC24 38 81 00 24 */ addi r4, r1, 0x24 -lbl_8035FCC8: -/* 8035FCC8 0035CC28 C0 44 00 00 */ lfs f2, 0(r4) -/* 8035FCCC 0035CC2C C0 16 01 40 */ lfs f0, 0x140(r22) -/* 8035FCD0 0035CC30 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 8035FCD4 0035CC34 C0 23 00 04 */ lfs f1, 4(r3) -/* 8035FCD8 0035CC38 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8035FCDC 0035CC3C D0 21 00 2C */ stfs f1, 0x2c(r1) -/* 8035FCE0 0035CC40 40 80 00 0C */ bge lbl_8035FCEC -/* 8035FCE4 0035CC44 38 81 00 28 */ addi r4, r1, 0x28 -/* 8035FCE8 0035CC48 48 00 00 08 */ b lbl_8035FCF0 -lbl_8035FCEC: -/* 8035FCEC 0035CC4C 38 81 00 2C */ addi r4, r1, 0x2c -lbl_8035FCF0: -/* 8035FCF0 0035CC50 C0 24 00 00 */ lfs f1, 0(r4) -/* 8035FCF4 0035CC54 C0 16 01 3C */ lfs f0, 0x13c(r22) -/* 8035FCF8 0035CC58 D0 01 00 30 */ stfs f0, 0x30(r1) -/* 8035FCFC 0035CC5C C0 63 00 00 */ lfs f3, 0(r3) -/* 8035FD00 0035CC60 FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 8035FD04 0035CC64 D0 61 00 34 */ stfs f3, 0x34(r1) -/* 8035FD08 0035CC68 40 80 00 0C */ bge lbl_8035FD14 -/* 8035FD0C 0035CC6C 38 81 00 30 */ addi r4, r1, 0x30 -/* 8035FD10 0035CC70 48 00 00 08 */ b lbl_8035FD18 -lbl_8035FD14: -/* 8035FD14 0035CC74 38 81 00 34 */ addi r4, r1, 0x34 -lbl_8035FD18: -/* 8035FD18 0035CC78 C0 04 00 00 */ lfs f0, 0(r4) -/* 8035FD1C 0035CC7C D0 16 01 3C */ stfs f0, 0x13c(r22) -/* 8035FD20 0035CC80 D0 36 01 40 */ stfs f1, 0x140(r22) -/* 8035FD24 0035CC84 D0 56 01 44 */ stfs f2, 0x144(r22) -/* 8035FD28 0035CC88 C0 16 01 38 */ lfs f0, 0x138(r22) -/* 8035FD2C 0035CC8C D0 01 00 08 */ stfs f0, 8(r1) -/* 8035FD30 0035CC90 C0 23 00 08 */ lfs f1, 8(r3) -/* 8035FD34 0035CC94 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 8035FD38 0035CC98 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 8035FD3C 0035CC9C 40 80 00 0C */ bge lbl_8035FD48 -/* 8035FD40 0035CCA0 38 81 00 08 */ addi r4, r1, 8 -/* 8035FD44 0035CCA4 48 00 00 08 */ b lbl_8035FD4C -lbl_8035FD48: -/* 8035FD48 0035CCA8 38 81 00 0C */ addi r4, r1, 0xc -lbl_8035FD4C: -/* 8035FD4C 0035CCAC C0 44 00 00 */ lfs f2, 0(r4) -/* 8035FD50 0035CCB0 C0 16 01 34 */ lfs f0, 0x134(r22) -/* 8035FD54 0035CCB4 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 8035FD58 0035CCB8 C0 23 00 04 */ lfs f1, 4(r3) -/* 8035FD5C 0035CCBC FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 8035FD60 0035CCC0 D0 21 00 14 */ stfs f1, 0x14(r1) -/* 8035FD64 0035CCC4 40 80 00 0C */ bge lbl_8035FD70 -/* 8035FD68 0035CCC8 38 81 00 10 */ addi r4, r1, 0x10 -/* 8035FD6C 0035CCCC 48 00 00 08 */ b lbl_8035FD74 -lbl_8035FD70: -/* 8035FD70 0035CCD0 38 81 00 14 */ addi r4, r1, 0x14 -lbl_8035FD74: -/* 8035FD74 0035CCD4 C0 24 00 00 */ lfs f1, 0(r4) -/* 8035FD78 0035CCD8 C0 16 01 30 */ lfs f0, 0x130(r22) -/* 8035FD7C 0035CCDC D0 01 00 18 */ stfs f0, 0x18(r1) -/* 8035FD80 0035CCE0 C0 63 00 00 */ lfs f3, 0(r3) -/* 8035FD84 0035CCE4 FC 00 18 40 */ fcmpo cr0, f0, f3 -/* 8035FD88 0035CCE8 D0 61 00 1C */ stfs f3, 0x1c(r1) -/* 8035FD8C 0035CCEC 40 80 00 0C */ bge lbl_8035FD98 -/* 8035FD90 0035CCF0 38 61 00 18 */ addi r3, r1, 0x18 -/* 8035FD94 0035CCF4 48 00 00 08 */ b lbl_8035FD9C -lbl_8035FD98: -/* 8035FD98 0035CCF8 38 61 00 1C */ addi r3, r1, 0x1c -lbl_8035FD9C: -/* 8035FD9C 0035CCFC C0 03 00 00 */ lfs f0, 0(r3) -/* 8035FDA0 0035CD00 38 A5 00 0C */ addi r5, r5, 0xc -/* 8035FDA4 0035CD04 38 C6 00 01 */ addi r6, r6, 1 -/* 8035FDA8 0035CD08 D0 16 01 30 */ stfs f0, 0x130(r22) -/* 8035FDAC 0035CD0C D0 36 01 34 */ stfs f1, 0x134(r22) -/* 8035FDB0 0035CD10 D0 56 01 38 */ stfs f2, 0x138(r22) -lbl_8035FDB4: -/* 8035FDB4 0035CD14 80 16 04 24 */ lwz r0, 0x424(r22) -/* 8035FDB8 0035CD18 7C 06 00 00 */ cmpw r6, r0 -/* 8035FDBC 0035CD1C 41 80 FE E0 */ blt lbl_8035FC9C -/* 8035FDC0 0035CD20 38 61 00 68 */ addi r3, r1, 0x68 -/* 8035FDC4 0035CD24 38 96 01 30 */ addi r4, r22, 0x130 -/* 8035FDC8 0035CD28 38 B6 01 3C */ addi r5, r22, 0x13c -/* 8035FDCC 0035CD2C 4B FD 87 3D */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 8035FDD0 0035CD30 80 61 00 68 */ lwz r3, 0x68(r1) -/* 8035FDD4 0035CD34 80 01 00 6C */ lwz r0, 0x6c(r1) -/* 8035FDD8 0035CD38 90 7E 00 28 */ stw r3, 0x28(r30) -/* 8035FDDC 0035CD3C 90 1E 00 2C */ stw r0, 0x2c(r30) -/* 8035FDE0 0035CD40 80 01 00 70 */ lwz r0, 0x70(r1) -/* 8035FDE4 0035CD44 90 1E 00 30 */ stw r0, 0x30(r30) -/* 8035FDE8 0035CD48 80 61 00 74 */ lwz r3, 0x74(r1) -/* 8035FDEC 0035CD4C 80 01 00 78 */ lwz r0, 0x78(r1) -/* 8035FDF0 0035CD50 90 7E 00 34 */ stw r3, 0x34(r30) -/* 8035FDF4 0035CD54 90 1E 00 38 */ stw r0, 0x38(r30) -/* 8035FDF8 0035CD58 80 01 00 7C */ lwz r0, 0x7c(r1) -/* 8035FDFC 0035CD5C 90 1E 00 3C */ stw r0, 0x3c(r30) -lbl_8035FE00: -/* 8035FE00 0035CD60 88 16 04 50 */ lbz r0, 0x450(r22) -/* 8035FE04 0035CD64 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 8035FE08 0035CD68 41 82 00 DC */ beq lbl_8035FEE4 -/* 8035FE0C 0035CD6C 3B C0 00 00 */ li r30, 0 -/* 8035FE10 0035CD70 3A A0 00 00 */ li r21, 0 -/* 8035FE14 0035CD74 48 00 00 C4 */ b lbl_8035FED8 -lbl_8035FE18: -/* 8035FE18 0035CD78 80 76 04 0C */ lwz r3, 0x40c(r22) -/* 8035FE1C 0035CD7C 38 15 00 04 */ addi r0, r21, 4 -/* 8035FE20 0035CD80 7C 63 00 2E */ lwzx r3, r3, r0 -/* 8035FE24 0035CD84 81 83 00 00 */ lwz r12, 0(r3) -/* 8035FE28 0035CD88 81 8C 00 4C */ lwz r12, 0x4c(r12) -/* 8035FE2C 0035CD8C 7D 89 03 A6 */ mtctr r12 -/* 8035FE30 0035CD90 4E 80 04 21 */ bctrl -/* 8035FE34 0035CD94 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8035FE38 0035CD98 40 82 00 98 */ bne lbl_8035FED0 -/* 8035FE3C 0035CD9C 38 61 01 28 */ addi r3, r1, 0x128 -/* 8035FE40 0035CDA0 38 96 00 EC */ addi r4, r22, 0xec -/* 8035FE44 0035CDA4 4B FB 33 81 */ bl Scale__12CTransform4fFRC9CVector3f -/* 8035FE48 0035CDA8 38 61 01 58 */ addi r3, r1, 0x158 -/* 8035FE4C 0035CDAC 38 96 00 E0 */ addi r4, r22, 0xe0 -/* 8035FE50 0035CDB0 4B FB 33 75 */ bl Scale__12CTransform4fFRC9CVector3f -/* 8035FE54 0035CDB4 38 61 01 88 */ addi r3, r1, 0x188 -/* 8035FE58 0035CDB8 38 81 01 58 */ addi r4, r1, 0x158 -/* 8035FE5C 0035CDBC 38 A1 01 28 */ addi r5, r1, 0x128 -/* 8035FE60 0035CDC0 4B FB 2A F1 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 8035FE64 0035CDC4 38 61 02 18 */ addi r3, r1, 0x218 -/* 8035FE68 0035CDC8 38 81 01 88 */ addi r4, r1, 0x188 -/* 8035FE6C 0035CDCC 4B FB 2D 09 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8035FE70 0035CDD0 80 16 04 0C */ lwz r0, 0x40c(r22) -/* 8035FE74 0035CDD4 57 D5 18 38 */ slwi r21, r30, 3 -/* 8035FE78 0035CDD8 80 B6 04 2C */ lwz r5, 0x42c(r22) -/* 8035FE7C 0035CDDC 38 61 00 50 */ addi r3, r1, 0x50 -/* 8035FE80 0035CDE0 7C C0 AA 14 */ add r6, r0, r21 -/* 8035FE84 0035CDE4 38 81 02 18 */ addi r4, r1, 0x218 -/* 8035FE88 0035CDE8 83 06 00 04 */ lwz r24, 4(r6) -/* 8035FE8C 0035CDEC 4B FB 2C 5D */ bl __ml__12CTransform4fCFRC9CVector3f -/* 8035FE90 0035CDF0 7F 03 C3 78 */ mr r3, r24 -/* 8035FE94 0035CDF4 38 81 00 50 */ addi r4, r1, 0x50 -/* 8035FE98 0035CDF8 81 98 00 00 */ lwz r12, 0(r24) -/* 8035FE9C 0035CDFC 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8035FEA0 0035CE00 7D 89 03 A6 */ mtctr r12 -/* 8035FEA4 0035CE04 4E 80 04 21 */ bctrl -/* 8035FEA8 0035CE08 80 76 04 0C */ lwz r3, 0x40c(r22) -/* 8035FEAC 0035CE0C 38 15 00 04 */ addi r0, r21, 4 -/* 8035FEB0 0035CE10 38 80 00 01 */ li r4, 1 -/* 8035FEB4 0035CE14 7C 63 00 2E */ lwzx r3, r3, r0 -/* 8035FEB8 0035CE18 81 83 00 00 */ lwz r12, 0(r3) -/* 8035FEBC 0035CE1C 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 8035FEC0 0035CE20 7D 89 03 A6 */ mtctr r12 -/* 8035FEC4 0035CE24 4E 80 04 21 */ bctrl -/* 8035FEC8 0035CE28 93 DF 00 18 */ stw r30, 0x18(r31) -/* 8035FECC 0035CE2C 48 00 00 18 */ b lbl_8035FEE4 -lbl_8035FED0: -/* 8035FED0 0035CE30 3A B5 00 08 */ addi r21, r21, 8 -/* 8035FED4 0035CE34 3B DE 00 01 */ addi r30, r30, 1 -lbl_8035FED8: -/* 8035FED8 0035CE38 80 16 01 54 */ lwz r0, 0x154(r22) -/* 8035FEDC 0035CE3C 7C 1E 00 00 */ cmpw r30, r0 -/* 8035FEE0 0035CE40 41 80 FF 38 */ blt lbl_8035FE18 -lbl_8035FEE4: -/* 8035FEE4 0035CE44 88 16 04 50 */ lbz r0, 0x450(r22) -/* 8035FEE8 0035CE48 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 8035FEEC 0035CE4C 41 82 01 08 */ beq lbl_8035FFF4 -/* 8035FEF0 0035CE50 3B 00 00 00 */ li r24, 0 -/* 8035FEF4 0035CE54 3A A0 00 00 */ li r21, 0 -/* 8035FEF8 0035CE58 48 00 00 D4 */ b lbl_8035FFCC -lbl_8035FEFC: -/* 8035FEFC 0035CE5C 80 76 04 1C */ lwz r3, 0x41c(r22) -/* 8035FF00 0035CE60 38 15 00 04 */ addi r0, r21, 4 -/* 8035FF04 0035CE64 7C 63 00 2E */ lwzx r3, r3, r0 -/* 8035FF08 0035CE68 81 83 00 00 */ lwz r12, 0(r3) -/* 8035FF0C 0035CE6C 81 8C 00 4C */ lwz r12, 0x4c(r12) -/* 8035FF10 0035CE70 7D 89 03 A6 */ mtctr r12 -/* 8035FF14 0035CE74 4E 80 04 21 */ bctrl -/* 8035FF18 0035CE78 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8035FF1C 0035CE7C 40 82 00 A8 */ bne lbl_8035FFC4 -/* 8035FF20 0035CE80 38 61 00 98 */ addi r3, r1, 0x98 -/* 8035FF24 0035CE84 38 96 00 EC */ addi r4, r22, 0xec -/* 8035FF28 0035CE88 4B FB 32 9D */ bl Scale__12CTransform4fFRC9CVector3f -/* 8035FF2C 0035CE8C 38 61 00 C8 */ addi r3, r1, 0xc8 -/* 8035FF30 0035CE90 38 96 00 E0 */ addi r4, r22, 0xe0 -/* 8035FF34 0035CE94 4B FB 32 91 */ bl Scale__12CTransform4fFRC9CVector3f -/* 8035FF38 0035CE98 38 61 00 F8 */ addi r3, r1, 0xf8 -/* 8035FF3C 0035CE9C 38 81 00 C8 */ addi r4, r1, 0xc8 -/* 8035FF40 0035CEA0 38 A1 00 98 */ addi r5, r1, 0x98 -/* 8035FF44 0035CEA4 4B FB 2A 0D */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 8035FF48 0035CEA8 38 61 01 E8 */ addi r3, r1, 0x1e8 -/* 8035FF4C 0035CEAC 38 81 00 F8 */ addi r4, r1, 0xf8 -/* 8035FF50 0035CEB0 4B FB 2C 25 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8035FF54 0035CEB4 80 96 04 24 */ lwz r4, 0x424(r22) -/* 8035FF58 0035CEB8 57 1E 18 38 */ slwi r30, r24, 3 -/* 8035FF5C 0035CEBC 80 D6 04 1C */ lwz r6, 0x41c(r22) -/* 8035FF60 0035CEC0 38 61 00 44 */ addi r3, r1, 0x44 -/* 8035FF64 0035CEC4 38 04 FF FF */ addi r0, r4, -1 -/* 8035FF68 0035CEC8 80 B6 04 2C */ lwz r5, 0x42c(r22) -/* 8035FF6C 0035CECC 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8035FF70 0035CED0 7C 86 F2 14 */ add r4, r6, r30 -/* 8035FF74 0035CED4 82 A4 00 04 */ lwz r21, 4(r4) -/* 8035FF78 0035CED8 38 81 01 E8 */ addi r4, r1, 0x1e8 -/* 8035FF7C 0035CEDC 7C A5 02 14 */ add r5, r5, r0 -/* 8035FF80 0035CEE0 4B FB 2B 69 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 8035FF84 0035CEE4 7E A3 AB 78 */ mr r3, r21 -/* 8035FF88 0035CEE8 38 81 00 44 */ addi r4, r1, 0x44 -/* 8035FF8C 0035CEEC 81 95 00 00 */ lwz r12, 0(r21) -/* 8035FF90 0035CEF0 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8035FF94 0035CEF4 7D 89 03 A6 */ mtctr r12 -/* 8035FF98 0035CEF8 4E 80 04 21 */ bctrl -/* 8035FF9C 0035CEFC 80 76 04 1C */ lwz r3, 0x41c(r22) -/* 8035FFA0 0035CF00 38 1E 00 04 */ addi r0, r30, 4 -/* 8035FFA4 0035CF04 38 80 00 01 */ li r4, 1 -/* 8035FFA8 0035CF08 7C 63 00 2E */ lwzx r3, r3, r0 -/* 8035FFAC 0035CF0C 81 83 00 00 */ lwz r12, 0(r3) -/* 8035FFB0 0035CF10 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 8035FFB4 0035CF14 7D 89 03 A6 */ mtctr r12 -/* 8035FFB8 0035CF18 4E 80 04 21 */ bctrl -/* 8035FFBC 0035CF1C 93 1F 00 1C */ stw r24, 0x1c(r31) -/* 8035FFC0 0035CF20 48 00 00 34 */ b lbl_8035FFF4 -lbl_8035FFC4: -/* 8035FFC4 0035CF24 3A B5 00 08 */ addi r21, r21, 8 -/* 8035FFC8 0035CF28 3B 18 00 01 */ addi r24, r24, 1 -lbl_8035FFCC: -/* 8035FFCC 0035CF2C 80 16 01 54 */ lwz r0, 0x154(r22) -/* 8035FFD0 0035CF30 7C 18 00 00 */ cmpw r24, r0 -/* 8035FFD4 0035CF34 41 80 FF 28 */ blt lbl_8035FEFC -/* 8035FFD8 0035CF38 48 00 00 1C */ b lbl_8035FFF4 -lbl_8035FFDC: -/* 8035FFDC 0035CF3C 38 63 00 01 */ addi r3, r3, 1 -/* 8035FFE0 0035CF40 3B BD 00 01 */ addi r29, r29, 1 -/* 8035FFE4 0035CF44 3B 9C 00 08 */ addi r28, r28, 8 -/* 8035FFE8 0035CF48 3B 7B 00 08 */ addi r27, r27, 8 -/* 8035FFEC 0035CF4C 3B 5A 00 01 */ addi r26, r26, 1 -/* 8035FFF0 0035CF50 42 00 FA 60 */ bdnz lbl_8035FA50 -lbl_8035FFF4: -/* 8035FFF4 0035CF54 3B 39 00 01 */ addi r25, r25, 1 -lbl_8035FFF8: -/* 8035FFF8 0035CF58 7C 19 B8 00 */ cmpw r25, r23 -/* 8035FFFC 0035CF5C 41 80 F9 FC */ blt lbl_8035F9F8 -lbl_80360000: -/* 80360000 0035CF60 BA A1 02 84 */ lmw r21, 0x284(r1) -/* 80360004 0035CF64 80 01 02 B4 */ lwz r0, 0x2b4(r1) -/* 80360008 0035CF68 7C 08 03 A6 */ mtlr r0 -/* 8036000C 0035CF6C 38 21 02 B0 */ addi r1, r1, 0x2b0 -/* 80360010 0035CF70 4E 80 00 20 */ blr - -.global sub_80360014 -sub_80360014: -/* 80360014 0035CF74 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80360018 0035CF78 7C 08 02 A6 */ mflr r0 -/* 8036001C 0035CF7C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80360020 0035CF80 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80360024 0035CF84 7C 9F 23 78 */ mr r31, r4 -/* 80360028 0035CF88 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8036002C 0035CF8C 7C 7E 1B 78 */ mr r30, r3 -/* 80360030 0035CF90 7C 1E F8 40 */ cmplw r30, r31 -/* 80360034 0035CF94 40 82 00 08 */ bne lbl_8036003C -/* 80360038 0035CF98 48 00 00 C0 */ b lbl_803600F8 -lbl_8036003C: -/* 8036003C 0035CF9C 80 1E 00 04 */ lwz r0, 4(r30) -/* 80360040 0035CFA0 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 80360044 0035CFA4 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80360048 0035CFA8 90 61 00 0C */ stw r3, 0xc(r1) -/* 8036004C 0035CFAC 7C 03 02 14 */ add r0, r3, r0 -/* 80360050 0035CFB0 90 61 00 08 */ stw r3, 8(r1) -/* 80360054 0035CFB4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80360058 0035CFB8 90 01 00 10 */ stw r0, 0x10(r1) -/* 8036005C 0035CFBC 48 00 00 08 */ b lbl_80360064 -lbl_80360060: -/* 80360060 0035CFC0 38 63 00 0C */ addi r3, r3, 0xc -lbl_80360064: -/* 80360064 0035CFC4 7C 03 00 40 */ cmplw r3, r0 -/* 80360068 0035CFC8 40 82 FF F8 */ bne lbl_80360060 -/* 8036006C 0035CFCC 38 00 00 00 */ li r0, 0 -/* 80360070 0035CFD0 90 1E 00 04 */ stw r0, 4(r30) -/* 80360074 0035CFD4 80 9F 00 04 */ lwz r4, 4(r31) -/* 80360078 0035CFD8 2C 04 00 00 */ cmpwi r4, 0 -/* 8036007C 0035CFDC 40 82 00 20 */ bne lbl_8036009C -/* 80360080 0035CFE0 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 80360084 0035CFE4 4B FB 58 AD */ bl Free__7CMemoryFPCv -/* 80360088 0035CFE8 38 00 00 00 */ li r0, 0 -/* 8036008C 0035CFEC 90 1E 00 04 */ stw r0, 4(r30) -/* 80360090 0035CFF0 90 1E 00 08 */ stw r0, 8(r30) -/* 80360094 0035CFF4 90 1E 00 0C */ stw r0, 0xc(r30) -/* 80360098 0035CFF8 48 00 00 5C */ b lbl_803600F4 -lbl_8036009C: -/* 8036009C 0035CFFC 7F C3 F3 78 */ mr r3, r30 -/* 803600A0 0035D000 48 00 2D 91 */ bl "reserve__Q24rstl45vector<9CVector3f,Q24rstl17aligned_allocator>Fi" -/* 803600A4 0035D004 80 1F 00 04 */ lwz r0, 4(r31) -/* 803600A8 0035D008 80 9F 00 0C */ lwz r4, 0xc(r31) -/* 803600AC 0035D00C 1C 00 00 0C */ mulli r0, r0, 0xc -/* 803600B0 0035D010 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 803600B4 0035D014 7C 04 02 14 */ add r0, r4, r0 -/* 803600B8 0035D018 48 00 00 2C */ b lbl_803600E4 -lbl_803600BC: -/* 803600BC 0035D01C 28 03 00 00 */ cmplwi r3, 0 -/* 803600C0 0035D020 41 82 00 1C */ beq lbl_803600DC -/* 803600C4 0035D024 C0 04 00 00 */ lfs f0, 0(r4) -/* 803600C8 0035D028 D0 03 00 00 */ stfs f0, 0(r3) -/* 803600CC 0035D02C C0 04 00 04 */ lfs f0, 4(r4) -/* 803600D0 0035D030 D0 03 00 04 */ stfs f0, 4(r3) -/* 803600D4 0035D034 C0 04 00 08 */ lfs f0, 8(r4) -/* 803600D8 0035D038 D0 03 00 08 */ stfs f0, 8(r3) -lbl_803600DC: -/* 803600DC 0035D03C 38 63 00 0C */ addi r3, r3, 0xc -/* 803600E0 0035D040 38 84 00 0C */ addi r4, r4, 0xc -lbl_803600E4: -/* 803600E4 0035D044 7C 04 00 40 */ cmplw r4, r0 -/* 803600E8 0035D048 40 82 FF D4 */ bne lbl_803600BC -/* 803600EC 0035D04C 80 1F 00 04 */ lwz r0, 4(r31) -/* 803600F0 0035D050 90 1E 00 04 */ stw r0, 4(r30) -lbl_803600F4: -/* 803600F4 0035D054 7F C3 F3 78 */ mr r3, r30 -lbl_803600F8: -/* 803600F8 0035D058 80 01 00 24 */ lwz r0, 0x24(r1) -/* 803600FC 0035D05C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80360100 0035D060 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80360104 0035D064 7C 08 03 A6 */ mtlr r0 -/* 80360108 0035D068 38 21 00 20 */ addi r1, r1, 0x20 -/* 8036010C 0035D06C 4E 80 00 20 */ blr - -.global sub_80360110 -sub_80360110: -/* 80360110 0035D070 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80360114 0035D074 7C 08 02 A6 */ mflr r0 -/* 80360118 0035D078 7C 85 23 78 */ mr r5, r4 -/* 8036011C 0035D07C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80360120 0035D080 80 83 00 08 */ lwz r4, 8(r3) -/* 80360124 0035D084 48 00 00 15 */ bl sub_80360138 -/* 80360128 0035D088 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8036012C 0035D08C 7C 08 03 A6 */ mtlr r0 -/* 80360130 0035D090 38 21 00 10 */ addi r1, r1, 0x10 -/* 80360134 0035D094 4E 80 00 20 */ blr - -.global sub_80360138 -sub_80360138: -/* 80360138 0035D098 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8036013C 0035D09C 7C 08 02 A6 */ mflr r0 -/* 80360140 0035D0A0 90 01 00 24 */ stw r0, 0x24(r1) -/* 80360144 0035D0A4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80360148 0035D0A8 7C 7F 1B 78 */ mr r31, r3 -/* 8036014C 0035D0AC 38 60 00 20 */ li r3, 0x20 -/* 80360150 0035D0B0 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80360154 0035D0B4 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80360158 0035D0B8 7C BD 2B 78 */ mr r29, r5 -/* 8036015C 0035D0BC 38 A0 00 00 */ li r5, 0 -/* 80360160 0035D0C0 93 81 00 10 */ stw r28, 0x10(r1) -/* 80360164 0035D0C4 7C 9C 23 78 */ mr r28, r4 -/* 80360168 0035D0C8 3C 80 80 3E */ lis r4, lbl_803D83F8@ha -/* 8036016C 0035D0CC 83 DC 00 00 */ lwz r30, 0(r28) -/* 80360170 0035D0D0 38 84 83 F8 */ addi r4, r4, lbl_803D83F8@l -/* 80360174 0035D0D4 4B FB 56 A5 */ bl __nwa__FUlPCcPCc -/* 80360178 0035D0D8 28 03 00 00 */ cmplwi r3, 0 -/* 8036017C 0035D0DC 41 82 00 0C */ beq lbl_80360188 -/* 80360180 0035D0E0 93 C3 00 00 */ stw r30, 0(r3) -/* 80360184 0035D0E4 93 83 00 04 */ stw r28, 4(r3) -lbl_80360188: -/* 80360188 0035D0E8 34 83 00 08 */ addic. r4, r3, 8 -/* 8036018C 0035D0EC 41 82 00 34 */ beq lbl_803601C0 -/* 80360190 0035D0F0 80 1D 00 00 */ lwz r0, 0(r29) -/* 80360194 0035D0F4 90 04 00 00 */ stw r0, 0(r4) -/* 80360198 0035D0F8 80 1D 00 04 */ lwz r0, 4(r29) -/* 8036019C 0035D0FC 90 04 00 04 */ stw r0, 4(r4) -/* 803601A0 0035D100 80 1D 00 08 */ lwz r0, 8(r29) -/* 803601A4 0035D104 90 04 00 08 */ stw r0, 8(r4) -/* 803601A8 0035D108 80 1D 00 0C */ lwz r0, 0xc(r29) -/* 803601AC 0035D10C 90 04 00 0C */ stw r0, 0xc(r4) -/* 803601B0 0035D110 80 1D 00 10 */ lwz r0, 0x10(r29) -/* 803601B4 0035D114 90 04 00 10 */ stw r0, 0x10(r4) -/* 803601B8 0035D118 80 1D 00 14 */ lwz r0, 0x14(r29) -/* 803601BC 0035D11C 90 04 00 14 */ stw r0, 0x14(r4) -lbl_803601C0: -/* 803601C0 0035D120 80 1F 00 04 */ lwz r0, 4(r31) -/* 803601C4 0035D124 7C 1C 00 40 */ cmplw r28, r0 -/* 803601C8 0035D128 40 82 00 08 */ bne lbl_803601D0 -/* 803601CC 0035D12C 90 7F 00 04 */ stw r3, 4(r31) -lbl_803601D0: -/* 803601D0 0035D130 80 83 00 00 */ lwz r4, 0(r3) -/* 803601D4 0035D134 90 64 00 04 */ stw r3, 4(r4) -/* 803601D8 0035D138 80 83 00 04 */ lwz r4, 4(r3) -/* 803601DC 0035D13C 90 64 00 00 */ stw r3, 0(r4) -/* 803601E0 0035D140 80 9F 00 14 */ lwz r4, 0x14(r31) -/* 803601E4 0035D144 38 04 00 01 */ addi r0, r4, 1 -/* 803601E8 0035D148 90 1F 00 14 */ stw r0, 0x14(r31) -/* 803601EC 0035D14C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 803601F0 0035D150 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 803601F4 0035D154 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 803601F8 0035D158 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 803601FC 0035D15C 83 81 00 10 */ lwz r28, 0x10(r1) -/* 80360200 0035D160 7C 08 03 A6 */ mtlr r0 -/* 80360204 0035D164 38 21 00 20 */ addi r1, r1, 0x20 -/* 80360208 0035D168 4E 80 00 20 */ blr - -.global AddElectricalEffects__17CParticleElectricFv -AddElectricalEffects__17CParticleElectricFv: -/* 8036020C 0035D16C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80360210 0035D170 7C 08 02 A6 */ mflr r0 -/* 80360214 0035D174 C0 02 CD 54 */ lfs f0, lbl_805AEA74@sda21(r2) -/* 80360218 0035D178 90 01 00 34 */ stw r0, 0x34(r1) -/* 8036021C 0035D17C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80360220 0035D180 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80360224 0035D184 7C 7E 1B 78 */ mr r30, r3 -/* 80360228 0035D188 D0 01 00 08 */ stfs f0, 8(r1) -/* 8036022C 0035D18C 80 63 00 24 */ lwz r3, 0x24(r3) -/* 80360230 0035D190 80 63 00 08 */ lwz r3, 8(r3) -/* 80360234 0035D194 28 03 00 00 */ cmplwi r3, 0 -/* 80360238 0035D198 41 82 00 94 */ beq lbl_803602CC -/* 8036023C 0035D19C 81 83 00 00 */ lwz r12, 0(r3) -/* 80360240 0035D1A0 38 A1 00 08 */ addi r5, r1, 8 -/* 80360244 0035D1A4 80 9E 00 28 */ lwz r4, 0x28(r30) -/* 80360248 0035D1A8 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8036024C 0035D1AC 7D 89 03 A6 */ mtctr r12 -/* 80360250 0035D1B0 4E 80 04 21 */ bctrl -/* 80360254 0035D1B4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80360258 0035D1B8 41 82 00 50 */ beq lbl_803602A8 -/* 8036025C 0035D1BC 83 FE 03 F0 */ lwz r31, 0x3f0(r30) -/* 80360260 0035D1C0 80 9E 03 EC */ lwz r4, 0x3ec(r30) -/* 80360264 0035D1C4 48 00 00 10 */ b lbl_80360274 -lbl_80360268: -/* 80360268 0035D1C8 38 7E 03 E8 */ addi r3, r30, 0x3e8 -/* 8036026C 0035D1CC 48 00 2A D1 */ bl sub_80362d3c -/* 80360270 0035D1D0 7C 64 1B 78 */ mr r4, r3 -lbl_80360274: -/* 80360274 0035D1D4 7C 04 F8 40 */ cmplw r4, r31 -/* 80360278 0035D1D8 40 82 FF F0 */ bne lbl_80360268 -/* 8036027C 0035D1DC 38 9E 01 C0 */ addi r4, r30, 0x1c0 -/* 80360280 0035D1E0 38 A0 00 00 */ li r5, 0 -/* 80360284 0035D1E4 38 60 00 00 */ li r3, 0 -/* 80360288 0035D1E8 48 00 00 10 */ b lbl_80360298 -lbl_8036028C: -/* 8036028C 0035D1EC 98 64 00 00 */ stb r3, 0(r4) -/* 80360290 0035D1F0 38 84 00 01 */ addi r4, r4, 1 -/* 80360294 0035D1F4 38 A5 00 01 */ addi r5, r5, 1 -lbl_80360298: -/* 80360298 0035D1F8 80 1E 01 BC */ lwz r0, 0x1bc(r30) -/* 8036029C 0035D1FC 7C 05 00 00 */ cmpw r5, r0 -/* 803602A0 0035D200 41 80 FF EC */ blt lbl_8036028C -/* 803602A4 0035D204 48 00 00 7C */ b lbl_80360320 -lbl_803602A8: -/* 803602A8 0035D208 C0 2D 9E 58 */ lfs f1, lbl_805A8A18@sda21(r13) -/* 803602AC 0035D20C C0 01 00 08 */ lfs f0, 8(r1) -/* 803602B0 0035D210 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 803602B4 0035D214 40 80 00 0C */ bge lbl_803602C0 -/* 803602B8 0035D218 38 61 00 08 */ addi r3, r1, 8 -/* 803602BC 0035D21C 48 00 00 08 */ b lbl_803602C4 -lbl_803602C0: -/* 803602C0 0035D220 38 6D 9E 58 */ addi r3, r13, lbl_805A8A18@sda21 -lbl_803602C4: -/* 803602C4 0035D224 C0 03 00 00 */ lfs f0, 0(r3) -/* 803602C8 0035D228 D0 01 00 08 */ stfs f0, 8(r1) -lbl_803602CC: -/* 803602CC 0035D22C C0 3E 01 5C */ lfs f1, 0x15c(r30) -/* 803602D0 0035D230 C0 01 00 08 */ lfs f0, 8(r1) -/* 803602D4 0035D234 EC 01 00 2A */ fadds f0, f1, f0 -/* 803602D8 0035D238 D0 1E 01 5C */ stfs f0, 0x15c(r30) -/* 803602DC 0035D23C C0 3E 01 5C */ lfs f1, 0x15c(r30) -/* 803602E0 0035D240 48 03 41 E5 */ bl floor -/* 803602E4 0035D244 FC 00 08 1E */ fctiwz f0, f1 -/* 803602E8 0035D248 3C 00 43 30 */ lis r0, 0x4330 -/* 803602EC 0035D24C 90 01 00 18 */ stw r0, 0x18(r1) -/* 803602F0 0035D250 7F C3 F3 78 */ mr r3, r30 -/* 803602F4 0035D254 C8 22 CD 58 */ lfd f1, lbl_805AEA78@sda21(r2) -/* 803602F8 0035D258 D8 01 00 10 */ stfd f0, 0x10(r1) -/* 803602FC 0035D25C C0 5E 01 5C */ lfs f2, 0x15c(r30) -/* 80360300 0035D260 80 81 00 14 */ lwz r4, 0x14(r1) -/* 80360304 0035D264 6C 80 80 00 */ xoris r0, r4, 0x8000 -/* 80360308 0035D268 90 01 00 1C */ stw r0, 0x1c(r1) -/* 8036030C 0035D26C C8 01 00 18 */ lfd f0, 0x18(r1) -/* 80360310 0035D270 EC 00 08 28 */ fsubs f0, f0, f1 -/* 80360314 0035D274 EC 02 00 28 */ fsubs f0, f2, f0 -/* 80360318 0035D278 D0 1E 01 5C */ stfs f0, 0x15c(r30) -/* 8036031C 0035D27C 4B FF F6 AD */ bl CreateNewParticles__17CParticleElectricFi -lbl_80360320: -/* 80360320 0035D280 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80360324 0035D284 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80360328 0035D288 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8036032C 0035D28C 7C 08 03 A6 */ mtlr r0 -/* 80360330 0035D290 38 21 00 30 */ addi r1, r1, 0x30 -/* 80360334 0035D294 4E 80 00 20 */ blr - -.global "DrawLineStrip__17CParticleElectricFRCQ24rstl45vector<9CVector3f,Q24rstl17aligned_allocator>fRC6CColor" -"DrawLineStrip__17CParticleElectricFRCQ24rstl45vector<9CVector3f,Q24rstl17aligned_allocator>fRC6CColor": -/* 80360338 0035D298 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8036033C 0035D29C 7C 08 02 A6 */ mflr r0 -/* 80360340 0035D2A0 90 01 00 24 */ stw r0, 0x24(r1) -/* 80360344 0035D2A4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80360348 0035D2A8 7C 9F 23 78 */ mr r31, r4 -/* 8036034C 0035D2AC 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80360350 0035D2B0 7C BE 2B 78 */ mr r30, r5 -/* 80360354 0035D2B4 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80360358 0035D2B8 7C 7D 1B 78 */ mr r29, r3 -/* 8036035C 0035D2BC 38 60 00 00 */ li r3, 0 -/* 80360360 0035D2C0 4B FA B0 79 */ bl SetLineWidth__9CGraphicsFf13ERglTexOffset -/* 80360364 0035D2C4 7F A3 EB 78 */ mr r3, r29 -/* 80360368 0035D2C8 81 9D 00 00 */ lwz r12, 0(r29) -/* 8036036C 0035D2CC 81 8C 00 50 */ lwz r12, 0x50(r12) -/* 80360370 0035D2D0 7D 89 03 A6 */ mtctr r12 -/* 80360374 0035D2D4 4E 80 04 21 */ bctrl -/* 80360378 0035D2D8 7C 64 1B 78 */ mr r4, r3 -/* 8036037C 0035D2DC 7F C5 F3 78 */ mr r5, r30 -/* 80360380 0035D2E0 38 61 00 08 */ addi r3, r1, 8 -/* 80360384 0035D2E4 48 00 2D F5 */ bl Modulate__6CColorFRC6CColorRC6CColor -/* 80360388 0035D2E8 38 81 00 08 */ addi r4, r1, 8 -/* 8036038C 0035D2EC 38 60 00 00 */ li r3, 0 -/* 80360390 0035D2F0 4B FA 88 B5 */ bl SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor -/* 80360394 0035D2F4 83 DF 00 04 */ lwz r30, 4(r31) -/* 80360398 0035D2F8 38 60 00 B0 */ li r3, 0xb0 -/* 8036039C 0035D2FC 38 80 00 00 */ li r4, 0 -/* 803603A0 0035D300 57 C5 04 3E */ clrlwi r5, r30, 0x10 -/* 803603A4 0035D304 4B FA 81 E1 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs -/* 803603A8 0035D308 2C 1E 00 00 */ cmpwi r30, 0 -/* 803603AC 0035D30C 39 80 00 00 */ li r12, 0 -/* 803603B0 0035D310 40 81 01 94 */ ble lbl_80360544 -/* 803603B4 0035D314 2C 1E 00 08 */ cmpwi r30, 8 -/* 803603B8 0035D318 38 9E FF F8 */ addi r4, r30, -8 -/* 803603BC 0035D31C 40 81 01 48 */ ble lbl_80360504 -/* 803603C0 0035D320 38 04 00 07 */ addi r0, r4, 7 -/* 803603C4 0035D324 38 A0 00 00 */ li r5, 0 -/* 803603C8 0035D328 54 00 E8 FE */ srwi r0, r0, 3 -/* 803603CC 0035D32C 3C 60 CC 01 */ lis r3, 0xcc01 -/* 803603D0 0035D330 7C 09 03 A6 */ mtctr r0 -/* 803603D4 0035D334 2C 04 00 00 */ cmpwi r4, 0 -/* 803603D8 0035D338 40 81 01 2C */ ble lbl_80360504 -lbl_803603DC: -/* 803603DC 0035D33C 80 1F 00 0C */ lwz r0, 0xc(r31) -/* 803603E0 0035D340 39 65 00 0C */ addi r11, r5, 0xc -/* 803603E4 0035D344 39 45 00 18 */ addi r10, r5, 0x18 -/* 803603E8 0035D348 39 25 00 24 */ addi r9, r5, 0x24 -/* 803603EC 0035D34C 7C 80 2A 14 */ add r4, r0, r5 -/* 803603F0 0035D350 39 05 00 30 */ addi r8, r5, 0x30 -/* 803603F4 0035D354 C0 44 00 08 */ lfs f2, 8(r4) -/* 803603F8 0035D358 38 E5 00 3C */ addi r7, r5, 0x3c -/* 803603FC 0035D35C C0 24 00 04 */ lfs f1, 4(r4) -/* 80360400 0035D360 38 C5 00 48 */ addi r6, r5, 0x48 -/* 80360404 0035D364 C0 04 00 00 */ lfs f0, 0(r4) -/* 80360408 0035D368 38 85 00 54 */ addi r4, r5, 0x54 -/* 8036040C 0035D36C 38 A5 00 60 */ addi r5, r5, 0x60 -/* 80360410 0035D370 39 8C 00 08 */ addi r12, r12, 8 -/* 80360414 0035D374 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 80360418 0035D378 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 8036041C 0035D37C D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 80360420 0035D380 80 1F 00 0C */ lwz r0, 0xc(r31) -/* 80360424 0035D384 7D 60 5A 14 */ add r11, r0, r11 -/* 80360428 0035D388 C0 2B 00 08 */ lfs f1, 8(r11) -/* 8036042C 0035D38C C0 4B 00 04 */ lfs f2, 4(r11) -/* 80360430 0035D390 C0 0B 00 00 */ lfs f0, 0(r11) -/* 80360434 0035D394 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 80360438 0035D398 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 8036043C 0035D39C D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 80360440 0035D3A0 80 1F 00 0C */ lwz r0, 0xc(r31) -/* 80360444 0035D3A4 7D 40 52 14 */ add r10, r0, r10 -/* 80360448 0035D3A8 C0 2A 00 08 */ lfs f1, 8(r10) -/* 8036044C 0035D3AC C0 4A 00 04 */ lfs f2, 4(r10) -/* 80360450 0035D3B0 C0 0A 00 00 */ lfs f0, 0(r10) -/* 80360454 0035D3B4 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 80360458 0035D3B8 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 8036045C 0035D3BC D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 80360460 0035D3C0 80 1F 00 0C */ lwz r0, 0xc(r31) -/* 80360464 0035D3C4 7D 20 4A 14 */ add r9, r0, r9 -/* 80360468 0035D3C8 C0 29 00 08 */ lfs f1, 8(r9) -/* 8036046C 0035D3CC C0 49 00 04 */ lfs f2, 4(r9) -/* 80360470 0035D3D0 C0 09 00 00 */ lfs f0, 0(r9) -/* 80360474 0035D3D4 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 80360478 0035D3D8 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 8036047C 0035D3DC D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 80360480 0035D3E0 80 1F 00 0C */ lwz r0, 0xc(r31) -/* 80360484 0035D3E4 7D 00 42 14 */ add r8, r0, r8 -/* 80360488 0035D3E8 C0 28 00 08 */ lfs f1, 8(r8) -/* 8036048C 0035D3EC C0 48 00 04 */ lfs f2, 4(r8) -/* 80360490 0035D3F0 C0 08 00 00 */ lfs f0, 0(r8) -/* 80360494 0035D3F4 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 80360498 0035D3F8 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 8036049C 0035D3FC D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 803604A0 0035D400 80 1F 00 0C */ lwz r0, 0xc(r31) -/* 803604A4 0035D404 7C E0 3A 14 */ add r7, r0, r7 -/* 803604A8 0035D408 C0 27 00 08 */ lfs f1, 8(r7) -/* 803604AC 0035D40C C0 47 00 04 */ lfs f2, 4(r7) -/* 803604B0 0035D410 C0 07 00 00 */ lfs f0, 0(r7) -/* 803604B4 0035D414 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 803604B8 0035D418 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 803604BC 0035D41C D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 803604C0 0035D420 80 1F 00 0C */ lwz r0, 0xc(r31) -/* 803604C4 0035D424 7C C0 32 14 */ add r6, r0, r6 -/* 803604C8 0035D428 C0 26 00 08 */ lfs f1, 8(r6) -/* 803604CC 0035D42C C0 46 00 04 */ lfs f2, 4(r6) -/* 803604D0 0035D430 C0 06 00 00 */ lfs f0, 0(r6) -/* 803604D4 0035D434 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 803604D8 0035D438 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 803604DC 0035D43C D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 803604E0 0035D440 80 1F 00 0C */ lwz r0, 0xc(r31) -/* 803604E4 0035D444 7C 80 22 14 */ add r4, r0, r4 -/* 803604E8 0035D448 C0 24 00 08 */ lfs f1, 8(r4) -/* 803604EC 0035D44C C0 44 00 04 */ lfs f2, 4(r4) -/* 803604F0 0035D450 C0 04 00 00 */ lfs f0, 0(r4) -/* 803604F4 0035D454 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 803604F8 0035D458 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 803604FC 0035D45C D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 80360500 0035D460 42 00 FE DC */ bdnz lbl_803603DC -lbl_80360504: -/* 80360504 0035D464 7C 0C F0 50 */ subf r0, r12, r30 -/* 80360508 0035D468 3C 60 CC 01 */ lis r3, 0xcc01 -/* 8036050C 0035D46C 1C 8C 00 0C */ mulli r4, r12, 0xc -/* 80360510 0035D470 7C 09 03 A6 */ mtctr r0 -/* 80360514 0035D474 7C 0C F0 00 */ cmpw r12, r30 -/* 80360518 0035D478 40 80 00 2C */ bge lbl_80360544 -lbl_8036051C: -/* 8036051C 0035D47C 80 1F 00 0C */ lwz r0, 0xc(r31) -/* 80360520 0035D480 7C A0 22 14 */ add r5, r0, r4 -/* 80360524 0035D484 38 84 00 0C */ addi r4, r4, 0xc -/* 80360528 0035D488 C0 25 00 08 */ lfs f1, 8(r5) -/* 8036052C 0035D48C C0 45 00 04 */ lfs f2, 4(r5) -/* 80360530 0035D490 C0 05 00 00 */ lfs f0, 0(r5) -/* 80360534 0035D494 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 80360538 0035D498 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 8036053C 0035D49C D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 80360540 0035D4A0 42 00 FF DC */ bdnz lbl_8036051C -lbl_80360544: -/* 80360544 0035D4A4 4B FA 80 3D */ bl End__3CGXFv -/* 80360548 0035D4A8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8036054C 0035D4AC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80360550 0035D4B0 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80360554 0035D4B4 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80360558 0035D4B8 7C 08 03 A6 */ mtlr r0 -/* 8036055C 0035D4BC 38 21 00 20 */ addi r1, r1, 0x20 -/* 80360560 0035D4C0 4E 80 00 20 */ blr - -.global SetupLineGXMaterial__17CParticleElectricFv -SetupLineGXMaterial__17CParticleElectricFv: -/* 80360564 0035D4C4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80360568 0035D4C8 7C 08 02 A6 */ mflr r0 -/* 8036056C 0035D4CC 3C 60 80 3E */ lis r3, lbl_803D83E8@ha -/* 80360570 0035D4D0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80360574 0035D4D4 38 63 83 E8 */ addi r3, r3, lbl_803D83E8@l -/* 80360578 0035D4D8 4B FA 78 B1 */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList -/* 8036057C 0035D4DC 38 60 00 01 */ li r3, 1 -/* 80360580 0035D4E0 4B FA 88 D1 */ bl SetNumChans__3CGXFUc -/* 80360584 0035D4E4 38 60 00 00 */ li r3, 0 -/* 80360588 0035D4E8 4B FA 88 8D */ bl SetNumTexGens__3CGXFUc -/* 8036058C 0035D4EC 38 60 00 01 */ li r3, 1 -/* 80360590 0035D4F0 4B FA 87 01 */ bl SetNumTevStages__3CGXFUc -/* 80360594 0035D4F4 38 60 00 00 */ li r3, 0 -/* 80360598 0035D4F8 38 80 00 00 */ li r4, 0 -/* 8036059C 0035D4FC 38 A0 00 00 */ li r5, 0 -/* 803605A0 0035D500 38 C0 00 00 */ li r6, 0 -/* 803605A4 0035D504 38 E0 00 00 */ li r7, 0 -/* 803605A8 0035D508 39 00 00 00 */ li r8, 0 -/* 803605AC 0035D50C 39 20 00 02 */ li r9, 2 -/* 803605B0 0035D510 4B FA 87 1D */ bl SetChanCtrl__3CGXFQ23CGX10EChannelIdUc11_GXColorSrc11_GXColorSrc10_GXLightID12_GXDiffuseFn9_GXAttnFn -/* 803605B4 0035D514 38 60 00 00 */ li r3, 0 -/* 803605B8 0035D518 38 80 00 0F */ li r4, 0xf -/* 803605BC 0035D51C 38 A0 00 0F */ li r5, 0xf -/* 803605C0 0035D520 38 C0 00 0F */ li r6, 0xf -/* 803605C4 0035D524 38 E0 00 0E */ li r7, 0xe -/* 803605C8 0035D528 4B FA 86 25 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg -/* 803605CC 0035D52C 38 60 00 00 */ li r3, 0 -/* 803605D0 0035D530 38 80 00 07 */ li r4, 7 -/* 803605D4 0035D534 38 A0 00 07 */ li r5, 7 -/* 803605D8 0035D538 38 C0 00 07 */ li r6, 7 -/* 803605DC 0035D53C 38 E0 00 06 */ li r7, 6 -/* 803605E0 0035D540 4B FA 85 B5 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg -/* 803605E4 0035D544 38 60 00 00 */ li r3, 0 -/* 803605E8 0035D548 4B FA 76 69 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID -/* 803605EC 0035D54C 38 60 00 00 */ li r3, 0 -/* 803605F0 0035D550 38 80 00 0C */ li r4, 0xc -/* 803605F4 0035D554 4B FA 83 ED */ bl SetTevKColorSel__3CGXF13_GXTevStageID15_GXTevKColorSel -/* 803605F8 0035D558 38 60 00 00 */ li r3, 0 -/* 803605FC 0035D55C 38 80 00 1C */ li r4, 0x1c -/* 80360600 0035D560 4B FA 83 9D */ bl SetTevKAlphaSel__3CGXF13_GXTevStageID15_GXTevKAlphaSel -/* 80360604 0035D564 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80360608 0035D568 7C 08 03 A6 */ mtlr r0 -/* 8036060C 0035D56C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80360610 0035D570 4E 80 00 20 */ blr - -.global RenderLines__17CParticleElectricFv -RenderLines__17CParticleElectricFv: -/* 80360614 0035D574 94 21 FE 30 */ stwu r1, -0x1d0(r1) -/* 80360618 0035D578 7C 08 02 A6 */ mflr r0 -/* 8036061C 0035D57C 90 01 01 D4 */ stw r0, 0x1d4(r1) -/* 80360620 0035D580 93 E1 01 CC */ stw r31, 0x1cc(r1) -/* 80360624 0035D584 93 C1 01 C8 */ stw r30, 0x1c8(r1) -/* 80360628 0035D588 93 A1 01 C4 */ stw r29, 0x1c4(r1) -/* 8036062C 0035D58C 93 81 01 C0 */ stw r28, 0x1c0(r1) -/* 80360630 0035D590 7C 7C 1B 78 */ mr r28, r3 -/* 80360634 0035D594 4B FA C3 49 */ bl DisableAllLights__9CGraphicsFv -/* 80360638 0035D598 38 60 00 01 */ li r3, 1 -/* 8036063C 0035D59C 38 80 00 03 */ li r4, 3 -/* 80360640 0035D5A0 38 A0 00 00 */ li r5, 0 -/* 80360644 0035D5A4 4B FA B4 51 */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb -/* 80360648 0035D5A8 38 60 00 01 */ li r3, 1 -/* 8036064C 0035D5AC 38 80 00 04 */ li r4, 4 -/* 80360650 0035D5B0 38 A0 00 01 */ li r5, 1 -/* 80360654 0035D5B4 38 C0 00 00 */ li r6, 0 -/* 80360658 0035D5B8 4B FA B3 F9 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp -/* 8036065C 0035D5BC 38 61 00 08 */ addi r3, r1, 8 -/* 80360660 0035D5C0 38 9C 00 EC */ addi r4, r28, 0xec -/* 80360664 0035D5C4 4B FB 2B 61 */ bl Scale__12CTransform4fFRC9CVector3f -/* 80360668 0035D5C8 38 61 00 38 */ addi r3, r1, 0x38 -/* 8036066C 0035D5CC 38 9C 00 E0 */ addi r4, r28, 0xe0 -/* 80360670 0035D5D0 4B FB 2B 55 */ bl Scale__12CTransform4fFRC9CVector3f -/* 80360674 0035D5D4 38 61 00 68 */ addi r3, r1, 0x68 -/* 80360678 0035D5D8 38 9C 00 38 */ addi r4, r28, 0x38 -/* 8036067C 0035D5DC 4B FB 2A C5 */ bl Translate__12CTransform4fFRC9CVector3f -/* 80360680 0035D5E0 38 61 00 98 */ addi r3, r1, 0x98 -/* 80360684 0035D5E4 38 9C 00 A4 */ addi r4, r28, 0xa4 -/* 80360688 0035D5E8 4B FB 2A B9 */ bl Translate__12CTransform4fFRC9CVector3f -/* 8036068C 0035D5EC 38 61 00 C8 */ addi r3, r1, 0xc8 -/* 80360690 0035D5F0 38 81 00 98 */ addi r4, r1, 0x98 -/* 80360694 0035D5F4 38 BC 00 B0 */ addi r5, r28, 0xb0 -/* 80360698 0035D5F8 4B FB 22 B9 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 8036069C 0035D5FC 38 61 00 F8 */ addi r3, r1, 0xf8 -/* 803606A0 0035D600 38 81 00 C8 */ addi r4, r1, 0xc8 -/* 803606A4 0035D604 38 A1 00 68 */ addi r5, r1, 0x68 -/* 803606A8 0035D608 4B FB 22 A9 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 803606AC 0035D60C 38 61 01 28 */ addi r3, r1, 0x128 -/* 803606B0 0035D610 38 81 00 F8 */ addi r4, r1, 0xf8 -/* 803606B4 0035D614 38 BC 00 44 */ addi r5, r28, 0x44 -/* 803606B8 0035D618 4B FB 22 99 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 803606BC 0035D61C 38 61 01 58 */ addi r3, r1, 0x158 -/* 803606C0 0035D620 38 81 01 28 */ addi r4, r1, 0x128 -/* 803606C4 0035D624 38 A1 00 38 */ addi r5, r1, 0x38 -/* 803606C8 0035D628 4B FB 22 89 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 803606CC 0035D62C 38 61 01 88 */ addi r3, r1, 0x188 -/* 803606D0 0035D630 38 81 01 58 */ addi r4, r1, 0x158 -/* 803606D4 0035D634 38 A1 00 08 */ addi r5, r1, 8 -/* 803606D8 0035D638 4B FB 22 79 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 803606DC 0035D63C 38 61 01 88 */ addi r3, r1, 0x188 -/* 803606E0 0035D640 4B FA BF 01 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f -/* 803606E4 0035D644 38 60 00 00 */ li r3, 0 -/* 803606E8 0035D648 4B FA B3 89 */ bl SetCullMode__9CGraphicsF12ERglCullMode -/* 803606EC 0035D64C 7F 83 E3 78 */ mr r3, r28 -/* 803606F0 0035D650 4B FF FE 75 */ bl SetupLineGXMaterial__17CParticleElectricFv -/* 803606F4 0035D654 83 DC 03 EC */ lwz r30, 0x3ec(r28) -/* 803606F8 0035D658 3B BC 02 E8 */ addi r29, r28, 0x2e8 -/* 803606FC 0035D65C 48 00 00 84 */ b lbl_80360780 -lbl_80360700: -/* 80360700 0035D660 80 7C 00 24 */ lwz r3, 0x24(r28) -/* 80360704 0035D664 80 9E 00 08 */ lwz r4, 8(r30) -/* 80360708 0035D668 80 03 00 28 */ lwz r0, 0x28(r3) -/* 8036070C 0035D66C 54 83 18 38 */ slwi r3, r4, 3 -/* 80360710 0035D670 38 63 00 04 */ addi r3, r3, 4 -/* 80360714 0035D674 28 00 00 00 */ cmplwi r0, 0 -/* 80360718 0035D678 7F FD 18 2E */ lwzx r31, r29, r3 -/* 8036071C 0035D67C 41 82 00 18 */ beq lbl_80360734 -/* 80360720 0035D680 C0 3F 00 10 */ lfs f1, 0x10(r31) -/* 80360724 0035D684 7F 83 E3 78 */ mr r3, r28 -/* 80360728 0035D688 7F E4 FB 78 */ mr r4, r31 -/* 8036072C 0035D68C 38 BF 00 1C */ addi r5, r31, 0x1c -/* 80360730 0035D690 4B FF FC 09 */ bl "DrawLineStrip__17CParticleElectricFRCQ24rstl45vector<9CVector3f,Q24rstl17aligned_allocator>fRC6CColor" -lbl_80360734: -/* 80360734 0035D694 80 7C 00 24 */ lwz r3, 0x24(r28) -/* 80360738 0035D698 80 03 00 2C */ lwz r0, 0x2c(r3) -/* 8036073C 0035D69C 28 00 00 00 */ cmplwi r0, 0 -/* 80360740 0035D6A0 41 82 00 18 */ beq lbl_80360758 -/* 80360744 0035D6A4 C0 3F 00 14 */ lfs f1, 0x14(r31) -/* 80360748 0035D6A8 7F 83 E3 78 */ mr r3, r28 -/* 8036074C 0035D6AC 7F E4 FB 78 */ mr r4, r31 -/* 80360750 0035D6B0 38 BF 00 20 */ addi r5, r31, 0x20 -/* 80360754 0035D6B4 4B FF FB E5 */ bl "DrawLineStrip__17CParticleElectricFRCQ24rstl45vector<9CVector3f,Q24rstl17aligned_allocator>fRC6CColor" -lbl_80360758: -/* 80360758 0035D6B8 80 7C 00 24 */ lwz r3, 0x24(r28) -/* 8036075C 0035D6BC 80 03 00 30 */ lwz r0, 0x30(r3) -/* 80360760 0035D6C0 28 00 00 00 */ cmplwi r0, 0 -/* 80360764 0035D6C4 41 82 00 18 */ beq lbl_8036077C -/* 80360768 0035D6C8 C0 3F 00 18 */ lfs f1, 0x18(r31) -/* 8036076C 0035D6CC 7F 83 E3 78 */ mr r3, r28 -/* 80360770 0035D6D0 7F E4 FB 78 */ mr r4, r31 -/* 80360774 0035D6D4 38 BF 00 24 */ addi r5, r31, 0x24 -/* 80360778 0035D6D8 4B FF FB C1 */ bl "DrawLineStrip__17CParticleElectricFRCQ24rstl45vector<9CVector3f,Q24rstl17aligned_allocator>fRC6CColor" -lbl_8036077C: -/* 8036077C 0035D6DC 83 DE 00 04 */ lwz r30, 4(r30) -lbl_80360780: -/* 80360780 0035D6E0 80 1C 03 F0 */ lwz r0, 0x3f0(r28) -/* 80360784 0035D6E4 7C 1E 00 40 */ cmplw r30, r0 -/* 80360788 0035D6E8 40 82 FF 78 */ bne lbl_80360700 -/* 8036078C 0035D6EC 38 60 00 01 */ li r3, 1 -/* 80360790 0035D6F0 4B FA B2 E1 */ bl SetCullMode__9CGraphicsF12ERglCullMode -/* 80360794 0035D6F4 C0 22 CD 48 */ lfs f1, lbl_805AEA68@sda21(r2) -/* 80360798 0035D6F8 38 60 00 00 */ li r3, 0 -/* 8036079C 0035D6FC 4B FA AC 3D */ bl SetLineWidth__9CGraphicsFf13ERglTexOffset -/* 803607A0 0035D700 80 01 01 D4 */ lwz r0, 0x1d4(r1) -/* 803607A4 0035D704 83 E1 01 CC */ lwz r31, 0x1cc(r1) -/* 803607A8 0035D708 83 C1 01 C8 */ lwz r30, 0x1c8(r1) -/* 803607AC 0035D70C 83 A1 01 C4 */ lwz r29, 0x1c4(r1) -/* 803607B0 0035D710 83 81 01 C0 */ lwz r28, 0x1c0(r1) -/* 803607B4 0035D714 7C 08 03 A6 */ mtlr r0 -/* 803607B8 0035D718 38 21 01 D0 */ addi r1, r1, 0x1d0 -/* 803607BC 0035D71C 4E 80 00 20 */ blr - -.global RenderSwooshes__17CParticleElectricFv -RenderSwooshes__17CParticleElectricFv: -/* 803607C0 0035D720 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 803607C4 0035D724 7C 08 02 A6 */ mflr r0 -/* 803607C8 0035D728 90 01 00 24 */ stw r0, 0x24(r1) -/* 803607CC 0035D72C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 803607D0 0035D730 93 C1 00 18 */ stw r30, 0x18(r1) -/* 803607D4 0035D734 93 A1 00 14 */ stw r29, 0x14(r1) -/* 803607D8 0035D738 7C 7D 1B 78 */ mr r29, r3 -/* 803607DC 0035D73C 3B DD 01 E4 */ addi r30, r29, 0x1e4 -/* 803607E0 0035D740 83 E3 03 EC */ lwz r31, 0x3ec(r3) -/* 803607E4 0035D744 48 00 00 28 */ b lbl_8036080C -lbl_803607E8: -/* 803607E8 0035D748 80 1F 00 08 */ lwz r0, 8(r31) -/* 803607EC 0035D74C 54 03 18 38 */ slwi r3, r0, 3 -/* 803607F0 0035D750 38 03 00 04 */ addi r0, r3, 4 -/* 803607F4 0035D754 7C 7E 00 2E */ lwzx r3, r30, r0 -/* 803607F8 0035D758 81 83 00 00 */ lwz r12, 0(r3) -/* 803607FC 0035D75C 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80360800 0035D760 7D 89 03 A6 */ mtctr r12 -/* 80360804 0035D764 4E 80 04 21 */ bctrl -/* 80360808 0035D768 83 FF 00 04 */ lwz r31, 4(r31) -lbl_8036080C: -/* 8036080C 0035D76C 80 1D 03 F0 */ lwz r0, 0x3f0(r29) -/* 80360810 0035D770 7C 1F 00 40 */ cmplw r31, r0 -/* 80360814 0035D774 40 82 FF D4 */ bne lbl_803607E8 -/* 80360818 0035D778 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8036081C 0035D77C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80360820 0035D780 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80360824 0035D784 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80360828 0035D788 7C 08 03 A6 */ mtlr r0 -/* 8036082C 0035D78C 38 21 00 20 */ addi r1, r1, 0x20 -/* 80360830 0035D790 4E 80 00 20 */ blr - -.global Render__17CParticleElectricFv -Render__17CParticleElectricFv: -/* 80360834 0035D794 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80360838 0035D798 7C 08 02 A6 */ mflr r0 -/* 8036083C 0035D79C 90 01 00 34 */ stw r0, 0x34(r1) -/* 80360840 0035D7A0 DB E1 00 20 */ stfd f31, 0x20(r1) -/* 80360844 0035D7A4 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 -/* 80360848 0035D7A8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8036084C 0035D7AC 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80360850 0035D7B0 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80360854 0035D7B4 93 81 00 10 */ stw r28, 0x10(r1) -/* 80360858 0035D7B8 7C 7E 1B 78 */ mr r30, r3 -/* 8036085C 0035D7BC 48 02 4B 4D */ bl OSGetTime -/* 80360860 0035D7C0 80 AD A6 7C */ lwz r5, lbl_805A923C@sda21(r13) -/* 80360864 0035D7C4 80 0D A6 78 */ lwz r0, lbl_805A9238@sda21(r13) -/* 80360868 0035D7C8 7C 85 20 10 */ subfc r4, r5, r4 -/* 8036086C 0035D7CC 7C 60 19 10 */ subfe r3, r0, r3 -/* 80360870 0035D7D0 48 02 96 F5 */ bl __cvt_sll_flt -/* 80360874 0035D7D4 3C 60 80 5A */ lis r3, mData__10CStopwatch@ha -/* 80360878 0035D7D8 80 1E 03 FC */ lwz r0, 0x3fc(r30) -/* 8036087C 0035D7DC 3B E3 FD 30 */ addi r31, r3, mData__10CStopwatch@l -/* 80360880 0035D7E0 C0 1F 00 10 */ lfs f0, 0x10(r31) -/* 80360884 0035D7E4 2C 00 00 00 */ cmpwi r0, 0 -/* 80360888 0035D7E8 EF E1 00 32 */ fmuls f31, f1, f0 -/* 8036088C 0035D7EC 41 82 00 40 */ beq lbl_803608CC -/* 80360890 0035D7F0 88 1E 04 50 */ lbz r0, 0x450(r30) -/* 80360894 0035D7F4 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 80360898 0035D7F8 41 82 00 0C */ beq lbl_803608A4 -/* 8036089C 0035D7FC 7F C3 F3 78 */ mr r3, r30 -/* 803608A0 0035D800 4B FF E1 99 */ bl UpdateCachedTransform__17CParticleElectricFv -lbl_803608A4: -/* 803608A4 0035D804 88 1E 04 50 */ lbz r0, 0x450(r30) -/* 803608A8 0035D808 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 803608AC 0035D80C 41 82 00 0C */ beq lbl_803608B8 -/* 803608B0 0035D810 7F C3 F3 78 */ mr r3, r30 -/* 803608B4 0035D814 4B FF FF 0D */ bl RenderSwooshes__17CParticleElectricFv -lbl_803608B8: -/* 803608B8 0035D818 88 1E 04 50 */ lbz r0, 0x450(r30) -/* 803608BC 0035D81C 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 803608C0 0035D820 41 82 00 0C */ beq lbl_803608CC -/* 803608C4 0035D824 7F C3 F3 78 */ mr r3, r30 -/* 803608C8 0035D828 4B FF FD 4D */ bl RenderLines__17CParticleElectricFv -lbl_803608CC: -/* 803608CC 0035D82C 88 1E 04 50 */ lbz r0, 0x450(r30) -/* 803608D0 0035D830 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 803608D4 0035D834 41 82 00 40 */ beq lbl_80360914 -/* 803608D8 0035D838 3B 80 00 00 */ li r28, 0 -/* 803608DC 0035D83C 3B A0 00 00 */ li r29, 0 -/* 803608E0 0035D840 48 00 00 28 */ b lbl_80360908 -lbl_803608E4: -/* 803608E4 0035D844 80 7E 04 0C */ lwz r3, 0x40c(r30) -/* 803608E8 0035D848 38 1D 00 04 */ addi r0, r29, 4 -/* 803608EC 0035D84C 7C 63 00 2E */ lwzx r3, r3, r0 -/* 803608F0 0035D850 81 83 00 00 */ lwz r12, 0(r3) -/* 803608F4 0035D854 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 803608F8 0035D858 7D 89 03 A6 */ mtctr r12 -/* 803608FC 0035D85C 4E 80 04 21 */ bctrl -/* 80360900 0035D860 3B BD 00 08 */ addi r29, r29, 8 -/* 80360904 0035D864 3B 9C 00 01 */ addi r28, r28, 1 -lbl_80360908: -/* 80360908 0035D868 80 1E 01 54 */ lwz r0, 0x154(r30) -/* 8036090C 0035D86C 7C 1C 00 00 */ cmpw r28, r0 -/* 80360910 0035D870 41 80 FF D4 */ blt lbl_803608E4 -lbl_80360914: -/* 80360914 0035D874 88 1E 04 50 */ lbz r0, 0x450(r30) -/* 80360918 0035D878 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 8036091C 0035D87C 41 82 00 40 */ beq lbl_8036095C -/* 80360920 0035D880 3B 80 00 00 */ li r28, 0 -/* 80360924 0035D884 3B A0 00 00 */ li r29, 0 -/* 80360928 0035D888 48 00 00 28 */ b lbl_80360950 -lbl_8036092C: -/* 8036092C 0035D88C 80 7E 04 1C */ lwz r3, 0x41c(r30) -/* 80360930 0035D890 38 1D 00 04 */ addi r0, r29, 4 -/* 80360934 0035D894 7C 63 00 2E */ lwzx r3, r3, r0 -/* 80360938 0035D898 81 83 00 00 */ lwz r12, 0(r3) -/* 8036093C 0035D89C 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80360940 0035D8A0 7D 89 03 A6 */ mtctr r12 -/* 80360944 0035D8A4 4E 80 04 21 */ bctrl -/* 80360948 0035D8A8 3B BD 00 08 */ addi r29, r29, 8 -/* 8036094C 0035D8AC 3B 9C 00 01 */ addi r28, r28, 1 -lbl_80360950: -/* 80360950 0035D8B0 80 1E 01 54 */ lwz r0, 0x154(r30) -/* 80360954 0035D8B4 7C 1C 00 00 */ cmpw r28, r0 -/* 80360958 0035D8B8 41 80 FF D4 */ blt lbl_8036092C -lbl_8036095C: -/* 8036095C 0035D8BC 48 02 4A 4D */ bl OSGetTime -/* 80360960 0035D8C0 80 AD A6 7C */ lwz r5, lbl_805A923C@sda21(r13) -/* 80360964 0035D8C4 80 0D A6 78 */ lwz r0, lbl_805A9238@sda21(r13) -/* 80360968 0035D8C8 7C 85 20 10 */ subfc r4, r5, r4 -/* 8036096C 0035D8CC 7C 60 19 10 */ subfe r3, r0, r3 -/* 80360970 0035D8D0 48 02 95 F5 */ bl __cvt_sll_flt -/* 80360974 0035D8D4 C0 1F 00 10 */ lfs f0, 0x10(r31) -/* 80360978 0035D8D8 EC 01 00 32 */ fmuls f0, f1, f0 -/* 8036097C 0035D8DC EC 00 F8 28 */ fsubs f0, f0, f31 -/* 80360980 0035D8E0 D0 1E 01 2C */ stfs f0, 0x12c(r30) -/* 80360984 0035D8E4 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 -/* 80360988 0035D8E8 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8036098C 0035D8EC CB E1 00 20 */ lfd f31, 0x20(r1) -/* 80360990 0035D8F0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80360994 0035D8F4 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80360998 0035D8F8 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8036099C 0035D8FC 83 81 00 10 */ lwz r28, 0x10(r1) -/* 803609A0 0035D900 7C 08 03 A6 */ mtlr r0 -/* 803609A4 0035D904 38 21 00 30 */ addi r1, r1, 0x30 -/* 803609A8 0035D908 4E 80 00 20 */ blr - -.global Update__17CParticleElectricFd -Update__17CParticleElectricFd: -/* 803609AC 0035D90C 94 21 FF 40 */ stwu r1, -0xc0(r1) -/* 803609B0 0035D910 7C 08 02 A6 */ mflr r0 -/* 803609B4 0035D914 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 803609B8 0035D918 DB E1 00 B0 */ stfd f31, 0xb0(r1) -/* 803609BC 0035D91C F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0 -/* 803609C0 0035D920 DB C1 00 A0 */ stfd f30, 0xa0(r1) -/* 803609C4 0035D924 F3 C1 00 A8 */ psq_st f30, 168(r1), 0, qr0 -/* 803609C8 0035D928 93 E1 00 9C */ stw r31, 0x9c(r1) -/* 803609CC 0035D92C 93 C1 00 98 */ stw r30, 0x98(r1) -/* 803609D0 0035D930 93 A1 00 94 */ stw r29, 0x94(r1) -/* 803609D4 0035D934 93 81 00 90 */ stw r28, 0x90(r1) -/* 803609D8 0035D938 FF C0 08 90 */ fmr f30, f1 -/* 803609DC 0035D93C 7C 7D 1B 78 */ mr r29, r3 -/* 803609E0 0035D940 38 61 00 14 */ addi r3, r1, 0x14 -/* 803609E4 0035D944 38 9D 01 4C */ addi r4, r29, 0x14c -/* 803609E8 0035D948 4B FB 1C 99 */ bl __ct__13CGlobalRandomFR9CRandom16 -/* 803609EC 0035D94C 88 1D 04 50 */ lbz r0, 0x450(r29) -/* 803609F0 0035D950 3B C0 00 00 */ li r30, 0 -/* 803609F4 0035D954 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 803609F8 0035D958 41 82 00 48 */ beq lbl_80360A40 -/* 803609FC 0035D95C 3B 80 00 00 */ li r28, 0 -/* 80360A00 0035D960 3B E0 00 00 */ li r31, 0 -/* 80360A04 0035D964 48 00 00 30 */ b lbl_80360A34 -lbl_80360A08: -/* 80360A08 0035D968 80 7D 04 0C */ lwz r3, 0x40c(r29) -/* 80360A0C 0035D96C 38 1F 00 04 */ addi r0, r31, 4 -/* 80360A10 0035D970 7C 63 00 2E */ lwzx r3, r3, r0 -/* 80360A14 0035D974 81 83 00 00 */ lwz r12, 0(r3) -/* 80360A18 0035D978 81 8C 00 58 */ lwz r12, 0x58(r12) -/* 80360A1C 0035D97C 7D 89 03 A6 */ mtctr r12 -/* 80360A20 0035D980 4E 80 04 21 */ bctrl -/* 80360A24 0035D984 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80360A28 0035D988 41 82 00 18 */ beq lbl_80360A40 -/* 80360A2C 0035D98C 3B FF 00 08 */ addi r31, r31, 8 -/* 80360A30 0035D990 3B 9C 00 01 */ addi r28, r28, 1 -lbl_80360A34: -/* 80360A34 0035D994 80 1D 01 54 */ lwz r0, 0x154(r29) -/* 80360A38 0035D998 7C 1C 00 00 */ cmpw r28, r0 -/* 80360A3C 0035D99C 41 80 FF CC */ blt lbl_80360A08 -lbl_80360A40: -/* 80360A40 0035D9A0 88 1D 04 50 */ lbz r0, 0x450(r29) -/* 80360A44 0035D9A4 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 80360A48 0035D9A8 41 82 00 48 */ beq lbl_80360A90 -/* 80360A4C 0035D9AC 3B 80 00 00 */ li r28, 0 -/* 80360A50 0035D9B0 3B E0 00 00 */ li r31, 0 -/* 80360A54 0035D9B4 48 00 00 30 */ b lbl_80360A84 -lbl_80360A58: -/* 80360A58 0035D9B8 80 7D 04 1C */ lwz r3, 0x41c(r29) -/* 80360A5C 0035D9BC 38 1F 00 04 */ addi r0, r31, 4 -/* 80360A60 0035D9C0 7C 63 00 2E */ lwzx r3, r3, r0 -/* 80360A64 0035D9C4 81 83 00 00 */ lwz r12, 0(r3) -/* 80360A68 0035D9C8 81 8C 00 58 */ lwz r12, 0x58(r12) -/* 80360A6C 0035D9CC 7D 89 03 A6 */ mtctr r12 -/* 80360A70 0035D9D0 4E 80 04 21 */ bctrl -/* 80360A74 0035D9D4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80360A78 0035D9D8 41 82 00 18 */ beq lbl_80360A90 -/* 80360A7C 0035D9DC 3B FF 00 08 */ addi r31, r31, 8 -/* 80360A80 0035D9E0 3B 9C 00 01 */ addi r28, r28, 1 -lbl_80360A84: -/* 80360A84 0035D9E4 80 1D 01 54 */ lwz r0, 0x154(r29) -/* 80360A88 0035D9E8 7C 1C 00 00 */ cmpw r28, r0 -/* 80360A8C 0035D9EC 41 80 FF CC */ blt lbl_80360A58 -lbl_80360A90: -/* 80360A90 0035D9F0 88 1D 04 50 */ lbz r0, 0x450(r29) -/* 80360A94 0035D9F4 3B E0 00 00 */ li r31, 0 -/* 80360A98 0035D9F8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80360A9C 0035D9FC 41 82 00 18 */ beq lbl_80360AB4 -/* 80360AA0 0035DA00 80 7D 00 28 */ lwz r3, 0x28(r29) -/* 80360AA4 0035DA04 80 1D 00 2C */ lwz r0, 0x2c(r29) -/* 80360AA8 0035DA08 7C 03 00 00 */ cmpw r3, r0 -/* 80360AAC 0035DA0C 40 80 00 08 */ bge lbl_80360AB4 -/* 80360AB0 0035DA10 3B E0 00 01 */ li r31, 1 -lbl_80360AB4: -/* 80360AB4 0035DA14 80 7D 00 28 */ lwz r3, 0x28(r29) -/* 80360AB8 0035DA18 3C 00 43 30 */ lis r0, 0x4330 -/* 80360ABC 0035DA1C C8 1D 00 30 */ lfd f0, 0x30(r29) -/* 80360AC0 0035DA20 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 80360AC4 0035DA24 90 01 00 80 */ stw r0, 0x80(r1) -/* 80360AC8 0035DA28 FC 00 F0 2A */ fadd f0, f0, f30 -/* 80360ACC 0035DA2C C8 42 CD 58 */ lfd f2, lbl_805AEA78@sda21(r2) -/* 80360AD0 0035DA30 90 61 00 84 */ stw r3, 0x84(r1) -/* 80360AD4 0035DA34 C8 62 CD 60 */ lfd f3, lbl_805AEA80@sda21(r2) -/* 80360AD8 0035DA38 C8 21 00 80 */ lfd f1, 0x80(r1) -/* 80360ADC 0035DA3C D8 1D 00 30 */ stfd f0, 0x30(r29) -/* 80360AE0 0035DA40 FC 01 10 28 */ fsub f0, f1, f2 -/* 80360AE4 0035DA44 88 1D 04 50 */ lbz r0, 0x450(r29) -/* 80360AE8 0035DA48 FF C3 00 32 */ fmul f30, f3, f0 -/* 80360AEC 0035DA4C 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 80360AF0 0035DA50 41 82 02 50 */ beq lbl_80360D40 -/* 80360AF4 0035DA54 7F A3 EB 78 */ mr r3, r29 -/* 80360AF8 0035DA58 4B FF DF 41 */ bl UpdateCachedTransform__17CParticleElectricFv -/* 80360AFC 0035DA5C 38 61 00 20 */ addi r3, r1, 0x20 -/* 80360B00 0035DA60 38 9D 00 F8 */ addi r4, r29, 0xf8 -/* 80360B04 0035DA64 4B FB 21 3D */ bl GetRotation__12CTransform4fCFv -/* 80360B08 0035DA68 38 61 00 50 */ addi r3, r1, 0x50 -/* 80360B0C 0035DA6C 38 81 00 20 */ addi r4, r1, 0x20 -/* 80360B10 0035DA70 4B FB 20 65 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80360B14 0035DA74 C0 5D 01 24 */ lfs f2, 0x124(r29) -/* 80360B18 0035DA78 C0 3D 01 14 */ lfs f1, 0x114(r29) -/* 80360B1C 0035DA7C C0 1D 01 04 */ lfs f0, 0x104(r29) -/* 80360B20 0035DA80 D0 01 00 08 */ stfs f0, 8(r1) -/* 80360B24 0035DA84 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 80360B28 0035DA88 D0 41 00 10 */ stfs f2, 0x10(r1) -/* 80360B2C 0035DA8C 88 1D 04 50 */ lbz r0, 0x450(r29) -/* 80360B30 0035DA90 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 80360B34 0035DA94 41 82 00 B0 */ beq lbl_80360BE4 -/* 80360B38 0035DA98 83 DD 03 EC */ lwz r30, 0x3ec(r29) -/* 80360B3C 0035DA9C 3B 9D 01 E4 */ addi r28, r29, 0x1e4 -/* 80360B40 0035DAA0 48 00 00 98 */ b lbl_80360BD8 -lbl_80360B44: -/* 80360B44 0035DAA4 80 1E 00 08 */ lwz r0, 8(r30) -/* 80360B48 0035DAA8 38 81 00 08 */ addi r4, r1, 8 -/* 80360B4C 0035DAAC 54 03 18 38 */ slwi r3, r0, 3 -/* 80360B50 0035DAB0 38 03 00 04 */ addi r0, r3, 4 -/* 80360B54 0035DAB4 7C 7C 00 2E */ lwzx r3, r28, r0 -/* 80360B58 0035DAB8 81 83 00 00 */ lwz r12, 0(r3) -/* 80360B5C 0035DABC 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 80360B60 0035DAC0 7D 89 03 A6 */ mtctr r12 -/* 80360B64 0035DAC4 4E 80 04 21 */ bctrl -/* 80360B68 0035DAC8 80 1E 00 08 */ lwz r0, 8(r30) -/* 80360B6C 0035DACC 38 81 00 50 */ addi r4, r1, 0x50 -/* 80360B70 0035DAD0 54 03 18 38 */ slwi r3, r0, 3 -/* 80360B74 0035DAD4 38 03 00 04 */ addi r0, r3, 4 -/* 80360B78 0035DAD8 7C 7C 00 2E */ lwzx r3, r28, r0 -/* 80360B7C 0035DADC 81 83 00 00 */ lwz r12, 0(r3) -/* 80360B80 0035DAE0 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80360B84 0035DAE4 7D 89 03 A6 */ mtctr r12 -/* 80360B88 0035DAE8 4E 80 04 21 */ bctrl -/* 80360B8C 0035DAEC 80 1E 00 08 */ lwz r0, 8(r30) -/* 80360B90 0035DAF0 38 9D 00 E0 */ addi r4, r29, 0xe0 -/* 80360B94 0035DAF4 54 03 18 38 */ slwi r3, r0, 3 -/* 80360B98 0035DAF8 38 03 00 04 */ addi r0, r3, 4 -/* 80360B9C 0035DAFC 7C 7C 00 2E */ lwzx r3, r28, r0 -/* 80360BA0 0035DB00 81 83 00 00 */ lwz r12, 0(r3) -/* 80360BA4 0035DB04 81 8C 00 24 */ lwz r12, 0x24(r12) -/* 80360BA8 0035DB08 7D 89 03 A6 */ mtctr r12 -/* 80360BAC 0035DB0C 4E 80 04 21 */ bctrl -/* 80360BB0 0035DB10 80 1E 00 08 */ lwz r0, 8(r30) -/* 80360BB4 0035DB14 38 9D 00 EC */ addi r4, r29, 0xec -/* 80360BB8 0035DB18 54 03 18 38 */ slwi r3, r0, 3 -/* 80360BBC 0035DB1C 38 03 00 04 */ addi r0, r3, 4 -/* 80360BC0 0035DB20 7C 7C 00 2E */ lwzx r3, r28, r0 -/* 80360BC4 0035DB24 81 83 00 00 */ lwz r12, 0(r3) -/* 80360BC8 0035DB28 81 8C 00 28 */ lwz r12, 0x28(r12) -/* 80360BCC 0035DB2C 7D 89 03 A6 */ mtctr r12 -/* 80360BD0 0035DB30 4E 80 04 21 */ bctrl -/* 80360BD4 0035DB34 83 DE 00 04 */ lwz r30, 4(r30) -lbl_80360BD8: -/* 80360BD8 0035DB38 80 1D 03 F0 */ lwz r0, 0x3f0(r29) -/* 80360BDC 0035DB3C 7C 1E 00 40 */ cmplw r30, r0 -/* 80360BE0 0035DB40 40 82 FF 64 */ bne lbl_80360B44 -lbl_80360BE4: -/* 80360BE4 0035DB44 88 1D 04 50 */ lbz r0, 0x450(r29) -/* 80360BE8 0035DB48 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80360BEC 0035DB4C 41 82 00 A4 */ beq lbl_80360C90 -/* 80360BF0 0035DB50 3B C0 00 00 */ li r30, 0 -/* 80360BF4 0035DB54 3B 80 00 00 */ li r28, 0 -/* 80360BF8 0035DB58 48 00 00 8C */ b lbl_80360C84 -lbl_80360BFC: -/* 80360BFC 0035DB5C 80 7D 04 0C */ lwz r3, 0x40c(r29) -/* 80360C00 0035DB60 38 1C 00 04 */ addi r0, r28, 4 -/* 80360C04 0035DB64 38 81 00 08 */ addi r4, r1, 8 -/* 80360C08 0035DB68 7C 63 00 2E */ lwzx r3, r3, r0 -/* 80360C0C 0035DB6C 81 83 00 00 */ lwz r12, 0(r3) -/* 80360C10 0035DB70 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 80360C14 0035DB74 7D 89 03 A6 */ mtctr r12 -/* 80360C18 0035DB78 4E 80 04 21 */ bctrl -/* 80360C1C 0035DB7C 80 7D 04 0C */ lwz r3, 0x40c(r29) -/* 80360C20 0035DB80 38 1C 00 04 */ addi r0, r28, 4 -/* 80360C24 0035DB84 38 81 00 50 */ addi r4, r1, 0x50 -/* 80360C28 0035DB88 7C 63 00 2E */ lwzx r3, r3, r0 -/* 80360C2C 0035DB8C 81 83 00 00 */ lwz r12, 0(r3) -/* 80360C30 0035DB90 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80360C34 0035DB94 7D 89 03 A6 */ mtctr r12 -/* 80360C38 0035DB98 4E 80 04 21 */ bctrl -/* 80360C3C 0035DB9C 80 7D 04 0C */ lwz r3, 0x40c(r29) -/* 80360C40 0035DBA0 38 1C 00 04 */ addi r0, r28, 4 -/* 80360C44 0035DBA4 38 9D 00 E0 */ addi r4, r29, 0xe0 -/* 80360C48 0035DBA8 7C 63 00 2E */ lwzx r3, r3, r0 -/* 80360C4C 0035DBAC 81 83 00 00 */ lwz r12, 0(r3) -/* 80360C50 0035DBB0 81 8C 00 24 */ lwz r12, 0x24(r12) -/* 80360C54 0035DBB4 7D 89 03 A6 */ mtctr r12 -/* 80360C58 0035DBB8 4E 80 04 21 */ bctrl -/* 80360C5C 0035DBBC 80 7D 04 0C */ lwz r3, 0x40c(r29) -/* 80360C60 0035DBC0 38 1C 00 04 */ addi r0, r28, 4 -/* 80360C64 0035DBC4 38 9D 00 EC */ addi r4, r29, 0xec -/* 80360C68 0035DBC8 7C 63 00 2E */ lwzx r3, r3, r0 -/* 80360C6C 0035DBCC 81 83 00 00 */ lwz r12, 0(r3) -/* 80360C70 0035DBD0 81 8C 00 28 */ lwz r12, 0x28(r12) -/* 80360C74 0035DBD4 7D 89 03 A6 */ mtctr r12 -/* 80360C78 0035DBD8 4E 80 04 21 */ bctrl -/* 80360C7C 0035DBDC 3B 9C 00 08 */ addi r28, r28, 8 -/* 80360C80 0035DBE0 3B DE 00 01 */ addi r30, r30, 1 -lbl_80360C84: -/* 80360C84 0035DBE4 80 1D 01 54 */ lwz r0, 0x154(r29) -/* 80360C88 0035DBE8 7C 1E 00 00 */ cmpw r30, r0 -/* 80360C8C 0035DBEC 41 80 FF 70 */ blt lbl_80360BFC -lbl_80360C90: -/* 80360C90 0035DBF0 88 1D 04 50 */ lbz r0, 0x450(r29) -/* 80360C94 0035DBF4 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 80360C98 0035DBF8 41 82 00 A4 */ beq lbl_80360D3C -/* 80360C9C 0035DBFC 3B C0 00 00 */ li r30, 0 -/* 80360CA0 0035DC00 3B 80 00 00 */ li r28, 0 -/* 80360CA4 0035DC04 48 00 00 8C */ b lbl_80360D30 -lbl_80360CA8: -/* 80360CA8 0035DC08 80 7D 04 1C */ lwz r3, 0x41c(r29) -/* 80360CAC 0035DC0C 38 1C 00 04 */ addi r0, r28, 4 -/* 80360CB0 0035DC10 38 81 00 08 */ addi r4, r1, 8 -/* 80360CB4 0035DC14 7C 63 00 2E */ lwzx r3, r3, r0 -/* 80360CB8 0035DC18 81 83 00 00 */ lwz r12, 0(r3) -/* 80360CBC 0035DC1C 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 80360CC0 0035DC20 7D 89 03 A6 */ mtctr r12 -/* 80360CC4 0035DC24 4E 80 04 21 */ bctrl -/* 80360CC8 0035DC28 80 7D 04 1C */ lwz r3, 0x41c(r29) -/* 80360CCC 0035DC2C 38 1C 00 04 */ addi r0, r28, 4 -/* 80360CD0 0035DC30 38 81 00 50 */ addi r4, r1, 0x50 -/* 80360CD4 0035DC34 7C 63 00 2E */ lwzx r3, r3, r0 -/* 80360CD8 0035DC38 81 83 00 00 */ lwz r12, 0(r3) -/* 80360CDC 0035DC3C 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80360CE0 0035DC40 7D 89 03 A6 */ mtctr r12 -/* 80360CE4 0035DC44 4E 80 04 21 */ bctrl -/* 80360CE8 0035DC48 80 7D 04 1C */ lwz r3, 0x41c(r29) -/* 80360CEC 0035DC4C 38 1C 00 04 */ addi r0, r28, 4 -/* 80360CF0 0035DC50 38 9D 00 E0 */ addi r4, r29, 0xe0 -/* 80360CF4 0035DC54 7C 63 00 2E */ lwzx r3, r3, r0 -/* 80360CF8 0035DC58 81 83 00 00 */ lwz r12, 0(r3) -/* 80360CFC 0035DC5C 81 8C 00 24 */ lwz r12, 0x24(r12) -/* 80360D00 0035DC60 7D 89 03 A6 */ mtctr r12 -/* 80360D04 0035DC64 4E 80 04 21 */ bctrl -/* 80360D08 0035DC68 80 7D 04 1C */ lwz r3, 0x41c(r29) -/* 80360D0C 0035DC6C 38 1C 00 04 */ addi r0, r28, 4 -/* 80360D10 0035DC70 38 9D 00 EC */ addi r4, r29, 0xec -/* 80360D14 0035DC74 7C 63 00 2E */ lwzx r3, r3, r0 -/* 80360D18 0035DC78 81 83 00 00 */ lwz r12, 0(r3) -/* 80360D1C 0035DC7C 81 8C 00 28 */ lwz r12, 0x28(r12) -/* 80360D20 0035DC80 7D 89 03 A6 */ mtctr r12 -/* 80360D24 0035DC84 4E 80 04 21 */ bctrl -/* 80360D28 0035DC88 3B 9C 00 08 */ addi r28, r28, 8 -/* 80360D2C 0035DC8C 3B DE 00 01 */ addi r30, r30, 1 -lbl_80360D30: -/* 80360D30 0035DC90 80 1D 01 54 */ lwz r0, 0x154(r29) -/* 80360D34 0035DC94 7C 1E 00 00 */ cmpw r30, r0 -/* 80360D38 0035DC98 41 80 FF 70 */ blt lbl_80360CA8 -lbl_80360D3C: -/* 80360D3C 0035DC9C 3B C0 00 01 */ li r30, 1 -lbl_80360D40: -/* 80360D40 0035DCA0 CB E2 CD 60 */ lfd f31, lbl_805AEA80@sda21(r2) -/* 80360D44 0035DCA4 57 FF 06 3E */ clrlwi r31, r31, 0x18 -/* 80360D48 0035DCA8 48 00 01 50 */ b lbl_80360E98 -lbl_80360D4C: -/* 80360D4C 0035DCAC 80 7D 00 28 */ lwz r3, 0x28(r29) -/* 80360D50 0035DCB0 4B FC 99 F9 */ bl SetEmitterTime__16CParticleGlobalsFi -/* 80360D54 0035DCB4 7F A3 EB 78 */ mr r3, r29 -/* 80360D58 0035DCB8 4B FF EA DD */ bl UpdateElectricalEffects__17CParticleElectricFv -/* 80360D5C 0035DCBC 28 1F 00 00 */ cmplwi r31, 0 -/* 80360D60 0035DCC0 41 82 00 0C */ beq lbl_80360D6C -/* 80360D64 0035DCC4 7F A3 EB 78 */ mr r3, r29 -/* 80360D68 0035DCC8 4B FF F4 A5 */ bl AddElectricalEffects__17CParticleElectricFv -lbl_80360D6C: -/* 80360D6C 0035DCCC 88 1D 04 50 */ lbz r0, 0x450(r29) -/* 80360D70 0035DCD0 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80360D74 0035DCD4 41 82 00 84 */ beq lbl_80360DF8 -/* 80360D78 0035DCD8 80 7D 00 28 */ lwz r3, 0x28(r29) -/* 80360D7C 0035DCDC 80 1D 00 2C */ lwz r0, 0x2c(r29) -/* 80360D80 0035DCE0 7C 03 00 00 */ cmpw r3, r0 -/* 80360D84 0035DCE4 41 80 00 34 */ blt lbl_80360DB8 -/* 80360D88 0035DCE8 3B C0 00 00 */ li r30, 0 -/* 80360D8C 0035DCEC 3B 80 00 00 */ li r28, 0 -/* 80360D90 0035DCF0 48 00 00 1C */ b lbl_80360DAC -lbl_80360D94: -/* 80360D94 0035DCF4 80 7D 04 0C */ lwz r3, 0x40c(r29) -/* 80360D98 0035DCF8 38 1C 00 04 */ addi r0, r28, 4 -/* 80360D9C 0035DCFC 7C 63 00 2E */ lwzx r3, r3, r0 -/* 80360DA0 0035DD00 4B FB BA 75 */ bl EndLifetime__11CElementGenFv -/* 80360DA4 0035DD04 3B 9C 00 08 */ addi r28, r28, 8 -/* 80360DA8 0035DD08 3B DE 00 01 */ addi r30, r30, 1 -lbl_80360DAC: -/* 80360DAC 0035DD0C 80 1D 01 54 */ lwz r0, 0x154(r29) -/* 80360DB0 0035DD10 7C 1E 00 00 */ cmpw r30, r0 -/* 80360DB4 0035DD14 41 80 FF E0 */ blt lbl_80360D94 -lbl_80360DB8: -/* 80360DB8 0035DD18 3B C0 00 00 */ li r30, 0 -/* 80360DBC 0035DD1C 3B 80 00 00 */ li r28, 0 -/* 80360DC0 0035DD20 48 00 00 2C */ b lbl_80360DEC -lbl_80360DC4: -/* 80360DC4 0035DD24 80 7D 04 0C */ lwz r3, 0x40c(r29) -/* 80360DC8 0035DD28 38 1C 00 04 */ addi r0, r28, 4 -/* 80360DCC 0035DD2C C8 22 CD 60 */ lfd f1, lbl_805AEA80@sda21(r2) -/* 80360DD0 0035DD30 7C 63 00 2E */ lwzx r3, r3, r0 -/* 80360DD4 0035DD34 81 83 00 00 */ lwz r12, 0(r3) -/* 80360DD8 0035DD38 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80360DDC 0035DD3C 7D 89 03 A6 */ mtctr r12 -/* 80360DE0 0035DD40 4E 80 04 21 */ bctrl -/* 80360DE4 0035DD44 3B 9C 00 08 */ addi r28, r28, 8 -/* 80360DE8 0035DD48 3B DE 00 01 */ addi r30, r30, 1 -lbl_80360DEC: -/* 80360DEC 0035DD4C 80 1D 01 54 */ lwz r0, 0x154(r29) -/* 80360DF0 0035DD50 7C 1E 00 00 */ cmpw r30, r0 -/* 80360DF4 0035DD54 41 80 FF D0 */ blt lbl_80360DC4 -lbl_80360DF8: -/* 80360DF8 0035DD58 88 1D 04 50 */ lbz r0, 0x450(r29) -/* 80360DFC 0035DD5C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 80360E00 0035DD60 41 82 00 84 */ beq lbl_80360E84 -/* 80360E04 0035DD64 80 7D 00 28 */ lwz r3, 0x28(r29) -/* 80360E08 0035DD68 80 1D 00 2C */ lwz r0, 0x2c(r29) -/* 80360E0C 0035DD6C 7C 03 00 00 */ cmpw r3, r0 -/* 80360E10 0035DD70 41 80 00 34 */ blt lbl_80360E44 -/* 80360E14 0035DD74 3B C0 00 00 */ li r30, 0 -/* 80360E18 0035DD78 3B 80 00 00 */ li r28, 0 -/* 80360E1C 0035DD7C 48 00 00 1C */ b lbl_80360E38 -lbl_80360E20: -/* 80360E20 0035DD80 80 7D 04 1C */ lwz r3, 0x41c(r29) -/* 80360E24 0035DD84 38 1C 00 04 */ addi r0, r28, 4 -/* 80360E28 0035DD88 7C 63 00 2E */ lwzx r3, r3, r0 -/* 80360E2C 0035DD8C 4B FB B9 E9 */ bl EndLifetime__11CElementGenFv -/* 80360E30 0035DD90 3B 9C 00 08 */ addi r28, r28, 8 -/* 80360E34 0035DD94 3B DE 00 01 */ addi r30, r30, 1 -lbl_80360E38: -/* 80360E38 0035DD98 80 1D 01 54 */ lwz r0, 0x154(r29) -/* 80360E3C 0035DD9C 7C 1E 00 00 */ cmpw r30, r0 -/* 80360E40 0035DDA0 41 80 FF E0 */ blt lbl_80360E20 -lbl_80360E44: -/* 80360E44 0035DDA4 3B C0 00 00 */ li r30, 0 -/* 80360E48 0035DDA8 3B 80 00 00 */ li r28, 0 -/* 80360E4C 0035DDAC 48 00 00 2C */ b lbl_80360E78 -lbl_80360E50: -/* 80360E50 0035DDB0 80 7D 04 1C */ lwz r3, 0x41c(r29) -/* 80360E54 0035DDB4 38 1C 00 04 */ addi r0, r28, 4 -/* 80360E58 0035DDB8 C8 22 CD 60 */ lfd f1, lbl_805AEA80@sda21(r2) -/* 80360E5C 0035DDBC 7C 63 00 2E */ lwzx r3, r3, r0 -/* 80360E60 0035DDC0 81 83 00 00 */ lwz r12, 0(r3) -/* 80360E64 0035DDC4 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80360E68 0035DDC8 7D 89 03 A6 */ mtctr r12 -/* 80360E6C 0035DDCC 4E 80 04 21 */ bctrl -/* 80360E70 0035DDD0 3B 9C 00 08 */ addi r28, r28, 8 -/* 80360E74 0035DDD4 3B DE 00 01 */ addi r30, r30, 1 -lbl_80360E78: -/* 80360E78 0035DDD8 80 1D 01 54 */ lwz r0, 0x154(r29) -/* 80360E7C 0035DDDC 7C 1E 00 00 */ cmpw r30, r0 -/* 80360E80 0035DDE0 41 80 FF D0 */ blt lbl_80360E50 -lbl_80360E84: -/* 80360E84 0035DDE4 80 7D 00 28 */ lwz r3, 0x28(r29) -/* 80360E88 0035DDE8 FF DE F8 2A */ fadd f30, f30, f31 -/* 80360E8C 0035DDEC 3B C0 00 01 */ li r30, 1 -/* 80360E90 0035DDF0 38 03 00 01 */ addi r0, r3, 1 -/* 80360E94 0035DDF4 90 1D 00 28 */ stw r0, 0x28(r29) -lbl_80360E98: -/* 80360E98 0035DDF8 C8 1D 00 30 */ lfd f0, 0x30(r29) -/* 80360E9C 0035DDFC FC 1E 00 40 */ fcmpo cr0, f30, f0 -/* 80360EA0 0035DE00 41 80 FE AC */ blt lbl_80360D4C -/* 80360EA4 0035DE04 57 C0 06 3F */ clrlwi. r0, r30, 0x18 -/* 80360EA8 0035DE08 41 82 00 0C */ beq lbl_80360EB4 -/* 80360EAC 0035DE0C 7F A3 EB 78 */ mr r3, r29 -/* 80360EB0 0035DE10 4B FF E3 FD */ bl BuildBounds__17CParticleElectricFv -lbl_80360EB4: -/* 80360EB4 0035DE14 38 61 00 14 */ addi r3, r1, 0x14 -/* 80360EB8 0035DE18 38 80 FF FF */ li r4, -1 -/* 80360EBC 0035DE1C 4B FB 17 49 */ bl __dt__13CGlobalRandomFv -/* 80360EC0 0035DE20 57 C3 06 3E */ clrlwi r3, r30, 0x18 -/* 80360EC4 0035DE24 E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0 -/* 80360EC8 0035DE28 CB E1 00 B0 */ lfd f31, 0xb0(r1) -/* 80360ECC 0035DE2C E3 C1 00 A8 */ psq_l f30, 168(r1), 0, qr0 -/* 80360ED0 0035DE30 CB C1 00 A0 */ lfd f30, 0xa0(r1) -/* 80360ED4 0035DE34 83 E1 00 9C */ lwz r31, 0x9c(r1) -/* 80360ED8 0035DE38 83 C1 00 98 */ lwz r30, 0x98(r1) -/* 80360EDC 0035DE3C 83 A1 00 94 */ lwz r29, 0x94(r1) -/* 80360EE0 0035DE40 80 01 00 C4 */ lwz r0, 0xc4(r1) -/* 80360EE4 0035DE44 83 81 00 90 */ lwz r28, 0x90(r1) -/* 80360EE8 0035DE48 7C 08 03 A6 */ mtlr r0 -/* 80360EEC 0035DE4C 38 21 00 C0 */ addi r1, r1, 0xc0 -/* 80360EF0 0035DE50 4E 80 00 20 */ blr - -.global CalculateFractal__17CParticleElectricFiiff -CalculateFractal__17CParticleElectricFiiff: -/* 80360EF4 0035DE54 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 80360EF8 0035DE58 7C 08 02 A6 */ mflr r0 -/* 80360EFC 0035DE5C 90 01 00 94 */ stw r0, 0x94(r1) -/* 80360F00 0035DE60 DB E1 00 80 */ stfd f31, 0x80(r1) -/* 80360F04 0035DE64 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 -/* 80360F08 0035DE68 DB C1 00 70 */ stfd f30, 0x70(r1) -/* 80360F0C 0035DE6C F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 -/* 80360F10 0035DE70 DB A1 00 60 */ stfd f29, 0x60(r1) -/* 80360F14 0035DE74 F3 A1 00 68 */ psq_st f29, 104(r1), 0, qr0 -/* 80360F18 0035DE78 DB 81 00 50 */ stfd f28, 0x50(r1) -/* 80360F1C 0035DE7C F3 81 00 58 */ psq_st f28, 88(r1), 0, qr0 -/* 80360F20 0035DE80 DB 61 00 40 */ stfd f27, 0x40(r1) -/* 80360F24 0035DE84 F3 61 00 48 */ psq_st f27, 72(r1), 0, qr0 -/* 80360F28 0035DE88 BF 01 00 20 */ stmw r24, 0x20(r1) -/* 80360F2C 0035DE8C 7C 7D 1B 78 */ mr r29, r3 -/* 80360F30 0035DE90 3C 60 43 30 */ lis r3, 0x4330 -/* 80360F34 0035DE94 7C 9E 23 78 */ mr r30, r4 -/* 80360F38 0035DE98 7C BF 2B 78 */ mr r31, r5 -/* 80360F3C 0035DE9C 80 1D 04 34 */ lwz r0, 0x434(r29) -/* 80360F40 0035DEA0 7C 9E F8 50 */ subf r4, r30, r31 -/* 80360F44 0035DEA4 6C 84 80 00 */ xoris r4, r4, 0x8000 -/* 80360F48 0035DEA8 7F 5E FA 14 */ add r26, r30, r31 -/* 80360F4C 0035DEAC 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 80360F50 0035DEB0 90 81 00 0C */ stw r4, 0xc(r1) -/* 80360F54 0035DEB4 57 44 0F FE */ srwi r4, r26, 0x1f -/* 80360F58 0035DEB8 C8 62 CD 58 */ lfd f3, lbl_805AEA78@sda21(r2) -/* 80360F5C 0035DEBC 90 61 00 08 */ stw r3, 8(r1) -/* 80360F60 0035DEC0 7C 84 D2 14 */ add r4, r4, r26 -/* 80360F64 0035DEC4 FF C0 08 90 */ fmr f30, f1 -/* 80360F68 0035DEC8 80 DD 04 3C */ lwz r6, 0x43c(r29) -/* 80360F6C 0035DECC C8 01 00 08 */ lfd f0, 8(r1) -/* 80360F70 0035DED0 57 C5 10 3A */ slwi r5, r30, 2 -/* 80360F74 0035DED4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80360F78 0035DED8 57 F9 10 3A */ slwi r25, r31, 2 -/* 80360F7C 0035DEDC 90 61 00 10 */ stw r3, 0x10(r1) -/* 80360F80 0035DEE0 EC 20 18 28 */ fsubs f1, f0, f3 -/* 80360F84 0035DEE4 FF E0 10 90 */ fmr f31, f2 -/* 80360F88 0035DEE8 7F 86 2C 2E */ lfsx f28, r6, r5 -/* 80360F8C 0035DEEC C8 01 00 10 */ lfd f0, 0x10(r1) -/* 80360F90 0035DEF0 7C 98 0E 70 */ srawi r24, r4, 1 -/* 80360F94 0035DEF4 7F 66 CC 2E */ lfsx f27, r6, r25 -/* 80360F98 0035DEF8 EC 00 18 28 */ fsubs f0, f0, f3 -/* 80360F9C 0035DEFC 38 7D 01 4C */ addi r3, r29, 0x14c -/* 80360FA0 0035DF00 EC 01 00 24 */ fdivs f0, f1, f0 -/* 80360FA4 0035DF04 EF A0 07 B2 */ fmuls f29, f0, f30 -/* 80360FA8 0035DF08 4B FB 15 35 */ bl Float__9CRandom16Fv -/* 80360FAC 0035DF0C EC 5D 00 72 */ fmuls f2, f29, f1 -/* 80360FB0 0035DF10 C0 22 CD 68 */ lfs f1, lbl_805AEA88@sda21(r2) -/* 80360FB4 0035DF14 EC 1C D8 2A */ fadds f0, f28, f27 -/* 80360FB8 0035DF18 83 7D 04 3C */ lwz r27, 0x43c(r29) -/* 80360FBC 0035DF1C 57 1C 10 3A */ slwi r28, r24, 2 -/* 80360FC0 0035DF20 38 7D 01 4C */ addi r3, r29, 0x14c -/* 80360FC4 0035DF24 EC 00 10 7A */ fmadds f0, f0, f1, f2 -/* 80360FC8 0035DF28 EF 7D 00 7C */ fnmsubs f27, f29, f1, f0 -/* 80360FCC 0035DF2C 4B FB 15 11 */ bl Float__9CRandom16Fv -/* 80360FD0 0035DF30 C0 02 CD 68 */ lfs f0, lbl_805AEA88@sda21(r2) -/* 80360FD4 0035DF34 57 43 0F FE */ srwi r3, r26, 0x1f -/* 80360FD8 0035DF38 57 40 07 FE */ clrlwi r0, r26, 0x1f -/* 80360FDC 0035DF3C EC 1F 00 32 */ fmuls f0, f31, f0 -/* 80360FE0 0035DF40 7C 00 1A 78 */ xor r0, r0, r3 -/* 80360FE4 0035DF44 7C 03 00 50 */ subf r0, r3, r0 -/* 80360FE8 0035DF48 2C 00 00 01 */ cmpwi r0, 1 -/* 80360FEC 0035DF4C EC 1F 00 78 */ fmsubs f0, f31, f1, f0 -/* 80360FF0 0035DF50 EC 1B 00 2A */ fadds f0, f27, f0 -/* 80360FF4 0035DF54 7C 1B E5 2E */ stfsx f0, r27, r28 -/* 80360FF8 0035DF58 40 82 00 18 */ bne lbl_80361010 -/* 80360FFC 0035DF5C 80 7D 04 3C */ lwz r3, 0x43c(r29) -/* 80361000 0035DF60 38 1F FF FF */ addi r0, r31, -1 -/* 80361004 0035DF64 54 00 10 3A */ slwi r0, r0, 2 -/* 80361008 0035DF68 7C 03 CC 2E */ lfsx f0, r3, r25 -/* 8036100C 0035DF6C 7C 03 05 2E */ stfsx f0, r3, r0 -lbl_80361010: -/* 80361010 0035DF70 7C 1E C0 50 */ subf r0, r30, r24 -/* 80361014 0035DF74 2C 00 00 01 */ cmpwi r0, 1 -/* 80361018 0035DF78 40 81 00 1C */ ble lbl_80361034 -/* 8036101C 0035DF7C FC 20 F0 90 */ fmr f1, f30 -/* 80361020 0035DF80 7F A3 EB 78 */ mr r3, r29 -/* 80361024 0035DF84 FC 40 F8 90 */ fmr f2, f31 -/* 80361028 0035DF88 7F C4 F3 78 */ mr r4, r30 -/* 8036102C 0035DF8C 7F 05 C3 78 */ mr r5, r24 -/* 80361030 0035DF90 4B FF FE C5 */ bl CalculateFractal__17CParticleElectricFiiff -lbl_80361034: -/* 80361034 0035DF94 7C 18 F8 50 */ subf r0, r24, r31 -/* 80361038 0035DF98 2C 00 00 01 */ cmpwi r0, 1 -/* 8036103C 0035DF9C 40 81 00 1C */ ble lbl_80361058 -/* 80361040 0035DFA0 FC 20 F0 90 */ fmr f1, f30 -/* 80361044 0035DFA4 7F A3 EB 78 */ mr r3, r29 -/* 80361048 0035DFA8 FC 40 F8 90 */ fmr f2, f31 -/* 8036104C 0035DFAC 7F 04 C3 78 */ mr r4, r24 -/* 80361050 0035DFB0 7F E5 FB 78 */ mr r5, r31 -/* 80361054 0035DFB4 4B FF FE A1 */ bl CalculateFractal__17CParticleElectricFiiff -lbl_80361058: -/* 80361058 0035DFB8 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 -/* 8036105C 0035DFBC CB E1 00 80 */ lfd f31, 0x80(r1) -/* 80361060 0035DFC0 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 -/* 80361064 0035DFC4 CB C1 00 70 */ lfd f30, 0x70(r1) -/* 80361068 0035DFC8 E3 A1 00 68 */ psq_l f29, 104(r1), 0, qr0 -/* 8036106C 0035DFCC CB A1 00 60 */ lfd f29, 0x60(r1) -/* 80361070 0035DFD0 E3 81 00 58 */ psq_l f28, 88(r1), 0, qr0 -/* 80361074 0035DFD4 CB 81 00 50 */ lfd f28, 0x50(r1) -/* 80361078 0035DFD8 E3 61 00 48 */ psq_l f27, 72(r1), 0, qr0 -/* 8036107C 0035DFDC CB 61 00 40 */ lfd f27, 0x40(r1) -/* 80361080 0035DFE0 BB 01 00 20 */ lmw r24, 0x20(r1) -/* 80361084 0035DFE4 80 01 00 94 */ lwz r0, 0x94(r1) -/* 80361088 0035DFE8 7C 08 03 A6 */ mtlr r0 -/* 8036108C 0035DFEC 38 21 00 90 */ addi r1, r1, 0x90 -/* 80361090 0035DFF0 4E 80 00 20 */ blr - -.global CalculatePoints__17CParticleElectricFv -CalculatePoints__17CParticleElectricFv: -/* 80361094 0035DFF4 94 21 FE 10 */ stwu r1, -0x1f0(r1) -/* 80361098 0035DFF8 7C 08 02 A6 */ mflr r0 -/* 8036109C 0035DFFC 90 01 01 F4 */ stw r0, 0x1f4(r1) -/* 803610A0 0035E000 DB E1 01 E0 */ stfd f31, 0x1e0(r1) -/* 803610A4 0035E004 F3 E1 01 E8 */ psq_st f31, 488(r1), 0, qr0 -/* 803610A8 0035E008 DB C1 01 D0 */ stfd f30, 0x1d0(r1) -/* 803610AC 0035E00C F3 C1 01 D8 */ psq_st f30, 472(r1), 0, qr0 -/* 803610B0 0035E010 DB A1 01 C0 */ stfd f29, 0x1c0(r1) -/* 803610B4 0035E014 F3 A1 01 C8 */ psq_st f29, 456(r1), 0, qr0 -/* 803610B8 0035E018 DB 81 01 B0 */ stfd f28, 0x1b0(r1) -/* 803610BC 0035E01C F3 81 01 B8 */ psq_st f28, 440(r1), 0, qr0 -/* 803610C0 0035E020 DB 61 01 A0 */ stfd f27, 0x1a0(r1) -/* 803610C4 0035E024 F3 61 01 A8 */ psq_st f27, 424(r1), 0, qr0 -/* 803610C8 0035E028 DB 41 01 90 */ stfd f26, 0x190(r1) -/* 803610CC 0035E02C F3 41 01 98 */ psq_st f26, 408(r1), 0, qr0 -/* 803610D0 0035E030 BF 01 01 70 */ stmw r24, 0x170(r1) -/* 803610D4 0035E034 3C 80 80 5A */ lis r4, skZero3f@ha -/* 803610D8 0035E038 38 00 00 00 */ li r0, 0 -/* 803610DC 0035E03C 3B E4 66 A0 */ addi r31, r4, skZero3f@l -/* 803610E0 0035E040 90 01 01 30 */ stw r0, 0x130(r1) -/* 803610E4 0035E044 C0 1F 00 00 */ lfs f0, 0(r31) -/* 803610E8 0035E048 7C 7E 1B 78 */ mr r30, r3 -/* 803610EC 0035E04C C0 3F 00 04 */ lfs f1, 4(r31) -/* 803610F0 0035E050 C0 5F 00 08 */ lfs f2, 8(r31) -/* 803610F4 0035E054 D0 01 00 C4 */ stfs f0, 0xc4(r1) -/* 803610F8 0035E058 D0 21 00 C8 */ stfs f1, 0xc8(r1) -/* 803610FC 0035E05C D0 41 00 CC */ stfs f2, 0xcc(r1) -/* 80361100 0035E060 D0 01 00 B8 */ stfs f0, 0xb8(r1) -/* 80361104 0035E064 D0 21 00 BC */ stfs f1, 0xbc(r1) -/* 80361108 0035E068 D0 41 00 C0 */ stfs f2, 0xc0(r1) -/* 8036110C 0035E06C 80 63 00 24 */ lwz r3, 0x24(r3) -/* 80361110 0035E070 80 63 00 18 */ lwz r3, 0x18(r3) -/* 80361114 0035E074 28 03 00 00 */ cmplwi r3, 0 -/* 80361118 0035E078 41 82 00 20 */ beq lbl_80361138 -/* 8036111C 0035E07C 81 83 00 00 */ lwz r12, 0(r3) -/* 80361120 0035E080 38 A1 00 C4 */ addi r5, r1, 0xc4 -/* 80361124 0035E084 38 C1 00 B8 */ addi r6, r1, 0xb8 -/* 80361128 0035E088 80 9E 00 28 */ lwz r4, 0x28(r30) -/* 8036112C 0035E08C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80361130 0035E090 7D 89 03 A6 */ mtctr r12 -/* 80361134 0035E094 4E 80 04 21 */ bctrl -lbl_80361138: -/* 80361138 0035E098 88 1E 01 84 */ lbz r0, 0x184(r30) -/* 8036113C 0035E09C 28 00 00 00 */ cmplwi r0, 0 -/* 80361140 0035E0A0 41 82 00 1C */ beq lbl_8036115C -/* 80361144 0035E0A4 C0 1E 01 78 */ lfs f0, 0x178(r30) -/* 80361148 0035E0A8 D0 01 00 C4 */ stfs f0, 0xc4(r1) -/* 8036114C 0035E0AC C0 1E 01 7C */ lfs f0, 0x17c(r30) -/* 80361150 0035E0B0 D0 01 00 C8 */ stfs f0, 0xc8(r1) -/* 80361154 0035E0B4 C0 1E 01 80 */ lfs f0, 0x180(r30) -/* 80361158 0035E0B8 D0 01 00 CC */ stfs f0, 0xcc(r1) -lbl_8036115C: -/* 8036115C 0035E0BC 88 1E 01 94 */ lbz r0, 0x194(r30) -/* 80361160 0035E0C0 28 00 00 00 */ cmplwi r0, 0 -/* 80361164 0035E0C4 41 82 00 1C */ beq lbl_80361180 -/* 80361168 0035E0C8 C0 1E 01 88 */ lfs f0, 0x188(r30) -/* 8036116C 0035E0CC D0 01 00 B8 */ stfs f0, 0xb8(r1) -/* 80361170 0035E0D0 C0 1E 01 8C */ lfs f0, 0x18c(r30) -/* 80361174 0035E0D4 D0 01 00 BC */ stfs f0, 0xbc(r1) -/* 80361178 0035E0D8 C0 1E 01 90 */ lfs f0, 0x190(r30) -/* 8036117C 0035E0DC D0 01 00 C0 */ stfs f0, 0xc0(r1) -lbl_80361180: -/* 80361180 0035E0E0 C0 22 CD 54 */ lfs f1, lbl_805AEA74@sda21(r2) -/* 80361184 0035E0E4 38 00 00 00 */ li r0, 0 -/* 80361188 0035E0E8 C0 01 00 B8 */ lfs f0, 0xb8(r1) -/* 8036118C 0035E0EC FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80361190 0035E0F0 40 82 00 1C */ bne lbl_803611AC -/* 80361194 0035E0F4 C0 01 00 BC */ lfs f0, 0xbc(r1) -/* 80361198 0035E0F8 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 8036119C 0035E0FC 40 82 00 10 */ bne lbl_803611AC -/* 803611A0 0035E100 C0 01 00 C0 */ lfs f0, 0xc0(r1) -/* 803611A4 0035E104 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 803611A8 0035E108 41 82 00 08 */ beq lbl_803611B0 -lbl_803611AC: -/* 803611AC 0035E10C 38 00 00 01 */ li r0, 1 -lbl_803611B0: -/* 803611B0 0035E110 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 803611B4 0035E114 41 82 00 E0 */ beq lbl_80361294 -/* 803611B8 0035E118 80 01 01 30 */ lwz r0, 0x130(r1) -/* 803611BC 0035E11C 38 A1 01 34 */ addi r5, r1, 0x134 -/* 803611C0 0035E120 1C 00 00 0C */ mulli r0, r0, 0xc -/* 803611C4 0035E124 7C 65 02 15 */ add. r3, r5, r0 -/* 803611C8 0035E128 41 82 00 1C */ beq lbl_803611E4 -/* 803611CC 0035E12C C0 01 00 C4 */ lfs f0, 0xc4(r1) -/* 803611D0 0035E130 C0 21 00 C8 */ lfs f1, 0xc8(r1) -/* 803611D4 0035E134 D0 03 00 00 */ stfs f0, 0(r3) -/* 803611D8 0035E138 C0 01 00 CC */ lfs f0, 0xcc(r1) -/* 803611DC 0035E13C D0 23 00 04 */ stfs f1, 4(r3) -/* 803611E0 0035E140 D0 03 00 08 */ stfs f0, 8(r3) -lbl_803611E4: -/* 803611E4 0035E144 80 61 01 30 */ lwz r3, 0x130(r1) -/* 803611E8 0035E148 C0 21 00 C4 */ lfs f1, 0xc4(r1) -/* 803611EC 0035E14C 38 63 00 01 */ addi r3, r3, 1 -/* 803611F0 0035E150 C0 01 00 B8 */ lfs f0, 0xb8(r1) -/* 803611F4 0035E154 1C 03 00 0C */ mulli r0, r3, 0xc -/* 803611F8 0035E158 C0 61 00 C8 */ lfs f3, 0xc8(r1) -/* 803611FC 0035E15C C0 41 00 BC */ lfs f2, 0xbc(r1) -/* 80361200 0035E160 EC 81 00 2A */ fadds f4, f1, f0 -/* 80361204 0035E164 C0 21 00 CC */ lfs f1, 0xcc(r1) -/* 80361208 0035E168 C0 01 00 C0 */ lfs f0, 0xc0(r1) -/* 8036120C 0035E16C EC 43 10 2A */ fadds f2, f3, f2 -/* 80361210 0035E170 7C 85 02 15 */ add. r4, r5, r0 -/* 80361214 0035E174 EC 01 00 2A */ fadds f0, f1, f0 -/* 80361218 0035E178 90 61 01 30 */ stw r3, 0x130(r1) -/* 8036121C 0035E17C 41 82 00 10 */ beq lbl_8036122C -/* 80361220 0035E180 D0 84 00 00 */ stfs f4, 0(r4) -/* 80361224 0035E184 D0 44 00 04 */ stfs f2, 4(r4) -/* 80361228 0035E188 D0 04 00 08 */ stfs f0, 8(r4) -lbl_8036122C: -/* 8036122C 0035E18C 80 61 01 30 */ lwz r3, 0x130(r1) -/* 80361230 0035E190 C0 A2 CD 6C */ lfs f5, lbl_805AEA8C@sda21(r2) -/* 80361234 0035E194 38 63 00 01 */ addi r3, r3, 1 -/* 80361238 0035E198 C0 41 00 B8 */ lfs f2, 0xb8(r1) -/* 8036123C 0035E19C C0 21 00 BC */ lfs f1, 0xbc(r1) -/* 80361240 0035E1A0 1C 03 00 0C */ mulli r0, r3, 0xc -/* 80361244 0035E1A4 C0 01 00 C0 */ lfs f0, 0xc0(r1) -/* 80361248 0035E1A8 EC 85 00 B2 */ fmuls f4, f5, f2 -/* 8036124C 0035E1AC C0 C1 00 C4 */ lfs f6, 0xc4(r1) -/* 80361250 0035E1B0 EC 45 00 72 */ fmuls f2, f5, f1 -/* 80361254 0035E1B4 C0 61 00 C8 */ lfs f3, 0xc8(r1) -/* 80361258 0035E1B8 EC 05 00 32 */ fmuls f0, f5, f0 -/* 8036125C 0035E1BC C0 21 00 CC */ lfs f1, 0xcc(r1) -/* 80361260 0035E1C0 EC 86 20 2A */ fadds f4, f6, f4 -/* 80361264 0035E1C4 7C 85 02 15 */ add. r4, r5, r0 -/* 80361268 0035E1C8 EC 43 10 2A */ fadds f2, f3, f2 -/* 8036126C 0035E1CC 90 61 01 30 */ stw r3, 0x130(r1) -/* 80361270 0035E1D0 EC 01 00 2A */ fadds f0, f1, f0 -/* 80361274 0035E1D4 41 82 00 10 */ beq lbl_80361284 -/* 80361278 0035E1D8 D0 84 00 00 */ stfs f4, 0(r4) -/* 8036127C 0035E1DC D0 44 00 04 */ stfs f2, 4(r4) -/* 80361280 0035E1E0 D0 04 00 08 */ stfs f0, 8(r4) -lbl_80361284: -/* 80361284 0035E1E4 80 61 01 30 */ lwz r3, 0x130(r1) -/* 80361288 0035E1E8 38 03 00 01 */ addi r0, r3, 1 -/* 8036128C 0035E1EC 90 01 01 30 */ stw r0, 0x130(r1) -/* 80361290 0035E1F0 48 00 00 3C */ b lbl_803612CC -lbl_80361294: -/* 80361294 0035E1F4 80 01 01 30 */ lwz r0, 0x130(r1) -/* 80361298 0035E1F8 38 61 01 34 */ addi r3, r1, 0x134 -/* 8036129C 0035E1FC 1C 00 00 0C */ mulli r0, r0, 0xc -/* 803612A0 0035E200 7C 63 02 15 */ add. r3, r3, r0 -/* 803612A4 0035E204 41 82 00 1C */ beq lbl_803612C0 -/* 803612A8 0035E208 C0 01 00 C4 */ lfs f0, 0xc4(r1) -/* 803612AC 0035E20C C0 21 00 C8 */ lfs f1, 0xc8(r1) -/* 803612B0 0035E210 D0 03 00 00 */ stfs f0, 0(r3) -/* 803612B4 0035E214 C0 01 00 CC */ lfs f0, 0xcc(r1) -/* 803612B8 0035E218 D0 23 00 04 */ stfs f1, 4(r3) -/* 803612BC 0035E21C D0 03 00 08 */ stfs f0, 8(r3) -lbl_803612C0: -/* 803612C0 0035E220 80 61 01 30 */ lwz r3, 0x130(r1) -/* 803612C4 0035E224 38 03 00 01 */ addi r0, r3, 1 -/* 803612C8 0035E228 90 01 01 30 */ stw r0, 0x130(r1) -lbl_803612CC: -/* 803612CC 0035E22C 3C 60 80 5A */ lis r3, skZero3f@ha -/* 803612D0 0035E230 C0 82 CD 54 */ lfs f4, lbl_805AEA74@sda21(r2) -/* 803612D4 0035E234 C0 62 CD 48 */ lfs f3, lbl_805AEA68@sda21(r2) -/* 803612D8 0035E238 C0 43 66 A0 */ lfs f2, skZero3f@l(r3) -/* 803612DC 0035E23C C0 3F 00 04 */ lfs f1, 4(r31) -/* 803612E0 0035E240 C0 1F 00 08 */ lfs f0, 8(r31) -/* 803612E4 0035E244 D0 81 00 AC */ stfs f4, 0xac(r1) -/* 803612E8 0035E248 D0 61 00 B0 */ stfs f3, 0xb0(r1) -/* 803612EC 0035E24C D0 81 00 B4 */ stfs f4, 0xb4(r1) -/* 803612F0 0035E250 D0 41 00 A0 */ stfs f2, 0xa0(r1) -/* 803612F4 0035E254 D0 21 00 A4 */ stfs f1, 0xa4(r1) -/* 803612F8 0035E258 D0 01 00 A8 */ stfs f0, 0xa8(r1) -/* 803612FC 0035E25C 80 7E 00 24 */ lwz r3, 0x24(r30) -/* 80361300 0035E260 80 63 00 1C */ lwz r3, 0x1c(r3) -/* 80361304 0035E264 28 03 00 00 */ cmplwi r3, 0 -/* 80361308 0035E268 41 82 00 20 */ beq lbl_80361328 -/* 8036130C 0035E26C 81 83 00 00 */ lwz r12, 0(r3) -/* 80361310 0035E270 38 A1 00 AC */ addi r5, r1, 0xac -/* 80361314 0035E274 38 C1 00 A0 */ addi r6, r1, 0xa0 -/* 80361318 0035E278 80 9E 00 28 */ lwz r4, 0x28(r30) -/* 8036131C 0035E27C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80361320 0035E280 7D 89 03 A6 */ mtctr r12 -/* 80361324 0035E284 4E 80 04 21 */ bctrl -lbl_80361328: -/* 80361328 0035E288 88 1E 01 A4 */ lbz r0, 0x1a4(r30) -/* 8036132C 0035E28C 28 00 00 00 */ cmplwi r0, 0 -/* 80361330 0035E290 41 82 00 1C */ beq lbl_8036134C -/* 80361334 0035E294 C0 1E 01 98 */ lfs f0, 0x198(r30) -/* 80361338 0035E298 D0 01 00 AC */ stfs f0, 0xac(r1) -/* 8036133C 0035E29C C0 1E 01 9C */ lfs f0, 0x19c(r30) -/* 80361340 0035E2A0 D0 01 00 B0 */ stfs f0, 0xb0(r1) -/* 80361344 0035E2A4 C0 1E 01 A0 */ lfs f0, 0x1a0(r30) -/* 80361348 0035E2A8 D0 01 00 B4 */ stfs f0, 0xb4(r1) -lbl_8036134C: -/* 8036134C 0035E2AC 88 1E 01 B4 */ lbz r0, 0x1b4(r30) -/* 80361350 0035E2B0 28 00 00 00 */ cmplwi r0, 0 -/* 80361354 0035E2B4 41 82 00 1C */ beq lbl_80361370 -/* 80361358 0035E2B8 C0 1E 01 A8 */ lfs f0, 0x1a8(r30) -/* 8036135C 0035E2BC D0 01 00 A0 */ stfs f0, 0xa0(r1) -/* 80361360 0035E2C0 C0 1E 01 AC */ lfs f0, 0x1ac(r30) -/* 80361364 0035E2C4 D0 01 00 A4 */ stfs f0, 0xa4(r1) -/* 80361368 0035E2C8 C0 1E 01 B0 */ lfs f0, 0x1b0(r30) -/* 8036136C 0035E2CC D0 01 00 A8 */ stfs f0, 0xa8(r1) -lbl_80361370: -/* 80361370 0035E2D0 C0 22 CD 54 */ lfs f1, lbl_805AEA74@sda21(r2) -/* 80361374 0035E2D4 38 00 00 00 */ li r0, 0 -/* 80361378 0035E2D8 C0 41 00 A0 */ lfs f2, 0xa0(r1) -/* 8036137C 0035E2DC FC 01 10 00 */ fcmpu cr0, f1, f2 -/* 80361380 0035E2E0 40 82 00 1C */ bne lbl_8036139C -/* 80361384 0035E2E4 C0 01 00 A4 */ lfs f0, 0xa4(r1) -/* 80361388 0035E2E8 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 8036138C 0035E2EC 40 82 00 10 */ bne lbl_8036139C -/* 80361390 0035E2F0 C0 01 00 A8 */ lfs f0, 0xa8(r1) -/* 80361394 0035E2F4 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80361398 0035E2F8 41 82 00 08 */ beq lbl_803613A0 -lbl_8036139C: -/* 8036139C 0035E2FC 38 00 00 01 */ li r0, 1 -lbl_803613A0: -/* 803613A0 0035E300 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 803613A4 0035E304 41 82 01 40 */ beq lbl_803614E4 -/* 803613A8 0035E308 80 01 01 30 */ lwz r0, 0x130(r1) -/* 803613AC 0035E30C 2C 00 00 03 */ cmpwi r0, 3 -/* 803613B0 0035E310 40 82 00 60 */ bne lbl_80361410 -/* 803613B4 0035E314 80 01 01 30 */ lwz r0, 0x130(r1) -/* 803613B8 0035E318 38 61 01 34 */ addi r3, r1, 0x134 -/* 803613BC 0035E31C C0 21 00 AC */ lfs f1, 0xac(r1) -/* 803613C0 0035E320 1C 00 00 0C */ mulli r0, r0, 0xc -/* 803613C4 0035E324 C0 A1 00 B0 */ lfs f5, 0xb0(r1) -/* 803613C8 0035E328 C0 81 00 A4 */ lfs f4, 0xa4(r1) -/* 803613CC 0035E32C EC 01 10 2A */ fadds f0, f1, f2 -/* 803613D0 0035E330 C0 61 00 B4 */ lfs f3, 0xb4(r1) -/* 803613D4 0035E334 C0 41 00 A8 */ lfs f2, 0xa8(r1) -/* 803613D8 0035E338 EC 85 20 2A */ fadds f4, f5, f4 -/* 803613DC 0035E33C 7C 63 02 15 */ add. r3, r3, r0 -/* 803613E0 0035E340 EC 43 10 2A */ fadds f2, f3, f2 -/* 803613E4 0035E344 D0 01 01 4C */ stfs f0, 0x14c(r1) -/* 803613E8 0035E348 D0 81 01 50 */ stfs f4, 0x150(r1) -/* 803613EC 0035E34C D0 41 01 54 */ stfs f2, 0x154(r1) -/* 803613F0 0035E350 41 82 00 10 */ beq lbl_80361400 -/* 803613F4 0035E354 D0 23 00 00 */ stfs f1, 0(r3) -/* 803613F8 0035E358 D0 A3 00 04 */ stfs f5, 4(r3) -/* 803613FC 0035E35C D0 63 00 08 */ stfs f3, 8(r3) -lbl_80361400: -/* 80361400 0035E360 80 61 01 30 */ lwz r3, 0x130(r1) -/* 80361404 0035E364 38 03 00 01 */ addi r0, r3, 1 -/* 80361408 0035E368 90 01 01 30 */ stw r0, 0x130(r1) -/* 8036140C 0035E36C 48 00 01 10 */ b lbl_8036151C -lbl_80361410: -/* 80361410 0035E370 C0 A2 CD 6C */ lfs f5, lbl_805AEA8C@sda21(r2) -/* 80361414 0035E374 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80361418 0035E378 C0 21 00 A4 */ lfs f1, 0xa4(r1) -/* 8036141C 0035E37C 38 A1 01 34 */ addi r5, r1, 0x134 -/* 80361420 0035E380 C0 01 00 A8 */ lfs f0, 0xa8(r1) -/* 80361424 0035E384 EC 85 00 B2 */ fmuls f4, f5, f2 -/* 80361428 0035E388 C0 C1 00 AC */ lfs f6, 0xac(r1) -/* 8036142C 0035E38C EC 45 00 72 */ fmuls f2, f5, f1 -/* 80361430 0035E390 C0 61 00 B0 */ lfs f3, 0xb0(r1) -/* 80361434 0035E394 EC 05 00 32 */ fmuls f0, f5, f0 -/* 80361438 0035E398 C0 21 00 B4 */ lfs f1, 0xb4(r1) -/* 8036143C 0035E39C EC 86 20 2A */ fadds f4, f6, f4 -/* 80361440 0035E3A0 7C 65 02 15 */ add. r3, r5, r0 -/* 80361444 0035E3A4 EC 43 10 2A */ fadds f2, f3, f2 -/* 80361448 0035E3A8 EC 01 00 2A */ fadds f0, f1, f0 -/* 8036144C 0035E3AC 41 82 00 10 */ beq lbl_8036145C -/* 80361450 0035E3B0 D0 83 00 00 */ stfs f4, 0(r3) -/* 80361454 0035E3B4 D0 43 00 04 */ stfs f2, 4(r3) -/* 80361458 0035E3B8 D0 03 00 08 */ stfs f0, 8(r3) -lbl_8036145C: -/* 8036145C 0035E3BC 80 61 01 30 */ lwz r3, 0x130(r1) -/* 80361460 0035E3C0 C0 21 00 AC */ lfs f1, 0xac(r1) -/* 80361464 0035E3C4 38 63 00 01 */ addi r3, r3, 1 -/* 80361468 0035E3C8 C0 01 00 A0 */ lfs f0, 0xa0(r1) -/* 8036146C 0035E3CC 1C 03 00 0C */ mulli r0, r3, 0xc -/* 80361470 0035E3D0 C0 61 00 B0 */ lfs f3, 0xb0(r1) -/* 80361474 0035E3D4 C0 41 00 A4 */ lfs f2, 0xa4(r1) -/* 80361478 0035E3D8 EC 81 00 2A */ fadds f4, f1, f0 -/* 8036147C 0035E3DC C0 21 00 B4 */ lfs f1, 0xb4(r1) -/* 80361480 0035E3E0 C0 01 00 A8 */ lfs f0, 0xa8(r1) -/* 80361484 0035E3E4 EC 43 10 2A */ fadds f2, f3, f2 -/* 80361488 0035E3E8 7C 85 02 15 */ add. r4, r5, r0 -/* 8036148C 0035E3EC EC 01 00 2A */ fadds f0, f1, f0 -/* 80361490 0035E3F0 90 61 01 30 */ stw r3, 0x130(r1) -/* 80361494 0035E3F4 41 82 00 10 */ beq lbl_803614A4 -/* 80361498 0035E3F8 D0 84 00 00 */ stfs f4, 0(r4) -/* 8036149C 0035E3FC D0 44 00 04 */ stfs f2, 4(r4) -/* 803614A0 0035E400 D0 04 00 08 */ stfs f0, 8(r4) -lbl_803614A4: -/* 803614A4 0035E404 80 61 01 30 */ lwz r3, 0x130(r1) -/* 803614A8 0035E408 38 63 00 01 */ addi r3, r3, 1 -/* 803614AC 0035E40C 1C 03 00 0C */ mulli r0, r3, 0xc -/* 803614B0 0035E410 90 61 01 30 */ stw r3, 0x130(r1) -/* 803614B4 0035E414 7C 65 02 15 */ add. r3, r5, r0 -/* 803614B8 0035E418 41 82 00 1C */ beq lbl_803614D4 -/* 803614BC 0035E41C C0 01 00 AC */ lfs f0, 0xac(r1) -/* 803614C0 0035E420 C0 21 00 B0 */ lfs f1, 0xb0(r1) -/* 803614C4 0035E424 D0 03 00 00 */ stfs f0, 0(r3) -/* 803614C8 0035E428 C0 01 00 B4 */ lfs f0, 0xb4(r1) -/* 803614CC 0035E42C D0 23 00 04 */ stfs f1, 4(r3) -/* 803614D0 0035E430 D0 03 00 08 */ stfs f0, 8(r3) -lbl_803614D4: -/* 803614D4 0035E434 80 61 01 30 */ lwz r3, 0x130(r1) -/* 803614D8 0035E438 38 03 00 01 */ addi r0, r3, 1 -/* 803614DC 0035E43C 90 01 01 30 */ stw r0, 0x130(r1) -/* 803614E0 0035E440 48 00 00 3C */ b lbl_8036151C -lbl_803614E4: -/* 803614E4 0035E444 80 01 01 30 */ lwz r0, 0x130(r1) -/* 803614E8 0035E448 38 61 01 34 */ addi r3, r1, 0x134 -/* 803614EC 0035E44C 1C 00 00 0C */ mulli r0, r0, 0xc -/* 803614F0 0035E450 7C 63 02 15 */ add. r3, r3, r0 -/* 803614F4 0035E454 41 82 00 1C */ beq lbl_80361510 -/* 803614F8 0035E458 C0 01 00 AC */ lfs f0, 0xac(r1) -/* 803614FC 0035E45C C0 21 00 B0 */ lfs f1, 0xb0(r1) -/* 80361500 0035E460 D0 03 00 00 */ stfs f0, 0(r3) -/* 80361504 0035E464 C0 01 00 B4 */ lfs f0, 0xb4(r1) -/* 80361508 0035E468 D0 23 00 04 */ stfs f1, 4(r3) -/* 8036150C 0035E46C D0 03 00 08 */ stfs f0, 8(r3) -lbl_80361510: -/* 80361510 0035E470 80 61 01 30 */ lwz r3, 0x130(r1) -/* 80361514 0035E474 38 03 00 01 */ addi r0, r3, 1 -/* 80361518 0035E478 90 01 01 30 */ stw r0, 0x130(r1) -lbl_8036151C: -/* 8036151C 0035E47C 80 01 01 30 */ lwz r0, 0x130(r1) -/* 80361520 0035E480 2C 00 00 04 */ cmpwi r0, 4 -/* 80361524 0035E484 40 82 00 F4 */ bne lbl_80361618 -/* 80361528 0035E488 80 7E 01 50 */ lwz r3, 0x150(r30) -/* 8036152C 0035E48C 3B 61 01 34 */ addi r27, r1, 0x134 -/* 80361530 0035E490 3C 00 43 30 */ lis r0, 0x4330 -/* 80361534 0035E494 C8 42 CD 58 */ lfd f2, lbl_805AEA78@sda21(r2) -/* 80361538 0035E498 3B 43 FF FF */ addi r26, r3, -1 -/* 8036153C 0035E49C 90 01 01 68 */ stw r0, 0x168(r1) -/* 80361540 0035E4A0 6F 43 80 00 */ xoris r3, r26, 0x8000 -/* 80361544 0035E4A4 C0 62 CD 48 */ lfs f3, lbl_805AEA68@sda21(r2) -/* 80361548 0035E4A8 90 61 01 6C */ stw r3, 0x16c(r1) -/* 8036154C 0035E4AC 3B 3B 00 24 */ addi r25, r27, 0x24 -/* 80361550 0035E4B0 80 7E 04 2C */ lwz r3, 0x42c(r30) -/* 80361554 0035E4B4 3B BB 00 0C */ addi r29, r27, 0xc -/* 80361558 0035E4B8 C8 21 01 68 */ lfd f1, 0x168(r1) -/* 8036155C 0035E4BC 3B FB 00 18 */ addi r31, r27, 0x18 -/* 80361560 0035E4C0 C0 01 01 34 */ lfs f0, 0x134(r1) -/* 80361564 0035E4C4 3B 00 00 01 */ li r24, 1 -/* 80361568 0035E4C8 EC 21 10 28 */ fsubs f1, f1, f2 -/* 8036156C 0035E4CC 3B 80 00 0C */ li r28, 0xc -/* 80361570 0035E4D0 D0 03 00 00 */ stfs f0, 0(r3) -/* 80361574 0035E4D4 EF 43 08 24 */ fdivs f26, f3, f1 -/* 80361578 0035E4D8 C0 01 01 38 */ lfs f0, 0x138(r1) -/* 8036157C 0035E4DC D0 03 00 04 */ stfs f0, 4(r3) -/* 80361580 0035E4E0 C0 01 01 3C */ lfs f0, 0x13c(r1) -/* 80361584 0035E4E4 D0 03 00 08 */ stfs f0, 8(r3) -/* 80361588 0035E4E8 FF 60 D0 90 */ fmr f27, f26 -/* 8036158C 0035E4EC 48 00 00 5C */ b lbl_803615E8 -lbl_80361590: -/* 80361590 0035E4F0 C0 22 CD 70 */ lfs f1, lbl_805AEA90@sda21(r2) -/* 80361594 0035E4F4 38 7E 01 4C */ addi r3, r30, 0x14c -/* 80361598 0035E4F8 C0 42 CD 74 */ lfs f2, lbl_805AEA94@sda21(r2) -/* 8036159C 0035E4FC 4B FB 0F A9 */ bl Range__9CRandom16Fff -/* 803615A0 0035E500 EC 3A D8 7A */ fmadds f1, f26, f1, f27 -/* 803615A4 0035E504 7F 64 DB 78 */ mr r4, r27 -/* 803615A8 0035E508 7F A5 EB 78 */ mr r5, r29 -/* 803615AC 0035E50C 7F E6 FB 78 */ mr r6, r31 -/* 803615B0 0035E510 7F 27 CB 78 */ mr r7, r25 -/* 803615B4 0035E514 38 61 00 60 */ addi r3, r1, 0x60 -/* 803615B8 0035E518 4B FB 39 61 */ bl GetBezierPoint__5CMathFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ff -/* 803615BC 0035E51C 80 1E 04 2C */ lwz r0, 0x42c(r30) -/* 803615C0 0035E520 EF 7B D0 2A */ fadds f27, f27, f26 -/* 803615C4 0035E524 C0 21 00 64 */ lfs f1, 0x64(r1) -/* 803615C8 0035E528 3B 18 00 01 */ addi r24, r24, 1 -/* 803615CC 0035E52C 7C 60 E2 14 */ add r3, r0, r28 -/* 803615D0 0035E530 C0 41 00 68 */ lfs f2, 0x68(r1) -/* 803615D4 0035E534 C0 01 00 60 */ lfs f0, 0x60(r1) -/* 803615D8 0035E538 3B 9C 00 0C */ addi r28, r28, 0xc -/* 803615DC 0035E53C D0 03 00 00 */ stfs f0, 0(r3) -/* 803615E0 0035E540 D0 23 00 04 */ stfs f1, 4(r3) -/* 803615E4 0035E544 D0 43 00 08 */ stfs f2, 8(r3) -lbl_803615E8: -/* 803615E8 0035E548 7C 18 D0 00 */ cmpw r24, r26 -/* 803615EC 0035E54C 41 80 FF A4 */ blt lbl_80361590 -/* 803615F0 0035E550 1C 1A 00 0C */ mulli r0, r26, 0xc -/* 803615F4 0035E554 80 7E 04 2C */ lwz r3, 0x42c(r30) -/* 803615F8 0035E558 C0 19 00 00 */ lfs f0, 0(r25) -/* 803615FC 0035E55C 7C 63 02 14 */ add r3, r3, r0 -/* 80361600 0035E560 D0 03 00 00 */ stfs f0, 0(r3) -/* 80361604 0035E564 C0 19 00 04 */ lfs f0, 4(r25) -/* 80361608 0035E568 D0 03 00 04 */ stfs f0, 4(r3) -/* 8036160C 0035E56C C0 19 00 08 */ lfs f0, 8(r25) -/* 80361610 0035E570 D0 03 00 08 */ stfs f0, 8(r3) -/* 80361614 0035E574 48 00 01 14 */ b lbl_80361728 -lbl_80361618: -/* 80361618 0035E578 80 7E 04 2C */ lwz r3, 0x42c(r30) -/* 8036161C 0035E57C 3C 00 43 30 */ lis r0, 0x4330 -/* 80361620 0035E580 C0 01 00 C4 */ lfs f0, 0xc4(r1) -/* 80361624 0035E584 3B 00 00 01 */ li r24, 1 -/* 80361628 0035E588 90 01 01 68 */ stw r0, 0x168(r1) -/* 8036162C 0035E58C 3B 80 00 0C */ li r28, 0xc -/* 80361630 0035E590 C8 A2 CD 58 */ lfd f5, lbl_805AEA78@sda21(r2) -/* 80361634 0035E594 D0 03 00 00 */ stfs f0, 0(r3) -/* 80361638 0035E598 C0 C2 CD 48 */ lfs f6, lbl_805AEA68@sda21(r2) -/* 8036163C 0035E59C C0 01 00 C8 */ lfs f0, 0xc8(r1) -/* 80361640 0035E5A0 D0 03 00 04 */ stfs f0, 4(r3) -/* 80361644 0035E5A4 C0 01 00 CC */ lfs f0, 0xcc(r1) -/* 80361648 0035E5A8 D0 03 00 08 */ stfs f0, 8(r3) -/* 8036164C 0035E5AC 80 7E 01 50 */ lwz r3, 0x150(r30) -/* 80361650 0035E5B0 80 9E 04 2C */ lwz r4, 0x42c(r30) -/* 80361654 0035E5B4 3B 23 FF FF */ addi r25, r3, -1 -/* 80361658 0035E5B8 C0 21 00 AC */ lfs f1, 0xac(r1) -/* 8036165C 0035E5BC 6F 20 80 00 */ xoris r0, r25, 0x8000 -/* 80361660 0035E5C0 C0 01 00 C4 */ lfs f0, 0xc4(r1) -/* 80361664 0035E5C4 90 01 01 6C */ stw r0, 0x16c(r1) -/* 80361668 0035E5C8 C0 61 00 B0 */ lfs f3, 0xb0(r1) -/* 8036166C 0035E5CC EC 81 00 28 */ fsubs f4, f1, f0 -/* 80361670 0035E5D0 C8 01 01 68 */ lfd f0, 0x168(r1) -/* 80361674 0035E5D4 C0 41 00 C8 */ lfs f2, 0xc8(r1) -/* 80361678 0035E5D8 EC A0 28 28 */ fsubs f5, f0, f5 -/* 8036167C 0035E5DC C0 21 00 B4 */ lfs f1, 0xb4(r1) -/* 80361680 0035E5E0 C0 01 00 CC */ lfs f0, 0xcc(r1) -/* 80361684 0035E5E4 EC 43 10 28 */ fsubs f2, f3, f2 -/* 80361688 0035E5E8 C3 C4 00 00 */ lfs f30, 0(r4) -/* 8036168C 0035E5EC EC 66 28 24 */ fdivs f3, f6, f5 -/* 80361690 0035E5F0 C3 E4 00 04 */ lfs f31, 4(r4) -/* 80361694 0035E5F4 C3 44 00 08 */ lfs f26, 8(r4) -/* 80361698 0035E5F8 EC 01 00 28 */ fsubs f0, f1, f0 -/* 8036169C 0035E5FC EF A3 01 32 */ fmuls f29, f3, f4 -/* 803616A0 0035E600 EF 83 00 B2 */ fmuls f28, f3, f2 -/* 803616A4 0035E604 EF 63 00 32 */ fmuls f27, f3, f0 -/* 803616A8 0035E608 48 00 00 54 */ b lbl_803616FC -lbl_803616AC: -/* 803616AC 0035E60C C0 22 CD 70 */ lfs f1, lbl_805AEA90@sda21(r2) -/* 803616B0 0035E610 38 7E 01 4C */ addi r3, r30, 0x14c -/* 803616B4 0035E614 C0 42 CD 74 */ lfs f2, lbl_805AEA94@sda21(r2) -/* 803616B8 0035E618 4B FB 0E 8D */ bl Range__9CRandom16Fff -/* 803616BC 0035E61C EC 61 07 72 */ fmuls f3, f1, f29 -/* 803616C0 0035E620 80 1E 04 2C */ lwz r0, 0x42c(r30) -/* 803616C4 0035E624 EC 01 06 F2 */ fmuls f0, f1, f27 -/* 803616C8 0035E628 3B 18 00 01 */ addi r24, r24, 1 -/* 803616CC 0035E62C EC 41 07 32 */ fmuls f2, f1, f28 -/* 803616D0 0035E630 7C 60 E2 14 */ add r3, r0, r28 -/* 803616D4 0035E634 EC 7E 18 2A */ fadds f3, f30, f3 -/* 803616D8 0035E638 3B 9C 00 0C */ addi r28, r28, 0xc -/* 803616DC 0035E63C EC 3F 10 2A */ fadds f1, f31, f2 -/* 803616E0 0035E640 EC 1A 00 2A */ fadds f0, f26, f0 -/* 803616E4 0035E644 D0 63 00 00 */ stfs f3, 0(r3) -/* 803616E8 0035E648 EF DE E8 2A */ fadds f30, f30, f29 -/* 803616EC 0035E64C EF FF E0 2A */ fadds f31, f31, f28 -/* 803616F0 0035E650 D0 23 00 04 */ stfs f1, 4(r3) -/* 803616F4 0035E654 EF 5A D8 2A */ fadds f26, f26, f27 -/* 803616F8 0035E658 D0 03 00 08 */ stfs f0, 8(r3) -lbl_803616FC: -/* 803616FC 0035E65C 7C 18 C8 00 */ cmpw r24, r25 -/* 80361700 0035E660 41 80 FF AC */ blt lbl_803616AC -/* 80361704 0035E664 1C 19 00 0C */ mulli r0, r25, 0xc -/* 80361708 0035E668 80 7E 04 2C */ lwz r3, 0x42c(r30) -/* 8036170C 0035E66C C0 01 00 AC */ lfs f0, 0xac(r1) -/* 80361710 0035E670 7C 63 02 14 */ add r3, r3, r0 -/* 80361714 0035E674 D0 03 00 00 */ stfs f0, 0(r3) -/* 80361718 0035E678 C0 01 00 B0 */ lfs f0, 0xb0(r1) -/* 8036171C 0035E67C D0 03 00 04 */ stfs f0, 4(r3) -/* 80361720 0035E680 C0 01 00 B4 */ lfs f0, 0xb4(r1) -/* 80361724 0035E684 D0 03 00 08 */ stfs f0, 8(r3) -lbl_80361728: -/* 80361728 0035E688 C0 02 CD 54 */ lfs f0, lbl_805AEA74@sda21(r2) -/* 8036172C 0035E68C 38 A0 00 00 */ li r5, 0 -/* 80361730 0035E690 38 80 00 00 */ li r4, 0 -/* 80361734 0035E694 48 00 00 14 */ b lbl_80361748 -lbl_80361738: -/* 80361738 0035E698 80 7E 04 3C */ lwz r3, 0x43c(r30) -/* 8036173C 0035E69C 38 A5 00 01 */ addi r5, r5, 1 -/* 80361740 0035E6A0 7C 03 25 2E */ stfsx f0, r3, r4 -/* 80361744 0035E6A4 38 84 00 04 */ addi r4, r4, 4 -lbl_80361748: -/* 80361748 0035E6A8 80 1E 01 50 */ lwz r0, 0x150(r30) -/* 8036174C 0035E6AC 7C 05 00 00 */ cmpw r5, r0 -/* 80361750 0035E6B0 41 80 FF E8 */ blt lbl_80361738 -/* 80361754 0035E6B4 C0 02 CD 48 */ lfs f0, lbl_805AEA68@sda21(r2) -/* 80361758 0035E6B8 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 8036175C 0035E6BC 80 7E 00 24 */ lwz r3, 0x24(r30) -/* 80361760 0035E6C0 80 63 00 20 */ lwz r3, 0x20(r3) -/* 80361764 0035E6C4 28 03 00 00 */ cmplwi r3, 0 -/* 80361768 0035E6C8 41 82 00 2C */ beq lbl_80361794 -/* 8036176C 0035E6CC 81 83 00 00 */ lwz r12, 0(r3) -/* 80361770 0035E6D0 38 A1 00 10 */ addi r5, r1, 0x10 -/* 80361774 0035E6D4 80 9E 00 28 */ lwz r4, 0x28(r30) -/* 80361778 0035E6D8 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8036177C 0035E6DC 7D 89 03 A6 */ mtctr r12 -/* 80361780 0035E6E0 4E 80 04 21 */ bctrl -/* 80361784 0035E6E4 C0 21 00 10 */ lfs f1, 0x10(r1) -/* 80361788 0035E6E8 C0 02 CD 6C */ lfs f0, lbl_805AEA8C@sda21(r2) -/* 8036178C 0035E6EC EC 01 00 32 */ fmuls f0, f1, f0 -/* 80361790 0035E6F0 D0 01 00 10 */ stfs f0, 0x10(r1) -lbl_80361794: -/* 80361794 0035E6F4 C0 02 CD 54 */ lfs f0, lbl_805AEA74@sda21(r2) -/* 80361798 0035E6F8 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 8036179C 0035E6FC 80 7E 00 24 */ lwz r3, 0x24(r30) -/* 803617A0 0035E700 80 63 00 24 */ lwz r3, 0x24(r3) -/* 803617A4 0035E704 28 03 00 00 */ cmplwi r3, 0 -/* 803617A8 0035E708 41 82 00 1C */ beq lbl_803617C4 -/* 803617AC 0035E70C 81 83 00 00 */ lwz r12, 0(r3) -/* 803617B0 0035E710 38 A1 00 0C */ addi r5, r1, 0xc -/* 803617B4 0035E714 80 9E 00 28 */ lwz r4, 0x28(r30) -/* 803617B8 0035E718 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 803617BC 0035E71C 7D 89 03 A6 */ mtctr r12 -/* 803617C0 0035E720 4E 80 04 21 */ bctrl -lbl_803617C4: -/* 803617C4 0035E724 80 BE 04 24 */ lwz r5, 0x424(r30) -/* 803617C8 0035E728 7F C3 F3 78 */ mr r3, r30 -/* 803617CC 0035E72C C0 21 00 10 */ lfs f1, 0x10(r1) -/* 803617D0 0035E730 38 80 00 00 */ li r4, 0 -/* 803617D4 0035E734 C0 41 00 0C */ lfs f2, 0xc(r1) -/* 803617D8 0035E738 38 A5 FF FF */ addi r5, r5, -1 -/* 803617DC 0035E73C 4B FF F7 19 */ bl CalculateFractal__17CParticleElectricFiiff -/* 803617E0 0035E740 80 BE 04 2C */ lwz r5, 0x42c(r30) -/* 803617E4 0035E744 3C 60 80 5A */ lis r3, lbl_805A66F4@ha -/* 803617E8 0035E748 38 83 66 F4 */ addi r4, r3, lbl_805A66F4@l -/* 803617EC 0035E74C 38 61 00 94 */ addi r3, r1, 0x94 -/* 803617F0 0035E750 C0 05 00 04 */ lfs f0, 4(r5) -/* 803617F4 0035E754 C0 A5 00 10 */ lfs f5, 0x10(r5) -/* 803617F8 0035E758 C0 25 00 08 */ lfs f1, 8(r5) -/* 803617FC 0035E75C C0 85 00 14 */ lfs f4, 0x14(r5) -/* 80361800 0035E760 EC 40 28 28 */ fsubs f2, f0, f5 -/* 80361804 0035E764 C0 05 00 00 */ lfs f0, 0(r5) -/* 80361808 0035E768 C0 65 00 0C */ lfs f3, 0xc(r5) -/* 8036180C 0035E76C EC 21 20 28 */ fsubs f1, f1, f4 -/* 80361810 0035E770 C3 A4 00 00 */ lfs f29, 0(r4) -/* 80361814 0035E774 EC 00 18 28 */ fsubs f0, f0, f3 -/* 80361818 0035E778 D0 41 00 98 */ stfs f2, 0x98(r1) -/* 8036181C 0035E77C C3 84 00 04 */ lfs f28, 4(r4) -/* 80361820 0035E780 D0 21 00 9C */ stfs f1, 0x9c(r1) -/* 80361824 0035E784 C3 64 00 08 */ lfs f27, 8(r4) -/* 80361828 0035E788 D0 01 00 94 */ stfs f0, 0x94(r1) -/* 8036182C 0035E78C 80 9E 04 24 */ lwz r4, 0x424(r30) -/* 80361830 0035E790 38 04 FF FF */ addi r0, r4, -1 -/* 80361834 0035E794 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80361838 0035E798 7C 85 02 14 */ add r4, r5, r0 -/* 8036183C 0035E79C C0 44 00 04 */ lfs f2, 4(r4) -/* 80361840 0035E7A0 C0 24 00 08 */ lfs f1, 8(r4) -/* 80361844 0035E7A4 C0 04 00 00 */ lfs f0, 0(r4) -/* 80361848 0035E7A8 EC 42 28 28 */ fsubs f2, f2, f5 -/* 8036184C 0035E7AC EC 21 20 28 */ fsubs f1, f1, f4 -/* 80361850 0035E7B0 EC 00 18 28 */ fsubs f0, f0, f3 -/* 80361854 0035E7B4 D0 41 00 8C */ stfs f2, 0x8c(r1) -/* 80361858 0035E7B8 D0 01 00 88 */ stfs f0, 0x88(r1) -/* 8036185C 0035E7BC D0 21 00 90 */ stfs f1, 0x90(r1) -/* 80361860 0035E7C0 4B FB 2E 99 */ bl CanBeNormalized__9CVector3fCFv -/* 80361864 0035E7C4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80361868 0035E7C8 41 82 00 F0 */ beq lbl_80361958 -/* 8036186C 0035E7CC 38 61 00 88 */ addi r3, r1, 0x88 -/* 80361870 0035E7D0 4B FB 2E 89 */ bl CanBeNormalized__9CVector3fCFv -/* 80361874 0035E7D4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80361878 0035E7D8 41 82 00 E0 */ beq lbl_80361958 -/* 8036187C 0035E7DC 38 61 00 94 */ addi r3, r1, 0x94 -/* 80361880 0035E7E0 4B FB 30 79 */ bl Normalize__9CVector3fFv -/* 80361884 0035E7E4 38 61 00 88 */ addi r3, r1, 0x88 -/* 80361888 0035E7E8 4B FB 30 71 */ bl Normalize__9CVector3fFv -/* 8036188C 0035E7EC C0 21 00 98 */ lfs f1, 0x98(r1) -/* 80361890 0035E7F0 C0 01 00 8C */ lfs f0, 0x8c(r1) -/* 80361894 0035E7F4 C0 41 00 94 */ lfs f2, 0x94(r1) -/* 80361898 0035E7F8 EC 01 00 32 */ fmuls f0, f1, f0 -/* 8036189C 0035E7FC C0 21 00 88 */ lfs f1, 0x88(r1) -/* 803618A0 0035E800 C0 81 00 9C */ lfs f4, 0x9c(r1) -/* 803618A4 0035E804 C0 61 00 90 */ lfs f3, 0x90(r1) -/* 803618A8 0035E808 EC 22 00 7A */ fmadds f1, f2, f1, f0 -/* 803618AC 0035E80C C0 02 CD 54 */ lfs f0, lbl_805AEA74@sda21(r2) -/* 803618B0 0035E810 EC 44 08 FA */ fmadds f2, f4, f3, f1 -/* 803618B4 0035E814 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 803618B8 0035E818 40 80 00 08 */ bge lbl_803618C0 -/* 803618BC 0035E81C FC 40 10 50 */ fneg f2, f2 -lbl_803618C0: -/* 803618C0 0035E820 C0 22 CD 48 */ lfs f1, lbl_805AEA68@sda21(r2) -/* 803618C4 0035E824 C0 02 CD 78 */ lfs f0, lbl_805AEA98@sda21(r2) -/* 803618C8 0035E828 EC 22 08 28 */ fsubs f1, f2, f1 -/* 803618CC 0035E82C FC 20 0A 10 */ fabs f1, f1 -/* 803618D0 0035E830 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 803618D4 0035E834 40 80 00 2C */ bge lbl_80361900 -/* 803618D8 0035E838 80 9E 04 2C */ lwz r4, 0x42c(r30) -/* 803618DC 0035E83C 3C 60 80 5A */ lis r3, lbl_805A66F4@ha -/* 803618E0 0035E840 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l -/* 803618E4 0035E844 38 61 01 00 */ addi r3, r1, 0x100 -/* 803618E8 0035E848 38 A4 00 0C */ addi r5, r4, 0xc -/* 803618EC 0035E84C 4B FB 22 25 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f -/* 803618F0 0035E850 C3 A1 01 08 */ lfs f29, 0x108(r1) -/* 803618F4 0035E854 C3 81 01 18 */ lfs f28, 0x118(r1) -/* 803618F8 0035E858 C3 61 01 28 */ lfs f27, 0x128(r1) -/* 803618FC 0035E85C 48 00 00 C0 */ b lbl_803619BC -lbl_80361900: -/* 80361900 0035E860 C0 61 00 98 */ lfs f3, 0x98(r1) -/* 80361904 0035E864 38 61 00 54 */ addi r3, r1, 0x54 -/* 80361908 0035E868 C0 C1 00 88 */ lfs f6, 0x88(r1) -/* 8036190C 0035E86C 38 81 00 48 */ addi r4, r1, 0x48 -/* 80361910 0035E870 C0 81 00 9C */ lfs f4, 0x9c(r1) -/* 80361914 0035E874 C0 21 00 8C */ lfs f1, 0x8c(r1) -/* 80361918 0035E878 EC 06 00 F2 */ fmuls f0, f6, f3 -/* 8036191C 0035E87C C0 E1 00 94 */ lfs f7, 0x94(r1) -/* 80361920 0035E880 C0 A1 00 90 */ lfs f5, 0x90(r1) -/* 80361924 0035E884 EC 41 01 32 */ fmuls f2, f1, f4 -/* 80361928 0035E888 EC 07 00 78 */ fmsubs f0, f7, f1, f0 -/* 8036192C 0035E88C EC 25 01 F2 */ fmuls f1, f5, f7 -/* 80361930 0035E890 EC 43 11 78 */ fmsubs f2, f3, f5, f2 -/* 80361934 0035E894 D0 01 00 50 */ stfs f0, 0x50(r1) -/* 80361938 0035E898 EC 04 09 B8 */ fmsubs f0, f4, f6, f1 -/* 8036193C 0035E89C D0 41 00 48 */ stfs f2, 0x48(r1) -/* 80361940 0035E8A0 D0 01 00 4C */ stfs f0, 0x4c(r1) -/* 80361944 0035E8A4 4B FB 2F 0D */ bl AsNormalized__9CVector3fCFv -/* 80361948 0035E8A8 C3 A1 00 54 */ lfs f29, 0x54(r1) -/* 8036194C 0035E8AC C3 81 00 58 */ lfs f28, 0x58(r1) -/* 80361950 0035E8B0 C3 61 00 5C */ lfs f27, 0x5c(r1) -/* 80361954 0035E8B4 48 00 00 68 */ b lbl_803619BC -lbl_80361958: -/* 80361958 0035E8B8 80 9E 04 2C */ lwz r4, 0x42c(r30) -/* 8036195C 0035E8BC 38 00 00 00 */ li r0, 0 -/* 80361960 0035E8C0 38 A4 00 0C */ addi r5, r4, 0xc -/* 80361964 0035E8C4 C0 24 00 00 */ lfs f1, 0(r4) -/* 80361968 0035E8C8 C0 04 00 0C */ lfs f0, 0xc(r4) -/* 8036196C 0035E8CC FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80361970 0035E8D0 40 82 00 28 */ bne lbl_80361998 -/* 80361974 0035E8D4 C0 24 00 04 */ lfs f1, 4(r4) -/* 80361978 0035E8D8 C0 05 00 04 */ lfs f0, 4(r5) -/* 8036197C 0035E8DC FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80361980 0035E8E0 40 82 00 18 */ bne lbl_80361998 -/* 80361984 0035E8E4 C0 24 00 08 */ lfs f1, 8(r4) -/* 80361988 0035E8E8 C0 05 00 08 */ lfs f0, 8(r5) -/* 8036198C 0035E8EC FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80361990 0035E8F0 40 82 00 08 */ bne lbl_80361998 -/* 80361994 0035E8F4 38 00 00 01 */ li r0, 1 -lbl_80361998: -/* 80361998 0035E8F8 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 8036199C 0035E8FC 40 82 00 20 */ bne lbl_803619BC -/* 803619A0 0035E900 3C 60 80 5A */ lis r3, lbl_805A66F4@ha -/* 803619A4 0035E904 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l -/* 803619A8 0035E908 38 61 00 D0 */ addi r3, r1, 0xd0 -/* 803619AC 0035E90C 4B FB 21 65 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f -/* 803619B0 0035E910 C3 A1 00 D8 */ lfs f29, 0xd8(r1) -/* 803619B4 0035E914 C3 81 00 E8 */ lfs f28, 0xe8(r1) -/* 803619B8 0035E918 C3 61 00 F8 */ lfs f27, 0xf8(r1) -lbl_803619BC: -/* 803619BC 0035E91C C0 22 CD 54 */ lfs f1, lbl_805AEA74@sda21(r2) -/* 803619C0 0035E920 38 7E 01 4C */ addi r3, r30, 0x14c -/* 803619C4 0035E924 C0 42 CD 7C */ lfs f2, lbl_805AEA9C@sda21(r2) -/* 803619C8 0035E928 4B FB 0B 7D */ bl Range__9CRandom16Fff -/* 803619CC 0035E92C FF C0 08 90 */ fmr f30, f1 -/* 803619D0 0035E930 C3 E2 CD 54 */ lfs f31, lbl_805AEA74@sda21(r2) -/* 803619D4 0035E934 3B E0 00 01 */ li r31, 1 -/* 803619D8 0035E938 3B 80 00 0C */ li r28, 0xc -/* 803619DC 0035E93C 3B 60 00 04 */ li r27, 4 -/* 803619E0 0035E940 48 00 01 44 */ b lbl_80361B24 -lbl_803619E4: -/* 803619E4 0035E944 38 1F FF FF */ addi r0, r31, -1 -/* 803619E8 0035E948 80 BE 04 2C */ lwz r5, 0x42c(r30) -/* 803619EC 0035E94C 1C 60 00 0C */ mulli r3, r0, 0xc -/* 803619F0 0035E950 38 00 00 00 */ li r0, 0 -/* 803619F4 0035E954 7C 85 E2 14 */ add r4, r5, r28 -/* 803619F8 0035E958 C0 24 00 00 */ lfs f1, 0(r4) -/* 803619FC 0035E95C 7C 65 1A 14 */ add r3, r5, r3 -/* 80361A00 0035E960 C0 84 00 04 */ lfs f4, 4(r4) -/* 80361A04 0035E964 C0 03 00 00 */ lfs f0, 0(r3) -/* 80361A08 0035E968 C0 63 00 04 */ lfs f3, 4(r3) -/* 80361A0C 0035E96C EC 01 00 28 */ fsubs f0, f1, f0 -/* 80361A10 0035E970 C0 44 00 08 */ lfs f2, 8(r4) -/* 80361A14 0035E974 C0 23 00 08 */ lfs f1, 8(r3) -/* 80361A18 0035E978 EC 64 18 28 */ fsubs f3, f4, f3 -/* 80361A1C 0035E97C EC 22 08 28 */ fsubs f1, f2, f1 -/* 80361A20 0035E980 D0 01 00 7C */ stfs f0, 0x7c(r1) -/* 80361A24 0035E984 FC 1F 00 00 */ fcmpu cr0, f31, f0 -/* 80361A28 0035E988 D0 61 00 80 */ stfs f3, 0x80(r1) -/* 80361A2C 0035E98C D0 21 00 84 */ stfs f1, 0x84(r1) -/* 80361A30 0035E990 40 82 00 14 */ bne lbl_80361A44 -/* 80361A34 0035E994 FC 1F 18 00 */ fcmpu cr0, f31, f3 -/* 80361A38 0035E998 40 82 00 0C */ bne lbl_80361A44 -/* 80361A3C 0035E99C FC 1F 08 00 */ fcmpu cr0, f31, f1 -/* 80361A40 0035E9A0 41 82 00 08 */ beq lbl_80361A48 -lbl_80361A44: -/* 80361A44 0035E9A4 38 00 00 01 */ li r0, 1 -lbl_80361A48: -/* 80361A48 0035E9A8 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 80361A4C 0035E9AC 41 82 00 CC */ beq lbl_80361B18 -/* 80361A50 0035E9B0 83 BE 04 3C */ lwz r29, 0x43c(r30) -/* 80361A54 0035E9B4 38 7E 01 4C */ addi r3, r30, 0x14c -/* 80361A58 0035E9B8 C0 22 CD 84 */ lfs f1, lbl_805AEAA4@sda21(r2) -/* 80361A5C 0035E9BC C0 42 CD 48 */ lfs f2, lbl_805AEA68@sda21(r2) -/* 80361A60 0035E9C0 4B FB 0A E5 */ bl Range__9CRandom16Fff -/* 80361A64 0035E9C4 7C 5D DC 2E */ lfsx f2, r29, r27 -/* 80361A68 0035E9C8 38 61 00 2C */ addi r3, r1, 0x2c -/* 80361A6C 0035E9CC C0 01 00 10 */ lfs f0, 0x10(r1) -/* 80361A70 0035E9D0 38 81 00 7C */ addi r4, r1, 0x7c -/* 80361A74 0035E9D4 C0 62 CD 80 */ lfs f3, lbl_805AEAA0@sda21(r2) -/* 80361A78 0035E9D8 EC 02 00 24 */ fdivs f0, f2, f0 -/* 80361A7C 0035E9DC C0 42 CD 88 */ lfs f2, lbl_805AEAA8@sda21(r2) -/* 80361A80 0035E9E0 EC 03 00 32 */ fmuls f0, f3, f0 -/* 80361A84 0035E9E4 EC 00 00 72 */ fmuls f0, f0, f1 -/* 80361A88 0035E9E8 EC 00 F0 2A */ fadds f0, f0, f30 -/* 80361A8C 0035E9EC EC 02 00 32 */ fmuls f0, f2, f0 -/* 80361A90 0035E9F0 D0 01 00 08 */ stfs f0, 8(r1) -/* 80361A94 0035E9F4 4B FB 23 3D */ bl __ct__11CUnitVectorFRC9CVector3f -/* 80361A98 0035E9F8 7C 64 1B 78 */ mr r4, r3 -/* 80361A9C 0035E9FC 38 61 00 38 */ addi r3, r1, 0x38 -/* 80361AA0 0035EA00 38 A1 00 08 */ addi r5, r1, 8 -/* 80361AA4 0035EA04 4B FA F8 51 */ bl AxisAngle__11CQuaternionFRC13CUnitVector3fRC9CRelAngle -/* 80361AA8 0035EA08 C0 61 00 38 */ lfs f3, 0x38(r1) -/* 80361AAC 0035EA0C 38 61 00 20 */ addi r3, r1, 0x20 -/* 80361AB0 0035EA10 C0 41 00 3C */ lfs f2, 0x3c(r1) -/* 80361AB4 0035EA14 38 81 00 6C */ addi r4, r1, 0x6c -/* 80361AB8 0035EA18 C0 21 00 40 */ lfs f1, 0x40(r1) -/* 80361ABC 0035EA1C 38 A1 00 14 */ addi r5, r1, 0x14 -/* 80361AC0 0035EA20 C0 01 00 44 */ lfs f0, 0x44(r1) -/* 80361AC4 0035EA24 D0 61 00 6C */ stfs f3, 0x6c(r1) -/* 80361AC8 0035EA28 D0 41 00 70 */ stfs f2, 0x70(r1) -/* 80361ACC 0035EA2C D0 21 00 74 */ stfs f1, 0x74(r1) -/* 80361AD0 0035EA30 D0 01 00 78 */ stfs f0, 0x78(r1) -/* 80361AD4 0035EA34 80 DE 04 3C */ lwz r6, 0x43c(r30) -/* 80361AD8 0035EA38 7C 06 DC 2E */ lfsx f0, r6, r27 -/* 80361ADC 0035EA3C EC 40 07 72 */ fmuls f2, f0, f29 -/* 80361AE0 0035EA40 EC 20 07 32 */ fmuls f1, f0, f28 -/* 80361AE4 0035EA44 EC 00 06 F2 */ fmuls f0, f0, f27 -/* 80361AE8 0035EA48 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 80361AEC 0035EA4C D0 21 00 18 */ stfs f1, 0x18(r1) -/* 80361AF0 0035EA50 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 80361AF4 0035EA54 4B FA F7 71 */ bl Transform__11CQuaternionCFRC9CVector3f -/* 80361AF8 0035EA58 80 1E 04 4C */ lwz r0, 0x44c(r30) -/* 80361AFC 0035EA5C C0 01 00 20 */ lfs f0, 0x20(r1) -/* 80361B00 0035EA60 7C 60 E2 14 */ add r3, r0, r28 -/* 80361B04 0035EA64 D0 03 00 00 */ stfs f0, 0(r3) -/* 80361B08 0035EA68 C0 01 00 24 */ lfs f0, 0x24(r1) -/* 80361B0C 0035EA6C D0 03 00 04 */ stfs f0, 4(r3) -/* 80361B10 0035EA70 C0 01 00 28 */ lfs f0, 0x28(r1) -/* 80361B14 0035EA74 D0 03 00 08 */ stfs f0, 8(r3) -lbl_80361B18: -/* 80361B18 0035EA78 3B 9C 00 0C */ addi r28, r28, 0xc -/* 80361B1C 0035EA7C 3B 7B 00 04 */ addi r27, r27, 4 -/* 80361B20 0035EA80 3B FF 00 01 */ addi r31, r31, 1 -lbl_80361B24: -/* 80361B24 0035EA84 80 7E 04 24 */ lwz r3, 0x424(r30) -/* 80361B28 0035EA88 38 03 FF FF */ addi r0, r3, -1 -/* 80361B2C 0035EA8C 7C 1F 00 00 */ cmpw r31, r0 -/* 80361B30 0035EA90 41 80 FE B4 */ blt lbl_803619E4 -/* 80361B34 0035EA94 38 C0 00 01 */ li r6, 1 -/* 80361B38 0035EA98 38 A0 00 0C */ li r5, 0xc -/* 80361B3C 0035EA9C 48 00 00 4C */ b lbl_80361B88 -lbl_80361B40: -/* 80361B40 0035EAA0 80 7E 04 4C */ lwz r3, 0x44c(r30) -/* 80361B44 0035EAA4 38 C6 00 01 */ addi r6, r6, 1 -/* 80361B48 0035EAA8 80 1E 04 2C */ lwz r0, 0x42c(r30) -/* 80361B4C 0035EAAC 7C 63 2A 14 */ add r3, r3, r5 -/* 80361B50 0035EAB0 7C 80 2A 14 */ add r4, r0, r5 -/* 80361B54 0035EAB4 C0 03 00 00 */ lfs f0, 0(r3) -/* 80361B58 0035EAB8 C0 24 00 00 */ lfs f1, 0(r4) -/* 80361B5C 0035EABC 38 A5 00 0C */ addi r5, r5, 0xc -/* 80361B60 0035EAC0 EC 01 00 2A */ fadds f0, f1, f0 -/* 80361B64 0035EAC4 D0 04 00 00 */ stfs f0, 0(r4) -/* 80361B68 0035EAC8 C0 24 00 04 */ lfs f1, 4(r4) -/* 80361B6C 0035EACC C0 03 00 04 */ lfs f0, 4(r3) -/* 80361B70 0035EAD0 EC 01 00 2A */ fadds f0, f1, f0 -/* 80361B74 0035EAD4 D0 04 00 04 */ stfs f0, 4(r4) -/* 80361B78 0035EAD8 C0 24 00 08 */ lfs f1, 8(r4) -/* 80361B7C 0035EADC C0 03 00 08 */ lfs f0, 8(r3) -/* 80361B80 0035EAE0 EC 01 00 2A */ fadds f0, f1, f0 -/* 80361B84 0035EAE4 D0 04 00 08 */ stfs f0, 8(r4) -lbl_80361B88: -/* 80361B88 0035EAE8 80 7E 04 24 */ lwz r3, 0x424(r30) -/* 80361B8C 0035EAEC 38 03 FF FF */ addi r0, r3, -1 -/* 80361B90 0035EAF0 7C 06 00 00 */ cmpw r6, r0 -/* 80361B94 0035EAF4 41 80 FF AC */ blt lbl_80361B40 -/* 80361B98 0035EAF8 80 7E 00 24 */ lwz r3, 0x24(r30) -/* 80361B9C 0035EAFC 88 03 00 70 */ lbz r0, 0x70(r3) -/* 80361BA0 0035EB00 28 00 00 00 */ cmplwi r0, 0 -/* 80361BA4 0035EB04 41 82 00 34 */ beq lbl_80361BD8 -/* 80361BA8 0035EB08 C0 02 CD 54 */ lfs f0, lbl_805AEA74@sda21(r2) -/* 80361BAC 0035EB0C 38 A0 00 00 */ li r5, 0 -/* 80361BB0 0035EB10 38 80 00 00 */ li r4, 0 -/* 80361BB4 0035EB14 48 00 00 18 */ b lbl_80361BCC -lbl_80361BB8: -/* 80361BB8 0035EB18 80 7E 04 2C */ lwz r3, 0x42c(r30) -/* 80361BBC 0035EB1C 38 04 00 04 */ addi r0, r4, 4 -/* 80361BC0 0035EB20 38 84 00 0C */ addi r4, r4, 0xc -/* 80361BC4 0035EB24 38 A5 00 01 */ addi r5, r5, 1 -/* 80361BC8 0035EB28 7C 03 05 2E */ stfsx f0, r3, r0 -lbl_80361BCC: -/* 80361BCC 0035EB2C 80 1E 04 24 */ lwz r0, 0x424(r30) -/* 80361BD0 0035EB30 7C 05 00 00 */ cmpw r5, r0 -/* 80361BD4 0035EB34 41 80 FF E4 */ blt lbl_80361BB8 -lbl_80361BD8: -/* 80361BD8 0035EB38 80 A1 01 30 */ lwz r5, 0x130(r1) -/* 80361BDC 0035EB3C 38 60 00 00 */ li r3, 0 -/* 80361BE0 0035EB40 2C 05 00 00 */ cmpwi r5, 0 -/* 80361BE4 0035EB44 40 81 00 40 */ ble lbl_80361C24 -/* 80361BE8 0035EB48 2C 05 00 08 */ cmpwi r5, 8 -/* 80361BEC 0035EB4C 38 85 FF F8 */ addi r4, r5, -8 -/* 80361BF0 0035EB50 40 81 00 20 */ ble lbl_80361C10 -/* 80361BF4 0035EB54 38 04 00 07 */ addi r0, r4, 7 -/* 80361BF8 0035EB58 54 00 E8 FE */ srwi r0, r0, 3 -/* 80361BFC 0035EB5C 7C 09 03 A6 */ mtctr r0 -/* 80361C00 0035EB60 2C 04 00 00 */ cmpwi r4, 0 -/* 80361C04 0035EB64 40 81 00 0C */ ble lbl_80361C10 -lbl_80361C08: -/* 80361C08 0035EB68 38 63 00 08 */ addi r3, r3, 8 -/* 80361C0C 0035EB6C 42 00 FF FC */ bdnz lbl_80361C08 -lbl_80361C10: -/* 80361C10 0035EB70 7C 03 28 50 */ subf r0, r3, r5 -/* 80361C14 0035EB74 7C 09 03 A6 */ mtctr r0 -/* 80361C18 0035EB78 7C 03 28 00 */ cmpw r3, r5 -/* 80361C1C 0035EB7C 40 80 00 08 */ bge lbl_80361C24 -lbl_80361C20: -/* 80361C20 0035EB80 42 00 00 00 */ bdnz lbl_80361C20 -lbl_80361C24: -/* 80361C24 0035EB84 38 00 00 00 */ li r0, 0 -/* 80361C28 0035EB88 90 01 01 30 */ stw r0, 0x130(r1) -/* 80361C2C 0035EB8C E3 E1 01 E8 */ psq_l f31, 488(r1), 0, qr0 -/* 80361C30 0035EB90 CB E1 01 E0 */ lfd f31, 0x1e0(r1) -/* 80361C34 0035EB94 E3 C1 01 D8 */ psq_l f30, 472(r1), 0, qr0 -/* 80361C38 0035EB98 CB C1 01 D0 */ lfd f30, 0x1d0(r1) -/* 80361C3C 0035EB9C E3 A1 01 C8 */ psq_l f29, 456(r1), 0, qr0 -/* 80361C40 0035EBA0 CB A1 01 C0 */ lfd f29, 0x1c0(r1) -/* 80361C44 0035EBA4 E3 81 01 B8 */ psq_l f28, 440(r1), 0, qr0 -/* 80361C48 0035EBA8 CB 81 01 B0 */ lfd f28, 0x1b0(r1) -/* 80361C4C 0035EBAC E3 61 01 A8 */ psq_l f27, 424(r1), 0, qr0 -/* 80361C50 0035EBB0 CB 61 01 A0 */ lfd f27, 0x1a0(r1) -/* 80361C54 0035EBB4 E3 41 01 98 */ psq_l f26, 408(r1), 0, qr0 -/* 80361C58 0035EBB8 CB 41 01 90 */ lfd f26, 0x190(r1) -/* 80361C5C 0035EBBC BB 01 01 70 */ lmw r24, 0x170(r1) -/* 80361C60 0035EBC0 80 01 01 F4 */ lwz r0, 0x1f4(r1) -/* 80361C64 0035EBC4 7C 08 03 A6 */ mtlr r0 -/* 80361C68 0035EBC8 38 21 01 F0 */ addi r1, r1, 0x1f0 -/* 80361C6C 0035EBCC 4E 80 00 20 */ blr - -.global __dt__17CParticleElectricFv -__dt__17CParticleElectricFv: -/* 80361C70 0035EBD0 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 80361C74 0035EBD4 7C 08 02 A6 */ mflr r0 -/* 80361C78 0035EBD8 90 01 00 54 */ stw r0, 0x54(r1) -/* 80361C7C 0035EBDC 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 80361C80 0035EBE0 7C 9F 23 78 */ mr r31, r4 -/* 80361C84 0035EBE4 93 C1 00 48 */ stw r30, 0x48(r1) -/* 80361C88 0035EBE8 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80361C8C 0035EBEC 93 A1 00 44 */ stw r29, 0x44(r1) -/* 80361C90 0035EBF0 93 81 00 40 */ stw r28, 0x40(r1) -/* 80361C94 0035EBF4 41 82 02 5C */ beq lbl_80361EF0 -/* 80361C98 0035EBF8 3C 60 80 3F */ lis r3, lbl_803EF7B8@ha -/* 80361C9C 0035EBFC 34 1E 04 40 */ addic. r0, r30, 0x440 -/* 80361CA0 0035EC00 38 03 F7 B8 */ addi r0, r3, lbl_803EF7B8@l -/* 80361CA4 0035EC04 90 1E 00 00 */ stw r0, 0(r30) -/* 80361CA8 0035EC08 41 82 00 44 */ beq lbl_80361CEC -/* 80361CAC 0035EC0C 80 1E 04 44 */ lwz r0, 0x444(r30) -/* 80361CB0 0035EC10 80 7E 04 4C */ lwz r3, 0x44c(r30) -/* 80361CB4 0035EC14 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80361CB8 0035EC18 90 61 00 2C */ stw r3, 0x2c(r1) -/* 80361CBC 0035EC1C 7C 64 1B 78 */ mr r4, r3 -/* 80361CC0 0035EC20 7C 03 02 14 */ add r0, r3, r0 -/* 80361CC4 0035EC24 90 61 00 28 */ stw r3, 0x28(r1) -/* 80361CC8 0035EC28 90 01 00 34 */ stw r0, 0x34(r1) -/* 80361CCC 0035EC2C 90 01 00 30 */ stw r0, 0x30(r1) -/* 80361CD0 0035EC30 48 00 00 08 */ b lbl_80361CD8 -lbl_80361CD4: -/* 80361CD4 0035EC34 38 84 00 0C */ addi r4, r4, 0xc -lbl_80361CD8: -/* 80361CD8 0035EC38 7C 04 00 40 */ cmplw r4, r0 -/* 80361CDC 0035EC3C 40 82 FF F8 */ bne lbl_80361CD4 -/* 80361CE0 0035EC40 28 03 00 00 */ cmplwi r3, 0 -/* 80361CE4 0035EC44 41 82 00 08 */ beq lbl_80361CEC -/* 80361CE8 0035EC48 4B FB 3C 49 */ bl Free__7CMemoryFPCv -lbl_80361CEC: -/* 80361CEC 0035EC4C 34 1E 04 30 */ addic. r0, r30, 0x430 -/* 80361CF0 0035EC50 41 82 00 44 */ beq lbl_80361D34 -/* 80361CF4 0035EC54 80 1E 04 34 */ lwz r0, 0x434(r30) -/* 80361CF8 0035EC58 80 7E 04 3C */ lwz r3, 0x43c(r30) -/* 80361CFC 0035EC5C 54 00 10 3A */ slwi r0, r0, 2 -/* 80361D00 0035EC60 7C 03 02 14 */ add r0, r3, r0 -/* 80361D04 0035EC64 90 61 00 1C */ stw r3, 0x1c(r1) -/* 80361D08 0035EC68 7C 64 1B 78 */ mr r4, r3 -/* 80361D0C 0035EC6C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80361D10 0035EC70 90 01 00 20 */ stw r0, 0x20(r1) -/* 80361D14 0035EC74 90 61 00 18 */ stw r3, 0x18(r1) -/* 80361D18 0035EC78 48 00 00 08 */ b lbl_80361D20 -lbl_80361D1C: -/* 80361D1C 0035EC7C 38 84 00 04 */ addi r4, r4, 4 -lbl_80361D20: -/* 80361D20 0035EC80 7C 04 00 40 */ cmplw r4, r0 -/* 80361D24 0035EC84 40 82 FF F8 */ bne lbl_80361D1C -/* 80361D28 0035EC88 28 03 00 00 */ cmplwi r3, 0 -/* 80361D2C 0035EC8C 41 82 00 08 */ beq lbl_80361D34 -/* 80361D30 0035EC90 4B FB 3C 01 */ bl Free__7CMemoryFPCv -lbl_80361D34: -/* 80361D34 0035EC94 34 1E 04 20 */ addic. r0, r30, 0x420 -/* 80361D38 0035EC98 41 82 00 3C */ beq lbl_80361D74 -/* 80361D3C 0035EC9C 80 1E 04 24 */ lwz r0, 0x424(r30) -/* 80361D40 0035ECA0 80 7E 04 2C */ lwz r3, 0x42c(r30) -/* 80361D44 0035ECA4 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80361D48 0035ECA8 90 61 00 0C */ stw r3, 0xc(r1) -/* 80361D4C 0035ECAC 7C 64 1B 78 */ mr r4, r3 -/* 80361D50 0035ECB0 7C 03 02 14 */ add r0, r3, r0 -/* 80361D54 0035ECB4 90 61 00 08 */ stw r3, 8(r1) -/* 80361D58 0035ECB8 90 01 00 14 */ stw r0, 0x14(r1) -/* 80361D5C 0035ECBC 90 01 00 10 */ stw r0, 0x10(r1) -/* 80361D60 0035ECC0 48 00 00 08 */ b lbl_80361D68 -lbl_80361D64: -/* 80361D64 0035ECC4 38 84 00 0C */ addi r4, r4, 0xc -lbl_80361D68: -/* 80361D68 0035ECC8 7C 04 00 40 */ cmplw r4, r0 -/* 80361D6C 0035ECCC 40 82 FF F8 */ bne lbl_80361D64 -/* 80361D70 0035ECD0 4B FB 3B C1 */ bl Free__7CMemoryFPCv -lbl_80361D74: -/* 80361D74 0035ECD4 38 7E 04 10 */ addi r3, r30, 0x410 -/* 80361D78 0035ECD8 38 80 FF FF */ li r4, -1 -/* 80361D7C 0035ECDC 48 00 03 25 */ bl "__dt__Q24rstl45vector<9CVector3f,Q24rstl17aligned_allocator>Fv" -/* 80361D80 0035ECE0 38 7E 04 00 */ addi r3, r30, 0x400 -/* 80361D84 0035ECE4 38 80 FF FF */ li r4, -1 -/* 80361D88 0035ECE8 48 00 03 19 */ bl "__dt__Q24rstl45vector<9CVector3f,Q24rstl17aligned_allocator>Fv" -/* 80361D8C 0035ECEC 38 7E 03 E8 */ addi r3, r30, 0x3e8 -/* 80361D90 0035ECF0 38 80 FF FF */ li r4, -1 -/* 80361D94 0035ECF4 48 00 10 25 */ bl "__dt__Q24rstl80listFv" -/* 80361D98 0035ECF8 38 7E 02 E4 */ addi r3, r30, 0x2e4 -/* 80361D9C 0035ECFC 38 80 FF FF */ li r4, -1 -/* 80361DA0 0035ED00 48 00 01 75 */ bl "__dt__Q24rstl74reserved_vector,32>Fv" -/* 80361DA4 0035ED04 34 1E 01 E0 */ addic. r0, r30, 0x1e0 -/* 80361DA8 0035ED08 41 82 00 60 */ beq lbl_80361E08 -/* 80361DAC 0035ED0C 3B 9E 01 E4 */ addi r28, r30, 0x1e4 -/* 80361DB0 0035ED10 3B A0 00 00 */ li r29, 0 -/* 80361DB4 0035ED14 48 00 00 40 */ b lbl_80361DF4 -lbl_80361DB8: -/* 80361DB8 0035ED18 28 1C 00 00 */ cmplwi r28, 0 -/* 80361DBC 0035ED1C 41 82 00 30 */ beq lbl_80361DEC -/* 80361DC0 0035ED20 88 1C 00 00 */ lbz r0, 0(r28) -/* 80361DC4 0035ED24 28 00 00 00 */ cmplwi r0, 0 -/* 80361DC8 0035ED28 41 82 00 24 */ beq lbl_80361DEC -/* 80361DCC 0035ED2C 80 7C 00 04 */ lwz r3, 4(r28) -/* 80361DD0 0035ED30 28 03 00 00 */ cmplwi r3, 0 -/* 80361DD4 0035ED34 41 82 00 18 */ beq lbl_80361DEC -/* 80361DD8 0035ED38 81 83 00 00 */ lwz r12, 0(r3) -/* 80361DDC 0035ED3C 38 80 00 01 */ li r4, 1 -/* 80361DE0 0035ED40 81 8C 00 08 */ lwz r12, 8(r12) -/* 80361DE4 0035ED44 7D 89 03 A6 */ mtctr r12 -/* 80361DE8 0035ED48 4E 80 04 21 */ bctrl -lbl_80361DEC: -/* 80361DEC 0035ED4C 3B 9C 00 08 */ addi r28, r28, 8 -/* 80361DF0 0035ED50 3B BD 00 01 */ addi r29, r29, 1 -lbl_80361DF4: -/* 80361DF4 0035ED54 80 1E 01 E0 */ lwz r0, 0x1e0(r30) -/* 80361DF8 0035ED58 7C 1D 00 00 */ cmpw r29, r0 -/* 80361DFC 0035ED5C 41 80 FF BC */ blt lbl_80361DB8 -/* 80361E00 0035ED60 38 00 00 00 */ li r0, 0 -/* 80361E04 0035ED64 90 1E 01 E0 */ stw r0, 0x1e0(r30) -lbl_80361E08: -/* 80361E08 0035ED68 34 1E 01 BC */ addic. r0, r30, 0x1bc -/* 80361E0C 0035ED6C 41 82 00 58 */ beq lbl_80361E64 -/* 80361E10 0035ED70 80 BE 01 BC */ lwz r5, 0x1bc(r30) -/* 80361E14 0035ED74 38 60 00 00 */ li r3, 0 -/* 80361E18 0035ED78 2C 05 00 00 */ cmpwi r5, 0 -/* 80361E1C 0035ED7C 40 81 00 40 */ ble lbl_80361E5C -/* 80361E20 0035ED80 2C 05 00 08 */ cmpwi r5, 8 -/* 80361E24 0035ED84 38 85 FF F8 */ addi r4, r5, -8 -/* 80361E28 0035ED88 40 81 00 20 */ ble lbl_80361E48 -/* 80361E2C 0035ED8C 38 04 00 07 */ addi r0, r4, 7 -/* 80361E30 0035ED90 54 00 E8 FE */ srwi r0, r0, 3 -/* 80361E34 0035ED94 7C 09 03 A6 */ mtctr r0 -/* 80361E38 0035ED98 2C 04 00 00 */ cmpwi r4, 0 -/* 80361E3C 0035ED9C 40 81 00 0C */ ble lbl_80361E48 -lbl_80361E40: -/* 80361E40 0035EDA0 38 63 00 08 */ addi r3, r3, 8 -/* 80361E44 0035EDA4 42 00 FF FC */ bdnz lbl_80361E40 -lbl_80361E48: -/* 80361E48 0035EDA8 7C 03 28 50 */ subf r0, r3, r5 -/* 80361E4C 0035EDAC 7C 09 03 A6 */ mtctr r0 -/* 80361E50 0035EDB0 7C 03 28 00 */ cmpw r3, r5 -/* 80361E54 0035EDB4 40 80 00 08 */ bge lbl_80361E5C -lbl_80361E58: -/* 80361E58 0035EDB8 42 00 00 00 */ bdnz lbl_80361E58 -lbl_80361E5C: -/* 80361E5C 0035EDBC 38 00 00 00 */ li r0, 0 -/* 80361E60 0035EDC0 90 1E 01 BC */ stw r0, 0x1bc(r30) -lbl_80361E64: -/* 80361E64 0035EDC4 34 1E 01 A8 */ addic. r0, r30, 0x1a8 -/* 80361E68 0035EDC8 41 82 00 0C */ beq lbl_80361E74 -/* 80361E6C 0035EDCC 38 00 00 00 */ li r0, 0 -/* 80361E70 0035EDD0 98 1E 01 B4 */ stb r0, 0x1b4(r30) -lbl_80361E74: -/* 80361E74 0035EDD4 34 1E 01 98 */ addic. r0, r30, 0x198 -/* 80361E78 0035EDD8 41 82 00 0C */ beq lbl_80361E84 -/* 80361E7C 0035EDDC 38 00 00 00 */ li r0, 0 -/* 80361E80 0035EDE0 98 1E 01 A4 */ stb r0, 0x1a4(r30) -lbl_80361E84: -/* 80361E84 0035EDE4 34 1E 01 88 */ addic. r0, r30, 0x188 -/* 80361E88 0035EDE8 41 82 00 0C */ beq lbl_80361E94 -/* 80361E8C 0035EDEC 38 00 00 00 */ li r0, 0 -/* 80361E90 0035EDF0 98 1E 01 94 */ stb r0, 0x194(r30) -lbl_80361E94: -/* 80361E94 0035EDF4 34 1E 01 78 */ addic. r0, r30, 0x178 -/* 80361E98 0035EDF8 41 82 00 0C */ beq lbl_80361EA4 -/* 80361E9C 0035EDFC 38 00 00 00 */ li r0, 0 -/* 80361EA0 0035EE00 98 1E 01 84 */ stb r0, 0x184(r30) -lbl_80361EA4: -/* 80361EA4 0035EE04 34 1E 00 1C */ addic. r0, r30, 0x1c -/* 80361EA8 0035EE08 41 82 00 18 */ beq lbl_80361EC0 -/* 80361EAC 0035EE0C 34 1E 00 1C */ addic. r0, r30, 0x1c -/* 80361EB0 0035EE10 41 82 00 10 */ beq lbl_80361EC0 -/* 80361EB4 0035EE14 38 7E 00 1C */ addi r3, r30, 0x1c -/* 80361EB8 0035EE18 38 80 00 00 */ li r4, 0 -/* 80361EBC 0035EE1C 4B FD EF 85 */ bl __dt__6CTokenFv -lbl_80361EC0: -/* 80361EC0 0035EE20 28 1E 00 00 */ cmplwi r30, 0 -/* 80361EC4 0035EE24 41 82 00 1C */ beq lbl_80361EE0 -/* 80361EC8 0035EE28 3C 80 80 3F */ lis r4, lbl_803EDD08@ha -/* 80361ECC 0035EE2C 38 7E 00 04 */ addi r3, r30, 4 -/* 80361ED0 0035EE30 38 04 DD 08 */ addi r0, r4, lbl_803EDD08@l -/* 80361ED4 0035EE34 38 80 FF FF */ li r4, -1 -/* 80361ED8 0035EE38 90 1E 00 00 */ stw r0, 0(r30) -/* 80361EDC 0035EE3C 4B CF 8D F5 */ bl __dt__12CParticleGenFv -lbl_80361EE0: -/* 80361EE0 0035EE40 7F E0 07 35 */ extsh. r0, r31 -/* 80361EE4 0035EE44 40 81 00 0C */ ble lbl_80361EF0 -/* 80361EE8 0035EE48 7F C3 F3 78 */ mr r3, r30 -/* 80361EEC 0035EE4C 4B FB 3A 45 */ bl Free__7CMemoryFPCv -lbl_80361EF0: -/* 80361EF0 0035EE50 80 01 00 54 */ lwz r0, 0x54(r1) -/* 80361EF4 0035EE54 7F C3 F3 78 */ mr r3, r30 -/* 80361EF8 0035EE58 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 80361EFC 0035EE5C 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 80361F00 0035EE60 83 A1 00 44 */ lwz r29, 0x44(r1) -/* 80361F04 0035EE64 83 81 00 40 */ lwz r28, 0x40(r1) -/* 80361F08 0035EE68 7C 08 03 A6 */ mtlr r0 -/* 80361F0C 0035EE6C 38 21 00 50 */ addi r1, r1, 0x50 -/* 80361F10 0035EE70 4E 80 00 20 */ blr - -.global "__dt__Q24rstl74reserved_vector,32>Fv" -"__dt__Q24rstl74reserved_vector,32>Fv": -/* 80361F14 0035EE74 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80361F18 0035EE78 7C 08 02 A6 */ mflr r0 -/* 80361F1C 0035EE7C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80361F20 0035EE80 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80361F24 0035EE84 7C 9F 23 78 */ mr r31, r4 -/* 80361F28 0035EE88 93 C1 00 08 */ stw r30, 8(r1) -/* 80361F2C 0035EE8C 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80361F30 0035EE90 41 82 00 18 */ beq lbl_80361F48 -/* 80361F34 0035EE94 48 00 00 31 */ bl "clear__Q24rstl74reserved_vector,32>Fv" -/* 80361F38 0035EE98 7F E0 07 35 */ extsh. r0, r31 -/* 80361F3C 0035EE9C 40 81 00 0C */ ble lbl_80361F48 -/* 80361F40 0035EEA0 7F C3 F3 78 */ mr r3, r30 -/* 80361F44 0035EEA4 4B FB 39 ED */ bl Free__7CMemoryFPCv -lbl_80361F48: -/* 80361F48 0035EEA8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80361F4C 0035EEAC 7F C3 F3 78 */ mr r3, r30 -/* 80361F50 0035EEB0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80361F54 0035EEB4 83 C1 00 08 */ lwz r30, 8(r1) -/* 80361F58 0035EEB8 7C 08 03 A6 */ mtlr r0 -/* 80361F5C 0035EEBC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80361F60 0035EEC0 4E 80 00 20 */ blr - -.global "clear__Q24rstl74reserved_vector,32>Fv" -"clear__Q24rstl74reserved_vector,32>Fv": -/* 80361F64 0035EEC4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80361F68 0035EEC8 7C 08 02 A6 */ mflr r0 -/* 80361F6C 0035EECC 90 01 00 24 */ stw r0, 0x24(r1) -/* 80361F70 0035EED0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80361F74 0035EED4 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80361F78 0035EED8 3B C0 00 00 */ li r30, 0 -/* 80361F7C 0035EEDC 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80361F80 0035EEE0 7C 7D 1B 78 */ mr r29, r3 -/* 80361F84 0035EEE4 3B FD 00 04 */ addi r31, r29, 4 -/* 80361F88 0035EEE8 48 00 00 14 */ b lbl_80361F9C -lbl_80361F8C: -/* 80361F8C 0035EEEC 7F E3 FB 78 */ mr r3, r31 -/* 80361F90 0035EEF0 48 00 00 3D */ bl "destroy>__4rstlFPQ24rstl45auto_ptr" -/* 80361F94 0035EEF4 3B FF 00 08 */ addi r31, r31, 8 -/* 80361F98 0035EEF8 3B DE 00 01 */ addi r30, r30, 1 -lbl_80361F9C: -/* 80361F9C 0035EEFC 80 1D 00 00 */ lwz r0, 0(r29) -/* 80361FA0 0035EF00 7C 1E 00 00 */ cmpw r30, r0 -/* 80361FA4 0035EF04 41 80 FF E8 */ blt lbl_80361F8C -/* 80361FA8 0035EF08 38 00 00 00 */ li r0, 0 -/* 80361FAC 0035EF0C 90 1D 00 00 */ stw r0, 0(r29) -/* 80361FB0 0035EF10 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80361FB4 0035EF14 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80361FB8 0035EF18 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80361FBC 0035EF1C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80361FC0 0035EF20 7C 08 03 A6 */ mtlr r0 -/* 80361FC4 0035EF24 38 21 00 20 */ addi r1, r1, 0x20 -/* 80361FC8 0035EF28 4E 80 00 20 */ blr - -.global "destroy>__4rstlFPQ24rstl45auto_ptr" -"destroy>__4rstlFPQ24rstl45auto_ptr": -/* 80361FCC 0035EF2C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80361FD0 0035EF30 7C 08 02 A6 */ mflr r0 -/* 80361FD4 0035EF34 38 80 FF FF */ li r4, -1 -/* 80361FD8 0035EF38 90 01 00 14 */ stw r0, 0x14(r1) -/* 80361FDC 0035EF3C 48 00 00 15 */ bl "__dt__Q24rstl45auto_ptrFv" -/* 80361FE0 0035EF40 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80361FE4 0035EF44 7C 08 03 A6 */ mtlr r0 -/* 80361FE8 0035EF48 38 21 00 10 */ addi r1, r1, 0x10 -/* 80361FEC 0035EF4C 4E 80 00 20 */ blr - -.global "__dt__Q24rstl45auto_ptrFv" -"__dt__Q24rstl45auto_ptrFv": -/* 80361FF0 0035EF50 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80361FF4 0035EF54 7C 08 02 A6 */ mflr r0 -/* 80361FF8 0035EF58 90 01 00 34 */ stw r0, 0x34(r1) -/* 80361FFC 0035EF5C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80362000 0035EF60 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80362004 0035EF64 7C 9E 23 78 */ mr r30, r4 -/* 80362008 0035EF68 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8036200C 0035EF6C 7C 7D 1B 79 */ or. r29, r3, r3 -/* 80362010 0035EF70 41 82 00 70 */ beq lbl_80362080 -/* 80362014 0035EF74 88 1D 00 00 */ lbz r0, 0(r29) -/* 80362018 0035EF78 28 00 00 00 */ cmplwi r0, 0 -/* 8036201C 0035EF7C 41 82 00 54 */ beq lbl_80362070 -/* 80362020 0035EF80 83 FD 00 04 */ lwz r31, 4(r29) -/* 80362024 0035EF84 28 1F 00 00 */ cmplwi r31, 0 -/* 80362028 0035EF88 41 82 00 48 */ beq lbl_80362070 -/* 8036202C 0035EF8C 41 82 00 3C */ beq lbl_80362068 -/* 80362030 0035EF90 80 1F 00 04 */ lwz r0, 4(r31) -/* 80362034 0035EF94 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 80362038 0035EF98 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8036203C 0035EF9C 90 61 00 0C */ stw r3, 0xc(r1) -/* 80362040 0035EFA0 7C 64 1B 78 */ mr r4, r3 -/* 80362044 0035EFA4 7C 03 02 14 */ add r0, r3, r0 -/* 80362048 0035EFA8 90 61 00 08 */ stw r3, 8(r1) -/* 8036204C 0035EFAC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80362050 0035EFB0 90 01 00 10 */ stw r0, 0x10(r1) -/* 80362054 0035EFB4 48 00 00 08 */ b lbl_8036205C -lbl_80362058: -/* 80362058 0035EFB8 38 84 00 0C */ addi r4, r4, 0xc -lbl_8036205C: -/* 8036205C 0035EFBC 7C 04 00 40 */ cmplw r4, r0 -/* 80362060 0035EFC0 40 82 FF F8 */ bne lbl_80362058 -/* 80362064 0035EFC4 4B FB 38 CD */ bl Free__7CMemoryFPCv -lbl_80362068: -/* 80362068 0035EFC8 7F E3 FB 78 */ mr r3, r31 -/* 8036206C 0035EFCC 4B FB 38 C5 */ bl Free__7CMemoryFPCv -lbl_80362070: -/* 80362070 0035EFD0 7F C0 07 35 */ extsh. r0, r30 -/* 80362074 0035EFD4 40 81 00 0C */ ble lbl_80362080 -/* 80362078 0035EFD8 7F A3 EB 78 */ mr r3, r29 -/* 8036207C 0035EFDC 4B FB 38 B5 */ bl Free__7CMemoryFPCv -lbl_80362080: -/* 80362080 0035EFE0 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80362084 0035EFE4 7F A3 EB 78 */ mr r3, r29 -/* 80362088 0035EFE8 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8036208C 0035EFEC 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80362090 0035EFF0 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80362094 0035EFF4 7C 08 03 A6 */ mtlr r0 -/* 80362098 0035EFF8 38 21 00 30 */ addi r1, r1, 0x30 -/* 8036209C 0035EFFC 4E 80 00 20 */ blr - -.global "__dt__Q24rstl45vector<9CVector3f,Q24rstl17aligned_allocator>Fv" -"__dt__Q24rstl45vector<9CVector3f,Q24rstl17aligned_allocator>Fv": -/* 803620A0 0035F000 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 803620A4 0035F004 7C 08 02 A6 */ mflr r0 -/* 803620A8 0035F008 90 01 00 34 */ stw r0, 0x34(r1) -/* 803620AC 0035F00C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 803620B0 0035F010 93 C1 00 28 */ stw r30, 0x28(r1) -/* 803620B4 0035F014 93 A1 00 24 */ stw r29, 0x24(r1) -/* 803620B8 0035F018 7C 9D 23 78 */ mr r29, r4 -/* 803620BC 0035F01C 93 81 00 20 */ stw r28, 0x20(r1) -/* 803620C0 0035F020 7C 7C 1B 79 */ or. r28, r3, r3 -/* 803620C4 0035F024 41 82 00 88 */ beq lbl_8036214C -/* 803620C8 0035F028 80 1C 00 04 */ lwz r0, 4(r28) -/* 803620CC 0035F02C 83 DC 00 0C */ lwz r30, 0xc(r28) -/* 803620D0 0035F030 54 00 18 38 */ slwi r0, r0, 3 -/* 803620D4 0035F034 7F FE 02 14 */ add r31, r30, r0 -/* 803620D8 0035F038 93 C1 00 10 */ stw r30, 0x10(r1) -/* 803620DC 0035F03C 93 E1 00 08 */ stw r31, 8(r1) -/* 803620E0 0035F040 93 E1 00 0C */ stw r31, 0xc(r1) -/* 803620E4 0035F044 93 C1 00 14 */ stw r30, 0x14(r1) -/* 803620E8 0035F048 48 00 00 3C */ b lbl_80362124 -lbl_803620EC: -/* 803620EC 0035F04C 28 1E 00 00 */ cmplwi r30, 0 -/* 803620F0 0035F050 41 82 00 30 */ beq lbl_80362120 -/* 803620F4 0035F054 88 1E 00 00 */ lbz r0, 0(r30) -/* 803620F8 0035F058 28 00 00 00 */ cmplwi r0, 0 -/* 803620FC 0035F05C 41 82 00 24 */ beq lbl_80362120 -/* 80362100 0035F060 80 7E 00 04 */ lwz r3, 4(r30) -/* 80362104 0035F064 28 03 00 00 */ cmplwi r3, 0 -/* 80362108 0035F068 41 82 00 18 */ beq lbl_80362120 -/* 8036210C 0035F06C 81 83 00 00 */ lwz r12, 0(r3) -/* 80362110 0035F070 38 80 00 01 */ li r4, 1 -/* 80362114 0035F074 81 8C 00 08 */ lwz r12, 8(r12) -/* 80362118 0035F078 7D 89 03 A6 */ mtctr r12 -/* 8036211C 0035F07C 4E 80 04 21 */ bctrl -lbl_80362120: -/* 80362120 0035F080 3B DE 00 08 */ addi r30, r30, 8 -lbl_80362124: -/* 80362124 0035F084 7C 1E F8 40 */ cmplw r30, r31 -/* 80362128 0035F088 40 82 FF C4 */ bne lbl_803620EC -/* 8036212C 0035F08C 80 7C 00 0C */ lwz r3, 0xc(r28) -/* 80362130 0035F090 28 03 00 00 */ cmplwi r3, 0 -/* 80362134 0035F094 41 82 00 08 */ beq lbl_8036213C -/* 80362138 0035F098 4B FB 37 F9 */ bl Free__7CMemoryFPCv -lbl_8036213C: -/* 8036213C 0035F09C 7F A0 07 35 */ extsh. r0, r29 -/* 80362140 0035F0A0 40 81 00 0C */ ble lbl_8036214C -/* 80362144 0035F0A4 7F 83 E3 78 */ mr r3, r28 -/* 80362148 0035F0A8 4B FB 37 E9 */ bl Free__7CMemoryFPCv -lbl_8036214C: -/* 8036214C 0035F0AC 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80362150 0035F0B0 7F 83 E3 78 */ mr r3, r28 -/* 80362154 0035F0B4 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80362158 0035F0B8 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8036215C 0035F0BC 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80362160 0035F0C0 83 81 00 20 */ lwz r28, 0x20(r1) -/* 80362164 0035F0C4 7C 08 03 A6 */ mtlr r0 -/* 80362168 0035F0C8 38 21 00 30 */ addi r1, r1, 0x30 -/* 8036216C 0035F0CC 4E 80 00 20 */ blr - -.global "__ct__17CParticleElectricF30TToken<20CElectricDescription>" -"__ct__17CParticleElectricF30TToken<20CElectricDescription>": -/* 80362170 0035F0D0 94 21 FF 30 */ stwu r1, -0xd0(r1) -/* 80362174 0035F0D4 7C 08 02 A6 */ mflr r0 -/* 80362178 0035F0D8 3C A0 80 3F */ lis r5, lbl_803EDD08@ha -/* 8036217C 0035F0DC 90 01 00 D4 */ stw r0, 0xd4(r1) -/* 80362180 0035F0E0 38 05 DD 08 */ addi r0, r5, lbl_803EDD08@l -/* 80362184 0035F0E4 38 A0 00 00 */ li r5, 0 -/* 80362188 0035F0E8 BE E1 00 AC */ stmw r23, 0xac(r1) -/* 8036218C 0035F0EC 7C 7F 1B 78 */ mr r31, r3 -/* 80362190 0035F0F0 38 DF 00 10 */ addi r6, r31, 0x10 -/* 80362194 0035F0F4 3C 60 80 3F */ lis r3, lbl_803EF7B8@ha -/* 80362198 0035F0F8 3A FF 00 1C */ addi r23, r31, 0x1c -/* 8036219C 0035F0FC 90 1F 00 00 */ stw r0, 0(r31) -/* 803621A0 0035F100 38 03 F7 B8 */ addi r0, r3, lbl_803EF7B8@l -/* 803621A4 0035F104 7E E3 BB 78 */ mr r3, r23 -/* 803621A8 0035F108 90 DF 00 08 */ stw r6, 8(r31) -/* 803621AC 0035F10C 90 DF 00 0C */ stw r6, 0xc(r31) -/* 803621B0 0035F110 90 DF 00 10 */ stw r6, 0x10(r31) -/* 803621B4 0035F114 90 DF 00 14 */ stw r6, 0x14(r31) -/* 803621B8 0035F118 90 BF 00 18 */ stw r5, 0x18(r31) -/* 803621BC 0035F11C 90 1F 00 00 */ stw r0, 0(r31) -/* 803621C0 0035F120 4B FD EC E9 */ bl __ct__6CTokenFRC6CToken -/* 803621C4 0035F124 7E E3 BB 78 */ mr r3, r23 -/* 803621C8 0035F128 4B FD EC 45 */ bl GetObj__6CTokenFv -/* 803621CC 0035F12C 80 83 00 04 */ lwz r4, 4(r3) -/* 803621D0 0035F130 3C A0 80 5A */ lis r5, skZero3f@ha -/* 803621D4 0035F134 38 00 00 00 */ li r0, 0 -/* 803621D8 0035F138 C8 02 CD 90 */ lfd f0, lbl_805AEAB0@sda21(r2) -/* 803621DC 0035F13C 90 97 00 08 */ stw r4, 8(r23) -/* 803621E0 0035F140 3C 60 80 5A */ lis r3, skIdentity4f@ha -/* 803621E4 0035F144 38 83 66 70 */ addi r4, r3, skIdentity4f@l -/* 803621E8 0035F148 3B 45 66 A0 */ addi r26, r5, skZero3f@l -/* 803621EC 0035F14C 90 1F 00 28 */ stw r0, 0x28(r31) -/* 803621F0 0035F150 38 7F 00 44 */ addi r3, r31, 0x44 -/* 803621F4 0035F154 90 1F 00 2C */ stw r0, 0x2c(r31) -/* 803621F8 0035F158 D8 1F 00 30 */ stfd f0, 0x30(r31) -/* 803621FC 0035F15C C0 1A 00 00 */ lfs f0, 0(r26) -/* 80362200 0035F160 D0 1F 00 38 */ stfs f0, 0x38(r31) -/* 80362204 0035F164 C0 1A 00 04 */ lfs f0, 4(r26) -/* 80362208 0035F168 D0 1F 00 3C */ stfs f0, 0x3c(r31) -/* 8036220C 0035F16C C0 1A 00 08 */ lfs f0, 8(r26) -/* 80362210 0035F170 D0 1F 00 40 */ stfs f0, 0x40(r31) -/* 80362214 0035F174 4B FB 09 61 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80362218 0035F178 3C 80 80 5A */ lis r4, skIdentity4f@ha -/* 8036221C 0035F17C 38 7F 00 74 */ addi r3, r31, 0x74 -/* 80362220 0035F180 38 84 66 70 */ addi r4, r4, skIdentity4f@l -/* 80362224 0035F184 4B FB 09 51 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80362228 0035F188 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8036222C 0035F18C 3C 80 80 5A */ lis r4, skIdentity4f@ha -/* 80362230 0035F190 38 A3 66 A0 */ addi r5, r3, skZero3f@l -/* 80362234 0035F194 C0 05 00 00 */ lfs f0, 0(r5) -/* 80362238 0035F198 38 7F 00 B0 */ addi r3, r31, 0xb0 -/* 8036223C 0035F19C 38 84 66 70 */ addi r4, r4, skIdentity4f@l -/* 80362240 0035F1A0 D0 1F 00 A4 */ stfs f0, 0xa4(r31) -/* 80362244 0035F1A4 C0 1A 00 04 */ lfs f0, 4(r26) -/* 80362248 0035F1A8 D0 1F 00 A8 */ stfs f0, 0xa8(r31) -/* 8036224C 0035F1AC C0 1A 00 08 */ lfs f0, 8(r26) -/* 80362250 0035F1B0 D0 1F 00 AC */ stfs f0, 0xac(r31) -/* 80362254 0035F1B4 4B FB 09 21 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80362258 0035F1B8 C0 02 CD 48 */ lfs f0, lbl_805AEA68@sda21(r2) -/* 8036225C 0035F1BC 3C 60 80 5A */ lis r3, skIdentity4f@ha -/* 80362260 0035F1C0 38 83 66 70 */ addi r4, r3, skIdentity4f@l -/* 80362264 0035F1C4 D0 1F 00 E0 */ stfs f0, 0xe0(r31) -/* 80362268 0035F1C8 38 7F 00 F8 */ addi r3, r31, 0xf8 -/* 8036226C 0035F1CC D0 1F 00 E4 */ stfs f0, 0xe4(r31) -/* 80362270 0035F1D0 D0 1F 00 E8 */ stfs f0, 0xe8(r31) -/* 80362274 0035F1D4 D0 1F 00 EC */ stfs f0, 0xec(r31) -/* 80362278 0035F1D8 D0 1F 00 F0 */ stfs f0, 0xf0(r31) -/* 8036227C 0035F1DC D0 1F 00 F4 */ stfs f0, 0xf4(r31) -/* 80362280 0035F1E0 4B FB 08 F5 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80362284 0035F1E4 C0 22 CD 54 */ lfs f1, lbl_805AEA74@sda21(r2) -/* 80362288 0035F1E8 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8036228C 0035F1EC 38 83 66 A0 */ addi r4, r3, skZero3f@l -/* 80362290 0035F1F0 D0 3F 01 28 */ stfs f1, 0x128(r31) -/* 80362294 0035F1F4 38 7F 01 4C */ addi r3, r31, 0x14c -/* 80362298 0035F1F8 D0 3F 01 2C */ stfs f1, 0x12c(r31) -/* 8036229C 0035F1FC C0 04 00 00 */ lfs f0, 0(r4) -/* 803622A0 0035F200 D0 1F 01 30 */ stfs f0, 0x130(r31) -/* 803622A4 0035F204 C0 1A 00 04 */ lfs f0, 4(r26) -/* 803622A8 0035F208 D0 1F 01 34 */ stfs f0, 0x134(r31) -/* 803622AC 0035F20C C0 1A 00 08 */ lfs f0, 8(r26) -/* 803622B0 0035F210 D0 1F 01 38 */ stfs f0, 0x138(r31) -/* 803622B4 0035F214 C0 04 00 00 */ lfs f0, 0(r4) -/* 803622B8 0035F218 D0 1F 01 3C */ stfs f0, 0x13c(r31) -/* 803622BC 0035F21C C0 1A 00 04 */ lfs f0, 4(r26) -/* 803622C0 0035F220 D0 1F 01 40 */ stfs f0, 0x140(r31) -/* 803622C4 0035F224 C0 1A 00 08 */ lfs f0, 8(r26) -/* 803622C8 0035F228 D0 1F 01 44 */ stfs f0, 0x144(r31) -/* 803622CC 0035F22C D0 3F 01 48 */ stfs f1, 0x148(r31) -/* 803622D0 0035F230 A0 8D 9E 50 */ lhz r4, lbl_805A8A10@sda21(r13) -/* 803622D4 0035F234 38 04 00 01 */ addi r0, r4, 1 -/* 803622D8 0035F238 B0 0D 9E 50 */ sth r0, lbl_805A8A10@sda21(r13) -/* 803622DC 0035F23C 4B FB 03 11 */ bl __ct__9CRandom16FUi -/* 803622E0 0035F240 38 00 00 08 */ li r0, 8 -/* 803622E4 0035F244 3C 60 80 5A */ lis r3, lbl_805A6754@ha -/* 803622E8 0035F248 90 1F 01 50 */ stw r0, 0x150(r31) -/* 803622EC 0035F24C 38 80 00 01 */ li r4, 1 -/* 803622F0 0035F250 38 00 00 00 */ li r0, 0 -/* 803622F4 0035F254 C0 02 CD 54 */ lfs f0, lbl_805AEA74@sda21(r2) -/* 803622F8 0035F258 90 9F 01 54 */ stw r4, 0x154(r31) -/* 803622FC 0035F25C 3B C3 67 54 */ addi r30, r3, lbl_805A6754@l -/* 80362300 0035F260 90 1F 01 58 */ stw r0, 0x158(r31) -/* 80362304 0035F264 D0 1F 01 5C */ stfs f0, 0x15c(r31) -/* 80362308 0035F268 C0 1E 00 00 */ lfs f0, 0(r30) -/* 8036230C 0035F26C D0 1F 01 60 */ stfs f0, 0x160(r31) -/* 80362310 0035F270 C0 1E 00 04 */ lfs f0, 4(r30) -/* 80362314 0035F274 D0 1F 01 64 */ stfs f0, 0x164(r31) -/* 80362318 0035F278 C0 1E 00 08 */ lfs f0, 8(r30) -/* 8036231C 0035F27C D0 1F 01 68 */ stfs f0, 0x168(r31) -/* 80362320 0035F280 C0 1E 00 0C */ lfs f0, 0xc(r30) -/* 80362324 0035F284 D0 1F 01 6C */ stfs f0, 0x16c(r31) -/* 80362328 0035F288 C0 1E 00 10 */ lfs f0, 0x10(r30) -/* 8036232C 0035F28C D0 1F 01 70 */ stfs f0, 0x170(r31) -/* 80362330 0035F290 C0 1E 00 14 */ lfs f0, 0x14(r30) -/* 80362334 0035F294 D0 1F 01 74 */ stfs f0, 0x174(r31) -/* 80362338 0035F298 98 1F 01 84 */ stb r0, 0x184(r31) -/* 8036233C 0035F29C 98 1F 01 94 */ stb r0, 0x194(r31) -/* 80362340 0035F2A0 98 1F 01 A4 */ stb r0, 0x1a4(r31) -/* 80362344 0035F2A4 98 1F 01 B4 */ stb r0, 0x1b4(r31) -/* 80362348 0035F2A8 4B FE 7C 65 */ bl White__6CColorFv -/* 8036234C 0035F2AC 80 83 00 00 */ lwz r4, 0(r3) -/* 80362350 0035F2B0 38 60 00 20 */ li r3, 0x20 -/* 80362354 0035F2B4 38 00 00 04 */ li r0, 4 -/* 80362358 0035F2B8 38 BF 01 C0 */ addi r5, r31, 0x1c0 -/* 8036235C 0035F2BC 90 9F 01 B8 */ stw r4, 0x1b8(r31) -/* 80362360 0035F2C0 38 80 00 00 */ li r4, 0 -/* 80362364 0035F2C4 90 7F 01 BC */ stw r3, 0x1bc(r31) -/* 80362368 0035F2C8 7C 09 03 A6 */ mtctr r0 -lbl_8036236C: -/* 8036236C 0035F2CC 28 05 00 00 */ cmplwi r5, 0 -/* 80362370 0035F2D0 41 82 00 0C */ beq lbl_8036237C -/* 80362374 0035F2D4 88 0D 9E 52 */ lbz r0, lbl_805A8A12@sda21(r13) -/* 80362378 0035F2D8 98 05 00 00 */ stb r0, 0(r5) -lbl_8036237C: -/* 8036237C 0035F2DC 34 A5 00 01 */ addic. r5, r5, 1 -/* 80362380 0035F2E0 41 82 00 0C */ beq lbl_8036238C -/* 80362384 0035F2E4 88 0D 9E 52 */ lbz r0, lbl_805A8A12@sda21(r13) -/* 80362388 0035F2E8 98 05 00 00 */ stb r0, 0(r5) -lbl_8036238C: -/* 8036238C 0035F2EC 34 A5 00 01 */ addic. r5, r5, 1 -/* 80362390 0035F2F0 41 82 00 0C */ beq lbl_8036239C -/* 80362394 0035F2F4 88 0D 9E 52 */ lbz r0, lbl_805A8A12@sda21(r13) -/* 80362398 0035F2F8 98 05 00 00 */ stb r0, 0(r5) -lbl_8036239C: -/* 8036239C 0035F2FC 34 A5 00 01 */ addic. r5, r5, 1 -/* 803623A0 0035F300 41 82 00 0C */ beq lbl_803623AC -/* 803623A4 0035F304 88 0D 9E 52 */ lbz r0, lbl_805A8A12@sda21(r13) -/* 803623A8 0035F308 98 05 00 00 */ stb r0, 0(r5) -lbl_803623AC: -/* 803623AC 0035F30C 34 A5 00 01 */ addic. r5, r5, 1 -/* 803623B0 0035F310 41 82 00 0C */ beq lbl_803623BC -/* 803623B4 0035F314 88 0D 9E 52 */ lbz r0, lbl_805A8A12@sda21(r13) -/* 803623B8 0035F318 98 05 00 00 */ stb r0, 0(r5) -lbl_803623BC: -/* 803623BC 0035F31C 34 A5 00 01 */ addic. r5, r5, 1 -/* 803623C0 0035F320 41 82 00 0C */ beq lbl_803623CC -/* 803623C4 0035F324 88 0D 9E 52 */ lbz r0, lbl_805A8A12@sda21(r13) -/* 803623C8 0035F328 98 05 00 00 */ stb r0, 0(r5) -lbl_803623CC: -/* 803623CC 0035F32C 34 A5 00 01 */ addic. r5, r5, 1 -/* 803623D0 0035F330 41 82 00 0C */ beq lbl_803623DC -/* 803623D4 0035F334 88 0D 9E 52 */ lbz r0, lbl_805A8A12@sda21(r13) -/* 803623D8 0035F338 98 05 00 00 */ stb r0, 0(r5) -lbl_803623DC: -/* 803623DC 0035F33C 34 A5 00 01 */ addic. r5, r5, 1 -/* 803623E0 0035F340 41 82 00 0C */ beq lbl_803623EC -/* 803623E4 0035F344 88 0D 9E 52 */ lbz r0, lbl_805A8A12@sda21(r13) -/* 803623E8 0035F348 98 05 00 00 */ stb r0, 0(r5) -lbl_803623EC: -/* 803623EC 0035F34C 38 84 00 07 */ addi r4, r4, 7 -/* 803623F0 0035F350 38 A5 00 01 */ addi r5, r5, 1 -/* 803623F4 0035F354 42 00 FF 78 */ bdnz lbl_8036236C -/* 803623F8 0035F358 38 80 00 00 */ li r4, 0 -/* 803623FC 0035F35C 38 1F 03 F4 */ addi r0, r31, 0x3f4 -/* 80362400 0035F360 90 9F 01 E0 */ stw r4, 0x1e0(r31) -/* 80362404 0035F364 38 60 00 01 */ li r3, 1 -/* 80362408 0035F368 90 9F 02 E4 */ stw r4, 0x2e4(r31) -/* 8036240C 0035F36C 90 1F 03 EC */ stw r0, 0x3ec(r31) -/* 80362410 0035F370 90 1F 03 F0 */ stw r0, 0x3f0(r31) -/* 80362414 0035F374 90 1F 03 F4 */ stw r0, 0x3f4(r31) -/* 80362418 0035F378 90 1F 03 F8 */ stw r0, 0x3f8(r31) -/* 8036241C 0035F37C 90 9F 03 FC */ stw r4, 0x3fc(r31) -/* 80362420 0035F380 90 9F 04 04 */ stw r4, 0x404(r31) -/* 80362424 0035F384 90 9F 04 08 */ stw r4, 0x408(r31) -/* 80362428 0035F388 90 9F 04 0C */ stw r4, 0x40c(r31) -/* 8036242C 0035F38C 90 9F 04 14 */ stw r4, 0x414(r31) -/* 80362430 0035F390 90 9F 04 18 */ stw r4, 0x418(r31) -/* 80362434 0035F394 90 9F 04 1C */ stw r4, 0x41c(r31) -/* 80362438 0035F398 90 9F 04 24 */ stw r4, 0x424(r31) -/* 8036243C 0035F39C 90 9F 04 28 */ stw r4, 0x428(r31) -/* 80362440 0035F3A0 90 9F 04 2C */ stw r4, 0x42c(r31) -/* 80362444 0035F3A4 90 9F 04 34 */ stw r4, 0x434(r31) -/* 80362448 0035F3A8 90 9F 04 38 */ stw r4, 0x438(r31) -/* 8036244C 0035F3AC 90 9F 04 3C */ stw r4, 0x43c(r31) -/* 80362450 0035F3B0 90 9F 04 44 */ stw r4, 0x444(r31) -/* 80362454 0035F3B4 90 9F 04 48 */ stw r4, 0x448(r31) -/* 80362458 0035F3B8 90 9F 04 4C */ stw r4, 0x44c(r31) -/* 8036245C 0035F3BC 88 1F 04 50 */ lbz r0, 0x450(r31) -/* 80362460 0035F3C0 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 80362464 0035F3C4 98 1F 04 50 */ stb r0, 0x450(r31) -/* 80362468 0035F3C8 88 1F 04 50 */ lbz r0, 0x450(r31) -/* 8036246C 0035F3CC 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 -/* 80362470 0035F3D0 98 1F 04 50 */ stb r0, 0x450(r31) -/* 80362474 0035F3D4 88 1F 04 50 */ lbz r0, 0x450(r31) -/* 80362478 0035F3D8 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a -/* 8036247C 0035F3DC 98 1F 04 50 */ stb r0, 0x450(r31) -/* 80362480 0035F3E0 88 1F 04 50 */ lbz r0, 0x450(r31) -/* 80362484 0035F3E4 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b -/* 80362488 0035F3E8 98 1F 04 50 */ stb r0, 0x450(r31) -/* 8036248C 0035F3EC 88 1F 04 50 */ lbz r0, 0x450(r31) -/* 80362490 0035F3F0 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c -/* 80362494 0035F3F4 98 1F 04 50 */ stb r0, 0x450(r31) -/* 80362498 0035F3F8 88 1F 04 50 */ lbz r0, 0x450(r31) -/* 8036249C 0035F3FC 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 803624A0 0035F400 98 1F 04 50 */ stb r0, 0x450(r31) -/* 803624A4 0035F404 80 7F 00 24 */ lwz r3, 0x24(r31) -/* 803624A8 0035F408 80 63 00 10 */ lwz r3, 0x10(r3) -/* 803624AC 0035F40C 28 03 00 00 */ cmplwi r3, 0 -/* 803624B0 0035F410 41 82 00 1C */ beq lbl_803624CC -/* 803624B4 0035F414 81 83 00 00 */ lwz r12, 0(r3) -/* 803624B8 0035F418 38 BF 01 50 */ addi r5, r31, 0x150 -/* 803624BC 0035F41C 80 9F 00 28 */ lwz r4, 0x28(r31) -/* 803624C0 0035F420 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 803624C4 0035F424 7D 89 03 A6 */ mtctr r12 -/* 803624C8 0035F428 4E 80 04 21 */ bctrl -lbl_803624CC: -/* 803624CC 0035F42C 80 7F 00 24 */ lwz r3, 0x24(r31) -/* 803624D0 0035F430 80 63 00 0C */ lwz r3, 0xc(r3) -/* 803624D4 0035F434 28 03 00 00 */ cmplwi r3, 0 -/* 803624D8 0035F438 41 82 00 1C */ beq lbl_803624F4 -/* 803624DC 0035F43C 81 83 00 00 */ lwz r12, 0(r3) -/* 803624E0 0035F440 38 BF 01 54 */ addi r5, r31, 0x154 -/* 803624E4 0035F444 80 9F 00 28 */ lwz r4, 0x28(r31) -/* 803624E8 0035F448 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 803624EC 0035F44C 7D 89 03 A6 */ mtctr r12 -/* 803624F0 0035F450 4E 80 04 21 */ bctrl -lbl_803624F4: -/* 803624F4 0035F454 80 1F 01 54 */ lwz r0, 0x154(r31) -/* 803624F8 0035F458 2C 00 00 20 */ cmpwi r0, 0x20 -/* 803624FC 0035F45C 40 81 00 0C */ ble lbl_80362508 -/* 80362500 0035F460 38 00 00 20 */ li r0, 0x20 -/* 80362504 0035F464 90 1F 01 54 */ stw r0, 0x154(r31) -lbl_80362508: -/* 80362508 0035F468 80 7F 00 24 */ lwz r3, 0x24(r31) -/* 8036250C 0035F46C 80 63 00 00 */ lwz r3, 0(r3) -/* 80362510 0035F470 28 03 00 00 */ cmplwi r3, 0 -/* 80362514 0035F474 41 82 00 20 */ beq lbl_80362534 -/* 80362518 0035F478 81 83 00 00 */ lwz r12, 0(r3) -/* 8036251C 0035F47C 38 BF 00 2C */ addi r5, r31, 0x2c -/* 80362520 0035F480 38 80 00 00 */ li r4, 0 -/* 80362524 0035F484 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80362528 0035F488 7D 89 03 A6 */ mtctr r12 -/* 8036252C 0035F48C 4E 80 04 21 */ bctrl -/* 80362530 0035F490 48 00 00 10 */ b lbl_80362540 -lbl_80362534: -/* 80362534 0035F494 3C 60 00 80 */ lis r3, 0x007FFFFF@ha -/* 80362538 0035F498 38 03 FF FF */ addi r0, r3, 0x007FFFFF@l -/* 8036253C 0035F49C 90 1F 00 2C */ stw r0, 0x2c(r31) -lbl_80362540: -/* 80362540 0035F4A0 80 7F 00 24 */ lwz r3, 0x24(r31) -/* 80362544 0035F4A4 88 03 00 4C */ lbz r0, 0x4c(r3) -/* 80362548 0035F4A8 28 00 00 00 */ cmplwi r0, 0 -/* 8036254C 0035F4AC 41 82 01 54 */ beq lbl_803626A0 -/* 80362550 0035F4B0 88 1F 04 50 */ lbz r0, 0x450(r31) -/* 80362554 0035F4B4 38 60 00 01 */ li r3, 1 -/* 80362558 0035F4B8 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 8036255C 0035F4BC 3C 60 80 3E */ lis r3, lbl_803D83F8@ha -/* 80362560 0035F4C0 98 1F 04 50 */ stb r0, 0x450(r31) -/* 80362564 0035F4C4 3B A3 83 F8 */ addi r29, r3, lbl_803D83F8@l -/* 80362568 0035F4C8 3B 9F 01 E0 */ addi r28, r31, 0x1e0 -/* 8036256C 0035F4CC 3B 60 00 00 */ li r27, 0 -/* 80362570 0035F4D0 48 00 01 24 */ b lbl_80362694 -lbl_80362574: -/* 80362574 0035F4D4 7F A4 EB 78 */ mr r4, r29 -/* 80362578 0035F4D8 3B 40 00 00 */ li r26, 0 -/* 8036257C 0035F4DC 38 60 02 10 */ li r3, 0x210 -/* 80362580 0035F4E0 38 A0 00 00 */ li r5, 0 -/* 80362584 0035F4E4 4B FB 32 E9 */ bl __nw__FUlPCcPCc -/* 80362588 0035F4E8 7C 79 1B 79 */ or. r25, r3, r3 -/* 8036258C 0035F4EC 41 82 00 2C */ beq lbl_803625B8 -/* 80362590 0035F4F0 80 9F 00 24 */ lwz r4, 0x24(r31) -/* 80362594 0035F4F4 38 61 00 70 */ addi r3, r1, 0x70 -/* 80362598 0035F4F8 38 84 00 40 */ addi r4, r4, 0x40 -/* 8036259C 0035F4FC 4B FD E9 0D */ bl __ct__6CTokenFRC6CToken -/* 803625A0 0035F500 80 BF 01 50 */ lwz r5, 0x150(r31) -/* 803625A4 0035F504 7F 23 CB 78 */ mr r3, r25 -/* 803625A8 0035F508 38 81 00 70 */ addi r4, r1, 0x70 -/* 803625AC 0035F50C 3B 40 00 01 */ li r26, 1 -/* 803625B0 0035F510 4B FC C8 35 */ bl "__ct__15CParticleSwooshF28TToken<18CSwooshDescription>i" -/* 803625B4 0035F514 7C 79 1B 78 */ mr r25, r3 -lbl_803625B8: -/* 803625B8 0035F518 80 1C 00 00 */ lwz r0, 0(r28) -/* 803625BC 0035F51C 7C 79 00 D0 */ neg r3, r25 -/* 803625C0 0035F520 7C 63 CB 78 */ or r3, r3, r25 -/* 803625C4 0035F524 93 21 00 6C */ stw r25, 0x6c(r1) -/* 803625C8 0035F528 54 00 18 38 */ slwi r0, r0, 3 -/* 803625CC 0035F52C 7C 9C 02 14 */ add r4, r28, r0 -/* 803625D0 0035F530 54 60 0F FE */ srwi r0, r3, 0x1f -/* 803625D4 0035F534 34 84 00 04 */ addic. r4, r4, 4 -/* 803625D8 0035F538 98 01 00 68 */ stb r0, 0x68(r1) -/* 803625DC 0035F53C 41 82 00 14 */ beq lbl_803625F0 -/* 803625E0 0035F540 98 04 00 00 */ stb r0, 0(r4) -/* 803625E4 0035F544 38 00 00 00 */ li r0, 0 -/* 803625E8 0035F548 93 24 00 04 */ stw r25, 4(r4) -/* 803625EC 0035F54C 98 01 00 68 */ stb r0, 0x68(r1) -lbl_803625F0: -/* 803625F0 0035F550 80 7F 01 E0 */ lwz r3, 0x1e0(r31) -/* 803625F4 0035F554 88 01 00 68 */ lbz r0, 0x68(r1) -/* 803625F8 0035F558 38 63 00 01 */ addi r3, r3, 1 -/* 803625FC 0035F55C 28 00 00 00 */ cmplwi r0, 0 -/* 80362600 0035F560 90 7F 01 E0 */ stw r3, 0x1e0(r31) -/* 80362604 0035F564 41 82 00 24 */ beq lbl_80362628 -/* 80362608 0035F568 80 61 00 6C */ lwz r3, 0x6c(r1) -/* 8036260C 0035F56C 28 03 00 00 */ cmplwi r3, 0 -/* 80362610 0035F570 41 82 00 18 */ beq lbl_80362628 -/* 80362614 0035F574 81 83 00 00 */ lwz r12, 0(r3) -/* 80362618 0035F578 38 80 00 01 */ li r4, 1 -/* 8036261C 0035F57C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80362620 0035F580 7D 89 03 A6 */ mtctr r12 -/* 80362624 0035F584 4E 80 04 21 */ bctrl -lbl_80362628: -/* 80362628 0035F588 7F 40 07 75 */ extsb. r0, r26 -/* 8036262C 0035F58C 41 82 00 10 */ beq lbl_8036263C -/* 80362630 0035F590 38 61 00 70 */ addi r3, r1, 0x70 -/* 80362634 0035F594 38 80 00 00 */ li r4, 0 -/* 80362638 0035F598 4B FD E8 09 */ bl __dt__6CTokenFv -lbl_8036263C: -/* 8036263C 0035F59C 80 7C 00 00 */ lwz r3, 0(r28) -/* 80362640 0035F5A0 3A E0 00 00 */ li r23, 0 -/* 80362644 0035F5A4 3B 40 00 01 */ li r26, 1 -/* 80362648 0035F5A8 38 03 FF FF */ addi r0, r3, -1 -/* 8036264C 0035F5AC 54 00 18 38 */ slwi r0, r0, 3 -/* 80362650 0035F5B0 7C 7C 02 14 */ add r3, r28, r0 -/* 80362654 0035F5B4 83 23 00 08 */ lwz r25, 8(r3) -/* 80362658 0035F5B8 83 19 01 60 */ lwz r24, 0x160(r25) -/* 8036265C 0035F5BC 48 00 00 2C */ b lbl_80362688 -lbl_80362660: -/* 80362660 0035F5C0 88 19 01 D0 */ lbz r0, 0x1d0(r25) -/* 80362664 0035F5C4 53 40 2E B4 */ rlwimi r0, r26, 5, 0x1a, 0x1a -/* 80362668 0035F5C8 7F 23 CB 78 */ mr r3, r25 -/* 8036266C 0035F5CC C8 22 CD 90 */ lfd f1, lbl_805AEAB0@sda21(r2) -/* 80362670 0035F5D0 98 19 01 D0 */ stb r0, 0x1d0(r25) -/* 80362674 0035F5D4 81 99 00 00 */ lwz r12, 0(r25) -/* 80362678 0035F5D8 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8036267C 0035F5DC 7D 89 03 A6 */ mtctr r12 -/* 80362680 0035F5E0 4E 80 04 21 */ bctrl -/* 80362684 0035F5E4 3A F7 00 01 */ addi r23, r23, 1 -lbl_80362688: -/* 80362688 0035F5E8 7C 17 C0 00 */ cmpw r23, r24 -/* 8036268C 0035F5EC 41 80 FF D4 */ blt lbl_80362660 -/* 80362690 0035F5F0 3B 7B 00 01 */ addi r27, r27, 1 -lbl_80362694: -/* 80362694 0035F5F4 80 1F 01 54 */ lwz r0, 0x154(r31) -/* 80362698 0035F5F8 7C 1B 00 00 */ cmpw r27, r0 -/* 8036269C 0035F5FC 41 80 FE D8 */ blt lbl_80362574 -lbl_803626A0: -/* 803626A0 0035F600 80 9F 01 50 */ lwz r4, 0x150(r31) -/* 803626A4 0035F604 3C 60 80 5A */ lis r3, skZero3f@ha -/* 803626A8 0035F608 3B 43 66 A0 */ addi r26, r3, skZero3f@l -/* 803626AC 0035F60C 38 04 00 01 */ addi r0, r4, 1 -/* 803626B0 0035F610 90 1F 01 50 */ stw r0, 0x150(r31) -/* 803626B4 0035F614 83 7F 01 50 */ lwz r27, 0x150(r31) -/* 803626B8 0035F618 1F 3B 00 0C */ mulli r25, r27, 0xc -/* 803626BC 0035F61C 93 61 00 9C */ stw r27, 0x9c(r1) -/* 803626C0 0035F620 93 61 00 A0 */ stw r27, 0xa0(r1) -/* 803626C4 0035F624 2C 19 00 00 */ cmpwi r25, 0 -/* 803626C8 0035F628 40 82 00 0C */ bne lbl_803626D4 -/* 803626CC 0035F62C 38 60 00 00 */ li r3, 0 -/* 803626D0 0035F630 48 00 00 38 */ b lbl_80362708 -lbl_803626D4: -/* 803626D4 0035F634 3C 60 80 3E */ lis r3, lbl_803D83F8@ha -/* 803626D8 0035F638 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha -/* 803626DC 0035F63C 38 A3 83 F8 */ addi r5, r3, lbl_803D83F8@l -/* 803626E0 0035F640 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l -/* 803626E4 0035F644 38 61 00 38 */ addi r3, r1, 0x38 -/* 803626E8 0035F648 38 80 FF FF */ li r4, -1 -/* 803626EC 0035F64C 4B F7 3C E9 */ bl __ct__10CCallStackFUiPCcPCc -/* 803626F0 0035F650 7C 67 1B 78 */ mr r7, r3 -/* 803626F4 0035F654 7F 23 CB 78 */ mr r3, r25 -/* 803626F8 0035F658 38 80 00 02 */ li r4, 2 -/* 803626FC 0035F65C 38 A0 00 01 */ li r5, 1 -/* 80362700 0035F660 38 C0 00 00 */ li r6, 0 -/* 80362704 0035F664 4B FB 32 91 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack -lbl_80362708: -/* 80362708 0035F668 90 61 00 A4 */ stw r3, 0xa4(r1) -/* 8036270C 0035F66C 7F 69 03 A6 */ mtctr r27 -/* 80362710 0035F670 2C 1B 00 00 */ cmpwi r27, 0 -/* 80362714 0035F674 40 81 00 2C */ ble lbl_80362740 -lbl_80362718: -/* 80362718 0035F678 28 03 00 00 */ cmplwi r3, 0 -/* 8036271C 0035F67C 41 82 00 1C */ beq lbl_80362738 -/* 80362720 0035F680 C0 1A 00 00 */ lfs f0, 0(r26) -/* 80362724 0035F684 D0 03 00 00 */ stfs f0, 0(r3) -/* 80362728 0035F688 C0 1A 00 04 */ lfs f0, 4(r26) -/* 8036272C 0035F68C D0 03 00 04 */ stfs f0, 4(r3) -/* 80362730 0035F690 C0 1A 00 08 */ lfs f0, 8(r26) -/* 80362734 0035F694 D0 03 00 08 */ stfs f0, 8(r3) -lbl_80362738: -/* 80362738 0035F698 38 63 00 0C */ addi r3, r3, 0xc -/* 8036273C 0035F69C 42 00 FF DC */ bdnz lbl_80362718 -lbl_80362740: -/* 80362740 0035F6A0 38 7F 04 20 */ addi r3, r31, 0x420 -/* 80362744 0035F6A4 38 81 00 98 */ addi r4, r1, 0x98 -/* 80362748 0035F6A8 4B FF D8 CD */ bl sub_80360014 -/* 8036274C 0035F6AC 80 01 00 9C */ lwz r0, 0x9c(r1) -/* 80362750 0035F6B0 80 61 00 A4 */ lwz r3, 0xa4(r1) -/* 80362754 0035F6B4 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80362758 0035F6B8 90 61 00 2C */ stw r3, 0x2c(r1) -/* 8036275C 0035F6BC 7C 64 1B 78 */ mr r4, r3 -/* 80362760 0035F6C0 7C 03 02 14 */ add r0, r3, r0 -/* 80362764 0035F6C4 90 61 00 28 */ stw r3, 0x28(r1) -/* 80362768 0035F6C8 90 01 00 34 */ stw r0, 0x34(r1) -/* 8036276C 0035F6CC 90 01 00 30 */ stw r0, 0x30(r1) -/* 80362770 0035F6D0 48 00 00 08 */ b lbl_80362778 -lbl_80362774: -/* 80362774 0035F6D4 38 84 00 0C */ addi r4, r4, 0xc -lbl_80362778: -/* 80362778 0035F6D8 7C 04 00 40 */ cmplw r4, r0 -/* 8036277C 0035F6DC 40 82 FF F8 */ bne lbl_80362774 -/* 80362780 0035F6E0 4B FB 31 B1 */ bl Free__7CMemoryFPCv -/* 80362784 0035F6E4 83 7F 01 50 */ lwz r27, 0x150(r31) -/* 80362788 0035F6E8 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8036278C 0035F6EC 3B 43 66 A0 */ addi r26, r3, skZero3f@l -/* 80362790 0035F6F0 1C 7B 00 0C */ mulli r3, r27, 0xc -/* 80362794 0035F6F4 93 61 00 8C */ stw r27, 0x8c(r1) -/* 80362798 0035F6F8 93 61 00 90 */ stw r27, 0x90(r1) -/* 8036279C 0035F6FC 2C 03 00 00 */ cmpwi r3, 0 -/* 803627A0 0035F700 40 82 00 10 */ bne lbl_803627B0 -/* 803627A4 0035F704 38 00 00 00 */ li r0, 0 -/* 803627A8 0035F708 90 01 00 94 */ stw r0, 0x94(r1) -/* 803627AC 0035F70C 48 00 00 18 */ b lbl_803627C4 -lbl_803627B0: -/* 803627B0 0035F710 3C 80 80 3E */ lis r4, lbl_803D83F8@ha -/* 803627B4 0035F714 38 A0 00 00 */ li r5, 0 -/* 803627B8 0035F718 38 84 83 F8 */ addi r4, r4, lbl_803D83F8@l -/* 803627BC 0035F71C 4B FB 30 5D */ bl __nwa__FUlPCcPCc -/* 803627C0 0035F720 90 61 00 94 */ stw r3, 0x94(r1) -lbl_803627C4: -/* 803627C4 0035F724 80 61 00 94 */ lwz r3, 0x94(r1) -/* 803627C8 0035F728 7F 69 03 A6 */ mtctr r27 -/* 803627CC 0035F72C 2C 1B 00 00 */ cmpwi r27, 0 -/* 803627D0 0035F730 40 81 00 2C */ ble lbl_803627FC -lbl_803627D4: -/* 803627D4 0035F734 28 03 00 00 */ cmplwi r3, 0 -/* 803627D8 0035F738 41 82 00 1C */ beq lbl_803627F4 -/* 803627DC 0035F73C C0 1A 00 00 */ lfs f0, 0(r26) -/* 803627E0 0035F740 D0 03 00 00 */ stfs f0, 0(r3) -/* 803627E4 0035F744 C0 1A 00 04 */ lfs f0, 4(r26) -/* 803627E8 0035F748 D0 03 00 04 */ stfs f0, 4(r3) -/* 803627EC 0035F74C C0 1A 00 08 */ lfs f0, 8(r26) -/* 803627F0 0035F750 D0 03 00 08 */ stfs f0, 8(r3) -lbl_803627F4: -/* 803627F4 0035F754 38 63 00 0C */ addi r3, r3, 0xc -/* 803627F8 0035F758 42 00 FF DC */ bdnz lbl_803627D4 -lbl_803627FC: -/* 803627FC 0035F75C 38 7F 04 40 */ addi r3, r31, 0x440 -/* 80362800 0035F760 38 81 00 88 */ addi r4, r1, 0x88 -/* 80362804 0035F764 4B D3 1F 89 */ bl "__as__Q24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>FRCQ24rstl45vector<9CVector3f,Q24rstl17rmemory_allocator>" -/* 80362808 0035F768 80 01 00 8C */ lwz r0, 0x8c(r1) -/* 8036280C 0035F76C 80 61 00 94 */ lwz r3, 0x94(r1) -/* 80362810 0035F770 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80362814 0035F774 90 61 00 1C */ stw r3, 0x1c(r1) -/* 80362818 0035F778 7C 64 1B 78 */ mr r4, r3 -/* 8036281C 0035F77C 7C 03 02 14 */ add r0, r3, r0 -/* 80362820 0035F780 90 61 00 18 */ stw r3, 0x18(r1) -/* 80362824 0035F784 90 01 00 24 */ stw r0, 0x24(r1) -/* 80362828 0035F788 90 01 00 20 */ stw r0, 0x20(r1) -/* 8036282C 0035F78C 48 00 00 08 */ b lbl_80362834 -lbl_80362830: -/* 80362830 0035F790 38 84 00 0C */ addi r4, r4, 0xc -lbl_80362834: -/* 80362834 0035F794 7C 04 00 40 */ cmplw r4, r0 -/* 80362838 0035F798 40 82 FF F8 */ bne lbl_80362830 -/* 8036283C 0035F79C 28 03 00 00 */ cmplwi r3, 0 -/* 80362840 0035F7A0 41 82 00 08 */ beq lbl_80362848 -/* 80362844 0035F7A4 4B FB 30 ED */ bl Free__7CMemoryFPCv -lbl_80362848: -/* 80362848 0035F7A8 83 5F 01 50 */ lwz r26, 0x150(r31) -/* 8036284C 0035F7AC 57 43 10 3B */ rlwinm. r3, r26, 2, 0, 0x1d -/* 80362850 0035F7B0 93 41 00 7C */ stw r26, 0x7c(r1) -/* 80362854 0035F7B4 93 41 00 80 */ stw r26, 0x80(r1) -/* 80362858 0035F7B8 40 82 00 10 */ bne lbl_80362868 -/* 8036285C 0035F7BC 38 00 00 00 */ li r0, 0 -/* 80362860 0035F7C0 90 01 00 84 */ stw r0, 0x84(r1) -/* 80362864 0035F7C4 48 00 00 18 */ b lbl_8036287C -lbl_80362868: -/* 80362868 0035F7C8 3C 80 80 3E */ lis r4, lbl_803D83F8@ha -/* 8036286C 0035F7CC 38 A0 00 00 */ li r5, 0 -/* 80362870 0035F7D0 38 84 83 F8 */ addi r4, r4, lbl_803D83F8@l -/* 80362874 0035F7D4 4B FB 2F A5 */ bl __nwa__FUlPCcPCc -/* 80362878 0035F7D8 90 61 00 84 */ stw r3, 0x84(r1) -lbl_8036287C: -/* 8036287C 0035F7DC 80 61 00 84 */ lwz r3, 0x84(r1) -/* 80362880 0035F7E0 7F 49 03 A6 */ mtctr r26 -/* 80362884 0035F7E4 2C 1A 00 00 */ cmpwi r26, 0 -/* 80362888 0035F7E8 40 81 00 1C */ ble lbl_803628A4 -lbl_8036288C: -/* 8036288C 0035F7EC 28 03 00 00 */ cmplwi r3, 0 -/* 80362890 0035F7F0 41 82 00 0C */ beq lbl_8036289C -/* 80362894 0035F7F4 C0 0D 9E 54 */ lfs f0, lbl_805A8A14@sda21(r13) -/* 80362898 0035F7F8 D0 03 00 00 */ stfs f0, 0(r3) -lbl_8036289C: -/* 8036289C 0035F7FC 38 63 00 04 */ addi r3, r3, 4 -/* 803628A0 0035F800 42 00 FF EC */ bdnz lbl_8036288C -lbl_803628A4: -/* 803628A4 0035F804 38 7F 04 30 */ addi r3, r31, 0x430 -/* 803628A8 0035F808 38 81 00 78 */ addi r4, r1, 0x78 -/* 803628AC 0035F80C 4B D3 1C E1 */ bl "__as__Q24rstl36vectorFRCQ24rstl36vector" -/* 803628B0 0035F810 80 01 00 7C */ lwz r0, 0x7c(r1) -/* 803628B4 0035F814 80 61 00 84 */ lwz r3, 0x84(r1) -/* 803628B8 0035F818 54 00 10 3A */ slwi r0, r0, 2 -/* 803628BC 0035F81C 7C 03 02 14 */ add r0, r3, r0 -/* 803628C0 0035F820 90 61 00 0C */ stw r3, 0xc(r1) -/* 803628C4 0035F824 7C 64 1B 78 */ mr r4, r3 -/* 803628C8 0035F828 90 01 00 14 */ stw r0, 0x14(r1) -/* 803628CC 0035F82C 90 01 00 10 */ stw r0, 0x10(r1) -/* 803628D0 0035F830 90 61 00 08 */ stw r3, 8(r1) -/* 803628D4 0035F834 48 00 00 08 */ b lbl_803628DC -lbl_803628D8: -/* 803628D8 0035F838 38 84 00 04 */ addi r4, r4, 4 -lbl_803628DC: -/* 803628DC 0035F83C 7C 04 00 40 */ cmplw r4, r0 -/* 803628E0 0035F840 40 82 FF F8 */ bne lbl_803628D8 -/* 803628E4 0035F844 28 03 00 00 */ cmplwi r3, 0 -/* 803628E8 0035F848 41 82 00 08 */ beq lbl_803628F0 -/* 803628EC 0035F84C 4B FB 30 45 */ bl Free__7CMemoryFPCv -lbl_803628F0: -/* 803628F0 0035F850 80 7F 00 24 */ lwz r3, 0x24(r31) -/* 803628F4 0035F854 88 03 00 5C */ lbz r0, 0x5c(r3) -/* 803628F8 0035F858 28 00 00 00 */ cmplwi r0, 0 -/* 803628FC 0035F85C 41 82 01 68 */ beq lbl_80362A64 -/* 80362900 0035F860 88 1F 04 50 */ lbz r0, 0x450(r31) -/* 80362904 0035F864 38 60 00 01 */ li r3, 1 -/* 80362908 0035F868 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 8036290C 0035F86C 38 7F 04 00 */ addi r3, r31, 0x400 -/* 80362910 0035F870 98 1F 04 50 */ stb r0, 0x450(r31) -/* 80362914 0035F874 80 9F 01 54 */ lwz r4, 0x154(r31) -/* 80362918 0035F878 48 00 06 35 */ bl sub_80362f4c -/* 8036291C 0035F87C 3C 60 80 3E */ lis r3, lbl_803D83F8@ha -/* 80362920 0035F880 3B 60 00 00 */ li r27, 0 -/* 80362924 0035F884 3B A3 83 F8 */ addi r29, r3, lbl_803D83F8@l -/* 80362928 0035F888 48 00 01 30 */ b lbl_80362A58 -lbl_8036292C: -/* 8036292C 0035F88C 7F A4 EB 78 */ mr r4, r29 -/* 80362930 0035F890 3B 40 00 00 */ li r26, 0 -/* 80362934 0035F894 38 60 03 40 */ li r3, 0x340 -/* 80362938 0035F898 38 A0 00 00 */ li r5, 0 -/* 8036293C 0035F89C 4B FB 2F 31 */ bl __nw__FUlPCcPCc -/* 80362940 0035F8A0 7C 79 1B 79 */ or. r25, r3, r3 -/* 80362944 0035F8A4 41 82 00 30 */ beq lbl_80362974 -/* 80362948 0035F8A8 80 9F 00 24 */ lwz r4, 0x24(r31) -/* 8036294C 0035F8AC 38 61 00 60 */ addi r3, r1, 0x60 -/* 80362950 0035F8B0 38 84 00 50 */ addi r4, r4, 0x50 -/* 80362954 0035F8B4 4B FD E5 55 */ bl __ct__6CTokenFRC6CToken -/* 80362958 0035F8B8 7F 23 CB 78 */ mr r3, r25 -/* 8036295C 0035F8BC 38 81 00 60 */ addi r4, r1, 0x60 -/* 80362960 0035F8C0 3B 40 00 01 */ li r26, 1 -/* 80362964 0035F8C4 38 A0 00 00 */ li r5, 0 -/* 80362968 0035F8C8 38 C0 00 01 */ li r6, 1 -/* 8036296C 0035F8CC 4B FB CA 75 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" -/* 80362970 0035F8D0 7C 79 1B 78 */ mr r25, r3 -lbl_80362974: -/* 80362974 0035F8D4 7C 79 00 D0 */ neg r3, r25 -/* 80362978 0035F8D8 80 1F 04 04 */ lwz r0, 0x404(r31) -/* 8036297C 0035F8DC 80 BF 04 08 */ lwz r5, 0x408(r31) -/* 80362980 0035F8E0 7C 63 CB 78 */ or r3, r3, r25 -/* 80362984 0035F8E4 54 63 0F FE */ srwi r3, r3, 0x1f -/* 80362988 0035F8E8 93 21 00 5C */ stw r25, 0x5c(r1) -/* 8036298C 0035F8EC 7C 00 28 00 */ cmpw r0, r5 -/* 80362990 0035F8F0 98 61 00 58 */ stb r3, 0x58(r1) -/* 80362994 0035F8F4 41 80 00 1C */ blt lbl_803629B0 -/* 80362998 0035F8F8 2C 05 00 00 */ cmpwi r5, 0 -/* 8036299C 0035F8FC 38 7F 04 00 */ addi r3, r31, 0x400 -/* 803629A0 0035F900 38 80 00 04 */ li r4, 4 -/* 803629A4 0035F904 41 82 00 08 */ beq lbl_803629AC -/* 803629A8 0035F908 54 A4 08 3C */ slwi r4, r5, 1 -lbl_803629AC: -/* 803629AC 0035F90C 48 00 05 A1 */ bl sub_80362f4c -lbl_803629B0: -/* 803629B0 0035F910 80 1F 04 04 */ lwz r0, 0x404(r31) -/* 803629B4 0035F914 80 7F 04 0C */ lwz r3, 0x40c(r31) -/* 803629B8 0035F918 54 00 18 38 */ slwi r0, r0, 3 -/* 803629BC 0035F91C 7C A3 02 15 */ add. r5, r3, r0 -/* 803629C0 0035F920 41 82 00 1C */ beq lbl_803629DC -/* 803629C4 0035F924 88 81 00 58 */ lbz r4, 0x58(r1) -/* 803629C8 0035F928 38 00 00 00 */ li r0, 0 -/* 803629CC 0035F92C 80 61 00 5C */ lwz r3, 0x5c(r1) -/* 803629D0 0035F930 98 85 00 00 */ stb r4, 0(r5) -/* 803629D4 0035F934 90 65 00 04 */ stw r3, 4(r5) -/* 803629D8 0035F938 98 01 00 58 */ stb r0, 0x58(r1) -lbl_803629DC: -/* 803629DC 0035F93C 80 7F 04 04 */ lwz r3, 0x404(r31) -/* 803629E0 0035F940 88 01 00 58 */ lbz r0, 0x58(r1) -/* 803629E4 0035F944 38 63 00 01 */ addi r3, r3, 1 -/* 803629E8 0035F948 28 00 00 00 */ cmplwi r0, 0 -/* 803629EC 0035F94C 90 7F 04 04 */ stw r3, 0x404(r31) -/* 803629F0 0035F950 41 82 00 24 */ beq lbl_80362A14 -/* 803629F4 0035F954 80 61 00 5C */ lwz r3, 0x5c(r1) -/* 803629F8 0035F958 28 03 00 00 */ cmplwi r3, 0 -/* 803629FC 0035F95C 41 82 00 18 */ beq lbl_80362A14 -/* 80362A00 0035F960 81 83 00 00 */ lwz r12, 0(r3) -/* 80362A04 0035F964 38 80 00 01 */ li r4, 1 -/* 80362A08 0035F968 81 8C 00 08 */ lwz r12, 8(r12) -/* 80362A0C 0035F96C 7D 89 03 A6 */ mtctr r12 -/* 80362A10 0035F970 4E 80 04 21 */ bctrl -lbl_80362A14: -/* 80362A14 0035F974 7F 40 07 75 */ extsb. r0, r26 -/* 80362A18 0035F978 41 82 00 10 */ beq lbl_80362A28 -/* 80362A1C 0035F97C 38 61 00 60 */ addi r3, r1, 0x60 -/* 80362A20 0035F980 38 80 00 00 */ li r4, 0 -/* 80362A24 0035F984 4B FD E4 1D */ bl __dt__6CTokenFv -lbl_80362A28: -/* 80362A28 0035F988 80 7F 04 04 */ lwz r3, 0x404(r31) -/* 80362A2C 0035F98C 38 80 00 00 */ li r4, 0 -/* 80362A30 0035F990 80 BF 04 0C */ lwz r5, 0x40c(r31) -/* 80362A34 0035F994 38 03 FF FF */ addi r0, r3, -1 -/* 80362A38 0035F998 54 00 18 38 */ slwi r0, r0, 3 -/* 80362A3C 0035F99C 7C 65 02 14 */ add r3, r5, r0 -/* 80362A40 0035F9A0 80 63 00 04 */ lwz r3, 4(r3) -/* 80362A44 0035F9A4 81 83 00 00 */ lwz r12, 0(r3) -/* 80362A48 0035F9A8 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 80362A4C 0035F9AC 7D 89 03 A6 */ mtctr r12 -/* 80362A50 0035F9B0 4E 80 04 21 */ bctrl -/* 80362A54 0035F9B4 3B 7B 00 01 */ addi r27, r27, 1 -lbl_80362A58: -/* 80362A58 0035F9B8 80 1F 01 54 */ lwz r0, 0x154(r31) -/* 80362A5C 0035F9BC 7C 1B 00 00 */ cmpw r27, r0 -/* 80362A60 0035F9C0 41 80 FE CC */ blt lbl_8036292C -lbl_80362A64: -/* 80362A64 0035F9C4 80 7F 00 24 */ lwz r3, 0x24(r31) -/* 80362A68 0035F9C8 88 03 00 6C */ lbz r0, 0x6c(r3) -/* 80362A6C 0035F9CC 28 00 00 00 */ cmplwi r0, 0 -/* 80362A70 0035F9D0 41 82 01 68 */ beq lbl_80362BD8 -/* 80362A74 0035F9D4 88 1F 04 50 */ lbz r0, 0x450(r31) -/* 80362A78 0035F9D8 38 60 00 01 */ li r3, 1 -/* 80362A7C 0035F9DC 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 80362A80 0035F9E0 38 7F 04 10 */ addi r3, r31, 0x410 -/* 80362A84 0035F9E4 98 1F 04 50 */ stb r0, 0x450(r31) -/* 80362A88 0035F9E8 80 9F 01 54 */ lwz r4, 0x154(r31) -/* 80362A8C 0035F9EC 48 00 04 C1 */ bl sub_80362f4c -/* 80362A90 0035F9F0 3C 60 80 3E */ lis r3, lbl_803D83F8@ha -/* 80362A94 0035F9F4 3B 60 00 00 */ li r27, 0 -/* 80362A98 0035F9F8 3B A3 83 F8 */ addi r29, r3, lbl_803D83F8@l -/* 80362A9C 0035F9FC 48 00 01 30 */ b lbl_80362BCC -lbl_80362AA0: -/* 80362AA0 0035FA00 7F A4 EB 78 */ mr r4, r29 -/* 80362AA4 0035FA04 3B 40 00 00 */ li r26, 0 -/* 80362AA8 0035FA08 38 60 03 40 */ li r3, 0x340 -/* 80362AAC 0035FA0C 38 A0 00 00 */ li r5, 0 -/* 80362AB0 0035FA10 4B FB 2D BD */ bl __nw__FUlPCcPCc -/* 80362AB4 0035FA14 7C 79 1B 79 */ or. r25, r3, r3 -/* 80362AB8 0035FA18 41 82 00 30 */ beq lbl_80362AE8 -/* 80362ABC 0035FA1C 80 9F 00 24 */ lwz r4, 0x24(r31) -/* 80362AC0 0035FA20 38 61 00 50 */ addi r3, r1, 0x50 -/* 80362AC4 0035FA24 38 84 00 60 */ addi r4, r4, 0x60 -/* 80362AC8 0035FA28 4B FD E3 E1 */ bl __ct__6CTokenFRC6CToken -/* 80362ACC 0035FA2C 7F 23 CB 78 */ mr r3, r25 -/* 80362AD0 0035FA30 38 81 00 50 */ addi r4, r1, 0x50 -/* 80362AD4 0035FA34 3B 40 00 01 */ li r26, 1 -/* 80362AD8 0035FA38 38 A0 00 00 */ li r5, 0 -/* 80362ADC 0035FA3C 38 C0 00 01 */ li r6, 1 -/* 80362AE0 0035FA40 4B FB C9 01 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" -/* 80362AE4 0035FA44 7C 79 1B 78 */ mr r25, r3 -lbl_80362AE8: -/* 80362AE8 0035FA48 7C 79 00 D0 */ neg r3, r25 -/* 80362AEC 0035FA4C 80 1F 04 14 */ lwz r0, 0x414(r31) -/* 80362AF0 0035FA50 80 BF 04 18 */ lwz r5, 0x418(r31) -/* 80362AF4 0035FA54 7C 63 CB 78 */ or r3, r3, r25 -/* 80362AF8 0035FA58 54 63 0F FE */ srwi r3, r3, 0x1f -/* 80362AFC 0035FA5C 93 21 00 4C */ stw r25, 0x4c(r1) -/* 80362B00 0035FA60 7C 00 28 00 */ cmpw r0, r5 -/* 80362B04 0035FA64 98 61 00 48 */ stb r3, 0x48(r1) -/* 80362B08 0035FA68 41 80 00 1C */ blt lbl_80362B24 -/* 80362B0C 0035FA6C 2C 05 00 00 */ cmpwi r5, 0 -/* 80362B10 0035FA70 38 7F 04 10 */ addi r3, r31, 0x410 -/* 80362B14 0035FA74 38 80 00 04 */ li r4, 4 -/* 80362B18 0035FA78 41 82 00 08 */ beq lbl_80362B20 -/* 80362B1C 0035FA7C 54 A4 08 3C */ slwi r4, r5, 1 -lbl_80362B20: -/* 80362B20 0035FA80 48 00 04 2D */ bl sub_80362f4c -lbl_80362B24: -/* 80362B24 0035FA84 80 1F 04 14 */ lwz r0, 0x414(r31) -/* 80362B28 0035FA88 80 7F 04 1C */ lwz r3, 0x41c(r31) -/* 80362B2C 0035FA8C 54 00 18 38 */ slwi r0, r0, 3 -/* 80362B30 0035FA90 7C A3 02 15 */ add. r5, r3, r0 -/* 80362B34 0035FA94 41 82 00 1C */ beq lbl_80362B50 -/* 80362B38 0035FA98 88 81 00 48 */ lbz r4, 0x48(r1) -/* 80362B3C 0035FA9C 38 00 00 00 */ li r0, 0 -/* 80362B40 0035FAA0 80 61 00 4C */ lwz r3, 0x4c(r1) -/* 80362B44 0035FAA4 98 85 00 00 */ stb r4, 0(r5) -/* 80362B48 0035FAA8 90 65 00 04 */ stw r3, 4(r5) -/* 80362B4C 0035FAAC 98 01 00 48 */ stb r0, 0x48(r1) -lbl_80362B50: -/* 80362B50 0035FAB0 80 7F 04 14 */ lwz r3, 0x414(r31) -/* 80362B54 0035FAB4 88 01 00 48 */ lbz r0, 0x48(r1) -/* 80362B58 0035FAB8 38 63 00 01 */ addi r3, r3, 1 -/* 80362B5C 0035FABC 28 00 00 00 */ cmplwi r0, 0 -/* 80362B60 0035FAC0 90 7F 04 14 */ stw r3, 0x414(r31) -/* 80362B64 0035FAC4 41 82 00 24 */ beq lbl_80362B88 -/* 80362B68 0035FAC8 80 61 00 4C */ lwz r3, 0x4c(r1) -/* 80362B6C 0035FACC 28 03 00 00 */ cmplwi r3, 0 -/* 80362B70 0035FAD0 41 82 00 18 */ beq lbl_80362B88 -/* 80362B74 0035FAD4 81 83 00 00 */ lwz r12, 0(r3) -/* 80362B78 0035FAD8 38 80 00 01 */ li r4, 1 -/* 80362B7C 0035FADC 81 8C 00 08 */ lwz r12, 8(r12) -/* 80362B80 0035FAE0 7D 89 03 A6 */ mtctr r12 -/* 80362B84 0035FAE4 4E 80 04 21 */ bctrl -lbl_80362B88: -/* 80362B88 0035FAE8 7F 40 07 75 */ extsb. r0, r26 -/* 80362B8C 0035FAEC 41 82 00 10 */ beq lbl_80362B9C -/* 80362B90 0035FAF0 38 61 00 50 */ addi r3, r1, 0x50 -/* 80362B94 0035FAF4 38 80 00 00 */ li r4, 0 -/* 80362B98 0035FAF8 4B FD E2 A9 */ bl __dt__6CTokenFv -lbl_80362B9C: -/* 80362B9C 0035FAFC 80 7F 04 14 */ lwz r3, 0x414(r31) -/* 80362BA0 0035FB00 38 80 00 00 */ li r4, 0 -/* 80362BA4 0035FB04 80 BF 04 1C */ lwz r5, 0x41c(r31) -/* 80362BA8 0035FB08 38 03 FF FF */ addi r0, r3, -1 -/* 80362BAC 0035FB0C 54 00 18 38 */ slwi r0, r0, 3 -/* 80362BB0 0035FB10 7C 65 02 14 */ add r3, r5, r0 -/* 80362BB4 0035FB14 80 63 00 04 */ lwz r3, 4(r3) -/* 80362BB8 0035FB18 81 83 00 00 */ lwz r12, 0(r3) -/* 80362BBC 0035FB1C 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 80362BC0 0035FB20 7D 89 03 A6 */ mtctr r12 -/* 80362BC4 0035FB24 4E 80 04 21 */ bctrl -/* 80362BC8 0035FB28 3B 7B 00 01 */ addi r27, r27, 1 -lbl_80362BCC: -/* 80362BCC 0035FB2C 80 1F 01 54 */ lwz r0, 0x154(r31) -/* 80362BD0 0035FB30 7C 1B 00 00 */ cmpw r27, r0 -/* 80362BD4 0035FB34 41 80 FE CC */ blt lbl_80362AA0 -lbl_80362BD8: -/* 80362BD8 0035FB38 80 7F 00 24 */ lwz r3, 0x24(r31) -/* 80362BDC 0035FB3C 80 03 00 28 */ lwz r0, 0x28(r3) -/* 80362BE0 0035FB40 28 00 00 00 */ cmplwi r0, 0 -/* 80362BE4 0035FB44 40 82 00 1C */ bne lbl_80362C00 -/* 80362BE8 0035FB48 80 03 00 2C */ lwz r0, 0x2c(r3) -/* 80362BEC 0035FB4C 28 00 00 00 */ cmplwi r0, 0 -/* 80362BF0 0035FB50 40 82 00 10 */ bne lbl_80362C00 -/* 80362BF4 0035FB54 80 03 00 30 */ lwz r0, 0x30(r3) -/* 80362BF8 0035FB58 28 00 00 00 */ cmplwi r0, 0 -/* 80362BFC 0035FB5C 41 82 01 28 */ beq lbl_80362D24 -lbl_80362C00: -/* 80362C00 0035FB60 88 1F 04 50 */ lbz r0, 0x450(r31) -/* 80362C04 0035FB64 38 60 00 01 */ li r3, 1 -/* 80362C08 0035FB68 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 80362C0C 0035FB6C 3C 60 80 3E */ lis r3, lbl_803D83F8@ha -/* 80362C10 0035FB70 98 1F 04 50 */ stb r0, 0x450(r31) -/* 80362C14 0035FB74 3B A3 83 F8 */ addi r29, r3, lbl_803D83F8@l -/* 80362C18 0035FB78 3B 9F 02 E4 */ addi r28, r31, 0x2e4 -/* 80362C1C 0035FB7C 3B 60 00 00 */ li r27, 0 -/* 80362C20 0035FB80 48 00 00 F8 */ b lbl_80362D18 -lbl_80362C24: -/* 80362C24 0035FB84 7F A4 EB 78 */ mr r4, r29 -/* 80362C28 0035FB88 38 60 00 40 */ li r3, 0x40 -/* 80362C2C 0035FB8C 38 A0 00 00 */ li r5, 0 -/* 80362C30 0035FB90 4B FB 2C 3D */ bl __nw__FUlPCcPCc -/* 80362C34 0035FB94 7C 79 1B 79 */ or. r25, r3, r3 -/* 80362C38 0035FB98 41 82 00 88 */ beq lbl_80362CC0 -/* 80362C3C 0035FB9C 38 00 00 00 */ li r0, 0 -/* 80362C40 0035FBA0 7F 37 CB 78 */ mr r23, r25 -/* 80362C44 0035FBA4 90 19 00 04 */ stw r0, 4(r25) -/* 80362C48 0035FBA8 C0 42 CD 48 */ lfs f2, lbl_805AEA68@sda21(r2) -/* 80362C4C 0035FBAC 90 19 00 08 */ stw r0, 8(r25) -/* 80362C50 0035FBB0 C0 22 CD 6C */ lfs f1, lbl_805AEA8C@sda21(r2) -/* 80362C54 0035FBB4 90 19 00 0C */ stw r0, 0xc(r25) -/* 80362C58 0035FBB8 C0 02 CD 98 */ lfs f0, lbl_805AEAB8@sda21(r2) -/* 80362C5C 0035FBBC D0 59 00 10 */ stfs f2, 0x10(r25) -/* 80362C60 0035FBC0 D0 39 00 14 */ stfs f1, 0x14(r25) -/* 80362C64 0035FBC4 D0 19 00 18 */ stfs f0, 0x18(r25) -/* 80362C68 0035FBC8 4B FE 73 45 */ bl White__6CColorFv -/* 80362C6C 0035FBCC 80 03 00 00 */ lwz r0, 0(r3) -/* 80362C70 0035FBD0 90 17 00 1C */ stw r0, 0x1c(r23) -/* 80362C74 0035FBD4 4B FE 73 39 */ bl White__6CColorFv -/* 80362C78 0035FBD8 80 03 00 00 */ lwz r0, 0(r3) -/* 80362C7C 0035FBDC 90 17 00 20 */ stw r0, 0x20(r23) -/* 80362C80 0035FBE0 4B FE 73 2D */ bl White__6CColorFv -/* 80362C84 0035FBE4 80 03 00 00 */ lwz r0, 0(r3) -/* 80362C88 0035FBE8 3C 60 80 5A */ lis r3, lbl_805A6754@ha -/* 80362C8C 0035FBEC 90 17 00 24 */ stw r0, 0x24(r23) -/* 80362C90 0035FBF0 C0 03 67 54 */ lfs f0, lbl_805A6754@l(r3) -/* 80362C94 0035FBF4 D0 17 00 28 */ stfs f0, 0x28(r23) -/* 80362C98 0035FBF8 C0 1E 00 04 */ lfs f0, 4(r30) -/* 80362C9C 0035FBFC D0 17 00 2C */ stfs f0, 0x2c(r23) -/* 80362CA0 0035FC00 C0 1E 00 08 */ lfs f0, 8(r30) -/* 80362CA4 0035FC04 D0 17 00 30 */ stfs f0, 0x30(r23) -/* 80362CA8 0035FC08 C0 1E 00 0C */ lfs f0, 0xc(r30) -/* 80362CAC 0035FC0C D0 17 00 34 */ stfs f0, 0x34(r23) -/* 80362CB0 0035FC10 C0 1E 00 10 */ lfs f0, 0x10(r30) -/* 80362CB4 0035FC14 D0 17 00 38 */ stfs f0, 0x38(r23) -/* 80362CB8 0035FC18 C0 1E 00 14 */ lfs f0, 0x14(r30) -/* 80362CBC 0035FC1C D0 17 00 3C */ stfs f0, 0x3c(r23) -lbl_80362CC0: -/* 80362CC0 0035FC20 7C 19 00 D0 */ neg r0, r25 -/* 80362CC4 0035FC24 93 21 00 44 */ stw r25, 0x44(r1) -/* 80362CC8 0035FC28 7C 00 CB 78 */ or r0, r0, r25 -/* 80362CCC 0035FC2C 54 03 0F FE */ srwi r3, r0, 0x1f -/* 80362CD0 0035FC30 98 61 00 40 */ stb r3, 0x40(r1) -/* 80362CD4 0035FC34 80 1C 00 00 */ lwz r0, 0(r28) -/* 80362CD8 0035FC38 54 00 18 38 */ slwi r0, r0, 3 -/* 80362CDC 0035FC3C 7C 9C 02 14 */ add r4, r28, r0 -/* 80362CE0 0035FC40 34 84 00 04 */ addic. r4, r4, 4 -/* 80362CE4 0035FC44 41 82 00 18 */ beq lbl_80362CFC -/* 80362CE8 0035FC48 98 64 00 00 */ stb r3, 0(r4) -/* 80362CEC 0035FC4C 38 00 00 00 */ li r0, 0 -/* 80362CF0 0035FC50 80 61 00 44 */ lwz r3, 0x44(r1) -/* 80362CF4 0035FC54 90 64 00 04 */ stw r3, 4(r4) -/* 80362CF8 0035FC58 98 01 00 40 */ stb r0, 0x40(r1) -lbl_80362CFC: -/* 80362CFC 0035FC5C 80 BF 02 E4 */ lwz r5, 0x2e4(r31) -/* 80362D00 0035FC60 38 61 00 40 */ addi r3, r1, 0x40 -/* 80362D04 0035FC64 38 80 FF FF */ li r4, -1 -/* 80362D08 0035FC68 38 05 00 01 */ addi r0, r5, 1 -/* 80362D0C 0035FC6C 90 1F 02 E4 */ stw r0, 0x2e4(r31) -/* 80362D10 0035FC70 4B FF F2 E1 */ bl "__dt__Q24rstl45auto_ptrFv" -/* 80362D14 0035FC74 3B 7B 00 01 */ addi r27, r27, 1 -lbl_80362D18: -/* 80362D18 0035FC78 80 1F 01 54 */ lwz r0, 0x154(r31) -/* 80362D1C 0035FC7C 7C 1B 00 00 */ cmpw r27, r0 -/* 80362D20 0035FC80 41 80 FF 04 */ blt lbl_80362C24 -lbl_80362D24: -/* 80362D24 0035FC84 7F E3 FB 78 */ mr r3, r31 -/* 80362D28 0035FC88 BA E1 00 AC */ lmw r23, 0xac(r1) -/* 80362D2C 0035FC8C 80 01 00 D4 */ lwz r0, 0xd4(r1) -/* 80362D30 0035FC90 7C 08 03 A6 */ mtlr r0 -/* 80362D34 0035FC94 38 21 00 D0 */ addi r1, r1, 0xd0 -/* 80362D38 0035FC98 4E 80 00 20 */ blr - -.global sub_80362d3c -sub_80362d3c: -/* 80362D3C 0035FC9C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80362D40 0035FCA0 7C 08 02 A6 */ mflr r0 -/* 80362D44 0035FCA4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80362D48 0035FCA8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80362D4C 0035FCAC 93 C1 00 08 */ stw r30, 8(r1) -/* 80362D50 0035FCB0 7C 7E 1B 78 */ mr r30, r3 -/* 80362D54 0035FCB4 80 03 00 04 */ lwz r0, 4(r3) -/* 80362D58 0035FCB8 83 E4 00 04 */ lwz r31, 4(r4) -/* 80362D5C 0035FCBC 7C 04 00 40 */ cmplw r4, r0 -/* 80362D60 0035FCC0 40 82 00 08 */ bne lbl_80362D68 -/* 80362D64 0035FCC4 93 FE 00 04 */ stw r31, 4(r30) -lbl_80362D68: -/* 80362D68 0035FCC8 80 04 00 04 */ lwz r0, 4(r4) -/* 80362D6C 0035FCCC 28 04 00 00 */ cmplwi r4, 0 -/* 80362D70 0035FCD0 80 64 00 00 */ lwz r3, 0(r4) -/* 80362D74 0035FCD4 90 03 00 04 */ stw r0, 4(r3) -/* 80362D78 0035FCD8 80 04 00 00 */ lwz r0, 0(r4) -/* 80362D7C 0035FCDC 80 64 00 04 */ lwz r3, 4(r4) -/* 80362D80 0035FCE0 90 03 00 00 */ stw r0, 0(r3) -/* 80362D84 0035FCE4 41 82 00 0C */ beq lbl_80362D90 -/* 80362D88 0035FCE8 7C 83 23 78 */ mr r3, r4 -/* 80362D8C 0035FCEC 4B FB 2B A5 */ bl Free__7CMemoryFPCv -lbl_80362D90: -/* 80362D90 0035FCF0 80 9E 00 14 */ lwz r4, 0x14(r30) -/* 80362D94 0035FCF4 7F E3 FB 78 */ mr r3, r31 -/* 80362D98 0035FCF8 38 04 FF FF */ addi r0, r4, -1 -/* 80362D9C 0035FCFC 90 1E 00 14 */ stw r0, 0x14(r30) -/* 80362DA0 0035FD00 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80362DA4 0035FD04 83 C1 00 08 */ lwz r30, 8(r1) -/* 80362DA8 0035FD08 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80362DAC 0035FD0C 7C 08 03 A6 */ mtlr r0 -/* 80362DB0 0035FD10 38 21 00 10 */ addi r1, r1, 0x10 -/* 80362DB4 0035FD14 4E 80 00 20 */ blr - -.global "__dt__Q24rstl80listFv" -"__dt__Q24rstl80listFv": -/* 80362DB8 0035FD18 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80362DBC 0035FD1C 7C 08 02 A6 */ mflr r0 -/* 80362DC0 0035FD20 90 01 00 24 */ stw r0, 0x24(r1) -/* 80362DC4 0035FD24 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80362DC8 0035FD28 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80362DCC 0035FD2C 7C 9E 23 78 */ mr r30, r4 -/* 80362DD0 0035FD30 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80362DD4 0035FD34 7C 7D 1B 79 */ or. r29, r3, r3 -/* 80362DD8 0035FD38 41 82 00 38 */ beq lbl_80362E10 -/* 80362DDC 0035FD3C 83 FD 00 04 */ lwz r31, 4(r29) -/* 80362DE0 0035FD40 48 00 00 14 */ b lbl_80362DF4 -lbl_80362DE4: -/* 80362DE4 0035FD44 7F E3 FB 79 */ or. r3, r31, r31 -/* 80362DE8 0035FD48 83 FF 00 04 */ lwz r31, 4(r31) -/* 80362DEC 0035FD4C 41 82 00 08 */ beq lbl_80362DF4 -/* 80362DF0 0035FD50 4B FB 2B 41 */ bl Free__7CMemoryFPCv -lbl_80362DF4: -/* 80362DF4 0035FD54 80 1D 00 08 */ lwz r0, 8(r29) -/* 80362DF8 0035FD58 7C 1F 00 40 */ cmplw r31, r0 -/* 80362DFC 0035FD5C 40 82 FF E8 */ bne lbl_80362DE4 -/* 80362E00 0035FD60 7F C0 07 35 */ extsh. r0, r30 -/* 80362E04 0035FD64 40 81 00 0C */ ble lbl_80362E10 -/* 80362E08 0035FD68 7F A3 EB 78 */ mr r3, r29 -/* 80362E0C 0035FD6C 4B FB 2B 25 */ bl Free__7CMemoryFPCv -lbl_80362E10: -/* 80362E10 0035FD70 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80362E14 0035FD74 7F A3 EB 78 */ mr r3, r29 -/* 80362E18 0035FD78 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80362E1C 0035FD7C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80362E20 0035FD80 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80362E24 0035FD84 7C 08 03 A6 */ mtlr r0 -/* 80362E28 0035FD88 38 21 00 20 */ addi r1, r1, 0x20 -/* 80362E2C 0035FD8C 4E 80 00 20 */ blr - -.global "reserve__Q24rstl45vector<9CVector3f,Q24rstl17aligned_allocator>Fi" -"reserve__Q24rstl45vector<9CVector3f,Q24rstl17aligned_allocator>Fi": -/* 80362E30 0035FD90 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80362E34 0035FD94 7C 08 02 A6 */ mflr r0 -/* 80362E38 0035FD98 90 01 00 34 */ stw r0, 0x34(r1) -/* 80362E3C 0035FD9C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80362E40 0035FDA0 7C 9F 23 78 */ mr r31, r4 -/* 80362E44 0035FDA4 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80362E48 0035FDA8 7C 7E 1B 78 */ mr r30, r3 -/* 80362E4C 0035FDAC 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80362E50 0035FDB0 80 03 00 08 */ lwz r0, 8(r3) -/* 80362E54 0035FDB4 7C 1F 00 00 */ cmpw r31, r0 -/* 80362E58 0035FDB8 40 81 00 D8 */ ble lbl_80362F30 -/* 80362E5C 0035FDBC 1F BF 00 0C */ mulli r29, r31, 0xc -/* 80362E60 0035FDC0 2C 1D 00 00 */ cmpwi r29, 0 -/* 80362E64 0035FDC4 40 82 00 0C */ bne lbl_80362E70 -/* 80362E68 0035FDC8 3B A0 00 00 */ li r29, 0 -/* 80362E6C 0035FDCC 48 00 00 3C */ b lbl_80362EA8 -lbl_80362E70: -/* 80362E70 0035FDD0 3C 60 80 3E */ lis r3, lbl_803D83F8@ha -/* 80362E74 0035FDD4 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha -/* 80362E78 0035FDD8 38 A3 83 F8 */ addi r5, r3, lbl_803D83F8@l -/* 80362E7C 0035FDDC 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l -/* 80362E80 0035FDE0 38 61 00 18 */ addi r3, r1, 0x18 -/* 80362E84 0035FDE4 38 80 FF FF */ li r4, -1 -/* 80362E88 0035FDE8 4B F7 35 4D */ bl __ct__10CCallStackFUiPCcPCc -/* 80362E8C 0035FDEC 7C 67 1B 78 */ mr r7, r3 -/* 80362E90 0035FDF0 7F A3 EB 78 */ mr r3, r29 -/* 80362E94 0035FDF4 38 80 00 02 */ li r4, 2 -/* 80362E98 0035FDF8 38 A0 00 01 */ li r5, 1 -/* 80362E9C 0035FDFC 38 C0 00 00 */ li r6, 0 -/* 80362EA0 0035FE00 4B FB 2A F5 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack -/* 80362EA4 0035FE04 7C 7D 1B 78 */ mr r29, r3 -lbl_80362EA8: -/* 80362EA8 0035FE08 80 1E 00 04 */ lwz r0, 4(r30) -/* 80362EAC 0035FE0C 7F A3 EB 78 */ mr r3, r29 -/* 80362EB0 0035FE10 80 9E 00 0C */ lwz r4, 0xc(r30) -/* 80362EB4 0035FE14 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80362EB8 0035FE18 90 81 00 10 */ stw r4, 0x10(r1) -/* 80362EBC 0035FE1C 7C 04 02 14 */ add r0, r4, r0 -/* 80362EC0 0035FE20 90 81 00 14 */ stw r4, 0x14(r1) -/* 80362EC4 0035FE24 90 01 00 08 */ stw r0, 8(r1) -/* 80362EC8 0035FE28 90 01 00 0C */ stw r0, 0xc(r1) -/* 80362ECC 0035FE2C 48 00 00 2C */ b lbl_80362EF8 -lbl_80362ED0: -/* 80362ED0 0035FE30 28 03 00 00 */ cmplwi r3, 0 -/* 80362ED4 0035FE34 41 82 00 1C */ beq lbl_80362EF0 -/* 80362ED8 0035FE38 C0 04 00 00 */ lfs f0, 0(r4) -/* 80362EDC 0035FE3C D0 03 00 00 */ stfs f0, 0(r3) -/* 80362EE0 0035FE40 C0 04 00 04 */ lfs f0, 4(r4) -/* 80362EE4 0035FE44 D0 03 00 04 */ stfs f0, 4(r3) -/* 80362EE8 0035FE48 C0 04 00 08 */ lfs f0, 8(r4) -/* 80362EEC 0035FE4C D0 03 00 08 */ stfs f0, 8(r3) -lbl_80362EF0: -/* 80362EF0 0035FE50 38 63 00 0C */ addi r3, r3, 0xc -/* 80362EF4 0035FE54 38 84 00 0C */ addi r4, r4, 0xc -lbl_80362EF8: -/* 80362EF8 0035FE58 7C 04 00 40 */ cmplw r4, r0 -/* 80362EFC 0035FE5C 40 82 FF D4 */ bne lbl_80362ED0 -/* 80362F00 0035FE60 80 1E 00 04 */ lwz r0, 4(r30) -/* 80362F04 0035FE64 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 80362F08 0035FE68 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80362F0C 0035FE6C 7C 64 1B 78 */ mr r4, r3 -/* 80362F10 0035FE70 7C 03 02 14 */ add r0, r3, r0 -/* 80362F14 0035FE74 48 00 00 08 */ b lbl_80362F1C -lbl_80362F18: -/* 80362F18 0035FE78 38 84 00 0C */ addi r4, r4, 0xc -lbl_80362F1C: -/* 80362F1C 0035FE7C 7C 04 00 40 */ cmplw r4, r0 -/* 80362F20 0035FE80 40 82 FF F8 */ bne lbl_80362F18 -/* 80362F24 0035FE84 4B FB 2A 0D */ bl Free__7CMemoryFPCv -/* 80362F28 0035FE88 93 BE 00 0C */ stw r29, 0xc(r30) -/* 80362F2C 0035FE8C 93 FE 00 08 */ stw r31, 8(r30) -lbl_80362F30: -/* 80362F30 0035FE90 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80362F34 0035FE94 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80362F38 0035FE98 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80362F3C 0035FE9C 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80362F40 0035FEA0 7C 08 03 A6 */ mtlr r0 -/* 80362F44 0035FEA4 38 21 00 30 */ addi r1, r1, 0x30 -/* 80362F48 0035FEA8 4E 80 00 20 */ blr - -.global sub_80362f4c -sub_80362f4c: -/* 80362F4C 0035FEAC 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80362F50 0035FEB0 7C 08 02 A6 */ mflr r0 -/* 80362F54 0035FEB4 90 01 00 34 */ stw r0, 0x34(r1) -/* 80362F58 0035FEB8 BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 80362F5C 0035FEBC 7C 9F 23 78 */ mr r31, r4 -/* 80362F60 0035FEC0 7C 7E 1B 78 */ mr r30, r3 -/* 80362F64 0035FEC4 80 03 00 08 */ lwz r0, 8(r3) -/* 80362F68 0035FEC8 7C 1F 00 00 */ cmpw r31, r0 -/* 80362F6C 0035FECC 40 81 00 EC */ ble lbl_80363058 -/* 80362F70 0035FED0 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c -/* 80362F74 0035FED4 40 82 00 0C */ bne lbl_80362F80 -/* 80362F78 0035FED8 3B A0 00 00 */ li r29, 0 -/* 80362F7C 0035FEDC 48 00 00 18 */ b lbl_80362F94 -lbl_80362F80: -/* 80362F80 0035FEE0 3C 80 80 3E */ lis r4, lbl_803D83F8@ha -/* 80362F84 0035FEE4 38 A0 00 00 */ li r5, 0 -/* 80362F88 0035FEE8 38 84 83 F8 */ addi r4, r4, lbl_803D83F8@l -/* 80362F8C 0035FEEC 4B FB 28 8D */ bl __nwa__FUlPCcPCc -/* 80362F90 0035FEF0 7C 7D 1B 78 */ mr r29, r3 -lbl_80362F94: -/* 80362F94 0035FEF4 80 7E 00 04 */ lwz r3, 4(r30) -/* 80362F98 0035FEF8 7F A5 EB 78 */ mr r5, r29 -/* 80362F9C 0035FEFC 80 DE 00 0C */ lwz r6, 0xc(r30) -/* 80362FA0 0035FF00 38 00 00 00 */ li r0, 0 -/* 80362FA4 0035FF04 54 63 18 38 */ slwi r3, r3, 3 -/* 80362FA8 0035FF08 7C 86 1A 14 */ add r4, r6, r3 -/* 80362FAC 0035FF0C 90 C1 00 10 */ stw r6, 0x10(r1) -/* 80362FB0 0035FF10 90 81 00 08 */ stw r4, 8(r1) -/* 80362FB4 0035FF14 90 81 00 0C */ stw r4, 0xc(r1) -/* 80362FB8 0035FF18 90 C1 00 14 */ stw r6, 0x14(r1) -/* 80362FBC 0035FF1C 48 00 00 28 */ b lbl_80362FE4 -lbl_80362FC0: -/* 80362FC0 0035FF20 28 05 00 00 */ cmplwi r5, 0 -/* 80362FC4 0035FF24 41 82 00 18 */ beq lbl_80362FDC -/* 80362FC8 0035FF28 88 66 00 00 */ lbz r3, 0(r6) -/* 80362FCC 0035FF2C 98 65 00 00 */ stb r3, 0(r5) -/* 80362FD0 0035FF30 80 66 00 04 */ lwz r3, 4(r6) -/* 80362FD4 0035FF34 90 65 00 04 */ stw r3, 4(r5) -/* 80362FD8 0035FF38 98 06 00 00 */ stb r0, 0(r6) -lbl_80362FDC: -/* 80362FDC 0035FF3C 38 A5 00 08 */ addi r5, r5, 8 -/* 80362FE0 0035FF40 38 C6 00 08 */ addi r6, r6, 8 -lbl_80362FE4: -/* 80362FE4 0035FF44 7C 06 20 40 */ cmplw r6, r4 -/* 80362FE8 0035FF48 40 82 FF D8 */ bne lbl_80362FC0 -/* 80362FEC 0035FF4C 80 1E 00 04 */ lwz r0, 4(r30) -/* 80362FF0 0035FF50 83 7E 00 0C */ lwz r27, 0xc(r30) -/* 80362FF4 0035FF54 54 00 18 38 */ slwi r0, r0, 3 -/* 80362FF8 0035FF58 7F 9B 02 14 */ add r28, r27, r0 -/* 80362FFC 0035FF5C 48 00 00 3C */ b lbl_80363038 -lbl_80363000: -/* 80363000 0035FF60 28 1B 00 00 */ cmplwi r27, 0 -/* 80363004 0035FF64 41 82 00 30 */ beq lbl_80363034 -/* 80363008 0035FF68 88 1B 00 00 */ lbz r0, 0(r27) -/* 8036300C 0035FF6C 28 00 00 00 */ cmplwi r0, 0 -/* 80363010 0035FF70 41 82 00 24 */ beq lbl_80363034 -/* 80363014 0035FF74 80 7B 00 04 */ lwz r3, 4(r27) -/* 80363018 0035FF78 28 03 00 00 */ cmplwi r3, 0 -/* 8036301C 0035FF7C 41 82 00 18 */ beq lbl_80363034 -/* 80363020 0035FF80 81 83 00 00 */ lwz r12, 0(r3) -/* 80363024 0035FF84 38 80 00 01 */ li r4, 1 -/* 80363028 0035FF88 81 8C 00 08 */ lwz r12, 8(r12) -/* 8036302C 0035FF8C 7D 89 03 A6 */ mtctr r12 -/* 80363030 0035FF90 4E 80 04 21 */ bctrl -lbl_80363034: -/* 80363034 0035FF94 3B 7B 00 08 */ addi r27, r27, 8 -lbl_80363038: -/* 80363038 0035FF98 7C 1B E0 40 */ cmplw r27, r28 -/* 8036303C 0035FF9C 40 82 FF C4 */ bne lbl_80363000 -/* 80363040 0035FFA0 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 80363044 0035FFA4 28 03 00 00 */ cmplwi r3, 0 -/* 80363048 0035FFA8 41 82 00 08 */ beq lbl_80363050 -/* 8036304C 0035FFAC 4B FB 28 E5 */ bl Free__7CMemoryFPCv -lbl_80363050: -/* 80363050 0035FFB0 93 BE 00 0C */ stw r29, 0xc(r30) -/* 80363054 0035FFB4 93 FE 00 08 */ stw r31, 8(r30) -lbl_80363058: -/* 80363058 0035FFB8 BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 8036305C 0035FFBC 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80363060 0035FFC0 7C 08 03 A6 */ mtlr r0 -/* 80363064 0035FFC4 38 21 00 30 */ addi r1, r1, 0x30 -/* 80363068 0035FFC8 4E 80 00 20 */ blr - -.global ToRGB5A3__6CColorCFv -ToRGB5A3__6CColorCFv: -/* 8036306C 0035FFCC 88 A3 00 02 */ lbz r5, 2(r3) -/* 80363070 0035FFD0 88 83 00 03 */ lbz r4, 3(r3) -/* 80363074 0035FFD4 54 A0 EE FE */ rlwinm r0, r5, 0x1d, 0x1b, 0x1f -/* 80363078 0035FFD8 88 C3 00 01 */ lbz r6, 1(r3) -/* 8036307C 0035FFDC 60 00 80 00 */ ori r0, r0, 0x8000 -/* 80363080 0035FFE0 88 E3 00 00 */ lbz r7, 0(r3) -/* 80363084 0035FFE4 50 C0 15 B4 */ rlwimi r0, r6, 2, 0x16, 0x1a -/* 80363088 0035FFE8 28 04 00 FF */ cmplwi r4, 0xff -/* 8036308C 0035FFEC 50 E0 3C 6A */ rlwimi r0, r7, 7, 0x11, 0x15 -/* 80363090 0035FFF0 54 03 04 3E */ clrlwi r3, r0, 0x10 -/* 80363094 0035FFF4 4D 82 00 20 */ beqlr -/* 80363098 0035FFF8 54 A0 E7 3E */ rlwinm r0, r5, 0x1c, 0x1c, 0x1f -/* 8036309C 0035FFFC 50 80 3C 66 */ rlwimi r0, r4, 7, 0x11, 0x13 -/* 803630A0 00360000 50 C0 06 36 */ rlwimi r0, r6, 0, 0x18, 0x1b -/* 803630A4 00360004 50 E0 25 2E */ rlwimi r0, r7, 4, 0x14, 0x17 -/* 803630A8 00360008 54 03 04 3E */ clrlwi r3, r0, 0x10 -/* 803630AC 0036000C 4E 80 00 20 */ blr - -.global Add__6CColorFRC6CColorRC6CColor -Add__6CColorFRC6CColorRC6CColor: -/* 803630B0 00360010 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 803630B4 00360014 38 ED 9E 6C */ addi r7, r13, lbl_805A8A2C@sda21 -/* 803630B8 00360018 89 04 00 03 */ lbz r8, 3(r4) -/* 803630BC 0036001C 88 C5 00 03 */ lbz r6, 3(r5) -/* 803630C0 00360020 80 0D 9E 6C */ lwz r0, lbl_805A8A2C@sda21(r13) -/* 803630C4 00360024 7C C8 32 14 */ add r6, r8, r6 -/* 803630C8 00360028 7C 06 00 40 */ cmplw r6, r0 -/* 803630CC 0036002C 90 C1 00 08 */ stw r6, 8(r1) -/* 803630D0 00360030 40 80 00 08 */ bge lbl_803630D8 -/* 803630D4 00360034 38 E1 00 08 */ addi r7, r1, 8 -lbl_803630D8: -/* 803630D8 00360038 88 C4 00 02 */ lbz r6, 2(r4) -/* 803630DC 0036003C 39 0D 9E 68 */ addi r8, r13, lbl_805A8A28@sda21 -/* 803630E0 00360040 88 05 00 02 */ lbz r0, 2(r5) -/* 803630E4 00360044 80 E7 00 00 */ lwz r7, 0(r7) -/* 803630E8 00360048 7C C6 02 14 */ add r6, r6, r0 -/* 803630EC 0036004C 80 0D 9E 68 */ lwz r0, lbl_805A8A28@sda21(r13) -/* 803630F0 00360050 90 C1 00 0C */ stw r6, 0xc(r1) -/* 803630F4 00360054 54 E9 06 3E */ clrlwi r9, r7, 0x18 -/* 803630F8 00360058 7C 06 00 40 */ cmplw r6, r0 -/* 803630FC 0036005C 40 80 00 08 */ bge lbl_80363104 -/* 80363100 00360060 39 01 00 0C */ addi r8, r1, 0xc -lbl_80363104: -/* 80363104 00360064 88 C4 00 01 */ lbz r6, 1(r4) -/* 80363108 00360068 38 ED 9E 64 */ addi r7, r13, lbl_805A8A24@sda21 -/* 8036310C 0036006C 88 05 00 01 */ lbz r0, 1(r5) -/* 80363110 00360070 81 08 00 00 */ lwz r8, 0(r8) -/* 80363114 00360074 7C C6 02 14 */ add r6, r6, r0 -/* 80363118 00360078 80 0D 9E 64 */ lwz r0, lbl_805A8A24@sda21(r13) -/* 8036311C 0036007C 90 C1 00 10 */ stw r6, 0x10(r1) -/* 80363120 00360080 55 08 06 3E */ clrlwi r8, r8, 0x18 -/* 80363124 00360084 7C 06 00 40 */ cmplw r6, r0 -/* 80363128 00360088 40 80 00 08 */ bge lbl_80363130 -/* 8036312C 0036008C 38 E1 00 10 */ addi r7, r1, 0x10 -lbl_80363130: -/* 80363130 00360090 88 C4 00 00 */ lbz r6, 0(r4) -/* 80363134 00360094 38 8D 9E 60 */ addi r4, r13, lbl_805A8A20@sda21 -/* 80363138 00360098 88 05 00 00 */ lbz r0, 0(r5) -/* 8036313C 0036009C 80 E7 00 00 */ lwz r7, 0(r7) -/* 80363140 003600A0 7C A6 02 14 */ add r5, r6, r0 -/* 80363144 003600A4 80 0D 9E 60 */ lwz r0, lbl_805A8A20@sda21(r13) -/* 80363148 003600A8 90 A1 00 14 */ stw r5, 0x14(r1) -/* 8036314C 003600AC 54 E6 06 3E */ clrlwi r6, r7, 0x18 -/* 80363150 003600B0 7C 05 00 40 */ cmplw r5, r0 -/* 80363154 003600B4 40 80 00 08 */ bge lbl_8036315C -/* 80363158 003600B8 38 81 00 14 */ addi r4, r1, 0x14 -lbl_8036315C: -/* 8036315C 003600BC 80 04 00 00 */ lwz r0, 0(r4) -/* 80363160 003600C0 98 03 00 00 */ stb r0, 0(r3) -/* 80363164 003600C4 98 C3 00 01 */ stb r6, 1(r3) -/* 80363168 003600C8 99 03 00 02 */ stb r8, 2(r3) -/* 8036316C 003600CC 99 23 00 03 */ stb r9, 3(r3) -/* 80363170 003600D0 38 21 00 20 */ addi r1, r1, 0x20 -/* 80363174 003600D4 4E 80 00 20 */ blr - -.global Modulate__6CColorFRC6CColorRC6CColor -Modulate__6CColorFRC6CColorRC6CColor: -/* 80363178 003600D8 88 E4 00 03 */ lbz r7, 3(r4) -/* 8036317C 003600DC 3C C0 80 81 */ lis r6, 0x80808081@ha -/* 80363180 003600E0 88 05 00 03 */ lbz r0, 3(r5) -/* 80363184 003600E4 39 66 80 81 */ addi r11, r6, 0x80808081@l -/* 80363188 003600E8 89 24 00 02 */ lbz r9, 2(r4) -/* 8036318C 003600EC 7D 47 01 D6 */ mullw r10, r7, r0 -/* 80363190 003600F0 89 05 00 02 */ lbz r8, 2(r5) -/* 80363194 003600F4 88 E4 00 01 */ lbz r7, 1(r4) -/* 80363198 003600F8 88 C5 00 01 */ lbz r6, 1(r5) -/* 8036319C 003600FC 88 05 00 00 */ lbz r0, 0(r5) -/* 803631A0 00360100 88 84 00 00 */ lbz r4, 0(r4) -/* 803631A4 00360104 7C A7 31 D6 */ mullw r5, r7, r6 -/* 803631A8 00360108 7C CB 50 96 */ mulhw r6, r11, r10 -/* 803631AC 0036010C 7C C6 52 14 */ add r6, r6, r10 -/* 803631B0 00360110 7C C7 3E 70 */ srawi r7, r6, 7 -/* 803631B4 00360114 7D 09 41 D6 */ mullw r8, r9, r8 -/* 803631B8 00360118 54 E9 0F FE */ srwi r9, r7, 0x1f -/* 803631BC 0036011C 7C 04 01 D6 */ mullw r0, r4, r0 -/* 803631C0 00360120 7C 8B 40 96 */ mulhw r4, r11, r8 -/* 803631C4 00360124 7C CB 28 96 */ mulhw r6, r11, r5 -/* 803631C8 00360128 7C 84 42 14 */ add r4, r4, r8 -/* 803631CC 0036012C 7D 07 4A 14 */ add r8, r7, r9 -/* 803631D0 00360130 7C 87 3E 70 */ srawi r7, r4, 7 -/* 803631D4 00360134 7C A6 2A 14 */ add r5, r6, r5 -/* 803631D8 00360138 7C 8B 00 96 */ mulhw r4, r11, r0 -/* 803631DC 0036013C 54 E6 0F FE */ srwi r6, r7, 0x1f -/* 803631E0 00360140 7C A5 3E 70 */ srawi r5, r5, 7 -/* 803631E4 00360144 7C E7 32 14 */ add r7, r7, r6 -/* 803631E8 00360148 54 A6 0F FE */ srwi r6, r5, 0x1f -/* 803631EC 0036014C 7C 04 02 14 */ add r0, r4, r0 -/* 803631F0 00360150 7C 00 3E 70 */ srawi r0, r0, 7 -/* 803631F4 00360154 7C A5 32 14 */ add r5, r5, r6 -/* 803631F8 00360158 54 04 0F FE */ srwi r4, r0, 0x1f -/* 803631FC 0036015C 7C 00 22 14 */ add r0, r0, r4 -/* 80363200 00360160 98 03 00 00 */ stb r0, 0(r3) -/* 80363204 00360164 98 A3 00 01 */ stb r5, 1(r3) -/* 80363208 00360168 98 E3 00 02 */ stb r7, 2(r3) -/* 8036320C 0036016C 99 03 00 03 */ stb r8, 3(r3) -/* 80363210 00360170 4E 80 00 20 */ blr - -.global Lerp__6CColorFUiUif -Lerp__6CColorFUiUif: -/* 80363214 00360174 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80363218 00360178 7C 08 02 A6 */ mflr r0 -/* 8036321C 0036017C C0 02 CD A0 */ lfs f0, lbl_805AEAC0@sda21(r2) -/* 80363220 00360180 90 01 00 14 */ stw r0, 0x14(r1) -/* 80363224 00360184 EC 20 00 72 */ fmuls f1, f0, f1 -/* 80363228 00360188 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8036322C 0036018C 7C 9F 23 78 */ mr r31, r4 -/* 80363230 00360190 93 C1 00 08 */ stw r30, 8(r1) -/* 80363234 00360194 7C 7E 1B 78 */ mr r30, r3 -/* 80363238 00360198 48 02 67 1D */ bl __cvt_fp2unsigned -/* 8036323C 0036019C 3C A0 00 FF */ lis r5, 0x00FF00FF@ha -/* 80363240 003601A0 3C 80 FF 01 */ lis r4, 0xFF00FF00@ha -/* 80363244 003601A4 38 E5 00 FF */ addi r7, r5, 0x00FF00FF@l -/* 80363248 003601A8 57 C6 C2 3E */ srwi r6, r30, 8 -/* 8036324C 003601AC 57 E5 C2 3E */ srwi r5, r31, 8 -/* 80363250 003601B0 38 04 FF 00 */ addi r0, r4, 0xFF00FF00@l -/* 80363254 003601B4 7C C8 38 38 */ and r8, r6, r7 -/* 80363258 003601B8 7F C6 38 38 */ and r6, r30, r7 -/* 8036325C 003601BC 7C A4 38 38 */ and r4, r5, r7 -/* 80363260 003601C0 7F E5 38 38 */ and r5, r31, r7 -/* 80363264 003601C4 7D 28 20 50 */ subf r9, r8, r4 -/* 80363268 003601C8 7C 86 28 50 */ subf r4, r6, r5 -/* 8036326C 003601CC 7D 29 19 D6 */ mullw r9, r9, r3 -/* 80363270 003601D0 7C 84 19 D6 */ mullw r4, r4, r3 -/* 80363274 003601D4 55 23 C2 3E */ srwi r3, r9, 8 -/* 80363278 003601D8 7C 63 42 14 */ add r3, r3, r8 -/* 8036327C 003601DC 54 84 C2 3E */ srwi r4, r4, 8 -/* 80363280 003601E0 54 63 40 2E */ slwi r3, r3, 8 -/* 80363284 003601E4 7C 84 32 14 */ add r4, r4, r6 -/* 80363288 003601E8 7C 84 38 38 */ and r4, r4, r7 -/* 8036328C 003601EC 7C 60 00 38 */ and r0, r3, r0 -/* 80363290 003601F0 7C 83 03 78 */ or r3, r4, r0 -/* 80363294 003601F4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80363298 003601F8 83 C1 00 08 */ lwz r30, 8(r1) -/* 8036329C 003601FC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803632A0 00360200 7C 08 03 A6 */ mtlr r0 -/* 803632A4 00360204 38 21 00 10 */ addi r1, r1, 0x10 -/* 803632A8 00360208 4E 80 00 20 */ blr - -.global Lerp__6CColorFRC6CColorRC6CColorf -Lerp__6CColorFRC6CColorRC6CColorf: -/* 803632AC 0036020C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803632B0 00360210 7C 08 02 A6 */ mflr r0 -/* 803632B4 00360214 C0 02 CD A4 */ lfs f0, lbl_805AEAC4@sda21(r2) -/* 803632B8 00360218 90 01 00 14 */ stw r0, 0x14(r1) -/* 803632BC 0036021C ED A0 08 28 */ fsubs f13, f0, f1 -/* 803632C0 00360220 E0 A4 A0 00 */ psq_l f5, 0(r4), 1, qr2 -/* 803632C4 00360224 E0 05 A0 00 */ psq_l f0, 0(r5), 1, qr2 -/* 803632C8 00360228 E0 C4 A0 01 */ psq_l f6, 1(r4), 1, qr2 -/* 803632CC 0036022C E0 45 A0 01 */ psq_l f2, 1(r5), 1, qr2 -/* 803632D0 00360230 E1 64 A0 02 */ psq_l f11, 2(r4), 1, qr2 -/* 803632D4 00360234 E0 E5 A0 02 */ psq_l f7, 2(r5), 1, qr2 -/* 803632D8 00360238 E1 84 A0 03 */ psq_l f12, 3(r4), 1, qr2 -/* 803632DC 0036023C E1 05 A0 03 */ psq_l f8, 3(r5), 1, qr2 -/* 803632E0 00360240 C1 42 CD A8 */ lfs f10, lbl_805AEAC8@sda21(r2) -/* 803632E4 00360244 EC 8A 00 32 */ fmuls f4, f10, f0 -/* 803632E8 00360248 EC 6A 00 B2 */ fmuls f3, f10, f2 -/* 803632EC 0036024C EC 4A 01 F2 */ fmuls f2, f10, f7 -/* 803632F0 00360250 EC 0A 02 32 */ fmuls f0, f10, f8 -/* 803632F4 00360254 ED 2A 01 72 */ fmuls f9, f10, f5 -/* 803632F8 00360258 ED 01 01 32 */ fmuls f8, f1, f4 -/* 803632FC 0036025C EC EA 01 B2 */ fmuls f7, f10, f6 -/* 80363300 00360260 EC C1 00 F2 */ fmuls f6, f1, f3 -/* 80363304 00360264 EC AA 02 F2 */ fmuls f5, f10, f11 -/* 80363308 00360268 EC 61 00 B2 */ fmuls f3, f1, f2 -/* 8036330C 0036026C EC 8A 03 32 */ fmuls f4, f10, f12 -/* 80363310 00360270 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80363314 00360274 EC 2D 42 7A */ fmadds f1, f13, f9, f8 -/* 80363318 00360278 EC 4D 31 FA */ fmadds f2, f13, f7, f6 -/* 8036331C 0036027C EC 6D 19 7A */ fmadds f3, f13, f5, f3 -/* 80363320 00360280 EC 8D 01 3A */ fmadds f4, f13, f4, f0 -/* 80363324 00360284 48 00 00 C9 */ bl __ct__6CColorFffff -/* 80363328 00360288 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8036332C 0036028C 7C 08 03 A6 */ mtlr r0 -/* 80363330 00360290 38 21 00 10 */ addi r1, r1, 0x10 -/* 80363334 00360294 4E 80 00 20 */ blr - -.global Get__6CColorCFRfRfRf -Get__6CColorCFRfRfRf: -/* 80363338 00360298 E0 03 A0 00 */ psq_l f0, 0(r3), 1, qr2 -/* 8036333C 0036029C C0 22 CD A8 */ lfs f1, lbl_805AEAC8@sda21(r2) -/* 80363340 003602A0 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80363344 003602A4 D0 04 00 00 */ stfs f0, 0(r4) -/* 80363348 003602A8 E0 03 A0 01 */ psq_l f0, 1(r3), 1, qr2 -/* 8036334C 003602AC EC 01 00 32 */ fmuls f0, f1, f0 -/* 80363350 003602B0 D0 05 00 00 */ stfs f0, 0(r5) -/* 80363354 003602B4 E0 03 A0 02 */ psq_l f0, 2(r3), 1, qr2 -/* 80363358 003602B8 EC 01 00 32 */ fmuls f0, f1, f0 -/* 8036335C 003602BC D0 06 00 00 */ stfs f0, 0(r6) -/* 80363360 003602C0 4E 80 00 20 */ blr - -.global Get__6CColorCFRfRfRfRf -Get__6CColorCFRfRfRfRf: -/* 80363364 003602C4 E0 03 A0 00 */ psq_l f0, 0(r3), 1, qr2 -/* 80363368 003602C8 C0 22 CD A8 */ lfs f1, lbl_805AEAC8@sda21(r2) -/* 8036336C 003602CC EC 01 00 32 */ fmuls f0, f1, f0 -/* 80363370 003602D0 D0 04 00 00 */ stfs f0, 0(r4) -/* 80363374 003602D4 E0 03 A0 01 */ psq_l f0, 1(r3), 1, qr2 -/* 80363378 003602D8 EC 01 00 32 */ fmuls f0, f1, f0 -/* 8036337C 003602DC D0 05 00 00 */ stfs f0, 0(r5) -/* 80363380 003602E0 E0 03 A0 02 */ psq_l f0, 2(r3), 1, qr2 -/* 80363384 003602E4 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80363388 003602E8 D0 06 00 00 */ stfs f0, 0(r6) -/* 8036338C 003602EC E0 03 A0 03 */ psq_l f0, 3(r3), 1, qr2 -/* 80363390 003602F0 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80363394 003602F4 D0 07 00 00 */ stfs f0, 0(r7) -/* 80363398 003602F8 4E 80 00 20 */ blr - -.global Set__6CColorFffff -Set__6CColorFffff: -/* 8036339C 003602FC C0 02 CD AC */ lfs f0, lbl_805AEACC@sda21(r2) -/* 803633A0 00360300 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803633A4 00360304 EC 20 00 72 */ fmuls f1, f0, f1 -/* 803633A8 00360308 F0 21 A0 0B */ psq_st f1, 11(r1), 1, qr2 -/* 803633AC 0036030C EC 40 00 B2 */ fmuls f2, f0, f2 -/* 803633B0 00360310 88 01 00 0B */ lbz r0, 0xb(r1) -/* 803633B4 00360314 98 03 00 00 */ stb r0, 0(r3) -/* 803633B8 00360318 F0 41 A0 0A */ psq_st f2, 10(r1), 1, qr2 -/* 803633BC 0036031C EC 60 00 F2 */ fmuls f3, f0, f3 -/* 803633C0 00360320 88 01 00 0A */ lbz r0, 0xa(r1) -/* 803633C4 00360324 98 03 00 01 */ stb r0, 1(r3) -/* 803633C8 00360328 F0 61 A0 09 */ psq_st f3, 9(r1), 1, qr2 -/* 803633CC 0036032C EC 80 01 32 */ fmuls f4, f0, f4 -/* 803633D0 00360330 88 01 00 09 */ lbz r0, 9(r1) -/* 803633D4 00360334 98 03 00 02 */ stb r0, 2(r3) -/* 803633D8 00360338 F0 81 A0 08 */ psq_st f4, 8(r1), 1, qr2 -/* 803633DC 0036033C 88 01 00 08 */ lbz r0, 8(r1) -/* 803633E0 00360340 98 03 00 03 */ stb r0, 3(r3) -/* 803633E4 00360344 38 21 00 10 */ addi r1, r1, 0x10 -/* 803633E8 00360348 4E 80 00 20 */ blr - -.global __ct__6CColorFffff -__ct__6CColorFffff: -/* 803633EC 0036034C C0 C2 CD AC */ lfs f6, lbl_805AEACC@sda21(r2) -/* 803633F0 00360350 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 803633F4 00360354 EC A6 00 72 */ fmuls f5, f6, f1 -/* 803633F8 00360358 EC 26 00 F2 */ fmuls f1, f6, f3 -/* 803633FC 0036035C EC 06 00 B2 */ fmuls f0, f6, f2 -/* 80363400 00360360 FC 60 28 1E */ fctiwz f3, f5 -/* 80363404 00360364 FC 20 08 1E */ fctiwz f1, f1 -/* 80363408 00360368 FC 40 00 1E */ fctiwz f2, f0 -/* 8036340C 0036036C EC 06 01 32 */ fmuls f0, f6, f4 -/* 80363410 00360370 D8 61 00 08 */ stfd f3, 8(r1) -/* 80363414 00360374 D8 41 00 10 */ stfd f2, 0x10(r1) -/* 80363418 00360378 80 01 00 0C */ lwz r0, 0xc(r1) -/* 8036341C 0036037C FC 00 00 1E */ fctiwz f0, f0 -/* 80363420 00360380 D8 21 00 18 */ stfd f1, 0x18(r1) -/* 80363424 00360384 80 81 00 14 */ lwz r4, 0x14(r1) -/* 80363428 00360388 98 03 00 00 */ stb r0, 0(r3) -/* 8036342C 0036038C 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 80363430 00360390 98 83 00 01 */ stb r4, 1(r3) -/* 80363434 00360394 D8 01 00 20 */ stfd f0, 0x20(r1) -/* 80363438 00360398 98 03 00 02 */ stb r0, 2(r3) -/* 8036343C 0036039C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80363440 003603A0 98 03 00 03 */ stb r0, 3(r3) -/* 80363444 003603A4 38 21 00 30 */ addi r1, r1, 0x30 -/* 80363448 003603A8 4E 80 00 20 */ blr - -.global __ct__6CColorFR12CInputStream -__ct__6CColorFR12CInputStream: -/* 8036344C 003603AC 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80363450 003603B0 7C 08 02 A6 */ mflr r0 -/* 80363454 003603B4 90 01 00 34 */ stw r0, 0x34(r1) -/* 80363458 003603B8 DB E1 00 28 */ stfd f31, 0x28(r1) -/* 8036345C 003603BC DB C1 00 20 */ stfd f30, 0x20(r1) -/* 80363460 003603C0 DB A1 00 18 */ stfd f29, 0x18(r1) -/* 80363464 003603C4 93 E1 00 14 */ stw r31, 0x14(r1) -/* 80363468 003603C8 7C 9F 23 78 */ mr r31, r4 -/* 8036346C 003603CC 93 C1 00 10 */ stw r30, 0x10(r1) -/* 80363470 003603D0 7C 7E 1B 78 */ mr r30, r3 -/* 80363474 003603D4 7F E3 FB 78 */ mr r3, r31 -/* 80363478 003603D8 4B FD B7 B1 */ bl ReadFloat__12CInputStreamFv -/* 8036347C 003603DC FF E0 08 90 */ fmr f31, f1 -/* 80363480 003603E0 7F E3 FB 78 */ mr r3, r31 -/* 80363484 003603E4 4B FD B7 A5 */ bl ReadFloat__12CInputStreamFv -/* 80363488 003603E8 FF C0 08 90 */ fmr f30, f1 -/* 8036348C 003603EC 7F E3 FB 78 */ mr r3, r31 -/* 80363490 003603F0 4B FD B7 99 */ bl ReadFloat__12CInputStreamFv -/* 80363494 003603F4 FF A0 08 90 */ fmr f29, f1 -/* 80363498 003603F8 7F E3 FB 78 */ mr r3, r31 -/* 8036349C 003603FC 4B FD B7 8D */ bl ReadFloat__12CInputStreamFv -/* 803634A0 00360400 FC 80 08 90 */ fmr f4, f1 -/* 803634A4 00360404 7F C3 F3 78 */ mr r3, r30 -/* 803634A8 00360408 FC 20 F8 90 */ fmr f1, f31 -/* 803634AC 0036040C FC 40 F0 90 */ fmr f2, f30 -/* 803634B0 00360410 FC 60 E8 90 */ fmr f3, f29 -/* 803634B4 00360414 4B FF FE E9 */ bl Set__6CColorFffff -/* 803634B8 00360418 80 01 00 34 */ lwz r0, 0x34(r1) -/* 803634BC 0036041C 7F C3 F3 78 */ mr r3, r30 -/* 803634C0 00360420 CB E1 00 28 */ lfd f31, 0x28(r1) -/* 803634C4 00360424 CB C1 00 20 */ lfd f30, 0x20(r1) -/* 803634C8 00360428 CB A1 00 18 */ lfd f29, 0x18(r1) -/* 803634CC 0036042C 83 E1 00 14 */ lwz r31, 0x14(r1) -/* 803634D0 00360430 83 C1 00 10 */ lwz r30, 0x10(r1) -/* 803634D4 00360434 7C 08 03 A6 */ mtlr r0 -/* 803634D8 00360438 38 21 00 30 */ addi r1, r1, 0x30 -/* 803634DC 0036043C 4E 80 00 20 */ blr - -.global AllocateStream__17CDSPStreamManagerFv -AllocateStream__17CDSPStreamManagerFv: -/* 803634E0 00360440 54 2B 06 FE */ clrlwi r11, r1, 0x1b -/* 803634E4 00360444 7C 2C 0B 78 */ mr r12, r1 -/* 803634E8 00360448 21 6B FC 80 */ subfic r11, r11, -896 -/* 803634EC 0036044C 7C 21 59 6E */ stwux r1, r1, r11 -/* 803634F0 00360450 7C 08 02 A6 */ mflr r0 -/* 803634F4 00360454 1C A3 00 C0 */ mulli r5, r3, 0xc0 -/* 803634F8 00360458 3C 80 80 5A */ lis r4, lbl_805A6860@ha -/* 803634FC 0036045C 90 0C 00 04 */ stw r0, 4(r12) -/* 80363500 00360460 38 61 00 5C */ addi r3, r1, 0x5c -/* 80363504 00360464 38 04 68 60 */ addi r0, r4, lbl_805A6860@l -/* 80363508 00360468 BF 4C FF E8 */ stmw r26, -0x18(r12) -/* 8036350C 0036046C 7F E0 2A 14 */ add r31, r0, r5 -/* 80363510 00360470 7F E4 FB 78 */ mr r4, r31 -/* 80363514 00360474 48 00 07 59 */ bl __ct__14SDSPStreamInfoFRC17CDSPStreamManager -/* 80363518 00360478 88 1F 00 71 */ lbz r0, 0x71(r31) -/* 8036351C 0036047C 83 C1 00 5C */ lwz r30, 0x5c(r1) -/* 80363520 00360480 7C 00 07 74 */ extsb r0, r0 -/* 80363524 00360484 83 A1 00 60 */ lwz r29, 0x60(r1) -/* 80363528 00360488 83 81 00 64 */ lwz r28, 0x64(r1) -/* 8036352C 0036048C 2C 00 FF FF */ cmpwi r0, -1 -/* 80363530 00360490 83 61 00 68 */ lwz r27, 0x68(r1) -/* 80363534 00360494 83 41 00 6C */ lwz r26, 0x6c(r1) -/* 80363538 00360498 81 81 00 70 */ lwz r12, 0x70(r1) -/* 8036353C 0036049C 81 61 00 74 */ lwz r11, 0x74(r1) -/* 80363540 003604A0 81 41 00 78 */ lwz r10, 0x78(r1) -/* 80363544 003604A4 81 21 00 7C */ lwz r9, 0x7c(r1) -/* 80363548 003604A8 81 01 00 80 */ lwz r8, 0x80(r1) -/* 8036354C 003604AC 80 E1 00 84 */ lwz r7, 0x84(r1) -/* 80363550 003604B0 80 C1 00 88 */ lwz r6, 0x88(r1) -/* 80363554 003604B4 80 A1 00 8C */ lwz r5, 0x8c(r1) -/* 80363558 003604B8 80 81 00 90 */ lwz r4, 0x90(r1) -/* 8036355C 003604BC 80 61 00 94 */ lwz r3, 0x94(r1) -/* 80363560 003604C0 93 C1 00 D4 */ stw r30, 0xd4(r1) -/* 80363564 003604C4 93 A1 00 D8 */ stw r29, 0xd8(r1) -/* 80363568 003604C8 93 81 00 DC */ stw r28, 0xdc(r1) -/* 8036356C 003604CC 93 61 00 E0 */ stw r27, 0xe0(r1) -/* 80363570 003604D0 93 41 00 E4 */ stw r26, 0xe4(r1) -/* 80363574 003604D4 91 81 00 E8 */ stw r12, 0xe8(r1) -/* 80363578 003604D8 91 61 00 EC */ stw r11, 0xec(r1) -/* 8036357C 003604DC 91 41 00 F0 */ stw r10, 0xf0(r1) -/* 80363580 003604E0 91 21 00 F4 */ stw r9, 0xf4(r1) -/* 80363584 003604E4 91 01 00 F8 */ stw r8, 0xf8(r1) -/* 80363588 003604E8 90 E1 00 FC */ stw r7, 0xfc(r1) -/* 8036358C 003604EC 90 C1 01 00 */ stw r6, 0x100(r1) -/* 80363590 003604F0 90 A1 01 04 */ stw r5, 0x104(r1) -/* 80363594 003604F4 90 81 01 08 */ stw r4, 0x108(r1) -/* 80363598 003604F8 90 61 01 0C */ stw r3, 0x10c(r1) -/* 8036359C 003604FC 40 82 00 64 */ bne lbl_80363600 -/* 803635A0 00360500 88 1F 00 70 */ lbz r0, 0x70(r31) -/* 803635A4 00360504 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 803635A8 00360508 40 82 00 20 */ bne lbl_803635C8 -/* 803635AC 0036050C 88 DF 00 74 */ lbz r6, 0x74(r31) -/* 803635B0 00360510 38 61 00 D4 */ addi r3, r1, 0xd4 -/* 803635B4 00360514 88 9F 00 73 */ lbz r4, 0x73(r31) -/* 803635B8 00360518 38 A0 00 40 */ li r5, 0x40 -/* 803635BC 0036051C 7C C6 07 74 */ extsb r6, r6 -/* 803635C0 00360520 48 00 76 ED */ bl AllocateMono__10SDSPStreamFRC11SStreamInfocci -/* 803635C4 00360524 90 7F 00 7C */ stw r3, 0x7c(r31) -lbl_803635C8: -/* 803635C8 00360528 80 7F 00 7C */ lwz r3, 0x7c(r31) -/* 803635CC 0036052C 3C 03 00 01 */ addis r0, r3, 1 -/* 803635D0 00360530 28 00 FF FF */ cmplwi r0, 0xffff -/* 803635D4 00360534 40 82 01 40 */ bne lbl_80363714 -/* 803635D8 00360538 38 61 02 A0 */ addi r3, r1, 0x2a0 -/* 803635DC 0036053C 38 80 00 00 */ li r4, 0 -/* 803635E0 00360540 48 00 13 6D */ bl __ct__17CDSPStreamManagerFv -/* 803635E4 00360544 7F E3 FB 78 */ mr r3, r31 -/* 803635E8 00360548 38 81 02 A0 */ addi r4, r1, 0x2a0 -/* 803635EC 0036054C 48 00 10 F9 */ bl __as__17CDSPStreamManagerFRC17CDSPStreamManager -/* 803635F0 00360550 34 61 03 00 */ addic. r3, r1, 0x300 -/* 803635F4 00360554 41 82 01 20 */ beq lbl_80363714 -/* 803635F8 00360558 4B FD A4 E9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 803635FC 0036055C 48 00 01 18 */ b lbl_80363714 -lbl_80363600: -/* 80363600 00360560 1C A0 00 C0 */ mulli r5, r0, 0xc0 -/* 80363604 00360564 3C 80 80 5A */ lis r4, lbl_805A6860@ha -/* 80363608 00360568 38 61 00 20 */ addi r3, r1, 0x20 -/* 8036360C 0036056C 38 04 68 60 */ addi r0, r4, lbl_805A6860@l -/* 80363610 00360570 7F C0 2A 14 */ add r30, r0, r5 -/* 80363614 00360574 7F C4 F3 78 */ mr r4, r30 -/* 80363618 00360578 48 00 06 55 */ bl __ct__14SDSPStreamInfoFRC17CDSPStreamManager -/* 8036361C 0036057C 88 1F 00 70 */ lbz r0, 0x70(r31) -/* 80363620 00360580 83 41 00 20 */ lwz r26, 0x20(r1) -/* 80363624 00360584 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80363628 00360588 83 61 00 24 */ lwz r27, 0x24(r1) -/* 8036362C 0036058C 83 81 00 28 */ lwz r28, 0x28(r1) -/* 80363630 00360590 83 A1 00 2C */ lwz r29, 0x2c(r1) -/* 80363634 00360594 81 81 00 30 */ lwz r12, 0x30(r1) -/* 80363638 00360598 81 61 00 34 */ lwz r11, 0x34(r1) -/* 8036363C 0036059C 81 41 00 38 */ lwz r10, 0x38(r1) -/* 80363640 003605A0 81 21 00 3C */ lwz r9, 0x3c(r1) -/* 80363644 003605A4 81 01 00 40 */ lwz r8, 0x40(r1) -/* 80363648 003605A8 80 E1 00 44 */ lwz r7, 0x44(r1) -/* 8036364C 003605AC 80 C1 00 48 */ lwz r6, 0x48(r1) -/* 80363650 003605B0 80 A1 00 4C */ lwz r5, 0x4c(r1) -/* 80363654 003605B4 80 81 00 50 */ lwz r4, 0x50(r1) -/* 80363658 003605B8 80 61 00 54 */ lwz r3, 0x54(r1) -/* 8036365C 003605BC 80 01 00 58 */ lwz r0, 0x58(r1) -/* 80363660 003605C0 93 41 00 98 */ stw r26, 0x98(r1) -/* 80363664 003605C4 93 61 00 9C */ stw r27, 0x9c(r1) -/* 80363668 003605C8 93 81 00 A0 */ stw r28, 0xa0(r1) -/* 8036366C 003605CC 93 A1 00 A4 */ stw r29, 0xa4(r1) -/* 80363670 003605D0 91 81 00 A8 */ stw r12, 0xa8(r1) -/* 80363674 003605D4 91 61 00 AC */ stw r11, 0xac(r1) -/* 80363678 003605D8 91 41 00 B0 */ stw r10, 0xb0(r1) -/* 8036367C 003605DC 91 21 00 B4 */ stw r9, 0xb4(r1) -/* 80363680 003605E0 91 01 00 B8 */ stw r8, 0xb8(r1) -/* 80363684 003605E4 90 E1 00 BC */ stw r7, 0xbc(r1) -/* 80363688 003605E8 90 C1 00 C0 */ stw r6, 0xc0(r1) -/* 8036368C 003605EC 90 A1 00 C4 */ stw r5, 0xc4(r1) -/* 80363690 003605F0 90 81 00 C8 */ stw r4, 0xc8(r1) -/* 80363694 003605F4 90 61 00 CC */ stw r3, 0xcc(r1) -/* 80363698 003605F8 90 01 00 D0 */ stw r0, 0xd0(r1) -/* 8036369C 003605FC 40 82 00 20 */ bne lbl_803636BC -/* 803636A0 00360600 88 DF 00 74 */ lbz r6, 0x74(r31) -/* 803636A4 00360604 38 61 00 D4 */ addi r3, r1, 0xd4 -/* 803636A8 00360608 88 BF 00 73 */ lbz r5, 0x73(r31) -/* 803636AC 0036060C 38 81 00 98 */ addi r4, r1, 0x98 -/* 803636B0 00360610 7C C6 07 74 */ extsb r6, r6 -/* 803636B4 00360614 48 00 74 19 */ bl AllocateStereo__10SDSPStreamFRC11SStreamInfoRC11SStreamInfoci -/* 803636B8 00360618 90 7F 00 7C */ stw r3, 0x7c(r31) -lbl_803636BC: -/* 803636BC 0036061C 80 7F 00 7C */ lwz r3, 0x7c(r31) -/* 803636C0 00360620 3C 03 00 01 */ addis r0, r3, 1 -/* 803636C4 00360624 28 00 FF FF */ cmplwi r0, 0xffff -/* 803636C8 00360628 40 82 00 4C */ bne lbl_80363714 -/* 803636CC 0036062C 38 61 01 E0 */ addi r3, r1, 0x1e0 -/* 803636D0 00360630 38 80 00 00 */ li r4, 0 -/* 803636D4 00360634 48 00 12 79 */ bl __ct__17CDSPStreamManagerFv -/* 803636D8 00360638 7F E3 FB 78 */ mr r3, r31 -/* 803636DC 0036063C 38 81 01 E0 */ addi r4, r1, 0x1e0 -/* 803636E0 00360640 48 00 10 05 */ bl __as__17CDSPStreamManagerFRC17CDSPStreamManager -/* 803636E4 00360644 34 61 02 40 */ addic. r3, r1, 0x240 -/* 803636E8 00360648 41 82 00 08 */ beq lbl_803636F0 -/* 803636EC 0036064C 4B FD A3 F5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_803636F0: -/* 803636F0 00360650 38 61 01 20 */ addi r3, r1, 0x120 -/* 803636F4 00360654 38 80 00 00 */ li r4, 0 -/* 803636F8 00360658 48 00 12 55 */ bl __ct__17CDSPStreamManagerFv -/* 803636FC 0036065C 7F C3 F3 78 */ mr r3, r30 -/* 80363700 00360660 38 81 01 20 */ addi r4, r1, 0x120 -/* 80363704 00360664 48 00 0F E1 */ bl __as__17CDSPStreamManagerFRC17CDSPStreamManager -/* 80363708 00360668 34 61 01 80 */ addic. r3, r1, 0x180 -/* 8036370C 0036066C 41 82 00 08 */ beq lbl_80363714 -/* 80363710 00360670 4B FD A3 D1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_80363714: -/* 80363714 00360674 81 41 00 00 */ lwz r10, 0(r1) -/* 80363718 00360678 BB 4A FF E8 */ lmw r26, -0x18(r10) -/* 8036371C 0036067C 80 0A 00 04 */ lwz r0, 4(r10) -/* 80363720 00360680 7C 08 03 A6 */ mtlr r0 -/* 80363724 00360684 7D 41 53 78 */ mr r1, r10 -/* 80363728 00360688 4E 80 00 20 */ blr - -.global sub_8036372c -sub_8036372c: -/* 8036372C 0036068C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80363730 00360690 7C 08 02 A6 */ mflr r0 -/* 80363734 00360694 90 01 00 14 */ stw r0, 0x14(r1) -/* 80363738 00360698 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8036373C 0036069C 7C 9F 23 78 */ mr r31, r4 -/* 80363740 003606A0 93 C1 00 08 */ stw r30, 8(r1) -/* 80363744 003606A4 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80363748 003606A8 41 82 00 24 */ beq lbl_8036376C -/* 8036374C 003606AC 34 1E 00 60 */ addic. r0, r30, 0x60 -/* 80363750 003606B0 41 82 00 0C */ beq lbl_8036375C -/* 80363754 003606B4 38 7E 00 60 */ addi r3, r30, 0x60 -/* 80363758 003606B8 4B FD A3 89 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8036375C: -/* 8036375C 003606BC 7F E0 07 35 */ extsh. r0, r31 -/* 80363760 003606C0 40 81 00 0C */ ble lbl_8036376C -/* 80363764 003606C4 7F C3 F3 78 */ mr r3, r30 -/* 80363768 003606C8 4B FB 21 C9 */ bl Free__7CMemoryFPCv -lbl_8036376C: -/* 8036376C 003606CC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80363770 003606D0 7F C3 F3 78 */ mr r3, r30 -/* 80363774 003606D4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80363778 003606D8 83 C1 00 08 */ lwz r30, 8(r1) -/* 8036377C 003606DC 7C 08 03 A6 */ mtlr r0 -/* 80363780 003606E0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80363784 003606E4 4E 80 00 20 */ blr - -.global HeaderReadComplete__17CDSPStreamManagerFiP11DVDFileInfo -HeaderReadComplete__17CDSPStreamManagerFiP11DVDFileInfo: -/* 80363788 003606E8 54 2B 06 FE */ clrlwi r11, r1, 0x1b -/* 8036378C 003606EC 7C 2C 0B 78 */ mr r12, r1 -/* 80363790 003606F0 21 6B FE 20 */ subfic r11, r11, -480 -/* 80363794 003606F4 7C 21 59 6E */ stwux r1, r1, r11 -/* 80363798 003606F8 7C 08 02 A6 */ mflr r0 -/* 8036379C 003606FC 90 0C 00 04 */ stw r0, 4(r12) -/* 803637A0 00360700 93 EC FF FC */ stw r31, -4(r12) -/* 803637A4 00360704 93 CC FF F8 */ stw r30, -8(r12) -/* 803637A8 00360708 93 AC FF F4 */ stw r29, -0xc(r12) -/* 803637AC 0036070C 7C 9D 23 78 */ mr r29, r4 -/* 803637B0 00360710 93 8C FF F0 */ stw r28, -0x10(r12) -/* 803637B4 00360714 7C 7C 1B 78 */ mr r28, r3 -/* 803637B8 00360718 7F A3 EB 78 */ mr r3, r29 -/* 803637BC 0036071C 48 00 DF 91 */ bl DVDClose -/* 803637C0 00360720 3C 60 80 5A */ lis r3, lbl_805A6860@ha -/* 803637C4 00360724 38 00 00 04 */ li r0, 4 -/* 803637C8 00360728 3B E3 68 60 */ addi r31, r3, lbl_805A6860@l -/* 803637CC 0036072C 3B C0 00 00 */ li r30, 0 -/* 803637D0 00360730 7C 09 03 A6 */ mtctr r0 -lbl_803637D4: -/* 803637D4 00360734 38 1F 00 80 */ addi r0, r31, 0x80 -/* 803637D8 00360738 7C 00 E8 40 */ cmplw r0, r29 -/* 803637DC 0036073C 40 82 01 70 */ bne lbl_8036394C -/* 803637E0 00360740 88 1F 00 70 */ lbz r0, 0x70(r31) -/* 803637E4 00360744 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 803637E8 00360748 40 82 01 64 */ bne lbl_8036394C -/* 803637EC 0036074C 48 01 DE 75 */ bl OSDisableInterrupts -/* 803637F0 00360750 7C 03 00 D0 */ neg r0, r3 -/* 803637F4 00360754 2C 1C 00 00 */ cmpwi r28, 0 -/* 803637F8 00360758 7C 00 1B 78 */ or r0, r0, r3 -/* 803637FC 0036075C 54 00 0F FE */ srwi r0, r0, 0x1f -/* 80363800 00360760 98 01 00 20 */ stb r0, 0x20(r1) -/* 80363804 00360764 40 81 00 14 */ ble lbl_80363818 -/* 80363808 00360768 7F E3 FB 78 */ mr r3, r31 -/* 8036380C 0036076C 48 00 10 65 */ bl sub_80364870 -/* 80363810 00360770 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80363814 00360774 40 82 00 34 */ bne lbl_80363848 -lbl_80363818: -/* 80363818 00360778 38 61 01 00 */ addi r3, r1, 0x100 -/* 8036381C 0036077C 38 80 00 00 */ li r4, 0 -/* 80363820 00360780 48 00 11 2D */ bl __ct__17CDSPStreamManagerFv -/* 80363824 00360784 7F E3 FB 78 */ mr r3, r31 -/* 80363828 00360788 38 81 01 00 */ addi r4, r1, 0x100 -/* 8036382C 0036078C 48 00 0E B9 */ bl __as__17CDSPStreamManagerFRC17CDSPStreamManager -/* 80363830 00360790 34 61 01 60 */ addic. r3, r1, 0x160 -/* 80363834 00360794 41 82 00 08 */ beq lbl_8036383C -/* 80363838 00360798 4B FD A2 A9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8036383C: -/* 8036383C 0036079C 88 61 00 20 */ lbz r3, 0x20(r1) -/* 80363840 003607A0 48 01 DE 49 */ bl OSRestoreInterrupts -/* 80363844 003607A4 48 00 01 14 */ b lbl_80363958 -lbl_80363848: -/* 80363848 003607A8 88 1F 00 70 */ lbz r0, 0x70(r31) -/* 8036384C 003607AC 38 60 00 02 */ li r3, 2 -/* 80363850 003607B0 50 60 26 B6 */ rlwimi r0, r3, 4, 0x1a, 0x1b -/* 80363854 003607B4 38 60 FF FF */ li r3, -1 -/* 80363858 003607B8 98 1F 00 70 */ stb r0, 0x70(r31) -/* 8036385C 003607BC 88 1F 00 72 */ lbz r0, 0x72(r31) -/* 80363860 003607C0 7C 00 07 74 */ extsb r0, r0 -/* 80363864 003607C4 2C 00 FF FF */ cmpwi r0, -1 -/* 80363868 003607C8 41 82 00 0C */ beq lbl_80363874 -/* 8036386C 003607CC 7C 03 03 78 */ mr r3, r0 -/* 80363870 003607D0 48 00 00 18 */ b lbl_80363888 -lbl_80363874: -/* 80363874 003607D4 88 1F 00 71 */ lbz r0, 0x71(r31) -/* 80363878 003607D8 7C 00 07 74 */ extsb r0, r0 -/* 8036387C 003607DC 2C 00 FF FF */ cmpwi r0, -1 -/* 80363880 003607E0 41 82 00 08 */ beq lbl_80363888 -/* 80363884 003607E4 7C 03 03 78 */ mr r3, r0 -lbl_80363888: -/* 80363888 003607E8 2C 03 FF FF */ cmpwi r3, -1 -/* 8036388C 003607EC 41 82 00 AC */ beq lbl_80363938 -/* 80363890 003607F0 1C A3 00 C0 */ mulli r5, r3, 0xc0 -/* 80363894 003607F4 3C 80 80 5A */ lis r4, lbl_805A6860@ha -/* 80363898 003607F8 38 04 68 60 */ addi r0, r4, lbl_805A6860@l -/* 8036389C 003607FC 7C A0 2A 14 */ add r5, r0, r5 -/* 803638A0 00360800 88 85 00 70 */ lbz r4, 0x70(r5) -/* 803638A4 00360804 54 80 CF FF */ rlwinm. r0, r4, 0x19, 0x1f, 0x1f -/* 803638A8 00360808 54 86 E7 BE */ rlwinm r6, r4, 0x1c, 0x1e, 0x1f -/* 803638AC 0036080C 40 82 00 2C */ bne lbl_803638D8 -/* 803638B0 00360810 2C 06 00 00 */ cmpwi r6, 0 -/* 803638B4 00360814 41 82 00 24 */ beq lbl_803638D8 -/* 803638B8 00360818 88 85 00 71 */ lbz r4, 0x71(r5) -/* 803638BC 0036081C 7C 80 07 74 */ extsb r0, r4 -/* 803638C0 00360820 7C 1E 00 00 */ cmpw r30, r0 -/* 803638C4 00360824 41 82 00 44 */ beq lbl_80363908 -/* 803638C8 00360828 88 05 00 72 */ lbz r0, 0x72(r5) -/* 803638CC 0036082C 7C 00 07 74 */ extsb r0, r0 -/* 803638D0 00360830 7C 1E 00 00 */ cmpw r30, r0 -/* 803638D4 00360834 41 82 00 34 */ beq lbl_80363908 -lbl_803638D8: -/* 803638D8 00360838 38 61 00 40 */ addi r3, r1, 0x40 -/* 803638DC 0036083C 38 80 00 00 */ li r4, 0 -/* 803638E0 00360840 48 00 10 6D */ bl __ct__17CDSPStreamManagerFv -/* 803638E4 00360844 7F E3 FB 78 */ mr r3, r31 -/* 803638E8 00360848 38 81 00 40 */ addi r4, r1, 0x40 -/* 803638EC 0036084C 48 00 0D F9 */ bl __as__17CDSPStreamManagerFRC17CDSPStreamManager -/* 803638F0 00360850 34 61 00 A0 */ addic. r3, r1, 0xa0 -/* 803638F4 00360854 41 82 00 08 */ beq lbl_803638FC -/* 803638F8 00360858 4B FD A1 E9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_803638FC: -/* 803638FC 0036085C 88 61 00 20 */ lbz r3, 0x20(r1) -/* 80363900 00360860 48 01 DD 89 */ bl OSRestoreInterrupts -/* 80363904 00360864 48 00 00 54 */ b lbl_80363958 -lbl_80363908: -/* 80363908 00360868 2C 06 00 01 */ cmpwi r6, 1 -/* 8036390C 0036086C 40 82 00 10 */ bne lbl_8036391C -/* 80363910 00360870 88 61 00 20 */ lbz r3, 0x20(r1) -/* 80363914 00360874 48 01 DD 75 */ bl OSRestoreInterrupts -/* 80363918 00360878 48 00 00 40 */ b lbl_80363958 -lbl_8036391C: -/* 8036391C 0036087C 7C 80 07 74 */ extsb r0, r4 -/* 80363920 00360880 2C 00 FF FF */ cmpwi r0, -1 -/* 80363924 00360884 41 82 00 14 */ beq lbl_80363938 -/* 80363928 00360888 4B FF FB B9 */ bl AllocateStream__17CDSPStreamManagerFv -/* 8036392C 0036088C 88 61 00 20 */ lbz r3, 0x20(r1) -/* 80363930 00360890 48 01 DD 59 */ bl OSRestoreInterrupts -/* 80363934 00360894 48 00 00 24 */ b lbl_80363958 -lbl_80363938: -/* 80363938 00360898 7F C3 F3 78 */ mr r3, r30 -/* 8036393C 0036089C 4B FF FB A5 */ bl AllocateStream__17CDSPStreamManagerFv -/* 80363940 003608A0 88 61 00 20 */ lbz r3, 0x20(r1) -/* 80363944 003608A4 48 01 DD 45 */ bl OSRestoreInterrupts -/* 80363948 003608A8 48 00 00 10 */ b lbl_80363958 -lbl_8036394C: -/* 8036394C 003608AC 3B FF 00 C0 */ addi r31, r31, 0xc0 -/* 80363950 003608B0 3B DE 00 01 */ addi r30, r30, 1 -/* 80363954 003608B4 42 00 FE 80 */ bdnz lbl_803637D4 -lbl_80363958: -/* 80363958 003608B8 81 41 00 00 */ lwz r10, 0(r1) -/* 8036395C 003608BC 80 0A 00 04 */ lwz r0, 4(r10) -/* 80363960 003608C0 83 EA FF FC */ lwz r31, -4(r10) -/* 80363964 003608C4 83 CA FF F8 */ lwz r30, -8(r10) -/* 80363968 003608C8 83 AA FF F4 */ lwz r29, -0xc(r10) -/* 8036396C 003608CC 83 8A FF F0 */ lwz r28, -0x10(r10) -/* 80363970 003608D0 7C 08 03 A6 */ mtlr r0 -/* 80363974 003608D4 7D 41 53 78 */ mr r1, r10 -/* 80363978 003608D8 4E 80 00 20 */ blr - -.global GetStreamState__17CDSPStreamManagerFi -GetStreamState__17CDSPStreamManagerFi: -/* 8036397C 003608DC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80363980 003608E0 7C 08 02 A6 */ mflr r0 -/* 80363984 003608E4 90 01 00 24 */ stw r0, 0x24(r1) -/* 80363988 003608E8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8036398C 003608EC 7C 7F 1B 78 */ mr r31, r3 -/* 80363990 003608F0 48 01 DC D1 */ bl OSDisableInterrupts -/* 80363994 003608F4 7C 03 00 D0 */ neg r0, r3 -/* 80363998 003608F8 7C 00 1B 78 */ or r0, r0, r3 -/* 8036399C 003608FC 7F E3 FB 78 */ mr r3, r31 -/* 803639A0 00360900 54 00 0F FE */ srwi r0, r0, 0x1f -/* 803639A4 00360904 98 01 00 08 */ stb r0, 8(r1) -/* 803639A8 00360908 48 00 05 21 */ bl FindClaimedStreamIdx__17CDSPStreamManagerFi -/* 803639AC 0036090C 2C 03 FF FF */ cmpwi r3, -1 -/* 803639B0 00360910 40 82 00 14 */ bne lbl_803639C4 -/* 803639B4 00360914 88 61 00 08 */ lbz r3, 8(r1) -/* 803639B8 00360918 48 01 DC D1 */ bl OSRestoreInterrupts -/* 803639BC 0036091C 38 60 00 01 */ li r3, 1 -/* 803639C0 00360920 48 00 00 78 */ b lbl_80363A38 -lbl_803639C4: -/* 803639C4 00360924 1C 83 00 C0 */ mulli r4, r3, 0xc0 -/* 803639C8 00360928 3C 60 80 5A */ lis r3, lbl_805A6860@ha -/* 803639CC 0036092C 38 03 68 60 */ addi r0, r3, lbl_805A6860@l -/* 803639D0 00360930 7C 60 22 14 */ add r3, r0, r4 -/* 803639D4 00360934 88 03 00 70 */ lbz r0, 0x70(r3) -/* 803639D8 00360938 54 00 E7 BE */ rlwinm r0, r0, 0x1c, 0x1e, 0x1f -/* 803639DC 0036093C 2C 00 00 01 */ cmpwi r0, 1 -/* 803639E0 00360940 41 82 00 4C */ beq lbl_80363A2C -/* 803639E4 00360944 40 80 00 10 */ bge lbl_803639F4 -/* 803639E8 00360948 2C 00 00 00 */ cmpwi r0, 0 -/* 803639EC 0036094C 40 80 00 14 */ bge lbl_80363A00 -/* 803639F0 00360950 48 00 00 3C */ b lbl_80363A2C -lbl_803639F4: -/* 803639F4 00360954 2C 00 00 03 */ cmpwi r0, 3 -/* 803639F8 00360958 40 80 00 34 */ bge lbl_80363A2C -/* 803639FC 0036095C 48 00 00 14 */ b lbl_80363A10 -lbl_80363A00: -/* 80363A00 00360960 88 61 00 08 */ lbz r3, 8(r1) -/* 80363A04 00360964 48 01 DC 85 */ bl OSRestoreInterrupts -/* 80363A08 00360968 38 60 00 01 */ li r3, 1 -/* 80363A0C 0036096C 48 00 00 2C */ b lbl_80363A38 -lbl_80363A10: -/* 80363A10 00360970 A0 03 00 0C */ lhz r0, 0xc(r3) -/* 80363A14 00360974 88 61 00 08 */ lbz r3, 8(r1) -/* 80363A18 00360978 7C 00 00 34 */ cntlzw r0, r0 -/* 80363A1C 0036097C 54 1F D9 7E */ srwi r31, r0, 5 -/* 80363A20 00360980 48 01 DC 69 */ bl OSRestoreInterrupts -/* 80363A24 00360984 7F E3 FB 78 */ mr r3, r31 -/* 80363A28 00360988 48 00 00 10 */ b lbl_80363A38 -lbl_80363A2C: -/* 80363A2C 0036098C 88 61 00 08 */ lbz r3, 8(r1) -/* 80363A30 00360990 48 01 DC 59 */ bl OSRestoreInterrupts -/* 80363A34 00360994 38 60 00 02 */ li r3, 2 -lbl_80363A38: -/* 80363A38 00360998 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80363A3C 0036099C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80363A40 003609A0 7C 08 03 A6 */ mtlr r0 -/* 80363A44 003609A4 38 21 00 20 */ addi r1, r1, 0x20 -/* 80363A48 003609A8 4E 80 00 20 */ blr - -.global CanStop__17CDSPStreamManagerFi -CanStop__17CDSPStreamManagerFi: -/* 80363A4C 003609AC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80363A50 003609B0 7C 08 02 A6 */ mflr r0 -/* 80363A54 003609B4 90 01 00 24 */ stw r0, 0x24(r1) -/* 80363A58 003609B8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80363A5C 003609BC 7C 7F 1B 78 */ mr r31, r3 -/* 80363A60 003609C0 48 01 DC 01 */ bl OSDisableInterrupts -/* 80363A64 003609C4 7C 03 00 D0 */ neg r0, r3 -/* 80363A68 003609C8 7C 00 1B 78 */ or r0, r0, r3 -/* 80363A6C 003609CC 7F E3 FB 78 */ mr r3, r31 -/* 80363A70 003609D0 54 00 0F FE */ srwi r0, r0, 0x1f -/* 80363A74 003609D4 98 01 00 08 */ stb r0, 8(r1) -/* 80363A78 003609D8 48 00 04 51 */ bl FindClaimedStreamIdx__17CDSPStreamManagerFi -/* 80363A7C 003609DC 2C 03 FF FF */ cmpwi r3, -1 -/* 80363A80 003609E0 40 82 00 14 */ bne lbl_80363A94 -/* 80363A84 003609E4 88 61 00 08 */ lbz r3, 8(r1) -/* 80363A88 003609E8 48 01 DC 01 */ bl OSRestoreInterrupts -/* 80363A8C 003609EC 38 60 00 01 */ li r3, 1 -/* 80363A90 003609F0 48 00 00 70 */ b lbl_80363B00 -lbl_80363A94: -/* 80363A94 003609F4 1C 83 00 C0 */ mulli r4, r3, 0xc0 -/* 80363A98 003609F8 3C 60 80 5A */ lis r3, lbl_805A6860@ha -/* 80363A9C 003609FC 38 03 68 60 */ addi r0, r3, lbl_805A6860@l -/* 80363AA0 00360A00 7C 60 22 14 */ add r3, r0, r4 -/* 80363AA4 00360A04 88 03 00 70 */ lbz r0, 0x70(r3) -/* 80363AA8 00360A08 54 00 E7 BE */ rlwinm r0, r0, 0x1c, 0x1e, 0x1f -/* 80363AAC 00360A0C 2C 00 00 01 */ cmpwi r0, 1 -/* 80363AB0 00360A10 40 82 00 14 */ bne lbl_80363AC4 -/* 80363AB4 00360A14 88 61 00 08 */ lbz r3, 8(r1) -/* 80363AB8 00360A18 48 01 DB D1 */ bl OSRestoreInterrupts -/* 80363ABC 00360A1C 38 60 00 00 */ li r3, 0 -/* 80363AC0 00360A20 48 00 00 40 */ b lbl_80363B00 -lbl_80363AC4: -/* 80363AC4 00360A24 80 63 00 7C */ lwz r3, 0x7c(r3) -/* 80363AC8 00360A28 3C 03 00 01 */ addis r0, r3, 1 -/* 80363ACC 00360A2C 28 00 FF FF */ cmplwi r0, 0xffff -/* 80363AD0 00360A30 40 82 00 14 */ bne lbl_80363AE4 -/* 80363AD4 00360A34 88 61 00 08 */ lbz r3, 8(r1) -/* 80363AD8 00360A38 48 01 DB B1 */ bl OSRestoreInterrupts -/* 80363ADC 00360A3C 38 60 00 01 */ li r3, 1 -/* 80363AE0 00360A40 48 00 00 20 */ b lbl_80363B00 -lbl_80363AE4: -/* 80363AE4 00360A44 48 00 6D 65 */ bl IsStreamActive__10SDSPStreamFi -/* 80363AE8 00360A48 54 60 06 3E */ clrlwi r0, r3, 0x18 -/* 80363AEC 00360A4C 88 61 00 08 */ lbz r3, 8(r1) -/* 80363AF0 00360A50 7C 00 00 34 */ cntlzw r0, r0 -/* 80363AF4 00360A54 54 1F D9 7E */ srwi r31, r0, 5 -/* 80363AF8 00360A58 48 01 DB 91 */ bl OSRestoreInterrupts -/* 80363AFC 00360A5C 7F E3 FB 78 */ mr r3, r31 -lbl_80363B00: -/* 80363B00 00360A60 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80363B04 00360A64 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80363B08 00360A68 7C 08 03 A6 */ mtlr r0 -/* 80363B0C 00360A6C 38 21 00 20 */ addi r1, r1, 0x20 -/* 80363B10 00360A70 4E 80 00 20 */ blr - -.global IsStreamAvailable__17CDSPStreamManagerFi -IsStreamAvailable__17CDSPStreamManagerFi: -/* 80363B14 00360A74 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80363B18 00360A78 7C 08 02 A6 */ mflr r0 -/* 80363B1C 00360A7C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80363B20 00360A80 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80363B24 00360A84 7C 7F 1B 78 */ mr r31, r3 -/* 80363B28 00360A88 48 01 DB 39 */ bl OSDisableInterrupts -/* 80363B2C 00360A8C 7C 03 00 D0 */ neg r0, r3 -/* 80363B30 00360A90 7C 00 1B 78 */ or r0, r0, r3 -/* 80363B34 00360A94 7F E3 FB 78 */ mr r3, r31 -/* 80363B38 00360A98 54 00 0F FE */ srwi r0, r0, 0x1f -/* 80363B3C 00360A9C 98 01 00 08 */ stb r0, 8(r1) -/* 80363B40 00360AA0 48 00 03 89 */ bl FindClaimedStreamIdx__17CDSPStreamManagerFi -/* 80363B44 00360AA4 2C 03 FF FF */ cmpwi r3, -1 -/* 80363B48 00360AA8 40 82 00 14 */ bne lbl_80363B5C -/* 80363B4C 00360AAC 88 61 00 08 */ lbz r3, 8(r1) -/* 80363B50 00360AB0 48 01 DB 39 */ bl OSRestoreInterrupts -/* 80363B54 00360AB4 38 60 00 00 */ li r3, 0 -/* 80363B58 00360AB8 48 00 00 68 */ b lbl_80363BC0 -lbl_80363B5C: -/* 80363B5C 00360ABC 1C 83 00 C0 */ mulli r4, r3, 0xc0 -/* 80363B60 00360AC0 3C 60 80 5A */ lis r3, lbl_805A6860@ha -/* 80363B64 00360AC4 38 03 68 60 */ addi r0, r3, lbl_805A6860@l -/* 80363B68 00360AC8 7C 60 22 14 */ add r3, r0, r4 -/* 80363B6C 00360ACC 88 03 00 70 */ lbz r0, 0x70(r3) -/* 80363B70 00360AD0 54 00 E7 BE */ rlwinm r0, r0, 0x1c, 0x1e, 0x1f -/* 80363B74 00360AD4 2C 00 00 01 */ cmpwi r0, 1 -/* 80363B78 00360AD8 40 82 00 14 */ bne lbl_80363B8C -/* 80363B7C 00360ADC 88 61 00 08 */ lbz r3, 8(r1) -/* 80363B80 00360AE0 48 01 DB 09 */ bl OSRestoreInterrupts -/* 80363B84 00360AE4 38 60 00 00 */ li r3, 0 -/* 80363B88 00360AE8 48 00 00 38 */ b lbl_80363BC0 -lbl_80363B8C: -/* 80363B8C 00360AEC 80 63 00 7C */ lwz r3, 0x7c(r3) -/* 80363B90 00360AF0 3C 03 00 01 */ addis r0, r3, 1 -/* 80363B94 00360AF4 28 00 FF FF */ cmplwi r0, 0xffff -/* 80363B98 00360AF8 40 82 00 14 */ bne lbl_80363BAC -/* 80363B9C 00360AFC 88 61 00 08 */ lbz r3, 8(r1) -/* 80363BA0 00360B00 48 01 DA E9 */ bl OSRestoreInterrupts -/* 80363BA4 00360B04 38 60 00 00 */ li r3, 0 -/* 80363BA8 00360B08 48 00 00 18 */ b lbl_80363BC0 -lbl_80363BAC: -/* 80363BAC 00360B0C 48 00 6C 21 */ bl IsStreamAvailable__10SDSPStreamFi -/* 80363BB0 00360B10 7C 7F 1B 78 */ mr r31, r3 -/* 80363BB4 00360B14 88 61 00 08 */ lbz r3, 8(r1) -/* 80363BB8 00360B18 48 01 DA D1 */ bl OSRestoreInterrupts -/* 80363BBC 00360B1C 7F E3 FB 78 */ mr r3, r31 -lbl_80363BC0: -/* 80363BC0 00360B20 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80363BC4 00360B24 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80363BC8 00360B28 7C 08 03 A6 */ mtlr r0 -/* 80363BCC 00360B2C 38 21 00 20 */ addi r1, r1, 0x20 -/* 80363BD0 00360B30 4E 80 00 20 */ blr - -.global UpdateVolume__17CDSPStreamManagerFic -UpdateVolume__17CDSPStreamManagerFic: -/* 80363BD4 00360B34 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80363BD8 00360B38 7C 08 02 A6 */ mflr r0 -/* 80363BDC 00360B3C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80363BE0 00360B40 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80363BE4 00360B44 7C 9F 23 78 */ mr r31, r4 -/* 80363BE8 00360B48 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80363BEC 00360B4C 7C 7E 1B 78 */ mr r30, r3 -/* 80363BF0 00360B50 48 01 DA 71 */ bl OSDisableInterrupts -/* 80363BF4 00360B54 7C 03 00 D0 */ neg r0, r3 -/* 80363BF8 00360B58 7C 00 1B 78 */ or r0, r0, r3 -/* 80363BFC 00360B5C 7F C3 F3 78 */ mr r3, r30 -/* 80363C00 00360B60 54 00 0F FE */ srwi r0, r0, 0x1f -/* 80363C04 00360B64 98 01 00 08 */ stb r0, 8(r1) -/* 80363C08 00360B68 48 00 02 C1 */ bl FindClaimedStreamIdx__17CDSPStreamManagerFi -/* 80363C0C 00360B6C 2C 03 FF FF */ cmpwi r3, -1 -/* 80363C10 00360B70 40 82 00 10 */ bne lbl_80363C20 -/* 80363C14 00360B74 88 61 00 08 */ lbz r3, 8(r1) -/* 80363C18 00360B78 48 01 DA 71 */ bl OSRestoreInterrupts -/* 80363C1C 00360B7C 48 00 00 38 */ b lbl_80363C54 -lbl_80363C20: -/* 80363C20 00360B80 1C 83 00 C0 */ mulli r4, r3, 0xc0 -/* 80363C24 00360B84 3C 60 80 5A */ lis r3, lbl_805A6860@ha -/* 80363C28 00360B88 38 03 68 60 */ addi r0, r3, lbl_805A6860@l -/* 80363C2C 00360B8C 7C 60 22 14 */ add r3, r0, r4 -/* 80363C30 00360B90 9B E3 00 73 */ stb r31, 0x73(r3) -/* 80363C34 00360B94 80 63 00 7C */ lwz r3, 0x7c(r3) -/* 80363C38 00360B98 3C 03 00 01 */ addis r0, r3, 1 -/* 80363C3C 00360B9C 28 00 FF FF */ cmplwi r0, 0xffff -/* 80363C40 00360BA0 41 82 00 0C */ beq lbl_80363C4C -/* 80363C44 00360BA4 7F E4 FB 78 */ mr r4, r31 -/* 80363C48 00360BA8 48 00 6C 7D */ bl UpdateVolume__10SDSPStreamFi -lbl_80363C4C: -/* 80363C4C 00360BAC 88 61 00 08 */ lbz r3, 8(r1) -/* 80363C50 00360BB0 48 01 DA 39 */ bl OSRestoreInterrupts -lbl_80363C54: -/* 80363C54 00360BB4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80363C58 00360BB8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80363C5C 00360BBC 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80363C60 00360BC0 7C 08 03 A6 */ mtlr r0 -/* 80363C64 00360BC4 38 21 00 20 */ addi r1, r1, 0x20 -/* 80363C68 00360BC8 4E 80 00 20 */ blr - -.global __ct__14SDSPStreamInfoFRC17CDSPStreamManager -__ct__14SDSPStreamInfoFRC17CDSPStreamManager: -/* 80363C6C 00360BCC 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 80363C70 00360BD0 7C 08 02 A6 */ mflr r0 -/* 80363C74 00360BD4 38 A0 00 60 */ li r5, 0x60 -/* 80363C78 00360BD8 90 01 00 54 */ stw r0, 0x54(r1) -/* 80363C7C 00360BDC 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 80363C80 00360BE0 7C 7F 1B 78 */ mr r31, r3 -/* 80363C84 00360BE4 80 C4 00 04 */ lwz r6, 4(r4) -/* 80363C88 00360BE8 A0 04 00 0C */ lhz r0, 0xc(r4) -/* 80363C8C 00360BEC 80 64 00 08 */ lwz r3, 8(r4) -/* 80363C90 00360BF0 54 C6 F8 74 */ rlwinm r6, r6, 0x1f, 1, 0x1a -/* 80363C94 00360BF4 80 E4 00 60 */ lwz r7, 0x60(r4) -/* 80363C98 00360BF8 28 00 00 00 */ cmplwi r0, 0 -/* 80363C9C 00360BFC B0 61 00 0C */ sth r3, 0xc(r1) -/* 80363CA0 00360C00 90 E1 00 08 */ stw r7, 8(r1) -/* 80363CA4 00360C04 90 C1 00 14 */ stw r6, 0x14(r1) -/* 80363CA8 00360C08 90 A1 00 10 */ stw r5, 0x10(r1) -/* 80363CAC 00360C0C 41 82 00 38 */ beq lbl_80363CE4 -/* 80363CB0 00360C10 80 04 00 14 */ lwz r0, 0x14(r4) -/* 80363CB4 00360C14 38 A0 00 01 */ li r5, 1 -/* 80363CB8 00360C18 80 64 00 10 */ lwz r3, 0x10(r4) -/* 80363CBC 00360C1C 54 07 F8 74 */ rlwinm r7, r0, 0x1f, 1, 0x1a -/* 80363CC0 00360C20 98 A1 00 18 */ stb r5, 0x18(r1) -/* 80363CC4 00360C24 54 60 F8 74 */ rlwinm r0, r3, 0x1f, 1, 0x1a -/* 80363CC8 00360C28 7C 07 30 40 */ cmplw r7, r6 -/* 80363CCC 00360C2C 90 01 00 1C */ stw r0, 0x1c(r1) -/* 80363CD0 00360C30 40 81 00 0C */ ble lbl_80363CDC -/* 80363CD4 00360C34 90 C1 00 20 */ stw r6, 0x20(r1) -/* 80363CD8 00360C38 48 00 00 1C */ b lbl_80363CF4 -lbl_80363CDC: -/* 80363CDC 00360C3C 90 E1 00 20 */ stw r7, 0x20(r1) -/* 80363CE0 00360C40 48 00 00 14 */ b lbl_80363CF4 -lbl_80363CE4: -/* 80363CE4 00360C44 38 00 00 00 */ li r0, 0 -/* 80363CE8 00360C48 98 01 00 18 */ stb r0, 0x18(r1) -/* 80363CEC 00360C4C 90 01 00 1C */ stw r0, 0x1c(r1) -/* 80363CF0 00360C50 90 01 00 20 */ stw r0, 0x20(r1) -lbl_80363CF4: -/* 80363CF4 00360C54 38 61 00 24 */ addi r3, r1, 0x24 -/* 80363CF8 00360C58 38 84 00 1C */ addi r4, r4, 0x1c -/* 80363CFC 00360C5C 38 A0 00 20 */ li r5, 0x20 -/* 80363D00 00360C60 4B C9 F7 91 */ bl memcpy -/* 80363D04 00360C64 80 61 00 08 */ lwz r3, 8(r1) -/* 80363D08 00360C68 80 01 00 0C */ lwz r0, 0xc(r1) -/* 80363D0C 00360C6C 90 7F 00 00 */ stw r3, 0(r31) -/* 80363D10 00360C70 90 1F 00 04 */ stw r0, 4(r31) -/* 80363D14 00360C74 80 61 00 10 */ lwz r3, 0x10(r1) -/* 80363D18 00360C78 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80363D1C 00360C7C 90 7F 00 08 */ stw r3, 8(r31) -/* 80363D20 00360C80 90 1F 00 0C */ stw r0, 0xc(r31) -/* 80363D24 00360C84 80 61 00 18 */ lwz r3, 0x18(r1) -/* 80363D28 00360C88 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 80363D2C 00360C8C 90 7F 00 10 */ stw r3, 0x10(r31) -/* 80363D30 00360C90 90 1F 00 14 */ stw r0, 0x14(r31) -/* 80363D34 00360C94 80 61 00 20 */ lwz r3, 0x20(r1) -/* 80363D38 00360C98 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80363D3C 00360C9C 90 7F 00 18 */ stw r3, 0x18(r31) -/* 80363D40 00360CA0 90 1F 00 1C */ stw r0, 0x1c(r31) -/* 80363D44 00360CA4 80 61 00 28 */ lwz r3, 0x28(r1) -/* 80363D48 00360CA8 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 80363D4C 00360CAC 90 7F 00 20 */ stw r3, 0x20(r31) -/* 80363D50 00360CB0 90 1F 00 24 */ stw r0, 0x24(r31) -/* 80363D54 00360CB4 80 61 00 30 */ lwz r3, 0x30(r1) -/* 80363D58 00360CB8 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80363D5C 00360CBC 90 7F 00 28 */ stw r3, 0x28(r31) -/* 80363D60 00360CC0 90 1F 00 2C */ stw r0, 0x2c(r31) -/* 80363D64 00360CC4 80 61 00 38 */ lwz r3, 0x38(r1) -/* 80363D68 00360CC8 80 01 00 3C */ lwz r0, 0x3c(r1) -/* 80363D6C 00360CCC 90 7F 00 30 */ stw r3, 0x30(r31) -/* 80363D70 00360CD0 90 1F 00 34 */ stw r0, 0x34(r31) -/* 80363D74 00360CD4 80 01 00 40 */ lwz r0, 0x40(r1) -/* 80363D78 00360CD8 90 1F 00 38 */ stw r0, 0x38(r31) -/* 80363D7C 00360CDC 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 80363D80 00360CE0 80 01 00 54 */ lwz r0, 0x54(r1) -/* 80363D84 00360CE4 7C 08 03 A6 */ mtlr r0 -/* 80363D88 00360CE8 38 21 00 50 */ addi r1, r1, 0x50 -/* 80363D8C 00360CEC 4E 80 00 20 */ blr - -.global StopStreaming__17CDSPStreamManagerFi -StopStreaming__17CDSPStreamManagerFi: -/* 80363D90 00360CF0 54 2B 06 FE */ clrlwi r11, r1, 0x1b -/* 80363D94 00360CF4 7C 2C 0B 78 */ mr r12, r1 -/* 80363D98 00360CF8 21 6B FE 20 */ subfic r11, r11, -480 -/* 80363D9C 00360CFC 7C 21 59 6E */ stwux r1, r1, r11 -/* 80363DA0 00360D00 7C 08 02 A6 */ mflr r0 -/* 80363DA4 00360D04 90 0C 00 04 */ stw r0, 4(r12) -/* 80363DA8 00360D08 93 EC FF FC */ stw r31, -4(r12) -/* 80363DAC 00360D0C 93 CC FF F8 */ stw r30, -8(r12) -/* 80363DB0 00360D10 7C 7E 1B 78 */ mr r30, r3 -/* 80363DB4 00360D14 48 01 D8 AD */ bl OSDisableInterrupts -/* 80363DB8 00360D18 7C 03 00 D0 */ neg r0, r3 -/* 80363DBC 00360D1C 7C 00 1B 78 */ or r0, r0, r3 -/* 80363DC0 00360D20 7F C3 F3 78 */ mr r3, r30 -/* 80363DC4 00360D24 54 00 0F FE */ srwi r0, r0, 0x1f -/* 80363DC8 00360D28 98 01 00 20 */ stb r0, 0x20(r1) -/* 80363DCC 00360D2C 48 00 00 FD */ bl FindClaimedStreamIdx__17CDSPStreamManagerFi -/* 80363DD0 00360D30 2C 03 FF FF */ cmpwi r3, -1 -/* 80363DD4 00360D34 40 82 00 10 */ bne lbl_80363DE4 -/* 80363DD8 00360D38 88 61 00 20 */ lbz r3, 0x20(r1) -/* 80363DDC 00360D3C 48 01 D8 AD */ bl OSRestoreInterrupts -/* 80363DE0 00360D40 48 00 00 CC */ b lbl_80363EAC -lbl_80363DE4: -/* 80363DE4 00360D44 1C 83 00 C0 */ mulli r4, r3, 0xc0 -/* 80363DE8 00360D48 3C 60 80 5A */ lis r3, lbl_805A6860@ha -/* 80363DEC 00360D4C 38 03 68 60 */ addi r0, r3, lbl_805A6860@l -/* 80363DF0 00360D50 7F C0 22 14 */ add r30, r0, r4 -/* 80363DF4 00360D54 88 7E 00 70 */ lbz r3, 0x70(r30) -/* 80363DF8 00360D58 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f -/* 80363DFC 00360D5C 41 82 00 10 */ beq lbl_80363E0C -/* 80363E00 00360D60 88 61 00 20 */ lbz r3, 0x20(r1) -/* 80363E04 00360D64 48 01 D8 85 */ bl OSRestoreInterrupts -/* 80363E08 00360D68 48 00 00 A4 */ b lbl_80363EAC -lbl_80363E0C: -/* 80363E0C 00360D6C 54 60 E7 BE */ rlwinm r0, r3, 0x1c, 0x1e, 0x1f -/* 80363E10 00360D70 2C 00 00 01 */ cmpwi r0, 1 -/* 80363E14 00360D74 40 82 00 20 */ bne lbl_80363E34 -/* 80363E18 00360D78 88 1E 00 70 */ lbz r0, 0x70(r30) -/* 80363E1C 00360D7C 38 60 00 01 */ li r3, 1 -/* 80363E20 00360D80 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 80363E24 00360D84 88 61 00 20 */ lbz r3, 0x20(r1) -/* 80363E28 00360D88 98 1E 00 70 */ stb r0, 0x70(r30) -/* 80363E2C 00360D8C 48 01 D8 5D */ bl OSRestoreInterrupts -/* 80363E30 00360D90 48 00 00 7C */ b lbl_80363EAC -lbl_80363E34: -/* 80363E34 00360D94 8B FE 00 71 */ lbz r31, 0x71(r30) -/* 80363E38 00360D98 7F E0 07 74 */ extsb r0, r31 -/* 80363E3C 00360D9C 2C 00 FF FF */ cmpwi r0, -1 -/* 80363E40 00360DA0 41 82 00 38 */ beq lbl_80363E78 -/* 80363E44 00360DA4 38 61 01 00 */ addi r3, r1, 0x100 -/* 80363E48 00360DA8 38 80 00 00 */ li r4, 0 -/* 80363E4C 00360DAC 48 00 0B 01 */ bl __ct__17CDSPStreamManagerFv -/* 80363E50 00360DB0 7F E0 07 74 */ extsb r0, r31 -/* 80363E54 00360DB4 3C 60 80 5A */ lis r3, lbl_805A6860@ha -/* 80363E58 00360DB8 1C A0 00 C0 */ mulli r5, r0, 0xc0 -/* 80363E5C 00360DBC 38 81 01 00 */ addi r4, r1, 0x100 -/* 80363E60 00360DC0 38 03 68 60 */ addi r0, r3, lbl_805A6860@l -/* 80363E64 00360DC4 7C 60 2A 14 */ add r3, r0, r5 -/* 80363E68 00360DC8 48 00 08 7D */ bl __as__17CDSPStreamManagerFRC17CDSPStreamManager -/* 80363E6C 00360DCC 34 61 01 60 */ addic. r3, r1, 0x160 -/* 80363E70 00360DD0 41 82 00 08 */ beq lbl_80363E78 -/* 80363E74 00360DD4 4B FD 9C 6D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_80363E78: -/* 80363E78 00360DD8 80 7E 00 7C */ lwz r3, 0x7c(r30) -/* 80363E7C 00360DDC 48 00 6B 49 */ bl Silence__10SDSPStreamFv -/* 80363E80 00360DE0 38 61 00 40 */ addi r3, r1, 0x40 -/* 80363E84 00360DE4 38 80 00 00 */ li r4, 0 -/* 80363E88 00360DE8 48 00 0A C5 */ bl __ct__17CDSPStreamManagerFv -/* 80363E8C 00360DEC 7F C3 F3 78 */ mr r3, r30 -/* 80363E90 00360DF0 38 81 00 40 */ addi r4, r1, 0x40 -/* 80363E94 00360DF4 48 00 08 51 */ bl __as__17CDSPStreamManagerFRC17CDSPStreamManager -/* 80363E98 00360DF8 34 61 00 A0 */ addic. r3, r1, 0xa0 -/* 80363E9C 00360DFC 41 82 00 08 */ beq lbl_80363EA4 -/* 80363EA0 00360E00 4B FD 9C 41 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_80363EA4: -/* 80363EA4 00360E04 88 61 00 20 */ lbz r3, 0x20(r1) -/* 80363EA8 00360E08 48 01 D7 E1 */ bl OSRestoreInterrupts -lbl_80363EAC: -/* 80363EAC 00360E0C 81 41 00 00 */ lwz r10, 0(r1) -/* 80363EB0 00360E10 80 0A 00 04 */ lwz r0, 4(r10) -/* 80363EB4 00360E14 83 EA FF FC */ lwz r31, -4(r10) -/* 80363EB8 00360E18 83 CA FF F8 */ lwz r30, -8(r10) -/* 80363EBC 00360E1C 7C 08 03 A6 */ mtlr r0 -/* 80363EC0 00360E20 7D 41 53 78 */ mr r1, r10 -/* 80363EC4 00360E24 4E 80 00 20 */ blr - -.global FindClaimedStreamIdx__17CDSPStreamManagerFi -FindClaimedStreamIdx__17CDSPStreamManagerFi: -/* 80363EC8 00360E28 3C 80 80 5A */ lis r4, lbl_805A6860@ha -/* 80363ECC 00360E2C 38 84 68 60 */ addi r4, r4, lbl_805A6860@l -/* 80363ED0 00360E30 88 04 00 70 */ lbz r0, 0x70(r4) -/* 80363ED4 00360E34 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80363ED8 00360E38 40 82 00 18 */ bne lbl_80363EF0 -/* 80363EDC 00360E3C 80 04 00 78 */ lwz r0, 0x78(r4) -/* 80363EE0 00360E40 7C 03 00 00 */ cmpw r3, r0 -/* 80363EE4 00360E44 40 82 00 0C */ bne lbl_80363EF0 -/* 80363EE8 00360E48 38 60 00 00 */ li r3, 0 -/* 80363EEC 00360E4C 4E 80 00 20 */ blr -lbl_80363EF0: -/* 80363EF0 00360E50 38 84 00 C0 */ addi r4, r4, 0xc0 -/* 80363EF4 00360E54 88 04 00 70 */ lbz r0, 0x70(r4) -/* 80363EF8 00360E58 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80363EFC 00360E5C 40 82 00 18 */ bne lbl_80363F14 -/* 80363F00 00360E60 80 04 00 78 */ lwz r0, 0x78(r4) -/* 80363F04 00360E64 7C 03 00 00 */ cmpw r3, r0 -/* 80363F08 00360E68 40 82 00 0C */ bne lbl_80363F14 -/* 80363F0C 00360E6C 38 60 00 01 */ li r3, 1 -/* 80363F10 00360E70 4E 80 00 20 */ blr -lbl_80363F14: -/* 80363F14 00360E74 88 04 01 30 */ lbz r0, 0x130(r4) -/* 80363F18 00360E78 38 84 00 C0 */ addi r4, r4, 0xc0 -/* 80363F1C 00360E7C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80363F20 00360E80 40 82 00 18 */ bne lbl_80363F38 -/* 80363F24 00360E84 80 04 00 78 */ lwz r0, 0x78(r4) -/* 80363F28 00360E88 7C 03 00 00 */ cmpw r3, r0 -/* 80363F2C 00360E8C 40 82 00 0C */ bne lbl_80363F38 -/* 80363F30 00360E90 38 60 00 02 */ li r3, 2 -/* 80363F34 00360E94 4E 80 00 20 */ blr -lbl_80363F38: -/* 80363F38 00360E98 88 04 01 30 */ lbz r0, 0x130(r4) -/* 80363F3C 00360E9C 38 84 00 C0 */ addi r4, r4, 0xc0 -/* 80363F40 00360EA0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80363F44 00360EA4 40 82 00 18 */ bne lbl_80363F5C -/* 80363F48 00360EA8 80 04 00 78 */ lwz r0, 0x78(r4) -/* 80363F4C 00360EAC 7C 03 00 00 */ cmpw r3, r0 -/* 80363F50 00360EB0 40 82 00 0C */ bne lbl_80363F5C -/* 80363F54 00360EB4 38 60 00 03 */ li r3, 3 -/* 80363F58 00360EB8 4E 80 00 20 */ blr -lbl_80363F5C: -/* 80363F5C 00360EBC 38 60 FF FF */ li r3, -1 -/* 80363F60 00360EC0 4E 80 00 20 */ blr - -.global GetFreeHandleId__17CDSPStreamManagerFv -GetFreeHandleId__17CDSPStreamManagerFv: -/* 80363F64 00360EC4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80363F68 00360EC8 7C 08 02 A6 */ mflr r0 -/* 80363F6C 00360ECC 90 01 00 24 */ stw r0, 0x24(r1) -/* 80363F70 00360ED0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80363F74 00360ED4 48 01 D6 ED */ bl OSDisableInterrupts -/* 80363F78 00360ED8 7C 03 00 D0 */ neg r0, r3 -/* 80363F7C 00360EDC 7C 00 1B 78 */ or r0, r0, r3 -/* 80363F80 00360EE0 54 00 0F FE */ srwi r0, r0, 0x1f -/* 80363F84 00360EE4 98 01 00 08 */ stb r0, 8(r1) -lbl_80363F88: -/* 80363F88 00360EE8 80 6D AA B8 */ lwz r3, lbl_805A9678@sda21(r13) -/* 80363F8C 00360EEC 38 80 00 01 */ li r4, 1 -/* 80363F90 00360EF0 3B E3 00 01 */ addi r31, r3, 1 -/* 80363F94 00360EF4 2C 1F FF FF */ cmpwi r31, -1 -/* 80363F98 00360EF8 93 ED AA B8 */ stw r31, lbl_805A9678@sda21(r13) -/* 80363F9C 00360EFC 40 82 00 0C */ bne lbl_80363FA8 -/* 80363FA0 00360F00 38 80 00 00 */ li r4, 0 -/* 80363FA4 00360F04 48 00 00 94 */ b lbl_80364038 -lbl_80363FA8: -/* 80363FA8 00360F08 3C 60 80 5A */ lis r3, lbl_805A6860@ha -/* 80363FAC 00360F0C 38 63 68 60 */ addi r3, r3, lbl_805A6860@l -/* 80363FB0 00360F10 88 03 00 70 */ lbz r0, 0x70(r3) -/* 80363FB4 00360F14 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80363FB8 00360F18 40 82 00 18 */ bne lbl_80363FD0 -/* 80363FBC 00360F1C 80 03 00 78 */ lwz r0, 0x78(r3) -/* 80363FC0 00360F20 7C 1F 00 00 */ cmpw r31, r0 -/* 80363FC4 00360F24 40 82 00 0C */ bne lbl_80363FD0 -/* 80363FC8 00360F28 38 80 00 00 */ li r4, 0 -/* 80363FCC 00360F2C 48 00 00 6C */ b lbl_80364038 -lbl_80363FD0: -/* 80363FD0 00360F30 38 63 00 C0 */ addi r3, r3, 0xc0 -/* 80363FD4 00360F34 88 03 00 70 */ lbz r0, 0x70(r3) -/* 80363FD8 00360F38 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80363FDC 00360F3C 40 82 00 18 */ bne lbl_80363FF4 -/* 80363FE0 00360F40 80 03 00 78 */ lwz r0, 0x78(r3) -/* 80363FE4 00360F44 7C 1F 00 00 */ cmpw r31, r0 -/* 80363FE8 00360F48 40 82 00 0C */ bne lbl_80363FF4 -/* 80363FEC 00360F4C 38 80 00 00 */ li r4, 0 -/* 80363FF0 00360F50 48 00 00 48 */ b lbl_80364038 -lbl_80363FF4: -/* 80363FF4 00360F54 88 03 01 30 */ lbz r0, 0x130(r3) -/* 80363FF8 00360F58 38 63 00 C0 */ addi r3, r3, 0xc0 -/* 80363FFC 00360F5C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80364000 00360F60 40 82 00 18 */ bne lbl_80364018 -/* 80364004 00360F64 80 03 00 78 */ lwz r0, 0x78(r3) -/* 80364008 00360F68 7C 1F 00 00 */ cmpw r31, r0 -/* 8036400C 00360F6C 40 82 00 0C */ bne lbl_80364018 -/* 80364010 00360F70 38 80 00 00 */ li r4, 0 -/* 80364014 00360F74 48 00 00 24 */ b lbl_80364038 -lbl_80364018: -/* 80364018 00360F78 88 03 01 30 */ lbz r0, 0x130(r3) -/* 8036401C 00360F7C 38 63 00 C0 */ addi r3, r3, 0xc0 -/* 80364020 00360F80 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80364024 00360F84 40 82 00 14 */ bne lbl_80364038 -/* 80364028 00360F88 80 03 00 78 */ lwz r0, 0x78(r3) -/* 8036402C 00360F8C 7C 1F 00 00 */ cmpw r31, r0 -/* 80364030 00360F90 40 82 00 08 */ bne lbl_80364038 -/* 80364034 00360F94 38 80 00 00 */ li r4, 0 -lbl_80364038: -/* 80364038 00360F98 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 8036403C 00360F9C 41 82 FF 4C */ beq lbl_80363F88 -/* 80364040 00360FA0 88 61 00 08 */ lbz r3, 8(r1) -/* 80364044 00360FA4 48 01 D6 45 */ bl OSRestoreInterrupts -/* 80364048 00360FA8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8036404C 00360FAC 7F E3 FB 78 */ mr r3, r31 -/* 80364050 00360FB0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80364054 00360FB4 7C 08 03 A6 */ mtlr r0 -/* 80364058 00360FB8 38 21 00 20 */ addi r1, r1, 0x20 -/* 8036405C 00360FBC 4E 80 00 20 */ blr - -.global FindUnclaimedStereoPair__17CDSPStreamManagerFRiRi -FindUnclaimedStereoPair__17CDSPStreamManagerFRiRi: -/* 80364060 00360FC0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80364064 00360FC4 7C 08 02 A6 */ mflr r0 -/* 80364068 00360FC8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8036406C 00360FCC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80364070 00360FD0 7C 9F 23 78 */ mr r31, r4 -/* 80364074 00360FD4 93 C1 00 08 */ stw r30, 8(r1) -/* 80364078 00360FD8 7C 7E 1B 78 */ mr r30, r3 -/* 8036407C 00360FDC 48 00 00 D1 */ bl FindUnclaimedStreamIdx__17CDSPStreamManagerFv -/* 80364080 00360FE0 3C 80 80 5A */ lis r4, lbl_805A6860@ha -/* 80364084 00360FE4 38 A0 00 00 */ li r5, 0 -/* 80364088 00360FE8 38 84 68 60 */ addi r4, r4, lbl_805A6860@l -/* 8036408C 00360FEC 88 04 00 70 */ lbz r0, 0x70(r4) -/* 80364090 00360FF0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80364094 00360FF4 41 82 00 1C */ beq lbl_803640B0 -/* 80364098 00360FF8 7C 03 28 00 */ cmpw r3, r5 -/* 8036409C 00360FFC 41 82 00 14 */ beq lbl_803640B0 -/* 803640A0 00361000 90 7E 00 00 */ stw r3, 0(r30) -/* 803640A4 00361004 38 60 00 01 */ li r3, 1 -/* 803640A8 00361008 90 BF 00 00 */ stw r5, 0(r31) -/* 803640AC 0036100C 48 00 00 88 */ b lbl_80364134 -lbl_803640B0: -/* 803640B0 00361010 38 84 00 C0 */ addi r4, r4, 0xc0 -/* 803640B4 00361014 38 A0 00 01 */ li r5, 1 -/* 803640B8 00361018 88 04 00 70 */ lbz r0, 0x70(r4) -/* 803640BC 0036101C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 803640C0 00361020 41 82 00 1C */ beq lbl_803640DC -/* 803640C4 00361024 7C 03 28 00 */ cmpw r3, r5 -/* 803640C8 00361028 41 82 00 14 */ beq lbl_803640DC -/* 803640CC 0036102C 90 7E 00 00 */ stw r3, 0(r30) -/* 803640D0 00361030 38 60 00 01 */ li r3, 1 -/* 803640D4 00361034 90 BF 00 00 */ stw r5, 0(r31) -/* 803640D8 00361038 48 00 00 5C */ b lbl_80364134 -lbl_803640DC: -/* 803640DC 0036103C 88 04 01 30 */ lbz r0, 0x130(r4) -/* 803640E0 00361040 38 A0 00 02 */ li r5, 2 -/* 803640E4 00361044 38 84 00 C0 */ addi r4, r4, 0xc0 -/* 803640E8 00361048 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 803640EC 0036104C 41 82 00 1C */ beq lbl_80364108 -/* 803640F0 00361050 7C 03 28 00 */ cmpw r3, r5 -/* 803640F4 00361054 41 82 00 14 */ beq lbl_80364108 -/* 803640F8 00361058 90 7E 00 00 */ stw r3, 0(r30) -/* 803640FC 0036105C 38 60 00 01 */ li r3, 1 -/* 80364100 00361060 90 BF 00 00 */ stw r5, 0(r31) -/* 80364104 00361064 48 00 00 30 */ b lbl_80364134 -lbl_80364108: -/* 80364108 00361068 88 04 01 30 */ lbz r0, 0x130(r4) -/* 8036410C 0036106C 38 A0 00 03 */ li r5, 3 -/* 80364110 00361070 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80364114 00361074 41 82 00 1C */ beq lbl_80364130 -/* 80364118 00361078 7C 03 28 00 */ cmpw r3, r5 -/* 8036411C 0036107C 41 82 00 14 */ beq lbl_80364130 -/* 80364120 00361080 90 7E 00 00 */ stw r3, 0(r30) -/* 80364124 00361084 38 60 00 01 */ li r3, 1 -/* 80364128 00361088 90 BF 00 00 */ stw r5, 0(r31) -/* 8036412C 0036108C 48 00 00 08 */ b lbl_80364134 -lbl_80364130: -/* 80364130 00361090 38 60 00 00 */ li r3, 0 -lbl_80364134: -/* 80364134 00361094 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80364138 00361098 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8036413C 0036109C 83 C1 00 08 */ lwz r30, 8(r1) -/* 80364140 003610A0 7C 08 03 A6 */ mtlr r0 -/* 80364144 003610A4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80364148 003610A8 4E 80 00 20 */ blr - -.global FindUnclaimedStreamIdx__17CDSPStreamManagerFv -FindUnclaimedStreamIdx__17CDSPStreamManagerFv: -/* 8036414C 003610AC 3C 60 80 5A */ lis r3, lbl_805A6860@ha -/* 80364150 003610B0 38 63 68 60 */ addi r3, r3, lbl_805A6860@l -/* 80364154 003610B4 88 03 00 70 */ lbz r0, 0x70(r3) -/* 80364158 003610B8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8036415C 003610BC 41 82 00 0C */ beq lbl_80364168 -/* 80364160 003610C0 38 60 00 00 */ li r3, 0 -/* 80364164 003610C4 4E 80 00 20 */ blr -lbl_80364168: -/* 80364168 003610C8 38 63 00 C0 */ addi r3, r3, 0xc0 -/* 8036416C 003610CC 88 03 00 70 */ lbz r0, 0x70(r3) -/* 80364170 003610D0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80364174 003610D4 41 82 00 0C */ beq lbl_80364180 -/* 80364178 003610D8 38 60 00 01 */ li r3, 1 -/* 8036417C 003610DC 4E 80 00 20 */ blr -lbl_80364180: -/* 80364180 003610E0 88 03 01 30 */ lbz r0, 0x130(r3) -/* 80364184 003610E4 38 63 00 C0 */ addi r3, r3, 0xc0 -/* 80364188 003610E8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8036418C 003610EC 41 82 00 0C */ beq lbl_80364198 -/* 80364190 003610F0 38 60 00 02 */ li r3, 2 -/* 80364194 003610F4 4E 80 00 20 */ blr -lbl_80364198: -/* 80364198 003610F8 88 03 01 30 */ lbz r0, 0x130(r3) -/* 8036419C 003610FC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 803641A0 00361100 41 82 00 0C */ beq lbl_803641AC -/* 803641A4 00361104 38 60 00 03 */ li r3, 3 -/* 803641A8 00361108 4E 80 00 20 */ blr -lbl_803641AC: -/* 803641AC 0036110C 38 60 FF FF */ li r3, -1 -/* 803641B0 00361110 4E 80 00 20 */ blr - -.global StartStreaming__17CDSPStreamManagerFRCQ24rstl6stringcb -StartStreaming__17CDSPStreamManagerFRCQ24rstl6stringcb: -/* 803641B4 00361114 54 2B 06 FE */ clrlwi r11, r1, 0x1b -/* 803641B8 00361118 7C 2C 0B 78 */ mr r12, r1 -/* 803641BC 0036111C 21 6B FB 00 */ subfic r11, r11, -1280 -/* 803641C0 00361120 7C 21 59 6E */ stwux r1, r1, r11 -/* 803641C4 00361124 7C 08 02 A6 */ mflr r0 -/* 803641C8 00361128 90 0C 00 04 */ stw r0, 4(r12) -/* 803641CC 0036112C 93 EC FF FC */ stw r31, -4(r12) -/* 803641D0 00361130 93 CC FF F8 */ stw r30, -8(r12) -/* 803641D4 00361134 7C BE 2B 78 */ mr r30, r5 -/* 803641D8 00361138 93 AC FF F4 */ stw r29, -0xc(r12) -/* 803641DC 0036113C 7C 9D 23 78 */ mr r29, r4 -/* 803641E0 00361140 93 8C FF F0 */ stw r28, -0x10(r12) -/* 803641E4 00361144 7C 7C 1B 78 */ mr r28, r3 -/* 803641E8 00361148 48 01 D4 79 */ bl OSDisableInterrupts -/* 803641EC 0036114C 7C 83 00 D0 */ neg r4, r3 -/* 803641F0 00361150 7C 1E 00 D0 */ neg r0, r30 -/* 803641F4 00361154 7C 84 1B 78 */ or r4, r4, r3 -/* 803641F8 00361158 7F 83 E3 78 */ mr r3, r28 -/* 803641FC 0036115C 54 84 0F FE */ srwi r4, r4, 0x1f -/* 80364200 00361160 7C 00 F3 78 */ or r0, r0, r30 -/* 80364204 00361164 98 81 00 28 */ stb r4, 0x28(r1) -/* 80364208 00361168 54 1E 0F FE */ srwi r30, r0, 0x1f -/* 8036420C 0036116C 38 80 00 7C */ li r4, 0x7c -/* 80364210 00361170 38 A0 00 00 */ li r5, 0 -/* 80364214 00361174 4B EA 7F 41 */ bl sub_8020c154 -/* 80364218 00361178 7C 7F 1B 78 */ mr r31, r3 -/* 8036421C 0036117C 2C 1F FF FF */ cmpwi r31, -1 -/* 80364220 00361180 40 82 00 FC */ bne lbl_8036431C -/* 80364224 00361184 4B FF FF 29 */ bl FindUnclaimedStreamIdx__17CDSPStreamManagerFv -/* 80364228 00361188 7C 7F 1B 78 */ mr r31, r3 -/* 8036422C 0036118C 2C 1F FF FF */ cmpwi r31, -1 -/* 80364230 00361190 40 82 00 14 */ bne lbl_80364244 -/* 80364234 00361194 88 61 00 28 */ lbz r3, 0x28(r1) -/* 80364238 00361198 48 01 D4 51 */ bl OSRestoreInterrupts -/* 8036423C 0036119C 38 60 FF FF */ li r3, -1 -/* 80364240 003611A0 48 00 03 60 */ b lbl_803645A0 -lbl_80364244: -/* 80364244 003611A4 4B FF FD 21 */ bl GetFreeHandleId__17CDSPStreamManagerFv -/* 80364248 003611A8 7C 65 1B 78 */ mr r5, r3 -/* 8036424C 003611AC 7F 84 E3 78 */ mr r4, r28 -/* 80364250 003611B0 7F A6 EB 78 */ mr r6, r29 -/* 80364254 003611B4 7F C7 F3 78 */ mr r7, r30 -/* 80364258 003611B8 38 61 04 20 */ addi r3, r1, 0x420 -/* 8036425C 003611BC 48 00 07 85 */ bl __ct__17CDSPStreamManagerFRCQ24rstl6stringicc -/* 80364260 003611C0 88 01 04 90 */ lbz r0, 0x490(r1) -/* 80364264 003611C4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80364268 003611C8 40 82 00 98 */ bne lbl_80364300 -/* 8036426C 003611CC 1C BF 00 C0 */ mulli r5, r31, 0xc0 -/* 80364270 003611D0 3C 60 80 5A */ lis r3, lbl_805A6860@ha -/* 80364274 003611D4 38 81 04 20 */ addi r4, r1, 0x420 -/* 80364278 003611D8 38 03 68 60 */ addi r0, r3, lbl_805A6860@l -/* 8036427C 003611DC 7F C0 2A 14 */ add r30, r0, r5 -/* 80364280 003611E0 7F C3 F3 78 */ mr r3, r30 -/* 80364284 003611E4 48 00 04 61 */ bl __as__17CDSPStreamManagerFRC17CDSPStreamManager -/* 80364288 003611E8 3C 80 80 36 */ lis r4, HeaderReadComplete__17CDSPStreamManagerFiP11DVDFileInfo@ha -/* 8036428C 003611EC 7F C3 F3 78 */ mr r3, r30 -/* 80364290 003611F0 38 84 37 88 */ addi r4, r4, HeaderReadComplete__17CDSPStreamManagerFiP11DVDFileInfo@l -/* 80364294 003611F4 48 00 05 F1 */ bl StartHeaderRead__17CDSPStreamManagerF11DVDCallback -/* 80364298 003611F8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8036429C 003611FC 40 82 00 44 */ bne lbl_803642E0 -/* 803642A0 00361200 38 61 01 E0 */ addi r3, r1, 0x1e0 -/* 803642A4 00361204 38 80 00 00 */ li r4, 0 -/* 803642A8 00361208 48 00 06 A5 */ bl __ct__17CDSPStreamManagerFv -/* 803642AC 0036120C 7F C3 F3 78 */ mr r3, r30 -/* 803642B0 00361210 38 81 01 E0 */ addi r4, r1, 0x1e0 -/* 803642B4 00361214 48 00 04 31 */ bl __as__17CDSPStreamManagerFRC17CDSPStreamManager -/* 803642B8 00361218 34 61 02 40 */ addic. r3, r1, 0x240 -/* 803642BC 0036121C 41 82 00 08 */ beq lbl_803642C4 -/* 803642C0 00361220 4B FD 98 21 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_803642C4: -/* 803642C4 00361224 34 61 04 80 */ addic. r3, r1, 0x480 -/* 803642C8 00361228 41 82 00 08 */ beq lbl_803642D0 -/* 803642CC 0036122C 4B FD 98 15 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_803642D0: -/* 803642D0 00361230 88 61 00 28 */ lbz r3, 0x28(r1) -/* 803642D4 00361234 48 01 D3 B5 */ bl OSRestoreInterrupts -/* 803642D8 00361238 38 60 FF FF */ li r3, -1 -/* 803642DC 0036123C 48 00 02 C4 */ b lbl_803645A0 -lbl_803642E0: -/* 803642E0 00361240 34 61 04 80 */ addic. r3, r1, 0x480 -/* 803642E4 00361244 83 C1 04 98 */ lwz r30, 0x498(r1) -/* 803642E8 00361248 41 82 00 08 */ beq lbl_803642F0 -/* 803642EC 0036124C 4B FD 97 F5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_803642F0: -/* 803642F0 00361250 88 61 00 28 */ lbz r3, 0x28(r1) -/* 803642F4 00361254 48 01 D3 95 */ bl OSRestoreInterrupts -/* 803642F8 00361258 7F C3 F3 78 */ mr r3, r30 -/* 803642FC 0036125C 48 00 02 A4 */ b lbl_803645A0 -lbl_80364300: -/* 80364300 00361260 34 61 04 80 */ addic. r3, r1, 0x480 -/* 80364304 00361264 41 82 00 08 */ beq lbl_8036430C -/* 80364308 00361268 4B FD 97 D9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8036430C: -/* 8036430C 0036126C 88 61 00 28 */ lbz r3, 0x28(r1) -/* 80364310 00361270 48 01 D3 79 */ bl OSRestoreInterrupts -/* 80364314 00361274 38 60 FF FF */ li r3, -1 -/* 80364318 00361278 48 00 02 88 */ b lbl_803645A0 -lbl_8036431C: -/* 8036431C 0036127C 38 00 00 00 */ li r0, 0 -/* 80364320 00361280 38 61 00 30 */ addi r3, r1, 0x30 -/* 80364324 00361284 90 01 00 30 */ stw r0, 0x30(r1) -/* 80364328 00361288 38 81 00 2C */ addi r4, r1, 0x2c -/* 8036432C 0036128C 90 01 00 2C */ stw r0, 0x2c(r1) -/* 80364330 00361290 4B FF FD 31 */ bl FindUnclaimedStereoPair__17CDSPStreamManagerFRiRi -/* 80364334 00361294 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80364338 00361298 40 82 00 14 */ bne lbl_8036434C -/* 8036433C 0036129C 88 61 00 28 */ lbz r3, 0x28(r1) -/* 80364340 003612A0 48 01 D3 49 */ bl OSRestoreInterrupts -/* 80364344 003612A4 38 60 FF FF */ li r3, -1 -/* 80364348 003612A8 48 00 02 58 */ b lbl_803645A0 -lbl_8036434C: -/* 8036434C 003612AC 80 9C 00 00 */ lwz r4, 0(r28) -/* 80364350 003612B0 7F E5 FB 78 */ mr r5, r31 -/* 80364354 003612B4 38 61 00 44 */ addi r3, r1, 0x44 -/* 80364358 003612B8 38 C1 00 24 */ addi r6, r1, 0x24 -/* 8036435C 003612BC 4B FD 9E 39 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" -/* 80364360 003612C0 80 1C 00 00 */ lwz r0, 0(r28) -/* 80364364 003612C4 38 9F 00 01 */ addi r4, r31, 1 -/* 80364368 003612C8 38 61 00 34 */ addi r3, r1, 0x34 -/* 8036436C 003612CC 38 C1 00 20 */ addi r6, r1, 0x20 -/* 80364370 003612D0 7C 80 22 14 */ add r4, r0, r4 -/* 80364374 003612D4 38 A0 FF FF */ li r5, -1 -/* 80364378 003612D8 4B FD 9E 1D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" -/* 8036437C 003612DC 4B FF FB E9 */ bl GetFreeHandleId__17CDSPStreamManagerFv -/* 80364380 003612E0 7C 65 1B 78 */ mr r5, r3 -/* 80364384 003612E4 7F A6 EB 78 */ mr r6, r29 -/* 80364388 003612E8 7F C7 F3 78 */ mr r7, r30 -/* 8036438C 003612EC 38 61 03 60 */ addi r3, r1, 0x360 -/* 80364390 003612F0 38 81 00 44 */ addi r4, r1, 0x44 -/* 80364394 003612F4 48 00 06 4D */ bl __ct__17CDSPStreamManagerFRCQ24rstl6stringicc -/* 80364398 003612F8 4B FF FB CD */ bl GetFreeHandleId__17CDSPStreamManagerFv -/* 8036439C 003612FC 7C 65 1B 78 */ mr r5, r3 -/* 803643A0 00361300 7F A6 EB 78 */ mr r6, r29 -/* 803643A4 00361304 7F C7 F3 78 */ mr r7, r30 -/* 803643A8 00361308 38 61 02 A0 */ addi r3, r1, 0x2a0 -/* 803643AC 0036130C 38 81 00 34 */ addi r4, r1, 0x34 -/* 803643B0 00361310 48 00 06 31 */ bl __ct__17CDSPStreamManagerFRCQ24rstl6stringicc -/* 803643B4 00361314 88 01 03 D0 */ lbz r0, 0x3d0(r1) -/* 803643B8 00361318 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 803643BC 0036131C 40 82 00 10 */ bne lbl_803643CC -/* 803643C0 00361320 88 01 03 10 */ lbz r0, 0x310(r1) -/* 803643C4 00361324 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 803643C8 00361328 41 82 00 3C */ beq lbl_80364404 -lbl_803643CC: -/* 803643CC 0036132C 34 61 03 00 */ addic. r3, r1, 0x300 -/* 803643D0 00361330 41 82 00 08 */ beq lbl_803643D8 -/* 803643D4 00361334 4B FD 97 0D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_803643D8: -/* 803643D8 00361338 34 61 03 C0 */ addic. r3, r1, 0x3c0 -/* 803643DC 0036133C 41 82 00 08 */ beq lbl_803643E4 -/* 803643E0 00361340 4B FD 97 01 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_803643E4: -/* 803643E4 00361344 38 61 00 34 */ addi r3, r1, 0x34 -/* 803643E8 00361348 4B FD 96 F9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 803643EC 0036134C 38 61 00 44 */ addi r3, r1, 0x44 -/* 803643F0 00361350 4B FD 96 F1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 803643F4 00361354 88 61 00 28 */ lbz r3, 0x28(r1) -/* 803643F8 00361358 48 01 D2 91 */ bl OSRestoreInterrupts -/* 803643FC 0036135C 38 60 FF FF */ li r3, -1 -/* 80364400 00361360 48 00 01 A0 */ b lbl_803645A0 -lbl_80364404: -/* 80364404 00361364 80 A1 00 30 */ lwz r5, 0x30(r1) -/* 80364408 00361368 3C 60 80 5A */ lis r3, lbl_805A6860@ha -/* 8036440C 0036136C 80 81 00 2C */ lwz r4, 0x2c(r1) -/* 80364410 00361370 38 03 68 60 */ addi r0, r3, lbl_805A6860@l -/* 80364414 00361374 1C 65 00 C0 */ mulli r3, r5, 0xc0 -/* 80364418 00361378 98 A1 03 12 */ stb r5, 0x312(r1) -/* 8036441C 0036137C 98 81 03 D1 */ stb r4, 0x3d1(r1) -/* 80364420 00361380 38 81 03 60 */ addi r4, r1, 0x360 -/* 80364424 00361384 7C 60 1A 14 */ add r3, r0, r3 -/* 80364428 00361388 48 00 02 BD */ bl __as__17CDSPStreamManagerFRC17CDSPStreamManager -/* 8036442C 0036138C 80 A1 00 2C */ lwz r5, 0x2c(r1) -/* 80364430 00361390 3C 60 80 5A */ lis r3, lbl_805A6860@ha -/* 80364434 00361394 38 03 68 60 */ addi r0, r3, lbl_805A6860@l -/* 80364438 00361398 38 81 02 A0 */ addi r4, r1, 0x2a0 -/* 8036443C 0036139C 1C 65 00 C0 */ mulli r3, r5, 0xc0 -/* 80364440 003613A0 7C 60 1A 14 */ add r3, r0, r3 -/* 80364444 003613A4 48 00 02 A1 */ bl __as__17CDSPStreamManagerFRC17CDSPStreamManager -/* 80364448 003613A8 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 8036444C 003613AC 3C 80 80 5A */ lis r4, lbl_805A6860@ha -/* 80364450 003613B0 3C 60 80 36 */ lis r3, HeaderReadComplete__17CDSPStreamManagerFiP11DVDFileInfo@ha -/* 80364454 003613B4 1C A0 00 C0 */ mulli r5, r0, 0xc0 -/* 80364458 003613B8 38 04 68 60 */ addi r0, r4, lbl_805A6860@l -/* 8036445C 003613BC 38 83 37 88 */ addi r4, r3, HeaderReadComplete__17CDSPStreamManagerFiP11DVDFileInfo@l -/* 80364460 003613C0 7C 60 2A 14 */ add r3, r0, r5 -/* 80364464 003613C4 48 00 04 21 */ bl StartHeaderRead__17CDSPStreamManagerF11DVDCallback -/* 80364468 003613C8 80 01 00 30 */ lwz r0, 0x30(r1) -/* 8036446C 003613CC 7C 7F 1B 78 */ mr r31, r3 -/* 80364470 003613D0 3C 80 80 36 */ lis r4, HeaderReadComplete__17CDSPStreamManagerFiP11DVDFileInfo@ha -/* 80364474 003613D4 3C A0 80 5A */ lis r5, lbl_805A6860@ha -/* 80364478 003613D8 1C 60 00 C0 */ mulli r3, r0, 0xc0 -/* 8036447C 003613DC 38 05 68 60 */ addi r0, r5, lbl_805A6860@l -/* 80364480 003613E0 38 84 37 88 */ addi r4, r4, HeaderReadComplete__17CDSPStreamManagerFiP11DVDFileInfo@l -/* 80364484 003613E4 7C 60 1A 14 */ add r3, r0, r3 -/* 80364488 003613E8 48 00 03 FD */ bl StartHeaderRead__17CDSPStreamManagerF11DVDCallback -/* 8036448C 003613EC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80364490 003613F0 41 82 00 0C */ beq lbl_8036449C -/* 80364494 003613F4 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 80364498 003613F8 40 82 00 D0 */ bne lbl_80364568 -lbl_8036449C: -/* 8036449C 003613FC 80 81 00 30 */ lwz r4, 0x30(r1) -/* 803644A0 00361400 3C 60 80 5A */ lis r3, lbl_805A6860@ha -/* 803644A4 00361404 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 803644A8 00361408 38 C3 68 60 */ addi r6, r3, lbl_805A6860@l -/* 803644AC 0036140C 1C 64 00 C0 */ mulli r3, r4, 0xc0 -/* 803644B0 00361410 38 80 00 01 */ li r4, 1 -/* 803644B4 00361414 7F C6 1A 14 */ add r30, r6, r3 -/* 803644B8 00361418 1C A0 00 C0 */ mulli r5, r0, 0xc0 -/* 803644BC 0036141C 88 1E 00 70 */ lbz r0, 0x70(r30) -/* 803644C0 00361420 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 -/* 803644C4 00361424 98 1E 00 70 */ stb r0, 0x70(r30) -/* 803644C8 00361428 7F C3 F3 78 */ mr r3, r30 -/* 803644CC 0036142C 7F E6 2A 14 */ add r31, r6, r5 -/* 803644D0 00361430 88 1F 00 70 */ lbz r0, 0x70(r31) -/* 803644D4 00361434 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 -/* 803644D8 00361438 98 1F 00 70 */ stb r0, 0x70(r31) -/* 803644DC 0036143C 48 00 03 3D */ bl WaitForReadCompletion__17CDSPStreamManagerFv -/* 803644E0 00361440 7F E3 FB 78 */ mr r3, r31 -/* 803644E4 00361444 48 00 03 35 */ bl WaitForReadCompletion__17CDSPStreamManagerFv -/* 803644E8 00361448 38 61 01 20 */ addi r3, r1, 0x120 -/* 803644EC 0036144C 38 80 00 00 */ li r4, 0 -/* 803644F0 00361450 48 00 04 5D */ bl __ct__17CDSPStreamManagerFv -/* 803644F4 00361454 7F C3 F3 78 */ mr r3, r30 -/* 803644F8 00361458 38 81 01 20 */ addi r4, r1, 0x120 -/* 803644FC 0036145C 48 00 01 E9 */ bl __as__17CDSPStreamManagerFRC17CDSPStreamManager -/* 80364500 00361460 34 61 01 80 */ addic. r3, r1, 0x180 -/* 80364504 00361464 41 82 00 08 */ beq lbl_8036450C -/* 80364508 00361468 4B FD 95 D9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8036450C: -/* 8036450C 0036146C 38 61 00 60 */ addi r3, r1, 0x60 -/* 80364510 00361470 38 80 00 00 */ li r4, 0 -/* 80364514 00361474 48 00 04 39 */ bl __ct__17CDSPStreamManagerFv -/* 80364518 00361478 7F E3 FB 78 */ mr r3, r31 -/* 8036451C 0036147C 38 81 00 60 */ addi r4, r1, 0x60 -/* 80364520 00361480 48 00 01 C5 */ bl __as__17CDSPStreamManagerFRC17CDSPStreamManager -/* 80364524 00361484 34 61 00 C0 */ addic. r3, r1, 0xc0 -/* 80364528 00361488 41 82 00 08 */ beq lbl_80364530 -/* 8036452C 0036148C 4B FD 95 B5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_80364530: -/* 80364530 00361490 34 61 03 00 */ addic. r3, r1, 0x300 -/* 80364534 00361494 41 82 00 08 */ beq lbl_8036453C -/* 80364538 00361498 4B FD 95 A9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8036453C: -/* 8036453C 0036149C 34 61 03 C0 */ addic. r3, r1, 0x3c0 -/* 80364540 003614A0 41 82 00 08 */ beq lbl_80364548 -/* 80364544 003614A4 4B FD 95 9D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_80364548: -/* 80364548 003614A8 38 61 00 34 */ addi r3, r1, 0x34 -/* 8036454C 003614AC 4B FD 95 95 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80364550 003614B0 38 61 00 44 */ addi r3, r1, 0x44 -/* 80364554 003614B4 4B FD 95 8D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80364558 003614B8 88 61 00 28 */ lbz r3, 0x28(r1) -/* 8036455C 003614BC 48 01 D1 2D */ bl OSRestoreInterrupts -/* 80364560 003614C0 38 60 FF FF */ li r3, -1 -/* 80364564 003614C4 48 00 00 3C */ b lbl_803645A0 -lbl_80364568: -/* 80364568 003614C8 34 61 03 00 */ addic. r3, r1, 0x300 -/* 8036456C 003614CC 83 C1 03 D8 */ lwz r30, 0x3d8(r1) -/* 80364570 003614D0 41 82 00 08 */ beq lbl_80364578 -/* 80364574 003614D4 4B FD 95 6D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_80364578: -/* 80364578 003614D8 34 61 03 C0 */ addic. r3, r1, 0x3c0 -/* 8036457C 003614DC 41 82 00 08 */ beq lbl_80364584 -/* 80364580 003614E0 4B FD 95 61 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_80364584: -/* 80364584 003614E4 38 61 00 34 */ addi r3, r1, 0x34 -/* 80364588 003614E8 4B FD 95 59 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8036458C 003614EC 38 61 00 44 */ addi r3, r1, 0x44 -/* 80364590 003614F0 4B FD 95 51 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80364594 003614F4 88 61 00 28 */ lbz r3, 0x28(r1) -/* 80364598 003614F8 48 01 D0 F1 */ bl OSRestoreInterrupts -/* 8036459C 003614FC 7F C3 F3 78 */ mr r3, r30 -lbl_803645A0: -/* 803645A0 00361500 81 41 00 00 */ lwz r10, 0(r1) -/* 803645A4 00361504 80 0A 00 04 */ lwz r0, 4(r10) -/* 803645A8 00361508 83 EA FF FC */ lwz r31, -4(r10) -/* 803645AC 0036150C 83 CA FF F8 */ lwz r30, -8(r10) -/* 803645B0 00361510 83 AA FF F4 */ lwz r29, -0xc(r10) -/* 803645B4 00361514 83 8A FF F0 */ lwz r28, -0x10(r10) -/* 803645B8 00361518 7C 08 03 A6 */ mtlr r0 -/* 803645BC 0036151C 7D 41 53 78 */ mr r1, r10 -/* 803645C0 00361520 4E 80 00 20 */ blr - -.global Shutdown__17CDSPStreamManagerFv -Shutdown__17CDSPStreamManagerFv: -/* 803645C4 00361524 54 2B 06 FE */ clrlwi r11, r1, 0x1b -/* 803645C8 00361528 7C 2C 0B 78 */ mr r12, r1 -/* 803645CC 0036152C 21 6B FF 00 */ subfic r11, r11, -256 -/* 803645D0 00361530 7C 21 59 6E */ stwux r1, r1, r11 -/* 803645D4 00361534 7C 08 02 A6 */ mflr r0 -/* 803645D8 00361538 90 0C 00 04 */ stw r0, 4(r12) -/* 803645DC 0036153C 93 EC FF FC */ stw r31, -4(r12) -/* 803645E0 00361540 93 CC FF F8 */ stw r30, -8(r12) -/* 803645E4 00361544 93 AC FF F4 */ stw r29, -0xc(r12) -/* 803645E8 00361548 48 00 68 E9 */ bl FreeAllStreams__10SDSPStreamFi -/* 803645EC 0036154C 3C 60 80 5A */ lis r3, lbl_805A6860@ha -/* 803645F0 00361550 3B C1 00 80 */ addi r30, r1, 0x80 -/* 803645F4 00361554 3B E3 68 60 */ addi r31, r3, lbl_805A6860@l -/* 803645F8 00361558 3B A0 00 00 */ li r29, 0 -lbl_803645FC: -/* 803645FC 0036155C 38 61 00 20 */ addi r3, r1, 0x20 -/* 80364600 00361560 38 80 00 00 */ li r4, 0 -/* 80364604 00361564 48 00 03 49 */ bl __ct__17CDSPStreamManagerFv -/* 80364608 00361568 7F E3 FB 78 */ mr r3, r31 -/* 8036460C 0036156C 38 81 00 20 */ addi r4, r1, 0x20 -/* 80364610 00361570 48 00 00 D5 */ bl __as__17CDSPStreamManagerFRC17CDSPStreamManager -/* 80364614 00361574 28 1E 00 00 */ cmplwi r30, 0 -/* 80364618 00361578 41 82 00 0C */ beq lbl_80364624 -/* 8036461C 0036157C 7F C3 F3 78 */ mr r3, r30 -/* 80364620 00361580 4B FD 94 C1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_80364624: -/* 80364624 00361584 3B BD 00 01 */ addi r29, r29, 1 -/* 80364628 00361588 3B FF 00 C0 */ addi r31, r31, 0xc0 -/* 8036462C 0036158C 2C 1D 00 04 */ cmpwi r29, 4 -/* 80364630 00361590 41 80 FF CC */ blt lbl_803645FC -/* 80364634 00361594 81 41 00 00 */ lwz r10, 0(r1) -/* 80364638 00361598 80 0A 00 04 */ lwz r0, 4(r10) -/* 8036463C 0036159C 83 EA FF FC */ lwz r31, -4(r10) -/* 80364640 003615A0 83 CA FF F8 */ lwz r30, -8(r10) -/* 80364644 003615A4 83 AA FF F4 */ lwz r29, -0xc(r10) -/* 80364648 003615A8 7C 08 03 A6 */ mtlr r0 -/* 8036464C 003615AC 7D 41 53 78 */ mr r1, r10 -/* 80364650 003615B0 4E 80 00 20 */ blr - -.global Initialize__17CDSPStreamManagerFv -Initialize__17CDSPStreamManagerFv: -/* 80364654 003615B4 54 2B 06 FE */ clrlwi r11, r1, 0x1b -/* 80364658 003615B8 7C 2C 0B 78 */ mr r12, r1 -/* 8036465C 003615BC 21 6B FF 00 */ subfic r11, r11, -256 -/* 80364660 003615C0 7C 21 59 6E */ stwux r1, r1, r11 -/* 80364664 003615C4 7C 08 02 A6 */ mflr r0 -/* 80364668 003615C8 90 0C 00 04 */ stw r0, 4(r12) -/* 8036466C 003615CC 93 EC FF FC */ stw r31, -4(r12) -/* 80364670 003615D0 93 CC FF F8 */ stw r30, -8(r12) -/* 80364674 003615D4 93 AC FF F4 */ stw r29, -0xc(r12) -/* 80364678 003615D8 48 00 68 B1 */ bl Initialize__10SDSPStreamFv -/* 8036467C 003615DC 3C 60 80 5A */ lis r3, lbl_805A6860@ha -/* 80364680 003615E0 3B C1 00 80 */ addi r30, r1, 0x80 -/* 80364684 003615E4 3B E3 68 60 */ addi r31, r3, lbl_805A6860@l -/* 80364688 003615E8 3B A0 00 00 */ li r29, 0 -lbl_8036468C: -/* 8036468C 003615EC 38 61 00 20 */ addi r3, r1, 0x20 -/* 80364690 003615F0 38 80 00 00 */ li r4, 0 -/* 80364694 003615F4 48 00 02 B9 */ bl __ct__17CDSPStreamManagerFv -/* 80364698 003615F8 7F E3 FB 78 */ mr r3, r31 -/* 8036469C 003615FC 38 81 00 20 */ addi r4, r1, 0x20 -/* 803646A0 00361600 48 00 00 45 */ bl __as__17CDSPStreamManagerFRC17CDSPStreamManager -/* 803646A4 00361604 28 1E 00 00 */ cmplwi r30, 0 -/* 803646A8 00361608 41 82 00 0C */ beq lbl_803646B4 -/* 803646AC 0036160C 7F C3 F3 78 */ mr r3, r30 -/* 803646B0 00361610 4B FD 94 31 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_803646B4: -/* 803646B4 00361614 3B BD 00 01 */ addi r29, r29, 1 -/* 803646B8 00361618 3B FF 00 C0 */ addi r31, r31, 0xc0 -/* 803646BC 0036161C 2C 1D 00 04 */ cmpwi r29, 4 -/* 803646C0 00361620 41 80 FF CC */ blt lbl_8036468C -/* 803646C4 00361624 81 41 00 00 */ lwz r10, 0(r1) -/* 803646C8 00361628 80 0A 00 04 */ lwz r0, 4(r10) -/* 803646CC 0036162C 83 EA FF FC */ lwz r31, -4(r10) -/* 803646D0 00361630 83 CA FF F8 */ lwz r30, -8(r10) -/* 803646D4 00361634 83 AA FF F4 */ lwz r29, -0xc(r10) -/* 803646D8 00361638 7C 08 03 A6 */ mtlr r0 -/* 803646DC 0036163C 7D 41 53 78 */ mr r1, r10 -/* 803646E0 00361640 4E 80 00 20 */ blr - -.global __as__17CDSPStreamManagerFRC17CDSPStreamManager -__as__17CDSPStreamManagerFRC17CDSPStreamManager: -/* 803646E4 00361644 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803646E8 00361648 7C 08 02 A6 */ mflr r0 -/* 803646EC 0036164C 90 01 00 14 */ stw r0, 0x14(r1) -/* 803646F0 00361650 93 E1 00 0C */ stw r31, 0xc(r1) -/* 803646F4 00361654 7C 9F 23 78 */ mr r31, r4 -/* 803646F8 00361658 93 C1 00 08 */ stw r30, 8(r1) -/* 803646FC 0036165C 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80364700 00361660 41 82 00 14 */ beq lbl_80364714 -/* 80364704 00361664 34 1E 00 60 */ addic. r0, r30, 0x60 -/* 80364708 00361668 41 82 00 0C */ beq lbl_80364714 -/* 8036470C 0036166C 38 7E 00 60 */ addi r3, r30, 0x60 -/* 80364710 00361670 4B FD 93 D1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_80364714: -/* 80364714 00361674 28 1E 00 00 */ cmplwi r30, 0 -/* 80364718 00361678 41 82 00 E4 */ beq lbl_803647FC -/* 8036471C 0036167C 38 00 00 0C */ li r0, 0xc -/* 80364720 00361680 38 BE FF FC */ addi r5, r30, -4 -/* 80364724 00361684 38 9F FF FC */ addi r4, r31, -4 -/* 80364728 00361688 7C 09 03 A6 */ mtctr r0 -lbl_8036472C: -/* 8036472C 0036168C 80 64 00 04 */ lwz r3, 4(r4) -/* 80364730 00361690 84 04 00 08 */ lwzu r0, 8(r4) -/* 80364734 00361694 90 65 00 04 */ stw r3, 4(r5) -/* 80364738 00361698 94 05 00 08 */ stwu r0, 8(r5) -/* 8036473C 0036169C 42 00 FF F0 */ bdnz lbl_8036472C -/* 80364740 003616A0 38 7E 00 60 */ addi r3, r30, 0x60 -/* 80364744 003616A4 38 9F 00 60 */ addi r4, r31, 0x60 -/* 80364748 003616A8 4B FD 9A 19 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8036474C 003616AC 88 1F 00 70 */ lbz r0, 0x70(r31) -/* 80364750 003616B0 98 1E 00 70 */ stb r0, 0x70(r30) -/* 80364754 003616B4 88 1F 00 71 */ lbz r0, 0x71(r31) -/* 80364758 003616B8 98 1E 00 71 */ stb r0, 0x71(r30) -/* 8036475C 003616BC 88 1F 00 72 */ lbz r0, 0x72(r31) -/* 80364760 003616C0 98 1E 00 72 */ stb r0, 0x72(r30) -/* 80364764 003616C4 88 1F 00 73 */ lbz r0, 0x73(r31) -/* 80364768 003616C8 98 1E 00 73 */ stb r0, 0x73(r30) -/* 8036476C 003616CC 88 1F 00 74 */ lbz r0, 0x74(r31) -/* 80364770 003616D0 98 1E 00 74 */ stb r0, 0x74(r30) -/* 80364774 003616D4 80 1F 00 78 */ lwz r0, 0x78(r31) -/* 80364778 003616D8 90 1E 00 78 */ stw r0, 0x78(r30) -/* 8036477C 003616DC 80 1F 00 7C */ lwz r0, 0x7c(r31) -/* 80364780 003616E0 90 1E 00 7C */ stw r0, 0x7c(r30) -/* 80364784 003616E4 80 7F 00 80 */ lwz r3, 0x80(r31) -/* 80364788 003616E8 80 1F 00 84 */ lwz r0, 0x84(r31) -/* 8036478C 003616EC 90 7E 00 80 */ stw r3, 0x80(r30) -/* 80364790 003616F0 90 1E 00 84 */ stw r0, 0x84(r30) -/* 80364794 003616F4 80 7F 00 88 */ lwz r3, 0x88(r31) -/* 80364798 003616F8 80 1F 00 8C */ lwz r0, 0x8c(r31) -/* 8036479C 003616FC 90 7E 00 88 */ stw r3, 0x88(r30) -/* 803647A0 00361700 90 1E 00 8C */ stw r0, 0x8c(r30) -/* 803647A4 00361704 80 7F 00 90 */ lwz r3, 0x90(r31) -/* 803647A8 00361708 80 1F 00 94 */ lwz r0, 0x94(r31) -/* 803647AC 0036170C 90 7E 00 90 */ stw r3, 0x90(r30) -/* 803647B0 00361710 90 1E 00 94 */ stw r0, 0x94(r30) -/* 803647B4 00361714 80 7F 00 98 */ lwz r3, 0x98(r31) -/* 803647B8 00361718 80 1F 00 9C */ lwz r0, 0x9c(r31) -/* 803647BC 0036171C 90 7E 00 98 */ stw r3, 0x98(r30) -/* 803647C0 00361720 90 1E 00 9C */ stw r0, 0x9c(r30) -/* 803647C4 00361724 80 7F 00 A0 */ lwz r3, 0xa0(r31) -/* 803647C8 00361728 80 1F 00 A4 */ lwz r0, 0xa4(r31) -/* 803647CC 0036172C 90 7E 00 A0 */ stw r3, 0xa0(r30) -/* 803647D0 00361730 90 1E 00 A4 */ stw r0, 0xa4(r30) -/* 803647D4 00361734 80 7F 00 A8 */ lwz r3, 0xa8(r31) -/* 803647D8 00361738 80 1F 00 AC */ lwz r0, 0xac(r31) -/* 803647DC 0036173C 90 7E 00 A8 */ stw r3, 0xa8(r30) -/* 803647E0 00361740 90 1E 00 AC */ stw r0, 0xac(r30) -/* 803647E4 00361744 80 7F 00 B0 */ lwz r3, 0xb0(r31) -/* 803647E8 00361748 80 1F 00 B4 */ lwz r0, 0xb4(r31) -/* 803647EC 0036174C 90 7E 00 B0 */ stw r3, 0xb0(r30) -/* 803647F0 00361750 90 1E 00 B4 */ stw r0, 0xb4(r30) -/* 803647F4 00361754 80 1F 00 B8 */ lwz r0, 0xb8(r31) -/* 803647F8 00361758 90 1E 00 B8 */ stw r0, 0xb8(r30) -lbl_803647FC: -/* 803647FC 0036175C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80364800 00361760 7F C3 F3 78 */ mr r3, r30 -/* 80364804 00361764 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80364808 00361768 83 C1 00 08 */ lwz r30, 8(r1) -/* 8036480C 0036176C 7C 08 03 A6 */ mtlr r0 -/* 80364810 00361770 38 21 00 10 */ addi r1, r1, 0x10 -/* 80364814 00361774 4E 80 00 20 */ blr - -.global WaitForReadCompletion__17CDSPStreamManagerFv -WaitForReadCompletion__17CDSPStreamManagerFv: -/* 80364818 00361778 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8036481C 0036177C 7C 08 02 A6 */ mflr r0 -/* 80364820 00361780 90 01 00 14 */ stw r0, 0x14(r1) -/* 80364824 00361784 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80364828 00361788 93 C1 00 08 */ stw r30, 8(r1) -/* 8036482C 0036178C 7C 7E 1B 78 */ mr r30, r3 -/* 80364830 00361790 48 01 CE 45 */ bl OSEnableInterrupts -/* 80364834 00361794 7C 7F 1B 78 */ mr r31, r3 -/* 80364838 00361798 48 00 00 08 */ b lbl_80364840 -lbl_8036483C: -/* 8036483C 0036179C 48 02 02 E1 */ bl OSYieldThread -lbl_80364840: -/* 80364840 003617A0 88 1E 00 70 */ lbz r0, 0x70(r30) -/* 80364844 003617A4 54 00 E7 BE */ rlwinm r0, r0, 0x1c, 0x1e, 0x1f -/* 80364848 003617A8 28 00 00 01 */ cmplwi r0, 1 -/* 8036484C 003617AC 41 82 FF F0 */ beq lbl_8036483C -/* 80364850 003617B0 7F E3 FB 78 */ mr r3, r31 -/* 80364854 003617B4 48 01 CE 35 */ bl OSRestoreInterrupts -/* 80364858 003617B8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8036485C 003617BC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80364860 003617C0 83 C1 00 08 */ lwz r30, 8(r1) -/* 80364864 003617C4 7C 08 03 A6 */ mtlr r0 -/* 80364868 003617C8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8036486C 003617CC 4E 80 00 20 */ blr - -.global sub_80364870 -sub_80364870: -/* 80364870 003617D0 80 03 00 08 */ lwz r0, 8(r3) -/* 80364874 003617D4 20 00 7D 00 */ subfic r0, r0, 0x7d00 -/* 80364878 003617D8 7C 00 00 34 */ cntlzw r0, r0 -/* 8036487C 003617DC 54 03 D9 7E */ srwi r3, r0, 5 -/* 80364880 003617E0 4E 80 00 20 */ blr - -.global StartHeaderRead__17CDSPStreamManagerF11DVDCallback -StartHeaderRead__17CDSPStreamManagerF11DVDCallback: -/* 80364884 003617E4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80364888 003617E8 7C 08 02 A6 */ mflr r0 -/* 8036488C 003617EC 90 01 00 24 */ stw r0, 0x24(r1) -/* 80364890 003617F0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80364894 003617F4 7C 9F 23 78 */ mr r31, r4 -/* 80364898 003617F8 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8036489C 003617FC 7C 7E 1B 78 */ mr r30, r3 -/* 803648A0 00361800 48 01 CD C1 */ bl OSDisableInterrupts -/* 803648A4 00361804 7C 03 00 D0 */ neg r0, r3 -/* 803648A8 00361808 88 9E 00 70 */ lbz r4, 0x70(r30) -/* 803648AC 0036180C 7C 03 1B 78 */ or r3, r0, r3 -/* 803648B0 00361810 54 63 0F FE */ srwi r3, r3, 0x1f -/* 803648B4 00361814 54 80 E7 BF */ rlwinm. r0, r4, 0x1c, 0x1e, 0x1f -/* 803648B8 00361818 98 61 00 08 */ stb r3, 8(r1) -/* 803648BC 0036181C 40 82 00 0C */ bne lbl_803648C8 -/* 803648C0 00361820 54 80 CF FF */ rlwinm. r0, r4, 0x19, 0x1f, 0x1f -/* 803648C4 00361824 41 82 00 14 */ beq lbl_803648D8 -lbl_803648C8: -/* 803648C8 00361828 88 61 00 08 */ lbz r3, 8(r1) -/* 803648CC 0036182C 48 01 CD BD */ bl OSRestoreInterrupts -/* 803648D0 00361830 38 60 00 00 */ li r3, 0 -/* 803648D4 00361834 48 00 00 60 */ b lbl_80364934 -lbl_803648D8: -/* 803648D8 00361838 80 7E 00 60 */ lwz r3, 0x60(r30) -/* 803648DC 0036183C 38 9E 00 80 */ addi r4, r30, 0x80 -/* 803648E0 00361840 48 00 CD A5 */ bl DVDOpen -/* 803648E4 00361844 2C 03 00 00 */ cmpwi r3, 0 -/* 803648E8 00361848 40 82 00 14 */ bne lbl_803648FC -/* 803648EC 0036184C 88 61 00 08 */ lbz r3, 8(r1) -/* 803648F0 00361850 48 01 CD 99 */ bl OSRestoreInterrupts -/* 803648F4 00361854 38 60 00 00 */ li r3, 0 -/* 803648F8 00361858 48 00 00 3C */ b lbl_80364934 -lbl_803648FC: -/* 803648FC 0036185C 7F C4 F3 78 */ mr r4, r30 -/* 80364900 00361860 7F E7 FB 78 */ mr r7, r31 -/* 80364904 00361864 38 7E 00 80 */ addi r3, r30, 0x80 -/* 80364908 00361868 38 A0 00 60 */ li r5, 0x60 -/* 8036490C 0036186C 38 C0 00 00 */ li r6, 0 -/* 80364910 00361870 39 00 00 01 */ li r8, 1 -/* 80364914 00361874 48 00 D0 81 */ bl DVDReadAsyncPrio -/* 80364918 00361878 88 1E 00 70 */ lbz r0, 0x70(r30) -/* 8036491C 0036187C 38 60 00 01 */ li r3, 1 -/* 80364920 00361880 50 60 26 B6 */ rlwimi r0, r3, 4, 0x1a, 0x1b -/* 80364924 00361884 88 61 00 08 */ lbz r3, 8(r1) -/* 80364928 00361888 98 1E 00 70 */ stb r0, 0x70(r30) -/* 8036492C 0036188C 48 01 CD 5D */ bl OSRestoreInterrupts -/* 80364930 00361890 38 60 00 01 */ li r3, 1 -lbl_80364934: -/* 80364934 00361894 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80364938 00361898 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8036493C 0036189C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80364940 003618A0 7C 08 03 A6 */ mtlr r0 -/* 80364944 003618A4 38 21 00 20 */ addi r1, r1, 0x20 -/* 80364948 003618A8 4E 80 00 20 */ blr - -.global __ct__17CDSPStreamManagerFv -__ct__17CDSPStreamManagerFv: -/* 8036494C 003618AC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80364950 003618B0 7C 08 02 A6 */ mflr r0 -/* 80364954 003618B4 3C 80 80 3E */ lis r4, lbl_803D8400@ha -/* 80364958 003618B8 90 01 00 24 */ stw r0, 0x24(r1) -/* 8036495C 003618BC 38 84 84 00 */ addi r4, r4, lbl_803D8400@l -/* 80364960 003618C0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80364964 003618C4 7C 7F 1B 78 */ mr r31, r3 -/* 80364968 003618C8 38 61 00 08 */ addi r3, r1, 8 -/* 8036496C 003618CC 4B CA 03 4D */ bl string_l__4rstlFPCc -/* 80364970 003618D0 38 7F 00 60 */ addi r3, r31, 0x60 -/* 80364974 003618D4 38 81 00 08 */ addi r4, r1, 8 -/* 80364978 003618D8 4B FD 97 E9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8036497C 003618DC 38 61 00 08 */ addi r3, r1, 8 -/* 80364980 003618E0 4B FD 91 61 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80364984 003618E4 88 1F 00 70 */ lbz r0, 0x70(r31) -/* 80364988 003618E8 38 60 00 01 */ li r3, 1 -/* 8036498C 003618EC 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 80364990 003618F0 38 A0 00 00 */ li r5, 0 -/* 80364994 003618F4 98 1F 00 70 */ stb r0, 0x70(r31) -/* 80364998 003618F8 38 00 FF FF */ li r0, -1 -/* 8036499C 003618FC 7F E3 FB 78 */ mr r3, r31 -/* 803649A0 00361900 88 9F 00 70 */ lbz r4, 0x70(r31) -/* 803649A4 00361904 50 A4 36 72 */ rlwimi r4, r5, 6, 0x19, 0x19 -/* 803649A8 00361908 98 9F 00 70 */ stb r4, 0x70(r31) -/* 803649AC 0036190C 88 9F 00 70 */ lbz r4, 0x70(r31) -/* 803649B0 00361910 50 A4 26 B6 */ rlwimi r4, r5, 4, 0x1a, 0x1b -/* 803649B4 00361914 98 9F 00 70 */ stb r4, 0x70(r31) -/* 803649B8 00361918 98 1F 00 71 */ stb r0, 0x71(r31) -/* 803649BC 0036191C 98 1F 00 72 */ stb r0, 0x72(r31) -/* 803649C0 00361920 98 BF 00 73 */ stb r5, 0x73(r31) -/* 803649C4 00361924 90 1F 00 78 */ stw r0, 0x78(r31) -/* 803649C8 00361928 90 1F 00 7C */ stw r0, 0x7c(r31) -/* 803649CC 0036192C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 803649D0 00361930 80 01 00 24 */ lwz r0, 0x24(r1) -/* 803649D4 00361934 7C 08 03 A6 */ mtlr r0 -/* 803649D8 00361938 38 21 00 20 */ addi r1, r1, 0x20 -/* 803649DC 0036193C 4E 80 00 20 */ blr - -.global __ct__17CDSPStreamManagerFRCQ24rstl6stringicc -__ct__17CDSPStreamManagerFRCQ24rstl6stringicc: -/* 803649E0 00361940 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 803649E4 00361944 7C 08 02 A6 */ mflr r0 -/* 803649E8 00361948 90 01 00 24 */ stw r0, 0x24(r1) -/* 803649EC 0036194C BF 61 00 0C */ stmw r27, 0xc(r1) -/* 803649F0 00361950 7C 7B 1B 78 */ mr r27, r3 -/* 803649F4 00361954 7C 9C 23 78 */ mr r28, r4 -/* 803649F8 00361958 7C BD 2B 78 */ mr r29, r5 -/* 803649FC 0036195C 7C DE 33 78 */ mr r30, r6 -/* 80364A00 00361960 7C FF 3B 78 */ mr r31, r7 -/* 80364A04 00361964 38 7B 00 60 */ addi r3, r27, 0x60 -/* 80364A08 00361968 4B FD 97 59 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80364A0C 0036196C 88 7B 00 70 */ lbz r3, 0x70(r27) -/* 80364A10 00361970 38 80 00 00 */ li r4, 0 -/* 80364A14 00361974 50 83 3E 30 */ rlwimi r3, r4, 7, 0x18, 0x18 -/* 80364A18 00361978 38 00 FF FF */ li r0, -1 -/* 80364A1C 0036197C 98 7B 00 70 */ stb r3, 0x70(r27) -/* 80364A20 00361980 88 7B 00 70 */ lbz r3, 0x70(r27) -/* 80364A24 00361984 50 83 36 72 */ rlwimi r3, r4, 6, 0x19, 0x19 -/* 80364A28 00361988 98 7B 00 70 */ stb r3, 0x70(r27) -/* 80364A2C 0036198C 88 7B 00 70 */ lbz r3, 0x70(r27) -/* 80364A30 00361990 50 83 26 B6 */ rlwimi r3, r4, 4, 0x1a, 0x1b -/* 80364A34 00361994 98 7B 00 70 */ stb r3, 0x70(r27) -/* 80364A38 00361998 98 1B 00 71 */ stb r0, 0x71(r27) -/* 80364A3C 0036199C 98 1B 00 72 */ stb r0, 0x72(r27) -/* 80364A40 003619A0 9B DB 00 73 */ stb r30, 0x73(r27) -/* 80364A44 003619A4 9B FB 00 74 */ stb r31, 0x74(r27) -/* 80364A48 003619A8 93 BB 00 78 */ stw r29, 0x78(r27) -/* 80364A4C 003619AC 90 1B 00 7C */ stw r0, 0x7c(r27) -/* 80364A50 003619B0 80 7C 00 00 */ lwz r3, 0(r28) -/* 80364A54 003619B4 4B FE AE F9 */ bl FileExists__8CDvdFileFPCc -/* 80364A58 003619B8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80364A5C 003619BC 40 82 00 1C */ bne lbl_80364A78 -/* 80364A60 003619C0 88 1B 00 70 */ lbz r0, 0x70(r27) -/* 80364A64 003619C4 38 60 00 01 */ li r3, 1 -/* 80364A68 003619C8 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 80364A6C 003619CC 7F 63 DB 78 */ mr r3, r27 -/* 80364A70 003619D0 98 1B 00 70 */ stb r0, 0x70(r27) -/* 80364A74 003619D4 48 00 00 08 */ b lbl_80364A7C -lbl_80364A78: -/* 80364A78 003619D8 7F 63 DB 78 */ mr r3, r27 -lbl_80364A7C: -/* 80364A7C 003619DC BB 61 00 0C */ lmw r27, 0xc(r1) -/* 80364A80 003619E0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80364A84 003619E4 7C 08 03 A6 */ mtlr r0 -/* 80364A88 003619E8 38 21 00 20 */ addi r1, r1, 0x20 -/* 80364A8C 003619EC 4E 80 00 20 */ blr - -.global __sinit_CDSPStreamManager_cpp -__sinit_CDSPStreamManager_cpp: -/* 80364A90 003619F0 54 2B 06 FE */ clrlwi r11, r1, 0x1b -/* 80364A94 003619F4 7C 2C 0B 78 */ mr r12, r1 -/* 80364A98 003619F8 21 6B FC 80 */ subfic r11, r11, -896 -/* 80364A9C 003619FC 7C 21 59 6E */ stwux r1, r1, r11 -/* 80364AA0 00361A00 7C 08 02 A6 */ mflr r0 -/* 80364AA4 00361A04 3C 80 80 54 */ lis r4, lbl_80540520@ha -/* 80364AA8 00361A08 90 0C 00 04 */ stw r0, 4(r12) -/* 80364AAC 00361A0C 38 61 02 60 */ addi r3, r1, 0x260 -/* 80364AB0 00361A10 BD EC FF BC */ stmw r15, -0x44(r12) -/* 80364AB4 00361A14 3B E4 05 20 */ addi r31, r4, lbl_80540520@l -/* 80364AB8 00361A18 38 80 00 00 */ li r4, 0 -/* 80364ABC 00361A1C 4B FF FE 91 */ bl __ct__17CDSPStreamManagerFv -/* 80364AC0 00361A20 3C 60 80 5A */ lis r3, lbl_805A6860@ha -/* 80364AC4 00361A24 38 00 00 0C */ li r0, 0xc -/* 80364AC8 00361A28 38 63 68 60 */ addi r3, r3, lbl_805A6860@l -/* 80364ACC 00361A2C 38 81 02 5C */ addi r4, r1, 0x25c -/* 80364AD0 00361A30 38 A3 FF FC */ addi r5, r3, -4 -/* 80364AD4 00361A34 7C 09 03 A6 */ mtctr r0 -lbl_80364AD8: -/* 80364AD8 00361A38 80 64 00 04 */ lwz r3, 4(r4) -/* 80364ADC 00361A3C 84 04 00 08 */ lwzu r0, 8(r4) -/* 80364AE0 00361A40 90 65 00 04 */ stw r3, 4(r5) -/* 80364AE4 00361A44 94 05 00 08 */ stwu r0, 8(r5) -/* 80364AE8 00361A48 42 00 FF F0 */ bdnz lbl_80364AD8 -/* 80364AEC 00361A4C 3C 60 80 5A */ lis r3, lbl_805A6860@ha -/* 80364AF0 00361A50 3B C1 02 C0 */ addi r30, r1, 0x2c0 -/* 80364AF4 00361A54 38 63 68 60 */ addi r3, r3, lbl_805A6860@l -/* 80364AF8 00361A58 7F C4 F3 78 */ mr r4, r30 -/* 80364AFC 00361A5C 38 63 00 60 */ addi r3, r3, 0x60 -/* 80364B00 00361A60 4B FD 96 61 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80364B04 00361A64 3C 60 80 5A */ lis r3, lbl_805A6860@ha -/* 80364B08 00361A68 89 41 02 D0 */ lbz r10, 0x2d0(r1) -/* 80364B0C 00361A6C 38 63 68 60 */ addi r3, r3, lbl_805A6860@l -/* 80364B10 00361A70 89 21 02 D1 */ lbz r9, 0x2d1(r1) -/* 80364B14 00361A74 89 01 02 D2 */ lbz r8, 0x2d2(r1) -/* 80364B18 00361A78 3C 80 80 36 */ lis r4, sub_8036372c@ha -/* 80364B1C 00361A7C 88 E1 02 D3 */ lbz r7, 0x2d3(r1) -/* 80364B20 00361A80 38 84 37 2C */ addi r4, r4, sub_8036372c@l -/* 80364B24 00361A84 88 C1 02 D4 */ lbz r6, 0x2d4(r1) -/* 80364B28 00361A88 38 BF 00 00 */ addi r5, r31, 0 -/* 80364B2C 00361A8C 80 01 02 D8 */ lwz r0, 0x2d8(r1) -/* 80364B30 00361A90 83 81 02 DC */ lwz r28, 0x2dc(r1) -/* 80364B34 00361A94 83 61 02 E0 */ lwz r27, 0x2e0(r1) -/* 80364B38 00361A98 83 41 02 E4 */ lwz r26, 0x2e4(r1) -/* 80364B3C 00361A9C 83 21 02 E8 */ lwz r25, 0x2e8(r1) -/* 80364B40 00361AA0 83 01 02 EC */ lwz r24, 0x2ec(r1) -/* 80364B44 00361AA4 82 E1 02 F0 */ lwz r23, 0x2f0(r1) -/* 80364B48 00361AA8 82 C1 02 F4 */ lwz r22, 0x2f4(r1) -/* 80364B4C 00361AAC 82 A1 02 F8 */ lwz r21, 0x2f8(r1) -/* 80364B50 00361AB0 82 81 02 FC */ lwz r20, 0x2fc(r1) -/* 80364B54 00361AB4 82 61 03 00 */ lwz r19, 0x300(r1) -/* 80364B58 00361AB8 82 41 03 04 */ lwz r18, 0x304(r1) -/* 80364B5C 00361ABC 82 21 03 08 */ lwz r17, 0x308(r1) -/* 80364B60 00361AC0 82 01 03 0C */ lwz r16, 0x30c(r1) -/* 80364B64 00361AC4 81 E1 03 10 */ lwz r15, 0x310(r1) -/* 80364B68 00361AC8 81 81 03 14 */ lwz r12, 0x314(r1) -/* 80364B6C 00361ACC 81 61 03 18 */ lwz r11, 0x318(r1) -/* 80364B70 00361AD0 99 43 00 70 */ stb r10, 0x70(r3) -/* 80364B74 00361AD4 99 23 00 71 */ stb r9, 0x71(r3) -/* 80364B78 00361AD8 99 03 00 72 */ stb r8, 0x72(r3) -/* 80364B7C 00361ADC 98 E3 00 73 */ stb r7, 0x73(r3) -/* 80364B80 00361AE0 98 C3 00 74 */ stb r6, 0x74(r3) -/* 80364B84 00361AE4 90 03 00 78 */ stw r0, 0x78(r3) -/* 80364B88 00361AE8 93 83 00 7C */ stw r28, 0x7c(r3) -/* 80364B8C 00361AEC 93 63 00 80 */ stw r27, 0x80(r3) -/* 80364B90 00361AF0 93 43 00 84 */ stw r26, 0x84(r3) -/* 80364B94 00361AF4 93 23 00 88 */ stw r25, 0x88(r3) -/* 80364B98 00361AF8 93 03 00 8C */ stw r24, 0x8c(r3) -/* 80364B9C 00361AFC 92 E3 00 90 */ stw r23, 0x90(r3) -/* 80364BA0 00361B00 92 C3 00 94 */ stw r22, 0x94(r3) -/* 80364BA4 00361B04 92 A3 00 98 */ stw r21, 0x98(r3) -/* 80364BA8 00361B08 92 83 00 9C */ stw r20, 0x9c(r3) -/* 80364BAC 00361B0C 92 63 00 A0 */ stw r19, 0xa0(r3) -/* 80364BB0 00361B10 92 43 00 A4 */ stw r18, 0xa4(r3) -/* 80364BB4 00361B14 92 23 00 A8 */ stw r17, 0xa8(r3) -/* 80364BB8 00361B18 92 03 00 AC */ stw r16, 0xac(r3) -/* 80364BBC 00361B1C 91 E3 00 B0 */ stw r15, 0xb0(r3) -/* 80364BC0 00361B20 91 83 00 B4 */ stw r12, 0xb4(r3) -/* 80364BC4 00361B24 91 63 00 B8 */ stw r11, 0xb8(r3) -/* 80364BC8 00361B28 48 02 4A C5 */ bl __register_global_object -/* 80364BCC 00361B2C 28 1E 00 00 */ cmplwi r30, 0 -/* 80364BD0 00361B30 41 82 00 0C */ beq lbl_80364BDC -/* 80364BD4 00361B34 7F C3 F3 78 */ mr r3, r30 -/* 80364BD8 00361B38 4B FD 8F 09 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_80364BDC: -/* 80364BDC 00361B3C 38 61 01 A0 */ addi r3, r1, 0x1a0 -/* 80364BE0 00361B40 38 80 00 00 */ li r4, 0 -/* 80364BE4 00361B44 4B FF FD 69 */ bl __ct__17CDSPStreamManagerFv -/* 80364BE8 00361B48 3C 60 80 5A */ lis r3, lbl_805A6860@ha -/* 80364BEC 00361B4C 38 00 00 0C */ li r0, 0xc -/* 80364BF0 00361B50 38 63 68 60 */ addi r3, r3, lbl_805A6860@l -/* 80364BF4 00361B54 38 81 01 9C */ addi r4, r1, 0x19c -/* 80364BF8 00361B58 3B A3 00 C0 */ addi r29, r3, 0xc0 -/* 80364BFC 00361B5C 38 BD FF FC */ addi r5, r29, -4 -/* 80364C00 00361B60 7C 09 03 A6 */ mtctr r0 -lbl_80364C04: -/* 80364C04 00361B64 80 64 00 04 */ lwz r3, 4(r4) -/* 80364C08 00361B68 84 04 00 08 */ lwzu r0, 8(r4) -/* 80364C0C 00361B6C 90 65 00 04 */ stw r3, 4(r5) -/* 80364C10 00361B70 94 05 00 08 */ stwu r0, 8(r5) -/* 80364C14 00361B74 42 00 FF F0 */ bdnz lbl_80364C04 -/* 80364C18 00361B78 3B C1 02 00 */ addi r30, r1, 0x200 -/* 80364C1C 00361B7C 38 7D 00 60 */ addi r3, r29, 0x60 -/* 80364C20 00361B80 7F C4 F3 78 */ mr r4, r30 -/* 80364C24 00361B84 4B FD 95 3D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80364C28 00361B88 89 01 02 10 */ lbz r8, 0x210(r1) -/* 80364C2C 00361B8C 3C 60 80 36 */ lis r3, sub_8036372c@ha -/* 80364C30 00361B90 88 E1 02 11 */ lbz r7, 0x211(r1) -/* 80364C34 00361B94 38 83 37 2C */ addi r4, r3, sub_8036372c@l -/* 80364C38 00361B98 88 C1 02 12 */ lbz r6, 0x212(r1) -/* 80364C3C 00361B9C 7F A3 EB 78 */ mr r3, r29 -/* 80364C40 00361BA0 88 01 02 13 */ lbz r0, 0x213(r1) -/* 80364C44 00361BA4 38 BF 00 0C */ addi r5, r31, 0xc -/* 80364C48 00361BA8 8B 81 02 14 */ lbz r28, 0x214(r1) -/* 80364C4C 00361BAC 83 61 02 18 */ lwz r27, 0x218(r1) -/* 80364C50 00361BB0 83 41 02 1C */ lwz r26, 0x21c(r1) -/* 80364C54 00361BB4 83 21 02 20 */ lwz r25, 0x220(r1) -/* 80364C58 00361BB8 83 01 02 24 */ lwz r24, 0x224(r1) -/* 80364C5C 00361BBC 82 E1 02 28 */ lwz r23, 0x228(r1) -/* 80364C60 00361BC0 82 C1 02 2C */ lwz r22, 0x22c(r1) -/* 80364C64 00361BC4 82 A1 02 30 */ lwz r21, 0x230(r1) -/* 80364C68 00361BC8 82 81 02 34 */ lwz r20, 0x234(r1) -/* 80364C6C 00361BCC 82 61 02 38 */ lwz r19, 0x238(r1) -/* 80364C70 00361BD0 82 41 02 3C */ lwz r18, 0x23c(r1) -/* 80364C74 00361BD4 82 21 02 40 */ lwz r17, 0x240(r1) -/* 80364C78 00361BD8 82 01 02 44 */ lwz r16, 0x244(r1) -/* 80364C7C 00361BDC 81 E1 02 48 */ lwz r15, 0x248(r1) -/* 80364C80 00361BE0 81 81 02 4C */ lwz r12, 0x24c(r1) -/* 80364C84 00361BE4 81 61 02 50 */ lwz r11, 0x250(r1) -/* 80364C88 00361BE8 81 41 02 54 */ lwz r10, 0x254(r1) -/* 80364C8C 00361BEC 81 21 02 58 */ lwz r9, 0x258(r1) -/* 80364C90 00361BF0 99 1D 00 70 */ stb r8, 0x70(r29) -/* 80364C94 00361BF4 98 FD 00 71 */ stb r7, 0x71(r29) -/* 80364C98 00361BF8 98 DD 00 72 */ stb r6, 0x72(r29) -/* 80364C9C 00361BFC 98 1D 00 73 */ stb r0, 0x73(r29) -/* 80364CA0 00361C00 9B 9D 00 74 */ stb r28, 0x74(r29) -/* 80364CA4 00361C04 93 7D 00 78 */ stw r27, 0x78(r29) -/* 80364CA8 00361C08 93 5D 00 7C */ stw r26, 0x7c(r29) -/* 80364CAC 00361C0C 93 3D 00 80 */ stw r25, 0x80(r29) -/* 80364CB0 00361C10 93 1D 00 84 */ stw r24, 0x84(r29) -/* 80364CB4 00361C14 92 FD 00 88 */ stw r23, 0x88(r29) -/* 80364CB8 00361C18 92 DD 00 8C */ stw r22, 0x8c(r29) -/* 80364CBC 00361C1C 92 BD 00 90 */ stw r21, 0x90(r29) -/* 80364CC0 00361C20 92 9D 00 94 */ stw r20, 0x94(r29) -/* 80364CC4 00361C24 92 7D 00 98 */ stw r19, 0x98(r29) -/* 80364CC8 00361C28 92 5D 00 9C */ stw r18, 0x9c(r29) -/* 80364CCC 00361C2C 92 3D 00 A0 */ stw r17, 0xa0(r29) -/* 80364CD0 00361C30 92 1D 00 A4 */ stw r16, 0xa4(r29) -/* 80364CD4 00361C34 91 FD 00 A8 */ stw r15, 0xa8(r29) -/* 80364CD8 00361C38 91 9D 00 AC */ stw r12, 0xac(r29) -/* 80364CDC 00361C3C 91 7D 00 B0 */ stw r11, 0xb0(r29) -/* 80364CE0 00361C40 91 5D 00 B4 */ stw r10, 0xb4(r29) -/* 80364CE4 00361C44 91 3D 00 B8 */ stw r9, 0xb8(r29) -/* 80364CE8 00361C48 48 02 49 A5 */ bl __register_global_object -/* 80364CEC 00361C4C 28 1E 00 00 */ cmplwi r30, 0 -/* 80364CF0 00361C50 41 82 00 0C */ beq lbl_80364CFC -/* 80364CF4 00361C54 7F C3 F3 78 */ mr r3, r30 -/* 80364CF8 00361C58 4B FD 8D E9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_80364CFC: -/* 80364CFC 00361C5C 38 61 00 E0 */ addi r3, r1, 0xe0 -/* 80364D00 00361C60 38 80 00 00 */ li r4, 0 -/* 80364D04 00361C64 4B FF FC 49 */ bl __ct__17CDSPStreamManagerFv -/* 80364D08 00361C68 3C 60 80 5A */ lis r3, lbl_805A6860@ha -/* 80364D0C 00361C6C 38 00 00 0C */ li r0, 0xc -/* 80364D10 00361C70 38 63 68 60 */ addi r3, r3, lbl_805A6860@l -/* 80364D14 00361C74 38 81 00 DC */ addi r4, r1, 0xdc -/* 80364D18 00361C78 3B A3 01 80 */ addi r29, r3, 0x180 -/* 80364D1C 00361C7C 38 BD FF FC */ addi r5, r29, -4 -/* 80364D20 00361C80 7C 09 03 A6 */ mtctr r0 -lbl_80364D24: -/* 80364D24 00361C84 80 64 00 04 */ lwz r3, 4(r4) -/* 80364D28 00361C88 84 04 00 08 */ lwzu r0, 8(r4) -/* 80364D2C 00361C8C 90 65 00 04 */ stw r3, 4(r5) -/* 80364D30 00361C90 94 05 00 08 */ stwu r0, 8(r5) -/* 80364D34 00361C94 42 00 FF F0 */ bdnz lbl_80364D24 -/* 80364D38 00361C98 3B C1 01 40 */ addi r30, r1, 0x140 -/* 80364D3C 00361C9C 38 7D 00 60 */ addi r3, r29, 0x60 -/* 80364D40 00361CA0 7F C4 F3 78 */ mr r4, r30 -/* 80364D44 00361CA4 4B FD 94 1D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80364D48 00361CA8 89 01 01 50 */ lbz r8, 0x150(r1) -/* 80364D4C 00361CAC 3C 60 80 36 */ lis r3, sub_8036372c@ha -/* 80364D50 00361CB0 88 E1 01 51 */ lbz r7, 0x151(r1) -/* 80364D54 00361CB4 38 83 37 2C */ addi r4, r3, sub_8036372c@l -/* 80364D58 00361CB8 88 C1 01 52 */ lbz r6, 0x152(r1) -/* 80364D5C 00361CBC 7F A3 EB 78 */ mr r3, r29 -/* 80364D60 00361CC0 88 01 01 53 */ lbz r0, 0x153(r1) -/* 80364D64 00361CC4 38 BF 00 18 */ addi r5, r31, 0x18 -/* 80364D68 00361CC8 89 E1 01 54 */ lbz r15, 0x154(r1) -/* 80364D6C 00361CCC 83 81 01 58 */ lwz r28, 0x158(r1) -/* 80364D70 00361CD0 83 61 01 5C */ lwz r27, 0x15c(r1) -/* 80364D74 00361CD4 83 41 01 60 */ lwz r26, 0x160(r1) -/* 80364D78 00361CD8 83 21 01 64 */ lwz r25, 0x164(r1) -/* 80364D7C 00361CDC 83 01 01 68 */ lwz r24, 0x168(r1) -/* 80364D80 00361CE0 82 E1 01 6C */ lwz r23, 0x16c(r1) -/* 80364D84 00361CE4 82 C1 01 70 */ lwz r22, 0x170(r1) -/* 80364D88 00361CE8 82 A1 01 74 */ lwz r21, 0x174(r1) -/* 80364D8C 00361CEC 82 81 01 78 */ lwz r20, 0x178(r1) -/* 80364D90 00361CF0 82 61 01 7C */ lwz r19, 0x17c(r1) -/* 80364D94 00361CF4 82 41 01 80 */ lwz r18, 0x180(r1) -/* 80364D98 00361CF8 82 21 01 84 */ lwz r17, 0x184(r1) -/* 80364D9C 00361CFC 82 01 01 88 */ lwz r16, 0x188(r1) -/* 80364DA0 00361D00 81 81 01 8C */ lwz r12, 0x18c(r1) -/* 80364DA4 00361D04 81 61 01 90 */ lwz r11, 0x190(r1) -/* 80364DA8 00361D08 81 41 01 94 */ lwz r10, 0x194(r1) -/* 80364DAC 00361D0C 81 21 01 98 */ lwz r9, 0x198(r1) -/* 80364DB0 00361D10 99 1D 00 70 */ stb r8, 0x70(r29) -/* 80364DB4 00361D14 98 FD 00 71 */ stb r7, 0x71(r29) -/* 80364DB8 00361D18 98 DD 00 72 */ stb r6, 0x72(r29) -/* 80364DBC 00361D1C 98 1D 00 73 */ stb r0, 0x73(r29) -/* 80364DC0 00361D20 99 FD 00 74 */ stb r15, 0x74(r29) -/* 80364DC4 00361D24 93 9D 00 78 */ stw r28, 0x78(r29) -/* 80364DC8 00361D28 93 7D 00 7C */ stw r27, 0x7c(r29) -/* 80364DCC 00361D2C 93 5D 00 80 */ stw r26, 0x80(r29) -/* 80364DD0 00361D30 93 3D 00 84 */ stw r25, 0x84(r29) -/* 80364DD4 00361D34 93 1D 00 88 */ stw r24, 0x88(r29) -/* 80364DD8 00361D38 92 FD 00 8C */ stw r23, 0x8c(r29) -/* 80364DDC 00361D3C 92 DD 00 90 */ stw r22, 0x90(r29) -/* 80364DE0 00361D40 92 BD 00 94 */ stw r21, 0x94(r29) -/* 80364DE4 00361D44 92 9D 00 98 */ stw r20, 0x98(r29) -/* 80364DE8 00361D48 92 7D 00 9C */ stw r19, 0x9c(r29) -/* 80364DEC 00361D4C 92 5D 00 A0 */ stw r18, 0xa0(r29) -/* 80364DF0 00361D50 92 3D 00 A4 */ stw r17, 0xa4(r29) -/* 80364DF4 00361D54 92 1D 00 A8 */ stw r16, 0xa8(r29) -/* 80364DF8 00361D58 91 9D 00 AC */ stw r12, 0xac(r29) -/* 80364DFC 00361D5C 91 7D 00 B0 */ stw r11, 0xb0(r29) -/* 80364E00 00361D60 91 5D 00 B4 */ stw r10, 0xb4(r29) -/* 80364E04 00361D64 91 3D 00 B8 */ stw r9, 0xb8(r29) -/* 80364E08 00361D68 48 02 48 85 */ bl __register_global_object -/* 80364E0C 00361D6C 28 1E 00 00 */ cmplwi r30, 0 -/* 80364E10 00361D70 41 82 00 0C */ beq lbl_80364E1C -/* 80364E14 00361D74 7F C3 F3 78 */ mr r3, r30 -/* 80364E18 00361D78 4B FD 8C C9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_80364E1C: -/* 80364E1C 00361D7C 38 61 00 20 */ addi r3, r1, 0x20 -/* 80364E20 00361D80 38 80 00 00 */ li r4, 0 -/* 80364E24 00361D84 4B FF FB 29 */ bl __ct__17CDSPStreamManagerFv -/* 80364E28 00361D88 3C 60 80 5A */ lis r3, lbl_805A6860@ha -/* 80364E2C 00361D8C 38 00 00 0C */ li r0, 0xc -/* 80364E30 00361D90 38 63 68 60 */ addi r3, r3, lbl_805A6860@l -/* 80364E34 00361D94 38 81 00 1C */ addi r4, r1, 0x1c -/* 80364E38 00361D98 3B A3 02 40 */ addi r29, r3, 0x240 -/* 80364E3C 00361D9C 38 BD FF FC */ addi r5, r29, -4 -/* 80364E40 00361DA0 7C 09 03 A6 */ mtctr r0 -lbl_80364E44: -/* 80364E44 00361DA4 80 64 00 04 */ lwz r3, 4(r4) -/* 80364E48 00361DA8 84 04 00 08 */ lwzu r0, 8(r4) -/* 80364E4C 00361DAC 90 65 00 04 */ stw r3, 4(r5) -/* 80364E50 00361DB0 94 05 00 08 */ stwu r0, 8(r5) -/* 80364E54 00361DB4 42 00 FF F0 */ bdnz lbl_80364E44 -/* 80364E58 00361DB8 3B C1 00 80 */ addi r30, r1, 0x80 -/* 80364E5C 00361DBC 38 7D 00 60 */ addi r3, r29, 0x60 -/* 80364E60 00361DC0 7F C4 F3 78 */ mr r4, r30 -/* 80364E64 00361DC4 4B FD 92 FD */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80364E68 00361DC8 89 01 00 90 */ lbz r8, 0x90(r1) -/* 80364E6C 00361DCC 38 BF 00 24 */ addi r5, r31, 0x24 -/* 80364E70 00361DD0 88 E1 00 91 */ lbz r7, 0x91(r1) -/* 80364E74 00361DD4 3C 60 80 36 */ lis r3, sub_8036372c@ha -/* 80364E78 00361DD8 88 C1 00 92 */ lbz r6, 0x92(r1) -/* 80364E7C 00361DDC 38 83 37 2C */ addi r4, r3, sub_8036372c@l -/* 80364E80 00361DE0 88 01 00 93 */ lbz r0, 0x93(r1) -/* 80364E84 00361DE4 7F A3 EB 78 */ mr r3, r29 -/* 80364E88 00361DE8 8A 01 00 94 */ lbz r16, 0x94(r1) -/* 80364E8C 00361DEC 82 21 00 98 */ lwz r17, 0x98(r1) -/* 80364E90 00361DF0 82 41 00 9C */ lwz r18, 0x9c(r1) -/* 80364E94 00361DF4 82 61 00 A0 */ lwz r19, 0xa0(r1) -/* 80364E98 00361DF8 82 81 00 A4 */ lwz r20, 0xa4(r1) -/* 80364E9C 00361DFC 82 A1 00 A8 */ lwz r21, 0xa8(r1) -/* 80364EA0 00361E00 82 C1 00 AC */ lwz r22, 0xac(r1) -/* 80364EA4 00361E04 82 E1 00 B0 */ lwz r23, 0xb0(r1) -/* 80364EA8 00361E08 83 01 00 B4 */ lwz r24, 0xb4(r1) -/* 80364EAC 00361E0C 83 21 00 B8 */ lwz r25, 0xb8(r1) -/* 80364EB0 00361E10 83 41 00 BC */ lwz r26, 0xbc(r1) -/* 80364EB4 00361E14 83 61 00 C0 */ lwz r27, 0xc0(r1) -/* 80364EB8 00361E18 83 81 00 C4 */ lwz r28, 0xc4(r1) -/* 80364EBC 00361E1C 83 E1 00 C8 */ lwz r31, 0xc8(r1) -/* 80364EC0 00361E20 81 81 00 CC */ lwz r12, 0xcc(r1) -/* 80364EC4 00361E24 81 61 00 D0 */ lwz r11, 0xd0(r1) -/* 80364EC8 00361E28 81 41 00 D4 */ lwz r10, 0xd4(r1) -/* 80364ECC 00361E2C 81 21 00 D8 */ lwz r9, 0xd8(r1) -/* 80364ED0 00361E30 99 1D 00 70 */ stb r8, 0x70(r29) -/* 80364ED4 00361E34 98 FD 00 71 */ stb r7, 0x71(r29) -/* 80364ED8 00361E38 98 DD 00 72 */ stb r6, 0x72(r29) -/* 80364EDC 00361E3C 98 1D 00 73 */ stb r0, 0x73(r29) -/* 80364EE0 00361E40 9A 1D 00 74 */ stb r16, 0x74(r29) -/* 80364EE4 00361E44 92 3D 00 78 */ stw r17, 0x78(r29) -/* 80364EE8 00361E48 92 5D 00 7C */ stw r18, 0x7c(r29) -/* 80364EEC 00361E4C 92 7D 00 80 */ stw r19, 0x80(r29) -/* 80364EF0 00361E50 92 9D 00 84 */ stw r20, 0x84(r29) -/* 80364EF4 00361E54 92 BD 00 88 */ stw r21, 0x88(r29) -/* 80364EF8 00361E58 92 DD 00 8C */ stw r22, 0x8c(r29) -/* 80364EFC 00361E5C 92 FD 00 90 */ stw r23, 0x90(r29) -/* 80364F00 00361E60 93 1D 00 94 */ stw r24, 0x94(r29) -/* 80364F04 00361E64 93 3D 00 98 */ stw r25, 0x98(r29) -/* 80364F08 00361E68 93 5D 00 9C */ stw r26, 0x9c(r29) -/* 80364F0C 00361E6C 93 7D 00 A0 */ stw r27, 0xa0(r29) -/* 80364F10 00361E70 93 9D 00 A4 */ stw r28, 0xa4(r29) -/* 80364F14 00361E74 93 FD 00 A8 */ stw r31, 0xa8(r29) -/* 80364F18 00361E78 91 9D 00 AC */ stw r12, 0xac(r29) -/* 80364F1C 00361E7C 91 7D 00 B0 */ stw r11, 0xb0(r29) -/* 80364F20 00361E80 91 5D 00 B4 */ stw r10, 0xb4(r29) -/* 80364F24 00361E84 91 3D 00 B8 */ stw r9, 0xb8(r29) -/* 80364F28 00361E88 48 02 47 65 */ bl __register_global_object -/* 80364F2C 00361E8C 28 1E 00 00 */ cmplwi r30, 0 -/* 80364F30 00361E90 41 82 00 0C */ beq lbl_80364F3C -/* 80364F34 00361E94 7F C3 F3 78 */ mr r3, r30 -/* 80364F38 00361E98 4B FD 8B A9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_80364F3C: -/* 80364F3C 00361E9C 81 41 00 00 */ lwz r10, 0(r1) -/* 80364F40 00361EA0 B9 EA FF BC */ lmw r15, -0x44(r10) -/* 80364F44 00361EA4 80 0A 00 04 */ lwz r0, 4(r10) -/* 80364F48 00361EA8 7C 08 03 A6 */ mtlr r0 -/* 80364F4C 00361EAC 7D 41 53 78 */ mr r1, r10 -/* 80364F50 00361EB0 4E 80 00 20 */ blr - -.global FDependencyGroupFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer -FDependencyGroupFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer: -/* 80364F54 00361EB4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80364F58 00361EB8 7C 08 02 A6 */ mflr r0 -/* 80364F5C 00361EBC 3C 80 80 3E */ lis r4, lbl_803D8408@ha -/* 80364F60 00361EC0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80364F64 00361EC4 38 84 84 08 */ addi r4, r4, lbl_803D8408@l -/* 80364F68 00361EC8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80364F6C 00361ECC 7C BF 2B 78 */ mr r31, r5 -/* 80364F70 00361ED0 38 A0 00 00 */ li r5, 0 -/* 80364F74 00361ED4 93 C1 00 08 */ stw r30, 8(r1) -/* 80364F78 00361ED8 7C 7E 1B 78 */ mr r30, r3 -/* 80364F7C 00361EDC 38 60 00 10 */ li r3, 0x10 -/* 80364F80 00361EE0 4B FB 08 ED */ bl __nw__FUlPCcPCc -/* 80364F84 00361EE4 7C 64 1B 79 */ or. r4, r3, r3 -/* 80364F88 00361EE8 41 82 00 10 */ beq lbl_80364F98 -/* 80364F8C 00361EEC 7F E4 FB 78 */ mr r4, r31 -/* 80364F90 00361EF0 48 00 04 29 */ bl __ct__16CDependencyGroupFR12CInputStream -/* 80364F94 00361EF4 7C 64 1B 78 */ mr r4, r3 -lbl_80364F98: -/* 80364F98 00361EF8 7F C3 F3 78 */ mr r3, r30 -/* 80364F9C 00361EFC 48 00 00 1D */ bl sub_80364fb8 -/* 80364FA0 00361F00 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80364FA4 00361F04 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80364FA8 00361F08 83 C1 00 08 */ lwz r30, 8(r1) -/* 80364FAC 00361F0C 7C 08 03 A6 */ mtlr r0 -/* 80364FB0 00361F10 38 21 00 10 */ addi r1, r1, 0x10 -/* 80364FB4 00361F14 4E 80 00 20 */ blr - -.global sub_80364fb8 -sub_80364fb8: -/* 80364FB8 00361F18 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80364FBC 00361F1C 7C 08 02 A6 */ mflr r0 -/* 80364FC0 00361F20 90 01 00 24 */ stw r0, 0x24(r1) -/* 80364FC4 00361F24 7C 04 00 D0 */ neg r0, r4 -/* 80364FC8 00361F28 7C 00 23 78 */ or r0, r0, r4 -/* 80364FCC 00361F2C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80364FD0 00361F30 54 00 0F FE */ srwi r0, r0, 0x1f -/* 80364FD4 00361F34 7C 7F 1B 78 */ mr r31, r3 -/* 80364FD8 00361F38 38 61 00 08 */ addi r3, r1, 8 -/* 80364FDC 00361F3C 90 81 00 14 */ stw r4, 0x14(r1) -/* 80364FE0 00361F40 38 81 00 10 */ addi r4, r1, 0x10 -/* 80364FE4 00361F44 98 01 00 10 */ stb r0, 0x10(r1) -/* 80364FE8 00361F48 48 00 01 55 */ bl sub_8036513c -/* 80364FEC 00361F4C 80 61 00 0C */ lwz r3, 0xc(r1) -/* 80364FF0 00361F50 38 00 00 00 */ li r0, 0 -/* 80364FF4 00361F54 98 01 00 08 */ stb r0, 8(r1) -/* 80364FF8 00361F58 7C 03 00 D0 */ neg r0, r3 -/* 80364FFC 00361F5C 7C 00 1B 78 */ or r0, r0, r3 -/* 80365000 00361F60 54 00 0F FE */ srwi r0, r0, 0x1f -/* 80365004 00361F64 98 1F 00 00 */ stb r0, 0(r31) -/* 80365008 00361F68 90 7F 00 04 */ stw r3, 4(r31) -/* 8036500C 00361F6C 88 01 00 08 */ lbz r0, 8(r1) -/* 80365010 00361F70 28 00 00 00 */ cmplwi r0, 0 -/* 80365014 00361F74 41 82 00 24 */ beq lbl_80365038 -/* 80365018 00361F78 80 61 00 0C */ lwz r3, 0xc(r1) -/* 8036501C 00361F7C 28 03 00 00 */ cmplwi r3, 0 -/* 80365020 00361F80 41 82 00 18 */ beq lbl_80365038 -/* 80365024 00361F84 81 83 00 00 */ lwz r12, 0(r3) -/* 80365028 00361F88 38 80 00 01 */ li r4, 1 -/* 8036502C 00361F8C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80365030 00361F90 7D 89 03 A6 */ mtctr r12 -/* 80365034 00361F94 4E 80 04 21 */ bctrl -lbl_80365038: -/* 80365038 00361F98 38 61 00 10 */ addi r3, r1, 0x10 -/* 8036503C 00361F9C 38 80 FF FF */ li r4, -1 -/* 80365040 00361FA0 48 00 01 C5 */ bl sub_80365204 -/* 80365044 00361FA4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80365048 00361FA8 7F E3 FB 78 */ mr r3, r31 -/* 8036504C 00361FAC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80365050 00361FB0 7C 08 03 A6 */ mtlr r0 -/* 80365054 00361FB4 38 21 00 20 */ addi r1, r1, 0x20 -/* 80365058 00361FB8 4E 80 00 20 */ blr - -.global sub_8036505c -sub_8036505c: -/* 8036505C 00361FBC 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80365060 00361FC0 7C 08 02 A6 */ mflr r0 -/* 80365064 00361FC4 90 01 00 34 */ stw r0, 0x34(r1) -/* 80365068 00361FC8 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8036506C 00361FCC 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80365070 00361FD0 7C 9E 23 78 */ mr r30, r4 -/* 80365074 00361FD4 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80365078 00361FD8 7C 7D 1B 79 */ or. r29, r3, r3 -/* 8036507C 00361FDC 41 82 00 A0 */ beq lbl_8036511C -/* 80365080 00361FE0 3C 60 80 3F */ lis r3, lbl_803EF830@ha -/* 80365084 00361FE4 38 03 F8 30 */ addi r0, r3, lbl_803EF830@l -/* 80365088 00361FE8 90 1D 00 00 */ stw r0, 0(r29) -/* 8036508C 00361FEC 83 FD 00 04 */ lwz r31, 4(r29) -/* 80365090 00361FF0 28 1F 00 00 */ cmplwi r31, 0 -/* 80365094 00361FF4 41 82 00 54 */ beq lbl_803650E8 -/* 80365098 00361FF8 41 82 00 50 */ beq lbl_803650E8 -/* 8036509C 00361FFC 41 82 00 44 */ beq lbl_803650E0 -/* 803650A0 00362000 80 1F 00 04 */ lwz r0, 4(r31) -/* 803650A4 00362004 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 803650A8 00362008 54 00 18 38 */ slwi r0, r0, 3 -/* 803650AC 0036200C 7C 03 02 14 */ add r0, r3, r0 -/* 803650B0 00362010 90 61 00 0C */ stw r3, 0xc(r1) -/* 803650B4 00362014 7C 64 1B 78 */ mr r4, r3 -/* 803650B8 00362018 90 01 00 14 */ stw r0, 0x14(r1) -/* 803650BC 0036201C 90 01 00 10 */ stw r0, 0x10(r1) -/* 803650C0 00362020 90 61 00 08 */ stw r3, 8(r1) -/* 803650C4 00362024 48 00 00 08 */ b lbl_803650CC -lbl_803650C8: -/* 803650C8 00362028 38 84 00 08 */ addi r4, r4, 8 -lbl_803650CC: -/* 803650CC 0036202C 7C 04 00 40 */ cmplw r4, r0 -/* 803650D0 00362030 40 82 FF F8 */ bne lbl_803650C8 -/* 803650D4 00362034 28 03 00 00 */ cmplwi r3, 0 -/* 803650D8 00362038 41 82 00 08 */ beq lbl_803650E0 -/* 803650DC 0036203C 4B FB 08 55 */ bl Free__7CMemoryFPCv -lbl_803650E0: -/* 803650E0 00362040 7F E3 FB 78 */ mr r3, r31 -/* 803650E4 00362044 4B FB 08 4D */ bl Free__7CMemoryFPCv -lbl_803650E8: -/* 803650E8 00362048 28 1D 00 00 */ cmplwi r29, 0 -/* 803650EC 0036204C 41 82 00 20 */ beq lbl_8036510C -/* 803650F0 00362050 3C 60 80 3E */ lis r3, lbl_803D8D78@ha -/* 803650F4 00362054 38 03 8D 78 */ addi r0, r3, lbl_803D8D78@l -/* 803650F8 00362058 90 1D 00 00 */ stw r0, 0(r29) -/* 803650FC 0036205C 41 82 00 10 */ beq lbl_8036510C -/* 80365100 00362060 3C 60 80 3E */ lis r3, lbl_803D8D6C@ha -/* 80365104 00362064 38 03 8D 6C */ addi r0, r3, lbl_803D8D6C@l -/* 80365108 00362068 90 1D 00 00 */ stw r0, 0(r29) -lbl_8036510C: -/* 8036510C 0036206C 7F C0 07 35 */ extsh. r0, r30 -/* 80365110 00362070 40 81 00 0C */ ble lbl_8036511C -/* 80365114 00362074 7F A3 EB 78 */ mr r3, r29 -/* 80365118 00362078 4B FB 08 19 */ bl Free__7CMemoryFPCv -lbl_8036511C: -/* 8036511C 0036207C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80365120 00362080 7F A3 EB 78 */ mr r3, r29 -/* 80365124 00362084 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80365128 00362088 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8036512C 0036208C 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80365130 00362090 7C 08 03 A6 */ mtlr r0 -/* 80365134 00362094 38 21 00 30 */ addi r1, r1, 0x30 -/* 80365138 00362098 4E 80 00 20 */ blr - -.global sub_8036513c -sub_8036513c: -/* 8036513C 0036209C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80365140 003620A0 7C 08 02 A6 */ mflr r0 -/* 80365144 003620A4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80365148 003620A8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8036514C 003620AC 7C 7F 1B 78 */ mr r31, r3 -/* 80365150 003620B0 48 00 00 19 */ bl sub_80365168 -/* 80365154 003620B4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80365158 003620B8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8036515C 003620BC 7C 08 03 A6 */ mtlr r0 -/* 80365160 003620C0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80365164 003620C4 4E 80 00 20 */ blr - -.global sub_80365168 -sub_80365168: -/* 80365168 003620C8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8036516C 003620CC 7C 08 02 A6 */ mflr r0 -/* 80365170 003620D0 3C A0 80 3E */ lis r5, lbl_803D8408@ha -/* 80365174 003620D4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80365178 003620D8 38 05 84 08 */ addi r0, r5, lbl_803D8408@l -/* 8036517C 003620DC 38 A0 00 00 */ li r5, 0 -/* 80365180 003620E0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80365184 003620E4 7C 9F 23 78 */ mr r31, r4 -/* 80365188 003620E8 7C 04 03 78 */ mr r4, r0 -/* 8036518C 003620EC 93 C1 00 08 */ stw r30, 8(r1) -/* 80365190 003620F0 7C 7E 1B 78 */ mr r30, r3 -/* 80365194 003620F4 38 60 00 08 */ li r3, 8 -/* 80365198 003620F8 4B FB 06 D5 */ bl __nw__FUlPCcPCc -/* 8036519C 003620FC 28 03 00 00 */ cmplwi r3, 0 -/* 803651A0 00362100 41 82 00 38 */ beq lbl_803651D8 -/* 803651A4 00362104 3C 80 80 3E */ lis r4, lbl_803D8D6C@ha -/* 803651A8 00362108 3C A0 80 3E */ lis r5, lbl_803D8D78@ha -/* 803651AC 0036210C 38 04 8D 6C */ addi r0, r4, lbl_803D8D6C@l -/* 803651B0 00362110 3C 80 80 3F */ lis r4, lbl_803EF830@ha -/* 803651B4 00362114 90 03 00 00 */ stw r0, 0(r3) -/* 803651B8 00362118 38 C5 8D 78 */ addi r6, r5, lbl_803D8D78@l -/* 803651BC 0036211C 38 A0 00 00 */ li r5, 0 -/* 803651C0 00362120 38 04 F8 30 */ addi r0, r4, lbl_803EF830@l -/* 803651C4 00362124 90 C3 00 00 */ stw r6, 0(r3) -/* 803651C8 00362128 98 BF 00 00 */ stb r5, 0(r31) -/* 803651CC 0036212C 80 9F 00 04 */ lwz r4, 4(r31) -/* 803651D0 00362130 90 83 00 04 */ stw r4, 4(r3) -/* 803651D4 00362134 90 03 00 00 */ stw r0, 0(r3) -lbl_803651D8: -/* 803651D8 00362138 7C 03 00 D0 */ neg r0, r3 -/* 803651DC 0036213C 7C 00 1B 78 */ or r0, r0, r3 -/* 803651E0 00362140 54 00 0F FE */ srwi r0, r0, 0x1f -/* 803651E4 00362144 98 1E 00 00 */ stb r0, 0(r30) -/* 803651E8 00362148 90 7E 00 04 */ stw r3, 4(r30) -/* 803651EC 0036214C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 803651F0 00362150 83 C1 00 08 */ lwz r30, 8(r1) -/* 803651F4 00362154 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803651F8 00362158 7C 08 03 A6 */ mtlr r0 -/* 803651FC 0036215C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80365200 00362160 4E 80 00 20 */ blr - -.global sub_80365204 -sub_80365204: -/* 80365204 00362164 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80365208 00362168 7C 08 02 A6 */ mflr r0 -/* 8036520C 0036216C 90 01 00 34 */ stw r0, 0x34(r1) -/* 80365210 00362170 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80365214 00362174 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80365218 00362178 7C 9E 23 78 */ mr r30, r4 -/* 8036521C 0036217C 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80365220 00362180 7C 7D 1B 79 */ or. r29, r3, r3 -/* 80365224 00362184 41 82 00 78 */ beq lbl_8036529C -/* 80365228 00362188 88 1D 00 00 */ lbz r0, 0(r29) -/* 8036522C 0036218C 28 00 00 00 */ cmplwi r0, 0 -/* 80365230 00362190 41 82 00 5C */ beq lbl_8036528C -/* 80365234 00362194 83 FD 00 04 */ lwz r31, 4(r29) -/* 80365238 00362198 28 1F 00 00 */ cmplwi r31, 0 -/* 8036523C 0036219C 41 82 00 50 */ beq lbl_8036528C -/* 80365240 003621A0 41 82 00 44 */ beq lbl_80365284 -/* 80365244 003621A4 80 1F 00 04 */ lwz r0, 4(r31) -/* 80365248 003621A8 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 8036524C 003621AC 54 00 18 38 */ slwi r0, r0, 3 -/* 80365250 003621B0 7C 03 02 14 */ add r0, r3, r0 -/* 80365254 003621B4 90 61 00 0C */ stw r3, 0xc(r1) -/* 80365258 003621B8 7C 64 1B 78 */ mr r4, r3 -/* 8036525C 003621BC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80365260 003621C0 90 01 00 10 */ stw r0, 0x10(r1) -/* 80365264 003621C4 90 61 00 08 */ stw r3, 8(r1) -/* 80365268 003621C8 48 00 00 08 */ b lbl_80365270 -lbl_8036526C: -/* 8036526C 003621CC 38 84 00 08 */ addi r4, r4, 8 -lbl_80365270: -/* 80365270 003621D0 7C 04 00 40 */ cmplw r4, r0 -/* 80365274 003621D4 40 82 FF F8 */ bne lbl_8036526C -/* 80365278 003621D8 28 03 00 00 */ cmplwi r3, 0 -/* 8036527C 003621DC 41 82 00 08 */ beq lbl_80365284 -/* 80365280 003621E0 4B FB 06 B1 */ bl Free__7CMemoryFPCv -lbl_80365284: -/* 80365284 003621E4 7F E3 FB 78 */ mr r3, r31 -/* 80365288 003621E8 4B FB 06 A9 */ bl Free__7CMemoryFPCv -lbl_8036528C: -/* 8036528C 003621EC 7F C0 07 35 */ extsh. r0, r30 -/* 80365290 003621F0 40 81 00 0C */ ble lbl_8036529C -/* 80365294 003621F4 7F A3 EB 78 */ mr r3, r29 -/* 80365298 003621F8 4B FB 06 99 */ bl Free__7CMemoryFPCv -lbl_8036529C: -/* 8036529C 003621FC 80 01 00 34 */ lwz r0, 0x34(r1) -/* 803652A0 00362200 7F A3 EB 78 */ mr r3, r29 -/* 803652A4 00362204 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 803652A8 00362208 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 803652AC 0036220C 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 803652B0 00362210 7C 08 03 A6 */ mtlr r0 -/* 803652B4 00362214 38 21 00 30 */ addi r1, r1, 0x30 -/* 803652B8 00362218 4E 80 00 20 */ blr - -.global sub_803652bc -sub_803652bc: -/* 803652BC 0036221C 80 03 00 04 */ lwz r0, 4(r3) -/* 803652C0 00362220 38 C0 00 00 */ li r6, 0 -/* 803652C4 00362224 80 A3 00 0C */ lwz r5, 0xc(r3) -/* 803652C8 00362228 54 00 18 38 */ slwi r0, r0, 3 -/* 803652CC 0036222C 7C 65 02 14 */ add r3, r5, r0 -/* 803652D0 00362230 48 00 00 18 */ b lbl_803652E8 -lbl_803652D4: -/* 803652D4 00362234 80 05 00 00 */ lwz r0, 0(r5) -/* 803652D8 00362238 7C 04 00 40 */ cmplw r4, r0 -/* 803652DC 0036223C 40 82 00 08 */ bne lbl_803652E4 -/* 803652E0 00362240 38 C6 00 01 */ addi r6, r6, 1 -lbl_803652E4: -/* 803652E4 00362244 38 A5 00 08 */ addi r5, r5, 8 -lbl_803652E8: -/* 803652E8 00362248 7C 05 18 40 */ cmplw r5, r3 -/* 803652EC 0036224C 40 82 FF E8 */ bne lbl_803652D4 -/* 803652F0 00362250 7C C3 33 78 */ mr r3, r6 -/* 803652F4 00362254 4E 80 00 20 */ blr - -.global ReadFromStream__16CDependencyGroupFR12CInputStream -ReadFromStream__16CDependencyGroupFR12CInputStream: -/* 803652F8 00362258 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 803652FC 0036225C 7C 08 02 A6 */ mflr r0 -/* 80365300 00362260 90 01 00 24 */ stw r0, 0x24(r1) -/* 80365304 00362264 BF 41 00 08 */ stmw r26, 8(r1) -/* 80365308 00362268 7C 9B 23 78 */ mr r27, r4 -/* 8036530C 0036226C 7C 7A 1B 78 */ mr r26, r3 -/* 80365310 00362270 7F 63 DB 78 */ mr r3, r27 -/* 80365314 00362274 4B FD 99 71 */ bl ReadLong__12CInputStreamFv -/* 80365318 00362278 7C 7D 1B 78 */ mr r29, r3 -/* 8036531C 0036227C 7F 43 D3 78 */ mr r3, r26 -/* 80365320 00362280 7F A4 EB 78 */ mr r4, r29 -/* 80365324 00362284 4B FD B6 61 */ bl "reserve__Q24rstl47vector<10SObjectTag,Q24rstl17rmemory_allocator>Fi" -/* 80365328 00362288 3B 80 00 00 */ li r28, 0 -/* 8036532C 0036228C 48 00 00 70 */ b lbl_8036539C -lbl_80365330: -/* 80365330 00362290 7F 63 DB 78 */ mr r3, r27 -/* 80365334 00362294 4B FD 99 51 */ bl ReadLong__12CInputStreamFv -/* 80365338 00362298 7C 7E 1B 78 */ mr r30, r3 -/* 8036533C 0036229C 7F 63 DB 78 */ mr r3, r27 -/* 80365340 003622A0 4B FD 99 45 */ bl ReadLong__12CInputStreamFv -/* 80365344 003622A4 80 1A 00 04 */ lwz r0, 4(r26) -/* 80365348 003622A8 7C 7F 1B 78 */ mr r31, r3 -/* 8036534C 003622AC 80 BA 00 08 */ lwz r5, 8(r26) -/* 80365350 003622B0 7C 00 28 00 */ cmpw r0, r5 -/* 80365354 003622B4 41 80 00 1C */ blt lbl_80365370 -/* 80365358 003622B8 2C 05 00 00 */ cmpwi r5, 0 -/* 8036535C 003622BC 7F 43 D3 78 */ mr r3, r26 -/* 80365360 003622C0 38 80 00 04 */ li r4, 4 -/* 80365364 003622C4 41 82 00 08 */ beq lbl_8036536C -/* 80365368 003622C8 54 A4 08 3C */ slwi r4, r5, 1 -lbl_8036536C: -/* 8036536C 003622CC 4B FD B6 19 */ bl "reserve__Q24rstl47vector<10SObjectTag,Q24rstl17rmemory_allocator>Fi" -lbl_80365370: -/* 80365370 003622D0 80 1A 00 04 */ lwz r0, 4(r26) -/* 80365374 003622D4 80 7A 00 0C */ lwz r3, 0xc(r26) -/* 80365378 003622D8 54 00 18 38 */ slwi r0, r0, 3 -/* 8036537C 003622DC 7C 63 02 15 */ add. r3, r3, r0 -/* 80365380 003622E0 41 82 00 0C */ beq lbl_8036538C -/* 80365384 003622E4 93 C3 00 00 */ stw r30, 0(r3) -/* 80365388 003622E8 93 E3 00 04 */ stw r31, 4(r3) -lbl_8036538C: -/* 8036538C 003622EC 80 7A 00 04 */ lwz r3, 4(r26) -/* 80365390 003622F0 3B 9C 00 01 */ addi r28, r28, 1 -/* 80365394 003622F4 38 03 00 01 */ addi r0, r3, 1 -/* 80365398 003622F8 90 1A 00 04 */ stw r0, 4(r26) -lbl_8036539C: -/* 8036539C 003622FC 7C 1C E8 00 */ cmpw r28, r29 -/* 803653A0 00362300 41 80 FF 90 */ blt lbl_80365330 -/* 803653A4 00362304 BB 41 00 08 */ lmw r26, 8(r1) -/* 803653A8 00362308 80 01 00 24 */ lwz r0, 0x24(r1) -/* 803653AC 0036230C 7C 08 03 A6 */ mtlr r0 -/* 803653B0 00362310 38 21 00 20 */ addi r1, r1, 0x20 -/* 803653B4 00362314 4E 80 00 20 */ blr - -.global __ct__16CDependencyGroupFR12CInputStream -__ct__16CDependencyGroupFR12CInputStream: -/* 803653B8 00362318 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803653BC 0036231C 7C 08 02 A6 */ mflr r0 -/* 803653C0 00362320 90 01 00 14 */ stw r0, 0x14(r1) -/* 803653C4 00362324 38 00 00 00 */ li r0, 0 -/* 803653C8 00362328 93 E1 00 0C */ stw r31, 0xc(r1) -/* 803653CC 0036232C 7C 7F 1B 78 */ mr r31, r3 -/* 803653D0 00362330 90 03 00 04 */ stw r0, 4(r3) -/* 803653D4 00362334 90 03 00 08 */ stw r0, 8(r3) -/* 803653D8 00362338 90 03 00 0C */ stw r0, 0xc(r3) -/* 803653DC 0036233C 4B FF FF 1D */ bl ReadFromStream__16CDependencyGroupFR12CInputStream -/* 803653E0 00362340 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803653E4 00362344 7F E3 FB 78 */ mr r3, r31 -/* 803653E8 00362348 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 803653EC 0036234C 7C 08 03 A6 */ mtlr r0 -/* 803653F0 00362350 38 21 00 10 */ addi r1, r1, 0x10 -/* 803653F4 00362354 4E 80 00 20 */ blr - -.global sub_803653f8 -sub_803653f8: -/* 803653F8 00362358 C0 02 CD B0 */ lfs f0, lbl_805AEAD0@sda21(r2) -/* 803653FC 0036235C FC 00 08 00 */ fcmpu cr0, f0, f1 -/* 80365400 00362360 40 82 00 0C */ bne lbl_8036540C -/* 80365404 00362364 C0 0D 9E 74 */ lfs f0, lbl_805A8A34@sda21(r13) -/* 80365408 00362368 48 00 00 0C */ b lbl_80365414 -lbl_8036540C: -/* 8036540C 0036236C C0 0D 9E 74 */ lfs f0, lbl_805A8A34@sda21(r13) -/* 80365410 00362370 EC 00 08 24 */ fdivs f0, f0, f1 -lbl_80365414: -/* 80365414 00362374 38 00 00 04 */ li r0, 4 -/* 80365418 00362378 D0 0D AA C4 */ stfs f0, lbl_805A9684@sda21(r13) -/* 8036541C 0036237C 90 0D 9E 70 */ stw r0, lbl_805A8A30@sda21(r13) -/* 80365420 00362380 4E 80 00 20 */ blr - -.global sub_80365424 -sub_80365424: -/* 80365424 00362384 C0 02 CD B0 */ lfs f0, lbl_805AEAD0@sda21(r2) -/* 80365428 00362388 C0 4D AA C0 */ lfs f2, lbl_805A9680@sda21(r13) -/* 8036542C 0036238C FC 00 08 00 */ fcmpu cr0, f0, f1 -/* 80365430 00362390 D0 4D 9E 74 */ stfs f2, lbl_805A8A34@sda21(r13) -/* 80365434 00362394 40 82 00 08 */ bne lbl_8036543C -/* 80365438 00362398 48 00 00 08 */ b lbl_80365440 -lbl_8036543C: -/* 8036543C 0036239C EC 42 08 24 */ fdivs f2, f2, f1 -lbl_80365440: -/* 80365440 003623A0 38 00 00 06 */ li r0, 6 -/* 80365444 003623A4 D0 4D AA C8 */ stfs f2, lbl_805A9688@sda21(r13) -/* 80365448 003623A8 90 0D 9E 70 */ stw r0, lbl_805A8A30@sda21(r13) -/* 8036544C 003623AC 4E 80 00 20 */ blr - -.global sub_80365450 -sub_80365450: -/* 80365450 003623B0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80365454 003623B4 7C 08 02 A6 */ mflr r0 -/* 80365458 003623B8 3C 80 80 5A */ lis r4, lbl_805A6B90@ha -/* 8036545C 003623BC 90 01 00 24 */ stw r0, 0x24(r1) -/* 80365460 003623C0 38 84 6B 90 */ addi r4, r4, lbl_805A6B90@l -/* 80365464 003623C4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80365468 003623C8 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8036546C 003623CC 7C 7E 1B 78 */ mr r30, r3 -/* 80365470 003623D0 80 0D 9E 70 */ lwz r0, lbl_805A8A30@sda21(r13) -/* 80365474 003623D4 20 00 00 01 */ subfic r0, r0, 1 -/* 80365478 003623D8 7C 00 00 34 */ cntlzw r0, r0 -/* 8036547C 003623DC 54 1F D9 7E */ srwi r31, r0, 5 -/* 80365480 003623E0 48 00 00 A5 */ bl sub_80365524 -/* 80365484 003623E4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80365488 003623E8 41 82 00 18 */ beq lbl_803654A0 -/* 8036548C 003623EC 3C 60 80 5A */ lis r3, lbl_805A6B90@ha -/* 80365490 003623F0 7F C4 F3 78 */ mr r4, r30 -/* 80365494 003623F4 38 63 6B 90 */ addi r3, r3, lbl_805A6B90@l -/* 80365498 003623F8 4B FD 88 C5 */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8036549C 003623FC 3B E0 00 01 */ li r31, 1 -lbl_803654A0: -/* 803654A0 00362400 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 803654A4 00362404 41 82 00 68 */ beq lbl_8036550C -/* 803654A8 00362408 88 0D 9E 80 */ lbz r0, lbl_805A8A40@sda21(r13) -/* 803654AC 0036240C 28 00 00 00 */ cmplwi r0, 0 -/* 803654B0 00362410 41 82 00 5C */ beq lbl_8036550C -/* 803654B4 00362414 3C 80 80 3E */ lis r4, lbl_803D8410@ha -/* 803654B8 00362418 38 61 00 08 */ addi r3, r1, 8 -/* 803654BC 0036241C 38 84 84 10 */ addi r4, r4, lbl_803D8410@l -/* 803654C0 00362420 4B C9 F7 F9 */ bl string_l__4rstlFPCc -/* 803654C4 00362424 7F C3 F3 78 */ mr r3, r30 -/* 803654C8 00362428 38 81 00 08 */ addi r4, r1, 8 -/* 803654CC 0036242C 48 00 00 59 */ bl sub_80365524 -/* 803654D0 00362430 7C 7F 1B 78 */ mr r31, r3 -/* 803654D4 00362434 38 61 00 08 */ addi r3, r1, 8 -/* 803654D8 00362438 4B FD 86 09 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 803654DC 0036243C 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 803654E0 00362440 41 82 00 2C */ beq lbl_8036550C -/* 803654E4 00362444 4B FE 5E 19 */ bl TrkFlushTracks__9CAudioSysFv -/* 803654E8 00362448 7F C3 F3 78 */ mr r3, r30 -/* 803654EC 0036244C 38 80 00 00 */ li r4, 0 -/* 803654F0 00362450 38 A0 00 00 */ li r5, 0 -/* 803654F4 00362454 4B FE 5E 71 */ bl "TrkQueueTrack__9CAudioSysFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>PFUl_vUi" -/* 803654F8 00362458 4B FE 5D 3D */ bl TrkNextTrack__9CAudioSysFv -/* 803654FC 0036245C 38 60 00 02 */ li r3, 2 -/* 80365500 00362460 4B FE 5D BD */ bl TrkSetRepeatMode__9CAudioSysF14ETRKRepeatMode -/* 80365504 00362464 38 60 00 01 */ li r3, 1 -/* 80365508 00362468 4B FE 5D 95 */ bl TrkSetState__9CAudioSysF13ETRKPlayState -lbl_8036550C: -/* 8036550C 0036246C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80365510 00362470 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80365514 00362474 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80365518 00362478 7C 08 03 A6 */ mtlr r0 -/* 8036551C 0036247C 38 21 00 20 */ addi r1, r1, 0x20 -/* 80365520 00362480 4E 80 00 20 */ blr - -.global sub_80365524 -sub_80365524: -/* 80365524 00362484 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80365528 00362488 7C 08 02 A6 */ mflr r0 -/* 8036552C 0036248C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80365530 00362490 4B CC 52 45 */ bl sub_8002a774 -/* 80365534 00362494 7C 03 00 D0 */ neg r0, r3 -/* 80365538 00362498 7C 00 1B 78 */ or r0, r0, r3 -/* 8036553C 0036249C 54 03 0F FE */ srwi r3, r0, 0x1f -/* 80365540 003624A0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80365544 003624A4 7C 08 03 A6 */ mtlr r0 -/* 80365548 003624A8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8036554C 003624AC 4E 80 00 20 */ blr - -.global InternalSetVolume__19CStreamAudioManagerFf -InternalSetVolume__19CStreamAudioManagerFf: -/* 80365550 003624B0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80365554 003624B4 7C 08 02 A6 */ mflr r0 -/* 80365558 003624B8 C0 02 CD BC */ lfs f0, lbl_805AEADC@sda21(r2) -/* 8036555C 003624BC 90 01 00 24 */ stw r0, 0x24(r1) -/* 80365560 003624C0 3C 00 43 30 */ lis r0, 0x4330 -/* 80365564 003624C4 FC 00 08 00 */ fcmpu cr0, f0, f1 -/* 80365568 003624C8 C8 62 CD C0 */ lfd f3, lbl_805AEAE0@sda21(r2) -/* 8036556C 003624CC 80 6D 9E 78 */ lwz r3, lbl_805A8A38@sda21(r13) -/* 80365570 003624D0 90 01 00 08 */ stw r0, 8(r1) -/* 80365574 003624D4 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 80365578 003624D8 C0 82 CD B4 */ lfs f4, lbl_805AEAD4@sda21(r2) -/* 8036557C 003624DC 90 61 00 0C */ stw r3, 0xc(r1) -/* 80365580 003624E0 C0 02 CD B8 */ lfs f0, lbl_805AEAD8@sda21(r2) -/* 80365584 003624E4 C8 41 00 08 */ lfd f2, 8(r1) -/* 80365588 003624E8 EC 42 18 28 */ fsubs f2, f2, f3 -/* 8036558C 003624EC EC 21 00 B2 */ fmuls f1, f1, f2 -/* 80365590 003624F0 EC 24 00 72 */ fmuls f1, f4, f1 -/* 80365594 003624F4 EC 01 00 24 */ fdivs f0, f1, f0 -/* 80365598 003624F8 FC 00 00 1E */ fctiwz f0, f0 -/* 8036559C 003624FC D8 01 00 10 */ stfd f0, 0x10(r1) -/* 803655A0 00362500 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803655A4 00362504 41 82 00 10 */ beq lbl_803655B4 -/* 803655A8 00362508 54 03 06 3E */ clrlwi r3, r0, 0x18 -/* 803655AC 0036250C 7C 64 1B 78 */ mr r4, r3 -/* 803655B0 00362510 4B FE 5C A5 */ bl TrkSetVolume__9CAudioSysFUcUc -lbl_803655B4: -/* 803655B4 00362514 80 01 00 24 */ lwz r0, 0x24(r1) -/* 803655B8 00362518 7C 08 03 A6 */ mtlr r0 -/* 803655BC 0036251C 38 21 00 20 */ addi r1, r1, 0x20 -/* 803655C0 00362520 4E 80 00 20 */ blr - -.global HandleMusicUnmute__19CStreamAudioManagerFv -HandleMusicUnmute__19CStreamAudioManagerFv: -/* 803655C4 00362524 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803655C8 00362528 7C 08 02 A6 */ mflr r0 -/* 803655CC 0036252C 3C 60 80 5A */ lis r3, lbl_805A6B90@ha -/* 803655D0 00362530 90 01 00 14 */ stw r0, 0x14(r1) -/* 803655D4 00362534 38 63 6B 90 */ addi r3, r3, lbl_805A6B90@l -/* 803655D8 00362538 4B FF FE 79 */ bl sub_80365450 -/* 803655DC 0036253C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803655E0 00362540 7C 08 03 A6 */ mtlr r0 -/* 803655E4 00362544 38 21 00 10 */ addi r1, r1, 0x10 -/* 803655E8 00362548 4E 80 00 20 */ blr - -.global StopAllStreams__19CStreamAudioManagerFv -StopAllStreams__19CStreamAudioManagerFv: -/* 803655EC 0036254C 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 803655F0 00362550 7C 08 02 A6 */ mflr r0 -/* 803655F4 00362554 3C 80 80 54 */ lis r4, lbl_80540580@ha -/* 803655F8 00362558 3C 60 80 54 */ lis r3, lbl_805405E4@ha -/* 803655FC 0036255C 90 01 00 74 */ stw r0, 0x74(r1) -/* 80365600 00362560 93 E1 00 6C */ stw r31, 0x6c(r1) -/* 80365604 00362564 3B E4 05 80 */ addi r31, r4, lbl_80540580@l -/* 80365608 00362568 93 C1 00 68 */ stw r30, 0x68(r1) -/* 8036560C 0036256C 3B C3 05 E4 */ addi r30, r3, lbl_805405E4@l -/* 80365610 00362570 93 A1 00 64 */ stw r29, 0x64(r1) -/* 80365614 00362574 3B A0 00 00 */ li r29, 0 -lbl_80365618: -/* 80365618 00362578 7F A3 EB 78 */ mr r3, r29 -/* 8036561C 0036257C 48 00 0B 79 */ bl StopStreaming__19CStreamAudioManagerFi -/* 80365620 00362580 38 61 00 34 */ addi r3, r1, 0x34 -/* 80365624 00362584 48 00 0F 2D */ bl __ct__20SDSPStreamCacheEntryFv -/* 80365628 00362588 7F E3 FB 78 */ mr r3, r31 -/* 8036562C 0036258C 38 81 00 34 */ addi r4, r1, 0x34 -/* 80365630 00362590 4B FD 87 2D */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80365634 00362594 80 81 00 44 */ lwz r4, 0x44(r1) -/* 80365638 00362598 38 61 00 34 */ addi r3, r1, 0x34 -/* 8036563C 0036259C 80 01 00 48 */ lwz r0, 0x48(r1) -/* 80365640 003625A0 90 9F 00 10 */ stw r4, 0x10(r31) -/* 80365644 003625A4 C0 21 00 4C */ lfs f1, 0x4c(r1) -/* 80365648 003625A8 90 1F 00 14 */ stw r0, 0x14(r31) -/* 8036564C 003625AC C0 01 00 50 */ lfs f0, 0x50(r1) -/* 80365650 003625B0 D0 3F 00 18 */ stfs f1, 0x18(r31) -/* 80365654 003625B4 80 01 00 54 */ lwz r0, 0x54(r1) -/* 80365658 003625B8 D0 1F 00 1C */ stfs f0, 0x1c(r31) -/* 8036565C 003625BC C0 01 00 58 */ lfs f0, 0x58(r1) -/* 80365660 003625C0 90 1F 00 20 */ stw r0, 0x20(r31) -/* 80365664 003625C4 88 01 00 5C */ lbz r0, 0x5c(r1) -/* 80365668 003625C8 D0 1F 00 24 */ stfs f0, 0x24(r31) -/* 8036566C 003625CC 98 1F 00 28 */ stb r0, 0x28(r31) -/* 80365670 003625D0 4B FD 84 71 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80365674 003625D4 38 61 00 08 */ addi r3, r1, 8 -/* 80365678 003625D8 48 00 0E D9 */ bl __ct__20SDSPStreamCacheEntryFv -/* 8036567C 003625DC 7F C3 F3 78 */ mr r3, r30 -/* 80365680 003625E0 38 81 00 08 */ addi r4, r1, 8 -/* 80365684 003625E4 4B FD 86 D9 */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80365688 003625E8 80 81 00 18 */ lwz r4, 0x18(r1) -/* 8036568C 003625EC 38 61 00 08 */ addi r3, r1, 8 -/* 80365690 003625F0 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 80365694 003625F4 90 9E 00 10 */ stw r4, 0x10(r30) -/* 80365698 003625F8 C0 21 00 20 */ lfs f1, 0x20(r1) -/* 8036569C 003625FC 90 1E 00 14 */ stw r0, 0x14(r30) -/* 803656A0 00362600 C0 01 00 24 */ lfs f0, 0x24(r1) -/* 803656A4 00362604 D0 3E 00 18 */ stfs f1, 0x18(r30) -/* 803656A8 00362608 80 01 00 28 */ lwz r0, 0x28(r1) -/* 803656AC 0036260C D0 1E 00 1C */ stfs f0, 0x1c(r30) -/* 803656B0 00362610 C0 01 00 2C */ lfs f0, 0x2c(r1) -/* 803656B4 00362614 90 1E 00 20 */ stw r0, 0x20(r30) -/* 803656B8 00362618 88 01 00 30 */ lbz r0, 0x30(r1) -/* 803656BC 0036261C D0 1E 00 24 */ stfs f0, 0x24(r30) -/* 803656C0 00362620 98 1E 00 28 */ stb r0, 0x28(r30) -/* 803656C4 00362624 4B FD 84 1D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 803656C8 00362628 3B BD 00 01 */ addi r29, r29, 1 -/* 803656CC 0036262C 3B DE 00 2C */ addi r30, r30, 0x2c -/* 803656D0 00362630 2C 1D 00 02 */ cmpwi r29, 2 -/* 803656D4 00362634 3B FF 00 2C */ addi r31, r31, 0x2c -/* 803656D8 00362638 41 80 FF 40 */ blt lbl_80365618 -/* 803656DC 0036263C 80 01 00 74 */ lwz r0, 0x74(r1) -/* 803656E0 00362640 83 E1 00 6C */ lwz r31, 0x6c(r1) -/* 803656E4 00362644 83 C1 00 68 */ lwz r30, 0x68(r1) -/* 803656E8 00362648 83 A1 00 64 */ lwz r29, 0x64(r1) -/* 803656EC 0036264C 7C 08 03 A6 */ mtlr r0 -/* 803656F0 00362650 38 21 00 70 */ addi r1, r1, 0x70 -/* 803656F4 00362654 4E 80 00 20 */ blr - -.global sub_803656f8 -sub_803656f8: -/* 803656F8 00362658 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803656FC 0036265C 7C 08 02 A6 */ mflr r0 -/* 80365700 00362660 90 01 00 14 */ stw r0, 0x14(r1) -/* 80365704 00362664 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80365708 00362668 7C 9F 23 78 */ mr r31, r4 -/* 8036570C 0036266C 93 C1 00 08 */ stw r30, 8(r1) -/* 80365710 00362670 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80365714 00362674 41 82 00 1C */ beq lbl_80365730 -/* 80365718 00362678 41 82 00 08 */ beq lbl_80365720 -/* 8036571C 0036267C 4B FD 83 C5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_80365720: -/* 80365720 00362680 7F E0 07 35 */ extsh. r0, r31 -/* 80365724 00362684 40 81 00 0C */ ble lbl_80365730 -/* 80365728 00362688 7F C3 F3 78 */ mr r3, r30 -/* 8036572C 0036268C 4B FB 02 05 */ bl Free__7CMemoryFPCv -lbl_80365730: -/* 80365730 00362690 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80365734 00362694 7F C3 F3 78 */ mr r3, r30 -/* 80365738 00362698 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8036573C 0036269C 83 C1 00 08 */ lwz r30, 8(r1) -/* 80365740 003626A0 7C 08 03 A6 */ mtlr r0 -/* 80365744 003626A4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80365748 003626A8 4E 80 00 20 */ blr - -.global HandleMusicMute__19CStreamAudioManagerFv -HandleMusicMute__19CStreamAudioManagerFv: -/* 8036574C 003626AC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80365750 003626B0 7C 08 02 A6 */ mflr r0 -/* 80365754 003626B4 90 01 00 24 */ stw r0, 0x24(r1) -/* 80365758 003626B8 4B FE 5B A5 */ bl TrkFlushTracks__9CAudioSysFv -/* 8036575C 003626BC 38 60 00 00 */ li r3, 0 -/* 80365760 003626C0 4B FE 5B 3D */ bl TrkSetState__9CAudioSysF13ETRKPlayState -/* 80365764 003626C4 3C 80 80 3E */ lis r4, lbl_803D8410@ha -/* 80365768 003626C8 38 61 00 08 */ addi r3, r1, 8 -/* 8036576C 003626CC 38 84 84 10 */ addi r4, r4, lbl_803D8410@l -/* 80365770 003626D0 4B C9 F5 49 */ bl string_l__4rstlFPCc -/* 80365774 003626D4 3C 60 80 5A */ lis r3, lbl_805A6B90@ha -/* 80365778 003626D8 38 81 00 08 */ addi r4, r1, 8 -/* 8036577C 003626DC 38 63 6B 90 */ addi r3, r3, lbl_805A6B90@l -/* 80365780 003626E0 4B FD 85 DD */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80365784 003626E4 38 61 00 08 */ addi r3, r1, 8 -/* 80365788 003626E8 4B FD 83 59 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8036578C 003626EC C0 02 CD BC */ lfs f0, lbl_805AEADC@sda21(r2) -/* 80365790 003626F0 38 00 00 01 */ li r0, 1 -/* 80365794 003626F4 C0 2D 9E 74 */ lfs f1, lbl_805A8A34@sda21(r13) -/* 80365798 003626F8 90 0D 9E 70 */ stw r0, lbl_805A8A30@sda21(r13) -/* 8036579C 003626FC FC 00 08 00 */ fcmpu cr0, f0, f1 -/* 803657A0 00362700 41 82 00 08 */ beq lbl_803657A8 -/* 803657A4 00362704 4B FF FD AD */ bl InternalSetVolume__19CStreamAudioManagerFf -lbl_803657A8: -/* 803657A8 00362708 80 01 00 24 */ lwz r0, 0x24(r1) -/* 803657AC 0036270C 7C 08 03 A6 */ mtlr r0 -/* 803657B0 00362710 38 21 00 20 */ addi r1, r1, 0x20 -/* 803657B4 00362714 4E 80 00 20 */ blr - -.global StopOneShot__19CStreamAudioManagerFv -StopOneShot__19CStreamAudioManagerFv: -/* 803657B8 00362718 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 803657BC 0036271C 7C 08 02 A6 */ mflr r0 -/* 803657C0 00362720 38 60 00 01 */ li r3, 1 -/* 803657C4 00362724 90 01 00 64 */ stw r0, 0x64(r1) -/* 803657C8 00362728 48 00 09 CD */ bl StopStreaming__19CStreamAudioManagerFi -/* 803657CC 0036272C 38 61 00 34 */ addi r3, r1, 0x34 -/* 803657D0 00362730 48 00 0D 81 */ bl __ct__20SDSPStreamCacheEntryFv -/* 803657D4 00362734 3C 60 80 54 */ lis r3, lbl_80540580@ha -/* 803657D8 00362738 38 81 00 34 */ addi r4, r1, 0x34 -/* 803657DC 0036273C 38 63 05 80 */ addi r3, r3, lbl_80540580@l -/* 803657E0 00362740 38 63 00 2C */ addi r3, r3, 0x2c -/* 803657E4 00362744 4B FD 85 79 */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 803657E8 00362748 3C 60 80 54 */ lis r3, lbl_80540580@ha -/* 803657EC 0036274C 80 E1 00 44 */ lwz r7, 0x44(r1) -/* 803657F0 00362750 38 C3 05 80 */ addi r6, r3, lbl_80540580@l -/* 803657F4 00362754 80 A1 00 48 */ lwz r5, 0x48(r1) -/* 803657F8 00362758 C0 41 00 4C */ lfs f2, 0x4c(r1) -/* 803657FC 0036275C 38 61 00 34 */ addi r3, r1, 0x34 -/* 80365800 00362760 C0 21 00 50 */ lfs f1, 0x50(r1) -/* 80365804 00362764 80 81 00 54 */ lwz r4, 0x54(r1) -/* 80365808 00362768 C0 01 00 58 */ lfs f0, 0x58(r1) -/* 8036580C 0036276C 88 01 00 5C */ lbz r0, 0x5c(r1) -/* 80365810 00362770 90 E6 00 3C */ stw r7, 0x3c(r6) -/* 80365814 00362774 90 A6 00 40 */ stw r5, 0x40(r6) -/* 80365818 00362778 D0 46 00 44 */ stfs f2, 0x44(r6) -/* 8036581C 0036277C D0 26 00 48 */ stfs f1, 0x48(r6) -/* 80365820 00362780 90 86 00 4C */ stw r4, 0x4c(r6) -/* 80365824 00362784 D0 06 00 50 */ stfs f0, 0x50(r6) -/* 80365828 00362788 98 06 00 54 */ stb r0, 0x54(r6) -/* 8036582C 0036278C 4B FD 82 B5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80365830 00362790 38 61 00 08 */ addi r3, r1, 8 -/* 80365834 00362794 48 00 0D 1D */ bl __ct__20SDSPStreamCacheEntryFv -/* 80365838 00362798 3C 60 80 54 */ lis r3, lbl_805405E4@ha -/* 8036583C 0036279C 38 81 00 08 */ addi r4, r1, 8 -/* 80365840 003627A0 38 63 05 E4 */ addi r3, r3, lbl_805405E4@l -/* 80365844 003627A4 38 63 00 2C */ addi r3, r3, 0x2c -/* 80365848 003627A8 4B FD 85 15 */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8036584C 003627AC 3C 60 80 54 */ lis r3, lbl_805405E4@ha -/* 80365850 003627B0 80 E1 00 18 */ lwz r7, 0x18(r1) -/* 80365854 003627B4 38 C3 05 E4 */ addi r6, r3, lbl_805405E4@l -/* 80365858 003627B8 80 A1 00 1C */ lwz r5, 0x1c(r1) -/* 8036585C 003627BC C0 41 00 20 */ lfs f2, 0x20(r1) -/* 80365860 003627C0 38 61 00 08 */ addi r3, r1, 8 -/* 80365864 003627C4 C0 21 00 24 */ lfs f1, 0x24(r1) -/* 80365868 003627C8 80 81 00 28 */ lwz r4, 0x28(r1) -/* 8036586C 003627CC C0 01 00 2C */ lfs f0, 0x2c(r1) -/* 80365870 003627D0 88 01 00 30 */ lbz r0, 0x30(r1) -/* 80365874 003627D4 90 E6 00 3C */ stw r7, 0x3c(r6) -/* 80365878 003627D8 90 A6 00 40 */ stw r5, 0x40(r6) -/* 8036587C 003627DC D0 46 00 44 */ stfs f2, 0x44(r6) -/* 80365880 003627E0 D0 26 00 48 */ stfs f1, 0x48(r6) -/* 80365884 003627E4 90 86 00 4C */ stw r4, 0x4c(r6) -/* 80365888 003627E8 D0 06 00 50 */ stfs f0, 0x50(r6) -/* 8036588C 003627EC 98 06 00 54 */ stb r0, 0x54(r6) -/* 80365890 003627F0 4B FD 82 51 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80365894 003627F4 80 01 00 64 */ lwz r0, 0x64(r1) -/* 80365898 003627F8 7C 08 03 A6 */ mtlr r0 -/* 8036589C 003627FC 38 21 00 60 */ addi r1, r1, 0x60 -/* 803658A0 00362800 4E 80 00 20 */ blr - -.global StopAll__19CStreamAudioManagerFv -StopAll__19CStreamAudioManagerFv: -/* 803658A4 00362804 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803658A8 00362808 7C 08 02 A6 */ mflr r0 -/* 803658AC 0036280C 90 01 00 14 */ stw r0, 0x14(r1) -/* 803658B0 00362810 4B FF FE 9D */ bl HandleMusicMute__19CStreamAudioManagerFv -/* 803658B4 00362814 4B FF FD 39 */ bl StopAllStreams__19CStreamAudioManagerFv -/* 803658B8 00362818 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803658BC 0036281C 7C 08 03 A6 */ mtlr r0 -/* 803658C0 00362820 38 21 00 10 */ addi r1, r1, 0x10 -/* 803658C4 00362824 4E 80 00 20 */ blr - -.global SetMusicUnmute__19CStreamAudioManagerFb -SetMusicUnmute__19CStreamAudioManagerFb: -/* 803658C8 00362828 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803658CC 0036282C 7C 08 02 A6 */ mflr r0 -/* 803658D0 00362830 54 64 06 3E */ clrlwi r4, r3, 0x18 -/* 803658D4 00362834 90 01 00 14 */ stw r0, 0x14(r1) -/* 803658D8 00362838 88 0D 9E 80 */ lbz r0, lbl_805A8A40@sda21(r13) -/* 803658DC 0036283C 7C 04 00 40 */ cmplw r4, r0 -/* 803658E0 00362840 41 82 00 1C */ beq lbl_803658FC -/* 803658E4 00362844 28 04 00 00 */ cmplwi r4, 0 -/* 803658E8 00362848 98 6D 9E 80 */ stb r3, lbl_805A8A40@sda21(r13) -/* 803658EC 0036284C 41 82 00 0C */ beq lbl_803658F8 -/* 803658F0 00362850 4B FF FC D5 */ bl HandleMusicUnmute__19CStreamAudioManagerFv -/* 803658F4 00362854 48 00 00 08 */ b lbl_803658FC -lbl_803658F8: -/* 803658F8 00362858 4B FF FE 55 */ bl HandleMusicMute__19CStreamAudioManagerFv -lbl_803658FC: -/* 803658FC 0036285C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80365900 00362860 7C 08 03 A6 */ mtlr r0 -/* 80365904 00362864 38 21 00 10 */ addi r1, r1, 0x10 -/* 80365908 00362868 4E 80 00 20 */ blr - -.global sub_8036590c -sub_8036590c: -/* 8036590C 0036286C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80365910 00362870 7C 08 02 A6 */ mflr r0 -/* 80365914 00362874 C0 02 CD B0 */ lfs f0, lbl_805AEAD0@sda21(r2) -/* 80365918 00362878 90 01 00 24 */ stw r0, 0x24(r1) -/* 8036591C 0036287C FC 00 08 00 */ fcmpu cr0, f0, f1 -/* 80365920 00362880 40 82 00 18 */ bne lbl_80365938 -/* 80365924 00362884 C0 2D AA C0 */ lfs f1, lbl_805A9680@sda21(r13) -/* 80365928 00362888 C0 0D 9E 74 */ lfs f0, lbl_805A8A34@sda21(r13) -/* 8036592C 0036288C D0 2D AA C8 */ stfs f1, lbl_805A9688@sda21(r13) -/* 80365930 00362890 D0 0D AA C4 */ stfs f0, lbl_805A9684@sda21(r13) -/* 80365934 00362894 48 00 00 1C */ b lbl_80365950 -lbl_80365938: -/* 80365938 00362898 C0 4D AA C0 */ lfs f2, lbl_805A9680@sda21(r13) -/* 8036593C 0036289C C0 0D 9E 74 */ lfs f0, lbl_805A8A34@sda21(r13) -/* 80365940 003628A0 EC 42 08 24 */ fdivs f2, f2, f1 -/* 80365944 003628A4 EC 00 08 24 */ fdivs f0, f0, f1 -/* 80365948 003628A8 D0 4D AA C8 */ stfs f2, lbl_805A9688@sda21(r13) -/* 8036594C 003628AC D0 0D AA C4 */ stfs f0, lbl_805A9684@sda21(r13) -lbl_80365950: -/* 80365950 003628B0 3C 60 80 5A */ lis r3, lbl_805A6BA0@ha -/* 80365954 003628B4 3C 80 80 5A */ lis r4, lbl_805A6B60@ha -/* 80365958 003628B8 38 63 6B A0 */ addi r3, r3, lbl_805A6BA0@l -/* 8036595C 003628BC 38 84 6B 60 */ addi r4, r4, lbl_805A6B60@l -/* 80365960 003628C0 4B FD 83 FD */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80365964 003628C4 3C 60 80 5A */ lis r3, lbl_805A6B60@ha -/* 80365968 003628C8 3C 80 80 3E */ lis r4, lbl_803D8410@ha -/* 8036596C 003628CC 38 63 6B 60 */ addi r3, r3, lbl_805A6B60@l -/* 80365970 003628D0 38 84 84 10 */ addi r4, r4, lbl_803D8410@l -/* 80365974 003628D4 48 00 00 79 */ bl AreStringsNotEqual__21CStreamedAudioManagerFPCcPCc -/* 80365978 003628D8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8036597C 003628DC 41 82 00 2C */ beq lbl_803659A8 -/* 80365980 003628E0 3C 60 80 5A */ lis r3, lbl_805A6B90@ha -/* 80365984 003628E4 3C 80 80 5A */ lis r4, lbl_805A6B60@ha -/* 80365988 003628E8 38 63 6B 90 */ addi r3, r3, lbl_805A6B90@l -/* 8036598C 003628EC 38 84 6B 60 */ addi r4, r4, lbl_805A6B60@l -/* 80365990 003628F0 4B FF FB 95 */ bl sub_80365524 -/* 80365994 003628F4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80365998 003628F8 41 82 00 10 */ beq lbl_803659A8 -/* 8036599C 003628FC 38 00 00 02 */ li r0, 2 -/* 803659A0 00362900 90 0D 9E 70 */ stw r0, lbl_805A8A30@sda21(r13) -/* 803659A4 00362904 48 00 00 38 */ b lbl_803659DC -lbl_803659A8: -/* 803659A8 00362908 38 00 00 00 */ li r0, 0 -/* 803659AC 0036290C 38 8D A9 18 */ addi r4, r13, "_EmptyString__Q24rstl66basic_string,Q24rstl17rmemory_allocator>"@sda21 -/* 803659B0 00362910 3C 60 80 5A */ lis r3, lbl_805A6B60@ha -/* 803659B4 00362914 90 81 00 08 */ stw r4, 8(r1) -/* 803659B8 00362918 38 63 6B 60 */ addi r3, r3, lbl_805A6B60@l -/* 803659BC 0036291C 38 81 00 08 */ addi r4, r1, 8 -/* 803659C0 00362920 90 01 00 0C */ stw r0, 0xc(r1) -/* 803659C4 00362924 90 01 00 10 */ stw r0, 0x10(r1) -/* 803659C8 00362928 4B FD 83 95 */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 803659CC 0036292C 38 61 00 08 */ addi r3, r1, 8 -/* 803659D0 00362930 4B FD 81 11 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 803659D4 00362934 38 00 00 05 */ li r0, 5 -/* 803659D8 00362938 90 0D 9E 70 */ stw r0, lbl_805A8A30@sda21(r13) -lbl_803659DC: -/* 803659DC 0036293C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 803659E0 00362940 7C 08 03 A6 */ mtlr r0 -/* 803659E4 00362944 38 21 00 20 */ addi r1, r1, 0x20 -/* 803659E8 00362948 4E 80 00 20 */ blr - -.global AreStringsNotEqual__21CStreamedAudioManagerFPCcPCc -AreStringsNotEqual__21CStreamedAudioManagerFPCcPCc: -/* 803659EC 0036294C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803659F0 00362950 7C 08 02 A6 */ mflr r0 -/* 803659F4 00362954 38 A0 FF FF */ li r5, -1 -/* 803659F8 00362958 90 01 00 14 */ stw r0, 0x14(r1) -/* 803659FC 0036295C 4B D1 4A 91 */ bl CompareStateString__10CPatternedFPCcPCci -/* 80365A00 00362960 7C 03 00 D0 */ neg r0, r3 -/* 80365A04 00362964 7C 00 1B 78 */ or r0, r0, r3 -/* 80365A08 00362968 54 03 0F FE */ srwi r3, r0, 0x1f -/* 80365A0C 0036296C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80365A10 00362970 7C 08 03 A6 */ mtlr r0 -/* 80365A14 00362974 38 21 00 10 */ addi r1, r1, 0x10 -/* 80365A18 00362978 4E 80 00 20 */ blr - -.global SetSfxVolume__21CStreamedAudioManagerFUc -SetSfxVolume__21CStreamedAudioManagerFUc: -/* 80365A1C 0036297C 2C 03 00 7F */ cmpwi r3, 0x7f -/* 80365A20 00362980 90 6D 9E 7C */ stw r3, lbl_805A8A3C@sda21(r13) -/* 80365A24 00362984 4C 81 00 20 */ blelr -/* 80365A28 00362988 38 00 00 7F */ li r0, 0x7f -/* 80365A2C 0036298C 90 0D 9E 7C */ stw r0, lbl_805A8A3C@sda21(r13) -/* 80365A30 00362990 4E 80 00 20 */ blr - -.global SetMusicVolume__19CStreamAudioManagerFi -SetMusicVolume__19CStreamAudioManagerFi: -/* 80365A34 00362994 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80365A38 00362998 7C 08 02 A6 */ mflr r0 -/* 80365A3C 0036299C 2C 03 00 7F */ cmpwi r3, 0x7f -/* 80365A40 003629A0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80365A44 003629A4 90 6D 9E 78 */ stw r3, lbl_805A8A38@sda21(r13) -/* 80365A48 003629A8 40 81 00 0C */ ble lbl_80365A54 -/* 80365A4C 003629AC 38 00 00 7F */ li r0, 0x7f -/* 80365A50 003629B0 90 0D 9E 78 */ stw r0, lbl_805A8A38@sda21(r13) -lbl_80365A54: -/* 80365A54 003629B4 C0 2D AA C0 */ lfs f1, lbl_805A9680@sda21(r13) -/* 80365A58 003629B8 4B FF FA F9 */ bl InternalSetVolume__19CStreamAudioManagerFf -/* 80365A5C 003629BC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80365A60 003629C0 7C 08 03 A6 */ mtlr r0 -/* 80365A64 003629C4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80365A68 003629C8 4E 80 00 20 */ blr - -.global "SetCurrentAudio__19CStreamAudioManagerFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>fUc" -"SetCurrentAudio__19CStreamAudioManagerFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>fUc": -/* 80365A6C 003629CC 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80365A70 003629D0 7C 08 02 A6 */ mflr r0 -/* 80365A74 003629D4 90 01 00 44 */ stw r0, 0x44(r1) -/* 80365A78 003629D8 DB E1 00 30 */ stfd f31, 0x30(r1) -/* 80365A7C 003629DC F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 80365A80 003629E0 DB C1 00 20 */ stfd f30, 0x20(r1) -/* 80365A84 003629E4 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 -/* 80365A88 003629E8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80365A8C 003629EC 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80365A90 003629F0 3C 00 43 30 */ lis r0, 0x4330 -/* 80365A94 003629F4 54 85 06 3E */ clrlwi r5, r4, 0x18 -/* 80365A98 003629F8 90 A1 00 0C */ stw r5, 0xc(r1) -/* 80365A9C 003629FC 7C 9F 23 78 */ mr r31, r4 -/* 80365AA0 00362A00 3C 80 80 5A */ lis r4, lbl_805A6B90@ha -/* 80365AA4 00362A04 C8 62 CD C8 */ lfd f3, lbl_805AEAE8@sda21(r2) -/* 80365AA8 00362A08 90 01 00 08 */ stw r0, 8(r1) -/* 80365AAC 00362A0C FF C0 08 90 */ fmr f30, f1 -/* 80365AB0 00362A10 FF E0 10 90 */ fmr f31, f2 -/* 80365AB4 00362A14 38 84 6B 90 */ addi r4, r4, lbl_805A6B90@l -/* 80365AB8 00362A18 C8 01 00 08 */ lfd f0, 8(r1) -/* 80365ABC 00362A1C 7C 7E 1B 78 */ mr r30, r3 -/* 80365AC0 00362A20 EC 00 18 28 */ fsubs f0, f0, f3 -/* 80365AC4 00362A24 D0 0D 9E 74 */ stfs f0, lbl_805A8A34@sda21(r13) -/* 80365AC8 00362A28 4B CE CB 19 */ 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" -/* 80365ACC 00362A2C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80365AD0 00362A30 41 82 00 3C */ beq lbl_80365B0C -/* 80365AD4 00362A34 57 E3 06 3E */ clrlwi r3, r31, 0x18 -/* 80365AD8 00362A38 3C 00 43 30 */ lis r0, 0x4330 -/* 80365ADC 00362A3C 90 61 00 0C */ stw r3, 0xc(r1) -/* 80365AE0 00362A40 C8 42 CD C8 */ lfd f2, lbl_805AEAE8@sda21(r2) -/* 80365AE4 00362A44 90 01 00 08 */ stw r0, 8(r1) -/* 80365AE8 00362A48 C8 01 00 08 */ lfd f0, 8(r1) -/* 80365AEC 00362A4C 90 61 00 14 */ stw r3, 0x14(r1) -/* 80365AF0 00362A50 EC 20 10 28 */ fsubs f1, f0, f2 -/* 80365AF4 00362A54 90 01 00 10 */ stw r0, 0x10(r1) -/* 80365AF8 00362A58 C8 01 00 10 */ lfd f0, 0x10(r1) -/* 80365AFC 00362A5C D0 2D AA C0 */ stfs f1, lbl_805A9680@sda21(r13) -/* 80365B00 00362A60 EC 20 10 28 */ fsubs f1, f0, f2 -/* 80365B04 00362A64 4B FF FA 4D */ bl InternalSetVolume__19CStreamAudioManagerFf -/* 80365B08 00362A68 48 00 00 88 */ b lbl_80365B90 -lbl_80365B0C: -/* 80365B0C 00362A6C C0 02 CD B0 */ lfs f0, lbl_805AEAD0@sda21(r2) -/* 80365B10 00362A70 FC 00 F0 00 */ fcmpu cr0, f0, f30 -/* 80365B14 00362A74 40 82 00 0C */ bne lbl_80365B20 -/* 80365B18 00362A78 C0 2D AA C0 */ lfs f1, lbl_805A9680@sda21(r13) -/* 80365B1C 00362A7C 48 00 00 0C */ b lbl_80365B28 -lbl_80365B20: -/* 80365B20 00362A80 C0 0D AA C0 */ lfs f0, lbl_805A9680@sda21(r13) -/* 80365B24 00362A84 EC 20 F0 24 */ fdivs f1, f0, f30 -lbl_80365B28: -/* 80365B28 00362A88 C0 02 CD B0 */ lfs f0, lbl_805AEAD0@sda21(r2) -/* 80365B2C 00362A8C D0 2D AA C8 */ stfs f1, lbl_805A9688@sda21(r13) -/* 80365B30 00362A90 FC 00 F8 00 */ fcmpu cr0, f0, f31 -/* 80365B34 00362A94 40 82 00 0C */ bne lbl_80365B40 -/* 80365B38 00362A98 C0 0D 9E 74 */ lfs f0, lbl_805A8A34@sda21(r13) -/* 80365B3C 00362A9C 48 00 00 0C */ b lbl_80365B48 -lbl_80365B40: -/* 80365B40 00362AA0 C0 0D 9E 74 */ lfs f0, lbl_805A8A34@sda21(r13) -/* 80365B44 00362AA4 EC 00 F8 24 */ fdivs f0, f0, f31 -lbl_80365B48: -/* 80365B48 00362AA8 80 0D 9E 70 */ lwz r0, lbl_805A8A30@sda21(r13) -/* 80365B4C 00362AAC D0 0D AA C4 */ stfs f0, lbl_805A9684@sda21(r13) -/* 80365B50 00362AB0 2C 00 00 01 */ cmpwi r0, 1 -/* 80365B54 00362AB4 40 82 00 24 */ bne lbl_80365B78 -/* 80365B58 00362AB8 C0 22 CD B0 */ lfs f1, lbl_805AEAD0@sda21(r2) -/* 80365B5C 00362ABC D0 2D AA C0 */ stfs f1, lbl_805A9680@sda21(r13) -/* 80365B60 00362AC0 4B FF F9 F1 */ bl InternalSetVolume__19CStreamAudioManagerFf -/* 80365B64 00362AC4 7F C3 F3 78 */ mr r3, r30 -/* 80365B68 00362AC8 4B FF F8 E9 */ bl sub_80365450 -/* 80365B6C 00362ACC 38 00 00 04 */ li r0, 4 -/* 80365B70 00362AD0 90 0D 9E 70 */ stw r0, lbl_805A8A30@sda21(r13) -/* 80365B74 00362AD4 48 00 00 1C */ b lbl_80365B90 -lbl_80365B78: -/* 80365B78 00362AD8 38 00 00 02 */ li r0, 2 -/* 80365B7C 00362ADC 3C 60 80 5A */ lis r3, lbl_805A6BA0@ha -/* 80365B80 00362AE0 90 0D 9E 70 */ stw r0, lbl_805A8A30@sda21(r13) -/* 80365B84 00362AE4 38 63 6B A0 */ addi r3, r3, lbl_805A6BA0@l -/* 80365B88 00362AE8 7F C4 F3 78 */ mr r4, r30 -/* 80365B8C 00362AEC 4B FD 81 D1 */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -lbl_80365B90: -/* 80365B90 00362AF0 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 80365B94 00362AF4 CB E1 00 30 */ lfd f31, 0x30(r1) -/* 80365B98 00362AF8 E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 -/* 80365B9C 00362AFC CB C1 00 20 */ lfd f30, 0x20(r1) -/* 80365BA0 00362B00 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80365BA4 00362B04 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80365BA8 00362B08 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80365BAC 00362B0C 7C 08 03 A6 */ mtlr r0 -/* 80365BB0 00362B10 38 21 00 40 */ addi r1, r1, 0x40 -/* 80365BB4 00362B14 4E 80 00 20 */ blr - -.global "SetDefaultAudio__19CStreamAudioManagerFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>fUc" -"SetDefaultAudio__19CStreamAudioManagerFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>fUc": -/* 80365BB8 00362B18 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80365BBC 00362B1C 7C 08 02 A6 */ mflr r0 -/* 80365BC0 00362B20 3C A0 80 5A */ lis r5, lbl_805A6B60@ha -/* 80365BC4 00362B24 90 01 00 24 */ stw r0, 0x24(r1) -/* 80365BC8 00362B28 DB E1 00 18 */ stfd f31, 0x18(r1) -/* 80365BCC 00362B2C FF E0 10 90 */ fmr f31, f2 -/* 80365BD0 00362B30 DB C1 00 10 */ stfd f30, 0x10(r1) -/* 80365BD4 00362B34 FF C0 08 90 */ fmr f30, f1 -/* 80365BD8 00362B38 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80365BDC 00362B3C 7C 9F 23 78 */ mr r31, r4 -/* 80365BE0 00362B40 93 C1 00 08 */ stw r30, 8(r1) -/* 80365BE4 00362B44 7C 7E 1B 78 */ mr r30, r3 -/* 80365BE8 00362B48 38 65 6B 60 */ addi r3, r5, lbl_805A6B60@l -/* 80365BEC 00362B4C 7F C4 F3 78 */ mr r4, r30 -/* 80365BF0 00362B50 4B FD 81 6D */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80365BF4 00362B54 FC 20 F0 90 */ fmr f1, f30 -/* 80365BF8 00362B58 7F C3 F3 78 */ mr r3, r30 -/* 80365BFC 00362B5C FC 40 F8 90 */ fmr f2, f31 -/* 80365C00 00362B60 7F E4 FB 78 */ mr r4, r31 -/* 80365C04 00362B64 4B FF FE 69 */ bl "SetCurrentAudio__19CStreamAudioManagerFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>fUc" -/* 80365C08 00362B68 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80365C0C 00362B6C CB E1 00 18 */ lfd f31, 0x18(r1) -/* 80365C10 00362B70 CB C1 00 10 */ lfd f30, 0x10(r1) -/* 80365C14 00362B74 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80365C18 00362B78 83 C1 00 08 */ lwz r30, 8(r1) -/* 80365C1C 00362B7C 7C 08 03 A6 */ mtlr r0 -/* 80365C20 00362B80 38 21 00 20 */ addi r1, r1, 0x20 -/* 80365C24 00362B84 4E 80 00 20 */ blr - -.global Update__19CStreamAudioManagerFf -Update__19CStreamAudioManagerFf: -/* 80365C28 00362B88 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80365C2C 00362B8C 7C 08 02 A6 */ mflr r0 -/* 80365C30 00362B90 90 01 00 24 */ stw r0, 0x24(r1) -/* 80365C34 00362B94 DB E1 00 10 */ stfd f31, 0x10(r1) -/* 80365C38 00362B98 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 -/* 80365C3C 00362B9C 80 0D 9E 70 */ lwz r0, lbl_805A8A30@sda21(r13) -/* 80365C40 00362BA0 FF E0 08 90 */ fmr f31, f1 -/* 80365C44 00362BA4 2C 00 00 05 */ cmpwi r0, 5 -/* 80365C48 00362BA8 41 82 00 68 */ beq lbl_80365CB0 -/* 80365C4C 00362BAC 40 80 00 14 */ bge lbl_80365C60 -/* 80365C50 00362BB0 2C 00 00 02 */ cmpwi r0, 2 -/* 80365C54 00362BB4 41 82 00 18 */ beq lbl_80365C6C -/* 80365C58 00362BB8 40 80 00 D4 */ bge lbl_80365D2C -/* 80365C5C 00362BBC 48 00 01 04 */ b lbl_80365D60 -lbl_80365C60: -/* 80365C60 00362BC0 2C 00 00 07 */ cmpwi r0, 7 -/* 80365C64 00362BC4 40 80 00 FC */ bge lbl_80365D60 -/* 80365C68 00362BC8 48 00 00 8C */ b lbl_80365CF4 -lbl_80365C6C: -/* 80365C6C 00362BCC C0 4D AA C8 */ lfs f2, lbl_805A9688@sda21(r13) -/* 80365C70 00362BD0 C0 2D AA C0 */ lfs f1, lbl_805A9680@sda21(r13) -/* 80365C74 00362BD4 C0 02 CD B0 */ lfs f0, lbl_805AEAD0@sda21(r2) -/* 80365C78 00362BD8 EC 22 0F FC */ fnmsubs f1, f2, f31, f1 -/* 80365C7C 00362BDC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80365C80 00362BE0 D0 2D AA C0 */ stfs f1, lbl_805A9680@sda21(r13) -/* 80365C84 00362BE4 4C 40 13 82 */ cror 2, 0, 2 -/* 80365C88 00362BE8 40 82 00 1C */ bne lbl_80365CA4 -/* 80365C8C 00362BEC 3C 60 80 5A */ lis r3, lbl_805A6BA0@ha -/* 80365C90 00362BF0 D0 0D AA C0 */ stfs f0, lbl_805A9680@sda21(r13) -/* 80365C94 00362BF4 38 63 6B A0 */ addi r3, r3, lbl_805A6BA0@l -/* 80365C98 00362BF8 4B FF F7 B9 */ bl sub_80365450 -/* 80365C9C 00362BFC 38 00 00 03 */ li r0, 3 -/* 80365CA0 00362C00 90 0D 9E 70 */ stw r0, lbl_805A8A30@sda21(r13) -lbl_80365CA4: -/* 80365CA4 00362C04 C0 2D AA C0 */ lfs f1, lbl_805A9680@sda21(r13) -/* 80365CA8 00362C08 4B FF F8 A9 */ bl InternalSetVolume__19CStreamAudioManagerFf -/* 80365CAC 00362C0C 48 00 00 B4 */ b lbl_80365D60 -lbl_80365CB0: -/* 80365CB0 00362C10 C0 4D AA C8 */ lfs f2, lbl_805A9688@sda21(r13) -/* 80365CB4 00362C14 C0 2D AA C0 */ lfs f1, lbl_805A9680@sda21(r13) -/* 80365CB8 00362C18 C0 02 CD B0 */ lfs f0, lbl_805AEAD0@sda21(r2) -/* 80365CBC 00362C1C EC 22 0F FC */ fnmsubs f1, f2, f31, f1 -/* 80365CC0 00362C20 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80365CC4 00362C24 D0 2D AA C0 */ stfs f1, lbl_805A9680@sda21(r13) -/* 80365CC8 00362C28 4C 40 13 82 */ cror 2, 0, 2 -/* 80365CCC 00362C2C 40 82 00 20 */ bne lbl_80365CEC -/* 80365CD0 00362C30 38 00 00 01 */ li r0, 1 -/* 80365CD4 00362C34 D0 0D AA C0 */ stfs f0, lbl_805A9680@sda21(r13) -/* 80365CD8 00362C38 90 0D 9E 70 */ stw r0, lbl_805A8A30@sda21(r13) -/* 80365CDC 00362C3C 4B FF FA 71 */ bl HandleMusicMute__19CStreamAudioManagerFv -/* 80365CE0 00362C40 C0 2D 9E 74 */ lfs f1, lbl_805A8A34@sda21(r13) -/* 80365CE4 00362C44 4B FF F8 6D */ bl InternalSetVolume__19CStreamAudioManagerFf -/* 80365CE8 00362C48 48 00 00 78 */ b lbl_80365D60 -lbl_80365CEC: -/* 80365CEC 00362C4C 4B FF F8 65 */ bl InternalSetVolume__19CStreamAudioManagerFf -/* 80365CF0 00362C50 48 00 00 70 */ b lbl_80365D60 -lbl_80365CF4: -/* 80365CF4 00362C54 C0 4D AA C8 */ lfs f2, lbl_805A9688@sda21(r13) -/* 80365CF8 00362C58 C0 0D AA C0 */ lfs f0, lbl_805A9680@sda21(r13) -/* 80365CFC 00362C5C C0 22 CD B0 */ lfs f1, lbl_805AEAD0@sda21(r2) -/* 80365D00 00362C60 EC 02 07 FC */ fnmsubs f0, f2, f31, f0 -/* 80365D04 00362C64 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80365D08 00362C68 D0 0D AA C0 */ stfs f0, lbl_805A9680@sda21(r13) -/* 80365D0C 00362C6C 4C 40 13 82 */ cror 2, 0, 2 -/* 80365D10 00362C70 40 82 00 10 */ bne lbl_80365D20 -/* 80365D14 00362C74 D0 2D AA C0 */ stfs f1, lbl_805A9680@sda21(r13) -/* 80365D18 00362C78 4B FF F8 39 */ bl InternalSetVolume__19CStreamAudioManagerFf -/* 80365D1C 00362C7C 48 00 00 44 */ b lbl_80365D60 -lbl_80365D20: -/* 80365D20 00362C80 FC 20 00 90 */ fmr f1, f0 -/* 80365D24 00362C84 4B FF F8 2D */ bl InternalSetVolume__19CStreamAudioManagerFf -/* 80365D28 00362C88 48 00 00 38 */ b lbl_80365D60 -lbl_80365D2C: -/* 80365D2C 00362C8C C0 2D AA C4 */ lfs f1, lbl_805A9684@sda21(r13) -/* 80365D30 00362C90 C0 0D AA C0 */ lfs f0, lbl_805A9680@sda21(r13) -/* 80365D34 00362C94 C0 4D 9E 74 */ lfs f2, lbl_805A8A34@sda21(r13) -/* 80365D38 00362C98 EC 01 07 FA */ fmadds f0, f1, f31, f0 -/* 80365D3C 00362C9C FC 00 10 40 */ fcmpo cr0, f0, f2 -/* 80365D40 00362CA0 D0 0D AA C0 */ stfs f0, lbl_805A9680@sda21(r13) -/* 80365D44 00362CA4 4C 41 13 82 */ cror 2, 1, 2 -/* 80365D48 00362CA8 40 82 00 10 */ bne lbl_80365D58 -/* 80365D4C 00362CAC 38 00 00 00 */ li r0, 0 -/* 80365D50 00362CB0 D0 4D AA C0 */ stfs f2, lbl_805A9680@sda21(r13) -/* 80365D54 00362CB4 90 0D 9E 70 */ stw r0, lbl_805A8A30@sda21(r13) -lbl_80365D58: -/* 80365D58 00362CB8 C0 2D AA C0 */ lfs f1, lbl_805A9680@sda21(r13) -/* 80365D5C 00362CBC 4B FF F7 F5 */ bl InternalSetVolume__19CStreamAudioManagerFf -lbl_80365D60: -/* 80365D60 00362CC0 FC 20 F8 90 */ fmr f1, f31 -/* 80365D64 00362CC4 48 00 03 F5 */ bl UpdateDSPStreamers__19CStreamAudioManagerFf -/* 80365D68 00362CC8 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 -/* 80365D6C 00362CCC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80365D70 00362CD0 CB E1 00 10 */ lfd f31, 0x10(r1) -/* 80365D74 00362CD4 7C 08 03 A6 */ mtlr r0 -/* 80365D78 00362CD8 38 21 00 20 */ addi r1, r1, 0x20 -/* 80365D7C 00362CDC 4E 80 00 20 */ blr - -.global Start__19CStreamAudioManagerFiRCQ24rstl6stringib -Start__19CStreamAudioManagerFiRCQ24rstl6stringib: -/* 80365D80 00362CE0 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 80365D84 00362CE4 7C 08 02 A6 */ mflr r0 -/* 80365D88 00362CE8 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 80365D8C 00362CEC DB E1 00 90 */ stfd f31, 0x90(r1) -/* 80365D90 00362CF0 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 -/* 80365D94 00362CF4 DB C1 00 80 */ stfd f30, 0x80(r1) -/* 80365D98 00362CF8 F3 C1 00 88 */ psq_st f30, 136(r1), 0, qr0 -/* 80365D9C 00362CFC BF 41 00 68 */ stmw r26, 0x68(r1) -/* 80365DA0 00362D00 7C 7B 1B 78 */ mr r27, r3 -/* 80365DA4 00362D04 3C E0 80 54 */ lis r7, lbl_80540580@ha -/* 80365DA8 00362D08 1D 1B 00 2C */ mulli r8, r27, 0x2c -/* 80365DAC 00362D0C 3C 60 80 54 */ lis r3, lbl_805405E4@ha -/* 80365DB0 00362D10 38 E7 05 80 */ addi r7, r7, lbl_80540580@l -/* 80365DB4 00362D14 FF C0 08 90 */ fmr f30, f1 -/* 80365DB8 00362D18 FF E0 10 90 */ fmr f31, f2 -/* 80365DBC 00362D1C 38 03 05 E4 */ addi r0, r3, lbl_805405E4@l -/* 80365DC0 00362D20 7F E7 42 14 */ add r31, r7, r8 -/* 80365DC4 00362D24 7C 9C 23 78 */ mr r28, r4 -/* 80365DC8 00362D28 7C BD 2B 78 */ mr r29, r5 -/* 80365DCC 00362D2C 7C DE 33 78 */ mr r30, r6 -/* 80365DD0 00362D30 7F E3 FB 78 */ mr r3, r31 -/* 80365DD4 00362D34 7F 40 42 14 */ add r26, r0, r8 -/* 80365DD8 00362D38 4B FD 8C 15 */ bl "CompareCaseInsensitive__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80365DDC 00362D3C 80 9F 00 10 */ lwz r4, 0x10(r31) -/* 80365DE0 00362D40 7C 60 00 34 */ cntlzw r0, r3 -/* 80365DE4 00362D44 54 03 D9 7E */ srwi r3, r0, 5 -/* 80365DE8 00362D48 7C 04 00 D0 */ neg r0, r4 -/* 80365DEC 00362D4C 7C 00 23 78 */ or r0, r0, r4 -/* 80365DF0 00362D50 54 04 0F FF */ rlwinm. r4, r0, 1, 0x1f, 0x1f -/* 80365DF4 00362D54 41 82 00 8C */ beq lbl_80365E80 -/* 80365DF8 00362D58 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80365DFC 00362D5C 40 82 00 84 */ bne lbl_80365E80 -/* 80365E00 00362D60 FC 20 F0 90 */ fmr f1, f30 -/* 80365E04 00362D64 7F 85 E3 78 */ mr r5, r28 -/* 80365E08 00362D68 FC 40 F8 90 */ fmr f2, f31 -/* 80365E0C 00362D6C 7F C8 F3 78 */ mr r8, r30 -/* 80365E10 00362D70 38 61 00 34 */ addi r3, r1, 0x34 -/* 80365E14 00362D74 57 A6 06 3E */ clrlwi r6, r29, 0x18 -/* 80365E18 00362D78 38 80 00 01 */ li r4, 1 -/* 80365E1C 00362D7C 38 E0 FF FF */ li r7, -1 -/* 80365E20 00362D80 48 00 06 A5 */ bl __ct__20SDSPStreamCacheEntryFiRCQ24rstl6stringiffib -/* 80365E24 00362D84 7F 43 D3 78 */ mr r3, r26 -/* 80365E28 00362D88 38 81 00 34 */ addi r4, r1, 0x34 -/* 80365E2C 00362D8C 4B FD 7F 31 */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80365E30 00362D90 80 81 00 44 */ lwz r4, 0x44(r1) -/* 80365E34 00362D94 38 61 00 34 */ addi r3, r1, 0x34 -/* 80365E38 00362D98 80 01 00 48 */ lwz r0, 0x48(r1) -/* 80365E3C 00362D9C 90 9A 00 10 */ stw r4, 0x10(r26) -/* 80365E40 00362DA0 C0 21 00 4C */ lfs f1, 0x4c(r1) -/* 80365E44 00362DA4 90 1A 00 14 */ stw r0, 0x14(r26) -/* 80365E48 00362DA8 C0 01 00 50 */ lfs f0, 0x50(r1) -/* 80365E4C 00362DAC D0 3A 00 18 */ stfs f1, 0x18(r26) -/* 80365E50 00362DB0 80 01 00 54 */ lwz r0, 0x54(r1) -/* 80365E54 00362DB4 D0 1A 00 1C */ stfs f0, 0x1c(r26) -/* 80365E58 00362DB8 C0 01 00 58 */ lfs f0, 0x58(r1) -/* 80365E5C 00362DBC 90 1A 00 20 */ stw r0, 0x20(r26) -/* 80365E60 00362DC0 88 01 00 5C */ lbz r0, 0x5c(r1) -/* 80365E64 00362DC4 D0 1A 00 24 */ stfs f0, 0x24(r26) -/* 80365E68 00362DC8 98 1A 00 28 */ stb r0, 0x28(r26) -/* 80365E6C 00362DCC 4B FD 7C 75 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80365E70 00362DD0 7F 63 DB 78 */ mr r3, r27 -/* 80365E74 00362DD4 7F E4 FB 78 */ mr r4, r31 -/* 80365E78 00362DD8 48 00 01 4D */ bl Stop__19CStreamAudioManagerFiRCQ24rstl6string -/* 80365E7C 00362DDC 48 00 01 24 */ b lbl_80365FA0 -lbl_80365E80: -/* 80365E80 00362DE0 28 04 00 00 */ cmplwi r4, 0 -/* 80365E84 00362DE4 41 82 00 60 */ beq lbl_80365EE4 -/* 80365E88 00362DE8 D3 DF 00 18 */ stfs f30, 0x18(r31) -/* 80365E8C 00362DEC 57 A0 06 3E */ clrlwi r0, r29, 0x18 -/* 80365E90 00362DF0 C0 02 CD D0 */ lfs f0, lbl_805AEAF0@sda21(r2) -/* 80365E94 00362DF4 D3 FF 00 1C */ stfs f31, 0x1c(r31) -/* 80365E98 00362DF8 90 1F 00 14 */ stw r0, 0x14(r31) -/* 80365E9C 00362DFC C0 3F 00 18 */ lfs f1, 0x18(r31) -/* 80365EA0 00362E00 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80365EA4 00362E04 4C 40 13 82 */ cror 2, 0, 2 -/* 80365EA8 00362E08 40 82 00 30 */ bne lbl_80365ED8 -/* 80365EAC 00362E0C 80 7F 00 14 */ lwz r3, 0x14(r31) -/* 80365EB0 00362E10 88 9F 00 28 */ lbz r4, 0x28(r31) -/* 80365EB4 00362E14 48 00 05 91 */ bl GetTargetDSPVolume__19CStreamAudioManagerFcb -/* 80365EB8 00362E18 7C 64 1B 78 */ mr r4, r3 -/* 80365EBC 00362E1C 80 7F 00 20 */ lwz r3, 0x20(r31) -/* 80365EC0 00362E20 4B FF DD 15 */ bl UpdateVolume__17CDSPStreamManagerFic -/* 80365EC4 00362E24 C0 02 CD D4 */ lfs f0, lbl_805AEAF4@sda21(r2) -/* 80365EC8 00362E28 38 00 00 02 */ li r0, 2 -/* 80365ECC 00362E2C D0 1F 00 24 */ stfs f0, 0x24(r31) -/* 80365ED0 00362E30 90 1F 00 10 */ stw r0, 0x10(r31) -/* 80365ED4 00362E34 48 00 00 CC */ b lbl_80365FA0 -lbl_80365ED8: -/* 80365ED8 00362E38 38 00 00 01 */ li r0, 1 -/* 80365EDC 00362E3C 90 1F 00 10 */ stw r0, 0x10(r31) -/* 80365EE0 00362E40 48 00 00 C0 */ b lbl_80365FA0 -lbl_80365EE4: -/* 80365EE4 00362E44 C0 02 CD B0 */ lfs f0, lbl_805AEAD0@sda21(r2) -/* 80365EE8 00362E48 FC 1E 00 40 */ fcmpo cr0, f30, f0 -/* 80365EEC 00362E4C 40 81 00 10 */ ble lbl_80365EFC -/* 80365EF0 00362E50 38 60 00 00 */ li r3, 0 -/* 80365EF4 00362E54 3B 40 00 01 */ li r26, 1 -/* 80365EF8 00362E58 48 00 00 0C */ b lbl_80365F04 -lbl_80365EFC: -/* 80365EFC 00362E5C 57 A3 06 3E */ clrlwi r3, r29, 0x18 -/* 80365F00 00362E60 3B 40 00 02 */ li r26, 2 -lbl_80365F04: -/* 80365F04 00362E64 7C 1B 00 D0 */ neg r0, r27 -/* 80365F08 00362E68 7F C4 F3 78 */ mr r4, r30 -/* 80365F0C 00362E6C 7C 00 DB 78 */ or r0, r0, r27 -/* 80365F10 00362E70 54 1B 0F FE */ srwi r27, r0, 0x1f -/* 80365F14 00362E74 48 00 05 31 */ bl GetTargetDSPVolume__19CStreamAudioManagerFcb -/* 80365F18 00362E78 7C 64 1B 78 */ mr r4, r3 -/* 80365F1C 00362E7C 7F 83 E3 78 */ mr r3, r28 -/* 80365F20 00362E80 7F 65 DB 78 */ mr r5, r27 -/* 80365F24 00362E84 4B FF E2 91 */ bl StartStreaming__17CDSPStreamManagerFRCQ24rstl6stringcb -/* 80365F28 00362E88 2C 03 FF FF */ cmpwi r3, -1 -/* 80365F2C 00362E8C 41 82 00 74 */ beq lbl_80365FA0 -/* 80365F30 00362E90 FC 20 F0 90 */ fmr f1, f30 -/* 80365F34 00362E94 7F 44 D3 78 */ mr r4, r26 -/* 80365F38 00362E98 FC 40 F8 90 */ fmr f2, f31 -/* 80365F3C 00362E9C 7F 85 E3 78 */ mr r5, r28 -/* 80365F40 00362EA0 7C 67 1B 78 */ mr r7, r3 -/* 80365F44 00362EA4 7F C8 F3 78 */ mr r8, r30 -/* 80365F48 00362EA8 38 61 00 08 */ addi r3, r1, 8 -/* 80365F4C 00362EAC 57 A6 06 3E */ clrlwi r6, r29, 0x18 -/* 80365F50 00362EB0 48 00 05 75 */ bl __ct__20SDSPStreamCacheEntryFiRCQ24rstl6stringiffib -/* 80365F54 00362EB4 7F E3 FB 78 */ mr r3, r31 -/* 80365F58 00362EB8 38 81 00 08 */ addi r4, r1, 8 -/* 80365F5C 00362EBC 4B FD 7E 01 */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80365F60 00362EC0 80 81 00 18 */ lwz r4, 0x18(r1) -/* 80365F64 00362EC4 38 61 00 08 */ addi r3, r1, 8 -/* 80365F68 00362EC8 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 80365F6C 00362ECC 90 9F 00 10 */ stw r4, 0x10(r31) -/* 80365F70 00362ED0 C0 21 00 20 */ lfs f1, 0x20(r1) -/* 80365F74 00362ED4 90 1F 00 14 */ stw r0, 0x14(r31) -/* 80365F78 00362ED8 C0 01 00 24 */ lfs f0, 0x24(r1) -/* 80365F7C 00362EDC D0 3F 00 18 */ stfs f1, 0x18(r31) -/* 80365F80 00362EE0 80 01 00 28 */ lwz r0, 0x28(r1) -/* 80365F84 00362EE4 D0 1F 00 1C */ stfs f0, 0x1c(r31) -/* 80365F88 00362EE8 C0 01 00 2C */ lfs f0, 0x2c(r1) -/* 80365F8C 00362EEC 90 1F 00 20 */ stw r0, 0x20(r31) -/* 80365F90 00362EF0 88 01 00 30 */ lbz r0, 0x30(r1) -/* 80365F94 00362EF4 D0 1F 00 24 */ stfs f0, 0x24(r31) -/* 80365F98 00362EF8 98 1F 00 28 */ stb r0, 0x28(r31) -/* 80365F9C 00362EFC 4B FD 7B 45 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_80365FA0: -/* 80365FA0 00362F00 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 -/* 80365FA4 00362F04 CB E1 00 90 */ lfd f31, 0x90(r1) -/* 80365FA8 00362F08 E3 C1 00 88 */ psq_l f30, 136(r1), 0, qr0 -/* 80365FAC 00362F0C CB C1 00 80 */ lfd f30, 0x80(r1) -/* 80365FB0 00362F10 BB 41 00 68 */ lmw r26, 0x68(r1) -/* 80365FB4 00362F14 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 80365FB8 00362F18 7C 08 03 A6 */ mtlr r0 -/* 80365FBC 00362F1C 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 80365FC0 00362F20 4E 80 00 20 */ blr - -.global Stop__19CStreamAudioManagerFiRCQ24rstl6string -Stop__19CStreamAudioManagerFiRCQ24rstl6string: -/* 80365FC4 00362F24 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 80365FC8 00362F28 7C 08 02 A6 */ mflr r0 -/* 80365FCC 00362F2C 3C A0 80 54 */ lis r5, lbl_80540580@ha -/* 80365FD0 00362F30 90 01 00 54 */ stw r0, 0x54(r1) -/* 80365FD4 00362F34 38 A5 05 80 */ addi r5, r5, lbl_80540580@l -/* 80365FD8 00362F38 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 80365FDC 00362F3C 93 C1 00 48 */ stw r30, 0x48(r1) -/* 80365FE0 00362F40 93 A1 00 44 */ stw r29, 0x44(r1) -/* 80365FE4 00362F44 7C 9D 23 78 */ mr r29, r4 -/* 80365FE8 00362F48 93 81 00 40 */ stw r28, 0x40(r1) -/* 80365FEC 00362F4C 7C 7C 1B 78 */ mr r28, r3 -/* 80365FF0 00362F50 1C DC 00 2C */ mulli r6, r28, 0x2c -/* 80365FF4 00362F54 3C 60 80 54 */ lis r3, lbl_805405E4@ha -/* 80365FF8 00362F58 38 03 05 E4 */ addi r0, r3, lbl_805405E4@l -/* 80365FFC 00362F5C 7F C0 32 14 */ add r30, r0, r6 -/* 80366000 00362F60 7F C3 F3 78 */ mr r3, r30 -/* 80366004 00362F64 7F E5 32 14 */ add r31, r5, r6 -/* 80366008 00362F68 4B FD 89 E5 */ bl "CompareCaseInsensitive__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8036600C 00362F6C 2C 03 00 00 */ cmpwi r3, 0 -/* 80366010 00362F70 40 82 00 5C */ bne lbl_8036606C -/* 80366014 00362F74 38 61 00 08 */ addi r3, r1, 8 -/* 80366018 00362F78 48 00 05 39 */ bl __ct__20SDSPStreamCacheEntryFv -/* 8036601C 00362F7C 7F C3 F3 78 */ mr r3, r30 -/* 80366020 00362F80 38 81 00 08 */ addi r4, r1, 8 -/* 80366024 00362F84 4B FD 7D 39 */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80366028 00362F88 80 81 00 18 */ lwz r4, 0x18(r1) -/* 8036602C 00362F8C 38 61 00 08 */ addi r3, r1, 8 -/* 80366030 00362F90 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 80366034 00362F94 90 9E 00 10 */ stw r4, 0x10(r30) -/* 80366038 00362F98 C0 21 00 20 */ lfs f1, 0x20(r1) -/* 8036603C 00362F9C 90 1E 00 14 */ stw r0, 0x14(r30) -/* 80366040 00362FA0 C0 01 00 24 */ lfs f0, 0x24(r1) -/* 80366044 00362FA4 D0 3E 00 18 */ stfs f1, 0x18(r30) -/* 80366048 00362FA8 80 01 00 28 */ lwz r0, 0x28(r1) -/* 8036604C 00362FAC D0 1E 00 1C */ stfs f0, 0x1c(r30) -/* 80366050 00362FB0 C0 01 00 2C */ lfs f0, 0x2c(r1) -/* 80366054 00362FB4 90 1E 00 20 */ stw r0, 0x20(r30) -/* 80366058 00362FB8 88 01 00 30 */ lbz r0, 0x30(r1) -/* 8036605C 00362FBC D0 1E 00 24 */ stfs f0, 0x24(r30) -/* 80366060 00362FC0 98 1E 00 28 */ stb r0, 0x28(r30) -/* 80366064 00362FC4 4B FD 7A 7D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80366068 00362FC8 48 00 00 64 */ b lbl_803660CC -lbl_8036606C: -/* 8036606C 00362FCC 7F E3 FB 78 */ mr r3, r31 -/* 80366070 00362FD0 7F A4 EB 78 */ mr r4, r29 -/* 80366074 00362FD4 4B FD 89 79 */ bl "CompareCaseInsensitive__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80366078 00362FD8 2C 03 00 00 */ cmpwi r3, 0 -/* 8036607C 00362FDC 40 82 00 50 */ bne lbl_803660CC -/* 80366080 00362FE0 80 1F 00 20 */ lwz r0, 0x20(r31) -/* 80366084 00362FE4 2C 00 FF FF */ cmpwi r0, -1 -/* 80366088 00362FE8 41 82 00 44 */ beq lbl_803660CC -/* 8036608C 00362FEC 80 1F 00 10 */ lwz r0, 0x10(r31) -/* 80366090 00362FF0 2C 00 00 00 */ cmpwi r0, 0 -/* 80366094 00362FF4 40 82 00 08 */ bne lbl_8036609C -/* 80366098 00362FF8 48 00 00 34 */ b lbl_803660CC -lbl_8036609C: -/* 8036609C 00362FFC C0 3F 00 1C */ lfs f1, 0x1c(r31) -/* 803660A0 00363000 C0 02 CD D0 */ lfs f0, lbl_805AEAF0@sda21(r2) -/* 803660A4 00363004 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 803660A8 00363008 4C 40 13 82 */ cror 2, 0, 2 -/* 803660AC 0036300C 40 82 00 10 */ bne lbl_803660BC -/* 803660B0 00363010 7F 83 E3 78 */ mr r3, r28 -/* 803660B4 00363014 48 00 00 E1 */ bl StopStreaming__19CStreamAudioManagerFi -/* 803660B8 00363018 48 00 00 14 */ b lbl_803660CC -lbl_803660BC: -/* 803660BC 0036301C 2C 00 00 03 */ cmpwi r0, 3 -/* 803660C0 00363020 41 82 00 0C */ beq lbl_803660CC -/* 803660C4 00363024 38 00 00 03 */ li r0, 3 -/* 803660C8 00363028 90 1F 00 10 */ stw r0, 0x10(r31) -lbl_803660CC: -/* 803660CC 0036302C 80 01 00 54 */ lwz r0, 0x54(r1) -/* 803660D0 00363030 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 803660D4 00363034 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 803660D8 00363038 83 A1 00 44 */ lwz r29, 0x44(r1) -/* 803660DC 0036303C 83 81 00 40 */ lwz r28, 0x40(r1) -/* 803660E0 00363040 7C 08 03 A6 */ mtlr r0 -/* 803660E4 00363044 38 21 00 50 */ addi r1, r1, 0x50 -/* 803660E8 00363048 4E 80 00 20 */ blr - -.global FadeBackIn__19CStreamAudioManagerFif -FadeBackIn__19CStreamAudioManagerFif: -/* 803660EC 0036304C 1C 83 00 2C */ mulli r4, r3, 0x2c -/* 803660F0 00363050 3C 60 80 54 */ lis r3, lbl_80540580@ha -/* 803660F4 00363054 38 03 05 80 */ addi r0, r3, lbl_80540580@l -/* 803660F8 00363058 7C 60 22 14 */ add r3, r0, r4 -/* 803660FC 0036305C 80 03 00 10 */ lwz r0, 0x10(r3) -/* 80366100 00363060 2C 00 00 02 */ cmpwi r0, 2 -/* 80366104 00363064 4D 82 00 20 */ beqlr -/* 80366108 00363068 2C 00 00 00 */ cmpwi r0, 0 -/* 8036610C 0036306C 4D 82 00 20 */ beqlr -/* 80366110 00363070 D0 23 00 18 */ stfs f1, 0x18(r3) -/* 80366114 00363074 38 00 00 01 */ li r0, 1 -/* 80366118 00363078 90 03 00 10 */ stw r0, 0x10(r3) -/* 8036611C 0036307C 4E 80 00 20 */ blr - -.global TemporaryFadeOut__19CStreamAudioManagerFif -TemporaryFadeOut__19CStreamAudioManagerFif: -/* 80366120 00363080 1C 83 00 2C */ mulli r4, r3, 0x2c -/* 80366124 00363084 3C 60 80 54 */ lis r3, lbl_80540580@ha -/* 80366128 00363088 38 03 05 80 */ addi r0, r3, lbl_80540580@l -/* 8036612C 0036308C 7C 60 22 14 */ add r3, r0, r4 -/* 80366130 00363090 80 03 00 10 */ lwz r0, 0x10(r3) -/* 80366134 00363094 2C 00 00 03 */ cmpwi r0, 3 -/* 80366138 00363098 4D 82 00 20 */ beqlr -/* 8036613C 0036309C 2C 00 00 00 */ cmpwi r0, 0 -/* 80366140 003630A0 40 82 00 08 */ bne lbl_80366148 - -.global sub_80366144 -sub_80366144: -/* 80366144 003630A4 4E 80 00 20 */ blr -lbl_80366148: -/* 80366148 003630A8 D0 23 00 1C */ stfs f1, 0x1c(r3) -/* 8036614C 003630AC 38 00 00 04 */ li r0, 4 -/* 80366150 003630B0 90 03 00 10 */ stw r0, 0x10(r3) -/* 80366154 003630B4 4E 80 00 20 */ blr - -.global UpdateDSPStreamers__19CStreamAudioManagerFf -UpdateDSPStreamers__19CStreamAudioManagerFf: -/* 80366158 003630B8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8036615C 003630BC 7C 08 02 A6 */ mflr r0 -/* 80366160 003630C0 38 60 00 00 */ li r3, 0 -/* 80366164 003630C4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80366168 003630C8 DB E1 00 08 */ stfd f31, 8(r1) -/* 8036616C 003630CC FF E0 08 90 */ fmr f31, f1 -/* 80366170 003630D0 48 00 00 79 */ bl UpdateDSP__19CStreamAudioManagerFif -/* 80366174 003630D4 FC 20 F8 90 */ fmr f1, f31 -/* 80366178 003630D8 38 60 00 01 */ li r3, 1 -/* 8036617C 003630DC 48 00 00 6D */ bl UpdateDSP__19CStreamAudioManagerFif -/* 80366180 003630E0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80366184 003630E4 CB E1 00 08 */ lfd f31, 8(r1) -/* 80366188 003630E8 7C 08 03 A6 */ mtlr r0 -/* 8036618C 003630EC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80366190 003630F0 4E 80 00 20 */ blr - -.global StopStreaming__19CStreamAudioManagerFi -StopStreaming__19CStreamAudioManagerFi: -/* 80366194 003630F4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80366198 003630F8 7C 08 02 A6 */ mflr r0 -/* 8036619C 003630FC 1C 83 00 2C */ mulli r4, r3, 0x2c -/* 803661A0 00363100 3C 60 80 54 */ lis r3, lbl_80540580@ha -/* 803661A4 00363104 90 01 00 14 */ stw r0, 0x14(r1) -/* 803661A8 00363108 38 00 00 00 */ li r0, 0 -/* 803661AC 0036310C 38 63 05 80 */ addi r3, r3, lbl_80540580@l -/* 803661B0 00363110 93 E1 00 0C */ stw r31, 0xc(r1) -/* 803661B4 00363114 7F E3 22 14 */ add r31, r3, r4 -/* 803661B8 00363118 90 1F 00 10 */ stw r0, 0x10(r31) -/* 803661BC 0036311C 80 7F 00 20 */ lwz r3, 0x20(r31) -/* 803661C0 00363120 4B FF DB D1 */ bl StopStreaming__17CDSPStreamManagerFi -/* 803661C4 00363124 C0 02 CD B0 */ lfs f0, lbl_805AEAD0@sda21(r2) -/* 803661C8 00363128 38 00 FF FF */ li r0, -1 -/* 803661CC 0036312C D0 1F 00 24 */ stfs f0, 0x24(r31) -/* 803661D0 00363130 90 1F 00 20 */ stw r0, 0x20(r31) -/* 803661D4 00363134 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 803661D8 00363138 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803661DC 0036313C 7C 08 03 A6 */ mtlr r0 -/* 803661E0 00363140 38 21 00 10 */ addi r1, r1, 0x10 -/* 803661E4 00363144 4E 80 00 20 */ blr - -.global UpdateDSP__19CStreamAudioManagerFif -UpdateDSP__19CStreamAudioManagerFif: -/* 803661E8 00363148 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 803661EC 0036314C 7C 08 02 A6 */ mflr r0 -/* 803661F0 00363150 90 01 00 74 */ stw r0, 0x74(r1) -/* 803661F4 00363154 DB E1 00 60 */ stfd f31, 0x60(r1) -/* 803661F8 00363158 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 -/* 803661FC 0036315C DB C1 00 50 */ stfd f30, 0x50(r1) -/* 80366200 00363160 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 -/* 80366204 00363164 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 80366208 00363168 93 C1 00 48 */ stw r30, 0x48(r1) -/* 8036620C 0036316C 7C 7E 1B 78 */ mr r30, r3 -/* 80366210 00363170 3C 80 80 54 */ lis r4, lbl_80540580@ha -/* 80366214 00363174 1C BE 00 2C */ mulli r5, r30, 0x2c -/* 80366218 00363178 FF C0 08 90 */ fmr f30, f1 -/* 8036621C 0036317C 38 04 05 80 */ addi r0, r4, lbl_80540580@l -/* 80366220 00363180 7F E0 2A 14 */ add r31, r0, r5 -/* 80366224 00363184 80 1F 00 10 */ lwz r0, 0x10(r31) -/* 80366228 00363188 2C 00 00 00 */ cmpwi r0, 0 -/* 8036622C 0036318C 40 82 00 90 */ bne lbl_803662BC -/* 80366230 00363190 3C 80 80 54 */ lis r4, lbl_805405E4@ha -/* 80366234 00363194 38 04 05 E4 */ addi r0, r4, lbl_805405E4@l -/* 80366238 00363198 7F E0 2A 14 */ add r31, r0, r5 -/* 8036623C 0036319C 80 1F 00 10 */ lwz r0, 0x10(r31) -/* 80366240 003631A0 2C 00 00 00 */ cmpwi r0, 0 -/* 80366244 003631A4 41 82 01 D8 */ beq lbl_8036641C -/* 80366248 003631A8 80 1F 00 14 */ lwz r0, 0x14(r31) -/* 8036624C 003631AC 7F E4 FB 78 */ mr r4, r31 -/* 80366250 003631B0 C0 3F 00 18 */ lfs f1, 0x18(r31) -/* 80366254 003631B4 C0 5F 00 1C */ lfs f2, 0x1c(r31) -/* 80366258 003631B8 54 05 06 3E */ clrlwi r5, r0, 0x18 -/* 8036625C 003631BC 88 DF 00 28 */ lbz r6, 0x28(r31) -/* 80366260 003631C0 4B FF FB 21 */ bl Start__19CStreamAudioManagerFiRCQ24rstl6stringib -/* 80366264 003631C4 38 61 00 0C */ addi r3, r1, 0xc -/* 80366268 003631C8 48 00 02 E9 */ bl __ct__20SDSPStreamCacheEntryFv -/* 8036626C 003631CC 7F E3 FB 78 */ mr r3, r31 -/* 80366270 003631D0 38 81 00 0C */ addi r4, r1, 0xc -/* 80366274 003631D4 4B FD 7A E9 */ bl "assign__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80366278 003631D8 80 81 00 1C */ lwz r4, 0x1c(r1) -/* 8036627C 003631DC 38 61 00 0C */ addi r3, r1, 0xc -/* 80366280 003631E0 80 01 00 20 */ lwz r0, 0x20(r1) -/* 80366284 003631E4 90 9F 00 10 */ stw r4, 0x10(r31) -/* 80366288 003631E8 C0 21 00 24 */ lfs f1, 0x24(r1) -/* 8036628C 003631EC 90 1F 00 14 */ stw r0, 0x14(r31) -/* 80366290 003631F0 C0 01 00 28 */ lfs f0, 0x28(r1) -/* 80366294 003631F4 D0 3F 00 18 */ stfs f1, 0x18(r31) -/* 80366298 003631F8 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 8036629C 003631FC D0 1F 00 1C */ stfs f0, 0x1c(r31) -/* 803662A0 00363200 C0 01 00 30 */ lfs f0, 0x30(r1) -/* 803662A4 00363204 90 1F 00 20 */ stw r0, 0x20(r31) -/* 803662A8 00363208 88 01 00 34 */ lbz r0, 0x34(r1) -/* 803662AC 0036320C D0 1F 00 24 */ stfs f0, 0x24(r31) -/* 803662B0 00363210 98 1F 00 28 */ stb r0, 0x28(r31) -/* 803662B4 00363214 4B FD 78 2D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 803662B8 00363218 48 00 01 64 */ b lbl_8036641C -lbl_803662BC: -/* 803662BC 0036321C 41 82 00 30 */ beq lbl_803662EC -/* 803662C0 00363220 80 7F 00 20 */ lwz r3, 0x20(r31) -/* 803662C4 00363224 4B FF D6 B9 */ bl GetStreamState__17CDSPStreamManagerFi -/* 803662C8 00363228 2C 03 00 01 */ cmpwi r3, 1 -/* 803662CC 0036322C 40 82 00 20 */ bne lbl_803662EC -/* 803662D0 00363230 80 7F 00 20 */ lwz r3, 0x20(r31) -/* 803662D4 00363234 4B FF D7 79 */ bl CanStop__17CDSPStreamManagerFi -/* 803662D8 00363238 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 803662DC 0036323C 41 82 00 10 */ beq lbl_803662EC -/* 803662E0 00363240 7F C3 F3 78 */ mr r3, r30 -/* 803662E4 00363244 4B FF FE B1 */ bl StopStreaming__19CStreamAudioManagerFi -/* 803662E8 00363248 48 00 01 34 */ b lbl_8036641C -lbl_803662EC: -/* 803662EC 0036324C 80 1F 00 10 */ lwz r0, 0x10(r31) -/* 803662F0 00363250 2C 00 00 01 */ cmpwi r0, 1 -/* 803662F4 00363254 41 82 00 14 */ beq lbl_80366308 -/* 803662F8 00363258 2C 00 00 03 */ cmpwi r0, 3 -/* 803662FC 0036325C 41 82 00 0C */ beq lbl_80366308 -/* 80366300 00363260 2C 00 00 04 */ cmpwi r0, 4 -/* 80366304 00363264 40 82 00 14 */ bne lbl_80366318 -lbl_80366308: -/* 80366308 00363268 80 7F 00 20 */ lwz r3, 0x20(r31) -/* 8036630C 0036326C 4B FF D8 09 */ bl IsStreamAvailable__17CDSPStreamManagerFi -/* 80366310 00363270 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80366314 00363274 40 82 00 2C */ bne lbl_80366340 -lbl_80366318: -/* 80366318 00363278 80 1F 00 10 */ lwz r0, 0x10(r31) -/* 8036631C 0036327C 2C 00 00 02 */ cmpwi r0, 2 -/* 80366320 00363280 40 82 00 FC */ bne lbl_8036641C -/* 80366324 00363284 80 7F 00 14 */ lwz r3, 0x14(r31) -/* 80366328 00363288 88 9F 00 28 */ lbz r4, 0x28(r31) -/* 8036632C 0036328C 48 00 01 19 */ bl GetTargetDSPVolume__19CStreamAudioManagerFcb -/* 80366330 00363290 7C 64 1B 78 */ mr r4, r3 -/* 80366334 00363294 80 7F 00 20 */ lwz r3, 0x20(r31) -/* 80366338 00363298 4B FF D8 9D */ bl UpdateVolume__17CDSPStreamManagerFic -/* 8036633C 0036329C 48 00 00 E0 */ b lbl_8036641C -lbl_80366340: -/* 80366340 003632A0 80 1F 00 10 */ lwz r0, 0x10(r31) -/* 80366344 003632A4 2C 00 00 01 */ cmpwi r0, 1 -/* 80366348 003632A8 40 82 00 3C */ bne lbl_80366384 -/* 8036634C 003632AC C0 1F 00 18 */ lfs f0, 0x18(r31) -/* 80366350 003632B0 C0 5F 00 24 */ lfs f2, 0x24(r31) -/* 80366354 003632B4 EC 3E 00 24 */ fdivs f1, f30, f0 -/* 80366358 003632B8 C0 02 CD D4 */ lfs f0, lbl_805AEAF4@sda21(r2) -/* 8036635C 003632BC EC 22 08 2A */ fadds f1, f2, f1 -/* 80366360 003632C0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80366364 003632C4 4C 41 13 82 */ cror 2, 1, 2 -/* 80366368 003632C8 40 82 00 14 */ bne lbl_8036637C -/* 8036636C 003632CC D0 1F 00 24 */ stfs f0, 0x24(r31) -/* 80366370 003632D0 38 00 00 02 */ li r0, 2 -/* 80366374 003632D4 90 1F 00 10 */ stw r0, 0x10(r31) -/* 80366378 003632D8 48 00 00 5C */ b lbl_803663D4 -lbl_8036637C: -/* 8036637C 003632DC D0 3F 00 24 */ stfs f1, 0x24(r31) -/* 80366380 003632E0 48 00 00 54 */ b lbl_803663D4 -lbl_80366384: -/* 80366384 003632E4 2C 00 00 03 */ cmpwi r0, 3 -/* 80366388 003632E8 41 82 00 0C */ beq lbl_80366394 -/* 8036638C 003632EC 2C 00 00 04 */ cmpwi r0, 4 -/* 80366390 003632F0 40 82 00 44 */ bne lbl_803663D4 -lbl_80366394: -/* 80366394 003632F4 C0 1F 00 1C */ lfs f0, 0x1c(r31) -/* 80366398 003632F8 C0 5F 00 24 */ lfs f2, 0x24(r31) -/* 8036639C 003632FC EC 3E 00 24 */ fdivs f1, f30, f0 -/* 803663A0 00363300 C0 02 CD B0 */ lfs f0, lbl_805AEAD0@sda21(r2) -/* 803663A4 00363304 EC 22 08 28 */ fsubs f1, f2, f1 -/* 803663A8 00363308 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 803663AC 0036330C 4C 40 13 82 */ cror 2, 0, 2 -/* 803663B0 00363310 40 82 00 20 */ bne lbl_803663D0 -/* 803663B4 00363314 2C 00 00 04 */ cmpwi r0, 4 -/* 803663B8 00363318 40 82 00 0C */ bne lbl_803663C4 -/* 803663BC 0036331C D0 1F 00 24 */ stfs f0, 0x24(r31) -/* 803663C0 00363320 48 00 00 14 */ b lbl_803663D4 -lbl_803663C4: -/* 803663C4 00363324 7F C3 F3 78 */ mr r3, r30 -/* 803663C8 00363328 4B FF FD CD */ bl StopStreaming__19CStreamAudioManagerFi -/* 803663CC 0036332C 48 00 00 50 */ b lbl_8036641C -lbl_803663D0: -/* 803663D0 00363330 D0 3F 00 24 */ stfs f1, 0x24(r31) -lbl_803663D4: -/* 803663D4 00363334 80 7F 00 14 */ lwz r3, 0x14(r31) -/* 803663D8 00363338 3C 00 43 30 */ lis r0, 0x4330 -/* 803663DC 0036333C 90 01 00 38 */ stw r0, 0x38(r1) -/* 803663E0 00363340 6C 60 80 00 */ xoris r0, r3, 0x8000 -/* 803663E4 00363344 C8 42 CD C0 */ lfd f2, lbl_805AEAE0@sda21(r2) -/* 803663E8 00363348 90 01 00 3C */ stw r0, 0x3c(r1) -/* 803663EC 0036334C C0 1F 00 24 */ lfs f0, 0x24(r31) -/* 803663F0 00363350 C8 21 00 38 */ lfd f1, 0x38(r1) -/* 803663F4 00363354 EC 21 10 28 */ fsubs f1, f1, f2 -/* 803663F8 00363358 EF E1 00 32 */ fmuls f31, f1, f0 -/* 803663FC 0036335C F3 E1 C0 08 */ psq_st f31, 8(r1), 1, qr4 -/* 80366400 00363360 88 9F 00 28 */ lbz r4, 0x28(r31) -/* 80366404 00363364 88 61 00 08 */ lbz r3, 8(r1) -/* 80366408 00363368 7C 63 07 74 */ extsb r3, r3 -/* 8036640C 0036336C 48 00 00 39 */ bl GetTargetDSPVolume__19CStreamAudioManagerFcb -/* 80366410 00363370 7C 64 1B 78 */ mr r4, r3 -/* 80366414 00363374 80 7F 00 20 */ lwz r3, 0x20(r31) -/* 80366418 00363378 4B FF D7 BD */ bl UpdateVolume__17CDSPStreamManagerFic -lbl_8036641C: -/* 8036641C 0036337C E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 -/* 80366420 00363380 CB E1 00 60 */ lfd f31, 0x60(r1) -/* 80366424 00363384 E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 -/* 80366428 00363388 CB C1 00 50 */ lfd f30, 0x50(r1) -/* 8036642C 0036338C 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 80366430 00363390 80 01 00 74 */ lwz r0, 0x74(r1) -/* 80366434 00363394 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 80366438 00363398 7C 08 03 A6 */ mtlr r0 -/* 8036643C 0036339C 38 21 00 70 */ addi r1, r1, 0x70 -/* 80366440 003633A0 4E 80 00 20 */ blr - -.global GetTargetDSPVolume__19CStreamAudioManagerFcb -GetTargetDSPVolume__19CStreamAudioManagerFcb: -/* 80366444 003633A4 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 80366448 003633A8 41 82 00 40 */ beq lbl_80366488 -/* 8036644C 003633AC 88 0D 9E 80 */ lbz r0, lbl_805A8A40@sda21(r13) -/* 80366450 003633B0 28 00 00 00 */ cmplwi r0, 0 -/* 80366454 003633B4 41 82 00 2C */ beq lbl_80366480 -/* 80366458 003633B8 80 0D 9E 78 */ lwz r0, lbl_805A8A38@sda21(r13) -/* 8036645C 003633BC 3C 80 81 02 */ lis r4, 0x81020409@ha -/* 80366460 003633C0 38 84 04 09 */ addi r4, r4, 0x81020409@l -/* 80366464 003633C4 7C 03 01 D6 */ mullw r0, r3, r0 -/* 80366468 003633C8 7C 64 00 96 */ mulhw r3, r4, r0 -/* 8036646C 003633CC 7C 03 02 14 */ add r0, r3, r0 -/* 80366470 003633D0 7C 00 36 70 */ srawi r0, r0, 6 -/* 80366474 003633D4 54 03 0F FE */ srwi r3, r0, 0x1f -/* 80366478 003633D8 7C 60 1A 14 */ add r3, r0, r3 -/* 8036647C 003633DC 4E 80 00 20 */ blr -lbl_80366480: -/* 80366480 003633E0 38 60 00 00 */ li r3, 0 -/* 80366484 003633E4 4E 80 00 20 */ blr -lbl_80366488: -/* 80366488 003633E8 88 0D 9E 81 */ lbz r0, lbl_805A8A41@sda21(r13) -/* 8036648C 003633EC 28 00 00 00 */ cmplwi r0, 0 -/* 80366490 003633F0 41 82 00 2C */ beq lbl_803664BC -/* 80366494 003633F4 80 0D 9E 7C */ lwz r0, lbl_805A8A3C@sda21(r13) -/* 80366498 003633F8 3C 80 81 02 */ lis r4, 0x81020409@ha -/* 8036649C 003633FC 38 84 04 09 */ addi r4, r4, 0x81020409@l -/* 803664A0 00363400 7C 03 01 D6 */ mullw r0, r3, r0 -/* 803664A4 00363404 7C 64 00 96 */ mulhw r3, r4, r0 -/* 803664A8 00363408 7C 03 02 14 */ add r0, r3, r0 -/* 803664AC 0036340C 7C 00 36 70 */ srawi r0, r0, 6 -/* 803664B0 00363410 54 03 0F FE */ srwi r3, r0, 0x1f -/* 803664B4 00363414 7C 60 1A 14 */ add r3, r0, r3 -/* 803664B8 00363418 4E 80 00 20 */ blr -lbl_803664BC: -/* 803664BC 0036341C 38 60 00 00 */ li r3, 0 -/* 803664C0 00363420 4E 80 00 20 */ blr - -.global __ct__20SDSPStreamCacheEntryFiRCQ24rstl6stringiffib -__ct__20SDSPStreamCacheEntryFiRCQ24rstl6stringiffib: -/* 803664C4 00363424 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 803664C8 00363428 7C 08 02 A6 */ mflr r0 -/* 803664CC 0036342C 90 01 00 44 */ stw r0, 0x44(r1) -/* 803664D0 00363430 DB E1 00 30 */ stfd f31, 0x30(r1) -/* 803664D4 00363434 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 803664D8 00363438 DB C1 00 20 */ stfd f30, 0x20(r1) -/* 803664DC 0036343C F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 -/* 803664E0 00363440 BF 61 00 0C */ stmw r27, 0xc(r1) -/* 803664E4 00363444 FF C0 08 90 */ fmr f30, f1 -/* 803664E8 00363448 7C 9C 23 78 */ mr r28, r4 -/* 803664EC 0036344C FF E0 10 90 */ fmr f31, f2 -/* 803664F0 00363450 7C 7B 1B 78 */ mr r27, r3 -/* 803664F4 00363454 7C DD 33 78 */ mr r29, r6 -/* 803664F8 00363458 7C FE 3B 78 */ mr r30, r7 -/* 803664FC 0036345C 7D 1F 43 78 */ mr r31, r8 -/* 80366500 00363460 7C A4 2B 78 */ mr r4, r5 -/* 80366504 00363464 4B FD 7C 5D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80366508 00363468 93 9B 00 10 */ stw r28, 0x10(r27) -/* 8036650C 0036346C 7F 63 DB 78 */ mr r3, r27 -/* 80366510 00363470 C0 02 CD B0 */ lfs f0, lbl_805AEAD0@sda21(r2) -/* 80366514 00363474 93 BB 00 14 */ stw r29, 0x14(r27) -/* 80366518 00363478 D3 DB 00 18 */ stfs f30, 0x18(r27) -/* 8036651C 0036347C D3 FB 00 1C */ stfs f31, 0x1c(r27) -/* 80366520 00363480 93 DB 00 20 */ stw r30, 0x20(r27) -/* 80366524 00363484 D0 1B 00 24 */ stfs f0, 0x24(r27) -/* 80366528 00363488 9B FB 00 28 */ stb r31, 0x28(r27) -/* 8036652C 0036348C E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 80366530 00363490 CB E1 00 30 */ lfd f31, 0x30(r1) -/* 80366534 00363494 E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 -/* 80366538 00363498 CB C1 00 20 */ lfd f30, 0x20(r1) -/* 8036653C 0036349C BB 61 00 0C */ lmw r27, 0xc(r1) -/* 80366540 003634A0 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80366544 003634A4 7C 08 03 A6 */ mtlr r0 -/* 80366548 003634A8 38 21 00 40 */ addi r1, r1, 0x40 -/* 8036654C 003634AC 4E 80 00 20 */ blr - -.global __ct__20SDSPStreamCacheEntryFv -__ct__20SDSPStreamCacheEntryFv: -/* 80366550 003634B0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80366554 003634B4 7C 08 02 A6 */ mflr r0 -/* 80366558 003634B8 3C 80 80 3E */ lis r4, lbl_803D8410@ha -/* 8036655C 003634BC 90 01 00 24 */ stw r0, 0x24(r1) -/* 80366560 003634C0 38 84 84 10 */ addi r4, r4, lbl_803D8410@l -/* 80366564 003634C4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80366568 003634C8 7C 7F 1B 78 */ mr r31, r3 -/* 8036656C 003634CC 38 61 00 08 */ addi r3, r1, 8 -/* 80366570 003634D0 4B C9 E7 49 */ bl string_l__4rstlFPCc -/* 80366574 003634D4 7F E3 FB 78 */ mr r3, r31 -/* 80366578 003634D8 38 81 00 08 */ addi r4, r1, 8 -/* 8036657C 003634DC 4B FD 7B E5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80366580 003634E0 38 61 00 08 */ addi r3, r1, 8 -/* 80366584 003634E4 4B FD 75 5D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80366588 003634E8 38 A0 00 00 */ li r5, 0 -/* 8036658C 003634EC C0 02 CD B0 */ lfs f0, lbl_805AEAD0@sda21(r2) -/* 80366590 003634F0 90 BF 00 10 */ stw r5, 0x10(r31) -/* 80366594 003634F4 38 80 FF FF */ li r4, -1 -/* 80366598 003634F8 38 00 00 01 */ li r0, 1 -/* 8036659C 003634FC 7F E3 FB 78 */ mr r3, r31 -/* 803665A0 00363500 90 BF 00 14 */ stw r5, 0x14(r31) -/* 803665A4 00363504 D0 1F 00 18 */ stfs f0, 0x18(r31) -/* 803665A8 00363508 D0 1F 00 1C */ stfs f0, 0x1c(r31) -/* 803665AC 0036350C 90 9F 00 20 */ stw r4, 0x20(r31) -/* 803665B0 00363510 D0 1F 00 24 */ stfs f0, 0x24(r31) -/* 803665B4 00363514 98 1F 00 28 */ stb r0, 0x28(r31) -/* 803665B8 00363518 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 803665BC 0036351C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 803665C0 00363520 7C 08 03 A6 */ mtlr r0 -/* 803665C4 00363524 38 21 00 20 */ addi r1, r1, 0x20 -/* 803665C8 00363528 4E 80 00 20 */ blr - -.global __sinit_CStreamAudioManager_cpp -__sinit_CStreamAudioManager_cpp: -/* 803665CC 0036352C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803665D0 00363530 7C 08 02 A6 */ mflr r0 -/* 803665D4 00363534 3C 80 80 00 */ lis r4, sub_80004a9c@ha -/* 803665D8 00363538 38 AD A9 18 */ addi r5, r13, "_EmptyString__Q24rstl66basic_string,Q24rstl17rmemory_allocator>"@sda21 -/* 803665DC 0036353C 90 01 00 14 */ stw r0, 0x14(r1) -/* 803665E0 00363540 3C 60 80 5A */ lis r3, lbl_805A6B60@ha -/* 803665E4 00363544 3C C0 80 54 */ lis r6, lbl_80540550@ha -/* 803665E8 00363548 38 00 00 00 */ li r0, 0 -/* 803665EC 0036354C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 803665F0 00363550 3B E6 05 50 */ addi r31, r6, lbl_80540550@l -/* 803665F4 00363554 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l -/* 803665F8 00363558 94 A3 6B 60 */ stwu r5, lbl_805A6B60@l(r3) -/* 803665FC 0036355C 38 BF 00 00 */ addi r5, r31, 0 -/* 80366600 00363560 90 03 00 04 */ stw r0, 4(r3) -/* 80366604 00363564 90 03 00 08 */ stw r0, 8(r3) -/* 80366608 00363568 48 02 30 85 */ bl __register_global_object -/* 8036660C 0036356C 38 AD A9 18 */ addi r5, r13, "_EmptyString__Q24rstl66basic_string,Q24rstl17rmemory_allocator>"@sda21 -/* 80366610 00363570 3C 60 80 5A */ lis r3, lbl_805A6B90@ha -/* 80366614 00363574 94 A3 6B 90 */ stwu r5, lbl_805A6B90@l(r3) -/* 80366618 00363578 38 00 00 00 */ li r0, 0 -/* 8036661C 0036357C 3C 80 80 00 */ lis r4, sub_80004a9c@ha -/* 80366620 00363580 38 BF 00 0C */ addi r5, r31, 0xc -/* 80366624 00363584 90 03 00 04 */ stw r0, 4(r3) -/* 80366628 00363588 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l -/* 8036662C 0036358C 90 03 00 08 */ stw r0, 8(r3) -/* 80366630 00363590 48 02 30 5D */ bl __register_global_object -/* 80366634 00363594 38 AD A9 18 */ addi r5, r13, "_EmptyString__Q24rstl66basic_string,Q24rstl17rmemory_allocator>"@sda21 -/* 80366638 00363598 3C 60 80 5A */ lis r3, lbl_805A6BA0@ha -/* 8036663C 0036359C 94 A3 6B A0 */ stwu r5, lbl_805A6BA0@l(r3) -/* 80366640 003635A0 38 00 00 00 */ li r0, 0 -/* 80366644 003635A4 3C 80 80 00 */ lis r4, sub_80004a9c@ha -/* 80366648 003635A8 38 BF 00 18 */ addi r5, r31, 0x18 -/* 8036664C 003635AC 90 03 00 04 */ stw r0, 4(r3) -/* 80366650 003635B0 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l -/* 80366654 003635B4 90 03 00 08 */ stw r0, 8(r3) -/* 80366658 003635B8 48 02 30 35 */ bl __register_global_object -/* 8036665C 003635BC 3C 60 80 36 */ lis r3, __ct__20SDSPStreamCacheEntryFv@ha -/* 80366660 003635C0 3C A0 80 36 */ lis r5, sub_803656f8@ha -/* 80366664 003635C4 38 83 65 50 */ addi r4, r3, __ct__20SDSPStreamCacheEntryFv@l -/* 80366668 003635C8 38 C0 00 2C */ li r6, 0x2c -/* 8036666C 003635CC 38 7F 00 30 */ addi r3, r31, 0x30 -/* 80366670 003635D0 38 A5 56 F8 */ addi r5, r5, sub_803656f8@l -/* 80366674 003635D4 38 E0 00 02 */ li r7, 2 -/* 80366678 003635D8 48 02 30 D5 */ bl __construct_array -/* 8036667C 003635DC 3C 60 80 36 */ lis r3, sub_80366710@ha -/* 80366680 003635E0 38 BF 00 24 */ addi r5, r31, 0x24 -/* 80366684 003635E4 38 83 67 10 */ addi r4, r3, sub_80366710@l -/* 80366688 003635E8 38 60 00 00 */ li r3, 0 -/* 8036668C 003635EC 48 02 30 01 */ bl __register_global_object -/* 80366690 003635F0 3C 60 80 36 */ lis r3, __ct__20SDSPStreamCacheEntryFv@ha -/* 80366694 003635F4 3C A0 80 36 */ lis r5, sub_803656f8@ha -/* 80366698 003635F8 38 83 65 50 */ addi r4, r3, __ct__20SDSPStreamCacheEntryFv@l -/* 8036669C 003635FC 38 C0 00 2C */ li r6, 0x2c -/* 803666A0 00363600 38 7F 00 94 */ addi r3, r31, 0x94 -/* 803666A4 00363604 38 A5 56 F8 */ addi r5, r5, sub_803656f8@l -/* 803666A8 00363608 38 E0 00 02 */ li r7, 2 -/* 803666AC 0036360C 48 02 30 A1 */ bl __construct_array -/* 803666B0 00363610 3C 60 80 36 */ lis r3, sub_803666d8@ha -/* 803666B4 00363614 38 BF 00 88 */ addi r5, r31, 0x88 -/* 803666B8 00363618 38 83 66 D8 */ addi r4, r3, sub_803666d8@l -/* 803666BC 0036361C 38 60 00 00 */ li r3, 0 -/* 803666C0 00363620 48 02 2F CD */ bl __register_global_object -/* 803666C4 00363624 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803666C8 00363628 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 803666CC 0036362C 7C 08 03 A6 */ mtlr r0 -/* 803666D0 00363630 38 21 00 10 */ addi r1, r1, 0x10 -/* 803666D4 00363634 4E 80 00 20 */ blr - -.global sub_803666d8 -sub_803666d8: -/* 803666D8 00363638 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803666DC 0036363C 7C 08 02 A6 */ mflr r0 -/* 803666E0 00363640 3C 60 80 54 */ lis r3, lbl_805405E4@ha -/* 803666E4 00363644 3C 80 80 36 */ lis r4, sub_803656f8@ha -/* 803666E8 00363648 90 01 00 14 */ stw r0, 0x14(r1) -/* 803666EC 0036364C 38 63 05 E4 */ addi r3, r3, lbl_805405E4@l -/* 803666F0 00363650 38 A0 00 2C */ li r5, 0x2c -/* 803666F4 00363654 38 84 56 F8 */ addi r4, r4, sub_803656f8@l -/* 803666F8 00363658 38 C0 00 02 */ li r6, 2 -/* 803666FC 0036365C 48 02 2F D9 */ bl __destroy_arr -/* 80366700 00363660 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80366704 00363664 7C 08 03 A6 */ mtlr r0 -/* 80366708 00363668 38 21 00 10 */ addi r1, r1, 0x10 -/* 8036670C 0036366C 4E 80 00 20 */ blr - -.global sub_80366710 -sub_80366710: -/* 80366710 00363670 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80366714 00363674 7C 08 02 A6 */ mflr r0 -/* 80366718 00363678 3C 60 80 54 */ lis r3, lbl_80540580@ha -/* 8036671C 0036367C 3C 80 80 36 */ lis r4, sub_803656f8@ha -/* 80366720 00363680 90 01 00 14 */ stw r0, 0x14(r1) -/* 80366724 00363684 38 63 05 80 */ addi r3, r3, lbl_80540580@l -/* 80366728 00363688 38 A0 00 2C */ li r5, 0x2c -/* 8036672C 0036368C 38 84 56 F8 */ addi r4, r4, sub_803656f8@l -/* 80366730 00363690 38 C0 00 02 */ li r6, 2 -/* 80366734 00363694 48 02 2F A1 */ bl __destroy_arr -/* 80366738 00363698 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8036673C 0036369C 7C 08 03 A6 */ mtlr r0 -/* 80366740 003636A0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80366744 003636A4 4E 80 00 20 */ blr - -.global __ct__15CHalfTransitionFR12CInputStream -__ct__15CHalfTransitionFR12CInputStream: -/* 80366748 003636A8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8036674C 003636AC 7C 08 02 A6 */ mflr r0 -/* 80366750 003636B0 90 01 00 24 */ stw r0, 0x24(r1) -/* 80366754 003636B4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80366758 003636B8 7C 9F 23 78 */ mr r31, r4 -/* 8036675C 003636BC 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80366760 003636C0 7C 7E 1B 78 */ mr r30, r3 -/* 80366764 003636C4 7F E3 FB 78 */ mr r3, r31 -/* 80366768 003636C8 4B FD 85 1D */ bl ReadLong__12CInputStreamFv -/* 8036676C 003636CC 90 7E 00 00 */ stw r3, 0(r30) -/* 80366770 003636D0 7F E4 FB 78 */ mr r4, r31 -/* 80366774 003636D4 38 61 00 08 */ addi r3, r1, 8 -/* 80366778 003636D8 4B F7 B6 75 */ bl CreateMetaTrans__17CMetaTransFactoryFR12CInputStream -/* 8036677C 003636DC 80 01 00 08 */ lwz r0, 8(r1) -/* 80366780 003636E0 38 61 00 08 */ addi r3, r1, 8 -/* 80366784 003636E4 90 1E 00 04 */ stw r0, 4(r30) -/* 80366788 003636E8 80 BE 00 04 */ lwz r5, 4(r30) -/* 8036678C 003636EC 80 85 00 04 */ lwz r4, 4(r5) -/* 80366790 003636F0 38 04 00 01 */ addi r0, r4, 1 -/* 80366794 003636F4 90 05 00 04 */ stw r0, 4(r5) -/* 80366798 003636F8 4B CC DA FD */ bl __dt__17CMetaTransFactoryFv -/* 8036679C 003636FC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 803667A0 00363700 7F C3 F3 78 */ mr r3, r30 -/* 803667A4 00363704 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 803667A8 00363708 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 803667AC 0036370C 7C 08 03 A6 */ mtlr r0 -/* 803667B0 00363710 38 21 00 20 */ addi r1, r1, 0x20 -/* 803667B4 00363714 4E 80 00 20 */ blr - -.global __dt__20CElectricDescriptionFv -__dt__20CElectricDescriptionFv: -/* 803667B8 00363718 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803667BC 0036371C 7C 08 02 A6 */ mflr r0 -/* 803667C0 00363720 90 01 00 14 */ stw r0, 0x14(r1) -/* 803667C4 00363724 93 E1 00 0C */ stw r31, 0xc(r1) -/* 803667C8 00363728 7C 7F 1B 79 */ or. r31, r3, r3 -/* 803667CC 0036372C 93 C1 00 08 */ stw r30, 8(r1) -/* 803667D0 00363730 7C 9E 23 78 */ mr r30, r4 -/* 803667D4 00363734 41 82 02 B0 */ beq lbl_80366A84 -/* 803667D8 00363738 80 7F 00 00 */ lwz r3, 0(r31) -/* 803667DC 0036373C 28 03 00 00 */ cmplwi r3, 0 -/* 803667E0 00363740 41 82 00 18 */ beq lbl_803667F8 -/* 803667E4 00363744 81 83 00 00 */ lwz r12, 0(r3) -/* 803667E8 00363748 38 80 00 01 */ li r4, 1 -/* 803667EC 0036374C 81 8C 00 08 */ lwz r12, 8(r12) -/* 803667F0 00363750 7D 89 03 A6 */ mtctr r12 -/* 803667F4 00363754 4E 80 04 21 */ bctrl -lbl_803667F8: -/* 803667F8 00363758 80 7F 00 04 */ lwz r3, 4(r31) -/* 803667FC 0036375C 28 03 00 00 */ cmplwi r3, 0 -/* 80366800 00363760 41 82 00 18 */ beq lbl_80366818 -/* 80366804 00363764 81 83 00 00 */ lwz r12, 0(r3) -/* 80366808 00363768 38 80 00 01 */ li r4, 1 -/* 8036680C 0036376C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80366810 00363770 7D 89 03 A6 */ mtctr r12 -/* 80366814 00363774 4E 80 04 21 */ bctrl -lbl_80366818: -/* 80366818 00363778 80 7F 00 08 */ lwz r3, 8(r31) -/* 8036681C 0036377C 28 03 00 00 */ cmplwi r3, 0 -/* 80366820 00363780 41 82 00 18 */ beq lbl_80366838 -/* 80366824 00363784 81 83 00 00 */ lwz r12, 0(r3) -/* 80366828 00363788 38 80 00 01 */ li r4, 1 -/* 8036682C 0036378C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80366830 00363790 7D 89 03 A6 */ mtctr r12 -/* 80366834 00363794 4E 80 04 21 */ bctrl -lbl_80366838: -/* 80366838 00363798 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 8036683C 0036379C 28 03 00 00 */ cmplwi r3, 0 -/* 80366840 003637A0 41 82 00 18 */ beq lbl_80366858 -/* 80366844 003637A4 81 83 00 00 */ lwz r12, 0(r3) -/* 80366848 003637A8 38 80 00 01 */ li r4, 1 -/* 8036684C 003637AC 81 8C 00 08 */ lwz r12, 8(r12) -/* 80366850 003637B0 7D 89 03 A6 */ mtctr r12 -/* 80366854 003637B4 4E 80 04 21 */ bctrl -lbl_80366858: -/* 80366858 003637B8 80 7F 00 10 */ lwz r3, 0x10(r31) -/* 8036685C 003637BC 28 03 00 00 */ cmplwi r3, 0 -/* 80366860 003637C0 41 82 00 18 */ beq lbl_80366878 -/* 80366864 003637C4 81 83 00 00 */ lwz r12, 0(r3) -/* 80366868 003637C8 38 80 00 01 */ li r4, 1 -/* 8036686C 003637CC 81 8C 00 08 */ lwz r12, 8(r12) -/* 80366870 003637D0 7D 89 03 A6 */ mtctr r12 -/* 80366874 003637D4 4E 80 04 21 */ bctrl -lbl_80366878: -/* 80366878 003637D8 80 7F 00 14 */ lwz r3, 0x14(r31) -/* 8036687C 003637DC 28 03 00 00 */ cmplwi r3, 0 -/* 80366880 003637E0 41 82 00 18 */ beq lbl_80366898 -/* 80366884 003637E4 81 83 00 00 */ lwz r12, 0(r3) -/* 80366888 003637E8 38 80 00 01 */ li r4, 1 -/* 8036688C 003637EC 81 8C 00 08 */ lwz r12, 8(r12) -/* 80366890 003637F0 7D 89 03 A6 */ mtctr r12 -/* 80366894 003637F4 4E 80 04 21 */ bctrl -lbl_80366898: -/* 80366898 003637F8 80 7F 00 18 */ lwz r3, 0x18(r31) -/* 8036689C 003637FC 28 03 00 00 */ cmplwi r3, 0 -/* 803668A0 00363800 41 82 00 18 */ beq lbl_803668B8 -/* 803668A4 00363804 81 83 00 00 */ lwz r12, 0(r3) -/* 803668A8 00363808 38 80 00 01 */ li r4, 1 -/* 803668AC 0036380C 81 8C 00 08 */ lwz r12, 8(r12) -/* 803668B0 00363810 7D 89 03 A6 */ mtctr r12 -/* 803668B4 00363814 4E 80 04 21 */ bctrl -lbl_803668B8: -/* 803668B8 00363818 80 7F 00 1C */ lwz r3, 0x1c(r31) -/* 803668BC 0036381C 28 03 00 00 */ cmplwi r3, 0 -/* 803668C0 00363820 41 82 00 18 */ beq lbl_803668D8 -/* 803668C4 00363824 81 83 00 00 */ lwz r12, 0(r3) -/* 803668C8 00363828 38 80 00 01 */ li r4, 1 -/* 803668CC 0036382C 81 8C 00 08 */ lwz r12, 8(r12) -/* 803668D0 00363830 7D 89 03 A6 */ mtctr r12 -/* 803668D4 00363834 4E 80 04 21 */ bctrl -lbl_803668D8: -/* 803668D8 00363838 80 7F 00 20 */ lwz r3, 0x20(r31) -/* 803668DC 0036383C 28 03 00 00 */ cmplwi r3, 0 -/* 803668E0 00363840 41 82 00 18 */ beq lbl_803668F8 -/* 803668E4 00363844 81 83 00 00 */ lwz r12, 0(r3) -/* 803668E8 00363848 38 80 00 01 */ li r4, 1 -/* 803668EC 0036384C 81 8C 00 08 */ lwz r12, 8(r12) -/* 803668F0 00363850 7D 89 03 A6 */ mtctr r12 -/* 803668F4 00363854 4E 80 04 21 */ bctrl -lbl_803668F8: -/* 803668F8 00363858 80 7F 00 24 */ lwz r3, 0x24(r31) -/* 803668FC 0036385C 28 03 00 00 */ cmplwi r3, 0 -/* 80366900 00363860 41 82 00 18 */ beq lbl_80366918 -/* 80366904 00363864 81 83 00 00 */ lwz r12, 0(r3) -/* 80366908 00363868 38 80 00 01 */ li r4, 1 -/* 8036690C 0036386C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80366910 00363870 7D 89 03 A6 */ mtctr r12 -/* 80366914 00363874 4E 80 04 21 */ bctrl -lbl_80366918: -/* 80366918 00363878 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 8036691C 0036387C 28 03 00 00 */ cmplwi r3, 0 -/* 80366920 00363880 41 82 00 18 */ beq lbl_80366938 -/* 80366924 00363884 81 83 00 00 */ lwz r12, 0(r3) -/* 80366928 00363888 38 80 00 01 */ li r4, 1 -/* 8036692C 0036388C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80366930 00363890 7D 89 03 A6 */ mtctr r12 -/* 80366934 00363894 4E 80 04 21 */ bctrl -lbl_80366938: -/* 80366938 00363898 80 7F 00 2C */ lwz r3, 0x2c(r31) -/* 8036693C 0036389C 28 03 00 00 */ cmplwi r3, 0 -/* 80366940 003638A0 41 82 00 18 */ beq lbl_80366958 -/* 80366944 003638A4 81 83 00 00 */ lwz r12, 0(r3) -/* 80366948 003638A8 38 80 00 01 */ li r4, 1 -/* 8036694C 003638AC 81 8C 00 08 */ lwz r12, 8(r12) -/* 80366950 003638B0 7D 89 03 A6 */ mtctr r12 -/* 80366954 003638B4 4E 80 04 21 */ bctrl -lbl_80366958: -/* 80366958 003638B8 80 7F 00 30 */ lwz r3, 0x30(r31) -/* 8036695C 003638BC 28 03 00 00 */ cmplwi r3, 0 -/* 80366960 003638C0 41 82 00 18 */ beq lbl_80366978 -/* 80366964 003638C4 81 83 00 00 */ lwz r12, 0(r3) -/* 80366968 003638C8 38 80 00 01 */ li r4, 1 -/* 8036696C 003638CC 81 8C 00 08 */ lwz r12, 8(r12) -/* 80366970 003638D0 7D 89 03 A6 */ mtctr r12 -/* 80366974 003638D4 4E 80 04 21 */ bctrl -lbl_80366978: -/* 80366978 003638D8 80 7F 00 34 */ lwz r3, 0x34(r31) -/* 8036697C 003638DC 28 03 00 00 */ cmplwi r3, 0 -/* 80366980 003638E0 41 82 00 18 */ beq lbl_80366998 -/* 80366984 003638E4 81 83 00 00 */ lwz r12, 0(r3) -/* 80366988 003638E8 38 80 00 01 */ li r4, 1 -/* 8036698C 003638EC 81 8C 00 08 */ lwz r12, 8(r12) -/* 80366990 003638F0 7D 89 03 A6 */ mtctr r12 -/* 80366994 003638F4 4E 80 04 21 */ bctrl -lbl_80366998: -/* 80366998 003638F8 80 7F 00 38 */ lwz r3, 0x38(r31) -/* 8036699C 003638FC 28 03 00 00 */ cmplwi r3, 0 -/* 803669A0 00363900 41 82 00 18 */ beq lbl_803669B8 -/* 803669A4 00363904 81 83 00 00 */ lwz r12, 0(r3) -/* 803669A8 00363908 38 80 00 01 */ li r4, 1 -/* 803669AC 0036390C 81 8C 00 08 */ lwz r12, 8(r12) -/* 803669B0 00363910 7D 89 03 A6 */ mtctr r12 -/* 803669B4 00363914 4E 80 04 21 */ bctrl -lbl_803669B8: -/* 803669B8 00363918 80 7F 00 3C */ lwz r3, 0x3c(r31) -/* 803669BC 0036391C 28 03 00 00 */ cmplwi r3, 0 -/* 803669C0 00363920 41 82 00 18 */ beq lbl_803669D8 -/* 803669C4 00363924 81 83 00 00 */ lwz r12, 0(r3) -/* 803669C8 00363928 38 80 00 01 */ li r4, 1 -/* 803669CC 0036392C 81 8C 00 08 */ lwz r12, 8(r12) -/* 803669D0 00363930 7D 89 03 A6 */ mtctr r12 -/* 803669D4 00363934 4E 80 04 21 */ bctrl -lbl_803669D8: -/* 803669D8 00363938 34 1F 00 60 */ addic. r0, r31, 0x60 -/* 803669DC 0036393C 41 82 00 30 */ beq lbl_80366A0C -/* 803669E0 00363940 88 1F 00 6C */ lbz r0, 0x6c(r31) -/* 803669E4 00363944 28 00 00 00 */ cmplwi r0, 0 -/* 803669E8 00363948 41 82 00 1C */ beq lbl_80366A04 -/* 803669EC 0036394C 34 7F 00 60 */ addic. r3, r31, 0x60 -/* 803669F0 00363950 41 82 00 14 */ beq lbl_80366A04 -/* 803669F4 00363954 28 03 00 00 */ cmplwi r3, 0 -/* 803669F8 00363958 41 82 00 0C */ beq lbl_80366A04 -/* 803669FC 0036395C 38 80 00 00 */ li r4, 0 -/* 80366A00 00363960 4B FD A4 41 */ bl __dt__6CTokenFv -lbl_80366A04: -/* 80366A04 00363964 38 00 00 00 */ li r0, 0 -/* 80366A08 00363968 98 1F 00 6C */ stb r0, 0x6c(r31) -lbl_80366A0C: -/* 80366A0C 0036396C 34 1F 00 50 */ addic. r0, r31, 0x50 -/* 80366A10 00363970 41 82 00 30 */ beq lbl_80366A40 -/* 80366A14 00363974 88 1F 00 5C */ lbz r0, 0x5c(r31) -/* 80366A18 00363978 28 00 00 00 */ cmplwi r0, 0 -/* 80366A1C 0036397C 41 82 00 1C */ beq lbl_80366A38 -/* 80366A20 00363980 34 7F 00 50 */ addic. r3, r31, 0x50 -/* 80366A24 00363984 41 82 00 14 */ beq lbl_80366A38 -/* 80366A28 00363988 28 03 00 00 */ cmplwi r3, 0 -/* 80366A2C 0036398C 41 82 00 0C */ beq lbl_80366A38 -/* 80366A30 00363990 38 80 00 00 */ li r4, 0 -/* 80366A34 00363994 4B FD A4 0D */ bl __dt__6CTokenFv -lbl_80366A38: -/* 80366A38 00363998 38 00 00 00 */ li r0, 0 -/* 80366A3C 0036399C 98 1F 00 5C */ stb r0, 0x5c(r31) -lbl_80366A40: -/* 80366A40 003639A0 34 1F 00 40 */ addic. r0, r31, 0x40 -/* 80366A44 003639A4 41 82 00 30 */ beq lbl_80366A74 -/* 80366A48 003639A8 88 1F 00 4C */ lbz r0, 0x4c(r31) -/* 80366A4C 003639AC 28 00 00 00 */ cmplwi r0, 0 -/* 80366A50 003639B0 41 82 00 1C */ beq lbl_80366A6C -/* 80366A54 003639B4 34 7F 00 40 */ addic. r3, r31, 0x40 -/* 80366A58 003639B8 41 82 00 14 */ beq lbl_80366A6C -/* 80366A5C 003639BC 28 03 00 00 */ cmplwi r3, 0 -/* 80366A60 003639C0 41 82 00 0C */ beq lbl_80366A6C -/* 80366A64 003639C4 38 80 00 00 */ li r4, 0 -/* 80366A68 003639C8 4B FD A3 D9 */ bl __dt__6CTokenFv -lbl_80366A6C: -/* 80366A6C 003639CC 38 00 00 00 */ li r0, 0 -/* 80366A70 003639D0 98 1F 00 4C */ stb r0, 0x4c(r31) -lbl_80366A74: -/* 80366A74 003639D4 7F C0 07 35 */ extsh. r0, r30 -/* 80366A78 003639D8 40 81 00 0C */ ble lbl_80366A84 -/* 80366A7C 003639DC 7F E3 FB 78 */ mr r3, r31 -/* 80366A80 003639E0 4B FA EE B1 */ bl Free__7CMemoryFPCv -lbl_80366A84: -/* 80366A84 003639E4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80366A88 003639E8 7F E3 FB 78 */ mr r3, r31 -/* 80366A8C 003639EC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80366A90 003639F0 83 C1 00 08 */ lwz r30, 8(r1) -/* 80366A94 003639F4 7C 08 03 A6 */ mtlr r0 -/* 80366A98 003639F8 38 21 00 10 */ addi r1, r1, 0x10 -/* 80366A9C 003639FC 4E 80 00 20 */ blr - -.global __ct__20CElectricDescriptionFv -__ct__20CElectricDescriptionFv: -/* 80366AA0 00363A00 38 00 00 00 */ li r0, 0 -/* 80366AA4 00363A04 90 03 00 00 */ stw r0, 0(r3) -/* 80366AA8 00363A08 90 03 00 04 */ stw r0, 4(r3) -/* 80366AAC 00363A0C 90 03 00 08 */ stw r0, 8(r3) -/* 80366AB0 00363A10 90 03 00 0C */ stw r0, 0xc(r3) -/* 80366AB4 00363A14 90 03 00 10 */ stw r0, 0x10(r3) -/* 80366AB8 00363A18 90 03 00 14 */ stw r0, 0x14(r3) -/* 80366ABC 00363A1C 90 03 00 18 */ stw r0, 0x18(r3) -/* 80366AC0 00363A20 90 03 00 1C */ stw r0, 0x1c(r3) -/* 80366AC4 00363A24 90 03 00 20 */ stw r0, 0x20(r3) -/* 80366AC8 00363A28 90 03 00 24 */ stw r0, 0x24(r3) -/* 80366ACC 00363A2C 90 03 00 28 */ stw r0, 0x28(r3) -/* 80366AD0 00363A30 90 03 00 2C */ stw r0, 0x2c(r3) -/* 80366AD4 00363A34 90 03 00 30 */ stw r0, 0x30(r3) -/* 80366AD8 00363A38 90 03 00 34 */ stw r0, 0x34(r3) -/* 80366ADC 00363A3C 90 03 00 38 */ stw r0, 0x38(r3) -/* 80366AE0 00363A40 90 03 00 3C */ stw r0, 0x3c(r3) -/* 80366AE4 00363A44 98 03 00 4C */ stb r0, 0x4c(r3) -/* 80366AE8 00363A48 98 03 00 5C */ stb r0, 0x5c(r3) -/* 80366AEC 00363A4C 98 03 00 6C */ stb r0, 0x6c(r3) -/* 80366AF0 00363A50 98 03 00 70 */ stb r0, 0x70(r3) -/* 80366AF4 00363A54 4E 80 00 20 */ blr - -.global __dt__18CSwooshDescriptionFv -__dt__18CSwooshDescriptionFv: -/* 80366AF8 00363A58 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80366AFC 00363A5C 7C 08 02 A6 */ mflr r0 -/* 80366B00 00363A60 90 01 00 14 */ stw r0, 0x14(r1) -/* 80366B04 00363A64 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80366B08 00363A68 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80366B0C 00363A6C 93 C1 00 08 */ stw r30, 8(r1) -/* 80366B10 00363A70 7C 9E 23 78 */ mr r30, r4 -/* 80366B14 00363A74 41 82 02 34 */ beq lbl_80366D48 -/* 80366B18 00363A78 80 7F 00 00 */ lwz r3, 0(r31) -/* 80366B1C 00363A7C 28 03 00 00 */ cmplwi r3, 0 -/* 80366B20 00363A80 41 82 00 18 */ beq lbl_80366B38 -/* 80366B24 00363A84 81 83 00 00 */ lwz r12, 0(r3) -/* 80366B28 00363A88 38 80 00 01 */ li r4, 1 -/* 80366B2C 00363A8C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80366B30 00363A90 7D 89 03 A6 */ mtctr r12 -/* 80366B34 00363A94 4E 80 04 21 */ bctrl -lbl_80366B38: -/* 80366B38 00363A98 80 7F 00 04 */ lwz r3, 4(r31) -/* 80366B3C 00363A9C 28 03 00 00 */ cmplwi r3, 0 -/* 80366B40 00363AA0 41 82 00 18 */ beq lbl_80366B58 -/* 80366B44 00363AA4 81 83 00 00 */ lwz r12, 0(r3) -/* 80366B48 00363AA8 38 80 00 01 */ li r4, 1 -/* 80366B4C 00363AAC 81 8C 00 08 */ lwz r12, 8(r12) -/* 80366B50 00363AB0 7D 89 03 A6 */ mtctr r12 -/* 80366B54 00363AB4 4E 80 04 21 */ bctrl -lbl_80366B58: -/* 80366B58 00363AB8 80 7F 00 08 */ lwz r3, 8(r31) -/* 80366B5C 00363ABC 28 03 00 00 */ cmplwi r3, 0 -/* 80366B60 00363AC0 41 82 00 18 */ beq lbl_80366B78 -/* 80366B64 00363AC4 81 83 00 00 */ lwz r12, 0(r3) -/* 80366B68 00363AC8 38 80 00 01 */ li r4, 1 -/* 80366B6C 00363ACC 81 8C 00 08 */ lwz r12, 8(r12) -/* 80366B70 00363AD0 7D 89 03 A6 */ mtctr r12 -/* 80366B74 00363AD4 4E 80 04 21 */ bctrl -lbl_80366B78: -/* 80366B78 00363AD8 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 80366B7C 00363ADC 28 03 00 00 */ cmplwi r3, 0 -/* 80366B80 00363AE0 41 82 00 18 */ beq lbl_80366B98 -/* 80366B84 00363AE4 81 83 00 00 */ lwz r12, 0(r3) -/* 80366B88 00363AE8 38 80 00 01 */ li r4, 1 -/* 80366B8C 00363AEC 81 8C 00 08 */ lwz r12, 8(r12) -/* 80366B90 00363AF0 7D 89 03 A6 */ mtctr r12 -/* 80366B94 00363AF4 4E 80 04 21 */ bctrl -lbl_80366B98: -/* 80366B98 00363AF8 80 7F 00 10 */ lwz r3, 0x10(r31) -/* 80366B9C 00363AFC 28 03 00 00 */ cmplwi r3, 0 -/* 80366BA0 00363B00 41 82 00 18 */ beq lbl_80366BB8 -/* 80366BA4 00363B04 81 83 00 00 */ lwz r12, 0(r3) -/* 80366BA8 00363B08 38 80 00 01 */ li r4, 1 -/* 80366BAC 00363B0C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80366BB0 00363B10 7D 89 03 A6 */ mtctr r12 -/* 80366BB4 00363B14 4E 80 04 21 */ bctrl -lbl_80366BB8: -/* 80366BB8 00363B18 80 7F 00 14 */ lwz r3, 0x14(r31) -/* 80366BBC 00363B1C 28 03 00 00 */ cmplwi r3, 0 -/* 80366BC0 00363B20 41 82 00 18 */ beq lbl_80366BD8 -/* 80366BC4 00363B24 81 83 00 00 */ lwz r12, 0(r3) -/* 80366BC8 00363B28 38 80 00 01 */ li r4, 1 -/* 80366BCC 00363B2C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80366BD0 00363B30 7D 89 03 A6 */ mtctr r12 -/* 80366BD4 00363B34 4E 80 04 21 */ bctrl -lbl_80366BD8: -/* 80366BD8 00363B38 80 7F 00 18 */ lwz r3, 0x18(r31) -/* 80366BDC 00363B3C 28 03 00 00 */ cmplwi r3, 0 -/* 80366BE0 00363B40 41 82 00 18 */ beq lbl_80366BF8 -/* 80366BE4 00363B44 81 83 00 00 */ lwz r12, 0(r3) -/* 80366BE8 00363B48 38 80 00 01 */ li r4, 1 -/* 80366BEC 00363B4C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80366BF0 00363B50 7D 89 03 A6 */ mtctr r12 -/* 80366BF4 00363B54 4E 80 04 21 */ bctrl -lbl_80366BF8: -/* 80366BF8 00363B58 80 7F 00 1C */ lwz r3, 0x1c(r31) -/* 80366BFC 00363B5C 28 03 00 00 */ cmplwi r3, 0 -/* 80366C00 00363B60 41 82 00 18 */ beq lbl_80366C18 -/* 80366C04 00363B64 81 83 00 00 */ lwz r12, 0(r3) -/* 80366C08 00363B68 38 80 00 01 */ li r4, 1 -/* 80366C0C 00363B6C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80366C10 00363B70 7D 89 03 A6 */ mtctr r12 -/* 80366C14 00363B74 4E 80 04 21 */ bctrl -lbl_80366C18: -/* 80366C18 00363B78 80 7F 00 20 */ lwz r3, 0x20(r31) -/* 80366C1C 00363B7C 28 03 00 00 */ cmplwi r3, 0 -/* 80366C20 00363B80 41 82 00 18 */ beq lbl_80366C38 -/* 80366C24 00363B84 81 83 00 00 */ lwz r12, 0(r3) -/* 80366C28 00363B88 38 80 00 01 */ li r4, 1 -/* 80366C2C 00363B8C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80366C30 00363B90 7D 89 03 A6 */ mtctr r12 -/* 80366C34 00363B94 4E 80 04 21 */ bctrl -lbl_80366C38: -/* 80366C38 00363B98 80 7F 00 24 */ lwz r3, 0x24(r31) -/* 80366C3C 00363B9C 28 03 00 00 */ cmplwi r3, 0 -/* 80366C40 00363BA0 41 82 00 18 */ beq lbl_80366C58 -/* 80366C44 00363BA4 81 83 00 00 */ lwz r12, 0(r3) -/* 80366C48 00363BA8 38 80 00 01 */ li r4, 1 -/* 80366C4C 00363BAC 81 8C 00 08 */ lwz r12, 8(r12) -/* 80366C50 00363BB0 7D 89 03 A6 */ mtctr r12 -/* 80366C54 00363BB4 4E 80 04 21 */ bctrl -lbl_80366C58: -/* 80366C58 00363BB8 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 80366C5C 00363BBC 28 03 00 00 */ cmplwi r3, 0 -/* 80366C60 00363BC0 41 82 00 18 */ beq lbl_80366C78 -/* 80366C64 00363BC4 81 83 00 00 */ lwz r12, 0(r3) -/* 80366C68 00363BC8 38 80 00 01 */ li r4, 1 -/* 80366C6C 00363BCC 81 8C 00 08 */ lwz r12, 8(r12) -/* 80366C70 00363BD0 7D 89 03 A6 */ mtctr r12 -/* 80366C74 00363BD4 4E 80 04 21 */ bctrl -lbl_80366C78: -/* 80366C78 00363BD8 80 7F 00 2C */ lwz r3, 0x2c(r31) -/* 80366C7C 00363BDC 28 03 00 00 */ cmplwi r3, 0 -/* 80366C80 00363BE0 41 82 00 18 */ beq lbl_80366C98 -/* 80366C84 00363BE4 81 83 00 00 */ lwz r12, 0(r3) -/* 80366C88 00363BE8 38 80 00 01 */ li r4, 1 -/* 80366C8C 00363BEC 81 8C 00 08 */ lwz r12, 8(r12) -/* 80366C90 00363BF0 7D 89 03 A6 */ mtctr r12 -/* 80366C94 00363BF4 4E 80 04 21 */ bctrl -lbl_80366C98: -/* 80366C98 00363BF8 80 7F 00 30 */ lwz r3, 0x30(r31) -/* 80366C9C 00363BFC 28 03 00 00 */ cmplwi r3, 0 -/* 80366CA0 00363C00 41 82 00 18 */ beq lbl_80366CB8 -/* 80366CA4 00363C04 81 83 00 00 */ lwz r12, 0(r3) -/* 80366CA8 00363C08 38 80 00 01 */ li r4, 1 -/* 80366CAC 00363C0C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80366CB0 00363C10 7D 89 03 A6 */ mtctr r12 -/* 80366CB4 00363C14 4E 80 04 21 */ bctrl -lbl_80366CB8: -/* 80366CB8 00363C18 80 7F 00 34 */ lwz r3, 0x34(r31) -/* 80366CBC 00363C1C 28 03 00 00 */ cmplwi r3, 0 -/* 80366CC0 00363C20 41 82 00 18 */ beq lbl_80366CD8 -/* 80366CC4 00363C24 81 83 00 00 */ lwz r12, 0(r3) -/* 80366CC8 00363C28 38 80 00 01 */ li r4, 1 -/* 80366CCC 00363C2C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80366CD0 00363C30 7D 89 03 A6 */ mtctr r12 -/* 80366CD4 00363C34 4E 80 04 21 */ bctrl -lbl_80366CD8: -/* 80366CD8 00363C38 80 7F 00 38 */ lwz r3, 0x38(r31) -/* 80366CDC 00363C3C 28 03 00 00 */ cmplwi r3, 0 -/* 80366CE0 00363C40 41 82 00 18 */ beq lbl_80366CF8 -/* 80366CE4 00363C44 81 83 00 00 */ lwz r12, 0(r3) -/* 80366CE8 00363C48 38 80 00 01 */ li r4, 1 -/* 80366CEC 00363C4C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80366CF0 00363C50 7D 89 03 A6 */ mtctr r12 -/* 80366CF4 00363C54 4E 80 04 21 */ bctrl -lbl_80366CF8: -/* 80366CF8 00363C58 80 7F 00 3C */ lwz r3, 0x3c(r31) -/* 80366CFC 00363C5C 28 03 00 00 */ cmplwi r3, 0 -/* 80366D00 00363C60 41 82 00 18 */ beq lbl_80366D18 -/* 80366D04 00363C64 81 83 00 00 */ lwz r12, 0(r3) -/* 80366D08 00363C68 38 80 00 01 */ li r4, 1 -/* 80366D0C 00363C6C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80366D10 00363C70 7D 89 03 A6 */ mtctr r12 -/* 80366D14 00363C74 4E 80 04 21 */ bctrl -lbl_80366D18: -/* 80366D18 00363C78 80 7F 00 40 */ lwz r3, 0x40(r31) -/* 80366D1C 00363C7C 28 03 00 00 */ cmplwi r3, 0 -/* 80366D20 00363C80 41 82 00 18 */ beq lbl_80366D38 -/* 80366D24 00363C84 81 83 00 00 */ lwz r12, 0(r3) -/* 80366D28 00363C88 38 80 00 01 */ li r4, 1 -/* 80366D2C 00363C8C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80366D30 00363C90 7D 89 03 A6 */ mtctr r12 -/* 80366D34 00363C94 4E 80 04 21 */ bctrl -lbl_80366D38: -/* 80366D38 00363C98 7F C0 07 35 */ extsh. r0, r30 -/* 80366D3C 00363C9C 40 81 00 0C */ ble lbl_80366D48 -/* 80366D40 00363CA0 7F E3 FB 78 */ mr r3, r31 -/* 80366D44 00363CA4 4B FA EB ED */ bl Free__7CMemoryFPCv -lbl_80366D48: -/* 80366D48 00363CA8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80366D4C 00363CAC 7F E3 FB 78 */ mr r3, r31 -/* 80366D50 00363CB0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80366D54 00363CB4 83 C1 00 08 */ lwz r30, 8(r1) -/* 80366D58 00363CB8 7C 08 03 A6 */ mtlr r0 -/* 80366D5C 00363CBC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80366D60 00363CC0 4E 80 00 20 */ blr - -.global __ct__18CSwooshDescriptionFv -__ct__18CSwooshDescriptionFv: -/* 80366D64 00363CC4 38 A0 00 00 */ li r5, 0 -/* 80366D68 00363CC8 38 80 00 01 */ li r4, 1 -/* 80366D6C 00363CCC 90 A3 00 00 */ stw r5, 0(r3) -/* 80366D70 00363CD0 90 A3 00 04 */ stw r5, 4(r3) -/* 80366D74 00363CD4 90 A3 00 08 */ stw r5, 8(r3) -/* 80366D78 00363CD8 90 A3 00 0C */ stw r5, 0xc(r3) -/* 80366D7C 00363CDC 90 A3 00 10 */ stw r5, 0x10(r3) -/* 80366D80 00363CE0 90 A3 00 14 */ stw r5, 0x14(r3) -/* 80366D84 00363CE4 90 A3 00 18 */ stw r5, 0x18(r3) -/* 80366D88 00363CE8 90 A3 00 1C */ stw r5, 0x1c(r3) -/* 80366D8C 00363CEC 90 A3 00 20 */ stw r5, 0x20(r3) -/* 80366D90 00363CF0 90 A3 00 24 */ stw r5, 0x24(r3) -/* 80366D94 00363CF4 90 A3 00 28 */ stw r5, 0x28(r3) -/* 80366D98 00363CF8 90 A3 00 2C */ stw r5, 0x2c(r3) -/* 80366D9C 00363CFC 90 A3 00 30 */ stw r5, 0x30(r3) -/* 80366DA0 00363D00 90 A3 00 34 */ stw r5, 0x34(r3) -/* 80366DA4 00363D04 90 A3 00 38 */ stw r5, 0x38(r3) -/* 80366DA8 00363D08 90 A3 00 3C */ stw r5, 0x3c(r3) -/* 80366DAC 00363D0C 90 A3 00 40 */ stw r5, 0x40(r3) -/* 80366DB0 00363D10 88 03 00 44 */ lbz r0, 0x44(r3) -/* 80366DB4 00363D14 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 -/* 80366DB8 00363D18 98 03 00 44 */ stb r0, 0x44(r3) -/* 80366DBC 00363D1C 88 03 00 44 */ lbz r0, 0x44(r3) -/* 80366DC0 00363D20 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 -/* 80366DC4 00363D24 98 03 00 44 */ stb r0, 0x44(r3) -/* 80366DC8 00363D28 88 03 00 44 */ lbz r0, 0x44(r3) -/* 80366DCC 00363D2C 50 A0 2E B4 */ rlwimi r0, r5, 5, 0x1a, 0x1a -/* 80366DD0 00363D30 98 03 00 44 */ stb r0, 0x44(r3) -/* 80366DD4 00363D34 88 03 00 44 */ lbz r0, 0x44(r3) -/* 80366DD8 00363D38 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b -/* 80366DDC 00363D3C 98 03 00 44 */ stb r0, 0x44(r3) -/* 80366DE0 00363D40 88 03 00 44 */ lbz r0, 0x44(r3) -/* 80366DE4 00363D44 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c -/* 80366DE8 00363D48 98 03 00 44 */ stb r0, 0x44(r3) -/* 80366DEC 00363D4C 88 03 00 44 */ lbz r0, 0x44(r3) -/* 80366DF0 00363D50 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d -/* 80366DF4 00363D54 98 03 00 44 */ stb r0, 0x44(r3) -/* 80366DF8 00363D58 88 03 00 44 */ lbz r0, 0x44(r3) -/* 80366DFC 00363D5C 50 A0 0F BC */ rlwimi r0, r5, 1, 0x1e, 0x1e -/* 80366E00 00363D60 98 03 00 44 */ stb r0, 0x44(r3) -/* 80366E04 00363D64 88 03 00 44 */ lbz r0, 0x44(r3) -/* 80366E08 00363D68 50 A0 07 FE */ rlwimi r0, r5, 0, 0x1f, 0x1f -/* 80366E0C 00363D6C 98 03 00 44 */ stb r0, 0x44(r3) -/* 80366E10 00363D70 88 03 00 45 */ lbz r0, 0x45(r3) -/* 80366E14 00363D74 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 -/* 80366E18 00363D78 98 03 00 45 */ stb r0, 0x45(r3) -/* 80366E1C 00363D7C 88 03 00 45 */ lbz r0, 0x45(r3) -/* 80366E20 00363D80 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 -/* 80366E24 00363D84 98 03 00 45 */ stb r0, 0x45(r3) -/* 80366E28 00363D88 88 03 00 45 */ lbz r0, 0x45(r3) -/* 80366E2C 00363D8C 50 A0 2E B4 */ rlwimi r0, r5, 5, 0x1a, 0x1a -/* 80366E30 00363D90 98 03 00 45 */ stb r0, 0x45(r3) -/* 80366E34 00363D94 4E 80 00 20 */ blr - -.global __dt__15CGenDescriptionFv -__dt__15CGenDescriptionFv: -/* 80366E38 00363D98 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80366E3C 00363D9C 7C 08 02 A6 */ mflr r0 -/* 80366E40 00363DA0 90 01 00 24 */ stw r0, 0x24(r1) -/* 80366E44 00363DA4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80366E48 00363DA8 7C 9F 23 78 */ mr r31, r4 -/* 80366E4C 00363DAC 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80366E50 00363DB0 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80366E54 00363DB4 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80366E58 00363DB8 93 81 00 10 */ stw r28, 0x10(r1) -/* 80366E5C 00363DBC 41 82 01 94 */ beq lbl_80366FF0 -/* 80366E60 00363DC0 3C 60 80 3E */ lis r3, lbl_803D8418@ha -/* 80366E64 00363DC4 3B 80 00 00 */ li r28, 0 -/* 80366E68 00363DC8 3B A3 84 18 */ addi r29, r3, lbl_803D8418@l -lbl_80366E6C: -/* 80366E6C 00363DCC 80 9D 00 00 */ lwz r4, 0(r29) -/* 80366E70 00363DD0 7F C3 F3 78 */ mr r3, r30 -/* 80366E74 00363DD4 48 00 03 C1 */ bl element_from_desc__FP15CGenDescriptioni -/* 80366E78 00363DD8 80 63 00 00 */ lwz r3, 0(r3) -/* 80366E7C 00363DDC 28 03 00 00 */ cmplwi r3, 0 -/* 80366E80 00363DE0 41 82 00 18 */ beq lbl_80366E98 -/* 80366E84 00363DE4 81 83 00 00 */ lwz r12, 0(r3) -/* 80366E88 00363DE8 38 80 00 01 */ li r4, 1 -/* 80366E8C 00363DEC 81 8C 00 08 */ lwz r12, 8(r12) -/* 80366E90 00363DF0 7D 89 03 A6 */ mtctr r12 -/* 80366E94 00363DF4 4E 80 04 21 */ bctrl -lbl_80366E98: -/* 80366E98 00363DF8 3B 9C 00 01 */ addi r28, r28, 1 -/* 80366E9C 00363DFC 3B BD 00 04 */ addi r29, r29, 4 -/* 80366EA0 00363E00 2C 1C 00 32 */ cmpwi r28, 0x32 -/* 80366EA4 00363E04 41 80 FF C8 */ blt lbl_80366E6C -/* 80366EA8 00363E08 34 1E 00 D8 */ addic. r0, r30, 0xd8 -/* 80366EAC 00363E0C 41 82 00 24 */ beq lbl_80366ED0 -/* 80366EB0 00363E10 88 1E 00 E0 */ lbz r0, 0xe0(r30) -/* 80366EB4 00363E14 28 00 00 00 */ cmplwi r0, 0 -/* 80366EB8 00363E18 41 82 00 10 */ beq lbl_80366EC8 -/* 80366EBC 00363E1C 38 7E 00 D8 */ addi r3, r30, 0xd8 -/* 80366EC0 00363E20 38 80 FF FF */ li r4, -1 -/* 80366EC4 00363E24 4B FD 9F 7D */ bl __dt__6CTokenFv -lbl_80366EC8: -/* 80366EC8 00363E28 38 00 00 00 */ li r0, 0 -/* 80366ECC 00363E2C 98 1E 00 E0 */ stb r0, 0xe0(r30) -lbl_80366ED0: -/* 80366ED0 00363E30 34 1E 00 C0 */ addic. r0, r30, 0xc0 -/* 80366ED4 00363E34 41 82 00 30 */ beq lbl_80366F04 -/* 80366ED8 00363E38 88 1E 00 CC */ lbz r0, 0xcc(r30) -/* 80366EDC 00363E3C 28 00 00 00 */ cmplwi r0, 0 -/* 80366EE0 00363E40 41 82 00 1C */ beq lbl_80366EFC -/* 80366EE4 00363E44 34 7E 00 C0 */ addic. r3, r30, 0xc0 -/* 80366EE8 00363E48 41 82 00 14 */ beq lbl_80366EFC -/* 80366EEC 00363E4C 28 03 00 00 */ cmplwi r3, 0 -/* 80366EF0 00363E50 41 82 00 0C */ beq lbl_80366EFC -/* 80366EF4 00363E54 38 80 00 00 */ li r4, 0 -/* 80366EF8 00363E58 4B FD 9F 49 */ bl __dt__6CTokenFv -lbl_80366EFC: -/* 80366EFC 00363E5C 38 00 00 00 */ li r0, 0 -/* 80366F00 00363E60 98 1E 00 CC */ stb r0, 0xcc(r30) -lbl_80366F04: -/* 80366F04 00363E64 38 7E 00 BC */ addi r3, r30, 0xbc -/* 80366F08 00363E68 38 80 FF FF */ li r4, -1 -/* 80366F0C 00363E6C 48 00 01 09 */ bl "__dt__Q24rstl38single_ptr<24CSpawnSystemKeyframeData>Fv" -/* 80366F10 00363E70 34 1E 00 A4 */ addic. r0, r30, 0xa4 -/* 80366F14 00363E74 41 82 00 30 */ beq lbl_80366F44 -/* 80366F18 00363E78 88 1E 00 B0 */ lbz r0, 0xb0(r30) -/* 80366F1C 00363E7C 28 00 00 00 */ cmplwi r0, 0 -/* 80366F20 00363E80 41 82 00 1C */ beq lbl_80366F3C -/* 80366F24 00363E84 34 7E 00 A4 */ addic. r3, r30, 0xa4 -/* 80366F28 00363E88 41 82 00 14 */ beq lbl_80366F3C -/* 80366F2C 00363E8C 28 03 00 00 */ cmplwi r3, 0 -/* 80366F30 00363E90 41 82 00 0C */ beq lbl_80366F3C -/* 80366F34 00363E94 38 80 00 00 */ li r4, 0 -/* 80366F38 00363E98 4B FD 9F 09 */ bl __dt__6CTokenFv -lbl_80366F3C: -/* 80366F3C 00363E9C 38 00 00 00 */ li r0, 0 -/* 80366F40 00363EA0 98 1E 00 B0 */ stb r0, 0xb0(r30) -lbl_80366F44: -/* 80366F44 00363EA4 34 1E 00 90 */ addic. r0, r30, 0x90 -/* 80366F48 00363EA8 41 82 00 30 */ beq lbl_80366F78 -/* 80366F4C 00363EAC 88 1E 00 9C */ lbz r0, 0x9c(r30) -/* 80366F50 00363EB0 28 00 00 00 */ cmplwi r0, 0 -/* 80366F54 00363EB4 41 82 00 1C */ beq lbl_80366F70 -/* 80366F58 00363EB8 34 7E 00 90 */ addic. r3, r30, 0x90 -/* 80366F5C 00363EBC 41 82 00 14 */ beq lbl_80366F70 -/* 80366F60 00363EC0 28 03 00 00 */ cmplwi r3, 0 -/* 80366F64 00363EC4 41 82 00 0C */ beq lbl_80366F70 -/* 80366F68 00363EC8 38 80 00 00 */ li r4, 0 -/* 80366F6C 00363ECC 4B FD 9E D5 */ bl __dt__6CTokenFv -lbl_80366F70: -/* 80366F70 00363ED0 38 00 00 00 */ li r0, 0 -/* 80366F74 00363ED4 98 1E 00 9C */ stb r0, 0x9c(r30) -lbl_80366F78: -/* 80366F78 00363ED8 34 1E 00 78 */ addic. r0, r30, 0x78 -/* 80366F7C 00363EDC 41 82 00 30 */ beq lbl_80366FAC -/* 80366F80 00363EE0 88 1E 00 84 */ lbz r0, 0x84(r30) -/* 80366F84 00363EE4 28 00 00 00 */ cmplwi r0, 0 -/* 80366F88 00363EE8 41 82 00 1C */ beq lbl_80366FA4 -/* 80366F8C 00363EEC 34 7E 00 78 */ addic. r3, r30, 0x78 -/* 80366F90 00363EF0 41 82 00 14 */ beq lbl_80366FA4 -/* 80366F94 00363EF4 28 03 00 00 */ cmplwi r3, 0 -/* 80366F98 00363EF8 41 82 00 0C */ beq lbl_80366FA4 -/* 80366F9C 00363EFC 38 80 00 00 */ li r4, 0 -/* 80366FA0 00363F00 4B FD 9E A1 */ bl __dt__6CTokenFv -lbl_80366FA4: -/* 80366FA4 00363F04 38 00 00 00 */ li r0, 0 -/* 80366FA8 00363F08 98 1E 00 84 */ stb r0, 0x84(r30) -lbl_80366FAC: -/* 80366FAC 00363F0C 34 1E 00 48 */ addic. r0, r30, 0x48 -/* 80366FB0 00363F10 41 82 00 30 */ beq lbl_80366FE0 -/* 80366FB4 00363F14 88 1E 00 54 */ lbz r0, 0x54(r30) -/* 80366FB8 00363F18 28 00 00 00 */ cmplwi r0, 0 -/* 80366FBC 00363F1C 41 82 00 1C */ beq lbl_80366FD8 -/* 80366FC0 00363F20 34 7E 00 48 */ addic. r3, r30, 0x48 -/* 80366FC4 00363F24 41 82 00 14 */ beq lbl_80366FD8 -/* 80366FC8 00363F28 28 03 00 00 */ cmplwi r3, 0 -/* 80366FCC 00363F2C 41 82 00 0C */ beq lbl_80366FD8 -/* 80366FD0 00363F30 38 80 00 00 */ li r4, 0 -/* 80366FD4 00363F34 4B FD 9E 6D */ bl __dt__6CTokenFv -lbl_80366FD8: -/* 80366FD8 00363F38 38 00 00 00 */ li r0, 0 -/* 80366FDC 00363F3C 98 1E 00 54 */ stb r0, 0x54(r30) -lbl_80366FE0: -/* 80366FE0 00363F40 7F E0 07 35 */ extsh. r0, r31 -/* 80366FE4 00363F44 40 81 00 0C */ ble lbl_80366FF0 -/* 80366FE8 00363F48 7F C3 F3 78 */ mr r3, r30 -/* 80366FEC 00363F4C 4B FA E9 45 */ bl Free__7CMemoryFPCv -lbl_80366FF0: -/* 80366FF0 00363F50 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80366FF4 00363F54 7F C3 F3 78 */ mr r3, r30 -/* 80366FF8 00363F58 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80366FFC 00363F5C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80367000 00363F60 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80367004 00363F64 83 81 00 10 */ lwz r28, 0x10(r1) -/* 80367008 00363F68 7C 08 03 A6 */ mtlr r0 -/* 8036700C 00363F6C 38 21 00 20 */ addi r1, r1, 0x20 -/* 80367010 00363F70 4E 80 00 20 */ blr - -.global "__dt__Q24rstl38single_ptr<24CSpawnSystemKeyframeData>Fv" -"__dt__Q24rstl38single_ptr<24CSpawnSystemKeyframeData>Fv": -/* 80367014 00363F74 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80367018 00363F78 7C 08 02 A6 */ mflr r0 -/* 8036701C 00363F7C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80367020 00363F80 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80367024 00363F84 7C 9F 23 78 */ mr r31, r4 -/* 80367028 00363F88 93 C1 00 08 */ stw r30, 8(r1) -/* 8036702C 00363F8C 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80367030 00363F90 41 82 00 20 */ beq lbl_80367050 -/* 80367034 00363F94 80 7E 00 00 */ lwz r3, 0(r30) -/* 80367038 00363F98 38 80 00 01 */ li r4, 1 -/* 8036703C 00363F9C 4B FC 2A 51 */ bl sub_80329a8c -/* 80367040 00363FA0 7F E0 07 35 */ extsh. r0, r31 -/* 80367044 00363FA4 40 81 00 0C */ ble lbl_80367050 -/* 80367048 00363FA8 7F C3 F3 78 */ mr r3, r30 -/* 8036704C 00363FAC 4B FA E8 E5 */ bl Free__7CMemoryFPCv -lbl_80367050: -/* 80367050 00363FB0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80367054 00363FB4 7F C3 F3 78 */ mr r3, r30 -/* 80367058 00363FB8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8036705C 00363FBC 83 C1 00 08 */ lwz r30, 8(r1) -/* 80367060 00363FC0 7C 08 03 A6 */ mtlr r0 -/* 80367064 00363FC4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80367068 00363FC8 4E 80 00 20 */ blr - -.global __ct__15CGenDescriptionFv -__ct__15CGenDescriptionFv: -/* 8036706C 00363FCC 38 A0 00 00 */ li r5, 0 -/* 80367070 00363FD0 38 80 00 01 */ li r4, 1 -/* 80367074 00363FD4 90 A3 00 00 */ stw r5, 0(r3) -/* 80367078 00363FD8 90 A3 00 04 */ stw r5, 4(r3) -/* 8036707C 00363FDC 90 A3 00 08 */ stw r5, 8(r3) -/* 80367080 00363FE0 90 A3 00 0C */ stw r5, 0xc(r3) -/* 80367084 00363FE4 90 A3 00 10 */ stw r5, 0x10(r3) -/* 80367088 00363FE8 90 A3 00 14 */ stw r5, 0x14(r3) -/* 8036708C 00363FEC 90 A3 00 18 */ stw r5, 0x18(r3) -/* 80367090 00363FF0 90 A3 00 1C */ stw r5, 0x1c(r3) -/* 80367094 00363FF4 90 A3 00 20 */ stw r5, 0x20(r3) -/* 80367098 00363FF8 90 A3 00 24 */ stw r5, 0x24(r3) -/* 8036709C 00363FFC 90 A3 00 28 */ stw r5, 0x28(r3) -/* 803670A0 00364000 90 A3 00 2C */ stw r5, 0x2c(r3) -/* 803670A4 00364004 88 03 00 30 */ lbz r0, 0x30(r3) -/* 803670A8 00364008 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 -/* 803670AC 0036400C 98 03 00 30 */ stb r0, 0x30(r3) -/* 803670B0 00364010 88 03 00 30 */ lbz r0, 0x30(r3) -/* 803670B4 00364014 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 -/* 803670B8 00364018 98 03 00 30 */ stb r0, 0x30(r3) -/* 803670BC 0036401C 88 03 00 30 */ lbz r0, 0x30(r3) -/* 803670C0 00364020 50 A0 2E B4 */ rlwimi r0, r5, 5, 0x1a, 0x1a -/* 803670C4 00364024 98 03 00 30 */ stb r0, 0x30(r3) -/* 803670C8 00364028 88 03 00 30 */ lbz r0, 0x30(r3) -/* 803670CC 0036402C 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b -/* 803670D0 00364030 98 03 00 30 */ stb r0, 0x30(r3) -/* 803670D4 00364034 88 03 00 30 */ lbz r0, 0x30(r3) -/* 803670D8 00364038 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c -/* 803670DC 0036403C 98 03 00 30 */ stb r0, 0x30(r3) -/* 803670E0 00364040 88 03 00 30 */ lbz r0, 0x30(r3) -/* 803670E4 00364044 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d -/* 803670E8 00364048 98 03 00 30 */ stb r0, 0x30(r3) -/* 803670EC 0036404C 88 03 00 30 */ lbz r0, 0x30(r3) -/* 803670F0 00364050 50 A0 0F BC */ rlwimi r0, r5, 1, 0x1e, 0x1e -/* 803670F4 00364054 98 03 00 30 */ stb r0, 0x30(r3) -/* 803670F8 00364058 88 03 00 30 */ lbz r0, 0x30(r3) -/* 803670FC 0036405C 50 A0 07 FE */ rlwimi r0, r5, 0, 0x1f, 0x1f -/* 80367100 00364060 98 03 00 30 */ stb r0, 0x30(r3) -/* 80367104 00364064 88 03 00 31 */ lbz r0, 0x31(r3) -/* 80367108 00364068 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 -/* 8036710C 0036406C 98 03 00 31 */ stb r0, 0x31(r3) -/* 80367110 00364070 88 03 00 31 */ lbz r0, 0x31(r3) -/* 80367114 00364074 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 -/* 80367118 00364078 98 03 00 31 */ stb r0, 0x31(r3) -/* 8036711C 0036407C 88 03 00 31 */ lbz r0, 0x31(r3) -/* 80367120 00364080 50 A0 2E B4 */ rlwimi r0, r5, 5, 0x1a, 0x1a -/* 80367124 00364084 98 03 00 31 */ stb r0, 0x31(r3) -/* 80367128 00364088 88 03 00 31 */ lbz r0, 0x31(r3) -/* 8036712C 0036408C 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b -/* 80367130 00364090 98 03 00 31 */ stb r0, 0x31(r3) -/* 80367134 00364094 88 03 00 31 */ lbz r0, 0x31(r3) -/* 80367138 00364098 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c -/* 8036713C 0036409C 98 03 00 31 */ stb r0, 0x31(r3) -/* 80367140 003640A0 88 03 00 31 */ lbz r0, 0x31(r3) -/* 80367144 003640A4 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d -/* 80367148 003640A8 98 03 00 31 */ stb r0, 0x31(r3) -/* 8036714C 003640AC 88 03 00 31 */ lbz r0, 0x31(r3) -/* 80367150 003640B0 50 A0 0F BC */ rlwimi r0, r5, 1, 0x1e, 0x1e -/* 80367154 003640B4 98 03 00 31 */ stb r0, 0x31(r3) -/* 80367158 003640B8 88 03 00 31 */ lbz r0, 0x31(r3) -/* 8036715C 003640BC 50 A0 07 FE */ rlwimi r0, r5, 0, 0x1f, 0x1f -/* 80367160 003640C0 98 03 00 31 */ stb r0, 0x31(r3) -/* 80367164 003640C4 88 03 00 32 */ lbz r0, 0x32(r3) -/* 80367168 003640C8 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 -/* 8036716C 003640CC 98 03 00 32 */ stb r0, 0x32(r3) -/* 80367170 003640D0 88 03 00 32 */ lbz r0, 0x32(r3) -/* 80367174 003640D4 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 -/* 80367178 003640D8 98 03 00 32 */ stb r0, 0x32(r3) -/* 8036717C 003640DC 90 A3 00 34 */ stw r5, 0x34(r3) -/* 80367180 003640E0 90 A3 00 38 */ stw r5, 0x38(r3) -/* 80367184 003640E4 90 A3 00 3C */ stw r5, 0x3c(r3) -/* 80367188 003640E8 90 A3 00 40 */ stw r5, 0x40(r3) -/* 8036718C 003640EC 90 A3 00 44 */ stw r5, 0x44(r3) -/* 80367190 003640F0 98 A3 00 54 */ stb r5, 0x54(r3) -/* 80367194 003640F4 90 A3 00 58 */ stw r5, 0x58(r3) -/* 80367198 003640F8 90 A3 00 5C */ stw r5, 0x5c(r3) -/* 8036719C 003640FC 90 A3 00 60 */ stw r5, 0x60(r3) -/* 803671A0 00364100 90 A3 00 64 */ stw r5, 0x64(r3) -/* 803671A4 00364104 90 A3 00 68 */ stw r5, 0x68(r3) -/* 803671A8 00364108 90 A3 00 6C */ stw r5, 0x6c(r3) -/* 803671AC 0036410C 90 A3 00 70 */ stw r5, 0x70(r3) -/* 803671B0 00364110 90 A3 00 74 */ stw r5, 0x74(r3) -/* 803671B4 00364114 98 A3 00 84 */ stb r5, 0x84(r3) -/* 803671B8 00364118 90 A3 00 88 */ stw r5, 0x88(r3) -/* 803671BC 0036411C 90 A3 00 8C */ stw r5, 0x8c(r3) -/* 803671C0 00364120 98 A3 00 9C */ stb r5, 0x9c(r3) -/* 803671C4 00364124 90 A3 00 A0 */ stw r5, 0xa0(r3) -/* 803671C8 00364128 98 A3 00 B0 */ stb r5, 0xb0(r3) -/* 803671CC 0036412C 90 A3 00 B4 */ stw r5, 0xb4(r3) -/* 803671D0 00364130 90 A3 00 B8 */ stw r5, 0xb8(r3) -/* 803671D4 00364134 90 A3 00 BC */ stw r5, 0xbc(r3) -/* 803671D8 00364138 98 A3 00 CC */ stb r5, 0xcc(r3) -/* 803671DC 0036413C 90 A3 00 D0 */ stw r5, 0xd0(r3) -/* 803671E0 00364140 90 A3 00 D4 */ stw r5, 0xd4(r3) -/* 803671E4 00364144 98 A3 00 E0 */ stb r5, 0xe0(r3) -/* 803671E8 00364148 90 A3 00 E4 */ stw r5, 0xe4(r3) -/* 803671EC 0036414C 90 A3 00 E8 */ stw r5, 0xe8(r3) -/* 803671F0 00364150 90 A3 00 EC */ stw r5, 0xec(r3) -/* 803671F4 00364154 90 A3 00 F0 */ stw r5, 0xf0(r3) -/* 803671F8 00364158 90 A3 00 F4 */ stw r5, 0xf4(r3) -/* 803671FC 0036415C 90 A3 00 F8 */ stw r5, 0xf8(r3) -/* 80367200 00364160 90 A3 00 FC */ stw r5, 0xfc(r3) -/* 80367204 00364164 90 A3 01 00 */ stw r5, 0x100(r3) -/* 80367208 00364168 90 A3 01 04 */ stw r5, 0x104(r3) -/* 8036720C 0036416C 90 A3 01 08 */ stw r5, 0x108(r3) -/* 80367210 00364170 90 A3 01 0C */ stw r5, 0x10c(r3) -/* 80367214 00364174 90 A3 01 10 */ stw r5, 0x110(r3) -/* 80367218 00364178 90 A3 01 14 */ stw r5, 0x114(r3) -/* 8036721C 0036417C 90 A3 01 18 */ stw r5, 0x118(r3) -/* 80367220 00364180 90 A3 01 1C */ stw r5, 0x11c(r3) -/* 80367224 00364184 90 A3 01 20 */ stw r5, 0x120(r3) -/* 80367228 00364188 90 A3 01 24 */ stw r5, 0x124(r3) -/* 8036722C 0036418C 90 A3 01 28 */ stw r5, 0x128(r3) -/* 80367230 00364190 4E 80 00 20 */ blr - -.global element_from_desc__FP15CGenDescriptioni -element_from_desc__FP15CGenDescriptioni: -/* 80367234 00364194 7C 63 22 14 */ add r3, r3, r4 -/* 80367238 00364198 4E 80 00 20 */ blr - -.global EnsureWorldPakReady__8CPakFileFv -EnsureWorldPakReady__8CPakFileFv: -/* 8036723C 0036419C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80367240 003641A0 7C 08 02 A6 */ mflr r0 -/* 80367244 003641A4 90 01 00 34 */ stw r0, 0x34(r1) -/* 80367248 003641A8 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8036724C 003641AC 7C 7F 1B 78 */ mr r31, r3 -/* 80367250 003641B0 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80367254 003641B4 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80367258 003641B8 93 81 00 20 */ stw r28, 0x20(r1) -/* 8036725C 003641BC 88 63 00 28 */ lbz r3, 0x28(r3) -/* 80367260 003641C0 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f -/* 80367264 003641C4 41 82 01 A8 */ beq lbl_8036740C -/* 80367268 003641C8 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f -/* 8036726C 003641CC 41 82 01 A0 */ beq lbl_8036740C -/* 80367270 003641D0 80 7F 00 4C */ lwz r3, 0x4c(r31) -/* 80367274 003641D4 38 81 00 08 */ addi r4, r1, 8 -/* 80367278 003641D8 80 0D 9E 94 */ lwz r0, lbl_805A8A54@sda21(r13) -/* 8036727C 003641DC 1C 63 00 0A */ mulli r3, r3, 0xa -/* 80367280 003641E0 38 63 00 1F */ addi r3, r3, 0x1f -/* 80367284 003641E4 54 63 00 34 */ rlwinm r3, r3, 0, 0, 0x1a -/* 80367288 003641E8 38 63 00 09 */ addi r3, r3, 9 -/* 8036728C 003641EC 7C 03 00 00 */ cmpw r3, r0 -/* 80367290 003641F0 90 61 00 08 */ stw r3, 8(r1) -/* 80367294 003641F4 40 80 00 08 */ bge lbl_8036729C -/* 80367298 003641F8 38 8D 9E 94 */ addi r4, r13, lbl_805A8A54@sda21 -lbl_8036729C: -/* 8036729C 003641FC 3C 60 CC CD */ lis r3, 0xCCCCCCCD@ha -/* 803672A0 00364200 80 04 00 00 */ lwz r0, 0(r4) -/* 803672A4 00364204 38 83 CC CD */ addi r4, r3, 0xCCCCCCCD@l -/* 803672A8 00364208 38 7F 00 74 */ addi r3, r31, 0x74 -/* 803672AC 0036420C 7C 04 00 16 */ mulhwu r0, r4, r0 -/* 803672B0 00364210 54 04 E8 FE */ srwi r4, r0, 3 -/* 803672B4 00364214 48 00 18 45 */ bl sub_80368af8 -/* 803672B8 00364218 3B A0 00 00 */ li r29, 0 -/* 803672BC 0036421C 3F C0 54 58 */ lis r30, 0x5458 -/* 803672C0 00364220 48 00 00 84 */ b lbl_80367344 -lbl_803672C4: -/* 803672C4 00364224 7F A4 EB 78 */ mr r4, r29 -/* 803672C8 00364228 38 61 00 0C */ addi r3, r1, 0xc -/* 803672CC 0036422C 38 BE 54 52 */ addi r5, r30, 0x5452 -/* 803672D0 00364230 38 C0 00 00 */ li r6, 0 -/* 803672D4 00364234 38 E0 00 00 */ li r7, 0 -/* 803672D8 00364238 39 00 00 00 */ li r8, 0 -/* 803672DC 0036423C 48 00 14 09 */ bl __ct__Q28CPakFile8SResInfoFUiUiUiUi -/* 803672E0 00364240 80 1F 00 78 */ lwz r0, 0x78(r31) -/* 803672E4 00364244 80 BF 00 7C */ lwz r5, 0x7c(r31) -/* 803672E8 00364248 7C 00 28 00 */ cmpw r0, r5 -/* 803672EC 0036424C 41 80 00 1C */ blt lbl_80367308 -/* 803672F0 00364250 2C 05 00 00 */ cmpwi r5, 0 -/* 803672F4 00364254 38 7F 00 74 */ addi r3, r31, 0x74 -/* 803672F8 00364258 38 80 00 04 */ li r4, 4 -/* 803672FC 0036425C 41 82 00 08 */ beq lbl_80367304 -/* 80367300 00364260 54 A4 08 3C */ slwi r4, r5, 1 -lbl_80367304: -/* 80367304 00364264 48 00 17 F5 */ bl sub_80368af8 -lbl_80367308: -/* 80367308 00364268 80 1F 00 78 */ lwz r0, 0x78(r31) -/* 8036730C 0036426C 80 7F 00 80 */ lwz r3, 0x80(r31) -/* 80367310 00364270 1C 00 00 0A */ mulli r0, r0, 0xa -/* 80367314 00364274 7C 63 02 15 */ add. r3, r3, r0 -/* 80367318 00364278 41 82 00 1C */ beq lbl_80367334 -/* 8036731C 0036427C 80 01 00 0C */ lwz r0, 0xc(r1) -/* 80367320 00364280 90 03 00 00 */ stw r0, 0(r3) -/* 80367324 00364284 80 01 00 10 */ lwz r0, 0x10(r1) -/* 80367328 00364288 90 03 00 04 */ stw r0, 4(r3) -/* 8036732C 0036428C A0 01 00 14 */ lhz r0, 0x14(r1) -/* 80367330 00364290 B0 03 00 08 */ sth r0, 8(r3) -lbl_80367334: -/* 80367334 00364294 80 7F 00 78 */ lwz r3, 0x78(r31) -/* 80367338 00364298 3B BD 00 01 */ addi r29, r29, 1 -/* 8036733C 0036429C 38 03 00 01 */ addi r0, r3, 1 -/* 80367340 003642A0 90 1F 00 78 */ stw r0, 0x78(r31) -lbl_80367344: -/* 80367344 003642A4 80 1F 00 4C */ lwz r0, 0x4c(r31) -/* 80367348 003642A8 7C 1D 00 00 */ cmpw r29, r0 -/* 8036734C 003642AC 41 80 FF 78 */ blt lbl_803672C4 -/* 80367350 003642B0 1C A0 00 0A */ mulli r5, r0, 0xa -/* 80367354 003642B4 80 7F 00 50 */ lwz r3, 0x50(r31) -/* 80367358 003642B8 80 9F 00 80 */ lwz r4, 0x80(r31) -/* 8036735C 003642BC 38 C0 00 01 */ li r6, 1 -/* 80367360 003642C0 38 05 00 1F */ addi r0, r5, 0x1f -/* 80367364 003642C4 54 05 00 34 */ rlwinm r5, r0, 0, 0, 0x1a -/* 80367368 003642C8 4B FD D4 E9 */ bl DMAToMRAM__12CARAMManagerFPvPvUiQ212CARAMManager12EDMAPriority -/* 8036736C 003642CC 4B FD D3 DD */ bl WaitForDMACompletion__12CARAMManagerFUi -/* 80367370 003642D0 88 1F 00 28 */ lbz r0, 0x28(r31) -/* 80367374 003642D4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80367378 003642D8 41 82 00 84 */ beq lbl_803673FC -/* 8036737C 003642DC 80 9F 00 4C */ lwz r4, 0x4c(r31) -/* 80367380 003642E0 38 7F 00 64 */ addi r3, r31, 0x64 -/* 80367384 003642E4 4B CF C7 A1 */ bl "reserve__Q24rstl37vectorFi" -/* 80367388 003642E8 3B 80 00 00 */ li r28, 0 -/* 8036738C 003642EC 3B A0 00 00 */ li r29, 0 -/* 80367390 003642F0 48 00 00 60 */ b lbl_803673F0 -lbl_80367394: -/* 80367394 003642F4 80 1F 00 68 */ lwz r0, 0x68(r31) -/* 80367398 003642F8 80 BF 00 6C */ lwz r5, 0x6c(r31) -/* 8036739C 003642FC 80 7F 00 80 */ lwz r3, 0x80(r31) -/* 803673A0 00364300 7C 00 28 00 */ cmpw r0, r5 -/* 803673A4 00364304 7F C3 E8 2E */ lwzx r30, r3, r29 -/* 803673A8 00364308 41 80 00 1C */ blt lbl_803673C4 -/* 803673AC 0036430C 2C 05 00 00 */ cmpwi r5, 0 -/* 803673B0 00364310 38 7F 00 64 */ addi r3, r31, 0x64 -/* 803673B4 00364314 38 80 00 04 */ li r4, 4 -/* 803673B8 00364318 41 82 00 08 */ beq lbl_803673C0 -/* 803673BC 0036431C 54 A4 08 3C */ slwi r4, r5, 1 -lbl_803673C0: -/* 803673C0 00364320 4B CF C7 65 */ bl "reserve__Q24rstl37vectorFi" -lbl_803673C4: -/* 803673C4 00364324 80 1F 00 68 */ lwz r0, 0x68(r31) -/* 803673C8 00364328 80 7F 00 70 */ lwz r3, 0x70(r31) -/* 803673CC 0036432C 54 00 10 3A */ slwi r0, r0, 2 -/* 803673D0 00364330 7C 63 02 15 */ add. r3, r3, r0 -/* 803673D4 00364334 41 82 00 08 */ beq lbl_803673DC -/* 803673D8 00364338 93 C3 00 00 */ stw r30, 0(r3) -lbl_803673DC: -/* 803673DC 0036433C 80 7F 00 68 */ lwz r3, 0x68(r31) -/* 803673E0 00364340 3B BD 00 0A */ addi r29, r29, 0xa -/* 803673E4 00364344 3B 9C 00 01 */ addi r28, r28, 1 -/* 803673E8 00364348 38 03 00 01 */ addi r0, r3, 1 -/* 803673EC 0036434C 90 1F 00 68 */ stw r0, 0x68(r31) -lbl_803673F0: -/* 803673F0 00364350 80 1F 00 4C */ lwz r0, 0x4c(r31) -/* 803673F4 00364354 7C 1C 00 00 */ cmpw r28, r0 -/* 803673F8 00364358 41 80 FF 9C */ blt lbl_80367394 -lbl_803673FC: -/* 803673FC 0036435C 88 1F 00 28 */ lbz r0, 0x28(r31) -/* 80367400 00364360 38 60 00 00 */ li r3, 0 -/* 80367404 00364364 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 80367408 00364368 98 1F 00 28 */ stb r0, 0x28(r31) -lbl_8036740C: -/* 8036740C 0036436C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80367410 00364370 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80367414 00364374 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80367418 00364378 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 8036741C 0036437C 83 81 00 20 */ lwz r28, 0x20(r1) -/* 80367420 00364380 7C 08 03 A6 */ mtlr r0 -/* 80367424 00364384 38 21 00 30 */ addi r1, r1, 0x30 -/* 80367428 00364388 4E 80 00 20 */ blr - -.global sub_8036742c -sub_8036742c: -/* 8036742C 0036438C 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 80367430 00364390 7C 08 02 A6 */ mflr r0 -/* 80367434 00364394 90 01 00 54 */ stw r0, 0x54(r1) -/* 80367438 00364398 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 8036743C 0036439C 7C 7F 1B 78 */ mr r31, r3 -/* 80367440 003643A0 88 63 00 28 */ lbz r3, 0x28(r3) -/* 80367444 003643A4 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f -/* 80367448 003643A8 41 82 00 C8 */ beq lbl_80367510 -/* 8036744C 003643AC 38 00 00 01 */ li r0, 1 -/* 80367450 003643B0 38 81 00 38 */ addi r4, r1, 0x38 -/* 80367454 003643B4 50 03 26 F6 */ rlwimi r3, r0, 4, 0x1b, 0x1b -/* 80367458 003643B8 98 7F 00 28 */ stb r3, 0x28(r31) -/* 8036745C 003643BC 38 00 00 00 */ li r0, 0 -/* 80367460 003643C0 38 7F 00 64 */ addi r3, r31, 0x64 -/* 80367464 003643C4 90 01 00 3C */ stw r0, 0x3c(r1) -/* 80367468 003643C8 90 01 00 40 */ stw r0, 0x40(r1) -/* 8036746C 003643CC 90 01 00 44 */ stw r0, 0x44(r1) -/* 80367470 003643D0 4B CF C2 8D */ bl "clear__Q24rstl37vectorFv" -/* 80367474 003643D4 80 01 00 3C */ lwz r0, 0x3c(r1) -/* 80367478 003643D8 80 61 00 44 */ lwz r3, 0x44(r1) -/* 8036747C 003643DC 54 00 10 3A */ slwi r0, r0, 2 -/* 80367480 003643E0 7C 03 02 14 */ add r0, r3, r0 -/* 80367484 003643E4 90 61 00 1C */ stw r3, 0x1c(r1) -/* 80367488 003643E8 7C 64 1B 78 */ mr r4, r3 -/* 8036748C 003643EC 90 01 00 24 */ stw r0, 0x24(r1) -/* 80367490 003643F0 90 01 00 20 */ stw r0, 0x20(r1) -/* 80367494 003643F4 90 61 00 18 */ stw r3, 0x18(r1) -/* 80367498 003643F8 48 00 00 08 */ b lbl_803674A0 -lbl_8036749C: -/* 8036749C 003643FC 38 84 00 04 */ addi r4, r4, 4 -lbl_803674A0: -/* 803674A0 00364400 7C 04 00 40 */ cmplw r4, r0 -/* 803674A4 00364404 40 82 FF F8 */ bne lbl_8036749C -/* 803674A8 00364408 28 03 00 00 */ cmplwi r3, 0 -/* 803674AC 0036440C 41 82 00 08 */ beq lbl_803674B4 -/* 803674B0 00364410 4B FA E4 81 */ bl Free__7CMemoryFPCv -lbl_803674B4: -/* 803674B4 00364414 38 00 00 00 */ li r0, 0 -/* 803674B8 00364418 38 7F 00 74 */ addi r3, r31, 0x74 -/* 803674BC 0036441C 90 01 00 2C */ stw r0, 0x2c(r1) -/* 803674C0 00364420 38 81 00 28 */ addi r4, r1, 0x28 -/* 803674C4 00364424 90 01 00 30 */ stw r0, 0x30(r1) -/* 803674C8 00364428 90 01 00 34 */ stw r0, 0x34(r1) -/* 803674CC 0036442C 48 00 00 59 */ bl sub_80367524 -/* 803674D0 00364430 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 803674D4 00364434 80 61 00 34 */ lwz r3, 0x34(r1) -/* 803674D8 00364438 1C 00 00 0A */ mulli r0, r0, 0xa -/* 803674DC 0036443C 90 61 00 0C */ stw r3, 0xc(r1) -/* 803674E0 00364440 7C 64 1B 78 */ mr r4, r3 -/* 803674E4 00364444 7C 03 02 14 */ add r0, r3, r0 -/* 803674E8 00364448 90 61 00 08 */ stw r3, 8(r1) -/* 803674EC 0036444C 90 01 00 14 */ stw r0, 0x14(r1) -/* 803674F0 00364450 90 01 00 10 */ stw r0, 0x10(r1) -/* 803674F4 00364454 48 00 00 08 */ b lbl_803674FC -lbl_803674F8: -/* 803674F8 00364458 38 84 00 0A */ addi r4, r4, 0xa -lbl_803674FC: -/* 803674FC 0036445C 7C 04 00 40 */ cmplw r4, r0 -/* 80367500 00364460 40 82 FF F8 */ bne lbl_803674F8 -/* 80367504 00364464 28 03 00 00 */ cmplwi r3, 0 -/* 80367508 00364468 41 82 00 08 */ beq lbl_80367510 -/* 8036750C 0036446C 4B FA E4 25 */ bl Free__7CMemoryFPCv -lbl_80367510: -/* 80367510 00364470 80 01 00 54 */ lwz r0, 0x54(r1) -/* 80367514 00364474 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 80367518 00364478 7C 08 03 A6 */ mtlr r0 -/* 8036751C 0036447C 38 21 00 50 */ addi r1, r1, 0x50 -/* 80367520 00364480 4E 80 00 20 */ blr - -.global sub_80367524 -sub_80367524: -/* 80367524 00364484 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80367528 00364488 7C 08 02 A6 */ mflr r0 -/* 8036752C 0036448C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80367530 00364490 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80367534 00364494 7C 9F 23 78 */ mr r31, r4 -/* 80367538 00364498 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8036753C 0036449C 7C 7E 1B 78 */ mr r30, r3 -/* 80367540 003644A0 7C 1E F8 40 */ cmplw r30, r31 -/* 80367544 003644A4 40 82 00 08 */ bne lbl_8036754C -/* 80367548 003644A8 48 00 00 C8 */ b lbl_80367610 -lbl_8036754C: -/* 8036754C 003644AC 80 1E 00 04 */ lwz r0, 4(r30) -/* 80367550 003644B0 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 80367554 003644B4 1C 00 00 0A */ mulli r0, r0, 0xa -/* 80367558 003644B8 90 61 00 0C */ stw r3, 0xc(r1) -/* 8036755C 003644BC 7C 03 02 14 */ add r0, r3, r0 -/* 80367560 003644C0 90 61 00 08 */ stw r3, 8(r1) -/* 80367564 003644C4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80367568 003644C8 90 01 00 10 */ stw r0, 0x10(r1) -/* 8036756C 003644CC 48 00 00 08 */ b lbl_80367574 -lbl_80367570: -/* 80367570 003644D0 38 63 00 0A */ addi r3, r3, 0xa -lbl_80367574: -/* 80367574 003644D4 7C 03 00 40 */ cmplw r3, r0 -/* 80367578 003644D8 40 82 FF F8 */ bne lbl_80367570 -/* 8036757C 003644DC 38 00 00 00 */ li r0, 0 -/* 80367580 003644E0 90 1E 00 04 */ stw r0, 4(r30) -/* 80367584 003644E4 80 9F 00 04 */ lwz r4, 4(r31) -/* 80367588 003644E8 2C 04 00 00 */ cmpwi r4, 0 -/* 8036758C 003644EC 40 82 00 28 */ bne lbl_803675B4 -/* 80367590 003644F0 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 80367594 003644F4 28 03 00 00 */ cmplwi r3, 0 -/* 80367598 003644F8 41 82 00 08 */ beq lbl_803675A0 -/* 8036759C 003644FC 4B FA E3 95 */ bl Free__7CMemoryFPCv -lbl_803675A0: -/* 803675A0 00364500 38 00 00 00 */ li r0, 0 -/* 803675A4 00364504 90 1E 00 04 */ stw r0, 4(r30) -/* 803675A8 00364508 90 1E 00 08 */ stw r0, 8(r30) -/* 803675AC 0036450C 90 1E 00 0C */ stw r0, 0xc(r30) -/* 803675B0 00364510 48 00 00 5C */ b lbl_8036760C -lbl_803675B4: -/* 803675B4 00364514 7F C3 F3 78 */ mr r3, r30 -/* 803675B8 00364518 48 00 15 41 */ bl sub_80368af8 -/* 803675BC 0036451C 80 1F 00 04 */ lwz r0, 4(r31) -/* 803675C0 00364520 80 BF 00 0C */ lwz r5, 0xc(r31) -/* 803675C4 00364524 1C 00 00 0A */ mulli r0, r0, 0xa -/* 803675C8 00364528 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 803675CC 0036452C 7C 85 02 14 */ add r4, r5, r0 -/* 803675D0 00364530 48 00 00 2C */ b lbl_803675FC -lbl_803675D4: -/* 803675D4 00364534 28 03 00 00 */ cmplwi r3, 0 -/* 803675D8 00364538 41 82 00 1C */ beq lbl_803675F4 -/* 803675DC 0036453C 80 05 00 00 */ lwz r0, 0(r5) -/* 803675E0 00364540 90 03 00 00 */ stw r0, 0(r3) -/* 803675E4 00364544 80 05 00 04 */ lwz r0, 4(r5) -/* 803675E8 00364548 90 03 00 04 */ stw r0, 4(r3) -/* 803675EC 0036454C A0 05 00 08 */ lhz r0, 8(r5) -/* 803675F0 00364550 B0 03 00 08 */ sth r0, 8(r3) -lbl_803675F4: -/* 803675F4 00364554 38 63 00 0A */ addi r3, r3, 0xa -/* 803675F8 00364558 38 A5 00 0A */ addi r5, r5, 0xa -lbl_803675FC: -/* 803675FC 0036455C 7C 05 20 40 */ cmplw r5, r4 -/* 80367600 00364560 40 82 FF D4 */ bne lbl_803675D4 -/* 80367604 00364564 80 1F 00 04 */ lwz r0, 4(r31) -/* 80367608 00364568 90 1E 00 04 */ stw r0, 4(r30) -lbl_8036760C: -/* 8036760C 0036456C 7F C3 F3 78 */ mr r3, r30 -lbl_80367610: -/* 80367610 00364570 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80367614 00364574 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80367618 00364578 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8036761C 0036457C 7C 08 03 A6 */ mtlr r0 -/* 80367620 00364580 38 21 00 20 */ addi r1, r1, 0x20 -/* 80367624 00364584 4E 80 00 20 */ blr - -.global GetDepList__8CPakFileCFv -GetDepList__8CPakFileCFv: -/* 80367628 00364588 80 03 00 68 */ lwz r0, 0x68(r3) -/* 8036762C 0036458C 2C 00 00 00 */ cmpwi r0, 0 -/* 80367630 00364590 41 82 00 0C */ beq lbl_8036763C -/* 80367634 00364594 38 63 00 64 */ addi r3, r3, 0x64 -/* 80367638 00364598 4E 80 00 20 */ blr -lbl_8036763C: -/* 8036763C 0036459C 38 60 00 00 */ li r3, 0 -/* 80367640 003645A0 4E 80 00 20 */ blr - -.global GetResIdByName__8CPakFileCFPCc -GetResIdByName__8CPakFileCFPCc: -/* 80367644 003645A4 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80367648 003645A8 7C 08 02 A6 */ mflr r0 -/* 8036764C 003645AC 90 01 00 34 */ stw r0, 0x34(r1) -/* 80367650 003645B0 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80367654 003645B4 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80367658 003645B8 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8036765C 003645BC 7C 9D 23 78 */ mr r29, r4 -/* 80367660 003645C0 93 81 00 20 */ stw r28, 0x20(r1) -/* 80367664 003645C4 7C 7C 1B 78 */ mr r28, r3 -/* 80367668 003645C8 88 03 00 28 */ lbz r0, 0x28(r3) -/* 8036766C 003645CC 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 80367670 003645D0 40 82 00 5C */ bne lbl_803676CC -/* 80367674 003645D4 83 DC 00 60 */ lwz r30, 0x60(r28) -/* 80367678 003645D8 48 00 00 3C */ b lbl_803676B4 -lbl_8036767C: -/* 8036767C 003645DC 7F A4 EB 78 */ mr r4, r29 -/* 80367680 003645E0 38 61 00 08 */ addi r3, r1, 8 -/* 80367684 003645E4 4B C9 D6 35 */ bl string_l__4rstlFPCc -/* 80367688 003645E8 7F C3 F3 78 */ mr r3, r30 -/* 8036768C 003645EC 38 81 00 08 */ addi r4, r1, 8 -/* 80367690 003645F0 4B FD 73 5D */ bl "CompareCaseInsensitive__13CStringExtrasFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80367694 003645F4 7C 7F 1B 78 */ mr r31, r3 -/* 80367698 003645F8 38 61 00 08 */ addi r3, r1, 8 -/* 8036769C 003645FC 4B FD 64 45 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 803676A0 00364600 2C 1F 00 00 */ cmpwi r31, 0 -/* 803676A4 00364604 40 82 00 0C */ bne lbl_803676B0 -/* 803676A8 00364608 38 7E 00 10 */ addi r3, r30, 0x10 -/* 803676AC 0036460C 48 00 00 24 */ b lbl_803676D0 -lbl_803676B0: -/* 803676B0 00364610 3B DE 00 18 */ addi r30, r30, 0x18 -lbl_803676B4: -/* 803676B4 00364614 80 1C 00 58 */ lwz r0, 0x58(r28) -/* 803676B8 00364618 80 7C 00 60 */ lwz r3, 0x60(r28) -/* 803676BC 0036461C 1C 00 00 18 */ mulli r0, r0, 0x18 -/* 803676C0 00364620 7C 03 02 14 */ add r0, r3, r0 -/* 803676C4 00364624 7C 1E 00 40 */ cmplw r30, r0 -/* 803676C8 00364628 40 82 FF B4 */ bne lbl_8036767C -lbl_803676CC: -/* 803676CC 0036462C 38 60 00 00 */ li r3, 0 -lbl_803676D0: -/* 803676D0 00364630 80 01 00 34 */ lwz r0, 0x34(r1) -/* 803676D4 00364634 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 803676D8 00364638 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 803676DC 0036463C 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 803676E0 00364640 83 81 00 20 */ lwz r28, 0x20(r1) -/* 803676E4 00364644 7C 08 03 A6 */ mtlr r0 -/* 803676E8 00364648 38 21 00 30 */ addi r1, r1, 0x30 -/* 803676EC 0036464C 4E 80 00 20 */ blr - -.global GetResInfoForLoadPreferForward__8CPakFileCFUi -GetResInfoForLoadPreferForward__8CPakFileCFUi: -/* 803676F0 00364650 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 803676F4 00364654 7C 08 02 A6 */ mflr r0 -/* 803676F8 00364658 90 01 00 54 */ stw r0, 0x54(r1) -/* 803676FC 0036465C BF 61 00 3C */ stmw r27, 0x3c(r1) -/* 80367700 00364660 7C 7E 1B 78 */ mr r30, r3 -/* 80367704 00364664 7C 9F 23 78 */ mr r31, r4 -/* 80367708 00364668 88 03 00 28 */ lbz r0, 0x28(r3) -/* 8036770C 0036466C 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 80367710 00364670 41 82 00 0C */ beq lbl_8036771C -/* 80367714 00364674 38 60 00 00 */ li r3, 0 -/* 80367718 00364678 48 00 01 40 */ b lbl_80367858 -lbl_8036771C: -/* 8036771C 0036467C 3C A0 54 58 */ lis r5, 0x54585452@ha -/* 80367720 00364680 38 61 00 20 */ addi r3, r1, 0x20 -/* 80367724 00364684 38 A5 54 52 */ addi r5, r5, 0x54585452@l -/* 80367728 00364688 38 C0 00 00 */ li r6, 0 -/* 8036772C 0036468C 38 E0 00 00 */ li r7, 0 -/* 80367730 00364690 39 00 00 00 */ li r8, 0 -/* 80367734 00364694 48 00 0F B1 */ bl __ct__Q28CPakFile8SResInfoFUiUiUiUi -/* 80367738 00364698 88 0D AA DC */ lbz r0, lbl_805A969C@sda21(r13) -/* 8036773C 0036469C 38 61 00 1C */ addi r3, r1, 0x1c -/* 80367740 003646A0 38 81 00 18 */ addi r4, r1, 0x18 -/* 80367744 003646A4 38 A1 00 10 */ addi r5, r1, 0x10 -/* 80367748 003646A8 98 01 00 08 */ stb r0, 8(r1) -/* 8036774C 003646AC 38 C1 00 20 */ addi r6, r1, 0x20 -/* 80367750 003646B0 38 E1 00 08 */ addi r7, r1, 8 -/* 80367754 003646B4 80 1E 00 78 */ lwz r0, 0x78(r30) -/* 80367758 003646B8 81 1E 00 80 */ lwz r8, 0x80(r30) -/* 8036775C 003646BC 1C 00 00 0A */ mulli r0, r0, 0xa -/* 80367760 003646C0 7D 08 02 14 */ add r8, r8, r0 -/* 80367764 003646C4 91 01 00 10 */ stw r8, 0x10(r1) -/* 80367768 003646C8 80 1E 00 80 */ lwz r0, 0x80(r30) -/* 8036776C 003646CC 91 01 00 0C */ stw r8, 0xc(r1) -/* 80367770 003646D0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80367774 003646D4 90 01 00 18 */ stw r0, 0x18(r1) -/* 80367778 003646D8 48 00 12 C1 */ bl sub_80368a38 -/* 8036777C 003646DC 80 1E 00 78 */ lwz r0, 0x78(r30) -/* 80367780 003646E0 80 7E 00 80 */ lwz r3, 0x80(r30) -/* 80367784 003646E4 1C 00 00 0A */ mulli r0, r0, 0xa -/* 80367788 003646E8 83 A1 00 1C */ lwz r29, 0x1c(r1) -/* 8036778C 003646EC 7C 03 02 14 */ add r0, r3, r0 -/* 80367790 003646F0 7C 1D 00 40 */ cmplw r29, r0 -/* 80367794 003646F4 41 82 00 10 */ beq lbl_803677A4 -/* 80367798 003646F8 80 1D 00 00 */ lwz r0, 0(r29) -/* 8036779C 003646FC 7C 1F 00 40 */ cmplw r31, r0 -/* 803677A0 00364700 41 82 00 0C */ beq lbl_803677AC -lbl_803677A4: -/* 803677A4 00364704 38 60 00 00 */ li r3, 0 -/* 803677A8 00364708 48 00 00 B0 */ b lbl_80367858 -lbl_803677AC: -/* 803677AC 0036470C 7F BC EB 78 */ mr r28, r29 -/* 803677B0 00364710 7F A3 EB 78 */ mr r3, r29 -/* 803677B4 00364714 48 00 0E ED */ bl GetOffset__Q28CPakFile8SResInfoCFv -/* 803677B8 00364718 80 1E 00 84 */ lwz r0, 0x84(r30) -/* 803677BC 0036471C 3B BD 00 0A */ addi r29, r29, 0xa -/* 803677C0 00364720 7F 63 00 50 */ subf r27, r3, r0 -/* 803677C4 00364724 48 00 00 5C */ b lbl_80367820 -lbl_803677C8: -/* 803677C8 00364728 80 1D 00 00 */ lwz r0, 0(r29) -/* 803677CC 0036472C 7C 1F 00 40 */ cmplw r31, r0 -/* 803677D0 00364730 40 82 00 68 */ bne lbl_80367838 -/* 803677D4 00364734 7F A3 EB 78 */ mr r3, r29 -/* 803677D8 00364738 48 00 0E C9 */ bl GetOffset__Q28CPakFile8SResInfoCFv -/* 803677DC 0036473C 80 1E 00 84 */ lwz r0, 0x84(r30) -/* 803677E0 00364740 2C 1B 00 00 */ cmpwi r27, 0 -/* 803677E4 00364744 7C 03 00 50 */ subf r0, r3, r0 -/* 803677E8 00364748 40 80 00 14 */ bge lbl_803677FC -/* 803677EC 0036474C 2C 00 00 00 */ cmpwi r0, 0 -/* 803677F0 00364750 41 81 00 24 */ bgt lbl_80367814 -/* 803677F4 00364754 7C 00 D8 00 */ cmpw r0, r27 -/* 803677F8 00364758 41 81 00 1C */ bgt lbl_80367814 -lbl_803677FC: -/* 803677FC 0036475C 2C 1B 00 00 */ cmpwi r27, 0 -/* 80367800 00364760 41 80 00 1C */ blt lbl_8036781C -/* 80367804 00364764 2C 00 00 00 */ cmpwi r0, 0 -/* 80367808 00364768 40 81 00 14 */ ble lbl_8036781C -/* 8036780C 0036476C 7C 00 D8 00 */ cmpw r0, r27 -/* 80367810 00364770 40 80 00 0C */ bge lbl_8036781C -lbl_80367814: -/* 80367814 00364774 7F BC EB 78 */ mr r28, r29 -/* 80367818 00364778 7C 1B 03 78 */ mr r27, r0 -lbl_8036781C: -/* 8036781C 0036477C 3B BD 00 0A */ addi r29, r29, 0xa -lbl_80367820: -/* 80367820 00364780 80 1E 00 78 */ lwz r0, 0x78(r30) -/* 80367824 00364784 80 7E 00 80 */ lwz r3, 0x80(r30) -/* 80367828 00364788 1C 00 00 0A */ mulli r0, r0, 0xa -/* 8036782C 0036478C 7C 03 02 14 */ add r0, r3, r0 -/* 80367830 00364790 7C 1D 00 40 */ cmplw r29, r0 -/* 80367834 00364794 40 82 FF 94 */ bne lbl_803677C8 -lbl_80367838: -/* 80367838 00364798 7F 83 E3 78 */ mr r3, r28 -/* 8036783C 0036479C 48 00 0E 45 */ bl GetSize__Q28CPakFile8SResInfoCFv -/* 80367840 003647A0 7C 7F 1B 78 */ mr r31, r3 -/* 80367844 003647A4 7F 83 E3 78 */ mr r3, r28 -/* 80367848 003647A8 48 00 0E 59 */ bl GetOffset__Q28CPakFile8SResInfoCFv -/* 8036784C 003647AC 7C 03 FA 14 */ add r0, r3, r31 -/* 80367850 003647B0 7F 83 E3 78 */ mr r3, r28 -/* 80367854 003647B4 90 1E 00 84 */ stw r0, 0x84(r30) -lbl_80367858: -/* 80367858 003647B8 BB 61 00 3C */ lmw r27, 0x3c(r1) -/* 8036785C 003647BC 80 01 00 54 */ lwz r0, 0x54(r1) -/* 80367860 003647C0 7C 08 03 A6 */ mtlr r0 -/* 80367864 003647C4 38 21 00 50 */ addi r1, r1, 0x50 -/* 80367868 003647C8 4E 80 00 20 */ blr - -.global GetResInfoForLoadDirectionless__8CPakFileCFUi -GetResInfoForLoadDirectionless__8CPakFileCFUi: -/* 8036786C 003647CC 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 80367870 003647D0 7C 08 02 A6 */ mflr r0 -/* 80367874 003647D4 90 01 00 54 */ stw r0, 0x54(r1) -/* 80367878 003647D8 BF 61 00 3C */ stmw r27, 0x3c(r1) -/* 8036787C 003647DC 7C 7C 1B 78 */ mr r28, r3 -/* 80367880 003647E0 7C 9D 23 78 */ mr r29, r4 -/* 80367884 003647E4 88 03 00 28 */ lbz r0, 0x28(r3) -/* 80367888 003647E8 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 8036788C 003647EC 41 82 00 0C */ beq lbl_80367898 -/* 80367890 003647F0 38 60 00 00 */ li r3, 0 -/* 80367894 003647F4 48 00 01 24 */ b lbl_803679B8 -lbl_80367898: -/* 80367898 003647F8 3C A0 54 58 */ lis r5, 0x54585452@ha -/* 8036789C 003647FC 38 61 00 20 */ addi r3, r1, 0x20 -/* 803678A0 00364800 38 A5 54 52 */ addi r5, r5, 0x54585452@l -/* 803678A4 00364804 38 C0 00 00 */ li r6, 0 -/* 803678A8 00364808 38 E0 00 00 */ li r7, 0 -/* 803678AC 0036480C 39 00 00 00 */ li r8, 0 -/* 803678B0 00364810 48 00 0E 35 */ bl __ct__Q28CPakFile8SResInfoFUiUiUiUi -/* 803678B4 00364814 88 0D AA D8 */ lbz r0, lbl_805A9698@sda21(r13) -/* 803678B8 00364818 38 61 00 1C */ addi r3, r1, 0x1c -/* 803678BC 0036481C 38 81 00 18 */ addi r4, r1, 0x18 -/* 803678C0 00364820 38 A1 00 10 */ addi r5, r1, 0x10 -/* 803678C4 00364824 98 01 00 08 */ stb r0, 8(r1) -/* 803678C8 00364828 38 C1 00 20 */ addi r6, r1, 0x20 -/* 803678CC 0036482C 38 E1 00 08 */ addi r7, r1, 8 -/* 803678D0 00364830 80 1C 00 78 */ lwz r0, 0x78(r28) -/* 803678D4 00364834 81 1C 00 80 */ lwz r8, 0x80(r28) -/* 803678D8 00364838 1C 00 00 0A */ mulli r0, r0, 0xa -/* 803678DC 0036483C 7D 08 02 14 */ add r8, r8, r0 -/* 803678E0 00364840 91 01 00 10 */ stw r8, 0x10(r1) -/* 803678E4 00364844 80 1C 00 80 */ lwz r0, 0x80(r28) -/* 803678E8 00364848 91 01 00 0C */ stw r8, 0xc(r1) -/* 803678EC 0036484C 90 01 00 14 */ stw r0, 0x14(r1) -/* 803678F0 00364850 90 01 00 18 */ stw r0, 0x18(r1) -/* 803678F4 00364854 48 00 11 45 */ bl sub_80368a38 -/* 803678F8 00364858 80 1C 00 78 */ lwz r0, 0x78(r28) -/* 803678FC 0036485C 80 7C 00 80 */ lwz r3, 0x80(r28) -/* 80367900 00364860 1C 00 00 0A */ mulli r0, r0, 0xa -/* 80367904 00364864 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80367908 00364868 7C 03 02 14 */ add r0, r3, r0 -/* 8036790C 0036486C 7C 1F 00 40 */ cmplw r31, r0 -/* 80367910 00364870 41 82 00 10 */ beq lbl_80367920 -/* 80367914 00364874 80 1F 00 00 */ lwz r0, 0(r31) -/* 80367918 00364878 7C 1D 00 40 */ cmplw r29, r0 -/* 8036791C 0036487C 41 82 00 0C */ beq lbl_80367928 -lbl_80367920: -/* 80367920 00364880 38 60 00 00 */ li r3, 0 -/* 80367924 00364884 48 00 00 94 */ b lbl_803679B8 -lbl_80367928: -/* 80367928 00364888 7F FE FB 78 */ mr r30, r31 -/* 8036792C 0036488C 7F E3 FB 78 */ mr r3, r31 -/* 80367930 00364890 48 00 0D 71 */ bl GetOffset__Q28CPakFile8SResInfoCFv -/* 80367934 00364894 80 1C 00 84 */ lwz r0, 0x84(r28) -/* 80367938 00364898 7C 60 18 50 */ subf r3, r0, r3 -/* 8036793C 0036489C 48 02 54 E1 */ bl abs -/* 80367940 003648A0 7C 7B 1B 78 */ mr r27, r3 -/* 80367944 003648A4 3B FF 00 0A */ addi r31, r31, 0xa -/* 80367948 003648A8 48 00 00 38 */ b lbl_80367980 -lbl_8036794C: -/* 8036794C 003648AC 80 1F 00 00 */ lwz r0, 0(r31) -/* 80367950 003648B0 7C 1D 00 40 */ cmplw r29, r0 -/* 80367954 003648B4 40 82 00 44 */ bne lbl_80367998 -/* 80367958 003648B8 7F E3 FB 78 */ mr r3, r31 -/* 8036795C 003648BC 48 00 0D 45 */ bl GetOffset__Q28CPakFile8SResInfoCFv -/* 80367960 003648C0 80 1C 00 84 */ lwz r0, 0x84(r28) -/* 80367964 003648C4 7C 60 18 50 */ subf r3, r0, r3 -/* 80367968 003648C8 48 02 54 B5 */ bl abs -/* 8036796C 003648CC 7C 03 D8 00 */ cmpw r3, r27 -/* 80367970 003648D0 40 80 00 0C */ bge lbl_8036797C -/* 80367974 003648D4 7F FE FB 78 */ mr r30, r31 -/* 80367978 003648D8 7C 7B 1B 78 */ mr r27, r3 -lbl_8036797C: -/* 8036797C 003648DC 3B FF 00 0A */ addi r31, r31, 0xa -lbl_80367980: -/* 80367980 003648E0 80 1C 00 78 */ lwz r0, 0x78(r28) -/* 80367984 003648E4 80 7C 00 80 */ lwz r3, 0x80(r28) -/* 80367988 003648E8 1C 00 00 0A */ mulli r0, r0, 0xa -/* 8036798C 003648EC 7C 03 02 14 */ add r0, r3, r0 -/* 80367990 003648F0 7C 1F 00 40 */ cmplw r31, r0 -/* 80367994 003648F4 40 82 FF B8 */ bne lbl_8036794C -lbl_80367998: -/* 80367998 003648F8 7F C3 F3 78 */ mr r3, r30 -/* 8036799C 003648FC 48 00 0C E5 */ bl GetSize__Q28CPakFile8SResInfoCFv -/* 803679A0 00364900 7C 7D 1B 78 */ mr r29, r3 -/* 803679A4 00364904 7F C3 F3 78 */ mr r3, r30 -/* 803679A8 00364908 48 00 0C F9 */ bl GetOffset__Q28CPakFile8SResInfoCFv -/* 803679AC 0036490C 7C 03 EA 14 */ add r0, r3, r29 -/* 803679B0 00364910 7F C3 F3 78 */ mr r3, r30 -/* 803679B4 00364914 90 1C 00 84 */ stw r0, 0x84(r28) -lbl_803679B8: -/* 803679B8 00364918 BB 61 00 3C */ lmw r27, 0x3c(r1) -/* 803679BC 0036491C 80 01 00 54 */ lwz r0, 0x54(r1) -/* 803679C0 00364920 7C 08 03 A6 */ mtlr r0 -/* 803679C4 00364924 38 21 00 50 */ addi r1, r1, 0x50 -/* 803679C8 00364928 4E 80 00 20 */ blr - -.global GetResInfo__8CPakFileCFUi -GetResInfo__8CPakFileCFUi: -/* 803679CC 0036492C 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 803679D0 00364930 7C 08 02 A6 */ mflr r0 -/* 803679D4 00364934 90 01 00 44 */ stw r0, 0x44(r1) -/* 803679D8 00364938 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 803679DC 0036493C 7C 9F 23 78 */ mr r31, r4 -/* 803679E0 00364940 93 C1 00 38 */ stw r30, 0x38(r1) -/* 803679E4 00364944 7C 7E 1B 78 */ mr r30, r3 -/* 803679E8 00364948 80 03 00 2C */ lwz r0, 0x2c(r3) -/* 803679EC 0036494C 2C 00 00 03 */ cmpwi r0, 3 -/* 803679F0 00364950 41 82 00 0C */ beq lbl_803679FC -/* 803679F4 00364954 38 60 00 00 */ li r3, 0 -/* 803679F8 00364958 48 00 00 A0 */ b lbl_80367A98 -lbl_803679FC: -/* 803679FC 0036495C 88 1E 00 28 */ lbz r0, 0x28(r30) -/* 80367A00 00364960 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 80367A04 00364964 41 82 00 0C */ beq lbl_80367A10 -/* 80367A08 00364968 38 60 00 00 */ li r3, 0 -/* 80367A0C 0036496C 48 00 00 8C */ b lbl_80367A98 -lbl_80367A10: -/* 80367A10 00364970 3C A0 54 58 */ lis r5, 0x54585452@ha -/* 80367A14 00364974 38 61 00 20 */ addi r3, r1, 0x20 -/* 80367A18 00364978 38 A5 54 52 */ addi r5, r5, 0x54585452@l -/* 80367A1C 0036497C 38 C0 00 00 */ li r6, 0 -/* 80367A20 00364980 38 E0 00 00 */ li r7, 0 -/* 80367A24 00364984 39 00 00 00 */ li r8, 0 -/* 80367A28 00364988 48 00 0C BD */ bl __ct__Q28CPakFile8SResInfoFUiUiUiUi -/* 80367A2C 0036498C 80 1E 00 78 */ lwz r0, 0x78(r30) -/* 80367A30 00364990 38 61 00 1C */ addi r3, r1, 0x1c -/* 80367A34 00364994 81 1E 00 80 */ lwz r8, 0x80(r30) -/* 80367A38 00364998 38 81 00 18 */ addi r4, r1, 0x18 -/* 80367A3C 0036499C 1C 00 00 0A */ mulli r0, r0, 0xa -/* 80367A40 003649A0 88 ED AA D4 */ lbz r7, lbl_805A9694@sda21(r13) -/* 80367A44 003649A4 91 01 00 14 */ stw r8, 0x14(r1) -/* 80367A48 003649A8 38 A1 00 10 */ addi r5, r1, 0x10 -/* 80367A4C 003649AC 38 C1 00 20 */ addi r6, r1, 0x20 -/* 80367A50 003649B0 7C 08 02 14 */ add r0, r8, r0 -/* 80367A54 003649B4 98 E1 00 08 */ stb r7, 8(r1) -/* 80367A58 003649B8 38 E1 00 08 */ addi r7, r1, 8 -/* 80367A5C 003649BC 90 01 00 0C */ stw r0, 0xc(r1) -/* 80367A60 003649C0 90 01 00 10 */ stw r0, 0x10(r1) -/* 80367A64 003649C4 91 01 00 18 */ stw r8, 0x18(r1) -/* 80367A68 003649C8 48 00 0F 11 */ bl sub_80368978 -/* 80367A6C 003649CC 80 1E 00 78 */ lwz r0, 0x78(r30) -/* 80367A70 003649D0 80 9E 00 80 */ lwz r4, 0x80(r30) -/* 80367A74 003649D4 1C 00 00 0A */ mulli r0, r0, 0xa -/* 80367A78 003649D8 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 80367A7C 003649DC 7C 04 02 14 */ add r0, r4, r0 -/* 80367A80 003649E0 7C 03 00 40 */ cmplw r3, r0 -/* 80367A84 003649E4 41 82 00 10 */ beq lbl_80367A94 -/* 80367A88 003649E8 80 03 00 00 */ lwz r0, 0(r3) -/* 80367A8C 003649EC 7C 1F 00 40 */ cmplw r31, r0 -/* 80367A90 003649F0 41 82 00 08 */ beq lbl_80367A98 -lbl_80367A94: -/* 80367A94 003649F4 38 60 00 00 */ li r3, 0 -lbl_80367A98: -/* 80367A98 003649F8 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80367A9C 003649FC 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 80367AA0 00364A00 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 80367AA4 00364A04 7C 08 03 A6 */ mtlr r0 -/* 80367AA8 00364A08 38 21 00 40 */ addi r1, r1, 0x40 -/* 80367AAC 00364A0C 4E 80 00 20 */ blr - -.global GetFakeStaticSize__8CPakFileCFv -GetFakeStaticSize__8CPakFileCFv: -/* 80367AB0 00364A10 80 03 00 78 */ lwz r0, 0x78(r3) -/* 80367AB4 00364A14 80 63 00 68 */ lwz r3, 0x68(r3) -/* 80367AB8 00364A18 1C 00 00 0A */ mulli r0, r0, 0xa -/* 80367ABC 00364A1C 54 63 10 3A */ slwi r3, r3, 2 -/* 80367AC0 00364A20 7C 63 02 14 */ add r3, r3, r0 -/* 80367AC4 00364A24 4E 80 00 20 */ blr - -.global LoadResourceTable__8CPakFileFR15CMemoryInStream -LoadResourceTable__8CPakFileFR15CMemoryInStream: -/* 80367AC8 00364A28 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 80367ACC 00364A2C 7C 08 02 A6 */ mflr r0 -/* 80367AD0 00364A30 90 01 00 54 */ stw r0, 0x54(r1) -/* 80367AD4 00364A34 BF 21 00 34 */ stmw r25, 0x34(r1) -/* 80367AD8 00364A38 7C 7C 1B 78 */ mr r28, r3 -/* 80367ADC 00364A3C 7C 9D 23 78 */ mr r29, r4 -/* 80367AE0 00364A40 38 81 00 1C */ addi r4, r1, 0x1c -/* 80367AE4 00364A44 80 63 00 4C */ lwz r3, 0x4c(r3) -/* 80367AE8 00364A48 80 0D 9E 90 */ lwz r0, lbl_805A8A50@sda21(r13) -/* 80367AEC 00364A4C 1C 63 00 0A */ mulli r3, r3, 0xa -/* 80367AF0 00364A50 38 63 00 1F */ addi r3, r3, 0x1f -/* 80367AF4 00364A54 54 63 00 34 */ rlwinm r3, r3, 0, 0, 0x1a -/* 80367AF8 00364A58 38 63 00 09 */ addi r3, r3, 9 -/* 80367AFC 00364A5C 7C 03 00 00 */ cmpw r3, r0 -/* 80367B00 00364A60 90 61 00 1C */ stw r3, 0x1c(r1) -/* 80367B04 00364A64 40 80 00 08 */ bge lbl_80367B0C -/* 80367B08 00364A68 38 8D 9E 90 */ addi r4, r13, lbl_805A8A50@sda21 -lbl_80367B0C: -/* 80367B0C 00364A6C 3C 60 CC CD */ lis r3, 0xCCCCCCCD@ha -/* 80367B10 00364A70 80 04 00 00 */ lwz r0, 0(r4) -/* 80367B14 00364A74 38 83 CC CD */ addi r4, r3, 0xCCCCCCCD@l -/* 80367B18 00364A78 38 7C 00 74 */ addi r3, r28, 0x74 -/* 80367B1C 00364A7C 7C 04 00 16 */ mulhwu r0, r4, r0 -/* 80367B20 00364A80 54 04 E8 FE */ srwi r4, r0, 3 -/* 80367B24 00364A84 48 00 0F D5 */ bl sub_80368af8 -/* 80367B28 00364A88 88 1C 00 28 */ lbz r0, 0x28(r28) -/* 80367B2C 00364A8C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80367B30 00364A90 41 82 00 10 */ beq lbl_80367B40 -/* 80367B34 00364A94 80 9C 00 4C */ lwz r4, 0x4c(r28) -/* 80367B38 00364A98 38 7C 00 64 */ addi r3, r28, 0x64 -/* 80367B3C 00364A9C 4B CF BF E9 */ bl "reserve__Q24rstl37vectorFi" -lbl_80367B40: -/* 80367B40 00364AA0 3B C0 00 00 */ li r30, 0 -/* 80367B44 00364AA4 48 00 01 14 */ b lbl_80367C58 -lbl_80367B48: -/* 80367B48 00364AA8 7F A3 EB 78 */ mr r3, r29 -/* 80367B4C 00364AAC 4B FD 71 39 */ bl ReadLong__12CInputStreamFv -/* 80367B50 00364AB0 7C 7B 1B 78 */ mr r27, r3 -/* 80367B54 00364AB4 7F A3 EB 78 */ mr r3, r29 -/* 80367B58 00364AB8 4B FD 71 2D */ bl ReadLong__12CInputStreamFv -/* 80367B5C 00364ABC 7C 7A 1B 78 */ mr r26, r3 -/* 80367B60 00364AC0 7F A3 EB 78 */ mr r3, r29 -/* 80367B64 00364AC4 4B FD 71 21 */ bl ReadLong__12CInputStreamFv -/* 80367B68 00364AC8 7C 7F 1B 78 */ mr r31, r3 -/* 80367B6C 00364ACC 7F A3 EB 78 */ mr r3, r29 -/* 80367B70 00364AD0 4B FD 71 15 */ bl ReadLong__12CInputStreamFv -/* 80367B74 00364AD4 7C 79 1B 78 */ mr r25, r3 -/* 80367B78 00364AD8 7F A3 EB 78 */ mr r3, r29 -/* 80367B7C 00364ADC 4B FD 71 09 */ bl ReadLong__12CInputStreamFv -/* 80367B80 00364AE0 7C 66 1B 78 */ mr r6, r3 -/* 80367B84 00364AE4 7F E4 FB 78 */ mr r4, r31 -/* 80367B88 00364AE8 7F 45 D3 78 */ mr r5, r26 -/* 80367B8C 00364AEC 7F 27 CB 78 */ mr r7, r25 -/* 80367B90 00364AF0 7F 68 DB 78 */ mr r8, r27 -/* 80367B94 00364AF4 38 61 00 20 */ addi r3, r1, 0x20 -/* 80367B98 00364AF8 48 00 0B 4D */ bl __ct__Q28CPakFile8SResInfoFUiUiUiUi -/* 80367B9C 00364AFC 80 1C 00 78 */ lwz r0, 0x78(r28) -/* 80367BA0 00364B00 80 BC 00 7C */ lwz r5, 0x7c(r28) -/* 80367BA4 00364B04 7C 00 28 00 */ cmpw r0, r5 -/* 80367BA8 00364B08 41 80 00 1C */ blt lbl_80367BC4 -/* 80367BAC 00364B0C 2C 05 00 00 */ cmpwi r5, 0 -/* 80367BB0 00364B10 38 7C 00 74 */ addi r3, r28, 0x74 -/* 80367BB4 00364B14 38 80 00 04 */ li r4, 4 -/* 80367BB8 00364B18 41 82 00 08 */ beq lbl_80367BC0 -/* 80367BBC 00364B1C 54 A4 08 3C */ slwi r4, r5, 1 -lbl_80367BC0: -/* 80367BC0 00364B20 48 00 0F 39 */ bl sub_80368af8 -lbl_80367BC4: -/* 80367BC4 00364B24 80 1C 00 78 */ lwz r0, 0x78(r28) -/* 80367BC8 00364B28 80 7C 00 80 */ lwz r3, 0x80(r28) -/* 80367BCC 00364B2C 1C 00 00 0A */ mulli r0, r0, 0xa -/* 80367BD0 00364B30 7C 63 02 15 */ add. r3, r3, r0 -/* 80367BD4 00364B34 41 82 00 1C */ beq lbl_80367BF0 -/* 80367BD8 00364B38 80 01 00 20 */ lwz r0, 0x20(r1) -/* 80367BDC 00364B3C 90 03 00 00 */ stw r0, 0(r3) -/* 80367BE0 00364B40 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80367BE4 00364B44 90 03 00 04 */ stw r0, 4(r3) -/* 80367BE8 00364B48 A0 01 00 28 */ lhz r0, 0x28(r1) -/* 80367BEC 00364B4C B0 03 00 08 */ sth r0, 8(r3) -lbl_80367BF0: -/* 80367BF0 00364B50 80 7C 00 78 */ lwz r3, 0x78(r28) -/* 80367BF4 00364B54 38 03 00 01 */ addi r0, r3, 1 -/* 80367BF8 00364B58 90 1C 00 78 */ stw r0, 0x78(r28) -/* 80367BFC 00364B5C 88 1C 00 28 */ lbz r0, 0x28(r28) -/* 80367C00 00364B60 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80367C04 00364B64 41 82 00 50 */ beq lbl_80367C54 -/* 80367C08 00364B68 80 1C 00 68 */ lwz r0, 0x68(r28) -/* 80367C0C 00364B6C 80 BC 00 6C */ lwz r5, 0x6c(r28) -/* 80367C10 00364B70 7C 00 28 00 */ cmpw r0, r5 -/* 80367C14 00364B74 41 80 00 1C */ blt lbl_80367C30 -/* 80367C18 00364B78 2C 05 00 00 */ cmpwi r5, 0 -/* 80367C1C 00364B7C 38 7C 00 64 */ addi r3, r28, 0x64 -/* 80367C20 00364B80 38 80 00 04 */ li r4, 4 -/* 80367C24 00364B84 41 82 00 08 */ beq lbl_80367C2C -/* 80367C28 00364B88 54 A4 08 3C */ slwi r4, r5, 1 -lbl_80367C2C: -/* 80367C2C 00364B8C 4B CF BE F9 */ bl "reserve__Q24rstl37vectorFi" -lbl_80367C30: -/* 80367C30 00364B90 80 1C 00 68 */ lwz r0, 0x68(r28) -/* 80367C34 00364B94 80 7C 00 70 */ lwz r3, 0x70(r28) -/* 80367C38 00364B98 54 00 10 3A */ slwi r0, r0, 2 -/* 80367C3C 00364B9C 7C 63 02 15 */ add. r3, r3, r0 -/* 80367C40 00364BA0 41 82 00 08 */ beq lbl_80367C48 -/* 80367C44 00364BA4 93 E3 00 00 */ stw r31, 0(r3) -lbl_80367C48: -/* 80367C48 00364BA8 80 7C 00 68 */ lwz r3, 0x68(r28) -/* 80367C4C 00364BAC 38 03 00 01 */ addi r0, r3, 1 -/* 80367C50 00364BB0 90 1C 00 68 */ stw r0, 0x68(r28) -lbl_80367C54: -/* 80367C54 00364BB4 3B DE 00 01 */ addi r30, r30, 1 -lbl_80367C58: -/* 80367C58 00364BB8 80 1C 00 4C */ lwz r0, 0x4c(r28) -/* 80367C5C 00364BBC 7C 1E 00 00 */ cmpw r30, r0 -/* 80367C60 00364BC0 41 80 FE E8 */ blt lbl_80367B48 -/* 80367C64 00364BC4 88 0D AA D0 */ lbz r0, lbl_805A9690@sda21(r13) -/* 80367C68 00364BC8 38 61 00 18 */ addi r3, r1, 0x18 -/* 80367C6C 00364BCC 38 81 00 10 */ addi r4, r1, 0x10 -/* 80367C70 00364BD0 38 A1 00 08 */ addi r5, r1, 8 -/* 80367C74 00364BD4 98 01 00 08 */ stb r0, 8(r1) -/* 80367C78 00364BD8 80 1C 00 78 */ lwz r0, 0x78(r28) -/* 80367C7C 00364BDC 80 DC 00 80 */ lwz r6, 0x80(r28) -/* 80367C80 00364BE0 1C 00 00 0A */ mulli r0, r0, 0xa -/* 80367C84 00364BE4 7C C6 02 14 */ add r6, r6, r0 -/* 80367C88 00364BE8 90 C1 00 10 */ stw r6, 0x10(r1) -/* 80367C8C 00364BEC 80 1C 00 80 */ lwz r0, 0x80(r28) -/* 80367C90 00364BF0 90 C1 00 0C */ stw r6, 0xc(r1) -/* 80367C94 00364BF4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80367C98 00364BF8 90 01 00 18 */ stw r0, 0x18(r1) -/* 80367C9C 00364BFC 48 00 0A F1 */ bl sub_8036878c -/* 80367CA0 00364C00 BB 21 00 34 */ lmw r25, 0x34(r1) -/* 80367CA4 00364C04 80 01 00 54 */ lwz r0, 0x54(r1) -/* 80367CA8 00364C08 7C 08 03 A6 */ mtlr r0 -/* 80367CAC 00364C0C 38 21 00 50 */ addi r1, r1, 0x50 -/* 80367CB0 00364C10 4E 80 00 20 */ blr - -.global DataLoad__8CPakFileFv -DataLoad__8CPakFileFv: -/* 80367CB4 00364C14 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 80367CB8 00364C18 7C 08 02 A6 */ mflr r0 -/* 80367CBC 00364C1C 38 80 00 00 */ li r4, 0 -/* 80367CC0 00364C20 90 01 00 64 */ stw r0, 0x64(r1) -/* 80367CC4 00364C24 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 80367CC8 00364C28 7C 7F 1B 78 */ mr r31, r3 -/* 80367CCC 00364C2C 38 61 00 18 */ addi r3, r1, 0x18 -/* 80367CD0 00364C30 93 C1 00 58 */ stw r30, 0x58(r1) -/* 80367CD4 00364C34 38 1F 00 30 */ addi r0, r31, 0x30 -/* 80367CD8 00364C38 7C 03 00 40 */ cmplw r3, r0 -/* 80367CDC 00364C3C 98 81 00 18 */ stb r4, 0x18(r1) -/* 80367CE0 00364C40 90 81 00 1C */ stw r4, 0x1c(r1) -/* 80367CE4 00364C44 41 82 00 48 */ beq lbl_80367D2C -/* 80367CE8 00364C48 88 1F 00 30 */ lbz r0, 0x30(r31) -/* 80367CEC 00364C4C 28 00 00 00 */ cmplwi r0, 0 -/* 80367CF0 00364C50 41 82 00 24 */ beq lbl_80367D14 -/* 80367CF4 00364C54 80 7F 00 34 */ lwz r3, 0x34(r31) -/* 80367CF8 00364C58 28 03 00 00 */ cmplwi r3, 0 -/* 80367CFC 00364C5C 41 82 00 18 */ beq lbl_80367D14 -/* 80367D00 00364C60 81 83 00 00 */ lwz r12, 0(r3) -/* 80367D04 00364C64 38 80 00 01 */ li r4, 1 -/* 80367D08 00364C68 81 8C 00 08 */ lwz r12, 8(r12) -/* 80367D0C 00364C6C 7D 89 03 A6 */ mtctr r12 -/* 80367D10 00364C70 4E 80 04 21 */ bctrl -lbl_80367D14: -/* 80367D14 00364C74 88 61 00 18 */ lbz r3, 0x18(r1) -/* 80367D18 00364C78 38 00 00 00 */ li r0, 0 -/* 80367D1C 00364C7C 98 7F 00 30 */ stb r3, 0x30(r31) -/* 80367D20 00364C80 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 80367D24 00364C84 90 7F 00 34 */ stw r3, 0x34(r31) -/* 80367D28 00364C88 98 01 00 18 */ stb r0, 0x18(r1) -lbl_80367D2C: -/* 80367D2C 00364C8C 88 01 00 18 */ lbz r0, 0x18(r1) -/* 80367D30 00364C90 28 00 00 00 */ cmplwi r0, 0 -/* 80367D34 00364C94 41 82 00 24 */ beq lbl_80367D58 -/* 80367D38 00364C98 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 80367D3C 00364C9C 28 03 00 00 */ cmplwi r3, 0 -/* 80367D40 00364CA0 41 82 00 18 */ beq lbl_80367D58 -/* 80367D44 00364CA4 81 83 00 00 */ lwz r12, 0(r3) -/* 80367D48 00364CA8 38 80 00 01 */ li r4, 1 -/* 80367D4C 00364CAC 81 8C 00 08 */ lwz r12, 8(r12) -/* 80367D50 00364CB0 7D 89 03 A6 */ mtctr r12 -/* 80367D54 00364CB4 4E 80 04 21 */ bctrl -lbl_80367D58: -/* 80367D58 00364CB8 80 9F 00 44 */ lwz r4, 0x44(r31) -/* 80367D5C 00364CBC 38 61 00 30 */ addi r3, r1, 0x30 -/* 80367D60 00364CC0 80 BF 00 48 */ lwz r5, 0x48(r31) -/* 80367D64 00364CC4 80 1F 00 3C */ lwz r0, 0x3c(r31) -/* 80367D68 00364CC8 7C 84 2A 14 */ add r4, r4, r5 -/* 80367D6C 00364CCC 7C A5 00 50 */ subf r5, r5, r0 -/* 80367D70 00364CD0 4B FD 74 5D */ bl __ct__15CMemoryInStreamFPCvUl -/* 80367D74 00364CD4 7F E3 FB 78 */ mr r3, r31 -/* 80367D78 00364CD8 38 81 00 30 */ addi r4, r1, 0x30 -/* 80367D7C 00364CDC 4B FF FD 4D */ bl LoadResourceTable__8CPakFileFR15CMemoryInStream -/* 80367D80 00364CE0 38 00 00 03 */ li r0, 3 -/* 80367D84 00364CE4 90 1F 00 2C */ stw r0, 0x2c(r31) -/* 80367D88 00364CE8 88 1F 00 28 */ lbz r0, 0x28(r31) -/* 80367D8C 00364CEC 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 80367D90 00364CF0 41 82 00 38 */ beq lbl_80367DC8 -/* 80367D94 00364CF4 80 1F 00 4C */ lwz r0, 0x4c(r31) -/* 80367D98 00364CF8 1C 60 00 0A */ mulli r3, r0, 0xa -/* 80367D9C 00364CFC 38 03 00 1F */ addi r0, r3, 0x1f -/* 80367DA0 00364D00 54 1E 00 34 */ rlwinm r30, r0, 0, 0, 0x1a -/* 80367DA4 00364D04 7F C3 F3 78 */ mr r3, r30 -/* 80367DA8 00364D08 4B FD CE 81 */ bl Alloc__12CARAMManagerFUi -/* 80367DAC 00364D0C 90 7F 00 50 */ stw r3, 0x50(r31) -/* 80367DB0 00364D10 7F C5 F3 78 */ mr r5, r30 -/* 80367DB4 00364D14 38 C0 00 01 */ li r6, 1 -/* 80367DB8 00364D18 80 7F 00 80 */ lwz r3, 0x80(r31) -/* 80367DBC 00364D1C 80 9F 00 50 */ lwz r4, 0x50(r31) -/* 80367DC0 00364D20 4B FD CB C9 */ bl DMAToARAM__12CARAMManagerFPvPvUiQ212CARAMManager12EDMAPriority -/* 80367DC4 00364D24 4B FD C9 85 */ bl WaitForDMACompletion__12CARAMManagerFUi -lbl_80367DC8: -/* 80367DC8 00364D28 38 00 00 00 */ li r0, 0 -/* 80367DCC 00364D2C 38 7F 00 38 */ addi r3, r31, 0x38 -/* 80367DD0 00364D30 90 01 00 24 */ stw r0, 0x24(r1) -/* 80367DD4 00364D34 38 81 00 20 */ addi r4, r1, 0x20 -/* 80367DD8 00364D38 90 01 00 28 */ stw r0, 0x28(r1) -/* 80367DDC 00364D3C 90 01 00 2C */ stw r0, 0x2c(r1) -/* 80367DE0 00364D40 4B FE 5F 75 */ bl sub_8034dd54 -/* 80367DE4 00364D44 80 61 00 2C */ lwz r3, 0x2c(r1) -/* 80367DE8 00364D48 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80367DEC 00364D4C 90 61 00 0C */ stw r3, 0xc(r1) -/* 80367DF0 00364D50 7C 83 02 14 */ add r4, r3, r0 -/* 80367DF4 00364D54 7C 03 20 50 */ subf r0, r3, r4 -/* 80367DF8 00364D58 90 81 00 14 */ stw r4, 0x14(r1) -/* 80367DFC 00364D5C 90 81 00 10 */ stw r4, 0x10(r1) -/* 80367E00 00364D60 90 61 00 08 */ stw r3, 8(r1) -/* 80367E04 00364D64 7C 09 03 A6 */ mtctr r0 -/* 80367E08 00364D68 7C 03 20 40 */ cmplw r3, r4 -/* 80367E0C 00364D6C 41 82 00 08 */ beq lbl_80367E14 -lbl_80367E10: -/* 80367E10 00364D70 42 00 00 00 */ bdnz lbl_80367E10 -lbl_80367E14: -/* 80367E14 00364D74 4B FA DB 1D */ bl Free__7CMemoryFPCv -/* 80367E18 00364D78 7F E3 FB 78 */ mr r3, r31 -/* 80367E1C 00364D7C 4B FF FC 95 */ bl GetFakeStaticSize__8CPakFileCFv -/* 80367E20 00364D80 4B FA DA A1 */ bl OffsetFakeStatics__7CMemoryFi -/* 80367E24 00364D84 3C 80 80 3F */ lis r4, __vt__15CMemoryInStream@ha -/* 80367E28 00364D88 38 61 00 30 */ addi r3, r1, 0x30 -/* 80367E2C 00364D8C 38 04 E3 98 */ addi r0, r4, __vt__15CMemoryInStream@l -/* 80367E30 00364D90 38 80 00 00 */ li r4, 0 -/* 80367E34 00364D94 90 01 00 30 */ stw r0, 0x30(r1) -/* 80367E38 00364D98 4B FD 72 75 */ bl __dt__12CInputStreamFv -/* 80367E3C 00364D9C 80 01 00 64 */ lwz r0, 0x64(r1) -/* 80367E40 00364DA0 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 80367E44 00364DA4 83 C1 00 58 */ lwz r30, 0x58(r1) -/* 80367E48 00364DA8 7C 08 03 A6 */ mtlr r0 -/* 80367E4C 00364DAC 38 21 00 60 */ addi r1, r1, 0x60 -/* 80367E50 00364DB0 4E 80 00 20 */ blr - -.global InitialHeaderLoad__8CPakFileFv -InitialHeaderLoad__8CPakFileFv: -/* 80367E54 00364DB4 94 21 FE 70 */ stwu r1, -0x190(r1) -/* 80367E58 00364DB8 7C 08 02 A6 */ mflr r0 -/* 80367E5C 00364DBC 90 01 01 94 */ stw r0, 0x194(r1) -/* 80367E60 00364DC0 BF 61 01 7C */ stmw r27, 0x17c(r1) -/* 80367E64 00364DC4 7C 7F 1B 78 */ mr r31, r3 -/* 80367E68 00364DC8 38 61 00 50 */ addi r3, r1, 0x50 -/* 80367E6C 00364DCC 80 9F 00 44 */ lwz r4, 0x44(r31) -/* 80367E70 00364DD0 80 BF 00 3C */ lwz r5, 0x3c(r31) -/* 80367E74 00364DD4 4B FD 73 59 */ bl __ct__15CMemoryInStreamFPCvUl -/* 80367E78 00364DD8 38 61 00 10 */ addi r3, r1, 0x10 -/* 80367E7C 00364DDC 38 1F 00 30 */ addi r0, r31, 0x30 -/* 80367E80 00364DE0 38 80 00 00 */ li r4, 0 -/* 80367E84 00364DE4 7C 03 00 40 */ cmplw r3, r0 -/* 80367E88 00364DE8 98 81 00 10 */ stb r4, 0x10(r1) -/* 80367E8C 00364DEC 90 81 00 14 */ stw r4, 0x14(r1) -/* 80367E90 00364DF0 41 82 00 48 */ beq lbl_80367ED8 -/* 80367E94 00364DF4 88 1F 00 30 */ lbz r0, 0x30(r31) -/* 80367E98 00364DF8 28 00 00 00 */ cmplwi r0, 0 -/* 80367E9C 00364DFC 41 82 00 24 */ beq lbl_80367EC0 -/* 80367EA0 00364E00 80 7F 00 34 */ lwz r3, 0x34(r31) -/* 80367EA4 00364E04 28 03 00 00 */ cmplwi r3, 0 -/* 80367EA8 00364E08 41 82 00 18 */ beq lbl_80367EC0 -/* 80367EAC 00364E0C 81 83 00 00 */ lwz r12, 0(r3) -/* 80367EB0 00364E10 38 80 00 01 */ li r4, 1 -/* 80367EB4 00364E14 81 8C 00 08 */ lwz r12, 8(r12) -/* 80367EB8 00364E18 7D 89 03 A6 */ mtctr r12 -/* 80367EBC 00364E1C 4E 80 04 21 */ bctrl -lbl_80367EC0: -/* 80367EC0 00364E20 88 61 00 10 */ lbz r3, 0x10(r1) -/* 80367EC4 00364E24 38 00 00 00 */ li r0, 0 -/* 80367EC8 00364E28 98 7F 00 30 */ stb r3, 0x30(r31) -/* 80367ECC 00364E2C 80 61 00 14 */ lwz r3, 0x14(r1) -/* 80367ED0 00364E30 90 7F 00 34 */ stw r3, 0x34(r31) -/* 80367ED4 00364E34 98 01 00 10 */ stb r0, 0x10(r1) -lbl_80367ED8: -/* 80367ED8 00364E38 88 01 00 10 */ lbz r0, 0x10(r1) -/* 80367EDC 00364E3C 28 00 00 00 */ cmplwi r0, 0 -/* 80367EE0 00364E40 41 82 00 24 */ beq lbl_80367F04 -/* 80367EE4 00364E44 80 61 00 14 */ lwz r3, 0x14(r1) -/* 80367EE8 00364E48 28 03 00 00 */ cmplwi r3, 0 -/* 80367EEC 00364E4C 41 82 00 18 */ beq lbl_80367F04 -/* 80367EF0 00364E50 81 83 00 00 */ lwz r12, 0(r3) -/* 80367EF4 00364E54 38 80 00 01 */ li r4, 1 -/* 80367EF8 00364E58 81 8C 00 08 */ lwz r12, 8(r12) -/* 80367EFC 00364E5C 7D 89 03 A6 */ mtctr r12 -/* 80367F00 00364E60 4E 80 04 21 */ bctrl -lbl_80367F04: -/* 80367F04 00364E64 38 61 00 50 */ addi r3, r1, 0x50 -/* 80367F08 00364E68 4B FD 6D 7D */ bl ReadLong__12CInputStreamFv -/* 80367F0C 00364E6C 3C 03 FF FD */ addis r0, r3, 0xfffd -/* 80367F10 00364E70 28 00 00 05 */ cmplwi r0, 5 -/* 80367F14 00364E74 41 82 00 44 */ beq lbl_80367F58 -/* 80367F18 00364E78 3C 80 80 3E */ lis r4, lbl_803D84E0@ha -/* 80367F1C 00364E7C 3C C0 00 03 */ lis r6, 0x00030005@ha -/* 80367F20 00364E80 7C 67 1B 78 */ mr r7, r3 -/* 80367F24 00364E84 80 BF 00 18 */ lwz r5, 0x18(r31) -/* 80367F28 00364E88 38 84 84 E0 */ addi r4, r4, lbl_803D84E0@l -/* 80367F2C 00364E8C 38 61 00 74 */ addi r3, r1, 0x74 -/* 80367F30 00364E90 38 C6 00 05 */ addi r6, r6, 0x00030005@l -/* 80367F34 00364E94 4C C6 31 82 */ crclr 6 -/* 80367F38 00364E98 48 02 5D A5 */ bl sprintf -/* 80367F3C 00364E9C 3C 80 80 3F */ lis r4, __vt__15CMemoryInStream@ha -/* 80367F40 00364EA0 38 61 00 50 */ addi r3, r1, 0x50 -/* 80367F44 00364EA4 38 04 E3 98 */ addi r0, r4, __vt__15CMemoryInStream@l -/* 80367F48 00364EA8 38 80 00 00 */ li r4, 0 -/* 80367F4C 00364EAC 90 01 00 50 */ stw r0, 0x50(r1) -/* 80367F50 00364EB0 4B FD 71 5D */ bl __dt__12CInputStreamFv -/* 80367F54 00364EB4 48 00 02 1C */ b lbl_80368170 -lbl_80367F58: -/* 80367F58 00364EB8 38 61 00 50 */ addi r3, r1, 0x50 -/* 80367F5C 00364EBC 4B FD 6D 29 */ bl ReadLong__12CInputStreamFv -/* 80367F60 00364EC0 38 61 00 50 */ addi r3, r1, 0x50 -/* 80367F64 00364EC4 4B FD 6D 21 */ bl ReadLong__12CInputStreamFv -/* 80367F68 00364EC8 7C 7C 1B 78 */ mr r28, r3 -/* 80367F6C 00364ECC 38 7F 00 54 */ addi r3, r31, 0x54 -/* 80367F70 00364ED0 7F 84 E3 78 */ mr r4, r28 -/* 80367F74 00364ED4 4B EB 52 51 */ bl "reserve__Q24rstl138vector,Q24rstl17rmemory_allocator>,10SObjectTag>,Q24rstl17rmemory_allocator>Fi" -/* 80367F78 00364ED8 3B 60 00 00 */ li r27, 0 -/* 80367F7C 00364EDC 48 00 00 C8 */ b lbl_80368044 -lbl_80367F80: -/* 80367F80 00364EE0 38 61 00 50 */ addi r3, r1, 0x50 -/* 80367F84 00364EE4 4B FD 6D 01 */ bl ReadLong__12CInputStreamFv -/* 80367F88 00364EE8 7C 7D 1B 78 */ mr r29, r3 -/* 80367F8C 00364EEC 38 61 00 50 */ addi r3, r1, 0x50 -/* 80367F90 00364EF0 4B FD 6C F5 */ bl ReadLong__12CInputStreamFv -/* 80367F94 00364EF4 7C 7E 1B 78 */ mr r30, r3 -/* 80367F98 00364EF8 38 61 00 18 */ addi r3, r1, 0x18 -/* 80367F9C 00364EFC 38 81 00 50 */ addi r4, r1, 0x50 -/* 80367FA0 00364F00 4B FD 66 B9 */ bl ReadString__13CStringExtrasFR12CInputStream -/* 80367FA4 00364F04 38 61 00 28 */ addi r3, r1, 0x28 -/* 80367FA8 00364F08 38 81 00 18 */ addi r4, r1, 0x18 -/* 80367FAC 00364F0C 4B FD 61 B5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80367FB0 00364F10 38 61 00 18 */ addi r3, r1, 0x18 -/* 80367FB4 00364F14 4B FD 5B 2D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80367FB8 00364F18 38 61 00 38 */ addi r3, r1, 0x38 -/* 80367FBC 00364F1C 38 81 00 28 */ addi r4, r1, 0x28 -/* 80367FC0 00364F20 4B FD 61 A1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80367FC4 00364F24 93 A1 00 48 */ stw r29, 0x48(r1) -/* 80367FC8 00364F28 93 C1 00 4C */ stw r30, 0x4c(r1) -/* 80367FCC 00364F2C 80 1F 00 58 */ lwz r0, 0x58(r31) -/* 80367FD0 00364F30 80 BF 00 5C */ lwz r5, 0x5c(r31) -/* 80367FD4 00364F34 7C 00 28 00 */ cmpw r0, r5 -/* 80367FD8 00364F38 41 80 00 1C */ blt lbl_80367FF4 -/* 80367FDC 00364F3C 2C 05 00 00 */ cmpwi r5, 0 -/* 80367FE0 00364F40 38 7F 00 54 */ addi r3, r31, 0x54 -/* 80367FE4 00364F44 38 80 00 04 */ li r4, 4 -/* 80367FE8 00364F48 41 82 00 08 */ beq lbl_80367FF0 -/* 80367FEC 00364F4C 54 A4 08 3C */ slwi r4, r5, 1 -lbl_80367FF0: -/* 80367FF0 00364F50 4B EB 51 D5 */ bl "reserve__Q24rstl138vector,Q24rstl17rmemory_allocator>,10SObjectTag>,Q24rstl17rmemory_allocator>Fi" -lbl_80367FF4: -/* 80367FF4 00364F54 80 1F 00 58 */ lwz r0, 0x58(r31) -/* 80367FF8 00364F58 80 7F 00 60 */ lwz r3, 0x60(r31) -/* 80367FFC 00364F5C 1C 00 00 18 */ mulli r0, r0, 0x18 -/* 80368000 00364F60 7F A3 02 15 */ add. r29, r3, r0 -/* 80368004 00364F64 41 82 00 20 */ beq lbl_80368024 -/* 80368008 00364F68 7F A3 EB 78 */ mr r3, r29 -/* 8036800C 00364F6C 38 81 00 38 */ addi r4, r1, 0x38 -/* 80368010 00364F70 4B FD 61 51 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80368014 00364F74 80 01 00 48 */ lwz r0, 0x48(r1) -/* 80368018 00364F78 90 1D 00 10 */ stw r0, 0x10(r29) -/* 8036801C 00364F7C 80 01 00 4C */ lwz r0, 0x4c(r1) -/* 80368020 00364F80 90 1D 00 14 */ stw r0, 0x14(r29) -lbl_80368024: -/* 80368024 00364F84 80 9F 00 58 */ lwz r4, 0x58(r31) -/* 80368028 00364F88 38 61 00 38 */ addi r3, r1, 0x38 -/* 8036802C 00364F8C 38 04 00 01 */ addi r0, r4, 1 -/* 80368030 00364F90 90 1F 00 58 */ stw r0, 0x58(r31) -/* 80368034 00364F94 4B FD 5A AD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80368038 00364F98 38 61 00 28 */ addi r3, r1, 0x28 -/* 8036803C 00364F9C 4B FD 5A A5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80368040 00364FA0 3B 7B 00 01 */ addi r27, r27, 1 -lbl_80368044: -/* 80368044 00364FA4 7C 1B E0 00 */ cmpw r27, r28 -/* 80368048 00364FA8 41 80 FF 38 */ blt lbl_80367F80 -/* 8036804C 00364FAC 38 61 00 50 */ addi r3, r1, 0x50 -/* 80368050 00364FB0 4B FD 6C 35 */ bl ReadLong__12CInputStreamFv -/* 80368054 00364FB4 90 7F 00 4C */ stw r3, 0x4c(r31) -/* 80368058 00364FB8 38 00 00 02 */ li r0, 2 -/* 8036805C 00364FBC 80 61 00 68 */ lwz r3, 0x68(r1) -/* 80368060 00364FC0 90 7F 00 48 */ stw r3, 0x48(r31) -/* 80368064 00364FC4 90 1F 00 2C */ stw r0, 0x2c(r31) -/* 80368068 00364FC8 80 1F 00 4C */ lwz r0, 0x4c(r31) -/* 8036806C 00364FCC 80 7F 00 48 */ lwz r3, 0x48(r31) -/* 80368070 00364FD0 1C 80 00 14 */ mulli r4, r0, 0x14 -/* 80368074 00364FD4 83 9F 00 3C */ lwz r28, 0x3c(r31) -/* 80368078 00364FD8 38 03 00 1F */ addi r0, r3, 0x1f -/* 8036807C 00364FDC 7C 04 02 14 */ add r0, r4, r0 -/* 80368080 00364FE0 54 04 00 34 */ rlwinm r4, r0, 0, 0, 0x1a -/* 80368084 00364FE4 7C 04 E0 00 */ cmpw r4, r28 -/* 80368088 00364FE8 40 81 00 C8 */ ble lbl_80368150 -/* 8036808C 00364FEC 38 7F 00 38 */ addi r3, r31, 0x38 -/* 80368090 00364FF0 38 AD 9E 8D */ addi r5, r13, lbl_805A8A4D@sda21 -/* 80368094 00364FF4 48 00 00 F1 */ bl sub_80368184 -/* 80368098 00364FF8 80 9F 00 44 */ lwz r4, 0x44(r31) -/* 8036809C 00364FFC 7F E3 FB 78 */ mr r3, r31 -/* 803680A0 00365000 80 1F 00 3C */ lwz r0, 0x3c(r31) -/* 803680A4 00365004 7F 87 E3 78 */ mr r7, r28 -/* 803680A8 00365008 7C 84 E2 14 */ add r4, r4, r28 -/* 803680AC 0036500C 38 C0 00 00 */ li r6, 0 -/* 803680B0 00365010 7C BC 00 50 */ subf r5, r28, r0 -/* 803680B4 00365014 4B FE 79 0D */ bl AsyncSeekRead__8CDvdFileFPvUi11ESeekOrigini -/* 803680B8 00365018 7C 03 00 D0 */ neg r0, r3 -/* 803680BC 0036501C 38 81 00 08 */ addi r4, r1, 8 -/* 803680C0 00365020 7C 05 1B 78 */ or r5, r0, r3 -/* 803680C4 00365024 38 1F 00 30 */ addi r0, r31, 0x30 -/* 803680C8 00365028 54 A5 0F FE */ srwi r5, r5, 0x1f -/* 803680CC 0036502C 90 61 00 0C */ stw r3, 0xc(r1) -/* 803680D0 00365030 7C 04 00 40 */ cmplw r4, r0 -/* 803680D4 00365034 98 A1 00 08 */ stb r5, 8(r1) -/* 803680D8 00365038 41 82 00 48 */ beq lbl_80368120 -/* 803680DC 0036503C 88 1F 00 30 */ lbz r0, 0x30(r31) -/* 803680E0 00365040 28 00 00 00 */ cmplwi r0, 0 -/* 803680E4 00365044 41 82 00 24 */ beq lbl_80368108 -/* 803680E8 00365048 80 7F 00 34 */ lwz r3, 0x34(r31) -/* 803680EC 0036504C 28 03 00 00 */ cmplwi r3, 0 -/* 803680F0 00365050 41 82 00 18 */ beq lbl_80368108 -/* 803680F4 00365054 81 83 00 00 */ lwz r12, 0(r3) -/* 803680F8 00365058 38 80 00 01 */ li r4, 1 -/* 803680FC 0036505C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80368100 00365060 7D 89 03 A6 */ mtctr r12 -/* 80368104 00365064 4E 80 04 21 */ bctrl -lbl_80368108: -/* 80368108 00365068 88 61 00 08 */ lbz r3, 8(r1) -/* 8036810C 0036506C 38 00 00 00 */ li r0, 0 -/* 80368110 00365070 98 7F 00 30 */ stb r3, 0x30(r31) -/* 80368114 00365074 80 61 00 0C */ lwz r3, 0xc(r1) -/* 80368118 00365078 90 7F 00 34 */ stw r3, 0x34(r31) -/* 8036811C 0036507C 98 01 00 08 */ stb r0, 8(r1) -lbl_80368120: -/* 80368120 00365080 88 01 00 08 */ lbz r0, 8(r1) -/* 80368124 00365084 28 00 00 00 */ cmplwi r0, 0 -/* 80368128 00365088 41 82 00 30 */ beq lbl_80368158 -/* 8036812C 0036508C 80 61 00 0C */ lwz r3, 0xc(r1) -/* 80368130 00365090 28 03 00 00 */ cmplwi r3, 0 -/* 80368134 00365094 41 82 00 24 */ beq lbl_80368158 -/* 80368138 00365098 81 83 00 00 */ lwz r12, 0(r3) -/* 8036813C 0036509C 38 80 00 01 */ li r4, 1 -/* 80368140 003650A0 81 8C 00 08 */ lwz r12, 8(r12) -/* 80368144 003650A4 7D 89 03 A6 */ mtctr r12 -/* 80368148 003650A8 4E 80 04 21 */ bctrl -/* 8036814C 003650AC 48 00 00 0C */ b lbl_80368158 -lbl_80368150: -/* 80368150 003650B0 7F E3 FB 78 */ mr r3, r31 -/* 80368154 003650B4 4B FF FB 61 */ bl DataLoad__8CPakFileFv -lbl_80368158: -/* 80368158 003650B8 3C 80 80 3F */ lis r4, __vt__15CMemoryInStream@ha -/* 8036815C 003650BC 38 61 00 50 */ addi r3, r1, 0x50 -/* 80368160 003650C0 38 04 E3 98 */ addi r0, r4, __vt__15CMemoryInStream@l -/* 80368164 003650C4 38 80 00 00 */ li r4, 0 -/* 80368168 003650C8 90 01 00 50 */ stw r0, 0x50(r1) -/* 8036816C 003650CC 4B FD 6F 41 */ bl __dt__12CInputStreamFv -lbl_80368170: -/* 80368170 003650D0 BB 61 01 7C */ lmw r27, 0x17c(r1) -/* 80368174 003650D4 80 01 01 94 */ lwz r0, 0x194(r1) -/* 80368178 003650D8 7C 08 03 A6 */ mtlr r0 -/* 8036817C 003650DC 38 21 01 90 */ addi r1, r1, 0x190 -/* 80368180 003650E0 4E 80 00 20 */ blr - -.global sub_80368184 -sub_80368184: -/* 80368184 003650E4 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80368188 003650E8 7C 08 02 A6 */ mflr r0 -/* 8036818C 003650EC 90 01 00 34 */ stw r0, 0x34(r1) -/* 80368190 003650F0 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80368194 003650F4 7C BF 2B 78 */ mr r31, r5 -/* 80368198 003650F8 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8036819C 003650FC 7C 9E 23 78 */ mr r30, r4 -/* 803681A0 00365100 93 A1 00 24 */ stw r29, 0x24(r1) -/* 803681A4 00365104 7C 7D 1B 78 */ mr r29, r3 -/* 803681A8 00365108 80 03 00 04 */ lwz r0, 4(r3) -/* 803681AC 0036510C 7C 00 F0 00 */ cmpw r0, r30 -/* 803681B0 00365110 41 82 00 78 */ beq lbl_80368228 -/* 803681B4 00365114 7C 1E 00 00 */ cmpw r30, r0 -/* 803681B8 00365118 40 81 00 3C */ ble lbl_803681F4 -/* 803681BC 0036511C 4B FE 6B 75 */ bl sub_8034ed30 -/* 803681C0 00365120 80 7D 00 04 */ lwz r3, 4(r29) -/* 803681C4 00365124 80 1D 00 0C */ lwz r0, 0xc(r29) -/* 803681C8 00365128 7C 83 F0 51 */ subf. r4, r3, r30 -/* 803681CC 0036512C 7C 60 1A 14 */ add r3, r0, r3 -/* 803681D0 00365130 7C 89 03 A6 */ mtctr r4 -/* 803681D4 00365134 40 81 00 50 */ ble lbl_80368224 -lbl_803681D8: -/* 803681D8 00365138 28 03 00 00 */ cmplwi r3, 0 -/* 803681DC 0036513C 41 82 00 0C */ beq lbl_803681E8 -/* 803681E0 00365140 88 1F 00 00 */ lbz r0, 0(r31) -/* 803681E4 00365144 98 03 00 00 */ stb r0, 0(r3) -lbl_803681E8: -/* 803681E8 00365148 38 63 00 01 */ addi r3, r3, 1 -/* 803681EC 0036514C 42 00 FF EC */ bdnz lbl_803681D8 -/* 803681F0 00365150 48 00 00 34 */ b lbl_80368224 -lbl_803681F4: -/* 803681F4 00365154 80 9D 00 0C */ lwz r4, 0xc(r29) -/* 803681F8 00365158 7C 64 02 14 */ add r3, r4, r0 -/* 803681FC 0036515C 7C 84 F2 14 */ add r4, r4, r30 -/* 80368200 00365160 7C 04 18 50 */ subf r0, r4, r3 -/* 80368204 00365164 90 61 00 08 */ stw r3, 8(r1) -/* 80368208 00365168 90 61 00 0C */ stw r3, 0xc(r1) -/* 8036820C 0036516C 90 81 00 10 */ stw r4, 0x10(r1) -/* 80368210 00365170 90 81 00 14 */ stw r4, 0x14(r1) -/* 80368214 00365174 7C 09 03 A6 */ mtctr r0 -/* 80368218 00365178 7C 04 18 40 */ cmplw r4, r3 -/* 8036821C 0036517C 41 82 00 08 */ beq lbl_80368224 -lbl_80368220: -/* 80368220 00365180 42 00 00 00 */ bdnz lbl_80368220 -lbl_80368224: -/* 80368224 00365184 93 DD 00 04 */ stw r30, 4(r29) -lbl_80368228: -/* 80368228 00365188 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8036822C 0036518C 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80368230 00365190 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80368234 00365194 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80368238 00365198 7C 08 03 A6 */ mtlr r0 -/* 8036823C 0036519C 38 21 00 30 */ addi r1, r1, 0x30 -/* 80368240 003651A0 4E 80 00 20 */ blr - -.global Warmup__8CPakFileFv -Warmup__8CPakFileFv: -/* 80368244 003651A4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80368248 003651A8 7C 08 02 A6 */ mflr r0 -/* 8036824C 003651AC 90 01 00 24 */ stw r0, 0x24(r1) -/* 80368250 003651B0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80368254 003651B4 7C 7F 1B 78 */ mr r31, r3 -/* 80368258 003651B8 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8036825C 003651BC 80 83 00 14 */ lwz r4, 0x14(r3) -/* 80368260 003651C0 38 61 00 08 */ addi r3, r1, 8 -/* 80368264 003651C4 80 0D 9E 88 */ lwz r0, lbl_805A8A48@sda21(r13) -/* 80368268 003651C8 90 81 00 08 */ stw r4, 8(r1) -/* 8036826C 003651CC 7C 00 20 00 */ cmpw r0, r4 -/* 80368270 003651D0 40 80 00 08 */ bge lbl_80368278 -/* 80368274 003651D4 38 6D 9E 88 */ addi r3, r13, lbl_805A8A48@sda21 -lbl_80368278: -/* 80368278 003651D8 83 C3 00 00 */ lwz r30, 0(r3) -/* 8036827C 003651DC 38 7F 00 38 */ addi r3, r31, 0x38 -/* 80368280 003651E0 38 AD 9E 8C */ addi r5, r13, lbl_805A8A4C@sda21 -/* 80368284 003651E4 7F C4 F3 78 */ mr r4, r30 -/* 80368288 003651E8 4B FF FE FD */ bl sub_80368184 -/* 8036828C 003651EC 80 9F 00 44 */ lwz r4, 0x44(r31) -/* 80368290 003651F0 7F E3 FB 78 */ mr r3, r31 -/* 80368294 003651F4 7F C5 F3 78 */ mr r5, r30 -/* 80368298 003651F8 4B FE 79 51 */ bl SyncRead__8CDvdFileFPvUi -/* 8036829C 003651FC 7C 03 00 D0 */ neg r0, r3 -/* 803682A0 00365200 38 81 00 0C */ addi r4, r1, 0xc -/* 803682A4 00365204 7C 05 1B 78 */ or r5, r0, r3 -/* 803682A8 00365208 38 1F 00 30 */ addi r0, r31, 0x30 -/* 803682AC 0036520C 54 A5 0F FE */ srwi r5, r5, 0x1f -/* 803682B0 00365210 90 61 00 10 */ stw r3, 0x10(r1) -/* 803682B4 00365214 7C 04 00 40 */ cmplw r4, r0 -/* 803682B8 00365218 98 A1 00 0C */ stb r5, 0xc(r1) -/* 803682BC 0036521C 41 82 00 48 */ beq lbl_80368304 -/* 803682C0 00365220 88 1F 00 30 */ lbz r0, 0x30(r31) -/* 803682C4 00365224 28 00 00 00 */ cmplwi r0, 0 -/* 803682C8 00365228 41 82 00 24 */ beq lbl_803682EC -/* 803682CC 0036522C 80 7F 00 34 */ lwz r3, 0x34(r31) -/* 803682D0 00365230 28 03 00 00 */ cmplwi r3, 0 -/* 803682D4 00365234 41 82 00 18 */ beq lbl_803682EC -/* 803682D8 00365238 81 83 00 00 */ lwz r12, 0(r3) -/* 803682DC 0036523C 38 80 00 01 */ li r4, 1 -/* 803682E0 00365240 81 8C 00 08 */ lwz r12, 8(r12) -/* 803682E4 00365244 7D 89 03 A6 */ mtctr r12 -/* 803682E8 00365248 4E 80 04 21 */ bctrl -lbl_803682EC: -/* 803682EC 0036524C 88 61 00 0C */ lbz r3, 0xc(r1) -/* 803682F0 00365250 38 00 00 00 */ li r0, 0 -/* 803682F4 00365254 98 7F 00 30 */ stb r3, 0x30(r31) -/* 803682F8 00365258 80 61 00 10 */ lwz r3, 0x10(r1) -/* 803682FC 0036525C 90 7F 00 34 */ stw r3, 0x34(r31) -/* 80368300 00365260 98 01 00 0C */ stb r0, 0xc(r1) -lbl_80368304: -/* 80368304 00365264 88 01 00 0C */ lbz r0, 0xc(r1) -/* 80368308 00365268 28 00 00 00 */ cmplwi r0, 0 -/* 8036830C 0036526C 41 82 00 24 */ beq lbl_80368330 -/* 80368310 00365270 80 61 00 10 */ lwz r3, 0x10(r1) -/* 80368314 00365274 28 03 00 00 */ cmplwi r3, 0 -/* 80368318 00365278 41 82 00 18 */ beq lbl_80368330 -/* 8036831C 0036527C 81 83 00 00 */ lwz r12, 0(r3) -/* 80368320 00365280 38 80 00 01 */ li r4, 1 -/* 80368324 00365284 81 8C 00 08 */ lwz r12, 8(r12) -/* 80368328 00365288 7D 89 03 A6 */ mtctr r12 -/* 8036832C 0036528C 4E 80 04 21 */ bctrl -lbl_80368330: -/* 80368330 00365290 38 00 00 01 */ li r0, 1 -/* 80368334 00365294 90 1F 00 2C */ stw r0, 0x2c(r31) -/* 80368338 00365298 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8036833C 0036529C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80368340 003652A0 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80368344 003652A4 7C 08 03 A6 */ mtlr r0 -/* 80368348 003652A8 38 21 00 20 */ addi r1, r1, 0x20 -/* 8036834C 003652AC 4E 80 00 20 */ blr - -.global AsyncIdle__8CPakFileFv -AsyncIdle__8CPakFileFv: -/* 80368350 003652B0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80368354 003652B4 7C 08 02 A6 */ mflr r0 -/* 80368358 003652B8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8036835C 003652BC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80368360 003652C0 7C 7F 1B 78 */ mr r31, r3 -/* 80368364 003652C4 80 03 00 2C */ lwz r0, 0x2c(r3) -/* 80368368 003652C8 2C 00 00 03 */ cmpwi r0, 3 -/* 8036836C 003652CC 41 82 00 7C */ beq lbl_803683E8 -/* 80368370 003652D0 4B FE 7C 0D */ bl sub_8034ff7c -/* 80368374 003652D4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80368378 003652D8 41 82 00 70 */ beq lbl_803683E8 -/* 8036837C 003652DC 80 7F 00 34 */ lwz r3, 0x34(r31) -/* 80368380 003652E0 28 03 00 00 */ cmplwi r3, 0 -/* 80368384 003652E4 41 82 00 1C */ beq lbl_803683A0 -/* 80368388 003652E8 81 83 00 00 */ lwz r12, 0(r3) -/* 8036838C 003652EC 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80368390 003652F0 7D 89 03 A6 */ mtctr r12 -/* 80368394 003652F4 4E 80 04 21 */ bctrl -/* 80368398 003652F8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8036839C 003652FC 41 82 00 4C */ beq lbl_803683E8 -lbl_803683A0: -/* 803683A0 00365300 80 1F 00 2C */ lwz r0, 0x2c(r31) -/* 803683A4 00365304 2C 00 00 01 */ cmpwi r0, 1 -/* 803683A8 00365308 41 82 00 2C */ beq lbl_803683D4 -/* 803683AC 0036530C 40 80 00 10 */ bge lbl_803683BC -/* 803683B0 00365310 2C 00 00 00 */ cmpwi r0, 0 -/* 803683B4 00365314 40 80 00 14 */ bge lbl_803683C8 -/* 803683B8 00365318 48 00 00 30 */ b lbl_803683E8 -lbl_803683BC: -/* 803683BC 0036531C 2C 00 00 03 */ cmpwi r0, 3 -/* 803683C0 00365320 40 80 00 28 */ bge lbl_803683E8 -/* 803683C4 00365324 48 00 00 1C */ b lbl_803683E0 -lbl_803683C8: -/* 803683C8 00365328 7F E3 FB 78 */ mr r3, r31 -/* 803683CC 0036532C 4B FF FE 79 */ bl Warmup__8CPakFileFv -/* 803683D0 00365330 48 00 00 18 */ b lbl_803683E8 -lbl_803683D4: -/* 803683D4 00365334 7F E3 FB 78 */ mr r3, r31 -/* 803683D8 00365338 4B FF FA 7D */ bl InitialHeaderLoad__8CPakFileFv -/* 803683DC 0036533C 48 00 00 0C */ b lbl_803683E8 -lbl_803683E0: -/* 803683E0 00365340 7F E3 FB 78 */ mr r3, r31 -/* 803683E4 00365344 4B FF F8 D1 */ bl DataLoad__8CPakFileFv -lbl_803683E8: -/* 803683E8 00365348 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803683EC 0036534C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 803683F0 00365350 7C 08 03 A6 */ mtlr r0 -/* 803683F4 00365354 38 21 00 10 */ addi r1, r1, 0x10 -/* 803683F8 00365358 4E 80 00 20 */ blr - -.global __dt__8CPakFileFv -__dt__8CPakFileFv: -/* 803683FC 0036535C 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80368400 00365360 7C 08 02 A6 */ mflr r0 -/* 80368404 00365364 90 01 00 44 */ stw r0, 0x44(r1) -/* 80368408 00365368 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 8036840C 0036536C 7C 9F 23 78 */ mr r31, r4 -/* 80368410 00365370 93 C1 00 38 */ stw r30, 0x38(r1) -/* 80368414 00365374 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80368418 00365378 41 82 01 5C */ beq lbl_80368574 -/* 8036841C 0036537C 48 00 00 0C */ b lbl_80368428 -lbl_80368420: -/* 80368420 00365380 7F C3 F3 78 */ mr r3, r30 -/* 80368424 00365384 4B FF FF 2D */ bl AsyncIdle__8CPakFileFv -lbl_80368428: -/* 80368428 00365388 80 1E 00 2C */ lwz r0, 0x2c(r30) -/* 8036842C 0036538C 2C 00 00 03 */ cmpwi r0, 3 -/* 80368430 00365390 40 82 FF F0 */ bne lbl_80368420 -/* 80368434 00365394 7F C3 F3 78 */ mr r3, r30 -/* 80368438 00365398 4B FF F6 79 */ bl GetFakeStaticSize__8CPakFileCFv -/* 8036843C 0036539C 7C 63 00 D0 */ neg r3, r3 -/* 80368440 003653A0 4B FA D4 81 */ bl OffsetFakeStatics__7CMemoryFi -/* 80368444 003653A4 80 7E 00 50 */ lwz r3, 0x50(r30) -/* 80368448 003653A8 4B FD C6 75 */ bl Free__12CARAMManagerFPCv -/* 8036844C 003653AC 34 1E 00 74 */ addic. r0, r30, 0x74 -/* 80368450 003653B0 41 82 00 44 */ beq lbl_80368494 -/* 80368454 003653B4 80 1E 00 78 */ lwz r0, 0x78(r30) -/* 80368458 003653B8 80 7E 00 80 */ lwz r3, 0x80(r30) -/* 8036845C 003653BC 1C 00 00 0A */ mulli r0, r0, 0xa -/* 80368460 003653C0 90 61 00 2C */ stw r3, 0x2c(r1) -/* 80368464 003653C4 7C 64 1B 78 */ mr r4, r3 -/* 80368468 003653C8 7C 03 02 14 */ add r0, r3, r0 -/* 8036846C 003653CC 90 61 00 28 */ stw r3, 0x28(r1) -/* 80368470 003653D0 90 01 00 34 */ stw r0, 0x34(r1) -/* 80368474 003653D4 90 01 00 30 */ stw r0, 0x30(r1) -/* 80368478 003653D8 48 00 00 08 */ b lbl_80368480 -lbl_8036847C: -/* 8036847C 003653DC 38 84 00 0A */ addi r4, r4, 0xa -lbl_80368480: -/* 80368480 003653E0 7C 04 00 40 */ cmplw r4, r0 -/* 80368484 003653E4 40 82 FF F8 */ bne lbl_8036847C -/* 80368488 003653E8 28 03 00 00 */ cmplwi r3, 0 -/* 8036848C 003653EC 41 82 00 08 */ beq lbl_80368494 -/* 80368490 003653F0 4B FA D4 A1 */ bl Free__7CMemoryFPCv -lbl_80368494: -/* 80368494 003653F4 34 1E 00 64 */ addic. r0, r30, 0x64 -/* 80368498 003653F8 41 82 00 44 */ beq lbl_803684DC -/* 8036849C 003653FC 80 1E 00 68 */ lwz r0, 0x68(r30) -/* 803684A0 00365400 80 7E 00 70 */ lwz r3, 0x70(r30) -/* 803684A4 00365404 54 00 10 3A */ slwi r0, r0, 2 -/* 803684A8 00365408 7C 03 02 14 */ add r0, r3, r0 -/* 803684AC 0036540C 90 61 00 1C */ stw r3, 0x1c(r1) -/* 803684B0 00365410 7C 64 1B 78 */ mr r4, r3 -/* 803684B4 00365414 90 01 00 24 */ stw r0, 0x24(r1) -/* 803684B8 00365418 90 01 00 20 */ stw r0, 0x20(r1) -/* 803684BC 0036541C 90 61 00 18 */ stw r3, 0x18(r1) -/* 803684C0 00365420 48 00 00 08 */ b lbl_803684C8 -lbl_803684C4: -/* 803684C4 00365424 38 84 00 04 */ addi r4, r4, 4 -lbl_803684C8: -/* 803684C8 00365428 7C 04 00 40 */ cmplw r4, r0 -/* 803684CC 0036542C 40 82 FF F8 */ bne lbl_803684C4 -/* 803684D0 00365430 28 03 00 00 */ cmplwi r3, 0 -/* 803684D4 00365434 41 82 00 08 */ beq lbl_803684DC -/* 803684D8 00365438 4B FA D4 59 */ bl Free__7CMemoryFPCv -lbl_803684DC: -/* 803684DC 0036543C 38 7E 00 54 */ addi r3, r30, 0x54 -/* 803684E0 00365440 38 80 FF FF */ li r4, -1 -/* 803684E4 00365444 4B C9 C5 09 */ bl sub_800049ec -/* 803684E8 00365448 34 1E 00 38 */ addic. r0, r30, 0x38 -/* 803684EC 0036544C 41 82 00 38 */ beq lbl_80368524 -/* 803684F0 00365450 80 7E 00 44 */ lwz r3, 0x44(r30) -/* 803684F4 00365454 80 1E 00 3C */ lwz r0, 0x3c(r30) -/* 803684F8 00365458 90 61 00 0C */ stw r3, 0xc(r1) -/* 803684FC 0036545C 7C 83 02 14 */ add r4, r3, r0 -/* 80368500 00365460 7C 03 20 50 */ subf r0, r3, r4 -/* 80368504 00365464 90 81 00 14 */ stw r4, 0x14(r1) -/* 80368508 00365468 90 81 00 10 */ stw r4, 0x10(r1) -/* 8036850C 0036546C 90 61 00 08 */ stw r3, 8(r1) -/* 80368510 00365470 7C 09 03 A6 */ mtctr r0 -/* 80368514 00365474 7C 03 20 40 */ cmplw r3, r4 -/* 80368518 00365478 41 82 00 08 */ beq lbl_80368520 -lbl_8036851C: -/* 8036851C 0036547C 42 00 00 00 */ bdnz lbl_8036851C -lbl_80368520: -/* 80368520 00365480 4B FA D4 11 */ bl Free__7CMemoryFPCv -lbl_80368524: -/* 80368524 00365484 34 1E 00 30 */ addic. r0, r30, 0x30 -/* 80368528 00365488 41 82 00 30 */ beq lbl_80368558 -/* 8036852C 0036548C 88 1E 00 30 */ lbz r0, 0x30(r30) -/* 80368530 00365490 28 00 00 00 */ cmplwi r0, 0 -/* 80368534 00365494 41 82 00 24 */ beq lbl_80368558 -/* 80368538 00365498 80 7E 00 34 */ lwz r3, 0x34(r30) -/* 8036853C 0036549C 28 03 00 00 */ cmplwi r3, 0 -/* 80368540 003654A0 41 82 00 18 */ beq lbl_80368558 -/* 80368544 003654A4 81 83 00 00 */ lwz r12, 0(r3) -/* 80368548 003654A8 38 80 00 01 */ li r4, 1 -/* 8036854C 003654AC 81 8C 00 08 */ lwz r12, 8(r12) -/* 80368550 003654B0 7D 89 03 A6 */ mtctr r12 -/* 80368554 003654B4 4E 80 04 21 */ bctrl -lbl_80368558: -/* 80368558 003654B8 7F C3 F3 78 */ mr r3, r30 -/* 8036855C 003654BC 38 80 FF FF */ li r4, -1 -/* 80368560 003654C0 4B FE 76 B1 */ bl __dt__8CDvdFileFv -/* 80368564 003654C4 7F E0 07 35 */ extsh. r0, r31 -/* 80368568 003654C8 40 81 00 0C */ ble lbl_80368574 -/* 8036856C 003654CC 7F C3 F3 78 */ mr r3, r30 -/* 80368570 003654D0 4B FA D3 C1 */ bl Free__7CMemoryFPCv -lbl_80368574: -/* 80368574 003654D4 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80368578 003654D8 7F C3 F3 78 */ mr r3, r30 -/* 8036857C 003654DC 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 80368580 003654E0 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 80368584 003654E4 7C 08 03 A6 */ mtlr r0 -/* 80368588 003654E8 38 21 00 40 */ addi r1, r1, 0x40 -/* 8036858C 003654EC 4E 80 00 20 */ blr - -.global "__ct__8CPakFileFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>b" -"__ct__8CPakFileFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>b": -/* 80368590 003654F0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80368594 003654F4 7C 08 02 A6 */ mflr r0 -/* 80368598 003654F8 90 01 00 24 */ stw r0, 0x24(r1) -/* 8036859C 003654FC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 803685A0 00365500 7C DF 33 78 */ mr r31, r6 -/* 803685A4 00365504 93 C1 00 18 */ stw r30, 0x18(r1) -/* 803685A8 00365508 7C BE 2B 78 */ mr r30, r5 -/* 803685AC 0036550C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 803685B0 00365510 7C 7D 1B 78 */ mr r29, r3 -/* 803685B4 00365514 80 84 00 00 */ lwz r4, 0(r4) -/* 803685B8 00365518 4B FE 77 19 */ bl __ct__8CDvdFileFPCc -/* 803685BC 0036551C 88 1D 00 28 */ lbz r0, 0x28(r29) -/* 803685C0 00365520 53 C0 3E 30 */ rlwimi r0, r30, 7, 0x18, 0x18 -/* 803685C4 00365524 38 C0 00 00 */ li r6, 0 -/* 803685C8 00365528 80 82 CB A8 */ lwz r4, lbl_805AE8C8@sda21(r2) -/* 803685CC 0036552C 98 1D 00 28 */ stb r0, 0x28(r29) -/* 803685D0 00365530 38 00 FF FF */ li r0, -1 -/* 803685D4 00365534 7F A3 EB 78 */ mr r3, r29 -/* 803685D8 00365538 88 FD 00 08 */ lbz r7, 8(r29) -/* 803685DC 0036553C 88 BD 00 28 */ lbz r5, 0x28(r29) -/* 803685E0 00365540 50 E5 36 72 */ rlwimi r5, r7, 6, 0x19, 0x19 -/* 803685E4 00365544 98 BD 00 28 */ stb r5, 0x28(r29) -/* 803685E8 00365548 88 BD 00 28 */ lbz r5, 0x28(r29) -/* 803685EC 0036554C 53 E5 2E B4 */ rlwimi r5, r31, 5, 0x1a, 0x1a -/* 803685F0 00365550 98 BD 00 28 */ stb r5, 0x28(r29) -/* 803685F4 00365554 88 BD 00 28 */ lbz r5, 0x28(r29) -/* 803685F8 00365558 50 C5 26 F6 */ rlwimi r5, r6, 4, 0x1b, 0x1b -/* 803685FC 0036555C 98 BD 00 28 */ stb r5, 0x28(r29) -/* 80368600 00365560 90 DD 00 2C */ stw r6, 0x2c(r29) -/* 80368604 00365564 98 DD 00 30 */ stb r6, 0x30(r29) -/* 80368608 00365568 90 DD 00 34 */ stw r6, 0x34(r29) -/* 8036860C 0036556C 90 DD 00 3C */ stw r6, 0x3c(r29) -/* 80368610 00365570 90 DD 00 40 */ stw r6, 0x40(r29) -/* 80368614 00365574 90 DD 00 44 */ stw r6, 0x44(r29) -/* 80368618 00365578 90 DD 00 48 */ stw r6, 0x48(r29) -/* 8036861C 0036557C 90 DD 00 4C */ stw r6, 0x4c(r29) -/* 80368620 00365580 90 9D 00 50 */ stw r4, 0x50(r29) -/* 80368624 00365584 90 DD 00 58 */ stw r6, 0x58(r29) -/* 80368628 00365588 90 DD 00 5C */ stw r6, 0x5c(r29) -/* 8036862C 0036558C 90 DD 00 60 */ stw r6, 0x60(r29) -/* 80368630 00365590 90 DD 00 68 */ stw r6, 0x68(r29) -/* 80368634 00365594 90 DD 00 6C */ stw r6, 0x6c(r29) -/* 80368638 00365598 90 DD 00 70 */ stw r6, 0x70(r29) -/* 8036863C 0036559C 90 DD 00 78 */ stw r6, 0x78(r29) -/* 80368640 003655A0 90 DD 00 7C */ stw r6, 0x7c(r29) -/* 80368644 003655A4 90 DD 00 80 */ stw r6, 0x80(r29) -/* 80368648 003655A8 90 1D 00 84 */ stw r0, 0x84(r29) -/* 8036864C 003655AC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80368650 003655B0 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80368654 003655B4 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80368658 003655B8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8036865C 003655BC 7C 08 03 A6 */ mtlr r0 -/* 80368660 003655C0 38 21 00 20 */ addi r1, r1, 0x20 -/* 80368664 003655C4 4E 80 00 20 */ blr - -.global IsCompressed__Q28CPakFile8SResInfoCFv -IsCompressed__Q28CPakFile8SResInfoCFv: -/* 80368668 003655C8 88 03 00 04 */ lbz r0, 4(r3) -/* 8036866C 003655CC 54 03 00 30 */ rlwinm r3, r0, 0, 0, 0x18 -/* 80368670 003655D0 7C 03 00 D0 */ neg r0, r3 -/* 80368674 003655D4 7C 00 1B 78 */ or r0, r0, r3 -/* 80368678 003655D8 54 03 0F FE */ srwi r3, r0, 0x1f -/* 8036867C 003655DC 4E 80 00 20 */ blr - -.global GetSize__Q28CPakFile8SResInfoCFv -GetSize__Q28CPakFile8SResInfoCFv: -/* 80368680 003655E0 88 83 00 07 */ lbz r4, 7(r3) -/* 80368684 003655E4 88 03 00 08 */ lbz r0, 8(r3) -/* 80368688 003655E8 7C 84 3E 70 */ srawi r4, r4, 7 -/* 8036868C 003655EC 88 63 00 09 */ lbz r3, 9(r3) -/* 80368690 003655F0 50 04 0D FC */ rlwimi r4, r0, 1, 0x17, 0x1e -/* 80368694 003655F4 50 64 4B EC */ rlwimi r4, r3, 9, 0xf, 0x16 -/* 80368698 003655F8 54 83 28 34 */ slwi r3, r4, 5 -/* 8036869C 003655FC 4E 80 00 20 */ blr - -.global GetOffset__Q28CPakFile8SResInfoCFv -GetOffset__Q28CPakFile8SResInfoCFv: -/* 803686A0 00365600 88 83 00 05 */ lbz r4, 5(r3) -/* 803686A4 00365604 88 03 00 06 */ lbz r0, 6(r3) -/* 803686A8 00365608 88 63 00 07 */ lbz r3, 7(r3) -/* 803686AC 0036560C 50 04 44 2E */ rlwimi r4, r0, 8, 0x10, 0x17 -/* 803686B0 00365610 50 64 82 1E */ rlwimi r4, r3, 0x10, 8, 0xf -/* 803686B4 00365614 54 83 29 34 */ rlwinm r3, r4, 5, 4, 0x1a -/* 803686B8 00365618 4E 80 00 20 */ blr - -.global GetType__Q28CPakFile8SResInfoCFv -GetType__Q28CPakFile8SResInfoCFv: -/* 803686BC 0036561C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 803686C0 00365620 7C 08 02 A6 */ mflr r0 -/* 803686C4 00365624 90 01 00 14 */ stw r0, 0x14(r1) -/* 803686C8 00365628 88 03 00 04 */ lbz r0, 4(r3) -/* 803686CC 0036562C 54 03 06 7E */ clrlwi r3, r0, 0x19 -/* 803686D0 00365630 4B FD 00 09 */ bl TypeIdxToFourCC__11CFactoryMgrFUi -/* 803686D4 00365634 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803686D8 00365638 7C 08 03 A6 */ mtlr r0 -/* 803686DC 0036563C 38 21 00 10 */ addi r1, r1, 0x10 -/* 803686E0 00365640 4E 80 00 20 */ blr - -.global __ct__Q28CPakFile8SResInfoFUiUiUiUi -__ct__Q28CPakFile8SResInfoFUiUiUiUi: -/* 803686E4 00365644 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 803686E8 00365648 7C 08 02 A6 */ mflr r0 -/* 803686EC 0036564C 90 01 00 24 */ stw r0, 0x24(r1) -/* 803686F0 00365650 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 803686F4 00365654 7D 1F 43 78 */ mr r31, r8 -/* 803686F8 00365658 93 C1 00 18 */ stw r30, 0x18(r1) -/* 803686FC 0036565C 7C FE 3B 78 */ mr r30, r7 -/* 80368700 00365660 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80368704 00365664 7C DD 33 78 */ mr r29, r6 -/* 80368708 00365668 93 81 00 10 */ stw r28, 0x10(r1) -/* 8036870C 0036566C 7C 7C 1B 78 */ mr r28, r3 -/* 80368710 00365670 90 83 00 00 */ stw r4, 0(r3) -/* 80368714 00365674 7C A3 2B 78 */ mr r3, r5 -/* 80368718 00365678 4B FC FE B5 */ bl FourCCToTypeIdx__11CFactoryMgrFUi -/* 8036871C 0036567C 7C 9F 00 D0 */ neg r4, r31 -/* 80368720 00365680 38 00 00 80 */ li r0, 0x80 -/* 80368724 00365684 7C 84 FB 78 */ or r4, r4, r31 -/* 80368728 00365688 57 A7 DE 3E */ rlwinm r7, r29, 0x1b, 0x18, 0x1f -/* 8036872C 0036568C 7C 84 FE 70 */ srawi r4, r4, 0x1f -/* 80368730 00365690 57 A6 9E 3E */ rlwinm r6, r29, 0x13, 0x18, 0x1f -/* 80368734 00365694 7C 00 20 38 */ and r0, r0, r4 -/* 80368738 00365698 7C 63 03 78 */ or r3, r3, r0 -/* 8036873C 0036569C 57 A4 5D 7E */ srwi r4, r29, 0x15 -/* 80368740 003656A0 98 7C 00 04 */ stb r3, 4(r28) -/* 80368744 003656A4 57 C0 16 30 */ rlwinm r0, r30, 2, 0x18, 0x18 -/* 80368748 003656A8 7C 85 03 78 */ or r5, r4, r0 -/* 8036874C 003656AC 57 C4 D6 3E */ rlwinm r4, r30, 0x1a, 0x18, 0x1f -/* 80368750 003656B0 98 FC 00 05 */ stb r7, 5(r28) -/* 80368754 003656B4 57 C0 96 3E */ rlwinm r0, r30, 0x12, 0x18, 0x1f -/* 80368758 003656B8 7F 83 E3 78 */ mr r3, r28 -/* 8036875C 003656BC 98 DC 00 06 */ stb r6, 6(r28) -/* 80368760 003656C0 98 BC 00 07 */ stb r5, 7(r28) -/* 80368764 003656C4 98 9C 00 08 */ stb r4, 8(r28) -/* 80368768 003656C8 98 1C 00 09 */ stb r0, 9(r28) -/* 8036876C 003656CC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80368770 003656D0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80368774 003656D4 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80368778 003656D8 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8036877C 003656DC 83 81 00 10 */ lwz r28, 0x10(r1) -/* 80368780 003656E0 7C 08 03 A6 */ mtlr r0 -/* 80368784 003656E4 38 21 00 20 */ addi r1, r1, 0x20 -/* 80368788 003656E8 4E 80 00 20 */ blr - -.global sub_8036878c -sub_8036878c: -/* 8036878C 003656EC 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 80368790 003656F0 7C 08 02 A6 */ mflr r0 -/* 80368794 003656F4 90 01 00 64 */ stw r0, 0x64(r1) -/* 80368798 003656F8 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 8036879C 003656FC 7C BF 2B 78 */ mr r31, r5 -/* 803687A0 00365700 93 C1 00 58 */ stw r30, 0x58(r1) -/* 803687A4 00365704 7C 9E 23 78 */ mr r30, r4 -/* 803687A8 00365708 3C 80 66 66 */ lis r4, 0x66666667@ha -/* 803687AC 0036570C 93 A1 00 54 */ stw r29, 0x54(r1) -/* 803687B0 00365710 7C 7D 1B 78 */ mr r29, r3 -/* 803687B4 00365714 38 84 66 67 */ addi r4, r4, 0x66666667@l -/* 803687B8 00365718 93 81 00 50 */ stw r28, 0x50(r1) -/* 803687BC 0036571C 80 63 00 00 */ lwz r3, 0(r3) -/* 803687C0 00365720 80 DE 00 00 */ lwz r6, 0(r30) -/* 803687C4 00365724 7C 03 30 50 */ subf r0, r3, r6 -/* 803687C8 00365728 7C 04 00 96 */ mulhw r0, r4, r0 -/* 803687CC 0036572C 7C 00 16 70 */ srawi r0, r0, 2 -/* 803687D0 00365730 54 04 0F FE */ srwi r4, r0, 0x1f -/* 803687D4 00365734 7C 80 22 14 */ add r4, r0, r4 -/* 803687D8 00365738 2C 04 00 01 */ cmpwi r4, 1 -/* 803687DC 0036573C 40 81 01 7C */ ble lbl_80368958 -/* 803687E0 00365740 2C 04 00 14 */ cmpwi r4, 0x14 -/* 803687E4 00365744 41 81 00 30 */ bgt lbl_80368814 -/* 803687E8 00365748 88 FF 00 00 */ lbz r7, 0(r31) -/* 803687EC 0036574C 38 61 00 34 */ addi r3, r1, 0x34 -/* 803687F0 00365750 80 DE 00 00 */ lwz r6, 0(r30) -/* 803687F4 00365754 38 81 00 30 */ addi r4, r1, 0x30 -/* 803687F8 00365758 80 1D 00 00 */ lwz r0, 0(r29) -/* 803687FC 0036575C 38 A1 00 14 */ addi r5, r1, 0x14 -/* 80368800 00365760 98 E1 00 14 */ stb r7, 0x14(r1) -/* 80368804 00365764 90 C1 00 30 */ stw r6, 0x30(r1) -/* 80368808 00365768 90 01 00 34 */ stw r0, 0x34(r1) -/* 8036880C 0036576C 48 00 06 05 */ bl sub_80368e10 -/* 80368810 00365770 48 00 01 48 */ b lbl_80368958 -lbl_80368814: -/* 80368814 00365774 54 80 0F FE */ srwi r0, r4, 0x1f -/* 80368818 00365778 38 A6 FF F6 */ addi r5, r6, -10 -/* 8036881C 0036577C 7C 80 22 14 */ add r4, r0, r4 -/* 80368820 00365780 88 1F 00 00 */ lbz r0, 0(r31) -/* 80368824 00365784 7C 84 0E 70 */ srawi r4, r4, 1 -/* 80368828 00365788 90 A1 00 3C */ stw r5, 0x3c(r1) -/* 8036882C 0036578C 1C 84 00 0A */ mulli r4, r4, 0xa -/* 80368830 00365790 38 C1 00 10 */ addi r6, r1, 0x10 -/* 80368834 00365794 98 01 00 10 */ stb r0, 0x10(r1) -/* 80368838 00365798 7F 83 22 14 */ add r28, r3, r4 -/* 8036883C 0036579C 7F 84 E3 78 */ mr r4, r28 -/* 80368840 003657A0 48 00 05 15 */ bl sub_80368d54 -/* 80368844 003657A4 80 9D 00 00 */ lwz r4, 0(r29) -/* 80368848 003657A8 80 61 00 3C */ lwz r3, 0x3c(r1) -/* 8036884C 003657AC 38 84 00 0A */ addi r4, r4, 0xa -/* 80368850 003657B0 81 3C 00 00 */ lwz r9, 0(r28) -/* 80368854 003657B4 38 03 FF F6 */ addi r0, r3, -10 -/* 80368858 003657B8 90 81 00 38 */ stw r4, 0x38(r1) -/* 8036885C 003657BC 90 01 00 3C */ stw r0, 0x3c(r1) -/* 80368860 003657C0 48 00 00 10 */ b lbl_80368870 -lbl_80368864: -/* 80368864 003657C4 80 61 00 38 */ lwz r3, 0x38(r1) -/* 80368868 003657C8 38 03 00 0A */ addi r0, r3, 0xa -/* 8036886C 003657CC 90 01 00 38 */ stw r0, 0x38(r1) -lbl_80368870: -/* 80368870 003657D0 80 61 00 38 */ lwz r3, 0x38(r1) -/* 80368874 003657D4 80 03 00 00 */ lwz r0, 0(r3) -/* 80368878 003657D8 7C 00 48 40 */ cmplw r0, r9 -/* 8036887C 003657DC 41 80 FF E8 */ blt lbl_80368864 -/* 80368880 003657E0 48 00 00 10 */ b lbl_80368890 -lbl_80368884: -/* 80368884 003657E4 80 61 00 3C */ lwz r3, 0x3c(r1) -/* 80368888 003657E8 38 03 FF F6 */ addi r0, r3, -10 -/* 8036888C 003657EC 90 01 00 3C */ stw r0, 0x3c(r1) -lbl_80368890: -/* 80368890 003657F0 80 61 00 3C */ lwz r3, 0x3c(r1) -/* 80368894 003657F4 80 03 00 00 */ lwz r0, 0(r3) -/* 80368898 003657F8 7C 09 00 40 */ cmplw r9, r0 -/* 8036889C 003657FC 41 80 FF E8 */ blt lbl_80368884 -/* 803688A0 00365800 80 01 00 38 */ lwz r0, 0x38(r1) -/* 803688A4 00365804 7C 00 18 40 */ cmplw r0, r3 -/* 803688A8 00365808 40 80 00 60 */ bge lbl_80368908 -/* 803688AC 0036580C 80 E1 00 38 */ lwz r7, 0x38(r1) -/* 803688B0 00365810 81 01 00 3C */ lwz r8, 0x3c(r1) -/* 803688B4 00365814 80 C7 00 04 */ lwz r6, 4(r7) -/* 803688B8 00365818 38 67 00 0A */ addi r3, r7, 0xa -/* 803688BC 0036581C A0 A7 00 08 */ lhz r5, 8(r7) -/* 803688C0 00365820 38 08 FF F6 */ addi r0, r8, -10 -/* 803688C4 00365824 81 47 00 00 */ lwz r10, 0(r7) -/* 803688C8 00365828 80 88 00 00 */ lwz r4, 0(r8) -/* 803688CC 0036582C 91 01 00 28 */ stw r8, 0x28(r1) -/* 803688D0 00365830 90 87 00 00 */ stw r4, 0(r7) -/* 803688D4 00365834 80 88 00 04 */ lwz r4, 4(r8) -/* 803688D8 00365838 90 E1 00 2C */ stw r7, 0x2c(r1) -/* 803688DC 0036583C 90 87 00 04 */ stw r4, 4(r7) -/* 803688E0 00365840 A0 88 00 08 */ lhz r4, 8(r8) -/* 803688E4 00365844 90 C1 00 44 */ stw r6, 0x44(r1) -/* 803688E8 00365848 B0 87 00 08 */ sth r4, 8(r7) -/* 803688EC 0036584C 91 48 00 00 */ stw r10, 0(r8) -/* 803688F0 00365850 90 C8 00 04 */ stw r6, 4(r8) -/* 803688F4 00365854 B0 A1 00 48 */ sth r5, 0x48(r1) -/* 803688F8 00365858 B0 A8 00 08 */ sth r5, 8(r8) -/* 803688FC 0036585C 90 61 00 38 */ stw r3, 0x38(r1) -/* 80368900 00365860 90 01 00 3C */ stw r0, 0x3c(r1) -/* 80368904 00365864 4B FF FF 6C */ b lbl_80368870 -lbl_80368908: -/* 80368908 00365868 88 FF 00 00 */ lbz r7, 0(r31) -/* 8036890C 0036586C 38 61 00 24 */ addi r3, r1, 0x24 -/* 80368910 00365870 80 C1 00 38 */ lwz r6, 0x38(r1) -/* 80368914 00365874 38 81 00 20 */ addi r4, r1, 0x20 -/* 80368918 00365878 80 1D 00 00 */ lwz r0, 0(r29) -/* 8036891C 0036587C 38 A1 00 0C */ addi r5, r1, 0xc -/* 80368920 00365880 98 E1 00 0C */ stb r7, 0xc(r1) -/* 80368924 00365884 90 C1 00 20 */ stw r6, 0x20(r1) -/* 80368928 00365888 90 01 00 24 */ stw r0, 0x24(r1) -/* 8036892C 0036588C 4B FF FE 61 */ bl sub_8036878c -/* 80368930 00365890 88 FF 00 00 */ lbz r7, 0(r31) -/* 80368934 00365894 38 61 00 1C */ addi r3, r1, 0x1c -/* 80368938 00365898 80 DE 00 00 */ lwz r6, 0(r30) -/* 8036893C 0036589C 38 81 00 18 */ addi r4, r1, 0x18 -/* 80368940 003658A0 80 01 00 38 */ lwz r0, 0x38(r1) -/* 80368944 003658A4 38 A1 00 08 */ addi r5, r1, 8 -/* 80368948 003658A8 98 E1 00 08 */ stb r7, 8(r1) -/* 8036894C 003658AC 90 C1 00 18 */ stw r6, 0x18(r1) -/* 80368950 003658B0 90 01 00 1C */ stw r0, 0x1c(r1) -/* 80368954 003658B4 4B FF FE 39 */ bl sub_8036878c -lbl_80368958: -/* 80368958 003658B8 80 01 00 64 */ lwz r0, 0x64(r1) -/* 8036895C 003658BC 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 80368960 003658C0 83 C1 00 58 */ lwz r30, 0x58(r1) -/* 80368964 003658C4 83 A1 00 54 */ lwz r29, 0x54(r1) -/* 80368968 003658C8 83 81 00 50 */ lwz r28, 0x50(r1) -/* 8036896C 003658CC 7C 08 03 A6 */ mtlr r0 -/* 80368970 003658D0 38 21 00 60 */ addi r1, r1, 0x60 -/* 80368974 003658D4 4E 80 00 20 */ blr - -.global sub_80368978 -sub_80368978: -/* 80368978 003658D8 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8036897C 003658DC 7C 08 02 A6 */ mflr r0 -/* 80368980 003658E0 90 01 00 34 */ stw r0, 0x34(r1) -/* 80368984 003658E4 BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 80368988 003658E8 7C 9F 23 78 */ mr r31, r4 -/* 8036898C 003658EC 7C 7E 1B 78 */ mr r30, r3 -/* 80368990 003658F0 7C DB 33 78 */ mr r27, r6 -/* 80368994 003658F4 38 61 00 0C */ addi r3, r1, 0xc -/* 80368998 003658F8 80 85 00 00 */ lwz r4, 0(r5) -/* 8036899C 003658FC 80 1F 00 00 */ lwz r0, 0(r31) -/* 803689A0 00365900 90 81 00 08 */ stw r4, 8(r1) -/* 803689A4 00365904 38 81 00 08 */ addi r4, r1, 8 -/* 803689A8 00365908 90 01 00 0C */ stw r0, 0xc(r1) -/* 803689AC 0036590C 48 00 02 D1 */ bl sub_80368c7c -/* 803689B0 00365910 80 1F 00 00 */ lwz r0, 0(r31) -/* 803689B4 00365914 7C 7D 1B 78 */ mr r29, r3 -/* 803689B8 00365918 90 01 00 10 */ stw r0, 0x10(r1) -/* 803689BC 0036591C 48 00 00 58 */ b lbl_80368A14 -lbl_803689C0: -/* 803689C0 00365920 57 A3 0F FE */ srwi r3, r29, 0x1f -/* 803689C4 00365924 80 1F 00 00 */ lwz r0, 0(r31) -/* 803689C8 00365928 7C 83 EA 14 */ add r4, r3, r29 -/* 803689CC 0036592C 38 61 00 10 */ addi r3, r1, 0x10 -/* 803689D0 00365930 7C 9C 0E 70 */ srawi r28, r4, 1 -/* 803689D4 00365934 90 01 00 10 */ stw r0, 0x10(r1) -/* 803689D8 00365938 7F 84 E3 78 */ mr r4, r28 -/* 803689DC 0036593C 48 00 02 21 */ bl sub_80368bfc -/* 803689E0 00365940 80 81 00 10 */ lwz r4, 0x10(r1) -/* 803689E4 00365944 80 1B 00 00 */ lwz r0, 0(r27) -/* 803689E8 00365948 80 64 00 00 */ lwz r3, 0(r4) -/* 803689EC 0036594C 7C 03 00 40 */ cmplw r3, r0 -/* 803689F0 00365950 40 80 00 20 */ bge lbl_80368A10 -/* 803689F4 00365954 90 9F 00 00 */ stw r4, 0(r31) -/* 803689F8 00365958 7C 7C E8 50 */ subf r3, r28, r29 -/* 803689FC 0036595C 3B A3 FF FF */ addi r29, r3, -1 -/* 80368A00 00365960 80 7F 00 00 */ lwz r3, 0(r31) -/* 80368A04 00365964 38 03 00 0A */ addi r0, r3, 0xa -/* 80368A08 00365968 90 1F 00 00 */ stw r0, 0(r31) -/* 80368A0C 0036596C 48 00 00 08 */ b lbl_80368A14 -lbl_80368A10: -/* 80368A10 00365970 7F 9D E3 78 */ mr r29, r28 -lbl_80368A14: -/* 80368A14 00365974 2C 1D 00 00 */ cmpwi r29, 0 -/* 80368A18 00365978 41 81 FF A8 */ bgt lbl_803689C0 -/* 80368A1C 0036597C 80 1F 00 00 */ lwz r0, 0(r31) -/* 80368A20 00365980 90 1E 00 00 */ stw r0, 0(r30) -/* 80368A24 00365984 BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 80368A28 00365988 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80368A2C 0036598C 7C 08 03 A6 */ mtlr r0 -/* 80368A30 00365990 38 21 00 30 */ addi r1, r1, 0x30 -/* 80368A34 00365994 4E 80 00 20 */ blr - -.global sub_80368a38 -sub_80368a38: -/* 80368A38 00365998 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80368A3C 0036599C 7C 08 02 A6 */ mflr r0 -/* 80368A40 003659A0 90 01 00 34 */ stw r0, 0x34(r1) -/* 80368A44 003659A4 BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 80368A48 003659A8 7C 9F 23 78 */ mr r31, r4 -/* 80368A4C 003659AC 7C 7E 1B 78 */ mr r30, r3 -/* 80368A50 003659B0 7C DB 33 78 */ mr r27, r6 -/* 80368A54 003659B4 38 61 00 0C */ addi r3, r1, 0xc -/* 80368A58 003659B8 80 85 00 00 */ lwz r4, 0(r5) -/* 80368A5C 003659BC 80 1F 00 00 */ lwz r0, 0(r31) -/* 80368A60 003659C0 90 81 00 08 */ stw r4, 8(r1) -/* 80368A64 003659C4 38 81 00 08 */ addi r4, r1, 8 -/* 80368A68 003659C8 90 01 00 0C */ stw r0, 0xc(r1) -/* 80368A6C 003659CC 48 00 02 55 */ bl sub_80368cc0 -/* 80368A70 003659D0 80 1F 00 00 */ lwz r0, 0(r31) -/* 80368A74 003659D4 7C 7D 1B 78 */ mr r29, r3 -/* 80368A78 003659D8 90 01 00 10 */ stw r0, 0x10(r1) -/* 80368A7C 003659DC 48 00 00 58 */ b lbl_80368AD4 -lbl_80368A80: -/* 80368A80 003659E0 57 A3 0F FE */ srwi r3, r29, 0x1f -/* 80368A84 003659E4 80 1F 00 00 */ lwz r0, 0(r31) -/* 80368A88 003659E8 7C 83 EA 14 */ add r4, r3, r29 -/* 80368A8C 003659EC 38 61 00 10 */ addi r3, r1, 0x10 -/* 80368A90 003659F0 7C 9C 0E 70 */ srawi r28, r4, 1 -/* 80368A94 003659F4 90 01 00 10 */ stw r0, 0x10(r1) -/* 80368A98 003659F8 7F 84 E3 78 */ mr r4, r28 -/* 80368A9C 003659FC 48 00 01 8D */ bl sub_80368c28 -/* 80368AA0 00365A00 80 81 00 10 */ lwz r4, 0x10(r1) -/* 80368AA4 00365A04 80 1B 00 00 */ lwz r0, 0(r27) -/* 80368AA8 00365A08 80 64 00 00 */ lwz r3, 0(r4) -/* 80368AAC 00365A0C 7C 03 00 40 */ cmplw r3, r0 -/* 80368AB0 00365A10 40 80 00 20 */ bge lbl_80368AD0 -/* 80368AB4 00365A14 90 9F 00 00 */ stw r4, 0(r31) -/* 80368AB8 00365A18 7C 7C E8 50 */ subf r3, r28, r29 -/* 80368ABC 00365A1C 3B A3 FF FF */ addi r29, r3, -1 -/* 80368AC0 00365A20 80 7F 00 00 */ lwz r3, 0(r31) -/* 80368AC4 00365A24 38 03 00 0A */ addi r0, r3, 0xa -/* 80368AC8 00365A28 90 1F 00 00 */ stw r0, 0(r31) -/* 80368ACC 00365A2C 48 00 00 08 */ b lbl_80368AD4 -lbl_80368AD0: -/* 80368AD0 00365A30 7F 9D E3 78 */ mr r29, r28 -lbl_80368AD4: -/* 80368AD4 00365A34 2C 1D 00 00 */ cmpwi r29, 0 -/* 80368AD8 00365A38 41 81 FF A8 */ bgt lbl_80368A80 -/* 80368ADC 00365A3C 80 1F 00 00 */ lwz r0, 0(r31) -/* 80368AE0 00365A40 90 1E 00 00 */ stw r0, 0(r30) -/* 80368AE4 00365A44 BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 80368AE8 00365A48 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80368AEC 00365A4C 7C 08 03 A6 */ mtlr r0 -/* 80368AF0 00365A50 38 21 00 30 */ addi r1, r1, 0x30 -/* 80368AF4 00365A54 4E 80 00 20 */ blr - -.global sub_80368af8 -sub_80368af8: -/* 80368AF8 00365A58 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80368AFC 00365A5C 7C 08 02 A6 */ mflr r0 -/* 80368B00 00365A60 90 01 00 34 */ stw r0, 0x34(r1) -/* 80368B04 00365A64 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80368B08 00365A68 7C 9F 23 78 */ mr r31, r4 -/* 80368B0C 00365A6C 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80368B10 00365A70 7C 7E 1B 78 */ mr r30, r3 -/* 80368B14 00365A74 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80368B18 00365A78 80 03 00 08 */ lwz r0, 8(r3) -/* 80368B1C 00365A7C 7C 1F 00 00 */ cmpw r31, r0 -/* 80368B20 00365A80 40 81 00 C0 */ ble lbl_80368BE0 -/* 80368B24 00365A84 1C 7F 00 0A */ mulli r3, r31, 0xa -/* 80368B28 00365A88 2C 03 00 00 */ cmpwi r3, 0 -/* 80368B2C 00365A8C 40 82 00 0C */ bne lbl_80368B38 -/* 80368B30 00365A90 3B A0 00 00 */ li r29, 0 -/* 80368B34 00365A94 48 00 00 1C */ b lbl_80368B50 -lbl_80368B38: -/* 80368B38 00365A98 3C 80 80 3E */ lis r4, lbl_803D84E0@ha -/* 80368B3C 00365A9C 38 A0 00 00 */ li r5, 0 -/* 80368B40 00365AA0 38 84 84 E0 */ addi r4, r4, lbl_803D84E0@l -/* 80368B44 00365AA4 38 84 00 4C */ addi r4, r4, 0x4c -/* 80368B48 00365AA8 4B FA CC D1 */ bl __nwa__FUlPCcPCc -/* 80368B4C 00365AAC 7C 7D 1B 78 */ mr r29, r3 -lbl_80368B50: -/* 80368B50 00365AB0 80 1E 00 04 */ lwz r0, 4(r30) -/* 80368B54 00365AB4 7F A4 EB 78 */ mr r4, r29 -/* 80368B58 00365AB8 80 BE 00 0C */ lwz r5, 0xc(r30) -/* 80368B5C 00365ABC 1C 00 00 0A */ mulli r0, r0, 0xa -/* 80368B60 00365AC0 90 A1 00 10 */ stw r5, 0x10(r1) -/* 80368B64 00365AC4 7C 65 02 14 */ add r3, r5, r0 -/* 80368B68 00365AC8 90 A1 00 14 */ stw r5, 0x14(r1) -/* 80368B6C 00365ACC 90 61 00 08 */ stw r3, 8(r1) -/* 80368B70 00365AD0 90 61 00 0C */ stw r3, 0xc(r1) -/* 80368B74 00365AD4 48 00 00 2C */ b lbl_80368BA0 -lbl_80368B78: -/* 80368B78 00365AD8 28 04 00 00 */ cmplwi r4, 0 -/* 80368B7C 00365ADC 41 82 00 1C */ beq lbl_80368B98 -/* 80368B80 00365AE0 80 05 00 00 */ lwz r0, 0(r5) -/* 80368B84 00365AE4 90 04 00 00 */ stw r0, 0(r4) -/* 80368B88 00365AE8 80 05 00 04 */ lwz r0, 4(r5) -/* 80368B8C 00365AEC 90 04 00 04 */ stw r0, 4(r4) -/* 80368B90 00365AF0 A0 05 00 08 */ lhz r0, 8(r5) -/* 80368B94 00365AF4 B0 04 00 08 */ sth r0, 8(r4) -lbl_80368B98: -/* 80368B98 00365AF8 38 84 00 0A */ addi r4, r4, 0xa -/* 80368B9C 00365AFC 38 A5 00 0A */ addi r5, r5, 0xa -lbl_80368BA0: -/* 80368BA0 00365B00 7C 05 18 40 */ cmplw r5, r3 -/* 80368BA4 00365B04 40 82 FF D4 */ bne lbl_80368B78 -/* 80368BA8 00365B08 80 1E 00 04 */ lwz r0, 4(r30) -/* 80368BAC 00365B0C 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 80368BB0 00365B10 1C 00 00 0A */ mulli r0, r0, 0xa -/* 80368BB4 00365B14 7C 64 1B 78 */ mr r4, r3 -/* 80368BB8 00365B18 7C 03 02 14 */ add r0, r3, r0 -/* 80368BBC 00365B1C 48 00 00 08 */ b lbl_80368BC4 -lbl_80368BC0: -/* 80368BC0 00365B20 38 84 00 0A */ addi r4, r4, 0xa -lbl_80368BC4: -/* 80368BC4 00365B24 7C 04 00 40 */ cmplw r4, r0 -/* 80368BC8 00365B28 40 82 FF F8 */ bne lbl_80368BC0 -/* 80368BCC 00365B2C 28 03 00 00 */ cmplwi r3, 0 -/* 80368BD0 00365B30 41 82 00 08 */ beq lbl_80368BD8 -/* 80368BD4 00365B34 4B FA CD 5D */ bl Free__7CMemoryFPCv -lbl_80368BD8: -/* 80368BD8 00365B38 93 BE 00 0C */ stw r29, 0xc(r30) -/* 80368BDC 00365B3C 93 FE 00 08 */ stw r31, 8(r30) -lbl_80368BE0: -/* 80368BE0 00365B40 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80368BE4 00365B44 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80368BE8 00365B48 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80368BEC 00365B4C 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80368BF0 00365B50 7C 08 03 A6 */ mtlr r0 -/* 80368BF4 00365B54 38 21 00 30 */ addi r1, r1, 0x30 -/* 80368BF8 00365B58 4E 80 00 20 */ blr - -.global sub_80368bfc -sub_80368bfc: -/* 80368BFC 00365B5C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80368C00 00365B60 7C 08 02 A6 */ mflr r0 -/* 80368C04 00365B64 90 01 00 14 */ stw r0, 0x14(r1) -/* 80368C08 00365B68 38 A1 00 0C */ addi r5, r1, 0xc -/* 80368C0C 00365B6C 88 01 00 08 */ lbz r0, 8(r1) -/* 80368C10 00365B70 98 01 00 0C */ stb r0, 0xc(r1) -/* 80368C14 00365B74 48 00 00 55 */ bl sub_80368c68 -/* 80368C18 00365B78 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80368C1C 00365B7C 7C 08 03 A6 */ mtlr r0 -/* 80368C20 00365B80 38 21 00 10 */ addi r1, r1, 0x10 -/* 80368C24 00365B84 4E 80 00 20 */ blr - -.global sub_80368c28 -sub_80368c28: -/* 80368C28 00365B88 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80368C2C 00365B8C 7C 08 02 A6 */ mflr r0 -/* 80368C30 00365B90 90 01 00 14 */ stw r0, 0x14(r1) -/* 80368C34 00365B94 38 A1 00 0C */ addi r5, r1, 0xc -/* 80368C38 00365B98 88 01 00 08 */ lbz r0, 8(r1) -/* 80368C3C 00365B9C 98 01 00 0C */ stb r0, 0xc(r1) -/* 80368C40 00365BA0 48 00 00 15 */ bl sub_80368c54 -/* 80368C44 00365BA4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80368C48 00365BA8 7C 08 03 A6 */ mtlr r0 -/* 80368C4C 00365BAC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80368C50 00365BB0 4E 80 00 20 */ blr - -.global sub_80368c54 -sub_80368c54: -/* 80368C54 00365BB4 1C 04 00 0A */ mulli r0, r4, 0xa -/* 80368C58 00365BB8 80 83 00 00 */ lwz r4, 0(r3) -/* 80368C5C 00365BBC 7C 04 02 14 */ add r0, r4, r0 -/* 80368C60 00365BC0 90 03 00 00 */ stw r0, 0(r3) -/* 80368C64 00365BC4 4E 80 00 20 */ blr - -.global sub_80368c68 -sub_80368c68: -/* 80368C68 00365BC8 1C 04 00 0A */ mulli r0, r4, 0xa -/* 80368C6C 00365BCC 80 83 00 00 */ lwz r4, 0(r3) -/* 80368C70 00365BD0 7C 04 02 14 */ add r0, r4, r0 -/* 80368C74 00365BD4 90 03 00 00 */ stw r0, 0(r3) -/* 80368C78 00365BD8 4E 80 00 20 */ blr - -.global sub_80368c7c -sub_80368c7c: -/* 80368C7C 00365BDC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80368C80 00365BE0 7C 08 02 A6 */ mflr r0 -/* 80368C84 00365BE4 90 01 00 24 */ stw r0, 0x24(r1) -/* 80368C88 00365BE8 38 A1 00 0C */ addi r5, r1, 0xc -/* 80368C8C 00365BEC 88 E1 00 08 */ lbz r7, 8(r1) -/* 80368C90 00365BF0 80 C4 00 00 */ lwz r6, 0(r4) -/* 80368C94 00365BF4 38 81 00 10 */ addi r4, r1, 0x10 -/* 80368C98 00365BF8 80 03 00 00 */ lwz r0, 0(r3) -/* 80368C9C 00365BFC 38 61 00 14 */ addi r3, r1, 0x14 -/* 80368CA0 00365C00 90 C1 00 10 */ stw r6, 0x10(r1) -/* 80368CA4 00365C04 98 E1 00 0C */ stb r7, 0xc(r1) -/* 80368CA8 00365C08 90 01 00 14 */ stw r0, 0x14(r1) -/* 80368CAC 00365C0C 48 00 00 81 */ bl sub_80368d2c -/* 80368CB0 00365C10 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80368CB4 00365C14 7C 08 03 A6 */ mtlr r0 -/* 80368CB8 00365C18 38 21 00 20 */ addi r1, r1, 0x20 -/* 80368CBC 00365C1C 4E 80 00 20 */ blr - -.global sub_80368cc0 -sub_80368cc0: -/* 80368CC0 00365C20 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80368CC4 00365C24 7C 08 02 A6 */ mflr r0 -/* 80368CC8 00365C28 90 01 00 24 */ stw r0, 0x24(r1) -/* 80368CCC 00365C2C 38 A1 00 0C */ addi r5, r1, 0xc -/* 80368CD0 00365C30 88 E1 00 08 */ lbz r7, 8(r1) -/* 80368CD4 00365C34 80 C4 00 00 */ lwz r6, 0(r4) -/* 80368CD8 00365C38 38 81 00 10 */ addi r4, r1, 0x10 -/* 80368CDC 00365C3C 80 03 00 00 */ lwz r0, 0(r3) -/* 80368CE0 00365C40 38 61 00 14 */ addi r3, r1, 0x14 -/* 80368CE4 00365C44 90 C1 00 10 */ stw r6, 0x10(r1) -/* 80368CE8 00365C48 98 E1 00 0C */ stb r7, 0xc(r1) -/* 80368CEC 00365C4C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80368CF0 00365C50 48 00 00 15 */ bl sub_80368d04 -/* 80368CF4 00365C54 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80368CF8 00365C58 7C 08 03 A6 */ mtlr r0 -/* 80368CFC 00365C5C 38 21 00 20 */ addi r1, r1, 0x20 -/* 80368D00 00365C60 4E 80 00 20 */ blr - -.global sub_80368d04 -sub_80368d04: -/* 80368D04 00365C64 80 A3 00 00 */ lwz r5, 0(r3) -/* 80368D08 00365C68 3C 60 66 66 */ lis r3, 0x66666667@ha -/* 80368D0C 00365C6C 80 04 00 00 */ lwz r0, 0(r4) -/* 80368D10 00365C70 38 63 66 67 */ addi r3, r3, 0x66666667@l -/* 80368D14 00365C74 7C 05 00 50 */ subf r0, r5, r0 -/* 80368D18 00365C78 7C 03 00 96 */ mulhw r0, r3, r0 -/* 80368D1C 00365C7C 7C 00 16 70 */ srawi r0, r0, 2 -/* 80368D20 00365C80 54 03 0F FE */ srwi r3, r0, 0x1f -/* 80368D24 00365C84 7C 60 1A 14 */ add r3, r0, r3 -/* 80368D28 00365C88 4E 80 00 20 */ blr - -.global sub_80368d2c -sub_80368d2c: -/* 80368D2C 00365C8C 80 A3 00 00 */ lwz r5, 0(r3) -/* 80368D30 00365C90 3C 60 66 66 */ lis r3, 0x66666667@ha -/* 80368D34 00365C94 80 04 00 00 */ lwz r0, 0(r4) -/* 80368D38 00365C98 38 63 66 67 */ addi r3, r3, 0x66666667@l -/* 80368D3C 00365C9C 7C 05 00 50 */ subf r0, r5, r0 -/* 80368D40 00365CA0 7C 03 00 96 */ mulhw r0, r3, r0 -/* 80368D44 00365CA4 7C 00 16 70 */ srawi r0, r0, 2 -/* 80368D48 00365CA8 54 03 0F FE */ srwi r3, r0, 0x1f -/* 80368D4C 00365CAC 7C 60 1A 14 */ add r3, r0, r3 -/* 80368D50 00365CB0 4E 80 00 20 */ blr - -.global sub_80368d54 -sub_80368d54: -/* 80368D54 00365CB4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80368D58 00365CB8 80 04 00 00 */ lwz r0, 0(r4) -/* 80368D5C 00365CBC 81 03 00 00 */ lwz r8, 0(r3) -/* 80368D60 00365CC0 7C 00 40 40 */ cmplw r0, r8 -/* 80368D64 00365CC4 40 80 00 34 */ bge lbl_80368D98 -/* 80368D68 00365CC8 80 E3 00 04 */ lwz r7, 4(r3) -/* 80368D6C 00365CCC A0 C3 00 08 */ lhz r6, 8(r3) -/* 80368D70 00365CD0 90 E1 00 0C */ stw r7, 0xc(r1) -/* 80368D74 00365CD4 90 03 00 00 */ stw r0, 0(r3) -/* 80368D78 00365CD8 80 04 00 04 */ lwz r0, 4(r4) -/* 80368D7C 00365CDC B0 C1 00 10 */ sth r6, 0x10(r1) -/* 80368D80 00365CE0 90 03 00 04 */ stw r0, 4(r3) -/* 80368D84 00365CE4 A0 04 00 08 */ lhz r0, 8(r4) -/* 80368D88 00365CE8 B0 03 00 08 */ sth r0, 8(r3) -/* 80368D8C 00365CEC 91 04 00 00 */ stw r8, 0(r4) -/* 80368D90 00365CF0 90 E4 00 04 */ stw r7, 4(r4) -/* 80368D94 00365CF4 B0 C4 00 08 */ sth r6, 8(r4) -lbl_80368D98: -/* 80368D98 00365CF8 81 05 00 00 */ lwz r8, 0(r5) -/* 80368D9C 00365CFC 80 04 00 00 */ lwz r0, 0(r4) -/* 80368DA0 00365D00 7C 08 00 40 */ cmplw r8, r0 -/* 80368DA4 00365D04 40 80 00 64 */ bge lbl_80368E08 -/* 80368DA8 00365D08 80 E5 00 04 */ lwz r7, 4(r5) -/* 80368DAC 00365D0C A0 C5 00 08 */ lhz r6, 8(r5) -/* 80368DB0 00365D10 90 E1 00 18 */ stw r7, 0x18(r1) -/* 80368DB4 00365D14 90 05 00 00 */ stw r0, 0(r5) -/* 80368DB8 00365D18 80 04 00 04 */ lwz r0, 4(r4) -/* 80368DBC 00365D1C B0 C1 00 1C */ sth r6, 0x1c(r1) -/* 80368DC0 00365D20 90 05 00 04 */ stw r0, 4(r5) -/* 80368DC4 00365D24 A0 04 00 08 */ lhz r0, 8(r4) -/* 80368DC8 00365D28 B0 05 00 08 */ sth r0, 8(r5) -/* 80368DCC 00365D2C 80 03 00 00 */ lwz r0, 0(r3) -/* 80368DD0 00365D30 7C 08 00 40 */ cmplw r8, r0 -/* 80368DD4 00365D34 40 80 00 28 */ bge lbl_80368DFC -/* 80368DD8 00365D38 90 04 00 00 */ stw r0, 0(r4) -/* 80368DDC 00365D3C 80 03 00 04 */ lwz r0, 4(r3) -/* 80368DE0 00365D40 90 04 00 04 */ stw r0, 4(r4) -/* 80368DE4 00365D44 A0 03 00 08 */ lhz r0, 8(r3) -/* 80368DE8 00365D48 B0 04 00 08 */ sth r0, 8(r4) -/* 80368DEC 00365D4C 91 03 00 00 */ stw r8, 0(r3) -/* 80368DF0 00365D50 90 E3 00 04 */ stw r7, 4(r3) -/* 80368DF4 00365D54 B0 C3 00 08 */ sth r6, 8(r3) -/* 80368DF8 00365D58 48 00 00 10 */ b lbl_80368E08 -lbl_80368DFC: -/* 80368DFC 00365D5C 91 04 00 00 */ stw r8, 0(r4) -/* 80368E00 00365D60 90 E4 00 04 */ stw r7, 4(r4) -/* 80368E04 00365D64 B0 C4 00 08 */ sth r6, 8(r4) -lbl_80368E08: -/* 80368E08 00365D68 38 21 00 20 */ addi r1, r1, 0x20 -/* 80368E0C 00365D6C 4E 80 00 20 */ blr - -.global sub_80368e10 -sub_80368e10: -/* 80368E10 00365D70 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80368E14 00365D74 80 C3 00 00 */ lwz r6, 0(r3) -/* 80368E18 00365D78 38 C6 00 0A */ addi r6, r6, 0xa -/* 80368E1C 00365D7C 48 00 00 74 */ b lbl_80368E90 -lbl_80368E20: -/* 80368E20 00365D80 80 A6 00 04 */ lwz r5, 4(r6) -/* 80368E24 00365D84 7C C8 33 78 */ mr r8, r6 -/* 80368E28 00365D88 A0 06 00 08 */ lhz r0, 8(r6) -/* 80368E2C 00365D8C 38 E6 FF F6 */ addi r7, r6, -10 -/* 80368E30 00365D90 90 A1 00 0C */ stw r5, 0xc(r1) -/* 80368E34 00365D94 80 A6 00 00 */ lwz r5, 0(r6) -/* 80368E38 00365D98 B0 01 00 10 */ sth r0, 0x10(r1) -/* 80368E3C 00365D9C 48 00 00 24 */ b lbl_80368E60 -lbl_80368E40: -/* 80368E40 00365DA0 80 07 00 00 */ lwz r0, 0(r7) -/* 80368E44 00365DA4 90 08 00 00 */ stw r0, 0(r8) -/* 80368E48 00365DA8 80 07 00 04 */ lwz r0, 4(r7) -/* 80368E4C 00365DAC 90 08 00 04 */ stw r0, 4(r8) -/* 80368E50 00365DB0 A0 07 00 08 */ lhz r0, 8(r7) -/* 80368E54 00365DB4 38 E7 FF F6 */ addi r7, r7, -10 -/* 80368E58 00365DB8 B0 08 00 08 */ sth r0, 8(r8) -/* 80368E5C 00365DBC 39 08 FF F6 */ addi r8, r8, -10 -lbl_80368E60: -/* 80368E60 00365DC0 80 03 00 00 */ lwz r0, 0(r3) -/* 80368E64 00365DC4 7C 00 40 40 */ cmplw r0, r8 -/* 80368E68 00365DC8 40 80 00 10 */ bge lbl_80368E78 -/* 80368E6C 00365DCC 80 07 00 00 */ lwz r0, 0(r7) -/* 80368E70 00365DD0 7C 05 00 40 */ cmplw r5, r0 -/* 80368E74 00365DD4 41 80 FF CC */ blt lbl_80368E40 -lbl_80368E78: -/* 80368E78 00365DD8 90 A8 00 00 */ stw r5, 0(r8) -/* 80368E7C 00365DDC 38 C6 00 0A */ addi r6, r6, 0xa -/* 80368E80 00365DE0 80 A1 00 0C */ lwz r5, 0xc(r1) -/* 80368E84 00365DE4 A0 01 00 10 */ lhz r0, 0x10(r1) -/* 80368E88 00365DE8 90 A8 00 04 */ stw r5, 4(r8) -/* 80368E8C 00365DEC B0 08 00 08 */ sth r0, 8(r8) -lbl_80368E90: -/* 80368E90 00365DF0 80 04 00 00 */ lwz r0, 0(r4) -/* 80368E94 00365DF4 7C 06 00 40 */ cmplw r6, r0 -/* 80368E98 00365DF8 41 80 FF 88 */ blt lbl_80368E20 -/* 80368E9C 00365DFC 38 21 00 20 */ addi r1, r1, 0x20 -/* 80368EA0 00365E00 4E 80 00 20 */ blr - -.global Clear__17CPoseAsTransformsFv -Clear__17CPoseAsTransformsFv: -/* 80368EA4 00365E04 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80368EA8 00365E08 7C 08 02 A6 */ mflr r0 -/* 80368EAC 00365E0C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80368EB0 00365E10 48 00 03 5D */ bl "Clear__58TSegIdMapVariableSizeFv" -/* 80368EB4 00365E14 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80368EB8 00365E18 7C 08 03 A6 */ mtlr r0 -/* 80368EBC 00365E1C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80368EC0 00365E20 4E 80 00 20 */ blr - -.global ContainsDataFor__17CPoseAsTransformsCFRC6CSegId -ContainsDataFor__17CPoseAsTransformsCFRC6CSegId: -/* 80368EC4 00365E24 88 A4 00 00 */ lbz r5, 0(r4) -/* 80368EC8 00365E28 38 80 00 00 */ li r4, 0 -/* 80368ECC 00365E2C 88 0D 9E 9A */ lbz r0, lbl_805A8A5A@sda21(r13) -/* 80368ED0 00365E30 54 A5 08 3C */ slwi r5, r5, 1 -/* 80368ED4 00365E34 88 CD 9E 9B */ lbz r6, lbl_805A8A5B@sda21(r13) -/* 80368ED8 00365E38 7C A3 2A 14 */ add r5, r3, r5 -/* 80368EDC 00365E3C 7C 00 07 74 */ extsb r0, r0 -/* 80368EE0 00365E40 88 65 00 08 */ lbz r3, 8(r5) -/* 80368EE4 00365E44 7C C6 07 74 */ extsb r6, r6 -/* 80368EE8 00365E48 7C 63 07 74 */ extsb r3, r3 -/* 80368EEC 00365E4C 7C 03 00 00 */ cmpw r3, r0 -/* 80368EF0 00365E50 40 82 00 14 */ bne lbl_80368F04 -/* 80368EF4 00365E54 88 05 00 09 */ lbz r0, 9(r5) -/* 80368EF8 00365E58 7C 00 07 74 */ extsb r0, r0 -/* 80368EFC 00365E5C 7C 00 30 00 */ cmpw r0, r6 -/* 80368F00 00365E60 41 82 00 08 */ beq lbl_80368F08 -lbl_80368F04: -/* 80368F04 00365E64 38 80 00 01 */ li r4, 1 -lbl_80368F08: -/* 80368F08 00365E68 7C 83 23 78 */ mr r3, r4 -/* 80368F0C 00365E6C 4E 80 00 20 */ blr - -.global AccumulateScaledTransform__17CPoseAsTransformsCFRC6CSegIdR9CMatrix3ff -AccumulateScaledTransform__17CPoseAsTransformsCFRC6CSegIdR9CMatrix3ff: -/* 80368F10 00365E70 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80368F14 00365E74 7C 08 02 A6 */ mflr r0 -/* 80368F18 00365E78 90 01 00 24 */ stw r0, 0x24(r1) -/* 80368F1C 00365E7C DB E1 00 18 */ stfd f31, 0x18(r1) -/* 80368F20 00365E80 FF E0 08 90 */ fmr f31, f1 -/* 80368F24 00365E84 93 E1 00 14 */ stw r31, 0x14(r1) -/* 80368F28 00365E88 7C BF 2B 78 */ mr r31, r5 -/* 80368F2C 00365E8C 48 00 00 71 */ bl GetRotation__17CPoseAsTransformsCFRC6CSegId -/* 80368F30 00365E90 FC 20 F8 90 */ fmr f1, f31 -/* 80368F34 00365E94 7C 64 1B 78 */ mr r4, r3 -/* 80368F38 00365E98 7F E3 FB 78 */ mr r3, r31 -/* 80368F3C 00365E9C 4B FA 71 15 */ bl AddScaledMatrix__9CMatrix3fFRC9CMatrix3ff -/* 80368F40 00365EA0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80368F44 00365EA4 CB E1 00 18 */ lfd f31, 0x18(r1) -/* 80368F48 00365EA8 83 E1 00 14 */ lwz r31, 0x14(r1) -/* 80368F4C 00365EAC 7C 08 03 A6 */ mtlr r0 -/* 80368F50 00365EB0 38 21 00 20 */ addi r1, r1, 0x20 -/* 80368F54 00365EB4 4E 80 00 20 */ blr - -.global GetOffset__17CPoseAsTransformsCFRC6CSegId -GetOffset__17CPoseAsTransformsCFRC6CSegId: -/* 80368F58 00365EB8 88 04 00 00 */ lbz r0, 0(r4) -/* 80368F5C 00365EBC 80 83 00 D0 */ lwz r4, 0xd0(r3) -/* 80368F60 00365EC0 54 00 08 3C */ slwi r0, r0, 1 -/* 80368F64 00365EC4 7C 63 02 14 */ add r3, r3, r0 -/* 80368F68 00365EC8 88 03 00 09 */ lbz r0, 9(r3) -/* 80368F6C 00365ECC 1C 60 00 30 */ mulli r3, r0, 0x30 -/* 80368F70 00365ED0 38 63 00 24 */ addi r3, r3, 0x24 -/* 80368F74 00365ED4 7C 64 1A 14 */ add r3, r4, r3 -/* 80368F78 00365ED8 4E 80 00 20 */ blr - -.global GetTransformMinusOffset__17CPoseAsTransformsCFRC6CSegId -GetTransformMinusOffset__17CPoseAsTransformsCFRC6CSegId: -/* 80368F7C 00365EDC 88 04 00 00 */ lbz r0, 0(r4) -/* 80368F80 00365EE0 80 83 00 D0 */ lwz r4, 0xd0(r3) -/* 80368F84 00365EE4 54 00 08 3C */ slwi r0, r0, 1 -/* 80368F88 00365EE8 7C 63 02 14 */ add r3, r3, r0 -/* 80368F8C 00365EEC 88 03 00 09 */ lbz r0, 9(r3) -/* 80368F90 00365EF0 1C 00 00 30 */ mulli r0, r0, 0x30 -/* 80368F94 00365EF4 7C 64 02 14 */ add r3, r4, r0 -/* 80368F98 00365EF8 4E 80 00 20 */ blr - -.global GetRotation__17CPoseAsTransformsCFRC6CSegId -GetRotation__17CPoseAsTransformsCFRC6CSegId: -/* 80368F9C 00365EFC 88 04 00 00 */ lbz r0, 0(r4) -/* 80368FA0 00365F00 80 83 00 D0 */ lwz r4, 0xd0(r3) -/* 80368FA4 00365F04 54 00 08 3C */ slwi r0, r0, 1 -/* 80368FA8 00365F08 7C 63 02 14 */ add r3, r3, r0 -/* 80368FAC 00365F0C 88 03 00 09 */ lbz r0, 9(r3) -/* 80368FB0 00365F10 1C 00 00 30 */ mulli r0, r0, 0x30 -/* 80368FB4 00365F14 7C 64 02 14 */ add r3, r4, r0 -/* 80368FB8 00365F18 4E 80 00 20 */ blr - -.global Insert__17CPoseAsTransformsFRC6CSegIdRC9CMatrix3fRC9CVector3f -Insert__17CPoseAsTransformsFRC6CSegIdRC9CMatrix3fRC9CVector3f: -/* 80368FBC 00365F1C 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 80368FC0 00365F20 7C 08 02 A6 */ mflr r0 -/* 80368FC4 00365F24 90 01 00 54 */ stw r0, 0x54(r1) -/* 80368FC8 00365F28 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 80368FCC 00365F2C 7C DF 33 78 */ mr r31, r6 -/* 80368FD0 00365F30 93 C1 00 48 */ stw r30, 0x48(r1) -/* 80368FD4 00365F34 7C 9E 23 78 */ mr r30, r4 -/* 80368FD8 00365F38 7C A4 2B 78 */ mr r4, r5 -/* 80368FDC 00365F3C 93 A1 00 44 */ stw r29, 0x44(r1) -/* 80368FE0 00365F40 7C 7D 1B 78 */ mr r29, r3 -/* 80368FE4 00365F44 38 61 00 08 */ addi r3, r1, 8 -/* 80368FE8 00365F48 4B FA 70 3D */ bl __ct__9CMatrix3fFRC9CMatrix3f -/* 80368FEC 00365F4C C0 5F 00 00 */ lfs f2, 0(r31) -/* 80368FF0 00365F50 7F A3 EB 78 */ mr r3, r29 -/* 80368FF4 00365F54 C0 3F 00 04 */ lfs f1, 4(r31) -/* 80368FF8 00365F58 7F C4 F3 78 */ mr r4, r30 -/* 80368FFC 00365F5C C0 1F 00 08 */ lfs f0, 8(r31) -/* 80369000 00365F60 38 A1 00 08 */ addi r5, r1, 8 -/* 80369004 00365F64 D0 41 00 2C */ stfs f2, 0x2c(r1) -/* 80369008 00365F68 D0 21 00 30 */ stfs f1, 0x30(r1) -/* 8036900C 00365F6C D0 01 00 34 */ stfs f0, 0x34(r1) -/* 80369010 00365F70 48 00 01 51 */ bl "Insert__58TSegIdMapVariableSizeFRC6CSegIdRCQ217CPoseAsTransforms12CElementType" -/* 80369014 00365F74 80 01 00 54 */ lwz r0, 0x54(r1) -/* 80369018 00365F78 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 8036901C 00365F7C 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 80369020 00365F80 83 A1 00 44 */ lwz r29, 0x44(r1) -/* 80369024 00365F84 7C 08 03 A6 */ mtlr r0 -/* 80369028 00365F88 38 21 00 50 */ addi r1, r1, 0x50 -/* 8036902C 00365F8C 4E 80 00 20 */ blr - -.global __ct__17CPoseAsTransformsFUc -__ct__17CPoseAsTransformsFUc: -/* 80369030 00365F90 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80369034 00365F94 7C 08 02 A6 */ mflr r0 -/* 80369038 00365F98 38 E0 00 00 */ li r7, 0 -/* 8036903C 00365F9C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80369040 00365FA0 38 00 00 0A */ li r0, 0xa -/* 80369044 00365FA4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80369048 00365FA8 7C 7F 1B 78 */ mr r31, r3 -/* 8036904C 00365FAC 39 1F 00 08 */ addi r8, r31, 8 -/* 80369050 00365FB0 98 E3 00 00 */ stb r7, 0(r3) -/* 80369054 00365FB4 38 60 00 64 */ li r3, 0x64 -/* 80369058 00365FB8 98 9F 00 01 */ stb r4, 1(r31) -/* 8036905C 00365FBC 88 CD 9E 98 */ lbz r6, lbl_805A8A58@sda21(r13) -/* 80369060 00365FC0 88 AD 9E 99 */ lbz r5, lbl_805A8A59@sda21(r13) -/* 80369064 00365FC4 7C C6 07 74 */ extsb r6, r6 -/* 80369068 00365FC8 90 7F 00 04 */ stw r3, 4(r31) -/* 8036906C 00365FCC 7C A3 07 74 */ extsb r3, r5 -/* 80369070 00365FD0 7C 09 03 A6 */ mtctr r0 -lbl_80369074: -/* 80369074 00365FD4 28 08 00 00 */ cmplwi r8, 0 -/* 80369078 00365FD8 41 82 00 0C */ beq lbl_80369084 -/* 8036907C 00365FDC 98 C8 00 00 */ stb r6, 0(r8) -/* 80369080 00365FE0 98 68 00 01 */ stb r3, 1(r8) -lbl_80369084: -/* 80369084 00365FE4 35 08 00 02 */ addic. r8, r8, 2 -/* 80369088 00365FE8 41 82 00 0C */ beq lbl_80369094 -/* 8036908C 00365FEC 98 C8 00 00 */ stb r6, 0(r8) -/* 80369090 00365FF0 98 68 00 01 */ stb r3, 1(r8) -lbl_80369094: -/* 80369094 00365FF4 35 08 00 02 */ addic. r8, r8, 2 -/* 80369098 00365FF8 41 82 00 0C */ beq lbl_803690A4 -/* 8036909C 00365FFC 98 C8 00 00 */ stb r6, 0(r8) -/* 803690A0 00366000 98 68 00 01 */ stb r3, 1(r8) -lbl_803690A4: -/* 803690A4 00366004 35 08 00 02 */ addic. r8, r8, 2 -/* 803690A8 00366008 41 82 00 0C */ beq lbl_803690B4 -/* 803690AC 0036600C 98 C8 00 00 */ stb r6, 0(r8) -/* 803690B0 00366010 98 68 00 01 */ stb r3, 1(r8) -lbl_803690B4: -/* 803690B4 00366014 35 08 00 02 */ addic. r8, r8, 2 -/* 803690B8 00366018 41 82 00 0C */ beq lbl_803690C4 -/* 803690BC 0036601C 98 C8 00 00 */ stb r6, 0(r8) -/* 803690C0 00366020 98 68 00 01 */ stb r3, 1(r8) -lbl_803690C4: -/* 803690C4 00366024 35 08 00 02 */ addic. r8, r8, 2 -/* 803690C8 00366028 41 82 00 0C */ beq lbl_803690D4 -/* 803690CC 0036602C 98 C8 00 00 */ stb r6, 0(r8) -/* 803690D0 00366030 98 68 00 01 */ stb r3, 1(r8) -lbl_803690D4: -/* 803690D4 00366034 35 08 00 02 */ addic. r8, r8, 2 -/* 803690D8 00366038 41 82 00 0C */ beq lbl_803690E4 -/* 803690DC 0036603C 98 C8 00 00 */ stb r6, 0(r8) -/* 803690E0 00366040 98 68 00 01 */ stb r3, 1(r8) -lbl_803690E4: -/* 803690E4 00366044 35 08 00 02 */ addic. r8, r8, 2 -/* 803690E8 00366048 41 82 00 0C */ beq lbl_803690F4 -/* 803690EC 0036604C 98 C8 00 00 */ stb r6, 0(r8) -/* 803690F0 00366050 98 68 00 01 */ stb r3, 1(r8) -lbl_803690F4: -/* 803690F4 00366054 35 08 00 02 */ addic. r8, r8, 2 -/* 803690F8 00366058 41 82 00 0C */ beq lbl_80369104 -/* 803690FC 0036605C 98 C8 00 00 */ stb r6, 0(r8) -/* 80369100 00366060 98 68 00 01 */ stb r3, 1(r8) -lbl_80369104: -/* 80369104 00366064 35 08 00 02 */ addic. r8, r8, 2 -/* 80369108 00366068 41 82 00 0C */ beq lbl_80369114 -/* 8036910C 0036606C 98 C8 00 00 */ stb r6, 0(r8) -/* 80369110 00366070 98 68 00 01 */ stb r3, 1(r8) -lbl_80369114: -/* 80369114 00366074 38 E7 00 09 */ addi r7, r7, 9 -/* 80369118 00366078 39 08 00 02 */ addi r8, r8, 2 -/* 8036911C 0036607C 42 00 FF 58 */ bdnz lbl_80369074 -/* 80369120 00366080 38 C0 00 00 */ li r6, 0 -/* 80369124 00366084 54 80 06 3E */ clrlwi r0, r4, 0x18 -/* 80369128 00366088 90 DF 00 D0 */ stw r6, 0xd0(r31) -/* 8036912C 0036608C 3C 80 80 3E */ lis r4, lbl_803D8538@ha -/* 80369130 00366090 1C 60 00 30 */ mulli r3, r0, 0x30 -/* 80369134 00366094 38 A0 00 00 */ li r5, 0 -/* 80369138 00366098 98 DF 00 D4 */ stb r6, 0xd4(r31) -/* 8036913C 0036609C 38 84 85 38 */ addi r4, r4, lbl_803D8538@l -/* 80369140 003660A0 4B FA C6 D9 */ bl __nwa__FUlPCcPCc -/* 80369144 003660A4 90 7F 00 D0 */ stw r3, 0xd0(r31) -/* 80369148 003660A8 7F E3 FB 78 */ mr r3, r31 -/* 8036914C 003660AC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80369150 003660B0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80369154 003660B4 7C 08 03 A6 */ mtlr r0 -/* 80369158 003660B8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8036915C 003660BC 4E 80 00 20 */ blr - -.global "Insert__58TSegIdMapVariableSizeFRC6CSegIdRCQ217CPoseAsTransforms12CElementType" -"Insert__58TSegIdMapVariableSizeFRC6CSegIdRCQ217CPoseAsTransforms12CElementType": -/* 80369160 003660C0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80369164 003660C4 7C 08 02 A6 */ mflr r0 -/* 80369168 003660C8 90 01 00 24 */ stw r0, 0x24(r1) -/* 8036916C 003660CC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80369170 003660D0 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80369174 003660D4 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80369178 003660D8 7C BD 2B 78 */ mr r29, r5 -/* 8036917C 003660DC 93 81 00 10 */ stw r28, 0x10(r1) -/* 80369180 003660E0 7C 7C 1B 78 */ mr r28, r3 -/* 80369184 003660E4 88 03 00 00 */ lbz r0, 0(r3) -/* 80369188 003660E8 80 63 00 D0 */ lwz r3, 0xd0(r3) -/* 8036918C 003660EC 7C 00 07 74 */ extsb r0, r0 -/* 80369190 003660F0 8B E4 00 00 */ lbz r31, 0(r4) -/* 80369194 003660F4 1C 00 00 30 */ mulli r0, r0, 0x30 -/* 80369198 003660F8 7F C3 02 15 */ add. r30, r3, r0 -/* 8036919C 003660FC 41 82 00 28 */ beq lbl_803691C4 -/* 803691A0 00366100 7F C3 F3 78 */ mr r3, r30 -/* 803691A4 00366104 7F A4 EB 78 */ mr r4, r29 -/* 803691A8 00366108 4B FA 6E 7D */ bl __ct__9CMatrix3fFRC9CMatrix3f -/* 803691AC 0036610C C0 1D 00 24 */ lfs f0, 0x24(r29) -/* 803691B0 00366110 D0 1E 00 24 */ stfs f0, 0x24(r30) -/* 803691B4 00366114 C0 1D 00 28 */ lfs f0, 0x28(r29) -/* 803691B8 00366118 D0 1E 00 28 */ stfs f0, 0x28(r30) -/* 803691BC 0036611C C0 1D 00 2C */ lfs f0, 0x2c(r29) -/* 803691C0 00366120 D0 1E 00 2C */ stfs f0, 0x2c(r30) -lbl_803691C4: -/* 803691C4 00366124 57 E3 0D FC */ rlwinm r3, r31, 1, 0x17, 0x1e -/* 803691C8 00366128 88 9C 00 00 */ lbz r4, 0(r28) -/* 803691CC 0036612C 88 1C 00 D4 */ lbz r0, 0xd4(r28) -/* 803691D0 00366130 7C 7C 1A 14 */ add r3, r28, r3 -/* 803691D4 00366134 98 03 00 08 */ stb r0, 8(r3) -/* 803691D8 00366138 98 83 00 09 */ stb r4, 9(r3) -/* 803691DC 0036613C 9B FC 00 D4 */ stb r31, 0xd4(r28) -/* 803691E0 00366140 88 7C 00 00 */ lbz r3, 0(r28) -/* 803691E4 00366144 38 03 00 01 */ addi r0, r3, 1 -/* 803691E8 00366148 98 1C 00 00 */ stb r0, 0(r28) -/* 803691EC 0036614C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 803691F0 00366150 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 803691F4 00366154 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 803691F8 00366158 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 803691FC 0036615C 83 81 00 10 */ lwz r28, 0x10(r1) -/* 80369200 00366160 7C 08 03 A6 */ mtlr r0 -/* 80369204 00366164 38 21 00 20 */ addi r1, r1, 0x20 -/* 80369208 00366168 4E 80 00 20 */ blr - -.global "Clear__58TSegIdMapVariableSizeFv" -"Clear__58TSegIdMapVariableSizeFv": -/* 8036920C 0036616C 88 A3 00 D4 */ lbz r5, 0xd4(r3) -/* 80369210 00366170 38 C3 00 08 */ addi r6, r3, 8 -/* 80369214 00366174 48 00 00 24 */ b lbl_80369238 -lbl_80369218: -/* 80369218 00366178 54 A4 0D FC */ rlwinm r4, r5, 1, 0x17, 0x1e -/* 8036921C 0036617C 7C 80 23 78 */ mr r0, r4 -/* 80369220 00366180 7C A6 20 AE */ lbzx r5, r6, r4 -/* 80369224 00366184 7C E6 02 14 */ add r7, r6, r0 -/* 80369228 00366188 88 8D 9E 9D */ lbz r4, lbl_805A8A5D@sda21(r13) -/* 8036922C 0036618C 88 0D 9E 9C */ lbz r0, lbl_805A8A5C@sda21(r13) -/* 80369230 00366190 98 07 00 00 */ stb r0, 0(r7) -/* 80369234 00366194 98 87 00 01 */ stb r4, 1(r7) -lbl_80369238: -/* 80369238 00366198 54 A0 06 3F */ clrlwi. r0, r5, 0x18 -/* 8036923C 0036619C 40 82 FF DC */ bne lbl_80369218 -/* 80369240 003661A0 38 00 00 00 */ li r0, 0 -/* 80369244 003661A4 98 03 00 D4 */ stb r0, 0xd4(r3) -/* 80369248 003661A8 98 03 00 00 */ stb r0, 0(r3) -/* 8036924C 003661AC 4E 80 00 20 */ blr - -.global CreateRumbleHandle__12CRumbleVoiceFs -CreateRumbleHandle__12CRumbleVoiceFs: -/* 80369250 003661B0 88 A3 00 2E */ lbz r5, 0x2e(r3) -/* 80369254 003661B4 38 05 00 01 */ addi r0, r5, 1 -/* 80369258 003661B8 98 03 00 2E */ stb r0, 0x2e(r3) -/* 8036925C 003661BC 88 03 00 2E */ lbz r0, 0x2e(r3) -/* 80369260 003661C0 28 00 00 00 */ cmplwi r0, 0 -/* 80369264 003661C4 40 82 00 0C */ bne lbl_80369270 -/* 80369268 003661C8 38 00 00 01 */ li r0, 1 -/* 8036926C 003661CC 98 03 00 2E */ stb r0, 0x2e(r3) -lbl_80369270: -/* 80369270 003661D0 54 85 0B FC */ rlwinm r5, r4, 1, 0xf, 0x1e -/* 80369274 003661D4 88 03 00 2E */ lbz r0, 0x2e(r3) -/* 80369278 003661D8 7C A3 2A 14 */ add r5, r3, r5 -/* 8036927C 003661DC 54 84 04 3E */ clrlwi r4, r4, 0x10 -/* 80369280 003661E0 B0 05 00 24 */ sth r0, 0x24(r5) -/* 80369284 003661E4 88 03 00 2E */ lbz r0, 0x2e(r3) -/* 80369288 003661E8 54 00 40 2E */ slwi r0, r0, 8 -/* 8036928C 003661EC 7C 00 23 78 */ or r0, r0, r4 -/* 80369290 003661F0 54 00 04 3E */ clrlwi r0, r0, 0x10 -/* 80369294 003661F4 7C 03 07 34 */ extsh r3, r0 -/* 80369298 003661F8 4E 80 00 20 */ blr - -.global OwnsSustained__12CRumbleVoiceCFs -OwnsSustained__12CRumbleVoiceCFs: -/* 8036929C 003661FC 7C 84 07 34 */ extsh r4, r4 -/* 803692A0 00366200 54 80 07 3E */ clrlwi r0, r4, 0x1c -/* 803692A4 00366204 28 00 00 04 */ cmplwi r0, 4 -/* 803692A8 00366208 54 84 C6 3E */ rlwinm r4, r4, 0x18, 0x18, 0x1f -/* 803692AC 0036620C 40 80 00 20 */ bge lbl_803692CC -/* 803692B0 00366210 54 00 0B FC */ rlwinm r0, r0, 1, 0xf, 0x1e -/* 803692B4 00366214 7C 63 02 14 */ add r3, r3, r0 -/* 803692B8 00366218 A0 03 00 24 */ lhz r0, 0x24(r3) -/* 803692BC 0036621C 7C 04 00 50 */ subf r0, r4, r0 -/* 803692C0 00366220 7C 00 00 34 */ cntlzw r0, r0 -/* 803692C4 00366224 54 03 D9 7E */ srwi r3, r0, 5 -/* 803692C8 00366228 4E 80 00 20 */ blr -lbl_803692CC: -/* 803692CC 0036622C 38 60 00 00 */ li r3, 0 -/* 803692D0 00366230 4E 80 00 20 */ blr - -.global GetIntensity__12CRumbleVoiceCFv -GetIntensity__12CRumbleVoiceCFv: -/* 803692D4 00366234 80 63 00 1C */ lwz r3, 0x1c(r3) -/* 803692D8 00366238 C0 43 00 00 */ lfs f2, 0(r3) -/* 803692DC 0036623C C0 03 00 24 */ lfs f0, 0x24(r3) -/* 803692E0 00366240 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 803692E4 00366244 40 80 00 08 */ bge lbl_803692EC -/* 803692E8 00366248 FC 40 00 90 */ fmr f2, f0 -lbl_803692EC: -/* 803692EC 0036624C C0 03 00 48 */ lfs f0, 0x48(r3) -/* 803692F0 00366250 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 803692F4 00366254 40 80 00 08 */ bge lbl_803692FC -/* 803692F8 00366258 FC 40 00 90 */ fmr f2, f0 -lbl_803692FC: -/* 803692FC 0036625C C0 03 00 6C */ lfs f0, 0x6c(r3) -/* 80369300 00366260 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80369304 00366264 40 80 00 08 */ bge lbl_8036930C -/* 80369308 00366268 FC 40 00 90 */ fmr f2, f0 -lbl_8036930C: -/* 8036930C 0036626C C0 22 CD D8 */ lfs f1, lbl_805AEAF8@sda21(r2) -/* 80369310 00366270 FC 02 08 40 */ fcmpo cr0, f2, f1 -/* 80369314 00366274 4D 81 00 20 */ bgtlr -/* 80369318 00366278 FC 20 10 90 */ fmr f1, f2 -/* 8036931C 0036627C 4E 80 00 20 */ blr - -.global GetFreeChannel__12CRumbleVoiceCFv -GetFreeChannel__12CRumbleVoiceCFv: -/* 80369320 00366280 38 E0 00 00 */ li r7, 0 -/* 80369324 00366284 38 A0 00 01 */ li r5, 1 -/* 80369328 00366288 48 00 00 24 */ b lbl_8036934C -lbl_8036932C: -/* 8036932C 0036628C 54 E4 04 3E */ clrlwi r4, r7, 0x10 -/* 80369330 00366290 A0 C3 00 2C */ lhz r6, 0x2c(r3) -/* 80369334 00366294 7C A0 20 30 */ slw r0, r5, r4 -/* 80369338 00366298 7C C0 00 39 */ and. r0, r6, r0 -/* 8036933C 0036629C 40 82 00 0C */ bne lbl_80369348 -/* 80369340 003662A0 7C 83 23 78 */ mr r3, r4 -/* 80369344 003662A4 4E 80 00 20 */ blr -lbl_80369348: -/* 80369348 003662A8 38 E7 00 01 */ addi r7, r7, 1 -lbl_8036934C: -/* 8036934C 003662AC 54 E0 04 3E */ clrlwi r0, r7, 0x10 -/* 80369350 003662B0 28 00 00 04 */ cmplwi r0, 4 -/* 80369354 003662B4 41 80 FF D8 */ blt lbl_8036932C -/* 80369358 003662B8 38 60 00 00 */ li r3, 0 -/* 8036935C 003662BC 4E 80 00 20 */ blr - -.global Update__12CRumbleVoiceFf -Update__12CRumbleVoiceFf: -/* 80369360 003662C0 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 80369364 003662C4 7C 08 02 A6 */ mflr r0 -/* 80369368 003662C8 90 01 00 54 */ stw r0, 0x54(r1) -/* 8036936C 003662CC DB E1 00 40 */ stfd f31, 0x40(r1) -/* 80369370 003662D0 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 -/* 80369374 003662D4 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 80369378 003662D8 93 C1 00 38 */ stw r30, 0x38(r1) -/* 8036937C 003662DC 93 A1 00 34 */ stw r29, 0x34(r1) -/* 80369380 003662E0 93 81 00 30 */ stw r28, 0x30(r1) -/* 80369384 003662E4 7C 7E 1B 78 */ mr r30, r3 -/* 80369388 003662E8 FF E0 08 90 */ fmr f31, f1 -/* 8036938C 003662EC A0 03 00 2C */ lhz r0, 0x2c(r3) -/* 80369390 003662F0 28 00 00 00 */ cmplwi r0, 0 -/* 80369394 003662F4 41 82 00 CC */ beq lbl_80369460 -/* 80369398 003662F8 3B E0 00 00 */ li r31, 0 -/* 8036939C 003662FC 48 00 00 B0 */ b lbl_8036944C -lbl_803693A0: -/* 803693A0 00366300 57 E6 04 3E */ clrlwi r6, r31, 0x10 -/* 803693A4 00366304 38 00 00 01 */ li r0, 1 -/* 803693A8 00366308 A0 7E 00 2C */ lhz r3, 0x2c(r30) -/* 803693AC 0036630C 7C 1D 30 30 */ slw r29, r0, r6 -/* 803693B0 00366310 7C 60 E8 39 */ and. r0, r3, r29 -/* 803693B4 00366314 41 82 00 94 */ beq lbl_80369448 -/* 803693B8 00366318 1F 86 00 24 */ mulli r28, r6, 0x24 -/* 803693BC 0036631C 80 9E 00 1C */ lwz r4, 0x1c(r30) -/* 803693C0 00366320 FC 20 F8 90 */ fmr f1, f31 -/* 803693C4 00366324 80 BE 00 0C */ lwz r5, 0xc(r30) -/* 803693C8 00366328 7F C3 F3 78 */ mr r3, r30 -/* 803693CC 0036632C 1C 06 00 1C */ mulli r0, r6, 0x1c -/* 803693D0 00366330 7C 84 E2 14 */ add r4, r4, r28 -/* 803693D4 00366334 7C A5 02 14 */ add r5, r5, r0 -/* 803693D8 00366338 48 00 00 B5 */ bl UpdateChannel__12CRumbleVoiceFR10SAdsrDeltaRC9SAdsrDataf -/* 803693DC 0036633C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 803693E0 00366340 41 82 00 68 */ beq lbl_80369448 -/* 803693E4 00366344 A0 1E 00 2C */ lhz r0, 0x2c(r30) -/* 803693E8 00366348 38 61 00 08 */ addi r3, r1, 8 -/* 803693EC 0036634C 7C 00 E8 78 */ andc r0, r0, r29 -/* 803693F0 00366350 B0 1E 00 2C */ sth r0, 0x2c(r30) -/* 803693F4 00366354 48 00 08 B5 */ bl Stopped__10SAdsrDeltaFv -/* 803693F8 00366358 80 1E 00 1C */ lwz r0, 0x1c(r30) -/* 803693FC 0036635C C0 01 00 08 */ lfs f0, 8(r1) -/* 80369400 00366360 7C 60 E2 14 */ add r3, r0, r28 -/* 80369404 00366364 D0 03 00 00 */ stfs f0, 0(r3) -/* 80369408 00366368 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 8036940C 0036636C D0 03 00 04 */ stfs f0, 4(r3) -/* 80369410 00366370 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 80369414 00366374 D0 03 00 08 */ stfs f0, 8(r3) -/* 80369418 00366378 C0 01 00 14 */ lfs f0, 0x14(r1) -/* 8036941C 0036637C D0 03 00 0C */ stfs f0, 0xc(r3) -/* 80369420 00366380 C0 01 00 18 */ lfs f0, 0x18(r1) -/* 80369424 00366384 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 80369428 00366388 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 8036942C 0036638C D0 03 00 14 */ stfs f0, 0x14(r3) -/* 80369430 00366390 C0 01 00 20 */ lfs f0, 0x20(r1) -/* 80369434 00366394 D0 03 00 18 */ stfs f0, 0x18(r3) -/* 80369438 00366398 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8036943C 0036639C 90 03 00 1C */ stw r0, 0x1c(r3) -/* 80369440 003663A0 80 01 00 28 */ lwz r0, 0x28(r1) -/* 80369444 003663A4 90 03 00 20 */ stw r0, 0x20(r3) -lbl_80369448: -/* 80369448 003663A8 3B FF 00 01 */ addi r31, r31, 1 -lbl_8036944C: -/* 8036944C 003663AC 57 E0 04 3E */ clrlwi r0, r31, 0x10 -/* 80369450 003663B0 28 00 00 04 */ cmplwi r0, 4 -/* 80369454 003663B4 41 80 FF 4C */ blt lbl_803693A0 -/* 80369458 003663B8 38 60 00 01 */ li r3, 1 -/* 8036945C 003663BC 48 00 00 08 */ b lbl_80369464 -lbl_80369460: -/* 80369460 003663C0 38 60 00 00 */ li r3, 0 -lbl_80369464: -/* 80369464 003663C4 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 -/* 80369468 003663C8 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8036946C 003663CC CB E1 00 40 */ lfd f31, 0x40(r1) -/* 80369470 003663D0 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 80369474 003663D4 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 80369478 003663D8 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 8036947C 003663DC 83 81 00 30 */ lwz r28, 0x30(r1) -/* 80369480 003663E0 7C 08 03 A6 */ mtlr r0 -/* 80369484 003663E4 38 21 00 50 */ addi r1, r1, 0x50 -/* 80369488 003663E8 4E 80 00 20 */ blr - -.global UpdateChannel__12CRumbleVoiceFR10SAdsrDeltaRC9SAdsrDataf -UpdateChannel__12CRumbleVoiceFR10SAdsrDeltaRC9SAdsrDataf: -/* 8036948C 003663EC 80 04 00 20 */ lwz r0, 0x20(r4) -/* 80369490 003663F0 2C 00 00 03 */ cmpwi r0, 3 -/* 80369494 003663F4 41 82 00 A8 */ beq lbl_8036953C -/* 80369498 003663F8 40 80 00 14 */ bge lbl_803694AC -/* 8036949C 003663FC 2C 00 00 01 */ cmpwi r0, 1 -/* 803694A0 00366400 41 82 00 18 */ beq lbl_803694B8 -/* 803694A4 00366404 40 80 00 48 */ bge lbl_803694EC -/* 803694A8 00366408 48 00 01 DC */ b lbl_80369684 -lbl_803694AC: -/* 803694AC 0036640C 2C 00 00 05 */ cmpwi r0, 5 -/* 803694B0 00366410 41 82 01 54 */ beq lbl_80369604 -/* 803694B4 00366414 48 00 01 D0 */ b lbl_80369684 -lbl_803694B8: -/* 803694B8 00366418 C0 44 00 04 */ lfs f2, 4(r4) -/* 803694BC 0036641C C0 02 CD DC */ lfs f0, lbl_805AEAFC@sda21(r2) -/* 803694C0 00366420 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 803694C4 00366424 40 80 00 10 */ bge lbl_803694D4 -/* 803694C8 00366428 EC 02 08 2A */ fadds f0, f2, f1 -/* 803694CC 0036642C D0 04 00 04 */ stfs f0, 4(r4) -/* 803694D0 00366430 48 00 01 B4 */ b lbl_80369684 -lbl_803694D4: -/* 803694D4 00366434 38 00 00 02 */ li r0, 2 -/* 803694D8 00366438 C0 02 CD E0 */ lfs f0, lbl_805AEB00@sda21(r2) -/* 803694DC 0036643C 90 04 00 20 */ stw r0, 0x20(r4) -/* 803694E0 00366440 D0 04 00 00 */ stfs f0, 0(r4) -/* 803694E4 00366444 D0 04 00 04 */ stfs f0, 4(r4) -/* 803694E8 00366448 48 00 01 9C */ b lbl_80369684 -lbl_803694EC: -/* 803694EC 0036644C C0 05 00 08 */ lfs f0, 8(r5) -/* 803694F0 00366450 C0 44 00 04 */ lfs f2, 4(r4) -/* 803694F4 00366454 C0 A4 00 14 */ lfs f5, 0x14(r4) -/* 803694F8 00366458 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 803694FC 0036645C 40 80 00 30 */ bge lbl_8036952C -/* 80369500 00366460 EC 82 00 24 */ fdivs f4, f2, f0 -/* 80369504 00366464 C0 02 CD E4 */ lfs f0, lbl_805AEB04@sda21(r2) -/* 80369508 00366468 C0 62 CD E0 */ lfs f3, lbl_805AEB00@sda21(r2) -/* 8036950C 0036646C EC 40 20 28 */ fsubs f2, f0, f4 -/* 80369510 00366470 EC 05 01 32 */ fmuls f0, f5, f4 -/* 80369514 00366474 EC 03 00 BA */ fmadds f0, f3, f2, f0 -/* 80369518 00366478 D0 04 00 00 */ stfs f0, 0(r4) -/* 8036951C 0036647C C0 04 00 04 */ lfs f0, 4(r4) -/* 80369520 00366480 EC 00 08 2A */ fadds f0, f0, f1 -/* 80369524 00366484 D0 04 00 04 */ stfs f0, 4(r4) -/* 80369528 00366488 48 00 01 5C */ b lbl_80369684 -lbl_8036952C: -/* 8036952C 0036648C D0 A4 00 00 */ stfs f5, 0(r4) -/* 80369530 00366490 38 00 00 03 */ li r0, 3 -/* 80369534 00366494 90 04 00 20 */ stw r0, 0x20(r4) -/* 80369538 00366498 48 00 01 4C */ b lbl_80369684 -lbl_8036953C: -/* 8036953C 0036649C 88 05 00 18 */ lbz r0, 0x18(r5) -/* 80369540 003664A0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80369544 003664A4 41 82 00 54 */ beq lbl_80369598 -/* 80369548 003664A8 C0 05 00 0C */ lfs f0, 0xc(r5) -/* 8036954C 003664AC C0 44 00 08 */ lfs f2, 8(r4) -/* 80369550 003664B0 C0 A4 00 18 */ lfs f5, 0x18(r4) -/* 80369554 003664B4 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80369558 003664B8 C0 84 00 14 */ lfs f4, 0x14(r4) -/* 8036955C 003664BC 40 80 00 2C */ bge lbl_80369588 -/* 80369560 003664C0 EC 62 00 24 */ fdivs f3, f2, f0 -/* 80369564 003664C4 C0 02 CD E4 */ lfs f0, lbl_805AEB04@sda21(r2) -/* 80369568 003664C8 EC 40 18 28 */ fsubs f2, f0, f3 -/* 8036956C 003664CC EC 05 00 F2 */ fmuls f0, f5, f3 -/* 80369570 003664D0 EC 04 00 BA */ fmadds f0, f4, f2, f0 -/* 80369574 003664D4 D0 04 00 00 */ stfs f0, 0(r4) -/* 80369578 003664D8 C0 04 00 08 */ lfs f0, 8(r4) -/* 8036957C 003664DC EC 00 08 2A */ fadds f0, f0, f1 -/* 80369580 003664E0 D0 04 00 08 */ stfs f0, 8(r4) -/* 80369584 003664E4 48 00 01 00 */ b lbl_80369684 -lbl_80369588: -/* 80369588 003664E8 D0 A4 00 00 */ stfs f5, 0(r4) -/* 8036958C 003664EC 38 00 00 04 */ li r0, 4 -/* 80369590 003664F0 90 04 00 20 */ stw r0, 0x20(r4) -/* 80369594 003664F4 48 00 00 F0 */ b lbl_80369684 -lbl_80369598: -/* 80369598 003664F8 C0 05 00 0C */ lfs f0, 0xc(r5) -/* 8036959C 003664FC C0 44 00 08 */ lfs f2, 8(r4) -/* 803695A0 00366500 C0 84 00 14 */ lfs f4, 0x14(r4) -/* 803695A4 00366504 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 803695A8 00366508 40 80 00 30 */ bge lbl_803695D8 -/* 803695AC 0036650C EC 62 00 24 */ fdivs f3, f2, f0 -/* 803695B0 00366510 C0 42 CD E4 */ lfs f2, lbl_805AEB04@sda21(r2) -/* 803695B4 00366514 C0 02 CD E0 */ lfs f0, lbl_805AEB00@sda21(r2) -/* 803695B8 00366518 EC 42 18 28 */ fsubs f2, f2, f3 -/* 803695BC 0036651C EC 00 00 F2 */ fmuls f0, f0, f3 -/* 803695C0 00366520 EC 04 00 BA */ fmadds f0, f4, f2, f0 -/* 803695C4 00366524 D0 04 00 00 */ stfs f0, 0(r4) -/* 803695C8 00366528 C0 04 00 08 */ lfs f0, 8(r4) -/* 803695CC 0036652C EC 00 08 2A */ fadds f0, f0, f1 -/* 803695D0 00366530 D0 04 00 08 */ stfs f0, 8(r4) -/* 803695D4 00366534 48 00 00 14 */ b lbl_803695E8 -lbl_803695D8: -/* 803695D8 00366538 C0 02 CD E0 */ lfs f0, lbl_805AEB00@sda21(r2) -/* 803695DC 0036653C 38 00 00 00 */ li r0, 0 -/* 803695E0 00366540 D0 04 00 00 */ stfs f0, 0(r4) -/* 803695E4 00366544 90 04 00 20 */ stw r0, 0x20(r4) -lbl_803695E8: -/* 803695E8 00366548 80 04 00 20 */ lwz r0, 0x20(r4) -/* 803695EC 0036654C 2C 00 00 03 */ cmpwi r0, 3 -/* 803695F0 00366550 41 82 00 94 */ beq lbl_80369684 -/* 803695F4 00366554 38 00 00 00 */ li r0, 0 -/* 803695F8 00366558 38 60 00 01 */ li r3, 1 -/* 803695FC 0036655C 90 04 00 20 */ stw r0, 0x20(r4) -/* 80369600 00366560 4E 80 00 20 */ blr -lbl_80369604: -/* 80369604 00366564 88 05 00 18 */ lbz r0, 0x18(r5) -/* 80369608 00366568 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8036960C 0036656C 41 82 00 0C */ beq lbl_80369618 -/* 80369610 00366570 C0 84 00 18 */ lfs f4, 0x18(r4) -/* 80369614 00366574 48 00 00 08 */ b lbl_8036961C -lbl_80369618: -/* 80369618 00366578 C0 82 CD E0 */ lfs f4, lbl_805AEB00@sda21(r2) -lbl_8036961C: -/* 8036961C 0036657C C0 05 00 14 */ lfs f0, 0x14(r5) -/* 80369620 00366580 C0 44 00 0C */ lfs f2, 0xc(r4) -/* 80369624 00366584 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80369628 00366588 40 80 00 30 */ bge lbl_80369658 -/* 8036962C 0036658C EC 62 00 24 */ fdivs f3, f2, f0 -/* 80369630 00366590 C0 42 CD E4 */ lfs f2, lbl_805AEB04@sda21(r2) -/* 80369634 00366594 C0 02 CD E0 */ lfs f0, lbl_805AEB00@sda21(r2) -/* 80369638 00366598 EC 42 18 28 */ fsubs f2, f2, f3 -/* 8036963C 0036659C EC 00 00 F2 */ fmuls f0, f0, f3 -/* 80369640 003665A0 EC 04 00 BA */ fmadds f0, f4, f2, f0 -/* 80369644 003665A4 D0 04 00 00 */ stfs f0, 0(r4) -/* 80369648 003665A8 C0 04 00 0C */ lfs f0, 0xc(r4) -/* 8036964C 003665AC EC 00 08 2A */ fadds f0, f0, f1 -/* 80369650 003665B0 D0 04 00 0C */ stfs f0, 0xc(r4) -/* 80369654 003665B4 48 00 00 14 */ b lbl_80369668 -lbl_80369658: -/* 80369658 003665B8 C0 02 CD E0 */ lfs f0, lbl_805AEB00@sda21(r2) -/* 8036965C 003665BC 38 00 00 00 */ li r0, 0 -/* 80369660 003665C0 D0 04 00 00 */ stfs f0, 0(r4) -/* 80369664 003665C4 90 04 00 20 */ stw r0, 0x20(r4) -lbl_80369668: -/* 80369668 003665C8 80 04 00 20 */ lwz r0, 0x20(r4) -/* 8036966C 003665CC 2C 00 00 05 */ cmpwi r0, 5 -/* 80369670 003665D0 41 82 00 14 */ beq lbl_80369684 -/* 80369674 003665D4 38 00 00 00 */ li r0, 0 -/* 80369678 003665D8 38 60 00 01 */ li r3, 1 -/* 8036967C 003665DC 90 04 00 20 */ stw r0, 0x20(r4) -/* 80369680 003665E0 4E 80 00 20 */ blr -lbl_80369684: -/* 80369684 003665E4 88 05 00 18 */ lbz r0, 0x18(r5) -/* 80369688 003665E8 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 8036968C 003665EC 41 82 00 34 */ beq lbl_803696C0 -/* 80369690 003665F0 C0 44 00 10 */ lfs f2, 0x10(r4) -/* 80369694 003665F4 C0 05 00 04 */ lfs f0, 4(r5) -/* 80369698 003665F8 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8036969C 003665FC 40 80 00 10 */ bge lbl_803696AC -/* 803696A0 00366600 EC 02 08 2A */ fadds f0, f2, f1 -/* 803696A4 00366604 D0 04 00 10 */ stfs f0, 0x10(r4) -/* 803696A8 00366608 48 00 00 18 */ b lbl_803696C0 -lbl_803696AC: -/* 803696AC 0036660C 80 04 00 20 */ lwz r0, 0x20(r4) -/* 803696B0 00366610 2C 00 00 04 */ cmpwi r0, 4 -/* 803696B4 00366614 40 82 00 0C */ bne lbl_803696C0 -/* 803696B8 00366618 38 00 00 05 */ li r0, 5 -/* 803696BC 0036661C 90 04 00 20 */ stw r0, 0x20(r4) -lbl_803696C0: -/* 803696C0 00366620 38 60 00 00 */ li r3, 0 -/* 803696C4 00366624 4E 80 00 20 */ blr - -.global HardReset__12CRumbleVoiceFv -HardReset__12CRumbleVoiceFv: -/* 803696C8 00366628 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 803696CC 0036662C 7C 08 02 A6 */ mflr r0 -/* 803696D0 00366630 90 01 00 44 */ stw r0, 0x44(r1) -/* 803696D4 00366634 38 00 00 00 */ li r0, 0 -/* 803696D8 00366638 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 803696DC 0036663C 93 C1 00 38 */ stw r30, 0x38(r1) -/* 803696E0 00366640 3B C0 00 00 */ li r30, 0 -/* 803696E4 00366644 93 A1 00 34 */ stw r29, 0x34(r1) -/* 803696E8 00366648 7C 7D 1B 78 */ mr r29, r3 -/* 803696EC 0036664C 3B FD 00 24 */ addi r31, r29, 0x24 -/* 803696F0 00366650 B0 03 00 2C */ sth r0, 0x2c(r3) -/* 803696F4 00366654 48 00 00 74 */ b lbl_80369768 -lbl_803696F8: -/* 803696F8 00366658 38 61 00 08 */ addi r3, r1, 8 -/* 803696FC 0036665C 48 00 05 AD */ bl Stopped__10SAdsrDeltaFv -/* 80369700 00366660 57 C3 04 3E */ clrlwi r3, r30, 0x10 -/* 80369704 00366664 57 C0 0B FC */ rlwinm r0, r30, 1, 0xf, 0x1e -/* 80369708 00366668 1C 83 00 24 */ mulli r4, r3, 0x24 -/* 8036970C 0036666C 80 BD 00 1C */ lwz r5, 0x1c(r29) -/* 80369710 00366670 C0 01 00 08 */ lfs f0, 8(r1) -/* 80369714 00366674 38 60 00 00 */ li r3, 0 -/* 80369718 00366678 3B DE 00 01 */ addi r30, r30, 1 -/* 8036971C 0036667C 7C A5 22 14 */ add r5, r5, r4 -/* 80369720 00366680 D0 05 00 00 */ stfs f0, 0(r5) -/* 80369724 00366684 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 80369728 00366688 D0 05 00 04 */ stfs f0, 4(r5) -/* 8036972C 0036668C C0 01 00 10 */ lfs f0, 0x10(r1) -/* 80369730 00366690 D0 05 00 08 */ stfs f0, 8(r5) -/* 80369734 00366694 C0 01 00 14 */ lfs f0, 0x14(r1) -/* 80369738 00366698 D0 05 00 0C */ stfs f0, 0xc(r5) -/* 8036973C 0036669C C0 01 00 18 */ lfs f0, 0x18(r1) -/* 80369740 003666A0 D0 05 00 10 */ stfs f0, 0x10(r5) -/* 80369744 003666A4 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 80369748 003666A8 D0 05 00 14 */ stfs f0, 0x14(r5) -/* 8036974C 003666AC C0 01 00 20 */ lfs f0, 0x20(r1) -/* 80369750 003666B0 D0 05 00 18 */ stfs f0, 0x18(r5) -/* 80369754 003666B4 80 81 00 24 */ lwz r4, 0x24(r1) -/* 80369758 003666B8 90 85 00 1C */ stw r4, 0x1c(r5) -/* 8036975C 003666BC 80 81 00 28 */ lwz r4, 0x28(r1) -/* 80369760 003666C0 90 85 00 20 */ stw r4, 0x20(r5) -/* 80369764 003666C4 7C 7F 03 2E */ sthx r3, r31, r0 -lbl_80369768: -/* 80369768 003666C8 57 C0 04 3E */ clrlwi r0, r30, 0x10 -/* 8036976C 003666CC 28 00 00 04 */ cmplwi r0, 4 -/* 80369770 003666D0 41 80 FF 88 */ blt lbl_803696F8 -/* 80369774 003666D4 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80369778 003666D8 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 8036977C 003666DC 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 80369780 003666E0 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 80369784 003666E4 7C 08 03 A6 */ mtlr r0 -/* 80369788 003666E8 38 21 00 40 */ addi r1, r1, 0x40 -/* 8036978C 003666EC 4E 80 00 20 */ blr - -.global Deactivate__12CRumbleVoiceFsb -Deactivate__12CRumbleVoiceFsb: -/* 80369790 003666F0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80369794 003666F4 7C 08 02 A6 */ mflr r0 -/* 80369798 003666F8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8036979C 003666FC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 803697A0 00366700 7C 9F 23 78 */ mr r31, r4 -/* 803697A4 00366704 7F E0 07 34 */ extsh r0, r31 -/* 803697A8 00366708 2C 00 FF FF */ cmpwi r0, -1 -/* 803697AC 0036670C 93 C1 00 08 */ stw r30, 8(r1) -/* 803697B0 00366710 7C 7E 1B 78 */ mr r30, r3 -/* 803697B4 00366714 41 82 00 40 */ beq lbl_803697F4 -/* 803697B8 00366718 4B FF FA E5 */ bl OwnsSustained__12CRumbleVoiceCFs -/* 803697BC 0036671C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 803697C0 00366720 40 82 00 08 */ bne lbl_803697C8 -/* 803697C4 00366724 48 00 00 30 */ b lbl_803697F4 -lbl_803697C8: -/* 803697C8 00366728 57 E3 07 3E */ clrlwi r3, r31, 0x1c -/* 803697CC 0036672C 38 00 00 01 */ li r0, 1 -/* 803697D0 00366730 A0 9E 00 2C */ lhz r4, 0x2c(r30) -/* 803697D4 00366734 7C 00 18 30 */ slw r0, r0, r3 -/* 803697D8 00366738 7C 80 00 39 */ and. r0, r4, r0 -/* 803697DC 0036673C 41 82 00 18 */ beq lbl_803697F4 -/* 803697E0 00366740 1C 63 00 24 */ mulli r3, r3, 0x24 -/* 803697E4 00366744 80 9E 00 1C */ lwz r4, 0x1c(r30) -/* 803697E8 00366748 38 A0 00 05 */ li r5, 5 -/* 803697EC 0036674C 38 03 00 20 */ addi r0, r3, 0x20 -/* 803697F0 00366750 7C A4 01 2E */ stwx r5, r4, r0 -lbl_803697F4: -/* 803697F4 00366754 80 01 00 14 */ lwz r0, 0x14(r1) -/* 803697F8 00366758 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 803697FC 0036675C 83 C1 00 08 */ lwz r30, 8(r1) -/* 80369800 00366760 7C 08 03 A6 */ mtlr r0 -/* 80369804 00366764 38 21 00 10 */ addi r1, r1, 0x10 -/* 80369808 00366768 4E 80 00 20 */ blr - -.global Activate__12CRumbleVoiceFRC9SAdsrDatasf15ERumblePriority -Activate__12CRumbleVoiceFRC9SAdsrDatasf15ERumblePriority: -/* 8036980C 0036676C 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 80369810 00366770 7C 08 02 A6 */ mflr r0 -/* 80369814 00366774 90 01 00 64 */ stw r0, 0x64(r1) -/* 80369818 00366778 DB E1 00 50 */ stfd f31, 0x50(r1) -/* 8036981C 0036677C F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 -/* 80369820 00366780 BF 61 00 3C */ stmw r27, 0x3c(r1) -/* 80369824 00366784 FF E0 08 90 */ fmr f31, f1 -/* 80369828 00366788 C0 02 CD E0 */ lfs f0, lbl_805AEB00@sda21(r2) -/* 8036982C 0036678C 7C 7C 1B 78 */ mr r28, r3 -/* 80369830 00366790 7C 9D 23 78 */ mr r29, r4 -/* 80369834 00366794 7C BE 2B 78 */ mr r30, r5 -/* 80369838 00366798 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 8036983C 0036679C 40 81 01 1C */ ble lbl_80369958 -/* 80369840 003667A0 57 DB 04 3E */ clrlwi r27, r30, 0x10 -/* 80369844 003667A4 80 1C 00 0C */ lwz r0, 0xc(r28) -/* 80369848 003667A8 1F FB 00 1C */ mulli r31, r27, 0x1c -/* 8036984C 003667AC C0 1D 00 00 */ lfs f0, 0(r29) -/* 80369850 003667B0 7C C4 33 78 */ mr r4, r6 -/* 80369854 003667B4 38 61 00 08 */ addi r3, r1, 8 -/* 80369858 003667B8 7C A0 FA 14 */ add r5, r0, r31 -/* 8036985C 003667BC D0 05 00 00 */ stfs f0, 0(r5) -/* 80369860 003667C0 C0 1D 00 04 */ lfs f0, 4(r29) -/* 80369864 003667C4 D0 05 00 04 */ stfs f0, 4(r5) -/* 80369868 003667C8 C0 1D 00 08 */ lfs f0, 8(r29) -/* 8036986C 003667CC D0 05 00 08 */ stfs f0, 8(r5) -/* 80369870 003667D0 C0 1D 00 0C */ lfs f0, 0xc(r29) -/* 80369874 003667D4 D0 05 00 0C */ stfs f0, 0xc(r5) -/* 80369878 003667D8 C0 1D 00 10 */ lfs f0, 0x10(r29) -/* 8036987C 003667DC D0 05 00 10 */ stfs f0, 0x10(r5) -/* 80369880 003667E0 C0 1D 00 14 */ lfs f0, 0x14(r29) -/* 80369884 003667E4 D0 05 00 14 */ stfs f0, 0x14(r5) -/* 80369888 003667E8 88 1D 00 18 */ lbz r0, 0x18(r29) -/* 8036988C 003667EC 98 05 00 18 */ stb r0, 0x18(r5) -/* 80369890 003667F0 A0 1C 00 2C */ lhz r0, 0x2c(r28) -/* 80369894 003667F4 7C 00 00 34 */ cntlzw r0, r0 -/* 80369898 003667F8 54 05 DE 3E */ rlwinm r5, r0, 0x1b, 0x18, 0x1f -/* 8036989C 003667FC 48 00 04 31 */ bl Start__10SAdsrDeltaF15ERumblePriorityb -/* 803698A0 00366800 1C DB 00 24 */ mulli r6, r27, 0x24 -/* 803698A4 00366804 80 7C 00 1C */ lwz r3, 0x1c(r28) -/* 803698A8 00366808 38 00 00 01 */ li r0, 1 -/* 803698AC 0036680C C0 01 00 08 */ lfs f0, 8(r1) -/* 803698B0 00366810 38 BF 00 10 */ addi r5, r31, 0x10 -/* 803698B4 00366814 7C E3 32 14 */ add r7, r3, r6 -/* 803698B8 00366818 D0 07 00 00 */ stfs f0, 0(r7) -/* 803698BC 0036681C 38 86 00 14 */ addi r4, r6, 0x14 -/* 803698C0 00366820 38 66 00 18 */ addi r3, r6, 0x18 -/* 803698C4 00366824 7C 00 D8 30 */ slw r0, r0, r27 -/* 803698C8 00366828 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 803698CC 0036682C D0 07 00 04 */ stfs f0, 4(r7) -/* 803698D0 00366830 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 803698D4 00366834 D0 07 00 08 */ stfs f0, 8(r7) -/* 803698D8 00366838 C0 01 00 14 */ lfs f0, 0x14(r1) -/* 803698DC 0036683C D0 07 00 0C */ stfs f0, 0xc(r7) -/* 803698E0 00366840 C0 01 00 18 */ lfs f0, 0x18(r1) -/* 803698E4 00366844 D0 07 00 10 */ stfs f0, 0x10(r7) -/* 803698E8 00366848 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 803698EC 0036684C D0 07 00 14 */ stfs f0, 0x14(r7) -/* 803698F0 00366850 C0 01 00 20 */ lfs f0, 0x20(r1) -/* 803698F4 00366854 D0 07 00 18 */ stfs f0, 0x18(r7) -/* 803698F8 00366858 80 C1 00 24 */ lwz r6, 0x24(r1) -/* 803698FC 0036685C 90 C7 00 1C */ stw r6, 0x1c(r7) -/* 80369900 00366860 80 C1 00 28 */ lwz r6, 0x28(r1) -/* 80369904 00366864 90 C7 00 20 */ stw r6, 0x20(r7) -/* 80369908 00366868 80 FC 00 0C */ lwz r7, 0xc(r28) -/* 8036990C 0036686C 80 DC 00 1C */ lwz r6, 0x1c(r28) -/* 80369910 00366870 7C 07 FC 2E */ lfsx f0, r7, r31 -/* 80369914 00366874 EC 1F 00 32 */ fmuls f0, f31, f0 -/* 80369918 00366878 7C 06 25 2E */ stfsx f0, r6, r4 -/* 8036991C 0036687C 80 DC 00 0C */ lwz r6, 0xc(r28) -/* 80369920 00366880 80 9C 00 1C */ lwz r4, 0x1c(r28) -/* 80369924 00366884 7C 06 2C 2E */ lfsx f0, r6, r5 -/* 80369928 00366888 EC 1F 00 32 */ fmuls f0, f31, f0 -/* 8036992C 0036688C 7C 04 1D 2E */ stfsx f0, r4, r3 -/* 80369930 00366890 A0 7C 00 2C */ lhz r3, 0x2c(r28) -/* 80369934 00366894 7C 60 03 78 */ or r0, r3, r0 -/* 80369938 00366898 B0 1C 00 2C */ sth r0, 0x2c(r28) -/* 8036993C 0036689C 88 1D 00 18 */ lbz r0, 0x18(r29) -/* 80369940 003668A0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80369944 003668A4 41 82 00 14 */ beq lbl_80369958 -/* 80369948 003668A8 7F 83 E3 78 */ mr r3, r28 -/* 8036994C 003668AC 7F C4 F3 78 */ mr r4, r30 -/* 80369950 003668B0 4B FF F9 01 */ bl CreateRumbleHandle__12CRumbleVoiceFs -/* 80369954 003668B4 48 00 00 08 */ b lbl_8036995C -lbl_80369958: -/* 80369958 003668B8 38 60 FF FF */ li r3, -1 -lbl_8036995C: -/* 8036995C 003668BC E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 -/* 80369960 003668C0 CB E1 00 50 */ lfd f31, 0x50(r1) -/* 80369964 003668C4 BB 61 00 3C */ lmw r27, 0x3c(r1) -/* 80369968 003668C8 80 01 00 64 */ lwz r0, 0x64(r1) -/* 8036996C 003668CC 7C 08 03 A6 */ mtlr r0 -/* 80369970 003668D0 38 21 00 60 */ addi r1, r1, 0x60 -/* 80369974 003668D4 4E 80 00 20 */ blr - -.global __ct__12CRumbleVoiceFv -__ct__12CRumbleVoiceFv: -/* 80369978 003668D8 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 8036997C 003668DC 7C 08 02 A6 */ mflr r0 -/* 80369980 003668E0 90 01 00 54 */ stw r0, 0x54(r1) -/* 80369984 003668E4 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 80369988 003668E8 7C 7F 1B 78 */ mr r31, r3 -/* 8036998C 003668EC 38 61 00 08 */ addi r3, r1, 8 -/* 80369990 003668F0 48 00 02 7D */ bl __ct__9SAdsrDataFv -/* 80369994 003668F4 38 00 00 04 */ li r0, 4 -/* 80369998 003668F8 90 1F 00 04 */ stw r0, 4(r31) -/* 8036999C 003668FC 90 1F 00 08 */ stw r0, 8(r31) -/* 803699A0 00366900 80 1F 00 04 */ lwz r0, 4(r31) -/* 803699A4 00366904 1C 60 00 1C */ mulli r3, r0, 0x1c -/* 803699A8 00366908 2C 03 00 00 */ cmpwi r3, 0 -/* 803699AC 0036690C 40 82 00 10 */ bne lbl_803699BC -/* 803699B0 00366910 38 00 00 00 */ li r0, 0 -/* 803699B4 00366914 90 1F 00 0C */ stw r0, 0xc(r31) -/* 803699B8 00366918 48 00 00 18 */ b lbl_803699D0 -lbl_803699BC: -/* 803699BC 0036691C 3C 80 80 3E */ lis r4, lbl_803D8540@ha -/* 803699C0 00366920 38 A0 00 00 */ li r5, 0 -/* 803699C4 00366924 38 84 85 40 */ addi r4, r4, lbl_803D8540@l -/* 803699C8 00366928 4B FA BE 51 */ bl __nwa__FUlPCcPCc -/* 803699CC 0036692C 90 7F 00 0C */ stw r3, 0xc(r31) -lbl_803699D0: -/* 803699D0 00366930 38 00 00 02 */ li r0, 2 -/* 803699D4 00366934 80 9F 00 0C */ lwz r4, 0xc(r31) -/* 803699D8 00366938 38 60 00 00 */ li r3, 0 -/* 803699DC 0036693C 7C 09 03 A6 */ mtctr r0 -lbl_803699E0: -/* 803699E0 00366940 28 04 00 00 */ cmplwi r4, 0 -/* 803699E4 00366944 41 82 00 3C */ beq lbl_80369A20 -/* 803699E8 00366948 C0 01 00 08 */ lfs f0, 8(r1) -/* 803699EC 0036694C D0 04 00 00 */ stfs f0, 0(r4) -/* 803699F0 00366950 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 803699F4 00366954 D0 04 00 04 */ stfs f0, 4(r4) -/* 803699F8 00366958 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 803699FC 0036695C D0 04 00 08 */ stfs f0, 8(r4) -/* 80369A00 00366960 C0 01 00 14 */ lfs f0, 0x14(r1) -/* 80369A04 00366964 D0 04 00 0C */ stfs f0, 0xc(r4) -/* 80369A08 00366968 C0 01 00 18 */ lfs f0, 0x18(r1) -/* 80369A0C 0036696C D0 04 00 10 */ stfs f0, 0x10(r4) -/* 80369A10 00366970 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 80369A14 00366974 D0 04 00 14 */ stfs f0, 0x14(r4) -/* 80369A18 00366978 88 01 00 20 */ lbz r0, 0x20(r1) -/* 80369A1C 0036697C 98 04 00 18 */ stb r0, 0x18(r4) -lbl_80369A20: -/* 80369A20 00366980 34 84 00 1C */ addic. r4, r4, 0x1c -/* 80369A24 00366984 41 82 00 3C */ beq lbl_80369A60 -/* 80369A28 00366988 C0 01 00 08 */ lfs f0, 8(r1) -/* 80369A2C 0036698C D0 04 00 00 */ stfs f0, 0(r4) -/* 80369A30 00366990 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 80369A34 00366994 D0 04 00 04 */ stfs f0, 4(r4) -/* 80369A38 00366998 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 80369A3C 0036699C D0 04 00 08 */ stfs f0, 8(r4) -/* 80369A40 003669A0 C0 01 00 14 */ lfs f0, 0x14(r1) -/* 80369A44 003669A4 D0 04 00 0C */ stfs f0, 0xc(r4) -/* 80369A48 003669A8 C0 01 00 18 */ lfs f0, 0x18(r1) -/* 80369A4C 003669AC D0 04 00 10 */ stfs f0, 0x10(r4) -/* 80369A50 003669B0 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 80369A54 003669B4 D0 04 00 14 */ stfs f0, 0x14(r4) -/* 80369A58 003669B8 88 01 00 20 */ lbz r0, 0x20(r1) -/* 80369A5C 003669BC 98 04 00 18 */ stb r0, 0x18(r4) -lbl_80369A60: -/* 80369A60 003669C0 38 63 00 01 */ addi r3, r3, 1 -/* 80369A64 003669C4 38 84 00 1C */ addi r4, r4, 0x1c -/* 80369A68 003669C8 42 00 FF 78 */ bdnz lbl_803699E0 -/* 80369A6C 003669CC 38 61 00 24 */ addi r3, r1, 0x24 -/* 80369A70 003669D0 48 00 02 39 */ bl Stopped__10SAdsrDeltaFv -/* 80369A74 003669D4 38 00 00 04 */ li r0, 4 -/* 80369A78 003669D8 90 1F 00 14 */ stw r0, 0x14(r31) -/* 80369A7C 003669DC 90 1F 00 18 */ stw r0, 0x18(r31) -/* 80369A80 003669E0 80 1F 00 14 */ lwz r0, 0x14(r31) -/* 80369A84 003669E4 1C 60 00 24 */ mulli r3, r0, 0x24 -/* 80369A88 003669E8 2C 03 00 00 */ cmpwi r3, 0 -/* 80369A8C 003669EC 40 82 00 10 */ bne lbl_80369A9C -/* 80369A90 003669F0 38 00 00 00 */ li r0, 0 -/* 80369A94 003669F4 90 1F 00 1C */ stw r0, 0x1c(r31) -/* 80369A98 003669F8 48 00 00 18 */ b lbl_80369AB0 -lbl_80369A9C: -/* 80369A9C 003669FC 3C 80 80 3E */ lis r4, lbl_803D8540@ha -/* 80369AA0 00366A00 38 A0 00 00 */ li r5, 0 -/* 80369AA4 00366A04 38 84 85 40 */ addi r4, r4, lbl_803D8540@l -/* 80369AA8 00366A08 4B FA BD 71 */ bl __nwa__FUlPCcPCc -/* 80369AAC 00366A0C 90 7F 00 1C */ stw r3, 0x1c(r31) -lbl_80369AB0: -/* 80369AB0 00366A10 38 00 00 02 */ li r0, 2 -/* 80369AB4 00366A14 80 9F 00 1C */ lwz r4, 0x1c(r31) -/* 80369AB8 00366A18 38 60 00 00 */ li r3, 0 -/* 80369ABC 00366A1C 7C 09 03 A6 */ mtctr r0 -lbl_80369AC0: -/* 80369AC0 00366A20 28 04 00 00 */ cmplwi r4, 0 -/* 80369AC4 00366A24 41 82 00 4C */ beq lbl_80369B10 -/* 80369AC8 00366A28 C0 01 00 24 */ lfs f0, 0x24(r1) -/* 80369ACC 00366A2C D0 04 00 00 */ stfs f0, 0(r4) -/* 80369AD0 00366A30 C0 01 00 28 */ lfs f0, 0x28(r1) -/* 80369AD4 00366A34 D0 04 00 04 */ stfs f0, 4(r4) -/* 80369AD8 00366A38 C0 01 00 2C */ lfs f0, 0x2c(r1) -/* 80369ADC 00366A3C D0 04 00 08 */ stfs f0, 8(r4) -/* 80369AE0 00366A40 C0 01 00 30 */ lfs f0, 0x30(r1) -/* 80369AE4 00366A44 D0 04 00 0C */ stfs f0, 0xc(r4) -/* 80369AE8 00366A48 C0 01 00 34 */ lfs f0, 0x34(r1) -/* 80369AEC 00366A4C D0 04 00 10 */ stfs f0, 0x10(r4) -/* 80369AF0 00366A50 C0 01 00 38 */ lfs f0, 0x38(r1) -/* 80369AF4 00366A54 D0 04 00 14 */ stfs f0, 0x14(r4) -/* 80369AF8 00366A58 C0 01 00 3C */ lfs f0, 0x3c(r1) -/* 80369AFC 00366A5C D0 04 00 18 */ stfs f0, 0x18(r4) -/* 80369B00 00366A60 80 01 00 40 */ lwz r0, 0x40(r1) -/* 80369B04 00366A64 90 04 00 1C */ stw r0, 0x1c(r4) -/* 80369B08 00366A68 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80369B0C 00366A6C 90 04 00 20 */ stw r0, 0x20(r4) -lbl_80369B10: -/* 80369B10 00366A70 34 84 00 24 */ addic. r4, r4, 0x24 -/* 80369B14 00366A74 41 82 00 4C */ beq lbl_80369B60 -/* 80369B18 00366A78 C0 01 00 24 */ lfs f0, 0x24(r1) -/* 80369B1C 00366A7C D0 04 00 00 */ stfs f0, 0(r4) -/* 80369B20 00366A80 C0 01 00 28 */ lfs f0, 0x28(r1) -/* 80369B24 00366A84 D0 04 00 04 */ stfs f0, 4(r4) -/* 80369B28 00366A88 C0 01 00 2C */ lfs f0, 0x2c(r1) -/* 80369B2C 00366A8C D0 04 00 08 */ stfs f0, 8(r4) -/* 80369B30 00366A90 C0 01 00 30 */ lfs f0, 0x30(r1) -/* 80369B34 00366A94 D0 04 00 0C */ stfs f0, 0xc(r4) -/* 80369B38 00366A98 C0 01 00 34 */ lfs f0, 0x34(r1) -/* 80369B3C 00366A9C D0 04 00 10 */ stfs f0, 0x10(r4) -/* 80369B40 00366AA0 C0 01 00 38 */ lfs f0, 0x38(r1) -/* 80369B44 00366AA4 D0 04 00 14 */ stfs f0, 0x14(r4) -/* 80369B48 00366AA8 C0 01 00 3C */ lfs f0, 0x3c(r1) -/* 80369B4C 00366AAC D0 04 00 18 */ stfs f0, 0x18(r4) -/* 80369B50 00366AB0 80 01 00 40 */ lwz r0, 0x40(r1) -/* 80369B54 00366AB4 90 04 00 1C */ stw r0, 0x1c(r4) -/* 80369B58 00366AB8 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80369B5C 00366ABC 90 04 00 20 */ stw r0, 0x20(r4) -lbl_80369B60: -/* 80369B60 00366AC0 38 63 00 01 */ addi r3, r3, 1 -/* 80369B64 00366AC4 38 84 00 24 */ addi r4, r4, 0x24 -/* 80369B68 00366AC8 42 00 FF 58 */ bdnz lbl_80369AC0 -/* 80369B6C 00366ACC 38 00 00 04 */ li r0, 4 -/* 80369B70 00366AD0 34 7F 00 24 */ addic. r3, r31, 0x24 -/* 80369B74 00366AD4 90 1F 00 20 */ stw r0, 0x20(r31) -/* 80369B78 00366AD8 41 82 00 0C */ beq lbl_80369B84 -/* 80369B7C 00366ADC A0 0D 9E A0 */ lhz r0, lbl_805A8A60@sda21(r13) -/* 80369B80 00366AE0 B0 03 00 00 */ sth r0, 0(r3) -lbl_80369B84: -/* 80369B84 00366AE4 34 63 00 02 */ addic. r3, r3, 2 -/* 80369B88 00366AE8 41 82 00 0C */ beq lbl_80369B94 -/* 80369B8C 00366AEC A0 0D 9E A0 */ lhz r0, lbl_805A8A60@sda21(r13) -/* 80369B90 00366AF0 B0 03 00 00 */ sth r0, 0(r3) -lbl_80369B94: -/* 80369B94 00366AF4 34 63 00 02 */ addic. r3, r3, 2 -/* 80369B98 00366AF8 41 82 00 0C */ beq lbl_80369BA4 -/* 80369B9C 00366AFC A0 0D 9E A0 */ lhz r0, lbl_805A8A60@sda21(r13) -/* 80369BA0 00366B00 B0 03 00 00 */ sth r0, 0(r3) -lbl_80369BA4: -/* 80369BA4 00366B04 34 63 00 02 */ addic. r3, r3, 2 -/* 80369BA8 00366B08 41 82 00 0C */ beq lbl_80369BB4 -/* 80369BAC 00366B0C A0 0D 9E A0 */ lhz r0, lbl_805A8A60@sda21(r13) -/* 80369BB0 00366B10 B0 03 00 00 */ sth r0, 0(r3) -lbl_80369BB4: -/* 80369BB4 00366B14 38 00 00 00 */ li r0, 0 -/* 80369BB8 00366B18 7F E3 FB 78 */ mr r3, r31 -/* 80369BBC 00366B1C B0 1F 00 2C */ sth r0, 0x2c(r31) -/* 80369BC0 00366B20 98 1F 00 2E */ stb r0, 0x2e(r31) -/* 80369BC4 00366B24 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 80369BC8 00366B28 80 01 00 54 */ lwz r0, 0x54(r1) -/* 80369BCC 00366B2C 7C 08 03 A6 */ mtlr r0 -/* 80369BD0 00366B30 38 21 00 50 */ addi r1, r1, 0x50 -/* 80369BD4 00366B34 4E 80 00 20 */ blr - -.global __ct__9SAdsrDataFffffffbb -__ct__9SAdsrDataFffffffbb: -/* 80369BD8 00366B38 D0 23 00 00 */ stfs f1, 0(r3) -/* 80369BDC 00366B3C D0 43 00 04 */ stfs f2, 4(r3) -/* 80369BE0 00366B40 D0 63 00 08 */ stfs f3, 8(r3) -/* 80369BE4 00366B44 D0 83 00 0C */ stfs f4, 0xc(r3) -/* 80369BE8 00366B48 D0 A3 00 10 */ stfs f5, 0x10(r3) -/* 80369BEC 00366B4C D0 C3 00 14 */ stfs f6, 0x14(r3) -/* 80369BF0 00366B50 88 03 00 18 */ lbz r0, 0x18(r3) -/* 80369BF4 00366B54 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 80369BF8 00366B58 98 03 00 18 */ stb r0, 0x18(r3) -/* 80369BFC 00366B5C 88 03 00 18 */ lbz r0, 0x18(r3) -/* 80369C00 00366B60 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 -/* 80369C04 00366B64 98 03 00 18 */ stb r0, 0x18(r3) -/* 80369C08 00366B68 4E 80 00 20 */ blr - -.global __ct__9SAdsrDataFv -__ct__9SAdsrDataFv: -/* 80369C0C 00366B6C C0 02 CD E8 */ lfs f0, lbl_805AEB08@sda21(r2) -/* 80369C10 00366B70 38 80 00 00 */ li r4, 0 -/* 80369C14 00366B74 D0 03 00 00 */ stfs f0, 0(r3) -/* 80369C18 00366B78 D0 03 00 04 */ stfs f0, 4(r3) -/* 80369C1C 00366B7C D0 03 00 08 */ stfs f0, 8(r3) -/* 80369C20 00366B80 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 80369C24 00366B84 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 80369C28 00366B88 D0 03 00 14 */ stfs f0, 0x14(r3) -/* 80369C2C 00366B8C 88 03 00 18 */ lbz r0, 0x18(r3) -/* 80369C30 00366B90 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 80369C34 00366B94 98 03 00 18 */ stb r0, 0x18(r3) -/* 80369C38 00366B98 88 03 00 18 */ lbz r0, 0x18(r3) -/* 80369C3C 00366B9C 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 -/* 80369C40 00366BA0 98 03 00 18 */ stb r0, 0x18(r3) -/* 80369C44 00366BA4 4E 80 00 20 */ blr - -.global __ct__10SAdsrDeltaFQ210SAdsrDelta6EPhase15ERumblePriority -__ct__10SAdsrDeltaFQ210SAdsrDelta6EPhase15ERumblePriority: -/* 80369C48 00366BA8 2C 04 00 01 */ cmpwi r4, 1 -/* 80369C4C 00366BAC 40 82 00 0C */ bne lbl_80369C58 -/* 80369C50 00366BB0 C0 02 CD EC */ lfs f0, lbl_805AEB0C@sda21(r2) -/* 80369C54 00366BB4 48 00 00 08 */ b lbl_80369C5C -lbl_80369C58: -/* 80369C58 00366BB8 C0 02 CD E8 */ lfs f0, lbl_805AEB08@sda21(r2) -lbl_80369C5C: -/* 80369C5C 00366BBC D0 03 00 00 */ stfs f0, 0(r3) -/* 80369C60 00366BC0 C0 02 CD E8 */ lfs f0, lbl_805AEB08@sda21(r2) -/* 80369C64 00366BC4 D0 03 00 04 */ stfs f0, 4(r3) -/* 80369C68 00366BC8 D0 03 00 08 */ stfs f0, 8(r3) -/* 80369C6C 00366BCC D0 03 00 0C */ stfs f0, 0xc(r3) -/* 80369C70 00366BD0 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 80369C74 00366BD4 90 A3 00 1C */ stw r5, 0x1c(r3) -/* 80369C78 00366BD8 90 83 00 20 */ stw r4, 0x20(r3) -/* 80369C7C 00366BDC 4E 80 00 20 */ blr - -.global __ct__10SAdsrDeltaFQ210SAdsrDelta6EPhase -__ct__10SAdsrDeltaFQ210SAdsrDelta6EPhase: -/* 80369C80 00366BE0 C0 02 CD E8 */ lfs f0, lbl_805AEB08@sda21(r2) -/* 80369C84 00366BE4 38 00 00 00 */ li r0, 0 -/* 80369C88 00366BE8 D0 03 00 00 */ stfs f0, 0(r3) -/* 80369C8C 00366BEC D0 03 00 04 */ stfs f0, 4(r3) -/* 80369C90 00366BF0 D0 03 00 08 */ stfs f0, 8(r3) -/* 80369C94 00366BF4 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 80369C98 00366BF8 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 80369C9C 00366BFC 90 03 00 1C */ stw r0, 0x1c(r3) -/* 80369CA0 00366C00 90 83 00 20 */ stw r4, 0x20(r3) -/* 80369CA4 00366C04 4E 80 00 20 */ blr - -.global Stopped__10SAdsrDeltaFv -Stopped__10SAdsrDeltaFv: -/* 80369CA8 00366C08 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80369CAC 00366C0C 7C 08 02 A6 */ mflr r0 -/* 80369CB0 00366C10 38 80 00 00 */ li r4, 0 -/* 80369CB4 00366C14 90 01 00 14 */ stw r0, 0x14(r1) -/* 80369CB8 00366C18 4B FF FF C9 */ bl __ct__10SAdsrDeltaFQ210SAdsrDelta6EPhase -/* 80369CBC 00366C1C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80369CC0 00366C20 7C 08 03 A6 */ mtlr r0 -/* 80369CC4 00366C24 38 21 00 10 */ addi r1, r1, 0x10 -/* 80369CC8 00366C28 4E 80 00 20 */ blr - -.global Start__10SAdsrDeltaF15ERumblePriorityb -Start__10SAdsrDeltaF15ERumblePriorityb: -/* 80369CCC 00366C2C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80369CD0 00366C30 7C 08 02 A6 */ mflr r0 -/* 80369CD4 00366C34 90 01 00 14 */ stw r0, 0x14(r1) -/* 80369CD8 00366C38 54 A0 06 3F */ clrlwi. r0, r5, 0x18 -/* 80369CDC 00366C3C 7C 85 23 78 */ mr r5, r4 -/* 80369CE0 00366C40 38 80 00 02 */ li r4, 2 -/* 80369CE4 00366C44 41 82 00 08 */ beq lbl_80369CEC -/* 80369CE8 00366C48 38 80 00 01 */ li r4, 1 -lbl_80369CEC: -/* 80369CEC 00366C4C 4B FF FF 5D */ bl __ct__10SAdsrDeltaFQ210SAdsrDelta6EPhase15ERumblePriority -/* 80369CF0 00366C50 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80369CF4 00366C54 7C 08 03 A6 */ mtlr r0 -/* 80369CF8 00366C58 38 21 00 10 */ addi r1, r1, 0x10 -/* 80369CFC 00366C5C 4E 80 00 20 */ blr - -.global SetDisabled__14CRumbleManagerFb -SetDisabled__14CRumbleManagerFb: -/* 80369D00 00366C60 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80369D04 00366C64 7C 08 02 A6 */ mflr r0 -/* 80369D08 00366C68 90 01 00 14 */ stw r0, 0x14(r1) -/* 80369D0C 00366C6C 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 80369D10 00366C70 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80369D14 00366C74 7C 9F 23 78 */ mr r31, r4 -/* 80369D18 00366C78 93 C1 00 08 */ stw r30, 8(r1) -/* 80369D1C 00366C7C 7C 7E 1B 78 */ mr r30, r3 -/* 80369D20 00366C80 41 82 00 08 */ beq lbl_80369D28 -/* 80369D24 00366C84 48 00 00 29 */ bl HardStopAll__16CRumbleGeneratorFv -lbl_80369D28: -/* 80369D28 00366C88 88 1E 00 F0 */ lbz r0, 0xf0(r30) -/* 80369D2C 00366C8C 53 E0 3E 30 */ rlwimi r0, r31, 7, 0x18, 0x18 -/* 80369D30 00366C90 98 1E 00 F0 */ stb r0, 0xf0(r30) -/* 80369D34 00366C94 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80369D38 00366C98 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80369D3C 00366C9C 83 C1 00 08 */ lwz r30, 8(r1) -/* 80369D40 00366CA0 7C 08 03 A6 */ mtlr r0 -/* 80369D44 00366CA4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80369D48 00366CA8 4E 80 00 20 */ blr - -.global HardStopAll__16CRumbleGeneratorFv -HardStopAll__16CRumbleGeneratorFv: -/* 80369D4C 00366CAC 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80369D50 00366CB0 7C 08 02 A6 */ mflr r0 -/* 80369D54 00366CB4 90 01 00 34 */ stw r0, 0x34(r1) -/* 80369D58 00366CB8 DB E1 00 20 */ stfd f31, 0x20(r1) -/* 80369D5C 00366CBC F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 -/* 80369D60 00366CC0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80369D64 00366CC4 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80369D68 00366CC8 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80369D6C 00366CCC 93 81 00 10 */ stw r28, 0x10(r1) -/* 80369D70 00366CD0 C3 E2 CD F0 */ lfs f31, lbl_805AEB10@sda21(r2) -/* 80369D74 00366CD4 7C 7E 1B 78 */ mr r30, r3 -/* 80369D78 00366CD8 3B 80 00 00 */ li r28, 0 -/* 80369D7C 00366CDC 7C 7D 1B 78 */ mr r29, r3 -/* 80369D80 00366CE0 3B E0 00 00 */ li r31, 0 -lbl_80369D84: -/* 80369D84 00366CE4 D3 FE 00 C0 */ stfs f31, 0xc0(r30) -/* 80369D88 00366CE8 7F A3 EB 78 */ mr r3, r29 -/* 80369D8C 00366CEC D3 FE 00 D0 */ stfs f31, 0xd0(r30) -/* 80369D90 00366CF0 93 FE 00 E0 */ stw r31, 0xe0(r30) -/* 80369D94 00366CF4 4B FF F9 35 */ bl HardReset__12CRumbleVoiceFv -/* 80369D98 00366CF8 3B 9C 00 01 */ addi r28, r28, 1 -/* 80369D9C 00366CFC 3B BD 00 30 */ addi r29, r29, 0x30 -/* 80369DA0 00366D00 2C 1C 00 04 */ cmpwi r28, 4 -/* 80369DA4 00366D04 3B DE 00 04 */ addi r30, r30, 4 -/* 80369DA8 00366D08 41 80 FF DC */ blt lbl_80369D84 -/* 80369DAC 00366D0C 3C 60 80 3E */ lis r3, lbl_803D8548@ha -/* 80369DB0 00366D10 38 63 85 48 */ addi r3, r3, lbl_803D8548@l -/* 80369DB4 00366D14 48 01 CD 71 */ bl PADControlAllMotors -/* 80369DB8 00366D18 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 -/* 80369DBC 00366D1C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80369DC0 00366D20 CB E1 00 20 */ lfd f31, 0x20(r1) -/* 80369DC4 00366D24 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80369DC8 00366D28 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80369DCC 00366D2C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80369DD0 00366D30 83 81 00 10 */ lwz r28, 0x10(r1) -/* 80369DD4 00366D34 7C 08 03 A6 */ mtlr r0 -/* 80369DD8 00366D38 38 21 00 30 */ addi r1, r1, 0x30 -/* 80369DDC 00366D3C 4E 80 00 20 */ blr - -.global Update__16CRumbleGeneratorFf -Update__16CRumbleGeneratorFf: -/* 80369DE0 00366D40 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80369DE4 00366D44 7C 08 02 A6 */ mflr r0 -/* 80369DE8 00366D48 90 01 00 44 */ stw r0, 0x44(r1) -/* 80369DEC 00366D4C DB E1 00 30 */ stfd f31, 0x30(r1) -/* 80369DF0 00366D50 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 80369DF4 00366D54 DB C1 00 20 */ stfd f30, 0x20(r1) -/* 80369DF8 00366D58 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 -/* 80369DFC 00366D5C BF 61 00 0C */ stmw r27, 0xc(r1) -/* 80369E00 00366D60 88 03 00 F0 */ lbz r0, 0xf0(r3) -/* 80369E04 00366D64 FF C0 08 90 */ fmr f30, f1 -/* 80369E08 00366D68 7C 7B 1B 78 */ mr r27, r3 -/* 80369E0C 00366D6C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80369E10 00366D70 40 82 01 18 */ bne lbl_80369F28 -/* 80369E14 00366D74 7F 7F DB 78 */ mr r31, r27 -/* 80369E18 00366D78 7F 7E DB 78 */ mr r30, r27 -/* 80369E1C 00366D7C 3B A0 00 00 */ li r29, 0 -/* 80369E20 00366D80 3B 80 00 00 */ li r28, 0 -lbl_80369E24: -/* 80369E24 00366D84 7F E3 FB 78 */ mr r3, r31 -/* 80369E28 00366D88 4B FF F4 AD */ bl GetIntensity__12CRumbleVoiceCFv -/* 80369E2C 00366D8C FF E0 08 90 */ fmr f31, f1 -/* 80369E30 00366D90 7F E3 FB 78 */ mr r3, r31 -/* 80369E34 00366D94 FC 20 F0 90 */ fmr f1, f30 -/* 80369E38 00366D98 4B FF F5 29 */ bl Update__12CRumbleVoiceFf -/* 80369E3C 00366D9C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80369E40 00366DA0 41 82 00 14 */ beq lbl_80369E54 -/* 80369E44 00366DA4 C0 62 CD F0 */ lfs f3, lbl_805AEB10@sda21(r2) -/* 80369E48 00366DA8 FC 1F 18 40 */ fcmpo cr0, f31, f3 -/* 80369E4C 00366DAC 4C 40 13 82 */ cror 2, 0, 2 -/* 80369E50 00366DB0 40 82 00 2C */ bne lbl_80369E7C -lbl_80369E54: -/* 80369E54 00366DB4 C0 02 CD F0 */ lfs f0, lbl_805AEB10@sda21(r2) -/* 80369E58 00366DB8 D0 1E 00 C0 */ stfs f0, 0xc0(r30) -/* 80369E5C 00366DBC D0 1E 00 D0 */ stfs f0, 0xd0(r30) -/* 80369E60 00366DC0 80 1E 00 E0 */ lwz r0, 0xe0(r30) -/* 80369E64 00366DC4 2C 00 00 00 */ cmpwi r0, 0 -/* 80369E68 00366DC8 41 82 00 9C */ beq lbl_80369F04 -/* 80369E6C 00366DCC 38 00 00 00 */ li r0, 0 -/* 80369E70 00366DD0 3B A0 00 01 */ li r29, 1 -/* 80369E74 00366DD4 90 1E 00 E0 */ stw r0, 0xe0(r30) -/* 80369E78 00366DD8 48 00 00 8C */ b lbl_80369F04 -lbl_80369E7C: -/* 80369E7C 00366DDC C0 02 CD F8 */ lfs f0, lbl_805AEB18@sda21(r2) -/* 80369E80 00366DE0 C0 5E 00 C0 */ lfs f2, 0xc0(r30) -/* 80369E84 00366DE4 EC 00 07 F2 */ fmuls f0, f0, f31 -/* 80369E88 00366DE8 C0 22 CD F4 */ lfs f1, lbl_805AEB14@sda21(r2) -/* 80369E8C 00366DEC EC 42 F0 2A */ fadds f2, f2, f30 -/* 80369E90 00366DF0 EC 01 00 24 */ fdivs f0, f1, f0 -/* 80369E94 00366DF4 D0 5E 00 C0 */ stfs f2, 0xc0(r30) -/* 80369E98 00366DF8 C0 3E 00 C0 */ lfs f1, 0xc0(r30) -/* 80369E9C 00366DFC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80369EA0 00366E00 4C 41 13 82 */ cror 2, 1, 2 -/* 80369EA4 00366E04 40 82 00 24 */ bne lbl_80369EC8 -/* 80369EA8 00366E08 D0 7E 00 C0 */ stfs f3, 0xc0(r30) -/* 80369EAC 00366E0C 80 1E 00 E0 */ lwz r0, 0xe0(r30) -/* 80369EB0 00366E10 2C 00 00 01 */ cmpwi r0, 1 -/* 80369EB4 00366E14 41 82 00 50 */ beq lbl_80369F04 -/* 80369EB8 00366E18 38 00 00 01 */ li r0, 1 -/* 80369EBC 00366E1C 3B A0 00 01 */ li r29, 1 -/* 80369EC0 00366E20 90 1E 00 E0 */ stw r0, 0xe0(r30) -/* 80369EC4 00366E24 48 00 00 40 */ b lbl_80369F04 -lbl_80369EC8: -/* 80369EC8 00366E28 C0 3E 00 D0 */ lfs f1, 0xd0(r30) -/* 80369ECC 00366E2C C0 02 CD FC */ lfs f0, lbl_805AEB1C@sda21(r2) -/* 80369ED0 00366E30 EC 21 F0 2A */ fadds f1, f1, f30 -/* 80369ED4 00366E34 D0 3E 00 D0 */ stfs f1, 0xd0(r30) -/* 80369ED8 00366E38 C0 3E 00 D0 */ lfs f1, 0xd0(r30) -/* 80369EDC 00366E3C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80369EE0 00366E40 4C 41 13 82 */ cror 2, 1, 2 -/* 80369EE4 00366E44 40 82 00 20 */ bne lbl_80369F04 -/* 80369EE8 00366E48 D0 7E 00 D0 */ stfs f3, 0xd0(r30) -/* 80369EEC 00366E4C 80 1E 00 E0 */ lwz r0, 0xe0(r30) -/* 80369EF0 00366E50 2C 00 00 00 */ cmpwi r0, 0 -/* 80369EF4 00366E54 41 82 00 10 */ beq lbl_80369F04 -/* 80369EF8 00366E58 38 00 00 00 */ li r0, 0 -/* 80369EFC 00366E5C 3B A0 00 01 */ li r29, 1 -/* 80369F00 00366E60 90 1E 00 E0 */ stw r0, 0xe0(r30) -lbl_80369F04: -/* 80369F04 00366E64 3B 9C 00 01 */ addi r28, r28, 1 -/* 80369F08 00366E68 3B DE 00 04 */ addi r30, r30, 4 -/* 80369F0C 00366E6C 2C 1C 00 04 */ cmpwi r28, 4 -/* 80369F10 00366E70 3B FF 00 30 */ addi r31, r31, 0x30 -/* 80369F14 00366E74 41 80 FF 10 */ blt lbl_80369E24 -/* 80369F18 00366E78 57 A0 06 3F */ clrlwi. r0, r29, 0x18 -/* 80369F1C 00366E7C 41 82 00 0C */ beq lbl_80369F28 -/* 80369F20 00366E80 38 7B 00 E0 */ addi r3, r27, 0xe0 -/* 80369F24 00366E84 48 01 CC 01 */ bl PADControlAllMotors -lbl_80369F28: -/* 80369F28 00366E88 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 80369F2C 00366E8C CB E1 00 30 */ lfd f31, 0x30(r1) -/* 80369F30 00366E90 E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 -/* 80369F34 00366E94 CB C1 00 20 */ lfd f30, 0x20(r1) -/* 80369F38 00366E98 BB 61 00 0C */ lmw r27, 0xc(r1) -/* 80369F3C 00366E9C 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80369F40 00366EA0 7C 08 03 A6 */ mtlr r0 -/* 80369F44 00366EA4 38 21 00 40 */ addi r1, r1, 0x40 -/* 80369F48 00366EA8 4E 80 00 20 */ blr - -.global Rumble__16CRumbleGeneratorFRC9SAdsrDataf15ERumblePriority7EIOPort -Rumble__16CRumbleGeneratorFRC9SAdsrDataf15ERumblePriority7EIOPort: -/* 80369F4C 00366EAC 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80369F50 00366EB0 7C 08 02 A6 */ mflr r0 -/* 80369F54 00366EB4 90 01 00 34 */ stw r0, 0x34(r1) -/* 80369F58 00366EB8 DB E1 00 20 */ stfd f31, 0x20(r1) -/* 80369F5C 00366EBC F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 -/* 80369F60 00366EC0 BF 41 00 08 */ stmw r26, 8(r1) -/* 80369F64 00366EC4 7C DD 33 78 */ mr r29, r6 -/* 80369F68 00366EC8 7C 7A 1B 78 */ mr r26, r3 -/* 80369F6C 00366ECC 1F FD 00 30 */ mulli r31, r29, 0x30 -/* 80369F70 00366ED0 FF E0 08 90 */ fmr f31, f1 -/* 80369F74 00366ED4 7C 9B 23 78 */ mr r27, r4 -/* 80369F78 00366ED8 7C BC 2B 78 */ mr r28, r5 -/* 80369F7C 00366EDC 7F DA FA 14 */ add r30, r26, r31 -/* 80369F80 00366EE0 7F C3 F3 78 */ mr r3, r30 -/* 80369F84 00366EE4 4B FF F3 9D */ bl GetFreeChannel__12CRumbleVoiceCFv -/* 80369F88 00366EE8 54 60 04 3E */ clrlwi r0, r3, 0x10 -/* 80369F8C 00366EEC 7C 65 1B 78 */ mr r5, r3 -/* 80369F90 00366EF0 1C 60 00 24 */ mulli r3, r0, 0x24 -/* 80369F94 00366EF4 80 9E 00 1C */ lwz r4, 0x1c(r30) -/* 80369F98 00366EF8 38 03 00 1C */ addi r0, r3, 0x1c -/* 80369F9C 00366EFC 7C 04 00 2E */ lwzx r0, r4, r0 -/* 80369FA0 00366F00 7C 1C 00 00 */ cmpw r28, r0 -/* 80369FA4 00366F04 41 80 00 30 */ blt lbl_80369FD4 -/* 80369FA8 00366F08 57 A0 10 3A */ slwi r0, r29, 2 -/* 80369FAC 00366F0C C0 02 CD F0 */ lfs f0, lbl_805AEB10@sda21(r2) -/* 80369FB0 00366F10 7C DA 02 14 */ add r6, r26, r0 -/* 80369FB4 00366F14 FC 20 F8 90 */ fmr f1, f31 -/* 80369FB8 00366F18 D0 06 00 C0 */ stfs f0, 0xc0(r6) -/* 80369FBC 00366F1C 7F C3 F3 78 */ mr r3, r30 -/* 80369FC0 00366F20 7F 64 DB 78 */ mr r4, r27 -/* 80369FC4 00366F24 D0 06 00 D0 */ stfs f0, 0xd0(r6) -/* 80369FC8 00366F28 7F 86 E3 78 */ mr r6, r28 -/* 80369FCC 00366F2C 4B FF F8 41 */ bl Activate__12CRumbleVoiceFRC9SAdsrDatasf15ERumblePriority -/* 80369FD0 00366F30 48 00 00 08 */ b lbl_80369FD8 -lbl_80369FD4: -/* 80369FD4 00366F34 38 60 FF FF */ li r3, -1 -lbl_80369FD8: -/* 80369FD8 00366F38 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 -/* 80369FDC 00366F3C CB E1 00 20 */ lfd f31, 0x20(r1) -/* 80369FE0 00366F40 BB 41 00 08 */ lmw r26, 8(r1) -/* 80369FE4 00366F44 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80369FE8 00366F48 7C 08 03 A6 */ mtlr r0 -/* 80369FEC 00366F4C 38 21 00 30 */ addi r1, r1, 0x30 -/* 80369FF0 00366F50 4E 80 00 20 */ blr - -.global __dt__16CRumbleGeneratorFv -__dt__16CRumbleGeneratorFv: -/* 80369FF4 00366F54 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80369FF8 00366F58 7C 08 02 A6 */ mflr r0 -/* 80369FFC 00366F5C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8036A000 00366F60 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8036A004 00366F64 7C 9F 23 78 */ mr r31, r4 -/* 8036A008 00366F68 93 C1 00 08 */ stw r30, 8(r1) -/* 8036A00C 00366F6C 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8036A010 00366F70 41 82 00 30 */ beq lbl_8036A040 -/* 8036A014 00366F74 4B FF FD 39 */ bl HardStopAll__16CRumbleGeneratorFv -/* 8036A018 00366F78 3C 80 80 37 */ lis r4, __dt__12CRumbleVoiceFv@ha -/* 8036A01C 00366F7C 7F C3 F3 78 */ mr r3, r30 -/* 8036A020 00366F80 38 84 A0 5C */ addi r4, r4, __dt__12CRumbleVoiceFv@l -/* 8036A024 00366F84 38 A0 00 30 */ li r5, 0x30 -/* 8036A028 00366F88 38 C0 00 04 */ li r6, 4 -/* 8036A02C 00366F8C 48 01 F6 A9 */ bl __destroy_arr -/* 8036A030 00366F90 7F E0 07 35 */ extsh. r0, r31 -/* 8036A034 00366F94 40 81 00 0C */ ble lbl_8036A040 -/* 8036A038 00366F98 7F C3 F3 78 */ mr r3, r30 -/* 8036A03C 00366F9C 4B FA B8 F5 */ bl Free__7CMemoryFPCv -lbl_8036A040: -/* 8036A040 00366FA0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8036A044 00366FA4 7F C3 F3 78 */ mr r3, r30 -/* 8036A048 00366FA8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8036A04C 00366FAC 83 C1 00 08 */ lwz r30, 8(r1) -/* 8036A050 00366FB0 7C 08 03 A6 */ mtlr r0 -/* 8036A054 00366FB4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8036A058 00366FB8 4E 80 00 20 */ blr - -.global __dt__12CRumbleVoiceFv -__dt__12CRumbleVoiceFv: -/* 8036A05C 00366FBC 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8036A060 00366FC0 7C 08 02 A6 */ mflr r0 -/* 8036A064 00366FC4 90 01 00 34 */ stw r0, 0x34(r1) -/* 8036A068 00366FC8 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8036A06C 00366FCC 7C 9F 23 78 */ mr r31, r4 -/* 8036A070 00366FD0 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8036A074 00366FD4 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8036A078 00366FD8 41 82 01 00 */ beq lbl_8036A178 -/* 8036A07C 00366FDC 34 1E 00 20 */ addic. r0, r30, 0x20 -/* 8036A080 00366FE0 41 82 00 58 */ beq lbl_8036A0D8 -/* 8036A084 00366FE4 80 BE 00 20 */ lwz r5, 0x20(r30) -/* 8036A088 00366FE8 38 60 00 00 */ li r3, 0 -/* 8036A08C 00366FEC 2C 05 00 00 */ cmpwi r5, 0 -/* 8036A090 00366FF0 40 81 00 40 */ ble lbl_8036A0D0 -/* 8036A094 00366FF4 2C 05 00 08 */ cmpwi r5, 8 -/* 8036A098 00366FF8 38 85 FF F8 */ addi r4, r5, -8 -/* 8036A09C 00366FFC 40 81 00 20 */ ble lbl_8036A0BC -/* 8036A0A0 00367000 38 04 00 07 */ addi r0, r4, 7 -/* 8036A0A4 00367004 54 00 E8 FE */ srwi r0, r0, 3 -/* 8036A0A8 00367008 7C 09 03 A6 */ mtctr r0 -/* 8036A0AC 0036700C 2C 04 00 00 */ cmpwi r4, 0 -/* 8036A0B0 00367010 40 81 00 0C */ ble lbl_8036A0BC -lbl_8036A0B4: -/* 8036A0B4 00367014 38 63 00 08 */ addi r3, r3, 8 -/* 8036A0B8 00367018 42 00 FF FC */ bdnz lbl_8036A0B4 -lbl_8036A0BC: -/* 8036A0BC 0036701C 7C 03 28 50 */ subf r0, r3, r5 -/* 8036A0C0 00367020 7C 09 03 A6 */ mtctr r0 -/* 8036A0C4 00367024 7C 03 28 00 */ cmpw r3, r5 -/* 8036A0C8 00367028 40 80 00 08 */ bge lbl_8036A0D0 -lbl_8036A0CC: -/* 8036A0CC 0036702C 42 00 00 00 */ bdnz lbl_8036A0CC -lbl_8036A0D0: -/* 8036A0D0 00367030 38 00 00 00 */ li r0, 0 -/* 8036A0D4 00367034 90 1E 00 20 */ stw r0, 0x20(r30) -lbl_8036A0D8: -/* 8036A0D8 00367038 34 1E 00 10 */ addic. r0, r30, 0x10 -/* 8036A0DC 0036703C 41 82 00 44 */ beq lbl_8036A120 -/* 8036A0E0 00367040 80 1E 00 14 */ lwz r0, 0x14(r30) -/* 8036A0E4 00367044 80 7E 00 1C */ lwz r3, 0x1c(r30) -/* 8036A0E8 00367048 1C 00 00 24 */ mulli r0, r0, 0x24 -/* 8036A0EC 0036704C 90 61 00 1C */ stw r3, 0x1c(r1) -/* 8036A0F0 00367050 7C 64 1B 78 */ mr r4, r3 -/* 8036A0F4 00367054 7C 03 02 14 */ add r0, r3, r0 -/* 8036A0F8 00367058 90 61 00 18 */ stw r3, 0x18(r1) -/* 8036A0FC 0036705C 90 01 00 24 */ stw r0, 0x24(r1) -/* 8036A100 00367060 90 01 00 20 */ stw r0, 0x20(r1) -/* 8036A104 00367064 48 00 00 08 */ b lbl_8036A10C -lbl_8036A108: -/* 8036A108 00367068 38 84 00 24 */ addi r4, r4, 0x24 -lbl_8036A10C: -/* 8036A10C 0036706C 7C 04 00 40 */ cmplw r4, r0 -/* 8036A110 00367070 40 82 FF F8 */ bne lbl_8036A108 -/* 8036A114 00367074 28 03 00 00 */ cmplwi r3, 0 -/* 8036A118 00367078 41 82 00 08 */ beq lbl_8036A120 -/* 8036A11C 0036707C 4B FA B8 15 */ bl Free__7CMemoryFPCv -lbl_8036A120: -/* 8036A120 00367080 28 1E 00 00 */ cmplwi r30, 0 -/* 8036A124 00367084 41 82 00 44 */ beq lbl_8036A168 -/* 8036A128 00367088 80 1E 00 04 */ lwz r0, 4(r30) -/* 8036A12C 0036708C 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 8036A130 00367090 1C 00 00 1C */ mulli r0, r0, 0x1c -/* 8036A134 00367094 90 61 00 0C */ stw r3, 0xc(r1) -/* 8036A138 00367098 7C 64 1B 78 */ mr r4, r3 -/* 8036A13C 0036709C 7C 03 02 14 */ add r0, r3, r0 -/* 8036A140 003670A0 90 61 00 08 */ stw r3, 8(r1) -/* 8036A144 003670A4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8036A148 003670A8 90 01 00 10 */ stw r0, 0x10(r1) -/* 8036A14C 003670AC 48 00 00 08 */ b lbl_8036A154 -lbl_8036A150: -/* 8036A150 003670B0 38 84 00 1C */ addi r4, r4, 0x1c -lbl_8036A154: -/* 8036A154 003670B4 7C 04 00 40 */ cmplw r4, r0 -/* 8036A158 003670B8 40 82 FF F8 */ bne lbl_8036A150 -/* 8036A15C 003670BC 28 03 00 00 */ cmplwi r3, 0 -/* 8036A160 003670C0 41 82 00 08 */ beq lbl_8036A168 -/* 8036A164 003670C4 4B FA B7 CD */ bl Free__7CMemoryFPCv -lbl_8036A168: -/* 8036A168 003670C8 7F E0 07 35 */ extsh. r0, r31 -/* 8036A16C 003670CC 40 81 00 0C */ ble lbl_8036A178 -/* 8036A170 003670D0 7F C3 F3 78 */ mr r3, r30 -/* 8036A174 003670D4 4B FA B7 BD */ bl Free__7CMemoryFPCv -lbl_8036A178: -/* 8036A178 003670D8 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8036A17C 003670DC 7F C3 F3 78 */ mr r3, r30 -/* 8036A180 003670E0 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8036A184 003670E4 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8036A188 003670E8 7C 08 03 A6 */ mtlr r0 -/* 8036A18C 003670EC 38 21 00 30 */ addi r1, r1, 0x30 -/* 8036A190 003670F0 4E 80 00 20 */ blr - -.global __ct__16CRumbleGeneratorFv -__ct__16CRumbleGeneratorFv: -/* 8036A194 003670F4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8036A198 003670F8 7C 08 02 A6 */ mflr r0 -/* 8036A19C 003670FC 3C 80 80 37 */ lis r4, __ct__12CRumbleVoiceFv@ha -/* 8036A1A0 00367100 3C A0 80 37 */ lis r5, __dt__12CRumbleVoiceFv@ha -/* 8036A1A4 00367104 90 01 00 14 */ stw r0, 0x14(r1) -/* 8036A1A8 00367108 38 84 99 78 */ addi r4, r4, __ct__12CRumbleVoiceFv@l -/* 8036A1AC 0036710C 38 A5 A0 5C */ addi r5, r5, __dt__12CRumbleVoiceFv@l -/* 8036A1B0 00367110 38 C0 00 30 */ li r6, 0x30 -/* 8036A1B4 00367114 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8036A1B8 00367118 7C 7F 1B 78 */ mr r31, r3 -/* 8036A1BC 0036711C 38 E0 00 04 */ li r7, 4 -/* 8036A1C0 00367120 48 01 F5 8D */ bl __construct_array -/* 8036A1C4 00367124 88 1F 00 F0 */ lbz r0, 0xf0(r31) -/* 8036A1C8 00367128 38 60 00 00 */ li r3, 0 -/* 8036A1CC 0036712C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 8036A1D0 00367130 7F E3 FB 78 */ mr r3, r31 -/* 8036A1D4 00367134 98 1F 00 F0 */ stb r0, 0xf0(r31) -/* 8036A1D8 00367138 4B FF FB 75 */ bl HardStopAll__16CRumbleGeneratorFv -/* 8036A1DC 0036713C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8036A1E0 00367140 7F E3 FB 78 */ mr r3, r31 -/* 8036A1E4 00367144 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8036A1E8 00367148 7C 08 03 A6 */ mtlr r0 -/* 8036A1EC 0036714C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8036A1F0 00367150 4E 80 00 20 */ blr - -.global ReadCompleted__10SDSPStreamFiP11DVDFileInfo -ReadCompleted__10SDSPStreamFiP11DVDFileInfo: -/* 8036A1F4 00367154 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8036A1F8 00367158 7C 08 02 A6 */ mflr r0 -/* 8036A1FC 0036715C 3C 60 80 54 */ lis r3, lbl_80540640@ha -/* 8036A200 00367160 38 A0 00 00 */ li r5, 0 -/* 8036A204 00367164 90 01 00 14 */ stw r0, 0x14(r1) -/* 8036A208 00367168 38 63 06 40 */ addi r3, r3, lbl_80540640@l -/* 8036A20C 0036716C 38 03 00 50 */ addi r0, r3, 0x50 -/* 8036A210 00367170 7C 00 20 40 */ cmplw r0, r4 -/* 8036A214 00367174 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8036A218 00367178 41 82 00 74 */ beq lbl_8036A28C -/* 8036A21C 0036717C 38 03 00 8C */ addi r0, r3, 0x8c -/* 8036A220 00367180 7C 00 20 40 */ cmplw r0, r4 -/* 8036A224 00367184 41 82 00 68 */ beq lbl_8036A28C -/* 8036A228 00367188 38 63 00 F4 */ addi r3, r3, 0xf4 -/* 8036A22C 0036718C 38 A0 00 01 */ li r5, 1 -/* 8036A230 00367190 38 03 00 50 */ addi r0, r3, 0x50 -/* 8036A234 00367194 7C 00 20 40 */ cmplw r0, r4 -/* 8036A238 00367198 41 82 00 54 */ beq lbl_8036A28C -/* 8036A23C 0036719C 38 03 00 8C */ addi r0, r3, 0x8c -/* 8036A240 003671A0 7C 00 20 40 */ cmplw r0, r4 -/* 8036A244 003671A4 41 82 00 48 */ beq lbl_8036A28C -/* 8036A248 003671A8 38 03 01 44 */ addi r0, r3, 0x144 -/* 8036A24C 003671AC 38 A0 00 02 */ li r5, 2 -/* 8036A250 003671B0 7C 00 20 40 */ cmplw r0, r4 -/* 8036A254 003671B4 38 63 00 F4 */ addi r3, r3, 0xf4 -/* 8036A258 003671B8 41 82 00 34 */ beq lbl_8036A28C -/* 8036A25C 003671BC 38 03 00 8C */ addi r0, r3, 0x8c -/* 8036A260 003671C0 7C 00 20 40 */ cmplw r0, r4 -/* 8036A264 003671C4 41 82 00 28 */ beq lbl_8036A28C -/* 8036A268 003671C8 38 03 01 44 */ addi r0, r3, 0x144 -/* 8036A26C 003671CC 38 A0 00 03 */ li r5, 3 -/* 8036A270 003671D0 7C 00 20 40 */ cmplw r0, r4 -/* 8036A274 003671D4 38 63 00 F4 */ addi r3, r3, 0xf4 -/* 8036A278 003671D8 41 82 00 14 */ beq lbl_8036A28C -/* 8036A27C 003671DC 38 03 00 8C */ addi r0, r3, 0x8c -/* 8036A280 003671E0 7C 00 20 40 */ cmplw r0, r4 -/* 8036A284 003671E4 41 82 00 08 */ beq lbl_8036A28C -/* 8036A288 003671E8 38 A0 00 04 */ li r5, 4 -lbl_8036A28C: -/* 8036A28C 003671EC 1C A5 00 F4 */ mulli r5, r5, 0xf4 -/* 8036A290 003671F0 3C 60 80 54 */ lis r3, lbl_80540640@ha -/* 8036A294 003671F4 38 03 06 40 */ addi r0, r3, lbl_80540640@l -/* 8036A298 003671F8 7F E0 2A 14 */ add r31, r0, r5 -/* 8036A29C 003671FC 88 7F 00 EC */ lbz r3, 0xec(r31) -/* 8036A2A0 00367200 38 03 FF FF */ addi r0, r3, -1 -/* 8036A2A4 00367204 98 1F 00 EC */ stb r0, 0xec(r31) -/* 8036A2A8 00367208 88 1F 00 EC */ lbz r0, 0xec(r31) -/* 8036A2AC 0036720C 28 00 00 00 */ cmplwi r0, 0 -/* 8036A2B0 00367210 40 82 01 94 */ bne lbl_8036A444 -/* 8036A2B4 00367214 80 1F 00 F0 */ lwz r0, 0xf0(r31) -/* 8036A2B8 00367218 2C 00 00 00 */ cmpwi r0, 0 -/* 8036A2BC 0036721C 41 82 00 20 */ beq lbl_8036A2DC -/* 8036A2C0 00367220 38 00 00 00 */ li r0, 0 -/* 8036A2C4 00367224 7F E3 FB 78 */ mr r3, r31 -/* 8036A2C8 00367228 90 1F 00 F0 */ stw r0, 0xf0(r31) -/* 8036A2CC 0036722C 48 00 0F 6D */ bl CloseFiles__10SDSPStreamFv -/* 8036A2D0 00367230 7F E3 FB 78 */ mr r3, r31 -/* 8036A2D4 00367234 48 00 09 39 */ bl DeallocateStream__10SDSPStreamFv -/* 8036A2D8 00367238 48 00 01 6C */ b lbl_8036A444 -lbl_8036A2DC: -/* 8036A2DC 0036723C 7C 83 23 78 */ mr r3, r4 -/* 8036A2E0 00367240 48 00 9E 25 */ bl DVDGetCommandBlockStatus -/* 8036A2E4 00367244 2C 03 00 00 */ cmpwi r3, 0 -/* 8036A2E8 00367248 40 82 01 10 */ bne lbl_8036A3F8 -/* 8036A2EC 0036724C 88 1F 00 00 */ lbz r0, 0(r31) -/* 8036A2F0 00367250 2C 00 00 03 */ cmpwi r0, 3 -/* 8036A2F4 00367254 41 82 01 50 */ beq lbl_8036A444 -/* 8036A2F8 00367258 40 80 00 10 */ bge lbl_8036A308 -/* 8036A2FC 0036725C 2C 00 00 02 */ cmpwi r0, 2 -/* 8036A300 00367260 40 80 00 14 */ bge lbl_8036A314 -/* 8036A304 00367264 48 00 01 40 */ b lbl_8036A444 -lbl_8036A308: -/* 8036A308 00367268 2C 00 00 05 */ cmpwi r0, 5 -/* 8036A30C 0036726C 40 80 01 38 */ bge lbl_8036A444 -/* 8036A310 00367270 48 00 00 B0 */ b lbl_8036A3C0 -lbl_8036A314: -/* 8036A314 00367274 80 7F 00 08 */ lwz r3, 8(r31) -/* 8036A318 00367278 28 03 00 00 */ cmplwi r3, 0 -/* 8036A31C 0036727C 41 82 00 30 */ beq lbl_8036A34C -/* 8036A320 00367280 88 03 00 00 */ lbz r0, 0(r3) -/* 8036A324 00367284 28 00 00 03 */ cmplwi r0, 3 -/* 8036A328 00367288 41 82 00 10 */ beq lbl_8036A338 -/* 8036A32C 0036728C 38 00 00 03 */ li r0, 3 -/* 8036A330 00367290 98 1F 00 00 */ stb r0, 0(r31) -/* 8036A334 00367294 48 00 01 10 */ b lbl_8036A444 -lbl_8036A338: -/* 8036A338 00367298 48 00 01 21 */ bl InitializeStream__10SDSPStreamFv -/* 8036A33C 0036729C 2C 03 00 00 */ cmpwi r3, 0 -/* 8036A340 003672A0 40 82 00 0C */ bne lbl_8036A34C -/* 8036A344 003672A4 38 00 00 00 */ li r0, 0 -/* 8036A348 003672A8 90 1F 00 08 */ stw r0, 8(r31) -lbl_8036A34C: -/* 8036A34C 003672AC 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 8036A350 003672B0 28 03 00 00 */ cmplwi r3, 0 -/* 8036A354 003672B4 41 82 00 30 */ beq lbl_8036A384 -/* 8036A358 003672B8 88 03 00 00 */ lbz r0, 0(r3) -/* 8036A35C 003672BC 28 00 00 03 */ cmplwi r0, 3 -/* 8036A360 003672C0 41 82 00 10 */ beq lbl_8036A370 -/* 8036A364 003672C4 38 00 00 03 */ li r0, 3 -/* 8036A368 003672C8 98 1F 00 00 */ stb r0, 0(r31) -/* 8036A36C 003672CC 48 00 00 D8 */ b lbl_8036A444 -lbl_8036A370: -/* 8036A370 003672D0 48 00 00 E9 */ bl InitializeStream__10SDSPStreamFv -/* 8036A374 003672D4 2C 03 00 00 */ cmpwi r3, 0 -/* 8036A378 003672D8 40 82 00 0C */ bne lbl_8036A384 -/* 8036A37C 003672DC 38 00 00 00 */ li r0, 0 -/* 8036A380 003672E0 90 1F 00 0C */ stw r0, 0xc(r31) -lbl_8036A384: -/* 8036A384 003672E4 7F E3 FB 78 */ mr r3, r31 -/* 8036A388 003672E8 48 00 00 D1 */ bl InitializeStream__10SDSPStreamFv -/* 8036A38C 003672EC 2C 03 00 00 */ cmpwi r3, 0 -/* 8036A390 003672F0 40 82 00 B4 */ bne lbl_8036A444 -/* 8036A394 003672F4 80 7F 00 08 */ lwz r3, 8(r31) -/* 8036A398 003672F8 28 03 00 00 */ cmplwi r3, 0 -/* 8036A39C 003672FC 41 82 00 0C */ beq lbl_8036A3A8 -/* 8036A3A0 00367300 38 00 00 00 */ li r0, 0 -/* 8036A3A4 00367304 90 03 00 0C */ stw r0, 0xc(r3) -lbl_8036A3A8: -/* 8036A3A8 00367308 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 8036A3AC 0036730C 28 03 00 00 */ cmplwi r3, 0 -/* 8036A3B0 00367310 41 82 00 94 */ beq lbl_8036A444 -/* 8036A3B4 00367314 38 00 00 00 */ li r0, 0 -/* 8036A3B8 00367318 90 03 00 08 */ stw r0, 8(r3) -/* 8036A3BC 0036731C 48 00 00 88 */ b lbl_8036A444 -lbl_8036A3C0: -/* 8036A3C0 00367320 88 1F 00 E0 */ lbz r0, 0xe0(r31) -/* 8036A3C4 00367324 80 7F 00 C8 */ lwz r3, 0xc8(r31) -/* 8036A3C8 00367328 28 00 00 00 */ cmplwi r0, 0 -/* 8036A3CC 0036732C 41 82 00 0C */ beq lbl_8036A3D8 -/* 8036A3D0 00367330 38 80 00 00 */ li r4, 0 -/* 8036A3D4 00367334 48 00 00 0C */ b lbl_8036A3E0 -lbl_8036A3D8: -/* 8036A3D8 00367338 80 1F 00 DC */ lwz r0, 0xdc(r31) -/* 8036A3DC 0036733C 54 04 F8 7E */ srwi r4, r0, 1 -lbl_8036A3E0: -/* 8036A3E0 00367340 80 1F 00 DC */ lwz r0, 0xdc(r31) -/* 8036A3E4 00367344 38 C0 00 00 */ li r6, 0 -/* 8036A3E8 00367348 38 E0 00 00 */ li r7, 0 -/* 8036A3EC 0036734C 54 05 F8 7E */ srwi r5, r0, 1 -/* 8036A3F0 00367350 48 03 30 51 */ bl sndStreamARAMUpdate -/* 8036A3F4 00367354 48 00 00 50 */ b lbl_8036A444 -lbl_8036A3F8: -/* 8036A3F8 00367358 88 1F 00 00 */ lbz r0, 0(r31) -/* 8036A3FC 0036735C 28 00 00 04 */ cmplwi r0, 4 -/* 8036A400 00367360 40 82 00 0C */ bne lbl_8036A40C -/* 8036A404 00367364 80 7F 00 C8 */ lwz r3, 0xc8(r31) -/* 8036A408 00367368 48 03 61 19 */ bl sndStreamDeactivate -lbl_8036A40C: -/* 8036A40C 0036736C 7F E3 FB 78 */ mr r3, r31 -/* 8036A410 00367370 48 00 0E 29 */ bl CloseFiles__10SDSPStreamFv -/* 8036A414 00367374 7F E3 FB 78 */ mr r3, r31 -/* 8036A418 00367378 48 00 07 F5 */ bl DeallocateStream__10SDSPStreamFv -/* 8036A41C 0036737C 80 7F 00 08 */ lwz r3, 8(r31) -/* 8036A420 00367380 28 03 00 00 */ cmplwi r3, 0 -/* 8036A424 00367384 41 82 00 0C */ beq lbl_8036A430 -/* 8036A428 00367388 38 00 00 00 */ li r0, 0 -/* 8036A42C 0036738C 90 03 00 0C */ stw r0, 0xc(r3) -lbl_8036A430: -/* 8036A430 00367390 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 8036A434 00367394 28 03 00 00 */ cmplwi r3, 0 -/* 8036A438 00367398 41 82 00 0C */ beq lbl_8036A444 -/* 8036A43C 0036739C 38 00 00 00 */ li r0, 0 -/* 8036A440 003673A0 90 03 00 08 */ stw r0, 8(r3) -lbl_8036A444: -/* 8036A444 003673A4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8036A448 003673A8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8036A44C 003673AC 7C 08 03 A6 */ mtlr r0 -/* 8036A450 003673B0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8036A454 003673B4 4E 80 00 20 */ blr - -.global InitializeStream__10SDSPStreamFv -InitializeStream__10SDSPStreamFv: -/* 8036A458 003673B8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8036A45C 003673BC 7C 08 02 A6 */ mflr r0 -/* 8036A460 003673C0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8036A464 003673C4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8036A468 003673C8 7C 7F 1B 78 */ mr r31, r3 -/* 8036A46C 003673CC 88 03 00 00 */ lbz r0, 0(r3) -/* 8036A470 003673D0 28 00 00 00 */ cmplwi r0, 0 -/* 8036A474 003673D4 40 82 00 0C */ bne lbl_8036A480 -/* 8036A478 003673D8 38 60 00 00 */ li r3, 0 -/* 8036A47C 003673DC 48 00 00 90 */ b lbl_8036A50C -lbl_8036A480: -/* 8036A480 003673E0 80 7F 00 C8 */ lwz r3, 0xc8(r31) -/* 8036A484 003673E4 38 C0 00 00 */ li r6, 0 -/* 8036A488 003673E8 88 9F 00 4C */ lbz r4, 0x4c(r31) -/* 8036A48C 003673EC 38 E0 00 00 */ li r7, 0 -/* 8036A490 003673F0 88 BF 00 4D */ lbz r5, 0x4d(r31) -/* 8036A494 003673F4 39 00 00 00 */ li r8, 0 -/* 8036A498 003673F8 48 03 47 99 */ bl sndStreamMixParameterEx -/* 8036A49C 003673FC 80 7F 00 C8 */ lwz r3, 0xc8(r31) -/* 8036A4A0 00367400 A0 9F 00 14 */ lhz r4, 0x14(r31) -/* 8036A4A4 00367404 48 03 4C E9 */ bl sndStreamFrq -/* 8036A4A8 00367408 80 7F 00 C8 */ lwz r3, 0xc8(r31) -/* 8036A4AC 0036740C 38 9F 00 2C */ addi r4, r31, 0x2c -/* 8036A4B0 00367410 48 03 3B 79 */ bl sndStreamADPCMParameter -/* 8036A4B4 00367414 80 1F 00 DC */ lwz r0, 0xdc(r31) -/* 8036A4B8 00367418 38 80 00 00 */ li r4, 0 -/* 8036A4BC 0036741C 80 7F 00 C8 */ lwz r3, 0xc8(r31) -/* 8036A4C0 00367420 38 C0 00 00 */ li r6, 0 -/* 8036A4C4 00367424 54 05 F8 7E */ srwi r5, r0, 1 -/* 8036A4C8 00367428 38 E0 00 00 */ li r7, 0 -/* 8036A4CC 0036742C 48 03 2F 75 */ bl sndStreamARAMUpdate -/* 8036A4D0 00367430 80 7F 00 C8 */ lwz r3, 0xc8(r31) -/* 8036A4D4 00367434 48 03 59 F5 */ bl sndStreamActivate -/* 8036A4D8 00367438 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8036A4DC 0036743C 41 82 00 1C */ beq lbl_8036A4F8 -/* 8036A4E0 00367440 38 00 00 04 */ li r0, 4 -/* 8036A4E4 00367444 7F E3 FB 78 */ mr r3, r31 -/* 8036A4E8 00367448 98 1F 00 00 */ stb r0, 0(r31) -/* 8036A4EC 0036744C 48 00 00 B9 */ bl BufferStream__10SDSPStreamFv -/* 8036A4F0 00367450 38 60 00 01 */ li r3, 1 -/* 8036A4F4 00367454 48 00 00 18 */ b lbl_8036A50C -lbl_8036A4F8: -/* 8036A4F8 00367458 7F E3 FB 78 */ mr r3, r31 -/* 8036A4FC 0036745C 48 00 07 11 */ bl DeallocateStream__10SDSPStreamFv -/* 8036A500 00367460 7F E3 FB 78 */ mr r3, r31 -/* 8036A504 00367464 48 00 0D 35 */ bl CloseFiles__10SDSPStreamFv -/* 8036A508 00367468 38 60 00 00 */ li r3, 0 -lbl_8036A50C: -/* 8036A50C 0036746C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8036A510 00367470 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8036A514 00367474 7C 08 03 A6 */ mtlr r0 -/* 8036A518 00367478 38 21 00 10 */ addi r1, r1, 0x10 -/* 8036A51C 0036747C 4E 80 00 20 */ blr - -.global UpdateStream__10SDSPStreamFPviPvii -UpdateStream__10SDSPStreamFPviPvii: -/* 8036A520 00367480 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8036A524 00367484 7C 08 02 A6 */ mflr r0 -/* 8036A528 00367488 90 01 00 14 */ stw r0, 0x14(r1) -/* 8036A52C 0036748C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8036A530 00367490 7C FF 3B 78 */ mr r31, r7 -/* 8036A534 00367494 80 07 00 E8 */ lwz r0, 0xe8(r7) -/* 8036A538 00367498 2C 00 00 00 */ cmpwi r0, 0 -/* 8036A53C 0036749C 41 82 00 14 */ beq lbl_8036A550 -/* 8036A540 003674A0 7F E3 FB 78 */ mr r3, r31 -/* 8036A544 003674A4 48 00 02 3D */ bl StopStream__10SDSPStreamFv -/* 8036A548 003674A8 38 60 00 00 */ li r3, 0 -/* 8036A54C 003674AC 48 00 00 44 */ b lbl_8036A590 -lbl_8036A550: -/* 8036A550 003674B0 80 1F 00 DC */ lwz r0, 0xdc(r31) -/* 8036A554 003674B4 7C 64 32 14 */ add r3, r4, r6 -/* 8036A558 003674B8 54 00 F8 7E */ srwi r0, r0, 1 -/* 8036A55C 003674BC 7C 03 00 40 */ cmplw r3, r0 -/* 8036A560 003674C0 40 80 00 0C */ bge lbl_8036A56C -/* 8036A564 003674C4 38 60 00 00 */ li r3, 0 -/* 8036A568 003674C8 48 00 00 28 */ b lbl_8036A590 -lbl_8036A56C: -/* 8036A56C 003674CC 88 1F 00 EC */ lbz r0, 0xec(r31) -/* 8036A570 003674D0 28 00 00 00 */ cmplwi r0, 0 -/* 8036A574 003674D4 40 82 00 18 */ bne lbl_8036A58C -/* 8036A578 003674D8 7F E3 FB 78 */ mr r3, r31 -/* 8036A57C 003674DC 48 00 00 29 */ bl BufferStream__10SDSPStreamFv -/* 8036A580 003674E0 80 1F 00 DC */ lwz r0, 0xdc(r31) -/* 8036A584 003674E4 54 03 F8 7E */ srwi r3, r0, 1 -/* 8036A588 003674E8 48 00 00 08 */ b lbl_8036A590 -lbl_8036A58C: -/* 8036A58C 003674EC 38 60 00 00 */ li r3, 0 -lbl_8036A590: -/* 8036A590 003674F0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8036A594 003674F4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8036A598 003674F8 7C 08 03 A6 */ mtlr r0 -/* 8036A59C 003674FC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8036A5A0 00367500 4E 80 00 20 */ blr - -.global BufferStream__10SDSPStreamFv -BufferStream__10SDSPStreamFv: -/* 8036A5A4 00367504 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8036A5A8 00367508 7C 08 02 A6 */ mflr r0 -/* 8036A5AC 0036750C 90 01 00 24 */ stw r0, 0x24(r1) -/* 8036A5B0 00367510 BF 61 00 0C */ stmw r27, 0xc(r1) -/* 8036A5B4 00367514 7C 7B 1B 78 */ mr r27, r3 -/* 8036A5B8 00367518 3B A0 00 00 */ li r29, 0 -/* 8036A5BC 0036751C 88 03 00 E0 */ lbz r0, 0xe0(r3) -/* 8036A5C0 00367520 80 63 00 D8 */ lwz r3, 0xd8(r3) -/* 8036A5C4 00367524 28 00 00 00 */ cmplwi r0, 0 -/* 8036A5C8 00367528 54 65 F8 7E */ srwi r5, r3, 1 -/* 8036A5CC 0036752C 7C BE 2B 78 */ mr r30, r5 -/* 8036A5D0 00367530 41 82 00 10 */ beq lbl_8036A5E0 -/* 8036A5D4 00367534 80 1B 00 D4 */ lwz r0, 0xd4(r27) -/* 8036A5D8 00367538 7F E0 2A 14 */ add r31, r0, r5 -/* 8036A5DC 0036753C 48 00 00 08 */ b lbl_8036A5E4 -lbl_8036A5E0: -/* 8036A5E0 00367540 83 FB 00 D4 */ lwz r31, 0xd4(r27) -lbl_8036A5E4: -/* 8036A5E4 00367544 88 9B 00 20 */ lbz r4, 0x20(r27) -/* 8036A5E8 00367548 28 04 00 00 */ cmplwi r4, 0 -/* 8036A5EC 0036754C 41 82 00 0C */ beq lbl_8036A5F8 -/* 8036A5F0 00367550 80 DB 00 28 */ lwz r6, 0x28(r27) -/* 8036A5F4 00367554 48 00 00 08 */ b lbl_8036A5FC -lbl_8036A5F8: -/* 8036A5F8 00367558 80 DB 00 D0 */ lwz r6, 0xd0(r27) -lbl_8036A5FC: -/* 8036A5FC 0036755C 80 7B 00 CC */ lwz r3, 0xcc(r27) -/* 8036A600 00367560 7C 03 F2 14 */ add r0, r3, r30 -/* 8036A604 00367564 7C 00 30 40 */ cmplw r0, r6 -/* 8036A608 00367568 40 81 00 8C */ ble lbl_8036A694 -/* 8036A60C 0036756C 7C 06 18 40 */ cmplw r6, r3 -/* 8036A610 00367570 40 81 00 2C */ ble lbl_8036A63C -/* 8036A614 00367574 28 04 00 00 */ cmplwi r4, 0 -/* 8036A618 00367578 7F C3 30 50 */ subf r30, r3, r6 -/* 8036A61C 0036757C 41 82 00 0C */ beq lbl_8036A628 -/* 8036A620 00367580 7F BE 28 50 */ subf r29, r30, r5 -/* 8036A624 00367584 48 00 00 70 */ b lbl_8036A694 -lbl_8036A628: -/* 8036A628 00367588 7C 7F F2 14 */ add r3, r31, r30 -/* 8036A62C 0036758C 7C BE 28 50 */ subf r5, r30, r5 -/* 8036A630 00367590 38 80 00 00 */ li r4, 0 -/* 8036A634 00367594 4B C9 8D 75 */ bl memset -/* 8036A638 00367598 48 00 00 5C */ b lbl_8036A694 -lbl_8036A63C: -/* 8036A63C 0036759C 28 04 00 00 */ cmplwi r4, 0 -/* 8036A640 003675A0 41 82 00 10 */ beq lbl_8036A650 -/* 8036A644 003675A4 80 1B 00 24 */ lwz r0, 0x24(r27) -/* 8036A648 003675A8 90 1B 00 CC */ stw r0, 0xcc(r27) -/* 8036A64C 003675AC 48 00 00 48 */ b lbl_8036A694 -lbl_8036A650: -/* 8036A650 003675B0 7F E3 FB 78 */ mr r3, r31 -/* 8036A654 003675B4 38 80 00 00 */ li r4, 0 -/* 8036A658 003675B8 4B C9 8D 51 */ bl memset -/* 8036A65C 003675BC 88 1B 00 E0 */ lbz r0, 0xe0(r27) -/* 8036A660 003675C0 80 7B 00 C8 */ lwz r3, 0xc8(r27) -/* 8036A664 003675C4 28 00 00 00 */ cmplwi r0, 0 -/* 8036A668 003675C8 41 82 00 10 */ beq lbl_8036A678 -/* 8036A66C 003675CC 80 1B 00 DC */ lwz r0, 0xdc(r27) -/* 8036A670 003675D0 54 04 F8 7E */ srwi r4, r0, 1 -/* 8036A674 003675D4 48 00 00 08 */ b lbl_8036A67C -lbl_8036A678: -/* 8036A678 003675D8 38 80 00 00 */ li r4, 0 -lbl_8036A67C: -/* 8036A67C 003675DC 80 1B 00 DC */ lwz r0, 0xdc(r27) -/* 8036A680 003675E0 38 C0 00 00 */ li r6, 0 -/* 8036A684 003675E4 38 E0 00 00 */ li r7, 0 -/* 8036A688 003675E8 54 05 F8 7E */ srwi r5, r0, 1 -/* 8036A68C 003675EC 48 03 2D B5 */ bl sndStreamARAMUpdate -/* 8036A690 003675F0 3B C0 00 00 */ li r30, 0 -lbl_8036A694: -/* 8036A694 003675F4 48 01 6F CD */ bl OSDisableInterrupts -/* 8036A698 003675F8 28 1E 00 00 */ cmplwi r30, 0 -/* 8036A69C 003675FC 7C 7C 1B 78 */ mr r28, r3 -/* 8036A6A0 00367600 41 82 00 98 */ beq lbl_8036A738 -/* 8036A6A4 00367604 88 1B 00 EC */ lbz r0, 0xec(r27) -/* 8036A6A8 00367608 28 00 00 00 */ cmplwi r0, 0 -/* 8036A6AC 0036760C 40 82 00 AC */ bne lbl_8036A758 -/* 8036A6B0 00367610 80 DB 00 18 */ lwz r6, 0x18(r27) -/* 8036A6B4 00367614 3C 60 80 37 */ lis r3, ReadCompleted__10SDSPStreamFiP11DVDFileInfo@ha -/* 8036A6B8 00367618 80 1B 00 CC */ lwz r0, 0xcc(r27) -/* 8036A6BC 0036761C 38 E3 A1 F4 */ addi r7, r3, ReadCompleted__10SDSPStreamFiP11DVDFileInfo@l -/* 8036A6C0 00367620 7F E4 FB 78 */ mr r4, r31 -/* 8036A6C4 00367624 7F C5 F3 78 */ mr r5, r30 -/* 8036A6C8 00367628 38 7B 00 50 */ addi r3, r27, 0x50 -/* 8036A6CC 0036762C 7C C6 02 14 */ add r6, r6, r0 -/* 8036A6D0 00367630 39 00 00 01 */ li r8, 1 -/* 8036A6D4 00367634 48 00 72 C1 */ bl DVDReadAsyncPrio -/* 8036A6D8 00367638 28 1D 00 00 */ cmplwi r29, 0 -/* 8036A6DC 0036763C 41 82 00 44 */ beq lbl_8036A720 -/* 8036A6E0 00367640 80 DB 00 18 */ lwz r6, 0x18(r27) -/* 8036A6E4 00367644 3C 60 80 37 */ lis r3, ReadCompleted__10SDSPStreamFiP11DVDFileInfo@ha -/* 8036A6E8 00367648 80 1B 00 24 */ lwz r0, 0x24(r27) -/* 8036A6EC 0036764C 38 E3 A1 F4 */ addi r7, r3, ReadCompleted__10SDSPStreamFiP11DVDFileInfo@l -/* 8036A6F0 00367650 7F A5 EB 78 */ mr r5, r29 -/* 8036A6F4 00367654 38 7B 00 8C */ addi r3, r27, 0x8c -/* 8036A6F8 00367658 7C 9F F2 14 */ add r4, r31, r30 -/* 8036A6FC 0036765C 7C C6 02 14 */ add r6, r6, r0 -/* 8036A700 00367660 39 00 00 01 */ li r8, 1 -/* 8036A704 00367664 48 00 72 91 */ bl DVDReadAsyncPrio -/* 8036A708 00367668 38 00 00 02 */ li r0, 2 -/* 8036A70C 0036766C 98 1B 00 EC */ stb r0, 0xec(r27) -/* 8036A710 00367670 80 1B 00 24 */ lwz r0, 0x24(r27) -/* 8036A714 00367674 7C 1D 02 14 */ add r0, r29, r0 -/* 8036A718 00367678 90 1B 00 CC */ stw r0, 0xcc(r27) -/* 8036A71C 0036767C 48 00 00 3C */ b lbl_8036A758 -lbl_8036A720: -/* 8036A720 00367680 38 00 00 01 */ li r0, 1 -/* 8036A724 00367684 98 1B 00 EC */ stb r0, 0xec(r27) -/* 8036A728 00367688 80 1B 00 CC */ lwz r0, 0xcc(r27) -/* 8036A72C 0036768C 7C 00 F2 14 */ add r0, r0, r30 -/* 8036A730 00367690 90 1B 00 CC */ stw r0, 0xcc(r27) -/* 8036A734 00367694 48 00 00 24 */ b lbl_8036A758 -lbl_8036A738: -/* 8036A738 00367698 80 1B 00 E4 */ lwz r0, 0xe4(r27) -/* 8036A73C 0036769C 2C 00 00 00 */ cmpwi r0, 0 -/* 8036A740 003676A0 41 82 00 10 */ beq lbl_8036A750 -/* 8036A744 003676A4 38 00 00 00 */ li r0, 0 -/* 8036A748 003676A8 90 1B 00 E4 */ stw r0, 0xe4(r27) -/* 8036A74C 003676AC 48 00 00 0C */ b lbl_8036A758 -lbl_8036A750: -/* 8036A750 003676B0 7F 63 DB 78 */ mr r3, r27 -/* 8036A754 003676B4 48 00 00 2D */ bl StopStream__10SDSPStreamFv -lbl_8036A758: -/* 8036A758 003676B8 88 1B 00 E0 */ lbz r0, 0xe0(r27) -/* 8036A75C 003676BC 7F 83 E3 78 */ mr r3, r28 -/* 8036A760 003676C0 68 00 00 01 */ xori r0, r0, 1 -/* 8036A764 003676C4 98 1B 00 E0 */ stb r0, 0xe0(r27) -/* 8036A768 003676C8 48 01 6F 21 */ bl OSRestoreInterrupts -/* 8036A76C 003676CC BB 61 00 0C */ lmw r27, 0xc(r1) -/* 8036A770 003676D0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8036A774 003676D4 7C 08 03 A6 */ mtlr r0 -/* 8036A778 003676D8 38 21 00 20 */ addi r1, r1, 0x20 -/* 8036A77C 003676DC 4E 80 00 20 */ blr - -.global StopStream__10SDSPStreamFv -StopStream__10SDSPStreamFv: -/* 8036A780 003676E0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8036A784 003676E4 7C 08 02 A6 */ mflr r0 -/* 8036A788 003676E8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8036A78C 003676EC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8036A790 003676F0 7C 7F 1B 78 */ mr r31, r3 -/* 8036A794 003676F4 88 03 00 EC */ lbz r0, 0xec(r3) -/* 8036A798 003676F8 28 00 00 00 */ cmplwi r0, 0 -/* 8036A79C 003676FC 40 82 00 14 */ bne lbl_8036A7B0 -/* 8036A7A0 00367700 48 00 0A 99 */ bl CloseFiles__10SDSPStreamFv -/* 8036A7A4 00367704 7F E3 FB 78 */ mr r3, r31 -/* 8036A7A8 00367708 48 00 04 65 */ bl DeallocateStream__10SDSPStreamFv -/* 8036A7AC 0036770C 48 00 00 0C */ b lbl_8036A7B8 -lbl_8036A7B0: -/* 8036A7B0 00367710 38 00 00 01 */ li r0, 1 -/* 8036A7B4 00367714 90 1F 00 F0 */ stw r0, 0xf0(r31) -lbl_8036A7B8: -/* 8036A7B8 00367718 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8036A7BC 0036771C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8036A7C0 00367720 7C 08 03 A6 */ mtlr r0 -/* 8036A7C4 00367724 38 21 00 10 */ addi r1, r1, 0x10 -/* 8036A7C8 00367728 4E 80 00 20 */ blr - -.global IsStreamAvailable__10SDSPStreamFi -IsStreamAvailable__10SDSPStreamFi: -/* 8036A7CC 0036772C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8036A7D0 00367730 7C 08 02 A6 */ mflr r0 -/* 8036A7D4 00367734 90 01 00 14 */ stw r0, 0x14(r1) -/* 8036A7D8 00367738 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8036A7DC 0036773C 3B E0 00 00 */ li r31, 0 -/* 8036A7E0 00367740 93 C1 00 08 */ stw r30, 8(r1) -/* 8036A7E4 00367744 7C 7E 1B 78 */ mr r30, r3 -/* 8036A7E8 00367748 48 01 6E 79 */ bl OSDisableInterrupts -/* 8036A7EC 0036774C 7C 60 1B 78 */ mr r0, r3 -/* 8036A7F0 00367750 7F C3 F3 78 */ mr r3, r30 -/* 8036A7F4 00367754 7C 1E 03 78 */ mr r30, r0 -/* 8036A7F8 00367758 48 00 08 89 */ bl FindStreamIdx__10SDSPStreamFi -/* 8036A7FC 0036775C 3C 03 00 01 */ addis r0, r3, 1 -/* 8036A800 00367760 28 00 FF FF */ cmplwi r0, 0xffff -/* 8036A804 00367764 41 82 00 20 */ beq lbl_8036A824 -/* 8036A808 00367768 1C 03 00 F4 */ mulli r0, r3, 0xf4 -/* 8036A80C 0036776C 3C 60 80 54 */ lis r3, lbl_80540640@ha -/* 8036A810 00367770 38 63 06 40 */ addi r3, r3, lbl_80540640@l -/* 8036A814 00367774 7C 03 00 AE */ lbzx r0, r3, r0 -/* 8036A818 00367778 20 00 00 04 */ subfic r0, r0, 4 -/* 8036A81C 0036777C 7C 00 00 34 */ cntlzw r0, r0 -/* 8036A820 00367780 54 1F D9 7E */ srwi r31, r0, 5 -lbl_8036A824: -/* 8036A824 00367784 7F C3 F3 78 */ mr r3, r30 -/* 8036A828 00367788 48 01 6E 61 */ bl OSRestoreInterrupts -/* 8036A82C 0036778C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8036A830 00367790 7F E3 FB 78 */ mr r3, r31 -/* 8036A834 00367794 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8036A838 00367798 83 C1 00 08 */ lwz r30, 8(r1) -/* 8036A83C 0036779C 7C 08 03 A6 */ mtlr r0 -/* 8036A840 003677A0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8036A844 003677A4 4E 80 00 20 */ blr - -.global IsStreamActive__10SDSPStreamFi -IsStreamActive__10SDSPStreamFi: -/* 8036A848 003677A8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8036A84C 003677AC 7C 08 02 A6 */ mflr r0 -/* 8036A850 003677B0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8036A854 003677B4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8036A858 003677B8 3B E0 00 00 */ li r31, 0 -/* 8036A85C 003677BC 93 C1 00 08 */ stw r30, 8(r1) -/* 8036A860 003677C0 7C 7E 1B 78 */ mr r30, r3 -/* 8036A864 003677C4 48 01 6D FD */ bl OSDisableInterrupts -/* 8036A868 003677C8 7C 60 1B 78 */ mr r0, r3 -/* 8036A86C 003677CC 7F C3 F3 78 */ mr r3, r30 -/* 8036A870 003677D0 7C 1E 03 78 */ mr r30, r0 -/* 8036A874 003677D4 48 00 08 0D */ bl FindStreamIdx__10SDSPStreamFi -/* 8036A878 003677D8 3C 03 00 01 */ addis r0, r3, 1 -/* 8036A87C 003677DC 28 00 FF FF */ cmplwi r0, 0xffff -/* 8036A880 003677E0 41 82 00 20 */ beq lbl_8036A8A0 -/* 8036A884 003677E4 1C 03 00 F4 */ mulli r0, r3, 0xf4 -/* 8036A888 003677E8 3C 60 80 54 */ lis r3, lbl_80540640@ha -/* 8036A88C 003677EC 38 63 06 40 */ addi r3, r3, lbl_80540640@l -/* 8036A890 003677F0 7C 63 00 AE */ lbzx r3, r3, r0 -/* 8036A894 003677F4 7C 03 00 D0 */ neg r0, r3 -/* 8036A898 003677F8 7C 00 1B 78 */ or r0, r0, r3 -/* 8036A89C 003677FC 54 1F 0F FE */ srwi r31, r0, 0x1f -lbl_8036A8A0: -/* 8036A8A0 00367800 7F C3 F3 78 */ mr r3, r30 -/* 8036A8A4 00367804 48 01 6D E5 */ bl OSRestoreInterrupts -/* 8036A8A8 00367808 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8036A8AC 0036780C 7F E3 FB 78 */ mr r3, r31 -/* 8036A8B0 00367810 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8036A8B4 00367814 83 C1 00 08 */ lwz r30, 8(r1) -/* 8036A8B8 00367818 7C 08 03 A6 */ mtlr r0 -/* 8036A8BC 0036781C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8036A8C0 00367820 4E 80 00 20 */ blr - -.global UpdateVolume__10SDSPStreamFi -UpdateVolume__10SDSPStreamFi: -/* 8036A8C4 00367824 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8036A8C8 00367828 7C 08 02 A6 */ mflr r0 -/* 8036A8CC 0036782C 90 01 00 24 */ stw r0, 0x24(r1) -/* 8036A8D0 00367830 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8036A8D4 00367834 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8036A8D8 00367838 7C 7E 1B 78 */ mr r30, r3 -/* 8036A8DC 0036783C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8036A8E0 00367840 7C 9D 23 78 */ mr r29, r4 -/* 8036A8E4 00367844 48 01 6D 7D */ bl OSDisableInterrupts -/* 8036A8E8 00367848 7C 60 1B 78 */ mr r0, r3 -/* 8036A8EC 0036784C 7F C3 F3 78 */ mr r3, r30 -/* 8036A8F0 00367850 7C 1F 03 78 */ mr r31, r0 -/* 8036A8F4 00367854 48 00 07 8D */ bl FindStreamIdx__10SDSPStreamFi -/* 8036A8F8 00367858 3C 03 00 01 */ addis r0, r3, 1 -/* 8036A8FC 0036785C 28 00 FF FF */ cmplwi r0, 0xffff -/* 8036A900 00367860 41 82 00 48 */ beq lbl_8036A948 -/* 8036A904 00367864 1C A3 00 F4 */ mulli r5, r3, 0xf4 -/* 8036A908 00367868 3C 60 80 54 */ lis r3, lbl_80540640@ha -/* 8036A90C 0036786C 7F A4 EB 78 */ mr r4, r29 -/* 8036A910 00367870 38 03 06 40 */ addi r0, r3, lbl_80540640@l -/* 8036A914 00367874 7F C0 2A 14 */ add r30, r0, r5 -/* 8036A918 00367878 7F C3 F3 78 */ mr r3, r30 -/* 8036A91C 0036787C 48 00 00 51 */ bl UpdateStreamVolume__10SDSPStreamFi -/* 8036A920 00367880 80 7E 00 08 */ lwz r3, 8(r30) -/* 8036A924 00367884 28 03 00 00 */ cmplwi r3, 0 -/* 8036A928 00367888 41 82 00 0C */ beq lbl_8036A934 -/* 8036A92C 0036788C 7F A4 EB 78 */ mr r4, r29 -/* 8036A930 00367890 48 00 00 3D */ bl UpdateStreamVolume__10SDSPStreamFi -lbl_8036A934: -/* 8036A934 00367894 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 8036A938 00367898 28 03 00 00 */ cmplwi r3, 0 -/* 8036A93C 0036789C 41 82 00 0C */ beq lbl_8036A948 -/* 8036A940 003678A0 7F A4 EB 78 */ mr r4, r29 -/* 8036A944 003678A4 48 00 00 29 */ bl UpdateStreamVolume__10SDSPStreamFi -lbl_8036A948: -/* 8036A948 003678A8 7F E3 FB 78 */ mr r3, r31 -/* 8036A94C 003678AC 48 01 6D 3D */ bl OSRestoreInterrupts -/* 8036A950 003678B0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8036A954 003678B4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8036A958 003678B8 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8036A95C 003678BC 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8036A960 003678C0 7C 08 03 A6 */ mtlr r0 -/* 8036A964 003678C4 38 21 00 20 */ addi r1, r1, 0x20 -/* 8036A968 003678C8 4E 80 00 20 */ blr - -.global UpdateStreamVolume__10SDSPStreamFi -UpdateStreamVolume__10SDSPStreamFi: -/* 8036A96C 003678CC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8036A970 003678D0 7C 08 02 A6 */ mflr r0 -/* 8036A974 003678D4 7C 65 1B 78 */ mr r5, r3 -/* 8036A978 003678D8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8036A97C 003678DC 98 83 00 4C */ stb r4, 0x4c(r3) -/* 8036A980 003678E0 88 03 00 00 */ lbz r0, 0(r3) -/* 8036A984 003678E4 28 00 00 00 */ cmplwi r0, 0 -/* 8036A988 003678E8 41 82 00 2C */ beq lbl_8036A9B4 -/* 8036A98C 003678EC 80 05 00 E8 */ lwz r0, 0xe8(r5) -/* 8036A990 003678F0 2C 00 00 00 */ cmpwi r0, 0 -/* 8036A994 003678F4 40 82 00 20 */ bne lbl_8036A9B4 -/* 8036A998 003678F8 80 65 00 C8 */ lwz r3, 0xc8(r5) -/* 8036A99C 003678FC 38 C0 00 00 */ li r6, 0 -/* 8036A9A0 00367900 88 85 00 4C */ lbz r4, 0x4c(r5) -/* 8036A9A4 00367904 38 E0 00 00 */ li r7, 0 -/* 8036A9A8 00367908 88 A5 00 4D */ lbz r5, 0x4d(r5) -/* 8036A9AC 0036790C 39 00 00 00 */ li r8, 0 -/* 8036A9B0 00367910 48 03 42 81 */ bl sndStreamMixParameterEx -lbl_8036A9B4: -/* 8036A9B4 00367914 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8036A9B8 00367918 7C 08 03 A6 */ mtlr r0 -/* 8036A9BC 0036791C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8036A9C0 00367920 4E 80 00 20 */ blr - -.global Silence__10SDSPStreamFv -Silence__10SDSPStreamFv: -/* 8036A9C4 00367924 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8036A9C8 00367928 7C 08 02 A6 */ mflr r0 -/* 8036A9CC 0036792C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8036A9D0 00367930 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8036A9D4 00367934 93 C1 00 08 */ stw r30, 8(r1) -/* 8036A9D8 00367938 7C 7E 1B 78 */ mr r30, r3 -/* 8036A9DC 0036793C 48 01 6C 85 */ bl OSDisableInterrupts -/* 8036A9E0 00367940 7C 60 1B 78 */ mr r0, r3 -/* 8036A9E4 00367944 7F C3 F3 78 */ mr r3, r30 -/* 8036A9E8 00367948 7C 1E 03 78 */ mr r30, r0 -/* 8036A9EC 0036794C 48 00 06 95 */ bl FindStreamIdx__10SDSPStreamFi -/* 8036A9F0 00367950 3C 03 00 01 */ addis r0, r3, 1 -/* 8036A9F4 00367954 28 00 FF FF */ cmplwi r0, 0xffff -/* 8036A9F8 00367958 41 82 00 50 */ beq lbl_8036AA48 -/* 8036A9FC 0036795C 1F E3 00 F4 */ mulli r31, r3, 0xf4 -/* 8036AA00 00367960 3C 60 80 54 */ lis r3, lbl_80540640@ha -/* 8036AA04 00367964 38 03 06 40 */ addi r0, r3, lbl_80540640@l -/* 8036AA08 00367968 7C 60 FA 14 */ add r3, r0, r31 -/* 8036AA0C 0036796C 48 00 00 5D */ bl SilenceStream__10SDSPStreamFv -/* 8036AA10 00367970 3C 60 80 54 */ lis r3, lbl_80540640@ha -/* 8036AA14 00367974 38 03 06 40 */ addi r0, r3, lbl_80540640@l -/* 8036AA18 00367978 7C 60 FA 14 */ add r3, r0, r31 -/* 8036AA1C 0036797C 80 63 00 08 */ lwz r3, 8(r3) -/* 8036AA20 00367980 28 03 00 00 */ cmplwi r3, 0 -/* 8036AA24 00367984 41 82 00 08 */ beq lbl_8036AA2C -/* 8036AA28 00367988 48 00 00 41 */ bl SilenceStream__10SDSPStreamFv -lbl_8036AA2C: -/* 8036AA2C 0036798C 3C 60 80 54 */ lis r3, lbl_80540640@ha -/* 8036AA30 00367990 38 03 06 40 */ addi r0, r3, lbl_80540640@l -/* 8036AA34 00367994 7C 60 FA 14 */ add r3, r0, r31 -/* 8036AA38 00367998 80 63 00 0C */ lwz r3, 0xc(r3) -/* 8036AA3C 0036799C 28 03 00 00 */ cmplwi r3, 0 -/* 8036AA40 003679A0 41 82 00 08 */ beq lbl_8036AA48 -/* 8036AA44 003679A4 48 00 00 25 */ bl SilenceStream__10SDSPStreamFv -lbl_8036AA48: -/* 8036AA48 003679A8 7F C3 F3 78 */ mr r3, r30 -/* 8036AA4C 003679AC 48 01 6C 3D */ bl OSRestoreInterrupts -/* 8036AA50 003679B0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8036AA54 003679B4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8036AA58 003679B8 83 C1 00 08 */ lwz r30, 8(r1) -/* 8036AA5C 003679BC 7C 08 03 A6 */ mtlr r0 -/* 8036AA60 003679C0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8036AA64 003679C4 4E 80 00 20 */ blr - -.global SilenceStream__10SDSPStreamFv -SilenceStream__10SDSPStreamFv: -/* 8036AA68 003679C8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8036AA6C 003679CC 7C 08 02 A6 */ mflr r0 -/* 8036AA70 003679D0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8036AA74 003679D4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8036AA78 003679D8 7C 7F 1B 78 */ mr r31, r3 -/* 8036AA7C 003679DC 88 03 00 00 */ lbz r0, 0(r3) -/* 8036AA80 003679E0 28 00 00 00 */ cmplwi r0, 0 -/* 8036AA84 003679E4 41 82 00 34 */ beq lbl_8036AAB8 -/* 8036AA88 003679E8 80 1F 00 E8 */ lwz r0, 0xe8(r31) -/* 8036AA8C 003679EC 2C 00 00 00 */ cmpwi r0, 0 -/* 8036AA90 003679F0 40 82 00 28 */ bne lbl_8036AAB8 -/* 8036AA94 003679F4 80 7F 00 C8 */ lwz r3, 0xc8(r31) -/* 8036AA98 003679F8 38 80 00 00 */ li r4, 0 -/* 8036AA9C 003679FC 88 BF 00 4D */ lbz r5, 0x4d(r31) -/* 8036AAA0 00367A00 38 C0 00 00 */ li r6, 0 -/* 8036AAA4 00367A04 38 E0 00 00 */ li r7, 0 -/* 8036AAA8 00367A08 39 00 00 00 */ li r8, 0 -/* 8036AAAC 00367A0C 48 03 41 85 */ bl sndStreamMixParameterEx -/* 8036AAB0 00367A10 38 00 00 01 */ li r0, 1 -/* 8036AAB4 00367A14 90 1F 00 E8 */ stw r0, 0xe8(r31) -lbl_8036AAB8: -/* 8036AAB8 00367A18 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8036AABC 00367A1C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8036AAC0 00367A20 7C 08 03 A6 */ mtlr r0 -/* 8036AAC4 00367A24 38 21 00 10 */ addi r1, r1, 0x10 -/* 8036AAC8 00367A28 4E 80 00 20 */ blr - -.global AllocateStereo__10SDSPStreamFRC11SStreamInfoRC11SStreamInfoci -AllocateStereo__10SDSPStreamFRC11SStreamInfoRC11SStreamInfoci: -/* 8036AACC 00367A2C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8036AAD0 00367A30 7C 08 02 A6 */ mflr r0 -/* 8036AAD4 00367A34 90 01 00 34 */ stw r0, 0x34(r1) -/* 8036AAD8 00367A38 BF 41 00 18 */ stmw r26, 0x18(r1) -/* 8036AADC 00367A3C 7C 7E 1B 78 */ mr r30, r3 -/* 8036AAE0 00367A40 7C 9A 23 78 */ mr r26, r4 -/* 8036AAE4 00367A44 7C BB 2B 78 */ mr r27, r5 -/* 8036AAE8 00367A48 7C DD 33 78 */ mr r29, r6 -/* 8036AAEC 00367A4C 48 01 6B 75 */ bl OSDisableInterrupts -/* 8036AAF0 00367A50 7C 7C 1B 78 */ mr r28, r3 -/* 8036AAF4 00367A54 7F A4 EB 78 */ mr r4, r29 -/* 8036AAF8 00367A58 38 61 00 08 */ addi r3, r1, 8 -/* 8036AAFC 00367A5C 48 00 06 11 */ bl PickFreeStream__10SDSPStreamFi -/* 8036AB00 00367A60 7C 7F 1B 78 */ mr r31, r3 -/* 8036AB04 00367A64 3C 1F 00 01 */ addis r0, r31, 1 -/* 8036AB08 00367A68 28 00 FF FF */ cmplwi r0, 0xffff -/* 8036AB0C 00367A6C 41 82 00 E0 */ beq lbl_8036ABEC -/* 8036AB10 00367A70 38 61 00 0C */ addi r3, r1, 0xc -/* 8036AB14 00367A74 7F A4 EB 78 */ mr r4, r29 -/* 8036AB18 00367A78 48 00 05 F5 */ bl PickFreeStream__10SDSPStreamFi -/* 8036AB1C 00367A7C 3C 03 00 01 */ addis r0, r3, 1 -/* 8036AB20 00367A80 28 00 FF FF */ cmplwi r0, 0xffff -/* 8036AB24 00367A84 41 82 00 BC */ beq lbl_8036ABE0 -/* 8036AB28 00367A88 80 01 00 0C */ lwz r0, 0xc(r1) -/* 8036AB2C 00367A8C 7F C4 F3 78 */ mr r4, r30 -/* 8036AB30 00367A90 80 61 00 08 */ lwz r3, 8(r1) -/* 8036AB34 00367A94 7F 65 DB 78 */ mr r5, r27 -/* 8036AB38 00367A98 38 C0 00 00 */ li r6, 0 -/* 8036AB3C 00367A9C 90 03 00 08 */ stw r0, 8(r3) -/* 8036AB40 00367AA0 80 01 00 08 */ lwz r0, 8(r1) -/* 8036AB44 00367AA4 80 61 00 0C */ lwz r3, 0xc(r1) -/* 8036AB48 00367AA8 90 03 00 0C */ stw r0, 0xc(r3) -/* 8036AB4C 00367AAC 80 61 00 08 */ lwz r3, 8(r1) -/* 8036AB50 00367AB0 48 00 02 1D */ bl AllocateStream__10SDSPStreamFi -/* 8036AB54 00367AB4 7C 7E 1B 78 */ mr r30, r3 -/* 8036AB58 00367AB8 80 61 00 0C */ lwz r3, 0xc(r1) -/* 8036AB5C 00367ABC 7F 44 D3 78 */ mr r4, r26 -/* 8036AB60 00367AC0 7F 65 DB 78 */ mr r5, r27 -/* 8036AB64 00367AC4 38 C0 00 7F */ li r6, 0x7f -/* 8036AB68 00367AC8 48 00 02 05 */ bl AllocateStream__10SDSPStreamFi -/* 8036AB6C 00367ACC 7C 7D 1B 78 */ mr r29, r3 -/* 8036AB70 00367AD0 7F 83 E3 78 */ mr r3, r28 -/* 8036AB74 00367AD4 48 01 6B 15 */ bl OSRestoreInterrupts -/* 8036AB78 00367AD8 80 81 00 08 */ lwz r4, 8(r1) -/* 8036AB7C 00367ADC 80 64 00 10 */ lwz r3, 0x10(r4) -/* 8036AB80 00367AE0 48 00 06 F1 */ bl OpenFiles__10SDSPStreamFPCc -/* 8036AB84 00367AE4 80 81 00 0C */ lwz r4, 0xc(r1) -/* 8036AB88 00367AE8 80 64 00 10 */ lwz r3, 0x10(r4) -/* 8036AB8C 00367AEC 48 00 06 E5 */ bl OpenFiles__10SDSPStreamFPCc -/* 8036AB90 00367AF0 81 01 00 08 */ lwz r8, 8(r1) -/* 8036AB94 00367AF4 3C 60 80 37 */ lis r3, ReadCompleted__10SDSPStreamFiP11DVDFileInfo@ha -/* 8036AB98 00367AF8 38 E3 A1 F4 */ addi r7, r3, ReadCompleted__10SDSPStreamFiP11DVDFileInfo@l -/* 8036AB9C 00367AFC 7F C5 F3 78 */ mr r5, r30 -/* 8036ABA0 00367B00 80 88 00 D4 */ lwz r4, 0xd4(r8) -/* 8036ABA4 00367B04 38 68 00 50 */ addi r3, r8, 0x50 -/* 8036ABA8 00367B08 80 C8 00 18 */ lwz r6, 0x18(r8) -/* 8036ABAC 00367B0C 39 00 00 01 */ li r8, 1 -/* 8036ABB0 00367B10 48 00 6D E5 */ bl DVDReadAsyncPrio -/* 8036ABB4 00367B14 81 01 00 0C */ lwz r8, 0xc(r1) -/* 8036ABB8 00367B18 3C 60 80 37 */ lis r3, ReadCompleted__10SDSPStreamFiP11DVDFileInfo@ha -/* 8036ABBC 00367B1C 38 E3 A1 F4 */ addi r7, r3, ReadCompleted__10SDSPStreamFiP11DVDFileInfo@l -/* 8036ABC0 00367B20 7F A5 EB 78 */ mr r5, r29 -/* 8036ABC4 00367B24 80 88 00 D4 */ lwz r4, 0xd4(r8) -/* 8036ABC8 00367B28 38 68 00 50 */ addi r3, r8, 0x50 -/* 8036ABCC 00367B2C 80 C8 00 18 */ lwz r6, 0x18(r8) -/* 8036ABD0 00367B30 39 00 00 01 */ li r8, 1 -/* 8036ABD4 00367B34 48 00 6D C1 */ bl DVDReadAsyncPrio -/* 8036ABD8 00367B38 7F E3 FB 78 */ mr r3, r31 -/* 8036ABDC 00367B3C 48 00 00 1C */ b lbl_8036ABF8 -lbl_8036ABE0: -/* 8036ABE0 00367B40 80 61 00 08 */ lwz r3, 8(r1) -/* 8036ABE4 00367B44 48 00 00 29 */ bl DeallocateStream__10SDSPStreamFv -/* 8036ABE8 00367B48 3B E0 FF FF */ li r31, -1 -lbl_8036ABEC: -/* 8036ABEC 00367B4C 7F 83 E3 78 */ mr r3, r28 -/* 8036ABF0 00367B50 48 01 6A 99 */ bl OSRestoreInterrupts -/* 8036ABF4 00367B54 7F E3 FB 78 */ mr r3, r31 -lbl_8036ABF8: -/* 8036ABF8 00367B58 BB 41 00 18 */ lmw r26, 0x18(r1) -/* 8036ABFC 00367B5C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8036AC00 00367B60 7C 08 03 A6 */ mtlr r0 -/* 8036AC04 00367B64 38 21 00 30 */ addi r1, r1, 0x30 -/* 8036AC08 00367B68 4E 80 00 20 */ blr - -.global DeallocateStream__10SDSPStreamFv -DeallocateStream__10SDSPStreamFv: -/* 8036AC0C 00367B6C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8036AC10 00367B70 7C 08 02 A6 */ mflr r0 -/* 8036AC14 00367B74 90 01 00 14 */ stw r0, 0x14(r1) -/* 8036AC18 00367B78 38 00 00 00 */ li r0, 0 -/* 8036AC1C 00367B7C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8036AC20 00367B80 7C 7F 1B 78 */ mr r31, r3 -/* 8036AC24 00367B84 98 03 00 00 */ stb r0, 0(r3) -/* 8036AC28 00367B88 88 03 00 01 */ lbz r0, 1(r3) -/* 8036AC2C 00367B8C 2C 00 00 01 */ cmpwi r0, 1 -/* 8036AC30 00367B90 41 82 00 2C */ beq lbl_8036AC5C -/* 8036AC34 00367B94 40 80 00 64 */ bge lbl_8036AC98 -/* 8036AC38 00367B98 2C 00 00 00 */ cmpwi r0, 0 -/* 8036AC3C 00367B9C 40 80 00 08 */ bge lbl_8036AC44 -/* 8036AC40 00367BA0 48 00 00 58 */ b lbl_8036AC98 -lbl_8036AC44: -/* 8036AC44 00367BA4 80 7F 00 C8 */ lwz r3, 0xc8(r31) -/* 8036AC48 00367BA8 3C 03 00 01 */ addis r0, r3, 1 -/* 8036AC4C 00367BAC 28 00 FF FF */ cmplwi r0, 0xffff -/* 8036AC50 00367BB0 41 82 00 48 */ beq lbl_8036AC98 -/* 8036AC54 00367BB4 48 03 58 CD */ bl sndStreamDeactivate -/* 8036AC58 00367BB8 48 00 00 40 */ b lbl_8036AC98 -lbl_8036AC5C: -/* 8036AC5C 00367BBC 80 7F 00 D4 */ lwz r3, 0xd4(r31) -/* 8036AC60 00367BC0 28 03 00 00 */ cmplwi r3, 0 -/* 8036AC64 00367BC4 41 82 00 34 */ beq lbl_8036AC98 -/* 8036AC68 00367BC8 4B FA AC C9 */ bl Free__7CMemoryFPCv -/* 8036AC6C 00367BCC 38 00 00 00 */ li r0, 0 -/* 8036AC70 00367BD0 90 1F 00 D4 */ stw r0, 0xd4(r31) -/* 8036AC74 00367BD4 80 7F 00 C8 */ lwz r3, 0xc8(r31) -/* 8036AC78 00367BD8 3C 03 00 01 */ addis r0, r3, 1 -/* 8036AC7C 00367BDC 28 00 FF FF */ cmplwi r0, 0xffff -/* 8036AC80 00367BE0 41 82 00 18 */ beq lbl_8036AC98 -/* 8036AC84 00367BE4 48 03 58 9D */ bl sndStreamDeactivate -/* 8036AC88 00367BE8 80 7F 00 C8 */ lwz r3, 0xc8(r31) -/* 8036AC8C 00367BEC 48 03 4B 69 */ bl sndStreamFree -/* 8036AC90 00367BF0 38 00 FF FF */ li r0, -1 -/* 8036AC94 00367BF4 90 1F 00 C8 */ stw r0, 0xc8(r31) -lbl_8036AC98: -/* 8036AC98 00367BF8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8036AC9C 00367BFC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8036ACA0 00367C00 7C 08 03 A6 */ mtlr r0 -/* 8036ACA4 00367C04 38 21 00 10 */ addi r1, r1, 0x10 -/* 8036ACA8 00367C08 4E 80 00 20 */ blr - -.global AllocateMono__10SDSPStreamFRC11SStreamInfocci -AllocateMono__10SDSPStreamFRC11SStreamInfocci: -/* 8036ACAC 00367C0C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8036ACB0 00367C10 7C 08 02 A6 */ mflr r0 -/* 8036ACB4 00367C14 90 01 00 34 */ stw r0, 0x34(r1) -/* 8036ACB8 00367C18 BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 8036ACBC 00367C1C 7C 7B 1B 78 */ mr r27, r3 -/* 8036ACC0 00367C20 7C 9C 23 78 */ mr r28, r4 -/* 8036ACC4 00367C24 7C BD 2B 78 */ mr r29, r5 -/* 8036ACC8 00367C28 7C DE 33 78 */ mr r30, r6 -/* 8036ACCC 00367C2C 48 01 69 95 */ bl OSDisableInterrupts -/* 8036ACD0 00367C30 7F C4 F3 78 */ mr r4, r30 -/* 8036ACD4 00367C34 7C 7E 1B 78 */ mr r30, r3 -/* 8036ACD8 00367C38 38 61 00 08 */ addi r3, r1, 8 -/* 8036ACDC 00367C3C 48 00 04 31 */ bl PickFreeStream__10SDSPStreamFi -/* 8036ACE0 00367C40 7C 7F 1B 78 */ mr r31, r3 -/* 8036ACE4 00367C44 3C 1F 00 01 */ addis r0, r31, 1 -/* 8036ACE8 00367C48 28 00 FF FF */ cmplwi r0, 0xffff -/* 8036ACEC 00367C4C 41 82 00 60 */ beq lbl_8036AD4C -/* 8036ACF0 00367C50 80 61 00 08 */ lwz r3, 8(r1) -/* 8036ACF4 00367C54 7F 64 DB 78 */ mr r4, r27 -/* 8036ACF8 00367C58 7F 85 E3 78 */ mr r5, r28 -/* 8036ACFC 00367C5C 7F A6 EB 78 */ mr r6, r29 -/* 8036AD00 00367C60 48 00 00 6D */ bl AllocateStream__10SDSPStreamFi -/* 8036AD04 00367C64 7C 60 1B 78 */ mr r0, r3 -/* 8036AD08 00367C68 7F C3 F3 78 */ mr r3, r30 -/* 8036AD0C 00367C6C 7C 1E 03 78 */ mr r30, r0 -/* 8036AD10 00367C70 48 01 69 79 */ bl OSRestoreInterrupts -/* 8036AD14 00367C74 80 81 00 08 */ lwz r4, 8(r1) -/* 8036AD18 00367C78 80 64 00 10 */ lwz r3, 0x10(r4) -/* 8036AD1C 00367C7C 48 00 05 55 */ bl OpenFiles__10SDSPStreamFPCc -/* 8036AD20 00367C80 81 01 00 08 */ lwz r8, 8(r1) -/* 8036AD24 00367C84 3C 60 80 37 */ lis r3, ReadCompleted__10SDSPStreamFiP11DVDFileInfo@ha -/* 8036AD28 00367C88 38 E3 A1 F4 */ addi r7, r3, ReadCompleted__10SDSPStreamFiP11DVDFileInfo@l -/* 8036AD2C 00367C8C 7F C5 F3 78 */ mr r5, r30 -/* 8036AD30 00367C90 80 88 00 D4 */ lwz r4, 0xd4(r8) -/* 8036AD34 00367C94 38 68 00 50 */ addi r3, r8, 0x50 -/* 8036AD38 00367C98 80 C8 00 18 */ lwz r6, 0x18(r8) -/* 8036AD3C 00367C9C 39 00 00 01 */ li r8, 1 -/* 8036AD40 00367CA0 48 00 6C 55 */ bl DVDReadAsyncPrio -/* 8036AD44 00367CA4 7F E3 FB 78 */ mr r3, r31 -/* 8036AD48 00367CA8 48 00 00 10 */ b lbl_8036AD58 -lbl_8036AD4C: -/* 8036AD4C 00367CAC 7F C3 F3 78 */ mr r3, r30 -/* 8036AD50 00367CB0 48 01 69 39 */ bl OSRestoreInterrupts -/* 8036AD54 00367CB4 7F E3 FB 78 */ mr r3, r31 -lbl_8036AD58: -/* 8036AD58 00367CB8 BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 8036AD5C 00367CBC 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8036AD60 00367CC0 7C 08 03 A6 */ mtlr r0 -/* 8036AD64 00367CC4 38 21 00 30 */ addi r1, r1, 0x30 -/* 8036AD68 00367CC8 4E 80 00 20 */ blr - -.global AllocateStream__10SDSPStreamFi -AllocateStream__10SDSPStreamFi: -/* 8036AD6C 00367CCC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8036AD70 00367CD0 7C 08 02 A6 */ mflr r0 -/* 8036AD74 00367CD4 90 01 00 24 */ stw r0, 0x24(r1) -/* 8036AD78 00367CD8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8036AD7C 00367CDC 7C DF 33 78 */ mr r31, r6 -/* 8036AD80 00367CE0 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8036AD84 00367CE4 7C BE 2B 78 */ mr r30, r5 -/* 8036AD88 00367CE8 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8036AD8C 00367CEC 7C 7D 1B 78 */ mr r29, r3 -/* 8036AD90 00367CF0 80 04 00 00 */ lwz r0, 0(r4) -/* 8036AD94 00367CF4 90 03 00 10 */ stw r0, 0x10(r3) -/* 8036AD98 00367CF8 A0 04 00 04 */ lhz r0, 4(r4) -/* 8036AD9C 00367CFC B0 03 00 14 */ sth r0, 0x14(r3) -/* 8036ADA0 00367D00 80 04 00 08 */ lwz r0, 8(r4) -/* 8036ADA4 00367D04 90 03 00 18 */ stw r0, 0x18(r3) -/* 8036ADA8 00367D08 80 04 00 0C */ lwz r0, 0xc(r4) -/* 8036ADAC 00367D0C 90 03 00 1C */ stw r0, 0x1c(r3) -/* 8036ADB0 00367D10 88 04 00 10 */ lbz r0, 0x10(r4) -/* 8036ADB4 00367D14 98 03 00 20 */ stb r0, 0x20(r3) -/* 8036ADB8 00367D18 80 04 00 14 */ lwz r0, 0x14(r4) -/* 8036ADBC 00367D1C 90 03 00 24 */ stw r0, 0x24(r3) -/* 8036ADC0 00367D20 80 04 00 18 */ lwz r0, 0x18(r4) -/* 8036ADC4 00367D24 90 03 00 28 */ stw r0, 0x28(r3) -/* 8036ADC8 00367D28 80 A4 00 1C */ lwz r5, 0x1c(r4) -/* 8036ADCC 00367D2C 80 04 00 20 */ lwz r0, 0x20(r4) -/* 8036ADD0 00367D30 90 A3 00 2C */ stw r5, 0x2c(r3) -/* 8036ADD4 00367D34 90 03 00 30 */ stw r0, 0x30(r3) -/* 8036ADD8 00367D38 80 A4 00 24 */ lwz r5, 0x24(r4) -/* 8036ADDC 00367D3C 80 04 00 28 */ lwz r0, 0x28(r4) -/* 8036ADE0 00367D40 90 A3 00 34 */ stw r5, 0x34(r3) -/* 8036ADE4 00367D44 90 03 00 38 */ stw r0, 0x38(r3) -/* 8036ADE8 00367D48 80 A4 00 2C */ lwz r5, 0x2c(r4) -/* 8036ADEC 00367D4C 80 04 00 30 */ lwz r0, 0x30(r4) -/* 8036ADF0 00367D50 90 A3 00 3C */ stw r5, 0x3c(r3) -/* 8036ADF4 00367D54 90 03 00 40 */ stw r0, 0x40(r3) -/* 8036ADF8 00367D58 80 A4 00 34 */ lwz r5, 0x34(r4) -/* 8036ADFC 00367D5C 80 04 00 38 */ lwz r0, 0x38(r4) -/* 8036AE00 00367D60 90 A3 00 44 */ stw r5, 0x44(r3) -/* 8036AE04 00367D64 90 03 00 48 */ stw r0, 0x48(r3) -/* 8036AE08 00367D68 80 03 00 D4 */ lwz r0, 0xd4(r3) -/* 8036AE0C 00367D6C 28 00 00 00 */ cmplwi r0, 0 -/* 8036AE10 00367D70 40 82 00 08 */ bne lbl_8036AE18 -/* 8036AE14 00367D74 48 00 01 B5 */ bl DoAllocateStream__10SDSPStreamFi -lbl_8036AE18: -/* 8036AE18 00367D78 9B DD 00 4C */ stb r30, 0x4c(r29) -/* 8036AE1C 00367D7C 3C 60 00 01 */ lis r3, 0x00011DC0@ha -/* 8036AE20 00367D80 38 80 00 01 */ li r4, 1 -/* 8036AE24 00367D84 38 00 00 00 */ li r0, 0 -/* 8036AE28 00367D88 9B FD 00 4D */ stb r31, 0x4d(r29) -/* 8036AE2C 00367D8C 38 63 1D C0 */ addi r3, r3, 0x00011DC0@l -/* 8036AE30 00367D90 90 9D 00 E4 */ stw r4, 0xe4(r29) -/* 8036AE34 00367D94 90 1D 00 E8 */ stw r0, 0xe8(r29) -/* 8036AE38 00367D98 90 1D 00 F0 */ stw r0, 0xf0(r29) -/* 8036AE3C 00367D9C 98 9D 00 EC */ stb r4, 0xec(r29) -/* 8036AE40 00367DA0 98 9D 00 E0 */ stb r4, 0xe0(r29) -/* 8036AE44 00367DA4 90 7D 00 D8 */ stw r3, 0xd8(r29) -/* 8036AE48 00367DA8 80 1D 00 D8 */ lwz r0, 0xd8(r29) -/* 8036AE4C 00367DAC 54 00 E8 FE */ srwi r0, r0, 3 -/* 8036AE50 00367DB0 1C 00 00 0E */ mulli r0, r0, 0xe -/* 8036AE54 00367DB4 90 1D 00 DC */ stw r0, 0xdc(r29) -/* 8036AE58 00367DB8 80 1D 00 D8 */ lwz r0, 0xd8(r29) -/* 8036AE5C 00367DBC 7C 00 18 40 */ cmplw r0, r3 -/* 8036AE60 00367DC0 40 81 00 08 */ ble lbl_8036AE68 -/* 8036AE64 00367DC4 90 7D 00 D8 */ stw r3, 0xd8(r29) -lbl_8036AE68: -/* 8036AE68 00367DC8 80 1D 00 D8 */ lwz r0, 0xd8(r29) -/* 8036AE6C 00367DCC 54 04 F8 7E */ srwi r4, r0, 1 -/* 8036AE70 00367DD0 90 9D 00 CC */ stw r4, 0xcc(r29) -/* 8036AE74 00367DD4 80 1D 00 1C */ lwz r0, 0x1c(r29) -/* 8036AE78 00367DD8 90 1D 00 D0 */ stw r0, 0xd0(r29) -/* 8036AE7C 00367DDC 80 7D 00 D0 */ lwz r3, 0xd0(r29) -/* 8036AE80 00367DE0 7C 03 20 40 */ cmplw r3, r4 -/* 8036AE84 00367DE4 40 80 00 20 */ bge lbl_8036AEA4 -/* 8036AE88 00367DE8 80 1D 00 D4 */ lwz r0, 0xd4(r29) -/* 8036AE8C 00367DEC 7C 7E 1B 78 */ mr r30, r3 -/* 8036AE90 00367DF0 7C A3 20 50 */ subf r5, r3, r4 -/* 8036AE94 00367DF4 38 80 00 00 */ li r4, 0 -/* 8036AE98 00367DF8 7C 60 1A 14 */ add r3, r0, r3 -/* 8036AE9C 00367DFC 4B C9 85 0D */ bl memset -/* 8036AEA0 00367E00 48 00 00 08 */ b lbl_8036AEA8 -lbl_8036AEA4: -/* 8036AEA4 00367E04 7C 9E 23 78 */ mr r30, r4 -lbl_8036AEA8: -/* 8036AEA8 00367E08 38 00 00 02 */ li r0, 2 -/* 8036AEAC 00367E0C 7F C3 F3 78 */ mr r3, r30 -/* 8036AEB0 00367E10 98 1D 00 00 */ stb r0, 0(r29) -/* 8036AEB4 00367E14 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8036AEB8 00367E18 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8036AEBC 00367E1C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8036AEC0 00367E20 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8036AEC4 00367E24 7C 08 03 A6 */ mtlr r0 -/* 8036AEC8 00367E28 38 21 00 20 */ addi r1, r1, 0x20 -/* 8036AECC 00367E2C 4E 80 00 20 */ blr - -.global FreeAllStreams__10SDSPStreamFi -FreeAllStreams__10SDSPStreamFi: -/* 8036AED0 00367E30 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8036AED4 00367E34 7C 08 02 A6 */ mflr r0 -/* 8036AED8 00367E38 3C 60 80 54 */ lis r3, lbl_80540640@ha -/* 8036AEDC 00367E3C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8036AEE0 00367E40 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8036AEE4 00367E44 3B E3 06 40 */ addi r31, r3, lbl_80540640@l -/* 8036AEE8 00367E48 93 C1 00 08 */ stw r30, 8(r1) -/* 8036AEEC 00367E4C 3B C0 00 00 */ li r30, 0 -lbl_8036AEF0: -/* 8036AEF0 00367E50 80 7F 00 C8 */ lwz r3, 0xc8(r31) -/* 8036AEF4 00367E54 48 03 49 01 */ bl sndStreamFree -/* 8036AEF8 00367E58 80 7F 00 D4 */ lwz r3, 0xd4(r31) -/* 8036AEFC 00367E5C 4B FA AA 35 */ bl Free__7CMemoryFPCv -/* 8036AF00 00367E60 3B DE 00 01 */ addi r30, r30, 1 -/* 8036AF04 00367E64 3B FF 00 F4 */ addi r31, r31, 0xf4 -/* 8036AF08 00367E68 28 1E 00 04 */ cmplwi r30, 4 -/* 8036AF0C 00367E6C 41 80 FF E4 */ blt lbl_8036AEF0 -/* 8036AF10 00367E70 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8036AF14 00367E74 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8036AF18 00367E78 83 C1 00 08 */ lwz r30, 8(r1) -/* 8036AF1C 00367E7C 7C 08 03 A6 */ mtlr r0 -/* 8036AF20 00367E80 38 21 00 10 */ addi r1, r1, 0x10 -/* 8036AF24 00367E84 4E 80 00 20 */ blr - -.global Initialize__10SDSPStreamFv -Initialize__10SDSPStreamFv: -/* 8036AF28 00367E88 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8036AF2C 00367E8C 7C 08 02 A6 */ mflr r0 -/* 8036AF30 00367E90 3C 60 80 54 */ lis r3, lbl_80540640@ha -/* 8036AF34 00367E94 3C 80 00 01 */ lis r4, 0x00011DC0@ha -/* 8036AF38 00367E98 90 01 00 34 */ stw r0, 0x34(r1) -/* 8036AF3C 00367E9C BF 21 00 14 */ stmw r25, 0x14(r1) -/* 8036AF40 00367EA0 3B 43 06 40 */ addi r26, r3, lbl_80540640@l -/* 8036AF44 00367EA4 3C 60 00 02 */ lis r3, 0x0001F410@ha -/* 8036AF48 00367EA8 3B 84 1D C0 */ addi r28, r4, 0x00011DC0@l -/* 8036AF4C 00367EAC 3B A3 F4 10 */ addi r29, r3, 0x0001F410@l -/* 8036AF50 00367EB0 3B 20 00 00 */ li r25, 0 -/* 8036AF54 00367EB4 3B 60 00 00 */ li r27, 0 -/* 8036AF58 00367EB8 3B C0 FF FF */ li r30, -1 -/* 8036AF5C 00367EBC 3B E0 00 01 */ li r31, 1 -lbl_8036AF60: -/* 8036AF60 00367EC0 9B 7A 00 00 */ stb r27, 0(r26) -/* 8036AF64 00367EC4 28 19 00 02 */ cmplwi r25, 2 -/* 8036AF68 00367EC8 93 7A 00 D4 */ stw r27, 0xd4(r26) -/* 8036AF6C 00367ECC 93 9A 00 D8 */ stw r28, 0xd8(r26) -/* 8036AF70 00367ED0 93 BA 00 DC */ stw r29, 0xdc(r26) -/* 8036AF74 00367ED4 93 DA 00 C8 */ stw r30, 0xc8(r26) -/* 8036AF78 00367ED8 40 80 00 14 */ bge lbl_8036AF8C -/* 8036AF7C 00367EDC 9B 7A 00 01 */ stb r27, 1(r26) -/* 8036AF80 00367EE0 7F 43 D3 78 */ mr r3, r26 -/* 8036AF84 00367EE4 48 00 00 45 */ bl DoAllocateStream__10SDSPStreamFi -/* 8036AF88 00367EE8 48 00 00 08 */ b lbl_8036AF90 -lbl_8036AF8C: -/* 8036AF8C 00367EEC 9B FA 00 01 */ stb r31, 1(r26) -lbl_8036AF90: -/* 8036AF90 00367EF0 3B 39 00 01 */ addi r25, r25, 1 -/* 8036AF94 00367EF4 3B 5A 00 F4 */ addi r26, r26, 0xf4 -/* 8036AF98 00367EF8 28 19 00 04 */ cmplwi r25, 4 -/* 8036AF9C 00367EFC 41 80 FF C4 */ blt lbl_8036AF60 -/* 8036AFA0 00367F00 3C 60 80 54 */ lis r3, lbl_80540640@ha -/* 8036AFA4 00367F04 38 00 00 00 */ li r0, 0 -/* 8036AFA8 00367F08 38 63 06 40 */ addi r3, r3, lbl_80540640@l -/* 8036AFAC 00367F0C 90 03 03 D0 */ stw r0, 0x3d0(r3) -/* 8036AFB0 00367F10 90 03 03 D8 */ stw r0, 0x3d8(r3) -/* 8036AFB4 00367F14 BB 21 00 14 */ lmw r25, 0x14(r1) -/* 8036AFB8 00367F18 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8036AFBC 00367F1C 7C 08 03 A6 */ mtlr r0 -/* 8036AFC0 00367F20 38 21 00 30 */ addi r1, r1, 0x30 -/* 8036AFC4 00367F24 4E 80 00 20 */ blr - -.global DoAllocateStream__10SDSPStreamFi -DoAllocateStream__10SDSPStreamFi: -/* 8036AFC8 00367F28 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8036AFCC 00367F2C 7C 08 02 A6 */ mflr r0 -/* 8036AFD0 00367F30 3C A0 80 3E */ lis r5, lbl_803D8558@ha -/* 8036AFD4 00367F34 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha -/* 8036AFD8 00367F38 90 01 00 34 */ stw r0, 0x34(r1) -/* 8036AFDC 00367F3C 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l -/* 8036AFE0 00367F40 38 A5 85 58 */ addi r5, r5, lbl_803D8558@l -/* 8036AFE4 00367F44 38 80 FF FF */ li r4, -1 -/* 8036AFE8 00367F48 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8036AFEC 00367F4C 7C 7F 1B 78 */ mr r31, r3 -/* 8036AFF0 00367F50 38 61 00 20 */ addi r3, r1, 0x20 -/* 8036AFF4 00367F54 4B F6 B3 E1 */ bl __ct__10CCallStackFUiPCcPCc -/* 8036AFF8 00367F58 3C A0 00 01 */ lis r5, 0x00011DC0@ha -/* 8036AFFC 00367F5C 7C 67 1B 78 */ mr r7, r3 -/* 8036B000 00367F60 38 65 1D C0 */ addi r3, r5, 0x00011DC0@l -/* 8036B004 00367F64 38 80 00 02 */ li r4, 2 -/* 8036B008 00367F68 38 A0 00 01 */ li r5, 1 -/* 8036B00C 00367F6C 38 C0 00 00 */ li r6, 0 -/* 8036B010 00367F70 4B FA A9 85 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack -/* 8036B014 00367F74 90 7F 00 D4 */ stw r3, 0xd4(r31) -/* 8036B018 00367F78 38 A0 00 00 */ li r5, 0 -/* 8036B01C 00367F7C 3C 80 00 03 */ lis r4, 0x00030001@ha -/* 8036B020 00367F80 3C 60 80 37 */ lis r3, UpdateStream__10SDSPStreamFPviPvii@ha -/* 8036B024 00367F84 90 A1 00 08 */ stw r5, 8(r1) -/* 8036B028 00367F88 38 84 00 01 */ addi r4, r4, 0x00030001@l -/* 8036B02C 00367F8C 38 03 A5 20 */ addi r0, r3, UpdateStream__10SDSPStreamFPviPvii@l -/* 8036B030 00367F90 38 60 00 FF */ li r3, 0xff -/* 8036B034 00367F94 90 A1 00 0C */ stw r5, 0xc(r1) -/* 8036B038 00367F98 38 C0 7D 00 */ li r6, 0x7d00 -/* 8036B03C 00367F9C 38 E0 00 00 */ li r7, 0 -/* 8036B040 00367FA0 39 00 00 40 */ li r8, 0x40 -/* 8036B044 00367FA4 90 81 00 10 */ stw r4, 0x10(r1) -/* 8036B048 00367FA8 39 20 00 00 */ li r9, 0 -/* 8036B04C 00367FAC 39 40 00 00 */ li r10, 0 -/* 8036B050 00367FB0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8036B054 00367FB4 93 E1 00 18 */ stw r31, 0x18(r1) -/* 8036B058 00367FB8 90 A1 00 1C */ stw r5, 0x1c(r1) -/* 8036B05C 00367FBC 80 9F 00 D4 */ lwz r4, 0xd4(r31) -/* 8036B060 00367FC0 80 BF 00 DC */ lwz r5, 0xdc(r31) -/* 8036B064 00367FC4 48 03 28 69 */ bl sndStreamAllocEx -/* 8036B068 00367FC8 90 7F 00 C8 */ stw r3, 0xc8(r31) -/* 8036B06C 00367FCC 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8036B070 00367FD0 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8036B074 00367FD4 7C 08 03 A6 */ mtlr r0 -/* 8036B078 00367FD8 38 21 00 30 */ addi r1, r1, 0x30 -/* 8036B07C 00367FDC 4E 80 00 20 */ blr - -.global FindStreamIdx__10SDSPStreamFi -FindStreamIdx__10SDSPStreamFi: -/* 8036B080 00367FE0 3C 80 80 54 */ lis r4, lbl_80540640@ha -/* 8036B084 00367FE4 8C 04 06 40 */ lbzu r0, lbl_80540640@l(r4) -/* 8036B088 00367FE8 28 00 00 00 */ cmplwi r0, 0 -/* 8036B08C 00367FEC 41 82 00 18 */ beq lbl_8036B0A4 -/* 8036B090 00367FF0 80 04 00 04 */ lwz r0, 4(r4) -/* 8036B094 00367FF4 7C 03 00 40 */ cmplw r3, r0 -/* 8036B098 00367FF8 40 82 00 0C */ bne lbl_8036B0A4 -/* 8036B09C 00367FFC 38 60 00 00 */ li r3, 0 -/* 8036B0A0 00368000 4E 80 00 20 */ blr -lbl_8036B0A4: -/* 8036B0A4 00368004 8C 04 00 F4 */ lbzu r0, 0xf4(r4) -/* 8036B0A8 00368008 28 00 00 00 */ cmplwi r0, 0 -/* 8036B0AC 0036800C 41 82 00 18 */ beq lbl_8036B0C4 -/* 8036B0B0 00368010 80 04 00 04 */ lwz r0, 4(r4) -/* 8036B0B4 00368014 7C 03 00 40 */ cmplw r3, r0 -/* 8036B0B8 00368018 40 82 00 0C */ bne lbl_8036B0C4 -/* 8036B0BC 0036801C 38 60 00 01 */ li r3, 1 -/* 8036B0C0 00368020 4E 80 00 20 */ blr -lbl_8036B0C4: -/* 8036B0C4 00368024 8C 04 00 F4 */ lbzu r0, 0xf4(r4) -/* 8036B0C8 00368028 28 00 00 00 */ cmplwi r0, 0 -/* 8036B0CC 0036802C 41 82 00 18 */ beq lbl_8036B0E4 -/* 8036B0D0 00368030 80 04 00 04 */ lwz r0, 4(r4) -/* 8036B0D4 00368034 7C 03 00 40 */ cmplw r3, r0 -/* 8036B0D8 00368038 40 82 00 0C */ bne lbl_8036B0E4 -/* 8036B0DC 0036803C 38 60 00 02 */ li r3, 2 -/* 8036B0E0 00368040 4E 80 00 20 */ blr -lbl_8036B0E4: -/* 8036B0E4 00368044 8C 04 00 F4 */ lbzu r0, 0xf4(r4) -/* 8036B0E8 00368048 28 00 00 00 */ cmplwi r0, 0 -/* 8036B0EC 0036804C 41 82 00 18 */ beq lbl_8036B104 -/* 8036B0F0 00368050 80 04 00 04 */ lwz r0, 4(r4) -/* 8036B0F4 00368054 7C 03 00 40 */ cmplw r3, r0 -/* 8036B0F8 00368058 40 82 00 0C */ bne lbl_8036B104 -/* 8036B0FC 0036805C 38 60 00 03 */ li r3, 3 -/* 8036B100 00368060 4E 80 00 20 */ blr -lbl_8036B104: -/* 8036B104 00368064 38 60 FF FF */ li r3, -1 -/* 8036B108 00368068 4E 80 00 20 */ blr - -.global PickFreeStream__10SDSPStreamFi -PickFreeStream__10SDSPStreamFi: -/* 8036B10C 0036806C 3C A0 80 54 */ lis r5, lbl_80540640@ha -/* 8036B110 00368070 38 00 00 04 */ li r0, 4 -/* 8036B114 00368074 38 E5 06 40 */ addi r7, r5, lbl_80540640@l -/* 8036B118 00368078 39 00 00 00 */ li r8, 0 -/* 8036B11C 0036807C 7C E5 3B 78 */ mr r5, r7 -/* 8036B120 00368080 7C 09 03 A6 */ mtctr r0 -lbl_8036B124: -/* 8036B124 00368084 88 05 00 00 */ lbz r0, 0(r5) -/* 8036B128 00368088 28 00 00 00 */ cmplwi r0, 0 -/* 8036B12C 0036808C 40 82 00 F8 */ bne lbl_8036B224 -/* 8036B130 00368090 88 05 00 01 */ lbz r0, 1(r5) -/* 8036B134 00368094 7C 04 00 00 */ cmpw r4, r0 -/* 8036B138 00368098 40 82 00 EC */ bne lbl_8036B224 -/* 8036B13C 0036809C 3C 80 80 54 */ lis r4, lbl_80540640@ha -/* 8036B140 003680A0 38 C4 06 40 */ addi r6, r4, lbl_80540640@l -lbl_8036B144: -/* 8036B144 003680A4 80 A6 03 D0 */ lwz r5, 0x3d0(r6) -/* 8036B148 003680A8 3C 05 00 01 */ addis r0, r5, 1 -/* 8036B14C 003680AC 38 85 00 01 */ addi r4, r5, 1 -/* 8036B150 003680B0 28 00 FF FF */ cmplwi r0, 0xffff -/* 8036B154 003680B4 90 86 03 D0 */ stw r4, 0x3d0(r6) -/* 8036B158 003680B8 7C A9 2B 78 */ mr r9, r5 -/* 8036B15C 003680BC 40 82 00 10 */ bne lbl_8036B16C -/* 8036B160 003680C0 38 04 00 01 */ addi r0, r4, 1 -/* 8036B164 003680C4 7C 89 23 78 */ mr r9, r4 -/* 8036B168 003680C8 90 06 03 D0 */ stw r0, 0x3d0(r6) -lbl_8036B16C: -/* 8036B16C 003680CC 88 07 00 00 */ lbz r0, 0(r7) -/* 8036B170 003680D0 38 A0 00 00 */ li r5, 0 -/* 8036B174 003680D4 28 00 00 00 */ cmplwi r0, 0 -/* 8036B178 003680D8 41 82 00 10 */ beq lbl_8036B188 -/* 8036B17C 003680DC 80 07 00 04 */ lwz r0, 4(r7) -/* 8036B180 003680E0 7C 09 00 40 */ cmplw r9, r0 -/* 8036B184 003680E4 41 82 00 64 */ beq lbl_8036B1E8 -lbl_8036B188: -/* 8036B188 003680E8 38 87 00 F4 */ addi r4, r7, 0xf4 -/* 8036B18C 003680EC 38 A0 00 01 */ li r5, 1 -/* 8036B190 003680F0 88 07 00 F4 */ lbz r0, 0xf4(r7) -/* 8036B194 003680F4 28 00 00 00 */ cmplwi r0, 0 -/* 8036B198 003680F8 41 82 00 10 */ beq lbl_8036B1A8 -/* 8036B19C 003680FC 80 04 00 04 */ lwz r0, 4(r4) -/* 8036B1A0 00368100 7C 09 00 40 */ cmplw r9, r0 -/* 8036B1A4 00368104 41 82 00 44 */ beq lbl_8036B1E8 -lbl_8036B1A8: -/* 8036B1A8 00368108 8C 04 00 F4 */ lbzu r0, 0xf4(r4) -/* 8036B1AC 0036810C 38 A0 00 02 */ li r5, 2 -/* 8036B1B0 00368110 28 00 00 00 */ cmplwi r0, 0 -/* 8036B1B4 00368114 41 82 00 10 */ beq lbl_8036B1C4 -/* 8036B1B8 00368118 80 04 00 04 */ lwz r0, 4(r4) -/* 8036B1BC 0036811C 7C 09 00 40 */ cmplw r9, r0 -/* 8036B1C0 00368120 41 82 00 28 */ beq lbl_8036B1E8 -lbl_8036B1C4: -/* 8036B1C4 00368124 88 04 00 F4 */ lbz r0, 0xf4(r4) -/* 8036B1C8 00368128 38 A0 00 03 */ li r5, 3 -/* 8036B1CC 0036812C 38 84 00 F4 */ addi r4, r4, 0xf4 -/* 8036B1D0 00368130 28 00 00 00 */ cmplwi r0, 0 -/* 8036B1D4 00368134 41 82 00 10 */ beq lbl_8036B1E4 -/* 8036B1D8 00368138 80 04 00 04 */ lwz r0, 4(r4) -/* 8036B1DC 0036813C 7C 09 00 40 */ cmplw r9, r0 -/* 8036B1E0 00368140 41 82 00 08 */ beq lbl_8036B1E8 -lbl_8036B1E4: -/* 8036B1E4 00368144 38 A0 00 04 */ li r5, 4 -lbl_8036B1E8: -/* 8036B1E8 00368148 28 05 00 04 */ cmplwi r5, 4 -/* 8036B1EC 0036814C 40 82 FF 58 */ bne lbl_8036B144 -/* 8036B1F0 00368150 1C C8 00 F4 */ mulli r6, r8, 0xf4 -/* 8036B1F4 00368154 3C 80 80 54 */ lis r4, lbl_80540640@ha -/* 8036B1F8 00368158 38 A0 00 01 */ li r5, 1 -/* 8036B1FC 0036815C 38 04 06 40 */ addi r0, r4, lbl_80540640@l -/* 8036B200 00368160 7C 80 32 14 */ add r4, r0, r6 -/* 8036B204 00368164 38 00 00 00 */ li r0, 0 -/* 8036B208 00368168 98 A4 00 00 */ stb r5, 0(r4) -/* 8036B20C 0036816C 91 24 00 04 */ stw r9, 4(r4) -/* 8036B210 00368170 90 04 00 08 */ stw r0, 8(r4) -/* 8036B214 00368174 90 04 00 0C */ stw r0, 0xc(r4) -/* 8036B218 00368178 90 83 00 00 */ stw r4, 0(r3) -/* 8036B21C 0036817C 7D 23 4B 78 */ mr r3, r9 -/* 8036B220 00368180 4E 80 00 20 */ blr -lbl_8036B224: -/* 8036B224 00368184 38 A5 00 F4 */ addi r5, r5, 0xf4 -/* 8036B228 00368188 39 08 00 01 */ addi r8, r8, 1 -/* 8036B22C 0036818C 42 00 FE F8 */ bdnz lbl_8036B124 -/* 8036B230 00368190 38 60 FF FF */ li r3, -1 -/* 8036B234 00368194 4E 80 00 20 */ blr - -.global CloseFiles__10SDSPStreamFv -CloseFiles__10SDSPStreamFv: -/* 8036B238 00368198 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8036B23C 0036819C 7C 08 02 A6 */ mflr r0 -/* 8036B240 003681A0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8036B244 003681A4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8036B248 003681A8 7C 7F 1B 78 */ mr r31, r3 -/* 8036B24C 003681AC 38 7F 00 50 */ addi r3, r31, 0x50 -/* 8036B250 003681B0 48 00 64 FD */ bl DVDClose -/* 8036B254 003681B4 38 7F 00 8C */ addi r3, r31, 0x8c -/* 8036B258 003681B8 48 00 64 F5 */ bl DVDClose -/* 8036B25C 003681BC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8036B260 003681C0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8036B264 003681C4 7C 08 03 A6 */ mtlr r0 -/* 8036B268 003681C8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8036B26C 003681CC 4E 80 00 20 */ blr - -.global OpenFiles__10SDSPStreamFPCc -OpenFiles__10SDSPStreamFPCc: -/* 8036B270 003681D0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8036B274 003681D4 7C 08 02 A6 */ mflr r0 -/* 8036B278 003681D8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8036B27C 003681DC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8036B280 003681E0 7C 9F 23 78 */ mr r31, r4 -/* 8036B284 003681E4 38 9F 00 50 */ addi r4, r31, 0x50 -/* 8036B288 003681E8 93 C1 00 08 */ stw r30, 8(r1) -/* 8036B28C 003681EC 7C 7E 1B 78 */ mr r30, r3 -/* 8036B290 003681F0 48 00 63 F5 */ bl DVDOpen -/* 8036B294 003681F4 7F C3 F3 78 */ mr r3, r30 -/* 8036B298 003681F8 38 9F 00 8C */ addi r4, r31, 0x8c -/* 8036B29C 003681FC 48 00 63 E9 */ bl DVDOpen -/* 8036B2A0 00368200 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8036B2A4 00368204 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8036B2A8 00368208 83 C1 00 08 */ lwz r30, 8(r1) -/* 8036B2AC 0036820C 7C 08 03 A6 */ mtlr r0 -/* 8036B2B0 00368210 38 21 00 10 */ addi r1, r1, 0x10 -/* 8036B2B4 00368214 4E 80 00 20 */ blr - -.global g721_decoder__FiP10g72x_state -g721_decoder__FiP10g72x_state: -/* 8036B2B8 00368218 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8036B2BC 0036821C 7C 08 02 A6 */ mflr r0 -/* 8036B2C0 00368220 3C A0 80 3F */ lis r5, lbl_803EF840@ha -/* 8036B2C4 00368224 90 01 00 34 */ stw r0, 0x34(r1) -/* 8036B2C8 00368228 BF 21 00 14 */ stmw r25, 0x14(r1) -/* 8036B2CC 0036822C 7C 9F 23 78 */ mr r31, r4 -/* 8036B2D0 00368230 7C 7E 1B 78 */ mr r30, r3 -/* 8036B2D4 00368234 3B A5 F8 40 */ addi r29, r5, lbl_803EF840@l -/* 8036B2D8 00368238 7F E3 FB 78 */ mr r3, r31 -/* 8036B2DC 0036823C 48 00 07 55 */ bl predictor_zero__FP10g72x_state -/* 8036B2E0 00368240 7C 7B 07 34 */ extsh r27, r3 -/* 8036B2E4 00368244 7F E3 FB 78 */ mr r3, r31 -/* 8036B2E8 00368248 7F 60 0E 70 */ srawi r0, r27, 1 -/* 8036B2EC 0036824C 7C 1A 07 34 */ extsh r26, r0 -/* 8036B2F0 00368250 48 00 06 E9 */ bl predictor_pole__FP10g72x_state -/* 8036B2F4 00368254 7C 1B 1A 14 */ add r0, r27, r3 -/* 8036B2F8 00368258 7F E3 FB 78 */ mr r3, r31 -/* 8036B2FC 0036825C 7C 00 07 34 */ extsh r0, r0 -/* 8036B300 00368260 7C 00 0E 70 */ srawi r0, r0, 1 -/* 8036B304 00368264 7C 19 07 34 */ extsh r25, r0 -/* 8036B308 00368268 48 00 06 7D */ bl step_size__FP10g72x_state -/* 8036B30C 0036826C 57 DC 0E FC */ rlwinm r28, r30, 1, 0x1b, 0x1e -/* 8036B310 00368270 38 9D 00 20 */ addi r4, r29, 0x20 -/* 8036B314 00368274 7C 65 07 34 */ extsh r5, r3 -/* 8036B318 00368278 7C 84 E2 AE */ lhax r4, r4, r28 -/* 8036B31C 0036827C 7C BB 2B 78 */ mr r27, r5 -/* 8036B320 00368280 57 C3 07 38 */ rlwinm r3, r30, 0, 0x1c, 0x1c -/* 8036B324 00368284 48 00 06 05 */ bl reconstruct__Fiii -/* 8036B328 00368288 7C 67 07 35 */ extsh. r7, r3 -/* 8036B32C 0036828C 7C 19 3A 14 */ add r0, r25, r7 -/* 8036B330 00368290 40 80 00 0C */ bge lbl_8036B33C -/* 8036B334 00368294 54 E0 04 BE */ clrlwi r0, r7, 0x12 -/* 8036B338 00368298 7C 00 C8 50 */ subf r0, r0, r25 -lbl_8036B33C: -/* 8036B33C 0036829C 7C 1E 07 34 */ extsh r30, r0 -/* 8036B340 003682A0 38 9D 00 40 */ addi r4, r29, 0x40 -/* 8036B344 003682A4 7C A4 E2 AE */ lhax r5, r4, r28 -/* 8036B348 003682A8 7C 19 F0 50 */ subf r0, r25, r30 -/* 8036B34C 003682AC 38 7D 00 60 */ addi r3, r29, 0x60 -/* 8036B350 003682B0 7F 64 DB 78 */ mr r4, r27 -/* 8036B354 003682B4 7C 1A 02 14 */ add r0, r26, r0 -/* 8036B358 003682B8 7C C3 E2 AE */ lhax r6, r3, r28 -/* 8036B35C 003682BC 7C 09 07 34 */ extsh r9, r0 -/* 8036B360 003682C0 7F C8 F3 78 */ mr r8, r30 -/* 8036B364 003682C4 7F EA FB 78 */ mr r10, r31 -/* 8036B368 003682C8 54 A5 28 34 */ slwi r5, r5, 5 -/* 8036B36C 003682CC 38 60 00 04 */ li r3, 4 -/* 8036B370 003682D0 48 00 00 1D */ bl update__FiiiiiiiP10g72x_state -/* 8036B374 003682D4 57 C3 10 3A */ slwi r3, r30, 2 -/* 8036B378 003682D8 BB 21 00 14 */ lmw r25, 0x14(r1) -/* 8036B37C 003682DC 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8036B380 003682E0 7C 08 03 A6 */ mtlr r0 -/* 8036B384 003682E4 38 21 00 30 */ addi r1, r1, 0x30 -/* 8036B388 003682E8 4E 80 00 20 */ blr - -.global update__FiiiiiiiP10g72x_state -update__FiiiiiiiP10g72x_state: -/* 8036B38C 003682EC 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8036B390 003682F0 7C 08 02 A6 */ mflr r0 -/* 8036B394 003682F4 90 01 00 34 */ stw r0, 0x34(r1) -/* 8036B398 003682F8 BE E1 00 0C */ stmw r23, 0xc(r1) -/* 8036B39C 003682FC 7C FA 3B 78 */ mr r26, r7 -/* 8036B3A0 00368300 55 27 0F FE */ srwi r7, r9, 0x1f -/* 8036B3A4 00368304 7C 98 23 78 */ mr r24, r4 -/* 8036B3A8 00368308 7C D9 33 78 */ mr r25, r6 -/* 8036B3AC 0036830C 7D 5C 53 78 */ mr r28, r10 -/* 8036B3B0 00368310 7D 1B 43 78 */ mr r27, r8 -/* 8036B3B4 00368314 7C FD 07 34 */ extsh r29, r7 -/* 8036B3B8 00368318 80 0A 00 00 */ lwz r0, 0(r10) -/* 8036B3BC 0036831C 7C 04 7E 70 */ srawi r4, r0, 0xf -/* 8036B3C0 00368320 54 00 B6 FE */ rlwinm r0, r0, 0x16, 0x1b, 0x1f -/* 8036B3C4 00368324 7C 86 07 34 */ extsh r6, r4 -/* 8036B3C8 00368328 7C 04 07 34 */ extsh r4, r0 -/* 8036B3CC 0036832C 38 04 00 20 */ addi r0, r4, 0x20 -/* 8036B3D0 00368330 2C 06 00 09 */ cmpwi r6, 9 -/* 8036B3D4 00368334 7C 04 30 30 */ slw r4, r0, r6 -/* 8036B3D8 00368338 7C 86 07 34 */ extsh r6, r4 -/* 8036B3DC 0036833C 57 40 04 7E */ clrlwi r0, r26, 0x11 -/* 8036B3E0 00368340 38 80 7C 00 */ li r4, 0x7c00 -/* 8036B3E4 00368344 41 81 00 08 */ bgt lbl_8036B3EC -/* 8036B3E8 00368348 7C C4 33 78 */ mr r4, r6 -lbl_8036B3EC: -/* 8036B3EC 0036834C 7C 87 07 34 */ extsh r7, r4 -/* 8036B3F0 00368350 88 9C 00 30 */ lbz r4, 0x30(r28) -/* 8036B3F4 00368354 7C E6 0E 70 */ srawi r6, r7, 1 -/* 8036B3F8 00368358 7C C7 32 14 */ add r6, r7, r6 -/* 8036B3FC 0036835C 7C 84 07 75 */ extsb. r4, r4 -/* 8036B400 00368360 7C C4 0E 70 */ srawi r4, r6, 1 -/* 8036B404 00368364 7C 86 07 34 */ extsh r6, r4 -/* 8036B408 00368368 40 82 00 0C */ bne lbl_8036B414 -/* 8036B40C 0036836C 3B C0 00 00 */ li r30, 0 -/* 8036B410 00368370 48 00 00 1C */ b lbl_8036B42C -lbl_8036B414: -/* 8036B414 00368374 7C 04 07 34 */ extsh r4, r0 -/* 8036B418 00368378 7C 04 30 00 */ cmpw r4, r6 -/* 8036B41C 0036837C 41 81 00 0C */ bgt lbl_8036B428 -/* 8036B420 00368380 3B C0 00 00 */ li r30, 0 -/* 8036B424 00368384 48 00 00 08 */ b lbl_8036B42C -lbl_8036B428: -/* 8036B428 00368388 3B C0 00 01 */ li r30, 1 -lbl_8036B42C: -/* 8036B42C 0036838C 7C 98 28 50 */ subf r4, r24, r5 -/* 8036B430 00368390 7C 84 2E 70 */ srawi r4, r4, 5 -/* 8036B434 00368394 7C 98 22 14 */ add r4, r24, r4 -/* 8036B438 00368398 B0 9C 00 04 */ sth r4, 4(r28) -/* 8036B43C 0036839C A8 9C 00 04 */ lha r4, 4(r28) -/* 8036B440 003683A0 2C 04 02 20 */ cmpwi r4, 0x220 -/* 8036B444 003683A4 40 80 00 10 */ bge lbl_8036B454 -/* 8036B448 003683A8 38 80 02 20 */ li r4, 0x220 -/* 8036B44C 003683AC B0 9C 00 04 */ sth r4, 4(r28) -/* 8036B450 003683B0 48 00 00 14 */ b lbl_8036B464 -lbl_8036B454: -/* 8036B454 003683B4 2C 04 14 00 */ cmpwi r4, 0x1400 -/* 8036B458 003683B8 40 81 00 0C */ ble lbl_8036B464 -/* 8036B45C 003683BC 38 80 14 00 */ li r4, 0x1400 -/* 8036B460 003683C0 B0 9C 00 04 */ sth r4, 4(r28) -lbl_8036B464: -/* 8036B464 003683C4 80 DC 00 00 */ lwz r6, 0(r28) -/* 8036B468 003683C8 7F C4 07 74 */ extsb r4, r30 -/* 8036B46C 003683CC A8 BC 00 04 */ lha r5, 4(r28) -/* 8036B470 003683D0 2C 04 00 01 */ cmpwi r4, 1 -/* 8036B474 003683D4 7C 86 00 D0 */ neg r4, r6 -/* 8036B478 003683D8 7C 84 36 70 */ srawi r4, r4, 6 -/* 8036B47C 003683DC 7C 84 32 14 */ add r4, r4, r6 -/* 8036B480 003683E0 7C 85 22 14 */ add r4, r5, r4 -/* 8036B484 003683E4 90 9C 00 00 */ stw r4, 0(r28) -/* 8036B488 003683E8 40 82 00 2C */ bne lbl_8036B4B4 -/* 8036B48C 003683EC 38 60 00 00 */ li r3, 0 -/* 8036B490 003683F0 B0 7C 00 0C */ sth r3, 0xc(r28) -/* 8036B494 003683F4 B0 7C 00 0E */ sth r3, 0xe(r28) -/* 8036B498 003683F8 B0 7C 00 10 */ sth r3, 0x10(r28) -/* 8036B49C 003683FC B0 7C 00 12 */ sth r3, 0x12(r28) -/* 8036B4A0 00368400 B0 7C 00 14 */ sth r3, 0x14(r28) -/* 8036B4A4 00368404 B0 7C 00 16 */ sth r3, 0x16(r28) -/* 8036B4A8 00368408 B0 7C 00 18 */ sth r3, 0x18(r28) -/* 8036B4AC 0036840C B0 7C 00 1A */ sth r3, 0x1a(r28) -/* 8036B4B0 00368410 48 00 02 10 */ b lbl_8036B6C0 -lbl_8036B4B4: -/* 8036B4B4 00368414 A8 DC 00 0E */ lha r6, 0xe(r28) -/* 8036B4B8 00368418 2C 09 00 00 */ cmpwi r9, 0 -/* 8036B4BC 0036841C A8 BC 00 1C */ lha r5, 0x1c(r28) -/* 8036B4C0 00368420 7C C4 3E 70 */ srawi r4, r6, 7 -/* 8036B4C4 00368424 7F A5 2A 78 */ xor r5, r29, r5 -/* 8036B4C8 00368428 7C 84 30 50 */ subf r4, r4, r6 -/* 8036B4CC 0036842C 7C A6 07 34 */ extsh r6, r5 -/* 8036B4D0 00368430 7C 9F 07 34 */ extsh r31, r4 -/* 8036B4D4 00368434 41 82 00 AC */ beq lbl_8036B580 -/* 8036B4D8 00368438 7C C4 07 35 */ extsh. r4, r6 -/* 8036B4DC 0036843C 41 82 00 0C */ beq lbl_8036B4E8 -/* 8036B4E0 00368440 A8 9C 00 0C */ lha r4, 0xc(r28) -/* 8036B4E4 00368444 48 00 00 0C */ b lbl_8036B4F0 -lbl_8036B4E8: -/* 8036B4E8 00368448 A8 9C 00 0C */ lha r4, 0xc(r28) -/* 8036B4EC 0036844C 7C 84 00 D0 */ neg r4, r4 -lbl_8036B4F0: -/* 8036B4F0 00368450 7C 84 07 34 */ extsh r4, r4 -/* 8036B4F4 00368454 2C 04 E0 01 */ cmpwi r4, -8191 -/* 8036B4F8 00368458 40 80 00 0C */ bge lbl_8036B504 -/* 8036B4FC 0036845C 3B FF FF 00 */ addi r31, r31, -256 -/* 8036B500 00368460 48 00 00 20 */ b lbl_8036B520 -lbl_8036B504: -/* 8036B504 00368464 2C 04 1F FF */ cmpwi r4, 0x1fff -/* 8036B508 00368468 40 81 00 0C */ ble lbl_8036B514 -/* 8036B50C 0036846C 3B FF 00 FF */ addi r31, r31, 0xff -/* 8036B510 00368470 48 00 00 10 */ b lbl_8036B520 -lbl_8036B514: -/* 8036B514 00368474 7C 84 2E 70 */ srawi r4, r4, 5 -/* 8036B518 00368478 7C 9F 22 14 */ add r4, r31, r4 -/* 8036B51C 0036847C 7C 9F 07 34 */ extsh r31, r4 -lbl_8036B520: -/* 8036B520 00368480 A8 9C 00 1E */ lha r4, 0x1e(r28) -/* 8036B524 00368484 7F A4 22 79 */ xor. r4, r29, r4 -/* 8036B528 00368488 41 82 00 30 */ beq lbl_8036B558 -/* 8036B52C 0036848C 7F E4 07 34 */ extsh r4, r31 -/* 8036B530 00368490 2C 04 D0 80 */ cmpwi r4, -12160 -/* 8036B534 00368494 41 81 00 0C */ bgt lbl_8036B540 -/* 8036B538 00368498 3B E0 D0 00 */ li r31, -12288 -/* 8036B53C 0036849C 48 00 00 44 */ b lbl_8036B580 -lbl_8036B540: -/* 8036B540 003684A0 2C 04 30 80 */ cmpwi r4, 0x3080 -/* 8036B544 003684A4 41 80 00 0C */ blt lbl_8036B550 -/* 8036B548 003684A8 3B E0 30 00 */ li r31, 0x3000 -/* 8036B54C 003684AC 48 00 00 34 */ b lbl_8036B580 -lbl_8036B550: -/* 8036B550 003684B0 3B FF FF 80 */ addi r31, r31, -128 -/* 8036B554 003684B4 48 00 00 2C */ b lbl_8036B580 -lbl_8036B558: -/* 8036B558 003684B8 7F E4 07 34 */ extsh r4, r31 -/* 8036B55C 003684BC 2C 04 CF 80 */ cmpwi r4, -12416 -/* 8036B560 003684C0 41 81 00 0C */ bgt lbl_8036B56C -/* 8036B564 003684C4 3B E0 D0 00 */ li r31, -12288 -/* 8036B568 003684C8 48 00 00 18 */ b lbl_8036B580 -lbl_8036B56C: -/* 8036B56C 003684CC 2C 04 2F 80 */ cmpwi r4, 0x2f80 -/* 8036B570 003684D0 41 80 00 0C */ blt lbl_8036B57C -/* 8036B574 003684D4 3B E0 30 00 */ li r31, 0x3000 -/* 8036B578 003684D8 48 00 00 08 */ b lbl_8036B580 -lbl_8036B57C: -/* 8036B57C 003684DC 3B FF 00 80 */ addi r31, r31, 0x80 -lbl_8036B580: -/* 8036B580 003684E0 B3 FC 00 0E */ sth r31, 0xe(r28) -/* 8036B584 003684E4 2C 09 00 00 */ cmpwi r9, 0 -/* 8036B588 003684E8 A8 BC 00 0C */ lha r5, 0xc(r28) -/* 8036B58C 003684EC 7C A4 46 70 */ srawi r4, r5, 8 -/* 8036B590 003684F0 7C 84 28 50 */ subf r4, r4, r5 -/* 8036B594 003684F4 B0 9C 00 0C */ sth r4, 0xc(r28) -/* 8036B598 003684F8 41 82 00 28 */ beq lbl_8036B5C0 -/* 8036B59C 003684FC 7C C4 07 35 */ extsh. r4, r6 -/* 8036B5A0 00368500 40 82 00 14 */ bne lbl_8036B5B4 -/* 8036B5A4 00368504 A8 9C 00 0C */ lha r4, 0xc(r28) -/* 8036B5A8 00368508 38 84 00 C0 */ addi r4, r4, 0xc0 -/* 8036B5AC 0036850C B0 9C 00 0C */ sth r4, 0xc(r28) -/* 8036B5B0 00368510 48 00 00 10 */ b lbl_8036B5C0 -lbl_8036B5B4: -/* 8036B5B4 00368514 A8 9C 00 0C */ lha r4, 0xc(r28) -/* 8036B5B8 00368518 38 84 FF 40 */ addi r4, r4, -192 -/* 8036B5BC 0036851C B0 9C 00 0C */ sth r4, 0xc(r28) -lbl_8036B5C0: -/* 8036B5C0 00368520 20 9F 3C 00 */ subfic r4, r31, 0x3c00 -/* 8036B5C4 00368524 A8 BC 00 0C */ lha r5, 0xc(r28) -/* 8036B5C8 00368528 7C 86 07 34 */ extsh r6, r4 -/* 8036B5CC 0036852C 7C 86 00 D0 */ neg r4, r6 -/* 8036B5D0 00368530 7C 05 20 00 */ cmpw r5, r4 -/* 8036B5D4 00368534 40 80 00 0C */ bge lbl_8036B5E0 -/* 8036B5D8 00368538 B0 9C 00 0C */ sth r4, 0xc(r28) -/* 8036B5DC 0036853C 48 00 00 10 */ b lbl_8036B5EC -lbl_8036B5E0: -/* 8036B5E0 00368540 7C 05 30 00 */ cmpw r5, r6 -/* 8036B5E4 00368544 40 81 00 08 */ ble lbl_8036B5EC -/* 8036B5E8 00368548 B0 DC 00 0C */ sth r6, 0xc(r28) -lbl_8036B5EC: -/* 8036B5EC 0036854C 38 80 00 03 */ li r4, 3 -/* 8036B5F0 00368550 7F 86 E3 78 */ mr r6, r28 -/* 8036B5F4 00368554 38 E0 00 00 */ li r7, 0 -/* 8036B5F8 00368558 7C 89 03 A6 */ mtctr r4 -lbl_8036B5FC: -/* 8036B5FC 0036855C 2C 03 00 05 */ cmpwi r3, 5 -/* 8036B600 00368560 40 82 00 18 */ bne lbl_8036B618 -/* 8036B604 00368564 A8 A6 00 10 */ lha r5, 0x10(r6) -/* 8036B608 00368568 7C A4 4E 70 */ srawi r4, r5, 9 -/* 8036B60C 0036856C 7C 84 28 50 */ subf r4, r4, r5 -/* 8036B610 00368570 B0 86 00 10 */ sth r4, 0x10(r6) -/* 8036B614 00368574 48 00 00 14 */ b lbl_8036B628 -lbl_8036B618: -/* 8036B618 00368578 A8 A6 00 10 */ lha r5, 0x10(r6) -/* 8036B61C 0036857C 7C A4 46 70 */ srawi r4, r5, 8 -/* 8036B620 00368580 7C 84 28 50 */ subf r4, r4, r5 -/* 8036B624 00368584 B0 86 00 10 */ sth r4, 0x10(r6) -lbl_8036B628: -/* 8036B628 00368588 2C 00 00 00 */ cmpwi r0, 0 -/* 8036B62C 0036858C 41 82 00 2C */ beq lbl_8036B658 -/* 8036B630 00368590 A8 86 00 20 */ lha r4, 0x20(r6) -/* 8036B634 00368594 7F 44 22 79 */ xor. r4, r26, r4 -/* 8036B638 00368598 41 80 00 14 */ blt lbl_8036B64C -/* 8036B63C 0036859C A8 86 00 10 */ lha r4, 0x10(r6) -/* 8036B640 003685A0 38 84 00 80 */ addi r4, r4, 0x80 -/* 8036B644 003685A4 B0 86 00 10 */ sth r4, 0x10(r6) -/* 8036B648 003685A8 48 00 00 10 */ b lbl_8036B658 -lbl_8036B64C: -/* 8036B64C 003685AC A8 86 00 10 */ lha r4, 0x10(r6) -/* 8036B650 003685B0 38 84 FF 80 */ addi r4, r4, -128 -/* 8036B654 003685B4 B0 86 00 10 */ sth r4, 0x10(r6) -lbl_8036B658: -/* 8036B658 003685B8 2C 03 00 05 */ cmpwi r3, 5 -/* 8036B65C 003685BC 40 82 00 18 */ bne lbl_8036B674 -/* 8036B660 003685C0 A8 A6 00 12 */ lha r5, 0x12(r6) -/* 8036B664 003685C4 7C A4 4E 70 */ srawi r4, r5, 9 -/* 8036B668 003685C8 7C 84 28 50 */ subf r4, r4, r5 -/* 8036B66C 003685CC B0 86 00 12 */ sth r4, 0x12(r6) -/* 8036B670 003685D0 48 00 00 14 */ b lbl_8036B684 -lbl_8036B674: -/* 8036B674 003685D4 A8 A6 00 12 */ lha r5, 0x12(r6) -/* 8036B678 003685D8 7C A4 46 70 */ srawi r4, r5, 8 -/* 8036B67C 003685DC 7C 84 28 50 */ subf r4, r4, r5 -/* 8036B680 003685E0 B0 86 00 12 */ sth r4, 0x12(r6) -lbl_8036B684: -/* 8036B684 003685E4 2C 00 00 00 */ cmpwi r0, 0 -/* 8036B688 003685E8 41 82 00 2C */ beq lbl_8036B6B4 -/* 8036B68C 003685EC A8 86 00 22 */ lha r4, 0x22(r6) -/* 8036B690 003685F0 7F 44 22 79 */ xor. r4, r26, r4 -/* 8036B694 003685F4 41 80 00 14 */ blt lbl_8036B6A8 -/* 8036B698 003685F8 A8 86 00 12 */ lha r4, 0x12(r6) -/* 8036B69C 003685FC 38 84 00 80 */ addi r4, r4, 0x80 -/* 8036B6A0 00368600 B0 86 00 12 */ sth r4, 0x12(r6) -/* 8036B6A4 00368604 48 00 00 10 */ b lbl_8036B6B4 -lbl_8036B6A8: -/* 8036B6A8 00368608 A8 86 00 12 */ lha r4, 0x12(r6) -/* 8036B6AC 0036860C 38 84 FF 80 */ addi r4, r4, -128 -/* 8036B6B0 00368610 B0 86 00 12 */ sth r4, 0x12(r6) -lbl_8036B6B4: -/* 8036B6B4 00368614 38 C6 00 04 */ addi r6, r6, 4 -/* 8036B6B8 00368618 38 E7 00 01 */ addi r7, r7, 1 -/* 8036B6BC 0036861C 42 00 FF 40 */ bdnz lbl_8036B5FC -lbl_8036B6C0: -/* 8036B6C0 00368620 A8 9C 00 28 */ lha r4, 0x28(r28) -/* 8036B6C4 00368624 7C 03 07 35 */ extsh. r3, r0 -/* 8036B6C8 00368628 B0 9C 00 2A */ sth r4, 0x2a(r28) -/* 8036B6CC 0036862C A8 9C 00 26 */ lha r4, 0x26(r28) -/* 8036B6D0 00368630 B0 9C 00 28 */ sth r4, 0x28(r28) -/* 8036B6D4 00368634 A8 9C 00 24 */ lha r4, 0x24(r28) -/* 8036B6D8 00368638 B0 9C 00 26 */ sth r4, 0x26(r28) -/* 8036B6DC 0036863C A8 9C 00 22 */ lha r4, 0x22(r28) -/* 8036B6E0 00368640 B0 9C 00 24 */ sth r4, 0x24(r28) -/* 8036B6E4 00368644 A8 9C 00 20 */ lha r4, 0x20(r28) -/* 8036B6E8 00368648 B0 9C 00 22 */ sth r4, 0x22(r28) -/* 8036B6EC 0036864C 40 82 00 20 */ bne lbl_8036B70C -/* 8036B6F0 00368650 2C 1A 00 00 */ cmpwi r26, 0 -/* 8036B6F4 00368654 3C 60 00 01 */ lis r3, 0x0000FC20@ha -/* 8036B6F8 00368658 38 03 FC 20 */ addi r0, r3, 0x0000FC20@l -/* 8036B6FC 0036865C 41 80 00 08 */ blt lbl_8036B704 -/* 8036B700 00368660 38 00 00 20 */ li r0, 0x20 -lbl_8036B704: -/* 8036B704 00368664 B0 1C 00 20 */ sth r0, 0x20(r28) -/* 8036B708 00368668 48 00 00 54 */ b lbl_8036B75C -lbl_8036B70C: -/* 8036B70C 0036866C 3C 60 80 3F */ lis r3, lbl_803EF840@ha -/* 8036B710 00368670 7C 17 07 34 */ extsh r23, r0 -/* 8036B714 00368674 38 83 F8 40 */ addi r4, r3, lbl_803EF840@l -/* 8036B718 00368678 38 A0 00 0F */ li r5, 0xf -/* 8036B71C 0036867C 7E E3 BB 78 */ mr r3, r23 -/* 8036B720 00368680 48 00 04 E5 */ bl quan__FiPsi -/* 8036B724 00368684 2C 1A 00 00 */ cmpwi r26, 0 -/* 8036B728 00368688 7C 65 07 34 */ extsh r5, r3 -/* 8036B72C 0036868C 41 80 00 18 */ blt lbl_8036B744 -/* 8036B730 00368690 56 E0 30 32 */ slwi r0, r23, 6 -/* 8036B734 00368694 54 A3 30 32 */ slwi r3, r5, 6 -/* 8036B738 00368698 7C 00 2E 30 */ sraw r0, r0, r5 -/* 8036B73C 0036869C 7C 03 02 14 */ add r0, r3, r0 -/* 8036B740 003686A0 48 00 00 18 */ b lbl_8036B758 -lbl_8036B744: -/* 8036B744 003686A4 56 E0 30 32 */ slwi r0, r23, 6 -/* 8036B748 003686A8 54 A4 30 32 */ slwi r4, r5, 6 -/* 8036B74C 003686AC 7C 03 2E 30 */ sraw r3, r0, r5 -/* 8036B750 003686B0 38 03 FC 00 */ addi r0, r3, -1024 -/* 8036B754 003686B4 7C 04 02 14 */ add r0, r4, r0 -lbl_8036B758: -/* 8036B758 003686B8 B0 1C 00 20 */ sth r0, 0x20(r28) -lbl_8036B75C: -/* 8036B75C 003686BC A8 1C 00 2C */ lha r0, 0x2c(r28) -/* 8036B760 003686C0 2C 1B 00 00 */ cmpwi r27, 0 -/* 8036B764 003686C4 B0 1C 00 2E */ sth r0, 0x2e(r28) -/* 8036B768 003686C8 40 82 00 10 */ bne lbl_8036B778 -/* 8036B76C 003686CC 38 00 00 20 */ li r0, 0x20 -/* 8036B770 003686D0 B0 1C 00 2C */ sth r0, 0x2c(r28) -/* 8036B774 003686D4 48 00 00 84 */ b lbl_8036B7F8 -lbl_8036B778: -/* 8036B778 003686D8 40 81 00 34 */ ble lbl_8036B7AC -/* 8036B77C 003686DC 3C 80 80 3F */ lis r4, lbl_803EF840@ha -/* 8036B780 003686E0 7F 63 DB 78 */ mr r3, r27 -/* 8036B784 003686E4 38 84 F8 40 */ addi r4, r4, lbl_803EF840@l -/* 8036B788 003686E8 38 A0 00 0F */ li r5, 0xf -/* 8036B78C 003686EC 48 00 04 79 */ bl quan__FiPsi -/* 8036B790 003686F0 7C 64 07 34 */ extsh r4, r3 -/* 8036B794 003686F4 57 60 30 32 */ slwi r0, r27, 6 -/* 8036B798 003686F8 54 83 30 32 */ slwi r3, r4, 6 -/* 8036B79C 003686FC 7C 00 26 30 */ sraw r0, r0, r4 -/* 8036B7A0 00368700 7C 03 02 14 */ add r0, r3, r0 -/* 8036B7A4 00368704 B0 1C 00 2C */ sth r0, 0x2c(r28) -/* 8036B7A8 00368708 48 00 00 50 */ b lbl_8036B7F8 -lbl_8036B7AC: -/* 8036B7AC 0036870C 2C 1B 80 00 */ cmpwi r27, -32768 -/* 8036B7B0 00368710 40 81 00 40 */ ble lbl_8036B7F0 -/* 8036B7B4 00368714 7C 1B 00 D0 */ neg r0, r27 -/* 8036B7B8 00368718 3C 60 80 3F */ lis r3, lbl_803EF840@ha -/* 8036B7BC 0036871C 7C 1A 07 34 */ extsh r26, r0 -/* 8036B7C0 00368720 38 A0 00 0F */ li r5, 0xf -/* 8036B7C4 00368724 38 83 F8 40 */ addi r4, r3, lbl_803EF840@l -/* 8036B7C8 00368728 7F 43 D3 78 */ mr r3, r26 -/* 8036B7CC 0036872C 48 00 04 39 */ bl quan__FiPsi -/* 8036B7D0 00368730 7C 64 07 34 */ extsh r4, r3 -/* 8036B7D4 00368734 57 40 30 32 */ slwi r0, r26, 6 -/* 8036B7D8 00368738 7C 03 26 30 */ sraw r3, r0, r4 -/* 8036B7DC 0036873C 54 84 30 32 */ slwi r4, r4, 6 -/* 8036B7E0 00368740 38 03 FC 00 */ addi r0, r3, -1024 -/* 8036B7E4 00368744 7C 04 02 14 */ add r0, r4, r0 -/* 8036B7E8 00368748 B0 1C 00 2C */ sth r0, 0x2c(r28) -/* 8036B7EC 0036874C 48 00 00 0C */ b lbl_8036B7F8 -lbl_8036B7F0: -/* 8036B7F0 00368750 38 00 FC 20 */ li r0, -992 -/* 8036B7F4 00368754 B0 1C 00 2C */ sth r0, 0x2c(r28) -lbl_8036B7F8: -/* 8036B7F8 00368758 A8 7C 00 1C */ lha r3, 0x1c(r28) -/* 8036B7FC 0036875C 7F C0 07 74 */ extsb r0, r30 -/* 8036B800 00368760 2C 00 00 01 */ cmpwi r0, 1 -/* 8036B804 00368764 B0 7C 00 1E */ sth r3, 0x1e(r28) -/* 8036B808 00368768 B3 BC 00 1C */ sth r29, 0x1c(r28) -/* 8036B80C 0036876C 40 82 00 10 */ bne lbl_8036B81C -/* 8036B810 00368770 38 00 00 00 */ li r0, 0 -/* 8036B814 00368774 98 1C 00 30 */ stb r0, 0x30(r28) -/* 8036B818 00368778 48 00 00 24 */ b lbl_8036B83C -lbl_8036B81C: -/* 8036B81C 0036877C 7F E0 07 34 */ extsh r0, r31 -/* 8036B820 00368780 2C 00 D2 00 */ cmpwi r0, -11776 -/* 8036B824 00368784 40 80 00 10 */ bge lbl_8036B834 -/* 8036B828 00368788 38 00 00 01 */ li r0, 1 -/* 8036B82C 0036878C 98 1C 00 30 */ stb r0, 0x30(r28) -/* 8036B830 00368790 48 00 00 0C */ b lbl_8036B83C -lbl_8036B834: -/* 8036B834 00368794 38 00 00 00 */ li r0, 0 -/* 8036B838 00368798 98 1C 00 30 */ stb r0, 0x30(r28) -lbl_8036B83C: -/* 8036B83C 0036879C A8 BC 00 06 */ lha r5, 6(r28) -/* 8036B840 003687A0 7F C0 07 74 */ extsb r0, r30 -/* 8036B844 003687A4 2C 00 00 01 */ cmpwi r0, 1 -/* 8036B848 003687A8 57 23 10 3A */ slwi r3, r25, 2 -/* 8036B84C 003687AC 7C 85 C8 50 */ subf r4, r5, r25 -/* 8036B850 003687B0 7C 80 2E 70 */ srawi r0, r4, 5 -/* 8036B854 003687B4 7C 05 02 14 */ add r0, r5, r0 -/* 8036B858 003687B8 B0 1C 00 06 */ sth r0, 6(r28) -/* 8036B85C 003687BC A8 9C 00 08 */ lha r4, 8(r28) -/* 8036B860 003687C0 7C 04 18 50 */ subf r0, r4, r3 -/* 8036B864 003687C4 7C 00 3E 70 */ srawi r0, r0, 7 -/* 8036B868 003687C8 7C 04 02 14 */ add r0, r4, r0 -/* 8036B86C 003687CC B0 1C 00 08 */ sth r0, 8(r28) -/* 8036B870 003687D0 40 82 00 10 */ bne lbl_8036B880 -/* 8036B874 003687D4 38 00 01 00 */ li r0, 0x100 -/* 8036B878 003687D8 B0 1C 00 0A */ sth r0, 0xa(r28) -/* 8036B87C 003687DC 48 00 00 98 */ b lbl_8036B914 -lbl_8036B880: -/* 8036B880 003687E0 2C 18 06 00 */ cmpwi r24, 0x600 -/* 8036B884 003687E4 40 80 00 1C */ bge lbl_8036B8A0 -/* 8036B888 003687E8 A8 7C 00 0A */ lha r3, 0xa(r28) -/* 8036B88C 003687EC 20 03 02 00 */ subfic r0, r3, 0x200 -/* 8036B890 003687F0 7C 00 26 70 */ srawi r0, r0, 4 -/* 8036B894 003687F4 7C 03 02 14 */ add r0, r3, r0 -/* 8036B898 003687F8 B0 1C 00 0A */ sth r0, 0xa(r28) -/* 8036B89C 003687FC 48 00 00 78 */ b lbl_8036B914 -lbl_8036B8A0: -/* 8036B8A0 00368800 88 1C 00 30 */ lbz r0, 0x30(r28) -/* 8036B8A4 00368804 2C 00 00 01 */ cmpwi r0, 1 -/* 8036B8A8 00368808 40 82 00 1C */ bne lbl_8036B8C4 -/* 8036B8AC 0036880C A8 7C 00 0A */ lha r3, 0xa(r28) -/* 8036B8B0 00368810 20 03 02 00 */ subfic r0, r3, 0x200 -/* 8036B8B4 00368814 7C 00 26 70 */ srawi r0, r0, 4 -/* 8036B8B8 00368818 7C 03 02 14 */ add r0, r3, r0 -/* 8036B8BC 0036881C B0 1C 00 0A */ sth r0, 0xa(r28) -/* 8036B8C0 00368820 48 00 00 54 */ b lbl_8036B914 -lbl_8036B8C4: -/* 8036B8C4 00368824 A8 1C 00 06 */ lha r0, 6(r28) -/* 8036B8C8 00368828 A8 7C 00 08 */ lha r3, 8(r28) -/* 8036B8CC 0036882C 54 00 10 3A */ slwi r0, r0, 2 -/* 8036B8D0 00368830 7C 63 00 50 */ subf r3, r3, r0 -/* 8036B8D4 00368834 48 02 15 49 */ bl abs -/* 8036B8D8 00368838 A8 1C 00 08 */ lha r0, 8(r28) -/* 8036B8DC 0036883C 7C 00 1E 70 */ srawi r0, r0, 3 -/* 8036B8E0 00368840 7C 03 00 00 */ cmpw r3, r0 -/* 8036B8E4 00368844 41 80 00 1C */ blt lbl_8036B900 -/* 8036B8E8 00368848 A8 7C 00 0A */ lha r3, 0xa(r28) -/* 8036B8EC 0036884C 20 03 02 00 */ subfic r0, r3, 0x200 -/* 8036B8F0 00368850 7C 00 26 70 */ srawi r0, r0, 4 -/* 8036B8F4 00368854 7C 03 02 14 */ add r0, r3, r0 -/* 8036B8F8 00368858 B0 1C 00 0A */ sth r0, 0xa(r28) -/* 8036B8FC 0036885C 48 00 00 18 */ b lbl_8036B914 -lbl_8036B900: -/* 8036B900 00368860 A8 7C 00 0A */ lha r3, 0xa(r28) -/* 8036B904 00368864 7C 03 00 D0 */ neg r0, r3 -/* 8036B908 00368868 7C 00 26 70 */ srawi r0, r0, 4 -/* 8036B90C 0036886C 7C 03 02 14 */ add r0, r3, r0 -/* 8036B910 00368870 B0 1C 00 0A */ sth r0, 0xa(r28) -lbl_8036B914: -/* 8036B914 00368874 BA E1 00 0C */ lmw r23, 0xc(r1) -/* 8036B918 00368878 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8036B91C 0036887C 7C 08 03 A6 */ mtlr r0 -/* 8036B920 00368880 38 21 00 30 */ addi r1, r1, 0x30 -/* 8036B924 00368884 4E 80 00 20 */ blr - -.global reconstruct__Fiii -reconstruct__Fiii: -/* 8036B928 00368888 7C A0 16 70 */ srawi r0, r5, 2 -/* 8036B92C 0036888C 7C 04 02 14 */ add r0, r4, r0 -/* 8036B930 00368890 7C 00 07 35 */ extsh. r0, r0 -/* 8036B934 00368894 40 80 00 1C */ bge lbl_8036B950 -/* 8036B938 00368898 7C 83 00 D0 */ neg r4, r3 -/* 8036B93C 0036889C 38 00 80 00 */ li r0, -32768 -/* 8036B940 003688A0 7C 83 1B 78 */ or r3, r4, r3 -/* 8036B944 003688A4 7C 63 FE 70 */ srawi r3, r3, 0x1f -/* 8036B948 003688A8 7C 03 18 38 */ and r3, r0, r3 -/* 8036B94C 003688AC 4E 80 00 20 */ blr -lbl_8036B950: -/* 8036B950 003688B0 54 04 06 7E */ clrlwi r4, r0, 0x19 -/* 8036B954 003688B4 54 00 CF 3E */ rlwinm r0, r0, 0x19, 0x1c, 0x1f -/* 8036B958 003688B8 38 84 00 80 */ addi r4, r4, 0x80 -/* 8036B95C 003688BC 2C 03 00 00 */ cmpwi r3, 0 -/* 8036B960 003688C0 7C 83 07 34 */ extsh r3, r4 -/* 8036B964 003688C4 7C 00 07 34 */ extsh r0, r0 -/* 8036B968 003688C8 54 63 38 30 */ slwi r3, r3, 7 -/* 8036B96C 003688CC 20 00 00 0E */ subfic r0, r0, 0xe -/* 8036B970 003688D0 7C 60 06 30 */ sraw r0, r3, r0 -/* 8036B974 003688D4 7C 03 07 34 */ extsh r3, r0 -/* 8036B978 003688D8 4D 82 00 20 */ beqlr -/* 8036B97C 003688DC 38 63 80 00 */ addi r3, r3, -32768 -/* 8036B980 003688E0 4E 80 00 20 */ blr - -.global step_size__FP10g72x_state -step_size__FP10g72x_state: -/* 8036B984 003688E4 A8 A3 00 0A */ lha r5, 0xa(r3) -/* 8036B988 003688E8 2C 05 01 00 */ cmpwi r5, 0x100 -/* 8036B98C 003688EC 41 80 00 0C */ blt lbl_8036B998 -/* 8036B990 003688F0 A8 63 00 04 */ lha r3, 4(r3) -/* 8036B994 003688F4 4E 80 00 20 */ blr -lbl_8036B998: -/* 8036B998 003688F8 80 83 00 00 */ lwz r4, 0(r3) -/* 8036B99C 003688FC A8 03 00 04 */ lha r0, 4(r3) -/* 8036B9A0 00368900 7C 83 36 70 */ srawi r3, r4, 6 -/* 8036B9A4 00368904 7C 03 00 51 */ subf. r0, r3, r0 -/* 8036B9A8 00368908 7C A4 16 70 */ srawi r4, r5, 2 -/* 8036B9AC 0036890C 40 81 00 14 */ ble lbl_8036B9C0 -/* 8036B9B0 00368910 7C 00 21 D6 */ mullw r0, r0, r4 -/* 8036B9B4 00368914 7C 00 36 70 */ srawi r0, r0, 6 -/* 8036B9B8 00368918 7C 63 02 14 */ add r3, r3, r0 -/* 8036B9BC 0036891C 4E 80 00 20 */ blr -lbl_8036B9C0: -/* 8036B9C0 00368920 4C 80 00 20 */ bgelr -/* 8036B9C4 00368924 7C 80 21 D6 */ mullw r4, r0, r4 -/* 8036B9C8 00368928 38 04 00 3F */ addi r0, r4, 0x3f -/* 8036B9CC 0036892C 7C 00 36 70 */ srawi r0, r0, 6 -/* 8036B9D0 00368930 7C 63 02 14 */ add r3, r3, r0 -/* 8036B9D4 00368934 4E 80 00 20 */ blr - -.global predictor_pole__FP10g72x_state -predictor_pole__FP10g72x_state: -/* 8036B9D8 00368938 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8036B9DC 0036893C 7C 08 02 A6 */ mflr r0 -/* 8036B9E0 00368940 90 01 00 14 */ stw r0, 0x14(r1) -/* 8036B9E4 00368944 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8036B9E8 00368948 93 C1 00 08 */ stw r30, 8(r1) -/* 8036B9EC 0036894C 7C 7E 1B 78 */ mr r30, r3 -/* 8036B9F0 00368950 A8 03 00 0C */ lha r0, 0xc(r3) -/* 8036B9F4 00368954 A8 83 00 2C */ lha r4, 0x2c(r3) -/* 8036B9F8 00368958 7C 03 16 70 */ srawi r3, r0, 2 -/* 8036B9FC 0036895C 48 00 01 29 */ bl fmult__Fii -/* 8036BA00 00368960 A8 1E 00 0E */ lha r0, 0xe(r30) -/* 8036BA04 00368964 7C 7F 1B 78 */ mr r31, r3 -/* 8036BA08 00368968 A8 9E 00 2E */ lha r4, 0x2e(r30) -/* 8036BA0C 0036896C 7C 03 16 70 */ srawi r3, r0, 2 -/* 8036BA10 00368970 48 00 01 15 */ bl fmult__Fii -/* 8036BA14 00368974 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8036BA18 00368978 7C 63 FA 14 */ add r3, r3, r31 -/* 8036BA1C 0036897C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8036BA20 00368980 83 C1 00 08 */ lwz r30, 8(r1) -/* 8036BA24 00368984 7C 08 03 A6 */ mtlr r0 -/* 8036BA28 00368988 38 21 00 10 */ addi r1, r1, 0x10 -/* 8036BA2C 0036898C 4E 80 00 20 */ blr - -.global predictor_zero__FP10g72x_state -predictor_zero__FP10g72x_state: -/* 8036BA30 00368990 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8036BA34 00368994 7C 08 02 A6 */ mflr r0 -/* 8036BA38 00368998 90 01 00 24 */ stw r0, 0x24(r1) -/* 8036BA3C 0036899C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8036BA40 003689A0 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8036BA44 003689A4 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8036BA48 003689A8 7C 7D 1B 78 */ mr r29, r3 -/* 8036BA4C 003689AC A8 03 00 10 */ lha r0, 0x10(r3) -/* 8036BA50 003689B0 A8 83 00 20 */ lha r4, 0x20(r3) -/* 8036BA54 003689B4 7C 03 16 70 */ srawi r3, r0, 2 -/* 8036BA58 003689B8 48 00 00 CD */ bl fmult__Fii -/* 8036BA5C 003689BC 3B FD 00 02 */ addi r31, r29, 2 -/* 8036BA60 003689C0 7C 7D 1B 78 */ mr r29, r3 -/* 8036BA64 003689C4 3B C0 00 01 */ li r30, 1 -lbl_8036BA68: -/* 8036BA68 003689C8 A8 1F 00 10 */ lha r0, 0x10(r31) -/* 8036BA6C 003689CC A8 9F 00 20 */ lha r4, 0x20(r31) -/* 8036BA70 003689D0 7C 03 16 70 */ srawi r3, r0, 2 -/* 8036BA74 003689D4 48 00 00 B1 */ bl fmult__Fii -/* 8036BA78 003689D8 3B DE 00 01 */ addi r30, r30, 1 -/* 8036BA7C 003689DC 7F BD 1A 14 */ add r29, r29, r3 -/* 8036BA80 003689E0 2C 1E 00 06 */ cmpwi r30, 6 -/* 8036BA84 003689E4 3B FF 00 02 */ addi r31, r31, 2 -/* 8036BA88 003689E8 41 80 FF E0 */ blt lbl_8036BA68 -/* 8036BA8C 003689EC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8036BA90 003689F0 7F A3 EB 78 */ mr r3, r29 -/* 8036BA94 003689F4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8036BA98 003689F8 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8036BA9C 003689FC 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8036BAA0 00368A00 7C 08 03 A6 */ mtlr r0 -/* 8036BAA4 00368A04 38 21 00 20 */ addi r1, r1, 0x20 -/* 8036BAA8 00368A08 4E 80 00 20 */ blr - -.global g72x_init_state__FP10g72x_state -g72x_init_state__FP10g72x_state: -/* 8036BAAC 00368A0C 3C 80 00 01 */ lis r4, 0x00008800@ha -/* 8036BAB0 00368A10 38 A0 02 20 */ li r5, 0x220 -/* 8036BAB4 00368A14 38 04 88 00 */ addi r0, r4, 0x00008800@l -/* 8036BAB8 00368A18 38 80 00 00 */ li r4, 0 -/* 8036BABC 00368A1C 90 03 00 00 */ stw r0, 0(r3) -/* 8036BAC0 00368A20 38 00 00 20 */ li r0, 0x20 -/* 8036BAC4 00368A24 B0 A3 00 04 */ sth r5, 4(r3) -/* 8036BAC8 00368A28 B0 83 00 06 */ sth r4, 6(r3) -/* 8036BACC 00368A2C B0 83 00 08 */ sth r4, 8(r3) -/* 8036BAD0 00368A30 B0 83 00 0A */ sth r4, 0xa(r3) -/* 8036BAD4 00368A34 B0 83 00 0C */ sth r4, 0xc(r3) -/* 8036BAD8 00368A38 B0 83 00 1C */ sth r4, 0x1c(r3) -/* 8036BADC 00368A3C B0 03 00 2C */ sth r0, 0x2c(r3) -/* 8036BAE0 00368A40 B0 83 00 0E */ sth r4, 0xe(r3) -/* 8036BAE4 00368A44 B0 83 00 1E */ sth r4, 0x1e(r3) -/* 8036BAE8 00368A48 B0 03 00 2E */ sth r0, 0x2e(r3) -/* 8036BAEC 00368A4C B0 83 00 10 */ sth r4, 0x10(r3) -/* 8036BAF0 00368A50 B0 03 00 20 */ sth r0, 0x20(r3) -/* 8036BAF4 00368A54 B0 83 00 12 */ sth r4, 0x12(r3) -/* 8036BAF8 00368A58 B0 03 00 22 */ sth r0, 0x22(r3) -/* 8036BAFC 00368A5C B0 83 00 14 */ sth r4, 0x14(r3) -/* 8036BB00 00368A60 B0 03 00 24 */ sth r0, 0x24(r3) -/* 8036BB04 00368A64 B0 83 00 16 */ sth r4, 0x16(r3) -/* 8036BB08 00368A68 B0 03 00 26 */ sth r0, 0x26(r3) -/* 8036BB0C 00368A6C B0 83 00 18 */ sth r4, 0x18(r3) -/* 8036BB10 00368A70 B0 03 00 28 */ sth r0, 0x28(r3) -/* 8036BB14 00368A74 B0 83 00 1A */ sth r4, 0x1a(r3) -/* 8036BB18 00368A78 B0 03 00 2A */ sth r0, 0x2a(r3) -/* 8036BB1C 00368A7C 98 83 00 30 */ stb r4, 0x30(r3) -/* 8036BB20 00368A80 4E 80 00 20 */ blr - -.global fmult__Fii -fmult__Fii: -/* 8036BB24 00368A84 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8036BB28 00368A88 7C 08 02 A6 */ mflr r0 -/* 8036BB2C 00368A8C 90 01 00 24 */ stw r0, 0x24(r1) -/* 8036BB30 00368A90 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8036BB34 00368A94 7C 9F 23 78 */ mr r31, r4 -/* 8036BB38 00368A98 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8036BB3C 00368A9C 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8036BB40 00368AA0 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8036BB44 00368AA4 7C 1E 00 D0 */ neg r0, r30 -/* 8036BB48 00368AA8 54 00 04 FE */ clrlwi r0, r0, 0x13 -/* 8036BB4C 00368AAC 40 81 00 08 */ ble lbl_8036BB54 -/* 8036BB50 00368AB0 7F C0 F3 78 */ mr r0, r30 -lbl_8036BB54: -/* 8036BB54 00368AB4 3C 60 80 3F */ lis r3, lbl_803EF840@ha -/* 8036BB58 00368AB8 7C 1D 07 34 */ extsh r29, r0 -/* 8036BB5C 00368ABC 38 83 F8 40 */ addi r4, r3, lbl_803EF840@l -/* 8036BB60 00368AC0 38 A0 00 0F */ li r5, 0xf -/* 8036BB64 00368AC4 7F A3 EB 78 */ mr r3, r29 -/* 8036BB68 00368AC8 48 00 00 9D */ bl quan__FiPsi -/* 8036BB6C 00368ACC 7F A0 07 35 */ extsh. r0, r29 -/* 8036BB70 00368AD0 38 03 FF FA */ addi r0, r3, -6 -/* 8036BB74 00368AD4 7C 05 07 34 */ extsh r5, r0 -/* 8036BB78 00368AD8 40 82 00 0C */ bne lbl_8036BB84 -/* 8036BB7C 00368ADC 38 00 00 20 */ li r0, 0x20 -/* 8036BB80 00368AE0 48 00 00 18 */ b lbl_8036BB98 -lbl_8036BB84: -/* 8036BB84 00368AE4 7C A0 07 35 */ extsh. r0, r5 -/* 8036BB88 00368AE8 7C 05 00 D0 */ neg r0, r5 -/* 8036BB8C 00368AEC 7F A0 00 30 */ slw r0, r29, r0 -/* 8036BB90 00368AF0 41 80 00 08 */ blt lbl_8036BB98 -/* 8036BB94 00368AF4 7F A0 2E 30 */ sraw r0, r29, r5 -lbl_8036BB98: -/* 8036BB98 00368AF8 7C 03 07 34 */ extsh r3, r0 -/* 8036BB9C 00368AFC 57 E0 06 BE */ clrlwi r0, r31, 0x1a -/* 8036BBA0 00368B00 7C 60 19 D6 */ mullw r3, r0, r3 -/* 8036BBA4 00368B04 57 E4 D7 3E */ rlwinm r4, r31, 0x1a, 0x1c, 0x1f -/* 8036BBA8 00368B08 38 04 FF F3 */ addi r0, r4, -13 -/* 8036BBAC 00368B0C 7C 05 02 14 */ add r0, r5, r0 -/* 8036BBB0 00368B10 7C 04 07 35 */ extsh. r4, r0 -/* 8036BBB4 00368B14 38 03 00 30 */ addi r0, r3, 0x30 -/* 8036BBB8 00368B18 7C 00 26 70 */ srawi r0, r0, 4 -/* 8036BBBC 00368B1C 7C 05 07 34 */ extsh r5, r0 -/* 8036BBC0 00368B20 7C 04 00 D0 */ neg r0, r4 -/* 8036BBC4 00368B24 7C A3 06 30 */ sraw r3, r5, r0 -/* 8036BBC8 00368B28 41 80 00 0C */ blt lbl_8036BBD4 -/* 8036BBCC 00368B2C 7C A0 20 30 */ slw r0, r5, r4 -/* 8036BBD0 00368B30 54 03 04 7E */ clrlwi r3, r0, 0x11 -lbl_8036BBD4: -/* 8036BBD4 00368B34 7F C0 FA 79 */ xor. r0, r30, r31 -/* 8036BBD8 00368B38 7C 60 07 34 */ extsh r0, r3 -/* 8036BBDC 00368B3C 7C 03 03 78 */ mr r3, r0 -/* 8036BBE0 00368B40 40 80 00 08 */ bge lbl_8036BBE8 -/* 8036BBE4 00368B44 7C 60 00 D0 */ neg r3, r0 -lbl_8036BBE8: -/* 8036BBE8 00368B48 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8036BBEC 00368B4C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8036BBF0 00368B50 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8036BBF4 00368B54 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8036BBF8 00368B58 7C 08 03 A6 */ mtlr r0 -/* 8036BBFC 00368B5C 38 21 00 20 */ addi r1, r1, 0x20 -/* 8036BC00 00368B60 4E 80 00 20 */ blr - -.global quan__FiPsi -quan__FiPsi: -/* 8036BC04 00368B64 38 C0 00 00 */ li r6, 0 -/* 8036BC08 00368B68 7C A9 03 A6 */ mtctr r5 -/* 8036BC0C 00368B6C 2C 05 00 00 */ cmpwi r5, 0 -/* 8036BC10 00368B70 40 81 00 1C */ ble lbl_8036BC2C -lbl_8036BC14: -/* 8036BC14 00368B74 A8 04 00 00 */ lha r0, 0(r4) -/* 8036BC18 00368B78 38 84 00 02 */ addi r4, r4, 2 -/* 8036BC1C 00368B7C 7C 03 00 00 */ cmpw r3, r0 -/* 8036BC20 00368B80 41 80 00 0C */ blt lbl_8036BC2C -/* 8036BC24 00368B84 38 C6 00 01 */ addi r6, r6, 1 -/* 8036BC28 00368B88 42 00 FF EC */ bdnz lbl_8036BC14 -lbl_8036BC2C: -/* 8036BC2C 00368B8C 7C C3 33 78 */ mr r3, r6 -/* 8036BC30 00368B90 4E 80 00 20 */ blr - -.global SetVolume__18CStaticAudioPlayerFc -SetVolume__18CStaticAudioPlayerFc: -/* 8036BC34 00368B94 54 80 06 3E */ clrlwi r0, r4, 0x18 -/* 8036BC38 00368B98 28 00 00 7F */ cmplwi r0, 0x7f -/* 8036BC3C 00368B9C 40 81 00 08 */ ble lbl_8036BC44 -/* 8036BC40 00368BA0 38 80 00 7F */ li r4, 0x7f -lbl_8036BC44: -/* 8036BC44 00368BA4 3C A0 80 3E */ lis r5, lbl_803D8110@ha -/* 8036BC48 00368BA8 54 80 0D FC */ rlwinm r0, r4, 1, 0x17, 0x1e -/* 8036BC4C 00368BAC 38 85 81 10 */ addi r4, r5, lbl_803D8110@l -/* 8036BC50 00368BB0 7C 04 02 2E */ lhzx r0, r4, r0 -/* 8036BC54 00368BB4 B0 03 00 C0 */ sth r0, 0xc0(r3) -/* 8036BC58 00368BB8 4E 80 00 20 */ blr - -.global DecodeMonoAndMix__18CStaticAudioPlayerCFv -DecodeMonoAndMix__18CStaticAudioPlayerCFv: -/* 8036BC5C 00368BBC 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 8036BC60 00368BC0 7C 08 02 A6 */ mflr r0 -/* 8036BC64 00368BC4 90 01 00 54 */ stw r0, 0x54(r1) -/* 8036BC68 00368BC8 54 C0 0F FE */ srwi r0, r6, 0x1f -/* 8036BC6C 00368BCC 7C 00 32 14 */ add r0, r0, r6 -/* 8036BC70 00368BD0 BE 81 00 20 */ stmw r20, 0x20(r1) -/* 8036BC74 00368BD4 7C 75 1B 78 */ mr r21, r3 -/* 8036BC78 00368BD8 83 01 00 58 */ lwz r24, 0x58(r1) -/* 8036BC7C 00368BDC 7D 16 43 78 */ mr r22, r8 -/* 8036BC80 00368BE0 7D 57 53 78 */ mr r23, r10 -/* 8036BC84 00368BE4 7C FD 3B 78 */ mr r29, r7 -/* 8036BC88 00368BE8 7C BC 2B 78 */ mr r28, r5 -/* 8036BC8C 00368BEC 7C 9B 23 78 */ mr r27, r4 -/* 8036BC90 00368BF0 7D 3F 4B 78 */ mr r31, r9 -/* 8036BC94 00368BF4 7C 1E 0E 70 */ srawi r30, r0, 1 -/* 8036BC98 00368BF8 48 00 01 3C */ b lbl_8036BDD4 -lbl_8036BC9C: -/* 8036BC9C 00368BFC 7F A0 8E 70 */ srawi r0, r29, 0x11 -/* 8036BCA0 00368C00 93 C1 00 10 */ stw r30, 0x10(r1) -/* 8036BCA4 00368C04 7C A0 01 94 */ addze r5, r0 -/* 8036BCA8 00368C08 38 61 00 10 */ addi r3, r1, 0x10 -/* 8036BCAC 00368C0C 38 05 00 01 */ addi r0, r5, 1 -/* 8036BCB0 00368C10 54 00 88 1C */ slwi r0, r0, 0x11 -/* 8036BCB4 00368C14 7C 1D 00 50 */ subf r0, r29, r0 -/* 8036BCB8 00368C18 7C 00 F0 00 */ cmpw r0, r30 -/* 8036BCBC 00368C1C 90 01 00 0C */ stw r0, 0xc(r1) -/* 8036BCC0 00368C20 40 80 00 08 */ bge lbl_8036BCC8 -/* 8036BCC4 00368C24 38 61 00 0C */ addi r3, r1, 0xc -lbl_8036BCC8: -/* 8036BCC8 00368C28 80 83 00 00 */ lwz r4, 0(r3) -/* 8036BCCC 00368C2C 7C 1D B0 50 */ subf r0, r29, r22 -/* 8036BCD0 00368C30 38 61 00 10 */ addi r3, r1, 0x10 -/* 8036BCD4 00368C34 7C 00 20 00 */ cmpw r0, r4 -/* 8036BCD8 00368C38 90 81 00 10 */ stw r4, 0x10(r1) -/* 8036BCDC 00368C3C 90 01 00 08 */ stw r0, 8(r1) -/* 8036BCE0 00368C40 40 80 00 08 */ bge lbl_8036BCE8 -/* 8036BCE4 00368C44 38 61 00 08 */ addi r3, r1, 8 -lbl_8036BCE8: -/* 8036BCE8 00368C48 80 83 00 00 */ lwz r4, 0(r3) -/* 8036BCEC 00368C4C 54 A3 18 38 */ slwi r3, r5, 3 -/* 8036BCF0 00368C50 54 A0 88 1C */ slwi r0, r5, 0x11 -/* 8036BCF4 00368C54 3B 20 00 00 */ li r25, 0 -/* 8036BCF8 00368C58 90 81 00 10 */ stw r4, 0x10(r1) -/* 8036BCFC 00368C5C 38 63 00 04 */ addi r3, r3, 4 -/* 8036BD00 00368C60 7C 00 E8 50 */ subf r0, r0, r29 -/* 8036BD04 00368C64 80 95 00 54 */ lwz r4, 0x54(r21) -/* 8036BD08 00368C68 7C 64 18 2E */ lwzx r3, r4, r3 -/* 8036BD0C 00368C6C 7F 43 02 14 */ add r26, r3, r0 -/* 8036BD10 00368C70 48 00 00 A4 */ b lbl_8036BDB4 -lbl_8036BD14: -/* 8036BD14 00368C74 88 1A 00 00 */ lbz r0, 0(r26) -/* 8036BD18 00368C78 7F 04 C3 78 */ mr r4, r24 -/* 8036BD1C 00368C7C 54 03 07 3E */ clrlwi r3, r0, 0x1c -/* 8036BD20 00368C80 4B FF F5 99 */ bl g721_decoder__FiP10g72x_state -/* 8036BD24 00368C84 7C B7 19 D6 */ mullw r5, r23, r3 -/* 8036BD28 00368C88 A8 7C 00 00 */ lha r3, 0(r28) -/* 8036BD2C 00368C8C 88 1A 00 00 */ lbz r0, 0(r26) -/* 8036BD30 00368C90 7F 04 C3 78 */ mr r4, r24 -/* 8036BD34 00368C94 7C A5 7E 70 */ srawi r5, r5, 0xf -/* 8036BD38 00368C98 7E 83 2A 14 */ add r20, r3, r5 -/* 8036BD3C 00368C9C 7C 03 26 70 */ srawi r3, r0, 4 -/* 8036BD40 00368CA0 4B FF F5 79 */ bl g721_decoder__FiP10g72x_state -/* 8036BD44 00368CA4 7C 77 19 D6 */ mullw r3, r23, r3 -/* 8036BD48 00368CA8 2C 14 80 00 */ cmpwi r20, -32768 -/* 8036BD4C 00368CAC A8 1C 00 04 */ lha r0, 4(r28) -/* 8036BD50 00368CB0 7C 63 7E 70 */ srawi r3, r3, 0xf -/* 8036BD54 00368CB4 7C 60 1A 14 */ add r3, r0, r3 -/* 8036BD58 00368CB8 40 80 00 0C */ bge lbl_8036BD64 -/* 8036BD5C 00368CBC 38 00 80 00 */ li r0, -32768 -/* 8036BD60 00368CC0 48 00 00 18 */ b lbl_8036BD78 -lbl_8036BD64: -/* 8036BD64 00368CC4 2C 14 7F FF */ cmpwi r20, 0x7fff -/* 8036BD68 00368CC8 40 81 00 0C */ ble lbl_8036BD74 -/* 8036BD6C 00368CCC 38 00 7F FF */ li r0, 0x7fff -/* 8036BD70 00368CD0 48 00 00 08 */ b lbl_8036BD78 -lbl_8036BD74: -/* 8036BD74 00368CD4 7E 80 07 34 */ extsh r0, r20 -lbl_8036BD78: -/* 8036BD78 00368CD8 2C 03 80 00 */ cmpwi r3, -32768 -/* 8036BD7C 00368CDC B0 1B 00 00 */ sth r0, 0(r27) -/* 8036BD80 00368CE0 40 80 00 0C */ bge lbl_8036BD8C -/* 8036BD84 00368CE4 38 00 80 00 */ li r0, -32768 -/* 8036BD88 00368CE8 48 00 00 18 */ b lbl_8036BDA0 -lbl_8036BD8C: -/* 8036BD8C 00368CEC 2C 03 7F FF */ cmpwi r3, 0x7fff -/* 8036BD90 00368CF0 40 81 00 0C */ ble lbl_8036BD9C -/* 8036BD94 00368CF4 38 00 7F FF */ li r0, 0x7fff -/* 8036BD98 00368CF8 48 00 00 08 */ b lbl_8036BDA0 -lbl_8036BD9C: -/* 8036BD9C 00368CFC 7C 60 07 34 */ extsh r0, r3 -lbl_8036BDA0: -/* 8036BDA0 00368D00 B0 1B 00 04 */ sth r0, 4(r27) -/* 8036BDA4 00368D04 3B 7B 00 08 */ addi r27, r27, 8 -/* 8036BDA8 00368D08 3B 5A 00 01 */ addi r26, r26, 1 -/* 8036BDAC 00368D0C 3B 9C 00 08 */ addi r28, r28, 8 -/* 8036BDB0 00368D10 3B 39 00 01 */ addi r25, r25, 1 -lbl_8036BDB4: -/* 8036BDB4 00368D14 80 01 00 10 */ lwz r0, 0x10(r1) -/* 8036BDB8 00368D18 7C 19 00 00 */ cmpw r25, r0 -/* 8036BDBC 00368D1C 41 80 FF 58 */ blt lbl_8036BD14 -/* 8036BDC0 00368D20 7F BD 02 14 */ add r29, r29, r0 -/* 8036BDC4 00368D24 7F C0 F0 50 */ subf r30, r0, r30 -/* 8036BDC8 00368D28 7C 1D B0 00 */ cmpw r29, r22 -/* 8036BDCC 00368D2C 40 82 00 08 */ bne lbl_8036BDD4 -/* 8036BDD0 00368D30 7F FD FB 78 */ mr r29, r31 -lbl_8036BDD4: -/* 8036BDD4 00368D34 2C 1E 00 00 */ cmpwi r30, 0 -/* 8036BDD8 00368D38 40 82 FE C4 */ bne lbl_8036BC9C -/* 8036BDDC 00368D3C BA 81 00 20 */ lmw r20, 0x20(r1) -/* 8036BDE0 00368D40 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8036BDE4 00368D44 7C 08 03 A6 */ mtlr r0 -/* 8036BDE8 00368D48 38 21 00 50 */ addi r1, r1, 0x50 -/* 8036BDEC 00368D4C 4E 80 00 20 */ blr - -.global Decode__18CStaticAudioPlayerFv -Decode__18CStaticAudioPlayerFv: -/* 8036BDF0 00368D50 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8036BDF4 00368D54 7C 08 02 A6 */ mflr r0 -/* 8036BDF8 00368D58 90 01 00 44 */ stw r0, 0x44(r1) -/* 8036BDFC 00368D5C BF 21 00 24 */ stmw r25, 0x24(r1) -/* 8036BE00 00368D60 7C 7D 1B 78 */ mr r29, r3 -/* 8036BE04 00368D64 38 1D 00 58 */ addi r0, r29, 0x58 -/* 8036BE08 00368D68 7C DF 33 78 */ mr r31, r6 -/* 8036BE0C 00368D6C 7C 9E 23 78 */ mr r30, r4 -/* 8036BE10 00368D70 7C B9 2B 78 */ mr r25, r5 -/* 8036BE14 00368D74 81 43 00 18 */ lwz r10, 0x18(r3) -/* 8036BE18 00368D78 81 23 00 20 */ lwz r9, 0x20(r3) -/* 8036BE1C 00368D7C 80 E3 00 1C */ lwz r7, 0x1c(r3) -/* 8036BE20 00368D80 55 48 0F FE */ srwi r8, r10, 0x1f -/* 8036BE24 00368D84 7D 48 52 14 */ add r10, r8, r10 -/* 8036BE28 00368D88 55 28 0F FE */ srwi r8, r9, 0x1f -/* 8036BE2C 00368D8C 90 01 00 08 */ stw r0, 8(r1) -/* 8036BE30 00368D90 7D 5C 0E 70 */ srawi r28, r10, 1 -/* 8036BE34 00368D94 54 E0 0F FE */ srwi r0, r7, 0x1f -/* 8036BE38 00368D98 7D 08 4A 14 */ add r8, r8, r9 -/* 8036BE3C 00368D9C A1 43 00 C0 */ lhz r10, 0xc0(r3) -/* 8036BE40 00368DA0 7D 1B 0E 70 */ srawi r27, r8, 1 -/* 8036BE44 00368DA4 7C 00 3A 14 */ add r0, r0, r7 -/* 8036BE48 00368DA8 7C 1A 0E 70 */ srawi r26, r0, 1 -/* 8036BE4C 00368DAC 7F 87 E3 78 */ mr r7, r28 -/* 8036BE50 00368DB0 7F 68 DB 78 */ mr r8, r27 -/* 8036BE54 00368DB4 7F 49 D3 78 */ mr r9, r26 -/* 8036BE58 00368DB8 4B FF FE 05 */ bl DecodeMonoAndMix__18CStaticAudioPlayerCFv -/* 8036BE5C 00368DBC 80 9D 00 14 */ lwz r4, 0x14(r29) -/* 8036BE60 00368DC0 38 1D 00 8C */ addi r0, r29, 0x8c -/* 8036BE64 00368DC4 7F A3 EB 78 */ mr r3, r29 -/* 8036BE68 00368DC8 7F E6 FB 78 */ mr r6, r31 -/* 8036BE6C 00368DCC 90 01 00 08 */ stw r0, 8(r1) -/* 8036BE70 00368DD0 54 80 0F FE */ srwi r0, r4, 0x1f -/* 8036BE74 00368DD4 7C 00 22 14 */ add r0, r0, r4 -/* 8036BE78 00368DD8 38 9E 00 02 */ addi r4, r30, 2 -/* 8036BE7C 00368DDC 7C 00 0E 70 */ srawi r0, r0, 1 -/* 8036BE80 00368DE0 A1 5D 00 C0 */ lhz r10, 0xc0(r29) -/* 8036BE84 00368DE4 38 B9 00 02 */ addi r5, r25, 2 -/* 8036BE88 00368DE8 7C FC 02 14 */ add r7, r28, r0 -/* 8036BE8C 00368DEC 7D 1B 02 14 */ add r8, r27, r0 -/* 8036BE90 00368DF0 7D 3A 02 14 */ add r9, r26, r0 -/* 8036BE94 00368DF4 4B FF FD C9 */ bl DecodeMonoAndMix__18CStaticAudioPlayerCFv -/* 8036BE98 00368DF8 7F E5 FB 78 */ mr r5, r31 -/* 8036BE9C 00368DFC 48 00 00 5C */ b lbl_8036BEF8 -lbl_8036BEA0: -/* 8036BEA0 00368E00 90 A1 00 14 */ stw r5, 0x14(r1) -/* 8036BEA4 00368E04 38 61 00 14 */ addi r3, r1, 0x14 -/* 8036BEA8 00368E08 80 9D 00 18 */ lwz r4, 0x18(r29) -/* 8036BEAC 00368E0C 80 1D 00 20 */ lwz r0, 0x20(r29) -/* 8036BEB0 00368E10 7C 04 00 50 */ subf r0, r4, r0 -/* 8036BEB4 00368E14 7C 00 28 00 */ cmpw r0, r5 -/* 8036BEB8 00368E18 90 01 00 10 */ stw r0, 0x10(r1) -/* 8036BEBC 00368E1C 40 80 00 08 */ bge lbl_8036BEC4 -/* 8036BEC0 00368E20 38 61 00 10 */ addi r3, r1, 0x10 -lbl_8036BEC4: -/* 8036BEC4 00368E24 80 63 00 00 */ lwz r3, 0(r3) -/* 8036BEC8 00368E28 90 61 00 14 */ stw r3, 0x14(r1) -/* 8036BECC 00368E2C 80 1D 00 18 */ lwz r0, 0x18(r29) -/* 8036BED0 00368E30 7C 00 1A 14 */ add r0, r0, r3 -/* 8036BED4 00368E34 90 1D 00 18 */ stw r0, 0x18(r29) -/* 8036BED8 00368E38 80 7D 00 18 */ lwz r3, 0x18(r29) -/* 8036BEDC 00368E3C 80 1D 00 20 */ lwz r0, 0x20(r29) -/* 8036BEE0 00368E40 80 81 00 14 */ lwz r4, 0x14(r1) -/* 8036BEE4 00368E44 7C 03 00 00 */ cmpw r3, r0 -/* 8036BEE8 00368E48 7C A4 28 50 */ subf r5, r4, r5 -/* 8036BEEC 00368E4C 40 82 00 0C */ bne lbl_8036BEF8 -/* 8036BEF0 00368E50 80 1D 00 1C */ lwz r0, 0x1c(r29) -/* 8036BEF4 00368E54 90 1D 00 18 */ stw r0, 0x18(r29) -lbl_8036BEF8: -/* 8036BEF8 00368E58 2C 05 00 00 */ cmpwi r5, 0 -/* 8036BEFC 00368E5C 40 82 FF A4 */ bne lbl_8036BEA0 -/* 8036BF00 00368E60 BB 21 00 24 */ lmw r25, 0x24(r1) -/* 8036BF04 00368E64 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8036BF08 00368E68 7C 08 03 A6 */ mtlr r0 -/* 8036BF0C 00368E6C 38 21 00 40 */ addi r1, r1, 0x40 -/* 8036BF10 00368E70 4E 80 00 20 */ blr - -.global DoMix__18CStaticAudioPlayer -DoMix__18CStaticAudioPlayer: -/* 8036BF14 00368E74 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8036BF18 00368E78 7C 08 02 A6 */ mflr r0 -/* 8036BF1C 00368E7C 90 01 00 24 */ stw r0, 0x24(r1) -/* 8036BF20 00368E80 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8036BF24 00368E84 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8036BF28 00368E88 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8036BF2C 00368E8C 93 81 00 10 */ stw r28, 0x10(r1) -/* 8036BF30 00368E90 7C 7C 1B 78 */ mr r28, r3 -/* 8036BF34 00368E94 48 00 11 05 */ bl AIGetDMAStartAddr -/* 8036BF38 00368E98 80 1C 00 24 */ lwz r0, 0x24(r28) -/* 8036BF3C 00368E9C 3F E3 80 00 */ addis r31, r3, 0x8000 -/* 8036BF40 00368EA0 68 00 00 01 */ xori r0, r0, 1 -/* 8036BF44 00368EA4 90 1C 00 24 */ stw r0, 0x24(r28) -/* 8036BF48 00368EA8 80 1C 00 24 */ lwz r0, 0x24(r28) -/* 8036BF4C 00368EAC 2C 00 00 00 */ cmpwi r0, 0 -/* 8036BF50 00368EB0 41 82 00 0C */ beq lbl_8036BF5C -/* 8036BF54 00368EB4 83 DC 00 34 */ lwz r30, 0x34(r28) -/* 8036BF58 00368EB8 48 00 00 08 */ b lbl_8036BF60 -lbl_8036BF5C: -/* 8036BF5C 00368EBC 83 DC 00 2C */ lwz r30, 0x2c(r28) -lbl_8036BF60: -/* 8036BF60 00368EC0 7F C3 F3 78 */ mr r3, r30 -/* 8036BF64 00368EC4 38 80 02 80 */ li r4, 0x280 -/* 8036BF68 00368EC8 48 00 10 19 */ bl AIInitDMA -/* 8036BF6C 00368ECC 48 01 57 09 */ bl OSEnableInterrupts -/* 8036BF70 00368ED0 28 1F 00 00 */ cmplwi r31, 0 -/* 8036BF74 00368ED4 7C 7D 1B 78 */ mr r29, r3 -/* 8036BF78 00368ED8 41 82 00 10 */ beq lbl_8036BF88 -/* 8036BF7C 00368EDC 7F E3 FB 78 */ mr r3, r31 -/* 8036BF80 00368EE0 38 80 02 80 */ li r4, 0x280 -/* 8036BF84 00368EE4 48 01 2B 01 */ bl DCInvalidateRange -lbl_8036BF88: -/* 8036BF88 00368EE8 7F 83 E3 78 */ mr r3, r28 -/* 8036BF8C 00368EEC 7F C4 F3 78 */ mr r4, r30 -/* 8036BF90 00368EF0 7F E5 FB 78 */ mr r5, r31 -/* 8036BF94 00368EF4 38 C0 00 A0 */ li r6, 0xa0 -/* 8036BF98 00368EF8 4B FF FE 59 */ bl Decode__18CStaticAudioPlayerFv -/* 8036BF9C 00368EFC 7F C3 F3 78 */ mr r3, r30 -/* 8036BFA0 00368F00 38 80 02 80 */ li r4, 0x280 -/* 8036BFA4 00368F04 48 01 2B 0D */ bl DCFlushRange -/* 8036BFA8 00368F08 7F A3 EB 78 */ mr r3, r29 -/* 8036BFAC 00368F0C 48 01 56 DD */ bl OSRestoreInterrupts -/* 8036BFB0 00368F10 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8036BFB4 00368F14 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8036BFB8 00368F18 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8036BFBC 00368F1C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8036BFC0 00368F20 83 81 00 10 */ lwz r28, 0x10(r1) -/* 8036BFC4 00368F24 7C 08 03 A6 */ mtlr r0 -/* 8036BFC8 00368F28 38 21 00 20 */ addi r1, r1, 0x20 -/* 8036BFCC 00368F2C 4E 80 00 20 */ blr - -.global MixCallback__18CStaticAudioPlayerFv -MixCallback__18CStaticAudioPlayerFv: -/* 8036BFD0 00368F30 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8036BFD4 00368F34 7C 08 02 A6 */ mflr r0 -/* 8036BFD8 00368F38 90 01 00 14 */ stw r0, 0x14(r1) -/* 8036BFDC 00368F3C 80 6D AA E0 */ lwz r3, lbl_805A96A0@sda21(r13) -/* 8036BFE0 00368F40 4B FF FF 35 */ bl DoMix__18CStaticAudioPlayer -/* 8036BFE4 00368F44 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8036BFE8 00368F48 7C 08 03 A6 */ mtlr r0 -/* 8036BFEC 00368F4C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8036BFF0 00368F50 4E 80 00 20 */ blr - -.global StopMixOut__18CStaticAudioPlayerFv -StopMixOut__18CStaticAudioPlayerFv: -/* 8036BFF4 00368F54 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8036BFF8 00368F58 7C 08 02 A6 */ mflr r0 -/* 8036BFFC 00368F5C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8036C000 00368F60 80 0D AA E0 */ lwz r0, lbl_805A96A0@sda21(r13) -/* 8036C004 00368F64 7C 00 18 40 */ cmplw r0, r3 -/* 8036C008 00368F68 40 82 00 18 */ bne lbl_8036C020 -/* 8036C00C 00368F6C 3C 60 80 37 */ lis r3, MixCallback__18CStaticAudioPlayerFv@ha -/* 8036C010 00368F70 38 63 BF D0 */ addi r3, r3, MixCallback__18CStaticAudioPlayerFv@l -/* 8036C014 00368F74 48 00 06 F1 */ bl sub_8036c704 -/* 8036C018 00368F78 38 00 00 00 */ li r0, 0 -/* 8036C01C 00368F7C 90 0D AA E0 */ stw r0, lbl_805A96A0@sda21(r13) -lbl_8036C020: -/* 8036C020 00368F80 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8036C024 00368F84 7C 08 03 A6 */ mtlr r0 -/* 8036C028 00368F88 38 21 00 10 */ addi r1, r1, 0x10 -/* 8036C02C 00368F8C 4E 80 00 20 */ blr - -.global StartMixOut__18CStaticAudioPlayerFv -StartMixOut__18CStaticAudioPlayerFv: -/* 8036C030 00368F90 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8036C034 00368F94 7C 08 02 A6 */ mflr r0 -/* 8036C038 00368F98 90 01 00 34 */ stw r0, 0x34(r1) -/* 8036C03C 00368F9C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8036C040 00368FA0 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8036C044 00368FA4 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8036C048 00368FA8 7C 7D 1B 78 */ mr r29, r3 -/* 8036C04C 00368FAC 80 0D AA E0 */ lwz r0, lbl_805A96A0@sda21(r13) -/* 8036C050 00368FB0 7C 00 E8 40 */ cmplw r0, r29 -/* 8036C054 00368FB4 41 82 00 94 */ beq lbl_8036C0E8 -/* 8036C058 00368FB8 80 1D 00 3C */ lwz r0, 0x3c(r29) -/* 8036C05C 00368FBC 83 DD 00 44 */ lwz r30, 0x44(r29) -/* 8036C060 00368FC0 54 00 18 38 */ slwi r0, r0, 3 -/* 8036C064 00368FC4 7F FE 02 14 */ add r31, r30, r0 -/* 8036C068 00368FC8 93 C1 00 0C */ stw r30, 0xc(r1) -/* 8036C06C 00368FCC 93 E1 00 14 */ stw r31, 0x14(r1) -/* 8036C070 00368FD0 93 E1 00 10 */ stw r31, 0x10(r1) -/* 8036C074 00368FD4 93 C1 00 08 */ stw r30, 8(r1) -/* 8036C078 00368FD8 48 00 00 3C */ b lbl_8036C0B4 -lbl_8036C07C: -/* 8036C07C 00368FDC 28 1E 00 00 */ cmplwi r30, 0 -/* 8036C080 00368FE0 41 82 00 30 */ beq lbl_8036C0B0 -/* 8036C084 00368FE4 88 1E 00 00 */ lbz r0, 0(r30) -/* 8036C088 00368FE8 28 00 00 00 */ cmplwi r0, 0 -/* 8036C08C 00368FEC 41 82 00 24 */ beq lbl_8036C0B0 -/* 8036C090 00368FF0 80 7E 00 04 */ lwz r3, 4(r30) -/* 8036C094 00368FF4 28 03 00 00 */ cmplwi r3, 0 -/* 8036C098 00368FF8 41 82 00 18 */ beq lbl_8036C0B0 -/* 8036C09C 00368FFC 81 83 00 00 */ lwz r12, 0(r3) -/* 8036C0A0 00369000 38 80 00 01 */ li r4, 1 -/* 8036C0A4 00369004 81 8C 00 08 */ lwz r12, 8(r12) -/* 8036C0A8 00369008 7D 89 03 A6 */ mtctr r12 -/* 8036C0AC 0036900C 4E 80 04 21 */ bctrl -lbl_8036C0B0: -/* 8036C0B0 00369010 3B DE 00 08 */ addi r30, r30, 8 -lbl_8036C0B4: -/* 8036C0B4 00369014 7C 1E F8 40 */ cmplw r30, r31 -/* 8036C0B8 00369018 40 82 FF C4 */ bne lbl_8036C07C -/* 8036C0BC 0036901C 38 00 00 00 */ li r0, 0 -/* 8036C0C0 00369020 38 7D 00 58 */ addi r3, r29, 0x58 -/* 8036C0C4 00369024 90 1D 00 3C */ stw r0, 0x3c(r29) -/* 8036C0C8 00369028 90 1D 00 18 */ stw r0, 0x18(r29) -/* 8036C0CC 0036902C 4B FF F9 E1 */ bl g72x_init_state__FP10g72x_state -/* 8036C0D0 00369030 38 7D 00 8C */ addi r3, r29, 0x8c -/* 8036C0D4 00369034 4B FF F9 D9 */ bl g72x_init_state__FP10g72x_state -/* 8036C0D8 00369038 3C 60 80 37 */ lis r3, MixCallback__18CStaticAudioPlayerFv@ha -/* 8036C0DC 0036903C 93 AD AA E0 */ stw r29, lbl_805A96A0@sda21(r13) -/* 8036C0E0 00369040 38 63 BF D0 */ addi r3, r3, MixCallback__18CStaticAudioPlayerFv@l -/* 8036C0E4 00369044 48 00 06 F9 */ bl RunDMACallback__18CStaticAudioPlayerFv -lbl_8036C0E8: -/* 8036C0E8 00369048 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8036C0EC 0036904C 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8036C0F0 00369050 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8036C0F4 00369054 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 8036C0F8 00369058 7C 08 03 A6 */ mtlr r0 -/* 8036C0FC 0036905C 38 21 00 30 */ addi r1, r1, 0x30 -/* 8036C100 00369060 4E 80 00 20 */ blr - -.global IsReady__18CStaticAudioPlayer -IsReady__18CStaticAudioPlayer: -/* 8036C104 00369064 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8036C108 00369068 7C 08 02 A6 */ mflr r0 -/* 8036C10C 0036906C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8036C110 00369070 80 83 00 3C */ lwz r4, 0x3c(r3) -/* 8036C114 00369074 2C 04 00 00 */ cmpwi r4, 0 -/* 8036C118 00369078 41 82 00 2C */ beq lbl_8036C144 -/* 8036C11C 0036907C 38 04 FF FF */ addi r0, r4, -1 -/* 8036C120 00369080 80 83 00 44 */ lwz r4, 0x44(r3) -/* 8036C124 00369084 54 03 18 38 */ slwi r3, r0, 3 -/* 8036C128 00369088 38 03 00 04 */ addi r0, r3, 4 -/* 8036C12C 0036908C 7C 64 00 2E */ lwzx r3, r4, r0 -/* 8036C130 00369090 81 83 00 00 */ lwz r12, 0(r3) -/* 8036C134 00369094 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8036C138 00369098 7D 89 03 A6 */ mtctr r12 -/* 8036C13C 0036909C 4E 80 04 21 */ bctrl -/* 8036C140 003690A0 48 00 00 08 */ b lbl_8036C148 -lbl_8036C144: -/* 8036C144 003690A4 38 60 00 01 */ li r3, 1 -lbl_8036C148: -/* 8036C148 003690A8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8036C14C 003690AC 7C 08 03 A6 */ mtlr r0 -/* 8036C150 003690B0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8036C154 003690B4 4E 80 00 20 */ blr - -.global __dt__18CStaticAudioPlayer -__dt__18CStaticAudioPlayer: -/* 8036C158 003690B8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8036C15C 003690BC 7C 08 02 A6 */ mflr r0 -/* 8036C160 003690C0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8036C164 003690C4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8036C168 003690C8 7C 9F 23 78 */ mr r31, r4 -/* 8036C16C 003690CC 93 C1 00 08 */ stw r30, 8(r1) -/* 8036C170 003690D0 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8036C174 003690D4 41 82 00 78 */ beq lbl_8036C1EC -/* 8036C178 003690D8 4B FF FE 7D */ bl StopMixOut__18CStaticAudioPlayerFv -/* 8036C17C 003690DC 38 7E 00 48 */ addi r3, r30, 0x48 -/* 8036C180 003690E0 38 80 FF FF */ li r4, -1 -/* 8036C184 003690E4 4B FF 08 45 */ bl "__dt__Q24rstl56vector,Q24rstl17rmemory_allocator>Fv" -/* 8036C188 003690E8 38 7E 00 38 */ addi r3, r30, 0x38 -/* 8036C18C 003690EC 38 80 FF FF */ li r4, -1 -/* 8036C190 003690F0 48 00 00 79 */ bl sub_8036c208 -/* 8036C194 003690F4 34 1E 00 30 */ addic. r0, r30, 0x30 -/* 8036C198 003690F8 41 82 00 18 */ beq lbl_8036C1B0 -/* 8036C19C 003690FC 88 1E 00 30 */ lbz r0, 0x30(r30) -/* 8036C1A0 00369100 28 00 00 00 */ cmplwi r0, 0 -/* 8036C1A4 00369104 41 82 00 0C */ beq lbl_8036C1B0 -/* 8036C1A8 00369108 80 7E 00 34 */ lwz r3, 0x34(r30) -/* 8036C1AC 0036910C 4B FA 97 85 */ bl Free__7CMemoryFPCv -lbl_8036C1B0: -/* 8036C1B0 00369110 34 1E 00 28 */ addic. r0, r30, 0x28 -/* 8036C1B4 00369114 41 82 00 18 */ beq lbl_8036C1CC -/* 8036C1B8 00369118 88 1E 00 28 */ lbz r0, 0x28(r30) -/* 8036C1BC 0036911C 28 00 00 00 */ cmplwi r0, 0 -/* 8036C1C0 00369120 41 82 00 0C */ beq lbl_8036C1CC -/* 8036C1C4 00369124 80 7E 00 2C */ lwz r3, 0x2c(r30) -/* 8036C1C8 00369128 4B FA 97 69 */ bl Free__7CMemoryFPCv -lbl_8036C1CC: -/* 8036C1CC 0036912C 28 1E 00 00 */ cmplwi r30, 0 -/* 8036C1D0 00369130 41 82 00 0C */ beq lbl_8036C1DC -/* 8036C1D4 00369134 7F C3 F3 78 */ mr r3, r30 -/* 8036C1D8 00369138 4B FD 19 09 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8036C1DC: -/* 8036C1DC 0036913C 7F E0 07 35 */ extsh. r0, r31 -/* 8036C1E0 00369140 40 81 00 0C */ ble lbl_8036C1EC -/* 8036C1E4 00369144 7F C3 F3 78 */ mr r3, r30 -/* 8036C1E8 00369148 4B FA 97 49 */ bl Free__7CMemoryFPCv -lbl_8036C1EC: -/* 8036C1EC 0036914C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8036C1F0 00369150 7F C3 F3 78 */ mr r3, r30 -/* 8036C1F4 00369154 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8036C1F8 00369158 83 C1 00 08 */ lwz r30, 8(r1) -/* 8036C1FC 0036915C 7C 08 03 A6 */ mtlr r0 -/* 8036C200 00369160 38 21 00 10 */ addi r1, r1, 0x10 -/* 8036C204 00369164 4E 80 00 20 */ blr - -.global sub_8036c208 -sub_8036c208: -/* 8036C208 00369168 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8036C20C 0036916C 7C 08 02 A6 */ mflr r0 -/* 8036C210 00369170 90 01 00 34 */ stw r0, 0x34(r1) -/* 8036C214 00369174 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8036C218 00369178 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8036C21C 0036917C 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8036C220 00369180 7C 9D 23 78 */ mr r29, r4 -/* 8036C224 00369184 93 81 00 20 */ stw r28, 0x20(r1) -/* 8036C228 00369188 7C 7C 1B 79 */ or. r28, r3, r3 -/* 8036C22C 0036918C 41 82 00 88 */ beq lbl_8036C2B4 -/* 8036C230 00369190 80 1C 00 04 */ lwz r0, 4(r28) -/* 8036C234 00369194 83 DC 00 0C */ lwz r30, 0xc(r28) -/* 8036C238 00369198 54 00 18 38 */ slwi r0, r0, 3 -/* 8036C23C 0036919C 7F FE 02 14 */ add r31, r30, r0 -/* 8036C240 003691A0 93 C1 00 10 */ stw r30, 0x10(r1) -/* 8036C244 003691A4 93 E1 00 08 */ stw r31, 8(r1) -/* 8036C248 003691A8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8036C24C 003691AC 93 C1 00 14 */ stw r30, 0x14(r1) -/* 8036C250 003691B0 48 00 00 3C */ b lbl_8036C28C -lbl_8036C254: -/* 8036C254 003691B4 28 1E 00 00 */ cmplwi r30, 0 -/* 8036C258 003691B8 41 82 00 30 */ beq lbl_8036C288 -/* 8036C25C 003691BC 88 1E 00 00 */ lbz r0, 0(r30) -/* 8036C260 003691C0 28 00 00 00 */ cmplwi r0, 0 -/* 8036C264 003691C4 41 82 00 24 */ beq lbl_8036C288 -/* 8036C268 003691C8 80 7E 00 04 */ lwz r3, 4(r30) -/* 8036C26C 003691CC 28 03 00 00 */ cmplwi r3, 0 -/* 8036C270 003691D0 41 82 00 18 */ beq lbl_8036C288 -/* 8036C274 003691D4 81 83 00 00 */ lwz r12, 0(r3) -/* 8036C278 003691D8 38 80 00 01 */ li r4, 1 -/* 8036C27C 003691DC 81 8C 00 08 */ lwz r12, 8(r12) -/* 8036C280 003691E0 7D 89 03 A6 */ mtctr r12 -/* 8036C284 003691E4 4E 80 04 21 */ bctrl -lbl_8036C288: -/* 8036C288 003691E8 3B DE 00 08 */ addi r30, r30, 8 -lbl_8036C28C: -/* 8036C28C 003691EC 7C 1E F8 40 */ cmplw r30, r31 -/* 8036C290 003691F0 40 82 FF C4 */ bne lbl_8036C254 -/* 8036C294 003691F4 80 7C 00 0C */ lwz r3, 0xc(r28) -/* 8036C298 003691F8 28 03 00 00 */ cmplwi r3, 0 -/* 8036C29C 003691FC 41 82 00 08 */ beq lbl_8036C2A4 -/* 8036C2A0 00369200 4B FA 96 91 */ bl Free__7CMemoryFPCv -lbl_8036C2A4: -/* 8036C2A4 00369204 7F A0 07 35 */ extsh. r0, r29 -/* 8036C2A8 00369208 40 81 00 0C */ ble lbl_8036C2B4 -/* 8036C2AC 0036920C 7F 83 E3 78 */ mr r3, r28 -/* 8036C2B0 00369210 4B FA 96 81 */ bl Free__7CMemoryFPCv -lbl_8036C2B4: -/* 8036C2B4 00369214 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8036C2B8 00369218 7F 83 E3 78 */ mr r3, r28 -/* 8036C2BC 0036921C 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8036C2C0 00369220 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8036C2C4 00369224 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 8036C2C8 00369228 83 81 00 20 */ lwz r28, 0x20(r1) -/* 8036C2CC 0036922C 7C 08 03 A6 */ mtlr r0 -/* 8036C2D0 00369230 38 21 00 30 */ addi r1, r1, 0x30 -/* 8036C2D4 00369234 4E 80 00 20 */ blr - -.global __ct__18CStaticAudioPlayerFRCQ24rstl12basic_stringii -__ct__18CStaticAudioPlayerFRCQ24rstl12basic_stringii: -/* 8036C2D8 00369238 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 8036C2DC 0036923C 7C 08 02 A6 */ mflr r0 -/* 8036C2E0 00369240 90 01 00 74 */ stw r0, 0x74(r1) -/* 8036C2E4 00369244 BF 41 00 58 */ stmw r26, 0x58(r1) -/* 8036C2E8 00369248 7C 7A 1B 78 */ mr r26, r3 -/* 8036C2EC 0036924C 7C 9B 23 78 */ mr r27, r4 -/* 8036C2F0 00369250 7C BD 2B 78 */ mr r29, r5 -/* 8036C2F4 00369254 7C DC 33 78 */ mr r28, r6 -/* 8036C2F8 00369258 4B FD 1E 69 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8036C2FC 0036925C 38 00 FF FF */ li r0, -1 -/* 8036C300 00369260 3C 80 80 3E */ lis r4, lbl_803D8560@ha -/* 8036C304 00369264 90 1A 00 10 */ stw r0, 0x10(r26) -/* 8036C308 00369268 38 E0 00 00 */ li r7, 0 -/* 8036C30C 0036926C 38 A4 85 60 */ addi r5, r4, lbl_803D8560@l -/* 8036C310 00369270 3C 60 80 3D */ lis r3, lbl_803D6AA8@ha -/* 8036C314 00369274 90 FA 00 18 */ stw r7, 0x18(r26) -/* 8036C318 00369278 57 A4 00 3C */ rlwinm r4, r29, 0, 0, 0x1e -/* 8036C31C 0036927C 38 C3 6A A8 */ addi r6, r3, lbl_803D6AA8@l -/* 8036C320 00369280 57 80 00 3C */ rlwinm r0, r28, 0, 0, 0x1e -/* 8036C324 00369284 90 9A 00 1C */ stw r4, 0x1c(r26) -/* 8036C328 00369288 38 61 00 20 */ addi r3, r1, 0x20 -/* 8036C32C 0036928C 38 80 FF FF */ li r4, -1 -/* 8036C330 00369290 90 1A 00 20 */ stw r0, 0x20(r26) -/* 8036C334 00369294 90 FA 00 24 */ stw r7, 0x24(r26) -/* 8036C338 00369298 4B F6 A0 9D */ bl __ct__10CCallStackFUiPCcPCc -/* 8036C33C 0036929C 7C 67 1B 78 */ mr r7, r3 -/* 8036C340 003692A0 38 60 02 80 */ li r3, 0x280 -/* 8036C344 003692A4 38 80 00 02 */ li r4, 2 -/* 8036C348 003692A8 38 A0 00 01 */ li r5, 1 -/* 8036C34C 003692AC 38 C0 00 00 */ li r6, 0 -/* 8036C350 003692B0 4B FA 96 45 */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack -/* 8036C354 003692B4 7C 03 00 D0 */ neg r0, r3 -/* 8036C358 003692B8 3C A0 80 3E */ lis r5, lbl_803D8560@ha -/* 8036C35C 003692BC 7C 00 1B 78 */ or r0, r0, r3 -/* 8036C360 003692C0 3C 80 80 3D */ lis r4, lbl_803D6AA8@ha -/* 8036C364 003692C4 54 00 0F FE */ srwi r0, r0, 0x1f -/* 8036C368 003692C8 38 A5 85 60 */ addi r5, r5, lbl_803D8560@l -/* 8036C36C 003692CC 98 1A 00 28 */ stb r0, 0x28(r26) -/* 8036C370 003692D0 38 C4 6A A8 */ addi r6, r4, lbl_803D6AA8@l -/* 8036C374 003692D4 38 80 FF FF */ li r4, -1 -/* 8036C378 003692D8 90 7A 00 2C */ stw r3, 0x2c(r26) -/* 8036C37C 003692DC 38 61 00 18 */ addi r3, r1, 0x18 -/* 8036C380 003692E0 4B F6 A0 55 */ bl __ct__10CCallStackFUiPCcPCc -/* 8036C384 003692E4 7C 67 1B 78 */ mr r7, r3 -/* 8036C388 003692E8 38 60 02 80 */ li r3, 0x280 -/* 8036C38C 003692EC 38 80 00 02 */ li r4, 2 -/* 8036C390 003692F0 38 A0 00 01 */ li r5, 1 -/* 8036C394 003692F4 38 C0 00 00 */ li r6, 0 -/* 8036C398 003692F8 4B FA 95 FD */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack -/* 8036C39C 003692FC 7C 03 00 D0 */ neg r0, r3 -/* 8036C3A0 00369300 3C 80 00 01 */ lis r4, 0x00008000@ha -/* 8036C3A4 00369304 7C 00 1B 78 */ or r0, r0, r3 -/* 8036C3A8 00369308 38 A0 00 00 */ li r5, 0 -/* 8036C3AC 0036930C 54 06 0F FE */ srwi r6, r0, 0x1f -/* 8036C3B0 00369310 38 04 80 00 */ addi r0, r4, 0x00008000@l -/* 8036C3B4 00369314 98 DA 00 30 */ stb r6, 0x30(r26) -/* 8036C3B8 00369318 90 7A 00 34 */ stw r3, 0x34(r26) -/* 8036C3BC 0036931C 38 61 00 30 */ addi r3, r1, 0x30 -/* 8036C3C0 00369320 90 BA 00 3C */ stw r5, 0x3c(r26) -/* 8036C3C4 00369324 90 BA 00 40 */ stw r5, 0x40(r26) -/* 8036C3C8 00369328 90 BA 00 44 */ stw r5, 0x44(r26) -/* 8036C3CC 0036932C 90 BA 00 4C */ stw r5, 0x4c(r26) -/* 8036C3D0 00369330 90 BA 00 50 */ stw r5, 0x50(r26) -/* 8036C3D4 00369334 90 BA 00 54 */ stw r5, 0x54(r26) -/* 8036C3D8 00369338 B0 1A 00 C0 */ sth r0, 0xc0(r26) -/* 8036C3DC 0036933C 80 9B 00 00 */ lwz r4, 0(r27) -/* 8036C3E0 00369340 4B FE 38 F1 */ bl __ct__8CDvdFileFPCc -/* 8036C3E4 00369344 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8036C3E8 00369348 38 7A 00 48 */ addi r3, r26, 0x48 -/* 8036C3EC 0036934C 90 1A 00 10 */ stw r0, 0x10(r26) -/* 8036C3F0 00369350 80 1A 00 10 */ lwz r0, 0x10(r26) -/* 8036C3F4 00369354 90 1A 00 14 */ stw r0, 0x14(r26) -/* 8036C3F8 00369358 80 9A 00 10 */ lwz r4, 0x10(r26) -/* 8036C3FC 0036935C 3C 84 00 02 */ addis r4, r4, 2 -/* 8036C400 00369360 38 04 FF FF */ addi r0, r4, -1 -/* 8036C404 00369364 7C 00 8E 70 */ srawi r0, r0, 0x11 -/* 8036C408 00369368 7F 60 01 94 */ addze r27, r0 -/* 8036C40C 0036936C 7F 64 DB 78 */ mr r4, r27 -/* 8036C410 00369370 4B FF 15 F9 */ bl "reserve__Q24rstl56vector,Q24rstl17rmemory_allocator>Fi" -/* 8036C414 00369374 7F 64 DB 78 */ mr r4, r27 -/* 8036C418 00369378 38 7A 00 38 */ addi r3, r26, 0x38 -/* 8036C41C 0036937C 48 00 01 C9 */ bl sub_8036c5e4 -/* 8036C420 00369380 3C 80 80 3E */ lis r4, lbl_803D8560@ha -/* 8036C424 00369384 3C 60 80 3D */ lis r3, lbl_803D6AA8@ha -/* 8036C428 00369388 83 9A 00 10 */ lwz r28, 0x10(r26) -/* 8036C42C 0036938C 3B C4 85 60 */ addi r30, r4, lbl_803D8560@l -/* 8036C430 00369390 3B E3 6A A8 */ addi r31, r3, lbl_803D6AA8@l -/* 8036C434 00369394 3F A0 00 02 */ lis r29, 2 -/* 8036C438 00369398 48 00 01 80 */ b lbl_8036C5B8 -lbl_8036C43C: -/* 8036C43C 0036939C 7C 1C E8 00 */ cmpw r28, r29 -/* 8036C440 003693A0 3F 60 00 02 */ lis r27, 2 -/* 8036C444 003693A4 41 81 00 0C */ bgt lbl_8036C450 -/* 8036C448 003693A8 38 1C 00 1F */ addi r0, r28, 0x1f -/* 8036C44C 003693AC 54 1B 00 34 */ rlwinm r27, r0, 0, 0, 0x1a -lbl_8036C450: -/* 8036C450 003693B0 7F C5 F3 78 */ mr r5, r30 -/* 8036C454 003693B4 7F E6 FB 78 */ mr r6, r31 -/* 8036C458 003693B8 38 61 00 10 */ addi r3, r1, 0x10 -/* 8036C45C 003693BC 38 80 FF FF */ li r4, -1 -/* 8036C460 003693C0 4B F6 9F 75 */ bl __ct__10CCallStackFUiPCcPCc -/* 8036C464 003693C4 7C 67 1B 78 */ mr r7, r3 -/* 8036C468 003693C8 7F 63 DB 78 */ mr r3, r27 -/* 8036C46C 003693CC 38 80 00 02 */ li r4, 2 -/* 8036C470 003693D0 38 A0 00 01 */ li r5, 1 -/* 8036C474 003693D4 38 C0 00 00 */ li r6, 0 -/* 8036C478 003693D8 4B FA 95 1D */ bl Alloc__7CMemoryFUlQ210IAllocator5EHintQ210IAllocator6EScopeQ210IAllocator5ETypeRC10CCallStack -/* 8036C47C 003693DC 7C 83 00 D0 */ neg r4, r3 -/* 8036C480 003693E0 80 1A 00 4C */ lwz r0, 0x4c(r26) -/* 8036C484 003693E4 80 BA 00 50 */ lwz r5, 0x50(r26) -/* 8036C488 003693E8 7C 84 1B 78 */ or r4, r4, r3 -/* 8036C48C 003693EC 54 84 0F FE */ srwi r4, r4, 0x1f -/* 8036C490 003693F0 90 61 00 2C */ stw r3, 0x2c(r1) -/* 8036C494 003693F4 7C 00 28 00 */ cmpw r0, r5 -/* 8036C498 003693F8 98 81 00 28 */ stb r4, 0x28(r1) -/* 8036C49C 003693FC 41 80 00 1C */ blt lbl_8036C4B8 -/* 8036C4A0 00369400 2C 05 00 00 */ cmpwi r5, 0 -/* 8036C4A4 00369404 38 7A 00 48 */ addi r3, r26, 0x48 -/* 8036C4A8 00369408 38 80 00 04 */ li r4, 4 -/* 8036C4AC 0036940C 41 82 00 08 */ beq lbl_8036C4B4 -/* 8036C4B0 00369410 54 A4 08 3C */ slwi r4, r5, 1 -lbl_8036C4B4: -/* 8036C4B4 00369414 4B FF 15 55 */ bl "reserve__Q24rstl56vector,Q24rstl17rmemory_allocator>Fi" -lbl_8036C4B8: -/* 8036C4B8 00369418 80 1A 00 4C */ lwz r0, 0x4c(r26) -/* 8036C4BC 0036941C 80 7A 00 54 */ lwz r3, 0x54(r26) -/* 8036C4C0 00369420 54 00 18 38 */ slwi r0, r0, 3 -/* 8036C4C4 00369424 7C A3 02 15 */ add. r5, r3, r0 -/* 8036C4C8 00369428 41 82 00 1C */ beq lbl_8036C4E4 -/* 8036C4CC 0036942C 88 81 00 28 */ lbz r4, 0x28(r1) -/* 8036C4D0 00369430 38 00 00 00 */ li r0, 0 -/* 8036C4D4 00369434 80 61 00 2C */ lwz r3, 0x2c(r1) -/* 8036C4D8 00369438 98 85 00 00 */ stb r4, 0(r5) -/* 8036C4DC 0036943C 90 65 00 04 */ stw r3, 4(r5) -/* 8036C4E0 00369440 98 01 00 28 */ stb r0, 0x28(r1) -lbl_8036C4E4: -/* 8036C4E4 00369444 80 DA 00 4C */ lwz r6, 0x4c(r26) -/* 8036C4E8 00369448 7F 65 DB 78 */ mr r5, r27 -/* 8036C4EC 0036944C 80 81 00 2C */ lwz r4, 0x2c(r1) -/* 8036C4F0 00369450 38 61 00 30 */ addi r3, r1, 0x30 -/* 8036C4F4 00369454 38 06 00 01 */ addi r0, r6, 1 -/* 8036C4F8 00369458 90 1A 00 4C */ stw r0, 0x4c(r26) -/* 8036C4FC 0036945C 4B FE 36 ED */ bl SyncRead__8CDvdFileFPvUi -/* 8036C500 00369460 7C 83 00 D0 */ neg r4, r3 -/* 8036C504 00369464 80 1A 00 3C */ lwz r0, 0x3c(r26) -/* 8036C508 00369468 80 BA 00 40 */ lwz r5, 0x40(r26) -/* 8036C50C 0036946C 7C 84 1B 78 */ or r4, r4, r3 -/* 8036C510 00369470 54 84 0F FE */ srwi r4, r4, 0x1f -/* 8036C514 00369474 90 61 00 0C */ stw r3, 0xc(r1) -/* 8036C518 00369478 7C 00 28 00 */ cmpw r0, r5 -/* 8036C51C 0036947C 98 81 00 08 */ stb r4, 8(r1) -/* 8036C520 00369480 41 80 00 1C */ blt lbl_8036C53C -/* 8036C524 00369484 2C 05 00 00 */ cmpwi r5, 0 -/* 8036C528 00369488 38 7A 00 38 */ addi r3, r26, 0x38 -/* 8036C52C 0036948C 38 80 00 04 */ li r4, 4 -/* 8036C530 00369490 41 82 00 08 */ beq lbl_8036C538 -/* 8036C534 00369494 54 A4 08 3C */ slwi r4, r5, 1 -lbl_8036C538: -/* 8036C538 00369498 48 00 00 AD */ bl sub_8036c5e4 -lbl_8036C53C: -/* 8036C53C 0036949C 80 1A 00 3C */ lwz r0, 0x3c(r26) -/* 8036C540 003694A0 80 7A 00 44 */ lwz r3, 0x44(r26) -/* 8036C544 003694A4 54 00 18 38 */ slwi r0, r0, 3 -/* 8036C548 003694A8 7C A3 02 15 */ add. r5, r3, r0 -/* 8036C54C 003694AC 41 82 00 1C */ beq lbl_8036C568 -/* 8036C550 003694B0 88 81 00 08 */ lbz r4, 8(r1) -/* 8036C554 003694B4 38 00 00 00 */ li r0, 0 -/* 8036C558 003694B8 80 61 00 0C */ lwz r3, 0xc(r1) -/* 8036C55C 003694BC 98 85 00 00 */ stb r4, 0(r5) -/* 8036C560 003694C0 90 65 00 04 */ stw r3, 4(r5) -/* 8036C564 003694C4 98 01 00 08 */ stb r0, 8(r1) -lbl_8036C568: -/* 8036C568 003694C8 80 7A 00 3C */ lwz r3, 0x3c(r26) -/* 8036C56C 003694CC 88 01 00 08 */ lbz r0, 8(r1) -/* 8036C570 003694D0 38 63 00 01 */ addi r3, r3, 1 -/* 8036C574 003694D4 28 00 00 00 */ cmplwi r0, 0 -/* 8036C578 003694D8 90 7A 00 3C */ stw r3, 0x3c(r26) -/* 8036C57C 003694DC 41 82 00 24 */ beq lbl_8036C5A0 -/* 8036C580 003694E0 80 61 00 0C */ lwz r3, 0xc(r1) -/* 8036C584 003694E4 28 03 00 00 */ cmplwi r3, 0 -/* 8036C588 003694E8 41 82 00 18 */ beq lbl_8036C5A0 -/* 8036C58C 003694EC 81 83 00 00 */ lwz r12, 0(r3) -/* 8036C590 003694F0 38 80 00 01 */ li r4, 1 -/* 8036C594 003694F4 81 8C 00 08 */ lwz r12, 8(r12) -/* 8036C598 003694F8 7D 89 03 A6 */ mtctr r12 -/* 8036C59C 003694FC 4E 80 04 21 */ bctrl -lbl_8036C5A0: -/* 8036C5A0 00369500 88 01 00 28 */ lbz r0, 0x28(r1) -/* 8036C5A4 00369504 28 00 00 00 */ cmplwi r0, 0 -/* 8036C5A8 00369508 41 82 00 0C */ beq lbl_8036C5B4 -/* 8036C5AC 0036950C 80 61 00 2C */ lwz r3, 0x2c(r1) -/* 8036C5B0 00369510 4B FA 93 81 */ bl Free__7CMemoryFPCv -lbl_8036C5B4: -/* 8036C5B4 00369514 3F 9C FF FE */ addis r28, r28, 0xfffe -lbl_8036C5B8: -/* 8036C5B8 00369518 2C 1C 00 00 */ cmpwi r28, 0 -/* 8036C5BC 0036951C 41 81 FE 80 */ bgt lbl_8036C43C -/* 8036C5C0 00369520 38 61 00 30 */ addi r3, r1, 0x30 -/* 8036C5C4 00369524 38 80 FF FF */ li r4, -1 -/* 8036C5C8 00369528 4B FE 36 49 */ bl __dt__8CDvdFileFv -/* 8036C5CC 0036952C 7F 43 D3 78 */ mr r3, r26 -/* 8036C5D0 00369530 BB 41 00 58 */ lmw r26, 0x58(r1) -/* 8036C5D4 00369534 80 01 00 74 */ lwz r0, 0x74(r1) -/* 8036C5D8 00369538 7C 08 03 A6 */ mtlr r0 -/* 8036C5DC 0036953C 38 21 00 70 */ addi r1, r1, 0x70 -/* 8036C5E0 00369540 4E 80 00 20 */ blr - -.global sub_8036c5e4 -sub_8036c5e4: -/* 8036C5E4 00369544 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8036C5E8 00369548 7C 08 02 A6 */ mflr r0 -/* 8036C5EC 0036954C 90 01 00 34 */ stw r0, 0x34(r1) -/* 8036C5F0 00369550 BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 8036C5F4 00369554 7C 9F 23 78 */ mr r31, r4 -/* 8036C5F8 00369558 7C 7E 1B 78 */ mr r30, r3 -/* 8036C5FC 0036955C 80 03 00 08 */ lwz r0, 8(r3) -/* 8036C600 00369560 7C 1F 00 00 */ cmpw r31, r0 -/* 8036C604 00369564 40 81 00 EC */ ble lbl_8036C6F0 -/* 8036C608 00369568 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c -/* 8036C60C 0036956C 40 82 00 0C */ bne lbl_8036C618 -/* 8036C610 00369570 3B A0 00 00 */ li r29, 0 -/* 8036C614 00369574 48 00 00 18 */ b lbl_8036C62C -lbl_8036C618: -/* 8036C618 00369578 3C 80 80 3E */ lis r4, lbl_803D8560@ha -/* 8036C61C 0036957C 38 A0 00 00 */ li r5, 0 -/* 8036C620 00369580 38 84 85 60 */ addi r4, r4, lbl_803D8560@l -/* 8036C624 00369584 4B FA 91 F5 */ bl __nwa__FUlPCcPCc -/* 8036C628 00369588 7C 7D 1B 78 */ mr r29, r3 -lbl_8036C62C: -/* 8036C62C 0036958C 80 7E 00 04 */ lwz r3, 4(r30) -/* 8036C630 00369590 7F A5 EB 78 */ mr r5, r29 -/* 8036C634 00369594 80 DE 00 0C */ lwz r6, 0xc(r30) -/* 8036C638 00369598 38 00 00 00 */ li r0, 0 -/* 8036C63C 0036959C 54 63 18 38 */ slwi r3, r3, 3 -/* 8036C640 003695A0 7C 86 1A 14 */ add r4, r6, r3 -/* 8036C644 003695A4 90 C1 00 10 */ stw r6, 0x10(r1) -/* 8036C648 003695A8 90 81 00 08 */ stw r4, 8(r1) -/* 8036C64C 003695AC 90 81 00 0C */ stw r4, 0xc(r1) -/* 8036C650 003695B0 90 C1 00 14 */ stw r6, 0x14(r1) -/* 8036C654 003695B4 48 00 00 28 */ b lbl_8036C67C -lbl_8036C658: -/* 8036C658 003695B8 28 05 00 00 */ cmplwi r5, 0 -/* 8036C65C 003695BC 41 82 00 18 */ beq lbl_8036C674 -/* 8036C660 003695C0 88 66 00 00 */ lbz r3, 0(r6) -/* 8036C664 003695C4 98 65 00 00 */ stb r3, 0(r5) -/* 8036C668 003695C8 80 66 00 04 */ lwz r3, 4(r6) -/* 8036C66C 003695CC 90 65 00 04 */ stw r3, 4(r5) -/* 8036C670 003695D0 98 06 00 00 */ stb r0, 0(r6) -lbl_8036C674: -/* 8036C674 003695D4 38 A5 00 08 */ addi r5, r5, 8 -/* 8036C678 003695D8 38 C6 00 08 */ addi r6, r6, 8 -lbl_8036C67C: -/* 8036C67C 003695DC 7C 06 20 40 */ cmplw r6, r4 -/* 8036C680 003695E0 40 82 FF D8 */ bne lbl_8036C658 -/* 8036C684 003695E4 80 1E 00 04 */ lwz r0, 4(r30) -/* 8036C688 003695E8 83 7E 00 0C */ lwz r27, 0xc(r30) -/* 8036C68C 003695EC 54 00 18 38 */ slwi r0, r0, 3 -/* 8036C690 003695F0 7F 9B 02 14 */ add r28, r27, r0 -/* 8036C694 003695F4 48 00 00 3C */ b lbl_8036C6D0 -lbl_8036C698: -/* 8036C698 003695F8 28 1B 00 00 */ cmplwi r27, 0 -/* 8036C69C 003695FC 41 82 00 30 */ beq lbl_8036C6CC -/* 8036C6A0 00369600 88 1B 00 00 */ lbz r0, 0(r27) -/* 8036C6A4 00369604 28 00 00 00 */ cmplwi r0, 0 -/* 8036C6A8 00369608 41 82 00 24 */ beq lbl_8036C6CC -/* 8036C6AC 0036960C 80 7B 00 04 */ lwz r3, 4(r27) -/* 8036C6B0 00369610 28 03 00 00 */ cmplwi r3, 0 -/* 8036C6B4 00369614 41 82 00 18 */ beq lbl_8036C6CC -/* 8036C6B8 00369618 81 83 00 00 */ lwz r12, 0(r3) -/* 8036C6BC 0036961C 38 80 00 01 */ li r4, 1 -/* 8036C6C0 00369620 81 8C 00 08 */ lwz r12, 8(r12) -/* 8036C6C4 00369624 7D 89 03 A6 */ mtctr r12 -/* 8036C6C8 00369628 4E 80 04 21 */ bctrl -lbl_8036C6CC: -/* 8036C6CC 0036962C 3B 7B 00 08 */ addi r27, r27, 8 -lbl_8036C6D0: -/* 8036C6D0 00369630 7C 1B E0 40 */ cmplw r27, r28 -/* 8036C6D4 00369634 40 82 FF C4 */ bne lbl_8036C698 -/* 8036C6D8 00369638 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 8036C6DC 0036963C 28 03 00 00 */ cmplwi r3, 0 -/* 8036C6E0 00369640 41 82 00 08 */ beq lbl_8036C6E8 -/* 8036C6E4 00369644 4B FA 92 4D */ bl Free__7CMemoryFPCv -lbl_8036C6E8: -/* 8036C6E8 00369648 93 BE 00 0C */ stw r29, 0xc(r30) -/* 8036C6EC 0036964C 93 FE 00 08 */ stw r31, 8(r30) -lbl_8036C6F0: -/* 8036C6F0 00369650 BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 8036C6F4 00369654 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8036C6F8 00369658 7C 08 03 A6 */ mtlr r0 -/* 8036C6FC 0036965C 38 21 00 30 */ addi r1, r1, 0x30 -/* 8036C700 00369660 4E 80 00 20 */ blr - -.global sub_8036c704 -sub_8036c704: -/* 8036C704 00369664 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8036C708 00369668 7C 08 02 A6 */ mflr r0 -/* 8036C70C 0036966C 90 01 00 24 */ stw r0, 0x24(r1) -/* 8036C710 00369670 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8036C714 00369674 7C 7F 1B 78 */ mr r31, r3 -/* 8036C718 00369678 48 01 4F 49 */ bl OSDisableInterrupts -/* 8036C71C 0036967C 7C 03 00 D0 */ neg r0, r3 -/* 8036C720 00369680 3C 80 80 54 */ lis r4, lbl_80540004@ha -/* 8036C724 00369684 7C 03 1B 78 */ or r3, r0, r3 -/* 8036C728 00369688 84 04 0A 2C */ lwzu r0, 0xa2c(r4) -/* 8036C72C 0036968C 54 63 0F FE */ srwi r3, r3, 0x1f -/* 8036C730 00369690 38 C4 00 04 */ addi r6, r4, lbl_80540004@l -/* 8036C734 00369694 54 00 10 3A */ slwi r0, r0, 2 -/* 8036C738 00369698 98 61 00 08 */ stb r3, 8(r1) -/* 8036C73C 0036969C 7C C5 33 78 */ mr r5, r6 -/* 8036C740 003696A0 7C 66 02 14 */ add r3, r6, r0 -/* 8036C744 003696A4 48 00 00 08 */ b lbl_8036C74C -lbl_8036C748: -/* 8036C748 003696A8 38 A5 00 04 */ addi r5, r5, 4 -lbl_8036C74C: -/* 8036C74C 003696AC 7C 05 18 40 */ cmplw r5, r3 -/* 8036C750 003696B0 41 82 00 10 */ beq lbl_8036C760 -/* 8036C754 003696B4 80 05 00 00 */ lwz r0, 0(r5) -/* 8036C758 003696B8 7C 00 F8 40 */ cmplw r0, r31 -/* 8036C75C 003696BC 40 82 FF EC */ bne lbl_8036C748 -lbl_8036C760: -/* 8036C760 003696C0 7C 05 18 40 */ cmplw r5, r3 -/* 8036C764 003696C4 41 82 00 58 */ beq lbl_8036C7BC -/* 8036C768 003696C8 7C 05 30 40 */ cmplw r5, r6 -/* 8036C76C 003696CC 41 80 00 50 */ blt lbl_8036C7BC -/* 8036C770 003696D0 7C 05 18 40 */ cmplw r5, r3 -/* 8036C774 003696D4 40 80 00 48 */ bge lbl_8036C7BC -/* 8036C778 003696D8 3C 60 80 54 */ lis r3, lbl_80540A2C@ha -/* 8036C77C 003696DC 38 83 0A 2C */ addi r4, r3, lbl_80540A2C@l -/* 8036C780 003696E0 48 00 00 10 */ b lbl_8036C790 -lbl_8036C784: -/* 8036C784 003696E4 80 05 00 04 */ lwz r0, 4(r5) -/* 8036C788 003696E8 90 05 00 00 */ stw r0, 0(r5) -/* 8036C78C 003696EC 38 A5 00 04 */ addi r5, r5, 4 -lbl_8036C790: -/* 8036C790 003696F0 80 04 00 00 */ lwz r0, 0(r4) -/* 8036C794 003696F4 54 03 10 3A */ slwi r3, r0, 2 -/* 8036C798 003696F8 38 03 FF FC */ addi r0, r3, -4 -/* 8036C79C 003696FC 7C 06 02 14 */ add r0, r6, r0 -/* 8036C7A0 00369700 7C 05 00 40 */ cmplw r5, r0 -/* 8036C7A4 00369704 41 80 FF E0 */ blt lbl_8036C784 -/* 8036C7A8 00369708 3C 60 80 54 */ lis r3, lbl_80540A2C@ha -/* 8036C7AC 0036970C 38 83 0A 2C */ addi r4, r3, lbl_80540A2C@l -/* 8036C7B0 00369710 80 64 00 00 */ lwz r3, 0(r4) -/* 8036C7B4 00369714 38 03 FF FF */ addi r0, r3, -1 -/* 8036C7B8 00369718 90 04 00 00 */ stw r0, 0(r4) -lbl_8036C7BC: -/* 8036C7BC 0036971C 48 00 01 35 */ bl sub_8036c8f0 -/* 8036C7C0 00369720 88 61 00 08 */ lbz r3, 8(r1) -/* 8036C7C4 00369724 48 01 4E C5 */ bl OSRestoreInterrupts -/* 8036C7C8 00369728 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8036C7CC 0036972C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8036C7D0 00369730 7C 08 03 A6 */ mtlr r0 -/* 8036C7D4 00369734 38 21 00 20 */ addi r1, r1, 0x20 -/* 8036C7D8 00369738 4E 80 00 20 */ blr - -.global RunDMACallback__18CStaticAudioPlayerFv -RunDMACallback__18CStaticAudioPlayerFv: -/* 8036C7DC 0036973C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8036C7E0 00369740 7C 08 02 A6 */ mflr r0 -/* 8036C7E4 00369744 90 01 00 24 */ stw r0, 0x24(r1) -/* 8036C7E8 00369748 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8036C7EC 0036974C 7C 7F 1B 78 */ mr r31, r3 -/* 8036C7F0 00369750 48 01 4E 71 */ bl OSDisableInterrupts -/* 8036C7F4 00369754 7C 03 00 D0 */ neg r0, r3 -/* 8036C7F8 00369758 3C 80 80 54 */ lis r4, lbl_80540004@ha -/* 8036C7FC 0036975C 7C 03 1B 78 */ or r3, r0, r3 -/* 8036C800 00369760 84 04 0A 2C */ lwzu r0, 0xa2c(r4) -/* 8036C804 00369764 54 63 0F FE */ srwi r3, r3, 0x1f -/* 8036C808 00369768 38 84 00 04 */ addi r4, r4, lbl_80540004@l -/* 8036C80C 0036976C 54 00 10 3A */ slwi r0, r0, 2 -/* 8036C810 00369770 98 61 00 08 */ stb r3, 8(r1) -/* 8036C814 00369774 7C 64 02 14 */ add r3, r4, r0 -/* 8036C818 00369778 48 00 00 08 */ b lbl_8036C820 -lbl_8036C81C: -/* 8036C81C 0036977C 38 84 00 04 */ addi r4, r4, 4 -lbl_8036C820: -/* 8036C820 00369780 7C 04 18 40 */ cmplw r4, r3 -/* 8036C824 00369784 41 82 00 10 */ beq lbl_8036C834 -/* 8036C828 00369788 80 04 00 00 */ lwz r0, 0(r4) -/* 8036C82C 0036978C 7C 00 F8 40 */ cmplw r0, r31 -/* 8036C830 00369790 40 82 FF EC */ bne lbl_8036C81C -lbl_8036C834: -/* 8036C834 00369794 7C 04 18 40 */ cmplw r4, r3 -/* 8036C838 00369798 40 82 00 24 */ bne lbl_8036C85C -/* 8036C83C 0036979C 28 03 00 00 */ cmplwi r3, 0 -/* 8036C840 003697A0 41 82 00 08 */ beq lbl_8036C848 -/* 8036C844 003697A4 93 E3 00 00 */ stw r31, 0(r3) -lbl_8036C848: -/* 8036C848 003697A8 3C 60 80 54 */ lis r3, lbl_80540A2C@ha -/* 8036C84C 003697AC 38 83 0A 2C */ addi r4, r3, lbl_80540A2C@l -/* 8036C850 003697B0 80 64 00 00 */ lwz r3, 0(r4) -/* 8036C854 003697B4 38 03 00 01 */ addi r0, r3, 1 -/* 8036C858 003697B8 90 04 00 00 */ stw r0, 0(r4) -lbl_8036C85C: -/* 8036C85C 003697BC 48 00 00 95 */ bl sub_8036c8f0 -/* 8036C860 003697C0 88 61 00 08 */ lbz r3, 8(r1) -/* 8036C864 003697C4 48 01 4E 25 */ bl OSRestoreInterrupts -/* 8036C868 003697C8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8036C86C 003697CC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8036C870 003697D0 7C 08 03 A6 */ mtlr r0 -/* 8036C874 003697D4 38 21 00 20 */ addi r1, r1, 0x20 -/* 8036C878 003697D8 4E 80 00 20 */ blr - -.global sub_8036c87c -sub_8036c87c: -/* 8036C87C 003697DC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8036C880 003697E0 7C 08 02 A6 */ mflr r0 -/* 8036C884 003697E4 90 01 00 24 */ stw r0, 0x24(r1) -/* 8036C888 003697E8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8036C88C 003697EC 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8036C890 003697F0 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8036C894 003697F4 81 8D AA EC */ lwz r12, lbl_805A96AC@sda21(r13) -/* 8036C898 003697F8 7D 89 03 A6 */ mtctr r12 -/* 8036C89C 003697FC 4E 80 04 21 */ bctrl -/* 8036C8A0 00369800 3C 60 80 54 */ lis r3, lbl_80540A2C@ha -/* 8036C8A4 00369804 3B A0 00 00 */ li r29, 0 -/* 8036C8A8 00369808 3B E3 0A 2C */ addi r31, r3, lbl_80540A2C@l -/* 8036C8AC 0036980C 3B DF 00 04 */ addi r30, r31, 4 -/* 8036C8B0 00369810 48 00 00 18 */ b lbl_8036C8C8 -lbl_8036C8B4: -/* 8036C8B4 00369814 81 9E 00 00 */ lwz r12, 0(r30) -/* 8036C8B8 00369818 7D 89 03 A6 */ mtctr r12 -/* 8036C8BC 0036981C 4E 80 04 21 */ bctrl -/* 8036C8C0 00369820 3B DE 00 04 */ addi r30, r30, 4 -/* 8036C8C4 00369824 3B BD 00 01 */ addi r29, r29, 1 -lbl_8036C8C8: -/* 8036C8C8 00369828 80 1F 00 00 */ lwz r0, 0(r31) -/* 8036C8CC 0036982C 7C 1D 00 00 */ cmpw r29, r0 -/* 8036C8D0 00369830 41 80 FF E4 */ blt lbl_8036C8B4 -/* 8036C8D4 00369834 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8036C8D8 00369838 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8036C8DC 0036983C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8036C8E0 00369840 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8036C8E4 00369844 7C 08 03 A6 */ mtlr r0 -/* 8036C8E8 00369848 38 21 00 20 */ addi r1, r1, 0x20 -/* 8036C8EC 0036984C 4E 80 00 20 */ blr - -.global sub_8036c8f0 -sub_8036c8f0: -/* 8036C8F0 00369850 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8036C8F4 00369854 7C 08 02 A6 */ mflr r0 -/* 8036C8F8 00369858 90 01 00 14 */ stw r0, 0x14(r1) -/* 8036C8FC 0036985C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8036C900 00369860 4B FD DE A5 */ bl sub_8034a7a4 -/* 8036C904 00369864 7C 60 1B 78 */ mr r0, r3 -/* 8036C908 00369868 38 60 00 01 */ li r3, 1 -/* 8036C90C 0036986C 7C 1F 03 78 */ mr r31, r0 -/* 8036C910 00369870 4B FD DE 9D */ bl sub_8034a7ac -/* 8036C914 00369874 88 8D AA E8 */ lbz r4, lbl_805A96A8@sda21(r13) -/* 8036C918 00369878 28 04 00 00 */ cmplwi r4, 0 -/* 8036C91C 0036987C 40 82 00 30 */ bne lbl_8036C94C -/* 8036C920 00369880 3C 60 80 54 */ lis r3, lbl_80540A2C@ha -/* 8036C924 00369884 80 03 0A 2C */ lwz r0, lbl_80540A2C@l(r3) -/* 8036C928 00369888 2C 00 00 00 */ cmpwi r0, 0 -/* 8036C92C 0036988C 41 82 00 20 */ beq lbl_8036C94C -/* 8036C930 00369890 3C 60 80 37 */ lis r3, sub_8036c87c@ha -/* 8036C934 00369894 38 63 C8 7C */ addi r3, r3, sub_8036c87c@l -/* 8036C938 00369898 48 00 06 05 */ bl AIRegisterDMACallback -/* 8036C93C 0036989C 38 00 00 01 */ li r0, 1 -/* 8036C940 003698A0 90 6D AA EC */ stw r3, lbl_805A96AC@sda21(r13) -/* 8036C944 003698A4 98 0D AA E8 */ stb r0, lbl_805A96A8@sda21(r13) -/* 8036C948 003698A8 48 00 00 30 */ b lbl_8036C978 -lbl_8036C94C: -/* 8036C94C 003698AC 28 04 00 00 */ cmplwi r4, 0 -/* 8036C950 003698B0 41 82 00 28 */ beq lbl_8036C978 -/* 8036C954 003698B4 3C 60 80 54 */ lis r3, lbl_80540A2C@ha -/* 8036C958 003698B8 80 03 0A 2C */ lwz r0, lbl_80540A2C@l(r3) -/* 8036C95C 003698BC 2C 00 00 00 */ cmpwi r0, 0 -/* 8036C960 003698C0 40 82 00 18 */ bne lbl_8036C978 -/* 8036C964 003698C4 80 6D AA EC */ lwz r3, lbl_805A96AC@sda21(r13) -/* 8036C968 003698C8 48 00 05 D5 */ bl AIRegisterDMACallback -/* 8036C96C 003698CC 38 00 00 00 */ li r0, 0 -/* 8036C970 003698D0 90 0D AA EC */ stw r0, lbl_805A96AC@sda21(r13) -/* 8036C974 003698D4 98 0D AA E8 */ stb r0, lbl_805A96A8@sda21(r13) -lbl_8036C978: -/* 8036C978 003698D8 7F E3 FB 78 */ mr r3, r31 -/* 8036C97C 003698DC 4B FD DE 31 */ bl sub_8034a7ac -/* 8036C980 003698E0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8036C984 003698E4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8036C988 003698E8 7C 08 03 A6 */ mtlr r0 -/* 8036C98C 003698EC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8036C990 003698F0 4E 80 00 20 */ blr - -.global __sinit_CStaticAudioPlayer_cpp -__sinit_CStaticAudioPlayer_cpp: -/* 8036C994 003698F4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8036C998 003698F8 7C 08 02 A6 */ mflr r0 -/* 8036C99C 003698FC 3C 80 80 37 */ lis r4, sub_8036c9d0@ha -/* 8036C9A0 00369900 3C A0 80 54 */ lis r5, lbl_80540A20@ha -/* 8036C9A4 00369904 90 01 00 14 */ stw r0, 0x14(r1) -/* 8036C9A8 00369908 38 00 00 00 */ li r0, 0 -/* 8036C9AC 0036990C 3C 60 80 54 */ lis r3, lbl_80540A2C@ha -/* 8036C9B0 00369910 38 84 C9 D0 */ addi r4, r4, sub_8036c9d0@l -/* 8036C9B4 00369914 94 03 0A 2C */ stwu r0, lbl_80540A2C@l(r3) -/* 8036C9B8 00369918 38 A5 0A 20 */ addi r5, r5, lbl_80540A20@l -/* 8036C9BC 0036991C 48 01 CC D1 */ bl __register_global_object -/* 8036C9C0 00369920 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8036C9C4 00369924 7C 08 03 A6 */ mtlr r0 -/* 8036C9C8 00369928 38 21 00 10 */ addi r1, r1, 0x10 -/* 8036C9CC 0036992C 4E 80 00 20 */ blr - -.global sub_8036c9d0 -sub_8036c9d0: -/* 8036C9D0 00369930 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8036C9D4 00369934 7C 08 02 A6 */ mflr r0 -/* 8036C9D8 00369938 90 01 00 14 */ stw r0, 0x14(r1) -/* 8036C9DC 0036993C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8036C9E0 00369940 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8036C9E4 00369944 41 82 00 68 */ beq lbl_8036CA4C -/* 8036C9E8 00369948 80 DF 00 00 */ lwz r6, 0(r31) -/* 8036C9EC 0036994C 38 60 00 00 */ li r3, 0 -/* 8036C9F0 00369950 2C 06 00 00 */ cmpwi r6, 0 -/* 8036C9F4 00369954 40 81 00 40 */ ble lbl_8036CA34 -/* 8036C9F8 00369958 2C 06 00 08 */ cmpwi r6, 8 -/* 8036C9FC 0036995C 38 A6 FF F8 */ addi r5, r6, -8 -/* 8036CA00 00369960 40 81 00 20 */ ble lbl_8036CA20 -/* 8036CA04 00369964 38 05 00 07 */ addi r0, r5, 7 -/* 8036CA08 00369968 54 00 E8 FE */ srwi r0, r0, 3 -/* 8036CA0C 0036996C 7C 09 03 A6 */ mtctr r0 -/* 8036CA10 00369970 2C 05 00 00 */ cmpwi r5, 0 -/* 8036CA14 00369974 40 81 00 0C */ ble lbl_8036CA20 -lbl_8036CA18: -/* 8036CA18 00369978 38 63 00 08 */ addi r3, r3, 8 -/* 8036CA1C 0036997C 42 00 FF FC */ bdnz lbl_8036CA18 -lbl_8036CA20: -/* 8036CA20 00369980 7C 03 30 50 */ subf r0, r3, r6 -/* 8036CA24 00369984 7C 09 03 A6 */ mtctr r0 -/* 8036CA28 00369988 7C 03 30 00 */ cmpw r3, r6 -/* 8036CA2C 0036998C 40 80 00 08 */ bge lbl_8036CA34 -lbl_8036CA30: -/* 8036CA30 00369990 42 00 00 00 */ bdnz lbl_8036CA30 -lbl_8036CA34: -/* 8036CA34 00369994 38 60 00 00 */ li r3, 0 -/* 8036CA38 00369998 7C 80 07 35 */ extsh. r0, r4 -/* 8036CA3C 0036999C 90 7F 00 00 */ stw r3, 0(r31) -/* 8036CA40 003699A0 40 81 00 0C */ ble lbl_8036CA4C -/* 8036CA44 003699A4 7F E3 FB 78 */ mr r3, r31 -/* 8036CA48 003699A8 4B FA 8E E9 */ bl Free__7CMemoryFPCv -lbl_8036CA4C: -/* 8036CA4C 003699AC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8036CA50 003699B0 7F E3 FB 78 */ mr r3, r31 -/* 8036CA54 003699B4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8036CA58 003699B8 7C 08 03 A6 */ mtlr r0 -/* 8036CA5C 003699BC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8036CA60 003699C0 4E 80 00 20 */ blr - -.global sub_8036ca64 -sub_8036ca64: -/* 8036CA64 003699C4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8036CA68 003699C8 7C 08 02 A6 */ mflr r0 -/* 8036CA6C 003699CC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8036CA70 003699D0 4B FB D7 45 */ bl sub_8032a1b4 -/* 8036CA74 003699D4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8036CA78 003699D8 7C 08 03 A6 */ mtlr r0 -/* 8036CA7C 003699DC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8036CA80 003699E0 4E 80 00 20 */ blr - -.global __nw__FUlPCcPCc_0 -__nw__FUlPCcPCc_0: -/* 8036CA84 003699E4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8036CA88 003699E8 7C 08 02 A6 */ mflr r0 -/* 8036CA8C 003699EC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8036CA90 003699F0 4B FB D8 41 */ bl sub_8032a2d0 -/* 8036CA94 003699F4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8036CA98 003699F8 7C 08 03 A6 */ mtlr r0 -/* 8036CA9C 003699FC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8036CAA0 00369A00 4E 80 00 20 */ blr - -.global sub_8036caa4 -sub_8036caa4: -/* 8036CAA4 00369A04 80 63 00 08 */ lwz r3, 8(r3) -/* 8036CAA8 00369A08 4E 80 00 20 */ blr - -.global sub_8036caac -sub_8036caac: -/* 8036CAAC 00369A0C 80 03 00 04 */ lwz r0, 4(r3) -/* 8036CAB0 00369A10 54 03 10 3A */ slwi r3, r0, 2 -/* 8036CAB4 00369A14 4E 80 00 20 */ blr - -.global sub_8036cab8 -sub_8036cab8: -/* 8036CAB8 00369A18 38 84 00 03 */ addi r4, r4, 3 -/* 8036CABC 00369A1C 80 03 00 04 */ lwz r0, 4(r3) -/* 8036CAC0 00369A20 54 84 F0 BE */ srwi r4, r4, 2 -/* 8036CAC4 00369A24 7C 04 00 40 */ cmplw r4, r0 -/* 8036CAC8 00369A28 40 81 00 10 */ ble lbl_8036CAD8 -/* 8036CACC 00369A2C 38 00 00 00 */ li r0, 0 -/* 8036CAD0 00369A30 90 03 00 04 */ stw r0, 4(r3) -/* 8036CAD4 00369A34 4E 80 00 20 */ blr -lbl_8036CAD8: -/* 8036CAD8 00369A38 7C 04 00 50 */ subf r0, r4, r0 -/* 8036CADC 00369A3C 90 03 00 04 */ stw r0, 4(r3) -/* 8036CAE0 00369A40 4E 80 00 20 */ blr - -.global sub_8036cae4 -sub_8036cae4: -/* 8036CAE4 00369A44 80 83 00 08 */ lwz r4, 8(r3) -/* 8036CAE8 00369A48 38 04 FF FF */ addi r0, r4, -1 -/* 8036CAEC 00369A4C 90 03 00 08 */ stw r0, 8(r3) -/* 8036CAF0 00369A50 4E 80 00 20 */ blr - -.global sub_8036caf4 -sub_8036caf4: -/* 8036CAF4 00369A54 38 04 00 03 */ addi r0, r4, 3 -/* 8036CAF8 00369A58 80 83 00 04 */ lwz r4, 4(r3) -/* 8036CAFC 00369A5C 54 00 F0 BE */ srwi r0, r0, 2 -/* 8036CB00 00369A60 7C 04 02 14 */ add r0, r4, r0 -/* 8036CB04 00369A64 54 84 10 3A */ slwi r4, r4, 2 -/* 8036CB08 00369A68 90 03 00 04 */ stw r0, 4(r3) -/* 8036CB0C 00369A6C 38 A4 00 0C */ addi r5, r4, 0xc -/* 8036CB10 00369A70 7C A3 2A 14 */ add r5, r3, r5 -/* 8036CB14 00369A74 80 83 00 08 */ lwz r4, 8(r3) -/* 8036CB18 00369A78 38 04 00 01 */ addi r0, r4, 1 -/* 8036CB1C 00369A7C 90 03 00 08 */ stw r0, 8(r3) -/* 8036CB20 00369A80 7C A3 2B 78 */ mr r3, r5 -/* 8036CB24 00369A84 4E 80 00 20 */ blr - -.global sub_8036cb28 -sub_8036cb28: -/* 8036CB28 00369A88 38 03 00 0C */ addi r0, r3, 0xc -/* 8036CB2C 00369A8C 80 63 00 00 */ lwz r3, 0(r3) -/* 8036CB30 00369A90 7C 00 20 50 */ subf r0, r0, r4 -/* 8036CB34 00369A94 7C 00 16 70 */ srawi r0, r0, 2 -/* 8036CB38 00369A98 7C 00 01 94 */ addze r0, r0 -/* 8036CB3C 00369A9C 7C 60 02 78 */ xor r0, r3, r0 -/* 8036CB40 00369AA0 7C 00 00 34 */ cntlzw r0, r0 -/* 8036CB44 00369AA4 7C 60 00 30 */ slw r0, r3, r0 -/* 8036CB48 00369AA8 54 03 0F FE */ srwi r3, r0, 0x1f -/* 8036CB4C 00369AAC 4E 80 00 20 */ blr - -.global sub_8036cb50 -sub_8036cb50: -/* 8036CB50 00369AB0 38 04 00 03 */ addi r0, r4, 3 -/* 8036CB54 00369AB4 80 83 00 04 */ lwz r4, 4(r3) -/* 8036CB58 00369AB8 54 00 F0 BE */ srwi r0, r0, 2 -/* 8036CB5C 00369ABC 80 63 00 00 */ lwz r3, 0(r3) -/* 8036CB60 00369AC0 7C 04 02 14 */ add r0, r4, r0 -/* 8036CB64 00369AC4 7C 60 02 78 */ xor r0, r3, r0 -/* 8036CB68 00369AC8 7C 00 00 34 */ cntlzw r0, r0 -/* 8036CB6C 00369ACC 7C 60 00 30 */ slw r0, r3, r0 -/* 8036CB70 00369AD0 54 03 0F FE */ srwi r3, r0, 0x1f -/* 8036CB74 00369AD4 4E 80 00 20 */ blr - -.global sub_8036cb78 -sub_8036cb78: -/* 8036CB78 00369AD8 38 80 01 00 */ li r4, 0x100 -/* 8036CB7C 00369ADC 38 00 00 00 */ li r0, 0 -/* 8036CB80 00369AE0 90 83 00 00 */ stw r4, 0(r3) -/* 8036CB84 00369AE4 90 03 00 04 */ stw r0, 4(r3) -/* 8036CB88 00369AE8 90 03 00 08 */ stw r0, 8(r3) -/* 8036CB8C 00369AEC 4E 80 00 20 */ blr - -.global sub_8036cb90 -sub_8036cb90: -/* 8036CB90 00369AF0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8036CB94 00369AF4 7C 08 02 A6 */ mflr r0 -/* 8036CB98 00369AF8 3C 60 80 54 */ lis r3, lbl_80540A4C@ha -/* 8036CB9C 00369AFC 90 01 00 24 */ stw r0, 0x24(r1) -/* 8036CBA0 00369B00 38 03 0A 4C */ addi r0, r3, lbl_80540A4C@l -/* 8036CBA4 00369B04 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8036CBA8 00369B08 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8036CBAC 00369B0C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8036CBB0 00369B10 80 8D AA F0 */ lwz r4, lbl_805A96B0@sda21(r13) -/* 8036CBB4 00369B14 68 84 00 01 */ xori r4, r4, 1 -/* 8036CBB8 00369B18 1C 64 00 18 */ mulli r3, r4, 0x18 -/* 8036CBBC 00369B1C 90 8D AA F0 */ stw r4, lbl_805A96B0@sda21(r13) -/* 8036CBC0 00369B20 7F A0 1A 14 */ add r29, r0, r3 -/* 8036CBC4 00369B24 83 FD 00 04 */ lwz r31, 4(r29) -/* 8036CBC8 00369B28 48 00 00 10 */ b lbl_8036CBD8 -lbl_8036CBCC: -/* 8036CBCC 00369B2C 80 7F 00 08 */ lwz r3, 8(r31) -/* 8036CBD0 00369B30 4B FA 8D 61 */ bl Free__7CMemoryFPCv -/* 8036CBD4 00369B34 83 FF 00 04 */ lwz r31, 4(r31) -lbl_8036CBD8: -/* 8036CBD8 00369B38 83 DD 00 08 */ lwz r30, 8(r29) -/* 8036CBDC 00369B3C 7C 1F F0 40 */ cmplw r31, r30 -/* 8036CBE0 00369B40 40 82 FF EC */ bne lbl_8036CBCC -/* 8036CBE4 00369B44 80 9D 00 04 */ lwz r4, 4(r29) -/* 8036CBE8 00369B48 48 00 00 10 */ b lbl_8036CBF8 -lbl_8036CBEC: -/* 8036CBEC 00369B4C 7F A3 EB 78 */ mr r3, r29 -/* 8036CBF0 00369B50 48 00 01 A9 */ bl sub_8036cd98 -/* 8036CBF4 00369B54 7C 64 1B 78 */ mr r4, r3 -lbl_8036CBF8: -/* 8036CBF8 00369B58 7C 04 F0 40 */ cmplw r4, r30 -/* 8036CBFC 00369B5C 40 82 FF F0 */ bne lbl_8036CBEC -/* 8036CC00 00369B60 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8036CC04 00369B64 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8036CC08 00369B68 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8036CC0C 00369B6C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8036CC10 00369B70 7C 08 03 A6 */ mtlr r0 -/* 8036CC14 00369B74 38 21 00 20 */ addi r1, r1, 0x20 -/* 8036CC18 00369B78 4E 80 00 20 */ blr - -.global sub_8036cc1c -sub_8036cc1c: -/* 8036CC1C 00369B7C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8036CC20 00369B80 7C 08 02 A6 */ mflr r0 -/* 8036CC24 00369B84 2C 03 00 01 */ cmpwi r3, 1 -/* 8036CC28 00369B88 3C 60 80 54 */ lis r3, lbl_80540A4C@ha -/* 8036CC2C 00369B8C 90 01 00 24 */ stw r0, 0x24(r1) -/* 8036CC30 00369B90 38 A3 0A 4C */ addi r5, r3, lbl_80540A4C@l -/* 8036CC34 00369B94 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8036CC38 00369B98 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8036CC3C 00369B9C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8036CC40 00369BA0 93 81 00 10 */ stw r28, 0x10(r1) -/* 8036CC44 00369BA4 7C 9C 23 78 */ mr r28, r4 -/* 8036CC48 00369BA8 80 0D AA F0 */ lwz r0, lbl_805A96B0@sda21(r13) -/* 8036CC4C 00369BAC 68 03 00 01 */ xori r3, r0, 1 -/* 8036CC50 00369BB0 40 82 00 08 */ bne lbl_8036CC58 -/* 8036CC54 00369BB4 7C 03 03 78 */ mr r3, r0 -lbl_8036CC58: -/* 8036CC58 00369BB8 1F A3 00 18 */ mulli r29, r3, 0x18 -/* 8036CC5C 00369BBC 3C 80 80 3E */ lis r4, lbl_803D8568@ha -/* 8036CC60 00369BC0 38 60 00 0C */ li r3, 0xc -/* 8036CC64 00369BC4 38 84 85 68 */ addi r4, r4, lbl_803D8568@l -/* 8036CC68 00369BC8 7C C5 EA 14 */ add r6, r5, r29 -/* 8036CC6C 00369BCC 38 A0 00 00 */ li r5, 0 -/* 8036CC70 00369BD0 83 E6 00 08 */ lwz r31, 8(r6) -/* 8036CC74 00369BD4 83 DF 00 00 */ lwz r30, 0(r31) -/* 8036CC78 00369BD8 4B FA 8B A1 */ bl __nwa__FUlPCcPCc -/* 8036CC7C 00369BDC 28 03 00 00 */ cmplwi r3, 0 -/* 8036CC80 00369BE0 41 82 00 0C */ beq lbl_8036CC8C -/* 8036CC84 00369BE4 93 C3 00 00 */ stw r30, 0(r3) -/* 8036CC88 00369BE8 93 E3 00 04 */ stw r31, 4(r3) -lbl_8036CC8C: -/* 8036CC8C 00369BEC 34 83 00 08 */ addic. r4, r3, 8 -/* 8036CC90 00369BF0 41 82 00 08 */ beq lbl_8036CC98 -/* 8036CC94 00369BF4 93 84 00 00 */ stw r28, 0(r4) -lbl_8036CC98: -/* 8036CC98 00369BF8 3C 80 80 54 */ lis r4, lbl_80540A4C@ha -/* 8036CC9C 00369BFC 38 04 0A 4C */ addi r0, r4, lbl_80540A4C@l -/* 8036CCA0 00369C00 7C 80 EA 14 */ add r4, r0, r29 -/* 8036CCA4 00369C04 84 04 00 04 */ lwzu r0, 4(r4) -/* 8036CCA8 00369C08 7C 1F 00 40 */ cmplw r31, r0 -/* 8036CCAC 00369C0C 40 82 00 08 */ bne lbl_8036CCB4 -/* 8036CCB0 00369C10 90 64 00 00 */ stw r3, 0(r4) -lbl_8036CCB4: -/* 8036CCB4 00369C14 80 A3 00 00 */ lwz r5, 0(r3) -/* 8036CCB8 00369C18 3C 80 80 54 */ lis r4, lbl_80540A4C@ha -/* 8036CCBC 00369C1C 38 04 0A 4C */ addi r0, r4, lbl_80540A4C@l -/* 8036CCC0 00369C20 90 65 00 04 */ stw r3, 4(r5) -/* 8036CCC4 00369C24 7C 80 EA 14 */ add r4, r0, r29 -/* 8036CCC8 00369C28 80 A3 00 04 */ lwz r5, 4(r3) -/* 8036CCCC 00369C2C 90 65 00 00 */ stw r3, 0(r5) -/* 8036CCD0 00369C30 80 64 00 14 */ lwz r3, 0x14(r4) -/* 8036CCD4 00369C34 38 03 00 01 */ addi r0, r3, 1 -/* 8036CCD8 00369C38 90 04 00 14 */ stw r0, 0x14(r4) -/* 8036CCDC 00369C3C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8036CCE0 00369C40 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8036CCE4 00369C44 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8036CCE8 00369C48 83 81 00 10 */ lwz r28, 0x10(r1) -/* 8036CCEC 00369C4C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8036CCF0 00369C50 7C 08 03 A6 */ mtlr r0 -/* 8036CCF4 00369C54 38 21 00 20 */ addi r1, r1, 0x20 -/* 8036CCF8 00369C58 4E 80 00 20 */ blr - -.global sub_8036ccfc -sub_8036ccfc: -/* 8036CCFC 00369C5C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8036CD00 00369C60 7C 08 02 A6 */ mflr r0 -/* 8036CD04 00369C64 90 01 00 14 */ stw r0, 0x14(r1) -/* 8036CD08 00369C68 48 00 B7 DD */ bl GXDrawDone -/* 8036CD0C 00369C6C 48 00 00 15 */ bl sub_8036cd20 -/* 8036CD10 00369C70 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8036CD14 00369C74 7C 08 03 A6 */ mtlr r0 -/* 8036CD18 00369C78 38 21 00 10 */ addi r1, r1, 0x10 -/* 8036CD1C 00369C7C 4E 80 00 20 */ blr - -.global sub_8036cd20 -sub_8036cd20: -/* 8036CD20 00369C80 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8036CD24 00369C84 7C 08 02 A6 */ mflr r0 -/* 8036CD28 00369C88 90 01 00 14 */ stw r0, 0x14(r1) -/* 8036CD2C 00369C8C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8036CD30 00369C90 3B E0 00 00 */ li r31, 0 -lbl_8036CD34: -/* 8036CD34 00369C94 4B FF FE 5D */ bl sub_8036cb90 -/* 8036CD38 00369C98 3B FF 00 01 */ addi r31, r31, 1 -/* 8036CD3C 00369C9C 2C 1F 00 02 */ cmpwi r31, 2 -/* 8036CD40 00369CA0 41 80 FF F4 */ blt lbl_8036CD34 -/* 8036CD44 00369CA4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8036CD48 00369CA8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8036CD4C 00369CAC 7C 08 03 A6 */ mtlr r0 -/* 8036CD50 00369CB0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8036CD54 00369CB4 4E 80 00 20 */ blr - -.global sub_8036cd58 -sub_8036cd58: -/* 8036CD58 00369CB8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8036CD5C 00369CBC 7C 08 02 A6 */ mflr r0 -/* 8036CD60 00369CC0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8036CD64 00369CC4 4B FF FF 99 */ bl sub_8036ccfc -/* 8036CD68 00369CC8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8036CD6C 00369CCC 7C 08 03 A6 */ mtlr r0 -/* 8036CD70 00369CD0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8036CD74 00369CD4 4E 80 00 20 */ blr - -.global sub_8036cd78 -sub_8036cd78: -/* 8036CD78 00369CD8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8036CD7C 00369CDC 7C 08 02 A6 */ mflr r0 -/* 8036CD80 00369CE0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8036CD84 00369CE4 4B FF FF 79 */ bl sub_8036ccfc -/* 8036CD88 00369CE8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8036CD8C 00369CEC 7C 08 03 A6 */ mtlr r0 -/* 8036CD90 00369CF0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8036CD94 00369CF4 4E 80 00 20 */ blr - -.global sub_8036cd98 -sub_8036cd98: -/* 8036CD98 00369CF8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8036CD9C 00369CFC 7C 08 02 A6 */ mflr r0 -/* 8036CDA0 00369D00 90 01 00 14 */ stw r0, 0x14(r1) -/* 8036CDA4 00369D04 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8036CDA8 00369D08 93 C1 00 08 */ stw r30, 8(r1) -/* 8036CDAC 00369D0C 7C 7E 1B 78 */ mr r30, r3 -/* 8036CDB0 00369D10 80 03 00 04 */ lwz r0, 4(r3) -/* 8036CDB4 00369D14 83 E4 00 04 */ lwz r31, 4(r4) -/* 8036CDB8 00369D18 7C 04 00 40 */ cmplw r4, r0 -/* 8036CDBC 00369D1C 40 82 00 08 */ bne lbl_8036CDC4 -/* 8036CDC0 00369D20 93 FE 00 04 */ stw r31, 4(r30) -lbl_8036CDC4: -/* 8036CDC4 00369D24 80 04 00 04 */ lwz r0, 4(r4) -/* 8036CDC8 00369D28 28 04 00 00 */ cmplwi r4, 0 -/* 8036CDCC 00369D2C 80 64 00 00 */ lwz r3, 0(r4) -/* 8036CDD0 00369D30 90 03 00 04 */ stw r0, 4(r3) -/* 8036CDD4 00369D34 80 04 00 00 */ lwz r0, 0(r4) -/* 8036CDD8 00369D38 80 64 00 04 */ lwz r3, 4(r4) -/* 8036CDDC 00369D3C 90 03 00 00 */ stw r0, 0(r3) -/* 8036CDE0 00369D40 41 82 00 0C */ beq lbl_8036CDEC -/* 8036CDE4 00369D44 7C 83 23 78 */ mr r3, r4 -/* 8036CDE8 00369D48 4B FA 8B 49 */ bl Free__7CMemoryFPCv -lbl_8036CDEC: -/* 8036CDEC 00369D4C 80 9E 00 14 */ lwz r4, 0x14(r30) -/* 8036CDF0 00369D50 7F E3 FB 78 */ mr r3, r31 -/* 8036CDF4 00369D54 38 04 FF FF */ addi r0, r4, -1 -/* 8036CDF8 00369D58 90 1E 00 14 */ stw r0, 0x14(r30) -/* 8036CDFC 00369D5C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8036CE00 00369D60 83 C1 00 08 */ lwz r30, 8(r1) -/* 8036CE04 00369D64 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8036CE08 00369D68 7C 08 03 A6 */ mtlr r0 -/* 8036CE0C 00369D6C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8036CE10 00369D70 4E 80 00 20 */ blr - -.global __sinit_GameTweaks_cpp -__sinit_GameTweaks_cpp: -/* 8036CE14 00369D74 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8036CE18 00369D78 7C 08 02 A6 */ mflr r0 -/* 8036CE1C 00369D7C 3C 60 80 54 */ lis r3, lbl_80540A4C@ha -/* 8036CE20 00369D80 3C 80 80 37 */ lis r4, sub_8036cf1c@ha -/* 8036CE24 00369D84 3C A0 80 37 */ lis r5, sub_8036ce6c@ha -/* 8036CE28 00369D88 90 01 00 14 */ stw r0, 0x14(r1) -/* 8036CE2C 00369D8C 38 C0 00 18 */ li r6, 0x18 -/* 8036CE30 00369D90 38 63 0A 4C */ addi r3, r3, lbl_80540A4C@l -/* 8036CE34 00369D94 38 84 CF 1C */ addi r4, r4, sub_8036cf1c@l -/* 8036CE38 00369D98 38 A5 CE 6C */ addi r5, r5, sub_8036ce6c@l -/* 8036CE3C 00369D9C 38 E0 00 02 */ li r7, 2 -/* 8036CE40 00369DA0 48 01 C9 0D */ bl __construct_array -/* 8036CE44 00369DA4 3C 60 80 37 */ lis r3, __arraydtor$381@ha -/* 8036CE48 00369DA8 3C A0 80 54 */ lis r5, lbl_80540A40@ha -/* 8036CE4C 00369DAC 38 83 CE E4 */ addi r4, r3, __arraydtor$381@l -/* 8036CE50 00369DB0 38 60 00 00 */ li r3, 0 -/* 8036CE54 00369DB4 38 A5 0A 40 */ addi r5, r5, lbl_80540A40@l -/* 8036CE58 00369DB8 48 01 C8 35 */ bl __register_global_object -/* 8036CE5C 00369DBC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8036CE60 00369DC0 7C 08 03 A6 */ mtlr r0 -/* 8036CE64 00369DC4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8036CE68 00369DC8 4E 80 00 20 */ blr - -.global sub_8036ce6c -sub_8036ce6c: -/* 8036CE6C 00369DCC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8036CE70 00369DD0 7C 08 02 A6 */ mflr r0 -/* 8036CE74 00369DD4 90 01 00 24 */ stw r0, 0x24(r1) -/* 8036CE78 00369DD8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8036CE7C 00369DDC 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8036CE80 00369DE0 7C 9E 23 78 */ mr r30, r4 -/* 8036CE84 00369DE4 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8036CE88 00369DE8 7C 7D 1B 79 */ or. r29, r3, r3 -/* 8036CE8C 00369DEC 41 82 00 38 */ beq lbl_8036CEC4 -/* 8036CE90 00369DF0 83 FD 00 04 */ lwz r31, 4(r29) -/* 8036CE94 00369DF4 48 00 00 14 */ b lbl_8036CEA8 -lbl_8036CE98: -/* 8036CE98 00369DF8 7F E3 FB 79 */ or. r3, r31, r31 -/* 8036CE9C 00369DFC 83 FF 00 04 */ lwz r31, 4(r31) -/* 8036CEA0 00369E00 41 82 00 08 */ beq lbl_8036CEA8 -/* 8036CEA4 00369E04 4B FA 8A 8D */ bl Free__7CMemoryFPCv -lbl_8036CEA8: -/* 8036CEA8 00369E08 80 1D 00 08 */ lwz r0, 8(r29) -/* 8036CEAC 00369E0C 7C 1F 00 40 */ cmplw r31, r0 -/* 8036CEB0 00369E10 40 82 FF E8 */ bne lbl_8036CE98 -/* 8036CEB4 00369E14 7F C0 07 35 */ extsh. r0, r30 -/* 8036CEB8 00369E18 40 81 00 0C */ ble lbl_8036CEC4 -/* 8036CEBC 00369E1C 7F A3 EB 78 */ mr r3, r29 -/* 8036CEC0 00369E20 4B FA 8A 71 */ bl Free__7CMemoryFPCv -lbl_8036CEC4: -/* 8036CEC4 00369E24 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8036CEC8 00369E28 7F A3 EB 78 */ mr r3, r29 -/* 8036CECC 00369E2C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8036CED0 00369E30 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8036CED4 00369E34 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8036CED8 00369E38 7C 08 03 A6 */ mtlr r0 -/* 8036CEDC 00369E3C 38 21 00 20 */ addi r1, r1, 0x20 -/* 8036CEE0 00369E40 4E 80 00 20 */ blr - -.global __arraydtor$381 -__arraydtor$381: -/* 8036CEE4 00369E44 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8036CEE8 00369E48 7C 08 02 A6 */ mflr r0 -/* 8036CEEC 00369E4C 3C 60 80 54 */ lis r3, lbl_80540A4C@ha -/* 8036CEF0 00369E50 3C 80 80 37 */ lis r4, sub_8036ce6c@ha -/* 8036CEF4 00369E54 90 01 00 14 */ stw r0, 0x14(r1) -/* 8036CEF8 00369E58 38 63 0A 4C */ addi r3, r3, lbl_80540A4C@l -/* 8036CEFC 00369E5C 38 A0 00 18 */ li r5, 0x18 -/* 8036CF00 00369E60 38 84 CE 6C */ addi r4, r4, sub_8036ce6c@l -/* 8036CF04 00369E64 38 C0 00 02 */ li r6, 2 -/* 8036CF08 00369E68 48 01 C7 CD */ bl __destroy_arr -/* 8036CF0C 00369E6C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8036CF10 00369E70 7C 08 03 A6 */ mtlr r0 -/* 8036CF14 00369E74 38 21 00 10 */ addi r1, r1, 0x10 -/* 8036CF18 00369E78 4E 80 00 20 */ blr - -.global sub_8036cf1c -sub_8036cf1c: -/* 8036CF1C 00369E7C 38 83 00 0C */ addi r4, r3, 0xc -/* 8036CF20 00369E80 38 00 00 00 */ li r0, 0 -/* 8036CF24 00369E84 90 83 00 04 */ stw r4, 4(r3) -/* 8036CF28 00369E88 90 83 00 08 */ stw r4, 8(r3) -/* 8036CF2C 00369E8C 90 83 00 0C */ stw r4, 0xc(r3) -/* 8036CF30 00369E90 90 83 00 10 */ stw r4, 0x10(r3) -/* 8036CF34 00369E94 90 03 00 14 */ stw r0, 0x14(r3) -/* 8036CF38 00369E98 4E 80 00 20 */ blr - diff --git a/include/Kyoto/Math/CVector2f.hpp b/include/Kyoto/Math/CVector2f.hpp new file mode 100644 index 00000000..014bffc7 --- /dev/null +++ b/include/Kyoto/Math/CVector2f.hpp @@ -0,0 +1,17 @@ +#ifndef __CVECTOR2F_HPP__ +#define __CVECTOR2F_HPP__ + + +class CVector2f { +public: + explicit CVector2f(float x, float y) : mX(x), mY(y) {} + + float GetX() const { return mX; } + float GetY() const { return mY; } + +private: + float mX; + float mY; +}; + +#endif // __CVECTOR3F_HPP__ diff --git a/include/Kyoto/Math/CVector3f.hpp b/include/Kyoto/Math/CVector3f.hpp new file mode 100644 index 00000000..2f661c18 --- /dev/null +++ b/include/Kyoto/Math/CVector3f.hpp @@ -0,0 +1,18 @@ +#ifndef __CVECTOR3F_HPP__ +#define __CVECTOR3F_HPP__ + + +class CVector3f { +public: + + float GetX() const { return mX; } + float GetY() const { return mY; } + float GetZ() const { return mZ; } + +private: + float mX; + float mY; + float mZ; +}; + +#endif // __CVECTOR3F_HPP__ diff --git a/include/Kyoto/Math/CloseEnough.hpp b/include/Kyoto/Math/CloseEnough.hpp new file mode 100644 index 00000000..ba38eabd --- /dev/null +++ b/include/Kyoto/Math/CloseEnough.hpp @@ -0,0 +1,10 @@ +#ifndef __CLOSEENOUGH_HPP__ +#define __CLOSEENOUGH_HPP__ + +#include "Kyoto/CVector2f.hpp" +#include "Kyoto/CVector3f.hpp" + +static bool close_enough(const CVector2f& a, const CVector2f& b, float epsilon = 0.001f); +static bool close_enough(const CVector3f& a, const CVector3f& b, float epsilon = 0.001f); + +#endif // __CLOSEENOUGH_HPP__ diff --git a/ldscript.lcf b/ldscript.lcf index 77cbf9a0..63e9299a 100644 --- a/ldscript.lcf +++ b/ldscript.lcf @@ -60,4 +60,10 @@ FORCEFILES CRemoveColorOverrideInstruction.o CWordInstruction.o CBlockInstruction.o + CloseEnough.o + CParticleGen.o + CWarp.o + CFactoryStore.o + CFontImageDef.o + CImageInstruction.o } diff --git a/obj_files.mk b/obj_files.mk index 4726f03d..46f97e35 100644 --- a/obj_files.mk +++ b/obj_files.mk @@ -465,36 +465,36 @@ KYOTO :=\ $(BUILD_DIR)/asm/Kyoto/Animation/CTransitionManager.o\ $(BUILD_DIR)/asm/Kyoto/Animation/CTreeUtils.o\ $(BUILD_DIR)/asm/Kyoto/Animation/IMetaAnim.o\ - $(BUILD_DIR)/asm/Kyoto/SfxManager/CSfxHandle.o\ - $(BUILD_DIR)/asm/Kyoto/SfxManager/CSfxManager.o\ - $(BUILD_DIR)/asm/Kyoto/AnimData/CAdvancementDeltas.o\ - $(BUILD_DIR)/asm/Kyoto/AnimData/CAnimMathUtils.o\ - $(BUILD_DIR)/asm/Kyoto/AnimData/CAnimPOIData.o\ - $(BUILD_DIR)/asm/Kyoto/AnimData/CAnimSource.o\ - $(BUILD_DIR)/asm/Kyoto/AnimData/CAnimSourceReader.o\ - $(BUILD_DIR)/asm/Kyoto/AnimData/CAnimSourceReaderBase.o\ - $(BUILD_DIR)/asm/Kyoto/AnimData/CAnimTreeAnimReaderContainer.o\ - $(BUILD_DIR)/asm/Kyoto/AnimData/CAnimTreeBlend.o\ - $(BUILD_DIR)/asm/Kyoto/AnimData/CAnimTreeContinuousPhaseBlend.o\ - $(BUILD_DIR)/asm/Kyoto/AnimData/CAnimTreeDoubleChild.o\ - $(BUILD_DIR)/asm/Kyoto/AnimData/CAnimTreeNode.o\ - $(BUILD_DIR)/asm/Kyoto/AnimData/CAnimTreeSingleChild.o\ - $(BUILD_DIR)/asm/Kyoto/AnimData/CAnimTreeTimeScale.o\ - $(BUILD_DIR)/asm/Kyoto/AnimData/CAnimTreeTransition.o\ - $(BUILD_DIR)/asm/Kyoto/AnimData/CAnimTreeTweenBase.o\ - $(BUILD_DIR)/asm/Kyoto/AnimData/CBoolPOINode.o\ - $(BUILD_DIR)/asm/Kyoto/AnimData/CCharAnimMemoryMetrics.o\ - $(BUILD_DIR)/asm/Kyoto/AnimData/CCharLayoutInfo.o\ - $(BUILD_DIR)/asm/Kyoto/AnimData/CFBStreamedAnimReader.o\ - $(BUILD_DIR)/asm/Kyoto/AnimData/CFBStreamedCompression.o\ - $(BUILD_DIR)/asm/Kyoto/AnimData/CHierarchyPoseBuilder.o\ - $(BUILD_DIR)/asm/Kyoto/AnimData/CInt32POINode.o\ - $(BUILD_DIR)/asm/Kyoto/AnimData/CParticlePOINode.o\ - $(BUILD_DIR)/asm/Kyoto/AnimData/CPOINode.o\ - $(BUILD_DIR)/asm/Kyoto/AnimData/CSegStatementSet.o\ - $(BUILD_DIR)/asm/Kyoto/AnimData/CTimeScaleFunctions.o\ - $(BUILD_DIR)/asm/Kyoto/AnimData/IAnimReader.o\ - $(BUILD_DIR)/asm/Kyoto/AnimData/CAllFormatsAnimSource.o\ + $(BUILD_DIR)/asm/Kyoto/Audio/CSfxHandle.o\ + $(BUILD_DIR)/asm/Kyoto/Audio/CSfxManager.o\ + $(BUILD_DIR)/asm/Kyoto/Animation/CAdvancementDeltas.o\ + $(BUILD_DIR)/asm/Kyoto/Animation/CAnimMathUtils.o\ + $(BUILD_DIR)/asm/Kyoto/Animation/CAnimPOIData.o\ + $(BUILD_DIR)/asm/Kyoto/Animation/CAnimSource.o\ + $(BUILD_DIR)/asm/Kyoto/Animation/CAnimSourceReader.o\ + $(BUILD_DIR)/asm/Kyoto/Animation/CAnimSourceReaderBase.o\ + $(BUILD_DIR)/asm/Kyoto/Animation/CAnimTreeAnimReaderContainer.o\ + $(BUILD_DIR)/asm/Kyoto/Animation/CAnimTreeBlend.o\ + $(BUILD_DIR)/asm/Kyoto/Animation/CAnimTreeContinuousPhaseBlend.o\ + $(BUILD_DIR)/asm/Kyoto/Animation/CAnimTreeDoubleChild.o\ + $(BUILD_DIR)/asm/Kyoto/Animation/CAnimTreeNode.o\ + $(BUILD_DIR)/asm/Kyoto/Animation/CAnimTreeSingleChild.o\ + $(BUILD_DIR)/asm/Kyoto/Animation/CAnimTreeTimeScale.o\ + $(BUILD_DIR)/asm/Kyoto/Animation/CAnimTreeTransition.o\ + $(BUILD_DIR)/asm/Kyoto/Animation/CAnimTreeTweenBase.o\ + $(BUILD_DIR)/asm/Kyoto/Animation/CBoolPOINode.o\ + $(BUILD_DIR)/asm/Kyoto/Animation/CCharAnimMemoryMetrics.o\ + $(BUILD_DIR)/asm/Kyoto/Animation/CCharLayoutInfo.o\ + $(BUILD_DIR)/asm/Kyoto/Animation/CFBStreamedAnimReader.o\ + $(BUILD_DIR)/asm/Kyoto/Animation/CFBStreamedCompression.o\ + $(BUILD_DIR)/asm/Kyoto/Animation/CHierarchyPoseBuilder.o\ + $(BUILD_DIR)/asm/Kyoto/Animation/CInt32POINode.o\ + $(BUILD_DIR)/asm/Kyoto/Animation/CParticlePOINode.o\ + $(BUILD_DIR)/asm/Kyoto/Animation/CPOINode.o\ + $(BUILD_DIR)/asm/Kyoto/Animation/CSegStatementSet.o\ + $(BUILD_DIR)/asm/Kyoto/Animation/CTimeScaleFunctions.o\ + $(BUILD_DIR)/asm/Kyoto/Animation/IAnimReader.o\ + $(BUILD_DIR)/asm/Kyoto/Animation/CAllFormatsAnimSource.o\ $(BUILD_DIR)/asm/Kyoto/CDvdRequest.o\ $(BUILD_DIR)/asm/Kyoto/Text/CColorInstruction.o\ $(BUILD_DIR)/asm/Kyoto/Text/CColorOverrideInstruction.o\ @@ -516,7 +516,123 @@ KYOTO :=\ $(BUILD_DIR)/asm/Kyoto/Text/CWordInstruction.o\ $(BUILD_DIR)/asm/Kyoto/Text/CBlockInstruction.o\ $(BUILD_DIR)/asm/Kyoto/Text/CFont.o\ - $(BUILD_DIR)/asm/text.o\ + $(BUILD_DIR)/asm/Kyoto/Graphics/CLight.o\ + $(BUILD_DIR)/asm/Kyoto/Graphics/CCubeModel.o\ + $(BUILD_DIR)/asm/Kyoto/Graphics/CGX.o\ + $(BUILD_DIR)/asm/Kyoto/Graphics/CTevCombiners.o\ + $(BUILD_DIR)/asm/Kyoto/Graphics/DolphinCGraphics.o\ + $(BUILD_DIR)/asm/Kyoto/Graphics/DolphinCPalette.o\ + $(BUILD_DIR)/asm/Kyoto/Graphics/DolphinCTexture.o\ + $(BUILD_DIR)/asm/Kyoto/Math/CloseEnough.o\ + $(BUILD_DIR)/asm/Kyoto/Math/CMatrix3f.o\ + $(BUILD_DIR)/asm/Kyoto/Math/CMatrix4f.o\ + $(BUILD_DIR)/asm/Kyoto/Math/CQuaternion.o\ + $(BUILD_DIR)/asm/Kyoto/CRandom16.o\ + $(BUILD_DIR)/asm/Kyoto/Math/CTransform4f.o\ + $(BUILD_DIR)/asm/Kyoto/Math/CUnitVector3f.o\ + $(BUILD_DIR)/asm/Kyoto/Math/CVector2f.o\ + $(BUILD_DIR)/asm/Kyoto/Math/CVector2i.o\ + $(BUILD_DIR)/asm/Kyoto/Math/CVector3d.o\ + $(BUILD_DIR)/asm/Kyoto/Math/CVector3f.o\ + $(BUILD_DIR)/asm/Kyoto/Math/RMathUtils.o\ + $(BUILD_DIR)/asm/Kyoto/CCrc32.o\ + $(BUILD_DIR)/asm/Kyoto/Alloc/CCircularBuffer.o\ + $(BUILD_DIR)/asm/Kyoto/Alloc/CMemory.o\ + $(BUILD_DIR)/asm/Kyoto/Alloc/IAllocator.o\ + $(BUILD_DIR)/asm/Kyoto/PVS/CPVSVisOctree.o\ + $(BUILD_DIR)/asm/Kyoto/PVS/CPVSVisSet.o\ + $(BUILD_DIR)/asm/Kyoto/Particles/CColorElement.o\ + $(BUILD_DIR)/asm/Kyoto/Particles/CElementGen.o\ + $(BUILD_DIR)/asm/Kyoto/Particles/CParticleGen.o\ + $(BUILD_DIR)/asm/Kyoto/Particles/CParticleGlobals.o\ + $(BUILD_DIR)/asm/Kyoto/Particles/CParticleSwoosh.o\ + $(BUILD_DIR)/asm/Kyoto/Particles/CParticleSwooshDataFactory.o\ + $(BUILD_DIR)/asm/Kyoto/Particles/CRealElement.o\ + $(BUILD_DIR)/asm/Kyoto/Particles/CSpawnSystemKeyframeData.o\ + $(BUILD_DIR)/asm/Kyoto/Particles/CUVElement.o\ + $(BUILD_DIR)/asm/Kyoto/Particles/CVectorElement.o\ + $(BUILD_DIR)/asm/Kyoto/Particles/CWarp.o\ + $(BUILD_DIR)/asm/Kyoto/Math/CPlane.o\ + $(BUILD_DIR)/asm/Kyoto/Math/CSphere.o\ + $(BUILD_DIR)/asm/Kyoto/Math/CAABox.o\ + $(BUILD_DIR)/asm/Kyoto/CFactoryMgr.o\ + $(BUILD_DIR)/asm/Kyoto/CResFactory.o\ + $(BUILD_DIR)/asm/Kyoto/CResLoader.o\ + $(BUILD_DIR)/asm/Kyoto/rstl/rstl_map.o\ + $(BUILD_DIR)/asm/Kyoto/rstl/rstl_strings.o\ + $(BUILD_DIR)/asm/Kyoto/rstl/RstlExtras.o\ + $(BUILD_DIR)/asm/Kyoto/Streams/CInputStream.o\ + $(BUILD_DIR)/asm/Kyoto/Streams/CMemoryInStream.o\ + $(BUILD_DIR)/asm/Kyoto/Streams/CMemoryStreamOut.o\ + $(BUILD_DIR)/asm/Kyoto/Streams/COutputStream.o\ + $(BUILD_DIR)/asm/Kyoto/Streams/CZipInputStream.o\ + $(BUILD_DIR)/asm/Kyoto/Streams/CZipSupport.o\ + $(BUILD_DIR)/asm/Kyoto/CFactoryStore.o\ + $(BUILD_DIR)/asm/Kyoto/CObjectReference.o\ + $(BUILD_DIR)/asm/Kyoto/CSimplePool.o\ + $(BUILD_DIR)/asm/Kyoto/CToken.o\ + $(BUILD_DIR)/asm/Kyoto/IObj.o\ + $(BUILD_DIR)/asm/Kyoto/zlib/adler32.o\ + $(BUILD_DIR)/asm/Kyoto/zlib/infblock.o\ + $(BUILD_DIR)/asm/Kyoto/zlib/infcodes.o\ + $(BUILD_DIR)/asm/Kyoto/zlib/inffast.o\ + $(BUILD_DIR)/asm/Kyoto/zlib/inflate.o\ + $(BUILD_DIR)/asm/Kyoto/zlib/inftrees.o\ + $(BUILD_DIR)/asm/Kyoto/zlib/infutil.o\ + $(BUILD_DIR)/asm/Kyoto/CARAMManager.o\ + $(BUILD_DIR)/asm/Kyoto/Math/CFrustumPlanes.o\ + $(BUILD_DIR)/asm/Kyoto/Graphics/CCubeMaterial.o\ + $(BUILD_DIR)/asm/Kyoto/Graphics/CCubeSurface.o\ + $(BUILD_DIR)/asm/Kyoto/Animation/CCharAnimTime.o\ + $(BUILD_DIR)/asm/Kyoto/Animation/CSegIdList.o\ + $(BUILD_DIR)/asm/Kyoto/CFinalInput.o\ + $(BUILD_DIR)/asm/Kyoto/Graphics/CColor.o\ + $(BUILD_DIR)/asm/Kyoto/Audio/DolphinCAudioGroupSet.o\ + $(BUILD_DIR)/asm/Kyoto/Audio/DolphinCAudioSys.o\ + $(BUILD_DIR)/asm/Kyoto/DolphinCMemoryCardSys.o\ + $(BUILD_DIR)/asm/Kyoto/Input/DolphinIController.o\ + $(BUILD_DIR)/asm/Kyoto/Input/CDolphinController.o\ + $(BUILD_DIR)/asm/Kyoto/DolphinCDvdFile.o\ + $(BUILD_DIR)/asm/Kyoto/Alloc/CMediumAllocPool.o\ + $(BUILD_DIR)/asm/Kyoto/Alloc/CSmallAllocPool.o\ + $(BUILD_DIR)/asm/Kyoto/Alloc/CGameAllocator.o\ + $(BUILD_DIR)/asm/Kyoto/Animation/DolphinCSkinnedModel.o\ + $(BUILD_DIR)/asm/Kyoto/Animation/DolphinCSkinRules.o\ + $(BUILD_DIR)/asm/Kyoto/Animation/DolphinCVirtualBone.o\ + $(BUILD_DIR)/asm/Kyoto/Graphics/DolphinCModel.o\ + $(BUILD_DIR)/asm/Kyoto/Text/CStringTable.o\ + $(BUILD_DIR)/asm/Kyoto/Particles/CEmitterElement.o\ + $(BUILD_DIR)/asm/Kyoto/Particles/CEffectComponent.o\ + $(BUILD_DIR)/asm/Kyoto/Particles/CParticleData.o\ + $(BUILD_DIR)/asm/Kyoto/Animation/CVertexMorphEffect.o\ + $(BUILD_DIR)/asm/Kyoto/Animation/CSkinnedModelWithAvgNormals.o\ + $(BUILD_DIR)/asm/Kyoto/CTimeProvider.o\ + $(BUILD_DIR)/asm/Kyoto/CARAMToken.o\ + $(BUILD_DIR)/asm/Kyoto/Audio/CMidiManager.o\ + $(BUILD_DIR)/asm/Kyoto/Text/CFontImageDef.o\ + $(BUILD_DIR)/asm/Kyoto/Text/CImageInstruction.o\ + $(BUILD_DIR)/asm/Kyoto/Text/CTextRenderBuffer.o\ + $(BUILD_DIR)/asm/Kyoto/Graphics/CCubeMoviePlayer.o\ + $(BUILD_DIR)/asm/Kyoto/Animation/CAdditiveAnimPlayback.o\ + $(BUILD_DIR)/asm/Kyoto/Particles/CParticleElectricDataFactory.o\ + $(BUILD_DIR)/asm/Kyoto/Particles/CParticleElectric.o\ + $(BUILD_DIR)/asm/Kyoto/Graphics/DolphinCColor.o\ + $(BUILD_DIR)/asm/Kyoto/Audio/CDSPStreamManager.o\ + $(BUILD_DIR)/asm/Kyoto/CDependencyGroup.o\ + $(BUILD_DIR)/asm/Kyoto/Audio/CStreamAudioManager.o\ + $(BUILD_DIR)/asm/Kyoto/Animation/CHalfTransition.o\ + $(BUILD_DIR)/asm/Kyoto/Particles/CElectricDescription.o\ + $(BUILD_DIR)/asm/Kyoto/Particles/CSwooshDescription.o\ + $(BUILD_DIR)/asm/Kyoto/Particles/CGenDescription.o\ + $(BUILD_DIR)/asm/Kyoto/CPakFile.o\ + $(BUILD_DIR)/asm/Kyoto/Animation/CPoseAsTransforms.o\ + $(BUILD_DIR)/asm/Kyoto/Input/CRumbleVoice.o\ + $(BUILD_DIR)/asm/Kyoto/Input/RumbleAdsr.o\ + $(BUILD_DIR)/asm/Kyoto/Input/CRumbleGenerator.o\ + $(BUILD_DIR)/asm/Kyoto/Audio/SDSPStream.o\ + $(BUILD_DIR)/asm/Kyoto/Audio/g721.o\ + $(BUILD_DIR)/asm/Kyoto/Audio/CStaticAudioPlayer.o\ + $(BUILD_DIR)/asm/Kyoto/GameTweaks.o\ AI_FILES :=\ $(BUILD_DIR)/asm/Dolphin/ai.o